RGtk2/0000755000176000001440000000000012362500440011227 5ustar ripleyusersRGtk2/inst/0000755000176000001440000000000011766145227012223 5ustar ripleyusersRGtk2/inst/examples/0000755000176000001440000000000012362467242014036 5ustar ripleyusersRGtk2/inst/examples/GtkCellRenderer.R0000644000176000001440000000026111766145227017177 0ustar ripleyuserstext_editing_started <- function(cell, editable, path, data) { checkPtrType(editable, "GtkEntry") ## ... create a GtkEntryCompletion editable$setCompletion(completion) } RGtk2/inst/examples/GtkDialog-4.R0000644000176000001440000000024411766145227016172 0ustar ripleyusersresult <- dialog$run() if (result == GtkResponseType["accept"]) do_application_specific_something() else do_nothing_since_dialog_was_cancelled() dialog$destroy() RGtk2/inst/examples/GtkSpinButton-1.R0000644000176000001440000000104411766145227017074 0ustar ripleyusers## Provides a function to retrieve an integer value from a GtkSpinButton ## and creates a spin button to model percentage values. grab_int_value <- function(a_spinner, user_data) { return(a_spinner$getValueAsInt()) } create_integer_spin_button <- function() { spinner_adj <- gtkAdjustment(50.0, 0.0, 100.0, 1.0, 5.0, 5.0) window <- gtkWindow("toplevel", show = F) window$setBorderWidth(5) ## creates the spinner, with no decimal places spinner <- gtkSpinner(spinner_adj, 1.0, 0) window$add(spinner) window$showAll() } RGtk2/inst/examples/GtkListStore-3.R0000644000176000001440000000007411766145227016723 0ustar ripleyuserslist_store$insert(iter, position) list_store$set(iter, ...) RGtk2/inst/examples/pango-PangoRenderer.R0000644000176000001440000000004211766145227020015 0ustar ripleyusersrenderer$partChanged("underline") RGtk2/inst/examples/GtkRadioAction.R0000644000176000001440000000016211766145227017025 0ustar ripleyuserswhile (more_actions) { action <- gtkRadioAction(...) action$setGroup(group) group <- action$getGroup() } RGtk2/inst/examples/GCancellable.R0000644000176000001440000000057511766145227016467 0ustar ripleyusers## Make sure we don't do any unnecessary work if already cancelled if (cancellable$setErrorIfCancelled()) return() ## Set up all the data needed to be able to ## handle cancellation of the operation my_data <- myData(...) id <- 0 if (!is.null(cancellable)) id <- cancellable$connect(cancelled_handler, data, NULL) ## cancellable operation here... cancellable$disconnect(id) RGtk2/inst/examples/GtkUIManager-3.R0000644000176000001440000000027411766145227016605 0ustar ripleyuserswindow$add(vbox, show = F) gSignalConnect(merge, "add_widget", add_widget, vbox) merge$addUiFromFile("my-menus") merge$addUiFromFile("my-toolbars") merge$ensureUpdate() window$showAll() RGtk2/inst/examples/GtkAboutDialog-1.R0000644000176000001440000000017211766145227017162 0ustar ripleyusersgtkShowAboutDialog(NULL, "name" = "ExampleCode", "logo" = example_logo, "title" = "About ExampleCode") RGtk2/inst/examples/GtkDialog-1.R0000644000176000001440000000106711766145227016173 0ustar ripleyusers# Function to open a dialog box displaying the message provided. quick_message <- function(message) { ## Create the widgets dialog <- gtkDialog("Message", NULL, "destroy-with-parent", "gtk-ok", GtkResponseType["none"], show = FALSE) label <- gtkLabel(message) ## Ensure that the dialog box is destroyed when the user responds. gSignalConnect(dialog, "response", gtkWidgetDestroy) ## Add the label, and show everything we've added to the dialog. dialog[["vbox"]]$add(label) dialog$showAll() } RGtk2/inst/examples/GtkAccelLabel.R0000644000176000001440000000102211766145227016574 0ustar ripleyusers## Creating a simple menu item with an accelerator key. ## Create a GtkAccelGroup and add it to the window. accel_group = gtkAccelGroup() window$addAccelGroup(accel_group) ## Create the menu item save_item = gtkMenuItem("Save") menu$add(save_item) ## Now add the accelerator to the GtkMenuItem. ## It will be activated if the user types ctrl-s ## We just need to make sure we use the "visible" flag here to show it. save_item$addAccelerator("activate", accel_group, GDK_S, "control-mask", "visible") RGtk2/inst/examples/GtkRecentManager-2.R0000644000176000001440000000030111766145227017476 0ustar ripleyusersmanager <- gtkRecentManagerGetDefault() lookup <- manager$lookupItem(file_uri) if (lookup$error) warning("Could not find the file:", lookup$error$message) else use_info_object(lookup$retval) RGtk2/inst/examples/gtk-High-level-Printing-API-2.R0000644000176000001440000000106511766145227021273 0ustar ripleyusersif (!is.null(settings)) op$setPrintSettings(settings) if (!is.null(page_setup)) op$setDefaultPageSetup(page_setup) gSignalConnect(op, "begin-print", begin_print) gSignalConnect(op, "draw-page", draw_page) res <- op$run("print-dialog", parent) if (res[[1]] == "error") { error_dialog = gtkMessageDialog(parent, "destroy-with-parent", "error", "close", "Error printing file: ", res$error$message) gSignalConnect(error_dialog, "response", gtkWidgetDestroy) error_dialog$show() } else if (res[[1]] == "apply") settings = op$getPrintSettings() RGtk2/inst/examples/GtkRadioMenuItem.R0000644000176000001440000000023411766145227017333 0ustar ripleyusersgroup <- NULL for (i in 1:5) { item <- gtkRadioMenuItem(group, "This is an example") group <- item$getGroup() if (i == 1) item$setActive(TRUE) } RGtk2/inst/examples/GMemoryOutputStream.R0000644000176000001440000000014411766145227020137 0ustar ripleyusers## a stream that can grow stream <- gMemoryOutputStream(0) ## fixed-size streams are not supported RGtk2/inst/examples/GtkRadioButton.R0000644000176000001440000000115611766145227017067 0ustar ripleyusers# Creating two radio buttons create_radio_buttons <- function() { window <- gtkWindow("toplevel", show = F) box <- gtkVBoxNew(TRUE, 2) ## Create a radio button with a GtkEntry widget radio1 <- gtkRadioButton() entry <- gtkEntry() radio1$add(entry) ## Create a radio button with a label radio2 <- gtkRadioButtonNewWithLabelFromWidget(radio1, "I'm the second radio button.") ## Pack them into a box, then show all the widgets box$packStart(radio1, TRUE, TRUE, 2) box$packStart(radio2, TRUE, TRUE, 2) window$add(box) window$showAll() } RGtk2/inst/examples/GtkLabel-2.R0000644000176000001440000000017711766145227016015 0ustar ripleyusers## Pressing Alt-H will activate this button button <- gtkButton() label <- gtkLabelNewWithMnemonic("_Hello") button$add(label) RGtk2/inst/examples/pango-Cairo-Rendering.R0000644000176000001440000000323211766145227020236 0ustar ripleyusersRADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" draw.text <- function(widget, event, data) { width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] device.radius <- min(width, height) / 2. cr <- gdkCairoCreate(widget[["window"]]) ## Center coordinates on the middle of the region we are drawing cr$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) cr$scale(device.radius / RADIUS, device.radius / RADIUS) ## Create a PangoLayout, set the font and text layout <- pangoCairoCreateLayout(cr) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) ## Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { angle <- (360 * i) / N.WORDS cr$save() ## Gradient from red at angle 60 to blue at angle 300 red <- (1 + cos((angle - 60) * pi / 180)) / 2 cr$setSourceRgb(red, 0, 1.0 - red) cr$rotate(angle * pi / 180) ## Inform Pango to re-layout the text with the new transformation pangoCairoUpdateLayout(cr, layout) size <- layout$getSize() cr$moveTo(- (size$width / .PangoScale) / 2, - RADIUS) pangoCairoShowLayout(cr, layout) cr$restore() } return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindow("toplevel", show = F) window$setTitle("Rotated Text") drawing.area <- gtkDrawingArea() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", draw.text) window$showAll() RGtk2/inst/examples/gio-Extension-Points-1.R0000644000176000001440000000017111766145227020323 0ustar ripleyusers## Register an extension point ep <- gIoExtensionPointRegister("my-extension-point") ep$setRequiredType(MY_TYPE_EXAMPLE) RGtk2/inst/examples/GSocketConnectable.R0000644000176000001440000000052011766145227017656 0ustar ripleyusersconnect_to_host <- function(hostname, port, cancellable) { addr <- gNetworkAddress(hostname, port) enumerator <- addr$enumerate() ## Try each sockaddr until we succeed. conn <- NULL while (is.null(conn) && (!is.null(sockaddr <- enumerator$next(cancellable)))) conn <- connect_to_sockaddr(sockaddr$retval) conn } RGtk2/inst/examples/gdk-Windows-1.R0000644000176000001440000000611511766145227016522 0ustar ripleyusers# The expose event handler for the event box. # # This function simply draws a transparency onto a widget on the area # for which it receives expose events. This is intended to give the # event box a "transparent" background. # # In order for this to work properly, the widget must have an RGBA # colormap. The widget should also be set as app-paintable since it # doesn't make sense for GTK+ to draw a background if we are drawing it # (and because GTK+ might actually replace our transparency with its # default background color). # transparent_expose <- function(widget, event) { cr <- gdkCairoCreate(widget$window) cr$setOperator("clear") gdkCairoRegion(cr, event$region) cr$fill() return(FALSE) } # The expose event handler for the window. # # This function performs the actual compositing of the event box onto # the already-existing background of the window at 50% normal opacity. # # In this case we do not want app-paintable to be set on the widget # since we want it to draw its own (red) background. Because of this, # however, we must ensure that we set after = TRUE when connecting to the signal # so that this handler is called after the red has been drawn. If it was # called before then GTK would just blindly paint over our work. # # Note: if the child window has children, then you need a cairo 1.16 # feature to make this work correctly. # window_expose_event <- function(widget, event) { # get our child (in this case, the event box) child <- widget$getChild() # create a cairo context to draw to the window cr <- gdkCairoCreate(widget$window) # the source data is the (composited) event box gdkCairoSetSourcePixmap(cr, child$window, child$allocation$x, child$allocation$y) # draw no more than our expose event intersects our child region <- gdkRegionRectangle(child$allocation) region$intersect(event$region) gdkCairoRegion(cr, region) cr$clip() # composite, with a 50% opacity cr$setOperator("over") cr$paintWithAlpha(0.5) return(FALSE) } # Make the widgets button <- gtkButton("A Button") event <- gtkEventBox() window <- gtkWindow() # Put a red background on the window red <- gdkColorParse("red")$color window$modifyBg("normal", red) # Set the colormap for the event box. # Must be done before the event box is realized. # screen <- event$getScreen() rgba <- screen$getRgbaColormap() event$setColormap(rgba) # Set our event box to have a fully-transparent background # drawn on it. Currently there is no way to simply tell GTK+ # that "transparency" is the background color for a widget. # event$setAppPaintable(TRUE) gSignalConnect(event, "expose-event", transparent_expose) # Put them inside one another window$setBorderWidth(10) window$add(event) event$add(button) # Set the event box GdkWindow to be composited. # Obviously must be performed after event box is realized. # event$window$setComposited(TRUE) # Set up the compositing handler. # Note that we do _after_ so that the normal (red) background is drawn # by gtk before our compositing occurs. # gSignalConnect(window, "expose-event", window_expose_event, after = TRUE) RGtk2/inst/examples/GtkSpinButton-2.R0000644000176000001440000000103211766145227017072 0ustar ripleyusers# Provides a function to retrieve a floating point value from a # GtkSpinButton, and creates a high precision spin button. grab_value <- function(a_spinner, user_data) { return(a_spinner$getValue()) } create_floating_spin_button <- function() { spinner_adj <- gtkAdjustment(2.500, 0.0, 5.0, 0.001, 0.1, 0.1) window <- gtkWindow("toplevel", show = F) window$setBorderWidth(5) ## creates the spinner, with three decimal places spinner <- gtkSpinner(spinner_adj, 0.001, 3) window$add(spinner) window$showAll() } RGtk2/inst/examples/GtkMenu-1.R0000644000176000001440000000023411766145227015673 0ustar ripleyusers## connect our handler which will popup the menu gSignalConnect(window, "button_press_event", my_popup_handler, menu, user.data.first=TRUE) RGtk2/inst/examples/cairo-context-2.R0000644000176000001440000000005311766145227017100 0ustar ripleyusersgroup <- cr$popGroup() cr$setSource(group) RGtk2/inst/examples/GtkIconView.R0000644000176000001440000000006011766145227016351 0ustar ripleyusers# You don't have to free anything with RGtk2... RGtk2/inst/examples/gdk-GdkRGB.R0000644000176000001440000000153611766145227015774 0ustar ripleyusers# Simple example of using GdkRGB with RGtk2 IMAGE_WIDTH <- 256 IMAGE_HEIGHT <- 256 rgb_example <- function() { window <- gtkWindow("toplevel", show = F) darea <- gtkDrawingArea() darea$setSizeRequest(IMAGE_WIDTH, IMAGE_HEIGHT) window$add(darea) # Set up the RGB buffer. x <- rep(0:(IMAGE_WIDTH-1), IMAGE_HEIGHT) y <- rep(0:(IMAGE_HEIGHT-1), IMAGE_WIDTH, each = T) red <- x - x %% 32 green <- (x / 32) * 4 + y - y %% 32 blue <- y - y %% 32 buf <- rbind(red, green, blue) # connect to expose event gSignalConnect(darea, "expose-event", on_darea_expose, buf) window$showAll() } on_darea_expose <- function(widget, event, buf) { gdkDrawRgbImage(widget[["window"]], widget[["style"]][["fgGc"]][[GtkStateType["normal"]+1]], 0, 0, IMAGE_WIDTH, IMAGE_HEIGHT, "max", buf, IMAGE_WIDTH * 3) } RGtk2/inst/examples/GtkFileSelection.R0000644000176000001440000000171111766145227017357 0ustar ripleyusers# Getting a filename from a user # Note how much easier GtkFileChooser is to use store_filename <- function(widget, file_selector) { selected_filename <- file_selector$getFilename(); print(paste("Selected filename:", selected_filename)) } create_file_selection <- function() { ## Create the selector file_selector <- gtkFileSelection("Please select a file for editing.", show = FALSE) gSignalConnect(file_selector[["ok_button"]], "clicked", store_filename, file_selector) ## Ensure that the dialog box is destroyed when the user clicks a button. gSignalConnect(file_selector[["ok_button"]], "clicked", gtkWidgetDestroy, file_selector, user.data.first = TRUE) gSignalConnect(file_selector[["cancel_button"]], "clicked", gtkWidgetDestroy, file_selector, user.data.first = TRUE) ## Display that dialog file_selector$show() } RGtk2/inst/examples/GtkNotebook-2.R0000644000176000001440000000101711766145227016550 0ustar ripleyuserson_drop_zone_drag_data_received <- function(widget, context, x, y, selection_data, info, time, user_data) { notebook <- context$getWidget() child <- selection_data$data # unfortunately, it's not possible to actually use 'child' - there # would need to be a way to derefernce it and make an externalptr # if you need this functionality, please let the RGtk2 maintainer know. # process_widget(child) # notebook$remove(child) } RGtk2/inst/examples/gdk-Windows-2.R0000644000176000001440000000026211766145227016520 0ustar ripleyusersfields <- c("base.width", "base.height", "min.width", "min.height", "width.inc", "height.inc") hints[fields] <- char_width toplevel$setGeometryHints(terminal, hints) RGtk2/inst/examples/cairo-version-info-5.R0000644000176000001440000000015311766145227020036 0ustar ripleyusers# This function is not that useful in R. # Instead, please use cairoVersionString() with compareVersion(). RGtk2/inst/examples/gdk-Cursors.R0000644000176000001440000000214011766145227016364 0ustar ripleyusers###### # Creating a custom cursor ###### ## This data is in X bitmap format, and can be created with the 'bitmap' ## utility in X11 cursor1_width <- 16 cursor1_height <- 16 cursor1_bits <- c(0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20, 0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10, 0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01) cursor1mask_bits <- c(0x80, 0x01, 0xc0, 0x03, 0x60, 0x06, 0x30, 0x0c, 0x18, 0x18, 0x8c, 0x31, 0xc6, 0x63, 0x63, 0xc6, 0x63, 0xc6, 0xc6, 0x63, 0x8c, 0x31, 0x18, 0x18, 0x30, 0x0c, 0x60, 0x06, 0xc0, 0x03, 0x80, 0x01) fg <- c(65535, 0, 0) # Red. bg <- c(0, 0, 65535) # Blue. source <- gdkBitmapCreateFromData(NULL, cursor1_bits, cursor1_width, cursor1_height) mask <- gdkBitmapCreateFromData(NULL, cursor1mask_bits, cursor1_width, cursor1_height) cursor <- gdkCursorNewFromPixmap(source, mask, fg, bg, 8, 8) widget[["window"]]$setCursor(cursor) RGtk2/inst/examples/cairo-cairo-t-1.R0000644000176000001440000000022611766145227016753 0ustar ripleyuserscr$pushGroup() cr$setSource(fill_pattern) cr$fillPreserve() cr$setSource(stroke_pattern) cr$stroke() cr$popGroupToSource(cr) cr$paintWithAlpha(alpha) RGtk2/inst/examples/GtkLabel-3.R0000644000176000001440000000013111766145227016004 0ustar ripleyusers## Pressing Alt+H will activate this button button <- gtkButtonNewWithMnemonic("_Hello") RGtk2/inst/examples/GtkDialog-5.R0000644000176000001440000000036311766145227016175 0ustar ripleyuserscancel_button <- dialog$addButton("gtk-cancel", "cancel") ok_button <- dialog$addButton("gtk-ok", "ok") ok_button$grabDefault() help_button <- dialog$addButton("gtk-help", "help") dialog$setAlternativeButtonOrder("ok", "cancel", "help") RGtk2/inst/examples/GAppInfo.R0000644000176000001440000000031011766145227015621 0ustar ripleyusersfile <- gFileNewForCommandlineArg(uri_from_commandline) uri <- file$getUri() identical(uri, uri_from_commandline) # FALSE if (file$hasUriScheme("cdda")) { ## do something special with uri } RGtk2/inst/examples/GtkLabel-5.R0000644000176000001440000000010411766145227016006 0ustar ripleyuserslabel <- gtkLabelNew() label$setMarkup("Small text") RGtk2/inst/examples/GtkFileChooserButton.R0000644000176000001440000000022011766145227020222 0ustar ripleyusers# Create a button to let the user select a file in /etc button <- gtkFileChooserButton("Select a file", "open") button$setCurrentFolder("/etc") RGtk2/inst/examples/GtkMessageDialog-4.R0000644000176000001440000000005011766145227017472 0ustar ripleyusers# GMarkup is not yet supported in RGtk2 RGtk2/inst/examples/GtkCombo-1.R0000644000176000001440000000031511766145227016026 0ustar ripleyusers###### # Creating a combobox with simple text items ###### items <- c("First Item", "Second Item", "Third Item", "Fourth Item", "Fifth Item") combo <- gtkCombo() combo$setPopdownStrings(items) RGtk2/inst/examples/cairo-version-info-4.R0000644000176000001440000000032211766145227020033 0ustar ripleyusers# R users should not be concerned with compile-time checking, but at runtime: if (compareVersion(cairoVersionString(), "1.0.0") == 1) cat("Running with suitable cairo version:", cairoVersionString(), "\n") RGtk2/inst/examples/cairo-Patterns-1.R0000644000176000001440000000010511766145227017211 0ustar ripleyuserscr$setSourceSurface(image, x, y) cr$getSource()$setFilter("nearest") RGtk2/inst/examples/cairo-Patterns-2.R0000644000176000001440000000011311766145227017211 0ustar ripleyusersmatrix <- cairoMatrixInitScale(0.5, 0.5)$matrix pattern$setMatrix(matrix) RGtk2/inst/examples/gdk-pixbuf-scaling.R0000644000176000001440000000153311766145227017644 0ustar ripleyusersexpose_cb <- function(widget, event, data) { dest <- gdkPixbuf(color = "rgb", has.alpha = FALSE, bits = 8, w = event[["area"]]$width, h = event[["area"]]$height) area <- event[["area"]] pixbuf$compositeColor(dest, 0, 0, area$width, area$height, -area$x, -area$y, widget[["allocation"]]$width / pixbuf$getWidth(), widget[["allocation"]]$height / pixbuf$getHeight(), "bilinear", 255, area$x, area$y, 16, 0xaaaaaa, 0x555555) dest$renderToDrawable(widget[["window"]], widget[["style"]][["fgGc"]][[GtkStateType["normal"]+1]], 0, 0, area$x, area$y, area$width, area$height, "normal", area$x, area$y) return(TRUE) } RGtk2/inst/examples/GtkLabel-7.R0000644000176000001440000000004411766145227016013 0ustar ripleyusers## RGtk2 has no support for GMarkup RGtk2/inst/examples/GtkToggleButton.R0000644000176000001440000000104511766145227017247 0ustar ripleyusers# Let's make two toggle buttons make_toggles <- function() { dialog <- gtkDialog(show = F) toggle1 <- gtkToggleButton("Hi, i'm a toggle button.") ## Makes this toggle button invisible toggle1$setMode(TRUE) gSignalConnect(toggle1, "toggled", output_state) dialog[["actionArea"]]$packStart(toggle1, FALSE, FALSE, 2) toggle2 <- gtkToggleButton("Hi, i'm another button.") toggle2$setMode(FALSE) gSignalConnect(toggle2, "toggled", output_state) dialog[["actionArea"]]$packStart(toggle2, FALSE, FALSE, 2) dialog$showAll() } RGtk2/inst/examples/GtkTreeModel-1.R0000644000176000001440000000067311766145227016656 0ustar ripleyusers## Acquiring a GtkTreeIter ## Three ways of getting the iter pointing to the location ## get the iterator from a string model$getIterFromString("3:2:5")$iter ## get the iterator from a path path <- gtkTreePathNewFromString("3:2:5") model$getIter(path)$iter ## walk the tree to find the iterator parent_iter <- model$iterNthChild(NULL, 3)$iter parent_iter <- model$iterNthChild(parent_iter, 2)$iter model$iterNthChild(parent_iter, 5)$iter RGtk2/inst/examples/gtk-High-level-Printing-API-1.R0000644000176000001440000000052111766145227021266 0ustar ripleyuserssettings <- NULL print_something <- { op <- gtkPrintOperation() if (!is.null(settings)) op$setPrintSettings(settings) gSignalConnect(op, "begin_print", begin_print) gSignalConnect(op, "draw_page", draw_page) res <- op$run("print-dialog", main_window)[[1]] if (res == "apply") settings <- op$getPrintSettings() } RGtk2/inst/examples/GtkFileChooser-1.R0000644000176000001440000000065211766145227017175 0ustar ripleyusersupdate_preview_cb <- function(file_chooser, preview) { filename <- file_chooser$getPreviewFilename() pixbuf <- gdkPixbuf(file=filename, w=128, h=128)[[1]] have_preview <- !is.null(pixbuf) preview$setFromPixbuf(pixbuf) file_chooser$setPreviewWidgetActive(have_preview) } preview <- gtkImage() my_file_chooser$setPreviewWidget(preview) gSignalConnect(my_file_chooser, "update-preview", update_preview_cb, preview) RGtk2/inst/examples/pango-Scripts-and-Languages.R0000644000176000001440000000006111766145227021356 0ustar ripleyuserspangoLanguageFromString("xx")$getSampleString() RGtk2/inst/examples/GVolume-1.R0000644000176000001440000000023311766145227015676 0ustar ripleyusersmount <- volume$getMount() ## mounted, so never NULL mount_root <- mount$getRoot() volume_activation_root <- volume$getActivationRoot() ## assume not NULL RGtk2/inst/examples/GtkEditable.R0000644000176000001440000000033611766145227016345 0ustar ripleyusersinsert_text_handler <- function(editable, text, length, position, id) { result <- toupper(text) gSignalHandlerBlock(editable, id) editable$insertText(result, length, position) gSignalHandlerUnblock(editable, id) } RGtk2/inst/examples/GtkPageSetup.R0000644000176000001440000000037711766145227016536 0ustar ripleyusersdo_page_setup <- function() { if (is.null(settings)) settings <- gtkPrintSettings() new_page_setup <- gtkPrintRunPageSetupDialog(main_window, page_setup, settings) page_setup <- new_page_setup } RGtk2/inst/examples/GtkRecentChooserDialog.R0000644000176000001440000000051411766145227020515 0ustar ripleyusersdialog <- gtkRecentChooserDialog("Recent Documents", parent_window, "gtk-cancel", GtkResponseType["cancel"], "gtk-open", GtkResponseType["accept"]) if (dialog$run() == GtkResponseType["accept"]) { info <- dialog$getCurrentItem() open_file(info$getUri()) } RGtk2/inst/examples/GtkRecentManager-1.R0000644000176000001440000000010311766145227017475 0ustar ripleyusersmanager <- gtkRecentManagerGetDefault() manager$addItem(file_uri) RGtk2/inst/examples/gtk-gtkfilefilter.R0000644000176000001440000000006111766145227017577 0ustar ripleyusersfilter <- gtkFileFilter() filter$addPattern("*") RGtk2/inst/examples/GtkTreeStore-2.R0000644000176000001440000000007411766145227016706 0ustar ripleyuserstree_store$insert(iter, position) tree_store$set(iter, ...) RGtk2/inst/examples/GtkWidget-3.R0000644000176000001440000000017011766145227016213 0ustar ripleyuserstoplevel <- widget$getToplevel() if (toplevel$flags() & GtkWidgetFlags["toplevel"]) { # Perform action on toplevel. } RGtk2/inst/examples/GtkTreeModelSort-1.R0000644000176000001440000000067311766145227017526 0ustar ripleyusers## Using a GtkTreeModel sort ## get the child model child_model <- get_my_model() ## Create the first tree sort_model1 <- gtkTreeModelSort(child_model) tree_view1 <- gtkTreeView(sort_model1) ## Create the second tree sort_model2 <- gtkTreeModelSort(child_model) tree_view2 <- gtkTreeView(sort_model2) ## Now we can sort the two models independently sort_model1$setSortColumnId(0, "ascending") sort_model2$setSortColumnId(0, "descending") RGtk2/inst/examples/cairo-cairo-t-2.R0000644000176000001440000000005311766145227016752 0ustar ripleyusersgroup <- cr$popGroup() cr$setSource(group) RGtk2/inst/examples/GtkScale.R0000644000176000001440000000020311766145227015654 0ustar ripleyusersformat_value_callback <- function(scale, value) { return(paste("-->", format(value, nsmall=scale$getDigits()), "<--"), sep="") } RGtk2/inst/examples/GtkSocket.R0000644000176000001440000000034011766145227016057 0ustar ripleyuserssocket <- gtkSocket() parent$add(socket) ## The following call is only necessary if one of ## the ancestors of the socket is not yet visible. socket$realize() print(paste("The ID of the sockets window is", socket$getId())) RGtk2/inst/examples/cairo-scaled-font-1.R0000644000176000001440000000044611766145227017620 0ustar ripleyusersglyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) cr$showTextGlyphs(utf8, utf8_len, glyphs$glyphs, glyphs$num_glyphs, glyphs$clusters, glyphs$num_clusters, glyphs$cluster_flags) RGtk2/inst/examples/GtkMessageDialog-2.R0000644000176000001440000000050311766145227017473 0ustar ripleyusersdialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close", "Error loading file '", filename, "': ", message) # Destroy the dialog when the user responds to it (e.g. clicks a button) gSignalConnect(dialog, "response", gtkWidgetDestroy) RGtk2/inst/examples/GtkImage-1.R0000644000176000001440000000016011766145227016007 0ustar ripleyusersimage <- gtkImageNewFromFile("myfile.png") # or, perhaps more conveniently image <- gtkImage(file="myfile.png") RGtk2/inst/examples/GtkFileChooser-2.R0000644000176000001440000000012711766145227017173 0ustar ripleyuserstoggle <- gtkCheckButton("Open file read-only") my_file_chooser$setExtraWidget(toggle) RGtk2/inst/examples/GtkWidget-4.R0000644000176000001440000000026711766145227016223 0ustar ripleyusersgtkWidgetPushCompositeChild() hscrollbar <- gtkHScrollbarNew(hadjustment) hscrollbar$setCompositeName("hscrollbar") gtkWidgetPopCompositeChild() hscrollbar$setParent(scrolled_window) RGtk2/inst/examples/gdk-Application-launching.R0000644000176000001440000000023212301674163021125 0ustar ripleyuserscontext <- gdkAppLaunchContext() context$setScreen(my_screen) context$setTimestamp(event$time) gAppInfoLaunchDefaultForUri("http://www.gtk.org", context) RGtk2/inst/examples/GtkTreeViewColumn.R0000644000176000001440000000024011766145227017536 0ustar ripleyusersrenderer <- gtkCellRendererText() column <- gtkTreeViewColumn("Title", renderer, "text" = TEXT_COLUMN, "foreground" = COLOR_COLUMN) RGtk2/inst/examples/gtk-Resource-Files-12.R0000644000176000001440000000022011766145227020010 0ustar ripleyuserspath <- widget$path()$path class_path <- widget$classPath()$path gtkRcGetStyleByPaths(widget$getSettings(), path, class_path, class(widget)[1]) RGtk2/inst/examples/pango-pango-renderer.R0000644000176000001440000000006511766145227020177 0ustar ripleyusersrenderer$partChanged(PangoRendererPart["underline"]) RGtk2/inst/examples/GtkActivatable.R0000644000176000001440000000402312301707102017026 0ustar ripleyusersgClass("FooBar", "GtkButton", .prop_overrides=c("related-action", "use-action-appearance"), GObject=list( dispose=function(object) { object$doSetRelatedAction(NULL) }, set_property=function(object, id, value, pspec) { if (pspec$name == "related-action") { assignProp(object, pspec, value) object$doSetRelatedAction(value) } else if (pspec$name == "use-action-appearance") { if (value != getProp(pspec)) { assignProp(object, pspec, value) object$syncActionProperties(object$"related-action") } } else { warning("invalid property: ", pspec$name) } } ), GtkActivatable=list( sync_action_properties=function(activatable, action) { if (is.null(action)) { return() } activatable$visible <- action$visible activatable$sensitive <- action$sensitive ## ... if (activatable$use_action_appearance) { if (!is.null(action$stock_id)) { activatable$label <- action$stock_id } else { activatable$label <- action$label } activatable$use_stock <- !is.null(action$stock_id) } ## ... }, update=function(activatable, action, property_name) { if (property_name == "visible") { activatable$visible <- action$visible } else if (property_name == "sensitive") { activatable$sensitive <- action$sensitive } ## ... if (activatable$use_action_appearance) { if (property_name == "stock-id") { activatable$label <- action$stock_id activatable$use_stock <- !is.null(action$stock_id) } else if (property_name == "label") { activatable$label <- action$label } } ## ... } )) RGtk2/inst/examples/gdk-Pango-Interaction.R0000644000176000001440000000470611766145227020257 0ustar ripleyuserswindow <- NULL RADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" rotated.text.expose.event <- function(widget, event, data) { ## matrix describing font transformation, initialize to identity matrix <- pangoMatrixInit() width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] ## Get the default renderer for the screen, and set it up for drawing renderer <- gdkPangoRendererGetDefault(widget$getScreen()) renderer$setDrawable(widget[["window"]]) renderer$setGc(widget[["style"]][["blackGc"]]) ## Set up a transformation matrix so that the user space coordinates for ## the centered square where we draw are [-RADIUS, RADIUS], [-RADIUS, RADIUS] ## We first center, then change the scale device.radius <- min(width, height) / 2. matrix$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) matrix$scale(device.radius / RADIUS, device.radius / RADIUS) ## Create a PangoLayout, set the font and text context <- widget$createPangoContext() layout <- pangoLayoutNew(context) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) # Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { rotated.matrix <- matrix$copy() angle <- (360 * i) / N.WORDS color <- list() ## Gradient from red at angle 60 to blue at angle 300 color$red <- 65535 * (1 + cos((angle - 60) * pi / 180)) / 2 color$green <- 0 color$blue <- 65535 - color$red renderer$setOverrideColor("foreground", color) rotated.matrix$rotate(angle) context$setMatrix(rotated.matrix) ## Inform Pango to re-layout the text with the new transformation matrix layout$contextChanged() size <- layout$getSize() renderer$drawLayout(layout, - size$width / 2, - RADIUS * 1024) } ## Clean up default renderer, since it is shared renderer$setOverrideColor("foreground", NULL) renderer$setDrawable(NULL) renderer$setGc(NULL) return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindowNew("toplevel") window$setTitle("Rotated Text") drawing.area <- gtkDrawingAreaNew() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", rotated.text.expose.event) window$setDefaultSize(2 * RADIUS, 2 * RADIUS) window$showAll() RGtk2/inst/examples/GtkLabel-6.R0000644000176000001440000000023311766145227016012 0ustar ripleyuserslabel$setMarkup("Go to the <a href=\"http://www.gtk.org\" title=\"&lt;i&gt;Our&/i&gt; website\">GTK+ website</a> for more...") RGtk2/inst/examples/gdk-Keyboard-Handling-1.R0000644000176000001440000000100211766145227020340 0ustar ripleyusers# We want to ignore irrelevant modifiers like ScrollLock all_accels_mask <- GdkModifierType["control-mask"] | GdkModifierType["shift-mask"] | GdkModifierType["mod1-mask"] state <- gdkKeymapTranslateKeyboardState(keymap, event[["hardware_keycode"]], event[["state"]], event[["group"]]) unconsumed <- all_accels_mask & event[["state"]] & !as.flag(state$consumed) if (state$keyval == .gdkPlus && unconsumed == GdkModifierType["control-mask"]) print("Control was pressed") RGtk2/inst/examples/GtkDialog-3.R0000644000176000001440000000102211766145227016164 0ustar ripleyusers# Explicit dialog <- gtkDialogNewWithButtons("My dialog", main_app_window, c("modal", "destroy-with-parent"), "gtk-ok", GtkResponseType["accept"], "gtk-cancel", GtkResponseType["reject"]) ## Also via collapsed constructor dialog <- gtkDialog("My dialog", main_app_window, c("modal", "destroy-with-parent"), "gtk-ok", GtkResponseType["accept"], "gtk-cancel", GtkResponseType["reject"]) RGtk2/inst/examples/cairo-pattern-1.R0000644000176000001440000000012311766145227017066 0ustar ripleyuserscr$setSourceSurface(image, x, y) cr$getSource()$setFilter(CairoFilter["nearest"]) RGtk2/inst/examples/GtkExpander.R0000644000176000001440000000044411766145227016402 0ustar ripleyusersexpander <- gtkExpanderNewWithMnemonic("_More Options") gSignalConnect(expander, "notify::expanded", expander_callback) ... expander_callback <- (expander, param_spec, user_data) { if (expander$getExpanded()) { # Show or create widgets } else { # Hide or destroy widgets } } RGtk2/inst/examples/cairo-ps-surface.R0000644000176000001440000000121211766145227017323 0ustar ripleyuserssurface <- cairoPsSurfaceCreate(filename, width, height) # ... surface$dscComment("%Title: My excellent document") surface$dscComment("%Copyright: Copyright (C) 2006 Cairo Lover") # ... surface$dscBeginSetup() surface$dscComment("%IncludeFeature: *MediaColor White") # ... surface$dscBeginPageSetup() surface$dscComment("%IncludeFeature: *PageSize A3") surface$dscComment("%IncludeFeature: *InputSlot LargeCapacity") surface$dscComment("%IncludeFeature: *MediaType Glossy") surface$dscComment("%IncludeFeature: *MediaColor Blue") # ... draw to first page here .. cr$showPage() # ... surface$dscComment(surface, "%IncludeFeature: *PageSize A5") # ... RGtk2/inst/examples/GtkTooltips.R0000644000176000001440000000210111766145227016441 0ustar ripleyusers## Let's add some tooltips to some buttons button_bar_tips <- gtkTooltips() ## Create the buttons and pack them into a GtkHBox hbox <- gtkHBox(TRUE, 2) load_button <- gtkButton("Load a file") hbox$packStart(load_button, TRUE, TRUE, 2) save_button <- gtkButton("Save a file") hbox$packStart(save_button, TRUE, TRUE, 2) ## Add the tips button_bar_tips$setTip(load_button, "Load a new document into this window", paste("Requests the filename of a document.", "This will then be loaded into the current", "window, replacing the contents of whatever", "is already loaded.")) button_bar_tips$setTip(save_button, "Saves the current document to a file", paste("If you have saved the document previously,", "then the new version will be saved over the", "old one. Otherwise, you will be prompted for", "a filename.")) RGtk2/inst/examples/gdk-pixbuf-File-saving-2.R0000644000176000001440000000014311766145227020523 0ustar ripleyusers# (R does not require NULL-terminated vararg lists) pixbuf$save(handle, "jpeg", "quality", "100") RGtk2/inst/examples/GtkListStore-1.R0000644000176000001440000000063111766145227016720 0ustar ripleyuserslist_store <- gtk_list_store_new ("character", "integer", "logical") sapply(character_vector, function(string) { ## Add a new row to the model iter <- list_store$append(iter)$iter list_store$set(iter, 0, string, 1, i, 2, FALSE) }) ## Modify a particular row path <- gtkTreePathNewFromString("4") iter <- list_store$getIter(path)$iter list_store$set(iter, 2, TRUE) RGtk2/inst/examples/GThemedIcon-1.R0000644000176000001440000000027311766145227016452 0ustar ripleyusersnames <- c("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome") icon1 <- gThemedIconNewFromNames(names) icon2 <- gThemedIconNewWithDefaultCallbacks("gnome-dev-cdrom-audio") RGtk2/inst/examples/GtkMessageDialog-1.R0000644000176000001440000000036411766145227017477 0ustar ripleyusers# A Modal dialog dialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close", "Error loading file '", filename, "': ", message) dialog$run() dialog$destroy() RGtk2/inst/examples/gtk-High-level-Printing-API-3.R0000644000176000001440000000120511766145227021270 0ustar ripleyusersdraw_page <- (operation, context, page_nr, user_data) { cr <- context$getCairoContext() width <- context$getWidth() cr$rectangle(0, 0, width, HEADER_HEIGHT) cr$setSourceRgb(0.8, 0.8, 0.8) cr$fill() layout <- context$createPangoLayout() desc <- pangoFontDescriptionFromString("sans 14") layout$setFontDescription(desc) layout$setText("some text") layout$setWidth(width) layout$setAlignment(layout, "center") layout_height <- layout$getSize()$height text_height <- layout_height / PANGO_SCALE cr$moveTo(width / 2, (HEADER_HEIGHT - text_height) / 2) pangoCairoShowLayout(cr, layout) } RGtk2/inst/examples/cairo-paths-1.R0000644000176000001440000000057011766145227016536 0ustar ripleyuserspath <- cr$copyPath()$data for (data in path) { switch(CairoPathDataType[attr(data, "type") + 1L], "move-to" = do_move_to_things(data[1], data[2]), "line-to" = do_line_to_things(data[1], data[2]), "curve-to" = do_curve_to_things(data[1], data[2], data[3], data[4], data[5], data[6]), "close-path" = do_close_path_things()) } RGtk2/inst/examples/GtkLabel-4.R0000644000176000001440000000020511766145227016007 0ustar ripleyusers## Pressing Alt+H will focus the entry entry <- gtkEntry() label <- gtkLabelNewWithMnemonic("_Hello") label$setMnemonicWidget(entry) RGtk2/inst/examples/GtkRecentFilter.R0000644000176000001440000000006311766145227017217 0ustar ripleyusersfilter <- gtkRecentFilter() filter$addPattern("*") RGtk2/inst/examples/GVolume-2.R0000644000176000001440000000013411766145227015677 0ustar ripleyusers(volume_activation_root$hasPrefix(mount_root) || volume_activation_root$equal(mount_root)) RGtk2/inst/examples/cairo-version-info-3.R0000644000176000001440000000034411766145227020036 0ustar ripleyusersCompile-time -------- R users should not be concerned with compile-time version checking. Run-time -------- cairoVersionString() Human-readable, use compareVersion() for comparison cairoVersion() Encoded, not very useful in R RGtk2/inst/examples/GtkTreeModelSort-2.R0000644000176000001440000000150411766145227017521 0ustar ripleyusers# Accessing the child model in a selection changed callback selection_changed <- function(selection, data) { # Get the current selected row and the model. selected <- selection$getSelected() if (!selected[[1]]) return() ## Look up the current value on the selected row and get a new value ## to change it to. some_data <- selected$model$get(selected$iter, COLUMN_1) modified_data <- change_the_data(some_data) ## Get an iterator on the child model, instead of the sort model. child_iter <- sort_model$convertIterToChildIter(selected$iter)$iter ## Get the child model and change the value of the row. In this ## example, the child model is a GtkListStore. It could be any other ## type of model, though. child_model <- sort_model$getModel() child_model$set(child_iter, COLUMN_1, modified_data) } RGtk2/inst/examples/GtkImage-2.R0000644000176000001440000000124111766145227016011 0ustar ripleyusers# Handling button-press events on a GtkImage button_press_callback <- function(event_box, event, data) { print(paste("Event box clicked at coordinates ", event[["x"]], ",", event[["y"]], sep="")) ## Returning TRUE means we handled the event, so the signal ## emission should be stopped (don't call any further ## callbacks that may be connected). Return FALSE ## to continue invoking callbacks. return(TRUE) } create_image <- function() { image <- gtkImage(file="myfile.png") event_box <- gtkEventBox() event_box$add(image) gSignalConnect(event_box, "button_press_event", button_press_callback, image) return(image) } RGtk2/inst/examples/cairo-context-1.R0000644000176000001440000000022411766145227017077 0ustar ripleyuserscr$pushGroup() cr$setSource(fill_pattern) cr$fillPreserve() cr$setSource(stroke_pattern) cr$stroke() cr$popGroupToSource() cr$paintWithAlpha(alpha) RGtk2/inst/examples/cairo-paths-2.R0000644000176000001440000000017611766145227016541 0ustar ripleyuserscr$save() cr$translate(x + width / 2, y + height / 2) cr$scale(width / 2, height / 2) cr$arc(0, 0, 1, 0, 2 * pi) cr$restore() RGtk2/inst/examples/gdk-pixbuf-File-saving-1.R0000644000176000001440000000015211766145227020522 0ustar ripleyusersformats <- gdkPixbufGetFormats() writeable_formats <- formats[sapply(formats, gdkPixbufFormatIsWritable)] RGtk2/inst/examples/GtkFileChooserDialog.R0000644000176000001440000000103611766145227020154 0ustar ripleyusers###### # Request a file from the user and open it ###### # This is how one creates a dialog with buttons and associated response codes. # (Please ignore the C "Response Code" example in the next section) dialog <- gtkFileChooserDialog("Open File", parent_window, "open", "gtk-cancel", GtkResponseType["cancel"], "gtk-open", GtkResponseType["accept"]) if (dialog$run() == GtkResponseType["accept"]) { filename <- dialog$getFilename() f <- file(filename) } dialog$destroy() RGtk2/inst/examples/GtkMessageDialog-3.R0000644000176000001440000000022311766145227017473 0ustar ripleyusersdialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close") dialog$setMarkup(message) RGtk2/inst/examples/GtkTreeSelection.R0000644000176000001440000000006111766145227017374 0ustar ripleyusers# You don't have to free anything in RGtk, silly RGtk2/inst/examples/GtkAboutDialog-3.R0000644000176000001440000000007212301674402017147 0ustar ripleyusersabout$setTranslatorCredits(gettext("translator-credits")) RGtk2/inst/examples/GtkIconTheme.R0000644000176000001440000000033711766145227016510 0ustar ripleyusersicon_theme <- gtkIconThemeGetDefault() result <- icon_theme$loadIcon("my-icon-name", 48, 0) if (!result[[1]]) { warning("Couldn't load icon: ", result$error$message) } else { pixbuf <- result[[1]] ## Use the pixbuf } RGtk2/inst/examples/GtkWidget-5.R0000644000176000001440000000011011766145227016207 0ustar ripleyuserswindow$realize() window$window$setBackPixmap(NULL, FALSE) window$show() RGtk2/inst/examples/cairo-scaled-font-3.R0000644000176000001440000000061311766145227017616 0ustar ripleyusers## R user obviously does not allocate things on the stack. ## This is the same as the first example. glyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) cr$showTextGlyphs(utf8, utf8_len, glyphs$glyphs, glyphs$num_glyphs, glyphs$clusters, glyphs$num_clusters, glyphs$cluster_flags) RGtk2/inst/examples/GtkMenu-2.R0000644000176000001440000000071611766145227015701 0ustar ripleyusers# The popup handler my_popup_handler <- function(widget, event) { stopifnot(widget != NULL) checkPtrType(widget, "GtkMenu") stopifnot(event != NULL) ## The "widget" is the menu that was supplied when ## gSignalConnect() was called. menu <- widget if (event[["type"]] == "button-press") { if (event[["button"]] == 3) { menu$popup(button=event[["button"]], activate.time=event[["time"]]) return(TRUE) } } return(FALSE) } RGtk2/inst/examples/GtkTreeModelFilter.R0000644000176000001440000000034211766145227017657 0ustar ripleyusersvisible_func <- function(model, iter, data) { ## Visible if row is non-empty and first column is "HI" visible <- FALSE str <- model$get(iter, 0)[[1]] if (identical(str, "HI")) visible <- TRUE return(visible) } RGtk2/inst/examples/GtkWidget-6.R0000644000176000001440000000134312301713412016200 0ustar ripleyusersdrag_data_received <- function(widget, drag_context, x, y, data, info, time) { if (data$getLength() > 0L) { if (drag_context$getAction() == "ask") { dialog <- gtkMessageDialog(NULL, c("modal", "destroy-with-parent"), "info", "yes-no", "Move the data ?\n") response <- dialog$run() dialog$destroy() ### FIXME: setAction() not yet supported if (response == GtkResponseType["yes"]) drag_context$setAction("move") else drag_context$setAction("copy") } gtkDragFinish(drag_context, TRUE, FALSE, time) } gtkDragFinish (drag_context, FALSE, FALSE, time) } RGtk2/inst/examples/GtkCombo-2.R0000644000176000001440000000116511766145227016033 0ustar ripleyusers###### # Creating a combobox with a complex item ###### combo <- gtkCombo() item <- gtkListItem() ## You can put almost anything into the GtkListItem widget. Here we will use ## a horizontal box with an arrow and a label in it. hbox <- gtkHbox(FALSE, 3) item$add(hbox) arrow <- gtkArrow("right", "out") hbox$packStart(arrow, FALSE, FALSE, 0) label <- gtkLabel("First Item") hbox$packStart(label, FALSE, FALSE, 0) ## You must set the string to display in the entry field when the item is ## selected. combo$setItemString(item, "1st Item") ## Now we simply add the item to the combo's list. combo[["list"]]$add(item) RGtk2/inst/examples/GtkAboutDialog-2.R0000644000176000001440000000007211766145227017162 0ustar ripleyusersabout$setTranslatorCredits(gettext("translator-credits")) RGtk2/inst/examples/GAsyncResult.R0000644000176000001440000000060611766145227016551 0ustar ripleyusers frobnitz_result_func <- function(source_object, res, user_data) { success <- _theoretical_frobnitz_finish (source_object, res, NULL) if (success) message("Hurray!") else message("Uh oh!") ## .... } _theoretical_frobnitz_async (theoretical_data, NULL, frobnitz_result_func, NULL) RGtk2/inst/examples/gdk-pixbuf-File-saving-3.R0000644000176000001440000000025412301656456020524 0ustar ripleyuserscontents <- readBin("/home/hughsie/.color/icc/L225W.icm", what="raw") contents_encode <- RCurl::base64(contents) pixbuf$save(handle, "png", "icc-profile", contents_encode) RGtk2/inst/examples/GtkWidget-7.R0000644000176000001440000000225111766145227016221 0ustar ripleyusersdrag_motion <- function(widget, context, x, y, time) { state <- widget$getData("drag-state") if (!state$drag_highlight) { state$drag_highlight <- T gtkDragHighlight(widget) } target <- gtkDragDestFindTarget(widget, context, NULL) if (target == 0) gdkDragStatus(context, 0, time) else { state$pending_status <- context[["suggestedAction"]] gtkDragGetData(widget, context, target, time) } widget$setData("drag-state", state) return(TRUE) } drag_data_received <- function(widget, context, x, y, selection_data, info, time) { state <- widget$getData("drag-state") if (state$pending_status) { ## We are getting this data due to a request in drag_motion, ## rather than due to a request in drag_drop, so we are just ## supposed to call gdk_drag_status(), not actually paste in the data. str <- gtkSelectionDataGetText(selection_data) if (!data_is_acceptable (str)) gdkDragStatus(context, 0, time) else gdkDragStatus(context, state$pending_status, time) state$pending_status <- 0 } else { ## accept the drop } widget$setData("drag-state", state) } RGtk2/inst/examples/GtkPrintContext.R0000644000176000001440000000155011766145227017274 0ustar ripleyusersdraw_page <- function(operation, context, page_nr) { cr <- context$getCairoContext() # Draw a red rectangle, as wide as the paper (inside the margins) cr$setSourceRgb(1.0, 0, 0) cr$rectangle(0, 0, context$getWidth(), 50) cr$fill() # Draw some lines cr$moveTo(20, 10) cr$lineTo(40, 20) cr$arc(60, 60, 20, 0, pi) cr$lineTo(80, 20) cr$setSourceRgb(0, 0, 0) cr$setLineWidth(5) cr$setLineCap("round") cr$setLineJoin("round") cr$stroke() # Draw some text layout <- context$createLayout() layout$setText("Hello World! Printing is easy") desc <- pangoFontDescriptionFromString("sans 28") layout$setFontDescription(desc) cr$moveTo(30, 20) cr$layoutPath(layout) # Font Outline cr$setSourceRgb(0.93, 1.0, 0.47) cr$setLineWidth(0.5) cr$strokePreserve() # Font Fill cr$setSourceRgb(0, 0.0, 1.0) cr$fill() } RGtk2/inst/examples/gdk-Events.R0000644000176000001440000000023611766145227016174 0ustar ripleyusers# motion event handler { x <- motion_event$x y <- motion_event$y # handle (x,y) motion here motion_event$request_motions() # handles is_hint events } RGtk2/inst/examples/GThemedIcon-2.R0000644000176000001440000000010511766145227016445 0ustar ripleyusersc("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome") RGtk2/inst/examples/GtkPaned.R0000644000176000001440000000047311766145227015665 0ustar ripleyusershpaned <- gtkHPaned() frame1 <- gtkFrame() frame2 <- gtkFrame() frame1$setShadowType("in") frame2$setShadowType("in") hpaned$setSizeRequest(200 + hpaned$styleGet("handle-size"), -1) hpaned$pack1(frame1, TRUE, FALSE) frame1$setSizeRequest(50, -1) hpaned$pack2(frame2, FALSE, FALSE) frame2$setSizeRequest(50, -1) RGtk2/inst/examples/gio-Extension-Points-2.R0000644000176000001440000000041211766145227020322 0ustar ripleyusers## Implement an extension point myExampleImplType <- gClass("MyExampleImpl", MY_TYPE_EXAMPLE) gIoExtensionPointImplement ("my-extension-point", myExampleImplType, "my-example", 10); RGtk2/inst/examples/cairo-pattern-2.R0000644000176000001440000000006511766145227017074 0ustar ripleyusersmatrix$initScale(0.5, 0.5) pattern$setMatrix(matrix) RGtk2/inst/examples/cairo-paths-3.R0000644000176000001440000000014611766145227016537 0ustar ripleyuserscr$moveTo(x, y) cr$relLineTo(width, 0) cr$relLineTo(0, height) cr$relLineTo(-width, 0) cr$closePath() RGtk2/inst/examples/gdk-Keyboard-Handling-2.R0000644000176000001440000000034411766145227020351 0ustar ripleyusers# XXX Don't do this XXX unconsumed <- all_accel_mask & event[["state"]] & !as.flag(state$consumed) if (state$keyval == accel_keyval && unconsumed == accel_mods & !as.flag(state$consumed)) print("Accellerator was pressed") RGtk2/inst/examples/GtkTreeModel-2.R0000644000176000001440000000106311766145227016651 0ustar ripleyusers## Reading data from a GtkTreeModel ## make a new list_store list_store <- gtkListStore("character", "integer") ## Fill the list store with data populate_model(list_store) ## Get the first iter in the list result <- list_store$getIterFirst() row_count <- 1 while(result[[1]]) { ## Walk through the list, reading each row data <- list_store$get(result$iter, 0, 1) ## Do something with the data print(paste("Row ", row_count, ": (", data[[1]], ",", data[[2]], ")", sep="")) row_count <- row_count + 1 result <- list_store$iterNext() } RGtk2/inst/examples/GtkDrawingArea.R0000644000176000001440000000065711766145227017026 0ustar ripleyusersexpose_event_callback <- function(widget, event, data) { gdkDrawArc(widget[["window"]], widget[["style"]][["fgGc"]][[widget[["state"]]+1]], TRUE, 0, 0, widget[["allocation"]]$width, widget[["allocation"]]$height, 0, 64 * 360) return(TRUE) } [...] drawing_area = gtkDrawingArea() drawing_area$setSizeRequest(100, 100) gSignalConnect(drawing_area, "expose_event", expose_event_callback) RGtk2/inst/examples/cairo-image-surface.R0000644000176000001440000000022311766145227017764 0ustar ripleyusersstride <- format$strideForWidth(width) data <- raw(stride * height) surface <- cairoImageSurfaceCreateForData(data, format, width, height, stride) RGtk2/inst/examples/cairo-scaled-font-2.R0000644000176000001440000000023511766145227017615 0ustar ripleyusersglyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) { cr$showGlyphs(glyphs$glyphs, glyphs$num_glyphs) } RGtk2/inst/ui/0000755000176000001440000000000011766145227012640 5ustar ripleyusersRGtk2/inst/ui/demo.ui0000644000176000001440000002761111766145227014132 0ustar ripleyusers John Doe 25 This is the John Doe row Mary Unknown 50 This is the Mary Unknown row Copy Copy selected object into the clipboard gtk-copy Cut Cut selected object into the clipboard gtk-cut EditMenu _Edit FileMenu _File New Create a new file gtk-new Open Open a file gtk-open Paste Paste object from the Clipboard gtk-paste Quit Quit the program gtk-quit Save True Save a file gtk-save SaveAs Save with a different name gtk-save-as HelpMenu _Help About gtk-about GtkBuilder demo 250 440 GtkBuilder demo True True The menubar False True The toolbar False 1 automatic in True automatic True liststore1 3 Name list A list of person with name, surname and age columns Name 0 Surname 1 Age 2 2 True False 3 RGtk2/inst/CITATION0000644000176000001440000000132711766145227013363 0ustar ripleyuserscitHeader("To cite RGtk2 in publications use:") citEntry(entry = "Article", title = "{RGtk2}: A Graphical User Interface Toolkit for {R}", author = personList(as.person("Michael Lawrence"), person("Duncan", "Temple Lang")), journal = "Journal of Statistical Software", year = "2010", volume = "37", number = "8", pages = "1--52", url = "http://www.jstatsoft.org/v37/i08/", textVersion = paste("Michael Lawrence, Duncan Temple Lang (2010).", "RGtk2: A Graphical User Interface Toolkit for R.", "Journal of Statistical Software, 37(8), 1-52.", "URL http://www.jstatsoft.org/v37/i08/.") ) RGtk2/inst/images/0000755000176000001440000000000011766145227013470 5ustar ripleyusersRGtk2/inst/images/gnome-applets.png0000644000176000001440000000602211766145227016751 0ustar ripleyusers‰PNG  IHDR00Wù‡gAMA± üabKGDÿÿÿ ½§“ pHYs``zxEtIMEÐ (–ªŠ IDATxÚíšYŒ×u†¿Ú«»§»g㢤9Ò–dk¡MÑ–I¦@Ó’F² 'P q^b=Fâ ûI6ò”<YÀÉk Iˆ Ã@LÙ¢hQ#ÒÒˆÔˆξw³»ºö5}‹(·‡Ãe˜<)à  =·«þÿžÿœ{î¹#qs—$L.ÜK…¿gK ÷·ü’v\&¬H aùý-'r#äpU˜V¸W csÀ1,'“þoÈg])€6„é˽‘Ï~ „@Ðc±°[â õ: (à&PÌOÝsp÷3_:z|dxèpÉ4È’4'±á:NàØöZ³eM¯®o¾}ú½÷ߘ]XYïóÅ3ãB|üy@.€Ï—Ÿ|ìsû¿ö•§¿yûÞ½_“$‰,ËH’˜(Š ‚ß÷ñ<ϱ±]ÛvX[ßøÉÙ>úÑGç/nÁÉN(×9ó&P*/ÿ»üüÄñíÞ=r¿a–0Œº®£ëŠª **²,!!‘IR–B–¡ªò§†û_쯹³ +baGRR¶/dS*ÿ·?ø«{ïýÄ·+}5Õ,•)•ʦ‰n¨ª†ªj]ðR7² Ò4%Mb’$%NRUS¥/ì®Ì.¬¾ÙCâ–È¥£ç³ÿwóò÷ÆÆö}£Tî£T*S®”)•K覉a訪Š,É¿$’4!‰câ8!Šc’8¤‡ëåÅ•Í;%¡l3ûj>û?øþwÿäÀ»ÿ¼\©R*•)U*”ÊeÌRÃ4Q5EQd².ø$é‚•ð}Ÿ(މã˜8ŽˆÂˆLÊ•Kzk}³}¦^o˜„| ÚÓÇž¿{ß_꺎¦i¦iš˜å åJõŠ™å ¦ib˜š¦Ñ¯‚”¡êЬ )2²¬¢¨ ²,S)›ß®Ò°t+üNö9vôñoišnÊ²Š¢¨hš†¦F Ã,Q*WɃYӻ໱Ð/Ë Š,Q®T”î½$uM–es°¿ï;B¦ê6x®›@±Lкdp°ÿÅî edYñ)Ë2ªªc–úPUýÊwH2ùxI’d Y’»™ª\'Nº*‘$©û2Yz±RÖïr½a/ÈÛ¥Ï'}x"K3²,#ËR²,ƒ,íf–4%ŽC|Ï&ŽÃ+ß!Æåã³4#ÍR$Ecy­I(Wøpz«ã`Ù®RíÓ¿*2Ý {AÞ¦XS«ÕÊ#išt2‰ºEDa@x¾‡çv| ðˆÂ€(êŽKÓ˜$‰IÓ„4MI’Çqyá…xüèqÖ7/Ó±]TM£R.?ôÝŒämô¯jŠüÉ8ê®°QÔøÝ•Öw\§sÅ|×Á÷}¿K" C¢(&ŽºÙÈj5Ñ4z—^z‰;Flj☡¡a\Ï¿è/xAÚ‰®H“dO…A@„¾‹ï{xŽƒëØ¸¶…ݱpm ×±ñß÷|·;>£( ˜››g}}3gÞ£^ïgâ¹ç¨Vð\›,Í€ r£IÝ®úŒ¢Ðô=ïÊ +Ë]¾išE!ªª‘×B¹¼ßÅs=<ÏízÊó‚ÇõHâÿxí ‡wqäÈþú‡/£ëŠ¢*À° X¢àK®g]Ø.`$ÏóƒÀï‚Y_ßä¿Nüš8ΰ;mÛ¢cµéXÝOǶÄ÷Žcã:.žçŠø高øžËüü¿9u’0 ˜xî9ÒTUM€A &d¤]o0÷z ¸äâÜRóàø¾Û$I¢i9œýà<©¤òÈáдnž¿V5êx>—–™_fßþýì“eNœøtާŽ=Í/~þSJ†‰¨ uDµ*]Ë ÊUÖ(ùìCǧ/ÌÜÖ±]‚žxž³gÏ"e]ï¦iJŠ rñ|×qXZ\âÌÔ4—æ?È“?J…LNž& <×feeOßÿ‹ óÆek h 9b3tM]Í)Üq×þÿð…?:ôãþfæù³ïaee…ŸýçëŒÞ¹—O#IRV×6(—L.·ÚX–EÛ² ‚ñxæÙϳ²4χS°´¼€m;ŒŽÞN¬,^âÈçá×_KóŠW”í†À]kû©l³SSSkjæýÙ‰çYZ^å GŸâ¶½{ù‡ü'—ÛL›Æó|6M66[ôUk<ðÀƒ<úØcÿÒãÝSorñâǬo¬awl‚0$cöìÆ45ÖÖ79vü™ìäÉ“«À²ðBGr|-[y ßGËíÍÏOÿ¼Ùl›úxÅÅÆÇ0>>Îî]CܵŒGŽf×®aÂÀ'Í2,Ëbò·y·cÑhlà!žïá{>A!I…ƒÃÃ8V‹™ù¥ö=÷=X6Mó“¾ï¿½Å{Û8Ø*f9 xÿüÅWJ%ýI×q´Öåˬ­®ò¹‡?ÿþäÒ4¦ÝXãö=à I,ÌÏ’¥)aF1AAÅ1iS2M¢8¥¿V#ô¼ìÜôìlËþ÷êÄÄľW_}õN`¦ÐénvC“×C†ï‡Š¥¾ŠyŸë‡È²ÂÚê çΟ'=š–ÕÂî´ñ=? ñÿʪì!q#Ë2%䯯J¥ÆÐàozw}yus©Ùl^[[[«†aø« äëÙR–›­N§Z1ïlµÛ{² &'ß%ŠBÈRü Ä45â$&ŠÅ¬ûq% ’$¡© }• õZZµŠ¦›\º4c>{þ`˲fFFF5‹ÀA (lvnzSo}Í–mÉÄw¾szrÀ¶;¨ªBÿAà¡k*ª"“$ i’"+2Šª ©*¦aP¯Õì¯Ó_¯£éKË«ö/ßšœÎÁ–ã8‹Õju¤Õj'F!³›%{¡T;¶çÊ%IÒUU¦Z­aª*ÓW)£ë:•rÓ0é«”©×ê R«V©Öjhºž½õö鿩ɩ1Ã9ÐnµZoO¿>.´^n(ˆ‹íÁHôpZÀ°FÉFûòm»‡²f£Q¾{l CM쯡j*º¦#ÉJwK©t72ïœy?üÍäÔ\ÇvÛâ™¶ ‘›'´ÿ ðmàõë©…¶# öÐVå,ˆ¦gç C3TEÙsï½uM×ÕáÁ!YQU)#ËÚm+_Üˆææ—Üóæ?%! ¯@ ÓCÀ^>üðãkõ¤ëÈR†(u÷cÀ3À—óâ¥e‘·Õž¼]lðÊÀA¡í¬“ë_x¸)nˆ¢î/€o+Ûuï”›hîZÀQ`Q¼,ï<¸ùlúiŒO®ôŸ›U c‹g“7y³A|52ð”7]èB‡Ð9p¯ ™@xqª ›bç–ÇÆo?ÞÏÞÞÝÚ§Eý~ªp·Ò{ ¸ÂÖ‚tc Řð€5à.àaàÍ[A€‚¾ëÀ}À/ eÇÕäfç bà\„ŠæŠßGÀYàëÀÏÄDí˜@®Å6ð$ðÓ-<ÐE/´E,¼·Eäà=ñ¬<VDâ8q³Å//™¥¯.Ù‹!¾â¦<+d£M`·ÈPV˜³ø<}þðCÑv±wêbÉ}H¤¾ÙB&*za+9Bÿ{€zÀçõ4zó³µQàâ­$Pr8ÓC 7zeÔ^š)|çÀoÕ©ž à²{Ãê‹üü Èy Õ·XÔ~o£$š¹Qá·aáðïjmöÓ¢õÒØ "˜E‘êÜÂB¦b xvœõÄÂP‹ZÔsž|µEkSØŽ%”_‰XòóüÝ{.^å˜52* @ñNÁwBhŸÈJiOýÓ{È]´Xd¡ìZåò­8'ÞîZ† ®O º—¶YG2AdÇÝ;õ@ÔîÑzo—o«þøÿëÿÄõßÄÖAýkåIEND®B`‚RGtk2/inst/images/gnome-fs-regular.png0000644000176000001440000000340311766145227017350 0ustar ripleyusers‰PNG  IHDR04Ì“»‘bKGDùC»¸IDATxÚÕšKoWDZCÚ4³Ð*HtEÊ¢,‚RBÃ+ÚO€Ô]Yõ#ðP%XtQ‰Hx4< ‚À’MT‰v”‡`ÄĵöÜÓ…3ž;wî±SPÒ+dß¹w|ÿó?çÌ5Àw€,„«»»ûéúõëúN`u ¹wïžè£P(È|Œb±(cccrôèQ_©õÀ{@*VܺuKDDfffÞŠ@J©†®r¹,ÅbQ¦¦¦dttÔWâ“8%R¼ƒ!"ˆHÃû*• ="“ɰyóf._¾ ðX´Ùä Mlݺu^×G¹\ ££ƒ-[¶044Dkk«S‰Ð—Û·oÏ‹àþ~abb¥™L†M›6qòä :::¬J¤æÃâºÀú~…çy58yžGww77~ÊñãÇM85ÍBsÜ&0ˆ¡ ”J%¦¦¦¸sçccc\½z•R©Ä† Ýœ:u à{`©O±Í&„â”hDh÷Úª ¶y_¡#GŽP,Q¾¡Y±¢‹={ö| ü€Jó¦žu.Ã÷D¥„¾¾>–/_N.—£Xü‡\îãããœ8qÂ߸dF…¦Ù<zl¡P ½½=Qp×ýF¬_]+³Ÿ!•JQ©T˜žžæáäÓiòù<££·8vìÀ.à`ÒÊB.Œ»‚ÏÄrTèãzÀ*¥jó"Uæñ¼Êìž* õô|ÆôtžÞÞ/éééñ·7ùš“,÷6¬`”Š*¨”ªyšŒ5Áý¶¶¶ÈS›u¶mÛ¦YEæ„å8Œ›Êxž2Œ¢´õ¾ðÕ¸(fhnnv—"Âèè(©TÊbéÏd’2Ë&Á=ÏSšð¢Á‰Ð_‰+W.ÓÞþÕtÍ67×ïѬEÄšæ½@ý{ô·õ}I9'¡íÛ¿¨eÂ$,»•±1²qÀ>veOîÞýù|ž„jT¸yóétºXDï)U½|·ûÐðÌD›W³óÕDXLö€Ý2,\kƒ‹ù“I‚5¶¬ޝº $;wîä͛׆2Ñø.Nf´`Â%¬¨X!+"ìÝ»çÏŸ%AH¸~ý:--­šûUH€*Ó(“H„I|hDÆ¥°bºg.\8ϲeËŠ^õ@ÃÆ$f€Û˜M÷€ÉLÅ&@H)¡··—R©T³Š¿Ñ,®¢Êˆ5ù…ƒÜF™6Á%ÂBû÷ —›LNd×®ýÆâÅ‹5H ±B8i™î×á\žÆLññ«N³Zsç†éêZ™ÄzpÚù\êêõBÌ^'‰³Ä¶C’zXH±k×. …£$p?Ôœ”k’³÷qµUUŽxò$!¥ô²ÕUÛç}fr1IØâRc³°ðbíÞDÃÃgYµjM2 éÖò» [ÿj«ƒ\Lb&-[IaÖWîJ !úúv“ÏOÐgwe+äìl$k KýYbbâqR"S\º4Bgç’cø–ðk•(Yæþðš(Da©¯:ÃêÕk“šhÛhòr´­´¹ßÖ¸»˜%êMkÕ!€þþ~^¾|Q³F”“ÅÑ™¹ß8؊ðÁÄ)´/Ç¡Cƒd³'×B##¿²tiFK(n&ÑÝï×6îîMBJ†ë&Sè(„Ξ=Ú5%çàýŒ$ZÛäñ¨«%¶s‹ë«yµŠpÙên)MеCg9n[÷úrpð0'CÈ/[£Ü«×*ÊÊ"ÑžXOnQ|“b"àÌ™_X»v]r°¥ñzP›ÔóvÛž’Ï!B™xß¾ýärO-Ör»}®‚ÛâŵopðkÆÇÿJnêÏŸ?GW× ë›ã(LpÙzh˸[X™Ó§fݺ“=”Ó$0†;‰¹--uŸ34rêȘœœpÔþâÌØs=Ù©WðÇ¿I†ÃÃC¬\¹Ú€L´·¹¿‘à‹Â.~}]rõ©IïeÞ…Å)€û÷ïÂÀÀ!ž<ÉZš”xú{Û¯#55… ”Íf혜œdff†±±ßgON<Òé4 eܽû'Ùl–W¯^YoÁü_¨ÎëG`Õû´Ú÷9ð>ТŸ.À!Àkà)0áŸCõè¾Hÿð€P*MZ0/dÁmŠ(€¶Cžú@eIEND®B`‚RGtk2/inst/images/rgtk-logo.gif0000644000176000001440000001644611766145227016077 0ustar ripleyusersGIF87akŒçp¨Ø ˜0øøø(  •€ˆ  ˜°ä˜°X8øžÜ™ø¨¨d ˜Èð²Èà@ ,0D ¤Ø8(xŒàx|˜ˆ(PtŒÐ 0 ˜¸êÚðX ˜Èø\ck°¸Üpx˜t˜Œ8LPEPe‚¨ 4\(hð (|„Œ`@( È( ØÐåíõõ©¢Àð” ˆ˜À˜¨Ø(*:¤´Üp€¨pèxR]ˆ¸ÀØju’49K@ÀPPXX(0™4¾ˆ¬p0@pXh¢Ê0X¨ˆˆ¤äìøˆ È¥b`•ÀÉËãÒÚò Ô€´äˆ˜Èx€¸258BHbÔŒ|ˆÀ ¨è(Xˆø  ¤°Ø\l”pÜxøðøl|¤DœTJMX˜¤ÌP\€°¼ädl€ÆÀæ hH@@P¨x´€ÀhŒ¼((0«¹½èðå½ÉĘШ¸àzš²ˆ¸ðxj²“¡¶(@ˆ ¨à˜ ØXÌ`ðèøðøø€ˆ°º`mxˆ°EEP´ÉñÞäôˆðˆhp¤5p@P˜È€ÀðMRj°4dP(0Úààhp`p ÂÊõx¤èx€¨èðøð ˜œ¨À(H°UUh•¨px |hxpˆÐ(0@@D\RUu`p˜xº†P€¸p8àŒXhˆ0°@`dxH@Xh€Ø(0Pd`\d€Ö™ààrˆ¸ÀÈà˜ Èpr…^\–4;Y€¸ø¸¸xˆ¸ *E €8ˆ@Pxà€°Àð­µÌ¨°àÐP€T¤lH0`²b²Ìxlhx°bmˆ¬°¸ˆÀð€¨ØH@ˆ((@@5:BLxXÔàøˆÈpx¨˜¸˜¨Ðx°àÀ¹äìäìÔÎΤ°è`ÔpxЀPhˆX`€¸Àà°ààèø ¤˜¦Hh¸z…¥(¤¼ìˆ˜Ð@Hpr²¨p€¸bµràäèhx˜ÆÓôè’À@p˜ à€ˆÀ€ˆ¸tšÆ =-ÎÜÚx€ l|œPXp (8XHHP°x€°ðèðìððFTzð  ,kŒþH° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²¤É“(Sª\ÉÒã9<-cì÷‚CAiÅÆL£cSæÊ~ÊNÛ"PÚmŸ(yóöŠ€œ?>Q²‘£TŒ5 ˜úäí“ :'\8ûƒ_Ô‘ÒÖ`Ât¦Û§3׊±¢4SšktÆêýEôlGä®ù8£¢”š?ŠHXAÇ[€"” ºvB¯ƒKünlãC ¬†Oœ óãc:”~8ò5¼ÅzöÕLFdjJ•’ º+V§“5„ÖÇ\kùí‰Ó”•òQÊ4éE(#¦ãèøqãÆ!þ@“`ÙA³ÏÂ(àÀ!_ÈD7¦üG€Öá‘ë‡@ÌÊŠò/¤·P.¨ápVe+xÓwøyçA~z›Î XPsŒ œ &(ZpE@4~7¡„+~G^–Uƒ†)¢ ˆz­ ÚŽtÄaˆ~¬å—¢ŠÈ)WYl¦—*‰£¥íè1T¦ä~¶8¤!iÀ¦×´å¡Ke8ŠXŠDB48ÁfWE|À,†·bþY¶BO>3Â̇Øhdt,¶£h?,¸ uqHˆ¥ÊÑñß^2åscý§£'|Â¥t”ÚUŸaÚŽž–7%þ÷ ‰Ü'¥ê©Kót § þw‚ÂcÅ¢Á}ꪫ—&X¢¡à ­É: GJ0ˆPfˆ+S(„^‡,EèÙ+¨žFÛ 1È­èÁ'VðZŸ#Íc…“Oꘉ¡øAÃà±Ç^ZnŽGvú«•âYLyŠÔ¯zà ºá9¿¾~â„!èò 4w +߈ÉçÄ•ßA€7ëuHç -¨?ü€fx† ¢žçJJ¡Ð «ão9ÖWò~&ÃØi’åA²g ir펛#ùDZrYzçD+$fi§`­`µºD¦Á+˜ùéêèÊj²b—~ %°ÊñXù¤0þc˜Ò¬–PÑ9Á€ÊÍ:=äŠÐÈÕ)%tj „-6«³ð f…båE&äÓ¤í³-„´@Ó¸0Ym§+itäY…x³8Ö®º7«3ö‹CÛI¯{6´zŠx™ãáèìºt˜b Þ×$XAëçî6æVèyD‚Gv÷9ŽÁÐ/Ì8 y½2†ñâ’Bïl;Y„vZY·q˜–£çùÓR–\³: ,dÀ †Ð)ÕT wŸƒô2¹›­àAWœ0F'B [¢IP&ÄG²¬ ÉC ›Çé¢`ÂzI„2ñ´B¨f]Ë‘.¡ì‰‡Vþ'ê Û Á»‘ÐN,™R6d*ð/@EäàNÃÝÐÒµ.:”¡S›Ûœð Ót-ÀÒÝUTBÀaÉK8œœhEXâC (ö”âÚ°Z‘øAå=®;„Ø>Ñ:!©ëˆuФâà‡6X‚t,È9¢è b’À(d¸Cäï8€Ä´F¾›MnE‘pÛq:¥£"¼O{ú’'D CD`*(€ÈA¨!@ñ2ô(ƒL¡I0Æ ?umCÙhÆÀÍ0€à›Ûä¦8ÇépŽºÐZ±„ðmogDÒ…%>1˜aàÂþ8æAª… 5°Àÿh@€Á‚±°h"kþÐ ,€à oG8¨±‹]¼! ÍhF+†Žz ©+\%€/‘vó€üP eøbPª!À‹ 0è‚/Ô@ \A  ØC“@_”HH€Âð&Ø PÀ²l`3XC+²†1@«T¼‰…˜õ -˜JeÕK?8a sðÁ0ÁØu. €4˜~²@mÀB‘¢à–HSœñ&lcGˆld# PÖ²”Íì2«ÙÍ>6á Ažð„è/%ý°†WXÁ˜°þ†]Q°€Œb (]Az1_üõ§]4À‚3Ø@B `…>ZðŒo|cè¨Ç%.±ƒX÷€=¸ =d7»ô/$]YÌàoðCž ‹Kˆ"LHÓ !‡kŒàC@…h[ÛÚvá2º%H/rÀS¨ÿ „“¨hŒø“pÅ;š0QøCYÈp`zÀA`+ôPËâïðît›Ñ X¸8 \  ìðŽ„@‰uàqeªá X…\[8è9H/0Q ôÀýÇ- JE_ÈÄ‚ôá†tÑåB3ô1]´¢©éH‡þZÑ ?pÓéhÄ9wQ*ðáͨ‡ QŽÑBb؃¬Ú´)_¬Àžè¯¢…Œ‚é ÉñD)XðOàBù · ¢“1„L8ƒh ÁêqƒÈ …Ã2(«ƒI!¼°¯X¡„€¤_˜Á;ø .CO ,8AŠ@ÈDÃèÌX†`"÷wÈøbnbcøÓ–¾4!¨ÜI_Aî°3:Q>P¡XHÇ6–0$cò„¼Q‹xÄ£<¨@ á ,ìâ Oh˜á.¸ã —° Hƒ Š@0G*…lÍ_þâ€.P|ðt”ÎxÜàFÜ@M¨C.ñ†C âdPÈp@èåÜ8äQ‹Xø£¬ ‚,˜!q ¼sÆ&6 J¿‹¦¸¢µ –3(ľ .`ÉØ'" HûÚÛ~ƒ ÛÑ €±@|àö·ç—xàNœúhx‚ãŸà†Bì@ }0Qàƒº:;ó™ÅX¢ñùRvôb'ûðþú´3ƒín‡»ê@ WHá5H†wNÀÝÇbYÐhA xˆÃMú¤Àƒd°@A–y} `dù¤]ð, ÙFz‚Ejà z°znçzuPs špQ 5n²9®þ Í@´î í`vð 50ûõl7dY·ÓãÔGm²€ Øc÷qÿ€H+×4`Hš~v#+Y°õP´ iíÐ@ß ñ07Hƒµ†B–ƒ{•ž ¿å€PöE~7 …`J˜È>4$ rð ïÀPMÐu° zp~þ@€dø|Ñ6&`à ÐL@Ȇ@õ†¬ÇH@‡ƒà²”ÛÀ s@»@ ŒPÐ@Qß ñPšG€ÏF[GT7UæP ÄÅ€–x`oXᇄuƒƒ€‡”C2â 1Ða€ŠåÀ „»@°(‹´5€‹Ö¶puµ…ÿET+TžP H‰6 W T?Œ°rhh~µPf Pnƒ_LÀõÀh@ Ô0X < ²H‹B& ‹†93ƒD%èx`ìeðøvð`P®p÷Šj4$·æJPŒ T`þÑXÀ µƒ@€8`Õ0 e`Zð|8ðE:¸’ÖIB°·}p ·°õ‘Tðu0~®à  ¨ðq ŒCòÙà‘ °Ì5“é<) ÙèlÕà ¶àÊpƒZPA;˜½À‹ €«ðqëzô‚‘…‰ñ( -7~…Àtö ‰°(’²ÂLÐ ŽY€\ ° Û b0)p ^ð| — ÒPͶhÕ9Å£ä` & P eS0Eô2  Érøg…p ‹P]BPT`efÞ¡ìYL¢P%°L Û±þ}× ‹Öˆ.ž.`6X[w@³‰Js0·‰„ ðI BÐqåœÄÇ Ì@T0®PPQ ¥NXÙpypÙ@ÂA0 ‘b")ÀwQp4ˆWÀ>Ê€ c¨hJ: ‘Ö∠y`’0Ÿ p,ˆ¹r¤µŸïÀ 3Ð_@ZõU­ iYL —ذÎðzºp ê jž"ÌÑ aˆ(¢ A¢ËÄøàž È0Jµ`€ŸâlÐ 7@ Y–ÛÐk.&  Û ð%pà wþê€u pqbÁ>È9˜q|e äÁ¥v`IG%çÉ9X|ñÈÁ§ŸT —bvpÔ….V–9Í`K‘Ð P °5Q@qhÖð¡ÐVA]gy Ã„àS†š¦õ¹`Nò©…˜«ç-@R®Ð¥¥xúÐ ÍÀŒÀ{&0™ ‘ð@ƒLʤ¨‰áhÊ€šý…Ìq¬¢ à øà¬%rš¦©ôR­kw­òwÔÐ «–Ûã44pîi‚Ѱ Ë@@sê°¤€pšXw ãA‰¯ —c‘þ0|%bÁIà‹ ôÙ›åa­¡JM@ é¡yГFk1Ñ@vàxUP“7ùz'Þ‰u·8Ì1¬‹h²cáy Q-<Å IÀ‰`ÀPX®¢³0JápK` ±PÇ ÷ ±@õ1€Ðv0Q¹à ã Ü#£pƒü‚ ¨ °—êi-ð óY¶ ô©TäjËr –iš¯êpǃöÀsð -Ð60»3àµ@s€ Z™Ç/äI‹Æ>¹X`˼P ˜¤w{Ь&€° º¶¹ )þ §Kª$xÇxx3àâг¢& wû s0 ¶Ð»®â Zð–™mjiû$À쀼Ê뀡`vžºzñ8O`Ñ 3À ƒàòзçPš0¼§Â'ÐMpÓA0s°yìS³µˆÀ>Óöµ‡Cì0Æû‹{à$  ß÷‚ ´ð#I’q{ QTIpÀ šp·``n…ð…à­ü)bA°F €{, Y[PAŠl€ cCðO¿¸‘ 3ð}ÌõPÃ7ì #P5°Ã•˜àç` ç‚ kö´ 0§* þÕy¤.ÐS\[œGT·ÀÒ€ NbB•¿Xb®Çú€Æõ8šÀfT{  bq¯ ¤Íв xr Áù è b`ÁªÈ0q ‰çÙD Ê@E),¼ðÅ.Ì ´0Zn§É$ÉɃ  <ä!­ ©À °0æ6´ Œ°Ç²°bðÁc ¸àÀ‹W×˔̒LzZìs ´ nYpʬÆ<.0¬ý•¯ ` çV¤EÏ€3àÇœð¨pßåÑpƒÕP_”ž aMÂèBðÎBˆ¶ž‹,xÇXÐa çwŸ,PCÀéªhº@Í¢ÀOpÌX ~ðÏà z öP ¤Ð/0ëý›ä±2 Ñ  «ÐëgÚ®Êe4Ð 3¹ G±1ä÷ÀÏÞ)*þ¤‡- 9pj4À£û®M_@öÀ •ðÁăÏ-7Žǹ{”¾e¡ Zö#UflÖþ~íz§à@…íÏ&€ 9€ þéU~Р Jb p¤žÇ’ßwÅšsôPE{”®s Ú;ÖLlØ€ ¤àn*_áWðì:4èŠ&âÌ ØÀ d?óVÿöp ÷Jª{å>©å QL K¯”l8z‘F ±0øà òp &íìœþšŠf º@l±  €?ø„Oøƒ  ^@';>à¡(ÐßN¯®©ÒŠ˜«›ôR¤ òpsÀ«5§xòàÆ 0ÌqúMÅ‘c  à@s5ûLJÜØ(0 RеoÞ¾ßþXNrL0Ð °°ÕðWõ §`Ï4*° ïÊ ÇpäOþ©”JQÐ@Åõ¢ß´•‘Ó#Ààwæþ}§J Ýba—øa‹€"\8  jÀB† ­ JˆŒ-^¬8e Ž@Q¬8 ãH¬´@¥J\&;"C±RæLîèÐ+æJÕ:p\aòAC¢ -€ÂpëÖÄ‘E6X—¨#GPWš†Ä8DGvªÔâ’£²_g–¥ùuç¨,:`Á¡(Q6B­KbÂ*Ö¦ÿ’ØèH§W 3y"¥Ì°St9[Ö,Zž2uqiÌÄܹ*Làþlã„1ìmYG_gµ8v`.²ÊÉ”mW³uŘsKàáÜpÍ$K1¬KmŸ[U“W¼¢¦£•Ê ^;Ö2[fí5mI8¨àÅCƒ3œ·ÆG©D,X˜x.iO¢æ„/>½øo+GT“ïˆuÀíl«,&î(¼¦bA‘óˆšg„P€>KN!°#üøÇ%ȶÀ±j‹¬»•é¡ e Ž#6XâÁ¢zñàbAˆU k*”ù2L?®È±-Ÿ’ Œ20²@l)Ã"”éˆilœ‹d|ÉÁÜbçÎl@—ª™iJÞtÁ–.PŒþAd†ØÀ“`á‡Ë.‡ÂKÔ¨93Ñl ¿u\BÒ¶$Ï2¬¡“&•¥ŒRÎpl…-üœ‹nøé¦€n|X®C“û0ȩ؜I H]0—( ÔB€|‰Ñ´>A}°K¦!KøÐlÕ"Òd´À¬);¢T….ʰÂ1¢ÖOÎxažR8zÑ«öè%ÆÊ°Å+Ê œ-¦)%ìU°O»õ³ K¢™™=êP´d êÈÖ•î…JiûŠE èp,.|»•¦€æñ€à M|::AáêF¦í,rƒíŒ{'îv˜aÚðP„@îªV?ü˜£DDf¸äeþzô=K¢–žæ•i”ñeAx1·¢!@†Òg«ÑÚiÊÕ#âh¯8gK˜&÷X4¯@Œ£Rà¥V¦j"Jˆ•¿f™ K^AFh¸Iôªz ùVg¿k7º`WÔÈ¡ÓÎ …ý|˜Œ»•p(C,0A¼óiTÀUÓ ûpŠDLRF-«yD «óÎû±“.JYð£ä¦P<Ñ Tb'µó¹‰¿¿âÙ]Û;wwfîåaïìŽ7N²*ªD®u5³ã™;çÎÿœû¿wàN»Óî´;íNûnân“þ¤·0¨;ôÿ€èÀx½É}â†ë°?&ÃEÚÌx± …ôÍ@tàwßù¦RJ£µ"T!õ@QW …@ a „H Í_(®yJÀ6'C"™"aÛ$ì ËBûuüZ ß÷ ”BiM*ü ¤*=ܪD©;ÀÏweúBB­ E*öãˆÈes8ÝN£Û2H)A6žûÁË/éOïèãù×^Žã˜ÁZãJ)[?J%èíà•#/h´ÆÊl°34ç*Àê€ÒøaH†(­ÄÐω|>Ïêê*¡c76º $2äïÙ'\O6.8y}ìàB‘¹·ßÆ1€¾úÜaá…ŠÕÔ‘Êmãs‡u™'¬X¿ aH B|r÷ן£P(J¥(^)R¯Ô‘R¶¼´€ÔÕòúšD–J”NžDΗ^ä݈¢aîýòc_ÛûõkG-VVW6l ·í¶|êé#bhǶm†!nÅe~y¾e 9Fhfªòƒ¡ÛA^GÎÏ#‹ã”ÆÆ7Ð)rÀpðø¾$^<|˜þîñ]À ÙÞQøJ¡”"“Ìpyò2•• îªK­V£^­oð¸ $ŽíÄʈ†œà C÷;QØ{üI¤ÓÈ¥nÏc‹ë2}ü8ŸÙÚ­ôÎ;¿r€–k€ß ᇠLÙd´Gíàui²ëëÈ ãà8ƃ@ ñ"Z!§Š&7Ú—Ö½@^x¾Oÿì,kÕ*Ëóóœ)-l À]€o[¹€fMöƒ¥Cz8@oäܸ ¯K‰;7ÇÄ™ vïÛÝ(d6LJããxà½h-€œ©`µ¿¿Oèû¬•ËŒ—]í5êMØdU`ÎPHw@…„ª1’c; â9¦âD5#Mœ™@.}@îþ²7¾Övg«)â:Åç?€çyäóyF+CüëÜ ?ùí l÷ÖõSÏKôl ð=ŸÉË“¤R)¶/¢¶fY˜˜àZ©Ä)ßÇJgÈõäDeYZXbbGëFÐíç@oÐ84©ÓÛÛËÞ½¬­­á¤ÓX5ŸååeÖì!Jå:­ÉÌO“àêûïS)—¹¸¶N)‘ ¯¿‘‘òù<‰DËBˆÍ KsIjßb­£3­ukò±ÁénH‚Lƒ£-êÀ¶mÛ¨«:=çÏS­×¹zõ*ÊRìܽ“|`áž=Ët*Eya¹•ÎÙî,ÃCà  è!Z£ ‰˜×o™í‹pݘ´hoT£ã8­óxïvØ}ÏnºººH%möÝ¿ƒŸ=ÈÈÐõ‹çyøÕW©{K®ËDbmé&¿#ÏÀÀéTù]‹8¬X[7Ë뢠…Fk´c;¢¡ã$N·Ó(jAã7@.›kF)“Ì`Û6IÛfïÐ^r¹ 'þJßð0Çßxƒ]<ÂGî 3W®ÒßÛËž={ÈårXV˧ Ñô§h¡o6ëödÖZ£ôƆHŒI)7H Ä”W­5™L†ÕÙz³YæGG™>wŽ3cc¯ûd³Y†v 180Hº+Mm½Ö¢‚@ÄìQ›íNt¥µR|ï™'õÈCÜî^’øé_áéC‘ïïgzt”%×eTk–ì Z«25;…5¿‘ÑIX£ƒÂØ®h¡&û”B¯ûŠrÝçÄ»ÇtÛ[ˆjE“ºZj…c'¸«Ëak*Í®áa1yêK®ËTu]Tõ🰺Æ%o©ñ³€nl(r ñ ò~ض½rCÇ4 „¸Éd'„Æ„:o!:zûçGîc¥XdòÂ&«ëzÂI“ô} !Ò©¤¶–h+ß´Ö-úGº7 ÝI4À[ïÏ=À`зšÅµ $M©³ceΪ_Ü¿ûž'F¾ýÑ{ï1>7wù—ccïÛ€^óž²kž1.Z°\–ÌÒ10ãŨNVdÚÜëfÀº9v)c|tŒ¶=‘Ž<úè 3ccLÎÌ”Ž‹¿1ãE94yÚµ0nzÅ“æz=Duøœ•‡:°3<êQ$" ÖSÞWŸ›¾4;»òûññ×Öjfyš1*À¤Qš‘XócÝ3ï“4‹vËøÛ‰@Ôj1/E†Æ£`Ç€X_9\)—ùÛ•+¯—J3Æø.3æªÑø3ÀŠ3¢†£Mݼ7ê·M!Ñ$h§b/³ã}½R™›™ùÃ_&'OÛͺÖ2ž]®Æt¾jKÒvqúè–NëlË|Ã"ßôDL£Ø±ódlû/º¾Øe¶G2&Ÿ&MÖŒ1A[¹Œz‹NР“m½É¹Ž½È2ƒFjm«+–´«¦ÌÏWqí3m<²íçú¶·×Ûô‡Š½°ý£„µIÔt¬¢”Ly\0×T[ŽÅ›ÚdK]ý·_ht[^´ oð•ÆQaÅPHÝäÓÓÍŽû7²ö1­Xy L2ê[|ôÓ|šh[ÏÞêÃ^Çí? Äž®™ðÄöIEND®B`‚RGtk2/inst/images/gnome-fs-directory.png0000644000176000001440000000377411766145227017726 0ustar ripleyusers‰PNG  IHDR00Wù‡bKGD’–{lÌ£ù±IDATxÚí™Û«WÇ?{fNNB½¤!4Q¢-”„Þ^´ "øà¡"D)ø¢þö¡ø¤OÖ&PúÔŠÅJ¡mb4ZŒ&9Òã5i´69÷“ßï7{-öeÖžßœÓ)‰ gÃoΞ={Öw]¾kí5°sì;ÇÿÝñU@?Âùƒ;)¬Ó·Ï¿Á?¯,âpa‚Mâ™'P 7676Y_¿É7¿ñ=vÍïúÚx4~öàì¹×¸ç®ûØÜ\Ç9Qœs¨š_ÂoÊù?üŽ‹/ñôS?¹|ð௼wõß‹·@34xèà¼úË“8QPUTW¹h %ÊŽ"¨‚ŸìåÈ'qàÀ½=úà — <,Þq üþü¯yëÌËÑE‰WUкFP`¯ƒ;Ýð“,¯¼Ï©“/rú­·o‡Ì_~º-€7ß|³ç^ET/YHcAQœ‚ AxM±7oN8~ì” wݽ/ÇPöµxƒè–ídÇÃ:«kŒFÖ×6Y^]e2sùÏïqê¹ ¹]hye•µµuD4ž‚ªRUUp‰1€.X Æ pæWoP×óÔuEU9*WÇ•%þVÔMƒŠÄõøð‘.ZÀvÂ9®^ùµ›ç[O|›ãÇæ7ç~ލGQT m[TC´ˆHW"»I¡*xÜ5‡‚ ­÷á9`aaq6ºti—_úÅL>¸ÿ¾»yþ…ç8~ìa®\{¯-•'” €ˆZï ¯+‹D *øÖã€ÖûìŠA¡~6W¯^ãÄS?äч¢ªwoajB§?u”kïÿ…üý¯ˆ¶A0 ~,’SÔ‡5Äk<‚÷¤ªÇ·ÁE[ Â{Ñ`•3øîwžäó?ÂÇ?H3·g[_UUšfžÓg^êrBNv!Ú¦ª"ƒjÈê‚£ª¢ZÑÔBðÎqçQGåïg´Àç?Îþ{ösaál,B «všU•2+«FwQ3ÇžäµDìšq,Íc¹TD&L±`jÀý‡ŽpùoêEŒÐµ¥ˆM+bA /Vxs†5d  D:N‰Tg;Ýè„E]Ôô”öóô´)…ö;1Š GÉŠè4O#]ý0Ù\=AûZÍ+ƘžW‚éÆ$þŸéT;m÷ tí} eïg bU €m„J¾Ÿ(Q¥7·+Åûcb,)g³àÉJ]t÷fR¹DáÊÀí’OxIa¥ ¥%m‹‰2ÈA1Wxigt!ï»2kf«ýi: .çÈ4€$Ôô<‰ä ]9ûŽ0™LhÛ6×ûA;@P‰\.ðÙ•Œ¥ç6ÜL¤#Ó0qŽö\Gs|ÌfS¿ Xëˤ2;óÿV )(VÄ‚-]Ð Ÿ-¡’×0ÀAœ\ˆ!áCfD¥p MûgCƒØàV“+ »}fÊÉK2XÌ{(ŠùiUªUD’﹬™,˜LÓªõ+¼}¶°f!Xçvbã ¨¶$O XšÞ@ Nðê vèï%%•‚V“À˜_t[Ë®;•æaJl-æj`A“Ô{~G|uU¹¬ùÊ9œ«pUÑôL¢IÖ.^x— Þ ÆÁ¥Vhîà5Ñ_|½HÖ÷eùœ·‚Úm–ˆÙ=5‹»®¯š„¥EgÏ9ǙӿµF@n–îö÷O~ÄOL·ûü>p8ìs½ ˜ëMÌ M|¸1ÅT•Ò¹­MŒëBµÝÿç«YC"ÞÜO=Æ6j¼ÚŸ›¶’žoMz œy¡ë} Qsí¾;¸[øèÒo¨&™$J Ä ´X*£U7 tÿEƒIz€ì|í=ÛÿuF©MÖ–¢cÉÁ—W½—ºörÿ›‹Þ¢¶ÙÀô>k«öõαsÜúñ_÷MËÚÛG×CIEND®B`‚RGtk2/inst/images/gnome-gimp.png0000644000176000001440000000652211766145227016242 0ustar ripleyusers‰PNG  IHDR00Wù‡gAMA† 1è–_ IDATxÚíYkŒ]ÕuþÖ>¯{ï9wÞ¶gllÏcÌ#¿ ŸÏǯô _Q¬Ü¹ŸuÔ7­êu„p,+çÒ ô÷ˆk,ðËô !Ä]›×?¶ûáíw ˆ ˆ@ôÑïÒu Ü´ryñ™¿ýÓý=>ÙÙ‘/$~IDhxùÀÐm›Æ~¿G‰È±Óþü=fR.êÛùwóÍ'{Ë¡C"_"ÿ#aŸ¢×Ûýð¶¯cv*­KDäv€ €Ü‚ÎõVK’6»žWztçÖïlÚ0úá[Þ;à Á.ô 9ñÿ<ckGn¿çÎß°l¾R;yêì介~¿ &€ð/ûÞxóÔ™ ±µÃÿøí§~w¯ç:¾Â$\"ò:ÖAnçÿ(©EðëFWŽ~ùñž#AcR)Ä­ä4Ÿˆ\‚¥OKs{&¥–Rÿ@*=tÓªåÏüÁWŸ|B$ÈBøDäàp-‹xgp 7züK÷~Ûô”RH©¦™ àÑ¢rW\OBy¤ÑñŸŸžÛóÈöÇ“4+þîå+ÝŸŸüè®ë‰÷~úßxëWQ,øÐZ`ïo·l¼ÅR„Zõ2Þø‰Çß-»Žv´ hÉÐJC ­µžƒg@ 0`Àæì¹éÎOÌ\!°8 3˜™Áv3ûX ëºëÃ0üzE_s]÷^fv™yÚó\ñoÿú£·„<øöÛïЦM›°zÍü „óçÎà¾ñç^¹Ú0´ÖðƒÖo¸–-[‰Ç~ c8—…ÔȤD–IdR!ËÒ,­”êáj­9ûÞÑic´Äêœ_[6#)fÑžçݼaÆïmÞ¼ù!!Dqbb‚§¦¦¾Çñ?=þȶKõF|çþýûñâ‹/b``{öìÁ·Þ5kÇJýûöáðáÃÇ–-[ µÆªÕëP*¡V™µR1ÐZ[ðJçz3ˆWp’d•ŸþÙû™T©M€d† ˜óldS*wx===¿¾mÛ¶GÆÇǽf³Io¾ù&Åq<†¥?öƒÀ­Õªxå•Wh~~ív›™iš ·^{m?â8¦àرcüꫯBJ‰V«Ï©¶“¡•‚R R*(£Á h®Ö’ƱŸ='¥’20I.gN;–ïH¨C ìyÞýQy…Bív»ãr'šœ©Ñ'ó³Ïþ=·Z víÚ…F£3'`õØF´Ûm<óÌ3˜™™Áž={ešÍ&’$A;IÐI¹J(­ò{»Ëf0$©’GŸ¹¤”V (mb 0V:Ÿð@”rhrr‡B£ÑÀìì,„þ_ÄÑ£GP,Å¡ÿ…‰s¿@«>‡áÕq߃aëÖ­\«ÕðÔSO¡Ñh Ýn£R¹Œf}ÚæuÕ™ÚÀ0ÀlÎ#óôÙ©T*­µ-ðuM0·8O*Ü…””²=== fF–ehµZ(•Jˆ¢ˆ¢(9çÏÂÌô9¸Žá€€‰3'0¶nž~úi(¥RJT« 8{ê}°Î ”^ô‚Ö Ã &òØàV’fX &  fg“se×’Ð3Ÿ­×ë|߇ïûâ(B…p ÑhÆPÚ‡çûðáoìÿÊ}+àex~€´ÝÂÔ…SH“Jk´Zm´³ ÆÆÛÔI¶Úš¯ÔUšÉ@BÓfœU€̈¯_éLk½ßqœßaæ¢çyÃða!mU'mhÙ€=Ž`6`f,Ì¥? V¥lÆÉ$æj ApY)å›rðÔ‡s1€„rÍ×í¬è€oÛ}©c}ÓÉž‹i4˲wÇùaE{{zz¢0 Q.GÃ¥bóÏCÉZIÈT¡PÈày>èÚ=µ­erðJkLL]„TŒþ¾¤I¼¸‰q¾3ñôÌ|–´³€fnqTòÉuþxðÊ+ÁŒ€ÖºZ©Tž £(ð…Ja I\C³¾Y”V AAƒ™lI§Hcëš¶Ìp¹Ò‘‡ÁÁ2z˦š Íy5@Œ4“<5}©nÁב˦p•õ®Mëªà?q ‰ãx®^¯Š¢R{dyÿÝZ§…¹™IÌΜG&SH©rk@+©²üÄ„ÔnNõF ³s—qnb–î¹}3ÆV£¸íÕZZk”RæÄÉóÕv;[P!`„iÓfÌ[µºÎü¿`fŠã¸9;;{xýèÐHàêÛÛIS¤iFJ*è¼â Ci©²T¡ÕJ0;WÁôÌ<.^Z@’dèé-“ç»(øBˆå½ú£¡/ÐSt‰zÍÈ@ ´n/ë5̘jgò<€9ëŽþ•ÿ‰Ó]ë` ÀÛ¼qôÑLéß |ï¾,ËHÏ6Œ¸Õ†ì”B T,¢T* ·7BO¡¿¿Ê=ŠÅ"šÍSg±r0äÑ}ÜßS®K0H3‰…z‚jSÖÏUÝÚÁƒÿ¬^¯ŸôuWuú™~NLWņ̃ñëóñ©Žÿ÷0iÿORÑIEND®B`‚RGtk2/inst/images/gnome-gsame.png0000644000176000001440000001024711766145227016401 0ustar ripleyusers‰PNG  IHDR00Wù‡gAMA† 1è–_^IDATxÚíšYŒdWyÇçœ[{UïÓÝÓ3Ó³Ú3Áa0¶Ù+f1FÆ !äHI”üÁÛã7x–,­ígë„~SüÝwžoïéߟkÄ0×ÜØ3×éÖ«6Yžš,ñb×MWrâ?ñ[÷?ð®;Þï—¸j¯ÁÉ1ñª´œS¬|ÛúÕüÙzþüð¯oY®|ì³·S;s%æÔË>sjÈ\3àÒ–Ï\+Aˆ ÃðáÝËø‹{?ù»+%y‰¨2ñ•‚ð P/=Sç .>ÓâÙ˜cƘ2­j;ñ_ùÆã 'VFÿò;ïkä wN;û–÷‹›÷ÏÒnjúY›o9¼£Ê-‡¦ÉdG-ÎʽÍÓ¿¹ï†w?úÓŸ=‰ÂB()¥°ÖÚÒ9  4€&0L“Å÷Ð.~¯•$%KL(KùÕ~âŒ|ð± _ýèѹÏ|þβÕh#B³4§xÛKÜx`©F¼i‘猆¾çíF¨©?òÜIkm«!…ÆqcŒQ%®7 B§Y`ªô¹£xÞ)ÞuJRcñ–Ò|ã'g8Òù½wìò¤Õë :Å{S@Ž‚é‰6Ïs:ë.ª&é­Rœ0 îûÄ=yò;ßýþÀzRJ„üßÜÿ¡[Þ²t_«¥îØ}&Ì[iØ‹.»Y÷ø™­•o<òâó/^ÜØ*¸œà[@è{¥wò«\Ú ?Ýjµ§Ž]`Ì*ósÓÌLÍ1Ñô6GU0!u¸¸òÎ['¸<_çk?vÙ=“·§gÚŸTJ=$„õ¿ùÓ{ï¼ëƒ·}yzjòˆª(´ª¢½@$iŒI‡éååewùÎ÷ÝòÞgÏv7øÖ#O?wn}½ Ð/$3QHm«Ð¯d æ*ÂæÂòȹŽ­M0Qó¹aÏIŒJ˜DpS[1í(”Ðí¾ù=<¶Î³ç3†n$&ñ¥Ôq!„ûÏõù/Ý~Çmïo´[(¥‘J|„SG™”Äi¡j +-êÀ»ë•ù—î¹ûÁÿøù™¯?ü̉B•¦Jv1V%Sr·ú*äéA£5q*éæ‚8™7d*#Ö†õÌ’:5™óÖ%Á·žöyòlVàFŠ(—ÓJ©å¯|é÷îÜ1³Ïë®Xì.ŒQµMp4ƒ`³hL`â˜<Œh©ŒÜ~膉jeòo¿ýÄ3…Ô ÂEAtTH(äUF¼të=éTj i-Ö¤˜<åèNGîh–K§ôÝ?ŒøÑ³ß}jDàG“’ÐZØÛv9s7.ÍîR¢"hÔ µºÂ©+œªÁiÍéhªõ:N»‰”!ëT¤Â˜+jìh;Mdµqêâ†[?¦3/¹Úȯ0ÿ¶~Ñ‘j›cóaÞy¨#öN’$`&Ø4ä›?ùÑ ®"òINfcnžÊ'2k@VDÍÇ‘(åÐìÔ©7« 2!T«jHcäèj$Ø0Æ’¢-쟞\Ûòâµ-7. ×±alà ]¥Bi>Kç°ÕU!Ejg;šÝÓ¶*ðsÍfœ¡ý„ó[)y’@‚ÍEØ ÇÈ^˜“ˆ‹G³Ù ÕL™^˜B6v@£$Ãæ9J@ª¦ÐYJ£¢@¾cŽÖp@hís×;í}òôj·P¥ `¦°ö8V\ÀI‚‡b+~ÛfÕªR9›™¦ïÖ˜®ç¤Æ0r#ž?chŠ„½­˜—ü°EòbÙ5USÁб2wd›Ð™BÌD¶—EœFá(´Õ -•4ƶæÉu†Œ Ýr™œìa·"nR­ÃÎÍœ>¿²Y1U¿ @É2€»Þqà{¡78æ‡aÒsC^,yœræ\Ä£'\ækWÜ!œWbJCäv¸¹Fœd„IJšj²D£SÎ2ÈB Çê¥#lž’‹µòÇè\ƒ­¢S‡8ÍÐIÂM‡–æJ‘¼VŠÔ@]eýðß³ß8ú®3£‘ÿñlu2mu¢°©6¡ŠÅZ‘YÿvWÏë…™‰št”h6jLL´Xœ›{wN±gy–¥=;˜ÛwæŽd»#lm'Yæ,ÕÅ}T [“„¾ Í6Ns‚D:b¤jø¹•Ç^ºt¡äûG…¶®)€“ÇŸž{ìàMoùó™‡îö³Ú{µ¬.[œF–xšt+‘ñ(MÝ ë†AE¡l–ØZE‰ºÕT³'12ÈnFÖ’Þ/"QlÈÒœ02ˆJ+%A³¹¢mÎ ¯D)C~l‰"“oK¥m! õªdn[yǹOõyñÔ£À%!Ä)å‚RjV)5©”jK)kRJØ8ÉL]"† Æi昭ŒnÔil M3"§ÊÒáÝ„±"OZVéöc6F.[ƒ«#7Œ·ÕãïúU¹P‰xSD»qà‹[kSkmbŒ©Œst!Dî@<ߪ´•„Åv¥©:;fª4§êÔêÕZ£G(9 ´åìÏΑ)‡ /Ã#ü$'ÔeZˆ¬bk®Ax>.v^ @^îÖÞ¶Ö¶¬µMkmÍZ+1Ba1™BºIÂT­ÓnÕ+ÌÖ$“:µvg²…jTˆ3p¦$õ(c˜'ähõ‹Ãê3MrÓ&&4à HP¡™iz—6û%ºt ¯Næ®Ä;¥jÈZkó‚èT‘!ª€Xí½…™Úp©55Ýafv†ÙɪVÁhCœE˜4ƒÍMbé"¥ÕŒé‡7N±:!«ÕèÅhk3¬\é JúŸ”r¡øµ$PF;*å µ6|kí˜1ÆL5!D0?9uY>´û…@§1ÃnR”ìIài²Ä’Š:½î6Ü/ʉ㔠Ɉ2Ö¶hQ8¼ôòê¥r®\ÐáÄg¯*h^£Í1b!D`­ÖÚE`Ñ3U” @=vìüÚáÍ÷Þ´øV»0M†Ø "•’¡Ÿ‘IÇ ƒ$ ¢”¨2ÉÔì.f[‚ `uu{¸ý­‹W[Bk­g¡^ ,Ààü’®ÅØhk­B$ÖÚØZ;²ÖŽ„¯$WÖÚà|íáŸ?Ô¬¿§º7æpGj†¹Àè”zôè}“““³½þ ûØ£ÿýàO<ù­,ËümFŸWuòÌ¥ÇO]{lÿ®Å#3íæ-ªR=И˜^Z˜ßéäIÊå+ë~`6tõ– Ôkurã>­Îd³Z«Ö’8ÉŠ3T©Ì¬\3*_;w.6ï¿ï¾ï¿ÿ¾?:p`ïÞf³9—çzïDgân©Ä®µKkß)Ô†€±ÎfBˆXJ©Ý ZÝzÏt‡îïx÷{nÞ¿wï¼5g1IšàT+dy&²,#I‚0À |ò$›[7 ƒn©[ðH^ÀÑ·ßú‡ºóÎ÷Nœ8ÍêÊ%ý>ZqðàÁÏî^Þsw‰ë~)Ñê !z…®v¡b(„pçæd:HÁÌìá(‡4I±yFµRE IµZ¥Q«’=û.T¶Zp¾ZÄ%^+•xå:ò–›¿!I‘f)I’àù>žï3ò\šÍöGŸÝh)cTÖZ)„§cG ýQÐëõÛõz@»Õ¦ÕêÐï­2rG¸¾Kžk¤kHuNž…IAp¥Ôn×Ë…^¹¤R7a@§Ý¡ßâ¹.Q¢uŽ”’ÎôÔ½À¿Ž];vuÝÒZ«„!T¯Û}j¥QûÐÒâN¤RT+U¦f¦°XüÐC›œ Î0&' B?LKÞRns­Ùu¬^\yJ yÇââív‹~¿ÏІ1qáFCà¦bðpq1à !B@K)m!)¥”W.|Ïòž;}?°QS«Ö¼€Í Ò4Ú°–,JÐVŒ†~© o·åk×w£NÅÑÓ33÷^€ëzb8’¤)qœ„±]Y¹x2‚aÑ%¨b Ÿí !¥TV©TRÇqr)eá±ÎÔÄg´ÑÓiš’§9#o$Ò4EaÓ,QØ<ׄQ¬\|ùœÖÆ+eƽ®z@¨®†ÍÉ$‰öGIòÖáÈÃÑßóLæÊú•“ëëë/cÆ&Já~TäNÉÜÜ\^­Vm¥R1Žãh!eê/4šÍO…Qä ]$‰q]_x^Dèh¢µ1'Ž{&ËóÜo f¯@à&Ëò‡ÜÑ`%‰“Ù4ËjÃáàôË.üèòúú)!D§äF“¹…÷ 4Ón·)½4ÍιýÞãJÚ»ã0nú^@–eB'q’Æaú§_|á9?ºRªš5Æ-ö„oL ÅëŒÀªJìökgÑ£©ÄËÀËÀ…â°4­`aaAôû}Õl6fçæÿx¢Ó¾£V«íÜóƒ­n¯ßï_LŽãLçy¾^ì8 œ+Îê½Þ)¥,"à°ì ÕÂ}€MàR±ù ]gÞU/ºmóCöCŽ™Ò€Ãºß/˜² \KÁylAˆ[åÅýø»_ˆ×/MƒÆÞË-u¡Ç½ŸvÉóÄ%õJ©y#òÒ„D‡v @¶tpP¨Ôë™ûŽK×Qq?6Ô6Ð*y¶¨Ä ¯|ÆtKÕRRUÝVe¥ˆœn·×òØÅ~ÍbÕŠ5.e³mmõqA£•I}y`=ëNéù¸«‘m+À_ϾNi Jg”3Þ¤´÷›òW± ¥ùî¯ô÷’´e)q+·|ÌÿÅ%Ķê;Éû^sÏÿÖ1ÐÁaæIEND®B`‚RGtk2/inst/images/gnome-foot.png0000644000176000001440000000554411766145227016260 0ustar ripleyusers‰PNG  IHDR/0§#âgAMA† 1è–_ IDATxÚíYkl×y=wfvvf¹»Ü—ø¶)Q¢‡®Ūl#H¬¨qd×mT i›4N A †´(Šnì šþ‹]Ë l´µì<ä§â8vÜ*–#%RDY$MJæŠÏå>¸»Ü÷Ìì¼·?2T ·€,‹T\À0»³çžïÜs¿ ¼_ï×e»/ýׇ Ýóµ»oß>Ð:qj¼Àýþ…^Ú·o߉¡¡m÷Xíæ—pöd åWMËjoô1Wð[â?kll,°cûСT*5â:6ÑM‹•$eW2þobï ð¿xù¥ÑÉ3§ò“Ç}ò3ºÿÆõü›¯}õ–xgô¥­PUÕÑjI´3&–cïò¸ß+øûÆwM&â rÕ¿%vì£{vÝ€ïéîú”$+Œ¥µQ)à˜:ÚšN•¶Æ˜–ýU¿OðdçΑ/ËR³7ODzHKR"ÉxôûÉDb›ªëƒ–!ÍzKéÏAHˆiY0  ïíR»’ºÜedLU©ó(fàyêQŠ–¤ôïûàݵr‘]] Cj6ѪU!É”¶J-Ë€€a³å>—­Áå奂‹JŠ‚zµ‚|q “ççˆEï0Ÿyúçæm{©¦µA=åJ™|¶ã¬7xx#™¿l«ÔuSÛ6Ð}Wz6˜™#gÞ˜%r[%-¹M²«¥ƒ–i|¢Zov,e ˜|óŸçQÀpÀ"zÕÀ}åÃ_¼ëówÔª•âñ_Ÿ¬hšÚU®ÔvycŠª­­ àѦ¬¤Y†|´)ÉB&_‚ã¸Ä; àqÕ«¶ßtÓMb¹\^”¥–÷ÄcÏŽŒØ& ÁGÔ}F+îå8nÿu;·ÿhdhp6ÒZbæew7Û%5¿ÿ“· 3 3Ôjµ`*Íá-ñ賎û¤n˜xÊw€-8pàÀéh$Rwmcg.›#««…\½Ùšm´d몂g ¬•Kdjê,ÍJ(”*Û}–ïðk_zúâÏ~º'žHýíµ×^sk¤£#¥È-¦­Èdzü7vq5_ÏVONžKçÄøÔÌF8Î%5¯*²¸­'ö¹QcŽþêÎ]X„iÙÞõõëÞ÷Ío„<øýëGG¿ïŒÞÐV”Ë4PŠ¥…y°ŒäÃz[¾®Öl}¶Ñ”Nj†™¿Òƽ$ó¯O¾‘?õÛñ)ž#»³…"Ñ ::Bâͪ¦Ï?ôàƒ±OìûøK× îiTËðAªDZõ*ÄpÍz0 m[”6–V 1YQ¿ àO|¹mªÏKO½ø_·gìƒÿ^ªÔ†|Ÿ6“ƒiÙŸðÄ¥âûoå²¹‰ë¯Ù#vDP0Ƕ‰`Y®ëooÌÃÏ<—WšÕ'oûØ-_n˱LƒºA±œYA¦P„iÙòì͘˜¹óK˯êºF M%‘αM,Ë¢§+…Á¾"ƒýä¸å—~yâŸ^=ùú3,ÇÑžAÒOV³×u±V­_\Ùwâ>ïzVY©TÕ?øÀŽ/ÏlË$ŽãÀ²,DÂ!ùM%c¡î-‰”¤¨¯™–ýV0íù¥ÌÌŸÿåçìélV+T‘%drLÌ\€ãº0ày?m¸lÐ’•Úøë'ÇFGîL%“4D2IEMÀ £ÔëM‰F>ûéOÝy3Šõ¨·°ã׳ݽý}±X|wo_oÿÊü,µl ¶ãbi¥ãúåuSÜÆ/#[(=948ðÇ `zz{a[aY᎞GPIg,¾íÚí#ð úúûHu¡^-CmËช¥]XÉ_äÀÄ;ñú+™{¿˜>¾¶V™WU ¶mƒåX0, Ï£4ÚC<‘ЪW©®©`Yº¦"³Fni¥|¹•e̤Pk´Ößû ï$>\é|Þr=×NÆ"·«í6  CJY¦Ç’b!ǶÈZ±@MC#Å\†VË«¤V)cöÂ=vjªn¬çüïøÌ»› Þ[«5ò‚ ìòÜVI’a[xŽƒØÑA¢qD¢1†×¶‰ ŠXYZ¥ Éd2ôÔÙÌgrç[óçAWåfD/Wk3Çý‘G½„iZ„eâyxž'ˆe™„BD1D8–%kkeL›%ÇOOÂõ<øáí²æ^-ðÔõ¼FµÞœ$ 1-;Ñ”dhªF$©EmS'–eQ]Ó‰m0Mƒ,g2xýó8vê,Õ~7ð|Æ/çjf£Š0Ö½%ñÏÑŽÐ^Â0l8$Òî-I° ƒ(J=j;.–²«XÈäˆaZëÞÊbMoÖåÛ;M©C| ð-Q®8΂<‚< ‰‚>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~ãã‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒŽŽŽ‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœžžžŸŸŸ   ¡¡¡¢¢¢£££¤¤¤¥¥¥¦¦¦ÿ¨¨¨ÿÿ=v{ÿ«««¬¬¬­­­®®®¯¯¯°°°±±±²²²³³³´´´µµµ¶¶¶···¸¸¸¹¹¹ººº»»»¼¼¼½½½¾¾¾¿¿¿¸ÂÙÁÁÁÂÂÂÃÃÃÄÄÄÅÅÅÆÆÆÇÇÇÈÈÈÉÉÉÊÊÊËËËÌÌÌÍÍÍÎÎÎÏÏÏÐÐÐÑÑÑÒÒÒÓÓÓÔÔÔÕÕÕÖÖÖ×××ØØØÙÙÙÚÚÚÛÛÛÜÜÜÝÝÝÞÞÞßßßàààáááâââãããäääåååæææçççèèèéééêêêëëëìììíííîîîïïïðððñññòòòóóóôôôõõõööö÷÷÷øøøùùùúúúûûûüüüýýýþþþÿÿÿ!ÿ NETSCAPE2.0è!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þ’This GIF file was assembled by CDavis with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. !ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þThis space for rent...!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þïThis GIF file was assembled with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. This comment block will not appear in files created with a registered version of GIF Construction Set;RGtk2/inst/images/background.jpg0000644000176000001440000005331311766145227016316 0ustar ripleyusersÿØÿàJFIFHHÿþCreated with The GIMPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ"ÿÄÿÄ8!1AQ"a2q#B‘R¡3±ÁrÑáðb¢ñ‚C²ÿÄÿÄ1ÿÚ ?ùØT[C ŽGzFÈÜh ÊŽè¤^¶‚¨hÐð|Ó lŒ‹F¤T€{¢æ(Äv×4 ùTQúž|Q •¡KH§Âylém¸Uw$‰¨¦"G¿4©îd€vEL¹ C1ÔÿH¦€‹€2;‘ÞY $É=«¶â3Yø4Àçp€£»V”M•´'UDýkYR#‰¢ŠB@X±ã˜§®X"A™8¦$ërBÁ¨©“ K„ö¥Ð¸dŒˆÖ©Þ1`Nˆ¢ÙpË›ŽMTDL‹î~)‚©oÏŠ%²%ýFQ"™-¢Ã³³ß<šŠÐP Ä\ˆŽ(žÃ@E/¦z––g[}ãST´¨€ùËÀª€ª-¡ˆÉŒ–¥ïpª¸Dìš* ¨„‡$÷¢EÁ‘V¶$~ê7U ›`Ð {ÐU-yZàTê»§ÔkŠ :ÔƒD!7@`5²{~(1`v¿ØÖ²0±™úݤ}«Næ[®åͰP‹b"7"¢Œ¾1—Ð ˆ²rfV ®ÀÁ$O€œîo~ÕP¨e½5'€HÝîq§ñTf÷ËÚ †õþ±’ÈXE–g˜ ¨U27è?½‚)÷7ö¦fôWõ]Û‰?ù¬«mos9ùŸÅ ‹hb$ÈïCÙYQÝ‹ÖÐG‰ –-3€]îÉ:ŠsRH;Õ½ìX¨f$€}ôY­Ú¶B[P£æ‘ºr$žGª NïÍ,ŸT4hx>iƒ…¶FE£R*@=Ñsb;kš|‹*(ýO>(„ÊáP¥€ˆ$S„ ‚a<¶t„6‚Ü*»’DÔS £ßšT÷²@;"¦\!˜ê¤S@EÀÈï@ˆG¬’džÕÛq¬ü`s¸@@ÑÝ«J&ÊÚƪ¢~µ¬ƒ)ÄÑE! ,XñÌS‚×, ̉Su¹!`ÔTÉ…%‡B{Rè\2FDkTï°'DQ ‰l¸eÍÇ&ª ¢&EŽw?ŒÁT·çÅÙþ£(L–ÑaÙÙ‚ïžME!G*@u&cŠe·mT,HÉæ€~(EÅ9#Q@ fëlŸµ=ËÊ! …Ȭ¶ò-î#(š2¨!Ió@¶Ý ÂV0 Áý­n` 9ÆÀÉÐ ™ºÑ¢ [—{KHâ¨ýBÎôOŠKކâ[µp+³Ì[`WEë-›ŽY- H’[ïÞªb¡‚ÌDI;&¤Q˜ÀEQäŠ(Äté’º“î9ôàqãɨ C*•WsÄÒª"c7™,DÁ Ì¶Üì@ù¦Æ@rÅLh ¦@] LQ‘X‚÷îdP’É,<ÿȱP ÐøB&æ Z õP& ˜<ÓûÜcÅ1#Sßâ¤?SÙ$ÀÞµTlf4cÍ'Ð…TnH rŦ8ì)D ÔsF%x"GsºðèqàÀì©Â— žcš¦Á5Í*¶³0#tåÄr?Šbà3*¸ÍJÒÿ˜k÷ ð©n€Ú'æŸÐ{BÒÝ%²Þ*œ}ê FGÀâœ6"ñ €Hó½Ö¡,@-ò8¨¦FÈãïN<šŠ2©UpX÷—Kê”&õïv^*¡¬†ôÝ=„F´­se‹{ˆûÒ]éìtß­îeµ-胯üWeç·ÓÚqÎMû@šæ¿~Ût—{‚ ŠÑÔu-«ÑÒ³µÍqmÛàAä×jõXÚÀ&O„5È@W Úy ÂÕÁp*ʾ;šhrI =èC!ÉýÇ9•æg(Çš ÒÞÐ3X:4™Ÿš6P ³cŠÒË h46ÕPº1:Á¦Hd{ ED†nÇÁ¢H˜ù¨¬å‚Ù:óX¸E‘; P®n-Ç “Oƒ‘îÖZxª…úB¨2Õ‘1·#°ÿµ>H’¨ÒÝÏ1HÓýŽê(3b]î0…H¤é:TêɽԶ(L­¿#É¥¼¢ëZéÆÃ¹ÈÏaÍ{im-ZKP›m?¶«.uèºc­€ʯïRK¾‡T-[¶nÜpX3 éký-¶9\xñ ½C¿SnèDÁS³Ú£Nr—Q¦ê(ù~(`K ¸š·UuQv¯Ü)©aseTžIæƒ2)e§ø+éþaº{$•W>à§;U ••Âߎi€+ðPÊý꣰t=´ :{p8öƒULÚÖ²Z*kÕ$MÅyð Nç_qÕÒÊâ&^MF—¿y:Nšå¶½“±¦¼äŘ0P£ˆÇtUBuÎH=šY’wÏzˆÌˆ%‹)•PzÌpX×!\\'jt9æƒ WÀ\«*øîi¡É$€ ÷¡ ‡'÷ä W™œ Ohl/K{@Í`èÒd~h`Ù@2ÌyŽ)ÿK,- ÐÛUBèÄè˜} ‘ì)»‰ c梳–gdëÍbáDHì)B¹¸·‚@M>G»Yh âª-剃<ÖÂæ^ëe{ŒZgñMmË-ÇHUŸ'¼Pfh ÔPÐÄÚõ#Œ´9õg¶ª; Ù'G½H€’ÀÆØŠ¨Ïe]Š»–V½.’_¥¶%Dk…¹ŸT°ó¨ o€bÇúvh:úÛ`² º¯cûMs\`Ph99ù¤ ~á•°@=ØÇö A[%ÛǸ:ž*)½÷>cE© lFÜÉâ™ÉÍH2æ'À4æ§l—£<¹:+^%m9Æ·LätöU@÷üš”QI™ ŒJ)Ðù »Û ƒÁÚr?Š»=ÛÖú{.© ’Þ?[ ô–ÔÞpÀ˜9©-Æ7’ÏMmn:ÉbÜ]·.Û»ÕYÚ!‚wUã¶ ÉËƒÍ <˜åÿÇÅ]ÑÜzçFÚ¤î*€2'B¢²«2cnÒö˜¬RÞ‹9b7£ýâ…²}Ïí÷HŸ™=ósxðsó@m*-ëW[;“æ½1 ú¬à~ªòðp¡Äò *ûΉòhã¼îX悳¸75,÷4‹$‰âx5FЊˆ¶¤“ÃËPg11ø4 ±ˆ1Þ‹LSöª€ˆ.ÀÉ:í ™> Pˤvu9"t4OdÛ|Ä‹iíÙí®õ†,èHçâŠ"˜Ù=Ϫ1K¶Ö2R{οŠXuö2OôäÄž>k)!8‚wÄTPd yb`Ï5°¹—ºÙ^ã™üS[rËqÒggÉïšÈ4[CkÔŽ2ÐçÔvžÚ¨ì+dLõ FKb*£=•v*îYXD ôºI~–Ú@•A®æ}RÃ΢¼V‹éÙ ëëm‚È‚èb½í5Íq€U@} äçæ5û†VÁ÷cÚl—lKàêx¨¦÷Üú@U¦@-±r7'Šg$h?5 ˘ŸÐSš²\zŒòäèx­x•´äsÝ3‘ÓÙUÜòhQDe&vf‚1(H§Cæ‚ïl6SiÈ@8þ("ì÷o[é캤‚KxüUnƒÒ[SyÃ`椷ÞK=5µ¸ë%‹pvÜh»nïUd h„B ÝTsŒZØ+'.40Lòc—ÿwGqëœj“¸¨È Š,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;P"©ô˜1P@ˆð*‰"I<®¢—Ó,CL~ŸšGéÿÌuInããk¡ÜÕF·ƒ Ž-±ÁªS)wü §êzfé¬ÚµÓZv ?Wæ¤Èöî0¸XÜb¢š}ØhäI¥KVñ¬ÁГ³6> dOšƒlË@#šKu Ëh€?{öHDH #šÀŸE@*K 11A…»s¶ ÄêˆÀËæY  v, V‡m–ÁPó ÉÇäö®fêl(—Û]»*“?o£\[}:é PÌ;ë-€ª¶­°KK¨A Ô?á‡;—®eFŒIÖ€¯ImäRAPǽrÝ«CñI~àéÖÊçý5p«Y³eíàK‚}Ìg½@ v Ó•BÊ$åªwöª!| ¬¤eÇÔ r1ã½ óŽÜS¤¢›…1v³3ª(* ‰ #±=èåÁb'KSIrÎNɱ‚K¸yø T—nÞŒÖfU"u:¬~(¢ ½[HÒ/šRI2I3â²17)’ÚŠÀb§Oo­Œ`L±ç½{€(µi3¸tk J‡+ä;!Ò´áÑqžýÍ*!yÙ€LÕBÉ+…cÇÚŸ#&Êc*& РÀ±¸ÅGQ@ÚBÀ‚û'¸¬Qša¤0ˆ=«I6t&¶d‘ ÆäЍ,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;TR*ŸIƒ¨’$“Êê)}2Ä1dÇáyù¤~ŸüÇT–î>6±:ÍTkx0¸âÐ`¨õ2—|; ~§¦nšÍ«]5§`Óõp>jLnã …À&*)§ÝˆöŽDšTµošÌ 0+0#cêDù H6Ì´9 ·P̶ˆ÷¿aT„@D€ ’9¬ ôT x°Ó[·;bÜN¨Œ ¾e˜÷ñJbÊ`vÐlU2 œ~Ojæn¦Áb‰qµÛ²©3ñ1Fú5Å·Ó®• ðñ^²Ø «jÛ´º„ÍAÃþs¹zàFThÄh ô–ÞE$ {Ñ -Ú´?—î`®q?ÓQ§ µ›6^Þ¸'ÜÆ{Ôb ÐÙÝ9T, òNZ§qoj¢ÀªÊX»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÔUX’˜È˜ÜR[{ª iµ¶.9“Z:‹ªnž‘aŒ‰p¦+§¡±q÷¹Ü#KûG‰ªŠdëxº^=EИTñ\îÖÞ×®¯qîð̇šõz{NÁ˜ÀÅxaÿÚ¼ÁuÖze6Ŷ’qÖ¦¢¥é ÇrO›À*Ûq͹“le5Å\ÙÇÕ(UQƒuÜë|QƒÞµÄK\r} óAƒ(8éî°½¾ô3,˜Êg[ª;„¶GÞ‘WäÓ‘Ž8º €=È=ªÖ:¯M$ “ÆÏGPÁî)vÜ(â›@sÜÍŸ¬ºW °SûGšæ$“=·C1ëÔ$÷Ûfi_—ñUŠM²àmާŠV¦DÿÓºgp-¬dDkÒ5Ì' Aíê(=чý±TqéY$Ö·mî÷ÕØ3ê å Ï ÄóU ‰ŠfvÀ"”qðS¯ÜÞ*`›ìBŽÝ?…‡»ÔOy­ZP=¨cŸ&‚ªg3ˆîh¹« æLE ¶ÅŽ­,•»s‘1âkYó æN¾(6*<˜¬ 7±X sOšÚÛ>É“É'“A-’œ ’EIv oæ+ DóLÌbkâ7S 3¦LA“QL°WÚitÏ„äØö¦! >aI˜ƒÚƒ*ÙéÊ›–=ÍT5¨[ ¡?÷ K’“ð(Œ[ÙÃf{ŠP™)9·ÜÏ?jŠ»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÐU‰)Œ‰Å%°÷º –˜Û[`ã™5£¨º¦ééÈ— bºz_{‘Â4¿´xš¨¦N·‹¥ãÔ] €õOÎímízê÷ï Àhy¯W§´ìŒ W†ý«Ì]g¦Sl[i'jj*^ Üw$ðì)°|­°GÐk™0ÆPc\P…Íœ}Q€…Uðh0']ηÅØ=ë\@TµÇ GÒ42ƒŽžá; ÛïAÃ2ÉŒ¦uº£±HKaTxéqM9àP‹ È܃ڭcªôÒJ )íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUIpI9æh,úsÚháí€ÐO$ Fd´Œå‚¨å›‘iBÁKez›½C„)l/´’'~)S©|¥Ó^aÌâ?ä×_Afå»n€¬î^'.õåæQqÚ%—\Tî„Ôÿ2nÜ{8ûWu¬¯2B†|Wut"ÊÛS÷w¨©1ITªD F§æ³bÙ'˜S†Ú c1.fƒx&w1@'´–O`)‹Æ‚’#°¢$dý¢ªijOon襋EŒ‚ùÙ¥´F;$’IŸÍ1_vY“<ÍE8d™ÀGoµ#31>Õ¸ãuŽ=þO4¶ðíÞ¡Ô¨{Jè81ç{®„'…Ùþk*CNF š¨ô‚‹¬Î¾Ûc‚Üš£„A$•FÔ÷5À½Uà°ªF‡Š•ë¯pÎXž7ÅHµÓÔõÃf׶ߟÝ\6Ðvã‚Kq>)íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUP…Ü÷¥w-¨“P!QCƒºÊ¢²µÌf3Tÿ“@ÊŽë‘!WÿwH#d+]c¡@|Õ\¡ !Gj[èâ‡SÀïA’Ù©'#ãµDÙ~ÜP/€(¼ óÉ¥ôÜúŒH;ÐPÈAŽFÍ`Z vyjpél€ž|Ð’Nê)I¹væ6öcm:Z`B«±&Zy¬€¸t/µì?wæ‹Yic &cUq?¨µ< )mÛ‹¢ã6À «ªå1Qd%N4gL)À–c‘h¥u gžP¸:~³©2xdñF×A{¨Qwª|Wœ$Àÿ½5‹g¨ÿE3éôè ž í^ª#»F•&Y›ÅZGôVí'é]¸4:ì *õØnžÕ’×Ã7s&»’ý•Ì-ÀÄ+›§{Vo]{¿¨÷"cŠƒ z‡ÜtjFÚ¿UÒÛ>à\öÿEtõoníÑsÓE§Z©‚ìÏé®*?UGªÈálb¿õRºª.w :Ë÷W%¾²ôD&‡1Q{—z‹Ì ã÷MHµÑw¨wµn8^Z¹æè lóâ)ñ–$ûˆÔÏ5‚¢œˆ“þÔ âZ|S¯?ÿ4€!-+ÉíªV¤Ä( \Ãĉæ„1Y% wâi•-ú›A€‘³LU]¶ax XÒ-¡ãã½+–r}6UOêj£º äöR Viº¾a*¢JÂݲ×OrP%Å Yై‰5@팪b;H@2\" ö e(PHÏzWp"Ú‰1ÅÕt8; ,ª++\Æc5Où4 ¨î¹÷t‚6BµÖ:4ÍUÊrv¥·þŽ(qU<ô- ’r>;Q„M‘'íÅø‹Àß<š_IÝϨÁ‰½õ ”älÖ §g–§–Ì(‰çÍ $›—ncof6Ó¥¦„*»e§šÈ ‡BøÛ^Ã÷~h¹‘P:f5Qqú‰×ûSÀÁØ–ݸº.3l º®QBTásFtœ f9ŠWP–yàEkƒ§é :“'€&Omtº…z§ÅyÂLûÓX¶zñS>ŸN€™àžÕê¢;´iRe™¼U¤q/EnÒ~•Ûƒ@ƒ¡®ÀÒ¯Q†éíY-qL3q÷2k¹/Ù\ÂÜ A⹺wµfõ×»úqò&8¨9¤3,HÏâ²”ÁRäÑgÌ,4ÁUWP\÷ P@B2b`˜¬¨KF_oÿimŸP³/кüÕ†#góA°USX÷<ÐEs9'lR3’Ø) ?{xÈ€ªmƧE¨6#7XZ.ñÿV«Ç÷@ø€©`'#¿jn€£jiäÅ:&µÈ,Ü/Š’@~àшPÄ-»däO4°öžü4Éh#z—}ÍûAàRÜcé ÜÔVP™$±¬@Ä’GŽiÒÜ ˆXüŸµMšÐ0VGe‰ §Gí¼íŽî€gä+Òu bãÜ00öÍy–ДËÒkpu'cñE܈n³ ˆ=¦‚v‘ͼdmÏ'íM‚Ì–2<Ó\!-„š_NB+¹ ïâª&–’àä/e¬ä'`+’&5°Êf"¢” *TòÝé€[i‚‚;±=éCûHTãs©7qbX[>æË€<8fŲI“&g·j ¸¬GÚŽ0YV  ±üÐ U€´P{¨ª2aæ±¶ 2y ÿ5T[]?‚ÞL LÝì†3Åõ$Åæîrú¨ ã; j95PñÐPX2ìÁÖÿš¢ZœÜ3qÈÐ'ŠPÒ°ÛiÔR/¾{{@Ы@HЀ9¡l*— ³@©¢Tæ€ÈfX ŸÅ!e)‚¤É¢2ϘXþi‚ª® ¹ï@ €„*dÄÁ1YP–Œ0,¾ßþÒÛ>¡f_¡uùª$# FÏæƒ`ª¦ ±îy ŠærN>ؤg%°R~öð)‘U 2ÛN‹PlG n°´2,]ãþ­V!îð)RÀ.NG~Ô ÝG:ÕÓÉŠtLkY¸_$€ýÁ£*¡ˆ[vÉÈ$žh aí=ùi’ÐFõ.û›öƒÀ¥¸ÇÓ @'¹¨¬ 02IcX‰$Ó¥¸@ ±ù?j›5 `¬ŽËANÛyÛÝÏÈW¤êÅǸ`aíšó-¡)—¤ÖàêNÇ⋹!Ýf{Mí#›xÈÛžOÚ› ™,dy¦¸B[9?4¾œ„WrAÞ#ÅT#çýé™ñ´Ÿ[÷ð<ÑI,ØÉ ÌÖ²î&ãk]……@Úÿ¥oÇî56b`lÏzir‚AT¾«" Wm šŠ)eTÞ{ ¢î]·’àP. DöŠÓ ±ßµŒY`ix§ ŠˆkBh‚HHÝÚ¹ aìHù¤BC.91<)À" M*ã™n@ì)Š§Ò¤ªù¥:IàŠ×ÜÁvsð)•àP'F¡bÅΦí˾¢€†Dîº.8±Ô½›„¤hD½T)õŽÉOïHKA”“ÿƽ‰ýL|QÌ·=¢€*i¸0 ÚvMf†¸[‡‘ªÁ™î4ÈÑæƒÈ" óÅEb‘qT,À–,x™Àb!Œx§[aÜ<‘D2'Ý(#›%§3Ìê©eZÝ«aS'DÐÌ™÷4fú–}ǹ?ö %ýÝÉæuqö©ÙS\È‚ÿ4ÞÕö)‰÷j˜ S”ƒö©JäB‘äÓ$ð~ kL=b#@’HàÐ9";…$½m®”7ƒ±w+Ø"µÇ¨ÿ“Ú©aíÞéâÛ<¶ò{UC2~iY³.OÕíô­Ô/­m–݆~þ+”•õ• y˜ p…QqNñž)’Ù¶ÅÜU¿ú0S Wžäö£%܄ɀÑ'QXHùÿzGf|m'Öýü4RK62Bó5¬†E{…I¸Ú×aU[kþ•¿¸ÔÙˆe³=é¥Ê Pú¬ˆ%]´€@j(¥”ESxIì‚‹¹vÞJ@¸|Ú+L6Ç~Ô 1e¥âœ6( ­ ¢ " owh<懰I#æ‘ ¸äÄò@§ˆ,@ñ=è°Yh'™Š¨Ìù4¨ Že¹°¦*ŸJ’«æ”é$€j+_sÙÏÀ¦Tt{@…‹:›·.úŠQºè¸âÇRönn‘¡>õP§Ö;%?½!-ROÿvö'õ1ñG0ÜöЍY¦àÀ/iÙ5šànF«g¸Ó#Gš _ ˆ@'Ïå zk¡ñþôª2V·ù¬6ëò;Љ_“@×a”,kÄš/Ì·Qwö7¸&‹…Zá– FFPAÌÜÇÄÏÍbÁ-åŒjÍ4@æb;šê^¨fŒØ1Vœjjã©lŒ^^æ ~£ÅsõÝEGÓ´÷0òßÕRê:‡½qò:èWÆæ†äïñL¬…€¹2 íX7ëfAã·jı8Àv©ººbààn‚¦ŽÔ…”!ð5×3Œ»Ð¶ªí‘"ð<šRT´— èUmo6cŒìÚµ§Å7ošV`·¸|мdÇf"‰Ç†MÑJ9 ûUb9“³=¨-rÖ¡¼)¬`)0&55—‚<5‹É“@]ÔD˜=kp—äl?© -rZ‚ñD†¸RPpuUMÕ#£ú`ÌlÿÅs¢ÂÄkÅ mô‡²Í7¦ʆk’½¼ÔV@5½HΪ 1€<Ö£Ûž$P"Ú–LGv (¬Iv©Í,”<˜¢ 2+9lˆÚŠ>ÂpÇÇ÷ @WC)"ŽKh©›À¦wÁUÐàIk,¶¤1‘ÙÕs¼Ée[P; šÝK×ì±Kމ;dÑì 5„Ußó7¥ÑL[NAù¯^Ò.L)ˆâ­Gš©i•½ÿ2í$p/­Ë ¶ÙA¸ŠëêUÑEë(ªåÂñ :2.ÿ™kÎìÓvûR«•¬Ýf‡¸ª½ÀïL¨6µï&°’IçŠX8ÂÀ¨0$¹Ê‘W×¹EµÛ·üQvy[iõ¾ ½Q“Ó²-[>3?5Q4´—:ëvÙ&Ú&A|šôÂǦ‚Oí¯«5´y"°B×0[Ä즔Eâµ·gk‡Pª€‹é³a‰1Ë+{ÆÈü °dìÖÉs °×iÿŠŠÊp]ýGTÐyß>h[L¦ãižþ(›~øY'ãT qõ€Û588*ª˜4H>¦K—mq@æI¯3?PI¥º“i¶8Qd¾¢ÄyíDÎS"*+³¸N"`ÒÜÂÚ€$ì®ôÂYÄ’q$qYRì´‹käwª†°ˆnƒx ëNLDOsA*\‘î'‰â)ÔBv™QJ¤™}(åh”B/;$Ñ@Ø–h¶ªl@Ñ$·a@@UB˜<‘²híT@ŸÌÓ@ÜÐP(>Aø “–k-솟«’"¸cÀ(­arFºû¬×B¶ýÌ{&rV:ÜQHRˆnæ(ª2²N‚óÍ5±é£»!Mh@ì’qóA¤ÈÀ’DÍ1}ož` þõƒ¸ê£ˆ€4$RìÞ]N¨­¶d¸n>*_ó‘=ò¥´'“³@J;´gm7Ç53iñkÎÇ“ª¶ÔÂÆûòiDYLŒfO}TSçnÂB! NäÔкÛ÷!bL’;U’wpóK‰iÌPášÀ“¨ÝhŸ·j`c‘àhT´A ìrÑïA>™&Ic j¯‚}GCš@¯#µ¶Ð7sN•æ s²ŽÑ^òbmÛì#gtÀ1…âO4ÅËí‰ûT‹aÊ$UCúVä˜ànРð(9:Æ8ÙñQº.ÿ•oLÃs‘íö °!ÜAr#u€%d¿öÝV×øwOg¥7©’¬µÉÙ®{6îÜ›LîY¦()€.ZN¸ÿß4ºÊ&´À‰™>*a²¶² ‘À梪„ãäO4 +¶Õ@Y?šÎ]ä#Hƒµb˜&!'ûÕF°ˆnƒx ëNLDOsA*\‘î'‰â)ÔBv™QJ¤™}(åh”B/;$Ñ@Ø–h¶ªl@Ñ$·a@@UB˜<‘²híT@ŸÌÓ@ÜÐP(>Aø “–k-솟«’"¸cÀ(­arFºû¬×B¶ýÌ{&rV:ÜQHRˆnæ(ª2²N‚óÍ5±é£»!Mh@ì’qóA¤ÈÀ’DÍ1}ož` þõƒ¸ê£ˆ€4$RìÞ]N¨­¶d¸n>*_ó‘=ò¥´'“³@J;´gm7Ç53iñkÎÇ“ª¶ÔÂÆûòiDYLŒfO}TSçnÂB! NäÔкÛ÷!bL’;U’wpóK‰iÌPúÀPKr@£Š¸ Àñ:¬Êp¶Åf}Ü“MŠªª)àwóA;Œmâ¡ò-À#tm#(w{xp o\ºÒÞŸ´Õ™—fw'@ð*¡S6‚Š[„…ÖÉÐÞ™½úøæ™Y\‘­ÅE(¶UàÃTJ£2ûDòiƒŒ¤Œˆ46Ò ¾{UF ŽˆÌV ®Å‰“æf˜*:I“HM¶1ˆgGu×5l"“‘ïFB¨äî¦0Ŷ8Ñ&ÃGbüPJj&fh† ’vbŒp5Å!*ºÐ1¶êù\ƒÚ“CÑR}G$’tfi‚   d™Ù4„Ûc€ftwQMsVÂ)9ôd*ˆþNêc [c€M2l4v Å4¦¢ffH`É'f)ØÇ\R«©Ýn¯•È0= y4='ÔrI'CÅ+ÜcŽjqµ'zÕ'f6'ø¬>")[;öšËi[eN†¨ "-ëy1bF÷ÁŠÊT¡TŸ3DA&hýè°}¶×CB(µaR5õ–ëÁ™ãÅkŒVÑ`Ô§„~ $À$p?4PY˜ÌƒÇÛÿf˜ÈPƒTÌÇ!ˆäÆ©`" >hYsm4IÑOdžIïX’ ýõ?zP$   Í(ÆÕ²@˜˜?ì+*’Ç™žÔQ2Äi~4V.C\=»D*# @1£X¶™;k"’2mРF̬ï@S}‘–§SNÅ·1æ²Ê Pù"a@€;Áaˆ˜‰¦¸ø.õ޳΢•ÈM‚ *¡‰…bÍÞ?µZÕ¯FÑ%}íÍdìíãɬßTO ÌöšÌÊöÐH*ˆš, !Çj¨À¬¢¶'S·¨LÊâ>ÔÁ‚#Ç“Am»ì±EøïQZiîK*¬O>ß!mL ïDœl(ˆüÐSü:×§Òª²êûÉ®ä·vâŸMr?ÿÍyëuìÿ¤åOž&ŠuC†7±aÀíA×zòtÀ-xŸ©¸Âì÷ådž¸Ñšåî±2-§÷4 MÉøˆ %3yk„VÆÑ}¦DZˆÔIf ƒ9KjGjqÄp¤ž8¦xJ)ÜLÎéAuv¢"~‚Ìyn(õ¼˜±#{àÅe*P„*O™¢ “4~ôX¾Ûk¡¡ „Z°©úËõ`ÌñâµÆ+h°jS‹B?P`8š ¨,ÌfAãíÿ³Ld(AªfcÄrcT°H‹4,¹¶š $Æè§²O$÷¬IþúŸ½(’Ðf”cjÙ ÌLö•IcÌÏj(™b4¿Hš«!®Ý€¢† Ѭ[L‰‡5‘I6„hP#fVw )¾ÈËS©§bÛˆ˜óYeP(|ˆ° @à°ÄLDÓ\|zïYçQJä&ÁPƒD±fïÚ­j×£h’¾öæ²HvvqäÖoª'ŠŠQm D‚9èa#q +*;¢‘zÚñ4Ŧp ½Â9'B椑!w«{رPÌIûè³[µl„¶¡GÍ"!täI<ŽT$ßšY>¨hÐð|Ó lŒ‹F¤T€{¢æ(Äv×4 ùTQúž|Q •¡KH§Âylém¸Uw$‰¨¦"G¿4©îd€vEL¹ C1ÔÿH¦€‹€2;‘ÞY $É=«¶â3Yø4Àçp€£»V”M•´'UDýkYR#‰¢ŠB@X±ã˜§®X"A™8¦$ërBÁ¨©“ K„ö¥Ð¸dŒˆÖ©Þ1`Nˆ¢ÙpË›ŽMTDL‹î~)‚©oÏŠ%²%ýFQ"™-¢Ã³³ß<šŠÐP Ä\ˆŽ(žÃ@E/¦z––g[}ãST´¨€ùËÀª€ª-¡ˆÉŒ–¥ïpª¸Dìš* ¨„‡$÷¢EÁ‘V¶$~ê7U ›`Ð {ÐU-yZàTê»§ÔkŠ :ÔƒD!7@`5²{~(1`v¿ØÖ²0±™úݤ}«Næ[®åͰP‹b"7"¢Œ¾1—Ð ˆ²rfV ®ÀÁ$O€œîo~ÕP¨e½5'€HÝîq§ñTf÷ËÚ †õþ±’ÈXE–g˜ ¨U27è?½‚)÷7ö¦fôWõ]Û‰?ù¬«mos9ùŸÅ ‹hb$ÈïCÙYQÝ‹ÖÐG‰ –-3€]îÉ:ŠsRH;Õ½ìX¨f$€}ôY­Ú¶B[P£æ‘ºr$žGª NïÍ,ŸT4hx>iƒ…¶FE£R*@=Ñsb;kš|‹*(ýO>(„ÊáP¥€ˆ$S„ ‚a<¶t„6‚Ü*»’DÔS £ßšT÷²@;"¦\!˜ê¤S@EÀÈï@ˆG¬’džÕÛq¬ü`s¸@@ÑÝ«J&ÊÚƪ¢~µ¬ƒ)ÄÑE! ,XñÌS‚×, ̉Su¹!`ÔTÉ…%‡B{Rè\2FDkTï°'DQ ‰l¸eÍÇ&ª ¢&EŽw?ŒÁT·çÅÙþ£(L–ÑaÙÙ‚ïžME!G*@u&cŠe·mT,HÉæ€~(EÅ9#Q@ fëlŸµ=ËÊ! …Ȭ¶ò-î#(š2¨!Ió@¶Ý ÂV0 Áý­n` 9ÆÀÉÐ ™ºÑ¢ [—{KHâ¨ýBÎôOŠKކâ[µp+³Ì[`WEë-›ŽY- H’[ïÞªb¡‚ÌDI;&¤Q˜ÀEQäŠ(Äté’º“î9ôàqãɨ C*•WsÄÒª"c7™,DÁ Ì¶Üì@ù¦Æ@rÅLh ¦@] LQ‘X‚÷îdP’É,<ÿȱP ÐøB&æ Z õP& ˜<ÓûÜcÅ1#Sßâ¤?SÙ$ÀÞµTlf4cÍ'Ð…TnH rŦ8ì)D ÔsF%x"GsºðèqàÀì©Â— žcš¦Á5Í*¶³0#tåÄr?Šbà3*¸ÍJÒÿ˜k÷ ð©n€Ú'æŸÐ{BÒÝ%²Þ*œ}ê FGÀâœ6"ñ €Hó½Ö¡,@-ò8¨¦FÈãïN<šŠ2©UpX÷—Kê”&õïv^*¡¬†ôÝ=„F´­se‹{ˆûÒ]éìtß­îeµ-胯üWeç·ÓÚqÎMû@šæ¿~Ût—{‚ ŠÑÔu-«ÑÒ³µÍqmÛàAä×jõXÚÀ&O„5È@W Úy ÂÕÁp*ʾ;šhrI =èC!ÉýÇ9•æg(Çš ÒÞÐ3X:4™Ÿš6P ³cŠÒË h46ÕPº1:Á¦Hd{ ED†nÇÁ¢H˜ù¨¬å‚Ù:óX¸E‘; P®n-Ç “Oƒ‘îÖZxª…úB¨2Õ‘1·#°ÿµ>H’¨ÒÝÏ1HÓýŽê(3b]î0…H¤é:TêɽԶ(L­¿#É¥¼¢ëZéÆÃ¹ÈÏaÍ{im-ZKP›m?¶«.uèºc­€ʯïRK¾‡T-[¶nÜpX3 éký-¶9\xñ ½C¿SnèDÁS³Ú£Nr—Q¦ê(ù~(`K ¸š·UuQv¯Ü)©aseTžIæƒ2)e§ø+éþaº{$•W>à§;U ••Âߎi€+ðPÊý꣰t=´ :{p8öƒULÚÖ²Z*kÕ$MÅyð Nç_qÕÒÊâ&^MF—¿y:Nšå¶½“±¦¼äŘ0P£ˆÇtUBuÎH=šY’wÏzˆÌˆ%‹)•PzÌpX×!\\'jt9æƒ WÀ\«*øîi¡É$€ ÷¡ ‡'÷ä W™œ Ohl/K{@Í`èÒd~h`Ù@2ÌyŽ)ÿK,- ÐÛUBèÄè˜} ‘ì)»‰ c梳–gdëÍbáDHì)B¹¸·‚@M>G»Yh âª-剃<ÖÂæ^ëe{ŒZgñMmË-ÇHUŸ'¼Pfh ÔPÐÄÚõ#Œ´9õg¶ª; Ù'G½H€’ÀÆØŠ¨Ïe]Š»–V½.’_¥¶%Dk…¹ŸT°ó¨ o€bÇúvh:úÛ`² º¯cûMs\`Ph99ù¤ ~á•°@=ØÇö A[%ÛǸ:ž*)½÷>cE© lFÜÉâ™ÉÍH2æ'À4æ§l—£<¹:+^%m9Æ·LätöU@÷üš”QI™ ŒJ)Ðù »Û ƒÁÚr?Š»=ÛÖú{.© ’Þ?[ ô–ÔÞpÀ˜9©-Æ7’ÏMmn:ÉbÜ]·.Û»ÕYÚ!‚wUã¶ ÉËƒÍ <˜åÿÇÅ]ÑÜzçFÚ¤î*€2'B¢²«2cnÒö˜¬RÞ‹9b7£ýâ…²}Ïí÷HŸ™=ósxðsó@m*-ëW[;“æ½1 ú¬à~ªòðp¡Äò *ûΉòhã¼îX悳¸75,÷4‹$‰âx5FЊˆ¶¤“ÃËPg11ø4 ±ˆ1Þ‹LSöª€ˆ.ÀÉ:í ™> Pˤvu9"t4OdÛ|Ä‹iíÙí®õ†,èHçâŠ"˜Ù=Ϫ1K¶Ö2R{οŠXuö2OôäÄž>k)!8‚wÄTPd yb`Ï5°¹—ºÙ^ã™üS[rËqÒggÉïšÈ4[CkÔŽ2ÐçÔvžÚ¨ì+dLõ FKb*£=•v*îYXD ôºI~–Ú@•A®æ}RÃ΢¼V‹éÙ ëëm‚È‚èb½í5Íq€U@} äçæ5û†VÁ÷cÚl—lKàêx¨¦÷Üú@U¦@-±r7'Šg$h?5 ˘ŸÐSš²\zŒòäèx­x•´äsÝ3‘ÓÙUÜòhQDe&vf‚1(H§Cæ‚ïl6SiÈ@8þ("ì÷o[é캤‚KxüUnƒÒ[SyÃ`椷ÞK=5µ¸ë%‹pvÜh»nïUd h„B ÝTsŒZØ+'.40Lòc—ÿwGqëœj“¸¨È Š,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;P"©ô˜1P@ˆð*‰"I<®¢—Ó,CL~ŸšGéÿÌuInããk¡ÜÕF·ƒ Ž-±ÁªS)wü §êzfé¬ÚµÓZv ?Wæ¤Èöî0¸XÜb¢š}ØhäI¥KVñ¬ÁГ³6> dOšƒlË@#šKu Ëh€?{öHDH #šÀŸE@*K 11A…»s¶ ÄêˆÀËæY  v, V‡m–ÁPó ÉÇäö®fêl(—Û]»*“?o£\[}:é PÌ;ë-€ª¶­°KK¨A Ô?á‡;—®eFŒIÖ€¯ImäRAPǽrÝ«CñI~àéÖÊçý5p«Y³eíàK‚}Ìg½@ v Ó•BÊ$åªwöª!| ¬¤eÇÔ r1ã½ óŽÜS¤¢›…1v³3ª(* ‰ #±=èåÁb'KSIrÎNɱ‚K¸yø T—nÞŒÖfU"u:¬~(¢ ½[HÒ/šRI2I3â²17)’ÚŠÀb§Oo­Œ`L±ç½{€(µi3¸tk J‡+ä;!Ò´áÑqžýÍ*!yÙ€LÕBÉ+…cÇÚŸ#&Êc*& РÀ±¸ÅGQ@ÚBÀ‚û'¸¬Qša¤0ˆ=«I6t&¶d‘ ÆäЍ,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;TR*ŸIƒ¨’$“Êê)}2Ä1dÇáyù¤~ŸüÇT–î>6±:ÍTkx0¸âÐ`¨õ2—|; ~§¦nšÍ«]5§`Óõp>jLnã …À&*)§ÝˆöŽDšTµošÌ 0+0#cêDù H6Ì´9 ·P̶ˆ÷¿aT„@D€ ’9¬ ôT x°Ó[·;bÜN¨Œ ¾e˜÷ñJbÊ`vÐlU2 œ~Ojæn¦Áb‰qµÛ²©3ñ1Fú5Å·Ó®• ðñ^²Ø «jÛ´º„ÍAÃþs¹zàFThÄh ô–ÞE$ {Ñ -Ú´?—î`®q?ÓQ§ µ›6^Þ¸'ÜÆ{Ôb ÐÙÝ9T, òNZ§qoj¢ÀªÊX»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÔUX’˜È˜ÜR[{ª iµ¶.9“Z:‹ªnž‘aŒ‰p¦+§¡±q÷¹Ü#KûG‰ªŠdëxº^=EИTñ\îÖÞ×®¯qîð̇šõz{NÁ˜ÀÅxaÿÚ¼ÁuÖze6Ŷ’qÖ¦¢¥é ÇrO›À*Ûq͹“le5Å\ÙÇÕ(UQƒuÜë|QƒÞµÄK\r} óAƒ(8éî°½¾ô3,˜Êg[ª;„¶GÞ‘WäÓ‘Ž8º €=È=ªÖ:¯M$ “ÆÏGPÁî)vÜ(â›@sÜÍŸ¬ºW °SûGšæ$“=·C1ëÔ$÷Ûfi_—ñUŠM²àmާŠV¦DÿÓºgp-¬dDkÒ5Ì' Aíê(=чý±TqéY$Ö·mî÷ÕØ3ê å Ï ÄóU ‰ŠfvÀ"”qðS¯ÜÞ*`›ìBŽÝ?…‡»ÔOy­ZP=¨cŸ&‚ªg3ˆîh¹« æLE ¶ÅŽ­,•»s‘1âkYó æN¾(6*<˜¬ 7±X sOšÚÛ>É“É'“A-’œ ’EIv oæ+ DóLÌbkâ7S 3¦LA“QL°WÚitÏ„äØö¦! >aI˜ƒÚƒ*ÙéÊ›–=ÍT5¨[ ¡?÷ K’“ð(Œ[ÙÃf{ŠP™)9·ÜÏ?jŠ»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÐU‰)Œ‰Å%°÷º –˜Û[`ã™5£¨º¦ééÈ— bºz_{‘Â4¿´xš¨¦N·‹¥ãÔ] €õOÎímízê÷ï Àhy¯W§´ìŒ W†ý«Ì]g¦Sl[i'jj*^ Üw$ðì)°|­°GÐk™0ÆPc\P…Íœ}Q€…Uðh0']ηÅØ=ë\@TµÇ GÒ42ƒŽžá; ÛïAÃ2ÉŒ¦uº£±HKaTxéqM9àP‹ È܃ڭcªôÒJ )íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUIpI9æh,úsÚháí€ÐO$ Fd´Œå‚¨å›‘iBÁKez›½C„)l/´’'~)S©|¥Ó^aÌâ?ä×_Afå»n€¬î^'.õåæQqÚ%—\Tî„Ôÿ2nÜ{8ûWu¬¯2B†|Wut"ÊÛS÷w¨©1ITªD F§æ³bÙ'˜S†Ú c1.fƒx&w1@'´–O`)‹Æ‚’#°¢$dý¢ªijOon襋EŒ‚ùÙ¥´F;$’IŸÍ1_vY“<ÍE8d™ÀGoµ#31>Õ¸ãuŽ=þO4¶ðíÞ¡Ô¨{Jè81ç{®„'…Ùþk*CNF š¨ô‚‹¬Î¾Ûc‚Üš£„A$•FÔ÷5À½Uà°ªF‡Š•ë¯pÎXž7ÅHµÓÔõÃf׶ߟÝ\6Ðvã‚Kq>)íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUP…Ü÷¥w-¨“P!QCƒºÊ¢²µÌf3Tÿ“@ÊŽë‘!WÿwH#d+]c¡@|Õ\¡ !Gj[èâ‡SÀïA’Ù©'#ãµDÙ~ÜP/€(¼ óÉ¥ôÜúŒH;ÐPÈAŽFÍ`Z vyjpél€ž|Ð’Nê)I¹væ6öcm:Z`B«±&Zy¬€¸t/µì?wæ‹Yic &cUq?¨µ< )mÛ‹¢ã6À «ªå1Qd%N4gL)À–c‘h¥u gžP¸:~³©2xdñF×A{¨Qwª|Wœ$Àÿ½5‹g¨ÿE3éôè ž í^ª#»F•&Y›ÅZGôVí'é]¸4:ì *õØnžÕ’×Ã7s&»’ý•Ì-ÀÄ+›§{Vo]{¿¨÷"cŠƒ z‡ÜtjFÚ¿UÒÛ>à\öÿEtõoníÑsÓE§Z©‚ìÏé®*?UGªÈálb¿õRºª.w :Ë÷W%¾²ôD&‡1Q{—z‹Ì ã÷MHµÑw¨wµn8^Z¹æè lóâ)ñ–$ûˆÔÏ5‚¢œˆ“þÔ âZ|S¯?ÿ4€!-+ÉíªV¤Ä( \Ãĉæ„1Y% wâi•-ú›A€‘³LU]¶ax XÒ-¡ãã½+–r}6UOêj£º äöR Viº¾a*¢JÂݲ×OrP%Å Yై‰5@팪b;H@2\" ö e(PHÏzWp"Ú‰1ÅÕt8; ,ª++\Æc5Où4 ¨î¹÷t‚6BµÖ:4ÍUÊrv¥·þŽ(qU<ô- ’r>;Q„M‘'íÅø‹Àß<š_IÝϨÁ‰½õ ”älÖ §g–§–Ì(‰çÍ $›—ncof6Ó¥¦„*»e§šÈ ‡BøÛ^Ã÷~h¹‘P:f5Qqú‰×ûSÀÁØ–ݸº.3l º®QBTásFtœ f9ŠWP–yàEkƒ§é :“'€&Omtº…z§ÅyÂLûÓX¶zñS>ŸN€™àžÕê¢;´iRe™¼U¤q/EnÒ~•Ûƒ@ƒ¡®ÀÒ¯Q†éíY-qL3q÷2k¹/Ù\ÂÜ A⹺wµfõ×»úqò&8¨9¤3,HÏâ²”ÁRäÑgÌ,4ÁUWP\÷ P@B2b`˜¬¨KF_oÿimŸP³/кüÕ†#góA°USX÷<ÐEs9'lR3’Ø) ?{xÈ€ªmƧE¨6#7XZ.ñÿV«Ç÷@ø€©`'#¿jn€£jiäÅ:&µÈ,Ü/Š’@~àшPÄ-»däO4°öžü4Éh#z—}ÍûAàRÜcé ÜÔVP™$±¬@Ä’GŽiÒÜ ˆXüŸµMšÐ0VGe‰ §Gí¼íŽî€gä+Òu bãÜ00öÍy–ДËÒkpu'cñE܈n³ ˆ=¦‚v‘ͼdmÏ'íM‚Ì–2<Ó\!-„š_NB+¹ ïâª&–’àä/e¬ä'`+’&5°Êf"¢” *TòÝé€[i‚‚;±=éCûHTãs©7qbX[>æË€<8fŲI“&g·j ¸¬GÚŽ0YV  ±üÐ U€´P{¨ª2aæ±¶ 2y ÿ5T[]?‚ÞL LÝì†3Åõ$Åæîrú¨ ã; j95PñÐPX2ìÁÖÿš¢ZœÜ3qÈÐ'ŠPÒ°ÛiÔR/¾{{@Ы@HЀ9¡l*— ³@©¢Tæ€ÈfX ŸÅ!e)‚¤É¢2ϘXþi‚ª® ¹ï@ €„*dÄÁ1YP–Œ0,¾ßþÒÛ>¡f_¡uùª$# FÏæƒ`ª¦ ±îy ŠærN>ؤg%°R~öð)‘U 2ÛN‹PlG n°´2,]ãþ­V!îð)RÀ.NG~Ô ÝG:ÕÓÉŠtLkY¸_$€ýÁ£*¡ˆ[vÉÈ$žh aí=ùi’ÐFõ.û›öƒÀ¥¸ÇÓ @'¹¨¬ 02IcX‰$Ó¥¸@ ±ù?j›5 `¬ŽËANÛyÛÝÏÈW¤êÅǸ`aíšó-¡)—¤ÖàêNÇ⋹!Ýf{Mí#›xÈÛžOÚ› ™,dy¦¸B[9?4¾œ„WrAÞ#ÅTÿÙRGtk2/inst/images/gtk-logo-rgb.gif0000644000176000001440000001443311766145227016457 0ustar ripleyusersGIF89akŒçÿÿÿïûõïô󪫹ÔÄèÔÜÔ˜¸­Æ¹ÅÄ/L”\lÀu’x 4# "7èÕï„x¤:Z¬5d Y$]'+4 ."dª¢Ü»Ò¼-E76Z7nNdlG7]9$7L 5(4…=`Ûëà-LE*48  ; &M–=rá2fÆpˆz$L-M¸>vâ!C‚ÌåÚ %<’/e®o{,D´9MG 'Þõç=WW +T›,[Ÿ’ª¬43\Ç,  7gÓOkw1U» Ã¸DVr¦” ‚¤Œ=!2kFZûîú&Rl #4Td\ھس˜JmÍ ,š~¬ÕÌâ($;DL&p,X%I 5'iU!¤):ÉFA9GDjÓÔÖÕe²)<9 H ØFE‚,)7 ëIKj)%6#&¨89;4P 4E&¶@4˜âÞ•pA àYhPJ,A‡~(Ût,0ñC&Η"ŠCÎwÅa¥…†Œ9ñŽˆÝ Û” @¡ƒƒ¼5¤ÚqGZp¤X@QHñ"\Ö6eS´d–¦Xä–:¼b¥˜R\T¥Ž 2AdvP0CMà  àp%‘õ ‰ƒ„¥ÝpÊRBY±D‡ÞMwÙlBL‘å h6¥l5„¢zP §þÜ10abK%qE‹9JY‚@+ÀªõÂ,Ø6儳æGÁ‚[j7°•¢2YЀët»Vaâ-œ:®ù…›#š,4!*}Ù51‚¬¥a° ü™ë¡šÈ"¶ùmÆB¥Nh[¿•V0…vCú0A ¸†TIZ´p&š:º *ƒLˆ(®¸³"›,¸h: ­‰¼1ÑBùÅ’[àŠ˜?8„[û;B: ¬ÃLÖ­;n|ÃpΗƒ¢$#F*`EÉÂuY ‚>¨C·ãF9âÀB«èCÝJÕ7Ô ôƒC#‰æ(ª¨–áÞ0BB¸ºÂGÉ@­fÍàþœCd6t·uCÞsù®yNDWAš†[ÖÍzv'»%Ô ­ŠÍÖ7\]¼ð凇‰€îœsSѹQTýaÜ[É`hRš"€Œ.ÙYúðÅe-d¦,Ù Ë÷BÓ¡¬âJAÂçqA´v`0@i,ÂUAì½<¶ñ@¿™Ø\b‰â'×^ÊcDÆQÖP†«pò6"˜Áù †ù›zkÖ|¸U)<ŠKô)\ *ÅŠõaI ÀO¿6S³Ø¹ê~EÌJšEêM˜ÃNþU»e-RrÊÁïJÓŠ…(!'€AÐT6 ¬{ZÚŽun7®”è„þ*ªÙ£æÄ›{ÉæC.H`ÐR¸%­Ì¯èŠ@œ0ƒ<1RÀ€ ä¶DMM-NCS| '·4áY?`ÂØ„ðUˆ&Ü[‘ìW4¸ÀBèŠf ƒ#\àjà€âÖ½ïõîY`€Ø‡(@¸½¡h°MØ\0„ïOwK$]œb!‹Ö•`!Ã,† °¡ nxCà ¼qP€_íz'‰Ìn#ãXHG ‰7´€B,j±† Ø!Vàc Ô9ÌlÈbtðAAn Tdî FFüÆjì© ÷¸HF&îm :¸.fÄ |ÈBìðÁ”wþÀCÌt€@ ,\Ц€|u°š½¹Ÿø@׃’±xDœ#o¨°† HF»èD x ìá4àCü€<üpá¢Æ»¬1!Œp] ‹4©ªmljôC別ˆÆ‚ hÀÒP2ôÂ6¸À/:º…#Ðà€DIñ 3¹èÓ4Ÿ§p;Žý€GºØ"Õòƒ–q>è¤ÅL ¤áÀ†\…A‚ #(yÌ B ˆ©â!„‚‹.PƒB”¯§>0\ ƒ&™ön`CøÁ¦bv™`òƒ½ó->`Èà k0ˆA aÜ@ Å@H‘†#ð!ª~Åþ"øY>¨ ôÓRWÛ‚&ÍQ>ÞT™ÝzGÂéJWXÁ†(c´¤%-%JP âÐäxjb[R? áE|@¬$@:·‹\c÷ô‡± @A—åÕÃVpOXÄ€n~I{Œ°i€"NÐ Œ”»xðÃ"PúÇ#`€ X«oü6Á(ÁnKÀ ®¤I¹êVG¸ÁÝç7н@2ˆðA¤REp ñÇI! .X£‰˜ ·`+c,øAC‡Æ?qQàr¯”O~€‹ÖÀ% ÆØotõ«ŒDªAyiÄBÚ‡Ë ^æN ½úŒ@’®ëØþˆ$®$à°¿ÔÁ"ó¥,C¿¤….t™ŸR$$Š Š`¿ dƒÔÀ‡4”á€(Š‚tš&ÖvÒæë Œ°„ Ôµk‰ñ]f¬vÄ^Ć©>¢Ðx ÃS£ùâ#À¡Uõ Í<Ô1±Þ`"7{“N#È SÎ5±‰ñ쌷\pˆÞA•Ð ‡{ÝH$Ћ$ÐKGZáPPÖ I$Ó‡qàyÝå¬8hùáw±um– ÜàW‚Ї~èÐCà ÇP‹K° ·§ƒËVZo!A @ŽæHW¦l˜{À!q` [s –Àâr|ðÜE¸ŒÝµ ‹F·”à øÑ‹K@o2¨}ѵrˆpqö #—<Ƹ÷´ t@~EAM)^ˆÁo`un "ems þ H†œ`а Ýpޤ¥ y|–ŽpÊðqÊЀ~¦0°ø’Û[ßà’€$x_—Hˆ~4à¤7Uƒ` 6Ðr¥ “¨ƒÁ  Ù`6P”r—_#W àtúÕ < ‘3@2›€É7UtPcA”}‚x° !¥„0Uß6Œ¸``†`à §gáW `Ž¥æÇdŒO@2Ü@}YR‘Pc€t&¢ˆj 16„°`|pxð ‹`Oƒž¹ ½È)• l9já 2$ mIZað°0°o± ß@|~… ¬Øš•öG~þ· „p àP×ø ƒ@A€‘æÈ $0oë°“£¶{ê Ëà™ÑUœpñlJ/À nÀ†  X•.²Lmà~ð€à߇¸QrÙ`Yðä™ ÂrÄ  ìUQ™qŽ.Òƒ‘ú)ÎøŸ±õ8˜ÙiJâ@Rt âÙ‹A€™¶G Ý`6P¡%Îð; ]Ê€‚áR ¹ˆbô lÏRÜ  j0ÕmÀ—o€ùväð~â飊@jÊ`‡H¦`à †€ %F‘ùAÈ _hbU†wÉФå› ¥{Xm„ kjt¦Ôr’Pþtʦ ÚAY`žÄ l†b)Z!7¦pqeŒq¬ã"›° µY|‚ ¥ýÈù4Un``pˆ`p¨j™Ž6à fðÌ` ÌÀ ÂU–•ÊC¡`r ¡'ä/ùyH [èW5 O w̉·óh*¤Ê°<„$°ù¨oq‹À«Qð"}PUTJ¬(•F÷”S% `¡ŽZŸdZ¦%œ0޵.Apg2 ÃÍ®OðG›–`›.§ ¢Zl°m÷Ø®K€6¯¤e¿Ù!7° °Î`‘ú£»ð“GWÎÖ¤N:Щ–pþ®.7Á^üX‹v{ZRnpl¦&f²ˆAËp Yà Šͺ­(†ô€²dò",+Å÷ á¢åš®®Ù•Œù®fÙ_Ú!ÎÀ cˆ+äÉ›¹Ø“`ЭõÀI°œŠ° [m3$Š+~@séz]êW‘ðÞ—£¶™BëP™!KàžÉ ¿yÚ€²€&Xäð‹·°VJ ^PkmöW[ìZi ÚZbG‰+4`>š2ð\ô©lëà!GP (+`µEp[hXWR·¥7+[€ÀŠ"y›’f™o 2 !‹¡…g] ¡€²Q þDÛ`Ÿ–|€µ G^Éf7à}Ê ¢ˆ1™Ë›¾ÃÙ–£u¾>š” !•0h}ðj`¹¹km»ËšÉZ|tp­% ¸ù•o¢žŸœ‚&¾Ð…ÑU¤„j a½æu›[m~ /˾Õö ,§ (V$P¦©{`wºº% Á Q 7``ç€ k°»¥qšÌC6pgxv“•¦7Ù‹©[f0²Ê¶ f2%`)Á‚ŇŸ7òb`Å÷Wt A$0Ÿ£f¤â¢·c¦ YYà“&æ `H7p‰ !`&PܲŸçä w…æ êÉŽÂùþØP­ ù›#\)Ç`Æ¤å ¨¢ °vƒÆç ÇêçWTL·3[ûkU˜Pþ lbzˆ•Ðˋ؈÷êT7œ £M…Ð’o å!¾ ÁΜM¡Ç° DMÝrI 7¸¥îà× £ Âç¹Z^h‚%ì “‰× êÀ;º\Xæ;°î°L3íãÙ¬ -ÒËë¡^m¾ k6)ÅÆ!F@ ï GçéíãEè4ÞÇtp‰©E¤–¢ •¶‰WÉK« ÒR@è­«@›¤@Bq—‚S+¶ã8vÛ3ã™sÎÞk}—>œ3Á1¾Ä^ª|ÒÖž9ëöÿ¯ïûÖúïµàe{Ù^¶—ítvþy³—_æá¥Tz߇ß} „„¯ŸrçãÞ½ížc§ksëïÞð§M“?pï¿<üp+ÐÿE>ÑâÙ*ܾõÖ§ºúúÜêî W]³ví†Ëfgº½ôvwßûÖÛ>yºv!„›¿·ã'+³_ýŸdéL…·o½m]aûÄD•Ö­ŸÎóG»€¹‹7®îL¯ª«ù#ͯ¾êµ¿Òìü¯>tb»÷þÞW-,.ßñØã{>üä—Eà,ð§&§+Ö¬›hæ â /—–¤Ú³{^Ž>ß„Õçõzàñþ;Þû‰“ÞñàÃ?êÿüû/ ;p·o}ïƒU¦.¹tµ÷—KGŇ«f»Ë6¯)oš]ºäÒÙáE¯Z¼ä²91|î}~÷ö•¶ó ËW--7CàÏÏ4øÎíŸ ;·ö%åáéì”oßzÛ!òí g|a¾•é™NgnMoñàþåé˜,çVºK‹U!†ˆ@0“G¾|ç×¶¼nËæÚ±k5pÍJŸo»éºg&;Wˆ5B8tpaßoùû;[6:à×½ùOü\ œ2¹R wÍ®ér|¡•óΟ¨=Ó÷ÉéZ–—›ÜEBˆâ®|[ŒñaÕ²ÆÝþ,Æê­¿ÿ¡w~÷±û¿xà“½ù¶ VÕmäB)†F§h¡¬šá›ÿñcŽÝ·ó±ù¦üàÏüõÎíŸ}ê\IüŒþàn}G§Sef¶c"º´vÝÔªg÷ï/-þ3Æj"„ø`áówo»gprÛÛ>øŽAØúõ»¿qoÛäwÝò;7¬ª¹¥ŠO ̄ᰠ& ¬AÄXªA۰ضì8pìSî9pßÏMàßâªÙNwnmïØáƒƒja~¨n,‡v„?s÷¶{v}ôú7¼ñò¹ÙO„ÞÛêP ÷€v4!tñõ¯˜™ÜÒéTÔUMŒO¤Éh[(ê ‹0 š:²Ð4ôuÈ¢(­”íí;ú‘'Ÿyn÷9Øú©Û?SÕéc©bùèáጙõ!|'„øé/ýÍßÿø¦Í›7½çÒ+ÿ©Wu_Õ«œN¬H)‚£•‰DÄ^'ªj´FĪBÄ,h.è°%49³ Ãä ­0o…¥fH_ ô¹CóÍû¿ùøSÿv&/Ên¯zÏÂüàhÉ–ÜùtJÕ?ܽížç^¿qãÆÛ6]ñÝ^·»~ºÓ£î&º5³¤‰)†‹G©¨ˆÄ1¢¢!@©Š2Ä ¦ÄºÆÛ–z¢f² ¨rª©\饊6šìœ?7¹ý=¯¿òÃ_ùÞ“wžÕï¿ãÖ·§Š/”¬ùå;¿úw'WüÛ7ßüìyÓÓë'¦ºÌ^°ž¹›˜½æjò±c …ã»wÓz–€CDqbO1£H¡ä!Þ´ÈÀÐa f´î´æ›–c•±P26,dÁh¨RäЀ«¶ïصëŒ0Óh™O~ùίÞ{r¥/¾õ¦»VOM¬ŸìVlØòæ^}½Ù5ä…#„ey_\¤3Ѹ*1‚D7‰­*J­x§*4+DÐÆ¨ªÈ$‘¦Ä"½,õXä’Ùú^àêSxAJüpÇvýpÇž8¹ÂG®Ý×®Y½mº×eÝÆM¬Þ²…zr\ÉÇŽ1œ?LÞÿ ž êN£Éˆqû© X4L IŽzÁ‹!u$Dw¬¨á!P¢!¦X(3J€””⺫~ýÊÅÇw>ýðÉøÎ*æ®;oõç;Ý f®ØLթѦO{è ±ÛAž?ŒMt˜zåèU„:áÁñz47"ƒ’qsHÁÐNDSÀªˆ‡@Ý8Éœn5A7¢‚¡5eÐÏ<¾3øÐ®¿aª—¶têHš`â ÀÜ_ v:,î~‚ J¯;I±–’‡`†U"”* †af˜#æPpÄ wÇD0¬UÕÁSÀ«š˜"Vkaêð`ó9¸zõìÇT‘º5³—^W/…8–žÝOgn‰l‚?ŽÇÆÈ¦P2â ¥àÑQsÌÇå8ž‰;‘–Aܦ TÑÀ"â‚J9%Æ3êô^]ývÝ« )àÓ”¥%°@Û_¢®júBŒxɘ9w'ˆŽfÔTð(ê„0 ªˆº¡-/lp˜aðèˆAìAi¡#äaE¬N­0NKàm7]·©êE’;¡ªétzØ`@~ï$Zɘ`x°¡D‘Ê^1CQŠÌƱoNÉÝ„@Ápu,‚†@¨z¼%º¡j÷S‹ÖÓ¸6ÍÝÔÑ:ઔ¶EÍkñ¾â®àŠÕ©)¨e¢  š"ÇÜа` ®h ¨ š"ä–íT ÍžñFP¡v,GbrJ>5ÎÓèZÀS TP'4QuÜï÷Gñl†«b*-¨+1€8˜ʨ>L UÇ£",*¹±V1,EŠƒ,ä ˆ*Æà‚U;Ή@é&D„ ©"ËÇÑ™š&}a5\ )²"Jò‚F0U°Œ3 s°h Б‡BÄ+¬isaØ©ãè’§+ îœù Ãþ‹ªJ)-M™:&ÚàXɸ‚ "ÁÁŒày4âãd-£ÝÖTr‘•ðD@µ¢#§È°(Þq†ƒ@ªàþ­Sá<ãçܶw½Å§«ŠéÙULÍÌЛYE*J.™D ‰BŒ#À%Cdb¦`# jŠ™0#ÁqZUT)†h¦¡¯…¥¥}7kCPK ÿüý§VŸ“fÿZaoI¹Š@ÓPB iAŠ€ Ö©Á#Á”Ñ  ÁF‚Î Q£¨¢>JdŽPÌ1I‰áPÉ"XTlXæ‘E"iªûµÓa<ãF¶oyð…F §Ð¶}ƒã ó¾´˜g$ª‘ŒHF­àAQW\‚‘%SPpCU ¡ ªä±bQÚ2¤Í-ÍPXj %D OXÁpm÷®Óa<ë‰ÀÞý[‡¦{ êºK/E꺦rÃB¤[9FEŠ©¢2Ág¤ñÕT(>"ÕZ@<£hsaÐŽÂgyÙhC¡ÑL_)Ž ±ŠLMt¿ùîºùtøÎzbö|Ö[{ùvÌÆ0FÔ•*A"E" 'U(ÁG3.¨ƒE–‘lPSZsD %;Ù¡µB¿1¬rch•Ð&3Ô„%$çàDõ9F‘b§ÂwÆ“9€ï<±gϯ¾ìµ¸^aÅPuç€áØX£dœ¢ &dW²Y5CÇIšK!k _œR2m$*¦F ‘,B«…¶iI) 1=zßýO~ è2ÒÇD^Ðg%pÑk.þþª6¼3¤0-È”¡‘Q¡ ¢BGQr0úº‘-­*c…ZAÛ*mCiZ¡´ó€³‡vÙ;ä`˜dòÎH=é ³æÁÎÇö»øúK¾1³TÞ•ºiÚMG ±â¢d7Ä MiQ-´Ái‡™¶("…Á Ý€Ì’9Z”"­&•Ì À°1({ž[ûž]ؼ¸ è+‚¢Ë+º+lÎHâѽ‹›/»ð‰nˆoR·©Ò m„6R bN«ÎòÀö[Z)ô‡™Ö•A¥%¯¬< " 13´€ 2¸ptPرëЉQ2\1þûyFGõÏ­NŽ]r¦±tw<ùÌÂÞ#‹ÏoZ»ê7S7¤vüQ"RȪ´­ÐäB.™Ö„ÖœR mŒL©æŠV¦F6§˜Ñ´‚hFUYÌÂýí?yü0ÆØgt`|8°B 7.6®ÿ3‹ÍÏ{;ydb v˜“XsØ<´2N8á·ö0ÃqY?óŒfza\ï´!þºÞ9¡züTŒr¥;þ¿ðÓÍÒO9ÖÞèø7ƒŒc‚2~Ÿieü…8]¿‘Ÿ†Ñ‰blEËœ ç|µôÿÆþ\އÂÁ—IEND®B`‚RGtk2/inst/images/alphatest.png0000644000176000001440000006364111766145227016175 0ustar ripleyusers‰PNG  IHDR|B‡}>gAMA±Ž|ûQ“ cHRMo?r‡ô$„Ïm_èj<‹W§–mªg,IDATxœbüÿÿ?Ã(£`Œ‚áˆi 0 FÁ(£€> €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 9]:= ¨h´À£`ƒÿþ3Œ–÷£€Z €G[£`Œ‚Q02@¶ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(äàÿ£€R@,í€Q0 F~ÀÈ8Ð.ÃÐh Œ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F –vÀ(C D–,óRî ŒŒÚ@Z›È``dø"€èµŠñÿö¥áŸÚ­£` €büÿÿ?Ý,SLWRÜdhæ$†—7×Ï|4C—Hõÿ¡4Àì UÁˆPvÈãfdd”€Ã3 Ìgm0ø$‡ÄúriUÿR=7 †ˆ(YªŒä^`ÜëÓ8õ ¥FXrøÏð¨¦pIgØñtò(( €èÝÂObm(›Fèò5@ü ˆ›qèE7B+:`ÆeD(·ÒÊ œNˆÂÿ°< $ÿƒuþG©"þ³=X!ÔÜ‹@\ŒÃ?£`àÂ|kûˆn û Õ©èÿÿc€$Fpúÿšª@Í'FF¦ÿ ”Á \S¾ºxIgè*ZùcŒR@Ñ{ ÿƒ È¿Hührÿ‘Ø ú°ujÆ45ÿ°°ÿca£©cüÇ¢ÿ1#ÿ¹‡áúÚi—€UÁQ4}E;D-”T2¨¬ï?È,H΃Îç–Í‹‰U^²$˜&ºþÃÓ,#,Îÿƒ ÿÿÐt¢a|Hÿ”þwÇT¬¶¤™gFÁ( ½ |X!ú—³0F.ÑÅW"™­’øË€¨@þ¢‰c˜)œ‘äÿƒ!L¨±6 ˜aAîFF¨JË™{ÁýIÝe`ëþ*’¸zØÌý .œ½opÆfØÿˆŒ ×ÖN{ äìe\ˆÜ0þVy02BZxŒˆÞh ƒ ‚y¼ÿÿ/Æš:$-À8ÎÆ*¤‚÷òþ‚ óÿÐtñÿ?¬¢‡÷ S<aâÀô![±&„†^£€(@9¤ƒk(½u¿‡¸0º9è½ °¨u)¨ÿ#*F”{h¸†nhR9@+Ѐí_¤–Ü?D•1 ,˜§ŒË5ŒÿÕái…0øÏNà!#\´âø?:¤3APþ\u`¡<A’ÿ¡®ÿ!…5^V²D¨ˆi¸¬&jã024ë‰M ˆþÈj-ðуà]ÛÈö'ˆ`³€½U`a¿”&ž£€D@]à£Ý¶î“`¶ñzlC<ÈG9@ÖIÿG¬¡ÿè’ã,ò¯®™ü˜Ñýg@ÚxkEÂímáðÏ¥¤ú¥9'$W`‡VþÃçZ Ã9¤l’[ÙóˆA‡öõñ§ÿð4ňÎúŒˆ¹H¥3sIghõ}< Fy €rH Ê,[I0¹ Ç×êÇŠaÝpX‹÷X·‡|¦Î?Fä%x£ëðéürgºã­ð\³¾ÁKeaC-ÿa󌈉Wp¯ŒˆI[t°¢'z%P_ Ù4í&Ê!|Hïš dø-í ›E]ߎ‚Q@ Üx…¾Qê$°uÿ–H3`z`‹ßð-Ë„±ajÿ1ÀöÝ@EÀ‹+1ÍÀW€­|мu@ft=>ÔÈ’m"Övê`aï ÷è[”tõzÞ5#R,CS‚ϸdüÏ@z+º£¿0@óèYºÂÉÞ[K»Â¿Pâ§Q0 h h ×á#ï¬ÝN¤È•˜¶XvÛB®}vÿ¾íòQK³A‡ª10ºi.ÈJè=G-–£-|:ßÜnÀh+aüÏôé $p¼CwÃ"n¸ÊýGì‹Å¶—,°¼;âÖùØŠ Øú{ø>ãºWVOþ¤v3ÀV|ÀVû€ON´¥ðË™á ,³‹ áý>.[=Æ6Ì™¬…·#–7 FÁ4PC:È-{ØI‚°3t`×p¶Ö?Rw|”ÎâZõ¨¨ctC[’›±H˜4Ž,ÇnÔ'Ô,ÇZ7ÎÈxýÌÒŽNdufÑ•@ñJh?âMƒèë'7¿!Ùñ$ÇäQ ]ÚÀ°RÒ¢@·,Ø7»ìµsj7踂l Ÿ±ÿ˜Ñ¥·¯!ÃíL1Àä`ƒ+`ÅL Þ¾mÓr‰Ú˜ä—3Ýhn!dîbÚØá5Ðq›ÿÿNŸiOð!¾Âù=§Á¯,ƒ9õîªÞ8ÐÆ-Ðå'@¸ÿ‡;æˆ>Ⱦ]ÁÈÀ¹‹ÙŸŒ°ÅóÅ¡X{±ñ•ëò€f©¡t<À &¤]¼hA9Ͷ]âÆ­³š<· ›^¿Ã(éÃøîèŒpßÞê½ 93µÎù1q@MPÚy ˜ù€NÑrynX÷¹«Ì¤ Y]eÏy üÿjDÈ"4ªá#v8ò4²`sK‘.ú¡Œ#Ð@ éÀ |X|†„Ö=º0€­gÀ"×Òð€ù‰Ø«.¯žôM74T@ùÀLjÿÃÅ Œ"K€£ PµÐnX9 ™Wd„´LÑ#t Š<&¡$Ôy×d¡ElíY v_ÔŒíÌ!Š€Cr;èþVO ­¦pW02,ö ù½³K¿ ýU@75Å‘ï)f‚¬A‡•ê°«$¡ÁÄ[eOð)ÓŒ—‰q“oÎtg ž|FÈYóHe#Rf‡l¸øÿQügD¤ˆ3tUB!R<â@ÁX¸]ÐÝ0w .Äd€Z+ü¡i tý%®aKÐ*#}H‹Q®ƒúLÐzUŽî?HÉsöYL£%Ž5Bò##ríL– ›!@Fd7í» T±XðoÆáNª€’Ž xt2]A X”0Âv ]м ´ˆrꂃ³ØK|ä2‚J^r €z v“hlý4¾–<2@WÎ댈$= Ö$0þªæÔ‰Ô.Ã9L`Yâ ´Â ˜¤¹¡Nø‡p”…µ‡®þ1@/Jeüu,¤ÝldYÆÕ*\v|QÓ7â=€ {Pç ½¿z0ÃþÙ(«¨€…þ—Ôž ³Žtù;lòô?tfÑþEtªÀœÿïÂd+Z`aT›‡4ÿ‚<@ÿ:mÎs2Ø*Dó! Hص 7@F8ÿ#ÍAlù+µ!U2ãx óÙ!ÿU ¬Ô†ž¬óÿ±< ÿÐÂRŽCV¡TbP ð^ ¬ÀþÏ€-ýþ‡êSoB€3tñ¼ÂP²ë€*P¤qJ­– „вÃ6`è퟼Æç…RBFB6Ÿ½Vy;lÊ?¡ ~CªµÎ4Yõ9v² ˆ*J1Q.QðŽ!Âçɦ˜;v2XXðŽàŸ²AÑ¥gNô+Y” éº:”©,Cü [JÔ[ýu/ôÿã~~q÷ß! –¡QRP2áI§˜jƒvo·MgÒD9 N'•yg¯dˆI0-z7ù’lBò,˜z|!}i¦˜8i©¹|¿Ò ['D!s§öfÿ}n{ÐúS´A×ÀÜ7­¯q0‘R-æl ‚Þi°ý!=Ç™¦z"uŠb‰ e52,FËséE݃ŸÉêÚp?;÷­bv+”ˆ ‡úÇ$|oÿç'6é<ȳšñׄÿ€¼+Öi †¡và/˜ØYA0ÁwTêÐ ‰ é$`de@]øª*Hü ;+ƉßKr¢J DjÓëÇιî³ïî/ªtXe³þ¶«³î{öÖŸ¡X;(;èo»æ>ñÙéN4Uì4²ùмpÎ;‰Z©‰(Í€m[#Ò†3–/m’”bç¤ÈwSD|<n^Ÿ†­0ýÓÙí¡³8B•-E¶µÁãÓDìÜþÞjqµèù,/_Îæ÷ió‚ [ÜXkBŽ\‰K\!;nîìSDøæ.a€z¨¿}ï¦Â«&qG\ެÂö&ô•¼@£×"p³uœõ{•D…ÿ&Æb„þs‘F­êšð¹XfËd?8%ÁùĪ|/¥‰Ö.Ë€Öá…gßFÆù¢"nÿãÿS Ô¤í`ëþ™fÀ2,c êÈ?’Šü.øz°$'„K«'~× +¶nÜa‰J?¼(HI2€/º†ÙËI¬ð‹W`Ù© „tÕ±¹üür FD9«$ ³‡ˆ5i@QPWýxìà?c8dÈà?R ^fˆâˆé`VΩ]ÿ÷Î.›‹n°Ð?ìš:r†!l êü8´û÷Ù¸'PÀÖ©Ù BcéœoÎôÿÿ!—’À¦4aSxÐÉ\ئgFjdf6‘ ZÓŸp…`Ø@ ‘¿HóÏŒ°yZ&Øô0¢ü„ÿ¶Tk ŒøŽÎfÏ»þƒE-ÌœÿðZ“á|Á't‰"õÃÖ-eÂRPÂ4QM;p{aY"‚ÔÓñ` ²Àöª@ÍSÀG‰ÃRP«ÿCBÚ)ÿᣨЋi`é Ã-/ 3™“äðÅYÿáXÉ÷>*Iz‹n˜€ä=Â0 …#p$F3,Hœ‰V&ÄÈ à(,&ÄX=Ò$Ïq˯`` [DÚÚ yŸ‹ý †_.äó—sXI[O±lûdžâó±?½›]Ê“e{4oú~_[G܈ •¤.¡§ðÝ”©)Ûæ“.%°Ë%‰hCålD=áþÓ‚ôƫ֫ ÷§ûŽ_m ©òÏ(³uä ¡Âdd~ÓN7“{sî·‹“¿Q…3¨->sÚ ám¥7S³  XVñQ‰+ÂÆ`²˜‚XÊŽ}SÚóWD´èI!±P"1I®` ãhîžlžÝ#¬]éÙOùì„F¶…A…ÂXÂÍåà,ǘL\Šœ Û@‘0UèÏÖ‡n}îm‰ðŸ’4Ÿ#ò²±‰ßÁÄ´„~BVmIdô³~Ô.6`n?ƒdûýþe» @Þµã ÃÐø,ììÌlÜ$vĘXX¹G`D¹ ,åÑøƒRQÁÀ@†ªªÒ4uêgËÏÃ?wÞýíË1¢‚ÅÅ­Åñï=פ-!*ÕGírØ]»ÛO̽QÊÛ.XN}ˆ1*éç D¾›=¿ ´L„dïjÀP²+ÚÏÉcÍHs¬Cç•ðø°¹ ¢´H“ér;¯ {ܯ› úéUñr5(Vtv$[ÄÁÂ&‹ý;ÉäŸË<¥2•Æ%„÷ðøu¬M;¤YÅ*1|ɲ|Ð ž]"I³žÉSžø„¾f}Ú´Ð5Pp–²¯‹’µ0þ§nTdNåÛóõPAþ:w‡®G"3ÞIjµiÜ¿K*»ÉNx°ËÛH o"—¡ê=à£TXŸgHÑö:| ö¹= ïÚq†ah½3p`ggç\€…ÛpŽǪ&yþ´i+$$†ªjIâ†Ç³ýjÿðßIÎo{{6l}t4¥Óçþ•1ÛI»/æõÐàZÏ[/Û)-,±ÊF}~mÒ5êä K)8Á“ 1«9P@{eù›ÅYKw¨$I0…«E @"+T¸]‹÷q<]o—©¯VÐê=÷dzeÝìCL¾p67ÝúTã™IJÊŽŸ2ðôxgbÓŸŒÇ Gß…ŒÓâí}ì!3…É5£t‡Ëg—ÆónköÇo¶òÄ0¢ÆõLÅ}oRÄ™1,qŒšµJë'Ùá^¥mh')!¦ $"»%;)دôš³íû¢,sé$™9(N€•5¡üÔ¤ÑÃ.bC uYýemª×bë‘ìµ´`oxð× ÿ%ygo„0 Ca«#° 4lÀ =;P2 ‹0+q+zO „ðwGƒ«¾sâXÒ'ùÅùµÃ?}I÷µ EîüR‡#½âÈÜŽ!Ü*åK^|A¡žUÃðY6ñ°$êêÕ£[ñÙœI¡B‡úi¦¸ö ñ/Õ$ÃÓÙ£{ž®¶Íµ÷(½Ñ¥B¦h*&á¹ïi·Ó´NæëݲoŒã~SþáÆ˜©Ò7 _Q&` ýv.o•à]ª…S}‘ðÚkfãåHSùC-@º£÷ï;J*W0 ŒCÅ6p%A2¥—ö„–ðp¥-öï@Cú…:J­Õ +yÞøž|³Ú®ÇO&jqíÚ@•’^ѼV|Mž;}/J•ÕÝs`2JêlO‹Ð¦Aý´ƒà2ðým»@ÞÛ ÄÀ÷tôÔHÔ,À”´´0=s°ƒ°9üg;É' „hˆ„D}'¾;_,ýO¿ûÛ–)xü_ÿ„J­)`Émÿç¿ØìgõZ“¸QöS}ÀÒ=IŒSèí;xæðõ‹*!1½k@'-žüIŒ`õ|(æú¤Fýç´hÄíŠ2N,®& ¸3X-W»ã¶tËép­;'}ððe ÀǘÅ'Ð<–)•[T´Ó¨–ƒöæž¶9°À»Ð]€ã¬jûaöÉÐU EÇ2ÌĬ4hWÓU²Bí-.$sϬŸ3„9!±Ù}å±Óéx¢°'—vžÔâ¡@¹;iƒãÄìÈ´£(O4Ñ ãJ$Zðþ{{eK+G­ÿy< ïìq†a(loˆ‰ƒ +ç`cæ œ ‰[!Sšçç±Ð©?Rš¤ýúÅN­ð¿±Ý{ìÞqvê?”r Ø߃¥€Ý‚_ÐQ Z»¢ã¨ÜBÕ™f«m"¸œu6±x-°™{¾Éz{˜gÊÁJ’FUéL<~qŠ"dáþ%…û)öm±ÙåFPúg¹-:§dÄ>°ßfø2F´¸¡oy¹'T;U°osEn@_/|e?ش٠m<>2¸Ëù1V$Pܳû)T°iÝ¥]…vÓ± Ëc»›¬Û¤ôâ ÛqŽFw êÎ2Ëæ$ø¬Wýýñ´Êšh9¿{4$Î)þ:¦pøVµYÓ|„ØÄ3õ1ëý¢u—þ—þßnWÈ»–#bª±Ç«kñj%žíÁ lÀ®wù<Ø,fFoŽ÷ Ùax< üªÁ¯}Fû½7_­ï¦^Èïþ„î熧 'Ú‚04›<„Öä†_Ò?û®’Ã*‰ÈpC8,èZ«´K‘МÈ-ùW«)|F½ÈeB%wf EV³•„m!AØÕ¹3Q¦í4zhKþÛþv<àæÚ†ah4+0ð @ËT4,A†i¨©Œ°#½çÏù’K i’Üq‰PdéYzÒ/:ürõœ|X¸&Rz¡3^É/DÚ‰µäƒ‡íò™A*ézÒ X¬Z¤hºÆh(N”Ꜻp¾9ªÁ'™6=©ÇÛùñRèÆXaÀ& dær“õ‘Ñ£*—¥ûCtúûÞ{×Ó=žž¾}2ëÃ;„„ {Bì¡`2ùèŒâúUäÄWR I{m)€¦ëlG¹¨®K¨R‰¬ù\Á¨EÀ7luî†lw­Â̱*ä Ð@ÚÎûQ&ý”éBÒ‰uÔ•ÿxS1wëÀæC[2î=kTêºáÿDTSapÆZi>Á”þÉY¤dÅÒ§Ø]{#oõ]šû™ÀõÿÇWòÎåa¢Þ&.F”CtD=Ž[ZI&8a¸1á”É!1!Ò>},þÑáïQüž ÄKà½ðN?. §u{iDF›+A’ö;=¯’lË£{Á4þ­«_Còœš^ P1Sƒkdxž/½<Ã9†÷¡³LÏ.ºIª0=eyyŒ«Ÿ»Nþýö¢¤¿¹)éý£[3« ÔÉÀk ¶¡'½PÌY„óâ_¾‚eˆm#|P\‹ Ò¢£~ÞÓÂôÆVDáƒð‡™¢P0ÏÎáiIð½pýñ+:£Cþž,äZ{/4T£sæ1áavýÅ)fó” PÑIï@ªap#¢Ù–R0ÇN>Œä*E1‰Ó]#Üe :<å¿ ç n†a`úbÄL€XŒÂ“ ˜ø0Jîì‹ä´ðDäW©u¢&9Ÿ/v~ð?‘sæÒ2ï*‰H}¯á¯6‡‘=/ ˜%íɦ"ÛÃ3ÓÔ¨ÛGêf BuD¼ÙóÍLk;. s‡ãŒÔ|'ج ·ÈÃ×È0ÀÎÃpóB"l`èÇZ+)xe»ÞÓ¢Ëi~}ví±ÇÞˆÁz)Ù@2«,Ø”œ02qÇ;0kg¾;ƒ—Z ¯õfÞG3'SQŒ¹ìTLþ{e®&vIøþвõLäEcˆr8^”›a?²GÏ6zX„‹T¾&ÎBI¯SÌg=›’Ë“‰0Ø B‡¹0%&­L›É9 öc{ @Þ!AÒ„ ²Ÿö`–`þ­Ã¿U@ÄÜîÞ†¯#3¼“;2,›»½ã¿fî½N òëÓ‹W:úvsâËR·Hbldi‹H¤ÞáVµÑ4ê{(Ž •@Xa¢\ùjÅYd}jGÛ<ž÷ë{ü ’¼%=> eMògë•“Åþ ©«m×]E29Ÿ.·ckþGýaׯìaX±NfÅ©Ûf)9àríS]ß1Ÿ+ZA¤©ÁØ,tôÎí ÈGˆ&# k‰ÿ(ÅL f©v˜l…ß+Ÿ²ûLÛ)·Ä\ÓPG‚Ûùa 6ç=Q•Tð‰ådᎋÅp‹õ $¬·6LŒòÛvy¨WP>¨~ïë¹ÿô?w7Ã0ÐoÆaø° /FéF¬À™VöÙ—6*UˆN’È2û¡@gá*NNLw¹ _蔇í•Áå¢ÂH½9TAëÿKeŸxa4%ša}÷ߘrH™)”$ID"àØ½ŒŸZD_Î×û¡7ýð¸=7¯·u²ÐcвIü>T¢ÄE"Å÷á+G’,õ²˜7ºI³GÌ+{à÷$¼o"Á×;åÁýûÚ?ŒÓ›Ã"1‚ÿÏ §\1¿ž^)S›ô$Ã>N•Ô´ÀG^b—¨© F+ÖÕ7¦]!kÎ6(Y2.1¹¹>ÿoÇGr®ea†5$øH>áÃRÛé*í†Øi¦e[b×vµáûð;znW4®CN´@JyêE¨oô¥»Ä+ Ÿ-2&Mi™lÙÇ£ MOW§:}[¢Ó{ âóQQþÑô±OLÀ0N ”ÚDXB %h<š¾™žK4áúz¯Mÿz¦Î,Fˆ¶ÙVë.‹"—!Lƒ A¢Õ>+ûë…JüÊîª@ÊY—é–&8tynoùå@ $l >‰½Á«îb5d8´>®þÚ}ÔŠà‘'2N@ÂuO²Íÿ’#¸q‰Ë9بù˜jõ’µUÃS6ÐS)ÅñÝ:ÂOíF§@Ú¼âÖ y¼ ï r†aXóÄ ù&_àE#LIì¸LÀ ÑË4­šÖ¬MœÌî~Õá#²käÞû¦Ïî܉< úb"ø Ï,¤ÚH™‰Ò õ˜)Êž„OS«Mc´eaYCéŠDktL‡muú·õp »à[D—):‡*7¯'ûƒB'ª%ióBEõ<¯íò¹Åƒµ^Eƒ%€ g)ïØ„jJ;€9òֻ¢Fd; EƒhŸ}’4zTÒÉù%1+f ÕCÊESwîG„o,»;gFL=/é’±Õ<ñW/ìÕc]&Þۧ|j¢Zµ­´^Eé( ΢¶Ùm^àëÅ[¯`Sê€3­ûÈ„þ¶= a •hÙ‚(銊è驨žމXÁéÿm‘ Gƒ‹pbÉÒËgËFúu<üoAzsÞëÓRý-Õ•ô;<šøÃŠZy¿ê~QÒ‰€ˆÈÆ™&\-m´qIÜ‘R Õxm¾×AÁýúhèÒúe­‡µ÷Æ 8rN›ò¶œ÷ëÓt±=žŸ…w]-}—œ» ¼&ê€|½“ œ§¨}<[nçÇÝêðW½Ñä¨7 fu×WÃRWØÛÅ– ®Ô.[}(R³iS|šê´ðÄ<µD]È=óІ\}àØ©B.U®ˆø ªGšpRùÐPÛ$åqøHãHÞ`íÉè¢\„¸áÁ:‹4T7¥°G©Ú` Î_ڷפ‰4)‹øù±:i„Ù")ñŽ"Jíþí ÿ.yW„0 ¡¯ð¾Ò—ø/Þ¼øÇˆµ, trÐzrì¥3M É0Ý_üÑG[C  ÚtÕN¨‚û|Q‡;ŒX´`8ÁJ„/"û4Å™¯¸ËÂI3(´ëz<ÜçÛe£^[&rÒ×STvz g#̱ÑŒ½Ì"ºÀ¬ÄÛ¥'Æðø¶ŸAÿ6ƒþùsýxÌ$ÐÆwé¤ý Ê.!Xœ¦ÐÉ’Ýé yÊ2F ÏTW §h E}¸"VI=ª?ª@wŸh„×Ô3Ù½hâìÛ­›Ì³gE©§?3 ÞÆ÷q¬²à¤¼±½–>Ê*®z(±¶®£ò6¥FÁ¥4â•.*+«& !ŠÁÎÿ"Ñ£áª1þ9à @ÞÜ ±d3ž¬Â ŒÁŸ“°âgªÔ¾øªDÀ ¡FªTõÑ&×´ÊÙ>ç_!”®Ž¤à©Qq¨±ôÕþ °{ËF,¹`‹_ ‹Oö¹L©¿ð¸_ÏÏ¥·¥_”n;tfU™Õ  Æ!ô¸KFJ¹Ž§Ë§›jl›”Cî¸H·2íw&¢¦~yÛøJŸ!ø.‡W¯îÌJ—F¤¶JØ9éYLùcs¤WôrfjÓ—6gÐÇ ¬ºöL¥X´â4͹Z´)äcœ”‡¤«Ä»Cn9ê¼`”Ä@ÜEòxbÝDxÑs át Ûht†š¾gZZFÄ蟀õ™Ó8í¢½àîJŽ„a Ô]RJÚI )„.ÒI&PI»"#fÂ#üa†>°W°ÚµÏø\lû²Ìf æ‹ÁyÒÃežÔï|>øòºQUYd"UÃ]8|ØÄ¡—a}ÑÇ</ªÉ©·f«Šˆp?*ûÍþ'¯º‚Üåz»ï›Âú²áÔÃxÅà£È)ï¥7Àü¶Ž>k+ç²y‚V(àýrrªKû¹z¦ßÉ’=2ǃ1Ÿ“u½jññ Tn›:Šá¬´såÏó€R'€p*—Tê/KæYT´×ÿÂŒíg½BÎß”Û"xÿ Mn—*ÞÝ$ÕT‚O°Ûø p=”»9kù@ÞÜ Ã@ûÇl,ÀlÀ¼ƒ?ë ±J ñ/QKûÑG[©UmµîÙNìË/þ\5ÎXvUä|¼—Àƒ†àüƒ+[±‡>r\@Ý] $úR¦Å/ñc»]N÷×áj ÐQÚEºp`¼fYAú'˜üèj…Óa<ï6+ÖÆ®»oë©c±±Æ­âÙÔ U½çæ¿î„, K( &h•:#ÀÈ(wU–%"â>³*ÆrÛKÚy˜†è°lIõ!«µ÷–Åi·ÈØ–’ŽÉ¸ßò\ô‡Ýó_s4£…LNåx‘ìÉÀάÎh[&¨3þû:üIò®ía* °0›ðÁü³[ðϬÀ ­ µï|•Ò¨ýABDÊO+õ‘ºgŸ{vð;Qûâl9 ‹Ä²ƒSã͆`ŸŸàÒuhJÂ’Õ†ªbøê8ž¯û:­}ÛåYW倞do†ulá—Ard¤Wb³5îwW·žV_pVW XdÒ‘R?úLm€)Ÿ§CZìÄ—âÄyg$ºtux½ÊÞ)OAçåšr:‘dV^Èá g(ÐóXRÒ°-R'T4‰„цì\iÚÇŸïX§xï%6µ“±Æÿ‚y!ê·di´Ÿ¢Ï°1Í8G›±çøsV3ºŸ³Ô?oÈ»‚„a(/Á:¼@b žìÁŒÅ—1`…š´¾³(•¢}äÕÖ²’sbû®¿ø=0o§ZE{Û|VÍy0…3çX9‘Õj_)s’y~Évi’Bøöe¶ï·Çs÷G)ôoe¸ «=¢s¡s±¢ÒA#TI !sÀ¶Õ2n§Ën…Ñ9¨±IyÓ^]Zd•À=]ï¬z$ÈŠ}3¤+2ŸÛˆ]"­¿Æ“+¤²… k@žÎ ¢Â`*Î:%£[{ÅNËýÃ#¬{8á)„ÆÈ[€rç„Ò³³®Gþ*Ïß™vø‚°E¦54—*=¦Ì†•ð[´[N* ¡ûö¦W?k¡4o0¦™SVÕÈ -¹¥12JE#jèù ¯µ£‹ÁXg,Tû€ÂºŒ<3GH‘ÓÖ.Œ3WTš´î¸½©ÿ‰zatM.[Źï0ÙlYK0xžö$¬ ;]ÃâH.@ýk´Ì‡Ô]Û Â0 t`>‘‚˜„­˜‡$†@Gkû÷‘¨?è/¨ÄIkÎgûü µg‡žÌ>ˈ~ÞåÚë]Ep„oˆñðƒƒ›‹WìbpÄdÓA‡óu×ÿ†®i,Ñ=/M§lzJ¥S ‘t‹©EAßd="ã"2 å19Ëakö› *!û`Dí:lf,>TÑ1§G‚F‚„c±¶6¨Ò :— 7ñ0ÑéöÔÆ#+ZD8Íû‹Ôd-èhMO?xñ¨ö2çšï!¬þŒfãYè ëê{BÖÕ¿µ°ÑLgÔZþÝP|áz |UÁuî#ÑÍD¿Ù£”RýÒ*õm”W'¾»Jr™Ø\’ð–ü<Ù7®·ä]±Â0 ´ ŽQ( 蘀ž)‚-˜ˆ2%Cä„cé%ë…»t.’ÆDZ-)/éõ‹ÉA;³6Ël¡³žr¿±Ñ€g¯5Á'™'Æ]^ÜQ$³D ¬gcnj§ë}*oxH;ˆÅ«<,¼«×K&ôk‡g}ÿ·Â7cóçdÍ1{ß~,Á–Æ_‚eO(îÎÇãùöدNÈØ;-’E¹Z$c”ÝYÅžaÚGË|ÁÔÀm IÅ&dJƒ…Ô1dRÁjó!¨.øÒr‡&î‘$±|/s§|sz†R.ÀîØ„C=ž¶ˆ–µ0Ke6ƒ™âPhÆ ¼®”'‡ý!wÔ_ð5Ê8о›øS$':ËE1s¥³tæ¡þ²}àa ÜÀÔ B•;† ¥c V`†h)býKq’Ë]:p‘"qìÈŽßÒ[–ðãÏYvj©ÝYfþ´Ì³$=…¾áü¾k…„X)ÐMÞ¬šHû,¬4íçu[~%srñЈ®þU{ÝWÇ˦Ìö¸žÞíºµ¥½0Iš+$,º+züyí{#%w¯{|ë÷í¬`¾[3ÆiÔâÚ%À+òínx"2é i:hÕMÞ ‡@éVJž¸uÁ÷ÃGÁX`%iŠ“/„ú3÷H‰4ÙP…ò!üÿ’a¦º ¼>5á–ZòûSÜårñš”…èÈ{4´tÅA1¬}5I·i,_K’"–’µ;O•ÉìA4ÿŸ>PwÅ8Ã0Ð L¼ˆ…G±ð‰>€03ó&žÀÂÆ2&¶ÏNQ êDBU!MªâÚÎårùG‡ßrö}ÇÞÂõÝ1eYaýŒ\‚wØvq§d°6Ìž¸‘9ä›OäàãYØW{D‘¾æÒê¬5Ö×J/ºq©åf¦òÝRœþK¶½ß¬nRo'W])8ð*œ‚YŒš*Ñ8Nª†.(—q9on–]ʳ6 kW¡dÔ¥PÙ5U˜<£õQƧO1ÃnX*Q 3éÙ82|<›7pðó€€8ìˆÊ\‡«T5m¡_! 4š¦*@(A!±©\G‡ d¦Á˜#1²¡n½8Ëá¨%&©óæ0¦»„ߺ71Çc;¨aaVÿ ®5¢«%{€ý¡Ÿì0 þrÄ”‡Ê>òŒ>¶]Mê  »zÀ$tï?R&…obDO|Œ(™’yÿ#vêR XÇ׃–Zª@&åø 6‰èZƒ°0°pösHîÀ,ôg—¿fÎu@¿|g@«/郚…TèC†þ#Z˜¨“™(•/80z®ýï†Nâ!ÙÛœƒ4© ­LaöÂâèW Êé.Ä$?ôZIøÒOè\Èág°uåЂO@w¶þ‡M¤Â[ì° åð1¤ÞÄÿ`»q sâèn(<¼‚˜[V*ÿ¡sŒ°a)áõ;T?ÂLئFDƒs/#Ü-ȇõaÚ…˜†ÇùȆ5èÊè²O´Epÿ#³ÉØQ?\@ò®Ýa†Êô Á t À TÌ@KËìAÇÔܱ=ÂŽ¬÷D.Îq ‡›¤‰?±-?}žüË¿5©c¨Ÿï4+ÐiûAÉ(ÿ–…Í]°i@ÀaÛH?lvÍŠ®4¤tý òXnöó¼C†Ö;$×,Êp@þ7KŸUlá³ÜÇõj{˜ö¿;w…pv¢4iR¿h;•ŽqË ´/Õœ·I'£ƒ3âÕkÝŒô¡zß -Dƒ@ó@&Ê·æ»ÊÐG5(Bjyh©›•ÁΜÆNÊ¢öÒœaÝ@½îtr~° Y­h§EŽJn6 ¤$#EU­Jî™?8JÞæHÉ(ÿš^¿ˆ}Ö?5k– +8¢‡u•Я²Î’k%ýùƒ ZÙß"ü§ä]ÁÂ0 sF`–àØ…-x³ c°óp&¹X²Ò#m'øÑG>I›DqËþÀÇDnq÷‹ö ¥33å¿¶º+Ÿ9ŽÂéXtAÐÓé’ÿ¥ f-to¯.·cíó ºª¤w=7rð4-j‚›Õõ9ýk‹NzÀ+ôæH‡ÔÉG÷ùC´I÷˜ÒxŽž$=Hrë•qEõ¥­oÂîxI=üEŒÔŠKZ‚Âu Ji…F(…ªÔ~þ§Hið‚ˆ(j_âr:´Sá•EZñ°© ‚óVáƱðÂw|¬»µB:z·@€·‡:ŽJ[G*ÒI^Cÿ>!‚{õ.©Š«{Ó’¶OrÔÚFª‚ÓÎr³›§®‚njºóÜ1‹p‚P³ãsÞœ³ô\´¾OBÿ‰Ðè‚wõqSÔK^ÀQ°œBøóœÅ >ðs½,L½¹÷8ëhŒFf+ Tgòw':‚™/÷r‚a³úÁ»¨×©ß{ÜM¡òÄ$‡ ª ,í`àêUIø ï°öœ¶Ö5!P.æ)¹ë©Z§ˆµèºüÀ*Þo×·ôÞ1ÈËÂ'ï5Q€ìˆ`ÊÝ”4>V\?Å­6o mnA2k·ÎŸ–‡ä]1Â0 4 /aeGB0ð6žÀ„ÄÎÆÎ x;?`gbd¦&Â>û@-T0!*U’(Nj_ì³ó« ŸðKGéM„×ÒÚÿRáúsÀää$M~sÒ2äëâCô1˜.»EÙ˘}(øM=^šÚzucªÑ¶K vGÉÚ›ÌV£º>v›ù±|öáÊ 9M¦.OÆ øxç׳íÀ_míÌ7Ÿ§*Ë‚ªHö÷:-,dŸvkíôpBò—Q>Y&â7´M§–ˆ34"Ìî²54.¿Jú§Á0K×—O¨,©\¨•jæØ1ˆ u¸Z j§¾¼Ö‹á©4Ûzÿ<Ÿ«³PUõ1Öbüï>‰{ÊeJ{5–›Ï A-8¬þWÝ‹Ü ïÚmb¨o:X‚"53P1¢§É ”°% ˆIs‰ý|9¢ Ñ ¨ ‚(ÎÏ~Ï~ùŀ߽y$ÄíLæ²ej/û-ç|(ÿú‹?&vY%¸gpµÈô >þ+NëqÜ÷<¾¹ãª¾w›û»ß$d‚2e}r&³å¶Èí§ úñûWYŒTaAT;x®¯d–z-ü6ÂGÿ³FaT1„~l±v¼3ihaSŸÉçeP¾X͇$¦±¯ä€ÐŠ«’-˜Ö¨ CŸHÌžæR‘TzeAÿ9@ïG 4PfÛ³´‘eìä:¼ö"`bÀ^CH:Œ÷ W¹*NñBï™ì9Éjûàl¥dàcâz\š“HšIEð™«dwî€=Ÿþ5‡ÿ@C±ÀǿܒpE€PElU§Îr-`¡˜¨ž“%ãÿÿH­>ØnÂÐeŒ‘ŒÂ>v‰˜ÇÖ([öî@]& e”ÿë”á-ö;G4ÇkÐð$è_èzkèšmHë :, +ør=%`¡oͨݳJí¿‰âOèò;˜» ã¸ÐzæûØ>†OÛ¦å¾!àuþÂç`”02Àþ‚‡/¤wÛ ]eƒ:D0—ZþGI;ÐÖø´‚å/¢`…o*ƒ 7à‰[èxùXEi”À—b2 sèä+t²¾Ê >y‹Õä9è’L´óäÿÃZ@TÈ›ºð ³àý•Ög€vÍ2Ÿ0ÀZøùѳýÛ«€Ø¿€ @þvv|XˆÕä5ù£cø@@C±ÀG/ıµèÑ+\•´… ß!K5L¶çæÂÆóa¥Õ Ëè°3ÈŽÅ$ºç:tó˜jQóØj}‹ØO 9 cø~€·– …ÓÿãG6œ$èPðâçÿðSa¬‹ü¶"„~ï(¨SrNíÒÄfÜî™ÅG€Ô-Ä89ìhÄP¬ÕË€Ôõ†vÑv/˜@Ĭ¥ [Ø\òø3ìþSø†&HK’¨Ø†*Bž—@:Ú—Q0þ‡¥EØå"ˆ^¢‡ƒÓSÐÊqÞ të¼ðEZñòÒ€ô”¡n@ZŠáè+DˆzA|h„‘çŽ ôUY=ë«´š4oÐÄï`À†ßàË,‘—G3üEº Óˆ‰éˆÍ[ð zhú…¯½GêEY®9b[ø4T¯8„öðÀ‘ÇÈ€˜m…E$#j¤2¢‰C¯Œ0>#Ô@ª%`+ÿ·AxÑ1 ‰ú@k$`%ÌåðÑ#äË8ÿói+ÓèJ{¾]÷r…¨Ï½ü v¤G»<æ‡ÿ_^;stQ#±p€-Ñ;Œ0w1 …9ý?ÒvÆÀBÿ×ÞÙeÃE»gqMëcj—ƒºð»F‘ÂÁ†t-mŸžó°s!…5Ä-`Ç1BîVd„vV@A„ÿ{$ÁFXã9ðøÐ ü*@P‘»‡8Œ 0yèÄ…e°Ëñµð C9ÿ!÷½Â® þ6ÈùL°ä¿ñ:ò=ã{ú…ކ’Ô!Ã\`ÇCæÌa×þg„Ì“@̇,2€'²@o¥åÞâŽãGf€V…a¦Ãâq;2,£ˆ*X:…Ä5ø¢øµ¢pÏ"¹Ýጠ”xd€Š>¬öG.ä°G.’Š8t ,ãÿGÕBpaeßo uÆ0¼Xh´ èÂH1*Ça™º~Ù6ô¼/F ›ÉQpC®ÇeBì †ÝIÍÀpH]?¶¨ñ7ÑŽ„T};Ia×´B,…Þz-ía¢ˆ¢¤ÄÜ%µûÿžÙ¥÷Ðj~ûŸIV3A+®ÿÐâj"ìNÖÿï€üÃć,¸e ±2$Ä)j™ ÆÁ [x™º†ú€'²j‡µð™ Ë« E;ŠnÈUªr˜Z%£7&ðoªƒ Çü‡"ÁªZXÁc3@ëúÿ0—ÀëRFœ ÈJ"D¥ -]`u4,@¶2AMb€ÕiÈÕ4E™£·Â´új/—tœ­4˜/þs Vb„œËrˇÿ áP _0À–ØBÝ‹fXámÃÁ†ælÀÛ ¡\àƒ#ýM4y#_,ý’ÁhtÞù•½÷ #J^™ aqD+f'Ä-Ð w4¢˜…¥s¨û¡ û?¼1Úùz娢¦¤º Ú®ú÷Ñ "ãC‹·°›¸`¥>ü®m3—Ô†=³KP }HA>` Úƒ´ÆaZÿÃ9 ùŽKÛ§åý"ÎÅŒ°1{xÝÇ€ì.hÈý‡99£3B­%¾jg„Í‹ÀúH^€+:…a,´n€vA`aˆ@†q ‘­Ä&3À’ØDh¯ÌfD\ 1kÏ®„VŠŒpwAkD‡‘ÀpOþÇYPz*,ž)&<„‡ì‘ÿð9%DhCãZöÿCÔ{ðü#ºe4\ |\lä–?ZKÞèd€gN¢Û}¤ƒó+z¾©s†¥B@k¥€–É0Âg°r º}ÚÆBjT!õbPF…É{Ç5}"×]¼Z¯ü‡Yü‡7O!N€6ø`-Kˆ”iê’Öý~ϬÒ÷HFËÿ‡Œ£ÃŠ'$§3¼g=ÄÀpsûô¼¯¤¹ø?lh ÞO€¶ç‘‹~”b)ë3B—ª’Ñÿ!³ï°ž¤èa‚µøá/¬)ö*¡-Q¼cà°¹(Ö¤†µÈ!þf„ú°ž!ÐHσ Vb/ð!×2B»8¯l‚˜k,cô þab BK¨¸ý¸Ðp  %ðáM Å?€ÎºßSnö‚#þC÷ @Ý 59ôa‰¥qÄ€=b@ Åÿ1_â’ƒ´à #x³šà¦JÁùÝï€Ô;£ÈÒ@ëAG S¯8¼Ö¶‡¡_Ü.5~ÞYï€øåÉÅÍÄÝàÿÿš{!€lPZÖ¾ªý½cFÁ+ŠÜËÈðhèy¤ÁXïˆ>ubdÞ‘c€÷d°¯YÇ †ÿŸ6œF*a7ÐÆ´¤‡¼ð11XƒÔ x*eÆk@eOàÝ>x'áJø;¼²g@ ºÀš¹LO°þÜ”a„7‡¡E<,œ`Îe„WÇPÅt$¡°ÂŠÚɵÚ5+ ͺ@[9 §´óÔ ü®r³ ¸Ìø’!³oÿáE=@‡ëàþ{¤âšÏFì@‘uo÷( >0‰*ç&FÐx&ïX®—%Œ Ý‹ÀÞãçSKZ)/àGÁ( (j;æL»æÈ£”dès!ͺËM7b3«¢ûœPm"r÷Ÿ Þ/e€MÐ@¬Aïí#·è9-EºóN#ÐPláKpfY'h7,SÖ£``aï ,Zõ KNá]h?Z@C‡¾á]5ݲ®3ÿºÊL6c3º! 1ˆ^ïÀ™‚LùB»2Ƚc4,:r[ø4×á‚Q0 1(l;j ,‰AÇsC×ïÿ‡ì{øÝäÝˆÈøq¨d]=HZ¯¼ëŒc!“Ï H{B GS£ì­a„Q¤ºöþ? î†+ ÑŒ‚Q@5,ìùe«%#|3b“täŒ)І5ÆÿH;pQŽFÀ<¾ÒN‡o¢D*¼á;#|ƒÆ™ø¨›¡sM#Ðh? FÁ( &0O‹CŽo€]tÈdVðBïGÀ(œY­|]SáG)#ìß# ï9À|ûßýŒÚÚo)Òý@Ÿ | €F üQ0 FÕ°ŒUb@:Š‚éˆ Äý°–?âP;ø×ð#$d1 GŒ¹"vm(d¸ù2t˜™XŽRa¸O‡`´ €F'mGÁ(T­GØy gÝ@7ÃWùB7s£l/„¯@ý¶…̪‚{èW]þ‡ ÝuÀÝl…¼Šô?|÷æ2Rÿõ}>t@ø£`ŒêFØf»ÿˆÕîðeñŒÈœÿð…óð£p ÇA‹lŒ܇ï&`€E“CT#(kí‘¶Û@À%jzy¨€-ðGÁ(TÐ3yþÁO8‚´é¡Å9ü ¤P Ðcø™à»äà§&`Ü4b€ï:†«àv"¯ÃGY“ÿ¸¥H—äãG† ÑŒ‚Q@ð1n™žù?´iÜ*;=±{<ÆyÜb•B)üàR´ƒ°ƒ»ŽÐÀÛC Ðh? FÁ( x½ qôØ%øÉŒÈ[ba­xÐÚè¸ûØñv ¨á z Ð?`ÚÁ@EnÌcÙiûÿZK‘ú±,#Ðè*Q0 FUÀ„j›_À‚tføHøMaŒÐûœáà0@oì_὎Οފ>ôÂÆ€|CÖØæ*ˆ™ÿ‘×ÞÃWúÀð Ø~:Å 4Zà‚Q0 ¨þ3>e@¹) roñøê È÷Ï¢^. AªÑ—OJB–b2@6o1¢ßó ½Qí?|Í=ìÞjÐ)µ›[ŠtÒ// ÑŒ‚Q@5l™ßþ¿r|#ìÚDøšyX ÒZ‡ÜÕËÞy‹8‘‘ýp3uÄ1Òðݶÿ¡w3Âv×2"] ,ìrk€…=‘·¿ @£þ(£€j`B•õs`áûºØùð&,Fø l·,ürqpkrçí¥ÎRcø…8ÝçÔ€úX w/@6UÁÔÃ7WÁ þÿHÃ8 ë…ý†Q4Zà‚Q0 ¨  Þïÿ‘‡\ ýø!f»”açÛü‡ ó€†òAsga•weªµ@ž éü‡ ýg„W*ТTi€ÎÕ_5ZØc€=Œ‚Q@uPØvLX˜Û q^øŽ(ÈŽ,Äñøhgã©÷@Æá®rÓw0s*ºÎÕ 1Àç l¯Ÿ†¸+†ñÿ¦«­Eº˜wâŽ0 ÑŒ‚Q@PÔ~ Ø:gÐÆêÀB™VVƒRÂï5—Þ_€r÷ºËMá7^•uŸeʘ1þgP/ñD\ªÌ)îÁoø6ñ°µXÿ ]=8@ø£`Œš‚¢öãlÀ¢YÈ–öÜЋt |ÐÕ†/»+Ì_¢ë)ë:Ã,Ïy`Ë둚õ¿ÚK ß¡«Ä€-ðGÁ(£`„€´£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚pwm·Ä Øë&u¤‡H©ñºbÖ10 ‘"å7'ù¼Àðð~ígþ¬xõù|9»uÐå~Ç>}¾ßÝ~$ùéRØÛ¥Â±Å]Ê'åc<…ëÝNÊ7ÛOœÓ0ÝTÑù 5MÖÎ߱qÜk´¸$ŸëÈ¢mË ¹òš=o;m ›=3OdÎ!§ú ú,È5cN\œã,ǹP·ãÐc.çÂ,ë.ÏϽvÎì•ñ. ÇófŒô*Àƒ RÉQã9ß ˆS„ÂIuê(p!¢J¶¡öRÆ«Ÿô~¿ÕG9`làxÛ_²öùˆjg¡üÓ™Ñm~li‘Êôów>k¬¸xª£‡–øy–YkÌÇZ½z®6€2ï– 6 CÍüYåÚ±öß#öd?ðà^fLŸe®œ8\®ÄFÞ`Ẇ³Ä[öÕØÝyê_‰díåA ÿ…}Ûì÷7ùo¿/Ø»‚€A¦ÿ´Ûa…%©xÙe‚Èl›¶i…ô‹?üçɱ#;\y4¸»> ¯®Ye™Â©ÜPo’lÁ·òÇy%(c»E3É—Î'ã!îçäâO£ãp‘n—Ç6*VWKÔSÜr\¨ëêŸú¾ãùô¬8¼d§buÜ«¨=¬¿êß9Þ=‚~'ÿ•÷¸ · v€`ÿÿÓN’¥ißHÄ…‹Ó*Ê+çï‡6Æmv¨±îr^25øÄ±38Âvu墜Næ×94–Æ;,§¯jå4"¼d0éÁ½¡ižÖ­ù´®“Þá·Š»C'})FýÄQ?CjÊ[ãºGε铖r¿,SòË €„ÿÿµWBÚ¡rðâ› U4e|øi íÔœFÓ}s¹n‡7ÕMH_éª&…‹ë¯#²é#Us}VõÍ+Ьú´_´äW÷Ñuç5ÿ ݼÔÔú’¡Øý¶0Ö½Óþ}üGnÌÿÿµkCਓ‰]µŠ©öUKgFku¸ynŒÚ$ôåOÎÕá¥\%#u¾DŠî\í±'œIë%ÂJ‚pëX'†³w9Ž´7õu÷oswk¤¨xÝš‰Œ[½è÷Õê¥û%| {GÖ‰DUƒjuk8¾#9V‚úÿ«;µ9†@uèG3Ór ½úÒY:Õ1û”П[s ÉâPdœÍD ÓÝNK(ÎÚ¡NR÷Ö©0‚Ã&óEÒU“CÛ)‰U¿]]±’úݦ5Žnm žOZ»¨WÓZº·Þ©›h¾þ)€bHY [«åJL¡L(Ñ[ñàêv£«!”q™‹«õ‡«åƒÞ3@6‹P!F¨òDWOí./¡4±W8!ÛM_<áK;Ĥ\[!ãã‹/|-yrÜ€-ì±¥%R¾Ê››ð¹ŸpžÀ¥™F¯Øq¹‹Úi{È€ÜšÛ Cÿÿ¯{•áæ¡‚ ^¢©Û¢Wÿð«ÃQæ—‚(90q$'£m“ÔOû¹dE’‘Ø»…Ĥ:{ðÕºÓ½:¦NXawªbšãI‚ÜoZ›?!ÙâX¶®ˆM"¤í€ÞõŸÝe À}¹£Â0Tïi'¡”$MtÄ¿‰y/ Ÿ]n…`ޱ"››žTÝÁõݦDtŠîÝì¤'çãB}˜p• •¡#óÌÔÃÖè€H“·Á#©ÂBî_oµ6eì¨T4Ç>@¥E´Ÿ9ð\q‡”:„ÆÉÑÙ÷e @Žä‚ õÿOwjc;tÉSkÖJÁ—=|&¿˜Õ‡€ŒÚÉa…ÆØÅT±\Ë$ÁÁDyÃ<_¥ˆÜžÝÇ&2\ÞcRØ[O>x’Ô«oZ ]rÇu윮óq¦ â±qªÖ0ÆIYb¾bªyEJœúüšáoÈ1ƒ †þÿ_»JÓ·u¸$fÖvóê¿ö$3I²Ïì)a©}“Ò7µEç» u ®**s"ÊD>7@Ú„ÔùGíÕ;hOâì|G™â$ŽÈ÷®:qkG´ÖïöÓ½*¨HßµŠŒO‰Ø½³úQ÷êø»¶`ÇÊqA˜þÿÓN&¤iK™\dóBD)ÅWø €¹Ç3aHn¿IɘŒc%·²! "ÇÆŸ)= Í \]à+€îª36u×¶bÖ.ALî‘% ¦C+ñ}Êvß‹ûØjb‹K$ ¨§ºpÍä¾XŒÕ±ÛÿY=È€œ3ÖB¨ÿÿÕ®†ðàÚÅAÆ+¹+Â-½ùó´–t§®kª ˜œ?ñ8÷Ó¹N)Å+'=?í$(ªa3?J¶nÏZ^Hºž’¨ãئˆ”$µöSc!¸KhrQRÿ\_'“Ü_|áÓŒ•Þ×ôª¥Ï­#-][r­` ýÿ_?:<™ÎíÒ¡ÝŠ’ 37ºõß¾ „„ˆ‰ÂÏëPshu޶º0ŽÜV}(~ Ó¹uW2`œ¿=q‹j¯›Œmâ4Ýø ±6%÷ø¤Èî­: 1É{ÒƒïÇ@=†Ø01-4bZØ2/)ÝWr3 L/:ŸPKT@Nw™Ð©ŸŸB…)µÂ&†¯Uˆ^yâj\`s¾Š WEGŠß LR[ìøäµæñ\~ÇØMèzÐÜP^*60"[÷ €ûrIèýO]ÛA}F4«Ð"ó“΋Ÿ$™KÝ7)$ÊtÂÉîÊÐ5(2Õ;õM¤Á¹b;AU씲Çó]C&÷«>ÆpyÇÈÔ·“¼uˆqËôÔq]1¼îSu6vë˜Ne¯ÊN†µïÖ`õ ¶äœ1 ÿÿk'AÂ%Á.: ÚVl‰ƒ/ËL2ðfŽ6 •”·Iw êæjümÓäobH tÚó†Ú¸´=QLc/]d •Ñ6ðU)ùKj“€ãÌ£[íUª¡VÓ‰l¸u4»ïêgªÚÔ_«:_“‹lB¾jKrÌ€ùÿ«ÓZ# l·RRû ‡Áξt©±‹R]my±›Ê×*»ˆsrñL?E"÷?}ÒèKlôs´‘E*&uqC“ËÙ4bÞLi CCÜNÜ“ºw°åo…{ÆSd«r_ŸöiŠøúöœH¤õ,é_¸9ƒ€a¶ÿÿtO°8³-=ê-Âj0A'—|ñ—ÎnÙ´–o­Ÿ’Q=+SoeþÜó†Jñiÿ¤±g¤g„Ùè´ æ–{ŠkMŒêx^×=‡ã‡¨Ú^ 4ÈSoµ¡œt6¹nù3.ÑÔ¨óޤ.ý ¤™â™5X| ¿µKòË`„ÿÿu×7C—2F‘@Á1Ç—†Ÿ $} cK#o褙ö›€LÈóžQŸQa;ðÈ’A܈¿í mÖ'ª1QÜ4h2sªÅò§þ$ð œôþ3ÎÚ[À8ßc†Œõ—†àfÊvfšMÃóÖ|[Ü6¥ßÅ#9掃ÐûßÚµix€“ƒlm´?Á×_:TL­¼S Õ2Êd¿Á.\*b‰sœX¾ƒRt·~ïi5/Õ<É-ÓMjÍå ©°iß5‡ô8»$ÅÕæÑ¶¥|îÛØš G¡QjŽò')!£Â÷Žb¡“=èdÏ(£`Œ €²…? FÁ(£€Ž €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! ùV0ÂØÿìÁ,Ë$i’âa—íâ¬X ê±_¯†½.·¹æ™Ã.bˆã>ŒÍði»k1ËËrâú³ïNE«Âo¶ç©´F'o·—˜ÃGµ~ƒVgÔÂâOx”^W÷åôŒªduuu2]>†±>«˜ÏÙÙª3-Óy›Œ›ib<¾6ìgß-wgŒ@Aÿÿj¹BËÎ&6°0ÆMP´s|ùÅá×”RÇWðß>ý'ê;S@”«Aû„‡ |ZSzÒNœš)Ž@u•ECuÖi é .ñWÍŽ ã.TÒtþ).#íQÇÌQ[›°‘(.á*j ±‚μ„¾ µ¤³ê8B‰‰¤wB‡ápÖŸýb&~i[òÎ €„¡÷¿µ-“IÂs‹mLå þù‰y ¬¬ê}±EÐ’e#@7wº[S«ôx¶¢˜|r¤}Û¿§õŽ™ûí,-*C;ÙÑsh|hÁnkM–õŒÍ—Vȧ•i9¤ºdúÛ|™ ÷Q>qãgqàæŒq Azÿ[ÿÕ4¥¯ãð ¡eá5Ã'Fn,F¢äÓâ,òÙDÃjØ€‡»¯BS #¦3õ­¶ ôS3N ¡S[bðÉ·#,NwŠC}®y¤ÆGSÝÔÜô?8‘nbþ;’Þqš¬ Ų'qþF>È9c€b†ÞÿÖ•g‚K‡ïV•Z“¸ôÅø›ªKM¦†ÎAt1`´wÖTSkÔ.Gz T{£*/$|QI­ÿFäi;Q_×W€f»twv“ìüunbé»ù"bÛ„B³ͼÃÕž„^KJø¿´Or­e„Õÿÿt§@Öt³K‡¼b5Êע׿tÞ;tœ]> \E»;A¥p1<ÝávsœÉqdÁä$µ8Gu—ÑV·Ò³D­ºçŽtŠUÕ *_`kÝ<%T :Ú¸Ì Y +.Œ ~åÛÛõnÑ@Ìq¬öͰ3|ßÊ€»+FAÿÿu«Ç ‚Ý5äœ0ضôú”d`µq†âf¸·"žˆB’.”x£QN‰H±$Tù’$çžc[˜ÂM×·”¡2®éÕ>çé¡ÃpKη›ë&3ƒ@^äRwÕ™½2·n“Ûðu ïÜqAzÿ[»â{E™ Aù´|õ‰yšÊö¦ìà¦A)Ið)—$O L†÷{ØÀ–±ðSàëqÉOàeïIÊðv!§ó¤vÕgÊÓêD9t£…¹«¡I­ëN [Š91"4©Ç¦³hdò;[[.)€ ½ÿ­[C̯‚6¹ *Tßøøj@]“™<Ùš ÏmZx6[ȩᦙÀœ °ŒÍâ5ì@¡UÎñ¶Æ 0­p(ß\ 8]ÿÛ»Õçü§Ä’å,‰r“k³µ·±wkó… È/ƒa†ýÿ×\«ÊaH\ÈmЉie^ò5ðí€ÒsƒŠ¹DAƒœ4­Ç\ÏœKñ´4½# MS»KTOÉôÝÙKi={ïÚÄbµ©¯)¡4›ýsÙìÿ˜Æ-”mv}rÖ6Þ¦âÔ˜<íÓ/t @~¤Â ÿÿº«ˆ:A‡vªÜ(}áðo`lcuÂHDl’Š’~š›BÍPwç”Ýžxnœ sÛÓ;'‘c<ÆPâÜš…ÛŠ“*'˜)¹¨Ýgú£ö“رp&.óÜÄcçØ1¥aÏU2nÿ{›ù_Ô€{+H„Aÿÿu§`ˆ:½tÈKV´¶å‚^~¼š-" ~Ç¿ýè8î¡Q¸ Ji·É„¤Û§ v6n^HJ#—õß¹›½)…˜Ø+¹p6ŠvM*†is'¶êÆÙ¯MPîÑG’jIE¾SÏiì¨uYâŸ|çӗ8oî8à ½ÿ©Û©Re=°d‰—Hù¢±ròãÕ×R¹–ó, -»d¤5´Göu¶y*Rª°U#SELgw$Sу1EÞ³U.ÿš {s#“ºÝøÕîjR¤}t¾åÜSÌß"!d¿‘ ü]ùÊâ(×]…WîÍ †¡÷¿µ“ Á×$ù`Áj#hÓtðWNíyRdm›éph­Ž”À“™ºâ6‰MÖ"M×ö»Byž%UòÓYbŸ”ZÔ¶ÏÝ)Ýë-Ž#sŤ¸)!ëžÔˆP]ñÕšÎJqO µ^S`ž´%€jãz†"&S R¡î).µØZkø* tsI-¼‰ú@£$ÃÁÌBojÅ“Rx’ÒÛÂð…1²Ð+\qF(Ýáj(à’#§!¦"D–ÃUáJ7¤Æ©€˜|I(âJØÌ!µÇ¬ŸF zo¼B¦alB5=¾V5.>63ˆmáÒœèÐ |]ktw[°j½ÁôRƒl.uÈþ!'ƒàËŒØh\ò0@¨‰.¯EGL/ gx›81ñˆl>® …X?cãS!QC ±½.„XÉL†³vïÎb¬Ù+Ng0Æ¢2E–eh‚³8kq´I‰z]T–2Gd6Åó%"È@ÒnµY>| ‰`§ßãóoÌF¿ÀÍXë^=vxþÀóÆšek-Σ·½Ej @f22k±ÖâU|Æaóƒ™s¤Ö <‡Ò÷ñ«5d¢ñ$´Z-ª~@µRcŽFáÏÞ´„Ž,:½¹¹¾üû¿÷Û¼üâ|ßGzÂóðr¹T‚€f³IµZ!|: ç8pð ¹9Æã1·Üùa°¤ž@Jüß—x•+6]æ[³ =Ó¦Ñj>püÀOn_Þþ§÷" ßíb¬’c¾”ö3?Ï›Îíukñ¤O!¨ÂDQ„ÔkuffZlnl±´¸Àîλ½> ÕRiΟy‰¥ Êb« ÒŒÔ¦h“2 GlûŒÂ½Ñ.Ãh„­x÷†Wûü^¼wM‹”Ç„Œ†‚ ¤ï£µ" C¢(Bk š&;;=¶º]œu4š ÖÖ®T*¤:Å“q“fKss´dWºw>?vÛÜ}t™Z­Æ$‰ÙnÓ°RàÕ*?xð£·ýá {!kíÚoþƯ-?ÿܳ{ò‘r¯ËàH…NSßGú’v³I¥Ra8 ŸÌ ~ø¾“ôû#&qL’$øR²¸0ÃÖÆeŽÝr”Üs7Æ¢hÂ$NXö¹°»Å¥Íu”V$J¡µ&Ý®ÿêúWrX._ïMÀ9·ÒÝÚ<ýÙÏ|ß—~€çK)ž‡5–8I˜Lb²,¥Z­Òn·¸ç#ʼn¥iš’$ J©éò}É÷ÝyœÞ`€1†jµÂìÌ ó sÔ*úqÈ·Îýom¬¡RÖ)v{ôÃsÝö‘p°×/øoHœþöß?½ò[~qÊÖX‡µ!RJjÕ*‰RÄqÂOúiA)Åd2A)E’$ÄyŠcµZÁs çÀ9GµZáà%æçX\œgqaŽšðåoþëý.ÎºŽ½<øøøò “·Åñ=í´sît·»µòØ—åâÅ·ñ¥Dú>Rz{ã„D)>tû|üÔŒÇc´ÖDQDE$IB†ŒÇã) ¥Öjl–rôÈ!.-Òh68rè ³³mæææh6ê„:æOŸùþáõ³¸Ì|=|öß?—ƒŸ®kÚ8çV€ÓßøÛ¯óôÓGŽkY–‘$ ¿øK¿Šs‚$I¦ ƒiš2 DQD†(¥Ÿ­ÎAµ0;3ÃÑ#‡8~|™ã·Þ²Gfn–±ŽùüýÝÑ€tµww|±ßLNÀ\“•B<éœ[þÄÏüÜã?~ê+Ïýó?òâ Ïqþ;¯Ñh6xàÁO²¼|| \)…”ß÷‰¢ˆ,ËÇT*¤”cPJ!„G«UG @ÀöNŸI†!Î:”Ò>rC ‹tÃ]¼ƒ­q±ÿÕBÍ€»f3'„蟎G'~à‡~äñï½÷ûOîôº¬wÖ¸cùêõúôÞJ¥B–eH)B0™Lð}ÏóBàœCks‚ápÄÒâFƒ…ùY¸uùfÚmêÏ_ø¯]^!°“t¨ºÇu»ÑÙÖÌàG/®¯­4š­Gî¸ëî“K9”RT*¬µ8çBÐn·§×…!¦·Ö²´´H·»E0Dx<RzD™â¯Ÿ}ž¯½ô,BxX~+~uãË2¬µ¥cò}ƒ™ê˜õœÀ¯U°Â/°dÂôîäÕxkøRº1º˜ë½‘ƒV@µD¿)iš>’eÙd!0 i·Ûh­QJM H)ó°WI§FfëIo§ZGÉnÔÉ&js€µ\*•x-'áçFôÆk ÛížHÓôdš¦$Švéû>išRÎŽ1fZE'2ÆzkôÜ ×Ó9Ph-'PX“ϸ,þíÝàÇ0Okýéb–IL&“½è&É;ˆÙ|7Wœ‹½Ý 9ØÂÔrÉÔóUË£_Ïåm€w#àÏó©$I S Zkâ8ž- Öú$œsÓVëûþ‘ü™2[/HÒ)d$J8®ë«Ä<àgY¶ìyÃáF£A–eÄqŒÖ)åt¹>Œ1SÅ— çÜ<Ð.Ùd›iZ’OZ’_rÑ™#àÏœ9³R´È 9çHÓ”4Mñ}cÌÔJGQôŽVÉ[l4K`MI&|^”êB»¢ˆÀx<ö‹èJ)§¦M›|Puš¦Óm©sn:äòá¦öi¾ú. Ý»ì],`½ë_è4Ã0(¢]¯×ÙÜÜDkM†Xk™L&ÄqÌp8¤ÓéLk¢N^J©/]º•4îçEêçïû:Q±Šì¸É€|衇¾Yg¥R¡×ëÑï÷§rŠã˜ÑhÄÅ‹i·ÛÓùPH¨°qoïÓvP~Oa™óÐùÑäç×ìFž€¿»»ûª”ò^¥Íf“ííí©ßBÐétò=4h­±ÖNmv~ßî[o½µYÚÚ}Eœ•fÃþ•]oþ‘W^yå‰bÒV*¶··I’„(Šèv»¬­­Q¯×ÑZ¿£zžÇ`0¸töìÙs9˜8_ •Î‹ë ˜ä×t©C “׼Т_$•gžyfýþûï¿KJy[–e¬®®N-ÃÕ«WqÎÑh4ÞÑN{½^çõ×_£Óélç ’‰$çD&ÀØÍ­Å(?Nò¥-¯·…–ЬòÔSO™ŸŸïµZ­CµZmáüùó„aH–e4 ºÝîúÕ«W¯¼üò˯¯®®n(¥Æ¥ £\”ƒåÇaiKà‹ÿ›ŠkÌ€WD¾4-›À 0 ,³§NúX†Uç\õÅ_\Ëﯔ²XL¶¤e]’GqŒJ„ÂÒå׈kÌ@ÑŠq^x“VNb.?oæ«^j²”Å2h“Ÿg¥ÂTù=q~-*Iª,«$¿÷š&qÑ!Dþoߥ†Ê^-/£ây*–˺¨-e@åçª$¹"òE¯yOìö “´Ê–¢8É£”\£·¯Mš}ÒÙŸ³Ï²JJà³!PHÿ B*zg@–<++|~’_/À‹Ò+öÝŸ–†—¹î[ïRв4=½}5â—À{eßRÒº.]7¥³ßâ›R´m)Źû $Ý’vÚIEND®B`‚RGtk2/inst/images/gnu-keys.png0000644000176000001440000000741411766145227015746 0ustar ripleyusers‰PNG  IHDR00Wù‡gAMA± üaÃIDATxœí˜kt]e™Ç゙[rré-MÒ&iÚ4Io´Å¦ ´ÒŽÈÀ¨C;D™gPQ†¼T•²Æê×Tg´ule€‚´¢Pš^Ò¦—¤-msk’æ~9IÎmŸ}y÷|ˆ¸)¢ÂÌ—þÖ:Ÿö~÷yþûyþû}Ÿ.q‰K\âê»ü¬2 àC^‰ÅFíd"弋ÏK´¿t᪵ËUËrL+éÍ·RéuÕóæä-©YVV^ºzÍÚU+W­ —”•(=ݽœoí `˜L-(`Fy9&NÀ•šªaYVü왳Év½°mÛ·íª:ÿ/LÖ/zßeŸ½fÍÕ¯ºúÊB01o2µjyñù_³è²Å8®ÃPÿçšÏ±î¶uÜpà H)B0Äãqm_µòý[úûû¿ È¿VÀ;ñ@V(\{Ãß^¿îº¿¹fr(6¤  IG{ÏîÜÅæÿøÉx‚3¯céKàÕ½¯¢( ª*H$â|ñžÏ)ñT¼4h×?å]È‚òî¹üëeýÇn»eŽ®†©‡š¢Y9œkj¢xú4J¦—bè¶þd+W^y%ÕÕÕ¬ÿ‡õhBÃÐ š›š¸ûîÏÐÔÖL  ’™[³|aåÛýéœù³ßIl2F~~þ‡®¿îƒ+÷¨Õ&OÊGÓ Œ@UÓ©®ªâø‘|àA<×ÃÇç _øŽã 8n†S§Oòõ¯n$I1½¤UÂfV^~î<`wn~®ˆ ÅtÓ4'8ŽÉÉÍž-„Z¦éêXYyñÙÞÞÎTÂ’€÷æßÖª¢ÖÜ{ß½Û¿ô¯_šŽq¸®ŽãÇŽR\RȬŠJŠ I§lÚ[Û8yú%e¥¬^½UQÑ5•M›cÏî_‘•“EVvÏ•xŽK"‘ ¯§ï•y‹«n ƒ•/ï®»ñæßø’ò’iK–,ö55ä4kØ÷ê>+cY­Ï=û\mOwÏ0ð ÐÎxçmÿ×O~ú“/œ¿P „¨Be``}û÷ràÀ!ÊÊŠ)-Á¬Ù 3bÃÃlýÑÙ[»—i%…hšF*™$•Lc†u¬T††c§ÁPðÀôâ’Š;>u{áäÂ)j0Àµ%yyB’Ê` èp㉸õ퇿]WWWwôBç…ÇQ`ô¢òróJnþðÍ'¿ñÐ7†j€B4EÃ4L¤ï³oß«4Ÿk¦§¿‹p$ÂâË/§¿w]»þ‡ÁÁ¦•MÅP5úb$“q¤ëÓÖ|žtÚbáå—±öúkœÒ²r=šeltŒ_=ÿ"GeÓæÇÈÍÍG7t¤¯MÓ0MÓ÷¤×ûäö'ýÃü°þøñãß½¨€ÂÂÂÍ;~¹ãîòòrt]G"ñéIÏAÓ4¡0º®‹ÅhhlàÈázFÆFÈÉ 3:Ã÷$ccc$IFãcœ8zšÊ9ÜzÛG ‡B„B&äMæØ±c<óô.ª««¸é¦›)/+ÇW|Õ¢|f9ápEQP… <ÿÂ.·¾þøÐÓ¿xºúb&ÎÎ8™ÒŠÙøîøîo¨R‘¸ž‹°inm&77JÕÜj–-_Ƽyó9sö4gÎ"•Š“JY8R"}Ÿá¡·ßùqÊʦaè&šj`A4Måà¾ÃlذkÖ\ƒ¦k  ³óéÔ¾ZËÆolDUUt]§¥¥‰_û}ƒ}RL7^L@éG>ú‘2EUPuðéïëãøñÔ××ãù.+®ZJñ´Bz{zùþ¿of$6JEE% Š;î.ß' ÐßÝ˪Õïg΂ùHÏC× ²"Y˜z€@0H__/C±AŽ=Æ¡C‡Ø¹s'K–,aÓc›ض͑#uüÛ}÷ct¦L%O²xɼåÍ@QQQov(»ª­£Gþ&]]]Ì]PÅe‹1µ¨€ìHªªSPXÀ+¯À0LÚšÛhhlॗv“HÅ©¨˜‰c»H–.»ÓÐiiiÆq,²ª*QUáÃí·‚×ΞáÕ½ûÈÍËå¡GbÖÌYƒAžx|;wî$;7‹p(„¦*˜ƒ–æ–ª‹y øÁŒòïËËÏxãÍdá¢ùÍ0 §xþ…Ý öö³ó™_bÛfù»/›ª¨H_ÒÙy_î|І'˜<©‡¾ù¹9¹¨BcÇŽ§8yº¬ìå3Ë™;g¡P×s ˜&¾ªÁpl˜Ç}Œ£G3½´„RKÌ Òv¶5öVý€>3½tZ͆O~¼ìƒ7^/fÌ(£«³—¯=¸‘žž>.\ÄàÀwÜùI à­­áÁa&Mš„/}TM#;+ÏÑ#Çøä§?EQQ¢*ÌŸ;ŸË—ãz’ÎŽN¶oŠd*Iii¾2~nìçË÷}™îÞ.**g‰d‹‘ÉØhšŠ¦+HOjo.¡ˆaè‹ïüÇ 7\±rY…¢¨"޲õ¿ŸàÜÙ&6>¼‘¥55<óì.<×¥­¥•-?Üž÷pÓÍ7QZVŠi˜ öóo=BÝá:’©=Ý=¬X¶Çu°,‹¤›K–ÔpõÊUܱAR{`?ßûîwÉÎÉE 'OP6£ן‚"#±QtM! 12Cúž”Ê›K¨âcëo}ðÖõÿwcñ˜¡)ùùˆ ŽR0u ùù‡#<ú­ïp¾½ƒ“'©YZÃ]ÿt††ùâçîå|{EÓ èëígé’+xtÓ&©8¾ëc;6®çŽÑ„@Ó5BÁ0éLšî®nNŸ:…í¤¸ÐÓAr,M"1F*™&™Jáú.©x ¡Hñ´û† L™2eõº[o½ÉJY†›ñ‘Š ŠŠ§¢é:ŠP‘,²³³ÙýÒnÂá0ªªâã³ûÅ_ñ£-[H¦’L)žŒišDó¢?QÏðÈ3€‡‡çz(BAø8¶Ã`jES˜R0™¡¡!z{»HéáI#`ɤQ…FBz(¾B$’Õý‡Ìše5wÏš5+0!wÃ#Ãlßþs×aÑâ…0ƒø Ÿ[Ö}”P8‚P¶m£h ;žÚÁÖ­?&šeJáD‚x"®©ô ÷ÒÚÒJUUŽ;~Ðó¸¾;nð%Ž'Ñ4 UÅ?‚ø>D"YÃyù¹ßÿêƒ_¹å?·ð³í? —Ï,kšf:Žƒ”oÌ„m[¸ž+¤ç¢k&±¡¹¿öàñöópm÷ØïTTT,›]=[(Šòûº”Þx3޾¯SEŒ_Ï8R©Žë’É88®‡çI‚¦ª*šŽ"@Õâñ³+Ë_ŒF£¿êîêþâÕW\ýÜ=Ÿ½§©¹©ù|v4Û ƒ¨ªŠÀ²,\W MÓÑ ƒó-í郵ugóósîrm÷ù7d m¥½Ý½íšªùB<ÏÃr-¤/ñ<!žôpÜ7¦]Ótð\|O¢j vÆÁóÁ“>¾P@(hB;uáÂ…Ï5?=Èx'uÔ÷ýyjûS_ºöškO¬YµæpÝ¡:+>—š6¾MéËÞî>÷™»Úî«Û¾dù‚;O5ž;üæ’{}#»6//oÃ<°xÝmëòMÓŒ¦’)||×ÁõÜ?ªUUUéì¸Àkgèho#ã8Ø™ –e“N¥q‹3§ZÚ\/ó‰“ g_~K·‚ ÌÖTÏ©¾º²²ryAÁT[QeüÀþƒÁ¶ó­Ï&¶e,û7\dª÷ºÈ>“ÍYðäŽ''UTTT™3šL'ßÒlªªÒ××K}ýA¿³«CøRJ%A ’é”êÄk£Bãöžþg[šÛÿÔŒT²€èïâ˜4«Šhõ¤Ÿz»…o>JhÀBàÎÕkVÏÝúøÖjUSÙLÏóÞ DUUº»;©?vÐëììT¡aYvÆáÈ¡c=gN7==ö'ÿ«yóiT]ÀËm-mÝÛßV 3ÓK¦«ÑìháËqª¢Ò×ßCow·’L&0 ƒŽŽ Ní¾C½‰DüŸûzû·ò.LÞþ\¯“Τ’©Ã/íyÉÚûÛ½ÅݺÝeË—…r²sMÑÐ5ž¾.bÃÃ$ ¿áDcêx}ãk+V.þNg{ÏÏcC#4Ãy/x'³QÈV·¬]»¶êÊ«®œYZZêŒ Y{öìQ~û›WR‰ä¶ínaƒÿž¿ù×ùsÇë âw¿¨®ŽkwD"áß&Éöw?¼K\â—¸Ä{Ìÿê;Ô$Í誂IEND®B`‚RGtk2/inst/doc/0000755000176000001440000000000011766145227012770 5ustar ripleyusersRGtk2/inst/doc/overview2.pdf0000644000176000001440000034132612362500440015405 0ustar ripleyusers%PDF-1.5 %¿÷¢þ 1 0 obj << /Type /ObjStm /Length 3813 /Filter /FlateDecode /N 55 /First 436 >> stream xœÅ[]o·}ï¯à[c ^-‡Ÿ[yˆE›"HŒ&€ã‡û:šX$é¿ï9ärÈ{µ²,ù&…Œñ’Krfø1sf¸WÌlœY’ñÆ.‹ Æ;k¢‰Ñ™d2ê³±ÖÍf1ÖE1v6Ö‡ˆ:cƒGTEŸðÒØœùÒˆe!àÿåhD”“—Ñ)ñ™¼Œ„hÌFbd'#‰ÿ‹‘ÙØ8;ã¥Çÿ™ã8s|ŸŒ£’ íã¢GÚ¤ èdü >NŒ sÀ Þ„ù\0q†>ªæŒr2IÍ&åã,&‡„Ù˜MN`â-&Ä‹Y,„ò˜³>œ‚Y2ÎÔõœœ°  fÅ.Ðb¡ ê=&Q¦(`bœÅ°3â<c(ÌoŽ2Z·@¬€‘ý¼äŃCN»·)ÿéÓOÍÙ—o¯MyÀT',â7|ö˜°–õ|b{„Zåñ³ÏÌÙ×—/¿Ý_›çx|ú¥9{¶ÿíÚ¼À«Âà ìß^_™°ŽþÕþÕùîó‹ßÐ~Æ_XÂ$ 2eo§œ¡Ã Œ³»Dl–Òã›ýÕŻ˗û+#µâÙݳÑO{åòfwI9®¨xióÅÛ—¯ÎßþÄ)©BŸ_^]³§­èýy•BÌc¬æûäE}óÕîúò¼H8Ís\R‘t|F»ìÖá°:æìŸ»_öuæq)Ùñìüíˆýy™söí»¯‹.ÔÈ5ÅÊšœ}wþêúÍ—¶Nô±žó‘ž~9Ö›êXOl?oâ²¥'Ô÷MO}>нUÏtj=}ÞÖÓ§c=ã =—='(ŠÍ>'*»µ¢ÙE]Ñö|¸¢Y5Å®?µ¦áMý±¦îXSn¯QS_—Ô˜ ­%•9è’¶çÃ%õ}IÃÉ•[µÇŠÎÇŠÂ4m]ì8œ½°½uïÔ“×t9µžn9ÐóâÞßßÏ_]a̺ˆ¶êlëÚÛº©mí(õ]·{ÁÛ¹«6ú¦½,3—mÏÑ+ÜÛLç7Óv¾ÛN»|´ \:ÞþÐN?vØí@þỽ0ÌÓ©wAÜÞí.+ê=>ÖÿÚ‰?^Q{rEÝ¨èæ†üø]¸œ`Þ8EØ!Šó Ä÷ÿãe¶'9ŸvÊñ,Äò÷UEN5?ĆÉñѶÇGfîàhÇâ±ÇÓ&ؼûSíùGû¡ åî½Pn¬”»u¥Š+vꊥZ©ºÈò‘n÷´SáO1÷³·¿ÉN!ÿ¦ýxŽØy*³;þ9;‰Á#â°ÜAç¿ì§âgò<-@ÑaBܜ܄2ÍÀkÎSq®,ø°|àÃòË>,ø°Ü}¿kPQ4–¡ÓÑ`†NG£: gøÍ€Æ3ô@Ððhøm€†4ü>@cº# jèŽ4ª¡;Ò°†îHãѸ†ŸTÌCD%óRÉ<ÄT2A•ÌUÁ–(¾ÁŠÂ¬™(ºIdª. LÛ`ÁD¡ ÖKÙ`¹D ÖG×`yDaMæW$êÂøý‰º0šDuadÚ$ÀŠ"Ì™( Áœ‰âÌ™ˆÞžì}_ºŽç¦yÜiLI:b¥Ä»|"ÀîßÈ´è –S¡µ%pÚR vg•3Xâ‘9nm³Ö— ÃbÕ¹X9”VÌQßVdò5‰»J_zº8åtð `äÂA›UÃZ_À\­©+°®Éо¶Á¬—Àᬠ0¾¬×çµyaÞî^©áa©„‡QJF€™å“gx’+AH*híƒ3È ìØ7Pð@Á(Äùá Ä›†e9Þ´| ™yÅÿ+J{X†TJl=€µ2€ø»ì§Áš¸¬‰ÁšhdKÅÄ`MüÖÄ`MüÖÄ`MüÖÄ`MüÖÄw YB·ÐŒr:Xãî`‘Qk<ö¬1`ìÉòåi+ñûS u9Á¢±.'Z4ØåüŠF»d§Ñ.¹i´+,4Ap~E£]œcÑhוï^[C7!Š—o28öQȈ> £ø)ŠÆ*ˆ‚hƒŠ¡=]ƒf=èŽ4ëÁh´‚âç@>šõ Ÿ&Aà×¹MúÅΘmQèŒÉEÎå#]­`Ú/2¿õmH °9r­@A+è· _`…ÍÄ©ý"*ô›¨0^H¿ `va­ËZ—´:…͉_ ÕÍhuóZÝ<€V7 ÕÍhu ›3ù(h%Ÿ´:…Í huv­ÎŽ 5Ðy¿ŸnØ¥Þ.¡ßÇÂJLÅdÆøR!tøiim{SÏp,p§Û£G^x'xÊ\Ò1ú¼LeƒïáW±×˜œ ¿ÆÆ¯01Î`m3¶Ÿ «!*áG¡6¶V¥ûf‚ãT7¦#쮾ínLÇ\ÄÖµi|jõr'¸'ýC2 ï÷OÎŽøÞÙß»ž®žù‹€îÉxº'úééê™P¹{2ìž®&<ÒÕà>¤«Á}HWãìöXÃò'Ý“vOî=Ö°äÞ=nj»Á\C l1ç†pßi¨ÁŸ1h¨Áüœ†Ø‚N3Ö‘¿nPË ®nÈ;uìÄ­ê×±¿œòÅN½:˜:uZ'õéKùÉÅ`iÔ£ÓÒ¬½E>s;û0üºáíïn“_C7ÅúÇ™h;Ã.ÖõëÛF«Üª$btþ"dx>|ß5¨OÙNÒÞÍú?Âî59Ýjš°3~û‚°åHýpbo^ÞÝLŠú Ë“«Œ’­0z.ÖfóŽ.åßÙz…ÿyÄÒ͆¼ßš[Ò«Óz¸¿·¨0ù¡yL×(MÁ°ë”¦'Œ`ØuJóÒ(ÍË@Áa ÂŸ,¥P@-Gé’)e®?C§”ÆE(‹P—8š ‘ WN.ÐÇÅú(¥mPJÛ ”¶A(mà @+ IÓV6lûs<ðyXékh] ‰Ü~àÇ?èë#Nm9£Éö„ËÚh½ iÿ×KâíÍÖY®õðª}ÓÍoynîz<îù5°¼qÎîH­•óuçÁ‰«*G¨Wg3Æšï;'–?­wÏ¿ÓÕùwnñë!—áÇîÈ£'Ô‚¾Kc:%!¦óáOqÊ碋~.ºþ:£¶y±ù]h-~8údw½ûùB5~r¹ß]Ÿ_¼}º»Þ›OžþUæ9Îbælóã9þyžÿühmwqi>y¶ÿůŸ}ñýô廟þq÷öížÕoί þýúêõMþbþµ¿¼Â¸ÆawÙ°Èc;¹y ˜ö‡O¾Ûÿ(OLšÂ~xdþýëîúÍÕ~gþ£ðâQùºóÕ»—wåÅÿœëendstream endobj 57 0 obj << /Filter /FlateDecode /Length 2152 >> stream xÚuXK“ã¶¾ï¯Ð‘ªÑ$¾’“³ŽÇk;e×fR>Ä9@$F‚‡"U4Úõ¯O¿HQ3ô‰@£Ñhtýÿñôá›ïÓb“–±Js½yzÞ(]ÄY™«MQ䱪ŠzóÔþ7ú¼UEô^Ôv—¥YôË+Îíøêìuû¿§AH¹IÓ¸Îa#Ùå:®3½Ù©*®ªŠDüË5[UFGc;Û68¿Ž¶o,RÊÈô-/}wéÓóøi[¥‘=;;mëx榨â4Q É@c]Ð)ßo+Ùýx1ãWšf¼Q%IÁʪj“ê8Ó+›ª<.Ë|³ÓI¬ËZ‘ t»KÓ$‰>õÛ,Â8àÍ£öÒ7ôrç|SÇu¡ ”’€i\¥U>¬š VWÑöáÕµÖ#¥ú\]82‹iëe1 Bãigƃåa3tm@·(lÓU!Æá™—GÛ™`[&vn?šÑYÿ·í./Uôø³Û?é@ÙÙ[ ìã/{à(¢?lÐX‰Š~Eu žÓ¡}»­²èé'˜©:¿›G3í£qãÄMÎD"œzèLkãíNg ¹™î<Qwü6Ãeô–Çáh×=îÄŽ…»î]ß:ÀèGj€åõˆ«¢É¢]'æƒfe4ŒîQd%ß×àwª¦¤ªáE Ý‹ LyF4£5.€³ÃhΠ¾!•ëèâ­°¹¯ìøl tx} ë¸Fœ_ñ ¢úÞx°Êmíë™4šøÁú+†ž5„÷X⦾|ZÇ•ÀÿæÚƒ ~%20¡¤^ ñ}‹Ö¤qȦ°¢9ãé'Vuè­ø$<¯…£ ÂÅ åÉž|$rÁ„‚@Ü8ÈÐèv"ƒÇÿ|¢Rë4©ï]ùt´ˆK œ®oºK+Pð„Jë:#dºà^Ñl²l;{²lGÏ™à‰3#Ôý%„¡÷,‡¢F“öì§Î¯Æ¬ˆ¾w’E.Ø“Ç(Pì—ÀÔ+û„èIÔ¢¡F0ç]Bröͼ—-•FçŒ0å¦ß©›Dö-Aî:mADæš?Ù4£´¶¢õ"BU•£gy@Ù'ó"&¤Ù0N V€/· #û rWžÜ 3#ÔÖ™n8ø‡%p:¸æn-~mßš‘î˜%ÑïI¦Ñ€È[6 v2VÏ+÷‘*[mhÐ&e•ØÀümëí8Û ŒHèØ¼»ÎŠáE™+Ï;£.ܬPM'š³šNÀ˜Ô ¬¤q=&\œ-‡ë×ãàew0þ…9œ,r.ŒÓÖïÖ”2\±ê[έ§“Ð:ŰbrëÀ¾h}˼õJ®ª¥ÊÕo/±ÍÐi>þ]%a÷ú³¡®£Ì+J©—ÙT–†™ÅÌÃÀr]Ë+·saâzæY^¨¢ !'WT¸áW/ý0§åæU«Î¡3=ýëŽ-mj‚—JìÅr JÓPVº¯'GD¬•p3¼ûÕßàê‘MéîÆŒT¬s´Þýi[¬åÀþq`—±#þ𨀩[òÄI?ËN*ä q¥SG„H6{ÙÉ5ÖÌfÞžÍHéggð9µzh›‹JË p»ÕŸpaÊ"Ãà͹Oeê=$rÄþ”FÝŸüÅŽ—¹……»t RÒó\”‚{ÜÉ…¹”ሌMB¼g£4Žº¹UÃ’•Ò©iNË9*à&pÛ ê»w4!@$N(Aö/–⺿³ ߇(ì?S¥m/ÜÇÌÛüšÎ·¬œe\þ²,£ÓáÎîÈ}iªæžøåáŽùÄz\„HxGÞ›1Ž×:—‚×IRÔÀ$uÉ ÌGˆ‘=À ZÔ—µ6&W±ÎU9µ1QQ§Tc—ƒäm3ß)ô+¶|‘ëwŽÆ¾¹Ž†p¥ÎB€BàO§ ¢'À±FrX+Îu‘Þ[xn EåÑ¢ ÏI–z^Üê é}¢TÞRêÞR|`&At"õöÑk‹\Gœ–¡[‹PGeIe·Æ.…$y! •ÐõS]U™TP4†JÀ–´|æñ燙ÍÏŒìr°Ä%SÝ’²ç—‡Ã,JlÂþï5œ?Ãë•<……®Hçþ 1W䂎¶RB¯G:e²’°ö—·l$Js=33Xêá²l5'¬5ö­ð¹gÄ¢³á µÇ;ÏÊ ·Uõ9ˆ~KRçð_JTÞ§§BÉcª“zù^[ñ=K‚8~c $ÍYê[µˆÁ¿êÛ«„M«K¸´SÙ;_M‰OëÁ÷Ài:œÔK$„‘ ëèèSùáy…½¦)Ϻ}'4Š…’îb|ü–Õ_¾k—O ügAÖWk1¨ÊE¥Á/¿m+Éÿ“vàmáèé$hŒ·òGªuW¾—–[¬(†óíy€ýÞÍh%fÂÕ“R°ì VÜZ@žcÑQôCd´Ô;N»«·vSòŸ¿w‡‚—øNëkÿHÐ2ðq^YÔo•C†fÙg¢wtýÚYÊó¸î ^2aÏÀà3îyÄño8ÝJ³¥‘˜+¦ÿ2ÀDΫßò#öÒ»^ÂÔ˜ÀY¯Û¼ˆ€ÇP@ò«(/-ê8ƒ×1ä*HQUYËFXûðϧÿœ5µbendstream endobj 58 0 obj << /Filter /FlateDecode /Length 2769 >> stream xÚY]“Ûº }ϯطjgÖŽD}wn;“d’½i;M'Ù;yèíƒV’mÝ•%W”³Ù_”e¯6é“HA<¨·w¯^â«|'&¹ºÛ\Q¶N^¥~ºL\ÝUÿö~-®Mæ}kºíõ*LŒWu1Ö:7îj¡v˜õd›²he¨jì¡åµO2eÓ‹nû(”ûiZà•׫À®¯F£jvhne¼ètïÂM Èx³™ÿ¹ûÛÕ*ˆÖyæÔÖy>Žlå$ßï~ÖCÝaóQˆMµ­G{C½8ô1¢Ó»ú»Î™dÛ6–šc=ýÇœI/í}Q^›Ô{%ó6Ç®›¾³nëqwb„øNr1Ä¡Ʀ<¶ö‹'Y¥#Z¡†=\¯ u !"ìúä¦3ÿØ / JÄúŸZHʽßÈ·é ÿè0i‚õ°¾^ÅÆxo¶EÓÝœ@TßwØ7Œ¼=xí(½¶.†Nš»¦ÄØNº* v8‰CôbPF…ÅÎ=Ÿ¸lÔ-‰~1qî0Tž©ã9²«©’„ħÃîp Š-[7ºCW9ÑH% ‡š&ìzp~t»Ø0-BoGÓZvÞ§m…|?¶ª+ÒbÅÞ§NWòu(:é­Îå3Žv‹íŒ UªŽã^mXÀÉd WpÁ³ÆyòÊ$™w8¢šÞÖ„ìù±“¡­Ø¡ŠöSèl…3Æ'Ïàà l޼¢”ýA‘“£…“§89:âVlìþM^¹ù£r/Fù’³Xm– 2l§£ÿ™Ž(à˜$õzÚ6N¼?ê’y$Ø™fއ®.HÄ÷æBù°ô%Ûæ8L× R•½›©ÂÊ ?p|vç0zºs)œ|áT{‡¤‘ï{‡¡L®j!UÕ@ËÀ^î;0;&ÍN¸ÈbßÚj:v¯^ÃÜÄMûã(ýŸâ®i˽¢¯8k=×&é+1¹÷á: =Ž˜ô}hë˜Ï—«Çœ ùÜÇ‘]š¦7ºÙPÃ5¨×œ/¨\%15í/LWÊ4ÃvIg¦'Ò0§¶²dZ+üeˆEk{% á¶zx?7ô[=¦4‹®\ôè TÜ6ÂÄ œ™ „¹¹]p<á`xÒaÈq.%,•ŽSätë±\³PÑTlpàX¬ˆ9HèýS¨æ8=]O+£ì‹)ûb%” ¿©};>@Ü:ÆD¤…Û–UÌ;X; .S±/?HÎ!ô#&}ñ&ˆm™Ä`ïG—Ž’ŽÅ„õ|³®ß0$øŠÖ¡páÒ bè„^–ž… ?ºÀTÌpIƒÊc—C¼>9CbŒËF}û¤£sIv—/Àˆ3%Y¡¨–^ZpJ£¢À¨Ýˆ »-ÇQ®[ìîSìÙbÏ-hêhI|RšS€ÉNÊ`ØÍ¼»G‰l®%ôØ]À¬¨LaÒ\ü‰¨a†„[^MÑò½¢ B6Gæ«¿gÁs“àÌy¨îB‹ŽV”OÓ>ÿÉJ£­¿k"MlÙ¦)¢ËÌÝDa)KQC,\5M†¦¼á‹¦>°lìÜ?ŒÞ*E„B³9•$\× Mbæ‡û T˜T•„†dÔhmêGiØZ2âE—cHSjUµ-‡fJ@šr/ž9[%¦§ÆÉô‚äsADÓôî‹Õð‚ \½Ì]wÂÙÍXw«£hÍϽ_ë¶íeè«Æ52¨Ž:B‡¡üw¨¢¾ØÅª[²aý©ìHãÜb+Œ8ÀÍ~Æ"ÂJ³ä‡!dëbË™]˜Ð}XJ%ˆâPÒ=)D˺“©Øˆ8IÔ= µú‰ÕfüLe¦ÝܱšR›Žso!®—€â«$'?Ž€ƒ&Êm3e\gSD„›)Ôe.)?¸¨äÊqgùìÉÅÖUÝÅõ!›Ø¾­YÊ×L—£Ä Œ&¡CC®cD÷”–eMïP7kx·w— ö‰™b•`+s;«É‰™ ÖY%Ìì ²¹8޶-ÔùÑqÁ_CMg’-Ëô‘ò4eSN2E„ï…ÙÆh¸ªmÉOÔ1Ý’ô9ú3:ÛRù7‹"ì™÷†t8eÉ“¾U=hÖS a3ô{i‰M¨±­©8!`%†þL‰Æ=Œ H"rûéþú:& 4âÚû¹ÎUAïà*²QŒõó¤¶~ó¯‚&N×Yž»-E)¡±Q£½kª ÎŒöÆù!ŽEz©1â.µôàë°fJuÉ÷²>Œº™3ã®·µp˜½-`¤é&èÛSQ]M£ æêmcGÒ(Û:È_ ÅVF ”ý(Í"ãŸÛ„ß}ãÛfK1ÃR3 Q?$bì·£K‰ôMÙUD{àÁ°hÈà­¶Pm`èÿð>Ú8p¡Mc¥+ðê×V¾Bä8w!Cd«úz@åŽKÂq”–CËì¡þïQ¯Dû4•îöýY„LrW}fz8p¸³!(T# èŒýÐV¢Ý0¦¢ãp Däºà2œ&xÎ’;gí*yÚ“v#JÂ^º)¢×aÕªeÚI@¹À8?¤¥œAH²K‚5Êm}Šš•#DœÇ–Ø.Ñëã9ÖãÑÉ$Ò*+wŠãDJù†yÁÊ/ÔƒÏ$H×A¦ Ûñá+ø=Âì|˜ç0çëÔÏb]1%¤Â:˜M\ż{Â@ŸiæTˆç´Øûe%_ÙT²­Ýõ2òù|xó/ï_feÈL~r±‡Ä3©Œ;†âT’2•=P­± Šx¡ CX§ %ÅDë8KÝ̲¥„ Pܨùu‰n ófîð´ÿÙ¾-ºí‘ã2ËM»úa–ÐÁüè"[‡c9òË‚9«ÐrÄŸú ³h°HÒ쨩Ý!^GAœŽûË;¬úëÒyñ–žèÌF»^eÑHû|£(_'~˜ŸüN÷ù‘ãeë4Ï"]"o«0òéžFÑE`Zs*Eö‡¶(/ËâÐŒ.Í¿•§г© @ЦZ†‘˦ZMÐ6Ýs§­x àšaã…!ÿÙóÎîQä…Yꪭ„“±“¡idþ²NãG?=Xò2µ3³¦¬”ÍWv)‰È Ù"Šæ.Î/K×-O×q”]âüa ŠäªEšÃôzG=;•3è—W«45zq1HGç¡o•ò¸«I1ƒtæï ØÏ½e`LXo_T2c!á&X¨¿²Ü)1Ÿ¤Ó’”"Åž. ^]Zêf6ùêóµö8»<üSozF§ê;÷ðÁCúC(s¿+¨A‘w;´›ò/ÆÅ×dHÿ˜AslöðóŒjé;ΈVTß®%åuÿT0ĉ}«z3ýåÐ,(u‡Á¸ûíQþ²0_ùìÉj”Ö 5Ò5‹©VMItR6uW2ôÁÊAH…$ïüÐ|'„Pű¥Ó,ùi›Œ‹Uw”C&ÞoïÜÔdk“g³D—Xò4$A@«ïøpÆÀÓ[â½k¨,“„KIB®ÓÀOÏËù.)‡óZ$ÒõzË·»Ý™%Òç*20Ϋ‚/ÆúZ<¯ Œ{ÆG¥y칩œû‘ÈœjåÙÉóJ O›Œ ÷«Ó?8ù¯ƒäØý‚rÎ2³¡\Ä(Ò%ù:Lâ˜ð9[gY¦õ" ½z÷ê¦Æendstream endobj 59 0 obj << /Filter /FlateDecode /Length 2507 >> stream xÚÅYKܸ¾ûW ¢Æºe‰zQG¯o²@‚`gâÀàHìn­ÕR¯¤Þöä×§^Ôk4Î&9ä`7U,ɪâWùááÕÛar—ûyªÒ»‡Ã]k? Ut—™ª$¼{(ÿî}Üéȳ»}”F^aÄ^Õì”ö~ÃÿÚ/;•9†³Nínä²gJ++†“°ü8|aJû¸Û'‰÷‹-†^xZfùõj»'aêD°H­OLyUÇ<ý`ëïþñðÓÝ>Œý<Žr„~ž$Š®ð¯€’T¤<ûÕœ/µ}_IäÝð gäv8èíÀ¼tèÐv¡W µ°XRijÈvèÌY&ÛÃjîV5e‹ºñ÷µ¯šã‚'ò®Mi»ú 'ð;=àý¾¶¤i[Ã}uîuíu¨‹¼o?DÁÌ‚©öÓH§ ‡/ŸiûÛg¸Ñç¯ð)Høòâ¥ùX¡¬¾t-Ù¸*mÉû>â÷ÙœZ‹9RWé*Ûû»}“ßS‰ZlÅBYæ«HgK § ”Q5ü{?1ìoø›wD3µç³iJ¹~8»ãiz·W 9Ì´ÓÂGR½œ @-`SðD%Þw²uÝòøÖvuÉÃÁöÃw/èj¿¹ÕÃÉvhR­<Ã|‰m×™šgà¦Í±çÉ¡eZÓ²%€cp˜U×õÓNÇxP•«ÉY5ú‘l`ø»¬>Q«ée"לÙÛ€¯ LïÖ6û¥·‰!*z±a52ÿ¡ç¡8cÆÎ„wû³Ï£û =Q[àIâÂÔxöÏ©`<;rÒ£ªñQÁñÌ@T-†iz}ÑvV6E‹}&KЧýN s©SWÿD1 (¦®yðxxÀ;ÀÊå^§íJ7••O6ȳiEc¿ {m‡Áv²Åa §òè ²üÞmSºÛŽêHR§Ž \L×NœÇ'2a@™d ¡áßîqªvhf¸ÍÉQEç0&‡Œ@T1SgÖÐ=lÖ›Ît„«×³¸Ü- bpvÜ·ìJgé-by)¸$¢‡lÎ$Kšr<½è Çó-™B¿¥Å³5VGXšKšA*}¿ç¼ƒÛ oø“àN?t  Ï/Ý3<—‚›ò­àè‚aÈàWD°MLg v ñ,Šo ‡TôÚ6ÇáÄãpˆ±wÏ!n3Â=ðÛ àô2‰ÏD¢|5"ü&2¾xyä':Ò²’,{üz­Ù®¯0ª¢š¢tÂ~œL7­àãV¡Óøƒá%Xx5‡ˆ4ð3µ¨¢8Ƚ¢ÆòünQê‡y”Èt—Û¸LœqàÂ$ê7´÷3‹G%5tf¤_Ñä½{+ÈB^†S÷r¢¶/¹¢5¥p޼K¸eÌš²)k` ÛçÊ ‡Kÿã]ÒÀ;\›‚a9NC´†„c^ñÌz¼= ãzÊRpD*[is?\|Í#ûóuxƒ8¦HØÆÛžR©(rX Ö?Ú†Ã~ÀáQM‹Ã¦ç~$ðèO”hÜø‹D `VZ–k˜p«Ê£d¯#fhH­‘v1S蛳o{(ÐOß …QƒËPŒ†•‘ä¹›åÚסÒs7Ã6Ü,Îý4ÑîµÍ¼¼Çxž…ì"¸Äüríe„Ú|¾y™y “ü÷8yì§*L7v—Tžž™K¼ôºw¨Ã`­wŸEðDì«83S‘Ô€hSÈ $%=FfHA&:ŽV¨)Ó­ü"BÈêeºH7¶LÊPŽ*¥0—)H_)J|µ2ñˆRž6Tªs_e©žc"ÚÓ÷ýoÀ!Tg™,BA†õDøž…œ^~Ü«’,ÁÍ:rEŽ¿c½Ÿ¹ÈÅôe½†xù]¤­â¼ø9þü¹Î´ûF’xú{ŽÈ *ù$ GHÞÀ_ígZ¹+ý›NĘ7Ú{h?޲dÕxý¼YùW°¢>:!u"b¬yÔØq¨¨•B€”bZ¾Ù¢ðö‹!H-ÿ"ä£aW°SÜÛ‚ÁíT F’ιç‚Ó•{i®ÏyVŸ!ùY¹.¡È2TkåšISÐÆ —Þ»ºo…;­X×4¢’ ~ç½H:Na0õnÐlèW¡{ÔAƒ#(¡„ ¾ð"CA!¤Æ¤nË]ÀŸt8O rª®9çRÚƒ\o U¤ÒYÍ ïfUÃ4U‚*›ø9„©eŠLe`dÊÀtÏ?ªc\FŠ˜žýY¤Qº¤2I¨€H yåµ°ýf‰Ï•=UÉ/Èw +^Jþ¸Ut|­1SÍb¦´­°{B.k:q÷``€±Ž™ ™Ð~¨ç6 |«…͹…;wI²×a‘­"[€d*þïg—ßÑÛ7‚F ©ºR€™úoŠmHÌÕØÆÓì:L›Û½Ü݇ZûA«%„À5_ÏÏ4uCãÿµŠoWó»l¿Ð·  NpöSõÕµ—®¢f Î<‹CÈu¬¤sÉŸ²:qèD‚¨êÚe|Þœ@È3Ù­,Øl“¬»ÅýòÔ¢4+ñƒaKH|Zý‘DrôyÒú)PAc¡fébå.êØvrÝño÷›~‡@õšÑÿ­EîZ SÖ÷†OÌMZLäåNÖô•{m×&5‡9ªËJQ÷Ô•380‰àDF]ûHÅõ¤¯Øãgš£í—½¶é ®Ùô,|-êˆÌÕ£Lµa‰Ô''tLs?JH âÄ×JP\„s¯þøðê_œ0.endstream endobj 60 0 obj << /Filter /FlateDecode /Length 2652 >> stream xÚ•Y[ܺ ~ϯXˆØq|¿}I‚æ4ÚSt·ÈCÓíX»ã®Çžú’Íö×’e{f}Rôe$SEQäGJóáîÍ»OazUúeeWwWaRøyÅWyûa”†WwÕ?½»ƒííõ.Ib¯Ð4GÓ?Ö­iðuºÞE…gé{¼¦Î‹NiÑî»ãiÍXw—ú‡®?švooˆœÞý4b|<¸õŽÿu÷ç«]˜øe—Ô ý2M#Q²ªsR¦§6Êdé(ÊIŽáaºÞ…ÞxzSo1fÚ ^ŠyL3t ´ÝRS?ñò¶yQyè÷XN6ؾî¦ÁÉ&]Ú| ÒÔçƒmAÜ÷– Ò>ʾ·!X]”ŽãØûùŸÑ1-k_áãò¸ûXõZþL–‰S1Ô¬YM®[´ƒeyù˜N˜¿7Msoö<ïiÀo˜Û[pÅÁ¶‚Ø/‹<&¡,‹¦~€òÂz†pIéÇIR*çΖºÃ× NZ‘9Œ.TKØq‡±Ÿöc×ûê=qáÇEŸïIq3Š \g„;±E@X @ÔRK áã®±ðà„÷ûŒ§Š¤äY{6ÕïIÑ2óºÖ­z0£ö  L×¢€Ür8ût´R¶~äÜ/b“u¤_*ê‰WáÑÕ* 6Ú'À&Rϧ–`ûÔößåÕ90? ·ßUª Öz.êoùÓgæMïö-Ía”îú˜p~L9š“ò*‹A3þ}5 ‡Š²bF(Ïé°*AŸØç¸éü’åÂBc:-3R¯ôº‡‹¡=B»Å ¹ç¤Ä_”‚Êî8-ì͉Fšú¿¶ºÙ—(Jü0 R ‚G.,A²Êë°I?*"`ëYYzŸU7q3ÑMöØ4äÔ¯GøW”'~\FŹƒ)Ögû¡´³ËåâTÛ’*œ8s€öȳ¸`Âù‘ +¤”­Hí4&lFÛ·yß\R'Èâ…2Ò÷xKå2­`Q&^Á!,8gz³%"hlª±ð12½±í#ò[æ…*dËDôe«Ì´ Åå?(ã@¸ ÐÊ]¶ê®Å Y`c³=’¸ðþÒ18Åaê=Z>ÉÐëI)ø$ûÐybQbý;d!ÚöƒÙ누 µpꘑ·&‚'’0™¹iaºH^âFF뻉’•¤¡$sëwHüD¥Ü¿ÅǦ+ýÄ6<Täž(Ü©,íåX‹CÓ´çC½g_<àó#˜Tаv&&Ý2õ½¤ØH8N¸u'G>GþÕ Ûƒƒ`ö ‡~£ž>¹r“IâQIá„åê"\i$7i&HýS†‹Àå<øædg²*rq]ââDß2tÑÚë 0Dø¶½‡ù.”äZì »~¬¾ '$ê*¬-%îA4RÕ‚ ½Kö¨™È.’)M„’sRþØ ”¥”¹Lž÷IýÖ_I¤ªËÿçi9ž+Eæg¡«LUý 6Š2?Í2w¥Xݸè7/õ¹Õ ÎO-*®*Ä×ÜÔ™ŸÎs¤/ÙI<šåJÜ­§®Êã ÌÚ……åi|%¤Øït«÷ÿ}9àí¡\a³Vƒ½ƒc½=¹;õ¤ZÎ&Vuy€a ]ÀØ ßêJY ¾]§ü`3©D…úÕÃâ³ôµ®¢6/¡¸Ý„€ü(r79¹/î…úzÕ*°¦ôð‚‘oõPßësDèÝI†@*§…o°*¾– L7§.ÐÛßàÒ3ˆ¤¨ËGœN¶uµëÄÕlÜéNgsâÜIîW¾¨<#ŒŒ¯¿\î÷<ˆx+粎ԡõí÷SSïë±ÑoNŸ€×¤”w“×Awq´çÄ]ùy&¯ãnÓãs?/‹âµÃß¾Z„n)T–EçOë•IÕbré0¼úVF׊§aCÇ@,Â"“iïázò’£VËSq$*èj !9Ì|ÞÄpßDY±r\NùáȽáÁ¸ÎïåüžÔê#^äˆ.(CN-]b 5l»¼:m^#Z ˜ £¢ôt#–/D à¢Ç½{­°¸¿o€_O@?’Ó©@XÌFÕFIÕ†^˜¥Õº‡b|´'p£ò(QÕÐ÷QŸ!T­Ôj;f:ö }ŸHôVzs६ñµÖOí”ëâMB‚6s€26õ\ûŒÇ¡ó¯Ñç2•‹7Ù¼ºÞ¹[Ô4LüʇÙùåaÀ°Ü¨UYÞxø¾ÖÏ2ä>fË5ÏàÝãÃäÒ󥞟*ˆB¹žqã,ôƒ·üÞ<>âE2q/’|_w&}ç+Ë Éêò×P’è埄˜n98—¢èÚÙMƒJ]¿’¯$¥¬…<ÕγÉ0FKM²áE¿àQ,*8ÌÙÓÛV“uå±K³3íX?(î¿kì \šZÀƒÿ.x®\á…tO—g»'”£@(ä„D³9tt‘Wÿ@àNÓpŒÉrÎ_œÌ¥¯‰ï¤{s—?æš/ü%E8)1šq@º7’Ïr¼d\½=ƒ«2£’ð¸žåkíä{=”†„QZøHØ¢Àækà3Ô{É»xÊà›Ž5sñÄ/Lç7l&Éaå+pÓÃÉ]©EÄ뾆fQ6ƒ£`‰Ës¾ÊiÑ®+9&ëð× :1ò^Š©©ç²˜ÿöPÈJ?ÎÒ¹) ÙlÂcoþx÷æW)MBÍendstream endobj 61 0 obj << /Filter /FlateDecode /Length 3145 >> stream xÚËrã6ò>_ášËRU‡$øÜÛ$•ÉÎVmfkí­2{€HHBL‘Z’²Çùúô |È´3—šFhôþáþ݇OarSøE¥7÷û›P)?Kóø& 2?Œ’ðæ¾úÍû¸ÙÆEîý<< Pxín³MRïwS‰W^ú¡=Ù?¦ù=#Ãsm7¡W"¨[›åÆù v¸ô3œ3i·M°Í¿_ŠgkJ-À$Ú0ã•Z:Rexh8j™@‚@À|3å…$_OGÓðì³î[^jÝñªÃ_‹X)¯Ó¶7ÌÉ:Äœ~ã¥fã•ûÄ5Œý"VÅ’÷ç•+õÚKÇ€ù¦OçÚ€–DEâ=yBfÚI1CëæÐùøCóOo‘ Ã$9YgÏ¿wüS’1$Ù!dûëŠN°½:_$ËSÅ ¦£êÄ‘wéMǨ²¶%îø¡ç‘vIª¼ÝeÚt/Î"ïÞ1˜í ‰è0Ï<ôÔYÖÊù‚ýБò òý&ÕBÄÊmM]÷ÀÛwí‰!b„oç½`…nEv%ktß’p³Â{´zâë}ø¤‚¹ÿ)b? ‚¶«—›Mãkðò„…ÊÀ_e*úý¥»`*Ü£¡Ê®t×éæ`Üâ¶' YO _Xæ~”ÅÑRäÜ Âkø/_…©ˆ/쑽=4ºîùƒ5†!óY„B;óž=žAžýËžÇKÐû•]EÛ8 |l{³æ:^‘tæça!rSþ÷ñRÂIàa¹©u^%€Ë§­šRƒþ2Æü{îZÜУ­È‹¢1è3y¾Î9»s‡~O#ˆzCT¡×r#ÇXߢ»m++è9õ|s)œ&*®.®¶NF©Âìô8´l„k/ä¶Ó˜" âJÛ•µÁ«HTLÞ‡&™Æt´/•…ÞCC‡}ñÕ—'<EŽƒd¬å_­ÚTkfbêZF?….’Õᘼ âx!:qòÙ2Ý¥ç=)%Žð™ñ õ¬~°ƒïL‹}n¼ÔžÿögÜ%NáÌÐY8È€{h1.…÷4hÞ[TŒzŠ4œ'†SH¸½ <ÑÅ¢ÙJÎ:^XÇÌÃÆKÑ¥ó ¸_DÅl™xàÍôŒç™OÖŠHˆW¦Þß²r‚ØæHÉ)î ö4 ˜â-ì¿&ì5kA‘¶7ÙÊ哹d´ÿóU‰ŸäA8³_»f¼*ô£4tÆ{»Â(õƒ<Í'>?¶Í -(øš+(ü(.ÔÜà™’-•øþj+´‚—LãÔÓ({ƒiî'É´Á/»ß †…r•YäçàUGfÛ]?É»Zá~žgníŸßd ÏóÄѢ̀[•cFsNT8š)Â>á%"ˆþfÅÃòA®Ün5„®G4ø•µ•ŸEø–àU -\ùÃóP'ü­ÖX~š…ù¬_å™»æW;ýWåGa}/WÌ{^e€œ¾—™i†Uí?+F“Ñ«  À¤àrÊǵ‰?Ï"Ç cu˜pBÅ76Ì2R€)èà¨e®©§41âÐXÏßœ fG°Ê—AºûXÜñ¯›\qÖ›xýY‚²Ý?3FReà¨ëz§…)aÈc# ù\âQl†äÃoyÁÚEg!ua‰/3©w2ÃQ*ŒU{”¥N/wd.àr¶’€¹ñ…÷hÄ(ßJán'ëÈ 6s‚‰aöR0ˆá“Dd§Œ¢(0Zä!<†›°¾ñ_I^CPûïSêÂOÔ¨³t,âÏqÖ¦P Ö*{!óL@vµì÷N¤¾J³äÕ:Œ#ÉÓ‘³„#gOïVRŠ‹ˆøšB…0M¢rE²Ž|׉’l¢,!=ý»&œŸÂt¦x¿èo‹«ËÇbźôØQì½gÙUïé;ñþiƒ$%P´PÁBÄR¢ [„è `…ýB¾ñ¥ìþV®d;î‚X¡¢œöù §w˜ía‰ÉòÅz¦¹àG43Wúl…†34@ð.„Ljë0 …먅–5•ÑŠ·¨^a]¶ '2’QלF‡ž¿V ‹ŠÕ¢–Uâr/Å%KDpÜMíÀYOGé‹!Y4ixl¦!ŽÌZ0g$Ü8f¾ÁIö¶mV; X5…4Pj<¸Ô œŠRäG, ]…aY\à"R¨„?ï§Ê)]iA%¶›¦ ~\–“µn\1QÜ«Bs­/ÒWÔ(°•ã°ø²bÙaÔL|°ó®O1•Û˜xž-n险Ç^Ž÷gõ4Tâ@`Œ|Dâz5ˆŸ¾Á-L؈•³P-νŒŒä(^àk¥Fg˜PÌ7ŶV’,ÛF ޽ûéþÝŸ¦ §endstream endobj 62 0 obj << /Filter /FlateDecode /Length 1986 >> stream xÚ•XKÛF¾ûW:QÀˆa³›¯ à8¶ã=¬X€ë=ôˆ-‰ŠTHjdûã·^-‘efXýª®çWÕúeõæ‡ZÍŠ°Hãt¶ÚÌT’‡i–ÌÒ" U6[•ÿ ªr±Lâ$øiÉßí—jÛØz¡‚wmÓ¸õð-J¢Ç¡yàåùº®ÖO®œËøÏc;8ܲ¶p„6Ïß6ÂÓnmÕ|SÚ4sXPþoñßÕ¿~ø ’‘`ËØ„E”¦@Da^C²}lKcL`wΖHêÀ6%Ï¡‹8žxØ6¼>ìO<‡ÁO6í"Î‚Ó ‡Þ9Æ<5 Çþ“›ëªq=ïj7rÓq8áÕ9TfÍ–J…E’(’ûÐÁq`R×® i‡ýŒ.ü¾˜ö¡ÀŒ:RÄ<.â`ÝKt`ËÞÉZEkšårL¯mÃÊscñľZÛº>ó¤-K¿­®-Û©vc6{¤ýÀ#[÷-3x$ñe“}¬O-é²¼«Lçö-²{þ:ËÐ{¦ÐÂômpù,ËÕÞ…*Y¬¹A£ãtÙúÓ ç¡qúØ{î`¥*ï8¢t4Ѝ8ŽÃDeø¥“°þ¼Ÿ¨ vݯU¿^‰aŽ_õ¿ PÏoâé½vâkˆ­‚MÛ1øRªL…Iš*êãçÇ?äê;Wj´rTÈ^°S¦óà+Ú ãVÇÁ¶ò¶Æ «áz1O”ŽŒ=Tß"m\wG@bÓ¹mÕ£-="D¡q‰÷£4L¢lê}É!¡«2’ èέ %ÏlºvÇ.*Ra”¥ñÔ[ï®®¹cŸ4 ¤¸Ø'ÍÒà &®Rªtß±Y²~¤¿òjÃJïÖ-Aš*ù Z¦ø;J§j^âP› ê1K2"¾Zëà Öí~IІd}Ç@|wú6F%z‘W è}À`É¥ñ™Êœ@YŒ¼ÌÜ!¬óZV¾j/Öl™F¡ÉÓd*‡a¤çwª›P“"ô3—®«烻œC !ôìjÞÐ[·[¤MphÇ7ÓI˜æ™™†GDm@]­LÄ÷꣉¤0SɾT€é^sN\# Ì5¿7Z?ð®k; 'QÎ3PgÕ§F6blˆ™{™ºäõ»x­\1þ7›±ïm`ϱ±“ÎÿÑãë+å¯Ö&˜G»å)8%yèáÎ}÷F€ò„ª˜hd£‚³†ˆ ÆËÊ‹ì®f8l¡Ùع8Uâ¸{H1êÒäJ|þMŠVùY‚¦/ª={ß¿ð1lvXûòqakh°P=KÛK¡pf-ìw”Ô¤ÁzÝt¾SägÍMü Üka)ÐL*á©íìzàR¢_¤9”r– j&i}«ò(}oå 1_»½ø£½bopémÍ[¿×*§õÐt¼Æm&eÕj+OAœhRëq@ ¯F×Ö5éAL®Ï>ê"íA‚,B™Lü6£§ê R°ÐuAÉpMi;ªrKl‡+Øê/—Ðã…‰Öþ¹ öNXýJŠ?‹:/“MA²%Æx|ÆÌÁË-¸ 0¨)Õ`\¹™´‹u Ϧìæ-ïBvzä -Î8Á2J0˜ô‘¹Ÿ¸„B4(´ Äɧ oò¯½ m/ Ñt|gå—é^çžzBW× ¼·m^Iƒ=<Ù¬ÔY†çÒç!þv oipž3Ì=Iä3ˆ_›_hçÆ'˜¡ù—ˆI]°ýk€ ïˆÜæDZN½†ÿnVË«nMx}a—dŽ%){ž#ÍA«Ó’ÖšãþÄžÿƒ_Ó¸B¬9U"2× 1|-÷¢ÚgâkfñP¥Ò"Ô)ôG˸óœß().½y¿zóAPËendstream endobj 63 0 obj << /Filter /FlateDecode /Length 2180 >> stream xÚ•XKÛF¾ûWƒ=P€ÅÍ7°—Iâx™AVY’ h‰-‰ŠTšä(óï·^MQ#Ú»>ª®~Tuu=¾â×ë7_}…‹Â/R•.Ö»E˜ä~š%‹´Hü0[¬Ë_½}ÿô®MSjûmÕjýòpê—¡WµM÷[[]¿]®•x>b½ÿü–Ëß×ßõ]˜L„¯TìAšúE˜$}0ËUEÞ\®BŽuœ†‰Ír¥rÏ­³F÷DÇžnJf–¤ÇV½0cÀ“:TªÙóÚÞ ÚµuÝâÒó8·mAB數ɰêWv{¥yNšƒÂl˜®øŸM 2É4h)g‰E°X…°5IÂ/4ú‡wgcžV]¯m¿:¶°ëåîí]whϰeEsÍpÜÛÝMͪHèùFÛUS¶pÆy^WÙöû²¥þÏ—eûüÒ±}³”]‡Éý -¼+˜¿7ŽÇOÄó2I=]WeÕ»·n»›_6ÈPË1° þ¯’±5][?ãA¦”•[ä üeÞ“¬˜¹»Æãгzb¬¼¾:¹ŠÓÜûûÐ’=3ôX}‹ #¯oy'^·ä½z¯«¦“µmcÚ¡ã!Ü(¡u²ÿŒšžƒÈG§ÞAÞ<»¤ÐÞyõPÒiiþëDò¶Â°•VfÔ)s–ëB‘q8q<\yÏx8Vc×WõÒ$þ»=ÊB×9:#8hîR¼0 2;× ËÖÆØ ¤ŠXâ-V®³x-K­ûr€@xM:Û¤AIÓ0tÝàšº®Éðrd?‰Ck3Ï)0gõ¯áá$qà¨ãÿ£.…3œøŸ¬”¢0îÓª†›¸4wh4Ÿ î4óv¶=¾ZWâÓFÆNòsù[ÃûA`|‚¤±^Öpr‹ °Cäfå²¥TUnsñ\[V;€¤¸`»ºvJ¬,·úÖ̬ðÐMšZù6æ”Û\•+_É{IôïMÿh‘lO@àgÒWùY¦âkØsõml&¡*¿þú³¹ùÚôõÐ÷øµ©¡OZ8Õ›¿û»O})ÓëæSß§6¿Þœ6õÝïÿcv¢OìÝÝóøgpr‹AÏŒ®·`â»Ù¯vh@1ÞÅp›/ú(vß‚‰³`R â”árÆ€‘³9á„5A^¦~øÓ0˜œ9É8<éÊÊ@'C]2{ì3x ¿ëÍȈÂÉW¡ŽÇÚýÛýp”pÃS¤Ø_Ãi¢¶c†CAâœóÂp¤´°I²€&Õ Q%õ3œ{ónýæ¿/‘¿endstream endobj 64 0 obj << /Filter /FlateDecode /Length 2896 >> stream xÚ­YK“ÛÆ¾ûWì)«–0€ÁÓ7y+Z+±“”´©df„4Zm~}úëîÉ$'•\83=ƒžîž~óû‡o¾}m¢›0ô‹$‰nv7¡1~–æñMd~%áÍCõÞ‹}³Ù†´ôšc=Œ›­Éï2¼©ÚZf›"öìøaÜüòðço_‡ÉMái”qp³ sßäYÎôMd ïí&ʽûéC„eî=6]Õt{Ù›zNîðýÍ£€Úæq°Ã³,lÛö›(óžFY÷]} épËT¶œdç©™/—ýP ¨þˆãuœxaêˆúxéž Eâý$°l‚ –£Ä7qžÓÇøæþ'Ût?n’Ðëùç´"¤$ô“ ò¡ å‚é`'™UC#IJ¾ø‹¿ruûEœŠhWãKçéƪÉŒÿs"ÒÂãÈ> =îûØTîJ+CÙ³|TTM-"–½'Ì-¶ŸY|$ÕÐÒÐIQ´ ¯§‘7Ôûf¤Ç‘Õ;v¤pÞÜ•SÓw£€ÜùG~-‹’¿®dnù£ib3ô¡•a<Égeós`b÷É¢7 ±Ö ´ßé$7³ÍMè½aauYш’Jwdq4ÍC7®ÔÕÌràc½f¥ÇîX¼W¸F{ÔÙKÇq”z¯Zmåý²Â³(¼æ¹³“*cû¼É S[¤Ê<ŒxE/#?Ë3§—¯WØ?Í '€ªK;T`6Ï”ö<çw˜ÌÂû;í–¶“]RÙý`G"Úñ,ÛC}M†¸ê3Bæ¯0Ä_–¾ÐOÜBž>šÇ†´ªƒV­±•D~bk{×Ϭ¬ÄOý–ýÇú+6—Å~“X—g7ÄÙÉŽ#ûB)ï†éçGšk‹´ñòØÜ ýq…¾0Îüô¬Vÿ¥?HÈ—dÎ)ù"0¥~ñµF|ÿ,FRÕ;;·ñ“B0éŸ$NcVa@ÏlÔ-cÖõrÊûù¨Îed[Œ½ø!Ÿø!E½Š=¿ í„Оð™vl·ÇIVµC\ AšIF¼Hs8sõ€>â«g™ŸýÌî™_/vA»=9¯$õ~­KEnG%CNä^e'«[ÄúöÚÙˆbg‡ Ì—GÁ@³¼­Ø`îÇñÿG¶dªÊù%AÉ(׎ͱií dõ/ÈSéœ/ ›‚³¿fk×+ÄoÄ’‘"N®_tÿ®Ùw¶½ë»Ž¹)§¯[’-.F:)üÔ$Ù5ZImâ(fÏ î(²ƒÂؽòt¨;=v¨ÝîÂ\-‡X¡ Þ㌀Îy”[`“CÜ…•õ8 ¤ÑÛDàlhEÉEI®“˜­‰ï·¹ž92Âu¦’°n$Åyb‚àÊþ‹™õ3…Q•{ ×9 ¤ë»í<ì—·c$¶ÄêÃ~èçÎa€Ï¯Ñ%íl È ¡RÕÌŸeµ(LFÒdÒbY8WƒSI”0$ÙP¼Ì6î‘$h8ÆbÆÎès|Aôþ 1H*×Ö¿o?1)YT87o!š¨èE9œÓÌ%¼` êdNé—G²—A °Å€ˆV\Hy‰Œ…>® ÏŸÂ8«“#óJŸæq=¤#¤Qò¿¿œ¢§1ç¬7`gŒ&)ÆÄì'‘‡ç8]|UÉlÀì¼HrÊ>3? £BK™XK™×MÝVR¸¼ÚŠ”0µ~øŠ—»z˜,ÌѤäï§a.éÕcíàÂM¤Tix? ÔÀÔ.x-±G/Š!,ëObný¨¨Nó#t¢%¯Ò”ò9«C[á͉qï¾î¶k¦E¥O»diÈ&µ}Jô I(ؽIfa«mßÉWP©8òÞtò 褈%q¼Ñï»~’3Žö±yl%›*mUÍ@™ c­(ì=k‘O_?̯DEKѦ!Ìë·-QÇâuŒ‡ê¬ñ”¹T+u¥û‚#¿ô8´¢¬[7wÆos³Ì+Vnq­äjYPDI?Tõ°ö , Òb[ЇgãŸ(E.öm“%+oaÐ÷¨|>D·òÁ<ê™Å˜v½«“%«ºgñ*öÓwjCá¥iSX RÊŠ£À/Â,cÂûÇ_ß¿ÿ9ˆ‚ìç¯d ´ùeÕÏ®L0qÝ4 (O$ÞncB ÜI ƒ|>áEPêþ¾EöÝÙ¯‘ Ó3ršÄRˆ* W°È–èÆÉE¼Ð娘ÓY98¾3Èžk‰Å4¹0rhÓÎ6Ôs Z§ådšÄäqVtâȈ8 ¨¸¦³T½Lœw†w¡h=h$c:Ê!é `va XÚiª'Î(p¬—qì[ç÷±lÜöa¹s]†t;ÉpÅ…!R·™Ïù%áˆóÔ»Ã\¹H€•ð\ @åR«aÕtôRd¼ÿbö p´LÛ|>‚'X3+$`;éä™×j""++1*õ\C’Š=hÎv‰€åàÜVRÔ.=ÀE’ð²n:Å?é­µ'ùnb{Ãá^ö\k„oô×8xÝ #ûÖ8g£Ó‹º +¥ Ó‹d$RUµÂEÀ˜¨êµ_dâDÂ(;\‹(d'-ÚÃÕ›¡zxCçïü5øGGßOsGz»›8r Œ@DÁ ÀN)È|xaJtaÃÕÍm…÷ìJÝbU¾<ûêïonué)v•€tõÓ×;5q¦†šÅ.õÔ¤»šËºB±I¹ê«vì¡ãAáØ ã¤³C’xgœˆÌöª ¥Å4çOÍÐà<'âv.^êòqöÇqþª©Ö!â 8P>^8ç‚y|mn´'FF“#Sd—*«P‰Ò7‹&aqm~ÀÀþŽvÈ›Óܲ_úBxæÚýÞîÎ<'PoNtÝ«,û!e4+dÖQ¿¯ðD?ZžRQž:îè’ñV|Ì:ví­s Š*I ÆÝ¹@¾¤úNŠˆ%aºÞue0¡h;(¨—±ªÇ;Ý·^@öfES‘îdgvS=«ˆ–èòÖ8à´¡Æ %âeÛÀùðth¤9(ËÆŸ§þ¢9†­«fîÀQ`IR\.+=rR+‰˜¬ðÚ­Çá;9rÎPÖ„“¯ˆ\›kª`ÎýJqwž{R¶õ€³Y_ZÿÄÍ &.nâKÑ ÑbdѲ–2ñÊçÀ4.ý´5×îšdm’c9ºn5›tÔZeUªfIýšitÙcsg¼š2KÑæVã©Þp"é“G¿ÈߎÇz4EÉÜ 0Å‹˜‚}öìåSŸ¬ÆmCÐq>]÷ËMfT£1{j  tf!“V<¶–ø¡Ÿv>?VœÂÒî}õá®oûáö¢iq¦TºOµèEš‹%ù¼rhÅìPw2JÚKÄ}/ëèeªÄB+$çœ+ç“Q /¹;ç0…·(ÑÓ¹º<ªÏÚI[&_j[h^íü‚ ¨–Ô8 ¡´*5lÓòY+O:(– ^&B„|,Ùé¬4r©VN3÷÷A‰ª'M“hÎð˜x_ìß…~h–¿v8ù‰½¸e…K•˜è²"¤Õ[÷NáçAœ¿h…¨ü rhnŽâÏ #gn£þ5t‘HQn±Y:Jç¿e°!U⚉û·‚fRQÉ?Q£&Y‡úY7¥gVÎzâ3> stream xÚVIoÛF¾çWè°‡ÃåÐCªØF6l(ÐÁˆY¬)ÀÅŽóëû6)V̽H3oã[¿7¿.ß¼»PfVFe–d³åz¦´Žò¬HgyœG*1j¶¬ÿ lÛ†sÆ_óÿ°q|ø+Ö©këþp31°žùVƒŒ ÖvlÑòüÿÍuDÕ^SÁîÓmÓ‹^¿ñc[óyΓ"‘Ý:¡Ûªò]Ýìîÿ—¿ÍâÙ\©¨4&!ÿéÃe ¡ È<œÅs¾ !Œ¡Ìƒf'²,˜ ¾÷C7VÃØ¹(œg:.ÂB¾c÷Õn÷­ƒ€R•9äJüõï~½ßó­jÈ ±=úþîBÇ/ rŒ„+QaŠ»Ð(0?õ/™1Ú`2Y÷¤˜¦ˆ²\)°ª‘XOfÇÔ¬góƒÌ<É£¢¯¤Qòwà©Vè©ÅÈM°ð»~°»P'ÁÐO|."]䙺;†JŠ’Â’œêAiÇj?„’ áäÃáòÃ'æ3÷¹òd®¦jßîj\Š`ÅÛ~à™Mýö ߉a‹ìÇÐdmZ»j… ÕŸèŸ[üøåð@íÓ´xQ{Нp`_µyíëÙ‰$äp¢Ð*+£¼ÈT Œ}9¿[¼¿9ŸÈqn"p#Qi­Êc¿6¬Ë(ÓñA8º¯Îû ›Çî¹&'ŽLšŠ†¤R—§ yaƒ$˜’”ST))FÅ(¨ÀÄb`BT†rH6=swžï5ކö®rÌ‘04õDv;æÜò÷è.ΘÐû‰t$E%*Ïy^~ú²¸º¾›Jóü({Ò ÍT–ñ›ÿa4ÓQZjsʹ†P–”084!¡¢)AÄ!8VªÐ²”'ìªQ4Ûà‹)¡‘U\7X¨ ™3$tP|Ú4Tž _×¾ÛrÁsðÔ¤¯b‡FÐÇb ®\IŠ™J#f‰ €N¢2MXÍ œÄqð>0©à ºüÃze9BJåö?C“DE…* ÙYÒà¸À—ZúlÜ:ØÕ“xŸ‰”Ý-Ú倉{ø`{–ä°xÄj±µDÔ( ªr­ëì@ñDR\AíîOÝ nÍ—è'üµ1 ŽàpM¤XV`?pÐó±ã1Õ­´LÏwž&ìµqð[ÈsÅtzmáË•C 0òDáò÷oÅʺó[>ýñùjÊ)h‡ªköh ka§Ð3gd<Ò ‹ÿÌg~ Àá’B4Öð-V[iA'“Ãø[zóƒÌÑ3‘û 嵨ÊWXq¢àcïÖcË;â{ƒÀ…Y ï–å§3¦>m=AÏÇ Sm]ËÚƒAfP#€[5m3bÅ%D³Éç~Üs—ún`Ê { òN«‰^|€Ô<.³È”äp‰¬7çË7ÿ!=endstream endobj 66 0 obj << /Filter /FlateDecode /Length 221 >> stream xÚÅÐ1 Â0à”…·äyдÒ*N­`A'qRGEçx¯ä ¼‚7бCéó=q(8‰òÁ ÿŸv«ÙŠ1Ä&]lwqÁ†Øy,ÖÐËÁN1‰Áy 6án»_íûÍpa8‡•‚&:2)Ñ™¡BztòŸÊU™«ÇUN­ËÇ+æIZÔà^Ü>¡àj©‹$qÍ©ÂÆIMîMRÚ'*ùmseÿ c¨ÒL@… ÜI 9Làwn¶iendstream endobj 67 0 obj << /Filter /FlateDecode /Length 226 >> stream xÚu=nÂ@…gåb¥i|Ï’eÅÒYâGŠ‹H¡¢@T’Djûh>а¥ äÉÛX ÉŸVï½yšyñÏÞËD¦òä%¼J˜ÉÁó™C€8‘0Ï/*v[ ÝdvÕ»\/_Gv‹¥xv+Ù¡hÏÕJˆÊžˆ2Õ†(Wí ¨F¢ºO†¶öFF›l@²Ä&¿%`Ý}b —ÝÈzdüeL,¢>2½¿Ýÿ°~dgygL[41Ƕ¦³Š» ÚÖhKy“êJ BaûsµQø óºâ îDŠendstream endobj 68 0 obj << /Filter /FlateDecode /Length 281 >> stream xÚ•‘=NÄ0…ÚÂ’!sH›´––E"Tˆ ()@Ðß`¯ä£ä)·ˆ<ÌØ‹Å$Å'ÏÏ{ÏIן5-5tA§ç-ukZwôÜÚ7Û5¤oßZO¯v3ØúžºÆÖ×R·õpCïŸ/¶ÞÜ^Rkë-=ˆÔ£¶ð„/ÀqZq€gÞ XŸxÂqdWŒjï£Ip‹nIU¨ì¤iÿÀ+ÂÿñW%KK"5²-CiÖKìŒ #;–A˜ 58©E,˜ æ½k΢SvàYlK³ S^`‰%*#ÃGÝÅ4dP€ãã”ɲ€1ê:¼^.ei³À¥üiþ‘C–¨žÌ%ý>+éÁ^ öÎ~ÝèÈñendstream endobj 69 0 obj << /Filter /FlateDecode /Length 131 >> stream xÚ36Ô34R0P0b#Ks…C®B.#ßÄ1’s¹œ<¹ôÃŒL¸ô=€¢\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. 5 Œÿ˜ÿ7°ÿ?Düÿ #ˆ P¨¨’¨?Pÿ1ÿ?ÀH{ôp¹zrrÙðDendstream endobj 70 0 obj << /Filter /FlateDecode /Length 186 >> stream xÚÕ¿‚@ ‡kHºÜ#ÐÀ;#q"AL¼ÁD'㤎áÑx‘Pïü·°¸ÚäKš~¿m<똅S µ"P¢èácmÇŠf_w8cfPn)Ö(—V 4+º]ï'”ÙzNÊœv©=šœ¼@´Aö/ òq.çònï×1x<„Åÿ‚Òç´ò¹¨}æÆ!ú77AÇuÐuÚ¤•í˜Kñ<Ó¾‹+À…Á >ÙÖƒendstream endobj 71 0 obj << /Filter /FlateDecode /Length 220 >> stream xÚÅϱnÂ0à  H·ärO€“¢´bB*‘©L ˆ‰22´*+ö£¥êÀc¾c"û¿… F,YŸÏ²ÿ³‹A/áŒû~oü:àÏœ¾¨uʰXoiT’YpÑ'3õ»dÊÿ|ï6dFcÎÉLx™s¶¢r‘­"?D+§c¥~DRãdZ¡ÞÛ+-ˆЭARÔ«.à·Z”£§T7œ™ÿrBŠ ‘³Ê°U. (]Ÿ«],ᮣD> 4À¶À§ù®±Hsz/iNW^`صendstream endobj 72 0 obj << /Filter /FlateDecode /Length 107 >> stream xÚ36Ô34R0P0bc3K…C®B.#S ÌI$çr9yré‡+™ré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ê0üÿ‰™˜qàÿÿÿ7 c.WO®@.„S—œendstream endobj 73 0 obj << /Filter /FlateDecode /Length 209 >> stream xÚíÑ? ÂP ðˆC!Ë;Bs_ëZA,T;:9ˆ“::( n>'Go qèQz„ŽJcªƒ¸îß—dûÚZ£E5eÚuj¶héâ}O²SÆò°Xc¡ž’ï¡Êu4¢Ýv¿BŽ{ä¢îÓÌ%gŽQŸàh¬@åÌ&àŽlJ2§æDxbΪ…çÔÎUdÂK¬ ÛØ9TùŠ»`Pá+XÜUò.<¼˜ÉS*ñ“©0y1Æß ÍŸoò³–^Š_ˆƒ'øøïü#endstream endobj 74 0 obj << /Filter /FlateDecode /Length 162 >> stream xÚ33Ò32Q0Pa3 eªbÈUÈej 䃹 ‰ä\.'O.ýpSS.} (—¾§¯BIQi*—¾S€³‚!—¾‹B´¡‚A,—§‹C}û?†ÿÿìÿ7€¨ÿÿ©Æÿÿ©öö€Tƒüæÿóøÿ10þŸ¡ö@¨ ìÿÔê6êÀP¢þÿÿßüÿÿ?|—«'W ã[«endstream endobj 75 0 obj << /Filter /FlateDecode /Length 213 >> stream xÚ¥1 ÂP †#B–¡¹€¾[¥S¡Vð ‚N⤎ŠÎõh=JбC1&¶ÕE\|>øóó’?ádäùäј†>…c &tðñŒA$¢GÁ´éìO˜X4 "4 ‘ÑØ%]/·#šd5#MJ[ùh‡6%·y=æ\0`..³ªYå°€óßAK<ý@\À@Q‚#6·§-WQwˆu©;Sðwð ÷?ñkB·KƒnÏú•¾ÍÐ&jÑ×´…„–ìùû1³´Áa®>7k.ˆs‹k|]Åfendstream endobj 76 0 obj << /Filter /FlateDecode /Length 227 >> stream xڵѱjAàY,„i|çtïôN´Œ‚Wbe!V&eŠˆÖç£-ø>B|„-¯Xÿ•D„ÄT±X>ØÙeçŸíuÚLéJ+HÞ—,—×”?8»‰ô²¯ÒêGÛ¹äÛ)öÙϲYoߨŽ^ž$e;–E*É’‹±P鑪SݽêT+ðé†(5OTÓ@u%ƒBMwF=p§±ŒºoHý-euŸaø~ÏÿììÒnlÞ]£Tȇ`1æ)†6AâÆ¯bXiú DAãŸü O žñ¥ÜÆendstream endobj 77 0 obj << /Filter /FlateDecode /Length 161 >> stream xÚ31Õ37U0P0bcS…C®B.cK ßÄI$çr9yré‡+[ré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]êêþÿoüÿàÿÿæÿþÿïÿÿHôÿùÿ¾ü?æÿûäÿ1þß"~À‰`‚ÿãÿì?€ã ÁÀ€L 7ñÿ?Ðbl—«'W nendstream endobj 78 0 obj << /Filter /FlateDecode /Length 223 >> stream xÚE1NÄ@ E?šb%79Âø0;Úì"ª‘–E"Tˆ (·AKÜq­%GH™"б´4o4ßßþv]_ä+^sÍç™k{wüšé6[í{¹T^Ž´o(=òfKéÖdJÍ~|½QÚß_s¦tà§ÌëgjŒ8êU•ʇ R:EZ Ê·cªV¢ÿG@­‚V‡•ŠjçU'Øø„3r¸Ø¹Ó–½µ—£å:ªÓ ¾Fg ñ¾©u·Ð1Ìv¥Mª#†bj¿2;Ý4ô@¿* endstream endobj 79 0 obj << /Filter /FlateDecode /Length 173 >> stream xÚ31Ö35S0P0RÐ5T0¶P03VH1ä*ä26 (˜™@d’s¹œ<¹ôÃŒM¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. Œ°ÌXv8Á'äá„=ˆ¨ÿ3ˆàÿÿÿÃ,X  wˆ'€þüÿùC=„`?À`ÿƒ¿Aþ<Ø7@ïÿÿ ¡ÿ? ærõä ä ,tendstream endobj 80 0 obj << /Filter /FlateDecode /Length 166 >> stream xÚÕÊ+Â@ài*6Ó#0€í6ÝÚ&¥$¬ … (ŠD@@/G[Ç5ê°8¤Ã‚¨Á£¾ü"e9¥”ÓÐP!Zj îÑZ)%Ÿe³ÃÊ¡^’µ¨§R£v3:N[ÔÕ|LuM+Cé]MàD Ì!æßÄ a9PIÒcУd€/-x>ƒo£;wàê*”Ì!aVBÌÝð7õœ8\à ¦ä¤dendstream endobj 81 0 obj << /Filter /FlateDecode /Length 267 >> stream xÚ}ϽJÄ@àRn“7pî h~˜(Âb`]Á‚Vb¥–ŠB !y´ø&û)Sdw<óƒd„>¸ÃÌ™SŸ¥äRÊq™Ku&ZËsÁo\iLs9Õáèé•× g÷Riή1笹‘÷ÏÎÖ·—Rp¶‘‡BòGn6bŒ¡ØÌÿ™-Ñ‘eFGZ0ý‚Ucc^ÏpGí))€¡$ ·ô)ˆY†€È=ò ÜÆ¯ã—¥[Ç4Yêitìj·uGj†¿ wAlhA´_Bóí“gô6U¹ÊT÷¶2uƒ­Œ¶2H¾–òø’ƒo÷í^î_Ë„>áë>ƈ¯¾ã ø‹endstream endobj 82 0 obj << /Filter /FlateDecode /Length 383 >> stream xÚ…Ò±NÃ0`G,yñ`¿$ªÒ¡Š¥R$2 ÁÄ€˜€‘R‡JñÆc‘7àÂdô帳Âèô9qï¿;e]ŸT§ºÔ+}\éu¥ëR?TâYÔ+|Xêº oîŸÄ¶Å®W¢¸ÀÇ¢h/õëËÛ£(¶WgÏ;}[éòN´;ÍëXüåÐGI¢ŒQæËEuvìÛÄ"ó/5A|bGKþ§&i“tHŠ½È™¹EÙ¸(ñÅ)9H»HÑô84‡&iŠÊÁ%ITŽ*…¥qK; g2Iù Q+G~C¤Æ¯™=ø\ÒÞ/ÓüêcÆËt×UšàßPÙ¤À†ØI’0Œ;Ž-P¬D >V9j•Â̘aÈ&‰b»‘aœ ê¶ðº¿-”‚÷>HÂgØ à's8É•QÿÙ@ó€ïºÃ³EÔu>Ð<{å=ÍTe±ÞÄ”ÅoÎ8 Ú0Œ°P†ê%½gøŽŠ9:´Išk‰óV\‹oØæfendstream endobj 83 0 obj << /Filter /FlateDecode /Length 105 >> stream xÚ36Ô34R0P°b#CS…C®B. m„@ $‘œËåäÉ¥äsé{€IO_…’¢ÒT.}§gC.}…hCƒX.OöòìÔÿùÿÖÿ±ÿ!ÿý—«'W áš(endstream endobj 84 0 obj << /Filter /FlateDecode /Length 126 >> stream xÚ35Ó30T0P°b 3S…C®B.c ßÄI$çr9yré‡+[pé{E¹ô=}JŠJS¹ôœ ¹ô]¢ÆÄryº(000````ò ¢H0ÿö@âÿ,Äáÿ0%#Œzÿÿl—«'W ØšŸendstream endobj 85 0 obj << /Filter /FlateDecode /Length 266 >> stream xÚmбNÃ0à‹Åöï³Ïãú¢|ïGý¿ýÓÀ/¼Òq¯CýyÜófâîίFî®0ËÝtíß^ߟ¹ÛÜlýÀÝÎߣÌO;O$™ˆ9Á 1!˜rðHõâ°Ðdš…Úˆõ4›f¢&˜ç‚p–B•l9{„ôŸÈÃÕ6©8ù,Ö´Â/õvîK¤qb´ûÒ·í¢+tÍÙŠ%+ ¿N»C7¶É"­EB´8Ñè¤V‹êP Í#R¨I*š‡h~ jÁ:¹Rᕤè[I®ÍÆlÍ`Φü˜þÊ—ßò'‰Ä&endstream endobj 86 0 obj << /Filter /FlateDecode /Length 258 >> stream xÚ…±N…` …{Ã@Òåú $÷g%¹^Ltr0NzGÎðh< ÀÈ@¨=…ãâò íééicu]”RH”«Rb)U”·’?ø­XHU­×w>5œ?É1r~geΛ{ùúü¾p~z¸‘’ó³<›Ñ 7g!Ò‘ˆRUc¦ÚµŠ’R;Q2Q½P:X Ja2m0{´þ£ëûtÆ”yíl[ÀJ8ƒ XÏ í¥-ÖAvH¸xÎiO›zÚM¹Í÷YýSgâ¢ÄV6ë•Óo†¬GÐbìÔùÇÉÆï2ޏ´ÀºC’lÄLñUú‡[ÏŸù]~(ß6üÈ?údµ£endstream endobj 87 0 obj << /Filter /FlateDecode /Length 216 >> stream xڭбjÂPà„ ³ärž 7ÁDpI *˜¡ÐNJ'utPÚ-4Ù|-7_ÃÍÕ­…ôæÿmzàÞs/üœ{ÓñCk¤#»Ò‘ŽS]Ų•dbû¨k»‹åFŠRÌ‹&1 {*¦|Ô÷ÝÇZLñ4ÕXÌL_mÌ›”3ulåŽó‡š´Ø]â ðI@B’¨I Ü/àßsÁ„ÌÌÈ'©È¸à€ßsABN–‘jÀ¸à€AOB¾/#ù&-ª¹Çï¿ü'5£o#óRžåŒÔ‘endstream endobj 88 0 obj << /Filter /FlateDecode /Length 253 >> stream xÚ¥Ð1NÅ0 `?uˆä¥Gx¾¤‘^:éñè€bF¬4G Ç GÈØ¡j°]&`£ª>EIcÿµï;Gy:räõžî>áÎófG}¿žÜ=â~@{M;öœ·Ñôòüú€vyJín¸Ð-2ЀÉL]_~ÔEÕI-jV£¸€8«Yåz&Á? …}—Bæ£Öæs훃$–SéÂhjääMM|wSSYNñ-ðµŸN¿m£²8±®NZôTÜÔ2fé5J÷ü’äD 2ЏMÐrà[μ©Ñ‚΂̿˜51ÿ=ž x…_‚²¶dendstream endobj 89 0 obj << /Filter /FlateDecode /Length 264 >> stream xÚ}пJÄ@ð9®LsoàÎ è&p›6pž` A+ ±RK EëÝGÛGÉ#¤Œîs&åüƒ~Ålvfö õIYI)AŽ+ •ÔAî+~âuÐb)u½?¹{äMËþZÖý¹–Ù·òòüúÀ~sy*û­Üh£[n·B´@""‡^­H1Ñj$—¨éÉeŠÅLЯÓ; tËY½Ñ;su ÓVÈfLæ5*}:˜ñ›…ý;8ÝCD§á­×ëxÏ:H:n2Áæfìfu«Y›ÛÿrÐVÿµùißL=Ý’½züÊ! å´äŽmNû@¢½Hö´ h––ö”‡ø¬å+þy×-endstream endobj 90 0 obj << /Filter /FlateDecode /Length 291 >> stream xÚÑ1jÃ0€a ‚·øÒ jR'YbHS¨‡B;u(™ÚŽZڭؾI®â£ä=˜¼JïIq‰ÁT`ø$/ÿ“V‹«ëµIÍÂ~«ÌäkóšÁ,s»OÝÖýxy‡m É“YæÜÙSHÊ{óõùýÉöáÆdìÌsfÒ=”;#ìÒðkTÑNUç„ÝDö3’8L¤ð4£1è¤裵>+*bôùT)ôÑ?£dÐ C~yE}ˆŽºQÂKZq¾<Šš¥¬8ZµT°b+Ρ1ܼÏ×nÎ N”¿q÷Aªœ(ºF».äÀùgE¤žã…¸$ <†àAéÄñ‚óGÅ.!Ñ šÕP¼Ï/X-Å{Uü°­«£wÅî¿‚ÛáÆÁÊ’endstream endobj 91 0 obj << /Filter /FlateDecode /Length 306 >> stream xÚÅ’=NÄ@ …MÉÍ!¾$)Èf«‘–E"Tˆ (‘AKr®’£äS¦XÅØ“Ù,=S$_> stream xÚÅÒ½ Â0ð‡Â-}„Þ˜ìÇV¨ì èä Nêè èl­ÒGpìPz&±M„ˆÐÉ@á—„$åÓ$BgüK|Œ<p8äs9‡3d°-Æ!°%_V¬ðv½Ÿ€eë9ÀrÜèï¡È‘ä°øxë©Ô)Q©TóÅ”ïxÔô²©íe¥4ÈG¤ªzMÄa)[¼"ei=šAikÊëL¹ôM¥!çCÕhÕ×ø.TC×Ê#³¦igÖ^w†£o¶êªî´î¾J„-ã$äŠKH…­We¦N'Q<‹6ð¯?Kendstream endobj 93 0 obj << /Filter /FlateDecode /Length 208 >> stream xÚÒ½ Â0à„…[úæžÀ´[' µ‚ÄI'õÑ|£ƒìµÐ´Ö@ໄ\þ.ôû]Ô=ô0âÖƒa»:Ô›=Ä)È%!Èi> 2áéxÞŒçcô@&¸òÐ]Cš ú¶ŒuãŘPŒq‹Á"p3q%ŒÚÑ«áÒ§™ÎÐN°¢€¾ðß(WUyxû¦9ø³8¡ ëÑVÁ6q¯Ã1 D„=¸¢$Ø¡¨•D‰÷/À$…|®±ßdendstream endobj 94 0 obj << /Filter /FlateDecode /Length 173 >> stream xÚ37Ð31R0P0b3S3 …C®B.3rAɹ\Nž\úá f\ú@Q.}O_…’¢ÒT.}§gC.}…hCƒX.O…ÿÐ@€>À`ÿAJ3Bi†z(m¥å¡4?”f‡Ñ 43š+ÍøF3| @3€hf4;”æ‡Òõ`è+¢h˜z„~vö1’HƒiP¤~ ‚ærõä äœÏendstream endobj 95 0 obj << /Filter /FlateDecode /Length 300 >> stream xÚÍÒ½N„@ðÝP\2 pó ÄX‘œg"…‰Væ*µ4Q£5÷&÷*< °åÆ™`¹øQ{ù±,ìÜÌ¿,OÓsL1Ç“ Ë3Ì/ð)ƒ7(r^L±ž<¾Àª†ä‹’k^†¤¾Á÷ÏgHV·—˜A²Æ‡ Ó Ôk4ü#gÌ«`Id ßKD-XûHT±ú…HžQìd[Ïë;'Ûøë¥n—ü1‰ªÞ“ÕÆi/jœ®óÇ{;_…ã÷ƒZŸÓöX\‹?b.®´ ê¿«QÙ_äËó%þ5Üt×õIÿ¥ôs&µüAÚÉciÇUÝ h’NËN SµÓ¤#þvPHDH‰&‡4MÎÒnL˜Ï•OÝ!“è|&%­Ig]‚«îà ê¤ùrendstream endobj 96 0 obj << /Filter /FlateDecode /Length 104 >> stream xÚ31Ô37R0P0aK3 …C®B.cS ßÄI$çr9yré‡+›ré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þÁlƒü†Q3è¸\=¹¹‹iƒ%endstream endobj 97 0 obj << /Filter /FlateDecode /Length 149 >> stream xÚ33×36T0P0b3#3 …C®B.Ss ßÄI$çr9yré‡+˜šsé{E¹ô=}JŠJS¹ôœ ¹ô]¢ÆÄryº(ü‚ „hû £4š½?Í£ðÓò8h{4ºþ¡¡43”f‡ÒòPºB3ÿÿŽ×ÿÿÿ¤¹\=¹¹¯½¢aendstream endobj 98 0 obj << /Filter /FlateDecode /Length 286 >> stream xÚ½’±NÄ0 †sb¨äå!~èU ë1U:‰H01 ›€‘sîÑú(}„Žª;¶RÐ!F:$_þØŽk{sqVã ×xZa½Áõ%>WðuÅâ k»yz…m åÖ”7,CÙÞâÇûç ”Û»+du‡ì³‡v‡Î¹‚:—>¢˜ö‚H%Ï0„èhâ}ÁGOÉäàNÄhI¢öl+÷­›Ñé"‡$§>ªx$O‰‘Aâ9Ñ3Hà:ƒ7¼¦ICc0C0˜Â” üdÿæ4rªGðËZƹ3h醥AŸ¡°:wß*¯½8,´;$Á¥qQRrº¤WEö¤½g‡Ž½{ !“Љ̳A:>6@ ÃøcòhÙ°Áu ÷ðž¤ö}endstream endobj 99 0 obj << /Filter /FlateDecode /Length 185 >> stream xÚ37Ó35V0PasC3 …C®B.3s ßÄI$çr9yré‡+˜™sé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þƒ„ñÆøcüo€100ÈUòƒŒÿ@ õ  ûPˆ3øúÑ v,ŒÔf [Í=èn†ûæ/¸O¡~0”ñÆ85 †)šˆcp¹zrrÚõÏ\endstream endobj 100 0 obj << /Filter /FlateDecode /Length 251 >> stream xÚ­Ñ1nƒ0€á‡: ½…”wÖ 4ÈYŠD©†Hí”!ê”d̪™áh9 GÈÈ`ñj°1RaKd}22²äây™PD zŠI¾P"éãeDÝ“¬Ì›ý ³Å–d„b­—Qúù¾Qdo£ÈiSô…ENÜôèÅW§Æ©uâJ3d€”k«¾YA¿¥W©¥í ù©² fuýM¿<7'MÕäž»¥ïnžÚÝ€ASýwMRàö \S¿ošÖ'ðæŠß%u—«vªrChë2<š>úï¿\+#_ç2ò˜o¶cibBרÂ÷?ñi hendstream endobj 101 0 obj << /Filter /FlateDecode /Length 305 >> stream xÚm‘½JÄP…OØ"p›¼€yÍf‰‘aa]Á‚Vb¥–Šv É£åQò)#\î83w‰.x›Ìï9“zu¶ªhI5–t^S½¦—Ò½»j-Á%]2Ïon۸⪵+n$ìŠæ–>?¾^]±½»¢Ò;z,iùäš<àH9àØ0w{‰1‰àÛcÁ]Ω<² h=òQŠ=6 zh¾,ÝŒ$üûýd˜ˆà1bŠðÐ׆«ا¨#X«êéÉA}Éëă¼ÞiMËÖ©¥S¬Ñ-d§ÚpíAÜiÈÌ$ r¢ñÉ0cúðGÖÝ‘»Ò"Øyäž*\ެŠå'¨ªÍ5 ‰Ðš?ŸÛ)¦ÔœhVVQ¥»nܽû÷ó× endstream endobj 102 0 obj << /Filter /FlateDecode /Length 162 >> stream xÚ37׳4T0P0bs3s…C®B.3K ßÄI$çr9yré‡+˜Yré{E¹ô=}JŠJS¹ôœ ¹ô]¢ÆÄryº(Øÿ‡€D1þ1ðÿo`þÿ þˆÁ`ÿ¡þ˜!ÿ¡žÌ`G0ê æ5#F„Á€ñÊøñʨ †Áe0Œ2¨É`'â\®ž\\TÒË.endstream endobj 103 0 obj << /Filter /FlateDecode /Length 232 >> stream xÚ}ϽNÃ0ð«J¡l¬ü¹³;Ta?ùìûpÛœ7k©äBÎjiÑÃkÍïÜVb»¹Ì7/;Þô¥­8Üj˜C'Ÿ_o6÷×RsØÊS-Õ3÷[¡&Òå±0’Æ`Q·Ð0‘|T*õM *pŠÓŒ_¬°·ÃÅ2ô $ŠL‡o1ÔJc4|îÐåÝœŽä~82ý;á eSz™ñéºÒ)<Æ8`¯ÍŠN9y{ƒÑ2Êhà›žøål¡—endstream endobj 104 0 obj << /Filter /FlateDecode /Length 229 >> stream xÚÅ‘; Â@†7¤¦É2ÐM4ñÑ(øSZYˆ•ZZ(Ú ñhà̶Ü"8ÎÆP+q›æ±óÿ3Íz­ ‡ ¬ú¶±ÙÁµ;MÐÃV‘Ym¡œc€sd4ÁÃþ¸ÙŸÐ9Ä…Þ¢!Š8üˆ¾Â~Âúƒè̸¥Œ+‘fÜ’^Æ áÜke˜ÄÙ"eš,®”æŸˆÕ tŽÞGd?ÀË„bú›$UÊ5â“ÒŠflì$*lóÞÍMgnó ´C¦JÙæhVÊ·3Ë®FÌàiÔpendstream endobj 105 0 obj << /Filter /FlateDecode /Length 214 >> stream xÚ­1 Â@E'l˜&GÈ\@7‘E±1#˜BÐÊB¬ÔÒBQ°’£í‘R¦gEì…áv>ÿ¯™'SŠÈÐ &3!3¦cŒ4#£Nq›ÃÓõ–ÌõRdÔùŠn×û uºžSŒ:£]LÑóŒ’> stream xڕα Â@ à”…,}„æ lËU¡ÓA­`A'qRGEWÏ7«â#tt8îLZ7îƒäHòj4žPFŠ_¡hœÓ>Ǫ’ëLJùرj0]“*1sÓfA—óõ€iµœ×5mrʶØÔ;Hü±úO¢£ã} ÷B!²¼/îBÉ3`àAßÁÈŒ›Ìö8ÁþˆûŒ™ÃR¡¿ÊÉHŽ'C ËZÇÑ´m™¸K,Î\ᓾYHendstream endobj 107 0 obj << /Filter /FlateDecode /Length 200 >> stream xÚmŽ1jÃ@EP±0Ž 9AVB–ÛÛ¨8UŠà*q™"Æn-m²Gp©Bhò×…« ̃™?üù«ö¹[k­«Üµ¶kýnäWÚŽó}ÌÂ×lzñÚvâ_¹ß¿éùt9Šßì·Úˆßég£õAú¢XTÁnx2›P˜Íp •r‚¡Jc‰0¢Š(ãq%áÒœa¬ÿ©ù ® ´*"M]¢½Kå~nBˆÎ`‘YlÁCBÉ| 8B^zy—?FÜ_ûendstream endobj 108 0 obj << /Filter /FlateDecode /Length 154 >> stream xÚ31Ö35S0P0asSC…C®B.cßÄ1’s¹œ<¹ôÃŒ¹ô=€¢\úž¾ %E¥©\úNÎ @¾‹B´¡‚A,—§‹ÿû@âÿÆÿÿ˜AûŸz ñHð?°*;&põÿÿÿš4A€Åðk£aÿÿÿ[~ `1.WO®@.îÉ^ endstream endobj 109 0 obj << /Filter /FlateDecode /Length 253 >> stream xÚ}1NÄ@ Eÿ*E$7s¤ø„ÍFZ‰HPQ ª]J t«L:ŽÁUr”!å£;TP Ñ’°vã*¹*0#ëÑý“,b³Á QR‘#œH÷5î3(zü HGƒ9l«¤W›Œ™bjdÁëö±SY<(QÑiÖ°4ïÕÑèüEøiÉK,Ù> 4læºn鞾ߕ‚;endstream endobj 110 0 obj << /Filter /FlateDecode /Length 160 >> stream xڽα‚@ `\»øô <.®&ˆ‰7˜èä`œÔÑ£óñh< €FBýâjb“~éßt¨‰gÉœ#Öhs¢ù¬)'ãsä£NWJ-©=Mj-)»áûíq!•n—Œœñ—G²»:@Ió­ëüdXy] _ÒÁ·”ÁzQÀ2ôa ƒ)ìzÛ‘Í¿uRáE‘§H1vØÓÊÒŽ>îz÷endstream endobj 111 0 obj << /Filter /FlateDecode /Length 132 >> stream xÚ31Ö35S0P0bcKS#…C®B.cC ßÄI$çr9yré‡+ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. ì ò ØþÃÄ@òx@ýÿ@ü€á?×C1;}pýÿÿþÿÿÿ†A|.WO®@.ùiO&endstream endobj 112 0 obj << /Filter /FlateDecode /Length 168 >> stream xÚÍ= Â@…_°¦Ð#d. ›ÍŸB Fp ÁTb¥–жf–£xK qÜ ÁÊÞ¯xßãGÃ$å€cè1Gš“wšŽ66àQ[m”R+SRsçI™ŸO—=©|9eMªàµæ`C¦`  ³ªúKëšþ÷y"¶#R·¸ì¶ý?ů'ðíÕý%È ¨ Þ "OTòpÜáË ]hf¨¤7£§Xendstream endobj 113 0 obj << /Filter /FlateDecode /Length 199 >> stream xÚÌ;‚PÐG(H¦a Ì äoBE‚˜Ha¢•…±RK ¶ÂNÜ KÁ`,¤ Œ3$þZ‹w’{çÍþ ¢ƒ¿ÀÃÐÅ {ð#ÎŽD¬wd`/ÐÀžp v6Åãá´;™sŠKd)æ•RŠêrAû‹j­Ž©ù¦ïTÇS­eô†1jƬd£dâ‚Éå@ÇÜZæ.<$½¹ð?2y£“ÝÖ`]NiÍë¼ê9 qOÁXEN%µDWê>ôŒ3˜ÃM½y½endstream endobj 114 0 obj << /Filter /FlateDecode /Length 115 >> stream xÚ31Ö35S0P0b e¨bÈUÈel䃹 ‰ä\.'O.ýpc.} (—¾§¯BIQi*—¾S€³ï¢m¨`Ëåé¢PÿÿÃÿÿ‰zÁÀ<Œˆúÿÿÿ7ñÿ,ÆåêÉÈê\Tendstream endobj 115 0 obj << /Filter /FlateDecode /Length 170 >> stream xÚ½Š= Â@…·[˜f¹€nBK1‚)­,ÄJ--­Gðb¹G0GØr‹eÇÑt@|¼¿"—Lq” Šó 28ƒØT$ñ»ìOP·`7r»l»Äëåv[¯f˜mp+Ï´ ÒÃé^Ñ3$^ñ+VAGþ9*“0UZÆJio\¢´3½°7Ý;sÿ/)Tžòì8R`?ø¡‡y kxéífÇendstream endobj 116 0 obj << /Filter /FlateDecode /Length 155 >> stream xÚ31Ö35S0P0bcc3…C®B.ßÄ1’s¹œ<¹ôÃL ¹ô=€¢\úž¾ %E¥©\úNÎ @Q…h ÊX.O…úòþÿ¨ÿ$þÿ$ÿÿÏÀPÿD2þÿ`ß$ȃÈù@’Hþ“Èô&ëÿ?:ñÿÿÿÿ7 “q.WO®@.ˆliendstream endobj 117 0 obj << /Filter /FlateDecode /Length 182 >> stream xÚ}Ž=‚@…‡XLÃvNàBh7ALÜÂD+ c¥–m…£íQ8¥…a†‚Îb^2ï}¹Y%¥”•’)é’áMÁ½´ãâ|ÃÊ¡>)PoxŠÚméùx]QW»e¨k:f”žÐÕñT`i‚‡(„!|xΛ¤PP-X°,­åóö øYØ#îþËÀwÝüѰ‹+1Uš)H"%\0HÐ&È×÷ø;‚P7endstream endobj 118 0 obj << /Filter /FlateDecode /Length 200 >> stream xÚ¥= Â@…g°¦ñÎt³äS þ€)­,ÄJ--mGó(9– †Œ»I@KÁ)¾â óÞ›(Æ ¬y Gi>h:S˜:5à8jWûM2RSR §“Ê–|½Üޤ&«)kR3Þjv”Í87ýÄŠyIâr‡ŠÉŸ(~]ƒt,– °D ðAåqÿ•3pg-Ð6Îu†@Ï´‘…¯k¸Bè«¡/‰vüïòr)À½j¾Qk4ÏhMoÚzéendstream endobj 119 0 obj << /Filter /FlateDecode /Length 211 >> stream xÚ­Ï= Â@à‘ ÓäÎ4 Ù»€?` A+ ±RK E[“x¥½Wð¦´޳Y-›¯x!oÞ긛¤RL¨G:¡8¥u„;Ô‘¤!%úõiµÅ~ŽÁœt„ÁXr ò öÇ ýé€$ÒB~Zb>$ðjU´Ù7_ ´˜o> stream xÚ­É1 Â@ПJø—ðŸÀͺ1¤[ˆÜBÐÊB¬ÔRPÑz=ZŽo°eŠà¸±í-æÁÌdf4É%•qL¦Åä²×|fSÄžöµ?vG.«µ˜‚Õ<®¬ÜB®—ÛU¹œŠfUÉFKºeW‰’­ †è<,:²þAé¨%ÛÒ‰l "Û|¨{î¿Ð¿ð@CÂïgŽWüòÚItendstream endobj 121 0 obj << /Filter /FlateDecode /Length 185 >> stream xÚMË1 Â@Бir„Ì Ü$«1‚)­,ÄJ-…( VnŽ–£ä)·X2΂…Å[fvþŸéé<§„<½ Ó%Å;êLöįþp¾aY£:ÎPmäU½¥çãuEUîV”¢ªè˜Rrº"0¶ ˜m$bQÓEöu0±ö ˜ àbAz­ô{0,–H(`|KL†BÄãûZ K©Ž<„Ž™=+zyÚ&v€ë÷øw ^>endstream endobj 122 0 obj << /Filter /FlateDecode /Length 155 >> stream xÚ31Ö35S0P0bc 3…C®B.cS ßÄI$çr9yré‡+›ré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ä€Àž¢þÿÿÿ @ü¿A€ÅH2…‚ù`€hàÀ ß €AþAý~ [@óÿ Œÿ€LxÀÀåêÉÈú‰Bendstream endobj 123 0 obj << /Filter /FlateDecode /Length 148 >> stream xÚ31Ö35S0P0bcc3…C®B.ßÄ1’s¹œ<¹ôÃL ¹ô=€¢\úž¾ %E¥©\úNÎ @Q…h ÊX.O…úÌÿþÿ`ÿ…¬ÿÁ $0ð()DÚÉ? õþÜÆðêdƒ=˜”ÿH2ÿcÿÏÀåêÉÈÁd;endstream endobj 124 0 obj << /Filter /FlateDecode /Length 187 >> stream xÚ5ͽ Â0ð+Â-}„Þ˜~Yèb¡V0ƒ “ƒ8©£ƒ¢›ÔB_Ì­¯Ñ7¨c‡Òx±)á~äþ¹#a0›Gä’ÏúDtöð†A̽«[ýpºb*Qì)ˆQ¬9E!7ô¸?/(Òí’<# 3iŠÅX Ðkø \IÜá!€Làendstream endobj 125 0 obj << /Filter /FlateDecode /Length 174 >> stream xÚ31Ö35S0P0bcc3…C®B.ßÄ1’s¹œ<¹ôÃL ¹ô=€¢\úž¾ %E¥©\úNÎ @Q…h ÊX.O…úÿ `Ôðÿ?ÃÙaCÄÙ00~ @2?ÀDv`²N2~¨+þߎ ¿#Èß``’ ?Ÿ‡“¿¿G#«¾g``¨?øA6 Hû†@Rž¡†ËÕ“+ ÆmŸendstream endobj 126 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚEŒ; ÂPEoH!Lãœø£‚UÀ˜BÐÊB¬ÔÒBÑN!…Û²³t î@Ë!ãL@,ÞaæÌ»·µ{}¸£¯Ûá¨ÏÛ tlµÃfOÄܒ£¹©ZrÉŒOÇóŽÜp>âܘW!kJÆ‹/ŸLnRüQ;”H¡(Ô+€Øû­Üp{Íçh¼¯€/ O ¨.†êçê«oŸk> ¹¶´¬4¶ú…¥4Wè¬&F&ž”™äRŠ¢ª§ÚÑ$¡}¥]Y#endstream endobj 127 0 obj << /Filter /FlateDecode /Length 237 >> stream xÚEαjÃ@ àßdˆ€ÁzöìØ ÉCš@=’©CèÔvìÐÐnÆvÈÐ×jé‹:tÍV&É=Žûîî$%ñõhÌ!ù*šp2äxÌO½R<•hȣĥ_hž‘¹çxJæVâd²;~Û¾?“™¯n8"³àMÄáe .­gkwödí^‘[ëàWÞñŸ òj€#Ì€\)dÉ™;RIÉ«ÚáïZŽŽþ—ò}pô~”ßOÀkùk©Ø ²QvÌ: %ïh”Ú1y‘Êä(÷ʇô)|%¥Nµpp|ýÚ—$h™ÑšÎÛ˜axendstream endobj 128 0 obj << /Filter /FlateDecode /Length 180 >> stream xÚEÊ; Â@…á,·É„¹+p2yˆiˆL!he!Vj)¨h'1KËR²„)§‰)l¾â?'‰géœCV-8Qœ*¾(zPœ¹rËùFyIòÀqFrã2Ér˯çûJ2ß­X‘,ø¨8> stream xÚEɱ ‚@ÇñŸ4ÿÅîÿz¹t`955DS5µEúh>Šàxƒœ8´|†ï7Q³tÎ!+Žœ(N#¾Dô •¹r¬Æs¾Q^’<°ÊHn\&Ynùõ|_Iæ»G$ >Fž¨,X~£]ÕB˜¡ƒîG ´ýS« + | ,=Ç×ë€ÏÄÑû-<´˜ÑÀ甆ÝXGÝ;p¦ uI{úæA‰endstream endobj 130 0 obj << /Filter /FlateDecode /Length 117 >> stream xÚ31Ö35S0P°T02W06U05RH1ä*ä22 ()°Lr.—“'—~8P€KßLzú*”•¦ré;8+ré»(D*Äryº(Ø0È1Ôá†úl¸ž;¬c°ÇŠí Èl ärõä äÅ++Üendstream endobj 131 0 obj << /Filter /FlateDecode /Length 251 >> stream xÚ…±JA†'\!Ls­ÝÎ èÞ±^ÔÆ…Á+­,ÄJ--íÄ;ðÅy‘µ²4åB–[çO"h£ÍWì¿üßÌì¹Ýf,•4²³/îPš¹­ùÓÇJÆÍ:¹¹çIËöRœc{ªÏlÛ3yz|¾c;9?–šíT®j©®¹ fDT„¿P&E—{åh+ç•9G2ËÏD~þ>/BG¯Eðô$E7è~ }§ø¬€ŸK…ÑvmV›:¶¼«$ê,HŠ@•%¡j»}¦W”}þa³ÂzHõ‘ ¦OØ#b£¼A=ðb2ñßãà~|Òò+IŽendstream endobj 132 0 obj << /Filter /FlateDecode /Length 148 >> stream xÚ31Ö35S0P04U02R06P05TH1ä*ä24Š(YB¥’s¹œ<¹ôà M¸ô=€â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. ü òì?Ô¨ÿ„êÿØÿ‘ÿÃÿ‡¡ ÿ0ü`øÁøƒñóöìøØ7Ô7ügø.`àrõä ähn.äendstream endobj 133 0 obj << /Filter /FlateDecode /Length 191 >> stream xÚ…Ž=‚P„‡PlÃØ èã_:ÄD ­,Œ•ZZh´ŽÆQ<%!îLìL¾jvvfÂ`Åì²ò,á`ÁQÂgnäû¢ºÇÓét¥¬ µgß'µT±áÇýy!•m—ì‘Êùà±{¤"g :ÌV »S#­Pý ·0X¶Pé4bI¡ãëK¯³þÓÿ¼”˜rÒjJ– )’:)•j`Œ?åhªõH™j³u^B«‚vôx—FØendstream endobj 134 0 obj << /Filter /FlateDecode /Length 186 >> stream xÚ…O½ ‚`=Ñ Ü¥Gè¾@}jin‚äÔÔMÕTÔ¬æ£ø ¢üÀ58Ó=¿w>›¡ººÐI¤3WƒHÏžÜÅ÷yt5 -sºJ’‰Ù«ï‹Yó,&ÛèóñºˆI¶KõĤzðÔ=J–ê ¨h¼@\bTÁycøÁÀ9ÆéNÕ" J{Ô]Þ?PÖ[h·9 ´É¬`ëXwšŸƒBJ8#9µíÖ1Ž/È*“|¨tM'endstream endobj 135 0 obj << /Filter /FlateDecode /Length 136 >> stream xÚ31Ö35S0P04UÐ54R0² R ¹ ¹ M€Â FÆ0¹ä\.'O.ýpC.} —¾§¯BIQi*—¾S€³‚!—¾‹B´¡‚A,—§‹ƒüûõ?€ðÚÿ‘ÿÃÿ‡áÆŒ?˜?°PààP—«'W ž7,2endstream endobj 136 0 obj << /Filter /FlateDecode /Length 104 >> stream xÚ31Ö35S0P0W04S06W02TH1ä*ä2² (˜B$’s¹œ<¹ôÃŒ,¹ô=L¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]êÿÿÿðÿÿÿ0 âs¹zrrŽª${endstream endobj 137 0 obj << /Filter /FlateDecode /Length 202 >> stream xÚ= Â@…_°L“#8ÐMLbiÀ0… •…X©¥…¢hŽ–£ìRZ„Äq¶XÚ|Ë΃Ù÷mÓ1‡œð â$ätÄLj.§2”kì’Ù¦9™-Ç)™¥ŒÉä+¾]ï'2ÓõŒ#2sÞEî)Ÿ3zoA#ÈÚxµ%ж^TJìW^ ߢFPâéÐ/9dS1‘=ÅSPvx~Y ìŸbýYªèÞUt…\I‹ÆuÖöê¡Fêæ,ÕWÍ¿@‹œ6ôymdÀendstream endobj 138 0 obj << /Filter /FlateDecode /Length 142 >> stream xÚ31Ö35S0P°bc S#…C®B.# ßÄI$çr9yré‡+Ypé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]Øø XŠí¸ˆÿ7001;×ñ¾Äójä‘Ô®ÿÿÿÁÿÿÿ?À0ˆÏåêÉÈÁ×JÙendstream endobj 139 0 obj << /Filter /FlateDecode /Length 221 >> stream xÚe1N1Eÿ*…¥i|„Ì ð.›¥BZ)‰- ¢@T’mvæ£ø)SD;ÌOC²ü¬ÿÿ=^µݕֺ⮵»Ô×F>¤í¼>•¼Ø¾Ëzô¤m'éλ’†{ýúü~“´~¸ÑFÒFŸ­_dØ(âÀh*³‚`¶G4;byˆ3úRú £/?wÀršÙ³9Š#œaG\8G> stream xÚ31Ö35S0P0U0Q0¶T01SH1ä*ä26Š(˜%’s¹œ<¹ôÃŒ¹ô=€¢\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. L@ÌÀß$äAD=ˆø$˜ÿÄÿ€Ä?€Ä ‹³ÃÅíáâÿáâ?Å@âP¢&VVÌŒ.ó.ó.S—áG—;ì&.WO®@.ÿê=Ûendstream endobj 141 0 obj << /Filter /FlateDecode /Length 110 >> stream xÚ31Ö35S0P0V04S01T06QH1ä*ä26 (Z@d’s¹œ<¹ôÌ͹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. õÿÿÿÿÄÿ °‘§\®ž\\¸ÏA‡endstream endobj 142 0 obj << /Filter /FlateDecode /Length 162 >> stream xÚ]± Â0†‡Â->‚ÿ˜ÄK N…ZÁ ‚N⤎ŠÎú¨>‚c‡bMN8¤>È÷] çy’°ÈáÁ3øGGbŽÎÂO%ÎT2[0“YFK&¬p»ÞOdªõŽLƒÝS¨AZZFý¢HW 2"ÃòL}¦¾Tß©oþýï»­® ËÐ"І¾ÓE?£endstream endobj 143 0 obj << /Filter /FlateDecode /Length 186 >> stream xÚmÉ?‚P ð’.žÀÇ_&ÔDŒ“::ht/Fâà5¼Œ „ú@_‚ÂÐ_û}õ½A0$›\9¾KK[è…2Ûu¬›=Æ Š%y!Š©lQ$3:Ï;ñ|DŠ1­²×˜Œ  »è|U¼ƇLñP˜çw‰uËû‰´¢ÃÊ~J¹€¹j¡1ó—¢zÖõC’O0³´.SÖ¸dIÕ\M‡“ø¾VoJendstream endobj 144 0 obj << /Filter /FlateDecode /Length 190 >> stream xÚ}±‚0†KLná¸'°4€  bbŒ“::htÍGá:2ê]#°1Ü—þíõÿó'ñ2]a„Š&Q˜*¼*x@œ‘ŽXòÃå…yÄ8¹¥[z‡¯çû²Ø¯‘t‰'Ú<ƒ.±²¶„VXk{>Y‡¯oDÎÂÂü^;‡iÏ}s![ÙÚg{Ÿƒ¤K § ÑJt#zÆgý°ìuƒKÀÈ 7j\-[WÿªFÀFÃ~óæŠÚendstream endobj 145 0 obj << /Filter /FlateDecode /Length 217 >> stream xÚÏ1NÃ@й°4¹¬—Ii) HPQ * D-7ËQ|—ƒ<Ìléi^1+ýý‘Ž›S®9ñQäEäæ„"½PZÚ±æ&í_îŸhÕQ¸á´¤pag Ý%¿½¾?RX]q¤°æÛÈõukÏ(uTú%hõ[Ы ôSe6¡—b‡¹”#*§”jp¶(d¾Ù3“¿ô΀ÑAfrvÿcúK9Ð{üáËÜ “[Y¿bô¦™ÁÛ¶£Ýú¢oƒ­´ÜJí‡RGK³;wtM?`Vg6endstream endobj 146 0 obj << /Filter /FlateDecode /Length 182 >> stream xÚϱ Â@ àH‡BÁ<׳­t+Ô Þ èä Nêè è\í¥Ð±CñÌEÚAœîƒ$pÉŸÄÓtNÍø%šRM'WŒ3®#_úÁñ‚…Aµ£8Cµâ.*³¦ûíqFUlÄuI{MÑMI•sÎ9ëi<-p¯ƒ°^ 8OõdrÏÄ2ãº'&Zfôèþçë+Ù +ey8$÷å¶¿Ù}rH"ÉÖ§´ Éqip‹oéËDendstream endobj 147 0 obj << /Filter /FlateDecode /Length 148 >> stream xÚ31Ö35S0P0b#SC…C®B.cK ßÄI$çr9yré‡+[ré{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…úÿÿÿâÿ?HìóFÂÃÁ€A0>@6:´ ;M1ÄlÆC QGòÑ¿ÿ¨Hì—«'W ȇoendstream endobj 148 0 obj << /Filter /FlateDecode /Length 145 >> stream xÚ31Ö35S0P0bCSC…C®B.c ßÄI$çr9yré‡+[pé{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…úÿÿÿÿâÿHìó"ˆ Á€ƒø$`@±ØCLÁmQDýÿ ÿ!Ä( ,ÆåêÉÈâ!xñendstream endobj 149 0 obj << /Filter /FlateDecode /Length 226 >> stream xÚÐ=NÃ@à±\¬4๬£t–BpJ”AÐÚÛq­¹Wà¡L±Ê0;I$Jš¯˜ý{oçá²[PC.ZšÏ¨›Ñs‹[ K6Ô…ãÊÓ+®ô–èotŒ~¸¥÷·ô«»+jѯ鱥fƒÃš He„J>jÙ1L" ¢â„ËT({v?0qõ =Wº“k#*½žæÎŒ'\TŒC&ý›Rö œ$ãólü{½½VŸˆç,šÊòõ9étÌlé­‡5²nÚr—û~±6wQÿ¯¼Ç_Æètîendstream endobj 150 0 obj << /Filter /FlateDecode /Length 121 >> stream xÚ31Ö35S0P0b#SC…C®B.cK ßÄI$çr9yré‡+[ré{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…ú ÿÿüÿÏøÿ‚‹±?`à?@uâÿÿÿØ šØ'pú’ËÕ“+ šŒ‡áendstream endobj 151 0 obj << /Filter /FlateDecode /Length 108 >> stream xÚ31Ö35S0P0bc SC…C®B.crAɹ\Nž\úá Æ\ú@Q.}O_…’¢ÒT.}§g ßE!ÚPÁ –ËÓE¡þÿÿÿÿÿÿà >ÿ†Áޱ¹›ËÕ“+ EEX{endstream endobj 152 0 obj << /Filter /FlateDecode /Length 123 >> stream xÚ31Ö35S0P0bCSC…C®B.cs ßÄI$çr9yré‡+›sé{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…úÿþÿÿ€L€Å˜ŒÁN|Œ?ˆ êÿÿÿÿã?*ûÀåêÉÈå¤fendstream endobj 153 0 obj << /Filter /FlateDecode /Length 178 >> stream xÚ31Ö35S0P0b#SC…C®B.cK ßÄI$çr9yré‡+[ré{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…ú üþ`ÿ!~0Øÿ«øÄþ= ÕÄ<†ÏÈÄ|FÑÏøF4ÈöæÃ@â8Œh>Þ #ÞÈÆ÷Ì0â?hø‡JÔ€ Á@6QôÛ°ßXŒËÕ“+ ­0ˆendstream endobj 154 0 obj << /Filter /FlateDecode /Length 195 >> stream xÚUÏ= Â@àˆE`o`ææ_H£#¸… •…X©¥…¢t¹ÖŠ…¥7P;Ût¦‰³’h1¼7Å0ŽÝsûh EãX蚸1a¶GÙQ,Ö;ðè ´=Ð'ԂΦx<œ¶ û³Rpi¢±`˜(aV¤J‘—dD˜Q§æŠÊÕGÍSpoˆˆ›„W\%¯Š‹$©à’´æüÏ ¦+Ðj:’¸BùïѶäM´>„ÒPpñ/ò’a uZcsø¶‰yendstream endobj 155 0 obj << /Filter /FlateDecode /Length 170 >> stream xÚÅ1 Â@ERÓx„Ìt³Ž¬b·´²«hi¡hkrÔÁÒ"ì¸L Å Ã+þoþ›)óe”ÓÈÏ)ŸÐÑâ™ccî›êŒ…G³#f4«£ñkº]ï'4ÅfAMI{KÙ}IP @"ÒÂPä©HN$€k“ˆÔOñp_Mþ:Cñ³ï3\=Üsz7µT_5×àÒãßl§endstream endobj 156 0 obj << /Filter /FlateDecode /Length 174 >> stream xÚ31Ö35S0P0bSC…C®B.cs ÌI$çr9yré‡+›sé{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…úÿÿ0üÿÿÿˆø"þ3Åþ70`øH؃þ@‚ýŒ`?€#^¬„ùŠ^°Q`Cƃ-YÉ ²œä fƒ€² Ô$êÿ700€ F"Àb\®ž\\âˆwKendstream endobj 157 0 obj << /Filter /FlateDecode /Length 196 >> stream xڕб‚0àcjr Ð{…bq5ALd0ÑÉÁ8©£ƒFçòfú(<£á,m¢8ãò Û»?Õ£a:¦˜(ÒšRE{…'Ôʆ1¥‰?Ù1+0Z“VÍmŒQ± ËùzÀ([Nɦ9mì›-9n€™Kgå|îD%ÚÎÀ Æ9);eÏðþÛþ}?Á¼'»-~£Û.\kýJ*Ñôš|ôù×Ð)Ëošä­dÉö7 ô¶`ó®@PÎ \á-‘zendstream endobj 158 0 obj << /Filter /FlateDecode /Length 235 >> stream xÚu1NÄ@ E½Ú"’›a|˜„$´#-‹D $¨(P"í"¨ˆ–p…aË E1ß$š'ÿ·ý§®Ž›S)¤–£RêBšy(yÏUƒ&žÕ·rÿÄ›–ãT Ç ´9¶—òòüúÈqsu&%Ç­Ü–RÜq» cFd–ëÊìC33ÓÜÁ4õk’v0é;Q§3QÒéá/ æœ H&‡õÐ åÚPâä‰2oR‡q”>iˤ#ô¿È‡oð Óðýó@Ø“Ôıyeø©Íމ>ýø˜cçù¼åkþÅxsendstream endobj 159 0 obj << /Filter /FlateDecode /Length 125 >> stream xÚ31Ö35S0P0b#SC…C®B.cK ßÄI$çr9yré‡+[ré{E¹ô=}JŠJS¹ôœ€|…hCƒX.O…úÿÿÿÿâÿÿЈ? u uø‰ aÃ$=aÿÿ”¨ÿÿ‰ËåêÉÈ'öT©endstream endobj 160 0 obj << /Filter /FlateDecode /Length 197 >> stream xÚÏ= Â@à‹À4Á¹€&«‰eŠÁ‚Vb¥–ŠvB¼X‚…×PRØF,6Ý:ü )äÁW¼aŠg·›N‡,Ôd·É4¸B[pi‘ÓÊ/³%zšc²š}®Ñ ´YohzÃ.qëÓ„¦ø¦`hÐÔ´ü6ïë°+±&²¿4"¨¤¥ºOÂՓޟުguøµrNÑËkrdoÉ¥hüXùRÅê¡,ÊóÙPjžrÊt9€½GxvðŒHendstream endobj 161 0 obj << /Filter /FlateDecode /Length 114 >> stream xÚ31Ö35S0P04WÐ5W01T0µPH1ä*ä22Š(˜™B¥’s¹œ<¹ôÃŒŒ¹ô=€â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. õÿÿüÿÿ†þüa`üè?’›îçrõä ä“áewendstream endobj 162 0 obj << /Filter /FlateDecode /Length 152 >> stream xÚ31Ö35S0P0UÐ5W0¶T0µPH1ä*ä26 (˜™Bd’s¹œ<¹ôÃŒ¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž.  @ðNü5 ¢DØ{! €?˜8$ØÁÄ Á &> F0ßTt£Ÿ©¸ƒa*ˆ`gàrõä äzƒ:Òendstream endobj 163 0 obj << /Filter /FlateDecode /Length 116 >> stream xÚ31Ö35S0P0VÐ5W02W0µPH1ä*ä22 (˜™Bd’s¹œ<¹ôÃŒŒ¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. õÿÿüÿÿ‚êÿÿc`¨ü¨æ`°›ÿp¹zrri›Iendstream endobj 164 0 obj << /Filter /FlateDecode /Length 191 >> stream xÚm̱ Â@ àÁBáò^Kk¡ÓV°ƒ “ƒ8©£ƒ¢«í›ÙGé#8:‡û rž'%”ëË)+èâ³RæDG]ìO8­Ñn(+Ñ.$E[/éz¹ÑNW3JÑV´M)Ùa]QÄO€˜€an•Kè:ób%ò`Zð0C€ûßÏ e¤nïà^rÒtŠÅÿá³h´¾i\o´€ÙK‡˜ù"ºgìq^ãßg\endstream endobj 165 0 obj << /Filter /FlateDecode /Length 189 >> stream xÚŽ1 Â@Eg°¦ñ™˜„$B*!F0… •…X©¥…¢­ÉÑr”aË€!ãl;±˜wæÿÓhÆû:¡Ï‘Ï'Ÿ®Ī=+íÇñBIF˜Ü•¾’›­ù~{œÉM6 Vò^7”¥œú ¹þ§R¨¾¤‘ŠÉK”©P`l°…QMlìí­ÅóG´j g°î» ‰"+ÞÕ°…ºj¶$˜y ´ÌhKo&Éswendstream endobj 166 0 obj << /Filter /FlateDecode /Length 180 >> stream xÚŽ1‚@E¿¡0™†ÖŽ9 Y¤%ALÜÂD+ c¥–m£yŽ`IAg)´u“}ÉŸÍþy©/2ŽÙß4f›ñ9¡Y«yŒþát¥Â‘Ù³µdÖ:%ã6ü¸?/dŠí’2%ŽäJF -IÔ2`"Š@D0 ߊ¨õx¡BÞ`†zjê‹þOü~ŒZúÒ¨ÑzE«AWÖº<¯1 õ^­ó’jªsÐÊÑŽ>¯ZEGendstream endobj 167 0 obj << /Filter /FlateDecode /Length 238 >> stream xÚUÎ1NÃ@ÐY¹°4à¹lL™4±‚„ $¨(UBI‚Î’-Q¸ƒp#.Â\º°¼üÝxeѼbvæïOÏNÓD²–“DÒLVçrHø™—† Y­/û'Þ¬ïd™±¾Â˜uq-¯/o¬·7’°ÞÉ=‚¸Ø ©˜ÿŽÎÎüz¢™ÖÏÔžÜÓç¸AÜTD›À•Áˆ¹Ñà«Ñf6´j@Ø‘4«v}ÍŒÅ]ODÈùn'bÇå½(w4uIUC%™6ÊDhöùAq~¡m0ê¨#¾,ø–ÿ¨GkÛendstream endobj 168 0 obj << /Filter /FlateDecode /Length 194 >> stream xÚmÎ1 Â@Ð )¿Éò/ ›5 I“€F0… •…X©¥…¢°…˜ÍÍâMö)SˆqÕÂÆâ530L÷åCN¸'9J8ñNÒ‘‰ CŽâo³=и ±âABbfcŜϧ˞Äx1aI"çµäpCEÎ@ ¸] ÿn¡Á (§…r(Ï@ùo5Ú F“iÇòL¦]VÊ®µô{õüãñ^ØR7 Iá˜nÀ×>RxUk¯˜ÏM ZÒ ÔRB> stream xڕб Â@ Ð+B@h~ ^kÕV ZÁ‚N⤎ŠB‡¢~Z?ÅO¨[©&‡á\îA.ärI³ÝhµÐF«‰–ã¡ëa»‹kvàútm£×)s«- "st}cJ€Œ&xØ7 Ó!: C\8h/! QQM 3#ú>‘ôˆüAÜ Cq#*·œÈ2†«Wš"Õ1ŠžÏT˜o(èˆ@蜙Ó æ¡c(rŠ"ÓùkŒÏß”¿­3§~IÁk,&æ…rŸ˜ Ôs\ £fð8J]¨endstream endobj 170 0 obj << /Filter /FlateDecode /Length 235 >> stream xÚEαJ1àY¶L“2/ Ù°ëÝuó·´²+µ´Pe/ðEò›+Âê̲«ÍWL2ÿüíæÄ­¨¡ŽŽÝš:Gíš>c+Ó†N»ùéþ ·=ÚjWh/x޶¿¤×—·G´Û«3rhwt먹Ã~G*€ÏLÙ$¨²ÉP'FEAÆ•ÁƒJ°Ð F¡€ŽÕŒ‰õÄ¿/ø &¦í™ýŒä,Œ¾] µ  ÷Ñ€l˜÷Æ3úKêÖ‚ú'-è‰GÂÀ¥„À<0ƒP8®â¤OY0?ÓF^Âó¯ñórdŒendstream endobj 171 0 obj << /Filter /FlateDecode /Length 228 >> stream xÚUϱJÄ@Ð7¤^“ò~@ǸYaq`]Á‚Vbµk)¬¢`•̧åS"þ@Ê-ÂÆûFaæwx—;ÕùiUÊ™Ì夔ª’¹“Mɯ> stream xÚ…Í1 Â@ÐR,Lá^ ¸sÝ$$j'hSZYˆ•Z *ÚjÄ‹%7Ù#¤´q79€3¯øÌ?NûIÂ!¹q<â4å}DgŠCv›ÚÏîH“œôšãôÜžIç ¾^nÒ“å”#Òo"·”g ¯„05¤e\ö üþ¢‹ŽBÐYcœZÔwë |ÏzÃoÕ®M4UÒYYU•êÙxÊ/”€Ó Þð h–ÓŠ~9 9óendstream endobj 173 0 obj << /Filter /FlateDecode /Length 215 >> stream xÚ•ÎÏjÂ@ð/ä ÌÁ¼@0óéæ!Š‚U0¡ž<ˆ§Ö£K…JšGË£øÛÛJèÄu¡xëÀï2ÃÌ7Yñ0sÂqÎqZržpQðkJ'Ê3i'\fnör¤yEjËyFj%RÕšßßÎRóç'NI-x—r²§jÁ†b&¾þ¨EˆUÔÈj |kx­†ß zžA †b$BßàQL|}…s±§µ"§±fÎÝÛõMwócyޱüž–74j‰ëuÓ º0SàãS.k›NËŠ6ô I…JÑendstream endobj 174 0 obj << /Filter /FlateDecode /Length 248 >> stream xÚUαJÄ@àY¶X˜âòr™ÐdwDÎL!he!Vj)¨h{Y¹Â×:ß$V¶›-–äf" i¾â˜ÿ/Ê=;§œf´ké`Ÿf%ÝY|ÂBBŽ/·¸¨0»¢bŽÙǘUçôòüzÙââ„,fKº¶”ß`µ$Ð-€êG€hF$›é€á`D-¬ ñŒk˜¶N}´õ;c¸/NL«âŽiT(…\{tà^ýÍEú‡?ë^öD¡z>˜¯À{>£ŒZ µàdI}ú¶ùc͉[{Nÿc|Íð¨ca:¦ÐArL€TxZá%nXÊ_&endstream endobj 175 0 obj << /Filter /FlateDecode /Length 171 >> stream xÚ}Ì1 Â@…á‹ÀæbæºÙ@tAˆÜBÐÊB¬ÔRPQH!š£å(9‚eŠÝÙµ¾êð"9ˆ(¤õ%ECŠ$^P*CŠÇnÙŸ0Ñ(6$Š…É(ô’n×ûE²š‘D‘ÒVR¸Cø…÷ùÀÈÙÔö²žVcÕ¬åT¬í¼™ç”Ìw ü¿ï°ÆèAݵ&P+¨Œ ²3> stream xÚUÏAJÄ0à?dQÈÂ^`0ïÚéˆme ãv!èÊ…¸R—B…®:9ZŽ’Á \L¥cšªŒ«¼„ÿÉòÓâœæ”ÓIJùœÎrzJÅ«È~èÅtóø"VµHî([ˆäÊER_ÓûÛdzHV7”ŠdM÷)ÍD½&f0 ²ˆß+Ù㨌#Ý.q¼,ùÖHÌdË¿´TEeÙNÅ^ÃvˆU[i6x›IÝTŠõAp©ìfÒtàö@tc[¥¦Ö è™ÿư`æ|èŸÃ¨Ôþÿu eýlÒúM\J¸+B(·‡úÍlJ¸iB87öGJøVËPöéîK°G@ qY‹[ñ çËxcendstream endobj 177 0 obj << /Filter /FlateDecode /Length 226 >> stream xÚUÏÍjÂ@àf1pñÄܨ1$j ¡À,]¹(]Ù. mi! ‰}±<Ê> stream xÚ=Î= Â@à')Óì2ÐͨMÁ‚Vb¥–ŠvÁ^,Þ$GØ2EHœ$`ñÁðÞLèOB]žóØãÐç`Êgnøº̆ÍéJ‹”ôžŸôZbÒé†÷ç…ôb»dtÂ):Rš0V[@} Tx!Cl$“eÙ±]"VÂ)ñ»—çüµ­h€f0êÔuϪ¶e UfPÅ Î;BŒHŽv§ÕÇô¯@ h•ÒŽ~ÈGÌendstream endobj 179 0 obj << /Filter /FlateDecode /Length 236 >> stream xÚ]ϱNÃ0à?Êé!÷%¤ ”©‰ Htb@L-c¥ÔÕ~4ó&æ 5l ‘å4ù'ÝW´ _ …lÐendstream endobj 180 0 obj << /Filter /FlateDecode /Length 182 >> stream xÚUÍ1 Â0Æñ'„7Ø û. iH¡Š…ZÁ ‚N⤎B…bs´¥GèèPÄ&âå7ü¿áátS@M8…œDD'ŽW¢‰ø·/˜Id;ÙªÏÈäšî·ÇY¶YG–ÓžSp@™“S;-¸­ßÁ¸L\𞅠ɼIUœÖ=•JUÙEÚ4M÷4ÃÛÂ1´CCcáj ß ,Rƒ~ip)q‹_O> stream xÚ=ͱjÂ`à2î’70÷ôOòSM—R3êä ÔQ¨R¡C¨B_,’GȘ!äï±¥ßîåžcíä)ÑH§:ŽÕ>ªé.–£$)—‘Úôï²=HQŠYk’ŠYr-¦|ÑÓy/¦x}ÖXÌ\7±FoR΀wEð]#Cƒ ->ñŽ­×ù­×Þ5œµß~O®†ç:â¿sÀ…ù-‡ÜäRPgôE‚ë¿!ËB–e,«²pä7¿ï#eQÊJ~ybHaendstream endobj 182 0 obj << /Filter /FlateDecode /Length 178 >> stream xÚ]Ì1 Â@Ð )Óì„Ìt“Mb,Ä…Á-­,ÄJ-+³GËQr„”Bt ñóªÿá«| )¢œú1%Š2EûϨR.#Ê’ï²;baP®I¥(ç\£4 º^n”ÅrJ1Ê’61E[4%o!¨Aü™u4§x@ÕuŒ/øòØÓñYë¬qDówßûk;Òp×pÒÐjh´WOü: ¬ðm 83¸Â7Á¿B endstream endobj 183 0 obj << /Filter /FlateDecode /Length 216 >> stream xÚ5É1jÃ0€á'4Þ]ÀØï­läb‚4…z(´S‡’)íXHK ™ß WÒQt„7j0¦²ã.ßðÿMs}c¨¢–®jjZ2-½ÖøfbEÆ^Îá·êg2kÔ÷)£îèëóû õöñ–jÔ;z©©Úc·#ˆ G>ûVªÏB1‘OXÕ«`ËÄ)á3®/=;(}Hôᜀp #8€áÂÄLLëŸä ðZC1‘'b.ÃÂF²ŒVr­àŒ‚‹È7§Žåà]‡Oø8cVCendstream endobj 184 0 obj << /Filter /FlateDecode /Length 206 >> stream xÚUÍ1jÃ@Ð/¶L!]ÀXsxµl°¶¢"W.B*;¥Á6v+éh:ÊaKÆx%4þ†oÝÌÌ9炟 ?¶ï ÉZ)s¶n¼l÷´¨IoØZÒ¯R“®ßø|º|‘^¼¿°!½äÃù'ÕKF@uE…xжK2aò |à2T«u‡ é­¤ð bø›€«D!AôÍ02…0 (8Ä~äðÿKÔ ª‡òª“7™ˆB`(…vÒ UMkºÖAÏendstream endobj 185 0 obj << /Filter /FlateDecode /Length 238 >> stream xÚUϱJÄ@à?l±0Åí ·óš,!\Š`à<Á‚Vb¥–Â) r—GÛGÙGØ2ENÜS8¦ø`vfv¦ªÎ]ɯùÌqUs¹ægGoTQZ–ÐAj4‰ú„¯ÄNq1 ‚2!šQydqõ-«`l.ŒÜÝvL¿@WÝÑšaÐendstream endobj 186 0 obj << /Filter /FlateDecode /Length 243 >> stream xÚUпJÄ@ð/l˜Â¼€¸óšÄ$$ÂÁÁy‚)­,ÄJ-…(ÚÉÅGKçkì#lgŠpømTN›ßÂìücÊìèøD3­õ0¯µ,´¨õ>—')*F3­ÊŸ¯»GYµ’^kQIzθ¤í…¾<¿>Hºº<Õ\ÒµÞäšÝJ»VxfB4Ä0nÏ"vûE ±H\³D2t;zØÁo`ßÝÌ–`ÂrÑÌøM3bãÿ°Eì™»ÑÌø3ã ÓKˆ·žM{ôŸÄ~®~±'sŸ>ìC˜Ë±ä |' cwt†UMÌ‚s‘là Â!䬕+ùžØb9endstream endobj 187 0 obj << /Filter /FlateDecode /Length 202 >> stream xÚ•Ð; Â@à )ƒ˜ ˆÎt_" ¢ L!he!Vji¡(Xñh9ŠGHiaáÄìbY¾fgæŸeiõ4IRššZRÛPGÓVá¤ütµ«mö8ŠQ,ÉHS. ˆgt:žw(Fó1)­É5Æ@…ÕX—eÞÀO‚@ÈWuÖg {”ZXàÚX +)0/+ø™uã,L‹ˆwŒc㆖‹½ZÉ—çgÕ_.?ôKjörUX>¿ÑK Àpã_Ö A¥endstream endobj 188 0 obj << /Filter /FlateDecode /Length 193 >> stream xڕн Â0ð+ ‡è Þ h¾@ŠC­`A'qRGEÁ¡C­ÒGèèà`BAÂoÉåþIN©ÁX'A}ÉIIJÚ <¡âd×HúÒF¶&Å‘ÍÍ>2½ Ëùz@–-§$å´Ä·¨sh@ÛHŒ¸t¢Ê¨°ïö¥0Ò??<¼»µ“æ­«tz8/\¢C¤ª|„mÿhKý7…×Q?­î» fp¦q…OM"Aendstream endobj 189 0 obj << /Filter /FlateDecode /Length 136 >> stream xÚ32Õ31Q0P0SÐ54S02P°TH1ä*ä24 (™Be’s¹œ<¹ôà ¹ô=€â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. ÌØ?ðÿ ÿ ?°o`0`(`H 0703°3ð1È0X…B \®ž\\ʃ!Îendstream endobj 190 0 obj << /Filter /FlateDecode /Length 95 >> stream xÚ3²Ô3³P0P0W04S0²T02TH1ä*äÒ@h ‘HÎåròäÒJsé{(˜ré{ú*”•¦ré;8+]¢:b¹<]êÿÿ¢ÿPôËÕ“+ Á €endstream endobj 191 0 obj << /Filter /FlateDecode /Length 93 >> stream xÚ32Õ31Q0P°bCK •bÈUÈâÄ@tr.—“'—~¸‚%—¾ˆðôU()*MåÒw pV0äÒwQˆ6T0ˆåòtQàc°o¨oø u 6 \®ž\\S°Ñendstream endobj 192 0 obj << /Filter /FlateDecode /Length 229 >> stream xÚ]бJAà?l±0Í>ÂÎ èå’»›b¯´²+“ÒBÑî0 ¾Ø>Ê>•W„è¹L˜åc™…Ù™)&—E®c½Ö‹‰•–¥®ry—iÅäXË«áåõMµdO:­$»cZ²ú^??¾Ö’-n4—l©Ï,ô"õRÓð;ÒxÒº“l„&Â“à˜€ï™Á´MÏöȨ;Âjö@K,I¬“Ü)>ÂÇ3æópÆØà„ovl}KF{:Þ÷ük/~ßp$Âùp܃§áÀ=¸ŸØß€¾. ·µ<Ê•Çgendstream endobj 193 0 obj << /Filter /FlateDecode /Length 247 >> stream xÚmÏÁJÃ@à?ì!0—¼A;/ iÚ„æPjsôäA„‚zª(ô 5¶²¾Á‚—Bë?Ôƒ‡ýf‡™ËéqYèDk=šj9תÒûBždV³8Ñj>¼Ü=ʲ‘üZgµäç,KÞ\èËóëƒäËËS-$_é ÝJ³RÀõÆò–z ºç“ˆ´%Ðad,Œè±õdŒuÒ#®“á—à:|xñÙ’w¤2N·ä„;ö¢á {d€»Ig}ßô?ìÿe‡dÏ‹yþ¿õ¶# ¤‘dÁð„Q6ekQ¶gĤ%±]rÖÈ•|Ðöcèendstream endobj 194 0 obj << /Filter /FlateDecode /Length 241 >> stream xÚeÏÁjÂ@àÉ!0—¼€è¼€®Ñ„X¬‚9öÔCé©í±P¥…D¾X%·^Ó[!ëŒ9XéÂ~ ³ËìüÑh…<äî8J8Žù5¤ )9NÚ›—wš¥dyœ]J™lºâÏí×ÙÙúžC²s~’FÏ”Î0Ÿ¡‚_ú%|ç %Cà„F©”èvèþÃT™\ó­|\8¿ÚàçX)!ÿUS(PÃäØÁd‚¬ý5ÍÌ™]åÐâÕpðª–FÒœ#AÒB ôr%C‰;{´vFòÝÊ[ôtÆ@rk€)=Ð ÐtZ…endstream endobj 195 0 obj << /Filter /FlateDecode /Length 249 >> stream xÚMÐ1NÃ@ÐomaiÁs°ØI‡¥$\ AEQeŠ è17sÇ-%.°¥ +æÏ*‚ûŠÙÝ?³[ÎÎËBs-r=›i¹ÔªÒ§Bv2_°škµ> stream xÚ33Ö33T0P04VÐ5R03W01QH1ä*ä25Š(˜˜A¥’s¹œ<¹ôÃL¹ô=€â\úž¾ %E¥©\úNÎ †\ú. Ñ@£b¹<]ÀÀL2~SìÀ”DªL2?Sü `Ê"…¢\Y9#Šr;dåÌ(Êk•³£(ÿ¬ f%²J¨>¨¥ 2ŠŸÙ"˜/Â|…f@Š%h Z‚fÀ.WO®@.“v*„endstream endobj 197 0 obj << /Filter /FlateDecode /Length 110 >> stream xÚ33Ö33T0P°T04T03U06TH1ä*ä25 (Ae’s¹œ<¹ôÃLM¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. Ñ@ƒb¹<]ØÿƒÀ~0õÎlëÿõ`ê—«'W ½x+.endstream endobj 198 0 obj << /Filter /FlateDecode /Length 179 >> stream xÚ33Ö33T0P°PÐ5R²LLR ¹ ¹L€‚ &f™ä\.'O.ýpS#.} 0—¾§¯BIQi*—¾S€³‚!—¾‹B4РX.O0à‡PÌ `Šñ„[¡ä ;TÍýBÙ@(>¨¬ Y‚j€ª%¨ +…j”‡ˆÕ +„j³ƒHý@V΢ü²r9å•Û (?€¬ê)¨ ¹\=¹¹·¹)Oendstream endobj 199 0 obj << /Filter /FlateDecode /Length 220 >> stream xÚUбjÃ@ Ð;n8Ð`ÿ€Iô=;`Ç[ q¡ íÔ!dJ;’Ò@¶øòKùƒü‚ÿ 3®>é wé!i¨*žª9æXº¬±Êñ³€”³±Ï]ëÛ,[0XÎÀ¼ŒS0í+þ|¿À,ßVX€ip]`¾¶A1†¼º*T„fÒˆ©§'gÆ2wBzn„º„è4$a&LÆÔûtèu€¼ÊÓZ„$YDÍœ­ °L/ôƒ^¤þQ¡=‚H™„É"jæÄì™Bÿ —Övr¼Ï-¼Ã Lr«endstream endobj 200 0 obj << /Filter /FlateDecode /Length 244 >> stream xÚUÐ;nÂ@à±(¦ñ<'`m‰%tH<$\D‚Š"J)S%µ9šâ#¸¤@lþ™ÛÖ7»Þyìúùd*¹x|³Bü›œ þa¯ë\—¿yY²;ˆ÷ì¶ØeW¾Ëïùï‹Ýr·’‚ÝZ> É?¹\ C72Â%R¥-e-hh|5F 7#QjJî $ ¸ÄÍHÕƒ¼Š¬Š‚š¬ƒÒZ*zÑ ì#•4U# çG³‰ÔVH³6Ðÿ÷Hˢʃ´µtÐ^=YŽ °èÁ5P¨Ã"¿êF}½^ÉšçáT‚§Ö—Ɔr 8oJÞó?ÙÍdendstream endobj 201 0 obj << /Filter /FlateDecode /Length 274 >> stream xÚ…ÐÁJÄ0à¿ôPÈÁ¾ж+YwaAXW°AOÄ“zTö 6ÖGÉ#ôØCiœI¢‹(x™$“™ÑËãcª¨žÑÁŒæ ÒKº¯Õ³Òš£Íëxt÷¨Ö*¯IkUžs\•ͽ¾¼=¨r}yJ¼ßÐMMÕ­j6 °Çœ8³Ï8gWKz&ï±}磫hb&ŽHGOÆ^|YÂòÓ^î{Œ§•?,œ'™£'õt’d‡äúÆHÊ/€ˆ|ð‹6bþÀEð‹l¥Wà)ì"¡!XOéB—ï93.—áÙ\Ï6gd¨V2˸n1äx.¹ñõ~ø–œL¹³»ÚÔY£®Ô' ¿m¿endstream endobj 202 0 obj << /Filter /FlateDecode /Length 247 >> stream xÚ]ѱNÃ0à‹ü|±]?o¤f»•·Zªwn·BÆ{ÿK4êûèY ù@ÅÏd.AÂÄBí¢ÍQ=•IÝ T‹d¬%sµ™÷˜ÚÝJsýÄbr¦h6óDÎ^^53{2è±¹šƒzD!;‰(dý«­`ïÑ!´m¢X“Ú¯¡m㺠ZÆèB$]B¤¹‰ÆRm7ó˜WúKPËÄ-¿ð|FŠáendstream endobj 203 0 obj << /Filter /FlateDecode /Length 245 >> stream xÚ]ÐÁJ„PÆñO\gã DsŸ «×fLä"¨U‹hU-ƒ) Z é£Í£ø.] cç»:š úã*xîÿºìl¾0‰qzgsãÎÍK*ïâ2]'\òÃó›¬r±Æeboô­ØüÖ|~|½Š]Ý]™TìÚ<¦&y’|mµ¼þ¸FH* èX³‘Se÷—Ë)åÀ‰þa ÂrDGp@O¬Ï``FöœM~”°mö¤‰l;.Hňv}©Øµé *vm‚Ï#Zö”¾+êéºâ¢‹%K\œK¶ì÷¤ »¸+ BQßô” r˽üVM}Ìendstream endobj 204 0 obj << /Filter /FlateDecode /Length 216 >> stream xÚeÐ1nÂ0àe°ô–ÜÞ êXÂÐ)‰ •èÄ€:AÇJQ©9ZŽÂ2vˆ’úA vkÉþü{ñoÛáƒqÂÖÍ‘a;æ­¡YɉDÙl>(ÍH¯ØZÒ wJ:{áÃþëtº|fCzÆkÃÉe3†jܨÿ€¸„Î@Ë8&…Ï4$¿óœBÐåŽêä.…;½±G…þ•'GTI/D—²BÕ¡~ÐrJ|wÄ!g|v¸w•…4¹1 É}N!ðiêËÚ»&÷Ñÿ¡yF¯ô ò€mOendstream endobj 205 0 obj << /Filter /FlateDecode /Length 270 >> stream xÚmѽJÄ@ðÿ‘ba ï ̼€&9L8áàà<Á‚Vb¥–Š‚…}´t¾FÞÀ-¯Ygö6ÜY„™ÙÌǦ:;-æœs1ã“Ws.Ïù© W*K‰æ\1õøB«š²;.KÊ®$NY}ÍïoÏ”­n.XÞ×|_pþ@õš$Ž„¥·Ç‚÷ÝBc'L>¿$ÕbÑ n€Aâ$}ÀH@9ãvò©Óóh´G˜ [ú@hµÈ­õ‡Õ’#@DÐDì?øFŒìyL¿s0·‡.4t{èÎi¤EiÃ’‘±¤Ž%½’ ¹ómu‰¥ ?£O´ w»ñ鲦[ú³`endstream endobj 206 0 obj << /Filter /FlateDecode /Length 208 >> stream xÚÍб Â0à”…[úÞ˜V´…ZÁ ‚N⤎ŠÎí£ù(}„ŽJÏ$Åhƒ` äKÂÜŸ¥ãL`‚S½ÅgO)\Á¾%æj>ŽÈ%ðføJ¿—k¼ßgàùf)ð÷)&²HÅDõ°H16Ò'‹ç7b¹CePû0¥¥c}馽ÑYT>tÀ¡µ`>tÐAt>ÒË¡ íG³=b3º)ⓊòSù·xÞ©”Ôvv¢.–¶ðµªšhendstream endobj 207 0 obj << /Filter /FlateDecode /Length 156 >> stream xÚ36Ô³´T0P0a#Ss…C®B.cs ßÄI$çr9yré‡+›sé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]˜ÿÿÿD0°1ûÁ ÀyqFØ#ˆQ `Ä8ñF0"ˆ?0‚Aü€ì‚ÎûdýÿÿNÄåêÉÈØ–Sƒendstream endobj 208 0 obj << /Filter /FlateDecode /Length 282 >> stream xÚeÐ?JÅ@ð )Óì ÌžÀ$þIÄÏ'˜BðUb¥–Š‚Åƒäh{”=BÊqÇÙìl0X$üv‡f¿úô¸¹Ð¥>ã¯9Ñç~©ðë†Ï¥?úÁón[,tÝ`qË·X´wúóãë‹íýµ®°ØéÇJ—OØî4¤D#tdÿÁd#€š€10lO@1r\Íàù!bðÈ-$VšT/˜Ó°1pñЇ4#¤¡ë3#PG! $i d piD8å¹`:DŒ4#ý±]™®è#üj¾ç—…¹Áà$°ÒÊe¥5²X/ø/ ¤ &ieAxï¸üz´ø—ßvä 'Îc³Þ´¸Ç_3Ccendstream endobj 209 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚMν Â0Àñ‡À!ôï L*­:‚`A'qRGAEÁÍ>Z¥Ð±ƒ4æb1 äwÉðO}•¢”ï€Òb¼a2´³â‘Žœi”;J†(Wv‹R¯éqžQÎ6sŠQ.h“: ^c>à­ b *Û Í½ÓÐÌû¯ ¬½­Ð·ZyEhéþv\x·‘Ã'α 5røÕYºð‚mÞþ™s¸pF9‡÷2Ö~³±&³É€áX.5nñ Od˜endstream endobj 210 0 obj << /Filter /FlateDecode /Length 301 >> stream xÚ]Ð?JÄ@ð¦˜"¹@Ü™˜ «› ë ¦´²+µ¢(l•ä&^Ã27ðæN¹E0¾7ùgR¼Çï›âÁ|ÑÉñêL-Õ'^©ÓH=†âED”— Ïb›ˆàVEk\â«’+õöúþ$‚íõ¹ E°Sw¡ZÞ‹d§€7ܦ“7H6F+t5‘$åƒ~J\GƒüÀù"mHß½ØGŠQ\NµG¹zR”?“AÅy¯4#U£²vÀ±úíä”5©Ì€S1wFÑX‘;Gù¬W̨£4¤V‰÷ª8ä‚vÊ™ Yá²¥æ0Ó´ ²“miÿ$?[íIº“¶4Õ\†ŽåƒlU†NøD¥5M)!oj«Å ·•¸HÄøî™Ìendstream endobj 211 0 obj << /Filter /FlateDecode /Length 290 >> stream xÚ]ÑÁJ„Pà#..œÅøÃÌ}‚Ô(u1 Lä"¨U‹hU-ƒ) \úhΛ½€ÐÆ…x;ç\G-Pü> stream xÚmбN„@à!$Óð;/ G ±q“óL¤0ÑÊÂX©åg´3Þ>Â#PRÃùL0@>˜awf§*.«\6’oåb+U%啼å|ä²ÐèF49¥^¼«9{’²àìNãœÕ÷òùñõÎÙîáFô{/ÏºÕ ×{!¢øL¸üØ€!ék£^I}#Et­ü9E.P¤¿¥ %­¡7^ÝLP:,£¸Ã2€*q Kâ~ÉTùt¦5HzPü§€Ž»UF͵+øæÁ8Í1NœhfÐ,3´åÚ2Ž®½ú€-mÞf5Øœt*x0CwŠV[JÞDnı)²ú|[ó#ÿyYyßendstream endobj 213 0 obj << /Filter /FlateDecode /Length 208 >> stream xÚeÎ1Â0 ÀT*yéð H‹`«T@¢L ˆ @0·OëSú„Ž ¨ÁP1$g'Ž3ަ˜ ¡5NÑLð˜Â ç §Î ·h è%‚.Vx»ÞO óõ SÐsÜ¥˜ì¡˜£Š¬µå°*¥âVe ÑpÄ„T3è žD-ɈîG%){Bª,•„frOMPUÔ:hdðã;¤rtî)Gÿ/¤O׺r­$öi$ŸZ’ùT’ÒGI¬GçöàµÏ`QÀ^=ŽsVendstream endobj 214 0 obj << /Filter /FlateDecode /Length 262 >> stream xÚMÐAJÅ0à)]fa/ t. m¦"çìBð­\ˆ+uéBQp×­Gé²| iœ™hMIùJ;™Ìß¾=µjéŒN6ÔwdÏé¹Ã7´=¿lÉ^¤/O¯¸°¹'Ûcsï±néãýó›íÝuØìè¡£ö‡Ac  ,‰èÌÜĨ‚ÂK˃R|3sNÍ,ÿL9n¥äJçsF/g)|¨ݕ jÁÀ¢‹ï‚빟TiZ†[ÉRÈm+ŸàÝ<±™As•a%å2¿ ƒsUSŽ[©ƒæªgóÇ(T‰#É%Di{> stream xÚeбJÄ@à?¤lqyqç4Irbà<ÁZYˆ•ZZ(Ú“GÛGÉ#¤\!¸ÎL@ï´ù`çOØù·¨Ž«’–TÑÑ ••§ô˜›S¬xÈã|NžÍº1Ù-+“]ñØdÍ–Þ^ߟL¶¾¾ >oè.§å½i6 v ㄉµîãŒÇ°-Ð"õ€Gâˆ=âALœgÓþW˰økͺ}{ÈݳN´ƒ:©A‚4Œêd5Å!ÈWAƒ:x Dtú_ªÆj´#vm±øç¡¦¢ßóRëGn?ÛAڳܻë¥eç$úå?ñaìdÙA»8ÝÉ\6æÆ|9÷j¡endstream endobj 216 0 obj << /Filter /FlateDecode /Length 213 >> stream xÚUϱjÃ@ `ZîJ­'ˆcÊÅ)N ñh§ ¥SÚ±„²ÅæGñ#xô`|=Ù$ úø%4ȽÎ^ršSæB[äärúÎðŒ. yÎqܱ(1=Ë0Ý…1¦åžþ.×L‹÷ …é–>ÃÍ–[2ž«y`tà!il ˜:©&  ®Ÿ'ž ê«‘j1³œ¸AÜNŒ ¦L+± 0\¶‘$šZ²ÖT’»$^1H"M/‰5ÄhZ‰ÕLŸ¬Çt÷ž/¼ßJüÀå=pxendstream endobj 217 0 obj << /Filter /FlateDecode /Length 253 >> stream xÚUнJÄ@àRn±y1÷4ÉÂ$+ˆuSZYˆ•Z «(l!î> stream xÚUÎÁjÂ@à 9sÐ;/ ›UÖ¤*X æ èɃxRBZÚs·ôà­OP|–3ÿj˜€WòÄÄLĤ¹Å«ÈÀ3+¾®C ,¦Ít"‡”Éïå²y®¦\6´*ÀÒvè211©E[&:·|Ud–oÝäM~˜3óË\š<ü9äLæ ì…^|Ip…ÿÐ`endstream endobj 219 0 obj << /Filter /FlateDecode /Length 294 >> stream xÚeѱJÄ@à [¶H^ °óšäð.{ÕÁy‚)¯²+µ¢(ØÝ¾™+v>Å>BÊáÖ¹l6âÚ}üà ?ŒœK‰–Ípy‚ó ïJþÈ«¥Ηãèö¯kž_aµàù9å<¯/ðùéåžçëËS,y¾Áë‹^oÐÚ.µ„mG­jL¼Ø`{`ÀJAÔ{Aû_‘™¤½Ø¯”Wì´#Wâd½"Rˆ½)¤Þ‹êÄt¯ ”Ì(=*šJbN’¤¼¨ÊAͤVèÄÉxEZè,SBË@1ÝJHÆëÝ)#i¯5HNzñ ƒšIÄ× ½X â;”Ñ…­WêDÿMÍ$=¨ÿ#5¨›D{)¢ É~Vó-ÿB}­Wendstream endobj 220 0 obj << /Filter /FlateDecode /Length 99 >> stream xÚ33Ö33T0P0QÐ5´T05R¦ )†\…\&æ@aD*9—ËÉ“K?\ÁÄœKßCÁ„KßÓW¡¤¨4•Kß)ÀYÁKßE!hR,—§‹Âø&ÿ!‘¸\=¹¹“-*%endstream endobj 221 0 obj << /Filter /FlateDecode /Length 215 >> stream xÚMοjÂPðï’áÂYòBÎ è5æ‚uQ° f(èÔAœZG‹n²éôYÒ7é#dÌ’ž\»ü8œ|v4°!yÂý­åhÌŸ!)²ÒrôrŸ|h“yçÈ’YI›LüƧ¯óžÌ|ýÊ!™oåÑŽâÝAÞ¦ž”IG¥¨¯D ý+øŽBÕ UÝ™e¯BšÉfŠ'ºDÛ6ÿðE÷ç§x8.ެÆÌ‘g Ò Z©j}Iv»"ðõ·¤õj¨%hÓ†þYÛTøendstream endobj 222 0 obj << /Filter /FlateDecode /Length 214 >> stream xÚMϱnÂ0ÆñC,Ýâ7hîÀ1d$ÔH¤f¨T¦ˆ @ 1TGË£xc¬GQè™´M‡ßòÝò¿í™¥4¦®¡¥¡¥Á=ö-) ÇÍe½ÃiŽúƒúõ+Ϩó7:N[ÔÓ÷2¨g´4”®0ŸdɽWvù§fU«…–ˆ|KF.€¼Õ ¿T¡*YªÀ¼pÊ —”Â?,‚_Ò_Ùåò5«@¹F•á!+~@àèÀ±ÏõÙñ0že OIŠà pžã¿aË_¾endstream endobj 223 0 obj << /Filter /FlateDecode /Length 187 >> stream xÚ]Î= Â@ඦÉ2ÐÝ5 Ù&‚?à‚Vb¥–‚ŠB Ñx³x“!墮 ‚ßï1ÃÄIC·X±áºæØpÜæ¥¦-5ÇɧY¬©kIN¹iH}LÒŽx¿;¬HvÇ=Ö$û<Ó¬ædû œñ(^KDØà„ 7$ œ¨„«½”Â…^Tˆ**€NþqÎßÛ_ïþçöKy‰—ê„ L!ŠaÁÏ‹ó¯”ïC4°4¡'¢>:endstream endobj 224 0 obj << /Filter /FlateDecode /Length 195 >> stream xÚµ=‚@F!$Ópæ.v$ˆ‰&ZY+µ´Ðh ÞŒ£è ´Ã¿µò¯3n²/ùf63/=ÏgÜÈç¨Ï+Ÿ¶ÆÈžŽº±ÜPš“šq“¡J*ó~wX“J'öIe<ǘå8E©!ßi=hþ‰¦AG®`"-(öZb¸RÚaKé4ÚÁ­õ{÷¢™<±8½S~àË´]p€‰Sk+¸9ðìàY¡ÕJ‡ÿº‰ÎgÐS:æ4¥;¤¥½endstream endobj 225 0 obj << /Filter /FlateDecode /Length 190 >> stream xÚ]ο Â0ðO:·ärO`[*t,T;:9ˆ“::( n)øb}”¥IOºÛ¼_ìŽTV¯e¦xÞ[-ør¾(.—N)žò&ådKÕ”…ÐÁ&´„ûѦ¶(jåQ4ÚC[í„ÂA¹cßxaèéo,€?Ì/òÞ‹›î/áU 8I¹A€²i$_”„””4«hEOM4e|endstream endobj 226 0 obj << /Filter /FlateDecode /Length 264 >> stream xÚ…±JÄ@†'X,Lsop™Ð\HŽX8O0… •Åa¥–ŠÖ›7ð•ÒYú >€)¯8vüg+—åÛeæŸf·nNšRVRÉqÙHÝHu*%?s]!º’õzNÝ?ñ¦ãâVꊋKĹè®äõåí‘‹Íõ¹”\le«;î¶BX9‘‹¤yýÒ!SÕïà¢Ó÷°Øgš‡|$Ü[ð3´üÇ`„<ü¿'åÌÑš˜[Oælmјª{Ðk ZZ€–6Ö̳ÄvbŸæS7c0„x #0¦{LY¥v€€<*µGkò}üeû‡SÖ”'ôV›E›Üì«ðû%ŒáÕÄNG"¾èø†kõ˜Ðendstream endobj 227 0 obj << /Filter /FlateDecode /Length 122 >> stream xÚ32Ó3U0P0b#SSK…C®B.#C ßÄI$çr9yré‡+ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. ŒØÿ0ðÿ!ùÿ("”ªÁþ3Ô#!öÿ ÌÔFÿÿÿ€#.WO®@.hN>endstream endobj 228 0 obj << /Filter /FlateDecode /Length 200 >> stream xڵб Â0àJ†Â-}„Þ˜V[éV¨ì èä Nêè èj}´¾¯GèØ¡ä̃ƒ:Èw÷'„¤Ñp<ÁGn'¦îc8A’º:â’»#è5&)è¹ë‚®x9_ ‹åcÐ%nbŒ¶P•è‘çýÐÕ? È|Uõ¬äÝ+”õÉÝl•8 Æé‘[¶óŽ {ѲÁKrÕåÔ} ³ VðªóŒæendstream endobj 229 0 obj << /Filter /FlateDecode /Length 105 >> stream xÚ32Ó3U0P0b#3S …C®B.## ßÄI$çr9yré‡+qé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þ3üGBìÿ˜úÿÿq¹zrr•µWÆendstream endobj 230 0 obj << /Filter /FlateDecode /Length 187 >> stream xÚ%Œ= ÂP„7¤¶É²'0 Ï¿.à˜BÐÊB¬ÔÒBQ°“£yðÊ-BÆ}¤ø`gfgÜt8I..07•sÁ7v…é<Èœ®<¯8Û‹+8[›ËYµ‘Çýyál¾]ˆ¹K9XåÈÕR¨ô³&€¦ßDKŠõC‘¾‰´íyu Ì~TÛQM |SÀ‡~lXØR¾j« :O‘Aö|Úž·…­m*šHá¶£ýR%^U¼ã?ÑIaendstream endobj 231 0 obj << /Filter /FlateDecode /Length 148 >> stream xÚ36×3T0P0bc#Sc…C®B.#K ßÄI$çr9yré‡+Yré{E¹ô=}JŠJS¹ôœ ¹ô]¢ÆÄryº(0ð30``y4lÅõ@ü‚˜ˆåÿÿð 3Ũ„+àŒÿ>0þoüÀðÿðûÿ€Ži``þÇÀåêÉÈ‘RQãendstream endobj 232 0 obj << /Filter /FlateDecode /Length 263 >> stream xÚ½‘±NÃ@ †e8ÉË=BüpD«v!R)`b@€‘¡¬$æGÉ#tìpªñˆxNоÈÖýöýÿby¹ªiFsº¨iqEó%½Ö¸Cå,•WÖyyÇu‹áIûî´Œ¡½§ýç†õà Õ6ô¬B[l7M„‚J.••ÈÁ)E$zÖriœ°¶ô;x¥ÞÒCw(”2¨”púM,3;vÒ§ì&¬8ÉüÒs32Né¸ûË#ä#ÿÄqžÍYž÷›ðd´÷¸Ú{]oô½ùáÁü©Àüºóïë<0æT 8¦8TV=Nþû,¤¡ù˜‡b»j~C^1¯‚·->â7¦†7endstream endobj 233 0 obj << /Filter /FlateDecode /Length 344 >> stream xÚѱJÄ@à )ÛìÜî h.rç] 8O0… •…X©¥…¢pÅaò$>‰EÄYðÒ]Šqfws¢w…ÝÇ, ÿìŸÎ'z¬ôA¢Ó™žÎô]"EÊñžÎÝËíƒX"¾ÒéDÄg4qq®ŸŸ^îE¼¸8щˆ—ú:ÑãQ,5"…ØAŽÝ`wð `Ý“3g5¸õ^”l$¯œåàŽ]´n_ÄöûØß'±†Àü1:‡ÆíSh ¬›wä*ªœ³­kkIÉk +ÁyU6ÖŠ 8²n¶¦ƒƒ†ÂfÞF n­×ì² éçø\ëZîØUËλ¨¢€uÿcÕKò‡ñ¦PÞÈþ´–¨È_µóˆ~#o¬#|§P›Ê™~Ñ:tgŠRî:°î½‡¶Á7ßys#{\²[ongsn¤ÙµboåmÛá³Äi!.Å7|rõ–endstream endobj 234 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚuÎ=®Â0 `W¼äñ HK«Â‰‰H0½áéMÀÈ‚™ÞŒ¥GèØÕ؀ˋ’O²c[.Êa>¡”ryEIù˜v±Iœj¨ÛN+ô?TŒÐ/%‹¾ZÑùtÙ£Ÿ®g”¡ŸÓoFéVs‚Ѐan,sàZ+©Ð»„k8~¼6o]«ÚF5µ*çËð*^Õ„;ɸ֮þ3'<ç¼.¿ŒÿÊZ“<ËÔÐdiww7Ž–{ÇÑpguÑÆpÄE…|>,y endstream endobj 235 0 obj << /Filter /FlateDecode /Length 191 >> stream xڵϱ Â0ÐH†Â-ýï L«–ºj3:9ˆ“::(:·ŸÖOÉ'dìP{^ŠCEœÄ<¸Üå’$“Qc„c^ Ïc¸À4å¸ }âp†Ì€Úâ4µä]Pf…·ëý*[Ï1•ãŽÛìÁä(Hð /ò¨dCr¬¦†m9%9¦R’E%¹B[_¯wX÷l¼aßö?º½Ý店°•(ìëmÇu´B:Mµ6䌬ü XØÀn)„|endstream endobj 236 0 obj << /Filter /FlateDecode /Length 185 >> stream xڕα Â@ à”…,}¡y¯µ-âT¨¼AÐÉAœÔÑAÑÕ»Gë£ô:v(9+8;äƒ\’ãÏfÓ,¡˜RW JçtNð†i.}ìZ78]±Ô¨ö”æ¨ÖòŠJoèq^P•Û%%¨*:È7GÔÇ5@È=€a`Ëր렗IØ Ñ‡V(FdÉ4`@˜8äêÌV(¾xMÔøMØCPÖgˆ¬Äy¹|½K*ë[À•ƾ(¨\¥endstream endobj 237 0 obj << /Filter /FlateDecode /Length 198 >> stream xÚ31Ó3°T0P0VÐ5T01Q0µPH1ä*ä21PASKˆLr.—“'—~¸‚‰—¾P˜KßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEÿó‚ÁþT‚zó !ÿHÔ±÷`øÁøþó†ú쀶¤ „|P±=˜i«‡u âÉDª)öph‘<„ÚkrF=ÈAï?0þ`<ÿŸ¡†½ÿ?ƒü?þÿ ì@‡s¹zrrvÍhNendstream endobj 238 0 obj << /Filter /FlateDecode /Length 189 >> stream xÚ]Î= ÂP ðyàƒ ö‚¹€¾¶µ.ü;:9ˆ“: *ºIõh=JÐñ ¢Fì ~’ÄvÛqޏ²í°yÒ‘l$Å€mÿÛÙìi˜’Y²ÈL¥L&ñùtÙ‘ÎG’ó*ä`M阡Ð|W?÷œ*T镺ðœŸÃ5ï¸~$@&·¯$ϯ*$Ç¿¬r«È•Ü¡d¯–5£® 4¼1ÈT!ÿÈÄ4IiAoÂa@endstream endobj 239 0 obj << /Filter /FlateDecode /Length 141 >> stream xÚ32Õ36U0P0bcSK…C®B.# ÌI$çr9yré‡+Ypé{E¹ô=}JŠJS¹ôœ ¹ô]¢*c¹<]ê˜ÿ70ð|À ßþ€ÁžÿCÿ`ÆÌ00ŠÿÿÿÇäè§3ÿa`¨ÿÿ޹\=¹¹Ÿ¤[endstream endobj 240 0 obj << /Filter /FlateDecode /Length 238 >> stream xÚ±J1†ÿ00…ñ v^@wã­²ÅáÂy‚[he!Vj)¨h·pûhy”> stream xÚ31Ó3°T0P0bS …C®B.C ßÄI$çr9yré‡+˜ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. Ì€à?É&™iN‚ìaþ`ÿD~°’È700nà?ÀÀüDþ“ØÀÈä‡$Ù€‚ëÿÿƒÿÿ7 “\®ž\\“y"endstream endobj 242 0 obj << /Filter /FlateDecode /Length 122 >> stream xÚ32Ö30U0P0aCS3…C®B.C ßÄI$çr9yré‡+Zpé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]˜ø0È@A@ 8~Àüá? ±q©ŽØ0üÿ‚¸\=¹¹&IE^endstream endobj 243 0 obj << /Filter /FlateDecode /Length 150 >> stream xÚ32Õ36U0PÐ5QÐ54W0´P05SH1ä*ä22 (˜Ãä’s¹œ<¹ôÃŒ ¹ô=€\úž¾ %E¥©\úNÎ @Q…h ®X.OÆ ìø   P?`üÁð†Ø€¸ôE6Œ?êügüðŸ‚üc?PÃ~À†Ÿÿó.WO®@.ý;Wóendstream endobj 244 0 obj << /Filter /FlateDecode /Length 197 >> stream xÚµÍ1 Â@Еir¸‰FÔ*#˜BÐÊB¬ÔRPQ°ÍÑr±0EÈ:? êdÙ³3ó×o7»}v¹%×os§Ç+v仌#%Ë …1éû.鑼’ŽÇ|ØפÃÉ€=ÒÏ=vGleJ)ó‹¬ÿP3Å7êštÏ` n˜K+l¬ÕAœ@!ÜÁ£žP2œ7°á`×AŠ $QòrP ¾â¢Þÿ‰ÐHí\™1©1hÓ”^Lær endstream endobj 245 0 obj << /Filter /FlateDecode /Length 108 >> stream xÚ32Ö30U0P0aCS …C®B.C ßÄI$çr9yré‡+Zpé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]˜?0ü‡!þ ̃±ÿ`øÿÿq¹zrrÄ|Q,endstream endobj 246 0 obj << /Filter /FlateDecode /Length 178 >> stream xÚ3³Ô34Q0P0b3scs…C®B.3˜ˆ ’HÎåròäÒW03áÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(0àÿÀ ÿ€áÿû? õ?€ô{Æu ÿ?on°gàÿÜÀœA¾ù;ÿ9ýÿˆþÃÀþƒÿœþÁÀþýýÁ AžÄÿÿÿÿoþÿærõä äp•ˆGendstream endobj 247 0 obj << /Filter /FlateDecode /Length 147 >> stream xÚ31Ó3°T0P0bcs…C®B.C ßÄI$çr9yré‡+˜ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. Ìø?00üÿ`ÿD~°’È70ðnà?ÀÀüDþ“ØÀÈä‡$Ù0½ñÿÿÁÿÿI.WO®@.……e*endstream endobj 248 0 obj << /Filter /FlateDecode /Length 188 >> stream xÚŽ1‚@E¿Ù‚dްs]VHÀÄD ­,Œ•ZZh´3ÈÑ8 G ¤'PX™¼ÌüÝýó; "öxÎSËÇ~ÄgK7òCe\ 7§+¥9™=û!™µÈdò ?îÏ ™t»dK&ãƒeïHyÆPnW±ªVΤÁ 2Äp*h¸¥”T¢$‚ºG¨æâ¦Ú1~{‹_3:÷Ûú½®$(‰> stream xÚν Â@ ðH†B¡y½«­'Á°ƒ “ƒ8©£ƒ¢«í£õQú'‚½¡ô¼+:*ßäÅ]9dÉ=î1G!‡Þt¢H²«~øíŽ4NH¬9’$æ¶O"Yðå|=/'˜ò&`¹¥dʨüŒJ5˜{qóÈüÌ+¡c ^ B ¨QA«¡²@CýMú3ߚ˖æ›v+ð”Ñ.ðé•ÙÐ…DeÜÜÏÁíþ§-ÆäŸÐ,¡½¶Ôo‹endstream endobj 250 0 obj << /Filter /FlateDecode /Length 202 >> stream xÚ31Ö3·T0P0VÐ54S01Q06WH1ä*ä21PASc¨Tr.—“'—~¸‚‰—¾PœKßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEùÃùŒêØ0üa<|€ùÃãìÊð?`0?À€Áþ€> stream xÚ36Ò3U0P0bcCcs…C®B.# ßÄI$çr9yré‡+Ypé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ØÈ3üPàÿÃÇþ?nÿÀÿœýó3 ~Äo˜0ÿah`þÁÀ€‚?P³Íüÿÿs¹zrr<ŽFRendstream endobj 252 0 obj << /Filter /FlateDecode /Length 196 >> stream xÚ=Î=jÃ@à*Óì ¢¹€½úÿ€A +`¤JaRÅ. ¶±Á…Á{´=ŠR¥¤Q!<™HÁÅÇ̼×L–ާÇœñ(áLçŒ7 (h¨ç|h>wTTdß9]iL¶záÓñ¼%[¼.9![ò:áøƒª’!ù†q‚'äX Â{„h´ÿ:%nµÒ%—‘´0¢ÜÑ0§­Šœ‡ña¯FðÐ \‹Ðu=ƒ¿~ü_ÒÀçô\Ñý~]G£endstream endobj 253 0 obj << /Filter /FlateDecode /Length 151 >> stream xÚ36Ò32W0P0TÐ5T0²P05TH1ä*ä22 (˜Ad’s¹œ<¹ôÌ̸ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž.  Ø W á Œ@Ì Äì@,ÿÿ?Ã(f„ÊQ „þ0‚pC sC3ƒ=;ÿ?°f.WO®@.'H”endstream endobj 254 0 obj << /Filter /FlateDecode /Length 153 >> stream xÚ31Ó3°T0P0RÐ5T01Q06WH1ä*ä21 ([@d’s¹œ<¹ôÃL ¹ô=€Â\úž¾ %E¥©\úNÎ @Q…h žX.Oæ ìþ`üJò`À‘p’ƒºBþ`°ÀÀðƒ¡üÆçÿì™Iùÿí@’ùÐ.WO®@.Wcendstream endobj 255 0 obj << /Filter /FlateDecode /Length 182 >> stream xÚU̱ ‚PÆñ#‘k[çêªWR'Á rjjˆ ¨Æ†¢¶ˆûh>Š`›Ph·ºR-¿áÿÁ牒M.õò\CÚ:x@ñŠ6 ÿ³lö§È$Bä•‘§S:Ï;äñlDò„–Ù+LªkU_¬¬Â,ÀÌY,c%0i(à < ¥© p…¶&‚nƒ zÒÖXÙº!W˜y¦a7ù‹q‡†Z¡þ.ÿ§8Ç'M?ðendstream endobj 256 0 obj << /Filter /FlateDecode /Length 233 >> stream xÚUÎ=KÃPÅñs Xx³v(æùz“–Û—Å@[Á ‚N"¬£øBݤFòÅ‚ý™: ÞñÁxoªÆN?8gù«Ñá¨Ë!wù b5ä^Ÿç=Rv ¹7Ø<×·4NH^°R$OìL29åÅãÓ ÉñÙ„#’S¾Œ8¼¢dÊUTEüµoPÁ7-%¼bCîiA¤?ƒ¶A‰8ÝqÜýc‰Ï|×±ú¥ÄbU´YÍk¦‡@e:tˆš7aîÿföGk2·|à¹Á+ñ’ZlECÝdÑ ±ï(°ç˜ÁÑqBçô ž—_”endstream endobj 257 0 obj << /Filter /FlateDecode /Length 211 >> stream xÚMν Â@ ð)(ÁÕAhžÀ¶´ø1ü;:9ˆ“: * NZðź9ú >BÝ¥gR—Ü$är ƒV§ÇûrÀƒ6¯}ÚS¨¹§©«-õcrçú䎥Jn<áãá´!·?°T‡¼Î%ÅC6&¹”µsD¬Nˆ.hŠ¢“xjºëéS¬>Sõ%í°?ªe '/y-ŒþqR¨¯ðP­»Î±o™Î±ßbÅRkøŠMùè#ÎňLw“'Eý­Ûš\—/K£˜fôÊ0Nªendstream endobj 258 0 obj << /Filter /FlateDecode /Length 214 >> stream xÚUÎ= Â@àY1­…à\@wãú[ þ€)­,DÔRPÑN4GÛ£x„Ø †Ä]ÙDl¾â óxMYïôHPƒj~‡š ’mÚúxDiRA-iO›=ä ’=ä#¦t>]vȳ!ùÈG´ôI¬0Qš†ýä‡÷/r#p•²—X¬ –-wCÊ–j(2ÔÀSk‹ûPOó -ì ©’œë?Ý‘s0¬s”åÊ4 Óí‰óÅTêÙ—ÌSÅ™¦jfžÇÎñâêKþendstream endobj 259 0 obj << /Filter /FlateDecode /Length 184 >> stream xÚ%Î= Â@†áOI. 8'0‰+ÑB ø¦´²! –‚ŠvBr4â,-‚ñÛX¼ÅÌ< kâîp ¡ö˜é«‰õÉELÄ9´£=ìO2I%ب‰$Xp+AºÔÛõ~”`²š*·3ÝòÉNÒ™&UUÖN9†ó¡ùÂ…ìŒÎóŒ¤ÈÛዬQÖ‘‚ôŸÿ)HÿåpIëH]R·ùGê‘¶HÛ6ÒQ<*8eÅ?ØdžÊZ~zXCendstream endobj 260 0 obj << /Filter /FlateDecode /Length 96 >> stream xÚ32Ö30U0P°TÐ52T04Q03RH1ä*ä2 (XCe’s¹œ<¹ôÃL¸ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. ¨ ¸\=¹¹l^¾endstream endobj 261 0 obj << /Filter /FlateDecode /Length 164 >> stream xÚ32×33S0PÐ5T06V0²P0µPH1ä*ä2 €ÐÈ*•œËåäÉ¥TÃ¥ïçÒ÷ôU()*MåÒw pV0äÒwQˆ6T0ˆåòtQ`l`H`n`xÀÎÀx€¹A†A‚Á‚Á€‡¡€A†!(€¢€¢ÈøƒqÃÿûÿØ€áúò`lßÀÿd&—«'W 9í0õendstream endobj 262 0 obj << /Filter /FlateDecode /Length 163 >> stream xÚUÌA ‚@à7 ÿ¢u ÁÿŽhÓJ0ƒfÔªEBµ ,jímŽâ¼A©Ñ"ßæ=xj1Ï2Žú$ «%§š/1ÝIé±Téw9ߨ0$¬4ÉM_“4[~>^W’ÅnÅ1É’1G'2%ðÑ to›·#—w? »Àùþ‡ZXTÏ¢õçC¸ „³çÆ5T˜Ö†öô`µ10endstream endobj 263 0 obj << /Filter /FlateDecode /Length 174 >> stream xÚ3±Ð3Q0P0bScSK…C®B.SßÄ1’s¹œ<¹ôÃL ¹ô=€¢\úž¾ %E¥©\úNÎ @Q…h ÊX.Oþ êÿ³ÿg``üÁ~¿ùûÆÿüäØÿÉ?`°gàÿ¤êàÔ õN}`o`üÁÀþ¤›™ÚÔøFÑ¢¢˜ÿ0°ÿÿƒÿÿ? Q\®ž\\zŸÙendstream endobj 264 0 obj << /Filter /FlateDecode /Length 172 >> stream xÚ31Ó3°T0P0bSK…C®B.# ßÄI$çr9yré‡+˜qé{E¹ô=}JŠJS¹ôœ ¹ô]¢*c¹<]ø0Aý? Áøƒ½ýãù† ö@CÿùA2þ€’@5@’±D‚!™dþÀðPI¸ùÌCdþÃÀþƒ¡þÿƒÿÿ “\®ž\\gwˆØendstream endobj 265 0 obj << /Filter /FlateDecode /Length 154 >> stream xÚ31Ó3°T0P0bSK…C®B.# ßÄI$çr9yré‡+˜qé{E¹ô=}JŠJS¹ôœ ¹ô]¢*c¹<]øÿ0AýÿÆÌذIù~ iÏ"ëÈ?P¨†ñ3õÈÿ@€JR×|Z“ÌÀ0ù Çÿÿ@&¹\=¹¹ »“endstream endobj 266 0 obj << /Filter /FlateDecode /Length 209 >> stream xÚåѱnÂ0à?Ê`é?Bî 0‘šT™•š¡Saì‚"ñbð}?‚Ç æZ#[O²üýŸçE/}á>§²òWÎ ž§´¤<“¾ß¶íÅ×7•™ ç™w9%S}ðzµY)ÇCNÉŒx*ÉU#´Câ µ;!xÙ£Fï(ýâHjD`u‚l¡=ûº¹AÔtOwP®Ä1®À³¡,Â¥á’Iìoø"öPÝ¿ì‚ áB}z«è“Î\Ëvendstream endobj 267 0 obj << /Filter /FlateDecode /Length 122 >> stream xÚ31Ô3±P0P°T0²T06V0µTH1ä*ä22 (Ce’s¹œ<¹ôÃŒŒ¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. 5 5ÿþýg„" Õ1ü*Êl*,,0‘ƒ—«'W 36> stream xÚUÏ?JÄPð‘)ƒ˜ ˆ™ h6fÿ¤ÖL!he!‚ –‚ŠÂËî„–{b`/Ø l^Þs–ˆ¸Å¯ù†÷¾™~tÔO¸Ç>p<âá1?DôBq¤a‡£nrÿDãœÂkŽ# Ï5¦0¿à·×÷G Ç—§¬é„oôÍ-åøã7 ;Î ~/+oUÔ~)M€’d*EÙŸ¡ìª½)JfP¬ÁbK‹Òª©ÕÿœZl¬ÔZàÄ ®R|gÁÓíªÀ¹Z‡ àÆ—\ª²,~‰UsퟻNöŸívIk”ÙzÖ~e”&Å¢9À²öñ£òÖŸÚg\ Ô°u»¢³œ®èM_endstream endobj 269 0 obj << /Filter /FlateDecode /Length 130 >> stream xÚ-ɱ Â0…á gð 2œ'0¹-Á̵‚DÔQPѹy´¼™¶(ßöÿu3÷ž 6 52D^¨ç¨¿s¾¡Mp{ª‡[.møz¾¯pívI…ëxPú#RG+½|ò Œúb‹ü™b²ÉU®d*™‰•(w9 V ;|+>#Šendstream endobj 270 0 obj << /Filter /FlateDecode /Length 189 >> stream xÚ1 Â@EH˜Bo`æºÙ4`#˜BÐÊB„€ZZ( 9ZŽ’#XZ:IV›t«þ 3ïÍÈL9à‡&`òÄðQÓ…t$©äÆŽgJ2R[Ö©¥ä¤²ß®÷©d=gM*åæ`OYÊ@TpJ¸<  €x4¼àT5nYã újüfW˜}yvxÿE÷ÎïEûчuQòJkØÚжõ›m)%Õ¤ Ô”²Èi‘ц>E @endstream endobj 271 0 obj << /Filter /FlateDecode /Length 189 >> stream xÚ1 Â@E¿X¦ˆ3ÐÍ®¢$EŒà‚Vb¥–‚Š‚……GËQràf’Xh'¼jæ3ó~ßô̈Cpׄl<4¼×t&=vÓ#S­vGJ,©5ë1©¹›“² ¾^nRÉrÊšTÊÍá–lÊ' Ú€´ï‰fVÐp»—pÀˆŽHºàYáeß4óø½óyQ~ j‡X”µ¡Ø:íÒß“¸/Õ"©é ¹Ê4³´¢7C-Bqendstream endobj 272 0 obj << /Filter /FlateDecode /Length 105 >> stream xÚ33Ñ35V0P0UÐ5S03P0±PH1ä*ä25 …M 2ɹ\Nž\úá@.}0éé«PRTšÊ¥ïà¬`È¥ï¢m¨`Ëåé¢ÀÀÀ`ÀC‰ú ÔÐô—«'W ŽÌ)Ëendstream endobj 273 0 obj << /Filter /FlateDecode /Length 131 >> stream xÚ-É1 Â@EÑ?^á ¦xЙ‰Æ6Fp A+ „ÄRPÑ:³´Ù™&Nwo¾\ø‚žkÎuE-¹a«xA=y1žæ*À©nßw¸pàçý½ÃUÇ-®æEé¯5­tò‹½4è’M22ÉD³˜ÉT&2+¥<å&ØœðAÇ#²endstream endobj 274 0 obj << /Filter /FlateDecode /Length 94 >> stream xÚMÉ=@@Eáþ®â®À›÷bFï'1…„J!*” Âî%H4’S}Dz$:*5ÐRšrVl0{ÑÑcZ‘GHO3HM‰ ý\ y[P!%¥KÞ÷õUD‡Ï¡ ‰endstream endobj 275 0 obj << /Filter /FlateDecode /Length 95 >> stream xÚ32Ö30U0P0bCsK…C®B.K Ïȉ&çr9yré‡+Xré{€O_…’¢ÒT.}§gC.}…hCƒX.O†z†ÿ 0XÏ ÃÀåêÉÈZ˜uendstream endobj 276 0 obj << /Filter /FlateDecode /Length 153 >> stream xÚ…Ì1 1„ሠ0ˆµ…Å\@“lVM½®` A+ µT´÷hÅ£ø–MR|Í<Þ_Úiéi8㤰t Î ^,pVVCïâé|C ÷tz-;tØðõ|_¡«í’²Ö<ÈÓ¡¦Rª Å ‹‘ðÂDwqŠ~âÛê4>­nCæ~&›Jg²©t.›H粩t"«° Øá *Ëendstream endobj 277 0 obj << /Filter /FlateDecode /Length 120 >> stream xÚ31Ô3±P0P0bc3SS…C®B.#˜ˆ ’HÎåròäÒW0²àÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(00```bv –âÿþð> stream xÚmÎAJÃ@Æño˜Eàmæ¥8 “BB V0 AW.¤ ¨ËBW&Gó(9B—]”<ß§Ý.òƒ™÷Cêê¬nbkûr—ËøTÉ‹älç’G·²ê$ÝÅœ%]Ù­¤î:¾½¾?KZÝ\ÄJÒ:ÞW±ÜH·Ž{ý8Õ~lG^ÎQ0ƒ?¢›°ûŠ2µÅÁ–þ§çtFpÂú¶Î÷Œ£á8&ŒäËXp«åÂ'aæ˜9žEÁ"p8‡pN>È~°Ì3óÌ ËT Ò’^u‚þE.;¹•o[¦cendstream endobj 279 0 obj << /Filter /FlateDecode /Length 237 >> stream xÚuбnÂ0à‹2Xº¡~r/Pœ¬Â„D©Ô •`b¨:AÇJPÁŠýh~”Ý:›/œ7hÖT[4¯\FÓ¼Ñáûø‰f¾|¦ Í‚Þ+*?°Y¨3Ì"c€ì¬;È•Ï/ðÙ´gŠ"Ý´tU‰áÃ=&OÈÕ -£=ãø)¤YDyÕm$}–R8ÿGè™%ÚÄ@àþ/¼Åãqþ$Q;IžÈŒÁmA¾ŸêxóLþ8«ùÊøÒà ÎÞjmendstream endobj 280 0 obj << /Filter /FlateDecode /Length 189 >> stream xڕν Â@ ð+ ¡èZP0OàÝÙj;× vtr¡P?ÁQðÅ_ÄÇè èý‹­³ù‘äI {AÄŠû&Ń!¯5íÉM]–øÈ·§$ì‡$'¦K2òépÞŒg#Ö$^jV+JBD¢âŠ ØÀ©i.hA«äf°1ë€pAx@ÈÀÝ`û °×MàD@ <ÁÛ¼âÇ÷æ¿p^&Ál SšÓú`ûendstream endobj 281 0 obj << /Filter /FlateDecode /Length 227 >> stream xÚ•ÏÏjÂ@ð/Y„¼€è¼@»‰›`…‚µÐ=yA°=ª´Ð[öÑú(y‚Û™xöæåw˜?ûåÙ}^rÊ9ßÙ•\üšÑžœ“bÊÅäò²{§iEvÅΑ}‘2ÙjΟ‡¯7²ÓÅgdg¼Î8ÝP5ãèÃx<À{'˜:ŽJ£xB Äu#·bNÂè,|'qcdóOOnøH®A¾V9kGPê+þ¥VB‡ÿ‹ŽÝÒ*[]úq!jQêÉ$ïPb#ñ‰|¨yôˆ4*j™ÁH¢ÒsEKúnXÖendstream endobj 282 0 obj << /Filter /FlateDecode /Length 243 >> stream xÚm½JÄ@…ϰEà6yƒûšÄlpm ¬+˜Bp+ µT´uæÑò(ó)S„ÏD…m>†{çüÜUu¼Zk©µh}¦M£O•¼IÝpXjsú³y|‘M'Å­ÖWKÑ]ëÇûç³›› ­¤Øê]¥å½t[Ú0q²8y8çÈgÀ,0ñmF8¿ˆlF ò€y%,å°Iõn ]=â’ê¸6â+FÄÄÀ¨ØÓ/Áó× ÛÿÂ!¸C "´¿ègØdj“}ž‚ØÞMöàYÌȱçupìKo,ØY.;ÙÉ7U=o„endstream endobj 283 0 obj << /Filter /FlateDecode /Length 196 >> stream xÚ•ÎA ‚Pà‰@av©¹@=_j¸J0ƒ\µjAP-‹‚vz4âºÍ .Zô˜÷-þaæ=OO¼€òi<%O“?£³Æº>‡ßÎéŠQ‚jG®jÅ1ªdMûó‚*Ú,H£Ši¯É9`“|a.„UU•]Ь! 0à` ¶@ à@ÜcJ zB?gLÙm–`·Ô/¿„Tx ¥Œ¶ôkd“Ù2è2ªÉÂ_dÿÊW†|q™à?tVQ2endstream endobj 284 0 obj << /Filter /FlateDecode /Length 265 >> stream xÚMAJÄ@EèEC-ìLêšÄLPa˜q³tåB\©KŠÂ,ì£õQ¼@vF¶?£8n^uýªßý{ZLµÔZ÷µ>ѦÑûJž¤n(–ÚýLîeÙJq­u#Å9e)Ú }y~}byyª•+½©´¼•v¥0=€<o)ƒíŬ‡ ØÀzÌ`90Á7YØìïàYó@9„ëéuoq kØä;˜ô‰¤í“_Ä"±u)ާøL=pbÂ"ÁyºóÑ=A–ŒưáfX3K$\äl¤Ñü!ûN³°—Íè5~N‡ßfvžImdHÓ›nLÙ³V®äBcêendstream endobj 285 0 obj << /Filter /FlateDecode /Length 237 >> stream xÚuÏ1NÄ0бRDšÆ@ò\œµ€ÊÒ²H¤@‚j D” hInÂU|“#¤Laf6Q@ó,Mâñÿ«úhuJ5txLÍ…@5>cdXQ8™¿Ü?áºE¿¥& ¿”1úöŠ^_Þѯ¯Ï©F¿¡Ûšª;l7Å. ]N`¦’eT P²Á2Là¼ƒë…ØCœé@Î=yÁ¥ÿà¿Ð»¿Ð¥JÇN± 2K’lvl†âC’XÇ'‰S‚®ÿ&îé­V™ƒ'é± µb’‚±—œV<П¬Ö)ó'€Éã²/Z¼Á/^m>endstream endobj 286 0 obj << /Filter /FlateDecode /Length 102 >> stream xÚ32Ö30U0P0bCsc3…C®B.K ×ĉ'çr9yré‡+Xré{¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]dêþ7À`=ƒ 1S—«'W e:"¶endstream endobj 287 0 obj << /Filter /FlateDecode /Length 140 >> stream xÚ32Ö30U0P0WÐ54S0´P06SH1ä*ä24PAS#¨Tr.—“'—~¸‚¡—¾PœKßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEA†¡žá Ö3È0຀`ý™ PÈx€±±¹™¨Ò‚¡€!ËÕ“+ }¤,“endstream endobj 288 0 obj << /Filter /FlateDecode /Length 234 >> stream xÚmÐÁJ1à . ¥{íAØy“­¤ÔS¡Vp‚ž!«a´L™,w¸H¹(Zaš§,ò½`³”¬¶:¥Ñ1S£”™”‡ |¤î1- !ôä G=Sî·çX¾³?gËÓ»#»#Mý£Ûøky'OúÀ±B8œ‚·>âÓm·endstream endobj 289 0 obj << /Filter /FlateDecode /Length 208 >> stream xÚ•±‚0†0Üâ#xO`!Úàf‚˜ØÁD'㤎áÑx‘P WMI\hÓ~¹¶w÷÷—ËYSHs³ä‚dL×(Cê¦ »‹Ë…âH2D±5§(ÔŽ^Ï÷ E²_S„"¥SDáUJÚŒ CÃОÎ!+L0-{LªAÝÃo\xíz,8ÏoÝš¶‘mkE¬X’,÷€,w_œçso ôyÌ¢‹Ü­Âøû±€ELkv·b¯‹¯åÝnÔâFá?]‘ŸTendstream endobj 290 0 obj << /Filter /FlateDecode /Length 260 >> stream xڭѱJÄ@à ˜Â´ÂÍ h’ãVLµpž` A+ ±RKAE[3oâ«ø&æ,¯×ÙÉž…X L63»ÿún¿›sÞ÷æì=ûŽoZz E§Å†ÚéËõ-{ª/xÑQ}¢eªûS~z|¾¥zyvÄú¾âË–›+êW ¸(N€*Ž…2ĵ¢µ—RP|¢ªÕŠWÁl„{]t±àK â&t=0“r­Tôo Ü M~($dÞŒ!á~#FLØàgÈü5=dF#ïzv¢L ;mf –Ä6,—]XJ;°Ìa Þ#å }Rº:%e-vÁvS½•Ô=U:î霾[s‘endstream endobj 291 0 obj << /Filter /FlateDecode /Length 195 >> stream xÚ33Ö3¶P0P0bS Ss…C®B.S ßÄI$çr9yré‡+˜špé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þÁõBýc``üßD@.ƒý0ÅÿL1ÿSŒÀÃ?UBÙ7@¨`JJ=SüPêŠýê (<ö¡9ÅñP¯@=ómrüC%h˜ACž  !@ y`> stream xÚuб Â0Ð …[ú Þ˜Vš:j3:9ˆ ¨£ƒ¢³ý4?Å/iLsqˆðr—IN•“¢¤Œ¦vª‚ÔŒN9^Qå6Îú°ß8^°Ö(·¤r”K›E©Wt¿=Î(ëõœl¶¡-Ù£nÈô£ƒaZH:žŠ3)“ÄEiÂñŠ0@Œ˜ÔaL¿÷=–n8Äx»wÚÅ_D ÿ?O2ól]w ÷ú\hÜà].’‚endstream endobj 293 0 obj << /Filter /FlateDecode /Length 167 >> stream xÚ35Ñ34S0P0bSCSs…C®B.s ßÄI$çr9yré‡+˜˜sé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þƒÀd’ñƒü†ÿ Œ`’ᘬ“6`R‰äÁAòI68ÉØ€L2`%™‘Hv0)"ÿÿG'!âP5Ⱥ‰ A€J$ãÿ `G@%¹\=¹¹§/y endstream endobj 294 0 obj << /Filter /FlateDecode /Length 255 >> stream xڭѱJÄ@à?l˜&yÍELઅóSZYˆÕiiá¡õ,|­é,}…¼W^qÜ:»ÙKÓ|ÉN2™ý·mNëš|Î'gÜÖÜ,ù±¦jZ]\„•XÙ<Óª£êŽ›–ª+]¦ª»æ×íÛU«› Öç5ßk£êÖ À÷ ð»L±þð½5s@þ!(v0_‚r¾VËNàz„[¯ JÉŽ}_I¾Wò ý0¡ÉD&6!Àßègý'¼^#á ¸!b%aC¤üEÜÑLÜíLLÂŽ¹¤”RfnLÐÏy{˜OÍúˆü=l:‡t*óÄtÙÑ-ýä ”Öendstream endobj 295 0 obj << /Filter /FlateDecode /Length 124 >> stream xÚ33Ò32V0PaSKSs…C®B.SS ßÄI$çr9yré‡+˜šré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þÿÿÏøÿÿ?TŠñó bü78) À¤¯s‘)hèb y.WO®@.G¥2endstream endobj 296 0 obj << /Filter /FlateDecode /Length 105 >> stream xÚ3²Ô³4S0P0aKSs…C®B.#˜ˆ ’HÎåròäÒW02ãÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(üÿÿÿ 3C}ÃÐÇ ¯ ù‹ËÕ“+ /Ë\endstream endobj 297 0 obj << /Filter /FlateDecode /Length 165 >> stream xÚ31Ò33Q0P0VÐ5R0¶T05WH1ä*ä26 (˜ZBd’s¹œ<¹ôÃŒM¹ô=€Â\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. öÿÿ?@"äÿ000°ÿâ„=ˆ¨oÿ`#ø?0üoõ ü ä0X0È`a°o`àŠ2°7Ãñÿ qõ \®ž\\›T`©endstream endobj 298 0 obj << /Filter /FlateDecode /Length 242 >> stream xÚ]ѽJÄ@ðYR¦8_ pû&AïL!8O0…àUb¥–BmÍ>Z%ÒBnÜÌü‹Ë±ÌþX–™ÙõåùêÂ~ŠuéWWþµäŽqD¦—wÞ6œ?Æ5çw:7÷þëóûóíÃ/9ßù§ÒÏÜ켈‹qª“@ÔDBDu07d^à ¶p0]o&ÁLÉ\À V°…ƒ©éÑ4˜šÍàþ@1LÄòÒÎê,`V[ýj9ª-Î~Õ>ýS¤ä€óÈ\Ü«ëçÖ¸¿>R© ¦÷9ÌÕxoéá ÿádÔÿYŠ„Sù¶á=ÿ*ù•Kendstream endobj 299 0 obj << /Filter /FlateDecode /Length 141 >> stream xÚ35Ô³0U0P0bKSs…C®B.˜ˆ ’HÎåròäÒW01åÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(üÿÿÿ2Éøÿügʤ^ÒL`äÉ&™Á$?˜”Àø¿áÿƒÿ €Br¹zrr˜ïm+endstream endobj 300 0 obj << /Filter /FlateDecode /Length 244 >> stream xÚuѽjAàY<„k)œ'p÷8¼ÃJð¼BÐÊB‚¦L‘Ô¤ÍCm°°´µóáJ‹Ãu. Ɠۅ¾™…a`⨭;¤)äˆCêÄ´ð£.׺,ËÕ öTsŠº¨ÆÜE•LèýíãU: Õé'L†d-ðóìÉÚ”áß@ü¢8ÆãéûŒÖb—3VµØrü¤+¾yºø¬…9HYÁ á@/…¦-Uøh¼–Up2ˆB¤ÀYÂ6 'z_÷hœðózˆ ¼¬„ÌÿÀ·“¼¬5ÒH[÷¼)G ÎðªÀÂ#endstream endobj 301 0 obj << /Filter /FlateDecode /Length 242 >> stream xÚUбJÄ@à?.0…ûfŸÀMîXÅÆÀy‚)­,Äê´´P´5©|®ˆ ¥`*ëT’"ìº;{Ŧ>þ˜â?\,W²~ô±ÔGò®¤GÒÚåÂGØ>к&u-µ&uê ùüôrOj}y*KRySÊâ–ê´Ȭ±¶ t8Ðô°=·øf|Ì×óa˜wÓ¹§ž¦‹©z&##Ù0LHìŽÖƒMè™*Œc²‰IMLbØ·˜æ“©~cò?F˜˜,ÎH˜óŠÄõˆ¤#\e؇ï{3 ³š®è,І^endstream endobj 302 0 obj << /Filter /FlateDecode /Length 239 >> stream xÚ­‘¿‚0Æ8ÜÂ#ô^@'ÿ$2˜èä`œÔÑA£«ðh< àÈ@À»ÒÆàlÓô—Þ}m¯ß%Ñ(žP@1 Ç”0§tñ†qÄÁ€’°Ëœ®8OÑßS¡¿æ0úé†÷çýùvA¼_Ò!¤àˆé’-ÈPm)hœšW§‚Ã-Aå^!f9¸o€ŒT,dU Z݈ø„Ä9/*Vxr¯* ”F©ø>ðʙƻL£Êr©à­FýWØ̳=ô+³Å÷àéoöÓÚ‚Ü8aíé`<³?Ù ñÆx͉ìÛÛÝ#\¥¸ÃŠA‰Äendstream endobj 303 0 obj << /Filter /FlateDecode /Length 168 >> stream xÚ35Ó31S0P0bS#Ss…C®B.K ßÄI$çr9yré‡+˜Xré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]þÁõBýg``üßÀe`¦ø?€)æê˜bü‡L02Õ@*…¬Õh¨}PÛ¡nº ¨äì `êĆÁLBâZLŠËÕ“+ •Ú€Ãendstream endobj 304 0 obj << /Filter /FlateDecode /Length 222 >> stream xڕѽ Â0ð–‚ô¼Ð4J§‚`A'qRGEgûh>J¡c‡Òxí¥…f‘†ÂîHrÿf¦Æþ}œâh‚3…Á¯ ”Eƒw.wXF Ô¹¥2Èh‡¯çûr¹_¡¹Æ“Bÿ ѵօC‹Ô‰1#] nгá—&ì eEÖÖË-‹ŽZûíóë{ë9B3ŸæyEn%Æ/׫m¤—™\M>ãÇÊÙäµrÿ5íª·ÌØA£Ó{P~¯ŒCÿETºy¯Ò)úNµÂœ©›ð¡÷›Æendstream endobj 305 0 obj << /Filter /FlateDecode /Length 256 >> stream xÚUϱNÄ0 à¿Ê)K¡~h{Wît ‘ŽC¢L ˆ @°!ZÞ̉èF%Psw ²|Jì8¶ëÅa¹¢’j:˜Q=££ÝUîÑÍ—,iQí2·nÝ¸âŠæKWœiØÍ9=?½Ü»b}qBzßÐuEåk6?€ÆŒ!òÎf°l#>Ù3ZÎ;@ÎÇ€ç7Àîx ïÉ&Œ&È–Nm9ƒR0—!¡G/aEïFD+E$½ÑŒµ²MX‰¿„^É>a‡-úÆü‘Mˆÿèû=¦×:upÇ´–¤-µiÞ}õèGŒˆA§Š^{s¦ywÚ¸K÷EF†(endstream endobj 306 0 obj << /Filter /FlateDecode /Length 150 >> stream xÚ3µÔ³4R0P0bSsJ1ä*ä2ñÁ" Fr.—“'—~¸‚©1—¾P”KßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEÁþ?<@£0ÿg`ÇÀøùA ˆbüP¢>€©T*L`¥€)‹`J+ŦF Åþ¿Hʃ‚ârõä äNZr«endstream endobj 307 0 obj << /Filter /FlateDecode /Length 191 >> stream xÚåÐ= Â@àÑÖBp. ›ÖŸJЦ´²+µT´ÕÍ£ä–â:›€â,–oy3Lñ:a;ŒØçˆ[!›>›.o:1ú.É'ë Ò 6†ôDbÒÉ”OÇó–ôp6â€tÌË€ý%1[k¡ìëϦÀ5ƒÐLsjÈ)ÿ1UéD¨é‡0øR—¾n@¯`/µeÀPòäWzÀ“Ü{BÉ2^®UwæâhÚ‡CÙ E Ð8¡9½δaµendstream endobj 308 0 obj << /Filter /FlateDecode /Length 307 >> stream xÚuÑ1KÄ0àW „r];äýmZ)W§Ây‚trá@ÿ…?'â)ΤC¹ø’£âMHøH^ÂK^U ”XàAÕ– ¼Íù¯$Ú^ïvnîù²áÙ%V’gg´Ì³fOÏw<[žŸ`γ^å(¯y³BcFfLó—˜Q ¶biNÖ$F õT`&)iÀo)'Ð*°§¢=éIµ†NÅ{ê&‰l>©SÔzJz˜ÑMÒ)®=Qrsºiã” O”\*zÐN2ñDÉÉd”Ó†y¢g’è‘V:})³j_T°<½‘fVõ;ÅÆž>Hs+ñI±¯ž¾&%ô·uÿŸØè>vžB+íDщ§ÀJ9Q4ó«©mÚÕøiÃ/ø7שÓendstream endobj 309 0 obj << /Filter /FlateDecode /Length 280 >> stream xÚ]ѱJÄ@àY·0I{…}³‰x^!ÎL!he!ÂZZ(Z'oà#ø*y÷b0Ü8»;wÅæcȲöϲ:®NŒ5¯¥5§gæ©ÄWd­ £ñø‚ë‹;ž±¸ ÏæÚ¼¿}€rbÏf#(Þz‚DÔ $;˜‰©Wyº…¸ ¶½ Ön+º`>ôÁì§‹þF5AtMDEûÅý°/Åóá;ª¾†xÎçÍ¢3=S ˜‹ XAÔJÐVœØûÊÀ—“û€äßPørB@*Îå&\’òžËMvÞ.ü Í_N¼j¢îP¼lðÿG}Øendstream endobj 310 0 obj << /Filter /FlateDecode /Length 103 >> stream xÚ33Ñ35V0P0WÐ5´T0µR¦ )†\…\¦ h•JÎåròäÒW05àÒ÷P0áÒ÷ôU()*MåÒw pV0äÒwQˆ6T0ˆåòtQ¨ÿ `òÿ(ärõä ä*Å+¯endstream endobj 311 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚmÌ= Â@à . ´Vf. ›5)´IÀ0… •…X©¥…¢`!lŽ–£ìRZã¬?¸,_ñóÝKQL]MIŸâí41v!ÇÃw³=à(GµâÕŒcTùœÎ§ËÕh1&jBkMÑó Ah ©„Í$i!,EÅå ïþjJF ¿?FºÁÌ2ÎÄÝULèn3‡q>ø_¼ ˆÚ7 o¾)Zi;+;i;°×°MXž‘%Ns\âªyT¨endstream endobj 312 0 obj << /Filter /FlateDecode /Length 198 >> stream xÚ31Ó3°T0P0RÐ5T01V0µPH1ä*ä21PASKˆLr.—“'—~¸‚‰—¾P˜KßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEùÃT‚D0S$ê00|`ÇÀü¹A¾ù;ÿæ ì˜ÿå˜00þ* àÄ?8Q"êI&êPMÊøbÛ½`Ëßœq ä ã ò Ìê˜þÿ:]þ—«'W ÏØkFendstream endobj 313 0 obj << /Filter /FlateDecode /Length 183 >> stream xÚÎA ‚`à'?øÃyÀ¹@™üT¶Ì A­ZD«jXÔ.Ì£yàÒ…Tcu€ßæ 7f<&y ‰ÉK–|½ÜŽäE«KóV:;Jb†j÷•#S¥U#Uj]ZS¨7WMØ‚U?€J •‰çŸ²_§v˜Ãvstݧ@O—d7•ýw]È?€®Aó„Öô y=endstream endobj 314 0 obj << /Filter /FlateDecode /Length 253 >> stream xÚÕÒ½NÃ0ðT"ÝâGȽu¢~n–ú!‘ &ÄŒ ˜Ý7è+õQúíØ!ÊŸ³¯ñ‚ŠÄ„ˆdå—‹³ÿÊl4¬æ\ñ˜¯jžU<ñsMo4HQÇúæé• Ù{žNÈ^K™lsÃïŸ/d·K®É®ø¡æê‘šgáʱ‰wƒ_ s=Ìÿ‡$ p8E €.¢° (±s‡×…¢ÀŸÂ4Ž2ì¥*ȱÓ| ]¹Ñ6&âÜ´LèÎpßàÚ‹À_à‡ýøËÇIHGN!ÄXÊ>±] ³7ž#†Ýfæýß".ŒÎF«?«Ç^Q 3Ò™Ö Ýщb=endstream endobj 315 0 obj << /Filter /FlateDecode /Length 244 >> stream xÚ…¿J1‡gÙ"0M!óº·`D«Ày‚[ZYˆ•ZZ(Úºy´}”<•aÇ™¹ãôP1|ðå—?üâéáIO :¢ƒžâ1ÅH=>cT¹Pc;÷O¸°»¡Øcw!»á’^_Þ±[^‘ØÝÊ™;Và8ƒŒ‘?dm˜gPÇj·\R…q :“dÄ„*Á |…Vbn¶;ƒg³Eó çd˜ö1Öo( Ø÷aãhDBÿcü³!ýD[Áo˜¬1¿En¥ ¹±¦ä%iêÝînª6N:ó\ÒZÛ` æ]H›_ÙI<ð?yë­œendstream endobj 316 0 obj << /Filter /FlateDecode /Length 324 >> stream xÚ¥‘?JÅ@Æ'¤XØ&GÈ\@“HòBª…çL!he!¯RK EëÍÑÖ›ä¦L2Î쮂°áÇîüû¾É®9o[,±Æ³‹w565>UúU7¿–Øv1ôø¢÷½.î±étqÍïºèoðýíãYûÛK¬tqÀ‡ Ë£î¯|¢QÑÑ’“CD–F°³"RcB|&;¦Jª ÀÌÆeÂ%w¹pU¾ëö3Bú?OûþÄÂ|€ G(ú‚^±'€f ‰]âTH¿Ø¯ð“|X9éʶÌÜ/O8E.‘> stream xÚ37Ö3°P0P0bsC c…C®B.33 ßÄI$çr9yré‡+˜™qé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ì0€Áÿÿ$0˜a †aÃÿeüÿßf0ÿÿÿÌà‡xûÿùõÀŒ:û`PÛãçã?Hÿÿß  e00°ÿ?€Ìø‡ÁøCãÇ(ÎøŒv q€—«'W lù2 endstream endobj 318 0 obj << /Filter /FlateDecode /Length 138 >> stream xÚ36Ó35Q0Pacc …C®B.# ßÄI$çr9yré‡+Ypé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ìþ``üÿ€ùÿ0fÿÿ+†ÉƒÔ‚ô€õ’ ä0üÿ‰˜aˆàÿÿÿ@Ç\®ž\\ÍÙ¥;endstream endobj 319 0 obj << /Filter /FlateDecode /Length 205 >> stream xÚíѽ Â@ à”…,>‚y½;[h·À‚N⤎ŠÎõÑ|”>Â7cj+:ˆ“£÷ É]I¢ûÒÔK©7H(6”%´5xÀ8•°&£³gr³ÇaŽjIqŠjZgPå3:Ï;TÃùˆ ª1­ é5æc+ø p ²k‰ØáõîñíQ )õ›c½æÏH__·ü#D¡[ Ö …¸v\o”-!_ ò¥ðƒut­ Ã²Êˆe•2áfü€“x‰\Þïendstream endobj 320 0 obj << /Filter /FlateDecode /Length 243 >> stream xÚÕѱJÄ@à)ÓänžÀMˆD­ç ¦´²«ÓÒBÑzïÍôQ|„-#†wæ_ñ°ñZË·“eþþäà°ã†uõG|Üñ]KÔkÝh©›Í­Fr×ÜwäÎÓ[rã??½Ü“[]žrKnÍ7-7·4®¹¦B‘ý,³Å?¶ ûXø€¾á ú-ä,fXN°pùµMõùÞËV´¶¤µ%‡\{œ`rùô‰Ä_ |•­¹»7fçZlžP‰Íð \X°~r„þ[ƒ'-pG NZpZ¸£ÛYÌŠŽê4ú_ÒÙHWôn¬$endstream endobj 321 0 obj << /Filter /FlateDecode /Length 107 >> stream xÚ36Ó35Q0Pac c…C®B.#K ßÄI$çr9yré‡+Yré{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<]ì0üÿ‰™˜aãÄÿ„޹\=¹¹µ‰Ãendstream endobj 322 0 obj << /Filter /FlateDecode /Length 232 >> stream xÚíÒ½jAð WÓÜ#Ü>·ÔŒ‚WZ¥©LÊ+³vrp!E¶›üçT°+‹ ó›Ý-ÆÙÇvïÞXÓÅqöÁt;æÍñ';ë±j-->x˜súŒÇéiNó©Y-×ïœgOÙ‘yÁÌ+ç#CYEI ºO$RáxŠ%4ˆDJʤnï«Ò 󢣨Ò×®U¶¤ Hª@Yûƒ$߸»Np·â§¤D@¥(€þ¿ØAx^ƒæ §¨å9ìÅE…ÿÇÍÛ„ÂÆip xœóœÿvÚiCendstream endobj 323 0 obj << /Filter /FlateDecode /Length 184 >> stream xÚíѱ‚@ à& &]xúÞÜHLtr0Nêè ÑUy´{ጃ „zwÀ¡Í×6ÿÔd4”’™JBG´ñ„qlfiG{Ø1+P¬)ŽQÌÍE± Ëùz@‘-§¢Èi’Üb‘¤‚˜µ©ÒÁc®|æÚ!P÷Æái à±®!`{èø.ÿT¼ÊV6ß¡ýAÓõ_°yÍÀ4Õ8+p…o âøšendstream endobj 324 0 obj << /Filter /FlateDecode /Length 231 >> stream xÚµ‘±‚0†kHná¼Ђ±0’ &2˜èä`œÔÑA£3<šÂ#02Î^KL%!_sý{½þ¬æI‚!.qa¼@¥ðÁCT±Ý9ß +@P% 7º ²Øâóñº‚Ìv+Œ@æxŒ0> stream xÚÍ’¿NÃ@ Æ]u¨ä…G¨_.!MB§H¥•š ¦02€èœ<’GÈx•ªÛ¹F:¡.§Ÿ¾óùÏçË“«è†"Jèò:¡lN錞c|Ã,5¢<WO¯¸(Ñm(KÑ­EGWÞÑÇûîÝâþ–btKÚÆ=b¹$(“#ýÑÃ!@5@÷Šøo˜J ÿ§4ö{®aäÁ³ÅŒòßëŽfJ®`o}4¼‘.lO­%Þw£‹m_…mt§¢e4](z†`_ëTÀU‰øµ` endstream endobj 326 0 obj << /Filter /FlateDecode /Length 169 >> stream xÚÕÏ;Â0 ÐtõÒ#Ô' ’VbªTŠD$˜02€`nÆQz„T d¨jœ20õXö“üYœé™žcŠš+ã4xRp“s?¶aq¼@iAîÐä W<i×x¿=Î ËÍÈ ÷ ÓØ Eá¢^¹˜6¡–­É±Câ‰:_øˆ:WóÑ«}ßÍO_ /h‰ Æmƒú ýIž™–¶ðj^¤ïendstream endobj 327 0 obj << /Filter /FlateDecode /Length 259 >> stream xÚ]Ð1NÃ@Ð¥°4¾;ÛŠBƒ¥$\ ‘ŠQ%Ú¬æ£ì\¦°v˜Y)¢yÒî·çÝT—ëk.¹æ‹Šë57 ¿UôIõJ/Kn®æäõƒ6O\¯¨¸×k*ºþþúy§bóxË[~®¸|¡nËXÊp8™ÎÙë…HDÑFä#ò°Ô々Ú~Àþ¨¨7ö'ÉQÈ”´^;LKZ+45qj@.dêtÜÇv“ù!¤¸Ç"iíÐÄÌôehÖ”ôÁjÛ]ˆÿdVçµ³½ÍSuž‡è ±ýõ?h©›ÓêgåcfKxýºëhG¿Á•¡Zendstream endobj 328 0 obj << /Filter /FlateDecode /Length 186 >> stream xÚ35Ô34S0P0RÐ5T01Q07SH1ä*ä21 (˜›Cd’s¹œ<¹ôÃL ¹ô=€Â\úž¾ %E¥©\úNÎ @Q…h žX.O†ÀOþÁN2bÌH$;É&åÁ¤=˜¬“ÿA$3˜äÿÿÿÿ?†ÿ8H¨úANò7PJÊÃç‚”ÿÇ`$ÿƒHþÿ ÀØ`ÿð(Èþßÿ ýß E` q¹zrr:é“pendstream endobj 329 0 obj << /Filter /FlateDecode /Length 187 >> stream xÚíÑ1 Â@Ð  Óä™ èfÑlì1‚[ZYˆ•ZZ(ZÇÎkÙyÛt¦Ž»‰… а{üáÃÀ»°O!õ¨­(Võh¥p‹ZÛ0¤(j.Ë ¦匴F9²1J3¦ýî°F™N¤Pf4W.ÐdI àñ˜Kü#ZX€ƒøã+üÏÞ8ä¯È’ àö„wåÂ6î .n ŸÁÉÁNÃõ<sUÃv‹öÁ848Å”Ìðnendstream endobj 330 0 obj << /Filter /FlateDecode /Length 252 >> stream xڅбJÄ@€áYR¦É#d^@7¹Ül œ'˜BÐÊB¬ÔòŠí°¸×ÊÜ+äR¦gvE8°X>˜YØŸÍ/Η%”ÑYJyN«Œ^RÜa¾aB«¥ß> stream xÚ33Õ37W0P04¦æ æ )†\…\&f  ,“œËåäÉ¥®`bÆ¥ïæÒ÷ôU()*MåÒw pV0äÒwQˆ6T0ˆåòtQ```c;0ùD0ƒI~0Y"ÙÿIæÿ ò?&ù¤æDå(I²ôÿÿà"¹\=¹¹VI¢”endstream endobj 332 0 obj << /Filter /FlateDecode /Length 301 >> stream xÚ}ÑMJÅ0à)Y²é’Ø–G_]x>Á.]¹WêÒ…¢ëôh=JŽe¥ãüˆ? Ú¯if¦“tߟ ChÞ¯6 §á±s/®ßÑ\¦¼ððì£knC¿sÍ%½uÍxÞ^ߟ\s¸>kŽá® í½Ào@£B,D¸'€DdZš"-š,-ÚB/6¨3"x‰š¢äç”™œ®—ÓÊ®k‰í ƒËpÞ7q|Ì$pãFúæš¿È »ùdíL™@ÚAvüZ´H¥ÙFÓ¬¦YM«5Þk|,ZdÖìI³eb4Ðj`Môä³g!@Tt¶«`[ÈBÍ».àA8ã²EþõËwÌ•b«ÔŠW¢’üÉü'îbt7î}tû”endstream endobj 333 0 obj << /Filter /FlateDecode /Length 305 >> stream xÚ‘½N„@LJlA² À¼€ÅgErž‰&ZY+µ´ÐhÍ=Ú> @IA烋 á·ì|ýgf.ëK xQá®Âz¯•ÿð!ðe‰õ•Y^Þý¡õÅ#†à‹[¾öE{‡_Ÿßo¾8Ü_cå‹#>UX>ûöˆ)Eà§£‰¿ŽˆN£ÈGG#›"ˆqhfHøÔ8¾ÏéäfEÊAEIÅÈ=¿ÿ„Å-ˆÎ’%$©#쵂H\ÀÕWèfä¹  Íhg™…™cgݺi†¹8iZþG«`©s+´¤É,25×ô\iÜ`2[Ì[¸¨ÈE3)Dä/ˆþbZÁ1.8Gƒ ƒ•I¬³éUuužR¯áÍ:îXÔ&¼oÝ´í]Ö¯"MºÎÝß´þÁÿéýëoendstream endobj 334 0 obj << /Filter /FlateDecode /Length 225 >> stream xڽнjÃ0ð ‚[ôº'ˆìPÛt±!têP2µ;´4›qüh~?‚G‚$ÎýÅC»õ@ú¡Bw—&ó,㈮+]pöÈo1}R2æ¢ñ8^¼~в$ÿÌIF~{Í’/wüýu|'¿Ü¯8&¿æ—˜£•kžnûLMÔÐ@;ÑÁž&žEõD-twñ>‡5 pU/jh:ØŠ¶,PW+D5À^Ôh ma#:ôYÀVpÔ=ìDÓŠºb~9¬a€g‰æ/ÌÿŸuøÿwiSÒ]]Óqendstream endobj 335 0 obj << /Filter /FlateDecode /Length 285 >> stream xڭѽJÄ@ðY l“Gȼ€&áH¢ ç ¦´²+µ´P´N-²°`“b¹u>r‡"X?²ÙLæ¿Ó6']‡¶x\c[awŠOµ}µÍšéñLß<¾ØMoË;lÖ¶¼¢e[ö×øþöñlËÍÍÖ¶Üâ}Õƒí·hF8ˆs0;àÛ¤Ž¡+*³¯Lʨ€•Yñ ‘ iþŸŒk›àäï!%Nó¹4tíaà(.JÚ‚bÒî> stream xÚ’=NÄ0…'ÚÂ’›!sHRd ‘–E"Tˆ ()@ Qa-GÙ#¤Lyxcó´‘•Oòóx~ž×ÍaÛrÅ Ô¼®¹=âûÚ>Ù¦ÁfÅíqRîí¦·å57-ϱmËþ‚_ž_l¹¹<åÚ–[¾©¹ºµý–‰ÈÒOdÀ%2…È ¸9SQväTòÔy2ÙSÁ Tà» 2NXFvY òŒø_ȹèíC!š‹"Þˆº%R­î/ºQ‘‰(Œ¶"!×V$ÞMÀ x#$“0"»W ­ ÎˆPrÂ(¨ì$Ó7´Ày?â Âîßèö"^Ò\æ%òˆI‘Éd¾«^EÀ€AíÈRɯiP7ë@tÊê4F¦¾Ã}œÒ·  CÔGƒÉžõöÊ~†\öendstream endobj 337 0 obj << /Filter /FlateDecode /Length 327 >> stream xÚ•Ó¿j„0Àq%C ‹`ž *½B]®W¨C¡:”NmÇ-ív¨–GÉ#dt—&æ—?RiDø¨ ~ýi]_\V´¤;½×WôzGß*òIê’šMš ¯dß‘â‰Ö%)îôYRt÷ôûëçû‡Z‘â@Ÿõm^Hw ‰YmVìaܶb«Nß4RbÕXM›Î”\u®N›n•ònbÁý |ä± –mˆœbçÞ©¶‹LEæ´]$â±±7æ!3äi»ÈlŒzçÚ.2Ob'Þzº>¸Ñƒtî!ò¸´—Æ9™7Ê ×˜CîÒ.Ík&) 7L³Èʬ ¦k–üÓùì“ËõÁóÇ Á͹!¾·!×Kk¹KÛøÌ!×#°€Ü¥m<æá“ÆÌþçÎFkó(­°¿4J@?û¯ÉmGÉ/ðc ¥endstream endobj 338 0 obj << /Filter /FlateDecode /Length 338 >> stream xÚÍ“?N…@ÆgC±É6½€QãÚ¸Éó™Ha¢•…±RK vF8Þä%^€’‚0Îì ‘¼Z ø-;;3|óqvrX”ºÐ§ú ÔÆhs¤ŸJõªL¡ù6Ç~çñEm*•ßiS¨üŠ^«¼ºÖïoÏ*ßÜ\èRå[}O‰TµÕ@W‚€dªR‰ˆ;Ȉ,Q–ˆG¨9ÛCi ì7rXKËä0—Aà@$ˆs;’²º:ñ>GOÔ11PV¨GG’ª à{ ré(µëÜ‘  J}1*7S(»$;SheIÙLõ>âoúCø¨^¥f­i0Ó¤ÚÙIñ™Î§ÉÌô¬ð§ Cœ4ôqú¢ŽHºèG®¹‹nJÛè°¬‰®³œcÔC +{ç7ZÛÎÛ¶>»ƒ Úà¿¢‹*E!¼Õe¥nÕ/ÙÏíãendstream endobj 339 0 obj << /Filter /FlateDecode /Length 349 >> stream xÚÕ“±NÄ0 †]u¨”¥P¿´U‘®"‡D$˜02€`ny³ãMNâ¸ñ†ªÆIÜ»´EÀJ÷“ã8vâ?ÏŠã¢Â x”cµÀ²Àû\=©Ò83,OÜÊÝ£ZÖ*½Æ²Ré9»UZ_àËóëƒJ——§˜«t…79f·ª^!ðÒ û5D±Åˆˆ6XÖÌ;Ж©‡Æí¤uH@†cýN.|ÍŽrá.m@µÎ³Û¯F|Ž=›Mb¶š Ö´`]ƒÃœb{)Ð$èÀU2¤ئç¿ô' ÄcW˜¾|–rƬÇ,eŽ9sóýÃôOx^cf¥u=þÌzÆ.‡–{6œü‡·›òðÖS–1´Œ¸;ôAýe&oVýögÛ›ù`¦_#œˆ7ÄŸ¢)ÒNG¼¼ èöÝYmv¢M£Ù­è×Üf !ˆ&\oê¬VWê ?¦!endstream endobj 340 0 obj << /Filter /FlateDecode /Length 105 >> stream xÚ3±Ð31Q0P0bS #…C®B.C ßÄI$çr9yré‡+˜ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. ÿA ÉÀþÿÃ(9THü±ÉåêÉÈ’:Õ°endstream endobj 341 0 obj << /Filter /FlateDecode /Length 344 >> stream xÚ•Ó±N„@à%$ÛðìÜsT$ç™Ha¢•…±:--4Zãñ(<‰…„qÙøÙòH  ùwØòlwUܘÌ\Û³8˜ÃμåúS{{ŸÍ·óƒó‡>V:}6Å^§÷vT§Õƒùþúy×éññÖä:=™—Üd¯º:šF…öÚ]jQ¯ìÛÅÁ¨V‡÷pÒÁe × ž`)v‘⨇ãv‘âºI­æH6G²9’͑줅9’Í‘ÎÁK¤³D:K¤³D:—›ñ̈ÆÕ1aÞdã’P[=ï˜xªWÿŽ5-ßõ7”´|ï´¬µ1ÜÄ´¬©¥ˆÈN®­'ñ Ú¬¹Ákèû%Eðš{Æ^K¼_„Þ=£¤éÏ ú„Ї\;ñŒæ"¤=£ÿ¹éa7±ô¶oü;®ˆu¼Sò¯Í×áRë»J?é¤[¹endstream endobj 342 0 obj << /Filter /FlateDecode /Length 157 >> stream xÚ3·Ô30T0P0bs #…C®B.3K ßÄI$çr9yré‡+˜Yré{E¹ô=}JŠJS¹ôœ ¹ô]¢ÆÄryº(ü Ä0ø!Ô(c2~f0ÂH`0ãf°c0øáŒP†<Ãƨ‡1þCŒ0;ŒÁcÔCÌÀ¤ø Ãàrõä ä6n6endstream endobj 343 0 obj << /Filter /FlateDecode /Length 325 >> stream xÚÍ“±NÄ0 @ÝPÉK?¡þh H×›*‡D$˜02€`¾û´~J?¡c†ª&±ãrœNldH^âØŽ{U.+,p‰'%®Î°:ÇçÞ ºð‡ú…%O¯°n ¿÷_óÜÜàÇûç äëÛK,!ßàC‰Å#44~d´32DCÄšˆZAOÔ3%ä,F•¢b= _&gŒåË2‡½·dõÀ‚FL¤dtæ½Èêˆ^c;È“ºh†MZE=°p¡8È}ÃÚ‰âèÝ´1ª˜M¸Ótøµž°=Š[’l¥ÔýiÂþÿâìéñq<”3Mu;Ëúo˜ê†Ïš0Ñï÷q¯fUËȱ„±çšà:ëØ „Æåq’ñÌ×Ä·€•ZwÑ»¾$D#ÌB·HÜIè!iÐýh²Dåß W ÜÁxkD—endstream endobj 344 0 obj << /Filter /FlateDecode /Length 176 >> stream xÚ³4Ô31W0P0b 3 C…C®B. rAɹ\Nž\úá \ú@Q.}O_…’¢ÒT.}§g ßE!ÚPÁ –ËÓEÁþ?ü!žu€¡þ?3õ‡Äb°ÿSÿÂâÿWÿÂbÿWÂbþWßa1þ«g€°Xu0V6V ŒeG,ëŒeÿÆ’'Åc1Œ²†%‹’œÍârõä äãCì> stream xÚ•‘±JÄ@†'¤Ls°óšL® œ'˜BÐÊB¬> stream xÚÝ‘=NÃ@FÇJišÁsX[NŒ©"åGÂTPR€ ¶;®•ä 9BJGZí0;Þ J¨Øêifw<~ßEqžU”QAg9•—Tô˜ã –)fTûÎÃ3Îj4wTNÐ\IM}Mo¯ïOhf7sÊÑ,h•Svõ‚`Úæ_À ühv= ™{H™× ³ïñž¡±ÁBÊ [rë¡%k‰TïË3¶ü·š.‚ 0=€;  ý Ú¿€“ûv>ò;ö»ÕbC _Æ\”Éõ¶Aøf #àc§ƒ—è,'·4/+;h‚¼q1h¸¬ñ?7p%endstream endobj 347 0 obj << /Filter /FlateDecode /Length 243 >> stream xÚµ±NÃ0†/ê`é?BîÀ‰dSº`©‰ HeꀘhÇ XI-Â#dÌ`å¸s‚ºtÅËgý÷Û¿î·×~Iyºª)x ö5¾£_‰XQ¸™&oG\7èväWèEF×<ÑçÇ×Ýz{O5º ½ÔT½b³!€ÿ€œÈ£‚™Oª±ª–!2J`@;€÷PŽPÈ<²;…‘GgÈ3E9c̈¹*lÊ0´9Útüø / Îà Ýìi†Õnʲm'¾©¿;)¤ø–),åˆbÈߘ^‹ìJq™©Ý‚§®£zµlÑð¡ÁgüÍF‹¾endstream endobj 348 0 obj << /Filter /FlateDecode /Length 212 >> stream xڽϱ‚0à’$7À ˜x/ ¥$N$ˆ‰ &:9'utÐèf,Æ£ðŒ F¼‚†ÆÕÄßp×öþ ü¡ ÑÃ$ÇÜK8¯‹†ïÎîq b~bNeé/çëD¼œ¢‘àF¢·…4AFGi¢ú[«‘µª?«2’×%éæ72byg6ù ã•Nh—:¡]hÝB¿íçQÖ©L›)õ϶ÿ˜?›Í$nþIØd¦ä¼Ô[Xm”ÑFŽÊiÇžzÒÕŠäuA63`– ^¶Ñj»endstream endobj 349 0 obj << /Filter /FlateDecode /Length 210 >> stream xÚuÏ1jÃ0àg<þÅ7ˆÿ 4²‘ã1'…z(¤S‡$ MH×XGÓQ|„ŒJÝW\(TˆôúŸ 7uN3uúk‘i1Ó}.Gq%CËáf÷&u#öU])ö‰±ØæYϧƒØzµÐ\ìR×¹fi–Šè €éÆWà‚Op_ÝPIÓ!õ I@Ò*¤#f %×#ý¸~á,üK{ÇT#ç¼³¶,„ΰq`É(°nìYÜsLøâ¾Þ–ÇF^䃷V2endstream endobj 350 0 obj << /Filter /FlateDecode /Length 275 >> stream xÚ¿NÃ0Æ?+C$/~„Ü @pK§V*E"L02€`«÷ÉÈ£Dâ`ž”7Ѭ$7ëãî¨d¸¬*¦ ¯:}§¿$ Xendstream endobj 351 0 obj << /Filter /FlateDecode /Length 167 >> stream xÚÍα Â@ à;:ò’'ðzxµ: µ‚7:9ˆ“: *:{ÖGñ;œs]úÈù“!¹éë3pç‡cÜk8ƒ‰YǸØ¡´ Öh PsNAÙ^/·¨r9E ªÂÆl ¶BéuL[“Vùeˆ¦T³½ôÉŽdÞø@ú‡`_µ¬‹’wV| ýÿšð‡äˆš …oafaosKƒendstream endobj 352 0 obj << /Filter /FlateDecode /Length 125 >> stream xÚ32×3°P0P0b#S3s…C®B.#C ßÄI$çr9yré‡+ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. ŒØ€ÿ‚ˆ¥ˆŒþÃûæ? : æ ÿÿÿ€ .WO®@.»P endstream endobj 353 0 obj << /Filter /FlateDecode /Length 110 >> stream xÚ32×3°P0P0b#S3K…C®B.#C ßÄI$çr9yré‡+ré{E¹ô=}JŠJS¹ôœ€¢. Ñ@-±\ž. ŒþÃûæ? ŒC 1ÿcøÿÿq¹zrrp^Úendstream endobj 354 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚåÐ=ªÂ@ðH˜Â\@ÈœÀMü BÀ0… •…X©¥ ¢­ÉÑö({Ë«ãî+¾¼b†ßü§˜aÖé8åž«|Äý>2ºPî³Ô~±?Ѥ$µá|@jáRRå’o×û‘Ôd5åŒÔŒ·§;*gX@l$Æu¯8lSyÕEÈžñn!Ñ­Á£X#xiTCÄÆ©F•þHjODO' 0¿ôvÒÊÝö§þ³B÷J#n Ò$"¡ˆù&š—´¦ݤ›endstream endobj 355 0 obj << /Filter /FlateDecode /Length 159 >> stream xÚ35Ñ34W0P0bSC…C®B.˜ˆ ’HÎåròäÒW01çÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(0þaüÇÀðÿûÿ@RŽý´`üÁÀþ§€ñóŸ ÿ`ø$@äÿ†z É€ ÿa/É òmÃÿÿ?ìÿÿC&¹\=¹¹?qjSendstream endobj 356 0 obj << /Filter /FlateDecode /Length 218 >> stream xڭнŽÂ0 p[*yé#à€4"€øè€t7Ýpº ‘Á }4¥Ð±CHpH'n¼[~ƒ­8{`zzÄ9÷¹«Ç<Ðl o5É„jÎÃ~ÛÚìiVúb3"µ’:©bÍçÓeGjö1gMjÁßšó*Œ6±Þf¾'i%°ôQ|”p”Þ´Dй£+”7Y´¦Ñ&˜Dí»èþêï™ñÇÖºÍã^ÙÜ+­džF˰ÅU6ºƒ´uÒˆ“¬;Ò‰wþÛĽoÞ¤eAŸô$”Ššendstream endobj 357 0 obj << /Filter /FlateDecode /Length 144 >> stream xÚ36׳4R0P0a3…C®B.c˜ˆ ’HÎåròäÒW06âÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(0ÿ`þðÿ‡üŸÿ?lìþÿ(¨gÿñà?óÏÿ6ügü  u@lÃøŸñþC{Ì ´÷ÿÿpÌåêÉÈÈöPêendstream endobj 358 0 obj << /Filter /FlateDecode /Length 162 >> stream xÚÍË1 Â@…á·¤L¡°˜ èfqCÊ@Œà‚Vb--+'GË‘<@Ⱥ!Xè l¾âý3©™ŒžóÔpjØZ>ºíÇ„m:”êL…#½c›‘^…™´[óíz?‘.6 6¤KÞNäJV- ð-rÿeÜByD¡z 7ÿ«ÿU}Ä`‡(øD,uxIƒé0nÒ·WR héhKo©b“endstream endobj 359 0 obj << /Filter /FlateDecode /Length 246 >> stream xÚeɱJÄ@…á; $p ¤M!æ¾€ÎdÍF 1°®` A+ ÔÒBÑv362°eЏãì]X'ñqι>­g¤iF'5TŸÑk…ØÌè©®÷ÏË;.:TÔÌQ݆UwG_Ÿßo¨÷×T¡ZÒSEú»%yïB­7ÿ‘zÈ· CÇD`AlÙ`Áï^Ѓ\ƒ„Fö´&i!‰QÚ¤5#+§È]VÚ‚QäS¤›"wš¡Ó)ä ÓÍŠ±’SˆÑÉÁ2¬8`ܼ?†aàÏè€ÁÅhÖŒ+.Æ1À%ãˆûÞtø€¿ƒ}z=endstream endobj 360 0 obj << /Filter /FlateDecode /Length 248 >> stream xÚeпJÄ@ðo \`^›B¼yÝÍ] ç ¦´²á@-íÄÛG²´Ì£äR^w¢ùÃÙüŠ™]¾™9ŽŽâ„ Oùpj8>åxƽPS5œÌþZ÷O´LIßpœ¾puÒé%¿½¾?’^^qDzÅ·›;JW\×…ªË¡~ lr¯&V‰÷g¸î¾{„'À´N2¬;säÀ8GÖêÊvn=§·õЪÊQoåb]pл ~‹‹¯^¶ã8ëõí®Ø:úg00ìœ7~Êžî¿®JT¥Ä٠Ͼüœ4s”M^!ÒyJ×ô[ÍX'endstream endobj 361 0 obj << /Filter /FlateDecode /Length 136 >> stream xÚ32×3°P0P°PÐ5´T02P04PH1ä*ä24Š(YB¥’s¹œ<¹ôà ¹ô=€â\úž¾ %E¥©\úNÎ @Q…h ¦X.O9†ú†ÿ ÿᬠ—Àƒ€ ãÆæfv6> † $—«'W ÷ '®endstream endobj 362 0 obj << /Filter /FlateDecode /Length 207 >> stream xÚ½½ ÂP F¿Ò¡¥Ð¼€ÞVn«“‚?`A'qRGE7Áúf}”>BÇÅšÞ‚Šè*3$|9º×î†ì³æV‡uÈQÄÛ€¤}®+ê5“Íž†1©%kŸÔTڤ⟎ç©á|Ä©1¯öר8Ux·èã”À*à%V7±38©“ÂÎ \Aî&°rOP ådeyÜ¿¡>Xý ?c\%éý#øë£æË'q¶(I£©fÔ‰µNšÄ´ ƒ…)endstream endobj 363 0 obj << /Filter /FlateDecode /Length 131 >> stream xÚ3±Ð37U0P°bC33…C®B.c# ßÄI$çr9yré‡+qé{E¹ô=}JŠJS¹ôœ ¹ô]¢  b¹<] >00013Ëñÿ ÿAø9³ùà óÿúóCýÿÿÿa˜ËÕ“+ Ìt^@endstream endobj 364 0 obj << /Filter /FlateDecode /Length 259 >> stream xÚ]ÐÁJ…@ÆñOf!"·."ç åÚÍE0p»A.‚Zµˆ ¨vµ ôÑ|Á¥‹ËÎgH0?˜ñ?p´¬NÎNmn¹ÊÒ®×ö¹wYUºÏ¹å‹§7ÙÔâîìªw¥§âêkûùñõ"nssa q[{_ØüAê­…ÙÈB´aD4%;˜>Ú#îp¨§Ýà{%*eÌdl”鈧W”]èHÿ‹ùOË·ž¦…dfä 3Âױt¢KÒ‡óF¼oæû¼³MØfl=³oÂ,"†EÌ"pLΉ~WІh–Fš¥F³*Ö4×€& !Œ3ž´DWþËZnåÎvjendstream endobj 365 0 obj << /Filter /FlateDecode /Length 257 >> stream xÚmÁJÄ0†'ô˜ƒyÅÎ h[éÖÞ ë ö ¸'âiõ(¨èÕöÑò(y„sÆ™ì$ä;dfþò·ýùåšjjéì‚Ú5u=5ø†mMrºþPÙ¿àfÄêžÚ«~Æj¼¥÷Ïg¬6wWÔ`µ¥‡†êG·*€‰`ˆß‹Z@y˜æÂÂ`5@éNŽ0Þ8FéÁ„ Ê ðÒxÖ‘õPºŒÁ fÆÄ¾ŠÍ¡HmVJ[ù\8ô¥ )ƒqYT‹‘Nà K†Jˆ¿8L3#Úÿ±Ä™g¾DïU”kñèÙ-¬Ä2¥¡gþBá8&%ÁÃ1DñÂëwø>³vqendstream endobj 366 0 obj << /Filter /FlateDecode /Length 257 >> stream xÚuпJÄ@ðoÙ"0…y!óšDr1•óSZ)ˆ ¨¥ ¢­É£åQò[¦X2ÎæN¼²ð[˜ý÷ÍÕñéŠ3.øè„‹—%?çôNEÆa”Õvåé•Ö ¥·\d”^j™ÒæŠ??¾^(]_ŸsNé†ïsΨÙ0yµ("=¬·¢I 5p‡oI—àu·ë~ѽvŒ§ œÚ§î´„©5âÐF‡à rˆ¤“ q/ošAz½ ¹FÅÌxé¶`Úcο¤ý=!õ‚)Ùa¦$¼ï°ãÜ ¹Ðï íkÙkRý—:ô5±Œ€•ðš†.º¡Ö̈%endstream endobj 367 0 obj << /Filter /FlateDecode /Length 220 >> stream xÚ½Ò=‚0à’$ßÂüN`!!U'ÄDŒ“::ht†£qŽÀÈ@Z©mIjüÙlBÚ-ïË$ÇCŒû‡ÏOñÁ¸š‡jª^gHs`[ä1°e¿ ,_áíz?K×sŒ€e¸‹0ÜCž¡ì‡ „(eml ñdE|µQ”ýb©M*mÐhýVK;-Fi,ŒI©U®Aml´¾µu¥Öø¡ü“ΧâûýéË÷Úl.CNµ›ŸÍÕZ¸=x¦Úº½%õÐë³gizïÜÿ@Õ‹6ð ·¯7endstream endobj 368 0 obj << /Filter /FlateDecode /Length 180 >> stream xÚ33Ö33V0P0b3 ²PH1ä*ä25òÁ\Dr.—“'—~¸‚©)—¾P”KßÓW¡¤¨4•Kß)ÀYÁKßE!ÚPÁ –ËÓEá?|@¥ÿ``¨ÿÀPßÀÀÀÿL1C(FÅ¥* ” %ƒâÁCñA(6ŃF1¢dP(U¦ÿ€¨ÿÿ±PP9˜J˜>TÃxH¥èJ‘Œÿ€(`¬ýÀ ¸\=¹¹|3„äendstream endobj 369 0 obj << /Filter /FlateDecode /Length 152 >> stream xÚ33г4R0P0bSs3 …C®B.S˜ˆ ’HÎåròäÒW05âÒ÷Šré{ú*”•¦ré;8+ré»(D*Äryº(üÿÿÿ*ÅøÿÔ€P £ˆ2ÀC@¨ÂÔ,ãdŠB±£PüÊBÕƒ)Æÿ€ˆAþÃ0@£¸\=¹¹õR€£endstream endobj 370 0 obj << /Filter /FlateDecode /Length 258 >> stream xÚ}ÒÁJ1à ] {-(tžÀdiµñb¡Vp‚ž<ˆPY¥§R=wÁ[ðEú{ÜÃÒ8Szh»M ß$‡dÈo¯/C2tÉÓéÊÒ{ŠŸ8²\)å _à$CýL#‹úžwQgôýõózòxK)ê)½¤d^1›’sðˆ]ã\)Jö¥vÚ,×¢³ú´æ•hp ¼å½5¢?f|#¨ßC­XQäÓ˜éxÕçFºGJøù=¯bnÄxujQüüÒ+Ø€*üZAÇ€úe7 dÝk)®L@Q= H5eKÀá ˆÿFTµ¥¸¸Ù*q[qœ«àœƒ(ùk ï2|Â]áÍãendstream endobj 371 0 obj << /Filter /FlateDecode /Length 160 >> stream xÚ37Ð31R0P0b3s3 …C®B.3ßÄ1’s¹œ<¹ôÃÌŒ¹ô=€¢\úž¾ %E¥©\úNÎ †\ú. ц ±\ž. öÿÁàýAþÙ70ð``þaÇ¢~Ô@èš m£ ´ :¡yÑ 4!šB3ŒÒÓÀøƒú ’í 4—«'W +‚qendstream endobj 372 0 obj << /Filter /FlateDecode /Length 229 >> stream xÚuϱJAà¹ba ï ¼yÝÙhº…Á+­RˆPK E;1 ¾Øt¾Æ½±»âp½‹ S|Å?;?¬ŸÏxžjösö3¾­éüTCÆÍÍ=-r+öSrg“kÎùéñùŽÜââ„krK¾ªyrMÍ’a{è„Õ®lBŠ-`a:`Ðu)xªu‹w­äG½W‹˜ÕùÇ2©&e˯œɦá¶ÏÚnh›‡Î ÙÍhüuð‡aǨ‡k}ÿ¡ Þ[ bÔªµoŸb»ý"E“z“†O¾€Nº¤oÉŒlaendstream endobj 373 0 obj << /Filter /FlateDecode /Length 213 >> stream xÚÅѱ Â0à; ·ø½Ð4X-‚P¨ vtr'uTt•7)7´&/¡Â“²‰Ž hÀ4³“"¯rM¾ò¨Ó˜îzd‡Úendstream endobj 374 0 obj << /Filter /FlateDecode /Length 203 >> stream xÚ½ Â0…Oé¸KßÀÞд¤v øvtrAPGAEÁA0–Gé#8:õÆÜòANȹß-LÇÎØp;ç"ã¢ËëœödJ åZ¾_V[êU¤glJÒ#‰IWc>NÒ½IŸsÒžçœ-¨0pu@ÜÜ€Ä_‹x vёÒZÕ°uú/¬{#õÒ¡^EÈAó^Uö‹ÌzÌÅN4° ¨E A2ò¢;Wa…Äé ¨°V4¥'VhLrendstream endobj 375 0 obj << /Filter /FlateDecode /Length 267 >> stream xÚ‘±J1†'lq0…ûÞ¼€f̰pžà‚Vb¥–Š‚]òhy”}„-¯86ÎL¢œ‡• Ù/Ìü;“üq«Ó5äè¤%×QwFO-¾¢kHfçræñ×Ú;r Ú+£®éýíãíúæ‚Z´ºo©yÀaCÕ 2–i¤´å¯™5º˜À€z„>‚¬%k<&rš¥,«¶`vŒìd+q3Ëß’1«^+ü ô\úoxE<@ØG*Ðqˆ ÷ù/|AüýoŒÙ¸=˜¨×,¨¢8U(`‡Ø´ fA-©‘pœûžçÚŸ¹Ú¤Pjí"ê{mœ¤ÔIš€‘ƒã倷øYRŽendstream endobj 376 0 obj << /Filter /FlateDecode /Length 142 >> stream xÚ36×31R0P0bcCKS…C®B.#ßÄ1’s¹œ<¹ôÃŒL¹ô=€¢\úž¾ %E¥©\úNÎ †\ú. ц ±\ž.  Œÿ˜ÿ30°ÿoÀŠAr 5 µTì ü@;þ£af f€áú!Žÿ``üÿè¯ÿ ȘËÕ“+ > stream xÚåÑ=JÄ@ð )¯É2'p2°Dl ¬+˜BÐÊB¬\K E;qÒy­ˆ…å^aŽ2EÈ33ïŸÂEô„ßdȼ¯Ú»Ò¥Ou¤mYê­¥ªÂAßÃîöžÖ ™+]­Èœ…c2͹~z|¾#³¾8Ñ–ÌF_[]ÞP³ÑIÚ%ae,ò*˜¸=ëÿcÊ<üæ<¬6êF¹ç<ì â½Âö¢òÈÓ‰Y+æÈ _à ª^L½˜ubÞŠ¬qîð‹ï,÷?vïóMÜectJ§è¨ÄAq´O8Öç‡:ê®ÑG±ˆþò}-¢ÿ˜ ô¿È˜KHçÖ~Ÿc¹‹½DÇ='ùù0t[°gž7×ÒiC—ôÍâÞÏendstream endobj 378 0 obj << /Filter /FlateDecode /Length 185 >> stream xÚÝÏ? ÂP ð¯,d°«ƒÐœÀ×ÚVt*øì èä ‚ Ž‚ŠÎ¯GëQzÇNÆ÷:ˆƒx‡üÈ—@ i¿—Drj*ñ æCDJb“Cíb¢qNjÍILjn¦¤òß®÷#©ñr©)oÌ™-åS†¯†/ž–ÂX¥ˆSeF·Ô•+^¡+ˆkÛª»d%ôA¢è3ðv×X}Xþ´øÅ~äÈö"õ7i–ÓŠ^¤Ds.endstream endobj 379 0 obj << /Filter /FlateDecode /Length 191 >> stream xÚ35Ò31T0P0RÐ5T01U°°PH1ä*ä21 (XXBd’s¹œ<¹ôÃLŒ¸ô=€Â\úž¾ %E¥©\úNÎ †\ú. Ñ@ƒb¹<] @€ò>’ƒdF"Ù‘H~$RLÚƒÉz0ùD2ƒIþÿ@ÀðƒD1aˆ’Œ¨L²ÿ``n@'Ù˜ÿ0°3€H~`¼ücà1ƒ(¸l@Aÿà(ÀáÍþÿ8¸\=¹¹~@‡Øendstream endobj 380 0 obj << /Filter /FlateDecode /Length 268 >> stream xÚ}Ð1K1ÀñWn(¼Áûž/ ¹T‰„ƒZÁÄI…* nwâËÖ¯qŸ@2ÞP.¾äR0‘:¼ðK2äONä¡<¦‚ft I’šÑ£ÄTŠ RGÃÍÃ3.*·¤ŠK>FQ]ÑÛëûŠÅõ9IKº“TÜcµ$km™µúŒlvÃÓ2JP;L5o<š-ÜDØw0¹ÃÄ¡ ;Ì#ð3ðÁ“9¬~cÔóÒF°<à cp¼GÍh> stream xÚÒÁJÃ0ð¯ôPÈay±æ´k‡Û ƒÂœ`‚ž<ˆ'õ(LQ˜§æÑò(}„{(ÿ4 HÙÁCø~|!!ÿ$åærµKQˆ‹\”Wb]ˆ×œ}°²@s)Ö+7óòÎö5ËEY°ìm–Õwâëóûeûûk‘³ì žr±|fõAcdeŒ"côMd:¢Ê *¢¦%â½s'˜kàŽõcTsk¿Žkç4XNŒÊ±w"]/µ¦‰QSœ…“;GϼË`Ôr ZÀ1üϽÁ¨GäÛÁ¬á­wÛxkI'˜ EÖGoUKX‘¶ndlÝzË4XÁm4ºR‰µòÆy·°ŽG§-·–Î3J‚5Ü%£¹^X“óœâàîùè¤ÛÁ3ï-EÁ=<,FÇý ž{#Rð›Ýèh°?bë·±îFÓhím_üŒÿܹןº²VÞ6ЧÖÒÙÆH¦f75{`¿ŸõÒiendstream endobj 382 0 obj << /Filter /FlateDecode /Length 328 >> stream xÚ’ÏJÄ0‡',ä`_@lžÀn—ý£ ÖìAГñ¤…* ÄöÑò(y„{X6Næ'XaštòÍ´Ì,–G3;±K~{2³•y1ó)Ÿå˜ÏfU›òÖΧ¦¼ä·¦¬¯ìÛëû“)W×ç¶2åÚÞUvroêµ%Ê7”VŒžwcÏÈcÜ2 _DÆ¿æàÀ—)Ž»žtàð@ÚK‚¬#ʶ”KÚ*vÀ©ñÇÀGBš]ˆœŒKp­1úÿ¢…à¼`/åtz<~ %Ÿð élÙfŒ|=€ÌîO¶CÙ’hØv;‡V@sМìÜ YÐ4 -ƒ–AË¡¸|Ik`7ÒNFj'Cì;À°ì@©s*P/PIS^Ëèø4œ‚‡‡ÎhÙc·æ¢67æRß̨endstream endobj 383 0 obj << /Filter /FlateDecode /Length 399 >> stream xÚÕ”±NÃ0†meˆäÅo@ü¤ª"!,•"‘ &ÄŒ ØÒ7ÃâGȘ¡Êqg;‰›¶ìtp¿8—ûïì»+‹ó³e¥ µT§ UUª, õRŠwQ•¸[àó¿{~«Zäª*E~Cû"¯oÕçÇ׫ÈWwW ·×ê¿zõZ1úA‹‹q(ãž8€Ž%ƛؤ¬·hÆRÇh̤qœÀ+‰ÓÞfÄrK†ßŽ5‰² MÜXâÇàEüãä=ÐVÌb‚ËÀÞ%š"góù·ëÀäÓKឤvc ²»Œ¹„ö8„Ãèb¡í2ž[sw˜õ!Æ»R™ssˆ)åcl'†Îç˱tÁc½ÇTàíxæ…&Žî¢{œ±Œ¹Ÿ8=Âc-Íx¬½µ:çáR㚟÷BÜ#C QOñ¨×a×kA̳K\/;§RO=ž¹O£ËÌŒ_m¥&ïüÜШ,mj†£‡M2Μ>šE]4£ÌT>q]‹{ñ Ž¡%Oendstream endobj 384 0 obj << /Filter /FlateDecode /Length 367 >> stream xÚÕ”½N…0ÇKHºðœPÚ“{™H®×DŒÓÕÑA£3<Â#02*==-í$¬BÒþh9=ý·RÜ\ö `W;( …€7É?y!@¿RìÌÜùƒ+ž?C!x~¯Çy^=À÷×Ï;Ï· y~‚ â•W'`ó©ŽÙ§TÊb¤”›H+â¬gñD\·Œ©†~×æÆ ç&푱ÃÙTOGƸluk¢ÕÍÒªe–þD+ò€Þ“ v§3Í(“Uk²U”1rã2÷W¡9²%˜}øìVíW`æd$N‡€SÇ£þ¤JŽ,s<­rÙÇj× 7wn77±Z¸ý/¼ºö ÔsøCí¼ºwn¯§pß=Nœf†UŽÞú€#§ÏîB·VÏm¨í@ÿ½]"êy2%I2+\òÏ Íè0×& Ò?Ë™g…ÞÈ3vÑ¿+‚ÓçŸ,¿òþ]äßQîîâwâ¿Aýendstream endobj 385 0 obj << /Filter /FlateDecode /Length 313 >> stream xÚÅÔ±NÃ0Ы×ÎÒ×@êÊÁ0·Ì=ÌãS,,D¿ uÇê‡Í+u|mÇêŠï‹ÛOö³ëîDîOæE;Y—ðЊÙDê3i S%wÎû3cH˜€ ;›<$érò”¯Ùét ?F7êðºÂ{ü‡ñ,\endstream endobj 386 0 obj << /Type /XRef /Length 716 /Filter /FlateDecode /DecodeParms << /Columns 5 /Predictor 12 >> /W [ 1 3 1 ] /Info 56 0 R /Root 55 0 R /Size 387 /ID [<5c20d9e26b0d31b8d97e2105ec389197>] >> stream xœí•IlNQÇï½¥¾Ž!†¢5KT¥5” ¦”ƒªH°  ±+Ö;±²hI$Ô”J ‰9ÑZ ÆSÍCJ‰HIõýÎÇý'–¶Þâ—“óî=ï¼ÿ9÷Üà’'xçÒð³ ‰Ãÿç?±Ã¥W^ë´sŽ&zæ%ÌíëìI˜ÊK˜s5{f‡„axB? ®…M·~<ûÁ·p ,…oàHø~„ˈ›ÜüXçÃA¬™½nÀ³» ö•È›`|×CÏ®jlÛûVÀ1¼-ÁFß>‡sä/ÐÇ}b}wì3øÛ` ìà+Q¬Erë¿A*â+áOØÏÁjÙ•‚Yð†¨×“|î’Û<­xåmW78D²µÈ¤jàI"\Šù„|ÍÛ§ð¬dž-ÿ8Q4 ‰ÊDzÀÏ„_`-kJ%Ú„¿”o—˜}ä[SÙ‹V>—ìzÑÁúð%þØß¡#î…`Ú-Ó®míi^áð>´y8Úl±9`·I³ü}Ñî#» mvÙd[ív°¹Q¿k':3“×àR¯åøcïÆ¾OáÙæ~èB–¼ endstream endobj startxref 114421 %%EOF RGtk2/inst/doc/tutorial.sgml0000755000176000001440000172263011766145227015535 0ustar ripleyusers ]> March 8th, 2007 RGtk2 Tutorial Michael Lawrence This is a tutorial on how to use GTK (the GIMP Toolkit) through its R interface RGtk2. It is based on the original C interface tutorial by Tony Gale, Ian Main, and the GTK+ team. Tutorial Availability A copy of this tutorial in SGML is distributed with each source code release of RGtk2. A copy is available online for reference. Introduction GTK (GIMP Toolkit) is a library for creating graphical user interfaces. It is licensed using the LGPL license, so you can develop open software, free software, or even commercial non-free software using GTK without having to spend anything for licenses or royalties. It's called the GIMP toolkit because it was originally written for developing the GNU Image Manipulation Program (GIMP), but GTK has now been used in a large number of software projects, including the GNU Network Object Model Environment (GNOME) project. GTK is built on top of GDK (GIMP Drawing Kit) which is basically a wrapper around the low-level functions for accessing the underlying windowing functions (Xlib in the case of the X windows system), and gdk-pixbuf, a library for client-side image manipulation. GTK is essentially an object oriented application programmers interface (API). Although written completely in C, it is implemented using the idea of classes and callback functions (pointers to functions). There is also a third component called GLib which contains a few replacements for some standard calls, as well as some additional functions for handling linked lists, etc. The replacement functions are used to increase GTK's portability, as some of the functions implemented here are not available or are nonstandard on other Unixes such as gStrerror(). Some also contain enhancements to the libc versions, such as gMalloc() that has enhanced debugging utilities. In version 2.0, GLib has picked up the type system which forms the foundation for GTK's class hierarchy, the signal system which is used throughout GTK, a thread API which abstracts the different native thread APIs of the various platforms and a facility for loading modules. GTK uses the Pango library for internationalized text output and is integrated with the Accessibility Tool Kit (ATK) for, you guessed it, accessibility. This tutorial describes the R interface to GTK. There are GTK bindings for many other languages including C, C++, Guile, Perl, Python, TOM, Ada95, Objective C, Free Pascal, Eiffel, Java and C#. This tutorial is an attempt to document as much as possible of GTK, but it is by no means complete. This tutorial assumes a good understanding of R. If you are learning GTK as your first widget set, please comment on how you found this tutorial, and what you had trouble with. This document is a "work in progress". Please look for updates on http://www.gtk.org/. I would very much like to hear of any problems you have learning GTK from this document, and would appreciate input as to how it may be improved. Please see the section on Contributing for further information. Getting Started The first thing to do, of course, is to install the RGtk2 package from CRAN. You can also view other sources of GTK information on http://www.gtk.org/. The RGtk2 source distribution also contains the complete source to all of the examples used in this tutorial. To begin our introduction to GTK, we'll start with the simplest program possible. This program will create a 200x200 pixel window. win <- gtkWindow("toplevel") This single line of code creates a GtkWindow object and assigns it to the win simple. In RGtk2, any GTK+ class may be instantiated by calling a function with the same name of the class, with the first character in lowercase. The "toplevel" argument specifies that we want the window to undergo window manager decoration and placement. Rather than create a window of 0x0 size, a window without children is set to 200x200 by default so you can still manipulate it. The window, like all other widgets, is automatically shown by RGtk2; this can be avoided by passing show = FALSE to gtkWindow(). Hello World in GTK Now for a program with a widget (a button). It's the classic hello world a la GTK. # This is a callback function. hello <- function(widget) { print("Hello World") } deleteEvent <- function(widget, event) { # If you return FALSE in the "deleteEvent" signal handler, # GTK will emit the "destroy" signal. Returning TRUE means # you don't want the window to be destroyed. # This is useful for popping up 'are you sure you want to quit?' # type dialogs. print("delete event occurred") # Change TRUE to FALSE and the main window will be destroyed with # a "deleteEvent". return(TRUE) } # create a new window window <- gtkWindow("toplevel") # When the window is given the "deleteEvent" signal (this is given # by the window manager, usually by the "close" option, or on the # titlebar), we ask it to call the deleteEvent () function # as defined above. gSignalConnect(window, "delete-event", deleteEvent) # Sets the border width of the window. window$setBorderWidth(10) # Creates a new button with the label "Hello World". button <- gtkButton("Hello World") # When the button receives the "clicked" signal. The hello() # function is defined above. gSignalConnect(button, "clicked", hello) # After the click, close the window gSignalConnect(button, "clicked", gtkWidgetDestroy, user.data.first = TRUE) # This packs the button into the window (a gtk container). window$add(button) Theory of Signals and Callbacks Before we look in detail at helloworld, we'll discuss signals and callbacks. GTK is an event driven toolkit, which means it will sleep until an event occurs and control is passed to the appropriate function. This passing of control is done using the idea of "signals". (Note that these signals are not the same as R signals). When an event occurs, such as the press of a mouse button, the appropriate signal will be "emitted" by the widget that was pressed. This is how GTK does most of its useful work. There are signals that all widgets inherit, such as "destroy", and there are signals that are widget specific, such as "toggled" on a toggle button. To make a button perform an action, we set up a signal handler to catch these signals and call the appropriate function. This is done by using: gSignalConnect(obj, signal, f, data = NULL, after = FALSE, user.data.first = FALSE) where the first argument is the widget which will be emitting the signal, and the second the name of the signal you wish to catch. The third is the function you wish to be called when it is caught, and the fourth, the data you wish to have passed to this function. The function specified in the third argument is called a "callback function", and should generally be of the form callbackFunc(widget, ... # other signal arguments data) where the first argument will be a pointer to the widget that emitted the signal, and the last a pointer to the data given as the last argument to the gSignalConnect function as shown above. Note that the above form for a signal callback function declaration is only a general guide, as some widget specific signals generate different calling parameters. When after is TRUE the callback is invoked after the default handler of the signal (the handler within the widget itself), as long as the signal is defined with the "last" flag. This is not generally useful. When user.data.first is TRUE the user-provided data is swapped with the widget parameter when the callback is invoked. This is useful when passing a method belonging to the class of the user data as the callback function. Events In addition to the signal mechanism described above, there is a set of events that reflect the X event mechanism. Callbacks may also be attached to these events. These events are: event buttonPressEvent buttonReleaseEvent scrollEvent motionNotifyEvent deleteEvent destroyEvent exposeEvent keyPressEvent keyReleaseEvent enterNotifyEvent leaveNotifyEvent configureEvent focusInEvent focusOutEvent mapEvent unmapEvent propertyNotifyEvent selectionClearEvent selectionRequestEvent selectionNotifyEvent proximityInEvent proximityOutEvent visibilityNotifyEvent clientEvent noExposeEvent windowStateEvent In order to connect a callback function to one of these events you use the function gSignalConnect, as described above, using one of the above event names as the signal parameter. The callback function for events has a slightly different form than that for signals: callbackFunc(widget, event, data) The event parameter is a GdkEvent structure whose type will depend upon which of the above events has occurred. In order for us to tell which event has been issued each of the possible alternatives has a type member that reflects the event being issued. The other components of the event structure will depend upon the type of the event. The type may be obtained from the class attribute of the R object. So, to connect a callback function to one of these events we would use something like: gSignalConnect(button, "button-press-event", buttonPressCallback) This assumes that button is a Button widget. Now, when the mouse is over the button and a mouse button is pressed, the function buttonPressCallback() will be called. This function may be declared as: buttonPressCallback <- function(widget, event) The value returned from this function indicates whether the event should be propagated further by the GTK event handling mechanism. Returning TRUE indicates that the event has been handled, and that it should not propagate further. Returning FALSE continues the normal event handling. See the section on Advanced Event and Signal Handling for more details on this propagation process. For details on the GdkEvent data types, see the appendix entitled GDK Event Types. The GDK selection and drag-and-drop APIs also emit a number of events which are reflected in GTK by the signals. See Signals on the source widget and Signals on the destination widget for details on the signatures of the callback functions for these signals: selectionReceived selectionGet dragBeginEvent dragEndEvent dragDataDelete dragMotion dragDrop dragDataGet dragDataReceived Stepping Through Hello World Now that we know the theory behind this, let's clarify by walking through the example helloworld program. Here is the callback function that will be called when the button is "clicked". We ignore both the widget and the data in this example, but it is not hard to do things with them. The next example will use the data argument to tell us which button was pressed. hello <- function(widget) { print("Hello World") } The next callback is a bit special. The "deleteEvent" occurs when the window manager sends this event to the application. We have a choice here as to what to do about these events. We can ignore them, make some sort of response, or simply quit the application. The value you return in this callback lets GTK know what action to take. By returning TRUE, we let it know that we don't want to have the "destroy" signal emitted, keeping our application running. By returning FALSE, we ask that "destroy" be emitted. deleteEvent <- function(widget, event) { print("delete event occurred") return(TRUE) } Create a new window. This is fairly straightforward. win <- gtkWindow("toplevel") Here is an example of connecting a signal handler to an object, in this case, the window. Here, the "deleteEvent" signal is caught. The signal is emitted when we use the window manager to kill the window, or when we use the gtkWidgetDestroy() call passing in the window widget as the object to destroy. gSignalConnect(window, "delete-event", deleteEvent) This next function is used to set an attribute of a container object. This just sets the window so it has a blank area along the inside of it 10 pixels wide where no widgets will go. There are other similar functions which we will look at in the section on Setting Widget Attributes. window$setBorderWidth(10) The $ function is specially defined for GTK+ objects and serves as a shortcut for method invocation with a syntax similar to that of Java. The below is the long-form equivalent of the above: gtkContainerSetBorderWidth(window, 10) This call creates a new button. It will have the label "Hello World" on it when displayed. button <- gtkButton("Hello World") Here, we take this button, and make it do something useful. We attach a signal handler to it so when it emits the "clicked" signal, our hello() function is called. The data is ignored, so we simply pass in NULL to the hello() callback function. Obviously, the "clicked" signal is emitted when we click the button with our mouse pointer. gSignalConnect(button, "clicked", hello) We are also going to use this button to close the window. This will illustrate how the "destroy" signal may come from either the window manager, or our program. When the button is "clicked", same as above, it calls the first hello() callback function, and then this one in the order they are set up. You may have as many callback functions as you need, and all will be executed in the order you connected them. Because the gtkWidgetDestroy() function accepts only a widget as an argument, we specify user.data.first = TRUE here. gSignalConnect(button, "clicked", gtkWidgetDestroy, user.data.first = TRUE) This is a packing call, which will be explained in depth later on in Packing Widgets. But it is fairly easy to understand. It simply tells GTK that the button is to be placed in the window where it will be displayed. Note that a GTK container can only contain one widget. There are other widgets, that are described later, which are designed to layout multiple widgets in various ways. window$add(button) Now, when we click the mouse button on a GTK button, the widget emits a "clicked" signal. In order for us to use this information, our program sets up a signal handler to catch that signal, which dispatches the function of our choice. In our example, when the button we created is "clicked", the hello() function is called with a NULL argument, and then the next handler for this signal is called. This calls the gtkWidgetDestroy() function, passing it the window widget as its argument, destroying the window widget. Another course of events is to use the window manager to kill the window, which will cause the "delete-event" to be emitted. This will call our "deleteEvent" handler. If we return TRUE here, the window will be left as is and nothing will happen. Returning FALSE will cause GTK to emit the "destroy" signal. Moving On More on Signal Handlers The gSignalHandler() function returns a tag that identifies your callback function. As stated above, you may have as many callbacks per signal and per object as you need, and each will be executed in turn, in the order they were attached. This tag allows you to remove this callback from the list by using: gSignalHandlerDisconnect(obj, id) So, by passing in the widget you wish to remove the handler from, and the tag returned by gSignalConnect(), you can disconnect a signal handler. You can also temporarily disable signal handlers with the gSignalHandlerBlock() and gSignalHandlerUnblock() functions. gSignalHandlerBlock(obj, id) gSignalHandlerUnblock(obj, id) An Upgraded Hello World Let's take a look at a slightly improved helloworld with better examples of callbacks. This will also introduce us to our next topic, packing widgets. hello <- function(wid, data) { cat(sprintf("Hello again - %s was pressed\n", data)) } # create a new window window <- gtkWindow("toplevel") # This is a new call, which just sets the title of our # new window to "Hello Buttons!" window$setTitle("Hello Buttons!") # Sets the border width of the window. window$setBorderWidth(10) # We create a box to pack widgets into. This is described in detail # in the "packing" section. The box is not really visible, it # is just used as a tool to arrange widgets. box1 <- gtkHBox(FALSE, 0) # Put the box into the main window. window$add(box1) # Creates a new button with the label "Button 1". button <- gtkButton("Button 1") # Now when the button is clicked, we call the "callback" function # with "button 1" as its argument gSignalConnect(button, "clicked", hello, "button 1") # Instead of gtkContainerAdd(), we pack this button into the invisible # box, which has been packed into the window. box1$packStart(button, TRUE, TRUE, 0) # Do these same steps again to create a second button button <- gtkButton("Button 2") # Call the same callback function with a different argument, # passing a pointer to "button 2" instead. gSignalConnect(button, "clicked", hello, "button 2") box1$packStart(button, TRUE, TRUE, 0) Compile this program using the same linking arguments as our first example. A good exercise for the reader would be to insert a third "Quit" button that will close the window. You may also wish to play with the options to gtkBoxPackStart() while reading the next section. Try resizing the window, and observe the behavior. Packing Widgets When creating an application, you'll want to put more than one widget inside a window. Our first helloworld example only used one widget so we could simply use a gtkContainerAdd() call to "pack" the widget into the window. But when you want to put more than one widget into a window, how do you control where that widget is positioned? This is where packing comes in. Theory of Packing Boxes Most packing is done by creating boxes. These are invisible widget containers that we can pack our widgets into which come in two forms, a horizontal box, and a vertical box. When packing widgets into a horizontal box, the objects are inserted horizontally from left to right or right to left depending on the call used. In a vertical box, widgets are packed from top to bottom or vice versa. You may use any combination of boxes inside or beside other boxes to create the desired effect. To create a new horizontal box, we use a call to gtkHBox(), and for vertical boxes, gtkVBox(). The gtkBoxPackStart() and gtkBoxPackEnd() functions are used to place objects inside of these containers. The gtkBoxPackStart() function will start at the top and work its way down in a vbox, and pack left to right in an hbox. gtkBoxPackEnd() will do the opposite, packing from bottom to top in a vbox, and right to left in an hbox. Using these functions allows us to right justify or left justify our widgets and may be mixed in any way to achieve the desired effect. We will use gtkBoxPackStart() in most of our examples. An object may be another container or a widget. In fact, many widgets are actually containers themselves, including the button, but we usually only use a label inside a button. By using these calls, GTK knows where you want to place your widgets so it can do automatic resizing and other nifty things. There are also a number of options as to how your widgets should be packed. As you can imagine, this method gives us a quite a bit of flexibility when placing and creating widgets. Details of Boxes Because of this flexibility, packing boxes in GTK can be confusing at first. There are a lot of options, and it's not immediately obvious how they all fit together. In the end, however, there are basically five different styles. Each line contains one horizontal box (hbox) with several buttons. The call to gtkBoxPack is shorthand for the call to pack each of the buttons into the hbox. Each of the buttons is packed into the hbox the same way (i.e., same arguments to the gtkBoxPackStart() function). This is the declaration of the gtkBoxPackStart() function. gtkBoxPackStart(box, child, expand, fill, padding) The first argument is the box you are packing the object into, the second is the object. The objects will all be buttons for now, so we'll be packing buttons into boxes. The expand argument to gtkBoxPackStart() and gtkBoxPackEnd() controls whether the widgets are laid out in the box to fill in all the extra space in the box so the box is expanded to fill the area allotted to it (TRUE); or the box is shrunk to just fit the widgets (FALSE). Setting expand to FALSE will allow you to do right and left justification of your widgets. Otherwise, they will all expand to fit into the box, and the same effect could be achieved by using only one of gtkBoxPackStart() or gtkBoxPackEnd(). The fill argument to the gtkBoxPack functions control whether the extra space is allocated to the objects themselves (TRUE), or as extra padding in the box around these objects (FALSE). It only has an effect if the expand argument is also TRUE. When creating a new box, the function looks like this: gtkHBox(homogeneous = NULL, spacing = NULL) The homogeneous argument to gtkHBox() (and the same for gtkVBox()) controls whether each object in the box has the same size (i.e., the same width in an hbox, or the same height in a vbox). If it is set, the gtkBoxPack() routines function essentially as if the expand argument was always turned on. What's the difference between spacing (set when the box is created) and padding (set when elements are packed)? Spacing is added between objects, and padding is added on either side of an object. The following figure should make it clearer: Here is the code used to create the above images. I've commented it fairly heavily so I hope you won't have any problems following it. Packing Demonstration Program # Make a new hbox filled with button-labels. Arguments for the # variables we're interested are passed in to this function. # We do not show the box, but do show everything inside. makeBox <- function(homogeneous, spacing, expand, fill, padding) { # Create a new hbox with the appropriate homogeneous # and spacing settings box <- gtkHBox(homogeneous, spacing) # Create a series of buttons with the appropriate settings button <- gtkButton("gtkBoxPack") box$packStart(button, expand, fill, padding) button <- gtkButton("(box,") box$packStart(button, expand, fill, padding) button <- gtkButton("button,") box$packStart(button, expand, fill, padding) # Create a button with the label depending on the value of # expand. if(expand) button <- gtkButton("TRUE,") else button <- gtkButton("FALSE,") box$packStart(button, expand, fill, padding) # This is the same as the button creation for "expand" # above, but uses the shorthand form. button <- gtkButton(ifelse(fill, "TRUE,", "FALSE,")) box$packStart(button, expand, fill, padding) button <- gtkButton(padding) box$packStart(button, expand, fill, padding) return box } # Create our window window <- gtkWindow("toplevel") window$setBorderWidth(10) # We create a vertical vbox to pack the horizontal boxes into. # This allows us to stack the horizontal boxes filled with buttons one # on top of the other in this vbox. box1 <- gtkVBox(FALSE, 0) example1 <- function() { # create a new label. label <- gtkLabel("gtkHHbox(FALSE, 0)") # Align the label to the left side. We'll discuss this function and # others in the section on Widget Attributes. label$setAlignment(0, 0) # Pack the label into the vertical box(vbox box1). Remember that # widgets added to a vbox will be packed one on top of the other in # order. box1$packStart(label, FALSE, FALSE, 0) # Call our make box function - homogeneous = FALSE, spacing = 0, # expand = FALSE, fill = FALSE, padding = 0 box2 <- makeBox(FALSE, 0, FALSE, FALSE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Call our make box function - homogeneous = FALSE, spacing = 0, # expand = TRUE, fill = FALSE, padding = 0 box2 <- makeBox(FALSE, 0, TRUE, FALSE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(FALSE, 0, TRUE, TRUE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Creates a separator, we'll learn more about these later, # but they are quite simple. separator <- gtkHSeparator() # Pack the separator into the vbox. Remember each of these # widgets is being packed into a vbox, so they'll be stacked # vertically. box1$packStart(separator, FALSE, TRUE, 5) # Create another new label, and show it. label <- gtkLabel("gtkHBox(TRUE, 0)") label$setAlignment(0, 0) box1$packStart(label, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(TRUE, 0, TRUE, FALSE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(TRUE, 0, TRUE, TRUE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Another new separator. separator <- gtkHSeparator() # The last 3 arguments to box$packStartare: # expand, fill, padding. box1$packStart(separator, FALSE, TRUE, 5) } example2 <- function() { # Create a new label, remember box1 is a vbox as created # near the beginning of main() label <- gtkLabelNew("gtkHBox(FALSE, 10)") label$setAlignment(0, 0) box1$packStart(label, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(FALSE, 10, TRUE, FALSE, 0) box1$packStart(box2, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(FALSE, 10, TRUE, TRUE, 0) box1$packStart(box2, FALSE, FALSE, 0) separator <- gtkHSeparator() # The last 3 arguments to box$packStartare: # expand, fill, padding. box1$packStart(separator, FALSE, TRUE, 5) label <- gtkLabel("gtkHBox(FALSE, 0)") label$setAlignment(0, 0) box1$packStart(label, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(FALSE, 0, TRUE, FALSE, 10) box1$packStart(box2, FALSE, FALSE, 0) # Args are: homogeneous, spacing, expand, fill, padding box2 <- makeBox(FALSE, 0, TRUE, TRUE, 10) box1$packStart(box2, FALSE, FALSE, 0) separator <- gtkHSeparator() # The last 3 arguments to box$packStartare: expand, fill, padding. box1$packStart(separator, FALSE, TRUE, 5) } example3 <- function() { # This demonstrates the ability to use gtkBoxPackEnd() to # right justify widgets. First, we create a new box as before. box2 <- makeBox(FALSE, 0, FALSE, FALSE, 0) # Create the label that will be put at the end. label <- gtkLabel("end") # Pack it using gtkBoxPackEnd(), so it is put on the right # side of the hbox created in the makeBox() call. box2$packEnd(label, FALSE, FALSE, 0) # Pack box2 into box1(the vbox remember ? :) box1$packStart(box2, FALSE, FALSE, 0) # A separator for the bottom. separator <- gtkHSeparator() # This explicitly sets the separator to 400 pixels wide by 5 pixels # high. This is so the hbox we created will also be 400 pixels wide, # and the "end" label will be separated from the other labels in the # hbox. Otherwise, all the widgets in the hbox would be packed as # close together as possible. separator$setSizeRequest(400, 5) # pack the separator into the vbox(box1) created near the start # of main() box1$packStart(separator, FALSE, TRUE, 5) } # Create another new hbox.. remember we can use as many as we need! quitbox <- gtkHBox(FALSE, 0) # Our quit button. button <- gtkButton("Quit") # Setup the signal to close the window when clicked gSignalConnect(button, "clicked", gtkWidgetDestroy, window, user.data.first = TRUE) # Pack the button into the quitbox. # The last 3 arguments to box$packStartare: # expand, fill, padding. quitbox$packStart(button, TRUE, FALSE, 0) # pack the quitbox into the vbox(box1) box1$packStart(quitbox, FALSE, FALSE, 0) # Pack the vbox(box1) which now contains all our widgets, into the # main window. window$add(box1) Packing Using Tables Let's take a look at another way of packing - Tables. These can be extremely useful in certain situations. Using tables, we create a grid that we can place widgets in. The widgets may take up as many spaces as we specify. The first thing to look at, of course, is the gtkTable() function: gtkTable(rows = NULL, columns = NULL, homogeneous = NULL) The first argument is the number of rows to make in the table, while the second, obviously, is the number of columns. The homogeneous argument has to do with how the table's boxes are sized. If homogeneous is TRUE, the table boxes are resized to the size of the largest widget in the table. If homogeneous is FALSE, the size of a table boxes is dictated by the tallest widget in its same row, and the widest widget in its column. The rows and columns are laid out from 0 to n, where n was the number specified in the call to gtkTable. So, if you specify rows = 2 and columns = 2, the layout would look something like this: 0 1 2 0+----------+----------+ | | | 1+----------+----------+ | | | 2+----------+----------+ Note that the coordinate system starts in the upper left hand corner. To place a widget into a box, use the following function: gtkTableAttach(table, child, leftAttach, rightAttach, topAttach, bottomAttach, xoptions = GtkAttachOptions["expand"] + GtkAttachOptions["fill"], yoptions = GtkAttachOptions["expand"] + GtkAttachOptions["fill"], xpadding = 0, ypadding = 0) The first argument ("table") is the table you've created and the second ("child") the widget you wish to place in the table. The left and right attach arguments specify where to place the widget, and how many boxes to use. If you want a button in the lower right table entry of our 2x2 table, and want it to fill that entry only, leftAttach would be = 1, rightAttach = 2, topAttach = 1, bottomAttach = 2. Now, if you wanted a widget to take up the whole top row of our 2x2 table, you'd use leftAttach = 0, rightAttach = 2, topAttach = 0, bottomAttach = 1. The xoptions and yoptions are used to specify packing options and may be bitwise OR'ed together to allow multiple options. These options are: GTK_FILL If the table box is larger than the widget, and GTK_FILL is specified, the widget will expand to use all the room available. GTK_SHRINK If the table widget was allocated less space then was requested (usually by the user resizing the window), then the widgets would normally just be pushed off the bottom of the window and disappear. If GTK_SHRINK is specified, the widgets will shrink with the table. GTK_EXPAND This will cause the table to expand to use up any remaining space in the window. Padding is just like in boxes, creating a clear area around the widget specified in pixels. We also have gtkTableSetRowSpacing() and gtkTableSetColSpacing(). These places spacing between the rows at the specified row or column. gtkTableSetRowSpacing(table, row, spacing) and gtkTableSetColSpacing(table, column, spacing) Note that for columns, the space goes to the right of the column, and for rows, the space goes below the row. You can also set a consistent spacing of all rows and/or columns with: gtkTableSetRowSpacings(table, spacing) And, gtkTableSetColSpacings(table, spacing) Note that with these calls, the last row and last column do not get any spacing. Table Packing Example Here we make a window with three buttons in a 2x2 table. The first two buttons will be placed in the upper row. A third, quit button, is placed in the lower row, spanning both columns. Which means it should look something like this: Here's the source code: # Our callback. # The data passed to this function is printed to stdout callback <- function(widget, data) { cat(sprintf("Hello again - %s was pressed\n", data)) } # Create a window window <- gtkWindow("toplevel") # Set the window title window$setTitle("Table") # Sets the border width of the window. window$setBorderWidth(20) # Create a 2x2 table table <- gtkTable(2, 2, TRUE) # Put the table in the main window window$add(table) # Create first button button <- gtkButton("button 1") # When the button is clicked, we call the "callback" function # with a pointer to "button 1" as its argument gSignalConnect(button, "clicked", callback, "button 1") # Insert button 1 into the upper left quadrant of the table table$attach(button, 0, 1, 0, 1) # Create second button button <- gtkButton("button 2") # When the button is clicked, we call the "callback" function # with a pointer to "button 2" as its argument gSignalConnect(button, "clicked", callback, "button 2") # Insert button 2 into the upper right quadrant of the table table$attach(button, 1, 2, 0, 1) # Insert the quit button into the both # lower quadrants of the table table$attach(button, 0, 2, 1, 2) Widget Overview The general steps to creating a widget in GTK are: Calling the function with the same name as the widget class, except the first character is lowercase. These are all detailed in this section. Connect all signals and events we wish to use to the appropriate handlers. Set the attributes of the widget. Pack the widget into a container using the appropriate call such as gtkContainerAdd() or gtkBoxPackStart(). gtkWidgetShow() the widget if show = FALSE was passed to the widget constructor. gtkWidgetShow() lets GTK know that we are done setting the attributes of the widget, and it is ready to be displayed. You may also use gtkWidgetHide() to make it disappear again. The order in which you show the widgets is not important, but for complex interfaces I suggest using show = F when constructing the GtkWindow and then showing it at the end, so the whole window pops up at once. Otherwise, the user will see the individual widgets come up on the screen as they're formed. The children of a widget (a window is a widget too) will not be displayed until the window itself is shown using the gtkWidgetShow() function. Widgets Without Windows The following widgets do not have an underlying GdkWindow. Thus, they are unable to capture user events. If you want to capture events, you'll have to use the GtkEventBox. See the section on the GtkEventBox widget. Note that this list is probably out of date. GtkAlignment GtkArrow GtkBin GtkBox GtkButton GtkCheckButton GtkFixed GtkImage GtkLabel GtkMenuItem GtkNotebook GtkPaned GtkRadioButton GtkRange GtkScrolledWindow GtkSeparator GtkTable GtkToolbar GtkAspectFrame GtkFrame GtkVBox GtkHBox GtkVSeparator GtkHSeparator We'll further our exploration of GTK by examining each widget in turn, creating a few simple functions to display them. Another good source is the testgtk program that comes with GTK. It can be found in tests/testgtk.c. The Button Widget Normal Buttons We've almost seen all there is to see of the button widget. It's pretty simple. There is however more than one way to create a button. The gtkButton() function takes a number of arguments. The label parameter specifies the button label. If the stock.id parameter is specified, a button is created containing the image and text from a stock item (overriding the label parameter). You can also use gtkButtonNewWithMnemonic() to create a button with "mnemonic" label, meaning that one can "press" the button using the key combination ALT + the character underlined in the label. Prefix the character to underline with "_" in the button label text. You can also call gtkButton() without any parameters. It's then up to you to pack a label or pixmap into this new button. To do this, create a new box, and then pack your objects into this box using the usual gtkBoxPackStart(), and then use gtkContainerAdd() to pack the box into the button. Here's an example of using gtkButton() to create a button with a image and a label in it. I've broken up the code to create a box from the rest so you can use it in your programs. There are further examples of using images later in the tutorial. # Create a new hbox with an image and a label packed into it # and return the box. xpmLabelBox <- function (xpmFilename, labelText) { # Create box for image and label box <- gtkHBox(FALSE, 0) box$setBorderWidth(2) # Now on to the image stuff image <- gtkImage(filename = xpmFilename) # Create a label for the button label <- gtkLabel(labelText) # Pack the image and label into the box box$packStart(image, FALSE, FALSE, 3) box$packStart(label, FALSE, FALSE, 3) box } # Our usual callback function callback <- function(widget, data) { cat(sprintf("Hello again - %s was pressed\n", data)) } # Create a new window window <- gtkWindow() window$setTitle("Pixmap'd Buttons!") # Sets the border width of the window. window$setBorderWidth(10) # Create a new button button <- gtkButton() # Connect the "clicked" signal of the button to our callback gSignalConnect(button, "clicked", callback, "cool button") # This calls our box creating function box <- xpmLabelBox ("info.xpm", "cool button") button$add(box) window$add(button) The xpmLabelBox() function could be used to pack images and labels into any widget that can be a container. The Button widget has the following signals: pressed - emitted when pointer button is pressed within Button widget released - emitted when pointer button is released within Button widget clicked - emitted when pointer button is pressed and then released within Button widget enter - emitted when pointer enters Button widget leave - emitted when pointer leaves Button widget Toggle Buttons Toggle buttons are derived from normal buttons and are very similar, except they will always be in one of two states, alternated by a click. They may be depressed, and when you click again, they will pop back up. Click again, and they will pop back down. Toggle buttons are the basis for check buttons and radio buttons, as such, many of the calls used for toggle buttons are inherited by radio and check buttons. I will point these out when we come to them. Creating a new toggle button: gtkToggleButton() gtkToggleButton(label) gtkToggleButtonNewWithMnemonic(label) As you can imagine, these work identically to the normal button widget calls. The first creates a blank toggle button, and the last two, a button with a label widget already packed into it. The Mnemonic() variant additionally parses the label for ''-prefixed mnemonic characters. To retrieve the state of the toggle widget, including radio and check buttons, we use a construct as shown in our example below. This tests the state of the toggle button, by accessing the active field of the toggle widget's structure. The signal of interest to us emitted by toggle buttons (the toggle button, check button, and radio button widgets) is the "toggled" signal. To check the state of these buttons, set up a signal handler to catch the toggled signal, and access the structure to determine its state. The callback will look something like: toggleButtonCallback <- function(widget, data) { if (widget$getActive()) { # If control reaches here, the toggle button is down } else { # If control reaches here, the toggle button is up } } To force the state of a toggle button, and its children, the radio and check buttons, use this function: gtkToggleButtonSetActive(toggleButton, isActive) The above call can be used to set the state of the toggle button, and its children the radio and check buttons. Passing in your created button as the first argument, and a TRUE or FALSE for the second state argument to specify whether it should be down (depressed) or up (released). Default is up, or FALSE. Note that when you use the gtkToggleButtonSetActive() function, and the state is actually changed, it causes the "clicked" and "toggled" signals to be emitted from the button. gtkToggleButtonGetActive(toggleButton) This returns the current state of the toggle button as a boolean TRUE/FALSE value. Check Buttons Check buttons inherit many properties and functions from the the toggle buttons above, but look a little different. Rather than being buttons with text inside them, they are small squares with the text to the right of them. These are often used for toggling options on and off in applications. The creation functions are similar to those of the normal button. gtkCheckButton() gtkCheckButton(label) gtkCheckButtonNewWithMnemonic(label) The gtkCheckButtonNewWithLabel() function creates a check button with a label beside it. Checking the state of the check button is identical to that of the toggle button. Radio Buttons Radio buttons are similar to check buttons except they are grouped so that only one may be selected/depressed at a time. This is good for places in your application where you need to select from a short list of options. Creating a new radio button is done with one of these calls: gtkRadioButton(group) gtkRadioButtonNewFromWidget(widget) gtkRadioButton(group, label) gtkRadioButtonNewWithLabelFromWidget(group, label) gtkRadioButtonNewWithMnemonic(group, label) gtkRadioButtonNewWithMnemonicFromWidget(group, label) You'll notice the extra argument to these calls. They require a group to perform their duty properly. The first call to gtkRadioButton() should pass NULL as the first argument. Then create a group using: radioButton$getGroup() The important thing to remember is that gtkRadioButtonGetGroup() must be called for each new button added to the group, with the previous button passed in as an argument. The result is then passed into the next call to gtkRadioButton(). This allows a chain of buttons to be established. The example below should make this clear. You can shorten this slightly by using the following syntax, which removes the need for a variable to hold the list of buttons: button2 <- gtkRadioButton(button1$getGroup(), "button2") The FromWidget() variants of the creation functions allow you to shorten this further, by omitting the gtkRadioButtonGetGroup() call. This form is used in the example to create the third button: button2 <- gtkRadioButtonNewWithLabelFromWidget(button1, "button2") It is also a good idea to explicitly set which button should be the default depressed button with: toggleButton$setActive(state) This is described in the section on toggle buttons, and works in exactly the same way. Once the radio buttons are grouped together, only one of the group may be active at a time. If the user clicks on one radio button, and then on another, the first radio button will first emit a "toggled" signal (to report becoming inactive), and then the second will emit its "toggled" signal (to report becoming active). The following example creates a radio button group with three buttons. window <- gtkWindow() window$setTitle("radio buttons") window$setBorderWidth(0) box1 <- gtkVbox(FALSE, 0) window$add(box1) box2 <- gtkVbox(FALSE, 10) box2$setBorderWidth(10) box1$packStart(box2, TRUE, TRUE, 0) button <- gtkRadioButton(NULL, "button1") box2$packStart(button, TRUE, TRUE, 0) group <- button$getGroup() button <- gtkRadioButton(group, "button2") button$setActive(TRUE) box2$packStart(button, TRUE, TRUE, 0) button <- gtkRadioButtonNewWithLabelFromWidget(button, "button3") box2$packStart(button, TRUE, TRUE, 0) separator <- gtkHseparator() box1$packStart(separator, FALSE, TRUE, 0) box2 <- gtkVbox(FALSE, 10) box2$setBorderWidth(10) box1$packStart(box2, FALSE, TRUE, 0) button <- gtkButton("close") box2$packStart(button, TRUE, TRUE, 0) button$setFlags("can-default") button$grabDefault() Adjustments GTK has various widgets that can be visually adjusted by the user using the mouse or the keyboard, such as the range widgets, described in the Range Widgets section. There are also a few widgets that display some adjustable portion of a larger area of data, such as the text widget and the viewport widget. Obviously, an application needs to be able to react to changes the user makes in range widgets. One way to do this would be to have each widget emit its own type of signal when its adjustment changes, and either pass the new value to the signal handler, or require it to look inside the widget's data structure in order to ascertain the value. But you may also want to connect the adjustments of several widgets together, so that adjusting one adjusts the others. The most obvious example of this is connecting a scrollbar to a panning viewport or a scrolling text area. If each widget has its own way of setting or getting the adjustment value, then the programmer may have to write their own signal handlers to translate between the output of one widget's signal and the "input" of another's adjustment setting function. GTK solves this problem using the Adjustment object, which is not a widget but a way for widgets to store and pass adjustment information in an abstract and flexible form. The most obvious use of Adjustment is to store the configuration parameters and values of range widgets, such as scrollbars and scale controls. However, since Adjustments are derived from Object, they have some special powers beyond those of normal data structures. Most importantly, they can emit signals, just like widgets, and these signals can be used not only to allow your program to react to user input on adjustable widgets, but also to propagate adjustment values transparently between adjustable widgets. You will see how adjustments fit in when you see the other widgets that incorporate them: Progress Bars, Viewports, Scrolled Windows, and others. Creating an Adjustment Many of the widgets which use adjustment objects do so automatically, but some cases will be shown in later examples where you may need to create one yourself. You create an adjustment using: gtkAdjustment(value, lower, upper, stepIncrement, pageIncrement, pageSize) The value argument is the initial value you want to give to the adjustment, usually corresponding to the topmost or leftmost position of an adjustable widget. The lower argument specifies the lowest value which the adjustment can hold. The stepIncrement argument specifies the "smaller" of the two increments by which the user can change the value, while the pageIncrement is the "larger" one. The pageSize argument usually corresponds somehow to the visible area of a panning widget. The upper argument is used to represent the bottom most or right most coordinate in a panning widget's child. Therefore it is not always the largest number that value can take, since the pageSize of such widgets is usually non-zero. Using Adjustments the Easy Way The adjustable widgets can be roughly divided into those which use and require specific units for these values and those which treat them as arbitrary numbers. The group which treats the values as arbitrary numbers includes the range widgets (scrollbars and scales, the progress bar widget, and the spin button widget). These widgets are all the widgets which are typically "adjusted" directly by the user with the mouse or keyboard. They will treat the lower and upper values of an adjustment as a range within which the user can manipulate the adjustment's value. By default, they will only modify the value of an adjustment. The other group includes the text widget, the viewport widget, the compound list widget, and the scrolled window widget. All of these widgets use pixel values for their adjustments. These are also all widgets which are typically "adjusted" indirectly using scrollbars. While all widgets which use adjustments can either create their own adjustments or use ones you supply, you'll generally want to let this particular category of widgets create its own adjustments. Usually, they will eventually override all the values except the value itself in whatever adjustments you give them, but the results are, in general, undefined (meaning, you'll have to read the source code to find out, and it may be different from widget to widget). Now, you're probably thinking, since text widgets and viewports insist on setting everything except the value of their adjustments, while scrollbars will only touch the adjustment's value, if you share an adjustment object between a scrollbar and a text widget, manipulating the scrollbar will automagically adjust the viewport widget? Of course it will! Just like this: # creates its own adjustments viewport <- gtkViewport() # uses the newly-created adjustment for the scrollbar as well vscrollbar <- gtkVScrollbar(viewport$getVadjustment()) Adjustment Internals Ok, you say, that's nice, but what if I want to create my own handlers to respond when the user adjusts a range widget or a spin button, and how do I get at the value of the adjustment in these handlers? adjustment$getValue() Since, when you set the value of an Adjustment, you generally want the change to be reflected by every widget that uses this adjustment, GTK provides this convenience function to do this: adjustment$setValue(value) As mentioned earlier, Adjustment is a subclass of Object just like all the various widgets, and thus it is able to emit signals. This is, of course, why updates happen automagically when you share an adjustment object between a scrollbar and another adjustable widget; all adjustable widgets connect signal handlers to their adjustment's valueChanged signal, as can your program. Here's the definition of this signal in GtkAdjustmentClass: valueChanged(adjustment) The various widgets that use the Adjustment object will emit this signal on an adjustment whenever they change its value. This happens both when user input causes the slider to move on a range widget, as well as when the program explicitly changes the value with gtkAdjustmentSetValue(). So, for example, if you have a scale widget, and you want to change the rotation of a picture whenever its value changes, you would create a callback like this: cbRotatePicture <- function(adj, picture) { setPictureRotation (picture, adj$getValue()) ... and connect it to the scale widget's adjustment like this: gSignalConnect (adj, "valueChanged", cbRotatePicture, picture) What about when a widget reconfigures the upper or lower fields of its adjustment, such as when a user adds more text to a text widget? In this case, it emits the changed signal, which looks like this: changed(adjustment) Range widgets typically connect a handler to this signal, which changes their appearance to reflect the change - for example, the size of the slider in a scrollbar will grow or shrink in inverse proportion to the difference between the lower and upper values of its adjustment. You probably won't ever need to attach a handler to this signal, unless you're writing a new type of range widget. However, if you change any of the values in a Adjustment directly, you should emit this signal on it to reconfigure whatever widgets are using it, like this: gSignalEmit(adjustment, "changed") Now go forth and adjust! Range Widgets The category of range widgets includes the ubiquitous scrollbar widget and the less common scale widget. Though these two types of widgets are generally used for different purposes, they are quite similar in function and implementation. All range widgets share a set of common graphic elements, each of which has its own X window and receives events. They all contain a "trough" and a "slider" (what is sometimes called a "thumbwheel" in other GUI environments). Dragging the slider with the pointer moves it back and forth within the trough, while clicking in the trough advances the slider towards the location of the click, either completely, or by a designated amount, depending on which mouse button is used. As mentioned in Adjustments above, all range widgets are associated with an adjustment object, from which they calculate the length of the slider and its position within the trough. When the user manipulates the slider, the range widget will change the value of the adjustment. Scrollbar Widgets These are your standard, run-of-the-mill scrollbars. These should be used only for scrolling some other widget, such as a list, a text box, or a viewport (and it's generally easier to use the scrolled window widget in most cases). For other purposes, you should use scale widgets, as they are friendlier and more featureful. There are separate types for horizontal and vertical scrollbars. There really isn't much to say about these. You create them with the following functions: gtkHScrollbar(adjustment) gtkVScrollbar(adjustment) and that's about it (if you don't believe me, look in the header files!). The adjustment argument can either be a pointer to an existing Adjustment, or NULL, in which case one will be created for you. Specifying NULL might actually be useful in this case, if you wish to pass the newly-created adjustment to the constructor function of some other widget which will configure it for you, such as a text widget. Scale Widgets Scale widgets are used to allow the user to visually select and manipulate a value within a specific range. You might want to use a scale widget, for example, to adjust the magnification level on a zoomed preview of a picture, or to control the brightness of a color, or to specify the number of minutes of inactivity before a screensaver takes over the screen. Creating a Scale Widget As with scrollbars, there are separate widget types for horizontal and vertical scale widgets. (Most programmers seem to favour horizontal scale widgets.) Since they work essentially the same way, there's no need to treat them separately here. The following functions create vertical and horizontal scale widgets, respectively: gtkVScale(adjustment) gtkVScale(, min, max, step) gtkHScale(adjustment) gtkHScale(, min, max, step) The adjustment argument can either be an adjustment which has already been created with gtkAdjustment(), or NULL, in which case, an anonymous Adjustment is created with all of its values set to 0.0 (which isn't very useful in this case). In order to avoid confusing yourself, you probably want to create your adjustment with a pageSize of 0.0 so that its upper value actually corresponds to the highest value the user can select. (If you're already thoroughly confused, read the section on Adjustments again for an explanation of what exactly adjustments do and how to create and manipulate them.) Functions and Signals (well, functions, at least) Scale widgets can display their current value as a number beside the trough. The default behaviour is to show the value, but you can change this with this function: void gtkScaleSetDrawValue( GtkScale#scale, gboolean drawValue ); As you might have guessed, drawValue is either TRUE or FALSE, with predictable consequences for either one. The value displayed by a scale widget is rounded to one decimal point by default, as is the value field in its Adjustment. You can change this with: void gtkScaleSetDigits( GtkScale#scale, gint digits ); where digits is the number of decimal places you want. You can set digits to anything you like, but no more than 13 decimal places will actually be drawn on screen. Finally, the value can be drawn in different positions relative to the trough: void gtkScaleSetValuePos( GtkScale #scale, GtkPositionType pos ); The argument pos is of type GtkPositionType, which can take one of the following values: GTKPOSLEFT GTKPOSRIGHT GTKPOSTOP GTKPOSBOTTOM If you position the value on the "side" of the trough (e.g., on the top or bottom of a horizontal scale widget), then it will follow the slider up and down the trough. All the preceding functions are defined in <gtk/gtkscale.h>. The header files for all GTK widgets are automatically included when you include <gtk/gtk.h>. But you should look over the header files of all widgets that interest you, in order to learn more about their functions and features. Common Range Functions The Range widget class is fairly complicated internally, but, like all the "base class" widgets, most of its complexity is only interesting if you want to hack on it. Also, almost all of the functions and signals it defines are only really used in writing derived widgets. There are, however, a few useful functions that are defined in <gtk/gtkrange.h> and will work on all range widgets. Setting the Update Policy The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "valueChanged" signal on this Adjustment. The update policies, defined in <gtk/gtkenums.h> as type enum GtkUpdateType, are: GTKUPDATECONTINUOUS This is the default. The "valueChanged" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount. GTKUPDATEDISCONTINUOUS The "valueChanged" signal is only emitted once the slider has stopped moving and the user has released the mouse button. GTKUPDATEDELAYED The "valueChanged" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time. The update policy of a range widget can be set by casting it using the GTKRANGE(widget) macro and passing it to this function: void gtkRangeSetUpdatePolicy( GtkRange #range, GtkUpdateType policy); Getting and Setting Adjustments Getting and setting the adjustment for a range widget "on the fly" is done, predictably, with: GtkAdjustment* gtkRangeGetAdjustment( GtkRange#range ); void gtkRangeSetAdjustment( GtkRange #range, GtkAdjustment#adjustment ); gtkRangeGetAdjustment() returns a pointer to the adjustment to which range is connected. gtkRangeSetAdjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtkRangeAdjustmentChanged(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary. As mentioned in the section on adjustments, if you wish to reuse the same Adjustment, when you modify its values directly, you should emit the "changed" signal on it, like this: gSignalEmitByName (GOBJECT (adjustment), "changed"); Key and Mouse bindings All of the GTK range widgets react to mouse clicks in more or less the same way. Clicking button-1 in the trough will cause its adjustment's pageIncrement to be added or subtracted from its value, and the slider to be moved accordingly. Clicking mouse button-2 in the trough will jump the slider to the point at which the button was clicked. Clicking button-3 in the trough of a range or any button on a scrollbar's arrows will cause its adjustment's value to change by stepIncrement at a time. Scrollbars are not focusable, thus have no key bindings. The key bindings for the other range widgets (which are, of course, only active when the widget has focus) are do not differentiate between horizontal and vertical range widgets. All range widgets can be operated with the left, right, up and down arrow keys, as well as with the Page Up and Page Down keys. The arrows move the slider up and down by stepIncrement, while Page Up and Page Down move it by pageIncrement. The user can also move the slider all the way to one end or the other of the trough using the keyboard. This is done with the Home and End keys. Example This example is a somewhat modified version of the "range controls" test from testgtk.c. It basically puts up a window with three range widgets all connected to the same adjustment, and a couple of controls for adjusting some of the parameters mentioned above and in the section on adjustments, so you can see how they affect the way these widgets work for the user. #include <gtk/gtk.h> GtkWidget#hscale,#vscale; static void cbPosMenuSelect( GtkWidget #item, GtkPositionType pos ) { # Set the value position on both scale widgets gtkScaleSetValuePos (GTKSCALE (hscale), pos); gtkScaleSetValuePos (GTKSCALE (vscale), pos); } static void cbUpdateMenuSelect( GtkWidget #item, GtkUpdateType policy ) { # Set the update policy for both scale widgets gtkRangeSetUpdatePolicy (GTKRANGE (hscale), policy); gtkRangeSetUpdatePolicy (GTKRANGE (vscale), policy); } static void cbDigitsScale( GtkAdjustment#adj ) { # Set the number of decimal places to which adj->value is rounded gtkScaleSetDigits (GTKSCALE (hscale), (gint) adj->value); gtkScaleSetDigits (GTKSCALE (vscale), (gint) adj->value); } static void cbPageSize( GtkAdjustment#get, GtkAdjustment#set ) { # Set the page size and page increment size of the sample # adjustment to the value specified by the "Page Size" scale set->pageSize = get->value; set->pageIncrement = get->value; # This sets the adjustment and makes it emit the "changed" signal to reconfigure all the widgets that are attached to this signal. gtkAdjustmentSetValue (set, CLAMP (set->value, set->lower, (set->upper - set->pageSize))); gSignalEmitByName(GOBJECT(set), "changed"); } static void cbDrawValue( GtkToggleButton#button ) { # Turn the value display on the scale widgets off or on depending # on the state of the checkbutton gtkScaleSetDrawValue (GTKSCALE (hscale), button->active); gtkScaleSetDrawValue (GTKSCALE (vscale), button->active); } # Convenience functions static GtkWidget#makeMenuItem ( gchar #name, GCallback callback, gpointer data ) { GtkWidget#item; item = gtkMenuItemNewWithLabel (name); gSignalConnect (GOBJECT (item), "activate", callback, (gpointer) data); gtkWidgetShow (item); return item; } static void scaleSetDefaultValues( GtkScale#scale ) { gtkRangeSetUpdatePolicy (GTKRANGE (scale), GTKUPDATECONTINUOUS); gtkScaleSetDigits (scale, 1); gtkScaleSetValuePos (scale, GTKPOSTOP); gtkScaleSetDrawValue (scale, TRUE); } # makes the sample window static void createRangeControls( void ) { GtkWidget#window; GtkWidget#box1,#box2,#box3; GtkWidget#button; GtkWidget#scrollbar; GtkWidget#separator; GtkWidget#opt,#menu,#item; GtkWidget#label; GtkWidget#scale; GtkObject#adj1,#adj2; # Standard window-creating stuff window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkWindowSetTitle (GTKWINDOW (window), "range controls"); box1 = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), box1); gtkWidgetShow (box1); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); # value, lower, upper, stepIncrement, pageIncrement, pageSize # Note that the pageSize value only makes a difference for # scrollbar widgets, and the highest value you'll get is actually # (upper - pageSize). adj1 = gtkAdjustmentNew (0.0, 0.0, 101.0, 0.1, 1.0, 1.0); vscale = gtkVscaleNew (GTKADJUSTMENT (adj1)); scaleSetDefaultValues (GTKSCALE (vscale)); gtkBoxPackStart (GTKBOX (box2), vscale, TRUE, TRUE, 0); gtkWidgetShow (vscale); box3 = gtkVboxNew (FALSE, 10); gtkBoxPackStart (GTKBOX (box2), box3, TRUE, TRUE, 0); gtkWidgetShow (box3); # Reuse the same adjustment hscale = gtkHscaleNew (GTKADJUSTMENT (adj1)); gtkWidgetSetSizeRequest (GTKWIDGET (hscale), 200, -1); scaleSetDefaultValues (GTKSCALE (hscale)); gtkBoxPackStart (GTKBOX (box3), hscale, TRUE, TRUE, 0); gtkWidgetShow (hscale); # Reuse the same adjustment again scrollbar = gtkHscrollbarNew (GTKADJUSTMENT (adj1)); # Notice how this causes the scales to always be updated # continuously when the scrollbar is moved gtkRangeSetUpdatePolicy (GTKRANGE (scrollbar), GTKUPDATECONTINUOUS); gtkBoxPackStart (GTKBOX (box3), scrollbar, TRUE, TRUE, 0); gtkWidgetShow (scrollbar); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); # A checkbutton to control whether the value is displayed or not button = gtkCheckButtonNewWithLabel("Display value on scale widgets"); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (button), TRUE); gSignalConnect (GOBJECT (button), "toggled", GCALLBACK (cbDrawValue), NULL); gtkBoxPackStart (GTKBOX (box2), button, TRUE, TRUE, 0); gtkWidgetShow (button); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); # An option menu to change the position of the value label = gtkLabelNew ("Scale Value Position:"); gtkBoxPackStart (GTKBOX (box2), label, FALSE, FALSE, 0); gtkWidgetShow (label); opt = gtkOptionMenuNew (); menu = gtkMenuNew (); item = makeMenuItem ("Top", GCALLBACK (cbPosMenuSelect), GINTTOPOINTER (GTKPOSTOP)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); item = makeMenuItem ("Bottom", GCALLBACK (cbPosMenuSelect), GINTTOPOINTER (GTKPOSBOTTOM)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); item = makeMenuItem ("Left", GCALLBACK (cbPosMenuSelect), GINTTOPOINTER (GTKPOSLEFT)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); item = makeMenuItem ("Right", GCALLBACK (cbPosMenuSelect), GINTTOPOINTER (GTKPOSRIGHT)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); gtkOptionMenuSetMenu (GTKOPTIONMENU (opt), menu); gtkBoxPackStart (GTKBOX (box2), opt, TRUE, TRUE, 0); gtkWidgetShow (opt); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); # Yet another option menu, this time for the update policy of the # scale widgets label = gtkLabelNew ("Scale Update Policy:"); gtkBoxPackStart (GTKBOX (box2), label, FALSE, FALSE, 0); gtkWidgetShow (label); opt = gtkOptionMenuNew (); menu = gtkMenuNew (); item = makeMenuItem ("Continuous", GCALLBACK (cbUpdateMenuSelect), GINTTOPOINTER (GTKUPDATECONTINUOUS)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); item = makeMenuItem ("Discontinuous", GCALLBACK (cbUpdateMenuSelect), GINTTOPOINTER (GTKUPDATEDISCONTINUOUS)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); item = makeMenuItem ("Delayed", GCALLBACK (cbUpdateMenuSelect), GINTTOPOINTER (GTKUPDATEDELAYED)); gtkMenuShellAppend (GTKMENUSHELL (menu), item); gtkOptionMenuSetMenu (GTKOPTIONMENU (opt), menu); gtkBoxPackStart (GTKBOX (box2), opt, TRUE, TRUE, 0); gtkWidgetShow (opt); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); # An HScale widget for adjusting the number of digits on the # sample scales. label = gtkLabelNew ("Scale Digits:"); gtkBoxPackStart (GTKBOX (box2), label, FALSE, FALSE, 0); gtkWidgetShow (label); adj2 = gtkAdjustmentNew (1.0, 0.0, 5.0, 1.0, 1.0, 0.0); gSignalConnect (GOBJECT (adj2), "valueChanged", GCALLBACK (cbDigitsScale), NULL); scale = gtkHscaleNew (GTKADJUSTMENT (adj2)); gtkScaleSetDigits (GTKSCALE (scale), 0); gtkBoxPackStart (GTKBOX (box2), scale, TRUE, TRUE, 0); gtkWidgetShow (scale); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); box2 = gtkHboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); # And, one last HScale widget for adjusting the page size of the # scrollbar. label = gtkLabelNew ("Scrollbar Page Size:"); gtkBoxPackStart (GTKBOX (box2), label, FALSE, FALSE, 0); gtkWidgetShow (label); adj2 = gtkAdjustmentNew (1.0, 1.0, 101.0, 1.0, 1.0, 0.0); gSignalConnect (GOBJECT (adj2), "valueChanged", GCALLBACK (cbPageSize), (gpointer) adj1); scale = gtkHscaleNew (GTKADJUSTMENT (adj2)); gtkScaleSetDigits (GTKSCALE (scale), 0); gtkBoxPackStart (GTKBOX (box2), scale, TRUE, TRUE, 0); gtkWidgetShow (scale); gtkBoxPackStart (GTKBOX (box1), box2, TRUE, TRUE, 0); gtkWidgetShow (box2); separator = gtkHseparatorNew (); gtkBoxPackStart (GTKBOX (box1), separator, FALSE, TRUE, 0); gtkWidgetShow (separator); box2 = gtkVboxNew (FALSE, 10); gtkContainerSetBorderWidth (GTKCONTAINER (box2), 10); gtkBoxPackStart (GTKBOX (box1), box2, FALSE, TRUE, 0); gtkWidgetShow (box2); button = gtkButtonNewWithLabel ("Quit"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkMainQuit), NULL); gtkBoxPackStart (GTKBOX (box2), button, TRUE, TRUE, 0); GTKWIDGETSETFLAGS (button, GTKCANDEFAULT); gtkWidgetGrabDefault (button); gtkWidgetShow (button); gtkWidgetShow (window); } int main( int argc, char#argv[] ) { gtkInit (&argc, &argv); createRangeControls (); gtkMain (); return 0; } You will notice that the program does not call gSignalConnect() for the "deleteEvent", but only for the "destroy" signal. This will still perform the desired function, because an unhandled "deleteEvent" will result in a "destroy" signal being given to the window. Miscellaneous Widgets Labels Labels are used a lot in GTK, and are relatively simple. Labels emit no signals as they do not have an associated X window. If you need to catch signals, or do clipping, place it inside a EventBox widget or a Button widget. To create a new label, use: GtkWidget#gtkLabelNew( const char#str ); GtkWidget#gtkLabelNewWithMnemonic( const char#str ); The sole argument is the string you wish the label to display. To change the label's text after creation, use the function: void gtkLabelSetText( GtkLabel #label, const char#str ); The first argument is the label you created previously (cast using the GTKLABEL() macro), and the second is the new string. The space needed for the new string will be automatically adjusted if needed. You can produce multi-line labels by putting line breaks in the label string. To retrieve the current string, use: const gchar* gtkLabelGetText( GtkLabel #label ); Do not free the returned string, as it is used internally by GTK. The label text can be justified using: void gtkLabelSetJustify( GtkLabel #label, GtkJustification jtype ); Values for jtype are: GTKJUSTIFYLEFT GTKJUSTIFYRIGHT GTKJUSTIFYCENTER (the default) GTKJUSTIFYFILL The label widget is also capable of line wrapping the text automatically. This can be activated using: void gtkLabelSetLineWrap (GtkLabel#label, gboolean wrap); The wrap argument takes a TRUE or FALSE value. If you want your label underlined, then you can set a pattern on the label: void gtkLabelSetPattern (GtkLabel #label, const gchar #pattern); The pattern argument indicates how the underlining should look. It consists of a string of underscore and space characters. An underscore indicates that the corresponding character in the label should be underlined. For example, the string "_ _" would underline the first two characters and eight and ninth characters. If you simply want to have an underlined accelerator ("mnemonic") in your label, you should use gtkLabelNewWithMnemonic() or gtkLabelSetTextWithMnemonic(), not gtkLabelSetPattern(). Below is a short example to illustrate these functions. This example makes use of the Frame widget to better demonstrate the label styles. You can ignore this for now as the Frame widget is explained later on. In GTK+ 2.0, label texts can contain markup for font and other text attribute changes, and labels may be selectable (for copy-and-paste). These advanced features won't be explained here. #include <gtk/gtk.h> int main( int argc, char#argv[] ) { static GtkWidget#window = NULL; GtkWidget#hbox; GtkWidget#vbox; GtkWidget#frame; GtkWidget#label; # Initialise GTK gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkWindowSetTitle (GTKWINDOW (window), "Label"); vbox = gtkVboxNew (FALSE, 5); hbox = gtkHboxNew (FALSE, 5); gtkContainerAdd (GTKCONTAINER (window), hbox); gtkBoxPackStart (GTKBOX (hbox), vbox, FALSE, FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (window), 5); frame = gtkFrameNew ("Normal Label"); label = gtkLabelNew ("This is a Normal label"); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); frame = gtkFrameNew ("Multi-line Label"); label = gtkLabelNew ("This is a Multi-line label.\nSecond line\n" \ "Third line"); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); frame = gtkFrameNew ("Left Justified Label"); label = gtkLabelNew ("This is a Left-Justified\n" \ "Multi-line label.\nThird line"); gtkLabelSetJustify (GTKLABEL (label), GTKJUSTIFYLEFT); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); frame = gtkFrameNew ("Right Justified Label"); label = gtkLabelNew ("This is a Right-Justified\nMulti-line label.\n" \ "Fourth line, (j/k)"); gtkLabelSetJustify (GTKLABEL (label), GTKJUSTIFYRIGHT); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); vbox = gtkVboxNew (FALSE, 5); gtkBoxPackStart (GTKBOX (hbox), vbox, FALSE, FALSE, 0); frame = gtkFrameNew ("Line wrapped label"); label = gtkLabelNew ("This is an example of a line-wrapped label. It " \ "should not be taking up the entire " # big space to test spacing \ "width allocated to it, but automatically " \ "wraps the words to fit. " \ "The time has come, for all good men, to come to " \ "the aid of their party. " \ "The sixth sheik's six sheep's sick.\n" \ " It supports multiple paragraphs correctly, " \ "and correctly adds "\ "many extra spaces. "); gtkLabelSetLineWrap (GTKLABEL (label), TRUE); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); frame = gtkFrameNew ("Filled, wrapped label"); label = gtkLabelNew ("This is an example of a line-wrapped, filled label. " \ "It should be taking "\ "up the entire width allocated to it. " \ "Here is a sentence to prove "\ "my point. Here is another sentence. "\ "Here comes the sun, do de do de do.\n"\ " This is a new paragraph.\n"\ " This is another newer, longer, better " \ "paragraph. It is coming to an end, "\ "unfortunately."); gtkLabelSetJustify (GTKLABEL (label), GTKJUSTIFYFILL); gtkLabelSetLineWrap (GTKLABEL (label), TRUE); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); frame = gtkFrameNew ("Underlined label"); label = gtkLabelNew ("This label is underlined!\n" "This one is underlined in quite a funky fashion"); gtkLabelSetJustify (GTKLABEL (label), GTKJUSTIFYLEFT); gtkLabelSetPattern (GTKLABEL (label), "____________ ____ ___ _ ___ _"); gtkContainerAdd (GTKCONTAINER (frame), label); gtkBoxPackStart (GTKBOX (vbox), frame, FALSE, FALSE, 0); gtkWidgetShowAll (window); gtkMain (); return 0; } Arrows The Arrow widget draws an arrowhead, facing in a number of possible directions and having a number of possible styles. It can be very useful when placed on a button in many applications. Like the Label widget, it emits no signals. There are only two functions for manipulating an Arrow widget: GtkWidget#gtkArrowNew( GtkArrowType arrowType, GtkShadowType shadowType ); void gtkArrowSet( GtkArrow #arrow, GtkArrowType arrowType, GtkShadowType shadowType ); The first creates a new arrow widget with the indicated type and appearance. The second allows these values to be altered retrospectively. The arrowType argument may take one of the following values: GTKARROWUP GTKARROWDOWN GTKARROWLEFT GTKARROWRIGHT These values obviously indicate the direction in which the arrow will point. The shadowType argument may take one of these values: GTKSHADOWIN GTKSHADOWOUT (the default) GTKSHADOWETCHEDIN GTKSHADOWETCHEDOUT Here's a brief example to illustrate their use. #include <gtk/gtk.h> # Create an Arrow widget with the specified parameters # and pack it into a button static GtkWidget#createArrowButton( GtkArrowType arrowType, GtkShadowType shadowType ) { GtkWidget#button; GtkWidget#arrow; button = gtkButtonNew (); arrow = gtkArrowNew (arrowType, shadowType); gtkContainerAdd (GTKCONTAINER (button), arrow); gtkWidgetShow (button); gtkWidgetShow (arrow); return button; } int main( int argc, char#argv[] ) { # GtkWidget is the storage type for widgets GtkWidget#window; GtkWidget#button; GtkWidget#box; # Initialize the toolkit gtkInit (&argc, &argv); # Create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Arrow Buttons"); # It's a good idea to do this for all windows. gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); # Sets the border width of the window. gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create a box to hold the arrows/buttons box = gtkHboxNew (FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (box), 2); gtkContainerAdd (GTKCONTAINER (window), box); # Pack and show all our widgets gtkWidgetShow (box); button = createArrowButton (GTKARROWUP, GTKSHADOWIN); gtkBoxPackStart (GTKBOX (box), button, FALSE, FALSE, 3); button = createArrowButton (GTKARROWDOWN, GTKSHADOWOUT); gtkBoxPackStart (GTKBOX (box), button, FALSE, FALSE, 3); button = createArrowButton (GTKARROWLEFT, GTKSHADOWETCHEDIN); gtkBoxPackStart (GTKBOX (box), button, FALSE, FALSE, 3); button = createArrowButton (GTKARROWRIGHT, GTKSHADOWETCHEDOUT); gtkBoxPackStart (GTKBOX (box), button, FALSE, FALSE, 3); gtkWidgetShow (window); # Rest in gtkMain and wait for the fun to begin! gtkMain (); return 0; } The Tooltips Object These are the little text strings that pop up when you leave your pointer over a button or other widget for a few seconds. They are easy to use, so I will just explain them without giving an example. If you want to see some code, take a look at the testgtk.c program distributed with GTK. Widgets that do not receive events (widgets that do not have their own window) will not work with tooltips. The first call you will use creates a new tooltip. You only need to do this once for a set of tooltips as the GtkTooltips object this function returns can be used to create multiple tooltips. GtkTooltips#gtkTooltipsNew( void ); Once you have created a new tooltip, and the widget you wish to use it on, simply use this call to set it: void gtkTooltipsSetTip( GtkTooltips#tooltips, GtkWidget #widget, const gchar#tipText, const gchar#tipPrivate ); The first argument is the tooltip you've already created, followed by the widget you wish to have this tooltip pop up for, and the text you wish it to say. The last argument is a text string that can be used as an identifier when using GtkTipsQuery to implement context sensitive help. For now, you can set it to NULL. Here's a short example: GtkTooltips#tooltips; GtkWidget#button; . . . tooltips = gtkTooltipsNew (); button = gtkButtonNewWithLabel ("button 1"); . . . gtkTooltipsSetTip (tooltips, button, "This is button 1", NULL); There are other calls that can be used with tooltips. I will just list them with a brief description of what they do. void gtkTooltipsEnable( GtkTooltips#tooltips ); Enable a disabled set of tooltips. void gtkTooltipsDisable( GtkTooltips#tooltips ); Disable an enabled set of tooltips. And that's all the functions associated with tooltips. More than you'll ever want to know :-) Progress Bars Progress bars are used to show the status of an operation. They are pretty easy to use, as you will see with the code below. But first lets start out with the calls to create a new progress bar. GtkWidget#gtkProgressBarNew( void ); Now that the progress bar has been created we can use it. void gtkProgressBarSetFraction ( GtkProgressBar#pbar, gdouble fraction ); The first argument is the progress bar you wish to operate on, and the second argument is the amount "completed", meaning the amount the progress bar has been filled from 0-100%. This is passed to the function as a real number ranging from 0 to 1. GTK v1.2 has added new functionality to the progress bar that enables it to display its value in different ways, and to inform the user of its current value and its range. A progress bar may be set to one of a number of orientations using the function void gtkProgressBarSetOrientation( GtkProgressBar#pbar, GtkProgressBarOrientation orientation ); The orientation argument may take one of the following values to indicate the direction in which the progress bar moves: GTKPROGRESSLEFTTORIGHT GTKPROGRESSRIGHTTOLEFT GTKPROGRESSBOTTOMTOTOP GTKPROGRESSTOPTOBOTTOM As well as indicating the amount of progress that has occured, the progress bar may be set to just indicate that there is some activity. This can be useful in situations where progress cannot be measured against a value range. The following function indicates that some progress has been made. void gtkProgressBarPulse ( GtkProgressBar#progress ); The step size of the activity indicator is set using the following function. void gtkProgressBarSetPulseStep( GtkProgressBar#pbar, gdouble fraction ); When not in activity mode, the progress bar can also display a configurable text string within its trough, using the following function. void gtkProgressBarSetText( GtkProgressBar#progress, const gchar #text ); Note that gtkProgressSetText() doesn't support the printf()-like formatting of the GTK+ 1.2 Progressbar. You can turn off the display of the string by calling gtkProgessBarSetText() again with NULL as second argument. The current text setting of a progressbar can be retrieved with the following function. Do not free the returned string. const gchar#gtkProgressBarGetText( GtkProgressBar#pbar ); Progress Bars are usually used with timeouts or other such functions (see section on Timeouts, I/O and Idle Functions) to give the illusion of multitasking. All will employ the gtkProgressBarSetFraction() or gtkProgressBarPulse() functions in the same manner. Here is an example of the progress bar, updated using timeouts. This code also shows you how to reset the Progress Bar. #include <gtk/gtk.h> typedef struct ProgressData { GtkWidget#window; GtkWidget#pbar; int timer; gboolean activityMode; } ProgressData; # Update the value of the progress bar so that we get # some movement static gboolean progressTimeout( gpointer data ) { ProgressData#pdata = (ProgressData#)data; gdouble newVal; if (pdata->activityMode) gtkProgressBarPulse (GTKPROGRESSBAR (pdata->pbar)); else { # Calculate the value of the progress bar using the # value range set in the adjustment object newVal = gtkProgressBarGetFraction (GTKPROGRESSBAR (pdata->pbar)) + 0.01; if (newVal > 1.0) newVal = 0.0; # Set the new value gtkProgressBarSetFraction (GTKPROGRESSBAR (pdata->pbar), newVal); } # As this is a timeout function, return TRUE so that it # continues to get called return TRUE; } # Callback that toggles the text display within the progress bar trough static void toggleShowText( GtkWidget #widget, ProgressData#pdata ) { const gchar#text; text = gtkProgressBarGetText (GTKPROGRESSBAR (pdata->pbar)); if (text &&#text) gtkProgressBarSetText (GTKPROGRESSBAR (pdata->pbar), ""); else gtkProgressBarSetText (GTKPROGRESSBAR (pdata->pbar), "some text"); } # Callback that toggles the activity mode of the progress bar static void toggleActivityMode( GtkWidget #widget, ProgressData#pdata ) { pdata->activityMode = !pdata->activityMode; if (pdata->activityMode) gtkProgressBarPulse (GTKPROGRESSBAR (pdata->pbar)); else gtkProgressBarSetFraction (GTKPROGRESSBAR (pdata->pbar), 0.0); } # Callback that toggles the orientation of the progress bar static void toggleOrientation( GtkWidget #widget, ProgressData#pdata ) { switch (gtkProgressBarGetOrientation (GTKPROGRESSBAR (pdata->pbar))) { case GTKPROGRESSLEFTTORIGHT: gtkProgressBarSetOrientation (GTKPROGRESSBAR (pdata->pbar), GTKPROGRESSRIGHTTOLEFT); break; case GTKPROGRESSRIGHTTOLEFT: gtkProgressBarSetOrientation (GTKPROGRESSBAR (pdata->pbar), GTKPROGRESSLEFTTORIGHT); break; default:; # do nothing } } # Clean up allocated memory and remove the timer static void destroyProgress( GtkWidget #widget, ProgressData#pdata) { gSourceRemove (pdata->timer); pdata->timer = 0; pdata->window = NULL; gFree (pdata); gtkMainQuit (); } int main( int argc, char#argv[]) { ProgressData#pdata; GtkWidget#align; GtkWidget#separator; GtkWidget#table; GtkWidget#button; GtkWidget#check; GtkWidget#vbox; gtkInit (&argc, &argv); # Allocate memory for the data that is passed to the callbacks pdata = gMalloc (sizeof (ProgressData)); pdata->window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetResizable (GTKWINDOW (pdata->window), TRUE); gSignalConnect (GOBJECT (pdata->window), "destroy", GCALLBACK (destroyProgress), (gpointer) pdata); gtkWindowSetTitle (GTKWINDOW (pdata->window), "GtkProgressBar"); gtkContainerSetBorderWidth (GTKCONTAINER (pdata->window), 0); vbox = gtkVboxNew (FALSE, 5); gtkContainerSetBorderWidth (GTKCONTAINER (vbox), 10); gtkContainerAdd (GTKCONTAINER (pdata->window), vbox); gtkWidgetShow (vbox); # Create a centering alignment object align = gtkAlignmentNew (0.5, 0.5, 0, 0); gtkBoxPackStart (GTKBOX (vbox), align, FALSE, FALSE, 5); gtkWidgetShow (align); # Create the GtkProgressBar pdata->pbar = gtkProgressBarNew (); pdata->activityMode = FALSE; gtkContainerAdd (GTKCONTAINER (align), pdata->pbar); gtkWidgetShow (pdata->pbar); # Add a timer callback to update the value of the progress bar pdata->timer = gTimeoutAdd (100, progressTimeout, pdata); separator = gtkHseparatorNew (); gtkBoxPackStart (GTKBOX (vbox), separator, FALSE, FALSE, 0); gtkWidgetShow (separator); # rows, columns, homogeneous table = gtkTableNew (2, 3, FALSE); gtkBoxPackStart (GTKBOX (vbox), table, FALSE, TRUE, 0); gtkWidgetShow (table); # Add a check button to select displaying of the trough text check = gtkCheckButtonNewWithLabel ("Show text"); gtkTableAttach (GTKTABLE (table), check, 0, 1, 0, 1, GTKEXPAND | GTKFILL, GTKEXPAND | GTKFILL, 5, 5); gSignalConnect (GOBJECT (check), "clicked", GCALLBACK (toggleShowText), (gpointer) pdata); gtkWidgetShow (check); # Add a check button to toggle activity mode check = gtkCheckButtonNewWithLabel ("Activity mode"); gtkTableAttach (GTKTABLE (table), check, 0, 1, 1, 2, GTKEXPAND | GTKFILL, GTKEXPAND | GTKFILL, 5, 5); gSignalConnect (GOBJECT (check), "clicked", GCALLBACK (toggleActivityMode), (gpointer) pdata); gtkWidgetShow (check); # Add a check button to toggle orientation check = gtkCheckButtonNewWithLabel ("Right to Left"); gtkTableAttach (GTKTABLE (table), check, 0, 1, 2, 3, GTKEXPAND | GTKFILL, GTKEXPAND | GTKFILL, 5, 5); gSignalConnect (GOBJECT (check), "clicked", GCALLBACK (toggleOrientation), (gpointer) pdata); gtkWidgetShow (check); # Add a button to exit the program button = gtkButtonNewWithLabel ("close"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (pdata->window)); gtkBoxPackStart (GTKBOX (vbox), button, FALSE, FALSE, 0); # This makes it so the button is the default. GTKWIDGETSETFLAGS (button, GTKCANDEFAULT); # This grabs this button to be the default button. Simply hitting # the "Enter" key will cause this button to activate. gtkWidgetGrabDefault (button); gtkWidgetShow (button); gtkWidgetShow (pdata->window); gtkMain (); return 0; } Dialogs The Dialog widget is very simple, and is actually just a window with a few things pre-packed into it for you. The structure for a Dialog is: struct GtkDialog { GtkWindow window; GtkWidget#vbox; GtkWidget#actionArea; }; So you see, it simply creates a window, and then packs a vbox into the top, which contains a separator and then an hbox called the "actionArea". The Dialog widget can be used for pop-up messages to the user, and other similar tasks. There are two functions to create a new Dialog. GtkWidget#gtkDialogNew( void ); GtkWidget#gtkDialogNewWithButtons( const gchar #title, GtkWindow #parent, GtkDialogFlags flags, const gchar #firstButtonText, ... ); The first function will create an empty dialog, and it is now up to you to use it. You could pack a button in the actionArea by doing something like this: button = ... gtkBoxPackStart (GTKBOX (GTKDIALOG (window)->actionArea), button, TRUE, TRUE, 0); gtkWidgetShow (button); And you could add to the vbox area by packing, for instance, a label in it, try something like this: label = gtkLabelNew ("Dialogs are groovy"); gtkBoxPackStart (GTKBOX (GTKDIALOG (window)->vbox), label, TRUE, TRUE, 0); gtkWidgetShow (label); As an example in using the dialog box, you could put two buttons in the actionArea, a Cancel button and an Ok button, and a label in the vbox area, asking the user a question or giving an error etc. Then you could attach a different signal to each of the buttons and perform the operation the user selects. If the simple functionality provided by the default vertical and horizontal boxes in the two areas doesn't give you enough control for your application, then you can simply pack another layout widget into the boxes provided. For example, you could pack a table into the vertical box. The more complicated NewWithButtons() variant allows to set one or more of the following flags. GTKDIALOGMODAL make the dialog modal. GTKDIALOGDESTROYWITHPARENT ensures that the dialog window is destroyed together with the specified parent. GTKDIALOGNOSEPARATOR omits the separator between the vbox and the actionArea. Rulers Ruler widgets are used to indicate the location of the mouse pointer in a given window. A window can have a vertical ruler spanning across the height and a horizontal ruler spanning down the width. A small triangular indicator on the ruler shows the exact location of the pointer relative to the ruler. A ruler must first be created. Horizontal and vertical rulers are created using GtkWidget#gtkHrulerNew( void ); # horizontal ruler GtkWidget#gtkVrulerNew( void ); # vertical ruler Once a ruler is created, we can define the unit of measurement. Units of measure for rulers can beGTKPIXELS, GTKINCHES or GTKCENTIMETERS. This is set using void gtkRulerSetMetric( GtkRuler #ruler, GtkMetricType metric ); The default measure is GTKPIXELS. gtkRulerSetMetric( GTKRULER(ruler), GTKPIXELS ); Other important characteristics of a ruler are how to mark the units of scale and where the position indicator is initially placed. These are set for a ruler using void gtkRulerSetRange( GtkRuler#ruler, gdouble lower, gdouble upper, gdouble position, gdouble maxSize ); The lower and upper arguments define the extent of the ruler, and maxSize is the largest possible number that will be displayed. Position defines the initial position of the pointer indicator within the ruler. A vertical ruler can span an 800 pixel wide window thus gtkRulerSetRange( GTKRULER(vruler), 0, 800, 0, 800); The markings displayed on the ruler will be from 0 to 800, with a number for every 100 pixels. If instead we wanted the ruler to range from 7 to 16, we would code gtkRulerSetRange( GTKRULER(vruler), 7, 16, 0, 20); The indicator on the ruler is a small triangular mark that indicates the position of the pointer relative to the ruler. If the ruler is used to follow the mouse pointer, the motionNotifyEvent signal should be connected to the motionNotifyEvent method of the ruler. To follow all mouse movements within a window area, we would use #define EVENTMETHOD(i, x) GTKWIDGETGETCLASS(i)->x gSignalConnectSwapped (GOBJECT (area), "motionNotifyEvent", GCALLBACK (EVENTMETHOD (ruler, motionNotifyEvent)), GOBJECT (ruler)); The following example creates a drawing area with a horizontal ruler above it and a vertical ruler to the left of it. The size of the drawing area is 600 pixels wide by 400 pixels high. The horizontal ruler spans from 7 to 13 with a mark every 100 pixels, while the vertical ruler spans from 0 to 400 with a mark every 100 pixels. Placement of the drawing area and the rulers is done using a table. #include <gtk/gtk.h> #define EVENTMETHOD(i, x) GTKWIDGETGETCLASS(i)->x #define XSIZE 600 #define YSIZE 400 # This routine gets control when the close button is clicked static gboolean closeApplication( GtkWidget#widget, GdkEvent #event, gpointer data ) { gtkMainQuit (); return FALSE; } # The main routine int main( int argc, char#argv[] ) { GtkWidget#window,#table,#area,#hrule,#vrule; # Initialize GTK and create the main window gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "deleteEvent", GCALLBACK (closeApplication), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create a table for placing the ruler and the drawing area table = gtkTableNew (3, 2, FALSE); gtkContainerAdd (GTKCONTAINER (window), table); area = gtkDrawingAreaNew (); gtkWidgetSetSizeRequest (GTKWIDGET (area), XSIZE, YSIZE); gtkTableAttach (GTKTABLE (table), area, 1, 2, 1, 2, GTKEXPAND|GTKFILL, GTKFILL, 0, 0); gtkWidgetSetEvents (area, GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK); # The horizontal ruler goes on top. As the mouse moves across the # drawing area, a motionNotifyEvent is passed to the # appropriate event handler for the ruler. hrule = gtkHrulerNew (); gtkRulerSetMetric (GTKRULER (hrule), GTKPIXELS); gtkRulerSetRange (GTKRULER (hrule), 7, 13, 0, 20); gSignalConnectSwapped (GOBJECT (area), "motionNotifyEvent", GCALLBACK (EVENTMETHOD (hrule, motionNotifyEvent)), GOBJECT (hrule)); gtkTableAttach (GTKTABLE (table), hrule, 1, 2, 0, 1, GTKEXPAND|GTKSHRINK|GTKFILL, GTKFILL, 0, 0); # The vertical ruler goes on the left. As the mouse moves across # the drawing area, a motionNotifyEvent is passed to the # appropriate event handler for the ruler. vrule = gtkVrulerNew (); gtkRulerSetMetric (GTKRULER (vrule), GTKPIXELS); gtkRulerSetRange (GTKRULER (vrule), 0, YSIZE, 10, YSIZE ); gSignalConnectSwapped (GOBJECT (area), "motionNotifyEvent", GCALLBACK (EVENTMETHOD (vrule, motionNotifyEvent)), GOBJECT (vrule)); gtkTableAttach (GTKTABLE (table), vrule, 0, 1, 1, 2, GTKFILL, GTKEXPAND|GTKSHRINK|GTKFILL, 0, 0); # Now show everything gtkWidgetShow (area); gtkWidgetShow (hrule); gtkWidgetShow (vrule); gtkWidgetShow (table); gtkWidgetShow (window); gtkMain (); return 0; } Statusbars Statusbars are simple widgets used to display a text message. They keep a stack of the messages pushed onto them, so that popping the current message will re-display the previous text message. In order to allow different parts of an application to use the same statusbar to display messages, the statusbar widget issues Context Identifiers which are used to identify different "users". The message on top of the stack is the one displayed, no matter what context it is in. Messages are stacked in last-in-first-out order, not context identifier order. A statusbar is created with a call to: GtkWidget#gtkStatusbarNew( void ); A new Context Identifier is requested using a call to the following function with a short textual description of the context: guint gtkStatusbarGetContextId( GtkStatusbar#statusbar, const gchar #contextDescription ); There are three functions that can operate on statusbars: guint gtkStatusbarPush( GtkStatusbar#statusbar, guint contextId, const gchar #text ); void gtkStatusbarPop( GtkStatusbar#statusbar) guint contextId ); void gtkStatusbarRemove( GtkStatusbar#statusbar, guint contextId, guint messageId ); The first, gtkStatusbarPush(), is used to add a new message to the statusbar. It returns a Message Identifier, which can be passed later to the function gtkStatusbarRemove to remove the message with the given Message and Context Identifiers from the statusbar's stack. The function gtkStatusbarPop() removes the message highest in the stack with the given Context Identifier. In addition to messages, statusbars may also display a resize grip, which can be dragged with the mouse to resize the toplevel window containing the statusbar, similar to dragging the window frame. The following functions control the display of the resize grip. void gtkStatusbarSetHasResizeGrip( GtkStatusbar#statusbar, gboolean setting ); gboolean gtkStatusbarGetHasResizeGrip( GtkStatusbar#statusbar ); The following example creates a statusbar and two buttons, one for pushing items onto the statusbar, and one for popping the last item back off. #include <stdlib.h> #include <gtk/gtk.h> #include <glib.h> GtkWidget#statusBar; static void pushItem( GtkWidget#widget, gpointer data ) { static int count = 1; gchar#buff; buff = gStrdupPrintf ("Item %d", count++); gtkStatusbarPush (GTKSTATUSBAR (statusBar), GPOINTERTOINT (data), buff); gFree (buff); } static void popItem( GtkWidget#widget, gpointer data ) { gtkStatusbarPop (GTKSTATUSBAR (statusBar), GPOINTERTOINT (data)); } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#vbox; GtkWidget#button; gint contextId; gtkInit (&argc, &argv); # create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetSizeRequest (GTKWIDGET (window), 200, 100); gtkWindowSetTitle (GTKWINDOW (window), "GTK Statusbar Example"); gSignalConnect (GOBJECT (window), "deleteEvent", GCALLBACK (exit), NULL); vbox = gtkVboxNew (FALSE, 1); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); statusBar = gtkStatusbarNew (); gtkBoxPackStart (GTKBOX (vbox), statusBar, TRUE, TRUE, 0); gtkWidgetShow (statusBar); contextId = gtkStatusbarGetContextId( GTKSTATUSBAR (statusBar), "Statusbar example"); button = gtkButtonNewWithLabel ("push item"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (pushItem), GINTTOPOINTER (contextId)); gtkBoxPackStart (GTKBOX (vbox), button, TRUE, TRUE, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("pop last item"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (popItem), GINTTOPOINTER (contextId)); gtkBoxPackStart (GTKBOX (vbox), button, TRUE, TRUE, 2); gtkWidgetShow (button); # always display the window as the last step so it all splashes on # the screen at once. gtkWidgetShow (window); gtkMain (); return 0; } Text Entries The Entry widget allows text to be typed and displayed in a single line text box. The text may be set with function calls that allow new text to replace, prepend or append the current contents of the Entry widget. Create a new Entry widget with the following function. GtkWidget#gtkEntryNew( void ); The next function alters the text which is currently within the Entry widget. void gtkEntrySetText( GtkEntry #entry, const gchar#text ); The function gtkEntrySetText() sets the contents of the Entry widget, replacing the current contents. Note that the class Entry implements the Editable interface (yes, gobject supports Java-like interfaces) which contains some more functions for manipulating the contents. The contents of the Entry can be retrieved by using a call to the following function. This is useful in the callback functions described below. const gchar#gtkEntryGetText( GtkEntry#entry ); The value returned by this function is used internally, and must not be freed using either free() or gFree(). If we don't want the contents of the Entry to be changed by someone typing into it, we can change its editable state. void gtkEditableSetEditable( GtkEditable#entry, gboolean editable ); The function above allows us to toggle the editable state of the Entry widget by passing in a TRUE or FALSE value for the editable argument. If we are using the Entry where we don't want the text entered to be visible, for example when a password is being entered, we can use the following function, which also takes a boolean flag. void gtkEntrySetVisibility( GtkEntry#entry, gboolean visible ); A region of the text may be set as selected by using the following function. This would most often be used after setting some default text in an Entry, making it easy for the user to remove it. void gtkEditableSelectRegion( GtkEditable#entry, gint start, gint end ); If we want to catch when the user has entered text, we can connect to the activate or changed signal. Activate is raised when the user hits the enter key within the Entry widget. Changed is raised when the text changes at all, e.g., for every character entered or removed. The following code is an example of using an Entry widget. #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> static void enterCallback( GtkWidget#widget, GtkWidget#entry ) { const gchar#entryText; entryText = gtkEntryGetText (GTKENTRY (entry)); printf ("Entry contents: %s\n", entryText); } static void entryToggleEditable( GtkWidget#checkbutton, GtkWidget#entry ) { gtkEditableSetEditable (GTKEDITABLE (entry), GTKTOGGLEBUTTON (checkbutton)->active); } static void entryToggleVisibility( GtkWidget#checkbutton, GtkWidget#entry ) { gtkEntrySetVisibility (GTKENTRY (entry), GTKTOGGLEBUTTON (checkbutton)->active); } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#vbox,#hbox; GtkWidget#entry; GtkWidget#button; GtkWidget#check; gint tmpPos; gtkInit (&argc, &argv); # create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetSizeRequest (GTKWIDGET (window), 200, 100); gtkWindowSetTitle (GTKWINDOW (window), "GTK Entry"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gSignalConnectSwapped (GOBJECT (window), "deleteEvent", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); vbox = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); entry = gtkEntryNew (); gtkEntrySetMaxLength (GTKENTRY (entry), 50); gSignalConnect (GOBJECT (entry), "activate", GCALLBACK (enterCallback), (gpointer) entry); gtkEntrySetText (GTKENTRY (entry), "hello"); tmpPos = GTKENTRY (entry)->textLength; gtkEditableInsertText (GTKEDITABLE (entry), " world", -1, &tmpPos); gtkEditableSelectRegion (GTKEDITABLE (entry), 0, GTKENTRY (entry)->textLength); gtkBoxPackStart (GTKBOX (vbox), entry, TRUE, TRUE, 0); gtkWidgetShow (entry); hbox = gtkHboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (vbox), hbox); gtkWidgetShow (hbox); check = gtkCheckButtonNewWithLabel ("Editable"); gtkBoxPackStart (GTKBOX (hbox), check, TRUE, TRUE, 0); gSignalConnect (GOBJECT (check), "toggled", GCALLBACK (entryToggleEditable), (gpointer) entry); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (check), TRUE); gtkWidgetShow (check); check = gtkCheckButtonNewWithLabel ("Visible"); gtkBoxPackStart (GTKBOX (hbox), check, TRUE, TRUE, 0); gSignalConnect (GOBJECT (check), "toggled", GCALLBACK (entryToggleVisibility), (gpointer) entry); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (check), TRUE); gtkWidgetShow (check); button = gtkButtonNewFromStock (GTKSTOCKCLOSE); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); gtkBoxPackStart (GTKBOX (vbox), button, TRUE, TRUE, 0); GTKWIDGETSETFLAGS (button, GTKCANDEFAULT); gtkWidgetGrabDefault (button); gtkWidgetShow (button); gtkWidgetShow (window); gtkMain(); return 0; } Spin Buttons The Spin Button widget is generally used to allow the user to select a value from a range of numeric values. It consists of a text entry box with up and down arrow buttons attached to the side. Selecting one of the buttons causes the value to "spin" up and down the range of possible values. The entry box may also be edited directly to enter a specific value. The Spin Button allows the value to have zero or a number of decimal places and to be incremented/decremented in configurable steps. The action of holding down one of the buttons optionally results in an acceleration of change in the value according to how long it is depressed. The Spin Button uses an Adjustment object to hold information about the range of values that the spin button can take. This makes for a powerful Spin Button widget. Recall that an adjustment widget is created with the following function, which illustrates the information that it holds: GtkObject#gtkAdjustmentNew( gdouble value, gdouble lower, gdouble upper, gdouble stepIncrement, gdouble pageIncrement, gdouble pageSize ); These attributes of an Adjustment are used by the Spin Button in the following way: value: initial value for the Spin Button lower: lower range value upper: upper range value stepIncrement: value to increment/decrement when pressing mouse button 1 on a button pageIncrement: value to increment/decrement when pressing mouse button 2 on a button pageSize: unused Additionally, mouse button 3 can be used to jump directly to the upper or lower values when used to select one of the buttons. Lets look at how to create a Spin Button: GtkWidget#gtkSpinButtonNew( GtkAdjustment#adjustment, gdouble climbRate, guint digits ); The climbRate argument take a value between 0.0 and 1.0 and indicates the amount of acceleration that the Spin Button has. The digits argument specifies the number of decimal places to which the value will be displayed. A Spin Button can be reconfigured after creation using the following function: void gtkSpinButtonConfigure( GtkSpinButton#spinButton, GtkAdjustment#adjustment, gdouble climbRate, guint digits ); The spinButton argument specifies the Spin Button widget that is to be reconfigured. The other arguments are as specified above. The adjustment can be set and retrieved independantly using the following two functions: void gtkSpinButtonSetAdjustment( GtkSpinButton #spinButton, GtkAdjustment #adjustment ); GtkAdjustment#gtkSpinButtonGetAdjustment( GtkSpinButton#spinButton ); The number of decimal places can also be altered using: void gtkSpinButtonSetDigits( GtkSpinButton#spinButton, guint digits) ; The value that a Spin Button is currently displaying can be changed using the following function: void gtkSpinButtonSetValue( GtkSpinButton#spinButton, gdouble value ); The current value of a Spin Button can be retrieved as either a floating point or integer value with the following functions: gdouble gtkSpinButtonGetValue ( GtkSpinButton#spinButton ); gint gtkSpinButtonGetValueAsInt( GtkSpinButton#spinButton ); If you want to alter the value of a Spin Button relative to its current value, then the following function can be used: void gtkSpinButtonSpin( GtkSpinButton#spinButton, GtkSpinType direction, gdouble increment ); The direction parameter can take one of the following values: GTKSPINSTEPFORWARD GTKSPINSTEPBACKWARD GTKSPINPAGEFORWARD GTKSPINPAGEBACKWARD GTKSPINHOME GTKSPINEND GTKSPINUSERDEFINED This function packs in quite a bit of functionality, which I will attempt to clearly explain. Many of these settings use values from the Adjustment object that is associated with a Spin Button. GTKSPINSTEPFORWARD and GTKSPINSTEPBACKWARD change the value of the Spin Button by the amount specified by increment, unless increment is equal to 0, in which case the value is changed by the value of stepIncrement in theAdjustment. GTKSPINPAGEFORWARD and GTKSPINPAGEBACKWARD simply alter the value of the Spin Button by increment. GTKSPINHOME sets the value of the Spin Button to the bottom of the Adjustments range. GTKSPINEND sets the value of the Spin Button to the top of the Adjustments range. GTKSPINUSERDEFINED simply alters the value of the Spin Button by the specified amount. We move away from functions for setting and retreving the range attributes of the Spin Button now, and move onto functions that affect the appearance and behaviour of the Spin Button widget itself. The first of these functions is used to constrain the text box of the Spin Button such that it may only contain a numeric value. This prevents a user from typing anything other than numeric values into the text box of a Spin Button: void gtkSpinButtonSetNumeric( GtkSpinButton#spinButton, gboolean numeric ); You can set whether a Spin Button will wrap around between the upper and lower range values with the following function: void gtkSpinButtonSetWrap( GtkSpinButton#spinButton, gboolean wrap ); You can set a Spin Button to round the value to the nearest stepIncrement, which is set within the Adjustment object used with the Spin Button. This is accomplished with the following function: void gtkSpinButtonSetSnapToTicks( GtkSpinButton #spinButton, gboolean snapToTicks ); The update policy of a Spin Button can be changed with the following function: void gtkSpinButtonSetUpdatePolicy( GtkSpinButton #spinButton, GtkSpinButtonUpdatePolicy policy ); The possible values of policy are either GTKUPDATEALWAYS or GTKUPDATEIFVALID. These policies affect the behavior of a Spin Button when parsing inserted text and syncing its value with the values of the Adjustment. In the case of GTKUPDATEIFVALID the Spin Button only value gets changed if the text input is a numeric value that is within the range specified by the Adjustment. Otherwise the text is reset to the current value. In case of GTKUPDATEALWAYS we ignore errors while converting text into a numeric value. Finally, you can explicitly request that a Spin Button update itself: void gtkSpinButtonUpdate( GtkSpinButton #spinButton ); It's example time again. #include <stdio.h> #include <gtk/gtk.h> static GtkWidget#spinner1; static void toggleSnap( GtkWidget #widget, GtkSpinButton#spin ) { gtkSpinButtonSetSnapToTicks (spin, GTKTOGGLEBUTTON (widget)->active); } static void toggleNumeric( GtkWidget#widget, GtkSpinButton#spin ) { gtkSpinButtonSetNumeric (spin, GTKTOGGLEBUTTON (widget)->active); } static void changeDigits( GtkWidget#widget, GtkSpinButton#spin ) { gtkSpinButtonSetDigits (GTKSPINBUTTON (spinner1), gtkSpinButtonGetValueAsInt (spin)); } static void getValue( GtkWidget#widget, gpointer data ) { gchar#buf; GtkLabel#label; GtkSpinButton#spin; spin = GTKSPINBUTTON (spinner1); label = GTKLABEL (gObjectGetData (GOBJECT (widget), "userData")); if (GPOINTERTOINT (data) == 1) buf = gStrdupPrintf ("%d", gtkSpinButtonGetValueAsInt (spin)); else buf = gStrdupPrintf ("%0.*f", spin->digits, gtkSpinButtonGetValue (spin)); gtkLabelSetText (label, buf); gFree (buf); } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#frame; GtkWidget#hbox; GtkWidget#mainVbox; GtkWidget#vbox; GtkWidget#vbox2; GtkWidget#spinner2; GtkWidget#spinner; GtkWidget#button; GtkWidget#label; GtkWidget#valLabel; GtkAdjustment#adj; # Initialise GTK gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkWindowSetTitle (GTKWINDOW (window), "Spin Button"); mainVbox = gtkVboxNew (FALSE, 5); gtkContainerSetBorderWidth (GTKCONTAINER (mainVbox), 10); gtkContainerAdd (GTKCONTAINER (window), mainVbox); frame = gtkFrameNew ("Not accelerated"); gtkBoxPackStart (GTKBOX (mainVbox), frame, TRUE, TRUE, 0); vbox = gtkVboxNew (FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (vbox), 5); gtkContainerAdd (GTKCONTAINER (frame), vbox); # Day, month, year spinners hbox = gtkHboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (vbox), hbox, TRUE, TRUE, 5); vbox2 = gtkVboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (hbox), vbox2, TRUE, TRUE, 5); label = gtkLabelNew ("Day :"); gtkMiscSetAlignment (GTKMISC (label), 0, 0.5); gtkBoxPackStart (GTKBOX (vbox2), label, FALSE, TRUE, 0); adj = (GtkAdjustment#) gtkAdjustmentNew (1.0, 1.0, 31.0, 1.0, 5.0, 0.0); spinner = gtkSpinButtonNew (adj, 0, 0); gtkSpinButtonSetWrap (GTKSPINBUTTON (spinner), TRUE); gtkBoxPackStart (GTKBOX (vbox2), spinner, FALSE, TRUE, 0); vbox2 = gtkVboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (hbox), vbox2, TRUE, TRUE, 5); label = gtkLabelNew ("Month :"); gtkMiscSetAlignment (GTKMISC (label), 0, 0.5); gtkBoxPackStart (GTKBOX (vbox2), label, FALSE, TRUE, 0); adj = (GtkAdjustment#) gtkAdjustmentNew (1.0, 1.0, 12.0, 1.0, 5.0, 0.0); spinner = gtkSpinButtonNew (adj, 0, 0); gtkSpinButtonSetWrap (GTKSPINBUTTON (spinner), TRUE); gtkBoxPackStart (GTKBOX (vbox2), spinner, FALSE, TRUE, 0); vbox2 = gtkVboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (hbox), vbox2, TRUE, TRUE, 5); label = gtkLabelNew ("Year :"); gtkMiscSetAlignment (GTKMISC (label), 0, 0.5); gtkBoxPackStart (GTKBOX (vbox2), label, FALSE, TRUE, 0); adj = (GtkAdjustment#) gtkAdjustmentNew (1998.0, 0.0, 2100.0, 1.0, 100.0, 0.0); spinner = gtkSpinButtonNew (adj, 0, 0); gtkSpinButtonSetWrap (GTKSPINBUTTON (spinner), FALSE); gtkWidgetSetSizeRequest (spinner, 55, -1); gtkBoxPackStart (GTKBOX (vbox2), spinner, FALSE, TRUE, 0); frame = gtkFrameNew ("Accelerated"); gtkBoxPackStart (GTKBOX (mainVbox), frame, TRUE, TRUE, 0); vbox = gtkVboxNew (FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (vbox), 5); gtkContainerAdd (GTKCONTAINER (frame), vbox); hbox = gtkHboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (vbox), hbox, FALSE, TRUE, 5); vbox2 = gtkVboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (hbox), vbox2, TRUE, TRUE, 5); label = gtkLabelNew ("Value :"); gtkMiscSetAlignment (GTKMISC (label), 0, 0.5); gtkBoxPackStart (GTKBOX (vbox2), label, FALSE, TRUE, 0); adj = (GtkAdjustment#) gtkAdjustmentNew (0.0, -10000.0, 10000.0, 0.5, 100.0, 0.0); spinner1 = gtkSpinButtonNew (adj, 1.0, 2); gtkSpinButtonSetWrap (GTKSPINBUTTON (spinner1), TRUE); gtkWidgetSetSizeRequest (spinner1, 100, -1); gtkBoxPackStart (GTKBOX (vbox2), spinner1, FALSE, TRUE, 0); vbox2 = gtkVboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (hbox), vbox2, TRUE, TRUE, 5); label = gtkLabelNew ("Digits :"); gtkMiscSetAlignment (GTKMISC (label), 0, 0.5); gtkBoxPackStart (GTKBOX (vbox2), label, FALSE, TRUE, 0); adj = (GtkAdjustment#) gtkAdjustmentNew (2, 1, 5, 1, 1, 0); spinner2 = gtkSpinButtonNew (adj, 0.0, 0); gtkSpinButtonSetWrap (GTKSPINBUTTON (spinner2), TRUE); gSignalConnect (GOBJECT (adj), "valueChanged", GCALLBACK (changeDigits), (gpointer) spinner2); gtkBoxPackStart (GTKBOX (vbox2), spinner2, FALSE, TRUE, 0); hbox = gtkHboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (vbox), hbox, FALSE, TRUE, 5); button = gtkCheckButtonNewWithLabel ("Snap to 0.5-ticks"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (toggleSnap), (gpointer) spinner1); gtkBoxPackStart (GTKBOX (vbox), button, TRUE, TRUE, 0); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (button), TRUE); button = gtkCheckButtonNewWithLabel ("Numeric only input mode"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (toggleNumeric), (gpointer) spinner1); gtkBoxPackStart (GTKBOX (vbox), button, TRUE, TRUE, 0); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (button), TRUE); valLabel = gtkLabelNew (""); hbox = gtkHboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (vbox), hbox, FALSE, TRUE, 5); button = gtkButtonNewWithLabel ("Value as Int"); gObjectSetData (GOBJECT (button), "userData", valLabel); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (getValue), GINTTOPOINTER (1)); gtkBoxPackStart (GTKBOX (hbox), button, TRUE, TRUE, 5); button = gtkButtonNewWithLabel ("Value as Float"); gObjectSetData (GOBJECT (button), "userData", valLabel); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (getValue), GINTTOPOINTER (2)); gtkBoxPackStart (GTKBOX (hbox), button, TRUE, TRUE, 5); gtkBoxPackStart (GTKBOX (vbox), valLabel, TRUE, TRUE, 0); gtkLabelSetText (GTKLABEL (valLabel), "0"); hbox = gtkHboxNew (FALSE, 0); gtkBoxPackStart (GTKBOX (mainVbox), hbox, FALSE, TRUE, 0); button = gtkButtonNewWithLabel ("Close"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); gtkBoxPackStart (GTKBOX (hbox), button, TRUE, TRUE, 5); gtkWidgetShowAll (window); # Enter the event loop gtkMain (); return 0; } Combo Box The combo box is another fairly simple widget that is really just a collection of other widgets. From the user's point of view, the widget consists of a text entry box and a pull down menu from which the user can select one of a set of predefined entries. Alternatively, the user can type a different option directly into the text box. The following extract from the structure that defines a Combo Box identifies several of the components: struct GtkCombo { GtkHBox hbox; GtkWidget#entry; GtkWidget#button; GtkWidget#popup; GtkWidget#popwin; GtkWidget#list; ... }; As you can see, the Combo Box has two principal parts that you really care about: an entry and a list. First off, to create a combo box, use: GtkWidget#gtkComboNew( void ); Now, if you want to set the string in the entry section of the combo box, this is done by manipulating the entry widget directly: gtkEntrySetText (GTKENTRY (GTKCOMBO (combo)->entry), "My String."); To set the values in the popdown list, one uses the function: void gtkComboSetPopdownStrings( GtkCombo#combo, GList #strings ); Before you can do this, you have to assemble a GList of the strings that you want. GList is a linked list implementation that is part of GLib, a library supporting GTK. For the moment, the quick and dirty explanation is that you need to set up a GList pointer, set it equal to NULL, then append strings to it with GList#gListAppend( GList#glist, gpointer data ); It is important that you set the initial GList pointer to NULL. The value returned from the gListAppend() function must be used as the new pointer to the GList. Here's a typical code segment for creating a set of options: GList#glist = NULL; glist = gListAppend (glist, "String 1"); glist = gListAppend (glist, "String 2"); glist = gListAppend (glist, "String 3"); glist = gListAppend (glist, "String 4"); gtkComboSetPopdownStrings (GTKCOMBO (combo), glist); # can free glist now, combo takes a copy The combo widget makes a copy of the strings passed to it in the glist structure. As a result, you need to make sure you free the memory used by the list if that is appropriate for your application. At this point you have a working combo box that has been set up. There are a few aspects of its behavior that you can change. These are accomplished with the functions: void gtkComboSetUseArrows( GtkCombo#combo, gboolean val ); void gtkComboSetUseArrowsAlways( GtkCombo#combo, gboolean val ); void gtkComboSetCaseSensitive( GtkCombo#combo, gboolean val ); gtkComboSetUseArrows() lets the user change the value in the entry using the up/down arrow keys. This doesn't bring up the list, but rather replaces the current text in the entry with the next list entry (up or down, as your key choice indicates). It does this by searching in the list for the item corresponding to the current value in the entry and selecting the previous/next item accordingly. Usually in an entry the arrow keys are used to change focus (you can do that anyway using TAB). Note that when the current item is the last of the list and you press arrow-down it changes the focus (the same applies with the first item and arrow-up). If the current value in the entry is not in the list, then the function of gtkComboSetUseArrows() is disabled. gtkComboSetUseArrowsAlways() similarly allows the use the the up/down arrow keys to cycle through the choices in the dropdown list, except that it wraps around the values in the list, completely disabling the use of the up and down arrow keys for changing focus. gtkComboSetCaseSensitive() toggles whether or not GTK searches for entries in a case sensitive manner. This is used when the Combo widget is asked to find a value from the list using the current entry in the text box. This completion can be performed in either a case sensitive or insensitive manner, depending upon the use of this function. The Combo widget can also simply complete the current entry if the user presses the key combination MOD-1 and "Tab". MOD-1 is often mapped to the "Alt" key, by the xmodmap utility. Note, however that some window managers also use this key combination, which will override its use within GTK. Now that we have a combo box, tailored to look and act how we want it, all that remains is being able to get data from the combo box. This is relatively straightforward. The majority of the time, all you are going to care about getting data from is the entry. The entry is accessed simply by GTKENTRY (GTKCOMBO (combo)->entry). The two principal things that you are going to want to do with it are connect to the activate signal, which indicates that the user has pressed the Return or Enter key, and read the text. The first is accomplished using something like: gSignalConnect (GOBJECT (GTKCOMBO (combo)->entry), "activate", GCALLBACK (myCallbackFunction), (gpointer) myData); Getting the text at any arbitrary time is accomplished by simply using the entry function: gchar#gtkEntryGetText( GtkEntry#entry ); Such as: gchar#string; string = gtkEntryGetText (GTKENTRY (GTKCOMBO (combo)->entry)); That's about all there is to it. There is a function void gtkComboDisableActivate( GtkCombo#combo ); that will disable the activate signal on the entry widget in the combo box. Personally, I can't think of why you'd want to use it, but it does exist. Calendar The Calendar widget is an effective way to display and retrieve monthly date related information. It is a very simple widget to create and work with. Creating a GtkCalendar widget is a simple as: GtkWidget#gtkCalendarNew( void ); There might be times where you need to change a lot of information within this widget and the following functions allow you to make multiple change to a Calendar widget without the user seeing multiple on-screen updates. void gtkCalendarFreeze( GtkCalendar#Calendar ); void gtkCalendarThaw( GtkCalendar#Calendar ); They work just like the freeze/thaw functions of every other widget. The Calendar widget has a few options that allow you to change the way the widget both looks and operates by using the function void gtkCalendarDisplayOptions( GtkCalendar #calendar, GtkCalendarDisplayOptions flags ); The flags argument can be formed by combining either of the following five options using the logical bitwise OR (|) operation: GTKCALENDARSHOWHEADING this option specifies that the month and year should be shown when drawing the calendar. GTKCALENDARSHOWDAYNAMES this option specifies that the three letter descriptions should be displayed for each day (eg Mon,Tue, etc.). GTKCALENDARNOMONTHCHANGE this option states that the user should not and can not change the currently displayed month. This can be good if you only need to display a particular month such as if you are displaying 12 calendar widgets for every month in a particular year. GTKCALENDARSHOWWEEKNUMBERS this option specifies that the number for each week should be displayed down the left side of the calendar. (eg. Jan 1 = Week 1,Dec 31 = Week 52). GTKCALENDARWEEKSTARTMONDAY this option states that the calander week will start on Monday instead of Sunday which is the default. This only affects the order in which days are displayed from left to right. The following functions are used to set the the currently displayed date: gint gtkCalendarSelectMonth( GtkCalendar#calendar, guint month, guint year ); void gtkCalendarSelectDay( GtkCalendar#calendar, guint day ); The return value from gtkCalendarSelectMonth() is a boolean value indicating whether the selection was successful. With gtkCalendarSelectDay() the specified day number is selected within the current month, if that is possible. A day value of 0 will deselect any current selection. In addition to having a day selected, any number of days in the month may be "marked". A marked day is highlighted within the calendar display. The following functions are provided to manipulate marked days: gint gtkCalendarMarkDay( GtkCalendar#calendar, guint day); gint gtkCalendarUnmarkDay( GtkCalendar#calendar, guint day); void gtkCalendarClearMarks( GtkCalendar#calendar); The currently marked days are stored within an array within the GtkCalendar structure. This array is 31 elements long so to test whether a particular day is currently marked, you need to access the corresponding element of the array (don't forget in C that array elements are numbered 0 to n-1). For example: GtkCalendar#calendar; calendar = gtkCalendarNew (); ... # Is day 7 marked? if (calendar->markedDate[7-1]) # day is marked Note that marks are persistent across month and year changes. The final Calendar widget function is used to retrieve the currently selected date, month and/or year. void gtkCalendarGetDate( GtkCalendar#calendar, guint #year, guint #month, guint #day ); This function requires you to pass the addresses of guint variables, into which the result will be placed. Passing NULL as a value will result in the corresponding value not being returned. The Calendar widget can generate a number of signals indicating date selection and change. The names of these signals are self explanatory, and are: monthChanged daySelected daySelectedDoubleClick prevMonth nextMonth prevYear nextYear That just leaves us with the need to put all of this together into example code. # # Copyright (C) 1998 Cesar Miquel, Shawn T. Amundson, Mattias Gr?nlund # Copyright (C) 2000 Tony Gale # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include <stdio.h> #include <string.h> #include <gtk/gtk.h> #define DEFPAD 10 #define DEFPADSMALL 5 #define TMYEARBASE 1900 typedef struct CalendarData { GtkWidget#flagCheckboxes[5]; gboolean settings[5]; GtkWidget#fontDialog; GtkWidget#window; GtkWidget#prev2Sig; GtkWidget#prevSig; GtkWidget#lastSig; GtkWidget#month; } CalendarData; enum { calendarShowHeader, calendarShowDays, calendarMonthChange, calendarShowWeek, calendarMondayFirst }; # # GtkCalendar static void calendarDateToString( CalendarData#data, char #buffer, gint buffLen ) { GDate date; guint year, month, day; gtkCalendarGetDate (GTKCALENDAR (data->window), &year, &month, &day); gDateSetDmy (&date, day, month + 1, year); gDateStrftime (buffer, buffLen - 1, "%x", &date); } static void calendarSetSignalStrings( char #sigStr, CalendarData#data ) { const gchar#prevSig; prevSig = gtkLabelGetText (GTKLABEL (data->prevSig)); gtkLabelSetText (GTKLABEL (data->prev2Sig), prevSig); prevSig = gtkLabelGetText (GTKLABEL (data->lastSig)); gtkLabelSetText (GTKLABEL (data->prevSig), prevSig); gtkLabelSetText (GTKLABEL (data->lastSig), sigStr); } static void calendarMonthChanged( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "monthChanged: "; calendarDateToString (data, buffer + 15, 256 - 15); calendarSetSignalStrings (buffer, data); } static void calendarDaySelected( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "daySelected: "; calendarDateToString (data, buffer + 14, 256 - 14); calendarSetSignalStrings (buffer, data); } static void calendarDaySelectedDoubleClick ( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "daySelectedDoubleClick: "; guint day; calendarDateToString (data, buffer + 27, 256 - 27); calendarSetSignalStrings (buffer, data); gtkCalendarGetDate (GTKCALENDAR (data->window), NULL, NULL, &day); if (GTKCALENDAR (data->window)->markedDate[day-1] == 0) { gtkCalendarMarkDay (GTKCALENDAR (data->window), day); } else { gtkCalendarUnmarkDay (GTKCALENDAR (data->window), day); } } static void calendarPrevMonth( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "prevMonth: "; calendarDateToString (data, buffer + 12, 256 - 12); calendarSetSignalStrings (buffer, data); } static void calendarNextMonth( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "nextMonth: "; calendarDateToString (data, buffer + 12, 256 - 12); calendarSetSignalStrings (buffer, data); } static void calendarPrevYear( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "prevYear: "; calendarDateToString (data, buffer + 11, 256 - 11); calendarSetSignalStrings (buffer, data); } static void calendarNextYear( GtkWidget #widget, CalendarData#data ) { char buffer[256] = "nextYear: "; calendarDateToString (data, buffer + 11, 256 - 11); calendarSetSignalStrings (buffer, data); } static void calendarSetFlags( CalendarData#calendar ) { gint i; gint options = 0; for (i = 0;i < 5; i++) if (calendar->settings[i]) { options = options + (1 << i); } if (calendar->window) gtkCalendarDisplayOptions (GTKCALENDAR (calendar->window), options); } static void calendarToggleFlag( GtkWidget #toggle, CalendarData#calendar) { gint i; gint j; j = 0; for (i = 0; i < 5; i++) if (calendar->flagCheckboxes[i] == toggle) j = i; calendar->settings[j] = !calendar->settings[j]; calendarSetFlags (calendar); } static void calendarFontSelectionOk( GtkWidget #button, CalendarData#calendar ) { GtkRcStyle#style; char#fontName; if (calendar->window) { fontName = gtkFontSelectionDialogGetFontName (GTKFONTSELECTIONDIALOG (calendar->fontDialog)); if (fontName) { style = gtkRcStyleNew (); pangoFontDescriptionFree (style->fontDesc); style->fontDesc = pangoFontDescriptionFromString (fontName); gtkWidgetModifyStyle (calendar->window, style); gFree (fontName); } } gtkWidgetDestroy (calendar->fontDialog); } static void calendarSelectFont( GtkWidget #button, CalendarData#calendar ) { GtkWidget#window; if (!calendar->fontDialog) { window = gtkFontSelectionDialogNew ("Font Selection Dialog"); gReturnIfFail (GTKISFONTSELECTIONDIALOG (window)); calendar->fontDialog = window; gtkWindowSetPosition (GTKWINDOW (window), GTKWINPOSMOUSE); gSignalConnect (window, "destroy", GCALLBACK (gtkWidgetDestroyed), &calendar->fontDialog); gSignalConnect (GTKFONTSELECTIONDIALOG (window)->okButton, "clicked", GCALLBACK (calendarFontSelectionOk), calendar); gSignalConnectSwapped (GTKFONTSELECTIONDIALOG (window)->cancelButton, "clicked", GCALLBACK (gtkWidgetDestroy), calendar->fontDialog); } window = calendar->fontDialog; if (!GTKWIDGETVISIBLE (window)) gtkWidgetShow (window); else gtkWidgetDestroy (window); } static void createCalendar( void ) { GtkWidget#window; GtkWidget#vbox,#vbox2,#vbox3; GtkWidget#hbox; GtkWidget#hbbox; GtkWidget#calendar; GtkWidget#toggle; GtkWidget#button; GtkWidget#frame; GtkWidget#separator; GtkWidget#label; GtkWidget#bbox; static CalendarData calendarData; gint i; struct { char#label; } flags[] = { { "Show Heading" }, { "Show Day Names" }, { "No Month Change" }, { "Show Week Numbers" }, { "Week Start Monday" } }; calendarData.window = NULL; calendarData.fontDialog = NULL; for (i = 0; i < 5; i++) { calendarData.settings[i] = 0; } window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "GtkCalendar Example"); gtkContainerSetBorderWidth (GTKCONTAINER (window), 5); gSignalConnect (window, "destroy", GCALLBACK (gtkMainQuit), NULL); gSignalConnect (window, "delete-event", GCALLBACK (gtkFalse), NULL); gtkWindowSetResizable (GTKWINDOW (window), FALSE); vbox = gtkVboxNew (FALSE, DEFPAD); gtkContainerAdd (GTKCONTAINER (window), vbox); # # The top part of the window, Calendar, flags and fontsel. hbox = gtkHboxNew (FALSE, DEFPAD); gtkBoxPackStart (GTKBOX (vbox), hbox, TRUE, TRUE, DEFPAD); hbbox = gtkHbuttonBoxNew (); gtkBoxPackStart (GTKBOX (hbox), hbbox, FALSE, FALSE, DEFPAD); gtkButtonBoxSetLayout (GTKBUTTONBOX (hbbox), GTKBUTTONBOXSPREAD); gtkBoxSetSpacing (GTKBOX (hbbox), 5); # Calendar widget frame = gtkFrameNew ("Calendar"); gtkBoxPackStart(GTKBOX (hbbox), frame, FALSE, TRUE, DEFPAD); calendar=gtkCalendarNew (); calendarData.window = calendar; calendarSetFlags (&calendarData); gtkCalendarMarkDay (GTKCALENDAR (calendar), 19); gtkContainerAdd (GTKCONTAINER (frame), calendar); gSignalConnect (calendar, "monthChanged", GCALLBACK (calendarMonthChanged), &calendarData); gSignalConnect (calendar, "daySelected", GCALLBACK (calendarDaySelected), &calendarData); gSignalConnect (calendar, "daySelectedDoubleClick", GCALLBACK (calendarDaySelectedDoubleClick), &calendarData); gSignalConnect (calendar, "prevMonth", GCALLBACK (calendarPrevMonth), &calendarData); gSignalConnect (calendar, "nextMonth", GCALLBACK (calendarNextMonth), &calendarData); gSignalConnect (calendar, "prevYear", GCALLBACK (calendarPrevYear), &calendarData); gSignalConnect (calendar, "nextYear", GCALLBACK (calendarNextYear), &calendarData); separator = gtkVseparatorNew (); gtkBoxPackStart (GTKBOX (hbox), separator, FALSE, TRUE, 0); vbox2 = gtkVboxNew (FALSE, DEFPAD); gtkBoxPackStart (GTKBOX (hbox), vbox2, FALSE, FALSE, DEFPAD); # Build the Right frame with the flags in frame = gtkFrameNew ("Flags"); gtkBoxPackStart (GTKBOX (vbox2), frame, TRUE, TRUE, DEFPAD); vbox3 = gtkVboxNew (TRUE, DEFPADSMALL); gtkContainerAdd (GTKCONTAINER (frame), vbox3); for (i = 0; i < 5; i++) { toggle = gtkCheckButtonNewWithLabel (flags[i].label); gSignalConnect (toggle, "toggled", GCALLBACK (calendarToggleFlag), &calendarData); gtkBoxPackStart (GTKBOX (vbox3), toggle, TRUE, TRUE, 0); calendarData.flagCheckboxes[i] = toggle; } # Build the right font-button button = gtkButtonNewWithLabel ("Font..."); gSignalConnect (button, "clicked", GCALLBACK (calendarSelectFont), &calendarData); gtkBoxPackStart (GTKBOX (vbox2), button, FALSE, FALSE, 0); # # Build the Signal-event part. frame = gtkFrameNew ("Signal events"); gtkBoxPackStart (GTKBOX (vbox), frame, TRUE, TRUE, DEFPAD); vbox2 = gtkVboxNew (TRUE, DEFPADSMALL); gtkContainerAdd (GTKCONTAINER (frame), vbox2); hbox = gtkHboxNew (FALSE, 3); gtkBoxPackStart (GTKBOX (vbox2), hbox, FALSE, TRUE, 0); label = gtkLabelNew ("Signal:"); gtkBoxPackStart (GTKBOX (hbox), label, FALSE, TRUE, 0); calendarData.lastSig = gtkLabelNew (""); gtkBoxPackStart (GTKBOX (hbox), calendarData.lastSig, FALSE, TRUE, 0); hbox = gtkHboxNew (FALSE, 3); gtkBoxPackStart (GTKBOX (vbox2), hbox, FALSE, TRUE, 0); label = gtkLabelNew ("Previous signal:"); gtkBoxPackStart (GTKBOX (hbox), label, FALSE, TRUE, 0); calendarData.prevSig = gtkLabelNew (""); gtkBoxPackStart (GTKBOX (hbox), calendarData.prevSig, FALSE, TRUE, 0); hbox = gtkHboxNew (FALSE, 3); gtkBoxPackStart (GTKBOX (vbox2), hbox, FALSE, TRUE, 0); label = gtkLabelNew ("Second previous signal:"); gtkBoxPackStart (GTKBOX (hbox), label, FALSE, TRUE, 0); calendarData.prev2Sig = gtkLabelNew (""); gtkBoxPackStart (GTKBOX (hbox), calendarData.prev2Sig, FALSE, TRUE, 0); bbox = gtkHbuttonBoxNew (); gtkBoxPackStart (GTKBOX (vbox), bbox, FALSE, FALSE, 0); gtkButtonBoxSetLayout (GTKBUTTONBOX (bbox), GTKBUTTONBOXEND); button = gtkButtonNewWithLabel ("Close"); gSignalConnect (button, "clicked", GCALLBACK (gtkMainQuit), NULL); gtkContainerAdd (GTKCONTAINER (bbox), button); GTKWIDGETSETFLAGS (button, GTKCANDEFAULT); gtkWidgetGrabDefault (button); gtkWidgetShowAll (window); } int main (int argc, char#argv[]) { gtkInit (&argc, &argv); createCalendar (); gtkMain (); return 0; } Color Selection The color selection widget is, not surprisingly, a widget for interactive selection of colors. This composite widget lets the user select a color by manipulating RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value) triples. This is done either by adjusting single values with sliders or entries, or by picking the desired color from a hue-saturation wheel/value bar. Optionally, the opacity of the color can also be set. The color selection widget currently emits only one signal, "colorChanged", which is emitted whenever the current color in the widget changes, either when the user changes it or if it's set explicitly through gtkColorSelectionSetColor(). Lets have a look at what the color selection widget has to offer us. The widget comes in two flavours: GtkColorSelection and GtkColorSelectionDialog. GtkWidget#gtkColorSelectionNew( void ); You'll probably not be using this constructor directly. It creates an orphan ColorSelection widget which you'll have to parent yourself. The ColorSelection widget inherits from the VBox widget. GtkWidget#gtkColorSelectionDialogNew( const gchar#title ); This is the most common color selection constructor. It creates a ColorSelectionDialog. It consists of a Frame containing a ColorSelection widget, an HSeparator and an HBox with three buttons, "Ok", "Cancel" and "Help". You can reach these buttons by accessing the "okButton", "cancelButton" and "helpButton" widgets in the ColorSelectionDialog structure, (i.e., GTKCOLORSELECTIONDIALOG (colorseldialog)->okButton)). void gtkColorSelectionSetHasOpacityControl( GtkColorSelection#colorsel, gboolean hasOpacity ); The color selection widget supports adjusting the opacity of a color (also known as the alpha channel). This is disabled by default. Calling this function with hasOpacity set to TRUE enables opacity. Likewise, hasOpacity set to FALSE will disable opacity. void gtkColorSelectionSetCurrentColor( GtkColorSelection#colorsel, GdkColor #color ); void gtkColorSelectionSetCurrentAlpha( GtkColorSelection#colorsel, guint16 alpha ); You can set the current color explicitly by calling gtkColorSelectionSetCurrentColor() with a pointer to a GdkColor. Setting the opacity (alpha channel) is done with gtkColorSelectionSetCurrentAlpha(). The alpha value should be between 0 (fully transparent) and 65535 (fully opaque). void gtkColorSelectionGetCurrentColor( GtkColorSelection#colorsel, GdkColor#color ); void gtkColorSelectionGetCurrentAlpha( GtkColorSelection#colorsel, guint16 #alpha ); When you need to query the current color, typically when you've received a "colorChanged" signal, you use these functions. Here's a simple example demonstrating the use of the ColorSelectionDialog. The program displays a window containing a drawing area. Clicking on it opens a color selection dialog, and changing the color in the color selection dialog changes the background color. #include <glib.h> #include <gdk/gdk.h> #include <gtk/gtk.h> GtkWidget#colorseldlg = NULL; GtkWidget#drawingarea = NULL; GdkColor color; # Color changed handler static void colorChangedCb( GtkWidget #widget, GtkColorSelection#colorsel ) { GdkColor ncolor; gtkColorSelectionGetCurrentColor (colorsel, &ncolor); gtkWidgetModifyBg (drawingarea, GTKSTATENORMAL, &ncolor); } # Drawingarea event handler static gboolean areaEvent( GtkWidget#widget, GdkEvent #event, gpointer clientData ) { gint handled = FALSE; gint response; GtkColorSelection#colorsel; # Check if we've received a button pressed event if (event->type == GDKBUTTONPRESS) { handled = TRUE; # Create color selection dialog if (colorseldlg == NULL) colorseldlg = gtkColorSelectionDialogNew ("Select background color"); # Get the ColorSelection widget colorsel = GTKCOLORSELECTION (GTKCOLORSELECTIONDIALOG (colorseldlg)->colorsel); gtkColorSelectionSetPreviousColor (colorsel, &color); gtkColorSelectionSetCurrentColor (colorsel, &color); gtkColorSelectionSetHasPalette (colorsel, TRUE); # Connect to the "colorChanged" signal, set the client-data # to the colorsel widget gSignalConnect (GOBJECT (colorsel), "colorChanged", GCALLBACK (colorChangedCb), (gpointer) colorsel); # Show the dialog response = gtkDialogRun (GTKDIALOG (colorseldlg)); if (response == GTKRESPONSEOK) gtkColorSelectionGetCurrentColor (colorsel, &color); else gtkWidgetModifyBg (drawingarea, GTKSTATENORMAL, &color); gtkWidgetHide (colorseldlg); } return handled; } # Close down and exit handler static gboolean destroyWindow( GtkWidget#widget, GdkEvent #event, gpointer clientData ) { gtkMainQuit (); return TRUE; } # Main gint main( gint argc, gchar#argv[] ) { GtkWidget#window; # Initialize the toolkit, remove gtk-related commandline stuff gtkInit (&argc, &argv); # Create toplevel window, set title and policies window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Color selection test"); gtkWindowSetPolicy (GTKWINDOW (window), TRUE, TRUE, TRUE); # Attach to the "delete" and "destroy" events so we can exit gSignalConnect (GTKOBJECT (window), "deleteEvent", GTKSIGNALFUNC (destroyWindow), (gpointer) window); # Create drawingarea, set size and catch button events drawingarea = gtkDrawingAreaNew (); color.red = 0; color.blue = 65535; color.green = 0; gtkWidgetModifyBg (drawingarea, GTKSTATENORMAL, &color); gtkWidgetSetSizeRequest (GTKWIDGET (drawingarea), 200, 200); gtkWidgetSetEvents (drawingarea, GDKBUTTONPRESSMASK); gSignalConnect (GTKOBJECT (drawingarea), "event", GTKSIGNALFUNC (areaEvent), (gpointer) drawingarea); # Add drawingarea to window, then show them both gtkContainerAdd (GTKCONTAINER (window), drawingarea); gtkWidgetShow (drawingarea); gtkWidgetShow (window); # Enter the gtk main loop (this never returns) gtkMain (); # Satisfy grumpy compilers return 0; } File Selections The file selection widget is a quick and simple way to display a File dialog box. It comes complete with Ok, Cancel, and Help buttons, a great way to cut down on programming time. To create a new file selection box use: GtkWidget#gtkFileSelectionNew( const gchar#title ); To set the filename, for example to bring up a specific directory, or give a default filename, use this function: void gtkFileSelectionSetFilename( GtkFileSelection#filesel, const gchar #filename ); To grab the text that the user has entered or clicked on, use this function: gchar#gtkFileSelectionGetFilename( GtkFileSelection#filesel ); There are also pointers to the widgets contained within the file selection widget. These are: dirList fileList selectionEntry selectionText mainVbox okButton cancelButton helpButton Most likely you will want to use the okButton, cancelButton, and helpButton pointers in signaling their use. Included here is an example stolen from testgtk.c, modified to run on its own. As you will see, there is nothing much to creating a file selection widget. While in this example the Help button appears on the screen, it does nothing as there is not a signal attached to it. #include <gtk/gtk.h> # Get the selected filename and print it to the console static void fileOkSel( GtkWidget #w, GtkFileSelection#fs ) { gPrint ("%s\n", gtkFileSelectionGetFilename (GTKFILESELECTION (fs))); } int main( int argc, char#argv[] ) { GtkWidget#filew; gtkInit (&argc, &argv); # Create a new file selection widget filew = gtkFileSelectionNew ("File selection"); gSignalConnect (GOBJECT (filew), "destroy", GCALLBACK (gtkMainQuit), NULL); # Connect the okButton to fileOkSel function gSignalConnect (GOBJECT (GTKFILESELECTION (filew)->okButton), "clicked", GCALLBACK (fileOkSel), (gpointer) filew); # Connect the cancelButton to destroy the widget gSignalConnectSwapped (GOBJECT (GTKFILESELECTION (filew)->cancelButton), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (filew)); # Lets set the filename, as if this were a save dialog, and we are giving a default filename gtkFileSelectionSetFilename (GTKFILESELECTION(filew), "penguin.png"); gtkWidgetShow (filew); gtkMain (); return 0; } Container Widgets The EventBox Some GTK widgets don't have associated X windows, so they just draw on their parents. Because of this, they cannot receive events and if they are incorrectly sized, they don't clip so you can get messy overwriting, etc. If you require more from these widgets, the EventBox is for you. At first glance, the EventBox widget might appear to be totally useless. It draws nothing on the screen and responds to no events. However, it does serve a function - it provides an X window for its child widget. This is important as many GTK widgets do not have an associated X window. Not having an X window saves memory and improves performance, but also has some drawbacks. A widget without an X window cannot receive events, and does not perform any clipping on its contents. Although the name EventBox emphasizes the event-handling function, the widget can also be used for clipping. (and more, see the example below). To create a new EventBox widget, use: GtkWidget#gtkEventBoxNew( void ); A child widget can then be added to this EventBox: gtkContainerAdd (GTKCONTAINER (eventBox), childWidget); The following example demonstrates both uses of an EventBox - a label is created that is clipped to a small box, and set up so that a mouse-click on the label causes the program to exit. Resizing the window reveals varying amounts of the label. #include <stdlib.h> #include <gtk/gtk.h> int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#eventBox; GtkWidget#label; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Event Box"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create an EventBox and add it to our toplevel window eventBox = gtkEventBoxNew (); gtkContainerAdd (GTKCONTAINER (window), eventBox); gtkWidgetShow (eventBox); # Create a long label label = gtkLabelNew ("Click here to quit, quit, quit, quit, quit"); gtkContainerAdd (GTKCONTAINER (eventBox), label); gtkWidgetShow (label); # Clip it short. gtkWidgetSetSizeRequest (label, 110, 20); # And bind an action to it gtkWidgetSetEvents (eventBox, GDKBUTTONPRESSMASK); gSignalConnect (GOBJECT (eventBox), "buttonPressEvent", GCALLBACK (exit), NULL); # Yet one more thing you need an X window for ... gtkWidgetRealize (eventBox); gdkWindowSetCursor (eventBox->window, gdkCursorNew (GDKHAND1)); gtkWidgetShow (window); gtkMain (); return 0; } The Alignment widget The alignment widget allows you to place a widget within its window at a position and size relative to the size of the Alignment widget itself. For example, it can be very useful for centering a widget within the window. There are only two functions associated with the Alignment widget: GtkWidget* gtkAlignmentNew( gfloat xalign, gfloat yalign, gfloat xscale, gfloat yscale ); void gtkAlignmentSet( GtkAlignment#alignment, gfloat xalign, gfloat yalign, gfloat xscale, gfloat yscale ); The first function creates a new Alignment widget with the specified parameters. The second function allows the alignment parameters of an exisiting Alignment widget to be altered. All four alignment parameters are floating point numbers which can range from 0.0 to 1.0. The xalign and yalign arguments affect the position of the widget placed within the Alignment widget. The xscale and yscale arguments affect the amount of space allocated to the widget. A child widget can be added to this Alignment widget using: gtkContainerAdd (GTKCONTAINER (alignment), childWidget); For an example of using an Alignment widget, refer to the example for the Progress Bar widget. Fixed Container The Fixed container allows you to place widgets at a fixed position within it's window, relative to it's upper left hand corner. The position of the widgets can be changed dynamically. There are only a few functions associated with the fixed widget: GtkWidget* gtkFixedNew( void ); void gtkFixedPut( GtkFixed #fixed, GtkWidget#widget, gint x, gint y ); void gtkFixedMove( GtkFixed #fixed, GtkWidget#widget, gint x, gint y ); The function gtkFixedNew() allows you to create a new Fixed container. gtkFixedPut() places widget in the container fixed at the position specified by x and y. gtkFixedMove() allows the specified widget to be moved to a new position. void gtkFixedSetHasWindow( GtkFixed #fixed, gboolean hasWindow ); gboolean gtkFixedGetHasWindow( GtkFixed#fixed ); Normally, Fixed widgets don't have their own X window. Since this is different from the behaviour of Fixed widgets in earlier releases of GTK, the function gtkFixedSetHasWindow() allows the creation of Fixed widgets with their own window. It has to be called before realizing the widget. The following example illustrates how to use the Fixed Container. #include <gtk/gtk.h> # I'm going to be lazy and use some global variables to # store the position of the widget within the fixed # container gint x = 50; gint y = 50; # This callback function moves the button to a new position # in the Fixed container. static void moveButton( GtkWidget#widget, GtkWidget#fixed ) { x = (x + 30) % 300; y = (y + 50) % 300; gtkFixedMove (GTKFIXED (fixed), widget, x, y); } int main( int argc, char#argv[] ) { # GtkWidget is the storage type for widgets GtkWidget#window; GtkWidget#fixed; GtkWidget#button; gint i; # Initialise GTK gtkInit (&argc, &argv); # Create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Fixed Container"); # Here we connect the "destroy" event to a signal handler gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); # Sets the border width of the window. gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create a Fixed Container fixed = gtkFixedNew (); gtkContainerAdd (GTKCONTAINER (window), fixed); gtkWidgetShow (fixed); for (i = 1 ; i <= 3 ; i++) { # Creates a new button with the label "Press me" button = gtkButtonNewWithLabel ("Press me"); # When the button receives the "clicked" signal, it will call the # function moveButton() passing it the Fixed Container as its # argument. gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (moveButton), (gpointer) fixed); # This packs the button into the fixed containers window. gtkFixedPut (GTKFIXED (fixed), button, i*50, i*50); # The final step is to display this newly created widget. gtkWidgetShow (button); } # Display the window gtkWidgetShow (window); # Enter the event loop gtkMain (); return 0; } Layout Container The Layout container is similar to the Fixed container except that it implements an infinite (where infinity is less than 2^32) scrolling area. The X window system has a limitation where windows can be at most 32767 pixels wide or tall. The Layout container gets around this limitation by doing some exotic stuff using window and bit gravities, so that you can have smooth scrolling even when you have many child widgets in your scrolling area. A Layout container is created using: GtkWidget#gtkLayoutNew( GtkAdjustment#hadjustment, GtkAdjustment#vadjustment ); As you can see, you can optionally specify the Adjustment objects that the Layout widget will use for its scrolling. You can add and move widgets in the Layout container using the following two functions: void gtkLayoutPut( GtkLayout#layout, GtkWidget#widget, gint x, gint y ); void gtkLayoutMove( GtkLayout#layout, GtkWidget#widget, gint x, gint y ); The size of the Layout container can be set using the next function: void gtkLayoutSetSize( GtkLayout#layout, guint width, guint height ); The final four functions for use with Layout widgets are for manipulating the horizontal and vertical adjustment widgets: GtkAdjustment* gtkLayoutGetHadjustment( GtkLayout#layout ); GtkAdjustment* gtkLayoutGetVadjustment( GtkLayout#layout ); void gtkLayoutSetHadjustment( GtkLayout #layout, GtkAdjustment#adjustment ); void gtkLayoutSetVadjustment( GtkLayout #layout, GtkAdjustment#adjustment); Frames Frames can be used to enclose one or a group of widgets with a box which can optionally be labelled. The position of the label and the style of the box can be altered to suit. A Frame can be created with the following function: GtkWidget#gtkFrameNew( const gchar#label ); The label is by default placed in the upper left hand corner of the frame. A value of NULL for the label argument will result in no label being displayed. The text of the label can be changed using the next function. void gtkFrameSetLabel( GtkFrame #frame, const gchar#label ); The position of the label can be changed using this function: void gtkFrameSetLabelAlign( GtkFrame#frame, gfloat xalign, gfloat yalign ); xalign and yalign take values between 0.0 and 1.0. xalign indicates the position of the label along the top horizontal of the frame. yalign is not currently used. The default value of xalign is 0.0 which places the label at the left hand end of the frame. The next function alters the style of the box that is used to outline the frame. void gtkFrameSetShadowType( GtkFrame #frame, GtkShadowType type); The type argument can take one of the following values: GTKSHADOWNONE GTKSHADOWIN GTKSHADOWOUT GTKSHADOWETCHEDIN (the default) GTKSHADOWETCHEDOUT The following code example illustrates the use of the Frame widget. #include <gtk/gtk.h> int main( int argc, char#argv[] ) { # GtkWidget is the storage type for widgets GtkWidget#window; GtkWidget#frame; # Initialise GTK gtkInit (&argc, &argv); # Create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Frame Example"); # Here we connect the "destroy" event to a signal handler gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkWidgetSetSizeRequest (window, 300, 300); # Sets the border width of the window. gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create a Frame frame = gtkFrameNew (NULL); gtkContainerAdd (GTKCONTAINER (window), frame); # Set the frame's label gtkFrameSetLabel (GTKFRAME (frame), "GTK Frame Widget"); # Align the label at the right of the frame gtkFrameSetLabelAlign (GTKFRAME (frame), 1.0, 0.0); # Set the style of the frame gtkFrameSetShadowType (GTKFRAME (frame), GTKSHADOWETCHEDOUT); gtkWidgetShow (frame); # Display the window gtkWidgetShow (window); # Enter the event loop gtkMain (); return 0; } Aspect Frames The aspect frame widget is like a frame widget, except that it also enforces the aspect ratio (that is, the ratio of the width to the height) of the child widget to have a certain value, adding extra space if necessary. This is useful, for instance, if you want to preview a larger image. The size of the preview should vary when the user resizes the window, but the aspect ratio needs to always match the original image. To create a new aspect frame use: GtkWidget#gtkAspectFrameNew( const gchar#label, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obeyChild); xalign and yalign specify alignment as with Alignment widgets. If obeyChild is TRUE, the aspect ratio of a child widget will match the aspect ratio of the ideal size it requests. Otherwise, it is given by ratio. To change the options of an existing aspect frame, you can use: void gtkAspectFrameSet( GtkAspectFrame#aspectFrame, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obeyChild); As an example, the following program uses an AspectFrame to present a drawing area whose aspect ratio will always be 2:1, no matter how the user resizes the top-level window. #include <gtk/gtk.h> int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#aspectFrame; GtkWidget#drawingArea; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Aspect Frame"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create an aspectFrame and add it to our toplevel window aspectFrame = gtkAspectFrameNew ("2x1", # label 0.5, # center x 0.5, # center y 2, # xsize/ysize = 2 FALSE # ignore child's aspect ); gtkContainerAdd (GTKCONTAINER (window), aspectFrame); gtkWidgetShow (aspectFrame); # Now add a child widget to the aspect frame drawingArea = gtkDrawingAreaNew (); # Ask for a 200x200 window, but the AspectFrame will give us a 200x100 # window since we are forcing a 2x1 aspect ratio gtkWidgetSetSizeRequest (drawingArea, 200, 200); gtkContainerAdd (GTKCONTAINER (aspectFrame), drawingArea); gtkWidgetShow (drawingArea); gtkWidgetShow (window); gtkMain (); return 0; } Paned Window Widgets The paned window widgets are useful when you want to divide an area into two parts, with the relative size of the two parts controlled by the user. A groove is drawn between the two portions with a handle that the user can drag to change the ratio. The division can either be horizontal (HPaned) or vertical (VPaned). To create a new paned window, call one of: GtkWidget#gtkHpanedNew (void); GtkWidget#gtkVpanedNew (void); After creating the paned window widget, you need to add child widgets to its two halves. To do this, use the functions: void gtkPanedAdd1 (GtkPaned#paned, GtkWidget#child); void gtkPanedAdd2 (GtkPaned#paned, GtkWidget#child); gtkPanedAdd1() adds the child widget to the left or top half of the paned window. gtkPanedAdd2() adds the child widget to the right or bottom half of the paned window. As an example, we will create part of the user interface of an imaginary email program. A window is divided into two portions vertically, with the top portion being a list of email messages and the bottom portion the text of the email message. Most of the program is pretty straightforward. A couple of points to note: text can't be added to a Text widget until it is realized. This could be done by calling gtkWidgetRealize(), but as a demonstration of an alternate technique, we connect a handler to the "realize" signal to add the text. Also, we need to add the GTKSHRINK option to some of the items in the table containing the text window and its scrollbars, so that when the bottom portion is made smaller, the correct portions shrink instead of being pushed off the bottom of the window. #include <stdio.h> #include <gtk/gtk.h> # Create the list of "messages" static GtkWidget#createList( void ) { GtkWidget#scrolledWindow; GtkWidget#treeView; GtkListStore#model; GtkTreeIter iter; GtkCellRenderer#cell; GtkTreeViewColumn#column; int i; # Create a new scrolled window, with scrollbars only if needed scrolledWindow = gtkScrolledWindowNew (NULL, NULL); gtkScrolledWindowSetPolicy (GTKSCROLLEDWINDOW (scrolledWindow), GTKPOLICYAUTOMATIC, GTKPOLICYAUTOMATIC); model = gtkListStoreNew (1, GTYPESTRING); treeView = gtkTreeViewNew (); gtkScrolledWindowAddWithViewport (GTKSCROLLEDWINDOW (scrolledWindow), treeView); gtkTreeViewSetModel (GTKTREEVIEW (treeView), GTKTREEMODEL (model)); gtkWidgetShow (treeView); # Add some messages to the window for (i = 0; i < 10; i++) { gchar#msg = gStrdupPrintf ("Message #%d", i); gtkListStoreAppend (GTKLISTSTORE (model), &iter); gtkListStoreSet (GTKLISTSTORE (model), &iter, 0, msg, -1); gFree (msg); } cell = gtkCellRendererTextNew (); column = gtkTreeViewColumnNewWithAttributes ("Messages", cell, "text", 0, NULL); gtkTreeViewAppendColumn (GTKTREEVIEW (treeView), GTKTREEVIEWCOLUMN (column)); return scrolledWindow; } # Add some text to our text widget - this is a callback that is invoked when our window is realized. We could also force our window to be realized with gtkWidgetRealize, but it would have to be part of a hierarchy first static void insertText( GtkTextBuffer#buffer ) { GtkTextIter iter; gtkTextBufferGetIterAtOffset (buffer, &iter, 0); gtkTextBufferInsert (buffer, &iter, "From: pathfinder@nasa.gov\n" "To: mom@nasa.gov\n" "Subject: Made it!\n" "\n" "We just got in this morning. The weather has been\n" "great - clear but cold, and there are lots of fun sights.\n" "Sojourner says hi. See you soon.\n" " -Path\n", -1); } # Create a scrolled text area that displays a "message" static GtkWidget#createText( void ) { GtkWidget#scrolledWindow; GtkWidget#view; GtkTextBuffer#buffer; view = gtkTextViewNew (); buffer = gtkTextViewGetBuffer (GTKTEXTVIEW (view)); scrolledWindow = gtkScrolledWindowNew (NULL, NULL); gtkScrolledWindowSetPolicy (GTKSCROLLEDWINDOW (scrolledWindow), GTKPOLICYAUTOMATIC, GTKPOLICYAUTOMATIC); gtkContainerAdd (GTKCONTAINER (scrolledWindow), view); insertText (buffer); gtkWidgetShowAll (scrolledWindow); return scrolledWindow; } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#vpaned; GtkWidget#list; GtkWidget#text; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Paned Windows"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); gtkWidgetSetSizeRequest (GTKWIDGET (window), 450, 400); # create a vpaned widget and add it to our toplevel window vpaned = gtkVpanedNew (); gtkContainerAdd (GTKCONTAINER (window), vpaned); gtkWidgetShow (vpaned); # Now create the contents of the two halves of the window list = createList (); gtkPanedAdd1 (GTKPANED (vpaned), list); gtkWidgetShow (list); text = createText (); gtkPanedAdd2 (GTKPANED (vpaned), text); gtkWidgetShow (text); gtkWidgetShow (window); gtkMain (); return 0; } Viewports It is unlikely that you will ever need to use the Viewport widget directly. You are much more likely to use the Scrolled Window widget which itself uses the Viewport. A viewport widget allows you to place a larger widget within it such that you can view a part of it at a time. It uses Adjustments to define the area that is currently in view. A Viewport is created with the function GtkWidget#gtkViewportNew( GtkAdjustment#hadjustment, GtkAdjustment#vadjustment ); As you can see you can specify the horizontal and vertical Adjustments that the widget is to use when you create the widget. It will create its own if you pass NULL as the value of the arguments. You can get and set the adjustments after the widget has been created using the following four functions: GtkAdjustment#gtkViewportGetHadjustment( GtkViewport#viewport ); GtkAdjustment#gtkViewportGetVadjustment( GtkViewport#viewport ); void gtkViewportSetHadjustment( GtkViewport #viewport, GtkAdjustment#adjustment ); void gtkViewportSetVadjustment( GtkViewport #viewport, GtkAdjustment#adjustment ); The only other viewport function is used to alter its appearance: void gtkViewportSetShadowType( GtkViewport #viewport, GtkShadowType type ); Possible values for the type parameter are: GTKSHADOWNONE, GTKSHADOWIN, GTKSHADOWOUT, GTKSHADOWETCHEDIN, GTKSHADOWETCHEDOUT Scrolled Windows Scrolled windows are used to create a scrollable area with another widget inside it. You may insert any type of widget into a scrolled window, and it will be accessible regardless of the size by using the scrollbars. The following function is used to create a new scrolled window. GtkWidget#gtkScrolledWindowNew( GtkAdjustment#hadjustment, GtkAdjustment#vadjustment ); Where the first argument is the adjustment for the horizontal direction, and the second, the adjustment for the vertical direction. These are almost always set to NULL. void gtkScrolledWindowSetPolicy( GtkScrolledWindow#scrolledWindow, GtkPolicyType hscrollbarPolicy, GtkPolicyType vscrollbarPolicy ); This sets the policy to be used with respect to the scrollbars. The first argument is the scrolled window you wish to change. The second sets the policy for the horizontal scrollbar, and the third the policy for the vertical scrollbar. The policy may be one of GTKPOLICYAUTOMATIC or GTKPOLICYALWAYS. GTKPOLICYAUTOMATIC will automatically decide whether you need scrollbars, whereas GTKPOLICYALWAYS will always leave the scrollbars there. You can then place your object into the scrolled window using the following function. void gtkScrolledWindowAddWithViewport( GtkScrolledWindow#scrolledWindow, GtkWidget #child); Here is a simple example that packs a table with 100 toggle buttons into a scrolled window. I've only commented on the parts that may be new to you. #include <stdio.h> #include <gtk/gtk.h> static void destroy( GtkWidget#widget, gpointer data ) { gtkMainQuit (); } int main( int argc, char#argv[] ) { static GtkWidget#window; GtkWidget#scrolledWindow; GtkWidget#table; GtkWidget#button; char buffer[32]; int i, j; gtkInit (&argc, &argv); # Create a new dialog window for the scrolled window to be # packed into. window = gtkDialogNew (); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (destroy), NULL); gtkWindowSetTitle (GTKWINDOW (window), "GtkScrolledWindow example"); gtkContainerSetBorderWidth (GTKCONTAINER (window), 0); gtkWidgetSetSizeRequest (window, 300, 300); # create a new scrolled window. scrolledWindow = gtkScrolledWindowNew (NULL, NULL); gtkContainerSetBorderWidth (GTKCONTAINER (scrolledWindow), 10); # the policy is one of GTKPOLICY AUTOMATIC, or GTKPOLICYALWAYS. # GTKPOLICYAUTOMATIC will automatically decide whether you need # scrollbars, whereas GTKPOLICYALWAYS will always leave the scrollbars # there. The first one is the horizontal scrollbar, the second, # the vertical. gtkScrolledWindowSetPolicy (GTKSCROLLEDWINDOW (scrolledWindow), GTKPOLICYAUTOMATIC, GTKPOLICYALWAYS); # The dialog window is created with a vbox packed into it. gtkBoxPackStart (GTKBOX (GTKDIALOG(window)->vbox), scrolledWindow, TRUE, TRUE, 0); gtkWidgetShow (scrolledWindow); # create a table of 10 by 10 squares. table = gtkTableNew (10, 10, FALSE); # set the spacing to 10 on x and 10 on y gtkTableSetRowSpacings (GTKTABLE (table), 10); gtkTableSetColSpacings (GTKTABLE (table), 10); # pack the table into the scrolled window gtkScrolledWindowAddWithViewport ( GTKSCROLLEDWINDOW (scrolledWindow), table); gtkWidgetShow (table); # this simply creates a grid of toggle buttons on the table # to demonstrate the scrolled window. for (i = 0; i < 10; i++) for (j = 0; j < 10; j++) { sprintf (buffer, "button (%d,%d)\n", i, j); button = gtkToggleButtonNewWithLabel (buffer); gtkTableAttachDefaults (GTKTABLE (table), button, i, i+1, j, j+1); gtkWidgetShow (button); } # Add a "close" button to the bottom of the dialog button = gtkButtonNewWithLabel ("close"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); # this makes it so the button is the default. GTKWIDGETSETFLAGS (button, GTKCANDEFAULT); gtkBoxPackStart (GTKBOX (GTKDIALOG (window)->actionArea), button, TRUE, TRUE, 0); # This grabs this button to be the default button. Simply hitting # the "Enter" key will cause this button to activate. gtkWidgetGrabDefault (button); gtkWidgetShow (button); gtkWidgetShow (window); gtkMain(); return 0; } Try playing with resizing the window. You'll notice how the scrollbars react. You may also wish to use the gtkWidgetSetSizeRequest() call to set the default size of the window or other widgets. Button Boxes Button Boxes are a convenient way to quickly layout a group of buttons. They come in both horizontal and vertical flavours. You create a new Button Box with one of the following calls, which create a horizontal or vertical box, respectively: GtkWidget#gtkHbuttonBoxNew( void ); GtkWidget#gtkVbuttonBoxNew( void ); Buttons are added to a Button Box using the usual function: gtkContainerAdd (GTKCONTAINER (buttonBox), childWidget); Here's an example that illustrates all the different layout settings for Button Boxes. #include <gtk/gtk.h> # Create a Button Box with the specified parameters static GtkWidget#createBbox( gint horizontal, char#title, gint spacing, gint childW, gint childH, gint layout ) { GtkWidget#frame; GtkWidget#bbox; GtkWidget#button; frame = gtkFrameNew (title); if (horizontal) bbox = gtkHbuttonBoxNew (); else bbox = gtkVbuttonBoxNew (); gtkContainerSetBorderWidth (GTKCONTAINER (bbox), 5); gtkContainerAdd (GTKCONTAINER (frame), bbox); # Set the appearance of the Button Box gtkButtonBoxSetLayout (GTKBUTTONBOX (bbox), layout); gtkBoxSetSpacing (GTKBOX (bbox), spacing); #gtkButtonBoxSetChildSize (GTKBUTTONBOX (bbox), childW, childH); button = gtkButtonNewFromStock (GTKSTOCKOK); gtkContainerAdd (GTKCONTAINER (bbox), button); button = gtkButtonNewFromStock (GTKSTOCKCANCEL); gtkContainerAdd (GTKCONTAINER (bbox), button); button = gtkButtonNewFromStock (GTKSTOCKHELP); gtkContainerAdd (GTKCONTAINER (bbox), button); return frame; } int main( int argc, char#argv[] ) { static GtkWidget* window = NULL; GtkWidget#mainVbox; GtkWidget#vbox; GtkWidget#hbox; GtkWidget#frameHorz; GtkWidget#frameVert; # Initialize GTK gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Button Boxes"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); mainVbox = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), mainVbox); frameHorz = gtkFrameNew ("Horizontal Button Boxes"); gtkBoxPackStart (GTKBOX (mainVbox), frameHorz, TRUE, TRUE, 10); vbox = gtkVboxNew (FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (vbox), 10); gtkContainerAdd (GTKCONTAINER (frameHorz), vbox); gtkBoxPackStart (GTKBOX (vbox), createBbox (TRUE, "Spread (spacing 40)", 40, 85, 20, GTKBUTTONBOXSPREAD), TRUE, TRUE, 0); gtkBoxPackStart (GTKBOX (vbox), createBbox (TRUE, "Edge (spacing 30)", 30, 85, 20, GTKBUTTONBOXEDGE), TRUE, TRUE, 5); gtkBoxPackStart (GTKBOX (vbox), createBbox (TRUE, "Start (spacing 20)", 20, 85, 20, GTKBUTTONBOXSTART), TRUE, TRUE, 5); gtkBoxPackStart (GTKBOX (vbox), createBbox (TRUE, "End (spacing 10)", 10, 85, 20, GTKBUTTONBOXEND), TRUE, TRUE, 5); frameVert = gtkFrameNew ("Vertical Button Boxes"); gtkBoxPackStart (GTKBOX (mainVbox), frameVert, TRUE, TRUE, 10); hbox = gtkHboxNew (FALSE, 0); gtkContainerSetBorderWidth (GTKCONTAINER (hbox), 10); gtkContainerAdd (GTKCONTAINER (frameVert), hbox); gtkBoxPackStart (GTKBOX (hbox), createBbox (FALSE, "Spread (spacing 5)", 5, 85, 20, GTKBUTTONBOXSPREAD), TRUE, TRUE, 0); gtkBoxPackStart (GTKBOX (hbox), createBbox (FALSE, "Edge (spacing 30)", 30, 85, 20, GTKBUTTONBOXEDGE), TRUE, TRUE, 5); gtkBoxPackStart (GTKBOX (hbox), createBbox (FALSE, "Start (spacing 20)", 20, 85, 20, GTKBUTTONBOXSTART), TRUE, TRUE, 5); gtkBoxPackStart (GTKBOX (hbox), createBbox (FALSE, "End (spacing 20)", 20, 85, 20, GTKBUTTONBOXEND), TRUE, TRUE, 5); gtkWidgetShowAll (window); # Enter the event loop gtkMain (); return 0; } Toolbar Toolbars are usually used to group some number of widgets in order to simplify customization of their look and layout. Typically a toolbar consists of buttons with icons, labels and tooltips, but any other widget can also be put inside a toolbar. Finally, items can be arranged horizontally or vertically and buttons can be displayed with icons, labels, or both. Creating a toolbar is (as one may already suspect) done with the following function: GtkWidget#gtkToolbarNew( void ); After creating a toolbar one can append, prepend and insert items (that means simple text strings) or elements (that means any widget types) into the toolbar. To describe an item we need a label text, a tooltip text, a private tooltip text, an icon for the button and a callback function for it. For example, to append or prepend an item you may use the following functions: GtkWidget#gtkToolbarAppendItem( GtkToolbar #toolbar, const char #text, const char #tooltipText, const char #tooltipPrivateText, GtkWidget #icon, GtkSignalFunc callback, gpointer userData ); GtkWidget#gtkToolbarPrependItem( GtkToolbar #toolbar, const char #text, const char #tooltipText, const char #tooltipPrivateText, GtkWidget #icon, GtkSignalFunc callback, gpointer userData ); If you want to use gtkToolbarInsertItem(), the only additional parameter which must be specified is the position in which the item should be inserted, thus: GtkWidget#gtkToolbarInsertItem( GtkToolbar #toolbar, const char #text, const char #tooltipText, const char #tooltipPrivateText, GtkWidget #icon, GtkSignalFunc callback, gpointer userData, gint position ); To simplify adding spaces between toolbar items, you may use the following functions: void gtkToolbarAppendSpace( GtkToolbar#toolbar ); void gtkToolbarPrependSpace( GtkToolbar#toolbar ); void gtkToolbarInsertSpace( GtkToolbar#toolbar, gint position ); If it's required, the orientation of a toolbar and its style can be changed "on the fly" using the following functions: void gtkToolbarSetOrientation( GtkToolbar #toolbar, GtkOrientation orientation ); void gtkToolbarSetStyle( GtkToolbar #toolbar, GtkToolbarStyle style ); void gtkToolbarSetTooltips( GtkToolbar#toolbar, gint enable ); Where orientation is one of GTKORIENTATIONHORIZONTAL or GTKORIENTATIONVERTICAL. The style is used to set appearance of the toolbar items by using one of GTKTOOLBARICONS, GTKTOOLBARTEXT, or GTKTOOLBARBOTH. To show some other things that can be done with a toolbar, let's take the following program (we'll interrupt the listing with some additional explanations): #include <gtk/gtk.h> # This function is connected to the Close button or # closing the window from the WM static gboolean deleteEvent( GtkWidget#widget, GdkEvent#event, gpointer data ) { gtkMainQuit (); return FALSE; } The above beginning seems for sure familiar to you if it's not your first GTK program. There is one additional thing though, we include a nice XPM picture to serve as an icon for all of the buttons. GtkWidget* closeButton; # This button will emit signal to close # application GtkWidget* tooltipsButton; # to enable/disable tooltips GtkWidget* textButton, # iconButton, # bothButton; # radio buttons for toolbar style GtkWidget* entry; # a text entry to show packing any widget into # toolbar In fact not all of the above widgets are needed here, but to make things clearer I put them all together. # that's easy... when one of the buttons is toggled, we just # check which one is active and set the style of the toolbar # accordingly # ATTENTION: our toolbar is passed as data to callback ! static void radioEvent( GtkWidget#widget, gpointer data ) { if (GTKTOGGLEBUTTON (textButton)->active) gtkToolbarSetStyle (GTKTOOLBAR (data), GTKTOOLBARTEXT); else if (GTKTOGGLEBUTTON (iconButton)->active) gtkToolbarSetStyle (GTKTOOLBAR (data), GTKTOOLBARICONS); else if (GTKTOGGLEBUTTON (bothButton)->active) gtkToolbarSetStyle (GTKTOOLBAR (data), GTKTOOLBARBOTH); } # even easier, just check given toggle button and enable/disable # tooltips static void toggleEvent( GtkWidget#widget, gpointer data ) { gtkToolbarSetTooltips (GTKTOOLBAR (data), GTKTOGGLEBUTTON (widget)->active ); } The above are just two callback functions that will be called when one of the buttons on a toolbar is pressed. You should already be familiar with things like this if you've already used toggle buttons (and radio buttons). int main (int argc, char#argv[]) { # Here is our main window (a dialog) and a handle for the handlebox GtkWidget* dialog; GtkWidget* handlebox; # Ok, we need a toolbar, an icon with a mask (one for all of the buttons) and an icon widget to put this icon in (but we'll create a separate widget for each button) GtkWidget# toolbar; GtkWidget# iconw; # this is called in all GTK application. gtkInit (&argc, &argv); # create a new window with a given title, and nice size dialog = gtkDialogNew (); gtkWindowSetTitle (GTKWINDOW (dialog), "GTKToolbar Tutorial"); gtkWidgetSetSizeRequest (GTKWIDGET (dialog), 600, 300); GTKWINDOW (dialog)->allowShrink = TRUE; # typically we quit if someone tries to close us gSignalConnect (GOBJECT (dialog), "deleteEvent", GCALLBACK (deleteEvent), NULL); # we need to realize the window because we use pixmaps for # items on the toolbar in the context of it gtkWidgetRealize (dialog); # to make it nice we'll put the toolbar into the handle box, # so that it can be detached from the main window handlebox = gtkHandleBoxNew (); gtkBoxPackStart (GTKBOX (GTKDIALOG (dialog)->vbox), handlebox, FALSE, FALSE, 5); The above should be similar to any other GTK application. Just initialization of GTK, creating the window, etc. There is only one thing that probably needs some explanation: a handle box. A handle box is just another box that can be used to pack widgets in to. The difference between it and typical boxes is that it can be detached from a parent window (or, in fact, the handle box remains in the parent, but it is reduced to a very small rectangle, while all of its contents are reparented to a new freely floating window). It is usually nice to have a detachable toolbar, so these two widgets occur together quite often. # toolbar will be horizontal, with both icons and text, and # with 5pxl spaces between items and finally, # we'll also put it into our handlebox toolbar = gtkToolbarNew (); gtkToolbarSetOrientation (GTKTOOLBAR (toolbar), GTKORIENTATIONHORIZONTAL); gtkToolbarSetStyle (GTKTOOLBAR (toolbar), GTKTOOLBARBOTH); gtkContainerSetBorderWidth (GTKCONTAINER (toolbar), 5); gtkToolbarSetSpaceSize (GTKTOOLBAR (toolbar), 5); gtkContainerAdd (GTKCONTAINER (handlebox), toolbar); Well, what we do above is just a straightforward initialization of the toolbar widget. # our first item is <close> button iconw = gtkImageNewFromFile ("gtk.xpm"); # icon widget closeButton = gtkToolbarAppendItem (GTKTOOLBAR (toolbar), # our toolbar "Close", # button label "Closes this app", # this button's tooltip "Private", # tooltip private info iconw, # icon widget GTKSIGNALFUNC (deleteEvent), # a signal NULL); gtkToolbarAppendSpace (GTKTOOLBAR (toolbar)); # space after item In the above code you see the simplest case: adding a button to toolbar. Just before appending a new item, we have to construct an image widget to serve as an icon for this item; this step will have to be repeated for each new item. Just after the item we also add a space, so the following items will not touch each other. As you see gtkToolbarAppendItem() returns a pointer to our newly created button widget, so that we can work with it in the normal way. # now, let's make our radio buttons group... iconw = gtkImageNewFromFile ("gtk.xpm"); iconButton = gtkToolbarAppendElement ( GTKTOOLBAR (toolbar), GTKTOOLBARCHILDRADIOBUTTON, # a type of element NULL, # pointer to widget "Icon", # label "Only icons in toolbar", # tooltip "Private", # tooltip private string iconw, # icon GTKSIGNALFUNC (radioEvent), # signal toolbar); # data for signal gtkToolbarAppendSpace (GTKTOOLBAR (toolbar)); Here we begin creating a radio buttons group. To do this we use gtkToolbarAppendElement. In fact, using this function one can also +add simple items or even spaces (type = GTKTOOLBARCHILDSPACE or +GTKTOOLBARCHILDBUTTON). In the above case we start creating a radio group. In creating other radio buttons for this group a pointer to the previous button in the group is required, so that a list of buttons can be easily constructed (see the section on Radio Buttons earlier in this tutorial). # following radio buttons refer to previous ones iconw = gtkImageNewFromFile ("gtk.xpm"); textButton = gtkToolbarAppendElement (GTKTOOLBAR (toolbar), GTKTOOLBARCHILDRADIOBUTTON, iconButton, "Text", "Only texts in toolbar", "Private", iconw, GTKSIGNALFUNC (radioEvent), toolbar); gtkToolbarAppendSpace (GTKTOOLBAR (toolbar)); iconw = gtkImageNewFromFile ("gtk.xpm"); bothButton = gtkToolbarAppendElement (GTKTOOLBAR (toolbar), GTKTOOLBARCHILDRADIOBUTTON, textButton, "Both", "Icons and text in toolbar", "Private", iconw, GTKSIGNALFUNC (radioEvent), toolbar); gtkToolbarAppendSpace (GTKTOOLBAR (toolbar)); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (bothButton), TRUE); In the end we have to set the state of one of the buttons manually (otherwise they all stay in active state, preventing us from switching between them). # here we have just a simple toggle button iconw = gtkImageNewFromFile ("gtk.xpm"); tooltipsButton = gtkToolbarAppendElement (GTKTOOLBAR (toolbar), GTKTOOLBARCHILDTOGGLEBUTTON, NULL, "Tooltips", "Toolbar with or without tips", "Private", iconw, GTKSIGNALFUNC (toggleEvent), toolbar); gtkToolbarAppendSpace (GTKTOOLBAR (toolbar)); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (tooltipsButton), TRUE); A toggle button can be created in the obvious way (if one knows how to create radio buttons already). # to pack a widget into toolbar, we only have to # create it and append it with an appropriate tooltip entry = gtkEntryNew (); gtkToolbarAppendWidget (GTKTOOLBAR (toolbar), entry, "This is just an entry", "Private"); # well, it isn't created within the toolbar, so we must still show it gtkWidgetShow (entry); As you see, adding any kind of widget to a toolbar is simple. The one thing you have to remember is that this widget must be shown manually (contrary to other items which will be shown together with the toolbar). # that's it ! let's show everything. gtkWidgetShow (toolbar); gtkWidgetShow (handlebox); gtkWidgetShow (dialog); # rest in gtkMain and wait for the fun to begin! gtkMain (); return 0; } So, here we are at the end of toolbar tutorial. Of course, to appreciate it in full you need also this nice XPM icon, so here it is: # XPM static char# gtkXpm[] = { "32 39 5 1", ". c none", "+ c black", "@ c #3070E0", "# c #F05050", "$ c #35E035", "................+...............", "..............+++++.............", "............+++++@@++...........", "..........+++++@@@@@@++.........", "........++++@@@@@@@@@@++........", "......++++@@++++++++@@@++.......", ".....+++@@@+++++++++++@@@++.....", "...+++@@@@+++@@@@@@++++@@@@+....", "..+++@@@@+++@@@@@@@@+++@@@@@++..", ".++@@@@@@+++@@@@@@@@@@@@@@@@@@++", ".+#+@@@@@@++@@@@+++@@@@@@@@@@@@+", ".+##++@@@@+++@@@+++++@@@@@@@@$@.", ".+###++@@@@+++@@@+++@@@@@++$$$@.", ".+####+++@@@+++++++@@@@@+@$$$$@.", ".+#####+++@@@@+++@@@@++@$$$$$$+.", ".+######++++@@@@@@@++@$$$$$$$$+.", ".+#######+##+@@@@+++$$$$$$@@$$+.", ".+###+++##+##+@@++@$$$$$$++$$$+.", ".+###++++##+##+@@$$$$$$$@+@$$@+.", ".+###++++++#+++@$$@+@$$@++$$$@+.", ".+####+++++++#++$$@+@$$++$$$$+..", ".++####++++++#++$$@+@$++@$$$$+..", ".+#####+++++##++$$++@+++$$$$$+..", ".++####+++##+#++$$+++++@$$$$$+..", ".++####+++####++$$++++++@$$$@+..", ".+#####++#####++$$+++@++++@$@+..", ".+#####++#####++$$++@$$@+++$@@..", ".++####++#####++$$++$$$$$+@$@++.", ".++####++#####++$$++$$$$$$$$+++.", ".+++####+#####++$$++$$$$$$$@+++.", "..+++#########+@$$+@$$$$$$+++...", "...+++########+@$$$$$$$$@+++....", ".....+++######+@$$$$$$$+++......", "......+++#####+@$$$$$@++........", ".......+++####+@$$$$+++.........", ".........++###+$$$@++...........", "..........++##+$@+++............", "...........+++++++..............", ".............++++..............."}; Notebooks The NoteBook Widget is a collection of "pages" that overlap each other, each page contains different information with only one page visible at a time. This widget has become more common lately in GUI programming, and it is a good way to show blocks of similar information that warrant separation in their display. The first function call you will need to know, as you can probably guess by now, is used to create a new notebook widget. GtkWidget#gtkNotebookNew( void ); Once the notebook has been created, there are a number of functions that operate on the notebook widget. Let's look at them individually. The first one we will look at is how to position the page indicators. These page indicators or "tabs" as they are referred to, can be positioned in four ways: top, bottom, left, or right. void gtkNotebookSetTabPos( GtkNotebook #notebook, GtkPositionType pos ); GtkPositionType will be one of the following, which are pretty self explanatory: GTKPOSLEFT GTKPOSRIGHT GTKPOSTOP GTKPOSBOTTOM GTKPOSTOP is the default. Next we will look at how to add pages to the notebook. There are three ways to add pages to the NoteBook. Let's look at the first two together as they are quite similar. void gtkNotebookAppendPage( GtkNotebook#notebook, GtkWidget #child, GtkWidget #tabLabel ); void gtkNotebookPrependPage( GtkNotebook#notebook, GtkWidget #child, GtkWidget #tabLabel ); These functions add pages to the notebook by inserting them from the back of the notebook (append), or the front of the notebook (prepend). child is the widget that is placed within the notebook page, and tabLabel is the label for the page being added. The child widget must be created separately, and is typically a set of options setup witin one of the other container widgets, such as a table. The final function for adding a page to the notebook contains all of the properties of the previous two, but it allows you to specify what position you want the page to be in the notebook. void gtkNotebookInsertPage( GtkNotebook#notebook, GtkWidget #child, GtkWidget #tabLabel, gint position ); The parameters are the same as Append and Prepend except it contains an extra parameter, position. This parameter is used to specify what place this page will be inserted into the first page having position zero. Now that we know how to add a page, lets see how we can remove a page from the notebook. void gtkNotebookRemovePage( GtkNotebook#notebook, gint pageNum ); This function takes the page specified by pageNum and removes it from the widget pointed to by notebook. To find out what the current page is in a notebook use the function: gint gtkNotebookGetCurrentPage( GtkNotebook#notebook ); These next two functions are simple calls to move the notebook page forward or backward. Simply provide the respective function call with the notebook widget you wish to operate on. Note: When the NoteBook is currently on the last page, and gtkNotebookNextPage() is called, the notebook will wrap back to the first page. Likewise, if the NoteBook is on the first page, and gtkNotebookPrevPage() is called, the notebook will wrap to the last page. void gtkNotebookNextPage( GtkNoteBook#notebook ); void gtkNotebookPrevPage( GtkNoteBook#notebook ); This next function sets the "active" page. If you wish the notebook to be opened to page 5 for example, you would use this function. Without using this function, the notebook defaults to the first page. void gtkNotebookSetCurrentPage( GtkNotebook#notebook, gint pageNum ); The next two functions add or remove the notebook page tabs and the notebook border respectively. void gtkNotebookSetShowTabs( GtkNotebook#notebook, gboolean showTabs ); void gtkNotebookSetShowBorder( GtkNotebook#notebook, gboolean showBorder ); The next function is useful when the you have a large number of pages, and the tabs don't fit on the page. It allows the tabs to be scrolled through using two arrow buttons. void gtkNotebookSetScrollable( GtkNotebook#notebook, gboolean scrollable ); showTabs, showBorder and scrollable can be either TRUE or FALSE. Now let's look at an example, it is expanded from the testgtk.c code that comes with the GTK distribution. This small program creates a window with a notebook and six buttons. The notebook contains 11 pages, added in three different ways, appended, inserted, and prepended. The buttons allow you rotate the tab positions, add/remove the tabs and border, remove a page, change pages in both a forward and backward manner, and exit the program. #include <stdio.h> #include <gtk/gtk.h> # This function rotates the position of the tabs static void rotateBook( GtkButton #button, GtkNotebook#notebook ) { gtkNotebookSetTabPos (notebook, (notebook->tabPos + 1) % 4); } # Add/Remove the page tabs and the borders static void tabsborderBook( GtkButton #button, GtkNotebook#notebook ) { gint tval = FALSE; gint bval = FALSE; if (notebook->showTabs == 0) tval = TRUE; if (notebook->showBorder == 0) bval = TRUE; gtkNotebookSetShowTabs (notebook, tval); gtkNotebookSetShowBorder (notebook, bval); } # Remove a page from the notebook static void removeBook( GtkButton #button, GtkNotebook#notebook ) { gint page; page = gtkNotebookGetCurrentPage (notebook); gtkNotebookRemovePage (notebook, page); # Need to refresh the widget -- This forces the widget to redraw itself. gtkWidgetQueueDraw (GTKWIDGET (notebook)); } static gboolean delete( GtkWidget#widget, GtkWidget#event, gpointer data ) { gtkMainQuit (); return FALSE; } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#button; GtkWidget#table; GtkWidget#notebook; GtkWidget#frame; GtkWidget#label; GtkWidget#checkbutton; int i; char bufferf[32]; char bufferl[32]; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "deleteEvent", GCALLBACK (delete), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); table = gtkTableNew (3, 6, FALSE); gtkContainerAdd (GTKCONTAINER (window), table); # Create a new notebook, place the position of the tabs notebook = gtkNotebookNew (); gtkNotebookSetTabPos (GTKNOTEBOOK (notebook), GTKPOSTOP); gtkTableAttachDefaults (GTKTABLE (table), notebook, 0, 6, 0, 1); gtkWidgetShow (notebook); # Let's append a bunch of pages to the notebook for (i = 0; i < 5; i++) { sprintf(bufferf, "Append Frame %d", i + 1); sprintf(bufferl, "Page %d", i + 1); frame = gtkFrameNew (bufferf); gtkContainerSetBorderWidth (GTKCONTAINER (frame), 10); gtkWidgetSetSizeRequest (frame, 100, 75); gtkWidgetShow (frame); label = gtkLabelNew (bufferf); gtkContainerAdd (GTKCONTAINER (frame), label); gtkWidgetShow (label); label = gtkLabelNew (bufferl); gtkNotebookAppendPage (GTKNOTEBOOK (notebook), frame, label); } # Now let's add a page to a specific spot checkbutton = gtkCheckButtonNewWithLabel ("Check me please!"); gtkWidgetSetSizeRequest (checkbutton, 100, 75); gtkWidgetShow (checkbutton); label = gtkLabelNew ("Add page"); gtkNotebookInsertPage (GTKNOTEBOOK (notebook), checkbutton, label, 2); # Now finally let's prepend pages to the notebook for (i = 0; i < 5; i++) { sprintf (bufferf, "Prepend Frame %d", i + 1); sprintf (bufferl, "PPage %d", i + 1); frame = gtkFrameNew (bufferf); gtkContainerSetBorderWidth (GTKCONTAINER (frame), 10); gtkWidgetSetSizeRequest (frame, 100, 75); gtkWidgetShow (frame); label = gtkLabelNew (bufferf); gtkContainerAdd (GTKCONTAINER (frame), label); gtkWidgetShow (label); label = gtkLabelNew (bufferl); gtkNotebookPrependPage (GTKNOTEBOOK (notebook), frame, label); } # Set what page to start at (page 4) gtkNotebookSetCurrentPage (GTKNOTEBOOK (notebook), 3); # Create a bunch of buttons button = gtkButtonNewWithLabel ("close"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (delete), NULL); gtkTableAttachDefaults (GTKTABLE (table), button, 0, 1, 1, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("next page"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkNotebookNextPage), GOBJECT (notebook)); gtkTableAttachDefaults (GTKTABLE (table), button, 1, 2, 1, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("prev page"); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkNotebookPrevPage), GOBJECT (notebook)); gtkTableAttachDefaults (GTKTABLE (table), button, 2, 3, 1, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("tab position"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (rotateBook), (gpointer) notebook); gtkTableAttachDefaults (GTKTABLE (table), button, 3, 4, 1, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("tabs/border on/off"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (tabsborderBook), (gpointer) notebook); gtkTableAttachDefaults (GTKTABLE (table), button, 4, 5, 1, 2); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("remove page"); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (removeBook), (gpointer) notebook); gtkTableAttachDefaults (GTKTABLE (table), button, 5, 6, 1, 2); gtkWidgetShow (button); gtkWidgetShow (table); gtkWidgetShow (window); gtkMain (); return 0; } I hope this helps you on your way with creating notebooks for your GTK applications. Menu Widget There are two ways to create menus: there's the easy way, and there's the hard way. Both have their uses, but you can usually use the Itemfactory (the easy way). The "hard" way is to create all the menus using the calls directly. The easy way is to use the gtkItemFactory calls. This is much simpler, but there are advantages and disadvantages to each approach. The Itemfactory is much easier to use, and to add new menus to, although writing a few wrapper functions to create menus using the manual method could go a long way towards usability. With the Itemfactory, it is not possible to add images or the character '/' to the menus. Manual Menu Creation In the true tradition of teaching, we'll show you the hard way first. :) There are three widgets that go into making a menubar and submenus: a menu item, which is what the user wants to select, e.g., "Save" a menu, which acts as a container for the menu items, and a menubar, which is a container for each of the individual menus. This is slightly complicated by the fact that menu item widgets are used for two different things. They are both the widgets that are packed into the menu, and the widget that is packed into the menubar, which, when selected, activates the menu. Let's look at the functions that are used to create menus and menubars. This first function is used to create a new menubar. GtkWidget#gtkMenuBarNew( void ); This rather self explanatory function creates a new menubar. You use gtkContainerAdd() to pack this into a window, or the boxPack functions to pack it into a box - the same as buttons. GtkWidget#gtkMenuNew( void ); This function returns a pointer to a new menu; it is never actually shown (with gtkWidgetShow()), it is just a container for the menu items. I hope this will become more clear when you look at the example below. The next three calls are used to create menu items that are packed into the menu (and menubar). GtkWidget#gtkMenuItemNew( void ); GtkWidget#gtkMenuItemNewWithLabel( const char#label ); GtkWidget#gtkMenuItemNewWithMnemnonic( const char#label ); These calls are used to create the menu items that are to be displayed. Remember to differentiate between a "menu" as created with gtkMenuNew() and a "menu item" as created by the gtkMenuItemNew() functions. The menu item will be an actual button with an associated action, whereas a menu will be a container holding menu items. The gtkMenuItemNewWithLabel() and gtkMenuItemNew() functions are just as you'd expect after reading about the buttons. One creates a new menu item with a label already packed into it, and the other just creates a blank menu item. Once you've created a menu item you have to put it into a menu. This is done using the function gtkMenuShelllAppend. In order to capture when the item is selected by the user, we need to connect to the activate signal in the usual way. So, if we wanted to create a standard File menu, with the options Open, Save, and Quit, the code would look something like: fileMenu = gtkMenuNew (); # Don't need to show menus # Create the menu items openItem = gtkMenuItemNewWithLabel ("Open"); saveItem = gtkMenuItemNewWithLabel ("Save"); quitItem = gtkMenuItemNewWithLabel ("Quit"); # Add them to the menu gtkMenuShellAppend (GTKMENUSHELL (fileMenu), openItem); gtkMenuShellAppend (GTKMENUSHELL (fileMenu), saveItem); gtkMenuShellAppend (GTKMENUSHELL (fileMenu), quitItem); # Attach the callback functions to the activate signal gSignalConnectSwapped (GOBJECT (openItem), "activate", GCALLBACK (menuitemResponse), (gpointer) "file.open"); gSignalConnectSwapped (GOBJECT (saveItem), "activate", GCALLBACK (menuitemResponse), (gpointer) "file.save"); # We can attach the Quit menu item to our exit function gSignalConnectSwapped (GOBJECT (quitItem), "activate", GCALLBACK (destroy), (gpointer) "file.quit"); # We do need to show menu items gtkWidgetShow (openItem); gtkWidgetShow (saveItem); gtkWidgetShow (quitItem); At this point we have our menu. Now we need to create a menubar and a menu item for the File entry, to which we add our menu. The code looks like this: menuBar = gtkMenuBarNew (); gtkContainerAdd (GTKCONTAINER (window), menuBar); gtkWidgetShow (menuBar); fileItem = gtkMenuItemNewWithLabel ("File"); gtkWidgetShow (fileItem); Now we need to associate the menu with fileItem. This is done with the function void gtkMenuItemSetSubmenu( GtkMenuItem#menuItem, GtkWidget #submenu ); So, our example would continue with gtkMenuItemSetSubmenu (GTKMENUITEM (fileItem), fileMenu); All that is left to do is to add the menu to the menubar, which is accomplished using the function void gtkMenuBarAppend( GtkMenuBar#menuBar, GtkWidget #menuItem ); which in our case looks like this: gtkMenuBarAppend (GTKMENUBAR (menuBar), fileItem); If we wanted the menu right justified on the menubar, such as help menus often are, we can use the following function (again on fileItem in the current example) before attaching it to the menubar. void gtkMenuItemRightJustify( GtkMenuItem#menuItem ); Here is a summary of the steps needed to create a menu bar with menus attached: Create a new menu using gtkMenuNew() Use multiple calls to gtkMenuItemNew() for each item you wish to have on your menu. And use gtkMenuShellAppend() to put each of these new items on to the menu. Create a menu item using gtkMenuItemNew(). This will be the root of the menu, the text appearing here will be on the menubar itself. Use gtkMenuItemSetSubmenu() to attach the menu to the root menu item (the one created in the above step). Create a new menubar using gtkMenuBarNew. This step only needs to be done once when creating a series of menus on one menu bar. Use gtkMenuBarAppend() to put the root menu onto the menubar. Creating a popup menu is nearly the same. The difference is that the menu is not posted "automatically" by a menubar, but explicitly by calling the function gtkMenuPopup() from a button-press event, for example. Take these steps: Create an event handling function. It needs to have the prototype static gboolean handler( GtkWidget#widget, GdkEvent #event ); and it will use the event to find out where to pop up the menu. In the event handler, if the event is a mouse button press, treat event as a button event (which it is) and use it as shown in the sample code to pass information to gtkMenuPopup(). Bind that event handler to a widget with gSignalConnectSwapped (GOBJECT (widget), "event", GCALLBACK (handler), GOBJECT (menu)); where widget is the widget you are binding to, handler is the handling function, and menu is a menu created with gtkMenuNew(). This can be a menu which is also posted by a menu bar, as shown in the sample code. Manual Menu Example That should about do it. Let's take a look at an example to help clarify. #include <stdio.h> #include <gtk/gtk.h> static gboolean buttonPress (GtkWidget#, GdkEvent#); static void menuitemResponse (gchar#); int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#menu; GtkWidget#menuBar; GtkWidget#rootMenu; GtkWidget#menuItems; GtkWidget#vbox; GtkWidget#button; char buf[128]; int i; gtkInit (&argc, &argv); # create a new window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetSizeRequest (GTKWIDGET (window), 200, 100); gtkWindowSetTitle (GTKWINDOW (window), "GTK Menu Test"); gSignalConnect (GOBJECT (window), "deleteEvent", GCALLBACK (gtkMainQuit), NULL); # Init the menu-widget, and remember -- never # gtkShowWidget() the menu widget!! # This is the menu that holds the menu items, the one that # will pop up when you click on the "Root Menu" in the app menu = gtkMenuNew (); # Next we make a little loop that makes three menu-entries for "test-menu". # Notice the call to gtkMenuShellAppend. Here we are adding a list of # menu items to our menu. Normally, we'd also catch the "clicked" # signal on each of the menu items and setup a callback for it, # but it's omitted here to save space. for (i = 0; i < 3; i++) { # Copy the names to the buf. sprintf (buf, "Test-undermenu - %d", i); # Create a new menu-item with a name... menuItems = gtkMenuItemNewWithLabel (buf); # ...and add it to the menu. gtkMenuShellAppend (GTKMENUSHELL (menu), menuItems); # Do something interesting when the menuitem is selected gSignalConnectSwapped (GOBJECT (menuItems), "activate", GCALLBACK (menuitemResponse), (gpointer) gStrdup (buf)); # Show the widget gtkWidgetShow (menuItems); } # This is the root menu, and will be the label # displayed on the menu bar. There won't be a signal handler attached, # as it only pops up the rest of the menu when pressed. rootMenu = gtkMenuItemNewWithLabel ("Root Menu"); gtkWidgetShow (rootMenu); # Now we specify that we want our newly created "menu" to be the menu # for the "root menu" gtkMenuItemSetSubmenu (GTKMENUITEM (rootMenu), menu); # A vbox to put a menu and a button in: vbox = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); # Create a menu-bar to hold the menus and add it to our main window menuBar = gtkMenuBarNew (); gtkBoxPackStart (GTKBOX (vbox), menuBar, FALSE, FALSE, 2); gtkWidgetShow (menuBar); # Create a button to which to attach menu as a popup button = gtkButtonNewWithLabel ("press me"); gSignalConnectSwapped (GOBJECT (button), "event", GCALLBACK (buttonPress), GOBJECT (menu)); gtkBoxPackEnd (GTKBOX (vbox), button, TRUE, TRUE, 2); gtkWidgetShow (button); # And finally we append the menu-item to the menu-bar -- this is the # "root" menu-item I have been raving about =) gtkMenuShellAppend (GTKMENUSHELL (menuBar), rootMenu); # always display the window as the last step so it all splashes on # the screen at once. gtkWidgetShow (window); gtkMain (); return 0; } # Respond to a button-press by posting a menu passed in as widget. # # Note that the "widget" argument is the menu being posted, NOT # the button that was pressed. static gboolean buttonPress( GtkWidget#widget, GdkEvent#event ) { if (event->type == GDKBUTTONPRESS) { GdkEventButton#bevent = (GdkEventButton#) event; gtkMenuPopup (GTKMENU (widget), NULL, NULL, NULL, NULL, bevent->button, bevent->time); # Tell calling code that we have handled this event; the buck # stops here. return TRUE; } # Tell calling code that we have not handled this event; pass it on. return FALSE; } # Print a string when a menu item is selected static void menuitemResponse( gchar#string ) { printf ("%s\n", string); } You may also set a menu item to be insensitive and, using an accelerator table, bind keys to menu functions. Using ItemFactory Now that we've shown you the hard way, here's how you do it using the gtkItemFactory calls. ItemFactory creates a menu out of an array of ItemFactory entries. This means you can define your menu in its simplest form and then create the menu/menubar widgets with a minimum of function calls. ItemFactory entries At the core of ItemFactory is the ItemFactoryEntry. This structure defines one menu item, and when an array of these entries is defined a whole menu is formed. The ItemFactory entry struct definition looks like this: struct GtkItemFactoryEntry { gchar#path; gchar#accelerator; GtkItemFactoryCallback callback; guint callbackAction; gchar #itemType; }; Each field defines part of the menu item. *path is a string which defines both the name and the path of a menu item, for example, "/File/Open" would be the name of a menu item which would come under the ItemFactory entry with path "/File". Note however that "/File/Open" would be displayed in the File menu as "Open". Also note since the forward slashes are used to define the path of the menu, they cannot be used as part of the name. A letter preceded by an underscore indicates an accelerator (shortcut) key once the menu is open. *accelerator is a string that indicates a key combination that can be used as a shortcut to that menu item. The string can be made up of either a single character, or a combination of modifier keys with a single character. It is case insensitive. The available modifier keys are: "<ALT> - alt "<CTL>" or "<CTRL>" or "<CONTROL>" - control "<MOD1>" to "<MOD5>" - modn "<SHFT>" or "<SHIFT>" - shift Examples: "<ConTroL>a" "<SHFT><ALT><CONTROL>X" callback is the function that is called when the menu item emits the "activate" signal. The form of the callback is described in the Callback Description section. The value of callbackAction is passed to the callback function. It also affects the function prototype, as shown in the Callback Description section. itemType is a string that defines what type of widget is packed into the menu items container. It can be: NULL or "" or "<Item>" - create a simple item "<Title>" - create a title item "<CheckItem>" - create a check item "<ToggleItem>" - create a toggle item "<RadioItem>" - create a (root) radio item "Path" - create a sister radio item "<Tearoff>" - create a tearoff "<Separator>" - create a separator "<Branch>" - create an item to hold submenus (optional) "<LastBranch>" - create a right justified branch "<StockItem>" - create a simple item with a stock image. see gtkstock.h for builtin stock items Note that <LastBranch> is only useful for one submenu of a menubar. Callback Description The callback for an ItemFactory entry can take two forms. If callbackAction is zero, it is of the following form: void callback( void ) otherwise it is of the form: void callback( gpointer callbackData, guint callbackAction, GtkWidget #widget ) callbackData is a pointer to an arbitrary piece of data and is set during the call to gtkItemFactoryCreateItems(). callbackAction is the same value as callbackAction in the ItemFactory entry. *widget is a pointer to a menu item widget (described in Manual Menu Creation). ItemFactory entry examples Creating a simple menu item: GtkItemFactoryEntry entry = {"/File/Open...", "<CTRL>O", printHello, 0, "<Item>"}; This will define a new simple menu entry "/File/Open" (displayed as "Open"), under the menu entry "/File". It has the accelerator (shortcut) control+'O' that when clicked calls the function printHello(). printHello() is of the form void printHello(void) since the callbackAction field is zero. When displayed the 'O' in "Open" will be underlined and if the menu item is visible on the screen pressing 'O' will activate the item. Note that "File/Open" could also have been used as the path instead of "/File/Open". Creating an entry with a more complex callback: GtkItemFactoryEntry entry = {"/View/Display FPS", NULL, printState, 7,"<CheckItem>"}; This defines a new menu item displayed as "Display FPS" which is under the menu item "View". When clicked the function printState() will be called. Since callbackAction is not zero printState() is of the form: void printState( gpointer callbackData, guint callbackAction, GtkWidget #widget ) with callbackAction equal to 7. Creating a radio button set: GtkItemFactoryEntry entry1 = {"/View/Low Resolution", NULL, changeResolution, 1, "<RadioButton>"}; GtkItemFactoryEntry entry2 = {"/View/High Resolution", NULL, changeResolution, 2, "/View/Low Resolution"}; entry1 defines a lone radio button that when toggled calls the function changeResolution() with the parameter callbackAction equal to 1. changeResolution() is of the form: void changeResolution(gpointer callbackData, guint callbackAction, GtkWidget #widget) entry2 defines a radio button that belongs to the radio group that entry1 belongs to. It calls the same function when toggled but with the parameter callbackAction equal to 2. Note that the itemType of entry2 is the path of entry1 without the accelerators (''). If another radio button was required in the same group then it would be defined in the same way as entry2 was with its itemType again equal to "/View/Low Resolution". ItemFactoryEntry Arrays An ItemFactoryEntry on it's own however isn't useful. An array of entries is what's required to define a menu. Below is an example of how you'd declare this array. static GtkItemFactoryEntry entries[] = { { "/File", NULL, NULL, 0, "<Branch>" }, { "/File/tear1", NULL, NULL, 0, "<Tearoff>" }, { "/File/New", "<CTRL>N", newFile, 1, "<Item>" }, { "/File/Open...", "<CTRL>O", openFile, 1, "<Item>" }, { "/File/sep1", NULL, NULL, 0, "<Separator>" }, { "/File/Quit", "<CTRL>Q", quitProgram, 0, "<StockItem>", GTKSTOCKQUIT } }; Creating an ItemFactory An array of GtkItemFactoryEntry items defines a menu. Once this array is defined then the item factory can be created. The function that does this is: GtkItemFactory* gtkItemFactoryNew( GtkType containerType, const gchar #path, GtkAccelGroup#accelGroup ); containerType can be one of: GTKTYPEMENU GTKTYPEMENUBAR GTKTYPEOPTIONMENU containerType defines what type of menu you want, so when you extract it later it is either a menu (for pop-ups for instance), a menu bar, or an option menu (like a combo box but with a menu of pull downs). path defines the path of the root of the menu. Basically it is a unique name for the root of the menu, it must be surrounded by "<>". This is important for the naming of the accelerators and should be unique. It should be unique both for each menu and between each program. For example in a program named 'foo', the main menu should be called "<FooMain>", and a pop-up menu "<FooImagePopUp>", or similar. What's important is that they're unique. accelGroup is a pointer to a gtkAccelGroup. The item factory sets up the accelerator table while generating menus. New accelerator groups are generated by gtkAccelGroupNew(). But this is just the first step. To convert the array of GtkItemFactoryEntry information into widgets the following function is used: void gtkItemFactoryCreateItems( GtkItemFactory #ifactory, guint nEntries, GtkItemFactoryEntry#entries, gpointer callbackData ); *ifactory a pointer to the above created item factory. nEntries is the number of entries in the GtkItemFactoryEntry array. *entries is a pointer to the GtkItemFactoryEntry array. callbackData is what gets passed to all the callback functions for all the entries with callbackAction != 0. The accelerator group has now been formed, so you'll probably want to attach it to the window the menu is in: void gtkWindowAddAccelGroup( GtkWindow #window, GtkAccelGroup#accelGroup); Making use of the menu and its menu items The last thing to do is make use of the menu. The following function extracts the relevant widgets from the ItemFactory: GtkWidget* gtkItemFactoryGetWidget( GtkItemFactory#ifactory, const gchar #path ); For instance if an ItemFactory has two entries "/File" and "/File/New", using a path of "/File" would retrieve a menu widget from the ItemFactory. Using a path of "/File/New" would retrieve a menu item widget. This makes it possible to set the initial state of menu items. For example to set the default radio item to the one with the path "/Shape/Oval" then the following code would be used: gtkCheckMenuItemSetActive( GTKCHECKMENUITEM (gtkItemFactoryGetItem (itemFactory, "/Shape/Oval")), TRUE); Finally to retrieve the root of the menu use gtkItemFactoryGetItem() with a path of "<main>" (or whatever path was used in gtkItemFactoryNew()). In the case of the ItemFactory being created with type GTKTYPEMENUBAR this returns a menu bar widget. With type GTKTYPEMENU a menu widget is returned. With type GTKTYPEOPTIONMENU an option menu widget is returned. Remember for an entry defined with path "/File" the path here is actually "/File". Now you have a menubar or menu which can be manipulated in the same way as shown in the Manual Menu Creation section. Item Factory Example Here is an example using the GTK item factory. #include <gtk/gtk.h> # Obligatory basic callback static void printHello( GtkWidget#w, gpointer data ) { gMessage ("Hello, World!\n"); } # For the check button static void printToggle( gpointer callbackData, guint callbackAction, GtkWidget#menuItem ) { gMessage ("Check button state - %d\n", GTKCHECKMENUITEM (menuItem)->active); } # For the radio buttons static void printSelected( gpointer callbackData, guint callbackAction, GtkWidget#menuItem ) { if(GTKCHECKMENUITEM(menuItem)->active) gMessage ("Radio button %d selected\n", callbackAction); } # Our menu, an array of GtkItemFactoryEntry structures that defines each menu item static GtkItemFactoryEntry menuItems[] = { { "/File", NULL, NULL, 0, "<Branch>" }, { "/File/New", "<control>N", printHello, 0, "<StockItem>", GTKSTOCKNEW }, { "/File/Open", "<control>O", printHello, 0, "<StockItem>", GTKSTOCKOPEN }, { "/File/Save", "<control>S", printHello, 0, "<StockItem>", GTKSTOCKSAVE }, { "/File/Save As", NULL, NULL, 0, "<Item>" }, { "/File/sep1", NULL, NULL, 0, "<Separator>" }, { "/File/Quit", "<CTRL>Q", gtkMainQuit, 0, "<StockItem>", GTKSTOCKQUIT }, { "/Options", NULL, NULL, 0, "<Branch>" }, { "/Options/tear", NULL, NULL, 0, "<Tearoff>" }, { "/Options/Check", NULL, printToggle, 1, "<CheckItem>" }, { "/Options/sep", NULL, NULL, 0, "<Separator>" }, { "/Options/Rad1", NULL, printSelected, 1, "<RadioItem>" }, { "/Options/Rad2", NULL, printSelected, 2, "/Options/Rad1" }, { "/Options/Rad3", NULL, printSelected, 3, "/Options/Rad1" }, { "/Help", NULL, NULL, 0, "<LastBranch>" }, { "/Help/About", NULL, NULL, 0, "<Item>" }, }; static gint nmenuItems = sizeof (menuItems) / sizeof (menuItems[0]); # Returns a menubar widget made from the above menu static GtkWidget#getMenubarMenu( GtkWidget #window ) { GtkItemFactory#itemFactory; GtkAccelGroup#accelGroup; # Make an accelerator group (shortcut keys) accelGroup = gtkAccelGroupNew (); # Make an ItemFactory (that makes a menubar) itemFactory = gtkItemFactoryNew (GTKTYPEMENUBAR, "<main>", accelGroup); # This function generates the menu items. Pass the item factory, the number of items in the array, the array itself, and any callback data for the the menu items. gtkItemFactoryCreateItems (itemFactory, nmenuItems, menuItems, NULL); # Attach the new accelerator group to the window. gtkWindowAddAccelGroup (GTKWINDOW (window), accelGroup); # Finally, return the actual menu bar created by the item factory. return gtkItemFactoryGetWidget (itemFactory, "<main>"); } # Popup the menu when the popup button is pressed static gboolean popupCb( GtkWidget#widget, GdkEvent#event, GtkWidget#menu ) { GdkEventButton#bevent = (GdkEventButton#)event; # Only take button presses if (event->type != GDKBUTTONPRESS) return FALSE; # Show the menu gtkMenuPopup (GTKMENU(menu), NULL, NULL, NULL, NULL, bevent->button, bevent->time); return TRUE; } # Same as with getMenubarMenu() but just return a button with a signal to call a popup menu GtkWidget#getPopupMenu( void ) { GtkItemFactory#itemFactory; GtkWidget#button,#menu; # Same as before but don't bother with the accelerators itemFactory = gtkItemFactoryNew (GTKTYPEMENU, "<main>", NULL); gtkItemFactoryCreateItems (itemFactory, nmenuItems, menuItems, NULL); menu = gtkItemFactoryGetWidget (itemFactory, "<main>"); # Make a button to activate the popup menu button = gtkButtonNewWithLabel ("Popup"); # Make the menu popup when clicked gSignalConnect (GOBJECT(button), "event", GCALLBACK(popupCb), (gpointer) menu); return button; } # Same again but return an option menu GtkWidget#getOptionMenu( void ) { GtkItemFactory#itemFactory; GtkWidget#optionMenu; # Same again, not bothering with the accelerators itemFactory = gtkItemFactoryNew (GTKTYPEOPTIONMENU, "<main>", NULL); gtkItemFactoryCreateItems (itemFactory, nmenuItems, menuItems, NULL); optionMenu = gtkItemFactoryGetWidget (itemFactory, "<main>"); return optionMenu; } # You have to start somewhere int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#mainVbox; GtkWidget#menubar,#optionMenu,#popupButton; # Initialize GTK gtkInit (&argc, &argv); # Make a window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); gtkWindowSetTitle (GTKWINDOW(window), "Item Factory"); gtkWidgetSetSizeRequest (GTKWIDGET(window), 300, 200); # Make a vbox to put the three menus in mainVbox = gtkVboxNew (FALSE, 1); gtkContainerSetBorderWidth (GTKCONTAINER (mainVbox), 1); gtkContainerAdd (GTKCONTAINER (window), mainVbox); # Get the three types of menu # Note: all three menus are separately created, so they are not the same menu menubar = getMenubarMenu (window); popupButton = getPopupMenu (); optionMenu = getOptionMenu (); # Pack it all together gtkBoxPackStart (GTKBOX (mainVbox), menubar, FALSE, TRUE, 0); gtkBoxPackEnd (GTKBOX (mainVbox), popupButton, FALSE, TRUE, 0); gtkBoxPackEnd (GTKBOX (mainVbox), optionMenu, FALSE, TRUE, 0); # Show the widgets gtkWidgetShowAll (window); # Finished! gtkMain (); return 0; } Undocumented Widgets These all require authors! :) Please consider contributing to our tutorial. If you must use one of these widgets that are undocumented, I strongly suggest you take a look at their respective header files in the GTK distribution. GTK's function names are very descriptive. Once you have an understanding of how things work, it's not difficult to figure out how to use a widget simply by looking at its function declarations. This, along with a few examples from others' code, and it should be no problem. When you do come to understand all the functions of a new undocumented widget, please consider writing a tutorial on it so others may benefit from your time. Accel Label Option Menu Menu Items Check Menu Item Radio Menu Item Separator Menu Item Tearoff Menu Item Curves Drawing Area Font Selection Dialog Message Dialog Gamma Curve Image Plugs and Sockets Tree View Text View Setting Widget Attributes This describes the functions used to operate on widgets. These can be used to set style, padding, size, etc. (Maybe I should make a whole section on accelerators.) void gtkWidgetActivate( GtkWidget#widget ); void gtkWidgetSetName( GtkWidget#widget, gchar #name ); gchar#gtkWidgetGetName( GtkWidget#widget ); void gtkWidgetSetSensitive( GtkWidget#widget, gboolean sensitive ); void gtkWidgetSetStyle( GtkWidget#widget, GtkStyle #style ); GtkStyle#gtkWidgetGetStyle( GtkWidget#widget ); GtkStyle#gtkWidgetGetDefaultStyle( void ); void gtkWidgetSetSizeRequest( GtkWidget#widget, gint width, gint height ); void gtkWidgetGrabFocus( GtkWidget#widget ); void gtkWidgetShow( GtkWidget#widget ); void gtkWidgetHide( GtkWidget#widget ); Timeouts, IO and Idle Functions Timeouts You may be wondering how you make GTK do useful work when in gtkMain. Well, you have several options. Using the following function you can create a timeout function that will be called every "interval" milliseconds. gint gTimeoutAdd (guint32 interval, GtkFunction function, gpointer data); The first argument is the number of milliseconds between calls to your function. The second argument is the function you wish to have called, and the third, the data passed to this callback function. The return value is an integer "tag" which may be used to stop the timeout by calling: void gSourceRemove (gint tag); You may also stop the timeout function by returning zero or FALSE from your callback function. Obviously this means if you want your function to continue to be called, it should return a non-zero value, i.e., TRUE. The declaration of your callback should look something like this: gint timeoutCallback (gpointer data); Monitoring IO A nifty feature of GDK (the library that underlies GTK), is the ability to have it check for data on a file descriptor for you (as returned by open(2) or socket(2)). This is especially useful for networking applications. The function: gint gdkInputAdd( gint source, GdkInputCondition condition, GdkInputFunction function, gpointer data ); Where the first argument is the file descriptor you wish to have watched, and the second specifies what you want GDK to look for. This may be one of: GDKINPUTREAD - Call your function when there is data ready for reading on your file descriptor. GDKINPUTWRITE - Call your function when the file descriptor is ready for writing. As I'm sure you've figured out already, the third argument is the function you wish to have called when the above conditions are satisfied, and the fourth is the data to pass to this function. The return value is a tag that may be used to stop GDK from monitoring this file descriptor using the following function. void gdkInputRemove( gint tag ); The callback function should be declared as: void inputCallback( gpointer data, gint source, GdkInputCondition condition ); Where source and condition are as specified above. Idle Functions What if you have a function which you want to be called when nothing else is happening ? gint gtkIdleAdd( GtkFunction function, gpointer data ); This causes GTK to call the specified function whenever nothing else is happening. void gtkIdleRemove( gint tag ); I won't explain the meaning of the arguments as they follow very much like the ones above. The function pointed to by the first argument to gtkIdleAdd will be called whenever the opportunity arises. As with the others, returning FALSE will stop the idle function from being called. Advanced Event and Signal Handling Signal Functions Connecting and Disconnecting Signal Handlers gulong gSignalConnect( GObject #object, const gchar#name, GCallback func, gpointer funcData ); gulong gSignalConnectAfter( GObject #object, const gchar #name, GCallback func, gpointer funcData ); gulong gSignalConnectSwapped( GObject #object, const gchar #name, GCallback func, GObject #slotObject ); void gSignalHandlerDisconnect( GObject#object, gulong handlerId ); void gSignalHandlersDisconnectByFunc( GObject #object, GCallback func, gpointer data ); Blocking and Unblocking Signal Handlers void gSignalHandlerBlock( GObject#object, gulong handlerId); void gSignalHandlersBlockByFunc( GObject #object, GCallback func, gpointer data ); void gSignalHandlerUnblock( GObject#object, gulong handlerId ); void gSignalHandlerUnblockByFunc( GObject #object, GCallback func, gpointer data ); Emitting and Stopping Signals void gSignalEmit( GObject#object, guint signalId, ... ); void gSignalEmitByName( GObject #object, const gchar#name, ... ); void gSignalEmitv( const GValue#instanceAndParams, guint signalId, GQuark detail, GValue #returnValue ); void gSignalStopEmission( GObject#object, guint signalId, GQuark detail ); void gSignalStopEmissionByName( GObject #object, const gchar#detailedSignal ); Signal Emission and Propagation Signal emission is the process whereby GTK runs all handlers for a specific object and signal. First, note that the return value from a signal emission is the return value of the last handler executed. Since event signals are all of type GTKRUNLAST, this will be the default (GTK supplied) handler, unless you connect with gtkSignalConnectAfter(). The way an event (say "buttonPressEvent") is handled, is: Start with the widget where the event occured. Emit the generic "event" signal. If that signal handler returns a value of TRUE, stop all processing. Otherwise, emit a specific, "buttonPressEvent" signal. If that returns TRUE, stop all processing. Otherwise, go to the widget's parent, and repeat the above two steps. Continue until some signal handler returns TRUE, or until the top-level widget is reached. Some consequences of the above are: Your handler's return value will have no effect if there is a default handler, unless you connect with gtkSignalConnectAfter(). To prevent the default handler from being run, you need to connect with gtkSignalConnect() and use gtkSignalEmitStopByName() - the return value only affects whether the signal is propagated, not the current emission. Managing Selections Overview One type of interprocess communication supported by X and GTK is selections. A selection identifies a chunk of data, for instance, a portion of text, selected by the user in some fashion, for instance, by dragging with the mouse. Only one application on a display (the owner) can own a particular selection at one time, so when a selection is claimed by one application, the previous owner must indicate to the user that selection has been relinquished. Other applications can request the contents of a selection in different forms, called targets. There can be any number of selections, but most X applications only handle one, the primary selection. In most cases, it isn't necessary for a GTK application to deal with selections itself. The standard widgets, such as the Entry widget, already have the capability to claim the selection when appropriate (e.g., when the user drags over text), and to retrieve the contents of the selection owned by another widget or another application (e.g., when the user clicks the second mouse button). However, there may be cases in which you want to give other widgets the ability to supply the selection, or you wish to retrieve targets not supported by default. A fundamental concept needed to understand selection handling is that of the atom. An atom is an integer that uniquely identifies a string (on a certain display). Certain atoms are predefined by the X server, and in some cases there are constants in gtk.h corresponding to these atoms. For instance the constant GDKPRIMARYSELECTION corresponds to the string "PRIMARY". In other cases, you should use the functions gdkAtomIntern(), to get the atom corresponding to a string, and gdkAtomName(), to get the name of an atom. Both selections and targets are identified by atoms. Retrieving the selection Retrieving the selection is an asynchronous process. To start the process, you call: gboolean gtkSelectionConvert( GtkWidget#widget, GdkAtom selection, GdkAtom target, guint32 time ); This converts the selection into the form specified by target. If at all possible, the time field should be the time from the event that triggered the selection. This helps make sure that events occur in the order that the user requested them. However, if it is not available (for instance, if the conversion was triggered by a "clicked" signal), then you can use the constant GDKCURRENTTIME. When the selection owner responds to the request, a "selectionReceived" signal is sent to your application. The handler for this signal receives a pointer to a GtkSelectionData structure, which is defined as: struct GtkSelectionData { GdkAtom selection; GdkAtom target; GdkAtom type; gint format; guchar#data; gint length; }; selection and target are the values you gave in your gtkSelectionConvert() call. type is an atom that identifies the type of data returned by the selection owner. Some possible values are "STRING", a string of latin-1 characters, "ATOM", a series of atoms, "INTEGER", an integer, etc. Most targets can only return one type. format gives the length of the units (for instance characters) in bits. Usually, you don't care about this when receiving data. data is a pointer to the returned data, and length gives the length of the returned data, in bytes. If length is negative, then an error occurred and the selection could not be retrieved. This might happen if no application owned the selection, or if you requested a target that the application didn't support. The buffer is actually guaranteed to be one byte longer than length; the extra byte will always be zero, so it isn't necessary to make a copy of strings just to nul-terminate them. In the following example, we retrieve the special target "TARGETS", which is a list of all targets into which the selection can be converted. #include <stdlib.h> #include <gtk/gtk.h> static void selectionReceived( GtkWidget #widget, GtkSelectionData#selectionData, gpointer data ); # Signal handler invoked when user clicks on the "Get Targets" button static void getTargets( GtkWidget#widget, gpointer data ) { static GdkAtom targetsAtom = GDKNONE; GtkWidget#window = (GtkWidget#)data; # Get the atom corresponding to the string "TARGETS" if (targetsAtom == GDKNONE) targetsAtom = gdkAtomIntern ("TARGETS", FALSE); # And request the "TARGETS" target for the primary selection gtkSelectionConvert (window, GDKSELECTIONPRIMARY, targetsAtom, GDKCURRENTTIME); } # Signal handler called when the selections owner returns the data static void selectionReceived( GtkWidget #widget, GtkSelectionData#selectionData, gpointer data ) { GdkAtom#atoms; GList#itemList; int i; #*** IMPORTANT*** Check to see if retrieval succeeded if (selectionData->length < 0) { gPrint ("Selection retrieval failed\n"); return; } # Make sure we got the data in the expected form if (selectionData->type != GDKSELECTIONTYPEATOM) { gPrint ("Selection \"TARGETS\" was not returned as atoms!\n"); return; } # Print out the atoms we received atoms = (GdkAtom#)selectionData->data; itemList = NULL; for (i = 0; i < selectionData->length / sizeof(GdkAtom); i++) { char#name; name = gdkAtomName (atoms[i]); if (name != NULL) gPrint ("%s\n",name); else gPrint ("(bad atom)\n"); } return; } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#button; gtkInit (&argc, &argv); # Create the toplevel window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Event Box"); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); # Create a button the user can click to get targets button = gtkButtonNewWithLabel ("Get Targets"); gtkContainerAdd (GTKCONTAINER (window), button); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (getTargets), (gpointer) window); gSignalConnect (GOBJECT (window), "selectionReceived", GCALLBACK (selectionReceived), NULL); gtkWidgetShow (button); gtkWidgetShow (window); gtkMain (); return 0; } Supplying the selection Supplying the selection is a bit more complicated. You must register handlers that will be called when your selection is requested. For each selection/target pair you will handle, you make a call to: void gtkSelectionAddTarget( GtkWidget #widget, GdkAtom selection, GdkAtom target, guint info ); widget, selection, and target identify the requests this handler will manage. When a request for a selection is received, the "selectionGet" signal will be called. info can be used as an enumerator to identify the specific target within the callback function. The callback function has the signature: void "selectionGet"( GtkWidget #widget, GtkSelectionData #selectionData, guint info, guint time ); The GtkSelectionData is the same as above, but this time, we're responsible for filling in the fields type, format, data, and length. (The format field is actually important here - the X server uses it to figure out whether the data needs to be byte-swapped or not. Usually it will be 8 - i.e. a character - or 32 - i.e. an integer.) This is done by calling the function: void gtkSelectionDataSet( GtkSelectionData#selectionData, GdkAtom type, gint format, guchar #data, gint length ); This function takes care of properly making a copy of the data so that you don't have to worry about keeping it around. (You should not fill in the fields of the GtkSelectionData structure by hand.) When prompted by the user, you claim ownership of the selection by calling: gboolean gtkSelectionOwnerSet( GtkWidget#widget, GdkAtom selection, guint32 time ); If another application claims ownership of the selection, you will receive a "selectionClearEvent". As an example of supplying the selection, the following program adds selection functionality to a toggle button. When the toggle button is depressed, the program claims the primary selection. The only target supported (aside from certain targets like "TARGETS" supplied by GTK itself), is the "STRING" target. When this target is requested, a string representation of the time is returned. #include <stdlib.h> #include <gtk/gtk.h> #include <time.h> #include <string.h> GtkWidget#selectionButton; GtkWidget#selectionWidget; # Callback when the user toggles the selection static void selectionToggled( GtkWidget#widget, gint #haveSelection ) { if (GTKTOGGLEBUTTON (widget)->active) { #haveSelection = gtkSelectionOwnerSet (selectionWidget, GDKSELECTIONPRIMARY, GDKCURRENTTIME); # if claiming the selection failed, we return the button to the out state if (!*haveSelection) gtkToggleButtonSetActive (GTKTOGGLEBUTTON (widget), FALSE); } else { if (*haveSelection) { # Before clearing the selection by setting the owner to NULL, we check if we are the actual owner if (gdkSelectionOwnerGet (GDKSELECTIONPRIMARY) == widget->window) gtkSelectionOwnerSet (NULL, GDKSELECTIONPRIMARY, GDKCURRENTTIME); #haveSelection = FALSE; } } } # Called when another application claims the selection static gboolean selectionClear( GtkWidget #widget, GdkEventSelection#event, gint #haveSelection ) { #haveSelection = FALSE; gtkToggleButtonSetActive (GTKTOGGLEBUTTON (selectionButton), FALSE); return TRUE; } # Supplies the current time as the selection. static void selectionHandle( GtkWidget #widget, GtkSelectionData#selectionData, guint info, guint timeStamp, gpointer data ) { gchar#timestr; timeT currentTime; currentTime = time (NULL); timestr = asctime (localtime (&currentTime)); # When we return a single string, it should not be null terminated. That will be done for us gtkSelectionDataSet (selectionData, GDKSELECTIONTYPESTRING, 8, timestr, strlen (timestr)); } int main( int argc, char#argv[] ) { GtkWidget#window; static int haveSelection = FALSE; gtkInit (&argc, &argv); # Create the toplevel window window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Event Box"); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); # Create a toggle button to act as the selection selectionWidget = gtkInvisibleNew (); selectionButton = gtkToggleButtonNewWithLabel ("Claim Selection"); gtkContainerAdd (GTKCONTAINER (window), selectionButton); gtkWidgetShow (selectionButton); gSignalConnect (GOBJECT (selectionButton), "toggled", GCALLBACK (selectionToggled), (gpointer) &haveSelection); gSignalConnect (GOBJECT (selectionWidget), "selectionClearEvent", GCALLBACK (selectionClear), (gpointer) &haveSelection); gtkSelectionAddTarget (selectionWidget, GDKSELECTIONPRIMARY, GDKSELECTIONTYPESTRING, 1); gSignalConnect (GOBJECT (selectionWidget), "selectionGet", GCALLBACK (selectionHandle), (gpointer) &haveSelection); gtkWidgetShow (selectionButton); gtkWidgetShow (window); gtkMain (); return 0; } Drag-and-drop (DND) GTK+ has a high level set of functions for doing inter-process communication via the drag-and-drop system. GTK+ can perform drag-and-drop on top of the low level Xdnd and Motif drag-and-drop protocols. Overview An application capable of GTK+ drag-and-drop first defines and sets up the GTK+ widget(s) for drag-and-drop. Each widget can be a source and/or destination for drag-and-drop. Note that these GTK+ widgets must have an associated X Window, check using GTKWIDGETNOWINDOW(widget)). Source widgets can send out drag data, thus allowing the user to drag things off of them, while destination widgets can receive drag data. Drag-and-drop destinations can limit who they accept drag data from, e.g. the same application or any application (including itself). Sending and receiving drop data makes use of GTK+ signals. Dropping an item to a destination widget requires both a data request (for the source widget) and data received signal handler (for the target widget). Additional signal handers can be connected if you want to know when a drag begins (at the very instant it starts), to when a drop is made, and when the entire drag-and-drop procedure has ended (successfully or not). Your application will need to provide data for source widgets when requested, that involves having a drag data request signal handler. For destination widgets they will need a drop data received signal handler. So a typical drag-and-drop cycle would look as follows: Drag begins. Drag data request (when a drop occurs). Drop data received (may be on same or different application). Drag data delete (if the drag was a move). Drag-and-drop procedure done. There are a few minor steps that go in between here and there, but we will get into detail about that later. Properties Drag data has the following properties: Drag action type (ie GDKACTIONCOPY, GDKACTIONMOVE). Client specified arbitrary drag-and-drop type (a name and number pair). Sent and received data format type. Drag actions are quite obvious, they specify if the widget can drag with the specified action(s), e.g. GDKACTIONCOPY and/or GDKACTIONMOVE. A GDKACTIONCOPY would be a typical drag-and-drop without the source data being deleted while GDKACTIONMOVE would be just like GDKACTIONCOPY but the source data will be 'suggested' to be deleted after the received signal handler is called. There are additional drag actions including GDKACTIONLINK which you may want to look into when you get to more advanced levels of drag-and-drop. The client specified arbitrary drag-and-drop type is much more flexible, because your application will be defining and checking for that specifically. You will need to set up your destination widgets to receive certain drag-and-drop types by specifying a name and/or number. It would be more reliable to use a name since another application may just happen to use the same number for an entirely different meaning. Sent and received data format types (selection target) come into play only in your request and received data handler functions. The term selection target is somewhat misleading. It is a term adapted from GTK+ selection (cut/copy and paste). What selection target actually means is the data's format type (i.e. GdkAtom, integer, or string) that being sent or received. Your request data handler function needs to specify the type (selection target) of data that it sends out and your received data handler needs to handle the type (selection target) of data received. Functions Setting up the source widget The function gtkDragSourceSet() specifies a set of target types for a drag operation on a widget. void gtkDragSourceSet( GtkWidget #widget, GdkModifierType startButtonMask, const GtkTargetEntry#targets, gint nTargets, GdkDragAction actions ); The parameters signify the following: widget specifies the drag source widget startButtonMask specifies a bitmask of buttons that can start the drag (e.g. GDKBUTTON1MASK) targets specifies a table of target data types the drag will support nTargets specifies the number of targets above actions specifies a bitmask of possible actions for a drag from this window The targets parameter is an array of the following structure: struct GtkTargetEntry { gchar#target; guint flags; guint info; }; The fields specify a string representing the drag type, optional flags and application assigned integer identifier. If a widget is no longer required to act as a source for drag-and-drop operations, the function gtkDragSourceUnset() can be used to remove a set of drag-and-drop target types. void gtkDragSourceUnset( GtkWidget#widget ); Signals on the source widget: The source widget is sent the following signals during a drag-and-drop operation. Source widget signals dragBegin void (*dragBegin)(GtkWidget#widget, GdkDragContext#dc, gpointer data) dragMotion gboolean (*dragMotion)(GtkWidget#widget, GdkDragContext#dc, gint x, gint y, guint t, gpointer data) dragDataGet void (*dragDataGet)(GtkWidget#widget, GdkDragContext#dc, GtkSelectionData#selectionData, guint info, guint t, gpointer data) dragDataDelete void (*dragDataDelete)(GtkWidget#widget, GdkDragContext#dc, gpointer data) dragDrop gboolean (*dragDrop)(GtkWidget#widget, GdkDragContext#dc, gint x, gint y, guint t, gpointer data) dragEnd void (*dragEnd)(GtkWidget#widget, GdkDragContext#dc, gpointer data)
Setting up a destination widget: gtkDragDestSet() specifies that this widget can receive drops and specifies what types of drops it can receive. gtkDragDestUnset() specifies that the widget can no longer receive drops. void gtkDragDestSet( GtkWidget #widget, GtkDestDefaults flags, const GtkTargetEntry#targets, gint nTargets, GdkDragAction actions ); void gtkDragDestUnset( GtkWidget#widget ); Signals on the destination widget: The destination widget is sent the following signals during a drag-and-drop operation. Destination widget signals dragDataReceived void (*dragDataReceived)(GtkWidget#widget, GdkDragContext#dc, gint x, gint y, GtkSelectionData#selectionData, guint info, guint t, gpointer data)
GLib GLib is a lower-level library that provides many useful definitions and functions available for use when creating GDK and GTK applications. These include definitions for basic types and their limits, standard macros, type conversions, byte order, memory allocation, warnings and assertions, message logging, timers, string utilities, hook functions, a lexical scanner, dynamic loading of modules, and automatic string completion. A number of data structures (and their related operations) are also defined, including memory chunks, doubly-linked lists, singly-linked lists, hash tables, strings (which can grow dynamically), string chunks (groups of strings), arrays (which can grow in size as elements are added), balanced binary trees, N-ary trees, quarks (a two-way association of a string and a unique integer identifier), keyed data lists (lists of data elements accessible by a string or integer id), relations and tuples (tables of data which can be indexed on any number of fields), and caches. A summary of some of GLib's capabilities follows; not every function, data structure, or operation is covered here. For more complete information about the GLib routines, see the GLib documentation. One source of GLib documentation is http://www.gtk.org/. If you are using a language other than C, you should consult your language's binding documentation. In some cases your language may have equivalent functionality built-in, while in other cases it may not. Definitions Definitions for the extremes of many of the standard types are: GMINFLOAT GMAXFLOAT GMINDOUBLE GMAXDOUBLE GMINSHORT GMAXSHORT GMAXUSHORT GMININT GMAXINT GMAXUINT GMINLONG GMAXLONG GMAXULONG GMININT64 GMAXINT64 GMAXUINT64 Also, the following typedefs. The ones left unspecified are dynamically set depending on the architecture. Remember to avoid counting on the size of a pointer if you want to be portable! E.g., a pointer on an Alpha is 8 bytes, but 4 on Intel 80x86 family CPUs. char gchar; short gshort; long glong; int gint; int gboolean; unsigned char guchar; unsigned short gushort; unsigned long gulong; unsigned int guint; float gfloat; double gdouble; unsigned int gsize; signed int gssize; void* gpointer; const void* gconstpointer; gint8 guint8 gint16 guint16 gint32 guint32 gint64 guint64 Doubly Linked Lists The following functions are used to create, manage, and destroy standard doubly linked lists. Each element in the list contains a piece of data, together with pointers which link to the previous and next elements in the list. This enables easy movement in either direction through the list. The data item is of type "gpointer", which means the data can be a pointer to your real data or (through casting) a numeric value (but do not assume that int and gpointer have the same size!). These routines internally allocate list elements in blocks, which is more efficient than allocating elements individually. There is no function to specifically create a list. Instead, simply create a variable of type GList* and set its value to NULL; NULL is considered to be the empty list. To add elements to a list, use the gListAppend(), gListPrepend(), gListInsert(), or gListInsertSorted() routines. In all cases they accept a pointer to the beginning of the list, and return the (possibly changed) pointer to the beginning of the list. Thus, for all of the operations that add or remove elements, be sure to save the returned value! GList#gListAppend( GList #list, gpointer data ); This adds a new element (with value data) onto the end of the list. GList#gListPrepend( GList #list, gpointer data ); This adds a new element (with value data) to the beginning of the list. GList#gListInsert( GList #list, gpointer data, gint position ); This inserts a new element (with value data) into the list at the given position. If position is 0, this is just like gListPrepend(); if position is less than 0, this is just like gListAppend(). GList#gListRemove( GList #list, gpointer data ); This removes the element in the list with the value data; if the element isn't there, the list is unchanged. void gListFree( GList#list ); This frees all of the memory used by a GList. If the list elements refer to dynamically-allocated memory, then they should be freed first. There are many other GLib functions that support doubly linked lists; see the glib documentation for more information. Here are a few of the more useful functions' signatures: GList#gListRemoveLink( GList#list, GList#link ); GList#gListReverse( GList#list ); GList#gListNth( GList#list, gint n ); GList#gListFind( GList #list, gpointer data ); GList#gListLast( GList#list ); GList#gListFirst( GList#list ); gint gListLength( GList#list ); void gListForeach( GList #list, GFunc func, gpointer userData ); Singly Linked Lists Many of the above functions for singly linked lists are identical to the above. Here is a list of some of their operations: GSList#gSlistAppend( GSList #list, gpointer data ); GSList#gSlistPrepend( GSList #list, gpointer data ); GSList#gSlistInsert( GSList #list, gpointer data, gint position ); GSList#gSlistRemove( GSList #list, gpointer data ); GSList#gSlistRemoveLink( GSList#list, GSList#link ); GSList#gSlistReverse( GSList#list ); GSList#gSlistNth( GSList#list, gint n ); GSList#gSlistFind( GSList #list, gpointer data ); GSList#gSlistLast( GSList#list ); gint gSlistLength( GSList#list ); void gSlistForeach( GSList #list, GFunc func, gpointer userData ); Memory Management gpointer gMalloc( gulong size ); This is a replacement for malloc(). You do not need to check the return value as it is done for you in this function. If the memory allocation fails for whatever reasons, your applications will be terminated. gpointer gMalloc0( gulong size ); Same as above, but zeroes the memory before returning a pointer to it. gpointer gRealloc( gpointer mem, gulong size ); Relocates "size" bytes of memory starting at "mem". Obviously, the memory should have been previously allocated. void gFree( gpointer mem ); Frees memory. Easy one. If mem is NULL it simply returns. void gMemProfile( void ); Dumps a profile of used memory, but requires that you add #define MEMPROFILE to the top of glib/gmem.c and re-make and make install. void gMemCheck( gpointer mem ); Checks that a memory location is valid. Requires you add #define MEMCHECK to the top of gmem.c and re-make and make install. Timers Timer functions can be used to time operations (e.g., to see how much time has elapsed). First, you create a new timer with gTimerNew(). You can then use gTimerStart() to start timing an operation, gTimerStop() to stop timing an operation, and gTimerElapsed() to determine the elapsed time. GTimer#gTimerNew( void ); void gTimerDestroy( GTimer#timer ); void gTimerStart( GTimer #timer ); void gTimerStop( GTimer #timer ); void gTimerReset( GTimer #timer ); gdouble gTimerElapsed( GTimer#timer, gulong#microseconds ); String Handling GLib defines a new type called a GString, which is similar to a standard C string but one that grows automatically. Its string data is null-terminated. What this gives you is protection from buffer overflow programming errors within your program. This is a very important feature, and hence I recommend that you make use of GStrings. GString itself has a simple public definition: struct GString { gchar#str; # Points to the string's current \0-terminated value. gint len; # Current length }; As you might expect, there are a number of operations you can do with a GString. GString#gStringNew( gchar#init ); This constructs a GString, copying the string value of init into the GString and returning a pointer to it. NULL may be given as the argument for an initially empty GString. void gStringFree( GString#string, gint freeSegment ); This frees the memory for the given GString. If freeSegment is TRUE, then this also frees its character data. GString#gStringAssign( GString #lval, const gchar#rval ); This copies the characters from rval into lval, destroying the previous contents of lval. Note that lval will be lengthened as necessary to hold the string's contents, unlike the standard strcpy() function. The rest of these functions should be relatively obvious (the C versions accept a character instead of a string): GString#gStringTruncate( GString#string, gint len ); GString#gStringAppend( GString#string, gchar #val ); GString#gStringAppendC( GString#string, gchar c ); GString#gStringPrepend( GString#string, gchar #val ); GString#gStringPrependC( GString#string, gchar c ); void gStringSprintf( GString#string, gchar #fmt, ...); void gStringSprintfa ( GString#string, gchar #fmt, ... ); Utility and Error Functions gchar#gStrdup( const gchar#str ); Replacement strdup function. Copies the original strings contents to newly allocated memory, and returns a pointer to it. gchar#gStrerror( gint errnum ); I recommend using this for all error messages. It's much nicer, and more portable than perror() or others. The output is usually of the form: program name:function that failed:file or further description:strerror Here's an example of one such call used in our helloWorld program: gPrint("helloWorld:open:%s:%s\n", filename, gStrerror(errno)); void gError( gchar#format, ... ); Prints an error message. The format is just like printf, but it prepends "** ERROR*: " to your message, and exits the program. Use only for fatal errors. void gWarning( gchar#format, ... ); Same as above, but prepends "** WARNING*: ", and does not exit the program. void gMessage( gchar#format, ... ); Prints "message: " prepended to the string you pass in. void gPrint( gchar#format, ... ); Replacement for printf(). And our last function: gchar#gStrsignal( gint signum ); Prints out the name of the Unix system signal given the signal number. Useful in generic signal handling functions. All of the above are more or less just stolen from glib.h. If anyone cares to document any function, just send me an email! GTK's rc Files GTK has its own way of dealing with application defaults, by using rc files. These can be used to set the colors of just about any widget, and can also be used to tile pixmaps onto the background of some widgets. Functions For rc Files When your application starts, you should include a call to: void gtkRcParse( char#filename ); Passing in the filename of your rc file. This will cause GTK to parse this file, and use the style settings for the widget types defined there. If you wish to have a special set of widgets that can take on a different style from others, or any other logical division of widgets, use a call to: void gtkWidgetSetName( GtkWidget#widget, gchar #name ); Passing your newly created widget as the first argument, and the name you wish to give it as the second. This will allow you to change the attributes of this widget by name through the rc file. If we use a call something like this: button = gtkButtonNewWithLabel ("Special Button"); gtkWidgetSetName (button, "special button"); Then this button is given the name "special button" and may be addressed by name in the rc file as "special button.GtkButton". [<--- Verify ME!] The example rc file below, sets the properties of the main window, and lets all children of that main window inherit the style described by the "main button" style. The code used in the application is: window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetName (window, "main window"); And then the style is defined in the rc file using: widget "main window.*GtkButton*" style "mainButton" Which sets all the Button widgets in the "main window" to the "mainButtons" style as defined in the rc file. As you can see, this is a fairly powerful and flexible system. Use your imagination as to how best to take advantage of this. GTK's rc File Format The format of the GTK file is illustrated in the example below. This is the testgtkrc file from the GTK distribution, but I've added a few comments and things. You may wish to include this explanation in your application to allow the user to fine tune his application. There are several directives to change the attributes of a widget. fg - Sets the foreground color of a widget. bg - Sets the background color of a widget. bgPixmap - Sets the background of a widget to a tiled pixmap. font - Sets the font to be used with the given widget. In addition to this, there are several states a widget can be in, and you can set different colors, pixmaps and fonts for each state. These states are: NORMAL - The normal state of a widget, without the mouse over top of it, and not being pressed, etc. PRELIGHT - When the mouse is over top of the widget, colors defined using this state will be in effect. ACTIVE - When the widget is pressed or clicked it will be active, and the attributes assigned by this tag will be in effect. INSENSITIVE - When a widget is set insensitive, and cannot be activated, it will take these attributes. SELECTED - When an object is selected, it takes these attributes. When using the "fg" and "bg" keywords to set the colors of widgets, the format is: fg[<STATE>] = { Red, Green, Blue } Where STATE is one of the above states (PRELIGHT, ACTIVE, etc), and the Red, Green and Blue are values in the range of 0 - 1.0, { 1.0, 1.0, 1.0 } being white. They must be in float form, or they will register as 0, so a straight "1" will not work, it must be "1.0". A straight "0" is fine because it doesn't matter if it's not recognized. Unrecognized values are set to 0. bgPixmap is very similar to the above, except the colors are replaced by a filename. pixmapPath is a list of paths separated by ":"'s. These paths will be searched for any pixmap you specify. The font directive is simply: font = "<font name>" The only hard part is figuring out the font string. Using xfontsel or a similar utility should help. The "widgetClass" sets the style of a class of widgets. These classes are listed in the widget overview on the class hierarchy. The "widget" directive sets a specifically named set of widgets to a given style, overriding any style set for the given widget class. These widgets are registered inside the application using the gtkWidgetSetName() call. This allows you to specify the attributes of a widget on a per widget basis, rather than setting the attributes of an entire widget class. I urge you to document any of these special widgets so users may customize them. When the keyword parent is used as an attribute, the widget will take on the attributes of its parent in the application. When defining a style, you may assign the attributes of a previously defined style to this new one. style "mainButton" = "button" { font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" bg[PRELIGHT] = { 0.75, 0, 0 } } This example takes the "button" style, and creates a new "mainButton" style simply by changing the font and prelight background color of the "button" style. Of course, many of these attributes don't apply to all widgets. It's a simple matter of common sense really. Anything that could apply, should. Example rc file # pixmapPath "<dir 1>:<dir 2>:<dir 3>:..." # pixmapPath "/usr/include/X11R6/pixmaps:/home/imain/pixmaps" # # style <name> [= <name>] # { # <option> # } # # widget <widgetSet> style <styleName> # widgetClass <widgetClassSet> style <styleName> # Here is a list of all the possible states. Note that some do not apply to # certain widgets. # # NORMAL - The normal state of a widget, without the mouse over top of # it, and not being pressed, etc. # # PRELIGHT - When the mouse is over top of the widget, colors defined # using this state will be in effect. # # ACTIVE - When the widget is pressed or clicked it will be active, and # the attributes assigned by this tag will be in effect. # # INSENSITIVE - When a widget is set insensitive, and cannot be # activated, it will take these attributes. # # SELECTED - When an object is selected, it takes these attributes. # # Given these states, we can set the attributes of the widgets in each of # these states using the following directives. # # fg - Sets the foreground color of a widget. # fg - Sets the background color of a widget. # bgPixmap - Sets the background of a widget to a tiled pixmap. # font - Sets the font to be used with the given widget. # # This sets a style called "button". The name is not really important, as # it is assigned to the actual widgets at the bottom of the file. style "window" { #This sets the padding around the window to the pixmap specified. #bgPixmap[<STATE>] = "<pixmap filename>" bgPixmap[NORMAL] = "warning.xpm" } style "scale" { #Sets the foreground color (font color) to red when in the "NORMAL" #state. fg[NORMAL] = { 1.0, 0, 0 } #Sets the background pixmap of this widget to that of its parent. bgPixmap[NORMAL] = "<parent>" } style "button" { # This shows all the possible states for a button. The only one that # doesn't apply is the SELECTED state. fg[PRELIGHT] = { 0, 1.0, 1.0 } bg[PRELIGHT] = { 0, 0, 1.0 } bg[ACTIVE] = { 1.0, 0, 0 } fg[ACTIVE] = { 0, 1.0, 0 } bg[NORMAL] = { 1.0, 1.0, 0 } fg[NORMAL] = { .99, 0, .99 } bg[INSENSITIVE] = { 1.0, 1.0, 1.0 } fg[INSENSITIVE] = { 1.0, 0, 1.0 } } # In this example, we inherit the attributes of the "button" style and then # override the font and background color when prelit to create a new # "mainButton" style. style "mainButton" = "button" { font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" bg[PRELIGHT] = { 0.75, 0, 0 } } style "toggleButton" = "button" { fg[NORMAL] = { 1.0, 0, 0 } fg[ACTIVE] = { 1.0, 0, 0 } # This sets the background pixmap of the toggleButton to that of its # parent widget (as defined in the application). bgPixmap[NORMAL] = "<parent>" } style "text" { bgPixmap[NORMAL] = "marble.xpm" fg[NORMAL] = { 1.0, 1.0, 1.0 } } style "ruler" { font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*" } # pixmapPath "~/.pixmaps" # These set the widget types to use the styles defined above. # The widget types are listed in the class hierarchy, but could probably be # just listed in this document for the users reference. widgetClass "GtkWindow" style "window" widgetClass "GtkDialog" style "window" widgetClass "GtkFileSelection" style "window" widgetClass "*Gtk*Scale" style "scale" widgetClass "*GtkCheckButton*" style "toggleButton" widgetClass "*GtkRadioButton*" style "toggleButton" widgetClass "*GtkButton*" style "button" widgetClass "*Ruler" style "ruler" widgetClass "*GtkText" style "text" # This sets all the buttons that are children of the "main window" to # the mainButton style. These must be documented to be taken advantage of. widget "main window.*GtkButton*" style "mainButton" Writing Your Own Widgets Overview Although the GTK distribution comes with many types of widgets that should cover most basic needs, there may come a time when you need to create your own new widget type. Since GTK uses widget inheritance extensively, and there is already a widget that is close to what you want, it is often possible to make a useful new widget type in just a few lines of code. But before starting work on a new widget, check around first to make sure that someone has not already written it. This will prevent duplication of effort and keep the number of GTK widgets out there to a minimum, which will help keep both the code and the interface of different applications consistent. As a flip side to this, once you finish your widget, announce it to the world so other people can benefit. The best place to do this is probably the gtk-list. Complete sources for the example widgets are available at the place you got this tutorial, or from: http://www.gtk.org/~otaylor/gtk/tutorial/ The Anatomy Of A Widget In order to create a new widget, it is important to have an understanding of how GTK objects work. This section is just meant as a brief overview. See the reference documentation for the details. GTK widgets are implemented in an object oriented fashion. However, they are implemented in standard C. This greatly improves portability and stability over using current generation C++ compilers; however, it does mean that the widget writer has to pay attention to some of the implementation details. The information common to all instances of one class of widgets (e.g., to all Button widgets) is stored in the class structure. There is only one copy of this in which is stored information about the class's signals (which act like virtual functions in C). To support inheritance, the first field in the class structure must be a copy of the parent's class structure. The declaration of the class structure of GtkButtton looks like: struct GtkButtonClass { GtkContainerClass parentClass; void (* pressed) (GtkButton#button); void (* released) (GtkButton#button); void (* clicked) (GtkButton#button); void (* enter) (GtkButton#button); void (* leave) (GtkButton#button); }; When a button is treated as a container (for instance, when it is resized), its class structure can be cast to GtkContainerClass, and the relevant fields used to handle the signals. There is also a structure for each widget that is created on a per-instance basis. This structure has fields to store information that is different for each instance of the widget. We'll call this structure the object structure. For the Button class, it looks like: struct GtkButton { GtkContainer container; GtkWidget#child; guint inButton : 1; guint buttonDown : 1; }; Note that, similar to the class structure, the first field is the object structure of the parent class, so that this structure can be cast to the parent class' object structure as needed. Creating a Composite widget Introduction One type of widget that you may be interested in creating is a widget that is merely an aggregate of other GTK widgets. This type of widget does nothing that couldn't be done without creating new widgets, but provides a convenient way of packaging user interface elements for reuse. The FileSelection and ColorSelection widgets in the standard distribution are examples of this type of widget. The example widget that we'll create in this section is the Tictactoe widget, a 3x3 array of toggle buttons which triggers a signal when all three buttons in a row, column, or on one of the diagonals are depressed. Note: the full source code for the Tictactoe example described below is in the Code Examples Appendix Choosing a parent class The parent class for a composite widget is typically the container class that holds all of the elements of the composite widget. For example, the parent class of the FileSelection widget is the Dialog class. Since our buttons will be arranged in a table, it is natural to make our parent class the Table class. The header file Each GObject class has a header file which declares the object and class structures for that object, along with public functions. A couple of features are worth pointing out. To prevent duplicate definitions, we wrap the entire header file in: #ifndef _TICTACTOEH_ #define _TICTACTOEH_ . . . #endif # _TICTACTOEH_ And to keep C++ programs that include the header file happy, in: #include <glib.h> GBEGINDECLS . . . GENDDECLS Along with the functions and structures, we declare five standard macros in our header file, TICTACTOETYPE, TICTACTOE(obj), TICTACTOECLASS(klass), ISTICTACTOE(obj), and ISTICTACTOECLASS(klass), which cast a pointer into a pointer to the object or class structure, and check if an object is a Tictactoe widget respectively. The <literal>GetType()</literal> function We now continue on to the implementation of our widget. A core function for every object is the function WIDGETNAMEGetType(). This function, when first called, tells Glib about the new class, and gets an ID that uniquely identifies the class. Upon subsequent calls, it just returns the ID. GType tictactoeGetType (void) { static GType tttType = 0; if (!tttType) { static const GTypeInfo tttInfo = { sizeof (TictactoeClass), NULL, # baseInit NULL, # baseFinalize (GClassInitFunc) tictactoeClassInit, NULL, # classFinalize NULL, # classData sizeof (Tictactoe), 0, # nPreallocs (GInstanceInitFunc) tictactoeInit, }; tttType = gTypeRegisterStatic (GTKTYPETABLE, "Tictactoe", &tttInfo, 0); } return tttType; } The GTypeInfo structure has the following definition: struct GTypeInfo { # interface types, classed types, instantiated types guint16 classSize; GBaseInitFunc baseInit; GBaseFinalizeFunc baseFinalize; # classed types, instantiated types GClassInitFunc classInit; GClassFinalizeFunc classFinalize; gconstpointer classData; # instantiated types guint16 instanceSize; guint16 nPreallocs; GInstanceInitFunc instanceInit; # value handling const GTypeValueTable#valueTable; }; The important fields of this structure are pretty self-explanatory. We'll ignore the baseInit and baseFinalize as well as the valueTable fields here. Once Glib has a correctly filled in copy of this structure, it knows how to create objects of a particular type. The <literal>ClassInit()</literal> function The WIDGETNAMEClassInit() function initializes the fields of the widget's class structure, and sets up any signals for the class. For our Tictactoe widget it looks like: enum { TICTACTOESIGNAL, LASTSIGNAL }; static guint tictactoeSignals[LASTSIGNAL] = { 0 }; static void tictactoeClassInit (TictactoeClass#klass) { tictactoeSignals[TICTACTOESIGNAL] = gSignalNew ("tictactoe", GTYPEFROMCLASS (klass), GSIGNALRUNFIRST | GSIGNALACTION, GSTRUCTOFFSET (TictactoeClass, tictactoe), NULL, NULL, gCclosureMarshalVOID_VOID, GTYPENONE, 0); } Our widget has just one signal, the tictactoe signal that is invoked when a row, column, or diagonal is completely filled in. Not every composite widget needs signals, so if you are reading this for the first time, you may want to skip to the next section now, as things are going to get a bit complicated. The function: guint gSignalNew( const gchar #signalName, GType itype, GSignalFlags signalFlags, guint classOffset, GSignalAccumulator #accumulator, gpointer accuData, GSignalCMarshaller #cMarshaller, GType returnType, guint nParams, ...); Creates a new signal. The parameters are: signalName: The name of the signal. itype: The ID of the object that this signal applies to. (It will also apply to that objects descendants.) signalFlags: Whether the default handler runs before or after user handlers and other flags. Usually this will be one of GSIGNALRUNFIRST or GSIGNALRUNLAST, although there are other possibilities. The flag GSIGNALACTION specifies that no extra code needs to run that performs special pre or post emission adjustments. This means that the signal can also be emitted from object external code. classOffset: The offset within the class structure of a pointer to the default handler. accumulator: For most classes this can be set to NULL. accuData: User data that will be handed to the accumulator function. cMarshaller: A function that is used to invoke the signal handler. For signal handlers that have no arguments other than the object that emitted the signal and user data, we can use the pre-supplied marshaller function gCclosureMarshalVOID_VOID. returnType: The type of the return value. nParams: The number of parameters of the signal handler (other than the two default ones mentioned above) ...: The types of the parameters. When specifying types, the following standard types can be used: GTYPEINVALID GTYPENONE GTYPEINTERFACE GTYPECHAR GTYPEUCHAR GTYPEBOOLEAN GTYPEINT GTYPEUINT GTYPELONG GTYPEULONG GTYPEINT64 GTYPEUINT64 GTYPEENUM GTYPEFLAGS GTYPEFLOAT GTYPEDOUBLE GTYPESTRING GTYPEPOINTER GTYPEBOXED GTYPEPARAM GTYPEOBJECT gSignalNew() returns a unique integer identifier for the signal, that we store in the tictactoeSignals array, which we index using an enumeration. (Conventionally, the enumeration elements are the signal name, uppercased, but here there would be a conflict with the TICTACTOE() macro, so we called it TICTACTOESIGNAL instead. The <literal>Init()</literal> function Each class also needs a function to initialize the object structure. Usually, this function has the fairly limited role of setting the fields of the structure to default values. For composite widgets, however, this function also creates the component widgets. static void tictactoeInit (Tictactoe#ttt) { gint i,j; gtkTableResize (GTKTABLE (ttt), 3, 3); gtkTableSetHomogeneous (GTKTABLE (ttt), TRUE); for (i=0;i<3; i++) for (j=0;j<3; j++) { ttt->buttons[i][j] = gtkToggleButtonNew (); gtkTableAttachDefaults (GTKTABLE (ttt), ttt->buttons[i][j], i, i+1, j, j+1); gSignalConnect (GOBJECT (ttt->buttons[i][j]), "toggled", GCALLBACK (tictactoeToggle), ttt); gtkWidgetSetSizeRequest (ttt->buttons[i][j], 20, 20); gtkWidgetShow (ttt->buttons[i][j]); } } And the rest... There is one more function that every object (except for abstract classes like Bin that cannot be instantiated) needs to have - the function that the user calls to create an object of that type. This is conventionally called OBJECTNAMENew(). In some widgets, though not for the Tictactoe widgets, this function takes arguments, and does some setup based on the arguments. The other two functions are specific to the Tictactoe widget. tictactoeClear() is a public function that resets all the buttons in the widget to the up position. Note the use of gSignalHandlersBlockMatched() to keep our signal handler for button toggles from being triggered unnecessarily. tictactoeToggle() is the signal handler that is invoked when the user clicks on a button. It checks to see if there are any winning combinations that involve the toggled button, and if so, emits the "tictactoe" signal. GtkWidget* tictactoeNew (void) { return GTKWIDGET ( gObjectNew (TICTACTOETYPE, NULL)); } void tictactoeClear (Tictactoe#ttt) { int i,j; for (i=0;i<3;i++) for (j=0;j<3;j++) { gSignalHandlersBlockMatched (GOBJECT (ttt->buttons[i][j]), GSIGNALMATCHDATA, 0, 0, NULL, NULL, ttt); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (ttt->buttons[i][j]), FALSE); gSignalHandlersUnblockMatched (GOBJECT (ttt->buttons[i][j]), GSIGNALMATCHDATA, 0, 0, NULL, NULL, ttt); } } static void tictactoeToggle (GtkWidget#widget, Tictactoe#ttt) { int i,k; static int rwins[8][3] = { { 0, 0, 0 }, { 1, 1, 1 }, { 2, 2, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 } }; static int cwins[8][3] = { { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 0, 0 }, { 1, 1, 1 }, { 2, 2, 2 }, { 0, 1, 2 }, { 2, 1, 0 } }; int success, found; for (k=0; k<8; k++) { success = TRUE; found = FALSE; for (i=0;i<3;i++) { success = success && GTKTOGGLEBUTTON(ttt->buttons[rwins[k][i]][cwins[k][i]])->active; found = found || ttt->buttons[rwins[k][i]][cwins[k][i]] == widget; } if (success && found) { gSignalEmit (GOBJECT (ttt), tictactoeSignals[TICTACTOESIGNAL], 0); break; } } } And finally, an example program using our Tictactoe widget: #include <gtk/gtk.h> #include "tictactoe.h" # Invoked when a row, column or diagonal is completed void win (GtkWidget#widget, gpointer data) { gPrint ("Yay!\n"); tictactoeClear (TICTACTOE (widget)); } int main (int argc, char#argv[]) { GtkWidget#window; GtkWidget#ttt; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Aspect Frame"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); # Create a new Tictactoe widget ttt = tictactoeNew (); gtkContainerAdd (GTKCONTAINER (window), ttt); gtkWidgetShow (ttt); # And attach to its "tictactoe" signal gSignalConnect (GOBJECT (ttt), "tictactoe", GCALLBACK (win), NULL); gtkWidgetShow (window); gtkMain (); return 0; } Creating a widget from scratch Introduction In this section, we'll learn more about how widgets display themselves on the screen and interact with events. As an example of this, we'll create an analog dial widget with a pointer that the user can drag to set the value. Displaying a widget on the screen There are several steps that are involved in displaying on the screen. After the widget is created with a call to WIDGETNAMENew(), several more functions are needed: WIDGETNAMERealize() is responsible for creating an X window for the widget if it has one. WIDGETNAMEMap() is invoked after the user calls gtkWidgetShow(). It is responsible for making sure the widget is actually drawn on the screen (mapped). For a container class, it must also make calls to map() functions of any child widgets. WIDGETNAMEDraw() is invoked when gtkWidgetDraw() is called for the widget or one of its ancestors. It makes the actual calls to the drawing functions to draw the widget on the screen. For container widgets, this function must make calls to gtkWidgetDraw() for its child widgets. WIDGETNAMEExpose() is a handler for expose events for the widget. It makes the necessary calls to the drawing functions to draw the exposed portion on the screen. For container widgets, this function must generate expose events for its child widgets which don't have their own windows. (If they have their own windows, then X will generate the necessary expose events.) You might notice that the last two functions are quite similar - each is responsible for drawing the widget on the screen. In fact many types of widgets don't really care about the difference between the two. The default draw() function in the widget class simply generates a synthetic expose event for the redrawn area. However, some types of widgets can save work by distinguishing between the two functions. For instance, if a widget has multiple X windows, then since expose events identify the exposed window, it can redraw only the affected window, which is not possible for calls to draw(). Container widgets, even if they don't care about the difference for themselves, can't simply use the default draw() function because their child widgets might care about the difference. However, it would be wasteful to duplicate the drawing code between the two functions. The convention is that such widgets have a function called WIDGETNAMEPaint() that does the actual work of drawing the widget, that is then called by the draw() and expose() functions. In our example approach, since the dial widget is not a container widget, and only has a single window, we can take the simplest approach and use the default draw() function and only implement an expose() function. The origins of the Dial Widget Just as all land animals are just variants on the first amphibian that crawled up out of the mud, GTK widgets tend to start off as variants of some other, previously written widget. Thus, although this section is entitled "Creating a Widget from Scratch", the Dial widget really began with the source code for the Range widget. This was picked as a starting point because it would be nice if our Dial had the same interface as the Scale widgets which are just specialized descendants of the Range widget. So, though the source code is presented below in finished form, it should not be implied that it was written, ab initio in this fashion. Also, if you aren't yet familiar with how scale widgets work from the application writer's point of view, it would be a good idea to look them over before continuing. The Basics Quite a bit of our widget should look pretty familiar from the Tictactoe widget. First, we have a header file: # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #ifndef _GTKDIALH_ #define _GTKDIALH_ #include <gdk/gdk.h> #include <gtk/gtkadjustment.h> #include <gtk/gtkwidget.h> #ifdef _cplusplus extern "C" { #endif # _cplusplus #define GTKDIAL(obj) GTKCHECKCAST (obj, gtkDialGetType (), GtkDial) #define GTKDIALCLASS(klass) GTKCHECKCLASSCAST (klass, gtkDialGetType (), GtkDialClass) #define GTKISDIAL(obj) GTKCHECKTYPE (obj, gtkDialGetType ()) typedef struct GtkDial GtkDial; typedef struct GtkDialClass GtkDialClass; struct GtkDial { GtkWidget widget; # update policy (GTKUPDATE[CONTINUOUS/DELAYED/DISCONTINUOUS]) guint policy : 2; # Button currently pressed or 0 if none guint8 button; # Dimensions of dial components gint radius; gint pointerWidth; # ID of update timer, or 0 if none guint32 timer; # Current angle gfloat angle; # Old values from adjustment stored so we know when something changes gfloat oldValue; gfloat oldLower; gfloat oldUpper; # The adjustment object that stores the data for this dial GtkAdjustment#adjustment; }; struct GtkDialClass { GtkWidgetClass parentClass; }; GtkWidget* gtkDialNew (GtkAdjustment#adjustment); GtkType gtkDialGetType (void); GtkAdjustment* gtkDialGetAdjustment (GtkDial #dial); void gtkDialSetUpdatePolicy (GtkDial #dial, GtkUpdateType policy); void gtkDialSetAdjustment (GtkDial #dial, GtkAdjustment#adjustment); #ifdef _cplusplus } #endif # _cplusplus #endif # _GTKDIALH_ Since there is quite a bit more going on in this widget than the last one, we have more fields in the data structure, but otherwise things are pretty similar. Next, after including header files and declaring a few constants, we have some functions to provide information about the widget and initialize it: #include <math.h> #include <stdio.h> #include <gtk/gtkmain.h> #include <gtk/gtksignal.h> #include "gtkdial.h" #define SCROLLDELAYLENGTH 300 #define DIALDEFAULTSIZE 100 # Forward declarations [ omitted to save space ] # Local data static GtkWidgetClass#parentClass = NULL; GtkType gtkDialGetType () { static GtkType dialType = 0; if (!dialType) { static const GtkTypeInfo dialInfo = { "GtkDial", sizeof (GtkDial), sizeof (GtkDialClass), (GtkClassInitFunc) gtkDialClassInit, (GtkObjectInitFunc) gtkDialInit, # reserved1 NULL, # reserved1 NULL, (GtkClassInitFunc) NULL }; dialType = gtkTypeUnique (GTKTYPEWIDGET, &dialInfo); } return dialType; } static void gtkDialClassInit (GtkDialClass#class) { GtkObjectClass#objectClass; GtkWidgetClass#widgetClass; objectClass = (GtkObjectClass*) class; widgetClass = (GtkWidgetClass*) class; parentClass = gtkTypeClass (gtkWidgetGetType ()); objectClass->destroy = gtkDialDestroy; widgetClass->realize = gtkDialRealize; widgetClass->exposeEvent = gtkDialExpose; widgetClass->sizeRequest = gtkDialSizeRequest; widgetClass->sizeAllocate = gtkDialSizeAllocate; widgetClass->buttonPressEvent = gtkDialButtonPress; widgetClass->buttonReleaseEvent = gtkDialButtonRelease; widgetClass->motionNotifyEvent = gtkDialMotionNotify; } static void gtkDialInit (GtkDial#dial) { dial->button = 0; dial->policy = GTKUPDATECONTINUOUS; dial->timer = 0; dial->radius = 0; dial->pointerWidth = 0; dial->angle = 0.0; dial->oldValue = 0.0; dial->oldLower = 0.0; dial->oldUpper = 0.0; dial->adjustment = NULL; } GtkWidget* gtkDialNew (GtkAdjustment#adjustment) { GtkDial#dial; dial = gtkTypeNew (gtkDialGetType ()); if (!adjustment) adjustment = (GtkAdjustment*) gtkAdjustmentNew (0.0, 0.0, 0.0, 0.0, 0.0, 0.0); gtkDialSetAdjustment (dial, adjustment); return GTKWIDGET (dial); } static void gtkDialDestroy (GtkObject#object) { GtkDial#dial; gReturnIfFail (object != NULL); gReturnIfFail (GTKISDIAL (object)); dial = GTKDIAL (object); if (dial->adjustment) gtkObjectUnref (GTKOBJECT (dial->adjustment)); if (GTKOBJECTCLASS (parentClass)->destroy) (* GTKOBJECTCLASS (parentClass)->destroy) (object); } Note that this init() function does less than for the Tictactoe widget, since this is not a composite widget, and the new() function does more, since it now has an argument. Also, note that when we store a pointer to the Adjustment object, we increment its reference count, (and correspondingly decrement it when we no longer use it) so that GTK can keep track of when it can be safely destroyed. Also, there are a few function to manipulate the widget's options: GtkAdjustment* gtkDialGetAdjustment (GtkDial#dial) { gReturnValIfFail (dial != NULL, NULL); gReturnValIfFail (GTKISDIAL (dial), NULL); return dial->adjustment; } void gtkDialSetUpdatePolicy (GtkDial #dial, GtkUpdateType policy) { gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); dial->policy = policy; } void gtkDialSetAdjustment (GtkDial #dial, GtkAdjustment#adjustment) { gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); if (dial->adjustment) { gtkSignalDisconnectByData (GTKOBJECT (dial->adjustment), (gpointer) dial); gtkObjectUnref (GTKOBJECT (dial->adjustment)); } dial->adjustment = adjustment; gtkObjectRef (GTKOBJECT (dial->adjustment)); gtkSignalConnect (GTKOBJECT (adjustment), "changed", (GtkSignalFunc) gtkDialAdjustmentChanged, (gpointer) dial); gtkSignalConnect (GTKOBJECT (adjustment), "valueChanged", (GtkSignalFunc) gtkDialAdjustmentValueChanged, (gpointer) dial); dial->oldValue = adjustment->value; dial->oldLower = adjustment->lower; dial->oldUpper = adjustment->upper; gtkDialUpdate (dial); } <literal>gtkDialRealize()</literal> Now we come to some new types of functions. First, we have a function that does the work of creating the X window. Notice that a mask is passed to the function gdkWindowNew() which specifies which fields of the GdkWindowAttr structure actually have data in them (the remaining fields will be given default values). Also worth noting is the way the event mask of the widget is created. We call gtkWidgetGetEvents() to retrieve the event mask that the user has specified for this widget (with gtkWidgetSetEvents()), and add the events that we are interested in ourselves. After creating the window, we set its style and background, and put a pointer to the widget in the user data field of the GdkWindow. This last step allows GTK to dispatch events for this window to the correct widget. static void gtkDialRealize (GtkWidget#widget) { GtkDial#dial; GdkWindowAttr attributes; gint attributesMask; gReturnIfFail (widget != NULL); gReturnIfFail (GTKISDIAL (widget)); GTKWIDGETSETFLAGS (widget, GTKREALIZED); dial = GTKDIAL (widget); attributes.x = widget->allocation.x; attributes.y = widget->allocation.y; attributes.width = widget->allocation.width; attributes.height = widget->allocation.height; attributes.wclass = GDKINPUTOUTPUT; attributes.windowType = GDKWINDOWCHILD; attributes.eventMask = gtkWidgetGetEvents (widget) | GDKEXPOSUREMASK | GDKBUTTONPRESSMASK | GDKBUTTONRELEASEMASK | GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK; attributes.visual = gtkWidgetGetVisual (widget); attributes.colormap = gtkWidgetGetColormap (widget); attributesMask = GDKWAX | GDKWAY | GDKWAVISUAL | GDKWACOLORMAP; widget->window = gdkWindowNew (widget->parent->window, &attributes, attributesMask); widget->style = gtkStyleAttach (widget->style, widget->window); gdkWindowSetUserData (widget->window, widget); gtkStyleSetBackground (widget->style, widget->window, GTKSTATEACTIVE); } Size negotiation Before the first time that the window containing a widget is displayed, and whenever the layout of the window changes, GTK asks each child widget for its desired size. This request is handled by the function gtkDialSizeRequest(). Since our widget isn't a container widget, and has no real constraints on its size, we just return a reasonable default value. static void gtkDialSizeRequest (GtkWidget #widget, GtkRequisition#requisition) { requisition->width = DIALDEFAULTSIZE; requisition->height = DIALDEFAULTSIZE; } After all the widgets have requested an ideal size, the layout of the window is computed and each child widget is notified of its actual size. Usually, this will be at least as large as the requested size, but if for instance the user has resized the window, it may occasionally be smaller than the requested size. The size notification is handled by the function gtkDialSizeAllocate(). Notice that as well as computing the sizes of some component pieces for future use, this routine also does the grunt work of moving the widget's X window into the new position and size. static void gtkDialSizeAllocate (GtkWidget #widget, GtkAllocation#allocation) { GtkDial#dial; gReturnIfFail (widget != NULL); gReturnIfFail (GTKISDIAL (widget)); gReturnIfFail (allocation != NULL); widget->allocation =#allocation; if (GTKWIDGETREALIZED (widget)) { dial = GTKDIAL (widget); gdkWindowMoveResize (widget->window, allocation->x, allocation->y, allocation->width, allocation->height); dial->radius = MAX(allocation->width,allocation->height)# 0.45; dial->pointerWidth = dial->radius / 5; } } <literal>gtkDialExpose()</literal> As mentioned above, all the drawing of this widget is done in the handler for expose events. There's not much to remark on here except the use of the function gtkDrawPolygon to draw the pointer with three dimensional shading according to the colors stored in the widget's style. static gboolean gtkDialExpose( GtkWidget #widget, GdkEventExpose#event ) { GtkDial#dial; GdkPoint points[3]; gdouble s,c; gdouble theta; gint xc, yc; gint tickLength; gint i; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); if (event->count > 0) return FALSE; dial = GTKDIAL (widget); gdkWindowClearArea (widget->window, 0, 0, widget->allocation.width, widget->allocation.height); xc = widget->allocation.width/2; yc = widget->allocation.height/2; # Draw ticks for (i=0; i<25; i++) { theta = (i*MPI/18. - MPI/6.); s = sin(theta); c = cos(theta); tickLength = (i%6 == 0) ? dial->pointerWidth : dial->pointerWidth/2; gdkDrawLine (widget->window, widget->style->fgGc[widget->state], xc + c*(dial->radius - tickLength), yc - s*(dial->radius - tickLength), xc + c*dial->radius, yc - s*dial->radius); } # Draw pointer s = sin(dial->angle); c = cos(dial->angle); points[0].x = xc + s*dial->pointerWidth/2; points[0].y = yc + c*dial->pointerWidth/2; points[1].x = xc + c*dial->radius; points[1].y = yc - s*dial->radius; points[2].x = xc - s*dial->pointerWidth/2; points[2].y = yc - c*dial->pointerWidth/2; gtkDrawPolygon (widget->style, widget->window, GTKSTATENORMAL, GTKSHADOWOUT, points, 3, TRUE); return FALSE; } Event handling The rest of the widget's code handles various types of events, and isn't too different from what would be found in many GTK applications. Two types of events can occur - either the user can click on the widget with the mouse and drag to move the pointer, or the value of the Adjustment object can change due to some external circumstance. When the user clicks on the widget, we check to see if the click was appropriately near the pointer, and if so, store the button that the user clicked with in the button field of the widget structure, and grab all mouse events with a call to gtkGrabAdd(). Subsequent motion of the mouse causes the value of the control to be recomputed (by the function gtkDialUpdateMouse). Depending on the policy that has been set, "valueChanged" events are either generated instantly (GTKUPDATECONTINUOUS), after a delay in a timer added with gTimeoutAdd() (GTKUPDATEDELAYED), or only when the button is released (GTKUPDATEDISCONTINUOUS). static gboolean gtkDialButtonPress( GtkWidget #widget, GdkEventButton#event ) { GtkDial#dial; gint dx, dy; double s, c; double dParallel; double dPerpendicular; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); # Determine if button press was within pointer region - we do this by computing the parallel and perpendicular distance of the point where the mouse was pressed from the line passing through the pointer dx = event->x - widget->allocation.width / 2; dy = widget->allocation.height / 2 - event->y; s = sin(dial->angle); c = cos(dial->angle); dParallel = s*dy + c*dx; dPerpendicular = fabs(s*dx - c*dy); if (!dial->button && (dPerpendicular < dial->pointerWidth/2) && (dParallel > - dial->pointerWidth)) { gtkGrabAdd (widget); dial->button = event->button; gtkDialUpdateMouse (dial, event->x, event->y); } return FALSE; } static gboolean gtkDialButtonRelease( GtkWidget #widget, GdkEventButton#event ) { GtkDial#dial; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); if (dial->button == event->button) { gtkGrabRemove (widget); dial->button = 0; if (dial->policy == GTKUPDATEDELAYED) gSourceRemove (dial->timer); if ((dial->policy != GTKUPDATECONTINUOUS) && (dial->oldValue != dial->adjustment->value)) gtkSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } return FALSE; } static gboolean gtkDialMotionNotify( GtkWidget #widget, GdkEventMotion#event ) { GtkDial#dial; GdkModifierType mods; gint x, y, mask; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); if (dial->button != 0) { x = event->x; y = event->y; if (event->isHint || (event->window != widget->window)) gdkWindowGetPointer (widget->window, &x, &y, &mods); switch (dial->button) { case 1: mask = GDKBUTTON1MASK; break; case 2: mask = GDKBUTTON2MASK; break; case 3: mask = GDKBUTTON3MASK; break; default: mask = 0; break; } if (mods & mask) gtkDialUpdateMouse (dial, x,y); } return FALSE; } static gboolean gtkDialTimer( GtkDial#dial ) { gReturnValIfFail (dial != NULL, FALSE); gReturnValIfFail (GTKISDIAL (dial), FALSE); if (dial->policy == GTKUPDATEDELAYED) gtkSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); return FALSE; } static void gtkDialUpdateMouse (GtkDial#dial, gint x, gint y) { gint xc, yc; gfloat oldValue; gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); xc = GTKWIDGET(dial)->allocation.width / 2; yc = GTKWIDGET(dial)->allocation.height / 2; oldValue = dial->adjustment->value; dial->angle = atan2(yc-y, x-xc); if (dial->angle < -MPI/2.) dial->angle += 2*MPI; if (dial->angle < -MPI/6) dial->angle = -MPI/6; if (dial->angle > 7.*MPI/6.) dial->angle = 7.*MPI/6.; dial->adjustment->value = dial->adjustment->lower + (7.*MPI/6 - dial->angle)# (dial->adjustment->upper - dial->adjustment->lower) / (4.*MPI/3.); if (dial->adjustment->value != oldValue) { if (dial->policy == GTKUPDATECONTINUOUS) { gtkSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } else { gtkWidgetDraw (GTKWIDGET(dial), NULL); if (dial->policy == GTKUPDATEDELAYED) { if (dial->timer) gSourceRemove (dial->timer); dial->timer = gTimeoutAdd (SCROLLDELAYLENGTH, (GtkFunction) gtkDialTimer, (gpointer) dial); } } } } Changes to the Adjustment by external means are communicated to our widget by the "changed" and "valueChanged" signals. The handlers for these functions call gtkDialUpdate() to validate the arguments, compute the new pointer angle, and redraw the widget (by calling gtkWidgetDraw()). static void gtkDialUpdate (GtkDial#dial) { gfloat newValue; gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); newValue = dial->adjustment->value; if (newValue < dial->adjustment->lower) newValue = dial->adjustment->lower; if (newValue > dial->adjustment->upper) newValue = dial->adjustment->upper; if (newValue != dial->adjustment->value) { dial->adjustment->value = newValue; gtkSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } dial->angle = 7.*MPI/6. - (newValue - dial->adjustment->lower)# 4.*MPI/3. / (dial->adjustment->upper - dial->adjustment->lower); gtkWidgetDraw (GTKWIDGET(dial), NULL); } static void gtkDialAdjustmentChanged (GtkAdjustment#adjustment, gpointer data) { GtkDial#dial; gReturnIfFail (adjustment != NULL); gReturnIfFail (data != NULL); dial = GTKDIAL (data); if ((dial->oldValue != adjustment->value) || (dial->oldLower != adjustment->lower) || (dial->oldUpper != adjustment->upper)) { gtkDialUpdate (dial); dial->oldValue = adjustment->value; dial->oldLower = adjustment->lower; dial->oldUpper = adjustment->upper; } } static void gtkDialAdjustmentValueChanged (GtkAdjustment#adjustment, gpointer data) { GtkDial#dial; gReturnIfFail (adjustment != NULL); gReturnIfFail (data != NULL); dial = GTKDIAL (data); if (dial->oldValue != adjustment->value) { gtkDialUpdate (dial); dial->oldValue = adjustment->value; } } Possible Enhancements The Dial widget as we've described it so far runs about 670 lines of code. Although that might sound like a fair bit, we've really accomplished quite a bit with that much code, especially since much of that length is headers and boilerplate. However, there are quite a few more enhancements that could be made to this widget: If you try this widget out, you'll find that there is some flashing as the pointer is dragged around. This is because the entire widget is erased every time the pointer is moved before being redrawn. Often, the best way to handle this problem is to draw to an offscreen pixmap, then copy the final results onto the screen in one step. (The ProgressBar widget draws itself in this fashion.) The user should be able to use the up and down arrow keys to increase and decrease the value. It would be nice if the widget had buttons to increase and decrease the value in small or large steps. Although it would be possible to use embedded Button widgets for this, we would also like the buttons to auto-repeat when held down, as the arrows on a scrollbar do. Most of the code to implement this type of behavior can be found in the Range widget. The Dial widget could be made into a container widget with a single child widget positioned at the bottom between the buttons mentioned above. The user could then add their choice of a label or entry widget to display the current value of the dial. Learning More Only a small part of the many details involved in creating widgets could be described above. If you want to write your own widgets, the best source of examples is the GTK source itself. Ask yourself some questions about the widget you want to write: IS it a Container widget? Does it have its own window? Is it a modification of an existing widget? Then find a similar widget, and start making changes. Good luck! Scribble, A Simple Example Drawing Program Overview In this section, we will build a simple drawing program. In the process, we will examine how to handle mouse events, how to draw in a window, and how to do drawing better by using a backing pixmap. After creating the simple drawing program, we will extend it by adding support for XInput devices, such as drawing tablets. GTK provides support routines which makes getting extended information, such as pressure and tilt, from such devices quite easy. Event Handling The GTK signals we have already discussed are for high-level actions, such as a menu item being selected. However, sometimes it is useful to learn about lower-level occurrences, such as the mouse being moved, or a key being pressed. There are also GTK signals corresponding to these low-level events. The handlers for these signals have an extra parameter which is a pointer to a structure containing information about the event. For instance, motion event handlers are passed a pointer to a GdkEventMotion structure which looks (in part) like: struct GdkEventMotion { GdkEventType type; GdkWindow#window; guint32 time; gdouble x; gdouble y; ... guint state; ... }; type will be set to the event type, in this case GDKMOTIONNOTIFY, window is the window in which the event occurred. x and y give the coordinates of the event. state specifies the modifier state when the event occurred (that is, it specifies which modifier keys and mouse buttons were pressed). It is the bitwise OR of some of the following: GDKSHIFTMASK GDKLOCKMASK GDKCONTROLMASK GDKMOD1MASK GDKMOD2MASK GDKMOD3MASK GDKMOD4MASK GDKMOD5MASK GDKBUTTON1MASK GDKBUTTON2MASK GDKBUTTON3MASK GDKBUTTON4MASK GDKBUTTON5MASK As for other signals, to determine what happens when an event occurs we call gtkSignalConnect(). But we also need let GTK know which events we want to be notified about. To do this, we call the function: void gtkWidgetSetEvents (GtkWidget#widget, gint events); The second field specifies the events we are interested in. It is the bitwise OR of constants that specify different types of events. For future reference the event types are: GDKEXPOSUREMASK GDKPOINTERMOTIONMASK GDKPOINTERMOTIONHINTMASK GDKBUTTONMOTIONMASK GDKBUTTON1MOTIONMASK GDKBUTTON2MOTIONMASK GDKBUTTON3MOTIONMASK GDKBUTTONPRESSMASK GDKBUTTONRELEASEMASK GDKKEYPRESSMASK GDKKEYRELEASEMASK GDKENTERNOTIFYMASK GDKLEAVENOTIFYMASK GDKFOCUSCHANGEMASK GDKSTRUCTUREMASK GDKPROPERTYCHANGEMASK GDKPROXIMITYINMASK GDKPROXIMITYOUTMASK There are a few subtle points that have to be observed when calling gtkWidgetSetEvents(). First, it must be called before the X window for a GTK widget is created. In practical terms, this means you should call it immediately after creating the widget. Second, the widget must have an associated X window. For efficiency, many widget types do not have their own window, but draw in their parent's window. These widgets are: GtkAlignment GtkArrow GtkBin GtkBox GtkImage GtkItem GtkLabel GtkPixmap GtkScrolledWindow GtkSeparator GtkTable GtkAspectFrame GtkFrame GtkVBox GtkHBox GtkVSeparator GtkHSeparator To capture events for these widgets, you need to use an EventBox widget. See the section on the EventBox widget for details. For our drawing program, we want to know when the mouse button is pressed and when the mouse is moved, so we specify GDKPOINTERMOTIONMASK and GDKBUTTONPRESSMASK. We also want to know when we need to redraw our window, so we specify GDKEXPOSUREMASK. Although we want to be notified via a Configure event when our window size changes, we don't have to specify the corresponding GDKSTRUCTUREMASK flag, because it is automatically specified for all windows. It turns out, however, that there is a problem with just specifying GDKPOINTERMOTIONMASK. This will cause the server to add a new motion event to the event queue every time the user moves the mouse. Imagine that it takes us 0.1 seconds to handle a motion event, but the X server queues a new motion event every 0.05 seconds. We will soon get way behind the users drawing. If the user draws for 5 seconds, it will take us another 5 seconds to catch up after they release the mouse button! What we would like is to only get one motion event for each event we process. The way to do this is to specify GDKPOINTERMOTIONHINTMASK. When we specify GDKPOINTERMOTIONHINTMASK, the server sends us a motion event the first time the pointer moves after entering our window, or after a button press or release event. Subsequent motion events will be suppressed until we explicitly ask for the position of the pointer using the function: GdkWindow* gdkWindowGetPointer (GdkWindow #window, gint #x, gint #y, GdkModifierType#mask); (There is another function, gtkWidgetGetPointer() which has a simpler interface, but turns out not to be very useful, since it only retrieves the position of the mouse, not whether the buttons are pressed.) The code to set the events for our window then looks like: gtkSignalConnect (GTKOBJECT (drawingArea), "exposeEvent", (GtkSignalFunc) exposeEvent, NULL); gtkSignalConnect (GTKOBJECT(drawingArea),"configureEvent", (GtkSignalFunc) configureEvent, NULL); gtkSignalConnect (GTKOBJECT (drawingArea), "motionNotifyEvent", (GtkSignalFunc) motionNotifyEvent, NULL); gtkSignalConnect (GTKOBJECT (drawingArea), "buttonPressEvent", (GtkSignalFunc) buttonPressEvent, NULL); gtkWidgetSetEvents (drawingArea, GDKEXPOSUREMASK | GDKLEAVENOTIFYMASK | GDKBUTTONPRESSMASK | GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK); We'll save the "exposeEvent" and "configureEvent" handlers for later. The "motionNotifyEvent" and "buttonPressEvent" handlers are pretty simple: static gboolean buttonPressEvent( GtkWidget#widget, GdkEventButton#event ) { if (event->button == 1 && pixmap != NULL) drawBrush (widget, event->x, event->y); return TRUE; } static gboolean motionNotifyEvent( GtkWidget#widget, GdkEventMotion#event ) { int x, y; GdkModifierType state; if (event->isHint) gdkWindowGetPointer (event->window, &x, &y, &state); else { x = event->x; y = event->y; state = event->state; } if (state & GDKBUTTON1MASK && pixmap != NULL) drawBrush (widget, x, y); return TRUE; } The DrawingArea Widget, And Drawing We now turn to the process of drawing on the screen. The widget we use for this is the DrawingArea widget. A drawing area widget is essentially an X window and nothing more. It is a blank canvas in which we can draw whatever we like. A drawing area is created using the call: GtkWidget* gtkDrawingAreaNew (void); A default size for the widget can be specified by calling: void gtkDrawingAreaSize (GtkDrawingArea #darea, gint width, gint height); This default size can be overridden, as is true for all widgets, by calling gtkWidgetSetSizeRequest(), and that, in turn, can be overridden if the user manually resizes the the window containing the drawing area. It should be noted that when we create a DrawingArea widget, we are completely responsible for drawing the contents. If our window is obscured then uncovered, we get an exposure event and must redraw what was previously hidden. Having to remember everything that was drawn on the screen so we can properly redraw it can, to say the least, be a nuisance. In addition, it can be visually distracting if portions of the window are cleared, then redrawn step by step. The solution to this problem is to use an offscreen backing pixmap. Instead of drawing directly to the screen, we draw to an image stored in server memory but not displayed, then when the image changes or new portions of the image are displayed, we copy the relevant portions onto the screen. To create an offscreen pixmap, we call the function: GdkPixmap* gdkPixmapNew (GdkWindow #window, gint width, gint height, gint depth); The window parameter specifies a GDK window that this pixmap takes some of its properties from. width and height specify the size of the pixmap. depth specifies the color depth, that is the number of bits per pixel, for the new window. If the depth is specified as -1, it will match the depth of window. We create the pixmap in our "configureEvent" handler. This event is generated whenever the window changes size, including when it is originally created. # Backing pixmap for drawing area static GdkPixmap#pixmap = NULL; # Create a new backing pixmap of the appropriate size static gboolean configureEvent( GtkWidget#widget, GdkEventConfigure#event ) { if (pixmap) gObjectUnref(pixmap); pixmap = gdkPixmapNew(widget->window, widget->allocation.width, widget->allocation.height, -1); gdkDrawRectangle (pixmap, widget->style->whiteGc, TRUE, 0, 0, widget->allocation.width, widget->allocation.height); return TRUE; } The call to gdkDrawRectangle() clears the pixmap initially to white. We'll say more about that in a moment. Our exposure event handler then simply copies the relevant portion of the pixmap onto the screen (we determine the area we need to redraw by using the event->area field of the exposure event): # Redraw the screen from the backing pixmap static gboolean exposeEvent( GtkWidget#widget, GdkEventExpose#event ) { gdkDrawDrawable(widget->window, widget->style->fgGc[GTKWIDGETSTATE (widget)], pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } We've now seen how to keep the screen up to date with our pixmap, but how do we actually draw interesting stuff on our pixmap? There are a large number of calls in GTK's GDK library for drawing on drawables. A drawable is simply something that can be drawn upon. It can be a window, a pixmap, or a bitmap (a black and white image). We've already seen two such calls above, gdkDrawRectangle() and gdkDrawDrawable(). The complete list is: gdkDrawPoint () gdkDrawLine () gdkDrawRectangle () gdkDrawArc () gdkDrawPolygon () gdkDrawPixmap () gdkDrawBitmap () gdkDrawImage () gdkDrawPoints () gdkDrawSegments () gdkDrawLines () gdkDrawPixbuf () gdkDrawGlyphs () gdkDrawLayoutLine () gdkDrawLayout () gdkDrawLayoutLineWithColors () gdkDrawLayoutWithColors () gdkDrawGlyphsTransformed () gdkDrawGlyphsTrapezoids () See the reference documentation or the header file <gdk/gdkdrawable.h> for further details on these functions. These functions all share the same first two arguments. The first argument is the drawable to draw upon, the second argument is a graphics context (GC). A graphics context encapsulates information about things such as foreground and background color and line width. GDK has a full set of functions for creating and modifying graphics contexts, but to keep things simple we'll just use predefined graphics contexts. Each widget has an associated style. (Which can be modified in a gtkrc file, see the section GTK's rc file.) This, among other things, stores a number of graphics contexts. Some examples of accessing these graphics contexts are: widget->style->whiteGc widget->style->blackGc widget->style->fgGc[GTKSTATENORMAL] widget->style->bgGc[GTKWIDGETSTATE(widget)] The fields fgGc, bgGc, darkGc, and lightGc are indexed by a parameter of type GtkStateType which can take on the values: GTKSTATENORMAL, GTKSTATEACTIVE, GTKSTATEPRELIGHT, GTKSTATESELECTED, GTKSTATEINSENSITIVE For instance, for GTKSTATESELECTED the default foreground color is white and the default background color, dark blue. Our function drawBrush(), which does the actual drawing on the screen, is then: # Draw a rectangle on the screen static void drawBrush (GtkWidget#widget, gdouble x, gdouble y) { GdkRectangle updateRect; updateRect.x = x - 5; updateRect.y = y - 5; updateRect.width = 10; updateRect.height = 10; gdkDrawRectangle (pixmap, widget->style->blackGc, TRUE, updateRect.x, updateRect.y, updateRect.width, updateRect.height); gtkWidgetQueueDrawArea (widget, updateRect.x, updateRect.y, updateRect.width, updateRect.height); } After we draw the rectangle representing the brush onto the pixmap, we call the function: void gtkWidgetQueueDrawArea (GtkWidget #widget, gint x, gint y, gint width, gint height) which notifies X that the area given by the x, y, width and height parameters needs to be updated. X will eventually generate an expose event (possibly combining the areas passed in several calls to gtkWidgetQueueDrawArea()) which will cause our expose event handler to copy the relevant portions to the screen. We have now covered the entire drawing program except for a few mundane details like creating the main window. Adding XInput support It is now possible to buy quite inexpensive input devices such as drawing tablets, which allow drawing with a much greater ease of artistic expression than does a mouse. The simplest way to use such devices is simply as a replacement for the mouse, but that misses out many of the advantages of these devices, such as: Pressure sensitivity Tilt reporting Sub-pixel positioning Multiple inputs (for example, a stylus with a point and eraser) For information about the XInput extension, see the XInput HOWTO. If we examine the full definition of, for example, the GdkEventMotion structure, we see that it has fields to support extended device information. struct GdkEventMotion { GdkEventType type; GdkWindow#window; guint32 time; gdouble x; gdouble y; gdouble pressure; gdouble xtilt; gdouble ytilt; guint state; gint16 isHint; GdkInputSource source; guint32 deviceid; }; pressure gives the pressure as a floating point number between 0 and 1. xtilt and ytilt can take on values between -1 and 1, corresponding to the degree of tilt in each direction. source and deviceid specify the device for which the event occurred in two different ways. source gives some simple information about the type of device. It can take the enumeration values: GDKSOURCEMOUSE GDKSOURCEPEN GDKSOURCEERASER GDKSOURCECURSOR deviceid specifies a unique numeric ID for the device. This can be used to find out further information about the device using the gdkInputListDevices() call (see below). The special value GDKCOREPOINTER is used for the core pointer device. (Usually the mouse.) Enabling extended device information To let GTK know about our interest in the extended device information, we merely have to add a single line to our program: gtkWidgetSetExtensionEvents (drawingArea, GDKEXTENSIONEVENTSCURSOR); By giving the value GDKEXTENSIONEVENTSCURSOR we say that we are interested in extension events, but only if we don't have to draw our own cursor. See the section Further Sophistications below for more information about drawing the cursor. We could also give the values GDKEXTENSIONEVENTSALL if we were willing to draw our own cursor, or GDKEXTENSIONEVENTSNONE to revert back to the default condition. This is not completely the end of the story however. By default, no extension devices are enabled. We need a mechanism to allow users to enable and configure their extension devices. GTK provides the InputDialog widget to automate this process. The following procedure manages an InputDialog widget. It creates the dialog if it isn't present, and raises it to the top otherwise. void inputDialogDestroy (GtkWidget#w, gpointer data) { #((GtkWidget*)data) = NULL; } void createInputDialog () { static GtkWidget#inputd = NULL; if (!inputd) { inputd = gtkInputDialogNew(); gtkSignalConnect (GTKOBJECT(inputd), "destroy", (GtkSignalFunc)inputDialogDestroy, &inputd); gtkSignalConnectObject (GTKOBJECT(GTKINPUTDIALOG(inputd)->closeButton), "clicked", (GtkSignalFunc)gtkWidgetHide, GTKOBJECT(inputd)); gtkWidgetHide ( GTKINPUTDIALOG(inputd)->saveButton); gtkWidgetShow (inputd); } else { if (!GTKWIDGETMAPPED(inputd)) gtkWidgetShow(inputd); else gdkWindowRaise(inputd->window); } } (You might want to take note of the way we handle this dialog. By connecting to the "destroy" signal, we make sure that we don't keep a pointer to dialog around after it is destroyed - that could lead to a segfault.) The InputDialog has two buttons "Close" and "Save", which by default have no actions assigned to them. In the above function we make "Close" hide the dialog, hide the "Save" button, since we don't implement saving of XInput options in this program. Using extended device information Once we've enabled the device, we can just use the extended device information in the extra fields of the event structures. In fact, it is always safe to use this information since these fields will have reasonable default values even when extended events are not enabled. Once change we do have to make is to call gdkInputWindowGetPointer() instead of gdkWindowGetPointer. This is necessary because gdkWindowGetPointer doesn't return the extended device information. void gdkInputWindowGetPointer( GdkWindow #window, guint32 deviceid, gdouble #x, gdouble #y, gdouble #pressure, gdouble #xtilt, gdouble #ytilt, GdkModifierType#mask); When calling this function, we need to specify the device ID as well as the window. Usually, we'll get the device ID from the deviceid field of an event structure. Again, this function will return reasonable values when extension events are not enabled. (In this case, event->deviceid will have the value GDKCOREPOINTER). So the basic structure of our button-press and motion event handlers doesn't change much - we just need to add code to deal with the extended information. static gboolean buttonPressEvent( GtkWidget#widget, GdkEventButton#event ) { printButtonPress (event->deviceid); if (event->button == 1 && pixmap != NULL) drawBrush (widget, event->source, event->x, event->y, event->pressure); return TRUE; } static gboolean motionNotifyEvent( GtkWidget#widget, GdkEventMotion#event ) { gdouble x, y; gdouble pressure; GdkModifierType state; if (event->isHint) gdkInputWindowGetPointer (event->window, event->deviceid, &x, &y, &pressure, NULL, NULL, &state); else { x = event->x; y = event->y; pressure = event->pressure; state = event->state; } if (state & GDKBUTTON1MASK && pixmap != NULL) drawBrush (widget, event->source, x, y, pressure); return TRUE; } We also need to do something with the new information. Our new drawBrush() function draws with a different color for each event->source and changes the brush size depending on the pressure. # Draw a rectangle on the screen, size depending on pressure, and color on the type of device static void drawBrush (GtkWidget#widget, GdkInputSource source, gdouble x, gdouble y, gdouble pressure) { GdkGC#gc; GdkRectangle updateRect; switch (source) { case GDKSOURCEMOUSE: gc = widget->style->darkGc[GTKWIDGETSTATE (widget)]; break; case GDKSOURCEPEN: gc = widget->style->blackGc; break; case GDKSOURCEERASER: gc = widget->style->whiteGc; break; default: gc = widget->style->lightGc[GTKWIDGETSTATE (widget)]; } updateRect.x = x - 10# pressure; updateRect.y = y - 10# pressure; updateRect.width = 20# pressure; updateRect.height = 20# pressure; gdkDrawRectangle (pixmap, gc, TRUE, updateRect.x, updateRect.y, updateRect.width, updateRect.height); gtkWidgetDraw (widget, &updateRect); } Finding out more about a device As an example of how to find out more about a device, our program will print the name of the device that generates each button press. To find out the name of a device, we call the function: GList#gdkInputListDevices (void); which returns a GList (a linked list type from the GLib library) of GdkDeviceInfo structures. The GdkDeviceInfo structure is defined as: struct GdkDeviceInfo { guint32 deviceid; gchar#name; GdkInputSource source; GdkInputMode mode; gint hasCursor; gint numAxes; GdkAxisUse#axes; gint numKeys; GdkDeviceKey#keys; }; Most of these fields are configuration information that you can ignore unless you are implementing XInput configuration saving. The fieldwe are interested in here is name which is simply the name that X assigns to the device. The other field that isn't configuration information is hasCursor. If hasCursor is false, then we we need to draw our own cursor. But since we've specified GDKEXTENSIONEVENTSCURSOR, we don't have to worry about this. Our printButtonPress() function simply iterates through the returned list until it finds a match, then prints out the name of the device. static void printButtonPress (guint32 deviceid) { GList#tmpList; # gdkInputListDevices returns an internal list, so we shouldn't free it afterwards tmpList = gdkInputListDevices(); while (tmpList) { GdkDeviceInfo#info = (GdkDeviceInfo#)tmpList->data; if (info->deviceid == deviceid) { printf("Button press on device '%s'\n", info->name); return; } tmpList = tmpList->next; } } That completes the changes to "XInputize" our program. Further sophistications Although our program now supports XInput quite well, it lacks some features we would want in a full-featured application. First, the user probably doesn't want to have to configure their device each time they run the program, so we should allow them to save the device configuration. This is done by iterating through the return of gdkInputListDevices() and writing out the configuration to a file. To restore the state next time the program is run, GDK provides functions to change device configuration: gdkInputSetExtensionEvents() gdkInputSetSource() gdkInputSetMode() gdkInputSetAxes() gdkInputSetKey() (The list returned from gdkInputListDevices() should not be modified directly.) An example of doing this can be found in the drawing program gsumi. (Available from http://www.msc.cornell.edu/~otaylor/gsumi/) Eventually, it would be nice to have a standard way of doing this for all applications. This probably belongs at a slightly higher level than GTK, perhaps in the GNOME library. Another major omission that we have mentioned above is the lack of cursor drawing. Platforms other than XFree86 currently do not allow simultaneously using a device as both the core pointer and directly by an application. See the XInput-HOWTO for more information about this. This means that applications that want to support the widest audience need to draw their own cursor. An application that draws its own cursor needs to do two things: determine if the current device needs a cursor drawn or not, and determine if the current device is in proximity. (If the current device is a drawing tablet, it's a nice touch to make the cursor disappear when the stylus is lifted from the tablet. When the device is touching the stylus, that is called "in proximity.") The first is done by searching the device list, as we did to find out the device name. The second is achieved by selecting "proximityOut" events. An example of drawing one's own cursor is found in the "testinput" program found in the GTK distribution. Tips For Writing GTK Applications This section is simply a gathering of wisdom, general style guidelines and hints to creating good GTK applications. Currently this section is very short, but I hope it will get longer in future editions of this tutorial. Use GNU autoconf and automake! They are your friends :) Automake examines C files, determines how they depend on each other, and generates a Makefile so the files can be compiled in the correct order. Autoconf permits automatic configuration of software installation, handling a large number of system quirks to increase portability. I am planning to make a quick intro on them here. When writing C code, use only C comments (beginning with "#" and ending with ""), and don't use C++-style comments ("//"). Although many C compilers understand C++ comments, others don't, and the ANSI C standard does not require that C++-style comments be processed as comments. Contributing This document, like so much other great software out there, was created for free by volunteers. If you are at all knowledgeable about any aspect of GTK that does not already have documentation, please consider contributing to this document. If you do decide to contribute, please mail your text to Tony Gale, gale@gtk.org. Also, be aware that the entirety of this document is free, and any addition by you provide must also be free. That is, people may use any portion of your examples in their programs, and copies of this document may be distributed at will, etc. Thank you. Credits We would like to thank the following for their contributions to this text. Bawer Dagdeviren, chamele0n@geocities.com for the menus tutorial. Raph Levien, raph@acm.org for hello world ala GTK, widget packing, and general all around wisdom. He's also generously donated a home for this tutorial. Peter Mattis, petm@xcf.berkeley.edu for the simplest GTK program.. and the ability to make it :) Werner Koch werner.koch@guug.de for converting the original plain text to SGML, and the widget class hierarchy. Mark Crichton crichton@expert.cc.purdue.edu for the menu factory code, and the table packing tutorial. Owen Taylor owt1@cornell.edu for the EventBox widget section (and the patch to the distro). He's also responsible for the selections code and tutorial, as well as the sections on writing your own GTK widgets, and the example application. Thanks a lot Owen for all you help! Mark VanderBoom mvboom42@calvin.edu for his wonderful work on the Notebook, Progress Bar, Dialogs, and File selection widgets. Thanks a lot Mark! You've been a great help. Tim Janik timj@gtk.org for his great job on the Lists Widget. His excellent work on automatically extracting the widget tree and signal information from GTK. Thanks Tim :) Rajat Datta rajat@ix.netcom.com for the excellent job on the Pixmap tutorial. Michael K. Johnson johnsonm@redhat.com for info and code for popup menus. David Huggins-Daines bn711@freenet.carleton.ca for the Range Widgets and Tree Widget sections. Stefan Mars mars@lysator.liu.se for the CList section. David A. Wheeler dwheeler@ida.org for portions of the text on GLib and various tutorial fixups and improvements. The GLib text was in turn based on material developed by Damon Chaplin DAChaplin@msn.com David King for style checking the entire document. And to all of you who commented on and helped refine this document. Thanks. Tutorial Copyright and Permissions Notice The GTK Tutorial is Copyright (C) 1997 Ian Main. Copyright (C) 1998-2002 Tony Gale. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that this copyright notice is included exactly as in the original, and that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this document into another language, under the above conditions for modified versions. If you are intending to incorporate this document into a published work, please contact the maintainer, and we will make an effort to ensure that you have the most up to date information available. There is no guarantee that this document lives up to its intended purpose. This is simply provided as a free resource. As such, the authors and maintainers of the information provided within can not make any guarantee that the information is even accurate. GTK Signals As GTK is an object oriented widget set, it has a hierarchy of inheritance. This inheritance mechanism applies for signals. Therefore, you should refer to the widget hierarchy tree when using the signals listed in this section. GtkObject void GtkObject::destroy (GtkObject#, gpointer); GtkWidget void GtkWidget::show (GtkWidget#, gpointer); void GtkWidget::hide (GtkWidget#, gpointer); void GtkWidget::map (GtkWidget#, gpointer); void GtkWidget::unmap (GtkWidget#, gpointer); void GtkWidget::realize (GtkWidget#, gpointer); void GtkWidget::unrealize (GtkWidget#, gpointer); void GtkWidget::draw (GtkWidget#, ggpointer, gpointer); void GtkWidget::draw-focus (GtkWidget#, gpointer); void GtkWidget::draw-default (GtkWidget#, gpointer); void GtkWidget::size-request (GtkWidget#, ggpointer, gpointer); void GtkWidget::size-allocate (GtkWidget#, ggpointer, gpointer); void GtkWidget::state-changed (GtkWidget#, GtkStateType, gpointer); void GtkWidget::parent-set (GtkWidget#, GtkObject#, gpointer); void GtkWidget::style-set (GtkWidget#, GtkStyle#, gpointer); void GtkWidget::add-accelerator (GtkWidget#, gguint, GtkAccelGroup#, gguint, GdkModifierType, GtkAccelFlags, gpointer); void GtkWidget::remove-accelerator (GtkWidget#, GtkAccelGroup#, gguint, GdkModifierType, gpointer); gboolean GtkWidget::event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::button-press-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::button-release-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::motion-notify-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::delete-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::destroy-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::expose-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::key-press-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::key-release-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::enter-notify-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::leave-notify-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::configure-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::focus-in-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::focus-out-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::map-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::unmap-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::property-notify-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::selection-clear-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::selection-request-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::selection-notify-event (GtkWidget#, GdkEvent#, gpointer); void GtkWidget::selection-get (GtkWidget#, GtkSelectionData#, gguint, gpointer); void GtkWidget::selection-received (GtkWidget#, GtkSelectionData#, gguint, gpointer); gboolean GtkWidget::proximity-in-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::proximity-out-event (GtkWidget#, GdkEvent#, gpointer); void GtkWidget::drag-begin (GtkWidget#, GdkDragContext#, gpointer); void GtkWidget::drag-end (GtkWidget#, GdkDragContext#, gpointer); void GtkWidget::drag-data-delete (GtkWidget#, GdkDragContext#, gpointer); void GtkWidget::drag-leave (GtkWidget#, GdkDragContext#, gguint, gpointer); gboolean GtkWidget::drag-motion (GtkWidget#, GdkDragContext#, ggint, ggint, gguint, gpointer); gboolean GtkWidget::drag-drop (GtkWidget#, GdkDragContext#, ggint, ggint, gguint, gpointer); void GtkWidget::drag-data-get (GtkWidget#, GdkDragContext#, GtkSelectionData#, gguint, gguint, gpointer); void GtkWidget::drag-data-received (GtkWidget#, GdkDragContext#, ggint, ggint, GtkSelectionData#, gguint, gguint, gpointer); gboolean GtkWidget::client-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::no-expose-event (GtkWidget#, GdkEvent#, gpointer); gboolean GtkWidget::visibility-notify-event (GtkWidget#, GdkEvent#, gpointer); void GtkWidget::debug-msg (GtkWidget#, GtkString#, gpointer); GtkData void GtkData::disconnect (GtkData#, gpointer); GtkContainer void GtkContainer::add (GtkContainer#, GtkWidget#, gpointer); void GtkContainer::remove (GtkContainer#, GtkWidget#, gpointer); void GtkContainer::check-resize (GtkContainer#, gpointer); GtkDirectionType GtkContainer::focus (GtkContainer#, GtkDirectionType, gpointer); void GtkContainer::set-focus-child (GtkContainer#, GtkWidget#, gpointer); GtkCalendar void GtkCalendar::month-changed (GtkCalendar#, gpointer); void GtkCalendar::day-selected (GtkCalendar#, gpointer); void GtkCalendar::day-selected-double-click (GtkCalendar#, gpointer); void GtkCalendar::prev-month (GtkCalendar#, gpointer); void GtkCalendar::next-month (GtkCalendar#, gpointer); void GtkCalendar::prev-year (GtkCalendar#, gpointer); void GtkCalendar::next-year (GtkCalendar#, gpointer); GtkEditable void GtkEditable::changed (GtkEditable#, gpointer); void GtkEditable::insert-text (GtkEditable#, GtkString#, ggint, ggpointer, gpointer); void GtkEditable::delete-text (GtkEditable#, ggint, ggint, gpointer); void GtkEditable::activate (GtkEditable#, gpointer); void GtkEditable::set-editable (GtkEditable#, gboolean, gpointer); void GtkEditable::move-cursor (GtkEditable#, ggint, ggint, gpointer); void GtkEditable::move-word (GtkEditable#, ggint, gpointer); void GtkEditable::move-page (GtkEditable#, ggint, ggint, gpointer); void GtkEditable::move-to-row (GtkEditable#, ggint, gpointer); void GtkEditable::move-to-column (GtkEditable#, ggint, gpointer); void GtkEditable::kill-char (GtkEditable#, ggint, gpointer); void GtkEditable::kill-word (GtkEditable#, ggint, gpointer); void GtkEditable::kill-line (GtkEditable#, ggint, gpointer); void GtkEditable::cut-clipboard (GtkEditable#, gpointer); void GtkEditable::copy-clipboard (GtkEditable#, gpointer); void GtkEditable::paste-clipboard (GtkEditable#, gpointer); GtkNotebook void GtkNotebook::switch-page (GtkNotebook#, ggpointer, gguint, gpointer); GtkList void GtkList::selection-changed (GtkList#, gpointer); void GtkList::select-child (GtkList#, GtkWidget#, gpointer); void GtkList::unselect-child (GtkList#, GtkWidget#, gpointer); GtkMenuShell void GtkMenuShell::deactivate (GtkMenuShell#, gpointer); void GtkMenuShell::selection-done (GtkMenuShell#, gpointer); void GtkMenuShell::move-current (GtkMenuShell#, GtkMenuDirectionType, gpointer); void GtkMenuShell::activate-current (GtkMenuShell#, gboolean, gpointer); void GtkMenuShell::cancel (GtkMenuShell#, gpointer); GtkToolbar void GtkToolbar::orientation-changed (GtkToolbar#, ggint, gpointer); void GtkToolbar::style-changed (GtkToolbar#, ggint, gpointer); GtkButton void GtkButton::pressed (GtkButton#, gpointer); void GtkButton::released (GtkButton#, gpointer); void GtkButton::clicked (GtkButton#, gpointer); void GtkButton::enter (GtkButton#, gpointer); void GtkButton::leave (GtkButton#, gpointer); GtkItem void GtkItem::select (GtkItem#, gpointer); void GtkItem::deselect (GtkItem#, gpointer); void GtkItem::toggle (GtkItem#, gpointer); GtkWindow void GtkWindow::set-focus (GtkWindow#, ggpointer, gpointer); GtkHandleBox void GtkHandleBox::child-attached (GtkHandleBox#, GtkWidget#, gpointer); void GtkHandleBox::child-detached (GtkHandleBox#, GtkWidget#, gpointer); GtkToggleButton void GtkToggleButton::toggled (GtkToggleButton#, gpointer); GtkMenuItem void GtkMenuItem::activate (GtkMenuItem#, gpointer); void GtkMenuItem::activate-item (GtkMenuItem#, gpointer); GtkCheckMenuItem void GtkCheckMenuItem::toggled (GtkCheckMenuItem#, gpointer); GtkInputDialog void GtkInputDialog::enable-device (GtkInputDialog#, ggint, gpointer); void GtkInputDialog::disable-device (GtkInputDialog#, ggint, gpointer); GtkColorSelection void GtkColorSelection::color-changed (GtkColorSelection#, gpointer); GtkStatusBar void GtkStatusbar::text-pushed (GtkStatusbar#, gguint, GtkString#, gpointer); void GtkStatusbar::text-popped (GtkStatusbar#, gguint, GtkString#, gpointer); GtkCurve void GtkCurve::curve-type-changed (GtkCurve#, gpointer); GtkAdjustment void GtkAdjustment::changed (GtkAdjustment#, gpointer); void GtkAdjustment::value-changed (GtkAdjustment#, gpointer); GDK Event Types The following data types are passed into event handlers by GTK+. For each data type listed, the signals that use this data type are listed. GdkEvent dragEndEvent GdkEventType< GdkEventAny deleteEvent destroyEvent mapEvent unmapEvent noExposeEvent GdkEventExpose exposeEvent GdkEventNoExpose GdkEventVisibility GdkEventMotion motionNotifyEvent GdkEventButton buttonPressEvent buttonReleaseEvent GdkEventKey keyPressEvent keyReleaseEvent GdkEventCrossing enterNotifyEvent leaveNotifyEvent GdkEventFocus focusInEvent focusOutEvent GdkEventConfigure configureEvent GdkEventProperty propertyNotifyEvent GdkEventSelection selectionClearEvent selectionRequestEvent selectionNotifyEvent GdkEventProximity proximityInEvent proximityOutEvent GdkEventDragBegin dragBeginEvent GdkEventDragRequest dragRequestEvent GdkEventDropEnter dropEnterEvent GdkEventDropLeave dropLeaveEvent GdkEventDropDataAvailable dropDataAvailableEvent GdkEventClient clientEvent GdkEventOther otherEvent The data type GdkEventType is a special data type that is used by all the other data types as an indicator of the data type being passed to the signal handler. As you will see below, each of the event data structures has a member of this type. It is defined as an enumeration type as follows: typedef enum { GDKNOTHING = -1, GDKDELETE = 0, GDKDESTROY = 1, GDKEXPOSE = 2, GDKMOTIONNOTIFY = 3, GDKBUTTONPRESS = 4, GDK2BUTTONPRESS = 5, GDK3BUTTONPRESS = 6, GDKBUTTONRELEASE = 7, GDKKEYPRESS = 8, GDKKEYRELEASE = 9, GDKENTERNOTIFY = 10, GDKLEAVENOTIFY = 11, GDKFOCUSCHANGE = 12, GDKCONFIGURE = 13, GDKMAP = 14, GDKUNMAP = 15, GDKPROPERTYNOTIFY = 16, GDKSELECTIONCLEAR = 17, GDKSELECTIONREQUEST = 18, GDKSELECTIONNOTIFY = 19, GDKPROXIMITYIN = 20, GDKPROXIMITYOUT = 21, GDKDRAGBEGIN = 22, GDKDRAGREQUEST = 23, GDKDROPENTER = 24, GDKDROPLEAVE = 25, GDKDROPDATAAVAIL = 26, GDKCLIENTEVENT = 27, GDKVISIBILITYNOTIFY = 28, GDKNOEXPOSE = 29, GDKOTHEREVENT = 9999 # Deprecated, use filters instead } GdkEventType; The other event type that is different from the others is GdkEvent itself. This is a union of all the other data types, which allows it to be cast to a specific event data type within a signal handler. So, the event data types are defined as follows: struct GdkEventAny { GdkEventType type; GdkWindow#window; gint8 sendEvent; }; struct GdkEventExpose { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkRectangle area; gint count; # If non-zero, how many more events follow. }; struct GdkEventNoExpose { GdkEventType type; GdkWindow#window; gint8 sendEvent; # XXX: does anyone need the X majorCode or minorCode fields? }; struct GdkEventVisibility { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkVisibilityState state; }; struct GdkEventMotion { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 time; gdouble x; gdouble y; gdouble pressure; gdouble xtilt; gdouble ytilt; guint state; gint16 isHint; GdkInputSource source; guint32 deviceid; gdouble xRoot, yRoot; }; struct GdkEventButton { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 time; gdouble x; gdouble y; gdouble pressure; gdouble xtilt; gdouble ytilt; guint state; guint button; GdkInputSource source; guint32 deviceid; gdouble xRoot, yRoot; }; struct GdkEventKey { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 time; guint state; guint keyval; gint length; gchar#string; }; struct GdkEventCrossing { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkWindow#subwindow; GdkNotifyType detail; }; struct GdkEventFocus { GdkEventType type; GdkWindow#window; gint8 sendEvent; gint16 in; }; struct GdkEventConfigure { GdkEventType type; GdkWindow#window; gint8 sendEvent; gint16 x, y; gint16 width; gint16 height; }; struct GdkEventProperty { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkAtom atom; guint32 time; guint state; }; struct GdkEventSelection { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkAtom selection; GdkAtom target; GdkAtom property; guint32 requestor; guint32 time; }; # This event type will be used pretty rarely. It only is important for XInput aware programs that are drawing their own cursor struct GdkEventProximity { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 time; GdkInputSource source; guint32 deviceid; }; struct GdkEventDragRequest { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 requestor; union { struct { guint protocolVersion:4; guint sendreply:1; guint willaccept:1; guint deleteData:1; # Do#not* delete if link is sent, only if data is sent guint senddata:1; guint reserved:22; } flags; glong allflags; } u; guint8 isdrop; # This gdk event can be generated by a couple of X events - this lets the app know whether the drop really occurred or we just set the data GdkPoint dropCoords; gchar#dataType; guint32 timestamp; }; struct GdkEventDragBegin { GdkEventType type; GdkWindow#window; gint8 sendEvent; union { struct { guint protocolVersion:4; guint reserved:28; } flags; glong allflags; } u; }; struct GdkEventDropEnter { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 requestor; union { struct { guint protocolVersion:4; guint sendreply:1; guint extendedTypelist:1; guint reserved:26; } flags; glong allflags; } u; }; struct GdkEventDropLeave { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 requestor; union { struct { guint protocolVersion:4; guint reserved:28; } flags; glong allflags; } u; }; struct GdkEventDropDataAvailable { GdkEventType type; GdkWindow#window; gint8 sendEvent; guint32 requestor; union { struct { guint protocolVersion:4; guint isdrop:1; guint reserved:25; } flags; glong allflags; } u; gchar#dataType; # MIME type gulong dataNumbytes; gpointer data; guint32 timestamp; GdkPoint coords; }; struct GdkEventClient { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkAtom messageType; gushort dataFormat; union { char b[20]; short s[10]; long l[5]; } data; }; struct GdkEventOther { GdkEventType type; GdkWindow#window; gint8 sendEvent; GdkXEvent#xevent; }; Code Examples Below are the code examples that are used in the above text which are not included in complete form elsewhere. Tictactoe tictactoe.h # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #ifndef _TICTACTOEH_ #define _TICTACTOEH_ #include <glib.h> #include <glib-object.h> #include <gtk/gtktable.h> GBEGINDECLS #define TICTACTOETYPE (tictactoeGetType ()) #define TICTACTOE(obj) (GTYPECHECKINSTANCECAST ((obj), TICTACTOETYPE, Tictactoe)) #define TICTACTOECLASS(klass) (GTYPECHECKCLASSCAST ((klass), TICTACTOETYPE, TictactoeClass)) #define ISTICTACTOE(obj) (GTYPECHECKINSTANCETYPE ((obj), TICTACTOETYPE)) #define ISTICTACTOECLASS(klass) (GTYPECHECKCLASSTYPE ((klass), TICTACTOETYPE)) typedef struct Tictactoe Tictactoe; typedef struct TictactoeClass TictactoeClass; struct Tictactoe { GtkTable table; GtkWidget#buttons[3][3]; }; struct TictactoeClass { GtkTableClass parentClass; void (* tictactoe) (Tictactoe#ttt); }; GType tictactoeGetType (void); GtkWidget* tictactoeNew (void); void tictactoeClear (Tictactoe#ttt); GENDDECLS #endif # _TICTACTOEH_ tictactoe.c # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #include <gtk/gtksignal.h> #include <gtk/gtktable.h> #include <gtk/gtktogglebutton.h> #include "tictactoe.h" enum { TICTACTOESIGNAL, LASTSIGNAL }; static void tictactoeClassInit (TictactoeClass#klass); static void tictactoeInit (Tictactoe #ttt); static void tictactoeToggle (GtkWidget#widget, Tictactoe#ttt); static guint tictactoeSignals[LASTSIGNAL] = { 0 }; GType tictactoeGetType (void) { static GType tttType = 0; if (!tttType) { static const GTypeInfo tttInfo = { sizeof (TictactoeClass), NULL, # baseInit NULL, # baseFinalize (GClassInitFunc) tictactoeClassInit, NULL, # classFinalize NULL, # classData sizeof (Tictactoe), 0, (GInstanceInitFunc) tictactoeInit, }; tttType = gTypeRegisterStatic (GTKTYPETABLE, "Tictactoe", &tttInfo, 0); } return tttType; } static void tictactoeClassInit (TictactoeClass#klass) { tictactoeSignals[TICTACTOESIGNAL] = gSignalNew ("tictactoe", GTYPEFROMCLASS (klass), GSIGNALRUNFIRST | GSIGNALACTION, GSTRUCTOFFSET (TictactoeClass, tictactoe), NULL, NULL, gCclosureMarshalVOID_VOID, GTYPENONE, 0); } static void tictactoeInit (Tictactoe#ttt) { gint i,j; gtkTableResize (GTKTABLE (ttt), 3, 3); gtkTableSetHomogeneous (GTKTABLE (ttt), TRUE); for (i=0;i<3; i++) for (j=0;j<3; j++) { ttt->buttons[i][j] = gtkToggleButtonNew (); gtkTableAttachDefaults (GTKTABLE (ttt), ttt->buttons[i][j], i, i+1, j, j+1); gSignalConnect (GOBJECT (ttt->buttons[i][j]), "toggled", GCALLBACK (tictactoeToggle), (gpointer) ttt); gtkWidgetSetSizeRequest (ttt->buttons[i][j], 20, 20); gtkWidgetShow (ttt->buttons[i][j]); } } GtkWidget* tictactoeNew () { return GTKWIDGET (gObjectNew (tictactoeGetType (), NULL)); } void tictactoeClear (Tictactoe#ttt) { int i,j; for (i = 0; i<3; i++) for (j = 0; j<3; j++) { gSignalHandlersBlockMatched (GOBJECT (ttt->buttons[i][j]), GSIGNALMATCHDATA, 0, 0, NULL, NULL, ttt); gtkToggleButtonSetActive (GTKTOGGLEBUTTON (ttt->buttons[i][j]), FALSE); gSignalHandlersUnblockMatched (GOBJECT (ttt->buttons[i][j]), GSIGNALMATCHDATA, 0, 0, NULL, NULL, ttt); } } static void tictactoeToggle (GtkWidget#widget, Tictactoe#ttt) { int i,k; static int rwins[8][3] = { { 0, 0, 0 }, { 1, 1, 1 }, { 2, 2, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 } }; static int cwins[8][3] = { { 0, 1, 2 }, { 0, 1, 2 }, { 0, 1, 2 }, { 0, 0, 0 }, { 1, 1, 1 }, { 2, 2, 2 }, { 0, 1, 2 }, { 2, 1, 0 } }; int success, found; for (k = 0; k<8; k++) { success = TRUE; found = FALSE; for (i = 0; i<3; i++) { success = success && GTKTOGGLEBUTTON (ttt->buttons[rwins[k][i]][cwins[k][i]])->active; found = found || ttt->buttons[rwins[k][i]][cwins[k][i]] == widget; } if (success && found) { gSignalEmit (GOBJECT (ttt), tictactoeSignals[TICTACTOESIGNAL], 0); break; } } } tttTest.c #include <stdlib.h> #include <gtk/gtk.h> #include "tictactoe.h" void win( GtkWidget#widget, gpointer data ) { gPrint ("Yay!\n"); tictactoeClear (TICTACTOE (widget)); } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#ttt; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Aspect Frame"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); ttt = tictactoeNew (); gtkContainerAdd (GTKCONTAINER (window), ttt); gtkWidgetShow (ttt); # And attach to its "tictactoe" signal gSignalConnect (GOBJECT (ttt), "tictactoe", GCALLBACK (win), NULL); gtkWidgetShow (window); gtkMain (); return 0; } GtkDial gtkdial.h # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #ifndef _GTKDIALH_ #define _GTKDIALH_ #include <gdk/gdk.h> #include <gtk/gtkadjustment.h> #include <gtk/gtkwidget.h> #ifdef _cplusplus extern "C" { #endif # _cplusplus #define GTKDIAL(obj) GTKCHECKCAST (obj, gtkDialGetType (), GtkDial) #define GTKDIALCLASS(klass) GTKCHECKCLASSCAST (klass, gtkDialGetType (), GtkDialClass) #define GTKISDIAL(obj) GTKCHECKTYPE (obj, gtkDialGetType ()) typedef struct GtkDial GtkDial; typedef struct GtkDialClass GtkDialClass; struct GtkDial { GtkWidget widget; # update policy (GTKUPDATE[CONTINUOUS/DELAYED/DISCONTINUOUS]) guint policy : 2; # Button currently pressed or 0 if none guint8 button; # Dimensions of dial components gint radius; gint pointerWidth; # ID of update timer, or 0 if none guint32 timer; # Current angle gfloat angle; gfloat lastAngle; # Old values from adjustment stored so we know when something changes gfloat oldValue; gfloat oldLower; gfloat oldUpper; # The adjustment object that stores the data for this dial GtkAdjustment#adjustment; }; struct GtkDialClass { GtkWidgetClass parentClass; }; GtkWidget* gtkDialNew (GtkAdjustment#adjustment); GtkType gtkDialGetType (void); GtkAdjustment* gtkDialGetAdjustment (GtkDial #dial); void gtkDialSetUpdatePolicy (GtkDial #dial, GtkUpdateType policy); void gtkDialSetAdjustment (GtkDial #dial, GtkAdjustment#adjustment); #ifdef _cplusplus } #endif # _cplusplus #endif # _GTKDIALH_ gtkdial.c # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #include <math.h> #include <stdio.h> #include <gtk/gtkmain.h> #include <gtk/gtksignal.h> #include "gtkdial.h" #define SCROLLDELAYLENGTH 300 #define DIALDEFAULTSIZE 100 # Forward declarations static void gtkDialClassInit (GtkDialClass #klass); static void gtkDialInit (GtkDial #dial); static void gtkDialDestroy (GtkObject #object); static void gtkDialRealize (GtkWidget #widget); static void gtkDialSizeRequest (GtkWidget #widget, GtkRequisition #requisition); static void gtkDialSizeAllocate (GtkWidget #widget, GtkAllocation #allocation); static gboolean gtkDialExpose (GtkWidget #widget, GdkEventExpose #event); static gboolean gtkDialButtonPress (GtkWidget #widget, GdkEventButton #event); static gboolean gtkDialButtonRelease (GtkWidget #widget, GdkEventButton #event); static gboolean gtkDialMotionNotify (GtkWidget #widget, GdkEventMotion #event); static gboolean gtkDialTimer (GtkDial #dial); static void gtkDialUpdateMouse (GtkDial#dial, gint x, gint y); static void gtkDialUpdate (GtkDial#dial); static void gtkDialAdjustmentChanged (GtkAdjustment #adjustment, gpointer data); static void gtkDialAdjustmentValueChanged (GtkAdjustment #adjustment, gpointer data); # Local data static GtkWidgetClass#parentClass = NULL; GType gtkDialGetType () { static GType dialType = 0; if (!dialType) { static const GTypeInfo dialInfo = { sizeof (GtkDialClass), NULL, NULL, (GClassInitFunc) gtkDialClassInit, NULL, NULL, sizeof (GtkDial), 0, (GInstanceInitFunc) gtkDialInit, }; dialType = gTypeRegisterStatic (GTKTYPEWIDGET, "GtkDial", &dialInfo, 0); } return dialType; } static void gtkDialClassInit (GtkDialClass#class) { GtkObjectClass#objectClass; GtkWidgetClass#widgetClass; objectClass = (GtkObjectClass*) class; widgetClass = (GtkWidgetClass*) class; parentClass = gtkTypeClass (gtkWidgetGetType ()); objectClass->destroy = gtkDialDestroy; widgetClass->realize = gtkDialRealize; widgetClass->exposeEvent = gtkDialExpose; widgetClass->sizeRequest = gtkDialSizeRequest; widgetClass->sizeAllocate = gtkDialSizeAllocate; widgetClass->buttonPressEvent = gtkDialButtonPress; widgetClass->buttonReleaseEvent = gtkDialButtonRelease; widgetClass->motionNotifyEvent = gtkDialMotionNotify; } static void gtkDialInit (GtkDial#dial) { dial->button = 0; dial->policy = GTKUPDATECONTINUOUS; dial->timer = 0; dial->radius = 0; dial->pointerWidth = 0; dial->angle = 0.0; dial->oldValue = 0.0; dial->oldLower = 0.0; dial->oldUpper = 0.0; dial->adjustment = NULL; } GtkWidget* gtkDialNew (GtkAdjustment#adjustment) { GtkDial#dial; dial = gObjectNew (gtkDialGetType (), NULL); if (!adjustment) adjustment = (GtkAdjustment*) gtkAdjustmentNew (0.0, 0.0, 0.0, 0.0, 0.0, 0.0); gtkDialSetAdjustment (dial, adjustment); return GTKWIDGET (dial); } static void gtkDialDestroy (GtkObject#object) { GtkDial#dial; gReturnIfFail (object != NULL); gReturnIfFail (GTKISDIAL (object)); dial = GTKDIAL (object); if (dial->adjustment) { gObjectUnref (GTKOBJECT (dial->adjustment)); dial->adjustment = NULL; } if (GTKOBJECTCLASS (parentClass)->destroy) (* GTKOBJECTCLASS (parentClass)->destroy) (object); } GtkAdjustment* gtkDialGetAdjustment (GtkDial#dial) { gReturnValIfFail (dial != NULL, NULL); gReturnValIfFail (GTKISDIAL (dial), NULL); return dial->adjustment; } void gtkDialSetUpdatePolicy (GtkDial #dial, GtkUpdateType policy) { gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); dial->policy = policy; } void gtkDialSetAdjustment (GtkDial #dial, GtkAdjustment#adjustment) { gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); if (dial->adjustment) { gSignalHandlersDisconnectByFunc (GTKOBJECT (dial->adjustment), NULL, (gpointer) dial); gObjectUnref (GTKOBJECT (dial->adjustment)); } dial->adjustment = adjustment; gObjectRef (GTKOBJECT (dial->adjustment)); gSignalConnect (GTKOBJECT (adjustment), "changed", GTKSIGNALFUNC (gtkDialAdjustmentChanged), (gpointer) dial); gSignalConnect (GTKOBJECT (adjustment), "valueChanged", GTKSIGNALFUNC (gtkDialAdjustmentValueChanged), (gpointer) dial); dial->oldValue = adjustment->value; dial->oldLower = adjustment->lower; dial->oldUpper = adjustment->upper; gtkDialUpdate (dial); } static void gtkDialRealize (GtkWidget#widget) { GtkDial#dial; GdkWindowAttr attributes; gint attributesMask; gReturnIfFail (widget != NULL); gReturnIfFail (GTKISDIAL (widget)); GTKWIDGETSETFLAGS (widget, GTKREALIZED); dial = GTKDIAL (widget); attributes.x = widget->allocation.x; attributes.y = widget->allocation.y; attributes.width = widget->allocation.width; attributes.height = widget->allocation.height; attributes.wclass = GDKINPUTOUTPUT; attributes.windowType = GDKWINDOWCHILD; attributes.eventMask = gtkWidgetGetEvents (widget) | GDKEXPOSUREMASK | GDKBUTTONPRESSMASK | GDKBUTTONRELEASEMASK | GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK; attributes.visual = gtkWidgetGetVisual (widget); attributes.colormap = gtkWidgetGetColormap (widget); attributesMask = GDKWAX | GDKWAY | GDKWAVISUAL | GDKWACOLORMAP; widget->window = gdkWindowNew (widget->parent->window, &attributes, attributesMask); widget->style = gtkStyleAttach (widget->style, widget->window); gdkWindowSetUserData (widget->window, widget); gtkStyleSetBackground (widget->style, widget->window, GTKSTATEACTIVE); } static void gtkDialSizeRequest (GtkWidget #widget, GtkRequisition#requisition) { requisition->width = DIALDEFAULTSIZE; requisition->height = DIALDEFAULTSIZE; } static void gtkDialSizeAllocate (GtkWidget #widget, GtkAllocation#allocation) { GtkDial#dial; gReturnIfFail (widget != NULL); gReturnIfFail (GTKISDIAL (widget)); gReturnIfFail (allocation != NULL); widget->allocation =#allocation; dial = GTKDIAL (widget); if (GTKWIDGETREALIZED (widget)) { gdkWindowMoveResize (widget->window, allocation->x, allocation->y, allocation->width, allocation->height); } dial->radius = MIN (allocation->width, allocation->height)# 0.45; dial->pointerWidth = dial->radius / 5; } static gboolean gtkDialExpose( GtkWidget #widget, GdkEventExpose#event ) { GtkDial#dial; GdkPoint points[6]; gdouble s,c; gdouble theta, last, increment; GtkStyle #blankstyle; gint xc, yc; gint upper, lower; gint tickLength; gint i, inc; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); if (event->count > 0) return FALSE; dial = GTKDIAL (widget); # gdkWindowClearArea (widget->window, 0, 0, widget->allocation.width, widget->allocation.height); xc = widget->allocation.width / 2; yc = widget->allocation.height / 2; upper = dial->adjustment->upper; lower = dial->adjustment->lower; # Erase old pointer s = sin (dial->lastAngle); c = cos (dial->lastAngle); dial->lastAngle = dial->angle; points[0].x = xc + s*dial->pointerWidth/2; points[0].y = yc + c*dial->pointerWidth/2; points[1].x = xc + c*dial->radius; points[1].y = yc - s*dial->radius; points[2].x = xc - s*dial->pointerWidth/2; points[2].y = yc - c*dial->pointerWidth/2; points[3].x = xc - c*dial->radius/10; points[3].y = yc + s*dial->radius/10; points[4].x = points[0].x; points[4].y = points[0].y; blankstyle = gtkStyleNew (); blankstyle->bgGc[GTKSTATENORMAL] = widget->style->bgGc[GTKSTATENORMAL]; blankstyle->darkGc[GTKSTATENORMAL] = widget->style->bgGc[GTKSTATENORMAL]; blankstyle->lightGc[GTKSTATENORMAL] = widget->style->bgGc[GTKSTATENORMAL]; blankstyle->blackGc = widget->style->bgGc[GTKSTATENORMAL]; gtkPaintPolygon (blankstyle, widget->window, GTKSTATENORMAL, GTKSHADOWOUT, NULL, widget, NULL, points, 5, FALSE); gObjectUnref (blankstyle); # Draw ticks if ((upper - lower) == 0) return FALSE; increment = (100*MPI) / (dial->radius*dial->radius); inc = (upper - lower); while (inc < 100) inc#= 10; while (inc >= 1000) inc /= 10; last = -1; for (i = 0; i <= inc; i++) { theta = ((gfloat)i*MPI / (18*inc/24.) - MPI/6.); if ((theta - last) < (increment)) continue; last = theta; s = sin (theta); c = cos (theta); tickLength = (i%(inc/10) == 0) ? dial->pointerWidth : dial->pointerWidth / 2; gdkDrawLine (widget->window, widget->style->fgGc[widget->state], xc + c*(dial->radius - tickLength), yc - s*(dial->radius - tickLength), xc + c*dial->radius, yc - s*dial->radius); } # Draw pointer s = sin (dial->angle); c = cos (dial->angle); dial->lastAngle = dial->angle; points[0].x = xc + s*dial->pointerWidth/2; points[0].y = yc + c*dial->pointerWidth/2; points[1].x = xc + c*dial->radius; points[1].y = yc - s*dial->radius; points[2].x = xc - s*dial->pointerWidth/2; points[2].y = yc - c*dial->pointerWidth/2; points[3].x = xc - c*dial->radius/10; points[3].y = yc + s*dial->radius/10; points[4].x = points[0].x; points[4].y = points[0].y; gtkPaintPolygon (widget->style, widget->window, GTKSTATENORMAL, GTKSHADOWOUT, NULL, widget, NULL, points, 5, TRUE); return FALSE; } static gboolean gtkDialButtonPress( GtkWidget #widget, GdkEventButton#event ) { GtkDial#dial; gint dx, dy; double s, c; double dParallel; double dPerpendicular; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); # Determine if button press was within pointer region - we do this by computing the parallel and perpendicular distance of the point where the mouse was pressed from the line passing through the pointer dx = event->x - widget->allocation.width / 2; dy = widget->allocation.height / 2 - event->y; s = sin (dial->angle); c = cos (dial->angle); dParallel = s*dy + c*dx; dPerpendicular = fabs (s*dx - c*dy); if (!dial->button && (dPerpendicular < dial->pointerWidth/2) && (dParallel > - dial->pointerWidth)) { gtkGrabAdd (widget); dial->button = event->button; gtkDialUpdateMouse (dial, event->x, event->y); } return FALSE; } static gboolean gtkDialButtonRelease( GtkWidget #widget, GdkEventButton#event ) { GtkDial#dial; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); if (dial->button == event->button) { gtkGrabRemove (widget); dial->button = 0; if (dial->policy == GTKUPDATEDELAYED) gSourceRemove (dial->timer); if ((dial->policy != GTKUPDATECONTINUOUS) && (dial->oldValue != dial->adjustment->value)) gSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } return FALSE; } static gboolean gtkDialMotionNotify( GtkWidget #widget, GdkEventMotion#event ) { GtkDial#dial; GdkModifierType mods; gint x, y, mask; gReturnValIfFail (widget != NULL, FALSE); gReturnValIfFail (GTKISDIAL (widget), FALSE); gReturnValIfFail (event != NULL, FALSE); dial = GTKDIAL (widget); if (dial->button != 0) { x = event->x; y = event->y; if (event->isHint || (event->window != widget->window)) gdkWindowGetPointer (widget->window, &x, &y, &mods); switch (dial->button) { case 1: mask = GDKBUTTON1MASK; break; case 2: mask = GDKBUTTON2MASK; break; case 3: mask = GDKBUTTON3MASK; break; default: mask = 0; break; } if (mods & mask) gtkDialUpdateMouse (dial, x,y); } return FALSE; } static gboolean gtkDialTimer( GtkDial#dial ) { gReturnValIfFail (dial != NULL, FALSE); gReturnValIfFail (GTKISDIAL (dial), FALSE); if (dial->policy == GTKUPDATEDELAYED) gSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); return FALSE; } static void gtkDialUpdateMouse( GtkDial#dial, gint x, gint y ) { gint xc, yc; gfloat oldValue; gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); xc = GTKWIDGET(dial)->allocation.width / 2; yc = GTKWIDGET(dial)->allocation.height / 2; oldValue = dial->adjustment->value; dial->angle = atan2(yc-y, x-xc); if (dial->angle < -MPI/2.) dial->angle += 2*MPI; if (dial->angle < -MPI/6) dial->angle = -MPI/6; if (dial->angle > 7.*MPI/6.) dial->angle = 7.*MPI/6.; dial->adjustment->value = dial->adjustment->lower + (7.*MPI/6 - dial->angle)# (dial->adjustment->upper - dial->adjustment->lower) / (4.*MPI/3.); if (dial->adjustment->value != oldValue) { if (dial->policy == GTKUPDATECONTINUOUS) { gSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } else { gtkWidgetQueueDraw (GTKWIDGET (dial)); if (dial->policy == GTKUPDATEDELAYED) { if (dial->timer) gSourceRemove (dial->timer); dial->timer = gTimeoutAdd (SCROLLDELAYLENGTH, (GtkFunction) gtkDialTimer, (gpointer) dial); } } } } static void gtkDialUpdate (GtkDial#dial) { gfloat newValue; gReturnIfFail (dial != NULL); gReturnIfFail (GTKISDIAL (dial)); newValue = dial->adjustment->value; if (newValue < dial->adjustment->lower) newValue = dial->adjustment->lower; if (newValue > dial->adjustment->upper) newValue = dial->adjustment->upper; if (newValue != dial->adjustment->value) { dial->adjustment->value = newValue; gSignalEmitByName (GTKOBJECT (dial->adjustment), "valueChanged"); } dial->angle = 7.*MPI/6. - (newValue - dial->adjustment->lower)# 4.*MPI/3. / (dial->adjustment->upper - dial->adjustment->lower); gtkWidgetQueueDraw (GTKWIDGET (dial)); } static void gtkDialAdjustmentChanged (GtkAdjustment#adjustment, gpointer data) { GtkDial#dial; gReturnIfFail (adjustment != NULL); gReturnIfFail (data != NULL); dial = GTKDIAL (data); if ((dial->oldValue != adjustment->value) || (dial->oldLower != adjustment->lower) || (dial->oldUpper != adjustment->upper)) { gtkDialUpdate (dial); dial->oldValue = adjustment->value; dial->oldLower = adjustment->lower; dial->oldUpper = adjustment->upper; } } static void gtkDialAdjustmentValueChanged (GtkAdjustment#adjustment, gpointer data) { GtkDial#dial; gReturnIfFail (adjustment != NULL); gReturnIfFail (data != NULL); dial = GTKDIAL (data); if (dial->oldValue != adjustment->value) { gtkDialUpdate (dial); dial->oldValue = adjustment->value; } } dialTest.c #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> #include "gtkdial.h" void valueChanged( GtkAdjustment#adjustment, GtkWidget #label ) { char buffer[16]; sprintf(buffer,"%4.2f",adjustment->value); gtkLabelSetText (GTKLABEL (label), buffer); } int main( int argc, char#argv[]) { GtkWidget#window; GtkAdjustment#adjustment; GtkWidget#dial; GtkWidget#frame; GtkWidget#vbox; GtkWidget#label; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWindowSetTitle (GTKWINDOW (window), "Dial"); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (exit), NULL); gtkContainerSetBorderWidth (GTKCONTAINER (window), 10); vbox = gtkVboxNew (FALSE, 5); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); frame = gtkFrameNew (NULL); gtkFrameSetShadowType (GTKFRAME (frame), GTKSHADOWIN); gtkContainerAdd (GTKCONTAINER (vbox), frame); gtkWidgetShow (frame); adjustment = GTKADJUSTMENT (gtkAdjustmentNew (0, 0, 100, 0.01, 0.1, 0)); dial = gtkDialNew (adjustment); gtkDialSetUpdatePolicy (GTKDIAL (dial), GTKUPDATEDELAYED); # gtkWidgetSetSizeRequest (dial, 100, 100); gtkContainerAdd (GTKCONTAINER (frame), dial); gtkWidgetShow (dial); label = gtkLabelNew ("0.00"); gtkBoxPackEnd (GTKBOX (vbox), label, 0, 0, 0); gtkWidgetShow (label); gSignalConnect (GOBJECT (adjustment), "valueChanged", GCALLBACK (valueChanged), (gpointer) label); gtkWidgetShow (window); gtkMain (); return 0; } Scribble scribble-simple.c # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #include <stdlib.h> #include <gtk/gtk.h> # Backing pixmap for drawing area static GdkPixmap#pixmap = NULL; # Create a new backing pixmap of the appropriate size static gboolean configureEvent( GtkWidget #widget, GdkEventConfigure#event ) { if (pixmap) gObjectUnref (pixmap); pixmap = gdkPixmapNew (widget->window, widget->allocation.width, widget->allocation.height, -1); gdkDrawRectangle (pixmap, widget->style->whiteGc, TRUE, 0, 0, widget->allocation.width, widget->allocation.height); return TRUE; } # Redraw the screen from the backing pixmap static gboolean exposeEvent( GtkWidget #widget, GdkEventExpose#event ) { gdkDrawDrawable (widget->window, widget->style->fgGc[GTKWIDGETSTATE (widget)], pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } # Draw a rectangle on the screen static void drawBrush( GtkWidget#widget, gdouble x, gdouble y) { GdkRectangle updateRect; updateRect.x = x - 5; updateRect.y = y - 5; updateRect.width = 10; updateRect.height = 10; gdkDrawRectangle (pixmap, widget->style->blackGc, TRUE, updateRect.x, updateRect.y, updateRect.width, updateRect.height); gtkWidgetQueueDrawArea (widget, updateRect.x, updateRect.y, updateRect.width, updateRect.height); } static gboolean buttonPressEvent( GtkWidget #widget, GdkEventButton#event ) { if (event->button == 1 && pixmap != NULL) drawBrush (widget, event->x, event->y); return TRUE; } static gboolean motionNotifyEvent( GtkWidget#widget, GdkEventMotion#event ) { int x, y; GdkModifierType state; if (event->isHint) gdkWindowGetPointer (event->window, &x, &y, &state); else { x = event->x; y = event->y; state = event->state; } if (state & GDKBUTTON1MASK && pixmap != NULL) drawBrush (widget, x, y); return TRUE; } void quit () { exit (0); } int main( int argc, char#argv[] ) { GtkWidget#window; GtkWidget#drawingArea; GtkWidget#vbox; GtkWidget#button; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetName (window, "Test Input"); vbox = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (quit), NULL); # Create the drawing area drawingArea = gtkDrawingAreaNew (); gtkWidgetSetSizeRequest (GTKWIDGET (drawingArea), 200, 200); gtkBoxPackStart (GTKBOX (vbox), drawingArea, TRUE, TRUE, 0); gtkWidgetShow (drawingArea); # Signals used to handle backing pixmap gSignalConnect (GOBJECT (drawingArea), "exposeEvent", GCALLBACK (exposeEvent), NULL); gSignalConnect (GOBJECT (drawingArea),"configureEvent", GCALLBACK (configureEvent), NULL); # Event signals gSignalConnect (GOBJECT (drawingArea), "motionNotifyEvent", GCALLBACK (motionNotifyEvent), NULL); gSignalConnect (GOBJECT (drawingArea), "buttonPressEvent", GCALLBACK (buttonPressEvent), NULL); gtkWidgetSetEvents (drawingArea, GDKEXPOSUREMASK | GDKLEAVENOTIFYMASK | GDKBUTTONPRESSMASK | GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK); # .. And a quit button button = gtkButtonNewWithLabel ("Quit"); gtkBoxPackStart (GTKBOX (vbox), button, FALSE, FALSE, 0); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); gtkWidgetShow (button); gtkWidgetShow (window); gtkMain (); return 0; } scribble-xinput.c # GTK - The GIMP Toolkit # Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. #include <gtk/gtk.h> # Backing pixmap for drawing area static GdkPixmap#pixmap = NULL; # Create a new backing pixmap of the appropriate size static gboolean configureEvent (GtkWidget#widget, GdkEventConfigure#event) { if (pixmap) gObjectUnref (pixmap); pixmap = gdkPixmapNew (widget->window, widget->allocation.width, widget->allocation.height, -1); gdkDrawRectangle (pixmap, widget->style->whiteGc, TRUE, 0, 0, widget->allocation.width, widget->allocation.height); return TRUE; } # Redraw the screen from the backing pixmap static gboolean exposeEvent (GtkWidget#widget, GdkEventExpose#event) { gdkDrawDrawable (widget->window, widget->style->fgGc[GTKWIDGETSTATE (widget)], pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } # Draw a rectangle on the screen, size depending on pressure, and color on the type of device static void drawBrush (GtkWidget#widget, GdkInputSource source, gdouble x, gdouble y, gdouble pressure) { GdkGC#gc; GdkRectangle updateRect; switch (source) { case GDKSOURCEMOUSE: gc = widget->style->darkGc[GTKWIDGETSTATE (widget)]; break; case GDKSOURCEPEN: gc = widget->style->blackGc; break; case GDKSOURCEERASER: gc = widget->style->whiteGc; break; default: gc = widget->style->lightGc[GTKWIDGETSTATE (widget)]; } updateRect.x = x - 10# pressure; updateRect.y = y - 10# pressure; updateRect.width = 20# pressure; updateRect.height = 20# pressure; gdkDrawRectangle (pixmap, gc, TRUE, updateRect.x, updateRect.y, updateRect.width, updateRect.height); gtkWidgetQueueDrawArea (widget, updateRect.x, updateRect.y, updateRect.width, updateRect.height); } static void printButtonPress (GdkDevice#device) { gPrint ("Button press on device '%s'\n", device->name); } static gboolean buttonPressEvent (GtkWidget#widget, GdkEventButton#event) { printButtonPress (event->device); if (event->button == 1 && pixmap != NULL) { gdouble pressure; gdkEventGetAxis ((GdkEvent#)event, GDKAXISPRESSURE, &pressure); drawBrush (widget, event->device->source, event->x, event->y, pressure); } return TRUE; } static gboolean motionNotifyEvent (GtkWidget#widget, GdkEventMotion#event) { gdouble x, y; gdouble pressure; GdkModifierType state; if (event->isHint) { gdkDeviceGetState (event->device, event->window, NULL, &state); gdkEventGetAxis ((GdkEvent#)event, GDKAXISX, &x); gdkEventGetAxis ((GdkEvent#)event, GDKAXISY, &y); gdkEventGetAxis ((GdkEvent#)event, GDKAXISPRESSURE, &pressure); } else { x = event->x; y = event->y; gdkEventGetAxis ((GdkEvent#)event, GDKAXISPRESSURE, &pressure); state = event->state; } if (state & GDKBUTTON1MASK && pixmap != NULL) drawBrush (widget, event->device->source, x, y, pressure); return TRUE; } void inputDialogDestroy (GtkWidget#w, gpointer data) { #((GtkWidget*)data) = NULL; } void createInputDialog () { static GtkWidget#inputd = NULL; if (!inputd) { inputd = gtkInputDialogNew(); gSignalConnect (GOBJECT (inputd), "destroy", GCALLBACK (inputDialogDestroy), (gpointer) &inputd); gSignalConnectSwapped (GOBJECT (GTKINPUTDIALOG (inputd)->closeButton), "clicked", GCALLBACK (gtkWidgetHide), GOBJECT (inputd)); gtkWidgetHide (GTKINPUTDIALOG (inputd)->saveButton); gtkWidgetShow (inputd); } else { if (!GTKWIDGETMAPPED (inputd)) gtkWidgetShow (inputd); else gdkWindowRaise (inputd->window); } } void int main (int argc, char#argv[]) { GtkWidget#window; GtkWidget#drawingArea; GtkWidget#vbox; GtkWidget#button; gtkInit (&argc, &argv); window = gtkWindowNew (GTKWINDOWTOPLEVEL); gtkWidgetSetName (window, "Test Input"); vbox = gtkVboxNew (FALSE, 0); gtkContainerAdd (GTKCONTAINER (window), vbox); gtkWidgetShow (vbox); gSignalConnect (GOBJECT (window), "destroy", GCALLBACK (gtkMainQuit), NULL); # Create the drawing area drawingArea = gtkDrawingAreaNew (); gtkWidgetSetSizeRequest (GTKWIDGET (drawingArea), 200, 200); gtkBoxPackStart (GTKBOX (vbox), drawingArea, TRUE, TRUE, 0); gtkWidgetShow (drawingArea); # Signals used to handle backing pixmap gSignalConnect (GOBJECT (drawingArea), "exposeEvent", GCALLBACK (exposeEvent), NULL); gSignalConnect (GOBJECT(drawingArea),"configureEvent", GCALLBACK (configureEvent), NULL); # Event signals gSignalConnect (GOBJECT (drawingArea), "motionNotifyEvent", GCALLBACK (motionNotifyEvent), NULL); gSignalConnect (GOBJECT (drawingArea), "buttonPressEvent", GCALLBACK (buttonPressEvent), NULL); gtkWidgetSetEvents (drawingArea, GDKEXPOSUREMASK | GDKLEAVENOTIFYMASK | GDKBUTTONPRESSMASK | GDKPOINTERMOTIONMASK | GDKPOINTERMOTIONHINTMASK); # The following call enables tracking and processing of extension events for the drawing area gtkWidgetSetExtensionEvents (drawingArea, GDKEXTENSIONEVENTSCURSOR); # .. And some buttons button = gtkButtonNewWithLabel ("Input Dialog"); gtkBoxPackStart (GTKBOX (vbox), button, FALSE, FALSE, 0); gSignalConnect (GOBJECT (button), "clicked", GCALLBACK (createInputDialog), NULL); gtkWidgetShow (button); button = gtkButtonNewWithLabel ("Quit"); gtkBoxPackStart (GTKBOX (vbox), button, FALSE, FALSE, 0); gSignalConnectSwapped (GOBJECT (button), "clicked", GCALLBACK (gtkWidgetDestroy), GOBJECT (window)); gtkWidgetShow (button); gtkWidgetShow (window); gtkMain (); return 0; }
RGtk2/inst/doc/overview2.lyx0000644000176000001440000006515311766145227015470 0ustar ripleyusers#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title RGtk2 Overview \layout Author Michael Lawrence and Duncan Temple Lang \layout Section Introduction \layout Standard RGtk2 provides R with access to a large collection of related libraries: GLib, GObject, Pango, ATK, GDK, GTK, Cairo, and Libglade. GTK is of course the primary binding, which all the other bindings are meant to support. GTK is a toolkit for creating graphical user interfaces. It provides two basic types of interaction. \layout Description Widgets A large collection of components that can be used to create the GUI. These include common primitive elements such as buttons and labels, menu items, text widgets, drawing areas, top-level windows, . . . with which one can make more complex composite widgets such as dialogs, calendars, file selection interfaces, etc. In addition to the low-level, action widgets, there are also container widgets whose task is to houand manage other widgets. The different types of container widgets manage the space they provide to their child widgets in different ways to give different visual effects, specifically when a window/widget is resized. Container widgets include notebooks with tabs for each separate page, scrolled windows which provide horizontal and vertical scrollbars that get associated with and control the visibility of a child widget; different packing widgets such as a table, a box, a menu and menu bar... \layout Description Callbacks Also, Gtk provides a way to associate handlers or actions with particular events on these different components so that one can give the GUI its behavior. In the case of R, these callbacks are given primarily as S functions. These are called when the event occurs with arguments that identify the details of the event, including the particular widget in which the event happened. \layout Standard When developing a GUI, typically one first creates the visible part, i.e. the collection of different widgets. We do this by creating instances of the different Gtk widget classes, creating the basic elements and \begin_inset Quotes eld \end_inset adding \begin_inset Quotes erd \end_inset them to the desired container widget. Having created the elements, we then display or \begin_inset Quotes eld \end_inset show \begin_inset Quotes erd \end_inset the top-level element, be it a top-level window or merely a container to be added to an existing top-level container. Please see the RGtk2 documentation for more details about available widgets. \layout Standard Having created the physical display for the GUI by creating and arranging the different widgets, we next register the different callback functions with the particular widgets and specifically with the different events of interest. Again, one must learn which events are associated by which type of widget, and when and how the handler will be called. One can use the RGtk2 documentation for this purpose. In general, each callback function will be invoked with at least one argument: the object in which the event occurred. Callbacks for different events may provide additional arguments which provide more information about the particulars of the event. For example, when a button is released in a widget, the button-release event passes the widget and also a GdkEventButton instance which gives information about which button was released, etc. \layout Standard In addition to the arguments provided by Gtk, one can also associate an S object with a widget and event and have this passed to the callback function as an argument. By associating different objects with different widgets, one can use the same callback function. That function can implement different behavior based on the additional argument, and using R's lexical scoping one can even modify the S object passed as an additional argument. \layout Standard In the next few sections, we will describe how we can implement the very basic and often-used Hello World to illustrate the essential concepts in the RGtk2 package. This is a very simple GUI which presents a button in its own window. When the user clicks the button, we print a message on the console. \layout Section Creating GTK Objects \layout Standard As we saw above, one starts creating a GUI by instantiating different GTK objects. A GTK object is derived from the generic \emph on GObject \emph default . The GObject API is mostly hidden from the RGtk user, except for those functions involved in registering callbacks against object \begin_inset Quotes eld \end_inset signals \begin_inset Quotes erd \end_inset (user events in the case of GTK objects) and getting/setting object properties (less frequently used). \layout Standard In the case of the \begin_inset Quotes eld \end_inset Hello world \begin_inset Quotes erd \end_inset application, we need to create i) the top-level window, and ii) the button which the user clicks. We create the window using the \emph on gtkWindow() \emph default function \layout LyX-Code win <- gtkWindow(show = FALSE) \layout Standard This creates an instance of the \emph on GtkWindow \emph default class. Generally, the S language constructor function for a Gtk class named \emph on Gtk \emph default is given by \emph on gtk() \emph default , i.e. replace the capital G starting the word with a lower case \begin_inset Quotes eld \end_inset g \begin_inset Quotes erd \end_inset . \layout Standard Note that the constructor functions for each class that extends \emph on GtkWidget \emph default have an optional show argument. This controls whether the widget is made ready for showing immediately or if this must be done by the programmer at a later time. The advantage of deferring this is usually a marginal gain in efficiency. Hence, the default is \emph on TRUE \emph default . One need only prohibit the top-level container, e.g. the window in this example, from being shown and then none of the sub-widgets will be displayed. \layout Standard We can invoke methods on the Gtk objects to query or modify their state. For example, we can set thetitle for the frame of the window using the underlying C-level routine \emph on gtk_window_set_title() \emph default provided by the Gtk libraries. We do this in S via the command \layout LyX-Code gtkWindowSetTitle(win, "Hello world test") \layout Standard There are several things to note here. Firstly, we use a different naming convention than Gtk's C-level API. Specifically, we eliminate the underscores (_) and capitalize all but the first word (i.e. the next letter after the _). Secondly, we pass the Gtk object on which we are operating as the first argument. Thirdly, the type of the second argument is defined by the underlying C routine and is a string. This corresponds to a character vector of length 1 in S. \layout Standard The case of \emph on gtkWindowSetTitle() \emph default is quite simple. We started with an object of class \emph on GtkWindow \emph default in R (created using the S constructor) and then invoked the function gtkWindowS etTitle() for that same class. But what about, for example, the general functions to show or hide a widget, get its parent widget, etc. These apply to all \emph on GtkWidget \emph default objects, and not just the \emph on GtkWindow \emph default objects. Accordingly, the S interface uses the names that correspond to the C-level API and are prefixed by \emph on gtkWidget...() \emph default , rather than \emph on gtkWindow...() \emph default . This makes it hard to remember the precise name of the function one wants to call since it depends on the inheritance or class hierarchy of the Gtk classes. \layout Standard To make things simpler, we allow one to use a more Java/C++ style that allows users to invoke methods on an object and leave the S engine to determine the precise name to use. Specifically, we use the $ operator on the object followed by the name of the method to identify the function. Specifically, one can invoke from S a method on an underlying Gtk object, say \emph on g \emph default using the form \layout LyX-Code g$MethodName(arg1, arg2) \layout Standard This eliminates the need to remember for which class the method is defined and hence the prefix. Also this form of invocations inserts the target object, \emph on g \emph default , as the first argument in the call to the real S function being called and so reduces typing. \layout Standard An example will make things clear. Consider again setting the title of the window. Rather than using \emph on gtkWindowSetTitle() \emph default , we can use the command \layout LyX-Code win$SetTitle("Hello world test") \layout Standard This looks for the appropriate function given the class and parent classes of \emph on win \emph default and then invokes the \begin_inset Quotes eld \end_inset nearest \begin_inset Quotes erd \end_inset function. This corresponds to the command \layout LyX-Code gtkWindowSetTitle(win, "Hello world test") \layout Standard above, but is easier for the user and is also more robust to changes in the class hierarchy and C-leve API. \layout Standard There is a marginal penalty in computational performance, but this may disappear in the future and is also not likely to be a serious issue a) when creating the GUI and b) given the overhead in setting up callbacks to S functions. \layout Standard We can now continue with our \begin_inset Quotes erd \end_inset Hello world \begin_inset Quotes erd \end_inset example. We have created the window and set its title and hence seen how to create Gtk objects and invoke methods. And so creating the button becomes quite simple. We choose the appropriate Gtk class - \emph on GtkButton \emph default - and find the appropriate constructor. \layout Standard There are two constructors in the C-level API for this class: one that takes no arguments and another that takes a string to display as the text in the button. In S, these two constructors map to a single constructor function, whose name is the name of the class suitably (de-)capitalized, \emph on gtkButton() \emph default . If one calls it with no arguments, the first C-level constructor is called. Alternatively, if one gives a character vector of length 1 as the first argument, the second version is called. More generally, the R interface to Gtk attempts to map the constructor routines into a single S function that can determine which C routine to call based on the number and/or type of the arguments. For the most part, this is quite simple and works effectively. \layout Standard In our example, we specify text for the button's display and so call \layout LyX-Code btn <- gtkButton("Say 'Hello World'") \layout Standard Next we put the button into the top-level window. The latter is a \emph on GtkContainer \emph default object and has a default mechanism for placing children widgets. Since this is the only widget we will display in the window, we don't have to worry about how to aportion space between different widgets, etc. All we need do is invoke the \emph on add() \emph default method on the window, giving it the child widget which is the button. \layout LyX-Code win$add(b) \layout Standard When we create the button, we did not provide a value for the show argument and so the button is potentially visible. To actually see it, however, we need to show the top-level widget, i.e. the window. We do this by explicitly calling its \emph on show() \emph default method. \layout LyX-Code win$Show() \layout Section Callbacks \layout Standard At this point, we have created a Gtk GUI that one can see on the screen and can even interact with by clicking on the button. The next step is to make it do something when we click on the button, and this is where we look at callbacks. \layout Standard The usual types of events are user interactions such as clicking on a button, dragging the thumb of a slider, moving the mouse over a drawing area, etc. Other types of events might be less visible and more abstract such as text being pushed or popped onto a status bar, a new data set being created, and so on. Basically, each type of event is associated with a Gtk object in which it \begin_inset Quotes eld \end_inset occurs \begin_inset Quotes erd \end_inset . A Gtk object can support different types of events, and events in different objects are treated independently. One creates and customizes an application by connecting different pieces of code that are executed when particular Gtk objects raise/emits particular events. \layout Standard In our example, we want to execute a simple piece of S code that is executed when the user clicks on the button. The code simply writes the string "Saying hello from the button" to the console via the \emph on cat() \emph default function. To arrange this, we can look at the different signals that the button supports. (Of course, we chose the \emph on GtkButton \emph default class because it provided the appropriate signal, so this seems like we are going around in circles. In general, knowing the widget to use and appropriate signal is the trick to using any toolkit.) \layout Standard Using the help pages for RGtk, we can find out that the button supports 6 diffferent types of signals itself, and inherits many others from its ancestor classes ( \emph on GtkBin \emph default , \emph on GtkContainer \emph default , \layout Standard \emph on GtkWidget \emph default , \emph on GtkObject \emph default , and \emph on GObject \emph default ). These signal names are \emph on activate \emph default , \emph on pressed \emph default , \emph on released \emph default , \emph on clicked \emph default , \emph on enter \emph default and \emph on leave \emph default . The one we are interested in is clicked. We specify our callback for the particular button using the method \emph on gSignalConnect() \emph default . We specify the name of the signal (i.e. \emph on clicked \emph default ) and an invokable S object which will be called when the signal occurs: \layout LyX-Code gSignalConnect(btn, "clicked", quote(cat("Saying hello from the button \backslash n"))) \layout Standard Now, when you click on the button, the string will be printed on the console. The code that is to be called when the event occurs can be an S expression or call, or a function. If it is an expression or call, then it is evaluated when the event occurs. One typically creates such callable objects using quote(), expression() or substitute(). Each of these types of callbacks is evaluated as a toplevel expression and one is presumably interested in its global side effects, such as changing the value of a session-wide variable, writing to a file or the console, or updating one or more graphics devices. \layout Standard If the callback is a function, then it is invoked slightly differently. There is more information available to the callback, specifically, the arguments that are made available at the C level by the Gtk API. These are passed onto the S function. This collection of arguments always includes the Gtk object for which the signal is being emitted. Many signals also provide additional values that parameterize the event and allow the callback to be written generally but parameterized by the widget or other event-specific values. These values are converted to S objects using the basic conversion mechanism. In addition to the event-specific values passed from Gtk, one can also specify S objects that Gtk remembers and passes to the function when it is called. Again, this allows one to parameterize general S functions to act on the specifics of the event. \layout Standard Note that we added the callback after the button was created and visible. This is not necessary and we can add it before the top-level window is shown. However, it does illustrate that we can dynamically add callbacks at any time. Indeed, we can add multiple callbacks to the same Gtk object, and even for the same signal. For example, let's add a second that prints \begin_inset Quotes eld \end_inset And again \begin_inset Quotes erd \end_inset . \layout LyX-Code id <- gSignalConnect(btn, "clicked", quote(cat("And again \backslash n"))) \layout Standard Go ahead and click on the button now and see that two lines of output are produced. \layout Standard And, of course, if we can dynamically add callbacks, we must also be able to remove them at any time. To do this, we use the \emph on gSignalHandlerDisconnect() \emph default method for the \emph on GObject \emph default . We give it the identifier for the registered callback that we received from \emph on gSignalConnect \emph default . So to un-register the second callback, we issue the S command \layout LyX-Code gSignalHandlerDisconnect(btn, id) \layout Standard Again, click on the button and you should get only one line of output, specifica lly saying \begin_inset Quotes eld \end_inset hello \begin_inset Quotes erd \end_inset from the button. \layout Section Intermediate Concepts \layout Subsection Enumerations and Flags \layout Standard Enumerated types and flags are symbolic constants that are used to identify different states or combinations of states. In R, we represent these as named integers. The intent is that the user will provide the name (or names for flags) and not a simple integer value. So, for example, when specifying the type of window in a call to \emph on gtkWindowNew() \emph default we can use any of the names from the \emph on GtkWindowType \emph default vector representing the \layout Standard enumeration: \layout LyX-Code > GtkWindowType \layout LyX-Code toplevel dialog popup \layout LyX-Code 0 1 2 \layout Standard Since this is an enumeration, we specify just one of these values, as in \layout LyX-Code > gtkWindowNew("toplevel") \layout Standard When a flag value is expected, we can combine different values together. Since we can OR (|) names together, we need an alternative syntax. For this, we use a simple character vector containing the names of the flag elements. \layout Standard As an example, consider the display options for controlling the appearance of the calendar widget. The \emph on GtkCalendarDisplayOptions \emph default is a named integer vector giving the different names for the flag values. If we want to have weeks start on a monday and also show week numbers, we can do this as \layout LyX-Code > gtkCalendarDisplayOptions(cal, c("week-start-monday","show-week-numbers")) \layout Standard To activate all options, we can use \layout LyX-Code gtkCalendarDisplayOptions(cal, names(GtkCalendarDisplayOptions)) \layout Standard The calendar can be create and display using the following code \layout LyX-Code cal <- gtkCalendar() \layout LyX-Code gtkCalendarDisplayOptions(cal, c("week-start-monday","show-week-numbers")) \layout LyX-Code w <- gtkWindow() \layout LyX-Code w$Add(cal) \layout Standard Using names guarantees the validity of the value as it is resolved and checked at run time. However, to guard against erroneous values, we have C-level code that checks an integer value is within the appropriate set of C-level values and returns an object representing that symbolic value. \layout Standard One can note the fact that the name toplevel is converted to \emph on GTK_WINDOW_TOPLEVEL \emph default in the value returned by the enumeraton. This is the C-level name for the enumeration. It can be used as a synonym for the value. In other words, \emph on toplevel \emph default and \emph on GTK_WINDOW_TOPLEVEL \emph default are the same. And indeed, for every enumeration or flag we have both a sets of element names available. The local version is available as described above by giving the name of type, e.g. \emph on GtkWindowType \emph default and \emph on GtkCalendarDisplayOptions \emph default . Prefixing the name with a \emph on . \emph default gives the alternative version with the longer, internal names. Use whichever form you desire. Those who write Gtk code in other languages may be familiar with the internal names. The local names are shorter. \layout Subsection Accessing Object Properties \layout Standard Each \emph on GObject \emph default instance supports values that are accessible by name. The collection of properties can be accessed via the \emph on names() \emph default function and this makes the object look like a list of named values. Properties are inherited through the type hierarchy. \layout Standard Each property has a specific type that can be assigned to it. Some of these values are are writeable, while most are readable. Additionally, the collection for a given instance is made up of combining the properties from the different classes from which the instance is derived. One can discover all this information using the function \emph on gObjectGetPropInfo() \emph default . \layout LyX-Code b <- gtkButton("Some text") \layout LyX-Code names(b) \layout LyX-Code b["label"] \layout LyX-Code b["label"] <- "A Replacement string" \layout LyX-Code gObjectGetPropInfo(b) \layout Standard Any function in RGtk2 that requests property value pairs should be passed property values as arguments with the property names as the argument names. \layout Subsection Timers & Idle Tasks \layout Standard The RGtk2 binding to the GLib library allows one to interact with the core event loop ( \emph on GMainLoop \emph default ) that drives GTK. \emph on gTimeoutAdd() \emph default provides a convenient way to register S functions to be called after a specified interval of time. If the function returns \emph on T \emph default , the task is rescheduled to run after the same interval. Alternatively, returning \emph on F \emph default discards the timer. One can programmatically remove the timer using \emph on gSourceRemove() \emph default , passing the value returned from \emph on gTimeoutAdd() \emph default . \layout Standard By default, the function is called with no arguments. However, one can arrange to have it passed a value by specifying the object as the data argument in the call to \emph on gTimeoutAdd() \emph default . This is similar to the data argument for \emph on gSignalConnect() \emph default . \layout Standard Idle tasks are run when there are no other events to process in the GLib event queue. These can be used to perform non-urgent background tasks. The interface is very similar to timeout functions. One registers an idle task with \emph on gIdleAdd() \emph default and this returns an identifier for the tasks. One can remove the task using \emph on gSourceRemove() \emph default (the same as with timers). \layout Subsection Field Accessors \layout Standard Certain structures in the libraries bound by RGtk2 expose public fields. Generally, these fields are read-only. In fact, it is not possible to directly set a field with RGtk2 (this functional ity, when allowed, is very rarely required). In order to access a field of a structure in RGtk2, use the following syntax: \layout LyX-Code obj[[ \begin_inset Quotes eld \end_inset fieldName \begin_inset Quotes erd \end_inset ]] \layout Subsection Transparent Types \layout Standard Conversion of primitive types between R and the libraries is fairly simple. A more complicated problem that RGtk2 attempts to solve is the conversion of simple, transparent C structures that are normally initialized manually and therefore lack a constructor. This problem could be solved in at least two ways. First, a function could be added that serves as a constructor for the structure. Unfortunately, this would break the strict adherence to the API, since a new function is introduced. Also, this solution violates the \begin_inset Quotes eld \end_inset spirit \begin_inset Quotes erd \end_inset of the API's design. The simple structures are meant to be initialized and manipulated without the extra baggage of function calls. Given these disadvantages, the alternative is favored: allowing the user to define an instance of such a type as an R list which is automatically converted to the corresponding C structure when passed to a wrapped function. When an instance of such a type is returned from a function, it is converted to its R list equivalent, preserving symmetry. \layout Standard For example, suppose a user wished to construct an instance of GdkColor, a structure describing an RGB color with fields red, green, and blue. The following code would yield the color red: \emph on c(65535, 0, 0) \emph default . Here the fields for red, green, blue must be specified in the same order as they occur in the C structure definition. If the user desires an alternative order or does not wish to specify all of the fields (they default to zero), then the list should be named according to the field names in the C structure. For example, red could be specified as \emph on c(red=65535) \emph default . \layout Subsection Special Constants \layout Standard Special constants like the GDK keycodes and GTK stock id's are available in RGtk2. For the GDK keycodes, the C \emph on GDK_ESCAPE \emph default becomes \emph on .gdkEscape \emph default in R. For the stock id's, there is no difference between R and C, so \emph on GTK_CLOSE \emph default is \emph on GTK_CLOSE \emph default . The inconsistency is due to my uncertainty as to which form is better. \layout Section Advanced Concepts \layout Standard To be documented. \layout Subsection RGtkDataFrame \layout Subsection Accelerated GtkListStore and GtkTreeStore loading \layout Subsection RGClosure \layout Section The Other Libraries \layout Standard Most of the libraries besides GTK and the low-level GLib and GObject are concentrated on drawing. GDK provides basic drawing routines and access to low-level hardware devices. Cairo is a vector graphics library. Pango provides anti-aliased and internationalized fonts. GdkPixbuf is a specialized library for image manipulation. Of the other three libraries, Libglade is probably the most interesting. It allows the automatic construction of GTK GUI's from XML descriptions produced by the Glade tool. The least interesting and likely least useful library is ATK, which adds accessibility device support to GTK. \the_end RGtk2/inst/include/0000755000176000001440000000000011766145227013646 5ustar ripleyusersRGtk2/inst/include/RGtk2/0000755000176000001440000000000012362217673014575 5ustar ripleyusersRGtk2/inst/include/RGtk2/pangoUserFuncs.h0000644000176000001440000000071512362217673017713 0ustar ripleyusers#ifndef S_PANGO_USERFUNCS_H #define S_PANGO_USERFUNCS_H #include #include gboolean S_PangoFontsetForeachFunc(PangoFontset* s_fontset, PangoFont* s_font, gpointer s_data); gboolean S_PangoAttrFilterFunc(PangoAttribute* s_attribute, gpointer s_data); #if PANGO_CHECK_VERSION(1, 18, 0) gboolean S_PangoCairoShapeRendererFunc(cairo_t* s_cr, PangoAttrShape* s_attr, gboolean s_do_path, gpointer s_data); #endif #endif RGtk2/inst/include/RGtk2/atkUserFuncs.h0000644000176000001440000000027512362217673017367 0ustar ripleyusers#ifndef S_ATK_USERFUNCS_H #define S_ATK_USERFUNCS_H #include #include gint S_AtkKeySnoopFunc(AtkKeyEventStruct* s_event, gpointer s_func_data); #endif RGtk2/inst/include/RGtk2/cairoUserFuncImports.c0000644000176000001440000000050312362217673021065 0ustar ripleyuserscairo_status_t S_cairo_write_func_t(gpointer closure, const guchar* data, guint length) { static cairo_status_t (*fun)(gpointer, const guchar*, guint) = NULL; if(!fun) fun = ((cairo_status_t (*)(gpointer, const guchar*, guint))R_GetCCallable("RGtk2", "S_cairo_write_func_t")); return(fun(closure, data, length)); } RGtk2/inst/include/RGtk2/gdkImports.c0000644000176000001440000000033211766145227017064 0ustar ripleyusers#ifndef S_GDK_IMPORTS_C #define S_GDK_IMPORTS_C #include #include #include #include #include #endif RGtk2/inst/include/RGtk2/gdkUserFuncImports.c0000644000176000001440000000205512362217673020541 0ustar ripleyusersvoid S_GdkFilterFunc(GdkXEvent* xevent, GdkEvent* event, gpointer data) { static void (*fun)(GdkXEvent*, GdkEvent*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkXEvent*, GdkEvent*, gpointer))R_GetCCallable("RGtk2", "S_GdkFilterFunc")); return(fun(xevent, event, data)); } void S_GdkEventFunc(GdkEvent* event, gpointer data) { static void (*fun)(GdkEvent*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkEvent*, gpointer))R_GetCCallable("RGtk2", "S_GdkEventFunc")); return(fun(event, data)); } gboolean S_GdkPixbufSaveFunc(const guchar* buf, gsize count, GError** error, gpointer data) { static gboolean (*fun)(const guchar*, gsize, GError**, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const guchar*, gsize, GError**, gpointer))R_GetCCallable("RGtk2", "S_GdkPixbufSaveFunc")); return(fun(buf, count, error, data)); } void S_GdkSpanFunc(GdkSpan* span, gpointer data) { static void (*fun)(GdkSpan*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkSpan*, gpointer))R_GetCCallable("RGtk2", "S_GdkSpanFunc")); return(fun(span, data)); } RGtk2/inst/include/RGtk2/RSCommon.h0000644000176000001440000000607311766145227016453 0ustar ripleyusers #ifndef RSCOMMON_H #define RSCOMMON_H #ifdef __cplusplus extern "C" { #endif #if defined(_S_) /* || defined(_R_) */ #ifdef _SPLUS5_ #ifdef ARGS #undef ARGS #endif #endif #include "S.h" #ifdef _SPLUS5_ #include "S_tokens.h" typedef boolean s_boolean; #endif /* End of _SPLUS5_ */ #endif #if defined(_S4_) #define vector s_object typedef s_object* USER_OBJECT_; typedef long RSInt; typedef s_boolean Rboolean; #endif #if defined _SPLUS6_ typedef s_boolean boolean; #define TRUE S_TRUE #define FALSE S_FALSE #endif #if defined(_R_) #include #include #ifdef length #undef length #endif #ifdef GET_LENGTH #undef GET_LENGTH #define GET_LENGTH(x) Rf_length(x) #endif #ifdef append #undef append #endif typedef SEXP USER_OBJECT_; typedef int RSInt; #include "Rversion.h" #if R_VERSION < R_Version(1, 2, 0) #define STRING_ELT(x,i) STRING(x)[i] #define VECTOR_ELT(x,i) VECTOR(x)[i] #define SET_STRING_ELT(x,i,v) (STRING(x)[i]=(v)) #define SET_VECTOR_ELT(x,i,v) (VECTOR(x)[i]=(v)) #define SETCAR(x,v) (CAR(x) = v) #else #include "R_ext/Boolean.h" #endif #endif #if defined(_S4_) /* redefine vector and declare routines with S_evaluator */ #ifdef vector #undef vector #endif #define COPY_TO_USER_STRING(a) c_s_cpy(a, S_evaluator) #define LOCAL_EVALUATOR S_EVALUATOR #define CREATE_FUNCTION_CALL(name, argList) alcf(name, argList, S_evaluator) #define CREATE_STRING_VECTOR(a) STRING_VECTOR(a, S_evaluator) #define NULL_USER_OBJECT S_void /* This is to keep R happy until it moves to char ** rather than SEXP * for character vectors. */ #define CHAR_DEREF(x) (x) #ifdef PROTECT #undef PROTECT #endif #define PROTECT(x) (x) /**/ #define UNPROTECT(x) /**/ /* Note that this will override the one in S.h which is for S4, not S3, style classes. */ #if defined(SET_CLASS) #undef SET_CLASS #endif #define SET_CLASS(obj,classname) set_attr((obj), "class", (classname), S_evaluator) #if defined(GET_CLASS) #undef GET_CLASS #endif #define GET_CLASS(x) GET_ATTR((x), "class") #define STRING_ELT(x,i) CHARACTER_DATA(x)[i] #define VECTOR_ELT(x,i) LIST_POINTER(x)[i] #define SET_VECTOR_ELT(v, pos, val) LIST_POINTER((v))[(pos)]=(val) #define SET_STRING_ELT(v, pos, val) CHARACTER_DATA((v))[(pos)]=(val) #endif /* end of this S4 */ #if defined(_R_) #define CHAR_DEREF(x) CHAR((x)) #define IS_FUNCTION(x) isFunction((x)) /* SET_CLASS and SET_NAMES have been moved to Rdefines.h in the R distribution.*/ #endif /* of defined(_R_) */ #if defined(_Octave_) #include extern char error_buf[]; #define PROBLEM sprintf(error_buf, #define ERROR ); error(error_buf) #define STRING_VALUE(a) a.all_strings()[0].c_str() #define GET_LENGTH(a) getLength(a) #define LOCAL_EVALUATOR /**/ #define COPY_TO_USER_STRING(a) strdup(a) /*XXX*/ #endif /* end of defined(_Octave_)*/ #ifdef __cplusplus } #endif #endif /* end of RSCOMMON_H*/ RGtk2/inst/include/RGtk2/gioUserFuncImports.c0000644000176000001440000000420612362217673020552 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GIOSchedulerJobFunc(GIOSchedulerJob* job, GCancellable* cancellable, gpointer user_data) { static gboolean (*fun)(GIOSchedulerJob*, GCancellable*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GIOSchedulerJob*, GCancellable*, gpointer))R_GetCCallable("RGtk2", "S_GIOSchedulerJobFunc")); return(fun(job, cancellable, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GSimpleAsyncThreadFunc(GSimpleAsyncResult* res, GObject* object, GCancellable* cancellable) { static gboolean (*fun)(GSimpleAsyncResult*, GObject*, GCancellable*) = NULL; if(!fun) fun = ((gboolean (*)(GSimpleAsyncResult*, GObject*, GCancellable*))R_GetCCallable("RGtk2", "S_GSimpleAsyncThreadFunc")); return(fun(res, object, cancellable)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GAsyncReadyCallback(GObject* source_object, GSimpleAsyncResult* res, gpointer user_data) { static void (*fun)(GObject*, GSimpleAsyncResult*, gpointer) = NULL; if(!fun) fun = ((void (*)(GObject*, GSimpleAsyncResult*, gpointer))R_GetCCallable("RGtk2", "S_GAsyncReadyCallback")); return(fun(source_object, res, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileProgressCallback(goffset current_num_bytes, goffset total_num_bytes, gpointer user_data) { static void (*fun)(goffset, goffset, gpointer) = NULL; if(!fun) fun = ((void (*)(goffset, goffset, gpointer))R_GetCCallable("RGtk2", "S_GFileProgressCallback")); return(fun(current_num_bytes, total_num_bytes, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileReadMoreCallback(const char* file_contents, goffset file_size, gpointer callback_data) { static void (*fun)(const char*, goffset, gpointer) = NULL; if(!fun) fun = ((void (*)(const char*, goffset, gpointer))R_GetCCallable("RGtk2", "S_GFileReadMoreCallback")); return(fun(file_contents, file_size, callback_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) gpointer S_GReallocFunc(gpointer data, gsize size) { static gpointer (*fun)(gpointer, gsize) = NULL; if(!fun) fun = ((gpointer (*)(gpointer, gsize))R_GetCCallable("RGtk2", "S_GReallocFunc")); return(fun(data, size)); } #endif RGtk2/inst/include/RGtk2/atk.h0000644000176000001440000000220712362204172015514 0ustar ripleyusers#ifndef RGTK2_ATK_H #define RGTK2_ATK_H #include #include #include /* Unlike the other libraries, ATK did not always provide version information, so we assume 1.10.0 when the macro is not present. */ #ifndef ATK_CHECK_VERSION #define ATK_CHECK_VERSION(major,minor,micro) \ (1 > (major) || \ (1 == (major) && 10 > (minor)) || \ (1 == (major) && 10 == (minor) && \ 0 >= (micro))) #endif #include #include /**** Conversion ****/ AtkAttributeSet* asCAtkAttributeSet(USER_OBJECT_ s_set); AtkAttribute* asCAtkAttribute(USER_OBJECT_ s_attr); USER_OBJECT_ asRAtkAttributeSet(AtkAttributeSet* set); USER_OBJECT_ asRAtkAttribute(AtkAttribute* attr); AtkTextRectangle* asCAtkTextRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRAtkTextRectangle(AtkTextRectangle *rect); USER_OBJECT_ asRAtkTextRange(AtkTextRange *range); AtkTextRange *asCAtkTextRange(USER_OBJECT_ s_obj); USER_OBJECT_ asRAtkKeyEventStruct(AtkKeyEventStruct * obj); AtkRectangle* asCAtkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRAtkRectangle(AtkRectangle *rect); #endif RGtk2/inst/include/RGtk2/pangoImports.c0000644000176000001440000000262411766145227017431 0ustar ripleyusers#ifndef S_PANGO_IMPORTS_C #define S_PANGO_IMPORTS_C #include #include #include #include PangoRectangle* asCPangoRectangle(USER_OBJECT_ s_rect) { static PangoRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((PangoRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCPangoRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRPangoRectangle(PangoRectangle* rect) { static USER_OBJECT_ (*fun)(PangoRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoRectangle*))R_GetCCallable("RGtk2", "asRPangoRectangle")); return(fun(rect)); } USER_OBJECT_ asRPangoAttribute(PangoAttribute* attr) { static USER_OBJECT_ (*fun)(PangoAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*))R_GetCCallable("RGtk2", "asRPangoAttribute")); return(fun(attr)); } USER_OBJECT_ asRPangoAttributeCopy(PangoAttribute* attr) { static USER_OBJECT_ (*fun)(PangoAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*))R_GetCCallable("RGtk2", "asRPangoAttributeCopy")); return(fun(attr)); } USER_OBJECT_ toRPangoAttribute(PangoAttribute* attr, gboolean finalize) { static USER_OBJECT_ (*fun)(PangoAttribute*, gboolean) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*, gboolean))R_GetCCallable("RGtk2", "toRPangoAttribute")); return(fun(attr, finalize)); } #endif RGtk2/inst/include/RGtk2/gtkImports.c0000644000176000001440000003077411766145227017121 0ustar ripleyusers#ifndef S_GTK_IMPORTS_C #define S_GTK_IMPORTS_C #include #include #include #include #include void S_GtkClipboardClearFunc(GtkClipboard* clipboard, gpointer user_data_or_owner) { static void (*fun)(GtkClipboard*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardClearFunc")); return(fun(clipboard, user_data_or_owner)); } void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data) { static void (*fun)(GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkSignalFunc")); return(fun(s_child, s_data)); } guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data) { static guint8* (*fun)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, GtkTextIter*, gsize*, gpointer) = NULL; if(!fun) fun = ((guint8* (*)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, GtkTextIter*, gsize*, gpointer))R_GetCCallable("RGtk2", "S_GtkTextBufferSerializeFunc")); return(fun(s_register_buffer, s_content_buffer, s_start, s_end, s_length, s_user_data)); } USER_OBJECT_ asRGdkAtom(GdkAtom val) { static USER_OBJECT_ (*fun)(GdkAtom) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkAtom))R_GetCCallable("RGtk2", "asRGdkAtom")); return(fun(val)); } GdkAtom asCGdkAtom(USER_OBJECT_ s_atom) { static GdkAtom (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkAtom (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkAtom")); return(fun(s_atom)); } GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms) { static GdkAtom* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkAtom* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkAtomArray")); return(fun(s_atoms)); } GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints* hints) { static GdkGeometry* (*fun)(USER_OBJECT_, GdkWindowHints*) = NULL; if(!fun) fun = ((GdkGeometry* (*)(USER_OBJECT_, GdkWindowHints*))R_GetCCallable("RGtk2", "asCGdkGeometry")); return(fun(s_geom, hints)); } GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values) { static GdkGCValues* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkGCValues* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkGCValues")); return(fun(s_values)); } GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask* mask) { static GdkGCValues* (*fun)(USER_OBJECT_, GdkGCValuesMask*) = NULL; if(!fun) fun = ((GdkGCValues* (*)(USER_OBJECT_, GdkGCValuesMask*))R_GetCCallable("RGtk2", "asCGdkGCValuesWithMask")); return(fun(s_values, mask)); } GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType* mask) { static GdkWindowAttr* (*fun)(USER_OBJECT_, GdkWindowAttributesType*) = NULL; if(!fun) fun = ((GdkWindowAttr* (*)(USER_OBJECT_, GdkWindowAttributesType*))R_GetCCallable("RGtk2", "asCGdkWindowAttr")); return(fun(s_attr, mask)); } USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord* coord, int num_axes) { static USER_OBJECT_ (*fun)(GdkTimeCoord*, int) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkTimeCoord*, int))R_GetCCallable("RGtk2", "asRGdkTimeCoord")); return(fun(coord, num_axes)); } GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect) { static GdkRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRGdkRectangle(GdkRectangle* rect) { static USER_OBJECT_ (*fun)(GdkRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkRectangle*))R_GetCCallable("RGtk2", "asRGdkRectangle")); return(fun(rect)); } GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap) { static GdkRgbCmap* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkRgbCmap* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkRgbCmap")); return(fun(s_cmap)); } USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap* map) { static USER_OBJECT_ (*fun)(GdkRgbCmap*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkRgbCmap*))R_GetCCallable("RGtk2", "asRGdkRgbCmap")); return(fun(map)); } GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key) { static GdkKeymapKey* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkKeymapKey* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkKeymapKey")); return(fun(s_key)); } USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key) { static USER_OBJECT_ (*fun)(GdkKeymapKey*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkKeymapKey*))R_GetCCallable("RGtk2", "asRGdkKeymapKey")); return(fun(key)); } GdkPoint* asCGdkPoint(USER_OBJECT_ s_point) { static GdkPoint* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkPoint* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkPoint")); return(fun(s_point)); } USER_OBJECT_ asRGdkPoint(GdkPoint* point) { static USER_OBJECT_ (*fun)(GdkPoint*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkPoint*))R_GetCCallable("RGtk2", "asRGdkPoint")); return(fun(point)); } GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment) { static GdkSegment* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkSegment* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkSegment")); return(fun(s_segment)); } USER_OBJECT_ asRGdkSegment(GdkSegment* obj) { static USER_OBJECT_ (*fun)(GdkSegment*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkSegment*))R_GetCCallable("RGtk2", "asRGdkSegment")); return(fun(obj)); } GdkColor* asCGdkColor(USER_OBJECT_ s_color) { static GdkColor* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkColor* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkColor")); return(fun(s_color)); } USER_OBJECT_ asRGdkColor(const GdkColor* color) { static USER_OBJECT_ (*fun)(const GdkColor*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GdkColor*))R_GetCCallable("RGtk2", "asRGdkColor")); return(fun(color)); } USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window) { static USER_OBJECT_ (*fun)(GdkNativeWindow) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkNativeWindow))R_GetCCallable("RGtk2", "asRGdkNativeWindow")); return(fun(window)); } GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window) { static GdkNativeWindow (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkNativeWindow (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkNativeWindow")); return(fun(s_window)); } USER_OBJECT_ asRGdkEvent(GdkEvent* event) { static USER_OBJECT_ (*fun)(GdkEvent*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkEvent*))R_GetCCallable("RGtk2", "asRGdkEvent")); return(fun(event)); } USER_OBJECT_ toRGdkEvent(GdkEvent* event, gboolean finalize) { static USER_OBJECT_ (*fun)(GdkEvent*, gboolean) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkEvent*, gboolean))R_GetCCallable("RGtk2", "toRGdkEvent")); return(fun(event, finalize)); } USER_OBJECT_ toRGdkFont(GdkFont* font) { static USER_OBJECT_ (*fun)(GdkFont*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkFont*))R_GetCCallable("RGtk2", "toRGdkFont")); return(fun(font)); } GdkTrapezoid* asCGdkTrapezoid(USER_OBJECT_ s_trapezoid) { static GdkTrapezoid* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkTrapezoid* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkTrapezoid")); return(fun(s_trapezoid)); } USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid* obj) { static USER_OBJECT_ (*fun)(GdkTrapezoid*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkTrapezoid*))R_GetCCallable("RGtk2", "asRGdkTrapezoid")); return(fun(obj)); } USER_OBJECT_ asRGdkGCValues(GdkGCValues* values) { static USER_OBJECT_ (*fun)(GdkGCValues*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkGCValues*))R_GetCCallable("RGtk2", "asRGdkGCValues")); return(fun(values)); } GdkSpan* asCGdkSpan(USER_OBJECT_ s_span) { static GdkSpan* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkSpan* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkSpan")); return(fun(s_span)); } USER_OBJECT_ asRGdkSpan(GdkSpan* obj) { static USER_OBJECT_ (*fun)(GdkSpan*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkSpan*))R_GetCCallable("RGtk2", "asRGdkSpan")); return(fun(obj)); } GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry) { static GtkTargetEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkTargetEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkTargetEntry")); return(fun(s_entry)); } USER_OBJECT_ asRGtkTargetEntry(GtkTargetEntry* obj) { static USER_OBJECT_ (*fun)(GtkTargetEntry*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkTargetEntry*))R_GetCCallable("RGtk2", "asRGtkTargetEntry")); return(fun(obj)); } GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info) { static GtkFileFilterInfo* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkFileFilterInfo* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkFileFilterInfo")); return(fun(s_info)); } USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo* obj) { static USER_OBJECT_ (*fun)(const GtkFileFilterInfo*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GtkFileFilterInfo*))R_GetCCallable("RGtk2", "asRGtkFileFilterInfo")); return(fun(obj)); } GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value) { static GtkSettingsValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkSettingsValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkSettingsValue")); return(fun(s_value)); } GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item) { static GtkStockItem* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkStockItem* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkStockItem")); return(fun(s_item)); } USER_OBJECT_ asRGtkStockItem(GtkStockItem* item) { static USER_OBJECT_ (*fun)(GtkStockItem*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkStockItem*))R_GetCCallable("RGtk2", "asRGtkStockItem")); return(fun(item)); } GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkItemFactoryEntry")); return(fun(s_entry)); } GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkItemFactoryEntry2")); return(fun(s_entry)); } GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_, guint) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_, guint))R_GetCCallable("RGtk2", "R_createGtkItemFactoryEntry")); return(fun(s_entry, cbtype)); } GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc) { static GtkAllocation* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkAllocation* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkAllocation")); return(fun(s_alloc)); } USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc) { static USER_OBJECT_ (*fun)(GtkAllocation*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkAllocation*))R_GetCCallable("RGtk2", "asRGtkAllocation")); return(fun(alloc)); } #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilterInfo* asCGtkRecentFilterInfo(USER_OBJECT_ s_obj) { static GtkRecentFilterInfo* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkRecentFilterInfo* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkRecentFilterInfo")); return(fun(s_obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo* obj) { static USER_OBJECT_ (*fun)(const GtkRecentFilterInfo*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GtkRecentFilterInfo*))R_GetCCallable("RGtk2", "asRGtkRecentFilterInfo")); return(fun(obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentData* asCGtkRecentData(USER_OBJECT_ s_obj) { static GtkRecentData* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkRecentData* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkRecentData")); return(fun(s_obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) USER_OBJECT_ asRGtkPageRange(GtkPageRange* obj) { static USER_OBJECT_ (*fun)(GtkPageRange*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkPageRange*))R_GetCCallable("RGtk2", "asRGtkPageRange")); return(fun(obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkPageRange* asCGtkPageRange(USER_OBJECT_ s_obj) { static GtkPageRange* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkPageRange* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkPageRange")); return(fun(s_obj)); } #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey* obj) { static USER_OBJECT_ (*fun)(GtkAccelKey*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkAccelKey*))R_GetCCallable("RGtk2", "asRGtkAccelKey")); return(fun(obj)); } #endif RGtk2/inst/include/RGtk2/cairoImports.c0000644000176000001440000000330611766145227017420 0ustar ripleyusers#ifndef S_CAIRO_IMPORTS_C #define S_CAIRO_IMPORTS_C #include #include #include cairo_status_t S_cairo_read_func_t(gpointer s_closure, guchar* s_data, guint s_length) { static cairo_status_t (*fun)(gpointer, guchar*, guint) = NULL; if(!fun) fun = ((cairo_status_t (*)(gpointer, guchar*, guint))R_GetCCallable("RGtk2", "S_cairo_read_func_t")); return(fun(s_closure, s_data, s_length)); } USER_OBJECT_ asRCairoPath(cairo_path_t* path) { static USER_OBJECT_ (*fun)(cairo_path_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_path_t*))R_GetCCallable("RGtk2", "asRCairoPath")); return(fun(path)); } cairo_path_t* asCCairoPath(USER_OBJECT_ s_path) { static cairo_path_t* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((cairo_path_t* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCairoPath")); return(fun(s_path)); } cairo_glyph_t* asCCairoGlyph(USER_OBJECT_ s_glyph) { static cairo_glyph_t* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((cairo_glyph_t* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCairoGlyph")); return(fun(s_glyph)); } #if CAIRO_CHECK_VERSION(1, 4, 0) USER_OBJECT_ asRCairoRectangle(cairo_rectangle_t* path) { static USER_OBJECT_ (*fun)(cairo_rectangle_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_rectangle_t*))R_GetCCallable("RGtk2", "asRCairoRectangle")); return(fun(path)); } #endif #if CAIRO_CHECK_VERSION(1, 4, 0) USER_OBJECT_ asRCairoRectangleList(cairo_rectangle_list_t* list) { static USER_OBJECT_ (*fun)(cairo_rectangle_list_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_rectangle_list_t*))R_GetCCallable("RGtk2", "asRCairoRectangleList")); return(fun(list)); } #endif #endif RGtk2/inst/include/RGtk2/gdkClasses.h0000644000176000001440000000240112362217673017026 0ustar ripleyusers#ifndef S_GDK_CLASSES_H #define S_GDK_CLASSES_H #include #include void S_gdk_bitmap_class_init(GdkDrawableClass * c, SEXP e); void S_gdk_colormap_class_init(GdkColormapClass * c, SEXP e); void S_gdk_display_class_init(GdkDisplayClass * c, SEXP e); void S_gdk_display_manager_class_init(GdkDisplayManagerClass * c, SEXP e); void S_gdk_drag_context_class_init(GdkDragContextClass * c, SEXP e); void S_gdk_drawable_class_init(GdkDrawableClass * c, SEXP e); void S_gdk_window_class_init(GdkWindowClass * c, SEXP e); void S_gdk_pixmap_class_init(GdkPixmapObjectClass * c, SEXP e); void S_gdk_gc_class_init(GdkGCClass * c, SEXP e); void S_gdk_image_class_init(GdkImageClass * c, SEXP e); void S_gdk_keymap_class_init(GdkKeymapClass * c, SEXP e); void S_gdk_pixbuf_animation_class_init(GdkPixbufAnimationClass * c, SEXP e); void S_gdk_pixbuf_animation_iter_class_init(GdkPixbufAnimationIterClass * c, SEXP e); void S_gdk_pixbuf_loader_class_init(GdkPixbufLoaderClass * c, SEXP e); void S_gdk_pango_renderer_class_init(GdkPangoRendererClass * c, SEXP e); void S_gdk_screen_class_init(GdkScreenClass * c, SEXP e); #if GDK_CHECK_VERSION(2, 14, 0) void S_gdk_app_launch_context_class_init(GdkAppLaunchContextClass * c, SEXP e); #endif #endif RGtk2/inst/include/RGtk2/atkUserFuncImports.c0000644000176000001440000000042012362217673020545 0ustar ripleyusersgint S_AtkKeySnoopFunc(AtkKeyEventStruct* event, gpointer func_data) { static gint (*fun)(AtkKeyEventStruct*, gpointer) = NULL; if(!fun) fun = ((gint (*)(AtkKeyEventStruct*, gpointer))R_GetCCallable("RGtk2", "S_AtkKeySnoopFunc")); return(fun(event, func_data)); } RGtk2/inst/include/RGtk2/gtkClasses.h0000644000176000001440000003175312362217673017062 0ustar ripleyusers#ifndef S_GTK_CLASSES_H #define S_GTK_CLASSES_H #include #include void S_gtk_about_dialog_class_init(GtkAboutDialogClass * c, SEXP e); void S_gtk_accel_group_class_init(GtkAccelGroupClass * c, SEXP e); void S_gtk_accel_label_class_init(GtkAccelLabelClass * c, SEXP e); void S_gtk_accessible_class_init(GtkAccessibleClass * c, SEXP e); void S_gtk_action_class_init(GtkActionClass * c, SEXP e); void S_gtk_action_group_class_init(GtkActionGroupClass * c, SEXP e); void S_gtk_adjustment_class_init(GtkAdjustmentClass * c, SEXP e); void S_gtk_alignment_class_init(GtkAlignmentClass * c, SEXP e); void S_gtk_arrow_class_init(GtkArrowClass * c, SEXP e); void S_gtk_aspect_frame_class_init(GtkAspectFrameClass * c, SEXP e); void S_gtk_bin_class_init(GtkBinClass * c, SEXP e); void S_gtk_box_class_init(GtkBoxClass * c, SEXP e); void S_gtk_button_class_init(GtkButtonClass * c, SEXP e); void S_gtk_button_box_class_init(GtkButtonBoxClass * c, SEXP e); void S_gtk_calendar_class_init(GtkCalendarClass * c, SEXP e); void S_gtk_cell_renderer_class_init(GtkCellRendererClass * c, SEXP e); void S_gtk_cell_renderer_combo_class_init(GtkCellRendererComboClass * c, SEXP e); void S_gtk_cell_renderer_pixbuf_class_init(GtkCellRendererPixbufClass * c, SEXP e); void S_gtk_cell_renderer_progress_class_init(GtkCellRendererProgressClass * c, SEXP e); void S_gtk_cell_renderer_text_class_init(GtkCellRendererTextClass * c, SEXP e); void S_gtk_cell_renderer_toggle_class_init(GtkCellRendererToggleClass * c, SEXP e); void S_gtk_cell_view_class_init(GtkCellViewClass * c, SEXP e); void S_gtk_check_button_class_init(GtkCheckButtonClass * c, SEXP e); void S_gtk_check_menu_item_class_init(GtkCheckMenuItemClass * c, SEXP e); void S_gtk_clist_class_init(GtkCListClass * c, SEXP e); void S_gtk_color_button_class_init(GtkColorButtonClass * c, SEXP e); void S_gtk_color_selection_class_init(GtkColorSelectionClass * c, SEXP e); void S_gtk_color_selection_dialog_class_init(GtkColorSelectionDialogClass * c, SEXP e); void S_gtk_combo_class_init(GtkComboClass * c, SEXP e); void S_gtk_combo_box_class_init(GtkComboBoxClass * c, SEXP e); void S_gtk_combo_box_entry_class_init(GtkComboBoxEntryClass * c, SEXP e); void S_gtk_container_class_init(GtkContainerClass * c, SEXP e); void S_gtk_ctree_class_init(GtkCTreeClass * c, SEXP e); void S_gtk_curve_class_init(GtkCurveClass * c, SEXP e); void S_gtk_dialog_class_init(GtkDialogClass * c, SEXP e); void S_gtk_drawing_area_class_init(GtkDrawingAreaClass * c, SEXP e); void S_gtk_entry_class_init(GtkEntryClass * c, SEXP e); void S_gtk_entry_completion_class_init(GtkEntryCompletionClass * c, SEXP e); void S_gtk_event_box_class_init(GtkEventBoxClass * c, SEXP e); void S_gtk_expander_class_init(GtkExpanderClass * c, SEXP e); void S_gtk_file_chooser_button_class_init(GtkFileChooserButtonClass * c, SEXP e); void S_gtk_file_chooser_dialog_class_init(GtkFileChooserDialogClass * c, SEXP e); void S_gtk_file_chooser_widget_class_init(GtkFileChooserWidgetClass * c, SEXP e); void S_gtk_file_selection_class_init(GtkFileSelectionClass * c, SEXP e); void S_gtk_fixed_class_init(GtkFixedClass * c, SEXP e); void S_gtk_font_button_class_init(GtkFontButtonClass * c, SEXP e); void S_gtk_font_selection_class_init(GtkFontSelectionClass * c, SEXP e); void S_gtk_font_selection_dialog_class_init(GtkFontSelectionDialogClass * c, SEXP e); void S_gtk_frame_class_init(GtkFrameClass * c, SEXP e); void S_gtk_gamma_curve_class_init(GtkGammaCurveClass * c, SEXP e); void S_gtk_handle_box_class_init(GtkHandleBoxClass * c, SEXP e); void S_gtk_hbox_class_init(GtkHBoxClass * c, SEXP e); void S_gtk_hbutton_box_class_init(GtkHButtonBoxClass * c, SEXP e); void S_gtk_hpaned_class_init(GtkHPanedClass * c, SEXP e); void S_gtk_hruler_class_init(GtkHRulerClass * c, SEXP e); void S_gtk_hscale_class_init(GtkHScaleClass * c, SEXP e); void S_gtk_hscrollbar_class_init(GtkHScrollbarClass * c, SEXP e); void S_gtk_hseparator_class_init(GtkHSeparatorClass * c, SEXP e); void S_gtk_icon_factory_class_init(GtkIconFactoryClass * c, SEXP e); void S_gtk_icon_theme_class_init(GtkIconThemeClass * c, SEXP e); void S_gtk_icon_view_class_init(GtkIconViewClass * c, SEXP e); void S_gtk_image_class_init(GtkImageClass * c, SEXP e); void S_gtk_image_menu_item_class_init(GtkImageMenuItemClass * c, SEXP e); void S_gtk_imcontext_class_init(GtkIMContextClass * c, SEXP e); void S_gtk_imcontext_simple_class_init(GtkIMContextSimpleClass * c, SEXP e); void S_gtk_immulticontext_class_init(GtkIMMulticontextClass * c, SEXP e); void S_gtk_input_dialog_class_init(GtkInputDialogClass * c, SEXP e); void S_gtk_invisible_class_init(GtkInvisibleClass * c, SEXP e); void S_gtk_item_class_init(GtkItemClass * c, SEXP e); void S_gtk_item_factory_class_init(GtkItemFactoryClass * c, SEXP e); void S_gtk_label_class_init(GtkLabelClass * c, SEXP e); void S_gtk_layout_class_init(GtkLayoutClass * c, SEXP e); void S_gtk_list_class_init(GtkListClass * c, SEXP e); void S_gtk_list_item_class_init(GtkListItemClass * c, SEXP e); void S_gtk_list_store_class_init(GtkListStoreClass * c, SEXP e); void S_gtk_menu_class_init(GtkMenuClass * c, SEXP e); void S_gtk_menu_bar_class_init(GtkMenuBarClass * c, SEXP e); void S_gtk_menu_item_class_init(GtkMenuItemClass * c, SEXP e); void S_gtk_menu_shell_class_init(GtkMenuShellClass * c, SEXP e); void S_gtk_menu_tool_button_class_init(GtkMenuToolButtonClass * c, SEXP e); void S_gtk_message_dialog_class_init(GtkMessageDialogClass * c, SEXP e); void S_gtk_misc_class_init(GtkMiscClass * c, SEXP e); void S_gtk_notebook_class_init(GtkNotebookClass * c, SEXP e); void S_gtk_object_class_init(GtkObjectClass * c, SEXP e); void S_gtk_old_editable_class_init(GtkOldEditableClass * c, SEXP e); void S_gtk_option_menu_class_init(GtkOptionMenuClass * c, SEXP e); void S_gtk_paned_class_init(GtkPanedClass * c, SEXP e); void S_gtk_pixmap_class_init(GtkPixmapClass * c, SEXP e); void S_gtk_plug_class_init(GtkPlugClass * c, SEXP e); void S_gtk_preview_class_init(GtkPreviewClass * c, SEXP e); void S_gtk_progress_class_init(GtkProgressClass * c, SEXP e); void S_gtk_progress_bar_class_init(GtkProgressBarClass * c, SEXP e); void S_gtk_radio_action_class_init(GtkRadioActionClass * c, SEXP e); void S_gtk_radio_button_class_init(GtkRadioButtonClass * c, SEXP e); void S_gtk_radio_menu_item_class_init(GtkRadioMenuItemClass * c, SEXP e); void S_gtk_radio_tool_button_class_init(GtkRadioToolButtonClass * c, SEXP e); void S_gtk_range_class_init(GtkRangeClass * c, SEXP e); void S_gtk_rc_style_class_init(GtkRcStyleClass * c, SEXP e); void S_gtk_ruler_class_init(GtkRulerClass * c, SEXP e); void S_gtk_scale_class_init(GtkScaleClass * c, SEXP e); void S_gtk_scrollbar_class_init(GtkScrollbarClass * c, SEXP e); void S_gtk_scrolled_window_class_init(GtkScrolledWindowClass * c, SEXP e); void S_gtk_separator_class_init(GtkSeparatorClass * c, SEXP e); void S_gtk_separator_menu_item_class_init(GtkSeparatorMenuItemClass * c, SEXP e); void S_gtk_separator_tool_item_class_init(GtkSeparatorToolItemClass * c, SEXP e); void S_gtk_settings_class_init(GtkSettingsClass * c, SEXP e); void S_gtk_size_group_class_init(GtkSizeGroupClass * c, SEXP e); void S_gtk_socket_class_init(GtkSocketClass * c, SEXP e); void S_gtk_spin_button_class_init(GtkSpinButtonClass * c, SEXP e); void S_gtk_statusbar_class_init(GtkStatusbarClass * c, SEXP e); void S_gtk_style_class_init(GtkStyleClass * c, SEXP e); void S_gtk_table_class_init(GtkTableClass * c, SEXP e); void S_gtk_tearoff_menu_item_class_init(GtkTearoffMenuItemClass * c, SEXP e); void S_gtk_text_buffer_class_init(GtkTextBufferClass * c, SEXP e); void S_gtk_text_child_anchor_class_init(GtkTextChildAnchorClass * c, SEXP e); void S_gtk_text_mark_class_init(GtkTextMarkClass * c, SEXP e); void S_gtk_text_tag_class_init(GtkTextTagClass * c, SEXP e); void S_gtk_text_tag_table_class_init(GtkTextTagTableClass * c, SEXP e); void S_gtk_text_view_class_init(GtkTextViewClass * c, SEXP e); void S_gtk_tips_query_class_init(GtkTipsQueryClass * c, SEXP e); void S_gtk_toggle_action_class_init(GtkToggleActionClass * c, SEXP e); void S_gtk_toggle_button_class_init(GtkToggleButtonClass * c, SEXP e); void S_gtk_toggle_tool_button_class_init(GtkToggleToolButtonClass * c, SEXP e); void S_gtk_toolbar_class_init(GtkToolbarClass * c, SEXP e); void S_gtk_tool_button_class_init(GtkToolButtonClass * c, SEXP e); void S_gtk_tool_item_class_init(GtkToolItemClass * c, SEXP e); void S_gtk_tooltips_class_init(GtkTooltipsClass * c, SEXP e); void S_gtk_tree_model_filter_class_init(GtkTreeModelFilterClass * c, SEXP e); void S_gtk_tree_model_sort_class_init(GtkTreeModelSortClass * c, SEXP e); void S_gtk_tree_selection_class_init(GtkTreeSelectionClass * c, SEXP e); void S_gtk_tree_store_class_init(GtkTreeStoreClass * c, SEXP e); void S_gtk_tree_view_class_init(GtkTreeViewClass * c, SEXP e); void S_gtk_tree_view_column_class_init(GtkTreeViewColumnClass * c, SEXP e); void S_gtk_uimanager_class_init(GtkUIManagerClass * c, SEXP e); void S_gtk_vbox_class_init(GtkVBoxClass * c, SEXP e); void S_gtk_vbutton_box_class_init(GtkVButtonBoxClass * c, SEXP e); void S_gtk_viewport_class_init(GtkViewportClass * c, SEXP e); void S_gtk_vpaned_class_init(GtkVPanedClass * c, SEXP e); void S_gtk_vruler_class_init(GtkVRulerClass * c, SEXP e); void S_gtk_vscale_class_init(GtkVScaleClass * c, SEXP e); void S_gtk_vscrollbar_class_init(GtkVScrollbarClass * c, SEXP e); void S_gtk_vseparator_class_init(GtkVSeparatorClass * c, SEXP e); void S_gtk_widget_class_init(GtkWidgetClass * c, SEXP e); void S_gtk_window_class_init(GtkWindowClass * c, SEXP e); void S_gtk_window_group_class_init(GtkWindowGroupClass * c, SEXP e); #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_accel_class_init(GtkCellRendererAccelClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_spin_class_init(GtkCellRendererSpinClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_print_operation_class_init(GtkPrintOperationClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_manager_class_init(GtkRecentManagerClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_status_icon_class_init(GtkStatusIconClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_menu_class_init(GtkRecentChooserMenuClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_link_button_class_init(GtkLinkButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_widget_class_init(GtkRecentChooserWidgetClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_dialog_class_init(GtkRecentChooserDialogClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_assistant_class_init(GtkAssistantClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_builder_class_init(GtkBuilderClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_recent_action_class_init(GtkRecentActionClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_scale_button_class_init(GtkScaleButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_volume_button_class_init(GtkVolumeButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_mount_operation_class_init(GtkMountOperationClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_entry_buffer_class_init(GtkEntryBufferClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_info_bar_class_init(GtkInfoBarClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_hsv_class_init(GtkHSVClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_item_group_class_init(GtkToolItemGroupClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_palette_class_init(GtkToolPaletteClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_cell_renderer_spinner_class_init(GtkCellRendererSpinnerClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_offscreen_window_class_init(GtkOffscreenWindowClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_spinner_class_init(GtkSpinnerClass * c, SEXP e); #endif void S_gtk_cell_editable_class_init(GtkCellEditableIface * c, SEXP e); void S_gtk_cell_layout_class_init(GtkCellLayoutIface * c, SEXP e); void S_gtk_editable_class_init(GtkEditableClass * c, SEXP e); void S_gtk_tree_drag_dest_class_init(GtkTreeDragDestIface * c, SEXP e); void S_gtk_tree_drag_source_class_init(GtkTreeDragSourceIface * c, SEXP e); void S_gtk_tree_model_class_init(GtkTreeModelIface * c, SEXP e); void S_gtk_tree_sortable_class_init(GtkTreeSortableIface * c, SEXP e); #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_buildable_class_init(GtkBuildableIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_tool_shell_class_init(GtkToolShellIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_activatable_class_init(GtkActivatableIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_orientable_class_init(GtkOrientableIface * c, SEXP e); #endif #endif RGtk2/inst/include/RGtk2/pango.h0000644000176000001440000000162211766145227016055 0ustar ripleyusers#ifndef RGTK2_PANGO_H #define RGTK2_PANGO_H #include #include #define PANGO_ENABLE_BACKEND #include #include /* Pango got version macros in 1.16.0; before that, assume 1.10.0 */ #ifndef PANGO_VERSION_CHECK #define PANGO_CHECK_VERSION(major,minor,micro) \ (1 > (major) || \ (1 == (major) && 10 > (minor)) || \ (1 == (major) && 10 == (minor) && \ 0 >= (micro))) #else #define PANGO_CHECK_VERSION PANGO_VERSION_CHECK #endif #include #include /**** Conversion *****/ PangoRectangle* asCPangoRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRPangoRectangle(PangoRectangle *rect); USER_OBJECT_ asRPangoAttribute(PangoAttribute *attr); USER_OBJECT_ asRPangoAttributeCopy(PangoAttribute *attr); USER_OBJECT_ toRPangoAttribute(PangoAttribute *attr, gboolean finalize); #endif RGtk2/inst/include/RGtk2/pangoClasses.h0000644000176000001440000000077512362217673017401 0ustar ripleyusers#ifndef S_PANGO_CLASSES_H #define S_PANGO_CLASSES_H #include #include void S_pango_font_class_init(PangoFontClass * c, SEXP e); void S_pango_font_face_class_init(PangoFontFaceClass * c, SEXP e); void S_pango_font_family_class_init(PangoFontFamilyClass * c, SEXP e); void S_pango_font_map_class_init(PangoFontMapClass * c, SEXP e); void S_pango_fontset_class_init(PangoFontsetClass * c, SEXP e); void S_pango_renderer_class_init(PangoRendererClass * c, SEXP e); #endif RGtk2/inst/include/RGtk2/gtkUserFuncImports.c0000644000176000001440000004450012362217673020562 0ustar ripleyusersvoid S_GtkAboutDialogActivateLinkFunc(GtkAboutDialog* about, const gchar* link, gpointer data) { static void (*fun)(GtkAboutDialog*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkAboutDialog*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkAboutDialogActivateLinkFunc")); return(fun(about, link, data)); } void S_GtkCellLayoutDataFunc(GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkCellLayout*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkCellLayout*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkCellLayoutDataFunc")); return(fun(cell_layout, cell, tree_model, iter, data)); } void S_GtkClipboardGetFunc(GtkClipboard* clipboard, GtkSelectionData* selection_data, guint info, gpointer user_data_or_owner) { static void (*fun)(GtkClipboard*, GtkSelectionData*, guint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GtkSelectionData*, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardGetFunc")); return(fun(clipboard, selection_data, info, user_data_or_owner)); } void S_GtkClipboardReceivedFunc(GtkClipboard* clipboard, GtkSelectionData* selection_data, gpointer data) { static void (*fun)(GtkClipboard*, GtkSelectionData*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GtkSelectionData*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardReceivedFunc")); return(fun(clipboard, selection_data, data)); } void S_GtkClipboardImageReceivedFunc(GtkClipboard* clipboard, GdkPixbuf* image, gpointer data) { static void (*fun)(GtkClipboard*, GdkPixbuf*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkPixbuf*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardImageReceivedFunc")); return(fun(clipboard, image, data)); } void S_GtkClipboardTextReceivedFunc(GtkClipboard* clipboard, const gchar* text, gpointer data) { static void (*fun)(GtkClipboard*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardTextReceivedFunc")); return(fun(clipboard, text, data)); } void S_GtkClipboardTargetsReceivedFunc(GtkClipboard* clipboard, GdkAtom* atoms, gint n_atoms, gpointer data) { static void (*fun)(GtkClipboard*, GdkAtom[], gint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkAtom[], gint, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardTargetsReceivedFunc")); return(fun(clipboard, atoms, n_atoms, data)); } void S_GtkColorSelectionChangePaletteFunc(const GdkColor* colors, gint n_colors) { static void (*fun)(const GdkColor[], gint) = NULL; if(!fun) fun = ((void (*)(const GdkColor[], gint))R_GetCCallable("RGtk2", "S_GtkColorSelectionChangePaletteFunc")); return(fun(colors, n_colors)); } void S_GtkColorSelectionChangePaletteWithScreenFunc(GdkScreen* screen, const GdkColor* colors, gint n_colors) { static void (*fun)(GdkScreen*, const GdkColor[], gint) = NULL; if(!fun) fun = ((void (*)(GdkScreen*, const GdkColor[], gint))R_GetCCallable("RGtk2", "S_GtkColorSelectionChangePaletteWithScreenFunc")); return(fun(screen, colors, n_colors)); } gboolean S_GtkCTreeGNodeFunc(GtkCTree* ctree, guint depth, GNode* gnode, GtkCTreeNode* cnode, gpointer data) { static gboolean (*fun)(GtkCTree*, guint, GNode*, GtkCTreeNode*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkCTree*, guint, GNode*, GtkCTreeNode*, gpointer))R_GetCCallable("RGtk2", "S_GtkCTreeGNodeFunc")); return(fun(ctree, depth, gnode, cnode, data)); } void S_GtkCTreeFunc(GtkCTree* ctree, GtkCTreeNode* node, gpointer data) { static void (*fun)(GtkCTree*, GtkCTreeNode*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkCTree*, GtkCTreeNode*, gpointer))R_GetCCallable("RGtk2", "S_GtkCTreeFunc")); return(fun(ctree, node, data)); } gboolean S_GtkEntryCompletionMatchFunc(GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer user_data) { static gboolean (*fun)(GtkEntryCompletion*, const gchar*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkEntryCompletion*, const gchar*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkEntryCompletionMatchFunc")); return(fun(completion, key, iter, user_data)); } gboolean S_GtkFileFilterFunc(const GtkFileFilterInfo* filter_info, gpointer data) { static gboolean (*fun)(const GtkFileFilterInfo*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const GtkFileFilterInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkFileFilterFunc")); return(fun(filter_info, data)); } void S_GtkIconViewForeachFunc(GtkIconView* icon_view, GtkTreePath* path, gpointer data) { static void (*fun)(GtkIconView*, GtkTreePath*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkIconView*, GtkTreePath*, gpointer))R_GetCCallable("RGtk2", "S_GtkIconViewForeachFunc")); return(fun(icon_view, path, data)); } void S_GtkTranslateFunc(const gchar* path, gpointer func_data) { static void (*fun)(const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkTranslateFunc")); return(fun(path, func_data)); } gboolean S_GtkFunction(gpointer data) { static gboolean (*fun)(gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gpointer))R_GetCCallable("RGtk2", "S_GtkFunction")); return(fun(data)); } gint S_GtkKeySnoopFunc(GtkWidget* grab_widget, GdkEventKey* event, gpointer func_data) { static gint (*fun)(GtkWidget*, GdkEventKey*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkWidget*, GdkEventKey*, gpointer))R_GetCCallable("RGtk2", "S_GtkKeySnoopFunc")); return(fun(grab_widget, event, func_data)); } gint S_GtkMenuPositionFunc(GtkMenu* menu, gint* x, gint* y, gboolean* push_in, gpointer user_data) { static gint (*fun)(GtkMenu*, gint*, gint*, gboolean*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkMenu*, gint*, gint*, gboolean*, gpointer))R_GetCCallable("RGtk2", "S_GtkMenuPositionFunc")); return(fun(menu, x, y, push_in, user_data)); } gint S_GtkTreeModelForeachFunc(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelForeachFunc")); return(fun(model, path, iter, data)); } gint S_GtkTreeModelFilterVisibleFunc(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelFilterVisibleFunc")); return(fun(model, iter, data)); } gint S_GtkTreeModelFilterModifyFunc(GtkTreeModel* model, GtkTreeIter* iter, GValue* value, gint column, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, GValue*, gint, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, GValue*, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelFilterModifyFunc")); return(fun(model, iter, value, column, data)); } gboolean S_GtkTreeSelectionFunc(GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_currently_selected, gpointer data) { static gboolean (*fun)(GtkTreeSelection*, GtkTreeModel*, GtkTreePath*, gboolean, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeSelection*, GtkTreeModel*, GtkTreePath*, gboolean, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeSelectionFunc")); return(fun(selection, model, path, path_currently_selected, data)); } void S_GtkTreeSelectionForeachFunc(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeSelectionForeachFunc")); return(fun(model, path, iter, data)); } gint S_GtkTreeIterCompareFunc(GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b, gpointer user_data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeIterCompareFunc")); return(fun(model, a, b, user_data)); } void S_GtkTreeCellDataFunc(GtkTreeViewColumn* tree_column, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeCellDataFunc")); return(fun(tree_column, cell, tree_model, iter, data)); } gboolean S_GtkTreeViewColumnDropFunc(GtkTreeView* tree_view, GtkTreeViewColumn* column, GtkTreeViewColumn* prev_column, GtkTreeViewColumn* next_column, gpointer data) { static gboolean (*fun)(GtkTreeView*, GtkTreeViewColumn*, GtkTreeViewColumn*, GtkTreeViewColumn*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeView*, GtkTreeViewColumn*, GtkTreeViewColumn*, GtkTreeViewColumn*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewColumnDropFunc")); return(fun(tree_view, column, prev_column, next_column, data)); } void S_GtkTreeViewMappingFunc(GtkTreeView* tree_view, GtkTreePath* path, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkTreePath*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkTreePath*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewMappingFunc")); return(fun(tree_view, path, user_data)); } gboolean S_GtkTreeViewSearchEqualFunc(GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter, gpointer search_data) { static gboolean (*fun)(GtkTreeModel*, gint, const gchar*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeModel*, gint, const gchar*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewSearchEqualFunc")); return(fun(model, column, key, iter, search_data)); } void S_GtkTreeDestroyCountFunc(GtkTreeView* tree_view, GtkTreePath* path, gint children, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkTreePath*, gint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkTreePath*, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeDestroyCountFunc")); return(fun(tree_view, path, children, user_data)); } gboolean S_GtkTreeViewRowSeparatorFunc(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { static gboolean (*fun)(GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewRowSeparatorFunc")); return(fun(model, iter, data)); } void S_GtkCallback(GtkWidget* child, gpointer data) { static void (*fun)(GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkCallback")); return(fun(child, data)); } void S_GtkAccelMapForeach(gpointer data, const gchar* accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed) { static void (*fun)(gpointer, const gchar*, guint, GdkModifierType, gboolean) = NULL; if(!fun) fun = ((void (*)(gpointer, const gchar*, guint, GdkModifierType, gboolean))R_GetCCallable("RGtk2", "S_GtkAccelMapForeach")); return(fun(data, accel_path, accel_key, accel_mods, changed)); } gboolean S_GtkAccelGroupFindFunc(GtkAccelKey* key, GClosure* closure, gpointer data) { static gboolean (*fun)(GtkAccelKey*, GClosure*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkAccelKey*, GClosure*, gpointer))R_GetCCallable("RGtk2", "S_GtkAccelGroupFindFunc")); return(fun(key, closure, data)); } gboolean S_GtkAccelGroupActivate(GtkAccelGroup* accel_group, GObject* acceleratable, guint keyval, GdkModifierType modifier) { static gboolean (*fun)(GtkAccelGroup*, GObject*, guint, GdkModifierType) = NULL; if(!fun) fun = ((gboolean (*)(GtkAccelGroup*, GObject*, guint, GdkModifierType))R_GetCCallable("RGtk2", "S_GtkAccelGroupActivate")); return(fun(accel_group, acceleratable, keyval, modifier)); } void S_GtkTextTagTableForeach(GtkTextTag* tag, gpointer data) { static void (*fun)(GtkTextTag*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTextTag*, gpointer))R_GetCCallable("RGtk2", "S_GtkTextTagTableForeach")); return(fun(tag, data)); } gboolean S_GtkTextCharPredicate(gunichar ch, gpointer user_data) { static gboolean (*fun)(gunichar, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gunichar, gpointer))R_GetCCallable("RGtk2", "S_GtkTextCharPredicate")); return(fun(ch, user_data)); } void S_GtkItemFactoryCallback1(gpointer callback_data, guint callback_action, GtkWidget* widget) { static void (*fun)(gpointer, guint, GtkWidget*) = NULL; if(!fun) fun = ((void (*)(gpointer, guint, GtkWidget*))R_GetCCallable("RGtk2", "S_GtkItemFactoryCallback1")); return(fun(callback_data, callback_action, widget)); } void S_GtkItemFactoryCallback2(GtkWidget* widget, gpointer callback_data, guint callback_action) { static void (*fun)(GtkWidget*, gpointer, guint) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer, guint))R_GetCCallable("RGtk2", "S_GtkItemFactoryCallback2")); return(fun(widget, callback_data, callback_action)); } #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkAssistantPageFunc(gint current_page, gpointer data) { static gint (*fun)(gint, gpointer) = NULL; if(!fun) fun = ((gint (*)(gint, gpointer))R_GetCCallable("RGtk2", "S_GtkAssistantPageFunc")); return(fun(current_page, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkClipboardRichTextReceivedFunc(GtkClipboard* clipboard, GdkAtom format, const guint8* text, gsize length, gpointer data) { static void (*fun)(GtkClipboard*, GdkAtom, const guint8*, gsize, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkAtom, const guint8*, gsize, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardRichTextReceivedFunc")); return(fun(clipboard, format, text, length, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkLinkButtonUriFunc(GtkLinkButton* button, const gchar* link, gpointer user_data) { static void (*fun)(GtkLinkButton*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkLinkButton*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkLinkButtonUriFunc")); return(fun(button, link, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* S_GtkNotebookWindowCreationFunc(GtkNotebook* source, GtkWidget* page, gint x, gint y, gpointer data) { static GtkNotebook* (*fun)(GtkNotebook*, GtkWidget*, gint, gint, gpointer) = NULL; if(!fun) fun = ((GtkNotebook* (*)(GtkNotebook*, GtkWidget*, gint, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkNotebookWindowCreationFunc")); return(fun(source, page, x, y, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPageSetupDoneFunc(GtkPageSetup* page_setup, gpointer data) { static void (*fun)(GtkPageSetup*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkPageSetup*, gpointer))R_GetCCallable("RGtk2", "S_GtkPageSetupDoneFunc")); return(fun(page_setup, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPrintSettingsFunc(const gchar* key, const gchar* value, gpointer user_data) { static void (*fun)(const gchar*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(const gchar*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkPrintSettingsFunc")); return(fun(key, value, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkRecentSortFunc(GtkRecentInfo* a, GtkRecentInfo* b, gpointer user_data) { static gint (*fun)(GtkRecentInfo*, GtkRecentInfo*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkRecentInfo*, GtkRecentInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkRecentSortFunc")); return(fun(a, b, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkRecentFilterFunc(const GtkRecentFilterInfo* filter_info, gpointer user_data) { static gboolean (*fun)(const GtkRecentFilterInfo*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const GtkRecentFilterInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkRecentFilterFunc")); return(fun(filter_info, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkTextBufferDeserializeFunc(GtkTextBuffer* register_buffer, GtkTextBuffer* content_buffer, GtkTextIter* iter, const guint8* data, gsize length, gboolean create_tags, gpointer user_data, GError** error) { static gboolean (*fun)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, const guint8*, gsize, gboolean, gpointer, GError**) = NULL; if(!fun) fun = ((gboolean (*)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, const guint8*, gsize, gboolean, gpointer, GError**))R_GetCCallable("RGtk2", "S_GtkTextBufferDeserializeFunc")); return(fun(register_buffer, content_buffer, iter, data, length, create_tags, user_data, error)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkTreeViewSearchPositionFunc(GtkTreeView* tree_view, GtkWidget* search_dialog, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewSearchPositionFunc")); return(fun(tree_view, search_dialog, user_data)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_GtkBuilderConnectFunc(GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, guint flags, gpointer user_data) { static void (*fun)(GtkBuilder*, GObject*, const gchar*, const gchar*, GObject*, guint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkBuilder*, GObject*, const gchar*, const gchar*, GObject*, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkBuilderConnectFunc")); return(fun(builder, object, signal_name, handler_name, connect_object, flags, user_data)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) gchar* S_GtkCalendarDetailFunc(GtkCalendar* calendar, guint year, guint month, guint day, gpointer user_data) { static gchar* (*fun)(GtkCalendar*, guint, guint, guint, gpointer) = NULL; if(!fun) fun = ((gchar* (*)(GtkCalendar*, guint, guint, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkCalendarDetailFunc")); return(fun(calendar, year, month, day, user_data)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_GtkClipboardURIReceivedFunc(GtkClipboard* clipboard, gchar** uris, gpointer user_data) { static void (*fun)(GtkClipboard*, gchar**, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, gchar**, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardURIReceivedFunc")); return(fun(clipboard, uris, user_data)); } #endif RGtk2/inst/include/RGtk2/gtkClassImports.c0000644000176000001440000013614412362217673020103 0ustar ripleyusersvoid S_gtk_about_dialog_class_init(GtkAboutDialogClass * c, SEXP e) { static void (*fun)(GtkAboutDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAboutDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_about_dialog_class_init")); return(fun(c, e)); } void S_gtk_accel_group_class_init(GtkAccelGroupClass * c, SEXP e) { static void (*fun)(GtkAccelGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccelGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accel_group_class_init")); return(fun(c, e)); } void S_gtk_accel_label_class_init(GtkAccelLabelClass * c, SEXP e) { static void (*fun)(GtkAccelLabelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccelLabelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accel_label_class_init")); return(fun(c, e)); } void S_gtk_accessible_class_init(GtkAccessibleClass * c, SEXP e) { static void (*fun)(GtkAccessibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccessibleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accessible_class_init")); return(fun(c, e)); } void S_gtk_action_class_init(GtkActionClass * c, SEXP e) { static void (*fun)(GtkActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_action_class_init")); return(fun(c, e)); } void S_gtk_action_group_class_init(GtkActionGroupClass * c, SEXP e) { static void (*fun)(GtkActionGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActionGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_action_group_class_init")); return(fun(c, e)); } void S_gtk_adjustment_class_init(GtkAdjustmentClass * c, SEXP e) { static void (*fun)(GtkAdjustmentClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAdjustmentClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_adjustment_class_init")); return(fun(c, e)); } void S_gtk_alignment_class_init(GtkAlignmentClass * c, SEXP e) { static void (*fun)(GtkAlignmentClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAlignmentClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_alignment_class_init")); return(fun(c, e)); } void S_gtk_arrow_class_init(GtkArrowClass * c, SEXP e) { static void (*fun)(GtkArrowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkArrowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_arrow_class_init")); return(fun(c, e)); } void S_gtk_aspect_frame_class_init(GtkAspectFrameClass * c, SEXP e) { static void (*fun)(GtkAspectFrameClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAspectFrameClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_aspect_frame_class_init")); return(fun(c, e)); } void S_gtk_bin_class_init(GtkBinClass * c, SEXP e) { static void (*fun)(GtkBinClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBinClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_bin_class_init")); return(fun(c, e)); } void S_gtk_box_class_init(GtkBoxClass * c, SEXP e) { static void (*fun)(GtkBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_box_class_init")); return(fun(c, e)); } void S_gtk_button_class_init(GtkButtonClass * c, SEXP e) { static void (*fun)(GtkButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_button_class_init")); return(fun(c, e)); } void S_gtk_button_box_class_init(GtkButtonBoxClass * c, SEXP e) { static void (*fun)(GtkButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_button_box_class_init")); return(fun(c, e)); } void S_gtk_calendar_class_init(GtkCalendarClass * c, SEXP e) { static void (*fun)(GtkCalendarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCalendarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_calendar_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_class_init(GtkCellRendererClass * c, SEXP e) { static void (*fun)(GtkCellRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_combo_class_init(GtkCellRendererComboClass * c, SEXP e) { static void (*fun)(GtkCellRendererComboClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererComboClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_combo_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_pixbuf_class_init(GtkCellRendererPixbufClass * c, SEXP e) { static void (*fun)(GtkCellRendererPixbufClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererPixbufClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_pixbuf_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_progress_class_init(GtkCellRendererProgressClass * c, SEXP e) { static void (*fun)(GtkCellRendererProgressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererProgressClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_progress_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_text_class_init(GtkCellRendererTextClass * c, SEXP e) { static void (*fun)(GtkCellRendererTextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererTextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_text_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_toggle_class_init(GtkCellRendererToggleClass * c, SEXP e) { static void (*fun)(GtkCellRendererToggleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererToggleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_toggle_class_init")); return(fun(c, e)); } void S_gtk_cell_view_class_init(GtkCellViewClass * c, SEXP e) { static void (*fun)(GtkCellViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_view_class_init")); return(fun(c, e)); } void S_gtk_check_button_class_init(GtkCheckButtonClass * c, SEXP e) { static void (*fun)(GtkCheckButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCheckButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_check_button_class_init")); return(fun(c, e)); } void S_gtk_check_menu_item_class_init(GtkCheckMenuItemClass * c, SEXP e) { static void (*fun)(GtkCheckMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCheckMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_check_menu_item_class_init")); return(fun(c, e)); } void S_gtk_clist_class_init(GtkCListClass * c, SEXP e) { static void (*fun)(GtkCListClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCListClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_clist_class_init")); return(fun(c, e)); } void S_gtk_color_button_class_init(GtkColorButtonClass * c, SEXP e) { static void (*fun)(GtkColorButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_button_class_init")); return(fun(c, e)); } void S_gtk_color_selection_class_init(GtkColorSelectionClass * c, SEXP e) { static void (*fun)(GtkColorSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_selection_class_init")); return(fun(c, e)); } void S_gtk_color_selection_dialog_class_init(GtkColorSelectionDialogClass * c, SEXP e) { static void (*fun)(GtkColorSelectionDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorSelectionDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_selection_dialog_class_init")); return(fun(c, e)); } void S_gtk_combo_class_init(GtkComboClass * c, SEXP e) { static void (*fun)(GtkComboClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_class_init")); return(fun(c, e)); } void S_gtk_combo_box_class_init(GtkComboBoxClass * c, SEXP e) { static void (*fun)(GtkComboBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_box_class_init")); return(fun(c, e)); } void S_gtk_combo_box_entry_class_init(GtkComboBoxEntryClass * c, SEXP e) { static void (*fun)(GtkComboBoxEntryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboBoxEntryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_box_entry_class_init")); return(fun(c, e)); } void S_gtk_container_class_init(GtkContainerClass * c, SEXP e) { static void (*fun)(GtkContainerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkContainerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_container_class_init")); return(fun(c, e)); } void S_gtk_ctree_class_init(GtkCTreeClass * c, SEXP e) { static void (*fun)(GtkCTreeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCTreeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_ctree_class_init")); return(fun(c, e)); } void S_gtk_curve_class_init(GtkCurveClass * c, SEXP e) { static void (*fun)(GtkCurveClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCurveClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_curve_class_init")); return(fun(c, e)); } void S_gtk_dialog_class_init(GtkDialogClass * c, SEXP e) { static void (*fun)(GtkDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_dialog_class_init")); return(fun(c, e)); } void S_gtk_drawing_area_class_init(GtkDrawingAreaClass * c, SEXP e) { static void (*fun)(GtkDrawingAreaClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkDrawingAreaClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_drawing_area_class_init")); return(fun(c, e)); } void S_gtk_entry_class_init(GtkEntryClass * c, SEXP e) { static void (*fun)(GtkEntryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_class_init")); return(fun(c, e)); } void S_gtk_entry_completion_class_init(GtkEntryCompletionClass * c, SEXP e) { static void (*fun)(GtkEntryCompletionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryCompletionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_completion_class_init")); return(fun(c, e)); } void S_gtk_event_box_class_init(GtkEventBoxClass * c, SEXP e) { static void (*fun)(GtkEventBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEventBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_event_box_class_init")); return(fun(c, e)); } void S_gtk_expander_class_init(GtkExpanderClass * c, SEXP e) { static void (*fun)(GtkExpanderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkExpanderClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_expander_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_button_class_init(GtkFileChooserButtonClass * c, SEXP e) { static void (*fun)(GtkFileChooserButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_button_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_dialog_class_init(GtkFileChooserDialogClass * c, SEXP e) { static void (*fun)(GtkFileChooserDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_dialog_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_widget_class_init(GtkFileChooserWidgetClass * c, SEXP e) { static void (*fun)(GtkFileChooserWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_widget_class_init")); return(fun(c, e)); } void S_gtk_file_selection_class_init(GtkFileSelectionClass * c, SEXP e) { static void (*fun)(GtkFileSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_selection_class_init")); return(fun(c, e)); } void S_gtk_fixed_class_init(GtkFixedClass * c, SEXP e) { static void (*fun)(GtkFixedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFixedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_fixed_class_init")); return(fun(c, e)); } void S_gtk_font_button_class_init(GtkFontButtonClass * c, SEXP e) { static void (*fun)(GtkFontButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_button_class_init")); return(fun(c, e)); } void S_gtk_font_selection_class_init(GtkFontSelectionClass * c, SEXP e) { static void (*fun)(GtkFontSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_selection_class_init")); return(fun(c, e)); } void S_gtk_font_selection_dialog_class_init(GtkFontSelectionDialogClass * c, SEXP e) { static void (*fun)(GtkFontSelectionDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontSelectionDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_selection_dialog_class_init")); return(fun(c, e)); } void S_gtk_frame_class_init(GtkFrameClass * c, SEXP e) { static void (*fun)(GtkFrameClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFrameClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_frame_class_init")); return(fun(c, e)); } void S_gtk_gamma_curve_class_init(GtkGammaCurveClass * c, SEXP e) { static void (*fun)(GtkGammaCurveClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkGammaCurveClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_gamma_curve_class_init")); return(fun(c, e)); } void S_gtk_handle_box_class_init(GtkHandleBoxClass * c, SEXP e) { static void (*fun)(GtkHandleBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHandleBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_handle_box_class_init")); return(fun(c, e)); } void S_gtk_hbox_class_init(GtkHBoxClass * c, SEXP e) { static void (*fun)(GtkHBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hbox_class_init")); return(fun(c, e)); } void S_gtk_hbutton_box_class_init(GtkHButtonBoxClass * c, SEXP e) { static void (*fun)(GtkHButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hbutton_box_class_init")); return(fun(c, e)); } void S_gtk_hpaned_class_init(GtkHPanedClass * c, SEXP e) { static void (*fun)(GtkHPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hpaned_class_init")); return(fun(c, e)); } void S_gtk_hruler_class_init(GtkHRulerClass * c, SEXP e) { static void (*fun)(GtkHRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hruler_class_init")); return(fun(c, e)); } void S_gtk_hscale_class_init(GtkHScaleClass * c, SEXP e) { static void (*fun)(GtkHScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hscale_class_init")); return(fun(c, e)); } void S_gtk_hscrollbar_class_init(GtkHScrollbarClass * c, SEXP e) { static void (*fun)(GtkHScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hscrollbar_class_init")); return(fun(c, e)); } void S_gtk_hseparator_class_init(GtkHSeparatorClass * c, SEXP e) { static void (*fun)(GtkHSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hseparator_class_init")); return(fun(c, e)); } void S_gtk_icon_factory_class_init(GtkIconFactoryClass * c, SEXP e) { static void (*fun)(GtkIconFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_factory_class_init")); return(fun(c, e)); } void S_gtk_icon_theme_class_init(GtkIconThemeClass * c, SEXP e) { static void (*fun)(GtkIconThemeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconThemeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_theme_class_init")); return(fun(c, e)); } void S_gtk_icon_view_class_init(GtkIconViewClass * c, SEXP e) { static void (*fun)(GtkIconViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_view_class_init")); return(fun(c, e)); } void S_gtk_image_class_init(GtkImageClass * c, SEXP e) { static void (*fun)(GtkImageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkImageClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_image_class_init")); return(fun(c, e)); } void S_gtk_image_menu_item_class_init(GtkImageMenuItemClass * c, SEXP e) { static void (*fun)(GtkImageMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkImageMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_image_menu_item_class_init")); return(fun(c, e)); } void S_gtk_imcontext_class_init(GtkIMContextClass * c, SEXP e) { static void (*fun)(GtkIMContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_imcontext_class_init")); return(fun(c, e)); } void S_gtk_imcontext_simple_class_init(GtkIMContextSimpleClass * c, SEXP e) { static void (*fun)(GtkIMContextSimpleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMContextSimpleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_imcontext_simple_class_init")); return(fun(c, e)); } void S_gtk_immulticontext_class_init(GtkIMMulticontextClass * c, SEXP e) { static void (*fun)(GtkIMMulticontextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMMulticontextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_immulticontext_class_init")); return(fun(c, e)); } void S_gtk_input_dialog_class_init(GtkInputDialogClass * c, SEXP e) { static void (*fun)(GtkInputDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInputDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_input_dialog_class_init")); return(fun(c, e)); } void S_gtk_invisible_class_init(GtkInvisibleClass * c, SEXP e) { static void (*fun)(GtkInvisibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInvisibleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_invisible_class_init")); return(fun(c, e)); } void S_gtk_item_class_init(GtkItemClass * c, SEXP e) { static void (*fun)(GtkItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_item_class_init")); return(fun(c, e)); } void S_gtk_item_factory_class_init(GtkItemFactoryClass * c, SEXP e) { static void (*fun)(GtkItemFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkItemFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_item_factory_class_init")); return(fun(c, e)); } void S_gtk_label_class_init(GtkLabelClass * c, SEXP e) { static void (*fun)(GtkLabelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLabelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_label_class_init")); return(fun(c, e)); } void S_gtk_layout_class_init(GtkLayoutClass * c, SEXP e) { static void (*fun)(GtkLayoutClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLayoutClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_layout_class_init")); return(fun(c, e)); } void S_gtk_list_class_init(GtkListClass * c, SEXP e) { static void (*fun)(GtkListClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_class_init")); return(fun(c, e)); } void S_gtk_list_item_class_init(GtkListItemClass * c, SEXP e) { static void (*fun)(GtkListItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_item_class_init")); return(fun(c, e)); } void S_gtk_list_store_class_init(GtkListStoreClass * c, SEXP e) { static void (*fun)(GtkListStoreClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListStoreClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_store_class_init")); return(fun(c, e)); } void S_gtk_menu_class_init(GtkMenuClass * c, SEXP e) { static void (*fun)(GtkMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_class_init")); return(fun(c, e)); } void S_gtk_menu_bar_class_init(GtkMenuBarClass * c, SEXP e) { static void (*fun)(GtkMenuBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_bar_class_init")); return(fun(c, e)); } void S_gtk_menu_item_class_init(GtkMenuItemClass * c, SEXP e) { static void (*fun)(GtkMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_item_class_init")); return(fun(c, e)); } void S_gtk_menu_shell_class_init(GtkMenuShellClass * c, SEXP e) { static void (*fun)(GtkMenuShellClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuShellClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_shell_class_init")); return(fun(c, e)); } void S_gtk_menu_tool_button_class_init(GtkMenuToolButtonClass * c, SEXP e) { static void (*fun)(GtkMenuToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_tool_button_class_init")); return(fun(c, e)); } void S_gtk_message_dialog_class_init(GtkMessageDialogClass * c, SEXP e) { static void (*fun)(GtkMessageDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMessageDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_message_dialog_class_init")); return(fun(c, e)); } void S_gtk_misc_class_init(GtkMiscClass * c, SEXP e) { static void (*fun)(GtkMiscClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMiscClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_misc_class_init")); return(fun(c, e)); } void S_gtk_notebook_class_init(GtkNotebookClass * c, SEXP e) { static void (*fun)(GtkNotebookClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkNotebookClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_notebook_class_init")); return(fun(c, e)); } void S_gtk_object_class_init(GtkObjectClass * c, SEXP e) { static void (*fun)(GtkObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_object_class_init")); return(fun(c, e)); } void S_gtk_old_editable_class_init(GtkOldEditableClass * c, SEXP e) { static void (*fun)(GtkOldEditableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOldEditableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_old_editable_class_init")); return(fun(c, e)); } void S_gtk_option_menu_class_init(GtkOptionMenuClass * c, SEXP e) { static void (*fun)(GtkOptionMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOptionMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_option_menu_class_init")); return(fun(c, e)); } void S_gtk_paned_class_init(GtkPanedClass * c, SEXP e) { static void (*fun)(GtkPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_paned_class_init")); return(fun(c, e)); } void S_gtk_pixmap_class_init(GtkPixmapClass * c, SEXP e) { static void (*fun)(GtkPixmapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPixmapClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_pixmap_class_init")); return(fun(c, e)); } void S_gtk_plug_class_init(GtkPlugClass * c, SEXP e) { static void (*fun)(GtkPlugClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPlugClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_plug_class_init")); return(fun(c, e)); } void S_gtk_preview_class_init(GtkPreviewClass * c, SEXP e) { static void (*fun)(GtkPreviewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPreviewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_preview_class_init")); return(fun(c, e)); } void S_gtk_progress_class_init(GtkProgressClass * c, SEXP e) { static void (*fun)(GtkProgressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkProgressClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_progress_class_init")); return(fun(c, e)); } void S_gtk_progress_bar_class_init(GtkProgressBarClass * c, SEXP e) { static void (*fun)(GtkProgressBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkProgressBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_progress_bar_class_init")); return(fun(c, e)); } void S_gtk_radio_action_class_init(GtkRadioActionClass * c, SEXP e) { static void (*fun)(GtkRadioActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_action_class_init")); return(fun(c, e)); } void S_gtk_radio_button_class_init(GtkRadioButtonClass * c, SEXP e) { static void (*fun)(GtkRadioButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_button_class_init")); return(fun(c, e)); } void S_gtk_radio_menu_item_class_init(GtkRadioMenuItemClass * c, SEXP e) { static void (*fun)(GtkRadioMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_menu_item_class_init")); return(fun(c, e)); } void S_gtk_radio_tool_button_class_init(GtkRadioToolButtonClass * c, SEXP e) { static void (*fun)(GtkRadioToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_tool_button_class_init")); return(fun(c, e)); } void S_gtk_range_class_init(GtkRangeClass * c, SEXP e) { static void (*fun)(GtkRangeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRangeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_range_class_init")); return(fun(c, e)); } void S_gtk_rc_style_class_init(GtkRcStyleClass * c, SEXP e) { static void (*fun)(GtkRcStyleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRcStyleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_rc_style_class_init")); return(fun(c, e)); } void S_gtk_ruler_class_init(GtkRulerClass * c, SEXP e) { static void (*fun)(GtkRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_ruler_class_init")); return(fun(c, e)); } void S_gtk_scale_class_init(GtkScaleClass * c, SEXP e) { static void (*fun)(GtkScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scale_class_init")); return(fun(c, e)); } void S_gtk_scrollbar_class_init(GtkScrollbarClass * c, SEXP e) { static void (*fun)(GtkScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scrollbar_class_init")); return(fun(c, e)); } void S_gtk_scrolled_window_class_init(GtkScrolledWindowClass * c, SEXP e) { static void (*fun)(GtkScrolledWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScrolledWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scrolled_window_class_init")); return(fun(c, e)); } void S_gtk_separator_class_init(GtkSeparatorClass * c, SEXP e) { static void (*fun)(GtkSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_class_init")); return(fun(c, e)); } void S_gtk_separator_menu_item_class_init(GtkSeparatorMenuItemClass * c, SEXP e) { static void (*fun)(GtkSeparatorMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_menu_item_class_init")); return(fun(c, e)); } void S_gtk_separator_tool_item_class_init(GtkSeparatorToolItemClass * c, SEXP e) { static void (*fun)(GtkSeparatorToolItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorToolItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_tool_item_class_init")); return(fun(c, e)); } void S_gtk_settings_class_init(GtkSettingsClass * c, SEXP e) { static void (*fun)(GtkSettingsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSettingsClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_settings_class_init")); return(fun(c, e)); } void S_gtk_size_group_class_init(GtkSizeGroupClass * c, SEXP e) { static void (*fun)(GtkSizeGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSizeGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_size_group_class_init")); return(fun(c, e)); } void S_gtk_socket_class_init(GtkSocketClass * c, SEXP e) { static void (*fun)(GtkSocketClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSocketClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_socket_class_init")); return(fun(c, e)); } void S_gtk_spin_button_class_init(GtkSpinButtonClass * c, SEXP e) { static void (*fun)(GtkSpinButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSpinButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_spin_button_class_init")); return(fun(c, e)); } void S_gtk_statusbar_class_init(GtkStatusbarClass * c, SEXP e) { static void (*fun)(GtkStatusbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStatusbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_statusbar_class_init")); return(fun(c, e)); } void S_gtk_style_class_init(GtkStyleClass * c, SEXP e) { static void (*fun)(GtkStyleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStyleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_style_class_init")); return(fun(c, e)); } void S_gtk_table_class_init(GtkTableClass * c, SEXP e) { static void (*fun)(GtkTableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_table_class_init")); return(fun(c, e)); } void S_gtk_tearoff_menu_item_class_init(GtkTearoffMenuItemClass * c, SEXP e) { static void (*fun)(GtkTearoffMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTearoffMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tearoff_menu_item_class_init")); return(fun(c, e)); } void S_gtk_text_buffer_class_init(GtkTextBufferClass * c, SEXP e) { static void (*fun)(GtkTextBufferClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextBufferClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_buffer_class_init")); return(fun(c, e)); } void S_gtk_text_child_anchor_class_init(GtkTextChildAnchorClass * c, SEXP e) { static void (*fun)(GtkTextChildAnchorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextChildAnchorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_child_anchor_class_init")); return(fun(c, e)); } void S_gtk_text_mark_class_init(GtkTextMarkClass * c, SEXP e) { static void (*fun)(GtkTextMarkClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextMarkClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_mark_class_init")); return(fun(c, e)); } void S_gtk_text_tag_class_init(GtkTextTagClass * c, SEXP e) { static void (*fun)(GtkTextTagClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextTagClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_tag_class_init")); return(fun(c, e)); } void S_gtk_text_tag_table_class_init(GtkTextTagTableClass * c, SEXP e) { static void (*fun)(GtkTextTagTableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextTagTableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_tag_table_class_init")); return(fun(c, e)); } void S_gtk_text_view_class_init(GtkTextViewClass * c, SEXP e) { static void (*fun)(GtkTextViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_view_class_init")); return(fun(c, e)); } void S_gtk_tips_query_class_init(GtkTipsQueryClass * c, SEXP e) { static void (*fun)(GtkTipsQueryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTipsQueryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tips_query_class_init")); return(fun(c, e)); } void S_gtk_toggle_action_class_init(GtkToggleActionClass * c, SEXP e) { static void (*fun)(GtkToggleActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_action_class_init")); return(fun(c, e)); } void S_gtk_toggle_button_class_init(GtkToggleButtonClass * c, SEXP e) { static void (*fun)(GtkToggleButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_button_class_init")); return(fun(c, e)); } void S_gtk_toggle_tool_button_class_init(GtkToggleToolButtonClass * c, SEXP e) { static void (*fun)(GtkToggleToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_tool_button_class_init")); return(fun(c, e)); } void S_gtk_toolbar_class_init(GtkToolbarClass * c, SEXP e) { static void (*fun)(GtkToolbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toolbar_class_init")); return(fun(c, e)); } void S_gtk_tool_button_class_init(GtkToolButtonClass * c, SEXP e) { static void (*fun)(GtkToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_button_class_init")); return(fun(c, e)); } void S_gtk_tool_item_class_init(GtkToolItemClass * c, SEXP e) { static void (*fun)(GtkToolItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_item_class_init")); return(fun(c, e)); } void S_gtk_tooltips_class_init(GtkTooltipsClass * c, SEXP e) { static void (*fun)(GtkTooltipsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTooltipsClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tooltips_class_init")); return(fun(c, e)); } void S_gtk_tree_model_filter_class_init(GtkTreeModelFilterClass * c, SEXP e) { static void (*fun)(GtkTreeModelFilterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelFilterClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_filter_class_init")); return(fun(c, e)); } void S_gtk_tree_model_sort_class_init(GtkTreeModelSortClass * c, SEXP e) { static void (*fun)(GtkTreeModelSortClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelSortClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_sort_class_init")); return(fun(c, e)); } void S_gtk_tree_selection_class_init(GtkTreeSelectionClass * c, SEXP e) { static void (*fun)(GtkTreeSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_selection_class_init")); return(fun(c, e)); } void S_gtk_tree_store_class_init(GtkTreeStoreClass * c, SEXP e) { static void (*fun)(GtkTreeStoreClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeStoreClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_store_class_init")); return(fun(c, e)); } void S_gtk_tree_view_class_init(GtkTreeViewClass * c, SEXP e) { static void (*fun)(GtkTreeViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_view_class_init")); return(fun(c, e)); } void S_gtk_tree_view_column_class_init(GtkTreeViewColumnClass * c, SEXP e) { static void (*fun)(GtkTreeViewColumnClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewColumnClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_view_column_class_init")); return(fun(c, e)); } void S_gtk_uimanager_class_init(GtkUIManagerClass * c, SEXP e) { static void (*fun)(GtkUIManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkUIManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_uimanager_class_init")); return(fun(c, e)); } void S_gtk_vbox_class_init(GtkVBoxClass * c, SEXP e) { static void (*fun)(GtkVBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vbox_class_init")); return(fun(c, e)); } void S_gtk_vbutton_box_class_init(GtkVButtonBoxClass * c, SEXP e) { static void (*fun)(GtkVButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vbutton_box_class_init")); return(fun(c, e)); } void S_gtk_viewport_class_init(GtkViewportClass * c, SEXP e) { static void (*fun)(GtkViewportClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkViewportClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_viewport_class_init")); return(fun(c, e)); } void S_gtk_vpaned_class_init(GtkVPanedClass * c, SEXP e) { static void (*fun)(GtkVPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vpaned_class_init")); return(fun(c, e)); } void S_gtk_vruler_class_init(GtkVRulerClass * c, SEXP e) { static void (*fun)(GtkVRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vruler_class_init")); return(fun(c, e)); } void S_gtk_vscale_class_init(GtkVScaleClass * c, SEXP e) { static void (*fun)(GtkVScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vscale_class_init")); return(fun(c, e)); } void S_gtk_vscrollbar_class_init(GtkVScrollbarClass * c, SEXP e) { static void (*fun)(GtkVScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vscrollbar_class_init")); return(fun(c, e)); } void S_gtk_vseparator_class_init(GtkVSeparatorClass * c, SEXP e) { static void (*fun)(GtkVSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vseparator_class_init")); return(fun(c, e)); } void S_gtk_widget_class_init(GtkWidgetClass * c, SEXP e) { static void (*fun)(GtkWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_widget_class_init")); return(fun(c, e)); } void S_gtk_window_class_init(GtkWindowClass * c, SEXP e) { static void (*fun)(GtkWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_window_class_init")); return(fun(c, e)); } void S_gtk_window_group_class_init(GtkWindowGroupClass * c, SEXP e) { static void (*fun)(GtkWindowGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWindowGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_window_group_class_init")); return(fun(c, e)); } #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_accel_class_init(GtkCellRendererAccelClass * c, SEXP e) { static void (*fun)(GtkCellRendererAccelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererAccelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_accel_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_spin_class_init(GtkCellRendererSpinClass * c, SEXP e) { static void (*fun)(GtkCellRendererSpinClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererSpinClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_spin_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_print_operation_class_init(GtkPrintOperationClass * c, SEXP e) { static void (*fun)(GtkPrintOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPrintOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_print_operation_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_manager_class_init(GtkRecentManagerClass * c, SEXP e) { static void (*fun)(GtkRecentManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_manager_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_status_icon_class_init(GtkStatusIconClass * c, SEXP e) { static void (*fun)(GtkStatusIconClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStatusIconClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_status_icon_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_menu_class_init(GtkRecentChooserMenuClass * c, SEXP e) { static void (*fun)(GtkRecentChooserMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_menu_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_link_button_class_init(GtkLinkButtonClass * c, SEXP e) { static void (*fun)(GtkLinkButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLinkButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_link_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_widget_class_init(GtkRecentChooserWidgetClass * c, SEXP e) { static void (*fun)(GtkRecentChooserWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_widget_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_dialog_class_init(GtkRecentChooserDialogClass * c, SEXP e) { static void (*fun)(GtkRecentChooserDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_dialog_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_assistant_class_init(GtkAssistantClass * c, SEXP e) { static void (*fun)(GtkAssistantClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAssistantClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_assistant_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_builder_class_init(GtkBuilderClass * c, SEXP e) { static void (*fun)(GtkBuilderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBuilderClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_builder_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_recent_action_class_init(GtkRecentActionClass * c, SEXP e) { static void (*fun)(GtkRecentActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_action_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_scale_button_class_init(GtkScaleButtonClass * c, SEXP e) { static void (*fun)(GtkScaleButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScaleButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scale_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_volume_button_class_init(GtkVolumeButtonClass * c, SEXP e) { static void (*fun)(GtkVolumeButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVolumeButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_volume_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_mount_operation_class_init(GtkMountOperationClass * c, SEXP e) { static void (*fun)(GtkMountOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMountOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_mount_operation_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_entry_buffer_class_init(GtkEntryBufferClass * c, SEXP e) { static void (*fun)(GtkEntryBufferClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryBufferClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_buffer_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_info_bar_class_init(GtkInfoBarClass * c, SEXP e) { static void (*fun)(GtkInfoBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInfoBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_info_bar_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_hsv_class_init(GtkHSVClass * c, SEXP e) { static void (*fun)(GtkHSVClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHSVClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hsv_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_item_group_class_init(GtkToolItemGroupClass * c, SEXP e) { static void (*fun)(GtkToolItemGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolItemGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_item_group_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_palette_class_init(GtkToolPaletteClass * c, SEXP e) { static void (*fun)(GtkToolPaletteClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolPaletteClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_palette_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_cell_renderer_spinner_class_init(GtkCellRendererSpinnerClass * c, SEXP e) { static void (*fun)(GtkCellRendererSpinnerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererSpinnerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_spinner_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_offscreen_window_class_init(GtkOffscreenWindowClass * c, SEXP e) { static void (*fun)(GtkOffscreenWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOffscreenWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_offscreen_window_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_spinner_class_init(GtkSpinnerClass * c, SEXP e) { static void (*fun)(GtkSpinnerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSpinnerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_spinner_class_init")); return(fun(c, e)); } #endif void S_gtk_cell_editable_class_init(GtkCellEditableIface * c, SEXP e) { static void (*fun)(GtkCellEditableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellEditableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_editable_class_init")); return(fun(c, e)); } void S_gtk_cell_layout_class_init(GtkCellLayoutIface * c, SEXP e) { static void (*fun)(GtkCellLayoutIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellLayoutIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_layout_class_init")); return(fun(c, e)); } void S_gtk_editable_class_init(GtkEditableClass * c, SEXP e) { static void (*fun)(GtkEditableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEditableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_editable_class_init")); return(fun(c, e)); } void S_gtk_tree_drag_dest_class_init(GtkTreeDragDestIface * c, SEXP e) { static void (*fun)(GtkTreeDragDestIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeDragDestIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_drag_dest_class_init")); return(fun(c, e)); } void S_gtk_tree_drag_source_class_init(GtkTreeDragSourceIface * c, SEXP e) { static void (*fun)(GtkTreeDragSourceIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeDragSourceIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_drag_source_class_init")); return(fun(c, e)); } void S_gtk_tree_model_class_init(GtkTreeModelIface * c, SEXP e) { static void (*fun)(GtkTreeModelIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_class_init")); return(fun(c, e)); } void S_gtk_tree_sortable_class_init(GtkTreeSortableIface * c, SEXP e) { static void (*fun)(GtkTreeSortableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeSortableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_sortable_class_init")); return(fun(c, e)); } #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_buildable_class_init(GtkBuildableIface * c, SEXP e) { static void (*fun)(GtkBuildableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBuildableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_buildable_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_tool_shell_class_init(GtkToolShellIface * c, SEXP e) { static void (*fun)(GtkToolShellIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolShellIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_shell_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_activatable_class_init(GtkActivatableIface * c, SEXP e) { static void (*fun)(GtkActivatableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActivatableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_activatable_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_orientable_class_init(GtkOrientableIface * c, SEXP e) { static void (*fun)(GtkOrientableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOrientableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_orientable_class_init")); return(fun(c, e)); } #endif RGtk2/inst/include/RGtk2/gioUserFuncs.h0000644000176000001440000000167712362217673017375 0ustar ripleyusers#ifndef S_GIO_USERFUNCS_H #define S_GIO_USERFUNCS_H #include #include #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GIOSchedulerJobFunc(GIOSchedulerJob* s_job, GCancellable* s_cancellable, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GSimpleAsyncThreadFunc(GSimpleAsyncResult* s_res, GObject* s_object, GCancellable* s_cancellable); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GAsyncReadyCallback(GObject* s_source_object, GSimpleAsyncResult* s_res, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileProgressCallback(goffset s_current_num_bytes, goffset s_total_num_bytes, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileReadMoreCallback(const char* s_file_contents, goffset s_file_size, gpointer s_callback_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) gpointer S_GReallocFunc(gpointer s_data, gsize s_size); #endif #endif RGtk2/inst/include/RGtk2/gio.h0000644000176000001440000000055111766145227015527 0ustar ripleyusers#ifndef RGTK2_GIO_H #define RGTK2_GIO_H #include #define GIO_CHECK_VERSION GLIB_CHECK_VERSION #if GLIB_CHECK_VERSION(2, 16, 0) #include #include #include /**** Conversion ****/ USER_OBJECT_ asRGFileAttributeInfo(const GFileAttributeInfo * obj); #endif /* check version */ #endif RGtk2/inst/include/RGtk2/gobjectImports.c0000644000176000001440000003450411766145227017744 0ustar ripleyusers#ifndef S_GOBJECT_IMPORTS_C #define S_GOBJECT_IMPORTS_C #include #include gchar** asCStringArray(USER_OBJECT_ svec) { static gchar** (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gchar** (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCStringArray")); return(fun(svec)); } const gchar* asCString(USER_OBJECT_ s_str) { static const gchar* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((const gchar* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCString")); return(fun(s_str)); } gchar asCCharacter(USER_OBJECT_ s_char) { static gchar (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gchar (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCharacter")); return(fun(s_char)); } USER_OBJECT_ asRUnsigned(guint num) { static USER_OBJECT_ (*fun)(guint) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(guint))R_GetCCallable("RGtk2", "asRUnsigned")); return(fun(num)); } USER_OBJECT_ asRCharacter(gchar c) { static USER_OBJECT_ (*fun)(gchar) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gchar))R_GetCCallable("RGtk2", "asRCharacter")); return(fun(c)); } USER_OBJECT_ asRString(const gchar* str) { static USER_OBJECT_ (*fun)(const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const gchar*))R_GetCCallable("RGtk2", "asRString")); return(fun(str)); } USER_OBJECT_ asREnum(int value, GType etype) { static USER_OBJECT_ (*fun)(int, GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(int, GType))R_GetCCallable("RGtk2", "asREnum")); return(fun(value, etype)); } USER_OBJECT_ asRFlag(guint value, GType ftype) { static USER_OBJECT_ (*fun)(guint, GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(guint, GType))R_GetCCallable("RGtk2", "asRFlag")); return(fun(value, ftype)); } guint asCFlag(USER_OBJECT_ s_flag, GType ftype) { static guint (*fun)(USER_OBJECT_, GType) = NULL; if(!fun) fun = ((guint (*)(USER_OBJECT_, GType))R_GetCCallable("RGtk2", "asCFlag")); return(fun(s_flag, ftype)); } gint asCEnum(USER_OBJECT_ s_enum, GType etype) { static gint (*fun)(USER_OBJECT_, GType) = NULL; if(!fun) fun = ((gint (*)(USER_OBJECT_, GType))R_GetCCallable("RGtk2", "asCEnum")); return(fun(s_enum, etype)); } USER_OBJECT_ toRPointerWithFinalizer(gconstpointer val, const gchar* typeName, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(gconstpointer, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gconstpointer, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "toRPointerWithFinalizer")); return(fun(val, typeName, finalizer)); } USER_OBJECT_ toRPointerWithRef(gconstpointer val, const gchar* type) { static USER_OBJECT_ (*fun)(gconstpointer, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gconstpointer, const gchar*))R_GetCCallable("RGtk2", "toRPointerWithRef")); return(fun(val, type)); } gpointer getPtrValueWithRef(USER_OBJECT_ sval) { static gpointer (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gpointer (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "getPtrValueWithRef")); return(fun(sval)); } USER_OBJECT_ asRGQuark(GQuark val) { static USER_OBJECT_ (*fun)(GQuark) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GQuark))R_GetCCallable("RGtk2", "asRGQuark")); return(fun(val)); } GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval) { static GTimeVal* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GTimeVal* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGTimeVal")); return(fun(s_timeval)); } USER_OBJECT_ asRGTimeVal(const GTimeVal* timeval) { static USER_OBJECT_ (*fun)(const GTimeVal*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GTimeVal*))R_GetCCallable("RGtk2", "asRGTimeVal")); return(fun(timeval)); } GString* asCGString(USER_OBJECT_ s_string) { static GString* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GString* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGString")); return(fun(s_string)); } GList* toCGList(USER_OBJECT_ s_list, gboolean dup) { static GList* (*fun)(USER_OBJECT_, gboolean) = NULL; if(!fun) fun = ((GList* (*)(USER_OBJECT_, gboolean))R_GetCCallable("RGtk2", "toCGList")); return(fun(s_list, dup)); } USER_OBJECT_ asRGList(GList* glist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGList")); return(fun(glist, type)); } USER_OBJECT_ asRGListWithRef(GList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGListWithRef")); return(fun(gslist, type)); } USER_OBJECT_ asRGListWithFinalizer(GList* glist, const gchar* type, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(GList*, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "asRGListWithFinalizer")); return(fun(glist, type, finalizer)); } USER_OBJECT_ asRGListConv(GList* glist, ElementConverter converter) { static USER_OBJECT_ (*fun)(GList*, ElementConverter) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, ElementConverter))R_GetCCallable("RGtk2", "asRGListConv")); return(fun(glist, converter)); } GSList* toCGSList(USER_OBJECT_ s_list, gboolean dup) { static GSList* (*fun)(USER_OBJECT_, gboolean) = NULL; if(!fun) fun = ((GSList* (*)(USER_OBJECT_, gboolean))R_GetCCallable("RGtk2", "toCGSList")); return(fun(s_list, dup)); } USER_OBJECT_ asRGSList(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSList")); return(fun(gslist, type)); } USER_OBJECT_ asRGSListWithRef(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSListWithRef")); return(fun(gslist, type)); } USER_OBJECT_ asRGSListWithFinalizer(GSList* gslist, const gchar* type, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(GSList*, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "asRGSListWithFinalizer")); return(fun(gslist, type, finalizer)); } USER_OBJECT_ asRGSListConv(GSList* gslist, ElementConverter converter) { static USER_OBJECT_ (*fun)(GSList*, ElementConverter) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, ElementConverter))R_GetCCallable("RGtk2", "asRGSListConv")); return(fun(gslist, converter)); } USER_OBJECT_ asRGError(GError* error) { static USER_OBJECT_ (*fun)(GError*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GError*))R_GetCCallable("RGtk2", "asRGError")); return(fun(error)); } GError* asCGError(USER_OBJECT_ s_error) { static GError* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GError* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGError")); return(fun(s_error)); } int R_setGValueFromSValue(GValue* val, USER_OBJECT_ sval) { static int (*fun)(GValue*, USER_OBJECT_) = NULL; if(!fun) fun = ((int (*)(GValue*, USER_OBJECT_))R_GetCCallable("RGtk2", "R_setGValueFromSValue")); return(fun(val, sval)); } GValue* createGValueFromSValue(USER_OBJECT_ sval) { static GValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "createGValueFromSValue")); return(fun(sval)); } gboolean initGValueFromSValue(USER_OBJECT_ sval, GValue* raw) { static gboolean (*fun)(USER_OBJECT_, GValue*) = NULL; if(!fun) fun = ((gboolean (*)(USER_OBJECT_, GValue*))R_GetCCallable("RGtk2", "initGValueFromSValue")); return(fun(sval, raw)); } gboolean initGValueFromVector(USER_OBJECT_ sval, gint n, GValue* raw) { static gboolean (*fun)(USER_OBJECT_, gint, GValue*) = NULL; if(!fun) fun = ((gboolean (*)(USER_OBJECT_, gint, GValue*))R_GetCCallable("RGtk2", "initGValueFromVector")); return(fun(sval, n, raw)); } USER_OBJECT_ asRGValue(const GValue* val) { static USER_OBJECT_ (*fun)(const GValue*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GValue*))R_GetCCallable("RGtk2", "asRGValue")); return(fun(val)); } GValue* asCGValue(USER_OBJECT_ sval) { static GValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGValue")); return(fun(sval)); } USER_OBJECT_ asRGType(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "asRGType")); return(fun(type)); } GParamSpec* asCGParamSpec(USER_OBJECT_ s_spec) { static GParamSpec* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GParamSpec* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGParamSpec")); return(fun(s_spec)); } USER_OBJECT_ asRGParamSpec(GParamSpec* spec) { static USER_OBJECT_ (*fun)(GParamSpec*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GParamSpec*))R_GetCCallable("RGtk2", "asRGParamSpec")); return(fun(spec)); } GClosure* asCGClosure(USER_OBJECT_ s_closure) { static GClosure* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GClosure* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGClosure")); return(fun(s_closure)); } USER_OBJECT_ asRGClosure(GClosure* closure) { static USER_OBJECT_ (*fun)(GClosure*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GClosure*))R_GetCCallable("RGtk2", "asRGClosure")); return(fun(closure)); } USER_OBJECT_ toRPointerWithSink(void* val, const char* type) { static USER_OBJECT_ (*fun)(void*, const char*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(void*, const char*))R_GetCCallable("RGtk2", "toRPointerWithSink")); return(fun(val, type)); } USER_OBJECT_ asRGListWithSink(GList* glist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGListWithSink")); return(fun(glist, type)); } USER_OBJECT_ asRGSListWithSink(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSListWithSink")); return(fun(gslist, type)); } void S_GCompareFunc(gconstpointer s_a, gconstpointer s_b) { static void (*fun)(gconstpointer, gconstpointer) = NULL; if(!fun) fun = ((void (*)(gconstpointer, gconstpointer))R_GetCCallable("RGtk2", "S_GCompareFunc")); return(fun(s_a, s_b)); } gboolean S_GSourceFunc(gpointer data) { static gboolean (*fun)(gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gpointer))R_GetCCallable("RGtk2", "S_GSourceFunc")); return(fun(data)); } GClosure* R_createGClosure(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { static GClosure* (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((GClosure* (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_createGClosure")); return(fun(s_func, s_data)); } GType r_gtk_sexp_get_type(void) { static GType (*fun)() = NULL; if(!fun) fun = ((GType (*)())R_GetCCallable("RGtk2", "r_gtk_sexp_get_type")); return(fun()); } GType r_gtk_param_spec_sexp_get_type(void) { static GType (*fun)() = NULL; if(!fun) fun = ((GType (*)())R_GetCCallable("RGtk2", "r_gtk_param_spec_sexp_get_type")); return(fun()); } void S_gobject_class_init(GObjectClass* c, USER_OBJECT_ e) { static void (*fun)(GObjectClass*, USER_OBJECT_) = NULL; if(!fun) fun = ((void (*)(GObjectClass*, USER_OBJECT_))R_GetCCallable("RGtk2", "S_gobject_class_init")); return(fun(c, e)); } USER_OBJECT_ retByVal(USER_OBJECT_ retval, ...) { va_list va; int n = 0, i; USER_OBJECT_ list, names; va_start(va, retval); while(va_arg(va, void *)) n++; n = n / 2 + 1; va_end(va); PROTECT(list = NEW_LIST(n)); PROTECT(names = NEW_CHARACTER(n)); SET_VECTOR_ELT(list, 0, retval); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING("retval")); va_start(va, retval); for (i = 1; i < n; i++) { SET_STRING_ELT(names, i, COPY_TO_USER_STRING(va_arg(va, char *))); SET_VECTOR_ELT(list, i, va_arg(va, USER_OBJECT_)); } va_end(va); SET_NAMES(list, names); UNPROTECT(2); return list; } R_CallbackData* R_createCBData(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { static R_CallbackData* (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((R_CallbackData* (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_createCBData")); return(fun(s_func, s_data)); } void R_freeCBData(R_CallbackData* cbdata) { static void (*fun)(R_CallbackData*) = NULL; if(!fun) fun = ((void (*)(R_CallbackData*))R_GetCCallable("RGtk2", "R_freeCBData")); return(fun(cbdata)); } GType getSValueGType(USER_OBJECT_ sval) { static GType (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GType (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "getSValueGType")); return(fun(sval)); } USER_OBJECT_ R_internal_getInterfaces(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "R_internal_getInterfaces")); return(fun(type)); } USER_OBJECT_ R_internal_getGTypeAncestors(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "R_internal_getGTypeAncestors")); return(fun(type)); } gpointer propertyConstructor(GType obj_type, char** prop_names, USER_OBJECT_* args, int nargs) { static gpointer (*fun)(GType, char**, USER_OBJECT_*, int) = NULL; if(!fun) fun = ((gpointer (*)(GType, char**, USER_OBJECT_*, int))R_GetCCallable("RGtk2", "propertyConstructor")); return(fun(obj_type, prop_names, args, nargs)); } USER_OBJECT_ R_setGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ svals) { static USER_OBJECT_ (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_setGObjectProps")); return(fun(sobj, svals)); } USER_OBJECT_ R_getGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ argNames) { static USER_OBJECT_ (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_getGObjectProps")); return(fun(sobj, argNames)); } void GSListFreeStrings(GSList* gslist) { static void (*fun)(GSList*) = NULL; if(!fun) fun = ((void (*)(GSList*))R_GetCCallable("RGtk2", "GSListFreeStrings")); return(fun(gslist)); } void GListFreeStrings(GList* glist) { static void (*fun)(GList*) = NULL; if(!fun) fun = ((void (*)(GList*))R_GetCCallable("RGtk2", "GListFreeStrings")); return(fun(glist)); } #endif RGtk2/inst/include/RGtk2/gdk.h0000644000176000001440000000752111766145227015522 0ustar ripleyusers#ifndef RGTK2_GTK_H #define RGTK2_GTK_H #include #include #include #include /* GdkPixbuf is inside Gdk, and Gdk is inside GTK+ (wrt distribution), so we group them all into this header. */ #define GDK_PIXBUF_ENABLE_BACKEND #include #include #include #define GDK_CHECK_VERSION GTK_CHECK_VERSION #include #include #include #include /******* Manual UserFuncs *********/ /* GTK */ void S_GtkClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner); void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data); guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); /******* Conversion ********/ /* GDK */ USER_OBJECT_ asRGdkAtom(GdkAtom val); GdkAtom asCGdkAtom(USER_OBJECT_ s_atom); GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms); GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints *hints); GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values); GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask *mask); GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType *mask); USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord *coord, int num_axes); GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap); USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap *map); GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key); USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key); GdkPoint* asCGdkPoint(USER_OBJECT_ s_point); USER_OBJECT_ asRGdkPoint(GdkPoint *point); GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment); USER_OBJECT_ asRGdkSegment(GdkSegment * obj); GdkColor* asCGdkColor(USER_OBJECT_ s_color); USER_OBJECT_ asRGdkColor(const GdkColor* color); USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window); GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window); USER_OBJECT_ asRGdkEvent(GdkEvent *event); USER_OBJECT_ toRGdkEvent(GdkEvent *event, gboolean finalize); USER_OBJECT_ toRGdkFont(GdkFont *font); GdkTrapezoid * asCGdkTrapezoid(USER_OBJECT_ s_trapezoid); USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid * obj); USER_OBJECT_ asRGdkGCValues(GdkGCValues *values); GdkSpan* asCGdkSpan(USER_OBJECT_ s_span); USER_OBJECT_ asRGdkSpan(GdkSpan * obj); /* GTK */ GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry); USER_OBJECT_ asRGtkTargetEntry(const GtkTargetEntry * obj); GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info); USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo * obj); GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value); GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item); USER_OBJECT_ asRGtkStockItem(GtkStockItem *item); GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry); GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry); GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype); GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc); USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc); #if GTK_CHECK_VERSION(2,10,0) GtkRecentFilterInfo * asCGtkRecentFilterInfo(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo * obj); GtkRecentData * asCGtkRecentData(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkPageRange(GtkPageRange * obj); GtkPageRange * asCGtkPageRange(USER_OBJECT_ s_obj); #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey * obj); /* For some systems, e.g. Irix, gtkFuncs has a time_t that is not defined unless we include this. Seems harmless on other systems! */ #include #endif RGtk2/inst/include/RGtk2/gioClassImports.c0000644000176000001440000003567512362217673020103 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_launch_context_class_init(GAppLaunchContextClass * c, SEXP e) { static void (*fun)(GAppLaunchContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAppLaunchContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gapp_launch_context_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gcancellable_class_init(GCancellableClass * c, SEXP e) { static void (*fun)(GCancellableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GCancellableClass *, SEXP))R_GetCCallable("RGtk2", "S_gcancellable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilename_completer_class_init(GFilenameCompleterClass * c, SEXP e) { static void (*fun)(GFilenameCompleterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilenameCompleterClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilename_completer_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_enumerator_class_init(GFileEnumeratorClass * c, SEXP e) { static void (*fun)(GFileEnumeratorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileEnumeratorClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_enumerator_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_monitor_class_init(GFileMonitorClass * c, SEXP e) { static void (*fun)(GFileMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_ginput_stream_class_init(GInputStreamClass * c, SEXP e) { static void (*fun)(GInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_ginput_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_input_stream_class_init(GFileInputStreamClass * c, SEXP e) { static void (*fun)(GFileInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_input_stream_class_init(GFilterInputStreamClass * c, SEXP e) { static void (*fun)(GFilterInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilterInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilter_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_input_stream_class_init(GBufferedInputStreamClass * c, SEXP e) { static void (*fun)(GBufferedInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GBufferedInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gbuffered_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_input_stream_class_init(GDataInputStreamClass * c, SEXP e) { static void (*fun)(GDataInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDataInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gdata_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_input_stream_class_init(GMemoryInputStreamClass * c, SEXP e) { static void (*fun)(GMemoryInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMemoryInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gmemory_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_operation_class_init(GMountOperationClass * c, SEXP e) { static void (*fun)(GMountOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMountOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gmount_operation_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_goutput_stream_class_init(GOutputStreamClass * c, SEXP e) { static void (*fun)(GOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_goutput_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_output_stream_class_init(GMemoryOutputStreamClass * c, SEXP e) { static void (*fun)(GMemoryOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMemoryOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gmemory_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_output_stream_class_init(GFilterOutputStreamClass * c, SEXP e) { static void (*fun)(GFilterOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilterOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilter_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_output_stream_class_init(GBufferedOutputStreamClass * c, SEXP e) { static void (*fun)(GBufferedOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GBufferedOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gbuffered_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_output_stream_class_init(GDataOutputStreamClass * c, SEXP e) { static void (*fun)(GDataOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDataOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gdata_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_output_stream_class_init(GFileOutputStreamClass * c, SEXP e) { static void (*fun)(GFileOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvfs_class_init(GVfsClass * c, SEXP e) { static void (*fun)(GVfsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVfsClass *, SEXP))R_GetCCallable("RGtk2", "S_gvfs_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_monitor_class_init(GVolumeMonitorClass * c, SEXP e) { static void (*fun)(GVolumeMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVolumeMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gvolume_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gnative_volume_monitor_class_init(GNativeVolumeMonitorClass * c, SEXP e) { static void (*fun)(GNativeVolumeMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNativeVolumeMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gnative_volume_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gfile_iostream_class_init(GFileIOStreamClass * c, SEXP e) { static void (*fun)(GFileIOStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileIOStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_iostream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_address_class_init(GInetAddressClass * c, SEXP e) { static void (*fun)(GInetAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInetAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_ginet_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_address_class_init(GNetworkAddressClass * c, SEXP e) { static void (*fun)(GNetworkAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNetworkAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_gnetwork_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_service_class_init(GNetworkServiceClass * c, SEXP e) { static void (*fun)(GNetworkServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNetworkServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gnetwork_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gresolver_class_init(GResolverClass * c, SEXP e) { static void (*fun)(GResolverClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GResolverClass *, SEXP))R_GetCCallable("RGtk2", "S_gresolver_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_class_init(GSocketClass * c, SEXP e) { static void (*fun)(GSocketClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_class_init(GSocketAddressClass * c, SEXP e) { static void (*fun)(GSocketAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_enumerator_class_init(GSocketAddressEnumeratorClass * c, SEXP e) { static void (*fun)(GSocketAddressEnumeratorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketAddressEnumeratorClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_address_enumerator_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_client_class_init(GSocketClientClass * c, SEXP e) { static void (*fun)(GSocketClientClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketClientClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_client_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connection_class_init(GSocketConnectionClass * c, SEXP e) { static void (*fun)(GSocketConnectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketConnectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_connection_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_control_message_class_init(GSocketControlMessageClass * c, SEXP e) { static void (*fun)(GSocketControlMessageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketControlMessageClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_control_message_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_listener_class_init(GSocketListenerClass * c, SEXP e) { static void (*fun)(GSocketListenerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketListenerClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_listener_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_service_class_init(GSocketServiceClass * c, SEXP e) { static void (*fun)(GSocketServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gtcp_connection_class_init(GTcpConnectionClass * c, SEXP e) { static void (*fun)(GTcpConnectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GTcpConnectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtcp_connection_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gthreaded_socket_service_class_init(GThreadedSocketServiceClass * c, SEXP e) { static void (*fun)(GThreadedSocketServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GThreadedSocketServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gthreaded_socket_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_giostream_class_init(GIOStreamClass * c, SEXP e) { static void (*fun)(GIOStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GIOStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_giostream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_socket_address_class_init(GInetSocketAddressClass * c, SEXP e) { static void (*fun)(GInetSocketAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInetSocketAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_ginet_socket_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_info_class_init(GAppInfoIface * c, SEXP e) { static void (*fun)(GAppInfoIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAppInfoIface *, SEXP))R_GetCCallable("RGtk2", "S_gapp_info_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gasync_result_class_init(GAsyncResultIface * c, SEXP e) { static void (*fun)(GAsyncResultIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAsyncResultIface *, SEXP))R_GetCCallable("RGtk2", "S_gasync_result_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdrive_class_init(GDriveIface * c, SEXP e) { static void (*fun)(GDriveIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDriveIface *, SEXP))R_GetCCallable("RGtk2", "S_gdrive_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_class_init(GFileIface * c, SEXP e) { static void (*fun)(GFileIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileIface *, SEXP))R_GetCCallable("RGtk2", "S_gfile_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gicon_class_init(GIconIface * c, SEXP e) { static void (*fun)(GIconIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GIconIface *, SEXP))R_GetCCallable("RGtk2", "S_gicon_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gloadable_icon_class_init(GLoadableIconIface * c, SEXP e) { static void (*fun)(GLoadableIconIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GLoadableIconIface *, SEXP))R_GetCCallable("RGtk2", "S_gloadable_icon_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_class_init(GMountIface * c, SEXP e) { static void (*fun)(GMountIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMountIface *, SEXP))R_GetCCallable("RGtk2", "S_gmount_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gseekable_class_init(GSeekableIface * c, SEXP e) { static void (*fun)(GSeekableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSeekableIface *, SEXP))R_GetCCallable("RGtk2", "S_gseekable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_class_init(GVolumeIface * c, SEXP e) { static void (*fun)(GVolumeIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVolumeIface *, SEXP))R_GetCCallable("RGtk2", "S_gvolume_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gasync_initable_class_init(GAsyncInitableIface * c, SEXP e) { static void (*fun)(GAsyncInitableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAsyncInitableIface *, SEXP))R_GetCCallable("RGtk2", "S_gasync_initable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginitable_class_init(GInitableIface * c, SEXP e) { static void (*fun)(GInitableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInitableIface *, SEXP))R_GetCCallable("RGtk2", "S_ginitable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connectable_class_init(GSocketConnectableIface * c, SEXP e) { static void (*fun)(GSocketConnectableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketConnectableIface *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_connectable_class_init")); return(fun(c, e)); } #endif RGtk2/inst/include/RGtk2/gdkUserFuncs.h0000644000176000001440000000064212362217673017353 0ustar ripleyusers#ifndef S_GDK_USERFUNCS_H #define S_GDK_USERFUNCS_H #include #include void S_GdkFilterFunc(GdkXEvent* s_xevent, GdkEvent* s_event, gpointer s_data); void S_GdkEventFunc(GdkEvent* s_event, gpointer s_data); gboolean S_GdkPixbufSaveFunc(const guchar* s_buf, gsize s_count, GError** s_error, gpointer s_data); void S_GdkSpanFunc(GdkSpan* s_span, gpointer s_data); #endif RGtk2/inst/include/RGtk2/gtk.h0000644000176000001440000000752111766145227015542 0ustar ripleyusers#ifndef RGTK2_GTK_H #define RGTK2_GTK_H #include #include #include #include /* GdkPixbuf is inside Gdk, and Gdk is inside GTK+ (wrt distribution), so we group them all into this header. */ #define GDK_PIXBUF_ENABLE_BACKEND #include #include #include #define GDK_CHECK_VERSION GTK_CHECK_VERSION #include #include #include #include /******* Manual UserFuncs *********/ /* GTK */ void S_GtkClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner); void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data); guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); /******* Conversion ********/ /* GDK */ USER_OBJECT_ asRGdkAtom(GdkAtom val); GdkAtom asCGdkAtom(USER_OBJECT_ s_atom); GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms); GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints *hints); GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values); GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask *mask); GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType *mask); USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord *coord, int num_axes); GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap); USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap *map); GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key); USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key); GdkPoint* asCGdkPoint(USER_OBJECT_ s_point); USER_OBJECT_ asRGdkPoint(GdkPoint *point); GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment); USER_OBJECT_ asRGdkSegment(GdkSegment * obj); GdkColor* asCGdkColor(USER_OBJECT_ s_color); USER_OBJECT_ asRGdkColor(const GdkColor* color); USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window); GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window); USER_OBJECT_ asRGdkEvent(GdkEvent *event); USER_OBJECT_ toRGdkEvent(GdkEvent *event, gboolean finalize); USER_OBJECT_ toRGdkFont(GdkFont *font); GdkTrapezoid * asCGdkTrapezoid(USER_OBJECT_ s_trapezoid); USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid * obj); USER_OBJECT_ asRGdkGCValues(GdkGCValues *values); GdkSpan* asCGdkSpan(USER_OBJECT_ s_span); USER_OBJECT_ asRGdkSpan(GdkSpan * obj); /* GTK */ GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry); USER_OBJECT_ asRGtkTargetEntry(const GtkTargetEntry * obj); GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info); USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo * obj); GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value); GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item); USER_OBJECT_ asRGtkStockItem(GtkStockItem *item); GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry); GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry); GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype); GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc); USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc); #if GTK_CHECK_VERSION(2,10,0) GtkRecentFilterInfo * asCGtkRecentFilterInfo(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo * obj); GtkRecentData * asCGtkRecentData(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkPageRange(GtkPageRange * obj); GtkPageRange * asCGtkPageRange(USER_OBJECT_ s_obj); #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey * obj); /* For some systems, e.g. Irix, gtkFuncs has a time_t that is not defined unless we include this. Seems harmless on other systems! */ #include #endif RGtk2/inst/include/RGtk2/gioImports.c0000644000176000001440000000027511766145227017103 0ustar ripleyusers#ifndef S_GIO_IMPORTS_C #define S_GIO_IMPORTS_C #include #include #include #include #endif RGtk2/inst/include/RGtk2/gobject.h0000644000176000001440000003536111766145227016375 0ustar ripleyusers/* Base bindings between R/S and GObject */ #ifndef RGTK2_GOBJECT_H #define RGTK2_GOBJECT_H #include "RSCommon.h" #include #include typedef void (*RPointerFinalizer)(void *ptr); typedef void* (*ElementConverter)(void *element); /***** ARRAY CONVERSION MACROS ******/ /* converts an array, taking the reference of each element, so that conversion functions taking a pointer parameter will work (array elements are values) */ #define asRArrayRef(array, converter) \ __extension__ \ ({ \ asRArray(&array, converter); \ }) #define asRArrayRefWithSize(array, converter, n) \ __extension__ \ ({ \ asRArrayWithSize(&array, converter, n); \ }) /* converts an array directly using the conversion function to an R list */ #define asRArray(array, converter) \ __extension__ \ ({ \ _asRArray(array, converter, LIST, VECTOR); \ }) #define asRArrayWithSize(array, converter, n) \ __extension__ \ ({ \ _asRArrayWithSize(array, converter, n, LIST, VECTOR); \ }) /* converts primitive (numeric, integer, logical) arrays to R vectors */ #define _asRPrimArray(array, TYPE) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = _asRPrimArrayWithSize(array, n-1, TYPE); \ } \ s; \ }) #define _asRPrimArrayWithSize(array, n, TYPE) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_obj; \ PROTECT(s_obj = NEW_ ## TYPE(n)); \ \ for (i = 0; i < n; i++) { \ TYPE ## _POINTER(s_obj)[i] = array[i]; \ } \ \ UNPROTECT(1); \ s_obj; \ }) /* core converter, for converting string arrays and other arrays of pointer types */ #define _asRArray(array, converter, TYPE, SETTER_TYPE) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = _asRArrayWithSize(array, converter, n-1, TYPE, SETTER_TYPE); \ } \ s; \ }) #define _asRArrayWithSize(array, converter, n, TYPE, SETTER_TYPE) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_obj; \ PROTECT(s_obj = NEW_ ## TYPE(n)); \ \ for (i = 0; i < n; i++) { \ SET_ ## SETTER_TYPE ## _ELT(s_obj, i, converter(array[i])); \ } \ \ UNPROTECT(1); \ s_obj; \ }) /* Below are primitive array -> R vector converters */ #define asRStringArray(array) \ __extension__ \ ({ \ _asRArray(array, COPY_TO_USER_STRING, CHARACTER, STRING); \ }) #define asRStringArrayWithSize(array, n) \ __extension__ \ ({ \ _asRArrayWithSize(array, COPY_TO_USER_STRING, n, CHARACTER, STRING); \ }) #define asRIntegerArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, INTEGER); \ }) #define asRIntegerArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, INTEGER); \ }) #define RAW_POINTER(x) RAW(x) #define asRRawArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, RAW); \ }) #define asRRawArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, RAW); \ }) #define asRNumericArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, NUMERIC); \ }) #define asRNumericArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, NUMERIC); \ }) #define asRGTypeArrayWithSize(array, size) \ asRArrayWithSize(array, asRGType, size) #define asRLogicalArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, LOGICAL); \ }) #define asRLogicalArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, LOGICAL); \ }) /* for converting each element to an R pointer of a specified class -- I don't think this is ever used */ #define toRPointerArray(array, type) \ __extension__ \ ({ \ toRPointerWithFinalizerArray(array, type); \ }) #define toRPointerArrayWithSize(array, type, n) \ __extension__ \ ({ \ toRPointerWithFinalizerArrayWithSize(array, type, NULL, n); \ }) /* for converting elements to R pointers of a specified class with a special finalizer - only used like once */ #define toRPointerWithFinalizerArray(array, type, finalizer) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRPointerWithFinalizerArrayWithSize(array, type, finalizer, n-1); \ } \ s; \ }) #define toRPointerWithFinalizerArrayWithSize(array, type, finalizer, n) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, toRPointerWithFinalizer(array[i], type, finalizer)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* converts each element to a ref'd R pointer (ie, they're GObjects) - used only a couple of times */ #define toRPointerWithRefArray(array, type) \ __extension__ \ ({ \ int n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRPointerWithRefArrayWithSize(array, type, n-1); \ } \ s; \ }) #define toRPointerWithRefArrayWithSize(array, type, n) \ __extension__ \ ({ \ int i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, toRPointerWithRef(array[i], type)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* this is used when there is an array of struct values that need to be copied into separate areas in memory so that they can be individually finalized - used maybe once */ #define asRStructArray(array, type) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRStructArrayWithSize(array, type, n-1); \ } \ s; \ }) #define asRStructArrayWithSize(array, type, n) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ typeof(array) ptr = g_malloc(sizeof(typeof(array[i]))); \ memcpy(ptr, array+i, sizeof(typeof(array[i]))); \ SET_VECTOR_ELT(s_array, i, toRPointerWithFinalizer(ptr, type, g_free)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* for converting enum elements of a given type */ #define asREnumArray(array, type) \ __extension__ \ ({ \ int n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asREnumArrayWithSize(array, type, n-1); \ } \ s; \ }) #define asREnumArrayWithSize(array, type, n) \ __extension__ \ ({ \ int i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, asREnum(array[i], type)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* now from R to C */ #define asCArrayRef(s, type, converter) \ __extension__ \ ({ \ asCArray(s, type, * (type *)converter); \ }) #define asCArray(s_array, type, converter) \ __extension__ \ ({ \ guint i; \ \ type* array = (type*)R_alloc(GET_LENGTH(s_array), sizeof(type)); \ \ for (i = 0; i < GET_LENGTH(s_array); i++) { \ array[i] = (type)converter(VECTOR_ELT(s_array, i)); \ } \ \ array; \ }) #define asCArrayDup(s, type, converter) \ __extension__ \ ({ \ type* array = asCArray(s, type, converter); \ g_memdup(array, sizeof(type) * GET_LENGTH(s)); \ }) #define asCEnumArray(s_array, type, code) \ __extension__ \ ({ \ int i; \ \ type* array = (type*)R_alloc(GET_LENGTH(s_array), sizeof(type)); \ \ for (i = 0; i < GET_LENGTH(s_array); i++) { \ array[i] = asCEnum(VECTOR_ELT(s_array, i), code); \ } \ \ array; \ }) gchar ** asCStringArray(USER_OBJECT_ svec); /****** Primitive Type Conversion *********/ #define asCLogical(s_log) (GET_LENGTH(s_log) ? LOGICAL(s_log)[0] : FALSE) #define asCInteger(s_int) (GET_LENGTH(s_int) ? INTEGER(s_int)[0] : 0) #define asCRaw(s_raw) (GET_LENGTH(s_raw) ? RAW(s_raw)[0] : 0) #define asCNumeric(s_num) (GET_LENGTH(s_num) ? REAL(s_num)[0] : 0) const gchar * asCString(USER_OBJECT_ s_str); gchar asCCharacter(USER_OBJECT_ s_char); #define asRLogical ScalarLogical #define asRInteger ScalarInteger #define asRNumeric ScalarReal #define asRRaw ScalarRaw USER_OBJECT_ asRUnsigned(guint num); USER_OBJECT_ asRCharacter(gchar c); USER_OBJECT_ asRString(const gchar *str); #define asCGenericData(sval) __extension__ ({ R_PreserveObject(sval); sval; }) USER_OBJECT_ asREnum(int value, GType etype); USER_OBJECT_ asRFlag(guint value, GType ftype); guint asCFlag(USER_OBJECT_ s_flag, GType ftype); gint asCEnum(USER_OBJECT_ s_enum, GType etype); /******* Pointer-type conversion ********/ USER_OBJECT_ toRPointerWithFinalizer(gconstpointer val, const gchar *typeName, RPointerFinalizer finalizer); #define toRPointer(val, name) toRPointerWithFinalizer(val, name, NULL) USER_OBJECT_ toRPointerWithRef(gconstpointer val, const gchar *type); #define getPtrValue(sval) (sval == NULL_USER_OBJECT ? NULL : R_ExternalPtrAddr(sval)) gpointer getPtrValueWithRef(USER_OBJECT_ sval); /********* GLib structure conversion *********/ GQuark asCGQuark(USER_OBJECT_ sval); USER_OBJECT_ asRGQuark(GQuark val); GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval); USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval); GString* asCGString(USER_OBJECT_ s_string); GList* toCGList(USER_OBJECT_ s_list, gboolean dup); #define asCGList(s_list) toCGList(s_list, FALSE) #define asCGListDup(s_list) toCGList(s_list, TRUE) USER_OBJECT_ asRGList(GList *glist, const gchar* type); USER_OBJECT_ asRGListWithRef(GList *gslist, const gchar* type); USER_OBJECT_ asRGListWithFinalizer(GList *glist, const gchar* type, RPointerFinalizer finalizer); USER_OBJECT_ asRGListConv(GList *glist, ElementConverter converter); GSList* toCGSList(USER_OBJECT_ s_list, gboolean dup); #define asCGSList(s_list) toCGSList(s_list, FALSE) #define asCGSListDup(s_list) toCGSList(s_list, TRUE) USER_OBJECT_ asRGSList(GSList *gslist, const gchar* type); USER_OBJECT_ asRGSListWithRef(GSList *gslist, const gchar* type); USER_OBJECT_ asRGSListWithFinalizer(GSList *gslist, const gchar* type, RPointerFinalizer finalizer); USER_OBJECT_ asRGSListConv(GSList *gslist, ElementConverter converter); USER_OBJECT_ asRGError(GError *error); GError *asCGError(USER_OBJECT_ s_error); /******* GObject structure conversion *********/ int R_setGValueFromSValue(GValue *val, USER_OBJECT_ sval); USER_OBJECT_ R_setGValueForProperty(GValue *value, GObjectClass *class, const gchar *property_name, USER_OBJECT_ s_value); GValue* createGValueFromSValue(USER_OBJECT_ sval); gboolean initGValueFromSValue(USER_OBJECT_ sval, GValue *raw); gboolean initGValueFromVector(USER_OBJECT_ sval, gint n, GValue *raw); USER_OBJECT_ asRGValue(const GValue *val); GValue* asCGValue(USER_OBJECT_ sval); GType asCGType(USER_OBJECT_ sval); USER_OBJECT_ asRGType(GType type); GParamSpec* asCGParamSpec(USER_OBJECT_ s_spec); USER_OBJECT_ asRGParamSpec(GParamSpec* spec); GClosure* asCGClosure(USER_OBJECT_ s_closure); USER_OBJECT_ asRGClosure(GClosure *closure); USER_OBJECT_ toRPointerWithSink(void *val, const char *type); USER_OBJECT_ asRGListWithSink(GList *glist, const gchar* type); USER_OBJECT_ asRGSListWithSink(GSList *gslist, const gchar* type); /********** User Function wrappers ********/ void S_GCompareFunc(gconstpointer s_a, gconstpointer s_b); gboolean S_GSourceFunc(gpointer data); /********** GClosure callbacks ***********/ GClosure* R_createGClosure(USER_OBJECT_ s_func, USER_OBJECT_ s_data); /****** Custom RGtk2 types supporting R objects ********/ GType r_gtk_sexp_get_type(void); #define R_GTK_TYPE_SEXP r_gtk_sexp_get_type() GType r_gtk_param_spec_sexp_get_type(void); #define R_GTK_TYPE_PARAM_SEXP r_gtk_param_spec_sexp_get_type() typedef struct _RGtkParamSpecSexp { GParamSpec parent_instance; SEXPTYPE s_type; USER_OBJECT_ default_value; } RGtkParamSpecSexp; /* Marker interface for SGObjects */ typedef struct _SGObject SGObject; /* Dummy typedef */ typedef struct _SGObjectIface { GTypeInterface parent; USER_OBJECT_ (*get_environment)(SGObject *); } SGObjectIface; GType s_g_object_get_type(void); #define S_TYPE_G_OBJECT s_g_object_get_type() /******* GObject extension ********/ void S_gobject_class_init(GObjectClass *c, USER_OBJECT_ e); /* getting the static environment out of the class of a SGObject */ #define S_GOBJECT_GET_ENV(s_object) \ __extension__ \ ({ \ GTypeQuery query; \ g_type_query(G_OBJECT_TYPE(s_object), &query); \ G_STRUCT_MEMBER(SEXP, G_OBJECT_GET_CLASS(s_object), query.class_size - sizeof(SEXP)); \ }) /* getting the instance-level environment out of a SGObject */ #define S_G_OBJECT_GET_INSTANCE_ENV(s_object) \ __extension__ \ ({ \ GTypeQuery query; \ g_type_query(G_OBJECT_TYPE(s_object), &query); \ G_STRUCT_MEMBER(SEXP, s_object, query.instance_size - sizeof(SEXP)); \ }) /* add the instance environment as an attribute of an R user object */ #define S_G_OBJECT_ADD_ENV(s_object, user_object) \ __extension__ \ ({ \ USER_OBJECT_ user_obj = user_object; \ setAttrib(user_obj, install(".private"), S_G_OBJECT_GET_INSTANCE_ENV(s_object)); \ user_obj; \ }) /******* Utilities *******/ /* puts return by reference parameters into a list */ USER_OBJECT_ retByVal(USER_OBJECT_ retval, ...); /* generic callback stuff */ typedef struct { USER_OBJECT_ function; USER_OBJECT_ data; Rboolean useData; Rboolean userDataFirst; gpointer extra; /* some C-level user data */ } R_CallbackData; R_CallbackData *R_createCBData(USER_OBJECT_ s_func, USER_OBJECT_ s_data); void R_freeCBData(R_CallbackData *cbdata); /* introspection support */ GType getSValueGType(USER_OBJECT_ sval); USER_OBJECT_ R_internal_getInterfaces(GType type); USER_OBJECT_ R_internal_getGTypeAncestors(GType type); /* property stuff */ gpointer propertyConstructor(GType obj_type, char **prop_names, USER_OBJECT_ *args, int nargs); USER_OBJECT_ R_setGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ svals); USER_OBJECT_ R_getGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ argNames); /* make sure something is not NULL before we try to free it */ #define CLEANUP(cleaner, ptr) if (ptr) cleaner(ptr) /* always free the actual string inside a GString */ #define free_g_string(str) g_string_free(str, TRUE) /* easy way to free strings (or anything on the GLib stack) in G(S)Lists */ void GSListFreeStrings(GSList *gslist); void GListFreeStrings(GList *glist); void transformDoubleString(const GValue *src, GValue *dst); void transformIntString(const GValue *src, GValue *dst); void transformBooleanString(const GValue *src, GValue *dst); /* GSeekType enum runtime type info support (needed by GIO) */ #define G_TYPE_SEEK_TYPE (g_seek_type_get_type ()) GType g_seek_type_get_type (void) G_GNUC_CONST; #define G_TYPE_IO_CONDITION (g_io_condition_get_type ()) GType g_io_condition_get_type (void) G_GNUC_CONST; /* do this by name, so that it is resolved at runtime, simplifying header dependencies */ #if GLIB_CHECK_VERSION(2,10,0) #define UNOWNED_TYPE_NAME "GInitiallyUnowned" #else #define UNOWNED_TYPE_NAME "GtkObject" #endif #endif RGtk2/inst/include/RGtk2/atkClasses.h0000644000176000001440000000330512362217673017044 0ustar ripleyusers#ifndef S_ATK_CLASSES_H #define S_ATK_CLASSES_H #include #include void S_atk_hyperlink_class_init(AtkHyperlinkClass * c, SEXP e); void S_atk_object_class_init(AtkObjectClass * c, SEXP e); void S_atk_gobject_accessible_class_init(AtkGObjectAccessibleClass * c, SEXP e); void S_atk_no_op_object_class_init(AtkNoOpObjectClass * c, SEXP e); void S_atk_object_factory_class_init(AtkObjectFactoryClass * c, SEXP e); void S_atk_no_op_object_factory_class_init(AtkNoOpObjectFactoryClass * c, SEXP e); void S_atk_registry_class_init(AtkRegistryClass * c, SEXP e); void S_atk_relation_class_init(AtkRelationClass * c, SEXP e); void S_atk_relation_set_class_init(AtkRelationSetClass * c, SEXP e); void S_atk_state_set_class_init(AtkStateSetClass * c, SEXP e); void S_atk_util_class_init(AtkUtilClass * c, SEXP e); void S_atk_table_class_init(AtkTableIface * c, SEXP e); void S_atk_streamable_content_class_init(AtkStreamableContentIface * c, SEXP e); void S_atk_selection_class_init(AtkSelectionIface * c, SEXP e); void S_atk_implementor_class_init(AtkImplementorIface * c, SEXP e); void S_atk_image_class_init(AtkImageIface * c, SEXP e); void S_atk_hypertext_class_init(AtkHypertextIface * c, SEXP e); void S_atk_editable_text_class_init(AtkEditableTextIface * c, SEXP e); void S_atk_component_class_init(AtkComponentIface * c, SEXP e); void S_atk_action_class_init(AtkActionIface * c, SEXP e); void S_atk_value_class_init(AtkValueIface * c, SEXP e); void S_atk_text_class_init(AtkTextIface * c, SEXP e); void S_atk_document_class_init(AtkDocumentIface * c, SEXP e); #if ATK_CHECK_VERSION(1, 12, 1) void S_atk_hyperlink_impl_class_init(AtkHyperlinkImplIface * c, SEXP e); #endif #endif RGtk2/inst/include/RGtk2/pangoClassImports.c0000644000176000001440000000302612362217673020412 0ustar ripleyusersvoid S_pango_font_class_init(PangoFontClass * c, SEXP e) { static void (*fun)(PangoFontClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_class_init")); return(fun(c, e)); } void S_pango_font_face_class_init(PangoFontFaceClass * c, SEXP e) { static void (*fun)(PangoFontFaceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontFaceClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_face_class_init")); return(fun(c, e)); } void S_pango_font_family_class_init(PangoFontFamilyClass * c, SEXP e) { static void (*fun)(PangoFontFamilyClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontFamilyClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_family_class_init")); return(fun(c, e)); } void S_pango_font_map_class_init(PangoFontMapClass * c, SEXP e) { static void (*fun)(PangoFontMapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontMapClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_map_class_init")); return(fun(c, e)); } void S_pango_fontset_class_init(PangoFontsetClass * c, SEXP e) { static void (*fun)(PangoFontsetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontsetClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_fontset_class_init")); return(fun(c, e)); } void S_pango_renderer_class_init(PangoRendererClass * c, SEXP e) { static void (*fun)(PangoRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_renderer_class_init")); return(fun(c, e)); } RGtk2/inst/include/RGtk2/atkClassImports.c0000644000176000001440000001417712362217673020076 0ustar ripleyusersvoid S_atk_hyperlink_class_init(AtkHyperlinkClass * c, SEXP e) { static void (*fun)(AtkHyperlinkClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHyperlinkClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_hyperlink_class_init")); return(fun(c, e)); } void S_atk_object_class_init(AtkObjectClass * c, SEXP e) { static void (*fun)(AtkObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_object_class_init")); return(fun(c, e)); } void S_atk_gobject_accessible_class_init(AtkGObjectAccessibleClass * c, SEXP e) { static void (*fun)(AtkGObjectAccessibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkGObjectAccessibleClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_gobject_accessible_class_init")); return(fun(c, e)); } void S_atk_no_op_object_class_init(AtkNoOpObjectClass * c, SEXP e) { static void (*fun)(AtkNoOpObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkNoOpObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_no_op_object_class_init")); return(fun(c, e)); } void S_atk_object_factory_class_init(AtkObjectFactoryClass * c, SEXP e) { static void (*fun)(AtkObjectFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkObjectFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_object_factory_class_init")); return(fun(c, e)); } void S_atk_no_op_object_factory_class_init(AtkNoOpObjectFactoryClass * c, SEXP e) { static void (*fun)(AtkNoOpObjectFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkNoOpObjectFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_no_op_object_factory_class_init")); return(fun(c, e)); } void S_atk_registry_class_init(AtkRegistryClass * c, SEXP e) { static void (*fun)(AtkRegistryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRegistryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_registry_class_init")); return(fun(c, e)); } void S_atk_relation_class_init(AtkRelationClass * c, SEXP e) { static void (*fun)(AtkRelationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRelationClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_relation_class_init")); return(fun(c, e)); } void S_atk_relation_set_class_init(AtkRelationSetClass * c, SEXP e) { static void (*fun)(AtkRelationSetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRelationSetClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_relation_set_class_init")); return(fun(c, e)); } void S_atk_state_set_class_init(AtkStateSetClass * c, SEXP e) { static void (*fun)(AtkStateSetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkStateSetClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_state_set_class_init")); return(fun(c, e)); } void S_atk_util_class_init(AtkUtilClass * c, SEXP e) { static void (*fun)(AtkUtilClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkUtilClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_util_class_init")); return(fun(c, e)); } void S_atk_table_class_init(AtkTableIface * c, SEXP e) { static void (*fun)(AtkTableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkTableIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_table_class_init")); return(fun(c, e)); } void S_atk_streamable_content_class_init(AtkStreamableContentIface * c, SEXP e) { static void (*fun)(AtkStreamableContentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkStreamableContentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_streamable_content_class_init")); return(fun(c, e)); } void S_atk_selection_class_init(AtkSelectionIface * c, SEXP e) { static void (*fun)(AtkSelectionIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkSelectionIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_selection_class_init")); return(fun(c, e)); } void S_atk_implementor_class_init(AtkImplementorIface * c, SEXP e) { static void (*fun)(AtkImplementorIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkImplementorIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_implementor_class_init")); return(fun(c, e)); } void S_atk_image_class_init(AtkImageIface * c, SEXP e) { static void (*fun)(AtkImageIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkImageIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_image_class_init")); return(fun(c, e)); } void S_atk_hypertext_class_init(AtkHypertextIface * c, SEXP e) { static void (*fun)(AtkHypertextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHypertextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_hypertext_class_init")); return(fun(c, e)); } void S_atk_editable_text_class_init(AtkEditableTextIface * c, SEXP e) { static void (*fun)(AtkEditableTextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkEditableTextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_editable_text_class_init")); return(fun(c, e)); } void S_atk_component_class_init(AtkComponentIface * c, SEXP e) { static void (*fun)(AtkComponentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkComponentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_component_class_init")); return(fun(c, e)); } void S_atk_action_class_init(AtkActionIface * c, SEXP e) { static void (*fun)(AtkActionIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkActionIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_action_class_init")); return(fun(c, e)); } void S_atk_value_class_init(AtkValueIface * c, SEXP e) { static void (*fun)(AtkValueIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkValueIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_value_class_init")); return(fun(c, e)); } void S_atk_text_class_init(AtkTextIface * c, SEXP e) { static void (*fun)(AtkTextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkTextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_text_class_init")); return(fun(c, e)); } void S_atk_document_class_init(AtkDocumentIface * c, SEXP e) { static void (*fun)(AtkDocumentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkDocumentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_document_class_init")); return(fun(c, e)); } #if ATK_CHECK_VERSION(1, 12, 1) void S_atk_hyperlink_impl_class_init(AtkHyperlinkImplIface * c, SEXP e) { static void (*fun)(AtkHyperlinkImplIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHyperlinkImplIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_hyperlink_impl_class_init")); return(fun(c, e)); } #endif RGtk2/inst/include/RGtk2/gioClasses.h0000644000176000001440000001260012362217673017041 0ustar ripleyusers#ifndef S_GIO_CLASSES_H #define S_GIO_CLASSES_H #include #include #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_launch_context_class_init(GAppLaunchContextClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gcancellable_class_init(GCancellableClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilename_completer_class_init(GFilenameCompleterClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_enumerator_class_init(GFileEnumeratorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_monitor_class_init(GFileMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_ginput_stream_class_init(GInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_input_stream_class_init(GFileInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_input_stream_class_init(GFilterInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_input_stream_class_init(GBufferedInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_input_stream_class_init(GDataInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_input_stream_class_init(GMemoryInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_operation_class_init(GMountOperationClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_goutput_stream_class_init(GOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_output_stream_class_init(GMemoryOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_output_stream_class_init(GFilterOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_output_stream_class_init(GBufferedOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_output_stream_class_init(GDataOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_output_stream_class_init(GFileOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvfs_class_init(GVfsClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_monitor_class_init(GVolumeMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gnative_volume_monitor_class_init(GNativeVolumeMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gfile_iostream_class_init(GFileIOStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_address_class_init(GInetAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_address_class_init(GNetworkAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_service_class_init(GNetworkServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gresolver_class_init(GResolverClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_class_init(GSocketClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_class_init(GSocketAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_enumerator_class_init(GSocketAddressEnumeratorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_client_class_init(GSocketClientClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connection_class_init(GSocketConnectionClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_control_message_class_init(GSocketControlMessageClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_listener_class_init(GSocketListenerClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_service_class_init(GSocketServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gtcp_connection_class_init(GTcpConnectionClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gthreaded_socket_service_class_init(GThreadedSocketServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_giostream_class_init(GIOStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_socket_address_class_init(GInetSocketAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_info_class_init(GAppInfoIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gasync_result_class_init(GAsyncResultIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdrive_class_init(GDriveIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_class_init(GFileIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gicon_class_init(GIconIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gloadable_icon_class_init(GLoadableIconIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_class_init(GMountIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gseekable_class_init(GSeekableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_class_init(GVolumeIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gasync_initable_class_init(GAsyncInitableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginitable_class_init(GInitableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connectable_class_init(GSocketConnectableIface * c, SEXP e); #endif #endif RGtk2/inst/include/RGtk2/cairo-enums.h0000644000176000001440000000462111766145227017175 0ustar ripleyusers /* Generated data (by glib-mkenums) */ #ifndef __CAIRO_ENUM_TYPES_H__ #define __CAIRO_ENUM_TYPES_H__ #include G_BEGIN_DECLS /* enumerations from "cairo-1.8.h" */ GType cairo_status_get_type (void); #define CAIRO_TYPE_STATUS (cairo_status_get_type()) GType cairo_content_get_type (void); #define CAIRO_TYPE_CONTENT (cairo_content_get_type()) GType cairo_operator_get_type (void); #define CAIRO_TYPE_OPERATOR (cairo_operator_get_type()) GType cairo_antialias_get_type (void); #define CAIRO_TYPE_ANTIALIAS (cairo_antialias_get_type()) GType cairo_fill_rule_get_type (void); #define CAIRO_TYPE_FILL_RULE (cairo_fill_rule_get_type()) GType cairo_line_cap_get_type (void); #define CAIRO_TYPE_LINE_CAP (cairo_line_cap_get_type()) GType cairo_line_join_get_type (void); #define CAIRO_TYPE_LINE_JOIN (cairo_line_join_get_type()) GType cairo_text_cluster_flags_get_type (void); #define CAIRO_TYPE_TEXT_CLUSTER_FLAGS (cairo_text_cluster_flags_get_type()) GType cairo_font_slant_get_type (void); #define CAIRO_TYPE_FONT_SLANT (cairo_font_slant_get_type()) GType cairo_font_weight_get_type (void); #define CAIRO_TYPE_FONT_WEIGHT (cairo_font_weight_get_type()) GType cairo_subpixel_order_get_type (void); #define CAIRO_TYPE_SUBPIXEL_ORDER (cairo_subpixel_order_get_type()) GType cairo_hint_style_get_type (void); #define CAIRO_TYPE_HINT_STYLE (cairo_hint_style_get_type()) GType cairo_hint_metrics_get_type (void); #define CAIRO_TYPE_HINT_METRICS (cairo_hint_metrics_get_type()) GType cairo_font_type_get_type (void); #define CAIRO_TYPE_FONT_TYPE (cairo_font_type_get_type()) GType cairo_path_data_type_get_type (void); #define CAIRO_TYPE_PATH_DATA_TYPE (cairo_path_data_type_get_type()) GType cairo_surface_type_get_type (void); #define CAIRO_TYPE_SURFACE_TYPE (cairo_surface_type_get_type()) GType cairo_format_get_type (void); #define CAIRO_TYPE_FORMAT (cairo_format_get_type()) GType cairo_pattern_type_get_type (void); #define CAIRO_TYPE_PATTERN_TYPE (cairo_pattern_type_get_type()) GType cairo_extend_get_type (void); #define CAIRO_TYPE_EXTEND (cairo_extend_get_type()) GType cairo_filter_get_type (void); #define CAIRO_TYPE_FILTER (cairo_filter_get_type()) GType cairo_svg_version_get_type (void); #define CAIRO_TYPE_SVG_VERSION (cairo_svg_version_get_type()) GType cairo_ps_level_get_type (void); #define CAIRO_TYPE_PS_LEVEL (cairo_ps_level_get_type()) G_END_DECLS #endif /* __CAIRO_ENUM_TYPES_H__ */ /* Generated data ends here */ RGtk2/inst/include/RGtk2/cairo.h0000644000176000001440000000325411766145227016051 0ustar ripleyusers#ifndef RGTK2_CAIRO_H #define RGTK2_CAIRO_H /* Note: cairo itself is not based on GObject, but we use our own GEnum-based wrappers for the cairo enums/flags plus other things linked to GObject */ #include #include #define CAIRO_CHECK_VERSION(major, minor, micro) \ (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(major, minor, micro)) /* for cairo 1.2, ps/pdf backend is required for GTK, svg comes 'free', so we can safely depend on these */ #if CAIRO_CHECK_VERSION(1,2,0) #include #include #include #endif /* custom GEnum wrappers so that we can use the same routines for cairo */ #include #include /****** Manual UserFuncs *****/ cairo_status_t S_cairo_read_func_t(gpointer s_closure, guchar* s_data, guint s_length); /****** Conversion ******/ #define toRPointerWithCairoRef(ptr, name, type) \ __extension__ \ ({ \ type ## _reference(ptr); \ toRPointerWithFinalizer(ptr, name, (RPointerFinalizer) type ## _destroy); \ }) USER_OBJECT_ asRCairoPath(cairo_path_t *path); cairo_path_t * asCCairoPath(USER_OBJECT_ s_path); cairo_glyph_t * asCCairoGlyph(USER_OBJECT_ s_glyph); USER_OBJECT_ asRCairoGlyph(cairo_glyph_t * obj); #if CAIRO_CHECK_VERSION(1,4,0) USER_OBJECT_ asRCairoRectangle(cairo_rectangle_t *rect); USER_OBJECT_ asRCairoRectangleList(cairo_rectangle_list_t *list); #endif #if CAIRO_CHECK_VERSION(1,8,0) cairo_text_cluster_t *asCCairoTextCluster(USER_OBJECT_ s_obj); USER_OBJECT_ asRCairoTextCluster(cairo_text_cluster_t * obj); cairo_font_extents_t *asCCairoFontExtents(USER_OBJECT_ s_obj); USER_OBJECT_ asRCairoFontExtents(cairo_font_extents_t * obj); #endif #endif RGtk2/inst/include/RGtk2/cairoUserFuncs.h0000644000176000001440000000033012362217673017675 0ustar ripleyusers#ifndef S_CAIRO_USERFUNCS_H #define S_CAIRO_USERFUNCS_H #include #include cairo_status_t S_cairo_write_func_t(gpointer s_closure, const guchar* s_data, guint s_length); #endif RGtk2/inst/include/RGtk2/atkImports.c0000644000176000001440000000531211766145227017101 0ustar ripleyusers#ifndef S_ATK_IMPORTS_C #define S_ATK_IMPORTS_C #include #include #include #include AtkAttributeSet* asCAtkAttributeSet(USER_OBJECT_ s_set) { static AtkAttributeSet* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkAttributeSet* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkAttributeSet")); return(fun(s_set)); } AtkAttribute* asCAtkAttribute(USER_OBJECT_ s_attr) { static AtkAttribute* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkAttribute* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkAttribute")); return(fun(s_attr)); } USER_OBJECT_ asRAtkAttributeSet(AtkAttributeSet* set) { static USER_OBJECT_ (*fun)(AtkAttributeSet*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkAttributeSet*))R_GetCCallable("RGtk2", "asRAtkAttributeSet")); return(fun(set)); } USER_OBJECT_ asRAtkAttribute(AtkAttribute* attr) { static USER_OBJECT_ (*fun)(AtkAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkAttribute*))R_GetCCallable("RGtk2", "asRAtkAttribute")); return(fun(attr)); } AtkTextRectangle* asCAtkTextRectangle(USER_OBJECT_ s_rect) { static AtkTextRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkTextRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkTextRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRAtkTextRectangle(AtkTextRectangle* rect) { static USER_OBJECT_ (*fun)(AtkTextRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkTextRectangle*))R_GetCCallable("RGtk2", "asRAtkTextRectangle")); return(fun(rect)); } USER_OBJECT_ asRAtkTextRange(AtkTextRange* range) { static USER_OBJECT_ (*fun)(AtkTextRange*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkTextRange*))R_GetCCallable("RGtk2", "asRAtkTextRange")); return(fun(range)); } AtkTextRange* asCAtkTextRange(USER_OBJECT_ s_obj) { static AtkTextRange* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkTextRange* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkTextRange")); return(fun(s_obj)); } USER_OBJECT_ asRAtkKeyEventStruct(AtkKeyEventStruct* obj) { static USER_OBJECT_ (*fun)(AtkKeyEventStruct*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkKeyEventStruct*))R_GetCCallable("RGtk2", "asRAtkKeyEventStruct")); return(fun(obj)); } AtkRectangle* asCAtkRectangle(USER_OBJECT_ s_rect) { static AtkRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRAtkRectangle(AtkRectangle* rect) { static USER_OBJECT_ (*fun)(AtkRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkRectangle*))R_GetCCallable("RGtk2", "asRAtkRectangle")); return(fun(rect)); } #endif RGtk2/inst/include/RGtk2/gdkClassImports.c0000644000176000001440000001060512362217673020054 0ustar ripleyusersvoid S_gdk_bitmap_class_init(GdkDrawableClass * c, SEXP e) { static void (*fun)(GdkDrawableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDrawableClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_bitmap_class_init")); return(fun(c, e)); } void S_gdk_colormap_class_init(GdkColormapClass * c, SEXP e) { static void (*fun)(GdkColormapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkColormapClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_colormap_class_init")); return(fun(c, e)); } void S_gdk_display_class_init(GdkDisplayClass * c, SEXP e) { static void (*fun)(GdkDisplayClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDisplayClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_display_class_init")); return(fun(c, e)); } void S_gdk_display_manager_class_init(GdkDisplayManagerClass * c, SEXP e) { static void (*fun)(GdkDisplayManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDisplayManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_display_manager_class_init")); return(fun(c, e)); } void S_gdk_drag_context_class_init(GdkDragContextClass * c, SEXP e) { static void (*fun)(GdkDragContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDragContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_drag_context_class_init")); return(fun(c, e)); } void S_gdk_drawable_class_init(GdkDrawableClass * c, SEXP e) { static void (*fun)(GdkDrawableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDrawableClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_drawable_class_init")); return(fun(c, e)); } void S_gdk_window_class_init(GdkWindowClass * c, SEXP e) { static void (*fun)(GdkWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_window_class_init")); return(fun(c, e)); } void S_gdk_pixmap_class_init(GdkPixmapObjectClass * c, SEXP e) { static void (*fun)(GdkPixmapObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixmapObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixmap_class_init")); return(fun(c, e)); } void S_gdk_gc_class_init(GdkGCClass * c, SEXP e) { static void (*fun)(GdkGCClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkGCClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_gc_class_init")); return(fun(c, e)); } void S_gdk_image_class_init(GdkImageClass * c, SEXP e) { static void (*fun)(GdkImageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkImageClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_image_class_init")); return(fun(c, e)); } void S_gdk_keymap_class_init(GdkKeymapClass * c, SEXP e) { static void (*fun)(GdkKeymapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkKeymapClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_keymap_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_animation_class_init(GdkPixbufAnimationClass * c, SEXP e) { static void (*fun)(GdkPixbufAnimationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufAnimationClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_animation_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_animation_iter_class_init(GdkPixbufAnimationIterClass * c, SEXP e) { static void (*fun)(GdkPixbufAnimationIterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufAnimationIterClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_animation_iter_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_loader_class_init(GdkPixbufLoaderClass * c, SEXP e) { static void (*fun)(GdkPixbufLoaderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufLoaderClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_loader_class_init")); return(fun(c, e)); } void S_gdk_pango_renderer_class_init(GdkPangoRendererClass * c, SEXP e) { static void (*fun)(GdkPangoRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPangoRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pango_renderer_class_init")); return(fun(c, e)); } void S_gdk_screen_class_init(GdkScreenClass * c, SEXP e) { static void (*fun)(GdkScreenClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkScreenClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_screen_class_init")); return(fun(c, e)); } #if GDK_CHECK_VERSION(2, 14, 0) void S_gdk_app_launch_context_class_init(GdkAppLaunchContextClass * c, SEXP e) { static void (*fun)(GdkAppLaunchContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkAppLaunchContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_app_launch_context_class_init")); return(fun(c, e)); } #endif RGtk2/inst/include/RGtk2/gtkUserFuncs.h0000644000176000001440000001456312362217673017402 0ustar ripleyusers#ifndef S_GTK_USERFUNCS_H #define S_GTK_USERFUNCS_H #include #include void S_GtkAboutDialogActivateLinkFunc(GtkAboutDialog* s_about, const gchar* s_link, gpointer s_data); void S_GtkCellLayoutDataFunc(GtkCellLayout* s_cell_layout, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data); void S_GtkClipboardGetFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, guint s_info, gpointer s_user_data_or_owner); void S_GtkClipboardReceivedFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, gpointer s_data); void S_GtkClipboardImageReceivedFunc(GtkClipboard* s_clipboard, GdkPixbuf* s_image, gpointer s_data); void S_GtkClipboardTextReceivedFunc(GtkClipboard* s_clipboard, const gchar* s_text, gpointer s_data); void S_GtkClipboardTargetsReceivedFunc(GtkClipboard* s_clipboard, GdkAtom* s_atoms, gint s_n_atoms, gpointer s_data); void S_GtkColorSelectionChangePaletteFunc(const GdkColor* s_colors, gint s_n_colors); void S_GtkColorSelectionChangePaletteWithScreenFunc(GdkScreen* s_screen, const GdkColor* s_colors, gint s_n_colors); gboolean S_GtkCTreeGNodeFunc(GtkCTree* s_ctree, guint s_depth, GNode* s_gnode, GtkCTreeNode* s_cnode, gpointer s_data); void S_GtkCTreeFunc(GtkCTree* s_ctree, GtkCTreeNode* s_node, gpointer s_data); gboolean S_GtkEntryCompletionMatchFunc(GtkEntryCompletion* s_completion, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_user_data); gboolean S_GtkFileFilterFunc(const GtkFileFilterInfo* s_filter_info, gpointer s_data); void S_GtkIconViewForeachFunc(GtkIconView* s_icon_view, GtkTreePath* s_path, gpointer s_data); void S_GtkTranslateFunc(const gchar* s_path, gpointer s_func_data); gboolean S_GtkFunction(gpointer s_data); gint S_GtkKeySnoopFunc(GtkWidget* s_grab_widget, GdkEventKey* s_event, gpointer s_func_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); gint S_GtkTreeModelForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeModelFilterVisibleFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeModelFilterModifyFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, GValue* s_value, gint s_column, gpointer s_data); gboolean S_GtkTreeSelectionFunc(GtkTreeSelection* s_selection, GtkTreeModel* s_model, GtkTreePath* s_path, gboolean s_path_currently_selected, gpointer s_data); void S_GtkTreeSelectionForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeIterCompareFunc(GtkTreeModel* s_model, GtkTreeIter* s_a, GtkTreeIter* s_b, gpointer s_user_data); void S_GtkTreeCellDataFunc(GtkTreeViewColumn* s_tree_column, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data); gboolean S_GtkTreeViewColumnDropFunc(GtkTreeView* s_tree_view, GtkTreeViewColumn* s_column, GtkTreeViewColumn* s_prev_column, GtkTreeViewColumn* s_next_column, gpointer s_data); void S_GtkTreeViewMappingFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gpointer s_user_data); gboolean S_GtkTreeViewSearchEqualFunc(GtkTreeModel* s_model, gint s_column, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_search_data); void S_GtkTreeDestroyCountFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gint s_children, gpointer s_user_data); gboolean S_GtkTreeViewRowSeparatorFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data); void S_GtkCallback(GtkWidget* s_child, gpointer s_data); void S_GtkAccelMapForeach(gpointer s_data, const gchar* s_accel_path, guint s_accel_key, GdkModifierType s_accel_mods, gboolean s_changed); gboolean S_GtkAccelGroupFindFunc(GtkAccelKey* s_key, GClosure* s_closure, gpointer s_data); gboolean S_GtkAccelGroupActivate(GtkAccelGroup* s_accel_group, GObject* s_acceleratable, guint s_keyval, GdkModifierType s_modifier); void S_GtkTextTagTableForeach(GtkTextTag* s_tag, gpointer s_data); gboolean S_GtkTextCharPredicate(gunichar s_ch, gpointer s_user_data); void S_GtkItemFactoryCallback1(gpointer s_callback_data, guint s_callback_action, GtkWidget* s_widget); void S_GtkItemFactoryCallback2(GtkWidget* s_widget, gpointer s_callback_data, guint s_callback_action); #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkAssistantPageFunc(gint s_current_page, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkClipboardRichTextReceivedFunc(GtkClipboard* s_clipboard, GdkAtom s_format, const guint8* s_text, gsize s_length, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkLinkButtonUriFunc(GtkLinkButton* s_button, const gchar* s_link, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* S_GtkNotebookWindowCreationFunc(GtkNotebook* s_source, GtkWidget* s_page, gint s_x, gint s_y, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPageSetupDoneFunc(GtkPageSetup* s_page_setup, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPrintSettingsFunc(const gchar* s_key, const gchar* s_value, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkRecentSortFunc(GtkRecentInfo* s_a, GtkRecentInfo* s_b, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkRecentFilterFunc(const GtkRecentFilterInfo* s_filter_info, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkTextBufferDeserializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_iter, const guint8* s_data, gsize s_length, gboolean s_create_tags, gpointer s_user_data, GError** s_error); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkTreeViewSearchPositionFunc(GtkTreeView* s_tree_view, GtkWidget* s_search_dialog, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_GtkBuilderConnectFunc(GtkBuilder* s_builder, GObject* s_object, const gchar* s_signal_name, const gchar* s_handler_name, GObject* s_connect_object, guint s_flags, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 14, 0) gchar* S_GtkCalendarDetailFunc(GtkCalendar* s_calendar, guint s_year, guint s_month, guint s_day, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_GtkClipboardURIReceivedFunc(GtkClipboard* s_clipboard, gchar** s_uris, gpointer s_user_data); #endif #endif RGtk2/inst/include/RGtk2/pangoUserFuncImports.c0000644000176000001440000000177312362217673021106 0ustar ripleyusersgboolean S_PangoFontsetForeachFunc(PangoFontset* fontset, PangoFont* font, gpointer data) { static gboolean (*fun)(PangoFontset*, PangoFont*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(PangoFontset*, PangoFont*, gpointer))R_GetCCallable("RGtk2", "S_PangoFontsetForeachFunc")); return(fun(fontset, font, data)); } gboolean S_PangoAttrFilterFunc(PangoAttribute* attribute, gpointer data) { static gboolean (*fun)(PangoAttribute*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(PangoAttribute*, gpointer))R_GetCCallable("RGtk2", "S_PangoAttrFilterFunc")); return(fun(attribute, data)); } #if PANGO_CHECK_VERSION(1, 18, 0) gboolean S_PangoCairoShapeRendererFunc(cairo_t* cr, PangoAttrShape* attr, gboolean do_path, gpointer data) { static gboolean (*fun)(cairo_t*, PangoAttrShape*, gboolean, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(cairo_t*, PangoAttrShape*, gboolean, gpointer))R_GetCCallable("RGtk2", "S_PangoCairoShapeRendererFunc")); return(fun(cr, attr, do_path, data)); } #endif RGtk2/configure.in0000644000176000001440000000220712302646652013553 0ustar ripleyusersAC_INIT(src/Rgtk.c) DEFINES= EXTRA_MODULES= CC=`"${R_HOME}/bin/R" CMD config CC` AC_ARG_ENABLE(introspection, [ --disable-introspection Disable introspection support], [use_introspection=$enableval], [use_introspection=yes]) if test "x$use_introspection" = "xyes"; then PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection, have_introspection=yes,have_introspection=no) fi if test "x$have_introspection" = "xyes"; then EXTRA_MODULES="$EXTRA_MODULES gobject-introspection" DEFINES="$DEFINES -DHAVE_INTROSPECTION" fi GTK_VERSION="2.8.0" PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES, HAVE_GTK="1", AC_MSG_ERROR(GTK version $GTK_VERSION required)) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) AC_SUBST(HAVE_GTK) PKG_CHECK_MODULES(GTHREAD, gthread-2.0, HAVE_GTHREAD=yes, AC_MSG_WARN(No GLib thread support: disabling threads)) AC_SUBST(GTHREAD_LIBS) AC_CHECK_TYPES([uintptr_t], [DEFINES="$DEFINES -DHAVE_UINTPTR_T"]) ## allow specifying arbitrary flags here AC_SUBST(CPPFLAGS) AC_SUBST(LIBS) AC_SUBST(R_PACKAGE_DIR) AC_SUBST(INSTALL_DIR) AC_SUBST(DEFINES) AC_OUTPUT(src/Makevars) RGtk2/src/0000755000176000001440000000000012362467227012035 5ustar ripleyusersRGtk2/src/gdkAccessors.c0000644000176000001440000011050612362467242014614 0ustar ripleyusers#include #include USER_OBJECT_ S_GdkDeviceGetName (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; gchar* val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->name; _result = asRString(val); return(_result); } USER_OBJECT_ S_GdkDeviceGetSource (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; GdkInputSource val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->source; _result = asREnum(val, GDK_TYPE_INPUT_SOURCE); return(_result); } USER_OBJECT_ S_GdkDeviceGetMode (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; GdkInputMode val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->mode; _result = asREnum(val, GDK_TYPE_INPUT_MODE); return(_result); } USER_OBJECT_ S_GdkDeviceGetHasCursor (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; gboolean val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->has_cursor; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkDeviceGetNumAxes (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; gint val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->num_axes; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkDeviceGetAxes (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; GdkDeviceAxis* val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->axes; _result = toRPointer(val, "GdkDeviceAxis"); return(_result); } USER_OBJECT_ S_GdkDeviceGetNumKeys (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; gint val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->num_keys; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkDeviceGetKeys (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice *obj; GdkDeviceKey* val; obj = GDK_DEVICE(getPtrValue(s_obj)) ; val = obj->keys; _result = toRPointer(val, "GdkDeviceKey"); return(_result); } USER_OBJECT_ S_GdkDragContextGetProtocol (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragProtocol val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->protocol; _result = asREnum(val, GDK_TYPE_DRAG_PROTOCOL); return(_result); } USER_OBJECT_ S_GdkDragContextGetIsSource (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; gboolean val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->is_source; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkDragContextGetSourceWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkWindow* val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->source_window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GdkDragContextGetDestWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkWindow* val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->dest_window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GdkDragContextGetTargets (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GList* val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->targets; _result = asRGListConv(val, ((ElementConverter)asRGdkAtom)); return(_result); } USER_OBJECT_ S_GdkDragContextGetActions (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragAction val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->actions; _result = asRFlag(val, GDK_TYPE_DRAG_ACTION); return(_result); } USER_OBJECT_ S_GdkDragContextGetSuggestedAction (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragAction val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->suggested_action; _result = asRFlag(val, GDK_TYPE_DRAG_ACTION); return(_result); } USER_OBJECT_ S_GdkDragContextGetAction (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; GdkDragAction val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->action; _result = asRFlag(val, GDK_TYPE_DRAG_ACTION); return(_result); } USER_OBJECT_ S_GdkDragContextGetStartTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext *obj; guint32 val; obj = GDK_DRAG_CONTEXT(getPtrValue(s_obj)) ; val = obj->start_time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkImageGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; GdkImageType val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, GDK_TYPE_IMAGE_TYPE); return(_result); } USER_OBJECT_ S_GdkImageGetVisual (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; GdkVisual* val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->visual; _result = toRPointerWithRef(val, "GdkVisual"); return(_result); } USER_OBJECT_ S_GdkImageGetByteOrder (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; GdkByteOrder val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->byte_order; _result = asREnum(val, GDK_TYPE_BYTE_ORDER); return(_result); } USER_OBJECT_ S_GdkImageGetWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; gint val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->width; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetHeight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; gint val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->height; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetDepth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; guint16 val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->depth; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetBpp (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; guint16 val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->bpp; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetBpl (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; guint16 val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->bpl; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetBitsPerPixel (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; guint16 val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->bits_per_pixel; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkImageGetMem (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; guchar* val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->mem; _result = asRRawArrayWithSize(val, obj->width*obj->height*obj->bpp); return(_result); } USER_OBJECT_ S_GdkImageGetColormap (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage *obj; GdkColormap* val; obj = GDK_IMAGE(getPtrValue(s_obj)) ; val = obj->colormap; _result = toRPointerWithRef(val, "GdkColormap"); return(_result); } USER_OBJECT_ S_GdkVisualGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; GdkVisualType val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, GDK_TYPE_VISUAL_TYPE); return(_result); } USER_OBJECT_ S_GdkVisualGetDepth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->depth; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetByteOrder (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; GdkByteOrder val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->byte_order; _result = asREnum(val, GDK_TYPE_BYTE_ORDER); return(_result); } USER_OBJECT_ S_GdkVisualGetColormapSize (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->colormap_size; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetBitsPerRgb (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->bits_per_rgb; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetRedMask (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; guint32 val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->red_mask; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkVisualGetRedShift (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->red_shift; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetRedPrec (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->red_prec; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetGreenMask (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; guint32 val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->green_mask; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkVisualGetGreenShift (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->green_shift; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetGreenPrec (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->green_prec; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetBlueMask (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; guint32 val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->blue_mask; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkVisualGetBlueShift (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->blue_shift; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkVisualGetBluePrec (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual *obj; gint val; obj = GDK_VISUAL(getPtrValue(s_obj)) ; val = obj->blue_prec; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkFontGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont *obj; GdkFontType val; obj = ((GdkFont*)getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, GDK_TYPE_FONT_TYPE); return(_result); } USER_OBJECT_ S_GdkFontGetAscent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont *obj; gint val; obj = ((GdkFont*)getPtrValue(s_obj)) ; val = obj->ascent; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkFontGetDescent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont *obj; gint val; obj = ((GdkFont*)getPtrValue(s_obj)) ; val = obj->descent; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkCursorGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkCursor *obj; GdkCursorType val; obj = ((GdkCursor*)getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, GDK_TYPE_CURSOR_TYPE); return(_result); } USER_OBJECT_ S_GdkEventAnyGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventAny *obj; GdkEventType val; obj = ((GdkEventAny*)getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, GDK_TYPE_EVENT_TYPE); return(_result); } USER_OBJECT_ S_GdkEventAnyGetWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventAny *obj; GdkWindow* val; obj = ((GdkEventAny*)getPtrValue(s_obj)) ; val = obj->window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GdkEventAnyGetSendEvent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventAny *obj; gint8 val; obj = ((GdkEventAny*)getPtrValue(s_obj)) ; val = obj->send_event; _result = asRRaw(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; guint32 val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; guint val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetKeyval (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; guint val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->keyval; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetLength (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; gint val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->length; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetString (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; gchar* val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->string; _result = asRString(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetHardwareKeycode (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; guint16 val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->hardware_keycode; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventKeyGetGroup (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventKey *obj; guint8 val; obj = ((GdkEventKey*)getPtrValue(s_obj)) ; val = obj->group; _result = asRRaw(val); return(_result); } USER_OBJECT_ S_GdkEventSelectionGetSelection (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSelection *obj; GdkAtom val; obj = ((GdkEventSelection*)getPtrValue(s_obj)) ; val = obj->selection; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventSelectionGetTarget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSelection *obj; GdkAtom val; obj = ((GdkEventSelection*)getPtrValue(s_obj)) ; val = obj->target; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventSelectionGetProperty (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSelection *obj; GdkAtom val; obj = ((GdkEventSelection*)getPtrValue(s_obj)) ; val = obj->property; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventSelectionGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSelection *obj; guint32 val; obj = ((GdkEventSelection*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventSelectionGetRequestor (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSelection *obj; GdkNativeWindow val; obj = ((GdkEventSelection*)getPtrValue(s_obj)) ; val = obj->requestor; _result = asRGdkNativeWindow(val); return(_result); } USER_OBJECT_ S_GdkEventDNDGetContext (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventDND *obj; GdkDragContext* val; obj = ((GdkEventDND*)getPtrValue(s_obj)) ; val = obj->context; _result = toRPointerWithRef(val, "GdkDragContext"); return(_result); } USER_OBJECT_ S_GdkEventDNDGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventDND *obj; guint32 val; obj = ((GdkEventDND*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventDNDGetXRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventDND *obj; gshort val; obj = ((GdkEventDND*)getPtrValue(s_obj)) ; val = obj->x_root; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventDNDGetYRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventDND *obj; gshort val; obj = ((GdkEventDND*)getPtrValue(s_obj)) ; val = obj->y_root; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventExposeGetArea (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventExpose *obj; GdkRectangle val; obj = ((GdkEventExpose*)getPtrValue(s_obj)) ; val = obj->area; _result = asRGdkRectangle(&val); return(_result); } USER_OBJECT_ S_GdkEventExposeGetRegion (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventExpose *obj; GdkRegion* val; obj = ((GdkEventExpose*)getPtrValue(s_obj)) ; val = obj->region; _result = toRPointer(val, "GdkRegion"); return(_result); } USER_OBJECT_ S_GdkEventExposeGetCount (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventExpose *obj; gint val; obj = ((GdkEventExpose*)getPtrValue(s_obj)) ; val = obj->count; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; guint32 val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; gdouble val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->x; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; gdouble val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->y; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetAxes (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; gdouble* val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->axes; _result = asRNumericArray(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; guint val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; guint val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->button; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetDevice (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; GdkDevice* val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->device; _result = toRPointerWithRef(val, "GdkDevice"); return(_result); } USER_OBJECT_ S_GdkEventButtonGetXRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; gdouble val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->x_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventButtonGetYRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventButton *obj; gdouble val; obj = ((GdkEventButton*)getPtrValue(s_obj)) ; val = obj->y_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; guint32 val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; gdouble val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->x; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; gdouble val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->y; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; guint val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetDirection (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; GdkScrollDirection val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->direction; _result = asREnum(val, GDK_TYPE_SCROLL_DIRECTION); return(_result); } USER_OBJECT_ S_GdkEventScrollGetDevice (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; GdkDevice* val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->device; _result = toRPointerWithRef(val, "GdkDevice"); return(_result); } USER_OBJECT_ S_GdkEventScrollGetXRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; gdouble val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->x_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventScrollGetYRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventScroll *obj; gdouble val; obj = ((GdkEventScroll*)getPtrValue(s_obj)) ; val = obj->y_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; guint32 val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gdouble val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->x; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gdouble val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->y; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetAxes (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gdouble* val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->axes; _result = asRNumericArray(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; guint val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetIsHint (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gint16 val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->is_hint; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetDevice (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; GdkDevice* val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->device; _result = toRPointerWithRef(val, "GdkDevice"); return(_result); } USER_OBJECT_ S_GdkEventMotionGetXRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gdouble val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->x_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventMotionGetYRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventMotion *obj; gdouble val; obj = ((GdkEventMotion*)getPtrValue(s_obj)) ; val = obj->y_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventVisibilityGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventVisibility *obj; GdkVisibilityState val; obj = ((GdkEventVisibility*)getPtrValue(s_obj)) ; val = obj->state; _result = asREnum(val, GDK_TYPE_VISIBILITY_STATE); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; guint32 val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; gdouble val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->x; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; gdouble val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->y; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetXRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; gdouble val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->x_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetYRoot (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; gdouble val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->y_root; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetMode (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; GdkCrossingMode val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->mode; _result = asREnum(val, GDK_TYPE_CROSSING_MODE); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetDetail (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; GdkNotifyType val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->detail; _result = asREnum(val, GDK_TYPE_NOTIFY_TYPE); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetFocus (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; gboolean val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->focus; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkEventCrossingGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventCrossing *obj; guint val; obj = ((GdkEventCrossing*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventFocusGetIn (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventFocus *obj; gint16 val; obj = ((GdkEventFocus*)getPtrValue(s_obj)) ; val = obj->in; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventConfigureGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventConfigure *obj; gint val; obj = ((GdkEventConfigure*)getPtrValue(s_obj)) ; val = obj->x; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventConfigureGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventConfigure *obj; gint val; obj = ((GdkEventConfigure*)getPtrValue(s_obj)) ; val = obj->y; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventConfigureGetWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventConfigure *obj; gint val; obj = ((GdkEventConfigure*)getPtrValue(s_obj)) ; val = obj->width; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventConfigureGetHeight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventConfigure *obj; gint val; obj = ((GdkEventConfigure*)getPtrValue(s_obj)) ; val = obj->height; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GdkEventPropertyGetAtom (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventProperty *obj; GdkAtom val; obj = ((GdkEventProperty*)getPtrValue(s_obj)) ; val = obj->atom; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventPropertyGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventProperty *obj; guint32 val; obj = ((GdkEventProperty*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventPropertyGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventProperty *obj; guint val; obj = ((GdkEventProperty*)getPtrValue(s_obj)) ; val = obj->state; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventProximityGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventProximity *obj; guint32 val; obj = ((GdkEventProximity*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventProximityGetDevice (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventProximity *obj; GdkDevice* val; obj = ((GdkEventProximity*)getPtrValue(s_obj)) ; val = obj->device; _result = toRPointerWithRef(val, "GdkDevice"); return(_result); } USER_OBJECT_ S_GdkEventWindowStateGetChangedMask (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventWindowState *obj; GdkWindowState val; obj = ((GdkEventWindowState*)getPtrValue(s_obj)) ; val = obj->changed_mask; _result = asRFlag(val, GDK_TYPE_WINDOW_STATE); return(_result); } USER_OBJECT_ S_GdkEventWindowStateGetNewWindowState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventWindowState *obj; GdkWindowState val; obj = ((GdkEventWindowState*)getPtrValue(s_obj)) ; val = obj->new_window_state; _result = asRFlag(val, GDK_TYPE_WINDOW_STATE); return(_result); } USER_OBJECT_ S_GdkEventSettingGetAction (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSetting *obj; GdkSettingAction val; obj = ((GdkEventSetting*)getPtrValue(s_obj)) ; val = obj->action; _result = asREnum(val, GDK_TYPE_SETTING_ACTION); return(_result); } USER_OBJECT_ S_GdkEventSettingGetName (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventSetting *obj; char* val; obj = ((GdkEventSetting*)getPtrValue(s_obj)) ; val = obj->name; _result = asRString(val); return(_result); } USER_OBJECT_ S_GdkEventOwnerChangeGetOwner (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventOwnerChange *obj; GdkNativeWindow val; obj = ((GdkEventOwnerChange*)getPtrValue(s_obj)) ; val = obj->owner; _result = asRGdkNativeWindow(val); return(_result); } USER_OBJECT_ S_GdkEventOwnerChangeGetReason (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventOwnerChange *obj; GdkOwnerChange val; obj = ((GdkEventOwnerChange*)getPtrValue(s_obj)) ; val = obj->reason; _result = asREnum(val, GDK_TYPE_OWNER_CHANGE); return(_result); } USER_OBJECT_ S_GdkEventOwnerChangeGetSelection (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventOwnerChange *obj; GdkAtom val; obj = ((GdkEventOwnerChange*)getPtrValue(s_obj)) ; val = obj->selection; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventOwnerChangeGetTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventOwnerChange *obj; guint32 val; obj = ((GdkEventOwnerChange*)getPtrValue(s_obj)) ; val = obj->time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventOwnerChangeGetSelectionTime (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventOwnerChange *obj; guint32 val; obj = ((GdkEventOwnerChange*)getPtrValue(s_obj)) ; val = obj->selection_time; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkEventClientGetMessageType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventClient *obj; GdkAtom val; obj = ((GdkEventClient*)getPtrValue(s_obj)) ; val = obj->message_type; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GdkEventGrabBrokenGetKeyboard (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventGrabBroken *obj; gboolean val; obj = ((GdkEventGrabBroken*)getPtrValue(s_obj)) ; val = obj->keyboard; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkEventGrabBrokenGetImplicit (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventGrabBroken *obj; gboolean val; obj = ((GdkEventGrabBroken*)getPtrValue(s_obj)) ; val = obj->implicit; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkEventGrabBrokenGetGrabWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventGrabBroken *obj; GdkWindow* val; obj = ((GdkEventGrabBroken*)getPtrValue(s_obj)) ; val = obj->grab_window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GdkDeviceKeyGetKeyval (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDeviceKey *obj; guint val; obj = ((GdkDeviceKey*)getPtrValue(s_obj)) ; val = obj->keyval; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkDeviceKeyGetModifiers (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDeviceKey *obj; GdkModifierType val; obj = ((GdkDeviceKey*)getPtrValue(s_obj)) ; val = obj->modifiers; _result = asRFlag(val, GDK_TYPE_MODIFIER_TYPE); return(_result); } USER_OBJECT_ S_GdkDeviceAxisGetUse (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDeviceAxis *obj; GdkAxisUse val; obj = ((GdkDeviceAxis*)getPtrValue(s_obj)) ; val = obj->use; _result = asREnum(val, GDK_TYPE_AXIS_USE); return(_result); } USER_OBJECT_ S_GdkDeviceAxisGetMin (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDeviceAxis *obj; gdouble val; obj = ((GdkDeviceAxis*)getPtrValue(s_obj)) ; val = obj->min; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkDeviceAxisGetMax (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDeviceAxis *obj; gdouble val; obj = ((GdkDeviceAxis*)getPtrValue(s_obj)) ; val = obj->max; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GdkPangoAttrEmbossedGetEmbossed (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoAttrEmbossed *obj; gboolean val; obj = ((GdkPangoAttrEmbossed*)getPtrValue(s_obj)) ; val = obj->embossed; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GdkPangoAttrStippleGetStipple (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoAttrStipple *obj; GdkBitmap* val; obj = ((GdkPangoAttrStipple*)getPtrValue(s_obj)) ; val = obj->stipple; _result = toRPointerWithRef(val, "GdkBitmap"); return(_result); } RGtk2/src/gtkAccessors.c0000644000176000001440000016543112362467242014643 0ustar ripleyusers#include #include USER_OBJECT_ S_GtkAdjustmentGetValue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->value; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkAdjustmentGetLower (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->lower; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkAdjustmentGetUpper (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->upper; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkAdjustmentGetStepIncrement (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->step_increment; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkAdjustmentGetPageIncrement (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->page_increment; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkAdjustmentGetPageSize (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment *obj; gfloat val; obj = GTK_ADJUSTMENT(getPtrValue(s_obj)) ; val = obj->page_size; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkBinGetChild (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBin *obj; GtkWidget* val; obj = GTK_BIN(getPtrValue(s_obj)) ; val = obj->child; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkBoxGetSpacing (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox *obj; gint16 val; obj = GTK_BOX(getPtrValue(s_obj)) ; val = obj->spacing; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkBoxGetHomogeneous (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox *obj; guint val; obj = GTK_BOX(getPtrValue(s_obj)) ; val = obj->homogeneous; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCheckMenuItemGetActive (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem *obj; gboolean val; obj = GTK_CHECK_MENU_ITEM(getPtrValue(s_obj)) ; val = obj->active; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GtkColorSelectionDialogGetColorsel (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionDialog *obj; GtkWidget* val; obj = GTK_COLOR_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->colorsel; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkColorSelectionDialogGetOkButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionDialog *obj; GtkWidget* val; obj = GTK_COLOR_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->ok_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkColorSelectionDialogGetCancelButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionDialog *obj; GtkWidget* val; obj = GTK_COLOR_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->cancel_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkColorSelectionDialogGetHelpButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionDialog *obj; GtkWidget* val; obj = GTK_COLOR_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->help_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkComboGetEntry (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo *obj; GtkWidget* val; obj = GTK_COMBO(getPtrValue(s_obj)) ; val = obj->entry; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkComboGetList (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo *obj; GtkWidget* val; obj = GTK_COMBO(getPtrValue(s_obj)) ; val = obj->list; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkContainerGetFocusChild (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; GtkWidget* val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->focus_child; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkContainerGetBorderWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; guint val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->border_width; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkContainerGetNeedResize (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; guint val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->need_resize; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkContainerGetResizeMode (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; guint val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->resize_mode; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkContainerGetReallocateRedraws (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; guint val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->reallocate_redraws; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkContainerGetHasFocusChain (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer *obj; guint val; obj = GTK_CONTAINER(getPtrValue(s_obj)) ; val = obj->has_focus_chain; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkDialogGetVbox (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog *obj; GtkWidget* val; obj = GTK_DIALOG(getPtrValue(s_obj)) ; val = obj->vbox; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkDialogGetActionArea (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog *obj; GtkWidget* val; obj = GTK_DIALOG(getPtrValue(s_obj)) ; val = obj->action_area; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetDirList (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->dir_list; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileList (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->file_list; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetSelectionEntry (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->selection_entry; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetSelectionText (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->selection_text; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetMainVbox (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->main_vbox; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetOkButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->ok_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetCancelButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->cancel_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetHelpButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->help_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetHistoryPulldown (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->history_pulldown; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetHistoryMenu (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->history_menu; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopDialog (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_dialog; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopEntry (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_entry; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopFile (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; gchar* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_file; _result = asRString(val); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopCDir (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_c_dir; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopDelFile (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_del_file; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetFileopRenFile (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->fileop_ren_file; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetButtonArea (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->button_area; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFileSelectionGetActionArea (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection *obj; GtkWidget* val; obj = GTK_FILE_SELECTION(getPtrValue(s_obj)) ; val = obj->action_area; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFixedGetChildren (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixed *obj; GList* val; obj = GTK_FIXED(getPtrValue(s_obj)) ; val = obj->children; _result = asRGList(val, "GtkFixedChild"); return(_result); } USER_OBJECT_ S_GtkFontSelectionDialogGetOkButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog *obj; GtkWidget* val; obj = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->ok_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFontSelectionDialogGetApplyButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog *obj; GtkWidget* val; obj = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->apply_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFontSelectionDialogGetCancelButton (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog *obj; GtkWidget* val; obj = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_obj)) ; val = obj->cancel_button; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkGammaCurveGetTable (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkGammaCurve *obj; GtkWidget* val; obj = GTK_GAMMA_CURVE(getPtrValue(s_obj)) ; val = obj->table; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkGammaCurveGetCurve (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkGammaCurve *obj; GtkWidget* val; obj = GTK_GAMMA_CURVE(getPtrValue(s_obj)) ; val = obj->curve; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkGammaCurveGetGamma (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkGammaCurve *obj; gfloat val; obj = GTK_GAMMA_CURVE(getPtrValue(s_obj)) ; val = obj->gamma; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkGammaCurveGetGammaDialog (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkGammaCurve *obj; GtkWidget* val; obj = GTK_GAMMA_CURVE(getPtrValue(s_obj)) ; val = obj->gamma_dialog; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkGammaCurveGetGammaText (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkGammaCurve *obj; GtkWidget* val; obj = GTK_GAMMA_CURVE(getPtrValue(s_obj)) ; val = obj->gamma_text; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkLayoutGetBinWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout *obj; GdkWindow* val; obj = GTK_LAYOUT(getPtrValue(s_obj)) ; val = obj->bin_window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GtkMessageDialogGetImage (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMessageDialog *obj; GtkWidget* val; obj = GTK_MESSAGE_DIALOG(getPtrValue(s_obj)) ; val = obj->image; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkMessageDialogGetLabel (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMessageDialog *obj; GtkWidget* val; obj = GTK_MESSAGE_DIALOG(getPtrValue(s_obj)) ; val = obj->label; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkNotebookGetTabPos (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook *obj; GtkPositionType val; obj = GTK_NOTEBOOK(getPtrValue(s_obj)) ; val = obj->tab_pos; _result = asREnum(val, GTK_TYPE_POSITION_TYPE); return(_result); } USER_OBJECT_ S_GtkStyleGetFg (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->fg; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetBg (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->bg; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetLight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->light; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetDark (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->dark; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetMid (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->mid; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetText (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->text; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetBase (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->base; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetTextAa (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->text_aa; _result = asRArrayRefWithSize(val, asRGdkColor, 5); return(_result); } USER_OBJECT_ S_GtkStyleGetWhite (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->white; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkStyleGetBlack (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkColor val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->black; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkStyleGetFontDesc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; PangoFontDescription* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->font_desc; _result = toRPointerWithFinalizer(val ? pango_font_description_copy(val) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_GtkStyleGetXthickness (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; gint val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->xthickness; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkStyleGetYthickness (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; gint val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->ythickness; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkStyleGetFgGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->fg_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetBgGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->bg_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetLightGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->light_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetDarkGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->dark_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetMidGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->mid_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetTextGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->text_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetBaseGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->base_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetTextAaGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->text_aa_gc; _result = toRPointerWithRefArrayWithSize(val, "GdkGC", 5); return(_result); } USER_OBJECT_ S_GtkStyleGetWhiteGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->white_gc; _result = toRPointerWithRef(val, "GdkGC"); return(_result); } USER_OBJECT_ S_GtkStyleGetBlackGc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkGC* val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->black_gc; _result = toRPointerWithRef(val, "GdkGC"); return(_result); } USER_OBJECT_ S_GtkStyleGetBgPixmap (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle *obj; GdkPixmap** val; obj = GTK_STYLE(getPtrValue(s_obj)) ; val = obj->bg_pixmap; _result = toRPointerWithRef(val, "GdkPixmap"); return(_result); } USER_OBJECT_ S_GtkTableGetChildren (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable *obj; GList* val; obj = GTK_TABLE(getPtrValue(s_obj)) ; val = obj->children; _result = asRGList(val, "GtkTableChild"); return(_result); } USER_OBJECT_ S_GtkTableGetRows (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable *obj; GtkTableRowCol* val; obj = GTK_TABLE(getPtrValue(s_obj)) ; val = obj->rows; _result = toRPointer(val, "GtkTableRowCol"); return(_result); } USER_OBJECT_ S_GtkTableGetCols (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable *obj; GtkTableRowCol* val; obj = GTK_TABLE(getPtrValue(s_obj)) ; val = obj->cols; _result = toRPointer(val, "GtkTableRowCol"); return(_result); } USER_OBJECT_ S_GtkTableGetNrows (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable *obj; gint16 val; obj = GTK_TABLE(getPtrValue(s_obj)) ; val = obj->nrows; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableGetNcols (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable *obj; gint16 val; obj = GTK_TABLE(getPtrValue(s_obj)) ; val = obj->ncols; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextBufferGetTagTable (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer *obj; GtkTextTagTable* val; obj = GTK_TEXT_BUFFER(getPtrValue(s_obj)) ; val = obj->tag_table; _result = toRPointerWithRef(val, "GtkTextTagTable"); return(_result); } USER_OBJECT_ S_GtkToggleButtonGetDrawIndicator (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton *obj; gboolean val; obj = GTK_TOGGLE_BUTTON(getPtrValue(s_obj)) ; val = obj->draw_indicator; _result = asRLogical(val); return(_result); } USER_OBJECT_ S_GtkWidgetGetStyle (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget *obj; GtkStyle* val; obj = GTK_WIDGET(getPtrValue(s_obj)) ; val = obj->style; _result = toRPointerWithRef(val, "GtkStyle"); return(_result); } USER_OBJECT_ S_GtkWidgetGetRequisition (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget *obj; GtkRequisition val; obj = GTK_WIDGET(getPtrValue(s_obj)) ; val = obj->requisition; _result = toRPointerWithFinalizer(&val ? gtk_requisition_copy(&val) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free); return(_result); } USER_OBJECT_ S_GtkWidgetGetAllocation (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget *obj; GtkAllocation val; obj = GTK_WIDGET(getPtrValue(s_obj)) ; val = obj->allocation; _result = asRGtkAllocation(&val); return(_result); } USER_OBJECT_ S_GtkWidgetGetWindow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget *obj; GdkWindow* val; obj = GTK_WIDGET(getPtrValue(s_obj)) ; val = obj->window; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GtkWidgetGetParent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget *obj; GtkWidget* val; obj = GTK_WIDGET(getPtrValue(s_obj)) ; val = obj->parent; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkWindowGetTitle (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; gchar* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->title; _result = asRString(val); return(_result); } USER_OBJECT_ S_GtkWindowGetWmclassName (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; gchar* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->wmclass_name; _result = asRString(val); return(_result); } USER_OBJECT_ S_GtkWindowGetWmclassClass (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; gchar* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->wmclass_class; _result = asRString(val); return(_result); } USER_OBJECT_ S_GtkWindowGetWmRole (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; gchar* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->wm_role; _result = asRString(val); return(_result); } USER_OBJECT_ S_GtkWindowGetFocusWidget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GtkWidget* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->focus_widget; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkWindowGetDefaultWidget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GtkWidget* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->default_widget; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkWindowGetTransientParent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GtkWindow* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->transient_parent; _result = toRPointerWithSink(val, "GtkWindow"); return(_result); } USER_OBJECT_ S_GtkWindowGetFrame (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GdkWindow* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->frame; _result = toRPointerWithRef(val, "GdkWindow"); return(_result); } USER_OBJECT_ S_GtkWindowGetGroup (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GtkWindowGroup* val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->group; _result = toRPointerWithRef(val, "GtkWindowGroup"); return(_result); } USER_OBJECT_ S_GtkWindowGetConfigureRequestCount (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint16 val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->configure_request_count; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkWindowGetAllowShrink (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->allow_shrink; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetAllowGrow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->allow_grow; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetConfigureNotifyReceived (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->configure_notify_received; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetNeedDefaultPosition (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->need_default_position; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetNeedDefaultSize (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->need_default_size; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetPosition (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->position; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->type; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetHasUserRefCount (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->has_user_ref_count; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetHasFocus (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->has_focus; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetModal (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->modal; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetDestroyWithParent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->destroy_with_parent; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetHasFrame (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->has_frame; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetIconifyInitially (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->iconify_initially; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetStickInitially (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->stick_initially; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetMaximizeInitially (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->maximize_initially; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetDecorated (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->decorated; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetTypeHint (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->type_hint; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetGravity (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->gravity; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetFrameLeft (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->frame_left; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetFrameTop (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->frame_top; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetFrameRight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->frame_right; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetFrameBottom (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->frame_bottom; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetKeysChangedHandler (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; guint val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->keys_changed_handler; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkWindowGetMnemonicModifier (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow *obj; GdkModifierType val; obj = GTK_WINDOW(getPtrValue(s_obj)) ; val = obj->mnemonic_modifier; _result = asRFlag(val, GDK_TYPE_MODIFIER_TYPE); return(_result); } USER_OBJECT_ S_GtkRequisitionGetWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRequisition *obj; gint val; obj = ((GtkRequisition*)getPtrValue(s_obj)) ; val = obj->width; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkRequisitionGetHeight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRequisition *obj; gint val; obj = ((GtkRequisition*)getPtrValue(s_obj)) ; val = obj->height; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkSelectionDataGetSelection (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData *obj; GdkAtom val; obj = ((GtkSelectionData*)getPtrValue(s_obj)) ; val = obj->selection; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GtkSelectionDataGetTarget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData *obj; GdkAtom val; obj = ((GtkSelectionData*)getPtrValue(s_obj)) ; val = obj->target; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GtkSelectionDataGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData *obj; GdkAtom val; obj = ((GtkSelectionData*)getPtrValue(s_obj)) ; val = obj->type; _result = asRGdkAtom(val); return(_result); } USER_OBJECT_ S_GtkSelectionDataGetFormat (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData *obj; gint val; obj = ((GtkSelectionData*)getPtrValue(s_obj)) ; val = obj->format; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkSelectionDataGetData (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData *obj; guchar* val; obj = ((GtkSelectionData*)getPtrValue(s_obj)) ; val = obj->data; _result = asRRawArray(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetAppearance (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; GtkTextAppearance val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->appearance; _result = toRPointer(&val, "GtkTextAppearance"); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetJustification (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; GtkJustification val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->justification; _result = asREnum(val, GTK_TYPE_JUSTIFICATION); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetDirection (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; GtkTextDirection val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->direction; _result = asREnum(val, GTK_TYPE_TEXT_DIRECTION); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetFont (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; PangoFontDescription* val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->font; _result = toRPointerWithFinalizer(val ? pango_font_description_copy(val) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetFontScale (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gdouble val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->font_scale; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetLeftMargin (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->left_margin; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetIndent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->indent; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetRightMargin (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->right_margin; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetPixelsAboveLines (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->pixels_above_lines; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetPixelsBelowLines (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->pixels_below_lines; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetPixelsInsideWrap (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; gint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->pixels_inside_wrap; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetTabs (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; PangoTabArray* val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->tabs; _result = toRPointerWithFinalizer(val ? pango_tab_array_copy(val) : NULL, "PangoTabArray", (RPointerFinalizer) pango_tab_array_free); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetWrapMode (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; GtkWrapMode val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->wrap_mode; _result = asREnum(val, GTK_TYPE_WRAP_MODE); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetLanguage (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; PangoLanguage* val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->language; _result = toRPointer(val ? (val) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetInvisible (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; guint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->invisible; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetBgFullHeight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; guint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->bg_full_height; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetEditable (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; guint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->editable; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAttributesGetRealized (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes *obj; guint val; obj = ((GtkTextAttributes*)getPtrValue(s_obj)) ; val = obj->realized; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetRow (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GtkCListRow val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->row; _result = toRPointer(&val, "GtkCListRow"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetParent (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GtkCTreeNode* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->parent; _result = toRPointer(val, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetSibling (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GtkCTreeNode* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->sibling; _result = toRPointer(val, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetChildren (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GtkCTreeNode* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->children; _result = toRPointer(val, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetPixmapClosed (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GdkPixmap* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->pixmap_closed; _result = toRPointerWithRef(val, "GdkPixmap"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetMaskClosed (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GdkBitmap* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->mask_closed; _result = toRPointerWithRef(val, "GdkBitmap"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetPixmapOpened (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GdkPixmap* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->pixmap_opened; _result = toRPointerWithRef(val, "GdkPixmap"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetMaskOpened (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; GdkBitmap* val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->mask_opened; _result = toRPointerWithRef(val, "GdkBitmap"); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetLevel (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; guint16 val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->level; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetIsLeaf (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; guint val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->is_leaf; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCTreeRowGetExpanded (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeRow *obj; guint val; obj = ((GtkCTreeRow*)getPtrValue(s_obj)) ; val = obj->expanded; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCListRowGetCell (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GtkCell* val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->cell; _result = toRPointer(val, "GtkCell"); return(_result); } USER_OBJECT_ S_GtkCListRowGetState (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GtkStateType val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->state; _result = asREnum(val, GTK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_GtkCListRowGetForeground (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GdkColor val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->foreground; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkCListRowGetBackground (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GdkColor val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->background; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkCListRowGetStyle (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GtkStyle* val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->style; _result = toRPointerWithRef(val, "GtkStyle"); return(_result); } USER_OBJECT_ S_GtkCListRowGetData (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; gpointer val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->data; _result = val; return(_result); } USER_OBJECT_ S_GtkCListRowGetDestroy (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; GtkDestroyNotify val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->destroy; _result = toRPointer(&val, "GtkDestroyNotify"); return(_result); } USER_OBJECT_ S_GtkCListRowGetFgSet (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; guint val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->fg_set; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCListRowGetBgSet (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; guint val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->bg_set; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkCListRowGetSelectable (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListRow *obj; guint val; obj = ((GtkCListRow*)getPtrValue(s_obj)) ; val = obj->selectable; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetBgColor (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; GdkColor val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->bg_color; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetFgColor (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; GdkColor val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->fg_color; _result = asRGdkColor(&val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetBgStipple (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; GdkBitmap* val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->bg_stipple; _result = toRPointerWithRef(val, "GdkBitmap"); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetFgStipple (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; GdkBitmap* val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->fg_stipple; _result = toRPointerWithRef(val, "GdkBitmap"); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetRise (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; gint val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->rise; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetUnderline (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; guint val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->underline; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetStrikethrough (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; guint val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->strikethrough; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTextAppearanceGetDrawBg (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAppearance *obj; guint val; obj = ((GtkTextAppearance*)getPtrValue(s_obj)) ; val = obj->draw_bg; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkBoxChildGetWidget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; GtkWidget* val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->widget; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkBoxChildGetPadding (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; guint16 val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->padding; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkBoxChildGetExpand (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; guint val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->expand; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkBoxChildGetFill (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; guint val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->fill; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkBoxChildGetPack (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; guint val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->pack; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkBoxChildGetIsSecondary (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBoxChild *obj; guint val; obj = ((GtkBoxChild*)getPtrValue(s_obj)) ; val = obj->is_secondary; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkFixedChildGetWidget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixedChild *obj; GtkWidget* val; obj = ((GtkFixedChild*)getPtrValue(s_obj)) ; val = obj->widget; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkFixedChildGetX (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixedChild *obj; gint val; obj = ((GtkFixedChild*)getPtrValue(s_obj)) ; val = obj->x; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkFixedChildGetY (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixedChild *obj; gint val; obj = ((GtkFixedChild*)getPtrValue(s_obj)) ; val = obj->y; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkPreviewInfoGetLookup (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreviewInfo *obj; guchar* val; obj = ((GtkPreviewInfo*)getPtrValue(s_obj)) ; val = obj->lookup; _result = asRRawArray(val); return(_result); } USER_OBJECT_ S_GtkPreviewInfoGetGamma (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreviewInfo *obj; gdouble val; obj = ((GtkPreviewInfo*)getPtrValue(s_obj)) ; val = obj->gamma; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetRequisition (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint16 val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->requisition; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetAllocation (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint16 val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->allocation; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetSpacing (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint16 val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->spacing; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetNeedExpand (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->need_expand; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetNeedShrink (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->need_shrink; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetExpand (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->expand; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetShrink (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->shrink; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableRowColGetEmpty (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableRowCol *obj; guint val; obj = ((GtkTableRowCol*)getPtrValue(s_obj)) ; val = obj->empty; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetWidget (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; GtkWidget* val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->widget; _result = toRPointerWithSink(val, "GtkWidget"); return(_result); } USER_OBJECT_ S_GtkTableChildGetLeftAttach (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->left_attach; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetRightAttach (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->right_attach; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetTopAttach (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->top_attach; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetBottomAttach (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->bottom_attach; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetXpadding (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->xpadding; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetYpadding (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint16 val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->ypadding; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetXexpand (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->xexpand; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetYexpand (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->yexpand; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetXshrink (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->xshrink; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetYshrink (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->yshrink; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetXfill (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->xfill; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_GtkTableChildGetYfill (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTableChild *obj; guint val; obj = ((GtkTableChild*)getPtrValue(s_obj)) ; val = obj->yfill; _result = asRNumeric(val); return(_result); } RGtk2/src/pangoFuncs.h0000644000176000001440000007135212362467242014316 0ustar ripleyusers#ifndef S_PANGO_FUNCS_H #define S_PANGO_FUNCS_H #include USER_OBJECT_ S_pango_color_get_type(void); USER_OBJECT_ S_pango_color_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_color_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_color_parse(USER_OBJECT_ s_spec); USER_OBJECT_ S_pango_attr_type_register(USER_OBJECT_ s_name); USER_OBJECT_ S_pango_attribute_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attribute_destroy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attribute_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_attr2); USER_OBJECT_ S_pango_attr_language_new(USER_OBJECT_ s_language); USER_OBJECT_ S_pango_attr_family_new(USER_OBJECT_ s_family); USER_OBJECT_ S_pango_attr_foreground_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_pango_attr_background_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_pango_attr_strikethrough_color_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_pango_attr_underline_color_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_pango_attr_size_new(USER_OBJECT_ s_size); USER_OBJECT_ S_pango_attr_size_new_absolute(USER_OBJECT_ s_size); USER_OBJECT_ S_pango_attr_style_new(USER_OBJECT_ s_style); USER_OBJECT_ S_pango_attr_weight_new(USER_OBJECT_ s_weight); USER_OBJECT_ S_pango_attr_variant_new(USER_OBJECT_ s_variant); USER_OBJECT_ S_pango_attr_stretch_new(USER_OBJECT_ s_stretch); USER_OBJECT_ S_pango_attr_font_desc_new(USER_OBJECT_ s_desc); USER_OBJECT_ S_pango_attr_underline_new(USER_OBJECT_ s_underline); USER_OBJECT_ S_pango_attr_strikethrough_new(USER_OBJECT_ s_strikethrough); USER_OBJECT_ S_pango_attr_rise_new(USER_OBJECT_ s_rise); USER_OBJECT_ S_pango_attr_shape_new(USER_OBJECT_ s_ink_rect, USER_OBJECT_ s_logical_rect); USER_OBJECT_ S_pango_attr_shape_new_with_data(USER_OBJECT_ s_ink_rect, USER_OBJECT_ s_logical_rect, USER_OBJECT_ s_data); USER_OBJECT_ S_pango_attr_letter_spacing_new(USER_OBJECT_ s_letter_spacing); USER_OBJECT_ S_pango_attr_scale_new(USER_OBJECT_ s_scale_factor); USER_OBJECT_ S_pango_attr_fallback_new(USER_OBJECT_ s_fallback); USER_OBJECT_ S_pango_attr_list_get_type(void); USER_OBJECT_ S_pango_attr_list_new(void); USER_OBJECT_ S_pango_attr_list_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_list_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_list_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_list_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_attr); USER_OBJECT_ S_pango_attr_list_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_attr); USER_OBJECT_ S_pango_attr_list_change(USER_OBJECT_ s_object, USER_OBJECT_ s_attr); USER_OBJECT_ S_pango_attr_list_splice(USER_OBJECT_ s_object, USER_OBJECT_ s_other, USER_OBJECT_ s_pos, USER_OBJECT_ s_len); USER_OBJECT_ S_pango_attr_list_get_iterator(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_list_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_pango_attr_iterator_range(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_iterator_next(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_iterator_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_iterator_destroy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_attr_iterator_get(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_pango_attr_iterator_get_attrs(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_parse_markup(USER_OBJECT_ s_markup_text, USER_OBJECT_ s_length, USER_OBJECT_ s_accel_marker); USER_OBJECT_ S_pango_find_paragraph_boundary(USER_OBJECT_ s_text, USER_OBJECT_ s_length); USER_OBJECT_ S_pango_cairo_font_map_get_type(void); USER_OBJECT_ S_pango_cairo_font_map_new(void); USER_OBJECT_ S_pango_cairo_font_map_get_default(void); USER_OBJECT_ S_pango_cairo_font_map_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_dpi); USER_OBJECT_ S_pango_cairo_font_map_get_resolution(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_cairo_font_map_create_context(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_cairo_update_context(USER_OBJECT_ s_cr, USER_OBJECT_ s_context); USER_OBJECT_ S_pango_cairo_context_set_font_options(USER_OBJECT_ s_context, USER_OBJECT_ s_options); USER_OBJECT_ S_pango_cairo_context_get_font_options(USER_OBJECT_ s_context); USER_OBJECT_ S_pango_cairo_context_set_resolution(USER_OBJECT_ s_context, USER_OBJECT_ s_dpi); USER_OBJECT_ S_pango_cairo_context_get_resolution(USER_OBJECT_ s_context); USER_OBJECT_ S_pango_cairo_create_layout(USER_OBJECT_ s_cr); USER_OBJECT_ S_pango_cairo_update_layout(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout); USER_OBJECT_ S_pango_cairo_show_glyph_string(USER_OBJECT_ s_cr, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_pango_cairo_show_layout_line(USER_OBJECT_ s_cr, USER_OBJECT_ s_line); USER_OBJECT_ S_pango_cairo_show_layout(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout); USER_OBJECT_ S_pango_cairo_glyph_string_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_pango_cairo_layout_line_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_line); USER_OBJECT_ S_pango_cairo_layout_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout); USER_OBJECT_ S_pango_context_set_font_map(USER_OBJECT_ s_object, USER_OBJECT_ s_font_map); USER_OBJECT_ S_pango_context_get_font_map(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_list_families(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_get_mirror_char(USER_OBJECT_ s_ch); USER_OBJECT_ S_pango_unichar_direction(USER_OBJECT_ s_ch); USER_OBJECT_ S_pango_find_base_dir(USER_OBJECT_ s_text, USER_OBJECT_ s_length); USER_OBJECT_ S_pango_context_load_font(USER_OBJECT_ s_object, USER_OBJECT_ s_desc); USER_OBJECT_ S_pango_context_load_fontset(USER_OBJECT_ s_object, USER_OBJECT_ s_desc, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_context_set_matrix(USER_OBJECT_ s_object, USER_OBJECT_ s_matrix); USER_OBJECT_ S_pango_context_get_matrix(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_desc, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_context_set_font_description(USER_OBJECT_ s_object, USER_OBJECT_ s_desc); USER_OBJECT_ S_pango_context_get_font_description(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_get_language(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_set_language(USER_OBJECT_ s_object, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_context_set_base_dir(USER_OBJECT_ s_object, USER_OBJECT_ s_direction); USER_OBJECT_ S_pango_context_get_base_dir(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_itemize(USER_OBJECT_ s_context, USER_OBJECT_ s_text, USER_OBJECT_ s_start_index, USER_OBJECT_ s_length, USER_OBJECT_ s_attrs, USER_OBJECT_ s_cached_iter); USER_OBJECT_ S_pango_itemize_with_base_dir(USER_OBJECT_ s_context, USER_OBJECT_ s_base_dir, USER_OBJECT_ s_text, USER_OBJECT_ s_start_index, USER_OBJECT_ s_length, USER_OBJECT_ s_attrs, USER_OBJECT_ s_cached_iter); USER_OBJECT_ S_pango_coverage_new(void); USER_OBJECT_ S_pango_coverage_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_coverage_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_coverage_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_coverage_get(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_pango_coverage_set(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_level); USER_OBJECT_ S_pango_coverage_max(USER_OBJECT_ s_object, USER_OBJECT_ s_other); USER_OBJECT_ S_pango_coverage_to_bytes(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_coverage_from_bytes(USER_OBJECT_ s_bytes); USER_OBJECT_ S_pango_font_description_new(void); USER_OBJECT_ S_pango_font_description_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_copy_static(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_hash(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_desc2); USER_OBJECT_ S_pango_font_description_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_family(USER_OBJECT_ s_object, USER_OBJECT_ s_family); USER_OBJECT_ S_pango_font_description_set_family_static(USER_OBJECT_ s_object, USER_OBJECT_ s_family); USER_OBJECT_ S_pango_font_description_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_pango_font_description_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_variant(USER_OBJECT_ s_object, USER_OBJECT_ s_variant); USER_OBJECT_ S_pango_font_description_get_variant(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_weight(USER_OBJECT_ s_object, USER_OBJECT_ s_weight); USER_OBJECT_ S_pango_font_description_get_weight(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_stretch(USER_OBJECT_ s_object, USER_OBJECT_ s_stretch); USER_OBJECT_ S_pango_font_description_get_stretch(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_absolute_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_pango_font_description_get_size_is_absolute(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_pango_font_description_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_get_set_fields(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_unset_fields(USER_OBJECT_ s_object, USER_OBJECT_ s_to_unset); USER_OBJECT_ S_pango_font_description_merge(USER_OBJECT_ s_object, USER_OBJECT_ s_desc_to_merge, USER_OBJECT_ s_replace_existing); USER_OBJECT_ S_pango_font_description_merge_static(USER_OBJECT_ s_object, USER_OBJECT_ s_desc_to_merge, USER_OBJECT_ s_replace_existing); USER_OBJECT_ S_pango_font_description_better_match(USER_OBJECT_ s_object, USER_OBJECT_ s_old_match, USER_OBJECT_ s_new_match); USER_OBJECT_ S_pango_font_description_from_string(USER_OBJECT_ s_str); USER_OBJECT_ S_pango_font_description_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_to_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_type(void); USER_OBJECT_ S_pango_font_metrics_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_ascent(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_descent(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_approximate_char_width(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_approximate_digit_width(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_strikethrough_position(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_strikethrough_thickness(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_underline_position(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_metrics_get_underline_thickness(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_family_get_type(void); USER_OBJECT_ S_pango_font_family_list_faces(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_family_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_family_is_monospace(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_face_get_type(void); USER_OBJECT_ S_pango_font_face_describe(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_face_get_face_name(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_face_list_sizes(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_get_type(void); USER_OBJECT_ S_pango_font_describe(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_get_coverage(USER_OBJECT_ s_object, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_font_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_font_get_glyph_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph); USER_OBJECT_ S_pango_font_get_font_map(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_map_load_font(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc); USER_OBJECT_ S_pango_font_map_load_fontset(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc, USER_OBJECT_ s_language); USER_OBJECT_ S_pango_font_map_list_families(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_fontset_get_font(USER_OBJECT_ s_object, USER_OBJECT_ s_wc); USER_OBJECT_ S_pango_fontset_get_metrics(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_fontset_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_pango_glyph_string_new(void); USER_OBJECT_ S_pango_glyph_string_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_new_len); USER_OBJECT_ S_pango_glyph_string_get_type(void); USER_OBJECT_ S_pango_glyph_string_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_glyph_string_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_glyph_string_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_font); USER_OBJECT_ S_pango_glyph_string_extents_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_font); USER_OBJECT_ S_pango_glyph_string_index_to_x(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_index, USER_OBJECT_ s_trailing); USER_OBJECT_ S_pango_glyph_string_x_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_x_pos); USER_OBJECT_ S_pango_glyph_item_split(USER_OBJECT_ s_orig, USER_OBJECT_ s_text, USER_OBJECT_ s_split_index); USER_OBJECT_ S_pango_glyph_item_apply_attrs(USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text, USER_OBJECT_ s_list); USER_OBJECT_ S_pango_glyph_item_letter_space(USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text, USER_OBJECT_ s_log_attrs); USER_OBJECT_ S_pango_matrix_translate(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_pango_matrix_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y); USER_OBJECT_ S_pango_matrix_rotate(USER_OBJECT_ s_object, USER_OBJECT_ s_degrees); USER_OBJECT_ S_pango_matrix_concat(USER_OBJECT_ s_object, USER_OBJECT_ s_new_matrix); USER_OBJECT_ S_pango_matrix_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_shape(USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_pango_item_copy(USER_OBJECT_ s_item); USER_OBJECT_ S_pango_item_new(void); USER_OBJECT_ S_pango_item_split(USER_OBJECT_ s_orig, USER_OBJECT_ s_split_index, USER_OBJECT_ s_split_offset); USER_OBJECT_ S_pango_reorder_items(USER_OBJECT_ s_logical_items); USER_OBJECT_ S_pango_layout_get_type(void); USER_OBJECT_ S_pango_layout_new(USER_OBJECT_ s_context); USER_OBJECT_ S_pango_layout_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_context(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrs); USER_OBJECT_ S_pango_layout_get_attributes(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length); USER_OBJECT_ S_pango_layout_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup, USER_OBJECT_ s_length); USER_OBJECT_ S_pango_layout_set_markup_with_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_markup, USER_OBJECT_ s_length, USER_OBJECT_ s_accel_marker); USER_OBJECT_ S_pango_layout_set_font_description(USER_OBJECT_ s_object, USER_OBJECT_ s_desc); USER_OBJECT_ S_pango_layout_get_font_description(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width); USER_OBJECT_ S_pango_layout_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap); USER_OBJECT_ S_pango_layout_get_wrap(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent); USER_OBJECT_ S_pango_layout_get_indent(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_pango_layout_get_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_justify(USER_OBJECT_ s_object, USER_OBJECT_ s_justify); USER_OBJECT_ S_pango_layout_get_justify(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_auto_dir(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_dir); USER_OBJECT_ S_pango_layout_get_auto_dir(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_alignment); USER_OBJECT_ S_pango_layout_get_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_tabs); USER_OBJECT_ S_pango_layout_get_tabs(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_single_paragraph_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_pango_layout_get_single_paragraph_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_ellipsize); USER_OBJECT_ S_pango_layout_get_ellipsize(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_context_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_log_attrs(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_index_to_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_pos); USER_OBJECT_ S_pango_layout_get_cursor_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_pango_layout_move_cursor_visually(USER_OBJECT_ s_object, USER_OBJECT_ s_strong, USER_OBJECT_ s_old_index, USER_OBJECT_ s_old_trailing, USER_OBJECT_ s_direction); USER_OBJECT_ S_pango_layout_xy_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_layout_get_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_pixel_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_pixel_size(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_line_count(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line); USER_OBJECT_ S_pango_layout_line_x_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x_pos); USER_OBJECT_ S_pango_layout_line_index_to_x(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_trailing); USER_OBJECT_ S_pango_layout_line_get_x_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_start_index, USER_OBJECT_ s_end_index); USER_OBJECT_ S_pango_layout_line_get_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_line_get_pixel_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_type(void); USER_OBJECT_ S_pango_layout_get_iter(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_index(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_run(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_line(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_at_last_line(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_next_char(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_next_cluster(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_next_run(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_next_line(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_char_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_cluster_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_run_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_line_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_line_yrange(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_layout_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_baseline(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_renderer_get_type(void); USER_OBJECT_ S_pango_renderer_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_layout, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_renderer_draw_layout_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_renderer_draw_glyphs(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_renderer_draw_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_pango_renderer_draw_error_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_pango_renderer_draw_trapezoid(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_y1_, USER_OBJECT_ s_x11, USER_OBJECT_ s_x21, USER_OBJECT_ s_y2, USER_OBJECT_ s_x12, USER_OBJECT_ s_x22); USER_OBJECT_ S_pango_renderer_draw_glyph(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyph, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_renderer_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_renderer_deactivate(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_renderer_part_changed(USER_OBJECT_ s_object, USER_OBJECT_ s_part); USER_OBJECT_ S_pango_renderer_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_color); USER_OBJECT_ S_pango_renderer_get_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part); USER_OBJECT_ S_pango_renderer_set_matrix(USER_OBJECT_ s_object, USER_OBJECT_ s_matrix); USER_OBJECT_ S_pango_renderer_get_matrix(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_tab_array_new(USER_OBJECT_ s_initial_size, USER_OBJECT_ s_positions_in_pixels); USER_OBJECT_ S_pango_tab_array_get_type(void); USER_OBJECT_ S_pango_tab_array_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_tab_array_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_tab_array_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_tab_array_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_new_size); USER_OBJECT_ S_pango_tab_array_set_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_index, USER_OBJECT_ s_alignment, USER_OBJECT_ s_location); USER_OBJECT_ S_pango_tab_array_get_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_index); USER_OBJECT_ S_pango_tab_array_get_positions_in_pixels(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_language_from_string(USER_OBJECT_ s_language); USER_OBJECT_ S_pango_language_matches(USER_OBJECT_ s_object, USER_OBJECT_ s_range_list); USER_OBJECT_ S_pango_language_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_PANGO_PIXELS(USER_OBJECT_ s_size); USER_OBJECT_ S_pango_script_for_unichar(USER_OBJECT_ s_ch); USER_OBJECT_ S_pango_script_iter_new(USER_OBJECT_ s_text, USER_OBJECT_ s_length); USER_OBJECT_ S_pango_script_iter_get_range(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_script_iter_next(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_script_iter_free(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_script_get_sample_language(USER_OBJECT_ s_script); USER_OBJECT_ S_pango_language_includes_script(USER_OBJECT_ s_object, USER_OBJECT_ s_script); USER_OBJECT_ S_pango_cairo_show_error_underline(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_pango_cairo_error_underline_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_pango_font_describe_with_absolute_size(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_glyph_string_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_matrix_get_font_scale_factor(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_index_to_line_x(USER_OBJECT_ s_object, USER_OBJECT_ s_index_, USER_OBJECT_ s_trailing); USER_OBJECT_ S_pango_gravity_to_rotation(USER_OBJECT_ s_base_gravity); USER_OBJECT_ S_pango_gravity_get_for_matrix(USER_OBJECT_ s_matrix); USER_OBJECT_ S_pango_gravity_get_for_script(USER_OBJECT_ s_script, USER_OBJECT_ s_base_gravity, USER_OBJECT_ s_hint); USER_OBJECT_ S_pango_attr_gravity_new(USER_OBJECT_ s_gravity); USER_OBJECT_ S_pango_attr_gravity_hint_new(USER_OBJECT_ s_hint); USER_OBJECT_ S_pango_context_set_base_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity); USER_OBJECT_ S_pango_context_get_base_gravity(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_get_gravity(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_context_set_gravity_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint); USER_OBJECT_ S_pango_context_get_gravity_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_font_description_set_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity); USER_OBJECT_ S_pango_font_description_get_gravity(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_line_readonly(USER_OBJECT_ s_object, USER_OBJECT_ s_line); USER_OBJECT_ S_pango_layout_get_lines_readonly(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_line_readonly(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_iter_get_run_readonly(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_color_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_matrix_transform_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_matrix_transform_distance(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_pango_matrix_transform_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rect); USER_OBJECT_ S_pango_matrix_transform_pixel_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rect); USER_OBJECT_ S_pango_units_from_double(USER_OBJECT_ s_d); USER_OBJECT_ S_pango_units_to_double(USER_OBJECT_ s_i); USER_OBJECT_ S_pango_extents_to_pixels(USER_OBJECT_ s_inclusive, USER_OBJECT_ s_nearest); USER_OBJECT_ S_pango_layout_is_wrapped(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_is_ellipsized(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_unknown_glyphs_count(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_version(void); USER_OBJECT_ S_pango_version_string(void); USER_OBJECT_ S_pango_version_check(USER_OBJECT_ s_required_major, USER_OBJECT_ s_required_minor, USER_OBJECT_ s_required_micro); USER_OBJECT_ S_pango_layout_get_height(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_set_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height); USER_OBJECT_ S_pango_attribute_init(USER_OBJECT_ s_attr, USER_OBJECT_ s_klass); USER_OBJECT_ S_pango_layout_iter_get_layout(USER_OBJECT_ s_iter); USER_OBJECT_ S_pango_renderer_get_layout(USER_OBJECT_ s_renderer); USER_OBJECT_ S_pango_renderer_get_layout_line(USER_OBJECT_ s_renderer); USER_OBJECT_ S_pango_font_face_is_synthesized(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_cairo_font_get_scaled_font(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_cairo_font_map_new_for_font_type(USER_OBJECT_ s_fonttype); USER_OBJECT_ S_pango_cairo_font_map_get_font_type(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_cairo_context_set_shape_renderer(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_pango_cairo_context_get_shape_renderer(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_language_get_default(void); USER_OBJECT_ S_pango_language_get_sample_string(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_bidi_type_for_unichar(USER_OBJECT_ s_ch); USER_OBJECT_ S_pango_attr_type_get_name(USER_OBJECT_ s_type); USER_OBJECT_ S_pango_cairo_create_context(USER_OBJECT_ s_cr); USER_OBJECT_ S_pango_cairo_font_map_set_default(USER_OBJECT_ s_fontmap); USER_OBJECT_ S_pango_cairo_show_glyph_item(USER_OBJECT_ s_cr, USER_OBJECT_ s_text, USER_OBJECT_ s_glyph_item); USER_OBJECT_ S_pango_renderer_draw_glyph_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_pango_font_map_create_context(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_glyph_item_iter_init_start(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text); USER_OBJECT_ S_pango_glyph_item_iter_init_end(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text); USER_OBJECT_ S_pango_glyph_item_iter_next_cluster(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_glyph_item_iter_prev_cluster(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_language_get_scripts(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_layout_get_baseline(USER_OBJECT_ s_object); USER_OBJECT_ S_pango_gravity_get_for_script_and_width(USER_OBJECT_ s_script, USER_OBJECT_ s_wide, USER_OBJECT_ s_base_gravity, USER_OBJECT_ s_hint); #endif RGtk2/src/pangoAccessors.c0000644000176000001440000003663612362467242015166 0ustar ripleyusers#include #include USER_OBJECT_ S_PangoColorGetRed (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoColor *obj; guint16 val; obj = ((PangoColor*)getPtrValue(s_obj)) ; val = obj->red; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoColorGetGreen (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoColor *obj; guint16 val; obj = ((PangoColor*)getPtrValue(s_obj)) ; val = obj->green; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoColorGetBlue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoColor *obj; guint16 val; obj = ((PangoColor*)getPtrValue(s_obj)) ; val = obj->blue; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoGlyphStringGetNumGlyphs (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString *obj; gint val; obj = ((PangoGlyphString*)getPtrValue(s_obj)) ; val = obj->num_glyphs; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoGlyphStringGetGlyphs (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString *obj; PangoGlyphInfo* val; obj = ((PangoGlyphString*)getPtrValue(s_obj)) ; val = obj->glyphs; _result = toRPointer(val, "PangoGlyphInfo"); return(_result); } USER_OBJECT_ S_PangoGlyphStringGetLogClusters (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString *obj; gint* val; obj = ((PangoGlyphString*)getPtrValue(s_obj)) ; val = obj->log_clusters; _result = asRIntegerArray(val); return(_result); } USER_OBJECT_ S_PangoItemGetOffset (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem *obj; gint val; obj = ((PangoItem*)getPtrValue(s_obj)) ; val = obj->offset; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoItemGetLength (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem *obj; gint val; obj = ((PangoItem*)getPtrValue(s_obj)) ; val = obj->length; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoItemGetNumChars (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem *obj; gint val; obj = ((PangoItem*)getPtrValue(s_obj)) ; val = obj->num_chars; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoItemGetAnalysis (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem *obj; PangoAnalysis val; obj = ((PangoItem*)getPtrValue(s_obj)) ; val = obj->analysis; _result = toRPointer(&val, "PangoAnalysis"); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetLayout (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; PangoLayout* val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->layout; _result = toRPointerWithRef(val, "PangoLayout"); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetStartIndex (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; gint val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->start_index; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetLength (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; gint val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->length; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetRuns (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; GSList* val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->runs; _result = asRGSList(val, "PangoGlyphItem"); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetIsParagraphStart (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; guint val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->is_paragraph_start; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLayoutLineGetResolvedDir (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine *obj; guint val; obj = ((PangoLayoutLine*)getPtrValue(s_obj)) ; val = obj->resolved_dir; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAnalysisGetFont (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAnalysis *obj; PangoFont* val; obj = ((PangoAnalysis*)getPtrValue(s_obj)) ; val = obj->font; _result = toRPointerWithRef(val, "PangoFont"); return(_result); } USER_OBJECT_ S_PangoAnalysisGetLevel (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAnalysis *obj; guint8 val; obj = ((PangoAnalysis*)getPtrValue(s_obj)) ; val = obj->level; _result = asRRaw(val); return(_result); } USER_OBJECT_ S_PangoAnalysisGetLanguage (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAnalysis *obj; PangoLanguage* val; obj = ((PangoAnalysis*)getPtrValue(s_obj)) ; val = obj->language; _result = toRPointer(val ? (val) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_PangoAnalysisGetExtraAttrs (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAnalysis *obj; GSList* val; obj = ((PangoAnalysis*)getPtrValue(s_obj)) ; val = obj->extra_attrs; _result = asRGSListConv(val, ((ElementConverter)asRPangoAttributeCopy)); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsLineBreak (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_line_break; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsMandatoryBreak (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_mandatory_break; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsCharBreak (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_char_break; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsWhite (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_white; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsCursorPosition (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_cursor_position; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsWordStart (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_word_start; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsWordEnd (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_word_end; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsSentenceBoundary (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_sentence_boundary; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsSentenceStart (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_sentence_start; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetIsSentenceEnd (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->is_sentence_end; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoLogAttrGetBackspaceDeletesCharacter (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLogAttr *obj; guint val; obj = ((PangoLogAttr*)getPtrValue(s_obj)) ; val = obj->backspace_deletes_character; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAttributeGetKlass (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute *obj; const PangoAttrClass* val; obj = ((PangoAttribute*)getPtrValue(s_obj)) ; val = obj->klass; _result = toRPointer(val, "PangoAttrClass"); return(_result); } USER_OBJECT_ S_PangoAttributeGetStartIndex (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute *obj; guint val; obj = ((PangoAttribute*)getPtrValue(s_obj)) ; val = obj->start_index; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAttributeGetEndIndex (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute *obj; guint val; obj = ((PangoAttribute*)getPtrValue(s_obj)) ; val = obj->end_index; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAttrClassGetType (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrClass *obj; PangoAttrType val; obj = ((PangoAttrClass*)getPtrValue(s_obj)) ; val = obj->type; _result = asREnum(val, PANGO_TYPE_ATTR_TYPE); return(_result); } USER_OBJECT_ S_PangoGlyphItemGetItem (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphItem *obj; PangoItem* val; obj = ((PangoGlyphItem*)getPtrValue(s_obj)) ; val = obj->item; _result = toRPointerWithFinalizer(val, "PangoItem", (RPointerFinalizer) pango_item_free); return(_result); } USER_OBJECT_ S_PangoGlyphItemGetGlyphs (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphItem *obj; PangoGlyphString* val; obj = ((PangoGlyphItem*)getPtrValue(s_obj)) ; val = obj->glyphs; _result = toRPointerWithFinalizer(val ? pango_glyph_string_copy(val) : NULL, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free); return(_result); } USER_OBJECT_ S_PangoGlyphInfoGetGlyph (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphInfo *obj; PangoGlyph val; obj = ((PangoGlyphInfo*)getPtrValue(s_obj)) ; val = obj->glyph; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoGlyphInfoGetGeometry (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphInfo *obj; PangoGlyphGeometry val; obj = ((PangoGlyphInfo*)getPtrValue(s_obj)) ; val = obj->geometry; _result = toRPointer(&val, "PangoGlyphGeometry"); return(_result); } USER_OBJECT_ S_PangoGlyphInfoGetAttr (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphInfo *obj; PangoGlyphVisAttr val; obj = ((PangoGlyphInfo*)getPtrValue(s_obj)) ; val = obj->attr; _result = toRPointer(&val, "PangoGlyphVisAttr"); return(_result); } USER_OBJECT_ S_PangoGlyphGeometryGetWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphGeometry *obj; PangoGlyphUnit val; obj = ((PangoGlyphGeometry*)getPtrValue(s_obj)) ; val = obj->width; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoGlyphGeometryGetXOffset (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphGeometry *obj; PangoGlyphUnit val; obj = ((PangoGlyphGeometry*)getPtrValue(s_obj)) ; val = obj->x_offset; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoGlyphGeometryGetYOffset (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphGeometry *obj; PangoGlyphUnit val; obj = ((PangoGlyphGeometry*)getPtrValue(s_obj)) ; val = obj->y_offset; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoGlyphVisAttrGetIsClusterStart (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphVisAttr *obj; guint val; obj = ((PangoGlyphVisAttr*)getPtrValue(s_obj)) ; val = obj->is_cluster_start; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAttrStringGetValue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrString *obj; char* val; obj = ((PangoAttrString*)getPtrValue(s_obj)) ; val = obj->value; _result = asRString(val); return(_result); } USER_OBJECT_ S_PangoAttrLanguageGetValue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrLanguage *obj; PangoLanguage* val; obj = ((PangoAttrLanguage*)getPtrValue(s_obj)) ; val = obj->value; _result = toRPointer(val ? (val) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_PangoAttrColorGetColor (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrColor *obj; PangoColor val; obj = ((PangoAttrColor*)getPtrValue(s_obj)) ; val = obj->color; _result = toRPointerWithFinalizer(&val ? pango_color_copy(&val) : NULL, "PangoColor", (RPointerFinalizer) pango_color_free); return(_result); } USER_OBJECT_ S_PangoAttrIntGetValue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrInt *obj; int val; obj = ((PangoAttrInt*)getPtrValue(s_obj)) ; val = obj->value; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoAttrFloatGetValue (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrFloat *obj; float val; obj = ((PangoAttrFloat*)getPtrValue(s_obj)) ; val = obj->value; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_PangoAttrFontDescGetDesc (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrFontDesc *obj; PangoFontDescription* val; obj = ((PangoAttrFontDesc*)getPtrValue(s_obj)) ; val = obj->desc; _result = toRPointerWithFinalizer(val ? pango_font_description_copy(val) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_PangoAttrShapeGetInkRect (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrShape *obj; PangoRectangle val; obj = ((PangoAttrShape*)getPtrValue(s_obj)) ; val = obj->ink_rect; _result = asRPangoRectangle(&val); return(_result); } USER_OBJECT_ S_PangoAttrShapeGetLogicalRect (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrShape *obj; PangoRectangle val; obj = ((PangoAttrShape*)getPtrValue(s_obj)) ; val = obj->logical_rect; _result = asRPangoRectangle(&val); return(_result); } USER_OBJECT_ S_PangoAttrSizeGetSize (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrSize *obj; int val; obj = ((PangoAttrSize*)getPtrValue(s_obj)) ; val = obj->size; _result = asRInteger(val); return(_result); } USER_OBJECT_ S_PangoAttrSizeGetAbsolute (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrSize *obj; guint val; obj = ((PangoAttrSize*)getPtrValue(s_obj)) ; val = obj->absolute; _result = asRNumeric(val); return(_result); } RGtk2/src/gioClasses.c0000644000176000001440000160552212362467242014305 0ustar ripleyusers#include "RGtk2/gioClasses.h" #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GAppLaunchContext_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gapp_launch_context_get_display(GAppLaunchContext* s_object, GAppInfo* s_info, GList* s_files) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppLaunchContext_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppLaunchContext"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_info, "GAppInfo")); tmp = CDR(tmp); SETCAR(tmp, asRGListWithRef(s_files, "GFile")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gapp_launch_context_get_startup_notify_id(GAppLaunchContext* s_object, GAppInfo* s_info, GList* s_files) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppLaunchContext_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppLaunchContext"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_info, "GAppInfo")); tmp = CDR(tmp); SETCAR(tmp, asRGListWithRef(s_files, "GFile")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gapp_launch_context_launch_failed(GAppLaunchContext* s_object, const char* s_startup_notify_id) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppLaunchContext_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppLaunchContext"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_startup_notify_id)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gapp_launch_context_class_init(GAppLaunchContextClass * c, SEXP e) { SEXP s; S_GAppLaunchContext_symbol = install("GAppLaunchContext"); s = findVar(S_GAppLaunchContext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GAppLaunchContextClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_display = S_virtual_gapp_launch_context_get_display; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_startup_notify_id = S_virtual_gapp_launch_context_get_startup_notify_id; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->launch_failed = S_virtual_gapp_launch_context_launch_failed; #endif } #endif USER_OBJECT_ S_gapp_launch_context_class_get_display(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContextClass* object_class = ((GAppLaunchContextClass*)getPtrValue(s_object_class)); GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GAppInfo* info = G_APP_INFO(getPtrValue(s_info)); GList* files = ((GList*)asCArrayRef(s_files, GList, asCGList)); char* ans; ans = object_class->get_display(object, info, files); _result = asRString(ans); CLEANUP(g_free, ans);; CLEANUP(g_list_free, ((GList*)files));; #else error("gapp_launch_context_get_display exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_launch_context_class_get_startup_notify_id(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContextClass* object_class = ((GAppLaunchContextClass*)getPtrValue(s_object_class)); GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GAppInfo* info = G_APP_INFO(getPtrValue(s_info)); GList* files = ((GList*)asCArrayRef(s_files, GList, asCGList)); char* ans; ans = object_class->get_startup_notify_id(object, info, files); _result = asRString(ans); CLEANUP(g_free, ans);; CLEANUP(g_list_free, ((GList*)files));; #else error("gapp_launch_context_get_startup_notify_id exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_launch_context_class_launch_failed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_startup_notify_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContextClass* object_class = ((GAppLaunchContextClass*)getPtrValue(s_object_class)); GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); const char* startup_notify_id = ((const char*)asCString(s_startup_notify_id)); object_class->launch_failed(object, startup_notify_id); #else error("gapp_launch_context_launch_failed exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GCancellable_symbol; void S_gcancellable_class_init(GCancellableClass * c, SEXP e) { SEXP s; S_GCancellable_symbol = install("GCancellable"); s = findVar(S_GCancellable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GCancellableClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFilenameCompleter_symbol; void S_gfilename_completer_class_init(GFilenameCompleterClass * c, SEXP e) { SEXP s; S_GFilenameCompleter_symbol = install("GFilenameCompleter"); s = findVar(S_GFilenameCompleter_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFilenameCompleterClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFileEnumerator_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_enumerator_next_file(GFileEnumerator* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_enumerator_close_fn(GFileEnumerator* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_enumerator_next_files_async(GFileEnumerator* s_object, int s_num_files, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_num_files)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GList* S_virtual_gfile_enumerator_next_files_finish(GFileEnumerator* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GList*)asCArrayRef(VECTOR_ELT(s_ans, 0), GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_enumerator_close_async(GFileEnumerator* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_enumerator_close_finish(GFileEnumerator* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gfile_enumerator_class_init(GFileEnumeratorClass * c, SEXP e) { SEXP s; S_GFileEnumerator_symbol = install("GFileEnumerator"); s = findVar(S_GFileEnumerator_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileEnumeratorClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->next_file = S_virtual_gfile_enumerator_next_file; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->close_fn = S_virtual_gfile_enumerator_close_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->next_files_async = S_virtual_gfile_enumerator_next_files_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->next_files_finish = S_virtual_gfile_enumerator_next_files_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->close_async = S_virtual_gfile_enumerator_close_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->close_finish = S_virtual_gfile_enumerator_close_finish; #endif } #endif USER_OBJECT_ S_gfile_enumerator_class_next_file(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->next_file(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_enumerator_next_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_enumerator_class_close_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->close_fn(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_enumerator_close_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_enumerator_class_next_files_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_num_files, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); int num_files = ((int)asCInteger(s_num_files)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->next_files_async(object, num_files, io_priority, cancellable, callback, user_data); #else error("gfile_enumerator_next_files_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_enumerator_class_next_files_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = object_class->next_files_finish(object, result, &error); _result = asRGListWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("gfile_enumerator_next_files_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_enumerator_class_close_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->close_async(object, io_priority, cancellable, callback, user_data); #else error("gfile_enumerator_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_enumerator_class_close_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumeratorClass* object_class = ((GFileEnumeratorClass*)getPtrValue(s_object_class)); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_enumerator_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFileMonitor_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_monitor_cancel(GFileMonitor* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileMonitor"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif void S_gfile_monitor_class_init(GFileMonitorClass * c, SEXP e) { SEXP s; S_GFileMonitor_symbol = install("GFileMonitor"); s = findVar(S_GFileMonitor_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileMonitorClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->cancel = S_virtual_gfile_monitor_cancel; #endif } #endif USER_OBJECT_ S_gfile_monitor_class_cancel(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileMonitorClass* object_class = ((GFileMonitorClass*)getPtrValue(s_object_class)); GFileMonitor* object = G_FILE_MONITOR(getPtrValue(s_object)); gboolean ans; ans = object_class->cancel(object); _result = asRLogical(ans); #else error("gfile_monitor_cancel exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GInputStream_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_ginput_stream_skip(GInputStream* s_object, gsize s_count, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_count)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_ginput_stream_close_fn(GInputStream* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_ginput_stream_read_finish(GInputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_ginput_stream_skip_async(GInputStream* s_object, gsize s_count, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_ginput_stream_skip_finish(GInputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_ginput_stream_close_async(GInputStream* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_ginput_stream_close_finish(GInputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_ginput_stream_class_init(GInputStreamClass * c, SEXP e) { SEXP s; S_GInputStream_symbol = install("GInputStream"); s = findVar(S_GInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GInputStreamClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->skip = S_virtual_ginput_stream_skip; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->close_fn = S_virtual_ginput_stream_close_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->read_finish = S_virtual_ginput_stream_read_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->skip_async = S_virtual_ginput_stream_skip_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->skip_finish = S_virtual_ginput_stream_skip_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->close_async = S_virtual_ginput_stream_close_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->close_finish = S_virtual_ginput_stream_close_finish; #endif } #endif USER_OBJECT_ S_ginput_stream_class_skip(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = object_class->skip(object, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginput_stream_skip exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_close_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->close_fn(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginput_stream_close_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_read_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = object_class->read_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginput_stream_read_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_skip_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->skip_async(object, count, io_priority, cancellable, callback, user_data); #else error("ginput_stream_skip_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_skip_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = object_class->skip_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginput_stream_skip_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_close_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->close_async(object, io_priority, cancellable, callback, user_data); #else error("ginput_stream_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_ginput_stream_class_close_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStreamClass* object_class = ((GInputStreamClass*)getPtrValue(s_object_class)); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginput_stream_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFileInputStream_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_input_stream_query_info(GFileInputStream* s_object, const char* s_attributes, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_input_stream_query_info_async(GFileInputStream* s_object, const char* s_attributes, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_input_stream_query_info_finish(GFileInputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif void S_gfile_input_stream_class_init(GFileInputStreamClass * c, SEXP e) { SEXP s; S_GFileInputStream_symbol = install("GFileInputStream"); s = findVar(S_GFileInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileInputStreamClass)) = e; S_ginput_stream_class_init(((GInputStreamClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->query_info = S_virtual_gfile_input_stream_query_info; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->query_info_async = S_virtual_gfile_input_stream_query_info_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->query_info_finish = S_virtual_gfile_input_stream_query_info_finish; #endif } #endif USER_OBJECT_ S_gfile_input_stream_class_query_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInputStreamClass* object_class = ((GFileInputStreamClass*)getPtrValue(s_object_class)); GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_input_stream_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_input_stream_class_query_info_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileInputStreamClass* object_class = ((GFileInputStreamClass*)getPtrValue(s_object_class)); GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("gfile_input_stream_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_input_stream_class_query_info_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInputStreamClass* object_class = ((GFileInputStreamClass*)getPtrValue(s_object_class)); GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_input_stream_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFilterInputStream_symbol; void S_gfilter_input_stream_class_init(GFilterInputStreamClass * c, SEXP e) { SEXP s; S_GFilterInputStream_symbol = install("GFilterInputStream"); s = findVar(S_GFilterInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFilterInputStreamClass)) = e; S_ginput_stream_class_init(((GInputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GBufferedInputStream_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_gbuffered_input_stream_fill(GBufferedInputStream* s_object, gssize s_count, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GBufferedInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GBufferedInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gbuffered_input_stream_fill_async(GBufferedInputStream* s_object, gssize s_count, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GBufferedInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GBufferedInputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_gbuffered_input_stream_fill_finish(GBufferedInputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GBufferedInputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GBufferedInputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif void S_gbuffered_input_stream_class_init(GBufferedInputStreamClass * c, SEXP e) { SEXP s; S_GBufferedInputStream_symbol = install("GBufferedInputStream"); s = findVar(S_GBufferedInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GBufferedInputStreamClass)) = e; S_gfilter_input_stream_class_init(((GFilterInputStreamClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->fill = S_virtual_gbuffered_input_stream_fill; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->fill_async = S_virtual_gbuffered_input_stream_fill_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->fill_finish = S_virtual_gbuffered_input_stream_fill_finish; #endif } #endif USER_OBJECT_ S_gbuffered_input_stream_class_fill(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStreamClass* object_class = ((GBufferedInputStreamClass*)getPtrValue(s_object_class)); GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gssize count = ((gssize)asCInteger(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = object_class->fill(object, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gbuffered_input_stream_fill exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gbuffered_input_stream_class_fill_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GBufferedInputStreamClass* object_class = ((GBufferedInputStreamClass*)getPtrValue(s_object_class)); GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gssize count = ((gssize)asCInteger(s_count)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->fill_async(object, count, io_priority, cancellable, callback, user_data); #else error("gbuffered_input_stream_fill_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gbuffered_input_stream_class_fill_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStreamClass* object_class = ((GBufferedInputStreamClass*)getPtrValue(s_object_class)); GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = object_class->fill_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gbuffered_input_stream_fill_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GDataInputStream_symbol; void S_gdata_input_stream_class_init(GDataInputStreamClass * c, SEXP e) { SEXP s; S_GDataInputStream_symbol = install("GDataInputStream"); s = findVar(S_GDataInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GDataInputStreamClass)) = e; S_gfilter_input_stream_class_init(((GFilterInputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GMemoryInputStream_symbol; void S_gmemory_input_stream_class_init(GMemoryInputStreamClass * c, SEXP e) { SEXP s; S_GMemoryInputStream_symbol = install("GMemoryInputStream"); s = findVar(S_GMemoryInputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GMemoryInputStreamClass)) = e; S_ginput_stream_class_init(((GInputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GMountOperation_symbol; void S_gmount_operation_class_init(GMountOperationClass * c, SEXP e) { SEXP s; S_GMountOperation_symbol = install("GMountOperation"); s = findVar(S_GMountOperation_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GMountOperationClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GOutputStream_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_goutput_stream_write_fn(GOutputStream* s_object, const guchar* s_buffer, gsize s_count, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_buffer, s_count)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_count)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_goutput_stream_splice(GOutputStream* s_object, GInputStream* s_source, GOutputStreamSpliceFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_source, "GInputStream")); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_goutput_stream_flush(GOutputStream* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_goutput_stream_close_fn(GOutputStream* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_goutput_stream_write_async(GOutputStream* s_object, const guchar* s_buffer, gsize s_count, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_buffer, s_count)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_goutput_stream_write_finish(GOutputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_goutput_stream_splice_async(GOutputStream* s_object, GInputStream* s_source, GOutputStreamSpliceFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_source, "GInputStream")); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gssize S_virtual_goutput_stream_splice_finish(GOutputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gssize)asCInteger(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_goutput_stream_flush_async(GOutputStream* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_goutput_stream_flush_finish(GOutputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_goutput_stream_close_async(GOutputStream* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_goutput_stream_close_finish(GOutputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_goutput_stream_class_init(GOutputStreamClass * c, SEXP e) { SEXP s; S_GOutputStream_symbol = install("GOutputStream"); s = findVar(S_GOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GOutputStreamClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->write_fn = S_virtual_goutput_stream_write_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->splice = S_virtual_goutput_stream_splice; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->flush = S_virtual_goutput_stream_flush; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->close_fn = S_virtual_goutput_stream_close_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->write_async = S_virtual_goutput_stream_write_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->write_finish = S_virtual_goutput_stream_write_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->splice_async = S_virtual_goutput_stream_splice_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->splice_finish = S_virtual_goutput_stream_splice_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->flush_async = S_virtual_goutput_stream_flush_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->flush_finish = S_virtual_goutput_stream_flush_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->close_async = S_virtual_goutput_stream_close_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->close_finish = S_virtual_goutput_stream_close_finish; #endif } #endif USER_OBJECT_ S_goutput_stream_class_write_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* buffer = ((const guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buffer)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = object_class->write_fn(object, buffer, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_write_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_splice(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GInputStream* source = G_INPUT_STREAM(getPtrValue(s_source)); GOutputStreamSpliceFlags flags = ((GOutputStreamSpliceFlags)asCFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = object_class->splice(object, source, flags, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_splice exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_flush(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->flush(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_flush exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_close_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->close_fn(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_close_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_write_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* buffer = ((const guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buffer)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->write_async(object, buffer, count, io_priority, cancellable, callback, user_data); #else error("goutput_stream_write_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_write_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = object_class->write_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_write_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_splice_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GInputStream* source = G_INPUT_STREAM(getPtrValue(s_source)); GOutputStreamSpliceFlags flags = ((GOutputStreamSpliceFlags)asCFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->splice_async(object, source, flags, io_priority, cancellable, callback, user_data); #else error("goutput_stream_splice_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_splice_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = object_class->splice_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_splice_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_flush_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->flush_async(object, io_priority, cancellable, callback, user_data); #else error("goutput_stream_flush_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_flush_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->flush_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_flush_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_close_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->close_async(object, io_priority, cancellable, callback, user_data); #else error("goutput_stream_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_goutput_stream_class_close_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStreamClass* object_class = ((GOutputStreamClass*)getPtrValue(s_object_class)); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("goutput_stream_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GMemoryOutputStream_symbol; void S_gmemory_output_stream_class_init(GMemoryOutputStreamClass * c, SEXP e) { SEXP s; S_GMemoryOutputStream_symbol = install("GMemoryOutputStream"); s = findVar(S_GMemoryOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GMemoryOutputStreamClass)) = e; S_goutput_stream_class_init(((GOutputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFilterOutputStream_symbol; void S_gfilter_output_stream_class_init(GFilterOutputStreamClass * c, SEXP e) { SEXP s; S_GFilterOutputStream_symbol = install("GFilterOutputStream"); s = findVar(S_GFilterOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFilterOutputStreamClass)) = e; S_goutput_stream_class_init(((GOutputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GBufferedOutputStream_symbol; void S_gbuffered_output_stream_class_init(GBufferedOutputStreamClass * c, SEXP e) { SEXP s; S_GBufferedOutputStream_symbol = install("GBufferedOutputStream"); s = findVar(S_GBufferedOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GBufferedOutputStreamClass)) = e; S_gfilter_output_stream_class_init(((GFilterOutputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GDataOutputStream_symbol; void S_gdata_output_stream_class_init(GDataOutputStreamClass * c, SEXP e) { SEXP s; S_GDataOutputStream_symbol = install("GDataOutputStream"); s = findVar(S_GDataOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GDataOutputStreamClass)) = e; S_gfilter_output_stream_class_init(((GFilterOutputStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFileOutputStream_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_output_stream_query_info(GFileOutputStream* s_object, const char* s_attributes, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_output_stream_query_info_async(GFileOutputStream* s_object, const char* s_attributes, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_output_stream_query_info_finish(GFileOutputStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileOutputStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_output_stream_get_etag(GFileOutputStream* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileOutputStream_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileOutputStream"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif void S_gfile_output_stream_class_init(GFileOutputStreamClass * c, SEXP e) { SEXP s; S_GFileOutputStream_symbol = install("GFileOutputStream"); s = findVar(S_GFileOutputStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileOutputStreamClass)) = e; S_goutput_stream_class_init(((GOutputStreamClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->query_info = S_virtual_gfile_output_stream_query_info; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->query_info_async = S_virtual_gfile_output_stream_query_info_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->query_info_finish = S_virtual_gfile_output_stream_query_info_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_etag = S_virtual_gfile_output_stream_get_etag; #endif } #endif USER_OBJECT_ S_gfile_output_stream_class_query_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStreamClass* object_class = ((GFileOutputStreamClass*)getPtrValue(s_object_class)); GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_output_stream_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_output_stream_class_query_info_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileOutputStreamClass* object_class = ((GFileOutputStreamClass*)getPtrValue(s_object_class)); GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("gfile_output_stream_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_output_stream_class_query_info_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStreamClass* object_class = ((GFileOutputStreamClass*)getPtrValue(s_object_class)); GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_output_stream_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_output_stream_class_get_etag(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStreamClass* object_class = ((GFileOutputStreamClass*)getPtrValue(s_object_class)); GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); char* ans; ans = object_class->get_etag(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_output_stream_get_etag exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GVfs_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvfs_is_active(GVfs* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVfs_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVfs"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gvfs_get_file_for_path(GVfs* s_object, const char* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVfs_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVfs"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gvfs_get_file_for_uri(GVfs* s_object, const char* s_uri) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVfs_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVfs"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_uri)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gvfs_parse_name(GVfs* s_object, const char* s_parse_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVfs_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVfs"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_parse_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static const char* const* S_virtual_gvfs_get_supported_uri_schemes(GVfs* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVfs_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVfs"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char* const*)0)); return(((const char* const*)asCStringArray(s_ans))); } #endif void S_gvfs_class_init(GVfsClass * c, SEXP e) { SEXP s; S_GVfs_symbol = install("GVfs"); s = findVar(S_GVfs_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GVfsClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->is_active = S_virtual_gvfs_is_active; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_file_for_path = S_virtual_gvfs_get_file_for_path; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_file_for_uri = S_virtual_gvfs_get_file_for_uri; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->parse_name = S_virtual_gvfs_parse_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_supported_uri_schemes = S_virtual_gvfs_get_supported_uri_schemes; #endif } #endif USER_OBJECT_ S_gvfs_class_is_active(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfsClass* object_class = ((GVfsClass*)getPtrValue(s_object_class)); GVfs* object = G_VFS(getPtrValue(s_object)); gboolean ans; ans = object_class->is_active(object); _result = asRLogical(ans); #else error("gvfs_is_active exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvfs_class_get_file_for_path(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfsClass* object_class = ((GVfsClass*)getPtrValue(s_object_class)); GVfs* object = G_VFS(getPtrValue(s_object)); const char* path = ((const char*)asCString(s_path)); GFile* ans; ans = object_class->get_file_for_path(object, path); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gvfs_get_file_for_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvfs_class_get_file_for_uri(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfsClass* object_class = ((GVfsClass*)getPtrValue(s_object_class)); GVfs* object = G_VFS(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); GFile* ans; ans = object_class->get_file_for_uri(object, uri); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gvfs_get_file_for_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvfs_class_parse_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_parse_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfsClass* object_class = ((GVfsClass*)getPtrValue(s_object_class)); GVfs* object = G_VFS(getPtrValue(s_object)); const char* parse_name = ((const char*)asCString(s_parse_name)); GFile* ans; ans = object_class->parse_name(object, parse_name); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gvfs_parse_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvfs_class_get_supported_uri_schemes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfsClass* object_class = ((GVfsClass*)getPtrValue(s_object_class)); GVfs* object = G_VFS(getPtrValue(s_object)); const char* const* ans; ans = object_class->get_supported_uri_schemes(object); _result = asRStringArray(ans); #else error("gvfs_get_supported_uri_schemes exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GVolumeMonitor_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GList* S_virtual_gvolume_monitor_get_connected_drives(GVolumeMonitor* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolumeMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolumeMonitor"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); return(((GList*)asCArrayRef(s_ans, GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GList* S_virtual_gvolume_monitor_get_volumes(GVolumeMonitor* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolumeMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolumeMonitor"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); return(((GList*)asCArrayRef(s_ans, GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GList* S_virtual_gvolume_monitor_get_mounts(GVolumeMonitor* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolumeMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolumeMonitor"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); return(((GList*)asCArrayRef(s_ans, GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GVolume* S_virtual_gvolume_monitor_get_volume_for_uuid(GVolumeMonitor* s_object, const char* s_uuid) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolumeMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolumeMonitor"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_uuid)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GVolume*)0)); return(G_VOLUME(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GMount* S_virtual_gvolume_monitor_get_mount_for_uuid(GVolumeMonitor* s_object, const char* s_uuid) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolumeMonitor_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolumeMonitor"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_uuid)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GMount*)0)); return(G_MOUNT(getPtrValue(s_ans))); } #endif void S_gvolume_monitor_class_init(GVolumeMonitorClass * c, SEXP e) { SEXP s; S_GVolumeMonitor_symbol = install("GVolumeMonitor"); s = findVar(S_GVolumeMonitor_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GVolumeMonitorClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_connected_drives = S_virtual_gvolume_monitor_get_connected_drives; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_volumes = S_virtual_gvolume_monitor_get_volumes; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_mounts = S_virtual_gvolume_monitor_get_mounts; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_volume_for_uuid = S_virtual_gvolume_monitor_get_volume_for_uuid; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_mount_for_uuid = S_virtual_gvolume_monitor_get_mount_for_uuid; #endif } #endif USER_OBJECT_ S_gvolume_monitor_class_get_connected_drives(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitorClass* object_class = ((GVolumeMonitorClass*)getPtrValue(s_object_class)); GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = object_class->get_connected_drives(object); _result = asRGListWithRef(ans, "GDrive"); CLEANUP(g_list_free, ans);; #else error("gvolume_monitor_get_connected_drives exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_monitor_class_get_volumes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitorClass* object_class = ((GVolumeMonitorClass*)getPtrValue(s_object_class)); GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = object_class->get_volumes(object); _result = asRGListWithRef(ans, "GVolume"); CLEANUP(g_list_free, ans);; #else error("gvolume_monitor_get_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_monitor_class_get_mounts(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitorClass* object_class = ((GVolumeMonitorClass*)getPtrValue(s_object_class)); GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = object_class->get_mounts(object); _result = asRGListWithRef(ans, "GMount"); CLEANUP(g_list_free, ans);; #else error("gvolume_monitor_get_mounts exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_monitor_class_get_volume_for_uuid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_uuid) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitorClass* object_class = ((GVolumeMonitorClass*)getPtrValue(s_object_class)); GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); const char* uuid = ((const char*)asCString(s_uuid)); GVolume* ans; ans = object_class->get_volume_for_uuid(object, uuid); _result = toRPointerWithFinalizer(ans, "GVolume", (RPointerFinalizer) g_object_unref); #else error("gvolume_monitor_get_volume_for_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_monitor_class_get_mount_for_uuid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_uuid) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitorClass* object_class = ((GVolumeMonitorClass*)getPtrValue(s_object_class)); GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); const char* uuid = ((const char*)asCString(s_uuid)); GMount* ans; ans = object_class->get_mount_for_uuid(object, uuid); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); #else error("gvolume_monitor_get_mount_for_uuid exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GNativeVolumeMonitor_symbol; void S_gnative_volume_monitor_class_init(GNativeVolumeMonitorClass * c, SEXP e) { SEXP s; S_GNativeVolumeMonitor_symbol = install("GNativeVolumeMonitor"); s = findVar(S_GNativeVolumeMonitor_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GNativeVolumeMonitorClass)) = e; S_gvolume_monitor_class_init(((GVolumeMonitorClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GFileIOStream_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GFileInfo* S_virtual_gfile_iostream_query_info(GFileIOStream* s_object, const char* s_attributes, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileIOStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_iostream_query_info_async(GFileIOStream* s_object, const char* s_attributes, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileIOStream"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileInfo* S_virtual_gfile_iostream_query_info_finish(GFileIOStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileIOStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static char* S_virtual_gfile_iostream_get_etag(GFileIOStream* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFileIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFileIOStream"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif void S_gfile_iostream_class_init(GFileIOStreamClass * c, SEXP e) { SEXP s; S_GFileIOStream_symbol = install("GFileIOStream"); s = findVar(S_GFileIOStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileIOStreamClass)) = e; S_giostream_class_init(((GIOStreamClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->query_info = S_virtual_gfile_iostream_query_info; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->query_info_async = S_virtual_gfile_iostream_query_info_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->query_info_finish = S_virtual_gfile_iostream_query_info_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_etag = S_virtual_gfile_iostream_get_etag; #endif } #endif USER_OBJECT_ S_gfile_iostream_class_query_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStreamClass* object_class = ((GFileIOStreamClass*)getPtrValue(s_object_class)); GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_iostream_query_info exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iostream_class_query_info_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIOStreamClass* object_class = ((GFileIOStreamClass*)getPtrValue(s_object_class)); GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("gfile_iostream_query_info_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iostream_class_query_info_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStreamClass* object_class = ((GFileIOStreamClass*)getPtrValue(s_object_class)); GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_iostream_query_info_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iostream_class_get_etag(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStreamClass* object_class = ((GFileIOStreamClass*)getPtrValue(s_object_class)); GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); char* ans; ans = object_class->get_etag(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_iostream_get_etag exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GInetAddress_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static gchar* S_virtual_ginet_address_to_string(GInetAddress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInetAddress_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInetAddress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static const guint8* S_virtual_ginet_address_to_bytes(GInetAddress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInetAddress_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInetAddress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const guint8*)0)); return(((const guint8*)asCArray(s_ans, guint8, asCRaw))); } #endif void S_ginet_address_class_init(GInetAddressClass * c, SEXP e) { SEXP s; S_GInetAddress_symbol = install("GInetAddress"); s = findVar(S_GInetAddress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GInetAddressClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->to_string = S_virtual_ginet_address_to_string; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->to_bytes = S_virtual_ginet_address_to_bytes; #endif } #endif USER_OBJECT_ S_ginet_address_class_to_string(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddressClass* object_class = ((GInetAddressClass*)getPtrValue(s_object_class)); GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gchar* ans; ans = object_class->to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("ginet_address_to_string exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_ginet_address_class_to_bytes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddressClass* object_class = ((GInetAddressClass*)getPtrValue(s_object_class)); GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); const guint8* ans; ans = object_class->to_bytes(object); _result = asRRawArray(ans); #else error("ginet_address_to_bytes exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GNetworkAddress_symbol; void S_gnetwork_address_class_init(GNetworkAddressClass * c, SEXP e) { SEXP s; S_GNetworkAddress_symbol = install("GNetworkAddress"); s = findVar(S_GNetworkAddress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GNetworkAddressClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GNetworkService_symbol; void S_gnetwork_service_class_init(GNetworkServiceClass * c, SEXP e) { SEXP s; S_GNetworkService_symbol = install("GNetworkService"); s = findVar(S_GNetworkService_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GNetworkServiceClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GResolver_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GList* S_virtual_gresolver_lookup_by_name(GResolver* s_object, const gchar* s_hostname, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_hostname)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GList*)asCArrayRef(VECTOR_ELT(s_ans, 0), GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gresolver_lookup_by_name_async(GResolver* s_object, const gchar* s_hostname, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_hostname)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GList* S_virtual_gresolver_lookup_by_name_finish(GResolver* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GList*)asCArrayRef(VECTOR_ELT(s_ans, 0), GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gchar* S_virtual_gresolver_lookup_by_address(GResolver* s_object, GInetAddress* s_address, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_address, "GInetAddress")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gresolver_lookup_by_address_async(GResolver* s_object, GInetAddress* s_address, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_address, "GInetAddress")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gchar* S_virtual_gresolver_lookup_by_address_finish(GResolver* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GList* S_virtual_gresolver_lookup_service(GResolver* s_object, const gchar* s_rrname, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_rrname)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GList*)asCArrayRef(VECTOR_ELT(s_ans, 0), GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gresolver_lookup_service_async(GResolver* s_object, const gchar* s_rrname, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_rrname)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GList* S_virtual_gresolver_lookup_service_finish(GResolver* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GResolver_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GResolver"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GList*)asCArrayRef(VECTOR_ELT(s_ans, 0), GList, asCGListDup))); } #endif void S_gresolver_class_init(GResolverClass * c, SEXP e) { SEXP s; S_GResolver_symbol = install("GResolver"); s = findVar(S_GResolver_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GResolverClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->lookup_by_name = S_virtual_gresolver_lookup_by_name; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->lookup_by_name_async = S_virtual_gresolver_lookup_by_name_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->lookup_by_name_finish = S_virtual_gresolver_lookup_by_name_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->lookup_by_address = S_virtual_gresolver_lookup_by_address; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->lookup_by_address_async = S_virtual_gresolver_lookup_by_address_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->lookup_by_address_finish = S_virtual_gresolver_lookup_by_address_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->lookup_service = S_virtual_gresolver_lookup_service; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->lookup_service_async = S_virtual_gresolver_lookup_service_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->lookup_service_finish = S_virtual_gresolver_lookup_service_finish; #endif } #endif USER_OBJECT_ S_gresolver_class_lookup_by_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* hostname = ((const gchar*)asCString(s_hostname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GList* ans; GError* error = NULL; ans = object_class->lookup_by_name(object, hostname, cancellable, &error); _result = asRGListWithRef(ans, "GInetAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_by_name exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_by_name_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* hostname = ((const gchar*)asCString(s_hostname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->lookup_by_name_async(object, hostname, cancellable, callback, user_data); #else error("gresolver_lookup_by_name_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_by_name_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = object_class->lookup_by_name_finish(object, result, &error); _result = asRGListWithRef(ans, "GInetAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_by_name_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_by_address(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GInetAddress* address = G_INET_ADDRESS(getPtrValue(s_address)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gchar* ans; GError* error = NULL; ans = object_class->lookup_by_address(object, address, cancellable, &error); _result = asRString(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_by_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_by_address_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GInetAddress* address = G_INET_ADDRESS(getPtrValue(s_address)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->lookup_by_address_async(object, address, cancellable, callback, user_data); #else error("gresolver_lookup_by_address_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_by_address_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gchar* ans; GError* error = NULL; ans = object_class->lookup_by_address_finish(object, result, &error); _result = asRString(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_by_address_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_service(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_rrname, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* rrname = ((const gchar*)asCString(s_rrname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GList* ans; GError* error = NULL; ans = object_class->lookup_service(object, rrname, cancellable, &error); _result = asRGList(ans, "GSrvTarget"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_service exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_service_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_rrname, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* rrname = ((const gchar*)asCString(s_rrname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->lookup_service_async(object, rrname, cancellable, callback, user_data); #else error("gresolver_lookup_service_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gresolver_class_lookup_service_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolverClass* object_class = ((GResolverClass*)getPtrValue(s_object_class)); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = object_class->lookup_service_finish(object, result, &error); _result = asRGList(ans, "GSrvTarget"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("gresolver_lookup_service_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocket_symbol; void S_gsocket_class_init(GSocketClass * c, SEXP e) { SEXP s; S_GSocket_symbol = install("GSocket"); s = findVar(S_GSocket_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketAddress_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GSocketFamily S_virtual_gsocket_address_get_family(GSocketAddress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddress_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GSocketFamily)0)); return(((GSocketFamily)asCEnum(s_ans, G_TYPE_SOCKET_FAMILY))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gsocket_address_to_native(GSocketAddress* s_object, gpointer s_dest, gsize s_destlen, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddress_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddress"))); tmp = CDR(tmp); SETCAR(tmp, s_dest); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_destlen)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gssize S_virtual_gsocket_address_get_native_size(GSocketAddress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddress_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gssize)0)); return(((gssize)asCInteger(s_ans))); } #endif void S_gsocket_address_class_init(GSocketAddressClass * c, SEXP e) { SEXP s; S_GSocketAddress_symbol = install("GSocketAddress"); s = findVar(S_GSocketAddress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketAddressClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_family = S_virtual_gsocket_address_get_family; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->to_native = S_virtual_gsocket_address_to_native; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_native_size = S_virtual_gsocket_address_get_native_size; #endif } #endif USER_OBJECT_ S_gsocket_address_class_get_family(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressClass* object_class = ((GSocketAddressClass*)getPtrValue(s_object_class)); GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); GSocketFamily ans; ans = object_class->get_family(object); _result = asREnum(ans, G_TYPE_SOCKET_FAMILY); #else error("gsocket_address_get_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_address_class_to_native(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_destlen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressClass* object_class = ((GSocketAddressClass*)getPtrValue(s_object_class)); GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); gpointer dest = ((gpointer)asCGenericData(s_dest)); gsize destlen = ((gsize)asCNumeric(s_destlen)); gboolean ans; GError* error = NULL; ans = object_class->to_native(object, dest, destlen, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gsocket_address_to_native exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_address_class_get_native_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressClass* object_class = ((GSocketAddressClass*)getPtrValue(s_object_class)); GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); gssize ans; ans = object_class->get_native_size(object); _result = asRInteger(ans); #else error("gsocket_address_get_native_size exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketAddressEnumerator_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GSocketAddress* S_virtual_gsocket_address_enumerator_next(GSocketAddressEnumerator* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddressEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddressEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GSocketAddress*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_SOCKET_ADDRESS(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gsocket_address_enumerator_next_async(GSocketAddressEnumerator* s_object, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddressEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddressEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GSocketAddress* S_virtual_gsocket_address_enumerator_next_finish(GSocketAddressEnumerator* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketAddressEnumerator_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketAddressEnumerator"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GSocketAddress*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_SOCKET_ADDRESS(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif void S_gsocket_address_enumerator_class_init(GSocketAddressEnumeratorClass * c, SEXP e) { SEXP s; S_GSocketAddressEnumerator_symbol = install("GSocketAddressEnumerator"); s = findVar(S_GSocketAddressEnumerator_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketAddressEnumeratorClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->next = S_virtual_gsocket_address_enumerator_next; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->next_async = S_virtual_gsocket_address_enumerator_next_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->next_finish = S_virtual_gsocket_address_enumerator_next_finish; #endif } #endif USER_OBJECT_ S_gsocket_address_enumerator_class_next(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressEnumeratorClass* object_class = ((GSocketAddressEnumeratorClass*)getPtrValue(s_object_class)); GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketAddress* ans; GError* error = NULL; ans = object_class->next(object, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gsocket_address_enumerator_next exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_address_enumerator_class_next_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketAddressEnumeratorClass* object_class = ((GSocketAddressEnumeratorClass*)getPtrValue(s_object_class)); GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->next_async(object, cancellable, callback, user_data); #else error("gsocket_address_enumerator_next_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_address_enumerator_class_next_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressEnumeratorClass* object_class = ((GSocketAddressEnumeratorClass*)getPtrValue(s_object_class)); GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketAddress* ans; GError* error = NULL; ans = object_class->next_finish(object, result, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gsocket_address_enumerator_next_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketClient_symbol; void S_gsocket_client_class_init(GSocketClientClass * c, SEXP e) { SEXP s; S_GSocketClient_symbol = install("GSocketClient"); s = findVar(S_GSocketClient_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketClientClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketConnection_symbol; void S_gsocket_connection_class_init(GSocketConnectionClass * c, SEXP e) { SEXP s; S_GSocketConnection_symbol = install("GSocketConnection"); s = findVar(S_GSocketConnection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketConnectionClass)) = e; S_giostream_class_init(((GIOStreamClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketControlMessage_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static gsize S_virtual_gsocket_control_message_get_size(GSocketControlMessage* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketControlMessage_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketControlMessage"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gsize)0)); return(((gsize)asCNumeric(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static int S_virtual_gsocket_control_message_get_level(GSocketControlMessage* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketControlMessage_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketControlMessage"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((int)0)); return(((int)asCInteger(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static int S_virtual_gsocket_control_message_get_type(GSocketControlMessage* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketControlMessage_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketControlMessage"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((int)0)); return(((int)asCInteger(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gsocket_control_message_serialize(GSocketControlMessage* s_object, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketControlMessage_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketControlMessage"))); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gsocket_control_message_class_init(GSocketControlMessageClass * c, SEXP e) { SEXP s; S_GSocketControlMessage_symbol = install("GSocketControlMessage"); s = findVar(S_GSocketControlMessage_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketControlMessageClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_size = S_virtual_gsocket_control_message_get_size; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_level = S_virtual_gsocket_control_message_get_level; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_type = S_virtual_gsocket_control_message_get_type; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->serialize = S_virtual_gsocket_control_message_serialize; #endif } #endif USER_OBJECT_ S_gsocket_control_message_class_get_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessageClass* object_class = ((GSocketControlMessageClass*)getPtrValue(s_object_class)); GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); gsize ans; ans = object_class->get_size(object); _result = asRNumeric(ans); #else error("gsocket_control_message_get_size exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_control_message_class_get_level(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessageClass* object_class = ((GSocketControlMessageClass*)getPtrValue(s_object_class)); GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); int ans; ans = object_class->get_level(object); _result = asRInteger(ans); #else error("gsocket_control_message_get_level exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_control_message_class_get_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessageClass* object_class = ((GSocketControlMessageClass*)getPtrValue(s_object_class)); GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); int ans; ans = object_class->get_type(object); _result = asRInteger(ans); #else error("gsocket_control_message_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gsocket_control_message_class_serialize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessageClass* object_class = ((GSocketControlMessageClass*)getPtrValue(s_object_class)); GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); gpointer data = ((gpointer)asCGenericData(s_data)); object_class->serialize(object, data); #else error("gsocket_control_message_serialize exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketListener_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gsocket_listener_changed(GSocketListener* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketListener_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketListener"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gsocket_listener_class_init(GSocketListenerClass * c, SEXP e) { SEXP s; S_GSocketListener_symbol = install("GSocketListener"); s = findVar(S_GSocketListener_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketListenerClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gsocket_listener_changed; #endif } #endif USER_OBJECT_ S_gsocket_listener_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListenerClass* object_class = ((GSocketListenerClass*)getPtrValue(s_object_class)); GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); object_class->changed(object); #else error("gsocket_listener_changed exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketService_symbol; void S_gsocket_service_class_init(GSocketServiceClass * c, SEXP e) { SEXP s; S_GSocketService_symbol = install("GSocketService"); s = findVar(S_GSocketService_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketServiceClass)) = e; S_gsocket_listener_class_init(((GSocketListenerClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GTcpConnection_symbol; void S_gtcp_connection_class_init(GTcpConnectionClass * c, SEXP e) { SEXP s; S_GTcpConnection_symbol = install("GTcpConnection"); s = findVar(S_GTcpConnection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GTcpConnectionClass)) = e; S_gsocket_connection_class_init(((GSocketConnectionClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GThreadedSocketService_symbol; void S_gthreaded_socket_service_class_init(GThreadedSocketServiceClass * c, SEXP e) { SEXP s; S_GThreadedSocketService_symbol = install("GThreadedSocketService"); s = findVar(S_GThreadedSocketService_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GThreadedSocketServiceClass)) = e; S_gsocket_service_class_init(((GSocketServiceClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GIOStream_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GInputStream* S_virtual_giostream_get_input_stream(GIOStream* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIOStream"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GInputStream*)0)); return(G_INPUT_STREAM(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GOutputStream* S_virtual_giostream_get_output_stream(GIOStream* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIOStream"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GOutputStream*)0)); return(G_OUTPUT_STREAM(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_giostream_close_fn(GIOStream* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIOStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_giostream_close_async(GIOStream* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIOStream"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_giostream_close_finish(GIOStream* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIOStream_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIOStream"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_giostream_class_init(GIOStreamClass * c, SEXP e) { SEXP s; S_GIOStream_symbol = install("GIOStream"); s = findVar(S_GIOStream_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GIOStreamClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_input_stream = S_virtual_giostream_get_input_stream; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_output_stream = S_virtual_giostream_get_output_stream; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->close_fn = S_virtual_giostream_close_fn; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->close_async = S_virtual_giostream_close_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->close_finish = S_virtual_giostream_close_finish; #endif } #endif USER_OBJECT_ S_giostream_class_get_input_stream(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStreamClass* object_class = ((GIOStreamClass*)getPtrValue(s_object_class)); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GInputStream* ans; ans = object_class->get_input_stream(object); _result = toRPointerWithRef(ans, "GInputStream"); #else error("giostream_get_input_stream exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_giostream_class_get_output_stream(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStreamClass* object_class = ((GIOStreamClass*)getPtrValue(s_object_class)); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GOutputStream* ans; ans = object_class->get_output_stream(object); _result = toRPointerWithRef(ans, "GOutputStream"); #else error("giostream_get_output_stream exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_giostream_class_close_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStreamClass* object_class = ((GIOStreamClass*)getPtrValue(s_object_class)); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->close_fn(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("giostream_close_fn exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_giostream_class_close_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GIOStreamClass* object_class = ((GIOStreamClass*)getPtrValue(s_object_class)); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->close_async(object, io_priority, cancellable, callback, user_data); #else error("giostream_close_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_giostream_class_close_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStreamClass* object_class = ((GIOStreamClass*)getPtrValue(s_object_class)); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("giostream_close_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GInetSocketAddress_symbol; void S_ginet_socket_address_class_init(GInetSocketAddressClass * c, SEXP e) { SEXP s; S_GInetSocketAddress_symbol = install("GInetSocketAddress"); s = findVar(S_GInetSocketAddress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GInetSocketAddressClass)) = e; S_gsocket_address_class_init(((GSocketAddressClass *)c), e); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GAppInfo_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GAppInfo* S_virtual_gapp_info_dup(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GAppInfo*)0)); return(G_APP_INFO(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_equal(GAppInfo* s_object, GAppInfo* s_appinfo2) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_appinfo2, toRPointerWithRef(s_appinfo2, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static const char* S_virtual_gapp_info_get_id(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static const char* S_virtual_gapp_info_get_name(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static const char* S_virtual_gapp_info_get_description(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static const char* S_virtual_gapp_info_get_executable(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GIcon* S_virtual_gapp_info_get_icon(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GIcon*)0)); return(G_ICON(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_launch(GAppInfo* s_object, GList* s_files, GAppLaunchContext* s_launch_context, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRGListWithRef(s_files, "GFile")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_launch_context, "GAppLaunchContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_supports_uris(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_supports_files(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_launch_uris(GAppInfo* s_object, GList* s_uris, GAppLaunchContext* s_launch_context, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRGListConv(s_uris, ((ElementConverter)asRString))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_launch_context, "GAppLaunchContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_should_show(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_set_as_default_for_type(GAppInfo* s_object, const char* s_content_type, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_content_type)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_set_as_default_for_extension(GAppInfo* s_object, const char* s_extension, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_extension)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_add_supports_type(GAppInfo* s_object, const char* s_content_type, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_content_type)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_can_remove_supports_type(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gapp_info_remove_supports_type(GAppInfo* s_object, const char* s_content_type, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_content_type)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 20, 0) static const char* S_virtual_gapp_info_get_commandline(GAppInfo* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAppInfo_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAppInfo"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } #endif void S_gapp_info_class_init(GAppInfoIface * c, SEXP e) { SEXP s; S_GAppInfo_symbol = install("GAppInfo"); s = findVar(S_GAppInfo_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GAppInfoIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->dup = S_virtual_gapp_info_dup; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->equal = S_virtual_gapp_info_equal; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_id = S_virtual_gapp_info_get_id; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_name = S_virtual_gapp_info_get_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_description = S_virtual_gapp_info_get_description; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_executable = S_virtual_gapp_info_get_executable; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_icon = S_virtual_gapp_info_get_icon; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->launch = S_virtual_gapp_info_launch; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->supports_uris = S_virtual_gapp_info_supports_uris; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->supports_files = S_virtual_gapp_info_supports_files; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->launch_uris = S_virtual_gapp_info_launch_uris; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->should_show = S_virtual_gapp_info_should_show; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->set_as_default_for_type = S_virtual_gapp_info_set_as_default_for_type; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->set_as_default_for_extension = S_virtual_gapp_info_set_as_default_for_extension; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->add_supports_type = S_virtual_gapp_info_add_supports_type; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->can_remove_supports_type = S_virtual_gapp_info_can_remove_supports_type; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->remove_supports_type = S_virtual_gapp_info_remove_supports_type; #endif #if GIO_CHECK_VERSION(2, 20, 0) if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->get_commandline = S_virtual_gapp_info_get_commandline; #endif } #endif USER_OBJECT_ S_gapp_info_iface_dup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GAppInfo* ans; ans = object_class->dup(object); _result = toRPointerWithFinalizer(ans, "GAppInfo", (RPointerFinalizer) g_object_unref); #else error("gapp_info_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_equal(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_appinfo2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GAppInfo* appinfo2 = G_APP_INFO(getPtrValue(s_appinfo2)); gboolean ans; ans = object_class->equal(object, appinfo2); _result = asRLogical(ans); #else error("gapp_info_equal exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_id(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = object_class->get_id(object); _result = asRString(ans); #else error("gapp_info_get_id exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = object_class->get_name(object); _result = asRString(ans); #else error("gapp_info_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = object_class->get_description(object); _result = asRString(ans); #else error("gapp_info_get_description exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_executable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = object_class->get_executable(object); _result = asRString(ans); #else error("gapp_info_get_executable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_icon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GIcon* ans; ans = object_class->get_icon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("gapp_info_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_launch(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_files, USER_OBJECT_ s_launch_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GList* files = ((GList*)asCArrayRef(s_files, GList, asCGList)); GAppLaunchContext* launch_context = G_APP_LAUNCH_CONTEXT(getPtrValue(s_launch_context)); gboolean ans; GError* error = NULL; ans = object_class->launch(object, files, launch_context, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ((GList*)files));; CLEANUP(g_error_free, error);; #else error("gapp_info_launch exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_supports_uris(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = object_class->supports_uris(object); _result = asRLogical(ans); #else error("gapp_info_supports_uris exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_supports_files(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = object_class->supports_files(object); _result = asRLogical(ans); #else error("gapp_info_supports_files exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_launch_uris(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_uris, USER_OBJECT_ s_launch_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GList* uris = ((GList*)asCArrayRef(s_uris, GList, asCGList)); GAppLaunchContext* launch_context = G_APP_LAUNCH_CONTEXT(getPtrValue(s_launch_context)); gboolean ans; GError* error = NULL; ans = object_class->launch_uris(object, uris, launch_context, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(GListFreeStrings, ((GList*)uris)); CLEANUP(g_list_free, ((GList*)uris));; CLEANUP(g_error_free, error);; #else error("gapp_info_launch_uris exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_should_show(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = object_class->should_show(object); _result = asRLogical(ans); #else error("gapp_info_should_show exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_set_as_default_for_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = object_class->set_as_default_for_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gapp_info_set_as_default_for_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_set_as_default_for_extension(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_extension) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* extension = ((const char*)asCString(s_extension)); gboolean ans; GError* error = NULL; ans = object_class->set_as_default_for_extension(object, extension, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gapp_info_set_as_default_for_extension exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_add_supports_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = object_class->add_supports_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gapp_info_add_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_can_remove_supports_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = object_class->can_remove_supports_type(object); _result = asRLogical(ans); #else error("gapp_info_can_remove_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_remove_supports_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = object_class->remove_supports_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gapp_info_remove_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gapp_info_iface_get_commandline(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAppInfoIface* object_class = ((GAppInfoIface*)getPtrValue(s_object_class)); GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = object_class->get_commandline(object); _result = asRString(ans); #else error("gapp_info_get_commandline exists only in gio >= 2.20.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GAsyncResult_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static gpointer S_virtual_gasync_result_get_user_data(GAsyncResult* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAsyncResult_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAsyncResult"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gpointer)0)); return(((gpointer)asCGenericData(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GObject* S_virtual_gasync_result_get_source_object(GAsyncResult* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAsyncResult_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAsyncResult"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GObject*)0)); return(G_OBJECT(getPtrValue(s_ans))); } #endif void S_gasync_result_class_init(GAsyncResultIface * c, SEXP e) { SEXP s; S_GAsyncResult_symbol = install("GAsyncResult"); s = findVar(S_GAsyncResult_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GAsyncResultIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_user_data = S_virtual_gasync_result_get_user_data; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_source_object = S_virtual_gasync_result_get_source_object; #endif } #endif USER_OBJECT_ S_gasync_result_iface_get_user_data(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncResultIface* object_class = ((GAsyncResultIface*)getPtrValue(s_object_class)); GAsyncResult* object = G_ASYNC_RESULT(getPtrValue(s_object)); gpointer ans; ans = object_class->get_user_data(object); _result = ans; #else error("gasync_result_get_user_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gasync_result_iface_get_source_object(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncResultIface* object_class = ((GAsyncResultIface*)getPtrValue(s_object_class)); GAsyncResult* object = G_ASYNC_RESULT(getPtrValue(s_object)); GObject* ans; ans = object_class->get_source_object(object); _result = toRPointerWithRef(ans, "GObject"); #else error("gasync_result_get_source_object exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GDrive_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gdrive_get_name(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GIcon* S_virtual_gdrive_get_icon(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GIcon*)0)); return(G_ICON(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_has_volumes(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GList* S_virtual_gdrive_get_volumes(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); return(((GList*)asCArrayRef(s_ans, GList, asCGListDup))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_is_media_removable(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_has_media(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_is_media_check_automatic(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_can_poll_for_media(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_can_eject(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gdrive_eject(GDrive* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_eject_finish(GDrive* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gdrive_poll_for_media(GDrive* s_object, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gdrive_poll_for_media_finish(GDrive* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gdrive_get_identifier(GDrive* s_object, const char* s_kind) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_kind)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char** S_virtual_gdrive_enumerate_identifiers(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char**)0)); return(((char**)asCStringArray(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GDriveStartStopType S_virtual_gdrive_get_start_stop_type(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GDriveStartStopType)0)); return(((GDriveStartStopType)asCEnum(s_ans, G_TYPE_DRIVE_START_STOP_TYPE))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gdrive_start(GDrive* s_object, GDriveStartFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_start_finish(GDrive* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gdrive_stop(GDrive* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_stop_finish(GDrive* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_can_start(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_can_start_degraded(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_can_stop(GDrive* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gdrive_eject_with_operation(GDrive* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gdrive_eject_with_operation_finish(GDrive* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GDrive_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GDrive"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gdrive_class_init(GDriveIface * c, SEXP e) { SEXP s; S_GDrive_symbol = install("GDrive"); s = findVar(S_GDrive_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GDriveIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_name = S_virtual_gdrive_get_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_icon = S_virtual_gdrive_get_icon; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->has_volumes = S_virtual_gdrive_has_volumes; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_volumes = S_virtual_gdrive_get_volumes; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->is_media_removable = S_virtual_gdrive_is_media_removable; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->has_media = S_virtual_gdrive_has_media; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->is_media_check_automatic = S_virtual_gdrive_is_media_check_automatic; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->can_poll_for_media = S_virtual_gdrive_can_poll_for_media; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->can_eject = S_virtual_gdrive_can_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->eject = S_virtual_gdrive_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->eject_finish = S_virtual_gdrive_eject_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->poll_for_media = S_virtual_gdrive_poll_for_media; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->poll_for_media_finish = S_virtual_gdrive_poll_for_media_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->get_identifier = S_virtual_gdrive_get_identifier; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->enumerate_identifiers = S_virtual_gdrive_enumerate_identifiers; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->get_start_stop_type = S_virtual_gdrive_get_start_stop_type; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->start = S_virtual_gdrive_start; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->start_finish = S_virtual_gdrive_start_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->stop = S_virtual_gdrive_stop; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->stop_finish = S_virtual_gdrive_stop_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->can_start = S_virtual_gdrive_can_start; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->can_start_degraded = S_virtual_gdrive_can_start_degraded; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->can_stop = S_virtual_gdrive_can_stop; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->eject_with_operation = S_virtual_gdrive_eject_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->eject_with_operation_finish = S_virtual_gdrive_eject_with_operation_finish; #endif } #endif USER_OBJECT_ S_gdrive_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); char* ans; ans = object_class->get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gdrive_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_get_icon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GIcon* ans; ans = object_class->get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("gdrive_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_has_volumes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->has_volumes(object); _result = asRLogical(ans); #else error("gdrive_has_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_get_volumes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GList* ans; ans = object_class->get_volumes(object); _result = asRGListWithRef(ans, "GVolume"); CLEANUP(g_list_free, ans);; #else error("gdrive_get_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_is_media_removable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->is_media_removable(object); _result = asRLogical(ans); #else error("gdrive_is_media_removable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_has_media(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->has_media(object); _result = asRLogical(ans); #else error("gdrive_has_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_is_media_check_automatic(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->is_media_check_automatic(object); _result = asRLogical(ans); #else error("gdrive_is_media_check_automatic exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_can_poll_for_media(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_poll_for_media(object); _result = asRLogical(ans); #else error("gdrive_can_poll_for_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_can_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_eject(object); _result = asRLogical(ans); #else error("gdrive_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject(object, flags, cancellable, callback, user_data); #else error("gdrive_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_eject_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdrive_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_poll_for_media(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->poll_for_media(object, cancellable, callback, user_data); #else error("gdrive_poll_for_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_poll_for_media_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->poll_for_media_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdrive_poll_for_media_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_get_identifier(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_kind) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); const char* kind = ((const char*)asCString(s_kind)); char* ans; ans = object_class->get_identifier(object, kind); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gdrive_get_identifier exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_enumerate_identifiers(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); char** ans; ans = object_class->enumerate_identifiers(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; #else error("gdrive_enumerate_identifiers exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_get_start_stop_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GDriveStartStopType ans; ans = object_class->get_start_stop_type(object); _result = asREnum(ans, G_TYPE_DRIVE_START_STOP_TYPE); #else error("gdrive_get_start_stop_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_start(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GDriveStartFlags flags = ((GDriveStartFlags)asCEnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->start(object, flags, mount_operation, cancellable, callback, user_data); #else error("gdrive_start exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_start_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->start_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdrive_start_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_stop(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->stop(object, flags, mount_operation, cancellable, callback, user_data); #else error("gdrive_stop exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_stop_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->stop_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdrive_stop_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_can_start(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_start(object); _result = asRLogical(ans); #else error("gdrive_can_start exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_can_start_degraded(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_start_degraded(object); _result = asRLogical(ans); #else error("gdrive_can_start_degraded exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_can_stop(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_stop(object); _result = asRLogical(ans); #else error("gdrive_can_stop exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_eject_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gdrive_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gdrive_iface_eject_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDriveIface* object_class = ((GDriveIface*)getPtrValue(s_object_class)); GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdrive_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GFile_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_dup(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_equal(GFile* s_object, GFile* s_file2) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_file2, toRPointerWithRef(s_file2, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_basename(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_path(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_uri(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_parse_name(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_get_parent(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_get_child_for_display_name(GFile* s_object, const char* s_display_name, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_display_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_prefix_matches(GFile* s_object, GFile* s_file) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_file, toRPointerWithRef(s_file, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_relative_path(GFile* s_object, GFile* s_descendant) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_descendant, toRPointerWithRef(s_descendant, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_resolve_relative_path(GFile* s_object, const char* s_relative_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_relative_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_is_native(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_has_uri_scheme(GFile* s_object, const char* s_uri_scheme) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_uri_scheme)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gfile_get_uri_scheme(GFile* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInputStream* S_virtual_gfile_read_fn(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_read_async(GFile* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInputStream* S_virtual_gfile_read_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_append_to(GFile* s_object, GFileCreateFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_create(GFile* s_object, GFileCreateFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_replace(GFile* s_object, const char* s_etag, gboolean s_make_backup, GFileCreateFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_etag)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_make_backup)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_append_to_async(GFile* s_object, GFileCreateFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_append_to_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_create_async(GFile* s_object, GFileCreateFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_create_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_replace_async(GFile* s_object, const char* s_etag, gboolean s_make_backup, GFileCreateFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 9)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_etag)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_make_backup)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileOutputStream* S_virtual_gfile_replace_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileOutputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_OUTPUT_STREAM(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_query_info(GFile* s_object, const char* s_attributes, GFileQueryInfoFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 26)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_query_info_async(GFile* s_object, const char* s_attributes, GFileQueryInfoFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 27)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_query_info_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 28)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_query_filesystem_info(GFile* s_object, const char* s_attributes, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 29)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_query_filesystem_info_async(GFile* s_object, const char* s_attributes, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 30)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileInfo* S_virtual_gfile_query_filesystem_info_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 31)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileInfo*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_INFO(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GMount* S_virtual_gfile_find_enclosing_mount(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 32)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GMount*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_MOUNT(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_find_enclosing_mount_async(GFile* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 33)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GMount* S_virtual_gfile_find_enclosing_mount_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 34)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GMount*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_MOUNT(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileEnumerator* S_virtual_gfile_enumerate_children(GFile* s_object, const char* s_attributes, GFileQueryInfoFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 35)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileEnumerator*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_ENUMERATOR(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_enumerate_children_async(GFile* s_object, const char* s_attributes, GFileQueryInfoFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 36)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attributes)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileEnumerator* S_virtual_gfile_enumerate_children_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 37)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileEnumerator*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_ENUMERATOR(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_set_display_name(GFile* s_object, const char* s_display_name, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 38)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_display_name)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_set_display_name_async(GFile* s_object, const char* s_display_name, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 39)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_display_name)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_set_display_name_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 40)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_delete_file(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 41)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_trash(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 42)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_copy(GFile* s_object, GFile* s_destination, GFileCopyFlags s_flags, GCancellable* s_cancellable, GFileProgressCallback s_progress_callback, gpointer s_progress_callback_data, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 43)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_destination, toRPointerWithRef(s_destination, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_progress_callback, "GFileProgressCallback")); tmp = CDR(tmp); SETCAR(tmp, s_progress_callback_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_copy_async(GFile* s_object, GFile* s_destination, GFileCopyFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GFileProgressCallback s_progress_callback, gpointer s_progress_callback_data, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 44)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_destination, toRPointerWithRef(s_destination, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_progress_callback, "GFileProgressCallback")); tmp = CDR(tmp); SETCAR(tmp, s_progress_callback_data); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_copy_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 45)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_move(GFile* s_object, GFile* s_destination, GFileCopyFlags s_flags, GCancellable* s_cancellable, GFileProgressCallback s_progress_callback, gpointer s_progress_callback_data, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 46)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_destination, toRPointerWithRef(s_destination, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_progress_callback, "GFileProgressCallback")); tmp = CDR(tmp); SETCAR(tmp, s_progress_callback_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_make_directory(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 47)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_make_symbolic_link(GFile* s_object, const char* s_symlink_value, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 48)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_symlink_value)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileAttributeInfoList* S_virtual_gfile_query_settable_attributes(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 49)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileAttributeInfoList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GFileAttributeInfoList*)getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileAttributeInfoList* S_virtual_gfile_query_writable_namespaces(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 50)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileAttributeInfoList*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((GFileAttributeInfoList*)getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_set_attribute(GFile* s_object, const char* s_attribute, GFileAttributeType s_type, gpointer s_value_p, GFileQueryInfoFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 51)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attribute)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, G_TYPE_FILE_ATTRIBUTE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, s_value_p); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_set_attributes_from_info(GFile* s_object, GFileInfo* s_info, GFileQueryInfoFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 52)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_info, "GFileInfo")); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_set_attributes_async(GFile* s_object, GFileInfo* s_info, GFileQueryInfoFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 53)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_info, "GFileInfo")); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_set_attributes_finish(GFile* s_object, GAsyncResult* s_result, GFileInfo** s_info, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 54)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_info = G_FILE_INFO(getPtrValueWithRef(VECTOR_ELT(s_ans, 1))); *s_error = asCGError(VECTOR_ELT(s_ans, 2)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_mount_enclosing_volume(GFile* s_object, GMountMountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 55)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_mount_enclosing_volume_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 56)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_mount_mountable(GFile* s_object, GMountMountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 57)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gfile_mount_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 58)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_unmount_mountable(GFile* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 59)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_unmount_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 60)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gfile_eject_mountable(GFile* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 61)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gfile_eject_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 62)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileMonitor* S_virtual_gfile_monitor_dir(GFile* s_object, GFileMonitorFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 63)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileMonitor*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_MONITOR(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GFileMonitor* S_virtual_gfile_monitor_file(GFile* s_object, GFileMonitorFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 64)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileMonitor*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_MONITOR(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_create_readwrite(GFile* s_object, GFileCreateFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 65)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_create_readwrite_async(GFile* s_object, GFileCreateFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 66)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_create_readwrite_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 67)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_eject_mountable_with_operation(GFile* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 68)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gfile_eject_mountable_with_operation_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 69)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_open_readwrite(GFile* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 70)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_open_readwrite_async(GFile* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 71)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_open_readwrite_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 72)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_poll_mountable(GFile* s_object, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 73)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gfile_poll_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 74)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_replace_readwrite(GFile* s_object, const char* s_etag, gboolean s_make_backup, GFileCreateFlags s_flags, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 75)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_etag)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_make_backup)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_replace_readwrite_async(GFile* s_object, const char* s_etag, gboolean s_make_backup, GFileCreateFlags s_flags, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 9)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 76)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_etag)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_make_backup)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static GFileIOStream* S_virtual_gfile_replace_readwrite_finish(GFile* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 77)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFileIOStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_FILE_IO_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_start_mountable(GFile* s_object, GDriveStartFlags s_flags, GMountOperation* s_start_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 78)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_start_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gfile_start_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 79)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_stop_mountable(GFile* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 80)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gfile_stop_mountable_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 81)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gfile_unmount_mountable_with_operation(GFile* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 82)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gfile_unmount_mountable_with_operation_finish(GFile* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GFile_symbol, S_GOBJECT_GET_ENV(s_object)), 83)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GFile"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gfile_class_init(GFileIface * c, SEXP e) { SEXP s; S_GFile_symbol = install("GFile"); s = findVar(S_GFile_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GFileIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->dup = S_virtual_gfile_dup; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->equal = S_virtual_gfile_equal; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_basename = S_virtual_gfile_get_basename; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_path = S_virtual_gfile_get_path; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_uri = S_virtual_gfile_get_uri; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_parse_name = S_virtual_gfile_get_parse_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_parent = S_virtual_gfile_get_parent; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_child_for_display_name = S_virtual_gfile_get_child_for_display_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->prefix_matches = S_virtual_gfile_prefix_matches; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_relative_path = S_virtual_gfile_get_relative_path; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->resolve_relative_path = S_virtual_gfile_resolve_relative_path; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->is_native = S_virtual_gfile_is_native; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->has_uri_scheme = S_virtual_gfile_has_uri_scheme; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->get_uri_scheme = S_virtual_gfile_get_uri_scheme; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->read_fn = S_virtual_gfile_read_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->read_async = S_virtual_gfile_read_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->read_finish = S_virtual_gfile_read_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->append_to = S_virtual_gfile_append_to; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->create = S_virtual_gfile_create; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->replace = S_virtual_gfile_replace; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->append_to_async = S_virtual_gfile_append_to_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->append_to_finish = S_virtual_gfile_append_to_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->create_async = S_virtual_gfile_create_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->create_finish = S_virtual_gfile_create_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->replace_async = S_virtual_gfile_replace_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->replace_finish = S_virtual_gfile_replace_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 26) != NULL_USER_OBJECT) c->query_info = S_virtual_gfile_query_info; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 27) != NULL_USER_OBJECT) c->query_info_async = S_virtual_gfile_query_info_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 28) != NULL_USER_OBJECT) c->query_info_finish = S_virtual_gfile_query_info_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 29) != NULL_USER_OBJECT) c->query_filesystem_info = S_virtual_gfile_query_filesystem_info; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 30) != NULL_USER_OBJECT) c->query_filesystem_info_async = S_virtual_gfile_query_filesystem_info_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 31) != NULL_USER_OBJECT) c->query_filesystem_info_finish = S_virtual_gfile_query_filesystem_info_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 32) != NULL_USER_OBJECT) c->find_enclosing_mount = S_virtual_gfile_find_enclosing_mount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 33) != NULL_USER_OBJECT) c->find_enclosing_mount_async = S_virtual_gfile_find_enclosing_mount_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 34) != NULL_USER_OBJECT) c->find_enclosing_mount_finish = S_virtual_gfile_find_enclosing_mount_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 35) != NULL_USER_OBJECT) c->enumerate_children = S_virtual_gfile_enumerate_children; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 36) != NULL_USER_OBJECT) c->enumerate_children_async = S_virtual_gfile_enumerate_children_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 37) != NULL_USER_OBJECT) c->enumerate_children_finish = S_virtual_gfile_enumerate_children_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 38) != NULL_USER_OBJECT) c->set_display_name = S_virtual_gfile_set_display_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 39) != NULL_USER_OBJECT) c->set_display_name_async = S_virtual_gfile_set_display_name_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 40) != NULL_USER_OBJECT) c->set_display_name_finish = S_virtual_gfile_set_display_name_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 41) != NULL_USER_OBJECT) c->delete_file = S_virtual_gfile_delete_file; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 42) != NULL_USER_OBJECT) c->trash = S_virtual_gfile_trash; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 43) != NULL_USER_OBJECT) c->copy = S_virtual_gfile_copy; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 44) != NULL_USER_OBJECT) c->copy_async = S_virtual_gfile_copy_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 45) != NULL_USER_OBJECT) c->copy_finish = S_virtual_gfile_copy_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 46) != NULL_USER_OBJECT) c->move = S_virtual_gfile_move; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 47) != NULL_USER_OBJECT) c->make_directory = S_virtual_gfile_make_directory; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 48) != NULL_USER_OBJECT) c->make_symbolic_link = S_virtual_gfile_make_symbolic_link; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 49) != NULL_USER_OBJECT) c->query_settable_attributes = S_virtual_gfile_query_settable_attributes; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 50) != NULL_USER_OBJECT) c->query_writable_namespaces = S_virtual_gfile_query_writable_namespaces; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 51) != NULL_USER_OBJECT) c->set_attribute = S_virtual_gfile_set_attribute; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 52) != NULL_USER_OBJECT) c->set_attributes_from_info = S_virtual_gfile_set_attributes_from_info; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 53) != NULL_USER_OBJECT) c->set_attributes_async = S_virtual_gfile_set_attributes_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 54) != NULL_USER_OBJECT) c->set_attributes_finish = S_virtual_gfile_set_attributes_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 55) != NULL_USER_OBJECT) c->mount_enclosing_volume = S_virtual_gfile_mount_enclosing_volume; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 56) != NULL_USER_OBJECT) c->mount_enclosing_volume_finish = S_virtual_gfile_mount_enclosing_volume_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 57) != NULL_USER_OBJECT) c->mount_mountable = S_virtual_gfile_mount_mountable; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 58) != NULL_USER_OBJECT) c->mount_mountable_finish = S_virtual_gfile_mount_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 59) != NULL_USER_OBJECT) c->unmount_mountable = S_virtual_gfile_unmount_mountable; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 60) != NULL_USER_OBJECT) c->unmount_mountable_finish = S_virtual_gfile_unmount_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 61) != NULL_USER_OBJECT) c->eject_mountable = S_virtual_gfile_eject_mountable; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 62) != NULL_USER_OBJECT) c->eject_mountable_finish = S_virtual_gfile_eject_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 63) != NULL_USER_OBJECT) c->monitor_dir = S_virtual_gfile_monitor_dir; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 64) != NULL_USER_OBJECT) c->monitor_file = S_virtual_gfile_monitor_file; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 65) != NULL_USER_OBJECT) c->create_readwrite = S_virtual_gfile_create_readwrite; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 66) != NULL_USER_OBJECT) c->create_readwrite_async = S_virtual_gfile_create_readwrite_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 67) != NULL_USER_OBJECT) c->create_readwrite_finish = S_virtual_gfile_create_readwrite_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 68) != NULL_USER_OBJECT) c->eject_mountable_with_operation = S_virtual_gfile_eject_mountable_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 69) != NULL_USER_OBJECT) c->eject_mountable_with_operation_finish = S_virtual_gfile_eject_mountable_with_operation_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 70) != NULL_USER_OBJECT) c->open_readwrite = S_virtual_gfile_open_readwrite; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 71) != NULL_USER_OBJECT) c->open_readwrite_async = S_virtual_gfile_open_readwrite_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 72) != NULL_USER_OBJECT) c->open_readwrite_finish = S_virtual_gfile_open_readwrite_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 73) != NULL_USER_OBJECT) c->poll_mountable = S_virtual_gfile_poll_mountable; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 74) != NULL_USER_OBJECT) c->poll_mountable_finish = S_virtual_gfile_poll_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 75) != NULL_USER_OBJECT) c->replace_readwrite = S_virtual_gfile_replace_readwrite; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 76) != NULL_USER_OBJECT) c->replace_readwrite_async = S_virtual_gfile_replace_readwrite_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 77) != NULL_USER_OBJECT) c->replace_readwrite_finish = S_virtual_gfile_replace_readwrite_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 78) != NULL_USER_OBJECT) c->start_mountable = S_virtual_gfile_start_mountable; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 79) != NULL_USER_OBJECT) c->start_mountable_finish = S_virtual_gfile_start_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 80) != NULL_USER_OBJECT) c->stop_mountable = S_virtual_gfile_stop_mountable; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 81) != NULL_USER_OBJECT) c->stop_mountable_finish = S_virtual_gfile_stop_mountable_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 82) != NULL_USER_OBJECT) c->unmount_mountable_with_operation = S_virtual_gfile_unmount_mountable_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 83) != NULL_USER_OBJECT) c->unmount_mountable_with_operation_finish = S_virtual_gfile_unmount_mountable_with_operation_finish; #endif } #endif USER_OBJECT_ S_gfile_iface_dup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* ans; ans = object_class->dup(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gfile_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_equal(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_file2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* file2 = G_FILE(getPtrValue(s_file2)); gboolean ans; ans = object_class->equal(object, file2); _result = asRLogical(ans); #else error("gfile_equal exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_basename(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = object_class->get_basename(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_basename exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_path(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = object_class->get_path(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_uri(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = object_class->get_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_parse_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = object_class->get_parse_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_parse_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* ans; ans = object_class->get_parent(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gfile_get_parent exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_child_for_display_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_display_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); GFile* ans; GError* error = NULL; ans = object_class->get_child_for_display_name(object, display_name, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_get_child_for_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_prefix_matches(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); gboolean ans; ans = object_class->prefix_matches(object, file); _result = asRLogical(ans); #else error("gfile_prefix_matches exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_relative_path(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_descendant) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* descendant = G_FILE(getPtrValue(s_descendant)); char* ans; ans = object_class->get_relative_path(object, descendant); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_relative_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_resolve_relative_path(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_relative_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* relative_path = ((const char*)asCString(s_relative_path)); GFile* ans; ans = object_class->resolve_relative_path(object, relative_path); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gfile_resolve_relative_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_is_native(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); gboolean ans; ans = object_class->is_native(object); _result = asRLogical(ans); #else error("gfile_is_native exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_has_uri_scheme(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_uri_scheme) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* uri_scheme = ((const char*)asCString(s_uri_scheme)); gboolean ans; ans = object_class->has_uri_scheme(object, uri_scheme); _result = asRLogical(ans); #else error("gfile_has_uri_scheme exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_get_uri_scheme(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = object_class->get_uri_scheme(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gfile_get_uri_scheme exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_read_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInputStream* ans; GError* error = NULL; ans = object_class->read_fn(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_read_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_read_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->read_async(object, io_priority, cancellable, callback, user_data); #else error("gfile_read_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_read_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInputStream* ans; GError* error = NULL; ans = object_class->read_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileInputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_read_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_append_to(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->append_to(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_append_to exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->create(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_create exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->replace(object, etag, make_backup, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_replace exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_append_to_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->append_to_async(object, flags, io_priority, cancellable, callback, user_data); #else error("gfile_append_to_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_append_to_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->append_to_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_append_to_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->create_async(object, flags, io_priority, cancellable, callback, user_data); #else error("gfile_create_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->create_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_create_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->replace_async(object, etag, make_backup, flags, io_priority, cancellable, callback, user_data); #else error("gfile_replace_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = object_class->replace_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_replace_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info(object, attributes, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_info_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->query_info_async(object, attributes, flags, io_priority, cancellable, callback, user_data); #else error("gfile_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_info_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_info_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_filesystem_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_filesystem_info(object, attributes, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_filesystem_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_filesystem_info_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->query_filesystem_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("gfile_query_filesystem_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_filesystem_info_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInfo* ans; GError* error = NULL; ans = object_class->query_filesystem_info_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_filesystem_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_find_enclosing_mount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GMount* ans; GError* error = NULL; ans = object_class->find_enclosing_mount(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_find_enclosing_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_find_enclosing_mount_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->find_enclosing_mount_async(object, io_priority, cancellable, callback, user_data); #else error("gfile_find_enclosing_mount_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_find_enclosing_mount_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GMount* ans; GError* error = NULL; ans = object_class->find_enclosing_mount_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_find_enclosing_mount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_enumerate_children(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileEnumerator* ans; GError* error = NULL; ans = object_class->enumerate_children(object, attributes, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileEnumerator", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_enumerate_children exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_enumerate_children_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->enumerate_children_async(object, attributes, flags, io_priority, cancellable, callback, user_data); #else error("gfile_enumerate_children_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_enumerate_children_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileEnumerator* ans; GError* error = NULL; ans = object_class->enumerate_children_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileEnumerator", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_enumerate_children_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_display_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFile* ans; GError* error = NULL; ans = object_class->set_display_name(object, display_name, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_set_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_display_name_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->set_display_name_async(object, display_name, io_priority, cancellable, callback, user_data); #else error("gfile_set_display_name_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_display_name_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFile* ans; GError* error = NULL; ans = object_class->set_display_name_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_set_display_name_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_delete_file(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->delete_file(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_delete_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_trash(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->trash(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_trash exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_copy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->copy(object, destination, flags, cancellable, progress_callback, progress_callback_data, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); R_freeCBData(progress_callback_data); CLEANUP(g_error_free, error);; #else error("gfile_copy exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_copy_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->copy_async(object, destination, flags, io_priority, cancellable, progress_callback, progress_callback_data, callback, user_data); R_freeCBData(progress_callback_data); #else error("gfile_copy_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_copy_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; GError* error = NULL; ans = object_class->copy_finish(object, res, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_copy_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_move(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->move(object, destination, flags, cancellable, progress_callback, progress_callback_data, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); R_freeCBData(progress_callback_data); CLEANUP(g_error_free, error);; #else error("gfile_move exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_make_directory(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->make_directory(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_make_directory exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_make_symbolic_link(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_symlink_value, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* symlink_value = ((const char*)asCString(s_symlink_value)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->make_symbolic_link(object, symlink_value, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_make_symbolic_link exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_settable_attributes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileAttributeInfoList* ans; GError* error = NULL; ans = object_class->query_settable_attributes(object, cancellable, &error); _result = toRPointerWithFinalizer(ans ? g_file_attribute_info_list_ref(ans) : NULL, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_settable_attributes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_query_writable_namespaces(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileAttributeInfoList* ans; GError* error = NULL; ans = object_class->query_writable_namespaces(object, cancellable, &error); _result = toRPointerWithFinalizer(ans ? g_file_attribute_info_list_ref(ans) : NULL, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_query_writable_namespaces exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_attribute(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_type, USER_OBJECT_ s_value_p, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeType type = ((GFileAttributeType)asCEnum(s_type, G_TYPE_FILE_ATTRIBUTE_TYPE)); gpointer value_p = ((gpointer)asCGenericData(s_value_p)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->set_attribute(object, attribute, type, value_p, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_set_attribute exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_attributes_from_info(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileInfo* info = G_FILE_INFO(getPtrValue(s_info)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->set_attributes_from_info(object, info, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_set_attributes_from_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_attributes_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileInfo* info = G_FILE_INFO(getPtrValue(s_info)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->set_attributes_async(object, info, flags, io_priority, cancellable, callback, user_data); #else error("gfile_set_attributes_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_set_attributes_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GFileInfo* info = NULL; GError* error = NULL; ans = object_class->set_attributes_finish(object, result, &info, &error); _result = asRLogical(ans); _result = retByVal(_result, "info", toRPointerWithRef(info, "GFileInfo"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("gfile_set_attributes_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_mount_enclosing_volume(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->mount_enclosing_volume(object, flags, mount_operation, cancellable, callback, user_data); #else error("gfile_mount_enclosing_volume exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_mount_enclosing_volume_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->mount_enclosing_volume_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_mount_enclosing_volume_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_mount_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->mount_mountable(object, flags, mount_operation, cancellable, callback, user_data); #else error("gfile_mount_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_mount_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFile* ans; GError* error = NULL; ans = object_class->mount_mountable_finish(object, result, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_mount_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_unmount_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->unmount_mountable(object, flags, cancellable, callback, user_data); #else error("gfile_unmount_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_unmount_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->unmount_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_unmount_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_eject_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject_mountable(object, flags, cancellable, callback, user_data); #else error("gfile_eject_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_eject_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_eject_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_monitor_dir(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileMonitorFlags flags = ((GFileMonitorFlags)asCFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileMonitor* ans; GError* error = NULL; ans = object_class->monitor_dir(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileMonitor", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_monitor_dir exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_monitor_file(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileMonitorFlags flags = ((GFileMonitorFlags)asCFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileMonitor* ans; GError* error = NULL; ans = object_class->monitor_file(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileMonitor", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_monitor_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create_readwrite(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = object_class->create_readwrite(object, flags, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_create_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create_readwrite_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->create_readwrite_async(object, flags, io_priority, cancellable, callback, user_data); #else error("gfile_create_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_create_readwrite_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = object_class->create_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_create_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_eject_mountable_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject_mountable_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gfile_eject_mountable_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_eject_mountable_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_mountable_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_eject_mountable_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_open_readwrite(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = object_class->open_readwrite(object, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_open_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_open_readwrite_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->open_readwrite_async(object, io_priority, cancellable, callback, user_data); #else error("gfile_open_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_open_readwrite_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = object_class->open_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_open_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_poll_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->poll_mountable(object, cancellable, callback, user_data); #else error("gfile_poll_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_poll_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->poll_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_poll_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace_readwrite(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = object_class->replace_readwrite(object, etag, make_backup, flags, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_replace_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace_readwrite_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->replace_readwrite_async(object, etag, make_backup, flags, io_priority, cancellable, callback, user_data); #else error("gfile_replace_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_replace_readwrite_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = object_class->replace_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_replace_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_start_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_start_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GDriveStartFlags flags = ((GDriveStartFlags)asCEnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); GMountOperation* start_operation = G_MOUNT_OPERATION(getPtrValue(s_start_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->start_mountable(object, flags, start_operation, cancellable, callback, user_data); #else error("gfile_start_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_start_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->start_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_start_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_stop_mountable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->stop_mountable(object, flags, mount_operation, cancellable, callback, user_data); #else error("gfile_stop_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_stop_mountable_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->stop_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_stop_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_unmount_mountable_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->unmount_mountable_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gfile_unmount_mountable_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gfile_iface_unmount_mountable_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIface* object_class = ((GFileIface*)getPtrValue(s_object_class)); GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->unmount_mountable_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gfile_unmount_mountable_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GIcon_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static guint S_virtual_gicon_hash(GIcon* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIcon"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((guint)0)); return(((guint)asCNumeric(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gicon_equal(GIcon* s_object, GIcon* s_icon2) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GIcon"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_icon2, toRPointerWithRef(s_icon2, "GIcon"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif void S_gicon_class_init(GIconIface * c, SEXP e) { SEXP s; S_GIcon_symbol = install("GIcon"); s = findVar(S_GIcon_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GIconIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->hash = S_virtual_gicon_hash; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->equal = S_virtual_gicon_equal; #endif } #endif USER_OBJECT_ S_gicon_iface_hash(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIconIface* object_class = ((GIconIface*)getPtrValue(s_object_class)); GIcon* object = G_ICON(getPtrValue(s_object)); guint ans; ans = object_class->hash(object); _result = asRNumeric(ans); #else error("gicon_hash exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gicon_iface_equal(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_icon2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIconIface* object_class = ((GIconIface*)getPtrValue(s_object_class)); GIcon* object = G_ICON(getPtrValue(s_object)); GIcon* icon2 = G_ICON(getPtrValue(s_icon2)); gboolean ans; ans = object_class->equal(object, icon2); _result = asRLogical(ans); #else error("gicon_equal exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GLoadableIcon_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GInputStream* S_virtual_gloadable_icon_load(GLoadableIcon* s_object, int s_size, char** s_type, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GLoadableIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GLoadableIcon"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_size)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GInputStream*)0)); *s_type = ((char*)g_strdup(asCString(VECTOR_ELT(s_ans, 1)))); *s_error = asCGError(VECTOR_ELT(s_ans, 2)); return(G_INPUT_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gloadable_icon_load_async(GLoadableIcon* s_object, int s_size, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GLoadableIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GLoadableIcon"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_size)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GInputStream* S_virtual_gloadable_icon_load_finish(GLoadableIcon* s_object, GAsyncResult* s_res, char** s_type, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GLoadableIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GLoadableIcon"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); SETCAR(tmp, asRStringArray(s_type)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GInputStream*)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(G_INPUT_STREAM(getPtrValue(VECTOR_ELT(s_ans, 0)))); } #endif void S_gloadable_icon_class_init(GLoadableIconIface * c, SEXP e) { SEXP s; S_GLoadableIcon_symbol = install("GLoadableIcon"); s = findVar(S_GLoadableIcon_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GLoadableIconIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->load = S_virtual_gloadable_icon_load; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->load_async = S_virtual_gloadable_icon_load_async; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->load_finish = S_virtual_gloadable_icon_load_finish; #endif } #endif USER_OBJECT_ S_gloadable_icon_iface_load(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GLoadableIconIface* object_class = ((GLoadableIconIface*)getPtrValue(s_object_class)); GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); int size = ((int)asCInteger(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GInputStream* ans; char* type = NULL; GError* error = NULL; ans = object_class->load(object, size, &type, cancellable, &error); _result = toRPointerWithRef(ans, "GInputStream"); _result = retByVal(_result, "type", asRString(type), "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gloadable_icon_load exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gloadable_icon_iface_load_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GLoadableIconIface* object_class = ((GLoadableIconIface*)getPtrValue(s_object_class)); GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); int size = ((int)asCInteger(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->load_async(object, size, cancellable, callback, user_data); #else error("gloadable_icon_load_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gloadable_icon_iface_load_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GLoadableIconIface* object_class = ((GLoadableIconIface*)getPtrValue(s_object_class)); GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); char** type = ((char**)asCStringArray(s_type)); GInputStream* ans; GError* error = NULL; ans = object_class->load_finish(object, res, type, &error); _result = toRPointerWithRef(ans, "GInputStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gloadable_icon_load_finish exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GMount_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static GFile* S_virtual_gmount_get_root(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gmount_get_name(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GIcon* S_virtual_gmount_get_icon(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GIcon*)0)); return(G_ICON(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gmount_get_uuid(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GVolume* S_virtual_gmount_get_volume(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GVolume*)0)); return(G_VOLUME(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GDrive* S_virtual_gmount_get_drive(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GDrive*)0)); return(G_DRIVE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gmount_can_unmount(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gmount_can_eject(GMount* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gmount_unmount(GMount* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gmount_unmount_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gmount_eject(GMount* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gmount_eject_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gmount_remount(GMount* s_object, GMountMountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gmount_remount_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 18, 0) static void S_virtual_gmount_guess_content_type(GMount* s_object, gboolean s_force_rescan, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_force_rescan)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 18, 0) static gchar** S_virtual_gmount_guess_content_type_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar**)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gchar**)asCStringArray(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 18, 0) static gchar** S_virtual_gmount_guess_content_type_sync(GMount* s_object, gboolean s_force_rescan, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_force_rescan)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar**)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gchar**)asCStringArray(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gmount_unmount_with_operation(GMount* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gmount_unmount_with_operation_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gmount_eject_with_operation(GMount* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gmount_eject_with_operation_finish(GMount* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GMount_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GMount"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gmount_class_init(GMountIface * c, SEXP e) { SEXP s; S_GMount_symbol = install("GMount"); s = findVar(S_GMount_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GMountIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_root = S_virtual_gmount_get_root; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_name = S_virtual_gmount_get_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_icon = S_virtual_gmount_get_icon; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_uuid = S_virtual_gmount_get_uuid; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_volume = S_virtual_gmount_get_volume; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_drive = S_virtual_gmount_get_drive; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->can_unmount = S_virtual_gmount_can_unmount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->can_eject = S_virtual_gmount_can_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->unmount = S_virtual_gmount_unmount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->unmount_finish = S_virtual_gmount_unmount_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->eject = S_virtual_gmount_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->eject_finish = S_virtual_gmount_eject_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->remount = S_virtual_gmount_remount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->remount_finish = S_virtual_gmount_remount_finish; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->guess_content_type = S_virtual_gmount_guess_content_type; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->guess_content_type_finish = S_virtual_gmount_guess_content_type_finish; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->guess_content_type_sync = S_virtual_gmount_guess_content_type_sync; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->unmount_with_operation = S_virtual_gmount_unmount_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->unmount_with_operation_finish = S_virtual_gmount_unmount_with_operation_finish; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->eject_with_operation = S_virtual_gmount_eject_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->eject_with_operation_finish = S_virtual_gmount_eject_with_operation_finish; #endif } #endif USER_OBJECT_ S_gmount_iface_get_root(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GFile* ans; ans = object_class->get_root(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("gmount_get_root exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); char* ans; ans = object_class->get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gmount_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_get_icon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GIcon* ans; ans = object_class->get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("gmount_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_get_uuid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); char* ans; ans = object_class->get_uuid(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gmount_get_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_get_volume(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GVolume* ans; ans = object_class->get_volume(object); _result = toRPointerWithFinalizer(ans, "GVolume", (RPointerFinalizer) g_object_unref); #else error("gmount_get_volume exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_get_drive(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GDrive* ans; ans = object_class->get_drive(object); _result = toRPointerWithFinalizer(ans, "GDrive", (RPointerFinalizer) g_object_unref); #else error("gmount_get_drive exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_can_unmount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean ans; ans = object_class->can_unmount(object); _result = asRLogical(ans); #else error("gmount_can_unmount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_can_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean ans; ans = object_class->can_eject(object); _result = asRLogical(ans); #else error("gmount_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_unmount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->unmount(object, flags, cancellable, callback, user_data); #else error("gmount_unmount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_unmount_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->unmount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_unmount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject(object, flags, cancellable, callback, user_data); #else error("gmount_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_eject_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_remount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->remount(object, flags, mount_operation, cancellable, callback, user_data); #else error("gmount_remount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_remount_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->remount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_remount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_guess_content_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean force_rescan = ((gboolean)asCLogical(s_force_rescan)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->guess_content_type(object, force_rescan, cancellable, callback, user_data); #else error("gmount_guess_content_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_guess_content_type_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gchar** ans; GError* error = NULL; ans = object_class->guess_content_type_finish(object, result, &error); _result = asRStringArray(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_guess_content_type_finish exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_guess_content_type_sync(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean force_rescan = ((gboolean)asCLogical(s_force_rescan)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gchar** ans; GError* error = NULL; ans = object_class->guess_content_type_sync(object, force_rescan, cancellable, &error); _result = asRStringArray(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_guess_content_type_sync exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_unmount_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->unmount_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gmount_unmount_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_unmount_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->unmount_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_unmount_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_eject_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gmount_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gmount_iface_eject_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GMountIface* object_class = ((GMountIface*)getPtrValue(s_object_class)); GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gmount_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GSeekable_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static goffset S_virtual_gseekable_tell(GSeekable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSeekable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSeekable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((goffset)0)); return(((goffset)asCNumeric(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gseekable_can_seek(GSeekable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSeekable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSeekable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gseekable_seek(GSeekable* s_object, goffset s_offset, GSeekType s_type, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSeekable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSeekable"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, G_TYPE_SEEK_TYPE)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gseekable_can_truncate(GSeekable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSeekable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSeekable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gseekable_truncate_fn(GSeekable* s_object, goffset s_offset, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSeekable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSeekable"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_offset)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gseekable_class_init(GSeekableIface * c, SEXP e) { SEXP s; S_GSeekable_symbol = install("GSeekable"); s = findVar(S_GSeekable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSeekableIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->tell = S_virtual_gseekable_tell; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->can_seek = S_virtual_gseekable_can_seek; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->seek = S_virtual_gseekable_seek; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->can_truncate = S_virtual_gseekable_can_truncate; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->truncate_fn = S_virtual_gseekable_truncate_fn; #endif } #endif USER_OBJECT_ S_gseekable_iface_tell(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekableIface* object_class = ((GSeekableIface*)getPtrValue(s_object_class)); GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset ans; ans = object_class->tell(object); _result = asRNumeric(ans); #else error("gseekable_tell exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gseekable_iface_can_seek(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekableIface* object_class = ((GSeekableIface*)getPtrValue(s_object_class)); GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_seek(object); _result = asRLogical(ans); #else error("gseekable_can_seek exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gseekable_iface_seek(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_type, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekableIface* object_class = ((GSeekableIface*)getPtrValue(s_object_class)); GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset offset = ((goffset)asCNumeric(s_offset)); GSeekType type = ((GSeekType)asCEnum(s_type, G_TYPE_SEEK_TYPE)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->seek(object, offset, type, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gseekable_seek exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gseekable_iface_can_truncate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekableIface* object_class = ((GSeekableIface*)getPtrValue(s_object_class)); GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); gboolean ans; ans = object_class->can_truncate(object); _result = asRLogical(ans); #else error("gseekable_can_truncate exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gseekable_iface_truncate_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekableIface* object_class = ((GSeekableIface*)getPtrValue(s_object_class)); GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset offset = ((goffset)asCNumeric(s_offset)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->truncate_fn(object, offset, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gseekable_truncate_fn exists only in gio >= 2.16.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 16, 0) static SEXP S_GVolume_symbol; #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gvolume_get_name(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GIcon* S_virtual_gvolume_get_icon(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GIcon*)0)); return(G_ICON(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static char* S_virtual_gvolume_get_uuid(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GDrive* S_virtual_gvolume_get_drive(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GDrive*)0)); return(G_DRIVE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static GMount* S_virtual_gvolume_get_mount(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GMount*)0)); return(G_MOUNT(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvolume_can_mount(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvolume_can_eject(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvolume_should_automount(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gvolume_mount_fn(GVolume* s_object, GMountMountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvolume_mount_finish(GVolume* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) static void S_virtual_gvolume_eject(GVolume* s_object, GMountUnmountFlags s_flags, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) static gboolean S_virtual_gvolume_eject_finish(GVolume* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GIO_CHECK_VERSION(2, 18, 0) static char* S_virtual_gvolume_get_identifier(GVolume* s_object, const char* s_kind) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_kind)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } #endif #if GIO_CHECK_VERSION(2, 18, 0) static char** S_virtual_gvolume_enumerate_identifiers(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char**)0)); return(((char**)asCStringArray(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 18, 0) static GFile* S_virtual_gvolume_get_activation_root(GVolume* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GFile*)0)); return(G_FILE(getPtrValue(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gvolume_eject_with_operation(GVolume* s_object, GMountUnmountFlags s_flags, GMountOperation* s_mount_operation, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mount_operation, "GMountOperation")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gvolume_eject_with_operation_finish(GVolume* s_object, GAsyncResult* s_result, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GVolume_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GVolume"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_result, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gvolume_class_init(GVolumeIface * c, SEXP e) { SEXP s; S_GVolume_symbol = install("GVolume"); s = findVar(S_GVolume_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GVolumeIface)) = e; #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_name = S_virtual_gvolume_get_name; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_icon = S_virtual_gvolume_get_icon; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_uuid = S_virtual_gvolume_get_uuid; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_drive = S_virtual_gvolume_get_drive; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_mount = S_virtual_gvolume_get_mount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->can_mount = S_virtual_gvolume_can_mount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->can_eject = S_virtual_gvolume_can_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->should_automount = S_virtual_gvolume_should_automount; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->mount_fn = S_virtual_gvolume_mount_fn; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->mount_finish = S_virtual_gvolume_mount_finish; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->eject = S_virtual_gvolume_eject; #endif #if GIO_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->eject_finish = S_virtual_gvolume_eject_finish; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->get_identifier = S_virtual_gvolume_get_identifier; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->enumerate_identifiers = S_virtual_gvolume_enumerate_identifiers; #endif #if GIO_CHECK_VERSION(2, 18, 0) if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->get_activation_root = S_virtual_gvolume_get_activation_root; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->eject_with_operation = S_virtual_gvolume_eject_with_operation; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->eject_with_operation_finish = S_virtual_gvolume_eject_with_operation_finish; #endif } #endif USER_OBJECT_ S_gvolume_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); char* ans; ans = object_class->get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gvolume_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_icon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GIcon* ans; ans = object_class->get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("gvolume_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_uuid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); char* ans; ans = object_class->get_uuid(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gvolume_get_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_drive(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GDrive* ans; ans = object_class->get_drive(object); _result = toRPointerWithFinalizer(ans, "GDrive", (RPointerFinalizer) g_object_unref); #else error("gvolume_get_drive exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_mount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMount* ans; ans = object_class->get_mount(object); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); #else error("gvolume_get_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_can_mount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = object_class->can_mount(object); _result = asRLogical(ans); #else error("gvolume_can_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_can_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = object_class->can_eject(object); _result = asRLogical(ans); #else error("gvolume_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_should_automount(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = object_class->should_automount(object); _result = asRLogical(ans); #else error("gvolume_should_automount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_mount_fn(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->mount_fn(object, flags, mount_operation, cancellable, callback, user_data); #else error("gvolume_mount_fn exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_mount_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->mount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gvolume_mount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_eject(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject(object, flags, cancellable, callback, user_data); #else error("gvolume_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_eject_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gvolume_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_identifier(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_kind) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); const char* kind = ((const char*)asCString(s_kind)); char* ans; ans = object_class->get_identifier(object, kind); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gvolume_get_identifier exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_enumerate_identifiers(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); char** ans; ans = object_class->enumerate_identifiers(object); _result = asRStringArray(ans); #else error("gvolume_enumerate_identifiers exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_get_activation_root(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GFile* ans; ans = object_class->get_activation_root(object); _result = toRPointerWithRef(ans, "GFile"); #else error("gvolume_get_activation_root exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_eject_with_operation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("gvolume_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gvolume_iface_eject_with_operation_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GVolumeIface* object_class = ((GVolumeIface*)getPtrValue(s_object_class)); GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = object_class->eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gvolume_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GAsyncInitable_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static void S_virtual_gasync_initable_init_async(GAsyncInitable* s_object, int s_io_priority, GCancellable* s_cancellable, GAsyncReadyCallback s_callback, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAsyncInitable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAsyncInitable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_io_priority)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GAsyncReadyCallback")); tmp = CDR(tmp); SETCAR(tmp, s_user_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_gasync_initable_init_finish(GAsyncInitable* s_object, GAsyncResult* s_res, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GAsyncInitable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GAsyncInitable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GAsyncResult")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_gasync_initable_class_init(GAsyncInitableIface * c, SEXP e) { SEXP s; S_GAsyncInitable_symbol = install("GAsyncInitable"); s = findVar(S_GAsyncInitable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GAsyncInitableIface)) = e; #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->init_async = S_virtual_gasync_initable_init_async; #endif #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->init_finish = S_virtual_gasync_initable_init_finish; #endif } #endif USER_OBJECT_ S_gasync_initable_iface_init_async(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GAsyncInitableIface* object_class = ((GAsyncInitableIface*)getPtrValue(s_object_class)); GAsyncInitable* object = G_ASYNC_INITABLE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); object_class->init_async(object, io_priority, cancellable, callback, user_data); #else error("gasync_initable_init_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_gasync_initable_iface_init_finish(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncInitableIface* object_class = ((GAsyncInitableIface*)getPtrValue(s_object_class)); GAsyncInitable* object = G_ASYNC_INITABLE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; GError* error = NULL; ans = object_class->init_finish(object, res, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gasync_initable_init_finish exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GInitable_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static gboolean S_virtual_ginitable_init(GInitable* s_object, GCancellable* s_cancellable, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GInitable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GInitable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif void S_ginitable_class_init(GInitableIface * c, SEXP e) { SEXP s; S_GInitable_symbol = install("GInitable"); s = findVar(S_GInitable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GInitableIface)) = e; #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->init = S_virtual_ginitable_init; #endif } #endif USER_OBJECT_ S_ginitable_iface_init(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInitableIface* object_class = ((GInitableIface*)getPtrValue(s_object_class)); GInitable* object = G_INITABLE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = object_class->init(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("ginitable_init exists only in gio >= 2.22.0"); #endif return(_result); } #if GIO_CHECK_VERSION(2, 22, 0) static SEXP S_GSocketConnectable_symbol; #if GIO_CHECK_VERSION(2, 22, 0) static GSocketAddressEnumerator* S_virtual_gsocket_connectable_enumerate(GSocketConnectable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GSocketConnectable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GSocketConnectable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GSocketAddressEnumerator*)0)); return(G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_ans))); } #endif void S_gsocket_connectable_class_init(GSocketConnectableIface * c, SEXP e) { SEXP s; S_GSocketConnectable_symbol = install("GSocketConnectable"); s = findVar(S_GSocketConnectable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GSocketConnectableIface)) = e; #if GIO_CHECK_VERSION(2, 22, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->enumerate = S_virtual_gsocket_connectable_enumerate; #endif } #endif USER_OBJECT_ S_gsocket_connectable_iface_enumerate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketConnectableIface* object_class = ((GSocketConnectableIface*)getPtrValue(s_object_class)); GSocketConnectable* object = G_SOCKET_CONNECTABLE(getPtrValue(s_object)); GSocketAddressEnumerator* ans; ans = object_class->enumerate(object); _result = toRPointerWithRef(ans, "GSocketAddressEnumerator"); #else error("gsocket_connectable_enumerate exists only in gio >= 2.22.0"); #endif return(_result); } RGtk2/src/gdkUserFuncs.c0000644000176000001440000000506512362467242014607 0ustar ripleyusers#include "RGtk2/gdkUserFuncs.h" void S_GdkFilterFunc(GdkXEvent* s_xevent, GdkEvent* s_event, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_xevent, "GdkXEvent")); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GdkEventFunc(GdkEvent* s_event, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GdkPixbufSaveFunc(const guchar* s_buf, gsize s_count, GError** s_error, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_buf, s_count)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_count)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } void S_GdkSpanFunc(GdkSpan* s_span, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRGdkSpan(s_span)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } RGtk2/src/conversion.c0000644000176000001440000001644512362467242014375 0ustar ripleyusers#include "RGtk2/gobject.h" #include /* for atoi */ char ** asCStringArray(USER_OBJECT_ svec) { char **els = NULL; int i, n; n = GET_LENGTH(svec); if(n > 0) { els = (char **) R_alloc(n+1, sizeof(char*)); for(i = 0; i < n; i++) { els[i] = (gchar *)asCString(TYPEOF(svec) == STRSXP ? STRING_ELT(svec, i) : VECTOR_ELT(svec, i)); } els[n] = NULL; } return(els); } const gchar * asCString(USER_OBJECT_ s_str) { if (s_str == NULL_USER_OBJECT) return(NULL); if (IS_VECTOR(s_str)) { if (GET_LENGTH(s_str) == 0) return(NULL); s_str = STRING_ELT(s_str, 0); } #if defined(R_VERSION) && R_VERSION >= R_Version(2, 7, 0) return(translateCharUTF8(s_str)); #else return(CHAR_DEREF(s_str)); #endif /*return(CHAR_DEREF(STRING_ELT(s_str, 0)));*/ } gchar asCCharacter(USER_OBJECT_ s_char) { gchar c = '\0'; const gchar *str = asCString(s_char); if (str) c = str[0]; return(c); } USER_OBJECT_ asRCharacter(char c) { char str[] = { c, '\0' }; return(asRString(str)); } USER_OBJECT_ asRString(const char *val) { USER_OBJECT_ ans; if (!val) return(NULL_USER_OBJECT); PROTECT(ans = NEW_CHARACTER(1)); if(val) SET_STRING_ELT(ans, 0, COPY_TO_USER_STRING(val)); UNPROTECT(1); return(ans); } /* for special case when converting elements of G[S]Lists */ USER_OBJECT_ asRUnsigned(guint num) { return asRNumeric(num); /* implicit conversion to double */ } USER_OBJECT_ asREnum(int value, GType etype) { USER_OBJECT_ ans, names; GEnumValue *evalue; PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = value; if (!(evalue = g_enum_get_value(g_type_class_ref(etype), value))) { PROBLEM "Unknown enum value %d", value ERROR; } PROTECT(names = NEW_CHARACTER(1)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(evalue->value_name)); SET_NAMES(ans, names); PROTECT(names = NEW_CHARACTER(2)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(g_type_name(etype))); SET_STRING_ELT(names, 1, COPY_TO_USER_STRING("enum")); SET_CLASS(ans, names); UNPROTECT(3); return(ans); } USER_OBJECT_ asRFlag(guint value, GType ftype) { USER_OBJECT_ ans, names; PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = value; PROTECT(names = NEW_CHARACTER(2)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(g_type_name(ftype))); SET_STRING_ELT(names, 1, COPY_TO_USER_STRING("flag")); SET_CLASS(ans, names); UNPROTECT(2); return(ans); } void RGtk_finalizer(USER_OBJECT_ extptr) { void *ptr = getPtrValue(extptr); /*Rprintf("finalizing a %s\n", asCString(GET_CLASS(extptr)));*/ if (ptr) { ((RPointerFinalizer)getPtrValue(R_ExternalPtrTag(extptr)))(ptr); R_ClearExternalPtr(extptr); } } USER_OBJECT_ toRPointerWithFinalizer(gconstpointer val, const gchar *typeName, RPointerFinalizer finalizer) { USER_OBJECT_ ans; USER_OBJECT_ r_finalizer = NULL_USER_OBJECT; USER_OBJECT_ klass = NULL, rgtk_class; int i = 0; GType type = 0; if(!val) return(NULL_USER_OBJECT); if (finalizer) { PROTECT(r_finalizer = R_MakeExternalPtr(finalizer, NULL_USER_OBJECT, NULL_USER_OBJECT)); } PROTECT(ans = R_MakeExternalPtr((gpointer)val, r_finalizer, NULL_USER_OBJECT)); if (finalizer) { R_RegisterCFinalizer(ans, RGtk_finalizer); } if (typeName) type = g_type_from_name(typeName); if(type) { if (G_TYPE_IS_INSTANTIATABLE(type) || G_TYPE_IS_INTERFACE(type)) type = G_TYPE_FROM_INSTANCE(val); if (G_TYPE_IS_DERIVED(type)) { setAttrib(ans, install("interfaces"), R_internal_getInterfaces(type)); PROTECT(klass = R_internal_getGTypeAncestors(type)); } } if (!klass && typeName) { PROTECT(klass = asRString(typeName)); } if (klass) { /* so much trouble just to add "RGtkObject" onto the end */ PROTECT(rgtk_class = NEW_CHARACTER(GET_LENGTH(klass)+1)); for (i = 0; i < GET_LENGTH(klass); i++) SET_STRING_ELT(rgtk_class, i, STRING_ELT(klass, i)); } else { PROTECT(rgtk_class = NEW_CHARACTER(1)); } SET_STRING_ELT(rgtk_class, i, COPY_TO_USER_STRING("RGtkObject")); SET_CLASS(ans, rgtk_class); if (g_type_is_a(type, S_TYPE_G_OBJECT)) { USER_OBJECT_ public_sym = install(".public"); setAttrib(ans, public_sym, findVar(public_sym, S_GOBJECT_GET_ENV(val))); } if (klass) UNPROTECT(1); if (finalizer) UNPROTECT(1); UNPROTECT(2); return(ans); } USER_OBJECT_ toRPointerWithRef(gconstpointer val, const char *type) { if (val) g_object_ref(G_OBJECT(val)); return(toRPointerWithFinalizer(val, type, g_object_unref)); } void * getPtrValueWithRef(USER_OBJECT_ sval) { void *val = getPtrValue(sval); if (val) g_object_ref(val); return val; } /* enum and flag stuff - experimental */ gint R_asEnum(USER_OBJECT_ s_enum, USER_OBJECT_ etype) { GType type = g_type_from_name(asCString(etype)); if (!type) { PROBLEM "Invalid enum type %s", asCString(etype) ERROR; } return(asCEnum(s_enum, type)); } gint asCEnum(USER_OBJECT_ s_enum, GType etype) { GEnumClass *eclass = g_type_class_ref(etype); GEnumValue *evalue = NULL; gint eval = 0; if (IS_INTEGER(s_enum) || IS_NUMERIC(s_enum)) { eval = IS_NUMERIC(s_enum) ? (gint)asCNumeric(s_enum) : asCInteger(s_enum); evalue = g_enum_get_value(eclass, eval); } else if (IS_CHARACTER(s_enum)) { const gchar* ename = asCString(s_enum); evalue = g_enum_get_value_by_name(eclass, ename); if (!evalue) evalue = g_enum_get_value_by_nick(eclass, ename); if (!evalue) evalue = g_enum_get_value(eclass, atoi(ename)); } if (!evalue) { PROBLEM "Could not parse enum value %s", asCString(s_enum) ERROR; } else eval = evalue->value; return(eval); } guint R_asFlag(USER_OBJECT_ s_flag, USER_OBJECT_ ftype) { GType type = g_type_from_name(asCString(ftype)); if (!type) { PROBLEM "Invalid flag type %s", asCString(ftype) ERROR; } return(asCFlag(s_flag, type)); } guint asCFlag(USER_OBJECT_ s_flag, GType ftype) { GFlagsClass* fclass = g_type_class_ref(ftype); guint flags = 0; if (IS_INTEGER(s_flag) || IS_NUMERIC(s_flag)) { if (asCNumeric(s_flag) > fclass->mask) { PROBLEM "The flags value %f is too high", asCNumeric(s_flag) ERROR; } flags = asCNumeric(s_flag); } else { int i; for (i = 0; i < GET_LENGTH(s_flag); i++) { const gchar *fname = asCString(STRING_ELT(s_flag, i)); /*Rprintf("Searching for flag value %s\n", fname);*/ GFlagsValue *fvalue = g_flags_get_value_by_name(fclass, fname); if (!fvalue) fvalue = g_flags_get_value_by_nick(fclass, fname); if (!fvalue && atoi(fname) <= fclass->mask) { flags |= atoi(fname); continue; } if (!fvalue) { PROBLEM "Could not find flag by name %s", fname ERROR; } /*Rprintf("Found: %d\n", fvalue->value);*/ flags |= fvalue->value; } } return(flags); } RGtk2/src/cairoConversion.c0000644000176000001440000001640312362467242015345 0ustar ripleyusers#include "RGtk2/cairo.h" USER_OBJECT_ asRCairoPath(cairo_path_t *path) { static gchar *pathNames[] = { "status", "data", NULL }; cairo_path_data_t *data; gint i, j; USER_OBJECT_ s_path, s_data; PROTECT(s_path = NEW_LIST(2)); SET_VECTOR_ELT(s_path, 0, asREnum(path->status, CAIRO_TYPE_STATUS)); for (i = 0, j = 0; i < path->num_data; i++, j++) { i += path->data[i].header.length; } s_data = NEW_LIST(j); SET_VECTOR_ELT(s_path, 1, s_data); for (i = 0, j = 0; i < path->num_data; i+= data->header.length, j++) { USER_OBJECT_ s_data_el = NULL_USER_OBJECT; data = &path->data[i]; switch(data->header.type) { case CAIRO_PATH_MOVE_TO: case CAIRO_PATH_LINE_TO: PROTECT(s_data_el = NEW_INTEGER(2)); INTEGER_DATA(s_data_el)[0] = data[1].point.x; INTEGER_DATA(s_data_el)[1] = data[1].point.y; break; case CAIRO_PATH_CURVE_TO: PROTECT(s_data_el = NEW_INTEGER(6)); INTEGER_DATA(s_data_el)[0] = data[1].point.x; INTEGER_DATA(s_data_el)[1] = data[1].point.y; INTEGER_DATA(s_data_el)[2] = data[2].point.x; INTEGER_DATA(s_data_el)[3] = data[2].point.y; INTEGER_DATA(s_data_el)[4] = data[3].point.x; INTEGER_DATA(s_data_el)[5] = data[3].point.y; break; case CAIRO_PATH_CLOSE_PATH: PROTECT(s_data_el = NEW_INTEGER(0)); break; default: PROBLEM "Converting Cairo path: did not understand type %d", data->header.type ERROR; } setAttrib(s_data_el, install("type"), asRInteger(data->header.type)); UNPROTECT(1); SET_VECTOR_ELT(s_data, j, s_data_el); } SET_NAMES(s_path, asRStringArray(pathNames)); UNPROTECT(1); return(s_path); } /** the cairo people say that we shouldn't do this - oh well */ cairo_path_t * asCCairoPath(USER_OBJECT_ s_path) { cairo_path_t *path; cairo_path_data_t *element; GSList *data = NULL, *cur; gint i,j; /* init path structure */ path = (cairo_path_t*)R_alloc(1, sizeof(cairo_path_t)); /* set status code */ path->status = CAIRO_STATUS_SUCCESS; /* for each path element, create points according to type and store in list */ for (i = 0; i < GET_LENGTH(s_path); i++) { USER_OBJECT_ s_element = VECTOR_ELT(s_path, i); int points = 0, len; cairo_path_data_type_t type = asCEnum(getAttrib(s_element, install("type")), CAIRO_TYPE_PATH_DATA_TYPE); /* how many points do we need for this type of element? */ switch(type) { case CAIRO_PATH_MOVE_TO: case CAIRO_PATH_LINE_TO: points = 1; break; case CAIRO_PATH_CURVE_TO: points = 3; break; case CAIRO_PATH_CLOSE_PATH: points = 0; break; default: PROBLEM "Converting Cairo path: did not understand type %d", type ERROR; } len = points + 1; /* have to include header */ element = (cairo_path_data_t*)R_alloc(len, sizeof(cairo_path_data_t)); /* define header element */ element[0].header.type = type; element[0].header.length = len; data = g_slist_append(data, &element[0]); /* add header to list */ for (j = 1; j < len; j++) { /* define points */ element[j].point.x = INTEGER_DATA(s_element)[2*j]; element[j].point.y = INTEGER_DATA(s_element)[2*j+1]; data = g_slist_append(data, &element[j]); /* add point to list */ } } /* initialize the path's data array */ path->num_data = g_slist_length(data); path->data = (cairo_path_data_t*)R_alloc(path->num_data, sizeof(cairo_path_data_t)); /* copy list into array */ cur = data; for(i = 0; i < path->num_data; i++) { path->data[i] = ((cairo_path_data_t*)cur->data)[0]; cur = g_slist_next(cur); } return(path); } cairo_glyph_t * asCCairoGlyph(USER_OBJECT_ s_glyph) { cairo_glyph_t *glyph = (cairo_glyph_t *)R_alloc(1, sizeof(cairo_glyph_t)); glyph->index = asCNumeric(VECTOR_ELT(s_glyph, 0)); glyph->x = asCNumeric(VECTOR_ELT(s_glyph, 1)); glyph->y = asCNumeric(VECTOR_ELT(s_glyph, 2)); return(glyph); } USER_OBJECT_ asRCairoGlyph(cairo_glyph_t * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "index", "x", "y", NULL }; PROTECT(s_obj = allocVector(VECSXP, 3)); SET_VECTOR_ELT(s_obj, 0, asRNumeric(obj->index)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->x)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->y)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("CairoGlyph")); UNPROTECT(1); return(s_obj); } #if CAIRO_CHECK_VERSION(1,4,0) USER_OBJECT_ asRCairoRectangle(cairo_rectangle_t * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "x", "y", "width", "height", NULL }; PROTECT(s_obj = allocVector(VECSXP, 4)); SET_VECTOR_ELT(s_obj, 0, asRNumeric(obj->x)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->y)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->width)); SET_VECTOR_ELT(s_obj, 3, asRNumeric(obj->height)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("CairoRectangle")); UNPROTECT(1); return(s_obj); } USER_OBJECT_ asRCairoRectangleList(cairo_rectangle_list_t *list) { static gchar *listNames[] = { "status", "rectangles", NULL }; guint i; USER_OBJECT_ s_list, s_rects; PROTECT(s_list = NEW_LIST(2)); SET_VECTOR_ELT(s_list, 0, asREnum(list->status, CAIRO_TYPE_STATUS)); PROTECT(s_rects = NEW_LIST(list->num_rectangles)); for (i = 0; i < list->num_rectangles; i++) SET_VECTOR_ELT(s_rects, i, asRCairoRectangle(list->rectangles+i)); SET_VECTOR_ELT(s_list, 1, s_rects); SET_NAMES(s_list, asRStringArray(listNames)); SET_CLASS(s_list, asRString("CairoRectangleList")); UNPROTECT(2); return(s_list); } #endif #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_text_cluster_t * asCCairoTextCluster(USER_OBJECT_ s_obj) { cairo_text_cluster_t * obj; obj = ((cairo_text_cluster_t *)R_alloc(1, sizeof(cairo_text_cluster_t))); obj->num_bytes = ((int)asCInteger(VECTOR_ELT(s_obj, 0))); obj->num_glyphs = ((int)asCInteger(VECTOR_ELT(s_obj, 1))); return(obj); } USER_OBJECT_ asRCairoTextCluster(cairo_text_cluster_t * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "num_bytes", "num_glyphs", NULL }; PROTECT(s_obj = allocVector(VECSXP, 2)); SET_VECTOR_ELT(s_obj, 0, asRInteger(obj->num_bytes)); SET_VECTOR_ELT(s_obj, 1, asRInteger(obj->num_glyphs)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("CairoTextCluster")); UNPROTECT(1); return(s_obj); } #endif cairo_font_extents_t * asCCairoFontExtents(USER_OBJECT_ s_obj) { cairo_font_extents_t * obj; obj = ((cairo_font_extents_t *)R_alloc(1, sizeof(cairo_font_extents_t))); obj->ascent = ((double)asCNumeric(VECTOR_ELT(s_obj, 0))); obj->descent = ((double)asCNumeric(VECTOR_ELT(s_obj, 1))); obj->height = ((double)asCNumeric(VECTOR_ELT(s_obj, 2))); obj->max_x_advance = ((double)asCNumeric(VECTOR_ELT(s_obj, 3))); obj->max_y_advance = ((double)asCNumeric(VECTOR_ELT(s_obj, 4))); return(obj); } USER_OBJECT_ asRCairoFontExtents(cairo_font_extents_t * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "ascent", "descent", "height", "max_x_advance", "max_y_advance", NULL }; PROTECT(s_obj = allocVector(VECSXP, 5)); SET_VECTOR_ELT(s_obj, 0, asRNumeric(obj->ascent)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->descent)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->height)); SET_VECTOR_ELT(s_obj, 3, asRNumeric(obj->max_x_advance)); SET_VECTOR_ELT(s_obj, 4, asRNumeric(obj->max_y_advance)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("CairoFontExtents")); UNPROTECT(1); return(s_obj); } RGtk2/src/gdkClasses.c0000644000176000001440000022263512362467242014273 0ustar ripleyusers#include "RGtk2/gdkClasses.h" static SEXP S_GdkBitmap_symbol; void S_gdk_bitmap_class_init(GdkDrawableClass * c, SEXP e) { SEXP s; S_GdkBitmap_symbol = install("GdkBitmap"); s = findVar(S_GdkBitmap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkDrawableClass)) = e; S_gdk_drawable_class_init(((GdkDrawableClass *)c), e); } static SEXP S_GdkColormap_symbol; void S_gdk_colormap_class_init(GdkColormapClass * c, SEXP e) { SEXP s; S_GdkColormap_symbol = install("GdkColormap"); s = findVar(S_GdkColormap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkColormapClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GdkDisplay_symbol; static const gchar* S_virtual_gdk_display_get_display_name(GdkDisplay* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplay_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplay"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static gint S_virtual_gdk_display_get_n_screens(GdkDisplay* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplay_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplay"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static GdkScreen* S_virtual_gdk_display_get_screen(GdkDisplay* s_object, gint s_screen_num) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplay_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplay"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_screen_num)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkScreen*)0)); return(GDK_SCREEN(getPtrValue(s_ans))); } static GdkScreen* S_virtual_gdk_display_get_default_screen(GdkDisplay* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplay_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplay"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkScreen*)0)); return(GDK_SCREEN(getPtrValue(s_ans))); } static void S_virtual_gdk_display_closed(GdkDisplay* s_object, gboolean s_is_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplay_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplay"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_is_error)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gdk_display_class_init(GdkDisplayClass * c, SEXP e) { SEXP s; S_GdkDisplay_symbol = install("GdkDisplay"); s = findVar(S_GdkDisplay_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkDisplayClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_display_name = S_virtual_gdk_display_get_display_name; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_n_screens = S_virtual_gdk_display_get_n_screens; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_screen = S_virtual_gdk_display_get_screen; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_default_screen = S_virtual_gdk_display_get_default_screen; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->closed = S_virtual_gdk_display_closed; } USER_OBJECT_ S_gdk_display_class_get_display_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayClass* object_class = ((GdkDisplayClass*)getPtrValue(s_object_class)); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_display_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_display_class_get_n_screens(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayClass* object_class = ((GdkDisplayClass*)getPtrValue(s_object_class)); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gint ans; ans = object_class->get_n_screens(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_display_class_get_screen(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_screen_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayClass* object_class = ((GdkDisplayClass*)getPtrValue(s_object_class)); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gint screen_num = ((gint)asCInteger(s_screen_num)); GdkScreen* ans; ans = object_class->get_screen(object, screen_num); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_display_class_get_default_screen(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayClass* object_class = ((GdkDisplayClass*)getPtrValue(s_object_class)); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkScreen* ans; ans = object_class->get_default_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_display_class_closed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_is_error) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayClass* object_class = ((GdkDisplayClass*)getPtrValue(s_object_class)); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean is_error = ((gboolean)asCLogical(s_is_error)); object_class->closed(object, is_error); return(_result); } static SEXP S_GdkDisplayManager_symbol; static void S_virtual_gdk_display_manager_display_opened(GdkDisplayManager* s_object, GdkDisplay* s_display) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDisplayManager_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDisplayManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_display, "GdkDisplay")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gdk_display_manager_class_init(GdkDisplayManagerClass * c, SEXP e) { SEXP s; S_GdkDisplayManager_symbol = install("GdkDisplayManager"); s = findVar(S_GdkDisplayManager_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkDisplayManagerClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->display_opened = S_virtual_gdk_display_manager_display_opened; } USER_OBJECT_ S_gdk_display_manager_class_display_opened(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_display) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayManagerClass* object_class = ((GdkDisplayManagerClass*)getPtrValue(s_object_class)); GdkDisplayManager* object = GDK_DISPLAY_MANAGER(getPtrValue(s_object)); GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); object_class->display_opened(object, display); return(_result); } static SEXP S_GdkDragContext_symbol; void S_gdk_drag_context_class_init(GdkDragContextClass * c, SEXP e) { SEXP s; S_GdkDragContext_symbol = install("GdkDragContext"); s = findVar(S_GdkDragContext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkDragContextClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GdkDrawable_symbol; static GdkGC* S_virtual_gdk_drawable_create_gc(GdkDrawable* s_object, GdkGCValues* s_values, GdkGCValuesMask s_mask) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkGCValues(s_values)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_mask, GDK_TYPE_GC_VALUES_MASK)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkGC*)0)); return(GDK_GC(getPtrValueWithRef(s_ans))); } static void S_virtual_gdk_drawable_draw_rectangle(GdkDrawable* s_object, GdkGC* s_gc, gboolean s_filled, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_filled)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_arc(GdkDrawable* s_object, GdkGC* s_gc, gboolean s_filled, gint s_x, gint s_y, gint s_width, gint s_height, gint s_angle1, gint s_angle2) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_filled)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_angle1)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_angle2)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_polygon(GdkDrawable* s_object, GdkGC* s_gc, gboolean s_filled, GdkPoint* s_points, gint s_npoints) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_filled)); tmp = CDR(tmp); SETCAR(tmp, asRGdkPoint(s_points)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_npoints)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_text(GdkDrawable* s_object, GdkFont* s_font, GdkGC* s_gc, gint s_x, gint s_y, const gchar* s_text, gint s_text_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkFont(s_font)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_text_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_text_wc(GdkDrawable* s_object, GdkFont* s_font, GdkGC* s_gc, gint s_x, gint s_y, const GdkWChar* s_text, gint s_text_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkFont(s_font)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRNumericArrayWithSize(s_text, s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_text_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_drawable(GdkDrawable* s_object, GdkGC* s_gc, GdkDrawable* s_src, gint s_xsrc, gint s_ysrc, gint s_xdest, gint s_ydest, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_src, toRPointerWithRef(s_src, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_xsrc)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_ysrc)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_xdest)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_ydest)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_points(GdkDrawable* s_object, GdkGC* s_gc, GdkPoint* s_points, gint s_npoints) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_points, asRGdkPoint, s_npoints)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_npoints)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_segments(GdkDrawable* s_object, GdkGC* s_gc, GdkSegment* s_segs, gint s_nsegs) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_segs, asRGdkSegment, s_nsegs)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_nsegs)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_lines(GdkDrawable* s_object, GdkGC* s_gc, GdkPoint* s_points, gint s_npoints) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_points, asRGdkPoint, s_npoints)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_npoints)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_glyphs(GdkDrawable* s_object, GdkGC* s_gc, PangoFont* s_font, gint s_x, gint s_y, PangoGlyphString* s_glyphs) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_font, "PangoFont")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_glyphs ? pango_glyph_string_copy(s_glyphs) : NULL, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_image(GdkDrawable* s_object, GdkGC* s_gc, GdkImage* s_image, gint s_xsrc, gint s_ysrc, gint s_xdest, gint s_ydest, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_image, "GdkImage")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_xsrc)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_ysrc)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_xdest)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_ydest)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_gdk_drawable_get_depth(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static void S_virtual_gdk_drawable_get_size(GdkDrawable* s_object, gint* s_width, gint* s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } static void S_virtual_gdk_drawable_set_colormap(GdkDrawable* s_object, GdkColormap* s_cmap) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cmap, "GdkColormap")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GdkColormap* S_virtual_gdk_drawable_get_colormap(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkColormap*)0)); return(GDK_COLORMAP(getPtrValue(s_ans))); } static GdkVisual* S_virtual_gdk_drawable_get_visual(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkVisual*)0)); return(GDK_VISUAL(getPtrValue(s_ans))); } static GdkScreen* S_virtual_gdk_drawable_get_screen(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkScreen*)0)); return(GDK_SCREEN(getPtrValue(s_ans))); } static GdkImage* S_virtual_gdk_drawable_get_image(GdkDrawable* s_object, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkImage*)0)); return(GDK_IMAGE(getPtrValue(s_ans))); } static GdkRegion* S_virtual_gdk_drawable_get_clip_region(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkRegion*)0)); return(((GdkRegion*)gdk_region_copy(getPtrValue(s_ans)))); } static GdkRegion* S_virtual_gdk_drawable_get_visible_region(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkRegion*)0)); return(((GdkRegion*)gdk_region_copy(getPtrValue(s_ans)))); } static GdkDrawable* S_virtual_gdk_drawable_get_composite_drawable(GdkDrawable* s_object, gint s_x, gint s_y, gint s_width, gint s_height, gint* s_composite_x_offset, gint* s_composite_y_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkDrawable*)0)); *s_composite_x_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_composite_y_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(GDK_DRAWABLE(getPtrValueWithRef(VECTOR_ELT(s_ans, 0)))); } static void S_virtual_gdk_drawable_draw_pixbuf(GdkDrawable* s_object, GdkGC* s_gc, GdkPixbuf* s_pixbuf, gint s_src_x, gint s_src_y, gint s_dest_x, gint s_dest_y, gint s_width, gint s_height, GdkRgbDither s_dither, gint s_x_dither, gint s_y_dither) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 13)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_pixbuf, "GdkPixbuf")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_src_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_src_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_dest_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_dest_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_dither, GDK_TYPE_RGB_DITHER)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x_dither)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y_dither)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_glyphs_transformed(GdkDrawable* s_object, GdkGC* s_gc, PangoMatrix* s_matrix, PangoFont* s_font, gint s_x, gint s_y, PangoGlyphString* s_glyphs) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_matrix ? pango_matrix_copy(s_matrix) : NULL, "PangoMatrix", (RPointerFinalizer) pango_matrix_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_font, "PangoFont")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_glyphs ? pango_glyph_string_copy(s_glyphs) : NULL, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_drawable_draw_trapezoids(GdkDrawable* s_object, GdkGC* s_gc, GdkTrapezoid* s_trapezoids, gint s_n_trapezoids) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_gc, "GdkGC")); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_trapezoids, asRGdkTrapezoid, s_n_trapezoids)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n_trapezoids)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static cairo_surface_t* S_virtual_gdk_drawable_ref_cairo_surface(GdkDrawable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkDrawable_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkDrawable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_surface_t*)0)); return(((cairo_surface_t*)getPtrValue(s_ans))); } void S_gdk_drawable_class_init(GdkDrawableClass * c, SEXP e) { SEXP s; S_GdkDrawable_symbol = install("GdkDrawable"); s = findVar(S_GdkDrawable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkDrawableClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->create_gc = S_virtual_gdk_drawable_create_gc; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->draw_rectangle = S_virtual_gdk_drawable_draw_rectangle; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->draw_arc = S_virtual_gdk_drawable_draw_arc; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->draw_polygon = S_virtual_gdk_drawable_draw_polygon; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->draw_text = S_virtual_gdk_drawable_draw_text; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->draw_text_wc = S_virtual_gdk_drawable_draw_text_wc; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->draw_drawable = S_virtual_gdk_drawable_draw_drawable; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->draw_points = S_virtual_gdk_drawable_draw_points; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->draw_segments = S_virtual_gdk_drawable_draw_segments; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->draw_lines = S_virtual_gdk_drawable_draw_lines; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->draw_glyphs = S_virtual_gdk_drawable_draw_glyphs; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->draw_image = S_virtual_gdk_drawable_draw_image; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->get_depth = S_virtual_gdk_drawable_get_depth; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->get_size = S_virtual_gdk_drawable_get_size; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->set_colormap = S_virtual_gdk_drawable_set_colormap; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->get_colormap = S_virtual_gdk_drawable_get_colormap; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->get_visual = S_virtual_gdk_drawable_get_visual; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->get_screen = S_virtual_gdk_drawable_get_screen; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->get_image = S_virtual_gdk_drawable_get_image; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->get_clip_region = S_virtual_gdk_drawable_get_clip_region; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->get_visible_region = S_virtual_gdk_drawable_get_visible_region; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->get_composite_drawable = S_virtual_gdk_drawable_get_composite_drawable; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->draw_pixbuf = S_virtual_gdk_drawable_draw_pixbuf; if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->draw_glyphs_transformed = S_virtual_gdk_drawable_draw_glyphs_transformed; if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->draw_trapezoids = S_virtual_gdk_drawable_draw_trapezoids; if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->ref_cairo_surface = S_virtual_gdk_drawable_ref_cairo_surface; } USER_OBJECT_ S_gdk_drawable_class_draw_rectangle(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_rectangle(object, gc, filled, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_arc(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gint angle1 = ((gint)asCInteger(s_angle1)); gint angle2 = ((gint)asCInteger(s_angle2)); object_class->draw_arc(object, gc, filled, x, y, width, height, angle1, angle2); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_polygon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_points, USER_OBJECT_ s_npoints) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); GdkPoint* points = asCGdkPoint(s_points); gint npoints = ((gint)asCInteger(s_npoints)); object_class->draw_polygon(object, gc, filled, points, npoints); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); object_class->draw_text(object, font, gc, x, y, text, text_length); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_text_wc(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)GET_LENGTH(s_text)); const GdkWChar* text = ((const GdkWChar*)asCArray(s_text, GdkWChar, asCNumeric)); gint text_length = ((gint)GET_LENGTH(s_text)); object_class->draw_text_wc(object, font, gc, x, y, text, text_length); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_drawable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_src, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkDrawable* src = GDK_DRAWABLE(getPtrValue(s_src)); gint xsrc = ((gint)asCInteger(s_xsrc)); gint ysrc = ((gint)asCInteger(s_ysrc)); gint xdest = ((gint)asCInteger(s_xdest)); gint ydest = ((gint)asCInteger(s_ydest)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_drawable(object, gc, src, xsrc, ysrc, xdest, ydest, width, height); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_points(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); object_class->draw_points(object, gc, points, npoints); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_segments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_segs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkSegment* segs = ((GdkSegment*)asCArrayRef(s_segs, GdkSegment, asCGdkSegment)); gint nsegs = ((gint)GET_LENGTH(s_segs)); object_class->draw_segments(object, gc, segs, nsegs); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_lines(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); object_class->draw_lines(object, gc, points, npoints); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_glyphs(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); object_class->draw_glyphs(object, gc, font, x, y, glyphs); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_image(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_image, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkImage* image = GDK_IMAGE(getPtrValue(s_image)); gint xsrc = ((gint)asCInteger(s_xsrc)); gint ysrc = ((gint)asCInteger(s_ysrc)); gint xdest = ((gint)asCInteger(s_xdest)); gint ydest = ((gint)asCInteger(s_ydest)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_image(object, gc, image, xsrc, ysrc, xdest, ydest, width, height); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_depth(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint ans; ans = object_class->get_depth(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint width; gint height; object_class->get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_drawable_class_set_colormap(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cmap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkColormap* cmap = GDK_COLORMAP(getPtrValue(s_cmap)); object_class->set_colormap(object, cmap); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_colormap(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkColormap* ans; ans = object_class->get_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_visual(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkVisual* ans; ans = object_class->get_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_screen(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkScreen* ans; ans = object_class->get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_image(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkImage* ans; ans = object_class->get_image(object, x, y, width, height); _result = toRPointerWithRef(ans, "GdkImage"); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_clip_region(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkRegion* ans; ans = object_class->get_clip_region(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_visible_region(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkRegion* ans; ans = object_class->get_visible_region(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_drawable_class_get_composite_drawable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkDrawable* ans; gint composite_x_offset; gint composite_y_offset; ans = object_class->get_composite_drawable(object, x, y, width, height, &composite_x_offset, &composite_y_offset); _result = toRPointerWithFinalizer(ans, "GdkDrawable", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "composite.x.offset", asRInteger(composite_x_offset), "composite.y.offset", asRInteger(composite_y_offset), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_pixbuf(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gint src_x = ((gint)asCInteger(s_src_x)); gint src_y = ((gint)asCInteger(s_src_y)); gint dest_x = ((gint)asCInteger(s_dest_x)); gint dest_y = ((gint)asCInteger(s_dest_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dither = ((GdkRgbDither)asCEnum(s_dither, GDK_TYPE_RGB_DITHER)); gint x_dither = ((gint)asCInteger(s_x_dither)); gint y_dither = ((gint)asCInteger(s_y_dither)); object_class->draw_pixbuf(object, gc, pixbuf, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_glyphs_transformed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_matrix, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); PangoMatrix* matrix = ((PangoMatrix*)getPtrValue(s_matrix)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); object_class->draw_glyphs_transformed(object, gc, matrix, font, x, y, glyphs); return(_result); } USER_OBJECT_ S_gdk_drawable_class_draw_trapezoids(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_trapezoids) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkTrapezoid* trapezoids = ((GdkTrapezoid*)asCArrayRef(s_trapezoids, GdkTrapezoid, asCGdkTrapezoid)); gint n_trapezoids = ((gint)GET_LENGTH(s_trapezoids)); object_class->draw_trapezoids(object, gc, trapezoids, n_trapezoids); return(_result); } USER_OBJECT_ S_gdk_drawable_class_ref_cairo_surface(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); cairo_surface_t* ans; ans = object_class->ref_cairo_surface(object); _result = toRPointerWithCairoRef(ans, "CairoSurface", cairo_surface); return(_result); } static SEXP S_GdkWindow_symbol; void S_gdk_window_class_init(GdkWindowClass * c, SEXP e) { SEXP s; S_GdkWindow_symbol = install("GdkWindow"); s = findVar(S_GdkWindow_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkWindowClass)) = e; S_gdk_drawable_class_init(((GdkDrawableClass *)c), e); } static SEXP S_GdkPixmap_symbol; void S_gdk_pixmap_class_init(GdkPixmapObjectClass * c, SEXP e) { SEXP s; S_GdkPixmap_symbol = install("GdkPixmap"); s = findVar(S_GdkPixmap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkPixmapObjectClass)) = e; S_gdk_drawable_class_init(((GdkDrawableClass *)c), e); } static SEXP S_GdkGC_symbol; static void S_virtual_gdk_gc_get_values(GdkGC* s_object, GdkGCValues* s_values) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkGC_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkGC"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GdkGCValues* values = asCGdkGCValues(VECTOR_ELT(s_ans, 0)); *s_values = *values; g_free(values); } } static void S_virtual_gdk_gc_set_values(GdkGC* s_object, GdkGCValues* s_values, GdkGCValuesMask s_mask) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkGC_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkGC"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkGCValues(s_values)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_mask, GDK_TYPE_GC_VALUES_MASK)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_gc_set_dashes(GdkGC* s_object, gint s_dash_offset, gint8* s_dash_list, gint s_n) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkGC_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkGC"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_dash_offset)); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_dash_list, s_dash_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gdk_gc_class_init(GdkGCClass * c, SEXP e) { SEXP s; S_GdkGC_symbol = install("GdkGC"); s = findVar(S_GdkGC_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkGCClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_values = S_virtual_gdk_gc_get_values; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->set_values = S_virtual_gdk_gc_set_values; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->set_dashes = S_virtual_gdk_gc_set_dashes; } USER_OBJECT_ S_gdk_gcclass_get_values(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGCClass* object_class = ((GdkGCClass*)getPtrValue(s_object_class)); GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkGCValues* values = ((GdkGCValues *)g_new0(GdkGCValues, 1)); object_class->get_values(object, values); _result = retByVal(_result, "values", asRGdkGCValues(values), NULL); CLEANUP(g_free, values);; return(_result); } USER_OBJECT_ S_gdk_gcclass_set_dashes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_dash_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGCClass* object_class = ((GdkGCClass*)getPtrValue(s_object_class)); GdkGC* object = GDK_GC(getPtrValue(s_object)); gint dash_offset = ((gint)GET_LENGTH(s_dash_list)); gint8* dash_list = ((gint8*)asCArray(s_dash_list, gint8, asCRaw)); gint n = ((gint)GET_LENGTH(s_dash_list)); object_class->set_dashes(object, dash_offset, dash_list, n); return(_result); } static SEXP S_GdkImage_symbol; void S_gdk_image_class_init(GdkImageClass * c, SEXP e) { SEXP s; S_GdkImage_symbol = install("GdkImage"); s = findVar(S_GdkImage_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkImageClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GdkKeymap_symbol; static void S_virtual_gdk_keymap_direction_changed(GdkKeymap* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkKeymap_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkKeymap"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_keymap_keys_changed(GdkKeymap* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkKeymap_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkKeymap"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gdk_keymap_class_init(GdkKeymapClass * c, SEXP e) { SEXP s; S_GdkKeymap_symbol = install("GdkKeymap"); s = findVar(S_GdkKeymap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkKeymapClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->direction_changed = S_virtual_gdk_keymap_direction_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->keys_changed = S_virtual_gdk_keymap_keys_changed; } USER_OBJECT_ S_gdk_keymap_class_direction_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymapClass* object_class = ((GdkKeymapClass*)getPtrValue(s_object_class)); GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); object_class->direction_changed(object); return(_result); } USER_OBJECT_ S_gdk_keymap_class_keys_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymapClass* object_class = ((GdkKeymapClass*)getPtrValue(s_object_class)); GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); object_class->keys_changed(object); return(_result); } static SEXP S_GdkPixbufAnimation_symbol; static gboolean S_virtual_gdk_pixbuf_animation_is_static_image(GdkPixbufAnimation* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimation_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimation"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static GdkPixbuf* S_virtual_gdk_pixbuf_animation_get_static_image(GdkPixbufAnimation* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimation_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimation"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkPixbuf*)0)); return(GDK_PIXBUF(getPtrValue(s_ans))); } static void S_virtual_gdk_pixbuf_animation_get_size(GdkPixbufAnimation* s_object, int* s_width, int* s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimation_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimation"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_width = ((int)asCInteger(VECTOR_ELT(s_ans, 0))); *s_height = ((int)asCInteger(VECTOR_ELT(s_ans, 1))); } static GdkPixbufAnimationIter* S_virtual_gdk_pixbuf_animation_get_iter(GdkPixbufAnimation* s_object, const GTimeVal* s_start_time) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimation_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimation"))); tmp = CDR(tmp); SETCAR(tmp, asRGTimeVal(s_start_time)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkPixbufAnimationIter*)0)); return(GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_ans))); } void S_gdk_pixbuf_animation_class_init(GdkPixbufAnimationClass * c, SEXP e) { SEXP s; S_GdkPixbufAnimation_symbol = install("GdkPixbufAnimation"); s = findVar(S_GdkPixbufAnimation_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkPixbufAnimationClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->is_static_image = S_virtual_gdk_pixbuf_animation_is_static_image; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_static_image = S_virtual_gdk_pixbuf_animation_get_static_image; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_size = S_virtual_gdk_pixbuf_animation_get_size; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_iter = S_virtual_gdk_pixbuf_animation_get_iter; } USER_OBJECT_ S_gdk_pixbuf_animation_class_is_static_image(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationClass* object_class = ((GdkPixbufAnimationClass*)getPtrValue(s_object_class)); GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); gboolean ans; ans = object_class->is_static_image(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_class_get_static_image(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationClass* object_class = ((GdkPixbufAnimationClass*)getPtrValue(s_object_class)); GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); GdkPixbuf* ans; ans = object_class->get_static_image(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_class_get_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationClass* object_class = ((GdkPixbufAnimationClass*)getPtrValue(s_object_class)); GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); int width; int height; object_class->get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_class_get_iter(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationClass* object_class = ((GdkPixbufAnimationClass*)getPtrValue(s_object_class)); GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); const GTimeVal* start_time = asCGTimeVal(s_start_time); GdkPixbufAnimationIter* ans; ans = object_class->get_iter(object, start_time); _result = toRPointerWithRef(ans, "GdkPixbufAnimationIter"); return(_result); } static SEXP S_GdkPixbufAnimationIter_symbol; static int S_virtual_gdk_pixbuf_animation_iter_get_delay_time(GdkPixbufAnimationIter* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimationIter_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimationIter"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((int)0)); return(((int)asCInteger(s_ans))); } static GdkPixbuf* S_virtual_gdk_pixbuf_animation_iter_get_pixbuf(GdkPixbufAnimationIter* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimationIter_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimationIter"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkPixbuf*)0)); return(GDK_PIXBUF(getPtrValue(s_ans))); } static gboolean S_virtual_gdk_pixbuf_animation_iter_on_currently_loading_frame(GdkPixbufAnimationIter* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimationIter_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimationIter"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gdk_pixbuf_animation_iter_advance(GdkPixbufAnimationIter* s_object, const GTimeVal* s_current_time) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufAnimationIter_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufAnimationIter"))); tmp = CDR(tmp); SETCAR(tmp, asRGTimeVal(s_current_time)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gdk_pixbuf_animation_iter_class_init(GdkPixbufAnimationIterClass * c, SEXP e) { SEXP s; S_GdkPixbufAnimationIter_symbol = install("GdkPixbufAnimationIter"); s = findVar(S_GdkPixbufAnimationIter_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkPixbufAnimationIterClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_delay_time = S_virtual_gdk_pixbuf_animation_iter_get_delay_time; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_pixbuf = S_virtual_gdk_pixbuf_animation_iter_get_pixbuf; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->on_currently_loading_frame = S_virtual_gdk_pixbuf_animation_iter_on_currently_loading_frame; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->advance = S_virtual_gdk_pixbuf_animation_iter_advance; } USER_OBJECT_ S_gdk_pixbuf_animation_iter_class_get_delay_time(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIterClass* object_class = ((GdkPixbufAnimationIterClass*)getPtrValue(s_object_class)); GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); int ans; ans = object_class->get_delay_time(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_class_get_pixbuf(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIterClass* object_class = ((GdkPixbufAnimationIterClass*)getPtrValue(s_object_class)); GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); GdkPixbuf* ans; ans = object_class->get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_class_on_currently_loading_frame(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIterClass* object_class = ((GdkPixbufAnimationIterClass*)getPtrValue(s_object_class)); GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); gboolean ans; ans = object_class->on_currently_loading_frame(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_class_advance(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_current_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIterClass* object_class = ((GdkPixbufAnimationIterClass*)getPtrValue(s_object_class)); GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); const GTimeVal* current_time = asCGTimeVal(s_current_time); gboolean ans; ans = object_class->advance(object, current_time); _result = asRLogical(ans); return(_result); } static SEXP S_GdkPixbufLoader_symbol; static void S_virtual_gdk_pixbuf_loader_size_prepared(GdkPixbufLoader* s_object, int s_width, int s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufLoader_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufLoader"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_pixbuf_loader_area_prepared(GdkPixbufLoader* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufLoader_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufLoader"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_pixbuf_loader_area_updated(GdkPixbufLoader* s_object, int s_x, int s_y, int s_width, int s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufLoader_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufLoader"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gdk_pixbuf_loader_closed(GdkPixbufLoader* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkPixbufLoader_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkPixbufLoader"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gdk_pixbuf_loader_class_init(GdkPixbufLoaderClass * c, SEXP e) { SEXP s; S_GdkPixbufLoader_symbol = install("GdkPixbufLoader"); s = findVar(S_GdkPixbufLoader_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkPixbufLoaderClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->size_prepared = S_virtual_gdk_pixbuf_loader_size_prepared; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->area_prepared = S_virtual_gdk_pixbuf_loader_area_prepared; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->area_updated = S_virtual_gdk_pixbuf_loader_area_updated; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->closed = S_virtual_gdk_pixbuf_loader_closed; } USER_OBJECT_ S_gdk_pixbuf_loader_class_size_prepared(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoaderClass* object_class = ((GdkPixbufLoaderClass*)getPtrValue(s_object_class)); GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); object_class->size_prepared(object, width, height); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_class_area_prepared(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoaderClass* object_class = ((GdkPixbufLoaderClass*)getPtrValue(s_object_class)); GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); object_class->area_prepared(object); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_class_area_updated(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoaderClass* object_class = ((GdkPixbufLoaderClass*)getPtrValue(s_object_class)); GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); object_class->area_updated(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_class_closed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoaderClass* object_class = ((GdkPixbufLoaderClass*)getPtrValue(s_object_class)); GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); object_class->closed(object); return(_result); } static SEXP S_GdkPangoRenderer_symbol; void S_gdk_pango_renderer_class_init(GdkPangoRendererClass * c, SEXP e) { SEXP s; S_GdkPangoRenderer_symbol = install("GdkPangoRenderer"); s = findVar(S_GdkPangoRenderer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkPangoRendererClass)) = e; S_pango_renderer_class_init(((PangoRendererClass *)c), e); } static SEXP S_GdkScreen_symbol; static void S_virtual_gdk_screen_size_changed(GdkScreen* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkScreen_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkScreen"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #if GDK_CHECK_VERSION(2, 10, 0) static void S_virtual_gdk_screen_composited_changed(GdkScreen* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GdkScreen_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GdkScreen"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gdk_screen_class_init(GdkScreenClass * c, SEXP e) { SEXP s; S_GdkScreen_symbol = install("GdkScreen"); s = findVar(S_GdkScreen_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkScreenClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->size_changed = S_virtual_gdk_screen_size_changed; #if GDK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->composited_changed = S_virtual_gdk_screen_composited_changed; #endif } USER_OBJECT_ S_gdk_screen_class_size_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreenClass* object_class = ((GdkScreenClass*)getPtrValue(s_object_class)); GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); object_class->size_changed(object); return(_result); } USER_OBJECT_ S_gdk_screen_class_composited_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreenClass* object_class = ((GdkScreenClass*)getPtrValue(s_object_class)); GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); object_class->composited_changed(object); #else error("gdk_screen_composited_changed exists only in Gdk >= 2.10.0"); #endif return(_result); } #if GDK_CHECK_VERSION(2, 14, 0) static SEXP S_GdkAppLaunchContext_symbol; void S_gdk_app_launch_context_class_init(GdkAppLaunchContextClass * c, SEXP e) { SEXP s; S_GdkAppLaunchContext_symbol = install("GdkAppLaunchContext"); s = findVar(S_GdkAppLaunchContext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GdkAppLaunchContextClass)) = e; S_gapp_launch_context_class_init(((GAppLaunchContextClass *)c), e); } #endif RGtk2/src/RSCommon.h0000644000176000001440000000607312362467242013706 0ustar ripleyusers #ifndef RSCOMMON_H #define RSCOMMON_H #ifdef __cplusplus extern "C" { #endif #if defined(_S_) /* || defined(_R_) */ #ifdef _SPLUS5_ #ifdef ARGS #undef ARGS #endif #endif #include "S.h" #ifdef _SPLUS5_ #include "S_tokens.h" typedef boolean s_boolean; #endif /* End of _SPLUS5_ */ #endif #if defined(_S4_) #define vector s_object typedef s_object* USER_OBJECT_; typedef long RSInt; typedef s_boolean Rboolean; #endif #if defined _SPLUS6_ typedef s_boolean boolean; #define TRUE S_TRUE #define FALSE S_FALSE #endif #if defined(_R_) #include #include #ifdef length #undef length #endif #ifdef GET_LENGTH #undef GET_LENGTH #define GET_LENGTH(x) Rf_length(x) #endif #ifdef append #undef append #endif typedef SEXP USER_OBJECT_; typedef int RSInt; #include "Rversion.h" #if R_VERSION < R_Version(1, 2, 0) #define STRING_ELT(x,i) STRING(x)[i] #define VECTOR_ELT(x,i) VECTOR(x)[i] #define SET_STRING_ELT(x,i,v) (STRING(x)[i]=(v)) #define SET_VECTOR_ELT(x,i,v) (VECTOR(x)[i]=(v)) #define SETCAR(x,v) (CAR(x) = v) #else #include "R_ext/Boolean.h" #endif #endif #if defined(_S4_) /* redefine vector and declare routines with S_evaluator */ #ifdef vector #undef vector #endif #define COPY_TO_USER_STRING(a) c_s_cpy(a, S_evaluator) #define LOCAL_EVALUATOR S_EVALUATOR #define CREATE_FUNCTION_CALL(name, argList) alcf(name, argList, S_evaluator) #define CREATE_STRING_VECTOR(a) STRING_VECTOR(a, S_evaluator) #define NULL_USER_OBJECT S_void /* This is to keep R happy until it moves to char ** rather than SEXP * for character vectors. */ #define CHAR_DEREF(x) (x) #ifdef PROTECT #undef PROTECT #endif #define PROTECT(x) (x) /**/ #define UNPROTECT(x) /**/ /* Note that this will override the one in S.h which is for S4, not S3, style classes. */ #if defined(SET_CLASS) #undef SET_CLASS #endif #define SET_CLASS(obj,classname) set_attr((obj), "class", (classname), S_evaluator) #if defined(GET_CLASS) #undef GET_CLASS #endif #define GET_CLASS(x) GET_ATTR((x), "class") #define STRING_ELT(x,i) CHARACTER_DATA(x)[i] #define VECTOR_ELT(x,i) LIST_POINTER(x)[i] #define SET_VECTOR_ELT(v, pos, val) LIST_POINTER((v))[(pos)]=(val) #define SET_STRING_ELT(v, pos, val) CHARACTER_DATA((v))[(pos)]=(val) #endif /* end of this S4 */ #if defined(_R_) #define CHAR_DEREF(x) CHAR((x)) #define IS_FUNCTION(x) isFunction((x)) /* SET_CLASS and SET_NAMES have been moved to Rdefines.h in the R distribution.*/ #endif /* of defined(_R_) */ #if defined(_Octave_) #include extern char error_buf[]; #define PROBLEM sprintf(error_buf, #define ERROR ); error(error_buf) #define STRING_VALUE(a) a.all_strings()[0].c_str() #define GET_LENGTH(a) getLength(a) #define LOCAL_EVALUATOR /**/ #define COPY_TO_USER_STRING(a) strdup(a) /*XXX*/ #endif /* end of defined(_Octave_)*/ #ifdef __cplusplus } #endif #endif /* end of RSCOMMON_H*/ RGtk2/src/gdkFuncs.c0000644000176000001440000070643612362467242013762 0ustar ripleyusers#include #include #include "gdkFuncs.h" USER_OBJECT_ S_gdk_notify_startup_complete(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_notify_startup_complete(); return(_result); } USER_OBJECT_ S_gdk_get_display_arg_name(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ans; ans = gdk_get_display_arg_name(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_get_program_class(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ans; ans = gdk_get_program_class(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_set_program_class(USER_OBJECT_ s_program_class) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* program_class = ((const gchar*)asCString(s_program_class)); gdk_set_program_class(program_class); return(_result); } USER_OBJECT_ S_gdk_get_display(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ans; ans = gdk_get_display(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_pointer_grab(USER_OBJECT_ s_window, USER_OBJECT_ s_owner_events, USER_OBJECT_ s_event_mask, USER_OBJECT_ s_confine_to, USER_OBJECT_ s_cursor, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gboolean owner_events = ((gboolean)asCLogical(s_owner_events)); GdkEventMask event_mask = ((GdkEventMask)asCFlag(s_event_mask, GDK_TYPE_EVENT_MASK)); GdkWindow* confine_to = GET_LENGTH(s_confine_to) == 0 ? NULL : GDK_WINDOW(getPtrValue(s_confine_to)); GdkCursor* cursor = GET_LENGTH(s_cursor) == 0 ? NULL : ((GdkCursor*)getPtrValue(s_cursor)); guint32 time = ((guint32)asCNumeric(s_time)); GdkGrabStatus ans; ans = gdk_pointer_grab(window, owner_events, event_mask, confine_to, cursor, time); _result = asREnum(ans, GDK_TYPE_GRAB_STATUS); return(_result); } USER_OBJECT_ S_gdk_pointer_ungrab(USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 time = ((guint32)asCNumeric(s_time)); gdk_pointer_ungrab(time); return(_result); } USER_OBJECT_ S_gdk_keyboard_grab(USER_OBJECT_ s_window, USER_OBJECT_ s_owner_events, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gboolean owner_events = ((gboolean)asCLogical(s_owner_events)); guint32 time = ((guint32)asCNumeric(s_time)); GdkGrabStatus ans; ans = gdk_keyboard_grab(window, owner_events, time); _result = asREnum(ans, GDK_TYPE_GRAB_STATUS); return(_result); } USER_OBJECT_ S_gdk_keyboard_ungrab(USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 time = ((guint32)asCNumeric(s_time)); gdk_keyboard_ungrab(time); return(_result); } USER_OBJECT_ S_gdk_pointer_is_grabbed(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gdk_pointer_is_grabbed(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_screen_width(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_screen_width(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_height(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_screen_height(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_width_mm(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_screen_width_mm(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_height_mm(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_screen_height_mm(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_flush(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_flush(); return(_result); } USER_OBJECT_ S_gdk_beep(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_beep(); return(_result); } USER_OBJECT_ S_gdk_set_double_click_time(USER_OBJECT_ s_msec) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint msec = ((guint)asCNumeric(s_msec)); gdk_set_double_click_time(msec); return(_result); } USER_OBJECT_ S_gdk_cairo_create(USER_OBJECT_ s_drawable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); cairo_t* ans; ans = gdk_cairo_create(drawable); _result = toRPointerWithCairoRef(ans, "Cairo", cairo); return(_result); } USER_OBJECT_ S_gdk_cairo_set_source_color(USER_OBJECT_ s_cr, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkColor* color = asCGdkColor(s_color); gdk_cairo_set_source_color(cr, color); return(_result); } USER_OBJECT_ S_gdk_cairo_set_source_pixbuf(USER_OBJECT_ s_cr, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_pixbuf_x, USER_OBJECT_ s_pixbuf_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); double pixbuf_x = ((double)asCNumeric(s_pixbuf_x)); double pixbuf_y = ((double)asCNumeric(s_pixbuf_y)); gdk_cairo_set_source_pixbuf(cr, pixbuf, pixbuf_x, pixbuf_y); return(_result); } USER_OBJECT_ S_gdk_cairo_rectangle(USER_OBJECT_ s_cr, USER_OBJECT_ s_rectangle) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkRectangle* rectangle = asCGdkRectangle(s_rectangle); gdk_cairo_rectangle(cr, rectangle); return(_result); } USER_OBJECT_ S_gdk_cairo_region(USER_OBJECT_ s_cr, USER_OBJECT_ s_region) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); gdk_cairo_region(cr, region); return(_result); } USER_OBJECT_ S_gdk_colormap_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_colormap_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_colormap_new(USER_OBJECT_ s_visual, USER_OBJECT_ s_allocate) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* visual = GDK_VISUAL(getPtrValue(s_visual)); gboolean allocate = ((gboolean)asCLogical(s_allocate)); GdkColormap* ans; ans = gdk_colormap_new(visual, allocate); _result = toRPointerWithFinalizer(ans, "GdkColormap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_colormap_get_system(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* ans; ans = gdk_colormap_get_system(); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_colormap_get_system_size(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_colormap_get_system_size(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_colormap_free_colors(USER_OBJECT_ s_object, USER_OBJECT_ s_colors) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkColor* colors = ((GdkColor*)asCArrayRef(s_colors, GdkColor, asCGdkColor)); gint ncolors = ((gint)GET_LENGTH(s_colors)); gdk_colormap_free_colors(object, colors, ncolors); return(_result); } USER_OBJECT_ S_gdk_colormap_query_color(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); gulong pixel = ((gulong)asCNumeric(s_pixel)); GdkColor* result = ((GdkColor *)g_new0(GdkColor, 1)); gdk_colormap_query_color(object, pixel, result); _result = retByVal(_result, "result", asRGdkColor(result), NULL); CLEANUP(g_free, result);; return(_result); } USER_OBJECT_ S_gdk_colormap_get_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkVisual* ans; ans = gdk_colormap_get_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_colormap_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkScreen* ans; ans = gdk_colormap_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_color_parse(USER_OBJECT_ s_spec) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* spec = ((const gchar*)asCString(s_spec)); gint ans; GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); ans = gdk_color_parse(spec, color); _result = asRInteger(ans); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; return(_result); } USER_OBJECT_ S_gdk_color_white(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); gint ans; GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); ans = gdk_color_white(object, color); _result = asRInteger(ans); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; return(_result); } USER_OBJECT_ S_gdk_color_black(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); gint ans; GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); ans = gdk_color_black(object, color); _result = asRInteger(ans); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; return(_result); } USER_OBJECT_ S_gdk_color_alloc(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gint ans; ans = gdk_color_alloc(object, color); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_color_change(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gint ans; ans = gdk_color_change(object, color); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_cursor_new(USER_OBJECT_ s_cursor_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkCursorType cursor_type = ((GdkCursorType)asCEnum(s_cursor_type, GDK_TYPE_CURSOR_TYPE)); GdkCursor* ans; ans = gdk_cursor_new(cursor_type); _result = toRPointerWithFinalizer(ans, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); return(_result); } USER_OBJECT_ S_gdk_cursor_new_from_name(USER_OBJECT_ s_display, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); const gchar* name = ((const gchar*)asCString(s_name)); GdkCursor* ans; ans = gdk_cursor_new_from_name(display, name); _result = toRPointerWithFinalizer(ans, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); return(_result); } USER_OBJECT_ S_gdk_cursor_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_cursor_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkCursorType cursor_type = ((GdkCursorType)asCEnum(s_cursor_type, GDK_TYPE_CURSOR_TYPE)); GdkCursor* ans; ans = gdk_cursor_new_for_display(display, cursor_type); _result = toRPointerWithFinalizer(ans, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); return(_result); } USER_OBJECT_ S_gdk_cursor_new_from_pixmap(USER_OBJECT_ s_source, USER_OBJECT_ s_mask, USER_OBJECT_ s_fg, USER_OBJECT_ s_bg, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixmap* source = GDK_PIXMAP(getPtrValue(s_source)); GdkPixmap* mask = GDK_PIXMAP(getPtrValue(s_mask)); GdkColor* fg = asCGdkColor(s_fg); GdkColor* bg = asCGdkColor(s_bg); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GdkCursor* ans; ans = gdk_cursor_new_from_pixmap(source, mask, fg, bg, x, y); _result = toRPointerWithFinalizer(ans, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); return(_result); } USER_OBJECT_ S_gdk_cursor_new_from_pixbuf(USER_OBJECT_ s_display, USER_OBJECT_ s_source, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkPixbuf* source = GDK_PIXBUF(getPtrValue(s_source)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GdkCursor* ans; ans = gdk_cursor_new_from_pixbuf(display, source, x, y); _result = toRPointerWithFinalizer(ans, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); return(_result); } USER_OBJECT_ S_gdk_cursor_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkCursor* object = ((GdkCursor*)getPtrValue(s_object)); GdkDisplay* ans; ans = gdk_cursor_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_cursor_get_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkCursor* object = ((GdkCursor*)getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_cursor_get_image(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_display_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_display_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_display_open(USER_OBJECT_ s_display_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* display_name = ((const gchar*)asCString(s_display_name)); GdkDisplay* ans; ans = gdk_display_open(display_name); _result = toRPointerWithFinalizer(ans, "GdkDisplay", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_display_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = gdk_display_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_display_get_n_screens(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gint ans; ans = gdk_display_get_n_screens(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_display_get_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gint screen_num = ((gint)asCInteger(s_screen_num)); GdkScreen* ans; ans = gdk_display_get_screen(object, screen_num); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_display_get_default_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkScreen* ans; ans = gdk_display_get_default_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_display_pointer_ungrab(USER_OBJECT_ s_object, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint32 time_ = ((guint32)asCNumeric(s_time_)); gdk_display_pointer_ungrab(object, time_); return(_result); } USER_OBJECT_ S_gdk_display_keyboard_ungrab(USER_OBJECT_ s_object, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint32 time_ = ((guint32)asCNumeric(s_time_)); gdk_display_keyboard_ungrab(object, time_); return(_result); } USER_OBJECT_ S_gdk_display_pointer_is_grabbed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_pointer_is_grabbed(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_beep(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gdk_display_beep(object); return(_result); } USER_OBJECT_ S_gdk_display_sync(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gdk_display_sync(object); return(_result); } USER_OBJECT_ S_gdk_display_close(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gdk_display_close(object); return(_result); } USER_OBJECT_ S_gdk_display_list_devices(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GList* ans; ans = gdk_display_list_devices(object); _result = asRGListWithRef(ans, "GdkDevice"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_display_get_event(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkEvent* ans; ans = gdk_display_get_event(object); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_display_peek_event(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkEvent* ans; ans = gdk_display_peek_event(object); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_display_put_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gdk_display_put_event(object, event); return(_result); } USER_OBJECT_ S_gdk_display_add_client_message_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_message_type, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFilterFunc func = ((GdkFilterFunc)S_GdkFilterFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkAtom message_type = asCGdkAtom(s_message_type); gdk_display_add_client_message_filter(object, message_type, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gdk_display_set_double_click_time(USER_OBJECT_ s_object, USER_OBJECT_ s_msec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint msec = ((guint)asCNumeric(s_msec)); gdk_display_set_double_click_time(object, msec); return(_result); } USER_OBJECT_ S_gdk_display_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* ans; ans = gdk_display_get_default(); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_display_get_core_pointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkDevice* ans; ans = gdk_display_get_core_pointer(object); _result = toRPointerWithRef(ans, "GdkDevice"); return(_result); } USER_OBJECT_ S_gdk_display_get_pointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkScreen* screen = NULL; gint x; gint y; GdkModifierType mask; gdk_display_get_pointer(object, &screen, &x, &y, &mask); _result = retByVal(_result, "screen", toRPointerWithRef(screen, "GdkScreen"), "x", asRInteger(x), "y", asRInteger(y), "mask", asRFlag(mask, GDK_TYPE_MODIFIER_TYPE), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_display_get_window_at_pointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkWindow* ans; gint win_x; gint win_y; ans = gdk_display_get_window_at_pointer(object, &win_x, &win_y); _result = toRPointerWithRef(ans, "GdkWindow"); _result = retByVal(_result, "win.x", asRInteger(win_x), "win.y", asRInteger(win_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_display_warp_pointer(USER_OBJECT_ s_object, USER_OBJECT_ s_screen, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_display_warp_pointer(object, screen, x, y); return(_result); } USER_OBJECT_ S_gdk_display_store_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard_window, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkWindow* clipboard_window = GDK_WINDOW(getPtrValue(s_clipboard_window)); guint32 time_ = ((guint32)GET_LENGTH(s_targets)); GdkAtom* targets = ((GdkAtom*)asCGdkAtomArray(s_targets)); gint n_targets = ((gint)GET_LENGTH(s_targets)); gdk_display_store_clipboard(object, clipboard_window, time_, targets, n_targets); return(_result); } USER_OBJECT_ S_gdk_display_supports_selection_notification(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_selection_notification(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_request_selection_notification(USER_OBJECT_ s_object, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); gboolean ans; ans = gdk_display_request_selection_notification(object, selection); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_supports_clipboard_persistence(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_clipboard_persistence(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_manager_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_display_manager_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_display_manager_get(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayManager* ans; ans = gdk_display_manager_get(); _result = toRPointerWithRef(ans, "GdkDisplayManager"); return(_result); } USER_OBJECT_ S_gdk_display_manager_get_default_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayManager* object = GDK_DISPLAY_MANAGER(getPtrValue(s_object)); GdkDisplay* ans; ans = gdk_display_manager_get_default_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_display_manager_set_default_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayManager* object = GDK_DISPLAY_MANAGER(getPtrValue(s_object)); GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); gdk_display_manager_set_default_display(object, display); return(_result); } USER_OBJECT_ S_gdk_display_manager_list_displays(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplayManager* object = GDK_DISPLAY_MANAGER(getPtrValue(s_object)); GSList* ans; ans = gdk_display_manager_list_displays(object); _result = asRGSListWithRef(ans, "GdkDisplay"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gdk_display_flush(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gdk_display_flush(object); return(_result); } USER_OBJECT_ S_gdk_display_set_double_click_distance(USER_OBJECT_ s_object, USER_OBJECT_ s_distance) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint distance = ((guint)asCNumeric(s_distance)); gdk_display_set_double_click_distance(object, distance); return(_result); } USER_OBJECT_ S_gdk_display_supports_cursor_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_cursor_alpha(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_supports_cursor_color(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_cursor_color(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_display_get_default_cursor_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint ans; ans = gdk_display_get_default_cursor_size(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_display_get_maximal_cursor_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); guint width; guint height; gdk_display_get_maximal_cursor_size(object, &width, &height); _result = retByVal(_result, "width", asRNumeric(width), "height", asRNumeric(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_display_get_default_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_display_get_default_group(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_drag_context_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_drag_context_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_drag_context_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* ans; ans = gdk_drag_context_new(); _result = toRPointerWithFinalizer(ans, "GdkDragContext", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_drag_context_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gdk_drag_context_ref(object); return(_result); } USER_OBJECT_ S_gdk_drag_context_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gdk_drag_context_unref(object); return(_result); } USER_OBJECT_ S_gdk_drag_status(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkDragAction action = ((GdkDragAction)asCFlag(s_action, GDK_TYPE_DRAG_ACTION)); guint32 time = ((guint32)asCNumeric(s_time)); gdk_drag_status(object, action, time); return(_result); } USER_OBJECT_ S_gdk_drop_reply(USER_OBJECT_ s_object, USER_OBJECT_ s_ok, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gboolean ok = ((gboolean)asCLogical(s_ok)); guint32 time = ((guint32)asCNumeric(s_time)); gdk_drop_reply(object, ok, time); return(_result); } USER_OBJECT_ S_gdk_drop_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_success, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gboolean success = ((gboolean)asCLogical(s_success)); guint32 time = ((guint32)asCNumeric(s_time)); gdk_drop_finish(object, success, time); return(_result); } USER_OBJECT_ S_gdk_drag_get_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkAtom ans; ans = gdk_drag_get_selection(object); _result = asRGdkAtom(ans); return(_result); } USER_OBJECT_ S_gdk_drag_begin(USER_OBJECT_ s_object, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GList* targets = asCGList(s_targets); GdkDragContext* ans; ans = gdk_drag_begin(object, targets); _result = toRPointerWithRef(ans, "GdkDragContext"); CLEANUP(g_list_free, ((GList*)targets));; return(_result); } USER_OBJECT_ S_gdk_drag_get_protocol(USER_OBJECT_ s_xid) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 xid = ((guint32)asCNumeric(s_xid)); guint32 ans; GdkDragProtocol protocol; ans = gdk_drag_get_protocol(xid, &protocol); _result = asRNumeric(ans); _result = retByVal(_result, "protocol", asREnum(protocol, GDK_TYPE_DRAG_PROTOCOL), NULL); ; return(_result); } USER_OBJECT_ S_gdk_drag_find_window(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_window, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkWindow* drag_window = GDK_WINDOW(getPtrValue(s_drag_window)); gint x_root = ((gint)asCInteger(s_x_root)); gint y_root = ((gint)asCInteger(s_y_root)); GdkWindow* dest_window = NULL; GdkDragProtocol protocol; gdk_drag_find_window(object, drag_window, x_root, y_root, &dest_window, &protocol); _result = retByVal(_result, "dest.window", toRPointerWithRef(dest_window, "GdkWindow"), "protocol", asREnum(protocol, GDK_TYPE_DRAG_PROTOCOL), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_drag_get_protocol_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_xid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); guint32 xid = ((guint32)asCNumeric(s_xid)); guint32 ans; GdkDragProtocol protocol; ans = gdk_drag_get_protocol_for_display(display, xid, &protocol); _result = asRNumeric(ans); _result = retByVal(_result, "protocol", asREnum(protocol, GDK_TYPE_DRAG_PROTOCOL), NULL); ; return(_result); } USER_OBJECT_ S_gdk_drag_find_window_for_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_window, USER_OBJECT_ s_screen, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkWindow* drag_window = GDK_WINDOW(getPtrValue(s_drag_window)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gint x_root = ((gint)asCInteger(s_x_root)); gint y_root = ((gint)asCInteger(s_y_root)); GdkWindow* dest_window = NULL; GdkDragProtocol protocol; gdk_drag_find_window_for_screen(object, drag_window, screen, x_root, y_root, &dest_window, &protocol); _result = retByVal(_result, "dest.window", toRPointerWithRef(dest_window, "GdkWindow"), "protocol", asREnum(protocol, GDK_TYPE_DRAG_PROTOCOL), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_drag_motion(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_window, USER_OBJECT_ s_protocol, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root, USER_OBJECT_ s_suggested_action, USER_OBJECT_ s_possible_actions, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkWindow* dest_window = GDK_WINDOW(getPtrValue(s_dest_window)); GdkDragProtocol protocol = ((GdkDragProtocol)asCEnum(s_protocol, GDK_TYPE_DRAG_PROTOCOL)); gint x_root = ((gint)asCInteger(s_x_root)); gint y_root = ((gint)asCInteger(s_y_root)); GdkDragAction suggested_action = ((GdkDragAction)asCFlag(s_suggested_action, GDK_TYPE_DRAG_ACTION)); GdkDragAction possible_actions = ((GdkDragAction)asCFlag(s_possible_actions, GDK_TYPE_DRAG_ACTION)); guint32 time = ((guint32)asCNumeric(s_time)); gboolean ans; ans = gdk_drag_motion(object, dest_window, protocol, x_root, y_root, suggested_action, possible_actions, time); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_drag_drop(USER_OBJECT_ s_object, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); guint32 time = ((guint32)asCNumeric(s_time)); gdk_drag_drop(object, time); return(_result); } USER_OBJECT_ S_gdk_drag_abort(USER_OBJECT_ s_object, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); guint32 time = ((guint32)asCNumeric(s_time)); gdk_drag_abort(object, time); return(_result); } USER_OBJECT_ S_gdk_drag_drop_succeeded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gboolean ans; ans = gdk_drag_drop_succeeded(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_drawable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_drawable_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_drawable_set_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gpointer data = ((gpointer)asCGenericData(s_data)); GDestroyNotify destroy_func = ((GDestroyNotify)R_ReleaseObject); gdk_drawable_set_data(object, key, data, destroy_func); return(_result); } USER_OBJECT_ S_gdk_drawable_get_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gpointer ans; ans = gdk_drawable_get_data(object, key); _result = ans; return(_result); } USER_OBJECT_ S_gdk_drawable_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint width; gint height; gdk_drawable_get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_drawable_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gdk_drawable_set_colormap(object, colormap); return(_result); } USER_OBJECT_ S_gdk_drawable_get_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_drawable_get_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_drawable_get_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkVisual* ans; ans = gdk_drawable_get_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_drawable_get_depth(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint ans; ans = gdk_drawable_get_depth(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_drawable_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkScreen* ans; ans = gdk_drawable_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_drawable_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkDisplay* ans; ans = gdk_drawable_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_drawable_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkDrawable* ans; ans = gdk_drawable_ref(object); _result = toRPointerWithRef(ans, "GdkDrawable"); return(_result); } USER_OBJECT_ S_gdk_drawable_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gdk_drawable_unref(object); return(_result); } USER_OBJECT_ S_gdk_draw_point(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_draw_point(object, gc, x, y); return(_result); } USER_OBJECT_ S_gdk_draw_line(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x1 = ((gint)asCInteger(s_x1)); gint y1 = ((gint)asCInteger(s_y1)); gint x2 = ((gint)asCInteger(s_x2)); gint y2 = ((gint)asCInteger(s_y2)); gdk_draw_line(object, gc, x1, y1, x2, y2); return(_result); } USER_OBJECT_ S_gdk_draw_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_draw_rectangle(object, gc, filled, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_draw_arc(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gint angle1 = ((gint)asCInteger(s_angle1)); gint angle2 = ((gint)asCInteger(s_angle2)); gdk_draw_arc(object, gc, filled, x, y, width, height, angle1, angle2); return(_result); } USER_OBJECT_ S_gdk_draw_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gboolean filled = ((gboolean)asCLogical(s_filled)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); gdk_draw_polygon(object, gc, filled, points, npoints); return(_result); } USER_OBJECT_ S_gdk_draw_string(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* string = ((const gchar*)asCString(s_string)); gdk_draw_string(object, font, gc, x, y, string); return(_result); } USER_OBJECT_ S_gdk_draw_text(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); gdk_draw_text(object, font, gc, x, y, text, text_length); return(_result); } USER_OBJECT_ S_gdk_draw_text_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)GET_LENGTH(s_text)); const GdkWChar* text = ((const GdkWChar*)asCArray(s_text, GdkWChar, asCNumeric)); gint text_length = ((gint)GET_LENGTH(s_text)); gdk_draw_text_wc(object, font, gc, x, y, text, text_length); return(_result); } USER_OBJECT_ S_gdk_draw_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_src, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkDrawable* src = GDK_DRAWABLE(getPtrValue(s_src)); gint xsrc = ((gint)asCInteger(s_xsrc)); gint ysrc = ((gint)asCInteger(s_ysrc)); gint xdest = ((gint)asCInteger(s_xdest)); gint ydest = ((gint)asCInteger(s_ydest)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_draw_drawable(object, gc, src, xsrc, ysrc, xdest, ydest, width, height); return(_result); } USER_OBJECT_ S_gdk_draw_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_image, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkImage* image = GDK_IMAGE(getPtrValue(s_image)); gint xsrc = ((gint)asCInteger(s_xsrc)); gint ysrc = ((gint)asCInteger(s_ysrc)); gint xdest = ((gint)asCInteger(s_xdest)); gint ydest = ((gint)asCInteger(s_ydest)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_draw_image(object, gc, image, xsrc, ysrc, xdest, ydest, width, height); return(_result); } USER_OBJECT_ S_gdk_draw_points(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); gdk_draw_points(object, gc, points, npoints); return(_result); } USER_OBJECT_ S_gdk_draw_segments(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_segs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkSegment* segs = ((GdkSegment*)asCArrayRef(s_segs, GdkSegment, asCGdkSegment)); gint nsegs = ((gint)GET_LENGTH(s_segs)); gdk_draw_segments(object, gc, segs, nsegs); return(_result); } USER_OBJECT_ S_gdk_draw_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); gdk_draw_lines(object, gc, points, npoints); return(_result); } USER_OBJECT_ S_gdk_draw_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GET_LENGTH(s_gc) == 0 ? NULL : GDK_GC(getPtrValue(s_gc)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gint src_x = ((gint)asCInteger(s_src_x)); gint src_y = ((gint)asCInteger(s_src_y)); gint dest_x = ((gint)asCInteger(s_dest_x)); gint dest_y = ((gint)asCInteger(s_dest_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dither = ((GdkRgbDither)asCEnum(s_dither, GDK_TYPE_RGB_DITHER)); gint x_dither = ((gint)asCInteger(s_x_dither)); gint y_dither = ((gint)asCInteger(s_y_dither)); gdk_draw_pixbuf(object, gc, pixbuf, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither); return(_result); } USER_OBJECT_ S_gdk_draw_glyphs(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); gdk_draw_glyphs(object, gc, font, x, y, glyphs); return(_result); } USER_OBJECT_ S_gdk_draw_layout_line(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); gdk_draw_layout_line(object, gc, x, y, line); return(_result); } USER_OBJECT_ S_gdk_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); gdk_draw_layout(object, gc, x, y, layout); return(_result); } USER_OBJECT_ S_gdk_draw_layout_line_with_colors(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_line, USER_OBJECT_ s_foreground, USER_OBJECT_ s_background) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); GdkColor* foreground = asCGdkColor(s_foreground); GdkColor* background = asCGdkColor(s_background); gdk_draw_layout_line_with_colors(drawable, gc, x, y, line, foreground, background); return(_result); } USER_OBJECT_ S_gdk_draw_layout_with_colors(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout, USER_OBJECT_ s_foreground, USER_OBJECT_ s_background) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); GdkColor* foreground = asCGdkColor(s_foreground); GdkColor* background = asCGdkColor(s_background); gdk_draw_layout_with_colors(drawable, gc, x, y, layout, foreground, background); return(_result); } USER_OBJECT_ S_gdk_draw_glyphs_transformed(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_matrix, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); PangoMatrix* matrix = ((PangoMatrix*)getPtrValue(s_matrix)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); gdk_draw_glyphs_transformed(drawable, gc, matrix, font, x, y, glyphs); return(_result); } USER_OBJECT_ S_gdk_draw_trapezoids(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_trapezoids) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); GdkTrapezoid* trapezoids = ((GdkTrapezoid*)asCArrayRef(s_trapezoids, GdkTrapezoid, asCGdkTrapezoid)); gint n_trapezoids = ((gint)GET_LENGTH(s_trapezoids)); gdk_draw_trapezoids(drawable, gc, trapezoids, n_trapezoids); return(_result); } USER_OBJECT_ S_gdk_drawable_get_image(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkImage* ans; ans = gdk_drawable_get_image(object, x, y, width, height); _result = toRPointerWithFinalizer(ans, "GdkImage", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_drawable_get_clip_region(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkRegion* ans; ans = gdk_drawable_get_clip_region(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_drawable_get_visible_region(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkRegion* ans; ans = gdk_drawable_get_visible_region(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_event_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_event_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_events_pending(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gdk_events_pending(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_event_get(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* ans; ans = gdk_event_get(); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_event_peek(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* ans; ans = gdk_event_peek(); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_event_get_graphics_expose(USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GdkEvent* ans; ans = gdk_event_get_graphics_expose(window); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_event_put(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); gdk_event_put(object); return(_result); } USER_OBJECT_ S_gdk_event_new(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventType type = ((GdkEventType)asCEnum(s_type, GDK_TYPE_EVENT_TYPE)); GdkEvent* ans; ans = gdk_event_new(type); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_event_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); GdkEvent* ans; ans = gdk_event_copy(object); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gdk_event_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); gdk_event_free(object); return(_result); } USER_OBJECT_ S_gdk_event_get_time(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); guint32 ans; ans = gdk_event_get_time(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_event_get_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); gboolean ans; GdkModifierType state; ans = gdk_event_get_state(object, &state); _result = asRLogical(ans); _result = retByVal(_result, "state", asRFlag(state, GDK_TYPE_MODIFIER_TYPE), NULL); ; return(_result); } USER_OBJECT_ S_gdk_event_get_coords(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); gboolean ans; gdouble x_win; gdouble y_win; ans = gdk_event_get_coords(object, &x_win, &y_win); _result = asRLogical(ans); _result = retByVal(_result, "x.win", asRNumeric(x_win), "y.win", asRNumeric(y_win), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_event_get_root_coords(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); gboolean ans; gdouble x_root; gdouble y_root; ans = gdk_event_get_root_coords(object, &x_root, &y_root); _result = asRLogical(ans); _result = retByVal(_result, "x.root", asRNumeric(x_root), "y.root", asRNumeric(y_root), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_event_get_axis(USER_OBJECT_ s_object, USER_OBJECT_ s_axis_use) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); GdkAxisUse axis_use = ((GdkAxisUse)asCEnum(s_axis_use, GDK_TYPE_AXIS_USE)); gboolean ans; gdouble value; ans = gdk_event_get_axis(object, axis_use, &value); _result = asRLogical(ans); _result = retByVal(_result, "value", asRNumeric(value), NULL); ; return(_result); } USER_OBJECT_ S_gdk_event_handler_set(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEventFunc func = ((GdkEventFunc)S_GdkEventFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GDestroyNotify notify = ((GDestroyNotify)R_freeCBData); gdk_event_handler_set(func, data, notify); return(_result); } USER_OBJECT_ S_gdk_event_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gdk_event_set_screen(object, screen); return(_result); } USER_OBJECT_ S_gdk_event_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* object = ((GdkEvent*)getPtrValue(s_object)); GdkScreen* ans; ans = gdk_event_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_set_show_events(USER_OBJECT_ s_show_events) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean show_events = ((gboolean)asCLogical(s_show_events)); gdk_set_show_events(show_events); return(_result); } USER_OBJECT_ S_gdk_get_show_events(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gdk_get_show_events(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_add_client_message_filter(USER_OBJECT_ s_message_type, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFilterFunc func = ((GdkFilterFunc)S_GdkFilterFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GdkAtom message_type = asCGdkAtom(s_message_type); gdk_add_client_message_filter(message_type, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gdk_setting_get(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); gboolean ans; GValue* value = ((GValue *)g_new0(GValue, 1)); ans = gdk_setting_get(name, value); _result = asRLogical(ans); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gdk_font_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); gint ans; ans = gdk_font_id(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_font_load_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_font_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); const gchar* font_name = ((const gchar*)asCString(s_font_name)); GdkFont* ans; ans = gdk_font_load_for_display(display, font_name); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_fontset_load_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_fontset_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); const gchar* fontset_name = ((const gchar*)asCString(s_fontset_name)); GdkFont* ans; ans = gdk_fontset_load_for_display(display, fontset_name); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_font_from_description_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_font_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); PangoFontDescription* font_desc = ((PangoFontDescription*)getPtrValue(s_font_desc)); GdkFont* ans; ans = gdk_font_from_description_for_display(display, font_desc); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_font_load(USER_OBJECT_ s_font_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* font_name = ((const gchar*)asCString(s_font_name)); GdkFont* ans; ans = gdk_font_load(font_name); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_fontset_load(USER_OBJECT_ s_fontset_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* fontset_name = ((const gchar*)asCString(s_fontset_name)); GdkFont* ans; ans = gdk_fontset_load(fontset_name); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_font_from_description(USER_OBJECT_ s_font_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* font_desc = ((PangoFontDescription*)getPtrValue(s_font_desc)); GdkFont* ans; ans = gdk_font_from_description(font_desc); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gdk_string_width(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); gint ans; ans = gdk_string_width(object, string); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_text_width(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); gint ans; ans = gdk_text_width(object, text, text_length); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_text_width_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const GdkWChar* text = ((const GdkWChar*)asCArray(s_text, GdkWChar, asCNumeric)); gint text_length = ((gint)GET_LENGTH(s_text)); gint ans; ans = gdk_text_width_wc(object, text, text_length); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_char_width(USER_OBJECT_ s_object, USER_OBJECT_ s_character) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); gchar character = ((gchar)asCCharacter(s_character)); gint ans; ans = gdk_char_width(object, character); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_char_width_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_character) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); GdkWChar character = ((GdkWChar)asCNumeric(s_character)); gint ans; ans = gdk_char_width_wc(object, character); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_string_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); gint ans; ans = gdk_string_measure(object, string); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_text_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); gint ans; ans = gdk_text_measure(object, text, text_length); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_char_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_character) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); gchar character = ((gchar)asCCharacter(s_character)); gint ans; ans = gdk_char_measure(object, character); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_string_height(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); gint ans; ans = gdk_string_height(object, string); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_text_height(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); gint ans; ans = gdk_text_height(object, text, text_length); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_char_height(USER_OBJECT_ s_object, USER_OBJECT_ s_character) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); gchar character = ((gchar)asCCharacter(s_character)); gint ans; ans = gdk_char_height(object, character); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_text_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint text_length = ((gint)asCInteger(s_text_length)); gint lbearing; gint rbearing; gint width; gint ascent; gint descent; gdk_text_extents(object, text, text_length, &lbearing, &rbearing, &width, &ascent, &descent); _result = retByVal(_result, "lbearing", asRInteger(lbearing), "rbearing", asRInteger(rbearing), "width", asRInteger(width), "ascent", asRInteger(ascent), "descent", asRInteger(descent), NULL); ; ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_text_extents_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const GdkWChar* text = ((const GdkWChar*)asCArray(s_text, GdkWChar, asCNumeric)); gint text_length = ((gint)GET_LENGTH(s_text)); gint lbearing; gint rbearing; gint width; gint ascent; gint descent; gdk_text_extents_wc(object, text, text_length, &lbearing, &rbearing, &width, &ascent, &descent); _result = retByVal(_result, "lbearing", asRInteger(lbearing), "rbearing", asRInteger(rbearing), "width", asRInteger(width), "ascent", asRInteger(ascent), "descent", asRInteger(descent), NULL); ; ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_string_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); gint lbearing; gint rbearing; gint width; gint ascent; gint descent; gdk_string_extents(object, string, &lbearing, &rbearing, &width, &ascent, &descent); _result = retByVal(_result, "lbearing", asRInteger(lbearing), "rbearing", asRInteger(rbearing), "width", asRInteger(width), "ascent", asRInteger(ascent), "descent", asRInteger(descent), NULL); ; ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_font_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFont* object = ((GdkFont*)getPtrValue(s_object)); GdkDisplay* ans; ans = gdk_font_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_gc_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_gc_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_gc_new(USER_OBJECT_ s_drawable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* ans; ans = gdk_gc_new(drawable); _result = toRPointerWithFinalizer(ans, "GdkGC", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_gc_get_values(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkGCValues* values = ((GdkGCValues *)g_new0(GdkGCValues, 1)); gdk_gc_get_values(object, values); _result = retByVal(_result, "values", asRGdkGCValues(values), NULL); CLEANUP(g_free, values);; return(_result); } USER_OBJECT_ S_gdk_gc_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gdk_gc_set_foreground(object, color); return(_result); } USER_OBJECT_ S_gdk_gc_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gdk_gc_set_background(object, color); return(_result); } USER_OBJECT_ S_gdk_gc_set_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); gdk_gc_set_font(object, font); return(_result); } USER_OBJECT_ S_gdk_gc_set_function(USER_OBJECT_ s_object, USER_OBJECT_ s_function) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkFunction function = ((GdkFunction)asCEnum(s_function, GDK_TYPE_FUNCTION)); gdk_gc_set_function(object, function); return(_result); } USER_OBJECT_ S_gdk_gc_set_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_fill) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkFill fill = ((GdkFill)asCEnum(s_fill, GDK_TYPE_FILL)); gdk_gc_set_fill(object, fill); return(_result); } USER_OBJECT_ S_gdk_gc_set_tile(USER_OBJECT_ s_object, USER_OBJECT_ s_tile) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkPixmap* tile = GDK_PIXMAP(getPtrValue(s_tile)); gdk_gc_set_tile(object, tile); return(_result); } USER_OBJECT_ S_gdk_gc_set_stipple(USER_OBJECT_ s_object, USER_OBJECT_ s_stipple) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkPixmap* stipple = GDK_PIXMAP(getPtrValue(s_stipple)); gdk_gc_set_stipple(object, stipple); return(_result); } USER_OBJECT_ S_gdk_gc_set_ts_origin(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_gc_set_ts_origin(object, x, y); return(_result); } USER_OBJECT_ S_gdk_gc_set_clip_origin(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_gc_set_clip_origin(object, x, y); return(_result); } USER_OBJECT_ S_gdk_gc_set_clip_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gdk_gc_set_clip_mask(object, mask); return(_result); } USER_OBJECT_ S_gdk_gc_set_clip_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkRectangle* rectangle = asCGdkRectangle(s_rectangle); gdk_gc_set_clip_rectangle(object, rectangle); return(_result); } USER_OBJECT_ S_gdk_gc_set_clip_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); gdk_gc_set_clip_region(object, region); return(_result); } USER_OBJECT_ S_gdk_gc_set_subwindow(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkSubwindowMode mode = ((GdkSubwindowMode)asCEnum(s_mode, GDK_TYPE_SUBWINDOW_MODE)); gdk_gc_set_subwindow(object, mode); return(_result); } USER_OBJECT_ S_gdk_gc_set_exposures(USER_OBJECT_ s_object, USER_OBJECT_ s_exposures) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gboolean exposures = ((gboolean)asCLogical(s_exposures)); gdk_gc_set_exposures(object, exposures); return(_result); } USER_OBJECT_ S_gdk_gc_set_line_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_line_width, USER_OBJECT_ s_line_style, USER_OBJECT_ s_cap_style, USER_OBJECT_ s_join_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gint line_width = ((gint)asCInteger(s_line_width)); GdkLineStyle line_style = ((GdkLineStyle)asCEnum(s_line_style, GDK_TYPE_LINE_STYLE)); GdkCapStyle cap_style = ((GdkCapStyle)asCEnum(s_cap_style, GDK_TYPE_CAP_STYLE)); GdkJoinStyle join_style = ((GdkJoinStyle)asCEnum(s_join_style, GDK_TYPE_JOIN_STYLE)); gdk_gc_set_line_attributes(object, line_width, line_style, cap_style, join_style); return(_result); } USER_OBJECT_ S_gdk_gc_set_dashes(USER_OBJECT_ s_object, USER_OBJECT_ s_dash_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gint dash_offset = ((gint)GET_LENGTH(s_dash_list)); gint8* dash_list = ((gint8*)asCArray(s_dash_list, gint8, asCRaw)); gint n = ((gint)GET_LENGTH(s_dash_list)); gdk_gc_set_dashes(object, dash_offset, dash_list, n); return(_result); } USER_OBJECT_ S_gdk_gc_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_x_offset, USER_OBJECT_ s_y_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); gint x_offset = ((gint)asCInteger(s_x_offset)); gint y_offset = ((gint)asCInteger(s_y_offset)); gdk_gc_offset(object, x_offset, y_offset); return(_result); } USER_OBJECT_ S_gdk_gc_copy(USER_OBJECT_ s_object, USER_OBJECT_ s_src_gc) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkGC* src_gc = GDK_GC(getPtrValue(s_src_gc)); gdk_gc_copy(object, src_gc); return(_result); } USER_OBJECT_ S_gdk_gc_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gdk_gc_set_colormap(object, colormap); return(_result); } USER_OBJECT_ S_gdk_gc_get_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_gc_get_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_gc_set_rgb_fg_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gdk_gc_set_rgb_fg_color(object, color); return(_result); } USER_OBJECT_ S_gdk_gc_set_rgb_bg_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gdk_gc_set_rgb_bg_color(object, color); return(_result); } USER_OBJECT_ S_gdk_gc_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkScreen* ans; ans = gdk_gc_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_image_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_image_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_image_new(USER_OBJECT_ s_type, USER_OBJECT_ s_visual, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImageType type = ((GdkImageType)asCEnum(s_type, GDK_TYPE_IMAGE_TYPE)); GdkVisual* visual = GDK_VISUAL(getPtrValue(s_visual)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkImage* ans; ans = gdk_image_new(type, visual, width, height); _result = toRPointerWithFinalizer(ans, "GdkImage", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_image_get(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkImage* ans; ans = gdk_image_get(object, x, y, width, height); _result = toRPointerWithFinalizer(ans, "GdkImage", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_image_put_pixel(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_pixel) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage* object = GDK_IMAGE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint32 pixel = ((guint32)asCNumeric(s_pixel)); gdk_image_put_pixel(object, x, y, pixel); return(_result); } USER_OBJECT_ S_gdk_image_get_pixel(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage* object = GDK_IMAGE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint32 ans; ans = gdk_image_get_pixel(object, x, y); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_image_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage* object = GDK_IMAGE(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gdk_image_set_colormap(object, colormap); return(_result); } USER_OBJECT_ S_gdk_image_get_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage* object = GDK_IMAGE(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_image_get_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_device_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_device_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_devices_list(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* ans; ans = gdk_devices_list(); _result = asRGListWithRef(ans, "GdkDevice"); return(_result); } USER_OBJECT_ S_gdk_device_set_source(USER_OBJECT_ s_object, USER_OBJECT_ s_source) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); GdkInputSource source = ((GdkInputSource)asCEnum(s_source, GDK_TYPE_INPUT_SOURCE)); gdk_device_set_source(object, source); return(_result); } USER_OBJECT_ S_gdk_device_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); GdkInputMode mode = ((GdkInputMode)asCEnum(s_mode, GDK_TYPE_INPUT_MODE)); gboolean ans; ans = gdk_device_set_mode(object, mode); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_device_set_key(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); guint index = ((guint)asCNumeric(s_index)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); gdk_device_set_key(object, index, keyval, modifiers); return(_result); } USER_OBJECT_ S_gdk_device_set_axis_use(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_use) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); guint index = ((guint)asCNumeric(s_index)); GdkAxisUse use = ((GdkAxisUse)asCEnum(s_use, GDK_TYPE_AXIS_USE)); gdk_device_set_axis_use(object, index, use); return(_result); } USER_OBJECT_ S_gdk_device_get_state(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gdouble axes; GdkModifierType mask; gdk_device_get_state(object, window, &axes, &mask); _result = retByVal(_result, "axes", asRNumeric(axes), "mask", asRFlag(mask, GDK_TYPE_MODIFIER_TYPE), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_device_get_axis(USER_OBJECT_ s_object, USER_OBJECT_ s_axes, USER_OBJECT_ s_use) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)); gdouble* axes = ((gdouble*)asCArray(s_axes, gdouble, asCNumeric)); GdkAxisUse use = ((GdkAxisUse)asCEnum(s_use, GDK_TYPE_AXIS_USE)); gboolean ans; gdouble value; ans = gdk_device_get_axis(object, axes, use, &value); _result = asRLogical(ans); _result = retByVal(_result, "value", asRNumeric(value), NULL); ; return(_result); } USER_OBJECT_ S_gdk_input_set_extension_events(USER_OBJECT_ s_object, USER_OBJECT_ s_mask, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint mask = ((gint)asCInteger(s_mask)); GdkExtensionMode mode = ((GdkExtensionMode)asCEnum(s_mode, GDK_TYPE_EXTENSION_MODE)); gdk_input_set_extension_events(object, mask, mode); return(_result); } USER_OBJECT_ S_gdk_device_get_core_pointer(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDevice* ans; ans = gdk_device_get_core_pointer(); _result = toRPointerWithRef(ans, "GdkDevice"); return(_result); } USER_OBJECT_ S_gdk_keymap_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_keymap_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_keymap_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* ans; ans = gdk_keymap_get_default(); _result = toRPointerWithRef(ans, "GdkKeymap"); return(_result); } USER_OBJECT_ S_gdk_keymap_get_for_display(USER_OBJECT_ s_display) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkKeymap* ans; ans = gdk_keymap_get_for_display(display); _result = toRPointerWithRef(ans, "GdkKeymap"); return(_result); } USER_OBJECT_ S_gdk_keymap_lookup_key(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); const GdkKeymapKey* key = asCGdkKeymapKey(s_key); guint ans; ans = gdk_keymap_lookup_key(object, key); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_keymap_translate_keyboard_state(USER_OBJECT_ s_object, USER_OBJECT_ s_hardware_keycode, USER_OBJECT_ s_state, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); guint hardware_keycode = ((guint)asCNumeric(s_hardware_keycode)); GdkModifierType state = ((GdkModifierType)asCFlag(s_state, GDK_TYPE_MODIFIER_TYPE)); gint group = ((gint)asCInteger(s_group)); gboolean ans; guint keyval; gint effective_group; gint level; GdkModifierType consumed_modifiers; ans = gdk_keymap_translate_keyboard_state(object, hardware_keycode, state, group, &keyval, &effective_group, &level, &consumed_modifiers); _result = asRLogical(ans); _result = retByVal(_result, "keyval", asRNumeric(keyval), "effective.group", asRInteger(effective_group), "level", asRInteger(level), "consumed.modifiers", asRFlag(consumed_modifiers, GDK_TYPE_MODIFIER_TYPE), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_keymap_get_entries_for_keyval(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); guint keyval = ((guint)asCNumeric(s_keyval)); gboolean ans; GdkKeymapKey* keys = NULL; gint n_keys; ans = gdk_keymap_get_entries_for_keyval(object, keyval, &keys, &n_keys); _result = asRLogical(ans); _result = retByVal(_result, "keys", asRArrayRefWithSize(keys, asRGdkKeymapKey, n_keys), "n.keys", asRInteger(n_keys), NULL); CLEANUP(g_free, keys);; ; return(_result); } USER_OBJECT_ S_gdk_keymap_get_entries_for_keycode(USER_OBJECT_ s_object, USER_OBJECT_ s_hardware_keycode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); guint hardware_keycode = ((guint)asCNumeric(s_hardware_keycode)); gboolean ans; GdkKeymapKey* keys = NULL; guint* keyvals = NULL; gint n_entries; ans = gdk_keymap_get_entries_for_keycode(object, hardware_keycode, &keys, &keyvals, &n_entries); _result = asRLogical(ans); _result = retByVal(_result, "keys", asRArrayRefWithSize(keys, asRGdkKeymapKey, n_entries), "keyvals", asRNumericArrayWithSize(keyvals, n_entries), "n.entries", asRInteger(n_entries), NULL); CLEANUP(g_free, keys);; CLEANUP(g_free, keyvals);; ; return(_result); } USER_OBJECT_ S_gdk_keymap_get_direction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); PangoDirection ans; ans = gdk_keymap_get_direction(object); _result = asREnum(ans, PANGO_TYPE_DIRECTION); return(_result); } USER_OBJECT_ S_gdk_keyval_name(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); gchar* ans; ans = gdk_keyval_name(keyval); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_keyval_from_name(USER_OBJECT_ s_keyval_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* keyval_name = ((const gchar*)asCString(s_keyval_name)); guint ans; ans = gdk_keyval_from_name(keyval_name); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_keyval_convert_case(USER_OBJECT_ s_symbol) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint symbol = ((guint)asCNumeric(s_symbol)); guint lower; guint upper; gdk_keyval_convert_case(symbol, &lower, &upper); _result = retByVal(_result, "lower", asRNumeric(lower), "upper", asRNumeric(upper), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_keyval_to_upper(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); guint ans; ans = gdk_keyval_to_upper(keyval); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_keyval_to_lower(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); guint ans; ans = gdk_keyval_to_lower(keyval); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_keyval_is_upper(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); gboolean ans; ans = gdk_keyval_is_upper(keyval); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_keyval_is_lower(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); gboolean ans; ans = gdk_keyval_is_lower(keyval); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_keyval_to_unicode(USER_OBJECT_ s_keyval) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); guint32 ans; ans = gdk_keyval_to_unicode(keyval); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_unicode_to_keyval(USER_OBJECT_ s_wc) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 wc = ((guint32)asCNumeric(s_wc)); guint ans; ans = gdk_unicode_to_keyval(wc); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_pango_renderer_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_new(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); PangoRenderer* ans; ans = gdk_pango_renderer_new(screen); _result = toRPointerWithFinalizer(ans, "PangoRenderer", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_get_default(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); PangoRenderer* ans; ans = gdk_pango_renderer_get_default(screen); _result = toRPointerWithRef(ans, "PangoRenderer"); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_set_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoRenderer* object = GDK_PANGO_RENDERER(getPtrValue(s_object)); GdkDrawable* drawable = GET_LENGTH(s_drawable) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_drawable)); gdk_pango_renderer_set_drawable(object, drawable); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_set_gc(USER_OBJECT_ s_object, USER_OBJECT_ s_gc) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoRenderer* object = GDK_PANGO_RENDERER(getPtrValue(s_object)); GdkGC* gc = GET_LENGTH(s_gc) == 0 ? NULL : GDK_GC(getPtrValue(s_gc)); gdk_pango_renderer_set_gc(object, gc); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_set_stipple(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_stipple) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoRenderer* object = GDK_PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); GdkBitmap* stipple = GDK_DRAWABLE(getPtrValue(s_stipple)); gdk_pango_renderer_set_stipple(object, part, stipple); return(_result); } USER_OBJECT_ S_gdk_pango_renderer_set_override_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPangoRenderer* object = GDK_PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); const GdkColor* color = GET_LENGTH(s_color) == 0 ? NULL : asCGdkColor(s_color); gdk_pango_renderer_set_override_color(object, part, color); return(_result); } USER_OBJECT_ S_gdk_pango_context_get_for_screen(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); PangoContext* ans; ans = gdk_pango_context_get_for_screen(screen); _result = toRPointerWithRef(ans, "PangoContext"); return(_result); } USER_OBJECT_ S_gdk_pango_context_get(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* ans; ans = gdk_pango_context_get(); _result = toRPointerWithRef(ans, "PangoContext"); return(_result); } USER_OBJECT_ S_gdk_pango_context_set_colormap(USER_OBJECT_ s_context, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gdk_pango_context_set_colormap(context, colormap); return(_result); } USER_OBJECT_ S_gdk_pango_layout_line_get_clip_region(USER_OBJECT_ s_line, USER_OBJECT_ s_x_origin, USER_OBJECT_ s_index_ranges) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); gint x_origin = ((gint)asCInteger(s_x_origin)); gint y_origin = ((gint)GET_LENGTH(s_index_ranges)); gint* index_ranges = ((gint*)asCArray(s_index_ranges, gint, asCInteger)); gint n_ranges = ((gint)GET_LENGTH(s_index_ranges)); GdkRegion* ans; ans = gdk_pango_layout_line_get_clip_region(line, x_origin, y_origin, index_ranges, n_ranges); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_pango_layout_get_clip_region(USER_OBJECT_ s_layout, USER_OBJECT_ s_x_origin, USER_OBJECT_ s_index_ranges) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); gint x_origin = ((gint)asCInteger(s_x_origin)); gint y_origin = ((gint)GET_LENGTH(s_index_ranges)); gint* index_ranges = ((gint*)asCArray(s_index_ranges, gint, asCInteger)); gint n_ranges = ((gint)GET_LENGTH(s_index_ranges)); GdkRegion* ans; ans = gdk_pango_layout_get_clip_region(layout, x_origin, y_origin, index_ranges, n_ranges); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_pango_attr_stipple_new(USER_OBJECT_ s_stipple) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkBitmap* stipple = GDK_DRAWABLE(getPtrValue(s_stipple)); PangoAttribute* ans; ans = gdk_pango_attr_stipple_new(stipple); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_gdk_pango_attr_embossed_new(USER_OBJECT_ s_embossed) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean embossed = ((gboolean)asCLogical(s_embossed)); PangoAttribute* ans; ans = gdk_pango_attr_embossed_new(embossed); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_render_threshold_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_bitmap, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_alpha_threshold) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkBitmap* bitmap = GDK_DRAWABLE(getPtrValue(s_bitmap)); int src_x = ((int)asCInteger(s_src_x)); int src_y = ((int)asCInteger(s_src_y)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); int alpha_threshold = ((int)asCInteger(s_alpha_threshold)); gdk_pixbuf_render_threshold_alpha(object, bitmap, src_x, src_y, dest_x, dest_y, width, height, alpha_threshold); return(_result); } USER_OBJECT_ S_gdk_pixbuf_render_to_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); int src_x = ((int)asCInteger(s_src_x)); int src_y = ((int)asCInteger(s_src_y)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkRgbDither dither = ((GdkRgbDither)asCEnum(s_dither, GDK_TYPE_RGB_DITHER)); gint x_dither = ((gint)asCInteger(s_x_dither)); gint y_dither = ((gint)asCInteger(s_y_dither)); gdk_pixbuf_render_to_drawable(object, drawable, gc, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither); return(_result); } USER_OBJECT_ S_gdk_pixbuf_render_to_drawable_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_alpha_mode, USER_OBJECT_ s_alpha_threshold, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); int src_x = ((int)asCInteger(s_src_x)); int src_y = ((int)asCInteger(s_src_y)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkPixbufAlphaMode alpha_mode = ((GdkPixbufAlphaMode)asCEnum(s_alpha_mode, GDK_TYPE_PIXBUF_ALPHA_MODE)); int alpha_threshold = ((int)asCInteger(s_alpha_threshold)); GdkRgbDither dither = ((GdkRgbDither)asCEnum(s_dither, GDK_TYPE_RGB_DITHER)); gint x_dither = ((gint)asCInteger(s_x_dither)); gint y_dither = ((gint)asCInteger(s_y_dither)); gdk_pixbuf_render_to_drawable_alpha(object, drawable, src_x, src_y, dest_x, dest_y, width, height, alpha_mode, alpha_threshold, dither, x_dither, y_dither); return(_result); } USER_OBJECT_ S_gdk_pixmap_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_pixmap_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_pixmap_new(USER_OBJECT_ s_drawable, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_depth) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GET_LENGTH(s_drawable) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_drawable)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gint depth = ((gint)asCInteger(s_depth)); GdkPixmap* ans; ans = gdk_pixmap_new(drawable, width, height, depth); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_bitmap_create_from_data(USER_OBJECT_ s_drawable, USER_OBJECT_ s_data, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GET_LENGTH(s_drawable) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_drawable)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gint width = ((gint)GET_LENGTH(s_data)); gint height = ((gint)asCInteger(s_height)); GdkBitmap* ans; ans = gdk_bitmap_create_from_data(drawable, data, width, height); _result = toRPointerWithFinalizer(ans, "GdkBitmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixmap_create_from_data(USER_OBJECT_ s_drawable, USER_OBJECT_ s_data, USER_OBJECT_ s_height, USER_OBJECT_ s_depth, USER_OBJECT_ s_fg, USER_OBJECT_ s_bg) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GET_LENGTH(s_drawable) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_drawable)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gint width = ((gint)GET_LENGTH(s_data)); gint height = ((gint)asCInteger(s_height)); gint depth = ((gint)asCInteger(s_depth)); GdkColor* fg = asCGdkColor(s_fg); GdkColor* bg = asCGdkColor(s_bg); GdkPixmap* ans; ans = gdk_pixmap_create_from_data(drawable, data, width, height, depth, fg, bg); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixmap_create_from_xpm(USER_OBJECT_ s_drawable, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkColor* transparent_color = asCGdkColor(s_transparent_color); const gchar* filename = ((const gchar*)asCString(s_filename)); GdkPixmap* ans; GdkBitmap* mask = NULL; ans = gdk_pixmap_create_from_xpm(drawable, &mask, transparent_color, filename); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "mask", toRPointerWithFinalizer(mask, "GdkBitmap", (RPointerFinalizer) g_object_unref), NULL); ; return(_result); } USER_OBJECT_ S_gdk_pixmap_colormap_create_from_xpm(USER_OBJECT_ s_drawable, USER_OBJECT_ s_colormap, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkColor* transparent_color = asCGdkColor(s_transparent_color); const gchar* filename = ((const gchar*)asCString(s_filename)); GdkPixmap* ans; GdkBitmap* mask = NULL; ans = gdk_pixmap_colormap_create_from_xpm(drawable, colormap, &mask, transparent_color, filename); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "mask", toRPointerWithFinalizer(mask, "GdkBitmap", (RPointerFinalizer) g_object_unref), NULL); ; return(_result); } USER_OBJECT_ S_gdk_pixmap_create_from_xpm_d(USER_OBJECT_ s_drawable, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkColor* transparent_color = asCGdkColor(s_transparent_color); gchar** data = ((gchar**)asCStringArray(s_data)); GdkPixmap* ans; GdkBitmap* mask = NULL; ans = gdk_pixmap_create_from_xpm_d(drawable, &mask, transparent_color, data); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "mask", toRPointerWithFinalizer(mask, "GdkBitmap", (RPointerFinalizer) g_object_unref), NULL); ; return(_result); } USER_OBJECT_ S_gdk_pixmap_colormap_create_from_xpm_d(USER_OBJECT_ s_drawable, USER_OBJECT_ s_colormap, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkColor* transparent_color = asCGdkColor(s_transparent_color); gchar** data = ((gchar**)asCStringArray(s_data)); GdkPixmap* ans; GdkBitmap* mask = NULL; ans = gdk_pixmap_colormap_create_from_xpm_d(drawable, colormap, &mask, transparent_color, data); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "mask", toRPointerWithFinalizer(mask, "GdkBitmap", (RPointerFinalizer) g_object_unref), NULL); ; return(_result); } USER_OBJECT_ S_gdk_pixmap_foreign_new(USER_OBJECT_ s_anid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkNativeWindow anid = asCGdkNativeWindow(s_anid); GdkPixmap* ans; ans = gdk_pixmap_foreign_new(anid); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixmap_lookup(USER_OBJECT_ s_anid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkNativeWindow anid = asCGdkNativeWindow(s_anid); GdkPixmap* ans; ans = gdk_pixmap_lookup(anid); _result = toRPointerWithRef(ans, "GdkPixmap"); return(_result); } USER_OBJECT_ S_gdk_pixmap_foreign_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_anid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkNativeWindow anid = asCGdkNativeWindow(s_anid); GdkPixmap* ans; ans = gdk_pixmap_foreign_new_for_display(display, anid); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixmap_lookup_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_anid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkNativeWindow anid = asCGdkNativeWindow(s_anid); GdkPixmap* ans; ans = gdk_pixmap_lookup_for_display(display, anid); _result = toRPointerWithRef(ans, "GdkPixmap"); return(_result); } USER_OBJECT_ S_gdk_atom_name(USER_OBJECT_ s_atom) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkAtom atom = asCGdkAtom(s_atom); gchar* ans; ans = gdk_atom_name(atom); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_atom_intern(USER_OBJECT_ s_atom_name, USER_OBJECT_ s_only_if_exists) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* atom_name = ((gchar*)asCString(s_atom_name)); gboolean only_if_exists = ((gboolean)asCLogical(s_only_if_exists)); GdkAtom ans; ans = gdk_atom_intern(atom_name, only_if_exists); _result = asRGdkAtom(ans); return(_result); } USER_OBJECT_ S_gdk_property_get(USER_OBJECT_ s_object, USER_OBJECT_ s_property, USER_OBJECT_ s_type, USER_OBJECT_ s_offset, USER_OBJECT_ s_length, USER_OBJECT_ s_pdelete) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkAtom property = asCGdkAtom(s_property); GdkAtom type = asCGdkAtom(s_type); gulong offset = ((gulong)asCNumeric(s_offset)); gulong length = ((gulong)asCNumeric(s_length)); gint pdelete = ((gint)asCInteger(s_pdelete)); gboolean ans; GdkAtom actual_property_type; gint actual_format; gint actual_length; guchar* data = NULL; ans = gdk_property_get(object, property, type, offset, length, pdelete, &actual_property_type, &actual_format, &actual_length, &data); _result = asRLogical(ans); _result = retByVal(_result, "actual.property.type", asRGdkAtom(actual_property_type), "actual.format", asRInteger(actual_format), "actual.length", asRInteger(actual_length), "data", asRRawArrayWithSize(data, actual_format), NULL); ; ; ; CLEANUP(g_free, data);; return(_result); } USER_OBJECT_ S_gdk_property_change(USER_OBJECT_ s_object, USER_OBJECT_ s_property, USER_OBJECT_ s_type, USER_OBJECT_ s_format, USER_OBJECT_ s_mode, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkAtom property = asCGdkAtom(s_property); GdkAtom type = asCGdkAtom(s_type); gint format = ((gint)asCInteger(s_format)); GdkPropMode mode = ((GdkPropMode)asCEnum(s_mode, GDK_TYPE_PROP_MODE)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gint nelements = ((gint)GET_LENGTH(s_data)); gdk_property_change(object, property, type, format, mode, data, nelements); return(_result); } USER_OBJECT_ S_gdk_property_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_property) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkAtom property = asCGdkAtom(s_property); gdk_property_delete(object, property); return(_result); } USER_OBJECT_ S_gdk_rgb_xpixel_from_rgb(USER_OBJECT_ s_rgb) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 rgb = ((guint32)asCNumeric(s_rgb)); gulong ans; ans = gdk_rgb_xpixel_from_rgb(rgb); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gdk_rgb_gc_set_foreground(USER_OBJECT_ s_gc, USER_OBJECT_ s_rgb) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* gc = GDK_GC(getPtrValue(s_gc)); guint32 rgb = ((guint32)asCNumeric(s_rgb)); gdk_rgb_gc_set_foreground(gc, rgb); return(_result); } USER_OBJECT_ S_gdk_rgb_gc_set_background(USER_OBJECT_ s_gc, USER_OBJECT_ s_rgb) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* gc = GDK_GC(getPtrValue(s_gc)); guint32 rgb = ((guint32)asCNumeric(s_rgb)); gdk_rgb_gc_set_background(gc, rgb); return(_result); } USER_OBJECT_ S_gdk_draw_rgb_image_dithalign(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_rgb_buf, USER_OBJECT_ s_xdith, USER_OBJECT_ s_ydith) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dith = ((GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER)); guchar* rgb_buf = ((guchar*)asCArray(s_rgb_buf, guchar, asCRaw)); gint rowstride = ((gint)GET_LENGTH(s_rgb_buf)); gint xdith = ((gint)asCInteger(s_xdith)); gint ydith = ((gint)asCInteger(s_ydith)); gdk_draw_rgb_image_dithalign(object, gc, x, y, width, height, dith, rgb_buf, rowstride, xdith, ydith); return(_result); } USER_OBJECT_ S_gdk_draw_rgb_32_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dith = ((GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER)); guchar* buf = ((guchar*)asCArray(s_buf, guchar, asCRaw)); gint rowstride = ((gint)GET_LENGTH(s_buf)); gdk_draw_rgb_32_image(object, gc, x, y, width, height, dith, buf, rowstride); return(_result); } USER_OBJECT_ S_gdk_draw_rgb_32_image_dithalign(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf, USER_OBJECT_ s_xdith, USER_OBJECT_ s_ydith) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dith = ((GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER)); guchar* buf = ((guchar*)asCArray(s_buf, guchar, asCRaw)); gint rowstride = ((gint)GET_LENGTH(s_buf)); gint xdith = ((gint)asCInteger(s_xdith)); gint ydith = ((gint)asCInteger(s_ydith)); gdk_draw_rgb_32_image_dithalign(object, gc, x, y, width, height, dith, buf, rowstride, xdith, ydith); return(_result); } USER_OBJECT_ S_gdk_rgb_colormap_ditherable(USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gboolean ans; ans = gdk_rgb_colormap_ditherable(colormap); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_draw_gray_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dith = ((GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER)); guchar* buf = ((guchar*)asCArray(s_buf, guchar, asCRaw)); gint rowstride = ((gint)GET_LENGTH(s_buf)); gdk_draw_gray_image(object, gc, x, y, width, height, dith, buf, rowstride); return(_result); } USER_OBJECT_ S_gdk_rgb_cmap_new(USER_OBJECT_ s_colors) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32* colors = ((guint32*)asCArray(s_colors, guint32, asCNumeric)); gint n_colors = ((gint)GET_LENGTH(s_colors)); GdkRgbCmap* ans; ans = gdk_rgb_cmap_new(colors, n_colors); _result = asRGdkRgbCmap(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_draw_indexed_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf, USER_OBJECT_ s_cmap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GdkRgbDither dith = ((GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER)); guchar* buf = ((guchar*)asCArray(s_buf, guchar, asCRaw)); gint rowstride = ((gint)GET_LENGTH(s_buf)); GdkRgbCmap* cmap = asCGdkRgbCmap(s_cmap); gdk_draw_indexed_image(object, gc, x, y, width, height, dith, buf, rowstride, cmap); return(_result); } USER_OBJECT_ S_gdk_rgb_ditherable(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gdk_rgb_ditherable(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_rgb_set_verbose(USER_OBJECT_ s_verbose) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean verbose = ((gboolean)asCLogical(s_verbose)); gdk_rgb_set_verbose(verbose); return(_result); } USER_OBJECT_ S_gdk_rgb_set_install(USER_OBJECT_ s_install) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean install = ((gboolean)asCLogical(s_install)); gdk_rgb_set_install(install); return(_result); } USER_OBJECT_ S_gdk_rgb_set_min_colors(USER_OBJECT_ s_min_colors) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint min_colors = ((gint)asCInteger(s_min_colors)); gdk_rgb_set_min_colors(min_colors); return(_result); } USER_OBJECT_ S_gdk_rgb_get_colormap(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* ans; ans = gdk_rgb_get_colormap(); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_rgb_get_cmap(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* ans; ans = gdk_rgb_get_cmap(); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_rgb_get_visual(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* ans; ans = gdk_rgb_get_visual(); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_screen_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_screen_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_default_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_screen_get_default_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_screen_set_default_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gdk_screen_set_default_colormap(object, colormap); return(_result); } USER_OBJECT_ S_gdk_screen_get_system_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_screen_get_system_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_screen_get_system_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkVisual* ans; ans = gdk_screen_get_system_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_screen_get_rgb_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_screen_get_rgb_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_screen_get_rgba_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkColormap* ans; ans = gdk_screen_get_rgba_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gdk_screen_get_rgb_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkVisual* ans; ans = gdk_screen_get_rgb_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_screen_get_rgba_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkVisual* ans; ans = gdk_screen_get_rgba_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_screen_get_root_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_screen_get_root_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_screen_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkDisplay* ans; ans = gdk_screen_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gdk_screen_get_number(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_number(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_height(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_height(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_width_mm(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_width_mm(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_height_mm(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_height_mm(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_list_visuals(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GList* ans; ans = gdk_screen_list_visuals(object); _result = asRGListWithRef(ans, "GdkVisual"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_screen_get_toplevel_windows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GList* ans; ans = gdk_screen_get_toplevel_windows(object); _result = asRGListWithRef(ans, "GdkWindow"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_screen_make_display_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gchar* ans; ans = gdk_screen_make_display_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_screen_get_n_monitors(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_n_monitors(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_geometry(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint monitor_num = ((gint)asCInteger(s_monitor_num)); GdkRectangle* dest = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gdk_screen_get_monitor_geometry(object, monitor_num, dest); _result = retByVal(_result, "dest", asRGdkRectangle(dest), NULL); CLEANUP(g_free, dest);; return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint ans; ans = gdk_screen_get_monitor_at_point(object, x, y); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_at_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gint ans; ans = gdk_screen_get_monitor_at_window(object, window); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_screen_broadcast_client_message(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gdk_screen_broadcast_client_message(object, event); return(_result); } USER_OBJECT_ S_gdk_screen_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* ans; ans = gdk_screen_get_default(); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_screen_get_setting(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gboolean ans; GValue* value = ((GValue *)g_new0(GValue, 1)); ans = gdk_screen_get_setting(object, name, value); _result = asRLogical(ans); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gdk_spawn_command_line_on_screen(USER_OBJECT_ s_screen, USER_OBJECT_ s_command_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); const gchar* command_line = ((const gchar*)asCString(s_command_line)); gboolean ans; GError* error = NULL; ans = gdk_spawn_command_line_on_screen(screen, command_line, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_alternative_dialog_button_order(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gboolean ans; ans = gtk_alternative_dialog_button_order(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_selection_owner_get(USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkAtom selection = asCGdkAtom(s_selection); GdkWindow* ans; ans = gdk_selection_owner_get(selection); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_selection_owner_get_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkAtom selection = asCGdkAtom(s_selection); GdkWindow* ans; ans = gdk_selection_owner_get_for_display(display, selection); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_selection_property_get(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; guchar* data = NULL; GdkAtom prop_type; gint prop_format; ans = gdk_selection_property_get(object, &data, &prop_type, &prop_format); _result = asRLogical(ans); _result = retByVal(_result, "data", asRRawArrayWithSize(data, prop_format), "prop.type", asRGdkAtom(prop_type), "prop.format", asRInteger(prop_format), NULL); CLEANUP(g_free, data);; ; ; return(_result); } USER_OBJECT_ S_gdk_visual_get_best_depth(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gdk_visual_get_best_depth(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_visual_get_best_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisualType ans; ans = gdk_visual_get_best_type(); _result = asREnum(ans, GDK_TYPE_VISUAL_TYPE); return(_result); } USER_OBJECT_ S_gdk_visual_get_system(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* ans; ans = gdk_visual_get_system(); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_visual_get_best(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* ans; ans = gdk_visual_get_best(); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_visual_get_best_with_depth(USER_OBJECT_ s_depth) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint depth = ((gint)asCInteger(s_depth)); GdkVisual* ans; ans = gdk_visual_get_best_with_depth(depth); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_visual_get_best_with_type(USER_OBJECT_ s_visual_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisualType visual_type = ((GdkVisualType)asCEnum(s_visual_type, GDK_TYPE_VISUAL_TYPE)); GdkVisual* ans; ans = gdk_visual_get_best_with_type(visual_type); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_visual_get_best_with_both(USER_OBJECT_ s_depth, USER_OBJECT_ s_visual_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint depth = ((gint)asCInteger(s_depth)); GdkVisualType visual_type = ((GdkVisualType)asCEnum(s_visual_type, GDK_TYPE_VISUAL_TYPE)); GdkVisual* ans; ans = gdk_visual_get_best_with_both(depth, visual_type); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gdk_list_visuals(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* ans; ans = gdk_list_visuals(); _result = asRGListWithRef(ans, "GdkVisual"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_visual_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* object = GDK_VISUAL(getPtrValue(s_object)); GdkScreen* ans; ans = gdk_visual_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gdk_window_object_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_window_object_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_window_set_keep_above(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gdk_window_set_keep_above(object, setting); return(_result); } USER_OBJECT_ S_gdk_window_set_keep_below(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gdk_window_set_keep_below(object, setting); return(_result); } USER_OBJECT_ S_gdk_window_destroy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_destroy(object); return(_result); } USER_OBJECT_ S_gdk_window_get_window_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindowType ans; ans = gdk_window_get_window_type(object); _result = asREnum(ans, GDK_TYPE_WINDOW_TYPE); return(_result); } USER_OBJECT_ S_gdk_window_at_pointer(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* ans; gint win_x; gint win_y; ans = gdk_window_at_pointer(&win_x, &win_y); _result = toRPointerWithRef(ans, "GdkWindow"); _result = retByVal(_result, "win.x", asRInteger(win_x), "win.y", asRInteger(win_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_window_show(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_show(object); return(_result); } USER_OBJECT_ S_gdk_window_show_unraised(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_show_unraised(object); return(_result); } USER_OBJECT_ S_gdk_window_hide(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_hide(object); return(_result); } USER_OBJECT_ S_gdk_window_withdraw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_withdraw(object); return(_result); } USER_OBJECT_ S_gdk_window_move(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_window_move(object, x, y); return(_result); } USER_OBJECT_ S_gdk_window_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_window_resize(object, width, height); return(_result); } USER_OBJECT_ S_gdk_window_move_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_window_move_resize(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_window_move_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_window_move_region(object, region, x, y); return(_result); } USER_OBJECT_ S_gdk_window_reparent(USER_OBJECT_ s_object, USER_OBJECT_ s_new_parent, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* new_parent = GDK_WINDOW(getPtrValue(s_new_parent)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_window_reparent(object, new_parent, x, y); return(_result); } USER_OBJECT_ S_gdk_window_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_clear(object); return(_result); } USER_OBJECT_ S_gdk_window_clear_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_window_clear_area(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_window_clear_area_e(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_window_clear_area_e(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gdk_window_raise(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_raise(object); return(_result); } USER_OBJECT_ S_gdk_window_lower(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_lower(object); return(_result); } USER_OBJECT_ S_gdk_window_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gdk_window_focus(object, timestamp); return(_result); } USER_OBJECT_ S_gdk_window_set_user_data(USER_OBJECT_ s_object, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GtkWidget* user_data = GET_LENGTH(s_user_data) == 0 ? NULL : ((GtkWidget*)getPtrValue(s_user_data)); gdk_window_set_user_data(object, user_data); return(_result); } USER_OBJECT_ S_gdk_window_get_user_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GtkWidget* user_data = NULL; gdk_window_get_user_data(object, &user_data); _result = retByVal(_result, "user.data", toRPointer(user_data, "GtkWidget"), NULL); ; return(_result); } USER_OBJECT_ S_gdk_window_set_override_redirect(USER_OBJECT_ s_object, USER_OBJECT_ s_override_redirect) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean override_redirect = ((gboolean)asCLogical(s_override_redirect)); gdk_window_set_override_redirect(object, override_redirect); return(_result); } USER_OBJECT_ S_gdk_window_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFilterFunc function = ((GdkFilterFunc)S_GdkFilterFunc); R_CallbackData* data = R_createCBData(s_function, s_data); GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_add_filter(object, function, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gdk_window_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkFilterFunc function = ((GdkFilterFunc)S_GdkFilterFunc); R_CallbackData* data = R_createCBData(s_function, s_data); GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_remove_filter(object, function, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gdk_window_scroll(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint dx = ((gint)asCInteger(s_dx)); gint dy = ((gint)asCInteger(s_dy)); gdk_window_scroll(object, dx, dy); return(_result); } USER_OBJECT_ S_gdk_window_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkBitmap* shape_mask = GET_LENGTH(s_shape_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_shape_mask)); gint offset_x = ((gint)asCInteger(s_offset_x)); gint offset_y = ((gint)asCInteger(s_offset_y)); gdk_window_shape_combine_mask(object, shape_mask, offset_x, offset_y); return(_result); } USER_OBJECT_ S_gdk_window_shape_combine_region(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_region, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* shape_region = GET_LENGTH(s_shape_region) == 0 ? NULL : ((GdkRegion*)getPtrValue(s_shape_region)); gint offset_x = ((gint)asCInteger(s_offset_x)); gint offset_y = ((gint)asCInteger(s_offset_y)); gdk_window_shape_combine_region(object, shape_region, offset_x, offset_y); return(_result); } USER_OBJECT_ S_gdk_window_set_child_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_set_child_shapes(object); return(_result); } USER_OBJECT_ S_gdk_window_merge_child_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_merge_child_shapes(object); return(_result); } USER_OBJECT_ S_gdk_window_is_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gdk_window_is_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_window_is_viewable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gdk_window_is_viewable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_window_get_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindowState ans; ans = gdk_window_get_state(object); _result = asRFlag(ans, GDK_TYPE_WINDOW_STATE); return(_result); } USER_OBJECT_ S_gdk_window_set_static_gravities(USER_OBJECT_ s_object, USER_OBJECT_ s_use_static) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean use_static = ((gboolean)asCLogical(s_use_static)); gboolean ans; ans = gdk_window_set_static_gravities(object, use_static); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_window_set_hints(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_min_width, USER_OBJECT_ s_min_height, USER_OBJECT_ s_max_width, USER_OBJECT_ s_max_height, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint min_width = ((gint)asCInteger(s_min_width)); gint min_height = ((gint)asCInteger(s_min_height)); gint max_width = ((gint)asCInteger(s_max_width)); gint max_height = ((gint)asCInteger(s_max_height)); gint flags = ((gint)asCInteger(s_flags)); gdk_window_set_hints(object, x, y, min_width, min_height, max_width, max_height, flags); return(_result); } USER_OBJECT_ S_gdk_window_set_type_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindowTypeHint hint = ((GdkWindowTypeHint)asCEnum(s_hint, GDK_TYPE_WINDOW_TYPE_HINT)); gdk_window_set_type_hint(object, hint); return(_result); } USER_OBJECT_ S_gdk_window_set_modal_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean modal = ((gboolean)asCLogical(s_modal)); gdk_window_set_modal_hint(object, modal); return(_result); } USER_OBJECT_ S_gdk_window_set_skip_taskbar_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean modal = ((gboolean)asCLogical(s_modal)); gdk_window_set_skip_taskbar_hint(object, modal); return(_result); } USER_OBJECT_ S_gdk_window_set_skip_pager_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean modal = ((gboolean)asCLogical(s_modal)); gdk_window_set_skip_pager_hint(object, modal); return(_result); } USER_OBJECT_ S_gdk_window_set_urgency_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_urgent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean urgent = ((gboolean)asCLogical(s_urgent)); gdk_window_set_urgency_hint(object, urgent); return(_result); } USER_OBJECT_ S_gdk_set_sm_client_id(USER_OBJECT_ s_sm_client_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* sm_client_id = ((const gchar*)asCString(s_sm_client_id)); gdk_set_sm_client_id(sm_client_id); return(_result); } USER_OBJECT_ S_gdk_window_begin_paint_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRectangle* rectangle = asCGdkRectangle(s_rectangle); gdk_window_begin_paint_rect(object, rectangle); return(_result); } USER_OBJECT_ S_gdk_window_begin_paint_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); gdk_window_begin_paint_region(object, region); return(_result); } USER_OBJECT_ S_gdk_window_end_paint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_end_paint(object); return(_result); } USER_OBJECT_ S_gdk_window_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gdk_window_set_title(object, title); return(_result); } USER_OBJECT_ S_gdk_window_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); const gchar* role = ((const gchar*)asCString(s_role)); gdk_window_set_role(object, role); return(_result); } USER_OBJECT_ S_gdk_window_set_transient_for(USER_OBJECT_ s_object, USER_OBJECT_ s_leader) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* leader = GDK_WINDOW(getPtrValue(s_leader)); gdk_window_set_transient_for(object, leader); return(_result); } USER_OBJECT_ S_gdk_window_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gdk_window_set_background(object, color); return(_result); } USER_OBJECT_ S_gdk_window_set_back_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_parent_relative) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkPixmap* pixmap = GET_LENGTH(s_pixmap) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap)); gboolean parent_relative = ((gboolean)asCLogical(s_parent_relative)); gdk_window_set_back_pixmap(object, pixmap, parent_relative); return(_result); } USER_OBJECT_ S_gdk_window_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_cursor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkCursor* cursor = GET_LENGTH(s_cursor) == 0 ? NULL : ((GdkCursor*)getPtrValue(s_cursor)); gdk_window_set_cursor(object, cursor); return(_result); } USER_OBJECT_ S_gdk_window_get_geometry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x; gint y; gint width; gint height; gint depth; gdk_window_get_geometry(object, &x, &y, &width, &height, &depth); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "width", asRInteger(width), "height", asRInteger(height), "depth", asRInteger(depth), NULL); ; ; ; ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x; gint y; gdk_window_get_position(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_origin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint ans; gint x; gint y; ans = gdk_window_get_origin(object, &x, &y); _result = asRInteger(ans); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_deskrelative_origin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; gint x; gint y; ans = gdk_window_get_deskrelative_origin(object, &x, &y); _result = asRLogical(ans); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_root_origin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x; gint y; gdk_window_get_root_origin(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_frame_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRectangle* rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gdk_window_get_frame_extents(object, rect); _result = retByVal(_result, "rect", asRGdkRectangle(rect), NULL); CLEANUP(g_free, rect);; return(_result); } USER_OBJECT_ S_gdk_window_get_pointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* ans; gint x; gint y; GdkModifierType mask; ans = gdk_window_get_pointer(object, &x, &y, &mask); _result = toRPointerWithRef(ans, "GdkWindow"); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "mask", asRFlag(mask, GDK_TYPE_MODIFIER_TYPE), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gdk_window_get_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_window_get_parent(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_window_get_toplevel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_window_get_toplevel(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_window_get_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GList* ans; ans = gdk_window_get_children(object); _result = asRGListWithRef(ans, "GdkWindow"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_window_peek_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GList* ans; ans = gdk_window_peek_children(object); _result = asRGListWithRef(ans, "GdkWindow"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_window_get_events(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkEventMask ans; ans = gdk_window_get_events(object); _result = asRFlag(ans, GDK_TYPE_EVENT_MASK); return(_result); } USER_OBJECT_ S_gdk_window_set_events(USER_OBJECT_ s_object, USER_OBJECT_ s_event_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkEventMask event_mask = ((GdkEventMask)asCFlag(s_event_mask, GDK_TYPE_EVENT_MASK)); gdk_window_set_events(object, event_mask); return(_result); } USER_OBJECT_ S_gdk_window_set_icon_list(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbufs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GList* pixbufs = ((GList*)asCArrayRef(s_pixbufs, GList, asCGList)); gdk_window_set_icon_list(object, pixbufs); CLEANUP(g_list_free, ((GList*)pixbufs));; return(_result); } USER_OBJECT_ S_gdk_window_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_window, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* icon_window = GDK_WINDOW(getPtrValue(s_icon_window)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gdk_window_set_icon(object, icon_window, pixmap, mask); return(_result); } USER_OBJECT_ S_gdk_window_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gdk_window_set_icon_name(object, name); return(_result); } USER_OBJECT_ S_gdk_window_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_leader) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* leader = GDK_WINDOW(getPtrValue(s_leader)); gdk_window_set_group(object, leader); return(_result); } USER_OBJECT_ S_gdk_window_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_window_get_group(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_window_set_decorations(USER_OBJECT_ s_object, USER_OBJECT_ s_decorations) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWMDecoration decorations = ((GdkWMDecoration)asCFlag(s_decorations, GDK_TYPE_WM_DECORATION)); gdk_window_set_decorations(object, decorations); return(_result); } USER_OBJECT_ S_gdk_window_get_decorations(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; GdkWMDecoration decorations; ans = gdk_window_get_decorations(object, &decorations); _result = asRLogical(ans); _result = retByVal(_result, "decorations", asRFlag(decorations, GDK_TYPE_WM_DECORATION), NULL); ; return(_result); } USER_OBJECT_ S_gdk_window_set_functions(USER_OBJECT_ s_object, USER_OBJECT_ s_functions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWMFunction functions = ((GdkWMFunction)asCFlag(s_functions, GDK_TYPE_WM_FUNCTION)); gdk_window_set_functions(object, functions); return(_result); } USER_OBJECT_ S_gdk_window_get_toplevels(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* ans; ans = gdk_window_get_toplevels(); _result = asRGListWithRef(ans, "GdkWindow"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gdk_window_iconify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_iconify(object); return(_result); } USER_OBJECT_ S_gdk_window_deiconify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_deiconify(object); return(_result); } USER_OBJECT_ S_gdk_window_stick(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_stick(object); return(_result); } USER_OBJECT_ S_gdk_window_unstick(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_unstick(object); return(_result); } USER_OBJECT_ S_gdk_window_maximize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_maximize(object); return(_result); } USER_OBJECT_ S_gdk_window_unmaximize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_unmaximize(object); return(_result); } USER_OBJECT_ S_gdk_window_fullscreen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_fullscreen(object); return(_result); } USER_OBJECT_ S_gdk_window_unfullscreen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_unfullscreen(object); return(_result); } USER_OBJECT_ S_gdk_window_register_dnd(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_register_dnd(object); return(_result); } USER_OBJECT_ S_gdk_window_begin_resize_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_edge, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindowEdge edge = ((GdkWindowEdge)asCEnum(s_edge, GDK_TYPE_WINDOW_EDGE)); gint button = ((gint)asCInteger(s_button)); gint root_x = ((gint)asCInteger(s_root_x)); gint root_y = ((gint)asCInteger(s_root_y)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gdk_window_begin_resize_drag(object, edge, button, root_x, root_y, timestamp); return(_result); } USER_OBJECT_ S_gdk_window_begin_move_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint button = ((gint)asCInteger(s_button)); gint root_x = ((gint)asCInteger(s_root_x)); gint root_y = ((gint)asCInteger(s_root_y)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gdk_window_begin_move_drag(object, button, root_x, root_y, timestamp); return(_result); } USER_OBJECT_ S_gdk_window_invalidate_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rect, USER_OBJECT_ s_invalidate_children) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRectangle* rect = GET_LENGTH(s_rect) == 0 ? NULL : asCGdkRectangle(s_rect); gboolean invalidate_children = ((gboolean)asCLogical(s_invalidate_children)); gdk_window_invalidate_rect(object, rect, invalidate_children); return(_result); } USER_OBJECT_ S_gdk_window_invalidate_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region, USER_OBJECT_ s_invalidate_children) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); gboolean invalidate_children = ((gboolean)asCLogical(s_invalidate_children)); gdk_window_invalidate_region(object, region, invalidate_children); return(_result); } USER_OBJECT_ S_gdk_window_get_update_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* ans; ans = gdk_window_get_update_area(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_window_freeze_updates(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_freeze_updates(object); return(_result); } USER_OBJECT_ S_gdk_window_thaw_updates(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_thaw_updates(object); return(_result); } USER_OBJECT_ S_gdk_window_process_all_updates(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_window_process_all_updates(); return(_result); } USER_OBJECT_ S_gdk_window_process_updates(USER_OBJECT_ s_object, USER_OBJECT_ s_update_children) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean update_children = ((gboolean)asCLogical(s_update_children)); gdk_window_process_updates(object, update_children); return(_result); } USER_OBJECT_ S_gdk_window_set_debug_updates(USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean setting = ((gboolean)asCLogical(s_setting)); gdk_window_set_debug_updates(setting); return(_result); } USER_OBJECT_ S_gdk_window_get_internal_paint_info(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkDrawable* real_drawable = NULL; gint x_offset; gint y_offset; gdk_window_get_internal_paint_info(object, &real_drawable, &x_offset, &y_offset); _result = retByVal(_result, "real.drawable", toRPointerWithRef(real_drawable, "GdkDrawable"), "x.offset", asRInteger(x_offset), "y.offset", asRInteger(y_offset), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gdk_get_default_root_window(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* ans; ans = gdk_get_default_root_window(); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gdk_window_set_accept_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_accept_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean accept_focus = ((gboolean)asCLogical(s_accept_focus)); gdk_window_set_accept_focus(object, accept_focus); return(_result); } USER_OBJECT_ S_gdk_window_set_focus_on_map(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_map) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean focus_on_map = ((gboolean)asCLogical(s_focus_on_map)); gdk_window_set_focus_on_map(object, focus_on_map); return(_result); } USER_OBJECT_ S_gdk_window_enable_synchronized_configure(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_enable_synchronized_configure(object); return(_result); } USER_OBJECT_ S_gdk_window_configure_finished(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_configure_finished(object); return(_result); } USER_OBJECT_ S_gtk_drag_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_success, USER_OBJECT_ s_del, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gboolean success = ((gboolean)asCLogical(s_success)); gboolean del = ((gboolean)asCLogical(s_del)); guint32 time = ((guint32)asCNumeric(s_time)); gtk_drag_finish(object, success, del, time); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_icon_name(object, icon_name, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GtkWidget* widget = ((GtkWidget*)getPtrValue(s_widget)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_icon_widget(object, widget, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_icon_pixmap(object, colormap, pixmap, mask, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_icon_pixbuf(object, pixbuf, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_icon_stock(object, stock_id, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_set_icon_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* object = GDK_DRAG_CONTEXT(getPtrValue(s_object)); gtk_drag_set_icon_default(object); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_colorspace(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkColorspace ans; ans = gdk_pixbuf_get_colorspace(object); _result = asREnum(ans, GDK_TYPE_COLORSPACE); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_n_channels(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_get_n_channels(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_has_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_get_has_alpha(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_bits_per_sample(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_get_bits_per_sample(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_get_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_height(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_get_height(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_rowstride(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_get_rowstride(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_new(USER_OBJECT_ s_colorspace, USER_OBJECT_ s_has_alpha, USER_OBJECT_ s_bits_per_sample, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColorspace colorspace = ((GdkColorspace)asCEnum(s_colorspace, GDK_TYPE_COLORSPACE)); gboolean has_alpha = ((gboolean)asCLogical(s_has_alpha)); int bits_per_sample = ((int)asCInteger(s_bits_per_sample)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkPixbuf* ans; ans = gdk_pixbuf_new(colorspace, has_alpha, bits_per_sample, width, height); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_pixbuf_copy(object); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* filename = ((const char*)asCString(s_filename)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_file(filename, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_file_at_size(USER_OBJECT_ s_filename, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* filename = ((const char*)asCString(s_filename)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_file_at_size(filename, width, height, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_file_at_scale(USER_OBJECT_ s_filename, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_preserve_aspect_ratio) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* filename = ((const char*)asCString(s_filename)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); gboolean preserve_aspect_ratio = ((gboolean)asCLogical(s_preserve_aspect_ratio)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_file_at_scale(filename, width, height, preserve_aspect_ratio, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_xpm_data(USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char** data = ((const char**)asCStringArray(s_data)); GdkPixbuf* ans; ans = gdk_pixbuf_new_from_xpm_data(data); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_inline(USER_OBJECT_ s_data, USER_OBJECT_ s_copy_pixels) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint data_length = ((gint)GET_LENGTH(s_data)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gboolean copy_pixels = ((gboolean)asCLogical(s_copy_pixels)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_inline(data_length, data, copy_pixels, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_subpixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int src_x = ((int)asCInteger(s_src_x)); int src_y = ((int)asCInteger(s_src_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkPixbuf* ans; ans = gdk_pixbuf_new_subpixbuf(object, src_x, src_y, width, height); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); guint32 pixel = ((guint32)asCNumeric(s_pixel)); gdk_pixbuf_fill(object, pixel); return(_result); } USER_OBJECT_ S_gdk_pixbuf_savev(USER_OBJECT_ s_object, USER_OBJECT_ s_filename, USER_OBJECT_ s_type, USER_OBJECT_ s_option_keys, USER_OBJECT_ s_option_values) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); const char* filename = ((const char*)asCString(s_filename)); const char* type = ((const char*)asCString(s_type)); char** option_keys = ((char**)asCStringArray(s_option_keys)); char** option_values = ((char**)asCStringArray(s_option_values)); gboolean ans; GError* error = NULL; ans = gdk_pixbuf_savev(object, filename, type, option_keys, option_values, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_save_to_callbackv(USER_OBJECT_ s_object, USER_OBJECT_ s_save_func, USER_OBJECT_ s_user_data, USER_OBJECT_ s_type, USER_OBJECT_ s_option_keys, USER_OBJECT_ s_option_values) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufSaveFunc save_func = ((GdkPixbufSaveFunc)S_GdkPixbufSaveFunc); R_CallbackData* user_data = R_createCBData(s_save_func, s_user_data); GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); const char* type = ((const char*)asCString(s_type)); char** option_keys = ((char**)asCStringArray(s_option_keys)); char** option_values = ((char**)asCStringArray(s_option_values)); GError* error = NULL; gdk_pixbuf_save_to_callbackv(object, save_func, user_data, type, option_keys, option_values, &error); _result = retByVal(_result, "error", asRGError(error), NULL); R_freeCBData(user_data); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_add_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_substitute_color, USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); gboolean substitute_color = ((gboolean)asCLogical(s_substitute_color)); guchar r = ((guchar)asCRaw(s_r)); guchar g = ((guchar)asCRaw(s_g)); guchar b = ((guchar)asCRaw(s_b)); GdkPixbuf* ans; ans = gdk_pixbuf_add_alpha(object, substitute_color, r, g, b); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_copy_area(USER_OBJECT_ s_object, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dest_pixbuf, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int src_x = ((int)asCInteger(s_src_x)); int src_y = ((int)asCInteger(s_src_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); GdkPixbuf* dest_pixbuf = GDK_PIXBUF(getPtrValue(s_dest_pixbuf)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); gdk_pixbuf_copy_area(object, src_x, src_y, width, height, dest_pixbuf, dest_x, dest_y); return(_result); } USER_OBJECT_ S_gdk_pixbuf_saturate_and_pixelate(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_saturation, USER_OBJECT_ s_pixelate) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* dest = GDK_PIXBUF(getPtrValue(s_dest)); gfloat saturation = ((gfloat)asCNumeric(s_saturation)); gboolean pixelate = ((gboolean)asCLogical(s_pixelate)); gdk_pixbuf_saturate_and_pixelate(object, dest, saturation, pixelate); return(_result); } USER_OBJECT_ S_gdk_pixbuf_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* dest = GDK_PIXBUF(getPtrValue(s_dest)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int dest_width = ((int)asCInteger(s_dest_width)); int dest_height = ((int)asCInteger(s_dest_height)); double offset_x = ((double)asCNumeric(s_offset_x)); double offset_y = ((double)asCNumeric(s_offset_y)); double scale_x = ((double)asCNumeric(s_scale_x)); double scale_y = ((double)asCNumeric(s_scale_y)); GdkInterpType interp_type = ((GdkInterpType)asCEnum(s_interp_type, GDK_TYPE_INTERP_TYPE)); gdk_pixbuf_scale(object, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type); return(_result); } USER_OBJECT_ S_gdk_pixbuf_composite(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* dest = GDK_PIXBUF(getPtrValue(s_dest)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int dest_width = ((int)asCInteger(s_dest_width)); int dest_height = ((int)asCInteger(s_dest_height)); double offset_x = ((double)asCNumeric(s_offset_x)); double offset_y = ((double)asCNumeric(s_offset_y)); double scale_x = ((double)asCNumeric(s_scale_x)); double scale_y = ((double)asCNumeric(s_scale_y)); GdkInterpType interp_type = ((GdkInterpType)asCEnum(s_interp_type, GDK_TYPE_INTERP_TYPE)); int overall_alpha = ((int)asCInteger(s_overall_alpha)); gdk_pixbuf_composite(object, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha); return(_result); } USER_OBJECT_ S_gdk_pixbuf_composite_color(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha, USER_OBJECT_ s_check_x, USER_OBJECT_ s_check_y, USER_OBJECT_ s_check_size, USER_OBJECT_ s_color1, USER_OBJECT_ s_color2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* dest = GDK_PIXBUF(getPtrValue(s_dest)); int dest_x = ((int)asCInteger(s_dest_x)); int dest_y = ((int)asCInteger(s_dest_y)); int dest_width = ((int)asCInteger(s_dest_width)); int dest_height = ((int)asCInteger(s_dest_height)); double offset_x = ((double)asCNumeric(s_offset_x)); double offset_y = ((double)asCNumeric(s_offset_y)); double scale_x = ((double)asCNumeric(s_scale_x)); double scale_y = ((double)asCNumeric(s_scale_y)); GdkInterpType interp_type = ((GdkInterpType)asCEnum(s_interp_type, GDK_TYPE_INTERP_TYPE)); int overall_alpha = ((int)asCInteger(s_overall_alpha)); int check_x = ((int)asCInteger(s_check_x)); int check_y = ((int)asCInteger(s_check_y)); int check_size = ((int)asCInteger(s_check_size)); guint32 color1 = ((guint32)asCNumeric(s_color1)); guint32 color2 = ((guint32)asCNumeric(s_color2)); gdk_pixbuf_composite_color(object, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha, check_x, check_y, check_size, color1, color2); return(_result); } USER_OBJECT_ S_gdk_pixbuf_rotate_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_angle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbufRotation angle = ((GdkPixbufRotation)asCEnum(s_angle, GDK_TYPE_PIXBUF_ROTATION)); GdkPixbuf* ans; ans = gdk_pixbuf_rotate_simple(object, angle); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_flip(USER_OBJECT_ s_object, USER_OBJECT_ s_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); gboolean horizontal = ((gboolean)asCLogical(s_horizontal)); GdkPixbuf* ans; ans = gdk_pixbuf_flip(object, horizontal); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_scale_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_interp_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int dest_width = ((int)asCInteger(s_dest_width)); int dest_height = ((int)asCInteger(s_dest_height)); GdkInterpType interp_type = ((GdkInterpType)asCEnum(s_interp_type, GDK_TYPE_INTERP_TYPE)); GdkPixbuf* ans; ans = gdk_pixbuf_scale_simple(object, dest_width, dest_height, interp_type); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_composite_color_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha, USER_OBJECT_ s_check_size, USER_OBJECT_ s_color1, USER_OBJECT_ s_color2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int dest_width = ((int)asCInteger(s_dest_width)); int dest_height = ((int)asCInteger(s_dest_height)); GdkInterpType interp_type = ((GdkInterpType)asCEnum(s_interp_type, GDK_TYPE_INTERP_TYPE)); int overall_alpha = ((int)asCInteger(s_overall_alpha)); int check_size = ((int)asCInteger(s_check_size)); guint32 color1 = ((guint32)asCNumeric(s_color1)); guint32 color2 = ((guint32)asCNumeric(s_color2)); GdkPixbuf* ans; ans = gdk_pixbuf_composite_color_simple(object, dest_width, dest_height, interp_type, overall_alpha, check_size, color1, color2); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_pixbuf_animation_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_new_from_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* filename = ((const char*)asCString(s_filename)); GdkPixbufAnimation* ans; GError* error = NULL; ans = gdk_pixbuf_animation_new_from_file(filename, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbufAnimation", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_animation_get_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_get_height(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_animation_get_height(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_is_static_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_animation_is_static_image(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_get_static_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_pixbuf_animation_get_static_image(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_get_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_start_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* object = GDK_PIXBUF_ANIMATION(getPtrValue(s_object)); const GTimeVal* start_time = asCGTimeVal(s_start_time); GdkPixbufAnimationIter* ans; ans = gdk_pixbuf_animation_get_iter(object, start_time); _result = toRPointerWithRef(ans, "GdkPixbufAnimationIter"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_pixbuf_animation_iter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_delay_time(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); int ans; ans = gdk_pixbuf_animation_iter_get_delay_time(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_pixbuf_animation_iter_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_on_currently_loading_frame(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_animation_iter_on_currently_loading_frame(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_animation_iter_advance(USER_OBJECT_ s_object, USER_OBJECT_ s_current_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimationIter* object = GDK_PIXBUF_ANIMATION_ITER(getPtrValue(s_object)); const GTimeVal* current_time = asCGTimeVal(s_current_time); gboolean ans; ans = gdk_pixbuf_animation_iter_advance(object, current_time); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_simple_anim_new(USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_rate) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gfloat rate = ((gfloat)asCNumeric(s_rate)); GdkPixbufSimpleAnim* ans; ans = gdk_pixbuf_simple_anim_new(width, height, rate); _result = toRPointerWithFinalizer(ans, "GdkPixbufSimpleAnim", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_simple_anim_add_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufSimpleAnim* object = GDK_PIXBUF_SIMPLE_ANIM(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gdk_pixbuf_simple_anim_add_frame(object, pixbuf); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_option(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); const char* key = ((const char*)asCString(s_key)); const char* ans; ans = gdk_pixbuf_get_option(object, key); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_set_option(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); const char* key = ((const char*)asCString(s_key)); const char* value = ((const char*)asCString(s_value)); gboolean ans; ans = gdk_pixbuf_set_option(object, key, value); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_formats(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* ans; ans = gdk_pixbuf_get_formats(); _result = asRGSList(ans, "GdkPixbufFormat"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_file_info(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filename = ((const gchar*)asCString(s_filename)); GdkPixbufFormat* ans; gint width; gint height; ans = gdk_pixbuf_get_file_info(filename, &width, &height); _result = toRPointer(ans, "GdkPixbufFormat"); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gchar* ans; ans = gdk_pixbuf_format_get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_is_scalable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_format_is_scalable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_is_disabled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_format_is_disabled(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_set_disabled(USER_OBJECT_ s_object, USER_OBJECT_ s_disabled) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gboolean disabled = ((gboolean)asCLogical(s_disabled)); gdk_pixbuf_format_set_disabled(object, disabled); return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_get_license(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gchar* ans; ans = gdk_pixbuf_format_get_license(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_get_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gchar* ans; ans = gdk_pixbuf_format_get_description(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_get_mime_types(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gchar** ans; ans = gdk_pixbuf_format_get_mime_types(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_get_extensions(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gchar** ans; ans = gdk_pixbuf_format_get_extensions(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_format_is_writable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufFormat* object = ((GdkPixbufFormat*)getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_format_is_writable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gdk_pixbuf_loader_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* ans; ans = gdk_pixbuf_loader_new(); _result = toRPointerWithFinalizer(ans, "GdkPixbufLoader", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_new_with_type(USER_OBJECT_ s_image_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* image_type = ((const char*)asCString(s_image_type)); GdkPixbufLoader* ans; GError* error = NULL; ans = gdk_pixbuf_loader_new_with_type(image_type, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbufLoader", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_new_with_mime_type(USER_OBJECT_ s_mime_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* mime_type = ((const char*)asCString(s_mime_type)); GdkPixbufLoader* ans; GError* error = NULL; ans = gdk_pixbuf_loader_new_with_mime_type(mime_type, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbufLoader", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_write(USER_OBJECT_ s_object, USER_OBJECT_ s_buf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); const guchar* buf = ((const guchar*)asCArray(s_buf, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buf)); gboolean ans; GError* error = NULL; ans = gdk_pixbuf_loader_write(object, buf, count, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_pixbuf_loader_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_get_animation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); GdkPixbufAnimation* ans; ans = gdk_pixbuf_loader_get_animation(object); _result = toRPointerWithRef(ans, "GdkPixbufAnimation"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_close(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = gdk_pixbuf_loader_close(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); gdk_pixbuf_loader_set_size(object, width, height); return(_result); } USER_OBJECT_ S_gdk_pixbuf_loader_get_format(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufLoader* object = GDK_PIXBUF_LOADER(getPtrValue(s_object)); GdkPixbufFormat* ans; ans = gdk_pixbuf_loader_get_format(object); _result = toRPointer(ans, "GdkPixbufFormat"); return(_result); } USER_OBJECT_ S_gdk_rectangle_intersect(USER_OBJECT_ s_src1, USER_OBJECT_ s_src2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRectangle* src1 = asCGdkRectangle(s_src1); GdkRectangle* src2 = asCGdkRectangle(s_src2); gboolean ans; GdkRectangle* dest = ((GdkRectangle *)g_new0(GdkRectangle, 1)); ans = gdk_rectangle_intersect(src1, src2, dest); _result = asRLogical(ans); _result = retByVal(_result, "dest", asRGdkRectangle(dest), NULL); CLEANUP(g_free, dest);; return(_result); } USER_OBJECT_ S_gdk_rectangle_union(USER_OBJECT_ s_src1, USER_OBJECT_ s_src2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRectangle* src1 = asCGdkRectangle(s_src1); GdkRectangle* src2 = asCGdkRectangle(s_src2); GdkRectangle* dest = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gdk_rectangle_union(src1, src2, dest); _result = retByVal(_result, "dest", asRGdkRectangle(dest), NULL); CLEANUP(g_free, dest);; return(_result); } USER_OBJECT_ S_gdk_region_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* ans; ans = gdk_region_new(); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_region_polygon(USER_OBJECT_ s_points, USER_OBJECT_ s_fill_rule) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); GdkFillRule fill_rule = ((GdkFillRule)asCEnum(s_fill_rule, GDK_TYPE_FILL_RULE)); GdkRegion* ans; ans = gdk_region_polygon(points, npoints, fill_rule); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_region_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* ans; ans = gdk_region_copy(object); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_region_rectangle(USER_OBJECT_ s_rectangle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRectangle* rectangle = asCGdkRectangle(s_rectangle); GdkRegion* ans; ans = gdk_region_rectangle(rectangle); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gdk_region_get_clipbox(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRectangle* rectangle = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gdk_region_get_clipbox(object, rectangle); _result = retByVal(_result, "rectangle", asRGdkRectangle(rectangle), NULL); CLEANUP(g_free, rectangle);; return(_result); } USER_OBJECT_ S_gdk_region_get_rectangles(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRectangle* rectangles = NULL; gint n_rectangles; gdk_region_get_rectangles(object, &rectangles, &n_rectangles); _result = retByVal(_result, "rectangles", asRArrayRefWithSize(rectangles, asRGdkRectangle, n_rectangles), "n.rectangles", asRInteger(n_rectangles), NULL); CLEANUP(g_free, rectangles);; ; return(_result); } USER_OBJECT_ S_gdk_region_empty(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); gboolean ans; ans = gdk_region_empty(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_region_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_region2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* region2 = ((GdkRegion*)getPtrValue(s_region2)); gboolean ans; ans = gdk_region_equal(object, region2); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_region_point_in(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); gboolean ans; ans = gdk_region_point_in(object, x, y); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gdk_region_rect_in(USER_OBJECT_ s_object, USER_OBJECT_ s_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRectangle* rect = asCGdkRectangle(s_rect); GdkOverlapType ans; ans = gdk_region_rect_in(object, rect); _result = asREnum(ans, GDK_TYPE_OVERLAP_TYPE); return(_result); } USER_OBJECT_ S_gdk_region_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); gint dx = ((gint)asCInteger(s_dx)); gint dy = ((gint)asCInteger(s_dy)); gdk_region_offset(object, dx, dy); return(_result); } USER_OBJECT_ S_gdk_region_shrink(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); gint dx = ((gint)asCInteger(s_dx)); gint dy = ((gint)asCInteger(s_dy)); gdk_region_shrink(object, dx, dy); return(_result); } USER_OBJECT_ S_gdk_region_union_with_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRectangle* rect = asCGdkRectangle(s_rect); gdk_region_union_with_rect(object, rect); return(_result); } USER_OBJECT_ S_gdk_region_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_source2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* source2 = ((GdkRegion*)getPtrValue(s_source2)); gdk_region_intersect(object, source2); return(_result); } USER_OBJECT_ S_gdk_region_union(USER_OBJECT_ s_object, USER_OBJECT_ s_source2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* source2 = ((GdkRegion*)getPtrValue(s_source2)); gdk_region_union(object, source2); return(_result); } USER_OBJECT_ S_gdk_region_subtract(USER_OBJECT_ s_object, USER_OBJECT_ s_source2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* source2 = ((GdkRegion*)getPtrValue(s_source2)); gdk_region_subtract(object, source2); return(_result); } USER_OBJECT_ S_gdk_region_xor(USER_OBJECT_ s_object, USER_OBJECT_ s_source2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkRegion* source2 = ((GdkRegion*)getPtrValue(s_source2)); gdk_region_xor(object, source2); return(_result); } USER_OBJECT_ S_gdk_region_spans_intersect_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_spans, USER_OBJECT_ s_sorted, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkSpanFunc function = ((GdkSpanFunc)S_GdkSpanFunc); R_CallbackData* data = R_createCBData(s_function, s_data); GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); GdkSpan* spans = ((GdkSpan*)asCArrayRef(s_spans, GdkSpan, asCGdkSpan)); int n_spans = ((int)GET_LENGTH(s_spans)); gboolean sorted = ((gboolean)asCLogical(s_sorted)); gdk_region_spans_intersect_foreach(object, spans, n_spans, sorted, function, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gdk_cairo_set_source_pixmap(USER_OBJECT_ s_cr, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_pixmap_x, USER_OBJECT_ s_pixmap_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); double pixmap_x = ((double)asCNumeric(s_pixmap_x)); double pixmap_y = ((double)asCNumeric(s_pixmap_y)); gdk_cairo_set_source_pixmap(cr, pixmap, pixmap_x, pixmap_y); #else error("gdk_cairo_set_source_pixmap exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_display_supports_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_shapes(object); _result = asRLogical(ans); #else error("gdk_display_supports_shapes exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_display_supports_input_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_input_shapes(object); _result = asRLogical(ans); #else error("gdk_display_supports_input_shapes exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixmap_foreign_new_for_screen(USER_OBJECT_ s_screen, USER_OBJECT_ s_anid, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_depth) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); GdkNativeWindow anid = asCGdkNativeWindow(s_anid); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gint depth = ((gint)asCInteger(s_depth)); GdkPixmap* ans; ans = gdk_pixmap_foreign_new_for_screen(screen, anid, width, height, depth); _result = toRPointerWithRef(ans, "GdkPixmap"); #else error("gdk_pixmap_foreign_new_for_screen exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_atom_intern_static_string(USER_OBJECT_ s_atom_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) const gchar* atom_name = ((const gchar*)asCString(s_atom_name)); GdkAtom ans; ans = gdk_atom_intern_static_string(atom_name); _result = asRGdkAtom(ans); #else error("gdk_atom_intern_static_string exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_is_composited(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gboolean ans; ans = gdk_screen_is_composited(object); _result = asRLogical(ans); #else error("gdk_screen_is_composited exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_set_font_options(USER_OBJECT_ s_object, USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); gdk_screen_set_font_options(object, options); #else error("gdk_screen_set_font_options exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_font_options(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); const cairo_font_options_t* ans; ans = gdk_screen_get_font_options(object); _result = toRPointer(ans, "CairoFontOptions"); #else error("gdk_screen_get_font_options exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_dpi) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gdouble dpi = ((gdouble)asCNumeric(s_dpi)); gdk_screen_set_resolution(object, dpi); #else error("gdk_screen_set_resolution exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_resolution(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gdouble ans; ans = gdk_screen_get_resolution(object); _result = asRNumeric(ans); #else error("gdk_screen_get_resolution exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_active_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GdkWindow* ans; ans = gdk_screen_get_active_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gdk_screen_get_active_window exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_window_stack(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); GList* ans; ans = gdk_screen_get_window_stack(object); _result = asRGListWithRef(ans, "GdkWindow"); #else error("gdk_screen_get_window_stack exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_input_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gdk_window_input_shape_combine_mask(object, mask, x, y); #else error("gdk_window_input_shape_combine_mask exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_input_shape_combine_region(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_region, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkRegion* shape_region = ((GdkRegion*)getPtrValue(s_shape_region)); gint offset_x = ((gint)asCInteger(s_offset_x)); gint offset_y = ((gint)asCInteger(s_offset_y)); gdk_window_input_shape_combine_region(object, shape_region, offset_x, offset_y); #else error("gdk_window_input_shape_combine_region exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_set_child_input_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_set_child_input_shapes(object); #else error("gdk_window_set_child_input_shapes exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_merge_child_input_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_merge_child_input_shapes(object); #else error("gdk_window_merge_child_input_shapes exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_get_type_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 10, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindowTypeHint ans; ans = gdk_window_get_type_hint(object); _result = asREnum(ans, GDK_TYPE_WINDOW_TYPE_HINT); #else error("gdk_window_get_type_hint exists only in Gdk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gdk_color_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkColor* object = asCGdkColor(s_object); gchar* ans; ans = gdk_color_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gdk_color_to_string exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_display_supports_composite(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkDisplay* object = GDK_DISPLAY_OBJECT(getPtrValue(s_object)); gboolean ans; ans = gdk_display_supports_composite(object); _result = asRLogical(ans); #else error("gdk_display_supports_composite exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_event_request_motions(USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkEventMotion* event = ((GdkEventMotion*)getPtrValue(s_event)); gdk_event_request_motions(event); #else error("gdk_event_request_motions exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_keymap_have_bidi_layouts(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); gboolean ans; ans = gdk_keymap_have_bidi_layouts(object); _result = asRLogical(ans); #else error("gdk_keymap_have_bidi_layouts exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pango_attr_emboss_color_new(USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) const GdkColor* color = asCGdkColor(s_color); PangoAttribute* ans; ans = gdk_pango_attr_emboss_color_new(color); _result = asRPangoAttribute(ans); #else error("gdk_pango_attr_emboss_color_new exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_set_composited(USER_OBJECT_ s_object, USER_OBJECT_ s_composited) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean composited = ((gboolean)asCLogical(s_composited)); gdk_window_set_composited(object, composited); #else error("gdk_window_set_composited exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_set_startup_id(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); const gchar* startup_id = ((const gchar*)asCString(s_startup_id)); gdk_window_set_startup_id(object, startup_id); #else error("gdk_window_set_startup_id exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_beep(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_beep(object); #else error("gdk_window_beep exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_set_opacity(USER_OBJECT_ s_object, USER_OBJECT_ s_opacity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdouble opacity = ((gdouble)asCNumeric(s_opacity)); gdk_window_set_opacity(object, opacity); #else error("gdk_window_set_opacity exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_notify_startup_complete_with_id(USER_OBJECT_ s_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) const gchar* id = ((const gchar*)asCString(s_id)); gdk_notify_startup_complete_with_id(id); #else error("gdk_notify_startup_complete_with_id exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_apply_embedded_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 12, 0) GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkPixbuf* ans; ans = gdk_pixbuf_apply_embedded_orientation(object); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); #else error("gdk_pixbuf_apply_embedded_orientation exists only in Gdk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GType ans; ans = gdk_app_launch_context_get_type(); _result = asRGType(ans); #else error("gdk_app_launch_context_get_type exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* ans; ans = gdk_app_launch_context_new(); _result = toRPointerWithFinalizer(ans, "GdkAppLaunchContext", (RPointerFinalizer) g_object_unref); #else error("gdk_app_launch_context_new exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); gdk_app_launch_context_set_display(object, display); #else error("gdk_app_launch_context_set_display exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gdk_app_launch_context_set_screen(object, screen); #else error("gdk_app_launch_context_set_screen exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_desktop(USER_OBJECT_ s_object, USER_OBJECT_ s_desktop) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); gint desktop = ((gint)asCInteger(s_desktop)); gdk_app_launch_context_set_desktop(object, desktop); #else error("gdk_app_launch_context_set_desktop exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_timestamp(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gdk_app_launch_context_set_timestamp(object, timestamp); #else error("gdk_app_launch_context_set_timestamp exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GIcon* icon = GET_LENGTH(s_icon) == 0 ? NULL : G_ICON(getPtrValue(s_icon)); gdk_app_launch_context_set_icon(object, icon); #else error("gdk_app_launch_context_set_icon exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_app_launch_context_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkAppLaunchContext* object = GDK_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); const char* icon_name = GET_LENGTH(s_icon_name) == 0 ? NULL : ((const char*)asCString(s_icon_name)); gdk_app_launch_context_set_icon_name(object, icon_name); #else error("gdk_app_launch_context_set_icon_name exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_width_mm(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint monitor_num = ((gint)asCInteger(s_monitor_num)); gint ans; ans = gdk_screen_get_monitor_width_mm(object, monitor_num); _result = asRInteger(ans); #else error("gdk_screen_get_monitor_width_mm exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_height_mm(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint monitor_num = ((gint)asCInteger(s_monitor_num)); gint ans; ans = gdk_screen_get_monitor_height_mm(object, monitor_num); _result = asRInteger(ans); #else error("gdk_screen_get_monitor_height_mm exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_monitor_plug_name(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint monitor_num = ((gint)asCInteger(s_monitor_num)); gchar* ans; ans = gdk_screen_get_monitor_plug_name(object, monitor_num); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gdk_screen_get_monitor_plug_name exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_redirect_to_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); gint src_x = ((gint)asCInteger(s_src_x)); gint src_y = ((gint)asCInteger(s_src_y)); gint dest_x = ((gint)asCInteger(s_dest_x)); gint dest_y = ((gint)asCInteger(s_dest_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gdk_window_redirect_to_drawable(object, drawable, src_x, src_y, dest_x, dest_y, width, height); #else error("gdk_window_redirect_to_drawable exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_remove_redirection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_remove_redirection(object); #else error("gdk_window_remove_redirection exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_stream(USER_OBJECT_ s_stream, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GInputStream* stream = G_INPUT_STREAM(getPtrValue(s_stream)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_stream(stream, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdk_pixbuf_new_from_stream exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_new_from_stream_at_scale(USER_OBJECT_ s_stream, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_preserve_aspect_ratio, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GInputStream* stream = G_INPUT_STREAM(getPtrValue(s_stream)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gboolean preserve_aspect_ratio = ((gboolean)asCLogical(s_preserve_aspect_ratio)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GdkPixbuf* ans; GError* error = NULL; ans = gdk_pixbuf_new_from_stream_at_scale(stream, width, height, preserve_aspect_ratio, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdk_pixbuf_new_from_stream_at_scale exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_test_render_sync(USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gdk_test_render_sync(window); #else error("gdk_test_render_sync exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_test_simulate_key(USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers, USER_OBJECT_ s_key_pressrelease) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); GdkEventType key_pressrelease = ((GdkEventType)asCEnum(s_key_pressrelease, GDK_TYPE_EVENT_TYPE)); gboolean ans; ans = gdk_test_simulate_key(window, x, y, keyval, modifiers, key_pressrelease); _result = asRLogical(ans); #else error("gdk_test_simulate_key exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_test_simulate_button(USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_button, USER_OBJECT_ s_modifiers, USER_OBJECT_ s_button_pressrelease) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint button = ((guint)asCNumeric(s_button)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); GdkEventType button_pressrelease = ((GdkEventType)asCEnum(s_button_pressrelease, GDK_TYPE_EVENT_TYPE)); gboolean ans; ans = gdk_test_simulate_button(window, x, y, button, modifiers, button_pressrelease); _result = asRLogical(ans); #else error("gdk_test_simulate_button exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_save_to_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_stream, USER_OBJECT_ s_type, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 14, 0) GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GOutputStream* stream = G_OUTPUT_STREAM(getPtrValue(s_stream)); const char* type = ((const char*)asCString(s_type)); GCancellable* cancellable = G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = gdk_pixbuf_save_to_stream(object, stream, type, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gdk_pixbuf_save_to_stream exists only in Gdk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gdk_keymap_get_caps_lock_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 16, 0) GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); gboolean ans; ans = gdk_keymap_get_caps_lock_state(object); _result = asRLogical(ans); #else error("gdk_keymap_get_caps_lock_state exists only in Gdk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gdk_cairo_reset_clip(USER_OBJECT_ s_cr, USER_OBJECT_ s_drawable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); gdk_cairo_reset_clip(cr, drawable); #else error("gdk_cairo_reset_clip exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_offscreen_window_get_pixmap(USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GdkPixmap* ans; ans = gdk_offscreen_window_get_pixmap(window); _result = toRPointerWithRef(ans, "GdkPixmap"); #else error("gdk_offscreen_window_get_pixmap exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_offscreen_window_set_embedder(USER_OBJECT_ s_window, USER_OBJECT_ s_embedder) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GdkWindow* embedder = GDK_WINDOW(getPtrValue(s_embedder)); gdk_offscreen_window_set_embedder(window, embedder); #else error("gdk_offscreen_window_set_embedder exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_offscreen_window_get_embedder(USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GdkWindow* ans; ans = gdk_offscreen_window_get_embedder(window); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gdk_offscreen_window_get_embedder exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_region_rect_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkRegion* object = ((GdkRegion*)getPtrValue(s_object)); const GdkRectangle* rectangle = asCGdkRectangle(s_rectangle); gboolean ans; ans = gdk_region_rect_equal(object, rectangle); _result = asRLogical(ans); #else error("gdk_region_rect_equal exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_ensure_native(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gdk_window_ensure_native(object); _result = asRLogical(ans); #else error("gdk_window_ensure_native exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_flush(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_flush(object); #else error("gdk_window_flush exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_geometry_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gdk_window_geometry_changed(object); #else error("gdk_window_geometry_changed exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_get_cursor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkCursor* ans; ans = gdk_window_get_cursor(object); _result = toRPointerWithFinalizer(ans ? gdk_cursor_ref(ans) : NULL, "GdkCursor", (RPointerFinalizer) gdk_cursor_unref); #else error("gdk_window_get_cursor exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_restack(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling, USER_OBJECT_ s_above) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); GdkWindow* sibling = GDK_WINDOW(getPtrValue(s_sibling)); gboolean above = ((gboolean)asCLogical(s_above)); gdk_window_restack(object, sibling, above); #else error("gdk_window_restack exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_is_destroyed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gdk_window_is_destroyed(object); _result = asRLogical(ans); #else error("gdk_window_is_destroyed exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_window_get_root_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint root_x; gint root_y; gdk_window_get_root_coords(object, x, y, &root_x, &root_y); _result = retByVal(_result, "root.x", asRInteger(root_x), "root.y", asRInteger(root_y), NULL); ; ; #else error("gdk_window_get_root_coords exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_simple_anim_set_loop(USER_OBJECT_ s_object, USER_OBJECT_ s_loop) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkPixbufSimpleAnim* object = GDK_PIXBUF_SIMPLE_ANIM(getPtrValue(s_object)); gboolean loop = ((gboolean)asCLogical(s_loop)); gdk_pixbuf_simple_anim_set_loop(object, loop); #else error("gdk_pixbuf_simple_anim_set_loop exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_pixbuf_simple_anim_get_loop(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 18, 0) GdkPixbufSimpleAnim* object = GDK_PIXBUF_SIMPLE_ANIM(getPtrValue(s_object)); gboolean ans; ans = gdk_pixbuf_simple_anim_get_loop(object); _result = asRLogical(ans); #else error("gdk_pixbuf_simple_anim_get_loop exists only in Gdk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gdk_keymap_add_virtual_modifiers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 20, 0) GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); GdkModifierType state; gdk_keymap_add_virtual_modifiers(object, &state); _result = retByVal(_result, "state", asRFlag(state, GDK_TYPE_MODIFIER_TYPE), NULL); ; #else error("gdk_keymap_add_virtual_modifiers exists only in Gdk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gdk_keymap_map_virtual_modifiers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 20, 0) GdkKeymap* object = GDK_KEYMAP(getPtrValue(s_object)); gboolean ans; GdkModifierType state; ans = gdk_keymap_map_virtual_modifiers(object, &state); _result = asRLogical(ans); _result = retByVal(_result, "state", asRFlag(state, GDK_TYPE_MODIFIER_TYPE), NULL); ; #else error("gdk_keymap_map_virtual_modifiers exists only in Gdk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gdk_screen_get_primary_monitor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GDK_CHECK_VERSION(2, 20, 0) GdkScreen* object = GDK_SCREEN(getPtrValue(s_object)); gint ans; ans = gdk_screen_get_primary_monitor(object); _result = asRInteger(ans); #else error("gdk_screen_get_primary_monitor exists only in Gdk >= 2.20.0"); #endif return(_result); } RGtk2/src/utils.c0000644000176000001440000001374312362467242013346 0ustar ripleyusers#include "RGtk2/gobject.h" void RGtkDebug() { GLogLevelFlags fatal_mask; fatal_mask = g_log_set_always_fatal (G_LOG_FATAL_MASK); fatal_mask |= G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL; g_log_set_always_fatal (fatal_mask); } /* Not used void Rgtk_bitAnd(Sint *val, Sint *els, Sint *len, Sint *ans) { int i; for(i = 0; i < *len; i++) { ans[i] = ((unsigned int) els[i]) & ((unsigned int) val[0]); } } */ /* Allows returning values received by reference as a list. The actual return value from the bound function is the first element and is named "retval". The others are named according to the argument names. */ USER_OBJECT_ retByVal(USER_OBJECT_ retval, ...) { va_list va; int n = 0, i; USER_OBJECT_ list, names; va_start(va, retval); while(va_arg(va, void *)) n++; n = n / 2 + 1; va_end(va); PROTECT(list = NEW_LIST(n)); PROTECT(names = NEW_CHARACTER(n)); SET_VECTOR_ELT(list, 0, retval); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING("retval")); va_start(va, retval); for (i = 1; i < n; i++) { SET_STRING_ELT(names, i, COPY_TO_USER_STRING(va_arg(va, char *))); SET_VECTOR_ELT(list, i, va_arg(va, USER_OBJECT_)); } va_end(va); SET_NAMES(list, names); UNPROTECT(2); return list; } /** The idea is that the `val' argument is either an integer or a string. If it is an integer, we check that it is a value in the array cValues[] array. If it is a string, we look through the two arrays of names (the real names from the header files and the local names/aliases from the .defs files from which the enumerations are built.) If the value is matched, the associated integer is returned. */ /* not used USER_OBJECT_ S_checkEnum(USER_OBJECT_ val, const char *const localNames[], const char *const realNames[], const int cValues[], int len, const char *const enumName) { int i = 0; USER_OBJECT_ names, ans = NULL_USER_OBJECT; if(IS_INTEGER(val) || IS_NUMERIC(val)) { int cval; if(IS_INTEGER(val)) cval = INTEGER_DATA(val)[0]; else cval = NUMERIC_DATA(val)[0]; for(i = 0; i < len ; i++) { if(cValues[i] == cval) { ans = val; break; } } if(i == len) { PROBLEM "Invalid enum value: %d", INTEGER_DATA(val)[0] ERROR; } } else if(IS_CHARACTER(val)) { char *tmp = CHAR_DEREF(STRING_ELT(val, 0)); for(i = 0; i < len; i++) { if(strcmp(tmp, localNames[i]) == 0 || strcmp(tmp, realNames[i]) == 0) { PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = cValues[i]; break; } } if(i == len) { PROBLEM "Invalid enum name: %s", tmp ERROR; } } else { PROBLEM "Invalid argument type (%d) passed to S_checkEnum.", TYPEOF(val) ERROR; } PROTECT(names = NEW_CHARACTER(1)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(realNames[i])); SET_NAMES(ans, names); PROTECT(names = NEW_CHARACTER(2)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(enumName)); SET_STRING_ELT(names, 1, COPY_TO_USER_STRING("enum")); SET_CLASS(ans, names); UNPROTECT(ans == val ? 2 : 3); return(ans); } */ /** val can be an integer or a character vector. If it is a character vector, we build up the actual value by OR'ing the values in cValues[] by matching the elements in the vector with the elements in localNames or realNames. */ /* not used USER_OBJECT_ S_checkFlag(USER_OBJECT_ val, const char *const localNames[], const char *const realNames[], const int cValues[], int len, const char *const flagName) { int i, j, n; USER_OBJECT_ ans, names; int numProtects = 0; n = GET_LENGTH(val); if(IS_INTEGER(val)) { for(i = 0; i < n ; i++) { for(j = 0; j < len; j++) { if(!(cValues[j] | INTEGER_DATA(val)[i])) PROBLEM "incorrect flag value: %d", INTEGER_DATA(val)[0] ERROR; } } ans = val; } else { int value = 0; for(i = 0; i < n; i++) { char *tmp = CHAR_DEREF(STRING_ELT(val, i)); for(j = 0; j < len; j++) if(strcmp(tmp, localNames[j]) == 0 || strcmp(tmp, realNames[j]) == 0) { value = value | cValues[j]; break; } if(j == len) { PROBLEM "Invalid flag name: %s", tmp ERROR; } } PROTECT(ans = NEW_INTEGER(1)); numProtects = 1; INTEGER_DATA(ans)[0] = value; } PROTECT(names = NEW_CHARACTER(2)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING(flagName)); SET_STRING_ELT(names, 1, COPY_TO_USER_STRING("flag")); SET_CLASS(ans, names); UNPROTECT(numProtects + 1); return(ans); } */ /* Generic callback stuff */ void R_freeCBData(R_CallbackData *cbdata) { R_ReleaseObject(cbdata->function); if(cbdata->useData && cbdata->data != NULL) { R_ReleaseObject(cbdata->data); } g_free(cbdata); } USER_OBJECT_ getNumericType(USER_OBJECT_ s) { /* Get the numeric type code for an R object */ /*return asRNumeric(TYPEOF(s));*/ /* Instead, get the numeric type for an R type name */ return asRNumeric(str2type(asCString(s))); } /* Provide bindtextdomain() for the libintl linked to RGtk2. Windows-specific fix. Code taken directly from R, errors.c. */ #include /* bindtextdomain(domain, dirname) */ SEXP RGtk2_bindtextdomain(SEXP args) { char *res; if(!isString(CAR(args)) || LENGTH(CAR(args)) != 1) error("invalid 'domain' value"); if(isNull(CADR(args))) { res = bindtextdomain(translateChar(STRING_ELT(CAR(args),0)), NULL); } else { if(!isString(CADR(args)) || LENGTH(CADR(args)) != 1) error("invalid 'dirname' value"); res = bindtextdomain(translateChar(STRING_ELT(CAR(args),0)), translateChar(STRING_ELT(CADR(args),0))); } if(res) return mkString(res); /* else this failed */ return R_NilValue; } RGtk2/src/pangoClasses.c0000644000176000001440000012217612362467242014631 0ustar ripleyusers#include "RGtk2/pangoClasses.h" static SEXP S_PangoFont_symbol; static PangoFontDescription* S_virtual_pango_font_describe(PangoFont* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFont_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFont"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontDescription*)0)); return(((PangoFontDescription*)pango_font_description_copy(getPtrValue(s_ans)))); } static PangoCoverage* S_virtual_pango_font_get_coverage(PangoFont* s_object, PangoLanguage* s_lang) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFont_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFont"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_lang ? (s_lang) : NULL, "PangoLanguage")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoCoverage*)0)); return(((PangoCoverage*)pango_coverage_ref(getPtrValue(s_ans)))); } static void S_virtual_pango_font_get_glyph_extents(PangoFont* s_object, PangoGlyph s_glyph, PangoRectangle* s_ink_rect, PangoRectangle* s_logical_rect) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFont_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFont"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_glyph)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { PangoRectangle* ink_rect = asCPangoRectangle(VECTOR_ELT(s_ans, 0)); *s_ink_rect = *ink_rect; g_free(ink_rect); } { PangoRectangle* logical_rect = asCPangoRectangle(VECTOR_ELT(s_ans, 1)); *s_logical_rect = *logical_rect; g_free(logical_rect); } } static PangoFontMetrics* S_virtual_pango_font_get_metrics(PangoFont* s_object, PangoLanguage* s_language) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFont_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFont"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_language ? (s_language) : NULL, "PangoLanguage")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontMetrics*)0)); return(((PangoFontMetrics*)pango_font_metrics_ref(getPtrValue(s_ans)))); } static PangoFontMap* S_virtual_pango_font_get_font_map(PangoFont* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFont_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFont"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontMap*)0)); return(PANGO_FONT_MAP(getPtrValue(s_ans))); } void S_pango_font_class_init(PangoFontClass * c, SEXP e) { SEXP s; S_PangoFont_symbol = install("PangoFont"); s = findVar(S_PangoFont_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoFontClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->describe = S_virtual_pango_font_describe; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_coverage = S_virtual_pango_font_get_coverage; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_glyph_extents = S_virtual_pango_font_get_glyph_extents; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_metrics = S_virtual_pango_font_get_metrics; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_font_map = S_virtual_pango_font_get_font_map; } USER_OBJECT_ S_pango_font_class_describe(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontClass* object_class = ((PangoFontClass*)getPtrValue(s_object_class)); PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoFontDescription* ans; ans = object_class->describe(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_class_get_coverage(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_lang) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontClass* object_class = ((PangoFontClass*)getPtrValue(s_object_class)); PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoLanguage* lang = ((PangoLanguage*)getPtrValue(s_lang)); PangoCoverage* ans; ans = object_class->get_coverage(object, lang); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_font_class_get_glyph_extents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_glyph) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontClass* object_class = ((PangoFontClass*)getPtrValue(s_object_class)); PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoGlyph glyph = ((PangoGlyph)asCNumeric(s_glyph)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); object_class->get_glyph_extents(object, glyph, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_font_class_get_metrics(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontClass* object_class = ((PangoFontClass*)getPtrValue(s_object_class)); PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoFontMetrics* ans; ans = object_class->get_metrics(object, language); _result = toRPointerWithFinalizer(ans, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_font_class_get_font_map(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontClass* object_class = ((PangoFontClass*)getPtrValue(s_object_class)); PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoFontMap* ans; ans = object_class->get_font_map(object); _result = toRPointerWithRef(ans, "PangoFontMap"); return(_result); } static SEXP S_PangoFontFace_symbol; static const char* S_virtual_pango_font_face_get_face_name(PangoFontFace* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFace_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFace"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } static PangoFontDescription* S_virtual_pango_font_face_describe(PangoFontFace* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFace_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFace"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontDescription*)0)); return(((PangoFontDescription*)pango_font_description_copy(getPtrValue(s_ans)))); } static void S_virtual_pango_font_face_list_sizes(PangoFontFace* s_object, int** s_sizes, int* s_n_sizes) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFace_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFace"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_sizes = ((int*)asCArrayDup(VECTOR_ELT(s_ans, 0), int, asCInteger)); *s_n_sizes = ((int)asCInteger(VECTOR_ELT(s_ans, 1))); } void S_pango_font_face_class_init(PangoFontFaceClass * c, SEXP e) { SEXP s; S_PangoFontFace_symbol = install("PangoFontFace"); s = findVar(S_PangoFontFace_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoFontFaceClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_face_name = S_virtual_pango_font_face_get_face_name; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->describe = S_virtual_pango_font_face_describe; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->list_sizes = S_virtual_pango_font_face_list_sizes; } USER_OBJECT_ S_pango_font_face_class_get_face_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFaceClass* object_class = ((PangoFontFaceClass*)getPtrValue(s_object_class)); PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); const char* ans; ans = object_class->get_face_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_font_face_class_describe(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFaceClass* object_class = ((PangoFontFaceClass*)getPtrValue(s_object_class)); PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); PangoFontDescription* ans; ans = object_class->describe(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_face_class_list_sizes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFaceClass* object_class = ((PangoFontFaceClass*)getPtrValue(s_object_class)); PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); int* sizes = NULL; int n_sizes; object_class->list_sizes(object, &sizes, &n_sizes); _result = retByVal(_result, "sizes", asRIntegerArrayWithSize(sizes, n_sizes), "n.sizes", asRInteger(n_sizes), NULL); CLEANUP(g_free, sizes);; ; return(_result); } static SEXP S_PangoFontFamily_symbol; static void S_virtual_pango_font_family_list_faces(PangoFontFamily* s_object, PangoFontFace*** s_faces, int* s_n_faces) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFamily_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFamily"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_faces = ((PangoFontFace**)asCArrayDup(VECTOR_ELT(s_ans, 0), PangoFontFace*, getPtrValueWithRef)); *s_n_faces = ((int)asCInteger(VECTOR_ELT(s_ans, 1))); } static const char* S_virtual_pango_font_family_get_name(PangoFontFamily* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFamily_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFamily"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const char*)0)); return(((const char*)asCString(s_ans))); } static gboolean S_virtual_pango_font_family_is_monospace(PangoFontFamily* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontFamily_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontFamily"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_pango_font_family_class_init(PangoFontFamilyClass * c, SEXP e) { SEXP s; S_PangoFontFamily_symbol = install("PangoFontFamily"); s = findVar(S_PangoFontFamily_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoFontFamilyClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->list_faces = S_virtual_pango_font_family_list_faces; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_name = S_virtual_pango_font_family_get_name; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->is_monospace = S_virtual_pango_font_family_is_monospace; } USER_OBJECT_ S_pango_font_family_class_list_faces(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamilyClass* object_class = ((PangoFontFamilyClass*)getPtrValue(s_object_class)); PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); PangoFontFace** faces = NULL; int n_faces; object_class->list_faces(object, &faces, &n_faces); _result = retByVal(_result, "faces", toRPointerWithRefArrayWithSize(faces, "PangoFontFace", n_faces), "n.faces", asRInteger(n_faces), NULL); CLEANUP(g_free, faces);; ; return(_result); } USER_OBJECT_ S_pango_font_family_class_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamilyClass* object_class = ((PangoFontFamilyClass*)getPtrValue(s_object_class)); PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); const char* ans; ans = object_class->get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_font_family_class_is_monospace(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamilyClass* object_class = ((PangoFontFamilyClass*)getPtrValue(s_object_class)); PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); gboolean ans; ans = object_class->is_monospace(object); _result = asRLogical(ans); return(_result); } static SEXP S_PangoFontMap_symbol; static PangoFont* S_virtual_pango_font_map_load_font(PangoFontMap* s_object, PangoContext* s_context, const PangoFontDescription* s_desc) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontMap_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontMap"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "PangoContext")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_desc ? pango_font_description_copy(s_desc) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFont*)0)); return(PANGO_FONT(getPtrValueWithRef(s_ans))); } static void S_virtual_pango_font_map_list_families(PangoFontMap* s_object, PangoFontFamily*** s_families, int* s_n_families) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontMap_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontMap"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_families = ((PangoFontFamily**)asCArrayDup(VECTOR_ELT(s_ans, 0), PangoFontFamily*, getPtrValueWithRef)); *s_n_families = ((int)asCInteger(VECTOR_ELT(s_ans, 1))); } static PangoFontset* S_virtual_pango_font_map_load_fontset(PangoFontMap* s_object, PangoContext* s_context, const PangoFontDescription* s_desc, PangoLanguage* s_language) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontMap_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontMap"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "PangoContext")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_desc ? pango_font_description_copy(s_desc) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_language ? (s_language) : NULL, "PangoLanguage")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontset*)0)); return(PANGO_FONTSET(getPtrValueWithRef(s_ans))); } void S_pango_font_map_class_init(PangoFontMapClass * c, SEXP e) { SEXP s; S_PangoFontMap_symbol = install("PangoFontMap"); s = findVar(S_PangoFontMap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoFontMapClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->load_font = S_virtual_pango_font_map_load_font; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->list_families = S_virtual_pango_font_map_list_families; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->load_fontset = S_virtual_pango_font_map_load_fontset; } USER_OBJECT_ S_pango_font_map_class_load_font(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMapClass* object_class = ((PangoFontMapClass*)getPtrValue(s_object_class)); PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoFont* ans; ans = object_class->load_font(object, context, desc); _result = toRPointerWithFinalizer(ans, "PangoFont", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_pango_font_map_class_list_families(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMapClass* object_class = ((PangoFontMapClass*)getPtrValue(s_object_class)); PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoFontFamily** families = NULL; int n_families; object_class->list_families(object, &families, &n_families); _result = retByVal(_result, "families", toRPointerWithRefArrayWithSize(families, "PangoFontFamily", n_families), "n.families", asRInteger(n_families), NULL); CLEANUP(g_free, families);; ; return(_result); } USER_OBJECT_ S_pango_font_map_class_load_fontset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMapClass* object_class = ((PangoFontMapClass*)getPtrValue(s_object_class)); PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoFontset* ans; ans = object_class->load_fontset(object, context, desc, language); _result = toRPointerWithFinalizer(ans, "PangoFontset", (RPointerFinalizer) g_object_unref); return(_result); } static SEXP S_PangoFontset_symbol; static PangoFont* S_virtual_pango_fontset_get_font(PangoFontset* s_object, guint s_wc) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontset_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontset"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_wc)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFont*)0)); return(PANGO_FONT(getPtrValue(s_ans))); } static PangoFontMetrics* S_virtual_pango_fontset_get_metrics(PangoFontset* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontset_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontset"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoFontMetrics*)0)); return(((PangoFontMetrics*)pango_font_metrics_ref(getPtrValue(s_ans)))); } static PangoLanguage* S_virtual_pango_fontset_get_language(PangoFontset* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontset_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontset"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((PangoLanguage*)0)); return(((PangoLanguage*)getPtrValue(s_ans))); } static void S_virtual_pango_fontset_foreach(PangoFontset* s_object, PangoFontsetForeachFunc s_func, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoFontset_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoFontset"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_func, "PangoFontsetForeachFunc")); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_pango_fontset_class_init(PangoFontsetClass * c, SEXP e) { SEXP s; S_PangoFontset_symbol = install("PangoFontset"); s = findVar(S_PangoFontset_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoFontsetClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_font = S_virtual_pango_fontset_get_font; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_metrics = S_virtual_pango_fontset_get_metrics; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_language = S_virtual_pango_fontset_get_language; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->foreach = S_virtual_pango_fontset_foreach; } USER_OBJECT_ S_pango_fontset_class_get_font(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_wc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontsetClass* object_class = ((PangoFontsetClass*)getPtrValue(s_object_class)); PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); guint wc = ((guint)asCNumeric(s_wc)); PangoFont* ans; ans = object_class->get_font(object, wc); _result = toRPointerWithRef(ans, "PangoFont"); return(_result); } USER_OBJECT_ S_pango_fontset_class_get_metrics(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontsetClass* object_class = ((PangoFontsetClass*)getPtrValue(s_object_class)); PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); PangoFontMetrics* ans; ans = object_class->get_metrics(object); _result = toRPointerWithFinalizer(ans, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_fontset_class_get_language(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontsetClass* object_class = ((PangoFontsetClass*)getPtrValue(s_object_class)); PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); PangoLanguage* ans; ans = object_class->get_language(object); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_pango_fontset_class_foreach(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontsetForeachFunc func = ((PangoFontsetForeachFunc)S_PangoFontsetForeachFunc); R_CallbackData* data = R_createCBData(s_func, s_data); PangoFontsetClass* object_class = ((PangoFontsetClass*)getPtrValue(s_object_class)); PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); object_class->foreach(object, func, data); R_freeCBData(data); return(_result); } static SEXP S_PangoRenderer_symbol; static void S_virtual_pango_renderer_draw_glyphs(PangoRenderer* s_object, PangoFont* s_font, PangoGlyphString* s_glyphs, int s_x, int s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_font, "PangoFont")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_glyphs ? pango_glyph_string_copy(s_glyphs) : NULL, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_draw_rectangle(PangoRenderer* s_object, PangoRenderPart s_part, int s_x, int s_y, int s_width, int s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_part, PANGO_TYPE_RENDER_PART)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_draw_error_underline(PangoRenderer* s_object, int s_x, int s_y, int s_width, int s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_draw_shape(PangoRenderer* s_object, PangoAttrShape* s_attr, int s_x, int s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_attr, "PangoAttrShape")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_draw_trapezoid(PangoRenderer* s_object, PangoRenderPart s_part, double s_y1_, double s_x11, double s_x21, double s_y2, double s_x12, double s_x22) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 9)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_part, PANGO_TYPE_RENDER_PART)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_y1_)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_x11)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_x21)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_y2)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_x12)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_x22)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_draw_glyph(PangoRenderer* s_object, PangoFont* s_font, PangoGlyph s_glyph, double s_x, double s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_font, "PangoFont")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_glyph)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_part_changed(PangoRenderer* s_object, PangoRenderPart s_part) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_part, PANGO_TYPE_RENDER_PART)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_begin(PangoRenderer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_end(PangoRenderer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_pango_renderer_prepare_run(PangoRenderer* s_object, PangoGlyphItem* s_run) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_run, "PangoGlyphItem", (RPointerFinalizer) pango_glyph_item_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #if PANGO_CHECK_VERSION(1, 22, 0) static void S_virtual_pango_renderer_draw_glyph_item(PangoRenderer* s_object, const char* s_text, PangoGlyphItem* s_glyph_item, int s_x, int s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_PangoRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "PangoRenderer"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_glyph_item, "PangoGlyphItem", (RPointerFinalizer) pango_glyph_item_free)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_pango_renderer_class_init(PangoRendererClass * c, SEXP e) { SEXP s; S_PangoRenderer_symbol = install("PangoRenderer"); s = findVar(S_PangoRenderer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(PangoRendererClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->draw_glyphs = S_virtual_pango_renderer_draw_glyphs; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->draw_rectangle = S_virtual_pango_renderer_draw_rectangle; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->draw_error_underline = S_virtual_pango_renderer_draw_error_underline; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->draw_shape = S_virtual_pango_renderer_draw_shape; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->draw_trapezoid = S_virtual_pango_renderer_draw_trapezoid; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->draw_glyph = S_virtual_pango_renderer_draw_glyph; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->part_changed = S_virtual_pango_renderer_part_changed; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->begin = S_virtual_pango_renderer_begin; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->end = S_virtual_pango_renderer_end; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->prepare_run = S_virtual_pango_renderer_prepare_run; #if PANGO_CHECK_VERSION(1, 22, 0) if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->draw_glyph_item = S_virtual_pango_renderer_draw_glyph_item; #endif } USER_OBJECT_ S_pango_renderer_class_draw_glyphs(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); object_class->draw_glyphs(object, font, glyphs, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_rectangle(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); object_class->draw_rectangle(object, part, x, y, width, height); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_error_underline(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); object_class->draw_error_underline(object, x, y, width, height); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_shape(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoAttrShape* attr = ((PangoAttrShape*)getPtrValue(s_attr)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); object_class->draw_shape(object, attr, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_trapezoid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_y1_, USER_OBJECT_ s_x11, USER_OBJECT_ s_x21, USER_OBJECT_ s_y2, USER_OBJECT_ s_x12, USER_OBJECT_ s_x22) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); double y1_ = ((double)asCNumeric(s_y1_)); double x11 = ((double)asCNumeric(s_x11)); double x21 = ((double)asCNumeric(s_x21)); double y2 = ((double)asCNumeric(s_y2)); double x12 = ((double)asCNumeric(s_x12)); double x22 = ((double)asCNumeric(s_x22)); object_class->draw_trapezoid(object, part, y1_, x11, x21, y2, x12, x22); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_glyph(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyph, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyph glyph = ((PangoGlyph)asCNumeric(s_glyph)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); object_class->draw_glyph(object, font, glyph, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_class_part_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_part) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); object_class->part_changed(object, part); return(_result); } USER_OBJECT_ S_pango_renderer_class_begin(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); object_class->begin(object); return(_result); } USER_OBJECT_ S_pango_renderer_class_end(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); object_class->end(object); return(_result); } USER_OBJECT_ S_pango_renderer_class_prepare_run(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_run) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoGlyphItem* run = ((PangoGlyphItem*)getPtrValue(s_run)); object_class->prepare_run(object, run); return(_result); } USER_OBJECT_ S_pango_renderer_class_draw_glyph_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoRendererClass* object_class = ((PangoRendererClass*)getPtrValue(s_object_class)); PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); object_class->draw_glyph_item(object, text, glyph_item, x, y); #else error("pango_renderer_draw_glyph_item exists only in Pango >= 1.22.0"); #endif return(_result); } RGtk2/src/RGtk2/0000755000176000001440000000000012362217673012764 5ustar ripleyusersRGtk2/src/RGtk2/pangoUserFuncs.h0000644000176000001440000000071512362467242016101 0ustar ripleyusers#ifndef S_PANGO_USERFUNCS_H #define S_PANGO_USERFUNCS_H #include #include gboolean S_PangoFontsetForeachFunc(PangoFontset* s_fontset, PangoFont* s_font, gpointer s_data); gboolean S_PangoAttrFilterFunc(PangoAttribute* s_attribute, gpointer s_data); #if PANGO_CHECK_VERSION(1, 18, 0) gboolean S_PangoCairoShapeRendererFunc(cairo_t* s_cr, PangoAttrShape* s_attr, gboolean s_do_path, gpointer s_data); #endif #endif RGtk2/src/RGtk2/atkUserFuncs.h0000644000176000001440000000027512362467242015555 0ustar ripleyusers#ifndef S_ATK_USERFUNCS_H #define S_ATK_USERFUNCS_H #include #include gint S_AtkKeySnoopFunc(AtkKeyEventStruct* s_event, gpointer s_func_data); #endif RGtk2/src/RGtk2/cairoUserFuncImports.c0000644000176000001440000000050312362467242017253 0ustar ripleyuserscairo_status_t S_cairo_write_func_t(gpointer closure, const guchar* data, guint length) { static cairo_status_t (*fun)(gpointer, const guchar*, guint) = NULL; if(!fun) fun = ((cairo_status_t (*)(gpointer, const guchar*, guint))R_GetCCallable("RGtk2", "S_cairo_write_func_t")); return(fun(closure, data, length)); } RGtk2/src/RGtk2/gdkImports.c0000644000176000001440000000033212362467242015250 0ustar ripleyusers#ifndef S_GDK_IMPORTS_C #define S_GDK_IMPORTS_C #include #include #include #include #include #endif RGtk2/src/RGtk2/gdkUserFuncImports.c0000644000176000001440000000205512362467242016727 0ustar ripleyusersvoid S_GdkFilterFunc(GdkXEvent* xevent, GdkEvent* event, gpointer data) { static void (*fun)(GdkXEvent*, GdkEvent*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkXEvent*, GdkEvent*, gpointer))R_GetCCallable("RGtk2", "S_GdkFilterFunc")); return(fun(xevent, event, data)); } void S_GdkEventFunc(GdkEvent* event, gpointer data) { static void (*fun)(GdkEvent*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkEvent*, gpointer))R_GetCCallable("RGtk2", "S_GdkEventFunc")); return(fun(event, data)); } gboolean S_GdkPixbufSaveFunc(const guchar* buf, gsize count, GError** error, gpointer data) { static gboolean (*fun)(const guchar*, gsize, GError**, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const guchar*, gsize, GError**, gpointer))R_GetCCallable("RGtk2", "S_GdkPixbufSaveFunc")); return(fun(buf, count, error, data)); } void S_GdkSpanFunc(GdkSpan* span, gpointer data) { static void (*fun)(GdkSpan*, gpointer) = NULL; if(!fun) fun = ((void (*)(GdkSpan*, gpointer))R_GetCCallable("RGtk2", "S_GdkSpanFunc")); return(fun(span, data)); } RGtk2/src/RGtk2/RSCommon.h0000644000176000001440000000607312362467242014637 0ustar ripleyusers #ifndef RSCOMMON_H #define RSCOMMON_H #ifdef __cplusplus extern "C" { #endif #if defined(_S_) /* || defined(_R_) */ #ifdef _SPLUS5_ #ifdef ARGS #undef ARGS #endif #endif #include "S.h" #ifdef _SPLUS5_ #include "S_tokens.h" typedef boolean s_boolean; #endif /* End of _SPLUS5_ */ #endif #if defined(_S4_) #define vector s_object typedef s_object* USER_OBJECT_; typedef long RSInt; typedef s_boolean Rboolean; #endif #if defined _SPLUS6_ typedef s_boolean boolean; #define TRUE S_TRUE #define FALSE S_FALSE #endif #if defined(_R_) #include #include #ifdef length #undef length #endif #ifdef GET_LENGTH #undef GET_LENGTH #define GET_LENGTH(x) Rf_length(x) #endif #ifdef append #undef append #endif typedef SEXP USER_OBJECT_; typedef int RSInt; #include "Rversion.h" #if R_VERSION < R_Version(1, 2, 0) #define STRING_ELT(x,i) STRING(x)[i] #define VECTOR_ELT(x,i) VECTOR(x)[i] #define SET_STRING_ELT(x,i,v) (STRING(x)[i]=(v)) #define SET_VECTOR_ELT(x,i,v) (VECTOR(x)[i]=(v)) #define SETCAR(x,v) (CAR(x) = v) #else #include "R_ext/Boolean.h" #endif #endif #if defined(_S4_) /* redefine vector and declare routines with S_evaluator */ #ifdef vector #undef vector #endif #define COPY_TO_USER_STRING(a) c_s_cpy(a, S_evaluator) #define LOCAL_EVALUATOR S_EVALUATOR #define CREATE_FUNCTION_CALL(name, argList) alcf(name, argList, S_evaluator) #define CREATE_STRING_VECTOR(a) STRING_VECTOR(a, S_evaluator) #define NULL_USER_OBJECT S_void /* This is to keep R happy until it moves to char ** rather than SEXP * for character vectors. */ #define CHAR_DEREF(x) (x) #ifdef PROTECT #undef PROTECT #endif #define PROTECT(x) (x) /**/ #define UNPROTECT(x) /**/ /* Note that this will override the one in S.h which is for S4, not S3, style classes. */ #if defined(SET_CLASS) #undef SET_CLASS #endif #define SET_CLASS(obj,classname) set_attr((obj), "class", (classname), S_evaluator) #if defined(GET_CLASS) #undef GET_CLASS #endif #define GET_CLASS(x) GET_ATTR((x), "class") #define STRING_ELT(x,i) CHARACTER_DATA(x)[i] #define VECTOR_ELT(x,i) LIST_POINTER(x)[i] #define SET_VECTOR_ELT(v, pos, val) LIST_POINTER((v))[(pos)]=(val) #define SET_STRING_ELT(v, pos, val) CHARACTER_DATA((v))[(pos)]=(val) #endif /* end of this S4 */ #if defined(_R_) #define CHAR_DEREF(x) CHAR((x)) #define IS_FUNCTION(x) isFunction((x)) /* SET_CLASS and SET_NAMES have been moved to Rdefines.h in the R distribution.*/ #endif /* of defined(_R_) */ #if defined(_Octave_) #include extern char error_buf[]; #define PROBLEM sprintf(error_buf, #define ERROR ); error(error_buf) #define STRING_VALUE(a) a.all_strings()[0].c_str() #define GET_LENGTH(a) getLength(a) #define LOCAL_EVALUATOR /**/ #define COPY_TO_USER_STRING(a) strdup(a) /*XXX*/ #endif /* end of defined(_Octave_)*/ #ifdef __cplusplus } #endif #endif /* end of RSCOMMON_H*/ RGtk2/src/RGtk2/gioUserFuncImports.c0000644000176000001440000000420612362467242016740 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GIOSchedulerJobFunc(GIOSchedulerJob* job, GCancellable* cancellable, gpointer user_data) { static gboolean (*fun)(GIOSchedulerJob*, GCancellable*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GIOSchedulerJob*, GCancellable*, gpointer))R_GetCCallable("RGtk2", "S_GIOSchedulerJobFunc")); return(fun(job, cancellable, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GSimpleAsyncThreadFunc(GSimpleAsyncResult* res, GObject* object, GCancellable* cancellable) { static gboolean (*fun)(GSimpleAsyncResult*, GObject*, GCancellable*) = NULL; if(!fun) fun = ((gboolean (*)(GSimpleAsyncResult*, GObject*, GCancellable*))R_GetCCallable("RGtk2", "S_GSimpleAsyncThreadFunc")); return(fun(res, object, cancellable)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GAsyncReadyCallback(GObject* source_object, GSimpleAsyncResult* res, gpointer user_data) { static void (*fun)(GObject*, GSimpleAsyncResult*, gpointer) = NULL; if(!fun) fun = ((void (*)(GObject*, GSimpleAsyncResult*, gpointer))R_GetCCallable("RGtk2", "S_GAsyncReadyCallback")); return(fun(source_object, res, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileProgressCallback(goffset current_num_bytes, goffset total_num_bytes, gpointer user_data) { static void (*fun)(goffset, goffset, gpointer) = NULL; if(!fun) fun = ((void (*)(goffset, goffset, gpointer))R_GetCCallable("RGtk2", "S_GFileProgressCallback")); return(fun(current_num_bytes, total_num_bytes, user_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileReadMoreCallback(const char* file_contents, goffset file_size, gpointer callback_data) { static void (*fun)(const char*, goffset, gpointer) = NULL; if(!fun) fun = ((void (*)(const char*, goffset, gpointer))R_GetCCallable("RGtk2", "S_GFileReadMoreCallback")); return(fun(file_contents, file_size, callback_data)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) gpointer S_GReallocFunc(gpointer data, gsize size) { static gpointer (*fun)(gpointer, gsize) = NULL; if(!fun) fun = ((gpointer (*)(gpointer, gsize))R_GetCCallable("RGtk2", "S_GReallocFunc")); return(fun(data, size)); } #endif RGtk2/src/RGtk2/atk.h0000644000176000001440000000220712362467242013714 0ustar ripleyusers#ifndef RGTK2_ATK_H #define RGTK2_ATK_H #include #include #include /* Unlike the other libraries, ATK did not always provide version information, so we assume 1.10.0 when the macro is not present. */ #ifndef ATK_CHECK_VERSION #define ATK_CHECK_VERSION(major,minor,micro) \ (1 > (major) || \ (1 == (major) && 10 > (minor)) || \ (1 == (major) && 10 == (minor) && \ 0 >= (micro))) #endif #include #include /**** Conversion ****/ AtkAttributeSet* asCAtkAttributeSet(USER_OBJECT_ s_set); AtkAttribute* asCAtkAttribute(USER_OBJECT_ s_attr); USER_OBJECT_ asRAtkAttributeSet(AtkAttributeSet* set); USER_OBJECT_ asRAtkAttribute(AtkAttribute* attr); AtkTextRectangle* asCAtkTextRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRAtkTextRectangle(AtkTextRectangle *rect); USER_OBJECT_ asRAtkTextRange(AtkTextRange *range); AtkTextRange *asCAtkTextRange(USER_OBJECT_ s_obj); USER_OBJECT_ asRAtkKeyEventStruct(AtkKeyEventStruct * obj); AtkRectangle* asCAtkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRAtkRectangle(AtkRectangle *rect); #endif RGtk2/src/RGtk2/pangoImports.c0000644000176000001440000000262412362467242015615 0ustar ripleyusers#ifndef S_PANGO_IMPORTS_C #define S_PANGO_IMPORTS_C #include #include #include #include PangoRectangle* asCPangoRectangle(USER_OBJECT_ s_rect) { static PangoRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((PangoRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCPangoRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRPangoRectangle(PangoRectangle* rect) { static USER_OBJECT_ (*fun)(PangoRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoRectangle*))R_GetCCallable("RGtk2", "asRPangoRectangle")); return(fun(rect)); } USER_OBJECT_ asRPangoAttribute(PangoAttribute* attr) { static USER_OBJECT_ (*fun)(PangoAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*))R_GetCCallable("RGtk2", "asRPangoAttribute")); return(fun(attr)); } USER_OBJECT_ asRPangoAttributeCopy(PangoAttribute* attr) { static USER_OBJECT_ (*fun)(PangoAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*))R_GetCCallable("RGtk2", "asRPangoAttributeCopy")); return(fun(attr)); } USER_OBJECT_ toRPangoAttribute(PangoAttribute* attr, gboolean finalize) { static USER_OBJECT_ (*fun)(PangoAttribute*, gboolean) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(PangoAttribute*, gboolean))R_GetCCallable("RGtk2", "toRPangoAttribute")); return(fun(attr, finalize)); } #endif RGtk2/src/RGtk2/gtkImports.c0000644000176000001440000003077412362467242015305 0ustar ripleyusers#ifndef S_GTK_IMPORTS_C #define S_GTK_IMPORTS_C #include #include #include #include #include void S_GtkClipboardClearFunc(GtkClipboard* clipboard, gpointer user_data_or_owner) { static void (*fun)(GtkClipboard*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardClearFunc")); return(fun(clipboard, user_data_or_owner)); } void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data) { static void (*fun)(GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkSignalFunc")); return(fun(s_child, s_data)); } guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data) { static guint8* (*fun)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, GtkTextIter*, gsize*, gpointer) = NULL; if(!fun) fun = ((guint8* (*)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, GtkTextIter*, gsize*, gpointer))R_GetCCallable("RGtk2", "S_GtkTextBufferSerializeFunc")); return(fun(s_register_buffer, s_content_buffer, s_start, s_end, s_length, s_user_data)); } USER_OBJECT_ asRGdkAtom(GdkAtom val) { static USER_OBJECT_ (*fun)(GdkAtom) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkAtom))R_GetCCallable("RGtk2", "asRGdkAtom")); return(fun(val)); } GdkAtom asCGdkAtom(USER_OBJECT_ s_atom) { static GdkAtom (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkAtom (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkAtom")); return(fun(s_atom)); } GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms) { static GdkAtom* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkAtom* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkAtomArray")); return(fun(s_atoms)); } GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints* hints) { static GdkGeometry* (*fun)(USER_OBJECT_, GdkWindowHints*) = NULL; if(!fun) fun = ((GdkGeometry* (*)(USER_OBJECT_, GdkWindowHints*))R_GetCCallable("RGtk2", "asCGdkGeometry")); return(fun(s_geom, hints)); } GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values) { static GdkGCValues* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkGCValues* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkGCValues")); return(fun(s_values)); } GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask* mask) { static GdkGCValues* (*fun)(USER_OBJECT_, GdkGCValuesMask*) = NULL; if(!fun) fun = ((GdkGCValues* (*)(USER_OBJECT_, GdkGCValuesMask*))R_GetCCallable("RGtk2", "asCGdkGCValuesWithMask")); return(fun(s_values, mask)); } GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType* mask) { static GdkWindowAttr* (*fun)(USER_OBJECT_, GdkWindowAttributesType*) = NULL; if(!fun) fun = ((GdkWindowAttr* (*)(USER_OBJECT_, GdkWindowAttributesType*))R_GetCCallable("RGtk2", "asCGdkWindowAttr")); return(fun(s_attr, mask)); } USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord* coord, int num_axes) { static USER_OBJECT_ (*fun)(GdkTimeCoord*, int) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkTimeCoord*, int))R_GetCCallable("RGtk2", "asRGdkTimeCoord")); return(fun(coord, num_axes)); } GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect) { static GdkRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRGdkRectangle(GdkRectangle* rect) { static USER_OBJECT_ (*fun)(GdkRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkRectangle*))R_GetCCallable("RGtk2", "asRGdkRectangle")); return(fun(rect)); } GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap) { static GdkRgbCmap* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkRgbCmap* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkRgbCmap")); return(fun(s_cmap)); } USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap* map) { static USER_OBJECT_ (*fun)(GdkRgbCmap*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkRgbCmap*))R_GetCCallable("RGtk2", "asRGdkRgbCmap")); return(fun(map)); } GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key) { static GdkKeymapKey* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkKeymapKey* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkKeymapKey")); return(fun(s_key)); } USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key) { static USER_OBJECT_ (*fun)(GdkKeymapKey*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkKeymapKey*))R_GetCCallable("RGtk2", "asRGdkKeymapKey")); return(fun(key)); } GdkPoint* asCGdkPoint(USER_OBJECT_ s_point) { static GdkPoint* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkPoint* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkPoint")); return(fun(s_point)); } USER_OBJECT_ asRGdkPoint(GdkPoint* point) { static USER_OBJECT_ (*fun)(GdkPoint*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkPoint*))R_GetCCallable("RGtk2", "asRGdkPoint")); return(fun(point)); } GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment) { static GdkSegment* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkSegment* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkSegment")); return(fun(s_segment)); } USER_OBJECT_ asRGdkSegment(GdkSegment* obj) { static USER_OBJECT_ (*fun)(GdkSegment*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkSegment*))R_GetCCallable("RGtk2", "asRGdkSegment")); return(fun(obj)); } GdkColor* asCGdkColor(USER_OBJECT_ s_color) { static GdkColor* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkColor* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkColor")); return(fun(s_color)); } USER_OBJECT_ asRGdkColor(const GdkColor* color) { static USER_OBJECT_ (*fun)(const GdkColor*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GdkColor*))R_GetCCallable("RGtk2", "asRGdkColor")); return(fun(color)); } USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window) { static USER_OBJECT_ (*fun)(GdkNativeWindow) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkNativeWindow))R_GetCCallable("RGtk2", "asRGdkNativeWindow")); return(fun(window)); } GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window) { static GdkNativeWindow (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkNativeWindow (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkNativeWindow")); return(fun(s_window)); } USER_OBJECT_ asRGdkEvent(GdkEvent* event) { static USER_OBJECT_ (*fun)(GdkEvent*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkEvent*))R_GetCCallable("RGtk2", "asRGdkEvent")); return(fun(event)); } USER_OBJECT_ toRGdkEvent(GdkEvent* event, gboolean finalize) { static USER_OBJECT_ (*fun)(GdkEvent*, gboolean) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkEvent*, gboolean))R_GetCCallable("RGtk2", "toRGdkEvent")); return(fun(event, finalize)); } USER_OBJECT_ toRGdkFont(GdkFont* font) { static USER_OBJECT_ (*fun)(GdkFont*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkFont*))R_GetCCallable("RGtk2", "toRGdkFont")); return(fun(font)); } GdkTrapezoid* asCGdkTrapezoid(USER_OBJECT_ s_trapezoid) { static GdkTrapezoid* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkTrapezoid* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkTrapezoid")); return(fun(s_trapezoid)); } USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid* obj) { static USER_OBJECT_ (*fun)(GdkTrapezoid*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkTrapezoid*))R_GetCCallable("RGtk2", "asRGdkTrapezoid")); return(fun(obj)); } USER_OBJECT_ asRGdkGCValues(GdkGCValues* values) { static USER_OBJECT_ (*fun)(GdkGCValues*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkGCValues*))R_GetCCallable("RGtk2", "asRGdkGCValues")); return(fun(values)); } GdkSpan* asCGdkSpan(USER_OBJECT_ s_span) { static GdkSpan* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GdkSpan* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGdkSpan")); return(fun(s_span)); } USER_OBJECT_ asRGdkSpan(GdkSpan* obj) { static USER_OBJECT_ (*fun)(GdkSpan*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GdkSpan*))R_GetCCallable("RGtk2", "asRGdkSpan")); return(fun(obj)); } GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry) { static GtkTargetEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkTargetEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkTargetEntry")); return(fun(s_entry)); } USER_OBJECT_ asRGtkTargetEntry(GtkTargetEntry* obj) { static USER_OBJECT_ (*fun)(GtkTargetEntry*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkTargetEntry*))R_GetCCallable("RGtk2", "asRGtkTargetEntry")); return(fun(obj)); } GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info) { static GtkFileFilterInfo* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkFileFilterInfo* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkFileFilterInfo")); return(fun(s_info)); } USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo* obj) { static USER_OBJECT_ (*fun)(const GtkFileFilterInfo*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GtkFileFilterInfo*))R_GetCCallable("RGtk2", "asRGtkFileFilterInfo")); return(fun(obj)); } GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value) { static GtkSettingsValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkSettingsValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkSettingsValue")); return(fun(s_value)); } GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item) { static GtkStockItem* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkStockItem* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkStockItem")); return(fun(s_item)); } USER_OBJECT_ asRGtkStockItem(GtkStockItem* item) { static USER_OBJECT_ (*fun)(GtkStockItem*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkStockItem*))R_GetCCallable("RGtk2", "asRGtkStockItem")); return(fun(item)); } GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkItemFactoryEntry")); return(fun(s_entry)); } GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkItemFactoryEntry2")); return(fun(s_entry)); } GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype) { static GtkItemFactoryEntry* (*fun)(USER_OBJECT_, guint) = NULL; if(!fun) fun = ((GtkItemFactoryEntry* (*)(USER_OBJECT_, guint))R_GetCCallable("RGtk2", "R_createGtkItemFactoryEntry")); return(fun(s_entry, cbtype)); } GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc) { static GtkAllocation* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkAllocation* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkAllocation")); return(fun(s_alloc)); } USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc) { static USER_OBJECT_ (*fun)(GtkAllocation*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkAllocation*))R_GetCCallable("RGtk2", "asRGtkAllocation")); return(fun(alloc)); } #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilterInfo* asCGtkRecentFilterInfo(USER_OBJECT_ s_obj) { static GtkRecentFilterInfo* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkRecentFilterInfo* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkRecentFilterInfo")); return(fun(s_obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo* obj) { static USER_OBJECT_ (*fun)(const GtkRecentFilterInfo*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GtkRecentFilterInfo*))R_GetCCallable("RGtk2", "asRGtkRecentFilterInfo")); return(fun(obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentData* asCGtkRecentData(USER_OBJECT_ s_obj) { static GtkRecentData* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkRecentData* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkRecentData")); return(fun(s_obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) USER_OBJECT_ asRGtkPageRange(GtkPageRange* obj) { static USER_OBJECT_ (*fun)(GtkPageRange*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkPageRange*))R_GetCCallable("RGtk2", "asRGtkPageRange")); return(fun(obj)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkPageRange* asCGtkPageRange(USER_OBJECT_ s_obj) { static GtkPageRange* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GtkPageRange* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGtkPageRange")); return(fun(s_obj)); } #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey* obj) { static USER_OBJECT_ (*fun)(GtkAccelKey*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GtkAccelKey*))R_GetCCallable("RGtk2", "asRGtkAccelKey")); return(fun(obj)); } #endif RGtk2/src/RGtk2/cairoImports.c0000644000176000001440000000330612362467242015604 0ustar ripleyusers#ifndef S_CAIRO_IMPORTS_C #define S_CAIRO_IMPORTS_C #include #include #include cairo_status_t S_cairo_read_func_t(gpointer s_closure, guchar* s_data, guint s_length) { static cairo_status_t (*fun)(gpointer, guchar*, guint) = NULL; if(!fun) fun = ((cairo_status_t (*)(gpointer, guchar*, guint))R_GetCCallable("RGtk2", "S_cairo_read_func_t")); return(fun(s_closure, s_data, s_length)); } USER_OBJECT_ asRCairoPath(cairo_path_t* path) { static USER_OBJECT_ (*fun)(cairo_path_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_path_t*))R_GetCCallable("RGtk2", "asRCairoPath")); return(fun(path)); } cairo_path_t* asCCairoPath(USER_OBJECT_ s_path) { static cairo_path_t* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((cairo_path_t* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCairoPath")); return(fun(s_path)); } cairo_glyph_t* asCCairoGlyph(USER_OBJECT_ s_glyph) { static cairo_glyph_t* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((cairo_glyph_t* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCairoGlyph")); return(fun(s_glyph)); } #if CAIRO_CHECK_VERSION(1, 4, 0) USER_OBJECT_ asRCairoRectangle(cairo_rectangle_t* path) { static USER_OBJECT_ (*fun)(cairo_rectangle_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_rectangle_t*))R_GetCCallable("RGtk2", "asRCairoRectangle")); return(fun(path)); } #endif #if CAIRO_CHECK_VERSION(1, 4, 0) USER_OBJECT_ asRCairoRectangleList(cairo_rectangle_list_t* list) { static USER_OBJECT_ (*fun)(cairo_rectangle_list_t*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(cairo_rectangle_list_t*))R_GetCCallable("RGtk2", "asRCairoRectangleList")); return(fun(list)); } #endif #endif RGtk2/src/RGtk2/gdkClasses.h0000644000176000001440000000240112362467242015214 0ustar ripleyusers#ifndef S_GDK_CLASSES_H #define S_GDK_CLASSES_H #include #include void S_gdk_bitmap_class_init(GdkDrawableClass * c, SEXP e); void S_gdk_colormap_class_init(GdkColormapClass * c, SEXP e); void S_gdk_display_class_init(GdkDisplayClass * c, SEXP e); void S_gdk_display_manager_class_init(GdkDisplayManagerClass * c, SEXP e); void S_gdk_drag_context_class_init(GdkDragContextClass * c, SEXP e); void S_gdk_drawable_class_init(GdkDrawableClass * c, SEXP e); void S_gdk_window_class_init(GdkWindowClass * c, SEXP e); void S_gdk_pixmap_class_init(GdkPixmapObjectClass * c, SEXP e); void S_gdk_gc_class_init(GdkGCClass * c, SEXP e); void S_gdk_image_class_init(GdkImageClass * c, SEXP e); void S_gdk_keymap_class_init(GdkKeymapClass * c, SEXP e); void S_gdk_pixbuf_animation_class_init(GdkPixbufAnimationClass * c, SEXP e); void S_gdk_pixbuf_animation_iter_class_init(GdkPixbufAnimationIterClass * c, SEXP e); void S_gdk_pixbuf_loader_class_init(GdkPixbufLoaderClass * c, SEXP e); void S_gdk_pango_renderer_class_init(GdkPangoRendererClass * c, SEXP e); void S_gdk_screen_class_init(GdkScreenClass * c, SEXP e); #if GDK_CHECK_VERSION(2, 14, 0) void S_gdk_app_launch_context_class_init(GdkAppLaunchContextClass * c, SEXP e); #endif #endif RGtk2/src/RGtk2/atkUserFuncImports.c0000644000176000001440000000042012362467242016733 0ustar ripleyusersgint S_AtkKeySnoopFunc(AtkKeyEventStruct* event, gpointer func_data) { static gint (*fun)(AtkKeyEventStruct*, gpointer) = NULL; if(!fun) fun = ((gint (*)(AtkKeyEventStruct*, gpointer))R_GetCCallable("RGtk2", "S_AtkKeySnoopFunc")); return(fun(event, func_data)); } RGtk2/src/RGtk2/gtkClasses.h0000644000176000001440000003175312362467242015250 0ustar ripleyusers#ifndef S_GTK_CLASSES_H #define S_GTK_CLASSES_H #include #include void S_gtk_about_dialog_class_init(GtkAboutDialogClass * c, SEXP e); void S_gtk_accel_group_class_init(GtkAccelGroupClass * c, SEXP e); void S_gtk_accel_label_class_init(GtkAccelLabelClass * c, SEXP e); void S_gtk_accessible_class_init(GtkAccessibleClass * c, SEXP e); void S_gtk_action_class_init(GtkActionClass * c, SEXP e); void S_gtk_action_group_class_init(GtkActionGroupClass * c, SEXP e); void S_gtk_adjustment_class_init(GtkAdjustmentClass * c, SEXP e); void S_gtk_alignment_class_init(GtkAlignmentClass * c, SEXP e); void S_gtk_arrow_class_init(GtkArrowClass * c, SEXP e); void S_gtk_aspect_frame_class_init(GtkAspectFrameClass * c, SEXP e); void S_gtk_bin_class_init(GtkBinClass * c, SEXP e); void S_gtk_box_class_init(GtkBoxClass * c, SEXP e); void S_gtk_button_class_init(GtkButtonClass * c, SEXP e); void S_gtk_button_box_class_init(GtkButtonBoxClass * c, SEXP e); void S_gtk_calendar_class_init(GtkCalendarClass * c, SEXP e); void S_gtk_cell_renderer_class_init(GtkCellRendererClass * c, SEXP e); void S_gtk_cell_renderer_combo_class_init(GtkCellRendererComboClass * c, SEXP e); void S_gtk_cell_renderer_pixbuf_class_init(GtkCellRendererPixbufClass * c, SEXP e); void S_gtk_cell_renderer_progress_class_init(GtkCellRendererProgressClass * c, SEXP e); void S_gtk_cell_renderer_text_class_init(GtkCellRendererTextClass * c, SEXP e); void S_gtk_cell_renderer_toggle_class_init(GtkCellRendererToggleClass * c, SEXP e); void S_gtk_cell_view_class_init(GtkCellViewClass * c, SEXP e); void S_gtk_check_button_class_init(GtkCheckButtonClass * c, SEXP e); void S_gtk_check_menu_item_class_init(GtkCheckMenuItemClass * c, SEXP e); void S_gtk_clist_class_init(GtkCListClass * c, SEXP e); void S_gtk_color_button_class_init(GtkColorButtonClass * c, SEXP e); void S_gtk_color_selection_class_init(GtkColorSelectionClass * c, SEXP e); void S_gtk_color_selection_dialog_class_init(GtkColorSelectionDialogClass * c, SEXP e); void S_gtk_combo_class_init(GtkComboClass * c, SEXP e); void S_gtk_combo_box_class_init(GtkComboBoxClass * c, SEXP e); void S_gtk_combo_box_entry_class_init(GtkComboBoxEntryClass * c, SEXP e); void S_gtk_container_class_init(GtkContainerClass * c, SEXP e); void S_gtk_ctree_class_init(GtkCTreeClass * c, SEXP e); void S_gtk_curve_class_init(GtkCurveClass * c, SEXP e); void S_gtk_dialog_class_init(GtkDialogClass * c, SEXP e); void S_gtk_drawing_area_class_init(GtkDrawingAreaClass * c, SEXP e); void S_gtk_entry_class_init(GtkEntryClass * c, SEXP e); void S_gtk_entry_completion_class_init(GtkEntryCompletionClass * c, SEXP e); void S_gtk_event_box_class_init(GtkEventBoxClass * c, SEXP e); void S_gtk_expander_class_init(GtkExpanderClass * c, SEXP e); void S_gtk_file_chooser_button_class_init(GtkFileChooserButtonClass * c, SEXP e); void S_gtk_file_chooser_dialog_class_init(GtkFileChooserDialogClass * c, SEXP e); void S_gtk_file_chooser_widget_class_init(GtkFileChooserWidgetClass * c, SEXP e); void S_gtk_file_selection_class_init(GtkFileSelectionClass * c, SEXP e); void S_gtk_fixed_class_init(GtkFixedClass * c, SEXP e); void S_gtk_font_button_class_init(GtkFontButtonClass * c, SEXP e); void S_gtk_font_selection_class_init(GtkFontSelectionClass * c, SEXP e); void S_gtk_font_selection_dialog_class_init(GtkFontSelectionDialogClass * c, SEXP e); void S_gtk_frame_class_init(GtkFrameClass * c, SEXP e); void S_gtk_gamma_curve_class_init(GtkGammaCurveClass * c, SEXP e); void S_gtk_handle_box_class_init(GtkHandleBoxClass * c, SEXP e); void S_gtk_hbox_class_init(GtkHBoxClass * c, SEXP e); void S_gtk_hbutton_box_class_init(GtkHButtonBoxClass * c, SEXP e); void S_gtk_hpaned_class_init(GtkHPanedClass * c, SEXP e); void S_gtk_hruler_class_init(GtkHRulerClass * c, SEXP e); void S_gtk_hscale_class_init(GtkHScaleClass * c, SEXP e); void S_gtk_hscrollbar_class_init(GtkHScrollbarClass * c, SEXP e); void S_gtk_hseparator_class_init(GtkHSeparatorClass * c, SEXP e); void S_gtk_icon_factory_class_init(GtkIconFactoryClass * c, SEXP e); void S_gtk_icon_theme_class_init(GtkIconThemeClass * c, SEXP e); void S_gtk_icon_view_class_init(GtkIconViewClass * c, SEXP e); void S_gtk_image_class_init(GtkImageClass * c, SEXP e); void S_gtk_image_menu_item_class_init(GtkImageMenuItemClass * c, SEXP e); void S_gtk_imcontext_class_init(GtkIMContextClass * c, SEXP e); void S_gtk_imcontext_simple_class_init(GtkIMContextSimpleClass * c, SEXP e); void S_gtk_immulticontext_class_init(GtkIMMulticontextClass * c, SEXP e); void S_gtk_input_dialog_class_init(GtkInputDialogClass * c, SEXP e); void S_gtk_invisible_class_init(GtkInvisibleClass * c, SEXP e); void S_gtk_item_class_init(GtkItemClass * c, SEXP e); void S_gtk_item_factory_class_init(GtkItemFactoryClass * c, SEXP e); void S_gtk_label_class_init(GtkLabelClass * c, SEXP e); void S_gtk_layout_class_init(GtkLayoutClass * c, SEXP e); void S_gtk_list_class_init(GtkListClass * c, SEXP e); void S_gtk_list_item_class_init(GtkListItemClass * c, SEXP e); void S_gtk_list_store_class_init(GtkListStoreClass * c, SEXP e); void S_gtk_menu_class_init(GtkMenuClass * c, SEXP e); void S_gtk_menu_bar_class_init(GtkMenuBarClass * c, SEXP e); void S_gtk_menu_item_class_init(GtkMenuItemClass * c, SEXP e); void S_gtk_menu_shell_class_init(GtkMenuShellClass * c, SEXP e); void S_gtk_menu_tool_button_class_init(GtkMenuToolButtonClass * c, SEXP e); void S_gtk_message_dialog_class_init(GtkMessageDialogClass * c, SEXP e); void S_gtk_misc_class_init(GtkMiscClass * c, SEXP e); void S_gtk_notebook_class_init(GtkNotebookClass * c, SEXP e); void S_gtk_object_class_init(GtkObjectClass * c, SEXP e); void S_gtk_old_editable_class_init(GtkOldEditableClass * c, SEXP e); void S_gtk_option_menu_class_init(GtkOptionMenuClass * c, SEXP e); void S_gtk_paned_class_init(GtkPanedClass * c, SEXP e); void S_gtk_pixmap_class_init(GtkPixmapClass * c, SEXP e); void S_gtk_plug_class_init(GtkPlugClass * c, SEXP e); void S_gtk_preview_class_init(GtkPreviewClass * c, SEXP e); void S_gtk_progress_class_init(GtkProgressClass * c, SEXP e); void S_gtk_progress_bar_class_init(GtkProgressBarClass * c, SEXP e); void S_gtk_radio_action_class_init(GtkRadioActionClass * c, SEXP e); void S_gtk_radio_button_class_init(GtkRadioButtonClass * c, SEXP e); void S_gtk_radio_menu_item_class_init(GtkRadioMenuItemClass * c, SEXP e); void S_gtk_radio_tool_button_class_init(GtkRadioToolButtonClass * c, SEXP e); void S_gtk_range_class_init(GtkRangeClass * c, SEXP e); void S_gtk_rc_style_class_init(GtkRcStyleClass * c, SEXP e); void S_gtk_ruler_class_init(GtkRulerClass * c, SEXP e); void S_gtk_scale_class_init(GtkScaleClass * c, SEXP e); void S_gtk_scrollbar_class_init(GtkScrollbarClass * c, SEXP e); void S_gtk_scrolled_window_class_init(GtkScrolledWindowClass * c, SEXP e); void S_gtk_separator_class_init(GtkSeparatorClass * c, SEXP e); void S_gtk_separator_menu_item_class_init(GtkSeparatorMenuItemClass * c, SEXP e); void S_gtk_separator_tool_item_class_init(GtkSeparatorToolItemClass * c, SEXP e); void S_gtk_settings_class_init(GtkSettingsClass * c, SEXP e); void S_gtk_size_group_class_init(GtkSizeGroupClass * c, SEXP e); void S_gtk_socket_class_init(GtkSocketClass * c, SEXP e); void S_gtk_spin_button_class_init(GtkSpinButtonClass * c, SEXP e); void S_gtk_statusbar_class_init(GtkStatusbarClass * c, SEXP e); void S_gtk_style_class_init(GtkStyleClass * c, SEXP e); void S_gtk_table_class_init(GtkTableClass * c, SEXP e); void S_gtk_tearoff_menu_item_class_init(GtkTearoffMenuItemClass * c, SEXP e); void S_gtk_text_buffer_class_init(GtkTextBufferClass * c, SEXP e); void S_gtk_text_child_anchor_class_init(GtkTextChildAnchorClass * c, SEXP e); void S_gtk_text_mark_class_init(GtkTextMarkClass * c, SEXP e); void S_gtk_text_tag_class_init(GtkTextTagClass * c, SEXP e); void S_gtk_text_tag_table_class_init(GtkTextTagTableClass * c, SEXP e); void S_gtk_text_view_class_init(GtkTextViewClass * c, SEXP e); void S_gtk_tips_query_class_init(GtkTipsQueryClass * c, SEXP e); void S_gtk_toggle_action_class_init(GtkToggleActionClass * c, SEXP e); void S_gtk_toggle_button_class_init(GtkToggleButtonClass * c, SEXP e); void S_gtk_toggle_tool_button_class_init(GtkToggleToolButtonClass * c, SEXP e); void S_gtk_toolbar_class_init(GtkToolbarClass * c, SEXP e); void S_gtk_tool_button_class_init(GtkToolButtonClass * c, SEXP e); void S_gtk_tool_item_class_init(GtkToolItemClass * c, SEXP e); void S_gtk_tooltips_class_init(GtkTooltipsClass * c, SEXP e); void S_gtk_tree_model_filter_class_init(GtkTreeModelFilterClass * c, SEXP e); void S_gtk_tree_model_sort_class_init(GtkTreeModelSortClass * c, SEXP e); void S_gtk_tree_selection_class_init(GtkTreeSelectionClass * c, SEXP e); void S_gtk_tree_store_class_init(GtkTreeStoreClass * c, SEXP e); void S_gtk_tree_view_class_init(GtkTreeViewClass * c, SEXP e); void S_gtk_tree_view_column_class_init(GtkTreeViewColumnClass * c, SEXP e); void S_gtk_uimanager_class_init(GtkUIManagerClass * c, SEXP e); void S_gtk_vbox_class_init(GtkVBoxClass * c, SEXP e); void S_gtk_vbutton_box_class_init(GtkVButtonBoxClass * c, SEXP e); void S_gtk_viewport_class_init(GtkViewportClass * c, SEXP e); void S_gtk_vpaned_class_init(GtkVPanedClass * c, SEXP e); void S_gtk_vruler_class_init(GtkVRulerClass * c, SEXP e); void S_gtk_vscale_class_init(GtkVScaleClass * c, SEXP e); void S_gtk_vscrollbar_class_init(GtkVScrollbarClass * c, SEXP e); void S_gtk_vseparator_class_init(GtkVSeparatorClass * c, SEXP e); void S_gtk_widget_class_init(GtkWidgetClass * c, SEXP e); void S_gtk_window_class_init(GtkWindowClass * c, SEXP e); void S_gtk_window_group_class_init(GtkWindowGroupClass * c, SEXP e); #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_accel_class_init(GtkCellRendererAccelClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_spin_class_init(GtkCellRendererSpinClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_print_operation_class_init(GtkPrintOperationClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_manager_class_init(GtkRecentManagerClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_status_icon_class_init(GtkStatusIconClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_menu_class_init(GtkRecentChooserMenuClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_link_button_class_init(GtkLinkButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_widget_class_init(GtkRecentChooserWidgetClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_dialog_class_init(GtkRecentChooserDialogClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_assistant_class_init(GtkAssistantClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_builder_class_init(GtkBuilderClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_recent_action_class_init(GtkRecentActionClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_scale_button_class_init(GtkScaleButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_volume_button_class_init(GtkVolumeButtonClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_mount_operation_class_init(GtkMountOperationClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_entry_buffer_class_init(GtkEntryBufferClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_info_bar_class_init(GtkInfoBarClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_hsv_class_init(GtkHSVClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_item_group_class_init(GtkToolItemGroupClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_palette_class_init(GtkToolPaletteClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_cell_renderer_spinner_class_init(GtkCellRendererSpinnerClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_offscreen_window_class_init(GtkOffscreenWindowClass * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_spinner_class_init(GtkSpinnerClass * c, SEXP e); #endif void S_gtk_cell_editable_class_init(GtkCellEditableIface * c, SEXP e); void S_gtk_cell_layout_class_init(GtkCellLayoutIface * c, SEXP e); void S_gtk_editable_class_init(GtkEditableClass * c, SEXP e); void S_gtk_tree_drag_dest_class_init(GtkTreeDragDestIface * c, SEXP e); void S_gtk_tree_drag_source_class_init(GtkTreeDragSourceIface * c, SEXP e); void S_gtk_tree_model_class_init(GtkTreeModelIface * c, SEXP e); void S_gtk_tree_sortable_class_init(GtkTreeSortableIface * c, SEXP e); #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_buildable_class_init(GtkBuildableIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_tool_shell_class_init(GtkToolShellIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_activatable_class_init(GtkActivatableIface * c, SEXP e); #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_orientable_class_init(GtkOrientableIface * c, SEXP e); #endif #endif RGtk2/src/RGtk2/pango.h0000644000176000001440000000162212362467242014241 0ustar ripleyusers#ifndef RGTK2_PANGO_H #define RGTK2_PANGO_H #include #include #define PANGO_ENABLE_BACKEND #include #include /* Pango got version macros in 1.16.0; before that, assume 1.10.0 */ #ifndef PANGO_VERSION_CHECK #define PANGO_CHECK_VERSION(major,minor,micro) \ (1 > (major) || \ (1 == (major) && 10 > (minor)) || \ (1 == (major) && 10 == (minor) && \ 0 >= (micro))) #else #define PANGO_CHECK_VERSION PANGO_VERSION_CHECK #endif #include #include /**** Conversion *****/ PangoRectangle* asCPangoRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRPangoRectangle(PangoRectangle *rect); USER_OBJECT_ asRPangoAttribute(PangoAttribute *attr); USER_OBJECT_ asRPangoAttributeCopy(PangoAttribute *attr); USER_OBJECT_ toRPangoAttribute(PangoAttribute *attr, gboolean finalize); #endif RGtk2/src/RGtk2/pangoClasses.h0000644000176000001440000000077512362467242015567 0ustar ripleyusers#ifndef S_PANGO_CLASSES_H #define S_PANGO_CLASSES_H #include #include void S_pango_font_class_init(PangoFontClass * c, SEXP e); void S_pango_font_face_class_init(PangoFontFaceClass * c, SEXP e); void S_pango_font_family_class_init(PangoFontFamilyClass * c, SEXP e); void S_pango_font_map_class_init(PangoFontMapClass * c, SEXP e); void S_pango_fontset_class_init(PangoFontsetClass * c, SEXP e); void S_pango_renderer_class_init(PangoRendererClass * c, SEXP e); #endif RGtk2/src/RGtk2/gtkUserFuncImports.c0000644000176000001440000004450012362467242016750 0ustar ripleyusersvoid S_GtkAboutDialogActivateLinkFunc(GtkAboutDialog* about, const gchar* link, gpointer data) { static void (*fun)(GtkAboutDialog*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkAboutDialog*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkAboutDialogActivateLinkFunc")); return(fun(about, link, data)); } void S_GtkCellLayoutDataFunc(GtkCellLayout* cell_layout, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkCellLayout*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkCellLayout*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkCellLayoutDataFunc")); return(fun(cell_layout, cell, tree_model, iter, data)); } void S_GtkClipboardGetFunc(GtkClipboard* clipboard, GtkSelectionData* selection_data, guint info, gpointer user_data_or_owner) { static void (*fun)(GtkClipboard*, GtkSelectionData*, guint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GtkSelectionData*, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardGetFunc")); return(fun(clipboard, selection_data, info, user_data_or_owner)); } void S_GtkClipboardReceivedFunc(GtkClipboard* clipboard, GtkSelectionData* selection_data, gpointer data) { static void (*fun)(GtkClipboard*, GtkSelectionData*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GtkSelectionData*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardReceivedFunc")); return(fun(clipboard, selection_data, data)); } void S_GtkClipboardImageReceivedFunc(GtkClipboard* clipboard, GdkPixbuf* image, gpointer data) { static void (*fun)(GtkClipboard*, GdkPixbuf*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkPixbuf*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardImageReceivedFunc")); return(fun(clipboard, image, data)); } void S_GtkClipboardTextReceivedFunc(GtkClipboard* clipboard, const gchar* text, gpointer data) { static void (*fun)(GtkClipboard*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardTextReceivedFunc")); return(fun(clipboard, text, data)); } void S_GtkClipboardTargetsReceivedFunc(GtkClipboard* clipboard, GdkAtom* atoms, gint n_atoms, gpointer data) { static void (*fun)(GtkClipboard*, GdkAtom[], gint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkAtom[], gint, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardTargetsReceivedFunc")); return(fun(clipboard, atoms, n_atoms, data)); } void S_GtkColorSelectionChangePaletteFunc(const GdkColor* colors, gint n_colors) { static void (*fun)(const GdkColor[], gint) = NULL; if(!fun) fun = ((void (*)(const GdkColor[], gint))R_GetCCallable("RGtk2", "S_GtkColorSelectionChangePaletteFunc")); return(fun(colors, n_colors)); } void S_GtkColorSelectionChangePaletteWithScreenFunc(GdkScreen* screen, const GdkColor* colors, gint n_colors) { static void (*fun)(GdkScreen*, const GdkColor[], gint) = NULL; if(!fun) fun = ((void (*)(GdkScreen*, const GdkColor[], gint))R_GetCCallable("RGtk2", "S_GtkColorSelectionChangePaletteWithScreenFunc")); return(fun(screen, colors, n_colors)); } gboolean S_GtkCTreeGNodeFunc(GtkCTree* ctree, guint depth, GNode* gnode, GtkCTreeNode* cnode, gpointer data) { static gboolean (*fun)(GtkCTree*, guint, GNode*, GtkCTreeNode*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkCTree*, guint, GNode*, GtkCTreeNode*, gpointer))R_GetCCallable("RGtk2", "S_GtkCTreeGNodeFunc")); return(fun(ctree, depth, gnode, cnode, data)); } void S_GtkCTreeFunc(GtkCTree* ctree, GtkCTreeNode* node, gpointer data) { static void (*fun)(GtkCTree*, GtkCTreeNode*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkCTree*, GtkCTreeNode*, gpointer))R_GetCCallable("RGtk2", "S_GtkCTreeFunc")); return(fun(ctree, node, data)); } gboolean S_GtkEntryCompletionMatchFunc(GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer user_data) { static gboolean (*fun)(GtkEntryCompletion*, const gchar*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkEntryCompletion*, const gchar*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkEntryCompletionMatchFunc")); return(fun(completion, key, iter, user_data)); } gboolean S_GtkFileFilterFunc(const GtkFileFilterInfo* filter_info, gpointer data) { static gboolean (*fun)(const GtkFileFilterInfo*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const GtkFileFilterInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkFileFilterFunc")); return(fun(filter_info, data)); } void S_GtkIconViewForeachFunc(GtkIconView* icon_view, GtkTreePath* path, gpointer data) { static void (*fun)(GtkIconView*, GtkTreePath*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkIconView*, GtkTreePath*, gpointer))R_GetCCallable("RGtk2", "S_GtkIconViewForeachFunc")); return(fun(icon_view, path, data)); } void S_GtkTranslateFunc(const gchar* path, gpointer func_data) { static void (*fun)(const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkTranslateFunc")); return(fun(path, func_data)); } gboolean S_GtkFunction(gpointer data) { static gboolean (*fun)(gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gpointer))R_GetCCallable("RGtk2", "S_GtkFunction")); return(fun(data)); } gint S_GtkKeySnoopFunc(GtkWidget* grab_widget, GdkEventKey* event, gpointer func_data) { static gint (*fun)(GtkWidget*, GdkEventKey*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkWidget*, GdkEventKey*, gpointer))R_GetCCallable("RGtk2", "S_GtkKeySnoopFunc")); return(fun(grab_widget, event, func_data)); } gint S_GtkMenuPositionFunc(GtkMenu* menu, gint* x, gint* y, gboolean* push_in, gpointer user_data) { static gint (*fun)(GtkMenu*, gint*, gint*, gboolean*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkMenu*, gint*, gint*, gboolean*, gpointer))R_GetCCallable("RGtk2", "S_GtkMenuPositionFunc")); return(fun(menu, x, y, push_in, user_data)); } gint S_GtkTreeModelForeachFunc(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelForeachFunc")); return(fun(model, path, iter, data)); } gint S_GtkTreeModelFilterVisibleFunc(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelFilterVisibleFunc")); return(fun(model, iter, data)); } gint S_GtkTreeModelFilterModifyFunc(GtkTreeModel* model, GtkTreeIter* iter, GValue* value, gint column, gpointer data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, GValue*, gint, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, GValue*, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeModelFilterModifyFunc")); return(fun(model, iter, value, column, data)); } gboolean S_GtkTreeSelectionFunc(GtkTreeSelection* selection, GtkTreeModel* model, GtkTreePath* path, gboolean path_currently_selected, gpointer data) { static gboolean (*fun)(GtkTreeSelection*, GtkTreeModel*, GtkTreePath*, gboolean, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeSelection*, GtkTreeModel*, GtkTreePath*, gboolean, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeSelectionFunc")); return(fun(selection, model, path, path_currently_selected, data)); } void S_GtkTreeSelectionForeachFunc(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeSelectionForeachFunc")); return(fun(model, path, iter, data)); } gint S_GtkTreeIterCompareFunc(GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b, gpointer user_data) { static gint (*fun)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeIterCompareFunc")); return(fun(model, a, b, user_data)); } void S_GtkTreeCellDataFunc(GtkTreeViewColumn* tree_column, GtkCellRenderer* cell, GtkTreeModel* tree_model, GtkTreeIter* iter, gpointer data) { static void (*fun)(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeCellDataFunc")); return(fun(tree_column, cell, tree_model, iter, data)); } gboolean S_GtkTreeViewColumnDropFunc(GtkTreeView* tree_view, GtkTreeViewColumn* column, GtkTreeViewColumn* prev_column, GtkTreeViewColumn* next_column, gpointer data) { static gboolean (*fun)(GtkTreeView*, GtkTreeViewColumn*, GtkTreeViewColumn*, GtkTreeViewColumn*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeView*, GtkTreeViewColumn*, GtkTreeViewColumn*, GtkTreeViewColumn*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewColumnDropFunc")); return(fun(tree_view, column, prev_column, next_column, data)); } void S_GtkTreeViewMappingFunc(GtkTreeView* tree_view, GtkTreePath* path, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkTreePath*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkTreePath*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewMappingFunc")); return(fun(tree_view, path, user_data)); } gboolean S_GtkTreeViewSearchEqualFunc(GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter, gpointer search_data) { static gboolean (*fun)(GtkTreeModel*, gint, const gchar*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeModel*, gint, const gchar*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewSearchEqualFunc")); return(fun(model, column, key, iter, search_data)); } void S_GtkTreeDestroyCountFunc(GtkTreeView* tree_view, GtkTreePath* path, gint children, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkTreePath*, gint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkTreePath*, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeDestroyCountFunc")); return(fun(tree_view, path, children, user_data)); } gboolean S_GtkTreeViewRowSeparatorFunc(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { static gboolean (*fun)(GtkTreeModel*, GtkTreeIter*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkTreeModel*, GtkTreeIter*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewRowSeparatorFunc")); return(fun(model, iter, data)); } void S_GtkCallback(GtkWidget* child, gpointer data) { static void (*fun)(GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkCallback")); return(fun(child, data)); } void S_GtkAccelMapForeach(gpointer data, const gchar* accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed) { static void (*fun)(gpointer, const gchar*, guint, GdkModifierType, gboolean) = NULL; if(!fun) fun = ((void (*)(gpointer, const gchar*, guint, GdkModifierType, gboolean))R_GetCCallable("RGtk2", "S_GtkAccelMapForeach")); return(fun(data, accel_path, accel_key, accel_mods, changed)); } gboolean S_GtkAccelGroupFindFunc(GtkAccelKey* key, GClosure* closure, gpointer data) { static gboolean (*fun)(GtkAccelKey*, GClosure*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(GtkAccelKey*, GClosure*, gpointer))R_GetCCallable("RGtk2", "S_GtkAccelGroupFindFunc")); return(fun(key, closure, data)); } gboolean S_GtkAccelGroupActivate(GtkAccelGroup* accel_group, GObject* acceleratable, guint keyval, GdkModifierType modifier) { static gboolean (*fun)(GtkAccelGroup*, GObject*, guint, GdkModifierType) = NULL; if(!fun) fun = ((gboolean (*)(GtkAccelGroup*, GObject*, guint, GdkModifierType))R_GetCCallable("RGtk2", "S_GtkAccelGroupActivate")); return(fun(accel_group, acceleratable, keyval, modifier)); } void S_GtkTextTagTableForeach(GtkTextTag* tag, gpointer data) { static void (*fun)(GtkTextTag*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTextTag*, gpointer))R_GetCCallable("RGtk2", "S_GtkTextTagTableForeach")); return(fun(tag, data)); } gboolean S_GtkTextCharPredicate(gunichar ch, gpointer user_data) { static gboolean (*fun)(gunichar, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gunichar, gpointer))R_GetCCallable("RGtk2", "S_GtkTextCharPredicate")); return(fun(ch, user_data)); } void S_GtkItemFactoryCallback1(gpointer callback_data, guint callback_action, GtkWidget* widget) { static void (*fun)(gpointer, guint, GtkWidget*) = NULL; if(!fun) fun = ((void (*)(gpointer, guint, GtkWidget*))R_GetCCallable("RGtk2", "S_GtkItemFactoryCallback1")); return(fun(callback_data, callback_action, widget)); } void S_GtkItemFactoryCallback2(GtkWidget* widget, gpointer callback_data, guint callback_action) { static void (*fun)(GtkWidget*, gpointer, guint) = NULL; if(!fun) fun = ((void (*)(GtkWidget*, gpointer, guint))R_GetCCallable("RGtk2", "S_GtkItemFactoryCallback2")); return(fun(widget, callback_data, callback_action)); } #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkAssistantPageFunc(gint current_page, gpointer data) { static gint (*fun)(gint, gpointer) = NULL; if(!fun) fun = ((gint (*)(gint, gpointer))R_GetCCallable("RGtk2", "S_GtkAssistantPageFunc")); return(fun(current_page, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkClipboardRichTextReceivedFunc(GtkClipboard* clipboard, GdkAtom format, const guint8* text, gsize length, gpointer data) { static void (*fun)(GtkClipboard*, GdkAtom, const guint8*, gsize, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, GdkAtom, const guint8*, gsize, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardRichTextReceivedFunc")); return(fun(clipboard, format, text, length, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkLinkButtonUriFunc(GtkLinkButton* button, const gchar* link, gpointer user_data) { static void (*fun)(GtkLinkButton*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkLinkButton*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkLinkButtonUriFunc")); return(fun(button, link, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* S_GtkNotebookWindowCreationFunc(GtkNotebook* source, GtkWidget* page, gint x, gint y, gpointer data) { static GtkNotebook* (*fun)(GtkNotebook*, GtkWidget*, gint, gint, gpointer) = NULL; if(!fun) fun = ((GtkNotebook* (*)(GtkNotebook*, GtkWidget*, gint, gint, gpointer))R_GetCCallable("RGtk2", "S_GtkNotebookWindowCreationFunc")); return(fun(source, page, x, y, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPageSetupDoneFunc(GtkPageSetup* page_setup, gpointer data) { static void (*fun)(GtkPageSetup*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkPageSetup*, gpointer))R_GetCCallable("RGtk2", "S_GtkPageSetupDoneFunc")); return(fun(page_setup, data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPrintSettingsFunc(const gchar* key, const gchar* value, gpointer user_data) { static void (*fun)(const gchar*, const gchar*, gpointer) = NULL; if(!fun) fun = ((void (*)(const gchar*, const gchar*, gpointer))R_GetCCallable("RGtk2", "S_GtkPrintSettingsFunc")); return(fun(key, value, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkRecentSortFunc(GtkRecentInfo* a, GtkRecentInfo* b, gpointer user_data) { static gint (*fun)(GtkRecentInfo*, GtkRecentInfo*, gpointer) = NULL; if(!fun) fun = ((gint (*)(GtkRecentInfo*, GtkRecentInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkRecentSortFunc")); return(fun(a, b, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkRecentFilterFunc(const GtkRecentFilterInfo* filter_info, gpointer user_data) { static gboolean (*fun)(const GtkRecentFilterInfo*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(const GtkRecentFilterInfo*, gpointer))R_GetCCallable("RGtk2", "S_GtkRecentFilterFunc")); return(fun(filter_info, user_data)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkTextBufferDeserializeFunc(GtkTextBuffer* register_buffer, GtkTextBuffer* content_buffer, GtkTextIter* iter, const guint8* data, gsize length, gboolean create_tags, gpointer user_data, GError** error) { static gboolean (*fun)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, const guint8*, gsize, gboolean, gpointer, GError**) = NULL; if(!fun) fun = ((gboolean (*)(GtkTextBuffer*, GtkTextBuffer*, GtkTextIter*, const guint8*, gsize, gboolean, gpointer, GError**))R_GetCCallable("RGtk2", "S_GtkTextBufferDeserializeFunc")); return(fun(register_buffer, content_buffer, iter, data, length, create_tags, user_data, error)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkTreeViewSearchPositionFunc(GtkTreeView* tree_view, GtkWidget* search_dialog, gpointer user_data) { static void (*fun)(GtkTreeView*, GtkWidget*, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkTreeView*, GtkWidget*, gpointer))R_GetCCallable("RGtk2", "S_GtkTreeViewSearchPositionFunc")); return(fun(tree_view, search_dialog, user_data)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_GtkBuilderConnectFunc(GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, guint flags, gpointer user_data) { static void (*fun)(GtkBuilder*, GObject*, const gchar*, const gchar*, GObject*, guint, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkBuilder*, GObject*, const gchar*, const gchar*, GObject*, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkBuilderConnectFunc")); return(fun(builder, object, signal_name, handler_name, connect_object, flags, user_data)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) gchar* S_GtkCalendarDetailFunc(GtkCalendar* calendar, guint year, guint month, guint day, gpointer user_data) { static gchar* (*fun)(GtkCalendar*, guint, guint, guint, gpointer) = NULL; if(!fun) fun = ((gchar* (*)(GtkCalendar*, guint, guint, guint, gpointer))R_GetCCallable("RGtk2", "S_GtkCalendarDetailFunc")); return(fun(calendar, year, month, day, user_data)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_GtkClipboardURIReceivedFunc(GtkClipboard* clipboard, gchar** uris, gpointer user_data) { static void (*fun)(GtkClipboard*, gchar**, gpointer) = NULL; if(!fun) fun = ((void (*)(GtkClipboard*, gchar**, gpointer))R_GetCCallable("RGtk2", "S_GtkClipboardURIReceivedFunc")); return(fun(clipboard, uris, user_data)); } #endif RGtk2/src/RGtk2/gtkClassImports.c0000644000176000001440000013614412362467242016271 0ustar ripleyusersvoid S_gtk_about_dialog_class_init(GtkAboutDialogClass * c, SEXP e) { static void (*fun)(GtkAboutDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAboutDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_about_dialog_class_init")); return(fun(c, e)); } void S_gtk_accel_group_class_init(GtkAccelGroupClass * c, SEXP e) { static void (*fun)(GtkAccelGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccelGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accel_group_class_init")); return(fun(c, e)); } void S_gtk_accel_label_class_init(GtkAccelLabelClass * c, SEXP e) { static void (*fun)(GtkAccelLabelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccelLabelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accel_label_class_init")); return(fun(c, e)); } void S_gtk_accessible_class_init(GtkAccessibleClass * c, SEXP e) { static void (*fun)(GtkAccessibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAccessibleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_accessible_class_init")); return(fun(c, e)); } void S_gtk_action_class_init(GtkActionClass * c, SEXP e) { static void (*fun)(GtkActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_action_class_init")); return(fun(c, e)); } void S_gtk_action_group_class_init(GtkActionGroupClass * c, SEXP e) { static void (*fun)(GtkActionGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActionGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_action_group_class_init")); return(fun(c, e)); } void S_gtk_adjustment_class_init(GtkAdjustmentClass * c, SEXP e) { static void (*fun)(GtkAdjustmentClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAdjustmentClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_adjustment_class_init")); return(fun(c, e)); } void S_gtk_alignment_class_init(GtkAlignmentClass * c, SEXP e) { static void (*fun)(GtkAlignmentClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAlignmentClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_alignment_class_init")); return(fun(c, e)); } void S_gtk_arrow_class_init(GtkArrowClass * c, SEXP e) { static void (*fun)(GtkArrowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkArrowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_arrow_class_init")); return(fun(c, e)); } void S_gtk_aspect_frame_class_init(GtkAspectFrameClass * c, SEXP e) { static void (*fun)(GtkAspectFrameClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAspectFrameClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_aspect_frame_class_init")); return(fun(c, e)); } void S_gtk_bin_class_init(GtkBinClass * c, SEXP e) { static void (*fun)(GtkBinClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBinClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_bin_class_init")); return(fun(c, e)); } void S_gtk_box_class_init(GtkBoxClass * c, SEXP e) { static void (*fun)(GtkBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_box_class_init")); return(fun(c, e)); } void S_gtk_button_class_init(GtkButtonClass * c, SEXP e) { static void (*fun)(GtkButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_button_class_init")); return(fun(c, e)); } void S_gtk_button_box_class_init(GtkButtonBoxClass * c, SEXP e) { static void (*fun)(GtkButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_button_box_class_init")); return(fun(c, e)); } void S_gtk_calendar_class_init(GtkCalendarClass * c, SEXP e) { static void (*fun)(GtkCalendarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCalendarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_calendar_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_class_init(GtkCellRendererClass * c, SEXP e) { static void (*fun)(GtkCellRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_combo_class_init(GtkCellRendererComboClass * c, SEXP e) { static void (*fun)(GtkCellRendererComboClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererComboClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_combo_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_pixbuf_class_init(GtkCellRendererPixbufClass * c, SEXP e) { static void (*fun)(GtkCellRendererPixbufClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererPixbufClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_pixbuf_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_progress_class_init(GtkCellRendererProgressClass * c, SEXP e) { static void (*fun)(GtkCellRendererProgressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererProgressClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_progress_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_text_class_init(GtkCellRendererTextClass * c, SEXP e) { static void (*fun)(GtkCellRendererTextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererTextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_text_class_init")); return(fun(c, e)); } void S_gtk_cell_renderer_toggle_class_init(GtkCellRendererToggleClass * c, SEXP e) { static void (*fun)(GtkCellRendererToggleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererToggleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_toggle_class_init")); return(fun(c, e)); } void S_gtk_cell_view_class_init(GtkCellViewClass * c, SEXP e) { static void (*fun)(GtkCellViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_view_class_init")); return(fun(c, e)); } void S_gtk_check_button_class_init(GtkCheckButtonClass * c, SEXP e) { static void (*fun)(GtkCheckButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCheckButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_check_button_class_init")); return(fun(c, e)); } void S_gtk_check_menu_item_class_init(GtkCheckMenuItemClass * c, SEXP e) { static void (*fun)(GtkCheckMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCheckMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_check_menu_item_class_init")); return(fun(c, e)); } void S_gtk_clist_class_init(GtkCListClass * c, SEXP e) { static void (*fun)(GtkCListClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCListClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_clist_class_init")); return(fun(c, e)); } void S_gtk_color_button_class_init(GtkColorButtonClass * c, SEXP e) { static void (*fun)(GtkColorButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_button_class_init")); return(fun(c, e)); } void S_gtk_color_selection_class_init(GtkColorSelectionClass * c, SEXP e) { static void (*fun)(GtkColorSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_selection_class_init")); return(fun(c, e)); } void S_gtk_color_selection_dialog_class_init(GtkColorSelectionDialogClass * c, SEXP e) { static void (*fun)(GtkColorSelectionDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkColorSelectionDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_color_selection_dialog_class_init")); return(fun(c, e)); } void S_gtk_combo_class_init(GtkComboClass * c, SEXP e) { static void (*fun)(GtkComboClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_class_init")); return(fun(c, e)); } void S_gtk_combo_box_class_init(GtkComboBoxClass * c, SEXP e) { static void (*fun)(GtkComboBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_box_class_init")); return(fun(c, e)); } void S_gtk_combo_box_entry_class_init(GtkComboBoxEntryClass * c, SEXP e) { static void (*fun)(GtkComboBoxEntryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkComboBoxEntryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_combo_box_entry_class_init")); return(fun(c, e)); } void S_gtk_container_class_init(GtkContainerClass * c, SEXP e) { static void (*fun)(GtkContainerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkContainerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_container_class_init")); return(fun(c, e)); } void S_gtk_ctree_class_init(GtkCTreeClass * c, SEXP e) { static void (*fun)(GtkCTreeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCTreeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_ctree_class_init")); return(fun(c, e)); } void S_gtk_curve_class_init(GtkCurveClass * c, SEXP e) { static void (*fun)(GtkCurveClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCurveClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_curve_class_init")); return(fun(c, e)); } void S_gtk_dialog_class_init(GtkDialogClass * c, SEXP e) { static void (*fun)(GtkDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_dialog_class_init")); return(fun(c, e)); } void S_gtk_drawing_area_class_init(GtkDrawingAreaClass * c, SEXP e) { static void (*fun)(GtkDrawingAreaClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkDrawingAreaClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_drawing_area_class_init")); return(fun(c, e)); } void S_gtk_entry_class_init(GtkEntryClass * c, SEXP e) { static void (*fun)(GtkEntryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_class_init")); return(fun(c, e)); } void S_gtk_entry_completion_class_init(GtkEntryCompletionClass * c, SEXP e) { static void (*fun)(GtkEntryCompletionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryCompletionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_completion_class_init")); return(fun(c, e)); } void S_gtk_event_box_class_init(GtkEventBoxClass * c, SEXP e) { static void (*fun)(GtkEventBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEventBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_event_box_class_init")); return(fun(c, e)); } void S_gtk_expander_class_init(GtkExpanderClass * c, SEXP e) { static void (*fun)(GtkExpanderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkExpanderClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_expander_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_button_class_init(GtkFileChooserButtonClass * c, SEXP e) { static void (*fun)(GtkFileChooserButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_button_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_dialog_class_init(GtkFileChooserDialogClass * c, SEXP e) { static void (*fun)(GtkFileChooserDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_dialog_class_init")); return(fun(c, e)); } void S_gtk_file_chooser_widget_class_init(GtkFileChooserWidgetClass * c, SEXP e) { static void (*fun)(GtkFileChooserWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileChooserWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_chooser_widget_class_init")); return(fun(c, e)); } void S_gtk_file_selection_class_init(GtkFileSelectionClass * c, SEXP e) { static void (*fun)(GtkFileSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFileSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_file_selection_class_init")); return(fun(c, e)); } void S_gtk_fixed_class_init(GtkFixedClass * c, SEXP e) { static void (*fun)(GtkFixedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFixedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_fixed_class_init")); return(fun(c, e)); } void S_gtk_font_button_class_init(GtkFontButtonClass * c, SEXP e) { static void (*fun)(GtkFontButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_button_class_init")); return(fun(c, e)); } void S_gtk_font_selection_class_init(GtkFontSelectionClass * c, SEXP e) { static void (*fun)(GtkFontSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_selection_class_init")); return(fun(c, e)); } void S_gtk_font_selection_dialog_class_init(GtkFontSelectionDialogClass * c, SEXP e) { static void (*fun)(GtkFontSelectionDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFontSelectionDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_font_selection_dialog_class_init")); return(fun(c, e)); } void S_gtk_frame_class_init(GtkFrameClass * c, SEXP e) { static void (*fun)(GtkFrameClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkFrameClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_frame_class_init")); return(fun(c, e)); } void S_gtk_gamma_curve_class_init(GtkGammaCurveClass * c, SEXP e) { static void (*fun)(GtkGammaCurveClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkGammaCurveClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_gamma_curve_class_init")); return(fun(c, e)); } void S_gtk_handle_box_class_init(GtkHandleBoxClass * c, SEXP e) { static void (*fun)(GtkHandleBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHandleBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_handle_box_class_init")); return(fun(c, e)); } void S_gtk_hbox_class_init(GtkHBoxClass * c, SEXP e) { static void (*fun)(GtkHBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hbox_class_init")); return(fun(c, e)); } void S_gtk_hbutton_box_class_init(GtkHButtonBoxClass * c, SEXP e) { static void (*fun)(GtkHButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hbutton_box_class_init")); return(fun(c, e)); } void S_gtk_hpaned_class_init(GtkHPanedClass * c, SEXP e) { static void (*fun)(GtkHPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hpaned_class_init")); return(fun(c, e)); } void S_gtk_hruler_class_init(GtkHRulerClass * c, SEXP e) { static void (*fun)(GtkHRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hruler_class_init")); return(fun(c, e)); } void S_gtk_hscale_class_init(GtkHScaleClass * c, SEXP e) { static void (*fun)(GtkHScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hscale_class_init")); return(fun(c, e)); } void S_gtk_hscrollbar_class_init(GtkHScrollbarClass * c, SEXP e) { static void (*fun)(GtkHScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hscrollbar_class_init")); return(fun(c, e)); } void S_gtk_hseparator_class_init(GtkHSeparatorClass * c, SEXP e) { static void (*fun)(GtkHSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hseparator_class_init")); return(fun(c, e)); } void S_gtk_icon_factory_class_init(GtkIconFactoryClass * c, SEXP e) { static void (*fun)(GtkIconFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_factory_class_init")); return(fun(c, e)); } void S_gtk_icon_theme_class_init(GtkIconThemeClass * c, SEXP e) { static void (*fun)(GtkIconThemeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconThemeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_theme_class_init")); return(fun(c, e)); } void S_gtk_icon_view_class_init(GtkIconViewClass * c, SEXP e) { static void (*fun)(GtkIconViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIconViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_icon_view_class_init")); return(fun(c, e)); } void S_gtk_image_class_init(GtkImageClass * c, SEXP e) { static void (*fun)(GtkImageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkImageClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_image_class_init")); return(fun(c, e)); } void S_gtk_image_menu_item_class_init(GtkImageMenuItemClass * c, SEXP e) { static void (*fun)(GtkImageMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkImageMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_image_menu_item_class_init")); return(fun(c, e)); } void S_gtk_imcontext_class_init(GtkIMContextClass * c, SEXP e) { static void (*fun)(GtkIMContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_imcontext_class_init")); return(fun(c, e)); } void S_gtk_imcontext_simple_class_init(GtkIMContextSimpleClass * c, SEXP e) { static void (*fun)(GtkIMContextSimpleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMContextSimpleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_imcontext_simple_class_init")); return(fun(c, e)); } void S_gtk_immulticontext_class_init(GtkIMMulticontextClass * c, SEXP e) { static void (*fun)(GtkIMMulticontextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkIMMulticontextClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_immulticontext_class_init")); return(fun(c, e)); } void S_gtk_input_dialog_class_init(GtkInputDialogClass * c, SEXP e) { static void (*fun)(GtkInputDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInputDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_input_dialog_class_init")); return(fun(c, e)); } void S_gtk_invisible_class_init(GtkInvisibleClass * c, SEXP e) { static void (*fun)(GtkInvisibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInvisibleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_invisible_class_init")); return(fun(c, e)); } void S_gtk_item_class_init(GtkItemClass * c, SEXP e) { static void (*fun)(GtkItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_item_class_init")); return(fun(c, e)); } void S_gtk_item_factory_class_init(GtkItemFactoryClass * c, SEXP e) { static void (*fun)(GtkItemFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkItemFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_item_factory_class_init")); return(fun(c, e)); } void S_gtk_label_class_init(GtkLabelClass * c, SEXP e) { static void (*fun)(GtkLabelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLabelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_label_class_init")); return(fun(c, e)); } void S_gtk_layout_class_init(GtkLayoutClass * c, SEXP e) { static void (*fun)(GtkLayoutClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLayoutClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_layout_class_init")); return(fun(c, e)); } void S_gtk_list_class_init(GtkListClass * c, SEXP e) { static void (*fun)(GtkListClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_class_init")); return(fun(c, e)); } void S_gtk_list_item_class_init(GtkListItemClass * c, SEXP e) { static void (*fun)(GtkListItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_item_class_init")); return(fun(c, e)); } void S_gtk_list_store_class_init(GtkListStoreClass * c, SEXP e) { static void (*fun)(GtkListStoreClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkListStoreClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_list_store_class_init")); return(fun(c, e)); } void S_gtk_menu_class_init(GtkMenuClass * c, SEXP e) { static void (*fun)(GtkMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_class_init")); return(fun(c, e)); } void S_gtk_menu_bar_class_init(GtkMenuBarClass * c, SEXP e) { static void (*fun)(GtkMenuBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_bar_class_init")); return(fun(c, e)); } void S_gtk_menu_item_class_init(GtkMenuItemClass * c, SEXP e) { static void (*fun)(GtkMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_item_class_init")); return(fun(c, e)); } void S_gtk_menu_shell_class_init(GtkMenuShellClass * c, SEXP e) { static void (*fun)(GtkMenuShellClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuShellClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_shell_class_init")); return(fun(c, e)); } void S_gtk_menu_tool_button_class_init(GtkMenuToolButtonClass * c, SEXP e) { static void (*fun)(GtkMenuToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMenuToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_menu_tool_button_class_init")); return(fun(c, e)); } void S_gtk_message_dialog_class_init(GtkMessageDialogClass * c, SEXP e) { static void (*fun)(GtkMessageDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMessageDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_message_dialog_class_init")); return(fun(c, e)); } void S_gtk_misc_class_init(GtkMiscClass * c, SEXP e) { static void (*fun)(GtkMiscClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMiscClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_misc_class_init")); return(fun(c, e)); } void S_gtk_notebook_class_init(GtkNotebookClass * c, SEXP e) { static void (*fun)(GtkNotebookClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkNotebookClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_notebook_class_init")); return(fun(c, e)); } void S_gtk_object_class_init(GtkObjectClass * c, SEXP e) { static void (*fun)(GtkObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_object_class_init")); return(fun(c, e)); } void S_gtk_old_editable_class_init(GtkOldEditableClass * c, SEXP e) { static void (*fun)(GtkOldEditableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOldEditableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_old_editable_class_init")); return(fun(c, e)); } void S_gtk_option_menu_class_init(GtkOptionMenuClass * c, SEXP e) { static void (*fun)(GtkOptionMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOptionMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_option_menu_class_init")); return(fun(c, e)); } void S_gtk_paned_class_init(GtkPanedClass * c, SEXP e) { static void (*fun)(GtkPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_paned_class_init")); return(fun(c, e)); } void S_gtk_pixmap_class_init(GtkPixmapClass * c, SEXP e) { static void (*fun)(GtkPixmapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPixmapClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_pixmap_class_init")); return(fun(c, e)); } void S_gtk_plug_class_init(GtkPlugClass * c, SEXP e) { static void (*fun)(GtkPlugClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPlugClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_plug_class_init")); return(fun(c, e)); } void S_gtk_preview_class_init(GtkPreviewClass * c, SEXP e) { static void (*fun)(GtkPreviewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPreviewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_preview_class_init")); return(fun(c, e)); } void S_gtk_progress_class_init(GtkProgressClass * c, SEXP e) { static void (*fun)(GtkProgressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkProgressClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_progress_class_init")); return(fun(c, e)); } void S_gtk_progress_bar_class_init(GtkProgressBarClass * c, SEXP e) { static void (*fun)(GtkProgressBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkProgressBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_progress_bar_class_init")); return(fun(c, e)); } void S_gtk_radio_action_class_init(GtkRadioActionClass * c, SEXP e) { static void (*fun)(GtkRadioActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_action_class_init")); return(fun(c, e)); } void S_gtk_radio_button_class_init(GtkRadioButtonClass * c, SEXP e) { static void (*fun)(GtkRadioButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_button_class_init")); return(fun(c, e)); } void S_gtk_radio_menu_item_class_init(GtkRadioMenuItemClass * c, SEXP e) { static void (*fun)(GtkRadioMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_menu_item_class_init")); return(fun(c, e)); } void S_gtk_radio_tool_button_class_init(GtkRadioToolButtonClass * c, SEXP e) { static void (*fun)(GtkRadioToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRadioToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_radio_tool_button_class_init")); return(fun(c, e)); } void S_gtk_range_class_init(GtkRangeClass * c, SEXP e) { static void (*fun)(GtkRangeClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRangeClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_range_class_init")); return(fun(c, e)); } void S_gtk_rc_style_class_init(GtkRcStyleClass * c, SEXP e) { static void (*fun)(GtkRcStyleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRcStyleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_rc_style_class_init")); return(fun(c, e)); } void S_gtk_ruler_class_init(GtkRulerClass * c, SEXP e) { static void (*fun)(GtkRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_ruler_class_init")); return(fun(c, e)); } void S_gtk_scale_class_init(GtkScaleClass * c, SEXP e) { static void (*fun)(GtkScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scale_class_init")); return(fun(c, e)); } void S_gtk_scrollbar_class_init(GtkScrollbarClass * c, SEXP e) { static void (*fun)(GtkScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scrollbar_class_init")); return(fun(c, e)); } void S_gtk_scrolled_window_class_init(GtkScrolledWindowClass * c, SEXP e) { static void (*fun)(GtkScrolledWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScrolledWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scrolled_window_class_init")); return(fun(c, e)); } void S_gtk_separator_class_init(GtkSeparatorClass * c, SEXP e) { static void (*fun)(GtkSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_class_init")); return(fun(c, e)); } void S_gtk_separator_menu_item_class_init(GtkSeparatorMenuItemClass * c, SEXP e) { static void (*fun)(GtkSeparatorMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_menu_item_class_init")); return(fun(c, e)); } void S_gtk_separator_tool_item_class_init(GtkSeparatorToolItemClass * c, SEXP e) { static void (*fun)(GtkSeparatorToolItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSeparatorToolItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_separator_tool_item_class_init")); return(fun(c, e)); } void S_gtk_settings_class_init(GtkSettingsClass * c, SEXP e) { static void (*fun)(GtkSettingsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSettingsClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_settings_class_init")); return(fun(c, e)); } void S_gtk_size_group_class_init(GtkSizeGroupClass * c, SEXP e) { static void (*fun)(GtkSizeGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSizeGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_size_group_class_init")); return(fun(c, e)); } void S_gtk_socket_class_init(GtkSocketClass * c, SEXP e) { static void (*fun)(GtkSocketClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSocketClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_socket_class_init")); return(fun(c, e)); } void S_gtk_spin_button_class_init(GtkSpinButtonClass * c, SEXP e) { static void (*fun)(GtkSpinButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSpinButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_spin_button_class_init")); return(fun(c, e)); } void S_gtk_statusbar_class_init(GtkStatusbarClass * c, SEXP e) { static void (*fun)(GtkStatusbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStatusbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_statusbar_class_init")); return(fun(c, e)); } void S_gtk_style_class_init(GtkStyleClass * c, SEXP e) { static void (*fun)(GtkStyleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStyleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_style_class_init")); return(fun(c, e)); } void S_gtk_table_class_init(GtkTableClass * c, SEXP e) { static void (*fun)(GtkTableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_table_class_init")); return(fun(c, e)); } void S_gtk_tearoff_menu_item_class_init(GtkTearoffMenuItemClass * c, SEXP e) { static void (*fun)(GtkTearoffMenuItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTearoffMenuItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tearoff_menu_item_class_init")); return(fun(c, e)); } void S_gtk_text_buffer_class_init(GtkTextBufferClass * c, SEXP e) { static void (*fun)(GtkTextBufferClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextBufferClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_buffer_class_init")); return(fun(c, e)); } void S_gtk_text_child_anchor_class_init(GtkTextChildAnchorClass * c, SEXP e) { static void (*fun)(GtkTextChildAnchorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextChildAnchorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_child_anchor_class_init")); return(fun(c, e)); } void S_gtk_text_mark_class_init(GtkTextMarkClass * c, SEXP e) { static void (*fun)(GtkTextMarkClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextMarkClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_mark_class_init")); return(fun(c, e)); } void S_gtk_text_tag_class_init(GtkTextTagClass * c, SEXP e) { static void (*fun)(GtkTextTagClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextTagClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_tag_class_init")); return(fun(c, e)); } void S_gtk_text_tag_table_class_init(GtkTextTagTableClass * c, SEXP e) { static void (*fun)(GtkTextTagTableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextTagTableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_tag_table_class_init")); return(fun(c, e)); } void S_gtk_text_view_class_init(GtkTextViewClass * c, SEXP e) { static void (*fun)(GtkTextViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTextViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_text_view_class_init")); return(fun(c, e)); } void S_gtk_tips_query_class_init(GtkTipsQueryClass * c, SEXP e) { static void (*fun)(GtkTipsQueryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTipsQueryClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tips_query_class_init")); return(fun(c, e)); } void S_gtk_toggle_action_class_init(GtkToggleActionClass * c, SEXP e) { static void (*fun)(GtkToggleActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_action_class_init")); return(fun(c, e)); } void S_gtk_toggle_button_class_init(GtkToggleButtonClass * c, SEXP e) { static void (*fun)(GtkToggleButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_button_class_init")); return(fun(c, e)); } void S_gtk_toggle_tool_button_class_init(GtkToggleToolButtonClass * c, SEXP e) { static void (*fun)(GtkToggleToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToggleToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toggle_tool_button_class_init")); return(fun(c, e)); } void S_gtk_toolbar_class_init(GtkToolbarClass * c, SEXP e) { static void (*fun)(GtkToolbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_toolbar_class_init")); return(fun(c, e)); } void S_gtk_tool_button_class_init(GtkToolButtonClass * c, SEXP e) { static void (*fun)(GtkToolButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_button_class_init")); return(fun(c, e)); } void S_gtk_tool_item_class_init(GtkToolItemClass * c, SEXP e) { static void (*fun)(GtkToolItemClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolItemClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_item_class_init")); return(fun(c, e)); } void S_gtk_tooltips_class_init(GtkTooltipsClass * c, SEXP e) { static void (*fun)(GtkTooltipsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTooltipsClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tooltips_class_init")); return(fun(c, e)); } void S_gtk_tree_model_filter_class_init(GtkTreeModelFilterClass * c, SEXP e) { static void (*fun)(GtkTreeModelFilterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelFilterClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_filter_class_init")); return(fun(c, e)); } void S_gtk_tree_model_sort_class_init(GtkTreeModelSortClass * c, SEXP e) { static void (*fun)(GtkTreeModelSortClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelSortClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_sort_class_init")); return(fun(c, e)); } void S_gtk_tree_selection_class_init(GtkTreeSelectionClass * c, SEXP e) { static void (*fun)(GtkTreeSelectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeSelectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_selection_class_init")); return(fun(c, e)); } void S_gtk_tree_store_class_init(GtkTreeStoreClass * c, SEXP e) { static void (*fun)(GtkTreeStoreClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeStoreClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_store_class_init")); return(fun(c, e)); } void S_gtk_tree_view_class_init(GtkTreeViewClass * c, SEXP e) { static void (*fun)(GtkTreeViewClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_view_class_init")); return(fun(c, e)); } void S_gtk_tree_view_column_class_init(GtkTreeViewColumnClass * c, SEXP e) { static void (*fun)(GtkTreeViewColumnClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeViewColumnClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_view_column_class_init")); return(fun(c, e)); } void S_gtk_uimanager_class_init(GtkUIManagerClass * c, SEXP e) { static void (*fun)(GtkUIManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkUIManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_uimanager_class_init")); return(fun(c, e)); } void S_gtk_vbox_class_init(GtkVBoxClass * c, SEXP e) { static void (*fun)(GtkVBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vbox_class_init")); return(fun(c, e)); } void S_gtk_vbutton_box_class_init(GtkVButtonBoxClass * c, SEXP e) { static void (*fun)(GtkVButtonBoxClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVButtonBoxClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vbutton_box_class_init")); return(fun(c, e)); } void S_gtk_viewport_class_init(GtkViewportClass * c, SEXP e) { static void (*fun)(GtkViewportClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkViewportClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_viewport_class_init")); return(fun(c, e)); } void S_gtk_vpaned_class_init(GtkVPanedClass * c, SEXP e) { static void (*fun)(GtkVPanedClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVPanedClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vpaned_class_init")); return(fun(c, e)); } void S_gtk_vruler_class_init(GtkVRulerClass * c, SEXP e) { static void (*fun)(GtkVRulerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVRulerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vruler_class_init")); return(fun(c, e)); } void S_gtk_vscale_class_init(GtkVScaleClass * c, SEXP e) { static void (*fun)(GtkVScaleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVScaleClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vscale_class_init")); return(fun(c, e)); } void S_gtk_vscrollbar_class_init(GtkVScrollbarClass * c, SEXP e) { static void (*fun)(GtkVScrollbarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVScrollbarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vscrollbar_class_init")); return(fun(c, e)); } void S_gtk_vseparator_class_init(GtkVSeparatorClass * c, SEXP e) { static void (*fun)(GtkVSeparatorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVSeparatorClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_vseparator_class_init")); return(fun(c, e)); } void S_gtk_widget_class_init(GtkWidgetClass * c, SEXP e) { static void (*fun)(GtkWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_widget_class_init")); return(fun(c, e)); } void S_gtk_window_class_init(GtkWindowClass * c, SEXP e) { static void (*fun)(GtkWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_window_class_init")); return(fun(c, e)); } void S_gtk_window_group_class_init(GtkWindowGroupClass * c, SEXP e) { static void (*fun)(GtkWindowGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkWindowGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_window_group_class_init")); return(fun(c, e)); } #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_accel_class_init(GtkCellRendererAccelClass * c, SEXP e) { static void (*fun)(GtkCellRendererAccelClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererAccelClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_accel_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_cell_renderer_spin_class_init(GtkCellRendererSpinClass * c, SEXP e) { static void (*fun)(GtkCellRendererSpinClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererSpinClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_spin_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_print_operation_class_init(GtkPrintOperationClass * c, SEXP e) { static void (*fun)(GtkPrintOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkPrintOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_print_operation_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_manager_class_init(GtkRecentManagerClass * c, SEXP e) { static void (*fun)(GtkRecentManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_manager_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_status_icon_class_init(GtkStatusIconClass * c, SEXP e) { static void (*fun)(GtkStatusIconClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkStatusIconClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_status_icon_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_menu_class_init(GtkRecentChooserMenuClass * c, SEXP e) { static void (*fun)(GtkRecentChooserMenuClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserMenuClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_menu_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_link_button_class_init(GtkLinkButtonClass * c, SEXP e) { static void (*fun)(GtkLinkButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkLinkButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_link_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_widget_class_init(GtkRecentChooserWidgetClass * c, SEXP e) { static void (*fun)(GtkRecentChooserWidgetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserWidgetClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_widget_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_recent_chooser_dialog_class_init(GtkRecentChooserDialogClass * c, SEXP e) { static void (*fun)(GtkRecentChooserDialogClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentChooserDialogClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_chooser_dialog_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_gtk_assistant_class_init(GtkAssistantClass * c, SEXP e) { static void (*fun)(GtkAssistantClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkAssistantClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_assistant_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_builder_class_init(GtkBuilderClass * c, SEXP e) { static void (*fun)(GtkBuilderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBuilderClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_builder_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_recent_action_class_init(GtkRecentActionClass * c, SEXP e) { static void (*fun)(GtkRecentActionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkRecentActionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_recent_action_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_scale_button_class_init(GtkScaleButtonClass * c, SEXP e) { static void (*fun)(GtkScaleButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkScaleButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_scale_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_volume_button_class_init(GtkVolumeButtonClass * c, SEXP e) { static void (*fun)(GtkVolumeButtonClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkVolumeButtonClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_volume_button_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_mount_operation_class_init(GtkMountOperationClass * c, SEXP e) { static void (*fun)(GtkMountOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkMountOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_mount_operation_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_entry_buffer_class_init(GtkEntryBufferClass * c, SEXP e) { static void (*fun)(GtkEntryBufferClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEntryBufferClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_entry_buffer_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_info_bar_class_init(GtkInfoBarClass * c, SEXP e) { static void (*fun)(GtkInfoBarClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkInfoBarClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_info_bar_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 18, 0) void S_gtk_hsv_class_init(GtkHSVClass * c, SEXP e) { static void (*fun)(GtkHSVClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkHSVClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_hsv_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_item_group_class_init(GtkToolItemGroupClass * c, SEXP e) { static void (*fun)(GtkToolItemGroupClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolItemGroupClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_item_group_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_tool_palette_class_init(GtkToolPaletteClass * c, SEXP e) { static void (*fun)(GtkToolPaletteClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolPaletteClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_palette_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_cell_renderer_spinner_class_init(GtkCellRendererSpinnerClass * c, SEXP e) { static void (*fun)(GtkCellRendererSpinnerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellRendererSpinnerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_renderer_spinner_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_offscreen_window_class_init(GtkOffscreenWindowClass * c, SEXP e) { static void (*fun)(GtkOffscreenWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOffscreenWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_offscreen_window_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 20, 0) void S_gtk_spinner_class_init(GtkSpinnerClass * c, SEXP e) { static void (*fun)(GtkSpinnerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkSpinnerClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_spinner_class_init")); return(fun(c, e)); } #endif void S_gtk_cell_editable_class_init(GtkCellEditableIface * c, SEXP e) { static void (*fun)(GtkCellEditableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellEditableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_editable_class_init")); return(fun(c, e)); } void S_gtk_cell_layout_class_init(GtkCellLayoutIface * c, SEXP e) { static void (*fun)(GtkCellLayoutIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkCellLayoutIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_cell_layout_class_init")); return(fun(c, e)); } void S_gtk_editable_class_init(GtkEditableClass * c, SEXP e) { static void (*fun)(GtkEditableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkEditableClass *, SEXP))R_GetCCallable("RGtk2", "S_gtk_editable_class_init")); return(fun(c, e)); } void S_gtk_tree_drag_dest_class_init(GtkTreeDragDestIface * c, SEXP e) { static void (*fun)(GtkTreeDragDestIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeDragDestIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_drag_dest_class_init")); return(fun(c, e)); } void S_gtk_tree_drag_source_class_init(GtkTreeDragSourceIface * c, SEXP e) { static void (*fun)(GtkTreeDragSourceIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeDragSourceIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_drag_source_class_init")); return(fun(c, e)); } void S_gtk_tree_model_class_init(GtkTreeModelIface * c, SEXP e) { static void (*fun)(GtkTreeModelIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeModelIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_model_class_init")); return(fun(c, e)); } void S_gtk_tree_sortable_class_init(GtkTreeSortableIface * c, SEXP e) { static void (*fun)(GtkTreeSortableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkTreeSortableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tree_sortable_class_init")); return(fun(c, e)); } #if GTK_CHECK_VERSION(2, 12, 0) void S_gtk_buildable_class_init(GtkBuildableIface * c, SEXP e) { static void (*fun)(GtkBuildableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkBuildableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_buildable_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_gtk_tool_shell_class_init(GtkToolShellIface * c, SEXP e) { static void (*fun)(GtkToolShellIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkToolShellIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_tool_shell_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_activatable_class_init(GtkActivatableIface * c, SEXP e) { static void (*fun)(GtkActivatableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkActivatableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_activatable_class_init")); return(fun(c, e)); } #endif #if GTK_CHECK_VERSION(2, 16, 0) void S_gtk_orientable_class_init(GtkOrientableIface * c, SEXP e) { static void (*fun)(GtkOrientableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GtkOrientableIface *, SEXP))R_GetCCallable("RGtk2", "S_gtk_orientable_class_init")); return(fun(c, e)); } #endif RGtk2/src/RGtk2/gioUserFuncs.h0000644000176000001440000000167712362467242015563 0ustar ripleyusers#ifndef S_GIO_USERFUNCS_H #define S_GIO_USERFUNCS_H #include #include #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GIOSchedulerJobFunc(GIOSchedulerJob* s_job, GCancellable* s_cancellable, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GSimpleAsyncThreadFunc(GSimpleAsyncResult* s_res, GObject* s_object, GCancellable* s_cancellable); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GAsyncReadyCallback(GObject* s_source_object, GSimpleAsyncResult* s_res, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileProgressCallback(goffset s_current_num_bytes, goffset s_total_num_bytes, gpointer s_user_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileReadMoreCallback(const char* s_file_contents, goffset s_file_size, gpointer s_callback_data); #endif #if GIO_CHECK_VERSION(2, 16, 0) gpointer S_GReallocFunc(gpointer s_data, gsize s_size); #endif #endif RGtk2/src/RGtk2/gio.h0000644000176000001440000000055112362467242013713 0ustar ripleyusers#ifndef RGTK2_GIO_H #define RGTK2_GIO_H #include #define GIO_CHECK_VERSION GLIB_CHECK_VERSION #if GLIB_CHECK_VERSION(2, 16, 0) #include #include #include /**** Conversion ****/ USER_OBJECT_ asRGFileAttributeInfo(const GFileAttributeInfo * obj); #endif /* check version */ #endif RGtk2/src/RGtk2/gobjectImports.c0000644000176000001440000003450412362467242016130 0ustar ripleyusers#ifndef S_GOBJECT_IMPORTS_C #define S_GOBJECT_IMPORTS_C #include #include gchar** asCStringArray(USER_OBJECT_ svec) { static gchar** (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gchar** (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCStringArray")); return(fun(svec)); } const gchar* asCString(USER_OBJECT_ s_str) { static const gchar* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((const gchar* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCString")); return(fun(s_str)); } gchar asCCharacter(USER_OBJECT_ s_char) { static gchar (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gchar (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCCharacter")); return(fun(s_char)); } USER_OBJECT_ asRUnsigned(guint num) { static USER_OBJECT_ (*fun)(guint) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(guint))R_GetCCallable("RGtk2", "asRUnsigned")); return(fun(num)); } USER_OBJECT_ asRCharacter(gchar c) { static USER_OBJECT_ (*fun)(gchar) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gchar))R_GetCCallable("RGtk2", "asRCharacter")); return(fun(c)); } USER_OBJECT_ asRString(const gchar* str) { static USER_OBJECT_ (*fun)(const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const gchar*))R_GetCCallable("RGtk2", "asRString")); return(fun(str)); } USER_OBJECT_ asREnum(int value, GType etype) { static USER_OBJECT_ (*fun)(int, GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(int, GType))R_GetCCallable("RGtk2", "asREnum")); return(fun(value, etype)); } USER_OBJECT_ asRFlag(guint value, GType ftype) { static USER_OBJECT_ (*fun)(guint, GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(guint, GType))R_GetCCallable("RGtk2", "asRFlag")); return(fun(value, ftype)); } guint asCFlag(USER_OBJECT_ s_flag, GType ftype) { static guint (*fun)(USER_OBJECT_, GType) = NULL; if(!fun) fun = ((guint (*)(USER_OBJECT_, GType))R_GetCCallable("RGtk2", "asCFlag")); return(fun(s_flag, ftype)); } gint asCEnum(USER_OBJECT_ s_enum, GType etype) { static gint (*fun)(USER_OBJECT_, GType) = NULL; if(!fun) fun = ((gint (*)(USER_OBJECT_, GType))R_GetCCallable("RGtk2", "asCEnum")); return(fun(s_enum, etype)); } USER_OBJECT_ toRPointerWithFinalizer(gconstpointer val, const gchar* typeName, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(gconstpointer, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gconstpointer, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "toRPointerWithFinalizer")); return(fun(val, typeName, finalizer)); } USER_OBJECT_ toRPointerWithRef(gconstpointer val, const gchar* type) { static USER_OBJECT_ (*fun)(gconstpointer, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(gconstpointer, const gchar*))R_GetCCallable("RGtk2", "toRPointerWithRef")); return(fun(val, type)); } gpointer getPtrValueWithRef(USER_OBJECT_ sval) { static gpointer (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((gpointer (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "getPtrValueWithRef")); return(fun(sval)); } USER_OBJECT_ asRGQuark(GQuark val) { static USER_OBJECT_ (*fun)(GQuark) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GQuark))R_GetCCallable("RGtk2", "asRGQuark")); return(fun(val)); } GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval) { static GTimeVal* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GTimeVal* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGTimeVal")); return(fun(s_timeval)); } USER_OBJECT_ asRGTimeVal(const GTimeVal* timeval) { static USER_OBJECT_ (*fun)(const GTimeVal*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GTimeVal*))R_GetCCallable("RGtk2", "asRGTimeVal")); return(fun(timeval)); } GString* asCGString(USER_OBJECT_ s_string) { static GString* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GString* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGString")); return(fun(s_string)); } GList* toCGList(USER_OBJECT_ s_list, gboolean dup) { static GList* (*fun)(USER_OBJECT_, gboolean) = NULL; if(!fun) fun = ((GList* (*)(USER_OBJECT_, gboolean))R_GetCCallable("RGtk2", "toCGList")); return(fun(s_list, dup)); } USER_OBJECT_ asRGList(GList* glist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGList")); return(fun(glist, type)); } USER_OBJECT_ asRGListWithRef(GList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGListWithRef")); return(fun(gslist, type)); } USER_OBJECT_ asRGListWithFinalizer(GList* glist, const gchar* type, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(GList*, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "asRGListWithFinalizer")); return(fun(glist, type, finalizer)); } USER_OBJECT_ asRGListConv(GList* glist, ElementConverter converter) { static USER_OBJECT_ (*fun)(GList*, ElementConverter) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, ElementConverter))R_GetCCallable("RGtk2", "asRGListConv")); return(fun(glist, converter)); } GSList* toCGSList(USER_OBJECT_ s_list, gboolean dup) { static GSList* (*fun)(USER_OBJECT_, gboolean) = NULL; if(!fun) fun = ((GSList* (*)(USER_OBJECT_, gboolean))R_GetCCallable("RGtk2", "toCGSList")); return(fun(s_list, dup)); } USER_OBJECT_ asRGSList(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSList")); return(fun(gslist, type)); } USER_OBJECT_ asRGSListWithRef(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSListWithRef")); return(fun(gslist, type)); } USER_OBJECT_ asRGSListWithFinalizer(GSList* gslist, const gchar* type, RPointerFinalizer finalizer) { static USER_OBJECT_ (*fun)(GSList*, const gchar*, RPointerFinalizer) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*, RPointerFinalizer))R_GetCCallable("RGtk2", "asRGSListWithFinalizer")); return(fun(gslist, type, finalizer)); } USER_OBJECT_ asRGSListConv(GSList* gslist, ElementConverter converter) { static USER_OBJECT_ (*fun)(GSList*, ElementConverter) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, ElementConverter))R_GetCCallable("RGtk2", "asRGSListConv")); return(fun(gslist, converter)); } USER_OBJECT_ asRGError(GError* error) { static USER_OBJECT_ (*fun)(GError*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GError*))R_GetCCallable("RGtk2", "asRGError")); return(fun(error)); } GError* asCGError(USER_OBJECT_ s_error) { static GError* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GError* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGError")); return(fun(s_error)); } int R_setGValueFromSValue(GValue* val, USER_OBJECT_ sval) { static int (*fun)(GValue*, USER_OBJECT_) = NULL; if(!fun) fun = ((int (*)(GValue*, USER_OBJECT_))R_GetCCallable("RGtk2", "R_setGValueFromSValue")); return(fun(val, sval)); } GValue* createGValueFromSValue(USER_OBJECT_ sval) { static GValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "createGValueFromSValue")); return(fun(sval)); } gboolean initGValueFromSValue(USER_OBJECT_ sval, GValue* raw) { static gboolean (*fun)(USER_OBJECT_, GValue*) = NULL; if(!fun) fun = ((gboolean (*)(USER_OBJECT_, GValue*))R_GetCCallable("RGtk2", "initGValueFromSValue")); return(fun(sval, raw)); } gboolean initGValueFromVector(USER_OBJECT_ sval, gint n, GValue* raw) { static gboolean (*fun)(USER_OBJECT_, gint, GValue*) = NULL; if(!fun) fun = ((gboolean (*)(USER_OBJECT_, gint, GValue*))R_GetCCallable("RGtk2", "initGValueFromVector")); return(fun(sval, n, raw)); } USER_OBJECT_ asRGValue(const GValue* val) { static USER_OBJECT_ (*fun)(const GValue*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(const GValue*))R_GetCCallable("RGtk2", "asRGValue")); return(fun(val)); } GValue* asCGValue(USER_OBJECT_ sval) { static GValue* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GValue* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGValue")); return(fun(sval)); } USER_OBJECT_ asRGType(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "asRGType")); return(fun(type)); } GParamSpec* asCGParamSpec(USER_OBJECT_ s_spec) { static GParamSpec* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GParamSpec* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGParamSpec")); return(fun(s_spec)); } USER_OBJECT_ asRGParamSpec(GParamSpec* spec) { static USER_OBJECT_ (*fun)(GParamSpec*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GParamSpec*))R_GetCCallable("RGtk2", "asRGParamSpec")); return(fun(spec)); } GClosure* asCGClosure(USER_OBJECT_ s_closure) { static GClosure* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GClosure* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCGClosure")); return(fun(s_closure)); } USER_OBJECT_ asRGClosure(GClosure* closure) { static USER_OBJECT_ (*fun)(GClosure*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GClosure*))R_GetCCallable("RGtk2", "asRGClosure")); return(fun(closure)); } USER_OBJECT_ toRPointerWithSink(void* val, const char* type) { static USER_OBJECT_ (*fun)(void*, const char*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(void*, const char*))R_GetCCallable("RGtk2", "toRPointerWithSink")); return(fun(val, type)); } USER_OBJECT_ asRGListWithSink(GList* glist, const gchar* type) { static USER_OBJECT_ (*fun)(GList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GList*, const gchar*))R_GetCCallable("RGtk2", "asRGListWithSink")); return(fun(glist, type)); } USER_OBJECT_ asRGSListWithSink(GSList* gslist, const gchar* type) { static USER_OBJECT_ (*fun)(GSList*, const gchar*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GSList*, const gchar*))R_GetCCallable("RGtk2", "asRGSListWithSink")); return(fun(gslist, type)); } void S_GCompareFunc(gconstpointer s_a, gconstpointer s_b) { static void (*fun)(gconstpointer, gconstpointer) = NULL; if(!fun) fun = ((void (*)(gconstpointer, gconstpointer))R_GetCCallable("RGtk2", "S_GCompareFunc")); return(fun(s_a, s_b)); } gboolean S_GSourceFunc(gpointer data) { static gboolean (*fun)(gpointer) = NULL; if(!fun) fun = ((gboolean (*)(gpointer))R_GetCCallable("RGtk2", "S_GSourceFunc")); return(fun(data)); } GClosure* R_createGClosure(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { static GClosure* (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((GClosure* (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_createGClosure")); return(fun(s_func, s_data)); } GType r_gtk_sexp_get_type(void) { static GType (*fun)() = NULL; if(!fun) fun = ((GType (*)())R_GetCCallable("RGtk2", "r_gtk_sexp_get_type")); return(fun()); } GType r_gtk_param_spec_sexp_get_type(void) { static GType (*fun)() = NULL; if(!fun) fun = ((GType (*)())R_GetCCallable("RGtk2", "r_gtk_param_spec_sexp_get_type")); return(fun()); } void S_gobject_class_init(GObjectClass* c, USER_OBJECT_ e) { static void (*fun)(GObjectClass*, USER_OBJECT_) = NULL; if(!fun) fun = ((void (*)(GObjectClass*, USER_OBJECT_))R_GetCCallable("RGtk2", "S_gobject_class_init")); return(fun(c, e)); } USER_OBJECT_ retByVal(USER_OBJECT_ retval, ...) { va_list va; int n = 0, i; USER_OBJECT_ list, names; va_start(va, retval); while(va_arg(va, void *)) n++; n = n / 2 + 1; va_end(va); PROTECT(list = NEW_LIST(n)); PROTECT(names = NEW_CHARACTER(n)); SET_VECTOR_ELT(list, 0, retval); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING("retval")); va_start(va, retval); for (i = 1; i < n; i++) { SET_STRING_ELT(names, i, COPY_TO_USER_STRING(va_arg(va, char *))); SET_VECTOR_ELT(list, i, va_arg(va, USER_OBJECT_)); } va_end(va); SET_NAMES(list, names); UNPROTECT(2); return list; } R_CallbackData* R_createCBData(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { static R_CallbackData* (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((R_CallbackData* (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_createCBData")); return(fun(s_func, s_data)); } void R_freeCBData(R_CallbackData* cbdata) { static void (*fun)(R_CallbackData*) = NULL; if(!fun) fun = ((void (*)(R_CallbackData*))R_GetCCallable("RGtk2", "R_freeCBData")); return(fun(cbdata)); } GType getSValueGType(USER_OBJECT_ sval) { static GType (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((GType (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "getSValueGType")); return(fun(sval)); } USER_OBJECT_ R_internal_getInterfaces(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "R_internal_getInterfaces")); return(fun(type)); } USER_OBJECT_ R_internal_getGTypeAncestors(GType type) { static USER_OBJECT_ (*fun)(GType) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(GType))R_GetCCallable("RGtk2", "R_internal_getGTypeAncestors")); return(fun(type)); } gpointer propertyConstructor(GType obj_type, char** prop_names, USER_OBJECT_* args, int nargs) { static gpointer (*fun)(GType, char**, USER_OBJECT_*, int) = NULL; if(!fun) fun = ((gpointer (*)(GType, char**, USER_OBJECT_*, int))R_GetCCallable("RGtk2", "propertyConstructor")); return(fun(obj_type, prop_names, args, nargs)); } USER_OBJECT_ R_setGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ svals) { static USER_OBJECT_ (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_setGObjectProps")); return(fun(sobj, svals)); } USER_OBJECT_ R_getGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ argNames) { static USER_OBJECT_ (*fun)(USER_OBJECT_, USER_OBJECT_) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(USER_OBJECT_, USER_OBJECT_))R_GetCCallable("RGtk2", "R_getGObjectProps")); return(fun(sobj, argNames)); } void GSListFreeStrings(GSList* gslist) { static void (*fun)(GSList*) = NULL; if(!fun) fun = ((void (*)(GSList*))R_GetCCallable("RGtk2", "GSListFreeStrings")); return(fun(gslist)); } void GListFreeStrings(GList* glist) { static void (*fun)(GList*) = NULL; if(!fun) fun = ((void (*)(GList*))R_GetCCallable("RGtk2", "GListFreeStrings")); return(fun(glist)); } #endif RGtk2/src/RGtk2/gdk.h0000644000176000001440000000752112362467242013706 0ustar ripleyusers#ifndef RGTK2_GTK_H #define RGTK2_GTK_H #include #include #include #include /* GdkPixbuf is inside Gdk, and Gdk is inside GTK+ (wrt distribution), so we group them all into this header. */ #define GDK_PIXBUF_ENABLE_BACKEND #include #include #include #define GDK_CHECK_VERSION GTK_CHECK_VERSION #include #include #include #include /******* Manual UserFuncs *********/ /* GTK */ void S_GtkClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner); void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data); guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); /******* Conversion ********/ /* GDK */ USER_OBJECT_ asRGdkAtom(GdkAtom val); GdkAtom asCGdkAtom(USER_OBJECT_ s_atom); GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms); GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints *hints); GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values); GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask *mask); GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType *mask); USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord *coord, int num_axes); GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap); USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap *map); GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key); USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key); GdkPoint* asCGdkPoint(USER_OBJECT_ s_point); USER_OBJECT_ asRGdkPoint(GdkPoint *point); GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment); USER_OBJECT_ asRGdkSegment(GdkSegment * obj); GdkColor* asCGdkColor(USER_OBJECT_ s_color); USER_OBJECT_ asRGdkColor(const GdkColor* color); USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window); GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window); USER_OBJECT_ asRGdkEvent(GdkEvent *event); USER_OBJECT_ toRGdkEvent(GdkEvent *event, gboolean finalize); USER_OBJECT_ toRGdkFont(GdkFont *font); GdkTrapezoid * asCGdkTrapezoid(USER_OBJECT_ s_trapezoid); USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid * obj); USER_OBJECT_ asRGdkGCValues(GdkGCValues *values); GdkSpan* asCGdkSpan(USER_OBJECT_ s_span); USER_OBJECT_ asRGdkSpan(GdkSpan * obj); /* GTK */ GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry); USER_OBJECT_ asRGtkTargetEntry(const GtkTargetEntry * obj); GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info); USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo * obj); GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value); GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item); USER_OBJECT_ asRGtkStockItem(GtkStockItem *item); GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry); GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry); GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype); GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc); USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc); #if GTK_CHECK_VERSION(2,10,0) GtkRecentFilterInfo * asCGtkRecentFilterInfo(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo * obj); GtkRecentData * asCGtkRecentData(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkPageRange(GtkPageRange * obj); GtkPageRange * asCGtkPageRange(USER_OBJECT_ s_obj); #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey * obj); /* For some systems, e.g. Irix, gtkFuncs has a time_t that is not defined unless we include this. Seems harmless on other systems! */ #include #endif RGtk2/src/RGtk2/gioClassImports.c0000644000176000001440000003567512362467242016271 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_launch_context_class_init(GAppLaunchContextClass * c, SEXP e) { static void (*fun)(GAppLaunchContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAppLaunchContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gapp_launch_context_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gcancellable_class_init(GCancellableClass * c, SEXP e) { static void (*fun)(GCancellableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GCancellableClass *, SEXP))R_GetCCallable("RGtk2", "S_gcancellable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilename_completer_class_init(GFilenameCompleterClass * c, SEXP e) { static void (*fun)(GFilenameCompleterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilenameCompleterClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilename_completer_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_enumerator_class_init(GFileEnumeratorClass * c, SEXP e) { static void (*fun)(GFileEnumeratorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileEnumeratorClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_enumerator_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_monitor_class_init(GFileMonitorClass * c, SEXP e) { static void (*fun)(GFileMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_ginput_stream_class_init(GInputStreamClass * c, SEXP e) { static void (*fun)(GInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_ginput_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_input_stream_class_init(GFileInputStreamClass * c, SEXP e) { static void (*fun)(GFileInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_input_stream_class_init(GFilterInputStreamClass * c, SEXP e) { static void (*fun)(GFilterInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilterInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilter_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_input_stream_class_init(GBufferedInputStreamClass * c, SEXP e) { static void (*fun)(GBufferedInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GBufferedInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gbuffered_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_input_stream_class_init(GDataInputStreamClass * c, SEXP e) { static void (*fun)(GDataInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDataInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gdata_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_input_stream_class_init(GMemoryInputStreamClass * c, SEXP e) { static void (*fun)(GMemoryInputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMemoryInputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gmemory_input_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_operation_class_init(GMountOperationClass * c, SEXP e) { static void (*fun)(GMountOperationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMountOperationClass *, SEXP))R_GetCCallable("RGtk2", "S_gmount_operation_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_goutput_stream_class_init(GOutputStreamClass * c, SEXP e) { static void (*fun)(GOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_goutput_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_output_stream_class_init(GMemoryOutputStreamClass * c, SEXP e) { static void (*fun)(GMemoryOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMemoryOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gmemory_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_output_stream_class_init(GFilterOutputStreamClass * c, SEXP e) { static void (*fun)(GFilterOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFilterOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfilter_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_output_stream_class_init(GBufferedOutputStreamClass * c, SEXP e) { static void (*fun)(GBufferedOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GBufferedOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gbuffered_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_output_stream_class_init(GDataOutputStreamClass * c, SEXP e) { static void (*fun)(GDataOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDataOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gdata_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_output_stream_class_init(GFileOutputStreamClass * c, SEXP e) { static void (*fun)(GFileOutputStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileOutputStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_output_stream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvfs_class_init(GVfsClass * c, SEXP e) { static void (*fun)(GVfsClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVfsClass *, SEXP))R_GetCCallable("RGtk2", "S_gvfs_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_monitor_class_init(GVolumeMonitorClass * c, SEXP e) { static void (*fun)(GVolumeMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVolumeMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gvolume_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gnative_volume_monitor_class_init(GNativeVolumeMonitorClass * c, SEXP e) { static void (*fun)(GNativeVolumeMonitorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNativeVolumeMonitorClass *, SEXP))R_GetCCallable("RGtk2", "S_gnative_volume_monitor_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gfile_iostream_class_init(GFileIOStreamClass * c, SEXP e) { static void (*fun)(GFileIOStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileIOStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_gfile_iostream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_address_class_init(GInetAddressClass * c, SEXP e) { static void (*fun)(GInetAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInetAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_ginet_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_address_class_init(GNetworkAddressClass * c, SEXP e) { static void (*fun)(GNetworkAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNetworkAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_gnetwork_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_service_class_init(GNetworkServiceClass * c, SEXP e) { static void (*fun)(GNetworkServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GNetworkServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gnetwork_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gresolver_class_init(GResolverClass * c, SEXP e) { static void (*fun)(GResolverClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GResolverClass *, SEXP))R_GetCCallable("RGtk2", "S_gresolver_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_class_init(GSocketClass * c, SEXP e) { static void (*fun)(GSocketClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_class_init(GSocketAddressClass * c, SEXP e) { static void (*fun)(GSocketAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_enumerator_class_init(GSocketAddressEnumeratorClass * c, SEXP e) { static void (*fun)(GSocketAddressEnumeratorClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketAddressEnumeratorClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_address_enumerator_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_client_class_init(GSocketClientClass * c, SEXP e) { static void (*fun)(GSocketClientClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketClientClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_client_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connection_class_init(GSocketConnectionClass * c, SEXP e) { static void (*fun)(GSocketConnectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketConnectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_connection_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_control_message_class_init(GSocketControlMessageClass * c, SEXP e) { static void (*fun)(GSocketControlMessageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketControlMessageClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_control_message_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_listener_class_init(GSocketListenerClass * c, SEXP e) { static void (*fun)(GSocketListenerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketListenerClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_listener_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_service_class_init(GSocketServiceClass * c, SEXP e) { static void (*fun)(GSocketServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gtcp_connection_class_init(GTcpConnectionClass * c, SEXP e) { static void (*fun)(GTcpConnectionClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GTcpConnectionClass *, SEXP))R_GetCCallable("RGtk2", "S_gtcp_connection_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gthreaded_socket_service_class_init(GThreadedSocketServiceClass * c, SEXP e) { static void (*fun)(GThreadedSocketServiceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GThreadedSocketServiceClass *, SEXP))R_GetCCallable("RGtk2", "S_gthreaded_socket_service_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_giostream_class_init(GIOStreamClass * c, SEXP e) { static void (*fun)(GIOStreamClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GIOStreamClass *, SEXP))R_GetCCallable("RGtk2", "S_giostream_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_socket_address_class_init(GInetSocketAddressClass * c, SEXP e) { static void (*fun)(GInetSocketAddressClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInetSocketAddressClass *, SEXP))R_GetCCallable("RGtk2", "S_ginet_socket_address_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_info_class_init(GAppInfoIface * c, SEXP e) { static void (*fun)(GAppInfoIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAppInfoIface *, SEXP))R_GetCCallable("RGtk2", "S_gapp_info_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gasync_result_class_init(GAsyncResultIface * c, SEXP e) { static void (*fun)(GAsyncResultIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAsyncResultIface *, SEXP))R_GetCCallable("RGtk2", "S_gasync_result_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdrive_class_init(GDriveIface * c, SEXP e) { static void (*fun)(GDriveIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GDriveIface *, SEXP))R_GetCCallable("RGtk2", "S_gdrive_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_class_init(GFileIface * c, SEXP e) { static void (*fun)(GFileIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GFileIface *, SEXP))R_GetCCallable("RGtk2", "S_gfile_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gicon_class_init(GIconIface * c, SEXP e) { static void (*fun)(GIconIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GIconIface *, SEXP))R_GetCCallable("RGtk2", "S_gicon_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gloadable_icon_class_init(GLoadableIconIface * c, SEXP e) { static void (*fun)(GLoadableIconIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GLoadableIconIface *, SEXP))R_GetCCallable("RGtk2", "S_gloadable_icon_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_class_init(GMountIface * c, SEXP e) { static void (*fun)(GMountIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GMountIface *, SEXP))R_GetCCallable("RGtk2", "S_gmount_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gseekable_class_init(GSeekableIface * c, SEXP e) { static void (*fun)(GSeekableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSeekableIface *, SEXP))R_GetCCallable("RGtk2", "S_gseekable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_class_init(GVolumeIface * c, SEXP e) { static void (*fun)(GVolumeIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GVolumeIface *, SEXP))R_GetCCallable("RGtk2", "S_gvolume_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gasync_initable_class_init(GAsyncInitableIface * c, SEXP e) { static void (*fun)(GAsyncInitableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GAsyncInitableIface *, SEXP))R_GetCCallable("RGtk2", "S_gasync_initable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginitable_class_init(GInitableIface * c, SEXP e) { static void (*fun)(GInitableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GInitableIface *, SEXP))R_GetCCallable("RGtk2", "S_ginitable_class_init")); return(fun(c, e)); } #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connectable_class_init(GSocketConnectableIface * c, SEXP e) { static void (*fun)(GSocketConnectableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(GSocketConnectableIface *, SEXP))R_GetCCallable("RGtk2", "S_gsocket_connectable_class_init")); return(fun(c, e)); } #endif RGtk2/src/RGtk2/gdkUserFuncs.h0000644000176000001440000000064212362467242015541 0ustar ripleyusers#ifndef S_GDK_USERFUNCS_H #define S_GDK_USERFUNCS_H #include #include void S_GdkFilterFunc(GdkXEvent* s_xevent, GdkEvent* s_event, gpointer s_data); void S_GdkEventFunc(GdkEvent* s_event, gpointer s_data); gboolean S_GdkPixbufSaveFunc(const guchar* s_buf, gsize s_count, GError** s_error, gpointer s_data); void S_GdkSpanFunc(GdkSpan* s_span, gpointer s_data); #endif RGtk2/src/RGtk2/gtk.h0000644000176000001440000000752112362467242013726 0ustar ripleyusers#ifndef RGTK2_GTK_H #define RGTK2_GTK_H #include #include #include #include /* GdkPixbuf is inside Gdk, and Gdk is inside GTK+ (wrt distribution), so we group them all into this header. */ #define GDK_PIXBUF_ENABLE_BACKEND #include #include #include #define GDK_CHECK_VERSION GTK_CHECK_VERSION #include #include #include #include /******* Manual UserFuncs *********/ /* GTK */ void S_GtkClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner); void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data); guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); /******* Conversion ********/ /* GDK */ USER_OBJECT_ asRGdkAtom(GdkAtom val); GdkAtom asCGdkAtom(USER_OBJECT_ s_atom); GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms); GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints *hints); GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values); GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask *mask); GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_attr, GdkWindowAttributesType *mask); USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord *coord, int num_axes); GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap); USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap *map); GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key); USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key); GdkPoint* asCGdkPoint(USER_OBJECT_ s_point); USER_OBJECT_ asRGdkPoint(GdkPoint *point); GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment); USER_OBJECT_ asRGdkSegment(GdkSegment * obj); GdkColor* asCGdkColor(USER_OBJECT_ s_color); USER_OBJECT_ asRGdkColor(const GdkColor* color); USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window); GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window); USER_OBJECT_ asRGdkEvent(GdkEvent *event); USER_OBJECT_ toRGdkEvent(GdkEvent *event, gboolean finalize); USER_OBJECT_ toRGdkFont(GdkFont *font); GdkTrapezoid * asCGdkTrapezoid(USER_OBJECT_ s_trapezoid); USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid * obj); USER_OBJECT_ asRGdkGCValues(GdkGCValues *values); GdkSpan* asCGdkSpan(USER_OBJECT_ s_span); USER_OBJECT_ asRGdkSpan(GdkSpan * obj); /* GTK */ GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry); USER_OBJECT_ asRGtkTargetEntry(const GtkTargetEntry * obj); GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info); USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo * obj); GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value); GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item); USER_OBJECT_ asRGtkStockItem(GtkStockItem *item); GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry); GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry); GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype); GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc); USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc); #if GTK_CHECK_VERSION(2,10,0) GtkRecentFilterInfo * asCGtkRecentFilterInfo(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo * obj); GtkRecentData * asCGtkRecentData(USER_OBJECT_ s_obj); USER_OBJECT_ asRGtkPageRange(GtkPageRange * obj); GtkPageRange * asCGtkPageRange(USER_OBJECT_ s_obj); #endif USER_OBJECT_ asRGtkAccelKey(GtkAccelKey * obj); /* For some systems, e.g. Irix, gtkFuncs has a time_t that is not defined unless we include this. Seems harmless on other systems! */ #include #endif RGtk2/src/RGtk2/gioImports.c0000644000176000001440000000027512362467242015267 0ustar ripleyusers#ifndef S_GIO_IMPORTS_C #define S_GIO_IMPORTS_C #include #include #include #include #endif RGtk2/src/RGtk2/gobject.h0000644000176000001440000003536112362467242014561 0ustar ripleyusers/* Base bindings between R/S and GObject */ #ifndef RGTK2_GOBJECT_H #define RGTK2_GOBJECT_H #include "RSCommon.h" #include #include typedef void (*RPointerFinalizer)(void *ptr); typedef void* (*ElementConverter)(void *element); /***** ARRAY CONVERSION MACROS ******/ /* converts an array, taking the reference of each element, so that conversion functions taking a pointer parameter will work (array elements are values) */ #define asRArrayRef(array, converter) \ __extension__ \ ({ \ asRArray(&array, converter); \ }) #define asRArrayRefWithSize(array, converter, n) \ __extension__ \ ({ \ asRArrayWithSize(&array, converter, n); \ }) /* converts an array directly using the conversion function to an R list */ #define asRArray(array, converter) \ __extension__ \ ({ \ _asRArray(array, converter, LIST, VECTOR); \ }) #define asRArrayWithSize(array, converter, n) \ __extension__ \ ({ \ _asRArrayWithSize(array, converter, n, LIST, VECTOR); \ }) /* converts primitive (numeric, integer, logical) arrays to R vectors */ #define _asRPrimArray(array, TYPE) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = _asRPrimArrayWithSize(array, n-1, TYPE); \ } \ s; \ }) #define _asRPrimArrayWithSize(array, n, TYPE) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_obj; \ PROTECT(s_obj = NEW_ ## TYPE(n)); \ \ for (i = 0; i < n; i++) { \ TYPE ## _POINTER(s_obj)[i] = array[i]; \ } \ \ UNPROTECT(1); \ s_obj; \ }) /* core converter, for converting string arrays and other arrays of pointer types */ #define _asRArray(array, converter, TYPE, SETTER_TYPE) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = _asRArrayWithSize(array, converter, n-1, TYPE, SETTER_TYPE); \ } \ s; \ }) #define _asRArrayWithSize(array, converter, n, TYPE, SETTER_TYPE) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_obj; \ PROTECT(s_obj = NEW_ ## TYPE(n)); \ \ for (i = 0; i < n; i++) { \ SET_ ## SETTER_TYPE ## _ELT(s_obj, i, converter(array[i])); \ } \ \ UNPROTECT(1); \ s_obj; \ }) /* Below are primitive array -> R vector converters */ #define asRStringArray(array) \ __extension__ \ ({ \ _asRArray(array, COPY_TO_USER_STRING, CHARACTER, STRING); \ }) #define asRStringArrayWithSize(array, n) \ __extension__ \ ({ \ _asRArrayWithSize(array, COPY_TO_USER_STRING, n, CHARACTER, STRING); \ }) #define asRIntegerArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, INTEGER); \ }) #define asRIntegerArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, INTEGER); \ }) #define RAW_POINTER(x) RAW(x) #define asRRawArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, RAW); \ }) #define asRRawArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, RAW); \ }) #define asRNumericArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, NUMERIC); \ }) #define asRNumericArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, NUMERIC); \ }) #define asRGTypeArrayWithSize(array, size) \ asRArrayWithSize(array, asRGType, size) #define asRLogicalArray(array) \ __extension__ \ ({ \ _asRPrimArray(array, LOGICAL); \ }) #define asRLogicalArrayWithSize(array, size) \ __extension__ \ ({ \ _asRPrimArrayWithSize(array, size, LOGICAL); \ }) /* for converting each element to an R pointer of a specified class -- I don't think this is ever used */ #define toRPointerArray(array, type) \ __extension__ \ ({ \ toRPointerWithFinalizerArray(array, type); \ }) #define toRPointerArrayWithSize(array, type, n) \ __extension__ \ ({ \ toRPointerWithFinalizerArrayWithSize(array, type, NULL, n); \ }) /* for converting elements to R pointers of a specified class with a special finalizer - only used like once */ #define toRPointerWithFinalizerArray(array, type, finalizer) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRPointerWithFinalizerArrayWithSize(array, type, finalizer, n-1); \ } \ s; \ }) #define toRPointerWithFinalizerArrayWithSize(array, type, finalizer, n) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, toRPointerWithFinalizer(array[i], type, finalizer)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* converts each element to a ref'd R pointer (ie, they're GObjects) - used only a couple of times */ #define toRPointerWithRefArray(array, type) \ __extension__ \ ({ \ int n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRPointerWithRefArrayWithSize(array, type, n-1); \ } \ s; \ }) #define toRPointerWithRefArrayWithSize(array, type, n) \ __extension__ \ ({ \ int i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, toRPointerWithRef(array[i], type)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* this is used when there is an array of struct values that need to be copied into separate areas in memory so that they can be individually finalized - used maybe once */ #define asRStructArray(array, type) \ __extension__ \ ({ \ guint n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asRStructArrayWithSize(array, type, n-1); \ } \ s; \ }) #define asRStructArrayWithSize(array, type, n) \ __extension__ \ ({ \ guint i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ typeof(array) ptr = g_malloc(sizeof(typeof(array[i]))); \ memcpy(ptr, array+i, sizeof(typeof(array[i]))); \ SET_VECTOR_ELT(s_array, i, toRPointerWithFinalizer(ptr, type, g_free)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* for converting enum elements of a given type */ #define asREnumArray(array, type) \ __extension__ \ ({ \ int n = 0; \ USER_OBJECT_ s = R_NilValue; \ if (array) { \ while(array[n++]); \ s = asREnumArrayWithSize(array, type, n-1); \ } \ s; \ }) #define asREnumArrayWithSize(array, type, n) \ __extension__ \ ({ \ int i; \ USER_OBJECT_ s_array; \ PROTECT(s_array = NEW_LIST(n)); \ \ for (i = 0; i < n; i++) { \ SET_VECTOR_ELT(s_array, i, asREnum(array[i], type)); \ } \ \ UNPROTECT(1); \ s_array; \ }) /* now from R to C */ #define asCArrayRef(s, type, converter) \ __extension__ \ ({ \ asCArray(s, type, * (type *)converter); \ }) #define asCArray(s_array, type, converter) \ __extension__ \ ({ \ guint i; \ \ type* array = (type*)R_alloc(GET_LENGTH(s_array), sizeof(type)); \ \ for (i = 0; i < GET_LENGTH(s_array); i++) { \ array[i] = (type)converter(VECTOR_ELT(s_array, i)); \ } \ \ array; \ }) #define asCArrayDup(s, type, converter) \ __extension__ \ ({ \ type* array = asCArray(s, type, converter); \ g_memdup(array, sizeof(type) * GET_LENGTH(s)); \ }) #define asCEnumArray(s_array, type, code) \ __extension__ \ ({ \ int i; \ \ type* array = (type*)R_alloc(GET_LENGTH(s_array), sizeof(type)); \ \ for (i = 0; i < GET_LENGTH(s_array); i++) { \ array[i] = asCEnum(VECTOR_ELT(s_array, i), code); \ } \ \ array; \ }) gchar ** asCStringArray(USER_OBJECT_ svec); /****** Primitive Type Conversion *********/ #define asCLogical(s_log) (GET_LENGTH(s_log) ? LOGICAL(s_log)[0] : FALSE) #define asCInteger(s_int) (GET_LENGTH(s_int) ? INTEGER(s_int)[0] : 0) #define asCRaw(s_raw) (GET_LENGTH(s_raw) ? RAW(s_raw)[0] : 0) #define asCNumeric(s_num) (GET_LENGTH(s_num) ? REAL(s_num)[0] : 0) const gchar * asCString(USER_OBJECT_ s_str); gchar asCCharacter(USER_OBJECT_ s_char); #define asRLogical ScalarLogical #define asRInteger ScalarInteger #define asRNumeric ScalarReal #define asRRaw ScalarRaw USER_OBJECT_ asRUnsigned(guint num); USER_OBJECT_ asRCharacter(gchar c); USER_OBJECT_ asRString(const gchar *str); #define asCGenericData(sval) __extension__ ({ R_PreserveObject(sval); sval; }) USER_OBJECT_ asREnum(int value, GType etype); USER_OBJECT_ asRFlag(guint value, GType ftype); guint asCFlag(USER_OBJECT_ s_flag, GType ftype); gint asCEnum(USER_OBJECT_ s_enum, GType etype); /******* Pointer-type conversion ********/ USER_OBJECT_ toRPointerWithFinalizer(gconstpointer val, const gchar *typeName, RPointerFinalizer finalizer); #define toRPointer(val, name) toRPointerWithFinalizer(val, name, NULL) USER_OBJECT_ toRPointerWithRef(gconstpointer val, const gchar *type); #define getPtrValue(sval) (sval == NULL_USER_OBJECT ? NULL : R_ExternalPtrAddr(sval)) gpointer getPtrValueWithRef(USER_OBJECT_ sval); /********* GLib structure conversion *********/ GQuark asCGQuark(USER_OBJECT_ sval); USER_OBJECT_ asRGQuark(GQuark val); GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval); USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval); GString* asCGString(USER_OBJECT_ s_string); GList* toCGList(USER_OBJECT_ s_list, gboolean dup); #define asCGList(s_list) toCGList(s_list, FALSE) #define asCGListDup(s_list) toCGList(s_list, TRUE) USER_OBJECT_ asRGList(GList *glist, const gchar* type); USER_OBJECT_ asRGListWithRef(GList *gslist, const gchar* type); USER_OBJECT_ asRGListWithFinalizer(GList *glist, const gchar* type, RPointerFinalizer finalizer); USER_OBJECT_ asRGListConv(GList *glist, ElementConverter converter); GSList* toCGSList(USER_OBJECT_ s_list, gboolean dup); #define asCGSList(s_list) toCGSList(s_list, FALSE) #define asCGSListDup(s_list) toCGSList(s_list, TRUE) USER_OBJECT_ asRGSList(GSList *gslist, const gchar* type); USER_OBJECT_ asRGSListWithRef(GSList *gslist, const gchar* type); USER_OBJECT_ asRGSListWithFinalizer(GSList *gslist, const gchar* type, RPointerFinalizer finalizer); USER_OBJECT_ asRGSListConv(GSList *gslist, ElementConverter converter); USER_OBJECT_ asRGError(GError *error); GError *asCGError(USER_OBJECT_ s_error); /******* GObject structure conversion *********/ int R_setGValueFromSValue(GValue *val, USER_OBJECT_ sval); USER_OBJECT_ R_setGValueForProperty(GValue *value, GObjectClass *class, const gchar *property_name, USER_OBJECT_ s_value); GValue* createGValueFromSValue(USER_OBJECT_ sval); gboolean initGValueFromSValue(USER_OBJECT_ sval, GValue *raw); gboolean initGValueFromVector(USER_OBJECT_ sval, gint n, GValue *raw); USER_OBJECT_ asRGValue(const GValue *val); GValue* asCGValue(USER_OBJECT_ sval); GType asCGType(USER_OBJECT_ sval); USER_OBJECT_ asRGType(GType type); GParamSpec* asCGParamSpec(USER_OBJECT_ s_spec); USER_OBJECT_ asRGParamSpec(GParamSpec* spec); GClosure* asCGClosure(USER_OBJECT_ s_closure); USER_OBJECT_ asRGClosure(GClosure *closure); USER_OBJECT_ toRPointerWithSink(void *val, const char *type); USER_OBJECT_ asRGListWithSink(GList *glist, const gchar* type); USER_OBJECT_ asRGSListWithSink(GSList *gslist, const gchar* type); /********** User Function wrappers ********/ void S_GCompareFunc(gconstpointer s_a, gconstpointer s_b); gboolean S_GSourceFunc(gpointer data); /********** GClosure callbacks ***********/ GClosure* R_createGClosure(USER_OBJECT_ s_func, USER_OBJECT_ s_data); /****** Custom RGtk2 types supporting R objects ********/ GType r_gtk_sexp_get_type(void); #define R_GTK_TYPE_SEXP r_gtk_sexp_get_type() GType r_gtk_param_spec_sexp_get_type(void); #define R_GTK_TYPE_PARAM_SEXP r_gtk_param_spec_sexp_get_type() typedef struct _RGtkParamSpecSexp { GParamSpec parent_instance; SEXPTYPE s_type; USER_OBJECT_ default_value; } RGtkParamSpecSexp; /* Marker interface for SGObjects */ typedef struct _SGObject SGObject; /* Dummy typedef */ typedef struct _SGObjectIface { GTypeInterface parent; USER_OBJECT_ (*get_environment)(SGObject *); } SGObjectIface; GType s_g_object_get_type(void); #define S_TYPE_G_OBJECT s_g_object_get_type() /******* GObject extension ********/ void S_gobject_class_init(GObjectClass *c, USER_OBJECT_ e); /* getting the static environment out of the class of a SGObject */ #define S_GOBJECT_GET_ENV(s_object) \ __extension__ \ ({ \ GTypeQuery query; \ g_type_query(G_OBJECT_TYPE(s_object), &query); \ G_STRUCT_MEMBER(SEXP, G_OBJECT_GET_CLASS(s_object), query.class_size - sizeof(SEXP)); \ }) /* getting the instance-level environment out of a SGObject */ #define S_G_OBJECT_GET_INSTANCE_ENV(s_object) \ __extension__ \ ({ \ GTypeQuery query; \ g_type_query(G_OBJECT_TYPE(s_object), &query); \ G_STRUCT_MEMBER(SEXP, s_object, query.instance_size - sizeof(SEXP)); \ }) /* add the instance environment as an attribute of an R user object */ #define S_G_OBJECT_ADD_ENV(s_object, user_object) \ __extension__ \ ({ \ USER_OBJECT_ user_obj = user_object; \ setAttrib(user_obj, install(".private"), S_G_OBJECT_GET_INSTANCE_ENV(s_object)); \ user_obj; \ }) /******* Utilities *******/ /* puts return by reference parameters into a list */ USER_OBJECT_ retByVal(USER_OBJECT_ retval, ...); /* generic callback stuff */ typedef struct { USER_OBJECT_ function; USER_OBJECT_ data; Rboolean useData; Rboolean userDataFirst; gpointer extra; /* some C-level user data */ } R_CallbackData; R_CallbackData *R_createCBData(USER_OBJECT_ s_func, USER_OBJECT_ s_data); void R_freeCBData(R_CallbackData *cbdata); /* introspection support */ GType getSValueGType(USER_OBJECT_ sval); USER_OBJECT_ R_internal_getInterfaces(GType type); USER_OBJECT_ R_internal_getGTypeAncestors(GType type); /* property stuff */ gpointer propertyConstructor(GType obj_type, char **prop_names, USER_OBJECT_ *args, int nargs); USER_OBJECT_ R_setGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ svals); USER_OBJECT_ R_getGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ argNames); /* make sure something is not NULL before we try to free it */ #define CLEANUP(cleaner, ptr) if (ptr) cleaner(ptr) /* always free the actual string inside a GString */ #define free_g_string(str) g_string_free(str, TRUE) /* easy way to free strings (or anything on the GLib stack) in G(S)Lists */ void GSListFreeStrings(GSList *gslist); void GListFreeStrings(GList *glist); void transformDoubleString(const GValue *src, GValue *dst); void transformIntString(const GValue *src, GValue *dst); void transformBooleanString(const GValue *src, GValue *dst); /* GSeekType enum runtime type info support (needed by GIO) */ #define G_TYPE_SEEK_TYPE (g_seek_type_get_type ()) GType g_seek_type_get_type (void) G_GNUC_CONST; #define G_TYPE_IO_CONDITION (g_io_condition_get_type ()) GType g_io_condition_get_type (void) G_GNUC_CONST; /* do this by name, so that it is resolved at runtime, simplifying header dependencies */ #if GLIB_CHECK_VERSION(2,10,0) #define UNOWNED_TYPE_NAME "GInitiallyUnowned" #else #define UNOWNED_TYPE_NAME "GtkObject" #endif #endif RGtk2/src/RGtk2/atkClasses.h0000644000176000001440000000330512362467242015232 0ustar ripleyusers#ifndef S_ATK_CLASSES_H #define S_ATK_CLASSES_H #include #include void S_atk_hyperlink_class_init(AtkHyperlinkClass * c, SEXP e); void S_atk_object_class_init(AtkObjectClass * c, SEXP e); void S_atk_gobject_accessible_class_init(AtkGObjectAccessibleClass * c, SEXP e); void S_atk_no_op_object_class_init(AtkNoOpObjectClass * c, SEXP e); void S_atk_object_factory_class_init(AtkObjectFactoryClass * c, SEXP e); void S_atk_no_op_object_factory_class_init(AtkNoOpObjectFactoryClass * c, SEXP e); void S_atk_registry_class_init(AtkRegistryClass * c, SEXP e); void S_atk_relation_class_init(AtkRelationClass * c, SEXP e); void S_atk_relation_set_class_init(AtkRelationSetClass * c, SEXP e); void S_atk_state_set_class_init(AtkStateSetClass * c, SEXP e); void S_atk_util_class_init(AtkUtilClass * c, SEXP e); void S_atk_table_class_init(AtkTableIface * c, SEXP e); void S_atk_streamable_content_class_init(AtkStreamableContentIface * c, SEXP e); void S_atk_selection_class_init(AtkSelectionIface * c, SEXP e); void S_atk_implementor_class_init(AtkImplementorIface * c, SEXP e); void S_atk_image_class_init(AtkImageIface * c, SEXP e); void S_atk_hypertext_class_init(AtkHypertextIface * c, SEXP e); void S_atk_editable_text_class_init(AtkEditableTextIface * c, SEXP e); void S_atk_component_class_init(AtkComponentIface * c, SEXP e); void S_atk_action_class_init(AtkActionIface * c, SEXP e); void S_atk_value_class_init(AtkValueIface * c, SEXP e); void S_atk_text_class_init(AtkTextIface * c, SEXP e); void S_atk_document_class_init(AtkDocumentIface * c, SEXP e); #if ATK_CHECK_VERSION(1, 12, 1) void S_atk_hyperlink_impl_class_init(AtkHyperlinkImplIface * c, SEXP e); #endif #endif RGtk2/src/RGtk2/pangoClassImports.c0000644000176000001440000000302612362467242016600 0ustar ripleyusersvoid S_pango_font_class_init(PangoFontClass * c, SEXP e) { static void (*fun)(PangoFontClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_class_init")); return(fun(c, e)); } void S_pango_font_face_class_init(PangoFontFaceClass * c, SEXP e) { static void (*fun)(PangoFontFaceClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontFaceClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_face_class_init")); return(fun(c, e)); } void S_pango_font_family_class_init(PangoFontFamilyClass * c, SEXP e) { static void (*fun)(PangoFontFamilyClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontFamilyClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_family_class_init")); return(fun(c, e)); } void S_pango_font_map_class_init(PangoFontMapClass * c, SEXP e) { static void (*fun)(PangoFontMapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontMapClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_font_map_class_init")); return(fun(c, e)); } void S_pango_fontset_class_init(PangoFontsetClass * c, SEXP e) { static void (*fun)(PangoFontsetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoFontsetClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_fontset_class_init")); return(fun(c, e)); } void S_pango_renderer_class_init(PangoRendererClass * c, SEXP e) { static void (*fun)(PangoRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(PangoRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_pango_renderer_class_init")); return(fun(c, e)); } RGtk2/src/RGtk2/atkClassImports.c0000644000176000001440000001417712362467242016264 0ustar ripleyusersvoid S_atk_hyperlink_class_init(AtkHyperlinkClass * c, SEXP e) { static void (*fun)(AtkHyperlinkClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHyperlinkClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_hyperlink_class_init")); return(fun(c, e)); } void S_atk_object_class_init(AtkObjectClass * c, SEXP e) { static void (*fun)(AtkObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_object_class_init")); return(fun(c, e)); } void S_atk_gobject_accessible_class_init(AtkGObjectAccessibleClass * c, SEXP e) { static void (*fun)(AtkGObjectAccessibleClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkGObjectAccessibleClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_gobject_accessible_class_init")); return(fun(c, e)); } void S_atk_no_op_object_class_init(AtkNoOpObjectClass * c, SEXP e) { static void (*fun)(AtkNoOpObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkNoOpObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_no_op_object_class_init")); return(fun(c, e)); } void S_atk_object_factory_class_init(AtkObjectFactoryClass * c, SEXP e) { static void (*fun)(AtkObjectFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkObjectFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_object_factory_class_init")); return(fun(c, e)); } void S_atk_no_op_object_factory_class_init(AtkNoOpObjectFactoryClass * c, SEXP e) { static void (*fun)(AtkNoOpObjectFactoryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkNoOpObjectFactoryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_no_op_object_factory_class_init")); return(fun(c, e)); } void S_atk_registry_class_init(AtkRegistryClass * c, SEXP e) { static void (*fun)(AtkRegistryClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRegistryClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_registry_class_init")); return(fun(c, e)); } void S_atk_relation_class_init(AtkRelationClass * c, SEXP e) { static void (*fun)(AtkRelationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRelationClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_relation_class_init")); return(fun(c, e)); } void S_atk_relation_set_class_init(AtkRelationSetClass * c, SEXP e) { static void (*fun)(AtkRelationSetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkRelationSetClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_relation_set_class_init")); return(fun(c, e)); } void S_atk_state_set_class_init(AtkStateSetClass * c, SEXP e) { static void (*fun)(AtkStateSetClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkStateSetClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_state_set_class_init")); return(fun(c, e)); } void S_atk_util_class_init(AtkUtilClass * c, SEXP e) { static void (*fun)(AtkUtilClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkUtilClass *, SEXP))R_GetCCallable("RGtk2", "S_atk_util_class_init")); return(fun(c, e)); } void S_atk_table_class_init(AtkTableIface * c, SEXP e) { static void (*fun)(AtkTableIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkTableIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_table_class_init")); return(fun(c, e)); } void S_atk_streamable_content_class_init(AtkStreamableContentIface * c, SEXP e) { static void (*fun)(AtkStreamableContentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkStreamableContentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_streamable_content_class_init")); return(fun(c, e)); } void S_atk_selection_class_init(AtkSelectionIface * c, SEXP e) { static void (*fun)(AtkSelectionIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkSelectionIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_selection_class_init")); return(fun(c, e)); } void S_atk_implementor_class_init(AtkImplementorIface * c, SEXP e) { static void (*fun)(AtkImplementorIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkImplementorIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_implementor_class_init")); return(fun(c, e)); } void S_atk_image_class_init(AtkImageIface * c, SEXP e) { static void (*fun)(AtkImageIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkImageIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_image_class_init")); return(fun(c, e)); } void S_atk_hypertext_class_init(AtkHypertextIface * c, SEXP e) { static void (*fun)(AtkHypertextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHypertextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_hypertext_class_init")); return(fun(c, e)); } void S_atk_editable_text_class_init(AtkEditableTextIface * c, SEXP e) { static void (*fun)(AtkEditableTextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkEditableTextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_editable_text_class_init")); return(fun(c, e)); } void S_atk_component_class_init(AtkComponentIface * c, SEXP e) { static void (*fun)(AtkComponentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkComponentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_component_class_init")); return(fun(c, e)); } void S_atk_action_class_init(AtkActionIface * c, SEXP e) { static void (*fun)(AtkActionIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkActionIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_action_class_init")); return(fun(c, e)); } void S_atk_value_class_init(AtkValueIface * c, SEXP e) { static void (*fun)(AtkValueIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkValueIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_value_class_init")); return(fun(c, e)); } void S_atk_text_class_init(AtkTextIface * c, SEXP e) { static void (*fun)(AtkTextIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkTextIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_text_class_init")); return(fun(c, e)); } void S_atk_document_class_init(AtkDocumentIface * c, SEXP e) { static void (*fun)(AtkDocumentIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkDocumentIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_document_class_init")); return(fun(c, e)); } #if ATK_CHECK_VERSION(1, 12, 1) void S_atk_hyperlink_impl_class_init(AtkHyperlinkImplIface * c, SEXP e) { static void (*fun)(AtkHyperlinkImplIface *, SEXP) = NULL; if(!fun) fun = ((void (*)(AtkHyperlinkImplIface *, SEXP))R_GetCCallable("RGtk2", "S_atk_hyperlink_impl_class_init")); return(fun(c, e)); } #endif RGtk2/src/RGtk2/gioClasses.h0000644000176000001440000001260012362467242015227 0ustar ripleyusers#ifndef S_GIO_CLASSES_H #define S_GIO_CLASSES_H #include #include #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_launch_context_class_init(GAppLaunchContextClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gcancellable_class_init(GCancellableClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilename_completer_class_init(GFilenameCompleterClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_enumerator_class_init(GFileEnumeratorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_monitor_class_init(GFileMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_ginput_stream_class_init(GInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_input_stream_class_init(GFileInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_input_stream_class_init(GFilterInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_input_stream_class_init(GBufferedInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_input_stream_class_init(GDataInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_input_stream_class_init(GMemoryInputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_operation_class_init(GMountOperationClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_goutput_stream_class_init(GOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmemory_output_stream_class_init(GMemoryOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfilter_output_stream_class_init(GFilterOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gbuffered_output_stream_class_init(GBufferedOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdata_output_stream_class_init(GDataOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_output_stream_class_init(GFileOutputStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvfs_class_init(GVfsClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_monitor_class_init(GVolumeMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gnative_volume_monitor_class_init(GNativeVolumeMonitorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gfile_iostream_class_init(GFileIOStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_address_class_init(GInetAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_address_class_init(GNetworkAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gnetwork_service_class_init(GNetworkServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gresolver_class_init(GResolverClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_class_init(GSocketClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_class_init(GSocketAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_address_enumerator_class_init(GSocketAddressEnumeratorClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_client_class_init(GSocketClientClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connection_class_init(GSocketConnectionClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_control_message_class_init(GSocketControlMessageClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_listener_class_init(GSocketListenerClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_service_class_init(GSocketServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gtcp_connection_class_init(GTcpConnectionClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gthreaded_socket_service_class_init(GThreadedSocketServiceClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_giostream_class_init(GIOStreamClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginet_socket_address_class_init(GInetSocketAddressClass * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gapp_info_class_init(GAppInfoIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gasync_result_class_init(GAsyncResultIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gdrive_class_init(GDriveIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gfile_class_init(GFileIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gicon_class_init(GIconIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gloadable_icon_class_init(GLoadableIconIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gmount_class_init(GMountIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gseekable_class_init(GSeekableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_gvolume_class_init(GVolumeIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gasync_initable_class_init(GAsyncInitableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_ginitable_class_init(GInitableIface * c, SEXP e); #endif #if GIO_CHECK_VERSION(2, 22, 0) void S_gsocket_connectable_class_init(GSocketConnectableIface * c, SEXP e); #endif #endif RGtk2/src/RGtk2/cairo-enums.h0000644000176000001440000000462112362467242015361 0ustar ripleyusers /* Generated data (by glib-mkenums) */ #ifndef __CAIRO_ENUM_TYPES_H__ #define __CAIRO_ENUM_TYPES_H__ #include G_BEGIN_DECLS /* enumerations from "cairo-1.8.h" */ GType cairo_status_get_type (void); #define CAIRO_TYPE_STATUS (cairo_status_get_type()) GType cairo_content_get_type (void); #define CAIRO_TYPE_CONTENT (cairo_content_get_type()) GType cairo_operator_get_type (void); #define CAIRO_TYPE_OPERATOR (cairo_operator_get_type()) GType cairo_antialias_get_type (void); #define CAIRO_TYPE_ANTIALIAS (cairo_antialias_get_type()) GType cairo_fill_rule_get_type (void); #define CAIRO_TYPE_FILL_RULE (cairo_fill_rule_get_type()) GType cairo_line_cap_get_type (void); #define CAIRO_TYPE_LINE_CAP (cairo_line_cap_get_type()) GType cairo_line_join_get_type (void); #define CAIRO_TYPE_LINE_JOIN (cairo_line_join_get_type()) GType cairo_text_cluster_flags_get_type (void); #define CAIRO_TYPE_TEXT_CLUSTER_FLAGS (cairo_text_cluster_flags_get_type()) GType cairo_font_slant_get_type (void); #define CAIRO_TYPE_FONT_SLANT (cairo_font_slant_get_type()) GType cairo_font_weight_get_type (void); #define CAIRO_TYPE_FONT_WEIGHT (cairo_font_weight_get_type()) GType cairo_subpixel_order_get_type (void); #define CAIRO_TYPE_SUBPIXEL_ORDER (cairo_subpixel_order_get_type()) GType cairo_hint_style_get_type (void); #define CAIRO_TYPE_HINT_STYLE (cairo_hint_style_get_type()) GType cairo_hint_metrics_get_type (void); #define CAIRO_TYPE_HINT_METRICS (cairo_hint_metrics_get_type()) GType cairo_font_type_get_type (void); #define CAIRO_TYPE_FONT_TYPE (cairo_font_type_get_type()) GType cairo_path_data_type_get_type (void); #define CAIRO_TYPE_PATH_DATA_TYPE (cairo_path_data_type_get_type()) GType cairo_surface_type_get_type (void); #define CAIRO_TYPE_SURFACE_TYPE (cairo_surface_type_get_type()) GType cairo_format_get_type (void); #define CAIRO_TYPE_FORMAT (cairo_format_get_type()) GType cairo_pattern_type_get_type (void); #define CAIRO_TYPE_PATTERN_TYPE (cairo_pattern_type_get_type()) GType cairo_extend_get_type (void); #define CAIRO_TYPE_EXTEND (cairo_extend_get_type()) GType cairo_filter_get_type (void); #define CAIRO_TYPE_FILTER (cairo_filter_get_type()) GType cairo_svg_version_get_type (void); #define CAIRO_TYPE_SVG_VERSION (cairo_svg_version_get_type()) GType cairo_ps_level_get_type (void); #define CAIRO_TYPE_PS_LEVEL (cairo_ps_level_get_type()) G_END_DECLS #endif /* __CAIRO_ENUM_TYPES_H__ */ /* Generated data ends here */ RGtk2/src/RGtk2/cairo.h0000644000176000001440000000325412362467242014235 0ustar ripleyusers#ifndef RGTK2_CAIRO_H #define RGTK2_CAIRO_H /* Note: cairo itself is not based on GObject, but we use our own GEnum-based wrappers for the cairo enums/flags plus other things linked to GObject */ #include #include #define CAIRO_CHECK_VERSION(major, minor, micro) \ (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(major, minor, micro)) /* for cairo 1.2, ps/pdf backend is required for GTK, svg comes 'free', so we can safely depend on these */ #if CAIRO_CHECK_VERSION(1,2,0) #include #include #include #endif /* custom GEnum wrappers so that we can use the same routines for cairo */ #include #include /****** Manual UserFuncs *****/ cairo_status_t S_cairo_read_func_t(gpointer s_closure, guchar* s_data, guint s_length); /****** Conversion ******/ #define toRPointerWithCairoRef(ptr, name, type) \ __extension__ \ ({ \ type ## _reference(ptr); \ toRPointerWithFinalizer(ptr, name, (RPointerFinalizer) type ## _destroy); \ }) USER_OBJECT_ asRCairoPath(cairo_path_t *path); cairo_path_t * asCCairoPath(USER_OBJECT_ s_path); cairo_glyph_t * asCCairoGlyph(USER_OBJECT_ s_glyph); USER_OBJECT_ asRCairoGlyph(cairo_glyph_t * obj); #if CAIRO_CHECK_VERSION(1,4,0) USER_OBJECT_ asRCairoRectangle(cairo_rectangle_t *rect); USER_OBJECT_ asRCairoRectangleList(cairo_rectangle_list_t *list); #endif #if CAIRO_CHECK_VERSION(1,8,0) cairo_text_cluster_t *asCCairoTextCluster(USER_OBJECT_ s_obj); USER_OBJECT_ asRCairoTextCluster(cairo_text_cluster_t * obj); cairo_font_extents_t *asCCairoFontExtents(USER_OBJECT_ s_obj); USER_OBJECT_ asRCairoFontExtents(cairo_font_extents_t * obj); #endif #endif RGtk2/src/RGtk2/cairoUserFuncs.h0000644000176000001440000000033012362467242016063 0ustar ripleyusers#ifndef S_CAIRO_USERFUNCS_H #define S_CAIRO_USERFUNCS_H #include #include cairo_status_t S_cairo_write_func_t(gpointer s_closure, const guchar* s_data, guint s_length); #endif RGtk2/src/RGtk2/atkImports.c0000644000176000001440000000531212362467242015265 0ustar ripleyusers#ifndef S_ATK_IMPORTS_C #define S_ATK_IMPORTS_C #include #include #include #include AtkAttributeSet* asCAtkAttributeSet(USER_OBJECT_ s_set) { static AtkAttributeSet* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkAttributeSet* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkAttributeSet")); return(fun(s_set)); } AtkAttribute* asCAtkAttribute(USER_OBJECT_ s_attr) { static AtkAttribute* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkAttribute* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkAttribute")); return(fun(s_attr)); } USER_OBJECT_ asRAtkAttributeSet(AtkAttributeSet* set) { static USER_OBJECT_ (*fun)(AtkAttributeSet*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkAttributeSet*))R_GetCCallable("RGtk2", "asRAtkAttributeSet")); return(fun(set)); } USER_OBJECT_ asRAtkAttribute(AtkAttribute* attr) { static USER_OBJECT_ (*fun)(AtkAttribute*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkAttribute*))R_GetCCallable("RGtk2", "asRAtkAttribute")); return(fun(attr)); } AtkTextRectangle* asCAtkTextRectangle(USER_OBJECT_ s_rect) { static AtkTextRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkTextRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkTextRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRAtkTextRectangle(AtkTextRectangle* rect) { static USER_OBJECT_ (*fun)(AtkTextRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkTextRectangle*))R_GetCCallable("RGtk2", "asRAtkTextRectangle")); return(fun(rect)); } USER_OBJECT_ asRAtkTextRange(AtkTextRange* range) { static USER_OBJECT_ (*fun)(AtkTextRange*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkTextRange*))R_GetCCallable("RGtk2", "asRAtkTextRange")); return(fun(range)); } AtkTextRange* asCAtkTextRange(USER_OBJECT_ s_obj) { static AtkTextRange* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkTextRange* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkTextRange")); return(fun(s_obj)); } USER_OBJECT_ asRAtkKeyEventStruct(AtkKeyEventStruct* obj) { static USER_OBJECT_ (*fun)(AtkKeyEventStruct*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkKeyEventStruct*))R_GetCCallable("RGtk2", "asRAtkKeyEventStruct")); return(fun(obj)); } AtkRectangle* asCAtkRectangle(USER_OBJECT_ s_rect) { static AtkRectangle* (*fun)(USER_OBJECT_) = NULL; if(!fun) fun = ((AtkRectangle* (*)(USER_OBJECT_))R_GetCCallable("RGtk2", "asCAtkRectangle")); return(fun(s_rect)); } USER_OBJECT_ asRAtkRectangle(AtkRectangle* rect) { static USER_OBJECT_ (*fun)(AtkRectangle*) = NULL; if(!fun) fun = ((USER_OBJECT_ (*)(AtkRectangle*))R_GetCCallable("RGtk2", "asRAtkRectangle")); return(fun(rect)); } #endif RGtk2/src/RGtk2/gdkClassImports.c0000644000176000001440000001060512362467242016242 0ustar ripleyusersvoid S_gdk_bitmap_class_init(GdkDrawableClass * c, SEXP e) { static void (*fun)(GdkDrawableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDrawableClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_bitmap_class_init")); return(fun(c, e)); } void S_gdk_colormap_class_init(GdkColormapClass * c, SEXP e) { static void (*fun)(GdkColormapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkColormapClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_colormap_class_init")); return(fun(c, e)); } void S_gdk_display_class_init(GdkDisplayClass * c, SEXP e) { static void (*fun)(GdkDisplayClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDisplayClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_display_class_init")); return(fun(c, e)); } void S_gdk_display_manager_class_init(GdkDisplayManagerClass * c, SEXP e) { static void (*fun)(GdkDisplayManagerClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDisplayManagerClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_display_manager_class_init")); return(fun(c, e)); } void S_gdk_drag_context_class_init(GdkDragContextClass * c, SEXP e) { static void (*fun)(GdkDragContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDragContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_drag_context_class_init")); return(fun(c, e)); } void S_gdk_drawable_class_init(GdkDrawableClass * c, SEXP e) { static void (*fun)(GdkDrawableClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkDrawableClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_drawable_class_init")); return(fun(c, e)); } void S_gdk_window_class_init(GdkWindowClass * c, SEXP e) { static void (*fun)(GdkWindowClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkWindowClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_window_class_init")); return(fun(c, e)); } void S_gdk_pixmap_class_init(GdkPixmapObjectClass * c, SEXP e) { static void (*fun)(GdkPixmapObjectClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixmapObjectClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixmap_class_init")); return(fun(c, e)); } void S_gdk_gc_class_init(GdkGCClass * c, SEXP e) { static void (*fun)(GdkGCClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkGCClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_gc_class_init")); return(fun(c, e)); } void S_gdk_image_class_init(GdkImageClass * c, SEXP e) { static void (*fun)(GdkImageClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkImageClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_image_class_init")); return(fun(c, e)); } void S_gdk_keymap_class_init(GdkKeymapClass * c, SEXP e) { static void (*fun)(GdkKeymapClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkKeymapClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_keymap_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_animation_class_init(GdkPixbufAnimationClass * c, SEXP e) { static void (*fun)(GdkPixbufAnimationClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufAnimationClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_animation_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_animation_iter_class_init(GdkPixbufAnimationIterClass * c, SEXP e) { static void (*fun)(GdkPixbufAnimationIterClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufAnimationIterClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_animation_iter_class_init")); return(fun(c, e)); } void S_gdk_pixbuf_loader_class_init(GdkPixbufLoaderClass * c, SEXP e) { static void (*fun)(GdkPixbufLoaderClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPixbufLoaderClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pixbuf_loader_class_init")); return(fun(c, e)); } void S_gdk_pango_renderer_class_init(GdkPangoRendererClass * c, SEXP e) { static void (*fun)(GdkPangoRendererClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkPangoRendererClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_pango_renderer_class_init")); return(fun(c, e)); } void S_gdk_screen_class_init(GdkScreenClass * c, SEXP e) { static void (*fun)(GdkScreenClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkScreenClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_screen_class_init")); return(fun(c, e)); } #if GDK_CHECK_VERSION(2, 14, 0) void S_gdk_app_launch_context_class_init(GdkAppLaunchContextClass * c, SEXP e) { static void (*fun)(GdkAppLaunchContextClass *, SEXP) = NULL; if(!fun) fun = ((void (*)(GdkAppLaunchContextClass *, SEXP))R_GetCCallable("RGtk2", "S_gdk_app_launch_context_class_init")); return(fun(c, e)); } #endif RGtk2/src/RGtk2/gtkUserFuncs.h0000644000176000001440000001456312362467242015570 0ustar ripleyusers#ifndef S_GTK_USERFUNCS_H #define S_GTK_USERFUNCS_H #include #include void S_GtkAboutDialogActivateLinkFunc(GtkAboutDialog* s_about, const gchar* s_link, gpointer s_data); void S_GtkCellLayoutDataFunc(GtkCellLayout* s_cell_layout, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data); void S_GtkClipboardGetFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, guint s_info, gpointer s_user_data_or_owner); void S_GtkClipboardReceivedFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, gpointer s_data); void S_GtkClipboardImageReceivedFunc(GtkClipboard* s_clipboard, GdkPixbuf* s_image, gpointer s_data); void S_GtkClipboardTextReceivedFunc(GtkClipboard* s_clipboard, const gchar* s_text, gpointer s_data); void S_GtkClipboardTargetsReceivedFunc(GtkClipboard* s_clipboard, GdkAtom* s_atoms, gint s_n_atoms, gpointer s_data); void S_GtkColorSelectionChangePaletteFunc(const GdkColor* s_colors, gint s_n_colors); void S_GtkColorSelectionChangePaletteWithScreenFunc(GdkScreen* s_screen, const GdkColor* s_colors, gint s_n_colors); gboolean S_GtkCTreeGNodeFunc(GtkCTree* s_ctree, guint s_depth, GNode* s_gnode, GtkCTreeNode* s_cnode, gpointer s_data); void S_GtkCTreeFunc(GtkCTree* s_ctree, GtkCTreeNode* s_node, gpointer s_data); gboolean S_GtkEntryCompletionMatchFunc(GtkEntryCompletion* s_completion, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_user_data); gboolean S_GtkFileFilterFunc(const GtkFileFilterInfo* s_filter_info, gpointer s_data); void S_GtkIconViewForeachFunc(GtkIconView* s_icon_view, GtkTreePath* s_path, gpointer s_data); void S_GtkTranslateFunc(const gchar* s_path, gpointer s_func_data); gboolean S_GtkFunction(gpointer s_data); gint S_GtkKeySnoopFunc(GtkWidget* s_grab_widget, GdkEventKey* s_event, gpointer s_func_data); gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data); gint S_GtkTreeModelForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeModelFilterVisibleFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeModelFilterModifyFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, GValue* s_value, gint s_column, gpointer s_data); gboolean S_GtkTreeSelectionFunc(GtkTreeSelection* s_selection, GtkTreeModel* s_model, GtkTreePath* s_path, gboolean s_path_currently_selected, gpointer s_data); void S_GtkTreeSelectionForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data); gint S_GtkTreeIterCompareFunc(GtkTreeModel* s_model, GtkTreeIter* s_a, GtkTreeIter* s_b, gpointer s_user_data); void S_GtkTreeCellDataFunc(GtkTreeViewColumn* s_tree_column, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data); gboolean S_GtkTreeViewColumnDropFunc(GtkTreeView* s_tree_view, GtkTreeViewColumn* s_column, GtkTreeViewColumn* s_prev_column, GtkTreeViewColumn* s_next_column, gpointer s_data); void S_GtkTreeViewMappingFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gpointer s_user_data); gboolean S_GtkTreeViewSearchEqualFunc(GtkTreeModel* s_model, gint s_column, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_search_data); void S_GtkTreeDestroyCountFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gint s_children, gpointer s_user_data); gboolean S_GtkTreeViewRowSeparatorFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data); void S_GtkCallback(GtkWidget* s_child, gpointer s_data); void S_GtkAccelMapForeach(gpointer s_data, const gchar* s_accel_path, guint s_accel_key, GdkModifierType s_accel_mods, gboolean s_changed); gboolean S_GtkAccelGroupFindFunc(GtkAccelKey* s_key, GClosure* s_closure, gpointer s_data); gboolean S_GtkAccelGroupActivate(GtkAccelGroup* s_accel_group, GObject* s_acceleratable, guint s_keyval, GdkModifierType s_modifier); void S_GtkTextTagTableForeach(GtkTextTag* s_tag, gpointer s_data); gboolean S_GtkTextCharPredicate(gunichar s_ch, gpointer s_user_data); void S_GtkItemFactoryCallback1(gpointer s_callback_data, guint s_callback_action, GtkWidget* s_widget); void S_GtkItemFactoryCallback2(GtkWidget* s_widget, gpointer s_callback_data, guint s_callback_action); #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkAssistantPageFunc(gint s_current_page, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkClipboardRichTextReceivedFunc(GtkClipboard* s_clipboard, GdkAtom s_format, const guint8* s_text, gsize s_length, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkLinkButtonUriFunc(GtkLinkButton* s_button, const gchar* s_link, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* S_GtkNotebookWindowCreationFunc(GtkNotebook* s_source, GtkWidget* s_page, gint s_x, gint s_y, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPageSetupDoneFunc(GtkPageSetup* s_page_setup, gpointer s_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPrintSettingsFunc(const gchar* s_key, const gchar* s_value, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkRecentSortFunc(GtkRecentInfo* s_a, GtkRecentInfo* s_b, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkRecentFilterFunc(const GtkRecentFilterInfo* s_filter_info, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkTextBufferDeserializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_iter, const guint8* s_data, gsize s_length, gboolean s_create_tags, gpointer s_user_data, GError** s_error); #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkTreeViewSearchPositionFunc(GtkTreeView* s_tree_view, GtkWidget* s_search_dialog, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_GtkBuilderConnectFunc(GtkBuilder* s_builder, GObject* s_object, const gchar* s_signal_name, const gchar* s_handler_name, GObject* s_connect_object, guint s_flags, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 14, 0) gchar* S_GtkCalendarDetailFunc(GtkCalendar* s_calendar, guint s_year, guint s_month, guint s_day, gpointer s_user_data); #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_GtkClipboardURIReceivedFunc(GtkClipboard* s_clipboard, gchar** s_uris, gpointer s_user_data); #endif #endif RGtk2/src/RGtk2/pangoUserFuncImports.c0000644000176000001440000000177312362467242017274 0ustar ripleyusersgboolean S_PangoFontsetForeachFunc(PangoFontset* fontset, PangoFont* font, gpointer data) { static gboolean (*fun)(PangoFontset*, PangoFont*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(PangoFontset*, PangoFont*, gpointer))R_GetCCallable("RGtk2", "S_PangoFontsetForeachFunc")); return(fun(fontset, font, data)); } gboolean S_PangoAttrFilterFunc(PangoAttribute* attribute, gpointer data) { static gboolean (*fun)(PangoAttribute*, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(PangoAttribute*, gpointer))R_GetCCallable("RGtk2", "S_PangoAttrFilterFunc")); return(fun(attribute, data)); } #if PANGO_CHECK_VERSION(1, 18, 0) gboolean S_PangoCairoShapeRendererFunc(cairo_t* cr, PangoAttrShape* attr, gboolean do_path, gpointer data) { static gboolean (*fun)(cairo_t*, PangoAttrShape*, gboolean, gpointer) = NULL; if(!fun) fun = ((gboolean (*)(cairo_t*, PangoAttrShape*, gboolean, gpointer))R_GetCCallable("RGtk2", "S_PangoCairoShapeRendererFunc")); return(fun(cr, attr, do_path, data)); } #endif RGtk2/src/atkUserFuncs.c0000644000176000001440000000125212362467242014613 0ustar ripleyusers#include "RGtk2/atkUserFuncs.h" gint S_AtkKeySnoopFunc(AtkKeyEventStruct* s_event, gpointer s_func_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_func_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_func_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRAtkKeyEventStruct(s_event)); tmp = CDR(tmp); if(((R_CallbackData *)s_func_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_func_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } RGtk2/src/gtkFuncs.c0000644000176000001440000510023412362467242013767 0ustar ripleyusers#include #include #include "gtkFuncs.h" USER_OBJECT_ S_GTK_OBJECT_FLAGS(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkObject* object = GTK_OBJECT(getPtrValue(s_object)); GtkWidgetFlags ans; ans = GTK_OBJECT_FLAGS(object); _result = asRFlag(ans, GTK_TYPE_WIDGET_FLAGS); return(_result); } USER_OBJECT_ S_GTK_WIDGET_SET_FLAGS(USER_OBJECT_ s_wid, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* wid = GTK_WIDGET(getPtrValue(s_wid)); GtkWidgetFlags flags = ((GtkWidgetFlags)asCFlag(s_flags, GTK_TYPE_WIDGET_FLAGS)); GTK_WIDGET_SET_FLAGS(wid, flags); return(_result); } USER_OBJECT_ S_GTK_WIDGET_UNSET_FLAGS(USER_OBJECT_ s_wid, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* wid = GTK_WIDGET(getPtrValue(s_wid)); GtkWidgetFlags flags = ((GtkWidgetFlags)asCFlag(s_flags, GTK_TYPE_WIDGET_FLAGS)); GTK_WIDGET_UNSET_FLAGS(wid, flags); return(_result); } USER_OBJECT_ S_GTK_WIDGET_IS_SENSITIVE(USER_OBJECT_ s_wid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* wid = GTK_WIDGET(getPtrValue(s_wid)); gboolean ans; ans = GTK_WIDGET_IS_SENSITIVE(wid); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_GTK_WIDGET_STATE(USER_OBJECT_ s_wid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* wid = GTK_WIDGET(getPtrValue(s_wid)); GtkStateType ans; ans = GTK_WIDGET_STATE(wid); _result = asREnum(ans, GTK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_GTK_WIDGET_SAVED_STATE(USER_OBJECT_ s_wid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* wid = GTK_WIDGET(getPtrValue(s_wid)); GtkStateType ans; ans = GTK_WIDGET_SAVED_STATE(wid); _result = asREnum(ans, GTK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_GTK_CTREE_ROW(USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeRow* ans; ans = GTK_CTREE_ROW(node); _result = toRPointer(ans, "GtkCTreeRow"); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_about_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_about_dialog_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* name = GET_LENGTH(s_name) == 0 ? NULL : ((const gchar*)asCString(s_name)); gtk_about_dialog_set_name(object, name); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_version(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_version(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_version(USER_OBJECT_ s_object, USER_OBJECT_ s_version) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* version = GET_LENGTH(s_version) == 0 ? NULL : ((const gchar*)asCString(s_version)); gtk_about_dialog_set_version(object, version); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_copyright(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_copyright(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_copyright(USER_OBJECT_ s_object, USER_OBJECT_ s_copyright) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* copyright = GET_LENGTH(s_copyright) == 0 ? NULL : ((const gchar*)asCString(s_copyright)); gtk_about_dialog_set_copyright(object, copyright); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_comments(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_comments(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_comments(USER_OBJECT_ s_object, USER_OBJECT_ s_comments) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* comments = GET_LENGTH(s_comments) == 0 ? NULL : ((const gchar*)asCString(s_comments)); gtk_about_dialog_set_comments(object, comments); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_license(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_license(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_license(USER_OBJECT_ s_object, USER_OBJECT_ s_license) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* license = GET_LENGTH(s_license) == 0 ? NULL : ((const gchar*)asCString(s_license)); gtk_about_dialog_set_license(object, license); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_wrap_license(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); gboolean ans; ans = gtk_about_dialog_get_wrap_license(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_wrap_license(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_license) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); gboolean wrap_license = ((gboolean)asCLogical(s_wrap_license)); gtk_about_dialog_set_wrap_license(object, wrap_license); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_website(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_website(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_website(USER_OBJECT_ s_object, USER_OBJECT_ s_website) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* website = GET_LENGTH(s_website) == 0 ? NULL : ((const gchar*)asCString(s_website)); gtk_about_dialog_set_website(object, website); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_website_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_website_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_website_label(USER_OBJECT_ s_object, USER_OBJECT_ s_website_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* website_label = GET_LENGTH(s_website_label) == 0 ? NULL : ((const gchar*)asCString(s_website_label)); gtk_about_dialog_set_website_label(object, website_label); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_authors(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* const* ans; ans = gtk_about_dialog_get_authors(object); _result = asRStringArray(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_authors(USER_OBJECT_ s_object, USER_OBJECT_ s_authors) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar** authors = ((const gchar**)asCStringArray(s_authors)); gtk_about_dialog_set_authors(object, authors); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_documenters(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* const* ans; ans = gtk_about_dialog_get_documenters(object); _result = asRStringArray(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_documenters(USER_OBJECT_ s_object, USER_OBJECT_ s_documenters) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar** documenters = ((const gchar**)asCStringArray(s_documenters)); gtk_about_dialog_set_documenters(object, documenters); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_artists(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* const* ans; ans = gtk_about_dialog_get_artists(object); _result = asRStringArray(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_artists(USER_OBJECT_ s_object, USER_OBJECT_ s_artists) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar** artists = ((const gchar**)asCStringArray(s_artists)); gtk_about_dialog_set_artists(object, artists); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_translator_credits(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_translator_credits(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_translator_credits(USER_OBJECT_ s_object, USER_OBJECT_ s_translator_credits) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* translator_credits = GET_LENGTH(s_translator_credits) == 0 ? NULL : ((const gchar*)asCString(s_translator_credits)); gtk_about_dialog_set_translator_credits(object, translator_credits); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_logo(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_about_dialog_get_logo(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_logo(USER_OBJECT_ s_object, USER_OBJECT_ s_logo) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); GdkPixbuf* logo = GET_LENGTH(s_logo) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_logo)); gtk_about_dialog_set_logo(object, logo); return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_logo_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_logo_icon_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_logo_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* icon_name = GET_LENGTH(s_icon_name) == 0 ? NULL : ((const gchar*)asCString(s_icon_name)); gtk_about_dialog_set_logo_icon_name(object, icon_name); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_email_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialogActivateLinkFunc func = ((GtkAboutDialogActivateLinkFunc)S_GtkAboutDialogActivateLinkFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); GtkAboutDialogActivateLinkFunc ans; ans = gtk_about_dialog_set_email_hook(func, data, destroy); _result = toRPointer(ans, "GtkAboutDialogActivateLinkFunc"); return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_url_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAboutDialogActivateLinkFunc func = ((GtkAboutDialogActivateLinkFunc)S_GtkAboutDialogActivateLinkFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); GtkAboutDialogActivateLinkFunc ans; ans = gtk_about_dialog_set_url_hook(func, data, destroy); _result = toRPointer(ans, "GtkAboutDialogActivateLinkFunc"); return(_result); } USER_OBJECT_ S_gtk_accel_group_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_accel_group_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_accel_group_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* ans; ans = gtk_accel_group_new(); _result = toRPointerWithFinalizer(ans, "GtkAccelGroup", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_accel_group_lock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); gtk_accel_group_lock(object); return(_result); } USER_OBJECT_ S_gtk_accel_group_unlock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); gtk_accel_group_unlock(object); return(_result); } USER_OBJECT_ S_gtk_accel_group_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_accel_flags, USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); GtkAccelFlags accel_flags = ((GtkAccelFlags)asCFlag(s_accel_flags, GTK_TYPE_ACCEL_FLAGS)); GClosure* closure = asCGClosure(s_closure); gtk_accel_group_connect(object, accel_key, accel_mods, accel_flags, closure); return(_result); } USER_OBJECT_ S_gtk_accel_group_connect_by_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path, USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); GClosure* closure = asCGClosure(s_closure); gtk_accel_group_connect_by_path(object, accel_path, closure); return(_result); } USER_OBJECT_ S_gtk_accel_group_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); GClosure* closure = asCGClosure(s_closure); gboolean ans; ans = gtk_accel_group_disconnect(object, closure); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_group_disconnect_key(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_accel_group_disconnect_key(object, accel_key, accel_mods); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_group_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_quark, USER_OBJECT_ s_acceleratable, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); GQuark accel_quark = ((GQuark)asCGQuark(s_accel_quark)); GObject* acceleratable = G_OBJECT(getPtrValue(s_acceleratable)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_accel_group_activate(object, accel_quark, acceleratable, accel_key, accel_mods); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_groups_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* object = G_OBJECT(getPtrValue(s_object)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_accel_groups_activate(object, accel_key, accel_mods); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_groups_from_object(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* object = G_OBJECT(getPtrValue(s_object)); GSList* ans; ans = gtk_accel_groups_from_object(object); _result = asRGSListWithRef(ans, "GtkAccelGroup"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_accel_group_find(USER_OBJECT_ s_object, USER_OBJECT_ s_find_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroupFindFunc find_func = ((GtkAccelGroupFindFunc)S_GtkAccelGroupFindFunc); R_CallbackData* data = R_createCBData(s_find_func, s_data); GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); GtkAccelKey* ans; ans = gtk_accel_group_find(object, find_func, data); _result = asRGtkAccelKey(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_accel_group_from_accel_closure(USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GClosure* closure = asCGClosure(s_closure); GtkAccelGroup* ans; ans = gtk_accel_group_from_accel_closure(closure); _result = toRPointerWithRef(ans, "GtkAccelGroup"); return(_result); } USER_OBJECT_ S_gtk_accelerator_valid(USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_accelerator_valid(keyval, modifiers); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accelerator_parse(USER_OBJECT_ s_accelerator) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accelerator = ((const gchar*)asCString(s_accelerator)); guint accelerator_key; GdkModifierType accelerator_mods; gtk_accelerator_parse(accelerator, &accelerator_key, &accelerator_mods); _result = retByVal(_result, "accelerator.key", asRNumeric(accelerator_key), "accelerator.mods", asRFlag(accelerator_mods, GDK_TYPE_MODIFIER_TYPE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_accelerator_name(USER_OBJECT_ s_accelerator_key, USER_OBJECT_ s_accelerator_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint accelerator_key = ((guint)asCNumeric(s_accelerator_key)); GdkModifierType accelerator_mods = ((GdkModifierType)asCFlag(s_accelerator_mods, GDK_TYPE_MODIFIER_TYPE)); gchar* ans; ans = gtk_accelerator_name(accelerator_key, accelerator_mods); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_accelerator_set_default_mod_mask(USER_OBJECT_ s_default_mod_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkModifierType default_mod_mask = ((GdkModifierType)asCFlag(s_default_mod_mask, GDK_TYPE_MODIFIER_TYPE)); gtk_accelerator_set_default_mod_mask(default_mod_mask); return(_result); } USER_OBJECT_ S_gtk_accelerator_get_default_mod_mask(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint ans; ans = gtk_accelerator_get_default_mod_mask(); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_accelerator_get_label(USER_OBJECT_ s_accelerator_key, USER_OBJECT_ s_accelerator_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint accelerator_key = ((guint)asCNumeric(s_accelerator_key)); GdkModifierType accelerator_mods = ((GdkModifierType)asCFlag(s_accelerator_mods, GDK_TYPE_MODIFIER_TYPE)); gchar* ans; ans = gtk_accelerator_get_label(accelerator_key, accelerator_mods); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_accel_label_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_accel_label_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_accel_label_new(USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "label", NULL }; USER_OBJECT_ args[] = { s_string }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_ACCEL_LABEL, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_accel_label_get_accel_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelLabel* object = GTK_ACCEL_LABEL(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_accel_label_get_accel_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_accel_label_get_accel_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelLabel* object = GTK_ACCEL_LABEL(getPtrValue(s_object)); guint ans; ans = gtk_accel_label_get_accel_width(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_accel_label_set_accel_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelLabel* object = GTK_ACCEL_LABEL(getPtrValue(s_object)); GtkWidget* accel_widget = GTK_WIDGET(getPtrValue(s_accel_widget)); gtk_accel_label_set_accel_widget(object, accel_widget); return(_result); } USER_OBJECT_ S_gtk_accel_label_set_accel_closure(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelLabel* object = GTK_ACCEL_LABEL(getPtrValue(s_object)); GClosure* accel_closure = asCGClosure(s_accel_closure); gtk_accel_label_set_accel_closure(object, accel_closure); return(_result); } USER_OBJECT_ S_gtk_accel_label_refetch(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelLabel* object = GTK_ACCEL_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_accel_label_refetch(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_map_add_entry(USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gtk_accel_map_add_entry(accel_path, accel_key, accel_mods); return(_result); } USER_OBJECT_ S_gtk_accel_map_lookup_entry(USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gboolean ans; GtkAccelKey* key = ((GtkAccelKey *)g_new0(GtkAccelKey, 1)); ans = gtk_accel_map_lookup_entry(accel_path, key); _result = asRLogical(ans); _result = retByVal(_result, "key", asRGtkAccelKey(key), NULL); ; return(_result); } USER_OBJECT_ S_gtk_accel_map_change_entry(USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_replace) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gboolean replace = ((gboolean)asCLogical(s_replace)); gboolean ans; ans = gtk_accel_map_change_entry(accel_path, accel_key, accel_mods, replace); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_accel_map_load(USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* file_name = ((const gchar*)asCString(s_file_name)); gtk_accel_map_load(file_name); return(_result); } USER_OBJECT_ S_gtk_accel_map_save(USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* file_name = ((const gchar*)asCString(s_file_name)); gtk_accel_map_save(file_name); return(_result); } USER_OBJECT_ S_gtk_accel_map_foreach(USER_OBJECT_ s_data, USER_OBJECT_ s_foreach_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelMapForeach foreach_func = ((GtkAccelMapForeach)S_GtkAccelMapForeach); R_CallbackData* data = R_createCBData(s_foreach_func, s_data); gtk_accel_map_foreach(data, foreach_func); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_accel_map_load_fd(USER_OBJECT_ s_fd) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint fd = ((gint)asCInteger(s_fd)); gtk_accel_map_load_fd(fd); return(_result); } USER_OBJECT_ S_gtk_accel_map_load_scanner(USER_OBJECT_ s_scanner) { USER_OBJECT_ _result = NULL_USER_OBJECT; GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); gtk_accel_map_load_scanner(scanner); return(_result); } USER_OBJECT_ S_gtk_accel_map_save_fd(USER_OBJECT_ s_fd) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint fd = ((gint)asCInteger(s_fd)); gtk_accel_map_save_fd(fd); return(_result); } USER_OBJECT_ S_gtk_accel_map_lock_path(USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gtk_accel_map_lock_path(accel_path); return(_result); } USER_OBJECT_ S_gtk_accel_map_unlock_path(USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gtk_accel_map_unlock_path(accel_path); return(_result); } USER_OBJECT_ S_gtk_accel_map_add_filter(USER_OBJECT_ s_filter_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filter_pattern = ((const gchar*)asCString(s_filter_pattern)); gtk_accel_map_add_filter(filter_pattern); return(_result); } USER_OBJECT_ S_gtk_accel_map_foreach_unfiltered(USER_OBJECT_ s_data, USER_OBJECT_ s_foreach_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelMapForeach foreach_func = ((GtkAccelMapForeach)S_GtkAccelMapForeach); R_CallbackData* data = R_createCBData(s_foreach_func, s_data); gtk_accel_map_foreach_unfiltered(data, foreach_func); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_accel_map_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_accel_map_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_accel_map_get(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelMap* ans; ans = gtk_accel_map_get(); _result = toRPointerWithRef(ans, "GtkAccelMap"); return(_result); } USER_OBJECT_ S_gtk_accessible_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_accessible_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_accessible_connect_widget_destroyed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccessible* object = GTK_ACCESSIBLE(getPtrValue(s_object)); gtk_accessible_connect_widget_destroyed(object); return(_result); } USER_OBJECT_ S_gtk_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_action_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "name", "label", "tooltip", "stock_id", NULL }; USER_OBJECT_ args[] = { s_name, s_label, s_tooltip, s_stock_id }; GtkAction* ans; ans = propertyConstructor(GTK_TYPE_ACTION, prop_names, args, 4); _result = toRPointerWithFinalizer(ans, "GtkAction", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_action_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_action_is_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_is_sensitive(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_get_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_sensitive(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_is_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_is_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gtk_action_activate(object); return(_result); } USER_OBJECT_ S_gtk_action_create_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkIconSize icon_size = ((GtkIconSize)asCEnum(s_icon_size, GTK_TYPE_ICON_SIZE)); GtkWidget* ans; ans = gtk_action_create_icon(object, icon_size); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_action_create_menu_item(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_action_create_menu_item(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_action_create_tool_item(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_action_create_tool_item(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_action_connect_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); gtk_action_connect_proxy(object, proxy); return(_result); } USER_OBJECT_ S_gtk_action_disconnect_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); gtk_action_disconnect_proxy(object, proxy); return(_result); } USER_OBJECT_ S_gtk_action_get_proxies(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GSList* ans; ans = gtk_action_get_proxies(object); _result = asRGSListWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_action_connect_accelerator(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gtk_action_connect_accelerator(object); return(_result); } USER_OBJECT_ S_gtk_action_disconnect_accelerator(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gtk_action_disconnect_accelerator(object); return(_result); } USER_OBJECT_ S_gtk_action_get_accel_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_accel_path(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_action_get_accel_closure(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GClosure* ans; ans = gtk_action_get_accel_closure(object); _result = asRGClosure(ans); return(_result); } USER_OBJECT_ S_gtk_action_block_activate_from(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); gtk_action_block_activate_from(object, proxy); return(_result); } USER_OBJECT_ S_gtk_action_unblock_activate_from(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); gtk_action_unblock_activate_from(object, proxy); return(_result); } USER_OBJECT_ S_gtk_action_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gtk_action_set_accel_path(object, accel_path); return(_result); } USER_OBJECT_ S_gtk_action_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_action_set_accel_group(object, accel_group); return(_result); } USER_OBJECT_ S_gtk_action_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean sensitive = ((gboolean)asCLogical(s_sensitive)); gtk_action_set_sensitive(object, sensitive); return(_result); } USER_OBJECT_ S_gtk_action_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_action_set_visible(object, visible); return(_result); } USER_OBJECT_ S_gtk_action_group_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_action_group_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_action_group_new(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "name", NULL }; USER_OBJECT_ args[] = { s_name }; GtkActionGroup* ans; ans = propertyConstructor(GTK_TYPE_ACTION_GROUP, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GtkActionGroup", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_action_group_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_group_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_action_group_get_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); gboolean ans; ans = gtk_action_group_get_sensitive(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_group_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); gboolean sensitive = ((gboolean)asCLogical(s_sensitive)); gtk_action_group_set_sensitive(object, sensitive); return(_result); } USER_OBJECT_ S_gtk_action_group_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); gboolean ans; ans = gtk_action_group_get_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_action_group_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_action_group_set_visible(object, visible); return(_result); } USER_OBJECT_ S_gtk_action_group_get_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); const gchar* action_name = ((const gchar*)asCString(s_action_name)); GtkAction* ans; ans = gtk_action_group_get_action(object, action_name); _result = toRPointerWithRef(ans, "GtkAction"); return(_result); } USER_OBJECT_ S_gtk_action_group_list_actions(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); GList* ans; ans = gtk_action_group_list_actions(object); _result = asRGListWithRef(ans, "GtkAction"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_action_group_add_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); gtk_action_group_add_action(object, action); return(_result); } USER_OBJECT_ S_gtk_action_group_add_action_with_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_accelerator) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); const gchar* accelerator = GET_LENGTH(s_accelerator) == 0 ? NULL : ((const gchar*)asCString(s_accelerator)); gtk_action_group_add_action_with_accel(object, action, accelerator); return(_result); } USER_OBJECT_ S_gtk_action_group_remove_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); gtk_action_group_remove_action(object, action); return(_result); } USER_OBJECT_ S_gtk_action_group_set_translate_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTranslateFunc func = ((GtkTranslateFunc)S_GtkTranslateFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); GtkDestroyNotify notify = ((GtkDestroyNotify)R_freeCBData); gtk_action_group_set_translate_func(object, func, data, notify); return(_result); } USER_OBJECT_ S_gtk_action_group_set_translation_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); const gchar* domain = ((const gchar*)asCString(s_domain)); gtk_action_group_set_translation_domain(object, domain); return(_result); } USER_OBJECT_ S_gtk_action_group_translate_string(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); const gchar* ans; ans = gtk_action_group_translate_string(object, string); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_adjustment_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_adjustment_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_adjustment_new(USER_OBJECT_ s_value, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_step_incr, USER_OBJECT_ s_page_incr, USER_OBJECT_ s_page_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "value", "lower", "upper", "step_increment", "page_increment", "page_size", NULL }; USER_OBJECT_ args[] = { s_value, s_lower, s_upper, s_step_incr, s_page_incr, s_page_size }; GtkObject* ans; ans = propertyConstructor(GTK_TYPE_ADJUSTMENT, prop_names, args, 6); _result = toRPointerWithSink(ans, "GtkObject"); return(_result); } USER_OBJECT_ S_gtk_adjustment_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gtk_adjustment_changed(object); return(_result); } USER_OBJECT_ S_gtk_adjustment_value_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gtk_adjustment_value_changed(object); return(_result); } USER_OBJECT_ S_gtk_adjustment_clamp_page(USER_OBJECT_ s_object, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble lower = ((gdouble)asCNumeric(s_lower)); gdouble upper = ((gdouble)asCNumeric(s_upper)); gtk_adjustment_clamp_page(object, lower, upper); return(_result); } USER_OBJECT_ S_gtk_adjustment_get_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_value(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_adjustment_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_adjustment_set_value(object, value); return(_result); } USER_OBJECT_ S_gtk_alignment_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_alignment_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_alignment_new(USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_xscale, USER_OBJECT_ s_yscale) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "xalign", "yalign", "xscale", "yscale", NULL }; USER_OBJECT_ args[] = { s_xalign, s_yalign, s_xscale, s_yscale }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_ALIGNMENT, prop_names, args, 4); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_alignment_set(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_xscale, USER_OBJECT_ s_yscale) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAlignment* object = GTK_ALIGNMENT(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gfloat xscale = ((gfloat)asCNumeric(s_xscale)); gfloat yscale = ((gfloat)asCNumeric(s_yscale)); gtk_alignment_set(object, xalign, yalign, xscale, yscale); return(_result); } USER_OBJECT_ S_gtk_alignment_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_padding_top, USER_OBJECT_ s_padding_bottom, USER_OBJECT_ s_padding_left, USER_OBJECT_ s_padding_right) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAlignment* object = GTK_ALIGNMENT(getPtrValue(s_object)); guint padding_top = ((guint)asCNumeric(s_padding_top)); guint padding_bottom = ((guint)asCNumeric(s_padding_bottom)); guint padding_left = ((guint)asCNumeric(s_padding_left)); guint padding_right = ((guint)asCNumeric(s_padding_right)); gtk_alignment_set_padding(object, padding_top, padding_bottom, padding_left, padding_right); return(_result); } USER_OBJECT_ S_gtk_alignment_get_padding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAlignment* object = GTK_ALIGNMENT(getPtrValue(s_object)); guint padding_top; guint padding_bottom; guint padding_left; guint padding_right; gtk_alignment_get_padding(object, &padding_top, &padding_bottom, &padding_left, &padding_right); _result = retByVal(_result, "padding.top", asRNumeric(padding_top), "padding.bottom", asRNumeric(padding_bottom), "padding.left", asRNumeric(padding_left), "padding.right", asRNumeric(padding_right), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_arrow_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_arrow_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_arrow_new(USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_shadow_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "arrow_type", "shadow_type", NULL }; USER_OBJECT_ args[] = { s_arrow_type, s_shadow_type }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_ARROW, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_arrow_set(USER_OBJECT_ s_object, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_shadow_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkArrow* object = GTK_ARROW(getPtrValue(s_object)); GtkArrowType arrow_type = ((GtkArrowType)asCEnum(s_arrow_type, GTK_TYPE_ARROW_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gtk_arrow_set(object, arrow_type, shadow_type); return(_result); } USER_OBJECT_ S_gtk_aspect_frame_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_aspect_frame_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_aspect_frame_new(USER_OBJECT_ s_label, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_ratio, USER_OBJECT_ s_obey_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "label", "xalign", "yalign", "ratio", "obey_child", NULL }; USER_OBJECT_ args[] = { s_label, s_xalign, s_yalign, s_ratio, s_obey_child }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_ASPECT_FRAME, prop_names, args, 5); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_aspect_frame_set(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_ratio, USER_OBJECT_ s_obey_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAspectFrame* object = GTK_ASPECT_FRAME(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gfloat ratio = ((gfloat)asCNumeric(s_ratio)); gboolean obey_child = ((gboolean)asCLogical(s_obey_child)); gtk_aspect_frame_set(object, xalign, yalign, ratio, obey_child); return(_result); } USER_OBJECT_ S_gtk_button_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_button_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_button_box_get_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); GtkButtonBoxStyle ans; ans = gtk_button_box_get_layout(object); _result = asREnum(ans, GTK_TYPE_BUTTON_BOX_STYLE); return(_result); } USER_OBJECT_ S_gtk_button_box_set_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_layout_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); GtkButtonBoxStyle layout_style = ((GtkButtonBoxStyle)asCEnum(s_layout_style, GTK_TYPE_BUTTON_BOX_STYLE)); gtk_button_box_set_layout(object, layout_style); return(_result); } USER_OBJECT_ S_gtk_button_box_get_child_secondary(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean ans; ans = gtk_button_box_get_child_secondary(object, child); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_button_box_set_child_secondary(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_is_secondary) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean is_secondary = ((gboolean)asCLogical(s_is_secondary)); gtk_button_box_set_child_secondary(object, child, is_secondary); return(_result); } USER_OBJECT_ S_gtk_button_box_set_child_size(USER_OBJECT_ s_object, USER_OBJECT_ s_min_width, USER_OBJECT_ s_min_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); gint min_width = ((gint)asCInteger(s_min_width)); gint min_height = ((gint)asCInteger(s_min_height)); gtk_button_box_set_child_size(object, min_width, min_height); return(_result); } USER_OBJECT_ S_gtk_button_box_set_child_ipadding(USER_OBJECT_ s_object, USER_OBJECT_ s_ipad_x, USER_OBJECT_ s_ipad_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); gint ipad_x = ((gint)asCInteger(s_ipad_x)); gint ipad_y = ((gint)asCInteger(s_ipad_y)); gtk_button_box_set_child_ipadding(object, ipad_x, ipad_y); return(_result); } USER_OBJECT_ S_gtk_button_box_get_child_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); gint min_width; gint min_height; gtk_button_box_get_child_size(object, &min_width, &min_height); _result = retByVal(_result, "min.width", asRInteger(min_width), "min.height", asRInteger(min_height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_button_box_get_child_ipadding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBox* object = GTK_BUTTON_BOX(getPtrValue(s_object)); gint ipad_x; gint ipad_y; gtk_button_box_get_child_ipadding(object, &ipad_x, &ipad_y); _result = retByVal(_result, "ipad.x", asRInteger(ipad_x), "ipad.y", asRInteger(ipad_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_bin_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_bin_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_bin_get_child(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBin* object = GTK_BIN(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_bin_get_child(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_box_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand = ((gboolean)asCLogical(s_expand)); gboolean fill = ((gboolean)asCLogical(s_fill)); guint padding = ((guint)asCNumeric(s_padding)); gtk_box_pack_start(object, child, expand, fill, padding); return(_result); } USER_OBJECT_ S_gtk_box_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand = ((gboolean)asCLogical(s_expand)); gboolean fill = ((gboolean)asCLogical(s_fill)); guint padding = ((guint)asCNumeric(s_padding)); gtk_box_pack_end(object, child, expand, fill, padding); return(_result); } USER_OBJECT_ S_gtk_box_pack_start_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_box_pack_start_defaults(object, widget); return(_result); } USER_OBJECT_ S_gtk_box_pack_end_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_box_pack_end_defaults(object, widget); return(_result); } USER_OBJECT_ S_gtk_box_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); gboolean homogeneous = ((gboolean)asCLogical(s_homogeneous)); gtk_box_set_homogeneous(object, homogeneous); return(_result); } USER_OBJECT_ S_gtk_box_get_homogeneous(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_box_get_homogeneous(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_box_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); gint spacing = ((gint)asCInteger(s_spacing)); gtk_box_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_gtk_box_get_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); gint ans; ans = gtk_box_get_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_box_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint position = ((gint)asCInteger(s_position)); gtk_box_reorder_child(object, child, position); return(_result); } USER_OBJECT_ S_gtk_box_query_child_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand; gboolean fill; guint padding; GtkPackType pack_type; gtk_box_query_child_packing(object, child, &expand, &fill, &padding, &pack_type); _result = retByVal(_result, "expand", asRLogical(expand), "fill", asRLogical(fill), "padding", asRNumeric(padding), "pack.type", asREnum(pack_type, GTK_TYPE_PACK_TYPE), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_box_set_child_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding, USER_OBJECT_ s_pack_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBox* object = GTK_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand = ((gboolean)asCLogical(s_expand)); gboolean fill = ((gboolean)asCLogical(s_fill)); guint padding = ((guint)asCNumeric(s_padding)); GtkPackType pack_type = ((GtkPackType)asCEnum(s_pack_type, GTK_TYPE_PACK_TYPE)); gtk_box_set_child_packing(object, child, expand, fill, padding, pack_type); return(_result); } USER_OBJECT_ S_gtk_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_button_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_button_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_button_new_from_stock(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkWidget* ans; ans = gtk_button_new_from_stock(stock_id); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_button_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_button_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_button_pressed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gtk_button_pressed(object); return(_result); } USER_OBJECT_ S_gtk_button_released(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gtk_button_released(object); return(_result); } USER_OBJECT_ S_gtk_button_clicked(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gtk_button_clicked(object); return(_result); } USER_OBJECT_ S_gtk_button_enter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gtk_button_enter(object); return(_result); } USER_OBJECT_ S_gtk_button_leave(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gtk_button_leave(object); return(_result); } USER_OBJECT_ S_gtk_button_set_relief(USER_OBJECT_ s_object, USER_OBJECT_ s_newstyle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkReliefStyle newstyle = ((GtkReliefStyle)asCEnum(s_newstyle, GTK_TYPE_RELIEF_STYLE)); gtk_button_set_relief(object, newstyle); return(_result); } USER_OBJECT_ S_gtk_button_get_relief(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkReliefStyle ans; ans = gtk_button_get_relief(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); return(_result); } USER_OBJECT_ S_gtk_button_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); const gchar* label = ((const gchar*)asCString(s_label)); gtk_button_set_label(object, label); return(_result); } USER_OBJECT_ S_gtk_button_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_button_get_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_button_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean use_underline = ((gboolean)asCLogical(s_use_underline)); gtk_button_set_use_underline(object, use_underline); return(_result); } USER_OBJECT_ S_gtk_button_get_use_underline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_button_get_use_underline(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_button_set_use_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_use_stock) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean use_stock = ((gboolean)asCLogical(s_use_stock)); gtk_button_set_use_stock(object, use_stock); return(_result); } USER_OBJECT_ S_gtk_button_get_use_stock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_button_get_use_stock(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_button_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean focus_on_click = ((gboolean)asCLogical(s_focus_on_click)); gtk_button_set_focus_on_click(object, focus_on_click); return(_result); } USER_OBJECT_ S_gtk_button_get_focus_on_click(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_button_get_focus_on_click(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_button_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gtk_button_set_alignment(object, xalign, yalign); return(_result); } USER_OBJECT_ S_gtk_button_get_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); gfloat xalign; gfloat yalign; gtk_button_get_alignment(object, &xalign, &yalign); _result = retByVal(_result, "xalign", asRNumeric(xalign), "yalign", asRNumeric(yalign), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_button_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkWidget* image = GTK_WIDGET(getPtrValue(s_image)); gtk_button_set_image(object, image); return(_result); } USER_OBJECT_ S_gtk_button_get_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_button_get_image(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_calendar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_calendar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_calendar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_calendar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_calendar_select_month(USER_OBJECT_ s_object, USER_OBJECT_ s_month, USER_OBJECT_ s_year) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); guint month = ((guint)asCNumeric(s_month)); guint year = ((guint)asCNumeric(s_year)); gboolean ans; ans = gtk_calendar_select_month(object, month, year); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_calendar_select_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); guint day = ((guint)asCNumeric(s_day)); gtk_calendar_select_day(object, day); return(_result); } USER_OBJECT_ S_gtk_calendar_mark_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); guint day = ((guint)asCNumeric(s_day)); gboolean ans; ans = gtk_calendar_mark_day(object, day); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_calendar_unmark_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); guint day = ((guint)asCNumeric(s_day)); gboolean ans; ans = gtk_calendar_unmark_day(object, day); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_calendar_clear_marks(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gtk_calendar_clear_marks(object); return(_result); } USER_OBJECT_ S_gtk_calendar_set_display_options(USER_OBJECT_ s_object, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); GtkCalendarDisplayOptions flags = ((GtkCalendarDisplayOptions)asCFlag(s_flags, GTK_TYPE_CALENDAR_DISPLAY_OPTIONS)); gtk_calendar_set_display_options(object, flags); return(_result); } USER_OBJECT_ S_gtk_calendar_get_display_options(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); GtkCalendarDisplayOptions ans; ans = gtk_calendar_get_display_options(object); _result = asRFlag(ans, GTK_TYPE_CALENDAR_DISPLAY_OPTIONS); return(_result); } USER_OBJECT_ S_gtk_calendar_display_options(USER_OBJECT_ s_object, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); GtkCalendarDisplayOptions flags = ((GtkCalendarDisplayOptions)asCFlag(s_flags, GTK_TYPE_CALENDAR_DISPLAY_OPTIONS)); gtk_calendar_display_options(object, flags); return(_result); } USER_OBJECT_ S_gtk_calendar_get_date(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); guint year; guint month; guint day; gtk_calendar_get_date(object, &year, &month, &day); _result = retByVal(_result, "year", asRNumeric(year), "month", asRNumeric(month), "day", asRNumeric(day), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gtk_calendar_freeze(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gtk_calendar_freeze(object); return(_result); } USER_OBJECT_ S_gtk_calendar_thaw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gtk_calendar_thaw(object); return(_result); } USER_OBJECT_ S_gtk_cell_editable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_editable_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_editable_start_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); GdkEvent* event = GET_LENGTH(s_event) == 0 ? NULL : ((GdkEvent*)getPtrValue(s_event)); gtk_cell_editable_start_editing(object, event); return(_result); } USER_OBJECT_ S_gtk_cell_editable_editing_done(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); gtk_cell_editable_editing_done(object); return(_result); } USER_OBJECT_ S_gtk_cell_editable_remove_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); gtk_cell_editable_remove_widget(object); return(_result); } USER_OBJECT_ S_gtk_cell_layout_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_layout_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_layout_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_cell_layout_pack_start(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_cell_layout_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_cell_layout_pack_end(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_cell_layout_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); gtk_cell_layout_clear(object); return(_result); } USER_OBJECT_ S_gtk_cell_layout_add_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_attribute, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); const gchar* attribute = ((const gchar*)asCString(s_attribute)); gint column = ((gint)asCInteger(s_column)); gtk_cell_layout_add_attribute(object, cell, attribute, column); return(_result); } USER_OBJECT_ S_gtk_cell_layout_set_cell_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutDataFunc func = ((GtkCellLayoutDataFunc)S_GtkCellLayoutDataFunc); R_CallbackData* func_data = R_createCBData(s_func, s_func_data); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); gtk_cell_layout_set_cell_data_func(object, cell, func, func_data, destroy); return(_result); } USER_OBJECT_ S_gtk_cell_layout_clear_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cell) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gtk_cell_layout_clear_attributes(object, cell); return(_result); } USER_OBJECT_ S_gtk_cell_layout_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gint position = ((gint)asCInteger(s_position)); gtk_cell_layout_reorder(object, cell, position); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_size(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_cell_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GdkRectangle* cell_area = GET_LENGTH(s_cell_area) == 0 ? NULL : asCGdkRectangle(s_cell_area); gint x_offset; gint y_offset; gint width; gint height; gtk_cell_renderer_get_size(object, widget, cell_area, &x_offset, &y_offset, &width, &height); _result = retByVal(_result, "x.offset", asRInteger(x_offset), "y.offset", asRInteger(y_offset), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_cell_renderer_render(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_widget, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_expose_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GdkRectangle* expose_area = asCGdkRectangle(s_expose_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); gtk_cell_renderer_render(object, window, widget, background_area, cell_area, expose_area, flags); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* path = ((const gchar*)asCString(s_path)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); gboolean ans; ans = gtk_cell_renderer_activate(object, event, widget, path, background_area, cell_area, flags); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_start_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* path = ((const gchar*)asCString(s_path)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); GtkCellEditable* ans; ans = gtk_cell_renderer_start_editing(object, event, widget, path, background_area, cell_area, flags); _result = toRPointerWithRef(ans, "GtkCellEditable"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_set_fixed_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_cell_renderer_set_fixed_size(object, width, height); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_fixed_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gint width; gint height; gtk_cell_renderer_get_fixed_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_cell_renderer_editing_canceled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gtk_cell_renderer_editing_canceled(object); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_stop_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_canceled) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gboolean canceled = ((gboolean)asCLogical(s_canceled)); gtk_cell_renderer_stop_editing(object, canceled); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_combo_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_combo_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_combo_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* ans; ans = gtk_cell_renderer_combo_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_pixbuf_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_pixbuf_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_pixbuf_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* ans; ans = gtk_cell_renderer_pixbuf_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_progress_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_progress_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_progress_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* ans; ans = gtk_cell_renderer_progress_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_text_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_text_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_text_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* ans; ans = gtk_cell_renderer_text_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_text_set_fixed_height_from_font(USER_OBJECT_ s_object, USER_OBJECT_ s_number_of_rows) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererText* object = GTK_CELL_RENDERER_TEXT(getPtrValue(s_object)); gint number_of_rows = ((gint)asCInteger(s_number_of_rows)); gtk_cell_renderer_text_set_fixed_height_from_font(object, number_of_rows); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_renderer_toggle_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRenderer* ans; ans = gtk_cell_renderer_toggle_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_get_radio(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean ans; ans = gtk_cell_renderer_toggle_get_radio(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_set_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_radio) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean radio = ((gboolean)asCLogical(s_radio)); gtk_cell_renderer_toggle_set_radio(object, radio); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean ans; ans = gtk_cell_renderer_toggle_get_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_cell_renderer_toggle_set_active(object, setting); return(_result); } USER_OBJECT_ S_gtk_cell_view_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_cell_view_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_cell_view_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_cell_view_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_cell_view_new_with_text(USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* text = ((const gchar*)asCString(s_text)); GtkWidget* ans; ans = gtk_cell_view_new_with_text(text); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_cell_view_new_with_markup(USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* markup = ((const gchar*)asCString(s_markup)); GtkWidget* ans; ans = gtk_cell_view_new_with_markup(markup); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_cell_view_new_with_pixbuf(USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); GtkWidget* ans; ans = gtk_cell_view_new_with_pixbuf(pixbuf); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_cell_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GtkTreeModel* model = GET_LENGTH(s_model) == 0 ? NULL : GTK_TREE_MODEL(getPtrValue(s_model)); gtk_cell_view_set_model(object, model); return(_result); } USER_OBJECT_ S_gtk_cell_view_set_displayed_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GtkTreePath* path = GET_LENGTH(s_path) == 0 ? NULL : ((GtkTreePath*)getPtrValue(s_path)); gtk_cell_view_set_displayed_row(object, path); return(_result); } USER_OBJECT_ S_gtk_cell_view_get_displayed_row(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GtkTreePath* ans; ans = gtk_cell_view_get_displayed_row(object); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_cell_view_get_size_of_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; GtkRequisition requisition; ans = gtk_cell_view_get_size_of_row(object, path, &requisition); _result = asRLogical(ans); _result = retByVal(_result, "requisition", toRPointerWithFinalizer(&requisition ? gtk_requisition_copy(&requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_cell_view_set_background_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); const GdkColor* color = asCGdkColor(s_color); gtk_cell_view_set_background_color(object, color); return(_result); } USER_OBJECT_ S_gtk_cell_view_get_cell_renderers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GList* ans; ans = gtk_cell_view_get_cell_renderers(object); _result = asRGListWithSink(ans, "GtkCellRenderer"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_clipboard_set_can_store(USER_OBJECT_ s_object, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); gtk_clipboard_set_can_store(object, targets, n_targets); return(_result); } USER_OBJECT_ S_gtk_clipboard_store(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_store(object); return(_result); } USER_OBJECT_ S_gtk_check_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_check_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_check_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_check_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_button_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_check_button_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_button_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_check_button_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_check_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_check_menu_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_check_menu_item_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_check_menu_item_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_check_menu_item_set_active(object, is_active); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_check_menu_item_get_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_toggled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gtk_check_menu_item_toggled(object); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_set_inconsistent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_check_menu_item_set_inconsistent(object, setting); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_get_inconsistent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_check_menu_item_get_inconsistent(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_set_draw_as_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_as_radio) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean draw_as_radio = ((gboolean)asCLogical(s_draw_as_radio)); gtk_check_menu_item_set_draw_as_radio(object, draw_as_radio); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_get_draw_as_radio(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_check_menu_item_get_draw_as_radio(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_set_show_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_always) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean always = ((gboolean)asCLogical(s_always)); gtk_check_menu_item_set_show_toggle(object, always); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_check_menu_item_set_state(object, is_active); return(_result); } USER_OBJECT_ S_gtk_clipboard_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_clipboard_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_clipboard_get_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkAtom selection = asCGdkAtom(s_selection); GtkClipboard* ans; ans = gtk_clipboard_get_for_display(display, selection); _result = toRPointerWithFinalizer(ans, "GtkClipboard", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_clipboard_get(USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkAtom selection = asCGdkAtom(s_selection); GtkClipboard* ans; ans = gtk_clipboard_get(selection); _result = toRPointerWithRef(ans, "GtkClipboard"); return(_result); } USER_OBJECT_ S_gtk_clipboard_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkDisplay* ans; ans = gtk_clipboard_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gtk_clipboard_set_with_data(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_get_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboardGetFunc get_func = ((GtkClipboardGetFunc)S_GtkClipboardGetFunc); R_CallbackData* user_data = R_createCBData(s_get_func, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); guint n_targets = ((guint)GET_LENGTH(s_targets)); GtkClipboardClearFunc clear_func = ((GtkClipboardClearFunc)S_GtkClipboardClearFunc); gboolean ans; ans = gtk_clipboard_set_with_data(object, targets, n_targets, get_func, clear_func, user_data); _result = asRLogical(ans); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_clipboard_get_owner(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GObject* ans; ans = gtk_clipboard_get_owner(object); _result = toRPointerWithRef(ans, "GObject"); return(_result); } USER_OBJECT_ S_gtk_clipboard_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_clear(object); return(_result); } USER_OBJECT_ S_gtk_clipboard_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gtk_clipboard_set_text(object, text, len); return(_result); } USER_OBJECT_ S_gtk_clipboard_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_clipboard_set_image(object, pixbuf); return(_result); } USER_OBJECT_ S_gtk_clipboard_request_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_target, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboardReceivedFunc callback = ((GtkClipboardReceivedFunc)S_GtkClipboardReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); gtk_clipboard_request_contents(object, target, callback, user_data); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_clipboard_request_image(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboardImageReceivedFunc callback = ((GtkClipboardImageReceivedFunc)S_GtkClipboardImageReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_request_image(object, callback, user_data); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_clipboard_request_text(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboardTextReceivedFunc callback = ((GtkClipboardTextReceivedFunc)S_GtkClipboardTextReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_request_text(object, callback, user_data); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_clipboard_request_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboardTargetsReceivedFunc callback = ((GtkClipboardTargetsReceivedFunc)S_GtkClipboardTargetsReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_request_targets(object, callback, user_data); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); GtkSelectionData* ans; ans = gtk_clipboard_wait_for_contents(object, target); _result = toRPointerWithFinalizer(ans, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_clipboard_wait_for_image(object); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gchar* ans; ans = gtk_clipboard_wait_for_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_is_image_available(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gboolean ans; ans = gtk_clipboard_wait_is_image_available(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_is_text_available(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gboolean ans; ans = gtk_clipboard_wait_is_text_available(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_is_target_available(USER_OBJECT_ s_object, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); gboolean ans; ans = gtk_clipboard_wait_is_target_available(object, target); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gboolean ans; GdkAtom* targets = NULL; gint n_targets; ans = gtk_clipboard_wait_for_targets(object, &targets, &n_targets); _result = asRLogical(ans); _result = retByVal(_result, "targets", asRArrayWithSize(targets, asRGdkAtom, n_targets), "n.targets", asRInteger(n_targets), NULL); CLEANUP(g_free, targets);; ; return(_result); } USER_OBJECT_ S_gtk_clist_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_clist_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_clist_new(USER_OBJECT_ s_columns) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint columns = ((gint)asCInteger(s_columns)); GtkWidget* ans; ans = gtk_clist_new(columns); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_clist_new_with_titles(USER_OBJECT_ s_columns, USER_OBJECT_ s_titles) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint columns = ((gint)asCInteger(s_columns)); gchar** titles = ((gchar**)asCStringArray(s_titles)); GtkWidget* ans; ans = gtk_clist_new_with_titles(columns, titles); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_clist_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_clist_set_hadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_clist_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_clist_set_vadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_clist_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_clist_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_clist_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_clist_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_clist_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkShadowType type = ((GtkShadowType)asCEnum(s_type, GTK_TYPE_SHADOW_TYPE)); gtk_clist_set_shadow_type(object, type); return(_result); } USER_OBJECT_ S_gtk_clist_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkSelectionMode mode = ((GtkSelectionMode)asCEnum(s_mode, GTK_TYPE_SELECTION_MODE)); gtk_clist_set_selection_mode(object, mode); return(_result); } USER_OBJECT_ S_gtk_clist_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gboolean reorderable = ((gboolean)asCLogical(s_reorderable)); gtk_clist_set_reorderable(object, reorderable); return(_result); } USER_OBJECT_ S_gtk_clist_set_use_drag_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_use_icons) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gboolean use_icons = ((gboolean)asCLogical(s_use_icons)); gtk_clist_set_use_drag_icons(object, use_icons); return(_result); } USER_OBJECT_ S_gtk_clist_set_button_actions(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_button_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); guint button = ((guint)asCNumeric(s_button)); guint8 button_actions = ((guint8)asCRaw(s_button_actions)); gtk_clist_set_button_actions(object, button, button_actions); return(_result); } USER_OBJECT_ S_gtk_clist_freeze(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_freeze(object); return(_result); } USER_OBJECT_ S_gtk_clist_thaw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_thaw(object); return(_result); } USER_OBJECT_ S_gtk_clist_column_titles_show(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_column_titles_show(object); return(_result); } USER_OBJECT_ S_gtk_clist_column_titles_hide(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_column_titles_hide(object); return(_result); } USER_OBJECT_ S_gtk_clist_column_title_active(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_clist_column_title_active(object, column); return(_result); } USER_OBJECT_ S_gtk_clist_column_title_passive(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_clist_column_title_passive(object, column); return(_result); } USER_OBJECT_ S_gtk_clist_column_titles_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_column_titles_active(object); return(_result); } USER_OBJECT_ S_gtk_clist_column_titles_passive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_column_titles_passive(object); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_title(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_clist_set_column_title(object, column, title); return(_result); } USER_OBJECT_ S_gtk_clist_get_column_title(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gchar* ans; ans = gtk_clist_get_column_title(object, column); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_clist_set_column_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_clist_set_column_widget(object, column, widget); return(_result); } USER_OBJECT_ S_gtk_clist_get_column_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); GtkWidget* ans; ans = gtk_clist_get_column_widget(object, column); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_justification(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_justification) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); GtkJustification justification = ((GtkJustification)asCEnum(s_justification, GTK_TYPE_JUSTIFICATION)); gtk_clist_set_column_justification(object, column, justification); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_visibility(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_clist_set_column_visibility(object, column, visible); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_resizeable(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_resizeable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean resizeable = ((gboolean)asCLogical(s_resizeable)); gtk_clist_set_column_resizeable(object, column, resizeable); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_auto_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_auto_resize) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean auto_resize = ((gboolean)asCLogical(s_auto_resize)); gtk_clist_set_column_auto_resize(object, column, auto_resize); return(_result); } USER_OBJECT_ S_gtk_clist_columns_autosize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint ans; ans = gtk_clist_columns_autosize(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_optimal_column_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = gtk_clist_optimal_column_width(object, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint width = ((gint)asCInteger(s_width)); gtk_clist_set_column_width(object, column, width); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_min_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_min_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint min_width = ((gint)asCInteger(s_min_width)); gtk_clist_set_column_min_width(object, column, min_width); return(_result); } USER_OBJECT_ S_gtk_clist_set_column_max_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_max_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint max_width = ((gint)asCInteger(s_max_width)); gtk_clist_set_column_max_width(object, column, max_width); return(_result); } USER_OBJECT_ S_gtk_clist_set_row_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); guint height = ((guint)asCNumeric(s_height)); gtk_clist_set_row_height(object, height); return(_result); } USER_OBJECT_ S_gtk_clist_moveto(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gfloat row_align = ((gfloat)asCNumeric(s_row_align)); gfloat col_align = ((gfloat)asCNumeric(s_col_align)); gtk_clist_moveto(object, row, column, row_align, col_align); return(_result); } USER_OBJECT_ S_gtk_clist_row_is_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); GtkVisibility ans; ans = gtk_clist_row_is_visible(object, row); _result = asREnum(ans, GTK_TYPE_VISIBILITY); return(_result); } USER_OBJECT_ S_gtk_clist_get_cell_type(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GtkCellType ans; ans = gtk_clist_get_cell_type(object, row, column); _result = asREnum(ans, GTK_TYPE_CELL_TYPE); return(_result); } USER_OBJECT_ S_gtk_clist_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_clist_set_text(object, row, column, text); return(_result); } USER_OBJECT_ S_gtk_clist_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; gchar* text = NULL; ans = gtk_clist_get_text(object, row, column, &text); _result = asRInteger(ans); _result = retByVal(_result, "text", asRString(text), NULL); return(_result); } USER_OBJECT_ S_gtk_clist_set_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_clist_set_pixmap(object, row, column, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_clist_get_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; GdkPixmap* pixmap = NULL; GdkBitmap* mask = NULL; ans = gtk_clist_get_pixmap(object, row, column, &pixmap, &mask); _result = asRInteger(ans); _result = retByVal(_result, "pixmap", toRPointerWithRef(pixmap, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_clist_set_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); const gchar* text = ((const gchar*)asCString(s_text)); guint8 spacing = ((guint8)asCRaw(s_spacing)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gtk_clist_set_pixtext(object, row, column, text, spacing, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_clist_get_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; gchar* text = NULL; guint8 spacing; GdkPixmap* pixmap = NULL; GdkBitmap* mask = NULL; ans = gtk_clist_get_pixtext(object, row, column, &text, &spacing, &pixmap, &mask); _result = asRInteger(ans); _result = retByVal(_result, "text", asRString(text), "spacing", asRRaw(spacing), "pixmap", toRPointerWithRef(pixmap, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gtk_clist_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); GdkColor* color = asCGdkColor(s_color); gtk_clist_set_foreground(object, row, color); return(_result); } USER_OBJECT_ S_gtk_clist_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); GdkColor* color = asCGdkColor(s_color); gtk_clist_set_background(object, row, color); return(_result); } USER_OBJECT_ S_gtk_clist_set_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GtkStyle* style = GTK_STYLE(getPtrValue(s_style)); gtk_clist_set_cell_style(object, row, column, style); return(_result); } USER_OBJECT_ S_gtk_clist_get_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GtkStyle* ans; ans = gtk_clist_get_cell_style(object, row, column); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_clist_set_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); GtkStyle* style = GTK_STYLE(getPtrValue(s_style)); gtk_clist_set_row_style(object, row, style); return(_result); } USER_OBJECT_ S_gtk_clist_get_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); GtkStyle* ans; ans = gtk_clist_get_row_style(object, row); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_clist_set_shift(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_vertical, USER_OBJECT_ s_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint vertical = ((gint)asCInteger(s_vertical)); gint horizontal = ((gint)asCInteger(s_horizontal)); gtk_clist_set_shift(object, row, column, vertical, horizontal); return(_result); } USER_OBJECT_ S_gtk_clist_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_selectable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean selectable = ((gboolean)asCLogical(s_selectable)); gtk_clist_set_selectable(object, row, selectable); return(_result); } USER_OBJECT_ S_gtk_clist_get_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = gtk_clist_get_selectable(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_clist_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gchar** text = ((gchar**)asCStringArray(s_text)); gint ans; ans = gtk_clist_prepend(object, text); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_append(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gchar** text = ((gchar**)asCStringArray(s_text)); gint ans; ans = gtk_clist_append(object, text); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gchar** text = ((gchar**)asCStringArray(s_text)); gint ans; ans = gtk_clist_insert(object, row, text); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gtk_clist_remove(object, row); return(_result); } USER_OBJECT_ S_gtk_clist_set_row_data_full(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gpointer data = ((gpointer)asCGenericData(s_data)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_ReleaseObject); gtk_clist_set_row_data_full(object, row, data, destroy); return(_result); } USER_OBJECT_ S_gtk_clist_get_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gpointer ans; ans = gtk_clist_get_row_data(object, row); _result = ans; return(_result); } USER_OBJECT_ S_gtk_clist_find_row_from_data(USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gpointer data = ((gpointer)asCGenericData(s_data)); gint ans; ans = gtk_clist_find_row_from_data(object, data); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_select_row(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gtk_clist_select_row(object, row, column); return(_result); } USER_OBJECT_ S_gtk_clist_unselect_row(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gtk_clist_unselect_row(object, row, column); return(_result); } USER_OBJECT_ S_gtk_clist_undo_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_undo_selection(object); return(_result); } USER_OBJECT_ S_gtk_clist_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_clear(object); return(_result); } USER_OBJECT_ S_gtk_clist_get_selection_info(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint ans; gint row; gint column; ans = gtk_clist_get_selection_info(object, x, y, &row, &column); _result = asRInteger(ans); _result = retByVal(_result, "row", asRInteger(row), "column", asRInteger(column), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_clist_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_select_all(object); return(_result); } USER_OBJECT_ S_gtk_clist_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_clist_swap_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_row1, USER_OBJECT_ s_row2) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row1 = ((gint)asCInteger(s_row1)); gint row2 = ((gint)asCInteger(s_row2)); gtk_clist_swap_rows(object, row1, row2); return(_result); } USER_OBJECT_ S_gtk_clist_row_move(USER_OBJECT_ s_object, USER_OBJECT_ s_source_row, USER_OBJECT_ s_dest_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint source_row = ((gint)asCInteger(s_source_row)); gint dest_row = ((gint)asCInteger(s_dest_row)); gtk_clist_row_move(object, source_row, dest_row); return(_result); } USER_OBJECT_ S_gtk_clist_set_sort_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_clist_set_sort_column(object, column); return(_result); } USER_OBJECT_ S_gtk_clist_set_sort_type(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkSortType sort_type = ((GtkSortType)asCEnum(s_sort_type, GTK_TYPE_SORT_TYPE)); gtk_clist_set_sort_type(object, sort_type); return(_result); } USER_OBJECT_ S_gtk_clist_sort(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gtk_clist_sort(object); return(_result); } USER_OBJECT_ S_gtk_clist_set_auto_sort(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_sort) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gboolean auto_sort = ((gboolean)asCLogical(s_auto_sort)); gtk_clist_set_auto_sort(object, auto_sort); return(_result); } USER_OBJECT_ S_gtk_color_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_color_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_color_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_color_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_color_button_new_with_color(USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GdkColor* color = asCGdkColor(s_color); GtkWidget* ans; ans = gtk_color_button_new_with_color(color); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_color_button_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); const GdkColor* color = asCGdkColor(s_color); gtk_color_button_set_color(object, color); return(_result); } USER_OBJECT_ S_gtk_color_button_set_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); guint16 alpha = ((guint16)asCInteger(s_alpha)); gtk_color_button_set_alpha(object, alpha); return(_result); } USER_OBJECT_ S_gtk_color_button_get_color(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); gtk_color_button_get_color(object, color); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; return(_result); } USER_OBJECT_ S_gtk_color_button_get_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); guint16 ans; ans = gtk_color_button_get_alpha(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_color_button_set_use_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_use_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); gboolean use_alpha = ((gboolean)asCLogical(s_use_alpha)); gtk_color_button_set_use_alpha(object, use_alpha); return(_result); } USER_OBJECT_ S_gtk_color_button_get_use_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_color_button_get_use_alpha(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_color_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_color_button_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_color_button_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_color_button_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_color_selection_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_color_selection_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_has_opacity_control(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gboolean ans; ans = gtk_color_selection_get_has_opacity_control(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_has_opacity_control(USER_OBJECT_ s_object, USER_OBJECT_ s_has_opacity) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gboolean has_opacity = ((gboolean)asCLogical(s_has_opacity)); gtk_color_selection_set_has_opacity_control(object, has_opacity); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_has_palette(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gboolean ans; ans = gtk_color_selection_get_has_palette(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_has_palette(USER_OBJECT_ s_object, USER_OBJECT_ s_has_palette) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gboolean has_palette = ((gboolean)asCLogical(s_has_palette)); gtk_color_selection_set_has_palette(object, has_palette); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_current_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gtk_color_selection_set_current_color(object, color); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_current_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); guint16 alpha = ((guint16)asCInteger(s_alpha)); gtk_color_selection_set_current_alpha(object, alpha); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_current_color(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); gtk_color_selection_get_current_color(object, color); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; return(_result); } USER_OBJECT_ S_gtk_color_selection_get_current_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); guint16 ans; ans = gtk_color_selection_get_current_alpha(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_previous_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gtk_color_selection_set_previous_color(object, color); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_previous_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); guint16 alpha = ((guint16)asCInteger(s_alpha)); gtk_color_selection_set_previous_alpha(object, alpha); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_previous_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gtk_color_selection_get_previous_color(object, color); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_previous_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); guint16 ans; ans = gtk_color_selection_get_previous_alpha(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_is_adjusting(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gboolean ans; ans = gtk_color_selection_is_adjusting(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_palette_from_string(USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* str = ((const gchar*)asCString(s_str)); gboolean ans; GdkColor* colors = NULL; gint n_colors; ans = gtk_color_selection_palette_from_string(str, &colors, &n_colors); _result = asRLogical(ans); _result = retByVal(_result, "colors", asRArrayRefWithSize(colors, asRGdkColor, n_colors), "n.colors", asRInteger(n_colors), NULL); CLEANUP(g_free, colors);; ; return(_result); } USER_OBJECT_ S_gtk_color_selection_palette_to_string(USER_OBJECT_ s_colors) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GdkColor* colors = ((const GdkColor*)asCArrayRef(s_colors, GdkColor, asCGdkColor)); gint n_colors = ((gint)GET_LENGTH(s_colors)); gchar* ans; ans = gtk_color_selection_palette_to_string(colors, n_colors); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_color_selection_set_change_palette_hook(USER_OBJECT_ s_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionChangePaletteFunc func = ((GtkColorSelectionChangePaletteFunc)S_GtkColorSelectionChangePaletteFunc); extern R_CallbackData* GtkColorSelectionChangePaletteFunc_cbdata; GtkColorSelectionChangePaletteFunc_cbdata = R_createCBData(s_func, NULL); GtkColorSelectionChangePaletteFunc ans; ans = gtk_color_selection_set_change_palette_hook(func); _result = toRPointer(ans, "GtkColorSelectionChangePaletteFunc"); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_change_palette_with_screen_hook(USER_OBJECT_ s_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionChangePaletteWithScreenFunc func = ((GtkColorSelectionChangePaletteWithScreenFunc)S_GtkColorSelectionChangePaletteWithScreenFunc); extern R_CallbackData* GtkColorSelectionChangePaletteWithScreenFunc_cbdata; GtkColorSelectionChangePaletteWithScreenFunc_cbdata = R_createCBData(s_func, NULL); GtkColorSelectionChangePaletteWithScreenFunc ans; ans = gtk_color_selection_set_change_palette_with_screen_hook(func); _result = toRPointer(ans, "GtkColorSelectionChangePaletteWithScreenFunc"); return(_result); } USER_OBJECT_ S_gtk_color_selection_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gdouble* color = ((gdouble*)asCArray(s_color, gdouble, asCNumeric)); gtk_color_selection_set_color(object, color); return(_result); } USER_OBJECT_ S_gtk_color_selection_get_color(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); gdouble color; gtk_color_selection_get_color(object, &color); _result = retByVal(_result, "color", asRNumeric(color), NULL); ; return(_result); } USER_OBJECT_ S_gtk_color_selection_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); GtkUpdateType policy = ((GtkUpdateType)asCEnum(s_policy, GTK_TYPE_UPDATE_TYPE)); gtk_color_selection_set_update_policy(object, policy); return(_result); } USER_OBJECT_ S_gtk_color_selection_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_color_selection_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_color_selection_dialog_new(USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "title", NULL }; USER_OBJECT_ args[] = { s_title }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_COLOR_SELECTION_DIALOG, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_combo_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_combo_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_combo_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_set_value_in_list(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_ok_if_empty) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); gboolean val = ((gboolean)asCLogical(s_val)); gboolean ok_if_empty = ((gboolean)asCLogical(s_ok_if_empty)); gtk_combo_set_value_in_list(object, val, ok_if_empty); return(_result); } USER_OBJECT_ S_gtk_combo_set_use_arrows(USER_OBJECT_ s_object, USER_OBJECT_ s_val) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); gboolean val = ((gboolean)asCLogical(s_val)); gtk_combo_set_use_arrows(object, val); return(_result); } USER_OBJECT_ S_gtk_combo_set_use_arrows_always(USER_OBJECT_ s_object, USER_OBJECT_ s_val) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); gboolean val = ((gboolean)asCLogical(s_val)); gtk_combo_set_use_arrows_always(object, val); return(_result); } USER_OBJECT_ S_gtk_combo_set_case_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_val) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); gboolean val = ((gboolean)asCLogical(s_val)); gtk_combo_set_case_sensitive(object, val); return(_result); } USER_OBJECT_ S_gtk_combo_set_item_string(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_item_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); GtkItem* item = GTK_ITEM(getPtrValue(s_item)); const gchar* item_value = ((const gchar*)asCString(s_item_value)); gtk_combo_set_item_string(object, item, item_value); return(_result); } USER_OBJECT_ S_gtk_combo_set_popdown_strings(USER_OBJECT_ s_object, USER_OBJECT_ s_strings) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); GList* strings = asCGList(s_strings); gtk_combo_set_popdown_strings(object, strings); CLEANUP(g_list_free, ((GList*)strings));; return(_result); } USER_OBJECT_ S_gtk_combo_disable_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCombo* object = GTK_COMBO(getPtrValue(s_object)); gtk_combo_disable_activate(object); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_combo_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_combo_box_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_box_new_with_model(USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* model = GTK_TREE_MODEL(getPtrValue(s_model)); GtkWidget* ans; ans = gtk_combo_box_new_with_model(model); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_wrap_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gtk_combo_box_set_wrap_width(object, width); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_row_span_column(USER_OBJECT_ s_object, USER_OBJECT_ s_row_span) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint row_span = ((gint)asCInteger(s_row_span)); gtk_combo_box_set_row_span_column(object, row_span); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_column_span_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column_span) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint column_span = ((gint)asCInteger(s_column_span)); gtk_combo_box_set_column_span_column(object, column_span); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint ans; ans = gtk_combo_box_get_active(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gtk_combo_box_set_active(object, index); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_active_iter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gboolean ans; GtkTreeIter iter; ans = gtk_combo_box_get_active_iter(object, &iter); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_combo_box_set_active_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_combo_box_set_active_iter(object, iter); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkTreeModel* model = GET_LENGTH(s_model) == 0 ? NULL : GTK_TREE_MODEL(getPtrValue(s_model)); gtk_combo_box_set_model(object, model); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_combo_box_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_combo_box_new_text(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_combo_box_new_text(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_box_append_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_combo_box_append_text(object, text); return(_result); } USER_OBJECT_ S_gtk_combo_box_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_combo_box_insert_text(object, position, text); return(_result); } USER_OBJECT_ S_gtk_combo_box_prepend_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_combo_box_prepend_text(object, text); return(_result); } USER_OBJECT_ S_gtk_combo_box_remove_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_combo_box_remove_text(object, position); return(_result); } USER_OBJECT_ S_gtk_combo_box_popup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gtk_combo_box_popup(object); return(_result); } USER_OBJECT_ S_gtk_combo_box_popdown(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gtk_combo_box_popdown(object); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_wrap_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint ans; ans = gtk_combo_box_get_wrap_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_row_span_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint ans; ans = gtk_combo_box_get_row_span_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_column_span_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gint ans; ans = gtk_combo_box_get_column_span_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_add_tearoffs(USER_OBJECT_ s_object, USER_OBJECT_ s_add_tearoffs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gboolean add_tearoffs = ((gboolean)asCLogical(s_add_tearoffs)); gtk_combo_box_set_add_tearoffs(object, add_tearoffs); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_add_tearoffs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_combo_box_get_add_tearoffs(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_focus_on_click(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_combo_box_get_focus_on_click(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gboolean focus_on_click = ((gboolean)asCLogical(s_focus_on_click)); gtk_combo_box_set_focus_on_click(object, focus_on_click); return(_result); } USER_OBJECT_ S_gtk_combo_box_set_row_separator_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewRowSeparatorFunc func = ((GtkTreeViewRowSeparatorFunc)S_GtkTreeViewRowSeparatorFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_combo_box_set_row_separator_func(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_row_separator_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkTreeViewRowSeparatorFunc ans; ans = gtk_combo_box_get_row_separator_func(object); _result = toRPointer(ans, "GtkTreeViewRowSeparatorFunc"); return(_result); } USER_OBJECT_ S_gtk_combo_box_get_active_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); gchar* ans; ans = gtk_combo_box_get_active_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_combo_box_get_popup_accessible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); AtkObject* ans; ans = gtk_combo_box_get_popup_accessible(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_combo_box_entry_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_combo_box_entry_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_new_with_model(USER_OBJECT_ s_model, USER_OBJECT_ s_text_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* model = GTK_TREE_MODEL(getPtrValue(s_model)); gint text_column = ((gint)asCInteger(s_text_column)); GtkWidget* ans; ans = gtk_combo_box_entry_new_with_model(model, text_column); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_text_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBoxEntry* object = GTK_COMBO_BOX_ENTRY(getPtrValue(s_object)); gint text_column = ((gint)asCInteger(s_text_column)); gtk_combo_box_entry_set_text_column(object, text_column); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_get_text_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBoxEntry* object = GTK_COMBO_BOX_ENTRY(getPtrValue(s_object)); gint ans; ans = gtk_combo_box_entry_get_text_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_combo_box_entry_new_text(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_combo_box_entry_new_text(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_container_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_container_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_container_set_border_width(USER_OBJECT_ s_object, USER_OBJECT_ s_border_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); guint border_width = ((guint)asCNumeric(s_border_width)); gtk_container_set_border_width(object, border_width); return(_result); } USER_OBJECT_ S_gtk_container_get_border_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); guint ans; ans = gtk_container_get_border_width(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_container_add(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_container_add(object, widget); return(_result); } USER_OBJECT_ S_gtk_container_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_container_remove(object, widget); return(_result); } USER_OBJECT_ S_gtk_container_set_resize_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_resize_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkResizeMode resize_mode = ((GtkResizeMode)asCEnum(s_resize_mode, GTK_TYPE_RESIZE_MODE)); gtk_container_set_resize_mode(object, resize_mode); return(_result); } USER_OBJECT_ S_gtk_container_get_resize_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkResizeMode ans; ans = gtk_container_get_resize_mode(object); _result = asREnum(ans, GTK_TYPE_RESIZE_MODE); return(_result); } USER_OBJECT_ S_gtk_container_check_resize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gtk_container_check_resize(object); return(_result); } USER_OBJECT_ S_gtk_container_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCallback callback = ((GtkCallback)S_GtkCallback); R_CallbackData* callback_data = R_createCBData(s_callback, s_callback_data); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gtk_container_foreach(object, callback, callback_data); R_freeCBData(callback_data); return(_result); } USER_OBJECT_ S_gtk_container_foreach_full(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCallback callback = ((GtkCallback)S_GtkCallback); R_CallbackData* callback_data = R_createCBData(s_callback, s_callback_data); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkDestroyNotify notify = ((GtkDestroyNotify)R_freeCBData); gtk_container_foreach_full(object, callback, NULL, callback_data, notify); return(_result); } USER_OBJECT_ S_gtk_container_get_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GList* ans; ans = gtk_container_get_children(object); _result = asRGListWithSink(ans, "GtkWidget"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_container_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GList* ans; ans = gtk_container_children(object); _result = asRGListWithSink(ans, "GtkWidget"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_container_propagate_expose(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GdkEventExpose* event = ((GdkEventExpose*)getPtrValue(s_event)); gtk_container_propagate_expose(object, child, event); return(_result); } USER_OBJECT_ S_gtk_container_set_focus_chain(USER_OBJECT_ s_object, USER_OBJECT_ s_focusable_widgets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GList* focusable_widgets = asCGList(s_focusable_widgets); gtk_container_set_focus_chain(object, focusable_widgets); CLEANUP(g_list_free, ((GList*)focusable_widgets));; return(_result); } USER_OBJECT_ S_gtk_container_get_focus_chain(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gboolean ans; GList* focusable_widgets = NULL; ans = gtk_container_get_focus_chain(object, &focusable_widgets); _result = asRLogical(ans); _result = retByVal(_result, "focusable.widgets", asRGListWithSink(focusable_widgets, "GtkWidget"), NULL); CLEANUP(g_list_free, focusable_widgets);; return(_result); } USER_OBJECT_ S_gtk_container_unset_focus_chain(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gtk_container_unset_focus_chain(object); return(_result); } USER_OBJECT_ S_gtk_container_set_reallocate_redraws(USER_OBJECT_ s_object, USER_OBJECT_ s_needs_redraws) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gboolean needs_redraws = ((gboolean)asCLogical(s_needs_redraws)); gtk_container_set_reallocate_redraws(object, needs_redraws); return(_result); } USER_OBJECT_ S_gtk_container_set_focus_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_container_set_focus_child(object, child); return(_result); } USER_OBJECT_ S_gtk_container_set_focus_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_container_set_focus_vadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_container_get_focus_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_container_get_focus_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_container_set_focus_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_container_set_focus_hadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_container_get_focus_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_container_get_focus_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_container_resize_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gtk_container_resize_children(object); return(_result); } USER_OBJECT_ S_gtk_container_child_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GType ans; ans = gtk_container_child_type(object); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_container_class_install_child_property(USER_OBJECT_ s_cclass, USER_OBJECT_ s_property_id, USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* cclass = ((GtkContainerClass*)getPtrValue(s_cclass)); guint property_id = ((guint)asCNumeric(s_property_id)); GParamSpec* pspec = asCGParamSpec(s_pspec); gtk_container_class_install_child_property(cclass, property_id, pspec); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } USER_OBJECT_ S_gtk_container_class_find_child_property(USER_OBJECT_ s_cclass, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObjectClass* cclass = ((GObjectClass*)getPtrValue(s_cclass)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); GParamSpec* ans; ans = gtk_container_class_find_child_property(cclass, property_name); _result = asRGParamSpec(ans); return(_result); } USER_OBJECT_ S_gtk_container_class_list_child_properties(USER_OBJECT_ s_cclass) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObjectClass* cclass = ((GObjectClass*)getPtrValue(s_cclass)); GParamSpec** ans; guint n_properties; ans = gtk_container_class_list_child_properties(cclass, &n_properties); _result = asRArrayWithSize(ans, asRGParamSpec, n_properties); _result = retByVal(_result, "n.properties", asRNumeric(n_properties), NULL); CLEANUP(g_free, ans);; ; return(_result); } USER_OBJECT_ S_gtk_container_child_get_property(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); GValue* value = ((GValue *)g_new0(GValue, 1)); gtk_container_child_get_property(object, child, property_name, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gtk_container_forall(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCallback callback = ((GtkCallback)S_GtkCallback); R_CallbackData* callback_data = R_createCBData(s_callback, s_callback_data); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gtk_container_forall(object, callback, callback_data); R_freeCBData(callback_data); return(_result); } USER_OBJECT_ S_gtk_ctree_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_ctree_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_new_with_titles(USER_OBJECT_ s_columns, USER_OBJECT_ s_tree_column, USER_OBJECT_ s_titles) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint columns = ((gint)asCInteger(s_columns)); gint tree_column = ((gint)asCInteger(s_tree_column)); gchar** titles = ((gchar**)asCStringArray(s_titles)); GtkWidget* ans; ans = gtk_ctree_new_with_titles(columns, tree_column, titles); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_ctree_new(USER_OBJECT_ s_columns, USER_OBJECT_ s_tree_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint columns = ((gint)asCInteger(s_columns)); gint tree_column = ((gint)asCInteger(s_tree_column)); GtkWidget* ans; ans = gtk_ctree_new(columns, tree_column); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_ctree_insert_node(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap_closed, USER_OBJECT_ s_mask_closed, USER_OBJECT_ s_pixmap_opened, USER_OBJECT_ s_mask_opened, USER_OBJECT_ s_is_leaf, USER_OBJECT_ s_expanded) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* parent = ((GtkCTreeNode*)getPtrValue(s_parent)); GtkCTreeNode* sibling = ((GtkCTreeNode*)getPtrValue(s_sibling)); gchar** text = ((gchar**)asCStringArray(s_text)); guint8 spacing = ((guint8)asCRaw(s_spacing)); GdkPixmap* pixmap_closed = GET_LENGTH(s_pixmap_closed) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap_closed)); GdkBitmap* mask_closed = GET_LENGTH(s_mask_closed) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask_closed)); GdkPixmap* pixmap_opened = GET_LENGTH(s_pixmap_opened) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap_opened)); GdkBitmap* mask_opened = GET_LENGTH(s_mask_opened) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask_opened)); gboolean is_leaf = ((gboolean)asCLogical(s_is_leaf)); gboolean expanded = ((gboolean)asCLogical(s_expanded)); GtkCTreeNode* ans; ans = gtk_ctree_insert_node(object, parent, sibling, text, spacing, pixmap_closed, mask_closed, pixmap_opened, mask_opened, is_leaf, expanded); _result = toRPointer(ans, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_gtk_ctree_remove_node(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_remove_node(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_insert_gnode(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_gnode, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeGNodeFunc func = ((GtkCTreeGNodeFunc)S_GtkCTreeGNodeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* parent = ((GtkCTreeNode*)getPtrValue(s_parent)); GtkCTreeNode* sibling = ((GtkCTreeNode*)getPtrValue(s_sibling)); GNode* gnode = ((GNode*)getPtrValue(s_gnode)); GtkCTreeNode* ans; ans = gtk_ctree_insert_gnode(object, parent, sibling, gnode, func, data); _result = toRPointer(ans, "GtkCTreeNode"); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_export_to_gnode(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeGNodeFunc func = ((GtkCTreeGNodeFunc)S_GtkCTreeGNodeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GNode* parent = ((GNode*)getPtrValue(s_parent)); GNode* sibling = ((GNode*)getPtrValue(s_sibling)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GNode* ans; ans = gtk_ctree_export_to_gnode(object, parent, sibling, node, func, data); _result = toRPointer(ans, "GNode"); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_post_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeFunc func = ((GtkCTreeFunc)S_GtkCTreeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_post_recursive(object, node, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_post_recursive_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeFunc func = ((GtkCTreeFunc)S_GtkCTreeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint depth = ((gint)asCInteger(s_depth)); gtk_ctree_post_recursive_to_depth(object, node, depth, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_pre_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeFunc func = ((GtkCTreeFunc)S_GtkCTreeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_pre_recursive(object, node, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_pre_recursive_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeFunc func = ((GtkCTreeFunc)S_GtkCTreeFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint depth = ((gint)asCInteger(s_depth)); gtk_ctree_pre_recursive_to_depth(object, node, depth, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_is_viewable(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gboolean ans; ans = gtk_ctree_is_viewable(object, node); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_last(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* ans; ans = gtk_ctree_last(object, node); _result = toRPointer(ans, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_gtk_ctree_find_node_ptr(USER_OBJECT_ s_object, USER_OBJECT_ s_ctree_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeRow* ctree_row = ((GtkCTreeRow*)getPtrValue(s_ctree_row)); GtkCTreeNode* ans; ans = gtk_ctree_find_node_ptr(object, ctree_row); _result = toRPointer(ans, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_gtk_ctree_node_nth(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); guint row = ((guint)asCNumeric(s_row)); GtkCTreeNode* ans; ans = gtk_ctree_node_nth(object, row); _result = toRPointer(ans, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_gtk_ctree_find(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* child = ((GtkCTreeNode*)getPtrValue(s_child)); gboolean ans; ans = gtk_ctree_find(object, node, child); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* child = ((GtkCTreeNode*)getPtrValue(s_child)); gboolean ans; ans = gtk_ctree_is_ancestor(object, node, child); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_find_by_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gpointer data = ((gpointer)asCGenericData(s_data)); GtkCTreeNode* ans; ans = gtk_ctree_find_by_row_data(object, node, data); _result = toRPointer(ans, "GtkCTreeNode"); return(_result); } USER_OBJECT_ S_gtk_ctree_find_all_by_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gpointer data = ((gpointer)asCGenericData(s_data)); GList* ans; ans = gtk_ctree_find_all_by_row_data(object, node, data); _result = asRGList(ans, "GtkCTreeNode"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_ctree_find_by_row_data_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data, USER_OBJECT_ s_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GCompareFunc func = ((GCompareFunc)S_GCompareFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* ans; ans = gtk_ctree_find_by_row_data_custom(object, node, data, func); _result = toRPointer(ans, "GtkCTreeNode"); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_find_all_by_row_data_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data, USER_OBJECT_ s_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; GCompareFunc func = ((GCompareFunc)S_GCompareFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GList* ans; ans = gtk_ctree_find_all_by_row_data_custom(object, node, data, func); _result = asRGList(ans, "GtkCTreeNode"); CLEANUP(g_list_free, ans);; R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_ctree_is_hot_spot(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gboolean ans; ans = gtk_ctree_is_hot_spot(object, x, y); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_move(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_new_parent, USER_OBJECT_ s_new_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* new_parent = GET_LENGTH(s_new_parent) == 0 ? NULL : ((GtkCTreeNode*)getPtrValue(s_new_parent)); GtkCTreeNode* new_sibling = GET_LENGTH(s_new_sibling) == 0 ? NULL : ((GtkCTreeNode*)getPtrValue(s_new_sibling)); gtk_ctree_move(object, node, new_parent, new_sibling); return(_result); } USER_OBJECT_ S_gtk_ctree_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_expand(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_expand_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_expand_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_expand_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint depth = ((gint)asCInteger(s_depth)); gtk_ctree_expand_to_depth(object, node, depth); return(_result); } USER_OBJECT_ S_gtk_ctree_collapse(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_collapse(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_collapse_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_collapse_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_collapse_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint depth = ((gint)asCInteger(s_depth)); gtk_ctree_collapse_to_depth(object, node, depth); return(_result); } USER_OBJECT_ S_gtk_ctree_toggle_expansion(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_toggle_expansion(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_toggle_expansion_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_toggle_expansion_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_select(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_select(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_select_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_select_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_unselect(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_unselect(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_unselect_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_unselect_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_real_select_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_state) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint state = ((gint)asCInteger(s_state)); gtk_ctree_real_select_recursive(object, node, state); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_ctree_node_set_text(object, node, column, text); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_ctree_node_set_pixmap(object, node, column, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); const gchar* text = ((const gchar*)asCString(s_text)); guint8 spacing = ((guint8)asCRaw(s_spacing)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_ctree_node_set_pixtext(object, node, column, text, spacing, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_ctree_set_node_info(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap_closed, USER_OBJECT_ s_mask_closed, USER_OBJECT_ s_pixmap_opened, USER_OBJECT_ s_mask_opened, USER_OBJECT_ s_is_leaf, USER_OBJECT_ s_expanded) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); const gchar* text = ((const gchar*)asCString(s_text)); guint8 spacing = ((guint8)asCRaw(s_spacing)); GdkPixmap* pixmap_closed = GET_LENGTH(s_pixmap_closed) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap_closed)); GdkBitmap* mask_closed = GET_LENGTH(s_mask_closed) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask_closed)); GdkPixmap* pixmap_opened = GET_LENGTH(s_pixmap_opened) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap_opened)); GdkBitmap* mask_opened = GET_LENGTH(s_mask_opened) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask_opened)); gboolean is_leaf = ((gboolean)asCLogical(s_is_leaf)); gboolean expanded = ((gboolean)asCLogical(s_expanded)); gtk_ctree_set_node_info(object, node, text, spacing, pixmap_closed, mask_closed, pixmap_opened, mask_opened, is_leaf, expanded); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_shift(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_vertical, USER_OBJECT_ s_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); gint vertical = ((gint)asCInteger(s_vertical)); gint horizontal = ((gint)asCInteger(s_horizontal)); gtk_ctree_node_set_shift(object, node, column, vertical, horizontal); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_selectable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gboolean selectable = ((gboolean)asCLogical(s_selectable)); gtk_ctree_node_set_selectable(object, node, selectable); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gboolean ans; ans = gtk_ctree_node_get_selectable(object, node); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_cell_type(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); GtkCellType ans; ans = gtk_ctree_node_get_cell_type(object, node, column); _result = asREnum(ans, GTK_TYPE_CELL_TYPE); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); gboolean ans; gchar* text = NULL; ans = gtk_ctree_node_get_text(object, node, column, &text); _result = asRLogical(ans); _result = retByVal(_result, "text", asRString(text), NULL); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); gboolean ans; GdkPixmap* pixmap = NULL; GdkBitmap* mask = NULL; ans = gtk_ctree_node_get_pixmap(object, node, column, &pixmap, &mask); _result = asRLogical(ans); _result = retByVal(_result, "pixmap", toRPointerWithRef(pixmap, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); gboolean ans; gchar* text = NULL; guint8 spacing; GdkPixmap* pixmap = NULL; GdkBitmap* mask = NULL; ans = gtk_ctree_node_get_pixtext(object, node, column, &text, &spacing, &pixmap, &mask); _result = asRLogical(ans); _result = retByVal(_result, "text", asRString(text), "spacing", asRRaw(spacing), "pixmap", toRPointerWithRef(pixmap, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gtk_ctree_get_node_info(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gboolean ans; gchar* text = NULL; guint8 spacing; GdkPixmap* pixmap_closed = NULL; GdkBitmap* mask_closed = NULL; GdkPixmap* pixmap_opened = NULL; GdkBitmap* mask_opened = NULL; gboolean is_leaf; gboolean expanded; ans = gtk_ctree_get_node_info(object, node, &text, &spacing, &pixmap_closed, &mask_closed, &pixmap_opened, &mask_opened, &is_leaf, &expanded); _result = asRLogical(ans); _result = retByVal(_result, "text", asRString(text), "spacing", asRRaw(spacing), "pixmap.closed", toRPointerWithRef(pixmap_closed, "GdkPixmap"), "mask.closed", toRPointerWithRef(mask_closed, "GdkBitmap"), "pixmap.opened", toRPointerWithRef(pixmap_opened, "GdkPixmap"), "mask.opened", toRPointerWithRef(mask_opened, "GdkBitmap"), "is.leaf", asRLogical(is_leaf), "expanded", asRLogical(expanded), NULL); ; ; ; ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkStyle* style = GTK_STYLE(getPtrValue(s_style)); gtk_ctree_node_set_row_style(object, node, style); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkStyle* ans; ans = gtk_ctree_node_get_row_style(object, node); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); GtkStyle* style = GTK_STYLE(getPtrValue(s_style)); gtk_ctree_node_set_cell_style(object, node, column, style); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); GtkStyle* ans; ans = gtk_ctree_node_get_cell_style(object, node, column); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GdkColor* color = asCGdkColor(s_color); gtk_ctree_node_set_foreground(object, node, color); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GdkColor* color = asCGdkColor(s_color); gtk_ctree_node_set_background(object, node, color); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_row_data_full(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gpointer data = ((gpointer)asCGenericData(s_data)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_ReleaseObject); gtk_ctree_node_set_row_data_full(object, node, data, destroy); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gpointer ans; ans = gtk_ctree_node_get_row_data(object, node); _result = ans; return(_result); } USER_OBJECT_ S_gtk_ctree_node_moveto(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gint column = ((gint)asCInteger(s_column)); gfloat row_align = ((gfloat)asCNumeric(s_row_align)); gfloat col_align = ((gfloat)asCNumeric(s_col_align)); gtk_ctree_node_moveto(object, node, column, row_align, col_align); return(_result); } USER_OBJECT_ S_gtk_ctree_node_is_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkVisibility ans; ans = gtk_ctree_node_is_visible(object, node); _result = asREnum(ans, GTK_TYPE_VISIBILITY); return(_result); } USER_OBJECT_ S_gtk_ctree_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); gint indent = ((gint)asCInteger(s_indent)); gtk_ctree_set_indent(object, indent); return(_result); } USER_OBJECT_ S_gtk_ctree_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); gint spacing = ((gint)asCInteger(s_spacing)); gtk_ctree_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_gtk_ctree_set_show_stub(USER_OBJECT_ s_object, USER_OBJECT_ s_show_stub) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); gboolean show_stub = ((gboolean)asCLogical(s_show_stub)); gtk_ctree_set_show_stub(object, show_stub); return(_result); } USER_OBJECT_ S_gtk_ctree_set_line_style(USER_OBJECT_ s_object, USER_OBJECT_ s_line_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeLineStyle line_style = ((GtkCTreeLineStyle)asCEnum(s_line_style, GTK_TYPE_CTREE_LINE_STYLE)); gtk_ctree_set_line_style(object, line_style); return(_result); } USER_OBJECT_ S_gtk_ctree_set_expander_style(USER_OBJECT_ s_object, USER_OBJECT_ s_expander_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeExpanderStyle expander_style = ((GtkCTreeExpanderStyle)asCEnum(s_expander_style, GTK_TYPE_CTREE_EXPANDER_STYLE)); gtk_ctree_set_expander_style(object, expander_style); return(_result); } USER_OBJECT_ S_gtk_ctree_sort_node(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_sort_node(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_sort_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); gtk_ctree_sort_recursive(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_node_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_ctree_node_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_curve_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_curve_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_curve_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_curve_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_curve_reset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); gtk_curve_reset(object); return(_result); } USER_OBJECT_ S_gtk_curve_set_gamma(USER_OBJECT_ s_object, USER_OBJECT_ s_gamma) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); gfloat gamma = ((gfloat)asCNumeric(s_gamma)); gtk_curve_set_gamma(object, gamma); return(_result); } USER_OBJECT_ S_gtk_curve_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min_x, USER_OBJECT_ s_max_x, USER_OBJECT_ s_min_y, USER_OBJECT_ s_max_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); gfloat min_x = ((gfloat)asCNumeric(s_min_x)); gfloat max_x = ((gfloat)asCNumeric(s_max_x)); gfloat min_y = ((gfloat)asCNumeric(s_min_y)); gfloat max_y = ((gfloat)asCNumeric(s_max_y)); gtk_curve_set_range(object, min_x, max_x, min_y, max_y); return(_result); } USER_OBJECT_ S_gtk_curve_set_vector(USER_OBJECT_ s_object, USER_OBJECT_ s_vector) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); int veclen = ((int)GET_LENGTH(s_vector)); gfloat* vector = ((gfloat*)asCArray(s_vector, gfloat, asCNumeric)); gtk_curve_set_vector(object, veclen, vector); return(_result); } USER_OBJECT_ S_gtk_curve_set_curve_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); GtkCurveType type = ((GtkCurveType)asCEnum(s_type, GTK_TYPE_CURVE_TYPE)); gtk_curve_set_curve_type(object, type); return(_result); } USER_OBJECT_ S_gtk_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_dialog_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_dialog_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_dialog_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_dialog_add_action_widget(object, child, response_id); return(_result); } USER_OBJECT_ S_gtk_dialog_add_button(USER_OBJECT_ s_object, USER_OBJECT_ s_button_text, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); const gchar* button_text = ((const gchar*)asCString(s_button_text)); gint response_id = ((gint)asCInteger(s_response_id)); GtkWidget* ans; ans = gtk_dialog_add_button(object, button_text, response_id); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_dialog_set_response_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_dialog_set_response_sensitive(object, response_id, setting); return(_result); } USER_OBJECT_ S_gtk_dialog_set_default_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_dialog_set_default_response(object, response_id); return(_result); } USER_OBJECT_ S_gtk_dialog_get_response_for_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gint ans; ans = gtk_dialog_get_response_for_widget(object, widget); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_dialog_set_has_separator(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_dialog_set_has_separator(object, setting); return(_result); } USER_OBJECT_ S_gtk_dialog_get_has_separator(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gboolean ans; ans = gtk_dialog_get_has_separator(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_dialog_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_dialog_response(object, response_id); return(_result); } USER_OBJECT_ S_gtk_dialog_run(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint ans; ans = gtk_dialog_run(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_dialog_set_alternative_button_order_from_array(USER_OBJECT_ s_object, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint n_params = ((gint)GET_LENGTH(s_new_order)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); gtk_dialog_set_alternative_button_order_from_array(object, n_params, new_order); return(_result); } USER_OBJECT_ S_gtk_drag_check_threshold(USER_OBJECT_ s_object, USER_OBJECT_ s_start_x, USER_OBJECT_ s_start_y, USER_OBJECT_ s_current_x, USER_OBJECT_ s_current_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint start_x = ((gint)asCInteger(s_start_x)); gint start_y = ((gint)asCInteger(s_start_y)); gint current_x = ((gint)asCInteger(s_current_x)); gint current_y = ((gint)asCInteger(s_current_y)); gboolean ans; ans = gtk_drag_check_threshold(object, start_x, start_y, current_x, current_y); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_drag_get_data(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_target, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); GdkAtom target = asCGdkAtom(s_target); guint32 time = ((guint32)asCNumeric(s_time)); gtk_drag_get_data(object, context, target, time); return(_result); } USER_OBJECT_ S_gtk_drag_highlight(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_highlight(object); return(_result); } USER_OBJECT_ S_gtk_drag_unhighlight(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_unhighlight(object); return(_result); } USER_OBJECT_ S_gtk_drag_dest_set(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkDestDefaults flags = ((GtkDestDefaults)asCFlag(s_flags, GTK_TYPE_DEST_DEFAULTS)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_drag_dest_set(object, flags, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_drag_dest_set_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy_window, USER_OBJECT_ s_protocol, USER_OBJECT_ s_use_coordinates) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* proxy_window = GDK_WINDOW(getPtrValue(s_proxy_window)); GdkDragProtocol protocol = ((GdkDragProtocol)asCEnum(s_protocol, GDK_TYPE_DRAG_PROTOCOL)); gboolean use_coordinates = ((gboolean)asCLogical(s_use_coordinates)); gtk_drag_dest_set_proxy(object, proxy_window, protocol, use_coordinates); return(_result); } USER_OBJECT_ S_gtk_drag_dest_unset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_dest_unset(object); return(_result); } USER_OBJECT_ S_gtk_drag_dest_find_target(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_target_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); GtkTargetList* target_list = ((GtkTargetList*)getPtrValue(s_target_list)); GdkAtom ans; ans = gtk_drag_dest_find_target(object, context, target_list); _result = asRGdkAtom(ans); return(_result); } USER_OBJECT_ S_gtk_drag_dest_get_target_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTargetList* ans; ans = gtk_drag_dest_get_target_list(object); _result = toRPointerWithFinalizer(ans, "GtkTargetList", (RPointerFinalizer) gtk_target_list_unref); return(_result); } USER_OBJECT_ S_gtk_drag_dest_set_target_list(USER_OBJECT_ s_object, USER_OBJECT_ s_target_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTargetList* target_list = ((GtkTargetList*)getPtrValue(s_target_list)); gtk_drag_dest_set_target_list(object, target_list); return(_result); } USER_OBJECT_ S_gtk_drag_source_set(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkModifierType start_button_mask = ((GdkModifierType)asCFlag(s_start_button_mask, GDK_TYPE_MODIFIER_TYPE)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_drag_source_set(object, start_button_mask, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_drag_source_unset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_source_unset(object); return(_result); } USER_OBJECT_ S_gtk_drag_source_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_drag_source_set_icon(object, colormap, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_drag_source_set_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_drag_source_set_icon_pixbuf(object, pixbuf); return(_result); } USER_OBJECT_ S_gtk_drag_source_set_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); gtk_drag_source_set_icon_stock(object, stock_id); return(_result); } USER_OBJECT_ S_gtk_drag_source_get_target_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTargetList* ans; ans = gtk_drag_source_get_target_list(object); _result = toRPointerWithFinalizer(ans, "GtkTargetList", (RPointerFinalizer) gtk_target_list_unref); return(_result); } USER_OBJECT_ S_gtk_drag_source_set_target_list(USER_OBJECT_ s_object, USER_OBJECT_ s_target_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTargetList* target_list = ((GtkTargetList*)getPtrValue(s_target_list)); gtk_drag_source_set_target_list(object, target_list); return(_result); } USER_OBJECT_ S_gtk_drag_begin(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions, USER_OBJECT_ s_button, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTargetList* targets = ((GtkTargetList*)getPtrValue(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gint button = ((gint)asCInteger(s_button)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GdkDragContext* ans; ans = gtk_drag_begin(object, targets, actions, button, event); _result = toRPointerWithRef(ans, "GdkDragContext"); return(_result); } USER_OBJECT_ S_gtk_drag_set_default_icon(USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gint hot_x = ((gint)asCInteger(s_hot_x)); gint hot_y = ((gint)asCInteger(s_hot_y)); gtk_drag_set_default_icon(colormap, pixmap, mask, hot_x, hot_y); return(_result); } USER_OBJECT_ S_gtk_drag_dest_add_text_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_dest_add_text_targets(object); return(_result); } USER_OBJECT_ S_gtk_drag_dest_add_image_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_dest_add_image_targets(object); return(_result); } USER_OBJECT_ S_gtk_drag_dest_add_uri_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_dest_add_uri_targets(object); return(_result); } USER_OBJECT_ S_gtk_drag_source_add_text_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_source_add_text_targets(object); return(_result); } USER_OBJECT_ S_gtk_drag_source_add_image_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_source_add_image_targets(object); return(_result); } USER_OBJECT_ S_gtk_drag_source_add_uri_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_drag_source_add_uri_targets(object); return(_result); } USER_OBJECT_ S_gtk_target_list_add_text_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* list = ((GtkTargetList*)getPtrValue(s_list)); guint info = ((guint)asCNumeric(s_info)); gtk_target_list_add_text_targets(list, info); return(_result); } USER_OBJECT_ S_gtk_target_list_add_image_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info, USER_OBJECT_ s_writable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* list = ((GtkTargetList*)getPtrValue(s_list)); guint info = ((guint)asCNumeric(s_info)); gboolean writable = ((gboolean)asCLogical(s_writable)); gtk_target_list_add_image_targets(list, info, writable); return(_result); } USER_OBJECT_ S_gtk_target_list_add_uri_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* list = ((GtkTargetList*)getPtrValue(s_list)); guint info = ((guint)asCNumeric(s_info)); gtk_target_list_add_uri_targets(list, info); return(_result); } USER_OBJECT_ S_gtk_drag_get_source_widget(USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); GtkWidget* ans; ans = gtk_drag_get_source_widget(context); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_drag_source_set_icon_name(USER_OBJECT_ s_widget, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gtk_drag_source_set_icon_name(widget, icon_name); return(_result); } USER_OBJECT_ S_gtk_drawing_area_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_drawing_area_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_drawing_area_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_drawing_area_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_drawing_area_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDrawingArea* object = GTK_DRAWING_AREA(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_drawing_area_size(object, width, height); return(_result); } USER_OBJECT_ S_gtk_editable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_editable_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_editable_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start = ((gint)asCInteger(s_start)); gint end = ((gint)asCInteger(s_end)); gtk_editable_select_region(object, start, end); return(_result); } USER_OBJECT_ S_gtk_editable_get_selection_bounds(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gboolean ans; gint start; gint end; ans = gtk_editable_get_selection_bounds(object, &start, &end); _result = asRLogical(ans); _result = retByVal(_result, "start", asRInteger(start), "end", asRInteger(end), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_editable_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); gtk_editable_delete_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_editable_get_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); gchar* ans; ans = gtk_editable_get_chars(object, start_pos, end_pos); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_editable_cut_clipboard(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gtk_editable_cut_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_editable_copy_clipboard(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gtk_editable_copy_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_editable_paste_clipboard(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gtk_editable_paste_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_editable_delete_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gtk_editable_delete_selection(object); return(_result); } USER_OBJECT_ S_gtk_editable_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_editable_set_position(object, position); return(_result); } USER_OBJECT_ S_gtk_editable_get_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint ans; ans = gtk_editable_get_position(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_editable_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_is_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gboolean is_editable = ((gboolean)asCLogical(s_is_editable)); gtk_editable_set_editable(object, is_editable); return(_result); } USER_OBJECT_ S_gtk_editable_get_editable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gboolean ans; ans = gtk_editable_get_editable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_entry_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_entry_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_entry_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_entry_new_with_max_length(USER_OBJECT_ s_max) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint16 max = ((guint16)asCInteger(s_max)); GtkWidget* ans; ans = gtk_entry_new_with_max_length(max); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_entry_set_visibility(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_entry_set_visibility(object, visible); return(_result); } USER_OBJECT_ S_gtk_entry_get_visibility(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_get_visibility(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_invisible_char(USER_OBJECT_ s_object, USER_OBJECT_ s_ch) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gunichar ch = ((gunichar)asCNumeric(s_ch)); gtk_entry_set_invisible_char(object, ch); return(_result); } USER_OBJECT_ S_gtk_entry_get_invisible_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gunichar ans; ans = gtk_entry_get_invisible_char(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_has_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_entry_set_has_frame(object, setting); return(_result); } USER_OBJECT_ S_gtk_entry_get_has_frame(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_get_has_frame(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_max_length(USER_OBJECT_ s_object, USER_OBJECT_ s_max) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint max = ((gint)asCInteger(s_max)); gtk_entry_set_max_length(object, max); return(_result); } USER_OBJECT_ S_gtk_entry_get_max_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint ans; ans = gtk_entry_get_max_length(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_activates_default(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_entry_set_activates_default(object, setting); return(_result); } USER_OBJECT_ S_gtk_entry_get_activates_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_get_activates_default(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint n_chars = ((gint)asCInteger(s_n_chars)); gtk_entry_set_width_chars(object, n_chars); return(_result); } USER_OBJECT_ S_gtk_entry_get_width_chars(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint ans; ans = gtk_entry_get_width_chars(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_entry_set_text(object, text); return(_result); } USER_OBJECT_ S_gtk_entry_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const gchar* ans; ans = gtk_entry_get_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_entry_get_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); PangoLayout* ans; ans = gtk_entry_get_layout(object); _result = toRPointerWithRef(ans, "PangoLayout"); return(_result); } USER_OBJECT_ S_gtk_entry_get_layout_offsets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint x; gint y; gtk_entry_get_layout_offsets(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_entry_layout_index_to_text_index(USER_OBJECT_ s_object, USER_OBJECT_ s_layout_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint layout_index = ((gint)asCInteger(s_layout_index)); gtk_entry_layout_index_to_text_index(object, layout_index); return(_result); } USER_OBJECT_ S_gtk_entry_text_index_to_layout_index(USER_OBJECT_ s_object, USER_OBJECT_ s_text_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint text_index = ((gint)asCInteger(s_text_index)); gtk_entry_text_index_to_layout_index(object, text_index); return(_result); } USER_OBJECT_ S_gtk_entry_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gtk_entry_set_alignment(object, xalign); return(_result); } USER_OBJECT_ S_gtk_entry_get_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gfloat ans; ans = gtk_entry_get_alignment(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_entry_set_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_completion) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryCompletion* completion = GTK_ENTRY_COMPLETION(getPtrValue(s_completion)); gtk_entry_set_completion(object, completion); return(_result); } USER_OBJECT_ S_gtk_entry_get_completion(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryCompletion* ans; ans = gtk_entry_get_completion(object); _result = toRPointerWithRef(ans, "GtkEntryCompletion"); return(_result); } USER_OBJECT_ S_gtk_entry_append_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_entry_append_text(object, text); return(_result); } USER_OBJECT_ S_gtk_entry_prepend_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_entry_prepend_text(object, text); return(_result); } USER_OBJECT_ S_gtk_entry_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_entry_set_position(object, position); return(_result); } USER_OBJECT_ S_gtk_entry_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint start = ((gint)asCInteger(s_start)); gint end = ((gint)asCInteger(s_end)); gtk_entry_select_region(object, start, end); return(_result); } USER_OBJECT_ S_gtk_entry_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean editable = ((gboolean)asCLogical(s_editable)); gtk_entry_set_editable(object, editable); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_entry_completion_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* ans; ans = gtk_entry_completion_new(); _result = toRPointerWithFinalizer(ans, "GtkEntryCompletion", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_entry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_entry_completion_get_entry(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); GtkTreeModel* model = GET_LENGTH(s_model) == 0 ? NULL : GTK_TREE_MODEL(getPtrValue(s_model)); gtk_entry_completion_set_model(object, model); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_entry_completion_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_match_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletionMatchFunc func = ((GtkEntryCompletionMatchFunc)S_GtkEntryCompletionMatchFunc); R_CallbackData* func_data = R_createCBData(s_func, s_func_data); GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); GDestroyNotify func_notify = ((GDestroyNotify)R_freeCBData); gtk_entry_completion_set_match_func(object, func, func_data, func_notify); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_minimum_key_length(USER_OBJECT_ s_object, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint length = ((gint)asCInteger(s_length)); gtk_entry_completion_set_minimum_key_length(object, length); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_minimum_key_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint ans; ans = gtk_entry_completion_get_minimum_key_length(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_complete(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gtk_entry_completion_complete(object); return(_result); } USER_OBJECT_ S_gtk_entry_completion_insert_action_text(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_entry_completion_insert_action_text(object, index, text); return(_result); } USER_OBJECT_ S_gtk_entry_completion_insert_action_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); const gchar* markup = ((const gchar*)asCString(s_markup)); gtk_entry_completion_insert_action_markup(object, index, markup); return(_result); } USER_OBJECT_ S_gtk_entry_completion_delete_action(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gtk_entry_completion_delete_action(object, index); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_entry_completion_set_text_column(object, column); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_text_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint ans; ans = gtk_entry_completion_get_text_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_insert_prefix(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gtk_entry_completion_insert_prefix(object); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_inline_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_inline_completion) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean inline_completion = ((gboolean)asCLogical(s_inline_completion)); gtk_entry_completion_set_inline_completion(object, inline_completion); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_inline_completion(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_completion_get_inline_completion(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_popup_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_completion) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean popup_completion = ((gboolean)asCLogical(s_popup_completion)); gtk_entry_completion_set_popup_completion(object, popup_completion); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_popup_completion(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_completion_get_popup_completion(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_popup_set_width(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_set_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean popup_set_width = ((gboolean)asCLogical(s_popup_set_width)); gtk_entry_completion_set_popup_set_width(object, popup_set_width); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_popup_set_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_completion_get_popup_set_width(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_popup_single_match(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_single_match) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean popup_single_match = ((gboolean)asCLogical(s_popup_single_match)); gtk_entry_completion_set_popup_single_match(object, popup_single_match); return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_popup_single_match(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_completion_get_popup_single_match(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_event_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_event_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_event_box_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_event_box_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_event_box_get_visible_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEventBox* object = GTK_EVENT_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_event_box_get_visible_window(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_event_box_set_visible_window(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEventBox* object = GTK_EVENT_BOX(getPtrValue(s_object)); gboolean visible_window = ((gboolean)asCLogical(s_visible_window)); gtk_event_box_set_visible_window(object, visible_window); return(_result); } USER_OBJECT_ S_gtk_event_box_get_above_child(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEventBox* object = GTK_EVENT_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_event_box_get_above_child(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_event_box_set_above_child(USER_OBJECT_ s_object, USER_OBJECT_ s_above_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEventBox* object = GTK_EVENT_BOX(getPtrValue(s_object)); gboolean above_child = ((gboolean)asCLogical(s_above_child)); gtk_event_box_set_above_child(object, above_child); return(_result); } USER_OBJECT_ S_gtk_expander_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_expander_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_expander_new(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "label", NULL }; USER_OBJECT_ args[] = { s_label }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_EXPANDER, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_expander_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_expander_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_expander_set_expanded(USER_OBJECT_ s_object, USER_OBJECT_ s_expanded) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean expanded = ((gboolean)asCLogical(s_expanded)); gtk_expander_set_expanded(object, expanded); return(_result); } USER_OBJECT_ S_gtk_expander_get_expanded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean ans; ans = gtk_expander_get_expanded(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_expander_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gint spacing = ((gint)asCInteger(s_spacing)); gtk_expander_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_gtk_expander_get_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gint ans; ans = gtk_expander_get_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_expander_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); const gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((const gchar*)asCString(s_label)); gtk_expander_set_label(object, label); return(_result); } USER_OBJECT_ S_gtk_expander_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); const gchar* ans; ans = gtk_expander_get_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_expander_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean use_underline = ((gboolean)asCLogical(s_use_underline)); gtk_expander_set_use_underline(object, use_underline); return(_result); } USER_OBJECT_ S_gtk_expander_get_use_underline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean ans; ans = gtk_expander_get_use_underline(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_expander_set_use_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_use_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean use_markup = ((gboolean)asCLogical(s_use_markup)); gtk_expander_set_use_markup(object, use_markup); return(_result); } USER_OBJECT_ S_gtk_expander_get_use_markup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); gboolean ans; ans = gtk_expander_get_use_markup(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_expander_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); GtkWidget* label_widget = GET_LENGTH(s_label_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_label_widget)); gtk_expander_set_label_widget(object, label_widget); return(_result); } USER_OBJECT_ S_gtk_expander_get_label_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_expander_get_label_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_chooser_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GQuark ans; ans = gtk_file_chooser_error_quark(); _result = asRGQuark(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileChooserAction action = ((GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION)); gtk_file_chooser_set_action(object, action); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_action(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileChooserAction ans; ans = gtk_file_chooser_get_action(object); _result = asREnum(ans, GTK_TYPE_FILE_CHOOSER_ACTION); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_local_only(USER_OBJECT_ s_object, USER_OBJECT_ s_local_only) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean local_only = ((gboolean)asCLogical(s_local_only)); gtk_file_chooser_set_local_only(object, local_only); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_local_only(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_local_only(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean select_multiple = ((gboolean)asCLogical(s_select_multiple)); gtk_file_chooser_set_select_multiple(object, select_multiple); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_select_multiple(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_select_multiple(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_show_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_show_hidden) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean show_hidden = ((gboolean)asCLogical(s_show_hidden)); gtk_file_chooser_set_show_hidden(object, show_hidden); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_show_hidden(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_show_hidden(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_do_overwrite_confirmation(USER_OBJECT_ s_object, USER_OBJECT_ s_do_overwrite_confirmation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean do_overwrite_confirmation = ((gboolean)asCLogical(s_do_overwrite_confirmation)); gtk_file_chooser_set_do_overwrite_confirmation(object, do_overwrite_confirmation); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_do_overwrite_confirmation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_do_overwrite_confirmation(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_current_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_file_chooser_set_current_name(object, name); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gchar* ans; ans = gtk_file_chooser_get_filename(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* filename = ((const char*)asCString(s_filename)); gboolean ans; ans = gtk_file_chooser_set_filename(object, filename); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_select_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* filename = ((const char*)asCString(s_filename)); gboolean ans; ans = gtk_file_chooser_select_filename(object, filename); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_unselect_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* filename = ((const char*)asCString(s_filename)); gtk_file_chooser_unselect_filename(object, filename); return(_result); } USER_OBJECT_ S_gtk_file_chooser_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gtk_file_chooser_select_all(object); return(_result); } USER_OBJECT_ S_gtk_file_chooser_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gtk_file_chooser_unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_filenames(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_get_filenames(object); _result = asRGSListConv(ans, ((ElementConverter)asRString)); CLEANUP(GSListFreeStrings, ans); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_current_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gboolean ans; ans = gtk_file_chooser_set_current_folder(object, filename); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_current_folder(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gchar* ans; ans = gtk_file_chooser_get_current_folder(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gchar* ans; ans = gtk_file_chooser_get_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); gboolean ans; ans = gtk_file_chooser_set_uri(object, uri); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_select_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); gboolean ans; ans = gtk_file_chooser_select_uri(object, uri); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_unselect_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); gtk_file_chooser_unselect_uri(object, uri); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_get_uris(object); _result = asRGSListConv(ans, ((ElementConverter)asRString)); CLEANUP(GSListFreeStrings, ans); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_current_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; ans = gtk_file_chooser_set_current_folder_uri(object, uri); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_current_folder_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gchar* ans; ans = gtk_file_chooser_get_current_folder_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_preview_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_preview_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkWidget* preview_widget = GTK_WIDGET(getPtrValue(s_preview_widget)); gtk_file_chooser_set_preview_widget(object, preview_widget); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_preview_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_file_chooser_get_preview_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_preview_widget_active(USER_OBJECT_ s_object, USER_OBJECT_ s_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean active = ((gboolean)asCLogical(s_active)); gtk_file_chooser_set_preview_widget_active(object, active); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_preview_widget_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_preview_widget_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_use_preview_label(USER_OBJECT_ s_object, USER_OBJECT_ s_use_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean use_label = ((gboolean)asCLogical(s_use_label)); gtk_file_chooser_set_use_preview_label(object, use_label); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_use_preview_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_use_preview_label(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_preview_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); char* ans; ans = gtk_file_chooser_get_preview_filename(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_preview_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); char* ans; ans = gtk_file_chooser_get_preview_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_extra_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_extra_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkWidget* extra_widget = GTK_WIDGET(getPtrValue(s_extra_widget)); gtk_file_chooser_set_extra_widget(object, extra_widget); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_extra_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_file_chooser_get_extra_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileFilter* filter = GTK_FILE_FILTER(getPtrValue(s_filter)); gtk_file_chooser_add_filter(object, filter); return(_result); } USER_OBJECT_ S_gtk_file_chooser_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileFilter* filter = GTK_FILE_FILTER(getPtrValue(s_filter)); gtk_file_chooser_remove_filter(object, filter); return(_result); } USER_OBJECT_ S_gtk_file_chooser_list_filters(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_list_filters(object); _result = asRGSListWithSink(ans, "GtkFileFilter"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileFilter* filter = GTK_FILE_FILTER(getPtrValue(s_filter)); gtk_file_chooser_set_filter(object, filter); return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_filter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GtkFileFilter* ans; ans = gtk_file_chooser_get_filter(object); _result = toRPointerWithSink(ans, "GtkFileFilter"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_add_shortcut_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_folder) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* folder = ((const char*)asCString(s_folder)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_add_shortcut_folder(object, folder, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_remove_shortcut_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_folder) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* folder = ((const char*)asCString(s_folder)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_remove_shortcut_folder(object, folder, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_list_shortcut_folders(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_list_shortcut_folders(object); _result = asRGSListConv(ans, ((ElementConverter)asRString)); CLEANUP(GSListFreeStrings, ans); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_add_shortcut_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_add_shortcut_folder_uri(object, uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_remove_shortcut_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_remove_shortcut_folder_uri(object, uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_list_shortcut_folder_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_list_shortcut_folder_uris(object); _result = asRGSListConv(ans, ((ElementConverter)asRString)); CLEANUP(GSListFreeStrings, ans); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_chooser_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_new(USER_OBJECT_ s_title, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* title = ((const gchar*)asCString(s_title)); GtkFileChooserAction action = ((GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION)); GtkWidget* ans; ans = gtk_file_chooser_button_new(title, action); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_new_with_backend(USER_OBJECT_ s_title, USER_OBJECT_ s_action, USER_OBJECT_ s_backend) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* title = ((const gchar*)asCString(s_title)); GtkFileChooserAction action = ((GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION)); const gchar* backend = ((const gchar*)asCString(s_backend)); GtkWidget* ans; ans = gtk_file_chooser_button_new_with_backend(title, action, backend); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_new_with_dialog(USER_OBJECT_ s_dialog) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* dialog = GTK_WIDGET(getPtrValue(s_dialog)); GtkWidget* ans; ans = gtk_file_chooser_button_new_with_dialog(dialog); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_file_chooser_button_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_file_chooser_button_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_get_width_chars(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); gint ans; ans = gtk_file_chooser_button_get_width_chars(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); gint n_chars = ((gint)asCInteger(s_n_chars)); gtk_file_chooser_button_set_width_chars(object, n_chars); return(_result); } USER_OBJECT_ S_gtk_file_chooser_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_chooser_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_widget_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_chooser_widget_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_chooser_widget_new(USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserAction action = ((GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION)); GtkWidget* ans; ans = gtk_file_chooser_widget_new(action); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_chooser_widget_new_with_backend(USER_OBJECT_ s_action, USER_OBJECT_ s_backend) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileChooserAction action = ((GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION)); const gchar* backend = ((const gchar*)asCString(s_backend)); GtkWidget* ans; ans = gtk_file_chooser_widget_new_with_backend(action, backend); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_filter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_filter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_filter_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* ans; ans = gtk_file_filter_new(); _result = toRPointerWithSink(ans, "GtkFileFilter"); return(_result); } USER_OBJECT_ S_gtk_file_filter_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_file_filter_set_name(object, name); return(_result); } USER_OBJECT_ S_gtk_file_filter_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); const gchar* ans; ans = gtk_file_filter_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_file_filter_add_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); const gchar* mime_type = ((const gchar*)asCString(s_mime_type)); gtk_file_filter_add_mime_type(object, mime_type); return(_result); } USER_OBJECT_ S_gtk_file_filter_add_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_file_filter_add_pattern(object, pattern); return(_result); } USER_OBJECT_ S_gtk_file_filter_add_pixbuf_formats(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); gtk_file_filter_add_pixbuf_formats(object); return(_result); } USER_OBJECT_ S_gtk_file_filter_add_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_needed, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilterFunc func = ((GtkFileFilterFunc)S_GtkFileFilterFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); GtkFileFilterFlags needed = ((GtkFileFilterFlags)asCFlag(s_needed, GTK_TYPE_FILE_FILTER_FLAGS)); GDestroyNotify notify = ((GDestroyNotify)R_freeCBData); gtk_file_filter_add_custom(object, needed, func, data, notify); return(_result); } USER_OBJECT_ S_gtk_file_filter_get_needed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); GtkFileFilterFlags ans; ans = gtk_file_filter_get_needed(object); _result = asRFlag(ans, GTK_TYPE_FILE_FILTER_FLAGS); return(_result); } USER_OBJECT_ S_gtk_file_filter_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileFilter* object = GTK_FILE_FILTER(getPtrValue(s_object)); const GtkFileFilterInfo* filter_info = asCGtkFileFilterInfo(s_filter_info); gboolean ans; ans = gtk_file_filter_filter(object, filter_info); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_file_selection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_file_selection_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_file_selection_new(USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "title", NULL }; USER_OBJECT_ args[] = { s_title }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_FILE_SELECTION, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_file_selection_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_file_selection_set_filename(object, filename); return(_result); } USER_OBJECT_ S_gtk_file_selection_get_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_file_selection_get_filename(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_file_selection_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_file_selection_complete(object, pattern); return(_result); } USER_OBJECT_ S_gtk_file_selection_show_fileop_buttons(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); gtk_file_selection_show_fileop_buttons(object); return(_result); } USER_OBJECT_ S_gtk_file_selection_hide_fileop_buttons(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); gtk_file_selection_hide_fileop_buttons(object); return(_result); } USER_OBJECT_ S_gtk_file_selection_get_selections(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); gchar** ans; ans = gtk_file_selection_get_selections(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; return(_result); } USER_OBJECT_ S_gtk_file_selection_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); gboolean select_multiple = ((gboolean)asCLogical(s_select_multiple)); gtk_file_selection_set_select_multiple(object, select_multiple); return(_result); } USER_OBJECT_ S_gtk_file_selection_get_select_multiple(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFileSelection* object = GTK_FILE_SELECTION(getPtrValue(s_object)); gboolean ans; ans = gtk_file_selection_get_select_multiple(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_fixed_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_fixed_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_fixed_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_fixed_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_fixed_put(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixed* object = GTK_FIXED(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_fixed_put(object, widget, x, y); return(_result); } USER_OBJECT_ S_gtk_fixed_move(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixed* object = GTK_FIXED(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_fixed_move(object, widget, x, y); return(_result); } USER_OBJECT_ S_gtk_fixed_set_has_window(USER_OBJECT_ s_object, USER_OBJECT_ s_has_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixed* object = GTK_FIXED(getPtrValue(s_object)); gboolean has_window = ((gboolean)asCLogical(s_has_window)); gtk_fixed_set_has_window(object, has_window); return(_result); } USER_OBJECT_ S_gtk_fixed_get_has_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFixed* object = GTK_FIXED(getPtrValue(s_object)); gboolean ans; ans = gtk_fixed_get_has_window(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_font_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_font_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_font_button_new_with_font(USER_OBJECT_ s_fontname) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* fontname = ((const gchar*)asCString(s_fontname)); GtkWidget* ans; ans = gtk_font_button_new_with_font(fontname); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_font_button_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_font_button_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_font_button_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_font_button_get_use_font(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_font_button_get_use_font(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_use_font(USER_OBJECT_ s_object, USER_OBJECT_ s_use_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean use_font = ((gboolean)asCLogical(s_use_font)); gtk_font_button_set_use_font(object, use_font); return(_result); } USER_OBJECT_ S_gtk_font_button_get_use_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_font_button_get_use_size(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_use_size(USER_OBJECT_ s_object, USER_OBJECT_ s_use_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean use_size = ((gboolean)asCLogical(s_use_size)); gtk_font_button_set_use_size(object, use_size); return(_result); } USER_OBJECT_ S_gtk_font_button_get_font_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_font_button_get_font_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); const gchar* fontname = ((const gchar*)asCString(s_fontname)); gboolean ans; ans = gtk_font_button_set_font_name(object, fontname); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_get_show_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_font_button_get_show_style(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_show_style(USER_OBJECT_ s_object, USER_OBJECT_ s_show_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean show_style = ((gboolean)asCLogical(s_show_style)); gtk_font_button_set_show_style(object, show_style); return(_result); } USER_OBJECT_ S_gtk_font_button_get_show_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_font_button_get_show_size(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_button_set_show_size(USER_OBJECT_ s_object, USER_OBJECT_ s_show_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); gboolean show_size = ((gboolean)asCLogical(s_show_size)); gtk_font_button_set_show_size(object, show_size); return(_result); } USER_OBJECT_ S_gtk_font_selection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_font_selection_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_font_selection_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_font_selection_get_font_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); gchar* ans; ans = gtk_font_selection_get_font_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_font_selection_get_font(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GdkFont* ans; ans = gtk_font_selection_get_font(object); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); const gchar* fontname = ((const gchar*)asCString(s_fontname)); gboolean ans; ans = gtk_font_selection_set_font_name(object, fontname); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_get_preview_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_font_selection_get_preview_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_set_preview_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_font_selection_set_preview_text(object, text); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_font_selection_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_new(USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "title", NULL }; USER_OBJECT_ args[] = { s_title }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_FONT_SELECTION_DIALOG, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_font_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); gchar* ans; ans = gtk_font_selection_dialog_get_font_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_font(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); GdkFont* ans; ans = gtk_font_selection_dialog_get_font(object); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); const gchar* fontname = ((const gchar*)asCString(s_fontname)); gboolean ans; ans = gtk_font_selection_dialog_set_font_name(object, fontname); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_preview_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_font_selection_dialog_get_preview_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_set_preview_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_font_selection_dialog_set_preview_text(object, text); return(_result); } USER_OBJECT_ S_gtk_frame_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_frame_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_frame_new(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "label", NULL }; USER_OBJECT_ args[] = { s_label }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_FRAME, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_frame_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); const gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((const gchar*)asCString(s_label)); gtk_frame_set_label(object, label); return(_result); } USER_OBJECT_ S_gtk_frame_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); const gchar* ans; ans = gtk_frame_get_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_frame_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); GtkWidget* label_widget = GTK_WIDGET(getPtrValue(s_label_widget)); gtk_frame_set_label_widget(object, label_widget); return(_result); } USER_OBJECT_ S_gtk_frame_get_label_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_frame_get_label_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_frame_set_label_align(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gtk_frame_set_label_align(object, xalign, yalign); return(_result); } USER_OBJECT_ S_gtk_frame_get_label_align(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); gfloat xalign; gfloat yalign; gtk_frame_get_label_align(object, &xalign, &yalign); _result = retByVal(_result, "xalign", asRNumeric(xalign), "yalign", asRNumeric(yalign), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_frame_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); GtkShadowType type = ((GtkShadowType)asCEnum(s_type, GTK_TYPE_SHADOW_TYPE)); gtk_frame_set_shadow_type(object, type); return(_result); } USER_OBJECT_ S_gtk_frame_get_shadow_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); GtkShadowType ans; ans = gtk_frame_get_shadow_type(object); _result = asREnum(ans, GTK_TYPE_SHADOW_TYPE); return(_result); } USER_OBJECT_ S_gtk_gamma_curve_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_gamma_curve_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_gamma_curve_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_gamma_curve_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_gc_release(USER_OBJECT_ s_gc) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gtk_gc_release(gc); return(_result); } USER_OBJECT_ S_gtk_handle_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_handle_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_handle_box_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_handle_box_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_handle_box_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkShadowType type = ((GtkShadowType)asCEnum(s_type, GTK_TYPE_SHADOW_TYPE)); gtk_handle_box_set_shadow_type(object, type); return(_result); } USER_OBJECT_ S_gtk_handle_box_get_shadow_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkShadowType ans; ans = gtk_handle_box_get_shadow_type(object); _result = asREnum(ans, GTK_TYPE_SHADOW_TYPE); return(_result); } USER_OBJECT_ S_gtk_handle_box_set_handle_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkPositionType position = ((GtkPositionType)asCEnum(s_position, GTK_TYPE_POSITION_TYPE)); gtk_handle_box_set_handle_position(object, position); return(_result); } USER_OBJECT_ S_gtk_handle_box_get_handle_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkPositionType ans; ans = gtk_handle_box_get_handle_position(object); _result = asREnum(ans, GTK_TYPE_POSITION_TYPE); return(_result); } USER_OBJECT_ S_gtk_handle_box_set_snap_edge(USER_OBJECT_ s_object, USER_OBJECT_ s_edge) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkPositionType edge = ((GtkPositionType)asCEnum(s_edge, GTK_TYPE_POSITION_TYPE)); gtk_handle_box_set_snap_edge(object, edge); return(_result); } USER_OBJECT_ S_gtk_handle_box_get_snap_edge(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkPositionType ans; ans = gtk_handle_box_get_snap_edge(object); _result = asREnum(ans, GTK_TYPE_POSITION_TYPE); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hbutton_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_hbutton_box_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_get_spacing_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gtk_hbutton_box_get_spacing_default(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_get_layout_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBoxStyle ans; ans = gtk_hbutton_box_get_layout_default(); _result = asREnum(ans, GTK_TYPE_BUTTON_BOX_STYLE); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_set_spacing_default(USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint spacing = ((gint)asCInteger(s_spacing)); gtk_hbutton_box_set_spacing_default(spacing); return(_result); } USER_OBJECT_ S_gtk_hbutton_box_set_layout_default(USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBoxStyle layout = ((GtkButtonBoxStyle)asCEnum(s_layout, GTK_TYPE_BUTTON_BOX_STYLE)); gtk_hbutton_box_set_layout_default(layout); return(_result); } USER_OBJECT_ S_gtk_hbox_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hbox_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hbox_new(USER_OBJECT_ s_homogeneous, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "homogeneous", "spacing", NULL }; USER_OBJECT_ args[] = { s_homogeneous, s_spacing }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_HBOX, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hpaned_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hpaned_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hpaned_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_hpaned_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hruler_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hruler_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hruler_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_hruler_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hscale_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hscale_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hscale_new(USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "adjustment", NULL }; USER_OBJECT_ args[] = { s_adjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_HSCALE, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hscale_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gdouble step = ((gdouble)asCNumeric(s_step)); GtkWidget* ans; ans = gtk_hscale_new_with_range(min, max, step); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hscrollbar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hscrollbar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hscrollbar_new(USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "adjustment", NULL }; USER_OBJECT_ args[] = { s_adjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_HSCROLLBAR, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_hseparator_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_hseparator_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_hseparator_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_hseparator_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_icon_factory_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_factory_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_factory_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconFactory* ans; ans = gtk_icon_factory_new(); _result = toRPointerWithFinalizer(ans, "GtkIconFactory", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_icon_factory_add(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_icon_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconFactory* object = GTK_ICON_FACTORY(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSet* icon_set = ((GtkIconSet*)getPtrValue(s_icon_set)); gtk_icon_factory_add(object, stock_id, icon_set); return(_result); } USER_OBJECT_ S_gtk_icon_factory_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconFactory* object = GTK_ICON_FACTORY(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSet* ans; ans = gtk_icon_factory_lookup(object, stock_id); _result = toRPointerWithFinalizer(ans ? gtk_icon_set_copy(ans) : NULL, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_factory_add_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconFactory* object = GTK_ICON_FACTORY(getPtrValue(s_object)); gtk_icon_factory_add_default(object); return(_result); } USER_OBJECT_ S_gtk_icon_factory_remove_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconFactory* object = GTK_ICON_FACTORY(getPtrValue(s_object)); gtk_icon_factory_remove_default(object); return(_result); } USER_OBJECT_ S_gtk_icon_factory_lookup_default(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSet* ans; ans = gtk_icon_factory_lookup_default(stock_id); _result = toRPointerWithFinalizer(ans ? gtk_icon_set_copy(ans) : NULL, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_size_lookup(USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gboolean ans; gint width; gint height; ans = gtk_icon_size_lookup(size, &width, &height); _result = asRLogical(ans); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_size_lookup_for_settings(USER_OBJECT_ s_settings, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gboolean ans; gint width; gint height; ans = gtk_icon_size_lookup_for_settings(settings, size, &width, &height); _result = asRLogical(ans); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_size_register(USER_OBJECT_ s_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkIconSize ans; ans = gtk_icon_size_register(name, width, height); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); return(_result); } USER_OBJECT_ S_gtk_icon_size_register_alias(USER_OBJECT_ s_alias, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* alias = ((const gchar*)asCString(s_alias)); GtkIconSize target = ((GtkIconSize)asCEnum(s_target, GTK_TYPE_ICON_SIZE)); gtk_icon_size_register_alias(alias, target); return(_result); } USER_OBJECT_ S_gtk_icon_size_from_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); GtkIconSize ans; ans = gtk_icon_size_from_name(name); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); return(_result); } USER_OBJECT_ S_gtk_icon_size_get_name(USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); const gchar* ans; ans = gtk_icon_size_get_name(size); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_icon_set_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_set_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_set_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* ans; ans = gtk_icon_set_new(); _result = toRPointerWithFinalizer(ans, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_set_new_from_pixbuf(USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); GtkIconSet* ans; ans = gtk_icon_set_new_from_pixbuf(pixbuf); _result = toRPointerWithFinalizer(ans, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_set_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); GtkIconSet* ans; ans = gtk_icon_set_ref(object); _result = toRPointerWithFinalizer(ans, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_set_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); gtk_icon_set_unref(object); return(_result); } USER_OBJECT_ S_gtk_icon_set_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); GtkIconSet* ans; ans = gtk_icon_set_copy(object); _result = toRPointerWithFinalizer(ans, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_icon_set_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_style, USER_OBJECT_ s_direction, USER_OBJECT_ s_state, USER_OBJECT_ s_size, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); GtkStyle* style = GTK_STYLE(getPtrValue(s_style)); GtkTextDirection direction = ((GtkTextDirection)asCEnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const char* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const char*)asCString(s_detail)); GdkPixbuf* ans; ans = gtk_icon_set_render_icon(object, style, direction, state, size, widget, detail); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_icon_set_add_source(USER_OBJECT_ s_object, USER_OBJECT_ s_source) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); const GtkIconSource* source = ((const GtkIconSource*)getPtrValue(s_source)); gtk_icon_set_add_source(object, source); return(_result); } USER_OBJECT_ S_gtk_icon_set_get_sizes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* object = ((GtkIconSet*)getPtrValue(s_object)); GtkIconSize* sizes = NULL; gint n_sizes; gtk_icon_set_get_sizes(object, &sizes, &n_sizes); _result = retByVal(_result, "sizes", asREnumArrayWithSize(sizes, GTK_TYPE_ICON_SIZE, n_sizes), "n.sizes", asRInteger(n_sizes), NULL); CLEANUP(g_free, sizes);; ; return(_result); } USER_OBJECT_ S_gtk_icon_source_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_source_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* ans; ans = gtk_icon_source_new(); _result = toRPointerWithFinalizer(ans, "GtkIconSource", (RPointerFinalizer) gtk_icon_source_free); return(_result); } USER_OBJECT_ S_gtk_icon_source_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkIconSource* ans; ans = gtk_icon_source_copy(object); _result = toRPointerWithFinalizer(ans, "GtkIconSource", (RPointerFinalizer) gtk_icon_source_free); return(_result); } USER_OBJECT_ S_gtk_icon_source_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gtk_icon_source_free(object); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_icon_source_set_filename(object, filename); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gtk_icon_source_set_icon_name(object, icon_name); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_icon_source_set_pixbuf(object, pixbuf); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); const gchar* ans; ans = gtk_icon_source_get_filename(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); const gchar* ans; ans = gtk_icon_source_get_icon_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_icon_source_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_direction_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_icon_source_set_direction_wildcarded(object, setting); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_state_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_icon_source_set_state_wildcarded(object, setting); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_size_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_icon_source_set_size_wildcarded(object, setting); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_size_wildcarded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean ans; ans = gtk_icon_source_get_size_wildcarded(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_state_wildcarded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean ans; ans = gtk_icon_source_get_state_wildcarded(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_direction_wildcarded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); gboolean ans; ans = gtk_icon_source_get_direction_wildcarded(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkTextDirection direction = ((GtkTextDirection)asCEnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); gtk_icon_source_set_direction(object, direction); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_state) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); gtk_icon_source_set_state(object, state); return(_result); } USER_OBJECT_ S_gtk_icon_source_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_icon_source_set_size(object, size); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_direction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkTextDirection ans; ans = gtk_icon_source_get_direction(object); _result = asREnum(ans, GTK_TYPE_TEXT_DIRECTION); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkStateType ans; ans = gtk_icon_source_get_state(object); _result = asREnum(ans, GTK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_gtk_icon_source_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSource* object = ((GtkIconSource*)getPtrValue(s_object)); GtkIconSize ans; ans = gtk_icon_source_get_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); return(_result); } USER_OBJECT_ S_gtk_icon_theme_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GQuark ans; ans = gtk_icon_theme_error_quark(); _result = asRGQuark(ans); return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_theme_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_theme_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* ans; ans = gtk_icon_theme_new(); _result = toRPointerWithFinalizer(ans, "GtkIconTheme", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* ans; ans = gtk_icon_theme_get_default(); _result = toRPointerWithRef(ans, "GtkIconTheme"); return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_for_screen(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); GtkIconTheme* ans; ans = gtk_icon_theme_get_for_screen(screen); _result = toRPointerWithRef(ans, "GtkIconTheme"); return(_result); } USER_OBJECT_ S_gtk_icon_theme_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_icon_theme_set_screen(object, screen); return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_search_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); gchar** path = NULL; gint n_elements; gtk_icon_theme_get_search_path(object, &path, &n_elements); _result = retByVal(_result, "path", asRStringArrayWithSize(path, n_elements), "n.elements", asRInteger(n_elements), NULL); CLEANUP(g_strfreev, path);; ; return(_result); } USER_OBJECT_ S_gtk_icon_theme_append_search_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); gtk_icon_theme_append_search_path(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_theme_prepend_search_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); gtk_icon_theme_prepend_search_path(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_theme_set_custom_theme(USER_OBJECT_ s_object, USER_OBJECT_ s_theme_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* theme_name = ((const gchar*)asCString(s_theme_name)); gtk_icon_theme_set_custom_theme(object, theme_name); return(_result); } USER_OBJECT_ S_gtk_icon_theme_has_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gboolean ans; ans = gtk_icon_theme_has_icon(object, icon_name); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_theme_lookup_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gint size = ((gint)asCInteger(s_size)); GtkIconLookupFlags flags = ((GtkIconLookupFlags)asCFlag(s_flags, GTK_TYPE_ICON_LOOKUP_FLAGS)); GtkIconInfo* ans; ans = gtk_icon_theme_lookup_icon(object, icon_name, size, flags); _result = toRPointerWithFinalizer(ans, "GtkIconInfo", (RPointerFinalizer) gtk_icon_info_free); return(_result); } USER_OBJECT_ S_gtk_icon_theme_load_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gint size = ((gint)asCInteger(s_size)); GtkIconLookupFlags flags = ((GtkIconLookupFlags)asCFlag(s_flags, GTK_TYPE_ICON_LOOKUP_FLAGS)); GdkPixbuf* ans; GError* error = NULL; ans = gtk_icon_theme_load_icon(object, icon_name, size, flags, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_icon_theme_list_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* context = GET_LENGTH(s_context) == 0 ? NULL : ((const gchar*)asCString(s_context)); GList* ans; ans = gtk_icon_theme_list_icons(object, context); _result = asRGListConv(ans, ((ElementConverter)asRString)); CLEANUP(GListFreeStrings, ans); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_example_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); char* ans; ans = gtk_icon_theme_get_example_icon_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_icon_theme_rescan_if_needed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); gboolean ans; ans = gtk_icon_theme_rescan_if_needed(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_theme_add_builtin_icon(USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gint size = ((gint)asCInteger(s_size)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_icon_theme_add_builtin_icon(icon_name, size, pixbuf); return(_result); } USER_OBJECT_ S_gtk_icon_info_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_info_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_info_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); GtkIconInfo* ans; ans = gtk_icon_info_copy(object); _result = toRPointerWithFinalizer(ans, "GtkIconInfo", (RPointerFinalizer) gtk_icon_info_free); return(_result); } USER_OBJECT_ S_gtk_icon_info_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); gtk_icon_info_free(object); return(_result); } USER_OBJECT_ S_gtk_icon_info_get_base_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); gint ans; ans = gtk_icon_info_get_base_size(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_info_get_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_icon_info_get_filename(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_icon_info_get_builtin_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_icon_info_get_builtin_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_icon_info_load_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); GdkPixbuf* ans; GError* error = NULL; ans = gtk_icon_info_load_icon(object, &error); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_icon_info_set_raw_coordinates(USER_OBJECT_ s_object, USER_OBJECT_ s_raw_coordinates) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); gboolean raw_coordinates = ((gboolean)asCLogical(s_raw_coordinates)); gtk_icon_info_set_raw_coordinates(object, raw_coordinates); return(_result); } USER_OBJECT_ S_gtk_icon_info_get_embedded_rect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); gboolean ans; GdkRectangle* rectangle = ((GdkRectangle *)g_new0(GdkRectangle, 1)); ans = gtk_icon_info_get_embedded_rect(object, rectangle); _result = asRLogical(ans); _result = retByVal(_result, "rectangle", asRGdkRectangle(rectangle), NULL); CLEANUP(g_free, rectangle);; return(_result); } USER_OBJECT_ S_gtk_icon_info_get_attach_points(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); gboolean ans; GdkPoint* points = NULL; gint n_points; ans = gtk_icon_info_get_attach_points(object, &points, &n_points); _result = asRLogical(ans); _result = retByVal(_result, "points", asRArrayRefWithSize(points, asRGdkPoint, n_points), "n.points", asRInteger(n_points), NULL); CLEANUP(g_free, points);; ; return(_result); } USER_OBJECT_ S_gtk_icon_info_get_display_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconInfo* object = ((GtkIconInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_icon_info_get_display_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_icon_theme_get_icon_sizes(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gint* ans; ans = gtk_icon_theme_get_icon_sizes(object, icon_name); _result = asRIntegerArray(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_icon_view_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_icon_view_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_icon_view_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_icon_view_new_with_model(USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "model", NULL }; USER_OBJECT_ args[] = { s_model }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_ICON_VIEW, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreeModel* model = GET_LENGTH(s_model) == 0 ? NULL : GTK_TREE_MODEL(getPtrValue(s_model)); gtk_icon_view_set_model(object, model); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_icon_view_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_icon_view_set_text_column(object, column); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_text_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_text_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_markup_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_icon_view_set_markup_column(object, column); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_markup_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_markup_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_pixbuf_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_icon_view_set_pixbuf_column(object, column); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_pixbuf_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_pixbuf_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_icon_view_set_orientation(object, orientation); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_icon_view_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_columns(USER_OBJECT_ s_object, USER_OBJECT_ s_columns) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint columns = ((gint)asCInteger(s_columns)); gtk_icon_view_set_columns(object, columns); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_columns(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_columns(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_item_width(USER_OBJECT_ s_object, USER_OBJECT_ s_item_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint item_width = ((gint)asCInteger(s_item_width)); gtk_icon_view_set_item_width(object, item_width); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_item_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_item_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint spacing = ((gint)asCInteger(s_spacing)); gtk_icon_view_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint row_spacing = ((gint)asCInteger(s_row_spacing)); gtk_icon_view_set_row_spacing(object, row_spacing); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_row_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_row_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_column_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint column_spacing = ((gint)asCInteger(s_column_spacing)); gtk_icon_view_set_column_spacing(object, column_spacing); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_column_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_column_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint margin = ((gint)asCInteger(s_margin)); gtk_icon_view_set_margin(object, margin); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_margin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_margin(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_path_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkTreePath* ans; ans = gtk_icon_view_get_path_at_pos(object, x, y); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_item_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gboolean ans; GtkTreePath* path = NULL; GtkCellRenderer* cell = NULL; ans = gtk_icon_view_get_item_at_pos(object, x, y, &path, &cell); _result = asRLogical(ans); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "cell", toRPointerWithSink(cell, "GtkCellRenderer"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_view_get_visible_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gboolean ans; GtkTreePath* start_path = NULL; GtkTreePath* end_path = NULL; ans = gtk_icon_view_get_visible_range(object, &start_path, &end_path); _result = asRLogical(ans); _result = retByVal(_result, "start.path", toRPointerWithFinalizer(start_path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "end.path", toRPointerWithFinalizer(end_path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_view_selected_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewForeachFunc func = ((GtkIconViewForeachFunc)S_GtkIconViewForeachFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gtk_icon_view_selected_foreach(object, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkSelectionMode mode = ((GtkSelectionMode)asCEnum(s_mode, GTK_TYPE_SELECTION_MODE)); gtk_icon_view_set_selection_mode(object, mode); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_selection_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkSelectionMode ans; ans = gtk_icon_view_get_selection_mode(object); _result = asREnum(ans, GTK_TYPE_SELECTION_MODE); return(_result); } USER_OBJECT_ S_gtk_icon_view_select_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_icon_view_select_path(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_view_unselect_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_icon_view_unselect_path(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_view_path_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_icon_view_path_is_selected(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_selected_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GList* ans; ans = gtk_icon_view_get_selected_items(object); _result = asRGListWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_icon_view_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gtk_icon_view_select_all(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gtk_icon_view_unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_item_activated(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_icon_view_item_activated(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_cell, USER_OBJECT_ s_start_editing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean start_editing = ((gboolean)asCLogical(s_start_editing)); gtk_icon_view_set_cursor(object, path, cell, start_editing); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_cursor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gboolean ans; GtkTreePath* path = NULL; GtkCellRenderer* cell = NULL; ans = gtk_icon_view_get_cursor(object, &path, &cell); _result = asRLogical(ans); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "cell", toRPointerWithSink(cell, "GtkCellRenderer"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_view_scroll_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_use_align, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean use_align = ((gboolean)asCLogical(s_use_align)); gfloat row_align = ((gfloat)asCNumeric(s_row_align)); gfloat col_align = ((gfloat)asCNumeric(s_col_align)); gtk_icon_view_scroll_to_path(object, path, use_align, row_align, col_align); return(_result); } USER_OBJECT_ S_gtk_icon_view_enable_model_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GdkModifierType start_button_mask = ((GdkModifierType)asCFlag(s_start_button_mask, GDK_TYPE_MODIFIER_TYPE)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_icon_view_enable_model_drag_source(object, start_button_mask, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_icon_view_enable_model_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_icon_view_enable_model_drag_dest(object, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_icon_view_unset_model_drag_source(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gtk_icon_view_unset_model_drag_source(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_unset_model_drag_dest(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gtk_icon_view_unset_model_drag_dest(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gboolean reorderable = ((gboolean)asCLogical(s_reorderable)); gtk_icon_view_set_reorderable(object, reorderable); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_reorderable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_icon_view_get_reorderable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_set_drag_dest_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkIconViewDropPosition pos = ((GtkIconViewDropPosition)asCEnum(s_pos, GTK_TYPE_ICON_VIEW_DROP_POSITION)); gtk_icon_view_set_drag_dest_item(object, path, pos); return(_result); } USER_OBJECT_ S_gtk_icon_view_get_drag_dest_item(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = NULL; GtkIconViewDropPosition pos; gtk_icon_view_get_drag_dest_item(object, &path, &pos); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "pos", asREnum(pos, GTK_TYPE_ICON_VIEW_DROP_POSITION), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_view_get_dest_item_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_x, USER_OBJECT_ s_drag_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint drag_x = ((gint)asCInteger(s_drag_x)); gint drag_y = ((gint)asCInteger(s_drag_y)); gboolean ans; GtkTreePath* path = NULL; GtkIconViewDropPosition pos; ans = gtk_icon_view_get_dest_item_at_pos(object, drag_x, drag_y, &path, &pos); _result = asRLogical(ans); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "pos", asREnum(pos, GTK_TYPE_ICON_VIEW_DROP_POSITION), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_icon_view_create_drag_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GdkPixmap* ans; ans = gtk_icon_view_create_drag_icon(object, path); _result = toRPointerWithRef(ans, "GdkPixmap"); return(_result); } USER_OBJECT_ S_gtk_image_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_image_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_image_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_image_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_pixmap(USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixmap* pixmap = GET_LENGTH(s_pixmap) == 0 ? NULL : GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); GtkWidget* ans; ans = gtk_image_new_from_pixmap(pixmap, mask); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_image(USER_OBJECT_ s_image, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkImage* image = GET_LENGTH(s_image) == 0 ? NULL : GDK_IMAGE(getPtrValue(s_image)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); GtkWidget* ans; ans = gtk_image_new_from_image(image, mask); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filename = ((const gchar*)asCString(s_filename)); GtkWidget* ans; ans = gtk_image_new_from_file(filename); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_pixbuf(USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* pixbuf = GET_LENGTH(s_pixbuf) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_pixbuf)); GtkWidget* ans; ans = gtk_image_new_from_pixbuf(pixbuf); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_stock(USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* ans; ans = gtk_image_new_from_stock(stock_id, size); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_icon_set(USER_OBJECT_ s_icon_set, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconSet* icon_set = ((GtkIconSet*)getPtrValue(s_icon_set)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* ans; ans = gtk_image_new_from_icon_set(icon_set, size); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_new_from_animation(USER_OBJECT_ s_animation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbufAnimation* animation = GDK_PIXBUF_ANIMATION(getPtrValue(s_animation)); GtkWidget* ans; ans = gtk_image_new_from_animation(animation); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); gtk_image_clear(object); return(_result); } USER_OBJECT_ S_gtk_image_set_from_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_image_set_from_pixmap(object, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_image_set_from_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gdk_image, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkImage* gdk_image = GET_LENGTH(s_gdk_image) == 0 ? NULL : GDK_IMAGE(getPtrValue(s_gdk_image)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_image_set_from_image(object, gdk_image, mask); return(_result); } USER_OBJECT_ S_gtk_image_set_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); const gchar* filename = GET_LENGTH(s_filename) == 0 ? NULL : ((const gchar*)asCString(s_filename)); gtk_image_set_from_file(object, filename); return(_result); } USER_OBJECT_ S_gtk_image_set_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixbuf* pixbuf = GET_LENGTH(s_pixbuf) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_image_set_from_pixbuf(object, pixbuf); return(_result); } USER_OBJECT_ S_gtk_image_set_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_image_set_from_stock(object, stock_id, size); return(_result); } USER_OBJECT_ S_gtk_image_set_from_icon_set(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_set, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GtkIconSet* icon_set = ((GtkIconSet*)getPtrValue(s_icon_set)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_image_set_from_icon_set(object, icon_set, size); return(_result); } USER_OBJECT_ S_gtk_image_set_from_animation(USER_OBJECT_ s_object, USER_OBJECT_ s_animation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixbufAnimation* animation = GDK_PIXBUF_ANIMATION(getPtrValue(s_animation)); gtk_image_set_from_animation(object, animation); return(_result); } USER_OBJECT_ S_gtk_image_get_storage_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GtkImageType ans; ans = gtk_image_get_storage_type(object); _result = asREnum(ans, GTK_TYPE_IMAGE_TYPE); return(_result); } USER_OBJECT_ S_gtk_image_get_pixmap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixmap* pixmap = NULL; GdkBitmap* mask = NULL; gtk_image_get_pixmap(object, &pixmap, &mask); _result = retByVal(_result, "pixmap", toRPointerWithRef(pixmap, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_image_get_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkImage* gdk_image = NULL; GdkBitmap* mask = NULL; gtk_image_get_image(object, &gdk_image, &mask); _result = retByVal(_result, "gdk.image", toRPointerWithRef(gdk_image, "GdkImage"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_image_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_image_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_image_get_stock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); gchar* stock_id = NULL; GtkIconSize size; gtk_image_get_stock(object, &stock_id, &size); _result = retByVal(_result, "stock.id", asRString(stock_id), "size", asREnum(size, GTK_TYPE_ICON_SIZE), NULL); ; return(_result); } USER_OBJECT_ S_gtk_image_get_icon_set(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GtkIconSet* icon_set = NULL; GtkIconSize size; gtk_image_get_icon_set(object, &icon_set, &size); _result = retByVal(_result, "icon.set", toRPointerWithFinalizer(icon_set, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref), "size", asREnum(size, GTK_TYPE_ICON_SIZE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_image_get_animation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkPixbufAnimation* ans; ans = gtk_image_get_animation(object); _result = toRPointerWithRef(ans, "GdkPixbufAnimation"); return(_result); } USER_OBJECT_ S_gtk_image_set(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkImage* val = GDK_IMAGE(getPtrValue(s_val)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); gtk_image_set(object, val, mask); return(_result); } USER_OBJECT_ S_gtk_image_get(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GdkImage* val = NULL; GdkBitmap* mask = NULL; gtk_image_get(object, &val, &mask); _result = retByVal(_result, "val", toRPointerWithRef(val, "GdkImage"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_image_new_from_icon_name(USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* ans; ans = gtk_image_new_from_icon_name(icon_name, size); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_set_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_image_set_from_icon_name(object, icon_name, size); return(_result); } USER_OBJECT_ S_gtk_image_set_pixel_size(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); gint pixel_size = ((gint)asCInteger(s_pixel_size)); gtk_image_set_pixel_size(object, pixel_size); return(_result); } USER_OBJECT_ S_gtk_image_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); const gchar* icon_name = NULL; GtkIconSize size; gtk_image_get_icon_name(object, &icon_name, &size); _result = retByVal(_result, "icon.name", asRString(icon_name), "size", asREnum(size, GTK_TYPE_ICON_SIZE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_image_get_pixel_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); gint ans; ans = gtk_image_get_pixel_size(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_image_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_image_menu_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_image_menu_item_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_image_menu_item_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_new_from_stock(USER_OBJECT_ s_stock_id, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); GtkWidget* ans; ans = gtk_image_menu_item_new_from_stock(stock_id, accel_group); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); GtkWidget* image = GET_LENGTH(s_image) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_image)); gtk_image_menu_item_set_image(object, image); return(_result); } USER_OBJECT_ S_gtk_image_menu_item_get_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_image_menu_item_get_image(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_im_context_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_im_context_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_im_context_set_client_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gtk_im_context_set_client_window(object, window); return(_result); } USER_OBJECT_ S_gtk_im_context_get_preedit_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gchar* str = NULL; PangoAttrList* attrs = NULL; gint cursor_pos; gtk_im_context_get_preedit_string(object, &str, &attrs, &cursor_pos); _result = retByVal(_result, "str", asRString(str), "attrs", toRPointerWithFinalizer(attrs, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref), "cursor.pos", asRInteger(cursor_pos), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_im_context_filter_keypress(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = gtk_im_context_filter_keypress(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_im_context_focus_in(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gtk_im_context_focus_in(object); return(_result); } USER_OBJECT_ S_gtk_im_context_focus_out(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gtk_im_context_focus_out(object); return(_result); } USER_OBJECT_ S_gtk_im_context_reset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gtk_im_context_reset(object); return(_result); } USER_OBJECT_ S_gtk_im_context_set_cursor_location(USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); gtk_im_context_set_cursor_location(object, area); return(_result); } USER_OBJECT_ S_gtk_im_context_set_use_preedit(USER_OBJECT_ s_object, USER_OBJECT_ s_use_preedit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gboolean use_preedit = ((gboolean)asCLogical(s_use_preedit)); gtk_im_context_set_use_preedit(object, use_preedit); return(_result); } USER_OBJECT_ S_gtk_im_context_set_surrounding(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_cursor_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gint cursor_index = ((gint)asCInteger(s_cursor_index)); gtk_im_context_set_surrounding(object, text, len, cursor_index); return(_result); } USER_OBJECT_ S_gtk_im_context_get_surrounding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gboolean ans; gchar* text = NULL; gint cursor_index; ans = gtk_im_context_get_surrounding(object, &text, &cursor_index); _result = asRLogical(ans); _result = retByVal(_result, "text", asRString(text), "cursor.index", asRInteger(cursor_index), NULL); ; return(_result); } USER_OBJECT_ S_gtk_im_context_delete_surrounding(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gint n_chars = ((gint)asCInteger(s_n_chars)); gboolean ans; ans = gtk_im_context_delete_surrounding(object, offset, n_chars); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_im_context_simple_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_im_context_simple_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_im_context_simple_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* ans; ans = gtk_im_context_simple_new(); _result = toRPointerWithSink(ans, "GtkIMContext"); return(_result); } USER_OBJECT_ S_gtk_im_multicontext_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_im_multicontext_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_im_multicontext_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContext* ans; ans = gtk_im_multicontext_new(); _result = toRPointerWithSink(ans, "GtkIMContext"); return(_result); } USER_OBJECT_ S_gtk_im_multicontext_append_menuitems(USER_OBJECT_ s_object, USER_OBJECT_ s_menushell) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMMulticontext* object = GTK_IM_MULTICONTEXT(getPtrValue(s_object)); GtkMenuShell* menushell = GTK_MENU_SHELL(getPtrValue(s_menushell)); gtk_im_multicontext_append_menuitems(object, menushell); return(_result); } USER_OBJECT_ S_gtk_input_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_input_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_input_dialog_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_input_dialog_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_invisible_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_invisible_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_invisible_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_invisible_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_invisible_new_for_screen(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); GtkWidget* ans; ans = gtk_invisible_new_for_screen(screen); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_invisible_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkInvisible* object = GTK_INVISIBLE(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_invisible_set_screen(object, screen); return(_result); } USER_OBJECT_ S_gtk_invisible_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkInvisible* object = GTK_INVISIBLE(getPtrValue(s_object)); GdkScreen* ans; ans = gtk_invisible_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gtk_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_item_select(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItem* object = GTK_ITEM(getPtrValue(s_object)); gtk_item_select(object); return(_result); } USER_OBJECT_ S_gtk_item_deselect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItem* object = GTK_ITEM(getPtrValue(s_object)); gtk_item_deselect(object); return(_result); } USER_OBJECT_ S_gtk_item_toggle(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItem* object = GTK_ITEM(getPtrValue(s_object)); gtk_item_toggle(object); return(_result); } USER_OBJECT_ S_gtk_item_factory_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_item_factory_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_item_factory_new(USER_OBJECT_ s_container_type, USER_OBJECT_ s_path, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType container_type = ((GType)asCGType(s_container_type)); const gchar* path = ((const gchar*)asCString(s_path)); GtkAccelGroup* accel_group = GET_LENGTH(s_accel_group) == 0 ? NULL : GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); GtkItemFactory* ans; ans = gtk_item_factory_new(container_type, path, accel_group); _result = toRPointerWithSink(ans, "GtkItemFactory"); return(_result); } USER_OBJECT_ S_gtk_item_factory_construct(USER_OBJECT_ s_object, USER_OBJECT_ s_container_type, USER_OBJECT_ s_path, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); GType container_type = ((GType)asCGType(s_container_type)); const gchar* path = ((const gchar*)asCString(s_path)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_item_factory_construct(object, container_type, path, accel_group); return(_result); } USER_OBJECT_ S_gtk_item_factory_add_foreign(USER_OBJECT_ s_accel_widget, USER_OBJECT_ s_full_path, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* accel_widget = GTK_WIDGET(getPtrValue(s_accel_widget)); const gchar* full_path = ((const gchar*)asCString(s_full_path)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); gtk_item_factory_add_foreign(accel_widget, full_path, accel_group, keyval, modifiers); return(_result); } USER_OBJECT_ S_gtk_item_factory_from_widget(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GtkItemFactory* ans; ans = gtk_item_factory_from_widget(widget); _result = toRPointerWithSink(ans, "GtkItemFactory"); return(_result); } USER_OBJECT_ S_gtk_item_factory_path_from_widget(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* ans; ans = gtk_item_factory_path_from_widget(widget); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_item_factory_get_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkWidget* ans; ans = gtk_item_factory_get_item(object, path); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_item_factory_get_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkWidget* ans; ans = gtk_item_factory_get_widget(object, path); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_item_factory_get_widget_by_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); guint action = ((guint)asCNumeric(s_action)); GtkWidget* ans; ans = gtk_item_factory_get_widget_by_action(object, action); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_item_factory_get_item_by_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); guint action = ((guint)asCNumeric(s_action)); GtkWidget* ans; ans = gtk_item_factory_get_item_by_action(object, action); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_item_factory_delete_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); gtk_item_factory_delete_item(object, path); return(_result); } USER_OBJECT_ S_gtk_item_factory_delete_entry(USER_OBJECT_ s_object, USER_OBJECT_ s_entry) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); GtkItemFactoryEntry* entry = asCGtkItemFactoryEntry(s_entry); gtk_item_factory_delete_entry(object, entry); return(_result); } USER_OBJECT_ S_gtk_item_factory_delete_entries(USER_OBJECT_ s_object, USER_OBJECT_ s_entries) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); guint n_entries = ((guint)GET_LENGTH(s_entries)); GtkItemFactoryEntry* entries = ((GtkItemFactoryEntry*)asCArrayRef(s_entries, GtkItemFactoryEntry, asCGtkItemFactoryEntry)); gtk_item_factory_delete_entries(object, n_entries, entries); return(_result); } USER_OBJECT_ S_gtk_item_factory_popup(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_mouse_button, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); guint x = ((guint)asCNumeric(s_x)); guint y = ((guint)asCNumeric(s_y)); guint mouse_button = ((guint)asCNumeric(s_mouse_button)); guint32 time = ((guint32)asCNumeric(s_time)); gtk_item_factory_popup(object, x, y, mouse_button, time); return(_result); } USER_OBJECT_ S_gtk_item_factory_popup_with_data(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_data, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_mouse_button, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); gpointer popup_data = ((gpointer)asCGenericData(s_popup_data)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_ReleaseObject); guint x = ((guint)asCNumeric(s_x)); guint y = ((guint)asCNumeric(s_y)); guint mouse_button = ((guint)asCNumeric(s_mouse_button)); guint32 time = ((guint32)asCNumeric(s_time)); gtk_item_factory_popup_with_data(object, popup_data, destroy, x, y, mouse_button, time); return(_result); } USER_OBJECT_ S_gtk_item_factory_popup_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); gpointer ans; ans = gtk_item_factory_popup_data(object); _result = ans; return(_result); } USER_OBJECT_ S_gtk_item_factory_popup_data_from_widget(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gpointer ans; ans = gtk_item_factory_popup_data_from_widget(widget); _result = ans; return(_result); } USER_OBJECT_ S_gtk_item_factory_set_translate_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTranslateFunc func = ((GtkTranslateFunc)S_GtkTranslateFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)); GtkDestroyNotify notify = ((GtkDestroyNotify)R_freeCBData); gtk_item_factory_set_translate_func(object, func, data, notify); return(_result); } USER_OBJECT_ S_gtk_item_factory_from_path(USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* path = ((const gchar*)asCString(s_path)); GtkItemFactory* ans; ans = gtk_item_factory_from_path(path); _result = toRPointerWithSink(ans, "GtkItemFactory"); return(_result); } USER_OBJECT_ S_gtk_item_factories_path_delete(USER_OBJECT_ s_ifactory_path, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ifactory_path = ((const gchar*)asCString(s_ifactory_path)); const gchar* path = ((const gchar*)asCString(s_path)); gtk_item_factories_path_delete(ifactory_path, path); return(_result); } USER_OBJECT_ S_gtk_label_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_label_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_label_new(USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "label", NULL }; USER_OBJECT_ args[] = { s_str }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_LABEL, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_label_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const char* str = ((const char*)asCString(s_str)); gtk_label_set_text(object, str); return(_result); } USER_OBJECT_ S_gtk_label_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* ans; ans = gtk_label_get_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoAttrList* attrs = ((PangoAttrList*)getPtrValue(s_attrs)); gtk_label_set_attributes(object, attrs); return(_result); } USER_OBJECT_ S_gtk_label_get_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoAttrList* ans; ans = gtk_label_get_attributes(object); _result = toRPointerWithFinalizer(ans ? pango_attr_list_ref(ans) : NULL, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref); return(_result); } USER_OBJECT_ S_gtk_label_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gtk_label_set_label(object, str); return(_result); } USER_OBJECT_ S_gtk_label_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* ans; ans = gtk_label_get_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gtk_label_set_markup(object, str); return(_result); } USER_OBJECT_ S_gtk_label_set_use_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_label_set_use_markup(object, setting); return(_result); } USER_OBJECT_ S_gtk_label_get_use_markup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_use_markup(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_label_set_use_underline(object, setting); return(_result); } USER_OBJECT_ S_gtk_label_get_use_underline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_use_underline(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_markup_with_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gtk_label_set_markup_with_mnemonic(object, str); return(_result); } USER_OBJECT_ S_gtk_label_get_mnemonic_keyval(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); guint ans; ans = gtk_label_get_mnemonic_keyval(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_mnemonic_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_label_set_mnemonic_widget(object, widget); return(_result); } USER_OBJECT_ S_gtk_label_get_mnemonic_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_label_get_mnemonic_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_label_set_text_with_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gtk_label_set_text_with_mnemonic(object, str); return(_result); } USER_OBJECT_ S_gtk_label_set_justify(USER_OBJECT_ s_object, USER_OBJECT_ s_jtype) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkJustification jtype = ((GtkJustification)asCEnum(s_jtype, GTK_TYPE_JUSTIFICATION)); gtk_label_set_justify(object, jtype); return(_result); } USER_OBJECT_ S_gtk_label_get_justify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkJustification ans; ans = gtk_label_get_justify(object); _result = asREnum(ans, GTK_TYPE_JUSTIFICATION); return(_result); } USER_OBJECT_ S_gtk_label_set_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_label_set_pattern(object, pattern); return(_result); } USER_OBJECT_ S_gtk_label_set_line_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean wrap = ((gboolean)asCLogical(s_wrap)); gtk_label_set_line_wrap(object, wrap); return(_result); } USER_OBJECT_ S_gtk_label_get_line_wrap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_line_wrap(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_label_set_selectable(object, setting); return(_result); } USER_OBJECT_ S_gtk_label_get_selectable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_selectable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_label_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gtk_label_select_region(object, start_offset, end_offset); return(_result); } USER_OBJECT_ S_gtk_label_get_selection_bounds(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; gint start; gint end; ans = gtk_label_get_selection_bounds(object, &start, &end); _result = asRLogical(ans); _result = retByVal(_result, "start", asRInteger(start), "end", asRInteger(end), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_label_get_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoLayout* ans; ans = gtk_label_get_layout(object); _result = toRPointerWithRef(ans, "PangoLayout"); return(_result); } USER_OBJECT_ S_gtk_label_get_layout_offsets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint x; gint y; gtk_label_get_layout_offsets(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_label_set(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const char* str = ((const char*)asCString(s_str)); gtk_label_set(object, str); return(_result); } USER_OBJECT_ S_gtk_label_get(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); char* str = NULL; gtk_label_get(object, &str); _result = retByVal(_result, "str", asRString(str), NULL); return(_result); } USER_OBJECT_ S_gtk_label_parse_uline(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); guint ans; ans = gtk_label_parse_uline(object, string); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoEllipsizeMode mode = ((PangoEllipsizeMode)asCEnum(s_mode, PANGO_TYPE_ELLIPSIZE_MODE)); gtk_label_set_ellipsize(object, mode); return(_result); } USER_OBJECT_ S_gtk_label_get_ellipsize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = gtk_label_get_ellipsize(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); return(_result); } USER_OBJECT_ S_gtk_label_set_angle(USER_OBJECT_ s_object, USER_OBJECT_ s_angle) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint angle = ((gint)asCInteger(s_angle)); gtk_label_set_angle(object, angle); return(_result); } USER_OBJECT_ S_gtk_label_get_angle(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint ans; ans = gtk_label_get_angle(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint n_chars = ((gint)asCInteger(s_n_chars)); gtk_label_set_width_chars(object, n_chars); return(_result); } USER_OBJECT_ S_gtk_label_get_width_chars(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint ans; ans = gtk_label_get_width_chars(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_max_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint n_chars = ((gint)asCInteger(s_n_chars)); gtk_label_set_max_width_chars(object, n_chars); return(_result); } USER_OBJECT_ S_gtk_label_get_max_width_chars(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gint ans; ans = gtk_label_get_max_width_chars(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_label_set_single_line_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_single_line_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean single_line_mode = ((gboolean)asCLogical(s_single_line_mode)); gtk_label_set_single_line_mode(object, single_line_mode); return(_result); } USER_OBJECT_ S_gtk_label_get_single_line_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_single_line_mode(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_layout_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_layout_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_layout_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "hadjustment", "vadjustment", NULL }; USER_OBJECT_ args[] = { s_hadjustment, s_vadjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_LAYOUT, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_layout_put(USER_OBJECT_ s_object, USER_OBJECT_ s_child_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkWidget* child_widget = GTK_WIDGET(getPtrValue(s_child_widget)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_layout_put(object, child_widget, x, y); return(_result); } USER_OBJECT_ S_gtk_layout_move(USER_OBJECT_ s_object, USER_OBJECT_ s_child_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkWidget* child_widget = GTK_WIDGET(getPtrValue(s_child_widget)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_layout_move(object, child_widget, x, y); return(_result); } USER_OBJECT_ S_gtk_layout_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); guint width = ((guint)asCNumeric(s_width)); guint height = ((guint)asCNumeric(s_height)); gtk_layout_set_size(object, width, height); return(_result); } USER_OBJECT_ S_gtk_layout_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); guint width; guint height; gtk_layout_get_size(object, &width, &height); _result = retByVal(_result, "width", asRNumeric(width), "height", asRNumeric(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_layout_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_layout_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_layout_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_layout_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_layout_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_layout_set_hadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_layout_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_layout_set_vadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_layout_freeze(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); gtk_layout_freeze(object); return(_result); } USER_OBJECT_ S_gtk_layout_thaw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); gtk_layout_thaw(object); return(_result); } USER_OBJECT_ S_gtk_list_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_list_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_list_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_list_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_list_insert_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GList* items = asCGList(s_items); gint position = ((gint)asCInteger(s_position)); gtk_list_insert_items(object, items, position); CLEANUP(g_list_free, ((GList*)items));; return(_result); } USER_OBJECT_ S_gtk_list_append_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GList* items = asCGList(s_items); gtk_list_append_items(object, items); CLEANUP(g_list_free, ((GList*)items));; return(_result); } USER_OBJECT_ S_gtk_list_prepend_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GList* items = asCGList(s_items); gtk_list_prepend_items(object, items); CLEANUP(g_list_free, ((GList*)items));; return(_result); } USER_OBJECT_ S_gtk_list_remove_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GList* items = asCGList(s_items); gtk_list_remove_items(object, items); CLEANUP(g_list_free, ((GList*)items));; return(_result); } USER_OBJECT_ S_gtk_list_remove_items_no_unref(USER_OBJECT_ s_object, USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GList* items = asCGList(s_items); gtk_list_remove_items_no_unref(object, items); CLEANUP(g_list_free, ((GList*)items));; return(_result); } USER_OBJECT_ S_gtk_list_clear_items(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gint start = ((gint)asCInteger(s_start)); gint end = ((gint)asCInteger(s_end)); gtk_list_clear_items(object, start, end); return(_result); } USER_OBJECT_ S_gtk_list_select_item(USER_OBJECT_ s_object, USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gint item = ((gint)asCInteger(s_item)); gtk_list_select_item(object, item); return(_result); } USER_OBJECT_ S_gtk_list_unselect_item(USER_OBJECT_ s_object, USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gint item = ((gint)asCInteger(s_item)); gtk_list_unselect_item(object, item); return(_result); } USER_OBJECT_ S_gtk_list_select_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_list_select_child(object, child); return(_result); } USER_OBJECT_ S_gtk_list_unselect_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_list_unselect_child(object, child); return(_result); } USER_OBJECT_ S_gtk_list_child_position(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint ans; ans = gtk_list_child_position(object, child); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_list_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkSelectionMode mode = ((GtkSelectionMode)asCEnum(s_mode, GTK_TYPE_SELECTION_MODE)); gtk_list_set_selection_mode(object, mode); return(_result); } USER_OBJECT_ S_gtk_list_extend_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position, USER_OBJECT_ s_auto_start_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); gboolean auto_start_selection = ((gboolean)asCLogical(s_auto_start_selection)); gtk_list_extend_selection(object, scroll_type, position, auto_start_selection); return(_result); } USER_OBJECT_ S_gtk_list_start_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_start_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_end_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_end_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_select_all(object); return(_result); } USER_OBJECT_ S_gtk_list_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_list_scroll_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); gtk_list_scroll_horizontal(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_list_scroll_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); gtk_list_scroll_vertical(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_list_toggle_add_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_toggle_add_mode(object); return(_result); } USER_OBJECT_ S_gtk_list_toggle_focus_row(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_toggle_focus_row(object); return(_result); } USER_OBJECT_ S_gtk_list_toggle_row(USER_OBJECT_ s_object, USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* item = GTK_WIDGET(getPtrValue(s_item)); gtk_list_toggle_row(object, item); return(_result); } USER_OBJECT_ S_gtk_list_undo_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_undo_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_end_drag_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkList* object = GTK_LIST(getPtrValue(s_object)); gtk_list_end_drag_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_list_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_list_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_list_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_list_item_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_list_item_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_list_item_select(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); gtk_list_item_select(object); return(_result); } USER_OBJECT_ S_gtk_list_item_deselect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); gtk_list_item_deselect(object); return(_result); } USER_OBJECT_ S_gtk_list_store_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_list_store_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_list_store_newv(USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint n_columns = ((gint)GET_LENGTH(s_value)); GType* value = ((GType*)asCArray(s_value, GType, asCGType)); GtkListStore* ans; ans = gtk_list_store_newv(n_columns, value); _result = toRPointerWithFinalizer(ans, "GtkListStore", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_list_store_set_column_types(USER_OBJECT_ s_object, USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); gint n_columns = ((gint)GET_LENGTH(s_types)); GType* types = ((GType*)asCArray(s_types, GType, asCGType)); gtk_list_store_set_column_types(object, n_columns, types); return(_result); } USER_OBJECT_ S_gtk_list_store_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_list_store_remove(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_list_store_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); GtkTreeIter iter; gtk_list_store_insert(object, &iter, position); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_list_store_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* sibling = ((GtkTreeIter*)getPtrValue(s_sibling)); GtkTreeIter iter; gtk_list_store_insert_before(object, &iter, sibling); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_list_store_insert_after(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* sibling = ((GtkTreeIter*)getPtrValue(s_sibling)); GtkTreeIter iter; gtk_list_store_insert_after(object, &iter, sibling); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_list_store_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_list_store_prepend(object, iter); return(_result); } USER_OBJECT_ S_gtk_list_store_append(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter iter; gtk_list_store_append(object, &iter); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_list_store_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); gtk_list_store_clear(object); return(_result); } USER_OBJECT_ S_gtk_list_store_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_list_store_iter_is_valid(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_list_store_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); gtk_list_store_reorder(object, new_order); return(_result); } USER_OBJECT_ S_gtk_list_store_swap(USER_OBJECT_ s_object, USER_OBJECT_ s_a, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* a = ((GtkTreeIter*)getPtrValue(s_a)); GtkTreeIter* b = ((GtkTreeIter*)getPtrValue(s_b)); gtk_list_store_swap(object, a, b); return(_result); } USER_OBJECT_ S_gtk_list_store_move_after(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreeIter* position = GET_LENGTH(s_position) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_position)); gtk_list_store_move_after(object, iter, position); return(_result); } USER_OBJECT_ S_gtk_list_store_move_before(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreeIter* position = GET_LENGTH(s_position) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_position)); gtk_list_store_move_before(object, iter, position); return(_result); } USER_OBJECT_ S_gtk_check_version(USER_OBJECT_ s_required_major, USER_OBJECT_ s_required_minor, USER_OBJECT_ s_required_micro) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint required_major = ((guint)asCNumeric(s_required_major)); guint required_minor = ((guint)asCNumeric(s_required_minor)); guint required_micro = ((guint)asCNumeric(s_required_micro)); const gchar* ans; ans = gtk_check_version(required_major, required_minor, required_micro); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_exit(USER_OBJECT_ s_error_code) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint error_code = ((gint)asCInteger(s_error_code)); gtk_exit(error_code); return(_result); } USER_OBJECT_ S_gtk_disable_setlocale(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_disable_setlocale(); return(_result); } USER_OBJECT_ S_gtk_get_default_language(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLanguage* ans; ans = gtk_get_default_language(); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_gtk_events_pending(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gtk_events_pending(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_main_do_event(USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gtk_main_do_event(event); return(_result); } USER_OBJECT_ S_gtk_main(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_main(); return(_result); } USER_OBJECT_ S_gtk_main_level(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint ans; ans = gtk_main_level(); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_main_quit(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_main_quit(); return(_result); } USER_OBJECT_ S_gtk_main_iteration(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gtk_main_iteration(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_main_iteration_do(USER_OBJECT_ s_blocking) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean blocking = ((gboolean)asCLogical(s_blocking)); gboolean ans; ans = gtk_main_iteration_do(blocking); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_true(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gtk_true(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_false(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gtk_false(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_grab_add(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_grab_add(object); return(_result); } USER_OBJECT_ S_gtk_grab_get_current(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_grab_get_current(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_grab_remove(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_grab_remove(object); return(_result); } USER_OBJECT_ S_gtk_init_add(USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); gtk_init_add(function, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_quit_add_destroy(USER_OBJECT_ s_main_level, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint main_level = ((guint)asCNumeric(s_main_level)); GtkObject* object = GTK_OBJECT(getPtrValue(s_object)); gtk_quit_add_destroy(main_level, object); return(_result); } USER_OBJECT_ S_gtk_quit_add(USER_OBJECT_ s_main_level, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); guint main_level = ((guint)asCNumeric(s_main_level)); guint ans; ans = gtk_quit_add(main_level, function, data); _result = asRNumeric(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_quit_add_full(USER_OBJECT_ s_main_level, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); guint main_level = ((guint)asCNumeric(s_main_level)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); guint ans; ans = gtk_quit_add_full(main_level, function, NULL, data, destroy); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_quit_remove(USER_OBJECT_ s_quit_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint quit_handler_id = ((guint)asCNumeric(s_quit_handler_id)); gtk_quit_remove(quit_handler_id); return(_result); } USER_OBJECT_ S_gtk_quit_remove_by_data(USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; gpointer data = ((gpointer)asCGenericData(s_data)); gtk_quit_remove_by_data(data); return(_result); } USER_OBJECT_ S_gtk_timeout_add(USER_OBJECT_ s_interval, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); guint32 interval = ((guint32)asCNumeric(s_interval)); guint ans; ans = gtk_timeout_add(interval, function, data); _result = asRNumeric(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_timeout_add_full(USER_OBJECT_ s_interval, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); guint32 interval = ((guint32)asCNumeric(s_interval)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); guint ans; ans = gtk_timeout_add_full(interval, function, NULL, data, destroy); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_timeout_remove(USER_OBJECT_ s_timeout_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint timeout_handler_id = ((guint)asCNumeric(s_timeout_handler_id)); gtk_timeout_remove(timeout_handler_id); return(_result); } USER_OBJECT_ S_gtk_idle_add(USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); guint ans; ans = gtk_idle_add(function, data); _result = asRNumeric(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_idle_add_priority(USER_OBJECT_ s_priority, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); gint priority = ((gint)asCInteger(s_priority)); guint ans; ans = gtk_idle_add_priority(priority, function, data); _result = asRNumeric(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_idle_add_full(USER_OBJECT_ s_priority, USER_OBJECT_ s_function, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFunction function = ((GtkFunction)S_GtkFunction); R_CallbackData* data = R_createCBData(s_function, s_data); gint priority = ((gint)asCInteger(s_priority)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); guint ans; ans = gtk_idle_add_full(priority, function, NULL, data, destroy); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_idle_remove(USER_OBJECT_ s_idle_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint idle_handler_id = ((guint)asCNumeric(s_idle_handler_id)); gtk_idle_remove(idle_handler_id); return(_result); } USER_OBJECT_ S_gtk_idle_remove_by_data(USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; gpointer data = ((gpointer)asCGenericData(s_data)); gtk_idle_remove_by_data(data); return(_result); } USER_OBJECT_ S_gtk_input_remove(USER_OBJECT_ s_input_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint input_handler_id = ((guint)asCNumeric(s_input_handler_id)); gtk_input_remove(input_handler_id); return(_result); } USER_OBJECT_ S_gtk_key_snooper_install(USER_OBJECT_ s_snooper, USER_OBJECT_ s_func_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkKeySnoopFunc snooper = ((GtkKeySnoopFunc)S_GtkKeySnoopFunc); R_CallbackData* func_data = R_createCBData(s_snooper, s_func_data); guint ans; ans = gtk_key_snooper_install(snooper, func_data); _result = asRNumeric(ans); R_freeCBData(func_data); return(_result); } USER_OBJECT_ S_gtk_key_snooper_remove(USER_OBJECT_ s_snooper_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint snooper_handler_id = ((guint)asCNumeric(s_snooper_handler_id)); gtk_key_snooper_remove(snooper_handler_id); return(_result); } USER_OBJECT_ S_gtk_get_current_event(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* ans; ans = gtk_get_current_event(); _result = toRGdkEvent(((GdkEvent *)ans), TRUE); return(_result); } USER_OBJECT_ S_gtk_get_current_event_time(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint32 ans; ans = gtk_get_current_event_time(); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_get_current_event_state(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; GdkModifierType state; ans = gtk_get_current_event_state(&state); _result = asRLogical(ans); _result = retByVal(_result, "state", asRFlag(state, GDK_TYPE_MODIFIER_TYPE), NULL); ; return(_result); } USER_OBJECT_ S_gtk_get_event_widget(USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GtkWidget* ans; ans = gtk_get_event_widget(event); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_propagate_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gtk_propagate_event(object, event); return(_result); } USER_OBJECT_ S_gtk_menu_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_menu_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_menu_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_menu_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_popup(USER_OBJECT_ s_object, USER_OBJECT_ s_parent_menu_shell, USER_OBJECT_ s_parent_menu_item, USER_OBJECT_ s_func, USER_OBJECT_ s_data, USER_OBJECT_ s_button, USER_OBJECT_ s_activate_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuPositionFunc func = GET_LENGTH(s_func) == 0 ? NULL : ((GtkMenuPositionFunc)S_GtkMenuPositionFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* parent_menu_shell = GET_LENGTH(s_parent_menu_shell) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_parent_menu_shell)); GtkWidget* parent_menu_item = GET_LENGTH(s_parent_menu_item) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_parent_menu_item)); guint button = ((guint)asCNumeric(s_button)); guint32 activate_time = ((guint32)asCNumeric(s_activate_time)); gtk_menu_popup(object, parent_menu_shell, parent_menu_item, func, data, button, activate_time); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_menu_reposition(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gtk_menu_reposition(object); return(_result); } USER_OBJECT_ S_gtk_menu_popdown(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gtk_menu_popdown(object); return(_result); } USER_OBJECT_ S_gtk_menu_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_menu_get_active(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); guint index = ((guint)asCNumeric(s_index)); gtk_menu_set_active(object, index); return(_result); } USER_OBJECT_ S_gtk_menu_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_menu_set_accel_group(object, accel_group); return(_result); } USER_OBJECT_ S_gtk_menu_get_accel_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkAccelGroup* ans; ans = gtk_menu_get_accel_group(object); _result = toRPointerWithRef(ans, "GtkAccelGroup"); return(_result); } USER_OBJECT_ S_gtk_menu_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gtk_menu_set_accel_path(object, accel_path); return(_result); } USER_OBJECT_ S_gtk_menu_detach(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gtk_menu_detach(object); return(_result); } USER_OBJECT_ S_gtk_menu_get_attach_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_menu_get_attach_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_set_tearoff_state(USER_OBJECT_ s_object, USER_OBJECT_ s_torn_off) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gboolean torn_off = ((gboolean)asCLogical(s_torn_off)); gtk_menu_set_tearoff_state(object, torn_off); return(_result); } USER_OBJECT_ S_gtk_menu_get_tearoff_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gboolean ans; ans = gtk_menu_get_tearoff_state(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_menu_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_menu_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_menu_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); const gchar* ans; ans = gtk_menu_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_menu_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint position = ((gint)asCInteger(s_position)); gtk_menu_reorder_child(object, child, position); return(_result); } USER_OBJECT_ S_gtk_menu_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GdkScreen* screen = GET_LENGTH(s_screen) == 0 ? NULL : GDK_SCREEN(getPtrValue(s_screen)); gtk_menu_set_screen(object, screen); return(_result); } USER_OBJECT_ S_gtk_menu_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); guint left_attach = ((guint)asCNumeric(s_left_attach)); guint right_attach = ((guint)asCNumeric(s_right_attach)); guint top_attach = ((guint)asCNumeric(s_top_attach)); guint bottom_attach = ((guint)asCNumeric(s_bottom_attach)); gtk_menu_attach(object, child, left_attach, right_attach, top_attach, bottom_attach); return(_result); } USER_OBJECT_ S_gtk_menu_set_monitor(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gint monitor_num = ((gint)asCInteger(s_monitor_num)); gtk_menu_set_monitor(object, monitor_num); return(_result); } USER_OBJECT_ S_gtk_menu_bar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_menu_bar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_menu_bar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_menu_bar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_bar_get_pack_direction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuBar* object = GTK_MENU_BAR(getPtrValue(s_object)); GtkPackDirection ans; ans = gtk_menu_bar_get_pack_direction(object); _result = asREnum(ans, GTK_TYPE_PACK_DIRECTION); return(_result); } USER_OBJECT_ S_gtk_menu_bar_set_pack_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_pack_dir) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuBar* object = GTK_MENU_BAR(getPtrValue(s_object)); GtkPackDirection pack_dir = ((GtkPackDirection)asCEnum(s_pack_dir, GTK_TYPE_PACK_DIRECTION)); gtk_menu_bar_set_pack_direction(object, pack_dir); return(_result); } USER_OBJECT_ S_gtk_menu_bar_get_child_pack_direction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuBar* object = GTK_MENU_BAR(getPtrValue(s_object)); GtkPackDirection ans; ans = gtk_menu_bar_get_child_pack_direction(object); _result = asREnum(ans, GTK_TYPE_PACK_DIRECTION); return(_result); } USER_OBJECT_ S_gtk_menu_bar_set_child_pack_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_child_pack_dir) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuBar* object = GTK_MENU_BAR(getPtrValue(s_object)); GtkPackDirection child_pack_dir = ((GtkPackDirection)asCEnum(s_child_pack_dir, GTK_TYPE_PACK_DIRECTION)); gtk_menu_bar_set_child_pack_direction(object, child_pack_dir); return(_result); } USER_OBJECT_ S_gtk_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_menu_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_menu_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_item_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_menu_item_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_item_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_menu_item_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_item_set_submenu(USER_OBJECT_ s_object, USER_OBJECT_ s_submenu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); GtkWidget* submenu = GTK_WIDGET(getPtrValue(s_submenu)); gtk_menu_item_set_submenu(object, submenu); return(_result); } USER_OBJECT_ S_gtk_menu_item_get_submenu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_menu_item_get_submenu(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_item_remove_submenu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gtk_menu_item_remove_submenu(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_select(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gtk_menu_item_select(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_deselect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gtk_menu_item_deselect(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gtk_menu_item_activate(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_toggle_size_request(USER_OBJECT_ s_object, USER_OBJECT_ s_requisition) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gint* requisition = ((gint*)asCArray(s_requisition, gint, asCInteger)); gtk_menu_item_toggle_size_request(object, requisition); return(_result); } USER_OBJECT_ S_gtk_menu_item_toggle_size_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gint allocation = ((gint)asCInteger(s_allocation)); gtk_menu_item_toggle_size_allocate(object, allocation); return(_result); } USER_OBJECT_ S_gtk_menu_item_set_right_justified(USER_OBJECT_ s_object, USER_OBJECT_ s_right_justified) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gboolean right_justified = ((gboolean)asCLogical(s_right_justified)); gtk_menu_item_set_right_justified(object, right_justified); return(_result); } USER_OBJECT_ S_gtk_menu_item_get_right_justified(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_menu_item_get_right_justified(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_menu_item_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); gtk_menu_item_set_accel_path(object, accel_path); return(_result); } USER_OBJECT_ S_gtk_menu_item_right_justify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gtk_menu_item_right_justify(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_menu_shell_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_menu_shell_append(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_menu_shell_append(object, child); return(_result); } USER_OBJECT_ S_gtk_menu_shell_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_menu_shell_prepend(object, child); return(_result); } USER_OBJECT_ S_gtk_menu_shell_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint position = ((gint)asCInteger(s_position)); gtk_menu_shell_insert(object, child, position); return(_result); } USER_OBJECT_ S_gtk_menu_shell_deactivate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gtk_menu_shell_deactivate(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_select_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* menu_item = GTK_WIDGET(getPtrValue(s_menu_item)); gtk_menu_shell_select_item(object, menu_item); return(_result); } USER_OBJECT_ S_gtk_menu_shell_deselect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gtk_menu_shell_deselect(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_activate_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item, USER_OBJECT_ s_force_deactivate) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* menu_item = GTK_WIDGET(getPtrValue(s_menu_item)); gboolean force_deactivate = ((gboolean)asCLogical(s_force_deactivate)); gtk_menu_shell_activate_item(object, menu_item, force_deactivate); return(_result); } USER_OBJECT_ S_gtk_menu_shell_select_first(USER_OBJECT_ s_object, USER_OBJECT_ s_search_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gboolean search_sensitive = ((gboolean)asCLogical(s_search_sensitive)); gtk_menu_shell_select_first(object, search_sensitive); return(_result); } USER_OBJECT_ S_gtk_menu_shell_cancel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gtk_menu_shell_cancel(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_get_take_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gboolean ans; ans = gtk_menu_shell_get_take_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_menu_shell_set_take_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_take_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gboolean take_focus = ((gboolean)asCLogical(s_take_focus)); gtk_menu_shell_set_take_focus(object, take_focus); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_menu_tool_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_new(USER_OBJECT_ s_icon_widget, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* icon_widget = GTK_WIDGET(getPtrValue(s_icon_widget)); const gchar* label = ((const gchar*)asCString(s_label)); GtkToolItem* ans; ans = gtk_menu_tool_button_new(icon_widget, label); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_new_from_stock(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkToolItem* ans; ans = gtk_menu_tool_button_new_from_stock(stock_id); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_set_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_menu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* menu = GTK_WIDGET(getPtrValue(s_menu)); gtk_menu_tool_button_set_menu(object, menu); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_get_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_menu_tool_button_get_menu(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltips, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); GtkTooltips* tooltips = GTK_TOOLTIPS(getPtrValue(s_tooltips)); const gchar* tip_text = GET_LENGTH(s_tip_text) == 0 ? NULL : ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = GET_LENGTH(s_tip_private) == 0 ? NULL : ((const gchar*)asCString(s_tip_private)); gtk_menu_tool_button_set_arrow_tooltip(object, tooltips, tip_text, tip_private); return(_result); } USER_OBJECT_ S_gtk_message_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_message_dialog_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_message_dialog_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMessageDialog* object = GTK_MESSAGE_DIALOG(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gtk_message_dialog_set_markup(object, str); return(_result); } USER_OBJECT_ S_gtk_misc_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_misc_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_misc_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMisc* object = GTK_MISC(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gtk_misc_set_alignment(object, xalign, yalign); return(_result); } USER_OBJECT_ S_gtk_misc_get_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMisc* object = GTK_MISC(getPtrValue(s_object)); gfloat xalign; gfloat yalign; gtk_misc_get_alignment(object, &xalign, &yalign); _result = retByVal(_result, "xalign", asRNumeric(xalign), "yalign", asRNumeric(yalign), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_misc_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMisc* object = GTK_MISC(getPtrValue(s_object)); gint xpad = ((gint)asCInteger(s_xpad)); gint ypad = ((gint)asCInteger(s_ypad)); gtk_misc_set_padding(object, xpad, ypad); return(_result); } USER_OBJECT_ S_gtk_misc_get_padding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMisc* object = GTK_MISC(getPtrValue(s_object)); gint xpad; gint ypad; gtk_misc_get_padding(object, &xpad, &ypad); _result = retByVal(_result, "xpad", asRInteger(xpad), "ypad", asRInteger(ypad), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_notebook_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_notebook_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_notebook_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_notebook_append_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); gint ans; ans = gtk_notebook_append_page(object, child, tab_label); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_append_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); GtkWidget* menu_label = GET_LENGTH(s_menu_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_menu_label)); gint ans; ans = gtk_notebook_append_page_menu(object, child, tab_label, menu_label); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_prepend_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); gint ans; ans = gtk_notebook_prepend_page(object, child, tab_label); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_prepend_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); GtkWidget* menu_label = GET_LENGTH(s_menu_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_menu_label)); gint ans; ans = gtk_notebook_prepend_page_menu(object, child, tab_label, menu_label); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_insert_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); gint position = ((gint)asCInteger(s_position)); gint ans; ans = gtk_notebook_insert_page(object, child, tab_label, position); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_insert_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); GtkWidget* menu_label = GET_LENGTH(s_menu_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_menu_label)); gint position = ((gint)asCInteger(s_position)); gint ans; ans = gtk_notebook_insert_page_menu(object, child, tab_label, menu_label, position); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_remove_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); gtk_notebook_remove_page(object, page_num); return(_result); } USER_OBJECT_ S_gtk_notebook_get_current_page(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint ans; ans = gtk_notebook_get_current_page(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_get_nth_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); GtkWidget* ans; ans = gtk_notebook_get_nth_page(object, page_num); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_notebook_get_n_pages(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint ans; ans = gtk_notebook_get_n_pages(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_page_num(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint ans; ans = gtk_notebook_page_num(object, child); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); gtk_notebook_set_current_page(object, page_num); return(_result); } USER_OBJECT_ S_gtk_notebook_next_page(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gtk_notebook_next_page(object); return(_result); } USER_OBJECT_ S_gtk_notebook_prev_page(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gtk_notebook_prev_page(object); return(_result); } USER_OBJECT_ S_gtk_notebook_set_show_border(USER_OBJECT_ s_object, USER_OBJECT_ s_show_border) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean show_border = ((gboolean)asCLogical(s_show_border)); gtk_notebook_set_show_border(object, show_border); return(_result); } USER_OBJECT_ S_gtk_notebook_get_show_border(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean ans; ans = gtk_notebook_get_show_border(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_set_show_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_show_tabs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean show_tabs = ((gboolean)asCLogical(s_show_tabs)); gtk_notebook_set_show_tabs(object, show_tabs); return(_result); } USER_OBJECT_ S_gtk_notebook_get_show_tabs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean ans; ans = gtk_notebook_get_show_tabs(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkPositionType pos = ((GtkPositionType)asCEnum(s_pos, GTK_TYPE_POSITION_TYPE)); gtk_notebook_set_tab_pos(object, pos); return(_result); } USER_OBJECT_ S_gtk_notebook_get_tab_pos(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkPositionType ans; ans = gtk_notebook_get_tab_pos(object); _result = asREnum(ans, GTK_TYPE_POSITION_TYPE); return(_result); } USER_OBJECT_ S_gtk_notebook_set_homogeneous_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean homogeneous = ((gboolean)asCLogical(s_homogeneous)); gtk_notebook_set_homogeneous_tabs(object, homogeneous); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_border(USER_OBJECT_ s_object, USER_OBJECT_ s_border_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); guint border_width = ((guint)asCNumeric(s_border_width)); gtk_notebook_set_tab_border(object, border_width); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_hborder(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_hborder) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); guint tab_hborder = ((guint)asCNumeric(s_tab_hborder)); gtk_notebook_set_tab_hborder(object, tab_hborder); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_vborder(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_vborder) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); guint tab_vborder = ((guint)asCNumeric(s_tab_vborder)); gtk_notebook_set_tab_vborder(object, tab_vborder); return(_result); } USER_OBJECT_ S_gtk_notebook_set_scrollable(USER_OBJECT_ s_object, USER_OBJECT_ s_scrollable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean scrollable = ((gboolean)asCLogical(s_scrollable)); gtk_notebook_set_scrollable(object, scrollable); return(_result); } USER_OBJECT_ S_gtk_notebook_get_scrollable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean ans; ans = gtk_notebook_get_scrollable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_popup_enable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gtk_notebook_popup_enable(object); return(_result); } USER_OBJECT_ S_gtk_notebook_popup_disable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gtk_notebook_popup_disable(object); return(_result); } USER_OBJECT_ S_gtk_notebook_get_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* ans; ans = gtk_notebook_get_tab_label(object, child); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GET_LENGTH(s_tab_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_tab_label)); gtk_notebook_set_tab_label(object, child, tab_label); return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* tab_text = ((const gchar*)asCString(s_tab_text)); gtk_notebook_set_tab_label_text(object, child, tab_text); return(_result); } USER_OBJECT_ S_gtk_notebook_get_tab_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* ans; ans = gtk_notebook_get_tab_label_text(object, child); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_get_menu_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* ans; ans = gtk_notebook_get_menu_label(object, child); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_notebook_set_menu_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_menu_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* menu_label = GET_LENGTH(s_menu_label) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_menu_label)); gtk_notebook_set_menu_label(object, child, menu_label); return(_result); } USER_OBJECT_ S_gtk_notebook_set_menu_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_menu_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* menu_text = ((const gchar*)asCString(s_menu_text)); gtk_notebook_set_menu_label_text(object, child, menu_text); return(_result); } USER_OBJECT_ S_gtk_notebook_get_menu_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* ans; ans = gtk_notebook_get_menu_label_text(object, child); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_query_tab_label_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand; gboolean fill; GtkPackType pack_type; gtk_notebook_query_tab_label_packing(object, child, &expand, &fill, &pack_type); _result = retByVal(_result, "expand", asRLogical(expand), "fill", asRLogical(fill), "pack.type", asREnum(pack_type, GTK_TYPE_PACK_TYPE), NULL); ; ; ; return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_label_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_pack_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean expand = ((gboolean)asCLogical(s_expand)); gboolean fill = ((gboolean)asCLogical(s_fill)); GtkPackType pack_type = ((GtkPackType)asCEnum(s_pack_type, GTK_TYPE_PACK_TYPE)); gtk_notebook_set_tab_label_packing(object, child, expand, fill, pack_type); return(_result); } USER_OBJECT_ S_gtk_notebook_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint position = ((gint)asCInteger(s_position)); gtk_notebook_reorder_child(object, child, position); return(_result); } USER_OBJECT_ S_gtk_notebook_current_page(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint ans; ans = gtk_notebook_current_page(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_set_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); gtk_notebook_set_page(object, page_num); return(_result); } USER_OBJECT_ S_gtk_object_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_object_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_object_destroy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkObject* object = GTK_OBJECT(getPtrValue(s_object)); gtk_object_destroy(object); return(_result); } USER_OBJECT_ S_gtk_old_editable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_old_editable_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_old_editable_claim_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_claim, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gboolean claim = ((gboolean)asCLogical(s_claim)); guint32 time = ((guint32)asCNumeric(s_time)); gtk_old_editable_claim_selection(object, claim, time); return(_result); } USER_OBJECT_ S_gtk_old_editable_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gtk_old_editable_changed(object); return(_result); } USER_OBJECT_ S_gtk_option_menu_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_option_menu_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_option_menu_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_option_menu_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_option_menu_get_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_option_menu_get_menu(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_option_menu_set_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_menu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); GtkWidget* menu = GTK_WIDGET(getPtrValue(s_menu)); gtk_option_menu_set_menu(object, menu); return(_result); } USER_OBJECT_ S_gtk_option_menu_remove_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); gtk_option_menu_remove_menu(object); return(_result); } USER_OBJECT_ S_gtk_option_menu_get_history(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); gint ans; ans = gtk_option_menu_get_history(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_option_menu_set_history(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); guint index = ((guint)asCNumeric(s_index)); gtk_option_menu_set_history(object, index); return(_result); } USER_OBJECT_ S_gtk_paned_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_paned_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_paned_add1(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_paned_add1(object, child); return(_result); } USER_OBJECT_ S_gtk_paned_add2(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_paned_add2(object, child); return(_result); } USER_OBJECT_ S_gtk_paned_pack1(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_resize, USER_OBJECT_ s_shrink) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean resize = ((gboolean)asCLogical(s_resize)); gboolean shrink = ((gboolean)asCLogical(s_shrink)); gtk_paned_pack1(object, child, resize, shrink); return(_result); } USER_OBJECT_ S_gtk_paned_pack2(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_resize, USER_OBJECT_ s_shrink) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean resize = ((gboolean)asCLogical(s_resize)); gboolean shrink = ((gboolean)asCLogical(s_shrink)); gtk_paned_pack2(object, child, resize, shrink); return(_result); } USER_OBJECT_ S_gtk_paned_get_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gint ans; ans = gtk_paned_get_position(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_paned_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_paned_set_position(object, position); return(_result); } USER_OBJECT_ S_gtk_paned_get_child1(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_paned_get_child1(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_paned_get_child2(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_paned_get_child2(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_pixmap_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_pixmap_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_pixmap_new(USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); GtkWidget* ans; ans = gtk_pixmap_new(pixmap, mask); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_pixmap_set(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPixmap* object = GTK_PIXMAP(getPtrValue(s_object)); GdkPixmap* val = GDK_PIXMAP(getPtrValue(s_val)); GdkBitmap* mask = GET_LENGTH(s_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_mask)); gtk_pixmap_set(object, val, mask); return(_result); } USER_OBJECT_ S_gtk_pixmap_get(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPixmap* object = GTK_PIXMAP(getPtrValue(s_object)); GdkPixmap* val = NULL; GdkBitmap* mask = NULL; gtk_pixmap_get(object, &val, &mask); _result = retByVal(_result, "val", toRPointerWithRef(val, "GdkPixmap"), "mask", toRPointerWithRef(mask, "GdkBitmap"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_pixmap_set_build_insensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_build) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPixmap* object = GTK_PIXMAP(getPtrValue(s_object)); gboolean build = ((gboolean)asCLogical(s_build)); gtk_pixmap_set_build_insensitive(object, build); return(_result); } USER_OBJECT_ S_gtk_plug_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_plug_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_plug_construct(USER_OBJECT_ s_object, USER_OBJECT_ s_socket_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); GdkNativeWindow socket_id = asCGdkNativeWindow(s_socket_id); gtk_plug_construct(object, socket_id); return(_result); } USER_OBJECT_ S_gtk_plug_new(USER_OBJECT_ s_socket_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkNativeWindow socket_id = asCGdkNativeWindow(s_socket_id); GtkWidget* ans; ans = gtk_plug_new(socket_id); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_plug_construct_for_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display, USER_OBJECT_ s_socket_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkNativeWindow socket_id = asCGdkNativeWindow(s_socket_id); gtk_plug_construct_for_display(object, display, socket_id); return(_result); } USER_OBJECT_ S_gtk_plug_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_socket_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GdkNativeWindow socket_id = asCGdkNativeWindow(s_socket_id); GtkWidget* ans; ans = gtk_plug_new_for_display(display, socket_id); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_plug_get_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); GdkNativeWindow ans; ans = gtk_plug_get_id(object); _result = asRGdkNativeWindow(ans); return(_result); } USER_OBJECT_ S_gtk_preview_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_preview_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_preview_uninit(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_preview_uninit(); return(_result); } USER_OBJECT_ S_gtk_preview_new(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreviewType type = ((GtkPreviewType)asCEnum(s_type, GTK_TYPE_PREVIEW_TYPE)); GtkWidget* ans; ans = gtk_preview_new(type); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_preview_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreview* object = GTK_PREVIEW(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_preview_size(object, width, height); return(_result); } USER_OBJECT_ S_gtk_preview_put(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_gc, USER_OBJECT_ s_srcx, USER_OBJECT_ s_srcy, USER_OBJECT_ s_destx, USER_OBJECT_ s_desty, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreview* object = GTK_PREVIEW(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint srcx = ((gint)asCInteger(s_srcx)); gint srcy = ((gint)asCInteger(s_srcy)); gint destx = ((gint)asCInteger(s_destx)); gint desty = ((gint)asCInteger(s_desty)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_preview_put(object, window, gc, srcx, srcy, destx, desty, width, height); return(_result); } USER_OBJECT_ S_gtk_preview_draw_row(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_y, USER_OBJECT_ s_w) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreview* object = GTK_PREVIEW(getPtrValue(s_object)); guchar* data = ((guchar*)asCArray(s_data, guchar, asCRaw)); gint x = ((gint)GET_LENGTH(s_data)); gint y = ((gint)asCInteger(s_y)); gint w = ((gint)asCInteger(s_w)); gtk_preview_draw_row(object, data, x, y, w); return(_result); } USER_OBJECT_ S_gtk_preview_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreview* object = GTK_PREVIEW(getPtrValue(s_object)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_preview_set_expand(object, expand); return(_result); } USER_OBJECT_ S_gtk_preview_set_gamma(USER_OBJECT_ s_gamma) { USER_OBJECT_ _result = NULL_USER_OBJECT; double gamma = ((double)asCNumeric(s_gamma)); gtk_preview_set_gamma(gamma); return(_result); } USER_OBJECT_ S_gtk_preview_set_color_cube(USER_OBJECT_ s_nred_shades, USER_OBJECT_ s_ngreen_shades, USER_OBJECT_ s_nblue_shades, USER_OBJECT_ s_ngray_shades) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint nred_shades = ((guint)asCNumeric(s_nred_shades)); guint ngreen_shades = ((guint)asCNumeric(s_ngreen_shades)); guint nblue_shades = ((guint)asCNumeric(s_nblue_shades)); guint ngray_shades = ((guint)asCNumeric(s_ngray_shades)); gtk_preview_set_color_cube(nred_shades, ngreen_shades, nblue_shades, ngray_shades); return(_result); } USER_OBJECT_ S_gtk_preview_set_install_cmap(USER_OBJECT_ s_install_cmap) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint install_cmap = ((gint)asCInteger(s_install_cmap)); gtk_preview_set_install_cmap(install_cmap); return(_result); } USER_OBJECT_ S_gtk_preview_set_reserved(USER_OBJECT_ s_nreserved) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint nreserved = ((gint)asCInteger(s_nreserved)); gtk_preview_set_reserved(nreserved); return(_result); } USER_OBJECT_ S_gtk_preview_set_dither(USER_OBJECT_ s_object, USER_OBJECT_ s_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreview* object = GTK_PREVIEW(getPtrValue(s_object)); GdkRgbDither dither = ((GdkRgbDither)asCEnum(s_dither, GDK_TYPE_RGB_DITHER)); gtk_preview_set_dither(object, dither); return(_result); } USER_OBJECT_ S_gtk_preview_get_visual(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* ans; ans = gtk_preview_get_visual(); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gtk_preview_get_cmap(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* ans; ans = gtk_preview_get_cmap(); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gtk_preview_get_info(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPreviewInfo* ans; ans = gtk_preview_get_info(); _result = toRPointer(ans, "GtkPreviewInfo"); return(_result); } USER_OBJECT_ S_gtk_preview_reset(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_preview_reset(); return(_result); } USER_OBJECT_ S_gtk_progress_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_progress_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_progress_set_show_text(USER_OBJECT_ s_object, USER_OBJECT_ s_show_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gboolean show_text = ((gboolean)asCLogical(s_show_text)); gtk_progress_set_show_text(object, show_text); return(_result); } USER_OBJECT_ S_gtk_progress_set_text_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_x_align, USER_OBJECT_ s_y_align) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gfloat x_align = ((gfloat)asCNumeric(s_x_align)); gfloat y_align = ((gfloat)asCNumeric(s_y_align)); gtk_progress_set_text_alignment(object, x_align, y_align); return(_result); } USER_OBJECT_ S_gtk_progress_set_format_string(USER_OBJECT_ s_object, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); const gchar* format = ((const gchar*)asCString(s_format)); gtk_progress_set_format_string(object, format); return(_result); } USER_OBJECT_ S_gtk_progress_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_progress_set_adjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_progress_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_min, USER_OBJECT_ s_max) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gtk_progress_configure(object, value, min, max); return(_result); } USER_OBJECT_ S_gtk_progress_set_percentage(USER_OBJECT_ s_object, USER_OBJECT_ s_percentage) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble percentage = ((gdouble)asCNumeric(s_percentage)); gtk_progress_set_percentage(object, percentage); return(_result); } USER_OBJECT_ S_gtk_progress_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_progress_set_value(object, value); return(_result); } USER_OBJECT_ S_gtk_progress_get_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble ans; ans = gtk_progress_get_value(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_progress_set_activity_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_activity_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gboolean activity_mode = ((gboolean)asCLogical(s_activity_mode)); gtk_progress_set_activity_mode(object, activity_mode); return(_result); } USER_OBJECT_ S_gtk_progress_get_current_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gchar* ans; ans = gtk_progress_get_current_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_progress_get_text_from_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gchar* ans; ans = gtk_progress_get_text_from_value(object, value); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_progress_get_current_percentage(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble ans; ans = gtk_progress_get_current_percentage(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_progress_get_percentage_from_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gdouble ans; ans = gtk_progress_get_percentage_from_value(object, value); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_progress_bar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_progress_bar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_progress_bar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_progress_bar_pulse(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gtk_progress_bar_pulse(object); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_progress_bar_set_text(object, text); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_fraction(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gdouble fraction = ((gdouble)asCNumeric(s_fraction)); gtk_progress_bar_set_fraction(object, fraction); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_pulse_step(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gdouble fraction = ((gdouble)asCNumeric(s_fraction)); gtk_progress_bar_set_pulse_step(object, fraction); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); GtkProgressBarOrientation orientation = ((GtkProgressBarOrientation)asCEnum(s_orientation, GTK_TYPE_PROGRESS_BAR_ORIENTATION)); gtk_progress_bar_set_orientation(object, orientation); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); const gchar* ans; ans = gtk_progress_bar_get_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_fraction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gdouble ans; ans = gtk_progress_bar_get_fraction(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_pulse_step(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gdouble ans; ans = gtk_progress_bar_get_pulse_step(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); GtkProgressBarOrientation ans; ans = gtk_progress_bar_get_orientation(object); _result = asREnum(ans, GTK_TYPE_PROGRESS_BAR_ORIENTATION); return(_result); } USER_OBJECT_ S_gtk_progress_bar_new_with_adjustment(USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); GtkWidget* ans; ans = gtk_progress_bar_new_with_adjustment(adjustment); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_bar_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); GtkProgressBarStyle style = ((GtkProgressBarStyle)asCEnum(s_style, GTK_TYPE_PROGRESS_BAR_STYLE)); gtk_progress_bar_set_bar_style(object, style); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_discrete_blocks(USER_OBJECT_ s_object, USER_OBJECT_ s_blocks) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); guint blocks = ((guint)asCNumeric(s_blocks)); gtk_progress_bar_set_discrete_blocks(object, blocks); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_activity_step(USER_OBJECT_ s_object, USER_OBJECT_ s_step) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); guint step = ((guint)asCNumeric(s_step)); gtk_progress_bar_set_activity_step(object, step); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_activity_blocks(USER_OBJECT_ s_object, USER_OBJECT_ s_blocks) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); guint blocks = ((guint)asCNumeric(s_blocks)); gtk_progress_bar_set_activity_blocks(object, blocks); return(_result); } USER_OBJECT_ S_gtk_progress_bar_update(USER_OBJECT_ s_object, USER_OBJECT_ s_percentage) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); gfloat percentage = ((gfloat)asCNumeric(s_percentage)); gtk_progress_bar_update(object, percentage); return(_result); } USER_OBJECT_ S_gtk_progress_bar_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); PangoEllipsizeMode mode = ((PangoEllipsizeMode)asCEnum(s_mode, PANGO_TYPE_ELLIPSIZE_MODE)); gtk_progress_bar_set_ellipsize(object, mode); return(_result); } USER_OBJECT_ S_gtk_progress_bar_get_ellipsize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressBar* object = GTK_PROGRESS_BAR(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = gtk_progress_bar_get_ellipsize(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); return(_result); } USER_OBJECT_ S_gtk_radio_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_radio_action_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_radio_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "name", "label", "tooltip", "stock_id", "value", NULL }; USER_OBJECT_ args[] = { s_name, s_label, s_tooltip, s_stock_id, s_value }; GtkRadioAction* ans; ans = propertyConstructor(GTK_TYPE_RADIO_ACTION, prop_names, args, 5); _result = toRPointerWithFinalizer(ans, "GtkRadioAction", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_radio_action_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioAction* object = GTK_RADIO_ACTION(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_action_get_group(object); _result = asRGSListWithRef(ans, "GtkRadioAction"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_radio_action_get_current_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioAction* object = GTK_RADIO_ACTION(getPtrValue(s_object)); gint ans; ans = gtk_radio_action_get_current_value(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_radio_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_radio_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_radio_button_new(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); GtkWidget* ans; ans = gtk_radio_button_new(group); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_button_new_from_widget(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButton* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_BUTTON(getPtrValue(s_group)); GtkWidget* ans; ans = gtk_radio_button_new_from_widget(group); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_button_new_with_label(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_button_new_with_label(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_button_new_with_label_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButton* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_BUTTON(getPtrValue(s_group)); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_button_new_with_label_from_widget(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_button_new_with_mnemonic(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_button_new_with_mnemonic(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_button_new_with_mnemonic_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButton* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_BUTTON(getPtrValue(s_group)); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_button_new_with_mnemonic_from_widget(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_button_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButton* object = GTK_RADIO_BUTTON(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_button_get_group(object); _result = asRGSListWithSink(ans, "GtkRadioButton"); return(_result); } USER_OBJECT_ S_gtk_radio_button_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButton* object = GTK_RADIO_BUTTON(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_button_group(object); _result = asRGSListWithSink(ans, "GtkRadioButton"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_radio_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); GtkWidget* ans; ans = gtk_radio_menu_item_new(group); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new_with_label(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_menu_item_new_with_label(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new_with_mnemonic(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_menu_item_new_with_mnemonic(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new_from_widget(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItem* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_MENU_ITEM(getPtrValue(s_group)); GtkWidget* ans; ans = gtk_radio_menu_item_new_from_widget(group); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new_with_mnemonic_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItem* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_MENU_ITEM(getPtrValue(s_group)); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_menu_item_new_with_mnemonic_from_widget(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_new_with_label_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItem* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_MENU_ITEM(getPtrValue(s_group)); const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_radio_menu_item_new_with_label_from_widget(group, label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItem* object = GTK_RADIO_MENU_ITEM(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_menu_item_get_group(object); _result = asRGSListWithSink(ans, "GtkRadioMenuItem"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItem* object = GTK_RADIO_MENU_ITEM(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_menu_item_group(object); _result = asRGSListWithSink(ans, "GtkRadioMenuItem"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_radio_tool_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_new(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); GtkToolItem* ans; ans = gtk_radio_tool_button_new(group); _result = toRPointerWithSink(ans, "GtkToolItem"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_new_from_stock(USER_OBJECT_ s_group, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* group = asCGSList(s_group); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkToolItem* ans; ans = gtk_radio_tool_button_new_from_stock(group, stock_id); _result = toRPointerWithSink(ans, "GtkToolItem"); CLEANUP(g_slist_free, ((GSList*)group));; return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_new_from_widget(USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioToolButton* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_TOOL_BUTTON(getPtrValue(s_group)); GtkToolItem* ans; ans = gtk_radio_tool_button_new_from_widget(group); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_new_with_stock_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioToolButton* group = GET_LENGTH(s_group) == 0 ? NULL : GTK_RADIO_TOOL_BUTTON(getPtrValue(s_group)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkToolItem* ans; ans = gtk_radio_tool_button_new_with_stock_from_widget(group, stock_id); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioToolButton* object = GTK_RADIO_TOOL_BUTTON(getPtrValue(s_object)); GSList* ans; ans = gtk_radio_tool_button_get_group(object); _result = asRGSListWithSink(ans, "GtkRadioToolButton"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_range_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_range_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_range_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkUpdateType policy = ((GtkUpdateType)asCEnum(s_policy, GTK_TYPE_UPDATE_TYPE)); gtk_range_set_update_policy(object, policy); return(_result); } USER_OBJECT_ S_gtk_range_get_update_policy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkUpdateType ans; ans = gtk_range_get_update_policy(object); _result = asREnum(ans, GTK_TYPE_UPDATE_TYPE); return(_result); } USER_OBJECT_ S_gtk_range_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_range_set_adjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_range_get_adjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_range_get_adjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_range_set_inverted(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_range_set_inverted(object, setting); return(_result); } USER_OBJECT_ S_gtk_range_get_inverted(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean ans; ans = gtk_range_get_inverted(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_range_set_increments(USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble step = ((gdouble)asCNumeric(s_step)); gdouble page = ((gdouble)asCNumeric(s_page)); gtk_range_set_increments(object, step, page); return(_result); } USER_OBJECT_ S_gtk_range_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min, USER_OBJECT_ s_max) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gtk_range_set_range(object, min, max); return(_result); } USER_OBJECT_ S_gtk_range_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_range_set_value(object, value); return(_result); } USER_OBJECT_ S_gtk_range_get_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble ans; ans = gtk_range_get_value(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_rc_add_default_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_rc_add_default_file(filename); return(_result); } USER_OBJECT_ S_gtk_rc_set_default_files(USER_OBJECT_ s_filenames) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar** filenames = ((gchar**)asCStringArray(s_filenames)); gtk_rc_set_default_files(filenames); return(_result); } USER_OBJECT_ S_gtk_rc_get_default_files(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar** ans; ans = gtk_rc_get_default_files(); _result = asRStringArray(ans); return(_result); } USER_OBJECT_ S_gtk_rc_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStyle* ans; ans = gtk_rc_get_style(object); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_rc_get_style_by_paths(USER_OBJECT_ s_settings, USER_OBJECT_ s_widget_path, USER_OBJECT_ s_class_path, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); const char* widget_path = ((const char*)asCString(s_widget_path)); const char* class_path = ((const char*)asCString(s_class_path)); GType type = ((GType)asCGType(s_type)); GtkStyle* ans; ans = gtk_rc_get_style_by_paths(settings, widget_path, class_path, type); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_rc_reparse_all_for_settings(USER_OBJECT_ s_settings, USER_OBJECT_ s_force_load) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); gboolean force_load = ((gboolean)asCLogical(s_force_load)); gboolean ans; ans = gtk_rc_reparse_all_for_settings(settings, force_load); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_rc_reset_styles(USER_OBJECT_ s_settings) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); gtk_rc_reset_styles(settings); return(_result); } USER_OBJECT_ S_gtk_rc_find_pixmap_in_path(USER_OBJECT_ s_settings, USER_OBJECT_ s_scanner, USER_OBJECT_ s_pixmap_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); GScanner* scanner = GET_LENGTH(s_scanner) == 0 ? NULL : ((GScanner*)getPtrValue(s_scanner)); const gchar* pixmap_file = ((const gchar*)asCString(s_pixmap_file)); gchar* ans; ans = gtk_rc_find_pixmap_in_path(settings, scanner, pixmap_file); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_parse(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_rc_parse(filename); return(_result); } USER_OBJECT_ S_gtk_rc_parse_string(USER_OBJECT_ s_rc_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* rc_string = ((const gchar*)asCString(s_rc_string)); gtk_rc_parse_string(rc_string); return(_result); } USER_OBJECT_ S_gtk_rc_reparse_all(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean ans; ans = gtk_rc_reparse_all(); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_rc_add_widget_name_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_rc_add_widget_name_style(object, pattern); return(_result); } USER_OBJECT_ S_gtk_rc_add_widget_class_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_rc_add_widget_class_style(object, pattern); return(_result); } USER_OBJECT_ S_gtk_rc_add_class_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_rc_add_class_style(object, pattern); return(_result); } USER_OBJECT_ S_gtk_rc_style_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_rc_style_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_rc_style_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* ans; ans = gtk_rc_style_new(); _result = toRPointerWithFinalizer(ans, "GtkRcStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_rc_style_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); GtkRcStyle* ans; ans = gtk_rc_style_copy(object); _result = toRPointerWithFinalizer(ans, "GtkRcStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_rc_style_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); gtk_rc_style_ref(object); return(_result); } USER_OBJECT_ S_gtk_rc_style_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); gtk_rc_style_unref(object); return(_result); } USER_OBJECT_ S_gtk_rc_find_module_in_path(USER_OBJECT_ s_module_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* module_file = ((const gchar*)asCString(s_module_file)); gchar* ans; ans = gtk_rc_find_module_in_path(module_file); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_get_theme_dir(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* ans; ans = gtk_rc_get_theme_dir(); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_get_module_dir(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* ans; ans = gtk_rc_get_module_dir(); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_get_im_module_path(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* ans; ans = gtk_rc_get_im_module_path(); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_get_im_module_file(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* ans; ans = gtk_rc_get_im_module_file(); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_rc_scanner_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GScanner* ans; ans = gtk_rc_scanner_new(); _result = toRPointer(ans, "GScanner"); return(_result); } USER_OBJECT_ S_gtk_rc_parse_color(USER_OBJECT_ s_scanner, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); GdkColor* color = asCGdkColor(s_color); guint ans; ans = gtk_rc_parse_color(scanner, color); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_rc_parse_state(USER_OBJECT_ s_scanner) { USER_OBJECT_ _result = NULL_USER_OBJECT; GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); guint ans; GtkStateType state; ans = gtk_rc_parse_state(scanner, &state); _result = asRNumeric(ans); _result = retByVal(_result, "state", asREnum(state, GTK_TYPE_STATE_TYPE), NULL); ; return(_result); } USER_OBJECT_ S_gtk_rc_parse_priority(USER_OBJECT_ s_scanner) { USER_OBJECT_ _result = NULL_USER_OBJECT; GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); guint ans; GtkPathPriorityType priority; ans = gtk_rc_parse_priority(scanner, &priority); _result = asRNumeric(ans); _result = retByVal(_result, "priority", asREnum(priority, GTK_TYPE_PATH_PRIORITY_TYPE), NULL); ; return(_result); } USER_OBJECT_ S_gtk_ruler_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_ruler_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_ruler_set_metric(USER_OBJECT_ s_object, USER_OBJECT_ s_metric) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRuler* object = GTK_RULER(getPtrValue(s_object)); GtkMetricType metric = ((GtkMetricType)asCEnum(s_metric, GTK_TYPE_METRIC_TYPE)); gtk_ruler_set_metric(object, metric); return(_result); } USER_OBJECT_ S_gtk_ruler_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_position, USER_OBJECT_ s_max_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRuler* object = GTK_RULER(getPtrValue(s_object)); gdouble lower = ((gdouble)asCNumeric(s_lower)); gdouble upper = ((gdouble)asCNumeric(s_upper)); gdouble position = ((gdouble)asCNumeric(s_position)); gdouble max_size = ((gdouble)asCNumeric(s_max_size)); gtk_ruler_set_range(object, lower, upper, position, max_size); return(_result); } USER_OBJECT_ S_gtk_ruler_get_metric(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRuler* object = GTK_RULER(getPtrValue(s_object)); GtkMetricType ans; ans = gtk_ruler_get_metric(object); _result = asREnum(ans, GTK_TYPE_METRIC_TYPE); return(_result); } USER_OBJECT_ S_gtk_ruler_get_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRuler* object = GTK_RULER(getPtrValue(s_object)); gdouble lower; gdouble upper; gdouble position; gdouble max_size; gtk_ruler_get_range(object, &lower, &upper, &position, &max_size); _result = retByVal(_result, "lower", asRNumeric(lower), "upper", asRNumeric(upper), "position", asRNumeric(position), "max.size", asRNumeric(max_size), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_scale_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_scale_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_scale_set_digits(USER_OBJECT_ s_object, USER_OBJECT_ s_digits) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gint digits = ((gint)asCInteger(s_digits)); gtk_scale_set_digits(object, digits); return(_result); } USER_OBJECT_ S_gtk_scale_get_digits(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gint ans; ans = gtk_scale_get_digits(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_scale_set_draw_value(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gboolean draw_value = ((gboolean)asCLogical(s_draw_value)); gtk_scale_set_draw_value(object, draw_value); return(_result); } USER_OBJECT_ S_gtk_scale_get_draw_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gboolean ans; ans = gtk_scale_get_draw_value(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_scale_set_value_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); GtkPositionType pos = ((GtkPositionType)asCEnum(s_pos, GTK_TYPE_POSITION_TYPE)); gtk_scale_set_value_pos(object, pos); return(_result); } USER_OBJECT_ S_gtk_scale_get_value_pos(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); GtkPositionType ans; ans = gtk_scale_get_value_pos(object); _result = asREnum(ans, GTK_TYPE_POSITION_TYPE); return(_result); } USER_OBJECT_ S_gtk_scale_get_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); PangoLayout* ans; ans = gtk_scale_get_layout(object); _result = toRPointerWithRef(ans, "PangoLayout"); return(_result); } USER_OBJECT_ S_gtk_scale_get_layout_offsets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gint x; gint y; gtk_scale_get_layout_offsets(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_scrollbar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_scrollbar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_scrolled_window_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "hadjustment", "vadjustment", NULL }; USER_OBJECT_ args[] = { s_hadjustment, s_vadjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_SCROLLED_WINDOW, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); gtk_scrolled_window_set_hadjustment(object, hadjustment); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); gtk_scrolled_window_set_vadjustment(object, hadjustment); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_scrolled_window_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_scrolled_window_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_hscrollbar(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_scrolled_window_get_hscrollbar(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_vscrollbar(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_scrolled_window_get_vscrollbar(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_set_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_hscrollbar_policy, USER_OBJECT_ s_vscrollbar_policy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkPolicyType hscrollbar_policy = ((GtkPolicyType)asCEnum(s_hscrollbar_policy, GTK_TYPE_POLICY_TYPE)); GtkPolicyType vscrollbar_policy = ((GtkPolicyType)asCEnum(s_vscrollbar_policy, GTK_TYPE_POLICY_TYPE)); gtk_scrolled_window_set_policy(object, hscrollbar_policy, vscrollbar_policy); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_policy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkPolicyType hscrollbar_policy; GtkPolicyType vscrollbar_policy; gtk_scrolled_window_get_policy(object, &hscrollbar_policy, &vscrollbar_policy); _result = retByVal(_result, "hscrollbar.policy", asREnum(hscrollbar_policy, GTK_TYPE_POLICY_TYPE), "vscrollbar.policy", asREnum(vscrollbar_policy, GTK_TYPE_POLICY_TYPE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_scrolled_window_set_placement(USER_OBJECT_ s_object, USER_OBJECT_ s_window_placement) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkCornerType window_placement = ((GtkCornerType)asCEnum(s_window_placement, GTK_TYPE_CORNER_TYPE)); gtk_scrolled_window_set_placement(object, window_placement); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_placement(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkCornerType ans; ans = gtk_scrolled_window_get_placement(object); _result = asREnum(ans, GTK_TYPE_CORNER_TYPE); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkShadowType type = ((GtkShadowType)asCEnum(s_type, GTK_TYPE_SHADOW_TYPE)); gtk_scrolled_window_set_shadow_type(object, type); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_get_shadow_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkShadowType ans; ans = gtk_scrolled_window_get_shadow_type(object); _result = asREnum(ans, GTK_TYPE_SHADOW_TYPE); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_add_with_viewport(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_scrolled_window_add_with_viewport(object, child); return(_result); } USER_OBJECT_ S_gtk_target_list_new(USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); guint ntargets = ((guint)GET_LENGTH(s_targets)); GtkTargetList* ans; ans = gtk_target_list_new(targets, ntargets); _result = toRPointerWithFinalizer(ans, "GtkTargetList", (RPointerFinalizer) gtk_target_list_unref); return(_result); } USER_OBJECT_ S_gtk_target_list_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); gtk_target_list_ref(object); return(_result); } USER_OBJECT_ S_gtk_target_list_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); gtk_target_list_unref(object); return(_result); } USER_OBJECT_ S_gtk_target_list_add(USER_OBJECT_ s_object, USER_OBJECT_ s_target, USER_OBJECT_ s_flags, USER_OBJECT_ s_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); guint flags = ((guint)asCNumeric(s_flags)); guint info = ((guint)asCNumeric(s_info)); gtk_target_list_add(object, target, flags, info); return(_result); } USER_OBJECT_ S_gtk_target_list_add_table(USER_OBJECT_ s_object, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); guint ntargets = ((guint)GET_LENGTH(s_targets)); gtk_target_list_add_table(object, targets, ntargets); return(_result); } USER_OBJECT_ S_gtk_target_list_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); gtk_target_list_remove(object, target); return(_result); } USER_OBJECT_ S_gtk_target_list_find(USER_OBJECT_ s_object, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTargetList* object = ((GtkTargetList*)getPtrValue(s_object)); GdkAtom target = asCGdkAtom(s_target); gboolean ans; guint info; ans = gtk_target_list_find(object, target, &info); _result = asRLogical(ans); _result = retByVal(_result, "info", asRNumeric(info), NULL); ; return(_result); } USER_OBJECT_ S_gtk_selection_owner_set(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); guint32 time = ((guint32)asCNumeric(s_time)); gboolean ans; ans = gtk_selection_owner_set(object, selection, time); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_owner_set_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_widget, USER_OBJECT_ s_selection, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); GdkAtom selection = asCGdkAtom(s_selection); guint32 time = ((guint32)asCNumeric(s_time)); gboolean ans; ans = gtk_selection_owner_set_for_display(display, widget, selection, time); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_add_target(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_target, USER_OBJECT_ s_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); GdkAtom target = asCGdkAtom(s_target); guint info = ((guint)asCNumeric(s_info)); gtk_selection_add_target(object, selection, target, info); return(_result); } USER_OBJECT_ S_gtk_selection_add_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); guint ntargets = ((guint)GET_LENGTH(s_targets)); gtk_selection_add_targets(object, selection, targets, ntargets); return(_result); } USER_OBJECT_ S_gtk_selection_clear_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); gtk_selection_clear_targets(object, selection); return(_result); } USER_OBJECT_ S_gtk_selection_convert(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_target, USER_OBJECT_ s_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); GdkAtom target = asCGdkAtom(s_target); guint32 time = ((guint32)asCNumeric(s_time)); gboolean ans; ans = gtk_selection_convert(object, selection, target, time); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_set(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkAtom type = asCGdkAtom(s_type); gint format = ((gint)GET_LENGTH(s_data)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gint length = ((gint)GET_LENGTH(s_data)); gtk_selection_data_set(object, type, format, data, length); return(_result); } USER_OBJECT_ S_gtk_selection_data_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); gint len = ((gint)asCInteger(s_len)); gboolean ans; ans = gtk_selection_data_set_text(object, str, len); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); guchar* ans; ans = gtk_selection_data_get_text(object); _result = asRRawArray(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_selection_data_get_targets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gboolean ans; GdkAtom* targets = NULL; gint n_atoms; ans = gtk_selection_data_get_targets(object, &targets, &n_atoms); _result = asRLogical(ans); _result = retByVal(_result, "targets", asRArrayWithSize(targets, asRGdkAtom, n_atoms), "n.atoms", asRInteger(n_atoms), NULL); CLEANUP(g_free, targets);; ; return(_result); } USER_OBJECT_ S_gtk_selection_data_targets_include_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gboolean ans; ans = gtk_selection_data_targets_include_text(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_remove_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_selection_remove_all(object); return(_result); } USER_OBJECT_ S_gtk_selection_clear(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventSelection* event = ((GdkEventSelection*)getPtrValue(s_event)); gboolean ans; ans = gtk_selection_clear(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_selection_data_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GtkSelectionData* ans; ans = gtk_selection_data_copy(object); _result = toRPointerWithFinalizer(ans, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free); return(_result); } USER_OBJECT_ S_gtk_selection_data_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gtk_selection_data_free(object); return(_result); } USER_OBJECT_ S_gtk_selection_data_set_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gboolean ans; ans = gtk_selection_data_set_pixbuf(object, pixbuf); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_selection_data_get_pixbuf(object); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_selection_data_set_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_uris) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gchar** uris = ((gchar**)asCStringArray(s_uris)); gboolean ans; ans = gtk_selection_data_set_uris(object, uris); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_selection_data_get_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gchar** ans; ans = gtk_selection_data_get_uris(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; return(_result); } USER_OBJECT_ S_gtk_selection_data_targets_include_image(USER_OBJECT_ s_object, USER_OBJECT_ s_writable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gboolean writable = ((gboolean)asCLogical(s_writable)); gboolean ans; ans = gtk_selection_data_targets_include_image(object, writable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_separator_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_separator_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_separator_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_separator_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_separator_menu_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_separator_menu_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_separator_tool_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_separator_tool_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_separator_tool_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* ans; ans = gtk_separator_tool_item_new(); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_separator_tool_item_get_draw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSeparatorToolItem* object = GTK_SEPARATOR_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_separator_tool_item_get_draw(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_separator_tool_item_set_draw(USER_OBJECT_ s_object, USER_OBJECT_ s_draw) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSeparatorToolItem* object = GTK_SEPARATOR_TOOL_ITEM(getPtrValue(s_object)); gboolean draw = ((gboolean)asCLogical(s_draw)); gtk_separator_tool_item_set_draw(object, draw); return(_result); } USER_OBJECT_ S_gtk_settings_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_settings_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_settings_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* ans; ans = gtk_settings_get_default(); _result = toRPointerWithRef(ans, "GtkSettings"); return(_result); } USER_OBJECT_ S_gtk_settings_get_for_screen(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); GtkSettings* ans; ans = gtk_settings_get_for_screen(screen); _result = toRPointerWithRef(ans, "GtkSettings"); return(_result); } USER_OBJECT_ S_gtk_settings_install_property(USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GParamSpec* pspec = asCGParamSpec(s_pspec); gtk_settings_install_property(pspec); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } USER_OBJECT_ S_gtk_rc_property_parse_color(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GParamSpec* pspec = asCGParamSpec(s_pspec); const GString* gstring = asCGString(s_gstring); gboolean ans; GValue* property_value = ((GValue *)g_new0(GValue, 1)); ans = gtk_rc_property_parse_color(pspec, gstring, property_value); _result = asRLogical(ans); _result = retByVal(_result, "property.value", asRGValue(property_value), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(free_g_string, ((GString*)gstring));; CLEANUP(g_value_unset, property_value); CLEANUP(g_free, property_value);; return(_result); } USER_OBJECT_ S_gtk_rc_property_parse_enum(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GParamSpec* pspec = asCGParamSpec(s_pspec); const GString* gstring = asCGString(s_gstring); gboolean ans; GValue* property_value = ((GValue *)g_new0(GValue, 1)); ans = gtk_rc_property_parse_enum(pspec, gstring, property_value); _result = asRLogical(ans); _result = retByVal(_result, "property.value", asRGValue(property_value), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(free_g_string, ((GString*)gstring));; CLEANUP(g_value_unset, property_value); CLEANUP(g_free, property_value);; return(_result); } USER_OBJECT_ S_gtk_rc_property_parse_flags(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GParamSpec* pspec = asCGParamSpec(s_pspec); const GString* gstring = asCGString(s_gstring); gboolean ans; GValue* property_value = ((GValue *)g_new0(GValue, 1)); ans = gtk_rc_property_parse_flags(pspec, gstring, property_value); _result = asRLogical(ans); _result = retByVal(_result, "property.value", asRGValue(property_value), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(free_g_string, ((GString*)gstring));; CLEANUP(g_value_unset, property_value); CLEANUP(g_free, property_value);; return(_result); } USER_OBJECT_ S_gtk_rc_property_parse_requisition(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GParamSpec* pspec = asCGParamSpec(s_pspec); const GString* gstring = asCGString(s_gstring); gboolean ans; GValue* property_value = ((GValue *)g_new0(GValue, 1)); ans = gtk_rc_property_parse_requisition(pspec, gstring, property_value); _result = asRLogical(ans); _result = retByVal(_result, "property.value", asRGValue(property_value), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(free_g_string, ((GString*)gstring));; CLEANUP(g_value_unset, property_value); CLEANUP(g_free, property_value);; return(_result); } USER_OBJECT_ S_gtk_rc_property_parse_border(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GParamSpec* pspec = asCGParamSpec(s_pspec); const GString* gstring = asCGString(s_gstring); gboolean ans; GValue* property_value = ((GValue *)g_new0(GValue, 1)); ans = gtk_rc_property_parse_border(pspec, gstring, property_value); _result = asRLogical(ans); _result = retByVal(_result, "property.value", asRGValue(property_value), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(free_g_string, ((GString*)gstring));; CLEANUP(g_value_unset, property_value); CLEANUP(g_free, property_value);; return(_result); } USER_OBJECT_ S_gtk_settings_set_property_value(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_svalue) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* object = GTK_SETTINGS(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); const GtkSettingsValue* svalue = asCGtkSettingsValue(s_svalue); gtk_settings_set_property_value(object, name, svalue); return(_result); } USER_OBJECT_ S_gtk_settings_set_string_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_string, USER_OBJECT_ s_origin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* object = GTK_SETTINGS(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); const gchar* v_string = ((const gchar*)asCString(s_v_string)); const gchar* origin = ((const gchar*)asCString(s_origin)); gtk_settings_set_string_property(object, name, v_string, origin); return(_result); } USER_OBJECT_ S_gtk_settings_set_long_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_long, USER_OBJECT_ s_origin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* object = GTK_SETTINGS(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); glong v_long = ((glong)asCNumeric(s_v_long)); const gchar* origin = ((const gchar*)asCString(s_origin)); gtk_settings_set_long_property(object, name, v_long, origin); return(_result); } USER_OBJECT_ S_gtk_settings_set_double_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_double, USER_OBJECT_ s_origin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSettings* object = GTK_SETTINGS(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gdouble v_double = ((gdouble)asCNumeric(s_v_double)); const gchar* origin = ((const gchar*)asCString(s_origin)); gtk_settings_set_double_property(object, name, v_double, origin); return(_result); } USER_OBJECT_ S_gtk_size_group_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_size_group_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_size_group_new(USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "mode", NULL }; USER_OBJECT_ args[] = { s_mode }; GtkSizeGroup* ans; ans = propertyConstructor(GTK_TYPE_SIZE_GROUP, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GtkSizeGroup", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_size_group_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); GtkSizeGroupMode mode = ((GtkSizeGroupMode)asCEnum(s_mode, GTK_TYPE_SIZE_GROUP_MODE)); gtk_size_group_set_mode(object, mode); return(_result); } USER_OBJECT_ S_gtk_size_group_get_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); GtkSizeGroupMode ans; ans = gtk_size_group_get_mode(object); _result = asREnum(ans, GTK_TYPE_SIZE_GROUP_MODE); return(_result); } USER_OBJECT_ S_gtk_size_group_set_ignore_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_ignore_hidden) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); gboolean ignore_hidden = ((gboolean)asCLogical(s_ignore_hidden)); gtk_size_group_set_ignore_hidden(object, ignore_hidden); return(_result); } USER_OBJECT_ S_gtk_size_group_get_ignore_hidden(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); gboolean ans; ans = gtk_size_group_get_ignore_hidden(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_size_group_add_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_size_group_add_widget(object, widget); return(_result); } USER_OBJECT_ S_gtk_size_group_remove_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gtk_size_group_remove_widget(object, widget); return(_result); } USER_OBJECT_ S_gtk_socket_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_socket_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_socket_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_socket_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_socket_add_id(USER_OBJECT_ s_object, USER_OBJECT_ s_window_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); GdkNativeWindow window_id = asCGdkNativeWindow(s_window_id); gtk_socket_add_id(object, window_id); return(_result); } USER_OBJECT_ S_gtk_socket_get_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); GdkNativeWindow ans; ans = gtk_socket_get_id(object); _result = asRGdkNativeWindow(ans); return(_result); } USER_OBJECT_ S_gtk_socket_steal(USER_OBJECT_ s_object, USER_OBJECT_ s_wid) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); GdkNativeWindow wid = asCGdkNativeWindow(s_wid); gtk_socket_steal(object, wid); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_spin_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment, USER_OBJECT_ s_climb_rate, USER_OBJECT_ s_digits) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gdouble climb_rate = ((gdouble)asCNumeric(s_climb_rate)); guint digits = ((guint)asCNumeric(s_digits)); gtk_spin_button_configure(object, adjustment, climb_rate, digits); return(_result); } USER_OBJECT_ S_gtk_spin_button_new(USER_OBJECT_ s_adjustment, USER_OBJECT_ s_climb_rate, USER_OBJECT_ s_digits) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "adjustment", "climb_rate", "digits", NULL }; USER_OBJECT_ args[] = { s_adjustment, s_climb_rate, s_digits }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_SPIN_BUTTON, prop_names, args, 3); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_spin_button_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gdouble step = ((gdouble)asCNumeric(s_step)); GtkWidget* ans; ans = gtk_spin_button_new_with_range(min, max, step); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_spin_button_set_adjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_adjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_spin_button_get_adjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_digits(USER_OBJECT_ s_object, USER_OBJECT_ s_digits) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); guint digits = ((guint)asCNumeric(s_digits)); gtk_spin_button_set_digits(object, digits); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_digits(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); guint ans; ans = gtk_spin_button_get_digits(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_increments(USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble step = ((gdouble)asCNumeric(s_step)); gdouble page = ((gdouble)asCNumeric(s_page)); gtk_spin_button_set_increments(object, step, page); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_increments(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble step; gdouble page; gtk_spin_button_get_increments(object, &step, &page); _result = retByVal(_result, "step", asRNumeric(step), "page", asRNumeric(page), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_spin_button_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min, USER_OBJECT_ s_max) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gtk_spin_button_set_range(object, min, max); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble min; gdouble max; gtk_spin_button_get_range(object, &min, &max); _result = retByVal(_result, "min", asRNumeric(min), "max", asRNumeric(max), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_spin_button_get_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble ans; ans = gtk_spin_button_get_value(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_value_as_int(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gint ans; ans = gtk_spin_button_get_value_as_int(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_spin_button_set_value(object, value); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkSpinButtonUpdatePolicy policy = ((GtkSpinButtonUpdatePolicy)asCEnum(s_policy, GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY)); gtk_spin_button_set_update_policy(object, policy); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_update_policy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); guint ans; ans = gtk_spin_button_get_update_policy(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_numeric(USER_OBJECT_ s_object, USER_OBJECT_ s_numeric) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean numeric = ((gboolean)asCLogical(s_numeric)); gtk_spin_button_set_numeric(object, numeric); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_numeric(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_spin_button_get_numeric(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_spin(USER_OBJECT_ s_object, USER_OBJECT_ s_direction, USER_OBJECT_ s_increment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkSpinType direction = ((GtkSpinType)asCEnum(s_direction, GTK_TYPE_SPIN_TYPE)); gdouble increment = ((gdouble)asCNumeric(s_increment)); gtk_spin_button_spin(object, direction, increment); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean wrap = ((gboolean)asCLogical(s_wrap)); gtk_spin_button_set_wrap(object, wrap); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_wrap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_spin_button_get_wrap(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_set_snap_to_ticks(USER_OBJECT_ s_object, USER_OBJECT_ s_snap_to_ticks) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean snap_to_ticks = ((gboolean)asCLogical(s_snap_to_ticks)); gtk_spin_button_set_snap_to_ticks(object, snap_to_ticks); return(_result); } USER_OBJECT_ S_gtk_spin_button_get_snap_to_ticks(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_spin_button_get_snap_to_ticks(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_update(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gtk_spin_button_update(object); return(_result); } USER_OBJECT_ S_gtk_statusbar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_statusbar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_statusbar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_statusbar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_statusbar_get_context_id(USER_OBJECT_ s_object, USER_OBJECT_ s_context_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); const gchar* context_description = ((const gchar*)asCString(s_context_description)); guint ans; ans = gtk_statusbar_get_context_id(object, context_description); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_statusbar_push(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); guint context_id = ((guint)asCNumeric(s_context_id)); const gchar* text = ((const gchar*)asCString(s_text)); guint ans; ans = gtk_statusbar_push(object, context_id, text); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_statusbar_pop(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); guint context_id = ((guint)asCNumeric(s_context_id)); gtk_statusbar_pop(object, context_id); return(_result); } USER_OBJECT_ S_gtk_statusbar_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_message_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); guint context_id = ((guint)asCNumeric(s_context_id)); guint message_id = ((guint)asCNumeric(s_message_id)); gtk_statusbar_remove(object, context_id, message_id); return(_result); } USER_OBJECT_ S_gtk_statusbar_set_has_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_statusbar_set_has_resize_grip(object, setting); return(_result); } USER_OBJECT_ S_gtk_statusbar_get_has_resize_grip(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); gboolean ans; ans = gtk_statusbar_get_has_resize_grip(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_stock_add(USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GtkStockItem* items = ((const GtkStockItem*)asCArrayRef(s_items, GtkStockItem, asCGtkStockItem)); guint n_items = ((guint)GET_LENGTH(s_items)); gtk_stock_add(items, n_items); return(_result); } USER_OBJECT_ S_gtk_stock_add_static(USER_OBJECT_ s_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; const GtkStockItem* items = ((const GtkStockItem*)asCArrayRef(s_items, GtkStockItem, asCGtkStockItem)); guint n_items = ((guint)GET_LENGTH(s_items)); gtk_stock_add_static(items, n_items); return(_result); } USER_OBJECT_ S_gtk_stock_lookup(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); gboolean ans; GtkStockItem* item = ((GtkStockItem *)g_new0(GtkStockItem, 1)); ans = gtk_stock_lookup(stock_id, item); _result = asRLogical(ans); _result = retByVal(_result, "item", asRGtkStockItem(item), NULL); CLEANUP(g_free, item);; return(_result); } USER_OBJECT_ S_gtk_stock_list_ids(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GSList* ans; ans = gtk_stock_list_ids(); _result = asRGSListConv(ans, ((ElementConverter)asRString)); CLEANUP(GSListFreeStrings, ans); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_stock_item_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStockItem* object = asCGtkStockItem(s_object); GtkStockItem* ans; ans = gtk_stock_item_copy(object); _result = asRGtkStockItem(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_stock_item_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStockItem* object = asCGtkStockItem(s_object); gtk_stock_item_free(object); return(_result); } USER_OBJECT_ S_gtk_stock_set_translate_func(USER_OBJECT_ s_domain, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTranslateFunc func = ((GtkTranslateFunc)S_GtkTranslateFunc); R_CallbackData* data = R_createCBData(s_func, s_data); const gchar* domain = ((const gchar*)asCString(s_domain)); GtkDestroyNotify notify = ((GtkDestroyNotify)R_freeCBData); gtk_stock_set_translate_func(domain, func, data, notify); return(_result); } USER_OBJECT_ S_gtk_style_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_style_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_style_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* ans; ans = gtk_style_new(); _result = toRPointerWithFinalizer(ans, "GtkStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_style_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GtkStyle* ans; ans = gtk_style_copy(object); _result = toRPointerWithFinalizer(ans, "GtkStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_style_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStyle* ans; ans = gtk_style_attach(object, window); _result = toRPointerWithFinalizer(ans, "GtkStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_style_detach(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); gtk_style_detach(object); return(_result); } USER_OBJECT_ S_gtk_style_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GtkStyle* ans; ans = gtk_style_ref(object); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_style_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); gtk_style_unref(object); return(_result); } USER_OBJECT_ S_gtk_style_get_font(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkFont* ans; ans = gtk_style_get_font(object); _result = toRGdkFont(ans); return(_result); } USER_OBJECT_ S_gtk_style_set_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkFont* font = ((GdkFont*)getPtrValue(s_font)); gtk_style_set_font(object, font); return(_result); } USER_OBJECT_ S_gtk_style_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gtk_style_set_background(object, window, state_type); return(_result); } USER_OBJECT_ S_gtk_style_apply_default_background(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_set_bg, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gboolean set_bg = ((gboolean)asCLogical(s_set_bg)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_style_apply_default_background(object, window, set_bg, state_type, area, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_lookup_icon_set(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSet* ans; ans = gtk_style_lookup_icon_set(object, stock_id); _result = toRPointerWithFinalizer(ans ? gtk_icon_set_copy(ans) : NULL, "GtkIconSet", (RPointerFinalizer) gtk_icon_set_unref); return(_result); } USER_OBJECT_ S_gtk_style_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_direction, USER_OBJECT_ s_state, USER_OBJECT_ s_size, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); const GtkIconSource* source = ((const GtkIconSource*)getPtrValue(s_source)); GtkTextDirection direction = ((GtkTextDirection)asCEnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); GdkPixbuf* ans; ans = gtk_style_render_icon(object, source, direction, state, size, widget, detail); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_draw_hline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gint x1 = ((gint)asCInteger(s_x1)); gint x2 = ((gint)asCInteger(s_x2)); gint y = ((gint)asCInteger(s_y)); gtk_draw_hline(object, window, state_type, x1, x2, y); return(_result); } USER_OBJECT_ S_gtk_draw_vline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_y1, USER_OBJECT_ s_y2, USER_OBJECT_ s_x) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gint y1 = ((gint)asCInteger(s_y1)); gint y2 = ((gint)asCInteger(s_y2)); gint x = ((gint)asCInteger(s_x)); gtk_draw_vline(object, window, state_type, y1, y2, x); return(_result); } USER_OBJECT_ S_gtk_draw_shadow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_shadow(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_points, USER_OBJECT_ s_fill) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); gboolean fill = ((gboolean)asCLogical(s_fill)); gtk_draw_polygon(object, window, state_type, shadow_type, points, npoints, fill); return(_result); } USER_OBJECT_ S_gtk_draw_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_fill, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GtkArrowType arrow_type = ((GtkArrowType)asCEnum(s_arrow_type, GTK_TYPE_ARROW_TYPE)); gboolean fill = ((gboolean)asCLogical(s_fill)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_arrow(object, window, state_type, shadow_type, arrow_type, fill, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_diamond(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_diamond(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_box(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_flat_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_flat_box(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_check(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_check(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_option(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_option(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_tab(object, window, state_type, shadow_type, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_shadow_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); gtk_draw_shadow_gap(object, window, state_type, shadow_type, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_draw_box_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); gtk_draw_box_gap(object, window, state_type, shadow_type, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_draw_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gtk_draw_extension(object, window, state_type, shadow_type, x, y, width, height, gap_side); return(_result); } USER_OBJECT_ S_gtk_draw_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_focus(object, window, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_slider(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_draw_slider(object, window, state_type, shadow_type, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_draw_handle(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_draw_handle(object, window, state_type, shadow_type, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_draw_expander(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_is_open) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gboolean is_open = ((gboolean)asCLogical(s_is_open)); gtk_draw_expander(object, window, state_type, x, y, is_open); return(_result); } USER_OBJECT_ S_gtk_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_use_text, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gboolean use_text = ((gboolean)asCLogical(s_use_text)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); gtk_draw_layout(object, window, state_type, use_text, x, y, layout); return(_result); } USER_OBJECT_ S_gtk_draw_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_edge, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkWindowEdge edge = ((GdkWindowEdge)asCEnum(s_edge, GDK_TYPE_WINDOW_EDGE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_draw_resize_grip(object, window, state_type, edge, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_hline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x1 = ((gint)asCInteger(s_x1)); gint x2 = ((gint)asCInteger(s_x2)); gint y = ((gint)asCInteger(s_y)); gtk_paint_hline(object, window, state_type, area, widget, detail, x1, x2, y); return(_result); } USER_OBJECT_ S_gtk_paint_vline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_y1, USER_OBJECT_ s_y2, USER_OBJECT_ s_x) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint y1 = ((gint)asCInteger(s_y1)); gint y2 = ((gint)asCInteger(s_y2)); gint x = ((gint)asCInteger(s_x)); gtk_paint_vline(object, window, state_type, area, widget, detail, y1, y2, x); return(_result); } USER_OBJECT_ S_gtk_paint_shadow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_shadow(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_points, USER_OBJECT_ s_fill) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); GdkPoint* points = ((GdkPoint*)asCArrayRef(s_points, GdkPoint, asCGdkPoint)); gint npoints = ((gint)GET_LENGTH(s_points)); gboolean fill = ((gboolean)asCLogical(s_fill)); gtk_paint_polygon(object, window, state_type, shadow_type, area, widget, detail, points, npoints, fill); return(_result); } USER_OBJECT_ S_gtk_paint_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_fill, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); GtkArrowType arrow_type = ((GtkArrowType)asCEnum(s_arrow_type, GTK_TYPE_ARROW_TYPE)); gboolean fill = ((gboolean)asCLogical(s_fill)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_arrow(object, window, state_type, shadow_type, area, widget, detail, arrow_type, fill, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_diamond(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_diamond(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_box(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_flat_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_flat_box(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_check(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_check(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_option(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_option(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_tab(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_shadow_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); gtk_paint_shadow_gap(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_paint_box_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); gtk_paint_box_gap(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_paint_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gtk_paint_extension(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side); return(_result); } USER_OBJECT_ S_gtk_paint_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_focus(object, window, state_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_paint_slider(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_paint_slider(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_paint_handle(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_paint_handle(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_paint_expander(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_expander_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkExpanderStyle expander_style = ((GtkExpanderStyle)asCEnum(s_expander_style, GTK_TYPE_EXPANDER_STYLE)); gtk_paint_expander(object, window, state_type, area, widget, detail, x, y, expander_style); return(_result); } USER_OBJECT_ S_gtk_paint_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_use_text, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gboolean use_text = ((gboolean)asCLogical(s_use_text)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); gtk_paint_layout(object, window, state_type, use_text, area, widget, detail, x, y, layout); return(_result); } USER_OBJECT_ S_gtk_paint_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_edge, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); GdkWindowEdge edge = ((GdkWindowEdge)asCEnum(s_edge, GDK_TYPE_WINDOW_EDGE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_resize_grip(object, window, state_type, area, widget, detail, edge, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_border_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_border_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_border_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBorder* object = ((GtkBorder*)getPtrValue(s_object)); GtkBorder* ans; ans = gtk_border_copy(object); _result = toRPointerWithFinalizer(ans, "GtkBorder", (RPointerFinalizer) gtk_border_free); return(_result); } USER_OBJECT_ S_gtk_border_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkBorder* object = ((GtkBorder*)getPtrValue(s_object)); gtk_border_free(object); return(_result); } USER_OBJECT_ S_gtk_style_apply_default_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_set_bg, USER_OBJECT_ s_area, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gboolean set_bg = ((gboolean)asCLogical(s_set_bg)); GdkRectangle* area = asCGdkRectangle(s_area); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_style_apply_default_pixmap(object, window, set_bg, area, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_draw_string(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* string = ((const gchar*)asCString(s_string)); gtk_draw_string(object, window, state_type, x, y, string); return(_result); } USER_OBJECT_ S_gtk_paint_string(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* string = ((const gchar*)asCString(s_string)); gtk_paint_string(object, window, state_type, area, widget, detail, x, y, string); return(_result); } USER_OBJECT_ S_gtk_draw_insertion_cursor(USER_OBJECT_ s_widget, USER_OBJECT_ s_drawable, USER_OBJECT_ s_area, USER_OBJECT_ s_location, USER_OBJECT_ s_is_primary, USER_OBJECT_ s_direction, USER_OBJECT_ s_draw_arrow) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GdkDrawable* drawable = GDK_DRAWABLE(getPtrValue(s_drawable)); GdkRectangle* area = GET_LENGTH(s_area) == 0 ? NULL : asCGdkRectangle(s_area); GdkRectangle* location = asCGdkRectangle(s_location); gboolean is_primary = ((gboolean)asCLogical(s_is_primary)); GtkTextDirection direction = ((GtkTextDirection)asCEnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); gboolean draw_arrow = ((gboolean)asCLogical(s_draw_arrow)); gtk_draw_insertion_cursor(widget, drawable, area, location, is_primary, direction, draw_arrow); return(_result); } USER_OBJECT_ S_gtk_table_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_table_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_table_new(USER_OBJECT_ s_rows, USER_OBJECT_ s_columns, USER_OBJECT_ s_homogeneous) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "n_rows", "n_columns", "homogeneous", NULL }; USER_OBJECT_ args[] = { s_rows, s_columns, s_homogeneous }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_TABLE, prop_names, args, 3); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_table_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_rows, USER_OBJECT_ s_columns) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint rows = ((guint)asCNumeric(s_rows)); guint columns = ((guint)asCNumeric(s_columns)); gtk_table_resize(object, rows, columns); return(_result); } USER_OBJECT_ S_gtk_table_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach, USER_OBJECT_ s_xoptions, USER_OBJECT_ s_yoptions, USER_OBJECT_ s_xpadding, USER_OBJECT_ s_ypadding) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); guint left_attach = ((guint)asCNumeric(s_left_attach)); guint right_attach = ((guint)asCNumeric(s_right_attach)); guint top_attach = ((guint)asCNumeric(s_top_attach)); guint bottom_attach = ((guint)asCNumeric(s_bottom_attach)); GtkAttachOptions xoptions = ((GtkAttachOptions)asCFlag(s_xoptions, GTK_TYPE_ATTACH_OPTIONS)); GtkAttachOptions yoptions = ((GtkAttachOptions)asCFlag(s_yoptions, GTK_TYPE_ATTACH_OPTIONS)); guint xpadding = ((guint)asCNumeric(s_xpadding)); guint ypadding = ((guint)asCNumeric(s_ypadding)); gtk_table_attach(object, child, left_attach, right_attach, top_attach, bottom_attach, xoptions, yoptions, xpadding, ypadding); return(_result); } USER_OBJECT_ S_gtk_table_attach_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); guint left_attach = ((guint)asCNumeric(s_left_attach)); guint right_attach = ((guint)asCNumeric(s_right_attach)); guint top_attach = ((guint)asCNumeric(s_top_attach)); guint bottom_attach = ((guint)asCNumeric(s_bottom_attach)); gtk_table_attach_defaults(object, widget, left_attach, right_attach, top_attach, bottom_attach); return(_result); } USER_OBJECT_ S_gtk_table_set_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint row = ((guint)asCNumeric(s_row)); guint spacing = ((guint)asCNumeric(s_spacing)); gtk_table_set_row_spacing(object, row, spacing); return(_result); } USER_OBJECT_ S_gtk_table_get_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint row = ((guint)asCNumeric(s_row)); guint ans; ans = gtk_table_get_row_spacing(object, row); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_table_set_col_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint column = ((guint)asCNumeric(s_column)); guint spacing = ((guint)asCNumeric(s_spacing)); gtk_table_set_col_spacing(object, column, spacing); return(_result); } USER_OBJECT_ S_gtk_table_get_col_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint column = ((guint)asCNumeric(s_column)); guint ans; ans = gtk_table_get_col_spacing(object, column); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_table_set_row_spacings(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint spacing = ((guint)asCNumeric(s_spacing)); gtk_table_set_row_spacings(object, spacing); return(_result); } USER_OBJECT_ S_gtk_table_get_default_row_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint ans; ans = gtk_table_get_default_row_spacing(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_table_set_col_spacings(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint spacing = ((guint)asCNumeric(s_spacing)); gtk_table_set_col_spacings(object, spacing); return(_result); } USER_OBJECT_ S_gtk_table_get_default_col_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); guint ans; ans = gtk_table_get_default_col_spacing(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_table_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); gboolean homogeneous = ((gboolean)asCLogical(s_homogeneous)); gtk_table_set_homogeneous(object, homogeneous); return(_result); } USER_OBJECT_ S_gtk_table_get_homogeneous(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTable* object = GTK_TABLE(getPtrValue(s_object)); gboolean ans; ans = gtk_table_get_homogeneous(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tearoff_menu_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tearoff_menu_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tearoff_menu_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_tearoff_menu_item_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_buffer_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_new(USER_OBJECT_ s_table) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "tag_table", NULL }; USER_OBJECT_ args[] = { s_table }; GtkTextBuffer* ans; ans = propertyConstructor(GTK_TYPE_TEXT_BUFFER, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GtkTextBuffer", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_line_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint ans; ans = gtk_text_buffer_get_line_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_char_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint ans; ans = gtk_text_buffer_get_char_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_tag_table(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextTagTable* ans; ans = gtk_text_buffer_get_tag_table(object); _result = toRPointerWithRef(ans, "GtkTextTagTable"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gtk_text_buffer_set_text(object, text, len); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gtk_text_buffer_insert(object, iter, text, len); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_at_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gtk_text_buffer_insert_at_cursor(object, text, len); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_insert_interactive(object, iter, text, len, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_interactive_at_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_insert_interactive_at_cursor(object, text, len, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_range(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_insert_range(object, iter, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_range_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_insert_range_interactive(object, iter, start, end, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* start = ((GtkTextIter*)getPtrValue(s_start)); GtkTextIter* end = ((GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_delete(object, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_delete_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_start_iter, USER_OBJECT_ s_end_iter, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* start_iter = ((GtkTextIter*)getPtrValue(s_start_iter)); GtkTextIter* end_iter = ((GtkTextIter*)getPtrValue(s_end_iter)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_delete_interactive(object, start_iter, end_iter, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_include_hidden_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gboolean include_hidden_chars = ((gboolean)asCLogical(s_include_hidden_chars)); gchar* ans; ans = gtk_text_buffer_get_text(object, start, end, include_hidden_chars); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_include_hidden_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gboolean include_hidden_chars = ((gboolean)asCLogical(s_include_hidden_chars)); gchar* ans; ans = gtk_text_buffer_get_slice(object, start, end, include_hidden_chars); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_text_buffer_insert_pixbuf(object, iter, pixbuf); return(_result); } USER_OBJECT_ S_gtk_text_buffer_insert_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_anchor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); GtkTextChildAnchor* anchor = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_anchor)); gtk_text_buffer_insert_child_anchor(object, iter, anchor); return(_result); } USER_OBJECT_ S_gtk_text_buffer_create_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); GtkTextChildAnchor* ans; ans = gtk_text_buffer_create_child_anchor(object, iter); _result = toRPointerWithRef(ans, "GtkTextChildAnchor"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_create_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark_name, USER_OBJECT_ s_where, USER_OBJECT_ s_left_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* mark_name = GET_LENGTH(s_mark_name) == 0 ? NULL : ((const gchar*)asCString(s_mark_name)); const GtkTextIter* where = ((const GtkTextIter*)getPtrValue(s_where)); gboolean left_gravity = ((gboolean)asCLogical(s_left_gravity)); GtkTextMark* ans; ans = gtk_text_buffer_create_mark(object, mark_name, where, left_gravity); _result = toRPointerWithRef(ans, "GtkTextMark"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_move_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_where) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); const GtkTextIter* where = ((const GtkTextIter*)getPtrValue(s_where)); gtk_text_buffer_move_mark(object, mark, where); return(_result); } USER_OBJECT_ S_gtk_text_buffer_delete_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); gtk_text_buffer_delete_mark(object, mark); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); GtkTextMark* ans; ans = gtk_text_buffer_get_mark(object, name); _result = toRPointerWithRef(ans, "GtkTextMark"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_move_mark_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_where) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); const GtkTextIter* where = ((const GtkTextIter*)getPtrValue(s_where)); gtk_text_buffer_move_mark_by_name(object, name, where); return(_result); } USER_OBJECT_ S_gtk_text_buffer_delete_mark_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_text_buffer_delete_mark_by_name(object, name); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_insert(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* ans; ans = gtk_text_buffer_get_insert(object); _result = toRPointerWithRef(ans, "GtkTextMark"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_selection_bound(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* ans; ans = gtk_text_buffer_get_selection_bound(object); _result = toRPointerWithRef(ans, "GtkTextMark"); return(_result); } USER_OBJECT_ S_gtk_text_buffer_place_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_where) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* where = ((const GtkTextIter*)getPtrValue(s_where)); gtk_text_buffer_place_cursor(object, where); return(_result); } USER_OBJECT_ S_gtk_text_buffer_select_range(USER_OBJECT_ s_object, USER_OBJECT_ s_ins, USER_OBJECT_ s_bound) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* ins = ((const GtkTextIter*)getPtrValue(s_ins)); const GtkTextIter* bound = ((const GtkTextIter*)getPtrValue(s_bound)); gtk_text_buffer_select_range(object, ins, bound); return(_result); } USER_OBJECT_ S_gtk_text_buffer_apply_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_apply_tag(object, tag, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_remove_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_remove_tag(object, tag, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_apply_tag_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_apply_tag_by_name(object, name, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_remove_tag_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_remove_tag_by_name(object, name, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_remove_all_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gtk_text_buffer_remove_all_tags(object, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number, USER_OBJECT_ s_char_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint line_number = ((gint)asCInteger(s_line_number)); gint char_offset = ((gint)asCInteger(s_char_offset)); GtkTextIter iter; gtk_text_buffer_get_iter_at_line_offset(object, &iter, line_number, char_offset); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number, USER_OBJECT_ s_byte_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint line_number = ((gint)asCInteger(s_line_number)); gint byte_index = ((gint)asCInteger(s_byte_index)); GtkTextIter iter; gtk_text_buffer_get_iter_at_line_index(object, &iter, line_number, byte_index); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint char_offset = ((gint)asCInteger(s_char_offset)); GtkTextIter iter; gtk_text_buffer_get_iter_at_offset(object, &iter, char_offset); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gint line_number = ((gint)asCInteger(s_line_number)); GtkTextIter iter; gtk_text_buffer_get_iter_at_line(object, &iter, line_number); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_start_iter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter iter; gtk_text_buffer_get_start_iter(object, &iter); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_end_iter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter iter; gtk_text_buffer_get_end_iter(object, &iter); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_bounds(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter start; GtkTextIter end; gtk_text_buffer_get_bounds(object, &start, &end); _result = retByVal(_result, "start", toRPointerWithFinalizer(&start ? gtk_text_iter_copy(&start) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "end", toRPointerWithFinalizer(&end ? gtk_text_iter_copy(&end) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); GtkTextIter iter; gtk_text_buffer_get_iter_at_mark(object, &iter, mark); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_iter_at_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_anchor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextChildAnchor* anchor = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_anchor)); GtkTextIter iter; gtk_text_buffer_get_iter_at_child_anchor(object, &iter, anchor); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_modified(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gboolean ans; ans = gtk_text_buffer_get_modified(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_set_modified(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_text_buffer_set_modified(object, setting); return(_result); } USER_OBJECT_ S_gtk_text_buffer_add_selection_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkClipboard* clipboard = GTK_CLIPBOARD(getPtrValue(s_clipboard)); gtk_text_buffer_add_selection_clipboard(object, clipboard); return(_result); } USER_OBJECT_ S_gtk_text_buffer_remove_selection_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkClipboard* clipboard = GTK_CLIPBOARD(getPtrValue(s_clipboard)); gtk_text_buffer_remove_selection_clipboard(object, clipboard); return(_result); } USER_OBJECT_ S_gtk_text_buffer_cut_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkClipboard* clipboard = GTK_CLIPBOARD(getPtrValue(s_clipboard)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gtk_text_buffer_cut_clipboard(object, clipboard, default_editable); return(_result); } USER_OBJECT_ S_gtk_text_buffer_copy_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkClipboard* clipboard = GTK_CLIPBOARD(getPtrValue(s_clipboard)); gtk_text_buffer_copy_clipboard(object, clipboard); return(_result); } USER_OBJECT_ S_gtk_text_buffer_paste_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard, USER_OBJECT_ s_override_location, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkClipboard* clipboard = GTK_CLIPBOARD(getPtrValue(s_clipboard)); GtkTextIter* override_location = GET_LENGTH(s_override_location) == 0 ? NULL : ((GtkTextIter*)getPtrValue(s_override_location)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gtk_text_buffer_paste_clipboard(object, clipboard, override_location, default_editable); return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_selection_bounds(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gboolean ans; GtkTextIter start; GtkTextIter end; ans = gtk_text_buffer_get_selection_bounds(object, &start, &end); _result = asRLogical(ans); _result = retByVal(_result, "start", toRPointerWithFinalizer(&start ? gtk_text_iter_copy(&start) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "end", toRPointerWithFinalizer(&end ? gtk_text_iter_copy(&end) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_buffer_delete_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_interactive, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gboolean interactive = ((gboolean)asCLogical(s_interactive)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_delete_selection(object, interactive, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_begin_user_action(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gtk_text_buffer_begin_user_action(object); return(_result); } USER_OBJECT_ S_gtk_text_buffer_end_user_action(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gtk_text_buffer_end_user_action(object); return(_result); } USER_OBJECT_ S_gtk_text_child_anchor_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_child_anchor_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_child_anchor_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextChildAnchor* ans; ans = gtk_text_child_anchor_new(); _result = toRPointerWithFinalizer(ans, "GtkTextChildAnchor", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_text_child_anchor_get_widgets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextChildAnchor* object = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_object)); GList* ans; ans = gtk_text_child_anchor_get_widgets(object); _result = asRGListWithSink(ans, "GtkWidget"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_child_anchor_get_deleted(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextChildAnchor* object = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_object)); gboolean ans; ans = gtk_text_child_anchor_get_deleted(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_buffer_backspace(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_interactive, USER_OBJECT_ s_default_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gboolean interactive = ((gboolean)asCLogical(s_interactive)); gboolean default_editable = ((gboolean)asCLogical(s_default_editable)); gboolean ans; ans = gtk_text_buffer_backspace(object, iter, interactive, default_editable); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_buffer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextBuffer* ans; ans = gtk_text_iter_get_buffer(object); _result = toRPointerWithRef(ans, "GtkTextBuffer"); return(_result); } USER_OBJECT_ S_gtk_text_iter_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextIter* ans; ans = gtk_text_iter_copy(object); _result = toRPointerWithFinalizer(ans, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free); return(_result); } USER_OBJECT_ S_gtk_text_iter_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gtk_text_iter_free(object); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_iter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_offset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_offset(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_line(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_line_offset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_line_offset(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_line_index(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_line_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_visible_line_offset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_visible_line_offset(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_visible_line_index(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_visible_line_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gunichar ans; ans = gtk_text_iter_get_char(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gchar* ans; ans = gtk_text_iter_get_slice(object, end); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gchar* ans; ans = gtk_text_iter_get_text(object, end); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_get_visible_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gchar* ans; ans = gtk_text_iter_get_visible_slice(object, end); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_get_visible_text(USER_OBJECT_ s_object, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gchar* ans; ans = gtk_text_iter_get_visible_text(object, end); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_text_iter_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_marks(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GSList* ans; ans = gtk_text_iter_get_marks(object); _result = asRGSListWithRef(ans, "GtkTextMark"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_get_child_anchor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextChildAnchor* ans; ans = gtk_text_iter_get_child_anchor(object); _result = toRPointerWithRef(ans, "GtkTextChildAnchor"); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_toggled_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_toggled_on) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean toggled_on = ((gboolean)asCLogical(s_toggled_on)); GSList* ans; ans = gtk_text_iter_get_toggled_tags(object, toggled_on); _result = asRGSListWithRef(ans, "GtkTextTag"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_begins_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GET_LENGTH(s_tag) == 0 ? NULL : GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_begins_tag(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_ends_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GET_LENGTH(s_tag) == 0 ? NULL : GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_ends_tag(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_toggles_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GET_LENGTH(s_tag) == 0 ? NULL : GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_toggles_tag(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_has_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_has_tag(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_tags(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GSList* ans; ans = gtk_text_iter_get_tags(object); _result = asRGSListWithRef(ans, "GtkTextTag"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_text_iter_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_default_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean default_setting = ((gboolean)asCLogical(s_default_setting)); gboolean ans; ans = gtk_text_iter_editable(object, default_setting); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_can_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_default_editability) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean default_editability = ((gboolean)asCLogical(s_default_editability)); gboolean ans; ans = gtk_text_iter_can_insert(object, default_editability); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_starts_word(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_starts_word(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_ends_word(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_ends_word(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_inside_word(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_inside_word(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_starts_sentence(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_starts_sentence(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_ends_sentence(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_ends_sentence(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_inside_sentence(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_inside_sentence(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_starts_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_starts_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_ends_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_ends_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_is_cursor_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_is_cursor_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_chars_in_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_chars_in_line(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_bytes_in_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint ans; ans = gtk_text_iter_get_bytes_in_line(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_values) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextAttributes* values = ((GtkTextAttributes*)getPtrValue(s_values)); gboolean ans; ans = gtk_text_iter_get_attributes(object, values); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_get_language(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); PangoLanguage* ans; ans = gtk_text_iter_get_language(object); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_gtk_text_iter_is_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_is_end(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_is_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_is_start(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_char(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_char(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_chars(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_chars(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_lines(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_lines(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_word_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_word_end(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_word_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_word_start(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_word_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_word_ends(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_word_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_word_starts(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_visible_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_visible_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_visible_lines(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_visible_lines(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_word_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_visible_word_end(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_word_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_visible_word_start(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_word_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_visible_word_ends(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_word_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_visible_word_starts(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_sentence_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_sentence_end(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_sentence_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_sentence_start(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_sentence_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_sentence_ends(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_sentence_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_sentence_starts(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_cursor_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_cursor_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_cursor_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_cursor_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_cursor_positions(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_cursor_positions(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_cursor_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_visible_cursor_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_cursor_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_backward_visible_cursor_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_visible_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_forward_visible_cursor_positions(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_visible_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_iter_backward_visible_cursor_positions(object, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint char_offset = ((gint)asCInteger(s_char_offset)); gtk_text_iter_set_offset(object, char_offset); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint line_number = ((gint)asCInteger(s_line_number)); gtk_text_iter_set_line(object, line_number); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_on_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint char_on_line = ((gint)asCInteger(s_char_on_line)); gtk_text_iter_set_line_offset(object, char_on_line); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_byte_on_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint byte_on_line = ((gint)asCInteger(s_byte_on_line)); gtk_text_iter_set_line_index(object, byte_on_line); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_to_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gtk_text_iter_forward_to_end(object); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_to_line_end(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gboolean ans; ans = gtk_text_iter_forward_to_line_end(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_visible_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_on_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint char_on_line = ((gint)asCInteger(s_char_on_line)); gtk_text_iter_set_visible_line_offset(object, char_on_line); return(_result); } USER_OBJECT_ S_gtk_text_iter_set_visible_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_byte_on_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); gint byte_on_line = ((gint)asCInteger(s_byte_on_line)); gtk_text_iter_set_visible_line_index(object, byte_on_line); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_to_tag_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GET_LENGTH(s_tag) == 0 ? NULL : GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_forward_to_tag_toggle(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_to_tag_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextTag* tag = GET_LENGTH(s_tag) == 0 ? NULL : GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean ans; ans = gtk_text_iter_backward_to_tag_toggle(object, tag); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_find_char(USER_OBJECT_ s_object, USER_OBJECT_ s_pred, USER_OBJECT_ s_user_data, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextCharPredicate pred = ((GtkTextCharPredicate)S_GtkTextCharPredicate); R_CallbackData* user_data = R_createCBData(s_pred, s_user_data); GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* limit = ((const GtkTextIter*)getPtrValue(s_limit)); gboolean ans; ans = gtk_text_iter_forward_find_char(object, pred, user_data, limit); _result = asRLogical(ans); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_find_char(USER_OBJECT_ s_object, USER_OBJECT_ s_pred, USER_OBJECT_ s_user_data, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextCharPredicate pred = ((GtkTextCharPredicate)S_GtkTextCharPredicate); R_CallbackData* user_data = R_createCBData(s_pred, s_user_data); GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* limit = ((const GtkTextIter*)getPtrValue(s_limit)); gboolean ans; ans = gtk_text_iter_backward_find_char(object, pred, user_data, limit); _result = asRLogical(ans); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_text_iter_forward_search(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_flags, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); GtkTextSearchFlags flags = ((GtkTextSearchFlags)asCFlag(s_flags, GTK_TYPE_TEXT_SEARCH_FLAGS)); const GtkTextIter* limit = GET_LENGTH(s_limit) == 0 ? NULL : ((const GtkTextIter*)getPtrValue(s_limit)); gboolean ans; GtkTextIter match_start; GtkTextIter match_end; ans = gtk_text_iter_forward_search(object, str, flags, &match_start, &match_end, limit); _result = asRLogical(ans); _result = retByVal(_result, "match.start", toRPointerWithFinalizer(&match_start ? gtk_text_iter_copy(&match_start) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "match.end", toRPointerWithFinalizer(&match_end ? gtk_text_iter_copy(&match_end) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_iter_backward_search(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_flags, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); GtkTextSearchFlags flags = ((GtkTextSearchFlags)asCFlag(s_flags, GTK_TYPE_TEXT_SEARCH_FLAGS)); const GtkTextIter* limit = GET_LENGTH(s_limit) == 0 ? NULL : ((const GtkTextIter*)getPtrValue(s_limit)); gboolean ans; GtkTextIter match_start; GtkTextIter match_end; ans = gtk_text_iter_backward_search(object, str, flags, &match_start, &match_end, limit); _result = asRLogical(ans); _result = retByVal(_result, "match.start", toRPointerWithFinalizer(&match_start ? gtk_text_iter_copy(&match_start) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "match.end", toRPointerWithFinalizer(&match_end ? gtk_text_iter_copy(&match_end) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_iter_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_rhs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* rhs = ((const GtkTextIter*)getPtrValue(s_rhs)); gboolean ans; ans = gtk_text_iter_equal(object, rhs); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_compare(USER_OBJECT_ s_object, USER_OBJECT_ s_rhs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* rhs = ((const GtkTextIter*)getPtrValue(s_rhs)); gint ans; ans = gtk_text_iter_compare(object, rhs); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_in_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); gboolean ans; ans = gtk_text_iter_in_range(object, start, end); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_iter_order(USER_OBJECT_ s_object, USER_OBJECT_ s_second) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextIter* object = ((GtkTextIter*)getPtrValue(s_object)); GtkTextIter* second = ((GtkTextIter*)getPtrValue(s_second)); gtk_text_iter_order(object, second); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_mark_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_mark_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_text_mark_set_visible(object, setting); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); gboolean ans; ans = gtk_text_mark_get_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); const gchar* ans; ans = gtk_text_mark_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_deleted(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); gboolean ans; ans = gtk_text_mark_get_deleted(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_buffer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); GtkTextBuffer* ans; ans = gtk_text_mark_get_buffer(object); _result = toRPointerWithRef(ans, "GtkTextBuffer"); return(_result); } USER_OBJECT_ S_gtk_text_mark_get_left_gravity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextMark* object = GTK_TEXT_MARK(getPtrValue(s_object)); gboolean ans; ans = gtk_text_mark_get_left_gravity(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_tag_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_tag_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_tag_new(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "name", NULL }; USER_OBJECT_ args[] = { s_name }; GtkTextTag* ans; ans = propertyConstructor(GTK_TYPE_TEXT_TAG, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GtkTextTag", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_text_tag_get_priority(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTag* object = GTK_TEXT_TAG(getPtrValue(s_object)); gint ans; ans = gtk_text_tag_get_priority(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_tag_set_priority(USER_OBJECT_ s_object, USER_OBJECT_ s_priority) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTag* object = GTK_TEXT_TAG(getPtrValue(s_object)); gint priority = ((gint)asCInteger(s_priority)); gtk_text_tag_set_priority(object, priority); return(_result); } USER_OBJECT_ S_gtk_text_tag_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event_object, USER_OBJECT_ s_event, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTag* object = GTK_TEXT_TAG(getPtrValue(s_object)); GObject* event_object = G_OBJECT(getPtrValue(s_event_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); const GtkTextIter* iter = ((const GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_tag_event(object, event_object, event, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_attributes_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes* ans; ans = gtk_text_attributes_new(); _result = toRPointerWithFinalizer(ans, "GtkTextAttributes", (RPointerFinalizer) gtk_text_attributes_unref); return(_result); } USER_OBJECT_ S_gtk_text_attributes_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes* object = ((GtkTextAttributes*)getPtrValue(s_object)); GtkTextAttributes* ans; ans = gtk_text_attributes_copy(object); _result = toRPointerWithFinalizer(ans, "GtkTextAttributes", (RPointerFinalizer) gtk_text_attributes_unref); return(_result); } USER_OBJECT_ S_gtk_text_attributes_copy_values(USER_OBJECT_ s_object, USER_OBJECT_ s_dest) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes* object = ((GtkTextAttributes*)getPtrValue(s_object)); GtkTextAttributes* dest = ((GtkTextAttributes*)getPtrValue(s_dest)); gtk_text_attributes_copy_values(object, dest); return(_result); } USER_OBJECT_ S_gtk_text_attributes_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes* object = ((GtkTextAttributes*)getPtrValue(s_object)); gtk_text_attributes_unref(object); return(_result); } USER_OBJECT_ S_gtk_text_attributes_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextAttributes* object = ((GtkTextAttributes*)getPtrValue(s_object)); gtk_text_attributes_ref(object); return(_result); } USER_OBJECT_ S_gtk_text_attributes_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_attributes_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_tag_table_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTable* ans; ans = gtk_text_tag_table_new(); _result = toRPointerWithFinalizer(ans, "GtkTextTagTable", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_add(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); gtk_text_tag_table_add(object, tag); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); gtk_text_tag_table_remove(object, tag); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); GtkTextTag* ans; ans = gtk_text_tag_table_lookup(object, name); _result = toRPointerWithRef(ans, "GtkTextTag"); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTableForeach func = ((GtkTextTagTableForeach)S_GtkTextTagTableForeach); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); gtk_text_tag_table_foreach(object, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); gint ans; ans = gtk_text_tag_table_get_size(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_text_view_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_text_view_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_text_view_new_with_buffer(USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "buffer", NULL }; USER_OBJECT_ args[] = { s_buffer }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_TEXT_VIEW, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_text_view_set_buffer(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gtk_text_view_set_buffer(object, buffer); return(_result); } USER_OBJECT_ S_gtk_text_view_get_buffer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextBuffer* ans; ans = gtk_text_view_get_buffer(object); _result = toRPointerWithRef(ans, "GtkTextBuffer"); return(_result); } USER_OBJECT_ S_gtk_text_view_scroll_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_within_margin, USER_OBJECT_ s_use_align, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gdouble within_margin = ((gdouble)asCNumeric(s_within_margin)); gboolean use_align = ((gboolean)asCLogical(s_use_align)); gdouble xalign = ((gdouble)asCNumeric(s_xalign)); gdouble yalign = ((gdouble)asCNumeric(s_yalign)); gboolean ans; ans = gtk_text_view_scroll_to_iter(object, iter, within_margin, use_align, xalign, yalign); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_scroll_to_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_within_margin, USER_OBJECT_ s_use_align, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); gdouble within_margin = ((gdouble)asCNumeric(s_within_margin)); gboolean use_align = ((gboolean)asCLogical(s_use_align)); gdouble xalign = ((gdouble)asCNumeric(s_xalign)); gdouble yalign = ((gdouble)asCNumeric(s_yalign)); gtk_text_view_scroll_to_mark(object, mark, within_margin, use_align, xalign, yalign); return(_result); } USER_OBJECT_ S_gtk_text_view_scroll_mark_onscreen(USER_OBJECT_ s_object, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); gtk_text_view_scroll_mark_onscreen(object, mark); return(_result); } USER_OBJECT_ S_gtk_text_view_move_mark_onscreen(USER_OBJECT_ s_object, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); gboolean ans; ans = gtk_text_view_move_mark_onscreen(object, mark); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_place_cursor_onscreen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_text_view_place_cursor_onscreen(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_get_visible_rect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GdkRectangle* visible_rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_text_view_get_visible_rect(object, visible_rect); _result = retByVal(_result, "visible.rect", asRGdkRectangle(visible_rect), NULL); CLEANUP(g_free, visible_rect);; return(_result); } USER_OBJECT_ S_gtk_text_view_set_cursor_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_text_view_set_cursor_visible(object, setting); return(_result); } USER_OBJECT_ S_gtk_text_view_get_cursor_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_text_view_get_cursor_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_get_iter_location(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); const GtkTextIter* iter = ((const GtkTextIter*)getPtrValue(s_iter)); GdkRectangle* location = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_text_view_get_iter_location(object, iter, location); _result = retByVal(_result, "location", asRGdkRectangle(location), NULL); CLEANUP(g_free, location);; return(_result); } USER_OBJECT_ S_gtk_text_view_get_iter_at_location(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkTextIter iter; gtk_text_view_get_iter_at_location(object, &iter, x, y); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_text_view_get_iter_at_position(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkTextIter iter; gint trailing; gtk_text_view_get_iter_at_position(object, &iter, &trailing, x, y); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_text_iter_copy(&iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "trailing", asRInteger(trailing), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_view_get_line_yrange(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); const GtkTextIter* iter = ((const GtkTextIter*)getPtrValue(s_iter)); gint y; gint height; gtk_text_view_get_line_yrange(object, iter, &y, &height); _result = retByVal(_result, "y", asRInteger(y), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_view_get_line_at_y(USER_OBJECT_ s_object, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint y = ((gint)asCInteger(s_y)); GtkTextIter target_iter; gint line_top; gtk_text_view_get_line_at_y(object, &target_iter, y, &line_top); _result = retByVal(_result, "target.iter", toRPointerWithFinalizer(&target_iter ? gtk_text_iter_copy(&target_iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free), "line.top", asRInteger(line_top), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_view_buffer_to_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_win, USER_OBJECT_ s_buffer_x, USER_OBJECT_ s_buffer_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextWindowType win = ((GtkTextWindowType)asCEnum(s_win, GTK_TYPE_TEXT_WINDOW_TYPE)); gint buffer_x = ((gint)asCInteger(s_buffer_x)); gint buffer_y = ((gint)asCInteger(s_buffer_y)); gint window_x; gint window_y; gtk_text_view_buffer_to_window_coords(object, win, buffer_x, buffer_y, &window_x, &window_y); _result = retByVal(_result, "window.x", asRInteger(window_x), "window.y", asRInteger(window_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_view_window_to_buffer_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_win, USER_OBJECT_ s_window_x, USER_OBJECT_ s_window_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextWindowType win = ((GtkTextWindowType)asCEnum(s_win, GTK_TYPE_TEXT_WINDOW_TYPE)); gint window_x = ((gint)asCInteger(s_window_x)); gint window_y = ((gint)asCInteger(s_window_y)); gint buffer_x; gint buffer_y; gtk_text_view_window_to_buffer_coords(object, win, window_x, window_y, &buffer_x, &buffer_y); _result = retByVal(_result, "buffer.x", asRInteger(buffer_x), "buffer.y", asRInteger(buffer_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_text_view_get_window(USER_OBJECT_ s_object, USER_OBJECT_ s_win) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextWindowType win = ((GtkTextWindowType)asCEnum(s_win, GTK_TYPE_TEXT_WINDOW_TYPE)); GdkWindow* ans; ans = gtk_text_view_get_window(object, win); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gtk_text_view_get_window_type(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkTextWindowType ans; ans = gtk_text_view_get_window_type(object, window); _result = asREnum(ans, GTK_TYPE_TEXT_WINDOW_TYPE); return(_result); } USER_OBJECT_ S_gtk_text_view_set_border_window_size(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextWindowType type = ((GtkTextWindowType)asCEnum(s_type, GTK_TYPE_TEXT_WINDOW_TYPE)); gint size = ((gint)asCInteger(s_size)); gtk_text_view_set_border_window_size(object, type, size); return(_result); } USER_OBJECT_ S_gtk_text_view_get_border_window_size(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextWindowType type = ((GtkTextWindowType)asCEnum(s_type, GTK_TYPE_TEXT_WINDOW_TYPE)); gint ans; ans = gtk_text_view_get_border_window_size(object, type); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_forward_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_view_forward_display_line(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_backward_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_view_backward_display_line(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_forward_display_line_end(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_view_forward_display_line_end(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_backward_display_line_start(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_view_backward_display_line_start(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_starts_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); const GtkTextIter* iter = ((const GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_text_view_starts_display_line(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_move_visually(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = gtk_text_view_move_visually(object, iter, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_add_child_at_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_anchor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkTextChildAnchor* anchor = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_anchor)); gtk_text_view_add_child_at_anchor(object, child, anchor); return(_result); } USER_OBJECT_ S_gtk_text_view_add_child_in_window(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_which_window, USER_OBJECT_ s_xpos, USER_OBJECT_ s_ypos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkTextWindowType which_window = ((GtkTextWindowType)asCEnum(s_which_window, GTK_TYPE_TEXT_WINDOW_TYPE)); gint xpos = ((gint)asCInteger(s_xpos)); gint ypos = ((gint)asCInteger(s_ypos)); gtk_text_view_add_child_in_window(object, child, which_window, xpos, ypos); return(_result); } USER_OBJECT_ S_gtk_text_view_move_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_xpos, USER_OBJECT_ s_ypos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint xpos = ((gint)asCInteger(s_xpos)); gint ypos = ((gint)asCInteger(s_ypos)); gtk_text_view_move_child(object, child, xpos, ypos); return(_result); } USER_OBJECT_ S_gtk_text_view_set_wrap_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkWrapMode wrap_mode = ((GtkWrapMode)asCEnum(s_wrap_mode, GTK_TYPE_WRAP_MODE)); gtk_text_view_set_wrap_mode(object, wrap_mode); return(_result); } USER_OBJECT_ S_gtk_text_view_get_wrap_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkWrapMode ans; ans = gtk_text_view_get_wrap_mode(object); _result = asREnum(ans, GTK_TYPE_WRAP_MODE); return(_result); } USER_OBJECT_ S_gtk_text_view_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_text_view_set_editable(object, setting); return(_result); } USER_OBJECT_ S_gtk_text_view_get_editable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_text_view_get_editable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_overwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_overwrite) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean overwrite = ((gboolean)asCLogical(s_overwrite)); gtk_text_view_set_overwrite(object, overwrite); return(_result); } USER_OBJECT_ S_gtk_text_view_get_overwrite(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_text_view_get_overwrite(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_accepts_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_accepts_tab) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean accepts_tab = ((gboolean)asCLogical(s_accepts_tab)); gtk_text_view_set_accepts_tab(object, accepts_tab); return(_result); } USER_OBJECT_ S_gtk_text_view_get_accepts_tab(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_text_view_get_accepts_tab(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_pixels_above_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_above_lines) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint pixels_above_lines = ((gint)asCInteger(s_pixels_above_lines)); gtk_text_view_set_pixels_above_lines(object, pixels_above_lines); return(_result); } USER_OBJECT_ S_gtk_text_view_get_pixels_above_lines(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_pixels_above_lines(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_pixels_below_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_below_lines) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint pixels_below_lines = ((gint)asCInteger(s_pixels_below_lines)); gtk_text_view_set_pixels_below_lines(object, pixels_below_lines); return(_result); } USER_OBJECT_ S_gtk_text_view_get_pixels_below_lines(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_pixels_below_lines(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_pixels_inside_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_inside_wrap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint pixels_inside_wrap = ((gint)asCInteger(s_pixels_inside_wrap)); gtk_text_view_set_pixels_inside_wrap(object, pixels_inside_wrap); return(_result); } USER_OBJECT_ S_gtk_text_view_get_pixels_inside_wrap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_pixels_inside_wrap(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_justification(USER_OBJECT_ s_object, USER_OBJECT_ s_justification) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkJustification justification = ((GtkJustification)asCEnum(s_justification, GTK_TYPE_JUSTIFICATION)); gtk_text_view_set_justification(object, justification); return(_result); } USER_OBJECT_ S_gtk_text_view_get_justification(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkJustification ans; ans = gtk_text_view_get_justification(object); _result = asREnum(ans, GTK_TYPE_JUSTIFICATION); return(_result); } USER_OBJECT_ S_gtk_text_view_set_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_left_margin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint left_margin = ((gint)asCInteger(s_left_margin)); gtk_text_view_set_left_margin(object, left_margin); return(_result); } USER_OBJECT_ S_gtk_text_view_get_left_margin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_left_margin(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_right_margin) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint right_margin = ((gint)asCInteger(s_right_margin)); gtk_text_view_set_right_margin(object, right_margin); return(_result); } USER_OBJECT_ S_gtk_text_view_get_right_margin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_right_margin(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint indent = ((gint)asCInteger(s_indent)); gtk_text_view_set_indent(object, indent); return(_result); } USER_OBJECT_ S_gtk_text_view_get_indent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_text_view_get_indent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_text_view_set_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_tabs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); PangoTabArray* tabs = ((PangoTabArray*)getPtrValue(s_tabs)); gtk_text_view_set_tabs(object, tabs); return(_result); } USER_OBJECT_ S_gtk_text_view_get_tabs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); PangoTabArray* ans; ans = gtk_text_view_get_tabs(object); _result = toRPointerWithFinalizer(ans, "PangoTabArray", (RPointerFinalizer) pango_tab_array_free); return(_result); } USER_OBJECT_ S_gtk_text_view_get_default_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkTextAttributes* ans; ans = gtk_text_view_get_default_attributes(object); _result = toRPointerWithFinalizer(ans, "GtkTextAttributes", (RPointerFinalizer) gtk_text_attributes_unref); return(_result); } USER_OBJECT_ S_gtk_tips_query_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tips_query_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tips_query_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_tips_query_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tips_query_start_query(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); gtk_tips_query_start_query(object); return(_result); } USER_OBJECT_ S_gtk_tips_query_stop_query(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); gtk_tips_query_stop_query(object); return(_result); } USER_OBJECT_ S_gtk_tips_query_set_caller(USER_OBJECT_ s_object, USER_OBJECT_ s_caller) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); GtkWidget* caller = GTK_WIDGET(getPtrValue(s_caller)); gtk_tips_query_set_caller(object, caller); return(_result); } USER_OBJECT_ S_gtk_tips_query_set_labels(USER_OBJECT_ s_object, USER_OBJECT_ s_label_inactive, USER_OBJECT_ s_label_no_tip) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); const gchar* label_inactive = ((const gchar*)asCString(s_label_inactive)); const gchar* label_no_tip = ((const gchar*)asCString(s_label_no_tip)); gtk_tips_query_set_labels(object, label_inactive, label_no_tip); return(_result); } USER_OBJECT_ S_gtk_toggle_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_toggle_action_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "name", "label", "tooltip", "stock_id", NULL }; USER_OBJECT_ args[] = { s_name, s_label, s_tooltip, s_stock_id }; GtkToggleAction* ans; ans = propertyConstructor(GTK_TYPE_TOGGLE_ACTION, prop_names, args, 4); _result = toRPointerWithFinalizer(ans, "GtkToggleAction", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_toggle_action_toggled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); gtk_toggle_action_toggled(object); return(_result); } USER_OBJECT_ S_gtk_toggle_action_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_toggle_action_set_active(object, is_active); return(_result); } USER_OBJECT_ S_gtk_toggle_action_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_action_get_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_action_set_draw_as_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_as_radio) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); gboolean draw_as_radio = ((gboolean)asCLogical(s_draw_as_radio)); gtk_toggle_action_set_draw_as_radio(object, draw_as_radio); return(_result); } USER_OBJECT_ S_gtk_toggle_action_get_draw_as_radio(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_action_get_draw_as_radio(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_toggle_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_toggle_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_toggle_button_new_with_label(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_toggle_button_new_with_label(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_toggle_button_new_with_mnemonic(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_toggle_button_new_with_mnemonic(label); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_toggle_button_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_indicator) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean draw_indicator = ((gboolean)asCLogical(s_draw_indicator)); gtk_toggle_button_set_mode(object, draw_indicator); return(_result); } USER_OBJECT_ S_gtk_toggle_button_get_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_button_get_mode(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_button_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_toggle_button_set_active(object, is_active); return(_result); } USER_OBJECT_ S_gtk_toggle_button_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_button_get_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_button_toggled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gtk_toggle_button_toggled(object); return(_result); } USER_OBJECT_ S_gtk_toggle_button_set_inconsistent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_toggle_button_set_inconsistent(object, setting); return(_result); } USER_OBJECT_ S_gtk_toggle_button_get_inconsistent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_button_get_inconsistent(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_button_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_toggle_button_set_state(object, is_active); return(_result); } USER_OBJECT_ S_gtk_toggle_tool_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_toggle_tool_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_toggle_tool_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* ans; ans = gtk_toggle_tool_button_new(); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_toggle_tool_button_new_from_stock(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkToolItem* ans; ans = gtk_toggle_tool_button_new_from_stock(stock_id); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_toggle_tool_button_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleToolButton* object = GTK_TOGGLE_TOOL_BUTTON(getPtrValue(s_object)); gboolean is_active = ((gboolean)asCLogical(s_is_active)); gtk_toggle_tool_button_set_active(object, is_active); return(_result); } USER_OBJECT_ S_gtk_toggle_tool_button_get_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleToolButton* object = GTK_TOGGLE_TOOL_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_toggle_tool_button_get_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_toolbar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_toolbar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolItem* item = GTK_TOOL_ITEM(getPtrValue(s_item)); gint pos = ((gint)asCInteger(s_pos)); gtk_toolbar_insert(object, item, pos); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_item_index(USER_OBJECT_ s_object, USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolItem* item = GTK_TOOL_ITEM(getPtrValue(s_item)); gint ans; ans = gtk_toolbar_get_item_index(object, item); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_n_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint ans; ans = gtk_toolbar_get_n_items(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_nth_item(USER_OBJECT_ s_object, USER_OBJECT_ s_n) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint n = ((gint)asCInteger(s_n)); GtkToolItem* ans; ans = gtk_toolbar_get_nth_item(object, n); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_drop_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint ans; ans = gtk_toolbar_get_drop_index(object, x, y); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_drop_highlight_item(USER_OBJECT_ s_object, USER_OBJECT_ s_tool_item, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolItem* tool_item = GET_LENGTH(s_tool_item) == 0 ? NULL : GTK_TOOL_ITEM(getPtrValue(s_tool_item)); gint index = ((gint)asCInteger(s_index)); gtk_toolbar_set_drop_highlight_item(object, tool_item, index); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_show_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_show_arrow) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gboolean show_arrow = ((gboolean)asCLogical(s_show_arrow)); gtk_toolbar_set_show_arrow(object, show_arrow); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_show_arrow(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gboolean ans; ans = gtk_toolbar_get_show_arrow(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_relief_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkReliefStyle ans; ans = gtk_toolbar_get_relief_style(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); return(_result); } USER_OBJECT_ S_gtk_toolbar_append_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); GtkWidget* ans; ans = gtk_toolbar_append_item(object, text, tooltip_text, tooltip_private_text, icon, callback, user_data); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_prepend_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); GtkWidget* ans; ans = gtk_toolbar_prepend_item(object, text, tooltip_text, tooltip_private_text, icon, callback, user_data); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); gint position = ((gint)asCInteger(s_position)); GtkWidget* ans; ans = gtk_toolbar_insert_item(object, text, tooltip_text, tooltip_private_text, icon, callback, user_data, position); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); gint position = ((gint)asCInteger(s_position)); GtkWidget* ans; ans = gtk_toolbar_insert_stock(object, stock_id, tooltip_text, tooltip_private_text, callback, user_data, position); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_append_space(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gtk_toolbar_append_space(object); return(_result); } USER_OBJECT_ S_gtk_toolbar_prepend_space(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gtk_toolbar_prepend_space(object); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_space(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_toolbar_insert_space(object, position); return(_result); } USER_OBJECT_ S_gtk_toolbar_remove_space(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gtk_toolbar_remove_space(object, position); return(_result); } USER_OBJECT_ S_gtk_toolbar_append_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarChildType type = ((GtkToolbarChildType)asCEnum(s_type, GTK_TYPE_TOOLBAR_CHILD_TYPE)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); GtkWidget* ans; ans = gtk_toolbar_append_element(object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_prepend_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarChildType type = ((GtkToolbarChildType)asCEnum(s_type, GTK_TYPE_TOOLBAR_CHILD_TYPE)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); GtkWidget* ans; ans = gtk_toolbar_prepend_element(object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSignalFunc callback = ((GtkSignalFunc)S_GtkSignalFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarChildType type = ((GtkToolbarChildType)asCEnum(s_type, GTK_TYPE_TOOLBAR_CHILD_TYPE)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* text = ((const char*)asCString(s_text)); const char* tooltip_text = ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = ((const char*)asCString(s_tooltip_private_text)); GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)); gint position = ((gint)asCInteger(s_position)); GtkWidget* ans; ans = gtk_toolbar_insert_element(object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data, position); _result = toRPointerWithSink(ans, "GtkWidget"); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_toolbar_append_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* tooltip_text = GET_LENGTH(s_tooltip_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = GET_LENGTH(s_tooltip_private_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_private_text)); gtk_toolbar_append_widget(object, widget, tooltip_text, tooltip_private_text); return(_result); } USER_OBJECT_ S_gtk_toolbar_prepend_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* tooltip_text = GET_LENGTH(s_tooltip_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = GET_LENGTH(s_tooltip_private_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_private_text)); gtk_toolbar_prepend_widget(object, widget, tooltip_text, tooltip_private_text); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const char* tooltip_text = GET_LENGTH(s_tooltip_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_text)); const char* tooltip_private_text = GET_LENGTH(s_tooltip_private_text) == 0 ? NULL : ((const char*)asCString(s_tooltip_private_text)); gint position = ((gint)asCInteger(s_position)); gtk_toolbar_insert_widget(object, widget, tooltip_text, tooltip_private_text, position); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_toolbar_set_orientation(object, orientation); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarStyle style = ((GtkToolbarStyle)asCEnum(s_style, GTK_TYPE_TOOLBAR_STYLE)); gtk_toolbar_set_style(object, style); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_icon_size(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkIconSize icon_size = ((GtkIconSize)asCEnum(s_icon_size, GTK_TYPE_ICON_SIZE)); gtk_toolbar_set_icon_size(object, icon_size); return(_result); } USER_OBJECT_ S_gtk_toolbar_set_tooltips(USER_OBJECT_ s_object, USER_OBJECT_ s_enable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gboolean enable = ((gboolean)asCLogical(s_enable)); gtk_toolbar_set_tooltips(object, enable); return(_result); } USER_OBJECT_ S_gtk_toolbar_unset_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gtk_toolbar_unset_style(object); return(_result); } USER_OBJECT_ S_gtk_toolbar_unset_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gtk_toolbar_unset_icon_size(object); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_toolbar_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarStyle ans; ans = gtk_toolbar_get_style(object); _result = asREnum(ans, GTK_TYPE_TOOLBAR_STYLE); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkIconSize ans; ans = gtk_toolbar_get_icon_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); return(_result); } USER_OBJECT_ S_gtk_toolbar_get_tooltips(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gboolean ans; ans = gtk_toolbar_get_tooltips(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tool_button_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_new(USER_OBJECT_ s_icon_widget, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* icon_widget = GET_LENGTH(s_icon_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_icon_widget)); const gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((const gchar*)asCString(s_label)); GtkToolItem* ans; ans = gtk_tool_button_new(icon_widget, label); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_tool_button_new_from_stock(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkToolItem* ans; ans = gtk_tool_button_new_from_stock(stock_id); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((const gchar*)asCString(s_label)); gtk_tool_button_set_label(object, label); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_tool_button_get_label(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); gboolean use_underline = ((gboolean)asCLogical(s_use_underline)); gtk_tool_button_set_use_underline(object, use_underline); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_use_underline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_button_get_use_underline(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_stock_id(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* stock_id = GET_LENGTH(s_stock_id) == 0 ? NULL : ((const gchar*)asCString(s_stock_id)); gtk_tool_button_set_stock_id(object, stock_id); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gtk_tool_button_set_icon_name(object, icon_name); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_tool_button_get_icon_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_stock_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_tool_button_get_stock_id(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_icon_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* icon_widget = GET_LENGTH(s_icon_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_icon_widget)); gtk_tool_button_set_icon_widget(object, icon_widget); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_icon_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tool_button_get_icon_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tool_button_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* label_widget = GET_LENGTH(s_label_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_label_widget)); gtk_tool_button_set_label_widget(object, label_widget); return(_result); } USER_OBJECT_ S_gtk_tool_button_get_label_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tool_button_get_label_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tool_item_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* ans; ans = gtk_tool_item_new(); _result = toRPointerWithSink(ans, "GtkToolItem"); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean homogeneous = ((gboolean)asCLogical(s_homogeneous)); gtk_tool_item_set_homogeneous(object, homogeneous); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_homogeneous(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_homogeneous(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tool_item_set_expand(object, expand); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_expand(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_expand(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltips, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkTooltips* tooltips = GTK_TOOLTIPS(getPtrValue(s_tooltips)); const gchar* tip_text = GET_LENGTH(s_tip_text) == 0 ? NULL : ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = GET_LENGTH(s_tip_private) == 0 ? NULL : ((const gchar*)asCString(s_tip_private)); gtk_tool_item_set_tooltip(object, tooltips, tip_text, tip_private); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_use_drag_window(USER_OBJECT_ s_object, USER_OBJECT_ s_use_drag_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean use_drag_window = ((gboolean)asCLogical(s_use_drag_window)); gtk_tool_item_set_use_drag_window(object, use_drag_window); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_use_drag_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_use_drag_window(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_visible_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean visible_horizontal = ((gboolean)asCLogical(s_visible_horizontal)); gtk_tool_item_set_visible_horizontal(object, visible_horizontal); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_visible_horizontal(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_visible_horizontal(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_visible_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_vertical) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean visible_vertical = ((gboolean)asCLogical(s_visible_vertical)); gtk_tool_item_set_visible_vertical(object, visible_vertical); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_visible_vertical(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_visible_vertical(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_is_important(USER_OBJECT_ s_object, USER_OBJECT_ s_is_important) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean is_important = ((gboolean)asCLogical(s_is_important)); gtk_tool_item_set_is_important(object, is_important); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_is_important(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_get_is_important(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkIconSize ans; ans = gtk_tool_item_get_icon_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_tool_item_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_toolbar_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkToolbarStyle ans; ans = gtk_tool_item_get_toolbar_style(object); _result = asREnum(ans, GTK_TYPE_TOOLBAR_STYLE); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_relief_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkReliefStyle ans; ans = gtk_tool_item_get_relief_style(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); return(_result); } USER_OBJECT_ S_gtk_tool_item_retrieve_proxy_menu_item(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tool_item_retrieve_proxy_menu_item(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tool_item_set_proxy_menu_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item_id, USER_OBJECT_ s_menu_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); const gchar* menu_item_id = ((const gchar*)asCString(s_menu_item_id)); GtkWidget* menu_item = GET_LENGTH(s_menu_item) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_menu_item)); gtk_tool_item_set_proxy_menu_item(object, menu_item_id, menu_item); return(_result); } USER_OBJECT_ S_gtk_tool_item_get_proxy_menu_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); const gchar* menu_item_id = ((const gchar*)asCString(s_menu_item_id)); GtkWidget* ans; ans = gtk_tool_item_get_proxy_menu_item(object, menu_item_id); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tool_item_rebuild_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gtk_tool_item_rebuild_menu(object); return(_result); } USER_OBJECT_ S_gtk_tooltips_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tooltips_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tooltips_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* ans; ans = gtk_tooltips_new(); _result = toRPointerWithSink(ans, "GtkTooltips"); return(_result); } USER_OBJECT_ S_gtk_tooltips_enable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* object = GTK_TOOLTIPS(getPtrValue(s_object)); gtk_tooltips_enable(object); return(_result); } USER_OBJECT_ S_gtk_tooltips_disable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* object = GTK_TOOLTIPS(getPtrValue(s_object)); gtk_tooltips_disable(object); return(_result); } USER_OBJECT_ S_gtk_tooltips_set_delay(USER_OBJECT_ s_object, USER_OBJECT_ s_delay) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* object = GTK_TOOLTIPS(getPtrValue(s_object)); guint delay = ((guint)asCNumeric(s_delay)); gtk_tooltips_set_delay(object, delay); return(_result); } USER_OBJECT_ S_gtk_tooltips_set_tip(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* object = GTK_TOOLTIPS(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* tip_text = GET_LENGTH(s_tip_text) == 0 ? NULL : ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = GET_LENGTH(s_tip_private) == 0 ? NULL : ((const gchar*)asCString(s_tip_private)); gtk_tooltips_set_tip(object, widget, tip_text, tip_private); return(_result); } USER_OBJECT_ S_gtk_tooltips_data_get(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GtkTooltipsData* ans; ans = gtk_tooltips_data_get(widget); _result = toRPointer(ans, "GtkTooltipsData"); return(_result); } USER_OBJECT_ S_gtk_tooltips_force_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTooltips* object = GTK_TOOLTIPS(getPtrValue(s_object)); gtk_tooltips_force_window(object); return(_result); } USER_OBJECT_ S_gtk_tooltips_get_info_from_tip_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; GtkTooltips* tooltips = NULL; GtkWidget* current_widget = NULL; ans = gtk_tooltips_get_info_from_tip_window(object, &tooltips, ¤t_widget); _result = asRLogical(ans); _result = retByVal(_result, "tooltips", toRPointerWithSink(tooltips, "GtkTooltips"), "current.widget", toRPointerWithSink(current_widget, "GtkWidget"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_drag_source_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_row_draggable(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_tree_drag_source_row_draggable(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_drag_data_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_tree_drag_source_drag_data_delete(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_drag_data_get(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; GtkSelectionData selection_data; ans = gtk_tree_drag_source_drag_data_get(object, path, &selection_data); _result = asRLogical(ans); _result = retByVal(_result, "selection.data", toRPointerWithFinalizer(&selection_data ? gtk_selection_data_copy(&selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_drag_dest_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_drag_dest_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_dest_drag_data_received(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_selection_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragDest* object = GTK_TREE_DRAG_DEST(getPtrValue(s_object)); GtkTreePath* dest = ((GtkTreePath*)getPtrValue(s_dest)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); gboolean ans; ans = gtk_tree_drag_dest_drag_data_received(object, dest, selection_data); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_dest_row_drop_possible(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_path, USER_OBJECT_ s_selection_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragDest* object = GTK_TREE_DRAG_DEST(getPtrValue(s_object)); GtkTreePath* dest_path = ((GtkTreePath*)getPtrValue(s_dest_path)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); gboolean ans; ans = gtk_tree_drag_dest_row_drop_possible(object, dest_path, selection_data); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_set_row_drag_data(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_model, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GtkTreeModel* tree_model = GTK_TREE_MODEL(getPtrValue(s_tree_model)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_tree_set_row_drag_data(object, tree_model, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_get_row_drag_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gboolean ans; GtkTreeModel* tree_model = NULL; GtkTreePath* path = NULL; ans = gtk_tree_get_row_drag_data(object, &tree_model, &path); _result = asRLogical(ans); _result = retByVal(_result, "tree.model", toRPointerWithRef(tree_model, "GtkTreeModel"), "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_path_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* ans; ans = gtk_tree_path_new(); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_path_new_from_string(USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* path = ((gchar*)asCString(s_path)); GtkTreePath* ans; ans = gtk_tree_path_new_from_string(path); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_path_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gchar* ans; ans = gtk_tree_path_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_tree_path_new_first(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* ans; ans = gtk_tree_path_new_first(); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_path_append_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gtk_tree_path_append_index(object, index); return(_result); } USER_OBJECT_ S_gtk_tree_path_prepend_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gtk_tree_path_prepend_index(object, index); return(_result); } USER_OBJECT_ S_gtk_tree_path_get_depth(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gint ans; ans = gtk_tree_path_get_depth(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_path_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gtk_tree_path_free(object); return(_result); } USER_OBJECT_ S_gtk_tree_path_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); GtkTreePath* ans; ans = gtk_tree_path_copy(object); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_path_compare(USER_OBJECT_ s_object, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); const GtkTreePath* b = ((const GtkTreePath*)getPtrValue(s_b)); gint ans; ans = gtk_tree_path_compare(object, b); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_path_next(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gtk_tree_path_next(object); return(_result); } USER_OBJECT_ S_gtk_tree_path_prev(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gint ans; ans = gtk_tree_path_prev(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_path_up(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gint ans; ans = gtk_tree_path_up(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_path_down(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); gtk_tree_path_down(object); return(_result); } USER_OBJECT_ S_gtk_tree_path_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); GtkTreePath* descendant = ((GtkTreePath*)getPtrValue(s_descendant)); gboolean ans; ans = gtk_tree_path_is_ancestor(object, descendant); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_path_is_descendant(USER_OBJECT_ s_object, USER_OBJECT_ s_ancestor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreePath* object = ((GtkTreePath*)getPtrValue(s_object)); GtkTreePath* ancestor = ((GtkTreePath*)getPtrValue(s_ancestor)); gboolean ans; ans = gtk_tree_path_is_descendant(object, ancestor); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_row_reference_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_new(USER_OBJECT_ s_model, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* model = GTK_TREE_MODEL(getPtrValue(s_model)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeRowReference* ans; ans = gtk_tree_row_reference_new(model, path); _result = toRPointerWithFinalizer(ans, "GtkTreeRowReference", (RPointerFinalizer) gtk_tree_row_reference_free); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_new_proxy(USER_OBJECT_ s_proxy, USER_OBJECT_ s_model, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* proxy = G_OBJECT(getPtrValue(s_proxy)); GtkTreeModel* model = GTK_TREE_MODEL(getPtrValue(s_model)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeRowReference* ans; ans = gtk_tree_row_reference_new_proxy(proxy, model, path); _result = toRPointerWithFinalizer(ans, "GtkTreeRowReference", (RPointerFinalizer) gtk_tree_row_reference_free); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_get_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeRowReference* object = ((GtkTreeRowReference*)getPtrValue(s_object)); GtkTreePath* ans; ans = gtk_tree_row_reference_get_path(object); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeRowReference* object = ((GtkTreeRowReference*)getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_tree_row_reference_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_valid(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeRowReference* object = ((GtkTreeRowReference*)getPtrValue(s_object)); gboolean ans; ans = gtk_tree_row_reference_valid(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeRowReference* object = ((GtkTreeRowReference*)getPtrValue(s_object)); GtkTreeRowReference* ans; ans = gtk_tree_row_reference_copy(object); _result = toRPointerWithFinalizer(ans, "GtkTreeRowReference", (RPointerFinalizer) gtk_tree_row_reference_free); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeRowReference* object = ((GtkTreeRowReference*)getPtrValue(s_object)); gtk_tree_row_reference_free(object); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_inserted(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* proxy = G_OBJECT(getPtrValue(s_proxy)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_row_reference_inserted(proxy, path); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_deleted(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* proxy = G_OBJECT(getPtrValue(s_proxy)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_row_reference_deleted(proxy, path); return(_result); } USER_OBJECT_ S_gtk_tree_row_reference_reordered(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path, USER_OBJECT_ s_iter, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* proxy = G_OBJECT(getPtrValue(s_proxy)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); gtk_tree_row_reference_reordered(proxy, path, iter, new_order); return(_result); } USER_OBJECT_ S_gtk_tree_iter_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIter* object = ((GtkTreeIter*)getPtrValue(s_object)); GtkTreeIter* ans; ans = gtk_tree_iter_copy(object); _result = toRPointerWithFinalizer(ans, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free); return(_result); } USER_OBJECT_ S_gtk_tree_iter_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIter* object = ((GtkTreeIter*)getPtrValue(s_object)); gtk_tree_iter_free(object); return(_result); } USER_OBJECT_ S_gtk_tree_iter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_iter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_model_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_flags(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeModelFlags ans; ans = gtk_tree_model_get_flags(object); _result = asRFlag(ans, GTK_TYPE_TREE_MODEL_FLAGS); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_n_columns(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gint ans; ans = gtk_tree_model_get_n_columns(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_column_type(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); GType ans; ans = gtk_tree_model_get_column_type(object, index); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_get_iter(object, &iter, path); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_get_iter_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_path_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); const gchar* path_string = ((const gchar*)asCString(s_path_string)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_get_iter_from_string(object, &iter, path_string); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_get_string_from_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gchar* ans; ans = gtk_tree_model_get_string_from_iter(object, iter); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_tree_model_get_iter_root(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_get_iter_root(object, &iter); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_get_iter_first(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_get_iter_first(object, &iter); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_get_path(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* ans; ans = gtk_tree_model_get_path(object, iter); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_get_value(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint column = ((gint)asCInteger(s_column)); GValue* value = ((GValue *)g_new0(GValue, 1)); gtk_tree_model_get_value(object, iter, column, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_next(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_model_iter_next(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_children(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* parent = GET_LENGTH(s_parent) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_parent)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_iter_children(object, &iter, parent); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_has_child(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_model_iter_has_child(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_n_children(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = GET_LENGTH(s_iter) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_iter)); gint ans; ans = gtk_tree_model_iter_n_children(object, iter); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_nth_child(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_n) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* parent = GET_LENGTH(s_parent) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_parent)); gint n = ((gint)asCInteger(s_n)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_iter_nth_child(object, &iter, parent, n); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iter_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* child = ((GtkTreeIter*)getPtrValue(s_child)); gboolean ans; GtkTreeIter iter; ans = gtk_tree_model_iter_parent(object, &iter, child); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_ref_node(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_model_ref_node(object, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_unref_node(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_model_unref_node(object, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelForeachFunc func = ((GtkTreeModelForeachFunc)S_GtkTreeModelForeachFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gtk_tree_model_foreach(object, func, user_data); R_freeCBData(user_data); return(_result); } USER_OBJECT_ S_gtk_tree_model_row_changed(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_model_row_changed(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_row_inserted(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_model_row_inserted(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_row_has_child_toggled(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_model_row_has_child_toggled(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_row_deleted(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_model_row_deleted(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_model_rows_reordered(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); gtk_tree_model_rows_reordered(object, path, iter, new_order); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_model_filter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_new(USER_OBJECT_ s_child_model, USER_OBJECT_ s_root) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModel* child_model = GTK_TREE_MODEL(getPtrValue(s_child_model)); GtkTreePath* root = GET_LENGTH(s_root) == 0 ? NULL : ((GtkTreePath*)getPtrValue(s_root)); GtkTreeModel* ans; ans = gtk_tree_model_filter_new(child_model, root); _result = toRPointerWithFinalizer(ans, "GtkTreeModel", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_set_visible_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilterVisibleFunc func = ((GtkTreeModelFilterVisibleFunc)S_GtkTreeModelFilterVisibleFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_model_filter_set_visible_func(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_set_modify_func(USER_OBJECT_ s_object, USER_OBJECT_ s_types, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilterModifyFunc func = ((GtkTreeModelFilterModifyFunc)S_GtkTreeModelFilterModifyFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); gint n_columns = ((gint)GET_LENGTH(s_types)); GType* types = ((GType*)asCArray(s_types, GType, asCGType)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_model_filter_set_modify_func(object, n_columns, types, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_set_visible_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_tree_model_filter_set_visible_column(object, column); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_tree_model_filter_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_convert_child_iter_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_child_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkTreeIter* child_iter = ((GtkTreeIter*)getPtrValue(s_child_iter)); GtkTreeIter filter_iter; gtk_tree_model_filter_convert_child_iter_to_iter(object, &filter_iter, child_iter); _result = retByVal(_result, "filter.iter", toRPointerWithFinalizer(&filter_iter ? gtk_tree_iter_copy(&filter_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_convert_iter_to_child_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkTreeIter* filter_iter = ((GtkTreeIter*)getPtrValue(s_filter_iter)); GtkTreeIter child_iter; gtk_tree_model_filter_convert_iter_to_child_iter(object, &child_iter, filter_iter); _result = retByVal(_result, "child.iter", toRPointerWithFinalizer(&child_iter ? gtk_tree_iter_copy(&child_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_convert_child_path_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_child_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkTreePath* child_path = ((GtkTreePath*)getPtrValue(s_child_path)); GtkTreePath* ans; ans = gtk_tree_model_filter_convert_child_path_to_path(object, child_path); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_convert_path_to_child_path(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); GtkTreePath* filter_path = ((GtkTreePath*)getPtrValue(s_filter_path)); GtkTreePath* ans; ans = gtk_tree_model_filter_convert_path_to_child_path(object, filter_path); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_refilter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); gtk_tree_model_filter_refilter(object); return(_result); } USER_OBJECT_ S_gtk_tree_model_filter_clear_cache(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelFilter* object = GTK_TREE_MODEL_FILTER(getPtrValue(s_object)); gtk_tree_model_filter_clear_cache(object); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_model_sort_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_new_with_model(USER_OBJECT_ s_child_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "model", NULL }; USER_OBJECT_ args[] = { s_child_model }; GtkTreeModel* ans; ans = propertyConstructor(GTK_TYPE_TREE_MODEL_SORT, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GtkTreeModel", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_tree_model_sort_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_convert_child_path_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_child_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreePath* child_path = ((GtkTreePath*)getPtrValue(s_child_path)); GtkTreePath* ans; ans = gtk_tree_model_sort_convert_child_path_to_path(object, child_path); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_convert_child_iter_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_child_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreeIter* child_iter = ((GtkTreeIter*)getPtrValue(s_child_iter)); GtkTreeIter sort_iter; gtk_tree_model_sort_convert_child_iter_to_iter(object, &sort_iter, child_iter); _result = retByVal(_result, "sort.iter", toRPointerWithFinalizer(&sort_iter ? gtk_tree_iter_copy(&sort_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_convert_path_to_child_path(USER_OBJECT_ s_object, USER_OBJECT_ s_sorted_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreePath* sorted_path = ((GtkTreePath*)getPtrValue(s_sorted_path)); GtkTreePath* ans; ans = gtk_tree_model_sort_convert_path_to_child_path(object, sorted_path); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_convert_iter_to_child_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_sorted_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreeIter* sorted_iter = ((GtkTreeIter*)getPtrValue(s_sorted_iter)); GtkTreeIter child_iter; gtk_tree_model_sort_convert_iter_to_child_iter(object, &child_iter, sorted_iter); _result = retByVal(_result, "child.iter", toRPointerWithFinalizer(&child_iter ? gtk_tree_iter_copy(&child_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_reset_default_sort_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); gtk_tree_model_sort_reset_default_sort_func(object); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_clear_cache(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); gtk_tree_model_sort_clear_cache(object); return(_result); } USER_OBJECT_ S_gtk_tree_model_sort_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelSort* object = GTK_TREE_MODEL_SORT(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_model_sort_iter_is_valid(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_selection_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_selection_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkSelectionMode type = ((GtkSelectionMode)asCEnum(s_type, GTK_TYPE_SELECTION_MODE)); gtk_tree_selection_set_mode(object, type); return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkSelectionMode ans; ans = gtk_tree_selection_get_mode(object); _result = asREnum(ans, GTK_TYPE_SELECTION_MODE); return(_result); } USER_OBJECT_ S_gtk_tree_selection_set_select_function(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelectionFunc func = ((GtkTreeSelectionFunc)S_GtkTreeSelectionFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_selection_set_select_function(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_user_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gpointer ans; ans = gtk_tree_selection_get_user_data(object); _result = ans; return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_tree_view(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreeView* ans; ans = gtk_tree_selection_get_tree_view(object); _result = toRPointerWithSink(ans, "GtkTreeView"); return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_selected(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gboolean ans; GtkTreeModel* model = NULL; GtkTreeIter iter; ans = gtk_tree_selection_get_selected(object, &model, &iter); _result = asRLogical(ans); _result = retByVal(_result, "model", toRPointerWithRef(model, "GtkTreeModel"), "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_selected_rows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GList* ans; GtkTreeModel* model = NULL; ans = gtk_tree_selection_get_selected_rows(object, &model); _result = asRGListWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); _result = retByVal(_result, "model", toRPointerWithRef(model, "GtkTreeModel"), NULL); CLEANUP(g_list_free, ans);; ; return(_result); } USER_OBJECT_ S_gtk_tree_selection_count_selected_rows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gint ans; ans = gtk_tree_selection_count_selected_rows(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_selection_selected_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelectionForeachFunc func = ((GtkTreeSelectionForeachFunc)S_GtkTreeSelectionForeachFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gtk_tree_selection_selected_foreach(object, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_tree_selection_select_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_selection_select_path(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_selection_unselect_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_selection_unselect_path(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_selection_select_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_selection_select_iter(object, iter); return(_result); } USER_OBJECT_ S_gtk_tree_selection_unselect_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gtk_tree_selection_unselect_iter(object, iter); return(_result); } USER_OBJECT_ S_gtk_tree_selection_path_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_tree_selection_path_is_selected(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_selection_iter_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_selection_iter_is_selected(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_selection_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gtk_tree_selection_select_all(object); return(_result); } USER_OBJECT_ S_gtk_tree_selection_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); gtk_tree_selection_unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_tree_selection_select_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start_path, USER_OBJECT_ s_end_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreePath* start_path = ((GtkTreePath*)getPtrValue(s_start_path)); GtkTreePath* end_path = ((GtkTreePath*)getPtrValue(s_end_path)); gtk_tree_selection_select_range(object, start_path, end_path); return(_result); } USER_OBJECT_ S_gtk_tree_selection_unselect_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start_path, USER_OBJECT_ s_end_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreePath* start_path = ((GtkTreePath*)getPtrValue(s_start_path)); GtkTreePath* end_path = ((GtkTreePath*)getPtrValue(s_end_path)); gtk_tree_selection_unselect_range(object, start_path, end_path); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_sortable_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_sort_column_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gtk_tree_sortable_sort_column_changed(object); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_get_sort_column_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gboolean ans; gint sort_column_id; GtkSortType order; ans = gtk_tree_sortable_get_sort_column_id(object, &sort_column_id, &order); _result = asRLogical(ans); _result = retByVal(_result, "sort.column.id", asRInteger(sort_column_id), "order", asREnum(order, GTK_TYPE_SORT_TYPE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_sortable_set_sort_column_id(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gint sort_column_id = ((gint)asCInteger(s_sort_column_id)); GtkSortType order = ((GtkSortType)asCEnum(s_order, GTK_TYPE_SORT_TYPE)); gtk_tree_sortable_set_sort_column_id(object, sort_column_id, order); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_set_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIterCompareFunc sort_func = ((GtkTreeIterCompareFunc)S_GtkTreeIterCompareFunc); R_CallbackData* user_data = R_createCBData(s_sort_func, s_user_data); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gint sort_column_id = ((gint)asCInteger(s_sort_column_id)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_sortable_set_sort_func(object, sort_column_id, sort_func, user_data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_set_default_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIterCompareFunc sort_func = ((GtkTreeIterCompareFunc)S_GtkTreeIterCompareFunc); R_CallbackData* user_data = R_createCBData(s_sort_func, s_user_data); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_sortable_set_default_sort_func(object, sort_func, user_data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_has_default_sort_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_sortable_has_default_sort_func(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_store_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_newv(USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint n_columns = ((gint)GET_LENGTH(s_types)); GType* types = ((GType*)asCArray(s_types, GType, asCGType)); GtkTreeStore* ans; ans = gtk_tree_store_newv(n_columns, types); _result = toRPointerWithFinalizer(ans, "GtkTreeStore", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_tree_store_set_column_types(USER_OBJECT_ s_object, USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); gint n_columns = ((gint)GET_LENGTH(s_types)); GType* types = ((GType*)asCArray(s_types, GType, asCGType)); gtk_tree_store_set_column_types(object, n_columns, types); return(_result); } USER_OBJECT_ S_gtk_tree_store_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_store_remove(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = GET_LENGTH(s_parent) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_parent)); gint position = ((gint)asCInteger(s_position)); GtkTreeIter iter; gtk_tree_store_insert(object, &iter, parent, position); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_store_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = ((GtkTreeIter*)getPtrValue(s_parent)); GtkTreeIter* sibling = ((GtkTreeIter*)getPtrValue(s_sibling)); GtkTreeIter iter; gtk_tree_store_insert_before(object, &iter, parent, sibling); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_store_insert_after(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = ((GtkTreeIter*)getPtrValue(s_parent)); GtkTreeIter* sibling = ((GtkTreeIter*)getPtrValue(s_sibling)); GtkTreeIter iter; gtk_tree_store_insert_after(object, &iter, parent, sibling); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_store_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = GET_LENGTH(s_parent) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_parent)); GtkTreeIter iter; gtk_tree_store_prepend(object, &iter, parent); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_store_append(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = GET_LENGTH(s_parent) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_parent)); GtkTreeIter iter; gtk_tree_store_append(object, &iter, parent); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_store_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_descendant) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreeIter* descendant = ((GtkTreeIter*)getPtrValue(s_descendant)); gboolean ans; ans = gtk_tree_store_is_ancestor(object, iter, descendant); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_iter_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint ans; ans = gtk_tree_store_iter_depth(object, iter); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); gtk_tree_store_clear(object); return(_result); } USER_OBJECT_ S_gtk_tree_store_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = gtk_tree_store_iter_is_valid(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_store_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* parent = ((GtkTreeIter*)getPtrValue(s_parent)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); gtk_tree_store_reorder(object, parent, new_order); return(_result); } USER_OBJECT_ S_gtk_tree_store_swap(USER_OBJECT_ s_object, USER_OBJECT_ s_a, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* a = ((GtkTreeIter*)getPtrValue(s_a)); GtkTreeIter* b = ((GtkTreeIter*)getPtrValue(s_b)); gtk_tree_store_swap(object, a, b); return(_result); } USER_OBJECT_ S_gtk_tree_store_move_after(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreeIter* position = GET_LENGTH(s_position) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_position)); gtk_tree_store_move_after(object, iter, position); return(_result); } USER_OBJECT_ S_gtk_tree_store_move_before(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreeIter* position = GET_LENGTH(s_position) == 0 ? NULL : ((GtkTreeIter*)getPtrValue(s_position)); gtk_tree_store_move_before(object, iter, position); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_queue_resize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gtk_tree_view_column_queue_resize(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_view_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_tree_view_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tree_view_new_with_model(USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "model", NULL }; USER_OBJECT_ args[] = { s_model }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_TREE_VIEW, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_tree_view_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeModel* model = GET_LENGTH(s_model) == 0 ? NULL : GTK_TREE_MODEL(getPtrValue(s_model)); gtk_tree_view_set_model(object, model); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeSelection* ans; ans = gtk_tree_view_get_selection(object); _result = toRPointerWithRef(ans, "GtkTreeSelection"); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_tree_view_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_tree_view_set_hadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_tree_view_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_tree_view_set_vadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_headers_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_headers_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_headers_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_headers_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean headers_visible = ((gboolean)asCLogical(s_headers_visible)); gtk_tree_view_set_headers_visible(object, headers_visible); return(_result); } USER_OBJECT_ S_gtk_tree_view_columns_autosize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_columns_autosize(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_headers_clickable(USER_OBJECT_ s_object, USER_OBJECT_ s_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean active = ((gboolean)asCLogical(s_active)); gtk_tree_view_set_headers_clickable(object, active); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_rules_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_tree_view_set_rules_hint(object, setting); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_rules_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_rules_hint(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_append_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gint ans; ans = gtk_tree_view_append_column(object, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_remove_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gint ans; ans = gtk_tree_view_remove_column(object, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_insert_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gint position = ((gint)asCInteger(s_position)); gint ans; ans = gtk_tree_view_insert_column(object, column, position); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_insert_column_with_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_title, USER_OBJECT_ s_cell, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeCellDataFunc func = ((GtkTreeCellDataFunc)S_GtkTreeCellDataFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); const gchar* title = ((const gchar*)asCString(s_title)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); GDestroyNotify dnotify = ((GDestroyNotify)R_freeCBData); gint ans; ans = gtk_tree_view_insert_column_with_data_func(object, position, title, cell, func, data, dnotify); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_column(USER_OBJECT_ s_object, USER_OBJECT_ s_n) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint n = ((gint)asCInteger(s_n)); GtkTreeViewColumn* ans; ans = gtk_tree_view_get_column(object, n); _result = toRPointerWithSink(ans, "GtkTreeViewColumn"); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_columns(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GList* ans; ans = gtk_tree_view_get_columns(object); _result = asRGListWithSink(ans, "GtkTreeViewColumn"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_tree_view_move_column_after(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_base_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); GtkTreeViewColumn* base_column = GET_LENGTH(s_base_column) == 0 ? NULL : GTK_TREE_VIEW_COLUMN(getPtrValue(s_base_column)); gtk_tree_view_move_column_after(object, column, base_column); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_expander_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gtk_tree_view_set_expander_column(object, column); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_expander_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewColumn* ans; ans = gtk_tree_view_get_expander_column(object); _result = toRPointerWithSink(ans, "GtkTreeViewColumn"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_column_drag_function(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumnDropFunc func = ((GtkTreeViewColumnDropFunc)S_GtkTreeViewColumnDropFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_view_set_column_drag_function(object, func, user_data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_view_scroll_to_point(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_x, USER_OBJECT_ s_tree_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint tree_x = ((gint)asCInteger(s_tree_x)); gint tree_y = ((gint)asCInteger(s_tree_y)); gtk_tree_view_scroll_to_point(object, tree_x, tree_y); return(_result); } USER_OBJECT_ S_gtk_tree_view_scroll_to_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column, USER_OBJECT_ s_use_align, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GET_LENGTH(s_column) == 0 ? NULL : GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gboolean use_align = ((gboolean)asCLogical(s_use_align)); gfloat row_align = ((gfloat)asCNumeric(s_row_align)); gfloat col_align = ((gfloat)asCNumeric(s_col_align)); gtk_tree_view_scroll_to_cell(object, path, column, use_align, row_align, col_align); return(_result); } USER_OBJECT_ S_gtk_tree_view_row_activated(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); gtk_tree_view_row_activated(object, path, column); return(_result); } USER_OBJECT_ S_gtk_tree_view_expand_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_expand_all(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_collapse_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_collapse_all(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_expand_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_view_expand_to_path(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_view_expand_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_open_all) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean open_all = ((gboolean)asCLogical(s_open_all)); gboolean ans; ans = gtk_tree_view_expand_row(object, path, open_all); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_collapse_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_view_collapse_row(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_view_map_expanded_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewMappingFunc func = ((GtkTreeViewMappingFunc)S_GtkTreeViewMappingFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_map_expanded_rows(object, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_gtk_tree_view_row_expanded(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = gtk_tree_view_row_expanded(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean reorderable = ((gboolean)asCLogical(s_reorderable)); gtk_tree_view_set_reorderable(object, reorderable); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_reorderable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_reorderable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_focus_column, USER_OBJECT_ s_start_editing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* focus_column = GET_LENGTH(s_focus_column) == 0 ? NULL : GTK_TREE_VIEW_COLUMN(getPtrValue(s_focus_column)); gboolean start_editing = ((gboolean)asCLogical(s_start_editing)); gtk_tree_view_set_cursor(object, path, focus_column, start_editing); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_cursor_on_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_focus_column, USER_OBJECT_ s_focus_cell, USER_OBJECT_ s_start_editing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* focus_column = GET_LENGTH(s_focus_column) == 0 ? NULL : GTK_TREE_VIEW_COLUMN(getPtrValue(s_focus_column)); GtkCellRenderer* focus_cell = GET_LENGTH(s_focus_cell) == 0 ? NULL : GTK_CELL_RENDERER(getPtrValue(s_focus_cell)); gboolean start_editing = ((gboolean)asCLogical(s_start_editing)); gtk_tree_view_set_cursor_on_cell(object, path, focus_column, focus_cell, start_editing); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_cursor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = NULL; GtkTreeViewColumn* focus_column = NULL; gtk_tree_view_get_cursor(object, &path, &focus_column); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "focus.column", toRPointerWithSink(focus_column, "GtkTreeViewColumn"), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_bin_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_tree_view_get_bin_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_path_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gboolean ans; GtkTreePath* path = NULL; GtkTreeViewColumn* column = NULL; gint cell_x; gint cell_y; ans = gtk_tree_view_get_path_at_pos(object, x, y, &path, &column, &cell_x, &cell_y); _result = asRLogical(ans); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "column", toRPointerWithSink(column, "GtkTreeViewColumn"), "cell.x", asRInteger(cell_x), "cell.y", asRInteger(cell_y), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_cell_area(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); GdkRectangle* rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_tree_view_get_cell_area(object, path, column, rect); _result = retByVal(_result, "rect", asRGdkRectangle(rect), NULL); CLEANUP(g_free, rect);; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_background_area(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); GdkRectangle* rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_tree_view_get_background_area(object, path, column, rect); _result = retByVal(_result, "rect", asRGdkRectangle(rect), NULL); CLEANUP(g_free, rect);; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_visible_rect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GdkRectangle* visible_rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_tree_view_get_visible_rect(object, visible_rect); _result = retByVal(_result, "visible.rect", asRGdkRectangle(visible_rect), NULL); CLEANUP(g_free, visible_rect);; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_visible_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; GtkTreePath* start_path = NULL; GtkTreePath* end_path = NULL; ans = gtk_tree_view_get_visible_range(object, &start_path, &end_path); _result = asRLogical(ans); _result = retByVal(_result, "start.path", toRPointerWithFinalizer(start_path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "end.path", toRPointerWithFinalizer(end_path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_widget_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint wx = ((gint)asCInteger(s_wx)); gint wy = ((gint)asCInteger(s_wy)); gint tx; gint ty; gtk_tree_view_widget_to_tree_coords(object, wx, wy, &tx, &ty); _result = retByVal(_result, "tx", asRInteger(tx), "ty", asRInteger(ty), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_tree_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint tx = ((gint)asCInteger(s_tx)); gint ty = ((gint)asCInteger(s_ty)); gint wx; gint wy; gtk_tree_view_tree_to_widget_coords(object, tx, ty, &wx, &wy); _result = retByVal(_result, "wx", asRInteger(wx), "wy", asRInteger(wy), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_enable_model_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GdkModifierType start_button_mask = ((GdkModifierType)asCFlag(s_start_button_mask, GDK_TYPE_MODIFIER_TYPE)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_tree_view_enable_model_drag_source(object, start_button_mask, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_tree_view_enable_model_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); const GtkTargetEntry* targets = ((const GtkTargetEntry*)asCArrayRef(s_targets, GtkTargetEntry, asCGtkTargetEntry)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_tree_view_enable_model_drag_dest(object, targets, n_targets, actions); return(_result); } USER_OBJECT_ S_gtk_tree_view_unset_rows_drag_source(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_unset_rows_drag_source(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_unset_rows_drag_dest(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gtk_tree_view_unset_rows_drag_dest(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_drag_dest_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewDropPosition pos = ((GtkTreeViewDropPosition)asCEnum(s_pos, GTK_TYPE_TREE_VIEW_DROP_POSITION)); gtk_tree_view_set_drag_dest_row(object, path, pos); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_drag_dest_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath** path = ((GtkTreePath**)getPtrValue(s_path)); GtkTreeViewDropPosition pos; gtk_tree_view_get_drag_dest_row(object, path, &pos); _result = retByVal(_result, "pos", asREnum(pos, GTK_TYPE_TREE_VIEW_DROP_POSITION), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_view_get_dest_row_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_x, USER_OBJECT_ s_drag_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint drag_x = ((gint)asCInteger(s_drag_x)); gint drag_y = ((gint)asCInteger(s_drag_y)); gboolean ans; GtkTreePath* path = NULL; GtkTreeViewDropPosition pos; ans = gtk_tree_view_get_dest_row_at_pos(object, drag_x, drag_y, &path, &pos); _result = asRLogical(ans); _result = retByVal(_result, "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "pos", asREnum(pos, GTK_TYPE_TREE_VIEW_DROP_POSITION), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_create_row_drag_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GdkPixmap* ans; ans = gtk_tree_view_create_row_drag_icon(object, path); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_enable_search(USER_OBJECT_ s_object, USER_OBJECT_ s_enable_search) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean enable_search = ((gboolean)asCLogical(s_enable_search)); gtk_tree_view_set_enable_search(object, enable_search); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_enable_search(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_enable_search(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_search_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_get_search_column(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_search_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_tree_view_set_search_column(object, column); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_search_equal_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewSearchEqualFunc ans; ans = gtk_tree_view_get_search_equal_func(object); _result = toRPointer(ans, "GtkTreeViewSearchEqualFunc"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_search_equal_func(USER_OBJECT_ s_object, USER_OBJECT_ s_search_equal_func, USER_OBJECT_ s_search_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewSearchEqualFunc search_equal_func = ((GtkTreeViewSearchEqualFunc)S_GtkTreeViewSearchEqualFunc); R_CallbackData* search_user_data = R_createCBData(s_search_equal_func, s_search_user_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkDestroyNotify search_destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_view_set_search_equal_func(object, search_equal_func, search_user_data, search_destroy); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_destroy_count_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDestroyCountFunc func = ((GtkTreeDestroyCountFunc)S_GtkTreeDestroyCountFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_view_set_destroy_count_func(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_fixed_height_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_enable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean enable = ((gboolean)asCLogical(s_enable)); gtk_tree_view_set_fixed_height_mode(object, enable); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_fixed_height_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_fixed_height_mode(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_hover_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_hover) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean hover = ((gboolean)asCLogical(s_hover)); gtk_tree_view_set_hover_selection(object, hover); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_hover_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_hover_selection(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_hover_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tree_view_set_hover_expand(object, expand); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_hover_expand(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_hover_expand(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_get_row_separator_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewRowSeparatorFunc ans; ans = gtk_tree_view_get_row_separator_func(object); _result = toRPointer(ans, "GtkTreeViewRowSeparatorFunc"); return(_result); } USER_OBJECT_ S_gtk_tree_view_set_row_separator_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewRowSeparatorFunc func = ((GtkTreeViewRowSeparatorFunc)S_GtkTreeViewRowSeparatorFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_view_set_row_separator_func(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_tree_view_column_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* ans; ans = gtk_tree_view_column_new(); _result = toRPointerWithSink(ans, "GtkTreeViewColumn"); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tree_view_column_pack_start(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tree_view_column_pack_end(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gtk_tree_view_column_clear(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_cell_renderers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GList* ans; ans = gtk_tree_view_column_get_cell_renderers(object); _result = asRGListWithSink(ans, "GtkCellRenderer"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_tree_view_column_add_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer, USER_OBJECT_ s_attribute, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell_renderer = GTK_CELL_RENDERER(getPtrValue(s_cell_renderer)); gchar* attribute = ((gchar*)asCString(s_attribute)); gint column = ((gint)asCInteger(s_column)); gtk_tree_view_column_add_attribute(object, cell_renderer, attribute, column); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_cell_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeCellDataFunc func = ((GtkTreeCellDataFunc)S_GtkTreeCellDataFunc); R_CallbackData* func_data = R_createCBData(s_func, s_func_data); GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell_renderer = GTK_CELL_RENDERER(getPtrValue(s_cell_renderer)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); gtk_tree_view_column_set_cell_data_func(object, cell_renderer, func, func_data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_clear_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell_renderer = GTK_CELL_RENDERER(getPtrValue(s_cell_renderer)); gtk_tree_view_column_clear_attributes(object, cell_renderer); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint spacing = ((gint)asCInteger(s_spacing)); gtk_tree_view_column_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_tree_view_column_set_visible(object, visible); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_resizable(USER_OBJECT_ s_object, USER_OBJECT_ s_resizable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean resizable = ((gboolean)asCLogical(s_resizable)); gtk_tree_view_column_set_resizable(object, resizable); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_resizable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_resizable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_sizing(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkTreeViewColumnSizing type = ((GtkTreeViewColumnSizing)asCEnum(s_type, GTK_TYPE_TREE_VIEW_COLUMN_SIZING)); gtk_tree_view_column_set_sizing(object, type); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_sizing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkTreeViewColumnSizing ans; ans = gtk_tree_view_column_get_sizing(object); _result = asREnum(ans, GTK_TYPE_TREE_VIEW_COLUMN_SIZING); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_fixed_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_fixed_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_fixed_width(USER_OBJECT_ s_object, USER_OBJECT_ s_fixed_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint fixed_width = ((gint)asCInteger(s_fixed_width)); gtk_tree_view_column_set_fixed_width(object, fixed_width); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_min_width(USER_OBJECT_ s_object, USER_OBJECT_ s_min_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint min_width = ((gint)asCInteger(s_min_width)); gtk_tree_view_column_set_min_width(object, min_width); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_min_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_min_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_max_width(USER_OBJECT_ s_object, USER_OBJECT_ s_max_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint max_width = ((gint)asCInteger(s_max_width)); gtk_tree_view_column_set_max_width(object, max_width); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_max_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_max_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_clicked(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gtk_tree_view_column_clicked(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gchar* title = ((gchar*)asCString(s_title)); gtk_tree_view_column_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); const gchar* ans; ans = gtk_tree_view_column_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tree_view_column_set_expand(object, expand); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_expand(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_expand(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_clickable(USER_OBJECT_ s_object, USER_OBJECT_ s_active) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean active = ((gboolean)asCLogical(s_active)); gtk_tree_view_column_set_clickable(object, active); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_clickable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_clickable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkWidget* widget = GET_LENGTH(s_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_widget)); gtk_tree_view_column_set_widget(object, widget); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tree_view_column_get_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gtk_tree_view_column_set_alignment(object, xalign); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gfloat ans; ans = gtk_tree_view_column_get_alignment(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean reorderable = ((gboolean)asCLogical(s_reorderable)); gtk_tree_view_column_set_reorderable(object, reorderable); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_reorderable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_reorderable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_sort_column_id(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint sort_column_id = ((gint)asCInteger(s_sort_column_id)); gtk_tree_view_column_set_sort_column_id(object, sort_column_id); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_sort_column_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_column_get_sort_column_id(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_sort_indicator(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_tree_view_column_set_sort_indicator(object, setting); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_sort_indicator(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_get_sort_indicator(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_set_sort_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkSortType order = ((GtkSortType)asCEnum(s_order, GTK_TYPE_SORT_TYPE)); gtk_tree_view_column_set_sort_order(object, order); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_sort_order(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkSortType ans; ans = gtk_tree_view_column_get_sort_order(object); _result = asREnum(ans, GTK_TYPE_SORT_TYPE); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_cell_set_cell_data(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_model, USER_OBJECT_ s_iter, USER_OBJECT_ s_is_expander, USER_OBJECT_ s_is_expanded) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkTreeModel* tree_model = GTK_TREE_MODEL(getPtrValue(s_tree_model)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean is_expander = ((gboolean)asCLogical(s_is_expander)); gboolean is_expanded = ((gboolean)asCLogical(s_is_expanded)); gtk_tree_view_column_cell_set_cell_data(object, tree_model, iter, is_expander, is_expanded); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_cell_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GdkRectangle* cell_area = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gint x_offset; gint y_offset; gint width; gint height; gtk_tree_view_column_cell_get_size(object, cell_area, &x_offset, &y_offset, &width, &height); _result = retByVal(_result, "cell.area", asRGdkRectangle(cell_area), "x.offset", asRInteger(x_offset), "y.offset", asRInteger(y_offset), "width", asRInteger(width), "height", asRInteger(height), NULL); CLEANUP(g_free, cell_area);; ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_tree_view_column_cell_is_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_column_cell_is_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_focus_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_cell) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gtk_tree_view_column_focus_cell(object, cell); return(_result); } USER_OBJECT_ S_gtk_tree_view_column_cell_get_position(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkCellRenderer* cell_renderer = GTK_CELL_RENDERER(getPtrValue(s_cell_renderer)); gint start_pos; gint width; gtk_tree_view_column_cell_get_position(object, cell_renderer, &start_pos, &width); _result = retByVal(_result, "start.pos", asRInteger(start_pos), "width", asRInteger(width), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_ui_manager_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_ui_manager_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* ans; ans = gtk_ui_manager_new(); _result = toRPointerWithFinalizer(ans, "GtkUIManager", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_ui_manager_set_add_tearoffs(USER_OBJECT_ s_object, USER_OBJECT_ s_add_tearoffs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); gboolean add_tearoffs = ((gboolean)asCLogical(s_add_tearoffs)); gtk_ui_manager_set_add_tearoffs(object, add_tearoffs); return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_add_tearoffs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); gboolean ans; ans = gtk_ui_manager_get_add_tearoffs(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_ui_manager_insert_action_group(USER_OBJECT_ s_object, USER_OBJECT_ s_action_group, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkActionGroup* action_group = GTK_ACTION_GROUP(getPtrValue(s_action_group)); gint pos = ((gint)asCInteger(s_pos)); gtk_ui_manager_insert_action_group(object, action_group, pos); return(_result); } USER_OBJECT_ S_gtk_ui_manager_remove_action_group(USER_OBJECT_ s_object, USER_OBJECT_ s_action_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkActionGroup* action_group = GTK_ACTION_GROUP(getPtrValue(s_action_group)); gtk_ui_manager_remove_action_group(object, action_group); return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_accel_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkAccelGroup* ans; ans = gtk_ui_manager_get_accel_group(object); _result = toRPointerWithRef(ans, "GtkAccelGroup"); return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkWidget* ans; ans = gtk_ui_manager_get_widget(object, path); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_toplevels(USER_OBJECT_ s_object, USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkUIManagerItemType types = ((GtkUIManagerItemType)asCFlag(s_types, GTK_TYPE_UI_MANAGER_ITEM_TYPE)); GSList* ans; ans = gtk_ui_manager_get_toplevels(object, types); _result = asRGSListWithSink(ans, "GtkWidget"); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_action(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkAction* ans; ans = gtk_ui_manager_get_action(object, path); _result = toRPointerWithRef(ans, "GtkAction"); return(_result); } USER_OBJECT_ S_gtk_ui_manager_add_ui_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* buffer = ((const gchar*)asCString(s_buffer)); gssize length = ((gssize)asCInteger(s_length)); guint ans; GError* error = NULL; ans = gtk_ui_manager_add_ui_from_string(object, buffer, length, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_ui_manager_add_ui_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); guint ans; GError* error = NULL; ans = gtk_ui_manager_add_ui_from_file(object, filename, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_ui_manager_add_ui(USER_OBJECT_ s_object, USER_OBJECT_ s_merge_id, USER_OBJECT_ s_path, USER_OBJECT_ s_name, USER_OBJECT_ s_action, USER_OBJECT_ s_type, USER_OBJECT_ s_top) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); guint merge_id = ((guint)asCNumeric(s_merge_id)); const gchar* path = ((const gchar*)asCString(s_path)); const gchar* name = ((const gchar*)asCString(s_name)); const gchar* action = GET_LENGTH(s_action) == 0 ? NULL : ((const gchar*)asCString(s_action)); GtkUIManagerItemType type = ((GtkUIManagerItemType)asCFlag(s_type, GTK_TYPE_UI_MANAGER_ITEM_TYPE)); gboolean top = ((gboolean)asCLogical(s_top)); gtk_ui_manager_add_ui(object, merge_id, path, name, action, type, top); return(_result); } USER_OBJECT_ S_gtk_ui_manager_remove_ui(USER_OBJECT_ s_object, USER_OBJECT_ s_merge_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); guint merge_id = ((guint)asCNumeric(s_merge_id)); gtk_ui_manager_remove_ui(object, merge_id); return(_result); } USER_OBJECT_ S_gtk_ui_manager_get_ui(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); gchar* ans; ans = gtk_ui_manager_get_ui(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_ui_manager_ensure_update(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); gtk_ui_manager_ensure_update(object); return(_result); } USER_OBJECT_ S_gtk_ui_manager_new_merge_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); guint ans; ans = gtk_ui_manager_new_merge_id(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vbutton_box_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_vbutton_box_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_get_spacing_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint ans; ans = gtk_vbutton_box_get_spacing_default(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_set_spacing_default(USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint spacing = ((gint)asCInteger(s_spacing)); gtk_vbutton_box_set_spacing_default(spacing); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_get_layout_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBoxStyle ans; ans = gtk_vbutton_box_get_layout_default(); _result = asREnum(ans, GTK_TYPE_BUTTON_BOX_STYLE); return(_result); } USER_OBJECT_ S_gtk_vbutton_box_set_layout_default(USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonBoxStyle layout = ((GtkButtonBoxStyle)asCEnum(s_layout, GTK_TYPE_BUTTON_BOX_STYLE)); gtk_vbutton_box_set_layout_default(layout); return(_result); } USER_OBJECT_ S_gtk_vbox_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vbox_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vbox_new(USER_OBJECT_ s_homogeneous, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "homogeneous", "spacing", NULL }; USER_OBJECT_ args[] = { s_homogeneous, s_spacing }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_VBOX, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_viewport_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_viewport_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_viewport_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "hadjustment", "vadjustment", NULL }; USER_OBJECT_ args[] = { s_hadjustment, s_vadjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_VIEWPORT, prop_names, args, 2); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_viewport_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_viewport_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_viewport_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_viewport_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); return(_result); } USER_OBJECT_ S_gtk_viewport_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_viewport_set_hadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_viewport_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkAdjustment* adjustment = GET_LENGTH(s_adjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_viewport_set_vadjustment(object, adjustment); return(_result); } USER_OBJECT_ S_gtk_viewport_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkShadowType type = ((GtkShadowType)asCEnum(s_type, GTK_TYPE_SHADOW_TYPE)); gtk_viewport_set_shadow_type(object, type); return(_result); } USER_OBJECT_ S_gtk_viewport_get_shadow_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkShadowType ans; ans = gtk_viewport_get_shadow_type(object); _result = asREnum(ans, GTK_TYPE_SHADOW_TYPE); return(_result); } USER_OBJECT_ S_gtk_vpaned_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vpaned_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vpaned_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_vpaned_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vruler_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vruler_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vruler_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_vruler_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vscale_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vscale_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vscale_new(USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "adjustment", NULL }; USER_OBJECT_ args[] = { s_adjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_VSCALE, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vscale_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step) { USER_OBJECT_ _result = NULL_USER_OBJECT; gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gdouble step = ((gdouble)asCNumeric(s_step)); GtkWidget* ans; ans = gtk_vscale_new_with_range(min, max, step); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vscrollbar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vscrollbar_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vscrollbar_new(USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "adjustment", NULL }; USER_OBJECT_ args[] = { s_adjustment }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_VSCROLLBAR, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_vseparator_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_vseparator_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_vseparator_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* ans; ans = gtk_vseparator_new(); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_widget_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_widget_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_widget_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_widget_ref(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_widget_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_unref(object); return(_result); } USER_OBJECT_ S_gtk_widget_destroy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_destroy(object); return(_result); } USER_OBJECT_ S_gtk_widget_unparent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_unparent(object); return(_result); } USER_OBJECT_ S_gtk_widget_show(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_show(object); return(_result); } USER_OBJECT_ S_gtk_widget_show_now(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_show_now(object); return(_result); } USER_OBJECT_ S_gtk_widget_hide(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_hide(object); return(_result); } USER_OBJECT_ S_gtk_widget_show_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_show_all(object); return(_result); } USER_OBJECT_ S_gtk_widget_hide_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_hide_all(object); return(_result); } USER_OBJECT_ S_gtk_widget_set_no_show_all(USER_OBJECT_ s_object, USER_OBJECT_ s_no_show_all) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean no_show_all = ((gboolean)asCLogical(s_no_show_all)); gtk_widget_set_no_show_all(object, no_show_all); return(_result); } USER_OBJECT_ S_gtk_widget_get_no_show_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_no_show_all(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_map(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_map(object); return(_result); } USER_OBJECT_ S_gtk_widget_unmap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_unmap(object); return(_result); } USER_OBJECT_ S_gtk_widget_realize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_realize(object); return(_result); } USER_OBJECT_ S_gtk_widget_unrealize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_unrealize(object); return(_result); } USER_OBJECT_ S_gtk_widget_queue_draw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_queue_draw(object); return(_result); } USER_OBJECT_ S_gtk_widget_queue_draw_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_widget_queue_draw_area(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_widget_queue_clear(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_queue_clear(object); return(_result); } USER_OBJECT_ S_gtk_widget_queue_clear_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_widget_queue_clear_area(object, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_widget_queue_resize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_queue_resize(object); return(_result); } USER_OBJECT_ S_gtk_widget_queue_resize_no_redraw(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_queue_resize_no_redraw(object); return(_result); } USER_OBJECT_ S_gtk_widget_draw(USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); gtk_widget_draw(object, area); return(_result); } USER_OBJECT_ S_gtk_widget_size_request(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRequisition requisition; gtk_widget_size_request(object, &requisition); _result = retByVal(_result, "requisition", toRPointerWithFinalizer(&requisition ? gtk_requisition_copy(&requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_widget_size_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAllocation* allocation = asCGtkAllocation(s_allocation); gtk_widget_size_allocate(object, allocation); return(_result); } USER_OBJECT_ S_gtk_widget_get_child_requisition(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRequisition requisition; gtk_widget_get_child_requisition(object, &requisition); _result = retByVal(_result, "requisition", toRPointerWithFinalizer(&requisition ? gtk_requisition_copy(&requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_widget_add_accelerator(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_signal, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_accel_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* accel_signal = ((const gchar*)asCString(s_accel_signal)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); GtkAccelFlags accel_flags = ((GtkAccelFlags)asCFlag(s_accel_flags, GTK_TYPE_ACCEL_FLAGS)); gtk_widget_add_accelerator(object, accel_signal, accel_group, accel_key, accel_mods, accel_flags); return(_result); } USER_OBJECT_ S_gtk_widget_remove_accelerator(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_widget_remove_accelerator(object, accel_group, accel_key, accel_mods); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* accel_path = ((const gchar*)asCString(s_accel_path)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_widget_set_accel_path(object, accel_path, accel_group); return(_result); } USER_OBJECT_ S_gtk_widget_list_accel_closures(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GList* ans; ans = gtk_widget_list_accel_closures(object); _result = asRGListConv(ans, ((ElementConverter)asRGClosure)); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_widget_can_activate_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_signal_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); guint signal_id = ((guint)asCNumeric(s_signal_id)); gboolean ans; ans = gtk_widget_can_activate_accel(object, signal_id); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_mnemonic_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_group_cycling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean group_cycling = ((gboolean)asCLogical(s_group_cycling)); gboolean ans; ans = gtk_widget_mnemonic_activate(object, group_cycling); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gboolean ans; ans = gtk_widget_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_send_expose(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gint ans; ans = gtk_widget_send_expose(object, event); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_widget_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_activate(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_set_scroll_adjustments(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAdjustment* hadjustment = GET_LENGTH(s_hadjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GET_LENGTH(s_vadjustment) == 0 ? NULL : GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); gboolean ans; ans = gtk_widget_set_scroll_adjustments(object, hadjustment, vadjustment); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_reparent(USER_OBJECT_ s_object, USER_OBJECT_ s_new_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* new_parent = GTK_WIDGET(getPtrValue(s_new_parent)); gtk_widget_reparent(object, new_parent); return(_result); } USER_OBJECT_ S_gtk_widget_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_area, USER_OBJECT_ s_intersection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); GdkRectangle* intersection = asCGdkRectangle(s_intersection); gboolean ans; ans = gtk_widget_intersect(object, area, intersection); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_region_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_region) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkRegion* region = ((GdkRegion*)getPtrValue(s_region)); GdkRegion* ans; ans = gtk_widget_region_intersect(object, region); _result = toRPointerWithFinalizer(ans, "GdkRegion", (RPointerFinalizer) gdk_region_destroy); return(_result); } USER_OBJECT_ S_gtk_widget_freeze_child_notify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_freeze_child_notify(object); return(_result); } USER_OBJECT_ S_gtk_widget_child_notify(USER_OBJECT_ s_object, USER_OBJECT_ s_child_property) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* child_property = ((const gchar*)asCString(s_child_property)); gtk_widget_child_notify(object, child_property); return(_result); } USER_OBJECT_ S_gtk_widget_thaw_child_notify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_thaw_child_notify(object); return(_result); } USER_OBJECT_ S_gtk_widget_is_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_is_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_grab_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_grab_focus(object); return(_result); } USER_OBJECT_ S_gtk_widget_grab_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_grab_default(object); return(_result); } USER_OBJECT_ S_gtk_widget_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_widget_set_name(object, name); return(_result); } USER_OBJECT_ S_gtk_widget_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* ans; ans = gtk_widget_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_widget_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_state) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); gtk_widget_set_state(object, state); return(_result); } USER_OBJECT_ S_gtk_widget_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean sensitive = ((gboolean)asCLogical(s_sensitive)); gtk_widget_set_sensitive(object, sensitive); return(_result); } USER_OBJECT_ S_gtk_widget_set_app_paintable(USER_OBJECT_ s_object, USER_OBJECT_ s_app_paintable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean app_paintable = ((gboolean)asCLogical(s_app_paintable)); gtk_widget_set_app_paintable(object, app_paintable); return(_result); } USER_OBJECT_ S_gtk_widget_set_double_buffered(USER_OBJECT_ s_object, USER_OBJECT_ s_double_buffered) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean double_buffered = ((gboolean)asCLogical(s_double_buffered)); gtk_widget_set_double_buffered(object, double_buffered); return(_result); } USER_OBJECT_ S_gtk_widget_set_redraw_on_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_redraw_on_allocate) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean redraw_on_allocate = ((gboolean)asCLogical(s_redraw_on_allocate)); gtk_widget_set_redraw_on_allocate(object, redraw_on_allocate); return(_result); } USER_OBJECT_ S_gtk_widget_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* parent = GTK_WIDGET(getPtrValue(s_parent)); gtk_widget_set_parent(object, parent); return(_result); } USER_OBJECT_ S_gtk_widget_set_parent_window(USER_OBJECT_ s_object, USER_OBJECT_ s_parent_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* parent_window = GDK_WINDOW(getPtrValue(s_parent_window)); gtk_widget_set_parent_window(object, parent_window); return(_result); } USER_OBJECT_ S_gtk_widget_set_child_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_is_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean is_visible = ((gboolean)asCLogical(s_is_visible)); gtk_widget_set_child_visible(object, is_visible); return(_result); } USER_OBJECT_ S_gtk_widget_get_child_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_child_visible(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_get_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_widget_get_parent(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_widget_get_parent_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_widget_get_parent_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gtk_widget_child_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); gboolean ans; ans = gtk_widget_child_focus(object, direction); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_set_size_request(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_widget_set_size_request(object, width, height); return(_result); } USER_OBJECT_ S_gtk_widget_get_size_request(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint width; gint height; gtk_widget_get_size_request(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_widget_set_uposition(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_widget_set_uposition(object, x, y); return(_result); } USER_OBJECT_ S_gtk_widget_set_usize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_widget_set_usize(object, width, height); return(_result); } USER_OBJECT_ S_gtk_widget_set_events(USER_OBJECT_ s_object, USER_OBJECT_ s_events) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint events = ((gint)asCInteger(s_events)); gtk_widget_set_events(object, events); return(_result); } USER_OBJECT_ S_gtk_widget_add_events(USER_OBJECT_ s_object, USER_OBJECT_ s_events) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint events = ((gint)asCInteger(s_events)); gtk_widget_add_events(object, events); return(_result); } USER_OBJECT_ S_gtk_widget_set_extension_events(USER_OBJECT_ s_object, USER_OBJECT_ s_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkExtensionMode mode = ((GdkExtensionMode)asCEnum(s_mode, GDK_TYPE_EXTENSION_MODE)); gtk_widget_set_extension_events(object, mode); return(_result); } USER_OBJECT_ S_gtk_widget_get_extension_events(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkExtensionMode ans; ans = gtk_widget_get_extension_events(object); _result = asREnum(ans, GDK_TYPE_EXTENSION_MODE); return(_result); } USER_OBJECT_ S_gtk_widget_get_toplevel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_widget_get_toplevel(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_widget_get_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_widget_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GType widget_type = ((GType)asCGType(s_widget_type)); GtkWidget* ans; ans = gtk_widget_get_ancestor(object, widget_type); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_widget_get_colormap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkColormap* ans; ans = gtk_widget_get_colormap(object); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gtk_widget_get_visual(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkVisual* ans; ans = gtk_widget_get_visual(object); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gtk_widget_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkScreen* ans; ans = gtk_widget_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gtk_widget_has_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_has_screen(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDisplay* ans; ans = gtk_widget_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); return(_result); } USER_OBJECT_ S_gtk_widget_get_root_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_widget_get_root_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); return(_result); } USER_OBJECT_ S_gtk_widget_get_settings(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkSettings* ans; ans = gtk_widget_get_settings(object); _result = toRPointerWithRef(ans, "GtkSettings"); return(_result); } USER_OBJECT_ S_gtk_widget_get_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkAtom selection = asCGdkAtom(s_selection); GtkClipboard* ans; ans = gtk_widget_get_clipboard(object, selection); _result = toRPointerWithRef(ans, "GtkClipboard"); return(_result); } USER_OBJECT_ S_gtk_widget_get_accessible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); AtkObject* ans; ans = gtk_widget_get_accessible(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_gtk_widget_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gtk_widget_set_colormap(object, colormap); return(_result); } USER_OBJECT_ S_gtk_widget_get_events(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint ans; ans = gtk_widget_get_events(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_widget_get_pointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gint x; gint y; gtk_widget_get_pointer(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_widget_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_ancestor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* ancestor = GTK_WIDGET(getPtrValue(s_ancestor)); gboolean ans; ans = gtk_widget_is_ancestor(object, ancestor); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_translate_coordinates(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_widget, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* dest_widget = GTK_WIDGET(getPtrValue(s_dest_widget)); gint src_x = ((gint)asCInteger(s_src_x)); gint src_y = ((gint)asCInteger(s_src_y)); gboolean ans; gint dest_x; gint dest_y; ans = gtk_widget_translate_coordinates(object, dest_widget, src_x, src_y, &dest_x, &dest_y); _result = asRLogical(ans); _result = retByVal(_result, "dest.x", asRInteger(dest_x), "dest.y", asRInteger(dest_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_widget_hide_on_delete(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_hide_on_delete(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStyle* style = GET_LENGTH(s_style) == 0 ? NULL : GTK_STYLE(getPtrValue(s_style)); gtk_widget_set_style(object, style); return(_result); } USER_OBJECT_ S_gtk_widget_ensure_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_ensure_style(object); return(_result); } USER_OBJECT_ S_gtk_widget_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStyle* ans; ans = gtk_widget_get_style(object); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_widget_modify_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRcStyle* style = GTK_RC_STYLE(getPtrValue(s_style)); gtk_widget_modify_style(object, style); return(_result); } USER_OBJECT_ S_gtk_widget_get_modifier_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRcStyle* ans; ans = gtk_widget_get_modifier_style(object); _result = toRPointerWithRef(ans, "GtkRcStyle"); return(_result); } USER_OBJECT_ S_gtk_widget_modify_fg(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GdkColor* color = GET_LENGTH(s_color) == 0 ? NULL : asCGdkColor(s_color); gtk_widget_modify_fg(object, state, color); return(_result); } USER_OBJECT_ S_gtk_widget_modify_bg(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GdkColor* color = GET_LENGTH(s_color) == 0 ? NULL : asCGdkColor(s_color); gtk_widget_modify_bg(object, state, color); return(_result); } USER_OBJECT_ S_gtk_widget_modify_text(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GdkColor* color = GET_LENGTH(s_color) == 0 ? NULL : asCGdkColor(s_color); gtk_widget_modify_text(object, state, color); return(_result); } USER_OBJECT_ S_gtk_widget_modify_base(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GdkColor* color = GET_LENGTH(s_color) == 0 ? NULL : asCGdkColor(s_color); gtk_widget_modify_base(object, state, color); return(_result); } USER_OBJECT_ S_gtk_widget_modify_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); PangoFontDescription* font_desc = GET_LENGTH(s_font_desc) == 0 ? NULL : ((PangoFontDescription*)getPtrValue(s_font_desc)); gtk_widget_modify_font(object, font_desc); return(_result); } USER_OBJECT_ S_gtk_widget_create_pango_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); PangoContext* ans; ans = gtk_widget_create_pango_context(object); _result = toRPointerWithFinalizer(ans, "PangoContext", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_widget_get_pango_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); PangoContext* ans; ans = gtk_widget_get_pango_context(object); _result = toRPointerWithRef(ans, "PangoContext"); return(_result); } USER_OBJECT_ S_gtk_widget_create_pango_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); PangoLayout* ans; ans = gtk_widget_create_pango_layout(object, text); _result = toRPointerWithFinalizer(ans, "PangoLayout", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_widget_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size, USER_OBJECT_ s_detail) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); const gchar* detail = GET_LENGTH(s_detail) == 0 ? NULL : ((const gchar*)asCString(s_detail)); GdkPixbuf* ans; ans = gtk_widget_render_icon(object, stock_id, size, detail); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_widget_set_composite_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_widget_set_composite_name(object, name); return(_result); } USER_OBJECT_ S_gtk_widget_get_composite_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gchar* ans; ans = gtk_widget_get_composite_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_widget_reset_rc_styles(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_reset_rc_styles(object); return(_result); } USER_OBJECT_ S_gtk_widget_push_colormap(USER_OBJECT_ s_cmap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* cmap = GDK_COLORMAP(getPtrValue(s_cmap)); gtk_widget_push_colormap(cmap); return(_result); } USER_OBJECT_ S_gtk_widget_push_composite_child(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_widget_push_composite_child(); return(_result); } USER_OBJECT_ S_gtk_widget_pop_composite_child(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_widget_pop_composite_child(); return(_result); } USER_OBJECT_ S_gtk_widget_pop_colormap(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_widget_pop_colormap(); return(_result); } USER_OBJECT_ S_gtk_widget_class_install_style_property(USER_OBJECT_ s_klass, USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* klass = ((GtkWidgetClass*)getPtrValue(s_klass)); GParamSpec* pspec = asCGParamSpec(s_pspec); gtk_widget_class_install_style_property(klass, pspec); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } USER_OBJECT_ S_gtk_widget_class_find_style_property(USER_OBJECT_ s_klass, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* klass = ((GtkWidgetClass*)getPtrValue(s_klass)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); GParamSpec* ans; ans = gtk_widget_class_find_style_property(klass, property_name); _result = asRGParamSpec(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_list_style_properties(USER_OBJECT_ s_klass) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* klass = ((GtkWidgetClass*)getPtrValue(s_klass)); GParamSpec** ans; guint n_properties; ans = gtk_widget_class_list_style_properties(klass, &n_properties); _result = asRArrayWithSize(ans, asRGParamSpec, n_properties); _result = retByVal(_result, "n.properties", asRNumeric(n_properties), NULL); CLEANUP(g_free, ans);; ; return(_result); } USER_OBJECT_ S_gtk_widget_style_get_property(USER_OBJECT_ s_object, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); GValue* value = ((GValue *)g_new0(GValue, 1)); gtk_widget_style_get_property(object, property_name, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gtk_widget_get_default_style(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyle* ans; ans = gtk_widget_get_default_style(); _result = toRPointerWithRef(ans, "GtkStyle"); return(_result); } USER_OBJECT_ S_gtk_widget_set_default_colormap(USER_OBJECT_ s_colormap) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); gtk_widget_set_default_colormap(colormap); return(_result); } USER_OBJECT_ S_gtk_widget_get_default_colormap(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkColormap* ans; ans = gtk_widget_get_default_colormap(); _result = toRPointerWithRef(ans, "GdkColormap"); return(_result); } USER_OBJECT_ S_gtk_widget_get_default_visual(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisual* ans; ans = gtk_widget_get_default_visual(); _result = toRPointerWithRef(ans, "GdkVisual"); return(_result); } USER_OBJECT_ S_gtk_widget_set_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_dir) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTextDirection dir = ((GtkTextDirection)asCEnum(s_dir, GTK_TYPE_TEXT_DIRECTION)); gtk_widget_set_direction(object, dir); return(_result); } USER_OBJECT_ S_gtk_widget_get_direction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTextDirection ans; ans = gtk_widget_get_direction(object); _result = asREnum(ans, GTK_TYPE_TEXT_DIRECTION); return(_result); } USER_OBJECT_ S_gtk_widget_set_default_direction(USER_OBJECT_ s_dir) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextDirection dir = ((GtkTextDirection)asCEnum(s_dir, GTK_TYPE_TEXT_DIRECTION)); gtk_widget_set_default_direction(dir); return(_result); } USER_OBJECT_ S_gtk_widget_get_default_direction(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextDirection ans; ans = gtk_widget_get_default_direction(); _result = asREnum(ans, GTK_TYPE_TEXT_DIRECTION); return(_result); } USER_OBJECT_ S_gtk_widget_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkBitmap* shape_mask = GDK_DRAWABLE(getPtrValue(s_shape_mask)); gint offset_x = ((gint)asCInteger(s_offset_x)); gint offset_y = ((gint)asCInteger(s_offset_y)); gtk_widget_shape_combine_mask(object, shape_mask, offset_x, offset_y); return(_result); } USER_OBJECT_ S_gtk_widget_reset_shapes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_reset_shapes(object); return(_result); } USER_OBJECT_ S_gtk_widget_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); guint path_length; gchar* path = NULL; gchar* path_reversed = NULL; gtk_widget_path(object, &path_length, &path, &path_reversed); _result = retByVal(_result, "path.length", asRNumeric(path_length), "path", asRString(path), "path.reversed", asRString(path_reversed), NULL); ; return(_result); } USER_OBJECT_ S_gtk_widget_class_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); guint path_length; gchar* path = NULL; gchar* path_reversed = NULL; gtk_widget_class_path(object, &path_length, &path, &path_reversed); _result = retByVal(_result, "path.length", asRNumeric(path_length), "path", asRString(path), "path.reversed", asRString(path_reversed), NULL); ; return(_result); } USER_OBJECT_ S_gtk_widget_list_mnemonic_labels(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GList* ans; ans = gtk_widget_list_mnemonic_labels(object); _result = asRGListConv(ans, ((ElementConverter)asRString)); CLEANUP(GListFreeStrings, ans); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_widget_add_mnemonic_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* label = GTK_WIDGET(getPtrValue(s_label)); gtk_widget_add_mnemonic_label(object, label); return(_result); } USER_OBJECT_ S_gtk_widget_remove_mnemonic_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* label = GTK_WIDGET(getPtrValue(s_label)); gtk_widget_remove_mnemonic_label(object, label); return(_result); } USER_OBJECT_ S_gtk_requisition_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_requisition_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_requisition_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRequisition* object = ((GtkRequisition*)getPtrValue(s_object)); GtkRequisition* ans; ans = gtk_requisition_copy(object); _result = toRPointerWithFinalizer(ans, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free); return(_result); } USER_OBJECT_ S_gtk_requisition_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRequisition* object = ((GtkRequisition*)getPtrValue(s_object)); gtk_requisition_free(object); return(_result); } USER_OBJECT_ S_gtk_window_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_window_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_window_new(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; char * prop_names[] = { "type", NULL }; USER_OBJECT_ args[] = { s_type }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_WINDOW, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_window_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_window_set_title(object, title); return(_result); } USER_OBJECT_ S_gtk_window_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* ans; ans = gtk_window_get_title(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_wmclass(USER_OBJECT_ s_object, USER_OBJECT_ s_wmclass_name, USER_OBJECT_ s_wmclass_class) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* wmclass_name = ((const gchar*)asCString(s_wmclass_name)); const gchar* wmclass_class = ((const gchar*)asCString(s_wmclass_class)); gtk_window_set_wmclass(object, wmclass_name, wmclass_class); return(_result); } USER_OBJECT_ S_gtk_window_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* role = ((const gchar*)asCString(s_role)); gtk_window_set_role(object, role); return(_result); } USER_OBJECT_ S_gtk_window_get_role(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* ans; ans = gtk_window_get_role(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_window_add_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_window_add_accel_group(object, accel_group); return(_result); } USER_OBJECT_ S_gtk_window_remove_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_window_remove_accel_group(object, accel_group); return(_result); } USER_OBJECT_ S_gtk_window_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWindowPosition position = ((GtkWindowPosition)asCEnum(s_position, GTK_TYPE_WINDOW_POSITION)); gtk_window_set_position(object, position); return(_result); } USER_OBJECT_ S_gtk_window_activate_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_activate_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* focus = GET_LENGTH(s_focus) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_focus)); gtk_window_set_focus(object, focus); return(_result); } USER_OBJECT_ S_gtk_window_get_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_window_get_focus(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_window_set_default(USER_OBJECT_ s_object, USER_OBJECT_ s_default_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* default_widget = GET_LENGTH(s_default_widget) == 0 ? NULL : GTK_WIDGET(getPtrValue(s_default_widget)); gtk_window_set_default(object, default_widget); return(_result); } USER_OBJECT_ S_gtk_window_activate_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_activate_default(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_transient_for(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWindow* parent = GET_LENGTH(s_parent) == 0 ? NULL : GTK_WINDOW(getPtrValue(s_parent)); gtk_window_set_transient_for(object, parent); return(_result); } USER_OBJECT_ S_gtk_window_get_transient_for(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWindow* ans; ans = gtk_window_get_transient_for(object); _result = toRPointerWithSink(ans, "GtkWindow"); return(_result); } USER_OBJECT_ S_gtk_window_set_type_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkWindowTypeHint hint = ((GdkWindowTypeHint)asCEnum(s_hint, GDK_TYPE_WINDOW_TYPE_HINT)); gtk_window_set_type_hint(object, hint); return(_result); } USER_OBJECT_ S_gtk_window_get_type_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkWindowTypeHint ans; ans = gtk_window_get_type_hint(object); _result = asREnum(ans, GDK_TYPE_WINDOW_TYPE_HINT); return(_result); } USER_OBJECT_ S_gtk_window_set_skip_taskbar_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_skip_taskbar_hint(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_skip_taskbar_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_skip_taskbar_hint(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_skip_pager_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_skip_pager_hint(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_skip_pager_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_skip_pager_hint(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_urgency_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_urgency_hint(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_urgency_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_urgency_hint(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_accept_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_accept_focus(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_accept_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_accept_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_destroy_with_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_destroy_with_parent(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_destroy_with_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_destroy_with_parent(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_resizable(USER_OBJECT_ s_object, USER_OBJECT_ s_resizable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean resizable = ((gboolean)asCLogical(s_resizable)); gtk_window_set_resizable(object, resizable); return(_result); } USER_OBJECT_ S_gtk_window_get_resizable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_resizable(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkGravity gravity = ((GdkGravity)asCEnum(s_gravity, GDK_TYPE_GRAVITY)); gtk_window_set_gravity(object, gravity); return(_result); } USER_OBJECT_ S_gtk_window_get_gravity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkGravity ans; ans = gtk_window_get_gravity(object); _result = asREnum(ans, GDK_TYPE_GRAVITY); return(_result); } USER_OBJECT_ S_gtk_window_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_window_set_screen(object, screen); return(_result); } USER_OBJECT_ S_gtk_window_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkScreen* ans; ans = gtk_window_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); return(_result); } USER_OBJECT_ S_gtk_window_is_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_is_active(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_has_toplevel_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_has_toplevel_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_has_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_has_frame(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_has_frame(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_has_frame(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_frame_dimensions(USER_OBJECT_ s_object, USER_OBJECT_ s_left, USER_OBJECT_ s_top, USER_OBJECT_ s_right, USER_OBJECT_ s_bottom) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint left = ((gint)asCInteger(s_left)); gint top = ((gint)asCInteger(s_top)); gint right = ((gint)asCInteger(s_right)); gint bottom = ((gint)asCInteger(s_bottom)); gtk_window_set_frame_dimensions(object, left, top, right, bottom); return(_result); } USER_OBJECT_ S_gtk_window_get_frame_dimensions(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint left; gint top; gint right; gint bottom; gtk_window_get_frame_dimensions(object, &left, &top, &right, &bottom); _result = retByVal(_result, "left", asRInteger(left), "top", asRInteger(top), "right", asRInteger(right), "bottom", asRInteger(bottom), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_window_set_decorated(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_decorated(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_decorated(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_decorated(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_icon_list(USER_OBJECT_ s_object, USER_OBJECT_ s_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GList* list = asCGList(s_list); gtk_window_set_icon_list(object, list); CLEANUP(g_list_free, ((GList*)list));; return(_result); } USER_OBJECT_ S_gtk_window_get_icon_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GList* ans; ans = gtk_window_get_icon_list(object); _result = asRGListWithRef(ans, "GdkPixbuf"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_window_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkPixbuf* icon = GET_LENGTH(s_icon) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_icon)); gtk_window_set_icon(object, icon); return(_result); } USER_OBJECT_ S_gtk_window_set_icon_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); GError* error = NULL; gtk_window_set_icon_from_file(object, filename, &error); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_window_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_window_get_icon(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gtk_window_set_default_icon_list(USER_OBJECT_ s_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* list = asCGList(s_list); gtk_window_set_default_icon_list(list); CLEANUP(g_list_free, ((GList*)list));; return(_result); } USER_OBJECT_ S_gtk_window_get_default_icon_list(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* ans; ans = gtk_window_get_default_icon_list(); _result = asRGListWithRef(ans, "GdkPixbuf"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_window_set_default_icon(USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* icon = GDK_PIXBUF(getPtrValue(s_icon)); gtk_window_set_default_icon(icon); return(_result); } USER_OBJECT_ S_gtk_window_set_default_icon_from_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* filename = ((const gchar*)asCString(s_filename)); GError* error = NULL; gtk_window_set_default_icon_from_file(filename, &error); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_gtk_window_set_auto_startup_notification(USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_auto_startup_notification(setting); return(_result); } USER_OBJECT_ S_gtk_window_set_modal(USER_OBJECT_ s_object, USER_OBJECT_ s_modal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean modal = ((gboolean)asCLogical(s_modal)); gtk_window_set_modal(object, modal); return(_result); } USER_OBJECT_ S_gtk_window_get_modal(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_modal(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_list_toplevels(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* ans; ans = gtk_window_list_toplevels(); _result = asRGListWithSink(ans, "GtkWindow"); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_gtk_window_add_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); guint keyval = ((guint)asCNumeric(s_keyval)); GtkWidget* target = GTK_WIDGET(getPtrValue(s_target)); gtk_window_add_mnemonic(object, keyval, target); return(_result); } USER_OBJECT_ S_gtk_window_remove_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); guint keyval = ((guint)asCNumeric(s_keyval)); GtkWidget* target = GTK_WIDGET(getPtrValue(s_target)); gtk_window_remove_mnemonic(object, keyval, target); return(_result); } USER_OBJECT_ S_gtk_window_mnemonic_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifier) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifier = ((GdkModifierType)asCFlag(s_modifier, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_window_mnemonic_activate(object, keyval, modifier); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_mnemonic_modifier(USER_OBJECT_ s_object, USER_OBJECT_ s_modifier) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkModifierType modifier = ((GdkModifierType)asCFlag(s_modifier, GDK_TYPE_MODIFIER_TYPE)); gtk_window_set_mnemonic_modifier(object, modifier); return(_result); } USER_OBJECT_ S_gtk_window_get_mnemonic_modifier(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkModifierType ans; ans = gtk_window_get_mnemonic_modifier(object); _result = asRFlag(ans, GDK_TYPE_MODIFIER_TYPE); return(_result); } USER_OBJECT_ S_gtk_window_activate_key(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = gtk_window_activate_key(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_propagate_key_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = gtk_window_propagate_key_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_present(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_present(object); return(_result); } USER_OBJECT_ S_gtk_window_present_with_time(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gtk_window_present_with_time(object, timestamp); return(_result); } USER_OBJECT_ S_gtk_window_iconify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_iconify(object); return(_result); } USER_OBJECT_ S_gtk_window_deiconify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_deiconify(object); return(_result); } USER_OBJECT_ S_gtk_window_stick(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_stick(object); return(_result); } USER_OBJECT_ S_gtk_window_unstick(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_unstick(object); return(_result); } USER_OBJECT_ S_gtk_window_maximize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_maximize(object); return(_result); } USER_OBJECT_ S_gtk_window_unmaximize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_unmaximize(object); return(_result); } USER_OBJECT_ S_gtk_window_fullscreen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_fullscreen(object); return(_result); } USER_OBJECT_ S_gtk_window_unfullscreen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_unfullscreen(object); return(_result); } USER_OBJECT_ S_gtk_window_set_keep_above(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_keep_above(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_set_keep_below(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_keep_below(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_begin_resize_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_edge, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkWindowEdge edge = ((GdkWindowEdge)asCEnum(s_edge, GDK_TYPE_WINDOW_EDGE)); gint button = ((gint)asCInteger(s_button)); gint root_x = ((gint)asCInteger(s_root_x)); gint root_y = ((gint)asCInteger(s_root_y)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gtk_window_begin_resize_drag(object, edge, button, root_x, root_y, timestamp); return(_result); } USER_OBJECT_ S_gtk_window_begin_move_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint button = ((gint)asCInteger(s_button)); gint root_x = ((gint)asCInteger(s_root_x)); gint root_y = ((gint)asCInteger(s_root_y)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gtk_window_begin_move_drag(object, button, root_x, root_y, timestamp); return(_result); } USER_OBJECT_ S_gtk_window_set_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_allow_shrink, USER_OBJECT_ s_allow_grow, USER_OBJECT_ s_auto_shrink) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint allow_shrink = ((gint)asCInteger(s_allow_shrink)); gint allow_grow = ((gint)asCInteger(s_allow_grow)); gint auto_shrink = ((gint)asCInteger(s_auto_shrink)); gtk_window_set_policy(object, allow_shrink, allow_grow, auto_shrink); return(_result); } USER_OBJECT_ S_gtk_window_set_default_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_window_set_default_size(object, width, height); return(_result); } USER_OBJECT_ S_gtk_window_get_default_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint width; gint height; gtk_window_get_default_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_window_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_window_resize(object, width, height); return(_result); } USER_OBJECT_ S_gtk_window_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint width; gint height; gtk_window_get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_window_move(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gtk_window_move(object, x, y); return(_result); } USER_OBJECT_ S_gtk_window_get_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gint root_x; gint root_y; gtk_window_get_position(object, &root_x, &root_y); _result = retByVal(_result, "root.x", asRInteger(root_x), "root.y", asRInteger(root_y), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_window_parse_geometry(USER_OBJECT_ s_object, USER_OBJECT_ s_geometry) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* geometry = ((const gchar*)asCString(s_geometry)); gboolean ans; ans = gtk_window_parse_geometry(object, geometry); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_reshow_with_initial_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gtk_window_reshow_with_initial_size(object); return(_result); } USER_OBJECT_ S_gtk_window_group_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = gtk_window_group_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_window_group_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowGroup* ans; ans = gtk_window_group_new(); _result = toRPointerWithFinalizer(ans, "GtkWindowGroup", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_window_group_add_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowGroup* object = GTK_WINDOW_GROUP(getPtrValue(s_object)); GtkWindow* window = GTK_WINDOW(getPtrValue(s_window)); gtk_window_group_add_window(object, window); return(_result); } USER_OBJECT_ S_gtk_window_group_remove_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowGroup* object = GTK_WINDOW_GROUP(getPtrValue(s_object)); GtkWindow* window = GTK_WINDOW(getPtrValue(s_window)); gtk_window_group_remove_window(object, window); return(_result); } USER_OBJECT_ S_gtk_window_set_focus_on_map(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_focus_on_map(object, setting); return(_result); } USER_OBJECT_ S_gtk_window_get_focus_on_map(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_focus_on_map(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* name = GET_LENGTH(s_name) == 0 ? NULL : ((const gchar*)asCString(s_name)); gtk_window_set_icon_name(object, name); return(_result); } USER_OBJECT_ S_gtk_window_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* ans; ans = gtk_window_get_icon_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_gtk_window_set_default_icon_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); gtk_window_set_default_icon_name(name); return(_result); } USER_OBJECT_ S_gtk_widget_get_action(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAction* ans; ans = gtk_widget_get_action(object); _result = toRPointerWithRef(ans, "GtkAction"); #else error("gtk_widget_get_action exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_assistant_get_type(); _result = asRGType(ans); #else error("gtk_assistant_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* ans; ans = gtk_assistant_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_assistant_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_current_page(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); gint ans; ans = gtk_assistant_get_current_page(object); _result = asRInteger(ans); #else error("gtk_assistant_get_current_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); gtk_assistant_set_current_page(object, page_num); #else error("gtk_assistant_set_current_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_n_pages(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); gint ans; ans = gtk_assistant_get_n_pages(object); _result = asRInteger(ans); #else error("gtk_assistant_get_n_pages exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_nth_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); gint page_num = ((gint)asCInteger(s_page_num)); GtkWidget* ans; ans = gtk_assistant_get_nth_page(object, page_num); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_assistant_get_nth_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_prepend_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); gint ans; ans = gtk_assistant_prepend_page(object, page); _result = asRInteger(ans); #else error("gtk_assistant_prepend_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_append_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); gint ans; ans = gtk_assistant_append_page(object, page); _result = asRInteger(ans); #else error("gtk_assistant_append_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_insert_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); gint position = ((gint)asCInteger(s_position)); gint ans; ans = gtk_assistant_insert_page(object, page, position); _result = asRInteger(ans); #else error("gtk_assistant_insert_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_forward_page_func(USER_OBJECT_ s_object, USER_OBJECT_ s_page_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistantPageFunc page_func = ((GtkAssistantPageFunc)S_GtkAssistantPageFunc); R_CallbackData* data = R_createCBData(s_page_func, s_data); GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); gtk_assistant_set_forward_page_func(object, page_func, data, destroy); #else error("gtk_assistant_set_forward_page_func exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_page_type(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GtkAssistantPageType type = ((GtkAssistantPageType)asCEnum(s_type, GTK_TYPE_ASSISTANT_PAGE_TYPE)); gtk_assistant_set_page_type(object, page, type); #else error("gtk_assistant_set_page_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_page_type(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GtkAssistantPageType ans; ans = gtk_assistant_get_page_type(object, page); _result = asREnum(ans, GTK_TYPE_ASSISTANT_PAGE_TYPE); #else error("gtk_assistant_get_page_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_page_title(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_assistant_set_page_title(object, page, title); #else error("gtk_assistant_set_page_title exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_page_title(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); const gchar* ans; ans = gtk_assistant_get_page_title(object, page); _result = asRString(ans); #else error("gtk_assistant_get_page_title exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_page_header_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GdkPixbuf* pixbuf = GET_LENGTH(s_pixbuf) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_assistant_set_page_header_image(object, page, pixbuf); #else error("gtk_assistant_set_page_header_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_page_header_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GdkPixbuf* ans; ans = gtk_assistant_get_page_header_image(object, page); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_assistant_get_page_header_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_page_side_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GdkPixbuf* pixbuf = GET_LENGTH(s_pixbuf) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_assistant_set_page_side_image(object, page, pixbuf); #else error("gtk_assistant_set_page_side_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_page_side_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); GdkPixbuf* ans; ans = gtk_assistant_get_page_side_image(object, page); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_assistant_get_page_side_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_set_page_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_complete) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); gboolean complete = ((gboolean)asCLogical(s_complete)); gtk_assistant_set_page_complete(object, page, complete); #else error("gtk_assistant_set_page_complete exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_get_page_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); gboolean ans; ans = gtk_assistant_get_page_complete(object, page); _result = asRLogical(ans); #else error("gtk_assistant_get_page_complete exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_assistant_add_action_widget(object, child); #else error("gtk_assistant_add_action_widget exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_remove_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gtk_assistant_remove_action_widget(object, child); #else error("gtk_assistant_remove_action_widget exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_update_buttons_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); gtk_assistant_update_buttons_state(object); #else error("gtk_assistant_update_buttons_state exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_button_set_image_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkPositionType position = ((GtkPositionType)asCEnum(s_position, GTK_TYPE_POSITION_TYPE)); gtk_button_set_image_position(object, position); #else error("gtk_button_set_image_position exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_button_get_image_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); GtkPositionType ans; ans = gtk_button_get_image_position(object); _result = asREnum(ans, GTK_TYPE_POSITION_TYPE); #else error("gtk_button_get_image_position exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_accel_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_cell_renderer_accel_get_type(); _result = asRGType(ans); #else error("gtk_cell_renderer_accel_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_accel_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkCellRenderer* ans; ans = gtk_cell_renderer_accel_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); #else error("gtk_cell_renderer_accel_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_spin_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_cell_renderer_spin_get_type(); _result = asRGType(ans); #else error("gtk_cell_renderer_spin_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_spin_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkCellRenderer* ans; ans = gtk_cell_renderer_spin_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); #else error("gtk_cell_renderer_spin_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_request_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkClipboardRichTextReceivedFunc callback = ((GtkClipboardRichTextReceivedFunc)S_GtkClipboardRichTextReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gtk_clipboard_request_rich_text(object, buffer, callback, user_data); R_freeCBData(user_data); #else error("gtk_clipboard_request_rich_text exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); guint8* ans; GdkAtom format; gsize length; ans = gtk_clipboard_wait_for_rich_text(object, buffer, &format, &length); _result = asRRawArrayWithSize(ans, length); _result = retByVal(_result, "format", asRGdkAtom(format), "length", asRNumeric(length), NULL); ; ; #else error("gtk_clipboard_wait_for_rich_text exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_is_rich_text_available(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gboolean ans; ans = gtk_clipboard_wait_is_rich_text_available(object, buffer); _result = asRLogical(ans); #else error("gtk_clipboard_wait_is_rich_text_available exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_combo_box_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); const gchar* ans; ans = gtk_combo_box_get_title(object); _result = asRString(ans); #else error("gtk_combo_box_get_title exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_combo_box_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_combo_box_set_title(object, title); #else error("gtk_combo_box_set_title exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_drag_dest_set_track_motion(USER_OBJECT_ s_object, USER_OBJECT_ s_track_motion) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean track_motion = ((gboolean)asCLogical(s_track_motion)); gtk_drag_dest_set_track_motion(object, track_motion); #else error("gtk_drag_dest_set_track_motion exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_drag_dest_get_track_motion(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_drag_dest_get_track_motion(object); _result = asRLogical(ans); #else error("gtk_drag_dest_get_track_motion exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_inner_border(USER_OBJECT_ s_object, USER_OBJECT_ s_border) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const GtkBorder* border = GET_LENGTH(s_border) == 0 ? NULL : ((const GtkBorder*)getPtrValue(s_border)); gtk_entry_set_inner_border(object, border); #else error("gtk_entry_set_inner_border exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_inner_border(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const GtkBorder* ans; ans = gtk_entry_get_inner_border(object); _result = toRPointerWithFinalizer(ans ? gtk_border_copy(ans) : NULL, "GtkBorder", (RPointerFinalizer) gtk_border_free); #else error("gtk_entry_get_inner_border exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_get_focus_on_click(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_button_get_focus_on_click(object); _result = asRLogical(ans); #else error("gtk_file_chooser_button_get_focus_on_click exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_button_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkFileChooserButton* object = GTK_FILE_CHOOSER_BUTTON(getPtrValue(s_object)); gboolean focus_on_click = ((gboolean)asCLogical(s_focus_on_click)); gtk_file_chooser_button_set_focus_on_click(object, focus_on_click); #else error("gtk_file_chooser_button_set_focus_on_click exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_label_get_line_wrap_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoWrapMode ans; ans = gtk_label_get_line_wrap_mode(object); _result = asREnum(ans, PANGO_TYPE_WRAP_MODE); #else error("gtk_label_get_line_wrap_mode exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_label_set_line_wrap_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_mode) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); PangoWrapMode wrap_mode = ((PangoWrapMode)asCEnum(s_wrap_mode, PANGO_TYPE_WRAP_MODE)); gtk_label_set_line_wrap_mode(object, wrap_mode); #else error("gtk_label_set_line_wrap_mode exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_link_button_get_type(); _result = asRGType(ans); #else error("gtk_link_button_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_new(USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* uri = ((const gchar*)asCString(s_uri)); GtkWidget* ans; ans = gtk_link_button_new(uri); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_link_button_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_new_with_label(USER_OBJECT_ s_uri, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) gchar* uri = ((gchar*)asCString(s_uri)); gchar* label = GET_LENGTH(s_label) == 0 ? NULL : ((gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_link_button_new_with_label(uri, label); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_link_button_new_with_label exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_get_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkLinkButton* object = GTK_LINK_BUTTON(getPtrValue(s_object)); const gchar* ans; ans = gtk_link_button_get_uri(object); _result = asRString(ans); #else error("gtk_link_button_get_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_set_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkLinkButton* object = GTK_LINK_BUTTON(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gtk_link_button_set_uri(object, uri); #else error("gtk_link_button_set_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_set_uri_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkLinkButtonUriFunc func = ((GtkLinkButtonUriFunc)S_GtkLinkButtonUriFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); GtkLinkButtonUriFunc ans; ans = gtk_link_button_set_uri_hook(func, data, destroy); _result = toRPointer(ans, "GtkLinkButtonUriFunc"); #else error("gtk_link_button_set_uri_hook exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_message_dialog_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkMessageDialog* object = GTK_MESSAGE_DIALOG(getPtrValue(s_object)); GtkWidget* image = GTK_WIDGET(getPtrValue(s_image)); gtk_message_dialog_set_image(object, image); #else error("gtk_message_dialog_set_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_window_creation_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebookWindowCreationFunc func = ((GtkNotebookWindowCreationFunc)S_GtkNotebookWindowCreationFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); gtk_notebook_set_window_creation_hook(func, data, destroy); #else error("gtk_notebook_set_window_creation_hook exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_group_id(USER_OBJECT_ s_object, USER_OBJECT_ s_group_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint group_id = ((gint)asCInteger(s_group_id)); gtk_notebook_set_group_id(object, group_id); #else error("gtk_notebook_set_group_id exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_get_group_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint ans; ans = gtk_notebook_get_group_id(object); _result = asRInteger(ans); #else error("gtk_notebook_get_group_id exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_get_tab_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean ans; ans = gtk_notebook_get_tab_reorderable(object, child); _result = asRLogical(ans); #else error("gtk_notebook_get_tab_reorderable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_reorderable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean reorderable = ((gboolean)asCLogical(s_reorderable)); gtk_notebook_set_tab_reorderable(object, child, reorderable); #else error("gtk_notebook_set_tab_reorderable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_get_tab_detachable(USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean ans; ans = gtk_notebook_get_tab_detachable(object, child); _result = asRLogical(ans); #else error("gtk_notebook_get_tab_detachable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_tab_detachable(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_detachable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gboolean detachable = ((gboolean)asCLogical(s_detachable)); gtk_notebook_set_tab_detachable(object, child, detachable); #else error("gtk_notebook_set_tab_detachable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_page_setup_get_type(); _result = asRGType(ans); #else error("gtk_page_setup_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* ans; ans = gtk_page_setup_new(); _result = toRPointerWithFinalizer(ans, "GtkPageSetup", (RPointerFinalizer) g_object_unref); #else error("gtk_page_setup_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPageSetup* ans; ans = gtk_page_setup_copy(object); _result = toRPointerWithRef(ans, "GtkPageSetup"); #else error("gtk_page_setup_copy exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPageOrientation ans; ans = gtk_page_setup_get_orientation(object); _result = asREnum(ans, GTK_TYPE_PAGE_ORIENTATION); #else error("gtk_page_setup_get_orientation exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPageOrientation orientation = ((GtkPageOrientation)asCEnum(s_orientation, GTK_TYPE_PAGE_ORIENTATION)); gtk_page_setup_set_orientation(object, orientation); #else error("gtk_page_setup_set_orientation exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_paper_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPaperSize* ans; ans = gtk_page_setup_get_paper_size(object); _result = toRPointerWithFinalizer(ans ? gtk_paper_size_copy(ans) : NULL, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_page_setup_get_paper_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_paper_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPaperSize* size = ((GtkPaperSize*)getPtrValue(s_size)); gtk_page_setup_set_paper_size(object, size); #else error("gtk_page_setup_set_paper_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_top_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_top_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); gdouble margin = ((gdouble)asCNumeric(s_margin)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_page_setup_set_top_margin(object, margin, unit); #else error("gtk_page_setup_set_top_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_bottom_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_bottom_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); gdouble margin = ((gdouble)asCNumeric(s_margin)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_page_setup_set_bottom_margin(object, margin, unit); #else error("gtk_page_setup_set_bottom_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_left_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_left_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); gdouble margin = ((gdouble)asCNumeric(s_margin)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_page_setup_set_left_margin(object, margin, unit); #else error("gtk_page_setup_set_left_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_right_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_right_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); gdouble margin = ((gdouble)asCNumeric(s_margin)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_page_setup_set_right_margin(object, margin, unit); #else error("gtk_page_setup_set_right_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_set_paper_size_and_default_margins(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkPaperSize* size = ((GtkPaperSize*)getPtrValue(s_size)); gtk_page_setup_set_paper_size_and_default_margins(object, size); #else error("gtk_page_setup_set_paper_size_and_default_margins exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_paper_width(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_paper_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_paper_height(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_paper_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_page_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_page_width(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_page_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_get_page_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_page_setup_get_page_height(object, unit); _result = asRNumeric(ans); #else error("gtk_page_setup_get_page_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_paper_size_get_type(); _result = asRGType(ans); #else error("gtk_paper_size_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_new(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* name = GET_LENGTH(s_name) == 0 ? NULL : ((const gchar*)asCString(s_name)); GtkPaperSize* ans; ans = gtk_paper_size_new(name); _result = toRPointerWithFinalizer(ans, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_paper_size_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_new_from_ppd(USER_OBJECT_ s_ppd_name, USER_OBJECT_ s_ppd_display_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* ppd_name = ((const gchar*)asCString(s_ppd_name)); const gchar* ppd_display_name = ((const gchar*)asCString(s_ppd_display_name)); gdouble width = ((gdouble)asCNumeric(s_width)); gdouble height = ((gdouble)asCNumeric(s_height)); GtkPaperSize* ans; ans = gtk_paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height); _result = toRPointerWithFinalizer(ans, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_paper_size_new_from_ppd exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_new_custom(USER_OBJECT_ s_name, USER_OBJECT_ s_display_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* name = ((const gchar*)asCString(s_name)); const gchar* display_name = ((const gchar*)asCString(s_display_name)); gdouble width = ((gdouble)asCNumeric(s_width)); gdouble height = ((gdouble)asCNumeric(s_height)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); GtkPaperSize* ans; ans = gtk_paper_size_new_custom(name, display_name, width, height, unit); _result = toRPointerWithFinalizer(ans, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_paper_size_new_custom exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkPaperSize* ans; ans = gtk_paper_size_copy(object); _result = toRPointerWithFinalizer(ans, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_paper_size_copy exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); gtk_paper_size_free(object); #else error("gtk_paper_size_free exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_is_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_size2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkPaperSize* size2 = ((GtkPaperSize*)getPtrValue(s_size2)); gboolean ans; ans = gtk_paper_size_is_equal(object, size2); _result = asRLogical(ans); #else error("gtk_paper_size_is_equal exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); const gchar* ans; ans = gtk_paper_size_get_name(object); _result = asRString(ans); #else error("gtk_paper_size_get_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_display_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); const gchar* ans; ans = gtk_paper_size_get_display_name(object); _result = asRString(ans); #else error("gtk_paper_size_get_display_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_ppd_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); const gchar* ans; ans = gtk_paper_size_get_ppd_name(object); _result = asRString(ans); #else error("gtk_paper_size_get_ppd_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_width(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_height(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_is_custom(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); gboolean ans; ans = gtk_paper_size_is_custom(object); _result = asRLogical(ans); #else error("gtk_paper_size_is_custom exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); gdouble width = ((gdouble)asCNumeric(s_width)); gdouble height = ((gdouble)asCNumeric(s_height)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_paper_size_set_size(object, width, height, unit); #else error("gtk_paper_size_set_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_default_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_default_top_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_default_top_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_default_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_default_bottom_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_default_bottom_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_default_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_default_left_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_default_left_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_default_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_paper_size_get_default_right_margin(object, unit); _result = asRNumeric(ans); #else error("gtk_paper_size_get_default_right_margin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* ans; ans = gtk_paper_size_get_default(); _result = asRString(ans); #else error("gtk_paper_size_get_default exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_context_get_type(); _result = asRGType(ans); #else error("gtk_print_context_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_cairo_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); cairo_t* ans; ans = gtk_print_context_get_cairo_context(object); _result = toRPointerWithCairoRef(ans, "Cairo", cairo); #else error("gtk_print_context_get_cairo_context exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_page_setup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); GtkPageSetup* ans; ans = gtk_print_context_get_page_setup(object); _result = toRPointerWithRef(ans, "GtkPageSetup"); #else error("gtk_print_context_get_page_setup exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); gdouble ans; ans = gtk_print_context_get_width(object); _result = asRNumeric(ans); #else error("gtk_print_context_get_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_height(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); gdouble ans; ans = gtk_print_context_get_height(object); _result = asRNumeric(ans); #else error("gtk_print_context_get_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_dpi_x(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); gdouble ans; ans = gtk_print_context_get_dpi_x(object); _result = asRNumeric(ans); #else error("gtk_print_context_get_dpi_x exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_dpi_y(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); gdouble ans; ans = gtk_print_context_get_dpi_y(object); _result = asRNumeric(ans); #else error("gtk_print_context_get_dpi_y exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_pango_fontmap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); PangoFontMap* ans; ans = gtk_print_context_get_pango_fontmap(object); _result = toRPointerWithRef(ans, "PangoFontMap"); #else error("gtk_print_context_get_pango_fontmap exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_create_pango_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); PangoContext* ans; ans = gtk_print_context_create_pango_context(object); _result = toRPointerWithRef(ans, "PangoContext"); #else error("gtk_print_context_create_pango_context exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_create_pango_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); PangoLayout* ans; ans = gtk_print_context_create_pango_layout(object); _result = toRPointerWithRef(ans, "PangoLayout"); #else error("gtk_print_context_create_pango_layout exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_set_cairo_context(USER_OBJECT_ s_object, USER_OBJECT_ s_cr, USER_OBJECT_ s_dpi_x, USER_OBJECT_ s_dpi_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double dpi_x = ((double)asCNumeric(s_dpi_x)); double dpi_y = ((double)asCNumeric(s_dpi_y)); gtk_print_context_set_cairo_context(object, cr, dpi_x, dpi_y); #else error("gtk_print_context_set_cairo_context exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GQuark ans; ans = gtk_print_error_quark(); _result = asRGQuark(ans); #else error("gtk_print_error_quark exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_operation_get_type(); _result = asRGType(ans); #else error("gtk_print_operation_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* ans; ans = gtk_print_operation_new(); _result = toRPointerWithFinalizer(ans, "GtkPrintOperation", (RPointerFinalizer) g_object_unref); #else error("gtk_print_operation_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_default_page_setup(USER_OBJECT_ s_object, USER_OBJECT_ s_default_page_setup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPageSetup* default_page_setup = GET_LENGTH(s_default_page_setup) == 0 ? NULL : GTK_PAGE_SETUP(getPtrValue(s_default_page_setup)); gtk_print_operation_set_default_page_setup(object, default_page_setup); #else error("gtk_print_operation_set_default_page_setup exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_default_page_setup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPageSetup* ans; ans = gtk_print_operation_get_default_page_setup(object); _result = toRPointerWithRef(ans, "GtkPageSetup"); #else error("gtk_print_operation_get_default_page_setup exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_print_settings(USER_OBJECT_ s_object, USER_OBJECT_ s_print_settings) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintSettings* print_settings = GET_LENGTH(s_print_settings) == 0 ? NULL : GTK_PRINT_SETTINGS(getPtrValue(s_print_settings)); gtk_print_operation_set_print_settings(object, print_settings); #else error("gtk_print_operation_set_print_settings exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_print_settings(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintSettings* ans; ans = gtk_print_operation_get_print_settings(object); _result = toRPointerWithRef(ans, "GtkPrintSettings"); #else error("gtk_print_operation_get_print_settings exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_job_name(USER_OBJECT_ s_object, USER_OBJECT_ s_job_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); const gchar* job_name = ((const gchar*)asCString(s_job_name)); gtk_print_operation_set_job_name(object, job_name); #else error("gtk_print_operation_set_job_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_n_pages(USER_OBJECT_ s_object, USER_OBJECT_ s_n_pages) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gint n_pages = ((gint)asCInteger(s_n_pages)); gtk_print_operation_set_n_pages(object, n_pages); #else error("gtk_print_operation_set_n_pages exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_current_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gint current_page = ((gint)asCInteger(s_current_page)); gtk_print_operation_set_current_page(object, current_page); #else error("gtk_print_operation_set_current_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_use_full_page(USER_OBJECT_ s_object, USER_OBJECT_ s_full_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean full_page = ((gboolean)asCLogical(s_full_page)); gtk_print_operation_set_use_full_page(object, full_page); #else error("gtk_print_operation_set_use_full_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_unit(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_print_operation_set_unit(object, unit); #else error("gtk_print_operation_set_unit exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_export_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_print_operation_set_export_filename(object, filename); #else error("gtk_print_operation_set_export_filename exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_track_print_status(USER_OBJECT_ s_object, USER_OBJECT_ s_track_status) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean track_status = ((gboolean)asCLogical(s_track_status)); gtk_print_operation_set_track_print_status(object, track_status); #else error("gtk_print_operation_set_track_print_status exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_show_progress(USER_OBJECT_ s_object, USER_OBJECT_ s_show_progress) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean show_progress = ((gboolean)asCLogical(s_show_progress)); gtk_print_operation_set_show_progress(object, show_progress); #else error("gtk_print_operation_set_show_progress exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_allow_async(USER_OBJECT_ s_object, USER_OBJECT_ s_allow_async) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean allow_async = ((gboolean)asCLogical(s_allow_async)); gtk_print_operation_set_allow_async(object, allow_async); #else error("gtk_print_operation_set_allow_async exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_custom_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); const gchar* label = ((const gchar*)asCString(s_label)); gtk_print_operation_set_custom_tab_label(object, label); #else error("gtk_print_operation_set_custom_tab_label exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_run(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintOperationAction action = ((GtkPrintOperationAction)asCEnum(s_action, GTK_TYPE_PRINT_OPERATION_ACTION)); GtkWindow* parent = GET_LENGTH(s_parent) == 0 ? NULL : GTK_WINDOW(getPtrValue(s_parent)); GtkPrintOperationResult ans; GError* error = NULL; ans = gtk_print_operation_run(object, action, parent, &error); _result = asREnum(ans, GTK_TYPE_PRINT_OPERATION_RESULT); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_operation_run exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_error(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GError* error = NULL; gtk_print_operation_get_error(object, &error); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_operation_get_error exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_status(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintStatus ans; ans = gtk_print_operation_get_status(object); _result = asREnum(ans, GTK_TYPE_PRINT_STATUS); #else error("gtk_print_operation_get_status exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_status_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_operation_get_status_string(object); _result = asRString(ans); #else error("gtk_print_operation_get_status_string exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_is_finished(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = gtk_print_operation_is_finished(object); _result = asRLogical(ans); #else error("gtk_print_operation_is_finished exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_cancel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gtk_print_operation_cancel(object); #else error("gtk_print_operation_cancel exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_run_page_setup_dialog(USER_OBJECT_ s_parent, USER_OBJECT_ s_page_setup, USER_OBJECT_ s_settings) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWindow* parent = GTK_WINDOW(getPtrValue(s_parent)); GtkPageSetup* page_setup = GET_LENGTH(s_page_setup) == 0 ? NULL : GTK_PAGE_SETUP(getPtrValue(s_page_setup)); GtkPrintSettings* settings = GTK_PRINT_SETTINGS(getPtrValue(s_settings)); GtkPageSetup* ans; ans = gtk_print_run_page_setup_dialog(parent, page_setup, settings); _result = toRPointerWithRef(ans, "GtkPageSetup"); #else error("gtk_print_run_page_setup_dialog exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_run_page_setup_dialog_async(USER_OBJECT_ s_parent, USER_OBJECT_ s_page_setup, USER_OBJECT_ s_settings, USER_OBJECT_ s_done_cb, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPageSetupDoneFunc done_cb = ((GtkPageSetupDoneFunc)S_GtkPageSetupDoneFunc); R_CallbackData* data = R_createCBData(s_done_cb, s_data); GtkWindow* parent = GTK_WINDOW(getPtrValue(s_parent)); GtkPageSetup* page_setup = GTK_PAGE_SETUP(getPtrValue(s_page_setup)); GtkPrintSettings* settings = GTK_PRINT_SETTINGS(getPtrValue(s_settings)); gtk_print_run_page_setup_dialog_async(parent, page_setup, settings, done_cb, data); R_freeCBData(data); #else error("gtk_print_run_page_setup_dialog_async exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_preview_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_operation_preview_get_type(); _result = asRGType(ans); #else error("gtk_print_operation_preview_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_preview_render_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_nr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationPreview* object = GTK_PRINT_OPERATION_PREVIEW(getPtrValue(s_object)); gint page_nr = ((gint)asCInteger(s_page_nr)); gtk_print_operation_preview_render_page(object, page_nr); #else error("gtk_print_operation_preview_render_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_preview_end_preview(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationPreview* object = GTK_PRINT_OPERATION_PREVIEW(getPtrValue(s_object)); gtk_print_operation_preview_end_preview(object); #else error("gtk_print_operation_preview_end_preview exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_preview_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_page_nr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationPreview* object = GTK_PRINT_OPERATION_PREVIEW(getPtrValue(s_object)); gint page_nr = ((gint)asCInteger(s_page_nr)); gboolean ans; ans = gtk_print_operation_preview_is_selected(object, page_nr); _result = asRLogical(ans); #else error("gtk_print_operation_preview_is_selected exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_settings_get_type(); _result = asRGType(ans); #else error("gtk_print_settings_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* ans; ans = gtk_print_settings_new(); _result = toRPointerWithFinalizer(ans, "GtkPrintSettings", (RPointerFinalizer) g_object_unref); #else error("gtk_print_settings_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintSettings* ans; ans = gtk_print_settings_copy(object); _result = toRPointerWithRef(ans, "GtkPrintSettings"); #else error("gtk_print_settings_copy exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_has_key(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gboolean ans; ans = gtk_print_settings_has_key(object, key); _result = asRLogical(ans); #else error("gtk_print_settings_has_key exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); const gchar* ans; ans = gtk_print_settings_get(object, key); _result = asRString(ans); #else error("gtk_print_settings_get exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); const gchar* value = ((const gchar*)asCString(s_value)); gtk_print_settings_set(object, key, value); #else error("gtk_print_settings_set exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_unset(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gtk_print_settings_unset(object, key); #else error("gtk_print_settings_unset exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettingsFunc func = ((GtkPrintSettingsFunc)S_GtkPrintSettingsFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gtk_print_settings_foreach(object, func, user_data); R_freeCBData(user_data); #else error("gtk_print_settings_foreach exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_bool(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gboolean ans; ans = gtk_print_settings_get_bool(object, key); _result = asRLogical(ans); #else error("gtk_print_settings_get_bool exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_bool(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gboolean value = ((gboolean)asCLogical(s_value)); gtk_print_settings_set_bool(object, key, value); #else error("gtk_print_settings_set_bool exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_double(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gdouble ans; ans = gtk_print_settings_get_double(object, key); _result = asRNumeric(ans); #else error("gtk_print_settings_get_double exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_double_with_default(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_def) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gdouble def = ((gdouble)asCNumeric(s_def)); gdouble ans; ans = gtk_print_settings_get_double_with_default(object, key, def); _result = asRNumeric(ans); #else error("gtk_print_settings_get_double_with_default exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_double(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_print_settings_set_double(object, key, value); #else error("gtk_print_settings_set_double exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_length(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_print_settings_get_length(object, key, unit); _result = asRNumeric(ans); #else error("gtk_print_settings_get_length exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_length(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gdouble value = ((gdouble)asCNumeric(s_value)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_print_settings_set_length(object, key, value, unit); #else error("gtk_print_settings_set_length exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_int(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gint ans; ans = gtk_print_settings_get_int(object, key); _result = asRInteger(ans); #else error("gtk_print_settings_get_int exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_int_with_default(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_def) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gint def = ((gint)asCInteger(s_def)); gint ans; ans = gtk_print_settings_get_int_with_default(object, key, def); _result = asRInteger(ans); #else error("gtk_print_settings_get_int_with_default exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_int(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* key = ((const gchar*)asCString(s_key)); gint value = ((gint)asCInteger(s_value)); gtk_print_settings_set_int(object, key, value); #else error("gtk_print_settings_set_int exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_printer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_printer(object); _result = asRString(ans); #else error("gtk_print_settings_get_printer exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_printer(USER_OBJECT_ s_object, USER_OBJECT_ s_printer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* printer = ((const gchar*)asCString(s_printer)); gtk_print_settings_set_printer(object, printer); #else error("gtk_print_settings_set_printer exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPageOrientation ans; ans = gtk_print_settings_get_orientation(object); _result = asREnum(ans, GTK_TYPE_PAGE_ORIENTATION); #else error("gtk_print_settings_get_orientation exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPageOrientation orientation = ((GtkPageOrientation)asCEnum(s_orientation, GTK_TYPE_PAGE_ORIENTATION)); gtk_print_settings_set_orientation(object, orientation); #else error("gtk_print_settings_set_orientation exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_paper_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPaperSize* ans; ans = gtk_print_settings_get_paper_size(object); _result = toRPointerWithFinalizer(ans ? gtk_paper_size_copy(ans) : NULL, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_print_settings_get_paper_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_paper_size(USER_OBJECT_ s_object, USER_OBJECT_ s_paper_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPaperSize* paper_size = ((GtkPaperSize*)getPtrValue(s_paper_size)); gtk_print_settings_set_paper_size(object, paper_size); #else error("gtk_print_settings_set_paper_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_print_settings_get_paper_width(object, unit); _result = asRNumeric(ans); #else error("gtk_print_settings_get_paper_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble width = ((gdouble)asCNumeric(s_width)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_print_settings_set_paper_width(object, width, unit); #else error("gtk_print_settings_set_paper_width exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gdouble ans; ans = gtk_print_settings_get_paper_height(object, unit); _result = asRNumeric(ans); #else error("gtk_print_settings_get_paper_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height, USER_OBJECT_ s_unit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble height = ((gdouble)asCNumeric(s_height)); GtkUnit unit = ((GtkUnit)asCEnum(s_unit, GTK_TYPE_UNIT)); gtk_print_settings_set_paper_height(object, height, unit); #else error("gtk_print_settings_set_paper_height exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_use_color(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean ans; ans = gtk_print_settings_get_use_color(object); _result = asRLogical(ans); #else error("gtk_print_settings_get_use_color exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_use_color(USER_OBJECT_ s_object, USER_OBJECT_ s_use_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean use_color = ((gboolean)asCLogical(s_use_color)); gtk_print_settings_set_use_color(object, use_color); #else error("gtk_print_settings_set_use_color exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_collate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean ans; ans = gtk_print_settings_get_collate(object); _result = asRLogical(ans); #else error("gtk_print_settings_get_collate exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_collate(USER_OBJECT_ s_object, USER_OBJECT_ s_collate) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean collate = ((gboolean)asCLogical(s_collate)); gtk_print_settings_set_collate(object, collate); #else error("gtk_print_settings_set_collate exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_reverse(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean ans; ans = gtk_print_settings_get_reverse(object); _result = asRLogical(ans); #else error("gtk_print_settings_get_reverse exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_reverse(USER_OBJECT_ s_object, USER_OBJECT_ s_reverse) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gboolean reverse = ((gboolean)asCLogical(s_reverse)); gtk_print_settings_set_reverse(object, reverse); #else error("gtk_print_settings_set_reverse exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_duplex(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintDuplex ans; ans = gtk_print_settings_get_duplex(object); _result = asREnum(ans, GTK_TYPE_PRINT_DUPLEX); #else error("gtk_print_settings_get_duplex exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_duplex(USER_OBJECT_ s_object, USER_OBJECT_ s_duplex) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintDuplex duplex = ((GtkPrintDuplex)asCEnum(s_duplex, GTK_TYPE_PRINT_DUPLEX)); gtk_print_settings_set_duplex(object, duplex); #else error("gtk_print_settings_set_duplex exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_quality(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintQuality ans; ans = gtk_print_settings_get_quality(object); _result = asREnum(ans, GTK_TYPE_PRINT_QUALITY); #else error("gtk_print_settings_get_quality exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_quality(USER_OBJECT_ s_object, USER_OBJECT_ s_quality) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintQuality quality = ((GtkPrintQuality)asCEnum(s_quality, GTK_TYPE_PRINT_QUALITY)); gtk_print_settings_set_quality(object, quality); #else error("gtk_print_settings_set_quality exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_n_copies(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint ans; ans = gtk_print_settings_get_n_copies(object); _result = asRInteger(ans); #else error("gtk_print_settings_get_n_copies exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_n_copies(USER_OBJECT_ s_object, USER_OBJECT_ s_num_copies) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint num_copies = ((gint)asCInteger(s_num_copies)); gtk_print_settings_set_n_copies(object, num_copies); #else error("gtk_print_settings_set_n_copies exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_number_up(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint ans; ans = gtk_print_settings_get_number_up(object); _result = asRInteger(ans); #else error("gtk_print_settings_get_number_up exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_number_up(USER_OBJECT_ s_object, USER_OBJECT_ s_number_up) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint number_up = ((gint)asCInteger(s_number_up)); gtk_print_settings_set_number_up(object, number_up); #else error("gtk_print_settings_set_number_up exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_resolution(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint ans; ans = gtk_print_settings_get_resolution(object); _result = asRInteger(ans); #else error("gtk_print_settings_get_resolution exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_resolution) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint resolution = ((gint)asCInteger(s_resolution)); gtk_print_settings_set_resolution(object, resolution); #else error("gtk_print_settings_set_resolution exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_scale(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble ans; ans = gtk_print_settings_get_scale(object); _result = asRNumeric(ans); #else error("gtk_print_settings_get_scale exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_scale) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble scale = ((gdouble)asCNumeric(s_scale)); gtk_print_settings_set_scale(object, scale); #else error("gtk_print_settings_set_scale exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_print_pages(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintPages ans; ans = gtk_print_settings_get_print_pages(object); _result = asREnum(ans, GTK_TYPE_PRINT_PAGES); #else error("gtk_print_settings_get_print_pages exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_print_pages(USER_OBJECT_ s_object, USER_OBJECT_ s_pages) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPrintPages pages = ((GtkPrintPages)asCEnum(s_pages, GTK_TYPE_PRINT_PAGES)); gtk_print_settings_set_print_pages(object, pages); #else error("gtk_print_settings_set_print_pages exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_page_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_num_ranges) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint* num_ranges = ((gint*)asCArray(s_num_ranges, gint, asCInteger)); GtkPageRange* ans; ans = gtk_print_settings_get_page_ranges(object, num_ranges); _result = asRGtkPageRange(ans); #else error("gtk_print_settings_get_page_ranges exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_page_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_page_ranges, USER_OBJECT_ s_num_ranges) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPageRange* page_ranges = asCGtkPageRange(s_page_ranges); gint num_ranges = ((gint)asCInteger(s_num_ranges)); gtk_print_settings_set_page_ranges(object, page_ranges, num_ranges); #else error("gtk_print_settings_set_page_ranges exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_page_set(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPageSet ans; ans = gtk_print_settings_get_page_set(object); _result = asREnum(ans, GTK_TYPE_PAGE_SET); #else error("gtk_print_settings_get_page_set exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_page_set(USER_OBJECT_ s_object, USER_OBJECT_ s_page_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkPageSet page_set = ((GtkPageSet)asCEnum(s_page_set, GTK_TYPE_PAGE_SET)); gtk_print_settings_set_page_set(object, page_set); #else error("gtk_print_settings_set_page_set exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_default_source(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_default_source(object); _result = asRString(ans); #else error("gtk_print_settings_get_default_source exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_default_source(USER_OBJECT_ s_object, USER_OBJECT_ s_default_source) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* default_source = ((const gchar*)asCString(s_default_source)); gtk_print_settings_set_default_source(object, default_source); #else error("gtk_print_settings_set_default_source exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_media_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_media_type(object); _result = asRString(ans); #else error("gtk_print_settings_get_media_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_media_type(USER_OBJECT_ s_object, USER_OBJECT_ s_media_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* media_type = ((const gchar*)asCString(s_media_type)); gtk_print_settings_set_media_type(object, media_type); #else error("gtk_print_settings_set_media_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_dither(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_dither(object); _result = asRString(ans); #else error("gtk_print_settings_get_dither exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_dither(USER_OBJECT_ s_object, USER_OBJECT_ s_dither) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* dither = ((const gchar*)asCString(s_dither)); gtk_print_settings_set_dither(object, dither); #else error("gtk_print_settings_set_dither exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_finishings(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_finishings(object); _result = asRString(ans); #else error("gtk_print_settings_get_finishings exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_finishings(USER_OBJECT_ s_object, USER_OBJECT_ s_finishings) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* finishings = ((const gchar*)asCString(s_finishings)); gtk_print_settings_set_finishings(object, finishings); #else error("gtk_print_settings_set_finishings exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_output_bin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* ans; ans = gtk_print_settings_get_output_bin(object); _result = asRString(ans); #else error("gtk_print_settings_get_output_bin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_output_bin(USER_OBJECT_ s_object, USER_OBJECT_ s_output_bin) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* output_bin = ((const gchar*)asCString(s_output_bin)); gtk_print_settings_set_output_bin(object, output_bin); #else error("gtk_print_settings_set_output_bin exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_radio_action_set_current_value(USER_OBJECT_ s_object, USER_OBJECT_ s_current_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRadioAction* object = GTK_RADIO_ACTION(getPtrValue(s_object)); gint current_value = ((gint)asCInteger(s_current_value)); gtk_radio_action_set_current_value(object, current_value); #else error("gtk_radio_action_set_current_value exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_lower_stepper_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkSensitivityType sensitivity = ((GtkSensitivityType)asCEnum(s_sensitivity, GTK_TYPE_SENSITIVITY_TYPE)); gtk_range_set_lower_stepper_sensitivity(object, sensitivity); #else error("gtk_range_set_lower_stepper_sensitivity exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_lower_stepper_sensitivity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkSensitivityType ans; ans = gtk_range_get_lower_stepper_sensitivity(object); _result = asREnum(ans, GTK_TYPE_SENSITIVITY_TYPE); #else error("gtk_range_get_lower_stepper_sensitivity exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_upper_stepper_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkSensitivityType sensitivity = ((GtkSensitivityType)asCEnum(s_sensitivity, GTK_TYPE_SENSITIVITY_TYPE)); gtk_range_set_upper_stepper_sensitivity(object, sensitivity); #else error("gtk_range_set_upper_stepper_sensitivity exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_upper_stepper_sensitivity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkSensitivityType ans; ans = gtk_range_get_upper_stepper_sensitivity(object); _result = asREnum(ans, GTK_TYPE_SENSITIVITY_TYPE); #else error("gtk_range_get_upper_stepper_sensitivity exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_dialog_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_chooser_dialog_get_type(); _result = asRGType(ans); #else error("gtk_recent_chooser_dialog_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GQuark ans; ans = gtk_recent_chooser_error_quark(); _result = asRGQuark(ans); #else error("gtk_recent_chooser_error_quark exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_chooser_get_type(); _result = asRGType(ans); #else error("gtk_recent_chooser_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_show_private(USER_OBJECT_ s_object, USER_OBJECT_ s_show_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean show_private = ((gboolean)asCLogical(s_show_private)); gtk_recent_chooser_set_show_private(object, show_private); #else error("gtk_recent_chooser_set_show_private exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_show_private(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_show_private(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_show_private exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_show_not_found(USER_OBJECT_ s_object, USER_OBJECT_ s_show_not_found) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean show_not_found = ((gboolean)asCLogical(s_show_not_found)); gtk_recent_chooser_set_show_not_found(object, show_not_found); #else error("gtk_recent_chooser_set_show_not_found exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_show_not_found(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_show_not_found(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_show_not_found exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean select_multiple = ((gboolean)asCLogical(s_select_multiple)); gtk_recent_chooser_set_select_multiple(object, select_multiple); #else error("gtk_recent_chooser_set_select_multiple exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_select_multiple(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_select_multiple(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_select_multiple exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gint limit = ((gint)asCInteger(s_limit)); gtk_recent_chooser_set_limit(object, limit); #else error("gtk_recent_chooser_set_limit exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_limit(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gint ans; ans = gtk_recent_chooser_get_limit(object); _result = asRInteger(ans); #else error("gtk_recent_chooser_get_limit exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_local_only(USER_OBJECT_ s_object, USER_OBJECT_ s_local_only) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean local_only = ((gboolean)asCLogical(s_local_only)); gtk_recent_chooser_set_local_only(object, local_only); #else error("gtk_recent_chooser_set_local_only exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_local_only(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_local_only(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_local_only exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_show_tips(USER_OBJECT_ s_object, USER_OBJECT_ s_show_tips) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean show_tips = ((gboolean)asCLogical(s_show_tips)); gtk_recent_chooser_set_show_tips(object, show_tips); #else error("gtk_recent_chooser_set_show_tips exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_show_tips(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_show_tips(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_show_tips exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_show_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_show_icons) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean show_icons = ((gboolean)asCLogical(s_show_icons)); gtk_recent_chooser_set_show_icons(object, show_icons); #else error("gtk_recent_chooser_set_show_icons exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_show_icons(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_get_show_icons(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_get_show_icons exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_sort_type(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentSortType sort_type = ((GtkRecentSortType)asCEnum(s_sort_type, GTK_TYPE_RECENT_SORT_TYPE)); gtk_recent_chooser_set_sort_type(object, sort_type); #else error("gtk_recent_chooser_set_sort_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_sort_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentSortType ans; ans = gtk_recent_chooser_get_sort_type(object); _result = asREnum(ans, GTK_TYPE_RECENT_SORT_TYPE); #else error("gtk_recent_chooser_get_sort_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_sort_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentSortFunc sort_func = ((GtkRecentSortFunc)S_GtkRecentSortFunc); R_CallbackData* sort_data = R_createCBData(s_sort_func, s_sort_data); GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GDestroyNotify data_destroy = ((GDestroyNotify)R_freeCBData); gtk_recent_chooser_set_sort_func(object, sort_func, sort_data, data_destroy); #else error("gtk_recent_chooser_set_sort_func exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_current_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; GError* error = NULL; ans = gtk_recent_chooser_set_current_uri(object, uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_chooser_set_current_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_current_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gchar* ans; ans = gtk_recent_chooser_get_current_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_recent_chooser_get_current_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_current_item(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentInfo* ans; ans = gtk_recent_chooser_get_current_item(object); _result = toRPointerWithFinalizer(ans ? gtk_recent_info_ref(ans) : NULL, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref); #else error("gtk_recent_chooser_get_current_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_select_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; GError* error = NULL; ans = gtk_recent_chooser_select_uri(object, uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_chooser_select_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_unselect_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gtk_recent_chooser_unselect_uri(object, uri); #else error("gtk_recent_chooser_unselect_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_select_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gtk_recent_chooser_select_all(object); #else error("gtk_recent_chooser_select_all exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_unselect_all(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gtk_recent_chooser_unselect_all(object); #else error("gtk_recent_chooser_unselect_all exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GList* ans; ans = gtk_recent_chooser_get_items(object); _result = asRGListWithFinalizer(ans, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref); CLEANUP(g_list_free, ans);; #else error("gtk_recent_chooser_get_items exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); gchar** ans; gsize length; ans = gtk_recent_chooser_get_uris(object, &length); _result = asRStringArrayWithSize(ans, length); _result = retByVal(_result, "length", asRNumeric(length), NULL); ; #else error("gtk_recent_chooser_get_uris exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentFilter* filter = GTK_RECENT_FILTER(getPtrValue(s_filter)); gtk_recent_chooser_add_filter(object, filter); #else error("gtk_recent_chooser_add_filter exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentFilter* filter = GTK_RECENT_FILTER(getPtrValue(s_filter)); gtk_recent_chooser_remove_filter(object, filter); #else error("gtk_recent_chooser_remove_filter exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_list_filters(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_recent_chooser_list_filters(object); _result = asRGSListWithSink(ans, "GtkRecentFilter"); #else error("gtk_recent_chooser_list_filters exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_set_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentFilter* filter = GTK_RECENT_FILTER(getPtrValue(s_filter)); gtk_recent_chooser_set_filter(object, filter); #else error("gtk_recent_chooser_set_filter exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_get_filter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooser* object = GTK_RECENT_CHOOSER(getPtrValue(s_object)); GtkRecentFilter* ans; ans = gtk_recent_chooser_get_filter(object); _result = toRPointerWithSink(ans, "GtkRecentFilter"); #else error("gtk_recent_chooser_get_filter exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_menu_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_chooser_menu_get_type(); _result = asRGType(ans); #else error("gtk_recent_chooser_menu_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_menu_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* ans; ans = gtk_recent_chooser_menu_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_recent_chooser_menu_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_menu_new_for_manager(USER_OBJECT_ s_manager) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) char * prop_names[] = { "recent-manager", NULL }; USER_OBJECT_ args[] = { s_manager }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_RECENT_CHOOSER_MENU, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_recent_chooser_menu_new_for_manager exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_menu_get_show_numbers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooserMenu* object = GTK_RECENT_CHOOSER_MENU(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_chooser_menu_get_show_numbers(object); _result = asRLogical(ans); #else error("gtk_recent_chooser_menu_get_show_numbers exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_menu_set_show_numbers(USER_OBJECT_ s_object, USER_OBJECT_ s_show_numbers) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentChooserMenu* object = GTK_RECENT_CHOOSER_MENU(getPtrValue(s_object)); gboolean show_numbers = ((gboolean)asCLogical(s_show_numbers)); gtk_recent_chooser_menu_set_show_numbers(object, show_numbers); #else error("gtk_recent_chooser_menu_set_show_numbers exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_widget_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_chooser_widget_get_type(); _result = asRGType(ans); #else error("gtk_recent_chooser_widget_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_widget_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* ans; ans = gtk_recent_chooser_widget_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_recent_chooser_widget_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_widget_new_for_manager(USER_OBJECT_ s_manager) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) char * prop_names[] = { "recent-manager", NULL }; USER_OBJECT_ args[] = { s_manager }; GtkWidget* ans; ans = propertyConstructor(GTK_TYPE_RECENT_CHOOSER_WIDGET, prop_names, args, 1); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_recent_chooser_widget_new_for_manager exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_filter_get_type(); _result = asRGType(ans); #else error("gtk_recent_filter_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* ans; ans = gtk_recent_filter_new(); _result = toRPointerWithSink(ans, "GtkRecentFilter"); #else error("gtk_recent_filter_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_recent_filter_set_name(object, name); #else error("gtk_recent_filter_set_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* ans; ans = gtk_recent_filter_get_name(object); _result = asRString(ans); #else error("gtk_recent_filter_get_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* mime_type = ((const gchar*)asCString(s_mime_type)); gtk_recent_filter_add_mime_type(object, mime_type); #else error("gtk_recent_filter_add_mime_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* pattern = ((const gchar*)asCString(s_pattern)); gtk_recent_filter_add_pattern(object, pattern); #else error("gtk_recent_filter_add_pattern exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_pixbuf_formats(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); gtk_recent_filter_add_pixbuf_formats(object); #else error("gtk_recent_filter_add_pixbuf_formats exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_application(USER_OBJECT_ s_object, USER_OBJECT_ s_application) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* application = ((const gchar*)asCString(s_application)); gtk_recent_filter_add_application(object, application); #else error("gtk_recent_filter_add_application exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const gchar* group = ((const gchar*)asCString(s_group)); gtk_recent_filter_add_group(object, group); #else error("gtk_recent_filter_add_group exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_age(USER_OBJECT_ s_object, USER_OBJECT_ s_days) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); gint days = ((gint)asCInteger(s_days)); gtk_recent_filter_add_age(object, days); #else error("gtk_recent_filter_add_age exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_add_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_needed, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilterFunc func = ((GtkRecentFilterFunc)S_GtkRecentFilterFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); GtkRecentFilterFlags needed = ((GtkRecentFilterFlags)asCFlag(s_needed, GTK_TYPE_RECENT_FILTER_FLAGS)); GDestroyNotify data_destroy = ((GDestroyNotify)R_freeCBData); gtk_recent_filter_add_custom(object, needed, func, data, data_destroy); #else error("gtk_recent_filter_add_custom exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_get_needed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); GtkRecentFilterFlags ans; ans = gtk_recent_filter_get_needed(object); _result = asRFlag(ans, GTK_TYPE_RECENT_FILTER_FLAGS); #else error("gtk_recent_filter_get_needed exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentFilter* object = GTK_RECENT_FILTER(getPtrValue(s_object)); const GtkRecentFilterInfo* filter_info = asCGtkRecentFilterInfo(s_filter_info); gboolean ans; ans = gtk_recent_filter_filter(object, filter_info); _result = asRLogical(ans); #else error("gtk_recent_filter_filter exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GQuark ans; ans = gtk_recent_manager_error_quark(); _result = asRGQuark(ans); #else error("gtk_recent_manager_error_quark exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_manager_get_type(); _result = asRGType(ans); #else error("gtk_recent_manager_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* ans; ans = gtk_recent_manager_new(); _result = toRPointerWithFinalizer(ans, "GtkRecentManager", (RPointerFinalizer) g_object_unref); #else error("gtk_recent_manager_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* ans; ans = gtk_recent_manager_get_default(); _result = toRPointerWithRef(ans, "GtkRecentManager"); #else error("gtk_recent_manager_get_default exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_get_for_screen(USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); GtkRecentManager* ans; ans = gtk_recent_manager_get_for_screen(screen); _result = toRPointerWithRef(ans, "GtkRecentManager"); #else error("gtk_recent_manager_get_for_screen exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_recent_manager_set_screen(object, screen); #else error("gtk_recent_manager_set_screen exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_add_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; ans = gtk_recent_manager_add_item(object, uri); _result = asRLogical(ans); #else error("gtk_recent_manager_add_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_add_full(USER_OBJECT_ s_object, USER_OBJECT_ s_uri, USER_OBJECT_ s_recent_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); const GtkRecentData* recent_data = asCGtkRecentData(s_recent_data); gboolean ans; ans = gtk_recent_manager_add_full(object, uri, recent_data); _result = asRLogical(ans); #else error("gtk_recent_manager_add_full exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_remove_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; GError* error = NULL; ans = gtk_recent_manager_remove_item(object, uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_manager_remove_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_lookup_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); GtkRecentInfo* ans; GError* error = NULL; ans = gtk_recent_manager_lookup_item(object, uri, &error); _result = toRPointerWithFinalizer(ans ? gtk_recent_info_ref(ans) : NULL, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_manager_lookup_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_has_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); gboolean ans; ans = gtk_recent_manager_has_item(object, uri); _result = asRLogical(ans); #else error("gtk_recent_manager_has_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_move_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri, USER_OBJECT_ s_new_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); const gchar* uri = ((const gchar*)asCString(s_uri)); const gchar* new_uri = ((const gchar*)asCString(s_new_uri)); gboolean ans; GError* error = NULL; ans = gtk_recent_manager_move_item(object, uri, new_uri, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_manager_move_item exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_set_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); gint limit = ((gint)asCInteger(s_limit)); gtk_recent_manager_set_limit(object, limit); #else error("gtk_recent_manager_set_limit exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_get_limit(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); gint ans; ans = gtk_recent_manager_get_limit(object); _result = asRInteger(ans); #else error("gtk_recent_manager_get_limit exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_get_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); GList* ans; ans = gtk_recent_manager_get_items(object); _result = asRGListWithFinalizer(ans, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref); CLEANUP(g_list_free, ans);; #else error("gtk_recent_manager_get_items exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_purge_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); gint ans; GError* error = NULL; ans = gtk_recent_manager_purge_items(object, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_recent_manager_purge_items exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_info_get_type(); _result = asRGType(ans); #else error("gtk_recent_info_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); GtkRecentInfo* ans; ans = gtk_recent_info_ref(object); _result = toRPointerWithFinalizer(ans ? gtk_recent_info_ref(ans) : NULL, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref); #else error("gtk_recent_info_ref exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gtk_recent_info_unref(object); #else error("gtk_recent_info_unref exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_recent_info_get_uri(object); _result = asRString(ans); #else error("gtk_recent_info_get_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_display_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_recent_info_get_display_name(object); _result = asRString(ans); #else error("gtk_recent_info_get_display_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_recent_info_get_description(object); _result = asRString(ans); #else error("gtk_recent_info_get_description exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_mime_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* ans; ans = gtk_recent_info_get_mime_type(object); _result = asRString(ans); #else error("gtk_recent_info_get_mime_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_added(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); time_t ans; ans = gtk_recent_info_get_added(object); _result = asRInteger(ans); #else error("gtk_recent_info_get_added exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_modified(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); time_t ans; ans = gtk_recent_info_get_modified(object); _result = asRInteger(ans); #else error("gtk_recent_info_get_modified exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_visited(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); time_t ans; ans = gtk_recent_info_get_visited(object); _result = asRInteger(ans); #else error("gtk_recent_info_get_visited exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_private_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gboolean ans; ans = gtk_recent_info_get_private_hint(object); _result = asRLogical(ans); #else error("gtk_recent_info_get_private_hint exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_application_info(USER_OBJECT_ s_object, USER_OBJECT_ s_app_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* app_name = ((const gchar*)asCString(s_app_name)); gboolean ans; gchar* app_exec = NULL; guint count; time_t time_; ans = gtk_recent_info_get_application_info(object, app_name, &app_exec, &count, &time_); _result = asRLogical(ans); _result = retByVal(_result, "app.exec", asRString(app_exec), "count", asRNumeric(count), "time.", asRInteger(time_), NULL); ; ; #else error("gtk_recent_info_get_application_info exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_applications(USER_OBJECT_ s_object, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gsize* length = ((gsize*)asCArray(s_length, gsize, asCNumeric)); gchar** ans; ans = gtk_recent_info_get_applications(object, length); _result = asRStringArray(ans); #else error("gtk_recent_info_get_applications exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_last_application(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gchar* ans; ans = gtk_recent_info_last_application(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_recent_info_last_application exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_has_application(USER_OBJECT_ s_object, USER_OBJECT_ s_app_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* app_name = ((const gchar*)asCString(s_app_name)); gboolean ans; ans = gtk_recent_info_has_application(object, app_name); _result = asRLogical(ans); #else error("gtk_recent_info_has_application exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_groups(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gchar** ans; gsize length; ans = gtk_recent_info_get_groups(object, &length); _result = asRStringArrayWithSize(ans, length); _result = retByVal(_result, "length", asRNumeric(length), NULL); ; #else error("gtk_recent_info_get_groups exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_has_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gboolean ans; ans = gtk_recent_info_has_group(object, group_name); _result = asRLogical(ans); #else error("gtk_recent_info_has_group exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gint size = ((gint)asCInteger(s_size)); GdkPixbuf* ans; ans = gtk_recent_info_get_icon(object, size); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_recent_info_get_icon exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_short_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gchar* ans; ans = gtk_recent_info_get_short_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_recent_info_get_short_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_uri_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gchar* ans; ans = gtk_recent_info_get_uri_display(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_recent_info_get_uri_display exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_get_age(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gint ans; ans = gtk_recent_info_get_age(object); _result = asRInteger(ans); #else error("gtk_recent_info_get_age exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_is_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gboolean ans; ans = gtk_recent_info_is_local(object); _result = asRLogical(ans); #else error("gtk_recent_info_is_local exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_exists(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); gboolean ans; ans = gtk_recent_info_exists(object); _result = asRLogical(ans); #else error("gtk_recent_info_exists exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_info_match(USER_OBJECT_ s_object, USER_OBJECT_ s_info_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentInfo* object = ((GtkRecentInfo*)getPtrValue(s_object)); GtkRecentInfo* info_b = ((GtkRecentInfo*)getPtrValue(s_info_b)); gboolean ans; ans = gtk_recent_info_match(object, info_b); _result = asRLogical(ans); #else error("gtk_recent_info_match exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scrolled_window_unset_placement(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); gtk_scrolled_window_unset_placement(object); #else error("gtk_scrolled_window_unset_placement exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_target_list_add_rich_text_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info, USER_OBJECT_ s_deserializable, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTargetList* list = ((GtkTargetList*)getPtrValue(s_list)); guint info = ((guint)asCNumeric(s_info)); gboolean deserializable = ((gboolean)asCLogical(s_deserializable)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gtk_target_list_add_rich_text_targets(list, info, deserializable, buffer); #else error("gtk_target_list_add_rich_text_targets exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_target_table_new_from_list(USER_OBJECT_ s_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTargetList* list = ((GtkTargetList*)getPtrValue(s_list)); GtkTargetEntry* ans; gint n_targets; ans = gtk_target_table_new_from_list(list, &n_targets); _result = asRArrayRefWithSize(ans, asRGtkTargetEntry, n_targets); _result = retByVal(_result, "n.targets", asRInteger(n_targets), NULL); ; #else error("gtk_target_table_new_from_list exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_targets_include_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gboolean ans; ans = gtk_selection_data_targets_include_rich_text(object, buffer); _result = asRLogical(ans); #else error("gtk_selection_data_targets_include_rich_text exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_targets_include_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gboolean ans; ans = gtk_selection_data_targets_include_uri(object); _result = asRLogical(ans); #else error("gtk_selection_data_targets_include_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_targets_include_text(USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkAtom* targets = ((GdkAtom*)asCGdkAtomArray(s_targets)); gint n_targets = ((gint)GET_LENGTH(s_targets)); gboolean ans; ans = gtk_targets_include_text(targets, n_targets); _result = asRLogical(ans); #else error("gtk_targets_include_text exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_targets_include_rich_text(USER_OBJECT_ s_targets, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkAtom* targets = ((GdkAtom*)asCGdkAtomArray(s_targets)); gint n_targets = ((gint)GET_LENGTH(s_targets)); GtkTextBuffer* buffer = GTK_TEXT_BUFFER(getPtrValue(s_buffer)); gboolean ans; ans = gtk_targets_include_rich_text(targets, n_targets, buffer); _result = asRLogical(ans); #else error("gtk_targets_include_rich_text exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_targets_include_image(USER_OBJECT_ s_targets, USER_OBJECT_ s_writable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkAtom* targets = ((GdkAtom*)asCGdkAtomArray(s_targets)); gint n_targets = ((gint)GET_LENGTH(s_targets)); gboolean writable = ((gboolean)asCLogical(s_writable)); gboolean ans; ans = gtk_targets_include_image(targets, n_targets, writable); _result = asRLogical(ans); #else error("gtk_targets_include_image exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_targets_include_uri(USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkAtom* targets = ((GdkAtom*)asCGdkAtomArray(s_targets)); gint n_targets = ((gint)GET_LENGTH(s_targets)); gboolean ans; ans = gtk_targets_include_uri(targets, n_targets); _result = asRLogical(ans); #else error("gtk_targets_include_uri exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_target_list_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_target_list_get_type(); _result = asRGType(ans); #else error("gtk_target_list_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_size_group_get_widgets(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkSizeGroup* object = GTK_SIZE_GROUP(getPtrValue(s_object)); GSList* ans; ans = gtk_size_group_get_widgets(object); _result = asRGSListWithSink(ans, "GtkWidget"); #else error("gtk_size_group_get_widgets exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_status_icon_get_type(); _result = asRGType(ans); #else error("gtk_status_icon_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* ans; ans = gtk_status_icon_new(); _result = toRPointerWithFinalizer(ans, "GtkStatusIcon", (RPointerFinalizer) g_object_unref); #else error("gtk_status_icon_new exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new_from_pixbuf(USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); GtkStatusIcon* ans; ans = gtk_status_icon_new_from_pixbuf(pixbuf); _result = toRPointerWithRef(ans, "GtkStatusIcon"); #else error("gtk_status_icon_new_from_pixbuf exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new_from_file(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* filename = ((const gchar*)asCString(s_filename)); GtkStatusIcon* ans; ans = gtk_status_icon_new_from_file(filename); _result = toRPointerWithRef(ans, "GtkStatusIcon"); #else error("gtk_status_icon_new_from_file exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new_from_stock(USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkStatusIcon* ans; ans = gtk_status_icon_new_from_stock(stock_id); _result = toRPointerWithRef(ans, "GtkStatusIcon"); #else error("gtk_status_icon_new_from_stock exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new_from_icon_name(USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); GtkStatusIcon* ans; ans = gtk_status_icon_new_from_icon_name(icon_name); _result = toRPointerWithRef(ans, "GtkStatusIcon"); #else error("gtk_status_icon_new_from_icon_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_status_icon_set_from_pixbuf(object, pixbuf); #else error("gtk_status_icon_set_from_pixbuf exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gtk_status_icon_set_from_file(object, filename); #else error("gtk_status_icon_set_from_file exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); gtk_status_icon_set_from_stock(object, stock_id); #else error("gtk_status_icon_set_from_stock exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gtk_status_icon_set_from_icon_name(object, icon_name); #else error("gtk_status_icon_set_from_icon_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_storage_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GtkImageType ans; ans = gtk_status_icon_get_storage_type(object); _result = asREnum(ans, GTK_TYPE_IMAGE_TYPE); #else error("gtk_status_icon_get_storage_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_status_icon_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_status_icon_get_pixbuf exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_stock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* ans; ans = gtk_status_icon_get_stock(object); _result = asRString(ans); #else error("gtk_status_icon_get_stock exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* ans; ans = gtk_status_icon_get_icon_name(object); _result = asRString(ans); #else error("gtk_status_icon_get_icon_name exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gint ans; ans = gtk_status_icon_get_size(object); _result = asRInteger(ans); #else error("gtk_status_icon_get_size exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* tooltip_text = ((const gchar*)asCString(s_tooltip_text)); gtk_status_icon_set_tooltip(object, tooltip_text); #else error("gtk_status_icon_set_tooltip exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_status_icon_set_visible(object, visible); #else error("gtk_status_icon_set_visible exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean ans; ans = gtk_status_icon_get_visible(object); _result = asRLogical(ans); #else error("gtk_status_icon_get_visible exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_blinking(USER_OBJECT_ s_object, USER_OBJECT_ s_blinking) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean blinking = ((gboolean)asCLogical(s_blinking)); gtk_status_icon_set_blinking(object, blinking); #else error("gtk_status_icon_set_blinking exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_blinking(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean ans; ans = gtk_status_icon_get_blinking(object); _result = asRLogical(ans); #else error("gtk_status_icon_get_blinking exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_is_embedded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean ans; ans = gtk_status_icon_is_embedded(object); _result = asRLogical(ans); #else error("gtk_status_icon_is_embedded exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_position_menu(USER_OBJECT_ s_menu, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkMenu* menu = GTK_MENU(getPtrValue(s_menu)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); gint x; gint y; gboolean push_in; gtk_status_icon_position_menu(menu, &x, &y, &push_in, user_data); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "push.in", asRLogical(push_in), NULL); ; ; ; #else error("gtk_status_icon_position_menu exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_geometry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean ans; GdkScreen* screen = NULL; GdkRectangle* area = ((GdkRectangle *)g_new0(GdkRectangle, 1)); GtkOrientation orientation; ans = gtk_status_icon_get_geometry(object, &screen, area, &orientation); _result = asRLogical(ans); _result = retByVal(_result, "screen", toRPointerWithRef(screen, "GdkScreen"), "area", asRGdkRectangle(area), "orientation", asREnum(orientation, GTK_TYPE_ORIENTATION), NULL); ; CLEANUP(g_free, area);; ; #else error("gtk_status_icon_get_geometry exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_style_lookup_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); const gchar* color_name = ((const gchar*)asCString(s_color_name)); gboolean ans; GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); ans = gtk_style_lookup_color(object, color_name, color); _result = asRLogical(ans); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; #else error("gtk_style_lookup_color exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_has_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); gboolean ans; ans = gtk_text_buffer_get_has_selection(object); _result = asRLogical(ans); #else error("gtk_text_buffer_get_has_selection exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_copy_target_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTargetList* ans; ans = gtk_text_buffer_get_copy_target_list(object); _result = toRPointerWithFinalizer(ans, "GtkTargetList", (RPointerFinalizer) gtk_target_list_unref); #else error("gtk_text_buffer_get_copy_target_list exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_paste_target_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTargetList* ans; ans = gtk_text_buffer_get_paste_target_list(object); _result = toRPointerWithFinalizer(ans, "GtkTargetList", (RPointerFinalizer) gtk_target_list_unref); #else error("gtk_text_buffer_get_paste_target_list exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_register_serialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type, USER_OBJECT_ s_function, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBufferSerializeFunc function = ((GtkTextBufferSerializeFunc)S_GtkTextBufferSerializeFunc); R_CallbackData* user_data = R_createCBData(s_function, s_user_data); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* mime_type = ((const gchar*)asCString(s_mime_type)); GDestroyNotify user_data_destroy = ((GDestroyNotify)R_freeCBData); GdkAtom ans; ans = gtk_text_buffer_register_serialize_format(object, mime_type, function, user_data, user_data_destroy); _result = asRGdkAtom(ans); #else error("gtk_text_buffer_register_serialize_format exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_register_serialize_tagset(USER_OBJECT_ s_object, USER_OBJECT_ s_tagset_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* tagset_name = GET_LENGTH(s_tagset_name) == 0 ? NULL : ((const gchar*)asCString(s_tagset_name)); GdkAtom ans; ans = gtk_text_buffer_register_serialize_tagset(object, tagset_name); _result = asRGdkAtom(ans); #else error("gtk_text_buffer_register_serialize_tagset exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_register_deserialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type, USER_OBJECT_ s_function, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBufferDeserializeFunc function = ((GtkTextBufferDeserializeFunc)S_GtkTextBufferDeserializeFunc); R_CallbackData* user_data = R_createCBData(s_function, s_user_data); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* mime_type = ((const gchar*)asCString(s_mime_type)); GDestroyNotify user_data_destroy = ((GDestroyNotify)R_freeCBData); GdkAtom ans; ans = gtk_text_buffer_register_deserialize_format(object, mime_type, function, user_data, user_data_destroy); _result = asRGdkAtom(ans); #else error("gtk_text_buffer_register_deserialize_format exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_register_deserialize_tagset(USER_OBJECT_ s_object, USER_OBJECT_ s_tagset_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* tagset_name = GET_LENGTH(s_tagset_name) == 0 ? NULL : ((const gchar*)asCString(s_tagset_name)); GdkAtom ans; ans = gtk_text_buffer_register_deserialize_tagset(object, tagset_name); _result = asRGdkAtom(ans); #else error("gtk_text_buffer_register_deserialize_tagset exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_unregister_serialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom format = asCGdkAtom(s_format); gtk_text_buffer_unregister_serialize_format(object, format); #else error("gtk_text_buffer_unregister_serialize_format exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_unregister_deserialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom format = asCGdkAtom(s_format); gtk_text_buffer_unregister_deserialize_format(object, format); #else error("gtk_text_buffer_unregister_deserialize_format exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_deserialize_set_can_create_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_format, USER_OBJECT_ s_can_create_tags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom format = asCGdkAtom(s_format); gboolean can_create_tags = ((gboolean)asCLogical(s_can_create_tags)); gtk_text_buffer_deserialize_set_can_create_tags(object, format, can_create_tags); #else error("gtk_text_buffer_deserialize_set_can_create_tags exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_deserialize_get_can_create_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom format = asCGdkAtom(s_format); gboolean ans; ans = gtk_text_buffer_deserialize_get_can_create_tags(object, format); _result = asRLogical(ans); #else error("gtk_text_buffer_deserialize_get_can_create_tags exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_serialize_formats(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom* ans; gint n_formats; ans = gtk_text_buffer_get_serialize_formats(object, &n_formats); _result = asRArrayWithSize(ans, asRGdkAtom, n_formats); _result = retByVal(_result, "n.formats", asRInteger(n_formats), NULL); ; #else error("gtk_text_buffer_get_serialize_formats exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_get_deserialize_formats(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GdkAtom* ans; gint n_formats; ans = gtk_text_buffer_get_deserialize_formats(object, &n_formats); _result = asRArrayWithSize(ans, asRGdkAtom, n_formats); _result = retByVal(_result, "n.formats", asRInteger(n_formats), NULL); ; #else error("gtk_text_buffer_get_deserialize_formats exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_serialize(USER_OBJECT_ s_object, USER_OBJECT_ s_content_buffer, USER_OBJECT_ s_format, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextBuffer* content_buffer = GTK_TEXT_BUFFER(getPtrValue(s_content_buffer)); GdkAtom format = asCGdkAtom(s_format); const GtkTextIter* start = ((const GtkTextIter*)getPtrValue(s_start)); const GtkTextIter* end = ((const GtkTextIter*)getPtrValue(s_end)); guint8* ans; gsize length; ans = gtk_text_buffer_serialize(object, content_buffer, format, start, end, &length); _result = asRRawArrayWithSize(ans, length); _result = retByVal(_result, "length", asRNumeric(length), NULL); ; #else error("gtk_text_buffer_serialize exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_deserialize(USER_OBJECT_ s_object, USER_OBJECT_ s_content_buffer, USER_OBJECT_ s_format, USER_OBJECT_ s_iter, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextBuffer* content_buffer = GTK_TEXT_BUFFER(getPtrValue(s_content_buffer)); GdkAtom format = asCGdkAtom(s_format); GtkTextIter* iter = ((GtkTextIter*)getPtrValue(s_iter)); const guint8* data = ((const guint8*)asCArray(s_data, guint8, asCRaw)); gsize length = ((gsize)GET_LENGTH(s_data)); gboolean ans; GError* error = NULL; ans = gtk_text_buffer_deserialize(object, content_buffer, format, iter, data, length, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_text_buffer_deserialize exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_headers_clickable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_headers_clickable(object); _result = asRLogical(ans); #else error("gtk_tree_view_get_headers_clickable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_search_entry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkEntry* ans; ans = gtk_tree_view_get_search_entry(object); _result = toRPointerWithSink(ans, "GtkEntry"); #else error("gtk_tree_view_get_search_entry exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_search_entry(USER_OBJECT_ s_object, USER_OBJECT_ s_entry) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkEntry* entry = GET_LENGTH(s_entry) == 0 ? NULL : GTK_ENTRY(getPtrValue(s_entry)); gtk_tree_view_set_search_entry(object, entry); #else error("gtk_tree_view_set_search_entry exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_search_position_func(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewSearchPositionFunc ans; ans = gtk_tree_view_get_search_position_func(object); _result = toRPointer(ans, "GtkTreeViewSearchPositionFunc"); #else error("gtk_tree_view_get_search_position_func exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_search_position_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeViewSearchPositionFunc func = ((GtkTreeViewSearchPositionFunc)S_GtkTreeViewSearchPositionFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); gtk_tree_view_set_search_position_func(object, func, data, destroy); #else error("gtk_tree_view_set_search_position_func exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_rubber_banding(USER_OBJECT_ s_object, USER_OBJECT_ s_enable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean enable = ((gboolean)asCLogical(s_enable)); gtk_tree_view_set_rubber_banding(object, enable); #else error("gtk_tree_view_set_rubber_banding exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_rubber_banding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_rubber_banding(object); _result = asRLogical(ans); #else error("gtk_tree_view_get_rubber_banding exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_grid_lines(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewGridLines ans; ans = gtk_tree_view_get_grid_lines(object); _result = asREnum(ans, GTK_TYPE_TREE_VIEW_GRID_LINES); #else error("gtk_tree_view_get_grid_lines exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_grid_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_grid_lines) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeViewGridLines grid_lines = ((GtkTreeViewGridLines)asCEnum(s_grid_lines, GTK_TYPE_TREE_VIEW_GRID_LINES)); gtk_tree_view_set_grid_lines(object, grid_lines); #else error("gtk_tree_view_set_grid_lines exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_enable_tree_lines(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_enable_tree_lines(object); _result = asRLogical(ans); #else error("gtk_tree_view_get_enable_tree_lines exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_enable_tree_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_enabled) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean enabled = ((gboolean)asCLogical(s_enabled)); gtk_tree_view_set_enable_tree_lines(object, enabled); #else error("gtk_tree_view_set_enable_tree_lines exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_page_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_assistant_page_type_get_type(); _result = asRGType(ans); #else error("gtk_assistant_page_type_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_accel_mode_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_cell_renderer_accel_mode_get_type(); _result = asRGType(ans); #else error("gtk_cell_renderer_accel_mode_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_sensitivity_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_sensitivity_type_get_type(); _result = asRGType(ans); #else error("gtk_sensitivity_type_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_pages_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_pages_get_type(); _result = asRGType(ans); #else error("gtk_print_pages_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_set_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_page_set_get_type(); _result = asRGType(ans); #else error("gtk_page_set_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_orientation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_page_orientation_get_type(); _result = asRGType(ans); #else error("gtk_page_orientation_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_quality_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_quality_get_type(); _result = asRGType(ans); #else error("gtk_print_quality_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_duplex_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_duplex_get_type(); _result = asRGType(ans); #else error("gtk_print_duplex_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_unit_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_unit_get_type(); _result = asRGType(ans); #else error("gtk_unit_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_grid_lines_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_tree_view_grid_lines_get_type(); _result = asRGType(ans); #else error("gtk_tree_view_grid_lines_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_print_operation_action_get_type(); _result = asRGType(ans); #else error("gtk_print_operation_action_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_sort_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_sort_type_get_type(); _result = asRGType(ans); #else error("gtk_recent_sort_type_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_chooser_error_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_chooser_error_get_type(); _result = asRGType(ans); #else error("gtk_recent_chooser_error_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_filter_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_filter_flags_get_type(); _result = asRGType(ans); #else error("gtk_recent_filter_flags_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_manager_error_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_recent_manager_error_get_type(); _result = asRGType(ans); #else error("gtk_recent_manager_error_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_target_info_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GType ans; ans = gtk_text_buffer_target_info_get_type(); _result = asRGType(ans); #else error("gtk_text_buffer_target_info_get_type exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_is_composited(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_is_composited(object); _result = asRLogical(ans); #else error("gtk_widget_is_composited exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_input_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkBitmap* shape_mask = GET_LENGTH(s_shape_mask) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_shape_mask)); gint offset_x = ((gint)asCInteger(s_offset_x)); gint offset_y = ((gint)asCInteger(s_offset_y)); gtk_widget_input_shape_combine_mask(object, shape_mask, offset_x, offset_y); #else error("gtk_widget_input_shape_combine_mask exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_set_deletable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_deletable(object, setting); #else error("gtk_window_set_deletable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_deletable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_deletable(object); _result = asRLogical(ans); #else error("gtk_window_get_deletable exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWindowGroup* ans; ans = gtk_window_get_group(object); _result = toRPointerWithRef(ans, "GtkWindowGroup"); #else error("gtk_window_get_group exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_buildable_get_type(); _result = asRGType(ans); #else error("gtk_buildable_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_buildable_set_name(object, name); #else error("gtk_buildable_set_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); const gchar* ans; ans = gtk_buildable_get_name(object); _result = asRString(ans); #else error("gtk_buildable_get_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_add_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* type = ((const gchar*)asCString(s_type)); gtk_buildable_add_child(object, builder, child, type); #else error("gtk_buildable_add_child exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_set_buildable_property(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* name = ((const gchar*)asCString(s_name)); const GValue* value = asCGValue(s_value); gtk_buildable_set_buildable_property(object, builder, name, value); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; #else error("gtk_buildable_set_buildable_property exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_construct_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* name = ((const gchar*)asCString(s_name)); GObject* ans; ans = gtk_buildable_construct_child(object, builder, name); _result = toRPointerWithRef(ans, "GObject"); #else error("gtk_buildable_construct_child exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_custom_tag_start(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_parser, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); GMarkupParser* parser = ((GMarkupParser*)getPtrValue(s_parser)); gpointer* data = ((gpointer*)asCGenericData(s_data)); gboolean ans; ans = gtk_buildable_custom_tag_start(object, builder, child, tagname, parser, data); _result = asRLogical(ans); #else error("gtk_buildable_custom_tag_start exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_custom_tag_end(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); gpointer* data = ((gpointer*)asCGenericData(s_data)); gtk_buildable_custom_tag_end(object, builder, child, tagname, data); #else error("gtk_buildable_custom_tag_end exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_custom_finished(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); gpointer data = ((gpointer)asCGenericData(s_data)); gtk_buildable_custom_finished(object, builder, child, tagname, data); #else error("gtk_buildable_custom_finished exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_parser_finished(USER_OBJECT_ s_object, USER_OBJECT_ s_builder) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); gtk_buildable_parser_finished(object, builder); #else error("gtk_buildable_parser_finished exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_get_internal_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_childname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* childname = ((const gchar*)asCString(s_childname)); GObject* ans; ans = gtk_buildable_get_internal_child(object, builder, childname); _result = toRPointerWithRef(ans, "GObject"); #else error("gtk_buildable_get_internal_child exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GQuark ans; ans = gtk_builder_error_quark(); _result = asRGQuark(ans); #else error("gtk_builder_error_quark exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_builder_get_type(); _result = asRGType(ans); #else error("gtk_builder_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* ans; ans = gtk_builder_new(); _result = toRPointerWithFinalizer(ans, "GtkBuilder", (RPointerFinalizer) g_object_unref); #else error("gtk_builder_new exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_add_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); guint ans; GError* error = NULL; ans = gtk_builder_add_from_file(object, filename, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_builder_add_from_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_add_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* buffer = ((const gchar*)asCString(s_buffer)); gsize length = ((gsize)asCNumeric(s_length)); guint ans; GError* error = NULL; ans = gtk_builder_add_from_string(object, buffer, length, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_builder_add_from_string exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_get_object(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); GObject* ans; ans = gtk_builder_get_object(object, name); _result = toRPointerWithRef(ans, "GObject"); #else error("gtk_builder_get_object exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_get_objects(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); GSList* ans; ans = gtk_builder_get_objects(object); _result = asRGSListWithRef(ans, "GObject"); #else error("gtk_builder_get_objects exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_connect_signals_full(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilderConnectFunc func = ((GtkBuilderConnectFunc)S_GtkBuilderConnectFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); gtk_builder_connect_signals_full(object, func, user_data); R_freeCBData(user_data); #else error("gtk_builder_connect_signals_full exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_set_translation_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* domain = ((const gchar*)asCString(s_domain)); gtk_builder_set_translation_domain(object, domain); #else error("gtk_builder_set_translation_domain exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_get_translation_domain(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* ans; ans = gtk_builder_get_translation_domain(object); _result = asRString(ans); #else error("gtk_builder_get_translation_domain exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_get_type_from_name(USER_OBJECT_ s_object, USER_OBJECT_ s_type_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const char* type_name = ((const char*)asCString(s_type_name)); GType ans; ans = gtk_builder_get_type_from_name(object, type_name); _result = asRGType(ans); #else error("gtk_builder_get_type_from_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_value_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_pspec, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); GParamSpec* pspec = asCGParamSpec(s_pspec); const gchar* string = ((const gchar*)asCString(s_string)); gboolean ans; GValue* value = ((GValue *)g_new0(GValue, 1)); GError* error = NULL; ans = gtk_builder_value_from_string(object, pspec, string, value, &error); _result = asRLogical(ans); _result = retByVal(_result, "value", asRGValue(value), "error", asRGError(error), NULL); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; CLEANUP(g_error_free, error);; #else error("gtk_builder_value_from_string exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_value_from_string_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); GType type = ((GType)asCGType(s_type)); const gchar* string = ((const gchar*)asCString(s_string)); gboolean ans; GValue* value = ((GValue *)g_new0(GValue, 1)); GError* error = NULL; ans = gtk_builder_value_from_string_type(object, type, string, value, &error); _result = asRLogical(ans); _result = retByVal(_result, "value", asRGValue(value), "error", asRGError(error), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; CLEANUP(g_error_free, error);; #else error("gtk_builder_value_from_string_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_about_dialog_get_program_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* ans; ans = gtk_about_dialog_get_program_name(object); _result = asRString(ans); #else error("gtk_about_dialog_get_program_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_about_dialog_set_program_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkAboutDialog* object = GTK_ABOUT_DIALOG(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_about_dialog_set_program_name(object, name); #else error("gtk_about_dialog_set_program_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_create_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_action_create_menu(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_action_create_menu exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_layout_get_cells(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GList* ans; ans = gtk_cell_layout_get_cells(object); _result = asRGListWithSink(ans, "GtkCellRenderer"); #else error("gtk_cell_layout_get_cells exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_completion_prefix(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); const gchar* ans; ans = gtk_entry_completion_get_completion_prefix(object); _result = asRString(ans); #else error("gtk_entry_completion_get_completion_prefix exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_completion_set_inline_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_inline_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean inline_selection = ((gboolean)asCLogical(s_inline_selection)); gtk_entry_completion_set_inline_selection(object, inline_selection); #else error("gtk_entry_completion_set_inline_selection exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_completion_get_inline_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_completion_get_inline_selection(object); _result = asRLogical(ans); #else error("gtk_entry_completion_get_inline_selection exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_cursor_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_entry_set_cursor_hadjustment(object, adjustment); #else error("gtk_entry_set_cursor_hadjustment exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_cursor_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_entry_get_cursor_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); #else error("gtk_entry_get_cursor_hadjustment exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_theme_choose_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_names, USER_OBJECT_ s_size, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar** icon_names = ((const gchar**)asCStringArray(s_icon_names)); gint size = ((gint)asCInteger(s_size)); GtkIconLookupFlags flags = ((GtkIconLookupFlags)asCFlag(s_flags, GTK_TYPE_ICON_LOOKUP_FLAGS)); GtkIconInfo* ans; ans = gtk_icon_theme_choose_icon(object, icon_names, size, flags); _result = toRPointerWithFinalizer(ans ? gtk_icon_info_copy(ans) : NULL, "GtkIconInfo", (RPointerFinalizer) gtk_icon_info_free); #else error("gtk_icon_theme_choose_icon exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_theme_list_contexts(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); GList* ans; ans = gtk_icon_theme_list_contexts(object); _result = asRGListConv(ans, ((ElementConverter)asRString)); #else error("gtk_icon_theme_list_contexts exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_convert_widget_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint wx = ((gint)asCInteger(s_wx)); gint wy = ((gint)asCInteger(s_wy)); gint bx; gint by; gtk_icon_view_convert_widget_to_bin_window_coords(object, wx, wy, &bx, &by); _result = retByVal(_result, "bx", asRInteger(bx), "by", asRInteger(by), NULL); ; ; #else error("gtk_icon_view_convert_widget_to_bin_window_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_set_tooltip_item(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTooltip* tooltip = GTK_TOOLTIP(getPtrValue(s_tooltip)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_icon_view_set_tooltip_item(object, tooltip, path); #else error("gtk_icon_view_set_tooltip_item exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_set_tooltip_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path, USER_OBJECT_ s_cell) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTooltip* tooltip = GTK_TOOLTIP(getPtrValue(s_tooltip)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gtk_icon_view_set_tooltip_cell(object, tooltip, path, cell); #else error("gtk_icon_view_set_tooltip_cell exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_set_tooltip_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_icon_view_set_tooltip_column(object, column); #else error("gtk_icon_view_set_tooltip_column exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_get_tooltip_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_tooltip_column(object); _result = asRInteger(ans); #else error("gtk_icon_view_get_tooltip_column exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_list_store_set_valuesv(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_columns, USER_OBJECT_ s_values) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint* columns = ((gint*)asCArray(s_columns, gint, asCInteger)); GValue* values = ((GValue*)asCArrayRef(s_values, GValue, asCGValue)); gint n_values = ((gint)GET_LENGTH(s_values)); gtk_list_store_set_valuesv(object, iter, columns, values, n_values); #else error("gtk_list_store_set_valuesv exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_menu_tool_button_set_arrow_tooltip_text(object, text); #else error("gtk_menu_tool_button_set_arrow_tooltip_text exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); const gchar* markup = ((const gchar*)asCString(s_markup)); gtk_menu_tool_button_set_arrow_tooltip_markup(object, markup); #else error("gtk_menu_tool_button_set_arrow_tooltip_markup exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gpointer group = ((gpointer)asCGenericData(s_group)); gtk_notebook_set_group(object, group); #else error("gtk_notebook_set_group exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_get_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gpointer ans; ans = gtk_notebook_get_group(object); _result = ans; #else error("gtk_notebook_get_group exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_new_from_file(USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) const gchar* file_name = ((const gchar*)asCString(s_file_name)); GtkPageSetup* ans; GError* error = NULL; ans = gtk_page_setup_new_from_file(file_name, &error); _result = toRPointerWithRef(ans, "GtkPageSetup"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_page_setup_new_from_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); GtkPageSetup* ans; GError* error = NULL; ans = gtk_page_setup_new_from_key_file(key_file, group_name, &error); _result = toRPointerWithRef(ans, "GtkPageSetup"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_page_setup_new_from_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_to_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); const char* file_name = ((const char*)asCString(s_file_name)); gboolean ans; GError* error = NULL; ans = gtk_page_setup_to_file(object, file_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_page_setup_to_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gtk_page_setup_to_key_file(object, key_file, group_name); #else error("gtk_page_setup_to_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_get_paper_sizes(USER_OBJECT_ s_include_custom) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) gboolean include_custom = ((gboolean)asCLogical(s_include_custom)); GList* ans; ans = gtk_paper_size_get_paper_sizes(include_custom); _result = asRGListWithFinalizer(ans, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); #else error("gtk_paper_size_get_paper_sizes exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); GtkPaperSize* ans; GError* error = NULL; ans = gtk_paper_size_new_from_key_file(key_file, group_name, &error); _result = toRPointerWithFinalizer(ans ? gtk_paper_size_copy(ans) : NULL, "GtkPaperSize", (RPointerFinalizer) gtk_paper_size_free); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_paper_size_new_from_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paper_size_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkPaperSize* object = ((GtkPaperSize*)getPtrValue(s_object)); GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gtk_paper_size_to_key_file(object, key_file, group_name); #else error("gtk_paper_size_to_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_new_from_file(USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) const gchar* file_name = ((const gchar*)asCString(s_file_name)); GtkPrintSettings* ans; GError* error = NULL; ans = gtk_print_settings_new_from_file(file_name, &error); _result = toRPointerWithRef(ans, "GtkPrintSettings"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_settings_new_from_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_to_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* file_name = ((const gchar*)asCString(s_file_name)); gboolean ans; GError* error = NULL; ans = gtk_print_settings_to_file(object, file_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_settings_to_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); GtkPrintSettings* ans; GError* error = NULL; ans = gtk_print_settings_new_from_key_file(key_file, group_name, &error); _result = toRPointerWithRef(ans, "GtkPrintSettings"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_settings_new_from_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gtk_print_settings_to_key_file(object, key_file, group_name); #else error("gtk_print_settings_to_key_file exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_show_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_show_fill_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean show_fill_level = ((gboolean)asCLogical(s_show_fill_level)); gtk_range_set_show_fill_level(object, show_fill_level); #else error("gtk_range_set_show_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_show_fill_level(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean ans; ans = gtk_range_get_show_fill_level(object); _result = asRLogical(ans); #else error("gtk_range_get_show_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_restrict_to_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_restrict_to_fill_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean restrict_to_fill_level = ((gboolean)asCLogical(s_restrict_to_fill_level)); gtk_range_set_restrict_to_fill_level(object, restrict_to_fill_level); #else error("gtk_range_set_restrict_to_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_restrict_to_fill_level(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean ans; ans = gtk_range_get_restrict_to_fill_level(object); _result = asRLogical(ans); #else error("gtk_range_get_restrict_to_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_fill_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble fill_level = ((gdouble)asCNumeric(s_fill_level)); gtk_range_set_fill_level(object, fill_level); #else error("gtk_range_set_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_fill_level(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble ans; ans = gtk_range_get_fill_level(object); _result = asRNumeric(ans); #else error("gtk_range_get_fill_level exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_rc_parse_color_full(USER_OBJECT_ s_scanner, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); GtkRcStyle* style = GTK_RC_STYLE(getPtrValue(s_style)); guint ans; GdkColor* color = ((GdkColor *)g_new0(GdkColor, 1)); ans = gtk_rc_parse_color_full(scanner, style, color); _result = asRNumeric(ans); _result = retByVal(_result, "color", asRGdkColor(color), NULL); CLEANUP(g_free, color);; #else error("gtk_rc_parse_color_full exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_recent_action_get_type(); _result = asRGType(ans); #else error("gtk_recent_action_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) const gchar* name = ((const gchar*)asCString(s_name)); const gchar* label = ((const gchar*)asCString(s_label)); const gchar* tooltip = ((const gchar*)asCString(s_tooltip)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkAction* ans; ans = gtk_recent_action_new(name, label, tooltip, stock_id); _result = toRPointerWithFinalizer(ans, "GtkAction", (RPointerFinalizer) g_object_unref); #else error("gtk_recent_action_new exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_action_new_for_manager(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_manager) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) const gchar* name = ((const gchar*)asCString(s_name)); const gchar* label = ((const gchar*)asCString(s_label)); const gchar* tooltip = ((const gchar*)asCString(s_tooltip)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkRecentManager* manager = GTK_RECENT_MANAGER(getPtrValue(s_manager)); GtkAction* ans; ans = gtk_recent_action_new_for_manager(name, label, tooltip, stock_id, manager); _result = toRPointerWithRef(ans, "GtkAction"); #else error("gtk_recent_action_new_for_manager exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_action_get_show_numbers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRecentAction* object = GTK_RECENT_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_recent_action_get_show_numbers(object); _result = asRLogical(ans); #else error("gtk_recent_action_get_show_numbers exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_recent_action_set_show_numbers(USER_OBJECT_ s_object, USER_OBJECT_ s_show_numbers) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkRecentAction* object = GTK_RECENT_ACTION(getPtrValue(s_object)); gboolean show_numbers = ((gboolean)asCLogical(s_show_numbers)); gtk_recent_action_set_show_numbers(object, show_numbers); #else error("gtk_recent_action_set_show_numbers exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_scale_button_get_type(); _result = asRGType(ans); #else error("gtk_scale_button_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_new(USER_OBJECT_ s_size, USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step, USER_OBJECT_ s_icons) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gdouble min = ((gdouble)asCNumeric(s_min)); gdouble max = ((gdouble)asCNumeric(s_max)); gdouble step = ((gdouble)asCNumeric(s_step)); const gchar** icons = ((const gchar**)asCStringArray(s_icons)); GtkWidget* ans; ans = gtk_scale_button_new(size, min, max, step, icons); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_scale_button_new exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_set_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_icons) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); const gchar** icons = ((const gchar**)asCStringArray(s_icons)); gtk_scale_button_set_icons(object, icons); #else error("gtk_scale_button_set_icons exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); gdouble ans; ans = gtk_scale_button_get_value(object); _result = asRNumeric(ans); #else error("gtk_scale_button_get_value exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gtk_scale_button_set_value(object, value); #else error("gtk_scale_button_set_value exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_adjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_scale_button_get_adjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); #else error("gtk_scale_button_get_adjustment exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkAdjustment* adjustment = GTK_ADJUSTMENT(getPtrValue(s_adjustment)); gtk_scale_button_set_adjustment(object, adjustment); #else error("gtk_scale_button_set_adjustment exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_status_icon_set_screen(object, screen); #else error("gtk_status_icon_set_screen exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GdkScreen* ans; ans = gtk_status_icon_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); #else error("gtk_status_icon_get_screen exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_buffer_add_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_where) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); const GtkTextIter* where = ((const GtkTextIter*)getPtrValue(s_where)); gtk_text_buffer_add_mark(object, mark, where); #else error("gtk_text_buffer_add_mark exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_text_mark_new(USER_OBJECT_ s_name, USER_OBJECT_ s_left_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) const gchar* name = ((const gchar*)asCString(s_name)); gboolean left_gravity = ((gboolean)asCLogical(s_left_gravity)); GtkTextMark* ans; ans = gtk_text_mark_new(name, left_gravity); _result = toRPointerWithFinalizer(ans, "GtkTextMark", (RPointerFinalizer) g_object_unref); #else error("gtk_text_mark_new exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_tooltip_get_type(); _result = asRGType(ans); #else error("gtk_tooltip_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); const gchar* markup = ((const gchar*)asCString(s_markup)); gtk_tooltip_set_markup(object, markup); #else error("gtk_tooltip_set_markup exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_tooltip_set_text(object, text); #else error("gtk_tooltip_set_text exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_tooltip_set_icon(object, pixbuf); #else error("gtk_tooltip_set_icon exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_icon_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_tooltip_set_icon_from_stock(object, stock_id, size); #else error("gtk_tooltip_set_icon_from_stock exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_custom_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); GtkWidget* custom_widget = GTK_WIDGET(getPtrValue(s_custom_widget)); gtk_tooltip_set_custom(object, custom_widget); #else error("gtk_tooltip_set_custom exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_trigger_tooltip_query(USER_OBJECT_ s_display) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GdkDisplay* display = GDK_DISPLAY_OBJECT(getPtrValue(s_display)); gtk_tooltip_trigger_tooltip_query(display); #else error("gtk_tooltip_trigger_tooltip_query exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_tip_area(USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); gtk_tooltip_set_tip_area(object, area); #else error("gtk_tooltip_set_tip_area exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_tool_item_set_tooltip_text(object, text); #else error("gtk_tool_item_set_tooltip_text exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); const gchar* markup = ((const gchar*)asCString(s_markup)); gtk_tool_item_set_tooltip_markup(object, markup); #else error("gtk_tool_item_set_tooltip_markup exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_store_set_valuesv(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_columns, USER_OBJECT_ s_values) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint* columns = ((gint*)asCArray(s_columns, gint, asCInteger)); GValue* values = ((GValue*)asCArrayRef(s_values, GValue, asCGValue)); gint n_values = ((gint)GET_LENGTH(s_values)); gtk_tree_store_set_valuesv(object, iter, columns, values, n_values); #else error("gtk_tree_store_set_valuesv exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_column_get_tree_view(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tree_view_column_get_tree_view(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_tree_view_column_get_tree_view exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_widget_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint wx = ((gint)asCInteger(s_wx)); gint wy = ((gint)asCInteger(s_wy)); gint tx; gint ty; gtk_tree_view_convert_widget_to_tree_coords(object, wx, wy, &tx, &ty); _result = retByVal(_result, "tx", asRInteger(tx), "ty", asRInteger(ty), NULL); ; ; #else error("gtk_tree_view_convert_widget_to_tree_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_tree_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint tx = ((gint)asCInteger(s_tx)); gint ty = ((gint)asCInteger(s_ty)); gint wx; gint wy; gtk_tree_view_convert_tree_to_widget_coords(object, tx, ty, &wx, &wy); _result = retByVal(_result, "wx", asRInteger(wx), "wy", asRInteger(wy), NULL); ; ; #else error("gtk_tree_view_convert_tree_to_widget_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_widget_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint wx = ((gint)asCInteger(s_wx)); gint wy = ((gint)asCInteger(s_wy)); gint bx; gint by; gtk_tree_view_convert_widget_to_bin_window_coords(object, wx, wy, &bx, &by); _result = retByVal(_result, "bx", asRInteger(bx), "by", asRInteger(by), NULL); ; ; #else error("gtk_tree_view_convert_widget_to_bin_window_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_bin_window_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_bx, USER_OBJECT_ s_by) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint bx = ((gint)asCInteger(s_bx)); gint by = ((gint)asCInteger(s_by)); gint wx; gint wy; gtk_tree_view_convert_bin_window_to_widget_coords(object, bx, by, &wx, &wy); _result = retByVal(_result, "wx", asRInteger(wx), "wy", asRInteger(wy), NULL); ; ; #else error("gtk_tree_view_convert_bin_window_to_widget_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_tree_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint tx = ((gint)asCInteger(s_tx)); gint ty = ((gint)asCInteger(s_ty)); gint bx; gint by; gtk_tree_view_convert_tree_to_bin_window_coords(object, tx, ty, &bx, &by); _result = retByVal(_result, "bx", asRInteger(bx), "by", asRInteger(by), NULL); ; ; #else error("gtk_tree_view_convert_tree_to_bin_window_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_convert_bin_window_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_bx, USER_OBJECT_ s_by) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint bx = ((gint)asCInteger(s_bx)); gint by = ((gint)asCInteger(s_by)); gint tx; gint ty; gtk_tree_view_convert_bin_window_to_tree_coords(object, bx, by, &tx, &ty); _result = retByVal(_result, "tx", asRInteger(tx), "ty", asRInteger(ty), NULL); ; ; #else error("gtk_tree_view_convert_bin_window_to_tree_coords exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_show_expanders(USER_OBJECT_ s_object, USER_OBJECT_ s_enabled) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean enabled = ((gboolean)asCLogical(s_enabled)); gtk_tree_view_set_show_expanders(object, enabled); #else error("gtk_tree_view_set_show_expanders exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_show_expanders(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_get_show_expanders(object); _result = asRLogical(ans); #else error("gtk_tree_view_get_show_expanders exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_level_indentation(USER_OBJECT_ s_object, USER_OBJECT_ s_indentation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint indentation = ((gint)asCInteger(s_indentation)); gtk_tree_view_set_level_indentation(object, indentation); #else error("gtk_tree_view_set_level_indentation exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_level_indentation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_get_level_indentation(object); _result = asRInteger(ans); #else error("gtk_tree_view_get_level_indentation exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_is_rubber_banding_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = gtk_tree_view_is_rubber_banding_active(object); _result = asRLogical(ans); #else error("gtk_tree_view_is_rubber_banding_active exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_tooltip_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gtk_tree_view_set_tooltip_column(object, column); #else error("gtk_tree_view_set_tooltip_column exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_get_tooltip_column(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_tree_view_get_tooltip_column(object); _result = asRInteger(ans); #else error("gtk_tree_view_get_tooltip_column exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_tooltip_row(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTooltip* tooltip = GTK_TOOLTIP(getPtrValue(s_tooltip)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gtk_tree_view_set_tooltip_row(object, tooltip, path); #else error("gtk_tree_view_set_tooltip_row exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_view_set_tooltip_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path, USER_OBJECT_ s_column, USER_OBJECT_ s_cell) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTooltip* tooltip = GTK_TOOLTIP(getPtrValue(s_tooltip)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gtk_tree_view_set_tooltip_cell(object, tooltip, path, column, cell); #else error("gtk_tree_view_set_tooltip_cell exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_volume_button_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GType ans; ans = gtk_volume_button_get_type(); _result = asRGType(ans); #else error("gtk_volume_button_get_type exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_volume_button_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* ans; ans = gtk_volume_button_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_volume_button_new exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_keynav_failed(USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); gboolean ans; ans = gtk_widget_keynav_failed(object, direction); _result = asRLogical(ans); #else error("gtk_widget_keynav_failed exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_error_bell(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_error_bell(object); #else error("gtk_widget_error_bell exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_tooltip_window(USER_OBJECT_ s_object, USER_OBJECT_ s_custom_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWindow* custom_window = GTK_WINDOW(getPtrValue(s_custom_window)); gtk_widget_set_tooltip_window(object, custom_window); #else error("gtk_widget_set_tooltip_window exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_tooltip_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWindow* ans; ans = gtk_widget_get_tooltip_window(object); _result = toRPointerWithSink(ans, "GtkWindow"); #else error("gtk_widget_get_tooltip_window exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_trigger_tooltip_query(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_trigger_tooltip_query(object); #else error("gtk_widget_trigger_tooltip_query exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_widget_set_tooltip_text(object, text); #else error("gtk_widget_set_tooltip_text exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_tooltip_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gchar* ans; ans = gtk_widget_get_tooltip_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_widget_get_tooltip_text exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const gchar* markup = ((const gchar*)asCString(s_markup)); gtk_widget_set_tooltip_markup(object, markup); #else error("gtk_widget_set_tooltip_markup exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_tooltip_markup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gchar* ans; ans = gtk_widget_get_tooltip_markup(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_widget_get_tooltip_markup exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_modify_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_primary, USER_OBJECT_ s_secondary) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const GdkColor* primary = asCGdkColor(s_primary); const GdkColor* secondary = asCGdkColor(s_secondary); gtk_widget_modify_cursor(object, primary, secondary); #else error("gtk_widget_modify_cursor exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_has_tooltip(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_has_tooltip(object); _result = asRLogical(ans); #else error("gtk_widget_get_has_tooltip exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_has_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_has_tooltip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean has_tooltip = ((gboolean)asCLogical(s_has_tooltip)); gtk_widget_set_has_tooltip(object, has_tooltip); #else error("gtk_widget_set_has_tooltip exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_set_opacity(USER_OBJECT_ s_object, USER_OBJECT_ s_opacity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gdouble opacity = ((gdouble)asCNumeric(s_opacity)); gtk_window_set_opacity(object, opacity); #else error("gtk_window_set_opacity exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_opacity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gdouble ans; ans = gtk_window_get_opacity(object); _result = asRNumeric(ans); #else error("gtk_window_get_opacity exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_set_startup_id(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); const gchar* startup_id = ((const gchar*)asCString(s_startup_id)); gtk_window_set_startup_id(object, startup_id); #else error("gtk_window_set_startup_id exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_accel_group_get_is_locked(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); gboolean ans; ans = gtk_accel_group_get_is_locked(object); _result = asRLogical(ans); #else error("gtk_accel_group_get_is_locked exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_accel_group_get_modifier_mask(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); GdkModifierType ans; ans = gtk_accel_group_get_modifier_mask(object); _result = asRFlag(ans, GDK_TYPE_MODIFIER_TYPE); #else error("gtk_accel_group_get_modifier_mask exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_get_lower(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_lower(object); _result = asRNumeric(ans); #else error("gtk_adjustment_get_lower exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_set_lower(USER_OBJECT_ s_object, USER_OBJECT_ s_lower) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble lower = ((gdouble)asCNumeric(s_lower)); gtk_adjustment_set_lower(object, lower); #else error("gtk_adjustment_set_lower exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_get_upper(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_upper(object); _result = asRNumeric(ans); #else error("gtk_adjustment_get_upper exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_set_upper(USER_OBJECT_ s_object, USER_OBJECT_ s_upper) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble upper = ((gdouble)asCNumeric(s_upper)); gtk_adjustment_set_upper(object, upper); #else error("gtk_adjustment_set_upper exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_get_step_increment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_step_increment(object); _result = asRNumeric(ans); #else error("gtk_adjustment_get_step_increment exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_set_step_increment(USER_OBJECT_ s_object, USER_OBJECT_ s_step_increment) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble step_increment = ((gdouble)asCNumeric(s_step_increment)); gtk_adjustment_set_step_increment(object, step_increment); #else error("gtk_adjustment_set_step_increment exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_get_page_increment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_page_increment(object); _result = asRNumeric(ans); #else error("gtk_adjustment_get_page_increment exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_set_page_increment(USER_OBJECT_ s_object, USER_OBJECT_ s_page_increment) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble page_increment = ((gdouble)asCNumeric(s_page_increment)); gtk_adjustment_set_page_increment(object, page_increment); #else error("gtk_adjustment_set_page_increment exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_get_page_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble ans; ans = gtk_adjustment_get_page_size(object); _result = asRNumeric(ans); #else error("gtk_adjustment_get_page_size exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_set_page_size(USER_OBJECT_ s_object, USER_OBJECT_ s_page_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble page_size = ((gdouble)asCNumeric(s_page_size)); gtk_adjustment_set_page_size(object, page_size); #else error("gtk_adjustment_set_page_size exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_adjustment_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_step_increment, USER_OBJECT_ s_page_increment, USER_OBJECT_ s_page_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gdouble lower = ((gdouble)asCNumeric(s_lower)); gdouble upper = ((gdouble)asCNumeric(s_upper)); gdouble step_increment = ((gdouble)asCNumeric(s_step_increment)); gdouble page_increment = ((gdouble)asCNumeric(s_page_increment)); gdouble page_size = ((gdouble)asCNumeric(s_page_size)); gtk_adjustment_configure(object, value, lower, upper, step_increment, page_increment, page_size); #else error("gtk_adjustment_configure exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_add_objects_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename, USER_OBJECT_ s_object_ids) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* filename = ((const gchar*)asCString(s_filename)); gchar** object_ids = ((gchar**)asCStringArray(s_object_ids)); guint ans; GError* error = NULL; ans = gtk_builder_add_objects_from_file(object, filename, object_ids, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_builder_add_objects_from_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_builder_add_objects_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length, USER_OBJECT_ s_object_ids) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const gchar* buffer = ((const gchar*)asCString(s_buffer)); gsize length = ((gsize)asCNumeric(s_length)); gchar** object_ids = ((gchar**)asCStringArray(s_object_ids)); guint ans; GError* error = NULL; ans = gtk_builder_add_objects_from_string(object, buffer, length, object_ids, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_builder_add_objects_from_string exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_calendar_set_detail_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkCalendarDetailFunc func = ((GtkCalendarDetailFunc)S_GtkCalendarDetailFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); gtk_calendar_set_detail_func(object, func, data, destroy); #else error("gtk_calendar_set_detail_func exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_calendar_set_detail_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gint chars = ((gint)asCInteger(s_chars)); gtk_calendar_set_detail_width_chars(object, chars); #else error("gtk_calendar_set_detail_width_chars exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_calendar_set_detail_height_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_rows) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gint rows = ((gint)asCInteger(s_rows)); gtk_calendar_set_detail_height_rows(object, rows); #else error("gtk_calendar_set_detail_height_rows exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_calendar_get_detail_width_chars(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gint ans; ans = gtk_calendar_get_detail_width_chars(object); _result = asRInteger(ans); #else error("gtk_calendar_get_detail_width_chars exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_calendar_get_detail_height_rows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); gint ans; ans = gtk_calendar_get_detail_height_rows(object); _result = asRInteger(ans); #else error("gtk_calendar_get_detail_height_rows exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_is_uris_available(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gboolean ans; ans = gtk_clipboard_wait_is_uris_available(object); _result = asRLogical(ans); #else error("gtk_clipboard_wait_is_uris_available exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_wait_for_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gchar** ans; ans = gtk_clipboard_wait_for_uris(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; #else error("gtk_clipboard_wait_for_uris exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_clipboard_request_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkClipboardURIReceivedFunc callback = ((GtkClipboardURIReceivedFunc)S_GtkClipboardURIReceivedFunc); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GtkClipboard* object = GTK_CLIPBOARD(getPtrValue(s_object)); gtk_clipboard_request_uris(object, callback, user_data); R_freeCBData(user_data); #else error("gtk_clipboard_request_uris exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_color_selection_dialog_get_color_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkColorSelectionDialog* object = GTK_COLOR_SELECTION_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_color_selection_dialog_get_color_selection(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_color_selection_dialog_get_color_selection exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_combo_box_set_button_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkSensitivityType sensitivity = ((GtkSensitivityType)asCEnum(s_sensitivity, GTK_TYPE_SENSITIVITY_TYPE)); gtk_combo_box_set_button_sensitivity(object, sensitivity); #else error("gtk_combo_box_set_button_sensitivity exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_combo_box_get_button_sensitivity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); GtkSensitivityType ans; ans = gtk_combo_box_get_button_sensitivity(object); _result = asREnum(ans, GTK_TYPE_SENSITIVITY_TYPE); #else error("gtk_combo_box_get_button_sensitivity exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_container_get_focus_child(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_container_get_focus_child(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_container_get_focus_child exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_dialog_get_action_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_dialog_get_action_area(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_dialog_get_action_area exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_dialog_get_content_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_dialog_get_content_area(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_dialog_get_content_area exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_overwrite_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_overwrite) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean overwrite = ((gboolean)asCLogical(s_overwrite)); gtk_entry_set_overwrite_mode(object, overwrite); #else error("gtk_entry_set_overwrite_mode exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_overwrite_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gboolean ans; ans = gtk_entry_get_overwrite_mode(object); _result = asRLogical(ans); #else error("gtk_entry_get_overwrite_mode exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_text_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); guint16 ans; ans = gtk_entry_get_text_length(object); _result = asRInteger(ans); #else error("gtk_entry_get_text_length exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_file(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* ans; ans = gtk_file_chooser_get_file(object); _result = toRPointerWithRef(ans, "GFile"); #else error("gtk_file_chooser_get_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_set_file(object, file, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_file_chooser_set_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_select_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_select_file(object, file, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_file_chooser_select_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_unselect_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); gtk_file_chooser_unselect_file(object, file); #else error("gtk_file_chooser_unselect_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_files(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GSList* ans; ans = gtk_file_chooser_get_files(object); _result = asRGSListWithRef(ans, "GFile"); CLEANUP(g_slist_free, ans);; #else error("gtk_file_chooser_get_files exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_current_folder_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); gboolean ans; GError* error = NULL; ans = gtk_file_chooser_set_current_folder_file(object, file, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_file_chooser_set_current_folder_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_current_folder_file(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* ans; ans = gtk_file_chooser_get_current_folder_file(object); _result = toRPointerWithRef(ans, "GFile"); #else error("gtk_file_chooser_get_current_folder_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_preview_file(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); GFile* ans; ans = gtk_file_chooser_get_preview_file(object); _result = toRPointerWithRef(ans, "GFile"); #else error("gtk_file_chooser_get_preview_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_ok_button(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_dialog_get_ok_button(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_dialog_get_ok_button exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_apply_button(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_dialog_get_apply_button(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_dialog_get_apply_button exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_dialog_get_cancel_button(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelectionDialog* object = GTK_FONT_SELECTION_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_dialog_get_cancel_button(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_dialog_get_cancel_button exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_family_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_get_family_list(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_get_family_list exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_face_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_get_face_list(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_get_face_list exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_size_entry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_get_size_entry(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_get_size_entry exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_size_list(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_get_size_list(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_get_size_list exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_preview_entry(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_font_selection_get_preview_entry(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_font_selection_get_preview_entry exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); PangoFontFamily* ans; ans = gtk_font_selection_get_family(object); _result = toRPointerWithRef(ans, "PangoFontFamily"); #else error("gtk_font_selection_get_family exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_face(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); PangoFontFace* ans; ans = gtk_font_selection_get_face(object); _result = toRPointerWithRef(ans, "PangoFontFace"); #else error("gtk_font_selection_get_face exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_font_selection_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkFontSelection* object = GTK_FONT_SELECTION(getPtrValue(s_object)); gint ans; ans = gtk_font_selection_get_size(object); _result = asRInteger(ans); #else error("gtk_font_selection_get_size exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_handle_box_get_child_detached(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); gboolean ans; ans = gtk_handle_box_get_child_detached(object); _result = asRLogical(ans); #else error("gtk_handle_box_get_child_detached exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_info_new_for_pixbuf(USER_OBJECT_ s_icon_theme, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkIconTheme* icon_theme = GTK_ICON_THEME(getPtrValue(s_icon_theme)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); GtkIconInfo* ans; ans = gtk_icon_info_new_for_pixbuf(icon_theme, pixbuf); _result = toRPointerWithFinalizer(ans, "GtkIconInfo", (RPointerFinalizer) gtk_icon_info_free); #else error("gtk_icon_info_new_for_pixbuf exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_theme_lookup_by_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon, USER_OBJECT_ s_size, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); GIcon* icon = G_ICON(getPtrValue(s_icon)); gint size = ((gint)asCInteger(s_size)); GtkIconLookupFlags flags = ((GtkIconLookupFlags)asCFlag(s_flags, GTK_TYPE_ICON_LOOKUP_FLAGS)); GtkIconInfo* ans; ans = gtk_icon_theme_lookup_by_gicon(object, icon, size, flags); _result = toRPointerWithFinalizer(ans ? gtk_icon_info_copy(ans) : NULL, "GtkIconInfo", (RPointerFinalizer) gtk_icon_info_free); #else error("gtk_icon_theme_lookup_by_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_set_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GIcon* icon = G_ICON(getPtrValue(s_icon)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_image_set_from_gicon(object, icon, size); #else error("gtk_image_set_from_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_new_from_gicon(USER_OBJECT_ s_icon, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GIcon* icon = G_ICON(getPtrValue(s_icon)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* ans; ans = gtk_image_new_from_gicon(icon, size); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_image_new_from_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_get_gicon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkImage* object = GTK_IMAGE(getPtrValue(s_object)); GIcon* gicon = NULL; GtkIconSize size; gtk_image_get_gicon(object, &gicon, &size); _result = retByVal(_result, "gicon", toRPointerWithRef(gicon, "GIcon"), "size", asREnum(size, GTK_TYPE_ICON_SIZE), NULL); ; ; #else error("gtk_image_get_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_layout_get_bin_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_layout_get_bin_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_layout_get_bin_window exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_get_accel_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMenu* object = GTK_MENU(getPtrValue(s_object)); const gchar* ans; ans = gtk_menu_get_accel_path(object); _result = asRString(ans); #else error("gtk_menu_get_accel_path exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_get_monitor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gint ans; ans = gtk_menu_get_monitor(object); _result = asRInteger(ans); #else error("gtk_menu_get_monitor exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_item_get_accel_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); const gchar* ans; ans = gtk_menu_item_get_accel_path(object); _result = asRString(ans); #else error("gtk_menu_item_get_accel_path exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_message_dialog_get_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMessageDialog* object = GTK_MESSAGE_DIALOG(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_message_dialog_get_image(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_message_dialog_get_image exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GType ans; ans = gtk_mount_operation_get_type(); _result = asRGType(ans); #else error("gtk_mount_operation_get_type exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_new(USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) char * prop_names[] = { "parent", NULL }; USER_OBJECT_ args[] = { s_parent }; GMountOperation* ans; ans = propertyConstructor(GTK_TYPE_MOUNT_OPERATION, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GMountOperation", (RPointerFinalizer) g_object_unref); #else error("gtk_mount_operation_new exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_is_showing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMountOperation* object = GTK_MOUNT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = gtk_mount_operation_is_showing(object); _result = asRLogical(ans); #else error("gtk_mount_operation_is_showing exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMountOperation* object = GTK_MOUNT_OPERATION(getPtrValue(s_object)); GtkWindow* parent = GTK_WINDOW(getPtrValue(s_parent)); gtk_mount_operation_set_parent(object, parent); #else error("gtk_mount_operation_set_parent exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_get_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMountOperation* object = GTK_MOUNT_OPERATION(getPtrValue(s_object)); GtkWindow* ans; ans = gtk_mount_operation_get_parent(object); _result = toRPointerWithSink(ans, "GtkWindow"); #else error("gtk_mount_operation_get_parent exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMountOperation* object = GTK_MOUNT_OPERATION(getPtrValue(s_object)); GdkScreen* screen = GDK_SCREEN(getPtrValue(s_screen)); gtk_mount_operation_set_screen(object, screen); #else error("gtk_mount_operation_set_screen exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_mount_operation_get_screen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkMountOperation* object = GTK_MOUNT_OPERATION(getPtrValue(s_object)); GdkScreen* ans; ans = gtk_mount_operation_get_screen(object); _result = toRPointerWithRef(ans, "GdkScreen"); #else error("gtk_mount_operation_get_screen exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_plug_get_embedded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); gboolean ans; ans = gtk_plug_get_embedded(object); _result = asRLogical(ans); #else error("gtk_plug_get_embedded exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_plug_get_socket_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_plug_get_socket_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_plug_get_socket_window exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_load_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gboolean ans; GError* error = NULL; ans = gtk_page_setup_load_key_file(object, key_file, group_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_page_setup_load_key_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_page_setup_load_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPageSetup* object = GTK_PAGE_SETUP(getPtrValue(s_object)); const char* file_name = ((const char*)asCString(s_file_name)); gboolean ans; GError* error = NULL; ans = gtk_page_setup_load_file(object, file_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_page_setup_load_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_load_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GKeyFile* key_file = ((GKeyFile*)getPtrValue(s_key_file)); const gchar* group_name = ((const gchar*)asCString(s_group_name)); gboolean ans; GError* error = NULL; ans = gtk_print_settings_load_key_file(object, key_file, group_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_settings_load_key_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_load_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); const gchar* file_name = ((const gchar*)asCString(s_file_name)); gboolean ans; GError* error = NULL; ans = gtk_print_settings_load_file(object, file_name, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_print_settings_load_file exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_number_up_layout(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkNumberUpLayout ans; ans = gtk_print_settings_get_number_up_layout(object); _result = asREnum(ans, GTK_TYPE_NUMBER_UP_LAYOUT); #else error("gtk_print_settings_get_number_up_layout exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_number_up_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_number_up_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); GtkNumberUpLayout number_up_layout = ((GtkNumberUpLayout)asCEnum(s_number_up_layout, GTK_TYPE_NUMBER_UP_LAYOUT)); gtk_print_settings_set_number_up_layout(object, number_up_layout); #else error("gtk_print_settings_set_number_up_layout exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_scale_button_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_scale_button_get_orientation exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_scale_button_set_orientation(object, orientation); #else error("gtk_scale_button_set_orientation exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_plus_button(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_scale_button_get_plus_button(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_scale_button_get_plus_button exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_minus_button(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_scale_button_get_minus_button(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_scale_button_get_minus_button exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_button_get_popup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkScaleButton* object = GTK_SCALE_BUTTON(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_scale_button_get_popup(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_scale_button_get_popup exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_target(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkAtom ans; ans = gtk_selection_data_get_target(object); _result = asRGdkAtom(ans); #else error("gtk_selection_data_get_target exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_data_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkAtom ans; ans = gtk_selection_data_get_data_type(object); _result = asRGdkAtom(ans); #else error("gtk_selection_data_get_data_type exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_format(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gint ans; ans = gtk_selection_data_get_format(object); _result = asRInteger(ans); #else error("gtk_selection_data_get_format exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); const guchar* ans; ans = gtk_selection_data_get_data(object); _result = asRRawArrayWithSize(ans, gtk_selection_data_get_length(object)); #else error("gtk_selection_data_get_data exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); gint ans; ans = gtk_selection_data_get_length(object); _result = asRInteger(ans); #else error("gtk_selection_data_get_length exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_display(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkDisplay* ans; ans = gtk_selection_data_get_display(object); _result = toRPointerWithRef(ans, "GdkDisplay"); #else error("gtk_selection_data_get_display exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_show_uri(USER_OBJECT_ s_screen, USER_OBJECT_ s_uri, USER_OBJECT_ s_timestamp) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GdkScreen* screen = GET_LENGTH(s_screen) == 0 ? NULL : GDK_SCREEN(getPtrValue(s_screen)); const gchar* uri = ((const gchar*)asCString(s_uri)); guint32 timestamp = ((guint32)asCNumeric(s_timestamp)); gboolean ans; GError* error = NULL; ans = gtk_show_uri(screen, uri, timestamp, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("gtk_show_uri exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_socket_get_plug_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_socket_get_plug_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_socket_get_plug_window exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_new_from_gicon(USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GIcon* icon = G_ICON(getPtrValue(s_icon)); GtkStatusIcon* ans; ans = gtk_status_icon_new_from_gicon(icon); _result = toRPointerWithFinalizer(ans, "GtkStatusIcon", (RPointerFinalizer) g_object_unref); #else error("gtk_status_icon_new_from_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_x11_window_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); guint32 ans; ans = gtk_status_icon_get_x11_window_id(object); _result = asRNumeric(ans); #else error("gtk_status_icon_get_x11_window_id exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_gicon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GIcon* ans; ans = gtk_status_icon_get_gicon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("gtk_status_icon_get_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); GIcon* icon = G_ICON(getPtrValue(s_icon)); gtk_status_icon_set_from_gicon(object, icon); #else error("gtk_status_icon_set_from_gicon exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_icon_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); const gchar* icon_name = GET_LENGTH(s_icon_name) == 0 ? NULL : ((const gchar*)asCString(s_icon_name)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_tooltip_set_icon_from_icon_name(object, icon_name, size); #else error("gtk_tooltip_set_icon_from_icon_name exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_toolbar_reconfigured(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gtk_tool_item_toolbar_reconfigured(object); #else error("gtk_tool_item_toolbar_reconfigured exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkIconSize ans; ans = gtk_tool_shell_get_icon_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); #else error("gtk_tool_shell_get_icon_size exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_tool_shell_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_tool_shell_get_orientation exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkToolbarStyle ans; ans = gtk_tool_shell_get_style(object); _result = asREnum(ans, GTK_TYPE_TOOLBAR_STYLE); #else error("gtk_tool_shell_get_style exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_relief_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkReliefStyle ans; ans = gtk_tool_shell_get_relief_style(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); #else error("gtk_tool_shell_get_relief_style exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_rebuild_menu(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); gtk_tool_shell_rebuild_menu(object); #else error("gtk_tool_shell_rebuild_menu exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tree_selection_get_select_function(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); GtkTreeSelectionFunc ans; ans = gtk_tree_selection_get_select_function(object); _result = toRPointer(ans, "GtkTreeSelectionFunc"); #else error("gtk_tree_selection_get_select_function exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_snapshot(USER_OBJECT_ s_object, USER_OBJECT_ s_clip_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkRectangle* clip_rect = GET_LENGTH(s_clip_rect) == 0 ? NULL : asCGdkRectangle(s_clip_rect); GdkPixmap* ans; ans = gtk_widget_get_snapshot(object, clip_rect); _result = toRPointerWithFinalizer(ans, "GdkPixmap", (RPointerFinalizer) g_object_unref); #else error("gtk_widget_get_snapshot exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_widget_get_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_widget_get_window exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_default_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_window_get_default_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_window_get_default_widget exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_group_list_windows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWindowGroup* object = GTK_WINDOW_GROUP(getPtrValue(s_object)); GList* ans; ans = gtk_window_group_list_windows(object); _result = asRGListWithSink(ans, "GtkWindow"); #else error("gtk_window_group_list_windows exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_get_visited(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkLinkButton* object = GTK_LINK_BUTTON(getPtrValue(s_object)); gboolean ans; ans = gtk_link_button_get_visited(object); _result = asRLogical(ans); #else error("gtk_link_button_get_visited exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_link_button_set_visited(USER_OBJECT_ s_object, USER_OBJECT_ s_visited) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkLinkButton* object = GTK_LINK_BUTTON(getPtrValue(s_object)); gboolean visited = ((gboolean)asCLogical(s_visited)); gtk_link_button_set_visited(object, visited); #else error("gtk_link_button_set_visited exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_border_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkBorder* ans; ans = gtk_border_new(); _result = toRPointerWithFinalizer(ans, "GtkBorder", (RPointerFinalizer) gtk_border_free); #else error("gtk_border_new exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_register_all_types(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) gtk_test_register_all_types(); #else error("gtk_test_register_all_types exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_list_all_types(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) const GType* ans; guint n_types; ans = gtk_test_list_all_types(&n_types); _result = asRGTypeArrayWithSize(ans, n_types); _result = retByVal(_result, "n.types", asRNumeric(n_types), NULL); ; #else error("gtk_test_list_all_types exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_find_widget(USER_OBJECT_ s_widget, USER_OBJECT_ s_label_pattern, USER_OBJECT_ s_widget_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* label_pattern = ((const gchar*)asCString(s_label_pattern)); GType widget_type = ((GType)asCGType(s_widget_type)); GtkWidget* ans; ans = gtk_test_find_widget(widget, label_pattern, widget_type); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_test_find_widget exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_create_simple_window(USER_OBJECT_ s_window_title, USER_OBJECT_ s_dialog_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) const gchar* window_title = ((const gchar*)asCString(s_window_title)); const gchar* dialog_text = ((const gchar*)asCString(s_dialog_text)); GtkWidget* ans; ans = gtk_test_create_simple_window(window_title, dialog_text); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_test_create_simple_window exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_slider_set_perc(USER_OBJECT_ s_widget, USER_OBJECT_ s_percentage) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); double percentage = ((double)asCNumeric(s_percentage)); gtk_test_slider_set_perc(widget, percentage); #else error("gtk_test_slider_set_perc exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_slider_get_value(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); double ans; ans = gtk_test_slider_get_value(widget); _result = asRNumeric(ans); #else error("gtk_test_slider_get_value exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_spin_button_click(USER_OBJECT_ s_spinner, USER_OBJECT_ s_button, USER_OBJECT_ s_upwards) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkSpinButton* spinner = GTK_SPIN_BUTTON(getPtrValue(s_spinner)); guint button = ((guint)asCNumeric(s_button)); gboolean upwards = ((gboolean)asCLogical(s_upwards)); gboolean ans; ans = gtk_test_spin_button_click(spinner, button, upwards); _result = asRLogical(ans); #else error("gtk_test_spin_button_click exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_widget_click(USER_OBJECT_ s_widget, USER_OBJECT_ s_button, USER_OBJECT_ s_modifiers) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); guint button = ((guint)asCNumeric(s_button)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_test_widget_click(widget, button, modifiers); _result = asRLogical(ans); #else error("gtk_test_widget_click exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_widget_send_key(USER_OBJECT_ s_widget, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifiers = ((GdkModifierType)asCFlag(s_modifiers, GDK_TYPE_MODIFIER_TYPE)); gboolean ans; ans = gtk_test_widget_send_key(widget, keyval, modifiers); _result = asRLogical(ans); #else error("gtk_test_widget_send_key exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_text_set(USER_OBJECT_ s_widget, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* string = ((const gchar*)asCString(s_string)); gtk_test_text_set(widget, string); #else error("gtk_test_text_set exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_text_get(USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); gchar* ans; ans = gtk_test_text_get(widget); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_test_text_get exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_find_sibling(USER_OBJECT_ s_base_widget, USER_OBJECT_ s_widget_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* base_widget = GTK_WIDGET(getPtrValue(s_base_widget)); GType widget_type = ((GType)asCGType(s_widget_type)); GtkWidget* ans; ans = gtk_test_find_sibling(base_widget, widget_type); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_test_find_sibling exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_test_find_label(USER_OBJECT_ s_widget, USER_OBJECT_ s_label_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* label_pattern = ((const gchar*)asCString(s_label_pattern)); GtkWidget* ans; ans = gtk_test_find_label(widget, label_pattern); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_test_find_label exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_block_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gtk_action_block_activate(object); #else error("gtk_action_block_activate exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_unblock_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gtk_action_unblock_activate(object); #else error("gtk_action_unblock_activate exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GIcon* icon = G_ICON(getPtrValue(s_icon)); gtk_action_set_gicon(object, icon); #else error("gtk_action_set_gicon exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_gicon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GIcon* ans; ans = gtk_action_get_gicon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("gtk_action_get_gicon exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* icon_name = ((const gchar*)asCString(s_icon_name)); gtk_action_set_icon_name(object, icon_name); #else error("gtk_action_set_icon_name exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_icon_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_icon_name(object); _result = asRString(ans); #else error("gtk_action_get_icon_name exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_visible_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean visible_horizontal = ((gboolean)asCLogical(s_visible_horizontal)); gtk_action_set_visible_horizontal(object, visible_horizontal); #else error("gtk_action_set_visible_horizontal exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_visible_horizontal(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_visible_horizontal(object); _result = asRLogical(ans); #else error("gtk_action_get_visible_horizontal exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_visible_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_vertical) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean visible_vertical = ((gboolean)asCLogical(s_visible_vertical)); gtk_action_set_visible_vertical(object, visible_vertical); #else error("gtk_action_set_visible_vertical exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_visible_vertical(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_visible_vertical(object); _result = asRLogical(ans); #else error("gtk_action_get_visible_vertical exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_is_important(USER_OBJECT_ s_object, USER_OBJECT_ s_is_important) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean is_important = ((gboolean)asCLogical(s_is_important)); gtk_action_set_is_important(object, is_important); #else error("gtk_action_set_is_important exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_is_important(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_is_important(object); _result = asRLogical(ans); #else error("gtk_action_get_is_important exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* label = ((const gchar*)asCString(s_label)); gtk_action_set_label(object, label); #else error("gtk_action_set_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_label(object); _result = asRString(ans); #else error("gtk_action_get_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_short_label(USER_OBJECT_ s_object, USER_OBJECT_ s_short_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* short_label = ((const gchar*)asCString(s_short_label)); gtk_action_set_short_label(object, short_label); #else error("gtk_action_set_short_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_short_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_short_label(object); _result = asRString(ans); #else error("gtk_action_get_short_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* tooltip = ((const gchar*)asCString(s_tooltip)); gtk_action_set_tooltip(object, tooltip); #else error("gtk_action_set_tooltip exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_tooltip(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_tooltip(object); _result = asRString(ans); #else error("gtk_action_get_tooltip exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_stock_id(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* stock_id = ((const gchar*)asCString(s_stock_id)); gtk_action_set_stock_id(object, stock_id); #else error("gtk_action_set_stock_id exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_stock_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); const gchar* ans; ans = gtk_action_get_stock_id(object); _result = asRString(ans); #else error("gtk_action_get_stock_id exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GType ans; ans = gtk_activatable_get_type(); _result = asRGType(ans); #else error("gtk_activatable_get_type exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_sync_action_properties(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* action = GET_LENGTH(s_action) == 0 ? NULL : GTK_ACTION(getPtrValue(s_action)); gtk_activatable_sync_action_properties(object, action); #else error("gtk_activatable_sync_action_properties exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_set_related_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); gtk_activatable_set_related_action(object, action); #else error("gtk_activatable_set_related_action exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_get_related_action(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* ans; ans = gtk_activatable_get_related_action(object); _result = toRPointerWithRef(ans, "GtkAction"); #else error("gtk_activatable_get_related_action exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_set_use_action_appearance(USER_OBJECT_ s_object, USER_OBJECT_ s_use_appearance) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); gboolean use_appearance = ((gboolean)asCLogical(s_use_appearance)); gtk_activatable_set_use_action_appearance(object, use_appearance); #else error("gtk_activatable_set_use_action_appearance exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_get_use_action_appearance(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); gboolean ans; ans = gtk_activatable_get_use_action_appearance(object); _result = asRLogical(ans); #else error("gtk_activatable_get_use_action_appearance exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_do_set_related_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); gtk_activatable_do_set_related_action(object, action); #else error("gtk_activatable_do_set_related_action exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_view_get_model(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkCellView* object = GTK_CELL_VIEW(getPtrValue(s_object)); GtkTreeModel* ans; ans = gtk_cell_view_get_model(object); _result = toRPointerWithRef(ans, "GtkTreeModel"); #else error("gtk_cell_view_get_model exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_progress_fraction(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gdouble fraction = ((gdouble)asCNumeric(s_fraction)); gtk_entry_set_progress_fraction(object, fraction); #else error("gtk_entry_set_progress_fraction exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_progress_fraction(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gdouble ans; ans = gtk_entry_get_progress_fraction(object); _result = asRNumeric(ans); #else error("gtk_entry_get_progress_fraction exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_progress_pulse_step(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gdouble fraction = ((gdouble)asCNumeric(s_fraction)); gtk_entry_set_progress_pulse_step(object, fraction); #else error("gtk_entry_set_progress_pulse_step exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_progress_pulse_step(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gdouble ans; ans = gtk_entry_get_progress_pulse_step(object); _result = asRNumeric(ans); #else error("gtk_entry_get_progress_pulse_step exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_progress_pulse(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gtk_entry_progress_pulse(object); #else error("gtk_entry_progress_pulse exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GdkPixbuf* pixbuf = GET_LENGTH(s_pixbuf) == 0 ? NULL : GDK_PIXBUF(getPtrValue(s_pixbuf)); gtk_entry_set_icon_from_pixbuf(object, icon_pos, pixbuf); #else error("gtk_entry_set_icon_from_pixbuf exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_stock_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* stock_id = GET_LENGTH(s_stock_id) == 0 ? NULL : ((const gchar*)asCString(s_stock_id)); gtk_entry_set_icon_from_stock(object, icon_pos, stock_id); #else error("gtk_entry_set_icon_from_stock exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_icon_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* icon_name = GET_LENGTH(s_icon_name) == 0 ? NULL : ((const gchar*)asCString(s_icon_name)); gtk_entry_set_icon_from_icon_name(object, icon_pos, icon_name); #else error("gtk_entry_set_icon_from_icon_name exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GIcon* icon = GET_LENGTH(s_icon) == 0 ? NULL : G_ICON(getPtrValue(s_icon)); gtk_entry_set_icon_from_gicon(object, icon_pos, icon); #else error("gtk_entry_set_icon_from_gicon exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_storage_type(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GtkImageType ans; ans = gtk_entry_get_icon_storage_type(object, icon_pos); _result = asREnum(ans, GTK_TYPE_IMAGE_TYPE); #else error("gtk_entry_get_icon_storage_type exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GdkPixbuf* ans; ans = gtk_entry_get_icon_pixbuf(object, icon_pos); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_entry_get_icon_pixbuf exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* ans; ans = gtk_entry_get_icon_stock(object, icon_pos); _result = asRString(ans); #else error("gtk_entry_get_icon_stock exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* ans; ans = gtk_entry_get_icon_name(object, icon_pos); _result = asRString(ans); #else error("gtk_entry_get_icon_name exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GIcon* ans; ans = gtk_entry_get_icon_gicon(object, icon_pos); _result = toRPointerWithRef(ans, "GIcon"); #else error("gtk_entry_get_icon_gicon exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_activatable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gboolean activatable = ((gboolean)asCLogical(s_activatable)); gtk_entry_set_icon_activatable(object, icon_pos, activatable); #else error("gtk_entry_set_icon_activatable exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gboolean ans; ans = gtk_entry_get_icon_activatable(object, icon_pos); _result = asRLogical(ans); #else error("gtk_entry_get_icon_activatable exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gboolean sensitive = ((gboolean)asCLogical(s_sensitive)); gtk_entry_set_icon_sensitive(object, icon_pos, sensitive); #else error("gtk_entry_set_icon_sensitive exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gboolean ans; ans = gtk_entry_get_icon_sensitive(object, icon_pos); _result = asRLogical(ans); #else error("gtk_entry_get_icon_sensitive exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint ans; ans = gtk_entry_get_icon_at_pos(object, x, y); _result = asRInteger(ans); #else error("gtk_entry_get_icon_at_pos exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_tooltip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* tooltip = GET_LENGTH(s_tooltip) == 0 ? NULL : ((const gchar*)asCString(s_tooltip)); gtk_entry_set_icon_tooltip_text(object, icon_pos, tooltip); #else error("gtk_entry_set_icon_tooltip_text exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gchar* ans; ans = gtk_entry_get_icon_tooltip_text(object, icon_pos); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_entry_get_icon_tooltip_text exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_tooltip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); const gchar* tooltip = GET_LENGTH(s_tooltip) == 0 ? NULL : ((const gchar*)asCString(s_tooltip)); gtk_entry_set_icon_tooltip_markup(object, icon_pos, tooltip); #else error("gtk_entry_set_icon_tooltip_markup exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); gchar* ans; ans = gtk_entry_get_icon_tooltip_markup(object, icon_pos); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_entry_get_icon_tooltip_markup exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_unset_invisible_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gtk_entry_unset_invisible_char(object); #else error("gtk_entry_unset_invisible_char exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_icon_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_target_list, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GtkTargetList* target_list = ((GtkTargetList*)getPtrValue(s_target_list)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_entry_set_icon_drag_source(object, icon_pos, target_list, actions); #else error("gtk_entry_set_icon_drag_source exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_current_icon_drag_source(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); gint ans; ans = gtk_entry_get_current_icon_drag_source(object); _result = asRInteger(ans); #else error("gtk_entry_get_current_icon_drag_source exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_menu_item_set_always_show_image(USER_OBJECT_ s_object, USER_OBJECT_ s_always_show) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); gboolean always_show = ((gboolean)asCLogical(s_always_show)); gtk_image_menu_item_set_always_show_image(object, always_show); #else error("gtk_image_menu_item_set_always_show_image exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_menu_item_get_always_show_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_image_menu_item_get_always_show_image(object); _result = asRLogical(ans); #else error("gtk_image_menu_item_get_always_show_image exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_menu_item_set_use_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_use_stock) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); gboolean use_stock = ((gboolean)asCLogical(s_use_stock)); gtk_image_menu_item_set_use_stock(object, use_stock); #else error("gtk_image_menu_item_set_use_stock exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_menu_item_get_use_stock(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_image_menu_item_get_use_stock(object); _result = asRLogical(ans); #else error("gtk_image_menu_item_get_use_stock exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_image_menu_item_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkImageMenuItem* object = GTK_IMAGE_MENU_ITEM(getPtrValue(s_object)); GtkAccelGroup* accel_group = GTK_ACCEL_GROUP(getPtrValue(s_accel_group)); gtk_image_menu_item_set_accel_group(object, accel_group); #else error("gtk_image_menu_item_set_accel_group exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_im_multicontext_get_context_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkIMMulticontext* object = GTK_IM_MULTICONTEXT(getPtrValue(s_object)); const char* ans; ans = gtk_im_multicontext_get_context_id(object); _result = asRString(ans); #else error("gtk_im_multicontext_get_context_id exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_im_multicontext_set_context_id(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkIMMulticontext* object = GTK_IM_MULTICONTEXT(getPtrValue(s_object)); const char* context_id = ((const char*)asCString(s_context_id)); gtk_im_multicontext_set_context_id(object, context_id); #else error("gtk_im_multicontext_set_context_id exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_item_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); const gchar* label = ((const gchar*)asCString(s_label)); gtk_menu_item_set_label(object, label); #else error("gtk_menu_item_set_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_item_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); const gchar* ans; ans = gtk_menu_item_get_label(object); _result = asRString(ans); #else error("gtk_menu_item_get_label exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_item_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_menu_item_set_use_underline(object, setting); #else error("gtk_menu_item_set_use_underline exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_item_get_use_underline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gboolean ans; ans = gtk_menu_item_get_use_underline(object); _result = asRLogical(ans); #else error("gtk_menu_item_get_use_underline exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_orientable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GType ans; ans = gtk_orientable_get_type(); _result = asRGType(ans); #else error("gtk_orientable_get_type exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_orientable_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkOrientable* object = GTK_ORIENTABLE(getPtrValue(s_object)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); gtk_orientable_set_orientation(object, orientation); #else error("gtk_orientable_set_orientation exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_orientable_get_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkOrientable* object = GTK_ORIENTABLE(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_orientable_get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_orientable_get_orientation exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_draw_page_finish(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gtk_print_operation_draw_page_finish(object); #else error("gtk_print_operation_draw_page_finish exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_defer_drawing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gtk_print_operation_set_defer_drawing(object); #else error("gtk_print_operation_set_defer_drawing exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_resolution_x(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint ans; ans = gtk_print_settings_get_resolution_x(object); _result = asRInteger(ans); #else error("gtk_print_settings_get_resolution_x exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_resolution_y(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint ans; ans = gtk_print_settings_get_resolution_y(object); _result = asRInteger(ans); #else error("gtk_print_settings_get_resolution_y exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_resolution_xy(USER_OBJECT_ s_object, USER_OBJECT_ s_resolution_x, USER_OBJECT_ s_resolution_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gint resolution_x = ((gint)asCInteger(s_resolution_x)); gint resolution_y = ((gint)asCInteger(s_resolution_y)); gtk_print_settings_set_resolution_xy(object, resolution_x, resolution_y); #else error("gtk_print_settings_set_resolution_xy exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_get_printer_lpi(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble ans; ans = gtk_print_settings_get_printer_lpi(object); _result = asRNumeric(ans); #else error("gtk_print_settings_get_printer_lpi exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_settings_set_printer_lpi(USER_OBJECT_ s_object, USER_OBJECT_ s_lpi) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkPrintSettings* object = GTK_PRINT_SETTINGS(getPtrValue(s_object)); gdouble lpi = ((gdouble)asCNumeric(s_lpi)); gtk_print_settings_set_printer_lpi(object, lpi); #else error("gtk_print_settings_set_printer_lpi exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_add_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_position, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); GtkPositionType position = ((GtkPositionType)asCEnum(s_position, GTK_TYPE_POSITION_TYPE)); const gchar* markup = GET_LENGTH(s_markup) == 0 ? NULL : ((const gchar*)asCString(s_markup)); gtk_scale_add_mark(object, value, position, markup); #else error("gtk_scale_add_mark exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_scale_clear_marks(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gtk_scale_clear_marks(object); #else error("gtk_scale_clear_marks exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_selection_data_get_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkSelectionData* object = ((GtkSelectionData*)getPtrValue(s_object)); GdkAtom ans; ans = gtk_selection_data_get_selection(object); _result = asRGdkAtom(ans); #else error("gtk_selection_data_get_selection exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_has_tooltip(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean ans; ans = gtk_status_icon_get_has_tooltip(object); _result = asRLogical(ans); #else error("gtk_status_icon_get_has_tooltip exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_tooltip_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gchar* ans; ans = gtk_status_icon_get_tooltip_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_status_icon_get_tooltip_text exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_tooltip_markup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gchar* ans; ans = gtk_status_icon_get_tooltip_markup(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("gtk_status_icon_get_tooltip_markup exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_has_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_has_tooltip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gboolean has_tooltip = ((gboolean)asCLogical(s_has_tooltip)); gtk_status_icon_set_has_tooltip(object, has_tooltip); #else error("gtk_status_icon_set_has_tooltip exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gtk_status_icon_set_tooltip_text(object, text); #else error("gtk_status_icon_set_tooltip_text exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* markup = GET_LENGTH(s_markup) == 0 ? NULL : ((const gchar*)asCString(s_markup)); gtk_status_icon_set_tooltip_markup(object, markup); #else error("gtk_status_icon_set_tooltip_markup exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_style_get_style_property(USER_OBJECT_ s_object, USER_OBJECT_ s_widget_type, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GType widget_type = ((GType)asCGType(s_widget_type)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); GValue* value = ((GValue *)g_new0(GValue, 1)); gtk_style_get_style_property(object, widget_type, property_name, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; #else error("gtk_style_get_style_property exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_default_icon_name(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) const gchar* ans; ans = gtk_window_get_default_icon_name(); _result = asRString(ans); #else error("gtk_window_get_default_icon_name exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gfloat xalign = ((gfloat)asCNumeric(s_xalign)); gfloat yalign = ((gfloat)asCNumeric(s_yalign)); gtk_cell_renderer_set_alignment(object, xalign, yalign); #else error("gtk_cell_renderer_set_alignment exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gfloat* xalign = ((gfloat*)asCArray(s_xalign, gfloat, asCNumeric)); gfloat* yalign = ((gfloat*)asCArray(s_yalign, gfloat, asCNumeric)); gtk_cell_renderer_get_alignment(object, xalign, yalign); #else error("gtk_cell_renderer_get_alignment exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gint xpad = ((gint)asCInteger(s_xpad)); gint ypad = ((gint)asCInteger(s_ypad)); gtk_cell_renderer_set_padding(object, xpad, ypad); #else error("gtk_cell_renderer_set_padding exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gint* xpad = ((gint*)asCArray(s_xpad, gint, asCInteger)); gint* ypad = ((gint*)asCArray(s_ypad, gint, asCInteger)); gtk_cell_renderer_get_padding(object, xpad, ypad); #else error("gtk_cell_renderer_get_padding exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_cell_renderer_set_visible(object, visible); #else error("gtk_cell_renderer_set_visible exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gboolean ans; ans = gtk_cell_renderer_get_visible(object); _result = asRLogical(ans); #else error("gtk_cell_renderer_get_visible exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gboolean sensitive = ((gboolean)asCLogical(s_sensitive)); gtk_cell_renderer_set_sensitive(object, sensitive); #else error("gtk_cell_renderer_set_sensitive exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_get_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); gboolean ans; ans = gtk_cell_renderer_get_sensitive(object); _result = asRLogical(ans); #else error("gtk_cell_renderer_get_sensitive exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_get_activatable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean ans; ans = gtk_cell_renderer_toggle_get_activatable(object); _result = asRLogical(ans); #else error("gtk_cell_renderer_toggle_get_activatable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_toggle_set_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_cell_renderer_toggle_set_activatable(object, setting); #else error("gtk_cell_renderer_toggle_set_activatable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_new_with_buffer(USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* buffer = GTK_ENTRY_BUFFER(getPtrValue(s_buffer)); GtkWidget* ans; ans = gtk_entry_new_with_buffer(buffer); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_entry_new_with_buffer exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_buffer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryBuffer* ans; ans = gtk_entry_get_buffer(object); _result = toRPointerWithRef(ans, "GtkEntryBuffer"); #else error("gtk_entry_get_buffer exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_set_buffer(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryBuffer* buffer = GTK_ENTRY_BUFFER(getPtrValue(s_buffer)); gtk_entry_set_buffer(object, buffer); #else error("gtk_entry_set_buffer exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GType ans; ans = gtk_entry_buffer_get_type(); _result = asRGType(ans); #else error("gtk_entry_buffer_get_type exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_new(USER_OBJECT_ s_initial_chars, USER_OBJECT_ s_n_initial_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) const gchar* initial_chars = GET_LENGTH(s_initial_chars) == 0 ? NULL : ((const gchar*)asCString(s_initial_chars)); gint n_initial_chars = ((gint)asCInteger(s_n_initial_chars)); GtkEntryBuffer* ans; ans = gtk_entry_buffer_new(initial_chars, n_initial_chars); _result = toRPointerWithFinalizer(ans, "GtkEntryBuffer", (RPointerFinalizer) g_object_unref); #else error("gtk_entry_buffer_new exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_get_bytes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); gsize ans; ans = gtk_entry_buffer_get_bytes(object); _result = asRNumeric(ans); #else error("gtk_entry_buffer_get_bytes exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_get_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); guint ans; ans = gtk_entry_buffer_get_length(object); _result = asRNumeric(ans); #else error("gtk_entry_buffer_get_length exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); const gchar* ans; ans = gtk_entry_buffer_get_text(object); _result = asRString(ans); #else error("gtk_entry_buffer_get_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); const gchar* chars = ((const gchar*)asCString(s_chars)); gint n_chars = ((gint)asCInteger(s_n_chars)); gtk_entry_buffer_set_text(object, chars, n_chars); #else error("gtk_entry_buffer_set_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_set_max_length(USER_OBJECT_ s_object, USER_OBJECT_ s_max_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); gint max_length = ((gint)asCInteger(s_max_length)); gtk_entry_buffer_set_max_length(object, max_length); #else error("gtk_entry_buffer_set_max_length exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_get_max_length(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); gint ans; ans = gtk_entry_buffer_get_max_length(object); _result = asRInteger(ans); #else error("gtk_entry_buffer_get_max_length exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); guint position = ((guint)asCNumeric(s_position)); const gchar* chars = ((const gchar*)asCString(s_chars)); gint n_chars = ((gint)asCInteger(s_n_chars)); guint ans; ans = gtk_entry_buffer_insert_text(object, position, chars, n_chars); _result = asRNumeric(ans); #else error("gtk_entry_buffer_insert_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); guint position = ((guint)asCNumeric(s_position)); gint n_chars = ((gint)asCInteger(s_n_chars)); guint ans; ans = gtk_entry_buffer_delete_text(object, position, n_chars); _result = asRNumeric(ans); #else error("gtk_entry_buffer_delete_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_emit_inserted_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); guint position = ((guint)asCNumeric(s_position)); const gchar* chars = ((const gchar*)asCString(s_chars)); guint n_chars = ((guint)asCNumeric(s_n_chars)); gtk_entry_buffer_emit_inserted_text(object, position, chars, n_chars); #else error("gtk_entry_buffer_emit_inserted_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_buffer_emit_deleted_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkEntryBuffer* object = GTK_ENTRY_BUFFER(getPtrValue(s_object)); guint position = ((guint)asCNumeric(s_position)); guint n_chars = ((guint)asCNumeric(s_n_chars)); gtk_entry_buffer_emit_deleted_text(object, position, n_chars); #else error("gtk_entry_buffer_emit_deleted_text exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_set_create_folders(USER_OBJECT_ s_object, USER_OBJECT_ s_create_folders) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean create_folders = ((gboolean)asCLogical(s_create_folders)); gtk_file_chooser_set_create_folders(object, create_folders); #else error("gtk_file_chooser_set_create_folders exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_file_chooser_get_create_folders(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkFileChooser* object = GTK_FILE_CHOOSER(getPtrValue(s_object)); gboolean ans; ans = gtk_file_chooser_get_create_folders(object); _result = asRLogical(ans); #else error("gtk_file_chooser_get_create_folders exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_set_item_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_item_padding) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint item_padding = ((gint)asCInteger(s_item_padding)); gtk_icon_view_set_item_padding(object, item_padding); #else error("gtk_icon_view_set_item_padding exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_get_item_padding(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint ans; ans = gtk_icon_view_get_item_padding(object); _result = asRInteger(ans); #else error("gtk_icon_view_get_item_padding exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GType ans; ans = gtk_info_bar_get_type(); _result = asRGType(ans); #else error("gtk_info_bar_get_type exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* ans; ans = gtk_info_bar_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_info_bar_new exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_get_action_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_info_bar_get_action_area(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_info_bar_get_action_area exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_get_content_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_info_bar_get_content_area(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_info_bar_get_content_area exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_info_bar_add_action_widget(object, child, response_id); #else error("gtk_info_bar_add_action_widget exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_add_button(USER_OBJECT_ s_object, USER_OBJECT_ s_button_text, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); const gchar* button_text = ((const gchar*)asCString(s_button_text)); gint response_id = ((gint)asCInteger(s_response_id)); GtkWidget* ans; ans = gtk_info_bar_add_button(object, button_text, response_id); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_info_bar_add_button exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_set_response_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_info_bar_set_response_sensitive(object, response_id, setting); #else error("gtk_info_bar_set_response_sensitive exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_set_default_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_info_bar_set_default_response(object, response_id); #else error("gtk_info_bar_set_default_response exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); gtk_info_bar_response(object, response_id); #else error("gtk_info_bar_response exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_set_message_type(USER_OBJECT_ s_object, USER_OBJECT_ s_message_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); GtkMessageType message_type = ((GtkMessageType)asCEnum(s_message_type, GTK_TYPE_MESSAGE_TYPE)); gtk_info_bar_set_message_type(object, message_type); #else error("gtk_info_bar_set_message_type exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_info_bar_get_message_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkInfoBar* object = GTK_INFO_BAR(getPtrValue(s_object)); GtkMessageType ans; ans = gtk_info_bar_get_message_type(object); _result = asREnum(ans, GTK_TYPE_MESSAGE_TYPE); #else error("gtk_info_bar_get_message_type exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_label_get_current_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); const gchar* ans; ans = gtk_label_get_current_uri(object); _result = asRString(ans); #else error("gtk_label_get_current_uri exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_label_set_track_visited_links(USER_OBJECT_ s_object, USER_OBJECT_ s_track_links) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean track_links = ((gboolean)asCLogical(s_track_links)); gtk_label_set_track_visited_links(object, track_links); #else error("gtk_label_set_track_visited_links exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_label_get_track_visited_links(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); gboolean ans; ans = gtk_label_get_track_visited_links(object); _result = asRLogical(ans); #else error("gtk_label_get_track_visited_links exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_set_reserve_toggle_size(USER_OBJECT_ s_object, USER_OBJECT_ s_reserve_toggle_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gboolean reserve_toggle_size = ((gboolean)asCLogical(s_reserve_toggle_size)); gtk_menu_set_reserve_toggle_size(object, reserve_toggle_size); #else error("gtk_menu_set_reserve_toggle_size exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_menu_get_reserve_toggle_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkMenu* object = GTK_MENU(getPtrValue(s_object)); gboolean ans; ans = gtk_menu_get_reserve_toggle_size(object); _result = asRLogical(ans); #else error("gtk_menu_get_reserve_toggle_size exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_support_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_support_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean support_selection = ((gboolean)asCLogical(s_support_selection)); gtk_print_operation_set_support_selection(object, support_selection); #else error("gtk_print_operation_set_support_selection exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_support_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = gtk_print_operation_get_support_selection(object); _result = asRLogical(ans); #else error("gtk_print_operation_get_support_selection exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_has_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_has_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean has_selection = ((gboolean)asCLogical(s_has_selection)); gtk_print_operation_set_has_selection(object, has_selection); #else error("gtk_print_operation_set_has_selection exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_has_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = gtk_print_operation_get_has_selection(object); _result = asRLogical(ans); #else error("gtk_print_operation_get_has_selection exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_set_embed_page_setup(USER_OBJECT_ s_object, USER_OBJECT_ s_embed) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean embed = ((gboolean)asCLogical(s_embed)); gtk_print_operation_set_embed_page_setup(object, embed); #else error("gtk_print_operation_set_embed_page_setup exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_embed_page_setup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = gtk_print_operation_get_embed_page_setup(object); _result = asRLogical(ans); #else error("gtk_print_operation_get_embed_page_setup exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_get_n_pages_to_print(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); gint ans; ans = gtk_print_operation_get_n_pages_to_print(object); _result = asRInteger(ans); #else error("gtk_print_operation_get_n_pages_to_print exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_flippable(USER_OBJECT_ s_object, USER_OBJECT_ s_flippable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean flippable = ((gboolean)asCLogical(s_flippable)); gtk_range_set_flippable(object, flippable); #else error("gtk_range_set_flippable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_flippable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean ans; ans = gtk_range_get_flippable(object); _result = asRLogical(ans); #else error("gtk_range_get_flippable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* title = ((const gchar*)asCString(s_title)); gtk_status_icon_set_title(object, title); #else error("gtk_status_icon_set_title exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_get_title(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* ans; ans = gtk_status_icon_get_title(object); _result = asRString(ans); #else error("gtk_status_icon_get_title exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_allocation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAllocation* allocation = ((GtkAllocation *)g_new0(GtkAllocation, 1)); gtk_widget_get_allocation(object, allocation); _result = retByVal(_result, "allocation", asRGtkAllocation(allocation), NULL); CLEANUP(g_free, allocation);; #else error("gtk_widget_get_allocation exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_allocation(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); const GtkAllocation* allocation = asCGtkAllocation(s_allocation); gtk_widget_set_allocation(object, allocation); #else error("gtk_widget_set_allocation exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_app_paintable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_app_paintable(object); _result = asRLogical(ans); #else error("gtk_widget_get_app_paintable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_can_default(USER_OBJECT_ s_object, USER_OBJECT_ s_can_default) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean can_default = ((gboolean)asCLogical(s_can_default)); gtk_widget_set_can_default(object, can_default); #else error("gtk_widget_set_can_default exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_can_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_can_default(object); _result = asRLogical(ans); #else error("gtk_widget_get_can_default exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_can_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_can_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean can_focus = ((gboolean)asCLogical(s_can_focus)); gtk_widget_set_can_focus(object, can_focus); #else error("gtk_widget_set_can_focus exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_can_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_can_focus(object); _result = asRLogical(ans); #else error("gtk_widget_get_can_focus exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_double_buffered(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_double_buffered(object); _result = asRLogical(ans); #else error("gtk_widget_get_double_buffered exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_has_window(USER_OBJECT_ s_object, USER_OBJECT_ s_has_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean has_window = ((gboolean)asCLogical(s_has_window)); gtk_widget_set_has_window(object, has_window); #else error("gtk_widget_set_has_window exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_has_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_has_window(object); _result = asRLogical(ans); #else error("gtk_widget_get_has_window exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_receives_default(USER_OBJECT_ s_object, USER_OBJECT_ s_receives_default) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean receives_default = ((gboolean)asCLogical(s_receives_default)); gtk_widget_set_receives_default(object, receives_default); #else error("gtk_widget_set_receives_default exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_receives_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_receives_default(object); _result = asRLogical(ans); #else error("gtk_widget_get_receives_default exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_sensitive(object); _result = asRLogical(ans); #else error("gtk_widget_get_sensitive exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_state(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType ans; ans = gtk_widget_get_state(object); _result = asREnum(ans, GTK_TYPE_STATE_TYPE); #else error("gtk_widget_get_state exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean visible = ((gboolean)asCLogical(s_visible)); gtk_widget_set_visible(object, visible); #else error("gtk_widget_set_visible exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_visible(object); _result = asRLogical(ans); #else error("gtk_widget_get_visible exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); gtk_widget_set_window(object, window); #else error("gtk_widget_set_window exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_has_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_has_default(object); _result = asRLogical(ans); #else error("gtk_widget_has_default exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_has_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_has_focus(object); _result = asRLogical(ans); #else error("gtk_widget_has_focus exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_has_grab(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_has_grab(object); _result = asRLogical(ans); #else error("gtk_widget_has_grab exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_is_sensitive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_is_sensitive(object); _result = asRLogical(ans); #else error("gtk_widget_is_sensitive exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_is_toplevel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_is_toplevel(object); _result = asRLogical(ans); #else error("gtk_widget_is_toplevel exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_is_drawable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_is_drawable(object); _result = asRLogical(ans); #else error("gtk_widget_is_drawable exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GType ans; ans = gtk_hsv_get_type(); _result = asRGType(ans); #else error("gtk_hsv_get_type exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkWidget* ans; ans = gtk_hsv_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_hsv_new exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkHSV* object = GTK_HSV(getPtrValue(s_object)); double h = ((double)asCNumeric(s_h)); double s = ((double)asCNumeric(s_s)); double v = ((double)asCNumeric(s_v)); gtk_hsv_set_color(object, h, s, v); #else error("gtk_hsv_set_color exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_get_color(USER_OBJECT_ s_object, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkHSV* object = GTK_HSV(getPtrValue(s_object)); gdouble* h = ((gdouble*)asCArray(s_h, gdouble, asCNumeric)); gdouble* s = ((gdouble*)asCArray(s_s, gdouble, asCNumeric)); gdouble* v = ((gdouble*)asCArray(s_v, gdouble, asCNumeric)); gtk_hsv_get_color(object, h, s, v); #else error("gtk_hsv_get_color exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_set_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_ring_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkHSV* object = GTK_HSV(getPtrValue(s_object)); gint size = ((gint)asCInteger(s_size)); gint ring_width = ((gint)asCInteger(s_ring_width)); gtk_hsv_set_metrics(object, size, ring_width); #else error("gtk_hsv_set_metrics exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_ring_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkHSV* object = GTK_HSV(getPtrValue(s_object)); gint* size = ((gint*)asCArray(s_size, gint, asCInteger)); gint* ring_width = ((gint*)asCArray(s_ring_width, gint, asCInteger)); gtk_hsv_get_metrics(object, size, ring_width); #else error("gtk_hsv_get_metrics exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_is_adjusting(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) GtkHSV* object = GTK_HSV(getPtrValue(s_object)); gboolean ans; ans = gtk_hsv_is_adjusting(object); _result = asRLogical(ans); #else error("gtk_hsv_is_adjusting exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_hsv_to_rgb(USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) gdouble h = ((gdouble)asCNumeric(s_h)); gdouble s = ((gdouble)asCNumeric(s_s)); gdouble v = ((gdouble)GET_LENGTH(s_r)); gdouble* r = ((gdouble*)asCArray(s_r, gdouble, asCNumeric)); gdouble* g = ((gdouble*)asCArray(s_g, gdouble, asCNumeric)); gdouble* b = ((gdouble*)asCArray(s_b, gdouble, asCNumeric)); gtk_hsv_to_rgb(h, s, v, r, g, b); #else error("gtk_hsv_to_rgb exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_rgb_to_hsv(USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 18, 0) gdouble r = ((gdouble)asCNumeric(s_r)); gdouble g = ((gdouble)asCNumeric(s_g)); gdouble b = ((gdouble)GET_LENGTH(s_h)); gdouble* h = ((gdouble*)asCArray(s_h, gdouble, asCNumeric)); gdouble* s = ((gdouble*)asCArray(s_s, gdouble, asCNumeric)); gdouble* v = ((gdouble*)asCArray(s_v, gdouble, asCNumeric)); gtk_rgb_to_hsv(r, g, b, h, s, v); #else error("gtk_rgb_to_hsv exists only in Gtk >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GType ans; ans = gtk_tool_palette_get_type(); _result = asRGType(ans); #else error("gtk_tool_palette_get_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* ans; ans = gtk_tool_palette_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_tool_palette_new exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_group_position(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gint position = ((gint)asCInteger(s_position)); gtk_tool_palette_set_group_position(object, group, position); #else error("gtk_tool_palette_set_group_position exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_exclusive(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_exclusive) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gboolean exclusive = ((gboolean)asCLogical(s_exclusive)); gtk_tool_palette_set_exclusive(object, group, exclusive); #else error("gtk_tool_palette_set_exclusive exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gboolean expand = ((gboolean)asCLogical(s_expand)); gtk_tool_palette_set_expand(object, group, expand); #else error("gtk_tool_palette_set_expand exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_group_position(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gint ans; ans = gtk_tool_palette_get_group_position(object, group); _result = asRInteger(ans); #else error("gtk_tool_palette_get_group_position exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_exclusive(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gboolean ans; ans = gtk_tool_palette_get_exclusive(object, group); _result = asRLogical(ans); #else error("gtk_tool_palette_get_exclusive exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolItemGroup* group = GTK_TOOL_ITEM_GROUP(getPtrValue(s_group)); gboolean ans; ans = gtk_tool_palette_get_expand(object, group); _result = asRLogical(ans); #else error("gtk_tool_palette_get_expand exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_icon_size(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkIconSize icon_size = ((GtkIconSize)asCEnum(s_icon_size, GTK_TYPE_ICON_SIZE)); gtk_tool_palette_set_icon_size(object, icon_size); #else error("gtk_tool_palette_set_icon_size exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_unset_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); gtk_tool_palette_unset_icon_size(object); #else error("gtk_tool_palette_unset_icon_size exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolbarStyle style = ((GtkToolbarStyle)asCEnum(s_style, GTK_TYPE_TOOLBAR_STYLE)); gtk_tool_palette_set_style(object, style); #else error("gtk_tool_palette_set_style exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_unset_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); gtk_tool_palette_unset_style(object); #else error("gtk_tool_palette_unset_style exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_icon_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkIconSize ans; ans = gtk_tool_palette_get_icon_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); #else error("gtk_tool_palette_get_icon_size exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolbarStyle ans; ans = gtk_tool_palette_get_style(object); _result = asREnum(ans, GTK_TYPE_TOOLBAR_STYLE); #else error("gtk_tool_palette_get_style exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_drop_item(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkToolItem* ans; ans = gtk_tool_palette_get_drop_item(object, x, y); _result = toRPointerWithSink(ans, "GtkToolItem"); #else error("gtk_tool_palette_get_drop_item exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_drop_group(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkToolItemGroup* ans; ans = gtk_tool_palette_get_drop_group(object, x, y); _result = toRPointerWithSink(ans, "GtkToolItemGroup"); #else error("gtk_tool_palette_get_drop_group exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_drag_item(USER_OBJECT_ s_object, USER_OBJECT_ s_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); const GtkSelectionData* selection = ((const GtkSelectionData*)getPtrValue(s_selection)); GtkWidget* ans; ans = gtk_tool_palette_get_drag_item(object, selection); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_tool_palette_get_drag_item exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_set_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkToolPaletteDragTargets targets = ((GtkToolPaletteDragTargets)asCFlag(s_targets, GTK_TYPE_TOOL_PALETTE_DRAG_TARGETS)); gtk_tool_palette_set_drag_source(object, targets); #else error("gtk_tool_palette_set_drag_source exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_add_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_flags, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GtkDestDefaults flags = ((GtkDestDefaults)asCFlag(s_flags, GTK_TYPE_DEST_DEFAULTS)); GtkToolPaletteDragTargets targets = ((GtkToolPaletteDragTargets)asCFlag(s_targets, GTK_TYPE_TOOL_PALETTE_DRAG_TARGETS)); GdkDragAction actions = ((GdkDragAction)asCFlag(s_actions, GDK_TYPE_DRAG_ACTION)); gtk_tool_palette_add_drag_dest(object, widget, flags, targets, actions); #else error("gtk_tool_palette_add_drag_dest exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_hadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_tool_palette_get_hadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); #else error("gtk_tool_palette_get_hadjustment exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_vadjustment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolPalette* object = GTK_TOOL_PALETTE(getPtrValue(s_object)); GtkAdjustment* ans; ans = gtk_tool_palette_get_vadjustment(object); _result = toRPointerWithSink(ans, "GtkAdjustment"); #else error("gtk_tool_palette_get_vadjustment exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_drag_target_item(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) const GtkTargetEntry* ans; ans = gtk_tool_palette_get_drag_target_item(); _result = asRGtkTargetEntry(ans); #else error("gtk_tool_palette_get_drag_target_item exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_palette_get_drag_target_group(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) const GtkTargetEntry* ans; ans = gtk_tool_palette_get_drag_target_group(); _result = asRGtkTargetEntry(ans); #else error("gtk_tool_palette_get_drag_target_group exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_get_ellipsize_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = gtk_tool_item_get_ellipsize_mode(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); #else error("gtk_tool_item_get_ellipsize_mode exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_get_text_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gfloat ans; ans = gtk_tool_item_get_text_alignment(object); _result = asRNumeric(ans); #else error("gtk_tool_item_get_text_alignment exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_get_text_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_tool_item_get_text_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_tool_item_get_text_orientation exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_get_text_size_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkSizeGroup* ans; ans = gtk_tool_item_get_text_size_group(object); _result = toRPointerWithRef(ans, "GtkSizeGroup"); #else error("gtk_tool_item_get_text_size_group exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GType ans; ans = gtk_tool_item_group_get_type(); _result = asRGType(ans); #else error("gtk_tool_item_group_get_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_new(USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) const gchar* label = ((const gchar*)asCString(s_label)); GtkWidget* ans; ans = gtk_tool_item_group_new(label); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_tool_item_group_new exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); const gchar* label = ((const gchar*)asCString(s_label)); gtk_tool_item_group_set_label(object, label); #else error("gtk_tool_item_group_set_label exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkWidget* label_widget = GTK_WIDGET(getPtrValue(s_label_widget)); gtk_tool_item_group_set_label_widget(object, label_widget); #else error("gtk_tool_item_group_set_label_widget exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_collapsed(USER_OBJECT_ s_object, USER_OBJECT_ s_collapsed) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); gboolean collapsed = ((gboolean)asCLogical(s_collapsed)); gtk_tool_item_group_set_collapsed(object, collapsed); #else error("gtk_tool_item_group_set_collapsed exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_ellipsize) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); PangoEllipsizeMode ellipsize = ((PangoEllipsizeMode)asCEnum(s_ellipsize, PANGO_TYPE_ELLIPSIZE_MODE)); gtk_tool_item_group_set_ellipsize(object, ellipsize); #else error("gtk_tool_item_group_set_ellipsize exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_header_relief(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkReliefStyle style = ((GtkReliefStyle)asCEnum(s_style, GTK_TYPE_RELIEF_STYLE)); gtk_tool_item_group_set_header_relief(object, style); #else error("gtk_tool_item_group_set_header_relief exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_label(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); const gchar* ans; ans = gtk_tool_item_group_get_label(object); _result = asRString(ans); #else error("gtk_tool_item_group_get_label exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_label_widget(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_tool_item_group_get_label_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_tool_item_group_get_label_widget exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_collapsed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); gboolean ans; ans = gtk_tool_item_group_get_collapsed(object); _result = asRLogical(ans); #else error("gtk_tool_item_group_get_collapsed exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_ellipsize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = gtk_tool_item_group_get_ellipsize(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); #else error("gtk_tool_item_group_get_ellipsize exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_header_relief(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkReliefStyle ans; ans = gtk_tool_item_group_get_header_relief(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); #else error("gtk_tool_item_group_get_header_relief exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkToolItem* item = GTK_TOOL_ITEM(getPtrValue(s_item)); gint position = ((gint)asCInteger(s_position)); gtk_tool_item_group_insert(object, item, position); #else error("gtk_tool_item_group_insert exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_set_item_position(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkToolItem* item = GTK_TOOL_ITEM(getPtrValue(s_item)); gint position = ((gint)asCInteger(s_position)); gtk_tool_item_group_set_item_position(object, item, position); #else error("gtk_tool_item_group_set_item_position exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_item_position(USER_OBJECT_ s_object, USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); GtkToolItem* item = GTK_TOOL_ITEM(getPtrValue(s_item)); gint ans; ans = gtk_tool_item_group_get_item_position(object, item); _result = asRInteger(ans); #else error("gtk_tool_item_group_get_item_position exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_n_items(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); guint ans; ans = gtk_tool_item_group_get_n_items(object); _result = asRNumeric(ans); #else error("gtk_tool_item_group_get_n_items exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_nth_item(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); guint index = ((guint)asCNumeric(s_index)); GtkToolItem* ans; ans = gtk_tool_item_group_get_nth_item(object, index); _result = toRPointerWithSink(ans, "GtkToolItem"); #else error("gtk_tool_item_group_get_nth_item exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_item_group_get_drop_item(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolItemGroup* object = GTK_TOOL_ITEM_GROUP(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkToolItem* ans; ans = gtk_tool_item_group_get_drop_item(object, x, y); _result = toRPointerWithSink(ans, "GtkToolItem"); #else error("gtk_tool_item_group_get_drop_item exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_spinner_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GType ans; ans = gtk_spinner_get_type(); _result = asRGType(ans); #else error("gtk_spinner_get_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_spinner_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* ans; ans = gtk_spinner_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_spinner_new exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_spinner_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkSpinner* object = GTK_SPINNER(getPtrValue(s_object)); gtk_spinner_start(object); #else error("gtk_spinner_start exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_spinner_stop(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkSpinner* object = GTK_SPINNER(getPtrValue(s_object)); gtk_spinner_stop(object); #else error("gtk_spinner_stop exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_spinner_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GType ans; ans = gtk_cell_renderer_spinner_get_type(); _result = asRGType(ans); #else error("gtk_cell_renderer_spinner_get_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_spinner_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkCellRenderer* ans; ans = gtk_cell_renderer_spinner_new(); _result = toRPointerWithSink(ans, "GtkCellRenderer"); #else error("gtk_cell_renderer_spinner_new exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_get_always_show_image(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean ans; ans = gtk_action_get_always_show_image(object); _result = asRLogical(ans); #else error("gtk_action_get_always_show_image exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_action_set_always_show_image(USER_OBJECT_ s_object, USER_OBJECT_ s_always_show) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkAction* object = GTK_ACTION(getPtrValue(s_object)); gboolean always_show = ((gboolean)asCLogical(s_always_show)); gtk_action_set_always_show_image(object, always_show); #else error("gtk_action_set_always_show_image exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_dialog_get_widget_for_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); GtkWidget* ans; ans = gtk_dialog_get_widget_for_response(object, response_id); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_dialog_get_widget_for_response exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_offscreen_window_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GType ans; ans = gtk_offscreen_window_get_type(); _result = asRGType(ans); #else error("gtk_offscreen_window_get_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_offscreen_window_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* ans; ans = gtk_offscreen_window_new(); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_offscreen_window_new exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_offscreen_window_get_pixmap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkOffscreenWindow* object = GTK_OFFSCREEN_WINDOW(getPtrValue(s_object)); GdkPixmap* ans; ans = gtk_offscreen_window_get_pixmap(object); _result = toRPointerWithRef(ans, "GdkPixmap"); #else error("gtk_offscreen_window_get_pixmap exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_offscreen_window_get_pixbuf(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkOffscreenWindow* object = GTK_OFFSCREEN_WINDOW(getPtrValue(s_object)); GdkPixbuf* ans; ans = gtk_offscreen_window_get_pixbuf(object); _result = toRPointerWithRef(ans, "GdkPixbuf"); #else error("gtk_offscreen_window_get_pixbuf exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_icon_window(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkEntryIconPosition icon_pos = ((GtkEntryIconPosition)asCEnum(s_icon_pos, GTK_TYPE_ENTRY_ICON_POSITION)); GdkWindow* ans; ans = gtk_entry_get_icon_window(object, icon_pos); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_entry_get_icon_window exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_entry_get_text_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_entry_get_text_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_entry_get_text_window exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_get_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_pack_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkPackType pack_type = ((GtkPackType)asCEnum(s_pack_type, GTK_TYPE_PACK_TYPE)); GtkWidget* ans; ans = gtk_notebook_get_action_widget(object, pack_type); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_notebook_get_action_widget exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_set_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_pack_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GtkPackType pack_type = ((GtkPackType)asCEnum(s_pack_type, GTK_TYPE_PACK_TYPE)); gtk_notebook_set_action_widget(object, widget, pack_type); #else error("gtk_notebook_set_action_widget exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paint_spinner(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_step, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); const GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); guint step = ((guint)asCNumeric(s_step)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gtk_paint_spinner(object, window, state_type, area, widget, detail, step, x, y, width, height); #else error("gtk_paint_spinner exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_paned_get_handle_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_paned_get_handle_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_paned_get_handle_window exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_min_slider_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gint ans; ans = gtk_range_get_min_slider_size(object); _result = asRInteger(ans); #else error("gtk_range_get_min_slider_size exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_range_rect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GdkRectangle* range_rect = ((GdkRectangle *)g_new0(GdkRectangle, 1)); gtk_range_get_range_rect(object, range_rect); _result = retByVal(_result, "range.rect", asRGdkRectangle(range_rect), NULL); CLEANUP(g_free, range_rect);; #else error("gtk_range_get_range_rect exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_slider_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gint slider_start; gint slider_end; gtk_range_get_slider_range(object, &slider_start, &slider_end); _result = retByVal(_result, "slider.start", asRInteger(slider_start), "slider.end", asRInteger(slider_end), NULL); ; ; #else error("gtk_range_get_slider_range exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_get_slider_size_fixed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean ans; ans = gtk_range_get_slider_size_fixed(object); _result = asRLogical(ans); #else error("gtk_range_get_slider_size_fixed exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_min_slider_size(USER_OBJECT_ s_object, USER_OBJECT_ s_min_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean min_size = ((gboolean)asCLogical(s_min_size)); gtk_range_set_min_slider_size(object, min_size); #else error("gtk_range_set_min_slider_size exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_range_set_slider_size_fixed(USER_OBJECT_ s_object, USER_OBJECT_ s_size_fixed) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gboolean size_fixed = ((gboolean)asCLogical(s_size_fixed)); gtk_range_set_slider_size_fixed(object, size_fixed); #else error("gtk_range_set_slider_size_fixed exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_statusbar_get_message_area(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); GtkWidget* ans; ans = gtk_statusbar_get_message_area(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_statusbar_get_message_area exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gtk_status_icon_set_name(object, name); #else error("gtk_status_icon_set_name exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_viewport_get_bin_window(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GdkWindow* ans; ans = gtk_viewport_get_bin_window(object); _result = toRPointerWithRef(ans, "GdkWindow"); #else error("gtk_viewport_get_bin_window exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_realized(USER_OBJECT_ s_object, USER_OBJECT_ s_realized) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean realized = ((gboolean)asCLogical(s_realized)); gtk_widget_set_realized(object, realized); #else error("gtk_widget_set_realized exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_realized(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_realized(object); _result = asRLogical(ans); #else error("gtk_widget_get_realized exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_set_mapped(USER_OBJECT_ s_object, USER_OBJECT_ s_mapped) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean mapped = ((gboolean)asCLogical(s_mapped)); gtk_widget_set_mapped(object, mapped); #else error("gtk_widget_set_mapped exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_mapped(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_get_mapped(object); _result = asRLogical(ans); #else error("gtk_widget_get_mapped exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_get_requisition(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRequisition requisition; gtk_widget_get_requisition(object, &requisition); _result = retByVal(_result, "requisition", toRPointerWithFinalizer(&requisition ? gtk_requisition_copy(&requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free), NULL); ; #else error("gtk_widget_get_requisition exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_style_attach(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gtk_widget_style_attach(object); #else error("gtk_widget_style_attach exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_widget_has_rc_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = gtk_widget_has_rc_style(object); _result = asRLogical(ans); #else error("gtk_widget_has_rc_style exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_set_mnemonics_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); gtk_window_set_mnemonics_visible(object, setting); #else error("gtk_window_set_mnemonics_visible exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_mnemonics_visible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); gboolean ans; ans = gtk_window_get_mnemonics_visible(object); _result = asRLogical(ans); #else error("gtk_window_get_mnemonics_visible exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_window_get_window_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWindowType ans; ans = gtk_window_get_window_type(object); _result = asREnum(ans, GTK_TYPE_WINDOW_TYPE); #else error("gtk_window_get_window_type exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tooltip_set_icon_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_gicon, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkTooltip* object = GTK_TOOLTIP(getPtrValue(s_object)); GIcon* gicon = G_ICON(getPtrValue(s_gicon)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); gtk_tooltip_set_icon_from_gicon(object, gicon, size); #else error("gtk_tooltip_set_icon_from_gicon exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_context_get_hard_margins(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkPrintContext* object = GTK_PRINT_CONTEXT(getPtrValue(s_object)); gboolean ans; gdouble top; gdouble bottom; gdouble left; gdouble right; ans = gtk_print_context_get_hard_margins(object, &top, &bottom, &left, &right); _result = asRLogical(ans); _result = retByVal(_result, "top", asRNumeric(top), "bottom", asRNumeric(bottom), "left", asRNumeric(left), "right", asRNumeric(right), NULL); ; ; ; ; #else error("gtk_print_context_get_hard_margins exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_text_orientation(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkOrientation ans; ans = gtk_tool_shell_get_text_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_tool_shell_get_text_orientation exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_text_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); gfloat ans; ans = gtk_tool_shell_get_text_alignment(object); _result = asRNumeric(ans); #else error("gtk_tool_shell_get_text_alignment exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_ellipsize_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = gtk_tool_shell_get_ellipsize_mode(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); #else error("gtk_tool_shell_get_ellipsize_mode exists only in Gtk >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_get_text_size_group(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 20, 0) GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkSizeGroup* ans; ans = gtk_tool_shell_get_text_size_group(object); _result = toRPointerWithRef(ans, "GtkSizeGroup"); #else error("gtk_tool_shell_get_text_size_group exists only in Gtk >= 2.20.0"); #endif return(_result); } RGtk2/src/gioConversion.c0000644000176000001440000000113412362467242015021 0ustar ripleyusers#include "RGtk2/gio.h" #if GIO_CHECK_VERSION(2, 16, 0) USER_OBJECT_ asRGFileAttributeInfo(const GFileAttributeInfo * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "name", "type", "flags", NULL }; PROTECT(s_obj = allocVector(VECSXP, 3)); SET_VECTOR_ELT(s_obj, 0, asRString(obj->name)); SET_VECTOR_ELT(s_obj, 1, asREnum(obj->type, G_TYPE_FILE_ATTRIBUTE_TYPE)); SET_VECTOR_ELT(s_obj, 2, asRFlag(obj->flags, G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GFileAttributeInfo")); UNPROTECT(1); return(s_obj); } #endif RGtk2/src/eventLoop.c0000644000176000001440000000370012362467242014151 0ustar ripleyusers#include "RGtk2/gtk.h" #include "Reventloop.h" SEXP R_gIOAddWatch(int fd, void (*handler)(void *, int, int), void *userData); SEXP R_gIdleAdd(R_IdleFunc f, void *userData); SEXP R_gTimeoutAdd(int interval, R_IdleFunc f, void *userData); int R_gSourceRemove(SEXP id); R_EventLoop R_Gtk2EventLoop = { "GTK", >k_init, NULL, >k_main, >k_main_iteration_do, >k_main_quit, &R_gIOAddWatch, &R_gIdleAdd, &R_gTimeoutAdd, &R_gSourceRemove, &R_gSourceRemove, &R_gSourceRemove }; SEXP R_gIdleAdd(R_IdleFunc f, void *userData) { SEXP ans; ans = allocVector(REALSXP, 1); REAL(ans)[0] = g_idle_add(f, userData); return(ans); } int R_gSourceRemove(SEXP id) { g_source_remove(REAL(id)[0]); return(TRUE); } SEXP R_gTimeoutAdd(int interval, R_IdleFunc f, void *userData) { SEXP ans; ans = allocVector(REALSXP, 1); REAL(ans)[0] = g_timeout_add(interval, f, userData); return(ans); } typedef struct { void (*fun)(void *, int, int); void *data; } R_GIOFunc_data; gboolean R_GIOFunc(GIOChannel *source, GIOCondition condition, gpointer data) { R_GIOFunc_data *fdata = (R_GIOFunc_data *)data; fdata->fun(fdata->data, g_io_channel_unix_get_fd(source), condition); return(TRUE); } SEXP R_gIOAddWatch(int fd, void (*handler)(void *, int, int), void *userData) { SEXP ans; GIOChannel *channel = g_io_channel_unix_new(fd); /* need to wrap the generic handler in the user data */ R_GIOFunc_data *data = (R_GIOFunc_data *)R_alloc(1, sizeof(R_GIOFunc_data)); data->fun = handler; data->data = userData; g_io_channel_set_encoding(channel, NULL, NULL); /* raw binary (not really needed) */ ans = allocVector(REALSXP, 1); REAL(ans)[0] = g_io_add_watch(channel, G_IO_IN, R_GIOFunc, data); g_io_channel_unref(channel); return(ans); } RGtk2/src/gdkManuals.c0000644000176000001440000004447612362467242014303 0ustar ripleyusers#include "RGtk2/gtk.h" gboolean S_GdkWindowInvalidateMaybeRecurseFunc(GdkWindow* s_window, gpointer s_data) { GValue params[1]; GValue ans; g_value_init(&ans, G_TYPE_BOOLEAN); g_value_init(¶ms[0], GDK_TYPE_WINDOW); g_value_set_object(¶ms[0], s_window); g_closure_invoke(s_data, &ans, 1, params, NULL); return(g_value_get_boolean(&ans)); } /* reason: the user-func is not typedef'd */ USER_OBJECT_ S_gdk_window_invalidate_maybe_recurse ( USER_OBJECT_ s_object, USER_OBJECT_ s_region, USER_OBJECT_ s_child_func, USER_OBJECT_ s_user_data ) { GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)) ; GdkRegion* region = (GdkRegion*)getPtrValue(s_region) ; gboolean (*child_func)(GdkWindow*, gpointer) = S_GdkWindowInvalidateMaybeRecurseFunc; GClosure* user_data = R_createGClosure(s_child_func, s_user_data) ; USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_window_invalidate_maybe_recurse ( object, region, child_func, user_data ); return(_result); } /* reason: need to hide the hints mask from the user */ USER_OBJECT_ S_gdk_window_set_geometry_hints ( USER_OBJECT_ s_object, USER_OBJECT_ s_geometry ) { GdkWindow* object = GDK_WINDOW(getPtrValue(s_object)) ; GdkGeometry* geometry; GdkWindowHints flags; USER_OBJECT_ _result = NULL_USER_OBJECT; geometry = asCGdkGeometry(s_geometry, &flags); gdk_window_set_geometry_hints ( object, geometry, flags ); return(_result); } USER_OBJECT_ S_gdk_window_constrain_size ( USER_OBJECT_ s_geometry, USER_OBJECT_ s_width, USER_OBJECT_ s_height ) { GdkGeometry* geometry; GdkWindowHints flags; gint width = INTEGER_DATA(s_width)[0] ; gint height = INTEGER_DATA(s_height)[0] ; USER_OBJECT_ _result = NULL_USER_OBJECT; gint new_width ; gint new_height ; geometry = asCGdkGeometry(s_geometry, &flags); gdk_window_constrain_size ( geometry, flags, width, height, &new_width, &new_height ); _result = retByVal(_result, "new.width", asRInteger ( new_width ), "new.height", asRInteger ( new_height ), NULL); return(_result); } /* reason: need to compute mask on the fly, like above. */ USER_OBJECT_ S_gdk_gc_new_with_values ( USER_OBJECT_ s_object, USER_OBJECT_ s_values ) { GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)) ; GdkGCValues* values; GdkGCValuesMask values_mask; GdkGC* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; values = asCGdkGCValuesWithMask(s_values, &values_mask); ans = gdk_gc_new_with_values ( object, values, values_mask ); _result = toRPointerWithRef ( ans, "GdkGC" ); return(_result); } USER_OBJECT_ S_gdk_gc_set_values ( USER_OBJECT_ s_object, USER_OBJECT_ s_values ) { GdkGC* object = GDK_GC(getPtrValue(s_object)) ; GdkGCValues* values; GdkGCValuesMask values_mask; USER_OBJECT_ _result = NULL_USER_OBJECT; values = asCGdkGCValuesWithMask(s_values, &values_mask) ; gdk_gc_set_values ( object, values, values_mask ); return(_result); } USER_OBJECT_ S_gdk_drawable_class_create_gc(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_values) { GdkDrawableClass* object_class = ((GdkDrawableClass*)getPtrValue(s_object_class)); GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGCValuesMask mask; GdkGCValues* values = asCGdkGCValuesWithMask(s_values, &mask); GdkGC* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = object_class->create_gc(object, values, mask); _result = toRPointerWithFinalizer(ans, "GdkGC", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gdk_gcclass_set_values(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_values) { GdkGCClass* object_class = ((GdkGCClass*)getPtrValue(s_object_class)); GdkGC* object = GDK_GC(getPtrValue(s_object)); GdkGCValuesMask mask; GdkGCValues* values = asCGdkGCValuesWithMask(s_values, &mask); USER_OBJECT_ _result = NULL_USER_OBJECT; object_class->set_values(object, values, mask); return(_result); } void S_GdkPixbufDestroyNotify(guchar *pixels, gpointer data) { R_ReleaseObject(data); } /* reason: need to preserve the pixbuf data */ USER_OBJECT_ S_gdk_pixbuf_new_from_data ( USER_OBJECT_ s_data, USER_OBJECT_ s_colorspace, USER_OBJECT_ s_has_alpha, USER_OBJECT_ s_bits_per_sample, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_rowstride ) { const guchar* data = RAW(s_data); GdkColorspace colorspace = (GdkColorspace)INTEGER_DATA(s_colorspace)[0] ; gboolean has_alpha = LOGICAL_DATA(s_has_alpha)[0] ; int bits_per_sample = INTEGER_DATA(s_bits_per_sample)[0] ; int width = INTEGER_DATA(s_width)[0] ; int height = INTEGER_DATA(s_height)[0] ; int rowstride = INTEGER_DATA(s_rowstride)[0] ; GdkPixbufDestroyNotify destroy_fn = S_GdkPixbufDestroyNotify; gpointer destroy_fn_data = asCGenericData(s_data) ; GdkPixbuf* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_pixbuf_new_from_data ( data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn, destroy_fn_data ); _result = toRPointer ( ans, "GdkPixbuf" ); return(_result); } /* reason: GdkTimeCoords needs special handling */ USER_OBJECT_ S_gdk_device_get_history ( USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_start, USER_OBJECT_ s_stop ) { int i; USER_OBJECT_ s_events; GdkDevice* object = GDK_DEVICE(getPtrValue(s_object)) ; GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)) ; guint32 start = (guint32)NUMERIC_DATA(s_start)[0] ; guint32 stop = (guint32)NUMERIC_DATA(s_stop)[0] ; gboolean ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; GdkTimeCoord** events = NULL ; gint n_events ; ans = gdk_device_get_history ( object, window, start, stop, &events, &n_events ); _result = asRLogical ( ans ); PROTECT(s_events = NEW_LIST(n_events)); for (i = 0 ; i < n_events; i++) { /* could this work with asRArray eventually? */ SET_VECTOR_ELT(s_events, i, asRGdkTimeCoord(events[i], object->num_axes)); } gdk_device_free_history(events, n_events); _result = retByVal(_result, "events", s_events, "n.events", asRInteger ( n_events ), NULL); UNPROTECT(1); return(_result); } /* reason: GdkEventClient contains a union */ USER_OBJECT_ S_GdkEventClientGetData(USER_OBJECT_ s_obj) { USER_OBJECT_ _result; GdkEventClient *obj; gushort data_format; int size = 0, *val = NULL; obj = getPtrValue(s_obj); data_format = obj->data_format; if (data_format == 8) { size = 20; val = (int *)obj->data.b; } else if (data_format == 16) { size = 10; val = (int *)obj->data.s; } else if (data_format == 32) { size = 5; val = (int *)obj->data.l; } else { PROBLEM "Unknown data_format %d in GdkEventClient", data_format ERROR; } _result = asRIntegerArrayWithSize(val, size); return(_result); } /* reason: we have to calculate the size of the pixel data (also don't free the array) */ USER_OBJECT_ S_gdk_pixbuf_get_pixels(USER_OBJECT_ s_object) { GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int size; guchar* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_pixbuf_get_pixels(object); size = gdk_pixbuf_get_rowstride(object)*gdk_pixbuf_get_height(object); _result = asRIntegerArrayWithSize(ans, size); return(_result); } /* reason: GdkBitmap is an arbitrary pointer as defined by the API, but in this case we know it is a GObject (and so this is its constructor) */ /*USER_OBJECT_ S_gdk_bitmap_create_from_data(USER_OBJECT_ s_drawable, USER_OBJECT_ s_data, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { GdkDrawable* drawable = GET_LENGTH(s_drawable) == 0 ? NULL : GDK_DRAWABLE(getPtrValue(s_drawable)); const guchar* data = (const guchar*)asCArray(s_data, guchar, asCInteger); gint width = (gint)asCInteger(s_width); gint height = (gint)asCInteger(s_height); GdkBitmap* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_bitmap_create_from_data(drawable, data, width, height); _result = toRPointerWithFinalizer(ans, "GdkBitmap", (RPointerFinalizer) g_object_unref); return(_result); }*/ /* reason: GdkWindowAttr needs mask handling */ USER_OBJECT_ S_gdk_window_new(USER_OBJECT_ s_parent, USER_OBJECT_ s_attributes) { GdkWindow* parent = GDK_WINDOW(getPtrValue(s_parent)); GdkWindowAttributesType attributes_mask; GdkWindowAttr* attributes = asCGdkWindowAttr(s_attributes, &attributes_mask); GdkWindow* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_window_new(parent, attributes, (gint)attributes_mask); /* note that finalization will not free the GdkWindow, since it must be explicitly freed independent of the reference count */ _result = toRPointerWithFinalizer(ans, "GdkWindow", (RPointerFinalizer) g_object_unref); return(_result); } /* reason: if dest is provided, we need to ref it on the way back, since we don't own it */ USER_OBJECT_ S_gdk_pixbuf_get_from_drawable(USER_OBJECT_ s_dest, USER_OBJECT_ s_src, USER_OBJECT_ s_cmap, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { GdkPixbuf* dest = s_dest == NULL_USER_OBJECT ? NULL : GDK_PIXBUF(getPtrValue(s_dest)); GdkDrawable* src = GDK_DRAWABLE(getPtrValue(s_src)); GdkColormap* cmap = s_cmap == NULL_USER_OBJECT ? NULL : GDK_COLORMAP(getPtrValue(s_cmap)); int src_x = (int)asCInteger(s_src_x); int src_y = (int)asCInteger(s_src_y); int dest_x = (int)asCInteger(s_dest_x); int dest_y = (int)asCInteger(s_dest_y); int width = (int)asCInteger(s_width); int height = (int)asCInteger(s_height); GdkPixbuf* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_pixbuf_get_from_drawable(dest, src, cmap, src_x, src_y, dest_x, dest_y, width, height); if (!dest) _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer)g_object_unref); else _result = toRPointerWithRef(ans, "GdkPixbuf"); return(_result); } USER_OBJECT_ S_gdk_pixbuf_get_from_image(USER_OBJECT_ s_src, USER_OBJECT_ s_cmap, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { GdkImage* src = GDK_IMAGE(getPtrValue(s_src)); GdkColormap* cmap = GDK_COLORMAP(getPtrValue(s_cmap)); int src_x = (int)asCInteger(s_src_x); int src_y = (int)asCInteger(s_src_y); int dest_x = (int)asCInteger(s_dest_x); int dest_y = (int)asCInteger(s_dest_y); int width = (int)asCInteger(s_width); int height = (int)asCInteger(s_height); GdkPixbuf* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixbuf* dest = NULL; ans = gdk_pixbuf_get_from_image(dest, src, cmap, src_x, src_y, dest_x, dest_y, width, height); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } /* THE FOLLOWING FUNCTIONS COULD BE AUTOGENERATED IF THERE WAS A WAY TO SPECIFY OWNERSHIP OF RETURN-BY-REF */ /* reason: don't free the depths array */ USER_OBJECT_ S_gdk_query_depths() { USER_OBJECT_ _result = NULL_USER_OBJECT; gint* depths = NULL; gint count; gdk_query_depths(&depths, &count); _result = retByVal(_result, "depths", asRIntegerArrayWithSize(depths, count), "count", asRInteger(count), NULL); return(_result); } /* reason: don't free the types array */ USER_OBJECT_ S_gdk_query_visual_types() { USER_OBJECT_ _result = NULL_USER_OBJECT; GdkVisualType* visual_types = NULL; gint count; gdk_query_visual_types(&visual_types, &count); _result = retByVal(_result, "visual.types", asREnumArrayWithSize(visual_types, GDK_TYPE_VISUAL_TYPE, count), "count", asRInteger(count), NULL); return(_result); } /* reason: don't ref the newly created GdkPixmap/GdkBitmap */ USER_OBJECT_ S_gdk_pixbuf_render_pixmap_and_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha_threshold) { GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); int alpha_threshold = (int)asCInteger(s_alpha_threshold); USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixmap* pixmap_return = NULL; GdkBitmap* mask_return = NULL; gdk_pixbuf_render_pixmap_and_mask(object, &pixmap_return, &mask_return, alpha_threshold); _result = retByVal(_result, "pixmap.return", toRPointerWithFinalizer(pixmap_return, "GdkPixmap", (RPointerFinalizer)g_object_unref), "mask.return", toRPointerWithFinalizer(mask_return, "GdkBitmap", (RPointerFinalizer) g_object_unref), NULL); return(_result); } USER_OBJECT_ S_gdk_pixbuf_render_pixmap_and_mask_for_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap, USER_OBJECT_ s_alpha_threshold) { GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); int alpha_threshold = (int)asCInteger(s_alpha_threshold); USER_OBJECT_ _result = NULL_USER_OBJECT; GdkPixmap* pixmap_return = NULL; GdkBitmap* mask_return = NULL; gdk_pixbuf_render_pixmap_and_mask_for_colormap(object, colormap, &pixmap_return, &mask_return, alpha_threshold); _result = retByVal(_result, "pixmap.return", toRPointerWithFinalizer(pixmap_return, "GdkPixmap", (RPointerFinalizer)g_object_unref), "mask.return", toRPointerWithFinalizer(mask_return, "GdkBitmap", (RPointerFinalizer)g_object_unref), NULL); return(_result); } /* reason: when a color is allocated, the pixel field is set, so we must return the color as part of a list */ USER_OBJECT_ S_gdk_colormap_alloc_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color, USER_OBJECT_ s_writeable, USER_OBJECT_ s_best_match) { GdkColormap* object = GDK_COLORMAP(getPtrValue(s_object)); GdkColor* color = asCGdkColor(s_color); gboolean writeable = (gboolean)asCLogical(s_writeable); gboolean best_match = (gboolean)asCLogical(s_best_match); gboolean ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_colormap_alloc_color(object, color, writeable, best_match); _result = retByVal(asRLogical(ans), "color", asRGdkColor(color)); return(_result); } /* reason: as above, the pixel field is set when found, must return it */ USER_OBJECT_ S_gdk_rgb_find_color(USER_OBJECT_ s_colormap, USER_OBJECT_ s_color) { GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)); GdkColor* color = asCGdkColor(s_color); USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_rgb_find_color(colormap, color); _result = asRGdkColor(color); return(_result); } /* reason: the rowstride is incorrectly identified as the buffer length */ USER_OBJECT_ S_gdk_draw_rgb_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_rgb_buf, USER_OBJECT_ s_rowstride) { GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkGC* gc = GDK_GC(getPtrValue(s_gc)); gint x = (gint)asCInteger(s_x); gint y = (gint)asCInteger(s_y); gint width = (gint)asCInteger(s_width); gint height = (gint)asCInteger(s_height); GdkRgbDither dith = (GdkRgbDither)asCEnum(s_dith, GDK_TYPE_RGB_DITHER); guchar* rgb_buf = (guchar*)asCArray(s_rgb_buf, guchar, asCInteger); gint rowstride = (gint)asCInteger(s_rowstride); USER_OBJECT_ _result = NULL_USER_OBJECT; gdk_draw_rgb_image(object, gc, x, y, width, height, dith, rgb_buf, rowstride); return(_result); } /* reason: if image is NULL, a new GdkImage is allocated, otherwise image is modified */ USER_OBJECT_ S_gdk_drawable_copy_to_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { GdkDrawable* object = GDK_DRAWABLE(getPtrValue(s_object)); GdkImage* image = GET_LENGTH(s_image) == 0 ? NULL : GDK_IMAGE(getPtrValue(s_image)); gint src_x = (gint)asCInteger(s_src_x); gint src_y = (gint)asCInteger(s_src_y); gint dest_x = (gint)asCInteger(s_dest_x); gint dest_y = (gint)asCInteger(s_dest_y); gint width = (gint)asCInteger(s_width); gint height = (gint)asCInteger(s_height); GdkImage* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_drawable_copy_to_image(object, image, src_x, src_y, dest_x, dest_y, width, height); if (image) _result = toRPointerWithRef(ans, "GdkImage"); else _result = toRPointerWithFinalizer(ans, "GdkImage", (RPointerFinalizer)g_object_unref); return(_result); } /* reason: need to treat data as raw */ USER_OBJECT_ S_gdk_pixbuf_save_to_bufferv(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_option_keys, USER_OBJECT_ s_option_values) { GdkPixbuf* object = GDK_PIXBUF(getPtrValue(s_object)); const char* type = (const char*)asCString(s_type); char** option_keys = (char**)asCStringArray(s_option_keys); char** option_values = (char**)asCStringArray(s_option_values); gint i; USER_OBJECT_ _result = NULL_USER_OBJECT; gchar* buffer = NULL; gsize buffer_size; GError* error = NULL; gdk_pixbuf_save_to_bufferv(object, &buffer, &buffer_size, type, option_keys, option_values, &error); PROTECT(_result = allocVector(RAWSXP, buffer_size)); for (i = 0; i < buffer_size; i++) RAW(_result)[i] = (Rbyte)buffer[i]; _result = retByVal(NULL_USER_OBJECT, "buffer", _result, "buffer.size", asRNumeric(buffer_size), "error", asRGError(error), NULL); CLEANUP(g_error_free, error); CLEANUP(g_free, buffer); UNPROTECT(1); return(_result); } /* reason: needed to get the GdkPixbuf error quark */ USER_OBJECT_ S_gdk_pixbuf_error_quark() { GQuark ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gdk_pixbuf_error_quark(); _result = asRGQuark(ans); return(_result); } RGtk2/src/gtkFuncs.h0000644000176000001440000112517712362467242014005 0ustar ripleyusers#ifndef S_GTK_FUNCS_H #define S_GTK_FUNCS_H #include USER_OBJECT_ S_GTK_OBJECT_FLAGS(USER_OBJECT_ s_object); USER_OBJECT_ S_GTK_WIDGET_SET_FLAGS(USER_OBJECT_ s_wid, USER_OBJECT_ s_flags); USER_OBJECT_ S_GTK_WIDGET_UNSET_FLAGS(USER_OBJECT_ s_wid, USER_OBJECT_ s_flags); USER_OBJECT_ S_GTK_WIDGET_IS_SENSITIVE(USER_OBJECT_ s_wid); USER_OBJECT_ S_GTK_WIDGET_STATE(USER_OBJECT_ s_wid); USER_OBJECT_ S_GTK_WIDGET_SAVED_STATE(USER_OBJECT_ s_wid); USER_OBJECT_ S_GTK_CTREE_ROW(USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_about_dialog_get_type(void); USER_OBJECT_ S_gtk_about_dialog_new(void); USER_OBJECT_ S_gtk_about_dialog_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_about_dialog_get_version(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_version(USER_OBJECT_ s_object, USER_OBJECT_ s_version); USER_OBJECT_ S_gtk_about_dialog_get_copyright(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_copyright(USER_OBJECT_ s_object, USER_OBJECT_ s_copyright); USER_OBJECT_ S_gtk_about_dialog_get_comments(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_comments(USER_OBJECT_ s_object, USER_OBJECT_ s_comments); USER_OBJECT_ S_gtk_about_dialog_get_license(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_license(USER_OBJECT_ s_object, USER_OBJECT_ s_license); USER_OBJECT_ S_gtk_about_dialog_get_wrap_license(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_wrap_license(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_license); USER_OBJECT_ S_gtk_about_dialog_get_website(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_website(USER_OBJECT_ s_object, USER_OBJECT_ s_website); USER_OBJECT_ S_gtk_about_dialog_get_website_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_website_label(USER_OBJECT_ s_object, USER_OBJECT_ s_website_label); USER_OBJECT_ S_gtk_about_dialog_get_authors(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_authors(USER_OBJECT_ s_object, USER_OBJECT_ s_authors); USER_OBJECT_ S_gtk_about_dialog_get_documenters(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_documenters(USER_OBJECT_ s_object, USER_OBJECT_ s_documenters); USER_OBJECT_ S_gtk_about_dialog_get_artists(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_artists(USER_OBJECT_ s_object, USER_OBJECT_ s_artists); USER_OBJECT_ S_gtk_about_dialog_get_translator_credits(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_translator_credits(USER_OBJECT_ s_object, USER_OBJECT_ s_translator_credits); USER_OBJECT_ S_gtk_about_dialog_get_logo(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_logo(USER_OBJECT_ s_object, USER_OBJECT_ s_logo); USER_OBJECT_ S_gtk_about_dialog_get_logo_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_logo_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_about_dialog_set_email_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_about_dialog_set_url_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_accel_group_get_type(void); USER_OBJECT_ S_gtk_accel_group_new(void); USER_OBJECT_ S_gtk_accel_group_lock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_group_unlock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_group_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_accel_flags, USER_OBJECT_ s_closure); USER_OBJECT_ S_gtk_accel_group_connect_by_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path, USER_OBJECT_ s_closure); USER_OBJECT_ S_gtk_accel_group_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_closure); USER_OBJECT_ S_gtk_accel_group_disconnect_key(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods); USER_OBJECT_ S_gtk_accel_group_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_quark, USER_OBJECT_ s_acceleratable, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods); USER_OBJECT_ S_gtk_accel_groups_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods); USER_OBJECT_ S_gtk_accel_groups_from_object(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_group_find(USER_OBJECT_ s_object, USER_OBJECT_ s_find_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_accel_group_from_accel_closure(USER_OBJECT_ s_closure); USER_OBJECT_ S_gtk_accelerator_valid(USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers); USER_OBJECT_ S_gtk_accelerator_parse(USER_OBJECT_ s_accelerator); USER_OBJECT_ S_gtk_accelerator_name(USER_OBJECT_ s_accelerator_key, USER_OBJECT_ s_accelerator_mods); USER_OBJECT_ S_gtk_accelerator_set_default_mod_mask(USER_OBJECT_ s_default_mod_mask); USER_OBJECT_ S_gtk_accelerator_get_default_mod_mask(void); USER_OBJECT_ S_gtk_accelerator_get_label(USER_OBJECT_ s_accelerator_key, USER_OBJECT_ s_accelerator_mods); USER_OBJECT_ S_gtk_accel_label_get_type(void); USER_OBJECT_ S_gtk_accel_label_new(USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_accel_label_get_accel_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_label_get_accel_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_label_set_accel_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_widget); USER_OBJECT_ S_gtk_accel_label_set_accel_closure(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_closure); USER_OBJECT_ S_gtk_accel_label_refetch(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_map_add_entry(USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods); USER_OBJECT_ S_gtk_accel_map_lookup_entry(USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_accel_map_change_entry(USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_replace); USER_OBJECT_ S_gtk_accel_map_load(USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_accel_map_save(USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_accel_map_foreach(USER_OBJECT_ s_data, USER_OBJECT_ s_foreach_func); USER_OBJECT_ S_gtk_accel_map_load_fd(USER_OBJECT_ s_fd); USER_OBJECT_ S_gtk_accel_map_load_scanner(USER_OBJECT_ s_scanner); USER_OBJECT_ S_gtk_accel_map_save_fd(USER_OBJECT_ s_fd); USER_OBJECT_ S_gtk_accel_map_lock_path(USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_accel_map_unlock_path(USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_accel_map_add_filter(USER_OBJECT_ s_filter_pattern); USER_OBJECT_ S_gtk_accel_map_foreach_unfiltered(USER_OBJECT_ s_data, USER_OBJECT_ s_foreach_func); USER_OBJECT_ S_gtk_accel_map_get_type(void); USER_OBJECT_ S_gtk_accel_map_get(void); USER_OBJECT_ S_gtk_accessible_get_type(void); USER_OBJECT_ S_gtk_accessible_connect_widget_destroyed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_get_type(void); USER_OBJECT_ S_gtk_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_action_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_is_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_get_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_is_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_create_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size); USER_OBJECT_ S_gtk_action_create_menu_item(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_create_tool_item(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_connect_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy); USER_OBJECT_ S_gtk_action_disconnect_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy); USER_OBJECT_ S_gtk_action_get_proxies(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_connect_accelerator(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_disconnect_accelerator(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_get_accel_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_get_accel_closure(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_block_activate_from(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy); USER_OBJECT_ S_gtk_action_unblock_activate_from(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy); USER_OBJECT_ S_gtk_action_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_action_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_action_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive); USER_OBJECT_ S_gtk_action_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_action_group_get_type(void); USER_OBJECT_ S_gtk_action_group_new(USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_action_group_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_group_get_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_group_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive); USER_OBJECT_ S_gtk_action_group_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_group_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_action_group_get_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action_name); USER_OBJECT_ S_gtk_action_group_list_actions(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_group_add_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_action_group_add_action_with_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_accelerator); USER_OBJECT_ S_gtk_action_group_remove_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_action_group_set_translate_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_action_group_set_translation_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain); USER_OBJECT_ S_gtk_action_group_translate_string(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_adjustment_get_type(void); USER_OBJECT_ S_gtk_adjustment_new(USER_OBJECT_ s_value, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_step_incr, USER_OBJECT_ s_page_incr, USER_OBJECT_ s_page_size); USER_OBJECT_ S_gtk_adjustment_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_value_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_clamp_page(USER_OBJECT_ s_object, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper); USER_OBJECT_ S_gtk_adjustment_get_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_alignment_get_type(void); USER_OBJECT_ S_gtk_alignment_new(USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_xscale, USER_OBJECT_ s_yscale); USER_OBJECT_ S_gtk_alignment_set(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_xscale, USER_OBJECT_ s_yscale); USER_OBJECT_ S_gtk_alignment_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_padding_top, USER_OBJECT_ s_padding_bottom, USER_OBJECT_ s_padding_left, USER_OBJECT_ s_padding_right); USER_OBJECT_ S_gtk_alignment_get_padding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_arrow_get_type(void); USER_OBJECT_ S_gtk_arrow_new(USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_shadow_type); USER_OBJECT_ S_gtk_arrow_set(USER_OBJECT_ s_object, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_shadow_type); USER_OBJECT_ S_gtk_aspect_frame_get_type(void); USER_OBJECT_ S_gtk_aspect_frame_new(USER_OBJECT_ s_label, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_ratio, USER_OBJECT_ s_obey_child); USER_OBJECT_ S_gtk_aspect_frame_set(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign, USER_OBJECT_ s_ratio, USER_OBJECT_ s_obey_child); USER_OBJECT_ S_gtk_button_box_get_type(void); USER_OBJECT_ S_gtk_button_box_get_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_box_set_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_layout_style); USER_OBJECT_ S_gtk_button_box_get_child_secondary(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_button_box_set_child_secondary(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_is_secondary); USER_OBJECT_ S_gtk_button_box_set_child_size(USER_OBJECT_ s_object, USER_OBJECT_ s_min_width, USER_OBJECT_ s_min_height); USER_OBJECT_ S_gtk_button_box_set_child_ipadding(USER_OBJECT_ s_object, USER_OBJECT_ s_ipad_x, USER_OBJECT_ s_ipad_y); USER_OBJECT_ S_gtk_button_box_get_child_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_box_get_child_ipadding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_bin_get_type(void); USER_OBJECT_ S_gtk_bin_get_child(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_box_get_type(void); USER_OBJECT_ S_gtk_box_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding); USER_OBJECT_ S_gtk_box_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding); USER_OBJECT_ S_gtk_box_pack_start_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_box_pack_end_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_box_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous); USER_OBJECT_ S_gtk_box_get_homogeneous(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_box_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_box_get_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_box_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_box_query_child_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_box_set_child_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_padding, USER_OBJECT_ s_pack_type); USER_OBJECT_ S_gtk_button_get_type(void); USER_OBJECT_ S_gtk_button_new(void); USER_OBJECT_ S_gtk_button_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_button_new_from_stock(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_button_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_button_pressed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_released(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_clicked(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_enter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_leave(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_relief(USER_OBJECT_ s_object, USER_OBJECT_ s_newstyle); USER_OBJECT_ S_gtk_button_get_relief(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_button_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline); USER_OBJECT_ S_gtk_button_get_use_underline(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_use_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_use_stock); USER_OBJECT_ S_gtk_button_get_use_stock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click); USER_OBJECT_ S_gtk_button_get_focus_on_click(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_button_get_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image); USER_OBJECT_ S_gtk_button_get_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_get_type(void); USER_OBJECT_ S_gtk_calendar_new(void); USER_OBJECT_ S_gtk_calendar_select_month(USER_OBJECT_ s_object, USER_OBJECT_ s_month, USER_OBJECT_ s_year); USER_OBJECT_ S_gtk_calendar_select_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day); USER_OBJECT_ S_gtk_calendar_mark_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day); USER_OBJECT_ S_gtk_calendar_unmark_day(USER_OBJECT_ s_object, USER_OBJECT_ s_day); USER_OBJECT_ S_gtk_calendar_clear_marks(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_set_display_options(USER_OBJECT_ s_object, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_calendar_get_display_options(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_display_options(USER_OBJECT_ s_object, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_calendar_get_date(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_freeze(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_thaw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_editable_get_type(void); USER_OBJECT_ S_gtk_cell_editable_start_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_cell_editable_editing_done(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_editable_remove_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_layout_get_type(void); USER_OBJECT_ S_gtk_cell_layout_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_cell_layout_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_cell_layout_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_layout_add_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_attribute, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_cell_layout_set_cell_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data); USER_OBJECT_ S_gtk_cell_layout_clear_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cell); USER_OBJECT_ S_gtk_cell_layout_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_cell_renderer_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_get_size(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_cell_area); USER_OBJECT_ S_gtk_cell_renderer_render(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_widget, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_expose_area, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_cell_renderer_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_cell_renderer_start_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_cell_renderer_set_fixed_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_cell_renderer_get_fixed_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_editing_canceled(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_stop_editing(USER_OBJECT_ s_object, USER_OBJECT_ s_canceled); USER_OBJECT_ S_gtk_cell_renderer_combo_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_combo_new(void); USER_OBJECT_ S_gtk_cell_renderer_pixbuf_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_pixbuf_new(void); USER_OBJECT_ S_gtk_cell_renderer_progress_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_progress_new(void); USER_OBJECT_ S_gtk_cell_renderer_text_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_text_new(void); USER_OBJECT_ S_gtk_cell_renderer_text_set_fixed_height_from_font(USER_OBJECT_ s_object, USER_OBJECT_ s_number_of_rows); USER_OBJECT_ S_gtk_cell_renderer_toggle_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_toggle_new(void); USER_OBJECT_ S_gtk_cell_renderer_toggle_get_radio(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_toggle_set_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_radio); USER_OBJECT_ S_gtk_cell_renderer_toggle_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_toggle_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_cell_view_get_type(void); USER_OBJECT_ S_gtk_cell_view_new(void); USER_OBJECT_ S_gtk_cell_view_new_with_text(USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_cell_view_new_with_markup(USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_cell_view_new_with_pixbuf(USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_cell_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_cell_view_set_displayed_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_cell_view_get_displayed_row(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_view_get_size_of_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_cell_view_set_background_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_cell_view_get_cell_renderers(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_set_can_store(USER_OBJECT_ s_object, USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_clipboard_store(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_check_button_get_type(void); USER_OBJECT_ S_gtk_check_button_new(void); USER_OBJECT_ S_gtk_check_button_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_check_button_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_check_menu_item_get_type(void); USER_OBJECT_ S_gtk_check_menu_item_new(void); USER_OBJECT_ S_gtk_check_menu_item_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_check_menu_item_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_check_menu_item_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_check_menu_item_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_check_menu_item_toggled(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_check_menu_item_set_inconsistent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_check_menu_item_get_inconsistent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_check_menu_item_set_draw_as_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_as_radio); USER_OBJECT_ S_gtk_check_menu_item_get_draw_as_radio(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_check_menu_item_set_show_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_always); USER_OBJECT_ S_gtk_check_menu_item_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_clipboard_get_type(void); USER_OBJECT_ S_gtk_clipboard_get_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_selection); USER_OBJECT_ S_gtk_clipboard_get(USER_OBJECT_ s_selection); USER_OBJECT_ S_gtk_clipboard_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_set_with_data(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_get_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_get_owner(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len); USER_OBJECT_ S_gtk_clipboard_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_clipboard_request_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_target, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_request_image(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_request_text(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_request_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_wait_for_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_clipboard_wait_for_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_for_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_is_image_available(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_is_text_available(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_is_target_available(USER_OBJECT_ s_object, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_clipboard_wait_for_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_get_type(void); USER_OBJECT_ S_gtk_clist_new(USER_OBJECT_ s_columns); USER_OBJECT_ S_gtk_clist_new_with_titles(USER_OBJECT_ s_columns, USER_OBJECT_ s_titles); USER_OBJECT_ S_gtk_clist_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_clist_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_clist_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_clist_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_clist_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable); USER_OBJECT_ S_gtk_clist_set_use_drag_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_use_icons); USER_OBJECT_ S_gtk_clist_set_button_actions(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_button_actions); USER_OBJECT_ S_gtk_clist_freeze(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_thaw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_column_titles_show(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_column_titles_hide(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_column_title_active(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_column_title_passive(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_column_titles_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_column_titles_passive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_set_column_title(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_clist_get_column_title(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_column_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_clist_get_column_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_column_justification(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_justification); USER_OBJECT_ S_gtk_clist_set_column_visibility(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_clist_set_column_resizeable(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_resizeable); USER_OBJECT_ S_gtk_clist_set_column_auto_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_auto_resize); USER_OBJECT_ S_gtk_clist_columns_autosize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_optimal_column_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_column_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_width); USER_OBJECT_ S_gtk_clist_set_column_min_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_min_width); USER_OBJECT_ S_gtk_clist_set_column_max_width(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_max_width); USER_OBJECT_ S_gtk_clist_set_row_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_clist_moveto(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align); USER_OBJECT_ S_gtk_clist_row_is_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_clist_get_cell_type(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_clist_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_clist_get_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_clist_get_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_clist_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_clist_set_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_clist_get_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_clist_get_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_clist_set_shift(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_vertical, USER_OBJECT_ s_horizontal); USER_OBJECT_ S_gtk_clist_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_selectable); USER_OBJECT_ S_gtk_clist_get_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_clist_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_clist_append(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_clist_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_clist_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_clist_set_row_data_full(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_clist_get_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_clist_find_row_from_data(USER_OBJECT_ s_object, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_clist_select_row(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_unselect_row(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_undo_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_get_selection_info(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_clist_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_swap_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_row1, USER_OBJECT_ s_row2); USER_OBJECT_ S_gtk_clist_row_move(USER_OBJECT_ s_object, USER_OBJECT_ s_source_row, USER_OBJECT_ s_dest_row); USER_OBJECT_ S_gtk_clist_set_sort_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_clist_set_sort_type(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_type); USER_OBJECT_ S_gtk_clist_sort(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clist_set_auto_sort(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_sort); USER_OBJECT_ S_gtk_color_button_get_type(void); USER_OBJECT_ S_gtk_color_button_new(void); USER_OBJECT_ S_gtk_color_button_new_with_color(USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_button_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_button_set_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha); USER_OBJECT_ S_gtk_color_button_get_color(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_button_get_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_button_set_use_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_use_alpha); USER_OBJECT_ S_gtk_color_button_get_use_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_color_button_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_get_type(void); USER_OBJECT_ S_gtk_color_selection_new(void); USER_OBJECT_ S_gtk_color_selection_get_has_opacity_control(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_set_has_opacity_control(USER_OBJECT_ s_object, USER_OBJECT_ s_has_opacity); USER_OBJECT_ S_gtk_color_selection_get_has_palette(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_set_has_palette(USER_OBJECT_ s_object, USER_OBJECT_ s_has_palette); USER_OBJECT_ S_gtk_color_selection_set_current_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_selection_set_current_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha); USER_OBJECT_ S_gtk_color_selection_get_current_color(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_get_current_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_set_previous_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_selection_set_previous_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_alpha); USER_OBJECT_ S_gtk_color_selection_get_previous_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_selection_get_previous_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_is_adjusting(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_palette_from_string(USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_color_selection_palette_to_string(USER_OBJECT_ s_colors); USER_OBJECT_ S_gtk_color_selection_set_change_palette_hook(USER_OBJECT_ s_func); USER_OBJECT_ S_gtk_color_selection_set_change_palette_with_screen_hook(USER_OBJECT_ s_func); USER_OBJECT_ S_gtk_color_selection_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_color_selection_get_color(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_color_selection_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy); USER_OBJECT_ S_gtk_color_selection_dialog_get_type(void); USER_OBJECT_ S_gtk_color_selection_dialog_new(USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_combo_get_type(void); USER_OBJECT_ S_gtk_combo_new(void); USER_OBJECT_ S_gtk_combo_set_value_in_list(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_ok_if_empty); USER_OBJECT_ S_gtk_combo_set_use_arrows(USER_OBJECT_ s_object, USER_OBJECT_ s_val); USER_OBJECT_ S_gtk_combo_set_use_arrows_always(USER_OBJECT_ s_object, USER_OBJECT_ s_val); USER_OBJECT_ S_gtk_combo_set_case_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_val); USER_OBJECT_ S_gtk_combo_set_item_string(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_item_value); USER_OBJECT_ S_gtk_combo_set_popdown_strings(USER_OBJECT_ s_object, USER_OBJECT_ s_strings); USER_OBJECT_ S_gtk_combo_disable_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_type(void); USER_OBJECT_ S_gtk_combo_box_new(void); USER_OBJECT_ S_gtk_combo_box_new_with_model(USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_combo_box_set_wrap_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width); USER_OBJECT_ S_gtk_combo_box_set_row_span_column(USER_OBJECT_ s_object, USER_OBJECT_ s_row_span); USER_OBJECT_ S_gtk_combo_box_set_column_span_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column_span); USER_OBJECT_ S_gtk_combo_box_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_combo_box_get_active_iter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_active_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_combo_box_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_combo_box_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_new_text(void); USER_OBJECT_ S_gtk_combo_box_append_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_combo_box_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_combo_box_prepend_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_combo_box_remove_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_combo_box_popup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_popdown(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_wrap_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_row_span_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_column_span_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_add_tearoffs(USER_OBJECT_ s_object, USER_OBJECT_ s_add_tearoffs); USER_OBJECT_ S_gtk_combo_box_get_add_tearoffs(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_focus_on_click(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click); USER_OBJECT_ S_gtk_combo_box_set_row_separator_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_combo_box_get_row_separator_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_active_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_get_popup_accessible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_entry_get_type(void); USER_OBJECT_ S_gtk_combo_box_entry_new(void); USER_OBJECT_ S_gtk_combo_box_entry_new_with_model(USER_OBJECT_ s_model, USER_OBJECT_ s_text_column); USER_OBJECT_ S_gtk_combo_box_entry_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_text_column); USER_OBJECT_ S_gtk_combo_box_entry_get_text_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_entry_new_text(void); USER_OBJECT_ S_gtk_container_get_type(void); USER_OBJECT_ S_gtk_container_set_border_width(USER_OBJECT_ s_object, USER_OBJECT_ s_border_width); USER_OBJECT_ S_gtk_container_get_border_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_add(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_container_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_container_set_resize_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_resize_mode); USER_OBJECT_ S_gtk_container_get_resize_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_check_resize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data); USER_OBJECT_ S_gtk_container_foreach_full(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data); USER_OBJECT_ S_gtk_container_get_children(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_children(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_propagate_expose(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_container_set_focus_chain(USER_OBJECT_ s_object, USER_OBJECT_ s_focusable_widgets); USER_OBJECT_ S_gtk_container_get_focus_chain(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_unset_focus_chain(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_set_reallocate_redraws(USER_OBJECT_ s_object, USER_OBJECT_ s_needs_redraws); USER_OBJECT_ S_gtk_container_set_focus_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_container_set_focus_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_container_get_focus_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_set_focus_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_container_get_focus_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_resize_children(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_child_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_class_install_child_property(USER_OBJECT_ s_cclass, USER_OBJECT_ s_property_id, USER_OBJECT_ s_pspec); USER_OBJECT_ S_gtk_container_class_find_child_property(USER_OBJECT_ s_cclass, USER_OBJECT_ s_property_name); USER_OBJECT_ S_gtk_container_class_list_child_properties(USER_OBJECT_ s_cclass); USER_OBJECT_ S_gtk_container_child_get_property(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_property_name); USER_OBJECT_ S_gtk_container_forall(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data); USER_OBJECT_ S_gtk_ctree_get_type(void); USER_OBJECT_ S_gtk_ctree_new_with_titles(USER_OBJECT_ s_columns, USER_OBJECT_ s_tree_column, USER_OBJECT_ s_titles); USER_OBJECT_ S_gtk_ctree_new(USER_OBJECT_ s_columns, USER_OBJECT_ s_tree_column); USER_OBJECT_ S_gtk_ctree_insert_node(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap_closed, USER_OBJECT_ s_mask_closed, USER_OBJECT_ s_pixmap_opened, USER_OBJECT_ s_mask_opened, USER_OBJECT_ s_is_leaf, USER_OBJECT_ s_expanded); USER_OBJECT_ S_gtk_ctree_remove_node(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_insert_gnode(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_gnode, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_export_to_gnode(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_post_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_post_recursive_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_pre_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_pre_recursive_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_is_viewable(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_last(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_find_node_ptr(USER_OBJECT_ s_object, USER_OBJECT_ s_ctree_row); USER_OBJECT_ S_gtk_ctree_node_nth(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_ctree_find(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_ctree_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_ctree_find_by_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_find_all_by_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_find_by_row_data_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data, USER_OBJECT_ s_func); USER_OBJECT_ S_gtk_ctree_find_all_by_row_data_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data, USER_OBJECT_ s_func); USER_OBJECT_ S_gtk_ctree_is_hot_spot(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_ctree_move(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_new_parent, USER_OBJECT_ s_new_sibling); USER_OBJECT_ S_gtk_ctree_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_expand_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_expand_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth); USER_OBJECT_ S_gtk_ctree_collapse(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_collapse_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_collapse_to_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_depth); USER_OBJECT_ S_gtk_ctree_toggle_expansion(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_toggle_expansion_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_select(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_select_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_unselect(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_unselect_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_real_select_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_state); USER_OBJECT_ S_gtk_ctree_node_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_ctree_node_set_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_ctree_node_set_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_ctree_set_node_info(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap_closed, USER_OBJECT_ s_mask_closed, USER_OBJECT_ s_pixmap_opened, USER_OBJECT_ s_mask_opened, USER_OBJECT_ s_is_leaf, USER_OBJECT_ s_expanded); USER_OBJECT_ S_gtk_ctree_node_set_shift(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_vertical, USER_OBJECT_ s_horizontal); USER_OBJECT_ S_gtk_ctree_node_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_selectable); USER_OBJECT_ S_gtk_ctree_node_get_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_node_get_cell_type(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_ctree_node_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_ctree_node_get_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_ctree_node_get_pixtext(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_ctree_get_node_info(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_node_set_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_ctree_node_get_row_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_node_set_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_ctree_node_get_cell_style(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_ctree_node_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_ctree_node_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_ctree_node_set_row_data_full(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_ctree_node_get_row_data(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_node_moveto(USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_column, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align); USER_OBJECT_ S_gtk_ctree_node_is_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent); USER_OBJECT_ S_gtk_ctree_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_ctree_set_show_stub(USER_OBJECT_ s_object, USER_OBJECT_ s_show_stub); USER_OBJECT_ S_gtk_ctree_set_line_style(USER_OBJECT_ s_object, USER_OBJECT_ s_line_style); USER_OBJECT_ S_gtk_ctree_set_expander_style(USER_OBJECT_ s_object, USER_OBJECT_ s_expander_style); USER_OBJECT_ S_gtk_ctree_sort_node(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_sort_recursive(USER_OBJECT_ s_object, USER_OBJECT_ s_node); USER_OBJECT_ S_gtk_ctree_node_get_type(void); USER_OBJECT_ S_gtk_curve_get_type(void); USER_OBJECT_ S_gtk_curve_new(void); USER_OBJECT_ S_gtk_curve_reset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_curve_set_gamma(USER_OBJECT_ s_object, USER_OBJECT_ s_gamma); USER_OBJECT_ S_gtk_curve_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min_x, USER_OBJECT_ s_max_x, USER_OBJECT_ s_min_y, USER_OBJECT_ s_max_y); USER_OBJECT_ S_gtk_curve_set_vector(USER_OBJECT_ s_object, USER_OBJECT_ s_vector); USER_OBJECT_ S_gtk_curve_set_curve_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_dialog_get_type(void); USER_OBJECT_ S_gtk_dialog_new(void); USER_OBJECT_ S_gtk_dialog_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_dialog_add_button(USER_OBJECT_ s_object, USER_OBJECT_ s_button_text, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_dialog_set_response_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_dialog_set_default_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_dialog_get_response_for_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_dialog_set_has_separator(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_dialog_get_has_separator(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_dialog_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_dialog_run(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_dialog_set_alternative_button_order_from_array(USER_OBJECT_ s_object, USER_OBJECT_ s_new_order); USER_OBJECT_ S_gtk_drag_check_threshold(USER_OBJECT_ s_object, USER_OBJECT_ s_start_x, USER_OBJECT_ s_start_y, USER_OBJECT_ s_current_x, USER_OBJECT_ s_current_y); USER_OBJECT_ S_gtk_drag_get_data(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_target, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_drag_highlight(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_unhighlight(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_dest_set(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_drag_dest_set_proxy(USER_OBJECT_ s_object, USER_OBJECT_ s_proxy_window, USER_OBJECT_ s_protocol, USER_OBJECT_ s_use_coordinates); USER_OBJECT_ S_gtk_drag_dest_unset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_dest_find_target(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_target_list); USER_OBJECT_ S_gtk_drag_dest_get_target_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_dest_set_target_list(USER_OBJECT_ s_object, USER_OBJECT_ s_target_list); USER_OBJECT_ S_gtk_drag_source_set(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_drag_source_unset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_source_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_drag_source_set_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_drag_source_set_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_drag_source_get_target_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_source_set_target_list(USER_OBJECT_ s_object, USER_OBJECT_ s_target_list); USER_OBJECT_ S_gtk_drag_begin(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions, USER_OBJECT_ s_button, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_drag_set_default_icon(USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_dest_add_text_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_dest_add_image_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_dest_add_uri_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_source_add_text_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_source_add_image_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_source_add_uri_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_target_list_add_text_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info); USER_OBJECT_ S_gtk_target_list_add_image_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info, USER_OBJECT_ s_writable); USER_OBJECT_ S_gtk_target_list_add_uri_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info); USER_OBJECT_ S_gtk_drag_get_source_widget(USER_OBJECT_ s_context); USER_OBJECT_ S_gtk_drag_source_set_icon_name(USER_OBJECT_ s_widget, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_drawing_area_get_type(void); USER_OBJECT_ S_gtk_drawing_area_new(void); USER_OBJECT_ S_gtk_drawing_area_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_editable_get_type(void); USER_OBJECT_ S_gtk_editable_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_editable_get_selection_bounds(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos); USER_OBJECT_ S_gtk_editable_get_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos); USER_OBJECT_ S_gtk_editable_cut_clipboard(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_copy_clipboard(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_paste_clipboard(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_delete_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_editable_get_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_editable_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_is_editable); USER_OBJECT_ S_gtk_editable_get_editable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_get_type(void); USER_OBJECT_ S_gtk_entry_new(void); USER_OBJECT_ S_gtk_entry_new_with_max_length(USER_OBJECT_ s_max); USER_OBJECT_ S_gtk_entry_set_visibility(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_entry_get_visibility(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_invisible_char(USER_OBJECT_ s_object, USER_OBJECT_ s_ch); USER_OBJECT_ S_gtk_entry_get_invisible_char(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_has_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_entry_get_has_frame(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_max_length(USER_OBJECT_ s_object, USER_OBJECT_ s_max); USER_OBJECT_ S_gtk_entry_get_max_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_activates_default(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_entry_get_activates_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_entry_get_width_chars(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_entry_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_get_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_get_layout_offsets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_layout_index_to_text_index(USER_OBJECT_ s_object, USER_OBJECT_ s_layout_index); USER_OBJECT_ S_gtk_entry_text_index_to_layout_index(USER_OBJECT_ s_object, USER_OBJECT_ s_text_index); USER_OBJECT_ S_gtk_entry_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign); USER_OBJECT_ S_gtk_entry_get_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_completion); USER_OBJECT_ S_gtk_entry_get_completion(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_append_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_entry_prepend_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_entry_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_entry_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_entry_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_editable); USER_OBJECT_ S_gtk_entry_completion_get_type(void); USER_OBJECT_ S_gtk_entry_completion_new(void); USER_OBJECT_ S_gtk_entry_completion_get_entry(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_entry_completion_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_match_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data); USER_OBJECT_ S_gtk_entry_completion_set_minimum_key_length(USER_OBJECT_ s_object, USER_OBJECT_ s_length); USER_OBJECT_ S_gtk_entry_completion_get_minimum_key_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_complete(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_insert_action_text(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_entry_completion_insert_action_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_entry_completion_delete_action(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_entry_completion_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_entry_completion_get_text_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_insert_prefix(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_inline_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_inline_completion); USER_OBJECT_ S_gtk_entry_completion_get_inline_completion(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_popup_completion(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_completion); USER_OBJECT_ S_gtk_entry_completion_get_popup_completion(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_popup_set_width(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_set_width); USER_OBJECT_ S_gtk_entry_completion_get_popup_set_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_popup_single_match(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_single_match); USER_OBJECT_ S_gtk_entry_completion_get_popup_single_match(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_event_box_get_type(void); USER_OBJECT_ S_gtk_event_box_new(void); USER_OBJECT_ S_gtk_event_box_get_visible_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_event_box_set_visible_window(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_window); USER_OBJECT_ S_gtk_event_box_get_above_child(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_event_box_set_above_child(USER_OBJECT_ s_object, USER_OBJECT_ s_above_child); USER_OBJECT_ S_gtk_expander_get_type(void); USER_OBJECT_ S_gtk_expander_new(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_expander_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_expander_set_expanded(USER_OBJECT_ s_object, USER_OBJECT_ s_expanded); USER_OBJECT_ S_gtk_expander_get_expanded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_expander_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_expander_get_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_expander_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_expander_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_expander_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline); USER_OBJECT_ S_gtk_expander_get_use_underline(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_expander_set_use_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_use_markup); USER_OBJECT_ S_gtk_expander_get_use_markup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_expander_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget); USER_OBJECT_ S_gtk_expander_get_label_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_type(void); USER_OBJECT_ S_gtk_file_chooser_error_quark(void); USER_OBJECT_ S_gtk_file_chooser_set_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_file_chooser_get_action(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_local_only(USER_OBJECT_ s_object, USER_OBJECT_ s_local_only); USER_OBJECT_ S_gtk_file_chooser_get_local_only(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple); USER_OBJECT_ S_gtk_file_chooser_get_select_multiple(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_show_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_show_hidden); USER_OBJECT_ S_gtk_file_chooser_get_show_hidden(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_do_overwrite_confirmation(USER_OBJECT_ s_object, USER_OBJECT_ s_do_overwrite_confirmation); USER_OBJECT_ S_gtk_file_chooser_get_do_overwrite_confirmation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_current_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_file_chooser_get_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_file_chooser_select_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_file_chooser_unselect_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_file_chooser_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_filenames(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_current_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_file_chooser_get_current_folder(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_select_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_unselect_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_get_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_current_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_get_current_folder_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_preview_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_preview_widget); USER_OBJECT_ S_gtk_file_chooser_get_preview_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_preview_widget_active(USER_OBJECT_ s_object, USER_OBJECT_ s_active); USER_OBJECT_ S_gtk_file_chooser_get_preview_widget_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_use_preview_label(USER_OBJECT_ s_object, USER_OBJECT_ s_use_label); USER_OBJECT_ S_gtk_file_chooser_get_use_preview_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_preview_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_preview_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_extra_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_extra_widget); USER_OBJECT_ S_gtk_file_chooser_get_extra_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_file_chooser_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_file_chooser_list_filters(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_file_chooser_get_filter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_add_shortcut_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_folder); USER_OBJECT_ S_gtk_file_chooser_remove_shortcut_folder(USER_OBJECT_ s_object, USER_OBJECT_ s_folder); USER_OBJECT_ S_gtk_file_chooser_list_shortcut_folders(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_add_shortcut_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_remove_shortcut_folder_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_file_chooser_list_shortcut_folder_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_button_get_type(void); USER_OBJECT_ S_gtk_file_chooser_button_new(USER_OBJECT_ s_title, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_file_chooser_button_new_with_backend(USER_OBJECT_ s_title, USER_OBJECT_ s_action, USER_OBJECT_ s_backend); USER_OBJECT_ S_gtk_file_chooser_button_new_with_dialog(USER_OBJECT_ s_dialog); USER_OBJECT_ S_gtk_file_chooser_button_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_file_chooser_button_get_width_chars(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_button_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_file_chooser_dialog_get_type(void); USER_OBJECT_ S_gtk_file_chooser_widget_get_type(void); USER_OBJECT_ S_gtk_file_chooser_widget_new(USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_file_chooser_widget_new_with_backend(USER_OBJECT_ s_action, USER_OBJECT_ s_backend); USER_OBJECT_ S_gtk_file_filter_get_type(void); USER_OBJECT_ S_gtk_file_filter_new(void); USER_OBJECT_ S_gtk_file_filter_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_file_filter_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_filter_add_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type); USER_OBJECT_ S_gtk_file_filter_add_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_file_filter_add_pixbuf_formats(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_filter_add_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_needed, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_file_filter_get_needed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_filter_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_info); USER_OBJECT_ S_gtk_file_selection_get_type(void); USER_OBJECT_ S_gtk_file_selection_new(USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_file_selection_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_file_selection_get_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_selection_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_file_selection_show_fileop_buttons(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_selection_hide_fileop_buttons(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_selection_get_selections(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_selection_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple); USER_OBJECT_ S_gtk_file_selection_get_select_multiple(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_fixed_get_type(void); USER_OBJECT_ S_gtk_fixed_new(void); USER_OBJECT_ S_gtk_fixed_put(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_fixed_move(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_fixed_set_has_window(USER_OBJECT_ s_object, USER_OBJECT_ s_has_window); USER_OBJECT_ S_gtk_fixed_get_has_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_get_type(void); USER_OBJECT_ S_gtk_font_button_new(void); USER_OBJECT_ S_gtk_font_button_new_with_font(USER_OBJECT_ s_fontname); USER_OBJECT_ S_gtk_font_button_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_font_button_get_use_font(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_use_font(USER_OBJECT_ s_object, USER_OBJECT_ s_use_font); USER_OBJECT_ S_gtk_font_button_get_use_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_use_size(USER_OBJECT_ s_object, USER_OBJECT_ s_use_size); USER_OBJECT_ S_gtk_font_button_get_font_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname); USER_OBJECT_ S_gtk_font_button_get_show_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_show_style(USER_OBJECT_ s_object, USER_OBJECT_ s_show_style); USER_OBJECT_ S_gtk_font_button_get_show_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_button_set_show_size(USER_OBJECT_ s_object, USER_OBJECT_ s_show_size); USER_OBJECT_ S_gtk_font_selection_get_type(void); USER_OBJECT_ S_gtk_font_selection_new(void); USER_OBJECT_ S_gtk_font_selection_get_font_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_font(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname); USER_OBJECT_ S_gtk_font_selection_get_preview_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_set_preview_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_font_selection_dialog_get_type(void); USER_OBJECT_ S_gtk_font_selection_dialog_new(USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_font_selection_dialog_get_font_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_get_font(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_set_font_name(USER_OBJECT_ s_object, USER_OBJECT_ s_fontname); USER_OBJECT_ S_gtk_font_selection_dialog_get_preview_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_set_preview_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_frame_get_type(void); USER_OBJECT_ S_gtk_frame_new(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_frame_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_frame_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_frame_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget); USER_OBJECT_ S_gtk_frame_get_label_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_frame_set_label_align(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_frame_get_label_align(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_frame_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_frame_get_shadow_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_gamma_curve_get_type(void); USER_OBJECT_ S_gtk_gamma_curve_new(void); USER_OBJECT_ S_gtk_gc_release(USER_OBJECT_ s_gc); USER_OBJECT_ S_gtk_handle_box_get_type(void); USER_OBJECT_ S_gtk_handle_box_new(void); USER_OBJECT_ S_gtk_handle_box_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_handle_box_get_shadow_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_handle_box_set_handle_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_handle_box_get_handle_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_handle_box_set_snap_edge(USER_OBJECT_ s_object, USER_OBJECT_ s_edge); USER_OBJECT_ S_gtk_handle_box_get_snap_edge(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_hbutton_box_get_type(void); USER_OBJECT_ S_gtk_hbutton_box_new(void); USER_OBJECT_ S_gtk_hbutton_box_get_spacing_default(void); USER_OBJECT_ S_gtk_hbutton_box_get_layout_default(void); USER_OBJECT_ S_gtk_hbutton_box_set_spacing_default(USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_hbutton_box_set_layout_default(USER_OBJECT_ s_layout); USER_OBJECT_ S_gtk_hbox_get_type(void); USER_OBJECT_ S_gtk_hbox_new(USER_OBJECT_ s_homogeneous, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_hpaned_get_type(void); USER_OBJECT_ S_gtk_hpaned_new(void); USER_OBJECT_ S_gtk_hruler_get_type(void); USER_OBJECT_ S_gtk_hruler_new(void); USER_OBJECT_ S_gtk_hscale_get_type(void); USER_OBJECT_ S_gtk_hscale_new(USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_hscale_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step); USER_OBJECT_ S_gtk_hscrollbar_get_type(void); USER_OBJECT_ S_gtk_hscrollbar_new(USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_hseparator_get_type(void); USER_OBJECT_ S_gtk_hseparator_new(void); USER_OBJECT_ S_gtk_icon_factory_get_type(void); USER_OBJECT_ S_gtk_icon_factory_new(void); USER_OBJECT_ S_gtk_icon_factory_add(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_icon_set); USER_OBJECT_ S_gtk_icon_factory_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_icon_factory_add_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_factory_remove_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_factory_lookup_default(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_icon_size_lookup(USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_icon_size_lookup_for_settings(USER_OBJECT_ s_settings, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_icon_size_register(USER_OBJECT_ s_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_icon_size_register_alias(USER_OBJECT_ s_alias, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_icon_size_from_name(USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_icon_size_get_name(USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_icon_set_get_type(void); USER_OBJECT_ S_gtk_icon_set_new(void); USER_OBJECT_ S_gtk_icon_set_new_from_pixbuf(USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_icon_set_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_set_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_set_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_set_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_style, USER_OBJECT_ s_direction, USER_OBJECT_ s_state, USER_OBJECT_ s_size, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail); USER_OBJECT_ S_gtk_icon_set_add_source(USER_OBJECT_ s_object, USER_OBJECT_ s_source); USER_OBJECT_ S_gtk_icon_set_get_sizes(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_type(void); USER_OBJECT_ S_gtk_icon_source_new(void); USER_OBJECT_ S_gtk_icon_source_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_set_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_icon_source_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_icon_source_set_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_icon_source_get_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_set_direction_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_icon_source_set_state_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_icon_source_set_size_wildcarded(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_icon_source_get_size_wildcarded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_state_wildcarded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_direction_wildcarded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_set_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_direction); USER_OBJECT_ S_gtk_icon_source_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_state); USER_OBJECT_ S_gtk_icon_source_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_icon_source_get_direction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_source_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_error_quark(void); USER_OBJECT_ S_gtk_icon_theme_get_type(void); USER_OBJECT_ S_gtk_icon_theme_new(void); USER_OBJECT_ S_gtk_icon_theme_get_default(void); USER_OBJECT_ S_gtk_icon_theme_get_for_screen(USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_icon_theme_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_icon_theme_get_search_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_append_search_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_theme_prepend_search_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_theme_set_custom_theme(USER_OBJECT_ s_object, USER_OBJECT_ s_theme_name); USER_OBJECT_ S_gtk_icon_theme_has_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_icon_theme_lookup_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_icon_theme_load_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_icon_theme_list_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_context); USER_OBJECT_ S_gtk_icon_theme_get_example_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_rescan_if_needed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_add_builtin_icon(USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_icon_info_get_type(void); USER_OBJECT_ S_gtk_icon_info_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_get_base_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_get_filename(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_get_builtin_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_load_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_set_raw_coordinates(USER_OBJECT_ s_object, USER_OBJECT_ s_raw_coordinates); USER_OBJECT_ S_gtk_icon_info_get_embedded_rect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_get_attach_points(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_get_display_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_get_icon_sizes(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_icon_view_get_type(void); USER_OBJECT_ S_gtk_icon_view_new(void); USER_OBJECT_ S_gtk_icon_view_new_with_model(USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_icon_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_icon_view_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_text_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_icon_view_get_text_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_markup_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_icon_view_get_markup_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_pixbuf_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_icon_view_get_pixbuf_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_icon_view_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_columns(USER_OBJECT_ s_object, USER_OBJECT_ s_columns); USER_OBJECT_ S_gtk_icon_view_get_columns(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_item_width(USER_OBJECT_ s_object, USER_OBJECT_ s_item_width); USER_OBJECT_ S_gtk_icon_view_get_item_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_icon_view_get_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row_spacing); USER_OBJECT_ S_gtk_icon_view_get_row_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_column_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column_spacing); USER_OBJECT_ S_gtk_icon_view_get_column_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin); USER_OBJECT_ S_gtk_icon_view_get_margin(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_get_path_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_icon_view_get_item_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_icon_view_get_visible_range(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_selected_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_icon_view_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_icon_view_get_selection_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_select_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_view_unselect_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_view_path_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_view_get_selected_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_item_activated(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_view_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_cell, USER_OBJECT_ s_start_editing); USER_OBJECT_ S_gtk_icon_view_get_cursor(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_scroll_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_use_align, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align); USER_OBJECT_ S_gtk_icon_view_enable_model_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_icon_view_enable_model_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_icon_view_unset_model_drag_source(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_unset_model_drag_dest(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable); USER_OBJECT_ S_gtk_icon_view_get_reorderable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_drag_dest_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_icon_view_get_drag_dest_item(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_get_dest_item_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_x, USER_OBJECT_ s_drag_y); USER_OBJECT_ S_gtk_icon_view_create_drag_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_image_get_type(void); USER_OBJECT_ S_gtk_image_new(void); USER_OBJECT_ S_gtk_image_new_from_pixmap(USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_image_new_from_image(USER_OBJECT_ s_image, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_image_new_from_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_image_new_from_pixbuf(USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_image_new_from_stock(USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_new_from_icon_set(USER_OBJECT_ s_icon_set, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_new_from_animation(USER_OBJECT_ s_animation); USER_OBJECT_ S_gtk_image_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_set_from_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_image_set_from_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gdk_image, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_image_set_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_image_set_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_image_set_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_set_from_icon_set(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_set, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_set_from_animation(USER_OBJECT_ s_object, USER_OBJECT_ s_animation); USER_OBJECT_ S_gtk_image_get_storage_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_pixmap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_stock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_icon_set(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_animation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_set(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_image_get(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_new_from_icon_name(USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_set_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_set_pixel_size(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel_size); USER_OBJECT_ S_gtk_image_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_get_pixel_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_menu_item_get_type(void); USER_OBJECT_ S_gtk_image_menu_item_new(void); USER_OBJECT_ S_gtk_image_menu_item_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_image_menu_item_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_image_menu_item_new_from_stock(USER_OBJECT_ s_stock_id, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_image_menu_item_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image); USER_OBJECT_ S_gtk_image_menu_item_get_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_get_type(void); USER_OBJECT_ S_gtk_im_context_set_client_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_im_context_get_preedit_string(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_filter_keypress(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_im_context_focus_in(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_focus_out(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_reset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_set_cursor_location(USER_OBJECT_ s_object, USER_OBJECT_ s_area); USER_OBJECT_ S_gtk_im_context_set_use_preedit(USER_OBJECT_ s_object, USER_OBJECT_ s_use_preedit); USER_OBJECT_ S_gtk_im_context_set_surrounding(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_cursor_index); USER_OBJECT_ S_gtk_im_context_get_surrounding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_context_delete_surrounding(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_im_context_simple_get_type(void); USER_OBJECT_ S_gtk_im_context_simple_new(void); USER_OBJECT_ S_gtk_im_multicontext_get_type(void); USER_OBJECT_ S_gtk_im_multicontext_new(void); USER_OBJECT_ S_gtk_im_multicontext_append_menuitems(USER_OBJECT_ s_object, USER_OBJECT_ s_menushell); USER_OBJECT_ S_gtk_input_dialog_get_type(void); USER_OBJECT_ S_gtk_input_dialog_new(void); USER_OBJECT_ S_gtk_invisible_get_type(void); USER_OBJECT_ S_gtk_invisible_new(void); USER_OBJECT_ S_gtk_invisible_new_for_screen(USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_invisible_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_invisible_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_item_get_type(void); USER_OBJECT_ S_gtk_item_select(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_item_deselect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_item_toggle(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_item_factory_get_type(void); USER_OBJECT_ S_gtk_item_factory_new(USER_OBJECT_ s_container_type, USER_OBJECT_ s_path, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_item_factory_construct(USER_OBJECT_ s_object, USER_OBJECT_ s_container_type, USER_OBJECT_ s_path, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_item_factory_add_foreign(USER_OBJECT_ s_accel_widget, USER_OBJECT_ s_full_path, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers); USER_OBJECT_ S_gtk_item_factory_from_widget(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_item_factory_path_from_widget(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_item_factory_get_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_item_factory_get_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_item_factory_get_widget_by_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_item_factory_get_item_by_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_item_factory_delete_item(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_item_factory_delete_entry(USER_OBJECT_ s_object, USER_OBJECT_ s_entry); USER_OBJECT_ S_gtk_item_factory_delete_entries(USER_OBJECT_ s_object, USER_OBJECT_ s_entries); USER_OBJECT_ S_gtk_item_factory_popup(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_mouse_button, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_item_factory_popup_with_data(USER_OBJECT_ s_object, USER_OBJECT_ s_popup_data, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_mouse_button, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_item_factory_popup_data(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_item_factory_popup_data_from_widget(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_item_factory_set_translate_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_item_factory_from_path(USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_item_factories_path_delete(USER_OBJECT_ s_ifactory_path, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_label_get_type(void); USER_OBJECT_ S_gtk_label_new(USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrs); USER_OBJECT_ S_gtk_label_get_attributes(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_set_use_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_label_get_use_markup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_label_get_use_underline(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_markup_with_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_get_mnemonic_keyval(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_mnemonic_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_label_get_mnemonic_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_text_with_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_set_justify(USER_OBJECT_ s_object, USER_OBJECT_ s_jtype); USER_OBJECT_ S_gtk_label_get_justify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_label_set_line_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap); USER_OBJECT_ S_gtk_label_get_line_wrap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_selectable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_label_get_selectable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_select_region(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset); USER_OBJECT_ S_gtk_label_get_selection_bounds(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_get_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_get_layout_offsets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_label_get(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_parse_uline(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_label_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_label_get_ellipsize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_angle(USER_OBJECT_ s_object, USER_OBJECT_ s_angle); USER_OBJECT_ S_gtk_label_get_angle(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_label_get_width_chars(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_max_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_label_get_max_width_chars(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_single_line_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_single_line_mode); USER_OBJECT_ S_gtk_label_get_single_line_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_get_type(void); USER_OBJECT_ S_gtk_layout_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment); USER_OBJECT_ S_gtk_layout_put(USER_OBJECT_ s_object, USER_OBJECT_ s_child_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_layout_move(USER_OBJECT_ s_object, USER_OBJECT_ s_child_widget, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_layout_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_layout_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_layout_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_layout_freeze(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_thaw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_get_type(void); USER_OBJECT_ S_gtk_list_new(void); USER_OBJECT_ S_gtk_list_insert_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_list_append_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_list_prepend_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_list_remove_items(USER_OBJECT_ s_object, USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_list_remove_items_no_unref(USER_OBJECT_ s_object, USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_list_clear_items(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_list_select_item(USER_OBJECT_ s_object, USER_OBJECT_ s_item); USER_OBJECT_ S_gtk_list_unselect_item(USER_OBJECT_ s_object, USER_OBJECT_ s_item); USER_OBJECT_ S_gtk_list_select_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_list_unselect_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_list_child_position(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_list_set_selection_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_list_extend_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position, USER_OBJECT_ s_auto_start_selection); USER_OBJECT_ S_gtk_list_start_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_end_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_scroll_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_list_scroll_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_list_toggle_add_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_toggle_focus_row(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_toggle_row(USER_OBJECT_ s_object, USER_OBJECT_ s_item); USER_OBJECT_ S_gtk_list_undo_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_end_drag_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_item_get_type(void); USER_OBJECT_ S_gtk_list_item_new(void); USER_OBJECT_ S_gtk_list_item_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_list_item_select(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_item_deselect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_store_get_type(void); USER_OBJECT_ S_gtk_list_store_newv(USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_list_store_set_column_types(USER_OBJECT_ s_object, USER_OBJECT_ s_types); USER_OBJECT_ S_gtk_list_store_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_list_store_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_list_store_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling); USER_OBJECT_ S_gtk_list_store_insert_after(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling); USER_OBJECT_ S_gtk_list_store_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_list_store_append(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_store_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_store_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_list_store_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_new_order); USER_OBJECT_ S_gtk_list_store_swap(USER_OBJECT_ s_object, USER_OBJECT_ s_a, USER_OBJECT_ s_b); USER_OBJECT_ S_gtk_list_store_move_after(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_list_store_move_before(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_check_version(USER_OBJECT_ s_required_major, USER_OBJECT_ s_required_minor, USER_OBJECT_ s_required_micro); USER_OBJECT_ S_gtk_exit(USER_OBJECT_ s_error_code); USER_OBJECT_ S_gtk_disable_setlocale(void); USER_OBJECT_ S_gtk_get_default_language(void); USER_OBJECT_ S_gtk_events_pending(void); USER_OBJECT_ S_gtk_main_do_event(USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_main(void); USER_OBJECT_ S_gtk_main_level(void); USER_OBJECT_ S_gtk_main_quit(void); USER_OBJECT_ S_gtk_main_iteration(void); USER_OBJECT_ S_gtk_main_iteration_do(USER_OBJECT_ s_blocking); USER_OBJECT_ S_gtk_true(void); USER_OBJECT_ S_gtk_false(void); USER_OBJECT_ S_gtk_grab_add(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_grab_get_current(void); USER_OBJECT_ S_gtk_grab_remove(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_init_add(USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_quit_add_destroy(USER_OBJECT_ s_main_level, USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_quit_add(USER_OBJECT_ s_main_level, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_quit_add_full(USER_OBJECT_ s_main_level, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_quit_remove(USER_OBJECT_ s_quit_handler_id); USER_OBJECT_ S_gtk_quit_remove_by_data(USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_timeout_add(USER_OBJECT_ s_interval, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_timeout_add_full(USER_OBJECT_ s_interval, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_timeout_remove(USER_OBJECT_ s_timeout_handler_id); USER_OBJECT_ S_gtk_idle_add(USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_idle_add_priority(USER_OBJECT_ s_priority, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_idle_add_full(USER_OBJECT_ s_priority, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_idle_remove(USER_OBJECT_ s_idle_handler_id); USER_OBJECT_ S_gtk_idle_remove_by_data(USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_input_remove(USER_OBJECT_ s_input_handler_id); USER_OBJECT_ S_gtk_key_snooper_install(USER_OBJECT_ s_snooper, USER_OBJECT_ s_func_data); USER_OBJECT_ S_gtk_key_snooper_remove(USER_OBJECT_ s_snooper_handler_id); USER_OBJECT_ S_gtk_get_current_event(void); USER_OBJECT_ S_gtk_get_current_event_time(void); USER_OBJECT_ S_gtk_get_current_event_state(void); USER_OBJECT_ S_gtk_get_event_widget(USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_propagate_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_menu_get_type(void); USER_OBJECT_ S_gtk_menu_new(void); USER_OBJECT_ S_gtk_menu_popup(USER_OBJECT_ s_object, USER_OBJECT_ s_parent_menu_shell, USER_OBJECT_ s_parent_menu_item, USER_OBJECT_ s_func, USER_OBJECT_ s_data, USER_OBJECT_ s_button, USER_OBJECT_ s_activate_time); USER_OBJECT_ S_gtk_menu_reposition(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_popdown(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_menu_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_menu_get_accel_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_menu_detach(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_get_attach_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_set_tearoff_state(USER_OBJECT_ s_object, USER_OBJECT_ s_torn_off); USER_OBJECT_ S_gtk_menu_get_tearoff_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_menu_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_menu_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_menu_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach); USER_OBJECT_ S_gtk_menu_set_monitor(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num); USER_OBJECT_ S_gtk_menu_bar_get_type(void); USER_OBJECT_ S_gtk_menu_bar_new(void); USER_OBJECT_ S_gtk_menu_bar_get_pack_direction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_bar_set_pack_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_pack_dir); USER_OBJECT_ S_gtk_menu_bar_get_child_pack_direction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_bar_set_child_pack_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_child_pack_dir); USER_OBJECT_ S_gtk_menu_item_get_type(void); USER_OBJECT_ S_gtk_menu_item_new(void); USER_OBJECT_ S_gtk_menu_item_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_menu_item_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_menu_item_set_submenu(USER_OBJECT_ s_object, USER_OBJECT_ s_submenu); USER_OBJECT_ S_gtk_menu_item_get_submenu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_remove_submenu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_select(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_deselect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_toggle_size_request(USER_OBJECT_ s_object, USER_OBJECT_ s_requisition); USER_OBJECT_ S_gtk_menu_item_toggle_size_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation); USER_OBJECT_ S_gtk_menu_item_set_right_justified(USER_OBJECT_ s_object, USER_OBJECT_ s_right_justified); USER_OBJECT_ S_gtk_menu_item_get_right_justified(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path); USER_OBJECT_ S_gtk_menu_item_right_justify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_shell_get_type(void); USER_OBJECT_ S_gtk_menu_shell_append(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_menu_shell_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_menu_shell_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_menu_shell_deactivate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_shell_select_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item); USER_OBJECT_ S_gtk_menu_shell_deselect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_shell_activate_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item, USER_OBJECT_ s_force_deactivate); USER_OBJECT_ S_gtk_menu_shell_select_first(USER_OBJECT_ s_object, USER_OBJECT_ s_search_sensitive); USER_OBJECT_ S_gtk_menu_shell_cancel(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_shell_get_take_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_shell_set_take_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_take_focus); USER_OBJECT_ S_gtk_menu_tool_button_get_type(void); USER_OBJECT_ S_gtk_menu_tool_button_new(USER_OBJECT_ s_icon_widget, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_menu_tool_button_new_from_stock(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_menu_tool_button_set_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_menu); USER_OBJECT_ S_gtk_menu_tool_button_get_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltips, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private); USER_OBJECT_ S_gtk_message_dialog_get_type(void); USER_OBJECT_ S_gtk_message_dialog_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_str); USER_OBJECT_ S_gtk_misc_get_type(void); USER_OBJECT_ S_gtk_misc_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_misc_get_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_misc_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad); USER_OBJECT_ S_gtk_misc_get_padding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_get_type(void); USER_OBJECT_ S_gtk_notebook_new(void); USER_OBJECT_ S_gtk_notebook_append_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label); USER_OBJECT_ S_gtk_notebook_append_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label); USER_OBJECT_ S_gtk_notebook_prepend_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label); USER_OBJECT_ S_gtk_notebook_prepend_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label); USER_OBJECT_ S_gtk_notebook_insert_page(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_notebook_insert_page_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_notebook_remove_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_notebook_get_current_page(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_get_nth_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_notebook_get_n_pages(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_page_num(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_notebook_next_page(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_prev_page(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_set_show_border(USER_OBJECT_ s_object, USER_OBJECT_ s_show_border); USER_OBJECT_ S_gtk_notebook_get_show_border(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_set_show_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_show_tabs); USER_OBJECT_ S_gtk_notebook_get_show_tabs(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_set_tab_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_notebook_get_tab_pos(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_set_homogeneous_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous); USER_OBJECT_ S_gtk_notebook_set_tab_border(USER_OBJECT_ s_object, USER_OBJECT_ s_border_width); USER_OBJECT_ S_gtk_notebook_set_tab_hborder(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_hborder); USER_OBJECT_ S_gtk_notebook_set_tab_vborder(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_vborder); USER_OBJECT_ S_gtk_notebook_set_scrollable(USER_OBJECT_ s_object, USER_OBJECT_ s_scrollable); USER_OBJECT_ S_gtk_notebook_get_scrollable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_popup_enable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_popup_disable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_get_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label); USER_OBJECT_ S_gtk_notebook_set_tab_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_text); USER_OBJECT_ S_gtk_notebook_get_tab_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_get_menu_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_menu_label(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_menu_label); USER_OBJECT_ S_gtk_notebook_set_menu_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_menu_text); USER_OBJECT_ S_gtk_notebook_get_menu_label_text(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_query_tab_label_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_tab_label_packing(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_expand, USER_OBJECT_ s_fill, USER_OBJECT_ s_pack_type); USER_OBJECT_ S_gtk_notebook_reorder_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_notebook_current_page(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_set_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_object_get_type(void); USER_OBJECT_ S_gtk_object_destroy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_old_editable_get_type(void); USER_OBJECT_ S_gtk_old_editable_claim_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_claim, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_old_editable_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_option_menu_get_type(void); USER_OBJECT_ S_gtk_option_menu_new(void); USER_OBJECT_ S_gtk_option_menu_get_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_option_menu_set_menu(USER_OBJECT_ s_object, USER_OBJECT_ s_menu); USER_OBJECT_ S_gtk_option_menu_remove_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_option_menu_get_history(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_option_menu_set_history(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_paned_get_type(void); USER_OBJECT_ S_gtk_paned_add1(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_paned_add2(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_paned_pack1(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_resize, USER_OBJECT_ s_shrink); USER_OBJECT_ S_gtk_paned_pack2(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_resize, USER_OBJECT_ s_shrink); USER_OBJECT_ S_gtk_paned_get_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paned_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_paned_get_child1(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paned_get_child2(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_pixmap_get_type(void); USER_OBJECT_ S_gtk_pixmap_new(USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_pixmap_set(USER_OBJECT_ s_object, USER_OBJECT_ s_val, USER_OBJECT_ s_mask); USER_OBJECT_ S_gtk_pixmap_get(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_pixmap_set_build_insensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_build); USER_OBJECT_ S_gtk_plug_get_type(void); USER_OBJECT_ S_gtk_plug_construct(USER_OBJECT_ s_object, USER_OBJECT_ s_socket_id); USER_OBJECT_ S_gtk_plug_new(USER_OBJECT_ s_socket_id); USER_OBJECT_ S_gtk_plug_construct_for_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display, USER_OBJECT_ s_socket_id); USER_OBJECT_ S_gtk_plug_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_socket_id); USER_OBJECT_ S_gtk_plug_get_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_preview_get_type(void); USER_OBJECT_ S_gtk_preview_uninit(void); USER_OBJECT_ S_gtk_preview_new(USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_preview_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_preview_put(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_gc, USER_OBJECT_ s_srcx, USER_OBJECT_ s_srcy, USER_OBJECT_ s_destx, USER_OBJECT_ s_desty, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_preview_draw_row(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_y, USER_OBJECT_ s_w); USER_OBJECT_ S_gtk_preview_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_preview_set_gamma(USER_OBJECT_ s_gamma); USER_OBJECT_ S_gtk_preview_set_color_cube(USER_OBJECT_ s_nred_shades, USER_OBJECT_ s_ngreen_shades, USER_OBJECT_ s_nblue_shades, USER_OBJECT_ s_ngray_shades); USER_OBJECT_ S_gtk_preview_set_install_cmap(USER_OBJECT_ s_install_cmap); USER_OBJECT_ S_gtk_preview_set_reserved(USER_OBJECT_ s_nreserved); USER_OBJECT_ S_gtk_preview_set_dither(USER_OBJECT_ s_object, USER_OBJECT_ s_dither); USER_OBJECT_ S_gtk_preview_get_visual(void); USER_OBJECT_ S_gtk_preview_get_cmap(void); USER_OBJECT_ S_gtk_preview_get_info(void); USER_OBJECT_ S_gtk_preview_reset(void); USER_OBJECT_ S_gtk_progress_get_type(void); USER_OBJECT_ S_gtk_progress_set_show_text(USER_OBJECT_ s_object, USER_OBJECT_ s_show_text); USER_OBJECT_ S_gtk_progress_set_text_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_x_align, USER_OBJECT_ s_y_align); USER_OBJECT_ S_gtk_progress_set_format_string(USER_OBJECT_ s_object, USER_OBJECT_ s_format); USER_OBJECT_ S_gtk_progress_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_progress_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_min, USER_OBJECT_ s_max); USER_OBJECT_ S_gtk_progress_set_percentage(USER_OBJECT_ s_object, USER_OBJECT_ s_percentage); USER_OBJECT_ S_gtk_progress_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_progress_get_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_set_activity_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_activity_mode); USER_OBJECT_ S_gtk_progress_get_current_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_get_text_from_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_progress_get_current_percentage(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_get_percentage_from_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_progress_bar_get_type(void); USER_OBJECT_ S_gtk_progress_bar_new(void); USER_OBJECT_ S_gtk_progress_bar_pulse(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_bar_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_progress_bar_set_fraction(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction); USER_OBJECT_ S_gtk_progress_bar_set_pulse_step(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction); USER_OBJECT_ S_gtk_progress_bar_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_progress_bar_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_bar_get_fraction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_bar_get_pulse_step(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_bar_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_progress_bar_new_with_adjustment(USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_progress_bar_set_bar_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_progress_bar_set_discrete_blocks(USER_OBJECT_ s_object, USER_OBJECT_ s_blocks); USER_OBJECT_ S_gtk_progress_bar_set_activity_step(USER_OBJECT_ s_object, USER_OBJECT_ s_step); USER_OBJECT_ S_gtk_progress_bar_set_activity_blocks(USER_OBJECT_ s_object, USER_OBJECT_ s_blocks); USER_OBJECT_ S_gtk_progress_bar_update(USER_OBJECT_ s_object, USER_OBJECT_ s_percentage); USER_OBJECT_ S_gtk_progress_bar_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_progress_bar_get_ellipsize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_action_get_type(void); USER_OBJECT_ S_gtk_radio_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_radio_action_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_action_get_current_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_button_get_type(void); USER_OBJECT_ S_gtk_radio_button_new(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_button_new_from_widget(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_button_new_with_label(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_button_new_with_label_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_button_new_with_mnemonic(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_button_new_with_mnemonic_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_button_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_button_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_menu_item_get_type(void); USER_OBJECT_ S_gtk_radio_menu_item_new(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_menu_item_new_with_label(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_menu_item_new_with_mnemonic(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_menu_item_new_from_widget(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_menu_item_new_with_mnemonic_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_menu_item_new_with_label_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_radio_menu_item_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_menu_item_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_radio_tool_button_get_type(void); USER_OBJECT_ S_gtk_radio_tool_button_new(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_tool_button_new_from_stock(USER_OBJECT_ s_group, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_radio_tool_button_new_from_widget(USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_radio_tool_button_new_with_stock_from_widget(USER_OBJECT_ s_group, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_radio_tool_button_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_get_type(void); USER_OBJECT_ S_gtk_range_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy); USER_OBJECT_ S_gtk_range_get_update_policy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_range_get_adjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_inverted(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_range_get_inverted(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_increments(USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_range_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min, USER_OBJECT_ s_max); USER_OBJECT_ S_gtk_range_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_range_get_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_add_default_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_rc_set_default_files(USER_OBJECT_ s_filenames); USER_OBJECT_ S_gtk_rc_get_default_files(void); USER_OBJECT_ S_gtk_rc_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_get_style_by_paths(USER_OBJECT_ s_settings, USER_OBJECT_ s_widget_path, USER_OBJECT_ s_class_path, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_rc_reparse_all_for_settings(USER_OBJECT_ s_settings, USER_OBJECT_ s_force_load); USER_OBJECT_ S_gtk_rc_reset_styles(USER_OBJECT_ s_settings); USER_OBJECT_ S_gtk_rc_find_pixmap_in_path(USER_OBJECT_ s_settings, USER_OBJECT_ s_scanner, USER_OBJECT_ s_pixmap_file); USER_OBJECT_ S_gtk_rc_parse(USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_rc_parse_string(USER_OBJECT_ s_rc_string); USER_OBJECT_ S_gtk_rc_reparse_all(void); USER_OBJECT_ S_gtk_rc_add_widget_name_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_rc_add_widget_class_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_rc_add_class_style(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_rc_style_get_type(void); USER_OBJECT_ S_gtk_rc_style_new(void); USER_OBJECT_ S_gtk_rc_style_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_style_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_style_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_find_module_in_path(USER_OBJECT_ s_module_file); USER_OBJECT_ S_gtk_rc_get_theme_dir(void); USER_OBJECT_ S_gtk_rc_get_module_dir(void); USER_OBJECT_ S_gtk_rc_get_im_module_path(void); USER_OBJECT_ S_gtk_rc_get_im_module_file(void); USER_OBJECT_ S_gtk_rc_scanner_new(void); USER_OBJECT_ S_gtk_rc_parse_color(USER_OBJECT_ s_scanner, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_rc_parse_state(USER_OBJECT_ s_scanner); USER_OBJECT_ S_gtk_rc_parse_priority(USER_OBJECT_ s_scanner); USER_OBJECT_ S_gtk_ruler_get_type(void); USER_OBJECT_ S_gtk_ruler_set_metric(USER_OBJECT_ s_object, USER_OBJECT_ s_metric); USER_OBJECT_ S_gtk_ruler_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_position, USER_OBJECT_ s_max_size); USER_OBJECT_ S_gtk_ruler_get_metric(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_ruler_get_range(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_get_type(void); USER_OBJECT_ S_gtk_scale_set_digits(USER_OBJECT_ s_object, USER_OBJECT_ s_digits); USER_OBJECT_ S_gtk_scale_get_digits(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_set_draw_value(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_value); USER_OBJECT_ S_gtk_scale_get_draw_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_set_value_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_scale_get_value_pos(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_get_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_get_layout_offsets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrollbar_get_type(void); USER_OBJECT_ S_gtk_scrolled_window_get_type(void); USER_OBJECT_ S_gtk_scrolled_window_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment); USER_OBJECT_ S_gtk_scrolled_window_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment); USER_OBJECT_ S_gtk_scrolled_window_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment); USER_OBJECT_ S_gtk_scrolled_window_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_get_hscrollbar(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_get_vscrollbar(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_set_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_hscrollbar_policy, USER_OBJECT_ s_vscrollbar_policy); USER_OBJECT_ S_gtk_scrolled_window_get_policy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_set_placement(USER_OBJECT_ s_object, USER_OBJECT_ s_window_placement); USER_OBJECT_ S_gtk_scrolled_window_get_placement(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_scrolled_window_get_shadow_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scrolled_window_add_with_viewport(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_target_list_new(USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_target_list_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_target_list_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_target_list_add(USER_OBJECT_ s_object, USER_OBJECT_ s_target, USER_OBJECT_ s_flags, USER_OBJECT_ s_info); USER_OBJECT_ S_gtk_target_list_add_table(USER_OBJECT_ s_object, USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_target_list_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_target_list_find(USER_OBJECT_ s_object, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_selection_owner_set(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_selection_owner_set_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_widget, USER_OBJECT_ s_selection, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_selection_add_target(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_target, USER_OBJECT_ s_info); USER_OBJECT_ S_gtk_selection_add_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_selection_clear_targets(USER_OBJECT_ s_object, USER_OBJECT_ s_selection); USER_OBJECT_ S_gtk_selection_convert(USER_OBJECT_ s_object, USER_OBJECT_ s_selection, USER_OBJECT_ s_target, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_selection_data_set(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_selection_data_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_len); USER_OBJECT_ S_gtk_selection_data_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_targets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_targets_include_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_remove_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_clear(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_selection_data_get_type(void); USER_OBJECT_ S_gtk_selection_data_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_set_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_selection_data_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_set_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_uris); USER_OBJECT_ S_gtk_selection_data_get_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_targets_include_image(USER_OBJECT_ s_object, USER_OBJECT_ s_writable); USER_OBJECT_ S_gtk_separator_get_type(void); USER_OBJECT_ S_gtk_separator_menu_item_get_type(void); USER_OBJECT_ S_gtk_separator_menu_item_new(void); USER_OBJECT_ S_gtk_separator_tool_item_get_type(void); USER_OBJECT_ S_gtk_separator_tool_item_new(void); USER_OBJECT_ S_gtk_separator_tool_item_get_draw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_separator_tool_item_set_draw(USER_OBJECT_ s_object, USER_OBJECT_ s_draw); USER_OBJECT_ S_gtk_settings_get_type(void); USER_OBJECT_ S_gtk_settings_get_default(void); USER_OBJECT_ S_gtk_settings_get_for_screen(USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_settings_install_property(USER_OBJECT_ s_pspec); USER_OBJECT_ S_gtk_rc_property_parse_color(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring); USER_OBJECT_ S_gtk_rc_property_parse_enum(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring); USER_OBJECT_ S_gtk_rc_property_parse_flags(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring); USER_OBJECT_ S_gtk_rc_property_parse_requisition(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring); USER_OBJECT_ S_gtk_rc_property_parse_border(USER_OBJECT_ s_pspec, USER_OBJECT_ s_gstring); USER_OBJECT_ S_gtk_settings_set_property_value(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_svalue); USER_OBJECT_ S_gtk_settings_set_string_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_string, USER_OBJECT_ s_origin); USER_OBJECT_ S_gtk_settings_set_long_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_long, USER_OBJECT_ s_origin); USER_OBJECT_ S_gtk_settings_set_double_property(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_v_double, USER_OBJECT_ s_origin); USER_OBJECT_ S_gtk_size_group_get_type(void); USER_OBJECT_ S_gtk_size_group_new(USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_size_group_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_size_group_get_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_size_group_set_ignore_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_ignore_hidden); USER_OBJECT_ S_gtk_size_group_get_ignore_hidden(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_size_group_add_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_size_group_remove_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_socket_get_type(void); USER_OBJECT_ S_gtk_socket_new(void); USER_OBJECT_ S_gtk_socket_add_id(USER_OBJECT_ s_object, USER_OBJECT_ s_window_id); USER_OBJECT_ S_gtk_socket_get_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_socket_steal(USER_OBJECT_ s_object, USER_OBJECT_ s_wid); USER_OBJECT_ S_gtk_spin_button_get_type(void); USER_OBJECT_ S_gtk_spin_button_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment, USER_OBJECT_ s_climb_rate, USER_OBJECT_ s_digits); USER_OBJECT_ S_gtk_spin_button_new(USER_OBJECT_ s_adjustment, USER_OBJECT_ s_climb_rate, USER_OBJECT_ s_digits); USER_OBJECT_ S_gtk_spin_button_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step); USER_OBJECT_ S_gtk_spin_button_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_spin_button_get_adjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_digits(USER_OBJECT_ s_object, USER_OBJECT_ s_digits); USER_OBJECT_ S_gtk_spin_button_get_digits(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_increments(USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_spin_button_get_increments(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_range(USER_OBJECT_ s_object, USER_OBJECT_ s_min, USER_OBJECT_ s_max); USER_OBJECT_ S_gtk_spin_button_get_range(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_get_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_get_value_as_int(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_spin_button_set_update_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_policy); USER_OBJECT_ S_gtk_spin_button_get_update_policy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_numeric(USER_OBJECT_ s_object, USER_OBJECT_ s_numeric); USER_OBJECT_ S_gtk_spin_button_get_numeric(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_spin(USER_OBJECT_ s_object, USER_OBJECT_ s_direction, USER_OBJECT_ s_increment); USER_OBJECT_ S_gtk_spin_button_set_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap); USER_OBJECT_ S_gtk_spin_button_get_wrap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_set_snap_to_ticks(USER_OBJECT_ s_object, USER_OBJECT_ s_snap_to_ticks); USER_OBJECT_ S_gtk_spin_button_get_snap_to_ticks(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spin_button_update(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_statusbar_get_type(void); USER_OBJECT_ S_gtk_statusbar_new(void); USER_OBJECT_ S_gtk_statusbar_get_context_id(USER_OBJECT_ s_object, USER_OBJECT_ s_context_description); USER_OBJECT_ S_gtk_statusbar_push(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_statusbar_pop(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id); USER_OBJECT_ S_gtk_statusbar_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_message_id); USER_OBJECT_ S_gtk_statusbar_set_has_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_statusbar_get_has_resize_grip(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_stock_add(USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_stock_add_static(USER_OBJECT_ s_items); USER_OBJECT_ S_gtk_stock_lookup(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_stock_list_ids(void); USER_OBJECT_ S_gtk_stock_item_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_stock_item_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_stock_set_translate_func(USER_OBJECT_ s_domain, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_style_get_type(void); USER_OBJECT_ S_gtk_style_new(void); USER_OBJECT_ S_gtk_style_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_style_detach(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_get_font(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_set_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font); USER_OBJECT_ S_gtk_style_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type); USER_OBJECT_ S_gtk_style_apply_default_background(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_set_bg, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_style_lookup_icon_set(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_style_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_direction, USER_OBJECT_ s_state, USER_OBJECT_ s_size, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail); USER_OBJECT_ S_gtk_draw_hline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_draw_vline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_y1, USER_OBJECT_ s_y2, USER_OBJECT_ s_x); USER_OBJECT_ S_gtk_draw_shadow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_points, USER_OBJECT_ s_fill); USER_OBJECT_ S_gtk_draw_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_fill, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_diamond(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_flat_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_check(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_option(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_shadow_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width); USER_OBJECT_ S_gtk_draw_box_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width); USER_OBJECT_ S_gtk_draw_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side); USER_OBJECT_ S_gtk_draw_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_slider(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_draw_handle(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_draw_expander(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_is_open); USER_OBJECT_ S_gtk_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_use_text, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout); USER_OBJECT_ S_gtk_draw_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_edge, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_hline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_paint_vline(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_y1, USER_OBJECT_ s_y2, USER_OBJECT_ s_x); USER_OBJECT_ S_gtk_paint_shadow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_points, USER_OBJECT_ s_fill); USER_OBJECT_ S_gtk_paint_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_fill, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_diamond(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_flat_box(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_check(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_option(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_shadow_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width); USER_OBJECT_ S_gtk_paint_box_gap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width); USER_OBJECT_ S_gtk_paint_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side); USER_OBJECT_ S_gtk_paint_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paint_slider(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_paint_handle(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_paint_expander(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_expander_style); USER_OBJECT_ S_gtk_paint_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_use_text, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout); USER_OBJECT_ S_gtk_paint_resize_grip(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_edge, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_border_get_type(void); USER_OBJECT_ S_gtk_border_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_border_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_apply_default_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_set_bg, USER_OBJECT_ s_area, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_draw_string(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_paint_string(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_draw_insertion_cursor(USER_OBJECT_ s_widget, USER_OBJECT_ s_drawable, USER_OBJECT_ s_area, USER_OBJECT_ s_location, USER_OBJECT_ s_is_primary, USER_OBJECT_ s_direction, USER_OBJECT_ s_draw_arrow); USER_OBJECT_ S_gtk_table_get_type(void); USER_OBJECT_ S_gtk_table_new(USER_OBJECT_ s_rows, USER_OBJECT_ s_columns, USER_OBJECT_ s_homogeneous); USER_OBJECT_ S_gtk_table_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_rows, USER_OBJECT_ s_columns); USER_OBJECT_ S_gtk_table_attach(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach, USER_OBJECT_ s_xoptions, USER_OBJECT_ s_yoptions, USER_OBJECT_ s_xpadding, USER_OBJECT_ s_ypadding); USER_OBJECT_ S_gtk_table_attach_defaults(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_left_attach, USER_OBJECT_ s_right_attach, USER_OBJECT_ s_top_attach, USER_OBJECT_ s_bottom_attach); USER_OBJECT_ S_gtk_table_set_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_table_get_row_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_gtk_table_set_col_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_table_get_col_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_table_set_row_spacings(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_table_get_default_row_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_table_set_col_spacings(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_table_get_default_col_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_table_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous); USER_OBJECT_ S_gtk_table_get_homogeneous(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tearoff_menu_item_get_type(void); USER_OBJECT_ S_gtk_tearoff_menu_item_new(void); USER_OBJECT_ S_gtk_text_buffer_get_type(void); USER_OBJECT_ S_gtk_text_buffer_new(USER_OBJECT_ s_table); USER_OBJECT_ S_gtk_text_buffer_get_line_count(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_char_count(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_tag_table(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len); USER_OBJECT_ S_gtk_text_buffer_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_len); USER_OBJECT_ S_gtk_text_buffer_insert_at_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len); USER_OBJECT_ S_gtk_text_buffer_insert_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_insert_interactive_at_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_insert_range(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_insert_range_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_delete_interactive(USER_OBJECT_ s_object, USER_OBJECT_ s_start_iter, USER_OBJECT_ s_end_iter, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_include_hidden_chars); USER_OBJECT_ S_gtk_text_buffer_get_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_include_hidden_chars); USER_OBJECT_ S_gtk_text_buffer_insert_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_text_buffer_insert_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_anchor); USER_OBJECT_ S_gtk_text_buffer_create_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_buffer_create_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark_name, USER_OBJECT_ s_where, USER_OBJECT_ s_left_gravity); USER_OBJECT_ S_gtk_text_buffer_move_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_where); USER_OBJECT_ S_gtk_text_buffer_delete_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark); USER_OBJECT_ S_gtk_text_buffer_get_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_text_buffer_move_mark_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_where); USER_OBJECT_ S_gtk_text_buffer_delete_mark_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_text_buffer_get_insert(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_selection_bound(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_place_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_where); USER_OBJECT_ S_gtk_text_buffer_select_range(USER_OBJECT_ s_object, USER_OBJECT_ s_ins, USER_OBJECT_ s_bound); USER_OBJECT_ S_gtk_text_buffer_apply_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_remove_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_apply_tag_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_remove_tag_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_remove_all_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number, USER_OBJECT_ s_char_offset); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number, USER_OBJECT_ s_byte_index); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_offset); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number); USER_OBJECT_ S_gtk_text_buffer_get_start_iter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_end_iter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_bounds(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark); USER_OBJECT_ S_gtk_text_buffer_get_iter_at_child_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_anchor); USER_OBJECT_ S_gtk_text_buffer_get_modified(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_set_modified(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_text_buffer_add_selection_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard); USER_OBJECT_ S_gtk_text_buffer_remove_selection_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard); USER_OBJECT_ S_gtk_text_buffer_cut_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_copy_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard); USER_OBJECT_ S_gtk_text_buffer_paste_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard, USER_OBJECT_ s_override_location, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_get_selection_bounds(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_delete_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_interactive, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_buffer_begin_user_action(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_end_user_action(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_child_anchor_get_type(void); USER_OBJECT_ S_gtk_text_child_anchor_new(void); USER_OBJECT_ S_gtk_text_child_anchor_get_widgets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_child_anchor_get_deleted(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_backspace(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_interactive, USER_OBJECT_ s_default_editable); USER_OBJECT_ S_gtk_text_iter_get_buffer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_type(void); USER_OBJECT_ S_gtk_text_iter_get_offset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_line_offset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_line_index(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_visible_line_offset(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_visible_line_index(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_char(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_iter_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_iter_get_visible_slice(USER_OBJECT_ s_object, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_iter_get_visible_text(USER_OBJECT_ s_object, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_iter_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_marks(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_child_anchor(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_toggled_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_toggled_on); USER_OBJECT_ S_gtk_text_iter_begins_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_ends_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_toggles_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_has_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_get_tags(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_default_setting); USER_OBJECT_ S_gtk_text_iter_can_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_default_editability); USER_OBJECT_ S_gtk_text_iter_starts_word(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_ends_word(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_inside_word(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_starts_sentence(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_ends_sentence(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_inside_sentence(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_starts_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_ends_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_is_cursor_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_chars_in_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_bytes_in_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_get_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_values); USER_OBJECT_ S_gtk_text_iter_get_language(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_is_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_is_start(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_char(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_char(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_word_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_word_start(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_word_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_word_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_visible_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_visible_line(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_visible_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_visible_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_visible_word_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_visible_word_start(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_visible_word_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_visible_word_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_sentence_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_sentence_start(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_sentence_ends(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_sentence_starts(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_cursor_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_cursor_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_forward_visible_cursor_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_backward_visible_cursor_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_visible_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_backward_visible_cursor_positions(USER_OBJECT_ s_object, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_iter_set_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_offset); USER_OBJECT_ S_gtk_text_iter_set_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line_number); USER_OBJECT_ S_gtk_text_iter_set_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_on_line); USER_OBJECT_ S_gtk_text_iter_set_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_byte_on_line); USER_OBJECT_ S_gtk_text_iter_forward_to_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_forward_to_line_end(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_iter_set_visible_line_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_char_on_line); USER_OBJECT_ S_gtk_text_iter_set_visible_line_index(USER_OBJECT_ s_object, USER_OBJECT_ s_byte_on_line); USER_OBJECT_ S_gtk_text_iter_forward_to_tag_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_backward_to_tag_toggle(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_iter_forward_find_char(USER_OBJECT_ s_object, USER_OBJECT_ s_pred, USER_OBJECT_ s_user_data, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_text_iter_backward_find_char(USER_OBJECT_ s_object, USER_OBJECT_ s_pred, USER_OBJECT_ s_user_data, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_text_iter_forward_search(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_flags, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_text_iter_backward_search(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_flags, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_text_iter_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_rhs); USER_OBJECT_ S_gtk_text_iter_compare(USER_OBJECT_ s_object, USER_OBJECT_ s_rhs); USER_OBJECT_ S_gtk_text_iter_in_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_iter_order(USER_OBJECT_ s_object, USER_OBJECT_ s_second); USER_OBJECT_ S_gtk_text_mark_get_type(void); USER_OBJECT_ S_gtk_text_mark_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_text_mark_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_mark_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_mark_get_deleted(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_mark_get_buffer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_mark_get_left_gravity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_tag_get_type(void); USER_OBJECT_ S_gtk_text_tag_new(USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_text_tag_get_priority(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_tag_set_priority(USER_OBJECT_ s_object, USER_OBJECT_ s_priority); USER_OBJECT_ S_gtk_text_tag_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event_object, USER_OBJECT_ s_event, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_attributes_new(void); USER_OBJECT_ S_gtk_text_attributes_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_attributes_copy_values(USER_OBJECT_ s_object, USER_OBJECT_ s_dest); USER_OBJECT_ S_gtk_text_attributes_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_attributes_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_attributes_get_type(void); USER_OBJECT_ S_gtk_text_tag_table_get_type(void); USER_OBJECT_ S_gtk_text_tag_table_new(void); USER_OBJECT_ S_gtk_text_tag_table_add(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_tag_table_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_tag); USER_OBJECT_ S_gtk_text_tag_table_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_text_tag_table_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_text_tag_table_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_get_type(void); USER_OBJECT_ S_gtk_text_view_new(void); USER_OBJECT_ S_gtk_text_view_new_with_buffer(USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_text_view_set_buffer(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_text_view_get_buffer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_scroll_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_within_margin, USER_OBJECT_ s_use_align, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_text_view_scroll_to_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_within_margin, USER_OBJECT_ s_use_align, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_text_view_scroll_mark_onscreen(USER_OBJECT_ s_object, USER_OBJECT_ s_mark); USER_OBJECT_ S_gtk_text_view_move_mark_onscreen(USER_OBJECT_ s_object, USER_OBJECT_ s_mark); USER_OBJECT_ S_gtk_text_view_place_cursor_onscreen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_get_visible_rect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_cursor_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_text_view_get_cursor_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_get_iter_location(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_get_iter_at_location(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_text_view_get_iter_at_position(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_text_view_get_line_yrange(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_get_line_at_y(USER_OBJECT_ s_object, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_text_view_buffer_to_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_win, USER_OBJECT_ s_buffer_x, USER_OBJECT_ s_buffer_y); USER_OBJECT_ S_gtk_text_view_window_to_buffer_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_win, USER_OBJECT_ s_window_x, USER_OBJECT_ s_window_y); USER_OBJECT_ S_gtk_text_view_get_window(USER_OBJECT_ s_object, USER_OBJECT_ s_win); USER_OBJECT_ S_gtk_text_view_get_window_type(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_text_view_set_border_window_size(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_text_view_get_border_window_size(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_text_view_forward_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_backward_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_forward_display_line_end(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_backward_display_line_start(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_starts_display_line(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_text_view_move_visually(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_count); USER_OBJECT_ S_gtk_text_view_add_child_at_anchor(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_anchor); USER_OBJECT_ S_gtk_text_view_add_child_in_window(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_which_window, USER_OBJECT_ s_xpos, USER_OBJECT_ s_ypos); USER_OBJECT_ S_gtk_text_view_move_child(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_xpos, USER_OBJECT_ s_ypos); USER_OBJECT_ S_gtk_text_view_set_wrap_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_mode); USER_OBJECT_ S_gtk_text_view_get_wrap_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_editable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_text_view_get_editable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_overwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_overwrite); USER_OBJECT_ S_gtk_text_view_get_overwrite(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_accepts_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_accepts_tab); USER_OBJECT_ S_gtk_text_view_get_accepts_tab(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_pixels_above_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_above_lines); USER_OBJECT_ S_gtk_text_view_get_pixels_above_lines(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_pixels_below_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_below_lines); USER_OBJECT_ S_gtk_text_view_get_pixels_below_lines(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_pixels_inside_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixels_inside_wrap); USER_OBJECT_ S_gtk_text_view_get_pixels_inside_wrap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_justification(USER_OBJECT_ s_object, USER_OBJECT_ s_justification); USER_OBJECT_ S_gtk_text_view_get_justification(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_left_margin); USER_OBJECT_ S_gtk_text_view_get_left_margin(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_right_margin); USER_OBJECT_ S_gtk_text_view_get_right_margin(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent); USER_OBJECT_ S_gtk_text_view_get_indent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_set_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_tabs); USER_OBJECT_ S_gtk_text_view_get_tabs(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_view_get_default_attributes(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tips_query_get_type(void); USER_OBJECT_ S_gtk_tips_query_new(void); USER_OBJECT_ S_gtk_tips_query_start_query(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tips_query_stop_query(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tips_query_set_caller(USER_OBJECT_ s_object, USER_OBJECT_ s_caller); USER_OBJECT_ S_gtk_tips_query_set_labels(USER_OBJECT_ s_object, USER_OBJECT_ s_label_inactive, USER_OBJECT_ s_label_no_tip); USER_OBJECT_ S_gtk_toggle_action_get_type(void); USER_OBJECT_ S_gtk_toggle_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_toggle_action_toggled(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_action_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_toggle_action_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_action_set_draw_as_radio(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_as_radio); USER_OBJECT_ S_gtk_toggle_action_get_draw_as_radio(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_button_get_type(void); USER_OBJECT_ S_gtk_toggle_button_new(void); USER_OBJECT_ S_gtk_toggle_button_new_with_label(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_toggle_button_new_with_mnemonic(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_toggle_button_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_draw_indicator); USER_OBJECT_ S_gtk_toggle_button_get_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_button_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_toggle_button_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_button_toggled(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_button_set_inconsistent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_toggle_button_get_inconsistent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toggle_button_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_toggle_tool_button_get_type(void); USER_OBJECT_ S_gtk_toggle_tool_button_new(void); USER_OBJECT_ S_gtk_toggle_tool_button_new_from_stock(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_toggle_tool_button_set_active(USER_OBJECT_ s_object, USER_OBJECT_ s_is_active); USER_OBJECT_ S_gtk_toggle_tool_button_get_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_type(void); USER_OBJECT_ S_gtk_toolbar_new(void); USER_OBJECT_ S_gtk_toolbar_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_toolbar_get_item_index(USER_OBJECT_ s_object, USER_OBJECT_ s_item); USER_OBJECT_ S_gtk_toolbar_get_n_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_nth_item(USER_OBJECT_ s_object, USER_OBJECT_ s_n); USER_OBJECT_ S_gtk_toolbar_get_drop_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_toolbar_set_drop_highlight_item(USER_OBJECT_ s_object, USER_OBJECT_ s_tool_item, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_toolbar_set_show_arrow(USER_OBJECT_ s_object, USER_OBJECT_ s_show_arrow); USER_OBJECT_ S_gtk_toolbar_get_show_arrow(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_relief_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_append_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_toolbar_prepend_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_toolbar_insert_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_insert_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_append_space(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_prepend_space(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_insert_space(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_remove_space(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_append_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_toolbar_prepend_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_toolbar_insert_element(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_append_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text); USER_OBJECT_ S_gtk_toolbar_prepend_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text); USER_OBJECT_ S_gtk_toolbar_insert_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_toolbar_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_toolbar_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_toolbar_set_icon_size(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size); USER_OBJECT_ S_gtk_toolbar_set_tooltips(USER_OBJECT_ s_object, USER_OBJECT_ s_enable); USER_OBJECT_ S_gtk_toolbar_unset_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_unset_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_toolbar_get_tooltips(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_get_type(void); USER_OBJECT_ S_gtk_tool_button_new(USER_OBJECT_ s_icon_widget, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_tool_button_new_from_stock(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_tool_button_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_tool_button_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_use_underline); USER_OBJECT_ S_gtk_tool_button_get_use_underline(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_set_stock_id(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_tool_button_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_tool_button_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_get_stock_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_set_icon_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_widget); USER_OBJECT_ S_gtk_tool_button_get_icon_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_button_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget); USER_OBJECT_ S_gtk_tool_button_get_label_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_type(void); USER_OBJECT_ S_gtk_tool_item_new(void); USER_OBJECT_ S_gtk_tool_item_set_homogeneous(USER_OBJECT_ s_object, USER_OBJECT_ s_homogeneous); USER_OBJECT_ S_gtk_tool_item_get_homogeneous(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tool_item_get_expand(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltips, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private); USER_OBJECT_ S_gtk_tool_item_set_use_drag_window(USER_OBJECT_ s_object, USER_OBJECT_ s_use_drag_window); USER_OBJECT_ S_gtk_tool_item_get_use_drag_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_visible_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_horizontal); USER_OBJECT_ S_gtk_tool_item_get_visible_horizontal(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_visible_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_vertical); USER_OBJECT_ S_gtk_tool_item_get_visible_vertical(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_is_important(USER_OBJECT_ s_object, USER_OBJECT_ s_is_important); USER_OBJECT_ S_gtk_tool_item_get_is_important(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_toolbar_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_relief_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_retrieve_proxy_menu_item(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_set_proxy_menu_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item_id, USER_OBJECT_ s_menu_item); USER_OBJECT_ S_gtk_tool_item_get_proxy_menu_item(USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item_id); USER_OBJECT_ S_gtk_tool_item_rebuild_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tooltips_get_type(void); USER_OBJECT_ S_gtk_tooltips_new(void); USER_OBJECT_ S_gtk_tooltips_enable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tooltips_disable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tooltips_set_delay(USER_OBJECT_ s_object, USER_OBJECT_ s_delay); USER_OBJECT_ S_gtk_tooltips_set_tip(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private); USER_OBJECT_ S_gtk_tooltips_data_get(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_tooltips_force_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tooltips_get_info_from_tip_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_drag_source_get_type(void); USER_OBJECT_ S_gtk_tree_drag_source_row_draggable(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_drag_source_drag_data_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_drag_source_drag_data_get(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_drag_dest_get_type(void); USER_OBJECT_ S_gtk_tree_drag_dest_drag_data_received(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_selection_data); USER_OBJECT_ S_gtk_tree_drag_dest_row_drop_possible(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_path, USER_OBJECT_ s_selection_data); USER_OBJECT_ S_gtk_tree_set_row_drag_data(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_model, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_get_row_drag_data(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_new(void); USER_OBJECT_ S_gtk_tree_path_new_from_string(USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_path_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_new_first(void); USER_OBJECT_ S_gtk_tree_path_append_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_tree_path_prepend_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_tree_path_get_depth(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_compare(USER_OBJECT_ s_object, USER_OBJECT_ s_b); USER_OBJECT_ S_gtk_tree_path_next(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_prev(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_up(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_down(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_path_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant); USER_OBJECT_ S_gtk_tree_path_is_descendant(USER_OBJECT_ s_object, USER_OBJECT_ s_ancestor); USER_OBJECT_ S_gtk_tree_row_reference_get_type(void); USER_OBJECT_ S_gtk_tree_row_reference_new(USER_OBJECT_ s_model, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_row_reference_new_proxy(USER_OBJECT_ s_proxy, USER_OBJECT_ s_model, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_row_reference_get_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_row_reference_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_row_reference_valid(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_row_reference_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_row_reference_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_row_reference_inserted(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_row_reference_deleted(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_row_reference_reordered(USER_OBJECT_ s_proxy, USER_OBJECT_ s_path, USER_OBJECT_ s_iter, USER_OBJECT_ s_new_order); USER_OBJECT_ S_gtk_tree_iter_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_iter_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_iter_get_type(void); USER_OBJECT_ S_gtk_tree_model_get_type(void); USER_OBJECT_ S_gtk_tree_model_get_flags(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_get_n_columns(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_get_column_type(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_tree_model_get_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_model_get_iter_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_path_string); USER_OBJECT_ S_gtk_tree_model_get_string_from_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_get_iter_root(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_get_iter_first(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_get_path(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_get_value(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_model_iter_next(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_iter_children(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_tree_model_iter_has_child(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_iter_n_children(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_iter_nth_child(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_n); USER_OBJECT_ S_gtk_tree_model_iter_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_tree_model_ref_node(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_unref_node(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_tree_model_row_changed(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_row_inserted(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_row_has_child_toggled(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_model_row_deleted(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_model_rows_reordered(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter, USER_OBJECT_ s_new_order); USER_OBJECT_ S_gtk_tree_model_filter_get_type(void); USER_OBJECT_ S_gtk_tree_model_filter_new(USER_OBJECT_ s_child_model, USER_OBJECT_ s_root); USER_OBJECT_ S_gtk_tree_model_filter_set_visible_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_model_filter_set_modify_func(USER_OBJECT_ s_object, USER_OBJECT_ s_types, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_model_filter_set_visible_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_model_filter_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_filter_convert_child_iter_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_child_iter); USER_OBJECT_ S_gtk_tree_model_filter_convert_iter_to_child_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_iter); USER_OBJECT_ S_gtk_tree_model_filter_convert_child_path_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_child_path); USER_OBJECT_ S_gtk_tree_model_filter_convert_path_to_child_path(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_path); USER_OBJECT_ S_gtk_tree_model_filter_refilter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_filter_clear_cache(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_sort_get_type(void); USER_OBJECT_ S_gtk_tree_model_sort_new_with_model(USER_OBJECT_ s_child_model); USER_OBJECT_ S_gtk_tree_model_sort_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_sort_convert_child_path_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_child_path); USER_OBJECT_ S_gtk_tree_model_sort_convert_child_iter_to_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_child_iter); USER_OBJECT_ S_gtk_tree_model_sort_convert_path_to_child_path(USER_OBJECT_ s_object, USER_OBJECT_ s_sorted_path); USER_OBJECT_ S_gtk_tree_model_sort_convert_iter_to_child_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_sorted_iter); USER_OBJECT_ S_gtk_tree_model_sort_reset_default_sort_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_sort_clear_cache(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_model_sort_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_selection_get_type(void); USER_OBJECT_ S_gtk_tree_selection_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_tree_selection_get_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_set_select_function(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_selection_get_user_data(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_get_tree_view(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_get_selected(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_get_selected_rows(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_count_selected_rows(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_selected_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_selection_select_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_selection_unselect_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_selection_select_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_selection_unselect_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_selection_path_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_selection_iter_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_selection_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_select_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start_path, USER_OBJECT_ s_end_path); USER_OBJECT_ S_gtk_tree_selection_unselect_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start_path, USER_OBJECT_ s_end_path); USER_OBJECT_ S_gtk_tree_sortable_get_type(void); USER_OBJECT_ S_gtk_tree_sortable_sort_column_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_sortable_get_sort_column_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_sortable_set_sort_column_id(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_order); USER_OBJECT_ S_gtk_tree_sortable_set_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_tree_sortable_set_default_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_tree_sortable_has_default_sort_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_store_get_type(void); USER_OBJECT_ S_gtk_tree_store_newv(USER_OBJECT_ s_types); USER_OBJECT_ S_gtk_tree_store_set_column_types(USER_OBJECT_ s_object, USER_OBJECT_ s_types); USER_OBJECT_ S_gtk_tree_store_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_store_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tree_store_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling); USER_OBJECT_ S_gtk_tree_store_insert_after(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_sibling); USER_OBJECT_ S_gtk_tree_store_prepend(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_tree_store_append(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_tree_store_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_descendant); USER_OBJECT_ S_gtk_tree_store_iter_depth(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_store_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_store_iter_is_valid(USER_OBJECT_ s_object, USER_OBJECT_ s_iter); USER_OBJECT_ S_gtk_tree_store_reorder(USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_new_order); USER_OBJECT_ S_gtk_tree_store_swap(USER_OBJECT_ s_object, USER_OBJECT_ s_a, USER_OBJECT_ s_b); USER_OBJECT_ S_gtk_tree_store_move_after(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tree_store_move_before(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tree_view_column_queue_resize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_type(void); USER_OBJECT_ S_gtk_tree_view_new(void); USER_OBJECT_ S_gtk_tree_view_new_with_model(USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_tree_view_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_model(USER_OBJECT_ s_object, USER_OBJECT_ s_model); USER_OBJECT_ S_gtk_tree_view_get_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_tree_view_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_tree_view_get_headers_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_headers_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_headers_visible); USER_OBJECT_ S_gtk_tree_view_columns_autosize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_headers_clickable(USER_OBJECT_ s_object, USER_OBJECT_ s_active); USER_OBJECT_ S_gtk_tree_view_set_rules_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_tree_view_get_rules_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_append_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_remove_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_insert_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tree_view_insert_column_with_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_title, USER_OBJECT_ s_cell, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_get_column(USER_OBJECT_ s_object, USER_OBJECT_ s_n); USER_OBJECT_ S_gtk_tree_view_get_columns(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_move_column_after(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_base_column); USER_OBJECT_ S_gtk_tree_view_set_expander_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_get_expander_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_column_drag_function(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_tree_view_scroll_to_point(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_x, USER_OBJECT_ s_tree_y); USER_OBJECT_ S_gtk_tree_view_scroll_to_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column, USER_OBJECT_ s_use_align, USER_OBJECT_ s_row_align, USER_OBJECT_ s_col_align); USER_OBJECT_ S_gtk_tree_view_row_activated(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_expand_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_collapse_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_expand_to_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_expand_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_open_all); USER_OBJECT_ S_gtk_tree_view_collapse_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_map_expanded_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_row_expanded(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable); USER_OBJECT_ S_gtk_tree_view_get_reorderable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_focus_column, USER_OBJECT_ s_start_editing); USER_OBJECT_ S_gtk_tree_view_set_cursor_on_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_focus_column, USER_OBJECT_ s_focus_cell, USER_OBJECT_ s_start_editing); USER_OBJECT_ S_gtk_tree_view_get_cursor(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_bin_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_path_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_tree_view_get_cell_area(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_get_background_area(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_get_visible_rect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_visible_range(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_widget_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy); USER_OBJECT_ S_gtk_tree_view_tree_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_gtk_tree_view_enable_model_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_start_button_mask, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_tree_view_enable_model_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_tree_view_unset_rows_drag_source(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_unset_rows_drag_dest(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_drag_dest_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_tree_view_get_drag_dest_row(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_get_dest_row_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_x, USER_OBJECT_ s_drag_y); USER_OBJECT_ S_gtk_tree_view_create_row_drag_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_set_enable_search(USER_OBJECT_ s_object, USER_OBJECT_ s_enable_search); USER_OBJECT_ S_gtk_tree_view_get_enable_search(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_search_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_search_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_get_search_equal_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_search_equal_func(USER_OBJECT_ s_object, USER_OBJECT_ s_search_equal_func, USER_OBJECT_ s_search_user_data); USER_OBJECT_ S_gtk_tree_view_set_destroy_count_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_set_fixed_height_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_enable); USER_OBJECT_ S_gtk_tree_view_get_fixed_height_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_hover_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_hover); USER_OBJECT_ S_gtk_tree_view_get_hover_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_hover_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tree_view_get_hover_expand(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_row_separator_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_row_separator_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_column_get_type(void); USER_OBJECT_ S_gtk_tree_view_column_new(void); USER_OBJECT_ S_gtk_tree_view_column_pack_start(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tree_view_column_pack_end(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tree_view_column_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_get_cell_renderers(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_add_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer, USER_OBJECT_ s_attribute, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_column_set_cell_data_func(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data); USER_OBJECT_ S_gtk_tree_view_column_clear_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer); USER_OBJECT_ S_gtk_tree_view_column_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_tree_view_column_get_spacing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_tree_view_column_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_resizable(USER_OBJECT_ s_object, USER_OBJECT_ s_resizable); USER_OBJECT_ S_gtk_tree_view_column_get_resizable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_sizing(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_tree_view_column_get_sizing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_get_fixed_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_fixed_width(USER_OBJECT_ s_object, USER_OBJECT_ s_fixed_width); USER_OBJECT_ S_gtk_tree_view_column_set_min_width(USER_OBJECT_ s_object, USER_OBJECT_ s_min_width); USER_OBJECT_ S_gtk_tree_view_column_get_min_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_max_width(USER_OBJECT_ s_object, USER_OBJECT_ s_max_width); USER_OBJECT_ S_gtk_tree_view_column_get_max_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_clicked(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_tree_view_column_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tree_view_column_get_expand(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_clickable(USER_OBJECT_ s_object, USER_OBJECT_ s_active); USER_OBJECT_ S_gtk_tree_view_column_get_clickable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_tree_view_column_get_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign); USER_OBJECT_ S_gtk_tree_view_column_get_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_reorderable); USER_OBJECT_ S_gtk_tree_view_column_get_reorderable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_sort_column_id(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id); USER_OBJECT_ S_gtk_tree_view_column_get_sort_column_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_sort_indicator(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_tree_view_column_get_sort_indicator(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_set_sort_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order); USER_OBJECT_ S_gtk_tree_view_column_get_sort_order(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_cell_set_cell_data(USER_OBJECT_ s_object, USER_OBJECT_ s_tree_model, USER_OBJECT_ s_iter, USER_OBJECT_ s_is_expander, USER_OBJECT_ s_is_expanded); USER_OBJECT_ S_gtk_tree_view_column_cell_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_cell_is_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_column_focus_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_cell); USER_OBJECT_ S_gtk_tree_view_column_cell_get_position(USER_OBJECT_ s_object, USER_OBJECT_ s_cell_renderer); USER_OBJECT_ S_gtk_ui_manager_get_type(void); USER_OBJECT_ S_gtk_ui_manager_new(void); USER_OBJECT_ S_gtk_ui_manager_set_add_tearoffs(USER_OBJECT_ s_object, USER_OBJECT_ s_add_tearoffs); USER_OBJECT_ S_gtk_ui_manager_get_add_tearoffs(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_ui_manager_insert_action_group(USER_OBJECT_ s_object, USER_OBJECT_ s_action_group, USER_OBJECT_ s_pos); USER_OBJECT_ S_gtk_ui_manager_remove_action_group(USER_OBJECT_ s_object, USER_OBJECT_ s_action_group); USER_OBJECT_ S_gtk_ui_manager_get_accel_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_ui_manager_get_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_ui_manager_get_toplevels(USER_OBJECT_ s_object, USER_OBJECT_ s_types); USER_OBJECT_ S_gtk_ui_manager_get_action(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_ui_manager_add_ui_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length); USER_OBJECT_ S_gtk_ui_manager_add_ui_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_ui_manager_add_ui(USER_OBJECT_ s_object, USER_OBJECT_ s_merge_id, USER_OBJECT_ s_path, USER_OBJECT_ s_name, USER_OBJECT_ s_action, USER_OBJECT_ s_type, USER_OBJECT_ s_top); USER_OBJECT_ S_gtk_ui_manager_remove_ui(USER_OBJECT_ s_object, USER_OBJECT_ s_merge_id); USER_OBJECT_ S_gtk_ui_manager_get_ui(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_ui_manager_ensure_update(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_ui_manager_new_merge_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_vbutton_box_get_type(void); USER_OBJECT_ S_gtk_vbutton_box_new(void); USER_OBJECT_ S_gtk_vbutton_box_get_spacing_default(void); USER_OBJECT_ S_gtk_vbutton_box_set_spacing_default(USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_vbutton_box_get_layout_default(void); USER_OBJECT_ S_gtk_vbutton_box_set_layout_default(USER_OBJECT_ s_layout); USER_OBJECT_ S_gtk_vbox_get_type(void); USER_OBJECT_ S_gtk_vbox_new(USER_OBJECT_ s_homogeneous, USER_OBJECT_ s_spacing); USER_OBJECT_ S_gtk_viewport_get_type(void); USER_OBJECT_ S_gtk_viewport_new(USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment); USER_OBJECT_ S_gtk_viewport_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_viewport_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_viewport_set_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_viewport_set_vadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_viewport_set_shadow_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_viewport_get_shadow_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_vpaned_get_type(void); USER_OBJECT_ S_gtk_vpaned_new(void); USER_OBJECT_ S_gtk_vruler_get_type(void); USER_OBJECT_ S_gtk_vruler_new(void); USER_OBJECT_ S_gtk_vscale_get_type(void); USER_OBJECT_ S_gtk_vscale_new(USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_vscale_new_with_range(USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step); USER_OBJECT_ S_gtk_vscrollbar_get_type(void); USER_OBJECT_ S_gtk_vscrollbar_new(USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_vseparator_get_type(void); USER_OBJECT_ S_gtk_vseparator_new(void); USER_OBJECT_ S_gtk_widget_get_type(void); USER_OBJECT_ S_gtk_widget_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_destroy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_unparent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_show(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_show_now(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_hide(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_show_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_hide_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_no_show_all(USER_OBJECT_ s_object, USER_OBJECT_ s_no_show_all); USER_OBJECT_ S_gtk_widget_get_no_show_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_map(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_unmap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_realize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_unrealize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_queue_draw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_queue_draw_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_widget_queue_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_queue_clear_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_widget_queue_resize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_queue_resize_no_redraw(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_draw(USER_OBJECT_ s_object, USER_OBJECT_ s_area); USER_OBJECT_ S_gtk_widget_size_request(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_size_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation); USER_OBJECT_ S_gtk_widget_get_child_requisition(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_add_accelerator(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_signal, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_accel_flags); USER_OBJECT_ S_gtk_widget_remove_accelerator(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods); USER_OBJECT_ S_gtk_widget_set_accel_path(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_path, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_widget_list_accel_closures(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_can_activate_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_signal_id); USER_OBJECT_ S_gtk_widget_mnemonic_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_group_cycling); USER_OBJECT_ S_gtk_widget_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_widget_send_expose(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_widget_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_scroll_adjustments(USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment); USER_OBJECT_ S_gtk_widget_reparent(USER_OBJECT_ s_object, USER_OBJECT_ s_new_parent); USER_OBJECT_ S_gtk_widget_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_area, USER_OBJECT_ s_intersection); USER_OBJECT_ S_gtk_widget_region_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_region); USER_OBJECT_ S_gtk_widget_freeze_child_notify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_child_notify(USER_OBJECT_ s_object, USER_OBJECT_ s_child_property); USER_OBJECT_ S_gtk_widget_thaw_child_notify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_is_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_grab_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_grab_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_widget_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_state(USER_OBJECT_ s_object, USER_OBJECT_ s_state); USER_OBJECT_ S_gtk_widget_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive); USER_OBJECT_ S_gtk_widget_set_app_paintable(USER_OBJECT_ s_object, USER_OBJECT_ s_app_paintable); USER_OBJECT_ S_gtk_widget_set_double_buffered(USER_OBJECT_ s_object, USER_OBJECT_ s_double_buffered); USER_OBJECT_ S_gtk_widget_set_redraw_on_allocate(USER_OBJECT_ s_object, USER_OBJECT_ s_redraw_on_allocate); USER_OBJECT_ S_gtk_widget_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_widget_set_parent_window(USER_OBJECT_ s_object, USER_OBJECT_ s_parent_window); USER_OBJECT_ S_gtk_widget_set_child_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_is_visible); USER_OBJECT_ S_gtk_widget_get_child_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_parent_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_child_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_direction); USER_OBJECT_ S_gtk_widget_set_size_request(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_widget_get_size_request(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_uposition(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_widget_set_usize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_widget_set_events(USER_OBJECT_ s_object, USER_OBJECT_ s_events); USER_OBJECT_ S_gtk_widget_add_events(USER_OBJECT_ s_object, USER_OBJECT_ s_events); USER_OBJECT_ S_gtk_widget_set_extension_events(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gtk_widget_get_extension_events(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_toplevel(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_widget_type); USER_OBJECT_ S_gtk_widget_get_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_has_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_root_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_settings(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_selection); USER_OBJECT_ S_gtk_widget_get_accessible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gtk_widget_get_events(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_pointer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_is_ancestor(USER_OBJECT_ s_object, USER_OBJECT_ s_ancestor); USER_OBJECT_ S_gtk_widget_translate_coordinates(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_widget, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y); USER_OBJECT_ S_gtk_widget_hide_on_delete(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_widget_ensure_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_modify_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_widget_get_modifier_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_modify_fg(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_widget_modify_bg(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_widget_modify_text(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_widget_modify_base(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_color); USER_OBJECT_ S_gtk_widget_modify_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font_desc); USER_OBJECT_ S_gtk_widget_create_pango_context(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_pango_context(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_create_pango_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_widget_render_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size, USER_OBJECT_ s_detail); USER_OBJECT_ S_gtk_widget_set_composite_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_widget_get_composite_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_reset_rc_styles(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_push_colormap(USER_OBJECT_ s_cmap); USER_OBJECT_ S_gtk_widget_push_composite_child(void); USER_OBJECT_ S_gtk_widget_pop_composite_child(void); USER_OBJECT_ S_gtk_widget_pop_colormap(void); USER_OBJECT_ S_gtk_widget_class_install_style_property(USER_OBJECT_ s_klass, USER_OBJECT_ s_pspec); USER_OBJECT_ S_gtk_widget_class_find_style_property(USER_OBJECT_ s_klass, USER_OBJECT_ s_property_name); USER_OBJECT_ S_gtk_widget_class_list_style_properties(USER_OBJECT_ s_klass); USER_OBJECT_ S_gtk_widget_style_get_property(USER_OBJECT_ s_object, USER_OBJECT_ s_property_name); USER_OBJECT_ S_gtk_widget_get_default_style(void); USER_OBJECT_ S_gtk_widget_set_default_colormap(USER_OBJECT_ s_colormap); USER_OBJECT_ S_gtk_widget_get_default_colormap(void); USER_OBJECT_ S_gtk_widget_get_default_visual(void); USER_OBJECT_ S_gtk_widget_set_direction(USER_OBJECT_ s_object, USER_OBJECT_ s_dir); USER_OBJECT_ S_gtk_widget_get_direction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_default_direction(USER_OBJECT_ s_dir); USER_OBJECT_ S_gtk_widget_get_default_direction(void); USER_OBJECT_ S_gtk_widget_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y); USER_OBJECT_ S_gtk_widget_reset_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_class_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_list_mnemonic_labels(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_add_mnemonic_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_widget_remove_mnemonic_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_requisition_get_type(void); USER_OBJECT_ S_gtk_requisition_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_requisition_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_get_type(void); USER_OBJECT_ S_gtk_window_new(USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_window_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_window_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_wmclass(USER_OBJECT_ s_object, USER_OBJECT_ s_wmclass_name, USER_OBJECT_ s_wmclass_class); USER_OBJECT_ S_gtk_window_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role); USER_OBJECT_ S_gtk_window_get_role(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_add_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_window_remove_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_window_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_window_activate_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_focus); USER_OBJECT_ S_gtk_window_get_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_default(USER_OBJECT_ s_object, USER_OBJECT_ s_default_widget); USER_OBJECT_ S_gtk_window_activate_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_transient_for(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_window_get_transient_for(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_type_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint); USER_OBJECT_ S_gtk_window_get_type_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_skip_taskbar_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_skip_taskbar_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_skip_pager_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_skip_pager_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_urgency_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_urgency_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_accept_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_accept_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_destroy_with_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_destroy_with_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_resizable(USER_OBJECT_ s_object, USER_OBJECT_ s_resizable); USER_OBJECT_ S_gtk_window_get_resizable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity); USER_OBJECT_ S_gtk_window_get_gravity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_window_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_is_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_has_toplevel_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_has_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_has_frame(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_frame_dimensions(USER_OBJECT_ s_object, USER_OBJECT_ s_left, USER_OBJECT_ s_top, USER_OBJECT_ s_right, USER_OBJECT_ s_bottom); USER_OBJECT_ S_gtk_window_get_frame_dimensions(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_decorated(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_decorated(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_icon_list(USER_OBJECT_ s_object, USER_OBJECT_ s_list); USER_OBJECT_ S_gtk_window_get_icon_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_window_set_icon_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_window_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_default_icon_list(USER_OBJECT_ s_list); USER_OBJECT_ S_gtk_window_get_default_icon_list(void); USER_OBJECT_ S_gtk_window_set_default_icon(USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_window_set_default_icon_from_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_window_set_auto_startup_notification(USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_set_modal(USER_OBJECT_ s_object, USER_OBJECT_ s_modal); USER_OBJECT_ S_gtk_window_get_modal(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_list_toplevels(void); USER_OBJECT_ S_gtk_window_add_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_window_remove_mnemonic(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_target); USER_OBJECT_ S_gtk_window_mnemonic_activate(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifier); USER_OBJECT_ S_gtk_window_set_mnemonic_modifier(USER_OBJECT_ s_object, USER_OBJECT_ s_modifier); USER_OBJECT_ S_gtk_window_get_mnemonic_modifier(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_activate_key(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_window_propagate_key_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gtk_window_present(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_present_with_time(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gtk_window_iconify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_deiconify(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_stick(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_unstick(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_maximize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_unmaximize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_fullscreen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_unfullscreen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_keep_above(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_set_keep_below(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_begin_resize_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_edge, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gtk_window_begin_move_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gtk_window_set_policy(USER_OBJECT_ s_object, USER_OBJECT_ s_allow_shrink, USER_OBJECT_ s_allow_grow, USER_OBJECT_ s_auto_shrink); USER_OBJECT_ S_gtk_window_set_default_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_window_get_default_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_window_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_move(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_window_get_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_parse_geometry(USER_OBJECT_ s_object, USER_OBJECT_ s_geometry); USER_OBJECT_ S_gtk_window_reshow_with_initial_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_group_get_type(void); USER_OBJECT_ S_gtk_window_group_new(void); USER_OBJECT_ S_gtk_window_group_add_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_window_group_remove_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_window_set_focus_on_map(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_focus_on_map(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_window_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_default_icon_name(USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_widget_get_action(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_assistant_get_type(void); USER_OBJECT_ S_gtk_assistant_new(void); USER_OBJECT_ S_gtk_assistant_get_current_page(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_assistant_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_assistant_get_n_pages(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_assistant_get_nth_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_num); USER_OBJECT_ S_gtk_assistant_prepend_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_append_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_insert_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_assistant_set_forward_page_func(USER_OBJECT_ s_object, USER_OBJECT_ s_page_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_assistant_set_page_type(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_assistant_get_page_type(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_set_page_title(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_assistant_get_page_title(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_set_page_header_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_assistant_get_page_header_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_set_page_side_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_assistant_get_page_side_image(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_set_page_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_complete); USER_OBJECT_ S_gtk_assistant_get_page_complete(USER_OBJECT_ s_object, USER_OBJECT_ s_page); USER_OBJECT_ S_gtk_assistant_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_assistant_remove_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_assistant_update_buttons_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_button_set_image_position(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_button_get_image_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_accel_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_accel_new(void); USER_OBJECT_ S_gtk_cell_renderer_spin_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_spin_new(void); USER_OBJECT_ S_gtk_clipboard_request_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_clipboard_wait_for_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_clipboard_wait_is_rich_text_available(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_combo_box_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_drag_dest_set_track_motion(USER_OBJECT_ s_object, USER_OBJECT_ s_track_motion); USER_OBJECT_ S_gtk_drag_dest_get_track_motion(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_inner_border(USER_OBJECT_ s_object, USER_OBJECT_ s_border); USER_OBJECT_ S_gtk_entry_get_inner_border(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_button_get_focus_on_click(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_button_set_focus_on_click(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_click); USER_OBJECT_ S_gtk_label_get_line_wrap_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_line_wrap_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap_mode); USER_OBJECT_ S_gtk_link_button_get_type(void); USER_OBJECT_ S_gtk_link_button_new(USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_link_button_new_with_label(USER_OBJECT_ s_uri, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_link_button_get_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_link_button_set_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_link_button_set_uri_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_message_dialog_set_image(USER_OBJECT_ s_object, USER_OBJECT_ s_image); USER_OBJECT_ S_gtk_notebook_set_window_creation_hook(USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_notebook_set_group_id(USER_OBJECT_ s_object, USER_OBJECT_ s_group_id); USER_OBJECT_ S_gtk_notebook_get_group_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_get_tab_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_tab_reorderable(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_reorderable); USER_OBJECT_ S_gtk_notebook_get_tab_detachable(USER_OBJECT_ s_object, USER_OBJECT_ s_child); USER_OBJECT_ S_gtk_notebook_set_tab_detachable(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_detachable); USER_OBJECT_ S_gtk_page_setup_get_type(void); USER_OBJECT_ S_gtk_page_setup_new(void); USER_OBJECT_ S_gtk_page_setup_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_page_setup_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_page_setup_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_page_setup_get_paper_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_page_setup_set_paper_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_page_setup_get_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_set_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_set_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_set_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_set_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_margin, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_set_paper_size_and_default_margins(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_page_setup_get_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_page_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_page_setup_get_page_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_type(void); USER_OBJECT_ S_gtk_paper_size_new(USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_paper_size_new_from_ppd(USER_OBJECT_ s_ppd_name, USER_OBJECT_ s_ppd_display_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paper_size_new_custom(USER_OBJECT_ s_name, USER_OBJECT_ s_display_name, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_is_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_size2); USER_OBJECT_ S_gtk_paper_size_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_get_display_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_get_ppd_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_get_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_is_custom(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_paper_size_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_default_top_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_default_bottom_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_default_left_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_default_right_margin(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_paper_size_get_default(void); USER_OBJECT_ S_gtk_print_context_get_type(void); USER_OBJECT_ S_gtk_print_context_get_cairo_context(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_page_setup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_height(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_dpi_x(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_dpi_y(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_get_pango_fontmap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_create_pango_context(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_create_pango_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_context_set_cairo_context(USER_OBJECT_ s_object, USER_OBJECT_ s_cr, USER_OBJECT_ s_dpi_x, USER_OBJECT_ s_dpi_y); USER_OBJECT_ S_gtk_print_error_quark(void); USER_OBJECT_ S_gtk_print_operation_get_type(void); USER_OBJECT_ S_gtk_print_operation_new(void); USER_OBJECT_ S_gtk_print_operation_set_default_page_setup(USER_OBJECT_ s_object, USER_OBJECT_ s_default_page_setup); USER_OBJECT_ S_gtk_print_operation_get_default_page_setup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_print_settings(USER_OBJECT_ s_object, USER_OBJECT_ s_print_settings); USER_OBJECT_ S_gtk_print_operation_get_print_settings(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_job_name(USER_OBJECT_ s_object, USER_OBJECT_ s_job_name); USER_OBJECT_ S_gtk_print_operation_set_n_pages(USER_OBJECT_ s_object, USER_OBJECT_ s_n_pages); USER_OBJECT_ S_gtk_print_operation_set_current_page(USER_OBJECT_ s_object, USER_OBJECT_ s_current_page); USER_OBJECT_ S_gtk_print_operation_set_use_full_page(USER_OBJECT_ s_object, USER_OBJECT_ s_full_page); USER_OBJECT_ S_gtk_print_operation_set_unit(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_operation_set_export_filename(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_print_operation_set_track_print_status(USER_OBJECT_ s_object, USER_OBJECT_ s_track_status); USER_OBJECT_ S_gtk_print_operation_set_show_progress(USER_OBJECT_ s_object, USER_OBJECT_ s_show_progress); USER_OBJECT_ S_gtk_print_operation_set_allow_async(USER_OBJECT_ s_object, USER_OBJECT_ s_allow_async); USER_OBJECT_ S_gtk_print_operation_set_custom_tab_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_print_operation_run(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_print_operation_get_error(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_get_status(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_get_status_string(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_is_finished(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_cancel(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_run_page_setup_dialog(USER_OBJECT_ s_parent, USER_OBJECT_ s_page_setup, USER_OBJECT_ s_settings); USER_OBJECT_ S_gtk_print_run_page_setup_dialog_async(USER_OBJECT_ s_parent, USER_OBJECT_ s_page_setup, USER_OBJECT_ s_settings, USER_OBJECT_ s_done_cb, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_print_operation_preview_get_type(void); USER_OBJECT_ S_gtk_print_operation_preview_render_page(USER_OBJECT_ s_object, USER_OBJECT_ s_page_nr); USER_OBJECT_ S_gtk_print_operation_preview_end_preview(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_preview_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_page_nr); USER_OBJECT_ S_gtk_print_settings_get_type(void); USER_OBJECT_ S_gtk_print_settings_new(void); USER_OBJECT_ S_gtk_print_settings_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_has_key(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_get(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_set(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_print_settings_unset(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_print_settings_get_bool(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_set_bool(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_print_settings_get_double(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_get_double_with_default(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_def); USER_OBJECT_ S_gtk_print_settings_set_double(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_print_settings_get_length(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_set_length(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_get_int(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gtk_print_settings_get_int_with_default(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_def); USER_OBJECT_ S_gtk_print_settings_set_int(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_print_settings_get_printer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_printer(USER_OBJECT_ s_object, USER_OBJECT_ s_printer); USER_OBJECT_ S_gtk_print_settings_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_print_settings_get_paper_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_paper_size(USER_OBJECT_ s_object, USER_OBJECT_ s_paper_size); USER_OBJECT_ S_gtk_print_settings_get_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_set_paper_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_get_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_set_paper_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height, USER_OBJECT_ s_unit); USER_OBJECT_ S_gtk_print_settings_get_use_color(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_use_color(USER_OBJECT_ s_object, USER_OBJECT_ s_use_color); USER_OBJECT_ S_gtk_print_settings_get_collate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_collate(USER_OBJECT_ s_object, USER_OBJECT_ s_collate); USER_OBJECT_ S_gtk_print_settings_get_reverse(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_reverse(USER_OBJECT_ s_object, USER_OBJECT_ s_reverse); USER_OBJECT_ S_gtk_print_settings_get_duplex(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_duplex(USER_OBJECT_ s_object, USER_OBJECT_ s_duplex); USER_OBJECT_ S_gtk_print_settings_get_quality(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_quality(USER_OBJECT_ s_object, USER_OBJECT_ s_quality); USER_OBJECT_ S_gtk_print_settings_get_n_copies(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_n_copies(USER_OBJECT_ s_object, USER_OBJECT_ s_num_copies); USER_OBJECT_ S_gtk_print_settings_get_number_up(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_number_up(USER_OBJECT_ s_object, USER_OBJECT_ s_number_up); USER_OBJECT_ S_gtk_print_settings_get_resolution(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_resolution); USER_OBJECT_ S_gtk_print_settings_get_scale(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_scale); USER_OBJECT_ S_gtk_print_settings_get_print_pages(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_print_pages(USER_OBJECT_ s_object, USER_OBJECT_ s_pages); USER_OBJECT_ S_gtk_print_settings_get_page_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_num_ranges); USER_OBJECT_ S_gtk_print_settings_set_page_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_page_ranges, USER_OBJECT_ s_num_ranges); USER_OBJECT_ S_gtk_print_settings_get_page_set(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_page_set(USER_OBJECT_ s_object, USER_OBJECT_ s_page_set); USER_OBJECT_ S_gtk_print_settings_get_default_source(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_default_source(USER_OBJECT_ s_object, USER_OBJECT_ s_default_source); USER_OBJECT_ S_gtk_print_settings_get_media_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_media_type(USER_OBJECT_ s_object, USER_OBJECT_ s_media_type); USER_OBJECT_ S_gtk_print_settings_get_dither(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_dither(USER_OBJECT_ s_object, USER_OBJECT_ s_dither); USER_OBJECT_ S_gtk_print_settings_get_finishings(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_finishings(USER_OBJECT_ s_object, USER_OBJECT_ s_finishings); USER_OBJECT_ S_gtk_print_settings_get_output_bin(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_output_bin(USER_OBJECT_ s_object, USER_OBJECT_ s_output_bin); USER_OBJECT_ S_gtk_radio_action_set_current_value(USER_OBJECT_ s_object, USER_OBJECT_ s_current_value); USER_OBJECT_ S_gtk_range_set_lower_stepper_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity); USER_OBJECT_ S_gtk_range_get_lower_stepper_sensitivity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_upper_stepper_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity); USER_OBJECT_ S_gtk_range_get_upper_stepper_sensitivity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_dialog_get_type(void); USER_OBJECT_ S_gtk_recent_chooser_error_quark(void); USER_OBJECT_ S_gtk_recent_chooser_get_type(void); USER_OBJECT_ S_gtk_recent_chooser_set_show_private(USER_OBJECT_ s_object, USER_OBJECT_ s_show_private); USER_OBJECT_ S_gtk_recent_chooser_get_show_private(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_show_not_found(USER_OBJECT_ s_object, USER_OBJECT_ s_show_not_found); USER_OBJECT_ S_gtk_recent_chooser_get_show_not_found(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_select_multiple(USER_OBJECT_ s_object, USER_OBJECT_ s_select_multiple); USER_OBJECT_ S_gtk_recent_chooser_get_select_multiple(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_recent_chooser_get_limit(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_local_only(USER_OBJECT_ s_object, USER_OBJECT_ s_local_only); USER_OBJECT_ S_gtk_recent_chooser_get_local_only(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_show_tips(USER_OBJECT_ s_object, USER_OBJECT_ s_show_tips); USER_OBJECT_ S_gtk_recent_chooser_get_show_tips(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_show_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_show_icons); USER_OBJECT_ S_gtk_recent_chooser_get_show_icons(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_sort_type(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_type); USER_OBJECT_ S_gtk_recent_chooser_get_sort_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_sort_func(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_func, USER_OBJECT_ s_sort_data); USER_OBJECT_ S_gtk_recent_chooser_set_current_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_chooser_get_current_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_get_current_item(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_select_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_chooser_unselect_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_chooser_select_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_unselect_all(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_get_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_get_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_recent_chooser_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_recent_chooser_list_filters(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_set_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter); USER_OBJECT_ S_gtk_recent_chooser_get_filter(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_menu_get_type(void); USER_OBJECT_ S_gtk_recent_chooser_menu_new(void); USER_OBJECT_ S_gtk_recent_chooser_menu_new_for_manager(USER_OBJECT_ s_manager); USER_OBJECT_ S_gtk_recent_chooser_menu_get_show_numbers(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_chooser_menu_set_show_numbers(USER_OBJECT_ s_object, USER_OBJECT_ s_show_numbers); USER_OBJECT_ S_gtk_recent_chooser_widget_get_type(void); USER_OBJECT_ S_gtk_recent_chooser_widget_new(void); USER_OBJECT_ S_gtk_recent_chooser_widget_new_for_manager(USER_OBJECT_ s_manager); USER_OBJECT_ S_gtk_recent_filter_get_type(void); USER_OBJECT_ S_gtk_recent_filter_new(void); USER_OBJECT_ S_gtk_recent_filter_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_recent_filter_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_filter_add_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type); USER_OBJECT_ S_gtk_recent_filter_add_pattern(USER_OBJECT_ s_object, USER_OBJECT_ s_pattern); USER_OBJECT_ S_gtk_recent_filter_add_pixbuf_formats(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_filter_add_application(USER_OBJECT_ s_object, USER_OBJECT_ s_application); USER_OBJECT_ S_gtk_recent_filter_add_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_recent_filter_add_age(USER_OBJECT_ s_object, USER_OBJECT_ s_days); USER_OBJECT_ S_gtk_recent_filter_add_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_needed, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_recent_filter_get_needed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_filter_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_filter_info); USER_OBJECT_ S_gtk_recent_manager_error_quark(void); USER_OBJECT_ S_gtk_recent_manager_get_type(void); USER_OBJECT_ S_gtk_recent_manager_new(void); USER_OBJECT_ S_gtk_recent_manager_get_default(void); USER_OBJECT_ S_gtk_recent_manager_get_for_screen(USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_recent_manager_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_recent_manager_add_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_manager_add_full(USER_OBJECT_ s_object, USER_OBJECT_ s_uri, USER_OBJECT_ s_recent_data); USER_OBJECT_ S_gtk_recent_manager_remove_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_manager_lookup_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_manager_has_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_gtk_recent_manager_move_item(USER_OBJECT_ s_object, USER_OBJECT_ s_uri, USER_OBJECT_ s_new_uri); USER_OBJECT_ S_gtk_recent_manager_set_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit); USER_OBJECT_ S_gtk_recent_manager_get_limit(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_manager_get_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_manager_purge_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_type(void); USER_OBJECT_ S_gtk_recent_info_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_display_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_description(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_mime_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_added(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_modified(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_visited(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_private_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_application_info(USER_OBJECT_ s_object, USER_OBJECT_ s_app_name); USER_OBJECT_ S_gtk_recent_info_get_applications(USER_OBJECT_ s_object, USER_OBJECT_ s_length); USER_OBJECT_ S_gtk_recent_info_last_application(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_has_application(USER_OBJECT_ s_object, USER_OBJECT_ s_app_name); USER_OBJECT_ S_gtk_recent_info_get_groups(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_has_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_recent_info_get_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_recent_info_get_short_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_uri_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_get_age(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_is_local(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_exists(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_info_match(USER_OBJECT_ s_object, USER_OBJECT_ s_info_b); USER_OBJECT_ S_gtk_scrolled_window_unset_placement(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_target_list_add_rich_text_targets(USER_OBJECT_ s_list, USER_OBJECT_ s_info, USER_OBJECT_ s_deserializable, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_target_table_new_from_list(USER_OBJECT_ s_list); USER_OBJECT_ S_gtk_selection_data_targets_include_rich_text(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_selection_data_targets_include_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_targets_include_text(USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_targets_include_rich_text(USER_OBJECT_ s_targets, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_targets_include_image(USER_OBJECT_ s_targets, USER_OBJECT_ s_writable); USER_OBJECT_ S_gtk_targets_include_uri(USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_target_list_get_type(void); USER_OBJECT_ S_gtk_size_group_get_widgets(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_type(void); USER_OBJECT_ S_gtk_status_icon_new(void); USER_OBJECT_ S_gtk_status_icon_new_from_pixbuf(USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_status_icon_new_from_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_status_icon_new_from_stock(USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_status_icon_new_from_icon_name(USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_status_icon_set_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_status_icon_set_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_status_icon_set_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_status_icon_set_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_status_icon_get_storage_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_stock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip_text); USER_OBJECT_ S_gtk_status_icon_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_status_icon_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_blinking(USER_OBJECT_ s_object, USER_OBJECT_ s_blinking); USER_OBJECT_ S_gtk_status_icon_get_blinking(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_is_embedded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_position_menu(USER_OBJECT_ s_menu, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_status_icon_get_geometry(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_style_lookup_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color_name); USER_OBJECT_ S_gtk_text_buffer_get_has_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_copy_target_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_paste_target_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_register_serialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type, USER_OBJECT_ s_function, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_text_buffer_register_serialize_tagset(USER_OBJECT_ s_object, USER_OBJECT_ s_tagset_name); USER_OBJECT_ S_gtk_text_buffer_register_deserialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type, USER_OBJECT_ s_function, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_text_buffer_register_deserialize_tagset(USER_OBJECT_ s_object, USER_OBJECT_ s_tagset_name); USER_OBJECT_ S_gtk_text_buffer_unregister_serialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_format); USER_OBJECT_ S_gtk_text_buffer_unregister_deserialize_format(USER_OBJECT_ s_object, USER_OBJECT_ s_format); USER_OBJECT_ S_gtk_text_buffer_deserialize_set_can_create_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_format, USER_OBJECT_ s_can_create_tags); USER_OBJECT_ S_gtk_text_buffer_deserialize_get_can_create_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_format); USER_OBJECT_ S_gtk_text_buffer_get_serialize_formats(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_get_deserialize_formats(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_serialize(USER_OBJECT_ s_object, USER_OBJECT_ s_content_buffer, USER_OBJECT_ s_format, USER_OBJECT_ s_start, USER_OBJECT_ s_end); USER_OBJECT_ S_gtk_text_buffer_deserialize(USER_OBJECT_ s_object, USER_OBJECT_ s_content_buffer, USER_OBJECT_ s_format, USER_OBJECT_ s_iter, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_get_headers_clickable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_search_entry(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_search_entry(USER_OBJECT_ s_object, USER_OBJECT_ s_entry); USER_OBJECT_ S_gtk_tree_view_get_search_position_func(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_search_position_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_tree_view_set_rubber_banding(USER_OBJECT_ s_object, USER_OBJECT_ s_enable); USER_OBJECT_ S_gtk_tree_view_get_rubber_banding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_get_grid_lines(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_grid_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_grid_lines); USER_OBJECT_ S_gtk_tree_view_get_enable_tree_lines(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_enable_tree_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_enabled); USER_OBJECT_ S_gtk_assistant_page_type_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_accel_mode_get_type(void); USER_OBJECT_ S_gtk_sensitivity_type_get_type(void); USER_OBJECT_ S_gtk_print_pages_get_type(void); USER_OBJECT_ S_gtk_page_set_get_type(void); USER_OBJECT_ S_gtk_page_orientation_get_type(void); USER_OBJECT_ S_gtk_print_quality_get_type(void); USER_OBJECT_ S_gtk_print_duplex_get_type(void); USER_OBJECT_ S_gtk_unit_get_type(void); USER_OBJECT_ S_gtk_tree_view_grid_lines_get_type(void); USER_OBJECT_ S_gtk_print_operation_action_get_type(void); USER_OBJECT_ S_gtk_recent_sort_type_get_type(void); USER_OBJECT_ S_gtk_recent_chooser_error_get_type(void); USER_OBJECT_ S_gtk_recent_filter_flags_get_type(void); USER_OBJECT_ S_gtk_recent_manager_error_get_type(void); USER_OBJECT_ S_gtk_text_buffer_target_info_get_type(void); USER_OBJECT_ S_gtk_widget_is_composited(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_input_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y); USER_OBJECT_ S_gtk_window_set_deletable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_deletable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_buildable_get_type(void); USER_OBJECT_ S_gtk_buildable_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_buildable_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_buildable_add_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_type); USER_OBJECT_ S_gtk_buildable_set_buildable_property(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_buildable_construct_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_buildable_custom_tag_start(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_parser, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_buildable_custom_tag_end(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_buildable_custom_finished(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_buildable_parser_finished(USER_OBJECT_ s_object, USER_OBJECT_ s_builder); USER_OBJECT_ S_gtk_buildable_get_internal_child(USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_childname); USER_OBJECT_ S_gtk_builder_error_quark(void); USER_OBJECT_ S_gtk_builder_get_type(void); USER_OBJECT_ S_gtk_builder_new(void); USER_OBJECT_ S_gtk_builder_add_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename); USER_OBJECT_ S_gtk_builder_add_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length); USER_OBJECT_ S_gtk_builder_get_object(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_builder_get_objects(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_builder_connect_signals_full(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_builder_set_translation_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain); USER_OBJECT_ S_gtk_builder_get_translation_domain(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_builder_get_type_from_name(USER_OBJECT_ s_object, USER_OBJECT_ s_type_name); USER_OBJECT_ S_gtk_builder_value_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_pspec, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_builder_value_from_string_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_about_dialog_get_program_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_about_dialog_set_program_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_action_create_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_layout_get_cells(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_get_completion_prefix(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_completion_set_inline_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_inline_selection); USER_OBJECT_ S_gtk_entry_completion_get_inline_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_cursor_hadjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_entry_get_cursor_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_theme_choose_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_names, USER_OBJECT_ s_size, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_icon_theme_list_contexts(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_convert_widget_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy); USER_OBJECT_ S_gtk_icon_view_set_tooltip_item(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_icon_view_set_tooltip_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path, USER_OBJECT_ s_cell); USER_OBJECT_ S_gtk_icon_view_set_tooltip_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_icon_view_get_tooltip_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_list_store_set_valuesv(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_columns, USER_OBJECT_ s_values); USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_menu_tool_button_set_arrow_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_notebook_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_notebook_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_page_setup_new_from_file(USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_page_setup_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_page_setup_to_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_page_setup_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_paper_size_get_paper_sizes(USER_OBJECT_ s_include_custom); USER_OBJECT_ S_gtk_paper_size_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_paper_size_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_print_settings_new_from_file(USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_print_settings_to_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_print_settings_new_from_key_file(USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_print_settings_to_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_range_set_show_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_show_fill_level); USER_OBJECT_ S_gtk_range_get_show_fill_level(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_restrict_to_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_restrict_to_fill_level); USER_OBJECT_ S_gtk_range_get_restrict_to_fill_level(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_fill_level(USER_OBJECT_ s_object, USER_OBJECT_ s_fill_level); USER_OBJECT_ S_gtk_range_get_fill_level(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_rc_parse_color_full(USER_OBJECT_ s_scanner, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_recent_action_get_type(void); USER_OBJECT_ S_gtk_recent_action_new(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_recent_action_new_for_manager(USER_OBJECT_ s_name, USER_OBJECT_ s_label, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_manager); USER_OBJECT_ S_gtk_recent_action_get_show_numbers(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_recent_action_set_show_numbers(USER_OBJECT_ s_object, USER_OBJECT_ s_show_numbers); USER_OBJECT_ S_gtk_scale_button_get_type(void); USER_OBJECT_ S_gtk_scale_button_new(USER_OBJECT_ s_size, USER_OBJECT_ s_min, USER_OBJECT_ s_max, USER_OBJECT_ s_step, USER_OBJECT_ s_icons); USER_OBJECT_ S_gtk_scale_button_set_icons(USER_OBJECT_ s_object, USER_OBJECT_ s_icons); USER_OBJECT_ S_gtk_scale_button_get_value(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_button_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_gtk_scale_button_get_adjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_button_set_adjustment(USER_OBJECT_ s_object, USER_OBJECT_ s_adjustment); USER_OBJECT_ S_gtk_status_icon_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_status_icon_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_text_buffer_add_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_mark, USER_OBJECT_ s_where); USER_OBJECT_ S_gtk_text_mark_new(USER_OBJECT_ s_name, USER_OBJECT_ s_left_gravity); USER_OBJECT_ S_gtk_tooltip_get_type(void); USER_OBJECT_ S_gtk_tooltip_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_tooltip_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_tooltip_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_tooltip_set_icon_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_tooltip_set_custom(USER_OBJECT_ s_object, USER_OBJECT_ s_custom_widget); USER_OBJECT_ S_gtk_tooltip_trigger_tooltip_query(USER_OBJECT_ s_display); USER_OBJECT_ S_gtk_tooltip_set_tip_area(USER_OBJECT_ s_object, USER_OBJECT_ s_area); USER_OBJECT_ S_gtk_tool_item_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_tool_item_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_tree_store_set_valuesv(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_columns, USER_OBJECT_ s_values); USER_OBJECT_ S_gtk_tree_view_column_get_tree_view(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_convert_widget_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy); USER_OBJECT_ S_gtk_tree_view_convert_tree_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_gtk_tree_view_convert_widget_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_wx, USER_OBJECT_ s_wy); USER_OBJECT_ S_gtk_tree_view_convert_bin_window_to_widget_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_bx, USER_OBJECT_ s_by); USER_OBJECT_ S_gtk_tree_view_convert_tree_to_bin_window_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_gtk_tree_view_convert_bin_window_to_tree_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_bx, USER_OBJECT_ s_by); USER_OBJECT_ S_gtk_tree_view_set_show_expanders(USER_OBJECT_ s_object, USER_OBJECT_ s_enabled); USER_OBJECT_ S_gtk_tree_view_get_show_expanders(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_level_indentation(USER_OBJECT_ s_object, USER_OBJECT_ s_indentation); USER_OBJECT_ S_gtk_tree_view_get_level_indentation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_is_rubber_banding_active(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_tooltip_column(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_gtk_tree_view_get_tooltip_column(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_view_set_tooltip_row(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path); USER_OBJECT_ S_gtk_tree_view_set_tooltip_cell(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip, USER_OBJECT_ s_path, USER_OBJECT_ s_column, USER_OBJECT_ s_cell); USER_OBJECT_ S_gtk_volume_button_get_type(void); USER_OBJECT_ S_gtk_volume_button_new(void); USER_OBJECT_ S_gtk_widget_keynav_failed(USER_OBJECT_ s_object, USER_OBJECT_ s_direction); USER_OBJECT_ S_gtk_widget_error_bell(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_tooltip_window(USER_OBJECT_ s_object, USER_OBJECT_ s_custom_window); USER_OBJECT_ S_gtk_widget_get_tooltip_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_trigger_tooltip_query(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_widget_get_tooltip_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_widget_get_tooltip_markup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_modify_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_primary, USER_OBJECT_ s_secondary); USER_OBJECT_ S_gtk_widget_get_has_tooltip(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_has_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_has_tooltip); USER_OBJECT_ S_gtk_window_set_opacity(USER_OBJECT_ s_object, USER_OBJECT_ s_opacity); USER_OBJECT_ S_gtk_window_get_opacity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_startup_id(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_id); USER_OBJECT_ S_gtk_accel_group_get_is_locked(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_accel_group_get_modifier_mask(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_get_lower(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_lower(USER_OBJECT_ s_object, USER_OBJECT_ s_lower); USER_OBJECT_ S_gtk_adjustment_get_upper(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_upper(USER_OBJECT_ s_object, USER_OBJECT_ s_upper); USER_OBJECT_ S_gtk_adjustment_get_step_increment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_step_increment(USER_OBJECT_ s_object, USER_OBJECT_ s_step_increment); USER_OBJECT_ S_gtk_adjustment_get_page_increment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_page_increment(USER_OBJECT_ s_object, USER_OBJECT_ s_page_increment); USER_OBJECT_ S_gtk_adjustment_get_page_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_adjustment_set_page_size(USER_OBJECT_ s_object, USER_OBJECT_ s_page_size); USER_OBJECT_ S_gtk_adjustment_configure(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_lower, USER_OBJECT_ s_upper, USER_OBJECT_ s_step_increment, USER_OBJECT_ s_page_increment, USER_OBJECT_ s_page_size); USER_OBJECT_ S_gtk_builder_add_objects_from_file(USER_OBJECT_ s_object, USER_OBJECT_ s_filename, USER_OBJECT_ s_object_ids); USER_OBJECT_ S_gtk_builder_add_objects_from_string(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_length, USER_OBJECT_ s_object_ids); USER_OBJECT_ S_gtk_calendar_set_detail_func(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gtk_calendar_set_detail_width_chars(USER_OBJECT_ s_object, USER_OBJECT_ s_chars); USER_OBJECT_ S_gtk_calendar_set_detail_height_rows(USER_OBJECT_ s_object, USER_OBJECT_ s_rows); USER_OBJECT_ S_gtk_calendar_get_detail_width_chars(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_calendar_get_detail_height_rows(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_is_uris_available(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_wait_for_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_clipboard_request_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gtk_color_selection_dialog_get_color_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_combo_box_set_button_sensitivity(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitivity); USER_OBJECT_ S_gtk_combo_box_get_button_sensitivity(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_container_get_focus_child(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_dialog_get_action_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_dialog_get_content_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_overwrite_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_overwrite); USER_OBJECT_ S_gtk_entry_get_overwrite_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_get_text_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_file(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file); USER_OBJECT_ S_gtk_file_chooser_select_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file); USER_OBJECT_ S_gtk_file_chooser_unselect_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file); USER_OBJECT_ S_gtk_file_chooser_get_files(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_set_current_folder_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file); USER_OBJECT_ S_gtk_file_chooser_get_current_folder_file(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_file_chooser_get_preview_file(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_get_ok_button(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_get_apply_button(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_dialog_get_cancel_button(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_family_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_face_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_size_entry(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_size_list(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_preview_entry(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_face(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_font_selection_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_handle_box_get_child_detached(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_info_new_for_pixbuf(USER_OBJECT_ s_icon_theme, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_icon_theme_lookup_by_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon, USER_OBJECT_ s_size, USER_OBJECT_ s_flags); USER_OBJECT_ S_gtk_image_set_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_new_from_gicon(USER_OBJECT_ s_icon, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_image_get_gicon(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_layout_get_bin_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_get_accel_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_get_monitor(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_get_accel_path(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_message_dialog_get_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_mount_operation_get_type(void); USER_OBJECT_ S_gtk_mount_operation_new(USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_mount_operation_is_showing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_mount_operation_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_gtk_mount_operation_get_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_mount_operation_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gtk_mount_operation_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_plug_get_embedded(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_plug_get_socket_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_page_setup_load_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_page_setup_load_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_print_settings_load_key_file(USER_OBJECT_ s_object, USER_OBJECT_ s_key_file, USER_OBJECT_ s_group_name); USER_OBJECT_ S_gtk_print_settings_load_file(USER_OBJECT_ s_object, USER_OBJECT_ s_file_name); USER_OBJECT_ S_gtk_print_settings_get_number_up_layout(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_number_up_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_number_up_layout); USER_OBJECT_ S_gtk_scale_button_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_button_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_scale_button_get_plus_button(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_button_get_minus_button(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_scale_button_get_popup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_target(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_data_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_format(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_data(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_show_uri(USER_OBJECT_ s_screen, USER_OBJECT_ s_uri, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gtk_socket_get_plug_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_new_from_gicon(USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_status_icon_get_x11_window_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_gicon(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_tooltip_set_icon_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_tool_item_toolbar_reconfigured(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_relief_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_rebuild_menu(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tree_selection_get_select_function(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_snapshot(USER_OBJECT_ s_object, USER_OBJECT_ s_clip_rect); USER_OBJECT_ S_gtk_widget_get_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_get_default_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_group_list_windows(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_link_button_get_visited(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_link_button_set_visited(USER_OBJECT_ s_object, USER_OBJECT_ s_visited); USER_OBJECT_ S_gtk_border_new(void); USER_OBJECT_ S_gtk_test_register_all_types(void); USER_OBJECT_ S_gtk_test_list_all_types(void); USER_OBJECT_ S_gtk_test_find_widget(USER_OBJECT_ s_widget, USER_OBJECT_ s_label_pattern, USER_OBJECT_ s_widget_type); USER_OBJECT_ S_gtk_test_create_simple_window(USER_OBJECT_ s_window_title, USER_OBJECT_ s_dialog_text); USER_OBJECT_ S_gtk_test_slider_set_perc(USER_OBJECT_ s_widget, USER_OBJECT_ s_percentage); USER_OBJECT_ S_gtk_test_slider_get_value(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_test_spin_button_click(USER_OBJECT_ s_spinner, USER_OBJECT_ s_button, USER_OBJECT_ s_upwards); USER_OBJECT_ S_gtk_test_widget_click(USER_OBJECT_ s_widget, USER_OBJECT_ s_button, USER_OBJECT_ s_modifiers); USER_OBJECT_ S_gtk_test_widget_send_key(USER_OBJECT_ s_widget, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers); USER_OBJECT_ S_gtk_test_text_set(USER_OBJECT_ s_widget, USER_OBJECT_ s_string); USER_OBJECT_ S_gtk_test_text_get(USER_OBJECT_ s_widget); USER_OBJECT_ S_gtk_test_find_sibling(USER_OBJECT_ s_base_widget, USER_OBJECT_ s_widget_type); USER_OBJECT_ S_gtk_test_find_label(USER_OBJECT_ s_widget, USER_OBJECT_ s_label_pattern); USER_OBJECT_ S_gtk_action_block_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_unblock_activate(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_action_get_gicon(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_action_get_icon_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_visible_horizontal(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_horizontal); USER_OBJECT_ S_gtk_action_get_visible_horizontal(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_visible_vertical(USER_OBJECT_ s_object, USER_OBJECT_ s_visible_vertical); USER_OBJECT_ S_gtk_action_get_visible_vertical(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_is_important(USER_OBJECT_ s_object, USER_OBJECT_ s_is_important); USER_OBJECT_ S_gtk_action_get_is_important(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_action_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_short_label(USER_OBJECT_ s_object, USER_OBJECT_ s_short_label); USER_OBJECT_ S_gtk_action_get_short_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_tooltip); USER_OBJECT_ S_gtk_action_get_tooltip(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_stock_id(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_action_get_stock_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_activatable_get_type(void); USER_OBJECT_ S_gtk_activatable_sync_action_properties(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_activatable_set_related_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_activatable_get_related_action(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_activatable_set_use_action_appearance(USER_OBJECT_ s_object, USER_OBJECT_ s_use_appearance); USER_OBJECT_ S_gtk_activatable_get_use_action_appearance(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_activatable_do_set_related_action(USER_OBJECT_ s_object, USER_OBJECT_ s_action); USER_OBJECT_ S_gtk_cell_view_get_model(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_progress_fraction(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction); USER_OBJECT_ S_gtk_entry_get_progress_fraction(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_progress_pulse_step(USER_OBJECT_ s_object, USER_OBJECT_ s_fraction); USER_OBJECT_ S_gtk_entry_get_progress_pulse_step(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_progress_pulse(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_icon_from_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gtk_entry_set_icon_from_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_stock_id); USER_OBJECT_ S_gtk_entry_set_icon_from_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gtk_entry_set_icon_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_icon); USER_OBJECT_ S_gtk_entry_get_icon_storage_type(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_icon_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_set_icon_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_activatable); USER_OBJECT_ S_gtk_entry_get_icon_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_set_icon_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_sensitive); USER_OBJECT_ S_gtk_entry_get_icon_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_icon_at_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_entry_set_icon_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_tooltip); USER_OBJECT_ S_gtk_entry_get_icon_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_set_icon_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_tooltip); USER_OBJECT_ S_gtk_entry_get_icon_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_unset_invisible_char(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_icon_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos, USER_OBJECT_ s_target_list, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_entry_get_current_icon_drag_source(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_menu_item_set_always_show_image(USER_OBJECT_ s_object, USER_OBJECT_ s_always_show); USER_OBJECT_ S_gtk_image_menu_item_get_always_show_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_menu_item_set_use_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_use_stock); USER_OBJECT_ S_gtk_image_menu_item_get_use_stock(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_image_menu_item_set_accel_group(USER_OBJECT_ s_object, USER_OBJECT_ s_accel_group); USER_OBJECT_ S_gtk_im_multicontext_get_context_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_im_multicontext_set_context_id(USER_OBJECT_ s_object, USER_OBJECT_ s_context_id); USER_OBJECT_ S_gtk_menu_item_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_menu_item_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_item_set_use_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_menu_item_get_use_underline(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_orientable_get_type(void); USER_OBJECT_ S_gtk_orientable_set_orientation(USER_OBJECT_ s_object, USER_OBJECT_ s_orientation); USER_OBJECT_ S_gtk_orientable_get_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_draw_page_finish(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_defer_drawing(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_get_resolution_x(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_get_resolution_y(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_resolution_xy(USER_OBJECT_ s_object, USER_OBJECT_ s_resolution_x, USER_OBJECT_ s_resolution_y); USER_OBJECT_ S_gtk_print_settings_get_printer_lpi(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_settings_set_printer_lpi(USER_OBJECT_ s_object, USER_OBJECT_ s_lpi); USER_OBJECT_ S_gtk_scale_add_mark(USER_OBJECT_ s_object, USER_OBJECT_ s_value, USER_OBJECT_ s_position, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_scale_clear_marks(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_selection_data_get_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_has_tooltip(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_tooltip_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_get_tooltip_markup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_has_tooltip(USER_OBJECT_ s_object, USER_OBJECT_ s_has_tooltip); USER_OBJECT_ S_gtk_status_icon_set_tooltip_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gtk_status_icon_set_tooltip_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup); USER_OBJECT_ S_gtk_style_get_style_property(USER_OBJECT_ s_object, USER_OBJECT_ s_widget_type, USER_OBJECT_ s_property_name); USER_OBJECT_ S_gtk_window_get_default_icon_name(void); USER_OBJECT_ S_gtk_cell_renderer_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_cell_renderer_get_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_xalign, USER_OBJECT_ s_yalign); USER_OBJECT_ S_gtk_cell_renderer_set_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad); USER_OBJECT_ S_gtk_cell_renderer_get_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_xpad, USER_OBJECT_ s_ypad); USER_OBJECT_ S_gtk_cell_renderer_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_cell_renderer_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_set_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_sensitive); USER_OBJECT_ S_gtk_cell_renderer_get_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_toggle_get_activatable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_toggle_set_activatable(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_entry_new_with_buffer(USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_entry_get_buffer(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_set_buffer(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer); USER_OBJECT_ S_gtk_entry_buffer_get_type(void); USER_OBJECT_ S_gtk_entry_buffer_new(USER_OBJECT_ s_initial_chars, USER_OBJECT_ s_n_initial_chars); USER_OBJECT_ S_gtk_entry_buffer_get_bytes(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_buffer_get_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_buffer_get_text(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_buffer_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_entry_buffer_set_max_length(USER_OBJECT_ s_object, USER_OBJECT_ s_max_length); USER_OBJECT_ S_gtk_entry_buffer_get_max_length(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_buffer_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_entry_buffer_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_entry_buffer_emit_inserted_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_chars, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_entry_buffer_emit_deleted_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_n_chars); USER_OBJECT_ S_gtk_file_chooser_set_create_folders(USER_OBJECT_ s_object, USER_OBJECT_ s_create_folders); USER_OBJECT_ S_gtk_file_chooser_get_create_folders(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_icon_view_set_item_padding(USER_OBJECT_ s_object, USER_OBJECT_ s_item_padding); USER_OBJECT_ S_gtk_icon_view_get_item_padding(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_info_bar_get_type(void); USER_OBJECT_ S_gtk_info_bar_new(void); USER_OBJECT_ S_gtk_info_bar_get_action_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_info_bar_get_content_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_info_bar_add_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_info_bar_add_button(USER_OBJECT_ s_object, USER_OBJECT_ s_button_text, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_info_bar_set_response_sensitive(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_info_bar_set_default_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_info_bar_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_info_bar_set_message_type(USER_OBJECT_ s_object, USER_OBJECT_ s_message_type); USER_OBJECT_ S_gtk_info_bar_get_message_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_get_current_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_label_set_track_visited_links(USER_OBJECT_ s_object, USER_OBJECT_ s_track_links); USER_OBJECT_ S_gtk_label_get_track_visited_links(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_menu_set_reserve_toggle_size(USER_OBJECT_ s_object, USER_OBJECT_ s_reserve_toggle_size); USER_OBJECT_ S_gtk_menu_get_reserve_toggle_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_support_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_support_selection); USER_OBJECT_ S_gtk_print_operation_get_support_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_has_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_has_selection); USER_OBJECT_ S_gtk_print_operation_get_has_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_set_embed_page_setup(USER_OBJECT_ s_object, USER_OBJECT_ s_embed); USER_OBJECT_ S_gtk_print_operation_get_embed_page_setup(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_print_operation_get_n_pages_to_print(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_flippable(USER_OBJECT_ s_object, USER_OBJECT_ s_flippable); USER_OBJECT_ S_gtk_range_get_flippable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gtk_status_icon_get_title(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_allocation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_allocation(USER_OBJECT_ s_object, USER_OBJECT_ s_allocation); USER_OBJECT_ S_gtk_widget_get_app_paintable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_can_default(USER_OBJECT_ s_object, USER_OBJECT_ s_can_default); USER_OBJECT_ S_gtk_widget_get_can_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_can_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_can_focus); USER_OBJECT_ S_gtk_widget_get_can_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_double_buffered(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_has_window(USER_OBJECT_ s_object, USER_OBJECT_ s_has_window); USER_OBJECT_ S_gtk_widget_get_has_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_receives_default(USER_OBJECT_ s_object, USER_OBJECT_ s_receives_default); USER_OBJECT_ S_gtk_widget_get_receives_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_visible); USER_OBJECT_ S_gtk_widget_get_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gtk_widget_has_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_has_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_has_grab(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_is_sensitive(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_is_toplevel(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_is_drawable(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_hsv_get_type(void); USER_OBJECT_ S_gtk_hsv_new(void); USER_OBJECT_ S_gtk_hsv_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v); USER_OBJECT_ S_gtk_hsv_get_color(USER_OBJECT_ s_object, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v); USER_OBJECT_ S_gtk_hsv_set_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_ring_width); USER_OBJECT_ S_gtk_hsv_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_ring_width); USER_OBJECT_ S_gtk_hsv_is_adjusting(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_hsv_to_rgb(USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_b); USER_OBJECT_ S_gtk_rgb_to_hsv(USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_h, USER_OBJECT_ s_s, USER_OBJECT_ s_v); USER_OBJECT_ S_gtk_tool_palette_get_type(void); USER_OBJECT_ S_gtk_tool_palette_new(void); USER_OBJECT_ S_gtk_tool_palette_set_group_position(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tool_palette_set_exclusive(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_exclusive); USER_OBJECT_ S_gtk_tool_palette_set_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_group, USER_OBJECT_ s_expand); USER_OBJECT_ S_gtk_tool_palette_get_group_position(USER_OBJECT_ s_object, USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_tool_palette_get_exclusive(USER_OBJECT_ s_object, USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_tool_palette_get_expand(USER_OBJECT_ s_object, USER_OBJECT_ s_group); USER_OBJECT_ S_gtk_tool_palette_set_icon_size(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_size); USER_OBJECT_ S_gtk_tool_palette_unset_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_tool_palette_unset_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_get_icon_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_get_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_get_drop_item(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_tool_palette_get_drop_group(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_tool_palette_get_drag_item(USER_OBJECT_ s_object, USER_OBJECT_ s_selection); USER_OBJECT_ S_gtk_tool_palette_set_drag_source(USER_OBJECT_ s_object, USER_OBJECT_ s_targets); USER_OBJECT_ S_gtk_tool_palette_add_drag_dest(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_flags, USER_OBJECT_ s_targets, USER_OBJECT_ s_actions); USER_OBJECT_ S_gtk_tool_palette_get_hadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_get_vadjustment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_palette_get_drag_target_item(void); USER_OBJECT_ S_gtk_tool_palette_get_drag_target_group(void); USER_OBJECT_ S_gtk_tool_item_get_ellipsize_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_text_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_text_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_get_text_size_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_type(void); USER_OBJECT_ S_gtk_tool_item_group_new(USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_tool_item_group_set_label(USER_OBJECT_ s_object, USER_OBJECT_ s_label); USER_OBJECT_ S_gtk_tool_item_group_set_label_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_label_widget); USER_OBJECT_ S_gtk_tool_item_group_set_collapsed(USER_OBJECT_ s_object, USER_OBJECT_ s_collapsed); USER_OBJECT_ S_gtk_tool_item_group_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_ellipsize); USER_OBJECT_ S_gtk_tool_item_group_set_header_relief(USER_OBJECT_ s_object, USER_OBJECT_ s_style); USER_OBJECT_ S_gtk_tool_item_group_get_label(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_label_widget(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_collapsed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_ellipsize(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_header_relief(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tool_item_group_set_item_position(USER_OBJECT_ s_object, USER_OBJECT_ s_item, USER_OBJECT_ s_position); USER_OBJECT_ S_gtk_tool_item_group_get_item_position(USER_OBJECT_ s_object, USER_OBJECT_ s_item); USER_OBJECT_ S_gtk_tool_item_group_get_n_items(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_item_group_get_nth_item(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_gtk_tool_item_group_get_drop_item(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gtk_spinner_get_type(void); USER_OBJECT_ S_gtk_spinner_new(void); USER_OBJECT_ S_gtk_spinner_start(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_spinner_stop(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_cell_renderer_spinner_get_type(void); USER_OBJECT_ S_gtk_cell_renderer_spinner_new(void); USER_OBJECT_ S_gtk_action_get_always_show_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_action_set_always_show_image(USER_OBJECT_ s_object, USER_OBJECT_ s_always_show); USER_OBJECT_ S_gtk_dialog_get_widget_for_response(USER_OBJECT_ s_object, USER_OBJECT_ s_response_id); USER_OBJECT_ S_gtk_offscreen_window_get_type(void); USER_OBJECT_ S_gtk_offscreen_window_new(void); USER_OBJECT_ S_gtk_offscreen_window_get_pixmap(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_offscreen_window_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_entry_get_icon_window(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_pos); USER_OBJECT_ S_gtk_entry_get_text_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_notebook_get_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_pack_type); USER_OBJECT_ S_gtk_notebook_set_action_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_pack_type); USER_OBJECT_ S_gtk_paint_spinner(USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_step, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gtk_paned_get_handle_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_get_min_slider_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_get_range_rect(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_get_slider_range(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_get_slider_size_fixed(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_range_set_min_slider_size(USER_OBJECT_ s_object, USER_OBJECT_ s_min_size); USER_OBJECT_ S_gtk_range_set_slider_size_fixed(USER_OBJECT_ s_object, USER_OBJECT_ s_size_fixed); USER_OBJECT_ S_gtk_statusbar_get_message_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_status_icon_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gtk_viewport_get_bin_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_realized(USER_OBJECT_ s_object, USER_OBJECT_ s_realized); USER_OBJECT_ S_gtk_widget_get_realized(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_set_mapped(USER_OBJECT_ s_object, USER_OBJECT_ s_mapped); USER_OBJECT_ S_gtk_widget_get_mapped(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_get_requisition(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_style_attach(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_widget_has_rc_style(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_set_mnemonics_visible(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gtk_window_get_mnemonics_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_window_get_window_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tooltip_set_icon_from_gicon(USER_OBJECT_ s_object, USER_OBJECT_ s_gicon, USER_OBJECT_ s_size); USER_OBJECT_ S_gtk_print_context_get_hard_margins(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_text_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_text_alignment(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_ellipsize_mode(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_tool_shell_get_text_size_group(USER_OBJECT_ s_object); #endif RGtk2/src/atkFuncs.c0000644000176000001440000022374112362467242013765 0ustar ripleyusers#include #include #include "atkFuncs.h" USER_OBJECT_ S_atk_action_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_action_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_action_get_localized_name(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = atk_action_get_localized_name(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_do_action(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = atk_action_do_action(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_action_get_n_actions(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint ans; ans = atk_action_get_n_actions(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_action_get_description(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = atk_action_get_description(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_get_name(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = atk_action_get_name(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_get_keybinding(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = atk_action_get_keybinding(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_set_description(USER_OBJECT_ s_object, USER_OBJECT_ s_i, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* desc = ((const gchar*)asCString(s_desc)); gboolean ans; ans = atk_action_set_description(object, i, desc); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_component_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_component_contains(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = atk_component_contains(object, x, y, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_ref_accessible_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkObject* ans; ans = atk_component_ref_accessible_at_point(object, x, y, coord_type); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_component_get_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; gint width; gint height; atk_component_get_extents(object, &x, &y, &width, &height, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_atk_component_get_position(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; atk_component_get_position(object, &x, &y, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_component_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint width; gint height; atk_component_get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_component_grab_focus(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gboolean ans; ans = atk_component_grab_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_remove_focus_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); guint handler_id = ((guint)asCNumeric(s_handler_id)); atk_component_remove_focus_handler(object, handler_id); return(_result); } USER_OBJECT_ S_atk_component_set_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = atk_component_set_extents(object, x, y, width, height, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = atk_component_set_position(object, x, y, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gboolean ans; ans = atk_component_set_size(object, width, height); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_get_layer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkLayer ans; ans = atk_component_get_layer(object); _result = asREnum(ans, ATK_TYPE_LAYER); return(_result); } USER_OBJECT_ S_atk_component_get_mdi_zorder(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint ans; ans = atk_component_get_mdi_zorder(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_document_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_document_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_document_get_document_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); const gchar* ans; ans = atk_document_get_document_type(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_document_get_document(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); gpointer ans; ans = atk_document_get_document(object); _result = ans; return(_result); } USER_OBJECT_ S_atk_editable_text_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_editable_text_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_editable_text_set_run_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrib_set, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); AtkAttributeSet* attrib_set = asCAtkAttributeSet(s_attrib_set); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = atk_editable_text_set_run_attributes(object, attrib_set, start_offset, end_offset); _result = asRLogical(ans); CLEANUP(atk_attribute_set_free, ((AtkAttributeSet*)attrib_set));; return(_result); } USER_OBJECT_ S_atk_editable_text_set_text_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); atk_editable_text_set_text_contents(object, string); return(_result); } USER_OBJECT_ S_atk_editable_text_copy_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); atk_editable_text_copy_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_cut_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); atk_editable_text_cut_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); atk_editable_text_delete_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_paste_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); atk_editable_text_paste_text(object, position); return(_result); } USER_OBJECT_ S_atk_gobject_accessible_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_gobject_accessible_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_gobject_accessible_for_object(USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* obj = G_OBJECT(getPtrValue(s_obj)); AtkObject* ans; ans = atk_gobject_accessible_for_object(obj); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_gobject_accessible_get_object(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkGObjectAccessible* object = ATK_GOBJECT_ACCESSIBLE(getPtrValue(s_object)); GObject* ans; ans = atk_gobject_accessible_get_object(object); _result = toRPointerWithRef(ans, "GObject"); return(_result); } USER_OBJECT_ S_atk_hyperlink_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_hyperlink_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_get_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gchar* ans; ans = atk_hyperlink_get_uri(object, i); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_atk_hyperlink_get_object(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = atk_hyperlink_get_object(object, i); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_hyperlink_get_end_index(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = atk_hyperlink_get_end_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_get_start_index(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = atk_hyperlink_get_start_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_is_valid(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gboolean ans; ans = atk_hyperlink_is_valid(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_get_n_anchors(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = atk_hyperlink_get_n_anchors(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_is_inline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gboolean ans; ans = atk_hyperlink_is_inline(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_is_selected_link(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gboolean ans; ans = atk_hyperlink_is_selected_link(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_hypertext_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_hypertext_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_hypertext_get_link(USER_OBJECT_ s_object, USER_OBJECT_ s_link_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint link_index = ((gint)asCInteger(s_link_index)); AtkHyperlink* ans; ans = atk_hypertext_get_link(object, link_index); _result = toRPointerWithRef(ans, "AtkHyperlink"); return(_result); } USER_OBJECT_ S_atk_hypertext_get_n_links(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint ans; ans = atk_hypertext_get_n_links(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hypertext_get_link_index(USER_OBJECT_ s_object, USER_OBJECT_ s_char_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint char_index = ((gint)asCInteger(s_char_index)); gint ans; ans = atk_hypertext_get_link_index(object, char_index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_image_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_image_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_image_get_image_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); const gchar* ans; ans = atk_image_get_image_description(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_image_get_image_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); gint width; gint height; atk_image_get_image_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_image_set_image_description(USER_OBJECT_ s_object, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); const gchar* description = ((const gchar*)asCString(s_description)); gboolean ans; ans = atk_image_set_image_description(object, description); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_image_get_image_position(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; atk_image_get_image_position(object, &x, &y, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_no_op_object_factory_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_no_op_object_factory_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_no_op_object_factory_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectFactory* ans; ans = atk_no_op_object_factory_new(); _result = toRPointerWithFinalizer(ans, "AtkObjectFactory", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_no_op_object_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_no_op_object_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_no_op_object_new(USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; GObject* obj = G_OBJECT(getPtrValue(s_obj)); AtkObject* ans; ans = atk_no_op_object_new(obj); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_object_factory_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_object_factory_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_object_factory_create_accessible(USER_OBJECT_ s_object, USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectFactory* object = ATK_OBJECT_FACTORY(getPtrValue(s_object)); GObject* obj = G_OBJECT(getPtrValue(s_obj)); AtkObject* ans; ans = atk_object_factory_create_accessible(object, obj); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_object_factory_invalidate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectFactory* object = ATK_OBJECT_FACTORY(getPtrValue(s_object)); atk_object_factory_invalidate(object); return(_result); } USER_OBJECT_ S_atk_object_factory_get_accessible_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectFactory* object = ATK_OBJECT_FACTORY(getPtrValue(s_object)); GType ans; ans = atk_object_factory_get_accessible_type(object); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_object_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_object_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_implementor_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_implementor_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_implementor_ref_accessible(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImplementor* object = ATK_IMPLEMENTOR(getPtrValue(s_object)); AtkObject* ans; ans = atk_implementor_ref_accessible(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_object_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = atk_object_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_object_get_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = atk_object_get_description(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_object_get_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkObject* ans; ans = atk_object_get_parent(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_object_get_n_accessible_children(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = atk_object_get_n_accessible_children(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_ref_accessible_child(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = atk_object_ref_accessible_child(object, i); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_object_ref_relation_set(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRelationSet* ans; ans = atk_object_ref_relation_set(object); _result = toRPointerWithRef(ans, "AtkRelationSet"); return(_result); } USER_OBJECT_ S_atk_object_get_role(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRole ans; ans = atk_object_get_role(object); _result = asREnum(ans, ATK_TYPE_ROLE); return(_result); } USER_OBJECT_ S_atk_object_get_layer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkLayer ans; ans = atk_object_get_layer(object); _result = asREnum(ans, ATK_TYPE_LAYER); return(_result); } USER_OBJECT_ S_atk_object_get_mdi_zorder(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = atk_object_get_mdi_zorder(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_ref_state_set(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkStateSet* ans; ans = atk_object_ref_state_set(object); _result = toRPointerWithRef(ans, "AtkStateSet"); return(_result); } USER_OBJECT_ S_atk_object_get_index_in_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = atk_object_get_index_in_parent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); atk_object_set_name(object, name); return(_result); } USER_OBJECT_ S_atk_object_set_description(USER_OBJECT_ s_object, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* description = ((const gchar*)asCString(s_description)); atk_object_set_description(object, description); return(_result); } USER_OBJECT_ S_atk_object_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkObject* parent = ATK_OBJECT(getPtrValue(s_parent)); atk_object_set_parent(object, parent); return(_result); } USER_OBJECT_ S_atk_object_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRole role = ((AtkRole)asCEnum(s_role, ATK_TYPE_ROLE)); atk_object_set_role(object, role); return(_result); } USER_OBJECT_ S_atk_object_remove_property_change_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); guint handler_id = ((guint)asCNumeric(s_handler_id)); atk_object_remove_property_change_handler(object, handler_id); return(_result); } USER_OBJECT_ S_atk_object_notify_state_change(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkState state = ((AtkState)asCNumeric(s_state)); gboolean value = ((gboolean)asCLogical(s_value)); atk_object_notify_state_change(object, state, value); return(_result); } USER_OBJECT_ S_atk_registry_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_registry_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_registry_set_factory_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_factory_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRegistry* object = ATK_REGISTRY(getPtrValue(s_object)); GType type = ((GType)asCGType(s_type)); GType factory_type = ((GType)asCGType(s_factory_type)); atk_registry_set_factory_type(object, type, factory_type); return(_result); } USER_OBJECT_ S_atk_registry_get_factory_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRegistry* object = ATK_REGISTRY(getPtrValue(s_object)); GType type = ((GType)asCGType(s_type)); GType ans; ans = atk_registry_get_factory_type(object, type); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_registry_get_factory(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRegistry* object = ATK_REGISTRY(getPtrValue(s_object)); GType type = ((GType)asCGType(s_type)); AtkObjectFactory* ans; ans = atk_registry_get_factory(object, type); _result = toRPointerWithRef(ans, "AtkObjectFactory"); return(_result); } USER_OBJECT_ S_atk_get_default_registry(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRegistry* ans; ans = atk_get_default_registry(); _result = toRPointerWithRef(ans, "AtkRegistry"); return(_result); } USER_OBJECT_ S_atk_relation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_relation_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_relation_type_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkRelationType ans; ans = atk_relation_type_register(name); _result = asREnum(ans, ATK_TYPE_RELATION_TYPE); return(_result); } USER_OBJECT_ S_atk_relation_type_get_name(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationType type = ((AtkRelationType)asCEnum(s_type, ATK_TYPE_RELATION_TYPE)); const gchar* ans; ans = atk_relation_type_get_name(type); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_relation_type_for_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkRelationType ans; ans = atk_relation_type_for_name(name); _result = asREnum(ans, ATK_TYPE_RELATION_TYPE); return(_result); } USER_OBJECT_ S_atk_relation_new(USER_OBJECT_ s_targets, USER_OBJECT_ s_relationship) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject** targets = ((AtkObject**)asCArray(s_targets, AtkObject*, getPtrValue)); gint n_targets = ((gint)GET_LENGTH(s_targets)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); AtkRelation* ans; ans = atk_relation_new(targets, n_targets, relationship); _result = toRPointerWithFinalizer(ans, "AtkRelation", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_relation_get_relation_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelation* object = ATK_RELATION(getPtrValue(s_object)); AtkRelationType ans; ans = atk_relation_get_relation_type(object); _result = asREnum(ans, ATK_TYPE_RELATION_TYPE); return(_result); } USER_OBJECT_ S_atk_relation_get_target(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelation* object = ATK_RELATION(getPtrValue(s_object)); GPtrArray* ans; ans = atk_relation_get_target(object); _result = toRPointer(ans, "GPtrArray"); return(_result); } USER_OBJECT_ S_atk_relation_add_target(USER_OBJECT_ s_object, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelation* object = ATK_RELATION(getPtrValue(s_object)); AtkObject* target = ATK_OBJECT(getPtrValue(s_target)); atk_relation_add_target(object, target); return(_result); } USER_OBJECT_ S_atk_relation_set_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_relation_set_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_relation_set_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* ans; ans = atk_relation_set_new(); _result = toRPointerWithFinalizer(ans, "AtkRelationSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_relation_set_contains(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); gboolean ans; ans = atk_relation_set_contains(object, relationship); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_relation_set_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_relation) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); AtkRelation* relation = ATK_RELATION(getPtrValue(s_relation)); atk_relation_set_remove(object, relation); return(_result); } USER_OBJECT_ S_atk_relation_set_add(USER_OBJECT_ s_object, USER_OBJECT_ s_relation) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); AtkRelation* relation = ATK_RELATION(getPtrValue(s_relation)); atk_relation_set_add(object, relation); return(_result); } USER_OBJECT_ S_atk_relation_set_get_n_relations(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); gint ans; ans = atk_relation_set_get_n_relations(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_relation_set_get_relation(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkRelation* ans; ans = atk_relation_set_get_relation(object, i); _result = toRPointerWithRef(ans, "AtkRelation"); return(_result); } USER_OBJECT_ S_atk_relation_set_get_relation_by_type(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); AtkRelation* ans; ans = atk_relation_set_get_relation_by_type(object, relationship); _result = toRPointerWithRef(ans, "AtkRelation"); return(_result); } USER_OBJECT_ S_atk_relation_set_add_relation_by_type(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRelationSet* object = ATK_RELATION_SET(getPtrValue(s_object)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); AtkObject* target = ATK_OBJECT(getPtrValue(s_target)); atk_relation_set_add_relation_by_type(object, relationship, target); return(_result); } USER_OBJECT_ S_atk_selection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_selection_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_selection_add_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = atk_selection_add_selection(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_clear_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gboolean ans; ans = atk_selection_clear_selection(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_ref_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = atk_selection_ref_selection(object, i); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_selection_get_selection_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint ans; ans = atk_selection_get_selection_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_selection_is_child_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = atk_selection_is_child_selected(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_remove_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = atk_selection_remove_selection(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_select_all_selection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gboolean ans; ans = atk_selection_select_all_selection(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_type_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkStateType ans; ans = atk_state_type_register(name); _result = asREnum(ans, ATK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_atk_state_type_get_name(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateType type = ((AtkStateType)asCEnum(s_type, ATK_TYPE_STATE_TYPE)); const gchar* ans; ans = atk_state_type_get_name(type); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_state_type_for_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkStateType ans; ans = atk_state_type_for_name(name); _result = asREnum(ans, ATK_TYPE_STATE_TYPE); return(_result); } USER_OBJECT_ S_atk_state_set_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_state_set_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_state_set_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* ans; ans = atk_state_set_new(); _result = toRPointerWithFinalizer(ans, "AtkStateSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_state_set_is_empty(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); gboolean ans; ans = atk_state_set_is_empty(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_set_add_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateType type = ((AtkStateType)asCEnum(s_type, ATK_TYPE_STATE_TYPE)); gboolean ans; ans = atk_state_set_add_state(object, type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_set_add_states(USER_OBJECT_ s_object, USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateType* types = ((AtkStateType*)asCEnumArray(s_types, AtkStateType, ATK_TYPE_STATE_TYPE)); gint n_types = ((gint)GET_LENGTH(s_types)); atk_state_set_add_states(object, types, n_types); return(_result); } USER_OBJECT_ S_atk_state_set_clear_states(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); atk_state_set_clear_states(object); return(_result); } USER_OBJECT_ S_atk_state_set_contains_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateType type = ((AtkStateType)asCEnum(s_type, ATK_TYPE_STATE_TYPE)); gboolean ans; ans = atk_state_set_contains_state(object, type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_set_contains_states(USER_OBJECT_ s_object, USER_OBJECT_ s_types) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateType* types = ((AtkStateType*)asCEnumArray(s_types, AtkStateType, ATK_TYPE_STATE_TYPE)); gint n_types = ((gint)GET_LENGTH(s_types)); gboolean ans; ans = atk_state_set_contains_states(object, types, n_types); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_set_remove_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateType type = ((AtkStateType)asCEnum(s_type, ATK_TYPE_STATE_TYPE)); gboolean ans; ans = atk_state_set_remove_state(object, type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_state_set_and_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateSet* compare_set = ATK_STATE_SET(getPtrValue(s_compare_set)); AtkStateSet* ans; ans = atk_state_set_and_sets(object, compare_set); _result = toRPointerWithFinalizer(ans, "AtkStateSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_state_set_or_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateSet* compare_set = ATK_STATE_SET(getPtrValue(s_compare_set)); AtkStateSet* ans; ans = atk_state_set_or_sets(object, compare_set); _result = toRPointerWithFinalizer(ans, "AtkStateSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_state_set_xor_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStateSet* object = ATK_STATE_SET(getPtrValue(s_object)); AtkStateSet* compare_set = ATK_STATE_SET(getPtrValue(s_compare_set)); AtkStateSet* ans; ans = atk_state_set_xor_sets(object, compare_set); _result = toRPointerWithFinalizer(ans, "AtkStateSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_streamable_content_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_streamable_content_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_streamable_content_get_n_mime_types(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStreamableContent* object = ATK_STREAMABLE_CONTENT(getPtrValue(s_object)); gint ans; ans = atk_streamable_content_get_n_mime_types(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_streamable_content_get_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStreamableContent* object = ATK_STREAMABLE_CONTENT(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = atk_streamable_content_get_mime_type(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_streamable_content_get_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStreamableContent* object = ATK_STREAMABLE_CONTENT(getPtrValue(s_object)); const gchar* mime_type = ((const gchar*)asCString(s_mime_type)); GIOChannel* ans; ans = atk_streamable_content_get_stream(object, mime_type); _result = toRPointer(ans, "GIOChannel"); return(_result); } USER_OBJECT_ S_atk_table_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_table_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_table_ref_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); AtkObject* ans; ans = atk_table_ref_at(object, row, column); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_get_index_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = atk_table_get_index_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_column_at_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gint ans; ans = atk_table_get_column_at_index(object, index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_row_at_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gint ans; ans = atk_table_get_row_at_index(object, index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_n_columns(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; ans = atk_table_get_n_columns(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_n_rows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; ans = atk_table_get_n_rows(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_column_extent_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = atk_table_get_column_extent_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_row_extent_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = atk_table_get_row_extent_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_get_caption(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* ans; ans = atk_table_get_caption(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_get_column_description(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); const gchar* ans; ans = atk_table_get_column_description(object, column); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_table_get_column_header(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); AtkObject* ans; ans = atk_table_get_column_header(object, column); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_get_row_description(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); const gchar* ans; ans = atk_table_get_row_description(object, row); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_table_get_row_header(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); AtkObject* ans; ans = atk_table_get_row_header(object, row); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_get_summary(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* ans; ans = atk_table_get_summary(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_set_caption(USER_OBJECT_ s_object, USER_OBJECT_ s_caption) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* caption = ATK_OBJECT(getPtrValue(s_caption)); atk_table_set_caption(object, caption); return(_result); } USER_OBJECT_ S_atk_table_set_column_description(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); const gchar* description = ((const gchar*)asCString(s_description)); atk_table_set_column_description(object, column, description); return(_result); } USER_OBJECT_ S_atk_table_set_column_header(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_header) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); AtkObject* header = ATK_OBJECT(getPtrValue(s_header)); atk_table_set_column_header(object, column, header); return(_result); } USER_OBJECT_ S_atk_table_set_row_description(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); const gchar* description = ((const gchar*)asCString(s_description)); atk_table_set_row_description(object, row, description); return(_result); } USER_OBJECT_ S_atk_table_set_row_header(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_header) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); AtkObject* header = ATK_OBJECT(getPtrValue(s_header)); atk_table_set_row_header(object, row, header); return(_result); } USER_OBJECT_ S_atk_table_set_summary(USER_OBJECT_ s_object, USER_OBJECT_ s_accessible) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* accessible = ATK_OBJECT(getPtrValue(s_accessible)); atk_table_set_summary(object, accessible); return(_result); } USER_OBJECT_ S_atk_table_get_selected_columns(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; gint* selected = NULL; ans = atk_table_get_selected_columns(object, &selected); _result = asRInteger(ans); _result = retByVal(_result, "selected", asRIntegerArrayWithSize(selected, ans), NULL); CLEANUP(g_free, selected);; return(_result); } USER_OBJECT_ S_atk_table_get_selected_rows(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; gint* selected = NULL; ans = atk_table_get_selected_rows(object, &selected); _result = asRInteger(ans); _result = retByVal(_result, "selected", asRIntegerArrayWithSize(selected, ans), NULL); CLEANUP(g_free, selected);; return(_result); } USER_OBJECT_ S_atk_table_is_column_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = atk_table_is_column_selected(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_is_row_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = atk_table_is_row_selected(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = atk_table_is_selected(object, row, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_add_row_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = atk_table_add_row_selection(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_remove_row_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = atk_table_remove_row_selection(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_add_column_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = atk_table_add_column_selection(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_remove_column_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = atk_table_remove_column_selection(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_text_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_text_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gchar* ans; ans = atk_text_get_text(object, start_offset, end_offset); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_atk_text_get_character_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gunichar ans; ans = atk_text_get_character_at_offset(object, offset); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_atk_text_get_text_after_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = atk_text_get_text_after_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_get_text_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = atk_text_get_text_at_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_get_text_before_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = atk_text_get_text_before_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_get_caret_offset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = atk_text_get_caret_offset(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_get_range_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkTextRectangle* rect = ((AtkTextRectangle *)g_new0(AtkTextRectangle, 1)); atk_text_get_range_extents(object, start_offset, end_offset, coord_type, rect); _result = retByVal(_result, "rect", asRAtkTextRectangle(rect), NULL); CLEANUP(g_free, rect);; return(_result); } USER_OBJECT_ S_atk_text_get_bounded_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_rect, USER_OBJECT_ s_coord_type, USER_OBJECT_ s_x_clip_type, USER_OBJECT_ s_y_clip_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); AtkTextRectangle* rect = asCAtkTextRectangle(s_rect); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkTextClipType x_clip_type = ((AtkTextClipType)asCEnum(s_x_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); AtkTextClipType y_clip_type = ((AtkTextClipType)asCEnum(s_y_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); AtkTextRange** ans; ans = atk_text_get_bounded_ranges(object, rect, coord_type, x_clip_type, y_clip_type); _result = asRArray(ans, asRAtkTextRange); CLEANUP(atk_text_free_ranges, ans);; return(_result); } USER_OBJECT_ S_atk_text_get_character_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_coords) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkCoordType coords = ((AtkCoordType)asCEnum(s_coords, ATK_TYPE_COORD_TYPE)); gint x; gint y; gint width; gint height; atk_text_get_character_extents(object, offset, &x, &y, &width, &height, coords); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_atk_text_get_run_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkAttributeSet* ans; gint start_offset; gint end_offset; ans = atk_text_get_run_attributes(object, offset, &start_offset, &end_offset); _result = asRAtkAttributeSet(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(atk_attribute_set_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_get_default_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); AtkAttributeSet* ans; ans = atk_text_get_default_attributes(object); _result = asRAtkAttributeSet(ans); CLEANUP(atk_attribute_set_free, ans);; return(_result); } USER_OBJECT_ S_atk_text_get_character_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = atk_text_get_character_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_get_offset_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coords) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coords = ((AtkCoordType)asCEnum(s_coords, ATK_TYPE_COORD_TYPE)); gint ans; ans = atk_text_get_offset_at_point(object, x, y, coords); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_get_n_selections(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = atk_text_get_n_selections(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_get_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gchar* ans; gint start_offset; gint end_offset; ans = atk_text_get_selection(object, selection_num, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_add_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = atk_text_add_selection(object, start_offset, end_offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_remove_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gboolean ans; ans = atk_text_remove_selection(object, selection_num); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_set_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = atk_text_set_selection(object, selection_num, start_offset, end_offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_set_caret_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gboolean ans; ans = atk_text_set_caret_offset(object, offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_attribute_set_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkAttributeSet* object = asCAtkAttributeSet(s_object); atk_attribute_set_free(object); CLEANUP(atk_attribute_set_free, ((AtkAttributeSet*)object));; return(_result); } USER_OBJECT_ S_atk_text_attribute_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkTextAttribute ans; ans = atk_text_attribute_register(name); _result = asREnum(ans, ATK_TYPE_TEXT_ATTRIBUTE); return(_result); } USER_OBJECT_ S_atk_text_attribute_get_name(USER_OBJECT_ s_attr) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextAttribute attr = ((AtkTextAttribute)asCEnum(s_attr, ATK_TYPE_TEXT_ATTRIBUTE)); const gchar* ans; ans = atk_text_attribute_get_name(attr); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_text_attribute_for_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkTextAttribute ans; ans = atk_text_attribute_for_name(name); _result = asREnum(ans, ATK_TYPE_TEXT_ATTRIBUTE); return(_result); } USER_OBJECT_ S_atk_text_attribute_get_value(USER_OBJECT_ s_attr, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextAttribute attr = ((AtkTextAttribute)asCEnum(s_attr, ATK_TYPE_TEXT_ATTRIBUTE)); gint index = ((gint)asCInteger(s_index)); const gchar* ans; ans = atk_text_attribute_get_value(attr, index); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_util_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_util_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_remove_focus_tracker(USER_OBJECT_ s_tracker_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint tracker_id = ((guint)asCNumeric(s_tracker_id)); atk_remove_focus_tracker(tracker_id); return(_result); } USER_OBJECT_ S_atk_focus_tracker_notify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); atk_focus_tracker_notify(object); return(_result); } USER_OBJECT_ S_atk_remove_global_event_listener(USER_OBJECT_ s_listener_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint listener_id = ((guint)asCNumeric(s_listener_id)); atk_remove_global_event_listener(listener_id); return(_result); } USER_OBJECT_ S_atk_add_key_event_listener(USER_OBJECT_ s_listener, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkKeySnoopFunc listener = ((AtkKeySnoopFunc)S_AtkKeySnoopFunc); R_CallbackData* data = R_createCBData(s_listener, s_data); guint ans; ans = atk_add_key_event_listener(listener, data); _result = asRNumeric(ans); R_freeCBData(data); return(_result); } USER_OBJECT_ S_atk_remove_key_event_listener(USER_OBJECT_ s_listener_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint listener_id = ((guint)asCNumeric(s_listener_id)); atk_remove_key_event_listener(listener_id); return(_result); } USER_OBJECT_ S_atk_get_root(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* ans; ans = atk_get_root(); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_get_focus_object(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* ans; ans = atk_get_focus_object(); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_get_toolkit_name(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ans; ans = atk_get_toolkit_name(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_get_toolkit_version(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* ans; ans = atk_get_toolkit_version(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_value_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = atk_value_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_atk_value_get_current_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); atk_value_get_current_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_get_maximum_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); atk_value_get_maximum_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_get_minimum_value(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); atk_value_get_minimum_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_set_current_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValue* object = ATK_VALUE(getPtrValue(s_object)); const GValue* value = asCGValue(s_value); gboolean ans; ans = atk_value_set_current_value(object, value); _result = asRLogical(ans); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; return(_result); } USER_OBJECT_ S_atk_role_get_name(USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRole role = ((AtkRole)asCEnum(s_role, ATK_TYPE_ROLE)); const gchar* ans; ans = atk_role_get_name(role); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_role_for_name(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkRole ans; ans = atk_role_for_name(name); _result = asREnum(ans, ATK_TYPE_ROLE); return(_result); } USER_OBJECT_ S_atk_role_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); AtkRole ans; ans = atk_role_register(name); _result = asREnum(ans, ATK_TYPE_ROLE); return(_result); } USER_OBJECT_ S_atk_object_initialize(USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gpointer data = ((gpointer)asCGenericData(s_data)); atk_object_initialize(object, data); return(_result); } USER_OBJECT_ S_atk_object_add_relationship(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); AtkObject* target = ATK_OBJECT(getPtrValue(s_target)); gboolean ans; ans = atk_object_add_relationship(object, relationship, target); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_object_remove_relationship(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRelationType relationship = ((AtkRelationType)asCEnum(s_relationship, ATK_TYPE_RELATION_TYPE)); AtkObject* target = ATK_OBJECT(getPtrValue(s_target)); gboolean ans; ans = atk_object_remove_relationship(object, relationship, target); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_role_get_localized_name(USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkRole role = ((AtkRole)asCEnum(s_role, ATK_TYPE_ROLE)); const gchar* ans; ans = atk_role_get_localized_name(role); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_document_get_locale(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); const gchar* ans; ans = atk_document_get_locale(object); _result = asRString(ans); #else error("atk_document_get_locale exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_document_get_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); AtkAttributeSet* ans; ans = atk_document_get_attributes(object); _result = asRAtkAttributeSet(ans); #else error("atk_document_get_attributes exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_document_get_attribute_value(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); const gchar* attribute_name = ((const gchar*)asCString(s_attribute_name)); const gchar* ans; ans = atk_document_get_attribute_value(object, attribute_name); _result = asRString(ans); #else error("atk_document_get_attribute_value exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_document_set_attribute_value(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute_name, USER_OBJECT_ s_attribute_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); const gchar* attribute_name = ((const gchar*)asCString(s_attribute_name)); const gchar* attribute_value = ((const gchar*)asCString(s_attribute_value)); gboolean ans; ans = atk_document_set_attribute_value(object, attribute_name, attribute_value); _result = asRLogical(ans); #else error("atk_document_set_attribute_value exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_component_get_alpha(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gdouble ans; ans = atk_component_get_alpha(object); _result = asRNumeric(ans); #else error("atk_component_get_alpha exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_image_get_image_locale(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); const gchar* ans; ans = atk_image_get_image_locale(object); _result = asRString(ans); #else error("atk_image_get_image_locale exists only in Atk >= 1.11.0"); #endif return(_result); } USER_OBJECT_ S_atk_object_get_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkAttributeSet* ans; ans = atk_object_get_attributes(object); _result = asRAtkAttributeSet(ans); #else error("atk_object_get_attributes exists only in Atk >= 1.11.0"); #endif return(_result); } RGtk2/src/cairoManuals.c0000644000176000001440000002734712362467242014631 0ustar ripleyusers#include "RGtk2/cairo.h" /* reason: these two functions are just to efficiently copy paths between cairo contexts */ USER_OBJECT_ S_cairo_append_path_from_cairo(USER_OBJECT_ s_cr, USER_OBJECT_ s_source) { cairo_t* cr = (cairo_t*)getPtrValue(s_cr); cairo_t* source = (cairo_t*)getPtrValue(s_source); cairo_path_t* path = cairo_copy_path(source); USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_append_path(cr, path); cairo_path_destroy(path); return(_result); } USER_OBJECT_ S_cairo_append_path_flat_from_cairo(USER_OBJECT_ s_cr, USER_OBJECT_ s_source) { cairo_t* cr = (cairo_t*)getPtrValue(s_cr); cairo_t* source = (cairo_t*)getPtrValue(s_source); cairo_path_t* path = cairo_copy_path_flat(source); USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_append_path(cr, path); return(_result); } /* reason: too lazy to change code to fix mem management on this - basically the code gen wants to free this with cairo_path_destroy, but we are allocating this memory on the R heap. */ USER_OBJECT_ S_cairo_append_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_path) { cairo_t* cr = (cairo_t*)getPtrValue(s_cr); cairo_path_t* path = asCCairoPath(s_path); USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_append_path(cr, path); return(_result); } cairo_status_t S_cairo_read_func_t(gpointer s_closure, guchar* s_data, guint s_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; guint i; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_closure)->function); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_length)); tmp = CDR(tmp); SETCAR(tmp, ((R_CallbackData *)s_closure)->data); tmp = CDR(tmp); s_ans = eval(e, R_GlobalEnv); for (i = 0; i < s_length && i < GET_LENGTH(VECTOR_ELT(s_ans, 1)); i++) s_data[i] = RAW(VECTOR_ELT(s_ans, 1))[i]; UNPROTECT(1); return(((cairo_status_t)asCEnum(VECTOR_ELT(s_ans, 0), CAIRO_TYPE_STATUS))); } /* dash array needs to be pre-allocated */ USER_OBJECT_ S_cairo_get_dash(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); int count = cairo_get_dash_count(cr); double dashes[count]; double offset; cairo_get_dash(cr, dashes, &offset); _result = retByVal(_result, "dashes", asRArrayWithSize(dashes, asRNumeric, count), "offset", asRNumeric(offset), NULL); #else error("cairo_get_dash exists only in cairo >= 1.4.0"); #endif return(_result); } /* retrieve compile-time version information */ USER_OBJECT_ boundCairoVersion(void) { USER_OBJECT_ version; version = NEW_INTEGER(3); INTEGER(version)[0] = CAIRO_VERSION_MAJOR; INTEGER(version)[1] = CAIRO_VERSION_MINOR; INTEGER(version)[2] = CAIRO_VERSION_MICRO; return(version); } #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_data_key_t init_func_key; cairo_status_t S_cairo_user_scaled_font_init_func_t(cairo_scaled_font_t* s_scaled_font, cairo_t* s_cr, cairo_font_extents_t* s_extents) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; cairo_font_face_t *font_face = cairo_scaled_font_get_font_face(s_scaled_font); R_CallbackData *cbdata = (R_CallbackData *)cairo_font_face_get_user_data(font_face, &init_func_key); PROTECT(e = allocVector(LANGSXP, 3+cbdata->useData)); tmp = e; SETCAR(tmp, cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_scaled_font, "CairoScaledFont", cairo_scaled_font)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_cr, "Cairo", cairo)); tmp = CDR(tmp); if(cbdata->useData) { SETCAR(tmp, cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_status_t)0)); { cairo_font_extents_t* extents = asCCairoFontExtents(VECTOR_ELT(s_ans, 1)); *s_extents = *extents; g_free(extents); } return(((cairo_status_t)asCEnum(VECTOR_ELT(s_ans, 0), CAIRO_TYPE_STATUS))); } #endif #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_data_key_t render_glyph_func_key; cairo_status_t S_cairo_user_scaled_font_render_glyph_func_t(cairo_scaled_font_t* s_scaled_font, gulong s_glyph, cairo_t* s_cr, cairo_font_extents_t* s_extents) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; cairo_font_face_t *font_face = cairo_scaled_font_get_font_face(s_scaled_font); R_CallbackData *cbdata = (R_CallbackData *)cairo_font_face_get_user_data(font_face, &render_glyph_func_key); PROTECT(e = allocVector(LANGSXP, 4+cbdata->useData)); tmp = e; SETCAR(tmp, cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_scaled_font, "CairoScaledFont", cairo_scaled_font)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_glyph)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_cr, "Cairo", cairo)); tmp = CDR(tmp); if(cbdata->useData) { SETCAR(tmp, cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_status_t)0)); { cairo_font_extents_t* extents = asCCairoFontExtents(VECTOR_ELT(s_ans, 1)); *s_extents = *extents; g_free(extents); } return(((cairo_status_t)asCEnum(VECTOR_ELT(s_ans, 0), CAIRO_TYPE_STATUS))); } #endif #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_data_key_t text_to_glyphs_func_key; cairo_status_t S_cairo_user_scaled_font_text_to_glyphs_func_t( cairo_scaled_font_t* s_scaled_font, const char* s_utf8, int s_utf8_len, cairo_glyph_t** s_glyphs, int* s_num_glyphs, cairo_text_cluster_t** s_clusters, int* s_num_clusters, cairo_text_cluster_flags_t* s_cluster_flags) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; cairo_font_face_t *font_face = cairo_scaled_font_get_font_face(s_scaled_font); R_CallbackData *cbdata = (R_CallbackData *)cairo_font_face_get_user_data(font_face, &text_to_glyphs_func_key); PROTECT(e = allocVector(LANGSXP, 4+cbdata->useData)); tmp = e; SETCAR(tmp, cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_scaled_font, "CairoScaledFont", cairo_scaled_font)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_utf8)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_utf8_len)); tmp = CDR(tmp); if(cbdata->useData) { SETCAR(tmp, cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_status_t)0)); SEXP ans_glyphs = VECTOR_ELT(s_ans, 1); *s_num_glyphs = GET_LENGTH(ans_glyphs); *s_glyphs = cairo_glyph_allocate(*s_num_glyphs); for (int i = 0; i < *s_num_glyphs; i++) *s_glyphs[i] = *asCCairoGlyph(VECTOR_ELT(ans_glyphs, i)); SEXP ans_clusters = VECTOR_ELT(s_ans, 1); *s_num_clusters = GET_LENGTH(ans_clusters); *s_clusters = cairo_text_cluster_allocate(*s_num_clusters); for (int i = 0; i < *s_num_clusters; i++) *s_clusters[i] = *asCCairoTextCluster(VECTOR_ELT(ans_clusters, i)); *s_cluster_flags = ((cairo_text_cluster_flags_t)asCEnum(VECTOR_ELT(s_ans, 5), CAIRO_TYPE_TEXT_CLUSTER_FLAGS)); return(((cairo_status_t)asCEnum(VECTOR_ELT(s_ans, 0), CAIRO_TYPE_STATUS))); } #endif #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_data_key_t unicode_to_glyph_func_key; cairo_status_t S_cairo_user_scaled_font_unicode_to_glyph_func_t(cairo_scaled_font_t* s_scaled_font, gulong s_unicode, gulong* s_glyph_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; cairo_font_face_t *font_face = cairo_scaled_font_get_font_face(s_scaled_font); R_CallbackData *cbdata = (R_CallbackData *)cairo_font_face_get_user_data(font_face, &unicode_to_glyph_func_key); PROTECT(e = allocVector(LANGSXP, 3+cbdata->useData)); tmp = e; SETCAR(tmp, cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_scaled_font, "CairoScaledFont", cairo_scaled_font)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_unicode)); tmp = CDR(tmp); if(cbdata->useData) { SETCAR(tmp, cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_status_t)0)); *s_glyph_index = ((gulong)asCNumeric(VECTOR_ELT(s_ans, 1))); return(((cairo_status_t)asCEnum(VECTOR_ELT(s_ans, 0), CAIRO_TYPE_STATUS))); } #endif USER_OBJECT_ S_cairo_user_font_face_set_init_func(USER_OBJECT_ s_font_face, USER_OBJECT_ s_init_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_scaled_font_init_func_t init_func = ((cairo_user_scaled_font_init_func_t)S_cairo_user_scaled_font_init_func_t); cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_set_user_data(font_face, &init_func_key, R_createCBData(s_init_func, NULL), (cairo_destroy_func_t)R_freeCBData); cairo_user_font_face_set_init_func(font_face, init_func); #else error("cairo_user_font_face_set_init_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_set_render_glyph_func(USER_OBJECT_ s_font_face, USER_OBJECT_ s_render_glyph_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_scaled_font_render_glyph_func_t render_glyph_func = ((cairo_user_scaled_font_render_glyph_func_t)S_cairo_user_scaled_font_render_glyph_func_t); cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_set_user_data(font_face, &render_glyph_func_key, R_createCBData(s_render_glyph_func, NULL), (cairo_destroy_func_t)R_freeCBData); cairo_user_font_face_set_render_glyph_func(font_face, render_glyph_func); #else error("cairo_user_font_face_set_render_glyph_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_set_unicode_to_glyph_func(USER_OBJECT_ s_font_face, USER_OBJECT_ s_unicode_to_glyph_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_scaled_font_unicode_to_glyph_func_t unicode_to_glyph_func = ((cairo_user_scaled_font_unicode_to_glyph_func_t)S_cairo_user_scaled_font_unicode_to_glyph_func_t); cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_set_user_data(font_face, &unicode_to_glyph_func_key, R_createCBData(s_unicode_to_glyph_func, NULL), (cairo_destroy_func_t)R_freeCBData); cairo_user_font_face_set_unicode_to_glyph_func(font_face, unicode_to_glyph_func); #else error("cairo_user_font_face_set_unicode_to_glyph_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_set_text_to_glyphs_func(USER_OBJECT_ s_font_face, USER_OBJECT_ s_text_to_glyphs_func) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_user_scaled_font_text_to_glyphs_func_t text_to_glyphs_func = ((cairo_user_scaled_font_text_to_glyphs_func_t)S_cairo_user_scaled_font_text_to_glyphs_func_t); cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_set_user_data(font_face, &text_to_glyphs_func_key, R_createCBData(s_text_to_glyphs_func, NULL), (cairo_destroy_func_t)R_freeCBData); cairo_user_font_face_set_text_to_glyphs_func(font_face, text_to_glyphs_func); #else error("cairo_user_font_face_set_text_to_glyphs_func exists only in cairo >= 1.8.0"); #endif return(_result); } RGtk2/src/cairo-enums.c0000644000176000001440000017340312362467242014430 0ustar ripleyusers /* Generated data (by glib-mkenums) */ #include #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,8,0) #include #include #include /* enumerations from "cairo-1.8.h" */ GType cairo_status_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" }, { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" }, { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" }, { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" }, { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" }, { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" }, { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" }, { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" }, { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" }, { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" }, { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" }, { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" }, { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" }, { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" }, { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" }, { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" }, { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" }, { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" }, { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" }, { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" }, { CAIRO_STATUS_INVALID_DSC_COMMENT, "CAIRO_STATUS_INVALID_DSC_COMMENT", "invalid-dsc-comment" }, { CAIRO_STATUS_INVALID_INDEX, "CAIRO_STATUS_INVALID_INDEX", "invalid-index" }, { CAIRO_STATUS_CLIP_NOT_REPRESENTABLE, "CAIRO_STATUS_CLIP_NOT_REPRESENTABLE", "clip-not-representable" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoStatus", values); } return etype; } GType cairo_content_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" }, { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" }, { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoContent", values); } return etype; } GType cairo_operator_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" }, { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" }, { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" }, { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" }, { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" }, { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" }, { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" }, { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" }, { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" }, { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" }, { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" }, { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" }, { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" }, { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoOperator", values); } return etype; } GType cairo_antialias_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" }, { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" }, { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" }, { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoAntialias", values); } return etype; } GType cairo_fill_rule_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" }, { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFillRule", values); } return etype; } GType cairo_line_cap_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" }, { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" }, { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineCap", values); } return etype; } GType cairo_line_join_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" }, { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" }, { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineJoin", values); } return etype; } GType cairo_text_cluster_flags_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_TEXT_CLUSTER_FLAG_BACKWARD, "CAIRO_TEXT_CLUSTER_FLAG_BACKWARD", "backward" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoTextClusterFlags", values); } return etype; } GType cairo_font_slant_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" }, { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" }, { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontSlant", values); } return etype; } GType cairo_font_weight_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" }, { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontWeight", values); } return etype; } GType cairo_subpixel_order_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" }, { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" }, { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" }, { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" }, { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSubpixelOrder", values); } return etype; } GType cairo_hint_style_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" }, { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" }, { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" }, { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" }, { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintStyle", values); } return etype; } GType cairo_hint_metrics_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" }, { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" }, { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintMetrics", values); } return etype; } GType cairo_font_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_TYPE_TOY, "CAIRO_FONT_TYPE_TOY", "toy" }, { CAIRO_FONT_TYPE_FT, "CAIRO_FONT_TYPE_FT", "ft" }, { CAIRO_FONT_TYPE_WIN32, "CAIRO_FONT_TYPE_WIN32", "win32" }, { CAIRO_FONT_TYPE_ATSUI, "CAIRO_FONT_TYPE_ATSUI", "atsui" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontType", values); } return etype; } GType cairo_path_data_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" }, { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" }, { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" }, { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPathDataType", values); } return etype; } GType cairo_surface_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SURFACE_TYPE_IMAGE, "CAIRO_SURFACE_TYPE_IMAGE", "image" }, { CAIRO_SURFACE_TYPE_PDF, "CAIRO_SURFACE_TYPE_PDF", "pdf" }, { CAIRO_SURFACE_TYPE_PS, "CAIRO_SURFACE_TYPE_PS", "ps" }, { CAIRO_SURFACE_TYPE_XLIB, "CAIRO_SURFACE_TYPE_XLIB", "xlib" }, { CAIRO_SURFACE_TYPE_XCB, "CAIRO_SURFACE_TYPE_XCB", "xcb" }, { CAIRO_SURFACE_TYPE_GLITZ, "CAIRO_SURFACE_TYPE_GLITZ", "glitz" }, { CAIRO_SURFACE_TYPE_QUARTZ, "CAIRO_SURFACE_TYPE_QUARTZ", "quartz" }, { CAIRO_SURFACE_TYPE_WIN32, "CAIRO_SURFACE_TYPE_WIN32", "win32" }, { CAIRO_SURFACE_TYPE_BEOS, "CAIRO_SURFACE_TYPE_BEOS", "beos" }, { CAIRO_SURFACE_TYPE_DIRECTFB, "CAIRO_SURFACE_TYPE_DIRECTFB", "directfb" }, { CAIRO_SURFACE_TYPE_SVG, "CAIRO_SURFACE_TYPE_SVG", "svg" }, { CAIRO_SURFACE_TYPE_OS2, "CAIRO_SURFACE_TYPE_OS2", "os2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSurfaceType", values); } return etype; } GType cairo_format_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" }, { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" }, { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" }, { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFormat", values); } return etype; } GType cairo_pattern_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATTERN_TYPE_SOLID, "CAIRO_PATTERN_TYPE_SOLID", "solid" }, { CAIRO_PATTERN_TYPE_SURFACE, "CAIRO_PATTERN_TYPE_SURFACE", "surface" }, { CAIRO_PATTERN_TYPE_LINEAR, "CAIRO_PATTERN_TYPE_LINEAR", "linear" }, { CAIRO_PATTERN_TYPE_RADIAL, "CAIRO_PATTERN_TYPE_RADIAL", "radial" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPatternType", values); } return etype; } GType cairo_extend_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" }, { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" }, { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" }, { CAIRO_EXTEND_PAD, "CAIRO_EXTEND_PAD", "pad" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoExtend", values); } return etype; } GType cairo_filter_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" }, { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" }, { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" }, { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" }, { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" }, { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFilter", values); } return etype; } GType cairo_svg_version_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SVG_VERSION_1_1, "CAIRO_SVG_VERSION_1_1", "1" }, { CAIRO_SVG_VERSION_1_2, "CAIRO_SVG_VERSION_1_2", "2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSvgVersion", values); } return etype; } GType cairo_ps_level_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PS_LEVEL_2, "CAIRO_PS_LEVEL_2", "2" }, { CAIRO_PS_LEVEL_3, "CAIRO_PS_LEVEL_3", "3" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPsLevel", values); } return etype; } /* Generated data ends here */ /* Generated data (by glib-mkenums) */ #include #elif CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,6,0) #include #include #include /* enumerations from "cairo-1.6.h" */ GType cairo_status_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" }, { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" }, { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" }, { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" }, { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" }, { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" }, { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" }, { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" }, { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" }, { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" }, { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" }, { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" }, { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" }, { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" }, { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" }, { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" }, { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" }, { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" }, { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" }, { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" }, { CAIRO_STATUS_INVALID_DSC_COMMENT, "CAIRO_STATUS_INVALID_DSC_COMMENT", "invalid-dsc-comment" }, { CAIRO_STATUS_INVALID_INDEX, "CAIRO_STATUS_INVALID_INDEX", "invalid-index" }, { CAIRO_STATUS_CLIP_NOT_REPRESENTABLE, "CAIRO_STATUS_CLIP_NOT_REPRESENTABLE", "clip-not-representable" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoStatus", values); } return etype; } GType cairo_content_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" }, { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" }, { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoContent", values); } return etype; } GType cairo_operator_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" }, { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" }, { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" }, { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" }, { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" }, { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" }, { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" }, { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" }, { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" }, { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" }, { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" }, { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" }, { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" }, { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoOperator", values); } return etype; } GType cairo_antialias_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" }, { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" }, { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" }, { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoAntialias", values); } return etype; } GType cairo_fill_rule_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" }, { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFillRule", values); } return etype; } GType cairo_line_cap_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" }, { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" }, { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineCap", values); } return etype; } GType cairo_line_join_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" }, { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" }, { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineJoin", values); } return etype; } GType cairo_font_slant_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" }, { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" }, { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontSlant", values); } return etype; } GType cairo_font_weight_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" }, { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontWeight", values); } return etype; } GType cairo_subpixel_order_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" }, { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" }, { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" }, { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" }, { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSubpixelOrder", values); } return etype; } GType cairo_hint_style_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" }, { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" }, { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" }, { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" }, { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintStyle", values); } return etype; } GType cairo_hint_metrics_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" }, { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" }, { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintMetrics", values); } return etype; } GType cairo_font_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_TYPE_TOY, "CAIRO_FONT_TYPE_TOY", "toy" }, { CAIRO_FONT_TYPE_FT, "CAIRO_FONT_TYPE_FT", "ft" }, { CAIRO_FONT_TYPE_WIN32, "CAIRO_FONT_TYPE_WIN32", "win32" }, { CAIRO_FONT_TYPE_ATSUI, "CAIRO_FONT_TYPE_ATSUI", "atsui" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontType", values); } return etype; } GType cairo_path_data_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" }, { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" }, { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" }, { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPathDataType", values); } return etype; } GType cairo_surface_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SURFACE_TYPE_IMAGE, "CAIRO_SURFACE_TYPE_IMAGE", "image" }, { CAIRO_SURFACE_TYPE_PDF, "CAIRO_SURFACE_TYPE_PDF", "pdf" }, { CAIRO_SURFACE_TYPE_PS, "CAIRO_SURFACE_TYPE_PS", "ps" }, { CAIRO_SURFACE_TYPE_XLIB, "CAIRO_SURFACE_TYPE_XLIB", "xlib" }, { CAIRO_SURFACE_TYPE_XCB, "CAIRO_SURFACE_TYPE_XCB", "xcb" }, { CAIRO_SURFACE_TYPE_GLITZ, "CAIRO_SURFACE_TYPE_GLITZ", "glitz" }, { CAIRO_SURFACE_TYPE_QUARTZ, "CAIRO_SURFACE_TYPE_QUARTZ", "quartz" }, { CAIRO_SURFACE_TYPE_WIN32, "CAIRO_SURFACE_TYPE_WIN32", "win32" }, { CAIRO_SURFACE_TYPE_BEOS, "CAIRO_SURFACE_TYPE_BEOS", "beos" }, { CAIRO_SURFACE_TYPE_DIRECTFB, "CAIRO_SURFACE_TYPE_DIRECTFB", "directfb" }, { CAIRO_SURFACE_TYPE_SVG, "CAIRO_SURFACE_TYPE_SVG", "svg" }, { CAIRO_SURFACE_TYPE_OS2, "CAIRO_SURFACE_TYPE_OS2", "os2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSurfaceType", values); } return etype; } GType cairo_format_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" }, { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" }, { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" }, { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFormat", values); } return etype; } GType cairo_pattern_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATTERN_TYPE_SOLID, "CAIRO_PATTERN_TYPE_SOLID", "solid" }, { CAIRO_PATTERN_TYPE_SURFACE, "CAIRO_PATTERN_TYPE_SURFACE", "surface" }, { CAIRO_PATTERN_TYPE_LINEAR, "CAIRO_PATTERN_TYPE_LINEAR", "linear" }, { CAIRO_PATTERN_TYPE_RADIAL, "CAIRO_PATTERN_TYPE_RADIAL", "radial" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPatternType", values); } return etype; } GType cairo_extend_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" }, { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" }, { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" }, { CAIRO_EXTEND_PAD, "CAIRO_EXTEND_PAD", "pad" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoExtend", values); } return etype; } GType cairo_filter_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" }, { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" }, { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" }, { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" }, { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" }, { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFilter", values); } return etype; } GType cairo_svg_version_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SVG_VERSION_1_1, "CAIRO_SVG_VERSION_1_1", "1" }, { CAIRO_SVG_VERSION_1_2, "CAIRO_SVG_VERSION_1_2", "2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSvgVersion", values); } return etype; } GType cairo_ps_level_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PS_LEVEL_2, "CAIRO_PS_LEVEL_2", "2" }, { CAIRO_PS_LEVEL_3, "CAIRO_PS_LEVEL_3", "3" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPsLevel", values); } return etype; } /* Generated data ends here */ /* Generated data (by glib-mkenums) */ #include #elif CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,4,0) #include #include /* enumerations from "cairo-1.4.h" */ GType cairo_status_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" }, { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" }, { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" }, { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" }, { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" }, { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" }, { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" }, { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" }, { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" }, { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" }, { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" }, { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" }, { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" }, { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" }, { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" }, { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" }, { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" }, { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" }, { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" }, { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" }, { CAIRO_STATUS_INVALID_DSC_COMMENT, "CAIRO_STATUS_INVALID_DSC_COMMENT", "invalid-dsc-comment" }, { CAIRO_STATUS_INVALID_INDEX, "CAIRO_STATUS_INVALID_INDEX", "invalid-index" }, { CAIRO_STATUS_CLIP_NOT_REPRESENTABLE, "CAIRO_STATUS_CLIP_NOT_REPRESENTABLE", "clip-not-representable" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoStatus", values); } return etype; } GType cairo_content_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" }, { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" }, { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoContent", values); } return etype; } GType cairo_operator_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" }, { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" }, { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" }, { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" }, { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" }, { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" }, { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" }, { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" }, { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" }, { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" }, { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" }, { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" }, { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" }, { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoOperator", values); } return etype; } GType cairo_antialias_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" }, { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" }, { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" }, { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoAntialias", values); } return etype; } GType cairo_fill_rule_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" }, { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFillRule", values); } return etype; } GType cairo_line_cap_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" }, { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" }, { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineCap", values); } return etype; } GType cairo_line_join_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" }, { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" }, { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineJoin", values); } return etype; } GType cairo_font_slant_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" }, { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" }, { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontSlant", values); } return etype; } GType cairo_font_weight_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" }, { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontWeight", values); } return etype; } GType cairo_subpixel_order_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" }, { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" }, { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" }, { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" }, { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSubpixelOrder", values); } return etype; } GType cairo_hint_style_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" }, { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" }, { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" }, { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" }, { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintStyle", values); } return etype; } GType cairo_hint_metrics_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" }, { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" }, { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintMetrics", values); } return etype; } GType cairo_font_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_TYPE_TOY, "CAIRO_FONT_TYPE_TOY", "toy" }, { CAIRO_FONT_TYPE_FT, "CAIRO_FONT_TYPE_FT", "ft" }, { CAIRO_FONT_TYPE_WIN32, "CAIRO_FONT_TYPE_WIN32", "win32" }, { CAIRO_FONT_TYPE_ATSUI, "CAIRO_FONT_TYPE_ATSUI", "atsui" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontType", values); } return etype; } GType cairo_path_data_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" }, { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" }, { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" }, { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPathDataType", values); } return etype; } GType cairo_surface_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SURFACE_TYPE_IMAGE, "CAIRO_SURFACE_TYPE_IMAGE", "image" }, { CAIRO_SURFACE_TYPE_PDF, "CAIRO_SURFACE_TYPE_PDF", "pdf" }, { CAIRO_SURFACE_TYPE_PS, "CAIRO_SURFACE_TYPE_PS", "ps" }, { CAIRO_SURFACE_TYPE_XLIB, "CAIRO_SURFACE_TYPE_XLIB", "xlib" }, { CAIRO_SURFACE_TYPE_XCB, "CAIRO_SURFACE_TYPE_XCB", "xcb" }, { CAIRO_SURFACE_TYPE_GLITZ, "CAIRO_SURFACE_TYPE_GLITZ", "glitz" }, { CAIRO_SURFACE_TYPE_QUARTZ, "CAIRO_SURFACE_TYPE_QUARTZ", "quartz" }, { CAIRO_SURFACE_TYPE_WIN32, "CAIRO_SURFACE_TYPE_WIN32", "win32" }, { CAIRO_SURFACE_TYPE_BEOS, "CAIRO_SURFACE_TYPE_BEOS", "beos" }, { CAIRO_SURFACE_TYPE_DIRECTFB, "CAIRO_SURFACE_TYPE_DIRECTFB", "directfb" }, { CAIRO_SURFACE_TYPE_SVG, "CAIRO_SURFACE_TYPE_SVG", "svg" }, { CAIRO_SURFACE_TYPE_OS2, "CAIRO_SURFACE_TYPE_OS2", "os2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSurfaceType", values); } return etype; } GType cairo_format_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" }, { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" }, { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" }, { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFormat", values); } return etype; } GType cairo_pattern_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATTERN_TYPE_SOLID, "CAIRO_PATTERN_TYPE_SOLID", "solid" }, { CAIRO_PATTERN_TYPE_SURFACE, "CAIRO_PATTERN_TYPE_SURFACE", "surface" }, { CAIRO_PATTERN_TYPE_LINEAR, "CAIRO_PATTERN_TYPE_LINEAR", "linear" }, { CAIRO_PATTERN_TYPE_RADIAL, "CAIRO_PATTERN_TYPE_RADIAL", "radial" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPatternType", values); } return etype; } GType cairo_extend_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" }, { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" }, { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" }, { CAIRO_EXTEND_PAD, "CAIRO_EXTEND_PAD", "pad" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoExtend", values); } return etype; } GType cairo_filter_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" }, { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" }, { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" }, { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" }, { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" }, { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFilter", values); } return etype; } GType cairo_svg_version_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SVG_VERSION_1_1, "CAIRO_SVG_VERSION_1_1", "1" }, { CAIRO_SVG_VERSION_1_2, "CAIRO_SVG_VERSION_1_2", "2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSvgVersion", values); } return etype; } /* Generated data ends here */ /* Generated data (by glib-mkenums) */ #elif CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,2,0) #include #include /* enumerations from "cairo-1.2.h" */ GType cairo_status_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" }, { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" }, { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" }, { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" }, { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" }, { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" }, { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" }, { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" }, { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" }, { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" }, { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" }, { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" }, { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" }, { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" }, { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" }, { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" }, { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" }, { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" }, { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" }, { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" }, { CAIRO_STATUS_INVALID_DSC_COMMENT, "CAIRO_STATUS_INVALID_DSC_COMMENT", "invalid-dsc-comment" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoStatus", values); } return etype; } GType cairo_content_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" }, { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" }, { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoContent", values); } return etype; } GType cairo_operator_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" }, { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" }, { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" }, { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" }, { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" }, { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" }, { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" }, { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" }, { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" }, { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" }, { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" }, { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" }, { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" }, { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoOperator", values); } return etype; } GType cairo_antialias_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" }, { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" }, { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" }, { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoAntialias", values); } return etype; } GType cairo_fill_rule_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" }, { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFillRule", values); } return etype; } GType cairo_line_cap_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" }, { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" }, { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineCap", values); } return etype; } GType cairo_line_join_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" }, { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" }, { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineJoin", values); } return etype; } GType cairo_font_slant_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" }, { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" }, { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontSlant", values); } return etype; } GType cairo_font_weight_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" }, { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontWeight", values); } return etype; } GType cairo_subpixel_order_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" }, { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" }, { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" }, { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" }, { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSubpixelOrder", values); } return etype; } GType cairo_hint_style_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" }, { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" }, { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" }, { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" }, { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintStyle", values); } return etype; } GType cairo_hint_metrics_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" }, { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" }, { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintMetrics", values); } return etype; } GType cairo_font_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_TYPE_TOY, "CAIRO_FONT_TYPE_TOY", "toy" }, { CAIRO_FONT_TYPE_FT, "CAIRO_FONT_TYPE_FT", "ft" }, { CAIRO_FONT_TYPE_WIN32, "CAIRO_FONT_TYPE_WIN32", "win32" }, { CAIRO_FONT_TYPE_ATSUI, "CAIRO_FONT_TYPE_ATSUI", "atsui" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontType", values); } return etype; } GType cairo_path_data_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" }, { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" }, { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" }, { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPathDataType", values); } return etype; } GType cairo_surface_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SURFACE_TYPE_IMAGE, "CAIRO_SURFACE_TYPE_IMAGE", "image" }, { CAIRO_SURFACE_TYPE_PDF, "CAIRO_SURFACE_TYPE_PDF", "pdf" }, { CAIRO_SURFACE_TYPE_PS, "CAIRO_SURFACE_TYPE_PS", "ps" }, { CAIRO_SURFACE_TYPE_XLIB, "CAIRO_SURFACE_TYPE_XLIB", "xlib" }, { CAIRO_SURFACE_TYPE_XCB, "CAIRO_SURFACE_TYPE_XCB", "xcb" }, { CAIRO_SURFACE_TYPE_GLITZ, "CAIRO_SURFACE_TYPE_GLITZ", "glitz" }, { CAIRO_SURFACE_TYPE_QUARTZ, "CAIRO_SURFACE_TYPE_QUARTZ", "quartz" }, { CAIRO_SURFACE_TYPE_WIN32, "CAIRO_SURFACE_TYPE_WIN32", "win32" }, { CAIRO_SURFACE_TYPE_BEOS, "CAIRO_SURFACE_TYPE_BEOS", "beos" }, { CAIRO_SURFACE_TYPE_DIRECTFB, "CAIRO_SURFACE_TYPE_DIRECTFB", "directfb" }, { CAIRO_SURFACE_TYPE_SVG, "CAIRO_SURFACE_TYPE_SVG", "svg" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSurfaceType", values); } return etype; } GType cairo_format_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" }, { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" }, { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" }, { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" }, { CAIRO_FORMAT_RGB16_565, "CAIRO_FORMAT_RGB16_565", "rgb16-565" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFormat", values); } return etype; } GType cairo_pattern_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATTERN_TYPE_SOLID, "CAIRO_PATTERN_TYPE_SOLID", "solid" }, { CAIRO_PATTERN_TYPE_SURFACE, "CAIRO_PATTERN_TYPE_SURFACE", "surface" }, { CAIRO_PATTERN_TYPE_LINEAR, "CAIRO_PATTERN_TYPE_LINEAR", "linear" }, { CAIRO_PATTERN_TYPE_RADIAL, "CAIRO_PATTERN_TYPE_RADIAL", "radial" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPatternType", values); } return etype; } GType cairo_extend_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" }, { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" }, { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" }, { CAIRO_EXTEND_PAD, "CAIRO_EXTEND_PAD", "pad" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoExtend", values); } return etype; } GType cairo_filter_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" }, { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" }, { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" }, { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" }, { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" }, { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFilter", values); } return etype; } GType cairo_svg_version_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SVG_VERSION_1_1, "CAIRO_SVG_VERSION_1_1", "1" }, { CAIRO_SVG_VERSION_1_2, "CAIRO_SVG_VERSION_1_2", "2" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSvgVersion", values); } return etype; } /* Generated data ends here */ /* Generated data (by glib-mkenums) */ #else #include /* enumerations from "cairo.h" */ GType cairo_status_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" }, { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" }, { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" }, { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" }, { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" }, { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" }, { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" }, { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" }, { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" }, { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" }, { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" }, { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" }, { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" }, { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" }, { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" }, { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" }, { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" }, { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" }, { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" }, { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoStatus", values); } return etype; } GType cairo_operator_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" }, { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" }, { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" }, { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" }, { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" }, { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" }, { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" }, { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" }, { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" }, { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" }, { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" }, { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" }, { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" }, { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoOperator", values); } return etype; } GType cairo_fill_rule_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" }, { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFillRule", values); } return etype; } GType cairo_line_cap_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" }, { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" }, { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineCap", values); } return etype; } GType cairo_line_join_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" }, { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" }, { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoLineJoin", values); } return etype; } GType cairo_font_slant_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" }, { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" }, { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontSlant", values); } return etype; } GType cairo_font_weight_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" }, { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFontWeight", values); } return etype; } GType cairo_path_data_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" }, { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" }, { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" }, { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoPathDataType", values); } return etype; } GType cairo_content_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" }, { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" }, { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoContent", values); } return etype; } GType cairo_format_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" }, { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" }, { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" }, { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFormat", values); } return etype; } GType cairo_extend_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" }, { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" }, { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoExtend", values); } return etype; } GType cairo_filter_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" }, { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" }, { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" }, { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" }, { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" }, { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoFilter", values); } return etype; } GType cairo_antialias_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" }, { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" }, { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" }, { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoAntialias", values); } return etype; } GType cairo_subpixel_order_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" }, { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" }, { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" }, { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" }, { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoSubpixelOrder", values); } return etype; } GType cairo_hint_style_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" }, { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" }, { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" }, { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" }, { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintStyle", values); } return etype; } GType cairo_hint_metrics_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" }, { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" }, { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("CairoHintMetrics", values); } return etype; } #endif /* Generated data ends here */ RGtk2/src/classes.c0000644000176000001440000002355312362467242013643 0ustar ripleyusers#include "RGtk2/gobject.h" static USER_OBJECT_ S_GObject_symbol; static void S_virtual_gobject_finalize(GObject *object) { USER_OBJECT_ s_env = S_GOBJECT_GET_ENV(object); if (VECTOR_ELT(findVar(S_GObject_symbol, s_env), 1) == NULL_USER_OBJECT) { USER_OBJECT_ s_instance_env = S_G_OBJECT_GET_INSTANCE_ENV(object); R_ReleaseObject(s_instance_env); } } static void S_virtual_gobject_set_property(GObject *object, guint id, const GValue *value, GParamSpec *pspec) { USER_OBJECT_ s_fun; USER_OBJECT_ s_env = S_GOBJECT_GET_ENV(object); s_fun = VECTOR_ELT(findVar(S_GObject_symbol, s_env), 0); /* If the user does not override set_property, we store automatically */ if (s_fun == NULL_USER_OBJECT) { USER_OBJECT_ s_prop_env = S_G_OBJECT_GET_INSTANCE_ENV(object); defineVar(install(pspec->name), asRGValue(value), s_prop_env); } else { USER_OBJECT_ e; USER_OBJECT_ tmp; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, s_fun); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(object, toRPointerWithRef(object, "GObject"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(id)); tmp = CDR(tmp); SETCAR(tmp, asRGValue(value)); tmp = CDR(tmp); SETCAR(tmp, asRGParamSpec(pspec)); tmp = CDR(tmp); eval(e, R_GlobalEnv); UNPROTECT(1); } } static void S_virtual_gobject_get_property(GObject *object, guint id, GValue *value, GParamSpec *pspec) { USER_OBJECT_ s_ans; USER_OBJECT_ s_fun; USER_OBJECT_ s_env = S_GOBJECT_GET_ENV(object); s_fun = VECTOR_ELT(findVar(S_GObject_symbol, s_env), 1); /* If the user does not override get_property, we retrieve automatically */ if (s_fun == NULL_USER_OBJECT) { USER_OBJECT_ s_prop_env = S_G_OBJECT_GET_INSTANCE_ENV(object); s_ans = findVar(install(pspec->name), s_prop_env); if (s_ans == R_UnboundValue) { g_param_value_set_default(pspec, value); return; } } else { USER_OBJECT_ e; USER_OBJECT_ tmp; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, s_fun); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(object, toRPointerWithRef(object, "GObject"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(id)); tmp = CDR(tmp); SETCAR(tmp, asRGParamSpec(pspec)); tmp = CDR(tmp); s_ans = eval(e, R_GlobalEnv); UNPROTECT(1); } R_setGValueFromSValue(value, s_ans); } /* It's not clear whether we want to override the 'constructor' method. In a way, it is similar to the S4 initialize function, in that it provides the initial properties. However, unlike S4, the setting of properties can be overridden in a more centralized way in GObject with the 'set_property' method. Most people override 'constructor' to implement singletons, but that is a foreign concept to R. */ /*static GObject * S_virtual_gobject_constructor(GType type, guint n_properties, GObjectConstructParam *properties) { USER_OBJECT_ s_ans; USER_OBJECT_ s_fun; s_fun = VECTOR_ELT(findVar(S_GObject_symbol, S_GOBJECT_GET_ENV(object)), 2); }*/ static USER_OBJECT_ _S_InstanceInit_symbol = NULL; static USER_OBJECT_ _S_InstanceEnv_fun; void S_gobject_class_init(GObjectClass *c, USER_OBJECT_ e) { GTypeQuery query; USER_OBJECT_ s_props, s_prop_overrides; gint i, j; S_GObject_symbol = install("GObject"); g_type_query(G_OBJECT_CLASS_TYPE(c), &query); G_STRUCT_MEMBER(SEXP, c, query.class_size - sizeof(SEXP)) = e; c->set_property = S_virtual_gobject_set_property; c->get_property = S_virtual_gobject_get_property; c->finalize = S_virtual_gobject_finalize; s_props = findVar(install(".props"), e); /* initialize properties */ for (i = 0; i < GET_LENGTH(s_props); i++) { GParamSpec *pspec = asCGParamSpec(VECTOR_ELT(s_props, i)); g_object_class_install_property(c, i+1, pspec); } s_prop_overrides = findVar(install(".prop_overrides"), e); for (j = 0; j < GET_LENGTH(s_prop_overrides); j++) g_object_class_override_property(c, i+1, asCString(STRING_ELT(s_prop_overrides, j))); /*if (VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->constructor = S_virtual_gobject_constructor;*/ } static void S_gobject_instance_init(GObject *object, GObjectClass *class) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_env = S_GOBJECT_GET_ENV(object); USER_OBJECT_ s_fun = findVar(_S_InstanceInit_symbol, s_env); USER_OBJECT_ instance_env, envs; guint size = 0; gint i; GTypeQuery query; GType type = G_OBJECT_TYPE(object); GObject *tmp_object = object; /* create instance environment */ /* we need to get the environment out of every SGObject ancestor class */ while(g_type_is_a(type, S_TYPE_G_OBJECT)) { size++; type = g_type_parent(type); } envs = NEW_LIST(size); for (i = size-1; i >= 0; i--) { SET_VECTOR_ELT(envs, i, S_GOBJECT_GET_ENV(tmp_object)); tmp_object -= sizeof(USER_OBJECT_); } /* and send those to be cloned in R */ PROTECT(tmp = lang2(_S_InstanceEnv_fun, envs)); PROTECT(instance_env = eval(tmp, R_GlobalEnv)); R_PreserveObject(instance_env); g_type_query(G_OBJECT_TYPE(object), &query); G_STRUCT_MEMBER(SEXP, object, query.instance_size - sizeof(SEXP)) = instance_env; UNPROTECT(2); /* run user function if it exists */ if (s_fun == NULL_USER_OBJECT) return; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, s_fun); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(object, toRPointerWithRef(object, "GObject"))); eval(e, R_GlobalEnv); UNPROTECT(1); } /* clone a pointer to the SGObject and add parent envs */ USER_OBJECT_ S_g_object_parent(USER_OBJECT_ s_obj) { GObject *obj = getPtrValue(s_obj); USER_OBJECT_ parent = toRPointerWithRef(obj, "GObject"); USER_OBJECT_ public_env, private_env; if (!g_type_is_a(g_type_parent(G_OBJECT_TYPE(obj)), S_TYPE_G_OBJECT)) return NULL_USER_OBJECT; public_env = findVar(install(".public"), S_GOBJECT_GET_ENV(obj)); private_env = S_G_OBJECT_GET_INSTANCE_ENV(s_obj); setAttrib(parent, install(".public"), ENCLOS(public_env)); setAttrib(parent, install(".private"), ENCLOS(private_env)); return parent; } /* clone a pointer to the SGObject and add private env */ USER_OBJECT_ S_g_object_private(USER_OBJECT_ s_obj) { USER_OBJECT_ private = toRPointerWithRef(getPtrValue(s_obj), "GObject"); USER_OBJECT_ private_env = S_G_OBJECT_GET_INSTANCE_ENV(getPtrValue(s_obj)); setAttrib(private, install(".private"), private_env); return private; } /* so that R can get the public environment out for a named type, allowing it to establish the parent of a new public env without later cloning */ USER_OBJECT_ S_g_object_type_get_public_env(USER_OBJECT_ s_type_name) { GType type = g_type_from_name(asCString(s_type_name)); GObjectClass *c = g_type_class_peek(type); GTypeQuery query; g_type_query(type, &query); return G_STRUCT_MEMBER(USER_OBJECT_, c, query.class_size - sizeof(USER_OBJECT_)); } static USER_OBJECT_ S_g_object_get_environment(SGObject *obj) { return S_G_OBJECT_GET_INSTANCE_ENV(obj); } static void S_g_object_init(SGObjectIface *iface, gpointer data) { iface->get_environment = S_g_object_get_environment; } USER_OBJECT_ S_gobject_class_new(USER_OBJECT_ s_name, USER_OBJECT_ s_parent, USER_OBJECT_ s_interfaces, USER_OBJECT_ s_class_init_sym, USER_OBJECT_ s_interface_init_syms, USER_OBJECT_ s_def, USER_OBJECT_ s_signals, USER_OBJECT_ s_abstract) { GTypeQuery query; GTypeInfo type_info = {0, }; GInterfaceInfo interface_info = {0, }; GType new_type, parent_type = g_type_from_name(asCString(s_parent)); gint i; gboolean abstract = asCLogical(s_abstract); if (!_S_InstanceInit_symbol) { /* initialize globals */ _S_InstanceInit_symbol = install(".initialize"); _S_InstanceEnv_fun = findFun(install(".instanceEnv"), R_FindNamespace(asRString("RGtk2"))); } R_PreserveObject(s_def); g_type_query(parent_type, &query); /* create type */ type_info.class_size = query.class_size + sizeof(SEXP); type_info.class_init = (GClassInitFunc)getPtrValue(s_class_init_sym); type_info.class_data = s_def; type_info.instance_size = query.instance_size + sizeof(SEXP); type_info.instance_init = (GInstanceInitFunc)S_gobject_instance_init; new_type = g_type_register_static(parent_type, asCString(s_name), &type_info, abstract ? G_TYPE_FLAG_ABSTRACT : 0); /* add interfaces */ interface_info.interface_data = s_def; for (i = 0; i < GET_LENGTH(s_interfaces); i++) { interface_info.interface_init = (GInterfaceInitFunc)getPtrValue(VECTOR_ELT(s_interface_init_syms, i)); g_type_add_interface_static(new_type, g_type_from_name(asCString(STRING_ELT(s_interfaces, i))), &interface_info); } interface_info.interface_init = (GInterfaceInitFunc)S_g_object_init; g_type_add_interface_static(new_type, S_TYPE_G_OBJECT, &interface_info); /* install signals */ for (i = 0; i < GET_LENGTH(s_signals); i++) { USER_OBJECT_ s_signal = VECTOR_ELT(s_signals, i); g_signal_newv(asCString(VECTOR_ELT(s_signal, 0)), /* name */ new_type, /* type */ asCNumeric(VECTOR_ELT(s_signal, 3)), /* signal flags */ NULL, /* class offset */ NULL, /* accumulator */ NULL, /* accumulator data */ NULL, /* C marshaller, all we need is R marshaller */ asCNumeric(VECTOR_ELT(s_signal, 2)), /* return type */ GET_LENGTH(VECTOR_ELT(s_signal, 1)), /* number of parameters */ asCArray(VECTOR_ELT(s_signal, 1), GType, asCNumeric)); /* parameter types */ } return asRGType(new_type); } /* SGObject interface, for getting the instance environment out */ GType s_g_object_get_type(void) { static GType object_type = 0; if (!object_type) { GTypeInfo info = { sizeof(SGObjectIface), NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL }; object_type = g_type_register_static(G_TYPE_INTERFACE, "SGObject", &info, 0); } return object_type; } RGtk2/src/atkManuals.c0000644000176000001440000000235312362467242014301 0ustar ripleyusers#include "RGtk2/atk.h" /* reason: discard text length parameter and handle in-out position it's probably too much trouble to add automatic in-out support, especially because it only affects primitive types - why couldn't they just return that by value? */ USER_OBJECT_ S_atk_editable_text_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_string, USER_OBJECT_ s_position) { AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); const gchar* string = (const gchar*)asCString(s_string); gint* position = (gint*)asCArray(s_position, gint, asCInteger); gint length = strlen(string); USER_OBJECT_ _result = NULL_USER_OBJECT; atk_editable_text_insert_text(object, string, length, position); _result = retByVal(_result, "position", asRInteger(*position), NULL); return(_result); } /* This function is not provided in the win32 build of the library */ #ifdef WIN32 void atk_text_free_ranges (AtkTextRange **ranges) { AtkTextRange **first = ranges; if (ranges) { while (*ranges) { AtkTextRange *range; range = *ranges; (*ranges)++; g_free (range->content); g_free (range); } g_free (first); } } #endif RGtk2/src/gobject.c0000644000176000001440000015513512362467242013625 0ustar ripleyusers#include "RGtk2/gobject.h" #include /* GType */ USER_OBJECT_ R_internal_getGTypeAncestors(GType type) { USER_OBJECT_ ans; int n = 0; GType orig = type; while(type != 0 && type != G_TYPE_INVALID) { type = g_type_parent(type); n++; } PROTECT(ans = NEW_CHARACTER(n)); n = 0; type = orig; while(type != G_TYPE_INVALID) { const char *val; val = g_type_name(type); SET_STRING_ELT(ans, n, COPY_TO_USER_STRING(val)); n++; type = g_type_parent(type); } UNPROTECT(1); return(ans); } /** Gets a character vector giving the names of the types of the object and its ancestor types, in young-to-old order. .Call("R_getObjectTypeHierarchy", gtkWindow()) gives [1] "GtkWindow" "GtkBin" "GtkContainer" "GtkWidget" "GtkObject" (in my setup). */ USER_OBJECT_ R_getGObjectTypeAncestors(USER_OBJECT_ sobj) { GType type; GObject *obj; obj = G_OBJECT(getPtrValue(sobj)); if(!G_IS_OBJECT(obj)) { PROBLEM "Non-GObject passed to getObjectTypeHierarchy" ERROR; } type = G_OBJECT_TYPE(obj); return(R_internal_getGTypeAncestors(type)); } USER_OBJECT_ R_getGTypeAncestors(USER_OBJECT_ sobj) { GType type; type = (GType) asCGType(sobj); return(R_internal_getGTypeAncestors(type)); } USER_OBJECT_ R_getGTypeClass(USER_OBJECT_ sobj) { GType type; type = (GType) asCGType(sobj); return(toRPointerWithFinalizer(g_type_class_ref(type), "GTypeClass", (RPointerFinalizer)g_type_class_unref)); } /** Gets the name of the type of the object. */ USER_OBJECT_ R_gObjectTypeName(USER_OBJECT_ sobj) { USER_OBJECT_ ans; GObject *obj; GType type; const gchar *val; obj = G_OBJECT(getPtrValue(sobj)); type = G_OBJECT_TYPE(obj); val = g_type_name(type); PROTECT(ans = NEW_CHARACTER(1)); SET_STRING_ELT(ans, 0, COPY_TO_USER_STRING(val)); UNPROTECT(1); return(ans); } USER_OBJECT_ R_gTypeFromName(USER_OBJECT_ name) { const gchar *val; GType type; val = asCString(name); type = g_type_from_name(val); if( type == G_TYPE_INVALID) { PROBLEM "No type for %s", val ERROR; } return(asRGType(type)); } USER_OBJECT_ R_gObjectType(USER_OBJECT_ sobj) { USER_OBJECT_ ans; GObject *obj; GType type; obj = G_OBJECT(getPtrValue(sobj)); type = G_OBJECT_TYPE(obj); ans = asRGType(type); return(ans); } GType asCGType(USER_OBJECT_ sobj) { if (!inherits(sobj, "GType")) { PROBLEM "invalid GType value" ERROR; } return (GType)getPtrValue(sobj); } USER_OBJECT_ asRGType(GType type) { USER_OBJECT_ ans; const gchar *name; name = g_type_name(type); if(!name) { PROBLEM "object has no G type" ERROR; } PROTECT(ans = R_MakeExternalPtr((void *)type, R_NilValue, R_NilValue)); setAttrib(ans, install("name"), asRString(name)); SET_CLASS(ans, asRString("GType")); UNPROTECT(1); return(ans); } USER_OBJECT_ R_getInterfaces(USER_OBJECT_ s_type) { GType type; type = (GType) asCGType(s_type); return(R_internal_getInterfaces(type)); } USER_OBJECT_ R_internal_getInterfaces(GType type) { SEXP list; GType *interfaces; int i; guint n; interfaces = g_type_interfaces(type, &n); PROTECT(list = NEW_CHARACTER(n)); for(i = 0; i < n; i++) SET_STRING_ELT(list, i, COPY_TO_USER_STRING(g_type_name(interfaces[i]))); g_free(interfaces); UNPROTECT(1); return(list); } /* GObject properties */ USER_OBJECT_ R_internal_getClassParamSpecs(GObjectClass *class) { USER_OBJECT_ ans, names/*, argNames, tmp*/; int i; guint num; GParamSpec **specs; specs = g_object_class_list_properties(class, &num); PROTECT(names = NEW_CHARACTER(num)); PROTECT(ans = NEW_LIST(num)); for (i = 0; i < num; i++) { SET_VECTOR_ELT(ans, i, asRGParamSpec(specs[i])); SET_STRING_ELT(names, i, COPY_TO_USER_STRING(g_param_spec_get_name(specs[i]))); } SET_NAMES(ans, names); UNPROTECT(2); /* PROTECT(argNames = NEW_CHARACTER(2)); SET_STRING_ELT(argNames, 0, COPY_TO_USER_STRING("type")); SET_STRING_ELT(argNames, 1, COPY_TO_USER_STRING("flag")); PROTECT(ans = NEW_LIST(num)); PROTECT(names = NEW_CHARACTER(num)); for(i = 0; i < num; i++) { PROTECT(tmp = NEW_LIST(2)); SET_VECTOR_ELT(tmp, 0, asRGType(G_PARAM_SPEC_VALUE_TYPE(specs[i]))); SET_VECTOR_ELT(tmp, 1, R_createFlag(specs[i]->flags, "GParamFlags")); SET_NAMES(tmp, argNames); SET_VECTOR_ELT(ans, i, tmp); UNPROTECT(1); SET_STRING_ELT(names, i, COPY_TO_USER_STRING(g_param_spec_get_name(specs[i]))); g_param_spec_sink(specs[i]); } SET_NAMES(ans, names); UNPROTECT(3);*/ return(ans); } USER_OBJECT_ R_getGTypeParamSpecs(USER_OBJECT_ sobj) { GType type = (GType) asCGType(sobj); USER_OBJECT_ ans; gpointer class = g_type_class_ref(type); ans = R_internal_getClassParamSpecs(G_OBJECT_CLASS(class)); g_type_class_unref(class); return(ans); } USER_OBJECT_ R_setGValueForProperty(GValue *value, GObjectClass *class, const gchar *property_name, USER_OBJECT_ s_value) { GParamSpec *spec = g_object_class_find_property(class, property_name); if (!spec) { PROBLEM "Invalid property %s!\n", property_name ERROR; } g_value_init(value, G_PARAM_SPEC_VALUE_TYPE(spec)); R_setGValueFromSValue(value, s_value); return NULL_USER_OBJECT; } USER_OBJECT_ S_g_object_set_property(USER_OBJECT_ s_object, USER_OBJECT_ s_property_name, USER_OBJECT_ s_value) { GObject * object = G_OBJECT(getPtrValue(s_object)); const gchar * property_name = asCString(s_property_name); GValue value = { 0, }; USER_OBJECT_ _result = NULL_USER_OBJECT; R_setGValueForProperty(&value, G_OBJECT_GET_CLASS(object), property_name, s_value); g_object_set_property(object, property_name, &value); return(_result); } USER_OBJECT_ S_g_object_get_property(USER_OBJECT_ s_object, USER_OBJECT_ s_property_name) { GObject * object = (GObject *)getPtrValue(s_object); const gchar * property_name = asCString(s_property_name); GParamSpec *spec = g_object_class_find_property(G_OBJECT_GET_CLASS(object), property_name); USER_OBJECT_ _result = NULL_USER_OBJECT; GValue value = { 0, }; if (!spec) { PROBLEM "Invalid property %s!\n", property_name ERROR; } g_value_init(&value, G_PARAM_SPEC_VALUE_TYPE(spec)); g_object_get_property(object, property_name, &value); _result = asRGValue(&value); return(_result); } USER_OBJECT_ R_getGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ argNames) { USER_OBJECT_ ans; int i,n; n = GET_LENGTH(argNames); if(n == 0) return(NULL_USER_OBJECT); PROTECT(ans = NEW_LIST(n)); for(i = 0; i < n; i++) { SET_VECTOR_ELT(ans, i, S_g_object_get_property(sobj, STRING_ELT(argNames, i))); } SET_NAMES(ans, argNames); UNPROTECT(1); return(ans); } USER_OBJECT_ R_setGObjectProps(USER_OBJECT_ sobj, USER_OBJECT_ svals) { USER_OBJECT_ ans = NULL_USER_OBJECT; USER_OBJECT_ argNames = GET_NAMES(svals); int i,n; n = GET_LENGTH(argNames); if(n == 0) return(NULL_USER_OBJECT); for(i = 0; i < n; i++) { S_g_object_set_property(sobj, STRING_ELT(argNames, i), VECTOR_ELT(svals, i)); } return(ans); } USER_OBJECT_ R_gObjectNew(USER_OBJECT_ stype, USER_OBJECT_ svals) { USER_OBJECT_ argNames = GET_NAMES(svals); GType type = asCGType(stype); int i,n = GET_LENGTH(argNames); GParameter *params = g_new0(GParameter, n); GObjectClass *class = g_type_class_ref(type); GObject *ans; USER_OBJECT_ result = NULL_USER_OBJECT; for(i = 0; i < n; i++) { params[i].name = asCString(STRING_ELT(argNames, i)); R_setGValueForProperty(¶ms[i].value, class, params[i].name, VECTOR_ELT(svals, i)); } ans = g_object_newv(type, n, params); g_free(params); if (g_type_is_a(type, g_type_from_name(UNOWNED_TYPE_NAME))) result = toRPointerWithSink(ans, UNOWNED_TYPE_NAME); else result = toRPointerWithFinalizer(ans, "GObject", g_object_unref); g_type_class_unref(class); return(result); } static gboolean parseConstructorParams(GType obj_type, char **prop_names, GParameter *params, guint *nparams, USER_OBJECT_ *args) { guint arg_i, param_i; GObjectClass *oclass; oclass = g_type_class_ref(obj_type); g_return_val_if_fail(oclass, FALSE); for (param_i = arg_i = 0; prop_names[arg_i]; ++arg_i) { GParamSpec *spec; if (!GET_LENGTH(args[arg_i])) continue; spec = g_object_class_find_property(oclass, prop_names[arg_i]); params[param_i].name = prop_names[arg_i]; g_value_init(¶ms[param_i].value, spec->value_type); if (R_setGValueFromSValue(¶ms[param_i].value, args[arg_i]) == -1) { int i; warning("Could not convert property '%s' of type '%s'", prop_names[arg_i], g_type_name(spec->value_type)); g_type_class_unref(oclass); for (i = 0; i < param_i; ++i) g_value_unset(¶ms[i].value); return FALSE; } ++param_i; } g_type_class_unref(oclass); *nparams = param_i; return TRUE; } /* adapted from pygtk, needed to handle their "property-based constructors"... */ gpointer propertyConstructor(GType obj_type, char **prop_names, USER_OBJECT_ *args, int nargs) { gpointer obj; if (nargs > 0) { int i; guint nparams; GParameter params[nargs]; memset(params, 0, sizeof(GParameter)*nargs); if(!parseConstructorParams(obj_type, prop_names, params, &nparams, args)) return(NULL); obj = g_object_newv(obj_type, nparams, params); for (i = 0; i < nparams; ++i) g_value_unset(¶ms[i].value); } else obj = g_object_newv(obj_type, 0, NULL); return(obj); } /* our own GType/GParamSpec for SEXPs */ static USER_OBJECT_ r_gtk_sexp_copy(USER_OBJECT_ sexp) { /* FIXME: do we want to duplicate() here? */ R_PreserveObject(sexp); return sexp; } GType r_gtk_sexp_get_type (void) { static GType our_type = 0; if (our_type == 0) our_type = g_boxed_type_register_static ("RGtkSexp", (GBoxedCopyFunc)r_gtk_sexp_copy, (GBoxedFreeFunc)R_ReleaseObject); return our_type; } static void param_sexp_finalize(GParamSpec *pspec) { USER_OBJECT_ default_value = ((RGtkParamSpecSexp *)pspec)->default_value; GParamSpecClass *parent_class = g_type_class_peek(g_type_parent(R_GTK_TYPE_PARAM_SEXP)); R_ReleaseObject(default_value); parent_class->finalize(pspec); } static void param_sexp_set_default(GParamSpec *pspec, GValue *value) { g_value_set_boxed(value, ((RGtkParamSpecSexp *)pspec)->default_value); } static gboolean param_sexp_validate(GParamSpec *pspec, GValue *value) { USER_OBJECT_ sexp = g_value_get_boxed(value); SEXPTYPE type = ((RGtkParamSpecSexp *)pspec)->s_type; /* FIXME: Need to check inheritance for S4 types */ if (!sexp || (/*sexp != NULL_USER_OBJECT && */TYPEOF(sexp) != type && type != ANYSXP)) { g_value_set_boxed(value, ((RGtkParamSpecSexp *)pspec)->default_value); return TRUE; } return FALSE; } static gint param_sexp_values_cmp(GParamSpec *pspec, const GValue *value1, const GValue *value2) { guint8 *p1 = value1->data[0].v_pointer; guint8 *p2 = value2->data[0].v_pointer; return p1 < p2 ? -1 : p1 > p2; } GType r_gtk_param_spec_sexp_get_type(void) { static GType our_type = 0; if (!our_type) { GParamSpecTypeInfo info = { sizeof(RGtkParamSpecSexp), 0, NULL, r_gtk_sexp_get_type(), param_sexp_finalize, param_sexp_set_default, param_sexp_validate, param_sexp_values_cmp }; our_type = g_param_type_register_static("RGtkParamSexp", &info); } return our_type; } GParamSpec * r_gtk_param_spec_sexp(const gchar *name, const gchar *nick, const gchar *blurb, guint s_type, USER_OBJECT_ default_value, GParamFlags flags) { GParamSpec *sspec; /* FIXME: do some sort of check to make sure s_type is valid? */ g_return_val_if_fail(default_value != NULL, NULL); sspec = g_param_spec_internal(R_GTK_TYPE_PARAM_SEXP, name, nick, blurb, flags); sspec->value_type = R_GTK_TYPE_SEXP; ((RGtkParamSpecSexp *)sspec)->s_type = s_type; ((RGtkParamSpecSexp *)sspec)->default_value = default_value; return sspec; } GParamSpec* asCGParamSpec(USER_OBJECT_ s_spec) { GParamSpec* spec; GType type = g_type_from_name(asCString(GET_CLASS(s_spec))); const gchar *name; const gchar *nick; const gchar *blurb; GParamFlags flags; name = asCString(VECTOR_ELT(s_spec, 0)); if (type == G_TYPE_PARAM_OVERRIDE) return g_param_spec_override(name, asCGParamSpec(VECTOR_ELT(s_spec, 1))); nick = asCString(VECTOR_ELT(s_spec, 1)); blurb = asCString(VECTOR_ELT(s_spec, 2)); flags = (GParamFlags)asCFlag(VECTOR_ELT(s_spec,3), G_TYPE_PARAM_FLAGS); if (type == G_TYPE_PARAM_BOOLEAN) spec = g_param_spec_boolean(name, nick, blurb, asCLogical(VECTOR_ELT(s_spec, 4)), flags); else if (type == G_TYPE_PARAM_CHAR) { gchar min = G_MININT8, max = G_MAXINT8; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCRaw(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCRaw(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_char(name, nick, blurb, min, max, asCRaw(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_UCHAR) { guchar min = 0, max = G_MAXUINT8; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCRaw(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCRaw(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_uchar(name, nick, blurb, min, max, asCRaw(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_INT) { gint min = G_MININT, max = G_MAXINT; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCInteger(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCInteger(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_int(name, nick, blurb, min, max, asCInteger(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_UINT) { guint min = 0, max = G_MAXUINT; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_uint(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_LONG) { glong min = G_MINLONG, max = G_MAXLONG; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_long(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_ULONG) { gulong min = 0, max = G_MAXULONG; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_ulong(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_INT64) { gint64 min = G_MININT64, max = G_MAXINT64; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_int64(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_UINT64) { guint64 min = 0, max = G_MAXUINT64; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_uint64(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_FLOAT) { gfloat min = G_MINFLOAT, max = G_MAXFLOAT; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_float(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_DOUBLE) { gdouble min = G_MINDOUBLE, max = G_MAXDOUBLE; if (GET_LENGTH(VECTOR_ELT(s_spec, 4))) min = asCNumeric(VECTOR_ELT(s_spec, 4)); if (GET_LENGTH(VECTOR_ELT(s_spec, 5))) max = asCNumeric(VECTOR_ELT(s_spec, 5)); spec = g_param_spec_double(name, nick, blurb, min, max, asCNumeric(VECTOR_ELT(s_spec, 6)), flags); } else if (type == G_TYPE_PARAM_ENUM) { spec = g_param_spec_enum(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), asCEnum(VECTOR_ELT(s_spec, 5), asCNumeric(VECTOR_ELT(s_spec, 4))), flags); } else if (type == G_TYPE_PARAM_FLAGS) { spec = g_param_spec_flags(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), asCFlag(VECTOR_ELT(s_spec, 5), asCNumeric(VECTOR_ELT(s_spec, 4))), flags); } else if (type == G_TYPE_PARAM_STRING) { spec = g_param_spec_string(name, nick, blurb, asCString(VECTOR_ELT(s_spec, 4)), flags); } else if (type == G_TYPE_PARAM_PARAM) { spec = g_param_spec_param(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), flags); } else if (type == G_TYPE_PARAM_BOXED) { spec = g_param_spec_boxed(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), flags); } else if (type == G_TYPE_PARAM_POINTER) { spec = g_param_spec_pointer(name, nick, blurb, flags); } else if (type == G_TYPE_PARAM_OBJECT) { spec = g_param_spec_object(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), flags); } else if (type == G_TYPE_PARAM_UNICHAR) { spec = g_param_spec_unichar(name, nick, blurb, asCInteger(VECTOR_ELT(s_spec, 4)), flags); } else if (type == G_TYPE_PARAM_VALUE_ARRAY) { spec = g_param_spec_value_array(name, nick, blurb, asCGParamSpec(VECTOR_ELT(s_spec, 4)), flags); } #if GLIB_CHECK_VERSION(2,10,0) else if (type == G_TYPE_PARAM_GTYPE) { spec = g_param_spec_gtype(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), flags); } #endif else if (type == R_GTK_TYPE_PARAM_SEXP) { USER_OBJECT_ default_value = VECTOR_ELT(s_spec, 5); R_PreserveObject(default_value); spec = r_gtk_param_spec_sexp(name, nick, blurb, asCNumeric(VECTOR_ELT(s_spec, 4)), default_value, flags); } else { spec = g_param_spec_internal(type, name, nick, blurb, flags); } return(spec); } USER_OBJECT_ asRGParamSpec(GParamSpec* spec) { USER_OBJECT_ s_spec, s_names; GType type = G_PARAM_SPEC_TYPE(spec); const gchar* const classes[] = { G_PARAM_SPEC_TYPE_NAME(spec), "GParamSpec" }; if (type == G_TYPE_PARAM_BOOLEAN) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_VECTOR_ELT(s_spec, 4, asRLogical(G_PARAM_SPEC_BOOLEAN(spec)->default_value)); } else if (type == G_TYPE_PARAM_CHAR) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRRaw(G_PARAM_SPEC_CHAR(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRRaw(G_PARAM_SPEC_CHAR(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRRaw(G_PARAM_SPEC_CHAR(spec)->default_value)); } else if (type == G_TYPE_PARAM_UCHAR) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRRaw(G_PARAM_SPEC_UCHAR(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRRaw(G_PARAM_SPEC_UCHAR(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRRaw(G_PARAM_SPEC_UCHAR(spec)->default_value)); } else if (type == G_TYPE_PARAM_INT) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRInteger(G_PARAM_SPEC_INT(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRInteger(G_PARAM_SPEC_INT(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRInteger(G_PARAM_SPEC_INT(spec)->default_value)); } else if (type == G_TYPE_PARAM_UINT) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_UINT(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_UINT(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_UINT(spec)->default_value)); } else if (type == G_TYPE_PARAM_LONG) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_LONG(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_LONG(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_LONG(spec)->default_value)); } else if (type == G_TYPE_PARAM_ULONG) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_ULONG(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_ULONG(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_ULONG(spec)->default_value)); } else if (type == G_TYPE_PARAM_INT64) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_INT64(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_INT64(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_INT64(spec)->default_value)); } else if (type == G_TYPE_PARAM_UINT64) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_UINT64(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_UINT64(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_UINT64(spec)->default_value)); } else if (type == G_TYPE_PARAM_FLOAT) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_FLOAT(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_FLOAT(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_FLOAT(spec)->default_value)); } else if (type == G_TYPE_PARAM_DOUBLE) { PROTECT(s_spec = NEW_LIST(7)); PROTECT(s_names = NEW_CHARACTER(7)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("minimum")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("maximum")); SET_STRING_ELT(s_names, 6, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(G_PARAM_SPEC_DOUBLE(spec)->minimum)); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_DOUBLE(spec)->maximum)); SET_VECTOR_ELT(s_spec, 6, asRNumeric(G_PARAM_SPEC_DOUBLE(spec)->default_value)); } else if (type == G_TYPE_PARAM_ENUM) { PROTECT(s_spec = NEW_LIST(6)); PROTECT(s_names = NEW_CHARACTER(6)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("enumClass")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_ENUM_CLASS_TYPE(G_PARAM_SPEC_ENUM(spec)->enum_class))); SET_VECTOR_ELT(s_spec, 5, asRInteger(G_PARAM_SPEC_ENUM(spec)->default_value)); } else if (type == G_TYPE_PARAM_FLAGS) { PROTECT(s_spec = NEW_LIST(6)); PROTECT(s_names = NEW_CHARACTER(6)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("flagClass")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_FLAGS_CLASS_TYPE(G_PARAM_SPEC_FLAGS(spec)->flags_class))); SET_VECTOR_ELT(s_spec, 5, asRNumeric(G_PARAM_SPEC_FLAGS(spec)->default_value)); } else if (type == G_TYPE_PARAM_STRING) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRString(G_PARAM_SPEC_STRING(spec)->default_value)); } else if (type == G_TYPE_PARAM_PARAM) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("valueType")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_PARAM_SPEC_VALUE_TYPE(spec))); } else if (type == G_TYPE_PARAM_BOXED) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("valueType")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_PARAM_SPEC_VALUE_TYPE(spec))); } else if (type == G_TYPE_PARAM_POINTER) { PROTECT(s_spec = NEW_LIST(4)); PROTECT(s_names = NEW_CHARACTER(4)); } else if (type == G_TYPE_PARAM_OBJECT) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("valueType")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_PARAM_SPEC_VALUE_TYPE(spec))); } else if (type == G_TYPE_PARAM_UNICHAR) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRInteger(G_PARAM_SPEC_UNICHAR(spec)->default_value)); } else if (type == G_TYPE_PARAM_VALUE_ARRAY) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("elementSpec")); SET_VECTOR_ELT(s_spec, 4, asRGParamSpec(G_PARAM_SPEC_VALUE_ARRAY(spec)->element_spec)); } #if GLIB_CHECK_VERSION(2,10,0) else if (type == G_TYPE_PARAM_GTYPE) { PROTECT(s_spec = NEW_LIST(5)); PROTECT(s_names = NEW_CHARACTER(5)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("isAType")); SET_VECTOR_ELT(s_spec, 4, asRGType(G_PARAM_SPEC_GTYPE(spec)->is_a_type)); } #endif else if (type == R_GTK_TYPE_PARAM_SEXP) { PROTECT(s_spec = NEW_LIST(6)); PROTECT(s_names = NEW_CHARACTER(6)); SET_STRING_ELT(s_names, 4, COPY_TO_USER_STRING("sType")); SET_STRING_ELT(s_names, 5, COPY_TO_USER_STRING("defaultValue")); SET_VECTOR_ELT(s_spec, 4, asRNumeric(((RGtkParamSpecSexp *)spec)->s_type)); SET_VECTOR_ELT(s_spec, 5, ((RGtkParamSpecSexp *)spec)->default_value); } else { PROTECT(s_spec = NEW_LIST(4)); PROTECT(s_names = NEW_CHARACTER(4)); } SET_STRING_ELT(s_names, 0, COPY_TO_USER_STRING("name")); SET_STRING_ELT(s_names, 1, COPY_TO_USER_STRING("nick")); SET_STRING_ELT(s_names, 2, COPY_TO_USER_STRING("blurb")); SET_STRING_ELT(s_names, 3, COPY_TO_USER_STRING("flags")); SET_VECTOR_ELT(s_spec, 0, asRString(g_param_spec_get_name(spec))); SET_VECTOR_ELT(s_spec, 1, asRString(g_param_spec_get_nick(spec))); SET_VECTOR_ELT(s_spec, 2, asRString(g_param_spec_get_blurb(spec))); SET_VECTOR_ELT(s_spec, 3, asRFlag(spec->flags, G_TYPE_PARAM_FLAGS)); SET_NAMES(s_spec, s_names); SET_CLASS(s_spec, asRStringArrayWithSize(classes, 2)); UNPROTECT(2); return(s_spec); } /* User-data stuff */ USER_OBJECT_ S_g_object_set_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_data) { GObject* object = (GObject*)getPtrValue(s_object); const gchar* key = (const gchar*)asCString(s_key); gpointer data = (gpointer)asCGenericData(s_data); USER_OBJECT_ _result = NULL_USER_OBJECT; g_object_set_data_full(object, key, data, (GDestroyNotify)R_ReleaseObject); return(_result); } USER_OBJECT_ S_g_object_get_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key) { GObject* object = (GObject*)getPtrValue(s_object); const gchar* key = (const gchar*)asCString(s_key); gpointer ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = g_object_get_data(object, key); if(ans) _result = ans; return(_result); } /* GSignals */ USER_OBJECT_ R_connectGSignalHandler(USER_OBJECT_ swidget, USER_OBJECT_ sfunc, USER_OBJECT_ signalName, USER_OBJECT_ data, USER_OBJECT_ useData, USER_OBJECT_ after, USER_OBJECT_ first) { GObject *w; GClosure *closure; int id; USER_OBJECT_ ans; w = G_OBJECT(getPtrValue(swidget)); if (!LOGICAL_DATA(useData)[0]) data = NULL_USER_OBJECT; closure = R_createGClosure(sfunc, data); ((R_CallbackData *)closure->data)->userDataFirst = LOGICAL_DATA(first)[0]; id = g_signal_connect_closure(G_OBJECT(w), asCString(signalName), closure, (gboolean) LOGICAL_DATA(after)[0]); if(id == 0) { g_closure_sink(closure); PROBLEM "Couldn't register callback %s. Check name", asCString(signalName) ERROR; } PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = id; SET_NAMES(ans, signalName); SET_CLASS(ans, asRString("CallbackID")); UNPROTECT(1); return(ans); } USER_OBJECT_ R_disconnectGSignalHandler(USER_OBJECT_ swidget, USER_OBJECT_ sid) { gint id = INTEGER_DATA(sid)[0]; GObject *obj = G_OBJECT(getPtrValue(swidget)); USER_OBJECT_ ans = NEW_LOGICAL(1); g_signal_handler_disconnect(obj, id); LOGICAL_DATA(ans)[0] = TRUE; return(ans); } USER_OBJECT_ R_blockGSignalHandler(USER_OBJECT_ swidget, USER_OBJECT_ sid, USER_OBJECT_ on) { gint id = INTEGER_DATA(sid)[0]; GObject *obj = G_OBJECT(getPtrValue(swidget)); USER_OBJECT_ ans = NEW_LOGICAL(1); if(LOGICAL_DATA(on)[0]) g_signal_handler_block(obj, id); else g_signal_handler_unblock(obj, id); LOGICAL_DATA(ans)[0] = TRUE; return(ans); } USER_OBJECT_ R_gSignalEmit(USER_OBJECT_ sobj, USER_OBJECT_ signal, USER_OBJECT_ sargs) { int n, i; GObject *obj; GValue *instance_and_args; GValue return_value; GQuark detail; USER_OBJECT_ ans = NULL_USER_OBJECT; guint sigId; const gchar *sigName; GSignalQuery query; obj = G_OBJECT(getPtrValue(sobj)); n = GET_LENGTH(sargs); instance_and_args = g_new0(GValue, n+1); sigName = asCString(signal); g_signal_parse_name(sigName, G_OBJECT_TYPE(obj), &sigId, &detail, TRUE); g_signal_query(sigId, &query); g_value_init(&instance_and_args[0], G_OBJECT_TYPE(obj)); g_value_set_object(&instance_and_args[0], G_OBJECT(obj)); for(i = 0; i < n; i++) { g_value_init(&instance_and_args[i+1], query.param_types[i]); R_setGValueFromSValue(&instance_and_args[i+1], VECTOR_ELT(sargs, i)); } if (query.return_type != G_TYPE_NONE) { g_value_init(&return_value, query.return_type); g_signal_emitv(instance_and_args, sigId, detail, &return_value); } else g_signal_emitv(instance_and_args, sigId, detail, NULL); if(query.return_type != G_TYPE_NONE) { ans = asRGValue(&return_value); g_value_unset(&return_value); } for(i = 0; i < n+1; i++) g_value_unset(&instance_and_args[i]); g_free(instance_and_args); return(ans); } USER_OBJECT_ R_gSignalStopEmission(USER_OBJECT_ s_obj, USER_OBJECT_ s_signal) { gpointer obj = getPtrValue(s_obj); const gchar *signal = asCString(s_signal); g_signal_stop_emission_by_name(obj, signal); return NULL_USER_OBJECT; } USER_OBJECT_ R_createGSignalId(guint id, const char *val) { USER_OBJECT_ ans; PROTECT(ans = NEW_NUMERIC(1)); NUMERIC_DATA(ans)[0] = id; if(val == NULL) val = g_signal_name(id); SET_CLASS(ans, asRString("GSignalId")); SET_NAMES(ans, asRString(val)); UNPROTECT(1); return(ans); } USER_OBJECT_ R_internal_getGSignalIds(GType type) { int i; guint *ids, n_ids; USER_OBJECT_ ans; ids = g_signal_list_ids(type, &n_ids); PROTECT(ans = NEW_LIST(n_ids)); for(i = 0; i < n_ids; i++) { SET_VECTOR_ELT(ans, i, R_createGSignalId(ids[i], NULL)); } UNPROTECT(1); g_free(ids); return(ans); } USER_OBJECT_ R_getGSignalIdsByType(USER_OBJECT_ className) { GType type; type = (GType) asCGType(className); if(type == 0 || type == G_TYPE_INVALID) { PROBLEM "No type for class %s", asCString(className) ERROR; } return(R_internal_getGSignalIds(type)); } enum { RETURN_SLOT, SIGNAL_SLOT, PARAMS_SLOT, OBJECT_SLOT, FLAGS_SLOT, SIGNAL_INFO_NUM_SLOTS }; USER_OBJECT_ R_internal_getGSignalInfo(guint id) { USER_OBJECT_ ans, params, names; GSignalQuery info; int i; g_signal_query(id, &info); PROTECT(ans = NEW_LIST(SIGNAL_INFO_NUM_SLOTS)); PROTECT(names = NEW_CHARACTER(SIGNAL_INFO_NUM_SLOTS)); SET_STRING_ELT(names, RETURN_SLOT, COPY_TO_USER_STRING("returnType")); SET_STRING_ELT(names, SIGNAL_SLOT, COPY_TO_USER_STRING("signal")); SET_STRING_ELT(names, PARAMS_SLOT, COPY_TO_USER_STRING("parameters")); SET_STRING_ELT(names, OBJECT_SLOT, COPY_TO_USER_STRING("objectType")); /*SET_STRING_ELT(names, IS_USER_SLOT, COPY_TO_USER_STRING("isUserSignal"));*/ SET_STRING_ELT(names, FLAGS_SLOT, COPY_TO_USER_STRING("runFlags")); /*SET_VECTOR_ELT(ans, IS_USER_SLOT, params = NEW_LOGICAL(1)); LOGICAL_DATA(params)[0] = info->is_user_signal;*/ /* Has to be handled as a flag. */ SET_VECTOR_ELT(ans, FLAGS_SLOT, params = NEW_INTEGER(1)); INTEGER_DATA(params)[0] = info.signal_flags; SET_VECTOR_ELT(ans, OBJECT_SLOT, asRGType(info.itype)); SET_VECTOR_ELT(ans, RETURN_SLOT, asRGType(info.return_type)); SET_VECTOR_ELT(ans, SIGNAL_SLOT, R_createGSignalId(info.signal_id, info.signal_name)); SET_VECTOR_ELT(ans, PARAMS_SLOT, params = NEW_LIST(info.n_params)); for(i = 0; i < info.n_params; i++) SET_VECTOR_ELT(params, i, asRGType(info.param_types[i])); SET_NAMES(ans, names); UNPROTECT(2); return(ans); } USER_OBJECT_ R_getGSignalInfo(USER_OBJECT_ sid) { return(R_internal_getGSignalInfo(NUMERIC_DATA(sid)[0])); } /* GClosure */ USER_OBJECT_ R_g_closure_invoke(USER_OBJECT_ s_closure, USER_OBJECT_ s_args) { GClosure *closure = (GClosure *)getPtrValue(s_closure); GValue *args = g_new0(GValue, GET_LENGTH(s_args)); GValue ret = { 0, }; gint i; for(i = 0; i < GET_LENGTH(s_args); i++) { initGValueFromSValue(VECTOR_ELT(s_args, i), &args[i]); } g_closure_invoke(closure, &ret, GET_LENGTH(s_args), args, NULL); g_free(args); return(asRGValue(&ret)); } /* Free the asCsociated R_CallbackData */ void R_freeCBData_closure(R_CallbackData *data, GClosure *closure) { R_freeCBData(data); } /* Actually invokes the R function upon invocation of the GClosure */ void R_GClosureMarshal(GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data) { USER_OBJECT_ sarg; USER_OBJECT_ val; USER_OBJECT_ e, tmp; R_CallbackData *cbdata; int errorOccurred = 0; int i, numProtects = 0; USER_OBJECT_ envir = R_GlobalEnv; cbdata = closure->data; if(TYPEOF(cbdata->function) == CLOSXP) { PROTECT(e = allocVector(LANGSXP, n_param_values + 1 + (cbdata->useData == TRUE))); SETCAR(e, cbdata->function); numProtects++; tmp = CDR(e); if(cbdata->useData && cbdata->userDataFirst) { SETCAR(tmp, cbdata->data); tmp = CDR(tmp); } /*tmp = CDR(tmp);*/ /*Rprintf("%d\n", n_param_values);*/ for(i = 0; i < n_param_values; i++) { sarg = asRGValue((GValue *)¶m_values[i]); SETCAR(tmp, sarg); tmp = CDR(tmp); } if(cbdata->useData && cbdata->userDataFirst == FALSE) { SETCAR(tmp, cbdata->data); } } else { e = cbdata->function; if(cbdata->data && cbdata->data != NULL_USER_OBJECT && TYPEOF(cbdata->data) == ENVSXP) envir = cbdata->data; } val = R_tryEval(e, envir, &errorOccurred); if(errorOccurred || !return_value || G_VALUE_TYPE(return_value) == G_TYPE_NONE || G_VALUE_TYPE(return_value) == G_TYPE_INVALID) { UNPROTECT(numProtects); return; } PROTECT(val); numProtects++; R_setGValueFromSValue(return_value, val); UNPROTECT(numProtects); } R_CallbackData * R_createCBData(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { R_CallbackData *cbdata = (R_CallbackData*) g_malloc(sizeof(R_CallbackData)); if(!cbdata) { PROBLEM "Cannot allocate space for a measly R_CallbackData!" ERROR; } R_PreserveObject(s_func); cbdata->function = s_func; cbdata->userDataFirst = FALSE; if(s_data && GET_LENGTH(s_data) > 0) { R_PreserveObject(s_data); cbdata->data = s_data; cbdata->useData = TRUE; } else { cbdata->useData = FALSE; cbdata->data = NULL; } return(cbdata); } /* Creates a GClosure for a specified R function and associated user-data */ GClosure* R_createGClosure(USER_OBJECT_ s_func, USER_OBJECT_ s_data) { GClosure* closure; R_CallbackData *cbdata; if (TYPEOF(s_func) == EXTPTRSXP) { /* allows replacement with previous C (but not R) func */ return(g_cclosure_new(G_CALLBACK(getPtrValue(s_func)), NULL, NULL)); } cbdata = R_createCBData(s_func, s_data); closure = g_closure_new_simple(sizeof(GClosure), (gpointer)cbdata); g_closure_add_finalize_notifier(closure, cbdata, (GClosureNotify)R_freeCBData_closure); g_closure_set_marshal(closure, R_GClosureMarshal); return(closure); } GClosure* asCGClosure(USER_OBJECT_ s_closure) { USER_OBJECT_ s_func, s_data = NULL_USER_OBJECT; s_func = getAttrib(s_closure, install("ref")); if (s_func != NULL_USER_OBJECT) return((GClosure *)getPtrValue(s_func)); if (GET_LENGTH(s_closure) == 1) s_func = s_closure; else { s_func = VECTOR_ELT(s_closure, 0); s_data = VECTOR_ELT(s_closure, 1); } return(R_createGClosure(s_func, s_data)); } USER_OBJECT_ asRGClosure(GClosure *closure) { return(toRPointer(closure, "GClosure")); } /* for special casing of GdkColor and GdkEvent */ #include "RGtk2/gtk.h" /* GValue */ /* Take an initialized GValue and coerce an R object into it 1) Attempt to copy value directly 2) Attempt to transform value 3) Attempt to set value directly */ int R_setGValueFromSValue(GValue *value, USER_OBJECT_ sval) { GValue *raw = createGValueFromSValue(sval); int ret = 0; if (raw && g_value_type_compatible(G_VALUE_TYPE(raw), G_VALUE_TYPE(value))) g_value_copy(raw, value); else if (raw && g_value_type_transformable(G_VALUE_TYPE(raw), G_VALUE_TYPE(value))) g_value_transform(raw, value); else switch(G_TYPE_FUNDAMENTAL(G_VALUE_TYPE(value))) { case G_TYPE_CHAR: g_value_set_char(value, asCCharacter(sval)); break; case G_TYPE_UCHAR: g_value_set_uchar(value, asCCharacter(sval)); break; case G_TYPE_INT: g_value_set_int(value, asCInteger(sval)); break; case G_TYPE_UINT: g_value_set_uint(value, asCInteger(sval)); break; case G_TYPE_LONG: g_value_set_long(value, asCInteger(sval)); break; case G_TYPE_ULONG: g_value_set_ulong(value, asCNumeric(sval)); break; case G_TYPE_BOOLEAN: g_value_set_boolean(value, asCLogical(sval)); break; case G_TYPE_FLOAT: g_value_set_float(value, asCNumeric(sval)); break; case G_TYPE_DOUBLE: g_value_set_double(value, asCNumeric(sval)); break; case G_TYPE_STRING: g_value_set_string(value, asCString(sval)); break; case G_TYPE_ENUM: g_value_set_enum(value, asCEnum(sval, G_VALUE_TYPE(value))); break; case G_TYPE_FLAGS: g_value_set_flags(value, asCFlag(sval, G_VALUE_TYPE(value))); break; case G_TYPE_BOXED: if (G_VALUE_TYPE(value) == R_GTK_TYPE_SEXP) g_value_set_boxed(value, sval); else if (sval == NULL_USER_OBJECT) g_value_set_boxed(value, NULL); else if (G_VALUE_TYPE(value) == G_TYPE_STRV) g_value_set_boxed(value, asCStringArray(sval)); else if (G_VALUE_TYPE(value) == GDK_TYPE_COLOR) g_value_set_boxed(value, asCGdkColor(sval)); else g_value_set_boxed(value, getPtrValue(sval)); break; case G_TYPE_POINTER: /* g_value_set_pointer(value, sval == NULL_USER_OBJECT ? NULL : getPtrValue(sval)); break; */ case G_TYPE_INTERFACE: case G_TYPE_OBJECT: /* g_value_set_object(value, sval == NULL_USER_OBJECT ? NULL : getPtrValue(sval)); */ /* If we get here, we know that initGValueFromSValue() found that 'sval' is not an externalptr */ PROBLEM "Cannot set pointer value from non-externalptr\n" ERROR; case G_TYPE_INVALID: PROBLEM "Attempt to set invalid type\n" ERROR; break; case G_TYPE_NONE: PROBLEM "Attempt to set none type\n" ERROR; break; default: PROBLEM "got an unknown/unhandled type named: %s\n", g_type_name(G_VALUE_TYPE(value)) ERROR; break; } if(raw) { g_value_unset(raw); g_free(raw); } return(ret); } /* int R_setGValueFromSValue(GValue *value, USER_OBJECT_ sval) { GValue *raw = g_new0(GValue, 1); int ret = 0; switch(TYPEOF(sval)) { case LGLSXP: g_value_init(raw, G_TYPE_BOOLEAN); g_value_set_boolean(raw, LOGICAL_DATA(sval)[0]); break; case INTSXP: g_value_init(raw, G_TYPE_INT); g_value_set_int(raw, INTEGER_DATA(sval)[0]); break; case REALSXP: g_value_init(raw, G_TYPE_DOUBLE); g_value_set_double(raw, NUMERIC_DATA(sval)[0]); break; case EXTPTRSXP: g_value_init(raw, G_TYPE_POINTER); g_value_set_pointer(raw, getPtrValue(sval)); break; case STRSXP: g_value_init(raw, G_TYPE_STRING); g_value_set_string(raw, asCString(sval)); break; default: warning("Unhandled R type %d", TYPEOF(sval)); } if (g_value_type_compatible(G_VALUE_TYPE(raw), G_VALUE_TYPE(value))) { g_value_copy(raw, value); } else if (g_value_type_transformable(G_VALUE_TYPE(raw), G_VALUE_TYPE(value))) g_value_transform(raw, value); else { warning("Could not set GValue type %s", g_type_name(G_VALUE_TYPE(value))); ret = -1; } g_value_unset(raw); g_free(raw); return(ret); } */ /* Convert a GValue to an R object */ USER_OBJECT_ asRGValue(const GValue *value) { USER_OBJECT_ ans = NULL_USER_OBJECT; g_return_val_if_fail(G_IS_VALUE(value), ans); switch(G_TYPE_FUNDAMENTAL(G_VALUE_TYPE(value))) { case G_TYPE_CHAR: { char tmp[2] = "a"; tmp[0] = g_value_get_char(value); ans = asRString(tmp); } break; case G_TYPE_UCHAR: { char tmp[2] = "a"; tmp[0] = g_value_get_uchar(value); ans = asRString(tmp); } break; case G_TYPE_INT: ans = asRInteger(g_value_get_int(value)); break; case G_TYPE_UINT: ans = asRInteger(g_value_get_uint(value)); break; case G_TYPE_LONG: ans = asRInteger(g_value_get_long(value)); break; case G_TYPE_ULONG: ans = asRNumeric(g_value_get_ulong(value)); break; case G_TYPE_BOOLEAN: ans = asRLogical(g_value_get_boolean(value)); break; case G_TYPE_FLOAT: ans = asRNumeric(g_value_get_float(value)); break; case G_TYPE_DOUBLE: ans = asRNumeric(g_value_get_double(value)); break; case G_TYPE_STRING: ans = asRString(g_value_get_string(value)); break; case G_TYPE_ENUM: ans = asREnum(g_value_get_enum(value), G_VALUE_TYPE(value)); break; case G_TYPE_FLAGS: ans = asRFlag(g_value_get_flags(value), G_VALUE_TYPE(value)); break; case G_TYPE_BOXED: if (G_VALUE_TYPE(value) == GDK_TYPE_EVENT) ans = toRGdkEvent(g_value_get_boxed(value), FALSE); else if (G_VALUE_TYPE(value) == R_GTK_TYPE_SEXP) ans = g_value_get_boxed(value); else if (G_VALUE_TYPE(value) == GDK_TYPE_COLOR) ans = asRGdkColor(g_value_get_boxed(value)); else ans = toRPointer(g_value_get_boxed(value), G_VALUE_TYPE_NAME(value)); break; case G_TYPE_POINTER: /*Rprintf("%s\n", g_type_name(G_VALUE_TYPE(value)));*/ if (G_VALUE_TYPE(value) == G_TYPE_VALUE) ans = asRGValue(value); /* yes the GValues can be nested */ else ans = toRPointer(g_value_get_pointer(value), G_VALUE_TYPE_NAME(value)); break; case G_TYPE_INVALID: warning("Attempt to get invalid type"); break; case G_TYPE_NONE: warning("None type"); break; case G_TYPE_OBJECT: case G_TYPE_INTERFACE: if (G_VALUE_HOLDS(value, g_type_from_name(UNOWNED_TYPE_NAME))) ans = toRPointerWithSink(g_value_get_object(value), G_VALUE_TYPE_NAME(value)); else ans = toRPointerWithRef(g_value_get_object(value), G_VALUE_TYPE_NAME(value)); break; case G_TYPE_PARAM: ans = asRGParamSpec(g_value_get_param(value)); break; default: PROBLEM "got an unknown/unhandled type named: %s\n", G_VALUE_TYPE_NAME(value) ERROR; break; } return(ans); } /* Make a GValue from scratch */ GValue * createGValueFromSValue(USER_OBJECT_ sval) { /*GValue *raw = (GValue *)S_alloc(1, sizeof(GValue));*/ GValue *raw = (GValue *)g_new0(GValue, 1); if (!initGValueFromSValue(sval, raw)) { g_free(raw); raw = NULL; } return(raw); } GType getSValueGType(USER_OBJECT_ sval) { switch(TYPEOF(sval)) { case LGLSXP: return(G_TYPE_BOOLEAN); break; case INTSXP: { USER_OBJECT_ levels; if ((levels = getAttrib(sval, install("levels"))) != NULL_USER_OBJECT) return(G_TYPE_STRING); else return(G_TYPE_INT); } break; case REALSXP: return(G_TYPE_DOUBLE); break; case EXTPTRSXP: { GType type = g_type_from_name(asCString(GET_CLASS(sval))); if (type == G_TYPE_INVALID) return(G_TYPE_POINTER); else return(type); } break; case STRSXP: case CHARSXP: return(G_TYPE_STRING); break; case VECSXP: if (GET_LENGTH(sval)) { GType first = getSValueGType(VECTOR_ELT(sval, 0)); for (int i = 1; i < GET_LENGTH(sval); i++) if (getSValueGType(VECTOR_ELT(sval, i)) != first) return(G_TYPE_INVALID); return(first); } break; } return(G_TYPE_INVALID); } gboolean initGValueFromSValue(USER_OBJECT_ sval, GValue *raw) { /* character is special case, because there is a GType for string arrays but not for primitive arrays */ if (IS_VECTOR(sval) && !IS_CHARACTER(sval)) return(initGValueFromVector(sval, 0, raw)); else switch(TYPEOF(sval)) { case EXTPTRSXP: { GType type = g_type_from_name(asCString(GET_CLASS(sval))); if (type == G_TYPE_INVALID) g_value_init(raw, G_TYPE_POINTER); else g_value_init(raw, type); if (G_VALUE_HOLDS(raw, G_TYPE_OBJECT) || G_VALUE_HOLDS(raw, G_TYPE_INTERFACE)) g_value_set_object(raw, getPtrValue(sval)); else if (G_VALUE_HOLDS(raw, G_TYPE_BOXED)) g_value_set_boxed(raw, getPtrValue(sval)); else g_value_set_pointer(raw, getPtrValue(sval)); } break; case STRSXP: case CHARSXP: if (IS_VECTOR(sval) && GET_LENGTH(sval) > 1) { g_value_init(raw, G_TYPE_STRV); g_value_set_boxed(raw, (gpointer)asCStringArray(sval)); } else { g_value_init(raw, G_TYPE_STRING); g_value_set_string(raw, asCString(sval)); } break; default: return(FALSE); } return(TRUE); } gboolean initGValueFromVector(USER_OBJECT_ sval, gint n, GValue *raw) { switch(TYPEOF(sval)) { case LGLSXP: g_value_init(raw, G_TYPE_BOOLEAN); g_value_set_boolean(raw, LOGICAL_DATA(sval)[n]); break; case INTSXP: { USER_OBJECT_ levels; if ((levels = getAttrib(sval, install("levels"))) != NULL_USER_OBJECT) { gint level = INTEGER_DATA(sval)[n]; USER_OBJECT_ level_str = NA_STRING; /*Rprintf("getting level: %d\n", level);*/ if (level != NA_INTEGER) level_str = STRING_ELT(levels, level-1); g_value_init(raw, G_TYPE_STRING); g_value_set_string(raw, asCString(level_str)); } else { g_value_init(raw, G_TYPE_INT); g_value_set_int(raw, INTEGER_DATA(sval)[n]); } } break; case REALSXP: g_value_init(raw, G_TYPE_DOUBLE); g_value_set_double(raw, NUMERIC_DATA(sval)[n]); break; case STRSXP: case CHARSXP: g_value_init(raw, G_TYPE_STRING); g_value_set_string(raw, asCString(STRING_ELT(sval, n))); break; case VECSXP: initGValueFromSValue(VECTOR_ELT(sval, n), raw); break; default: /*fprintf(stderr, "Unhandled R type %d\n", TYPEOF(sval));fflush(stderr);*/ return(FALSE); } return(TRUE); } GValue* asCGValue(USER_OBJECT_ sval) { GValue *gval = createGValueFromSValue(sval); if (!gval) { PROBLEM "Could not create GValue for R type %d\n", TYPEOF(sval) ERROR; } return(gval); } void R_g_initially_unowned_destroyed(GObject *val, USER_OBJECT_ s_val) { SET_CLASS(s_val, asRString("")); R_ClearExternalPtr(s_val); g_object_unref(val); } void R_g_initially_unowned_finalizer(USER_OBJECT_ extptr) { void *ptr = getPtrValue(extptr); /*Rprintf("finalizing a %s\n", asCString(GET_CLASS(extptr)));*/ if (ptr) { g_signal_handlers_disconnect_by_func(ptr, R_g_initially_unowned_destroyed, extptr); g_object_unref(ptr); R_ClearExternalPtr(extptr); } } /* All GInitiallyUnowned need to be sunk, because otherwise memory would leak if it got "lost" before being added to a parent. By sinking it, we own it, so we have to add the first non-floating reference and then register it for finalization. We also need to connect to the "destroy" signal in case it was explicitly destroyed. It is then our responsibility to release all references. When we do that, we also clear the "class" attribute so that the user can't use the object anymore, since it's invalid. The finalization step therefore not only releases our reference but also disconnects from the "destroy" signal since the R object is no longer valid. */ USER_OBJECT_ toRPointerWithSink(void *val, const char *type) { USER_OBJECT_ s_val = toRPointer(val, type); if (val) { #if GLIB_CHECK_VERSION(2,10,0) g_object_ref_sink(G_INITIALLY_UNOWNED(val)); #else g_object_ref(G_OBJECT(val)); gtk_object_sink(val); #endif g_signal_connect(G_OBJECT(val), "destroy", G_CALLBACK(R_g_initially_unowned_destroyed), s_val); } R_RegisterCFinalizer(s_val, R_g_initially_unowned_finalizer); return(s_val); } USER_OBJECT_ asRGListWithSink(GList *glist, const gchar* type) { USER_OBJECT_ list; GList * cur = glist; int size = g_list_length(glist), i; PROTECT(list = NEW_LIST(size)); for (i = 0; i < size; i++) { SET_VECTOR_ELT(list, i, toRPointerWithSink(cur->data, type)); cur = g_list_next(cur); } UNPROTECT(1); return list; } USER_OBJECT_ asRGSListWithSink(GSList *gslist, const gchar* type) { USER_OBJECT_ list; GSList * cur = gslist; int l = g_slist_length(gslist), i; PROTECT(list = NEW_LIST(l)); for (i = 0; i < l; i++) { USER_OBJECT_ element; element = toRPointerWithSink(cur->data, type); SET_VECTOR_ELT(list, i, element); cur = g_slist_next(cur); } UNPROTECT(1); return list; } /* Attempt to override GValue's double->string conversion to use R's logic */ void transformDoubleString(const GValue *src, GValue *dst) { int w, d, e; double n = g_value_get_double(src); formatReal(&n, 1, &w, &d, &e, 0); // could get OutDec, but what about speed? // Outdec = CHAR(asChar(GetOption(install("OutDec"), R_BaseEnv)))[0]; const char *formatStr = EncodeReal(n, w, d, e, '.'); g_value_set_string(dst, formatStr); } void transformIntString(const GValue *src, GValue *dst) { int w; int n = g_value_get_int(src); formatInteger(&n, 1, &w); g_value_set_string(dst, EncodeInteger(n, w)); } void transformBooleanString(const GValue *src, GValue *dst) { int w; gboolean n = g_value_get_boolean(src); formatLogical(&n, 1, &w); g_value_set_string(dst, EncodeLogical(n, w)); } /* GLib enum runtime type info support (needed by GIO) */ GType g_seek_type_get_type (void) { static GType etype = 0; if (etype == 0) { static const GFlagsValue values[] = { { G_SEEK_CUR, "G_SEEK_CUR", "cur" }, { G_SEEK_SET, "G_SEEK_SET", "set" }, { G_SEEK_END, "G_SEEK_END", "end" }, { 0, NULL, NULL } }; etype = g_flags_register_static (g_intern_static_string ("GSeekType"), values); } return etype; } GType g_io_condition_get_type (void) { static GType etype = 0; if (etype == 0) { static const GFlagsValue values[] = { { G_IO_IN, "G_IO_IN", "in" }, { G_IO_OUT, "G_IO_OUT", "out" }, { G_IO_PRI, "G_IO_PRI", "pri" }, { G_IO_ERR, "G_IO_ERR", "err" }, { G_IO_HUP, "G_IO_HUP", "hup" }, { G_IO_NVAL, "G_IO_NVAL", "nval" }, { 0, NULL, NULL } }; etype = g_flags_register_static (g_intern_static_string ("GIOCondition"), values); } return etype; } RGtk2/src/pangoConversion.c0000644000176000001440000000560612362467242015357 0ustar ripleyusers#include "RGtk2/pango.h" typedef PangoRectangle GdkRectangle; GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); PangoRectangle* asCPangoRectangle(USER_OBJECT_ s_rect) { return (PangoRectangle*)asCGdkRectangle(s_rect); } USER_OBJECT_ asRPangoRectangle(PangoRectangle *rect) { return asRGdkRectangle((GdkRectangle*)rect); } USER_OBJECT_ toRPangoAttribute(PangoAttribute *attr, gboolean owns) { char *type = NULL; USER_OBJECT_ result; char *classes[] = { NULL, "PangoAttribute", "RGtkObject", NULL }; if (!attr) return NULL_USER_OBJECT; switch(attr->klass->type) { case PANGO_ATTR_LANGUAGE: type = "PangoAttrLanguage"; break; case PANGO_ATTR_FAMILY: type = "PangoAttrString"; break; case PANGO_ATTR_STYLE: case PANGO_ATTR_WEIGHT: case PANGO_ATTR_VARIANT: case PANGO_ATTR_STRETCH: case PANGO_ATTR_UNDERLINE: case PANGO_ATTR_STRIKETHROUGH: case PANGO_ATTR_RISE: case PANGO_ATTR_FALLBACK: case PANGO_ATTR_LETTER_SPACING: #if PANGO_CHECK_VERSION(1,16,0) case PANGO_ATTR_GRAVITY: case PANGO_ATTR_GRAVITY_HINT: #endif type = "PangoAttrInt"; break; case PANGO_ATTR_SIZE: case PANGO_ATTR_ABSOLUTE_SIZE: type = "PangoAttrSize"; break; case PANGO_ATTR_FONT_DESC: type = "PangoAttrFontDesc"; break; case PANGO_ATTR_FOREGROUND: case PANGO_ATTR_BACKGROUND: case PANGO_ATTR_UNDERLINE_COLOR: case PANGO_ATTR_STRIKETHROUGH_COLOR: type = "PangoAttrColor"; break; case PANGO_ATTR_SHAPE: type = "PangoAttrShape"; break; case PANGO_ATTR_SCALE: type = "PangoAttrFloat"; break; case PANGO_ATTR_INVALID: type = "PangoAttrInvalid"; break; default: PROBLEM "Error converting PangoAttribute: unknown type %d", attr->klass->type ERROR; } classes[0] = type; if (!owns) attr = pango_attribute_copy(attr); PROTECT(result = toRPointerWithFinalizer(attr, NULL, (RPointerFinalizer)pango_attribute_destroy)); SET_CLASS(result, asRStringArray(classes)); UNPROTECT(1); return(result); } USER_OBJECT_ asRPangoAttribute(PangoAttribute *attr) { return(toRPangoAttribute(attr, TRUE)); } USER_OBJECT_ asRPangoAttributeCopy(PangoAttribute *attr) { return(toRPangoAttribute(attr, FALSE)); } /* PangoMatrix* asCPangoMatrix(USER_OBJECT_ s_matrix) { PangoMatrix* matrix = (PangoMatrix *)R_alloc(1, sizeof(PangoMatrix)); matrix->xx = asCNumeric(VECTOR_ELT(s_matrix, 0)); matrix->xy = asCNumeric(VECTOR_ELT(s_matrix, 1)); matrix->yx = asCNumeric(VECTOR_ELT(s_matrix, 2)); matrix->yy = asCNumeric(VECTOR_ELT(s_matrix, 3)); matrix->x0 = asCNumeric(VECTOR_ELT(s_matrix, 4)); matrix->y0 = asCNumeric(VECTOR_ELT(s_matrix, 5)); return(matrix); }*/ RGtk2/src/pangoUserFuncs.c0000644000176000001440000000436512362467242015150 0ustar ripleyusers#include "RGtk2/pangoUserFuncs.h" gboolean S_PangoFontsetForeachFunc(PangoFontset* s_fontset, PangoFont* s_font, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_fontset, "PangoFontset")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_font, "PangoFont")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } gboolean S_PangoAttrFilterFunc(PangoAttribute* s_attribute, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRPangoAttributeCopy(s_attribute)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #if PANGO_CHECK_VERSION(1, 18, 0) gboolean S_PangoCairoShapeRendererFunc(cairo_t* s_cr, PangoAttrShape* s_attr, gboolean s_do_path, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithCairoRef(s_cr, "Cairo", cairo)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_attr, "PangoAttrShape")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_do_path)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif RGtk2/src/atkConversion.c0000644000176000001440000000652612362467242015034 0ustar ripleyusers#include "RGtk2/atk.h" AtkAttributeSet* asCAtkAttributeSet(USER_OBJECT_ s_set) { GSList* list = NULL; int i; for (i = 0; i < GET_LENGTH(s_set); i++) list = g_slist_append(list, asCAtkAttribute(VECTOR_ELT(s_set, i))); return(list); } AtkAttribute* asCAtkAttribute(USER_OBJECT_ s_attr) { AtkAttribute* attr; attr = (AtkAttribute *)R_alloc(1, sizeof(AtkAttribute)); attr->name = (gchar *)asCString(GET_NAMES(s_attr)); attr->value = (gchar *)asCString(s_attr); return(attr); } USER_OBJECT_ asRAtkAttributeSet(AtkAttributeSet* set) { USER_OBJECT_ list; GSList * cur = set; int l = g_slist_length(set), i; PROTECT(list = NEW_LIST(l)); for (i = 0; i < l; i++) { SET_VECTOR_ELT(list, i, asRAtkAttribute((AtkAttribute *)cur)); cur = g_slist_next(cur); } UNPROTECT(1); return list; } USER_OBJECT_ asRAtkAttribute(AtkAttribute* attr) { USER_OBJECT_ s_attr; PROTECT(s_attr = NEW_CHARACTER(1)); SET_VECTOR_ELT(s_attr, 0, asRString(attr->value)); SET_NAMES(s_attr, asRString(attr->name)); UNPROTECT(1); return(s_attr); } typedef AtkRectangle GdkRectangle; GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect); USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect); AtkTextRectangle* asCAtkTextRectangle(USER_OBJECT_ s_rect) { return (AtkTextRectangle*)asCGdkRectangle(s_rect); } USER_OBJECT_ asRAtkTextRectangle(AtkTextRectangle *rect) { return asRGdkRectangle((GdkRectangle*)rect); } AtkRectangle* asCAtkRectangle(USER_OBJECT_ s_rect) { return (AtkRectangle*)asCGdkRectangle(s_rect); } USER_OBJECT_ asRAtkRectangle(AtkRectangle *rect) { return asRGdkRectangle((GdkRectangle*)rect); } USER_OBJECT_ asRAtkTextRange(AtkTextRange *range) { USER_OBJECT_ s_range; static char *names[] = { "bounds", "start_offset", "end_offset", "content", NULL }; PROTECT(s_range = NEW_LIST(4)); SET_VECTOR_ELT(s_range, 0, asRAtkTextRectangle(&range->bounds)); SET_VECTOR_ELT(s_range, 1, asRInteger(range->start_offset)); SET_VECTOR_ELT(s_range, 2, asRInteger(range->end_offset)); SET_VECTOR_ELT(s_range, 3, asRString(range->content)); SET_NAMES(s_range, asRStringArray(names)); UNPROTECT(1); return(s_range); } /* NOTE: this allocates memory on the GLib stack, not R's */ AtkTextRange * asCAtkTextRange(USER_OBJECT_ s_obj) { AtkTextRange * obj; obj = g_new(AtkTextRange, 1); obj->bounds = *(asCAtkTextRectangle(VECTOR_ELT(s_obj, 0))); obj->start_offset = ((gint)asCInteger(VECTOR_ELT(s_obj, 1))); obj->end_offset = ((gint)asCInteger(VECTOR_ELT(s_obj, 2))); obj->content = g_strdup((gchar*)asCString(VECTOR_ELT(s_obj, 3))); return(obj); } USER_OBJECT_ asRAtkKeyEventStruct(AtkKeyEventStruct * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "type", "state", "keyval", "length", "string", "keycode", "timestamp", NULL }; PROTECT(s_obj = NEW_LIST(7)); SET_VECTOR_ELT(s_obj, 0, asRInteger(obj->type)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->state)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->keyval)); SET_VECTOR_ELT(s_obj, 3, asRInteger(obj->length)); SET_VECTOR_ELT(s_obj, 4, asRString(obj->string)); SET_VECTOR_ELT(s_obj, 5, asRInteger(obj->keycode)); SET_VECTOR_ELT(s_obj, 6, asRNumeric(obj->timestamp)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("AtkKeyEventStruct")); UNPROTECT(1); return(s_obj); } RGtk2/src/atkClasses.c0000644000176000001440000055200612362467242014303 0ustar ripleyusers#include "RGtk2/atkClasses.h" static SEXP S_AtkHyperlink_symbol; static gchar* S_virtual_atk_hyperlink_get_uri(AtkHyperlink* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static AtkObject* S_virtual_atk_hyperlink_get_object(AtkHyperlink* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static gint S_virtual_atk_hyperlink_get_end_index(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_hyperlink_get_start_index(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gboolean S_virtual_atk_hyperlink_is_valid(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gint S_virtual_atk_hyperlink_get_n_anchors(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static guint S_virtual_atk_hyperlink_link_state(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((guint)0)); return(((guint)asCNumeric(s_ans))); } static gboolean S_virtual_atk_hyperlink_is_selected_link(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_hyperlink_link_activated(AtkHyperlink* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHyperlink_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHyperlink"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_hyperlink_class_init(AtkHyperlinkClass * c, SEXP e) { SEXP s; S_AtkHyperlink_symbol = install("AtkHyperlink"); s = findVar(S_AtkHyperlink_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkHyperlinkClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_uri = S_virtual_atk_hyperlink_get_uri; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_object = S_virtual_atk_hyperlink_get_object; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_end_index = S_virtual_atk_hyperlink_get_end_index; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_start_index = S_virtual_atk_hyperlink_get_start_index; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->is_valid = S_virtual_atk_hyperlink_is_valid; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_n_anchors = S_virtual_atk_hyperlink_get_n_anchors; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->link_state = S_virtual_atk_hyperlink_link_state; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->is_selected_link = S_virtual_atk_hyperlink_is_selected_link; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->link_activated = S_virtual_atk_hyperlink_link_activated; } USER_OBJECT_ S_atk_hyperlink_class_get_uri(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gchar* ans; ans = object_class->get_uri(object, i); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_atk_hyperlink_class_get_object(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = object_class->get_object(object, i); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_get_end_index(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = object_class->get_end_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_get_start_index(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = object_class->get_start_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_is_valid(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gboolean ans; ans = object_class->is_valid(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_get_n_anchors(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gint ans; ans = object_class->get_n_anchors(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_link_state(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); guint ans; ans = object_class->link_state(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_is_selected_link(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); gboolean ans; ans = object_class->is_selected_link(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_hyperlink_class_link_activated(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHyperlinkClass* object_class = ((AtkHyperlinkClass*)getPtrValue(s_object_class)); AtkHyperlink* object = ATK_HYPERLINK(getPtrValue(s_object)); object_class->link_activated(object); return(_result); } static SEXP S_AtkObject_symbol; static const gchar* S_virtual_atk_object_get_name(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static const gchar* S_virtual_atk_object_get_description(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static AtkObject* S_virtual_atk_object_get_parent(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static gint S_virtual_atk_object_get_n_children(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static AtkObject* S_virtual_atk_object_ref_child(AtkObject* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValueWithRef(s_ans))); } static gint S_virtual_atk_object_get_index_in_parent(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static AtkRelationSet* S_virtual_atk_object_ref_relation_set(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkRelationSet*)0)); return(ATK_RELATION_SET(getPtrValueWithRef(s_ans))); } static AtkRole S_virtual_atk_object_get_role(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkRole)0)); return(((AtkRole)asCEnum(s_ans, ATK_TYPE_ROLE))); } static AtkLayer S_virtual_atk_object_get_layer(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkLayer)0)); return(((AtkLayer)asCEnum(s_ans, ATK_TYPE_LAYER))); } static gint S_virtual_atk_object_get_mdi_zorder(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static AtkStateSet* S_virtual_atk_object_ref_state_set(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkStateSet*)0)); return(ATK_STATE_SET(getPtrValueWithRef(s_ans))); } static void S_virtual_atk_object_set_name(AtkObject* s_object, const gchar* s_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_set_description(AtkObject* s_object, const gchar* s_description) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_description)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_set_parent(AtkObject* s_object, AtkObject* s_parent) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_parent, toRPointerWithRef(s_parent, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_set_role(AtkObject* s_object, AtkRole s_role) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_role, ATK_TYPE_ROLE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_remove_property_change_handler(AtkObject* s_object, guint s_handler_id) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_handler_id)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_initialize(AtkObject* s_object, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_children_changed(AtkObject* s_object, guint s_change_index, AtkObject* s_changed_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_change_index)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_changed_child, toRPointerWithRef(s_changed_child, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_focus_event(AtkObject* s_object, gboolean s_focus_in) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_focus_in)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_state_change(AtkObject* s_object, const gchar* s_name, gboolean s_state_set) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_name)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_state_set)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_visible_data_changed(AtkObject* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_object_active_descendant_changed(AtkObject* s_object, AtkObject* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObject_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObject"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_child, toRPointerWithRef(s_child, "AtkObject"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_object_class_init(AtkObjectClass * c, SEXP e) { SEXP s; S_AtkObject_symbol = install("AtkObject"); s = findVar(S_AtkObject_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkObjectClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_name = S_virtual_atk_object_get_name; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_description = S_virtual_atk_object_get_description; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_parent = S_virtual_atk_object_get_parent; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_n_children = S_virtual_atk_object_get_n_children; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->ref_child = S_virtual_atk_object_ref_child; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_index_in_parent = S_virtual_atk_object_get_index_in_parent; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->ref_relation_set = S_virtual_atk_object_ref_relation_set; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_role = S_virtual_atk_object_get_role; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->get_layer = S_virtual_atk_object_get_layer; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_mdi_zorder = S_virtual_atk_object_get_mdi_zorder; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->ref_state_set = S_virtual_atk_object_ref_state_set; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->set_name = S_virtual_atk_object_set_name; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->set_description = S_virtual_atk_object_set_description; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->set_parent = S_virtual_atk_object_set_parent; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->set_role = S_virtual_atk_object_set_role; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->remove_property_change_handler = S_virtual_atk_object_remove_property_change_handler; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->initialize = S_virtual_atk_object_initialize; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->children_changed = S_virtual_atk_object_children_changed; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->focus_event = S_virtual_atk_object_focus_event; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->state_change = S_virtual_atk_object_state_change; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->visible_data_changed = S_virtual_atk_object_visible_data_changed; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->active_descendant_changed = S_virtual_atk_object_active_descendant_changed; } USER_OBJECT_ S_atk_object_class_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_object_class_get_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_description(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_object_class_get_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkObject* ans; ans = object_class->get_parent(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_object_class_get_n_children(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = object_class->get_n_children(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_class_ref_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = object_class->ref_child(object, i); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_object_class_get_index_in_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = object_class->get_index_in_parent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_class_ref_relation_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRelationSet* ans; ans = object_class->ref_relation_set(object); _result = toRPointerWithFinalizer(ans, "AtkRelationSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_object_class_get_role(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRole ans; ans = object_class->get_role(object); _result = asREnum(ans, ATK_TYPE_ROLE); return(_result); } USER_OBJECT_ S_atk_object_class_get_layer(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkLayer ans; ans = object_class->get_layer(object); _result = asREnum(ans, ATK_TYPE_LAYER); return(_result); } USER_OBJECT_ S_atk_object_class_get_mdi_zorder(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gint ans; ans = object_class->get_mdi_zorder(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_object_class_ref_state_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkStateSet* ans; ans = object_class->ref_state_set(object); _result = toRPointerWithFinalizer(ans, "AtkStateSet", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_object_class_set_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); object_class->set_name(object, name); return(_result); } USER_OBJECT_ S_atk_object_class_set_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* description = ((const gchar*)asCString(s_description)); object_class->set_description(object, description); return(_result); } USER_OBJECT_ S_atk_object_class_set_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkObject* parent = ATK_OBJECT(getPtrValue(s_parent)); object_class->set_parent(object, parent); return(_result); } USER_OBJECT_ S_atk_object_class_set_role(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_role) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkRole role = ((AtkRole)asCEnum(s_role, ATK_TYPE_ROLE)); object_class->set_role(object, role); return(_result); } USER_OBJECT_ S_atk_object_class_remove_property_change_handler(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); guint handler_id = ((guint)asCNumeric(s_handler_id)); object_class->remove_property_change_handler(object, handler_id); return(_result); } USER_OBJECT_ S_atk_object_class_initialize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gpointer data = ((gpointer)asCGenericData(s_data)); object_class->initialize(object, data); return(_result); } USER_OBJECT_ S_atk_object_class_children_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_change_index, USER_OBJECT_ s_changed_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); guint change_index = ((guint)asCNumeric(s_change_index)); AtkObject* changed_child = ATK_OBJECT(getPtrValue(s_changed_child)); object_class->children_changed(object, change_index, changed_child); return(_result); } USER_OBJECT_ S_atk_object_class_focus_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_focus_in) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); gboolean focus_in = ((gboolean)asCLogical(s_focus_in)); object_class->focus_event(object, focus_in); return(_result); } USER_OBJECT_ S_atk_object_class_state_change(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_state_set) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); gboolean state_set = ((gboolean)asCLogical(s_state_set)); object_class->state_change(object, name, state_set); return(_result); } USER_OBJECT_ S_atk_object_class_visible_data_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); object_class->visible_data_changed(object); return(_result); } USER_OBJECT_ S_atk_object_class_active_descendant_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectClass* object_class = ((AtkObjectClass*)getPtrValue(s_object_class)); AtkObject* object = ATK_OBJECT(getPtrValue(s_object)); AtkObject* child = ATK_OBJECT(getPtrValue(s_child)); object_class->active_descendant_changed(object, child); return(_result); } static SEXP S_AtkGObjectAccessible_symbol; void S_atk_gobject_accessible_class_init(AtkGObjectAccessibleClass * c, SEXP e) { SEXP s; S_AtkGObjectAccessible_symbol = install("AtkGObjectAccessible"); s = findVar(S_AtkGObjectAccessible_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkGObjectAccessibleClass)) = e; S_atk_object_class_init(((AtkObjectClass *)c), e); } static SEXP S_AtkNoOpObject_symbol; void S_atk_no_op_object_class_init(AtkNoOpObjectClass * c, SEXP e) { SEXP s; S_AtkNoOpObject_symbol = install("AtkNoOpObject"); s = findVar(S_AtkNoOpObject_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkNoOpObjectClass)) = e; S_atk_object_class_init(((AtkObjectClass *)c), e); } static SEXP S_AtkObjectFactory_symbol; static void S_virtual_atk_object_factory_invalidate(AtkObjectFactory* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkObjectFactory_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkObjectFactory"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_object_factory_class_init(AtkObjectFactoryClass * c, SEXP e) { SEXP s; S_AtkObjectFactory_symbol = install("AtkObjectFactory"); s = findVar(S_AtkObjectFactory_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkObjectFactoryClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->invalidate = S_virtual_atk_object_factory_invalidate; } USER_OBJECT_ S_atk_object_factory_class_invalidate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkObjectFactoryClass* object_class = ((AtkObjectFactoryClass*)getPtrValue(s_object_class)); AtkObjectFactory* object = ATK_OBJECT_FACTORY(getPtrValue(s_object)); object_class->invalidate(object); return(_result); } static SEXP S_AtkNoOpObjectFactory_symbol; void S_atk_no_op_object_factory_class_init(AtkNoOpObjectFactoryClass * c, SEXP e) { SEXP s; S_AtkNoOpObjectFactory_symbol = install("AtkNoOpObjectFactory"); s = findVar(S_AtkNoOpObjectFactory_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkNoOpObjectFactoryClass)) = e; S_atk_object_factory_class_init(((AtkObjectFactoryClass *)c), e); } static SEXP S_AtkRegistry_symbol; void S_atk_registry_class_init(AtkRegistryClass * c, SEXP e) { SEXP s; S_AtkRegistry_symbol = install("AtkRegistry"); s = findVar(S_AtkRegistry_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkRegistryClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_AtkRelation_symbol; void S_atk_relation_class_init(AtkRelationClass * c, SEXP e) { SEXP s; S_AtkRelation_symbol = install("AtkRelation"); s = findVar(S_AtkRelation_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkRelationClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_AtkRelationSet_symbol; void S_atk_relation_set_class_init(AtkRelationSetClass * c, SEXP e) { SEXP s; S_AtkRelationSet_symbol = install("AtkRelationSet"); s = findVar(S_AtkRelationSet_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkRelationSetClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_AtkStateSet_symbol; void S_atk_state_set_class_init(AtkStateSetClass * c, SEXP e) { SEXP s; S_AtkStateSet_symbol = install("AtkStateSet"); s = findVar(S_AtkStateSet_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkStateSetClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_AtkUtil_symbol; void S_atk_util_class_init(AtkUtilClass * c, SEXP e) { SEXP s; S_AtkUtil_symbol = install("AtkUtil"); s = findVar(S_AtkUtil_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkUtilClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_AtkTable_symbol; static AtkObject* S_virtual_atk_table_ref_at(AtkTable* s_object, gint s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValueWithRef(s_ans))); } static gint S_virtual_atk_table_get_index_at(AtkTable* s_object, gint s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_column_at_index(AtkTable* s_object, gint s_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_row_at_index(AtkTable* s_object, gint s_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_n_columns(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_n_rows(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_column_extent_at(AtkTable* s_object, gint s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_table_get_row_extent_at(AtkTable* s_object, gint s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static AtkObject* S_virtual_atk_table_get_caption(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static const gchar* S_virtual_atk_table_get_column_description(AtkTable* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static AtkObject* S_virtual_atk_table_get_column_header(AtkTable* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static const gchar* S_virtual_atk_table_get_row_description(AtkTable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static AtkObject* S_virtual_atk_table_get_row_header(AtkTable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static AtkObject* S_virtual_atk_table_get_summary(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static void S_virtual_atk_table_set_caption(AtkTable* s_object, AtkObject* s_caption) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_caption, "AtkObject")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_set_column_description(AtkTable* s_object, gint s_column, const gchar* s_description) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_description)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_set_column_header(AtkTable* s_object, gint s_column, AtkObject* s_header) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_header, "AtkObject")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_set_row_description(AtkTable* s_object, gint s_row, const gchar* s_description) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_description)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_set_row_header(AtkTable* s_object, gint s_row, AtkObject* s_header) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_header, "AtkObject")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_set_summary(AtkTable* s_object, AtkObject* s_accessible) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_accessible, "AtkObject")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_atk_table_get_selected_columns(AtkTable* s_object, gint** s_selected) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); *s_selected = ((gint*)asCArrayDup(VECTOR_ELT(s_ans, 1), gint, asCInteger)); return(((gint)asCInteger(VECTOR_ELT(s_ans, 0)))); } static gint S_virtual_atk_table_get_selected_rows(AtkTable* s_object, gint** s_selected) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); *s_selected = ((gint*)asCArrayDup(VECTOR_ELT(s_ans, 1), gint, asCInteger)); return(((gint)asCInteger(VECTOR_ELT(s_ans, 0)))); } static gboolean S_virtual_atk_table_is_column_selected(AtkTable* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_is_row_selected(AtkTable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_is_selected(AtkTable* s_object, gint s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_add_row_selection(AtkTable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_remove_row_selection(AtkTable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 26)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_add_column_selection(AtkTable* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 27)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_table_remove_column_selection(AtkTable* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 28)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_table_row_inserted(AtkTable* s_object, gint s_row, gint s_num_inserted) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 29)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_num_inserted)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_column_inserted(AtkTable* s_object, gint s_column, gint s_num_inserted) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 30)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_num_inserted)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_row_deleted(AtkTable* s_object, gint s_row, gint s_num_deleted) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 31)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_num_deleted)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_column_deleted(AtkTable* s_object, gint s_column, gint s_num_deleted) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 32)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_num_deleted)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_row_reordered(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 33)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_column_reordered(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 34)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_table_model_changed(AtkTable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkTable_symbol, S_GOBJECT_GET_ENV(s_object)), 35)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkTable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_table_class_init(AtkTableIface * c, SEXP e) { SEXP s; S_AtkTable_symbol = install("AtkTable"); s = findVar(S_AtkTable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkTableIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->ref_at = S_virtual_atk_table_ref_at; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_index_at = S_virtual_atk_table_get_index_at; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_column_at_index = S_virtual_atk_table_get_column_at_index; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_row_at_index = S_virtual_atk_table_get_row_at_index; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_n_columns = S_virtual_atk_table_get_n_columns; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_n_rows = S_virtual_atk_table_get_n_rows; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_column_extent_at = S_virtual_atk_table_get_column_extent_at; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_row_extent_at = S_virtual_atk_table_get_row_extent_at; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->get_caption = S_virtual_atk_table_get_caption; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_column_description = S_virtual_atk_table_get_column_description; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->get_column_header = S_virtual_atk_table_get_column_header; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->get_row_description = S_virtual_atk_table_get_row_description; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->get_row_header = S_virtual_atk_table_get_row_header; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->get_summary = S_virtual_atk_table_get_summary; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->set_caption = S_virtual_atk_table_set_caption; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->set_column_description = S_virtual_atk_table_set_column_description; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->set_column_header = S_virtual_atk_table_set_column_header; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->set_row_description = S_virtual_atk_table_set_row_description; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->set_row_header = S_virtual_atk_table_set_row_header; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->set_summary = S_virtual_atk_table_set_summary; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->get_selected_columns = S_virtual_atk_table_get_selected_columns; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->get_selected_rows = S_virtual_atk_table_get_selected_rows; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->is_column_selected = S_virtual_atk_table_is_column_selected; if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->is_row_selected = S_virtual_atk_table_is_row_selected; if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->is_selected = S_virtual_atk_table_is_selected; if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->add_row_selection = S_virtual_atk_table_add_row_selection; if(VECTOR_ELT(s, 26) != NULL_USER_OBJECT) c->remove_row_selection = S_virtual_atk_table_remove_row_selection; if(VECTOR_ELT(s, 27) != NULL_USER_OBJECT) c->add_column_selection = S_virtual_atk_table_add_column_selection; if(VECTOR_ELT(s, 28) != NULL_USER_OBJECT) c->remove_column_selection = S_virtual_atk_table_remove_column_selection; if(VECTOR_ELT(s, 29) != NULL_USER_OBJECT) c->row_inserted = S_virtual_atk_table_row_inserted; if(VECTOR_ELT(s, 30) != NULL_USER_OBJECT) c->column_inserted = S_virtual_atk_table_column_inserted; if(VECTOR_ELT(s, 31) != NULL_USER_OBJECT) c->row_deleted = S_virtual_atk_table_row_deleted; if(VECTOR_ELT(s, 32) != NULL_USER_OBJECT) c->column_deleted = S_virtual_atk_table_column_deleted; if(VECTOR_ELT(s, 33) != NULL_USER_OBJECT) c->row_reordered = S_virtual_atk_table_row_reordered; if(VECTOR_ELT(s, 34) != NULL_USER_OBJECT) c->column_reordered = S_virtual_atk_table_column_reordered; if(VECTOR_ELT(s, 35) != NULL_USER_OBJECT) c->model_changed = S_virtual_atk_table_model_changed; } USER_OBJECT_ S_atk_table_iface_ref_at(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); AtkObject* ans; ans = object_class->ref_at(object, row, column); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_table_iface_get_index_at(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = object_class->get_index_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_column_at_index(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gint ans; ans = object_class->get_column_at_index(object, index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_row_at_index(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint index = ((gint)asCInteger(s_index)); gint ans; ans = object_class->get_row_at_index(object, index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_n_columns(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; ans = object_class->get_n_columns(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_n_rows(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; ans = object_class->get_n_rows(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_column_extent_at(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = object_class->get_column_extent_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_row_extent_at(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gint ans; ans = object_class->get_row_extent_at(object, row, column); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_caption(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* ans; ans = object_class->get_caption(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_iface_get_column_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); const gchar* ans; ans = object_class->get_column_description(object, column); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_column_header(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); AtkObject* ans; ans = object_class->get_column_header(object, column); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_iface_get_row_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); const gchar* ans; ans = object_class->get_row_description(object, row); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_get_row_header(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); AtkObject* ans; ans = object_class->get_row_header(object, row); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_iface_get_summary(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* ans; ans = object_class->get_summary(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_atk_table_iface_set_caption(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_caption) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* caption = ATK_OBJECT(getPtrValue(s_caption)); object_class->set_caption(object, caption); return(_result); } USER_OBJECT_ S_atk_table_iface_set_column_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); const gchar* description = ((const gchar*)asCString(s_description)); object_class->set_column_description(object, column, description); return(_result); } USER_OBJECT_ S_atk_table_iface_set_column_header(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_header) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); AtkObject* header = ATK_OBJECT(getPtrValue(s_header)); object_class->set_column_header(object, column, header); return(_result); } USER_OBJECT_ S_atk_table_iface_set_row_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); const gchar* description = ((const gchar*)asCString(s_description)); object_class->set_row_description(object, row, description); return(_result); } USER_OBJECT_ S_atk_table_iface_set_row_header(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_header) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); AtkObject* header = ATK_OBJECT(getPtrValue(s_header)); object_class->set_row_header(object, row, header); return(_result); } USER_OBJECT_ S_atk_table_iface_set_summary(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_accessible) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); AtkObject* accessible = ATK_OBJECT(getPtrValue(s_accessible)); object_class->set_summary(object, accessible); return(_result); } USER_OBJECT_ S_atk_table_iface_get_selected_columns(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; gint* selected = NULL; ans = object_class->get_selected_columns(object, &selected); _result = asRInteger(ans); _result = retByVal(_result, "selected", asRIntegerArrayWithSize(selected, ans), NULL); CLEANUP(g_free, selected);; return(_result); } USER_OBJECT_ S_atk_table_iface_get_selected_rows(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint ans; gint* selected = NULL; ans = object_class->get_selected_rows(object, &selected); _result = asRInteger(ans); _result = retByVal(_result, "selected", asRIntegerArrayWithSize(selected, ans), NULL); CLEANUP(g_free, selected);; return(_result); } USER_OBJECT_ S_atk_table_iface_is_column_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = object_class->is_column_selected(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_is_row_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = object_class->is_row_selected(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_is_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = object_class->is_selected(object, row, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_add_row_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = object_class->add_row_selection(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_remove_row_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gboolean ans; ans = object_class->remove_row_selection(object, row); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_add_column_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = object_class->add_column_selection(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_remove_column_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gboolean ans; ans = object_class->remove_column_selection(object, column); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_table_iface_row_inserted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_num_inserted) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint num_inserted = ((gint)asCInteger(s_num_inserted)); object_class->row_inserted(object, row, num_inserted); return(_result); } USER_OBJECT_ S_atk_table_iface_column_inserted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_num_inserted) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint num_inserted = ((gint)asCInteger(s_num_inserted)); object_class->column_inserted(object, column, num_inserted); return(_result); } USER_OBJECT_ S_atk_table_iface_row_deleted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_num_deleted) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint num_deleted = ((gint)asCInteger(s_num_deleted)); object_class->row_deleted(object, row, num_deleted); return(_result); } USER_OBJECT_ S_atk_table_iface_column_deleted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_num_deleted) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint num_deleted = ((gint)asCInteger(s_num_deleted)); object_class->column_deleted(object, column, num_deleted); return(_result); } USER_OBJECT_ S_atk_table_iface_row_reordered(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); object_class->row_reordered(object); return(_result); } USER_OBJECT_ S_atk_table_iface_column_reordered(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); object_class->column_reordered(object); return(_result); } USER_OBJECT_ S_atk_table_iface_model_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTableIface* object_class = ((AtkTableIface*)getPtrValue(s_object_class)); AtkTable* object = ATK_TABLE(getPtrValue(s_object)); object_class->model_changed(object); return(_result); } static SEXP S_AtkStreamableContent_symbol; static gint S_virtual_atk_streamable_content_get_n_mime_types(AtkStreamableContent* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkStreamableContent_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkStreamableContent"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static const gchar* S_virtual_atk_streamable_content_get_mime_type(AtkStreamableContent* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkStreamableContent_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkStreamableContent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } void S_atk_streamable_content_class_init(AtkStreamableContentIface * c, SEXP e) { SEXP s; S_AtkStreamableContent_symbol = install("AtkStreamableContent"); s = findVar(S_AtkStreamableContent_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkStreamableContentIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_n_mime_types = S_virtual_atk_streamable_content_get_n_mime_types; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_mime_type = S_virtual_atk_streamable_content_get_mime_type; } USER_OBJECT_ S_atk_streamable_content_iface_get_n_mime_types(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStreamableContentIface* object_class = ((AtkStreamableContentIface*)getPtrValue(s_object_class)); AtkStreamableContent* object = ATK_STREAMABLE_CONTENT(getPtrValue(s_object)); gint ans; ans = object_class->get_n_mime_types(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_streamable_content_iface_get_mime_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkStreamableContentIface* object_class = ((AtkStreamableContentIface*)getPtrValue(s_object_class)); AtkStreamableContent* object = ATK_STREAMABLE_CONTENT(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = object_class->get_mime_type(object, i); _result = asRString(ans); return(_result); } static SEXP S_AtkSelection_symbol; static gboolean S_virtual_atk_selection_add_selection(AtkSelection* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_selection_clear_selection(AtkSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static AtkObject* S_virtual_atk_selection_ref_selection(AtkSelection* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValueWithRef(s_ans))); } static gint S_virtual_atk_selection_get_selection_count(AtkSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gboolean S_virtual_atk_selection_is_child_selected(AtkSelection* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_selection_remove_selection(AtkSelection* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_selection_select_all_selection(AtkSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_selection_selection_changed(AtkSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_selection_class_init(AtkSelectionIface * c, SEXP e) { SEXP s; S_AtkSelection_symbol = install("AtkSelection"); s = findVar(S_AtkSelection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkSelectionIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->add_selection = S_virtual_atk_selection_add_selection; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->clear_selection = S_virtual_atk_selection_clear_selection; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->ref_selection = S_virtual_atk_selection_ref_selection; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_selection_count = S_virtual_atk_selection_get_selection_count; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->is_child_selected = S_virtual_atk_selection_is_child_selected; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->remove_selection = S_virtual_atk_selection_remove_selection; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->select_all_selection = S_virtual_atk_selection_select_all_selection; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->selection_changed = S_virtual_atk_selection_selection_changed; } USER_OBJECT_ S_atk_selection_iface_add_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = object_class->add_selection(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_clear_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gboolean ans; ans = object_class->clear_selection(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_ref_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); AtkObject* ans; ans = object_class->ref_selection(object, i); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_selection_iface_get_selection_count(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint ans; ans = object_class->get_selection_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_is_child_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = object_class->is_child_selected(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_remove_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = object_class->remove_selection(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_select_all_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); gboolean ans; ans = object_class->select_all_selection(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_selection_iface_selection_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkSelectionIface* object_class = ((AtkSelectionIface*)getPtrValue(s_object_class)); AtkSelection* object = ATK_SELECTION(getPtrValue(s_object)); object_class->selection_changed(object); return(_result); } static SEXP S_AtkImplementor_symbol; static AtkObject* S_virtual_atk_implementor_ref_accessible(AtkImplementor* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkImplementor_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkImplementor"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValueWithRef(s_ans))); } void S_atk_implementor_class_init(AtkImplementorIface * c, SEXP e) { SEXP s; S_AtkImplementor_symbol = install("AtkImplementor"); s = findVar(S_AtkImplementor_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkImplementorIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->ref_accessible = S_virtual_atk_implementor_ref_accessible; } USER_OBJECT_ S_atk_implementor_iface_ref_accessible(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImplementorIface* object_class = ((AtkImplementorIface*)getPtrValue(s_object_class)); AtkImplementor* object = ATK_IMPLEMENTOR(getPtrValue(s_object)); AtkObject* ans; ans = object_class->ref_accessible(object); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } static SEXP S_AtkImage_symbol; static void S_virtual_atk_image_get_image_position(AtkImage* s_object, gint* s_x, gint* s_y, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkImage_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkImage"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } static const gchar* S_virtual_atk_image_get_image_description(AtkImage* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkImage_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkImage"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static void S_virtual_atk_image_get_image_size(AtkImage* s_object, gint* s_width, gint* s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkImage_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkImage"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } static gboolean S_virtual_atk_image_set_image_description(AtkImage* s_object, const gchar* s_description) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkImage_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkImage"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_description)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_atk_image_class_init(AtkImageIface * c, SEXP e) { SEXP s; S_AtkImage_symbol = install("AtkImage"); s = findVar(S_AtkImage_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkImageIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_image_position = S_virtual_atk_image_get_image_position; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_image_description = S_virtual_atk_image_get_image_description; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_image_size = S_virtual_atk_image_get_image_size; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->set_image_description = S_virtual_atk_image_set_image_description; } USER_OBJECT_ S_atk_image_iface_get_image_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImageIface* object_class = ((AtkImageIface*)getPtrValue(s_object_class)); AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; object_class->get_image_position(object, &x, &y, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_image_iface_get_image_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImageIface* object_class = ((AtkImageIface*)getPtrValue(s_object_class)); AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_image_description(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_image_iface_get_image_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImageIface* object_class = ((AtkImageIface*)getPtrValue(s_object_class)); AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); gint width; gint height; object_class->get_image_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_image_iface_set_image_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_description) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkImageIface* object_class = ((AtkImageIface*)getPtrValue(s_object_class)); AtkImage* object = ATK_IMAGE(getPtrValue(s_object)); const gchar* description = ((const gchar*)asCString(s_description)); gboolean ans; ans = object_class->set_image_description(object, description); _result = asRLogical(ans); return(_result); } static SEXP S_AtkHypertext_symbol; static AtkHyperlink* S_virtual_atk_hypertext_get_link(AtkHypertext* s_object, gint s_link_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHypertext_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHypertext"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_link_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkHyperlink*)0)); return(ATK_HYPERLINK(getPtrValue(s_ans))); } static gint S_virtual_atk_hypertext_get_n_links(AtkHypertext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHypertext_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHypertext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_hypertext_get_link_index(AtkHypertext* s_object, gint s_char_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHypertext_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHypertext"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_char_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static void S_virtual_atk_hypertext_link_selected(AtkHypertext* s_object, gint s_link_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkHypertext_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkHypertext"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_link_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_hypertext_class_init(AtkHypertextIface * c, SEXP e) { SEXP s; S_AtkHypertext_symbol = install("AtkHypertext"); s = findVar(S_AtkHypertext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkHypertextIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_link = S_virtual_atk_hypertext_get_link; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_n_links = S_virtual_atk_hypertext_get_n_links; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_link_index = S_virtual_atk_hypertext_get_link_index; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->link_selected = S_virtual_atk_hypertext_link_selected; } USER_OBJECT_ S_atk_hypertext_iface_get_link(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_link_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertextIface* object_class = ((AtkHypertextIface*)getPtrValue(s_object_class)); AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint link_index = ((gint)asCInteger(s_link_index)); AtkHyperlink* ans; ans = object_class->get_link(object, link_index); _result = toRPointerWithRef(ans, "AtkHyperlink"); return(_result); } USER_OBJECT_ S_atk_hypertext_iface_get_n_links(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertextIface* object_class = ((AtkHypertextIface*)getPtrValue(s_object_class)); AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint ans; ans = object_class->get_n_links(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hypertext_iface_get_link_index(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_char_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertextIface* object_class = ((AtkHypertextIface*)getPtrValue(s_object_class)); AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint char_index = ((gint)asCInteger(s_char_index)); gint ans; ans = object_class->get_link_index(object, char_index); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_hypertext_iface_link_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_link_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkHypertextIface* object_class = ((AtkHypertextIface*)getPtrValue(s_object_class)); AtkHypertext* object = ATK_HYPERTEXT(getPtrValue(s_object)); gint link_index = ((gint)asCInteger(s_link_index)); object_class->link_selected(object, link_index); return(_result); } static SEXP S_AtkEditableText_symbol; static gboolean S_virtual_atk_editable_text_set_run_attributes(AtkEditableText* s_object, AtkAttributeSet* s_attrib_set, gint s_start_offset, gint s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRAtkAttributeSet(s_attrib_set)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_editable_text_set_text_contents(AtkEditableText* s_object, const gchar* s_string) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_string)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_editable_text_insert_text(AtkEditableText* s_object, const gchar* s_string, gint s_length, gint* s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_string)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_length)); tmp = CDR(tmp); SETCAR(tmp, asRIntegerArrayWithSize(s_position, s_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_editable_text_copy_text(AtkEditableText* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_editable_text_cut_text(AtkEditableText* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_editable_text_delete_text(AtkEditableText* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_editable_text_paste_text(AtkEditableText* s_object, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkEditableText_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkEditableText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_editable_text_class_init(AtkEditableTextIface * c, SEXP e) { SEXP s; S_AtkEditableText_symbol = install("AtkEditableText"); s = findVar(S_AtkEditableText_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkEditableTextIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_run_attributes = S_virtual_atk_editable_text_set_run_attributes; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->set_text_contents = S_virtual_atk_editable_text_set_text_contents; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->insert_text = S_virtual_atk_editable_text_insert_text; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->copy_text = S_virtual_atk_editable_text_copy_text; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->cut_text = S_virtual_atk_editable_text_cut_text; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->delete_text = S_virtual_atk_editable_text_delete_text; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->paste_text = S_virtual_atk_editable_text_paste_text; } USER_OBJECT_ S_atk_editable_text_iface_set_run_attributes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_attrib_set, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); AtkAttributeSet* attrib_set = asCAtkAttributeSet(s_attrib_set); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = object_class->set_run_attributes(object, attrib_set, start_offset, end_offset); _result = asRLogical(ans); CLEANUP(atk_attribute_set_free, ((AtkAttributeSet*)attrib_set));; return(_result); } USER_OBJECT_ S_atk_editable_text_iface_set_text_contents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); object_class->set_text_contents(object, string); return(_result); } USER_OBJECT_ S_atk_editable_text_iface_insert_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_string, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); const gchar* string = ((const gchar*)asCString(s_string)); gint length = ((gint)GET_LENGTH(s_position)); gint* position = ((gint*)asCArray(s_position, gint, asCInteger)); object_class->insert_text(object, string, length, position); return(_result); } USER_OBJECT_ S_atk_editable_text_iface_copy_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->copy_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_iface_cut_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->cut_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_iface_delete_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->delete_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_atk_editable_text_iface_paste_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkEditableTextIface* object_class = ((AtkEditableTextIface*)getPtrValue(s_object_class)); AtkEditableText* object = ATK_EDITABLE_TEXT(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); object_class->paste_text(object, position); return(_result); } static SEXP S_AtkComponent_symbol; static gboolean S_virtual_atk_component_contains(AtkComponent* s_object, gint s_x, gint s_y, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static AtkObject* S_virtual_atk_component_ref_accessible_at_point(AtkComponent* s_object, gint s_x, gint s_y, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValueWithRef(s_ans))); } static void S_virtual_atk_component_get_extents(AtkComponent* s_object, gint* s_x, gint* s_y, gint* s_width, gint* s_height, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 3))); } static void S_virtual_atk_component_get_position(AtkComponent* s_object, gint* s_x, gint* s_y, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } static void S_virtual_atk_component_get_size(AtkComponent* s_object, gint* s_width, gint* s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } static gboolean S_virtual_atk_component_grab_focus(AtkComponent* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_component_remove_focus_handler(AtkComponent* s_object, guint s_handler_id) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_handler_id)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_atk_component_set_extents(AtkComponent* s_object, gint s_x, gint s_y, gint s_width, gint s_height, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_component_set_position(AtkComponent* s_object, gint s_x, gint s_y, AtkCoordType s_coord_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_component_set_size(AtkComponent* s_object, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static AtkLayer S_virtual_atk_component_get_layer(AtkComponent* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkLayer)0)); return(((AtkLayer)asCEnum(s_ans, ATK_TYPE_LAYER))); } static gint S_virtual_atk_component_get_mdi_zorder(AtkComponent* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static void S_virtual_atk_component_bounds_changed(AtkComponent* s_object, AtkRectangle* s_bounds) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkComponent_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkComponent"))); tmp = CDR(tmp); SETCAR(tmp, asRAtkRectangle(s_bounds)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_atk_component_class_init(AtkComponentIface * c, SEXP e) { SEXP s; S_AtkComponent_symbol = install("AtkComponent"); s = findVar(S_AtkComponent_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkComponentIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->contains = S_virtual_atk_component_contains; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->ref_accessible_at_point = S_virtual_atk_component_ref_accessible_at_point; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_extents = S_virtual_atk_component_get_extents; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_position = S_virtual_atk_component_get_position; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_size = S_virtual_atk_component_get_size; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->grab_focus = S_virtual_atk_component_grab_focus; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->remove_focus_handler = S_virtual_atk_component_remove_focus_handler; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->set_extents = S_virtual_atk_component_set_extents; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->set_position = S_virtual_atk_component_set_position; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->set_size = S_virtual_atk_component_set_size; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->get_layer = S_virtual_atk_component_get_layer; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->get_mdi_zorder = S_virtual_atk_component_get_mdi_zorder; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->bounds_changed = S_virtual_atk_component_bounds_changed; } USER_OBJECT_ S_atk_component_iface_contains(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = object_class->contains(object, x, y, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_ref_accessible_at_point(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkObject* ans; ans = object_class->ref_accessible_at_point(object, x, y, coord_type); _result = toRPointerWithFinalizer(ans, "AtkObject", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_atk_component_iface_get_extents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; gint width; gint height; object_class->get_extents(object, &x, &y, &width, &height, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_atk_component_iface_get_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gint x; gint y; object_class->get_position(object, &x, &y, coord_type); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_component_iface_get_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint width; gint height; object_class->get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_component_iface_grab_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gboolean ans; ans = object_class->grab_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_remove_focus_handler(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); guint handler_id = ((guint)asCNumeric(s_handler_id)); object_class->remove_focus_handler(object, handler_id); return(_result); } USER_OBJECT_ S_atk_component_iface_set_extents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = object_class->set_extents(object, x, y, width, height, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_set_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); gboolean ans; ans = object_class->set_position(object, x, y, coord_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_set_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); gboolean ans; ans = object_class->set_size(object, width, height); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_get_layer(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkLayer ans; ans = object_class->get_layer(object); _result = asREnum(ans, ATK_TYPE_LAYER); return(_result); } USER_OBJECT_ S_atk_component_iface_get_mdi_zorder(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); gint ans; ans = object_class->get_mdi_zorder(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_component_iface_bounds_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_bounds) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkComponentIface* object_class = ((AtkComponentIface*)getPtrValue(s_object_class)); AtkComponent* object = ATK_COMPONENT(getPtrValue(s_object)); AtkRectangle* bounds = asCAtkRectangle(s_bounds); object_class->bounds_changed(object, bounds); return(_result); } static SEXP S_AtkAction_symbol; static gboolean S_virtual_atk_action_do_action(AtkAction* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gint S_virtual_atk_action_get_n_actions(AtkAction* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static const gchar* S_virtual_atk_action_get_description(AtkAction* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static const gchar* S_virtual_atk_action_get_name(AtkAction* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static const gchar* S_virtual_atk_action_get_keybinding(AtkAction* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static gboolean S_virtual_atk_action_set_description(AtkAction* s_object, gint s_i, const gchar* s_desc) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_desc)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static const gchar* S_virtual_atk_action_get_localized_name(AtkAction* s_object, gint s_i) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkAction"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_i)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } void S_atk_action_class_init(AtkActionIface * c, SEXP e) { SEXP s; S_AtkAction_symbol = install("AtkAction"); s = findVar(S_AtkAction_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkActionIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->do_action = S_virtual_atk_action_do_action; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_n_actions = S_virtual_atk_action_get_n_actions; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_description = S_virtual_atk_action_get_description; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_name = S_virtual_atk_action_get_name; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_keybinding = S_virtual_atk_action_get_keybinding; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->set_description = S_virtual_atk_action_set_description; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_localized_name = S_virtual_atk_action_get_localized_name; } USER_OBJECT_ S_atk_action_iface_do_action(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); gboolean ans; ans = object_class->do_action(object, i); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_get_n_actions(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint ans; ans = object_class->get_n_actions(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_get_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = object_class->get_description(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = object_class->get_name(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_get_keybinding(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = object_class->get_keybinding(object, i); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_set_description(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* desc = ((const gchar*)asCString(s_desc)); gboolean ans; ans = object_class->set_description(object, i, desc); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_action_iface_get_localized_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkActionIface* object_class = ((AtkActionIface*)getPtrValue(s_object_class)); AtkAction* object = ATK_ACTION(getPtrValue(s_object)); gint i = ((gint)asCInteger(s_i)); const gchar* ans; ans = object_class->get_localized_name(object, i); _result = asRString(ans); return(_result); } static SEXP S_AtkValue_symbol; static void S_virtual_atk_value_get_current_value(AtkValue* s_object, GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkValue_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkValue"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GValue* value = asCGValue(VECTOR_ELT(s_ans, 0)); *s_value = *value; g_free(value); } } static void S_virtual_atk_value_get_maximum_value(AtkValue* s_object, GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkValue_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkValue"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GValue* value = asCGValue(VECTOR_ELT(s_ans, 0)); *s_value = *value; g_free(value); } } static void S_virtual_atk_value_get_minimum_value(AtkValue* s_object, GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkValue_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkValue"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GValue* value = asCGValue(VECTOR_ELT(s_ans, 0)); *s_value = *value; g_free(value); } } static gboolean S_virtual_atk_value_set_current_value(AtkValue* s_object, const GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkValue_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkValue"))); tmp = CDR(tmp); SETCAR(tmp, asRGValue(s_value)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #if ATK_CHECK_VERSION(1, 11, 0) static void S_virtual_atk_value_get_minimum_increment(AtkValue* s_object, GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkValue_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkValue"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GValue* value = asCGValue(VECTOR_ELT(s_ans, 0)); *s_value = *value; g_free(value); } } #endif void S_atk_value_class_init(AtkValueIface * c, SEXP e) { SEXP s; S_AtkValue_symbol = install("AtkValue"); s = findVar(S_AtkValue_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkValueIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_current_value = S_virtual_atk_value_get_current_value; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_maximum_value = S_virtual_atk_value_get_maximum_value; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_minimum_value = S_virtual_atk_value_get_minimum_value; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->set_current_value = S_virtual_atk_value_set_current_value; #if ATK_CHECK_VERSION(1, 11, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_minimum_increment = S_virtual_atk_value_get_minimum_increment; #endif } USER_OBJECT_ S_atk_value_iface_get_current_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValueIface* object_class = ((AtkValueIface*)getPtrValue(s_object_class)); AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); object_class->get_current_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_iface_get_maximum_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValueIface* object_class = ((AtkValueIface*)getPtrValue(s_object_class)); AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); object_class->get_maximum_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_iface_get_minimum_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValueIface* object_class = ((AtkValueIface*)getPtrValue(s_object_class)); AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); object_class->get_minimum_value(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_atk_value_iface_set_current_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkValueIface* object_class = ((AtkValueIface*)getPtrValue(s_object_class)); AtkValue* object = ATK_VALUE(getPtrValue(s_object)); const GValue* value = asCGValue(s_value); gboolean ans; ans = object_class->set_current_value(object, value); _result = asRLogical(ans); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; return(_result); } USER_OBJECT_ S_atk_value_iface_get_minimum_increment(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if ATK_CHECK_VERSION(1, 11, 0) AtkValueIface* object_class = ((AtkValueIface*)getPtrValue(s_object_class)); AtkValue* object = ATK_VALUE(getPtrValue(s_object)); GValue* value = ((GValue *)g_new0(GValue, 1)); object_class->get_minimum_increment(object, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; #else error("atk_value_get_minimum_increment exists only in Atk >= 1.11.0"); #endif return(_result); } static SEXP S_AtkText_symbol; static gchar* S_virtual_atk_text_get_text(AtkText* s_object, gint s_start_offset, gint s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static gchar* S_virtual_atk_text_get_text_after_offset(AtkText* s_object, gint s_offset, AtkTextBoundary s_boundary_type, gint* s_start_offset, gint* s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_start_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } static gchar* S_virtual_atk_text_get_text_at_offset(AtkText* s_object, gint s_offset, AtkTextBoundary s_boundary_type, gint* s_start_offset, gint* s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_start_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } static gunichar S_virtual_atk_text_get_character_at_offset(AtkText* s_object, gint s_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gunichar)0)); return(((gunichar)asCNumeric(s_ans))); } static gchar* S_virtual_atk_text_get_text_before_offset(AtkText* s_object, gint s_offset, AtkTextBoundary s_boundary_type, gint* s_start_offset, gint* s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_start_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } static gint S_virtual_atk_text_get_caret_offset(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static AtkAttributeSet* S_virtual_atk_text_get_run_attributes(AtkText* s_object, gint s_offset, gint* s_start_offset, gint* s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkAttributeSet*)0)); *s_start_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(asCAtkAttributeSet(VECTOR_ELT(s_ans, 0))); } static AtkAttributeSet* S_virtual_atk_text_get_default_attributes(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkAttributeSet*)0)); return(asCAtkAttributeSet(s_ans)); } static void S_virtual_atk_text_get_character_extents(AtkText* s_object, gint s_offset, gint* s_x, gint* s_y, gint* s_width, gint* s_height, AtkCoordType s_coords) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coords, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 3))); } static gint S_virtual_atk_text_get_character_count(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_text_get_offset_at_point(AtkText* s_object, gint s_x, gint s_y, AtkCoordType s_coords) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coords, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gint S_virtual_atk_text_get_n_selections(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gchar* S_virtual_atk_text_get_selection(AtkText* s_object, gint s_selection_num, gint* s_start_offset, gint* s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_selection_num)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); *s_start_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0))))); } static gboolean S_virtual_atk_text_add_selection(AtkText* s_object, gint s_start_offset, gint s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_text_remove_selection(AtkText* s_object, gint s_selection_num) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_selection_num)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_text_set_selection(AtkText* s_object, gint s_selection_num, gint s_start_offset, gint s_end_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_selection_num)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_atk_text_set_caret_offset(AtkText* s_object, gint s_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_atk_text_text_changed(AtkText* s_object, gint s_position, gint s_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_text_text_caret_moved(AtkText* s_object, gint s_location) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_location)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_text_text_selection_changed(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_text_text_attributes_changed(AtkText* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_atk_text_get_range_extents(AtkText* s_object, gint s_start_offset, gint s_end_offset, AtkCoordType s_coord_type, AtkTextRectangle* s_rect) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_offset)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { AtkTextRectangle* rect = asCAtkTextRectangle(VECTOR_ELT(s_ans, 0)); *s_rect = *rect; g_free(rect); } } static AtkTextRange** S_virtual_atk_text_get_bounded_ranges(AtkText* s_object, AtkTextRectangle* s_rect, AtkCoordType s_coord_type, AtkTextClipType s_x_clip_type, AtkTextClipType s_y_clip_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkText_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkText"))); tmp = CDR(tmp); SETCAR(tmp, asRAtkTextRectangle(s_rect)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_coord_type, ATK_TYPE_COORD_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_x_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_y_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkTextRange**)0)); return(((AtkTextRange**)asCArrayDup(s_ans, AtkTextRange*, asCAtkTextRange))); } void S_atk_text_class_init(AtkTextIface * c, SEXP e) { SEXP s; S_AtkText_symbol = install("AtkText"); s = findVar(S_AtkText_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkTextIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_text = S_virtual_atk_text_get_text; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_text_after_offset = S_virtual_atk_text_get_text_after_offset; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_text_at_offset = S_virtual_atk_text_get_text_at_offset; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_character_at_offset = S_virtual_atk_text_get_character_at_offset; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->get_text_before_offset = S_virtual_atk_text_get_text_before_offset; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_caret_offset = S_virtual_atk_text_get_caret_offset; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_run_attributes = S_virtual_atk_text_get_run_attributes; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_default_attributes = S_virtual_atk_text_get_default_attributes; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->get_character_extents = S_virtual_atk_text_get_character_extents; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_character_count = S_virtual_atk_text_get_character_count; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->get_offset_at_point = S_virtual_atk_text_get_offset_at_point; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->get_n_selections = S_virtual_atk_text_get_n_selections; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->get_selection = S_virtual_atk_text_get_selection; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->add_selection = S_virtual_atk_text_add_selection; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->remove_selection = S_virtual_atk_text_remove_selection; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->set_selection = S_virtual_atk_text_set_selection; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->set_caret_offset = S_virtual_atk_text_set_caret_offset; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->text_changed = S_virtual_atk_text_text_changed; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->text_caret_moved = S_virtual_atk_text_text_caret_moved; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->text_selection_changed = S_virtual_atk_text_text_selection_changed; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->text_attributes_changed = S_virtual_atk_text_text_attributes_changed; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->get_range_extents = S_virtual_atk_text_get_range_extents; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->get_bounded_ranges = S_virtual_atk_text_get_bounded_ranges; } USER_OBJECT_ S_atk_text_iface_get_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gchar* ans; ans = object_class->get_text(object, start_offset, end_offset); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_atk_text_iface_get_text_after_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = object_class->get_text_after_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_get_text_at_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = object_class->get_text_at_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_get_character_at_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gunichar ans; ans = object_class->get_character_at_offset(object, offset); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_text_before_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkTextBoundary boundary_type = ((AtkTextBoundary)asCEnum(s_boundary_type, ATK_TYPE_TEXT_BOUNDARY)); gchar* ans; gint start_offset; gint end_offset; ans = object_class->get_text_before_offset(object, offset, boundary_type, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_get_caret_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = object_class->get_caret_offset(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_run_attributes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkAttributeSet* ans; gint start_offset; gint end_offset; ans = object_class->get_run_attributes(object, offset, &start_offset, &end_offset); _result = asRAtkAttributeSet(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_get_default_attributes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); AtkAttributeSet* ans; ans = object_class->get_default_attributes(object); _result = asRAtkAttributeSet(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_character_extents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_coords) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); AtkCoordType coords = ((AtkCoordType)asCEnum(s_coords, ATK_TYPE_COORD_TYPE)); gint x; gint y; gint width; gint height; object_class->get_character_extents(object, offset, &x, &y, &width, &height, coords); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_get_character_count(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = object_class->get_character_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_offset_at_point(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coords) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); AtkCoordType coords = ((AtkCoordType)asCEnum(s_coords, ATK_TYPE_COORD_TYPE)); gint ans; ans = object_class->get_offset_at_point(object, x, y, coords); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_n_selections(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint ans; ans = object_class->get_n_selections(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_get_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gchar* ans; gint start_offset; gint end_offset; ans = object_class->get_selection(object, selection_num, &start_offset, &end_offset); _result = asRString(ans); _result = retByVal(_result, "start.offset", asRInteger(start_offset), "end.offset", asRInteger(end_offset), NULL); CLEANUP(g_free, ans);; ; ; return(_result); } USER_OBJECT_ S_atk_text_iface_add_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = object_class->add_selection(object, start_offset, end_offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_remove_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gboolean ans; ans = object_class->remove_selection(object, selection_num); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_set_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint selection_num = ((gint)asCInteger(s_selection_num)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); gboolean ans; ans = object_class->set_selection(object, selection_num, start_offset, end_offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_set_caret_offset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gboolean ans; ans = object_class->set_caret_offset(object, offset); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_atk_text_iface_text_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); gint length = ((gint)asCInteger(s_length)); object_class->text_changed(object, position, length); return(_result); } USER_OBJECT_ S_atk_text_iface_text_caret_moved(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_location) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint location = ((gint)asCInteger(s_location)); object_class->text_caret_moved(object, location); return(_result); } USER_OBJECT_ S_atk_text_iface_text_selection_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); object_class->text_selection_changed(object); return(_result); } USER_OBJECT_ S_atk_text_iface_text_attributes_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); object_class->text_attributes_changed(object); return(_result); } USER_OBJECT_ S_atk_text_iface_get_range_extents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset, USER_OBJECT_ s_coord_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); gint start_offset = ((gint)asCInteger(s_start_offset)); gint end_offset = ((gint)asCInteger(s_end_offset)); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkTextRectangle* rect = ((AtkTextRectangle *)g_new0(AtkTextRectangle, 1)); object_class->get_range_extents(object, start_offset, end_offset, coord_type, rect); _result = retByVal(_result, "rect", asRAtkTextRectangle(rect), NULL); CLEANUP(g_free, rect);; return(_result); } USER_OBJECT_ S_atk_text_iface_get_bounded_ranges(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_rect, USER_OBJECT_ s_coord_type, USER_OBJECT_ s_x_clip_type, USER_OBJECT_ s_y_clip_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkTextIface* object_class = ((AtkTextIface*)getPtrValue(s_object_class)); AtkText* object = ATK_TEXT(getPtrValue(s_object)); AtkTextRectangle* rect = asCAtkTextRectangle(s_rect); AtkCoordType coord_type = ((AtkCoordType)asCEnum(s_coord_type, ATK_TYPE_COORD_TYPE)); AtkTextClipType x_clip_type = ((AtkTextClipType)asCEnum(s_x_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); AtkTextClipType y_clip_type = ((AtkTextClipType)asCEnum(s_y_clip_type, ATK_TYPE_TEXT_CLIP_TYPE)); AtkTextRange** ans; ans = object_class->get_bounded_ranges(object, rect, coord_type, x_clip_type, y_clip_type); _result = asRArray(ans, asRAtkTextRange); CLEANUP(atk_text_free_ranges, ans);; return(_result); } static SEXP S_AtkDocument_symbol; static const gchar* S_virtual_atk_document_get_document_type(AtkDocument* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkDocument_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkDocument"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } static gpointer S_virtual_atk_document_get_document(AtkDocument* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_AtkDocument_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "AtkDocument"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gpointer)0)); return(((gpointer)asCGenericData(s_ans))); } void S_atk_document_class_init(AtkDocumentIface * c, SEXP e) { SEXP s; S_AtkDocument_symbol = install("AtkDocument"); s = findVar(S_AtkDocument_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkDocumentIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_document_type = S_virtual_atk_document_get_document_type; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_document = S_virtual_atk_document_get_document; } USER_OBJECT_ S_atk_document_iface_get_document_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkDocumentIface* object_class = ((AtkDocumentIface*)getPtrValue(s_object_class)); AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_document_type(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_atk_document_iface_get_document(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; AtkDocumentIface* object_class = ((AtkDocumentIface*)getPtrValue(s_object_class)); AtkDocument* object = ATK_DOCUMENT(getPtrValue(s_object)); gpointer ans; ans = object_class->get_document(object); _result = ans; return(_result); } #if ATK_CHECK_VERSION(1, 12, 1) static SEXP S_AtkHyperlinkImpl_symbol; void S_atk_hyperlink_impl_class_init(AtkHyperlinkImplIface * c, SEXP e) { SEXP s; S_AtkHyperlinkImpl_symbol = install("AtkHyperlinkImpl"); s = findVar(S_AtkHyperlinkImpl_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(AtkHyperlinkImplIface)) = e; } #endif RGtk2/src/gtkUserFuncs.c0000644000176000001440000012260312362467242014625 0ustar ripleyusers#include "RGtk2/gtkUserFuncs.h" void S_GtkAboutDialogActivateLinkFunc(GtkAboutDialog* s_about, const gchar* s_link, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_about, "GtkAboutDialog")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_link)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkCellLayoutDataFunc(GtkCellLayout* s_cell_layout, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cell_layout, "GtkCellLayout")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tree_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkClipboardGetFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, guint s_info, gpointer s_user_data_or_owner) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_user_data_or_owner)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data_or_owner)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_info)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data_or_owner)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data_or_owner)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkClipboardReceivedFunc(GtkClipboard* s_clipboard, GtkSelectionData* s_selection_data, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkClipboardImageReceivedFunc(GtkClipboard* s_clipboard, GdkPixbuf* s_image, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_image, "GdkPixbuf")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkClipboardTextReceivedFunc(GtkClipboard* s_clipboard, const gchar* s_text, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkClipboardTargetsReceivedFunc(GtkClipboard* s_clipboard, GdkAtom* s_atoms, gint s_n_atoms, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, asRArrayWithSize(s_atoms, asRGdkAtom, s_n_atoms)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n_atoms)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } R_CallbackData * GtkColorSelectionChangePaletteFunc_cbdata; void S_GtkColorSelectionChangePaletteFunc(const GdkColor* s_colors, gint s_n_colors) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+GtkColorSelectionChangePaletteFunc_cbdata->useData)); tmp = e; SETCAR(tmp, GtkColorSelectionChangePaletteFunc_cbdata->function); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_colors, asRGdkColor, s_n_colors)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n_colors)); tmp = CDR(tmp); if(GtkColorSelectionChangePaletteFunc_cbdata->useData) { SETCAR(tmp, GtkColorSelectionChangePaletteFunc_cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } R_CallbackData * GtkColorSelectionChangePaletteWithScreenFunc_cbdata; void S_GtkColorSelectionChangePaletteWithScreenFunc(GdkScreen* s_screen, const GdkColor* s_colors, gint s_n_colors) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+GtkColorSelectionChangePaletteWithScreenFunc_cbdata->useData)); tmp = e; SETCAR(tmp, GtkColorSelectionChangePaletteWithScreenFunc_cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_screen, "GdkScreen")); tmp = CDR(tmp); SETCAR(tmp, asRArrayRefWithSize(s_colors, asRGdkColor, s_n_colors)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n_colors)); tmp = CDR(tmp); if(GtkColorSelectionChangePaletteWithScreenFunc_cbdata->useData) { SETCAR(tmp, GtkColorSelectionChangePaletteWithScreenFunc_cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkCTreeGNodeFunc(GtkCTree* s_ctree, guint s_depth, GNode* s_gnode, GtkCTreeNode* s_cnode, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_ctree, "GtkCTree")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_depth)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_gnode, "GNode")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_cnode, "GtkCTreeNode")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkCTreeFunc(GtkCTree* s_ctree, GtkCTreeNode* s_node, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_ctree, "GtkCTree")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_node, "GtkCTreeNode")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkEntryCompletionMatchFunc(GtkEntryCompletion* s_completion, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_completion, "GtkEntryCompletion")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_key)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } gboolean S_GtkFileFilterFunc(const GtkFileFilterInfo* s_filter_info, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRGtkFileFilterInfo(s_filter_info)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkIconViewForeachFunc(GtkIconView* s_icon_view, GtkTreePath* s_path, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_icon_view, "GtkIconView")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkTranslateFunc(const gchar* s_path, gpointer s_func_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_func_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_func_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); if(((R_CallbackData *)s_func_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_func_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkFunction(gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 1+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); ; if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } gint S_GtkKeySnoopFunc(GtkWidget* s_grab_widget, GdkEventKey* s_event, gpointer s_func_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_func_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_func_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_grab_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); if(((R_CallbackData *)s_func_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_func_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu, "GtkMenu")); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); *s_push_in = ((gboolean)asCLogical(VECTOR_ELT(s_ans, 3))); return(((gint)asCInteger(VECTOR_ELT(s_ans, 0)))); } gint S_GtkTreeModelForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } gint S_GtkTreeModelFilterVisibleFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } gint S_GtkTreeModelFilterModifyFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, GValue* s_value, gint s_column, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRGValue(s_value)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } gboolean S_GtkTreeSelectionFunc(GtkTreeSelection* s_selection, GtkTreeModel* s_model, GtkTreePath* s_path, gboolean s_path_currently_selected, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_selection, "GtkTreeSelection")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_path_currently_selected)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkTreeSelectionForeachFunc(GtkTreeModel* s_model, GtkTreePath* s_path, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gint S_GtkTreeIterCompareFunc(GtkTreeModel* s_model, GtkTreeIter* s_a, GtkTreeIter* s_b, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_a ? gtk_tree_iter_copy(s_a) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_b ? gtk_tree_iter_copy(s_b) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } void S_GtkTreeCellDataFunc(GtkTreeViewColumn* s_tree_column, GtkCellRenderer* s_cell, GtkTreeModel* s_tree_model, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tree_column, "GtkTreeViewColumn")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tree_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkTreeViewColumnDropFunc(GtkTreeView* s_tree_view, GtkTreeViewColumn* s_column, GtkTreeViewColumn* s_prev_column, GtkTreeViewColumn* s_next_column, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tree_view, "GtkTreeView")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_column, "GtkTreeViewColumn")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_prev_column, "GtkTreeViewColumn")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_next_column, "GtkTreeViewColumn")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkTreeViewMappingFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tree_view, "GtkTreeView")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkTreeViewSearchEqualFunc(GtkTreeModel* s_model, gint s_column, const gchar* s_key, GtkTreeIter* s_iter, gpointer s_search_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_search_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_search_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_key)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_search_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_search_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkTreeDestroyCountFunc(GtkTreeView* s_tree_view, GtkTreePath* s_path, gint s_children, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tree_view, "GtkTreeView")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_children)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkTreeViewRowSeparatorFunc(GtkTreeModel* s_model, GtkTreeIter* s_iter, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkCallback(GtkWidget* s_child, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkAccelMapForeach(gpointer s_data, const gchar* s_accel_path, guint s_accel_key, GdkModifierType s_accel_mods, gboolean s_changed) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRString(s_accel_path)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_accel_key)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_changed)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkAccelGroupFindFunc(GtkAccelKey* s_key, GClosure* s_closure, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRGtkAccelKey(s_key)); tmp = CDR(tmp); SETCAR(tmp, asRGClosure(s_closure)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } R_CallbackData * GtkAccelGroupActivate_cbdata; gboolean S_GtkAccelGroupActivate(GtkAccelGroup* s_accel_group, GObject* s_acceleratable, guint s_keyval, GdkModifierType s_modifier) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+GtkAccelGroupActivate_cbdata->useData)); tmp = e; SETCAR(tmp, GtkAccelGroupActivate_cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_accel_group, "GtkAccelGroup")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_acceleratable, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_keyval)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_modifier, GDK_TYPE_MODIFIER_TYPE)); tmp = CDR(tmp); if(GtkAccelGroupActivate_cbdata->useData) { SETCAR(tmp, GtkAccelGroupActivate_cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkTextTagTableForeach(GtkTextTag* s_tag, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } gboolean S_GtkTextCharPredicate(gunichar s_ch, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_ch)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_GtkItemFactoryCallback1(gpointer s_callback_data, guint s_callback_action, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_callback_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_callback_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_callback_action)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); if(((R_CallbackData *)s_callback_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_callback_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_GtkItemFactoryCallback2(GtkWidget* s_widget, gpointer s_callback_data, guint s_callback_action) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_callback_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_callback_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_callback_action)); tmp = CDR(tmp); if(((R_CallbackData *)s_callback_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_callback_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkAssistantPageFunc(gint s_current_page, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_current_page)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkClipboardRichTextReceivedFunc(GtkClipboard* s_clipboard, GdkAtom s_format, const guint8* s_text, gsize s_length, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, asRGdkAtom(s_format)); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_text, s_length)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_length)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkLinkButtonUriFunc(GtkLinkButton* s_button, const gchar* s_link, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_button, "GtkLinkButton")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_link)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebook* S_GtkNotebookWindowCreationFunc(GtkNotebook* s_source, GtkWidget* s_page, gint s_x, gint s_y, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_source, "GtkNotebook")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_page, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkNotebook*)0)); return(GTK_NOTEBOOK(getPtrValue(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPageSetupDoneFunc(GtkPageSetup* s_page_setup, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_page_setup, "GtkPageSetup")); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkPrintSettingsFunc(const gchar* s_key, const gchar* s_value, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRString(s_key)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_value)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) gint S_GtkRecentSortFunc(GtkRecentInfo* s_a, GtkRecentInfo* s_b, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_a ? gtk_recent_info_ref(s_a) : NULL, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_b ? gtk_recent_info_ref(s_b) : NULL, "GtkRecentInfo", (RPointerFinalizer) gtk_recent_info_unref)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkRecentFilterFunc(const GtkRecentFilterInfo* s_filter_info, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRGtkRecentFilterInfo(s_filter_info)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) gboolean S_GtkTextBufferDeserializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_iter, const guint8* s_data, gsize s_length, gboolean s_create_tags, gpointer s_user_data, GError** s_error) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_register_buffer, "GtkTextBuffer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_content_buffer, "GtkTextBuffer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_text_iter_copy(s_iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_data, s_length)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_length)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_create_tags)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_error = asCGError(VECTOR_ELT(s_ans, 1)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) void S_GtkTreeViewSearchPositionFunc(GtkTreeView* s_tree_view, GtkWidget* s_search_dialog, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tree_view, "GtkTreeView")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_search_dialog, "GtkWidget")); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) void S_GtkBuilderConnectFunc(GtkBuilder* s_builder, GObject* s_object, const gchar* s_signal_name, const gchar* s_handler_name, GObject* s_connect_object, guint s_flags, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 7+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_object, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_signal_name)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_handler_name)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_connect_object, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_flags)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 14, 0) gchar* S_GtkCalendarDetailFunc(GtkCalendar* s_calendar, guint s_year, guint s_month, guint s_day, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_calendar, "GtkCalendar")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_year)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_month)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_day)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } #endif #if GTK_CHECK_VERSION(2, 14, 0) void S_GtkClipboardURIReceivedFunc(GtkClipboard* s_clipboard, gchar** s_uris, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_clipboard, "GtkClipboard")); tmp = CDR(tmp); SETCAR(tmp, asRStringArray(s_uris)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif RGtk2/src/cairoFuncs.h0000644000176000001440000005072112362467242014304 0ustar ripleyusers#ifndef S_CAIRO_FUNCS_H #define S_CAIRO_FUNCS_H #include USER_OBJECT_ S_cairo_version(void); USER_OBJECT_ S_cairo_version_string(void); USER_OBJECT_ S_cairo_create(USER_OBJECT_ s_target); USER_OBJECT_ S_cairo_reference(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_destroy(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_save(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_restore(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_set_operator(USER_OBJECT_ s_cr, USER_OBJECT_ s_op); USER_OBJECT_ S_cairo_set_source(USER_OBJECT_ s_cr, USER_OBJECT_ s_source); USER_OBJECT_ S_cairo_set_source_rgb(USER_OBJECT_ s_cr, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_cairo_set_source_rgba(USER_OBJECT_ s_cr, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha); USER_OBJECT_ S_cairo_set_source_surface(USER_OBJECT_ s_cr, USER_OBJECT_ s_surface, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_set_tolerance(USER_OBJECT_ s_cr, USER_OBJECT_ s_tolerance); USER_OBJECT_ S_cairo_set_antialias(USER_OBJECT_ s_cr, USER_OBJECT_ s_antialias); USER_OBJECT_ S_cairo_set_fill_rule(USER_OBJECT_ s_cr, USER_OBJECT_ s_fill_rule); USER_OBJECT_ S_cairo_set_line_width(USER_OBJECT_ s_cr, USER_OBJECT_ s_width); USER_OBJECT_ S_cairo_set_line_cap(USER_OBJECT_ s_cr, USER_OBJECT_ s_line_cap); USER_OBJECT_ S_cairo_set_line_join(USER_OBJECT_ s_cr, USER_OBJECT_ s_line_join); USER_OBJECT_ S_cairo_set_dash(USER_OBJECT_ s_cr, USER_OBJECT_ s_dashes, USER_OBJECT_ s_offset); USER_OBJECT_ S_cairo_set_miter_limit(USER_OBJECT_ s_cr, USER_OBJECT_ s_limit); USER_OBJECT_ S_cairo_translate(USER_OBJECT_ s_cr, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_cairo_scale(USER_OBJECT_ s_cr, USER_OBJECT_ s_sx, USER_OBJECT_ s_sy); USER_OBJECT_ S_cairo_rotate(USER_OBJECT_ s_cr, USER_OBJECT_ s_angle); USER_OBJECT_ S_cairo_transform(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_set_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_identity_matrix(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_user_to_device(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_user_to_device_distance(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_cairo_device_to_user(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_device_to_user_distance(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_cairo_new_path(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_move_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_line_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_curve_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y2, USER_OBJECT_ s_x3, USER_OBJECT_ s_y3); USER_OBJECT_ S_cairo_arc(USER_OBJECT_ s_cr, USER_OBJECT_ s_xc, USER_OBJECT_ s_yc, USER_OBJECT_ s_radius, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2); USER_OBJECT_ S_cairo_arc_negative(USER_OBJECT_ s_cr, USER_OBJECT_ s_xc, USER_OBJECT_ s_yc, USER_OBJECT_ s_radius, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2); USER_OBJECT_ S_cairo_rel_move_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_cairo_rel_line_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_cairo_rel_curve_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx1, USER_OBJECT_ s_dy1, USER_OBJECT_ s_dx2, USER_OBJECT_ s_dy2, USER_OBJECT_ s_dx3, USER_OBJECT_ s_dy3); USER_OBJECT_ S_cairo_rectangle(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_cairo_close_path(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_paint(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_paint_with_alpha(USER_OBJECT_ s_cr, USER_OBJECT_ s_alpha); USER_OBJECT_ S_cairo_mask(USER_OBJECT_ s_cr, USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_mask_surface(USER_OBJECT_ s_cr, USER_OBJECT_ s_surface, USER_OBJECT_ s_surface_x, USER_OBJECT_ s_surface_y); USER_OBJECT_ S_cairo_stroke(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_stroke_preserve(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_fill(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_fill_preserve(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_copy_page(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_show_page(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_in_stroke(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_in_fill(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_stroke_extents(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_fill_extents(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_reset_clip(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_clip(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_clip_preserve(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_select_font_face(USER_OBJECT_ s_cr, USER_OBJECT_ s_family, USER_OBJECT_ s_slant, USER_OBJECT_ s_weight); USER_OBJECT_ S_cairo_set_font_size(USER_OBJECT_ s_cr, USER_OBJECT_ s_size); USER_OBJECT_ S_cairo_set_font_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_get_font_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_show_text(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8); USER_OBJECT_ S_cairo_show_glyphs(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_num_glyphs); USER_OBJECT_ S_cairo_get_font_face(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_font_extents(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_set_font_face(USER_OBJECT_ s_cr, USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_text_extents(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8); USER_OBJECT_ S_cairo_glyph_extents(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_cairo_text_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8); USER_OBJECT_ S_cairo_glyph_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_cairo_set_font_options(USER_OBJECT_ s_cr, USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_get_font_options(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_font_face_reference(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_font_face_destroy(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_font_face_get_user_data(USER_OBJECT_ s_font_face, USER_OBJECT_ s_key); USER_OBJECT_ S_cairo_font_face_set_user_data(USER_OBJECT_ s_font_face, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data); USER_OBJECT_ S_cairo_font_face_status(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_scaled_font_create(USER_OBJECT_ s_font_face, USER_OBJECT_ s_font_matrix, USER_OBJECT_ s_ctm, USER_OBJECT_ s_option); USER_OBJECT_ S_cairo_scaled_font_reference(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_destroy(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_extents(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_glyph_extents(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_num_glyphs); USER_OBJECT_ S_cairo_scaled_font_status(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_get_operator(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_source(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_tolerance(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_antialias(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_current_point(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_get_fill_rule(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_line_width(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_line_cap(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_line_join(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_miter_limit(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_get_target(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_copy_path(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_copy_path_flat(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_path_destroy(USER_OBJECT_ s_path); USER_OBJECT_ S_cairo_status(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_status_to_string(USER_OBJECT_ s_status); USER_OBJECT_ S_cairo_surface_create_similar(USER_OBJECT_ s_other, USER_OBJECT_ s_content, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_cairo_surface_reference(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_destroy(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_finish(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_write_to_png(USER_OBJECT_ s_surface, USER_OBJECT_ s_filename); USER_OBJECT_ S_cairo_surface_write_to_png_stream(USER_OBJECT_ s_surface, USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure); USER_OBJECT_ S_cairo_surface_get_user_data(USER_OBJECT_ s_surface, USER_OBJECT_ s_key); USER_OBJECT_ S_cairo_surface_set_user_data(USER_OBJECT_ s_surface, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data); USER_OBJECT_ S_cairo_surface_flush(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_mark_dirty(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_mark_dirty_rectangle(USER_OBJECT_ s_surface, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_cairo_surface_set_device_offset(USER_OBJECT_ s_surface, USER_OBJECT_ s_x_offset, USER_OBJECT_ s_y_offset); USER_OBJECT_ S_cairo_surface_get_font_options(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_status(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_create(USER_OBJECT_ s_format, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_cairo_image_surface_create_for_data(USER_OBJECT_ s_data, USER_OBJECT_ s_format, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_stride); USER_OBJECT_ S_cairo_image_surface_get_width(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_get_height(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_create_from_png(USER_OBJECT_ s_filename); USER_OBJECT_ S_cairo_image_surface_create_from_png_stream(USER_OBJECT_ s_read_func, USER_OBJECT_ s_closure); USER_OBJECT_ S_cairo_pattern_create_rgb(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_cairo_pattern_create_rgba(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha); USER_OBJECT_ S_cairo_pattern_create_for_surface(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_pattern_create_linear(USER_OBJECT_ s_x0, USER_OBJECT_ s_y0, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1); USER_OBJECT_ S_cairo_pattern_create_radial(USER_OBJECT_ s_cx0, USER_OBJECT_ s_cy0, USER_OBJECT_ s_radius0, USER_OBJECT_ s_cx1, USER_OBJECT_ s_cy1, USER_OBJECT_ s_radius1); USER_OBJECT_ S_cairo_pattern_reference(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_destroy(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_status(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_add_color_stop_rgb(USER_OBJECT_ s_pattern, USER_OBJECT_ s_offset, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue); USER_OBJECT_ S_cairo_pattern_add_color_stop_rgba(USER_OBJECT_ s_pattern, USER_OBJECT_ s_offset, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha); USER_OBJECT_ S_cairo_pattern_set_matrix(USER_OBJECT_ s_pattern, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_pattern_get_matrix(USER_OBJECT_ s_pattern, USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_pattern_set_extend(USER_OBJECT_ s_pattern, USER_OBJECT_ s_extend); USER_OBJECT_ S_cairo_pattern_get_extend(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_set_filter(USER_OBJECT_ s_pattern, USER_OBJECT_ s_filter); USER_OBJECT_ S_cairo_pattern_get_filter(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_matrix_init(USER_OBJECT_ s_xx, USER_OBJECT_ s_yx, USER_OBJECT_ s_xy, USER_OBJECT_ s_yy, USER_OBJECT_ s_x0, USER_OBJECT_ s_y0); USER_OBJECT_ S_cairo_matrix_init_identity(void); USER_OBJECT_ S_cairo_matrix_init_translate(USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_cairo_matrix_init_scale(USER_OBJECT_ s_sx, USER_OBJECT_ s_sy); USER_OBJECT_ S_cairo_matrix_init_rotate(USER_OBJECT_ s_radians); USER_OBJECT_ S_cairo_matrix_translate(USER_OBJECT_ s_matrix, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty); USER_OBJECT_ S_cairo_matrix_scale(USER_OBJECT_ s_matrix, USER_OBJECT_ s_sx, USER_OBJECT_ s_sy); USER_OBJECT_ S_cairo_matrix_rotate(USER_OBJECT_ s_matrix, USER_OBJECT_ s_radians); USER_OBJECT_ S_cairo_matrix_invert(USER_OBJECT_ s_matrix); USER_OBJECT_ S_cairo_matrix_multiply(USER_OBJECT_ s_result, USER_OBJECT_ s_a, USER_OBJECT_ s_b); USER_OBJECT_ S_cairo_matrix_transform_distance(USER_OBJECT_ s_matrix, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_cairo_matrix_transform_point(USER_OBJECT_ s_matrix, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_cairo_font_options_create(void); USER_OBJECT_ S_cairo_font_options_copy(USER_OBJECT_ s_original); USER_OBJECT_ S_cairo_font_options_destroy(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_font_options_status(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_font_options_merge(USER_OBJECT_ s_options, USER_OBJECT_ s_other); USER_OBJECT_ S_cairo_font_options_equal(USER_OBJECT_ s_options, USER_OBJECT_ s_other); USER_OBJECT_ S_cairo_font_options_set_antialias(USER_OBJECT_ s_options, USER_OBJECT_ s_antialias); USER_OBJECT_ S_cairo_font_options_get_antialias(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_font_options_set_subpixel_order(USER_OBJECT_ s_options, USER_OBJECT_ s_subpixel_order); USER_OBJECT_ S_cairo_font_options_get_subpixel_order(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_font_options_set_hint_style(USER_OBJECT_ s_options, USER_OBJECT_ s_hint_style); USER_OBJECT_ S_cairo_font_options_get_hint_style(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_font_options_set_hint_metrics(USER_OBJECT_ s_options, USER_OBJECT_ s_hint_metrics); USER_OBJECT_ S_cairo_font_options_get_hint_metrics(USER_OBJECT_ s_options); USER_OBJECT_ S_cairo_push_group(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_push_group_with_content(USER_OBJECT_ s_cr, USER_OBJECT_ s_content); USER_OBJECT_ S_cairo_pop_group(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_pop_group_to_source(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_group_target(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_new_sub_path(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_set_scaled_font(USER_OBJECT_ s_cr, USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_get_font_face(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_get_font_matrix(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_get_ctm(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_get_font_options(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_text_extents(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_utf8); USER_OBJECT_ S_cairo_scaled_font_get_type(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_font_face_get_type(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_surface_get_type(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_get_device_offset(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_set_fallback_resolution(USER_OBJECT_ s_surface, USER_OBJECT_ s_x_pixels_per_inch, USER_OBJECT_ s_y_pixels_per_inch); USER_OBJECT_ S_cairo_surface_get_content(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_get_format(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_get_stride(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_image_surface_get_data(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_pattern_get_type(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pdf_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_pdf_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_pdf_surface_set_size(USER_OBJECT_ s_surface, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_ps_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_ps_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_ps_surface_set_size(USER_OBJECT_ s_surface, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_ps_surface_dsc_comment(USER_OBJECT_ s_surface, USER_OBJECT_ s_comment); USER_OBJECT_ S_cairo_ps_surface_dsc_begin_setup(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_ps_surface_dsc_begin_page_setup(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_svg_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_svg_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points); USER_OBJECT_ S_cairo_svg_surface_restrict_to_version(USER_OBJECT_ s_surface, USER_OBJECT_ s_version); USER_OBJECT_ S_cairo_svg_get_versions(void); USER_OBJECT_ S_cairo_svg_version_to_string(USER_OBJECT_ s_version); USER_OBJECT_ S_cairo_clip_extents(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_copy_clip_rectangle_list(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_get_dash_count(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_pattern_get_rgba(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_get_surface(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_get_color_stop_rgba(USER_OBJECT_ s_pattern, USER_OBJECT_ s_index); USER_OBJECT_ S_cairo_pattern_get_color_stop_count(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_get_linear_points(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_pattern_get_radial_circles(USER_OBJECT_ s_pattern); USER_OBJECT_ S_cairo_get_scaled_font(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_set_user_data(USER_OBJECT_ s_cr, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data); USER_OBJECT_ S_cairo_get_user_data(USER_OBJECT_ s_cr, USER_OBJECT_ s_key); USER_OBJECT_ S_cairo_scaled_font_get_user_data(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_key); USER_OBJECT_ S_cairo_scaled_font_set_user_data(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data); USER_OBJECT_ S_cairo_pattern_get_user_data(USER_OBJECT_ s_pattern, USER_OBJECT_ s_key); USER_OBJECT_ S_cairo_pattern_set_user_data(USER_OBJECT_ s_pattern, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data); USER_OBJECT_ S_cairo_format_stride_for_width(USER_OBJECT_ s_format, USER_OBJECT_ s_width); USER_OBJECT_ S_cairo_has_current_point(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_path_extents(USER_OBJECT_ s_cr); USER_OBJECT_ S_cairo_surface_copy_page(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_show_page(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_ps_surface_restrict_to_level(USER_OBJECT_ s_surface, USER_OBJECT_ s_level); USER_OBJECT_ S_cairo_ps_get_levels(void); USER_OBJECT_ S_cairo_ps_level_to_string(USER_OBJECT_ s_level); USER_OBJECT_ S_cairo_ps_surface_set_eps(USER_OBJECT_ s_surface, USER_OBJECT_ s_eps); USER_OBJECT_ S_cairo_ps_surface_get_eps(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_toy_font_face_create(USER_OBJECT_ s_family, USER_OBJECT_ s_slant, USER_OBJECT_ s_weight); USER_OBJECT_ S_cairo_toy_font_face_get_family(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_toy_font_face_get_slant(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_toy_font_face_get_weight(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_surface_get_fallback_resolution(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_surface_has_show_text_glyphs(USER_OBJECT_ s_surface); USER_OBJECT_ S_cairo_show_text_glyphs(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_clusters, USER_OBJECT_ s_cluster_flags); USER_OBJECT_ S_cairo_scaled_font_get_scale_matrix(USER_OBJECT_ s_scaled_font); USER_OBJECT_ S_cairo_scaled_font_text_to_glyphs(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_utf8, USER_OBJECT_ s_utf8_len); USER_OBJECT_ S_cairo_user_font_face_create(void); USER_OBJECT_ S_cairo_user_font_face_get_init_func(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_user_font_face_get_render_glyph_func(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_user_font_face_get_unicode_to_glyph_func(USER_OBJECT_ s_font_face); USER_OBJECT_ S_cairo_user_font_face_get_text_to_glyphs_func(USER_OBJECT_ s_font_face); #endif RGtk2/src/gdkConversion.c0000644000176000001440000004661612362467242015026 0ustar ripleyusers#include "RGtk2/gtk.h" USER_OBJECT_ asRGdkAtom(GdkAtom val) { USER_OBJECT_ ans; char *tmp; ans = toRPointer(GDK_ATOM_TO_POINTER(val), "GdkAtom"); tmp = gdk_atom_name(val); if(tmp) setAttrib(ans, install("name"), asRString(tmp)); return(ans); } GdkAtom asCGdkAtom(USER_OBJECT_ s_atom) { GdkAtom atom; if (TYPEOF(s_atom) == EXTPTRSXP) atom = GDK_POINTER_TO_ATOM(getPtrValue(s_atom)); else if (IS_NUMERIC(s_atom)) atom = _GDK_MAKE_ATOM((guint)asCNumeric(s_atom)); else atom = gdk_atom_intern(asCString(s_atom), FALSE); return(atom); } GdkAtom* asCGdkAtomArray(USER_OBJECT_ s_atoms) { int i; USER_OBJECT_ s_array; GdkAtom *array; PROTECT(s_array = NEW_LIST(1)); if (GET_LENGTH(VECTOR_ELT(s_atoms, 0)) == 1) SET_VECTOR_ELT(s_array, 0, s_atoms); else s_array = s_atoms; array = (GdkAtom *)R_alloc(GET_LENGTH(s_array), sizeof(GdkAtom)); for (i = 0; i < GET_LENGTH(s_array); i++) { array[i] = asCGdkAtom(VECTOR_ELT(s_array, i)); } UNPROTECT(1); return(array); } GdkWindowAttr* asCGdkWindowAttr(USER_OBJECT_ s_window_attr, GdkWindowAttributesType *mask) { GdkWindowAttr* attr = (GdkWindowAttr*)S_alloc(1, sizeof(GdkWindowAttr)); *mask = 0; if (GET_LENGTH(VECTOR_ELT(s_window_attr, 0)) > 0) { *mask |= GDK_WA_TITLE; attr->title = (gchar *)asCString(VECTOR_ELT(s_window_attr, 0)); } attr->event_mask = asCInteger(VECTOR_ELT(s_window_attr, 1)); if (GET_LENGTH(VECTOR_ELT(s_window_attr, 2)) > 0) { *mask |= GDK_WA_X; attr->x = asCInteger(VECTOR_ELT(s_window_attr, 2)); } if (GET_LENGTH(VECTOR_ELT(s_window_attr, 3)) > 0) { *mask |= GDK_WA_Y; attr->y = asCInteger(VECTOR_ELT(s_window_attr, 3)); } attr->width = asCInteger(VECTOR_ELT(s_window_attr, 4)); attr->height = asCInteger(VECTOR_ELT(s_window_attr, 5)); attr->wclass = asCEnum(VECTOR_ELT(s_window_attr, 6), GDK_TYPE_WINDOW_CLASS); if (GET_LENGTH(VECTOR_ELT(s_window_attr, 7)) > 0) { *mask |= GDK_WA_VISUAL; attr->visual = GDK_VISUAL(getPtrValue(VECTOR_ELT(s_window_attr, 7))); } if (GET_LENGTH(VECTOR_ELT(s_window_attr, 8)) > 0) { *mask |= GDK_WA_COLORMAP; attr->colormap = GDK_COLORMAP(getPtrValue(VECTOR_ELT(s_window_attr, 8))); } attr->window_type = asCEnum(VECTOR_ELT(s_window_attr, 9), GDK_TYPE_WINDOW_TYPE); if (GET_LENGTH(VECTOR_ELT(s_window_attr, 10)) > 0) { *mask |= GDK_WA_CURSOR; attr->cursor = (GdkCursor*)getPtrValue(VECTOR_ELT(s_window_attr, 10)); } if (GET_LENGTH(VECTOR_ELT(s_window_attr, 11)) > 0) { *mask |= GDK_WA_WMCLASS; attr->wmclass_name = (gchar *)asCString(VECTOR_ELT(s_window_attr, 11)); attr->wmclass_class = (gchar *)asCString(VECTOR_ELT(s_window_attr, 12)); } if (GET_LENGTH(VECTOR_ELT(s_window_attr, 13)) > 0) { *mask |= GDK_WA_NOREDIR; attr->override_redirect = asCLogical(VECTOR_ELT(s_window_attr, 13)); } return(attr); } GdkGeometry* asCGdkGeometry(USER_OBJECT_ s_geom, GdkWindowHints *hints) { GdkGeometry* geom = (GdkGeometry*)R_alloc(1, sizeof(GdkGeometry)); *hints = 0; if (GET_LENGTH(VECTOR_ELT(s_geom, 0)) > 0) { *hints |= GDK_HINT_MIN_SIZE; geom->min_width = INTEGER_DATA(VECTOR_ELT(s_geom, 0))[0]; geom->min_height = INTEGER_DATA(VECTOR_ELT(s_geom, 1))[0]; } if (GET_LENGTH(VECTOR_ELT(s_geom, 2)) > 0) { *hints |= GDK_HINT_MAX_SIZE; geom->max_width = INTEGER_DATA(VECTOR_ELT(s_geom, 2))[0]; geom->max_height = INTEGER_DATA(VECTOR_ELT(s_geom, 3))[0]; } if (GET_LENGTH(VECTOR_ELT(s_geom, 4)) > 0) { *hints |= GDK_HINT_BASE_SIZE; geom->max_width = INTEGER_DATA(VECTOR_ELT(s_geom, 4))[0]; geom->max_height = INTEGER_DATA(VECTOR_ELT(s_geom, 5))[0]; } if (GET_LENGTH(VECTOR_ELT(s_geom, 6)) > 0) { *hints |= GDK_HINT_RESIZE_INC; geom->width_inc = INTEGER_DATA(VECTOR_ELT(s_geom, 6))[0]; geom->height_inc = INTEGER_DATA(VECTOR_ELT(s_geom, 7))[0]; } if (GET_LENGTH(VECTOR_ELT(s_geom, 8)) > 0) { *hints |= GDK_HINT_ASPECT; geom->min_aspect = NUMERIC_DATA(VECTOR_ELT(s_geom, 8))[0]; geom->max_aspect = NUMERIC_DATA(VECTOR_ELT(s_geom, 9))[0]; } if (GET_LENGTH(VECTOR_ELT(s_geom, 10)) > 0) { *hints |= GDK_HINT_WIN_GRAVITY; geom->win_gravity = (GdkGravity)INTEGER_DATA(VECTOR_ELT(s_geom, 8))[0]; } return(geom); } GdkGCValues* asCGdkGCValues(USER_OBJECT_ s_values) { GdkGCValuesMask mask; return asCGdkGCValuesWithMask(s_values, &mask); } GdkGCValues* asCGdkGCValuesWithMask(USER_OBJECT_ s_values, GdkGCValuesMask *mask) { GdkGCValues* values = (GdkGCValues*)R_alloc(1, sizeof(GdkGCValues)); *mask = 0; if (GET_LENGTH(VECTOR_ELT(s_values, 0)) > 0) { *mask |= GDK_GC_FOREGROUND; values->foreground = *asCGdkColor(VECTOR_ELT(s_values, 0)); } if (GET_LENGTH(VECTOR_ELT(s_values, 1)) > 0) { *mask |= GDK_GC_BACKGROUND; values->background = *asCGdkColor(VECTOR_ELT(s_values, 1)); } if (GET_LENGTH(VECTOR_ELT(s_values, 2)) > 0) { *mask |= GDK_GC_FONT; values->font = (GdkFont*)getPtrValue(VECTOR_ELT(s_values, 2)); } if (GET_LENGTH(VECTOR_ELT(s_values, 3)) > 0) { *mask |= GDK_GC_FUNCTION; values->function = (GdkFunction)INTEGER_DATA(VECTOR_ELT(s_values, 3))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 4)) > 0) { *mask |= GDK_GC_FILL; values->fill = (GdkFill)INTEGER_DATA(VECTOR_ELT(s_values, 4))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 5)) > 0) { *mask |= GDK_GC_TILE; values->tile = (GdkPixmap*)getPtrValue(VECTOR_ELT(s_values, 5)); } if (GET_LENGTH(VECTOR_ELT(s_values, 6)) > 0) { *mask |= GDK_GC_TILE; values->stipple = (GdkPixmap*)getPtrValue(VECTOR_ELT(s_values, 6)); } if (GET_LENGTH(VECTOR_ELT(s_values, 7)) > 0) { *mask |= GDK_GC_CLIP_MASK; values->clip_mask = (GdkPixmap*)getPtrValue(VECTOR_ELT(s_values, 7)); } if (GET_LENGTH(VECTOR_ELT(s_values, 8)) > 0) { *mask |= GDK_GC_SUBWINDOW; values->subwindow_mode = (GdkSubwindowMode)INTEGER_DATA(VECTOR_ELT(s_values, 8))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 9)) > 0) { *mask |= GDK_GC_TS_X_ORIGIN; values->ts_x_origin = INTEGER_DATA(VECTOR_ELT(s_values, 9))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 10)) > 0) { *mask |= GDK_GC_TS_Y_ORIGIN; values->ts_y_origin = INTEGER_DATA(VECTOR_ELT(s_values, 10))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 11)) > 0) { *mask |= GDK_GC_CLIP_X_ORIGIN; values->clip_x_origin = INTEGER_DATA(VECTOR_ELT(s_values, 11))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 12)) > 0) { *mask |= GDK_GC_CLIP_Y_ORIGIN; values->clip_y_origin = INTEGER_DATA(VECTOR_ELT(s_values, 12))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 13)) > 0) { *mask |= GDK_GC_EXPOSURES; values->graphics_exposures = INTEGER_DATA(VECTOR_ELT(s_values, 13))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 14)) > 0) { *mask |= GDK_GC_LINE_WIDTH; values->line_width = INTEGER_DATA(VECTOR_ELT(s_values, 14))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 15)) > 0) { *mask |= GDK_GC_LINE_STYLE; values->line_style = (GdkLineStyle)INTEGER_DATA(VECTOR_ELT(s_values, 15))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 16)) > 0) { *mask |= GDK_GC_CAP_STYLE; values->cap_style = (GdkCapStyle)INTEGER_DATA(VECTOR_ELT(s_values, 16))[0]; } if (GET_LENGTH(VECTOR_ELT(s_values, 17)) > 0) { *mask |= GDK_GC_JOIN_STYLE; values->join_style = (GdkJoinStyle)INTEGER_DATA(VECTOR_ELT(s_values, 17))[0]; } return(values); } USER_OBJECT_ asRGdkGCValues(GdkGCValues *values) { USER_OBJECT_ s_values; static char *names[] = { "foreground", "background", "font", "function", "fill", "tile", "stipple", "clip.mask", "subwindow.mode", "ts.x.origin", "ts.y.origin", "clip.x.origin", "clip.y.origin", "graphics.exposures", "line.width", "line.style", "cap.style", "join.style", NULL }; PROTECT(s_values = NEW_LIST(18)); SET_VECTOR_ELT(s_values, 0, asRGdkColor(&values->foreground)); SET_VECTOR_ELT(s_values, 1, asRGdkColor(&values->background)); SET_VECTOR_ELT(s_values, 2, toRGdkFont(values->font)); SET_VECTOR_ELT(s_values, 3, toRPointer(&values->function, "GdkFunction")); SET_VECTOR_ELT(s_values, 4, asREnum(values->fill, GDK_TYPE_FILL)); SET_VECTOR_ELT(s_values, 5, toRPointerWithRef(values->tile, "GdkPixmap")); SET_VECTOR_ELT(s_values, 6, toRPointerWithRef(values->stipple, "GdkPixmap")); SET_VECTOR_ELT(s_values, 7, toRPointerWithRef(values->clip_mask, "GdkPixmap")); SET_VECTOR_ELT(s_values, 8, asREnum(values->subwindow_mode, GDK_TYPE_SUBWINDOW_MODE)); SET_VECTOR_ELT(s_values, 9, asRInteger(values->ts_x_origin)); SET_VECTOR_ELT(s_values, 10, asRInteger(values->ts_y_origin)); SET_VECTOR_ELT(s_values, 11, asRInteger(values->clip_x_origin)); SET_VECTOR_ELT(s_values, 12, asRInteger(values->clip_y_origin)); SET_VECTOR_ELT(s_values, 13, asRInteger(values->graphics_exposures)); SET_VECTOR_ELT(s_values, 14, asRInteger(values->line_width)); SET_VECTOR_ELT(s_values, 15, asREnum(values->line_style, GDK_TYPE_LINE_STYLE)); SET_VECTOR_ELT(s_values, 16, asREnum(values->cap_style, GDK_TYPE_CAP_STYLE)); SET_VECTOR_ELT(s_values, 17, asREnum(values->join_style, GDK_TYPE_JOIN_STYLE)); SET_NAMES(s_values, asRStringArray(names)); UNPROTECT(1); return(s_values); } USER_OBJECT_ asRGdkTimeCoord(GdkTimeCoord* coord, int num_axes) { USER_OBJECT_ s_coord; static char *names[] = { "time", "axes", NULL }; PROTECT(s_coord = NEW_LIST(2)); SET_VECTOR_ELT(s_coord, 0, asRNumeric(coord->time)); SET_VECTOR_ELT(s_coord, 1, asRNumericArrayWithSize(coord->axes, num_axes)); SET_NAMES(s_coord, asRStringArray(names)); UNPROTECT(1); return(s_coord); } GdkRectangle* asCGdkRectangle(USER_OBJECT_ s_rect) { GdkRectangle* rect; rect = (GdkRectangle*)R_alloc(1, sizeof(GdkRectangle)); rect->x = INTEGER_DATA(VECTOR_ELT(s_rect, 0))[0]; rect->y = INTEGER_DATA(VECTOR_ELT(s_rect, 1))[0]; rect->width = INTEGER_DATA(VECTOR_ELT(s_rect, 2))[0]; rect->height = INTEGER_DATA(VECTOR_ELT(s_rect, 3))[0]; return(rect); } USER_OBJECT_ asRGdkRectangle(GdkRectangle *rect) { USER_OBJECT_ s_rect; static char *names[] = { "x", "y", "width", "height", NULL }; PROTECT(s_rect = NEW_LIST(4)); SET_VECTOR_ELT(s_rect, 0, asRInteger(rect->x)); SET_VECTOR_ELT(s_rect, 1, asRInteger(rect->y)); SET_VECTOR_ELT(s_rect, 2, asRInteger(rect->width)); SET_VECTOR_ELT(s_rect, 3, asRInteger(rect->height)); SET_NAMES(s_rect, asRStringArray(names)); UNPROTECT(1); return(s_rect); } GdkSpan* asCGdkSpan(USER_OBJECT_ s_span) { GdkSpan* span; span = (GdkSpan*)R_alloc(1, sizeof(GdkSpan)); span->x = INTEGER_DATA(VECTOR_ELT(s_span, 0))[0]; span->y = INTEGER_DATA(VECTOR_ELT(s_span, 1))[0]; span->width = INTEGER_DATA(VECTOR_ELT(s_span, 2))[0]; return(span); } USER_OBJECT_ asRGdkSpan(GdkSpan * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "x", "y", "width", NULL }; PROTECT(s_obj = allocVector(VECSXP, 3)); SET_VECTOR_ELT(s_obj, 0, asRInteger(obj->x)); SET_VECTOR_ELT(s_obj, 1, asRInteger(obj->y)); SET_VECTOR_ELT(s_obj, 2, asRInteger(obj->width)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GdkSpan")); UNPROTECT(1); return(s_obj); } GdkRgbCmap* asCGdkRgbCmap(USER_OBJECT_ s_cmap) { int i; GdkRgbCmap* cmap; cmap = (GdkRgbCmap*)R_alloc(1, sizeof(GdkRgbCmap)); for (i = 0; i < GET_LENGTH(s_cmap); i++) cmap->colors[i] = (guint32)NUMERIC_DATA(s_cmap)[i]; cmap->n_colors = GET_LENGTH(s_cmap); return(cmap); } USER_OBJECT_ asRGdkRgbCmap(GdkRgbCmap *map) { return(asRNumericArrayWithSize(map->colors, map->n_colors)); } GdkKeymapKey* asCGdkKeymapKey(USER_OBJECT_ s_key) { GdkKeymapKey* key; key = (GdkKeymapKey*)R_alloc(1, sizeof(GdkKeymapKey)); key->keycode = NUMERIC_DATA(VECTOR_ELT(s_key, 0))[0]; key->group = INTEGER_DATA(VECTOR_ELT(s_key, 1))[0]; key->level = INTEGER_DATA(VECTOR_ELT(s_key, 2))[0]; return(key); } USER_OBJECT_ asRGdkKeymapKey(GdkKeymapKey* key) { USER_OBJECT_ s_key; static char *names[] = { "keycode", "group", "level", NULL }; PROTECT(s_key = NEW_LIST(3)); SET_VECTOR_ELT(s_key, 0, asRNumeric(key->keycode)); SET_VECTOR_ELT(s_key, 1, asRInteger(key->group)); SET_VECTOR_ELT(s_key, 2, asRInteger(key->level)); SET_NAMES(s_key, asRStringArray(names)); UNPROTECT(1); return(s_key); } GdkPoint* asCGdkPoint(USER_OBJECT_ s_point) { GdkPoint* point; point = (GdkPoint*)R_alloc(1, sizeof(GdkPoint)); point->x = INTEGER_DATA(VECTOR_ELT(s_point,0))[0]; point->y = INTEGER_DATA(VECTOR_ELT(s_point,1))[0]; return(point); } USER_OBJECT_ asRGdkPoint(GdkPoint *point) { USER_OBJECT_ s_point; static char *names[] = { "x", "y", NULL }; PROTECT(s_point = NEW_LIST(2)); SET_VECTOR_ELT(s_point, 0, asRInteger(point->x)); SET_VECTOR_ELT(s_point, 1, asRInteger(point->y)); SET_NAMES(s_point, asRStringArray(names)); UNPROTECT(1); return(s_point); } GdkSegment* asCGdkSegment(USER_OBJECT_ s_segment) { GdkSegment* segment; segment = (GdkSegment*)R_alloc(1, sizeof(GdkSegment)); segment->x1 = INTEGER_DATA(VECTOR_ELT(s_segment,0))[0]; segment->y1 = INTEGER_DATA(VECTOR_ELT(s_segment,1))[0]; segment->x2 = INTEGER_DATA(VECTOR_ELT(s_segment,2))[0]; segment->y2 = INTEGER_DATA(VECTOR_ELT(s_segment,3))[0]; return(segment); } USER_OBJECT_ asRGdkSegment(GdkSegment * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "x1", "y1", "x2", "y2", NULL }; PROTECT(s_obj = allocVector(VECSXP, 4)); SET_VECTOR_ELT(s_obj, 0, asRInteger(obj->x1)); SET_VECTOR_ELT(s_obj, 1, asRInteger(obj->y1)); SET_VECTOR_ELT(s_obj, 2, asRInteger(obj->x2)); SET_VECTOR_ELT(s_obj, 3, asRInteger(obj->y2)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GdkSegment")); UNPROTECT(1); return(s_obj); } GdkColor* asCGdkColor(USER_OBJECT_ s_color) { GdkColor* color; int offset = 0; color = (GdkColor*)R_alloc(1, sizeof(GdkColor)); if (GET_LENGTH(s_color) == 4) { offset = 1; color->pixel = asCNumeric(VECTOR_ELT(s_color, 0)); } color->red = asCInteger(VECTOR_ELT(s_color, 0+offset)); color->green = asCInteger(VECTOR_ELT(s_color, 1+offset)); color->blue = asCInteger(VECTOR_ELT(s_color, 2+offset)); /*Rprintf("rgb: %d %d %d\n", color->red, color->green, color->blue);*/ return(color); } USER_OBJECT_ asRGdkColor(const GdkColor* color) { USER_OBJECT_ s_color; static char *names[] = { "pixel", "red", "green", "blue", NULL }; PROTECT(s_color = NEW_LIST(4)); SET_VECTOR_ELT(s_color, 0, asRNumeric(color->pixel)); SET_VECTOR_ELT(s_color, 1, asRInteger(color->red)); SET_VECTOR_ELT(s_color, 2, asRInteger(color->green)); SET_VECTOR_ELT(s_color, 3, asRInteger(color->blue)); SET_NAMES(s_color, asRStringArray(names)); UNPROTECT(1); return(s_color); } USER_OBJECT_ asRGdkNativeWindow(GdkNativeWindow window) { #ifdef GDK_NATIVE_WINDOW_POINTER return(toRPointer(window, "GdkNativeWindow")); #else return(asRNumeric(window)); #endif } GdkNativeWindow asCGdkNativeWindow(USER_OBJECT_ s_window) { #ifdef GDK_NATIVE_WINDOW_POINTER return((GdkNativeWindow)getPtrValue(s_window)); #else return(NUMERIC_DATA(s_window)[0]); #endif } /* determines the 'class' from the event type, copying if we don't own it */ USER_OBJECT_ toRGdkEvent(GdkEvent *event, gboolean own) { char *type; /*USER_OBJECT_ classes;*/ USER_OBJECT_ result; switch(event->type) { case GDK_EXPOSE: type = "GdkEventExpose"; break; case GDK_MOTION_NOTIFY: type = "GdkEventMotion"; break; case GDK_BUTTON_PRESS: case GDK_2BUTTON_PRESS: case GDK_3BUTTON_PRESS: case GDK_BUTTON_RELEASE: type = "GdkEventButton"; break; case GDK_KEY_PRESS : case GDK_KEY_RELEASE: type = "GdkEventKey"; break; case GDK_ENTER_NOTIFY: case GDK_LEAVE_NOTIFY: type = "GdkEventCrossing"; break; case GDK_FOCUS_CHANGE: type = "GdkEventFocus"; break; case GDK_CONFIGURE: type = "GdkEventConfigure"; break; case GDK_PROPERTY_NOTIFY: type = "GdkEventProperty"; break; case GDK_SELECTION_CLEAR: case GDK_SELECTION_REQUEST: case GDK_SELECTION_NOTIFY: type = "GdkEventSelection"; break; case GDK_PROXIMITY_IN: case GDK_PROXIMITY_OUT: type = "GdkEventProximity"; break; case GDK_DRAG_ENTER: case GDK_DRAG_LEAVE: case GDK_DRAG_MOTION: case GDK_DRAG_STATUS: case GDK_DROP_START: case GDK_DROP_FINISHED: type = "GdkEventDND"; break; case GDK_CLIENT_EVENT: type = "GdkEventClient"; break; case GDK_VISIBILITY_NOTIFY: type = "GdkEventVisibility"; break; case GDK_NO_EXPOSE: type = "GdkEventNoExpose"; break; case GDK_SCROLL: type = "GdkEventScroll"; break; case GDK_WINDOW_STATE: type = "GdkEventWindowState"; break; case GDK_SETTING: type = "GdkEventSetting"; break; case GDK_OWNER_CHANGE: type = "GdkEventOwnerChanged"; break; case GDK_GRAB_BROKEN: type = "GdkEventGrabBroken"; break; default: type = "GdkEventAny"; } if (!own) event = gdk_event_copy(event); PROTECT(result = toRPointerWithFinalizer(event, NULL, (RPointerFinalizer)gdk_event_free)); char *classes[] = { type, "GdkEventAny", "GdkEvent", "RGtkObject" }; SET_CLASS(result, asRStringArrayWithSize(classes, 4)); UNPROTECT(1); return(result); } /* makes a wrapped GdkEvent, assuming we own it */ USER_OBJECT_ asRGdkEvent(GdkEvent *event) { return(toRGdkEvent(event, TRUE)); } USER_OBJECT_ toRGdkFont(GdkFont *font) { if (font) gdk_font_ref(font); return(toRPointerWithFinalizer(font, "GdkFont", (RPointerFinalizer)gdk_font_unref)); } GdkTrapezoid * asCGdkTrapezoid(USER_OBJECT_ s_trapezoid) { GdkTrapezoid *trapezoid = (GdkTrapezoid *)R_alloc(1, sizeof(GdkTrapezoid)); trapezoid->y1 = asCNumeric(VECTOR_ELT(s_trapezoid, 0)); trapezoid->x11 = asCNumeric(VECTOR_ELT(s_trapezoid, 1)); trapezoid->x21 = asCNumeric(VECTOR_ELT(s_trapezoid, 2)); trapezoid->y2 = asCNumeric(VECTOR_ELT(s_trapezoid, 3)); trapezoid->x12 = asCNumeric(VECTOR_ELT(s_trapezoid, 4)); trapezoid->x22 = asCNumeric(VECTOR_ELT(s_trapezoid, 5)); return(trapezoid); } USER_OBJECT_ asRGdkTrapezoid(GdkTrapezoid * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "y1", "x11", "x21", "y2", "x12", "x22", NULL }; PROTECT(s_obj = allocVector(VECSXP, 6)); SET_VECTOR_ELT(s_obj, 0, asRNumeric(obj->y1)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->x11)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->x21)); SET_VECTOR_ELT(s_obj, 3, asRNumeric(obj->y2)); SET_VECTOR_ELT(s_obj, 4, asRNumeric(obj->x12)); SET_VECTOR_ELT(s_obj, 5, asRNumeric(obj->x22)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GdkTrapezoid")); UNPROTECT(1); return(s_obj); } RGtk2/src/cairoFuncs.c0000644000176000001440000030752312362467242014304 0ustar ripleyusers#include #include #include "cairoFuncs.h" USER_OBJECT_ S_cairo_version(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; int ans; ans = cairo_version(); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_cairo_version_string(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* ans; ans = cairo_version_string(); _result = asRString(ans); return(_result); } USER_OBJECT_ S_cairo_create(USER_OBJECT_ s_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* target = ((cairo_surface_t*)getPtrValue(s_target)); cairo_t* ans; ans = cairo_create(target); _result = toRPointerWithFinalizer(ans, "Cairo", (RPointerFinalizer) cairo_destroy); return(_result); } USER_OBJECT_ S_cairo_reference(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_t* ans; ans = cairo_reference(cr); _result = toRPointerWithCairoRef(ans, "Cairo", cairo); return(_result); } USER_OBJECT_ S_cairo_destroy(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_destroy(cr); return(_result); } USER_OBJECT_ S_cairo_save(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_save(cr); return(_result); } USER_OBJECT_ S_cairo_restore(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_restore(cr); return(_result); } USER_OBJECT_ S_cairo_set_operator(USER_OBJECT_ s_cr, USER_OBJECT_ s_op) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_operator_t op = ((cairo_operator_t)asCEnum(s_op, CAIRO_TYPE_OPERATOR)); cairo_set_operator(cr, op); return(_result); } USER_OBJECT_ S_cairo_set_source(USER_OBJECT_ s_cr, USER_OBJECT_ s_source) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_pattern_t* source = ((cairo_pattern_t*)getPtrValue(s_source)); cairo_set_source(cr, source); return(_result); } USER_OBJECT_ S_cairo_set_source_rgb(USER_OBJECT_ s_cr, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); cairo_set_source_rgb(cr, red, green, blue); return(_result); } USER_OBJECT_ S_cairo_set_source_rgba(USER_OBJECT_ s_cr, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); double alpha = ((double)asCNumeric(s_alpha)); cairo_set_source_rgba(cr, red, green, blue, alpha); return(_result); } USER_OBJECT_ S_cairo_set_source_surface(USER_OBJECT_ s_cr, USER_OBJECT_ s_surface, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); cairo_set_source_surface(cr, surface, x, y); return(_result); } USER_OBJECT_ S_cairo_set_tolerance(USER_OBJECT_ s_cr, USER_OBJECT_ s_tolerance) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double tolerance = ((double)asCNumeric(s_tolerance)); cairo_set_tolerance(cr, tolerance); return(_result); } USER_OBJECT_ S_cairo_set_antialias(USER_OBJECT_ s_cr, USER_OBJECT_ s_antialias) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_antialias_t antialias = ((cairo_antialias_t)asCEnum(s_antialias, CAIRO_TYPE_ANTIALIAS)); cairo_set_antialias(cr, antialias); return(_result); } USER_OBJECT_ S_cairo_set_fill_rule(USER_OBJECT_ s_cr, USER_OBJECT_ s_fill_rule) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_fill_rule_t fill_rule = ((cairo_fill_rule_t)asCEnum(s_fill_rule, CAIRO_TYPE_FILL_RULE)); cairo_set_fill_rule(cr, fill_rule); return(_result); } USER_OBJECT_ S_cairo_set_line_width(USER_OBJECT_ s_cr, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double width = ((double)asCNumeric(s_width)); cairo_set_line_width(cr, width); return(_result); } USER_OBJECT_ S_cairo_set_line_cap(USER_OBJECT_ s_cr, USER_OBJECT_ s_line_cap) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_line_cap_t line_cap = ((cairo_line_cap_t)asCEnum(s_line_cap, CAIRO_TYPE_LINE_CAP)); cairo_set_line_cap(cr, line_cap); return(_result); } USER_OBJECT_ S_cairo_set_line_join(USER_OBJECT_ s_cr, USER_OBJECT_ s_line_join) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_line_join_t line_join = ((cairo_line_join_t)asCEnum(s_line_join, CAIRO_TYPE_LINE_JOIN)); cairo_set_line_join(cr, line_join); return(_result); } USER_OBJECT_ S_cairo_set_dash(USER_OBJECT_ s_cr, USER_OBJECT_ s_dashes, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* dashes = ((double*)asCArray(s_dashes, double, asCNumeric)); int ndash = ((int)GET_LENGTH(s_dashes)); double offset = ((double)asCNumeric(s_offset)); cairo_set_dash(cr, dashes, ndash, offset); return(_result); } USER_OBJECT_ S_cairo_set_miter_limit(USER_OBJECT_ s_cr, USER_OBJECT_ s_limit) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double limit = ((double)asCNumeric(s_limit)); cairo_set_miter_limit(cr, limit); return(_result); } USER_OBJECT_ S_cairo_translate(USER_OBJECT_ s_cr, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double tx = ((double)asCNumeric(s_tx)); double ty = ((double)asCNumeric(s_ty)); cairo_translate(cr, tx, ty); return(_result); } USER_OBJECT_ S_cairo_scale(USER_OBJECT_ s_cr, USER_OBJECT_ s_sx, USER_OBJECT_ s_sy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double sx = ((double)asCNumeric(s_sx)); double sy = ((double)asCNumeric(s_sy)); cairo_scale(cr, sx, sy); return(_result); } USER_OBJECT_ S_cairo_rotate(USER_OBJECT_ s_cr, USER_OBJECT_ s_angle) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double angle = ((double)asCNumeric(s_angle)); cairo_rotate(cr, angle); return(_result); } USER_OBJECT_ S_cairo_transform(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); cairo_transform(cr, matrix); return(_result); } USER_OBJECT_ S_cairo_set_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); cairo_set_matrix(cr, matrix); return(_result); } USER_OBJECT_ S_cairo_identity_matrix(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_identity_matrix(cr); return(_result); } USER_OBJECT_ S_cairo_user_to_device(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* x = ((double*)asCArray(s_x, double, asCNumeric)); double* y = ((double*)asCArray(s_y, double, asCNumeric)); cairo_user_to_device(cr, x, y); return(_result); } USER_OBJECT_ S_cairo_user_to_device_distance(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* dx = ((double*)asCArray(s_dx, double, asCNumeric)); double* dy = ((double*)asCArray(s_dy, double, asCNumeric)); cairo_user_to_device_distance(cr, dx, dy); return(_result); } USER_OBJECT_ S_cairo_device_to_user(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* x = ((double*)asCArray(s_x, double, asCNumeric)); double* y = ((double*)asCArray(s_y, double, asCNumeric)); cairo_device_to_user(cr, x, y); return(_result); } USER_OBJECT_ S_cairo_device_to_user_distance(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* dx = ((double*)asCArray(s_dx, double, asCNumeric)); double* dy = ((double*)asCArray(s_dy, double, asCNumeric)); cairo_device_to_user_distance(cr, dx, dy); return(_result); } USER_OBJECT_ S_cairo_new_path(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_new_path(cr); return(_result); } USER_OBJECT_ S_cairo_move_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); cairo_move_to(cr, x, y); return(_result); } USER_OBJECT_ S_cairo_line_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); cairo_line_to(cr, x, y); return(_result); } USER_OBJECT_ S_cairo_curve_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y2, USER_OBJECT_ s_x3, USER_OBJECT_ s_y3) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x1 = ((double)asCNumeric(s_x1)); double y1 = ((double)asCNumeric(s_y1)); double x2 = ((double)asCNumeric(s_x2)); double y2 = ((double)asCNumeric(s_y2)); double x3 = ((double)asCNumeric(s_x3)); double y3 = ((double)asCNumeric(s_y3)); cairo_curve_to(cr, x1, y1, x2, y2, x3, y3); return(_result); } USER_OBJECT_ S_cairo_arc(USER_OBJECT_ s_cr, USER_OBJECT_ s_xc, USER_OBJECT_ s_yc, USER_OBJECT_ s_radius, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double xc = ((double)asCNumeric(s_xc)); double yc = ((double)asCNumeric(s_yc)); double radius = ((double)asCNumeric(s_radius)); double angle1 = ((double)asCNumeric(s_angle1)); double angle2 = ((double)asCNumeric(s_angle2)); cairo_arc(cr, xc, yc, radius, angle1, angle2); return(_result); } USER_OBJECT_ S_cairo_arc_negative(USER_OBJECT_ s_cr, USER_OBJECT_ s_xc, USER_OBJECT_ s_yc, USER_OBJECT_ s_radius, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double xc = ((double)asCNumeric(s_xc)); double yc = ((double)asCNumeric(s_yc)); double radius = ((double)asCNumeric(s_radius)); double angle1 = ((double)asCNumeric(s_angle1)); double angle2 = ((double)asCNumeric(s_angle2)); cairo_arc_negative(cr, xc, yc, radius, angle1, angle2); return(_result); } USER_OBJECT_ S_cairo_rel_move_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double dx = ((double)asCNumeric(s_dx)); double dy = ((double)asCNumeric(s_dy)); cairo_rel_move_to(cr, dx, dy); return(_result); } USER_OBJECT_ S_cairo_rel_line_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double dx = ((double)asCNumeric(s_dx)); double dy = ((double)asCNumeric(s_dy)); cairo_rel_line_to(cr, dx, dy); return(_result); } USER_OBJECT_ S_cairo_rel_curve_to(USER_OBJECT_ s_cr, USER_OBJECT_ s_dx1, USER_OBJECT_ s_dy1, USER_OBJECT_ s_dx2, USER_OBJECT_ s_dy2, USER_OBJECT_ s_dx3, USER_OBJECT_ s_dy3) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double dx1 = ((double)asCNumeric(s_dx1)); double dy1 = ((double)asCNumeric(s_dy1)); double dx2 = ((double)asCNumeric(s_dx2)); double dy2 = ((double)asCNumeric(s_dy2)); double dx3 = ((double)asCNumeric(s_dx3)); double dy3 = ((double)asCNumeric(s_dy3)); cairo_rel_curve_to(cr, dx1, dy1, dx2, dy2, dx3, dy3); return(_result); } USER_OBJECT_ S_cairo_rectangle(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); double width = ((double)asCNumeric(s_width)); double height = ((double)asCNumeric(s_height)); cairo_rectangle(cr, x, y, width, height); return(_result); } USER_OBJECT_ S_cairo_close_path(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_close_path(cr); return(_result); } USER_OBJECT_ S_cairo_paint(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_paint(cr); return(_result); } USER_OBJECT_ S_cairo_paint_with_alpha(USER_OBJECT_ s_cr, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double alpha = ((double)asCNumeric(s_alpha)); cairo_paint_with_alpha(cr, alpha); return(_result); } USER_OBJECT_ S_cairo_mask(USER_OBJECT_ s_cr, USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_mask(cr, pattern); return(_result); } USER_OBJECT_ S_cairo_mask_surface(USER_OBJECT_ s_cr, USER_OBJECT_ s_surface, USER_OBJECT_ s_surface_x, USER_OBJECT_ s_surface_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double surface_x = ((double)asCNumeric(s_surface_x)); double surface_y = ((double)asCNumeric(s_surface_y)); cairo_mask_surface(cr, surface, surface_x, surface_y); return(_result); } USER_OBJECT_ S_cairo_stroke(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_stroke(cr); return(_result); } USER_OBJECT_ S_cairo_stroke_preserve(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_stroke_preserve(cr); return(_result); } USER_OBJECT_ S_cairo_fill(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_fill(cr); return(_result); } USER_OBJECT_ S_cairo_fill_preserve(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_fill_preserve(cr); return(_result); } USER_OBJECT_ S_cairo_copy_page(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_copy_page(cr); return(_result); } USER_OBJECT_ S_cairo_show_page(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_show_page(cr); return(_result); } USER_OBJECT_ S_cairo_in_stroke(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); gboolean ans; ans = cairo_in_stroke(cr, x, y); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_cairo_in_fill(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); gboolean ans; ans = cairo_in_fill(cr, x, y); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_cairo_stroke_extents(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x1; double y1; double x2; double y2; cairo_stroke_extents(cr, &x1, &y1, &x2, &y2); _result = retByVal(_result, "x1", asRNumeric(x1), "y1", asRNumeric(y1), "x2", asRNumeric(x2), "y2", asRNumeric(y2), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_cairo_fill_extents(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x1; double y1; double x2; double y2; cairo_fill_extents(cr, &x1, &y1, &x2, &y2); _result = retByVal(_result, "x1", asRNumeric(x1), "y1", asRNumeric(y1), "x2", asRNumeric(x2), "y2", asRNumeric(y2), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_cairo_reset_clip(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_reset_clip(cr); return(_result); } USER_OBJECT_ S_cairo_clip(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_clip(cr); return(_result); } USER_OBJECT_ S_cairo_clip_preserve(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_clip_preserve(cr); return(_result); } USER_OBJECT_ S_cairo_select_font_face(USER_OBJECT_ s_cr, USER_OBJECT_ s_family, USER_OBJECT_ s_slant, USER_OBJECT_ s_weight) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* family = ((const char*)asCString(s_family)); cairo_font_slant_t slant = ((cairo_font_slant_t)asCEnum(s_slant, CAIRO_TYPE_FONT_SLANT)); cairo_font_weight_t weight = ((cairo_font_weight_t)asCEnum(s_weight, CAIRO_TYPE_FONT_WEIGHT)); cairo_select_font_face(cr, family, slant, weight); return(_result); } USER_OBJECT_ S_cairo_set_font_size(USER_OBJECT_ s_cr, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double size = ((double)asCNumeric(s_size)); cairo_set_font_size(cr, size); return(_result); } USER_OBJECT_ S_cairo_set_font_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); cairo_set_font_matrix(cr, matrix); return(_result); } USER_OBJECT_ S_cairo_get_font_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); cairo_get_font_matrix(cr, matrix); return(_result); } USER_OBJECT_ S_cairo_show_text(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* utf8 = ((const char*)asCString(s_utf8)); cairo_show_text(cr, utf8); return(_result); } USER_OBJECT_ S_cairo_show_glyphs(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_num_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_glyph_t* glyphs = asCCairoGlyph(s_glyphs); int num_glyphs = ((int)asCInteger(s_num_glyphs)); cairo_show_glyphs(cr, glyphs, num_glyphs); return(_result); } USER_OBJECT_ S_cairo_get_font_face(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_font_face_t* ans; ans = cairo_get_font_face(cr); _result = toRPointerWithCairoRef(ans, "CairoFontFace", cairo_font_face); return(_result); } USER_OBJECT_ S_cairo_font_extents(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_font_extents_t* extents = ((cairo_font_extents_t *)g_new0(cairo_font_extents_t, 1)); cairo_font_extents(cr, extents); _result = retByVal(_result, "extents", asRCairoFontExtents(extents), NULL); CLEANUP(g_free, extents);; return(_result); } USER_OBJECT_ S_cairo_set_font_face(USER_OBJECT_ s_cr, USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_set_font_face(cr, font_face); return(_result); } USER_OBJECT_ S_cairo_text_extents(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* utf8 = ((const char*)asCString(s_utf8)); cairo_text_extents_t* extents = ((cairo_text_extents_t *)g_new0(cairo_text_extents_t, 1)); cairo_text_extents(cr, utf8, extents); _result = retByVal(_result, "extents", toRPointerWithFinalizer(extents, "CairoTextExtents", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_glyph_extents(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_glyph_t* glyphs = ((cairo_glyph_t*)asCArrayRef(s_glyphs, cairo_glyph_t, asCCairoGlyph)); int num_glyphs = ((int)GET_LENGTH(s_glyphs)); cairo_text_extents_t* extents = ((cairo_text_extents_t *)g_new0(cairo_text_extents_t, 1)); cairo_glyph_extents(cr, glyphs, num_glyphs, extents); _result = retByVal(_result, "extents", toRPointerWithFinalizer(extents, "CairoTextExtents", (RPointerFinalizer) g_free), NULL); CLEANUP(cairo_glyph_free, ((cairo_glyph_t*)glyphs));; ; return(_result); } USER_OBJECT_ S_cairo_text_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* utf8 = ((const char*)asCString(s_utf8)); cairo_text_path(cr, utf8); return(_result); } USER_OBJECT_ S_cairo_glyph_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_glyph_t* glyphs = ((cairo_glyph_t*)asCArrayRef(s_glyphs, cairo_glyph_t, asCCairoGlyph)); int num_glyphs = ((int)GET_LENGTH(s_glyphs)); cairo_glyph_path(cr, glyphs, num_glyphs); CLEANUP(cairo_glyph_free, ((cairo_glyph_t*)glyphs));; return(_result); } USER_OBJECT_ S_cairo_set_font_options(USER_OBJECT_ s_cr, USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); cairo_set_font_options(cr, options); return(_result); } USER_OBJECT_ S_cairo_get_font_options(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_font_options_t* options = cairo_font_options_create(); cairo_get_font_options(cr, options); _result = retByVal(_result, "options", toRPointerWithFinalizer(options, "CairoFontOptions", (RPointerFinalizer) cairo_font_options_destroy), NULL); ; return(_result); } USER_OBJECT_ S_cairo_font_face_reference(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_t* ans; ans = cairo_font_face_reference(font_face); _result = toRPointerWithCairoRef(ans, "CairoFontFace", cairo_font_face); return(_result); } USER_OBJECT_ S_cairo_font_face_destroy(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_face_destroy(font_face); return(_result); } USER_OBJECT_ S_cairo_font_face_get_user_data(USER_OBJECT_ s_font_face, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer ans; ans = cairo_font_face_get_user_data(font_face, key); _result = ans; return(_result); } USER_OBJECT_ S_cairo_font_face_set_user_data(USER_OBJECT_ s_font_face, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); cairo_destroy_func_t destroy = ((cairo_destroy_func_t)R_ReleaseObject); cairo_status_t ans; ans = cairo_font_face_set_user_data(font_face, key, user_data, destroy); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_font_face_status(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_status_t ans; ans = cairo_font_face_status(font_face); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_scaled_font_create(USER_OBJECT_ s_font_face, USER_OBJECT_ s_font_matrix, USER_OBJECT_ s_ctm, USER_OBJECT_ s_option) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); const cairo_matrix_t* font_matrix = ((const cairo_matrix_t*)getPtrValue(s_font_matrix)); const cairo_matrix_t* ctm = ((const cairo_matrix_t*)getPtrValue(s_ctm)); const cairo_font_options_t* option = ((const cairo_font_options_t*)getPtrValue(s_option)); cairo_scaled_font_t* ans; ans = cairo_scaled_font_create(font_face, font_matrix, ctm, option); _result = toRPointerWithFinalizer(ans, "CairoScaledFont", (RPointerFinalizer) cairo_scaled_font_destroy); return(_result); } USER_OBJECT_ S_cairo_scaled_font_reference(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_scaled_font_t* ans; ans = cairo_scaled_font_reference(scaled_font); _result = toRPointerWithCairoRef(ans, "CairoScaledFont", cairo_scaled_font); return(_result); } USER_OBJECT_ S_cairo_scaled_font_destroy(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_scaled_font_destroy(scaled_font); return(_result); } USER_OBJECT_ S_cairo_scaled_font_extents(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_font_extents_t* extents = ((cairo_font_extents_t *)g_new0(cairo_font_extents_t, 1)); cairo_scaled_font_extents(scaled_font, extents); _result = retByVal(_result, "extents", asRCairoFontExtents(extents), NULL); CLEANUP(g_free, extents);; return(_result); } USER_OBJECT_ S_cairo_scaled_font_glyph_extents(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_num_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_glyph_t* glyphs = asCCairoGlyph(s_glyphs); int num_glyphs = ((int)asCInteger(s_num_glyphs)); cairo_text_extents_t* extents = ((cairo_text_extents_t *)g_new0(cairo_text_extents_t, 1)); cairo_scaled_font_glyph_extents(scaled_font, glyphs, num_glyphs, extents); _result = retByVal(_result, "extents", toRPointerWithFinalizer(extents, "CairoTextExtents", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_scaled_font_status(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_status_t ans; ans = cairo_scaled_font_status(scaled_font); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_get_operator(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_operator_t ans; ans = cairo_get_operator(cr); _result = asREnum(ans, CAIRO_TYPE_OPERATOR); return(_result); } USER_OBJECT_ S_cairo_get_source(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_pattern_t* ans; ans = cairo_get_source(cr); _result = toRPointerWithCairoRef(ans, "CairoPattern", cairo_pattern); return(_result); } USER_OBJECT_ S_cairo_get_tolerance(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double ans; ans = cairo_get_tolerance(cr); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_cairo_get_antialias(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_antialias_t ans; ans = cairo_get_antialias(cr); _result = asREnum(ans, CAIRO_TYPE_ANTIALIAS); return(_result); } USER_OBJECT_ S_cairo_get_current_point(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double* x = ((double*)asCArray(s_x, double, asCNumeric)); double* y = ((double*)asCArray(s_y, double, asCNumeric)); cairo_get_current_point(cr, x, y); return(_result); } USER_OBJECT_ S_cairo_get_fill_rule(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_fill_rule_t ans; ans = cairo_get_fill_rule(cr); _result = asREnum(ans, CAIRO_TYPE_FILL_RULE); return(_result); } USER_OBJECT_ S_cairo_get_line_width(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double ans; ans = cairo_get_line_width(cr); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_cairo_get_line_cap(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_line_cap_t ans; ans = cairo_get_line_cap(cr); _result = asREnum(ans, CAIRO_TYPE_LINE_CAP); return(_result); } USER_OBJECT_ S_cairo_get_line_join(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_line_join_t ans; ans = cairo_get_line_join(cr); _result = asREnum(ans, CAIRO_TYPE_LINE_JOIN); return(_result); } USER_OBJECT_ S_cairo_get_miter_limit(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double ans; ans = cairo_get_miter_limit(cr); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_cairo_get_matrix(USER_OBJECT_ s_cr, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); cairo_get_matrix(cr, matrix); return(_result); } USER_OBJECT_ S_cairo_get_target(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_surface_t* ans; ans = cairo_get_target(cr); _result = toRPointerWithCairoRef(ans, "CairoSurface", cairo_surface); return(_result); } USER_OBJECT_ S_cairo_copy_path(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_path_t* ans; ans = cairo_copy_path(cr); _result = asRCairoPath(ans); CLEANUP(cairo_path_destroy, ans);; return(_result); } USER_OBJECT_ S_cairo_copy_path_flat(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_path_t* ans; ans = cairo_copy_path_flat(cr); _result = asRCairoPath(ans); CLEANUP(cairo_path_destroy, ans);; return(_result); } USER_OBJECT_ S_cairo_path_destroy(USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_path_t* path = asCCairoPath(s_path); cairo_path_destroy(path); CLEANUP(cairo_path_destroy, ((cairo_path_t*)path));; return(_result); } USER_OBJECT_ S_cairo_status(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_status_t ans; ans = cairo_status(cr); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_status_to_string(USER_OBJECT_ s_status) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_status_t status = ((cairo_status_t)asCEnum(s_status, CAIRO_TYPE_STATUS)); const char* ans; ans = cairo_status_to_string(status); _result = asRString(ans); return(_result); } USER_OBJECT_ S_cairo_surface_create_similar(USER_OBJECT_ s_other, USER_OBJECT_ s_content, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* other = ((cairo_surface_t*)getPtrValue(s_other)); cairo_content_t content = ((cairo_content_t)asCEnum(s_content, CAIRO_TYPE_CONTENT)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); cairo_surface_t* ans; ans = cairo_surface_create_similar(other, content, width, height); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); return(_result); } USER_OBJECT_ S_cairo_surface_reference(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_t* ans; ans = cairo_surface_reference(surface); _result = toRPointerWithCairoRef(ans, "CairoSurface", cairo_surface); return(_result); } USER_OBJECT_ S_cairo_surface_destroy(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_destroy(surface); return(_result); } USER_OBJECT_ S_cairo_surface_finish(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_finish(surface); return(_result); } USER_OBJECT_ S_cairo_surface_write_to_png(USER_OBJECT_ s_surface, USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); const char* filename = ((const char*)asCString(s_filename)); cairo_status_t ans; ans = cairo_surface_write_to_png(surface, filename); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_surface_write_to_png_stream(USER_OBJECT_ s_surface, USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_write_func_t write_func = ((cairo_write_func_t)S_cairo_write_func_t); R_CallbackData* closure = R_createCBData(s_write_func, s_closure); cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_status_t ans; ans = cairo_surface_write_to_png_stream(surface, write_func, closure); _result = asREnum(ans, CAIRO_TYPE_STATUS); R_freeCBData(closure); return(_result); } USER_OBJECT_ S_cairo_surface_get_user_data(USER_OBJECT_ s_surface, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer ans; ans = cairo_surface_get_user_data(surface, key); _result = ans; return(_result); } USER_OBJECT_ S_cairo_surface_set_user_data(USER_OBJECT_ s_surface, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); cairo_destroy_func_t destroy = ((cairo_destroy_func_t)R_ReleaseObject); cairo_status_t ans; ans = cairo_surface_set_user_data(surface, key, user_data, destroy); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_surface_flush(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_flush(surface); return(_result); } USER_OBJECT_ S_cairo_surface_mark_dirty(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_mark_dirty(surface); return(_result); } USER_OBJECT_ S_cairo_surface_mark_dirty_rectangle(USER_OBJECT_ s_surface, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); cairo_surface_mark_dirty_rectangle(surface, x, y, width, height); return(_result); } USER_OBJECT_ S_cairo_surface_set_device_offset(USER_OBJECT_ s_surface, USER_OBJECT_ s_x_offset, USER_OBJECT_ s_y_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double x_offset = ((double)asCNumeric(s_x_offset)); double y_offset = ((double)asCNumeric(s_y_offset)); cairo_surface_set_device_offset(surface, x_offset, y_offset); return(_result); } USER_OBJECT_ S_cairo_surface_get_font_options(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_font_options_t* options = cairo_font_options_create(); cairo_surface_get_font_options(surface, options); _result = retByVal(_result, "options", toRPointerWithFinalizer(options, "CairoFontOptions", (RPointerFinalizer) cairo_font_options_destroy), NULL); ; return(_result); } USER_OBJECT_ S_cairo_surface_status(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_status_t ans; ans = cairo_surface_status(surface); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_image_surface_create(USER_OBJECT_ s_format, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_format_t format = ((cairo_format_t)asCEnum(s_format, CAIRO_TYPE_FORMAT)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); cairo_surface_t* ans; ans = cairo_image_surface_create(format, width, height); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); return(_result); } USER_OBJECT_ S_cairo_image_surface_create_for_data(USER_OBJECT_ s_data, USER_OBJECT_ s_format, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_stride) { USER_OBJECT_ _result = NULL_USER_OBJECT; guchar* data = ((guchar*)asCArray(s_data, guchar, asCRaw)); cairo_format_t format = ((cairo_format_t)asCEnum(s_format, CAIRO_TYPE_FORMAT)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); int stride = ((int)asCInteger(s_stride)); cairo_surface_t* ans; ans = cairo_image_surface_create_for_data(data, format, width, height, stride); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); return(_result); } USER_OBJECT_ S_cairo_image_surface_get_width(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); int ans; ans = cairo_image_surface_get_width(surface); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_cairo_image_surface_get_height(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); int ans; ans = cairo_image_surface_get_height(surface); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_cairo_image_surface_create_from_png(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* filename = ((const char*)asCString(s_filename)); cairo_surface_t* ans; ans = cairo_image_surface_create_from_png(filename); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); return(_result); } USER_OBJECT_ S_cairo_image_surface_create_from_png_stream(USER_OBJECT_ s_read_func, USER_OBJECT_ s_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_read_func_t read_func = ((cairo_read_func_t)S_cairo_read_func_t); R_CallbackData* closure = R_createCBData(s_read_func, s_closure); cairo_surface_t* ans; ans = cairo_image_surface_create_from_png_stream(read_func, closure); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); R_freeCBData(closure); return(_result); } USER_OBJECT_ S_cairo_pattern_create_rgb(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); cairo_pattern_t* ans; ans = cairo_pattern_create_rgb(red, green, blue); _result = toRPointerWithFinalizer(ans, "CairoPattern", (RPointerFinalizer) cairo_pattern_destroy); return(_result); } USER_OBJECT_ S_cairo_pattern_create_rgba(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); double alpha = ((double)asCNumeric(s_alpha)); cairo_pattern_t* ans; ans = cairo_pattern_create_rgba(red, green, blue, alpha); _result = toRPointerWithFinalizer(ans, "CairoPattern", (RPointerFinalizer) cairo_pattern_destroy); return(_result); } USER_OBJECT_ S_cairo_pattern_create_for_surface(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_pattern_t* ans; ans = cairo_pattern_create_for_surface(surface); _result = toRPointerWithFinalizer(ans, "CairoPattern", (RPointerFinalizer) cairo_pattern_destroy); return(_result); } USER_OBJECT_ S_cairo_pattern_create_linear(USER_OBJECT_ s_x0, USER_OBJECT_ s_y0, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1) { USER_OBJECT_ _result = NULL_USER_OBJECT; double x0 = ((double)asCNumeric(s_x0)); double y0 = ((double)asCNumeric(s_y0)); double x1 = ((double)asCNumeric(s_x1)); double y1 = ((double)asCNumeric(s_y1)); cairo_pattern_t* ans; ans = cairo_pattern_create_linear(x0, y0, x1, y1); _result = toRPointerWithFinalizer(ans, "CairoPattern", (RPointerFinalizer) cairo_pattern_destroy); return(_result); } USER_OBJECT_ S_cairo_pattern_create_radial(USER_OBJECT_ s_cx0, USER_OBJECT_ s_cy0, USER_OBJECT_ s_radius0, USER_OBJECT_ s_cx1, USER_OBJECT_ s_cy1, USER_OBJECT_ s_radius1) { USER_OBJECT_ _result = NULL_USER_OBJECT; double cx0 = ((double)asCNumeric(s_cx0)); double cy0 = ((double)asCNumeric(s_cy0)); double radius0 = ((double)asCNumeric(s_radius0)); double cx1 = ((double)asCNumeric(s_cx1)); double cy1 = ((double)asCNumeric(s_cy1)); double radius1 = ((double)asCNumeric(s_radius1)); cairo_pattern_t* ans; ans = cairo_pattern_create_radial(cx0, cy0, radius0, cx1, cy1, radius1); _result = toRPointerWithFinalizer(ans, "CairoPattern", (RPointerFinalizer) cairo_pattern_destroy); return(_result); } USER_OBJECT_ S_cairo_pattern_reference(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_pattern_t* ans; ans = cairo_pattern_reference(pattern); _result = toRPointerWithCairoRef(ans, "CairoPattern", cairo_pattern); return(_result); } USER_OBJECT_ S_cairo_pattern_destroy(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_pattern_destroy(pattern); return(_result); } USER_OBJECT_ S_cairo_pattern_status(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; ans = cairo_pattern_status(pattern); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_pattern_add_color_stop_rgb(USER_OBJECT_ s_pattern, USER_OBJECT_ s_offset, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); double offset = ((double)asCNumeric(s_offset)); double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); cairo_pattern_add_color_stop_rgb(pattern, offset, red, green, blue); return(_result); } USER_OBJECT_ S_cairo_pattern_add_color_stop_rgba(USER_OBJECT_ s_pattern, USER_OBJECT_ s_offset, USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue, USER_OBJECT_ s_alpha) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); double offset = ((double)asCNumeric(s_offset)); double red = ((double)asCNumeric(s_red)); double green = ((double)asCNumeric(s_green)); double blue = ((double)asCNumeric(s_blue)); double alpha = ((double)asCNumeric(s_alpha)); cairo_pattern_add_color_stop_rgba(pattern, offset, red, green, blue, alpha); return(_result); } USER_OBJECT_ S_cairo_pattern_set_matrix(USER_OBJECT_ s_pattern, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); cairo_pattern_set_matrix(pattern, matrix); return(_result); } USER_OBJECT_ S_cairo_pattern_get_matrix(USER_OBJECT_ s_pattern, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); cairo_pattern_get_matrix(pattern, matrix); return(_result); } USER_OBJECT_ S_cairo_pattern_set_extend(USER_OBJECT_ s_pattern, USER_OBJECT_ s_extend) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_extend_t extend = ((cairo_extend_t)asCEnum(s_extend, CAIRO_TYPE_EXTEND)); cairo_pattern_set_extend(pattern, extend); return(_result); } USER_OBJECT_ S_cairo_pattern_get_extend(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_extend_t ans; ans = cairo_pattern_get_extend(pattern); _result = asREnum(ans, CAIRO_TYPE_EXTEND); return(_result); } USER_OBJECT_ S_cairo_pattern_set_filter(USER_OBJECT_ s_pattern, USER_OBJECT_ s_filter) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_filter_t filter = ((cairo_filter_t)asCEnum(s_filter, CAIRO_TYPE_FILTER)); cairo_pattern_set_filter(pattern, filter); return(_result); } USER_OBJECT_ S_cairo_pattern_get_filter(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_filter_t ans; ans = cairo_pattern_get_filter(pattern); _result = asREnum(ans, CAIRO_TYPE_FILTER); return(_result); } USER_OBJECT_ S_cairo_matrix_init(USER_OBJECT_ s_xx, USER_OBJECT_ s_yx, USER_OBJECT_ s_xy, USER_OBJECT_ s_yy, USER_OBJECT_ s_x0, USER_OBJECT_ s_y0) { USER_OBJECT_ _result = NULL_USER_OBJECT; double xx = ((double)asCNumeric(s_xx)); double yx = ((double)asCNumeric(s_yx)); double xy = ((double)asCNumeric(s_xy)); double yy = ((double)asCNumeric(s_yy)); double x0 = ((double)asCNumeric(s_x0)); double y0 = ((double)asCNumeric(s_y0)); cairo_matrix_t* matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_matrix_init(matrix, xx, yx, xy, yy, x0, y0); _result = retByVal(_result, "matrix", toRPointerWithFinalizer(matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_matrix_init_identity(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_matrix_init_identity(matrix); _result = retByVal(_result, "matrix", toRPointerWithFinalizer(matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_matrix_init_translate(USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; double tx = ((double)asCNumeric(s_tx)); double ty = ((double)asCNumeric(s_ty)); cairo_matrix_t* matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_matrix_init_translate(matrix, tx, ty); _result = retByVal(_result, "matrix", toRPointerWithFinalizer(matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_matrix_init_scale(USER_OBJECT_ s_sx, USER_OBJECT_ s_sy) { USER_OBJECT_ _result = NULL_USER_OBJECT; double sx = ((double)asCNumeric(s_sx)); double sy = ((double)asCNumeric(s_sy)); cairo_matrix_t* matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_matrix_init_scale(matrix, sx, sy); _result = retByVal(_result, "matrix", toRPointerWithFinalizer(matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_matrix_init_rotate(USER_OBJECT_ s_radians) { USER_OBJECT_ _result = NULL_USER_OBJECT; double radians = ((double)asCNumeric(s_radians)); cairo_matrix_t* matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_matrix_init_rotate(matrix, radians); _result = retByVal(_result, "matrix", toRPointerWithFinalizer(matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; return(_result); } USER_OBJECT_ S_cairo_matrix_translate(USER_OBJECT_ s_matrix, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); double tx = ((double)asCNumeric(s_tx)); double ty = ((double)asCNumeric(s_ty)); cairo_matrix_translate(matrix, tx, ty); return(_result); } USER_OBJECT_ S_cairo_matrix_scale(USER_OBJECT_ s_matrix, USER_OBJECT_ s_sx, USER_OBJECT_ s_sy) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); double sx = ((double)asCNumeric(s_sx)); double sy = ((double)asCNumeric(s_sy)); cairo_matrix_scale(matrix, sx, sy); return(_result); } USER_OBJECT_ S_cairo_matrix_rotate(USER_OBJECT_ s_matrix, USER_OBJECT_ s_radians) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); double radians = ((double)asCNumeric(s_radians)); cairo_matrix_rotate(matrix, radians); return(_result); } USER_OBJECT_ S_cairo_matrix_invert(USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* matrix = ((cairo_matrix_t*)getPtrValue(s_matrix)); cairo_status_t ans; ans = cairo_matrix_invert(matrix); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_matrix_multiply(USER_OBJECT_ s_result, USER_OBJECT_ s_a, USER_OBJECT_ s_b) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t* result = ((cairo_matrix_t*)getPtrValue(s_result)); const cairo_matrix_t* a = ((const cairo_matrix_t*)getPtrValue(s_a)); const cairo_matrix_t* b = ((const cairo_matrix_t*)getPtrValue(s_b)); cairo_matrix_multiply(result, a, b); return(_result); } USER_OBJECT_ S_cairo_matrix_transform_distance(USER_OBJECT_ s_matrix, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); double* dx = ((double*)asCArray(s_dx, double, asCNumeric)); double* dy = ((double*)asCArray(s_dy, double, asCNumeric)); cairo_matrix_transform_distance(matrix, dx, dy); return(_result); } USER_OBJECT_ S_cairo_matrix_transform_point(USER_OBJECT_ s_matrix, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_matrix_t* matrix = ((const cairo_matrix_t*)getPtrValue(s_matrix)); double* x = ((double*)asCArray(s_x, double, asCNumeric)); double* y = ((double*)asCArray(s_y, double, asCNumeric)); cairo_matrix_transform_point(matrix, x, y); return(_result); } USER_OBJECT_ S_cairo_font_options_create(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* ans; ans = cairo_font_options_create(); _result = toRPointerWithFinalizer(ans, "CairoFontOptions", (RPointerFinalizer) cairo_font_options_destroy); return(_result); } USER_OBJECT_ S_cairo_font_options_copy(USER_OBJECT_ s_original) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* original = ((const cairo_font_options_t*)getPtrValue(s_original)); cairo_font_options_t* ans; ans = cairo_font_options_copy(original); _result = toRPointerWithFinalizer(ans, "CairoFontOptions", (RPointerFinalizer) cairo_font_options_destroy); return(_result); } USER_OBJECT_ S_cairo_font_options_destroy(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_font_options_destroy(options); return(_result); } USER_OBJECT_ S_cairo_font_options_status(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_status_t ans; ans = cairo_font_options_status(options); _result = asREnum(ans, CAIRO_TYPE_STATUS); return(_result); } USER_OBJECT_ S_cairo_font_options_merge(USER_OBJECT_ s_options, USER_OBJECT_ s_other) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); const cairo_font_options_t* other = ((const cairo_font_options_t*)getPtrValue(s_other)); cairo_font_options_merge(options, other); return(_result); } USER_OBJECT_ S_cairo_font_options_equal(USER_OBJECT_ s_options, USER_OBJECT_ s_other) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); const cairo_font_options_t* other = ((const cairo_font_options_t*)getPtrValue(s_other)); gboolean ans; ans = cairo_font_options_equal(options, other); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_cairo_font_options_set_antialias(USER_OBJECT_ s_options, USER_OBJECT_ s_antialias) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_antialias_t antialias = ((cairo_antialias_t)asCEnum(s_antialias, CAIRO_TYPE_ANTIALIAS)); cairo_font_options_set_antialias(options, antialias); return(_result); } USER_OBJECT_ S_cairo_font_options_get_antialias(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); cairo_antialias_t ans; ans = cairo_font_options_get_antialias(options); _result = asREnum(ans, CAIRO_TYPE_ANTIALIAS); return(_result); } USER_OBJECT_ S_cairo_font_options_set_subpixel_order(USER_OBJECT_ s_options, USER_OBJECT_ s_subpixel_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_subpixel_order_t subpixel_order = ((cairo_subpixel_order_t)asCEnum(s_subpixel_order, CAIRO_TYPE_SUBPIXEL_ORDER)); cairo_font_options_set_subpixel_order(options, subpixel_order); return(_result); } USER_OBJECT_ S_cairo_font_options_get_subpixel_order(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); cairo_subpixel_order_t ans; ans = cairo_font_options_get_subpixel_order(options); _result = asREnum(ans, CAIRO_TYPE_SUBPIXEL_ORDER); return(_result); } USER_OBJECT_ S_cairo_font_options_set_hint_style(USER_OBJECT_ s_options, USER_OBJECT_ s_hint_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_hint_style_t hint_style = ((cairo_hint_style_t)asCEnum(s_hint_style, CAIRO_TYPE_HINT_STYLE)); cairo_font_options_set_hint_style(options, hint_style); return(_result); } USER_OBJECT_ S_cairo_font_options_get_hint_style(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); cairo_hint_style_t ans; ans = cairo_font_options_get_hint_style(options); _result = asREnum(ans, CAIRO_TYPE_HINT_STYLE); return(_result); } USER_OBJECT_ S_cairo_font_options_set_hint_metrics(USER_OBJECT_ s_options, USER_OBJECT_ s_hint_metrics) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_font_options_t* options = ((cairo_font_options_t*)getPtrValue(s_options)); cairo_hint_metrics_t hint_metrics = ((cairo_hint_metrics_t)asCEnum(s_hint_metrics, CAIRO_TYPE_HINT_METRICS)); cairo_font_options_set_hint_metrics(options, hint_metrics); return(_result); } USER_OBJECT_ S_cairo_font_options_get_hint_metrics(USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); cairo_hint_metrics_t ans; ans = cairo_font_options_get_hint_metrics(options); _result = asREnum(ans, CAIRO_TYPE_HINT_METRICS); return(_result); } USER_OBJECT_ S_cairo_push_group(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_push_group(cr); #else error("cairo_push_group exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_push_group_with_content(USER_OBJECT_ s_cr, USER_OBJECT_ s_content) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_content_t content = ((cairo_content_t)asCEnum(s_content, CAIRO_TYPE_CONTENT)); cairo_push_group_with_content(cr, content); #else error("cairo_push_group_with_content exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pop_group(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_pattern_t* ans; ans = cairo_pop_group(cr); _result = toRPointerWithCairoRef(ans, "CairoPattern", cairo_pattern); #else error("cairo_pop_group exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pop_group_to_source(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_pop_group_to_source(cr); #else error("cairo_pop_group_to_source exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_get_group_target(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_surface_t* ans; ans = cairo_get_group_target(cr); _result = toRPointerWithCairoRef(ans, "CairoSurface", cairo_surface); #else error("cairo_get_group_target exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_new_sub_path(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_new_sub_path(cr); #else error("cairo_new_sub_path exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_set_scaled_font(USER_OBJECT_ s_cr, USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_set_scaled_font(cr, scaled_font); #else error("cairo_set_scaled_font exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_font_face(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_font_face_t* ans; ans = cairo_scaled_font_get_font_face(scaled_font); _result = toRPointerWithCairoRef(ans, "CairoFontFace", cairo_font_face); #else error("cairo_scaled_font_get_font_face exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_font_matrix(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_matrix_t* font_matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_scaled_font_get_font_matrix(scaled_font, font_matrix); _result = retByVal(_result, "font.matrix", toRPointerWithFinalizer(font_matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; #else error("cairo_scaled_font_get_font_matrix exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_ctm(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_matrix_t* ctm = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_scaled_font_get_ctm(scaled_font, ctm); _result = retByVal(_result, "ctm", toRPointerWithFinalizer(ctm, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; #else error("cairo_scaled_font_get_ctm exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_font_options(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_font_options_t* options = cairo_font_options_create(); cairo_scaled_font_get_font_options(scaled_font, options); _result = retByVal(_result, "options", toRPointerWithFinalizer(options, "CairoFontOptions", (RPointerFinalizer) cairo_font_options_destroy), NULL); ; #else error("cairo_scaled_font_get_font_options exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_text_extents(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_utf8) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); const char* utf8 = ((const char*)asCString(s_utf8)); cairo_text_extents_t* extents = ((cairo_text_extents_t *)g_new0(cairo_text_extents_t, 1)); cairo_scaled_font_text_extents(scaled_font, utf8, extents); _result = retByVal(_result, "extents", toRPointerWithFinalizer(extents, "CairoTextExtents", (RPointerFinalizer) g_free), NULL); ; #else error("cairo_scaled_font_text_extents exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_type(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_font_type_t ans; ans = cairo_scaled_font_get_type(scaled_font); _result = asREnum(ans, CAIRO_TYPE_FONT_TYPE); #else error("cairo_scaled_font_get_type exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_font_face_get_type(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_type_t ans; ans = cairo_font_face_get_type(font_face); _result = asREnum(ans, CAIRO_TYPE_FONT_TYPE); #else error("cairo_font_face_get_type exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_get_type(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_type_t ans; ans = cairo_surface_get_type(surface); _result = asREnum(ans, CAIRO_TYPE_SURFACE_TYPE); #else error("cairo_surface_get_type exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_get_device_offset(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double x_offset; double y_offset; cairo_surface_get_device_offset(surface, &x_offset, &y_offset); _result = retByVal(_result, "x.offset", asRNumeric(x_offset), "y.offset", asRNumeric(y_offset), NULL); ; ; #else error("cairo_surface_get_device_offset exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_set_fallback_resolution(USER_OBJECT_ s_surface, USER_OBJECT_ s_x_pixels_per_inch, USER_OBJECT_ s_y_pixels_per_inch) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double x_pixels_per_inch = ((double)asCNumeric(s_x_pixels_per_inch)); double y_pixels_per_inch = ((double)asCNumeric(s_y_pixels_per_inch)); cairo_surface_set_fallback_resolution(surface, x_pixels_per_inch, y_pixels_per_inch); #else error("cairo_surface_set_fallback_resolution exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_get_content(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_content_t ans; ans = cairo_surface_get_content(surface); _result = asREnum(ans, CAIRO_TYPE_CONTENT); #else error("cairo_surface_get_content exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_image_surface_get_format(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_format_t ans; ans = cairo_image_surface_get_format(surface); _result = asREnum(ans, CAIRO_TYPE_FORMAT); #else error("cairo_image_surface_get_format exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_image_surface_get_stride(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); int ans; ans = cairo_image_surface_get_stride(surface); _result = asRInteger(ans); #else error("cairo_image_surface_get_stride exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_image_surface_get_data(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); guchar* ans; ans = cairo_image_surface_get_data(surface); _result = asRRawArray(ans); #else error("cairo_image_surface_get_data exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_type(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_pattern_type_t ans; ans = cairo_pattern_get_type(pattern); _result = asREnum(ans, CAIRO_TYPE_PATTERN_TYPE); #else error("cairo_pattern_get_type exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pdf_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) const gchar* filename = ((const gchar*)asCString(s_filename)); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_pdf_surface_create(filename, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); #else error("cairo_pdf_surface_create exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pdf_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_write_func_t write_func = ((cairo_write_func_t)S_cairo_write_func_t); R_CallbackData* closure = R_createCBData(s_write_func, s_closure); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_pdf_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); R_freeCBData(closure); #else error("cairo_pdf_surface_create_for_stream exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pdf_surface_set_size(USER_OBJECT_ s_surface, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_pdf_surface_set_size(surface, width_in_points, height_in_points); #else error("cairo_pdf_surface_set_size exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) const char* filename = ((const char*)asCString(s_filename)); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_ps_surface_create(filename, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); #else error("cairo_ps_surface_create exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_write_func_t write_func = ((cairo_write_func_t)S_cairo_write_func_t); R_CallbackData* closure = R_createCBData(s_write_func, s_closure); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_ps_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); R_freeCBData(closure); #else error("cairo_ps_surface_create_for_stream exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_set_size(USER_OBJECT_ s_surface, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_ps_surface_set_size(surface, width_in_points, height_in_points); #else error("cairo_ps_surface_set_size exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_dsc_comment(USER_OBJECT_ s_surface, USER_OBJECT_ s_comment) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); const char* comment = ((const char*)asCString(s_comment)); cairo_ps_surface_dsc_comment(surface, comment); #else error("cairo_ps_surface_dsc_comment exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_dsc_begin_setup(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_ps_surface_dsc_begin_setup(surface); #else error("cairo_ps_surface_dsc_begin_setup exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_dsc_begin_page_setup(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_ps_surface_dsc_begin_page_setup(surface); #else error("cairo_ps_surface_dsc_begin_page_setup exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_svg_surface_create(USER_OBJECT_ s_filename, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) const char* filename = ((const char*)asCString(s_filename)); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_svg_surface_create(filename, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); #else error("cairo_svg_surface_create exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_svg_surface_create_for_stream(USER_OBJECT_ s_write_func, USER_OBJECT_ s_closure, USER_OBJECT_ s_width_in_points, USER_OBJECT_ s_height_in_points) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_write_func_t write_func = ((cairo_write_func_t)S_cairo_write_func_t); R_CallbackData* closure = R_createCBData(s_write_func, s_closure); double width_in_points = ((double)asCNumeric(s_width_in_points)); double height_in_points = ((double)asCNumeric(s_height_in_points)); cairo_surface_t* ans; ans = cairo_svg_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); _result = toRPointerWithFinalizer(ans, "CairoSurface", (RPointerFinalizer) cairo_surface_destroy); R_freeCBData(closure); #else error("cairo_svg_surface_create_for_stream exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_svg_surface_restrict_to_version(USER_OBJECT_ s_surface, USER_OBJECT_ s_version) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_svg_version_t version = ((cairo_svg_version_t)asCEnum(s_version, CAIRO_TYPE_SVG_VERSION)); cairo_svg_surface_restrict_to_version(surface, version); #else error("cairo_svg_surface_restrict_to_version exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_svg_get_versions(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_svg_version_t const* versions = NULL; int num_versions; cairo_svg_get_versions(&versions, &num_versions); _result = retByVal(_result, "versions", asREnumArrayWithSize(versions, CAIRO_TYPE_SVG_VERSION, num_versions), "num.versions", asRInteger(num_versions), NULL); CLEANUP(g_free, versions);; ; #else error("cairo_svg_get_versions exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_svg_version_to_string(USER_OBJECT_ s_version) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 2, 0) cairo_svg_version_t version = ((cairo_svg_version_t)asCEnum(s_version, CAIRO_TYPE_SVG_VERSION)); const char* ans; ans = cairo_svg_version_to_string(version); _result = asRString(ans); #else error("cairo_svg_version_to_string exists only in cairo >= 1.2.0"); #endif return(_result); } USER_OBJECT_ S_cairo_clip_extents(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x1; double y1; double x2; double y2; cairo_clip_extents(cr, &x1, &y1, &x2, &y2); _result = retByVal(_result, "x1", asRNumeric(x1), "y1", asRNumeric(y1), "x2", asRNumeric(x2), "y2", asRNumeric(y2), NULL); ; ; ; ; #else error("cairo_clip_extents exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_copy_clip_rectangle_list(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_rectangle_list_t* ans; ans = cairo_copy_clip_rectangle_list(cr); _result = asRCairoRectangleList(ans); CLEANUP(cairo_rectangle_list_destroy, ans);; #else error("cairo_copy_clip_rectangle_list exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_get_dash_count(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); int ans; ans = cairo_get_dash_count(cr); _result = asRInteger(ans); #else error("cairo_get_dash_count exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_rgba(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; double red; double green; double blue; double alpha; ans = cairo_pattern_get_rgba(pattern, &red, &green, &blue, &alpha); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "red", asRNumeric(red), "green", asRNumeric(green), "blue", asRNumeric(blue), "alpha", asRNumeric(alpha), NULL); ; ; ; ; #else error("cairo_pattern_get_rgba exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_surface(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; cairo_surface_t* surface = NULL; ans = cairo_pattern_get_surface(pattern, &surface); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "surface", toRPointerWithCairoRef(surface, "CairoSurface", cairo_surface), NULL); ; #else error("cairo_pattern_get_surface exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_color_stop_rgba(USER_OBJECT_ s_pattern, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); int index = ((int)asCInteger(s_index)); cairo_status_t ans; double offset; double red; double green; double blue; double alpha; ans = cairo_pattern_get_color_stop_rgba(pattern, index, &offset, &red, &green, &blue, &alpha); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "offset", asRNumeric(offset), "red", asRNumeric(red), "green", asRNumeric(green), "blue", asRNumeric(blue), "alpha", asRNumeric(alpha), NULL); ; ; ; ; ; #else error("cairo_pattern_get_color_stop_rgba exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_color_stop_count(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; int count; ans = cairo_pattern_get_color_stop_count(pattern, &count); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "count", asRInteger(count), NULL); ; #else error("cairo_pattern_get_color_stop_count exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_linear_points(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; double x0; double y0; double x1; double y1; ans = cairo_pattern_get_linear_points(pattern, &x0, &y0, &x1, &y1); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "x0", asRNumeric(x0), "y0", asRNumeric(y0), "x1", asRNumeric(x1), "y1", asRNumeric(y1), NULL); ; ; ; ; #else error("cairo_pattern_get_linear_points exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_radial_circles(USER_OBJECT_ s_pattern) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); cairo_status_t ans; double x0; double y0; double r0; double x1; double y1; double r1; ans = cairo_pattern_get_radial_circles(pattern, &x0, &y0, &r0, &x1, &y1, &r1); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "x0", asRNumeric(x0), "y0", asRNumeric(y0), "r0", asRNumeric(r0), "x1", asRNumeric(x1), "y1", asRNumeric(y1), "r1", asRNumeric(r1), NULL); ; ; ; ; ; ; #else error("cairo_pattern_get_radial_circles exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_get_scaled_font(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); cairo_scaled_font_t* ans; ans = cairo_get_scaled_font(cr); _result = toRPointerWithCairoRef(ans, "CairoScaledFont", cairo_scaled_font); #else error("cairo_get_scaled_font exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_set_user_data(USER_OBJECT_ s_cr, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); cairo_destroy_func_t destroy = ((cairo_destroy_func_t)R_ReleaseObject); cairo_status_t ans; ans = cairo_set_user_data(cr, key, user_data, destroy); _result = asREnum(ans, CAIRO_TYPE_STATUS); #else error("cairo_set_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_get_user_data(USER_OBJECT_ s_cr, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer ans; ans = cairo_get_user_data(cr, key); _result = ans; #else error("cairo_get_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_user_data(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer ans; ans = cairo_scaled_font_get_user_data(scaled_font, key); _result = ans; #else error("cairo_scaled_font_get_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_set_user_data(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); cairo_destroy_func_t destroy = ((cairo_destroy_func_t)R_ReleaseObject); cairo_status_t ans; ans = cairo_scaled_font_set_user_data(scaled_font, key, user_data, destroy); _result = asREnum(ans, CAIRO_TYPE_STATUS); #else error("cairo_scaled_font_set_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_get_user_data(USER_OBJECT_ s_pattern, USER_OBJECT_ s_key) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer ans; ans = cairo_pattern_get_user_data(pattern, key); _result = ans; #else error("cairo_pattern_get_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_pattern_set_user_data(USER_OBJECT_ s_pattern, USER_OBJECT_ s_key, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 4, 0) cairo_pattern_t* pattern = ((cairo_pattern_t*)getPtrValue(s_pattern)); const cairo_user_data_key_t* key = ((const cairo_user_data_key_t*)getPtrValue(s_key)); gpointer user_data = ((gpointer)asCGenericData(s_user_data)); cairo_destroy_func_t destroy = ((cairo_destroy_func_t)R_ReleaseObject); cairo_status_t ans; ans = cairo_pattern_set_user_data(pattern, key, user_data, destroy); _result = asREnum(ans, CAIRO_TYPE_STATUS); #else error("cairo_pattern_set_user_data exists only in cairo >= 1.4.0"); #endif return(_result); } USER_OBJECT_ S_cairo_format_stride_for_width(USER_OBJECT_ s_format, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_format_t format = ((cairo_format_t)asCEnum(s_format, CAIRO_TYPE_FORMAT)); int width = ((int)asCInteger(s_width)); int ans; ans = cairo_format_stride_for_width(format, width); _result = asRInteger(ans); #else error("cairo_format_stride_for_width exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_has_current_point(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); gboolean ans; ans = cairo_has_current_point(cr); _result = asRLogical(ans); #else error("cairo_has_current_point exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_path_extents(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x1; double y1; double x2; double y2; cairo_path_extents(cr, &x1, &y1, &x2, &y2); _result = retByVal(_result, "x1", asRNumeric(x1), "y1", asRNumeric(y1), "x2", asRNumeric(x2), "y2", asRNumeric(y2), NULL); ; ; ; ; #else error("cairo_path_extents exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_copy_page(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_copy_page(surface); #else error("cairo_surface_copy_page exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_show_page(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_surface_show_page(surface); #else error("cairo_surface_show_page exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_restrict_to_level(USER_OBJECT_ s_surface, USER_OBJECT_ s_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); cairo_ps_level_t level = ((cairo_ps_level_t)asCEnum(s_level, CAIRO_TYPE_PS_LEVEL)); cairo_ps_surface_restrict_to_level(surface, level); #else error("cairo_ps_surface_restrict_to_level exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_get_levels(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) const cairo_ps_level_t* levels = NULL; int nlevels; cairo_ps_get_levels(&levels, &nlevels); _result = retByVal(_result, "levels", asREnumArrayWithSize(levels, CAIRO_TYPE_PS_LEVEL, nlevels), "nlevels", asRInteger(nlevels), NULL); ; ; #else error("cairo_ps_get_levels exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_level_to_string(USER_OBJECT_ s_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_ps_level_t level = ((cairo_ps_level_t)asCEnum(s_level, CAIRO_TYPE_PS_LEVEL)); const char* ans; ans = cairo_ps_level_to_string(level); _result = asRString(ans); #else error("cairo_ps_level_to_string exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_set_eps(USER_OBJECT_ s_surface, USER_OBJECT_ s_eps) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); gboolean eps = ((gboolean)asCLogical(s_eps)); cairo_ps_surface_set_eps(surface, eps); #else error("cairo_ps_surface_set_eps exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_ps_surface_get_eps(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 6, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); gboolean ans; ans = cairo_ps_surface_get_eps(surface); _result = asRLogical(ans); #else error("cairo_ps_surface_get_eps exists only in cairo >= 1.6.0"); #endif return(_result); } USER_OBJECT_ S_cairo_toy_font_face_create(USER_OBJECT_ s_family, USER_OBJECT_ s_slant, USER_OBJECT_ s_weight) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) const char* family = ((const char*)asCString(s_family)); cairo_font_slant_t slant = ((cairo_font_slant_t)asCEnum(s_slant, CAIRO_TYPE_FONT_SLANT)); cairo_font_weight_t weight = ((cairo_font_weight_t)asCEnum(s_weight, CAIRO_TYPE_FONT_WEIGHT)); cairo_font_face_t* ans; ans = cairo_toy_font_face_create(family, slant, weight); _result = toRPointerWithFinalizer(ans, "CairoFontFace", (RPointerFinalizer) cairo_font_face_destroy); #else error("cairo_toy_font_face_create exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_toy_font_face_get_family(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); const char* ans; ans = cairo_toy_font_face_get_family(font_face); _result = asRString(ans); #else error("cairo_toy_font_face_get_family exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_toy_font_face_get_slant(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_slant_t ans; ans = cairo_toy_font_face_get_slant(font_face); _result = asREnum(ans, CAIRO_TYPE_FONT_SLANT); #else error("cairo_toy_font_face_get_slant exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_toy_font_face_get_weight(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_font_weight_t ans; ans = cairo_toy_font_face_get_weight(font_face); _result = asREnum(ans, CAIRO_TYPE_FONT_WEIGHT); #else error("cairo_toy_font_face_get_weight exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_get_fallback_resolution(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); double x_pixels_per_inch; double y_pixels_per_inch; cairo_surface_get_fallback_resolution(surface, &x_pixels_per_inch, &y_pixels_per_inch); _result = retByVal(_result, "x.pixels.per.inch", asRNumeric(x_pixels_per_inch), "y.pixels.per.inch", asRNumeric(y_pixels_per_inch), NULL); ; ; #else error("cairo_surface_get_fallback_resolution exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_surface_has_show_text_glyphs(USER_OBJECT_ s_surface) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_surface_t* surface = ((cairo_surface_t*)getPtrValue(s_surface)); gboolean ans; ans = cairo_surface_has_show_text_glyphs(surface); _result = asRLogical(ans); #else error("cairo_surface_has_show_text_glyphs exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_show_text_glyphs(USER_OBJECT_ s_cr, USER_OBJECT_ s_utf8, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_clusters, USER_OBJECT_ s_cluster_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* utf8 = ((const char*)asCString(s_utf8)); int utf8_len = ((int)GET_LENGTH(s_glyphs)); const cairo_glyph_t* glyphs = ((const cairo_glyph_t*)asCArrayRef(s_glyphs, cairo_glyph_t, asCCairoGlyph)); int num_glyphs = ((int)GET_LENGTH(s_glyphs)); const cairo_text_cluster_t* clusters = ((const cairo_text_cluster_t*)asCArrayRef(s_clusters, cairo_text_cluster_t, asCCairoTextCluster)); int num_clusters = ((int)GET_LENGTH(s_clusters)); cairo_text_cluster_flags_t cluster_flags = ((cairo_text_cluster_flags_t)asCEnum(s_cluster_flags, CAIRO_TYPE_TEXT_CLUSTER_FLAGS)); cairo_show_text_glyphs(cr, utf8, utf8_len, glyphs, num_glyphs, clusters, num_clusters, cluster_flags); CLEANUP(cairo_glyph_free, ((cairo_glyph_t*)glyphs));; CLEANUP(cairo_text_cluster_free, ((cairo_text_cluster_t*)clusters));; #else error("cairo_show_text_glyphs exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_get_scale_matrix(USER_OBJECT_ s_scaled_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); cairo_matrix_t* scale_matrix = ((cairo_matrix_t *)g_new0(cairo_matrix_t, 1)); cairo_scaled_font_get_scale_matrix(scaled_font, scale_matrix); _result = retByVal(_result, "scale.matrix", toRPointerWithFinalizer(scale_matrix, "CairoMatrix", (RPointerFinalizer) g_free), NULL); ; #else error("cairo_scaled_font_get_scale_matrix exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_scaled_font_text_to_glyphs(USER_OBJECT_ s_scaled_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_utf8, USER_OBJECT_ s_utf8_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_scaled_font_t* scaled_font = ((cairo_scaled_font_t*)getPtrValue(s_scaled_font)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); const char* utf8 = ((const char*)asCString(s_utf8)); int utf8_len = ((int)asCInteger(s_utf8_len)); cairo_status_t ans; cairo_glyph_t* glyphs = NULL; int num_glyphs; cairo_text_cluster_t* clusters = NULL; int num_clusters; cairo_text_cluster_flags_t cluster_flags; ans = cairo_scaled_font_text_to_glyphs(scaled_font, x, y, utf8, utf8_len, &glyphs, &num_glyphs, &clusters, &num_clusters, &cluster_flags); _result = asREnum(ans, CAIRO_TYPE_STATUS); _result = retByVal(_result, "glyphs", asRArrayRefWithSize(glyphs, asRCairoGlyph, num_glyphs), "num.glyphs", asRInteger(num_glyphs), "clusters", asRArrayRefWithSize(clusters, asRCairoTextCluster, num_glyphs), "num.clusters", asRInteger(num_clusters), "cluster.flags", asREnum(cluster_flags, CAIRO_TYPE_TEXT_CLUSTER_FLAGS), NULL); CLEANUP(cairo_glyph_free, glyphs);; ; CLEANUP(cairo_text_cluster_free, clusters);; ; ; #else error("cairo_scaled_font_text_to_glyphs exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_create(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* ans; ans = cairo_user_font_face_create(); _result = toRPointerWithFinalizer(ans, "CairoFontFace", (RPointerFinalizer) cairo_font_face_destroy); #else error("cairo_user_font_face_create exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_get_init_func(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_user_scaled_font_init_func_t ans; ans = cairo_user_font_face_get_init_func(font_face); _result = toRPointer(ans, "CairoUserScaledFontInitFunc"); #else error("cairo_user_font_face_get_init_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_get_render_glyph_func(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_user_scaled_font_render_glyph_func_t ans; ans = cairo_user_font_face_get_render_glyph_func(font_face); _result = toRPointer(ans, "CairoUserScaledFontRenderGlyphFunc"); #else error("cairo_user_font_face_get_render_glyph_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_get_unicode_to_glyph_func(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_user_scaled_font_unicode_to_glyph_func_t ans; ans = cairo_user_font_face_get_unicode_to_glyph_func(font_face); _result = toRPointer(ans, "CairoUserScaledFontUnicodeToGlyphFunc"); #else error("cairo_user_font_face_get_unicode_to_glyph_func exists only in cairo >= 1.8.0"); #endif return(_result); } USER_OBJECT_ S_cairo_user_font_face_get_text_to_glyphs_func(USER_OBJECT_ s_font_face) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if CAIRO_CHECK_VERSION(1, 8, 0) cairo_font_face_t* font_face = ((cairo_font_face_t*)getPtrValue(s_font_face)); cairo_user_scaled_font_text_to_glyphs_func_t ans; ans = cairo_user_font_face_get_text_to_glyphs_func(font_face); _result = toRPointer(ans, "CairoUserScaledFontTextToGlyphsFunc"); #else error("cairo_user_font_face_get_text_to_glyphs_func exists only in cairo >= 1.8.0"); #endif return(_result); } RGtk2/src/atkAccessors.c0000644000176000001440000000006312362467242014622 0ustar ripleyusers#include #include RGtk2/src/gioUserFuncs.c0000644000176000001440000001122112362467242014607 0ustar ripleyusers#include "RGtk2/gioUserFuncs.h" #if GIO_CHECK_VERSION(2, 16, 0) gboolean S_GIOSchedulerJobFunc(GIOSchedulerJob* s_job, GCancellable* s_cancellable, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_job, "GIOSchedulerJob")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) R_CallbackData * GSimpleAsyncThreadFunc_cbdata; gboolean S_GSimpleAsyncThreadFunc(GSimpleAsyncResult* s_res, GObject* s_object, GCancellable* s_cancellable) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4+GSimpleAsyncThreadFunc_cbdata->useData)); tmp = e; SETCAR(tmp, GSimpleAsyncThreadFunc_cbdata->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GSimpleAsyncResult")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_object, "GObject")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_cancellable, "GCancellable")); tmp = CDR(tmp); if(GSimpleAsyncThreadFunc_cbdata->useData) { SETCAR(tmp, GSimpleAsyncThreadFunc_cbdata->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GAsyncReadyCallback(GObject* s_source_object, GSimpleAsyncResult* s_res, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_source_object, "GObject")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_res, "GSimpleAsyncResult")); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); R_freeCBData(((R_CallbackData *)s_user_data)); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileProgressCallback(goffset s_current_num_bytes, goffset s_total_num_bytes, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_user_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_current_num_bytes)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_total_num_bytes)); tmp = CDR(tmp); if(((R_CallbackData *)s_user_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) void S_GFileReadMoreCallback(const char* s_file_contents, goffset s_file_size, gpointer s_callback_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_callback_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_callback_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRString(s_file_contents)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_file_size)); tmp = CDR(tmp); if(((R_CallbackData *)s_callback_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_callback_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GIO_CHECK_VERSION(2, 16, 0) gpointer S_GReallocFunc(gpointer s_data, gsize s_size) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2+((R_CallbackData *)s_data)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_size)); tmp = CDR(tmp); if(((R_CallbackData *)s_data)->useData) { SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gpointer)0)); return(((gpointer)asCGenericData(s_ans))); } #endif RGtk2/src/Reventloop.h0000644000176000001440000001257112362467242014346 0ustar ripleyusers#ifndef R_EVENTLOOP_H_PKG #define R_EVENTLOOP_H_PKG /** The definitions of the primary internal data structures used to implement the abstract event loop for R. */ #include "Rinternals.h" /** A synonym for the main event loop structure */ typedef struct _R_EventLoop R_EventLoop; /** A type definition for idle/background action routines. They take a single argument which is an arbitrary C value which it is expected to understand. This is specified when the action is registered with the event handler. The routine is expected to return an integer which if non-zero indicates that it should be re-registered so that it can be called again. */ typedef int (*R_IdleFunc)(void *); /** A definition for the timer action routines. This is the same asC R_IdleFunc. */ typedef R_IdleFunc R_TimerFunc; /** This is the main data structure for representing an internal R event loop. It has methods for running the event loop; processing an individual event; registering and unregistering input sources, idle and timer actions;

We can maintain a linked list of these event loop structures.

What about releasing user-level data objects? */ struct _R_EventLoop { /** a simple, user-comprehensible name for this event loop. */ char *name; /** a routine that is called each time the event loop is started. It can be used to initialize a toolkit; perform initialization for running the event loop such asC maintaining a stack of active instances. */ void (*init)(int *argc, char ***argv); /** called when the event loop is terminated. This is the parallel function to init() */ void (*exit)(); /** the method to run the endless event loop that must be explicitly terminated by calling quit or exiting the process. */ void (*main)(void); /** the method for processing a single event from this event source without blocking if there is no event on the queue. */ int (*nonBlockingIteration)(); /** terminate the event loop. See main */ void (*quit)(); /** register an input source (identified by its file descriptor) and an event handler for it which is called any time there is input detected on it. The userData field allow one to specify arbitrary data that is passed to the handler when it is called and used to parameterize the actions of that handler. S functions can be used by specifying a suitable handler that treates the userData argument asC an S function and invokes it. */ SEXP (*addInput)(int fd, void (*handler)(void *, int, int), void *userData); /** register a C routine that is to be invoked whenever there are no events pending and the event loop has "nothing" to do. These are essentially background events that should return control very rapidly. S functions can be used by specifying a suitable handler that treates the userData argument asC an S function and invokes it. */ SEXP (*addIdle)(R_IdleFunc, void *userData); /** register a C routine that is to be called after interval milli-seconds. These are timed actions. The userData argument is passed to the routine when it is invoked and used to parameterize its actions. */ SEXP (*addTimer)(int interval, R_TimerFunc, void *userData); /** unregister a handler for an input source. This takes the object returned by addInput() */ int (*removeInput)(SEXP); /** unregister a idle/background routine This takes the object returned by addIdle() to identify the particular. */ int (*removeIdle)(SEXP); /** unregister a timer action routine*/ int (*removeTimer)(SEXP); /** a field for storing data used by the event loop to perform its duties. This can be used in a total event-loop implementation specific manner. Unfortunately, without C++ classes, it is hard to get at this variable without asCsuming it is in the active event loop (R_eloop). This does allow us to place instance-specific data within each instance of the same event loop structure. For example, if we have two copies of the Tcl event loop, we can store different data there. As each one is made the active event loop, the methods can find their specific instance of the data.

If we wanted to make the data available to the methods without asCsuming the event loop is the active one, we need to add an argument to each method. This may be important if we want to run an event loop asC a sub-event loop (e.g. nest Gtk inside Tcl) using these structures and not swap it onto the R_eloop variable. */ void *data; /** the next event loop in the linked list/stack. This is different from a nested event loop call which is handled by the C stack, not this stack.*/ R_EventLoop *next; /** the previous event loop structure in the linked list of event structures maintained by R. */ R_EventLoop *prev; }; /** A global variable that holds the currently active/default event loop structure. */ extern R_EventLoop *R_eloop; void R_mainLoop(); SEXP R_localAddIdle(R_IdleFunc f, void *userData); /* typedef enum {RGTK_CALLBACK, RGTK_TIMER, RGTK_IDLE} RCallbackDataType; typedef struct { SEXP function; SEXP data; Rboolean useData; RCallbackDataType type; } R_CallbackData; */ #endif RGtk2/src/gtkConversion.c0000644000176000001440000001762612362467242015045 0ustar ripleyusers#include "RGtk2/gtk.h" GtkTargetEntry* asCGtkTargetEntry(USER_OBJECT_ s_entry) { GtkTargetEntry* entry; entry = (GtkTargetEntry*)R_alloc(1, sizeof(GtkTargetEntry)); entry->target = (gchar *)asCString(VECTOR_ELT(s_entry, 0)); entry->flags = asCFlag(VECTOR_ELT(s_entry, 1), GTK_TYPE_TARGET_FLAGS); entry->info = asCInteger(VECTOR_ELT(s_entry, 2)); return(entry); } USER_OBJECT_ asRGtkTargetEntry(const GtkTargetEntry * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "target", "flags", "info", NULL }; PROTECT(s_obj = NEW_LIST(3)); SET_VECTOR_ELT(s_obj, 0, asRString(obj->target)); SET_VECTOR_ELT(s_obj, 1, asRNumeric(obj->flags)); SET_VECTOR_ELT(s_obj, 2, asRInteger(obj->info)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GtkTargetEntry")); UNPROTECT(1); return(s_obj); } GtkFileFilterInfo* asCGtkFileFilterInfo(USER_OBJECT_ s_info) { GtkFileFilterInfo* info; info = (GtkFileFilterInfo*)R_alloc(1, sizeof(GtkFileFilterInfo)); info->contains = (GtkFileFilterFlags)asCFlag(VECTOR_ELT(s_info, 0), GTK_TYPE_FILE_FILTER_FLAGS); info->filename = asCString(VECTOR_ELT(s_info, 1)); info->uri = asCString(STRING_ELT(VECTOR_ELT(s_info, 1), 1)); info->display_name = asCString(STRING_ELT(VECTOR_ELT(s_info, 1), 2)); info->mime_type = asCString(STRING_ELT(VECTOR_ELT(s_info, 1), 3)); return(info); } USER_OBJECT_ asRGtkFileFilterInfo(const GtkFileFilterInfo * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "contains", "filename", "uri", "display_name", "mime_type", NULL }; PROTECT(s_obj = allocVector(VECSXP, 5)); SET_VECTOR_ELT(s_obj, 0, asRFlag(obj->contains, GTK_TYPE_FILE_FILTER_FLAGS)); SET_VECTOR_ELT(s_obj, 1, asRString(obj->filename)); SET_VECTOR_ELT(s_obj, 2, asRString(obj->uri)); SET_VECTOR_ELT(s_obj, 3, asRString(obj->display_name)); SET_VECTOR_ELT(s_obj, 4, asRString(obj->mime_type)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GtkFileFilterInfo")); UNPROTECT(1); return(s_obj); } GtkSettingsValue* asCGtkSettingsValue(USER_OBJECT_ s_value) { GtkSettingsValue* value; value = (GtkSettingsValue*)R_alloc(1, sizeof(GtkSettingsValue)); value->origin = (char *)asCString(VECTOR_ELT(s_value, 0)); value->value = *asCGValue(VECTOR_ELT(s_value, 1)); return(value); } GtkStockItem* asCGtkStockItem(USER_OBJECT_ s_item) { GtkStockItem* item; item = (GtkStockItem*)R_alloc(1, sizeof(GtkStockItem)); item->stock_id = (gchar *)asCString(VECTOR_ELT(s_item, 0)); item->label = (gchar *)asCString(VECTOR_ELT(s_item, 1)); item->modifier = asCFlag(VECTOR_ELT(s_item,2), GDK_TYPE_MODIFIER_TYPE); item->keyval = asCNumeric(VECTOR_ELT(s_item,3)); item->translation_domain = (gchar *)asCString(VECTOR_ELT(s_item, 4)); return(item); } USER_OBJECT_ asRGtkStockItem(GtkStockItem *item) { USER_OBJECT_ s_item; char *names[] = { "stock.id", "label", "modifier", "keyval", "translation.domain", NULL }; PROTECT(s_item = NEW_LIST(5)); SET_VECTOR_ELT(s_item, 0, asRString(item->stock_id)); SET_VECTOR_ELT(s_item, 1, asRString(item->label)); SET_VECTOR_ELT(s_item, 2, asRFlag(item->modifier, GDK_TYPE_MODIFIER_TYPE)); SET_VECTOR_ELT(s_item, 3, asRInteger(item->keyval)); SET_VECTOR_ELT(s_item, 4, asRString(item->translation_domain)); SET_NAMES(s_item, asRStringArray(names)); UNPROTECT(1); return(s_item); } GtkItemFactoryEntry* asCGtkItemFactoryEntry(USER_OBJECT_ s_entry) { return(R_createGtkItemFactoryEntry(s_entry, 1)); } GtkItemFactoryEntry* asCGtkItemFactoryEntry2(USER_OBJECT_ s_entry) { return(R_createGtkItemFactoryEntry(s_entry, 2)); } GtkItemFactoryEntry* R_createGtkItemFactoryEntry(USER_OBJECT_ s_entry, guint cbtype) { GtkItemFactoryEntry *entry; entry = (GtkItemFactoryEntry*)R_alloc(1, sizeof(GtkItemFactoryEntry)); entry->path = (gchar *)asCString(VECTOR_ELT(s_entry, 0)); entry->accelerator = (gchar *)asCString(VECTOR_ELT(s_entry, 1)); if (cbtype == 1) entry->callback = (GtkItemFactoryCallback)S_GtkItemFactoryCallback1; else entry->callback = (GtkItemFactoryCallback)S_GtkItemFactoryCallback2; entry->callback_action = NUMERIC_DATA(VECTOR_ELT(s_entry, 3))[0]; entry->item_type = (gchar *)asCString(VECTOR_ELT(s_entry, 4)); entry->extra_data = (gconstpointer)getPtrValue(VECTOR_ELT(s_entry, 5)); return(entry); } GtkAllocation* asCGtkAllocation(USER_OBJECT_ s_alloc) { GtkAllocation* alloc = (GtkAllocation*)asCGdkRectangle(s_alloc); return(alloc); } USER_OBJECT_ asRGtkAllocation(GtkAllocation* alloc) { USER_OBJECT_ s_alloc; PROTECT(s_alloc = asRGdkRectangle((GdkRectangle*)alloc)); SET_CLASS(s_alloc, asRString("GtkAllocation")); UNPROTECT(1); return(s_alloc); } USER_OBJECT_ asRGtkAccelKey(GtkAccelKey * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "accel_key", "accel_mods", "accel_flags", NULL }; PROTECT(s_obj = NEW_LIST(3)); SET_VECTOR_ELT(s_obj, 0, asRNumeric(obj->accel_key)); SET_VECTOR_ELT(s_obj, 1, asRFlag(obj->accel_mods, GDK_TYPE_MODIFIER_TYPE)); SET_VECTOR_ELT(s_obj, 2, asRNumeric(obj->accel_flags)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GtkAccelKey")); UNPROTECT(1); return(s_obj); } #if GTK_CHECK_VERSION(2,10,0) GtkRecentFilterInfo * asCGtkRecentFilterInfo(USER_OBJECT_ s_obj) { GtkRecentFilterInfo * obj; obj = (GtkRecentFilterInfo *)R_alloc(1, sizeof(GtkRecentFilterInfo)); obj->contains = (GtkRecentFilterFlags)asCFlag(VECTOR_ELT(s_obj, 0), GTK_TYPE_RECENT_FILTER_FLAGS); obj->uri = (const gchar*)asCString(VECTOR_ELT(s_obj, 1)); obj->display_name = (const gchar*)asCString(VECTOR_ELT(s_obj, 2)); obj->mime_type = (const gchar*)asCString(VECTOR_ELT(s_obj, 3)); obj->applications = (const gchar**)asCStringArray(VECTOR_ELT(s_obj, 4)); obj->groups = (const gchar**)asCStringArray(VECTOR_ELT(s_obj, 5)); obj->age = (gint)asCInteger(VECTOR_ELT(s_obj, 6)); return(obj); } USER_OBJECT_ asRGtkRecentFilterInfo(const GtkRecentFilterInfo * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "contains", "uri", "display_name", "mime_type", "applications", "groups", "age", NULL }; PROTECT(s_obj = NEW_LIST(7)); SET_VECTOR_ELT(s_obj, 0, asRFlag(obj->contains, GTK_TYPE_RECENT_FILTER_FLAGS)); SET_VECTOR_ELT(s_obj, 1, asRString(obj->uri)); SET_VECTOR_ELT(s_obj, 2, asRString(obj->display_name)); SET_VECTOR_ELT(s_obj, 3, asRString(obj->mime_type)); SET_VECTOR_ELT(s_obj, 4, asRStringArray(obj->applications)); SET_VECTOR_ELT(s_obj, 5, asRStringArray(obj->groups)); SET_VECTOR_ELT(s_obj, 6, asRInteger(obj->age)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GtkRecentFilterInfo")); UNPROTECT(1); return(s_obj); } GtkRecentData * asCGtkRecentData(USER_OBJECT_ s_obj) { GtkRecentData * obj; obj = (GtkRecentData *)R_alloc(1, sizeof(GtkRecentData)); obj->display_name = (gchar*)asCString(VECTOR_ELT(s_obj, 0)); obj->description = (gchar*)asCString(VECTOR_ELT(s_obj, 1)); obj->mime_type = (gchar*)asCString(VECTOR_ELT(s_obj, 2)); obj->app_name = (gchar*)asCString(VECTOR_ELT(s_obj, 3)); obj->app_exec = (gchar*)asCString(VECTOR_ELT(s_obj, 4)); obj->groups = (gchar**)asCStringArray(VECTOR_ELT(s_obj, 5)); obj->is_private = (gboolean)asCLogical(VECTOR_ELT(s_obj, 6)); return(obj); } GtkPageRange * asCGtkPageRange(USER_OBJECT_ s_obj) { GtkPageRange * obj; obj = (GtkPageRange *)R_alloc(1, sizeof(GtkPageRange)); obj->start = (gint)asCInteger(VECTOR_ELT(s_obj, 0)); obj->end = (gint)asCInteger(VECTOR_ELT(s_obj, 1)); return(obj); } USER_OBJECT_ asRGtkPageRange(GtkPageRange * obj) { USER_OBJECT_ s_obj; static gchar * names[] = { "start", "end", NULL }; PROTECT(s_obj = NEW_LIST(2)); SET_VECTOR_ELT(s_obj, 0, asRInteger(obj->start)); SET_VECTOR_ELT(s_obj, 1, asRInteger(obj->end)); SET_NAMES(s_obj, asRStringArray(names)); SET_CLASS(s_obj, asRString("GtkPageRange")); UNPROTECT(1); return(s_obj); } #endif RGtk2/src/atkFuncs.h0000644000176000001440000004311512362467242013765 0ustar ripleyusers#ifndef S_ATK_FUNCS_H #define S_ATK_FUNCS_H #include USER_OBJECT_ S_atk_action_get_type(void); USER_OBJECT_ S_atk_action_get_localized_name(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_action_do_action(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_action_get_n_actions(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_action_get_description(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_action_get_name(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_action_get_keybinding(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_action_set_description(USER_OBJECT_ s_object, USER_OBJECT_ s_i, USER_OBJECT_ s_desc); USER_OBJECT_ S_atk_component_get_type(void); USER_OBJECT_ S_atk_component_contains(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_ref_accessible_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_get_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_get_position(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_component_grab_focus(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_component_remove_focus_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id); USER_OBJECT_ S_atk_component_set_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_set_position(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_component_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_atk_component_get_layer(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_component_get_mdi_zorder(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_document_get_type(void); USER_OBJECT_ S_atk_document_get_document_type(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_document_get_document(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_editable_text_get_type(void); USER_OBJECT_ S_atk_editable_text_set_run_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrib_set, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset); USER_OBJECT_ S_atk_editable_text_set_text_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_atk_editable_text_copy_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos); USER_OBJECT_ S_atk_editable_text_cut_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos); USER_OBJECT_ S_atk_editable_text_delete_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos); USER_OBJECT_ S_atk_editable_text_paste_text(USER_OBJECT_ s_object, USER_OBJECT_ s_position); USER_OBJECT_ S_atk_gobject_accessible_get_type(void); USER_OBJECT_ S_atk_gobject_accessible_for_object(USER_OBJECT_ s_obj); USER_OBJECT_ S_atk_gobject_accessible_get_object(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_get_type(void); USER_OBJECT_ S_atk_hyperlink_get_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_hyperlink_get_object(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_hyperlink_get_end_index(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_get_start_index(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_is_valid(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_get_n_anchors(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_is_inline(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hyperlink_is_selected_link(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hypertext_get_type(void); USER_OBJECT_ S_atk_hypertext_get_link(USER_OBJECT_ s_object, USER_OBJECT_ s_link_index); USER_OBJECT_ S_atk_hypertext_get_n_links(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_hypertext_get_link_index(USER_OBJECT_ s_object, USER_OBJECT_ s_char_index); USER_OBJECT_ S_atk_image_get_type(void); USER_OBJECT_ S_atk_image_get_image_description(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_image_get_image_size(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_image_set_image_description(USER_OBJECT_ s_object, USER_OBJECT_ s_description); USER_OBJECT_ S_atk_image_get_image_position(USER_OBJECT_ s_object, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_no_op_object_factory_get_type(void); USER_OBJECT_ S_atk_no_op_object_factory_new(void); USER_OBJECT_ S_atk_no_op_object_get_type(void); USER_OBJECT_ S_atk_no_op_object_new(USER_OBJECT_ s_obj); USER_OBJECT_ S_atk_object_factory_get_type(void); USER_OBJECT_ S_atk_object_factory_create_accessible(USER_OBJECT_ s_object, USER_OBJECT_ s_obj); USER_OBJECT_ S_atk_object_factory_invalidate(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_factory_get_accessible_type(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_type(void); USER_OBJECT_ S_atk_implementor_get_type(void); USER_OBJECT_ S_atk_implementor_ref_accessible(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_description(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_n_accessible_children(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_ref_accessible_child(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_object_ref_relation_set(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_role(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_layer(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_mdi_zorder(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_ref_state_set(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_index_in_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_atk_object_set_description(USER_OBJECT_ s_object, USER_OBJECT_ s_description); USER_OBJECT_ S_atk_object_set_parent(USER_OBJECT_ s_object, USER_OBJECT_ s_parent); USER_OBJECT_ S_atk_object_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role); USER_OBJECT_ S_atk_object_remove_property_change_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id); USER_OBJECT_ S_atk_object_notify_state_change(USER_OBJECT_ s_object, USER_OBJECT_ s_state, USER_OBJECT_ s_value); USER_OBJECT_ S_atk_registry_get_type(void); USER_OBJECT_ S_atk_registry_set_factory_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_factory_type); USER_OBJECT_ S_atk_registry_get_factory_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_atk_registry_get_factory(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_atk_get_default_registry(void); USER_OBJECT_ S_atk_relation_get_type(void); USER_OBJECT_ S_atk_relation_type_register(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_relation_type_get_name(USER_OBJECT_ s_type); USER_OBJECT_ S_atk_relation_type_for_name(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_relation_new(USER_OBJECT_ s_targets, USER_OBJECT_ s_relationship); USER_OBJECT_ S_atk_relation_get_relation_type(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_relation_get_target(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_relation_add_target(USER_OBJECT_ s_object, USER_OBJECT_ s_target); USER_OBJECT_ S_atk_relation_set_get_type(void); USER_OBJECT_ S_atk_relation_set_new(void); USER_OBJECT_ S_atk_relation_set_contains(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship); USER_OBJECT_ S_atk_relation_set_remove(USER_OBJECT_ s_object, USER_OBJECT_ s_relation); USER_OBJECT_ S_atk_relation_set_add(USER_OBJECT_ s_object, USER_OBJECT_ s_relation); USER_OBJECT_ S_atk_relation_set_get_n_relations(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_relation_set_get_relation(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_relation_set_get_relation_by_type(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship); USER_OBJECT_ S_atk_relation_set_add_relation_by_type(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target); USER_OBJECT_ S_atk_selection_get_type(void); USER_OBJECT_ S_atk_selection_add_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_selection_clear_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_selection_ref_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_selection_get_selection_count(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_selection_is_child_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_selection_remove_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_selection_select_all_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_state_type_register(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_state_type_get_name(USER_OBJECT_ s_type); USER_OBJECT_ S_atk_state_type_for_name(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_state_set_get_type(void); USER_OBJECT_ S_atk_state_set_new(void); USER_OBJECT_ S_atk_state_set_is_empty(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_state_set_add_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_atk_state_set_add_states(USER_OBJECT_ s_object, USER_OBJECT_ s_types); USER_OBJECT_ S_atk_state_set_clear_states(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_state_set_contains_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_atk_state_set_contains_states(USER_OBJECT_ s_object, USER_OBJECT_ s_types); USER_OBJECT_ S_atk_state_set_remove_state(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_atk_state_set_and_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set); USER_OBJECT_ S_atk_state_set_or_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set); USER_OBJECT_ S_atk_state_set_xor_sets(USER_OBJECT_ s_object, USER_OBJECT_ s_compare_set); USER_OBJECT_ S_atk_streamable_content_get_type(void); USER_OBJECT_ S_atk_streamable_content_get_n_mime_types(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_streamable_content_get_mime_type(USER_OBJECT_ s_object, USER_OBJECT_ s_i); USER_OBJECT_ S_atk_streamable_content_get_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_mime_type); USER_OBJECT_ S_atk_table_get_type(void); USER_OBJECT_ S_atk_table_ref_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_index_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_column_at_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_atk_table_get_row_at_index(USER_OBJECT_ s_object, USER_OBJECT_ s_index); USER_OBJECT_ S_atk_table_get_n_columns(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_get_n_rows(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_get_column_extent_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_row_extent_at(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_caption(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_get_column_description(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_column_header(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_get_row_description(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_atk_table_get_row_header(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_atk_table_get_summary(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_set_caption(USER_OBJECT_ s_object, USER_OBJECT_ s_caption); USER_OBJECT_ S_atk_table_set_column_description(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_description); USER_OBJECT_ S_atk_table_set_column_header(USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_header); USER_OBJECT_ S_atk_table_set_row_description(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_description); USER_OBJECT_ S_atk_table_set_row_header(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_header); USER_OBJECT_ S_atk_table_set_summary(USER_OBJECT_ s_object, USER_OBJECT_ s_accessible); USER_OBJECT_ S_atk_table_get_selected_columns(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_get_selected_rows(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_table_is_column_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_is_row_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_atk_table_is_selected(USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_add_row_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_atk_table_remove_row_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_row); USER_OBJECT_ S_atk_table_add_column_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_table_remove_column_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_column); USER_OBJECT_ S_atk_text_get_type(void); USER_OBJECT_ S_atk_text_get_text(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset); USER_OBJECT_ S_atk_text_get_character_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset); USER_OBJECT_ S_atk_text_get_text_after_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type); USER_OBJECT_ S_atk_text_get_text_at_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type); USER_OBJECT_ S_atk_text_get_text_before_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_boundary_type); USER_OBJECT_ S_atk_text_get_caret_offset(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_text_get_range_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset, USER_OBJECT_ s_coord_type); USER_OBJECT_ S_atk_text_get_bounded_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_rect, USER_OBJECT_ s_coord_type, USER_OBJECT_ s_x_clip_type, USER_OBJECT_ s_y_clip_type); USER_OBJECT_ S_atk_text_get_character_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_coords); USER_OBJECT_ S_atk_text_get_run_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_offset); USER_OBJECT_ S_atk_text_get_default_attributes(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_text_get_character_count(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_text_get_offset_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_coords); USER_OBJECT_ S_atk_text_get_n_selections(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_text_get_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num); USER_OBJECT_ S_atk_text_add_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset); USER_OBJECT_ S_atk_text_remove_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num); USER_OBJECT_ S_atk_text_set_selection(USER_OBJECT_ s_object, USER_OBJECT_ s_selection_num, USER_OBJECT_ s_start_offset, USER_OBJECT_ s_end_offset); USER_OBJECT_ S_atk_text_set_caret_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_offset); USER_OBJECT_ S_atk_attribute_set_free(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_text_attribute_register(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_text_attribute_get_name(USER_OBJECT_ s_attr); USER_OBJECT_ S_atk_text_attribute_for_name(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_text_attribute_get_value(USER_OBJECT_ s_attr, USER_OBJECT_ s_index); USER_OBJECT_ S_atk_util_get_type(void); USER_OBJECT_ S_atk_remove_focus_tracker(USER_OBJECT_ s_tracker_id); USER_OBJECT_ S_atk_focus_tracker_notify(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_remove_global_event_listener(USER_OBJECT_ s_listener_id); USER_OBJECT_ S_atk_add_key_event_listener(USER_OBJECT_ s_listener, USER_OBJECT_ s_data); USER_OBJECT_ S_atk_remove_key_event_listener(USER_OBJECT_ s_listener_id); USER_OBJECT_ S_atk_get_root(void); USER_OBJECT_ S_atk_get_focus_object(void); USER_OBJECT_ S_atk_get_toolkit_name(void); USER_OBJECT_ S_atk_get_toolkit_version(void); USER_OBJECT_ S_atk_value_get_type(void); USER_OBJECT_ S_atk_value_get_current_value(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_value_get_maximum_value(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_value_get_minimum_value(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_value_set_current_value(USER_OBJECT_ s_object, USER_OBJECT_ s_value); USER_OBJECT_ S_atk_role_get_name(USER_OBJECT_ s_role); USER_OBJECT_ S_atk_role_for_name(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_role_register(USER_OBJECT_ s_name); USER_OBJECT_ S_atk_object_initialize(USER_OBJECT_ s_object, USER_OBJECT_ s_data); USER_OBJECT_ S_atk_object_add_relationship(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target); USER_OBJECT_ S_atk_object_remove_relationship(USER_OBJECT_ s_object, USER_OBJECT_ s_relationship, USER_OBJECT_ s_target); USER_OBJECT_ S_atk_role_get_localized_name(USER_OBJECT_ s_role); USER_OBJECT_ S_atk_document_get_locale(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_document_get_attributes(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_document_get_attribute_value(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute_name); USER_OBJECT_ S_atk_document_set_attribute_value(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute_name, USER_OBJECT_ s_attribute_value); USER_OBJECT_ S_atk_component_get_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_image_get_image_locale(USER_OBJECT_ s_object); USER_OBJECT_ S_atk_object_get_attributes(USER_OBJECT_ s_object); #endif RGtk2/src/pangoFuncs.c0000644000176000001440000041611112362467242014305 0ustar ripleyusers#include #include #include "pangoFuncs.h" USER_OBJECT_ S_pango_color_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_color_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_color_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoColor* object = ((PangoColor*)getPtrValue(s_object)); PangoColor* ans; ans = pango_color_copy(object); _result = toRPointerWithFinalizer(ans, "PangoColor", (RPointerFinalizer) pango_color_free); return(_result); } USER_OBJECT_ S_pango_color_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoColor* object = ((PangoColor*)getPtrValue(s_object)); pango_color_free(object); return(_result); } USER_OBJECT_ S_pango_color_parse(USER_OBJECT_ s_spec) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* spec = ((const char*)asCString(s_spec)); gboolean ans; PangoColor color; ans = pango_color_parse(&color, spec); _result = asRLogical(ans); _result = retByVal(_result, "color", toRPointerWithFinalizer(&color, "PangoColor", (RPointerFinalizer) pango_color_free), NULL); ; return(_result); } USER_OBJECT_ S_pango_attr_type_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* name = ((const gchar*)asCString(s_name)); PangoAttrType ans; ans = pango_attr_type_register(name); _result = asREnum(ans, PANGO_TYPE_ATTR_TYPE); return(_result); } USER_OBJECT_ S_pango_attribute_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute* object = ((PangoAttribute*)getPtrValue(s_object)); PangoAttribute* ans; ans = pango_attribute_copy(object); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attribute_destroy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute* object = ((PangoAttribute*)getPtrValue(s_object)); pango_attribute_destroy(object); return(_result); } USER_OBJECT_ S_pango_attribute_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_attr2) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttribute* object = ((PangoAttribute*)getPtrValue(s_object)); const PangoAttribute* attr2 = ((const PangoAttribute*)getPtrValue(s_attr2)); gboolean ans; ans = pango_attribute_equal(object, attr2); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_attr_language_new(USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoAttribute* ans; ans = pango_attr_language_new(language); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_family_new(USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* family = ((const char*)asCString(s_family)); PangoAttribute* ans; ans = pango_attr_family_new(family); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_foreground_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint16 red = ((guint16)asCInteger(s_red)); guint16 green = ((guint16)asCInteger(s_green)); guint16 blue = ((guint16)asCInteger(s_blue)); PangoAttribute* ans; ans = pango_attr_foreground_new(red, green, blue); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_background_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint16 red = ((guint16)asCInteger(s_red)); guint16 green = ((guint16)asCInteger(s_green)); guint16 blue = ((guint16)asCInteger(s_blue)); PangoAttribute* ans; ans = pango_attr_background_new(red, green, blue); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_strikethrough_color_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint16 red = ((guint16)asCInteger(s_red)); guint16 green = ((guint16)asCInteger(s_green)); guint16 blue = ((guint16)asCInteger(s_blue)); PangoAttribute* ans; ans = pango_attr_strikethrough_color_new(red, green, blue); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_underline_color_new(USER_OBJECT_ s_red, USER_OBJECT_ s_green, USER_OBJECT_ s_blue) { USER_OBJECT_ _result = NULL_USER_OBJECT; guint16 red = ((guint16)asCInteger(s_red)); guint16 green = ((guint16)asCInteger(s_green)); guint16 blue = ((guint16)asCInteger(s_blue)); PangoAttribute* ans; ans = pango_attr_underline_color_new(red, green, blue); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_size_new(USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; int size = ((int)asCInteger(s_size)); PangoAttribute* ans; ans = pango_attr_size_new(size); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_size_new_absolute(USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; int size = ((int)asCInteger(s_size)); PangoAttribute* ans; ans = pango_attr_size_new_absolute(size); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_style_new(USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoStyle style = ((PangoStyle)asCEnum(s_style, PANGO_TYPE_STYLE)); PangoAttribute* ans; ans = pango_attr_style_new(style); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_weight_new(USER_OBJECT_ s_weight) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoWeight weight = ((PangoWeight)asCEnum(s_weight, PANGO_TYPE_WEIGHT)); PangoAttribute* ans; ans = pango_attr_weight_new(weight); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_variant_new(USER_OBJECT_ s_variant) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoVariant variant = ((PangoVariant)asCEnum(s_variant, PANGO_TYPE_VARIANT)); PangoAttribute* ans; ans = pango_attr_variant_new(variant); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_stretch_new(USER_OBJECT_ s_stretch) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoStretch stretch = ((PangoStretch)asCEnum(s_stretch, PANGO_TYPE_STRETCH)); PangoAttribute* ans; ans = pango_attr_stretch_new(stretch); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_font_desc_new(USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoAttribute* ans; ans = pango_attr_font_desc_new(desc); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_underline_new(USER_OBJECT_ s_underline) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoUnderline underline = ((PangoUnderline)asCEnum(s_underline, PANGO_TYPE_UNDERLINE)); PangoAttribute* ans; ans = pango_attr_underline_new(underline); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_strikethrough_new(USER_OBJECT_ s_strikethrough) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean strikethrough = ((gboolean)asCLogical(s_strikethrough)); PangoAttribute* ans; ans = pango_attr_strikethrough_new(strikethrough); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_rise_new(USER_OBJECT_ s_rise) { USER_OBJECT_ _result = NULL_USER_OBJECT; int rise = ((int)asCInteger(s_rise)); PangoAttribute* ans; ans = pango_attr_rise_new(rise); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_shape_new(USER_OBJECT_ s_ink_rect, USER_OBJECT_ s_logical_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; const PangoRectangle* ink_rect = asCPangoRectangle(s_ink_rect); const PangoRectangle* logical_rect = asCPangoRectangle(s_logical_rect); PangoAttribute* ans; ans = pango_attr_shape_new(ink_rect, logical_rect); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_shape_new_with_data(USER_OBJECT_ s_ink_rect, USER_OBJECT_ s_logical_rect, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; const PangoRectangle* ink_rect = asCPangoRectangle(s_ink_rect); const PangoRectangle* logical_rect = asCPangoRectangle(s_logical_rect); gpointer data = ((gpointer)asCGenericData(s_data)); GDestroyNotify destroy_func = ((GDestroyNotify)R_ReleaseObject); PangoAttribute* ans; ans = pango_attr_shape_new_with_data(ink_rect, logical_rect, data, NULL, destroy_func); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_letter_spacing_new(USER_OBJECT_ s_letter_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; int letter_spacing = ((int)asCInteger(s_letter_spacing)); PangoAttribute* ans; ans = pango_attr_letter_spacing_new(letter_spacing); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_scale_new(USER_OBJECT_ s_scale_factor) { USER_OBJECT_ _result = NULL_USER_OBJECT; double scale_factor = ((double)asCNumeric(s_scale_factor)); PangoAttribute* ans; ans = pango_attr_scale_new(scale_factor); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_fallback_new(USER_OBJECT_ s_fallback) { USER_OBJECT_ _result = NULL_USER_OBJECT; gboolean fallback = ((gboolean)asCLogical(s_fallback)); PangoAttribute* ans; ans = pango_attr_fallback_new(fallback); _result = asRPangoAttribute(ans); return(_result); } USER_OBJECT_ S_pango_attr_list_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_attr_list_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_attr_list_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* ans; ans = pango_attr_list_new(); _result = toRPointerWithFinalizer(ans, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref); return(_result); } USER_OBJECT_ S_pango_attr_list_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); pango_attr_list_ref(object); return(_result); } USER_OBJECT_ S_pango_attr_list_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); pango_attr_list_unref(object); return(_result); } USER_OBJECT_ S_pango_attr_list_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttrList* ans; ans = pango_attr_list_copy(object); _result = toRPointerWithFinalizer(ans, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref); return(_result); } USER_OBJECT_ S_pango_attr_list_insert(USER_OBJECT_ s_object, USER_OBJECT_ s_attr) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttribute* attr = ((PangoAttribute*)getPtrValue(s_attr)); pango_attr_list_insert(object, attr); return(_result); } USER_OBJECT_ S_pango_attr_list_insert_before(USER_OBJECT_ s_object, USER_OBJECT_ s_attr) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttribute* attr = ((PangoAttribute*)getPtrValue(s_attr)); pango_attr_list_insert_before(object, attr); return(_result); } USER_OBJECT_ S_pango_attr_list_change(USER_OBJECT_ s_object, USER_OBJECT_ s_attr) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttribute* attr = ((PangoAttribute*)getPtrValue(s_attr)); pango_attr_list_change(object, attr); return(_result); } USER_OBJECT_ S_pango_attr_list_splice(USER_OBJECT_ s_object, USER_OBJECT_ s_other, USER_OBJECT_ s_pos, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttrList* other = ((PangoAttrList*)getPtrValue(s_other)); gint pos = ((gint)asCInteger(s_pos)); gint len = ((gint)asCInteger(s_len)); pango_attr_list_splice(object, other, pos, len); return(_result); } USER_OBJECT_ S_pango_attr_list_get_iterator(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttrIterator* ans; ans = pango_attr_list_get_iterator(object); _result = toRPointerWithFinalizer(ans, "PangoAttrIterator", (RPointerFinalizer) pango_attr_iterator_destroy); return(_result); } USER_OBJECT_ S_pango_attr_list_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrFilterFunc func = ((PangoAttrFilterFunc)S_PangoAttrFilterFunc); R_CallbackData* data = R_createCBData(s_func, s_data); PangoAttrList* object = ((PangoAttrList*)getPtrValue(s_object)); PangoAttrList* ans; ans = pango_attr_list_filter(object, func, data); _result = toRPointerWithFinalizer(ans, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref); R_freeCBData(data); return(_result); } USER_OBJECT_ S_pango_attr_iterator_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); gint start; gint end; pango_attr_iterator_range(object, &start, &end); _result = retByVal(_result, "start", asRInteger(start), "end", asRInteger(end), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_attr_iterator_next(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); gboolean ans; ans = pango_attr_iterator_next(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_attr_iterator_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); PangoAttrIterator* ans; ans = pango_attr_iterator_copy(object); _result = toRPointerWithFinalizer(ans, "PangoAttrIterator", (RPointerFinalizer) pango_attr_iterator_destroy); return(_result); } USER_OBJECT_ S_pango_attr_iterator_destroy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); pango_attr_iterator_destroy(object); return(_result); } USER_OBJECT_ S_pango_attr_iterator_get(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); PangoAttrType type = ((PangoAttrType)asCEnum(s_type, PANGO_TYPE_ATTR_TYPE)); PangoAttribute* ans; ans = pango_attr_iterator_get(object, type); _result = asRPangoAttributeCopy(ans); return(_result); } USER_OBJECT_ S_pango_attr_iterator_get_attrs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoAttrIterator* object = ((PangoAttrIterator*)getPtrValue(s_object)); GSList* ans; ans = pango_attr_iterator_get_attrs(object); _result = asRGSListConv(ans, ((ElementConverter)asRPangoAttributeCopy)); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_pango_parse_markup(USER_OBJECT_ s_markup_text, USER_OBJECT_ s_length, USER_OBJECT_ s_accel_marker) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* markup_text = ((const char*)asCString(s_markup_text)); int length = ((int)asCInteger(s_length)); gunichar accel_marker = ((gunichar)asCNumeric(s_accel_marker)); gboolean ans; PangoAttrList* attr_list = NULL; char* text = NULL; gunichar accel_char; GError* error = NULL; ans = pango_parse_markup(markup_text, length, accel_marker, &attr_list, &text, &accel_char, &error); _result = asRLogical(ans); _result = retByVal(_result, "attr.list", toRPointerWithFinalizer(attr_list, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref), "text", asRString(text), "accel.char", asRNumeric(accel_char), "error", asRGError(error), NULL); ; ; CLEANUP(g_error_free, error);; return(_result); } USER_OBJECT_ S_pango_find_paragraph_boundary(USER_OBJECT_ s_text, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)asCInteger(s_length)); gint paragraph_delimiter_index; gint next_paragraph_start; pango_find_paragraph_boundary(text, length, ¶graph_delimiter_index, &next_paragraph_start); _result = retByVal(_result, "paragraph.delimiter.index", asRInteger(paragraph_delimiter_index), "next.paragraph.start", asRInteger(next_paragraph_start), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_cairo_font_map_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_cairo_font_map_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_cairo_font_map_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMap* ans; ans = pango_cairo_font_map_new(); _result = toRPointerWithFinalizer(ans, "PangoFontMap", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_pango_cairo_font_map_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMap* ans; ans = pango_cairo_font_map_get_default(); _result = toRPointerWithRef(ans, "PangoFontMap"); return(_result); } USER_OBJECT_ S_pango_cairo_font_map_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_dpi) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCairoFontMap* object = PANGO_CAIRO_FONT_MAP(getPtrValue(s_object)); double dpi = ((double)asCNumeric(s_dpi)); pango_cairo_font_map_set_resolution(object, dpi); return(_result); } USER_OBJECT_ S_pango_cairo_font_map_get_resolution(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCairoFontMap* object = PANGO_CAIRO_FONT_MAP(getPtrValue(s_object)); double ans; ans = pango_cairo_font_map_get_resolution(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_pango_cairo_font_map_create_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCairoFontMap* object = PANGO_CAIRO_FONT_MAP(getPtrValue(s_object)); PangoContext* ans; ans = pango_cairo_font_map_create_context(object); _result = toRPointerWithRef(ans, "PangoContext"); return(_result); } USER_OBJECT_ S_pango_cairo_update_context(USER_OBJECT_ s_cr, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); pango_cairo_update_context(cr, context); return(_result); } USER_OBJECT_ S_pango_cairo_context_set_font_options(USER_OBJECT_ s_context, USER_OBJECT_ s_options) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const cairo_font_options_t* options = ((const cairo_font_options_t*)getPtrValue(s_options)); pango_cairo_context_set_font_options(context, options); return(_result); } USER_OBJECT_ S_pango_cairo_context_get_font_options(USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const cairo_font_options_t* ans; ans = pango_cairo_context_get_font_options(context); _result = toRPointer(ans, "CairoFontOptions"); return(_result); } USER_OBJECT_ S_pango_cairo_context_set_resolution(USER_OBJECT_ s_context, USER_OBJECT_ s_dpi) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); double dpi = ((double)asCNumeric(s_dpi)); pango_cairo_context_set_resolution(context, dpi); return(_result); } USER_OBJECT_ S_pango_cairo_context_get_resolution(USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); double ans; ans = pango_cairo_context_get_resolution(context); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_pango_cairo_create_layout(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayout* ans; ans = pango_cairo_create_layout(cr); _result = toRPointerWithRef(ans, "PangoLayout"); return(_result); } USER_OBJECT_ S_pango_cairo_update_layout(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); pango_cairo_update_layout(cr, layout); return(_result); } USER_OBJECT_ S_pango_cairo_show_glyph_string(USER_OBJECT_ s_cr, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); pango_cairo_show_glyph_string(cr, font, glyphs); return(_result); } USER_OBJECT_ S_pango_cairo_show_layout_line(USER_OBJECT_ s_cr, USER_OBJECT_ s_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); pango_cairo_show_layout_line(cr, line); return(_result); } USER_OBJECT_ S_pango_cairo_show_layout(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); pango_cairo_show_layout(cr, layout); return(_result); } USER_OBJECT_ S_pango_cairo_glyph_string_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); pango_cairo_glyph_string_path(cr, font, glyphs); return(_result); } USER_OBJECT_ S_pango_cairo_layout_line_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); pango_cairo_layout_line_path(cr, line); return(_result); } USER_OBJECT_ S_pango_cairo_layout_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); pango_cairo_layout_path(cr, layout); return(_result); } USER_OBJECT_ S_pango_context_set_font_map(USER_OBJECT_ s_object, USER_OBJECT_ s_font_map) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoFontMap* font_map = PANGO_FONT_MAP(getPtrValue(s_font_map)); pango_context_set_font_map(object, font_map); return(_result); } USER_OBJECT_ S_pango_context_get_font_map(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoFontMap* ans; ans = pango_context_get_font_map(object); _result = toRPointerWithRef(ans, "PangoFontMap"); return(_result); } USER_OBJECT_ S_pango_context_list_families(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoFontFamily** families = NULL; int n_families; pango_context_list_families(object, &families, &n_families); _result = retByVal(_result, "families", toRPointerWithRefArrayWithSize(families, "PangoFontFamily", n_families), "n.families", asRInteger(n_families), NULL); CLEANUP(g_free, families);; ; return(_result); } USER_OBJECT_ S_pango_get_mirror_char(USER_OBJECT_ s_ch) { USER_OBJECT_ _result = NULL_USER_OBJECT; gunichar ch = ((gunichar)asCNumeric(s_ch)); gboolean ans; gunichar mirrored_ch; ans = pango_get_mirror_char(ch, &mirrored_ch); _result = asRLogical(ans); _result = retByVal(_result, "mirrored.ch", asRNumeric(mirrored_ch), NULL); ; return(_result); } USER_OBJECT_ S_pango_unichar_direction(USER_OBJECT_ s_ch) { USER_OBJECT_ _result = NULL_USER_OBJECT; gunichar ch = ((gunichar)asCNumeric(s_ch)); PangoDirection ans; ans = pango_unichar_direction(ch); _result = asREnum(ans, PANGO_TYPE_DIRECTION); return(_result); } USER_OBJECT_ S_pango_find_base_dir(USER_OBJECT_ s_text, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)asCInteger(s_length)); PangoDirection ans; ans = pango_find_base_dir(text, length); _result = asREnum(ans, PANGO_TYPE_DIRECTION); return(_result); } USER_OBJECT_ S_pango_context_load_font(USER_OBJECT_ s_object, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoFont* ans; ans = pango_context_load_font(object, desc); _result = toRPointerWithRef(ans, "PangoFont"); return(_result); } USER_OBJECT_ S_pango_context_load_fontset(USER_OBJECT_ s_object, USER_OBJECT_ s_desc, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoFontset* ans; ans = pango_context_load_fontset(object, desc, language); _result = toRPointerWithRef(ans, "PangoFontset"); return(_result); } USER_OBJECT_ S_pango_context_set_matrix(USER_OBJECT_ s_object, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoMatrix* matrix = ((const PangoMatrix*)getPtrValue(s_matrix)); pango_context_set_matrix(object, matrix); return(_result); } USER_OBJECT_ S_pango_context_get_matrix(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoMatrix* ans; ans = pango_context_get_matrix(object); _result = toRPointerWithFinalizer(ans ? pango_matrix_copy(ans) : NULL, "PangoMatrix", (RPointerFinalizer) pango_matrix_free); return(_result); } USER_OBJECT_ S_pango_context_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_desc, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoLanguage* language = GET_LENGTH(s_language) == 0 ? NULL : ((PangoLanguage*)getPtrValue(s_language)); PangoFontMetrics* ans; ans = pango_context_get_metrics(object, desc, language); _result = toRPointerWithFinalizer(ans, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_context_set_font_description(USER_OBJECT_ s_object, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); pango_context_set_font_description(object, desc); return(_result); } USER_OBJECT_ S_pango_context_get_font_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_context_get_font_description(object); _result = toRPointerWithFinalizer(ans ? pango_font_description_copy(ans) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_context_get_language(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoLanguage* ans; ans = pango_context_get_language(object); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_pango_context_set_language(USER_OBJECT_ s_object, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); pango_context_set_language(object, language); return(_result); } USER_OBJECT_ S_pango_context_set_base_dir(USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoDirection direction = ((PangoDirection)asCEnum(s_direction, PANGO_TYPE_DIRECTION)); pango_context_set_base_dir(object, direction); return(_result); } USER_OBJECT_ S_pango_context_get_base_dir(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoDirection ans; ans = pango_context_get_base_dir(object); _result = asREnum(ans, PANGO_TYPE_DIRECTION); return(_result); } USER_OBJECT_ S_pango_itemize(USER_OBJECT_ s_context, USER_OBJECT_ s_text, USER_OBJECT_ s_start_index, USER_OBJECT_ s_length, USER_OBJECT_ s_attrs, USER_OBJECT_ s_cached_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const char* text = ((const char*)asCString(s_text)); int start_index = ((int)asCInteger(s_start_index)); int length = ((int)asCInteger(s_length)); PangoAttrList* attrs = ((PangoAttrList*)getPtrValue(s_attrs)); PangoAttrIterator* cached_iter = GET_LENGTH(s_cached_iter) == 0 ? NULL : ((PangoAttrIterator*)getPtrValue(s_cached_iter)); GList* ans; ans = pango_itemize(context, text, start_index, length, attrs, cached_iter); _result = asRGListWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_pango_itemize_with_base_dir(USER_OBJECT_ s_context, USER_OBJECT_ s_base_dir, USER_OBJECT_ s_text, USER_OBJECT_ s_start_index, USER_OBJECT_ s_length, USER_OBJECT_ s_attrs, USER_OBJECT_ s_cached_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); PangoDirection base_dir = ((PangoDirection)asCEnum(s_base_dir, PANGO_TYPE_DIRECTION)); const char* text = ((const char*)asCString(s_text)); int start_index = ((int)asCInteger(s_start_index)); int length = ((int)asCInteger(s_length)); PangoAttrList* attrs = ((PangoAttrList*)getPtrValue(s_attrs)); PangoAttrIterator* cached_iter = GET_LENGTH(s_cached_iter) == 0 ? NULL : ((PangoAttrIterator*)getPtrValue(s_cached_iter)); GList* ans; ans = pango_itemize_with_base_dir(context, base_dir, text, start_index, length, attrs, cached_iter); _result = asRGListWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); CLEANUP(g_list_free, ans);; return(_result); } USER_OBJECT_ S_pango_coverage_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* ans; ans = pango_coverage_new(); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_coverage_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); PangoCoverage* ans; ans = pango_coverage_ref(object); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_coverage_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); pango_coverage_unref(object); return(_result); } USER_OBJECT_ S_pango_coverage_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); PangoCoverage* ans; ans = pango_coverage_copy(object); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_coverage_get(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); int index = ((int)asCInteger(s_index)); PangoCoverageLevel ans; ans = pango_coverage_get(object, index); _result = asREnum(ans, PANGO_TYPE_COVERAGE_LEVEL); return(_result); } USER_OBJECT_ S_pango_coverage_set(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_level) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); int index = ((int)asCInteger(s_index)); PangoCoverageLevel level = ((PangoCoverageLevel)asCEnum(s_level, PANGO_TYPE_COVERAGE_LEVEL)); pango_coverage_set(object, index, level); return(_result); } USER_OBJECT_ S_pango_coverage_max(USER_OBJECT_ s_object, USER_OBJECT_ s_other) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); PangoCoverage* other = ((PangoCoverage*)getPtrValue(s_other)); pango_coverage_max(object, other); return(_result); } USER_OBJECT_ S_pango_coverage_to_bytes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoCoverage* object = ((PangoCoverage*)getPtrValue(s_object)); guchar* bytes = NULL; int n_bytes; pango_coverage_to_bytes(object, &bytes, &n_bytes); _result = retByVal(_result, "bytes", asRRawArrayWithSize(bytes, n_bytes), "n.bytes", asRInteger(n_bytes), NULL); CLEANUP(g_free, bytes);; ; return(_result); } USER_OBJECT_ S_pango_coverage_from_bytes(USER_OBJECT_ s_bytes) { USER_OBJECT_ _result = NULL_USER_OBJECT; guchar* bytes = ((guchar*)asCArray(s_bytes, guchar, asCRaw)); int n_bytes = ((int)GET_LENGTH(s_bytes)); PangoCoverage* ans; ans = pango_coverage_from_bytes(bytes, n_bytes); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_font_description_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* ans; ans = pango_font_description_new(); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_description_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_font_description_copy(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_description_copy_static(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_font_description_copy_static(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_description_hash(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); guint ans; ans = pango_font_description_hash(object); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_pango_font_description_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_desc2) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const PangoFontDescription* desc2 = ((const PangoFontDescription*)getPtrValue(s_desc2)); gboolean ans; ans = pango_font_description_equal(object, desc2); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_font_description_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); pango_font_description_free(object); return(_result); } USER_OBJECT_ S_pango_font_description_set_family(USER_OBJECT_ s_object, USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const char* family = ((const char*)asCString(s_family)); pango_font_description_set_family(object, family); return(_result); } USER_OBJECT_ S_pango_font_description_set_family_static(USER_OBJECT_ s_object, USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const char* family = ((const char*)asCString(s_family)); pango_font_description_set_family_static(object, family); return(_result); } USER_OBJECT_ S_pango_font_description_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const char* ans; ans = pango_font_description_get_family(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_font_description_set_style(USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoStyle style = ((PangoStyle)asCEnum(s_style, PANGO_TYPE_STYLE)); pango_font_description_set_style(object, style); return(_result); } USER_OBJECT_ S_pango_font_description_get_style(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoStyle ans; ans = pango_font_description_get_style(object); _result = asREnum(ans, PANGO_TYPE_STYLE); return(_result); } USER_OBJECT_ S_pango_font_description_set_variant(USER_OBJECT_ s_object, USER_OBJECT_ s_variant) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoVariant variant = ((PangoVariant)asCEnum(s_variant, PANGO_TYPE_VARIANT)); pango_font_description_set_variant(object, variant); return(_result); } USER_OBJECT_ S_pango_font_description_get_variant(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoVariant ans; ans = pango_font_description_get_variant(object); _result = asREnum(ans, PANGO_TYPE_VARIANT); return(_result); } USER_OBJECT_ S_pango_font_description_set_weight(USER_OBJECT_ s_object, USER_OBJECT_ s_weight) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoWeight weight = ((PangoWeight)asCEnum(s_weight, PANGO_TYPE_WEIGHT)); pango_font_description_set_weight(object, weight); return(_result); } USER_OBJECT_ S_pango_font_description_get_weight(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoWeight ans; ans = pango_font_description_get_weight(object); _result = asREnum(ans, PANGO_TYPE_WEIGHT); return(_result); } USER_OBJECT_ S_pango_font_description_set_stretch(USER_OBJECT_ s_object, USER_OBJECT_ s_stretch) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoStretch stretch = ((PangoStretch)asCEnum(s_stretch, PANGO_TYPE_STRETCH)); pango_font_description_set_stretch(object, stretch); return(_result); } USER_OBJECT_ S_pango_font_description_get_stretch(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoStretch ans; ans = pango_font_description_get_stretch(object); _result = asREnum(ans, PANGO_TYPE_STRETCH); return(_result); } USER_OBJECT_ S_pango_font_description_set_absolute_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); double size = ((double)asCNumeric(s_size)); pango_font_description_set_absolute_size(object, size); return(_result); } USER_OBJECT_ S_pango_font_description_get_size_is_absolute(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); gboolean ans; ans = pango_font_description_get_size_is_absolute(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_font_description_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); gint size = ((gint)asCInteger(s_size)); pango_font_description_set_size(object, size); return(_result); } USER_OBJECT_ S_pango_font_description_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); gint ans; ans = pango_font_description_get_size(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_description_get_set_fields(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoFontMask ans; ans = pango_font_description_get_set_fields(object); _result = asRFlag(ans, PANGO_TYPE_FONT_MASK); return(_result); } USER_OBJECT_ S_pango_font_description_unset_fields(USER_OBJECT_ s_object, USER_OBJECT_ s_to_unset) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoFontMask to_unset = ((PangoFontMask)asCFlag(s_to_unset, PANGO_TYPE_FONT_MASK)); pango_font_description_unset_fields(object, to_unset); return(_result); } USER_OBJECT_ S_pango_font_description_merge(USER_OBJECT_ s_object, USER_OBJECT_ s_desc_to_merge, USER_OBJECT_ s_replace_existing) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const PangoFontDescription* desc_to_merge = ((const PangoFontDescription*)getPtrValue(s_desc_to_merge)); gboolean replace_existing = ((gboolean)asCLogical(s_replace_existing)); pango_font_description_merge(object, desc_to_merge, replace_existing); return(_result); } USER_OBJECT_ S_pango_font_description_merge_static(USER_OBJECT_ s_object, USER_OBJECT_ s_desc_to_merge, USER_OBJECT_ s_replace_existing) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const PangoFontDescription* desc_to_merge = ((const PangoFontDescription*)getPtrValue(s_desc_to_merge)); gboolean replace_existing = ((gboolean)asCLogical(s_replace_existing)); pango_font_description_merge_static(object, desc_to_merge, replace_existing); return(_result); } USER_OBJECT_ S_pango_font_description_better_match(USER_OBJECT_ s_object, USER_OBJECT_ s_old_match, USER_OBJECT_ s_new_match) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); const PangoFontDescription* old_match = GET_LENGTH(s_old_match) == 0 ? NULL : ((const PangoFontDescription*)getPtrValue(s_old_match)); const PangoFontDescription* new_match = ((const PangoFontDescription*)getPtrValue(s_new_match)); gboolean ans; ans = pango_font_description_better_match(object, old_match, new_match); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_font_description_from_string(USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* str = ((const char*)asCString(s_str)); PangoFontDescription* ans; ans = pango_font_description_from_string(str); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_description_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); char* ans; ans = pango_font_description_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_pango_font_description_to_filename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); char* ans; ans = pango_font_description_to_filename(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_pango_font_metrics_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_font_metrics_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); PangoFontMetrics* ans; ans = pango_font_metrics_ref(object); _result = toRPointerWithFinalizer(ans ? pango_font_metrics_ref(ans) : NULL, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_font_metrics_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); pango_font_metrics_unref(object); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_ascent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_ascent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_descent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_descent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_approximate_char_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_approximate_char_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_approximate_digit_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_approximate_digit_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_strikethrough_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_strikethrough_position(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_strikethrough_thickness(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_strikethrough_thickness(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_underline_position(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_underline_position(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_metrics_get_underline_thickness(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMetrics* object = ((PangoFontMetrics*)getPtrValue(s_object)); int ans; ans = pango_font_metrics_get_underline_thickness(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_font_family_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_font_family_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_font_family_list_faces(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); PangoFontFace** faces = NULL; int n_faces; pango_font_family_list_faces(object, &faces, &n_faces); _result = retByVal(_result, "faces", toRPointerWithRefArrayWithSize(faces, "PangoFontFace", n_faces), "n.faces", asRInteger(n_faces), NULL); CLEANUP(g_free, faces);; ; return(_result); } USER_OBJECT_ S_pango_font_family_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); const char* ans; ans = pango_font_family_get_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_font_family_is_monospace(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFamily* object = PANGO_FONT_FAMILY(getPtrValue(s_object)); gboolean ans; ans = pango_font_family_is_monospace(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_font_face_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_font_face_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_font_face_describe(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_font_face_describe(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_face_get_face_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); const char* ans; ans = pango_font_face_get_face_name(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_font_face_list_sizes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); int* sizes = NULL; int n_sizes; pango_font_face_list_sizes(object, &sizes, &n_sizes); _result = retByVal(_result, "sizes", asRIntegerArrayWithSize(sizes, n_sizes), "n.sizes", asRInteger(n_sizes), NULL); CLEANUP(g_free, sizes);; ; return(_result); } USER_OBJECT_ S_pango_font_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_font_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_font_describe(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_font_describe(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_font_get_coverage(USER_OBJECT_ s_object, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoCoverage* ans; ans = pango_font_get_coverage(object, language); _result = toRPointerWithFinalizer(ans, "PangoCoverage", (RPointerFinalizer) pango_coverage_unref); return(_result); } USER_OBJECT_ S_pango_font_get_metrics(USER_OBJECT_ s_object, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoLanguage* language = GET_LENGTH(s_language) == 0 ? NULL : ((PangoLanguage*)getPtrValue(s_language)); PangoFontMetrics* ans; ans = pango_font_get_metrics(object, language); _result = toRPointerWithFinalizer(ans, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_font_get_glyph_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoGlyph glyph = ((PangoGlyph)asCNumeric(s_glyph)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_font_get_glyph_extents(object, glyph, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_font_get_font_map(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoFontMap* ans; ans = pango_font_get_font_map(object); _result = toRPointerWithRef(ans, "PangoFontMap"); return(_result); } USER_OBJECT_ S_pango_font_map_load_font(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoFont* ans; ans = pango_font_map_load_font(object, context, desc); _result = toRPointerWithRef(ans, "PangoFont"); return(_result); } USER_OBJECT_ S_pango_font_map_load_fontset(USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_desc, USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); const PangoFontDescription* desc = ((const PangoFontDescription*)getPtrValue(s_desc)); PangoLanguage* language = ((PangoLanguage*)getPtrValue(s_language)); PangoFontset* ans; ans = pango_font_map_load_fontset(object, context, desc, language); _result = toRPointerWithRef(ans, "PangoFontset"); return(_result); } USER_OBJECT_ S_pango_font_map_list_families(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoFontFamily** families = NULL; int n_families; pango_font_map_list_families(object, &families, &n_families); _result = retByVal(_result, "families", toRPointerWithRefArrayWithSize(families, "PangoFontFamily", n_families), "n.families", asRInteger(n_families), NULL); CLEANUP(g_free, families);; ; return(_result); } USER_OBJECT_ S_pango_fontset_get_font(USER_OBJECT_ s_object, USER_OBJECT_ s_wc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); guint wc = ((guint)asCNumeric(s_wc)); PangoFont* ans; ans = pango_fontset_get_font(object, wc); _result = toRPointerWithFinalizer(ans, "PangoFont", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_pango_fontset_get_metrics(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); PangoFontMetrics* ans; ans = pango_fontset_get_metrics(object); _result = toRPointerWithFinalizer(ans, "PangoFontMetrics", (RPointerFinalizer) pango_font_metrics_unref); return(_result); } USER_OBJECT_ S_pango_fontset_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontsetForeachFunc func = ((PangoFontsetForeachFunc)S_PangoFontsetForeachFunc); R_CallbackData* data = R_createCBData(s_func, s_data); PangoFontset* object = PANGO_FONTSET(getPtrValue(s_object)); pango_fontset_foreach(object, func, data); R_freeCBData(data); return(_result); } USER_OBJECT_ S_pango_glyph_string_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* ans; ans = pango_glyph_string_new(); _result = toRPointerWithFinalizer(ans, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free); return(_result); } USER_OBJECT_ S_pango_glyph_string_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_new_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); gint new_len = ((gint)asCInteger(s_new_len)); pango_glyph_string_set_size(object, new_len); return(_result); } USER_OBJECT_ S_pango_glyph_string_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_glyph_string_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_glyph_string_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); PangoGlyphString* ans; ans = pango_glyph_string_copy(object); _result = toRPointerWithFinalizer(ans, "PangoGlyphString", (RPointerFinalizer) pango_glyph_string_free); return(_result); } USER_OBJECT_ S_pango_glyph_string_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); pango_glyph_string_free(object); return(_result); } USER_OBJECT_ S_pango_glyph_string_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_glyph_string_extents(object, font, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_glyph_string_extents_range(USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end, USER_OBJECT_ s_font) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); int start = ((int)asCInteger(s_start)); int end = ((int)asCInteger(s_end)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_glyph_string_extents_range(object, start, end, font, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_glyph_string_index_to_x(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_index, USER_OBJECT_ s_trailing) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); char* text = ((char*)asCString(s_text)); int length = ((int)asCInteger(s_length)); PangoAnalysis* analysis = ((PangoAnalysis*)getPtrValue(s_analysis)); int index = ((int)asCInteger(s_index)); gboolean trailing = ((gboolean)asCLogical(s_trailing)); int x_pos; pango_glyph_string_index_to_x(object, text, length, analysis, index, trailing, &x_pos); _result = retByVal(_result, "x.pos", asRInteger(x_pos), NULL); ; return(_result); } USER_OBJECT_ S_pango_glyph_string_x_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_x_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); char* text = ((char*)asCString(s_text)); int length = ((int)asCInteger(s_length)); PangoAnalysis* analysis = ((PangoAnalysis*)getPtrValue(s_analysis)); int x_pos = ((int)asCInteger(s_x_pos)); int index; int trailing; pango_glyph_string_x_to_index(object, text, length, analysis, x_pos, &index, &trailing); _result = retByVal(_result, "index", asRInteger(index), "trailing", asRInteger(trailing), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_glyph_item_split(USER_OBJECT_ s_orig, USER_OBJECT_ s_text, USER_OBJECT_ s_split_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphItem* orig = ((PangoGlyphItem*)getPtrValue(s_orig)); const char* text = ((const char*)asCString(s_text)); int split_index = ((int)asCInteger(s_split_index)); PangoGlyphItem* ans; ans = pango_glyph_item_split(orig, text, split_index); _result = toRPointerWithFinalizer(ans, "PangoGlyphItem", (RPointerFinalizer) pango_glyph_item_free); return(_result); } USER_OBJECT_ S_pango_glyph_item_apply_attrs(USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text, USER_OBJECT_ s_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); const char* text = ((const char*)asCString(s_text)); PangoAttrList* list = ((PangoAttrList*)getPtrValue(s_list)); GSList* ans; ans = pango_glyph_item_apply_attrs(glyph_item, text, list); _result = asRGSListWithFinalizer(ans, "PangoGlyphItem", (RPointerFinalizer) pango_glyph_item_free); CLEANUP(g_slist_free, ans);; return(_result); } USER_OBJECT_ S_pango_glyph_item_letter_space(USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text, USER_OBJECT_ s_log_attrs) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); const char* text = ((const char*)asCString(s_text)); PangoLogAttr* log_attrs = ((PangoLogAttr*)asCArrayRef(s_log_attrs, PangoLogAttr, getPtrValue)); int letter_spacing = ((int)GET_LENGTH(s_log_attrs)); pango_glyph_item_letter_space(glyph_item, text, log_attrs, letter_spacing); return(_result); } USER_OBJECT_ S_pango_matrix_translate(USER_OBJECT_ s_object, USER_OBJECT_ s_tx, USER_OBJECT_ s_ty) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); double tx = ((double)asCNumeric(s_tx)); double ty = ((double)asCNumeric(s_ty)); pango_matrix_translate(object, tx, ty); return(_result); } USER_OBJECT_ S_pango_matrix_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); double scale_x = ((double)asCNumeric(s_scale_x)); double scale_y = ((double)asCNumeric(s_scale_y)); pango_matrix_scale(object, scale_x, scale_y); return(_result); } USER_OBJECT_ S_pango_matrix_rotate(USER_OBJECT_ s_object, USER_OBJECT_ s_degrees) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); double degrees = ((double)asCNumeric(s_degrees)); pango_matrix_rotate(object, degrees); return(_result); } USER_OBJECT_ S_pango_matrix_concat(USER_OBJECT_ s_object, USER_OBJECT_ s_new_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); const PangoMatrix* new_matrix = ((const PangoMatrix*)getPtrValue(s_new_matrix)); pango_matrix_concat(object, new_matrix); return(_result); } USER_OBJECT_ S_pango_matrix_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); PangoMatrix* ans; ans = pango_matrix_copy(object); _result = toRPointerWithFinalizer(ans, "PangoMatrix", (RPointerFinalizer) pango_matrix_free); return(_result); } USER_OBJECT_ S_pango_shape(USER_OBJECT_ s_text, USER_OBJECT_ s_length, USER_OBJECT_ s_analysis, USER_OBJECT_ s_glyphs) { USER_OBJECT_ _result = NULL_USER_OBJECT; const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)asCInteger(s_length)); PangoAnalysis* analysis = ((PangoAnalysis*)getPtrValue(s_analysis)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); pango_shape(text, length, analysis, glyphs); return(_result); } USER_OBJECT_ S_pango_item_copy(USER_OBJECT_ s_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem* item = ((PangoItem*)getPtrValue(s_item)); PangoItem* ans; ans = pango_item_copy(item); _result = toRPointerWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); return(_result); } USER_OBJECT_ S_pango_item_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem* ans; ans = pango_item_new(); _result = toRPointerWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); return(_result); } USER_OBJECT_ S_pango_item_split(USER_OBJECT_ s_orig, USER_OBJECT_ s_split_index, USER_OBJECT_ s_split_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoItem* orig = ((PangoItem*)getPtrValue(s_orig)); int split_index = ((int)asCInteger(s_split_index)); int split_offset = ((int)asCInteger(s_split_offset)); PangoItem* ans; ans = pango_item_split(orig, split_index, split_offset); _result = toRPointerWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); return(_result); } USER_OBJECT_ S_pango_reorder_items(USER_OBJECT_ s_logical_items) { USER_OBJECT_ _result = NULL_USER_OBJECT; GList* logical_items = asCGList(s_logical_items); GList* ans; ans = pango_reorder_items(logical_items); _result = asRGListWithFinalizer(ans, "PangoItem", (RPointerFinalizer) pango_item_free); CLEANUP(g_list_free, ans);; CLEANUP(g_list_free, ((GList*)logical_items));; return(_result); } USER_OBJECT_ S_pango_layout_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_layout_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_layout_new(USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoContext* context = PANGO_CONTEXT(getPtrValue(s_context)); PangoLayout* ans; ans = pango_layout_new(context); _result = toRPointerWithFinalizer(ans, "PangoLayout", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_pango_layout_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoLayout* ans; ans = pango_layout_copy(object); _result = toRPointerWithFinalizer(ans, "PangoLayout", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_pango_layout_get_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoContext* ans; ans = pango_layout_get_context(object); _result = toRPointerWithRef(ans, "PangoContext"); return(_result); } USER_OBJECT_ S_pango_layout_set_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_attrs) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoAttrList* attrs = ((PangoAttrList*)getPtrValue(s_attrs)); pango_layout_set_attributes(object, attrs); return(_result); } USER_OBJECT_ S_pango_layout_get_attributes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoAttrList* ans; ans = pango_layout_get_attributes(object); _result = toRPointerWithFinalizer(ans, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref); return(_result); } USER_OBJECT_ S_pango_layout_set_text(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); int length = ((int)asCInteger(s_length)); pango_layout_set_text(object, text, length); return(_result); } USER_OBJECT_ S_pango_layout_get_text(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const char* ans; ans = pango_layout_get_text(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_markup, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const char* markup = ((const char*)asCString(s_markup)); int length = ((int)asCInteger(s_length)); pango_layout_set_markup(object, markup, length); return(_result); } USER_OBJECT_ S_pango_layout_set_markup_with_accel(USER_OBJECT_ s_object, USER_OBJECT_ s_markup, USER_OBJECT_ s_length, USER_OBJECT_ s_accel_marker) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const char* markup = ((const char*)asCString(s_markup)); int length = ((int)asCInteger(s_length)); gunichar accel_marker = ((gunichar)asCNumeric(s_accel_marker)); gunichar accel_char; pango_layout_set_markup_with_accel(object, markup, length, accel_marker, &accel_char); _result = retByVal(_result, "accel.char", asRNumeric(accel_char), NULL); ; return(_result); } USER_OBJECT_ S_pango_layout_set_font_description(USER_OBJECT_ s_object, USER_OBJECT_ s_desc) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const PangoFontDescription* desc = GET_LENGTH(s_desc) == 0 ? NULL : ((const PangoFontDescription*)getPtrValue(s_desc)); pango_layout_set_font_description(object, desc); return(_result); } USER_OBJECT_ S_pango_layout_get_font_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); const PangoFontDescription* ans; ans = pango_layout_get_font_description(object); _result = toRPointerWithFinalizer(ans ? pango_font_description_copy(ans) : NULL, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); return(_result); } USER_OBJECT_ S_pango_layout_set_width(USER_OBJECT_ s_object, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int width = ((int)asCInteger(s_width)); pango_layout_set_width(object, width); return(_result); } USER_OBJECT_ S_pango_layout_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_width(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_wrap(USER_OBJECT_ s_object, USER_OBJECT_ s_wrap) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoWrapMode wrap = ((PangoWrapMode)asCEnum(s_wrap, PANGO_TYPE_WRAP_MODE)); pango_layout_set_wrap(object, wrap); return(_result); } USER_OBJECT_ S_pango_layout_get_wrap(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoWrapMode ans; ans = pango_layout_get_wrap(object); _result = asREnum(ans, PANGO_TYPE_WRAP_MODE); return(_result); } USER_OBJECT_ S_pango_layout_set_indent(USER_OBJECT_ s_object, USER_OBJECT_ s_indent) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int indent = ((int)asCInteger(s_indent)); pango_layout_set_indent(object, indent); return(_result); } USER_OBJECT_ S_pango_layout_get_indent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_indent(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_spacing(USER_OBJECT_ s_object, USER_OBJECT_ s_spacing) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int spacing = ((int)asCInteger(s_spacing)); pango_layout_set_spacing(object, spacing); return(_result); } USER_OBJECT_ S_pango_layout_get_spacing(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_spacing(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_justify(USER_OBJECT_ s_object, USER_OBJECT_ s_justify) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean justify = ((gboolean)asCLogical(s_justify)); pango_layout_set_justify(object, justify); return(_result); } USER_OBJECT_ S_pango_layout_get_justify(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean ans; ans = pango_layout_get_justify(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_auto_dir(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_dir) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean auto_dir = ((gboolean)asCLogical(s_auto_dir)); pango_layout_set_auto_dir(object, auto_dir); return(_result); } USER_OBJECT_ S_pango_layout_get_auto_dir(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean ans; ans = pango_layout_get_auto_dir(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_alignment(USER_OBJECT_ s_object, USER_OBJECT_ s_alignment) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoAlignment alignment = ((PangoAlignment)asCEnum(s_alignment, PANGO_TYPE_ALIGNMENT)); pango_layout_set_alignment(object, alignment); return(_result); } USER_OBJECT_ S_pango_layout_get_alignment(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoAlignment ans; ans = pango_layout_get_alignment(object); _result = asREnum(ans, PANGO_TYPE_ALIGNMENT); return(_result); } USER_OBJECT_ S_pango_layout_set_tabs(USER_OBJECT_ s_object, USER_OBJECT_ s_tabs) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoTabArray* tabs = GET_LENGTH(s_tabs) == 0 ? NULL : ((PangoTabArray*)getPtrValue(s_tabs)); pango_layout_set_tabs(object, tabs); return(_result); } USER_OBJECT_ S_pango_layout_get_tabs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoTabArray* ans; ans = pango_layout_get_tabs(object); _result = toRPointerWithFinalizer(ans, "PangoTabArray", (RPointerFinalizer) pango_tab_array_free); return(_result); } USER_OBJECT_ S_pango_layout_set_single_paragraph_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_setting) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean setting = ((gboolean)asCLogical(s_setting)); pango_layout_set_single_paragraph_mode(object, setting); return(_result); } USER_OBJECT_ S_pango_layout_get_single_paragraph_mode(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean ans; ans = pango_layout_get_single_paragraph_mode(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_set_ellipsize(USER_OBJECT_ s_object, USER_OBJECT_ s_ellipsize) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoEllipsizeMode ellipsize = ((PangoEllipsizeMode)asCEnum(s_ellipsize, PANGO_TYPE_ELLIPSIZE_MODE)); pango_layout_set_ellipsize(object, ellipsize); return(_result); } USER_OBJECT_ S_pango_layout_get_ellipsize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoEllipsizeMode ans; ans = pango_layout_get_ellipsize(object); _result = asREnum(ans, PANGO_TYPE_ELLIPSIZE_MODE); return(_result); } USER_OBJECT_ S_pango_layout_context_changed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); pango_layout_context_changed(object); return(_result); } USER_OBJECT_ S_pango_layout_get_log_attrs(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoLogAttr* attrs = NULL; gint n_attrs; pango_layout_get_log_attrs(object, &attrs, &n_attrs); _result = retByVal(_result, "attrs", asRStructArrayWithSize(attrs, "PangoLogAttr", n_attrs), "n.attrs", asRInteger(n_attrs), NULL); CLEANUP(g_free, attrs);; ; return(_result); } USER_OBJECT_ S_pango_layout_index_to_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int index = ((int)asCInteger(s_index)); PangoRectangle* pos = asCPangoRectangle(s_pos); pango_layout_index_to_pos(object, index, pos); return(_result); } USER_OBJECT_ S_pango_layout_get_cursor_pos(USER_OBJECT_ s_object, USER_OBJECT_ s_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int index = ((int)asCInteger(s_index)); PangoRectangle* strong_pos = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* weak_pos = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_get_cursor_pos(object, index, strong_pos, weak_pos); _result = retByVal(_result, "strong.pos", asRPangoRectangle(strong_pos), "weak.pos", asRPangoRectangle(weak_pos), NULL); CLEANUP(g_free, strong_pos);; CLEANUP(g_free, weak_pos);; return(_result); } USER_OBJECT_ S_pango_layout_move_cursor_visually(USER_OBJECT_ s_object, USER_OBJECT_ s_strong, USER_OBJECT_ s_old_index, USER_OBJECT_ s_old_trailing, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean strong = ((gboolean)asCLogical(s_strong)); int old_index = ((int)asCInteger(s_old_index)); int old_trailing = ((int)asCInteger(s_old_trailing)); int direction = ((int)asCInteger(s_direction)); int new_index; int new_trailing; pango_layout_move_cursor_visually(object, strong, old_index, old_trailing, direction, &new_index, &new_trailing); _result = retByVal(_result, "new.index", asRInteger(new_index), "new.trailing", asRInteger(new_trailing), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_xy_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); gboolean ans; int index; int trailing; ans = pango_layout_xy_to_index(object, x, y, &index, &trailing); _result = asRLogical(ans); _result = retByVal(_result, "index", asRInteger(index), "trailing", asRInteger(trailing), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_get_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_get_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_get_pixel_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_get_pixel_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int width; int height; pango_layout_get_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_get_pixel_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int width; int height; pango_layout_get_pixel_size(object, &width, &height); _result = retByVal(_result, "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_get_line_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_line_count(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_layout_get_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int line = ((int)asCInteger(s_line)); PangoLayoutLine* ans; ans = pango_layout_get_line(object, line); _result = toRPointer(ans, "PangoLayoutLine"); return(_result); } USER_OBJECT_ S_pango_layout_line_x_to_index(USER_OBJECT_ s_object, USER_OBJECT_ s_x_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* object = ((PangoLayoutLine*)getPtrValue(s_object)); int x_pos = ((int)asCInteger(s_x_pos)); gboolean ans; int index; int trailing; ans = pango_layout_line_x_to_index(object, x_pos, &index, &trailing); _result = asRLogical(ans); _result = retByVal(_result, "index", asRInteger(index), "trailing", asRInteger(trailing), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_line_index_to_x(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_trailing) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* object = ((PangoLayoutLine*)getPtrValue(s_object)); int index = ((int)asCInteger(s_index)); gboolean trailing = ((gboolean)asCLogical(s_trailing)); int x_pos; pango_layout_line_index_to_x(object, index, trailing, &x_pos); _result = retByVal(_result, "x.pos", asRInteger(x_pos), NULL); ; return(_result); } USER_OBJECT_ S_pango_layout_line_get_x_ranges(USER_OBJECT_ s_object, USER_OBJECT_ s_start_index, USER_OBJECT_ s_end_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* object = ((PangoLayoutLine*)getPtrValue(s_object)); int start_index = ((int)asCInteger(s_start_index)); int end_index = ((int)asCInteger(s_end_index)); int* ranges = NULL; int n_ranges; pango_layout_line_get_x_ranges(object, start_index, end_index, &ranges, &n_ranges); _result = retByVal(_result, "ranges", asRIntegerArrayWithSize(ranges, n_ranges), "n.ranges", asRInteger(n_ranges), NULL); CLEANUP(g_free, ranges);; ; return(_result); } USER_OBJECT_ S_pango_layout_line_get_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* object = ((PangoLayoutLine*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_line_get_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_line_get_pixel_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutLine* object = ((PangoLayoutLine*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_line_get_pixel_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_layout_iter_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_layout_get_iter(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); PangoLayoutIter* ans; ans = pango_layout_get_iter(object); _result = toRPointerWithFinalizer(ans, "PangoLayoutIter", (RPointerFinalizer) pango_layout_iter_free); return(_result); } USER_OBJECT_ S_pango_layout_iter_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); pango_layout_iter_free(object); return(_result); } USER_OBJECT_ S_pango_layout_iter_get_index(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); int ans; ans = pango_layout_iter_get_index(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_get_run(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoGlyphItem* ans; ans = pango_layout_iter_get_run(object); _result = toRPointerWithFinalizer(ans, "PangoGlyphItem", (RPointerFinalizer) pango_glyph_item_free); return(_result); } USER_OBJECT_ S_pango_layout_iter_get_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoLayoutLine* ans; ans = pango_layout_iter_get_line(object); _result = toRPointer(ans, "PangoLayoutLine"); return(_result); } USER_OBJECT_ S_pango_layout_iter_at_last_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); gboolean ans; ans = pango_layout_iter_at_last_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_next_char(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); gboolean ans; ans = pango_layout_iter_next_char(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_next_cluster(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); gboolean ans; ans = pango_layout_iter_next_cluster(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_next_run(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); gboolean ans; ans = pango_layout_iter_next_run(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_next_line(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); gboolean ans; ans = pango_layout_iter_next_line(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_layout_iter_get_char_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_iter_get_char_extents(object, logical_rect); _result = retByVal(_result, "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_cluster_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_iter_get_cluster_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_run_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_iter_get_run_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_line_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_iter_get_line_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_line_yrange(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); int y0; int y1; pango_layout_iter_get_line_yrange(object, &y0, &y1); _result = retByVal(_result, "y0", asRInteger(y0), "y1", asRInteger(y1), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_layout_extents(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoRectangle* ink_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); PangoRectangle* logical_rect = ((PangoRectangle *)g_new0(PangoRectangle, 1)); pango_layout_iter_get_layout_extents(object, ink_rect, logical_rect); _result = retByVal(_result, "ink.rect", asRPangoRectangle(ink_rect), "logical.rect", asRPangoRectangle(logical_rect), NULL); CLEANUP(g_free, ink_rect);; CLEANUP(g_free, logical_rect);; return(_result); } USER_OBJECT_ S_pango_layout_iter_get_baseline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); int ans; ans = pango_layout_iter_get_baseline(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_renderer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_renderer_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_renderer_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_layout, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); pango_renderer_draw_layout(object, layout, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_draw_layout_line(USER_OBJECT_ s_object, USER_OBJECT_ s_line, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoLayoutLine* line = ((PangoLayoutLine*)getPtrValue(s_line)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); pango_renderer_draw_layout_line(object, line, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_draw_glyphs(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyphs, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyphString* glyphs = ((PangoGlyphString*)getPtrValue(s_glyphs)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); pango_renderer_draw_glyphs(object, font, glyphs, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_draw_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); pango_renderer_draw_rectangle(object, part, x, y, width, height); return(_result); } USER_OBJECT_ S_pango_renderer_draw_error_underline(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); int width = ((int)asCInteger(s_width)); int height = ((int)asCInteger(s_height)); pango_renderer_draw_error_underline(object, x, y, width, height); return(_result); } USER_OBJECT_ S_pango_renderer_draw_trapezoid(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_y1_, USER_OBJECT_ s_x11, USER_OBJECT_ s_x21, USER_OBJECT_ s_y2, USER_OBJECT_ s_x12, USER_OBJECT_ s_x22) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); double y1_ = ((double)asCNumeric(s_y1_)); double x11 = ((double)asCNumeric(s_x11)); double x21 = ((double)asCNumeric(s_x21)); double y2 = ((double)asCNumeric(s_y2)); double x12 = ((double)asCNumeric(s_x12)); double x22 = ((double)asCNumeric(s_x22)); pango_renderer_draw_trapezoid(object, part, y1_, x11, x21, y2, x12, x22); return(_result); } USER_OBJECT_ S_pango_renderer_draw_glyph(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_glyph, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoFont* font = PANGO_FONT(getPtrValue(s_font)); PangoGlyph glyph = ((PangoGlyph)asCNumeric(s_glyph)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); pango_renderer_draw_glyph(object, font, glyph, x, y); return(_result); } USER_OBJECT_ S_pango_renderer_activate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); pango_renderer_activate(object); return(_result); } USER_OBJECT_ S_pango_renderer_deactivate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); pango_renderer_deactivate(object); return(_result); } USER_OBJECT_ S_pango_renderer_part_changed(USER_OBJECT_ s_object, USER_OBJECT_ s_part) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); pango_renderer_part_changed(object, part); return(_result); } USER_OBJECT_ S_pango_renderer_set_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_color) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); const PangoColor* color = ((const PangoColor*)getPtrValue(s_color)); pango_renderer_set_color(object, part, color); return(_result); } USER_OBJECT_ S_pango_renderer_get_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); PangoRenderPart part = ((PangoRenderPart)asCEnum(s_part, PANGO_TYPE_RENDER_PART)); PangoColor* ans; ans = pango_renderer_get_color(object, part); _result = toRPointerWithFinalizer(ans ? pango_color_copy(ans) : NULL, "PangoColor", (RPointerFinalizer) pango_color_free); return(_result); } USER_OBJECT_ S_pango_renderer_set_matrix(USER_OBJECT_ s_object, USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); const PangoMatrix* matrix = ((const PangoMatrix*)getPtrValue(s_matrix)); pango_renderer_set_matrix(object, matrix); return(_result); } USER_OBJECT_ S_pango_renderer_get_matrix(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); const PangoMatrix* ans; ans = pango_renderer_get_matrix(object); _result = toRPointerWithFinalizer(ans ? pango_matrix_copy(ans) : NULL, "PangoMatrix", (RPointerFinalizer) pango_matrix_free); return(_result); } USER_OBJECT_ S_pango_tab_array_new(USER_OBJECT_ s_initial_size, USER_OBJECT_ s_positions_in_pixels) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint initial_size = ((gint)asCInteger(s_initial_size)); gboolean positions_in_pixels = ((gboolean)asCLogical(s_positions_in_pixels)); PangoTabArray* ans; ans = pango_tab_array_new(initial_size, positions_in_pixels); _result = toRPointerWithFinalizer(ans, "PangoTabArray", (RPointerFinalizer) pango_tab_array_free); return(_result); } USER_OBJECT_ S_pango_tab_array_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; GType ans; ans = pango_tab_array_get_type(); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_pango_tab_array_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); PangoTabArray* ans; ans = pango_tab_array_copy(object); _result = toRPointerWithFinalizer(ans, "PangoTabArray", (RPointerFinalizer) pango_tab_array_free); return(_result); } USER_OBJECT_ S_pango_tab_array_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); pango_tab_array_free(object); return(_result); } USER_OBJECT_ S_pango_tab_array_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); gint ans; ans = pango_tab_array_get_size(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_tab_array_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_new_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); gint new_size = ((gint)asCInteger(s_new_size)); pango_tab_array_resize(object, new_size); return(_result); } USER_OBJECT_ S_pango_tab_array_set_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_index, USER_OBJECT_ s_alignment, USER_OBJECT_ s_location) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); gint tab_index = ((gint)asCInteger(s_tab_index)); PangoTabAlign alignment = ((PangoTabAlign)asCEnum(s_alignment, PANGO_TYPE_TAB_ALIGN)); gint location = ((gint)asCInteger(s_location)); pango_tab_array_set_tab(object, tab_index, alignment, location); return(_result); } USER_OBJECT_ S_pango_tab_array_get_tab(USER_OBJECT_ s_object, USER_OBJECT_ s_tab_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); gint tab_index = ((gint)asCInteger(s_tab_index)); PangoTabAlign alignment; gint location; pango_tab_array_get_tab(object, tab_index, &alignment, &location); _result = retByVal(_result, "alignment", asREnum(alignment, PANGO_TYPE_TAB_ALIGN), "location", asRInteger(location), NULL); ; ; return(_result); } USER_OBJECT_ S_pango_tab_array_get_positions_in_pixels(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoTabArray* object = ((PangoTabArray*)getPtrValue(s_object)); gboolean ans; ans = pango_tab_array_get_positions_in_pixels(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_language_from_string(USER_OBJECT_ s_language) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* language = ((const char*)asCString(s_language)); PangoLanguage* ans; ans = pango_language_from_string(language); _result = toRPointer(ans, "PangoLanguage"); return(_result); } USER_OBJECT_ S_pango_language_matches(USER_OBJECT_ s_object, USER_OBJECT_ s_range_list) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLanguage* object = ((PangoLanguage*)getPtrValue(s_object)); const char* range_list = ((const char*)asCString(s_range_list)); gboolean ans; ans = pango_language_matches(object, range_list); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_language_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLanguage* object = ((PangoLanguage*)getPtrValue(s_object)); const char* ans; ans = pango_language_to_string(object); _result = asRString(ans); return(_result); } USER_OBJECT_ S_PANGO_PIXELS(USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint size = ((gint)asCInteger(s_size)); gint ans; ans = PANGO_PIXELS(size); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_pango_script_for_unichar(USER_OBJECT_ s_ch) { USER_OBJECT_ _result = NULL_USER_OBJECT; gunichar ch = ((gunichar)asCNumeric(s_ch)); PangoScript ans; ans = pango_script_for_unichar(ch); _result = asREnum(ans, PANGO_TYPE_SCRIPT); return(_result); } USER_OBJECT_ S_pango_script_iter_new(USER_OBJECT_ s_text, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; const char* text = ((const char*)asCString(s_text)); int length = ((int)asCInteger(s_length)); PangoScriptIter* ans; ans = pango_script_iter_new(text, length); _result = toRPointerWithFinalizer(ans, "PangoScriptIter", (RPointerFinalizer) pango_script_iter_free); return(_result); } USER_OBJECT_ S_pango_script_iter_get_range(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoScriptIter* object = ((PangoScriptIter*)getPtrValue(s_object)); const char* start = NULL; const char* end = NULL; PangoScript script; pango_script_iter_get_range(object, &start, &end, &script); _result = retByVal(_result, "start", asRString(start), "end", asRString(end), "script", asREnum(script, PANGO_TYPE_SCRIPT), NULL); ; ; ; return(_result); } USER_OBJECT_ S_pango_script_iter_next(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoScriptIter* object = ((PangoScriptIter*)getPtrValue(s_object)); gboolean ans; ans = pango_script_iter_next(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_script_iter_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoScriptIter* object = ((PangoScriptIter*)getPtrValue(s_object)); pango_script_iter_free(object); return(_result); } USER_OBJECT_ S_pango_script_get_sample_language(USER_OBJECT_ s_script) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoScript script = ((PangoScript)asCEnum(s_script, PANGO_TYPE_SCRIPT)); PangoLanguage* ans; ans = pango_script_get_sample_language(script); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); return(_result); } USER_OBJECT_ S_pango_language_includes_script(USER_OBJECT_ s_object, USER_OBJECT_ s_script) { USER_OBJECT_ _result = NULL_USER_OBJECT; PangoLanguage* object = ((PangoLanguage*)getPtrValue(s_object)); PangoScript script = ((PangoScript)asCEnum(s_script, PANGO_TYPE_SCRIPT)); gboolean ans; ans = pango_language_includes_script(object, script); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_pango_cairo_show_error_underline(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 14, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); double width = ((double)asCNumeric(s_width)); double height = ((double)asCNumeric(s_height)); pango_cairo_show_error_underline(cr, x, y, width, height); #else error("pango_cairo_show_error_underline exists only in Pango >= 1.14.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_error_underline_path(USER_OBJECT_ s_cr, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 14, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); double x = ((double)asCNumeric(s_x)); double y = ((double)asCNumeric(s_y)); double width = ((double)asCNumeric(s_width)); double height = ((double)asCNumeric(s_height)); pango_cairo_error_underline_path(cr, x, y, width, height); #else error("pango_cairo_error_underline_path exists only in Pango >= 1.14.0"); #endif return(_result); } USER_OBJECT_ S_pango_font_describe_with_absolute_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 14, 0) PangoFont* object = PANGO_FONT(getPtrValue(s_object)); PangoFontDescription* ans; ans = pango_font_describe_with_absolute_size(object); _result = toRPointerWithFinalizer(ans, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free); #else error("pango_font_describe_with_absolute_size exists only in Pango >= 1.14.0"); #endif return(_result); } USER_OBJECT_ S_pango_glyph_string_get_width(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 14, 0) PangoGlyphString* object = ((PangoGlyphString*)getPtrValue(s_object)); int ans; ans = pango_glyph_string_get_width(object); _result = asRInteger(ans); #else error("pango_glyph_string_get_width exists only in Pango >= 1.14.0"); #endif return(_result); } USER_OBJECT_ S_pango_matrix_get_font_scale_factor(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 12, 0) PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); double ans; ans = pango_matrix_get_font_scale_factor(object); _result = asRNumeric(ans); #else error("pango_matrix_get_font_scale_factor exists only in Pango >= 1.12.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_index_to_line_x(USER_OBJECT_ s_object, USER_OBJECT_ s_index_, USER_OBJECT_ s_trailing) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 14, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int index_ = ((int)asCInteger(s_index_)); gboolean trailing = ((gboolean)asCLogical(s_trailing)); int line; int x_pos; pango_layout_index_to_line_x(object, index_, trailing, &line, &x_pos); _result = retByVal(_result, "line", asRInteger(line), "x.pos", asRInteger(x_pos), NULL); ; ; #else error("pango_layout_index_to_line_x exists only in Pango >= 1.14.0"); #endif return(_result); } USER_OBJECT_ S_pango_gravity_to_rotation(USER_OBJECT_ s_base_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoGravity base_gravity = ((PangoGravity)asCEnum(s_base_gravity, PANGO_TYPE_GRAVITY)); double ans; ans = pango_gravity_to_rotation(base_gravity); _result = asRNumeric(ans); #else error("pango_gravity_to_rotation exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_gravity_get_for_matrix(USER_OBJECT_ s_matrix) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) const PangoMatrix* matrix = ((const PangoMatrix*)getPtrValue(s_matrix)); PangoGravity ans; ans = pango_gravity_get_for_matrix(matrix); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_gravity_get_for_matrix exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_gravity_get_for_script(USER_OBJECT_ s_script, USER_OBJECT_ s_base_gravity, USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoScript script = ((PangoScript)asCEnum(s_script, PANGO_TYPE_SCRIPT)); PangoGravity base_gravity = ((PangoGravity)asCEnum(s_base_gravity, PANGO_TYPE_GRAVITY)); PangoGravityHint hint = ((PangoGravityHint)asCEnum(s_hint, PANGO_TYPE_GRAVITY_HINT)); PangoGravity ans; ans = pango_gravity_get_for_script(script, base_gravity, hint); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_gravity_get_for_script exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_attr_gravity_new(USER_OBJECT_ s_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoGravity gravity = ((PangoGravity)asCEnum(s_gravity, PANGO_TYPE_GRAVITY)); PangoAttribute* ans; ans = pango_attr_gravity_new(gravity); _result = asRPangoAttribute(ans); #else error("pango_attr_gravity_new exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_attr_gravity_hint_new(USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoGravityHint hint = ((PangoGravityHint)asCEnum(s_hint, PANGO_TYPE_GRAVITY_HINT)); PangoAttribute* ans; ans = pango_attr_gravity_hint_new(hint); _result = asRPangoAttribute(ans); #else error("pango_attr_gravity_hint_new exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_context_set_base_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoGravity gravity = ((PangoGravity)asCEnum(s_gravity, PANGO_TYPE_GRAVITY)); pango_context_set_base_gravity(object, gravity); #else error("pango_context_set_base_gravity exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_context_get_base_gravity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoGravity ans; ans = pango_context_get_base_gravity(object); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_context_get_base_gravity exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_context_get_gravity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoGravity ans; ans = pango_context_get_gravity(object); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_context_get_gravity exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_context_set_gravity_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoGravityHint hint = ((PangoGravityHint)asCEnum(s_hint, PANGO_TYPE_GRAVITY_HINT)); pango_context_set_gravity_hint(object, hint); #else error("pango_context_set_gravity_hint exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_context_get_gravity_hint(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoGravityHint ans; ans = pango_context_get_gravity_hint(object); _result = asREnum(ans, PANGO_TYPE_GRAVITY_HINT); #else error("pango_context_get_gravity_hint exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_font_description_set_gravity(USER_OBJECT_ s_object, USER_OBJECT_ s_gravity) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoGravity gravity = ((PangoGravity)asCEnum(s_gravity, PANGO_TYPE_GRAVITY)); pango_font_description_set_gravity(object, gravity); #else error("pango_font_description_set_gravity exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_font_description_get_gravity(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoFontDescription* object = ((PangoFontDescription*)getPtrValue(s_object)); PangoGravity ans; ans = pango_font_description_get_gravity(object); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_font_description_get_gravity exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_get_line_readonly(USER_OBJECT_ s_object, USER_OBJECT_ s_line) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int line = ((int)asCInteger(s_line)); PangoLayoutLine* ans; ans = pango_layout_get_line_readonly(object, line); _result = toRPointer(ans, "PangoLayoutLine"); #else error("pango_layout_get_line_readonly exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_get_lines_readonly(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); GSList* ans; ans = pango_layout_get_lines_readonly(object); _result = asRGSList(ans, "PangoLayoutLine"); #else error("pango_layout_get_lines_readonly exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_iter_get_line_readonly(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoLayoutLine* ans; ans = pango_layout_iter_get_line_readonly(object); _result = toRPointer(ans, "PangoLayoutLine"); #else error("pango_layout_iter_get_line_readonly exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_iter_get_run_readonly(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayoutIter* object = ((PangoLayoutIter*)getPtrValue(s_object)); PangoLayoutRun* ans; ans = pango_layout_iter_get_run_readonly(object); _result = toRPointer(ans, "PangoLayoutRun"); #else error("pango_layout_iter_get_run_readonly exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_color_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoColor* object = ((PangoColor*)getPtrValue(s_object)); gchar* ans; ans = pango_color_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("pango_color_to_string exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_matrix_transform_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); gdouble* x = ((gdouble*)asCArray(s_x, gdouble, asCNumeric)); gdouble* y = ((gdouble*)asCArray(s_y, gdouble, asCNumeric)); pango_matrix_transform_point(object, x, y); #else error("pango_matrix_transform_point exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_matrix_transform_distance(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); gdouble* dx = ((gdouble*)asCArray(s_dx, gdouble, asCNumeric)); gdouble* dy = ((gdouble*)asCArray(s_dy, gdouble, asCNumeric)); pango_matrix_transform_distance(object, dx, dy); #else error("pango_matrix_transform_distance exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_matrix_transform_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); PangoRectangle* rect = asCPangoRectangle(s_rect); pango_matrix_transform_rectangle(object, rect); #else error("pango_matrix_transform_rectangle exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_matrix_transform_pixel_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rect) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoMatrix* object = ((PangoMatrix*)getPtrValue(s_object)); PangoRectangle* rect = asCPangoRectangle(s_rect); pango_matrix_transform_pixel_rectangle(object, rect); #else error("pango_matrix_transform_pixel_rectangle exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_units_from_double(USER_OBJECT_ s_d) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) double d = ((double)asCNumeric(s_d)); int ans; ans = pango_units_from_double(d); _result = asRInteger(ans); #else error("pango_units_from_double exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_units_to_double(USER_OBJECT_ s_i) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) int i = ((int)asCInteger(s_i)); double ans; ans = pango_units_to_double(i); _result = asRNumeric(ans); #else error("pango_units_to_double exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_extents_to_pixels(USER_OBJECT_ s_inclusive, USER_OBJECT_ s_nearest) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoRectangle* inclusive = asCPangoRectangle(s_inclusive); PangoRectangle* nearest = asCPangoRectangle(s_nearest); pango_extents_to_pixels(inclusive, nearest); #else error("pango_extents_to_pixels exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_is_wrapped(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean ans; ans = pango_layout_is_wrapped(object); _result = asRLogical(ans); #else error("pango_layout_is_wrapped exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_is_ellipsized(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gboolean ans; ans = pango_layout_is_ellipsized(object); _result = asRLogical(ans); #else error("pango_layout_is_ellipsized exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_get_unknown_glyphs_count(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_unknown_glyphs_count(object); _result = asRInteger(ans); #else error("pango_layout_get_unknown_glyphs_count exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_version(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) int ans; ans = pango_version(); _result = asRInteger(ans); #else error("pango_version exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_version_string(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) const char* ans; ans = pango_version_string(); _result = asRString(ans); #else error("pango_version_string exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_version_check(USER_OBJECT_ s_required_major, USER_OBJECT_ s_required_minor, USER_OBJECT_ s_required_micro) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) int required_major = ((int)asCInteger(s_required_major)); int required_minor = ((int)asCInteger(s_required_minor)); int required_micro = ((int)asCInteger(s_required_micro)); const char* ans; ans = pango_version_check(required_major, required_minor, required_micro); _result = asRString(ans); #else error("pango_version_check exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_get_height(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gint ans; ans = pango_layout_get_height(object); _result = asRInteger(ans); #else error("pango_layout_get_height exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_set_height(USER_OBJECT_ s_object, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); gint height = ((gint)asCInteger(s_height)); pango_layout_set_height(object, height); #else error("pango_layout_set_height exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_attribute_init(USER_OBJECT_ s_attr, USER_OBJECT_ s_klass) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoAttribute* attr = ((PangoAttribute*)getPtrValue(s_attr)); const PangoAttrClass* klass = ((const PangoAttrClass*)getPtrValue(s_klass)); pango_attribute_init(attr, klass); #else error("pango_attribute_init exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_iter_get_layout(USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoLayoutIter* iter = ((PangoLayoutIter*)getPtrValue(s_iter)); PangoLayout* ans; ans = pango_layout_iter_get_layout(iter); _result = toRPointerWithRef(ans, "PangoLayout"); #else error("pango_layout_iter_get_layout exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_renderer_get_layout(USER_OBJECT_ s_renderer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoRenderer* renderer = PANGO_RENDERER(getPtrValue(s_renderer)); PangoLayout* ans; ans = pango_renderer_get_layout(renderer); _result = toRPointerWithRef(ans, "PangoLayout"); #else error("pango_renderer_get_layout exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_renderer_get_layout_line(USER_OBJECT_ s_renderer) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 20, 0) PangoRenderer* renderer = PANGO_RENDERER(getPtrValue(s_renderer)); PangoLayoutLine* ans; ans = pango_renderer_get_layout_line(renderer); _result = toRPointer(ans, "PangoLayoutLine"); #else error("pango_renderer_get_layout_line exists only in Pango >= 1.20.0"); #endif return(_result); } USER_OBJECT_ S_pango_font_face_is_synthesized(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) PangoFontFace* object = PANGO_FONT_FACE(getPtrValue(s_object)); gboolean ans; ans = pango_font_face_is_synthesized(object); _result = asRLogical(ans); #else error("pango_font_face_is_synthesized exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_font_get_scaled_font(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) PangoCairoFont* object = PANGO_CAIRO_FONT(getPtrValue(s_object)); cairo_scaled_font_t* ans; ans = pango_cairo_font_get_scaled_font(object); _result = toRPointerWithCairoRef(ans, "CairoScaledFont", cairo_scaled_font); #else error("pango_cairo_font_get_scaled_font exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_font_map_new_for_font_type(USER_OBJECT_ s_fonttype) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) cairo_font_type_t fonttype = ((cairo_font_type_t)asCEnum(s_fonttype, CAIRO_TYPE_FONT_TYPE)); PangoFontMap* ans; ans = pango_cairo_font_map_new_for_font_type(fonttype); _result = toRPointerWithFinalizer(ans, "PangoFontMap", (RPointerFinalizer) g_object_unref); #else error("pango_cairo_font_map_new_for_font_type exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_font_map_get_font_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) PangoCairoFontMap* object = PANGO_CAIRO_FONT_MAP(getPtrValue(s_object)); cairo_font_type_t ans; ans = pango_cairo_font_map_get_font_type(object); _result = asREnum(ans, CAIRO_TYPE_FONT_TYPE); #else error("pango_cairo_font_map_get_font_type exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_context_set_shape_renderer(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) PangoCairoShapeRendererFunc func = ((PangoCairoShapeRendererFunc)S_PangoCairoShapeRendererFunc); R_CallbackData* data = R_createCBData(s_func, s_data); PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); GDestroyNotify dnotify = ((GDestroyNotify)R_freeCBData); pango_cairo_context_set_shape_renderer(object, func, data, dnotify); #else error("pango_cairo_context_set_shape_renderer exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_context_get_shape_renderer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 18, 0) PangoContext* object = PANGO_CONTEXT(getPtrValue(s_object)); PangoCairoShapeRendererFunc ans; gpointer data; ans = pango_cairo_context_get_shape_renderer(object, &data); _result = toRPointer(ans, "PangoCairoShapeRendererFunc"); _result = retByVal(_result, "data", data, NULL); ; #else error("pango_cairo_context_get_shape_renderer exists only in Pango >= 1.18.0"); #endif return(_result); } USER_OBJECT_ S_pango_language_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLanguage* ans; ans = pango_language_get_default(); _result = toRPointer(ans ? (ans) : NULL, "PangoLanguage"); #else error("pango_language_get_default exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_language_get_sample_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 16, 0) PangoLanguage* object = ((PangoLanguage*)getPtrValue(s_object)); const char* ans; ans = pango_language_get_sample_string(object); _result = asRString(ans); #else error("pango_language_get_sample_string exists only in Pango >= 1.16.0"); #endif return(_result); } USER_OBJECT_ S_pango_bidi_type_for_unichar(USER_OBJECT_ s_ch) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) gunichar ch = ((gunichar)asCNumeric(s_ch)); PangoBidiType ans; ans = pango_bidi_type_for_unichar(ch); _result = asREnum(ans, PANGO_TYPE_BIDI_TYPE); #else error("pango_bidi_type_for_unichar exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_attr_type_get_name(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoAttrType type = ((PangoAttrType)asCEnum(s_type, PANGO_TYPE_ATTR_TYPE)); const char* ans; ans = pango_attr_type_get_name(type); _result = asRString(ans); #else error("pango_attr_type_get_name exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_create_context(USER_OBJECT_ s_cr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); PangoContext* ans; ans = pango_cairo_create_context(cr); _result = toRPointerWithFinalizer(ans, "PangoContext", (RPointerFinalizer) g_object_unref); #else error("pango_cairo_create_context exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_font_map_set_default(USER_OBJECT_ s_fontmap) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoCairoFontMap* fontmap = PANGO_CAIRO_FONT_MAP(getPtrValue(s_fontmap)); pango_cairo_font_map_set_default(fontmap); #else error("pango_cairo_font_map_set_default exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_cairo_show_glyph_item(USER_OBJECT_ s_cr, USER_OBJECT_ s_text, USER_OBJECT_ s_glyph_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) cairo_t* cr = ((cairo_t*)getPtrValue(s_cr)); const char* text = ((const char*)asCString(s_text)); PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); pango_cairo_show_glyph_item(cr, text, glyph_item); #else error("pango_cairo_show_glyph_item exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_renderer_draw_glyph_item(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoRenderer* object = PANGO_RENDERER(getPtrValue(s_object)); const char* text = ((const char*)asCString(s_text)); PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); int x = ((int)asCInteger(s_x)); int y = ((int)asCInteger(s_y)); pango_renderer_draw_glyph_item(object, text, glyph_item, x, y); #else error("pango_renderer_draw_glyph_item exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_font_map_create_context(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoFontMap* object = PANGO_FONT_MAP(getPtrValue(s_object)); PangoContext* ans; ans = pango_font_map_create_context(object); _result = toRPointerWithFinalizer(ans, "PangoContext", (RPointerFinalizer) g_object_unref); #else error("pango_font_map_create_context exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_glyph_item_iter_init_start(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoGlyphItemIter* object = ((PangoGlyphItemIter*)getPtrValue(s_object)); PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); const char* text = ((const char*)asCString(s_text)); gboolean ans; ans = pango_glyph_item_iter_init_start(object, glyph_item, text); _result = asRLogical(ans); #else error("pango_glyph_item_iter_init_start exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_glyph_item_iter_init_end(USER_OBJECT_ s_object, USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoGlyphItemIter* object = ((PangoGlyphItemIter*)getPtrValue(s_object)); PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); const char* text = ((const char*)asCString(s_text)); gboolean ans; ans = pango_glyph_item_iter_init_end(object, glyph_item, text); _result = asRLogical(ans); #else error("pango_glyph_item_iter_init_end exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_glyph_item_iter_next_cluster(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoGlyphItemIter* object = ((PangoGlyphItemIter*)getPtrValue(s_object)); gboolean ans; ans = pango_glyph_item_iter_next_cluster(object); _result = asRLogical(ans); #else error("pango_glyph_item_iter_next_cluster exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_glyph_item_iter_prev_cluster(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoGlyphItemIter* object = ((PangoGlyphItemIter*)getPtrValue(s_object)); gboolean ans; ans = pango_glyph_item_iter_prev_cluster(object); _result = asRLogical(ans); #else error("pango_glyph_item_iter_prev_cluster exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_language_get_scripts(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoLanguage* object = ((PangoLanguage*)getPtrValue(s_object)); const PangoScript* ans; int num_scripts; ans = pango_language_get_scripts(object, &num_scripts); _result = asREnumArrayWithSize(ans, PANGO_TYPE_SCRIPT, num_scripts); _result = retByVal(_result, "num.scripts", asRInteger(num_scripts), NULL); ; #else error("pango_language_get_scripts exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_layout_get_baseline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 22, 0) PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); int ans; ans = pango_layout_get_baseline(object); _result = asRInteger(ans); #else error("pango_layout_get_baseline exists only in Pango >= 1.22.0"); #endif return(_result); } USER_OBJECT_ S_pango_gravity_get_for_script_and_width(USER_OBJECT_ s_script, USER_OBJECT_ s_wide, USER_OBJECT_ s_base_gravity, USER_OBJECT_ s_hint) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 26, 0) PangoScript script = ((PangoScript)asCEnum(s_script, PANGO_TYPE_SCRIPT)); gboolean wide = ((gboolean)asCLogical(s_wide)); PangoGravity base_gravity = ((PangoGravity)asCEnum(s_base_gravity, PANGO_TYPE_GRAVITY)); PangoGravityHint hint = ((PangoGravityHint)asCEnum(s_hint, PANGO_TYPE_GRAVITY_HINT)); PangoGravity ans; ans = pango_gravity_get_for_script_and_width(script, wide, base_gravity, hint); _result = asREnum(ans, PANGO_TYPE_GRAVITY); #else error("pango_gravity_get_for_script_and_width exists only in Pango >= 1.26.0"); #endif return(_result); } RGtk2/src/gdkFuncs.h0000644000176000001440000015151612362467242013760 0ustar ripleyusers#ifndef S_GDK_FUNCS_H #define S_GDK_FUNCS_H #include USER_OBJECT_ S_gdk_notify_startup_complete(void); USER_OBJECT_ S_gdk_get_display_arg_name(void); USER_OBJECT_ S_gdk_get_program_class(void); USER_OBJECT_ S_gdk_set_program_class(USER_OBJECT_ s_program_class); USER_OBJECT_ S_gdk_get_display(void); USER_OBJECT_ S_gdk_pointer_grab(USER_OBJECT_ s_window, USER_OBJECT_ s_owner_events, USER_OBJECT_ s_event_mask, USER_OBJECT_ s_confine_to, USER_OBJECT_ s_cursor, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_pointer_ungrab(USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_keyboard_grab(USER_OBJECT_ s_window, USER_OBJECT_ s_owner_events, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_keyboard_ungrab(USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_pointer_is_grabbed(void); USER_OBJECT_ S_gdk_screen_width(void); USER_OBJECT_ S_gdk_screen_height(void); USER_OBJECT_ S_gdk_screen_width_mm(void); USER_OBJECT_ S_gdk_screen_height_mm(void); USER_OBJECT_ S_gdk_flush(void); USER_OBJECT_ S_gdk_beep(void); USER_OBJECT_ S_gdk_set_double_click_time(USER_OBJECT_ s_msec); USER_OBJECT_ S_gdk_cairo_create(USER_OBJECT_ s_drawable); USER_OBJECT_ S_gdk_cairo_set_source_color(USER_OBJECT_ s_cr, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_cairo_set_source_pixbuf(USER_OBJECT_ s_cr, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_pixbuf_x, USER_OBJECT_ s_pixbuf_y); USER_OBJECT_ S_gdk_cairo_rectangle(USER_OBJECT_ s_cr, USER_OBJECT_ s_rectangle); USER_OBJECT_ S_gdk_cairo_region(USER_OBJECT_ s_cr, USER_OBJECT_ s_region); USER_OBJECT_ S_gdk_colormap_get_type(void); USER_OBJECT_ S_gdk_colormap_new(USER_OBJECT_ s_visual, USER_OBJECT_ s_allocate); USER_OBJECT_ S_gdk_colormap_get_system(void); USER_OBJECT_ S_gdk_colormap_get_system_size(void); USER_OBJECT_ S_gdk_colormap_free_colors(USER_OBJECT_ s_object, USER_OBJECT_ s_colors); USER_OBJECT_ S_gdk_colormap_query_color(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel); USER_OBJECT_ S_gdk_colormap_get_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_colormap_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_color_parse(USER_OBJECT_ s_spec); USER_OBJECT_ S_gdk_color_white(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_color_black(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_color_alloc(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_color_change(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_cursor_new(USER_OBJECT_ s_cursor_type); USER_OBJECT_ S_gdk_cursor_new_from_name(USER_OBJECT_ s_display, USER_OBJECT_ s_name); USER_OBJECT_ S_gdk_cursor_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_cursor_type); USER_OBJECT_ S_gdk_cursor_new_from_pixmap(USER_OBJECT_ s_source, USER_OBJECT_ s_mask, USER_OBJECT_ s_fg, USER_OBJECT_ s_bg, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_cursor_new_from_pixbuf(USER_OBJECT_ s_display, USER_OBJECT_ s_source, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_cursor_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_cursor_get_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_type(void); USER_OBJECT_ S_gdk_display_open(USER_OBJECT_ s_display_name); USER_OBJECT_ S_gdk_display_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_n_screens(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen_num); USER_OBJECT_ S_gdk_display_get_default_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_pointer_ungrab(USER_OBJECT_ s_object, USER_OBJECT_ s_time_); USER_OBJECT_ S_gdk_display_keyboard_ungrab(USER_OBJECT_ s_object, USER_OBJECT_ s_time_); USER_OBJECT_ S_gdk_display_pointer_is_grabbed(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_beep(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_sync(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_close(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_list_devices(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_event(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_peek_event(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_put_event(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gdk_display_add_client_message_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_message_type, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_display_set_double_click_time(USER_OBJECT_ s_object, USER_OBJECT_ s_msec); USER_OBJECT_ S_gdk_display_get_default(void); USER_OBJECT_ S_gdk_display_get_core_pointer(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_pointer(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_window_at_pointer(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_warp_pointer(USER_OBJECT_ s_object, USER_OBJECT_ s_screen, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_display_store_clipboard(USER_OBJECT_ s_object, USER_OBJECT_ s_clipboard_window, USER_OBJECT_ s_targets); USER_OBJECT_ S_gdk_display_supports_selection_notification(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_request_selection_notification(USER_OBJECT_ s_object, USER_OBJECT_ s_selection); USER_OBJECT_ S_gdk_display_supports_clipboard_persistence(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_manager_get_type(void); USER_OBJECT_ S_gdk_display_manager_get(void); USER_OBJECT_ S_gdk_display_manager_get_default_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_manager_set_default_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display); USER_OBJECT_ S_gdk_display_manager_list_displays(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_flush(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_set_double_click_distance(USER_OBJECT_ s_object, USER_OBJECT_ s_distance); USER_OBJECT_ S_gdk_display_supports_cursor_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_supports_cursor_color(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_default_cursor_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_maximal_cursor_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_get_default_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drag_context_get_type(void); USER_OBJECT_ S_gdk_drag_context_new(void); USER_OBJECT_ S_gdk_drag_context_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drag_context_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drag_status(USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drop_reply(USER_OBJECT_ s_object, USER_OBJECT_ s_ok, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drop_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_success, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drag_get_selection(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drag_begin(USER_OBJECT_ s_object, USER_OBJECT_ s_targets); USER_OBJECT_ S_gdk_drag_get_protocol(USER_OBJECT_ s_xid); USER_OBJECT_ S_gdk_drag_find_window(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_window, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root); USER_OBJECT_ S_gdk_drag_get_protocol_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_xid); USER_OBJECT_ S_gdk_drag_find_window_for_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_drag_window, USER_OBJECT_ s_screen, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root); USER_OBJECT_ S_gdk_drag_motion(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_window, USER_OBJECT_ s_protocol, USER_OBJECT_ s_x_root, USER_OBJECT_ s_y_root, USER_OBJECT_ s_suggested_action, USER_OBJECT_ s_possible_actions, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drag_drop(USER_OBJECT_ s_object, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drag_abort(USER_OBJECT_ s_object, USER_OBJECT_ s_time); USER_OBJECT_ S_gdk_drag_drop_succeeded(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_type(void); USER_OBJECT_ S_gdk_drawable_set_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_drawable_get_data(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gdk_drawable_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_drawable_get_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_depth(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_draw_point(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_draw_line(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x1, USER_OBJECT_ s_y1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y2); USER_OBJECT_ S_gdk_draw_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_draw_arc(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_angle1, USER_OBJECT_ s_angle2); USER_OBJECT_ S_gdk_draw_polygon(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_filled, USER_OBJECT_ s_points); USER_OBJECT_ S_gdk_draw_string(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string); USER_OBJECT_ S_gdk_draw_text(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length); USER_OBJECT_ S_gdk_draw_text_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_font, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_text); USER_OBJECT_ S_gdk_draw_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_src, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_draw_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_image, USER_OBJECT_ s_xsrc, USER_OBJECT_ s_ysrc, USER_OBJECT_ s_xdest, USER_OBJECT_ s_ydest, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_draw_points(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points); USER_OBJECT_ S_gdk_draw_segments(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_segs); USER_OBJECT_ S_gdk_draw_lines(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_points); USER_OBJECT_ S_gdk_draw_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither); USER_OBJECT_ S_gdk_draw_glyphs(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_gdk_draw_layout_line(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_line); USER_OBJECT_ S_gdk_draw_layout(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout); USER_OBJECT_ S_gdk_draw_layout_line_with_colors(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_line, USER_OBJECT_ s_foreground, USER_OBJECT_ s_background); USER_OBJECT_ S_gdk_draw_layout_with_colors(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout, USER_OBJECT_ s_foreground, USER_OBJECT_ s_background); USER_OBJECT_ S_gdk_draw_glyphs_transformed(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_matrix, USER_OBJECT_ s_font, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_glyphs); USER_OBJECT_ S_gdk_draw_trapezoids(USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_trapezoids); USER_OBJECT_ S_gdk_drawable_get_image(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_drawable_get_clip_region(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_drawable_get_visible_region(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_type(void); USER_OBJECT_ S_gdk_events_pending(void); USER_OBJECT_ S_gdk_event_get(void); USER_OBJECT_ S_gdk_event_peek(void); USER_OBJECT_ S_gdk_event_get_graphics_expose(USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_event_put(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_new(USER_OBJECT_ s_type); USER_OBJECT_ S_gdk_event_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_free(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_time(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_coords(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_root_coords(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_get_axis(USER_OBJECT_ s_object, USER_OBJECT_ s_axis_use); USER_OBJECT_ S_gdk_event_handler_set(USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_event_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gdk_event_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_set_show_events(USER_OBJECT_ s_show_events); USER_OBJECT_ S_gdk_get_show_events(void); USER_OBJECT_ S_gdk_add_client_message_filter(USER_OBJECT_ s_message_type, USER_OBJECT_ s_func, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_setting_get(USER_OBJECT_ s_name); USER_OBJECT_ S_gdk_font_id(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_font_load_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_font_name); USER_OBJECT_ S_gdk_fontset_load_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_fontset_name); USER_OBJECT_ S_gdk_font_from_description_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_font_desc); USER_OBJECT_ S_gdk_font_load(USER_OBJECT_ s_font_name); USER_OBJECT_ S_gdk_fontset_load(USER_OBJECT_ s_fontset_name); USER_OBJECT_ S_gdk_font_from_description(USER_OBJECT_ s_font_desc); USER_OBJECT_ S_gdk_string_width(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gdk_text_width(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length); USER_OBJECT_ S_gdk_text_width_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gdk_char_width(USER_OBJECT_ s_object, USER_OBJECT_ s_character); USER_OBJECT_ S_gdk_char_width_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_character); USER_OBJECT_ S_gdk_string_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gdk_text_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length); USER_OBJECT_ S_gdk_char_measure(USER_OBJECT_ s_object, USER_OBJECT_ s_character); USER_OBJECT_ S_gdk_string_height(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gdk_text_height(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length); USER_OBJECT_ S_gdk_char_height(USER_OBJECT_ s_object, USER_OBJECT_ s_character); USER_OBJECT_ S_gdk_text_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_text_length); USER_OBJECT_ S_gdk_text_extents_wc(USER_OBJECT_ s_object, USER_OBJECT_ s_text); USER_OBJECT_ S_gdk_string_extents(USER_OBJECT_ s_object, USER_OBJECT_ s_string); USER_OBJECT_ S_gdk_font_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_gc_get_type(void); USER_OBJECT_ S_gdk_gc_new(USER_OBJECT_ s_drawable); USER_OBJECT_ S_gdk_gc_get_values(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_gc_set_foreground(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_gc_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_gc_set_font(USER_OBJECT_ s_object, USER_OBJECT_ s_font); USER_OBJECT_ S_gdk_gc_set_function(USER_OBJECT_ s_object, USER_OBJECT_ s_function); USER_OBJECT_ S_gdk_gc_set_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_fill); USER_OBJECT_ S_gdk_gc_set_tile(USER_OBJECT_ s_object, USER_OBJECT_ s_tile); USER_OBJECT_ S_gdk_gc_set_stipple(USER_OBJECT_ s_object, USER_OBJECT_ s_stipple); USER_OBJECT_ S_gdk_gc_set_ts_origin(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_gc_set_clip_origin(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_gc_set_clip_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask); USER_OBJECT_ S_gdk_gc_set_clip_rectangle(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle); USER_OBJECT_ S_gdk_gc_set_clip_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region); USER_OBJECT_ S_gdk_gc_set_subwindow(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gdk_gc_set_exposures(USER_OBJECT_ s_object, USER_OBJECT_ s_exposures); USER_OBJECT_ S_gdk_gc_set_line_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_line_width, USER_OBJECT_ s_line_style, USER_OBJECT_ s_cap_style, USER_OBJECT_ s_join_style); USER_OBJECT_ S_gdk_gc_set_dashes(USER_OBJECT_ s_object, USER_OBJECT_ s_dash_list); USER_OBJECT_ S_gdk_gc_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_x_offset, USER_OBJECT_ s_y_offset); USER_OBJECT_ S_gdk_gc_copy(USER_OBJECT_ s_object, USER_OBJECT_ s_src_gc); USER_OBJECT_ S_gdk_gc_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_gc_get_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_gc_set_rgb_fg_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_gc_set_rgb_bg_color(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_gc_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_image_get_type(void); USER_OBJECT_ S_gdk_image_new(USER_OBJECT_ s_type, USER_OBJECT_ s_visual, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_image_get(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_image_put_pixel(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_pixel); USER_OBJECT_ S_gdk_image_get_pixel(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_image_set_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_image_get_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_device_get_type(void); USER_OBJECT_ S_gdk_devices_list(void); USER_OBJECT_ S_gdk_device_set_source(USER_OBJECT_ s_object, USER_OBJECT_ s_source); USER_OBJECT_ S_gdk_device_set_mode(USER_OBJECT_ s_object, USER_OBJECT_ s_mode); USER_OBJECT_ S_gdk_device_set_key(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers); USER_OBJECT_ S_gdk_device_set_axis_use(USER_OBJECT_ s_object, USER_OBJECT_ s_index, USER_OBJECT_ s_use); USER_OBJECT_ S_gdk_device_get_state(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_device_get_axis(USER_OBJECT_ s_object, USER_OBJECT_ s_axes, USER_OBJECT_ s_use); USER_OBJECT_ S_gdk_input_set_extension_events(USER_OBJECT_ s_object, USER_OBJECT_ s_mask, USER_OBJECT_ s_mode); USER_OBJECT_ S_gdk_device_get_core_pointer(void); USER_OBJECT_ S_gdk_keymap_get_type(void); USER_OBJECT_ S_gdk_keymap_get_default(void); USER_OBJECT_ S_gdk_keymap_get_for_display(USER_OBJECT_ s_display); USER_OBJECT_ S_gdk_keymap_lookup_key(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gdk_keymap_translate_keyboard_state(USER_OBJECT_ s_object, USER_OBJECT_ s_hardware_keycode, USER_OBJECT_ s_state, USER_OBJECT_ s_group); USER_OBJECT_ S_gdk_keymap_get_entries_for_keyval(USER_OBJECT_ s_object, USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keymap_get_entries_for_keycode(USER_OBJECT_ s_object, USER_OBJECT_ s_hardware_keycode); USER_OBJECT_ S_gdk_keymap_get_direction(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_keyval_name(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keyval_from_name(USER_OBJECT_ s_keyval_name); USER_OBJECT_ S_gdk_keyval_convert_case(USER_OBJECT_ s_symbol); USER_OBJECT_ S_gdk_keyval_to_upper(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keyval_to_lower(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keyval_is_upper(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keyval_is_lower(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_keyval_to_unicode(USER_OBJECT_ s_keyval); USER_OBJECT_ S_gdk_unicode_to_keyval(USER_OBJECT_ s_wc); USER_OBJECT_ S_gdk_pango_renderer_get_type(void); USER_OBJECT_ S_gdk_pango_renderer_new(USER_OBJECT_ s_screen); USER_OBJECT_ S_gdk_pango_renderer_get_default(USER_OBJECT_ s_screen); USER_OBJECT_ S_gdk_pango_renderer_set_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable); USER_OBJECT_ S_gdk_pango_renderer_set_gc(USER_OBJECT_ s_object, USER_OBJECT_ s_gc); USER_OBJECT_ S_gdk_pango_renderer_set_stipple(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_stipple); USER_OBJECT_ S_gdk_pango_renderer_set_override_color(USER_OBJECT_ s_object, USER_OBJECT_ s_part, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_pango_context_get_for_screen(USER_OBJECT_ s_screen); USER_OBJECT_ S_gdk_pango_context_get(void); USER_OBJECT_ S_gdk_pango_context_set_colormap(USER_OBJECT_ s_context, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_pango_layout_line_get_clip_region(USER_OBJECT_ s_line, USER_OBJECT_ s_x_origin, USER_OBJECT_ s_index_ranges); USER_OBJECT_ S_gdk_pango_layout_get_clip_region(USER_OBJECT_ s_layout, USER_OBJECT_ s_x_origin, USER_OBJECT_ s_index_ranges); USER_OBJECT_ S_gdk_pango_attr_stipple_new(USER_OBJECT_ s_stipple); USER_OBJECT_ S_gdk_pango_attr_embossed_new(USER_OBJECT_ s_embossed); USER_OBJECT_ S_gdk_pixbuf_render_threshold_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_bitmap, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_alpha_threshold); USER_OBJECT_ S_gdk_pixbuf_render_to_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_gc, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither); USER_OBJECT_ S_gdk_pixbuf_render_to_drawable_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_alpha_mode, USER_OBJECT_ s_alpha_threshold, USER_OBJECT_ s_dither, USER_OBJECT_ s_x_dither, USER_OBJECT_ s_y_dither); USER_OBJECT_ S_gdk_pixmap_get_type(void); USER_OBJECT_ S_gdk_pixmap_new(USER_OBJECT_ s_drawable, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_depth); USER_OBJECT_ S_gdk_bitmap_create_from_data(USER_OBJECT_ s_drawable, USER_OBJECT_ s_data, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_pixmap_create_from_data(USER_OBJECT_ s_drawable, USER_OBJECT_ s_data, USER_OBJECT_ s_height, USER_OBJECT_ s_depth, USER_OBJECT_ s_fg, USER_OBJECT_ s_bg); USER_OBJECT_ S_gdk_pixmap_create_from_xpm(USER_OBJECT_ s_drawable, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_filename); USER_OBJECT_ S_gdk_pixmap_colormap_create_from_xpm(USER_OBJECT_ s_drawable, USER_OBJECT_ s_colormap, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_filename); USER_OBJECT_ S_gdk_pixmap_create_from_xpm_d(USER_OBJECT_ s_drawable, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_pixmap_colormap_create_from_xpm_d(USER_OBJECT_ s_drawable, USER_OBJECT_ s_colormap, USER_OBJECT_ s_transparent_color, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_pixmap_foreign_new(USER_OBJECT_ s_anid); USER_OBJECT_ S_gdk_pixmap_lookup(USER_OBJECT_ s_anid); USER_OBJECT_ S_gdk_pixmap_foreign_new_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_anid); USER_OBJECT_ S_gdk_pixmap_lookup_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_anid); USER_OBJECT_ S_gdk_atom_name(USER_OBJECT_ s_atom); USER_OBJECT_ S_gdk_atom_intern(USER_OBJECT_ s_atom_name, USER_OBJECT_ s_only_if_exists); USER_OBJECT_ S_gdk_property_get(USER_OBJECT_ s_object, USER_OBJECT_ s_property, USER_OBJECT_ s_type, USER_OBJECT_ s_offset, USER_OBJECT_ s_length, USER_OBJECT_ s_pdelete); USER_OBJECT_ S_gdk_property_change(USER_OBJECT_ s_object, USER_OBJECT_ s_property, USER_OBJECT_ s_type, USER_OBJECT_ s_format, USER_OBJECT_ s_mode, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_property_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_property); USER_OBJECT_ S_gdk_rgb_xpixel_from_rgb(USER_OBJECT_ s_rgb); USER_OBJECT_ S_gdk_rgb_gc_set_foreground(USER_OBJECT_ s_gc, USER_OBJECT_ s_rgb); USER_OBJECT_ S_gdk_rgb_gc_set_background(USER_OBJECT_ s_gc, USER_OBJECT_ s_rgb); USER_OBJECT_ S_gdk_draw_rgb_image_dithalign(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_rgb_buf, USER_OBJECT_ s_xdith, USER_OBJECT_ s_ydith); USER_OBJECT_ S_gdk_draw_rgb_32_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf); USER_OBJECT_ S_gdk_draw_rgb_32_image_dithalign(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf, USER_OBJECT_ s_xdith, USER_OBJECT_ s_ydith); USER_OBJECT_ S_gdk_rgb_colormap_ditherable(USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_draw_gray_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf); USER_OBJECT_ S_gdk_rgb_cmap_new(USER_OBJECT_ s_colors); USER_OBJECT_ S_gdk_draw_indexed_image(USER_OBJECT_ s_object, USER_OBJECT_ s_gc, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dith, USER_OBJECT_ s_buf, USER_OBJECT_ s_cmap); USER_OBJECT_ S_gdk_rgb_ditherable(void); USER_OBJECT_ S_gdk_rgb_set_verbose(USER_OBJECT_ s_verbose); USER_OBJECT_ S_gdk_rgb_set_install(USER_OBJECT_ s_install); USER_OBJECT_ S_gdk_rgb_set_min_colors(USER_OBJECT_ s_min_colors); USER_OBJECT_ S_gdk_rgb_get_colormap(void); USER_OBJECT_ S_gdk_rgb_get_cmap(void); USER_OBJECT_ S_gdk_rgb_get_visual(void); USER_OBJECT_ S_gdk_screen_get_type(void); USER_OBJECT_ S_gdk_screen_get_default_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_set_default_colormap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap); USER_OBJECT_ S_gdk_screen_get_system_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_system_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_rgb_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_rgba_colormap(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_rgb_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_rgba_visual(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_root_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_display(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_number(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_height(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_width_mm(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_height_mm(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_list_visuals(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_toplevel_windows(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_make_display_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_n_monitors(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_monitor_geometry(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num); USER_OBJECT_ S_gdk_screen_get_monitor_at_point(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_screen_get_monitor_at_window(USER_OBJECT_ s_object, USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_screen_broadcast_client_message(USER_OBJECT_ s_object, USER_OBJECT_ s_event); USER_OBJECT_ S_gdk_screen_get_default(void); USER_OBJECT_ S_gdk_screen_get_setting(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gdk_spawn_command_line_on_screen(USER_OBJECT_ s_screen, USER_OBJECT_ s_command_line); USER_OBJECT_ S_gtk_alternative_dialog_button_order(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_selection_owner_get(USER_OBJECT_ s_selection); USER_OBJECT_ S_gdk_selection_owner_get_for_display(USER_OBJECT_ s_display, USER_OBJECT_ s_selection); USER_OBJECT_ S_gdk_selection_property_get(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_visual_get_best_depth(void); USER_OBJECT_ S_gdk_visual_get_best_type(void); USER_OBJECT_ S_gdk_visual_get_system(void); USER_OBJECT_ S_gdk_visual_get_best(void); USER_OBJECT_ S_gdk_visual_get_best_with_depth(USER_OBJECT_ s_depth); USER_OBJECT_ S_gdk_visual_get_best_with_type(USER_OBJECT_ s_visual_type); USER_OBJECT_ S_gdk_visual_get_best_with_both(USER_OBJECT_ s_depth, USER_OBJECT_ s_visual_type); USER_OBJECT_ S_gdk_list_visuals(void); USER_OBJECT_ S_gdk_visual_get_screen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_object_get_type(void); USER_OBJECT_ S_gdk_window_set_keep_above(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gdk_window_set_keep_below(USER_OBJECT_ s_object, USER_OBJECT_ s_setting); USER_OBJECT_ S_gdk_window_destroy(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_window_type(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_at_pointer(void); USER_OBJECT_ S_gdk_window_show(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_show_unraised(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_hide(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_withdraw(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_move(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_window_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_window_move_resize(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_window_move_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_window_reparent(USER_OBJECT_ s_object, USER_OBJECT_ s_new_parent, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_window_clear(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_clear_area(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_window_clear_area_e(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_window_raise(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_lower(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gdk_window_set_user_data(USER_OBJECT_ s_object, USER_OBJECT_ s_user_data); USER_OBJECT_ S_gdk_window_get_user_data(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_override_redirect(USER_OBJECT_ s_object, USER_OBJECT_ s_override_redirect); USER_OBJECT_ S_gdk_window_add_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_window_remove_filter(USER_OBJECT_ s_object, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_window_scroll(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_gdk_window_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_mask, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y); USER_OBJECT_ S_gdk_window_shape_combine_region(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_region, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y); USER_OBJECT_ S_gdk_window_set_child_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_merge_child_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_is_visible(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_is_viewable(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_static_gravities(USER_OBJECT_ s_object, USER_OBJECT_ s_use_static); USER_OBJECT_ S_gdk_window_set_hints(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_min_width, USER_OBJECT_ s_min_height, USER_OBJECT_ s_max_width, USER_OBJECT_ s_max_height, USER_OBJECT_ s_flags); USER_OBJECT_ S_gdk_window_set_type_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_hint); USER_OBJECT_ S_gdk_window_set_modal_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal); USER_OBJECT_ S_gdk_window_set_skip_taskbar_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal); USER_OBJECT_ S_gdk_window_set_skip_pager_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_modal); USER_OBJECT_ S_gdk_window_set_urgency_hint(USER_OBJECT_ s_object, USER_OBJECT_ s_urgent); USER_OBJECT_ S_gdk_set_sm_client_id(USER_OBJECT_ s_sm_client_id); USER_OBJECT_ S_gdk_window_begin_paint_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle); USER_OBJECT_ S_gdk_window_begin_paint_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region); USER_OBJECT_ S_gdk_window_end_paint(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_title(USER_OBJECT_ s_object, USER_OBJECT_ s_title); USER_OBJECT_ S_gdk_window_set_role(USER_OBJECT_ s_object, USER_OBJECT_ s_role); USER_OBJECT_ S_gdk_window_set_transient_for(USER_OBJECT_ s_object, USER_OBJECT_ s_leader); USER_OBJECT_ S_gdk_window_set_background(USER_OBJECT_ s_object, USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_window_set_back_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_parent_relative); USER_OBJECT_ S_gdk_window_set_cursor(USER_OBJECT_ s_object, USER_OBJECT_ s_cursor); USER_OBJECT_ S_gdk_window_get_geometry(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_position(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_origin(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_deskrelative_origin(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_root_origin(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_frame_extents(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_pointer(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_toplevel(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_children(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_peek_children(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_events(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_events(USER_OBJECT_ s_object, USER_OBJECT_ s_event_mask); USER_OBJECT_ S_gdk_window_set_icon_list(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbufs); USER_OBJECT_ S_gdk_window_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_window, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask); USER_OBJECT_ S_gdk_window_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_gdk_window_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_leader); USER_OBJECT_ S_gdk_window_get_group(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_decorations(USER_OBJECT_ s_object, USER_OBJECT_ s_decorations); USER_OBJECT_ S_gdk_window_get_decorations(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_functions(USER_OBJECT_ s_object, USER_OBJECT_ s_functions); USER_OBJECT_ S_gdk_window_get_toplevels(void); USER_OBJECT_ S_gdk_window_iconify(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_deiconify(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_stick(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_unstick(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_maximize(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_unmaximize(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_fullscreen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_unfullscreen(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_register_dnd(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_begin_resize_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_edge, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gdk_window_begin_move_drag(USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_root_x, USER_OBJECT_ s_root_y, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gdk_window_invalidate_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rect, USER_OBJECT_ s_invalidate_children); USER_OBJECT_ S_gdk_window_invalidate_region(USER_OBJECT_ s_object, USER_OBJECT_ s_region, USER_OBJECT_ s_invalidate_children); USER_OBJECT_ S_gdk_window_get_update_area(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_freeze_updates(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_thaw_updates(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_process_all_updates(void); USER_OBJECT_ S_gdk_window_process_updates(USER_OBJECT_ s_object, USER_OBJECT_ s_update_children); USER_OBJECT_ S_gdk_window_set_debug_updates(USER_OBJECT_ s_setting); USER_OBJECT_ S_gdk_window_get_internal_paint_info(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_get_default_root_window(void); USER_OBJECT_ S_gdk_window_set_accept_focus(USER_OBJECT_ s_object, USER_OBJECT_ s_accept_focus); USER_OBJECT_ S_gdk_window_set_focus_on_map(USER_OBJECT_ s_object, USER_OBJECT_ s_focus_on_map); USER_OBJECT_ S_gdk_window_enable_synchronized_configure(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_configure_finished(USER_OBJECT_ s_object); USER_OBJECT_ S_gtk_drag_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_success, USER_OBJECT_ s_del, USER_OBJECT_ s_time); USER_OBJECT_ S_gtk_drag_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_set_icon_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_set_icon_pixmap(USER_OBJECT_ s_object, USER_OBJECT_ s_colormap, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_set_icon_pixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_set_icon_stock(USER_OBJECT_ s_object, USER_OBJECT_ s_stock_id, USER_OBJECT_ s_hot_x, USER_OBJECT_ s_hot_y); USER_OBJECT_ S_gtk_drag_set_icon_default(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_colorspace(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_n_channels(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_has_alpha(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_bits_per_sample(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_height(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_get_rowstride(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_new(USER_OBJECT_ s_colorspace, USER_OBJECT_ s_has_alpha, USER_OBJECT_ s_bits_per_sample, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_pixbuf_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_new_from_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gdk_pixbuf_new_from_file_at_size(USER_OBJECT_ s_filename, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_pixbuf_new_from_file_at_scale(USER_OBJECT_ s_filename, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_preserve_aspect_ratio); USER_OBJECT_ S_gdk_pixbuf_new_from_xpm_data(USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_pixbuf_new_from_inline(USER_OBJECT_ s_data, USER_OBJECT_ s_copy_pixels); USER_OBJECT_ S_gdk_pixbuf_new_subpixbuf(USER_OBJECT_ s_object, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_pixbuf_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_pixel); USER_OBJECT_ S_gdk_pixbuf_savev(USER_OBJECT_ s_object, USER_OBJECT_ s_filename, USER_OBJECT_ s_type, USER_OBJECT_ s_option_keys, USER_OBJECT_ s_option_values); USER_OBJECT_ S_gdk_pixbuf_save_to_callbackv(USER_OBJECT_ s_object, USER_OBJECT_ s_save_func, USER_OBJECT_ s_user_data, USER_OBJECT_ s_type, USER_OBJECT_ s_option_keys, USER_OBJECT_ s_option_values); USER_OBJECT_ S_gdk_pixbuf_add_alpha(USER_OBJECT_ s_object, USER_OBJECT_ s_substitute_color, USER_OBJECT_ s_r, USER_OBJECT_ s_g, USER_OBJECT_ s_b); USER_OBJECT_ S_gdk_pixbuf_copy_area(USER_OBJECT_ s_object, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_dest_pixbuf, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y); USER_OBJECT_ S_gdk_pixbuf_saturate_and_pixelate(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_saturation, USER_OBJECT_ s_pixelate); USER_OBJECT_ S_gdk_pixbuf_scale(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type); USER_OBJECT_ S_gdk_pixbuf_composite(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha); USER_OBJECT_ S_gdk_pixbuf_composite_color(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y, USER_OBJECT_ s_scale_x, USER_OBJECT_ s_scale_y, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha, USER_OBJECT_ s_check_x, USER_OBJECT_ s_check_y, USER_OBJECT_ s_check_size, USER_OBJECT_ s_color1, USER_OBJECT_ s_color2); USER_OBJECT_ S_gdk_pixbuf_rotate_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_angle); USER_OBJECT_ S_gdk_pixbuf_flip(USER_OBJECT_ s_object, USER_OBJECT_ s_horizontal); USER_OBJECT_ S_gdk_pixbuf_scale_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_interp_type); USER_OBJECT_ S_gdk_pixbuf_composite_color_simple(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_width, USER_OBJECT_ s_dest_height, USER_OBJECT_ s_interp_type, USER_OBJECT_ s_overall_alpha, USER_OBJECT_ s_check_size, USER_OBJECT_ s_color1, USER_OBJECT_ s_color2); USER_OBJECT_ S_gdk_pixbuf_animation_get_type(void); USER_OBJECT_ S_gdk_pixbuf_animation_new_from_file(USER_OBJECT_ s_filename); USER_OBJECT_ S_gdk_pixbuf_animation_get_width(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_get_height(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_is_static_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_get_static_image(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_get_iter(USER_OBJECT_ s_object, USER_OBJECT_ s_start_time); USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_type(void); USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_delay_time(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_iter_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_iter_on_currently_loading_frame(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_animation_iter_advance(USER_OBJECT_ s_object, USER_OBJECT_ s_current_time); USER_OBJECT_ S_gdk_pixbuf_simple_anim_new(USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_rate); USER_OBJECT_ S_gdk_pixbuf_simple_anim_add_frame(USER_OBJECT_ s_object, USER_OBJECT_ s_pixbuf); USER_OBJECT_ S_gdk_pixbuf_get_option(USER_OBJECT_ s_object, USER_OBJECT_ s_key); USER_OBJECT_ S_gdk_pixbuf_set_option(USER_OBJECT_ s_object, USER_OBJECT_ s_key, USER_OBJECT_ s_value); USER_OBJECT_ S_gdk_pixbuf_get_formats(void); USER_OBJECT_ S_gdk_pixbuf_get_file_info(USER_OBJECT_ s_filename); USER_OBJECT_ S_gdk_pixbuf_format_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_is_scalable(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_is_disabled(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_set_disabled(USER_OBJECT_ s_object, USER_OBJECT_ s_disabled); USER_OBJECT_ S_gdk_pixbuf_format_get_license(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_get_description(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_get_mime_types(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_get_extensions(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_format_is_writable(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_loader_get_type(void); USER_OBJECT_ S_gdk_pixbuf_loader_new(void); USER_OBJECT_ S_gdk_pixbuf_loader_new_with_type(USER_OBJECT_ s_image_type); USER_OBJECT_ S_gdk_pixbuf_loader_new_with_mime_type(USER_OBJECT_ s_mime_type); USER_OBJECT_ S_gdk_pixbuf_loader_write(USER_OBJECT_ s_object, USER_OBJECT_ s_buf); USER_OBJECT_ S_gdk_pixbuf_loader_get_pixbuf(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_loader_get_animation(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_loader_close(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_loader_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_pixbuf_loader_get_format(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_rectangle_intersect(USER_OBJECT_ s_src1, USER_OBJECT_ s_src2); USER_OBJECT_ S_gdk_rectangle_union(USER_OBJECT_ s_src1, USER_OBJECT_ s_src2); USER_OBJECT_ S_gdk_region_new(void); USER_OBJECT_ S_gdk_region_polygon(USER_OBJECT_ s_points, USER_OBJECT_ s_fill_rule); USER_OBJECT_ S_gdk_region_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_region_rectangle(USER_OBJECT_ s_rectangle); USER_OBJECT_ S_gdk_region_get_clipbox(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_region_get_rectangles(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_region_empty(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_region_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_region2); USER_OBJECT_ S_gdk_region_point_in(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_region_rect_in(USER_OBJECT_ s_object, USER_OBJECT_ s_rect); USER_OBJECT_ S_gdk_region_offset(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_gdk_region_shrink(USER_OBJECT_ s_object, USER_OBJECT_ s_dx, USER_OBJECT_ s_dy); USER_OBJECT_ S_gdk_region_union_with_rect(USER_OBJECT_ s_object, USER_OBJECT_ s_rect); USER_OBJECT_ S_gdk_region_intersect(USER_OBJECT_ s_object, USER_OBJECT_ s_source2); USER_OBJECT_ S_gdk_region_union(USER_OBJECT_ s_object, USER_OBJECT_ s_source2); USER_OBJECT_ S_gdk_region_subtract(USER_OBJECT_ s_object, USER_OBJECT_ s_source2); USER_OBJECT_ S_gdk_region_xor(USER_OBJECT_ s_object, USER_OBJECT_ s_source2); USER_OBJECT_ S_gdk_region_spans_intersect_foreach(USER_OBJECT_ s_object, USER_OBJECT_ s_spans, USER_OBJECT_ s_sorted, USER_OBJECT_ s_function, USER_OBJECT_ s_data); USER_OBJECT_ S_gdk_cairo_set_source_pixmap(USER_OBJECT_ s_cr, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_pixmap_x, USER_OBJECT_ s_pixmap_y); USER_OBJECT_ S_gdk_display_supports_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_supports_input_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixmap_foreign_new_for_screen(USER_OBJECT_ s_screen, USER_OBJECT_ s_anid, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_depth); USER_OBJECT_ S_gdk_atom_intern_static_string(USER_OBJECT_ s_atom_name); USER_OBJECT_ S_gdk_screen_is_composited(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_set_font_options(USER_OBJECT_ s_object, USER_OBJECT_ s_options); USER_OBJECT_ S_gdk_screen_get_font_options(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_set_resolution(USER_OBJECT_ s_object, USER_OBJECT_ s_dpi); USER_OBJECT_ S_gdk_screen_get_resolution(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_active_window(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_window_stack(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_input_shape_combine_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_window_input_shape_combine_region(USER_OBJECT_ s_object, USER_OBJECT_ s_shape_region, USER_OBJECT_ s_offset_x, USER_OBJECT_ s_offset_y); USER_OBJECT_ S_gdk_window_set_child_input_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_merge_child_input_shapes(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_type_hint(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_color_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_display_supports_composite(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_event_request_motions(USER_OBJECT_ s_event); USER_OBJECT_ S_gdk_keymap_have_bidi_layouts(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pango_attr_emboss_color_new(USER_OBJECT_ s_color); USER_OBJECT_ S_gdk_window_set_composited(USER_OBJECT_ s_object, USER_OBJECT_ s_composited); USER_OBJECT_ S_gdk_window_set_startup_id(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_id); USER_OBJECT_ S_gdk_window_beep(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_set_opacity(USER_OBJECT_ s_object, USER_OBJECT_ s_opacity); USER_OBJECT_ S_gdk_notify_startup_complete_with_id(USER_OBJECT_ s_id); USER_OBJECT_ S_gdk_pixbuf_apply_embedded_orientation(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_app_launch_context_get_type(void); USER_OBJECT_ S_gdk_app_launch_context_new(void); USER_OBJECT_ S_gdk_app_launch_context_set_display(USER_OBJECT_ s_object, USER_OBJECT_ s_display); USER_OBJECT_ S_gdk_app_launch_context_set_screen(USER_OBJECT_ s_object, USER_OBJECT_ s_screen); USER_OBJECT_ S_gdk_app_launch_context_set_desktop(USER_OBJECT_ s_object, USER_OBJECT_ s_desktop); USER_OBJECT_ S_gdk_app_launch_context_set_timestamp(USER_OBJECT_ s_object, USER_OBJECT_ s_timestamp); USER_OBJECT_ S_gdk_app_launch_context_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon); USER_OBJECT_ S_gdk_app_launch_context_set_icon_name(USER_OBJECT_ s_object, USER_OBJECT_ s_icon_name); USER_OBJECT_ S_gdk_screen_get_monitor_width_mm(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num); USER_OBJECT_ S_gdk_screen_get_monitor_height_mm(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num); USER_OBJECT_ S_gdk_screen_get_monitor_plug_name(USER_OBJECT_ s_object, USER_OBJECT_ s_monitor_num); USER_OBJECT_ S_gdk_window_redirect_to_drawable(USER_OBJECT_ s_object, USER_OBJECT_ s_drawable, USER_OBJECT_ s_src_x, USER_OBJECT_ s_src_y, USER_OBJECT_ s_dest_x, USER_OBJECT_ s_dest_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height); USER_OBJECT_ S_gdk_window_remove_redirection(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_pixbuf_new_from_stream(USER_OBJECT_ s_stream, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_gdk_pixbuf_new_from_stream_at_scale(USER_OBJECT_ s_stream, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_preserve_aspect_ratio, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_gdk_test_render_sync(USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_test_simulate_key(USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifiers, USER_OBJECT_ s_key_pressrelease); USER_OBJECT_ S_gdk_test_simulate_button(USER_OBJECT_ s_window, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_button, USER_OBJECT_ s_modifiers, USER_OBJECT_ s_button_pressrelease); USER_OBJECT_ S_gdk_pixbuf_save_to_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_stream, USER_OBJECT_ s_type, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_gdk_keymap_get_caps_lock_state(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_cairo_reset_clip(USER_OBJECT_ s_cr, USER_OBJECT_ s_drawable); USER_OBJECT_ S_gdk_offscreen_window_get_pixmap(USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_offscreen_window_set_embedder(USER_OBJECT_ s_window, USER_OBJECT_ s_embedder); USER_OBJECT_ S_gdk_offscreen_window_get_embedder(USER_OBJECT_ s_window); USER_OBJECT_ S_gdk_region_rect_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_rectangle); USER_OBJECT_ S_gdk_window_ensure_native(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_flush(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_geometry_changed(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_cursor(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_restack(USER_OBJECT_ s_object, USER_OBJECT_ s_sibling, USER_OBJECT_ s_above); USER_OBJECT_ S_gdk_window_is_destroyed(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_window_get_root_coords(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y); USER_OBJECT_ S_gdk_pixbuf_simple_anim_set_loop(USER_OBJECT_ s_object, USER_OBJECT_ s_loop); USER_OBJECT_ S_gdk_pixbuf_simple_anim_get_loop(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_keymap_add_virtual_modifiers(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_keymap_map_virtual_modifiers(USER_OBJECT_ s_object); USER_OBJECT_ S_gdk_screen_get_primary_monitor(USER_OBJECT_ s_object); #endif RGtk2/src/Makevars.in0000644000176000001440000000015011766145227014132 0ustar ripleyusersPKG_CPPFLAGS=-g -D_R_=1 @GTK_CFLAGS@ -I. @DEFINES@ @CPPFLAGS@ PKG_LIBS=@GTK_LIBS@ @GTHREAD_LIBS@ @LIBS@ RGtk2/src/gtkClasses.c0000644000176000001440000247440212362467242014316 0ustar ripleyusers#include "RGtk2/gtkClasses.h" static SEXP S_GtkAboutDialog_symbol; void S_gtk_about_dialog_class_init(GtkAboutDialogClass * c, SEXP e) { SEXP s; S_GtkAboutDialog_symbol = install("GtkAboutDialog"); s = findVar(S_GtkAboutDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAboutDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkAccelGroup_symbol; static void S_virtual_gtk_accel_group_accel_changed(GtkAccelGroup* s_object, guint s_keyval, GdkModifierType s_modifier, GClosure* s_accel_closure) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAccelGroup_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAccelGroup"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_keyval)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_modifier, GDK_TYPE_MODIFIER_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGClosure(s_accel_closure)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_accel_group_class_init(GtkAccelGroupClass * c, SEXP e) { SEXP s; S_GtkAccelGroup_symbol = install("GtkAccelGroup"); s = findVar(S_GtkAccelGroup_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAccelGroupClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->accel_changed = S_virtual_gtk_accel_group_accel_changed; } USER_OBJECT_ S_gtk_accel_group_class_accel_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_keyval, USER_OBJECT_ s_modifier, USER_OBJECT_ s_accel_closure) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccelGroupClass* object_class = ((GtkAccelGroupClass*)getPtrValue(s_object_class)); GtkAccelGroup* object = GTK_ACCEL_GROUP(getPtrValue(s_object)); guint keyval = ((guint)asCNumeric(s_keyval)); GdkModifierType modifier = ((GdkModifierType)asCFlag(s_modifier, GDK_TYPE_MODIFIER_TYPE)); GClosure* accel_closure = asCGClosure(s_accel_closure); object_class->accel_changed(object, keyval, modifier, accel_closure); return(_result); } static SEXP S_GtkAccelLabel_symbol; void S_gtk_accel_label_class_init(GtkAccelLabelClass * c, SEXP e) { SEXP s; S_GtkAccelLabel_symbol = install("GtkAccelLabel"); s = findVar(S_GtkAccelLabel_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAccelLabelClass)) = e; S_gtk_label_class_init(((GtkLabelClass *)c), e); } static SEXP S_GtkAccessible_symbol; static void S_virtual_gtk_accessible_connect_widget_destroyed(GtkAccessible* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAccessible_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAccessible"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_accessible_class_init(GtkAccessibleClass * c, SEXP e) { SEXP s; S_GtkAccessible_symbol = install("GtkAccessible"); s = findVar(S_GtkAccessible_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAccessibleClass)) = e; S_atk_object_class_init(((AtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->connect_widget_destroyed = S_virtual_gtk_accessible_connect_widget_destroyed; } USER_OBJECT_ S_gtk_accessible_class_connect_widget_destroyed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAccessibleClass* object_class = ((GtkAccessibleClass*)getPtrValue(s_object_class)); GtkAccessible* object = GTK_ACCESSIBLE(getPtrValue(s_object)); object_class->connect_widget_destroyed(object); return(_result); } static SEXP S_GtkAction_symbol; static void S_virtual_gtk_action_activate(GtkAction* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_action_connect_proxy(GtkAction* s_object, GtkWidget* s_proxy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAction"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_proxy, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkWidget* S_virtual_gtk_action_create_menu_item(GtkAction* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkWidget*)0)); return(GTK_WIDGET(getPtrValue(s_ans))); } static GtkWidget* S_virtual_gtk_action_create_tool_item(GtkAction* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkWidget*)0)); return(GTK_WIDGET(getPtrValue(s_ans))); } static void S_virtual_gtk_action_disconnect_proxy(GtkAction* s_object, GtkWidget* s_proxy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAction_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkAction"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_proxy, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_action_class_init(GtkActionClass * c, SEXP e) { SEXP s; S_GtkAction_symbol = install("GtkAction"); s = findVar(S_GtkAction_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkActionClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_action_activate; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->connect_proxy = S_virtual_gtk_action_connect_proxy; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->create_menu_item = S_virtual_gtk_action_create_menu_item; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->create_tool_item = S_virtual_gtk_action_create_tool_item; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->disconnect_proxy = S_virtual_gtk_action_disconnect_proxy; } USER_OBJECT_ S_gtk_action_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionClass* object_class = ((GtkActionClass*)getPtrValue(s_object_class)); GtkAction* object = GTK_ACTION(getPtrValue(s_object)); object_class->activate(object); return(_result); } USER_OBJECT_ S_gtk_action_class_connect_proxy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionClass* object_class = ((GtkActionClass*)getPtrValue(s_object_class)); GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); object_class->connect_proxy(object, proxy); return(_result); } USER_OBJECT_ S_gtk_action_class_create_menu_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionClass* object_class = ((GtkActionClass*)getPtrValue(s_object_class)); GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* ans; ans = object_class->create_menu_item(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_action_class_create_tool_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionClass* object_class = ((GtkActionClass*)getPtrValue(s_object_class)); GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* ans; ans = object_class->create_tool_item(object); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_action_class_disconnect_proxy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionClass* object_class = ((GtkActionClass*)getPtrValue(s_object_class)); GtkAction* object = GTK_ACTION(getPtrValue(s_object)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); object_class->disconnect_proxy(object, proxy); return(_result); } static SEXP S_GtkActionGroup_symbol; static GtkAction* S_virtual_gtk_action_group_get_action(GtkActionGroup* s_object, const gchar* s_action_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkActionGroup_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkActionGroup"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_action_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkAction*)0)); return(GTK_ACTION(getPtrValue(s_ans))); } void S_gtk_action_group_class_init(GtkActionGroupClass * c, SEXP e) { SEXP s; S_GtkActionGroup_symbol = install("GtkActionGroup"); s = findVar(S_GtkActionGroup_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkActionGroupClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_action = S_virtual_gtk_action_group_get_action; } USER_OBJECT_ S_gtk_action_group_class_get_action(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkActionGroupClass* object_class = ((GtkActionGroupClass*)getPtrValue(s_object_class)); GtkActionGroup* object = GTK_ACTION_GROUP(getPtrValue(s_object)); const gchar* action_name = ((const gchar*)asCString(s_action_name)); GtkAction* ans; ans = object_class->get_action(object, action_name); _result = toRPointerWithRef(ans, "GtkAction"); return(_result); } static SEXP S_GtkAdjustment_symbol; static void S_virtual_gtk_adjustment_changed(GtkAdjustment* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAdjustment_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAdjustment"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_adjustment_value_changed(GtkAdjustment* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAdjustment_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAdjustment"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_adjustment_class_init(GtkAdjustmentClass * c, SEXP e) { SEXP s; S_GtkAdjustment_symbol = install("GtkAdjustment"); s = findVar(S_GtkAdjustment_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAdjustmentClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_adjustment_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->value_changed = S_virtual_gtk_adjustment_value_changed; } USER_OBJECT_ S_gtk_adjustment_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustmentClass* object_class = ((GtkAdjustmentClass*)getPtrValue(s_object_class)); GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); object_class->changed(object); return(_result); } USER_OBJECT_ S_gtk_adjustment_class_value_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkAdjustmentClass* object_class = ((GtkAdjustmentClass*)getPtrValue(s_object_class)); GtkAdjustment* object = GTK_ADJUSTMENT(getPtrValue(s_object)); object_class->value_changed(object); return(_result); } static SEXP S_GtkAlignment_symbol; void S_gtk_alignment_class_init(GtkAlignmentClass * c, SEXP e) { SEXP s; S_GtkAlignment_symbol = install("GtkAlignment"); s = findVar(S_GtkAlignment_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAlignmentClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); } static SEXP S_GtkArrow_symbol; void S_gtk_arrow_class_init(GtkArrowClass * c, SEXP e) { SEXP s; S_GtkArrow_symbol = install("GtkArrow"); s = findVar(S_GtkArrow_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkArrowClass)) = e; S_gtk_misc_class_init(((GtkMiscClass *)c), e); } static SEXP S_GtkAspectFrame_symbol; void S_gtk_aspect_frame_class_init(GtkAspectFrameClass * c, SEXP e) { SEXP s; S_GtkAspectFrame_symbol = install("GtkAspectFrame"); s = findVar(S_GtkAspectFrame_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAspectFrameClass)) = e; S_gtk_frame_class_init(((GtkFrameClass *)c), e); } static SEXP S_GtkBin_symbol; void S_gtk_bin_class_init(GtkBinClass * c, SEXP e) { SEXP s; S_GtkBin_symbol = install("GtkBin"); s = findVar(S_GtkBin_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkBinClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } static SEXP S_GtkBox_symbol; void S_gtk_box_class_init(GtkBoxClass * c, SEXP e) { SEXP s; S_GtkBox_symbol = install("GtkBox"); s = findVar(S_GtkBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkBoxClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } static SEXP S_GtkButton_symbol; static void S_virtual_gtk_button_pressed(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_button_released(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_button_clicked(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_button_enter(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_button_leave(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_button_activate(GtkButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkButton_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_button_class_init(GtkButtonClass * c, SEXP e) { SEXP s; S_GtkButton_symbol = install("GtkButton"); s = findVar(S_GtkButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkButtonClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->pressed = S_virtual_gtk_button_pressed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->released = S_virtual_gtk_button_released; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->clicked = S_virtual_gtk_button_clicked; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->enter = S_virtual_gtk_button_enter; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->leave = S_virtual_gtk_button_leave; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_button_activate; } USER_OBJECT_ S_gtk_button_class_pressed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->pressed(object); return(_result); } USER_OBJECT_ S_gtk_button_class_released(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->released(object); return(_result); } USER_OBJECT_ S_gtk_button_class_clicked(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->clicked(object); return(_result); } USER_OBJECT_ S_gtk_button_class_enter(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->enter(object); return(_result); } USER_OBJECT_ S_gtk_button_class_leave(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->leave(object); return(_result); } USER_OBJECT_ S_gtk_button_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkButtonClass* object_class = ((GtkButtonClass*)getPtrValue(s_object_class)); GtkButton* object = GTK_BUTTON(getPtrValue(s_object)); object_class->activate(object); return(_result); } static SEXP S_GtkButtonBox_symbol; void S_gtk_button_box_class_init(GtkButtonBoxClass * c, SEXP e) { SEXP s; S_GtkButtonBox_symbol = install("GtkButtonBox"); s = findVar(S_GtkButtonBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkButtonBoxClass)) = e; S_gtk_box_class_init(((GtkBoxClass *)c), e); } static SEXP S_GtkCalendar_symbol; static void S_virtual_gtk_calendar_month_changed(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_day_selected(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_day_selected_double_click(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_prev_month(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_next_month(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_prev_year(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_calendar_next_year(GtkCalendar* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCalendar_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCalendar"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_calendar_class_init(GtkCalendarClass * c, SEXP e) { SEXP s; S_GtkCalendar_symbol = install("GtkCalendar"); s = findVar(S_GtkCalendar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCalendarClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->month_changed = S_virtual_gtk_calendar_month_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->day_selected = S_virtual_gtk_calendar_day_selected; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->day_selected_double_click = S_virtual_gtk_calendar_day_selected_double_click; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->prev_month = S_virtual_gtk_calendar_prev_month; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->next_month = S_virtual_gtk_calendar_next_month; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->prev_year = S_virtual_gtk_calendar_prev_year; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->next_year = S_virtual_gtk_calendar_next_year; } USER_OBJECT_ S_gtk_calendar_class_month_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->month_changed(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_day_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->day_selected(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_day_selected_double_click(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->day_selected_double_click(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_prev_month(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->prev_month(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_next_month(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->next_month(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_prev_year(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->prev_year(object); return(_result); } USER_OBJECT_ S_gtk_calendar_class_next_year(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCalendarClass* object_class = ((GtkCalendarClass*)getPtrValue(s_object_class)); GtkCalendar* object = GTK_CALENDAR(getPtrValue(s_object)); object_class->next_year(object); return(_result); } static SEXP S_GtkCellRenderer_symbol; static void S_virtual_gtk_cell_renderer_get_size(GtkCellRenderer* s_object, GtkWidget* s_widget, GdkRectangle* s_cell_area, gint* s_x_offset, gint* s_y_offset, gint* s_width, gint* s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_cell_area)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y_offset = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_width = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); *s_height = ((gint)asCInteger(VECTOR_ELT(s_ans, 3))); } static void S_virtual_gtk_cell_renderer_render(GtkCellRenderer* s_object, GdkDrawable* s_window, GtkWidget* s_widget, GdkRectangle* s_background_area, GdkRectangle* s_cell_area, GdkRectangle* s_expose_area, GtkCellRendererState s_flags) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkDrawable")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_background_area)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_cell_area)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_expose_area)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_cell_renderer_activate(GtkCellRenderer* s_object, GdkEvent* s_event, GtkWidget* s_widget, const gchar* s_path, GdkRectangle* s_background_area, GdkRectangle* s_cell_area, GtkCellRendererState s_flags) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_background_area)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_cell_area)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_cell_renderer_editing_canceled(GtkCellRenderer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_renderer_editing_started(GtkCellRenderer* s_object, GtkCellEditable* s_editable, const gchar* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_editable, "GtkCellEditable")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkCellEditable* S_virtual_gtk_cell_renderer_start_editing(GtkCellRenderer* s_object, GdkEvent* s_event, GtkWidget* s_widget, const gchar* s_path, GdkRectangle* s_background_area, GdkRectangle* s_cell_area, GtkCellRendererState s_flags) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRenderer_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRenderer"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_background_area)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_cell_area)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkCellEditable*)0)); return(GTK_CELL_EDITABLE(getPtrValue(s_ans))); } void S_gtk_cell_renderer_class_init(GtkCellRendererClass * c, SEXP e) { SEXP s; S_GtkCellRenderer_symbol = install("GtkCellRenderer"); s = findVar(S_GtkCellRenderer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_size = S_virtual_gtk_cell_renderer_get_size; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->render = S_virtual_gtk_cell_renderer_render; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_cell_renderer_activate; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->editing_canceled = S_virtual_gtk_cell_renderer_editing_canceled; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->editing_started = S_virtual_gtk_cell_renderer_editing_started; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->start_editing = S_virtual_gtk_cell_renderer_start_editing; } USER_OBJECT_ S_gtk_cell_renderer_class_get_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_cell_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); gint x_offset; gint y_offset; gint width; gint height; object_class->get_size(object, widget, cell_area, &x_offset, &y_offset, &width, &height); _result = retByVal(_result, "x.offset", asRInteger(x_offset), "y.offset", asRInteger(y_offset), "width", asRInteger(width), "height", asRInteger(height), NULL); ; ; ; ; return(_result); } USER_OBJECT_ S_gtk_cell_renderer_class_render(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_widget, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_expose_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkDrawable* window = GDK_DRAWABLE(getPtrValue(s_window)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GdkRectangle* expose_area = asCGdkRectangle(s_expose_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); object_class->render(object, window, widget, background_area, cell_area, expose_area, flags); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* path = ((const gchar*)asCString(s_path)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); gboolean ans; ans = object_class->activate(object, event, widget, path, background_area, cell_area, flags); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_class_editing_canceled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); object_class->editing_canceled(object); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_class_editing_started(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_editable, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GtkCellEditable* editable = GTK_CELL_EDITABLE(getPtrValue(s_editable)); const gchar* path = ((const gchar*)asCString(s_path)); object_class->editing_started(object, editable, path); return(_result); } USER_OBJECT_ S_gtk_cell_renderer_class_start_editing(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event, USER_OBJECT_ s_widget, USER_OBJECT_ s_path, USER_OBJECT_ s_background_area, USER_OBJECT_ s_cell_area, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererClass* object_class = ((GtkCellRendererClass*)getPtrValue(s_object_class)); GtkCellRenderer* object = GTK_CELL_RENDERER(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* path = ((const gchar*)asCString(s_path)); GdkRectangle* background_area = asCGdkRectangle(s_background_area); GdkRectangle* cell_area = asCGdkRectangle(s_cell_area); GtkCellRendererState flags = ((GtkCellRendererState)asCFlag(s_flags, GTK_TYPE_CELL_RENDERER_STATE)); GtkCellEditable* ans; ans = object_class->start_editing(object, event, widget, path, background_area, cell_area, flags); _result = toRPointerWithRef(ans, "GtkCellEditable"); return(_result); } static SEXP S_GtkCellRendererCombo_symbol; void S_gtk_cell_renderer_combo_class_init(GtkCellRendererComboClass * c, SEXP e) { SEXP s; S_GtkCellRendererCombo_symbol = install("GtkCellRendererCombo"); s = findVar(S_GtkCellRendererCombo_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererComboClass)) = e; S_gtk_cell_renderer_text_class_init(((GtkCellRendererTextClass *)c), e); } static SEXP S_GtkCellRendererPixbuf_symbol; void S_gtk_cell_renderer_pixbuf_class_init(GtkCellRendererPixbufClass * c, SEXP e) { SEXP s; S_GtkCellRendererPixbuf_symbol = install("GtkCellRendererPixbuf"); s = findVar(S_GtkCellRendererPixbuf_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererPixbufClass)) = e; S_gtk_cell_renderer_class_init(((GtkCellRendererClass *)c), e); } static SEXP S_GtkCellRendererProgress_symbol; void S_gtk_cell_renderer_progress_class_init(GtkCellRendererProgressClass * c, SEXP e) { SEXP s; S_GtkCellRendererProgress_symbol = install("GtkCellRendererProgress"); s = findVar(S_GtkCellRendererProgress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererProgressClass)) = e; S_gtk_cell_renderer_class_init(((GtkCellRendererClass *)c), e); } static SEXP S_GtkCellRendererText_symbol; static void S_virtual_gtk_cell_renderer_text_edited(GtkCellRendererText* s_object, const gchar* s_path, const gchar* s_new_text) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRendererText_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRendererText"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_new_text)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_cell_renderer_text_class_init(GtkCellRendererTextClass * c, SEXP e) { SEXP s; S_GtkCellRendererText_symbol = install("GtkCellRendererText"); s = findVar(S_GtkCellRendererText_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererTextClass)) = e; S_gtk_cell_renderer_class_init(((GtkCellRendererClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->edited = S_virtual_gtk_cell_renderer_text_edited; } USER_OBJECT_ S_gtk_cell_renderer_text_class_edited(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_new_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererTextClass* object_class = ((GtkCellRendererTextClass*)getPtrValue(s_object_class)); GtkCellRendererText* object = GTK_CELL_RENDERER_TEXT(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); const gchar* new_text = ((const gchar*)asCString(s_new_text)); object_class->edited(object, path, new_text); return(_result); } static SEXP S_GtkCellRendererToggle_symbol; static void S_virtual_gtk_cell_renderer_toggle_toggled(GtkCellRendererToggle* s_object, const gchar* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRendererToggle_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRendererToggle"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_cell_renderer_toggle_class_init(GtkCellRendererToggleClass * c, SEXP e) { SEXP s; S_GtkCellRendererToggle_symbol = install("GtkCellRendererToggle"); s = findVar(S_GtkCellRendererToggle_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererToggleClass)) = e; S_gtk_cell_renderer_class_init(((GtkCellRendererClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggled = S_virtual_gtk_cell_renderer_toggle_toggled; } USER_OBJECT_ S_gtk_cell_renderer_toggle_class_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellRendererToggleClass* object_class = ((GtkCellRendererToggleClass*)getPtrValue(s_object_class)); GtkCellRendererToggle* object = GTK_CELL_RENDERER_TOGGLE(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); object_class->toggled(object, path); return(_result); } static SEXP S_GtkCellView_symbol; void S_gtk_cell_view_class_init(GtkCellViewClass * c, SEXP e) { SEXP s; S_GtkCellView_symbol = install("GtkCellView"); s = findVar(S_GtkCellView_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellViewClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkCheckButton_symbol; static void S_virtual_gtk_check_button_draw_indicator(GtkCheckButton* s_object, GdkRectangle* s_area) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCheckButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCheckButton"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_check_button_class_init(GtkCheckButtonClass * c, SEXP e) { SEXP s; S_GtkCheckButton_symbol = install("GtkCheckButton"); s = findVar(S_GtkCheckButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCheckButtonClass)) = e; S_gtk_toggle_button_class_init(((GtkToggleButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->draw_indicator = S_virtual_gtk_check_button_draw_indicator; } USER_OBJECT_ S_gtk_check_button_class_draw_indicator(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckButtonClass* object_class = ((GtkCheckButtonClass*)getPtrValue(s_object_class)); GtkCheckButton* object = GTK_CHECK_BUTTON(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); object_class->draw_indicator(object, area); return(_result); } static SEXP S_GtkCheckMenuItem_symbol; static void S_virtual_gtk_check_menu_item_toggled(GtkCheckMenuItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCheckMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCheckMenuItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_check_menu_item_draw_indicator(GtkCheckMenuItem* s_object, GdkRectangle* s_area) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCheckMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCheckMenuItem"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_check_menu_item_class_init(GtkCheckMenuItemClass * c, SEXP e) { SEXP s; S_GtkCheckMenuItem_symbol = install("GtkCheckMenuItem"); s = findVar(S_GtkCheckMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCheckMenuItemClass)) = e; S_gtk_menu_item_class_init(((GtkMenuItemClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggled = S_virtual_gtk_check_menu_item_toggled; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->draw_indicator = S_virtual_gtk_check_menu_item_draw_indicator; } USER_OBJECT_ S_gtk_check_menu_item_class_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItemClass* object_class = ((GtkCheckMenuItemClass*)getPtrValue(s_object_class)); GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); object_class->toggled(object); return(_result); } USER_OBJECT_ S_gtk_check_menu_item_class_draw_indicator(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCheckMenuItemClass* object_class = ((GtkCheckMenuItemClass*)getPtrValue(s_object_class)); GtkCheckMenuItem* object = GTK_CHECK_MENU_ITEM(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); object_class->draw_indicator(object, area); return(_result); } static SEXP S_GtkCList_symbol; static void S_virtual_gtk_clist_set_scroll_adjustments(GtkCList* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_refresh(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_select_row(GtkCList* s_object, gint s_row, gint s_column, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_unselect_row(GtkCList* s_object, gint s_row, gint s_column, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_row_move(GtkCList* s_object, gint s_source_row, gint s_dest_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_source_row)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_dest_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_click_column(GtkCList* s_object, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_resize_column(GtkCList* s_object, gint s_column, gint s_width) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_toggle_focus_row(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_select_all(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_unselect_all(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_undo_selection(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_start_selection(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_end_selection(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_extend_selection(GtkCList* s_object, GtkScrollType s_scroll_type, gfloat s_position, gboolean s_auto_start_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_auto_start_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_scroll_horizontal(GtkCList* s_object, GtkScrollType s_scroll_type, gfloat s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_scroll_vertical(GtkCList* s_object, GtkScrollType s_scroll_type, gfloat s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_toggle_add_mode(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_abort_column_resize(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_resync_selection(GtkCList* s_object, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GList* S_virtual_gtk_clist_selection_find(GtkCList* s_object, gint s_row_number, GList* s_row_list_element) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row_number)); tmp = CDR(tmp); SETCAR(tmp, asRGList(s_row_list_element, "GtkCListRow")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GList*)0)); return(((GList*)asCArrayRef(s_ans, GList, asCGList))); } static void S_virtual_gtk_clist_draw_row(GtkCList* s_object, GdkRectangle* s_area, gint s_row, GtkCListRow* s_clist_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_clist_row, "GtkCListRow")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_draw_drag_highlight(GtkCList* s_object, GtkCListRow* s_target_row, gint s_target_row_number, GtkCListDragPos s_drag_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_target_row, "GtkCListRow")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_target_row_number)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_drag_pos, GTK_TYPE_CLIST_DRAG_POS)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_clear(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_fake_unselect_all(GtkCList* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_sort_list(GtkCList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_gtk_clist_insert_row(GtkCList* s_object, gint s_row, gchar** s_text) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); SETCAR(tmp, asRStringArrayWithSize(s_text, s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static void S_virtual_gtk_clist_remove_row(GtkCList* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 26)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_set_cell_contents(GtkCList* s_object, GtkCListRow* s_clist_row, gint s_column, GtkCellType s_type, const gchar* s_text, guint8 s_spacing, GdkPixmap* s_pixmap, GdkBitmap* s_mask) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 9)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 27)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_clist_row, "GtkCListRow")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, GTK_TYPE_CELL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRRaw(s_spacing)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_pixmap, "GdkPixmap")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mask, "GdkBitmap")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_clist_cell_size_request(GtkCList* s_object, GtkCListRow* s_clist_row, gint s_column, GtkRequisition* s_requisition) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCList_symbol, S_GOBJECT_GET_ENV(s_object)), 28)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_clist_row, "GtkCListRow")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_requisition ? gtk_requisition_copy(s_requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_clist_class_init(GtkCListClass * c, SEXP e) { SEXP s; S_GtkCList_symbol = install("GtkCList"); s = findVar(S_GtkCList_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCListClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_clist_set_scroll_adjustments; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->refresh = S_virtual_gtk_clist_refresh; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->select_row = S_virtual_gtk_clist_select_row; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->unselect_row = S_virtual_gtk_clist_unselect_row; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->row_move = S_virtual_gtk_clist_row_move; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->click_column = S_virtual_gtk_clist_click_column; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->resize_column = S_virtual_gtk_clist_resize_column; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->toggle_focus_row = S_virtual_gtk_clist_toggle_focus_row; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->select_all = S_virtual_gtk_clist_select_all; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->unselect_all = S_virtual_gtk_clist_unselect_all; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->undo_selection = S_virtual_gtk_clist_undo_selection; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->start_selection = S_virtual_gtk_clist_start_selection; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->end_selection = S_virtual_gtk_clist_end_selection; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->extend_selection = S_virtual_gtk_clist_extend_selection; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->scroll_horizontal = S_virtual_gtk_clist_scroll_horizontal; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->scroll_vertical = S_virtual_gtk_clist_scroll_vertical; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->toggle_add_mode = S_virtual_gtk_clist_toggle_add_mode; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->abort_column_resize = S_virtual_gtk_clist_abort_column_resize; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->resync_selection = S_virtual_gtk_clist_resync_selection; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->selection_find = S_virtual_gtk_clist_selection_find; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->draw_row = S_virtual_gtk_clist_draw_row; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->draw_drag_highlight = S_virtual_gtk_clist_draw_drag_highlight; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->clear = S_virtual_gtk_clist_clear; if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->fake_unselect_all = S_virtual_gtk_clist_fake_unselect_all; if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->sort_list = S_virtual_gtk_clist_sort_list; if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->insert_row = S_virtual_gtk_clist_insert_row; if(VECTOR_ELT(s, 26) != NULL_USER_OBJECT) c->remove_row = S_virtual_gtk_clist_remove_row; if(VECTOR_ELT(s, 27) != NULL_USER_OBJECT) c->set_cell_contents = S_virtual_gtk_clist_set_cell_contents; if(VECTOR_ELT(s, 28) != NULL_USER_OBJECT) c->cell_size_request = S_virtual_gtk_clist_cell_size_request; } USER_OBJECT_ S_gtk_clist_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } USER_OBJECT_ S_gtk_clist_class_refresh(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->refresh(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_select_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); object_class->select_row(object, row, column, event); return(_result); } USER_OBJECT_ S_gtk_clist_class_unselect_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gint column = ((gint)asCInteger(s_column)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); object_class->unselect_row(object, row, column, event); return(_result); } USER_OBJECT_ S_gtk_clist_class_row_move(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_source_row, USER_OBJECT_ s_dest_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint source_row = ((gint)asCInteger(s_source_row)); gint dest_row = ((gint)asCInteger(s_dest_row)); object_class->row_move(object, source_row, dest_row); return(_result); } USER_OBJECT_ S_gtk_clist_class_click_column(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); object_class->click_column(object, column); return(_result); } USER_OBJECT_ S_gtk_clist_class_resize_column(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_column, USER_OBJECT_ s_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint column = ((gint)asCInteger(s_column)); gint width = ((gint)asCInteger(s_width)); object_class->resize_column(object, column, width); return(_result); } USER_OBJECT_ S_gtk_clist_class_toggle_focus_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->toggle_focus_row(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_select_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->select_all(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_unselect_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_undo_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->undo_selection(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_start_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->start_selection(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_end_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->end_selection(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_extend_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position, USER_OBJECT_ s_auto_start_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); gboolean auto_start_selection = ((gboolean)asCLogical(s_auto_start_selection)); object_class->extend_selection(object, scroll_type, position, auto_start_selection); return(_result); } USER_OBJECT_ S_gtk_clist_class_scroll_horizontal(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); object_class->scroll_horizontal(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_clist_class_scroll_vertical(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); object_class->scroll_vertical(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_clist_class_toggle_add_mode(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->toggle_add_mode(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_abort_column_resize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->abort_column_resize(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_resync_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); object_class->resync_selection(object, event); return(_result); } USER_OBJECT_ S_gtk_clist_class_selection_find(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row_number, USER_OBJECT_ s_row_list_element) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row_number = ((gint)asCInteger(s_row_number)); GList* row_list_element = ((GList*)asCArrayRef(s_row_list_element, GList, asCGList)); GList* ans; ans = object_class->selection_find(object, row_number, row_list_element); _result = asRGList(ans, "GtkCListRow"); CLEANUP(g_list_free, ((GList*)row_list_element));; return(_result); } USER_OBJECT_ S_gtk_clist_class_draw_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_area, USER_OBJECT_ s_row, USER_OBJECT_ s_clist_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); gint row = ((gint)asCInteger(s_row)); GtkCListRow* clist_row = ((GtkCListRow*)getPtrValue(s_clist_row)); object_class->draw_row(object, area, row, clist_row); return(_result); } USER_OBJECT_ S_gtk_clist_class_draw_drag_highlight(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_target_row, USER_OBJECT_ s_target_row_number, USER_OBJECT_ s_drag_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkCListRow* target_row = ((GtkCListRow*)getPtrValue(s_target_row)); gint target_row_number = ((gint)asCInteger(s_target_row_number)); GtkCListDragPos drag_pos = ((GtkCListDragPos)asCEnum(s_drag_pos, GTK_TYPE_CLIST_DRAG_POS)); object_class->draw_drag_highlight(object, target_row, target_row_number, drag_pos); return(_result); } USER_OBJECT_ S_gtk_clist_class_clear(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->clear(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_fake_unselect_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); object_class->fake_unselect_all(object, row); return(_result); } USER_OBJECT_ S_gtk_clist_class_sort_list(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); object_class->sort_list(object); return(_result); } USER_OBJECT_ S_gtk_clist_class_insert_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); gchar** text = ((gchar**)asCStringArray(s_text)); gint ans; ans = object_class->insert_row(object, row, text); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_clist_class_remove_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); object_class->remove_row(object, row); return(_result); } USER_OBJECT_ S_gtk_clist_class_set_cell_contents(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_clist_row, USER_OBJECT_ s_column, USER_OBJECT_ s_type, USER_OBJECT_ s_text, USER_OBJECT_ s_spacing, USER_OBJECT_ s_pixmap, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkCListRow* clist_row = ((GtkCListRow*)getPtrValue(s_clist_row)); gint column = ((gint)asCInteger(s_column)); GtkCellType type = ((GtkCellType)asCEnum(s_type, GTK_TYPE_CELL_TYPE)); const gchar* text = ((const gchar*)asCString(s_text)); guint8 spacing = ((guint8)asCRaw(s_spacing)); GdkPixmap* pixmap = GDK_PIXMAP(getPtrValue(s_pixmap)); GdkBitmap* mask = GDK_DRAWABLE(getPtrValue(s_mask)); object_class->set_cell_contents(object, clist_row, column, type, text, spacing, pixmap, mask); return(_result); } USER_OBJECT_ S_gtk_clist_class_cell_size_request(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_clist_row, USER_OBJECT_ s_column, USER_OBJECT_ s_requisition) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCListClass* object_class = ((GtkCListClass*)getPtrValue(s_object_class)); GtkCList* object = GTK_CLIST(getPtrValue(s_object)); GtkCListRow* clist_row = ((GtkCListRow*)getPtrValue(s_clist_row)); gint column = ((gint)asCInteger(s_column)); GtkRequisition* requisition = ((GtkRequisition*)getPtrValue(s_requisition)); object_class->cell_size_request(object, clist_row, column, requisition); return(_result); } static SEXP S_GtkColorButton_symbol; static void S_virtual_gtk_color_button_color_set(GtkColorButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkColorButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkColorButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_color_button_class_init(GtkColorButtonClass * c, SEXP e) { SEXP s; S_GtkColorButton_symbol = install("GtkColorButton"); s = findVar(S_GtkColorButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkColorButtonClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->color_set = S_virtual_gtk_color_button_color_set; } USER_OBJECT_ S_gtk_color_button_class_color_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorButtonClass* object_class = ((GtkColorButtonClass*)getPtrValue(s_object_class)); GtkColorButton* object = GTK_COLOR_BUTTON(getPtrValue(s_object)); object_class->color_set(object); return(_result); } static SEXP S_GtkColorSelection_symbol; static void S_virtual_gtk_color_selection_color_changed(GtkColorSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkColorSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkColorSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_color_selection_class_init(GtkColorSelectionClass * c, SEXP e) { SEXP s; S_GtkColorSelection_symbol = install("GtkColorSelection"); s = findVar(S_GtkColorSelection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkColorSelectionClass)) = e; S_gtk_vbox_class_init(((GtkVBoxClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->color_changed = S_virtual_gtk_color_selection_color_changed; } USER_OBJECT_ S_gtk_color_selection_class_color_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkColorSelectionClass* object_class = ((GtkColorSelectionClass*)getPtrValue(s_object_class)); GtkColorSelection* object = GTK_COLOR_SELECTION(getPtrValue(s_object)); object_class->color_changed(object); return(_result); } static SEXP S_GtkColorSelectionDialog_symbol; void S_gtk_color_selection_dialog_class_init(GtkColorSelectionDialogClass * c, SEXP e) { SEXP s; S_GtkColorSelectionDialog_symbol = install("GtkColorSelectionDialog"); s = findVar(S_GtkColorSelectionDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkColorSelectionDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkCombo_symbol; void S_gtk_combo_class_init(GtkComboClass * c, SEXP e) { SEXP s; S_GtkCombo_symbol = install("GtkCombo"); s = findVar(S_GtkCombo_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkComboClass)) = e; S_gtk_hbox_class_init(((GtkHBoxClass *)c), e); } static SEXP S_GtkComboBox_symbol; static void S_virtual_gtk_combo_box_changed(GtkComboBox* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkComboBox_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkComboBox"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static char* S_virtual_gtk_combo_box_get_active_text(GtkComboBox* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkComboBox_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkComboBox"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((char*)0)); return(((char*)g_strdup(asCString(s_ans)))); } void S_gtk_combo_box_class_init(GtkComboBoxClass * c, SEXP e) { SEXP s; S_GtkComboBox_symbol = install("GtkComboBox"); s = findVar(S_GtkComboBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkComboBoxClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_combo_box_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_active_text = S_virtual_gtk_combo_box_get_active_text; } USER_OBJECT_ S_gtk_combo_box_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBoxClass* object_class = ((GtkComboBoxClass*)getPtrValue(s_object_class)); GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); object_class->changed(object); return(_result); } USER_OBJECT_ S_gtk_combo_box_class_get_active_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkComboBoxClass* object_class = ((GtkComboBoxClass*)getPtrValue(s_object_class)); GtkComboBox* object = GTK_COMBO_BOX(getPtrValue(s_object)); char* ans; ans = object_class->get_active_text(object); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } static SEXP S_GtkComboBoxEntry_symbol; void S_gtk_combo_box_entry_class_init(GtkComboBoxEntryClass * c, SEXP e) { SEXP s; S_GtkComboBoxEntry_symbol = install("GtkComboBoxEntry"); s = findVar(S_GtkComboBoxEntry_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkComboBoxEntryClass)) = e; S_gtk_combo_box_class_init(((GtkComboBoxClass *)c), e); } static SEXP S_GtkContainer_symbol; static void S_virtual_gtk_container_add(GtkContainer* s_object, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_container_remove(GtkContainer* s_object, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_container_check_resize(GtkContainer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_container_forall(GtkContainer* s_object, gboolean s_include_internals, GtkCallback s_callback, gpointer s_callback_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_include_internals)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_callback, "GtkCallback")); tmp = CDR(tmp); SETCAR(tmp, s_callback_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_container_set_focus_child(GtkContainer* s_object, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GType S_virtual_gtk_container_child_type(GtkContainer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GType)0)); return(((GType)asCGType(s_ans))); } static gchar* S_virtual_gtk_container_composite_name(GtkContainer* s_object, GtkWidget* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static void S_virtual_gtk_container_set_child_property(GtkContainer* s_object, GtkWidget* s_child, guint s_property_id, const GValue* s_value, GParamSpec* s_pspec) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_property_id)); tmp = CDR(tmp); SETCAR(tmp, asRGValue(s_value)); tmp = CDR(tmp); SETCAR(tmp, asRGParamSpec(s_pspec)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_container_get_child_property(GtkContainer* s_object, GtkWidget* s_child, guint s_property_id, GValue* s_value, GParamSpec* s_pspec) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkContainer_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkContainer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_property_id)); tmp = CDR(tmp); SETCAR(tmp, asRGValue(s_value)); tmp = CDR(tmp); SETCAR(tmp, asRGParamSpec(s_pspec)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_container_class_init(GtkContainerClass * c, SEXP e) { SEXP s; S_GtkContainer_symbol = install("GtkContainer"); s = findVar(S_GtkContainer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkContainerClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->add = S_virtual_gtk_container_add; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->remove = S_virtual_gtk_container_remove; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->check_resize = S_virtual_gtk_container_check_resize; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->forall = S_virtual_gtk_container_forall; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->set_focus_child = S_virtual_gtk_container_set_focus_child; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->child_type = S_virtual_gtk_container_child_type; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->composite_name = S_virtual_gtk_container_composite_name; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->set_child_property = S_virtual_gtk_container_set_child_property; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->get_child_property = S_virtual_gtk_container_get_child_property; } USER_OBJECT_ S_gtk_container_class_add(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); object_class->add(object, widget); return(_result); } USER_OBJECT_ S_gtk_container_class_remove(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); object_class->remove(object, widget); return(_result); } USER_OBJECT_ S_gtk_container_class_check_resize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); object_class->check_resize(object); return(_result); } USER_OBJECT_ S_gtk_container_class_forall(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_include_internals, USER_OBJECT_ s_callback, USER_OBJECT_ s_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCallback callback = ((GtkCallback)S_GtkCallback); R_CallbackData* callback_data = R_createCBData(s_callback, s_callback_data); GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); gboolean include_internals = ((gboolean)asCLogical(s_include_internals)); object_class->forall(object, include_internals, callback, callback_data); R_freeCBData(callback_data); return(_result); } USER_OBJECT_ S_gtk_container_class_set_focus_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); object_class->set_focus_child(object, widget); return(_result); } USER_OBJECT_ S_gtk_container_class_child_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GType ans; ans = object_class->child_type(object); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_container_class_composite_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gchar* ans; ans = object_class->composite_name(object, child); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_container_class_set_child_property(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_property_id, USER_OBJECT_ s_value, USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); guint property_id = ((guint)asCNumeric(s_property_id)); const GValue* value = asCGValue(s_value); GParamSpec* pspec = asCGParamSpec(s_pspec); object_class->set_child_property(object, child, property_id, value, pspec); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } USER_OBJECT_ S_gtk_container_class_get_child_property(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_property_id, USER_OBJECT_ s_value, USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkContainerClass* object_class = ((GtkContainerClass*)getPtrValue(s_object_class)); GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); guint property_id = ((guint)asCNumeric(s_property_id)); GValue* value = asCGValue(s_value); GParamSpec* pspec = asCGParamSpec(s_pspec); object_class->get_child_property(object, child, property_id, value, pspec); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } static SEXP S_GtkCTree_symbol; static void S_virtual_gtk_ctree_tree_select_row(GtkCTree* s_object, GtkCTreeNode* s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_row, "GtkCTreeNode")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ctree_tree_unselect_row(GtkCTree* s_object, GtkCTreeNode* s_row, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_row, "GtkCTreeNode")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ctree_tree_expand(GtkCTree* s_object, GtkCTreeNode* s_node) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_node, "GtkCTreeNode")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ctree_tree_collapse(GtkCTree* s_object, GtkCTreeNode* s_node) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_node, "GtkCTreeNode")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ctree_tree_move(GtkCTree* s_object, GtkCTreeNode* s_node, GtkCTreeNode* s_new_parent, GtkCTreeNode* s_new_sibling) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_node, "GtkCTreeNode")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_new_parent, "GtkCTreeNode")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_new_sibling, "GtkCTreeNode")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ctree_change_focus_row_expansion(GtkCTree* s_object, GtkCTreeExpansionType s_action) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCTree_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCTree"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_action, GTK_TYPE_CTREE_EXPANSION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_ctree_class_init(GtkCTreeClass * c, SEXP e) { SEXP s; S_GtkCTree_symbol = install("GtkCTree"); s = findVar(S_GtkCTree_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCTreeClass)) = e; S_gtk_clist_class_init(((GtkCListClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->tree_select_row = S_virtual_gtk_ctree_tree_select_row; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->tree_unselect_row = S_virtual_gtk_ctree_tree_unselect_row; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->tree_expand = S_virtual_gtk_ctree_tree_expand; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->tree_collapse = S_virtual_gtk_ctree_tree_collapse; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->tree_move = S_virtual_gtk_ctree_tree_move; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->change_focus_row_expansion = S_virtual_gtk_ctree_change_focus_row_expansion; } USER_OBJECT_ S_gtk_ctree_class_tree_select_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* row = ((GtkCTreeNode*)getPtrValue(s_row)); gint column = ((gint)asCInteger(s_column)); object_class->tree_select_row(object, row, column); return(_result); } USER_OBJECT_ S_gtk_ctree_class_tree_unselect_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* row = ((GtkCTreeNode*)getPtrValue(s_row)); gint column = ((gint)asCInteger(s_column)); object_class->tree_unselect_row(object, row, column); return(_result); } USER_OBJECT_ S_gtk_ctree_class_tree_expand(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); object_class->tree_expand(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_class_tree_collapse(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_node) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); object_class->tree_collapse(object, node); return(_result); } USER_OBJECT_ S_gtk_ctree_class_tree_move(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_new_parent, USER_OBJECT_ s_new_sibling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeNode* node = ((GtkCTreeNode*)getPtrValue(s_node)); GtkCTreeNode* new_parent = ((GtkCTreeNode*)getPtrValue(s_new_parent)); GtkCTreeNode* new_sibling = ((GtkCTreeNode*)getPtrValue(s_new_sibling)); object_class->tree_move(object, node, new_parent, new_sibling); return(_result); } USER_OBJECT_ S_gtk_ctree_class_change_focus_row_expansion(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCTreeClass* object_class = ((GtkCTreeClass*)getPtrValue(s_object_class)); GtkCTree* object = GTK_CTREE(getPtrValue(s_object)); GtkCTreeExpansionType action = ((GtkCTreeExpansionType)asCEnum(s_action, GTK_TYPE_CTREE_EXPANSION_TYPE)); object_class->change_focus_row_expansion(object, action); return(_result); } static SEXP S_GtkCurve_symbol; static void S_virtual_gtk_curve_curve_type_changed(GtkCurve* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCurve_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCurve"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_curve_class_init(GtkCurveClass * c, SEXP e) { SEXP s; S_GtkCurve_symbol = install("GtkCurve"); s = findVar(S_GtkCurve_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCurveClass)) = e; S_gtk_drawing_area_class_init(((GtkDrawingAreaClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->curve_type_changed = S_virtual_gtk_curve_curve_type_changed; } USER_OBJECT_ S_gtk_curve_class_curve_type_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCurveClass* object_class = ((GtkCurveClass*)getPtrValue(s_object_class)); GtkCurve* object = GTK_CURVE(getPtrValue(s_object)); object_class->curve_type_changed(object); return(_result); } static SEXP S_GtkDialog_symbol; static void S_virtual_gtk_dialog_response(GtkDialog* s_object, gint s_response_id) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkDialog_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkDialog"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_response_id)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_dialog_close(GtkDialog* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkDialog_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkDialog"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_dialog_class_init(GtkDialogClass * c, SEXP e) { SEXP s; S_GtkDialog_symbol = install("GtkDialog"); s = findVar(S_GtkDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkDialogClass)) = e; S_gtk_window_class_init(((GtkWindowClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->response = S_virtual_gtk_dialog_response; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->close = S_virtual_gtk_dialog_close; } USER_OBJECT_ S_gtk_dialog_class_response(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_response_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialogClass* object_class = ((GtkDialogClass*)getPtrValue(s_object_class)); GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint response_id = ((gint)asCInteger(s_response_id)); object_class->response(object, response_id); return(_result); } USER_OBJECT_ S_gtk_dialog_class_close(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkDialogClass* object_class = ((GtkDialogClass*)getPtrValue(s_object_class)); GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); object_class->close(object); return(_result); } static SEXP S_GtkDrawingArea_symbol; void S_gtk_drawing_area_class_init(GtkDrawingAreaClass * c, SEXP e) { SEXP s; S_GtkDrawingArea_symbol = install("GtkDrawingArea"); s = findVar(S_GtkDrawingArea_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkDrawingAreaClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkEntry_symbol; static void S_virtual_gtk_entry_populate_popup(GtkEntry* s_object, GtkMenu* s_menu) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu, "GtkMenu")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_activate(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_move_cursor(GtkEntry* s_object, GtkMovementStep s_step, gint s_count, gboolean s_extend_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_step, GTK_TYPE_MOVEMENT_STEP)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_extend_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_insert_at_cursor(GtkEntry* s_object, const gchar* s_str) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_str)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_delete_from_cursor(GtkEntry* s_object, GtkDeleteType s_type, gint s_count) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, GTK_TYPE_DELETE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_backspace(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_cut_clipboard(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_copy_clipboard(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_paste_clipboard(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_entry_toggle_overwrite(GtkEntry* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntry_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkEntry"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_entry_class_init(GtkEntryClass * c, SEXP e) { SEXP s; S_GtkEntry_symbol = install("GtkEntry"); s = findVar(S_GtkEntry_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkEntryClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->populate_popup = S_virtual_gtk_entry_populate_popup; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_entry_activate; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_entry_move_cursor; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->insert_at_cursor = S_virtual_gtk_entry_insert_at_cursor; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->delete_from_cursor = S_virtual_gtk_entry_delete_from_cursor; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->backspace = S_virtual_gtk_entry_backspace; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->cut_clipboard = S_virtual_gtk_entry_cut_clipboard; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->copy_clipboard = S_virtual_gtk_entry_copy_clipboard; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->paste_clipboard = S_virtual_gtk_entry_paste_clipboard; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->toggle_overwrite = S_virtual_gtk_entry_toggle_overwrite; } USER_OBJECT_ S_gtk_entry_class_populate_popup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_menu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkMenu* menu = GTK_MENU(getPtrValue(s_menu)); object_class->populate_popup(object, menu); return(_result); } USER_OBJECT_ S_gtk_entry_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->activate(object); return(_result); } USER_OBJECT_ S_gtk_entry_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_count, USER_OBJECT_ s_extend_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkMovementStep step = ((GtkMovementStep)asCEnum(s_step, GTK_TYPE_MOVEMENT_STEP)); gint count = ((gint)asCInteger(s_count)); gboolean extend_selection = ((gboolean)asCLogical(s_extend_selection)); object_class->move_cursor(object, step, count, extend_selection); return(_result); } USER_OBJECT_ S_gtk_entry_class_insert_at_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); object_class->insert_at_cursor(object, str); return(_result); } USER_OBJECT_ S_gtk_entry_class_delete_from_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); GtkDeleteType type = ((GtkDeleteType)asCEnum(s_type, GTK_TYPE_DELETE_TYPE)); gint count = ((gint)asCInteger(s_count)); object_class->delete_from_cursor(object, type, count); return(_result); } USER_OBJECT_ S_gtk_entry_class_backspace(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->backspace(object); return(_result); } USER_OBJECT_ S_gtk_entry_class_cut_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->cut_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_entry_class_copy_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->copy_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_entry_class_paste_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->paste_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_entry_class_toggle_overwrite(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryClass* object_class = ((GtkEntryClass*)getPtrValue(s_object_class)); GtkEntry* object = GTK_ENTRY(getPtrValue(s_object)); object_class->toggle_overwrite(object); return(_result); } static SEXP S_GtkEntryCompletion_symbol; static gboolean S_virtual_gtk_entry_completion_match_selected(GtkEntryCompletion* s_object, GtkTreeModel* s_model, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntryCompletion_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEntryCompletion"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_model, "GtkTreeModel")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_entry_completion_action_activated(GtkEntryCompletion* s_object, gint s_index_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntryCompletion_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEntryCompletion"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_index_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_entry_completion_insert_prefix(GtkEntryCompletion* s_object, const gchar* s_prefix) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEntryCompletion_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEntryCompletion"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_prefix)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_entry_completion_class_init(GtkEntryCompletionClass * c, SEXP e) { SEXP s; S_GtkEntryCompletion_symbol = install("GtkEntryCompletion"); s = findVar(S_GtkEntryCompletion_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkEntryCompletionClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->match_selected = S_virtual_gtk_entry_completion_match_selected; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->action_activated = S_virtual_gtk_entry_completion_action_activated; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->insert_prefix = S_virtual_gtk_entry_completion_insert_prefix; } USER_OBJECT_ S_gtk_entry_completion_class_match_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_model, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletionClass* object_class = ((GtkEntryCompletionClass*)getPtrValue(s_object_class)); GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); GtkTreeModel* model = GTK_TREE_MODEL(getPtrValue(s_model)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = object_class->match_selected(object, model, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_entry_completion_class_action_activated(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_index_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletionClass* object_class = ((GtkEntryCompletionClass*)getPtrValue(s_object_class)); GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); gint index_ = ((gint)asCInteger(s_index_)); object_class->action_activated(object, index_); return(_result); } USER_OBJECT_ S_gtk_entry_completion_class_insert_prefix(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_prefix) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEntryCompletionClass* object_class = ((GtkEntryCompletionClass*)getPtrValue(s_object_class)); GtkEntryCompletion* object = GTK_ENTRY_COMPLETION(getPtrValue(s_object)); const gchar* prefix = ((const gchar*)asCString(s_prefix)); gboolean ans; ans = object_class->insert_prefix(object, prefix); _result = asRLogical(ans); return(_result); } static SEXP S_GtkEventBox_symbol; void S_gtk_event_box_class_init(GtkEventBoxClass * c, SEXP e) { SEXP s; S_GtkEventBox_symbol = install("GtkEventBox"); s = findVar(S_GtkEventBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkEventBoxClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); } static SEXP S_GtkExpander_symbol; static void S_virtual_gtk_expander_activate(GtkExpander* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkExpander_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkExpander"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_expander_class_init(GtkExpanderClass * c, SEXP e) { SEXP s; S_GtkExpander_symbol = install("GtkExpander"); s = findVar(S_GtkExpander_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkExpanderClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_expander_activate; } USER_OBJECT_ S_gtk_expander_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkExpanderClass* object_class = ((GtkExpanderClass*)getPtrValue(s_object_class)); GtkExpander* object = GTK_EXPANDER(getPtrValue(s_object)); object_class->activate(object); return(_result); } static SEXP S_GtkFileChooserButton_symbol; void S_gtk_file_chooser_button_class_init(GtkFileChooserButtonClass * c, SEXP e) { SEXP s; S_GtkFileChooserButton_symbol = install("GtkFileChooserButton"); s = findVar(S_GtkFileChooserButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFileChooserButtonClass)) = e; S_gtk_hbox_class_init(((GtkHBoxClass *)c), e); } static SEXP S_GtkFileChooserDialog_symbol; void S_gtk_file_chooser_dialog_class_init(GtkFileChooserDialogClass * c, SEXP e) { SEXP s; S_GtkFileChooserDialog_symbol = install("GtkFileChooserDialog"); s = findVar(S_GtkFileChooserDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFileChooserDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkFileChooserWidget_symbol; void S_gtk_file_chooser_widget_class_init(GtkFileChooserWidgetClass * c, SEXP e) { SEXP s; S_GtkFileChooserWidget_symbol = install("GtkFileChooserWidget"); s = findVar(S_GtkFileChooserWidget_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFileChooserWidgetClass)) = e; S_gtk_vbox_class_init(((GtkVBoxClass *)c), e); } static SEXP S_GtkFileSelection_symbol; void S_gtk_file_selection_class_init(GtkFileSelectionClass * c, SEXP e) { SEXP s; S_GtkFileSelection_symbol = install("GtkFileSelection"); s = findVar(S_GtkFileSelection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFileSelectionClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkFixed_symbol; void S_gtk_fixed_class_init(GtkFixedClass * c, SEXP e) { SEXP s; S_GtkFixed_symbol = install("GtkFixed"); s = findVar(S_GtkFixed_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFixedClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } static SEXP S_GtkFontButton_symbol; static void S_virtual_gtk_font_button_font_set(GtkFontButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkFontButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkFontButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_font_button_class_init(GtkFontButtonClass * c, SEXP e) { SEXP s; S_GtkFontButton_symbol = install("GtkFontButton"); s = findVar(S_GtkFontButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFontButtonClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->font_set = S_virtual_gtk_font_button_font_set; } USER_OBJECT_ S_gtk_font_button_class_font_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFontButtonClass* object_class = ((GtkFontButtonClass*)getPtrValue(s_object_class)); GtkFontButton* object = GTK_FONT_BUTTON(getPtrValue(s_object)); object_class->font_set(object); return(_result); } static SEXP S_GtkFontSelection_symbol; void S_gtk_font_selection_class_init(GtkFontSelectionClass * c, SEXP e) { SEXP s; S_GtkFontSelection_symbol = install("GtkFontSelection"); s = findVar(S_GtkFontSelection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFontSelectionClass)) = e; S_gtk_vbox_class_init(((GtkVBoxClass *)c), e); } static SEXP S_GtkFontSelectionDialog_symbol; void S_gtk_font_selection_dialog_class_init(GtkFontSelectionDialogClass * c, SEXP e) { SEXP s; S_GtkFontSelectionDialog_symbol = install("GtkFontSelectionDialog"); s = findVar(S_GtkFontSelectionDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFontSelectionDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkFrame_symbol; static void S_virtual_gtk_frame_compute_child_allocation(GtkFrame* s_object, GtkAllocation* s_allocation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkFrame_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkFrame"))); tmp = CDR(tmp); SETCAR(tmp, asRGtkAllocation(s_allocation)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_frame_class_init(GtkFrameClass * c, SEXP e) { SEXP s; S_GtkFrame_symbol = install("GtkFrame"); s = findVar(S_GtkFrame_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkFrameClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->compute_child_allocation = S_virtual_gtk_frame_compute_child_allocation; } USER_OBJECT_ S_gtk_frame_class_compute_child_allocation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkFrameClass* object_class = ((GtkFrameClass*)getPtrValue(s_object_class)); GtkFrame* object = GTK_FRAME(getPtrValue(s_object)); GtkAllocation* allocation = asCGtkAllocation(s_allocation); object_class->compute_child_allocation(object, allocation); return(_result); } static SEXP S_GtkGammaCurve_symbol; void S_gtk_gamma_curve_class_init(GtkGammaCurveClass * c, SEXP e) { SEXP s; S_GtkGammaCurve_symbol = install("GtkGammaCurve"); s = findVar(S_GtkGammaCurve_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkGammaCurveClass)) = e; S_gtk_vbox_class_init(((GtkVBoxClass *)c), e); } static SEXP S_GtkHandleBox_symbol; static void S_virtual_gtk_handle_box_child_attached(GtkHandleBox* s_object, GtkWidget* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkHandleBox_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkHandleBox"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_handle_box_child_detached(GtkHandleBox* s_object, GtkWidget* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkHandleBox_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkHandleBox"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_handle_box_class_init(GtkHandleBoxClass * c, SEXP e) { SEXP s; S_GtkHandleBox_symbol = install("GtkHandleBox"); s = findVar(S_GtkHandleBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHandleBoxClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->child_attached = S_virtual_gtk_handle_box_child_attached; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->child_detached = S_virtual_gtk_handle_box_child_detached; } USER_OBJECT_ S_gtk_handle_box_class_child_attached(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBoxClass* object_class = ((GtkHandleBoxClass*)getPtrValue(s_object_class)); GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); object_class->child_attached(object, child); return(_result); } USER_OBJECT_ S_gtk_handle_box_class_child_detached(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkHandleBoxClass* object_class = ((GtkHandleBoxClass*)getPtrValue(s_object_class)); GtkHandleBox* object = GTK_HANDLE_BOX(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); object_class->child_detached(object, child); return(_result); } static SEXP S_GtkHBox_symbol; void S_gtk_hbox_class_init(GtkHBoxClass * c, SEXP e) { SEXP s; S_GtkHBox_symbol = install("GtkHBox"); s = findVar(S_GtkHBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHBoxClass)) = e; S_gtk_box_class_init(((GtkBoxClass *)c), e); } static SEXP S_GtkHButtonBox_symbol; void S_gtk_hbutton_box_class_init(GtkHButtonBoxClass * c, SEXP e) { SEXP s; S_GtkHButtonBox_symbol = install("GtkHButtonBox"); s = findVar(S_GtkHButtonBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHButtonBoxClass)) = e; S_gtk_button_box_class_init(((GtkButtonBoxClass *)c), e); } static SEXP S_GtkHPaned_symbol; void S_gtk_hpaned_class_init(GtkHPanedClass * c, SEXP e) { SEXP s; S_GtkHPaned_symbol = install("GtkHPaned"); s = findVar(S_GtkHPaned_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHPanedClass)) = e; S_gtk_paned_class_init(((GtkPanedClass *)c), e); } static SEXP S_GtkHRuler_symbol; void S_gtk_hruler_class_init(GtkHRulerClass * c, SEXP e) { SEXP s; S_GtkHRuler_symbol = install("GtkHRuler"); s = findVar(S_GtkHRuler_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHRulerClass)) = e; S_gtk_ruler_class_init(((GtkRulerClass *)c), e); } static SEXP S_GtkHScale_symbol; void S_gtk_hscale_class_init(GtkHScaleClass * c, SEXP e) { SEXP s; S_GtkHScale_symbol = install("GtkHScale"); s = findVar(S_GtkHScale_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHScaleClass)) = e; S_gtk_scale_class_init(((GtkScaleClass *)c), e); } static SEXP S_GtkHScrollbar_symbol; void S_gtk_hscrollbar_class_init(GtkHScrollbarClass * c, SEXP e) { SEXP s; S_GtkHScrollbar_symbol = install("GtkHScrollbar"); s = findVar(S_GtkHScrollbar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHScrollbarClass)) = e; S_gtk_scrollbar_class_init(((GtkScrollbarClass *)c), e); } static SEXP S_GtkHSeparator_symbol; void S_gtk_hseparator_class_init(GtkHSeparatorClass * c, SEXP e) { SEXP s; S_GtkHSeparator_symbol = install("GtkHSeparator"); s = findVar(S_GtkHSeparator_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHSeparatorClass)) = e; S_gtk_separator_class_init(((GtkSeparatorClass *)c), e); } static SEXP S_GtkIconFactory_symbol; void S_gtk_icon_factory_class_init(GtkIconFactoryClass * c, SEXP e) { SEXP s; S_GtkIconFactory_symbol = install("GtkIconFactory"); s = findVar(S_GtkIconFactory_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIconFactoryClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkIconTheme_symbol; static void S_virtual_gtk_icon_theme_changed(GtkIconTheme* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconTheme_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkIconTheme"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_icon_theme_class_init(GtkIconThemeClass * c, SEXP e) { SEXP s; S_GtkIconTheme_symbol = install("GtkIconTheme"); s = findVar(S_GtkIconTheme_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIconThemeClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_icon_theme_changed; } USER_OBJECT_ S_gtk_icon_theme_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconThemeClass* object_class = ((GtkIconThemeClass*)getPtrValue(s_object_class)); GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); object_class->changed(object); return(_result); } static SEXP S_GtkIconView_symbol; static void S_virtual_gtk_icon_view_set_scroll_adjustments(GtkIconView* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_item_activated(GtkIconView* s_object, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_selection_changed(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_select_all(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_unselect_all(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_select_cursor_item(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_icon_view_toggle_cursor_item(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_icon_view_move_cursor(GtkIconView* s_object, GtkMovementStep s_step, gint s_count) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_step, GTK_TYPE_MOVEMENT_STEP)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_icon_view_activate_cursor_item(GtkIconView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIconView_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIconView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_icon_view_class_init(GtkIconViewClass * c, SEXP e) { SEXP s; S_GtkIconView_symbol = install("GtkIconView"); s = findVar(S_GtkIconView_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIconViewClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_icon_view_set_scroll_adjustments; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->item_activated = S_virtual_gtk_icon_view_item_activated; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->selection_changed = S_virtual_gtk_icon_view_selection_changed; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->select_all = S_virtual_gtk_icon_view_select_all; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->unselect_all = S_virtual_gtk_icon_view_unselect_all; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->select_cursor_item = S_virtual_gtk_icon_view_select_cursor_item; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->toggle_cursor_item = S_virtual_gtk_icon_view_toggle_cursor_item; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_icon_view_move_cursor; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->activate_cursor_item = S_virtual_gtk_icon_view_activate_cursor_item; } USER_OBJECT_ S_gtk_icon_view_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_item_activated(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); object_class->item_activated(object, path); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_selection_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); object_class->selection_changed(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_select_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); object_class->select_all(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_unselect_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); object_class->unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_select_cursor_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); object_class->select_cursor_item(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_toggle_cursor_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); object_class->toggle_cursor_item(object); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); GtkMovementStep step = ((GtkMovementStep)asCEnum(s_step, GTK_TYPE_MOVEMENT_STEP)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = object_class->move_cursor(object, step, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_icon_view_class_activate_cursor_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIconViewClass* object_class = ((GtkIconViewClass*)getPtrValue(s_object_class)); GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->activate_cursor_item(object); _result = asRLogical(ans); return(_result); } static SEXP S_GtkImage_symbol; void S_gtk_image_class_init(GtkImageClass * c, SEXP e) { SEXP s; S_GtkImage_symbol = install("GtkImage"); s = findVar(S_GtkImage_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkImageClass)) = e; S_gtk_misc_class_init(((GtkMiscClass *)c), e); } static SEXP S_GtkImageMenuItem_symbol; void S_gtk_image_menu_item_class_init(GtkImageMenuItemClass * c, SEXP e) { SEXP s; S_GtkImageMenuItem_symbol = install("GtkImageMenuItem"); s = findVar(S_GtkImageMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkImageMenuItemClass)) = e; S_gtk_menu_item_class_init(((GtkMenuItemClass *)c), e); } static SEXP S_GtkIMContext_symbol; static void S_virtual_gtk_imcontext_preedit_start(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_preedit_end(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_preedit_changed(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_commit(GtkIMContext* s_object, const gchar* s_str) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_str)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_imcontext_retrieve_surrounding(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_imcontext_delete_surrounding(GtkIMContext* s_object, gint s_offset, gint s_n_chars) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n_chars)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_imcontext_set_client_window(GtkIMContext* s_object, GdkWindow* s_window) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_get_preedit_string(GtkIMContext* s_object, gchar** s_str, PangoAttrList** s_attrs, gint* s_cursor_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_str = ((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 0)))); *s_attrs = ((PangoAttrList*)pango_attr_list_ref(getPtrValue(VECTOR_ELT(s_ans, 1)))); *s_cursor_pos = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); } static gboolean S_virtual_gtk_imcontext_filter_keypress(GtkIMContext* s_object, GdkEventKey* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_imcontext_focus_in(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_focus_out(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_reset(GtkIMContext* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_set_cursor_location(GtkIMContext* s_object, GdkRectangle* s_area) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_set_use_preedit(GtkIMContext* s_object, gboolean s_use_preedit) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_use_preedit)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_imcontext_set_surrounding(GtkIMContext* s_object, const gchar* s_text, gint s_len, gint s_cursor_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_len)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_cursor_index)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_imcontext_get_surrounding(GtkIMContext* s_object, gchar** s_text, gint* s_cursor_index) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkIMContext_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkIMContext"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_text = ((gchar*)g_strdup(asCString(VECTOR_ELT(s_ans, 1)))); *s_cursor_index = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } void S_gtk_imcontext_class_init(GtkIMContextClass * c, SEXP e) { SEXP s; S_GtkIMContext_symbol = install("GtkIMContext"); s = findVar(S_GtkIMContext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIMContextClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->preedit_start = S_virtual_gtk_imcontext_preedit_start; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->preedit_end = S_virtual_gtk_imcontext_preedit_end; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->preedit_changed = S_virtual_gtk_imcontext_preedit_changed; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->commit = S_virtual_gtk_imcontext_commit; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->retrieve_surrounding = S_virtual_gtk_imcontext_retrieve_surrounding; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->delete_surrounding = S_virtual_gtk_imcontext_delete_surrounding; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->set_client_window = S_virtual_gtk_imcontext_set_client_window; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_preedit_string = S_virtual_gtk_imcontext_get_preedit_string; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->filter_keypress = S_virtual_gtk_imcontext_filter_keypress; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->focus_in = S_virtual_gtk_imcontext_focus_in; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->focus_out = S_virtual_gtk_imcontext_focus_out; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->reset = S_virtual_gtk_imcontext_reset; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->set_cursor_location = S_virtual_gtk_imcontext_set_cursor_location; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->set_use_preedit = S_virtual_gtk_imcontext_set_use_preedit; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->set_surrounding = S_virtual_gtk_imcontext_set_surrounding; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->get_surrounding = S_virtual_gtk_imcontext_get_surrounding; } USER_OBJECT_ S_gtk_imcontext_class_preedit_start(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->preedit_start(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_preedit_end(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->preedit_end(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_preedit_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->preedit_changed(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_commit(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); object_class->commit(object, str); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_retrieve_surrounding(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gboolean ans; ans = object_class->retrieve_surrounding(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_delete_surrounding(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_n_chars) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); gint n_chars = ((gint)asCInteger(s_n_chars)); gboolean ans; ans = object_class->delete_surrounding(object, offset, n_chars); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_set_client_window(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); object_class->set_client_window(object, window); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_get_preedit_string(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gchar* str = NULL; PangoAttrList* attrs = NULL; gint cursor_pos; object_class->get_preedit_string(object, &str, &attrs, &cursor_pos); _result = retByVal(_result, "str", asRString(str), "attrs", toRPointerWithFinalizer(attrs, "PangoAttrList", (RPointerFinalizer) pango_attr_list_unref), "cursor.pos", asRInteger(cursor_pos), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_imcontext_class_filter_keypress(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = object_class->filter_keypress(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_focus_in(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->focus_in(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_focus_out(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->focus_out(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_reset(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); object_class->reset(object); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_set_cursor_location(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_area) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); GdkRectangle* area = asCGdkRectangle(s_area); object_class->set_cursor_location(object, area); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_set_use_preedit(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_use_preedit) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gboolean use_preedit = ((gboolean)asCLogical(s_use_preedit)); object_class->set_use_preedit(object, use_preedit); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_set_surrounding(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_cursor_index) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint len = ((gint)asCInteger(s_len)); gint cursor_index = ((gint)asCInteger(s_cursor_index)); object_class->set_surrounding(object, text, len, cursor_index); return(_result); } USER_OBJECT_ S_gtk_imcontext_class_get_surrounding(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkIMContextClass* object_class = ((GtkIMContextClass*)getPtrValue(s_object_class)); GtkIMContext* object = GTK_IM_CONTEXT(getPtrValue(s_object)); gboolean ans; gchar* text = NULL; gint cursor_index; ans = object_class->get_surrounding(object, &text, &cursor_index); _result = asRLogical(ans); _result = retByVal(_result, "text", asRString(text), "cursor.index", asRInteger(cursor_index), NULL); ; return(_result); } static SEXP S_GtkIMContextSimple_symbol; void S_gtk_imcontext_simple_class_init(GtkIMContextSimpleClass * c, SEXP e) { SEXP s; S_GtkIMContextSimple_symbol = install("GtkIMContextSimple"); s = findVar(S_GtkIMContextSimple_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIMContextSimpleClass)) = e; S_gtk_imcontext_class_init(((GtkIMContextClass *)c), e); } static SEXP S_GtkIMMulticontext_symbol; void S_gtk_immulticontext_class_init(GtkIMMulticontextClass * c, SEXP e) { SEXP s; S_GtkIMMulticontext_symbol = install("GtkIMMulticontext"); s = findVar(S_GtkIMMulticontext_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkIMMulticontextClass)) = e; S_gtk_imcontext_class_init(((GtkIMContextClass *)c), e); } static SEXP S_GtkInputDialog_symbol; static void S_virtual_gtk_input_dialog_enable_device(GtkInputDialog* s_object, GdkDevice* s_device) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkInputDialog_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkInputDialog"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_device, "GdkDevice")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_input_dialog_disable_device(GtkInputDialog* s_object, GdkDevice* s_device) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkInputDialog_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkInputDialog"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_device, "GdkDevice")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_input_dialog_class_init(GtkInputDialogClass * c, SEXP e) { SEXP s; S_GtkInputDialog_symbol = install("GtkInputDialog"); s = findVar(S_GtkInputDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkInputDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->enable_device = S_virtual_gtk_input_dialog_enable_device; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->disable_device = S_virtual_gtk_input_dialog_disable_device; } USER_OBJECT_ S_gtk_input_dialog_class_enable_device(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_device) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkInputDialogClass* object_class = ((GtkInputDialogClass*)getPtrValue(s_object_class)); GtkInputDialog* object = GTK_INPUT_DIALOG(getPtrValue(s_object)); GdkDevice* device = GDK_DEVICE(getPtrValue(s_device)); object_class->enable_device(object, device); return(_result); } USER_OBJECT_ S_gtk_input_dialog_class_disable_device(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_device) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkInputDialogClass* object_class = ((GtkInputDialogClass*)getPtrValue(s_object_class)); GtkInputDialog* object = GTK_INPUT_DIALOG(getPtrValue(s_object)); GdkDevice* device = GDK_DEVICE(getPtrValue(s_device)); object_class->disable_device(object, device); return(_result); } static SEXP S_GtkInvisible_symbol; void S_gtk_invisible_class_init(GtkInvisibleClass * c, SEXP e) { SEXP s; S_GtkInvisible_symbol = install("GtkInvisible"); s = findVar(S_GtkInvisible_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkInvisibleClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkItem_symbol; static void S_virtual_gtk_item_select(GtkItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_item_deselect(GtkItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkItem_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_item_toggle(GtkItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkItem_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_item_class_init(GtkItemClass * c, SEXP e) { SEXP s; S_GtkItem_symbol = install("GtkItem"); s = findVar(S_GtkItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkItemClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->select = S_virtual_gtk_item_select; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->deselect = S_virtual_gtk_item_deselect; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->toggle = S_virtual_gtk_item_toggle; } USER_OBJECT_ S_gtk_item_class_select(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemClass* object_class = ((GtkItemClass*)getPtrValue(s_object_class)); GtkItem* object = GTK_ITEM(getPtrValue(s_object)); object_class->select(object); return(_result); } USER_OBJECT_ S_gtk_item_class_deselect(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemClass* object_class = ((GtkItemClass*)getPtrValue(s_object_class)); GtkItem* object = GTK_ITEM(getPtrValue(s_object)); object_class->deselect(object); return(_result); } USER_OBJECT_ S_gtk_item_class_toggle(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemClass* object_class = ((GtkItemClass*)getPtrValue(s_object_class)); GtkItem* object = GTK_ITEM(getPtrValue(s_object)); object_class->toggle(object); return(_result); } static SEXP S_GtkItemFactory_symbol; void S_gtk_item_factory_class_init(GtkItemFactoryClass * c, SEXP e) { SEXP s; S_GtkItemFactory_symbol = install("GtkItemFactory"); s = findVar(S_GtkItemFactory_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkItemFactoryClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); } static SEXP S_GtkLabel_symbol; static void S_virtual_gtk_label_move_cursor(GtkLabel* s_object, GtkMovementStep s_step, gint s_count, gboolean s_extend_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkLabel_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkLabel"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_step, GTK_TYPE_MOVEMENT_STEP)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_extend_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_label_copy_clipboard(GtkLabel* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkLabel_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkLabel"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_label_populate_popup(GtkLabel* s_object, GtkMenu* s_menu) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkLabel_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkLabel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu, "GtkMenu")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_label_class_init(GtkLabelClass * c, SEXP e) { SEXP s; S_GtkLabel_symbol = install("GtkLabel"); s = findVar(S_GtkLabel_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkLabelClass)) = e; S_gtk_misc_class_init(((GtkMiscClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_label_move_cursor; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->copy_clipboard = S_virtual_gtk_label_copy_clipboard; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->populate_popup = S_virtual_gtk_label_populate_popup; } USER_OBJECT_ S_gtk_label_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_count, USER_OBJECT_ s_extend_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabelClass* object_class = ((GtkLabelClass*)getPtrValue(s_object_class)); GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkMovementStep step = ((GtkMovementStep)asCEnum(s_step, GTK_TYPE_MOVEMENT_STEP)); gint count = ((gint)asCInteger(s_count)); gboolean extend_selection = ((gboolean)asCLogical(s_extend_selection)); object_class->move_cursor(object, step, count, extend_selection); return(_result); } USER_OBJECT_ S_gtk_label_class_copy_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabelClass* object_class = ((GtkLabelClass*)getPtrValue(s_object_class)); GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); object_class->copy_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_label_class_populate_popup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_menu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLabelClass* object_class = ((GtkLabelClass*)getPtrValue(s_object_class)); GtkLabel* object = GTK_LABEL(getPtrValue(s_object)); GtkMenu* menu = GTK_MENU(getPtrValue(s_menu)); object_class->populate_popup(object, menu); return(_result); } static SEXP S_GtkLayout_symbol; static void S_virtual_gtk_layout_set_scroll_adjustments(GtkLayout* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_layout_class_init(GtkLayoutClass * c, SEXP e) { SEXP s; S_GtkLayout_symbol = install("GtkLayout"); s = findVar(S_GtkLayout_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkLayoutClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_layout_set_scroll_adjustments; } USER_OBJECT_ S_gtk_layout_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkLayoutClass* object_class = ((GtkLayoutClass*)getPtrValue(s_object_class)); GtkLayout* object = GTK_LAYOUT(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } static SEXP S_GtkList_symbol; static void S_virtual_gtk_list_selection_changed(GtkList* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkList_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkList"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_select_child(GtkList* s_object, GtkWidget* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkList_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_unselect_child(GtkList* s_object, GtkWidget* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkList_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkList"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_list_class_init(GtkListClass * c, SEXP e) { SEXP s; S_GtkList_symbol = install("GtkList"); s = findVar(S_GtkList_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkListClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->selection_changed = S_virtual_gtk_list_selection_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->select_child = S_virtual_gtk_list_select_child; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->unselect_child = S_virtual_gtk_list_unselect_child; } USER_OBJECT_ S_gtk_list_class_selection_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListClass* object_class = ((GtkListClass*)getPtrValue(s_object_class)); GtkList* object = GTK_LIST(getPtrValue(s_object)); object_class->selection_changed(object); return(_result); } USER_OBJECT_ S_gtk_list_class_select_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListClass* object_class = ((GtkListClass*)getPtrValue(s_object_class)); GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); object_class->select_child(object, child); return(_result); } USER_OBJECT_ S_gtk_list_class_unselect_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListClass* object_class = ((GtkListClass*)getPtrValue(s_object_class)); GtkList* object = GTK_LIST(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); object_class->unselect_child(object, child); return(_result); } static SEXP S_GtkListItem_symbol; static void S_virtual_gtk_list_item_toggle_focus_row(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_select_all(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_unselect_all(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_undo_selection(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_start_selection(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_end_selection(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_extend_selection(GtkListItem* s_object, GtkScrollType s_scroll_type, gfloat s_position, gboolean s_auto_start_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_auto_start_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_scroll_horizontal(GtkListItem* s_object, GtkScrollType s_scroll_type, gfloat s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_scroll_vertical(GtkListItem* s_object, GtkScrollType s_scroll_type, gfloat s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_list_item_toggle_add_mode(GtkListItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkListItem_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkListItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_list_item_class_init(GtkListItemClass * c, SEXP e) { SEXP s; S_GtkListItem_symbol = install("GtkListItem"); s = findVar(S_GtkListItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkListItemClass)) = e; S_gtk_item_class_init(((GtkItemClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggle_focus_row = S_virtual_gtk_list_item_toggle_focus_row; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->select_all = S_virtual_gtk_list_item_select_all; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->unselect_all = S_virtual_gtk_list_item_unselect_all; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->undo_selection = S_virtual_gtk_list_item_undo_selection; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->start_selection = S_virtual_gtk_list_item_start_selection; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->end_selection = S_virtual_gtk_list_item_end_selection; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->extend_selection = S_virtual_gtk_list_item_extend_selection; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->scroll_horizontal = S_virtual_gtk_list_item_scroll_horizontal; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->scroll_vertical = S_virtual_gtk_list_item_scroll_vertical; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->toggle_add_mode = S_virtual_gtk_list_item_toggle_add_mode; } USER_OBJECT_ S_gtk_list_item_class_toggle_focus_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->toggle_focus_row(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_select_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->select_all(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_unselect_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->unselect_all(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_undo_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->undo_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_start_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->start_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_end_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->end_selection(object); return(_result); } USER_OBJECT_ S_gtk_list_item_class_extend_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position, USER_OBJECT_ s_auto_start_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); gboolean auto_start_selection = ((gboolean)asCLogical(s_auto_start_selection)); object_class->extend_selection(object, scroll_type, position, auto_start_selection); return(_result); } USER_OBJECT_ S_gtk_list_item_class_scroll_horizontal(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); object_class->scroll_horizontal(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_list_item_class_scroll_vertical(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll_type, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); GtkScrollType scroll_type = ((GtkScrollType)asCEnum(s_scroll_type, GTK_TYPE_SCROLL_TYPE)); gfloat position = ((gfloat)asCNumeric(s_position)); object_class->scroll_vertical(object, scroll_type, position); return(_result); } USER_OBJECT_ S_gtk_list_item_class_toggle_add_mode(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkListItemClass* object_class = ((GtkListItemClass*)getPtrValue(s_object_class)); GtkListItem* object = GTK_LIST_ITEM(getPtrValue(s_object)); object_class->toggle_add_mode(object); return(_result); } static SEXP S_GtkListStore_symbol; void S_gtk_list_store_class_init(GtkListStoreClass * c, SEXP e) { SEXP s; S_GtkListStore_symbol = install("GtkListStore"); s = findVar(S_GtkListStore_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkListStoreClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkMenu_symbol; void S_gtk_menu_class_init(GtkMenuClass * c, SEXP e) { SEXP s; S_GtkMenu_symbol = install("GtkMenu"); s = findVar(S_GtkMenu_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMenuClass)) = e; S_gtk_menu_shell_class_init(((GtkMenuShellClass *)c), e); } static SEXP S_GtkMenuBar_symbol; void S_gtk_menu_bar_class_init(GtkMenuBarClass * c, SEXP e) { SEXP s; S_GtkMenuBar_symbol = install("GtkMenuBar"); s = findVar(S_GtkMenuBar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMenuBarClass)) = e; S_gtk_menu_shell_class_init(((GtkMenuShellClass *)c), e); } static SEXP S_GtkMenuItem_symbol; static void S_virtual_gtk_menu_item_activate(GtkMenuItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_item_activate_item(GtkMenuItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_item_toggle_size_request(GtkMenuItem* s_object, gint* s_requisition) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_requisition = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); } static void S_virtual_gtk_menu_item_toggle_size_allocate(GtkMenuItem* s_object, gint s_allocation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuItem"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_allocation)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_menu_item_class_init(GtkMenuItemClass * c, SEXP e) { SEXP s; S_GtkMenuItem_symbol = install("GtkMenuItem"); s = findVar(S_GtkMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMenuItemClass)) = e; S_gtk_item_class_init(((GtkItemClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_menu_item_activate; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->activate_item = S_virtual_gtk_menu_item_activate_item; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->toggle_size_request = S_virtual_gtk_menu_item_toggle_size_request; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->toggle_size_allocate = S_virtual_gtk_menu_item_toggle_size_allocate; } USER_OBJECT_ S_gtk_menu_item_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItemClass* object_class = ((GtkMenuItemClass*)getPtrValue(s_object_class)); GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); object_class->activate(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_class_activate_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItemClass* object_class = ((GtkMenuItemClass*)getPtrValue(s_object_class)); GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); object_class->activate_item(object); return(_result); } USER_OBJECT_ S_gtk_menu_item_class_toggle_size_request(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItemClass* object_class = ((GtkMenuItemClass*)getPtrValue(s_object_class)); GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gint requisition; object_class->toggle_size_request(object, &requisition); _result = retByVal(_result, "requisition", asRInteger(requisition), NULL); ; return(_result); } USER_OBJECT_ S_gtk_menu_item_class_toggle_size_allocate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuItemClass* object_class = ((GtkMenuItemClass*)getPtrValue(s_object_class)); GtkMenuItem* object = GTK_MENU_ITEM(getPtrValue(s_object)); gint allocation = ((gint)asCInteger(s_allocation)); object_class->toggle_size_allocate(object, allocation); return(_result); } static SEXP S_GtkMenuShell_symbol; static void S_virtual_gtk_menu_shell_deactivate(GtkMenuShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_selection_done(GtkMenuShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_move_current(GtkMenuShell* s_object, GtkMenuDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_MENU_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_activate_current(GtkMenuShell* s_object, gboolean s_force_hide) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_force_hide)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_cancel(GtkMenuShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_select_item(GtkMenuShell* s_object, GtkWidget* s_menu_item) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu_item, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_menu_shell_insert(GtkMenuShell* s_object, GtkWidget* s_child, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_gtk_menu_shell_get_popup_delay(GtkMenuShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuShell_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } void S_gtk_menu_shell_class_init(GtkMenuShellClass * c, SEXP e) { SEXP s; S_GtkMenuShell_symbol = install("GtkMenuShell"); s = findVar(S_GtkMenuShell_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMenuShellClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->deactivate = S_virtual_gtk_menu_shell_deactivate; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->selection_done = S_virtual_gtk_menu_shell_selection_done; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_current = S_virtual_gtk_menu_shell_move_current; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->activate_current = S_virtual_gtk_menu_shell_activate_current; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->cancel = S_virtual_gtk_menu_shell_cancel; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->select_item = S_virtual_gtk_menu_shell_select_item; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->insert = S_virtual_gtk_menu_shell_insert; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_popup_delay = S_virtual_gtk_menu_shell_get_popup_delay; } USER_OBJECT_ S_gtk_menu_shell_class_deactivate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); object_class->deactivate(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_selection_done(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); object_class->selection_done(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_move_current(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkMenuDirectionType direction = ((GtkMenuDirectionType)asCEnum(s_direction, GTK_TYPE_MENU_DIRECTION_TYPE)); object_class->move_current(object, direction); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_activate_current(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_force_hide) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gboolean force_hide = ((gboolean)asCLogical(s_force_hide)); object_class->activate_current(object, force_hide); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_cancel(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); object_class->cancel(object); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_select_item(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_menu_item) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* menu_item = GTK_WIDGET(getPtrValue(s_menu_item)); object_class->select_item(object, menu_item); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_insert(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); gint position = ((gint)asCInteger(s_position)); object_class->insert(object, child, position); return(_result); } USER_OBJECT_ S_gtk_menu_shell_class_get_popup_delay(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuShellClass* object_class = ((GtkMenuShellClass*)getPtrValue(s_object_class)); GtkMenuShell* object = GTK_MENU_SHELL(getPtrValue(s_object)); gint ans; ans = object_class->get_popup_delay(object); _result = asRInteger(ans); return(_result); } static SEXP S_GtkMenuToolButton_symbol; static void S_virtual_gtk_menu_tool_button_show_menu(GtkMenuToolButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkMenuToolButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkMenuToolButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_menu_tool_button_class_init(GtkMenuToolButtonClass * c, SEXP e) { SEXP s; S_GtkMenuToolButton_symbol = install("GtkMenuToolButton"); s = findVar(S_GtkMenuToolButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMenuToolButtonClass)) = e; S_gtk_tool_button_class_init(((GtkToolButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->show_menu = S_virtual_gtk_menu_tool_button_show_menu; } USER_OBJECT_ S_gtk_menu_tool_button_class_show_menu(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkMenuToolButtonClass* object_class = ((GtkMenuToolButtonClass*)getPtrValue(s_object_class)); GtkMenuToolButton* object = GTK_MENU_TOOL_BUTTON(getPtrValue(s_object)); object_class->show_menu(object); return(_result); } static SEXP S_GtkMessageDialog_symbol; void S_gtk_message_dialog_class_init(GtkMessageDialogClass * c, SEXP e) { SEXP s; S_GtkMessageDialog_symbol = install("GtkMessageDialog"); s = findVar(S_GtkMessageDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMessageDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } static SEXP S_GtkMisc_symbol; void S_gtk_misc_class_init(GtkMiscClass * c, SEXP e) { SEXP s; S_GtkMisc_symbol = install("GtkMisc"); s = findVar(S_GtkMisc_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMiscClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkNotebook_symbol; static void S_virtual_gtk_notebook_switch_page(GtkNotebook* s_object, GtkNotebookPage* s_page, guint s_page_num) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_page, "GtkNotebookPage")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_page_num)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_notebook_select_page(GtkNotebook* s_object, gboolean s_move_focus) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_move_focus)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_notebook_focus_tab(GtkNotebook* s_object, GtkNotebookTab s_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, GTK_TYPE_NOTEBOOK_TAB)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_notebook_change_current_page(GtkNotebook* s_object, gint s_offset) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_offset)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_notebook_move_focus_out(GtkNotebook* s_object, GtkDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #if GTK_CHECK_VERSION(2, 10, 7) static gboolean S_virtual_gtk_notebook_reorder_tab(GtkNotebook* s_object, GtkDirectionType s_direction, gboolean s_move_to_last) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_move_to_last)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static gint S_virtual_gtk_notebook_insert_page(GtkNotebook* s_object, GtkWidget* s_child, GtkWidget* s_tab_label, GtkWidget* s_menu_label, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkNotebook_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkNotebook"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_child, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tab_label, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu_label, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } #endif void S_gtk_notebook_class_init(GtkNotebookClass * c, SEXP e) { SEXP s; S_GtkNotebook_symbol = install("GtkNotebook"); s = findVar(S_GtkNotebook_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkNotebookClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->switch_page = S_virtual_gtk_notebook_switch_page; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->select_page = S_virtual_gtk_notebook_select_page; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->focus_tab = S_virtual_gtk_notebook_focus_tab; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->change_current_page = S_virtual_gtk_notebook_change_current_page; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->move_focus_out = S_virtual_gtk_notebook_move_focus_out; #if GTK_CHECK_VERSION(2, 10, 7) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->reorder_tab = S_virtual_gtk_notebook_reorder_tab; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->insert_page = S_virtual_gtk_notebook_insert_page; #endif } USER_OBJECT_ S_gtk_notebook_class_switch_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_page, USER_OBJECT_ s_page_num) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkNotebookPage* page = ((GtkNotebookPage*)getPtrValue(s_page)); guint page_num = ((guint)asCNumeric(s_page_num)); object_class->switch_page(object, page, page_num); return(_result); } USER_OBJECT_ S_gtk_notebook_class_select_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_move_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gboolean move_focus = ((gboolean)asCLogical(s_move_focus)); gboolean ans; ans = object_class->select_page(object, move_focus); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_class_focus_tab(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkNotebookTab type = ((GtkNotebookTab)asCEnum(s_type, GTK_TYPE_NOTEBOOK_TAB)); gboolean ans; ans = object_class->focus_tab(object, type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_notebook_class_change_current_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_offset) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); gint offset = ((gint)asCInteger(s_offset)); object_class->change_current_page(object, offset); return(_result); } USER_OBJECT_ S_gtk_notebook_class_move_focus_out(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); object_class->move_focus_out(object, direction); return(_result); } USER_OBJECT_ S_gtk_notebook_class_reorder_tab(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction, USER_OBJECT_ s_move_to_last) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 7) GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); gboolean move_to_last = ((gboolean)asCLogical(s_move_to_last)); gboolean ans; ans = object_class->reorder_tab(object, direction, move_to_last); _result = asRLogical(ans); #else error("gtk_notebook_reorder_tab exists only in Gtk >= 2.10.7"); #endif return(_result); } USER_OBJECT_ S_gtk_notebook_class_insert_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_tab_label, USER_OBJECT_ s_menu_label, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkNotebookClass* object_class = ((GtkNotebookClass*)getPtrValue(s_object_class)); GtkNotebook* object = GTK_NOTEBOOK(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); GtkWidget* tab_label = GTK_WIDGET(getPtrValue(s_tab_label)); GtkWidget* menu_label = GTK_WIDGET(getPtrValue(s_menu_label)); gint position = ((gint)asCInteger(s_position)); gint ans; ans = object_class->insert_page(object, child, tab_label, menu_label, position); _result = asRInteger(ans); #else error("gtk_notebook_insert_page exists only in Gtk >= 2.10.0"); #endif return(_result); } static SEXP S_GtkObject_symbol; void S_gtk_object_class_init(GtkObjectClass * c, SEXP e) { SEXP s; S_GtkObject_symbol = install("GtkObject"); s = findVar(S_GtkObject_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkObjectClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkOldEditable_symbol; static void S_virtual_gtk_old_editable_activate(GtkOldEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_set_editable(GtkOldEditable* s_object, gboolean s_is_editable) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_is_editable)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_move_cursor(GtkOldEditable* s_object, gint s_x, gint s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_move_word(GtkOldEditable* s_object, gint s_n) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_move_page(GtkOldEditable* s_object, gint s_x, gint s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_move_to_row(GtkOldEditable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_move_to_column(GtkOldEditable* s_object, gint s_row) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_row)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_kill_char(GtkOldEditable* s_object, gint s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_direction)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_kill_word(GtkOldEditable* s_object, gint s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_direction)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_kill_line(GtkOldEditable* s_object, gint s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_direction)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_cut_clipboard(GtkOldEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_copy_clipboard(GtkOldEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_paste_clipboard(GtkOldEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_update_text(GtkOldEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gchar* S_virtual_gtk_old_editable_get_chars(GtkOldEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static void S_virtual_gtk_old_editable_set_selection(GtkOldEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_old_editable_set_position(GtkOldEditable* s_object, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOldEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOldEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_old_editable_class_init(GtkOldEditableClass * c, SEXP e) { SEXP s; S_GtkOldEditable_symbol = install("GtkOldEditable"); s = findVar(S_GtkOldEditable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkOldEditableClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_old_editable_activate; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->set_editable = S_virtual_gtk_old_editable_set_editable; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_old_editable_move_cursor; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->move_word = S_virtual_gtk_old_editable_move_word; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->move_page = S_virtual_gtk_old_editable_move_page; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->move_to_row = S_virtual_gtk_old_editable_move_to_row; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->move_to_column = S_virtual_gtk_old_editable_move_to_column; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->kill_char = S_virtual_gtk_old_editable_kill_char; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->kill_word = S_virtual_gtk_old_editable_kill_word; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->kill_line = S_virtual_gtk_old_editable_kill_line; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->cut_clipboard = S_virtual_gtk_old_editable_cut_clipboard; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->copy_clipboard = S_virtual_gtk_old_editable_copy_clipboard; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->paste_clipboard = S_virtual_gtk_old_editable_paste_clipboard; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->update_text = S_virtual_gtk_old_editable_update_text; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->get_chars = S_virtual_gtk_old_editable_get_chars; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->set_selection = S_virtual_gtk_old_editable_set_selection; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->set_position = S_virtual_gtk_old_editable_set_position; } USER_OBJECT_ S_gtk_old_editable_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); object_class->activate(object); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_set_editable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_is_editable) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gboolean is_editable = ((gboolean)asCLogical(s_is_editable)); object_class->set_editable(object, is_editable); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); object_class->move_cursor(object, x, y); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_move_word(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_n) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint n = ((gint)asCInteger(s_n)); object_class->move_word(object, n); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_move_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); object_class->move_page(object, x, y); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_move_to_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); object_class->move_to_row(object, row); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_move_to_column(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_row) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint row = ((gint)asCInteger(s_row)); object_class->move_to_column(object, row); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_kill_char(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint direction = ((gint)asCInteger(s_direction)); object_class->kill_char(object, direction); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_kill_word(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint direction = ((gint)asCInteger(s_direction)); object_class->kill_word(object, direction); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_kill_line(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint direction = ((gint)asCInteger(s_direction)); object_class->kill_line(object, direction); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_cut_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); object_class->cut_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_copy_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); object_class->copy_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_paste_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); object_class->paste_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_update_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->update_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_get_chars(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); gchar* ans; ans = object_class->get_chars(object, start_pos, end_pos); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_old_editable_class_set_selection(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->set_selection(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_old_editable_class_set_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOldEditableClass* object_class = ((GtkOldEditableClass*)getPtrValue(s_object_class)); GtkOldEditable* object = GTK_OLD_EDITABLE(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); object_class->set_position(object, position); return(_result); } static SEXP S_GtkOptionMenu_symbol; static void S_virtual_gtk_option_menu_changed(GtkOptionMenu* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkOptionMenu_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkOptionMenu"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_option_menu_class_init(GtkOptionMenuClass * c, SEXP e) { SEXP s; S_GtkOptionMenu_symbol = install("GtkOptionMenu"); s = findVar(S_GtkOptionMenu_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkOptionMenuClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_option_menu_changed; } USER_OBJECT_ S_gtk_option_menu_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkOptionMenuClass* object_class = ((GtkOptionMenuClass*)getPtrValue(s_object_class)); GtkOptionMenu* object = GTK_OPTION_MENU(getPtrValue(s_object)); object_class->changed(object); return(_result); } static SEXP S_GtkPaned_symbol; static gboolean S_virtual_gtk_paned_cycle_child_focus(GtkPaned* s_object, gboolean s_reverse) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_reverse)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_paned_toggle_handle_focus(GtkPaned* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_paned_move_handle(GtkPaned* s_object, GtkScrollType s_scroll) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_paned_cycle_handle_focus(GtkPaned* s_object, gboolean s_reverse) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_reverse)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_paned_accept_position(GtkPaned* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_paned_cancel_position(GtkPaned* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPaned_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPaned"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_paned_class_init(GtkPanedClass * c, SEXP e) { SEXP s; S_GtkPaned_symbol = install("GtkPaned"); s = findVar(S_GtkPaned_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkPanedClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->cycle_child_focus = S_virtual_gtk_paned_cycle_child_focus; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->toggle_handle_focus = S_virtual_gtk_paned_toggle_handle_focus; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_handle = S_virtual_gtk_paned_move_handle; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->cycle_handle_focus = S_virtual_gtk_paned_cycle_handle_focus; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->accept_position = S_virtual_gtk_paned_accept_position; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->cancel_position = S_virtual_gtk_paned_cancel_position; } USER_OBJECT_ S_gtk_paned_class_cycle_child_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_reverse) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gboolean reverse = ((gboolean)asCLogical(s_reverse)); gboolean ans; ans = object_class->cycle_child_focus(object, reverse); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_paned_class_toggle_handle_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gboolean ans; ans = object_class->toggle_handle_focus(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_paned_class_move_handle(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); GtkScrollType scroll = ((GtkScrollType)asCEnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); gboolean ans; ans = object_class->move_handle(object, scroll); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_paned_class_cycle_handle_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_reverse) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gboolean reverse = ((gboolean)asCLogical(s_reverse)); gboolean ans; ans = object_class->cycle_handle_focus(object, reverse); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_paned_class_accept_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gboolean ans; ans = object_class->accept_position(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_paned_class_cancel_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPanedClass* object_class = ((GtkPanedClass*)getPtrValue(s_object_class)); GtkPaned* object = GTK_PANED(getPtrValue(s_object)); gboolean ans; ans = object_class->cancel_position(object); _result = asRLogical(ans); return(_result); } static SEXP S_GtkPixmap_symbol; void S_gtk_pixmap_class_init(GtkPixmapClass * c, SEXP e) { SEXP s; S_GtkPixmap_symbol = install("GtkPixmap"); s = findVar(S_GtkPixmap_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkPixmapClass)) = e; S_gtk_misc_class_init(((GtkMiscClass *)c), e); } static SEXP S_GtkPlug_symbol; static void S_virtual_gtk_plug_embedded(GtkPlug* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPlug_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkPlug"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_plug_class_init(GtkPlugClass * c, SEXP e) { SEXP s; S_GtkPlug_symbol = install("GtkPlug"); s = findVar(S_GtkPlug_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkPlugClass)) = e; S_gtk_window_class_init(((GtkWindowClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->embedded = S_virtual_gtk_plug_embedded; } USER_OBJECT_ S_gtk_plug_class_embedded(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkPlugClass* object_class = ((GtkPlugClass*)getPtrValue(s_object_class)); GtkPlug* object = GTK_PLUG(getPtrValue(s_object)); object_class->embedded(object); return(_result); } static SEXP S_GtkPreview_symbol; void S_gtk_preview_class_init(GtkPreviewClass * c, SEXP e) { SEXP s; S_GtkPreview_symbol = install("GtkPreview"); s = findVar(S_GtkPreview_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkPreviewClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkProgress_symbol; static void S_virtual_gtk_progress_paint(GtkProgress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkProgress_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkProgress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_progress_update(GtkProgress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkProgress_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkProgress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_progress_act_mode_enter(GtkProgress* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkProgress_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkProgress"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_progress_class_init(GtkProgressClass * c, SEXP e) { SEXP s; S_GtkProgress_symbol = install("GtkProgress"); s = findVar(S_GtkProgress_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkProgressClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->paint = S_virtual_gtk_progress_paint; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->update = S_virtual_gtk_progress_update; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->act_mode_enter = S_virtual_gtk_progress_act_mode_enter; } USER_OBJECT_ S_gtk_progress_class_paint(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressClass* object_class = ((GtkProgressClass*)getPtrValue(s_object_class)); GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); object_class->paint(object); return(_result); } USER_OBJECT_ S_gtk_progress_class_update(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressClass* object_class = ((GtkProgressClass*)getPtrValue(s_object_class)); GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); object_class->update(object); return(_result); } USER_OBJECT_ S_gtk_progress_class_act_mode_enter(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkProgressClass* object_class = ((GtkProgressClass*)getPtrValue(s_object_class)); GtkProgress* object = GTK_PROGRESS(getPtrValue(s_object)); object_class->act_mode_enter(object); return(_result); } static SEXP S_GtkProgressBar_symbol; void S_gtk_progress_bar_class_init(GtkProgressBarClass * c, SEXP e) { SEXP s; S_GtkProgressBar_symbol = install("GtkProgressBar"); s = findVar(S_GtkProgressBar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkProgressBarClass)) = e; S_gtk_progress_class_init(((GtkProgressClass *)c), e); } static SEXP S_GtkRadioAction_symbol; static void S_virtual_gtk_radio_action_changed(GtkRadioAction* s_object, GtkRadioAction* s_current) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRadioAction_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRadioAction"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_current, toRPointerWithRef(s_current, "GtkRadioAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_radio_action_class_init(GtkRadioActionClass * c, SEXP e) { SEXP s; S_GtkRadioAction_symbol = install("GtkRadioAction"); s = findVar(S_GtkRadioAction_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRadioActionClass)) = e; S_gtk_toggle_action_class_init(((GtkToggleActionClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_radio_action_changed; } USER_OBJECT_ S_gtk_radio_action_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_current) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioActionClass* object_class = ((GtkRadioActionClass*)getPtrValue(s_object_class)); GtkRadioAction* object = GTK_RADIO_ACTION(getPtrValue(s_object)); GtkRadioAction* current = GTK_RADIO_ACTION(getPtrValue(s_current)); object_class->changed(object, current); return(_result); } static SEXP S_GtkRadioButton_symbol; static void S_virtual_gtk_radio_button_group_changed(GtkRadioButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRadioButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRadioButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_radio_button_class_init(GtkRadioButtonClass * c, SEXP e) { SEXP s; S_GtkRadioButton_symbol = install("GtkRadioButton"); s = findVar(S_GtkRadioButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRadioButtonClass)) = e; S_gtk_check_button_class_init(((GtkCheckButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->group_changed = S_virtual_gtk_radio_button_group_changed; } USER_OBJECT_ S_gtk_radio_button_class_group_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioButtonClass* object_class = ((GtkRadioButtonClass*)getPtrValue(s_object_class)); GtkRadioButton* object = GTK_RADIO_BUTTON(getPtrValue(s_object)); object_class->group_changed(object); return(_result); } static SEXP S_GtkRadioMenuItem_symbol; static void S_virtual_gtk_radio_menu_item_group_changed(GtkRadioMenuItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRadioMenuItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRadioMenuItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_radio_menu_item_class_init(GtkRadioMenuItemClass * c, SEXP e) { SEXP s; S_GtkRadioMenuItem_symbol = install("GtkRadioMenuItem"); s = findVar(S_GtkRadioMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRadioMenuItemClass)) = e; S_gtk_check_menu_item_class_init(((GtkCheckMenuItemClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->group_changed = S_virtual_gtk_radio_menu_item_group_changed; } USER_OBJECT_ S_gtk_radio_menu_item_class_group_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRadioMenuItemClass* object_class = ((GtkRadioMenuItemClass*)getPtrValue(s_object_class)); GtkRadioMenuItem* object = GTK_RADIO_MENU_ITEM(getPtrValue(s_object)); object_class->group_changed(object); return(_result); } static SEXP S_GtkRadioToolButton_symbol; void S_gtk_radio_tool_button_class_init(GtkRadioToolButtonClass * c, SEXP e) { SEXP s; S_GtkRadioToolButton_symbol = install("GtkRadioToolButton"); s = findVar(S_GtkRadioToolButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRadioToolButtonClass)) = e; S_gtk_toggle_tool_button_class_init(((GtkToggleToolButtonClass *)c), e); } static SEXP S_GtkRange_symbol; static void S_virtual_gtk_range_value_changed(GtkRange* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRange_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRange"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_range_adjust_bounds(GtkRange* s_object, gdouble s_new_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRange_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRange"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_new_value)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_range_move_slider(GtkRange* s_object, GtkScrollType s_scroll) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRange_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRange"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_range_get_range_border(GtkRange* s_object, GtkBorder* s_border_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRange_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRange"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_border_ ? gtk_border_copy(s_border_) : NULL, "GtkBorder", (RPointerFinalizer) gtk_border_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_range_change_value(GtkRange* s_object, GtkScrollType s_scroll, gdouble s_new_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRange_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRange"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_new_value)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_range_class_init(GtkRangeClass * c, SEXP e) { SEXP s; S_GtkRange_symbol = install("GtkRange"); s = findVar(S_GtkRange_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRangeClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->value_changed = S_virtual_gtk_range_value_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->adjust_bounds = S_virtual_gtk_range_adjust_bounds; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_slider = S_virtual_gtk_range_move_slider; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_range_border = S_virtual_gtk_range_get_range_border; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->change_value = S_virtual_gtk_range_change_value; } USER_OBJECT_ S_gtk_range_class_value_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRangeClass* object_class = ((GtkRangeClass*)getPtrValue(s_object_class)); GtkRange* object = GTK_RANGE(getPtrValue(s_object)); object_class->value_changed(object); return(_result); } USER_OBJECT_ S_gtk_range_class_adjust_bounds(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_new_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRangeClass* object_class = ((GtkRangeClass*)getPtrValue(s_object_class)); GtkRange* object = GTK_RANGE(getPtrValue(s_object)); gdouble new_value = ((gdouble)asCNumeric(s_new_value)); object_class->adjust_bounds(object, new_value); return(_result); } USER_OBJECT_ S_gtk_range_class_move_slider(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRangeClass* object_class = ((GtkRangeClass*)getPtrValue(s_object_class)); GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkScrollType scroll = ((GtkScrollType)asCEnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); object_class->move_slider(object, scroll); return(_result); } USER_OBJECT_ S_gtk_range_class_get_range_border(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_border_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRangeClass* object_class = ((GtkRangeClass*)getPtrValue(s_object_class)); GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkBorder* border_ = ((GtkBorder*)getPtrValue(s_border_)); object_class->get_range_border(object, border_); return(_result); } USER_OBJECT_ S_gtk_range_class_change_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll, USER_OBJECT_ s_new_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRangeClass* object_class = ((GtkRangeClass*)getPtrValue(s_object_class)); GtkRange* object = GTK_RANGE(getPtrValue(s_object)); GtkScrollType scroll = ((GtkScrollType)asCEnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); gdouble new_value = ((gdouble)asCNumeric(s_new_value)); gboolean ans; ans = object_class->change_value(object, scroll, new_value); _result = asRLogical(ans); return(_result); } static SEXP S_GtkRcStyle_symbol; static GtkRcStyle* S_virtual_gtk_rc_style_create_rc_style(GtkRcStyle* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRcStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRcStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkRcStyle*)0)); return(GTK_RC_STYLE(getPtrValueWithRef(s_ans))); } static guint S_virtual_gtk_rc_style_parse(GtkRcStyle* s_object, GtkSettings* s_settings, GScanner* s_scanner) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRcStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRcStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_settings, "GtkSettings")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_scanner, "GScanner")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((guint)0)); return(((guint)asCNumeric(s_ans))); } static void S_virtual_gtk_rc_style_merge(GtkRcStyle* s_object, GtkRcStyle* s_src) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRcStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRcStyle"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_src, toRPointerWithRef(s_src, "GtkRcStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkStyle* S_virtual_gtk_rc_style_create_style(GtkRcStyle* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRcStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRcStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkStyle*)0)); return(GTK_STYLE(getPtrValueWithRef(s_ans))); } void S_gtk_rc_style_class_init(GtkRcStyleClass * c, SEXP e) { SEXP s; S_GtkRcStyle_symbol = install("GtkRcStyle"); s = findVar(S_GtkRcStyle_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRcStyleClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->create_rc_style = S_virtual_gtk_rc_style_create_rc_style; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->parse = S_virtual_gtk_rc_style_parse; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->merge = S_virtual_gtk_rc_style_merge; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->create_style = S_virtual_gtk_rc_style_create_style; } USER_OBJECT_ S_gtk_rc_style_class_create_rc_style(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyleClass* object_class = ((GtkRcStyleClass*)getPtrValue(s_object_class)); GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); GtkRcStyle* ans; ans = object_class->create_rc_style(object); _result = toRPointerWithFinalizer(ans, "GtkRcStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_rc_style_class_parse(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_settings, USER_OBJECT_ s_scanner) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyleClass* object_class = ((GtkRcStyleClass*)getPtrValue(s_object_class)); GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); GtkSettings* settings = GTK_SETTINGS(getPtrValue(s_settings)); GScanner* scanner = ((GScanner*)getPtrValue(s_scanner)); guint ans; ans = object_class->parse(object, settings, scanner); _result = asRNumeric(ans); return(_result); } USER_OBJECT_ S_gtk_rc_style_class_merge(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_src) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyleClass* object_class = ((GtkRcStyleClass*)getPtrValue(s_object_class)); GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); GtkRcStyle* src = GTK_RC_STYLE(getPtrValue(s_src)); object_class->merge(object, src); return(_result); } USER_OBJECT_ S_gtk_rc_style_class_create_style(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRcStyleClass* object_class = ((GtkRcStyleClass*)getPtrValue(s_object_class)); GtkRcStyle* object = GTK_RC_STYLE(getPtrValue(s_object)); GtkStyle* ans; ans = object_class->create_style(object); _result = toRPointerWithFinalizer(ans, "GtkStyle", (RPointerFinalizer) g_object_unref); return(_result); } static SEXP S_GtkRuler_symbol; static void S_virtual_gtk_ruler_draw_ticks(GtkRuler* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRuler_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRuler"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_ruler_draw_pos(GtkRuler* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRuler_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkRuler"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_ruler_class_init(GtkRulerClass * c, SEXP e) { SEXP s; S_GtkRuler_symbol = install("GtkRuler"); s = findVar(S_GtkRuler_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRulerClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->draw_ticks = S_virtual_gtk_ruler_draw_ticks; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->draw_pos = S_virtual_gtk_ruler_draw_pos; } USER_OBJECT_ S_gtk_ruler_class_draw_ticks(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRulerClass* object_class = ((GtkRulerClass*)getPtrValue(s_object_class)); GtkRuler* object = GTK_RULER(getPtrValue(s_object)); object_class->draw_ticks(object); return(_result); } USER_OBJECT_ S_gtk_ruler_class_draw_pos(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkRulerClass* object_class = ((GtkRulerClass*)getPtrValue(s_object_class)); GtkRuler* object = GTK_RULER(getPtrValue(s_object)); object_class->draw_pos(object); return(_result); } static SEXP S_GtkScale_symbol; static gchar* S_virtual_gtk_scale_format_value(GtkScale* s_object, gdouble s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkScale_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkScale"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_value)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static void S_virtual_gtk_scale_draw_value(GtkScale* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkScale_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkScale"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_scale_get_layout_offsets(GtkScale* s_object, gint* s_x, gint* s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkScale_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkScale"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_x = ((gint)asCInteger(VECTOR_ELT(s_ans, 0))); *s_y = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); } void S_gtk_scale_class_init(GtkScaleClass * c, SEXP e) { SEXP s; S_GtkScale_symbol = install("GtkScale"); s = findVar(S_GtkScale_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkScaleClass)) = e; S_gtk_range_class_init(((GtkRangeClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->format_value = S_virtual_gtk_scale_format_value; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->draw_value = S_virtual_gtk_scale_draw_value; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_layout_offsets = S_virtual_gtk_scale_get_layout_offsets; } USER_OBJECT_ S_gtk_scale_class_format_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScaleClass* object_class = ((GtkScaleClass*)getPtrValue(s_object_class)); GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gdouble value = ((gdouble)asCNumeric(s_value)); gchar* ans; ans = object_class->format_value(object, value); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_scale_class_draw_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScaleClass* object_class = ((GtkScaleClass*)getPtrValue(s_object_class)); GtkScale* object = GTK_SCALE(getPtrValue(s_object)); object_class->draw_value(object); return(_result); } USER_OBJECT_ S_gtk_scale_class_get_layout_offsets(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScaleClass* object_class = ((GtkScaleClass*)getPtrValue(s_object_class)); GtkScale* object = GTK_SCALE(getPtrValue(s_object)); gint x; gint y; object_class->get_layout_offsets(object, &x, &y); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), NULL); ; ; return(_result); } static SEXP S_GtkScrollbar_symbol; void S_gtk_scrollbar_class_init(GtkScrollbarClass * c, SEXP e) { SEXP s; S_GtkScrollbar_symbol = install("GtkScrollbar"); s = findVar(S_GtkScrollbar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkScrollbarClass)) = e; S_gtk_range_class_init(((GtkRangeClass *)c), e); } static SEXP S_GtkScrolledWindow_symbol; static void S_virtual_gtk_scrolled_window_scroll_child(GtkScrolledWindow* s_object, GtkScrollType s_scroll, gboolean s_horizontal) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkScrolledWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkScrolledWindow"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_horizontal)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_scrolled_window_move_focus_out(GtkScrolledWindow* s_object, GtkDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkScrolledWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkScrolledWindow"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_scrolled_window_class_init(GtkScrolledWindowClass * c, SEXP e) { SEXP s; S_GtkScrolledWindow_symbol = install("GtkScrolledWindow"); s = findVar(S_GtkScrolledWindow_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkScrolledWindowClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->scroll_child = S_virtual_gtk_scrolled_window_scroll_child; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->move_focus_out = S_virtual_gtk_scrolled_window_move_focus_out; } USER_OBJECT_ S_gtk_scrolled_window_class_scroll_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll, USER_OBJECT_ s_horizontal) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindowClass* object_class = ((GtkScrolledWindowClass*)getPtrValue(s_object_class)); GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkScrollType scroll = ((GtkScrollType)asCEnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); gboolean horizontal = ((gboolean)asCLogical(s_horizontal)); object_class->scroll_child(object, scroll, horizontal); return(_result); } USER_OBJECT_ S_gtk_scrolled_window_class_move_focus_out(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkScrolledWindowClass* object_class = ((GtkScrolledWindowClass*)getPtrValue(s_object_class)); GtkScrolledWindow* object = GTK_SCROLLED_WINDOW(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); object_class->move_focus_out(object, direction); return(_result); } static SEXP S_GtkSeparator_symbol; void S_gtk_separator_class_init(GtkSeparatorClass * c, SEXP e) { SEXP s; S_GtkSeparator_symbol = install("GtkSeparator"); s = findVar(S_GtkSeparator_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSeparatorClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } static SEXP S_GtkSeparatorMenuItem_symbol; void S_gtk_separator_menu_item_class_init(GtkSeparatorMenuItemClass * c, SEXP e) { SEXP s; S_GtkSeparatorMenuItem_symbol = install("GtkSeparatorMenuItem"); s = findVar(S_GtkSeparatorMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSeparatorMenuItemClass)) = e; S_gtk_menu_item_class_init(((GtkMenuItemClass *)c), e); } static SEXP S_GtkSeparatorToolItem_symbol; void S_gtk_separator_tool_item_class_init(GtkSeparatorToolItemClass * c, SEXP e) { SEXP s; S_GtkSeparatorToolItem_symbol = install("GtkSeparatorToolItem"); s = findVar(S_GtkSeparatorToolItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSeparatorToolItemClass)) = e; S_gtk_tool_item_class_init(((GtkToolItemClass *)c), e); } static SEXP S_GtkSettings_symbol; void S_gtk_settings_class_init(GtkSettingsClass * c, SEXP e) { SEXP s; S_GtkSettings_symbol = install("GtkSettings"); s = findVar(S_GtkSettings_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSettingsClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkSizeGroup_symbol; void S_gtk_size_group_class_init(GtkSizeGroupClass * c, SEXP e) { SEXP s; S_GtkSizeGroup_symbol = install("GtkSizeGroup"); s = findVar(S_GtkSizeGroup_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSizeGroupClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkSocket_symbol; static void S_virtual_gtk_socket_plug_added(GtkSocket* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSocket_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSocket"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_socket_plug_removed(GtkSocket* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSocket_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSocket"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_socket_class_init(GtkSocketClass * c, SEXP e) { SEXP s; S_GtkSocket_symbol = install("GtkSocket"); s = findVar(S_GtkSocket_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSocketClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->plug_added = S_virtual_gtk_socket_plug_added; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->plug_removed = S_virtual_gtk_socket_plug_removed; } USER_OBJECT_ S_gtk_socket_class_plug_added(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSocketClass* object_class = ((GtkSocketClass*)getPtrValue(s_object_class)); GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); object_class->plug_added(object); return(_result); } USER_OBJECT_ S_gtk_socket_class_plug_removed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSocketClass* object_class = ((GtkSocketClass*)getPtrValue(s_object_class)); GtkSocket* object = GTK_SOCKET(getPtrValue(s_object)); gboolean ans; ans = object_class->plug_removed(object); _result = asRLogical(ans); return(_result); } static SEXP S_GtkSpinButton_symbol; static gint S_virtual_gtk_spin_button_input(GtkSpinButton* s_object, gdouble* s_new_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSpinButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSpinButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); *s_new_value = ((gdouble)asCNumeric(VECTOR_ELT(s_ans, 1))); return(((gint)asCInteger(VECTOR_ELT(s_ans, 0)))); } static gint S_virtual_gtk_spin_button_output(GtkSpinButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSpinButton_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSpinButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static void S_virtual_gtk_spin_button_value_changed(GtkSpinButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSpinButton_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSpinButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_spin_button_change_value(GtkSpinButton* s_object, GtkScrollType s_scroll) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSpinButton_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSpinButton"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_spin_button_wrapped(GtkSpinButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkSpinButton_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkSpinButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_spin_button_class_init(GtkSpinButtonClass * c, SEXP e) { SEXP s; S_GtkSpinButton_symbol = install("GtkSpinButton"); s = findVar(S_GtkSpinButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSpinButtonClass)) = e; S_gtk_entry_class_init(((GtkEntryClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->input = S_virtual_gtk_spin_button_input; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->output = S_virtual_gtk_spin_button_output; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->value_changed = S_virtual_gtk_spin_button_value_changed; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->change_value = S_virtual_gtk_spin_button_change_value; #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->wrapped = S_virtual_gtk_spin_button_wrapped; #endif } USER_OBJECT_ S_gtk_spin_button_class_input(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButtonClass* object_class = ((GtkSpinButtonClass*)getPtrValue(s_object_class)); GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gint ans; gdouble new_value; ans = object_class->input(object, &new_value); _result = asRInteger(ans); _result = retByVal(_result, "new.value", asRNumeric(new_value), NULL); ; return(_result); } USER_OBJECT_ S_gtk_spin_button_class_output(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButtonClass* object_class = ((GtkSpinButtonClass*)getPtrValue(s_object_class)); GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); gint ans; ans = object_class->output(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_spin_button_class_value_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButtonClass* object_class = ((GtkSpinButtonClass*)getPtrValue(s_object_class)); GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); object_class->value_changed(object); return(_result); } USER_OBJECT_ S_gtk_spin_button_class_change_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_scroll) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkSpinButtonClass* object_class = ((GtkSpinButtonClass*)getPtrValue(s_object_class)); GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); GtkScrollType scroll = ((GtkScrollType)asCEnum(s_scroll, GTK_TYPE_SCROLL_TYPE)); object_class->change_value(object, scroll); return(_result); } USER_OBJECT_ S_gtk_spin_button_class_wrapped(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkSpinButtonClass* object_class = ((GtkSpinButtonClass*)getPtrValue(s_object_class)); GtkSpinButton* object = GTK_SPIN_BUTTON(getPtrValue(s_object)); object_class->wrapped(object); #else error("gtk_spin_button_wrapped exists only in Gtk >= 2.10.0"); #endif return(_result); } static SEXP S_GtkStatusbar_symbol; static void S_virtual_gtk_statusbar_text_pushed(GtkStatusbar* s_object, guint s_context_id, const gchar* s_text) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStatusbar_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkStatusbar"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_context_id)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_statusbar_text_popped(GtkStatusbar* s_object, guint s_context_id, const gchar* s_text) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStatusbar_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkStatusbar"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_context_id)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_statusbar_class_init(GtkStatusbarClass * c, SEXP e) { SEXP s; S_GtkStatusbar_symbol = install("GtkStatusbar"); s = findVar(S_GtkStatusbar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkStatusbarClass)) = e; S_gtk_hbox_class_init(((GtkHBoxClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->text_pushed = S_virtual_gtk_statusbar_text_pushed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->text_popped = S_virtual_gtk_statusbar_text_popped; } USER_OBJECT_ S_gtk_statusbar_class_text_pushed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbarClass* object_class = ((GtkStatusbarClass*)getPtrValue(s_object_class)); GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); guint context_id = ((guint)asCNumeric(s_context_id)); const gchar* text = ((const gchar*)asCString(s_text)); object_class->text_pushed(object, context_id, text); return(_result); } USER_OBJECT_ S_gtk_statusbar_class_text_popped(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context_id, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStatusbarClass* object_class = ((GtkStatusbarClass*)getPtrValue(s_object_class)); GtkStatusbar* object = GTK_STATUSBAR(getPtrValue(s_object)); guint context_id = ((guint)asCNumeric(s_context_id)); const gchar* text = ((const gchar*)asCString(s_text)); object_class->text_popped(object, context_id, text); return(_result); } static SEXP S_GtkStyle_symbol; static void S_virtual_gtk_style_realize(GtkStyle* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_unrealize(GtkStyle* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_copy(GtkStyle* s_object, GtkStyle* s_src) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_src, toRPointerWithRef(s_src, "GtkStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkStyle* S_virtual_gtk_style_clone(GtkStyle* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkStyle*)0)); return(GTK_STYLE(getPtrValueWithRef(s_ans))); } static void S_virtual_gtk_style_init_from_rc(GtkStyle* s_object, GtkRcStyle* s_rc_style) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_rc_style, "GtkRcStyle")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_set_background(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GdkPixbuf* S_virtual_gtk_style_render_icon(GtkStyle* s_object, const GtkIconSource* s_source, GtkTextDirection s_direction, GtkStateType s_state, GtkIconSize s_size, GtkWidget* s_widget, const gchar* s_detail) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_source ? gtk_icon_source_copy(s_source) : NULL, "GtkIconSource", (RPointerFinalizer) gtk_icon_source_free)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_size, GTK_TYPE_ICON_SIZE)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GdkPixbuf*)0)); return(GDK_PIXBUF(getPtrValueWithRef(s_ans))); } static void S_virtual_gtk_style_draw_hline(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x1, gint s_x2, gint s_y) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x1)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x2)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_vline(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_y1_, gint s_y2_, gint s_x) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y1_)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y2_)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_shadow(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_polygon(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, GdkPoint* s_point, gint s_npoints, gboolean s_fill) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 11)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRGdkPoint(s_point)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_npoints)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_fill)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_arrow(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, GtkArrowType s_arrow_type, gboolean s_fill, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 14)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_arrow_type, GTK_TYPE_ARROW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_fill)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_diamond(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_string(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, const gchar* s_string) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_string)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_box(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_flat_box(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_check(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_option(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_tab(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_shadow_gap(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height, GtkPositionType s_gap_side, gint s_gap_x, gint s_gap_width) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 15)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_gap_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_gap_width)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_box_gap(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height, GtkPositionType s_gap_side, gint s_gap_x, gint s_gap_width) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 15)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_gap_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_gap_width)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_extension(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height, GtkPositionType s_gap_side) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 13)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_focus(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 11)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_slider(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height, GtkOrientation s_orientation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 13)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_orientation, GTK_TYPE_ORIENTATION)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_handle(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GtkShadowType s_shadow_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, gint s_width, gint s_height, GtkOrientation s_orientation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 13)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_orientation, GTK_TYPE_ORIENTATION)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_expander(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, GtkExpanderStyle s_expander_style) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 10)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_expander_style, GTK_TYPE_EXPANDER_STYLE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_layout(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, gboolean s_use_text, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, gint s_x, gint s_y, PangoLayout* s_layout) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 11)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 26)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_use_text)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_layout, "PangoLayout")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_style_draw_resize_grip(GtkStyle* s_object, GdkWindow* s_window, GtkStateType s_state_type, GdkRectangle* s_area, GtkWidget* s_widget, const gchar* s_detail, GdkWindowEdge s_edge, gint s_x, gint s_y, gint s_width, gint s_height) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 12)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStyle_symbol, S_GOBJECT_GET_ENV(s_object)), 27)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStyle"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_window, "GdkWindow")); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_state_type, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRGdkRectangle(s_area)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_detail)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_edge, GDK_TYPE_WINDOW_EDGE)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_width)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_height)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_style_class_init(GtkStyleClass * c, SEXP e) { SEXP s; S_GtkStyle_symbol = install("GtkStyle"); s = findVar(S_GtkStyle_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkStyleClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->realize = S_virtual_gtk_style_realize; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->unrealize = S_virtual_gtk_style_unrealize; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->copy = S_virtual_gtk_style_copy; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->clone = S_virtual_gtk_style_clone; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->init_from_rc = S_virtual_gtk_style_init_from_rc; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->set_background = S_virtual_gtk_style_set_background; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->render_icon = S_virtual_gtk_style_render_icon; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->draw_hline = S_virtual_gtk_style_draw_hline; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->draw_vline = S_virtual_gtk_style_draw_vline; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->draw_shadow = S_virtual_gtk_style_draw_shadow; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->draw_polygon = S_virtual_gtk_style_draw_polygon; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->draw_arrow = S_virtual_gtk_style_draw_arrow; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->draw_diamond = S_virtual_gtk_style_draw_diamond; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->draw_string = S_virtual_gtk_style_draw_string; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->draw_box = S_virtual_gtk_style_draw_box; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->draw_flat_box = S_virtual_gtk_style_draw_flat_box; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->draw_check = S_virtual_gtk_style_draw_check; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->draw_option = S_virtual_gtk_style_draw_option; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->draw_tab = S_virtual_gtk_style_draw_tab; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->draw_shadow_gap = S_virtual_gtk_style_draw_shadow_gap; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->draw_box_gap = S_virtual_gtk_style_draw_box_gap; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->draw_extension = S_virtual_gtk_style_draw_extension; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->draw_focus = S_virtual_gtk_style_draw_focus; if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->draw_slider = S_virtual_gtk_style_draw_slider; if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->draw_handle = S_virtual_gtk_style_draw_handle; if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->draw_expander = S_virtual_gtk_style_draw_expander; if(VECTOR_ELT(s, 26) != NULL_USER_OBJECT) c->draw_layout = S_virtual_gtk_style_draw_layout; if(VECTOR_ELT(s, 27) != NULL_USER_OBJECT) c->draw_resize_grip = S_virtual_gtk_style_draw_resize_grip; } USER_OBJECT_ S_gtk_style_class_realize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); object_class->realize(object); return(_result); } USER_OBJECT_ S_gtk_style_class_unrealize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); object_class->unrealize(object); return(_result); } USER_OBJECT_ S_gtk_style_class_copy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_src) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GtkStyle* src = GTK_STYLE(getPtrValue(s_src)); object_class->copy(object, src); return(_result); } USER_OBJECT_ S_gtk_style_class_clone(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GtkStyle* ans; ans = object_class->clone(object); _result = toRPointerWithFinalizer(ans, "GtkStyle", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_style_class_init_from_rc(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_rc_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GtkRcStyle* rc_style = GTK_RC_STYLE(getPtrValue(s_rc_style)); object_class->init_from_rc(object, rc_style); return(_result); } USER_OBJECT_ S_gtk_style_class_set_background(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); object_class->set_background(object, window, state_type); return(_result); } USER_OBJECT_ S_gtk_style_class_render_icon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_direction, USER_OBJECT_ s_state, USER_OBJECT_ s_size, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); const GtkIconSource* source = ((const GtkIconSource*)getPtrValue(s_source)); GtkTextDirection direction = ((GtkTextDirection)asCEnum(s_direction, GTK_TYPE_TEXT_DIRECTION)); GtkStateType state = ((GtkStateType)asCEnum(s_state, GTK_TYPE_STATE_TYPE)); GtkIconSize size = ((GtkIconSize)asCEnum(s_size, GTK_TYPE_ICON_SIZE)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); GdkPixbuf* ans; ans = object_class->render_icon(object, source, direction, state, size, widget, detail); _result = toRPointerWithFinalizer(ans, "GdkPixbuf", (RPointerFinalizer) g_object_unref); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_hline(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x1, USER_OBJECT_ s_x2, USER_OBJECT_ s_y) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x1 = ((gint)asCInteger(s_x1)); gint x2 = ((gint)asCInteger(s_x2)); gint y = ((gint)asCInteger(s_y)); object_class->draw_hline(object, window, state_type, area, widget, detail, x1, x2, y); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_vline(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_y1_, USER_OBJECT_ s_y2_, USER_OBJECT_ s_x) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint y1_ = ((gint)asCInteger(s_y1_)); gint y2_ = ((gint)asCInteger(s_y2_)); gint x = ((gint)asCInteger(s_x)); object_class->draw_vline(object, window, state_type, area, widget, detail, y1_, y2_, x); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_shadow(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_shadow(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_polygon(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_point, USER_OBJECT_ s_npoints, USER_OBJECT_ s_fill) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); GdkPoint* point = asCGdkPoint(s_point); gint npoints = ((gint)asCInteger(s_npoints)); gboolean fill = ((gboolean)asCLogical(s_fill)); object_class->draw_polygon(object, window, state_type, shadow_type, area, widget, detail, point, npoints, fill); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_arrow(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_arrow_type, USER_OBJECT_ s_fill, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); GtkArrowType arrow_type = ((GtkArrowType)asCEnum(s_arrow_type, GTK_TYPE_ARROW_TYPE)); gboolean fill = ((gboolean)asCLogical(s_fill)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_arrow(object, window, state_type, shadow_type, area, widget, detail, arrow_type, fill, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_diamond(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_diamond(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_string(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); const gchar* string = ((const gchar*)asCString(s_string)); object_class->draw_string(object, window, state_type, area, widget, detail, x, y, string); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_box(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_box(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_flat_box(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_flat_box(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_check(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_check(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_option(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_option(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_tab(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_tab(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_shadow_gap(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); object_class->draw_shadow_gap(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_box_gap(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side, USER_OBJECT_ s_gap_x, USER_OBJECT_ s_gap_width) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); gint gap_x = ((gint)asCInteger(s_gap_x)); gint gap_width = ((gint)asCInteger(s_gap_width)); object_class->draw_box_gap(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_extension(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_gap_side) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkPositionType gap_side = ((GtkPositionType)asCEnum(s_gap_side, GTK_TYPE_POSITION_TYPE)); object_class->draw_extension(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_focus(object, window, state_type, area, widget, detail, x, y, width, height); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_slider(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); object_class->draw_slider(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_handle(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_shadow_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GtkShadowType shadow_type = ((GtkShadowType)asCEnum(s_shadow_type, GTK_TYPE_SHADOW_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); object_class->draw_handle(object, window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_expander(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_expander_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkExpanderStyle expander_style = ((GtkExpanderStyle)asCEnum(s_expander_style, GTK_TYPE_EXPANDER_STYLE)); object_class->draw_expander(object, window, state_type, area, widget, detail, x, y, expander_style); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_layout(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_use_text, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_layout) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); gboolean use_text = ((gboolean)asCLogical(s_use_text)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); PangoLayout* layout = PANGO_LAYOUT(getPtrValue(s_layout)); object_class->draw_layout(object, window, state_type, use_text, area, widget, detail, x, y, layout); return(_result); } USER_OBJECT_ S_gtk_style_class_draw_resize_grip(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_window, USER_OBJECT_ s_state_type, USER_OBJECT_ s_area, USER_OBJECT_ s_widget, USER_OBJECT_ s_detail, USER_OBJECT_ s_edge, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_width, USER_OBJECT_ s_height) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkStyleClass* object_class = ((GtkStyleClass*)getPtrValue(s_object_class)); GtkStyle* object = GTK_STYLE(getPtrValue(s_object)); GdkWindow* window = GDK_WINDOW(getPtrValue(s_window)); GtkStateType state_type = ((GtkStateType)asCEnum(s_state_type, GTK_TYPE_STATE_TYPE)); GdkRectangle* area = asCGdkRectangle(s_area); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* detail = ((const gchar*)asCString(s_detail)); GdkWindowEdge edge = ((GdkWindowEdge)asCEnum(s_edge, GDK_TYPE_WINDOW_EDGE)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint width = ((gint)asCInteger(s_width)); gint height = ((gint)asCInteger(s_height)); object_class->draw_resize_grip(object, window, state_type, area, widget, detail, edge, x, y, width, height); return(_result); } static SEXP S_GtkTable_symbol; void S_gtk_table_class_init(GtkTableClass * c, SEXP e) { SEXP s; S_GtkTable_symbol = install("GtkTable"); s = findVar(S_GtkTable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTableClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } static SEXP S_GtkTearoffMenuItem_symbol; void S_gtk_tearoff_menu_item_class_init(GtkTearoffMenuItemClass * c, SEXP e) { SEXP s; S_GtkTearoffMenuItem_symbol = install("GtkTearoffMenuItem"); s = findVar(S_GtkTearoffMenuItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTearoffMenuItemClass)) = e; S_gtk_menu_item_class_init(((GtkMenuItemClass *)c), e); } static SEXP S_GtkTextBuffer_symbol; static void S_virtual_gtk_text_buffer_insert_text(GtkTextBuffer* s_object, GtkTextIter* s_pos, const gchar* s_text, gint s_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_pos ? gtk_text_iter_copy(s_pos) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_insert_pixbuf(GtkTextBuffer* s_object, GtkTextIter* s_pos, GdkPixbuf* s_pixbuf) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_pos ? gtk_text_iter_copy(s_pos) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_pixbuf, "GdkPixbuf")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_insert_child_anchor(GtkTextBuffer* s_object, GtkTextIter* s_pos, GtkTextChildAnchor* s_anchor) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_pos ? gtk_text_iter_copy(s_pos) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_anchor, "GtkTextChildAnchor")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_delete_range(GtkTextBuffer* s_object, GtkTextIter* s_start, GtkTextIter* s_end) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_start ? gtk_text_iter_copy(s_start) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_end ? gtk_text_iter_copy(s_end) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_changed(GtkTextBuffer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_modified_changed(GtkTextBuffer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_mark_set(GtkTextBuffer* s_object, const GtkTextIter* s_location, GtkTextMark* s_mark) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_location ? gtk_text_iter_copy(s_location) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mark, "GtkTextMark")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_mark_deleted(GtkTextBuffer* s_object, GtkTextMark* s_mark) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_mark, "GtkTextMark")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_apply_tag(GtkTextBuffer* s_object, GtkTextTag* s_tag, const GtkTextIter* s_start_char, const GtkTextIter* s_end_char) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_start_char ? gtk_text_iter_copy(s_start_char) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_end_char ? gtk_text_iter_copy(s_end_char) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_remove_tag(GtkTextBuffer* s_object, GtkTextTag* s_tag, const GtkTextIter* s_start_char, const GtkTextIter* s_end_char) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_start_char ? gtk_text_iter_copy(s_start_char) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_end_char ? gtk_text_iter_copy(s_end_char) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_begin_user_action(GtkTextBuffer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_buffer_end_user_action(GtkTextBuffer* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextBuffer_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextBuffer"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_text_buffer_class_init(GtkTextBufferClass * c, SEXP e) { SEXP s; S_GtkTextBuffer_symbol = install("GtkTextBuffer"); s = findVar(S_GtkTextBuffer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextBufferClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->insert_text = S_virtual_gtk_text_buffer_insert_text; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->insert_pixbuf = S_virtual_gtk_text_buffer_insert_pixbuf; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->insert_child_anchor = S_virtual_gtk_text_buffer_insert_child_anchor; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->delete_range = S_virtual_gtk_text_buffer_delete_range; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_text_buffer_changed; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->modified_changed = S_virtual_gtk_text_buffer_modified_changed; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->mark_set = S_virtual_gtk_text_buffer_mark_set; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->mark_deleted = S_virtual_gtk_text_buffer_mark_deleted; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->apply_tag = S_virtual_gtk_text_buffer_apply_tag; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->remove_tag = S_virtual_gtk_text_buffer_remove_tag; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->begin_user_action = S_virtual_gtk_text_buffer_begin_user_action; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->end_user_action = S_virtual_gtk_text_buffer_end_user_action; } USER_OBJECT_ S_gtk_text_buffer_class_insert_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_pos, USER_OBJECT_ s_text, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* pos = ((GtkTextIter*)getPtrValue(s_pos)); const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)asCInteger(s_length)); object_class->insert_text(object, pos, text, length); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_insert_pixbuf(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_pos, USER_OBJECT_ s_pixbuf) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* pos = ((GtkTextIter*)getPtrValue(s_pos)); GdkPixbuf* pixbuf = GDK_PIXBUF(getPtrValue(s_pixbuf)); object_class->insert_pixbuf(object, pos, pixbuf); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_insert_child_anchor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_pos, USER_OBJECT_ s_anchor) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* pos = ((GtkTextIter*)getPtrValue(s_pos)); GtkTextChildAnchor* anchor = GTK_TEXT_CHILD_ANCHOR(getPtrValue(s_anchor)); object_class->insert_child_anchor(object, pos, anchor); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_delete_range(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start, USER_OBJECT_ s_end) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* start = ((GtkTextIter*)getPtrValue(s_start)); GtkTextIter* end = ((GtkTextIter*)getPtrValue(s_end)); object_class->delete_range(object, start, end); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); object_class->changed(object); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_modified_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); object_class->modified_changed(object); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_mark_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_location, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const GtkTextIter* location = ((const GtkTextIter*)getPtrValue(s_location)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); object_class->mark_set(object, location, mark); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_mark_deleted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_mark) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextMark* mark = GTK_TEXT_MARK(getPtrValue(s_mark)); object_class->mark_deleted(object, mark); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_apply_tag(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start_char, USER_OBJECT_ s_end_char) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); const GtkTextIter* start_char = ((const GtkTextIter*)getPtrValue(s_start_char)); const GtkTextIter* end_char = ((const GtkTextIter*)getPtrValue(s_end_char)); object_class->apply_tag(object, tag, start_char, end_char); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_remove_tag(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_start_char, USER_OBJECT_ s_end_char) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); const GtkTextIter* start_char = ((const GtkTextIter*)getPtrValue(s_start_char)); const GtkTextIter* end_char = ((const GtkTextIter*)getPtrValue(s_end_char)); object_class->remove_tag(object, tag, start_char, end_char); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_begin_user_action(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); object_class->begin_user_action(object); return(_result); } USER_OBJECT_ S_gtk_text_buffer_class_end_user_action(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextBufferClass* object_class = ((GtkTextBufferClass*)getPtrValue(s_object_class)); GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); object_class->end_user_action(object); return(_result); } static SEXP S_GtkTextChildAnchor_symbol; void S_gtk_text_child_anchor_class_init(GtkTextChildAnchorClass * c, SEXP e) { SEXP s; S_GtkTextChildAnchor_symbol = install("GtkTextChildAnchor"); s = findVar(S_GtkTextChildAnchor_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextChildAnchorClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkTextMark_symbol; void S_gtk_text_mark_class_init(GtkTextMarkClass * c, SEXP e) { SEXP s; S_GtkTextMark_symbol = install("GtkTextMark"); s = findVar(S_GtkTextMark_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextMarkClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkTextTag_symbol; static gboolean S_virtual_gtk_text_tag_event(GtkTextTag* s_object, GObject* s_event_object, GdkEvent* s_event, const GtkTextIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextTag_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextTag"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_event_object, "GObject")); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_text_iter_copy(s_iter) : NULL, "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_text_tag_class_init(GtkTextTagClass * c, SEXP e) { SEXP s; S_GtkTextTag_symbol = install("GtkTextTag"); s = findVar(S_GtkTextTag_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextTagClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->event = S_virtual_gtk_text_tag_event; } USER_OBJECT_ S_gtk_text_tag_class_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event_object, USER_OBJECT_ s_event, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagClass* object_class = ((GtkTextTagClass*)getPtrValue(s_object_class)); GtkTextTag* object = GTK_TEXT_TAG(getPtrValue(s_object)); GObject* event_object = G_OBJECT(getPtrValue(s_event_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); const GtkTextIter* iter = ((const GtkTextIter*)getPtrValue(s_iter)); gboolean ans; ans = object_class->event(object, event_object, event, iter); _result = asRLogical(ans); return(_result); } static SEXP S_GtkTextTagTable_symbol; static void S_virtual_gtk_text_tag_table_tag_changed(GtkTextTagTable* s_object, GtkTextTag* s_tag, gboolean s_size_changed) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextTagTable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextTagTable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_size_changed)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_tag_table_tag_added(GtkTextTagTable* s_object, GtkTextTag* s_tag) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextTagTable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextTagTable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_tag_table_tag_removed(GtkTextTagTable* s_object, GtkTextTag* s_tag) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextTagTable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTextTagTable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_tag, "GtkTextTag")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_text_tag_table_class_init(GtkTextTagTableClass * c, SEXP e) { SEXP s; S_GtkTextTagTable_symbol = install("GtkTextTagTable"); s = findVar(S_GtkTextTagTable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextTagTableClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->tag_changed = S_virtual_gtk_text_tag_table_tag_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->tag_added = S_virtual_gtk_text_tag_table_tag_added; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->tag_removed = S_virtual_gtk_text_tag_table_tag_removed; } USER_OBJECT_ S_gtk_text_tag_table_class_tag_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tag, USER_OBJECT_ s_size_changed) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTableClass* object_class = ((GtkTextTagTableClass*)getPtrValue(s_object_class)); GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); gboolean size_changed = ((gboolean)asCLogical(s_size_changed)); object_class->tag_changed(object, tag, size_changed); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_class_tag_added(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTableClass* object_class = ((GtkTextTagTableClass*)getPtrValue(s_object_class)); GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); object_class->tag_added(object, tag); return(_result); } USER_OBJECT_ S_gtk_text_tag_table_class_tag_removed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextTagTableClass* object_class = ((GtkTextTagTableClass*)getPtrValue(s_object_class)); GtkTextTagTable* object = GTK_TEXT_TAG_TABLE(getPtrValue(s_object)); GtkTextTag* tag = GTK_TEXT_TAG(getPtrValue(s_tag)); object_class->tag_removed(object, tag); return(_result); } static SEXP S_GtkTextView_symbol; static void S_virtual_gtk_text_view_set_scroll_adjustments(GtkTextView* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_populate_popup(GtkTextView* s_object, GtkMenu* s_menu) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu, "GtkMenu")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_move_cursor(GtkTextView* s_object, GtkMovementStep s_step, gint s_count, gboolean s_extend_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_step, GTK_TYPE_MOVEMENT_STEP)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_extend_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_page_horizontally(GtkTextView* s_object, gint s_count, gboolean s_extend_selection) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_extend_selection)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_set_anchor(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_insert_at_cursor(GtkTextView* s_object, const gchar* s_str) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_str)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_delete_from_cursor(GtkTextView* s_object, GtkDeleteType s_type, gint s_count) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_type, GTK_TYPE_DELETE_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_backspace(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_cut_clipboard(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_copy_clipboard(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_paste_clipboard(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_toggle_overwrite(GtkTextView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_text_view_move_focus(GtkTextView* s_object, GtkDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTextView_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTextView"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_text_view_class_init(GtkTextViewClass * c, SEXP e) { SEXP s; S_GtkTextView_symbol = install("GtkTextView"); s = findVar(S_GtkTextView_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTextViewClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_text_view_set_scroll_adjustments; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->populate_popup = S_virtual_gtk_text_view_populate_popup; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_text_view_move_cursor; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->page_horizontally = S_virtual_gtk_text_view_page_horizontally; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->set_anchor = S_virtual_gtk_text_view_set_anchor; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->insert_at_cursor = S_virtual_gtk_text_view_insert_at_cursor; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->delete_from_cursor = S_virtual_gtk_text_view_delete_from_cursor; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->backspace = S_virtual_gtk_text_view_backspace; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->cut_clipboard = S_virtual_gtk_text_view_cut_clipboard; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->copy_clipboard = S_virtual_gtk_text_view_copy_clipboard; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->paste_clipboard = S_virtual_gtk_text_view_paste_clipboard; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->toggle_overwrite = S_virtual_gtk_text_view_toggle_overwrite; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->move_focus = S_virtual_gtk_text_view_move_focus; } USER_OBJECT_ S_gtk_text_view_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } USER_OBJECT_ S_gtk_text_view_class_populate_popup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_menu) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkMenu* menu = GTK_MENU(getPtrValue(s_menu)); object_class->populate_popup(object, menu); return(_result); } USER_OBJECT_ S_gtk_text_view_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_count, USER_OBJECT_ s_extend_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkMovementStep step = ((GtkMovementStep)asCEnum(s_step, GTK_TYPE_MOVEMENT_STEP)); gint count = ((gint)asCInteger(s_count)); gboolean extend_selection = ((gboolean)asCLogical(s_extend_selection)); object_class->move_cursor(object, step, count, extend_selection); return(_result); } USER_OBJECT_ S_gtk_text_view_class_page_horizontally(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_extend_selection) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); gint count = ((gint)asCInteger(s_count)); gboolean extend_selection = ((gboolean)asCLogical(s_extend_selection)); object_class->page_horizontally(object, count, extend_selection); return(_result); } USER_OBJECT_ S_gtk_text_view_class_set_anchor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->set_anchor(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_insert_at_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); const gchar* str = ((const gchar*)asCString(s_str)); object_class->insert_at_cursor(object, str); return(_result); } USER_OBJECT_ S_gtk_text_view_class_delete_from_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkDeleteType type = ((GtkDeleteType)asCEnum(s_type, GTK_TYPE_DELETE_TYPE)); gint count = ((gint)asCInteger(s_count)); object_class->delete_from_cursor(object, type, count); return(_result); } USER_OBJECT_ S_gtk_text_view_class_backspace(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->backspace(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_cut_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->cut_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_copy_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->copy_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_paste_clipboard(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->paste_clipboard(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_toggle_overwrite(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); object_class->toggle_overwrite(object); return(_result); } USER_OBJECT_ S_gtk_text_view_class_move_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTextViewClass* object_class = ((GtkTextViewClass*)getPtrValue(s_object_class)); GtkTextView* object = GTK_TEXT_VIEW(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); object_class->move_focus(object, direction); return(_result); } static SEXP S_GtkTipsQuery_symbol; static void S_virtual_gtk_tips_query_start_query(GtkTipsQuery* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTipsQuery_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTipsQuery"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tips_query_stop_query(GtkTipsQuery* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTipsQuery_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTipsQuery"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tips_query_widget_entered(GtkTipsQuery* s_object, GtkWidget* s_widget, const gchar* s_tip_text, const gchar* s_tip_private) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTipsQuery_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTipsQuery"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_text)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_private)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_gtk_tips_query_widget_selected(GtkTipsQuery* s_object, GtkWidget* s_widget, const gchar* s_tip_text, const gchar* s_tip_private, GdkEventButton* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTipsQuery_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTipsQuery"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_text)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_private)); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } void S_gtk_tips_query_class_init(GtkTipsQueryClass * c, SEXP e) { SEXP s; S_GtkTipsQuery_symbol = install("GtkTipsQuery"); s = findVar(S_GtkTipsQuery_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTipsQueryClass)) = e; S_gtk_label_class_init(((GtkLabelClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->start_query = S_virtual_gtk_tips_query_start_query; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->stop_query = S_virtual_gtk_tips_query_stop_query; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->widget_entered = S_virtual_gtk_tips_query_widget_entered; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->widget_selected = S_virtual_gtk_tips_query_widget_selected; } USER_OBJECT_ S_gtk_tips_query_class_start_query(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQueryClass* object_class = ((GtkTipsQueryClass*)getPtrValue(s_object_class)); GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); object_class->start_query(object); return(_result); } USER_OBJECT_ S_gtk_tips_query_class_stop_query(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQueryClass* object_class = ((GtkTipsQueryClass*)getPtrValue(s_object_class)); GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); object_class->stop_query(object); return(_result); } USER_OBJECT_ S_gtk_tips_query_class_widget_entered(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQueryClass* object_class = ((GtkTipsQueryClass*)getPtrValue(s_object_class)); GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* tip_text = ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = ((const gchar*)asCString(s_tip_private)); object_class->widget_entered(object, widget, tip_text, tip_private); return(_result); } USER_OBJECT_ S_gtk_tips_query_class_widget_selected(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTipsQueryClass* object_class = ((GtkTipsQueryClass*)getPtrValue(s_object_class)); GtkTipsQuery* object = GTK_TIPS_QUERY(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); const gchar* tip_text = ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = ((const gchar*)asCString(s_tip_private)); GdkEventButton* event = ((GdkEventButton*)getPtrValue(s_event)); gint ans; ans = object_class->widget_selected(object, widget, tip_text, tip_private, event); _result = asRInteger(ans); return(_result); } static SEXP S_GtkToggleAction_symbol; static void S_virtual_gtk_toggle_action_toggled(GtkToggleAction* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToggleAction_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToggleAction"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_toggle_action_class_init(GtkToggleActionClass * c, SEXP e) { SEXP s; S_GtkToggleAction_symbol = install("GtkToggleAction"); s = findVar(S_GtkToggleAction_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToggleActionClass)) = e; S_gtk_action_class_init(((GtkActionClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggled = S_virtual_gtk_toggle_action_toggled; } USER_OBJECT_ S_gtk_toggle_action_class_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleActionClass* object_class = ((GtkToggleActionClass*)getPtrValue(s_object_class)); GtkToggleAction* object = GTK_TOGGLE_ACTION(getPtrValue(s_object)); object_class->toggled(object); return(_result); } static SEXP S_GtkToggleButton_symbol; static void S_virtual_gtk_toggle_button_toggled(GtkToggleButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToggleButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToggleButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_toggle_button_class_init(GtkToggleButtonClass * c, SEXP e) { SEXP s; S_GtkToggleButton_symbol = install("GtkToggleButton"); s = findVar(S_GtkToggleButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToggleButtonClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggled = S_virtual_gtk_toggle_button_toggled; } USER_OBJECT_ S_gtk_toggle_button_class_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleButtonClass* object_class = ((GtkToggleButtonClass*)getPtrValue(s_object_class)); GtkToggleButton* object = GTK_TOGGLE_BUTTON(getPtrValue(s_object)); object_class->toggled(object); return(_result); } static SEXP S_GtkToggleToolButton_symbol; static void S_virtual_gtk_toggle_tool_button_toggled(GtkToggleToolButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToggleToolButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToggleToolButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_toggle_tool_button_class_init(GtkToggleToolButtonClass * c, SEXP e) { SEXP s; S_GtkToggleToolButton_symbol = install("GtkToggleToolButton"); s = findVar(S_GtkToggleToolButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToggleToolButtonClass)) = e; S_gtk_tool_button_class_init(((GtkToolButtonClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->toggled = S_virtual_gtk_toggle_tool_button_toggled; } USER_OBJECT_ S_gtk_toggle_tool_button_class_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToggleToolButtonClass* object_class = ((GtkToggleToolButtonClass*)getPtrValue(s_object_class)); GtkToggleToolButton* object = GTK_TOGGLE_TOOL_BUTTON(getPtrValue(s_object)); object_class->toggled(object); return(_result); } static SEXP S_GtkToolbar_symbol; static void S_virtual_gtk_toolbar_orientation_changed(GtkToolbar* s_object, GtkOrientation s_orientation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolbar_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolbar"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_orientation, GTK_TYPE_ORIENTATION)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_toolbar_style_changed(GtkToolbar* s_object, GtkToolbarStyle s_style) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolbar_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolbar"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_style, GTK_TYPE_TOOLBAR_STYLE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_toolbar_popup_context_menu(GtkToolbar* s_object, gint s_x, gint s_y, gint s_button_number) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolbar_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolbar"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_button_number)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_toolbar_class_init(GtkToolbarClass * c, SEXP e) { SEXP s; S_GtkToolbar_symbol = install("GtkToolbar"); s = findVar(S_GtkToolbar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolbarClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->orientation_changed = S_virtual_gtk_toolbar_orientation_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->style_changed = S_virtual_gtk_toolbar_style_changed; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->popup_context_menu = S_virtual_gtk_toolbar_popup_context_menu; } USER_OBJECT_ S_gtk_toolbar_class_orientation_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_orientation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbarClass* object_class = ((GtkToolbarClass*)getPtrValue(s_object_class)); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkOrientation orientation = ((GtkOrientation)asCEnum(s_orientation, GTK_TYPE_ORIENTATION)); object_class->orientation_changed(object, orientation); return(_result); } USER_OBJECT_ S_gtk_toolbar_class_style_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbarClass* object_class = ((GtkToolbarClass*)getPtrValue(s_object_class)); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); GtkToolbarStyle style = ((GtkToolbarStyle)asCEnum(s_style, GTK_TYPE_TOOLBAR_STYLE)); object_class->style_changed(object, style); return(_result); } USER_OBJECT_ S_gtk_toolbar_class_popup_context_menu(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_button_number) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolbarClass* object_class = ((GtkToolbarClass*)getPtrValue(s_object_class)); GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); gint button_number = ((gint)asCInteger(s_button_number)); gboolean ans; ans = object_class->popup_context_menu(object, x, y, button_number); _result = asRLogical(ans); return(_result); } static SEXP S_GtkToolButton_symbol; static void S_virtual_gtk_tool_button_clicked(GtkToolButton* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolButton_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolButton"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_tool_button_class_init(GtkToolButtonClass * c, SEXP e) { SEXP s; S_GtkToolButton_symbol = install("GtkToolButton"); s = findVar(S_GtkToolButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolButtonClass)) = e; S_gtk_tool_item_class_init(((GtkToolItemClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->clicked = S_virtual_gtk_tool_button_clicked; } USER_OBJECT_ S_gtk_tool_button_class_clicked(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolButtonClass* object_class = ((GtkToolButtonClass*)getPtrValue(s_object_class)); GtkToolButton* object = GTK_TOOL_BUTTON(getPtrValue(s_object)); object_class->clicked(object); return(_result); } static SEXP S_GtkToolItem_symbol; static gboolean S_virtual_gtk_tool_item_create_menu_proxy(GtkToolItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolItem_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_tool_item_toolbar_reconfigured(GtkToolItem* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolItem_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolItem"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_tool_item_set_tooltip(GtkToolItem* s_object, GtkTooltips* s_tooltips, const gchar* s_tip_text, const gchar* s_tip_private) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolItem_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkToolItem"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_tooltips, "GtkTooltips")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_text)); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tip_private)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_tool_item_class_init(GtkToolItemClass * c, SEXP e) { SEXP s; S_GtkToolItem_symbol = install("GtkToolItem"); s = findVar(S_GtkToolItem_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolItemClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->create_menu_proxy = S_virtual_gtk_tool_item_create_menu_proxy; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->toolbar_reconfigured = S_virtual_gtk_tool_item_toolbar_reconfigured; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->set_tooltip = S_virtual_gtk_tool_item_set_tooltip; } USER_OBJECT_ S_gtk_tool_item_class_create_menu_proxy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItemClass* object_class = ((GtkToolItemClass*)getPtrValue(s_object_class)); GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); gboolean ans; ans = object_class->create_menu_proxy(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tool_item_class_toolbar_reconfigured(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItemClass* object_class = ((GtkToolItemClass*)getPtrValue(s_object_class)); GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); object_class->toolbar_reconfigured(object); return(_result); } USER_OBJECT_ S_gtk_tool_item_class_set_tooltip(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_tooltips, USER_OBJECT_ s_tip_text, USER_OBJECT_ s_tip_private) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkToolItemClass* object_class = ((GtkToolItemClass*)getPtrValue(s_object_class)); GtkToolItem* object = GTK_TOOL_ITEM(getPtrValue(s_object)); GtkTooltips* tooltips = GTK_TOOLTIPS(getPtrValue(s_tooltips)); const gchar* tip_text = ((const gchar*)asCString(s_tip_text)); const gchar* tip_private = ((const gchar*)asCString(s_tip_private)); gboolean ans; ans = object_class->set_tooltip(object, tooltips, tip_text, tip_private); _result = asRLogical(ans); return(_result); } static SEXP S_GtkTooltips_symbol; void S_gtk_tooltips_class_init(GtkTooltipsClass * c, SEXP e) { SEXP s; S_GtkTooltips_symbol = install("GtkTooltips"); s = findVar(S_GtkTooltips_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTooltipsClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); } static SEXP S_GtkTreeModelFilter_symbol; void S_gtk_tree_model_filter_class_init(GtkTreeModelFilterClass * c, SEXP e) { SEXP s; S_GtkTreeModelFilter_symbol = install("GtkTreeModelFilter"); s = findVar(S_GtkTreeModelFilter_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeModelFilterClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkTreeModelSort_symbol; void S_gtk_tree_model_sort_class_init(GtkTreeModelSortClass * c, SEXP e) { SEXP s; S_GtkTreeModelSort_symbol = install("GtkTreeModelSort"); s = findVar(S_GtkTreeModelSort_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeModelSortClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkTreeSelection_symbol; static void S_virtual_gtk_tree_selection_changed(GtkTreeSelection* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSelection_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSelection"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_tree_selection_class_init(GtkTreeSelectionClass * c, SEXP e) { SEXP s; S_GtkTreeSelection_symbol = install("GtkTreeSelection"); s = findVar(S_GtkTreeSelection_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeSelectionClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_tree_selection_changed; } USER_OBJECT_ S_gtk_tree_selection_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSelectionClass* object_class = ((GtkTreeSelectionClass*)getPtrValue(s_object_class)); GtkTreeSelection* object = GTK_TREE_SELECTION(getPtrValue(s_object)); object_class->changed(object); return(_result); } static SEXP S_GtkTreeStore_symbol; void S_gtk_tree_store_class_init(GtkTreeStoreClass * c, SEXP e) { SEXP s; S_GtkTreeStore_symbol = install("GtkTreeStore"); s = findVar(S_GtkTreeStore_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeStoreClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } static SEXP S_GtkTreeView_symbol; static void S_virtual_gtk_tree_view_set_scroll_adjustments(GtkTreeView* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_view_row_activated(GtkTreeView* s_object, GtkTreePath* s_path, GtkTreeViewColumn* s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_column, "GtkTreeViewColumn")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_tree_view_test_expand_row(GtkTreeView* s_object, GtkTreeIter* s_iter, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_test_collapse_row(GtkTreeView* s_object, GtkTreeIter* s_iter, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_tree_view_row_expanded(GtkTreeView* s_object, GtkTreeIter* s_iter, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_view_row_collapsed(GtkTreeView* s_object, GtkTreeIter* s_iter, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_view_columns_changed(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_view_cursor_changed(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_tree_view_move_cursor(GtkTreeView* s_object, GtkMovementStep s_step, gint s_count) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_step, GTK_TYPE_MOVEMENT_STEP)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_count)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_select_all(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_unselect_all(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_select_cursor_row(GtkTreeView* s_object, gboolean s_start_editing) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_start_editing)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_toggle_cursor_row(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_expand_collapse_cursor_row(GtkTreeView* s_object, gboolean s_logical, gboolean s_expand, gboolean s_open_all) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_logical)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_expand)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_open_all)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_select_cursor_parent(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_view_start_interactive_search(GtkTreeView* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeView_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeView"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_tree_view_class_init(GtkTreeViewClass * c, SEXP e) { SEXP s; S_GtkTreeView_symbol = install("GtkTreeView"); s = findVar(S_GtkTreeView_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeViewClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_tree_view_set_scroll_adjustments; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->row_activated = S_virtual_gtk_tree_view_row_activated; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->test_expand_row = S_virtual_gtk_tree_view_test_expand_row; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->test_collapse_row = S_virtual_gtk_tree_view_test_collapse_row; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->row_expanded = S_virtual_gtk_tree_view_row_expanded; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->row_collapsed = S_virtual_gtk_tree_view_row_collapsed; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->columns_changed = S_virtual_gtk_tree_view_columns_changed; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->cursor_changed = S_virtual_gtk_tree_view_cursor_changed; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->move_cursor = S_virtual_gtk_tree_view_move_cursor; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->select_all = S_virtual_gtk_tree_view_select_all; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->unselect_all = S_virtual_gtk_tree_view_unselect_all; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->select_cursor_row = S_virtual_gtk_tree_view_select_cursor_row; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->toggle_cursor_row = S_virtual_gtk_tree_view_toggle_cursor_row; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->expand_collapse_cursor_row = S_virtual_gtk_tree_view_expand_collapse_cursor_row; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->select_cursor_parent = S_virtual_gtk_tree_view_select_cursor_parent; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->start_interactive_search = S_virtual_gtk_tree_view_start_interactive_search; } USER_OBJECT_ S_gtk_tree_view_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_row_activated(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeViewColumn* column = GTK_TREE_VIEW_COLUMN(getPtrValue(s_column)); object_class->row_activated(object, path, column); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_test_expand_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = object_class->test_expand_row(object, iter, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_test_collapse_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = object_class->test_collapse_row(object, iter, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_row_expanded(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); object_class->row_expanded(object, iter, path); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_row_collapsed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); object_class->row_collapsed(object, iter, path); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_columns_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); object_class->columns_changed(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_cursor_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); object_class->cursor_changed(object); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_move_cursor(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_step, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); GtkMovementStep step = ((GtkMovementStep)asCEnum(s_step, GTK_TYPE_MOVEMENT_STEP)); gint count = ((gint)asCInteger(s_count)); gboolean ans; ans = object_class->move_cursor(object, step, count); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_select_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->select_all(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_unselect_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->unselect_all(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_select_cursor_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_editing) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean start_editing = ((gboolean)asCLogical(s_start_editing)); gboolean ans; ans = object_class->select_cursor_row(object, start_editing); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_toggle_cursor_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->toggle_cursor_row(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_expand_collapse_cursor_row(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_logical, USER_OBJECT_ s_expand, USER_OBJECT_ s_open_all) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean logical = ((gboolean)asCLogical(s_logical)); gboolean expand = ((gboolean)asCLogical(s_expand)); gboolean open_all = ((gboolean)asCLogical(s_open_all)); gboolean ans; ans = object_class->expand_collapse_cursor_row(object, logical, expand, open_all); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_select_cursor_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->select_cursor_parent(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_view_class_start_interactive_search(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewClass* object_class = ((GtkTreeViewClass*)getPtrValue(s_object_class)); GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gboolean ans; ans = object_class->start_interactive_search(object); _result = asRLogical(ans); return(_result); } static SEXP S_GtkTreeViewColumn_symbol; static void S_virtual_gtk_tree_view_column_clicked(GtkTreeViewColumn* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeViewColumn_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkTreeViewColumn"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_tree_view_column_class_init(GtkTreeViewColumnClass * c, SEXP e) { SEXP s; S_GtkTreeViewColumn_symbol = install("GtkTreeViewColumn"); s = findVar(S_GtkTreeViewColumn_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeViewColumnClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->clicked = S_virtual_gtk_tree_view_column_clicked; } USER_OBJECT_ S_gtk_tree_view_column_class_clicked(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeViewColumnClass* object_class = ((GtkTreeViewColumnClass*)getPtrValue(s_object_class)); GtkTreeViewColumn* object = GTK_TREE_VIEW_COLUMN(getPtrValue(s_object)); object_class->clicked(object); return(_result); } static SEXP S_GtkUIManager_symbol; static void S_virtual_gtk_uimanager_add_widget(GtkUIManager* s_object, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_uimanager_actions_changed(GtkUIManager* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_uimanager_connect_proxy(GtkUIManager* s_object, GtkAction* s_action, GtkWidget* s_proxy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_proxy, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_uimanager_disconnect_proxy(GtkUIManager* s_object, GtkAction* s_action, GtkWidget* s_proxy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_proxy, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_uimanager_pre_activate(GtkUIManager* s_object, GtkAction* s_action) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_uimanager_post_activate(GtkUIManager* s_object, GtkAction* s_action) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkWidget* S_virtual_gtk_uimanager_get_widget(GtkUIManager* s_object, const gchar* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkWidget*)0)); return(GTK_WIDGET(getPtrValue(s_ans))); } static GtkAction* S_virtual_gtk_uimanager_get_action(GtkUIManager* s_object, const gchar* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkUIManager_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkUIManager"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkAction*)0)); return(GTK_ACTION(getPtrValue(s_ans))); } void S_gtk_uimanager_class_init(GtkUIManagerClass * c, SEXP e) { SEXP s; S_GtkUIManager_symbol = install("GtkUIManager"); s = findVar(S_GtkUIManager_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkUIManagerClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->add_widget = S_virtual_gtk_uimanager_add_widget; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->actions_changed = S_virtual_gtk_uimanager_actions_changed; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->connect_proxy = S_virtual_gtk_uimanager_connect_proxy; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->disconnect_proxy = S_virtual_gtk_uimanager_disconnect_proxy; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->pre_activate = S_virtual_gtk_uimanager_pre_activate; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->post_activate = S_virtual_gtk_uimanager_post_activate; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_widget = S_virtual_gtk_uimanager_get_widget; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_action = S_virtual_gtk_uimanager_get_action; } USER_OBJECT_ S_gtk_uimanager_class_add_widget(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); object_class->add_widget(object, widget); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_actions_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); object_class->actions_changed(object); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_connect_proxy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); object_class->connect_proxy(object, action, proxy); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_disconnect_proxy(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_proxy) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); GtkWidget* proxy = GTK_WIDGET(getPtrValue(s_proxy)); object_class->disconnect_proxy(object, action, proxy); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_pre_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); object_class->pre_activate(object, action); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_post_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); object_class->post_activate(object, action); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_get_widget(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkWidget* ans; ans = object_class->get_widget(object, path); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } USER_OBJECT_ S_gtk_uimanager_class_get_action(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkUIManagerClass* object_class = ((GtkUIManagerClass*)getPtrValue(s_object_class)); GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); const gchar* path = ((const gchar*)asCString(s_path)); GtkAction* ans; ans = object_class->get_action(object, path); _result = toRPointerWithRef(ans, "GtkAction"); return(_result); } static SEXP S_GtkVBox_symbol; void S_gtk_vbox_class_init(GtkVBoxClass * c, SEXP e) { SEXP s; S_GtkVBox_symbol = install("GtkVBox"); s = findVar(S_GtkVBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVBoxClass)) = e; S_gtk_box_class_init(((GtkBoxClass *)c), e); } static SEXP S_GtkVButtonBox_symbol; void S_gtk_vbutton_box_class_init(GtkVButtonBoxClass * c, SEXP e) { SEXP s; S_GtkVButtonBox_symbol = install("GtkVButtonBox"); s = findVar(S_GtkVButtonBox_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVButtonBoxClass)) = e; S_gtk_button_box_class_init(((GtkButtonBoxClass *)c), e); } static SEXP S_GtkViewport_symbol; static void S_virtual_gtk_viewport_set_scroll_adjustments(GtkViewport* s_object, GtkAdjustment* s_hadjustment, GtkAdjustment* s_vadjustment) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkViewport_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkViewport"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_hadjustment, "GtkAdjustment")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_vadjustment, "GtkAdjustment")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_viewport_class_init(GtkViewportClass * c, SEXP e) { SEXP s; S_GtkViewport_symbol = install("GtkViewport"); s = findVar(S_GtkViewport_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkViewportClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_scroll_adjustments = S_virtual_gtk_viewport_set_scroll_adjustments; } USER_OBJECT_ S_gtk_viewport_class_set_scroll_adjustments(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_hadjustment, USER_OBJECT_ s_vadjustment) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkViewportClass* object_class = ((GtkViewportClass*)getPtrValue(s_object_class)); GtkViewport* object = GTK_VIEWPORT(getPtrValue(s_object)); GtkAdjustment* hadjustment = GTK_ADJUSTMENT(getPtrValue(s_hadjustment)); GtkAdjustment* vadjustment = GTK_ADJUSTMENT(getPtrValue(s_vadjustment)); object_class->set_scroll_adjustments(object, hadjustment, vadjustment); return(_result); } static SEXP S_GtkVPaned_symbol; void S_gtk_vpaned_class_init(GtkVPanedClass * c, SEXP e) { SEXP s; S_GtkVPaned_symbol = install("GtkVPaned"); s = findVar(S_GtkVPaned_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVPanedClass)) = e; S_gtk_paned_class_init(((GtkPanedClass *)c), e); } static SEXP S_GtkVRuler_symbol; void S_gtk_vruler_class_init(GtkVRulerClass * c, SEXP e) { SEXP s; S_GtkVRuler_symbol = install("GtkVRuler"); s = findVar(S_GtkVRuler_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVRulerClass)) = e; S_gtk_ruler_class_init(((GtkRulerClass *)c), e); } static SEXP S_GtkVScale_symbol; void S_gtk_vscale_class_init(GtkVScaleClass * c, SEXP e) { SEXP s; S_GtkVScale_symbol = install("GtkVScale"); s = findVar(S_GtkVScale_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVScaleClass)) = e; S_gtk_scale_class_init(((GtkScaleClass *)c), e); } static SEXP S_GtkVScrollbar_symbol; void S_gtk_vscrollbar_class_init(GtkVScrollbarClass * c, SEXP e) { SEXP s; S_GtkVScrollbar_symbol = install("GtkVScrollbar"); s = findVar(S_GtkVScrollbar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVScrollbarClass)) = e; S_gtk_scrollbar_class_init(((GtkScrollbarClass *)c), e); } static SEXP S_GtkVSeparator_symbol; void S_gtk_vseparator_class_init(GtkVSeparatorClass * c, SEXP e) { SEXP s; S_GtkVSeparator_symbol = install("GtkVSeparator"); s = findVar(S_GtkVSeparator_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVSeparatorClass)) = e; S_gtk_separator_class_init(((GtkSeparatorClass *)c), e); } static SEXP S_GtkWidget_symbol; static void S_virtual_gtk_widget_dispatch_child_properties_changed(GtkWidget* s_object, guint s_n_pspecs, GParamSpec** s_pspecs) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_n_pspecs)); tmp = CDR(tmp); SETCAR(tmp, asRArrayWithSize(s_pspecs, asRGParamSpec, s_n_pspecs)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_show(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_show_all(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_hide(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_hide_all(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_map(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_unmap(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_realize(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_unrealize(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_size_request(GtkWidget* s_object, GtkRequisition* s_requisition) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_requisition ? gtk_requisition_copy(s_requisition) : NULL, "GtkRequisition", (RPointerFinalizer) gtk_requisition_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_size_allocate(GtkWidget* s_object, GtkAllocation* s_allocation) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRGtkAllocation(s_allocation)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_state_changed(GtkWidget* s_object, GtkStateType s_previous_state) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_previous_state, GTK_TYPE_STATE_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_parent_set(GtkWidget* s_object, GtkWidget* s_previous_parent) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_previous_parent, toRPointerWithSink(s_previous_parent, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_hierarchy_changed(GtkWidget* s_object, GtkWidget* s_previous_toplevel) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_previous_toplevel, toRPointerWithSink(s_previous_toplevel, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_style_set(GtkWidget* s_object, GtkStyle* s_previous_style) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_previous_style, "GtkStyle")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_direction_changed(GtkWidget* s_object, GtkTextDirection s_previous_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_previous_direction, GTK_TYPE_TEXT_DIRECTION)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_grab_notify(GtkWidget* s_object, gboolean s_was_grabbed) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_was_grabbed)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_child_notify(GtkWidget* s_object, GParamSpec* s_pspec) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRGParamSpec(s_pspec)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_widget_mnemonic_activate(GtkWidget* s_object, gboolean s_group_cycling) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_group_cycling)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_widget_grab_focus(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 19)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_widget_focus(GtkWidget* s_object, GtkDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 20)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_event(GtkWidget* s_object, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 21)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_button_press_event(GtkWidget* s_object, GdkEventButton* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 22)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_button_release_event(GtkWidget* s_object, GdkEventButton* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 23)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_scroll_event(GtkWidget* s_object, GdkEventScroll* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 24)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_motion_notify_event(GtkWidget* s_object, GdkEventMotion* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 25)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_delete_event(GtkWidget* s_object, GdkEventAny* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 26)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_destroy_event(GtkWidget* s_object, GdkEventAny* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 27)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_expose_event(GtkWidget* s_object, GdkEventExpose* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 28)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_key_press_event(GtkWidget* s_object, GdkEventKey* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 29)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_key_release_event(GtkWidget* s_object, GdkEventKey* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 30)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_enter_notify_event(GtkWidget* s_object, GdkEventCrossing* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 31)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_leave_notify_event(GtkWidget* s_object, GdkEventCrossing* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 32)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_configure_event(GtkWidget* s_object, GdkEventConfigure* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 33)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_focus_in_event(GtkWidget* s_object, GdkEventFocus* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 34)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_focus_out_event(GtkWidget* s_object, GdkEventFocus* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 35)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_map_event(GtkWidget* s_object, GdkEventAny* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 36)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_unmap_event(GtkWidget* s_object, GdkEventAny* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 37)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_property_notify_event(GtkWidget* s_object, GdkEventProperty* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 38)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_selection_clear_event(GtkWidget* s_object, GdkEventSelection* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 39)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_selection_request_event(GtkWidget* s_object, GdkEventSelection* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 40)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_selection_notify_event(GtkWidget* s_object, GdkEventSelection* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 41)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_proximity_in_event(GtkWidget* s_object, GdkEventProximity* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 42)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_proximity_out_event(GtkWidget* s_object, GdkEventProximity* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 43)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_visibility_notify_event(GtkWidget* s_object, GdkEventVisibility* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 44)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_client_event(GtkWidget* s_object, GdkEventClient* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 45)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_no_expose_event(GtkWidget* s_object, GdkEventAny* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 46)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_window_state_event(GtkWidget* s_object, GdkEventWindowState* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 47)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_widget_selection_get(GtkWidget* s_object, GtkSelectionData* s_selection_data, guint s_info, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 48)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_info)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_selection_received(GtkWidget* s_object, GtkSelectionData* s_selection_data, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 49)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_drag_begin(GtkWidget* s_object, GdkDragContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 50)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_drag_end(GtkWidget* s_object, GdkDragContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 51)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_drag_data_get(GtkWidget* s_object, GdkDragContext* s_context, GtkSelectionData* s_selection_data, guint s_info, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 52)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_info)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_drag_data_delete(GtkWidget* s_object, GdkDragContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 53)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_widget_drag_leave(GtkWidget* s_object, GdkDragContext* s_context, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 54)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_widget_drag_motion(GtkWidget* s_object, GdkDragContext* s_context, gint s_x, gint s_y, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 55)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_drag_drop(GtkWidget* s_object, GdkDragContext* s_context, gint s_x, gint s_y, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 56)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_widget_drag_data_received(GtkWidget* s_object, GdkDragContext* s_context, gint s_x, gint s_y, GtkSelectionData* s_selection_data, guint s_info, guint s_time_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 8)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 57)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GdkDragContext")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_x)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_y)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_info)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_time_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_widget_popup_menu(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 58)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_show_help(GtkWidget* s_object, GtkWidgetHelpType s_help_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 59)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_help_type, GTK_TYPE_WIDGET_HELP_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static AtkObject* S_virtual_gtk_widget_get_accessible(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 60)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((AtkObject*)0)); return(ATK_OBJECT(getPtrValue(s_ans))); } static void S_virtual_gtk_widget_screen_changed(GtkWidget* s_object, GdkScreen* s_previous_screen) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 61)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_previous_screen, "GdkScreen")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_widget_can_activate_accel(GtkWidget* s_object, guint s_signal_id) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 62)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_signal_id)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_widget_grab_broken_event(GtkWidget* s_object, GdkEventGrabBroken* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 63)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_widget_composited_changed(GtkWidget* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWidget_symbol, S_GOBJECT_GET_ENV(s_object)), 64)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWidget"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_widget_class_init(GtkWidgetClass * c, SEXP e) { SEXP s; S_GtkWidget_symbol = install("GtkWidget"); s = findVar(S_GtkWidget_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkWidgetClass)) = e; S_gtk_object_class_init(((GtkObjectClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->dispatch_child_properties_changed = S_virtual_gtk_widget_dispatch_child_properties_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->show = S_virtual_gtk_widget_show; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->show_all = S_virtual_gtk_widget_show_all; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->hide = S_virtual_gtk_widget_hide; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->hide_all = S_virtual_gtk_widget_hide_all; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->map = S_virtual_gtk_widget_map; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->unmap = S_virtual_gtk_widget_unmap; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->realize = S_virtual_gtk_widget_realize; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->unrealize = S_virtual_gtk_widget_unrealize; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->size_request = S_virtual_gtk_widget_size_request; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->size_allocate = S_virtual_gtk_widget_size_allocate; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->state_changed = S_virtual_gtk_widget_state_changed; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->parent_set = S_virtual_gtk_widget_parent_set; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->hierarchy_changed = S_virtual_gtk_widget_hierarchy_changed; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->style_set = S_virtual_gtk_widget_style_set; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->direction_changed = S_virtual_gtk_widget_direction_changed; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->grab_notify = S_virtual_gtk_widget_grab_notify; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->child_notify = S_virtual_gtk_widget_child_notify; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->mnemonic_activate = S_virtual_gtk_widget_mnemonic_activate; if(VECTOR_ELT(s, 19) != NULL_USER_OBJECT) c->grab_focus = S_virtual_gtk_widget_grab_focus; if(VECTOR_ELT(s, 20) != NULL_USER_OBJECT) c->focus = S_virtual_gtk_widget_focus; if(VECTOR_ELT(s, 21) != NULL_USER_OBJECT) c->event = S_virtual_gtk_widget_event; if(VECTOR_ELT(s, 22) != NULL_USER_OBJECT) c->button_press_event = S_virtual_gtk_widget_button_press_event; if(VECTOR_ELT(s, 23) != NULL_USER_OBJECT) c->button_release_event = S_virtual_gtk_widget_button_release_event; if(VECTOR_ELT(s, 24) != NULL_USER_OBJECT) c->scroll_event = S_virtual_gtk_widget_scroll_event; if(VECTOR_ELT(s, 25) != NULL_USER_OBJECT) c->motion_notify_event = S_virtual_gtk_widget_motion_notify_event; if(VECTOR_ELT(s, 26) != NULL_USER_OBJECT) c->delete_event = S_virtual_gtk_widget_delete_event; if(VECTOR_ELT(s, 27) != NULL_USER_OBJECT) c->destroy_event = S_virtual_gtk_widget_destroy_event; if(VECTOR_ELT(s, 28) != NULL_USER_OBJECT) c->expose_event = S_virtual_gtk_widget_expose_event; if(VECTOR_ELT(s, 29) != NULL_USER_OBJECT) c->key_press_event = S_virtual_gtk_widget_key_press_event; if(VECTOR_ELT(s, 30) != NULL_USER_OBJECT) c->key_release_event = S_virtual_gtk_widget_key_release_event; if(VECTOR_ELT(s, 31) != NULL_USER_OBJECT) c->enter_notify_event = S_virtual_gtk_widget_enter_notify_event; if(VECTOR_ELT(s, 32) != NULL_USER_OBJECT) c->leave_notify_event = S_virtual_gtk_widget_leave_notify_event; if(VECTOR_ELT(s, 33) != NULL_USER_OBJECT) c->configure_event = S_virtual_gtk_widget_configure_event; if(VECTOR_ELT(s, 34) != NULL_USER_OBJECT) c->focus_in_event = S_virtual_gtk_widget_focus_in_event; if(VECTOR_ELT(s, 35) != NULL_USER_OBJECT) c->focus_out_event = S_virtual_gtk_widget_focus_out_event; if(VECTOR_ELT(s, 36) != NULL_USER_OBJECT) c->map_event = S_virtual_gtk_widget_map_event; if(VECTOR_ELT(s, 37) != NULL_USER_OBJECT) c->unmap_event = S_virtual_gtk_widget_unmap_event; if(VECTOR_ELT(s, 38) != NULL_USER_OBJECT) c->property_notify_event = S_virtual_gtk_widget_property_notify_event; if(VECTOR_ELT(s, 39) != NULL_USER_OBJECT) c->selection_clear_event = S_virtual_gtk_widget_selection_clear_event; if(VECTOR_ELT(s, 40) != NULL_USER_OBJECT) c->selection_request_event = S_virtual_gtk_widget_selection_request_event; if(VECTOR_ELT(s, 41) != NULL_USER_OBJECT) c->selection_notify_event = S_virtual_gtk_widget_selection_notify_event; if(VECTOR_ELT(s, 42) != NULL_USER_OBJECT) c->proximity_in_event = S_virtual_gtk_widget_proximity_in_event; if(VECTOR_ELT(s, 43) != NULL_USER_OBJECT) c->proximity_out_event = S_virtual_gtk_widget_proximity_out_event; if(VECTOR_ELT(s, 44) != NULL_USER_OBJECT) c->visibility_notify_event = S_virtual_gtk_widget_visibility_notify_event; if(VECTOR_ELT(s, 45) != NULL_USER_OBJECT) c->client_event = S_virtual_gtk_widget_client_event; if(VECTOR_ELT(s, 46) != NULL_USER_OBJECT) c->no_expose_event = S_virtual_gtk_widget_no_expose_event; if(VECTOR_ELT(s, 47) != NULL_USER_OBJECT) c->window_state_event = S_virtual_gtk_widget_window_state_event; if(VECTOR_ELT(s, 48) != NULL_USER_OBJECT) c->selection_get = S_virtual_gtk_widget_selection_get; if(VECTOR_ELT(s, 49) != NULL_USER_OBJECT) c->selection_received = S_virtual_gtk_widget_selection_received; if(VECTOR_ELT(s, 50) != NULL_USER_OBJECT) c->drag_begin = S_virtual_gtk_widget_drag_begin; if(VECTOR_ELT(s, 51) != NULL_USER_OBJECT) c->drag_end = S_virtual_gtk_widget_drag_end; if(VECTOR_ELT(s, 52) != NULL_USER_OBJECT) c->drag_data_get = S_virtual_gtk_widget_drag_data_get; if(VECTOR_ELT(s, 53) != NULL_USER_OBJECT) c->drag_data_delete = S_virtual_gtk_widget_drag_data_delete; if(VECTOR_ELT(s, 54) != NULL_USER_OBJECT) c->drag_leave = S_virtual_gtk_widget_drag_leave; if(VECTOR_ELT(s, 55) != NULL_USER_OBJECT) c->drag_motion = S_virtual_gtk_widget_drag_motion; if(VECTOR_ELT(s, 56) != NULL_USER_OBJECT) c->drag_drop = S_virtual_gtk_widget_drag_drop; if(VECTOR_ELT(s, 57) != NULL_USER_OBJECT) c->drag_data_received = S_virtual_gtk_widget_drag_data_received; if(VECTOR_ELT(s, 58) != NULL_USER_OBJECT) c->popup_menu = S_virtual_gtk_widget_popup_menu; if(VECTOR_ELT(s, 59) != NULL_USER_OBJECT) c->show_help = S_virtual_gtk_widget_show_help; if(VECTOR_ELT(s, 60) != NULL_USER_OBJECT) c->get_accessible = S_virtual_gtk_widget_get_accessible; if(VECTOR_ELT(s, 61) != NULL_USER_OBJECT) c->screen_changed = S_virtual_gtk_widget_screen_changed; if(VECTOR_ELT(s, 62) != NULL_USER_OBJECT) c->can_activate_accel = S_virtual_gtk_widget_can_activate_accel; if(VECTOR_ELT(s, 63) != NULL_USER_OBJECT) c->grab_broken_event = S_virtual_gtk_widget_grab_broken_event; #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 64) != NULL_USER_OBJECT) c->composited_changed = S_virtual_gtk_widget_composited_changed; #endif } USER_OBJECT_ S_gtk_widget_class_dispatch_child_properties_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_pspecs) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); guint n_pspecs = ((guint)GET_LENGTH(s_pspecs)); GParamSpec** pspecs = ((GParamSpec**)asCArray(s_pspecs, GParamSpec*, asCGParamSpec)); object_class->dispatch_child_properties_changed(object, n_pspecs, pspecs); return(_result); } USER_OBJECT_ S_gtk_widget_class_show(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->show(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_show_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->show_all(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_hide(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->hide(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_hide_all(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->hide_all(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_map(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->map(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_unmap(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->unmap(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_realize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->realize(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_unrealize(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->unrealize(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_size_request(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_requisition) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkRequisition* requisition = ((GtkRequisition*)getPtrValue(s_requisition)); object_class->size_request(object, requisition); return(_result); } USER_OBJECT_ S_gtk_widget_class_size_allocate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_allocation) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkAllocation* allocation = asCGtkAllocation(s_allocation); object_class->size_allocate(object, allocation); return(_result); } USER_OBJECT_ S_gtk_widget_class_state_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_state) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStateType previous_state = ((GtkStateType)asCEnum(s_previous_state, GTK_TYPE_STATE_TYPE)); object_class->state_changed(object, previous_state); return(_result); } USER_OBJECT_ S_gtk_widget_class_parent_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* previous_parent = GTK_WIDGET(getPtrValue(s_previous_parent)); object_class->parent_set(object, previous_parent); return(_result); } USER_OBJECT_ S_gtk_widget_class_hierarchy_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_toplevel) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidget* previous_toplevel = GTK_WIDGET(getPtrValue(s_previous_toplevel)); object_class->hierarchy_changed(object, previous_toplevel); return(_result); } USER_OBJECT_ S_gtk_widget_class_style_set(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_style) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkStyle* previous_style = GTK_STYLE(getPtrValue(s_previous_style)); object_class->style_set(object, previous_style); return(_result); } USER_OBJECT_ S_gtk_widget_class_direction_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkTextDirection previous_direction = ((GtkTextDirection)asCEnum(s_previous_direction, GTK_TYPE_TEXT_DIRECTION)); object_class->direction_changed(object, previous_direction); return(_result); } USER_OBJECT_ S_gtk_widget_class_grab_notify(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_was_grabbed) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean was_grabbed = ((gboolean)asCLogical(s_was_grabbed)); object_class->grab_notify(object, was_grabbed); return(_result); } USER_OBJECT_ S_gtk_widget_class_child_notify(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_pspec) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GParamSpec* pspec = asCGParamSpec(s_pspec); object_class->child_notify(object, pspec); CLEANUP(g_param_spec_sink, ((GParamSpec*)pspec));; return(_result); } USER_OBJECT_ S_gtk_widget_class_mnemonic_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_group_cycling) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean group_cycling = ((gboolean)asCLogical(s_group_cycling)); gboolean ans; ans = object_class->mnemonic_activate(object, group_cycling); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_grab_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->grab_focus(object); return(_result); } USER_OBJECT_ S_gtk_widget_class_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); gboolean ans; ans = object_class->focus(object, direction); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gboolean ans; ans = object_class->event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_button_press_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventButton* event = ((GdkEventButton*)getPtrValue(s_event)); gboolean ans; ans = object_class->button_press_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_button_release_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventButton* event = ((GdkEventButton*)getPtrValue(s_event)); gboolean ans; ans = object_class->button_release_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_scroll_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventScroll* event = ((GdkEventScroll*)getPtrValue(s_event)); gboolean ans; ans = object_class->scroll_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_motion_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventMotion* event = ((GdkEventMotion*)getPtrValue(s_event)); gboolean ans; ans = object_class->motion_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_delete_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventAny* event = ((GdkEventAny*)getPtrValue(s_event)); gboolean ans; ans = object_class->delete_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_destroy_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventAny* event = ((GdkEventAny*)getPtrValue(s_event)); gboolean ans; ans = object_class->destroy_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_expose_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventExpose* event = ((GdkEventExpose*)getPtrValue(s_event)); gboolean ans; ans = object_class->expose_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_key_press_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = object_class->key_press_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_key_release_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventKey* event = ((GdkEventKey*)getPtrValue(s_event)); gboolean ans; ans = object_class->key_release_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_enter_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventCrossing* event = ((GdkEventCrossing*)getPtrValue(s_event)); gboolean ans; ans = object_class->enter_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_leave_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventCrossing* event = ((GdkEventCrossing*)getPtrValue(s_event)); gboolean ans; ans = object_class->leave_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_configure_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventConfigure* event = ((GdkEventConfigure*)getPtrValue(s_event)); gboolean ans; ans = object_class->configure_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_focus_in_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventFocus* event = ((GdkEventFocus*)getPtrValue(s_event)); gboolean ans; ans = object_class->focus_in_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_focus_out_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventFocus* event = ((GdkEventFocus*)getPtrValue(s_event)); gboolean ans; ans = object_class->focus_out_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_map_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventAny* event = ((GdkEventAny*)getPtrValue(s_event)); gboolean ans; ans = object_class->map_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_unmap_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventAny* event = ((GdkEventAny*)getPtrValue(s_event)); gboolean ans; ans = object_class->unmap_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_property_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventProperty* event = ((GdkEventProperty*)getPtrValue(s_event)); gboolean ans; ans = object_class->property_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_selection_clear_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventSelection* event = ((GdkEventSelection*)getPtrValue(s_event)); gboolean ans; ans = object_class->selection_clear_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_selection_request_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventSelection* event = ((GdkEventSelection*)getPtrValue(s_event)); gboolean ans; ans = object_class->selection_request_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_selection_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventSelection* event = ((GdkEventSelection*)getPtrValue(s_event)); gboolean ans; ans = object_class->selection_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_proximity_in_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventProximity* event = ((GdkEventProximity*)getPtrValue(s_event)); gboolean ans; ans = object_class->proximity_in_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_proximity_out_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventProximity* event = ((GdkEventProximity*)getPtrValue(s_event)); gboolean ans; ans = object_class->proximity_out_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_visibility_notify_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventVisibility* event = ((GdkEventVisibility*)getPtrValue(s_event)); gboolean ans; ans = object_class->visibility_notify_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_client_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventClient* event = ((GdkEventClient*)getPtrValue(s_event)); gboolean ans; ans = object_class->client_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_no_expose_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventAny* event = ((GdkEventAny*)getPtrValue(s_event)); gboolean ans; ans = object_class->no_expose_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_window_state_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventWindowState* event = ((GdkEventWindowState*)getPtrValue(s_event)); gboolean ans; ans = object_class->window_state_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_selection_get(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_selection_data, USER_OBJECT_ s_info, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); guint info = ((guint)asCNumeric(s_info)); guint time_ = ((guint)asCNumeric(s_time_)); object_class->selection_get(object, selection_data, info, time_); return(_result); } USER_OBJECT_ S_gtk_widget_class_selection_received(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_selection_data, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); guint time_ = ((guint)asCNumeric(s_time_)); object_class->selection_received(object, selection_data, time_); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_begin(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); object_class->drag_begin(object, context); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_end(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); object_class->drag_end(object, context); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_data_get(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_selection_data, USER_OBJECT_ s_info, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); guint info = ((guint)asCNumeric(s_info)); guint time_ = ((guint)asCNumeric(s_time_)); object_class->drag_data_get(object, context, selection_data, info, time_); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_data_delete(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); object_class->drag_data_delete(object, context); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_leave(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); guint time_ = ((guint)asCNumeric(s_time_)); object_class->drag_leave(object, context, time_); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_motion(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint time_ = ((guint)asCNumeric(s_time_)); gboolean ans; ans = object_class->drag_motion(object, context, x, y, time_); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_drop(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); guint time_ = ((guint)asCNumeric(s_time_)); gboolean ans; ans = object_class->drag_drop(object, context, x, y, time_); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_drag_data_received(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_selection_data, USER_OBJECT_ s_info, USER_OBJECT_ s_time_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkDragContext* context = GDK_DRAG_CONTEXT(getPtrValue(s_context)); gint x = ((gint)asCInteger(s_x)); gint y = ((gint)asCInteger(s_y)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); guint info = ((guint)asCNumeric(s_info)); guint time_ = ((guint)asCNumeric(s_time_)); object_class->drag_data_received(object, context, x, y, selection_data, info, time_); return(_result); } USER_OBJECT_ S_gtk_widget_class_popup_menu(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); gboolean ans; ans = object_class->popup_menu(object); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_show_help(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_help_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GtkWidgetHelpType help_type = ((GtkWidgetHelpType)asCEnum(s_help_type, GTK_TYPE_WIDGET_HELP_TYPE)); gboolean ans; ans = object_class->show_help(object, help_type); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_get_accessible(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); AtkObject* ans; ans = object_class->get_accessible(object); _result = toRPointerWithRef(ans, "AtkObject"); return(_result); } USER_OBJECT_ S_gtk_widget_class_screen_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_previous_screen) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkScreen* previous_screen = GDK_SCREEN(getPtrValue(s_previous_screen)); object_class->screen_changed(object, previous_screen); return(_result); } USER_OBJECT_ S_gtk_widget_class_can_activate_accel(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_signal_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); guint signal_id = ((guint)asCNumeric(s_signal_id)); gboolean ans; ans = object_class->can_activate_accel(object, signal_id); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_grab_broken_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GdkEventGrabBroken* event = ((GdkEventGrabBroken*)getPtrValue(s_event)); gboolean ans; ans = object_class->grab_broken_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_widget_class_composited_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkWidgetClass* object_class = ((GtkWidgetClass*)getPtrValue(s_object_class)); GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); object_class->composited_changed(object); #else error("gtk_widget_composited_changed exists only in Gtk >= 2.10.0"); #endif return(_result); } static SEXP S_GtkWindow_symbol; static void S_virtual_gtk_window_set_focus(GtkWindow* s_object, GtkWidget* s_focus) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_focus, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_window_frame_event(GtkWindow* s_object, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static void S_virtual_gtk_window_activate_focus(GtkWindow* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_window_activate_default(GtkWindow* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_window_move_focus(GtkWindow* s_object, GtkDirectionType s_direction) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_window_keys_changed(GtkWindow* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkWindow_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkWindow"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_window_class_init(GtkWindowClass * c, SEXP e) { SEXP s; S_GtkWindow_symbol = install("GtkWindow"); s = findVar(S_GtkWindow_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkWindowClass)) = e; S_gtk_bin_class_init(((GtkBinClass *)c), e); if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_focus = S_virtual_gtk_window_set_focus; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->frame_event = S_virtual_gtk_window_frame_event; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->activate_focus = S_virtual_gtk_window_activate_focus; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->activate_default = S_virtual_gtk_window_activate_default; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->move_focus = S_virtual_gtk_window_move_focus; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->keys_changed = S_virtual_gtk_window_keys_changed; } USER_OBJECT_ S_gtk_window_class_set_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_focus) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* focus = GTK_WIDGET(getPtrValue(s_focus)); object_class->set_focus(object, focus); return(_result); } USER_OBJECT_ S_gtk_window_class_frame_event(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); gboolean ans; ans = object_class->frame_event(object, event); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_window_class_activate_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); object_class->activate_focus(object); return(_result); } USER_OBJECT_ S_gtk_window_class_activate_default(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); object_class->activate_default(object); return(_result); } USER_OBJECT_ S_gtk_window_class_move_focus(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_direction) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkDirectionType direction = ((GtkDirectionType)asCEnum(s_direction, GTK_TYPE_DIRECTION_TYPE)); object_class->move_focus(object, direction); return(_result); } USER_OBJECT_ S_gtk_window_class_keys_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkWindowClass* object_class = ((GtkWindowClass*)getPtrValue(s_object_class)); GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); object_class->keys_changed(object); return(_result); } static SEXP S_GtkWindowGroup_symbol; void S_gtk_window_group_class_init(GtkWindowGroupClass * c, SEXP e) { SEXP s; S_GtkWindowGroup_symbol = install("GtkWindowGroup"); s = findVar(S_GtkWindowGroup_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkWindowGroupClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkCellRendererAccel_symbol; #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_cell_renderer_accel_accel_edited(GtkCellRendererAccel* s_object, const gchar* s_path_string, guint s_accel_key, GdkModifierType s_accel_mods, guint s_hardware_keycode) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRendererAccel_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRendererAccel"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path_string)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_accel_key)); tmp = CDR(tmp); SETCAR(tmp, asRFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_hardware_keycode)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_cell_renderer_accel_accel_cleared(GtkCellRendererAccel* s_object, const gchar* s_path_string) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellRendererAccel_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkCellRendererAccel"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_path_string)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_cell_renderer_accel_class_init(GtkCellRendererAccelClass * c, SEXP e) { SEXP s; S_GtkCellRendererAccel_symbol = install("GtkCellRendererAccel"); s = findVar(S_GtkCellRendererAccel_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererAccelClass)) = e; S_gtk_cell_renderer_text_class_init(((GtkCellRendererTextClass *)c), e); #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->accel_edited = S_virtual_gtk_cell_renderer_accel_accel_edited; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->accel_cleared = S_virtual_gtk_cell_renderer_accel_accel_cleared; #endif } #endif USER_OBJECT_ S_gtk_cell_renderer_accel_class_accel_edited(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path_string, USER_OBJECT_ s_accel_key, USER_OBJECT_ s_accel_mods, USER_OBJECT_ s_hardware_keycode) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkCellRendererAccelClass* object_class = ((GtkCellRendererAccelClass*)getPtrValue(s_object_class)); GtkCellRendererAccel* object = GTK_CELL_RENDERER_ACCEL(getPtrValue(s_object)); const gchar* path_string = ((const gchar*)asCString(s_path_string)); guint accel_key = ((guint)asCNumeric(s_accel_key)); GdkModifierType accel_mods = ((GdkModifierType)asCFlag(s_accel_mods, GDK_TYPE_MODIFIER_TYPE)); guint hardware_keycode = ((guint)asCNumeric(s_hardware_keycode)); object_class->accel_edited(object, path_string, accel_key, accel_mods, hardware_keycode); #else error("gtk_cell_renderer_accel_accel_edited exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_cell_renderer_accel_class_accel_cleared(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkCellRendererAccelClass* object_class = ((GtkCellRendererAccelClass*)getPtrValue(s_object_class)); GtkCellRendererAccel* object = GTK_CELL_RENDERER_ACCEL(getPtrValue(s_object)); const gchar* path_string = ((const gchar*)asCString(s_path_string)); object_class->accel_cleared(object, path_string); #else error("gtk_cell_renderer_accel_accel_cleared exists only in Gtk >= 2.10.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkCellRendererSpin_symbol; void S_gtk_cell_renderer_spin_class_init(GtkCellRendererSpinClass * c, SEXP e) { SEXP s; S_GtkCellRendererSpin_symbol = install("GtkCellRendererSpin"); s = findVar(S_GtkCellRendererSpin_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererSpinClass)) = e; S_gtk_cell_renderer_text_class_init(((GtkCellRendererTextClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkPrintOperation_symbol; #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_done(GtkPrintOperation* s_object, GtkPrintOperationResult s_result) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_result, GTK_TYPE_PRINT_OPERATION_RESULT)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_begin_print(GtkPrintOperation* s_object, GtkPrintContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static gboolean S_virtual_gtk_print_operation_paginate(GtkPrintOperation* s_object, GtkPrintContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_request_page_setup(GtkPrintOperation* s_object, GtkPrintContext* s_context, gint s_page_nr, GtkPageSetup* s_setup) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_page_nr)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_setup, "GtkPageSetup")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_draw_page(GtkPrintOperation* s_object, GtkPrintContext* s_context, gint s_page_nr) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_page_nr)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_end_print(GtkPrintOperation* s_object, GtkPrintContext* s_context) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_status_changed(GtkPrintOperation* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static GtkWidget* S_virtual_gtk_print_operation_create_custom_widget(GtkPrintOperation* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkWidget*)0)); return(GTK_WIDGET(getPtrValue(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_print_operation_custom_widget_apply(GtkPrintOperation* s_object, GtkWidget* s_widget) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_widget, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static gboolean S_virtual_gtk_print_operation_preview(GtkPrintOperation* s_object, GtkPrintOperationPreview* s_preview, GtkPrintContext* s_context, GtkWindow* s_parent) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkPrintOperation_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkPrintOperation"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_preview, "GtkPrintOperationPreview")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_context, "GtkPrintContext")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_parent, "GtkWindow")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif void S_gtk_print_operation_class_init(GtkPrintOperationClass * c, SEXP e) { SEXP s; S_GtkPrintOperation_symbol = install("GtkPrintOperation"); s = findVar(S_GtkPrintOperation_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkPrintOperationClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->done = S_virtual_gtk_print_operation_done; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->begin_print = S_virtual_gtk_print_operation_begin_print; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->paginate = S_virtual_gtk_print_operation_paginate; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->request_page_setup = S_virtual_gtk_print_operation_request_page_setup; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->draw_page = S_virtual_gtk_print_operation_draw_page; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->end_print = S_virtual_gtk_print_operation_end_print; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->status_changed = S_virtual_gtk_print_operation_status_changed; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->create_custom_widget = S_virtual_gtk_print_operation_create_custom_widget; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->custom_widget_apply = S_virtual_gtk_print_operation_custom_widget_apply; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->preview = S_virtual_gtk_print_operation_preview; #endif } #endif USER_OBJECT_ S_gtk_print_operation_class_done(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintOperationResult result = ((GtkPrintOperationResult)asCEnum(s_result, GTK_TYPE_PRINT_OPERATION_RESULT)); object_class->done(object, result); #else error("gtk_print_operation_done exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_begin_print(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); object_class->begin_print(object, context); #else error("gtk_print_operation_begin_print exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_paginate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); gboolean ans; ans = object_class->paginate(object, context); _result = asRLogical(ans); #else error("gtk_print_operation_paginate exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_request_page_setup(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_page_nr, USER_OBJECT_ s_setup) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); gint page_nr = ((gint)asCInteger(s_page_nr)); GtkPageSetup* setup = GTK_PAGE_SETUP(getPtrValue(s_setup)); object_class->request_page_setup(object, context, page_nr, setup); #else error("gtk_print_operation_request_page_setup exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_draw_page(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context, USER_OBJECT_ s_page_nr) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); gint page_nr = ((gint)asCInteger(s_page_nr)); object_class->draw_page(object, context, page_nr); #else error("gtk_print_operation_draw_page exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_end_print(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); object_class->end_print(object, context); #else error("gtk_print_operation_end_print exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_status_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); object_class->status_changed(object); #else error("gtk_print_operation_status_changed exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_create_custom_widget(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkWidget* ans; ans = object_class->create_custom_widget(object); _result = toRPointerWithSink(ans, "GtkWidget"); #else error("gtk_print_operation_create_custom_widget exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_custom_widget_apply(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_widget) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); object_class->custom_widget_apply(object, widget); #else error("gtk_print_operation_custom_widget_apply exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_print_operation_class_preview(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_preview, USER_OBJECT_ s_context, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkPrintOperationClass* object_class = ((GtkPrintOperationClass*)getPtrValue(s_object_class)); GtkPrintOperation* object = GTK_PRINT_OPERATION(getPtrValue(s_object)); GtkPrintOperationPreview* preview = GTK_PRINT_OPERATION_PREVIEW(getPtrValue(s_preview)); GtkPrintContext* context = GTK_PRINT_CONTEXT(getPtrValue(s_context)); GtkWindow* parent = GTK_WINDOW(getPtrValue(s_parent)); gboolean ans; ans = object_class->preview(object, preview, context, parent); _result = asRLogical(ans); #else error("gtk_print_operation_preview exists only in Gtk >= 2.10.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkRecentManager_symbol; #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_recent_manager_changed(GtkRecentManager* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkRecentManager_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkRecentManager"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_recent_manager_class_init(GtkRecentManagerClass * c, SEXP e) { SEXP s; S_GtkRecentManager_symbol = install("GtkRecentManager"); s = findVar(S_GtkRecentManager_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRecentManagerClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_recent_manager_changed; #endif } #endif USER_OBJECT_ S_gtk_recent_manager_class_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkRecentManagerClass* object_class = ((GtkRecentManagerClass*)getPtrValue(s_object_class)); GtkRecentManager* object = GTK_RECENT_MANAGER(getPtrValue(s_object)); object_class->changed(object); #else error("gtk_recent_manager_changed exists only in Gtk >= 2.10.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkStatusIcon_symbol; #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_status_icon_activate(GtkStatusIcon* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStatusIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStatusIcon"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_status_icon_popup_menu(GtkStatusIcon* s_object, guint s_button, guint32 s_activate_time) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStatusIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStatusIcon"))); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_button)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_activate_time)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static gboolean S_virtual_gtk_status_icon_size_changed(GtkStatusIcon* s_object, gint s_size) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkStatusIcon_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkStatusIcon"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_size)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } #endif void S_gtk_status_icon_class_init(GtkStatusIconClass * c, SEXP e) { SEXP s; S_GtkStatusIcon_symbol = install("GtkStatusIcon"); s = findVar(S_GtkStatusIcon_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkStatusIconClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->activate = S_virtual_gtk_status_icon_activate; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->popup_menu = S_virtual_gtk_status_icon_popup_menu; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->size_changed = S_virtual_gtk_status_icon_size_changed; #endif } #endif USER_OBJECT_ S_gtk_status_icon_class_activate(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIconClass* object_class = ((GtkStatusIconClass*)getPtrValue(s_object_class)); GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); object_class->activate(object); #else error("gtk_status_icon_activate exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_class_popup_menu(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_button, USER_OBJECT_ s_activate_time) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIconClass* object_class = ((GtkStatusIconClass*)getPtrValue(s_object_class)); GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); guint button = ((guint)asCNumeric(s_button)); guint32 activate_time = ((guint32)asCNumeric(s_activate_time)); object_class->popup_menu(object, button, activate_time); #else error("gtk_status_icon_popup_menu exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_status_icon_class_size_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIconClass* object_class = ((GtkStatusIconClass*)getPtrValue(s_object_class)); GtkStatusIcon* object = GTK_STATUS_ICON(getPtrValue(s_object)); gint size = ((gint)asCInteger(s_size)); gboolean ans; ans = object_class->size_changed(object, size); _result = asRLogical(ans); #else error("gtk_status_icon_size_changed exists only in Gtk >= 2.10.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkRecentChooserMenu_symbol; void S_gtk_recent_chooser_menu_class_init(GtkRecentChooserMenuClass * c, SEXP e) { SEXP s; S_GtkRecentChooserMenu_symbol = install("GtkRecentChooserMenu"); s = findVar(S_GtkRecentChooserMenu_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRecentChooserMenuClass)) = e; S_gtk_menu_class_init(((GtkMenuClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkLinkButton_symbol; void S_gtk_link_button_class_init(GtkLinkButtonClass * c, SEXP e) { SEXP s; S_GtkLinkButton_symbol = install("GtkLinkButton"); s = findVar(S_GtkLinkButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkLinkButtonClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkRecentChooserWidget_symbol; void S_gtk_recent_chooser_widget_class_init(GtkRecentChooserWidgetClass * c, SEXP e) { SEXP s; S_GtkRecentChooserWidget_symbol = install("GtkRecentChooserWidget"); s = findVar(S_GtkRecentChooserWidget_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRecentChooserWidgetClass)) = e; S_gtk_vbox_class_init(((GtkVBoxClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkRecentChooserDialog_symbol; void S_gtk_recent_chooser_dialog_class_init(GtkRecentChooserDialogClass * c, SEXP e) { SEXP s; S_GtkRecentChooserDialog_symbol = install("GtkRecentChooserDialog"); s = findVar(S_GtkRecentChooserDialog_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRecentChooserDialogClass)) = e; S_gtk_dialog_class_init(((GtkDialogClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 10, 0) static SEXP S_GtkAssistant_symbol; #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_assistant_prepare(GtkAssistant* s_object, GtkWidget* s_page) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAssistant_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAssistant"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_page, "GtkWidget")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_assistant_apply(GtkAssistant* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAssistant_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAssistant"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_assistant_close(GtkAssistant* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAssistant_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAssistant"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 10, 0) static void S_virtual_gtk_assistant_cancel(GtkAssistant* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkAssistant_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithSink(s_object, "GtkAssistant"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_assistant_class_init(GtkAssistantClass * c, SEXP e) { SEXP s; S_GtkAssistant_symbol = install("GtkAssistant"); s = findVar(S_GtkAssistant_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkAssistantClass)) = e; S_gtk_window_class_init(((GtkWindowClass *)c), e); #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->prepare = S_virtual_gtk_assistant_prepare; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->apply = S_virtual_gtk_assistant_apply; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->close = S_virtual_gtk_assistant_close; #endif #if GTK_CHECK_VERSION(2, 10, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->cancel = S_virtual_gtk_assistant_cancel; #endif } #endif USER_OBJECT_ S_gtk_assistant_class_prepare(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_page) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistantClass* object_class = ((GtkAssistantClass*)getPtrValue(s_object_class)); GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); GtkWidget* page = GTK_WIDGET(getPtrValue(s_page)); object_class->prepare(object, page); #else error("gtk_assistant_prepare exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_class_apply(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistantClass* object_class = ((GtkAssistantClass*)getPtrValue(s_object_class)); GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); object_class->apply(object); #else error("gtk_assistant_apply exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_class_close(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistantClass* object_class = ((GtkAssistantClass*)getPtrValue(s_object_class)); GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); object_class->close(object); #else error("gtk_assistant_close exists only in Gtk >= 2.10.0"); #endif return(_result); } USER_OBJECT_ S_gtk_assistant_class_cancel(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 10, 0) GtkAssistantClass* object_class = ((GtkAssistantClass*)getPtrValue(s_object_class)); GtkAssistant* object = GTK_ASSISTANT(getPtrValue(s_object)); object_class->cancel(object); #else error("gtk_assistant_cancel exists only in Gtk >= 2.10.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 12, 0) static SEXP S_GtkBuilder_symbol; #if GTK_CHECK_VERSION(2, 12, 0) static GType S_virtual_gtk_builder_get_type_from_name(GtkBuilder* s_object, const char* s_type_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuilder_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuilder"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_type_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GType)0)); return(((GType)asCGType(s_ans))); } #endif void S_gtk_builder_class_init(GtkBuilderClass * c, SEXP e) { SEXP s; S_GtkBuilder_symbol = install("GtkBuilder"); s = findVar(S_GtkBuilder_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkBuilderClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_type_from_name = S_virtual_gtk_builder_get_type_from_name; #endif } #endif USER_OBJECT_ S_gtk_builder_class_get_type_from_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_type_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuilderClass* object_class = ((GtkBuilderClass*)getPtrValue(s_object_class)); GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); const char* type_name = ((const char*)asCString(s_type_name)); GType ans; ans = object_class->get_type_from_name(object, type_name); _result = asRGType(ans); #else error("gtk_builder_get_type_from_name exists only in Gtk >= 2.12.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 12, 0) static SEXP S_GtkRecentAction_symbol; void S_gtk_recent_action_class_init(GtkRecentActionClass * c, SEXP e) { SEXP s; S_GtkRecentAction_symbol = install("GtkRecentAction"); s = findVar(S_GtkRecentAction_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkRecentActionClass)) = e; S_gtk_action_class_init(((GtkActionClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static SEXP S_GtkScaleButton_symbol; void S_gtk_scale_button_class_init(GtkScaleButtonClass * c, SEXP e) { SEXP s; S_GtkScaleButton_symbol = install("GtkScaleButton"); s = findVar(S_GtkScaleButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkScaleButtonClass)) = e; S_gtk_button_class_init(((GtkButtonClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static SEXP S_GtkVolumeButton_symbol; void S_gtk_volume_button_class_init(GtkVolumeButtonClass * c, SEXP e) { SEXP s; S_GtkVolumeButton_symbol = install("GtkVolumeButton"); s = findVar(S_GtkVolumeButton_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkVolumeButtonClass)) = e; S_gtk_scale_button_class_init(((GtkScaleButtonClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 14, 0) static SEXP S_GtkMountOperation_symbol; void S_gtk_mount_operation_class_init(GtkMountOperationClass * c, SEXP e) { SEXP s; S_GtkMountOperation_symbol = install("GtkMountOperation"); s = findVar(S_GtkMountOperation_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkMountOperationClass)) = e; S_gmount_operation_class_init(((GMountOperationClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 18, 0) static SEXP S_GtkEntryBuffer_symbol; void S_gtk_entry_buffer_class_init(GtkEntryBufferClass * c, SEXP e) { SEXP s; S_GtkEntryBuffer_symbol = install("GtkEntryBuffer"); s = findVar(S_GtkEntryBuffer_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkEntryBufferClass)) = e; S_gobject_class_init(((GObjectClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 18, 0) static SEXP S_GtkInfoBar_symbol; void S_gtk_info_bar_class_init(GtkInfoBarClass * c, SEXP e) { SEXP s; S_GtkInfoBar_symbol = install("GtkInfoBar"); s = findVar(S_GtkInfoBar_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkInfoBarClass)) = e; S_gtk_hbox_class_init(((GtkHBoxClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 18, 0) static SEXP S_GtkHSV_symbol; void S_gtk_hsv_class_init(GtkHSVClass * c, SEXP e) { SEXP s; S_GtkHSV_symbol = install("GtkHSV"); s = findVar(S_GtkHSV_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkHSVClass)) = e; S_gtk_widget_class_init(((GtkWidgetClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 20, 0) static SEXP S_GtkToolItemGroup_symbol; void S_gtk_tool_item_group_class_init(GtkToolItemGroupClass * c, SEXP e) { SEXP s; S_GtkToolItemGroup_symbol = install("GtkToolItemGroup"); s = findVar(S_GtkToolItemGroup_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolItemGroupClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 20, 0) static SEXP S_GtkToolPalette_symbol; void S_gtk_tool_palette_class_init(GtkToolPaletteClass * c, SEXP e) { SEXP s; S_GtkToolPalette_symbol = install("GtkToolPalette"); s = findVar(S_GtkToolPalette_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolPaletteClass)) = e; S_gtk_container_class_init(((GtkContainerClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 20, 0) static SEXP S_GtkCellRendererSpinner_symbol; void S_gtk_cell_renderer_spinner_class_init(GtkCellRendererSpinnerClass * c, SEXP e) { SEXP s; S_GtkCellRendererSpinner_symbol = install("GtkCellRendererSpinner"); s = findVar(S_GtkCellRendererSpinner_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellRendererSpinnerClass)) = e; S_gtk_cell_renderer_class_init(((GtkCellRendererClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 20, 0) static SEXP S_GtkOffscreenWindow_symbol; void S_gtk_offscreen_window_class_init(GtkOffscreenWindowClass * c, SEXP e) { SEXP s; S_GtkOffscreenWindow_symbol = install("GtkOffscreenWindow"); s = findVar(S_GtkOffscreenWindow_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkOffscreenWindowClass)) = e; S_gtk_window_class_init(((GtkWindowClass *)c), e); } #endif #if GTK_CHECK_VERSION(2, 20, 0) static SEXP S_GtkSpinner_symbol; void S_gtk_spinner_class_init(GtkSpinnerClass * c, SEXP e) { SEXP s; S_GtkSpinner_symbol = install("GtkSpinner"); s = findVar(S_GtkSpinner_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkSpinnerClass)) = e; S_gtk_drawing_area_class_init(((GtkDrawingAreaClass *)c), e); } #endif static SEXP S_GtkCellEditable_symbol; static void S_virtual_gtk_cell_editable_editing_done(GtkCellEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_editable_remove_widget(GtkCellEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_editable_start_editing(GtkCellEditable* s_object, GdkEvent* s_event) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellEditable"))); tmp = CDR(tmp); SETCAR(tmp, toRGdkEvent(((GdkEvent *)s_event), FALSE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_cell_editable_class_init(GtkCellEditableIface * c, SEXP e) { SEXP s; S_GtkCellEditable_symbol = install("GtkCellEditable"); s = findVar(S_GtkCellEditable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellEditableIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->editing_done = S_virtual_gtk_cell_editable_editing_done; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->remove_widget = S_virtual_gtk_cell_editable_remove_widget; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->start_editing = S_virtual_gtk_cell_editable_start_editing; } USER_OBJECT_ S_gtk_cell_editable_iface_editing_done(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditableIface* object_class = ((GtkCellEditableIface*)getPtrValue(s_object_class)); GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); object_class->editing_done(object); return(_result); } USER_OBJECT_ S_gtk_cell_editable_iface_remove_widget(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditableIface* object_class = ((GtkCellEditableIface*)getPtrValue(s_object_class)); GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); object_class->remove_widget(object); return(_result); } USER_OBJECT_ S_gtk_cell_editable_iface_start_editing(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_event) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellEditableIface* object_class = ((GtkCellEditableIface*)getPtrValue(s_object_class)); GtkCellEditable* object = GTK_CELL_EDITABLE(getPtrValue(s_object)); GdkEvent* event = ((GdkEvent*)getPtrValue(s_event)); object_class->start_editing(object, event); return(_result); } static SEXP S_GtkCellLayout_symbol; static void S_virtual_gtk_cell_layout_pack_start(GtkCellLayout* s_object, GtkCellRenderer* s_cell, gboolean s_expand) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_expand)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_pack_end(GtkCellLayout* s_object, GtkCellRenderer* s_cell, gboolean s_expand) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, asRLogical(s_expand)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_clear(GtkCellLayout* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_add_attribute(GtkCellLayout* s_object, GtkCellRenderer* s_cell, const gchar* s_attribute, gint s_column) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_attribute)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_set_cell_data_func(GtkCellLayout* s_object, GtkCellRenderer* s_cell, GtkCellLayoutDataFunc s_func, gpointer s_func_data, GDestroyNotify s_destroy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_func, "GtkCellLayoutDataFunc")); tmp = CDR(tmp); SETCAR(tmp, s_func_data); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_destroy, "GDestroyNotify")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_clear_attributes(GtkCellLayout* s_object, GtkCellRenderer* s_cell) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_cell_layout_reorder(GtkCellLayout* s_object, GtkCellRenderer* s_cell, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkCellLayout_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkCellLayout"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_cell, "GtkCellRenderer")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_cell_layout_class_init(GtkCellLayoutIface * c, SEXP e) { SEXP s; S_GtkCellLayout_symbol = install("GtkCellLayout"); s = findVar(S_GtkCellLayout_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkCellLayoutIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->pack_start = S_virtual_gtk_cell_layout_pack_start; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->pack_end = S_virtual_gtk_cell_layout_pack_end; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->clear = S_virtual_gtk_cell_layout_clear; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->add_attribute = S_virtual_gtk_cell_layout_add_attribute; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->set_cell_data_func = S_virtual_gtk_cell_layout_set_cell_data_func; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->clear_attributes = S_virtual_gtk_cell_layout_clear_attributes; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->reorder = S_virtual_gtk_cell_layout_reorder; } USER_OBJECT_ S_gtk_cell_layout_iface_pack_start(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); object_class->pack_start(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_pack_end(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_expand) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gboolean expand = ((gboolean)asCLogical(s_expand)); object_class->pack_end(object, cell, expand); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_clear(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); object_class->clear(object); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_add_attribute(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_attribute, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); const gchar* attribute = ((const gchar*)asCString(s_attribute)); gint column = ((gint)asCInteger(s_column)); object_class->add_attribute(object, cell, attribute, column); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_set_cell_data_func(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_func, USER_OBJECT_ s_func_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutDataFunc func = ((GtkCellLayoutDataFunc)S_GtkCellLayoutDataFunc); R_CallbackData* func_data = R_createCBData(s_func, s_func_data); GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); GDestroyNotify destroy = ((GDestroyNotify)R_freeCBData); object_class->set_cell_data_func(object, cell, func, func_data, destroy); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_clear_attributes(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); object_class->clear_attributes(object, cell); return(_result); } USER_OBJECT_ S_gtk_cell_layout_iface_reorder(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkCellLayoutIface* object_class = ((GtkCellLayoutIface*)getPtrValue(s_object_class)); GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); gint position = ((gint)asCInteger(s_position)); object_class->reorder(object, cell, position); return(_result); } static SEXP S_GtkEditable_symbol; static void S_virtual_gtk_editable_insert_text(GtkEditable* s_object, const gchar* s_text, gint s_length, gint* s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_length)); tmp = CDR(tmp); SETCAR(tmp, asRIntegerArrayWithSize(s_position, s_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_editable_delete_text(GtkEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_editable_changed(GtkEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_editable_do_insert_text(GtkEditable* s_object, const gchar* s_text, gint s_length, gint* s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_text)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_length)); tmp = CDR(tmp); SETCAR(tmp, asRIntegerArrayWithSize(s_position, s_length)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_editable_do_delete_text(GtkEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gchar* S_virtual_gtk_editable_get_chars(GtkEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gchar*)0)); return(((gchar*)g_strdup(asCString(s_ans)))); } static void S_virtual_gtk_editable_set_selection_bounds(GtkEditable* s_object, gint s_start_pos, gint s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_start_pos)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_end_pos)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_editable_get_selection_bounds(GtkEditable* s_object, gint* s_start_pos, gint* s_end_pos) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_start_pos = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_end_pos = ((gint)asCInteger(VECTOR_ELT(s_ans, 2))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static void S_virtual_gtk_editable_set_position(GtkEditable* s_object, gint s_position) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_position)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gint S_virtual_gtk_editable_get_position(GtkEditable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkEditable_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkEditable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } void S_gtk_editable_class_init(GtkEditableClass * c, SEXP e) { SEXP s; S_GtkEditable_symbol = install("GtkEditable"); s = findVar(S_GtkEditable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkEditableClass)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->insert_text = S_virtual_gtk_editable_insert_text; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->delete_text = S_virtual_gtk_editable_delete_text; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->changed = S_virtual_gtk_editable_changed; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->do_insert_text = S_virtual_gtk_editable_do_insert_text; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->do_delete_text = S_virtual_gtk_editable_do_delete_text; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_chars = S_virtual_gtk_editable_get_chars; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->set_selection_bounds = S_virtual_gtk_editable_set_selection_bounds; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_selection_bounds = S_virtual_gtk_editable_get_selection_bounds; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->set_position = S_virtual_gtk_editable_set_position; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_position = S_virtual_gtk_editable_get_position; } USER_OBJECT_ S_gtk_editable_iface_insert_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)GET_LENGTH(s_position)); gint* position = ((gint*)asCArray(s_position, gint, asCInteger)); object_class->insert_text(object, text, length, position); return(_result); } USER_OBJECT_ S_gtk_editable_iface_delete_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->delete_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_editable_iface_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); object_class->changed(object); return(_result); } USER_OBJECT_ S_gtk_editable_iface_do_insert_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); const gchar* text = ((const gchar*)asCString(s_text)); gint length = ((gint)GET_LENGTH(s_position)); gint* position = ((gint*)asCArray(s_position, gint, asCInteger)); object_class->do_insert_text(object, text, length, position); return(_result); } USER_OBJECT_ S_gtk_editable_iface_do_delete_text(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->do_delete_text(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_editable_iface_get_chars(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); gchar* ans; ans = object_class->get_chars(object, start_pos, end_pos); _result = asRString(ans); CLEANUP(g_free, ans);; return(_result); } USER_OBJECT_ S_gtk_editable_iface_set_selection_bounds(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_start_pos, USER_OBJECT_ s_end_pos) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint start_pos = ((gint)asCInteger(s_start_pos)); gint end_pos = ((gint)asCInteger(s_end_pos)); object_class->set_selection_bounds(object, start_pos, end_pos); return(_result); } USER_OBJECT_ S_gtk_editable_iface_get_selection_bounds(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gboolean ans; gint start_pos; gint end_pos; ans = object_class->get_selection_bounds(object, &start_pos, &end_pos); _result = asRLogical(ans); _result = retByVal(_result, "start.pos", asRInteger(start_pos), "end.pos", asRInteger(end_pos), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_editable_iface_set_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_position) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint position = ((gint)asCInteger(s_position)); object_class->set_position(object, position); return(_result); } USER_OBJECT_ S_gtk_editable_iface_get_position(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkEditableClass* object_class = ((GtkEditableClass*)getPtrValue(s_object_class)); GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); gint ans; ans = object_class->get_position(object); _result = asRInteger(ans); return(_result); } static SEXP S_GtkTreeDragDest_symbol; static gboolean S_virtual_gtk_tree_drag_dest_drag_data_received(GtkTreeDragDest* s_object, GtkTreePath* s_dest, GtkSelectionData* s_selection_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeDragDest_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeDragDest"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_dest ? gtk_tree_path_copy(s_dest) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_drag_dest_row_drop_possible(GtkTreeDragDest* s_object, GtkTreePath* s_dest_path, GtkSelectionData* s_selection_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeDragDest_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeDragDest"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_dest_path ? gtk_tree_path_copy(s_dest_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_tree_drag_dest_class_init(GtkTreeDragDestIface * c, SEXP e) { SEXP s; S_GtkTreeDragDest_symbol = install("GtkTreeDragDest"); s = findVar(S_GtkTreeDragDest_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeDragDestIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->drag_data_received = S_virtual_gtk_tree_drag_dest_drag_data_received; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->row_drop_possible = S_virtual_gtk_tree_drag_dest_row_drop_possible; } USER_OBJECT_ S_gtk_tree_drag_dest_iface_drag_data_received(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_selection_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragDestIface* object_class = ((GtkTreeDragDestIface*)getPtrValue(s_object_class)); GtkTreeDragDest* object = GTK_TREE_DRAG_DEST(getPtrValue(s_object)); GtkTreePath* dest = ((GtkTreePath*)getPtrValue(s_dest)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); gboolean ans; ans = object_class->drag_data_received(object, dest, selection_data); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_dest_iface_row_drop_possible(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_dest_path, USER_OBJECT_ s_selection_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragDestIface* object_class = ((GtkTreeDragDestIface*)getPtrValue(s_object_class)); GtkTreeDragDest* object = GTK_TREE_DRAG_DEST(getPtrValue(s_object)); GtkTreePath* dest_path = ((GtkTreePath*)getPtrValue(s_dest_path)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); gboolean ans; ans = object_class->row_drop_possible(object, dest_path, selection_data); _result = asRLogical(ans); return(_result); } static SEXP S_GtkTreeDragSource_symbol; static gboolean S_virtual_gtk_tree_drag_source_row_draggable(GtkTreeDragSource* s_object, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeDragSource_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeDragSource"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_drag_source_drag_data_get(GtkTreeDragSource* s_object, GtkTreePath* s_path, GtkSelectionData* s_selection_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeDragSource_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeDragSource"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_selection_data ? gtk_selection_data_copy(s_selection_data) : NULL, "GtkSelectionData", (RPointerFinalizer) gtk_selection_data_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_drag_source_drag_data_delete(GtkTreeDragSource* s_object, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeDragSource_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeDragSource"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_tree_drag_source_class_init(GtkTreeDragSourceIface * c, SEXP e) { SEXP s; S_GtkTreeDragSource_symbol = install("GtkTreeDragSource"); s = findVar(S_GtkTreeDragSource_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeDragSourceIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->row_draggable = S_virtual_gtk_tree_drag_source_row_draggable; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->drag_data_get = S_virtual_gtk_tree_drag_source_drag_data_get; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->drag_data_delete = S_virtual_gtk_tree_drag_source_drag_data_delete; } USER_OBJECT_ S_gtk_tree_drag_source_iface_row_draggable(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSourceIface* object_class = ((GtkTreeDragSourceIface*)getPtrValue(s_object_class)); GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = object_class->row_draggable(object, path); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_iface_drag_data_get(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_selection_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSourceIface* object_class = ((GtkTreeDragSourceIface*)getPtrValue(s_object_class)); GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkSelectionData* selection_data = ((GtkSelectionData*)getPtrValue(s_selection_data)); gboolean ans; ans = object_class->drag_data_get(object, path, selection_data); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_drag_source_iface_drag_data_delete(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeDragSourceIface* object_class = ((GtkTreeDragSourceIface*)getPtrValue(s_object_class)); GtkTreeDragSource* object = GTK_TREE_DRAG_SOURCE(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; ans = object_class->drag_data_delete(object, path); _result = asRLogical(ans); return(_result); } static SEXP S_GtkTreeModel_symbol; static void S_virtual_gtk_tree_model_row_changed(GtkTreeModel* s_object, GtkTreePath* s_path, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_model_row_inserted(GtkTreeModel* s_object, GtkTreePath* s_path, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_model_row_has_child_toggled(GtkTreeModel* s_object, GtkTreePath* s_path, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_model_row_deleted(GtkTreeModel* s_object, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_model_rows_reordered(GtkTreeModel* s_object, GtkTreePath* s_path, GtkTreeIter* s_iter, gint* s_new_order) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRIntegerArray(s_new_order)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static GtkTreeModelFlags S_virtual_gtk_tree_model_get_flags(GtkTreeModel* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkTreeModelFlags)0)); return(((GtkTreeModelFlags)asCFlag(s_ans, GTK_TYPE_TREE_MODEL_FLAGS))); } static gint S_virtual_gtk_tree_model_get_n_columns(GtkTreeModel* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static GType S_virtual_gtk_tree_model_get_column_type(GtkTreeModel* s_object, gint s_index_) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_index_)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GType)0)); return(((GType)asCGType(s_ans))); } static gboolean S_virtual_gtk_tree_model_get_iter(GtkTreeModel* s_object, GtkTreeIter* s_iter, GtkTreePath* s_path) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_path ? gtk_tree_path_copy(s_path) : NULL, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_iter = *((GtkTreeIter*)getPtrValue(VECTOR_ELT(s_ans, 1))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static GtkTreePath* S_virtual_gtk_tree_model_get_path(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkTreePath*)0)); return(((GtkTreePath*)gtk_tree_path_copy(getPtrValue(s_ans)))); } static void S_virtual_gtk_tree_model_get_value(GtkTreeModel* s_object, GtkTreeIter* s_iter, gint s_column, GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 10)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_column)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; { GValue* value = asCGValue(VECTOR_ELT(s_ans, 0)); *s_value = *value; g_free(value); } } static gboolean S_virtual_gtk_tree_model_iter_next(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 11)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gboolean S_virtual_gtk_tree_model_iter_children(GtkTreeModel* s_object, GtkTreeIter* s_iter, GtkTreeIter* s_parent) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 12)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_parent ? gtk_tree_iter_copy(s_parent) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_iter = *((GtkTreeIter*)getPtrValue(VECTOR_ELT(s_ans, 1))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static gboolean S_virtual_gtk_tree_model_iter_has_child(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 13)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } static gint S_virtual_gtk_tree_model_iter_n_children(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 14)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gint)0)); return(((gint)asCInteger(s_ans))); } static gboolean S_virtual_gtk_tree_model_iter_nth_child(GtkTreeModel* s_object, GtkTreeIter* s_iter, GtkTreeIter* s_parent, gint s_n) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 15)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_parent ? gtk_tree_iter_copy(s_parent) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_n)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_iter = *((GtkTreeIter*)getPtrValue(VECTOR_ELT(s_ans, 1))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static gboolean S_virtual_gtk_tree_model_iter_parent(GtkTreeModel* s_object, GtkTreeIter* s_iter, GtkTreeIter* s_child) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 16)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_child ? gtk_tree_iter_copy(s_child) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_iter = *((GtkTreeIter*)getPtrValue(VECTOR_ELT(s_ans, 1))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static void S_virtual_gtk_tree_model_ref_node(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 17)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_model_unref_node(GtkTreeModel* s_object, GtkTreeIter* s_iter) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeModel_symbol, S_GOBJECT_GET_ENV(s_object)), 18)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeModel"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(s_iter ? gtk_tree_iter_copy(s_iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } void S_gtk_tree_model_class_init(GtkTreeModelIface * c, SEXP e) { SEXP s; S_GtkTreeModel_symbol = install("GtkTreeModel"); s = findVar(S_GtkTreeModel_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeModelIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->row_changed = S_virtual_gtk_tree_model_row_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->row_inserted = S_virtual_gtk_tree_model_row_inserted; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->row_has_child_toggled = S_virtual_gtk_tree_model_row_has_child_toggled; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->row_deleted = S_virtual_gtk_tree_model_row_deleted; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->rows_reordered = S_virtual_gtk_tree_model_rows_reordered; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->get_flags = S_virtual_gtk_tree_model_get_flags; if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->get_n_columns = S_virtual_gtk_tree_model_get_n_columns; if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->get_column_type = S_virtual_gtk_tree_model_get_column_type; if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->get_iter = S_virtual_gtk_tree_model_get_iter; if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_path = S_virtual_gtk_tree_model_get_path; if(VECTOR_ELT(s, 10) != NULL_USER_OBJECT) c->get_value = S_virtual_gtk_tree_model_get_value; if(VECTOR_ELT(s, 11) != NULL_USER_OBJECT) c->iter_next = S_virtual_gtk_tree_model_iter_next; if(VECTOR_ELT(s, 12) != NULL_USER_OBJECT) c->iter_children = S_virtual_gtk_tree_model_iter_children; if(VECTOR_ELT(s, 13) != NULL_USER_OBJECT) c->iter_has_child = S_virtual_gtk_tree_model_iter_has_child; if(VECTOR_ELT(s, 14) != NULL_USER_OBJECT) c->iter_n_children = S_virtual_gtk_tree_model_iter_n_children; if(VECTOR_ELT(s, 15) != NULL_USER_OBJECT) c->iter_nth_child = S_virtual_gtk_tree_model_iter_nth_child; if(VECTOR_ELT(s, 16) != NULL_USER_OBJECT) c->iter_parent = S_virtual_gtk_tree_model_iter_parent; if(VECTOR_ELT(s, 17) != NULL_USER_OBJECT) c->ref_node = S_virtual_gtk_tree_model_ref_node; if(VECTOR_ELT(s, 18) != NULL_USER_OBJECT) c->unref_node = S_virtual_gtk_tree_model_unref_node; } USER_OBJECT_ S_gtk_tree_model_iface_row_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); object_class->row_changed(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_row_inserted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); object_class->row_inserted(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_row_has_child_toggled(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); object_class->row_has_child_toggled(object, path, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_row_deleted(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); object_class->row_deleted(object, path); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_rows_reordered(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path, USER_OBJECT_ s_iter, USER_OBJECT_ s_new_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint* new_order = ((gint*)asCArray(s_new_order, gint, asCInteger)); object_class->rows_reordered(object, path, iter, new_order); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_flags(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeModelFlags ans; ans = object_class->get_flags(object); _result = asRFlag(ans, GTK_TYPE_TREE_MODEL_FLAGS); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_n_columns(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gint ans; ans = object_class->get_n_columns(object); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_column_type(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_index_) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); gint index_ = ((gint)asCInteger(s_index_)); GType ans; ans = object_class->get_column_type(object, index_); _result = asRGType(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_iter(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreePath* path = ((GtkTreePath*)getPtrValue(s_path)); gboolean ans; GtkTreeIter iter; ans = object_class->get_iter(object, &iter, path); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_path(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); GtkTreePath* ans; ans = object_class->get_path(object, iter); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_get_value(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_column) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint column = ((gint)asCInteger(s_column)); GValue* value = ((GValue *)g_new0(GValue, 1)); object_class->get_value(object, iter, column, value); _result = retByVal(_result, "value", asRGValue(value), NULL); CLEANUP(g_value_unset, value); CLEANUP(g_free, value);; return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_next(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = object_class->iter_next(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_children(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_parent) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* parent = ((GtkTreeIter*)getPtrValue(s_parent)); gboolean ans; GtkTreeIter iter; ans = object_class->iter_children(object, &iter, parent); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_has_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gboolean ans; ans = object_class->iter_has_child(object, iter); _result = asRLogical(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_n_children(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); gint ans; ans = object_class->iter_n_children(object, iter); _result = asRInteger(ans); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_nth_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_n) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* parent = ((GtkTreeIter*)getPtrValue(s_parent)); gint n = ((gint)asCInteger(s_n)); gboolean ans; GtkTreeIter iter; ans = object_class->iter_nth_child(object, &iter, parent, n); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_iter_parent(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_child) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* child = ((GtkTreeIter*)getPtrValue(s_child)); gboolean ans; GtkTreeIter iter; ans = object_class->iter_parent(object, &iter, child); _result = asRLogical(ans); _result = retByVal(_result, "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_ref_node(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); object_class->ref_node(object, iter); return(_result); } USER_OBJECT_ S_gtk_tree_model_iface_unref_node(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_iter) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeModelIface* object_class = ((GtkTreeModelIface*)getPtrValue(s_object_class)); GtkTreeModel* object = GTK_TREE_MODEL(getPtrValue(s_object)); GtkTreeIter* iter = ((GtkTreeIter*)getPtrValue(s_iter)); object_class->unref_node(object, iter); return(_result); } static SEXP S_GtkTreeSortable_symbol; static void S_virtual_gtk_tree_sortable_sort_column_changed(GtkTreeSortable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_tree_sortable_get_sort_column_id(GtkTreeSortable* s_object, gint* s_sort_column_id, GtkSortType* s_order) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_sort_column_id = ((gint)asCInteger(VECTOR_ELT(s_ans, 1))); *s_order = ((GtkSortType)asCEnum(VECTOR_ELT(s_ans, 2), GTK_TYPE_SORT_TYPE)); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } static void S_virtual_gtk_tree_sortable_set_sort_column_id(GtkTreeSortable* s_object, gint s_sort_column_id, GtkSortType s_order) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_sort_column_id)); tmp = CDR(tmp); SETCAR(tmp, asREnum(s_order, GTK_TYPE_SORT_TYPE)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_sortable_set_sort_func(GtkTreeSortable* s_object, gint s_sort_column_id, GtkTreeIterCompareFunc s_func, gpointer s_data, GtkDestroyNotify s_destroy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); SETCAR(tmp, asRInteger(s_sort_column_id)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_func, "GtkTreeIterCompareFunc")); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_destroy, "GtkDestroyNotify")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static void S_virtual_gtk_tree_sortable_set_default_sort_func(GtkTreeSortable* s_object, GtkTreeIterCompareFunc s_func, gpointer s_data, GtkDestroyNotify s_destroy) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_func, "GtkTreeIterCompareFunc")); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_destroy, "GtkDestroyNotify")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } static gboolean S_virtual_gtk_tree_sortable_has_default_sort_func(GtkTreeSortable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkTreeSortable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkTreeSortable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); return(((gboolean)asCLogical(s_ans))); } void S_gtk_tree_sortable_class_init(GtkTreeSortableIface * c, SEXP e) { SEXP s; S_GtkTreeSortable_symbol = install("GtkTreeSortable"); s = findVar(S_GtkTreeSortable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkTreeSortableIface)) = e; if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->sort_column_changed = S_virtual_gtk_tree_sortable_sort_column_changed; if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_sort_column_id = S_virtual_gtk_tree_sortable_get_sort_column_id; if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->set_sort_column_id = S_virtual_gtk_tree_sortable_set_sort_column_id; if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->set_sort_func = S_virtual_gtk_tree_sortable_set_sort_func; if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->set_default_sort_func = S_virtual_gtk_tree_sortable_set_default_sort_func; if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->has_default_sort_func = S_virtual_gtk_tree_sortable_has_default_sort_func; } USER_OBJECT_ S_gtk_tree_sortable_iface_sort_column_changed(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); object_class->sort_column_changed(object); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_iface_get_sort_column_id(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gboolean ans; gint sort_column_id; GtkSortType order; ans = object_class->get_sort_column_id(object, &sort_column_id, &order); _result = asRLogical(ans); _result = retByVal(_result, "sort.column.id", asRInteger(sort_column_id), "order", asREnum(order, GTK_TYPE_SORT_TYPE), NULL); ; ; return(_result); } USER_OBJECT_ S_gtk_tree_sortable_iface_set_sort_column_id(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gint sort_column_id = ((gint)asCInteger(s_sort_column_id)); GtkSortType order = ((GtkSortType)asCEnum(s_order, GTK_TYPE_SORT_TYPE)); object_class->set_sort_column_id(object, sort_column_id, order); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_iface_set_sort_func(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_sort_column_id, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIterCompareFunc func = ((GtkTreeIterCompareFunc)S_GtkTreeIterCompareFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gint sort_column_id = ((gint)asCInteger(s_sort_column_id)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); object_class->set_sort_func(object, sort_column_id, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_iface_set_default_sort_func(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIterCompareFunc func = ((GtkTreeIterCompareFunc)S_GtkTreeIterCompareFunc); R_CallbackData* data = R_createCBData(s_func, s_data); GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); GtkDestroyNotify destroy = ((GtkDestroyNotify)R_freeCBData); object_class->set_default_sort_func(object, func, data, destroy); return(_result); } USER_OBJECT_ S_gtk_tree_sortable_iface_has_default_sort_func(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeSortableIface* object_class = ((GtkTreeSortableIface*)getPtrValue(s_object_class)); GtkTreeSortable* object = GTK_TREE_SORTABLE(getPtrValue(s_object)); gboolean ans; ans = object_class->has_default_sort_func(object); _result = asRLogical(ans); return(_result); } #if GTK_CHECK_VERSION(2, 12, 0) static SEXP S_GtkBuildable_symbol; #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_set_name(GtkBuildable* s_object, const gchar* s_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, asRString(s_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) static const gchar* S_virtual_gtk_buildable_get_name(GtkBuildable* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((const gchar*)0)); return(((const gchar*)asCString(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_add_child(GtkBuildable* s_object, GtkBuilder* s_builder, GObject* s_child, const gchar* s_type) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_child, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_type)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_set_buildable_property(GtkBuildable* s_object, GtkBuilder* s_builder, const gchar* s_name, const GValue* s_value) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_name)); tmp = CDR(tmp); SETCAR(tmp, asRGValue(s_value)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) static GObject* S_virtual_gtk_buildable_construct_child(GtkBuildable* s_object, GtkBuilder* s_builder, const gchar* s_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GObject*)0)); return(G_OBJECT(getPtrValue(s_ans))); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static gboolean S_virtual_gtk_buildable_custom_tag_start(GtkBuildable* s_object, GtkBuilder* s_builder, GObject* s_child, const gchar* s_tagname, GMarkupParser* s_parser, gpointer* s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 5)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_child, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tagname)); tmp = CDR(tmp); SETCAR(tmp, toRPointer(s_parser, "GMarkupParser")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((gboolean)0)); *s_data = ((gpointer)asCGenericData(VECTOR_ELT(s_ans, 1))); return(((gboolean)asCLogical(VECTOR_ELT(s_ans, 0)))); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_custom_tag_end(GtkBuildable* s_object, GtkBuilder* s_builder, GObject* s_child, const gchar* s_tagname, gpointer* s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 5)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 6)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_child, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tagname)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; *s_data = ((gpointer)asCGenericData(VECTOR_ELT(s_ans, 0))); } #endif #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_custom_finished(GtkBuildable* s_object, GtkBuilder* s_builder, GObject* s_child, const gchar* s_tagname, gpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 7)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_child, "GObject")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_tagname)); tmp = CDR(tmp); SETCAR(tmp, s_data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) static void S_virtual_gtk_buildable_parser_finished(GtkBuildable* s_object, GtkBuilder* s_builder) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 8)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 12, 0) static GObject* S_virtual_gtk_buildable_get_internal_child(GtkBuildable* s_object, GtkBuilder* s_builder, const gchar* s_childname) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkBuildable_symbol, S_GOBJECT_GET_ENV(s_object)), 9)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkBuildable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_builder, "GtkBuilder")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_childname)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GObject*)0)); return(G_OBJECT(getPtrValue(s_ans))); } #endif void S_gtk_buildable_class_init(GtkBuildableIface * c, SEXP e) { SEXP s; S_GtkBuildable_symbol = install("GtkBuildable"); s = findVar(S_GtkBuildable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkBuildableIface)) = e; #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->set_name = S_virtual_gtk_buildable_set_name; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_name = S_virtual_gtk_buildable_get_name; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->add_child = S_virtual_gtk_buildable_add_child; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->set_buildable_property = S_virtual_gtk_buildable_set_buildable_property; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->construct_child = S_virtual_gtk_buildable_construct_child; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 5) != NULL_USER_OBJECT) c->custom_tag_start = S_virtual_gtk_buildable_custom_tag_start; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 6) != NULL_USER_OBJECT) c->custom_tag_end = S_virtual_gtk_buildable_custom_tag_end; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 7) != NULL_USER_OBJECT) c->custom_finished = S_virtual_gtk_buildable_custom_finished; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 8) != NULL_USER_OBJECT) c->parser_finished = S_virtual_gtk_buildable_parser_finished; #endif #if GTK_CHECK_VERSION(2, 12, 0) if(VECTOR_ELT(s, 9) != NULL_USER_OBJECT) c->get_internal_child = S_virtual_gtk_buildable_get_internal_child; #endif } #endif USER_OBJECT_ S_gtk_buildable_iface_set_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); const gchar* name = ((const gchar*)asCString(s_name)); object_class->set_name(object, name); #else error("gtk_buildable_set_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_get_name(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); const gchar* ans; ans = object_class->get_name(object); _result = asRString(ans); #else error("gtk_buildable_get_name exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_add_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* type = ((const gchar*)asCString(s_type)); object_class->add_child(object, builder, child, type); #else error("gtk_buildable_add_child exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_set_buildable_property(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name, USER_OBJECT_ s_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* name = ((const gchar*)asCString(s_name)); const GValue* value = asCGValue(s_value); object_class->set_buildable_property(object, builder, name, value); CLEANUP(g_value_unset, ((GValue*)value)); CLEANUP(g_free, ((GValue*)value));; #else error("gtk_buildable_set_buildable_property exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_construct_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* name = ((const gchar*)asCString(s_name)); GObject* ans; ans = object_class->construct_child(object, builder, name); _result = toRPointerWithRef(ans, "GObject"); #else error("gtk_buildable_construct_child exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_custom_tag_start(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_parser) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); GMarkupParser* parser = ((GMarkupParser*)getPtrValue(s_parser)); gboolean ans; gpointer data; ans = object_class->custom_tag_start(object, builder, child, tagname, parser, &data); _result = asRLogical(ans); _result = retByVal(_result, "data", data, NULL); ; #else error("gtk_buildable_custom_tag_start exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_custom_tag_end(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); gpointer data; object_class->custom_tag_end(object, builder, child, tagname, &data); _result = retByVal(_result, "data", data, NULL); ; #else error("gtk_buildable_custom_tag_end exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_custom_finished(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_child, USER_OBJECT_ s_tagname, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); GObject* child = G_OBJECT(getPtrValue(s_child)); const gchar* tagname = ((const gchar*)asCString(s_tagname)); gpointer data = ((gpointer)asCGenericData(s_data)); object_class->custom_finished(object, builder, child, tagname, data); #else error("gtk_buildable_custom_finished exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_parser_finished(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); object_class->parser_finished(object, builder); #else error("gtk_buildable_parser_finished exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_buildable_iface_get_internal_child(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_builder, USER_OBJECT_ s_childname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkBuildableIface* object_class = ((GtkBuildableIface*)getPtrValue(s_object_class)); GtkBuildable* object = GTK_BUILDABLE(getPtrValue(s_object)); GtkBuilder* builder = GTK_BUILDER(getPtrValue(s_builder)); const gchar* childname = ((const gchar*)asCString(s_childname)); GObject* ans; ans = object_class->get_internal_child(object, builder, childname); _result = toRPointerWithRef(ans, "GObject"); #else error("gtk_buildable_get_internal_child exists only in Gtk >= 2.12.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 14, 0) static SEXP S_GtkToolShell_symbol; #if GTK_CHECK_VERSION(2, 14, 0) static GtkIconSize S_virtual_gtk_tool_shell_get_icon_size(GtkToolShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolShell_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToolShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkIconSize)0)); return(((GtkIconSize)asCEnum(s_ans, GTK_TYPE_ICON_SIZE))); } #endif #if GTK_CHECK_VERSION(2, 14, 0) static GtkOrientation S_virtual_gtk_tool_shell_get_orientation(GtkToolShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolShell_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToolShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkOrientation)0)); return(((GtkOrientation)asCEnum(s_ans, GTK_TYPE_ORIENTATION))); } #endif #if GTK_CHECK_VERSION(2, 14, 0) static GtkToolbarStyle S_virtual_gtk_tool_shell_get_style(GtkToolShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolShell_symbol, S_GOBJECT_GET_ENV(s_object)), 2)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToolShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkToolbarStyle)0)); return(((GtkToolbarStyle)asCEnum(s_ans, GTK_TYPE_TOOLBAR_STYLE))); } #endif #if GTK_CHECK_VERSION(2, 14, 0) static GtkReliefStyle S_virtual_gtk_tool_shell_get_relief_style(GtkToolShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolShell_symbol, S_GOBJECT_GET_ENV(s_object)), 3)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToolShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((GtkReliefStyle)0)); return(((GtkReliefStyle)asCEnum(s_ans, GTK_TYPE_RELIEF_STYLE))); } #endif #if GTK_CHECK_VERSION(2, 14, 0) static void S_virtual_gtk_tool_shell_rebuild_menu(GtkToolShell* s_object) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 2)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkToolShell_symbol, S_GOBJECT_GET_ENV(s_object)), 4)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkToolShell"))); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_tool_shell_class_init(GtkToolShellIface * c, SEXP e) { SEXP s; S_GtkToolShell_symbol = install("GtkToolShell"); s = findVar(S_GtkToolShell_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkToolShellIface)) = e; #if GTK_CHECK_VERSION(2, 14, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->get_icon_size = S_virtual_gtk_tool_shell_get_icon_size; #endif #if GTK_CHECK_VERSION(2, 14, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->get_orientation = S_virtual_gtk_tool_shell_get_orientation; #endif #if GTK_CHECK_VERSION(2, 14, 0) if(VECTOR_ELT(s, 2) != NULL_USER_OBJECT) c->get_style = S_virtual_gtk_tool_shell_get_style; #endif #if GTK_CHECK_VERSION(2, 14, 0) if(VECTOR_ELT(s, 3) != NULL_USER_OBJECT) c->get_relief_style = S_virtual_gtk_tool_shell_get_relief_style; #endif #if GTK_CHECK_VERSION(2, 14, 0) if(VECTOR_ELT(s, 4) != NULL_USER_OBJECT) c->rebuild_menu = S_virtual_gtk_tool_shell_rebuild_menu; #endif } #endif USER_OBJECT_ S_gtk_tool_shell_iface_get_icon_size(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShellIface* object_class = ((GtkToolShellIface*)getPtrValue(s_object_class)); GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkIconSize ans; ans = object_class->get_icon_size(object); _result = asREnum(ans, GTK_TYPE_ICON_SIZE); #else error("gtk_tool_shell_get_icon_size exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_iface_get_orientation(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShellIface* object_class = ((GtkToolShellIface*)getPtrValue(s_object_class)); GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkOrientation ans; ans = object_class->get_orientation(object); _result = asREnum(ans, GTK_TYPE_ORIENTATION); #else error("gtk_tool_shell_get_orientation exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_iface_get_style(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShellIface* object_class = ((GtkToolShellIface*)getPtrValue(s_object_class)); GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkToolbarStyle ans; ans = object_class->get_style(object); _result = asREnum(ans, GTK_TYPE_TOOLBAR_STYLE); #else error("gtk_tool_shell_get_style exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_iface_get_relief_style(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShellIface* object_class = ((GtkToolShellIface*)getPtrValue(s_object_class)); GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); GtkReliefStyle ans; ans = object_class->get_relief_style(object); _result = asREnum(ans, GTK_TYPE_RELIEF_STYLE); #else error("gtk_tool_shell_get_relief_style exists only in Gtk >= 2.14.0"); #endif return(_result); } USER_OBJECT_ S_gtk_tool_shell_iface_rebuild_menu(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 14, 0) GtkToolShellIface* object_class = ((GtkToolShellIface*)getPtrValue(s_object_class)); GtkToolShell* object = GTK_TOOL_SHELL(getPtrValue(s_object)); object_class->rebuild_menu(object); #else error("gtk_tool_shell_rebuild_menu exists only in Gtk >= 2.14.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 16, 0) static SEXP S_GtkActivatable_symbol; #if GTK_CHECK_VERSION(2, 16, 0) static void S_virtual_gtk_activatable_update(GtkActivatable* s_object, GtkAction* s_action, const gchar* s_property_name) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 4)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkActivatable_symbol, S_GOBJECT_GET_ENV(s_object)), 0)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkActivatable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); SETCAR(tmp, asRString(s_property_name)); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif #if GTK_CHECK_VERSION(2, 16, 0) static void S_virtual_gtk_activatable_sync_action_properties(GtkActivatable* s_object, GtkAction* s_action) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, VECTOR_ELT(findVar(S_GtkActivatable_symbol, S_GOBJECT_GET_ENV(s_object)), 1)); tmp = CDR(tmp); SETCAR(tmp, S_G_OBJECT_ADD_ENV(s_object, toRPointerWithRef(s_object, "GtkActivatable"))); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_action, "GtkAction")); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return; } #endif void S_gtk_activatable_class_init(GtkActivatableIface * c, SEXP e) { SEXP s; S_GtkActivatable_symbol = install("GtkActivatable"); s = findVar(S_GtkActivatable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkActivatableIface)) = e; #if GTK_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 0) != NULL_USER_OBJECT) c->update = S_virtual_gtk_activatable_update; #endif #if GTK_CHECK_VERSION(2, 16, 0) if(VECTOR_ELT(s, 1) != NULL_USER_OBJECT) c->sync_action_properties = S_virtual_gtk_activatable_sync_action_properties; #endif } #endif USER_OBJECT_ S_gtk_activatable_iface_update(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action, USER_OBJECT_ s_property_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatableIface* object_class = ((GtkActivatableIface*)getPtrValue(s_object_class)); GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); const gchar* property_name = ((const gchar*)asCString(s_property_name)); object_class->update(object, action, property_name); #else error("gtk_activatable_update exists only in Gtk >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_gtk_activatable_iface_sync_action_properties(USER_OBJECT_ s_object_class, USER_OBJECT_ s_object, USER_OBJECT_ s_action) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 16, 0) GtkActivatableIface* object_class = ((GtkActivatableIface*)getPtrValue(s_object_class)); GtkActivatable* object = GTK_ACTIVATABLE(getPtrValue(s_object)); GtkAction* action = GTK_ACTION(getPtrValue(s_action)); object_class->sync_action_properties(object, action); #else error("gtk_activatable_sync_action_properties exists only in Gtk >= 2.16.0"); #endif return(_result); } #if GTK_CHECK_VERSION(2, 16, 0) static SEXP S_GtkOrientable_symbol; void S_gtk_orientable_class_init(GtkOrientableIface * c, SEXP e) { SEXP s; S_GtkOrientable_symbol = install("GtkOrientable"); s = findVar(S_GtkOrientable_symbol, e); G_STRUCT_MEMBER(SEXP, c, sizeof(GtkOrientableIface)) = e; } #endif RGtk2/src/gioFuncs.c0000644000176000001440000142356612362467242013774 0ustar ripleyusers#include #include #include "gioFuncs.h" USER_OBJECT_ S_g_app_info_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_app_info_get_type(); _result = asRGType(ans); #else error("g_app_info_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_launch_default_for_uri(USER_OBJECT_ s_uri, USER_OBJECT_ s_launch_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* uri = ((const char*)asCString(s_uri)); GAppLaunchContext* launch_context = G_APP_LAUNCH_CONTEXT(getPtrValue(s_launch_context)); gboolean ans; GError* error = NULL; ans = g_app_info_launch_default_for_uri(uri, launch_context, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_launch_default_for_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_launch_context_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_app_launch_context_get_type(); _result = asRGType(ans); #else error("g_app_launch_context_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_create_from_commandline(USER_OBJECT_ s_commandline, USER_OBJECT_ s_application_name, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* commandline = ((const char*)asCString(s_commandline)); const char* application_name = GET_LENGTH(s_application_name) == 0 ? NULL : ((const char*)asCString(s_application_name)); GAppInfoCreateFlags flags = ((GAppInfoCreateFlags)asCFlag(s_flags, G_TYPE_APP_INFO_CREATE_FLAGS)); GAppInfo* ans; GError* error = NULL; ans = g_app_info_create_from_commandline(commandline, application_name, flags, &error); _result = toRPointerWithFinalizer(ans, "GAppInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_create_from_commandline exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_dup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GAppInfo* ans; ans = g_app_info_dup(object); _result = toRPointerWithFinalizer(ans, "GAppInfo", (RPointerFinalizer) g_object_unref); #else error("g_app_info_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_appinfo2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GAppInfo* appinfo2 = G_APP_INFO(getPtrValue(s_appinfo2)); gboolean ans; ans = g_app_info_equal(object, appinfo2); _result = asRLogical(ans); #else error("g_app_info_equal exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_id(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = g_app_info_get_id(object); _result = asRString(ans); #else error("g_app_info_get_id exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = g_app_info_get_name(object); _result = asRString(ans); #else error("g_app_info_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_description(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = g_app_info_get_description(object); _result = asRString(ans); #else error("g_app_info_get_description exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_executable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = g_app_info_get_executable(object); _result = asRString(ans); #else error("g_app_info_get_executable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GIcon* ans; ans = g_app_info_get_icon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("g_app_info_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_launch(USER_OBJECT_ s_object, USER_OBJECT_ s_files, USER_OBJECT_ s_launch_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GList* files = asCGList(s_files); GAppLaunchContext* launch_context = G_APP_LAUNCH_CONTEXT(getPtrValue(s_launch_context)); gboolean ans; GError* error = NULL; ans = g_app_info_launch(object, files, launch_context, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ((GList*)files));; CLEANUP(g_error_free, error);; #else error("g_app_info_launch exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_supports_uris(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_supports_uris(object); _result = asRLogical(ans); #else error("g_app_info_supports_uris exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_supports_files(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_supports_files(object); _result = asRLogical(ans); #else error("g_app_info_supports_files exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_launch_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_uris, USER_OBJECT_ s_launch_context) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); GList* uris = asCGList(s_uris); GAppLaunchContext* launch_context = G_APP_LAUNCH_CONTEXT(getPtrValue(s_launch_context)); gboolean ans; GError* error = NULL; ans = g_app_info_launch_uris(object, uris, launch_context, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ((GList*)uris));; CLEANUP(g_error_free, error);; #else error("g_app_info_launch_uris exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_should_show(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_should_show(object); _result = asRLogical(ans); #else error("g_app_info_should_show exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_set_as_default_for_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = g_app_info_set_as_default_for_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_set_as_default_for_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_set_as_default_for_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_extension) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* extension = ((const char*)asCString(s_extension)); gboolean ans; GError* error = NULL; ans = g_app_info_set_as_default_for_extension(object, extension, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_set_as_default_for_extension exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_add_supports_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = g_app_info_add_supports_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_add_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_can_remove_supports_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_can_remove_supports_type(object); _result = asRLogical(ans); #else error("g_app_info_can_remove_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_remove_supports_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); gboolean ans; GError* error = NULL; ans = g_app_info_remove_supports_type(object, content_type, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_app_info_remove_supports_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_all(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GList* ans; ans = g_app_info_get_all(); _result = asRGListWithRef(ans, "GAppInfo"); CLEANUP(g_list_free, ans);; #else error("g_app_info_get_all exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_all_for_type(USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* content_type = ((const char*)asCString(s_content_type)); GList* ans; ans = g_app_info_get_all_for_type(content_type); _result = asRGListWithRef(ans, "GAppInfo"); CLEANUP(g_list_free, ans);; #else error("g_app_info_get_all_for_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_default_for_type(USER_OBJECT_ s_content_type, USER_OBJECT_ s_must_support_uris) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* content_type = ((const char*)asCString(s_content_type)); gboolean must_support_uris = ((gboolean)asCLogical(s_must_support_uris)); GAppInfo* ans; ans = g_app_info_get_default_for_type(content_type, must_support_uris); _result = toRPointerWithRef(ans, "GAppInfo"); #else error("g_app_info_get_default_for_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_default_for_uri_scheme(USER_OBJECT_ s_uri_scheme) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* uri_scheme = ((const char*)asCString(s_uri_scheme)); GAppInfo* ans; ans = g_app_info_get_default_for_uri_scheme(uri_scheme); _result = toRPointerWithRef(ans, "GAppInfo"); #else error("g_app_info_get_default_for_uri_scheme exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_launch_context_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContext* ans; ans = g_app_launch_context_new(); _result = toRPointerWithFinalizer(ans, "GAppLaunchContext", (RPointerFinalizer) g_object_unref); #else error("g_app_launch_context_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_launch_context_get_display(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GAppInfo* info = G_APP_INFO(getPtrValue(s_info)); GList* files = asCGList(s_files); char* ans; ans = g_app_launch_context_get_display(object, info, files); _result = asRString(ans); CLEANUP(g_free, ans);; CLEANUP(g_list_free, ((GList*)files));; #else error("g_app_launch_context_get_display exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_launch_context_get_startup_notify_id(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); GAppInfo* info = G_APP_INFO(getPtrValue(s_info)); GList* files = asCGList(s_files); char* ans; ans = g_app_launch_context_get_startup_notify_id(object, info, files); _result = asRString(ans); CLEANUP(g_free, ans);; CLEANUP(g_list_free, ((GList*)files));; #else error("g_app_launch_context_get_startup_notify_id exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_launch_context_launch_failed(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_notify_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAppLaunchContext* object = G_APP_LAUNCH_CONTEXT(getPtrValue(s_object)); const char* startup_notify_id = ((const char*)asCString(s_startup_notify_id)); g_app_launch_context_launch_failed(object, startup_notify_id); #else error("g_app_launch_context_launch_failed exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_async_result_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_async_result_get_type(); _result = asRGType(ans); #else error("g_async_result_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_async_result_get_user_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncResult* object = G_ASYNC_RESULT(getPtrValue(s_object)); gpointer ans; ans = g_async_result_get_user_data(object); _result = ans; #else error("g_async_result_get_user_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_async_result_get_source_object(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncResult* object = G_ASYNC_RESULT(getPtrValue(s_object)); GObject* ans; ans = g_async_result_get_source_object(object); _result = toRPointerWithRef(ans, "GObject"); #else error("g_async_result_get_source_object exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_buffered_input_stream_get_type(); _result = asRGType(ans); #else error("g_buffered_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_new(USER_OBJECT_ s_base_stream) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char * prop_names[] = { "base_stream", NULL }; USER_OBJECT_ args[] = { s_base_stream }; GInputStream* ans; ans = propertyConstructor(G_TYPE_BUFFERED_INPUT_STREAM, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GInputStream", (RPointerFinalizer) g_object_unref); #else error("g_buffered_input_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_new_sized(USER_OBJECT_ s_base_stream, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* base_stream = G_INPUT_STREAM(getPtrValue(s_base_stream)); gsize size = ((gsize)asCNumeric(s_size)); GInputStream* ans; ans = g_buffered_input_stream_new_sized(base_stream, size); _result = toRPointerWithFinalizer(ans, "GInputStream", (RPointerFinalizer) g_object_unref); #else error("g_buffered_input_stream_new_sized exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_get_buffer_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gsize ans; ans = g_buffered_input_stream_get_buffer_size(object); _result = asRNumeric(ans); #else error("g_buffered_input_stream_get_buffer_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_set_buffer_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gsize size = ((gsize)asCNumeric(s_size)); g_buffered_input_stream_set_buffer_size(object, size); #else error("g_buffered_input_stream_set_buffer_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_get_available(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gsize ans; ans = g_buffered_input_stream_get_available(object); _result = asRNumeric(ans); #else error("g_buffered_input_stream_get_available exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_peek(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_count) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); guchar* buffer = ((guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize offset = ((gsize)GET_LENGTH(s_buffer)); gsize count = ((gsize)asCNumeric(s_count)); gsize ans; ans = g_buffered_input_stream_peek(object, buffer, offset, count); _result = asRNumeric(ans); #else error("g_buffered_input_stream_peek exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_peek_buffer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); const guchar* ans; gsize count; ans = g_buffered_input_stream_peek_buffer(object, &count); _result = asRRawArrayWithSize(ans, count); _result = retByVal(_result, "count", asRNumeric(count), NULL); ; #else error("g_buffered_input_stream_peek_buffer exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gssize count = ((gssize)asCInteger(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_buffered_input_stream_fill(object, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_buffered_input_stream_fill exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_fill_async(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); gssize count = ((gssize)asCInteger(s_count)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_buffered_input_stream_fill_async(object, count, io_priority, cancellable, callback, user_data); #else error("g_buffered_input_stream_fill_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_fill_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = g_buffered_input_stream_fill_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_buffered_input_stream_fill_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_input_stream_read_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedInputStream* object = G_BUFFERED_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); int ans; GError* error = NULL; ans = g_buffered_input_stream_read_byte(object, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_buffered_input_stream_read_byte exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_buffered_output_stream_get_type(); _result = asRGType(ans); #else error("g_buffered_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_new(USER_OBJECT_ s_base_stream) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char * prop_names[] = { "base_stream", NULL }; USER_OBJECT_ args[] = { s_base_stream }; GOutputStream* ans; ans = propertyConstructor(G_TYPE_BUFFERED_OUTPUT_STREAM, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GOutputStream", (RPointerFinalizer) g_object_unref); #else error("g_buffered_output_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_new_sized(USER_OBJECT_ s_base_stream, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* base_stream = G_OUTPUT_STREAM(getPtrValue(s_base_stream)); guint size = ((guint)asCNumeric(s_size)); GOutputStream* ans; ans = g_buffered_output_stream_new_sized(base_stream, size); _result = toRPointerWithFinalizer(ans, "GOutputStream", (RPointerFinalizer) g_object_unref); #else error("g_buffered_output_stream_new_sized exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_get_buffer_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedOutputStream* object = G_BUFFERED_OUTPUT_STREAM(getPtrValue(s_object)); gsize ans; ans = g_buffered_output_stream_get_buffer_size(object); _result = asRNumeric(ans); #else error("g_buffered_output_stream_get_buffer_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_set_buffer_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedOutputStream* object = G_BUFFERED_OUTPUT_STREAM(getPtrValue(s_object)); gsize size = ((gsize)asCNumeric(s_size)); g_buffered_output_stream_set_buffer_size(object, size); #else error("g_buffered_output_stream_set_buffer_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_get_auto_grow(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedOutputStream* object = G_BUFFERED_OUTPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_buffered_output_stream_get_auto_grow(object); _result = asRLogical(ans); #else error("g_buffered_output_stream_get_auto_grow exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_buffered_output_stream_set_auto_grow(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_grow) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GBufferedOutputStream* object = G_BUFFERED_OUTPUT_STREAM(getPtrValue(s_object)); gboolean auto_grow = ((gboolean)asCLogical(s_auto_grow)); g_buffered_output_stream_set_auto_grow(object, auto_grow); #else error("g_buffered_output_stream_set_auto_grow exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_cancellable_get_type(); _result = asRGType(ans); #else error("g_cancellable_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* ans; ans = g_cancellable_new(); _result = toRPointerWithFinalizer(ans, "GCancellable", (RPointerFinalizer) g_object_unref); #else error("g_cancellable_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_is_cancelled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); gboolean ans; ans = g_cancellable_is_cancelled(object); _result = asRLogical(ans); #else error("g_cancellable_is_cancelled exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_set_error_if_cancelled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_cancellable_set_error_if_cancelled(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_cancellable_set_error_if_cancelled exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_get_fd(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); int ans; ans = g_cancellable_get_fd(object); _result = asRInteger(ans); #else error("g_cancellable_get_fd exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_get_current(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* ans; ans = g_cancellable_get_current(); _result = toRPointerWithRef(ans, "GCancellable"); #else error("g_cancellable_get_current exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_push_current(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); g_cancellable_push_current(object); #else error("g_cancellable_push_current exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_pop_current(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); g_cancellable_pop_current(object); #else error("g_cancellable_pop_current exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_reset(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); g_cancellable_reset(object); #else error("g_cancellable_reset exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_cancel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); g_cancellable_cancel(object); #else error("g_cancellable_cancel exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_equals(USER_OBJECT_ s_type1, USER_OBJECT_ s_type2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type1 = ((const char*)asCString(s_type1)); const char* type2 = ((const char*)asCString(s_type2)); gboolean ans; ans = g_content_type_equals(type1, type2); _result = asRLogical(ans); #else error("g_content_type_equals exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_is_a(USER_OBJECT_ s_type, USER_OBJECT_ s_supertype) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); const char* supertype = ((const char*)asCString(s_supertype)); gboolean ans; ans = g_content_type_is_a(type, supertype); _result = asRLogical(ans); #else error("g_content_type_is_a exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_is_unknown(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); gboolean ans; ans = g_content_type_is_unknown(type); _result = asRLogical(ans); #else error("g_content_type_is_unknown exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_get_description(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); char* ans; ans = g_content_type_get_description(type); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_content_type_get_description exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_get_mime_type(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); char* ans; ans = g_content_type_get_mime_type(type); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_content_type_get_mime_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_get_icon(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); GIcon* ans; ans = g_content_type_get_icon(type); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_content_type_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_can_be_executable(USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* type = ((const char*)asCString(s_type)); gboolean ans; ans = g_content_type_can_be_executable(type); _result = asRLogical(ans); #else error("g_content_type_can_be_executable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_guess(USER_OBJECT_ s_filename, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* filename = ((const char*)asCString(s_filename)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gsize data_size = ((gsize)GET_LENGTH(s_data)); char* ans; gboolean result_uncertain; ans = g_content_type_guess(filename, data, data_size, &result_uncertain); _result = asRString(ans); _result = retByVal(_result, "result.uncertain", asRLogical(result_uncertain), NULL); CLEANUP(g_free, ans);; ; #else error("g_content_type_guess exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_types_get_registered(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GList* ans; ans = g_content_types_get_registered(); _result = asRGListConv(ans, ((ElementConverter)asRString)); CLEANUP(GListFreeStrings, ans); CLEANUP(g_list_free, ans);; #else error("g_content_types_get_registered exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_data_input_stream_get_type(); _result = asRGType(ans); #else error("g_data_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_new(USER_OBJECT_ s_base_stream) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char * prop_names[] = { "base_stream", NULL }; USER_OBJECT_ args[] = { s_base_stream }; GDataInputStream* ans; ans = propertyConstructor(G_TYPE_DATA_INPUT_STREAM, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GDataInputStream", (RPointerFinalizer) g_object_unref); #else error("g_data_input_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_set_byte_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GDataStreamByteOrder order = ((GDataStreamByteOrder)asCEnum(s_order, G_TYPE_DATA_STREAM_BYTE_ORDER)); g_data_input_stream_set_byte_order(object, order); #else error("g_data_input_stream_set_byte_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_get_byte_order(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GDataStreamByteOrder ans; ans = g_data_input_stream_get_byte_order(object); _result = asREnum(ans, G_TYPE_DATA_STREAM_BYTE_ORDER); #else error("g_data_input_stream_get_byte_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_set_newline_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GDataStreamNewlineType type = ((GDataStreamNewlineType)asCEnum(s_type, G_TYPE_DATA_STREAM_NEWLINE_TYPE)); g_data_input_stream_set_newline_type(object, type); #else error("g_data_input_stream_set_newline_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_get_newline_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GDataStreamNewlineType ans; ans = g_data_input_stream_get_newline_type(object); _result = asREnum(ans, G_TYPE_DATA_STREAM_NEWLINE_TYPE); #else error("g_data_input_stream_get_newline_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); guchar ans; GError* error = NULL; ans = g_data_input_stream_read_byte(object, cancellable, &error); _result = asRRaw(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_byte exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_int16(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gint16 ans; GError* error = NULL; ans = g_data_input_stream_read_int16(object, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_int16 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_uint16(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); guint16 ans; GError* error = NULL; ans = g_data_input_stream_read_uint16(object, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_uint16 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gint32 ans; GError* error = NULL; ans = g_data_input_stream_read_int32(object, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_int32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); guint32 ans; GError* error = NULL; ans = g_data_input_stream_read_uint32(object, cancellable, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_uint32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gint64 ans; GError* error = NULL; ans = g_data_input_stream_read_int64(object, cancellable, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_int64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); guint64 ans; GError* error = NULL; ans = g_data_input_stream_read_uint64(object, cancellable, &error); _result = asRNumeric(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_uint64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_line(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); char* ans; gsize length; GError* error = NULL; ans = g_data_input_stream_read_line(object, &length, cancellable, &error); _result = asRString(ans); _result = retByVal(_result, "length", asRNumeric(length), "error", asRGError(error), NULL); CLEANUP(g_free, ans);; ; CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_line exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_until(USER_OBJECT_ s_object, USER_OBJECT_ s_stop_chars, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); const gchar* stop_chars = ((const gchar*)asCString(s_stop_chars)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); char* ans; gsize length; GError* error = NULL; ans = g_data_input_stream_read_until(object, stop_chars, &length, cancellable, &error); _result = asRString(ans); _result = retByVal(_result, "length", asRNumeric(length), "error", asRGError(error), NULL); CLEANUP(g_free, ans);; ; CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_until exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_data_output_stream_get_type(); _result = asRGType(ans); #else error("g_data_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_new(USER_OBJECT_ s_base_stream) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char * prop_names[] = { "base_stream", NULL }; USER_OBJECT_ args[] = { s_base_stream }; GDataOutputStream* ans; ans = propertyConstructor(G_TYPE_DATA_OUTPUT_STREAM, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GDataOutputStream", (RPointerFinalizer) g_object_unref); #else error("g_data_output_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_set_byte_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); GDataStreamByteOrder order = ((GDataStreamByteOrder)asCEnum(s_order, G_TYPE_DATA_STREAM_BYTE_ORDER)); g_data_output_stream_set_byte_order(object, order); #else error("g_data_output_stream_set_byte_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_get_byte_order(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); GDataStreamByteOrder ans; ans = g_data_output_stream_get_byte_order(object); _result = asREnum(ans, G_TYPE_DATA_STREAM_BYTE_ORDER); #else error("g_data_output_stream_get_byte_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); guchar data = ((guchar)asCRaw(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_byte(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_byte exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_int16(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); gint16 data = ((gint16)asCInteger(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_int16(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_int16 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_uint16(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); guint16 data = ((guint16)asCInteger(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_uint16(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_uint16 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); gint32 data = ((gint32)asCInteger(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_int32(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_int32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); guint32 data = ((guint32)asCNumeric(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_uint32(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_uint32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); gint64 data = ((gint64)asCNumeric(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_int64(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_int64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); guint64 data = ((guint64)asCNumeric(s_data)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_uint64(object, data, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_uint64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_output_stream_put_string(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDataOutputStream* object = G_DATA_OUTPUT_STREAM(getPtrValue(s_object)); const char* str = ((const char*)asCString(s_str)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_data_output_stream_put_string(object, str, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_data_output_stream_put_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_drive_get_type(); _result = asRGType(ans); #else error("g_drive_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); char* ans; ans = g_drive_get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_drive_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GIcon* ans; ans = g_drive_get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_drive_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_has_volumes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_has_volumes(object); _result = asRLogical(ans); #else error("g_drive_has_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_volumes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GList* ans; ans = g_drive_get_volumes(object); _result = asRGListWithRef(ans, "GVolume"); CLEANUP(g_list_free, ans);; #else error("g_drive_get_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_is_media_removable(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_is_media_removable(object); _result = asRLogical(ans); #else error("g_drive_is_media_removable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_has_media(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_has_media(object); _result = asRLogical(ans); #else error("g_drive_has_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_is_media_check_automatic(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_is_media_check_automatic(object); _result = asRLogical(ans); #else error("g_drive_is_media_check_automatic exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_can_poll_for_media(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_can_poll_for_media(object); _result = asRLogical(ans); #else error("g_drive_can_poll_for_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_can_eject(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_can_eject(object); _result = asRLogical(ans); #else error("g_drive_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_drive_eject(object, flags, cancellable, callback, user_data); #else error("g_drive_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_drive_eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_drive_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_poll_for_media(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDrive* object = G_DRIVE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_drive_poll_for_media(object, cancellable, callback, user_data); #else error("g_drive_poll_for_media exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_poll_for_media_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_drive_poll_for_media_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_drive_poll_for_media_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_identifier(USER_OBJECT_ s_object, USER_OBJECT_ s_kind) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); const char* kind = ((const char*)asCString(s_kind)); char* ans; ans = g_drive_get_identifier(object, kind); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_drive_get_identifier exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_enumerate_identifiers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); char** ans; ans = g_drive_enumerate_identifiers(object); _result = asRStringArray(ans); CLEANUP(g_strfreev, ans);; #else error("g_drive_enumerate_identifiers exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* ans; ans = g_file_attribute_info_list_new(); _result = toRPointerWithFinalizer(ans, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); #else error("g_file_attribute_info_list_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* object = ((GFileAttributeInfoList*)getPtrValue(s_object)); GFileAttributeInfoList* ans; ans = g_file_attribute_info_list_ref(object); _result = toRPointerWithFinalizer(ans ? g_file_attribute_info_list_ref(ans) : NULL, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); #else error("g_file_attribute_info_list_ref exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* object = ((GFileAttributeInfoList*)getPtrValue(s_object)); g_file_attribute_info_list_unref(object); #else error("g_file_attribute_info_list_unref exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_dup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* object = ((GFileAttributeInfoList*)getPtrValue(s_object)); GFileAttributeInfoList* ans; ans = g_file_attribute_info_list_dup(object); _result = toRPointerWithFinalizer(ans, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); #else error("g_file_attribute_info_list_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* object = ((GFileAttributeInfoList*)getPtrValue(s_object)); const char* name = ((const char*)asCString(s_name)); const GFileAttributeInfo* ans; ans = g_file_attribute_info_list_lookup(object, name); _result = asRGFileAttributeInfo(ans); #else error("g_file_attribute_info_list_lookup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_list_add(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_type, USER_OBJECT_ s_flags) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList* object = ((GFileAttributeInfoList*)getPtrValue(s_object)); const char* name = ((const char*)asCString(s_name)); GFileAttributeType type = ((GFileAttributeType)asCEnum(s_type, G_TYPE_FILE_ATTRIBUTE_TYPE)); GFileAttributeInfoFlags flags = ((GFileAttributeInfoFlags)asCFlag(s_flags, G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS)); g_file_attribute_info_list_add(object, name, type, flags); #else error("g_file_attribute_info_list_add exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_enumerator_get_type(); _result = asRGType(ans); #else error("g_file_enumerator_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_next_file(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_enumerator_next_file(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_enumerator_next_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_enumerator_close(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_enumerator_close exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_next_files_async(USER_OBJECT_ s_object, USER_OBJECT_ s_num_files, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); int num_files = ((int)asCInteger(s_num_files)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_enumerator_next_files_async(object, num_files, io_priority, cancellable, callback, user_data); #else error("g_file_enumerator_next_files_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_next_files_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = g_file_enumerator_next_files_finish(object, result, &error); _result = asRGListWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("g_file_enumerator_next_files_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_enumerator_close_async(object, io_priority, cancellable, callback, user_data); #else error("g_file_enumerator_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_enumerator_close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_enumerator_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_is_closed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); gboolean ans; ans = g_file_enumerator_is_closed(object); _result = asRLogical(ans); #else error("g_file_enumerator_is_closed exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_has_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); gboolean ans; ans = g_file_enumerator_has_pending(object); _result = asRLogical(ans); #else error("g_file_enumerator_has_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_set_pending(USER_OBJECT_ s_object, USER_OBJECT_ s_pending) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); gboolean pending = ((gboolean)asCLogical(s_pending)); g_file_enumerator_set_pending(object, pending); #else error("g_file_enumerator_set_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_get_type(); _result = asRGType(ans); #else error("g_file_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_new_for_path(USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* path = ((const char*)asCString(s_path)); GFile* ans; ans = g_file_new_for_path(path); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_new_for_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_new_for_uri(USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* uri = ((const char*)asCString(s_uri)); GFile* ans; ans = g_file_new_for_uri(uri); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_new_for_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_new_for_commandline_arg(USER_OBJECT_ s_arg) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* arg = ((const char*)asCString(s_arg)); GFile* ans; ans = g_file_new_for_commandline_arg(arg); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_new_for_commandline_arg exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_parse_name(USER_OBJECT_ s_parse_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* parse_name = ((const char*)asCString(s_parse_name)); GFile* ans; ans = g_file_parse_name(parse_name); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_parse_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_dup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* ans; ans = g_file_dup(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_hash(USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) gpointer file = ((gpointer)asCGenericData(s_file)); guint ans; ans = g_file_hash(file); _result = asRNumeric(ans); #else error("g_file_hash exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_file2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* file2 = G_FILE(getPtrValue(s_file2)); gboolean ans; ans = g_file_equal(object, file2); _result = asRLogical(ans); #else error("g_file_equal exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_basename(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = g_file_get_basename(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_basename exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_path(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = g_file_get_path(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_uri(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = g_file_get_uri(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_parse_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = g_file_get_parse_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_parse_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_parent(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* ans; ans = g_file_get_parent(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_get_parent exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_child(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* name = ((const char*)asCString(s_name)); GFile* ans; ans = g_file_get_child(object, name); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_get_child exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_child_for_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); GFile* ans; GError* error = NULL; ans = g_file_get_child_for_display_name(object, display_name, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_get_child_for_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_has_prefix(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* descendant = G_FILE(getPtrValue(s_descendant)); gboolean ans; ans = g_file_has_prefix(object, descendant); _result = asRLogical(ans); #else error("g_file_has_prefix exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_relative_path(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* descendant = G_FILE(getPtrValue(s_descendant)); char* ans; ans = g_file_get_relative_path(object, descendant); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_relative_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_resolve_relative_path(USER_OBJECT_ s_object, USER_OBJECT_ s_relative_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* relative_path = ((const char*)asCString(s_relative_path)); GFile* ans; ans = g_file_resolve_relative_path(object, relative_path); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_file_resolve_relative_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_is_native(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); gboolean ans; ans = g_file_is_native(object); _result = asRLogical(ans); #else error("g_file_is_native exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_has_uri_scheme(USER_OBJECT_ s_object, USER_OBJECT_ s_uri_scheme) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* uri_scheme = ((const char*)asCString(s_uri_scheme)); gboolean ans; ans = g_file_has_uri_scheme(object, uri_scheme); _result = asRLogical(ans); #else error("g_file_has_uri_scheme exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_get_uri_scheme(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); char* ans; ans = g_file_get_uri_scheme(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_get_uri_scheme exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_read(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInputStream* ans; GError* error = NULL; ans = g_file_read(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_read exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_read_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_read_async(object, io_priority, cancellable, callback, user_data); #else error("g_file_read_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_read_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInputStream* ans; GError* error = NULL; ans = g_file_read_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileInputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_read_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_append_to(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_append_to(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_append_to exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_create(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_create exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_replace(object, etag, make_backup, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_append_to_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_append_to_async(object, flags, io_priority, cancellable, callback, user_data); #else error("g_file_append_to_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_append_to_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_append_to_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_append_to_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_create_async(object, flags, io_priority, cancellable, callback, user_data); #else error("g_file_create_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_create_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_create_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_async(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_replace_async(object, etag, make_backup, flags, io_priority, cancellable, callback, user_data); #else error("g_file_replace_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileOutputStream* ans; GError* error = NULL; ans = g_file_replace_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileOutputStream", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_exists(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; ans = g_file_query_exists(object, cancellable); _result = asRLogical(ans); #else error("g_file_query_exists exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_query_info(object, attributes, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_query_info_async(object, attributes, flags, io_priority, cancellable, callback, user_data); #else error("g_file_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInfo* ans; GError* error = NULL; ans = g_file_query_info_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_filesystem_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_query_filesystem_info(object, attributes, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_filesystem_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_filesystem_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_query_filesystem_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("g_file_query_filesystem_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_filesystem_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileInfo* ans; GError* error = NULL; ans = g_file_query_filesystem_info_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_filesystem_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_find_enclosing_mount(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GMount* ans; GError* error = NULL; ans = g_file_find_enclosing_mount(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_find_enclosing_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_find_enclosing_mount_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_find_enclosing_mount_async(object, io_priority, cancellable, callback, user_data); #else error("g_file_find_enclosing_mount_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_find_enclosing_mount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GMount* ans; GError* error = NULL; ans = g_file_find_enclosing_mount_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_find_enclosing_mount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerate_children(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileEnumerator* ans; GError* error = NULL; ans = g_file_enumerate_children(object, attributes, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileEnumerator", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_enumerate_children exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerate_children_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_enumerate_children_async(object, attributes, flags, io_priority, cancellable, callback, user_data); #else error("g_file_enumerate_children_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerate_children_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileEnumerator* ans; GError* error = NULL; ans = g_file_enumerate_children_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFileEnumerator", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_enumerate_children_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFile* ans; GError* error = NULL; ans = g_file_set_display_name(object, display_name, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_display_name_async(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_set_display_name_async(object, display_name, io_priority, cancellable, callback, user_data); #else error("g_file_set_display_name_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_display_name_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFile* ans; GError* error = NULL; ans = g_file_set_display_name_finish(object, res, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_display_name_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_delete(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_delete exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_trash(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_trash(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_trash exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_copy(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_copy(object, destination, flags, cancellable, progress_callback, progress_callback_data, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); R_freeCBData(progress_callback_data); CLEANUP(g_error_free, error);; #else error("g_file_copy exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_copy_async(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_copy_async(object, destination, flags, io_priority, cancellable, progress_callback, progress_callback_data, callback, user_data); R_freeCBData(progress_callback_data); #else error("g_file_copy_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_copy_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; GError* error = NULL; ans = g_file_copy_finish(object, res, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_copy_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_move(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileProgressCallback progress_callback = ((GFileProgressCallback)S_GFileProgressCallback); R_CallbackData* progress_callback_data = R_createCBData(s_progress_callback, s_progress_callback_data); GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_move(object, destination, flags, cancellable, progress_callback, progress_callback_data, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); R_freeCBData(progress_callback_data); CLEANUP(g_error_free, error);; #else error("g_file_move exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_make_directory(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_make_directory(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_make_directory exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_make_symbolic_link(USER_OBJECT_ s_object, USER_OBJECT_ s_symlink_value, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* symlink_value = ((const char*)asCString(s_symlink_value)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_make_symbolic_link(object, symlink_value, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_make_symbolic_link exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_settable_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileAttributeInfoList* ans; GError* error = NULL; ans = g_file_query_settable_attributes(object, cancellable, &error); _result = toRPointerWithFinalizer(ans ? g_file_attribute_info_list_ref(ans) : NULL, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_settable_attributes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_writable_namespaces(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileAttributeInfoList* ans; GError* error = NULL; ans = g_file_query_writable_namespaces(object, cancellable, &error); _result = toRPointerWithFinalizer(ans ? g_file_attribute_info_list_ref(ans) : NULL, "GFileAttributeInfoList", (RPointerFinalizer) g_file_attribute_info_list_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_writable_namespaces exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_type, USER_OBJECT_ s_value_p, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeType type = ((GFileAttributeType)asCEnum(s_type, G_TYPE_FILE_ATTRIBUTE_TYPE)); gpointer value_p = ((gpointer)asCGenericData(s_value_p)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute(object, attribute, type, value_p, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attributes_from_info(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileInfo* info = G_FILE_INFO(getPtrValue(s_info)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attributes_from_info(object, info, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attributes_from_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attributes_async(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GFileInfo* info = G_FILE_INFO(getPtrValue(s_info)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_set_attributes_async(object, info, flags, io_priority, cancellable, callback, user_data); #else error("g_file_set_attributes_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attributes_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GFileInfo* info = NULL; GError* error = NULL; ans = g_file_set_attributes_finish(object, result, &info, &error); _result = asRLogical(ans); _result = retByVal(_result, "info", toRPointerWithRef(info, "GFileInfo"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_file_set_attributes_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* value = ((const char*)asCString(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_string(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* value = ((const char*)asCString(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_byte_string(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_byte_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint32 value = ((guint32)asCNumeric(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_uint32(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_uint32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint32 value = ((gint32)asCInteger(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_int32(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_int32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint64 value = ((guint64)asCNumeric(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_uint64(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_uint64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_set_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint64 value = ((gint64)asCNumeric(s_value)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_set_attribute_int64(object, attribute, value, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_set_attribute_int64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_mount_enclosing_volume(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_mount_enclosing_volume(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_file_mount_enclosing_volume exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_mount_enclosing_volume_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_mount_enclosing_volume_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_mount_enclosing_volume_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_mount_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_mount_mountable(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_file_mount_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_mount_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFile* ans; GError* error = NULL; ans = g_file_mount_mountable_finish(object, result, &error); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_mount_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_unmount_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_unmount_mountable(object, flags, cancellable, callback, user_data); #else error("g_file_unmount_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_unmount_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_unmount_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_unmount_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_eject_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_eject_mountable(object, flags, cancellable, callback, user_data); #else error("g_file_eject_mountable exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_eject_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_eject_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_eject_mountable_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_copy_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFile* destination = G_FILE(getPtrValue(s_destination)); GFileCopyFlags flags = ((GFileCopyFlags)asCFlag(s_flags, G_TYPE_FILE_COPY_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_copy_attributes(object, destination, flags, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_copy_attributes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_directory(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileMonitorFlags flags = ((GFileMonitorFlags)asCFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileMonitor* ans; GError* error = NULL; ans = g_file_monitor_directory(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileMonitor", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_monitor_directory exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_file(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileMonitorFlags flags = ((GFileMonitorFlags)asCFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileMonitor* ans; GError* error = NULL; ans = g_file_monitor_file(object, flags, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GFileMonitor", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_monitor_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_default_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GAppInfo* ans; GError* error = NULL; ans = g_file_query_default_handler(object, cancellable, &error); _result = toRPointerWithFinalizer(ans, "GAppInfo", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_query_default_handler exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_load_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; char* contents = NULL; gsize length; char* etag_out = NULL; GError* error = NULL; ans = g_file_load_contents(object, cancellable, &contents, &length, &etag_out, &error); _result = asRLogical(ans); _result = retByVal(_result, "contents", asRString(contents), "length", asRNumeric(length), "etag.out", asRString(etag_out), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_file_load_contents exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_load_contents_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_load_contents_async(object, cancellable, callback, user_data); #else error("g_file_load_contents_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_load_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; char* contents = NULL; gsize length; char* etag_out = NULL; GError* error = NULL; ans = g_file_load_contents_finish(object, res, &contents, &length, &etag_out, &error); _result = asRLogical(ans); _result = retByVal(_result, "contents", asRString(contents), "length", asRNumeric(length), "etag.out", asRString(etag_out), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_file_load_contents_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_load_partial_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; char* contents = NULL; gsize length; char* etag_out = NULL; GError* error = NULL; ans = g_file_load_partial_contents_finish(object, res, &contents, &length, &etag_out, &error); _result = asRLogical(ans); _result = retByVal(_result, "contents", asRString(contents), "length", asRNumeric(length), "etag.out", asRString(etag_out), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_file_load_partial_contents_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_contents, USER_OBJECT_ s_length, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* contents = ((const char*)asCString(s_contents)); gsize length = ((gsize)asCNumeric(s_length)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; char* new_etag = NULL; GError* error = NULL; ans = g_file_replace_contents(object, contents, length, etag, make_backup, flags, &new_etag, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "new.etag", asRString(new_etag), "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace_contents exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_contents_async(USER_OBJECT_ s_object, USER_OBJECT_ s_contents, USER_OBJECT_ s_length, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* contents = ((const char*)asCString(s_contents)); gsize length = ((gsize)asCNumeric(s_length)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_replace_contents_async(object, contents, length, etag, make_backup, flags, cancellable, callback, user_data); #else error("g_file_replace_contents_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; char* new_etag = NULL; GError* error = NULL; ans = g_file_replace_contents_finish(object, res, &new_etag, &error); _result = asRLogical(ans); _result = retByVal(_result, "new.etag", asRString(new_etag), "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace_contents_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_icon_get_type(); _result = asRGType(ans); #else error("g_file_icon_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_icon_new(USER_OBJECT_ s_file) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFile* file = G_FILE(getPtrValue(s_file)); GIcon* ans; ans = g_file_icon_new(file); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_file_icon_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_icon_get_file(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileIcon* object = G_FILE_ICON(getPtrValue(s_object)); GFile* ans; ans = g_file_icon_get_file(object); _result = toRPointerWithRef(ans, "GFile"); #else error("g_file_icon_get_file exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_info_get_type(); _result = asRGType(ans); #else error("g_file_info_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* ans; ans = g_file_info_new(); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); #else error("g_file_info_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_dup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GFileInfo* ans; ans = g_file_info_dup(object); _result = toRPointerWithFinalizer(ans, "GFileInfo", (RPointerFinalizer) g_object_unref); #else error("g_file_info_dup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_copy_into(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_info) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GFileInfo* dest_info = G_FILE_INFO(getPtrValue(s_dest_info)); g_file_info_copy_into(object, dest_info); #else error("g_file_info_copy_into exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_has_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean ans; ans = g_file_info_has_attribute(object, attribute); _result = asRLogical(ans); #else error("g_file_info_has_attribute exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_list_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_name_space) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* name_space = ((const char*)asCString(s_name_space)); char** ans; ans = g_file_info_list_attributes(object, name_space); _result = asRStringArray(ans); #else error("g_file_info_list_attributes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_data(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean ans; GFileAttributeType type; gpointer value_pp; GFileAttributeStatus status; ans = g_file_info_get_attribute_data(object, attribute, &type, &value_pp, &status); _result = asRLogical(ans); _result = retByVal(_result, "type", asREnum(type, G_TYPE_FILE_ATTRIBUTE_TYPE), "value.pp", value_pp, "status", asREnum(status, G_TYPE_FILE_ATTRIBUTE_STATUS), NULL); ; ; ; #else error("g_file_info_get_attribute_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_type(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeType ans; ans = g_file_info_get_attribute_type(object, attribute); _result = asREnum(ans, G_TYPE_FILE_ATTRIBUTE_TYPE); #else error("g_file_info_get_attribute_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_remove_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); g_file_info_remove_attribute(object, attribute); #else error("g_file_info_remove_attribute exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_status(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeStatus ans; ans = g_file_info_get_attribute_status(object, attribute); _result = asREnum(ans, G_TYPE_FILE_ATTRIBUTE_STATUS); #else error("g_file_info_get_attribute_status exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_as_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); char* ans; ans = g_file_info_get_attribute_as_string(object, attribute); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_info_get_attribute_as_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* ans; ans = g_file_info_get_attribute_string(object, attribute); _result = asRString(ans); #else error("g_file_info_get_attribute_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* ans; ans = g_file_info_get_attribute_byte_string(object, attribute); _result = asRString(ans); #else error("g_file_info_get_attribute_byte_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_boolean(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean ans; ans = g_file_info_get_attribute_boolean(object, attribute); _result = asRLogical(ans); #else error("g_file_info_get_attribute_boolean exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint32 ans; ans = g_file_info_get_attribute_uint32(object, attribute); _result = asRNumeric(ans); #else error("g_file_info_get_attribute_uint32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint32 ans; ans = g_file_info_get_attribute_int32(object, attribute); _result = asRInteger(ans); #else error("g_file_info_get_attribute_int32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint64 ans; ans = g_file_info_get_attribute_uint64(object, attribute); _result = asRNumeric(ans); #else error("g_file_info_get_attribute_uint64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint64 ans; ans = g_file_info_get_attribute_int64(object, attribute); _result = asRNumeric(ans); #else error("g_file_info_get_attribute_int64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_object(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GObject* ans; ans = g_file_info_get_attribute_object(object, attribute); _result = toRPointerWithRef(ans, "GObject"); #else error("g_file_info_get_attribute_object exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_type, USER_OBJECT_ s_value_p) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeType type = ((GFileAttributeType)asCEnum(s_type, G_TYPE_FILE_ATTRIBUTE_TYPE)); gpointer value_p = ((gpointer)asCGenericData(s_value_p)); g_file_info_set_attribute(object, attribute, type, value_p); #else error("g_file_info_set_attribute exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* attr_value = ((const char*)asCString(s_attr_value)); g_file_info_set_attribute_string(object, attribute, attr_value); #else error("g_file_info_set_attribute_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); const char* attr_value = ((const char*)asCString(s_attr_value)); g_file_info_set_attribute_byte_string(object, attribute, attr_value); #else error("g_file_info_set_attribute_byte_string exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_boolean(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean attr_value = ((gboolean)asCLogical(s_attr_value)); g_file_info_set_attribute_boolean(object, attribute, attr_value); #else error("g_file_info_set_attribute_boolean exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint32 attr_value = ((guint32)asCNumeric(s_attr_value)); g_file_info_set_attribute_uint32(object, attribute, attr_value); #else error("g_file_info_set_attribute_uint32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint32 attr_value = ((gint32)asCInteger(s_attr_value)); g_file_info_set_attribute_int32(object, attribute, attr_value); #else error("g_file_info_set_attribute_int32 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); guint64 attr_value = ((guint64)asCNumeric(s_attr_value)); g_file_info_set_attribute_uint64(object, attribute, attr_value); #else error("g_file_info_set_attribute_uint64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gint64 attr_value = ((gint64)asCNumeric(s_attr_value)); g_file_info_set_attribute_int64(object, attribute, attr_value); #else error("g_file_info_set_attribute_int64 exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_object(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GObject* attr_value = G_OBJECT(getPtrValue(s_attr_value)); g_file_info_set_attribute_object(object, attribute, attr_value); #else error("g_file_info_set_attribute_object exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_clear_status(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); g_file_info_clear_status(object); #else error("g_file_info_clear_status exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_file_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GFileType ans; ans = g_file_info_get_file_type(object); _result = asREnum(ans, G_TYPE_FILE_TYPE); #else error("g_file_info_get_file_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_is_hidden(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gboolean ans; ans = g_file_info_get_is_hidden(object); _result = asRLogical(ans); #else error("g_file_info_get_is_hidden exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_is_backup(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gboolean ans; ans = g_file_info_get_is_backup(object); _result = asRLogical(ans); #else error("g_file_info_get_is_backup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_is_symlink(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gboolean ans; ans = g_file_info_get_is_symlink(object); _result = asRLogical(ans); #else error("g_file_info_get_is_symlink exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_name(object); _result = asRString(ans); #else error("g_file_info_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_display_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_display_name(object); _result = asRString(ans); #else error("g_file_info_get_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_edit_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_edit_name(object); _result = asRString(ans); #else error("g_file_info_get_edit_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GIcon* ans; ans = g_file_info_get_icon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("g_file_info_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_content_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_content_type(object); _result = asRString(ans); #else error("g_file_info_get_content_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); goffset ans; ans = g_file_info_get_size(object); _result = asRNumeric(ans); #else error("g_file_info_get_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_modification_time(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GTimeVal* result = asCGTimeVal(s_result); g_file_info_get_modification_time(object, result); #else error("g_file_info_get_modification_time exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_symlink_target(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_symlink_target(object); _result = asRString(ans); #else error("g_file_info_get_symlink_target exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_etag(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* ans; ans = g_file_info_get_etag(object); _result = asRString(ans); #else error("g_file_info_get_etag exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_sort_order(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gint32 ans; ans = g_file_info_get_sort_order(object); _result = asRInteger(ans); #else error("g_file_info_get_sort_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GFileAttributeMatcher* mask = ((GFileAttributeMatcher*)getPtrValue(s_mask)); g_file_info_set_attribute_mask(object, mask); #else error("g_file_info_set_attribute_mask exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_unset_attribute_mask(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); g_file_info_unset_attribute_mask(object); #else error("g_file_info_unset_attribute_mask exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_file_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GFileType type = ((GFileType)asCEnum(s_type, G_TYPE_FILE_TYPE)); g_file_info_set_file_type(object, type); #else error("g_file_info_set_file_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_is_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_is_hidden) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gboolean is_hidden = ((gboolean)asCLogical(s_is_hidden)); g_file_info_set_is_hidden(object, is_hidden); #else error("g_file_info_set_is_hidden exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_is_symlink(USER_OBJECT_ s_object, USER_OBJECT_ s_is_symlink) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gboolean is_symlink = ((gboolean)asCLogical(s_is_symlink)); g_file_info_set_is_symlink(object, is_symlink); #else error("g_file_info_set_is_symlink exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* name = ((const char*)asCString(s_name)); g_file_info_set_name(object, name); #else error("g_file_info_set_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* display_name = ((const char*)asCString(s_display_name)); g_file_info_set_display_name(object, display_name); #else error("g_file_info_set_display_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_edit_name(USER_OBJECT_ s_object, USER_OBJECT_ s_edit_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* edit_name = ((const char*)asCString(s_edit_name)); g_file_info_set_edit_name(object, edit_name); #else error("g_file_info_set_edit_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GIcon* icon = G_ICON(getPtrValue(s_icon)); g_file_info_set_icon(object, icon); #else error("g_file_info_set_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_content_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* content_type = ((const char*)asCString(s_content_type)); g_file_info_set_content_type(object, content_type); #else error("g_file_info_set_content_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); goffset size = ((goffset)asCNumeric(s_size)); g_file_info_set_size(object, size); #else error("g_file_info_set_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_modification_time(USER_OBJECT_ s_object, USER_OBJECT_ s_mtime) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); GTimeVal* mtime = asCGTimeVal(s_mtime); g_file_info_set_modification_time(object, mtime); #else error("g_file_info_set_modification_time exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_symlink_target(USER_OBJECT_ s_object, USER_OBJECT_ s_symlink_target) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* symlink_target = ((const char*)asCString(s_symlink_target)); g_file_info_set_symlink_target(object, symlink_target); #else error("g_file_info_set_symlink_target exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_sort_order(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_order) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); gint32 sort_order = ((gint32)asCInteger(s_sort_order)); g_file_info_set_sort_order(object, sort_order); #else error("g_file_info_set_sort_order exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_new(USER_OBJECT_ s_attributes) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* attributes = ((const char*)asCString(s_attributes)); GFileAttributeMatcher* ans; ans = g_file_attribute_matcher_new(attributes); _result = toRPointer(ans, "GFileAttributeMatcher"); #else error("g_file_attribute_matcher_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_ref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); GFileAttributeMatcher* ans; ans = g_file_attribute_matcher_ref(object); _result = toRPointer(ans ? (ans) : NULL, "GFileAttributeMatcher"); #else error("g_file_attribute_matcher_ref exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_unref(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); g_file_attribute_matcher_unref(object); #else error("g_file_attribute_matcher_unref exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_matches(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean ans; ans = g_file_attribute_matcher_matches(object, attribute); _result = asRLogical(ans); #else error("g_file_attribute_matcher_matches exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_matches_only(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); gboolean ans; ans = g_file_attribute_matcher_matches_only(object, attribute); _result = asRLogical(ans); #else error("g_file_attribute_matcher_matches_only exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_enumerate_namespace(USER_OBJECT_ s_object, USER_OBJECT_ s_ns) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); const char* ns = ((const char*)asCString(s_ns)); gboolean ans; ans = g_file_attribute_matcher_enumerate_namespace(object, ns); _result = asRLogical(ans); #else error("g_file_attribute_matcher_enumerate_namespace exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_matcher_enumerate_next(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeMatcher* object = ((GFileAttributeMatcher*)getPtrValue(s_object)); const char* ans; ans = g_file_attribute_matcher_enumerate_next(object); _result = asRString(ans); #else error("g_file_attribute_matcher_enumerate_next exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_input_stream_get_type(); _result = asRGType(ans); #else error("g_file_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_input_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); char* attributes = ((char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_input_stream_query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_input_stream_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_input_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_input_stream_query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("g_file_input_stream_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_input_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileInputStream* object = G_FILE_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = g_file_input_stream_query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_input_stream_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_monitor_get_type(); _result = asRGType(ans); #else error("g_file_monitor_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_cancel(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileMonitor* object = G_FILE_MONITOR(getPtrValue(s_object)); gboolean ans; ans = g_file_monitor_cancel(object); _result = asRLogical(ans); #else error("g_file_monitor_cancel exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_is_cancelled(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileMonitor* object = G_FILE_MONITOR(getPtrValue(s_object)); gboolean ans; ans = g_file_monitor_is_cancelled(object); _result = asRLogical(ans); #else error("g_file_monitor_is_cancelled exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_set_rate_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit_msecs) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileMonitor* object = G_FILE_MONITOR(getPtrValue(s_object)); int limit_msecs = ((int)asCInteger(s_limit_msecs)); g_file_monitor_set_rate_limit(object, limit_msecs); #else error("g_file_monitor_set_rate_limit exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_emit_event(USER_OBJECT_ s_object, USER_OBJECT_ s_file, USER_OBJECT_ s_other_file, USER_OBJECT_ s_event_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileMonitor* object = G_FILE_MONITOR(getPtrValue(s_object)); GFile* file = G_FILE(getPtrValue(s_file)); GFile* other_file = G_FILE(getPtrValue(s_other_file)); GFileMonitorEvent event_type = ((GFileMonitorEvent)asCEnum(s_event_type, G_TYPE_FILE_MONITOR_EVENT)); g_file_monitor_emit_event(object, file, other_file, event_type); #else error("g_file_monitor_emit_event exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filename_completer_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_filename_completer_get_type(); _result = asRGType(ans); #else error("g_filename_completer_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filename_completer_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilenameCompleter* ans; ans = g_filename_completer_new(); _result = toRPointerWithFinalizer(ans, "GFilenameCompleter", (RPointerFinalizer) g_object_unref); #else error("g_filename_completer_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filename_completer_get_completion_suffix(USER_OBJECT_ s_object, USER_OBJECT_ s_initial_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilenameCompleter* object = G_FILENAME_COMPLETER(getPtrValue(s_object)); const char* initial_text = ((const char*)asCString(s_initial_text)); char* ans; ans = g_filename_completer_get_completion_suffix(object, initial_text); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_filename_completer_get_completion_suffix exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filename_completer_get_completions(USER_OBJECT_ s_object, USER_OBJECT_ s_initial_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilenameCompleter* object = G_FILENAME_COMPLETER(getPtrValue(s_object)); const char* initial_text = ((const char*)asCString(s_initial_text)); char** ans; ans = g_filename_completer_get_completions(object, initial_text); _result = asRStringArray(ans); #else error("g_filename_completer_get_completions exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filename_completer_set_dirs_only(USER_OBJECT_ s_object, USER_OBJECT_ s_dirs_only) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilenameCompleter* object = G_FILENAME_COMPLETER(getPtrValue(s_object)); gboolean dirs_only = ((gboolean)asCLogical(s_dirs_only)); g_filename_completer_set_dirs_only(object, dirs_only); #else error("g_filename_completer_set_dirs_only exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_output_stream_get_type(); _result = asRGType(ans); #else error("g_file_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_output_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); char* attributes = ((char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_output_stream_query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_output_stream_query_info exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_output_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); char* attributes = ((char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_output_stream_query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("g_file_output_stream_query_info_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_output_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = g_file_output_stream_query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_output_stream_query_info_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_output_stream_get_etag(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileOutputStream* object = G_FILE_OUTPUT_STREAM(getPtrValue(s_object)); char* ans; ans = g_file_output_stream_get_etag(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_output_stream_get_etag exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_filter_input_stream_get_type(); _result = asRGType(ans); #else error("g_filter_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_input_stream_get_base_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilterInputStream* object = G_FILTER_INPUT_STREAM(getPtrValue(s_object)); GInputStream* ans; ans = g_filter_input_stream_get_base_stream(object); _result = toRPointerWithRef(ans, "GInputStream"); #else error("g_filter_input_stream_get_base_stream exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_filter_output_stream_get_type(); _result = asRGType(ans); #else error("g_filter_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_output_stream_get_base_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFilterOutputStream* object = G_FILTER_OUTPUT_STREAM(getPtrValue(s_object)); GOutputStream* ans; ans = g_filter_output_stream_get_base_stream(object); _result = toRPointerWithRef(ans, "GOutputStream"); #else error("g_filter_output_stream_get_base_stream exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_icon_get_type(); _result = asRGType(ans); #else error("g_icon_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_icon_hash(USER_OBJECT_ s_icon) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) gpointer icon = ((gpointer)asCGenericData(s_icon)); guint ans; ans = g_icon_hash(icon); _result = asRNumeric(ans); #else error("g_icon_hash exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_icon_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_icon2) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIcon* object = G_ICON(getPtrValue(s_object)); GIcon* icon2 = G_ICON(getPtrValue(s_icon2)); gboolean ans; ans = g_icon_equal(object, icon2); _result = asRLogical(ans); #else error("g_icon_equal exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_input_stream_get_type(); _result = asRGType(ans); #else error("g_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_skip(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_input_stream_skip(object, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_skip exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_input_stream_close(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_close exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_skip_async(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_input_stream_skip_async(object, count, io_priority, cancellable, callback, user_data); #else error("g_input_stream_skip_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_skip_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = g_input_stream_skip_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_skip_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_input_stream_close_async(object, io_priority, cancellable, callback, user_data); #else error("g_input_stream_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_input_stream_close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_is_closed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_input_stream_is_closed(object); _result = asRLogical(ans); #else error("g_input_stream_is_closed exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_has_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_input_stream_has_pending(object); _result = asRLogical(ans); #else error("g_input_stream_has_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_set_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_input_stream_set_pending(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_set_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_clear_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); g_input_stream_clear_pending(object); #else error("g_input_stream_clear_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_create_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_app_info_create_flags_get_type(); _result = asRGType(ans); #else error("g_app_info_create_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_stream_byte_order_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_data_stream_byte_order_get_type(); _result = asRGType(ans); #else error("g_data_stream_byte_order_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_data_stream_newline_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_data_stream_newline_type_get_type(); _result = asRGType(ans); #else error("g_data_stream_newline_type_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_info_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_query_info_flags_get_type(); _result = asRGType(ans); #else error("g_file_query_info_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_create_flags_get_type(); _result = asRGType(ans); #else error("g_file_create_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_copy_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_copy_flags_get_type(); _result = asRGType(ans); #else error("g_file_copy_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_monitor_flags_get_type(); _result = asRGType(ans); #else error("g_file_monitor_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_attribute_type_get_type(); _result = asRGType(ans); #else error("g_file_attribute_type_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_info_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_attribute_info_flags_get_type(); _result = asRGType(ans); #else error("g_file_attribute_info_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_attribute_status_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_attribute_status_get_type(); _result = asRGType(ans); #else error("g_file_attribute_status_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_type_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_type_get_type(); _result = asRGType(ans); #else error("g_file_type_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor_event_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_file_monitor_event_get_type(); _result = asRGType(ans); #else error("g_file_monitor_event_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_error_enum_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_io_error_enum_get_type(); _result = asRGType(ans); #else error("g_io_error_enum_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_ask_password_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_ask_password_flags_get_type(); _result = asRGType(ans); #else error("g_ask_password_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_password_save_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_password_save_get_type(); _result = asRGType(ans); #else error("g_password_save_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_splice_flags_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_output_stream_splice_flags_get_type(); _result = asRGType(ans); #else error("g_output_stream_splice_flags_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GQuark ans; ans = g_io_error_quark(); _result = asRGQuark(ans); #else error("g_io_error_quark exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_error_from_errno(USER_OBJECT_ s_err_no) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) gint err_no = ((gint)asCInteger(s_err_no)); GIOErrorEnum ans; ans = g_io_error_from_errno(err_no); _result = asREnum(ans, G_TYPE_IO_ERROR_ENUM); #else error("g_io_error_from_errno exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_module_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_io_module_get_type(); _result = asRGType(ans); #else error("g_io_module_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_module_new(USER_OBJECT_ s_filename) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const gchar* filename = ((const gchar*)asCString(s_filename)); GIOModule* ans; ans = g_io_module_new(filename); _result = toRPointerWithFinalizer(ans, "GIOModule", (RPointerFinalizer) g_object_unref); #else error("g_io_module_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_modules_load_all_in_directory(USER_OBJECT_ s_dirname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* dirname = ((const char*)asCString(s_dirname)); GList* ans; ans = g_io_modules_load_all_in_directory(dirname); _result = asRGList(ans, "GModule"); CLEANUP(g_list_free, ans);; #else error("g_io_modules_load_all_in_directory exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_scheduler_cancel_all_jobs(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) g_io_scheduler_cancel_all_jobs(); #else error("g_io_scheduler_cancel_all_jobs exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_scheduler_job_send_to_mainloop(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSourceFunc func = ((GSourceFunc)S_GSourceFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GIOSchedulerJob* object = ((GIOSchedulerJob*)getPtrValue(s_object)); GDestroyNotify notify = ((GDestroyNotify)R_freeCBData); gboolean ans; ans = g_io_scheduler_job_send_to_mainloop(object, func, user_data, notify); _result = asRLogical(ans); #else error("g_io_scheduler_job_send_to_mainloop exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_scheduler_job_send_to_mainloop_async(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSourceFunc func = ((GSourceFunc)S_GSourceFunc); R_CallbackData* user_data = R_createCBData(s_func, s_user_data); GIOSchedulerJob* object = ((GIOSchedulerJob*)getPtrValue(s_object)); GDestroyNotify notify = ((GDestroyNotify)R_freeCBData); g_io_scheduler_job_send_to_mainloop_async(object, func, user_data, notify); #else error("g_io_scheduler_job_send_to_mainloop_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_loadable_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_loadable_icon_get_type(); _result = asRGType(ans); #else error("g_loadable_icon_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_loadable_icon_load(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); int size = ((int)asCInteger(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GInputStream* ans; char* type = NULL; GError* error = NULL; ans = g_loadable_icon_load(object, size, &type, cancellable, &error); _result = toRPointerWithRef(ans, "GInputStream"); _result = retByVal(_result, "type", asRString(type), "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_loadable_icon_load exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_loadable_icon_load_async(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); int size = ((int)asCInteger(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_loadable_icon_load_async(object, size, cancellable, callback, user_data); #else error("g_loadable_icon_load_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_loadable_icon_load_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GLoadableIcon* object = G_LOADABLE_ICON(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); char** type = ((char**)asCStringArray(s_type)); GInputStream* ans; GError* error = NULL; ans = g_loadable_icon_load_finish(object, res, type, &error); _result = toRPointerWithRef(ans, "GInputStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_loadable_icon_load_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_input_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_memory_input_stream_get_type(); _result = asRGType(ans); #else error("g_memory_input_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_input_stream_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* ans; ans = g_memory_input_stream_new(); _result = toRPointerWithFinalizer(ans, "GInputStream", (RPointerFinalizer) g_object_unref); #else error("g_memory_input_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_input_stream_new_from_data(USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gssize len = ((gssize)GET_LENGTH(s_data)); GDestroyNotify destroy = ((GDestroyNotify)R_ReleaseObject); GInputStream* ans; ans = g_memory_input_stream_new_from_data(data, len, destroy); _result = toRPointerWithFinalizer(ans, "GInputStream", (RPointerFinalizer) g_object_unref); #else error("g_memory_input_stream_new_from_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_input_stream_add_data(USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMemoryInputStream* object = G_MEMORY_INPUT_STREAM(getPtrValue(s_object)); const guchar* data = ((const guchar*)asCArray(s_data, guchar, asCRaw)); gssize len = ((gssize)GET_LENGTH(s_data)); GDestroyNotify destroy = ((GDestroyNotify)R_ReleaseObject); g_memory_input_stream_add_data(object, data, len, destroy); #else error("g_memory_input_stream_add_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_memory_output_stream_get_type(); _result = asRGType(ans); #else error("g_memory_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_output_stream_get_data(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMemoryOutputStream* object = G_MEMORY_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* ans; ans = g_memory_output_stream_get_data(object); _result = asRRawArray(ans); #else error("g_memory_output_stream_get_data exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_output_stream_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMemoryOutputStream* object = G_MEMORY_OUTPUT_STREAM(getPtrValue(s_object)); gsize ans; ans = g_memory_output_stream_get_size(object); _result = asRNumeric(ans); #else error("g_memory_output_stream_get_size exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_mount_get_type(); _result = asRGType(ans); #else error("g_mount_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_root(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GFile* ans; ans = g_mount_get_root(object); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_mount_get_root exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); char* ans; ans = g_mount_get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_mount_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GIcon* ans; ans = g_mount_get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_mount_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_uuid(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); char* ans; ans = g_mount_get_uuid(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_mount_get_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_volume(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GVolume* ans; ans = g_mount_get_volume(object); _result = toRPointerWithFinalizer(ans, "GVolume", (RPointerFinalizer) g_object_unref); #else error("g_mount_get_volume exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_get_drive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GDrive* ans; ans = g_mount_get_drive(object); _result = toRPointerWithFinalizer(ans, "GDrive", (RPointerFinalizer) g_object_unref); #else error("g_mount_get_drive exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_can_unmount(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean ans; ans = g_mount_can_unmount(object); _result = asRLogical(ans); #else error("g_mount_can_unmount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_can_eject(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean ans; ans = g_mount_can_eject(object); _result = asRLogical(ans); #else error("g_mount_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_unmount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_unmount(object, flags, cancellable, callback, user_data); #else error("g_mount_unmount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_unmount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_mount_unmount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_unmount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_eject(object, flags, cancellable, callback, user_data); #else error("g_mount_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_mount_eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_remount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_remount(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_mount_remount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_remount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_mount_remount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_remount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_mount_operation_get_type(); _result = asRGType(ans); #else error("g_mount_operation_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* ans; ans = g_mount_operation_new(); _result = toRPointerWithFinalizer(ans, "GMountOperation", (RPointerFinalizer) g_object_unref); #else error("g_mount_operation_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_username(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* ans; ans = g_mount_operation_get_username(object); _result = asRString(ans); #else error("g_mount_operation_get_username exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_username(USER_OBJECT_ s_object, USER_OBJECT_ s_username) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* username = ((const char*)asCString(s_username)); g_mount_operation_set_username(object, username); #else error("g_mount_operation_set_username exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_password(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* ans; ans = g_mount_operation_get_password(object); _result = asRString(ans); #else error("g_mount_operation_get_password exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_password(USER_OBJECT_ s_object, USER_OBJECT_ s_password) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* password = ((const char*)asCString(s_password)); g_mount_operation_set_password(object, password); #else error("g_mount_operation_set_password exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_anonymous(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); gboolean ans; ans = g_mount_operation_get_anonymous(object); _result = asRLogical(ans); #else error("g_mount_operation_get_anonymous exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_anonymous(USER_OBJECT_ s_object, USER_OBJECT_ s_anonymous) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); gboolean anonymous = ((gboolean)asCLogical(s_anonymous)); g_mount_operation_set_anonymous(object, anonymous); #else error("g_mount_operation_set_anonymous exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_domain(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* ans; ans = g_mount_operation_get_domain(object); _result = asRString(ans); #else error("g_mount_operation_get_domain exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); const char* domain = ((const char*)asCString(s_domain)); g_mount_operation_set_domain(object, domain); #else error("g_mount_operation_set_domain exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_password_save(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); GPasswordSave ans; ans = g_mount_operation_get_password_save(object); _result = asREnum(ans, G_TYPE_PASSWORD_SAVE); #else error("g_mount_operation_get_password_save exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_password_save(USER_OBJECT_ s_object, USER_OBJECT_ s_save) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); GPasswordSave save = ((GPasswordSave)asCEnum(s_save, G_TYPE_PASSWORD_SAVE)); g_mount_operation_set_password_save(object, save); #else error("g_mount_operation_set_password_save exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_get_choice(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); int ans; ans = g_mount_operation_get_choice(object); _result = asRInteger(ans); #else error("g_mount_operation_get_choice exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_set_choice(USER_OBJECT_ s_object, USER_OBJECT_ s_choice) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); int choice = ((int)asCInteger(s_choice)); g_mount_operation_set_choice(object, choice); #else error("g_mount_operation_set_choice exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_operation_reply(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMountOperation* object = G_MOUNT_OPERATION(getPtrValue(s_object)); GMountOperationResult result = ((GMountOperationResult)asCEnum(s_result, G_TYPE_MOUNT_OPERATION_RESULT)); g_mount_operation_reply(object, result); #else error("g_mount_operation_reply exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_native_volume_monitor_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_native_volume_monitor_get_type(); _result = asRGType(ans); #else error("g_native_volume_monitor_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_output_stream_get_type(); _result = asRGType(ans); #else error("g_output_stream_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_write(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* buffer = ((const guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buffer)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_output_stream_write(object, buffer, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_write exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_write_all(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_bytes_written, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* buffer = ((const guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buffer)); gsize* bytes_written = ((gsize*)asCArray(s_bytes_written, gsize, asCNumeric)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_output_stream_write_all(object, buffer, count, bytes_written, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_write_all exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_splice(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GInputStream* source = G_INPUT_STREAM(getPtrValue(s_source)); GOutputStreamSpliceFlags flags = ((GOutputStreamSpliceFlags)asCFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_output_stream_splice(object, source, flags, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_splice exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_flush(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_output_stream_flush(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_flush exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_output_stream_close(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_close exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_write_async(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); const guchar* buffer = ((const guchar*)asCArray(s_buffer, guchar, asCRaw)); gsize count = ((gsize)GET_LENGTH(s_buffer)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_output_stream_write_async(object, buffer, count, io_priority, cancellable, callback, user_data); #else error("g_output_stream_write_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_write_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = g_output_stream_write_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_write_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_splice_async(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GInputStream* source = G_INPUT_STREAM(getPtrValue(s_source)); GOutputStreamSpliceFlags flags = ((GOutputStreamSpliceFlags)asCFlag(s_flags, G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_output_stream_splice_async(object, source, flags, io_priority, cancellable, callback, user_data); #else error("g_output_stream_splice_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_splice_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gssize ans; GError* error = NULL; ans = g_output_stream_splice_finish(object, result, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_splice_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_flush_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_output_stream_flush_async(object, io_priority, cancellable, callback, user_data); #else error("g_output_stream_flush_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_flush_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_output_stream_flush_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_flush_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_output_stream_close_async(object, io_priority, cancellable, callback, user_data); #else error("g_output_stream_close_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_output_stream_close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_close_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_is_closed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_output_stream_is_closed(object); _result = asRLogical(ans); #else error("g_output_stream_is_closed exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_has_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_output_stream_has_pending(object); _result = asRLogical(ans); #else error("g_output_stream_has_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_set_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_output_stream_set_pending(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_output_stream_set_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_output_stream_clear_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GOutputStream* object = G_OUTPUT_STREAM(getPtrValue(s_object)); g_output_stream_clear_pending(object); #else error("g_output_stream_clear_pending exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_seekable_get_type(); _result = asRGType(ans); #else error("g_seekable_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_tell(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset ans; ans = g_seekable_tell(object); _result = asRNumeric(ans); #else error("g_seekable_tell exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_can_seek(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); gboolean ans; ans = g_seekable_can_seek(object); _result = asRLogical(ans); #else error("g_seekable_can_seek exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_seek(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_type, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset offset = ((goffset)asCNumeric(s_offset)); GSeekType type = ((GSeekType)asCEnum(s_type, G_TYPE_SEEK_TYPE)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_seekable_seek(object, offset, type, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_seekable_seek exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_can_truncate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); gboolean ans; ans = g_seekable_can_truncate(object); _result = asRLogical(ans); #else error("g_seekable_can_truncate exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_seekable_truncate(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSeekable* object = G_SEEKABLE(getPtrValue(s_object)); goffset offset = ((goffset)asCNumeric(s_offset)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_seekable_truncate(object, offset, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_seekable_truncate exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_simple_async_result_get_type(); _result = asRGType(ans); #else error("g_simple_async_result_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_new(USER_OBJECT_ s_source_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_source_tag) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); gpointer source_tag = ((gpointer)asCGenericData(s_source_tag)); GSimpleAsyncResult* ans; ans = g_simple_async_result_new(source_object, callback, user_data, source_tag); _result = toRPointerWithFinalizer(ans, "GSimpleAsyncResult", (RPointerFinalizer) g_object_unref); #else error("g_simple_async_result_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_new_from_error(USER_OBJECT_ s_source_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); GSimpleAsyncResult* ans; GError* error = ((GError *)g_new0(GError, 1)); ans = g_simple_async_result_new_from_error(source_object, callback, user_data, error); _result = toRPointerWithFinalizer(ans, "GSimpleAsyncResult", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_simple_async_result_new_from_error exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_op_res_gpointer(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gpointer op_res = ((gpointer)asCGenericData(s_op_res)); GDestroyNotify destroy_op_res = ((GDestroyNotify)R_ReleaseObject); g_simple_async_result_set_op_res_gpointer(object, op_res, destroy_op_res); #else error("g_simple_async_result_set_op_res_gpointer exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_get_op_res_gpointer(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gpointer ans; ans = g_simple_async_result_get_op_res_gpointer(object); _result = ans; #else error("g_simple_async_result_get_op_res_gpointer exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_op_res_gssize(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gssize op_res = ((gssize)asCInteger(s_op_res)); g_simple_async_result_set_op_res_gssize(object, op_res); #else error("g_simple_async_result_set_op_res_gssize exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_get_op_res_gssize(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gssize ans; ans = g_simple_async_result_get_op_res_gssize(object); _result = asRInteger(ans); #else error("g_simple_async_result_get_op_res_gssize exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_op_res_gboolean(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gboolean op_res = ((gboolean)asCLogical(s_op_res)); g_simple_async_result_set_op_res_gboolean(object, op_res); #else error("g_simple_async_result_set_op_res_gboolean exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_get_op_res_gboolean(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gboolean ans; ans = g_simple_async_result_get_op_res_gboolean(object); _result = asRLogical(ans); #else error("g_simple_async_result_get_op_res_gboolean exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_get_source_tag(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gpointer ans; ans = g_simple_async_result_get_source_tag(object); _result = ans; #else error("g_simple_async_result_get_source_tag exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_handle_cancellation(USER_OBJECT_ s_object, USER_OBJECT_ s_handle_cancellation) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gboolean handle_cancellation = ((gboolean)asCLogical(s_handle_cancellation)); g_simple_async_result_set_handle_cancellation(object, handle_cancellation); #else error("g_simple_async_result_set_handle_cancellation exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_complete(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); g_simple_async_result_complete(object); #else error("g_simple_async_result_complete exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_complete_in_idle(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); g_simple_async_result_complete_in_idle(object); #else error("g_simple_async_result_complete_in_idle exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_from_error(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); GError* error = ((GError *)g_new0(GError, 1)); g_simple_async_result_set_from_error(object, error); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_simple_async_result_set_from_error exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_propagate_error(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); gboolean ans; GError* dest = NULL; ans = g_simple_async_result_propagate_error(object, &dest); _result = asRLogical(ans); _result = retByVal(_result, "dest", asRGError(dest), NULL); CLEANUP(g_error_free, dest);; #else error("g_simple_async_result_propagate_error exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_report_gerror_in_idle(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GObject* object = G_OBJECT(getPtrValue(s_object)); GError* error = ((GError *)g_new0(GError, 1)); g_simple_async_report_gerror_in_idle(object, callback, user_data, error); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_simple_async_report_gerror_in_idle exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_themed_icon_get_type(); _result = asRGType(ans); #else error("g_themed_icon_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_new(USER_OBJECT_ s_iconname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char * prop_names[] = { "name", NULL }; USER_OBJECT_ args[] = { s_iconname }; GIcon* ans; ans = propertyConstructor(G_TYPE_THEMED_ICON, prop_names, args, 1); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_themed_icon_new exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_new_with_default_fallbacks(USER_OBJECT_ s_iconname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* iconname = ((const char*)asCString(s_iconname)); GIcon* ans; ans = g_themed_icon_new_with_default_fallbacks(iconname); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_themed_icon_new_with_default_fallbacks exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_new_from_names(USER_OBJECT_ s_iconnames, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) char** iconnames = ((char**)asCStringArray(s_iconnames)); int len = ((int)asCInteger(s_len)); GIcon* ans; ans = g_themed_icon_new_from_names(iconnames, len); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_themed_icon_new_from_names exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_get_names(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GThemedIcon* object = G_THEMED_ICON(getPtrValue(s_object)); const gchar* const* ans; ans = g_themed_icon_get_names(object); _result = asRStringArray(ans); #else error("g_themed_icon_get_names exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_append_name(USER_OBJECT_ s_object, USER_OBJECT_ s_iconname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GThemedIcon* object = G_THEMED_ICON(getPtrValue(s_object)); char* iconname = ((char*)asCString(s_iconname)); g_themed_icon_append_name(object, iconname); #else error("g_themed_icon_append_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_vfs_get_type(); _result = asRGType(ans); #else error("g_vfs_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_is_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* object = G_VFS(getPtrValue(s_object)); gboolean ans; ans = g_vfs_is_active(object); _result = asRLogical(ans); #else error("g_vfs_is_active exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_file_for_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* object = G_VFS(getPtrValue(s_object)); const char* path = ((const char*)asCString(s_path)); GFile* ans; ans = g_vfs_get_file_for_path(object, path); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_vfs_get_file_for_path exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_file_for_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* object = G_VFS(getPtrValue(s_object)); const char* uri = ((const char*)asCString(s_uri)); GFile* ans; ans = g_vfs_get_file_for_uri(object, uri); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_vfs_get_file_for_uri exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_parse_name(USER_OBJECT_ s_object, USER_OBJECT_ s_parse_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* object = G_VFS(getPtrValue(s_object)); const char* parse_name = ((const char*)asCString(s_parse_name)); GFile* ans; ans = g_vfs_parse_name(object, parse_name); _result = toRPointerWithFinalizer(ans, "GFile", (RPointerFinalizer) g_object_unref); #else error("g_vfs_parse_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* ans; ans = g_vfs_get_default(); _result = toRPointerWithRef(ans, "GVfs"); #else error("g_vfs_get_default exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_local(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* ans; ans = g_vfs_get_local(); _result = toRPointerWithRef(ans, "GVfs"); #else error("g_vfs_get_local exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_vfs_get_supported_uri_schemes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVfs* object = G_VFS(getPtrValue(s_object)); const char* const* ans; ans = g_vfs_get_supported_uri_schemes(object); _result = asRStringArray(ans); #else error("g_vfs_get_supported_uri_schemes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_volume_get_type(); _result = asRGType(ans); #else error("g_volume_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); char* ans; ans = g_volume_get_name(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_volume_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GIcon* ans; ans = g_volume_get_icon(object); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_volume_get_icon exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_uuid(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); char* ans; ans = g_volume_get_uuid(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_volume_get_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_drive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GDrive* ans; ans = g_volume_get_drive(object); _result = toRPointerWithFinalizer(ans, "GDrive", (RPointerFinalizer) g_object_unref); #else error("g_volume_get_drive exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_mount(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GMount* ans; ans = g_volume_get_mount(object); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); #else error("g_volume_get_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_can_mount(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = g_volume_can_mount(object); _result = asRLogical(ans); #else error("g_volume_can_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_can_eject(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = g_volume_can_eject(object); _result = asRLogical(ans); #else error("g_volume_can_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_should_automount(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); gboolean ans; ans = g_volume_should_automount(object); _result = asRLogical(ans); #else error("g_volume_should_automount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_mount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountMountFlags flags = ((GMountMountFlags)asCFlag(s_flags, G_TYPE_MOUNT_MOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_volume_mount(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_volume_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_mount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_volume_mount_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_volume_mount_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_volume_eject(object, flags, cancellable, callback, user_data); #else error("g_volume_eject exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_volume_eject_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_volume_eject_finish exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GType ans; ans = g_volume_monitor_get_type(); _result = asRGType(ans); #else error("g_volume_monitor_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* ans; ans = g_volume_monitor_get(); _result = toRPointerWithRef(ans, "GVolumeMonitor"); #else error("g_volume_monitor_get exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_connected_drives(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = g_volume_monitor_get_connected_drives(object); _result = asRGListWithRef(ans, "GDrive"); CLEANUP(g_list_free, ans);; #else error("g_volume_monitor_get_connected_drives exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_volumes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = g_volume_monitor_get_volumes(object); _result = asRGListWithRef(ans, "GVolume"); CLEANUP(g_list_free, ans);; #else error("g_volume_monitor_get_volumes exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_mounts(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); GList* ans; ans = g_volume_monitor_get_mounts(object); _result = asRGListWithRef(ans, "GMount"); CLEANUP(g_list_free, ans);; #else error("g_volume_monitor_get_mounts exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_volume_for_uuid(USER_OBJECT_ s_object, USER_OBJECT_ s_uuid) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); const char* uuid = ((const char*)asCString(s_uuid)); GVolume* ans; ans = g_volume_monitor_get_volume_for_uuid(object, uuid); _result = toRPointerWithFinalizer(ans, "GVolume", (RPointerFinalizer) g_object_unref); #else error("g_volume_monitor_get_volume_for_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_get_mount_for_uuid(USER_OBJECT_ s_object, USER_OBJECT_ s_uuid) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GVolumeMonitor* object = G_VOLUME_MONITOR(getPtrValue(s_object)); const char* uuid = ((const char*)asCString(s_uuid)); GMount* ans; ans = g_volume_monitor_get_mount_for_uuid(object, uuid); _result = toRPointerWithFinalizer(ans, "GMount", (RPointerFinalizer) g_object_unref); #else error("g_volume_monitor_get_mount_for_uuid exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_monitor_adopt_orphan_mount(USER_OBJECT_ s_mount) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GMount* mount = G_MOUNT(getPtrValue(s_mount)); GVolume* ans; ans = g_volume_monitor_adopt_orphan_mount(mount); _result = toRPointerWithRef(ans, "GVolume"); #else error("g_volume_monitor_adopt_orphan_mount exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_register(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* name = ((const char*)asCString(s_name)); GIOExtensionPoint* ans; ans = g_io_extension_point_register(name); _result = toRPointer(ans, "GIOExtensionPoint"); #else error("g_io_extension_point_register exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_lookup(USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* name = ((const char*)asCString(s_name)); GIOExtensionPoint* ans; ans = g_io_extension_point_lookup(name); _result = toRPointer(ans, "GIOExtensionPoint"); #else error("g_io_extension_point_lookup exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_set_required_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtensionPoint* object = ((GIOExtensionPoint*)getPtrValue(s_object)); GType type = ((GType)asCGType(s_type)); g_io_extension_point_set_required_type(object, type); #else error("g_io_extension_point_set_required_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_get_required_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtensionPoint* object = ((GIOExtensionPoint*)getPtrValue(s_object)); GType ans; ans = g_io_extension_point_get_required_type(object); _result = asRGType(ans); #else error("g_io_extension_point_get_required_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_get_extensions(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtensionPoint* object = ((GIOExtensionPoint*)getPtrValue(s_object)); GList* ans; ans = g_io_extension_point_get_extensions(object); _result = asRGList(ans, "GIOExtension"); #else error("g_io_extension_point_get_extensions exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_get_extension_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtensionPoint* object = ((GIOExtensionPoint*)getPtrValue(s_object)); const char* name = ((const char*)asCString(s_name)); GIOExtension* ans; ans = g_io_extension_point_get_extension_by_name(object, name); _result = toRPointer(ans, "GIOExtension"); #else error("g_io_extension_point_get_extension_by_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_point_implement(USER_OBJECT_ s_extension_point_name, USER_OBJECT_ s_type, USER_OBJECT_ s_extension_name, USER_OBJECT_ s_priority) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) const char* extension_point_name = ((const char*)asCString(s_extension_point_name)); GType type = ((GType)asCGType(s_type)); const char* extension_name = ((const char*)asCString(s_extension_name)); gint priority = ((gint)asCInteger(s_priority)); GIOExtension* ans; ans = g_io_extension_point_implement(extension_point_name, type, extension_name, priority); _result = toRPointer(ans, "GIOExtension"); #else error("g_io_extension_point_implement exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_get_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtension* object = ((GIOExtension*)getPtrValue(s_object)); GType ans; ans = g_io_extension_get_type(object); _result = asRGType(ans); #else error("g_io_extension_get_type exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_get_name(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtension* object = ((GIOExtension*)getPtrValue(s_object)); const char* ans; ans = g_io_extension_get_name(object); _result = asRString(ans); #else error("g_io_extension_get_name exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_get_priority(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtension* object = ((GIOExtension*)getPtrValue(s_object)); gint ans; ans = g_io_extension_get_priority(object); _result = asRInteger(ans); #else error("g_io_extension_get_priority exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_io_extension_ref_class(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GIOExtension* object = ((GIOExtension*)getPtrValue(s_object)); GTypeClass* ans; ans = g_io_extension_ref_class(object); _result = toRPointer(ans, "GTypeClass"); #else error("g_io_extension_ref_class exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_from_mime_type(USER_OBJECT_ s_mime_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) const char* mime_type = ((const char*)asCString(s_mime_type)); char* ans; ans = g_content_type_from_mime_type(mime_type); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_content_type_from_mime_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_content_type_guess_for_tree(USER_OBJECT_ s_root) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GFile* root = G_FILE(getPtrValue(s_root)); char** ans; ans = g_content_type_guess_for_tree(root); _result = asRStringArray(ans); #else error("g_content_type_guess_for_tree exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblemed_icon_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GType ans; ans = g_emblemed_icon_get_type(); _result = asRGType(ans); #else error("g_emblemed_icon_get_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblemed_icon_new(USER_OBJECT_ s_icon, USER_OBJECT_ s_emblem) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GIcon* icon = G_ICON(getPtrValue(s_icon)); GEmblem* emblem = G_EMBLEM(getPtrValue(s_emblem)); GIcon* ans; ans = g_emblemed_icon_new(icon, emblem); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); #else error("g_emblemed_icon_new exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblemed_icon_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GEmblemedIcon* object = G_EMBLEMED_ICON(getPtrValue(s_object)); GIcon* ans; ans = g_emblemed_icon_get_icon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("g_emblemed_icon_get_icon exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblemed_icon_get_emblems(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GEmblemedIcon* object = G_EMBLEMED_ICON(getPtrValue(s_object)); GList* ans; ans = g_emblemed_icon_get_emblems(object); _result = asRGListWithRef(ans, "GEmblem"); #else error("g_emblemed_icon_get_emblems exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblemed_icon_add_emblem(USER_OBJECT_ s_object, USER_OBJECT_ s_emblem) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GEmblemedIcon* object = G_EMBLEMED_ICON(getPtrValue(s_object)); GEmblem* emblem = G_EMBLEM(getPtrValue(s_emblem)); g_emblemed_icon_add_emblem(object, emblem); #else error("g_emblemed_icon_add_emblem exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblem_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GType ans; ans = g_emblem_get_type(); _result = asRGType(ans); #else error("g_emblem_get_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblem_new(USER_OBJECT_ s_icon, USER_OBJECT_ s_origin) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) char * prop_names[] = { "icon", "origin", NULL }; USER_OBJECT_ args[] = { s_icon, s_origin }; GEmblem* ans; ans = propertyConstructor(G_TYPE_EMBLEM, prop_names, args, 2); _result = toRPointerWithFinalizer(ans, "GEmblem", (RPointerFinalizer) g_object_unref); #else error("g_emblem_new exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblem_new_with_origin(USER_OBJECT_ s_icon, USER_OBJECT_ s_origin) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GIcon* icon = G_ICON(getPtrValue(s_icon)); GEmblemOrigin origin = ((GEmblemOrigin)asCEnum(s_origin, G_TYPE_EMBLEM_ORIGIN)); GEmblem* ans; ans = g_emblem_new_with_origin(icon, origin); _result = toRPointerWithFinalizer(ans, "GEmblem", (RPointerFinalizer) g_object_unref); #else error("g_emblem_new_with_origin exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblem_get_icon(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GEmblem* object = G_EMBLEM(getPtrValue(s_object)); GIcon* ans; ans = g_emblem_get_icon(object); _result = toRPointerWithRef(ans, "GIcon"); #else error("g_emblem_get_icon exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_emblem_get_origin(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GEmblem* object = G_EMBLEM(getPtrValue(s_object)); GEmblemOrigin ans; ans = g_emblem_get_origin(object); _result = asREnum(ans, G_TYPE_EMBLEM_ORIGIN); #else error("g_emblem_get_origin exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_file_query_file_type(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileQueryInfoFlags flags = ((GFileQueryInfoFlags)asCFlag(s_flags, G_TYPE_FILE_QUERY_INFO_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileType ans; ans = g_file_query_file_type(object, flags, cancellable); _result = asREnum(ans, G_TYPE_FILE_TYPE); #else error("g_file_query_file_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_file_make_directory_with_parents(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_file_make_directory_with_parents(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_make_directory_with_parents exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_file_monitor(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileMonitorFlags flags = ((GFileMonitorFlags)asCFlag(s_flags, G_TYPE_FILE_MONITOR_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileMonitor* ans; GError* error = NULL; ans = g_file_monitor(object, flags, cancellable, &error); _result = toRPointerWithRef(ans, "GFileMonitor"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_monitor exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_memory_output_stream_get_data_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GMemoryOutputStream* object = G_MEMORY_OUTPUT_STREAM(getPtrValue(s_object)); gsize ans; ans = g_memory_output_stream_get_data_size(object); _result = asRNumeric(ans); #else error("g_memory_output_stream_get_data_size exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_guess_content_type(USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean force_rescan = ((gboolean)asCLogical(s_force_rescan)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_guess_content_type(object, force_rescan, cancellable, callback, user_data); #else error("g_mount_guess_content_type exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_guess_content_type_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gchar** ans; GError* error = NULL; ans = g_mount_guess_content_type_finish(object, result, &error); _result = asRStringArray(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_guess_content_type_finish exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_guess_content_type_sync(USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean force_rescan = ((gboolean)asCLogical(s_force_rescan)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gchar** ans; GError* error = NULL; ans = g_mount_guess_content_type_sync(object, force_rescan, cancellable, &error); _result = asRStringArray(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_guess_content_type_sync exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_themed_icon_prepend_name(USER_OBJECT_ s_object, USER_OBJECT_ s_iconname) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GThemedIcon* object = G_THEMED_ICON(getPtrValue(s_object)); const char* iconname = ((const char*)asCString(s_iconname)); g_themed_icon_prepend_name(object, iconname); #else error("g_themed_icon_prepend_name exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_identifier(USER_OBJECT_ s_object, USER_OBJECT_ s_kind) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); const char* kind = ((const char*)asCString(s_kind)); char* ans; ans = g_volume_get_identifier(object, kind); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_volume_get_identifier exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_enumerate_identifiers(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); char** ans; ans = g_volume_enumerate_identifiers(object); _result = asRStringArray(ans); #else error("g_volume_enumerate_identifiers exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_get_activation_root(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GFile* ans; ans = g_volume_get_activation_root(object); _result = toRPointerWithRef(ans, "GFile"); #else error("g_volume_get_activation_root exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_file_enumerator_get_container(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 18, 0) GFileEnumerator* object = G_FILE_ENUMERATOR(getPtrValue(s_object)); GFile* ans; ans = g_file_enumerator_get_container(object); _result = toRPointerWithRef(ans, "GFile"); #else error("g_file_enumerator_get_container exists only in gio >= 2.18.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_reset_type_associations(USER_OBJECT_ s_content_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) const char* content_type = ((const char*)asCString(s_content_type)); g_app_info_reset_type_associations(content_type); #else error("g_app_info_reset_type_associations exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_can_delete(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_can_delete(object); _result = asRLogical(ans); #else error("g_app_info_can_delete exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_delete(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); gboolean ans; ans = g_app_info_delete(object); _result = asRLogical(ans); #else error("g_app_info_delete exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_app_info_get_commandline(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAppInfo* object = G_APP_INFO(getPtrValue(s_object)); const char* ans; ans = g_app_info_get_commandline(object); _result = asRString(ans); #else error("g_app_info_get_commandline exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_until_async(USER_OBJECT_ s_object, USER_OBJECT_ s_stop_chars, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); const gchar* stop_chars = ((const gchar*)asCString(s_stop_chars)); gint io_priority = ((gint)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_data_input_stream_read_until_async(object, stop_chars, io_priority, cancellable, callback, user_data); #else error("g_data_input_stream_read_until_async exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_until_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result, USER_OBJECT_ s_length) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gsize* length = ((gsize*)asCArray(s_length, gsize, asCNumeric)); char* ans; GError* error = NULL; ans = g_data_input_stream_read_until_finish(object, result, length, &error); _result = asRString(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_free, ans);; CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_until_finish exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_line_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); gint io_priority = ((gint)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_data_input_stream_read_line_async(object, io_priority, cancellable, callback, user_data); #else error("g_data_input_stream_read_line_async exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_data_input_stream_read_line_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GDataInputStream* object = G_DATA_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); char* ans; gsize length; GError* error = NULL; ans = g_data_input_stream_read_line_finish(object, result, &length, &error); _result = asRString(ans); _result = retByVal(_result, "length", asRNumeric(length), "error", asRGError(error), NULL); CLEANUP(g_free, ans);; ; CLEANUP(g_error_free, error);; #else error("g_data_input_stream_read_line_finish exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_icon_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GIcon* object = G_ICON(getPtrValue(s_object)); gchar* ans; ans = g_icon_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_icon_to_string exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_icon_new_for_string(USER_OBJECT_ s_str) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) const gchar* str = ((const gchar*)asCString(s_str)); GIcon* ans; GError* error = NULL; ans = g_icon_new_for_string(str, &error); _result = toRPointerWithFinalizer(ans, "GIcon", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_icon_new_for_string exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_is_shadowed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); gboolean ans; ans = g_mount_is_shadowed(object); _result = asRLogical(ans); #else error("g_mount_is_shadowed exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_shadow(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); g_mount_shadow(object); #else error("g_mount_shadow exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_unshadow(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); g_mount_unshadow(object); #else error("g_mount_unshadow exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_input_stream_get_close_base_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GFilterInputStream* object = G_FILTER_INPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_filter_input_stream_get_close_base_stream(object); _result = asRLogical(ans); #else error("g_filter_input_stream_get_close_base_stream exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_input_stream_set_close_base_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_close_base) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GFilterInputStream* object = G_FILTER_INPUT_STREAM(getPtrValue(s_object)); gboolean close_base = ((gboolean)asCLogical(s_close_base)); g_filter_input_stream_set_close_base_stream(object, close_base); #else error("g_filter_input_stream_set_close_base_stream exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_output_stream_get_close_base_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GFilterOutputStream* object = G_FILTER_OUTPUT_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_filter_output_stream_get_close_base_stream(object); _result = asRLogical(ans); #else error("g_filter_output_stream_get_close_base_stream exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_filter_output_stream_set_close_base_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_close_base) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 20, 0) GFilterOutputStream* object = G_FILTER_OUTPUT_STREAM(getPtrValue(s_object)); gboolean close_base = ((gboolean)asCLogical(s_close_base)); g_filter_output_stream_set_close_base_stream(object, close_base); #else error("g_filter_output_stream_set_close_base_stream exists only in gio >= 2.20.0"); #endif return(_result); } USER_OBJECT_ S_g_async_initable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_async_initable_get_type(); _result = asRGType(ans); #else error("g_async_initable_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_async_initable_init_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GAsyncInitable* object = G_ASYNC_INITABLE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_async_initable_init_async(object, io_priority, cancellable, callback, user_data); #else error("g_async_initable_init_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_async_initable_init_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncInitable* object = G_ASYNC_INITABLE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); gboolean ans; GError* error = NULL; ans = g_async_initable_init_finish(object, res, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_async_initable_init_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_async_initable_new_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncInitable* object = G_ASYNC_INITABLE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GObject* ans; GError* error = NULL; ans = g_async_initable_new_finish(object, res, &error); _result = toRPointerWithRef(ans, "GObject"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_async_initable_new_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); gulong handler_id = ((gulong)asCNumeric(s_handler_id)); g_cancellable_disconnect(object, handler_id); #else error("g_cancellable_disconnect exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_cancellable_release_fd(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GCancellable* object = G_CANCELLABLE(getPtrValue(s_object)); g_cancellable_release_fd(object); #else error("g_cancellable_release_fd exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_can_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_can_start(object); _result = asRLogical(ans); #else error("g_drive_can_start exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_can_start_degraded(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_can_start_degraded(object); _result = asRLogical(ans); #else error("g_drive_can_start_degraded exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_can_stop(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); gboolean ans; ans = g_drive_can_stop(object); _result = asRLogical(ans); #else error("g_drive_can_stop exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_drive_eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_drive_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_drive_eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_drive_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_get_start_stop_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GDriveStartStopType ans; ans = g_drive_get_start_stop_type(object); _result = asREnum(ans, G_TYPE_DRIVE_START_STOP_TYPE); #else error("g_drive_get_start_stop_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_start(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDrive* object = G_DRIVE(getPtrValue(s_object)); GDriveStartFlags flags = ((GDriveStartFlags)asCEnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_drive_start(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_drive_start exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_start_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_drive_start_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_drive_start_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_stop(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GDrive* object = G_DRIVE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_drive_stop(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_drive_stop exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_drive_stop_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GDrive* object = G_DRIVE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_drive_stop_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_drive_stop_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = g_file_create_readwrite(object, flags, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_create_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_create_readwrite_async(object, flags, io_priority, cancellable, callback, user_data); #else error("g_file_create_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_create_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = g_file_create_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_create_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_eject_mountable_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_eject_mountable_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_file_eject_mountable_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_eject_mountable_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_eject_mountable_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_eject_mountable_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_open_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = g_file_open_readwrite(object, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_open_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_open_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_open_readwrite_async(object, io_priority, cancellable, callback, user_data); #else error("g_file_open_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_open_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = g_file_open_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_open_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_poll_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_poll_mountable(object, cancellable, callback, user_data); #else error("g_file_poll_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_poll_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_poll_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_poll_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileIOStream* ans; GError* error = NULL; ans = g_file_replace_readwrite(object, etag, make_backup, flags, cancellable, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace_readwrite exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); const char* etag = ((const char*)asCString(s_etag)); gboolean make_backup = ((gboolean)asCLogical(s_make_backup)); GFileCreateFlags flags = ((GFileCreateFlags)asCFlag(s_flags, G_TYPE_FILE_CREATE_FLAGS)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_replace_readwrite_async(object, etag, make_backup, flags, io_priority, cancellable, callback, user_data); #else error("g_file_replace_readwrite_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_replace_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* res = G_ASYNC_RESULT(getPtrValue(s_res)); GFileIOStream* ans; GError* error = NULL; ans = g_file_replace_readwrite_finish(object, res, &error); _result = toRPointerWithRef(ans, "GFileIOStream"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_replace_readwrite_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_start_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_start_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GDriveStartFlags flags = ((GDriveStartFlags)asCEnum(s_flags, G_TYPE_DRIVE_START_FLAGS)); GMountOperation* start_operation = G_MOUNT_OPERATION(getPtrValue(s_start_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_start_mountable(object, flags, start_operation, cancellable, callback, user_data); #else error("g_file_start_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_start_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_start_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_start_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_stop_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_stop_mountable(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_file_stop_mountable exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_stop_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_stop_mountable_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_stop_mountable_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_supports_thread_contexts(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); gboolean ans; ans = g_file_supports_thread_contexts(object); _result = asRLogical(ans); #else error("g_file_supports_thread_contexts exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_unmount_mountable_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFile* object = G_FILE(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_unmount_mountable_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_file_unmount_mountable_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_unmount_mountable_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFile* object = G_FILE(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_file_unmount_mountable_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_unmount_mountable_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_has_namespace(USER_OBJECT_ s_object, USER_OBJECT_ s_name_space) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* name_space = ((const char*)asCString(s_name_space)); gboolean ans; ans = g_file_info_has_namespace(object, name_space); _result = asRLogical(ans); #else error("g_file_info_has_namespace exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_status(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_status) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); GFileAttributeStatus status = ((GFileAttributeStatus)asCEnum(s_status, G_TYPE_FILE_ATTRIBUTE_STATUS)); gboolean ans; ans = g_file_info_set_attribute_status(object, attribute, status); _result = asRLogical(ans); #else error("g_file_info_set_attribute_status exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_get_attribute_stringv(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); char** ans; ans = g_file_info_get_attribute_stringv(object, attribute); _result = asRStringArray(ans); #else error("g_file_info_get_attribute_stringv exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_info_set_attribute_stringv(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileInfo* object = G_FILE_INFO(getPtrValue(s_object)); const char* attribute = ((const char*)asCString(s_attribute)); char** attr_value = ((char**)asCStringArray(s_attr_value)); g_file_info_set_attribute_stringv(object, attribute, attr_value); #else error("g_file_info_set_attribute_stringv exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_io_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_file_io_stream_get_type(); _result = asRGType(ans); #else error("g_file_io_stream_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_io_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GFileInfo* ans; GError* error = NULL; ans = g_file_io_stream_query_info(object, attributes, cancellable, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_io_stream_query_info exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_io_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); const char* attributes = ((const char*)asCString(s_attributes)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_file_io_stream_query_info_async(object, attributes, io_priority, cancellable, callback, user_data); #else error("g_file_io_stream_query_info_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_io_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GFileInfo* ans; GError* error = NULL; ans = g_file_io_stream_query_info_finish(object, result, &error); _result = toRPointerWithRef(ans, "GFileInfo"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_file_io_stream_query_info_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_file_io_stream_get_etag(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GFileIOStream* object = G_FILE_IO_STREAM(getPtrValue(s_object)); char* ans; ans = g_file_io_stream_get_etag(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_file_io_stream_get_etag exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_inet_address_get_type(); _result = asRGType(ans); #else error("g_inet_address_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_new_from_string(USER_OBJECT_ s_string) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const gchar* string = ((const gchar*)asCString(s_string)); GInetAddress* ans; ans = g_inet_address_new_from_string(string); _result = toRPointerWithRef(ans, "GInetAddress"); #else error("g_inet_address_new_from_string exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_new_from_bytes(USER_OBJECT_ s_bytes, USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const guint8* bytes = ((const guint8*)asCArray(s_bytes, guint8, asCRaw)); GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GInetAddress* ans; ans = g_inet_address_new_from_bytes(bytes, family); _result = toRPointerWithRef(ans, "GInetAddress"); #else error("g_inet_address_new_from_bytes exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_new_loopback(USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GInetAddress* ans; ans = g_inet_address_new_loopback(family); _result = toRPointerWithRef(ans, "GInetAddress"); #else error("g_inet_address_new_loopback exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_new_any(USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GInetAddress* ans; ans = g_inet_address_new_any(family); _result = toRPointerWithRef(ans, "GInetAddress"); #else error("g_inet_address_new_any exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_to_string(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gchar* ans; ans = g_inet_address_to_string(object); _result = asRString(ans); CLEANUP(g_free, ans);; #else error("g_inet_address_to_string exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_to_bytes(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); const guint8* ans; ans = g_inet_address_to_bytes(object); _result = asRRawArray(ans); #else error("g_inet_address_to_bytes exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_native_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gsize ans; ans = g_inet_address_get_native_size(object); _result = asRNumeric(ans); #else error("g_inet_address_get_native_size exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); GSocketFamily ans; ans = g_inet_address_get_family(object); _result = asREnum(ans, G_TYPE_SOCKET_FAMILY); #else error("g_inet_address_get_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_any(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_any(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_any exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_loopback(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_loopback(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_loopback exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_link_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_link_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_link_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_site_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_site_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_site_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_multicast(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_multicast(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_multicast exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_mc_global(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_mc_global(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_mc_global exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_mc_link_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_mc_link_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_mc_link_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_mc_node_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_mc_node_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_mc_node_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_mc_org_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_mc_org_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_mc_org_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_address_get_is_mc_site_local(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* object = G_INET_ADDRESS(getPtrValue(s_object)); gboolean ans; ans = g_inet_address_get_is_mc_site_local(object); _result = asRLogical(ans); #else error("g_inet_address_get_is_mc_site_local exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_initable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_initable_get_type(); _result = asRGType(ans); #else error("g_initable_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_initable_init(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInitable* object = G_INITABLE(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_initable_init(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_initable_init exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_io_stream_get_type(); _result = asRGType(ans); #else error("g_io_stream_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_get_input_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GInputStream* ans; ans = g_io_stream_get_input_stream(object); _result = toRPointerWithRef(ans, "GInputStream"); #else error("g_io_stream_get_input_stream exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_get_output_stream(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GOutputStream* ans; ans = g_io_stream_get_output_stream(object); _result = toRPointerWithRef(ans, "GOutputStream"); #else error("g_io_stream_get_output_stream exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_io_stream_close(object, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_io_stream_close exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_io_stream_close_async(object, io_priority, cancellable, callback, user_data); #else error("g_io_stream_close_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_io_stream_close_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_io_stream_close_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_is_closed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_io_stream_is_closed(object); _result = asRLogical(ans); #else error("g_io_stream_is_closed exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_has_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); gboolean ans; ans = g_io_stream_has_pending(object); _result = asRLogical(ans); #else error("g_io_stream_has_pending exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_set_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_io_stream_set_pending(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_io_stream_set_pending exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_io_stream_clear_pending(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GIOStream* object = G_IO_STREAM(getPtrValue(s_object)); g_io_stream_clear_pending(object); #else error("g_io_stream_clear_pending exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_unmount_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_unmount_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_mount_unmount_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_unmount_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_mount_unmount_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_unmount_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GMount* object = G_MOUNT(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_mount_eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_mount_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_mount_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GMount* object = G_MOUNT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_mount_eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_mount_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_address_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_network_address_get_type(); _result = asRGType(ans); #else error("g_network_address_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_address_new(USER_OBJECT_ s_hostname, USER_OBJECT_ s_port) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const gchar* hostname = ((const gchar*)asCString(s_hostname)); guint16 port = ((guint16)asCInteger(s_port)); GSocketConnectable* ans; ans = g_network_address_new(hostname, port); _result = toRPointerWithFinalizer(ans, "GSocketConnectable", (RPointerFinalizer) g_object_unref); #else error("g_network_address_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_address_parse(USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const gchar* host_and_port = ((const gchar*)asCString(s_host_and_port)); guint16 default_port = ((guint16)asCInteger(s_default_port)); GSocketConnectable* ans; GError* error = NULL; ans = g_network_address_parse(host_and_port, default_port, &error); _result = toRPointerWithRef(ans, "GSocketConnectable"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_network_address_parse exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_address_get_hostname(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GNetworkAddress* object = G_NETWORK_ADDRESS(getPtrValue(s_object)); const gchar* ans; ans = g_network_address_get_hostname(object); _result = asRString(ans); #else error("g_network_address_get_hostname exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_address_get_port(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GNetworkAddress* object = G_NETWORK_ADDRESS(getPtrValue(s_object)); guint16 ans; ans = g_network_address_get_port(object); _result = asRInteger(ans); #else error("g_network_address_get_port exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_service_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_network_service_get_type(); _result = asRGType(ans); #else error("g_network_service_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_service_new(USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const gchar* service = ((const gchar*)asCString(s_service)); const gchar* protocol = ((const gchar*)asCString(s_protocol)); const gchar* domain = ((const gchar*)asCString(s_domain)); GSocketConnectable* ans; ans = g_network_service_new(service, protocol, domain); _result = toRPointerWithFinalizer(ans, "GSocketConnectable", (RPointerFinalizer) g_object_unref); #else error("g_network_service_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_service_get_service(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GNetworkService* object = G_NETWORK_SERVICE(getPtrValue(s_object)); const gchar* ans; ans = g_network_service_get_service(object); _result = asRString(ans); #else error("g_network_service_get_service exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_service_get_protocol(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GNetworkService* object = G_NETWORK_SERVICE(getPtrValue(s_object)); const gchar* ans; ans = g_network_service_get_protocol(object); _result = asRString(ans); #else error("g_network_service_get_protocol exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_network_service_get_domain(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GNetworkService* object = G_NETWORK_SERVICE(getPtrValue(s_object)); const gchar* ans; ans = g_network_service_get_domain(object); _result = asRString(ans); #else error("g_network_service_get_domain exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_resolver_get_type(); _result = asRGType(ans); #else error("g_resolver_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_get_default(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* ans; ans = g_resolver_get_default(); _result = toRPointerWithRef(ans, "GResolver"); #else error("g_resolver_get_default exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_set_default(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); g_resolver_set_default(object); #else error("g_resolver_set_default exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* hostname = ((const gchar*)asCString(s_hostname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GList* ans; GError* error = NULL; ans = g_resolver_lookup_by_name(object, hostname, cancellable, &error); _result = asRGListWithRef(ans, "GInetAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_by_name exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_name_async(USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* hostname = ((const gchar*)asCString(s_hostname)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_resolver_lookup_by_name_async(object, hostname, cancellable, callback, user_data); #else error("g_resolver_lookup_by_name_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_name_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = g_resolver_lookup_by_name_finish(object, result, &error); _result = asRGListWithRef(ans, "GInetAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_by_name_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_free_addresses(USER_OBJECT_ s_addresses) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GList* addresses = asCGList(s_addresses); g_resolver_free_addresses(addresses); CLEANUP(g_list_free, ((GList*)addresses));; #else error("g_resolver_free_addresses exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); GInetAddress* address = G_INET_ADDRESS(getPtrValue(s_address)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gchar* ans; GError* error = NULL; ans = g_resolver_lookup_by_address(object, address, cancellable, &error); _result = asRString(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_by_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_address_async(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolver* object = G_RESOLVER(getPtrValue(s_object)); GInetAddress* address = G_INET_ADDRESS(getPtrValue(s_address)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_resolver_lookup_by_address_async(object, address, cancellable, callback, user_data); #else error("g_resolver_lookup_by_address_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_by_address_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gchar* ans; GError* error = NULL; ans = g_resolver_lookup_by_address_finish(object, result, &error); _result = asRString(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_by_address_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_service(USER_OBJECT_ s_object, USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* service = ((const gchar*)asCString(s_service)); const gchar* protocol = ((const gchar*)asCString(s_protocol)); const gchar* domain = ((const gchar*)asCString(s_domain)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GList* ans; GError* error = NULL; ans = g_resolver_lookup_service(object, service, protocol, domain, cancellable, &error); _result = asRGList(ans, "GSrvTarget"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_service exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_service_async(USER_OBJECT_ s_object, USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GResolver* object = G_RESOLVER(getPtrValue(s_object)); const gchar* service = ((const gchar*)asCString(s_service)); const gchar* protocol = ((const gchar*)asCString(s_protocol)); const gchar* domain = ((const gchar*)asCString(s_domain)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_resolver_lookup_service_async(object, service, protocol, domain, cancellable, callback, user_data); #else error("g_resolver_lookup_service_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_lookup_service_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GResolver* object = G_RESOLVER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GList* ans; GError* error = NULL; ans = g_resolver_lookup_service_finish(object, result, &error); _result = asRGList(ans, "GSrvTarget"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_list_free, ans);; CLEANUP(g_error_free, error);; #else error("g_resolver_lookup_service_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_free_targets(USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GList* targets = asCGList(s_targets); g_resolver_free_targets(targets); CLEANUP(g_list_free, ((GList*)targets));; #else error("g_resolver_free_targets exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_resolver_error_quark(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GQuark ans; ans = g_resolver_error_quark(); _result = asRGQuark(ans); #else error("g_resolver_error_quark exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_enumerator_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_address_enumerator_get_type(); _result = asRGType(ans); #else error("g_socket_address_enumerator_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_enumerator_next(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_address_enumerator_next(object, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_address_enumerator_next exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_enumerator_next_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_address_enumerator_next_async(object, cancellable, callback, user_data); #else error("g_socket_address_enumerator_next_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_enumerator_next_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddressEnumerator* object = G_SOCKET_ADDRESS_ENUMERATOR(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_address_enumerator_next_finish(object, result, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_address_enumerator_next_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_address_get_type(); _result = asRGType(ans); #else error("g_socket_address_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); GSocketFamily ans; ans = g_socket_address_get_family(object); _result = asREnum(ans, G_TYPE_SOCKET_FAMILY); #else error("g_socket_address_get_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_new_from_native(USER_OBJECT_ s_native, USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) gpointer native = ((gpointer)asCGenericData(s_native)); gsize len = ((gsize)asCNumeric(s_len)); GSocketAddress* ans; ans = g_socket_address_new_from_native(native, len); _result = toRPointerWithRef(ans, "GSocketAddress"); #else error("g_socket_address_new_from_native exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_to_native(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_destlen) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); gpointer dest = ((gpointer)asCGenericData(s_dest)); gsize destlen = ((gsize)asCNumeric(s_destlen)); gboolean ans; GError* error = NULL; ans = g_socket_address_to_native(object, dest, destlen, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_address_to_native exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_address_get_native_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketAddress* object = G_SOCKET_ADDRESS(getPtrValue(s_object)); gssize ans; ans = g_socket_address_get_native_size(object); _result = asRInteger(ans); #else error("g_socket_address_get_native_size exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_client_get_type(); _result = asRGType(ans); #else error("g_socket_client_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* ans; ans = g_socket_client_new(); _result = toRPointerWithFinalizer(ans, "GSocketClient", (RPointerFinalizer) g_object_unref); #else error("g_socket_client_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketFamily ans; ans = g_socket_client_get_family(object); _result = asREnum(ans, G_TYPE_SOCKET_FAMILY); #else error("g_socket_client_get_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_set_family(USER_OBJECT_ s_object, USER_OBJECT_ s_family) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); g_socket_client_set_family(object, family); #else error("g_socket_client_set_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_get_socket_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketType ans; ans = g_socket_client_get_socket_type(object); _result = asREnum(ans, G_TYPE_SOCKET_TYPE); #else error("g_socket_client_get_socket_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_set_socket_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketType type = ((GSocketType)asCEnum(s_type, G_TYPE_SOCKET_TYPE)); g_socket_client_set_socket_type(object, type); #else error("g_socket_client_set_socket_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_get_protocol(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketProtocol ans; ans = g_socket_client_get_protocol(object); _result = asREnum(ans, G_TYPE_SOCKET_PROTOCOL); #else error("g_socket_client_get_protocol exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_set_protocol(USER_OBJECT_ s_object, USER_OBJECT_ s_protocol) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketProtocol protocol = ((GSocketProtocol)asCEnum(s_protocol, G_TYPE_SOCKET_PROTOCOL)); g_socket_client_set_protocol(object, protocol); #else error("g_socket_client_set_protocol exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_get_local_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketAddress* ans; ans = g_socket_client_get_local_address(object); _result = toRPointerWithRef(ans, "GSocketAddress"); #else error("g_socket_client_get_local_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_set_local_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); g_socket_client_set_local_address(object, address); #else error("g_socket_client_set_local_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_connectable, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketConnectable* connectable = G_SOCKET_CONNECTABLE(getPtrValue(s_connectable)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect(object, connectable, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_host(USER_OBJECT_ s_object, USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); const gchar* host_and_port = ((const gchar*)asCString(s_host_and_port)); guint16 default_port = ((guint16)asCInteger(s_default_port)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect_to_host(object, host_and_port, default_port, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect_to_host exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_service(USER_OBJECT_ s_object, USER_OBJECT_ s_domain, USER_OBJECT_ s_service, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); const gchar* domain = ((const gchar*)asCString(s_domain)); const gchar* service = ((const gchar*)asCString(s_service)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect_to_service(object, domain, service, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect_to_service exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_async(USER_OBJECT_ s_object, USER_OBJECT_ s_connectable, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GSocketConnectable* connectable = G_SOCKET_CONNECTABLE(getPtrValue(s_connectable)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_client_connect_async(object, connectable, cancellable, callback, user_data); #else error("g_socket_client_connect_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect_finish(object, result, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_host_async(USER_OBJECT_ s_object, USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); const gchar* host_and_port = ((const gchar*)asCString(s_host_and_port)); guint16 default_port = ((guint16)asCInteger(s_default_port)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_client_connect_to_host_async(object, host_and_port, default_port, cancellable, callback, user_data); #else error("g_socket_client_connect_to_host_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_host_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect_to_host_finish(object, result, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect_to_host_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_service_async(USER_OBJECT_ s_object, USER_OBJECT_ s_domain, USER_OBJECT_ s_service, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); const gchar* domain = ((const gchar*)asCString(s_domain)); const gchar* service = ((const gchar*)asCString(s_service)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_client_connect_to_service_async(object, domain, service, cancellable, callback, user_data); #else error("g_socket_client_connect_to_service_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_client_connect_to_service_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketClient* object = G_SOCKET_CLIENT(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketConnection* ans; GError* error = NULL; ans = g_socket_client_connect_to_service_finish(object, result, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_client_connect_to_service_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connectable_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_connectable_get_type(); _result = asRGType(ans); #else error("g_socket_connectable_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connectable_enumerate(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketConnectable* object = G_SOCKET_CONNECTABLE(getPtrValue(s_object)); GSocketAddressEnumerator* ans; ans = g_socket_connectable_enumerate(object); _result = toRPointerWithRef(ans, "GSocketAddressEnumerator"); #else error("g_socket_connectable_enumerate exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_connection_get_type(); _result = asRGType(ans); #else error("g_socket_connection_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_get_socket(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketConnection* object = G_SOCKET_CONNECTION(getPtrValue(s_object)); GSocket* ans; ans = g_socket_connection_get_socket(object); _result = toRPointerWithRef(ans, "GSocket"); #else error("g_socket_connection_get_socket exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_get_local_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketConnection* object = G_SOCKET_CONNECTION(getPtrValue(s_object)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_connection_get_local_address(object, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_connection_get_local_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_get_remote_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketConnection* object = G_SOCKET_CONNECTION(getPtrValue(s_object)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_connection_get_remote_address(object, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_connection_get_remote_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_factory_register_type(USER_OBJECT_ s_g_type, USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType g_type = ((GType)asCGType(s_g_type)); GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GSocketType type = ((GSocketType)asCEnum(s_type, G_TYPE_SOCKET_TYPE)); gint protocol = ((gint)asCInteger(s_protocol)); g_socket_connection_factory_register_type(g_type, family, type, protocol); #else error("g_socket_connection_factory_register_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_factory_lookup_type(USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol_id) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GSocketType type = ((GSocketType)asCEnum(s_type, G_TYPE_SOCKET_TYPE)); gint protocol_id = ((gint)asCInteger(s_protocol_id)); GType ans; ans = g_socket_connection_factory_lookup_type(family, type, protocol_id); _result = asRGType(ans); #else error("g_socket_connection_factory_lookup_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connection_factory_create_connection(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketConnection* ans; ans = g_socket_connection_factory_create_connection(object); _result = toRPointerWithRef(ans, "GSocketConnection"); #else error("g_socket_connection_factory_create_connection exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_control_message_get_type(); _result = asRGType(ans); #else error("g_socket_control_message_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_get_size(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); gsize ans; ans = g_socket_control_message_get_size(object); _result = asRNumeric(ans); #else error("g_socket_control_message_get_size exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_get_level(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); int ans; ans = g_socket_control_message_get_level(object); _result = asRInteger(ans); #else error("g_socket_control_message_get_level exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_get_msg_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); int ans; ans = g_socket_control_message_get_msg_type(object); _result = asRInteger(ans); #else error("g_socket_control_message_get_msg_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_serialize(USER_OBJECT_ s_object, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketControlMessage* object = G_SOCKET_CONTROL_MESSAGE(getPtrValue(s_object)); gpointer data = ((gpointer)asCGenericData(s_data)); g_socket_control_message_serialize(object, data); #else error("g_socket_control_message_serialize exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_control_message_deserialize(USER_OBJECT_ s_level, USER_OBJECT_ s_type, USER_OBJECT_ s_size, USER_OBJECT_ s_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) int level = ((int)asCInteger(s_level)); int type = ((int)asCInteger(s_type)); gsize size = ((gsize)asCNumeric(s_size)); gpointer data = ((gpointer)asCGenericData(s_data)); GSocketControlMessage* ans; ans = g_socket_control_message_deserialize(level, type, size, data); _result = toRPointerWithRef(ans, "GSocketControlMessage"); #else error("g_socket_control_message_deserialize exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_get_type(); _result = asRGType(ans); #else error("g_socket_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_new(USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketFamily family = ((GSocketFamily)asCEnum(s_family, G_TYPE_SOCKET_FAMILY)); GSocketType type = ((GSocketType)asCEnum(s_type, G_TYPE_SOCKET_TYPE)); GSocketProtocol protocol = ((GSocketProtocol)asCEnum(s_protocol, G_TYPE_SOCKET_PROTOCOL)); GSocket* ans; GError* error = NULL; ans = g_socket_new(family, type, protocol, &error); _result = toRPointerWithFinalizer(ans, "GSocket", (RPointerFinalizer) g_object_unref); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_new_from_fd(USER_OBJECT_ s_fd) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) gint fd = ((gint)asCInteger(s_fd)); GSocket* ans; GError* error = NULL; ans = g_socket_new_from_fd(fd, &error); _result = toRPointerWithRef(ans, "GSocket"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_new_from_fd exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_fd(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); int ans; ans = g_socket_get_fd(object); _result = asRInteger(ans); #else error("g_socket_get_fd exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_family(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketFamily ans; ans = g_socket_get_family(object); _result = asREnum(ans, G_TYPE_SOCKET_FAMILY); #else error("g_socket_get_family exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_socket_type(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketType ans; ans = g_socket_get_socket_type(object); _result = asREnum(ans, G_TYPE_SOCKET_TYPE); #else error("g_socket_get_socket_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_protocol(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketProtocol ans; ans = g_socket_get_protocol(object); _result = asREnum(ans, G_TYPE_SOCKET_PROTOCOL); #else error("g_socket_get_protocol exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_local_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_get_local_address(object, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_get_local_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_remote_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* ans; GError* error = NULL; ans = g_socket_get_remote_address(object, &error); _result = toRPointerWithRef(ans, "GSocketAddress"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_get_remote_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_set_blocking(USER_OBJECT_ s_object, USER_OBJECT_ s_blocking) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean blocking = ((gboolean)asCLogical(s_blocking)); g_socket_set_blocking(object, blocking); #else error("g_socket_set_blocking exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_blocking(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; ans = g_socket_get_blocking(object); _result = asRLogical(ans); #else error("g_socket_get_blocking exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_set_keepalive(USER_OBJECT_ s_object, USER_OBJECT_ s_keepalive) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean keepalive = ((gboolean)asCLogical(s_keepalive)); g_socket_set_keepalive(object, keepalive); #else error("g_socket_set_keepalive exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_keepalive(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; ans = g_socket_get_keepalive(object); _result = asRLogical(ans); #else error("g_socket_get_keepalive exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_get_listen_backlog(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gint ans; ans = g_socket_get_listen_backlog(object); _result = asRInteger(ans); #else error("g_socket_get_listen_backlog exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_set_listen_backlog(USER_OBJECT_ s_object, USER_OBJECT_ s_backlog) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gint backlog = ((gint)asCInteger(s_backlog)); g_socket_set_listen_backlog(object, backlog); #else error("g_socket_set_listen_backlog exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_is_connected(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; ans = g_socket_is_connected(object); _result = asRLogical(ans); #else error("g_socket_is_connected exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_bind(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_allow_reuse) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); gboolean allow_reuse = ((gboolean)asCLogical(s_allow_reuse)); gboolean ans; GError* error = NULL; ans = g_socket_bind(object, address, allow_reuse, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_bind exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_socket_connect(object, address, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_connect exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_check_connect_result(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_socket_check_connect_result(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_check_connect_result exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_condition_check(USER_OBJECT_ s_object, USER_OBJECT_ s_condition) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GIOCondition condition = ((GIOCondition)asCEnum(s_condition, G_TYPE_IO_CONDITION)); GIOCondition ans; ans = g_socket_condition_check(object, condition); _result = asREnum(ans, G_TYPE_IO_CONDITION); #else error("g_socket_condition_check exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_condition_wait(USER_OBJECT_ s_object, USER_OBJECT_ s_condition, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GIOCondition condition = ((GIOCondition)asCEnum(s_condition, G_TYPE_IO_CONDITION)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; GError* error = NULL; ans = g_socket_condition_wait(object, condition, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_condition_wait exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_accept(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocket* ans; GError* error = NULL; ans = g_socket_accept(object, cancellable, &error); _result = toRPointerWithRef(ans, "GSocket"); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_accept exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listen(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_socket_listen(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_listen exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_send(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); const gchar* buffer = ((const gchar*)asCString(s_buffer)); gsize size = ((gsize)asCNumeric(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_socket_send(object, buffer, size, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_send exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_send_to(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_buffer, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); const gchar* buffer = ((const gchar*)asCString(s_buffer)); gsize size = ((gsize)asCNumeric(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_socket_send_to(object, address, buffer, size, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_send_to exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_close(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; GError* error = NULL; ans = g_socket_close(object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_close exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_shutdown(USER_OBJECT_ s_object, USER_OBJECT_ s_shutdown_read, USER_OBJECT_ s_shutdown_write) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean shutdown_read = ((gboolean)asCLogical(s_shutdown_read)); gboolean shutdown_write = ((gboolean)asCLogical(s_shutdown_write)); gboolean ans; GError* error = NULL; ans = g_socket_shutdown(object, shutdown_read, shutdown_write, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_shutdown exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_is_closed(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; ans = g_socket_is_closed(object); _result = asRLogical(ans); #else error("g_socket_is_closed exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_create_source(USER_OBJECT_ s_object, USER_OBJECT_ s_condition, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GIOCondition condition = ((GIOCondition)asCEnum(s_condition, G_TYPE_IO_CONDITION)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSource* ans; ans = g_socket_create_source(object, condition, cancellable); _result = toRPointer(ans, "GSource"); #else error("g_socket_create_source exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_speaks_ipv4(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gboolean ans; ans = g_socket_speaks_ipv4(object); _result = asRLogical(ans); #else error("g_socket_speaks_ipv4 exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_listener_get_type(); _result = asRGType(ans); #else error("g_socket_listener_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* ans; ans = g_socket_listener_new(); _result = toRPointerWithFinalizer(ans, "GSocketListener", (RPointerFinalizer) g_object_unref); #else error("g_socket_listener_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_set_backlog(USER_OBJECT_ s_object, USER_OBJECT_ s_listen_backlog) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); int listen_backlog = ((int)asCInteger(s_listen_backlog)); g_socket_listener_set_backlog(object, listen_backlog); #else error("g_socket_listener_set_backlog exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_add_socket(USER_OBJECT_ s_object, USER_OBJECT_ s_socket, USER_OBJECT_ s_source_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GSocket* socket = G_SOCKET(getPtrValue(s_socket)); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); gboolean ans; GError* error = NULL; ans = g_socket_listener_add_socket(object, socket, source_object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_listener_add_socket exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_add_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol, USER_OBJECT_ s_source_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); GSocketType type = ((GSocketType)asCEnum(s_type, G_TYPE_SOCKET_TYPE)); GSocketProtocol protocol = ((GSocketProtocol)asCEnum(s_protocol, G_TYPE_SOCKET_PROTOCOL)); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); gboolean ans; GSocketAddress* effective_address = NULL; GError* error = NULL; ans = g_socket_listener_add_address(object, address, type, protocol, source_object, &effective_address, &error); _result = asRLogical(ans); _result = retByVal(_result, "effective.address", toRPointerWithRef(effective_address, "GSocketAddress"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_listener_add_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_add_inet_port(USER_OBJECT_ s_object, USER_OBJECT_ s_port, USER_OBJECT_ s_source_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); guint16 port = ((guint16)asCInteger(s_port)); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); gboolean ans; GError* error = NULL; ans = g_socket_listener_add_inet_port(object, port, source_object, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_listener_add_inet_port exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept_socket(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocket* ans; GObject* source_object = NULL; GError* error = NULL; ans = g_socket_listener_accept_socket(object, &source_object, cancellable, &error); _result = toRPointerWithRef(ans, "GSocket"); _result = retByVal(_result, "source.object", toRPointerWithRef(source_object, "GObject"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_listener_accept_socket exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept_socket_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_listener_accept_socket_async(object, cancellable, callback, user_data); #else error("g_socket_listener_accept_socket_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept_socket_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocket* ans; GObject* source_object = NULL; GError* error = NULL; ans = g_socket_listener_accept_socket_finish(object, result, &source_object, &error); _result = toRPointerWithRef(ans, "GSocket"); _result = retByVal(_result, "source.object", toRPointerWithRef(source_object, "GObject"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_listener_accept_socket_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); GSocketConnection* ans; GObject* source_object = NULL; GError* error = NULL; ans = g_socket_listener_accept(object, &source_object, cancellable, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "source.object", toRPointerWithRef(source_object, "GObject"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_listener_accept exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_socket_listener_accept_async(object, cancellable, callback, user_data); #else error("g_socket_listener_accept_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_accept_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); GSocketConnection* ans; GObject* source_object = NULL; GError* error = NULL; ans = g_socket_listener_accept_finish(object, result, &source_object, &error); _result = toRPointerWithRef(ans, "GSocketConnection"); _result = retByVal(_result, "source.object", toRPointerWithRef(source_object, "GObject"), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_listener_accept_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_listener_close(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketListener* object = G_SOCKET_LISTENER(getPtrValue(s_object)); g_socket_listener_close(object); #else error("g_socket_listener_close exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_service_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_socket_service_get_type(); _result = asRGType(ans); #else error("g_socket_service_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_service_new(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketService* ans; ans = g_socket_service_new(); _result = toRPointerWithFinalizer(ans, "GSocketService", (RPointerFinalizer) g_object_unref); #else error("g_socket_service_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_service_start(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketService* object = G_SOCKET_SERVICE(getPtrValue(s_object)); g_socket_service_start(object); #else error("g_socket_service_start exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_service_stop(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketService* object = G_SOCKET_SERVICE(getPtrValue(s_object)); g_socket_service_stop(object); #else error("g_socket_service_stop exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_service_is_active(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocketService* object = G_SOCKET_SERVICE(getPtrValue(s_object)); gboolean ans; ans = g_socket_service_is_active(object); _result = asRLogical(ans); #else error("g_socket_service_is_active exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_srv_target_get_type(); _result = asRGType(ans); #else error("g_srv_target_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_new(USER_OBJECT_ s_hostname, USER_OBJECT_ s_port, USER_OBJECT_ s_priority, USER_OBJECT_ s_weight) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) const gchar* hostname = ((const gchar*)asCString(s_hostname)); guint16 port = ((guint16)asCInteger(s_port)); guint16 priority = ((guint16)asCInteger(s_priority)); guint16 weight = ((guint16)asCInteger(s_weight)); GSrvTarget* ans; ans = g_srv_target_new(hostname, port, priority, weight); _result = toRPointer(ans, "GSrvTarget"); #else error("g_srv_target_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_copy(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); GSrvTarget* ans; ans = g_srv_target_copy(object); _result = toRPointer(ans ? (ans) : NULL, "GSrvTarget"); #else error("g_srv_target_copy exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_free(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); g_srv_target_free(object); #else error("g_srv_target_free exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_get_hostname(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); const gchar* ans; ans = g_srv_target_get_hostname(object); _result = asRString(ans); #else error("g_srv_target_get_hostname exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_get_port(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); guint16 ans; ans = g_srv_target_get_port(object); _result = asRInteger(ans); #else error("g_srv_target_get_port exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_get_priority(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); guint16 ans; ans = g_srv_target_get_priority(object); _result = asRInteger(ans); #else error("g_srv_target_get_priority exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_get_weight(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSrvTarget* object = ((GSrvTarget*)getPtrValue(s_object)); guint16 ans; ans = g_srv_target_get_weight(object); _result = asRInteger(ans); #else error("g_srv_target_get_weight exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_srv_target_list_sort(USER_OBJECT_ s_targets) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GList* targets = asCGList(s_targets); GList* ans; ans = g_srv_target_list_sort(targets); _result = asRGList(ans, "GSrvTarget"); CLEANUP(g_list_free, ans);; CLEANUP(g_list_free, ((GList*)targets));; #else error("g_srv_target_list_sort exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_threaded_socket_service_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_threaded_socket_service_get_type(); _result = asRGType(ans); #else error("g_threaded_socket_service_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_threaded_socket_service_new(USER_OBJECT_ s_max_threads) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) int max_threads = ((int)asCInteger(s_max_threads)); GSocketService* ans; ans = g_threaded_socket_service_new(max_threads); _result = toRPointerWithFinalizer(ans, "GSocketService", (RPointerFinalizer) g_object_unref); #else error("g_threaded_socket_service_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GVolume* object = G_VOLUME(getPtrValue(s_object)); GMountUnmountFlags flags = ((GMountUnmountFlags)asCFlag(s_flags, G_TYPE_MOUNT_UNMOUNT_FLAGS)); GMountOperation* mount_operation = G_MOUNT_OPERATION(getPtrValue(s_mount_operation)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); g_volume_eject_with_operation(object, flags, mount_operation, cancellable, callback, user_data); #else error("g_volume_eject_with_operation exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_volume_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GVolume* object = G_VOLUME(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); gboolean ans; GError* error = NULL; ans = g_volume_eject_with_operation_finish(object, result, &error); _result = asRLogical(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_volume_eject_with_operation_finish exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_socket_address_new(USER_OBJECT_ s_address, USER_OBJECT_ s_port) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetAddress* address = G_INET_ADDRESS(getPtrValue(s_address)); guint16 port = ((guint16)asCInteger(s_port)); GSocketAddress* ans; ans = g_inet_socket_address_new(address, port); _result = toRPointerWithFinalizer(ans, "GSocketAddress", (RPointerFinalizer) g_object_unref); #else error("g_inet_socket_address_new exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_socket_address_get_address(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetSocketAddress* object = G_INET_SOCKET_ADDRESS(getPtrValue(s_object)); GInetAddress* ans; ans = g_inet_socket_address_get_address(object); _result = toRPointerWithRef(ans, "GInetAddress"); #else error("g_inet_socket_address_get_address exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_inet_socket_address_get_port(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GInetSocketAddress* object = G_INET_SOCKET_ADDRESS(getPtrValue(s_object)); guint16 ans; ans = g_inet_socket_address_get_port(object); _result = asRInteger(ans); #else error("g_inet_socket_address_get_port exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_tcp_connection_get_type(void) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType ans; ans = g_tcp_connection_get_type(); _result = asRGType(ans); #else error("g_tcp_connection_get_type exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_tcp_connection_set_graceful_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_graceful_disconnect) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GTcpConnection* object = G_TCP_CONNECTION(getPtrValue(s_object)); gboolean graceful_disconnect = ((gboolean)asCLogical(s_graceful_disconnect)); g_tcp_connection_set_graceful_disconnect(object, graceful_disconnect); #else error("g_tcp_connection_set_graceful_disconnect exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_tcp_connection_get_graceful_disconnect(USER_OBJECT_ s_object) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GTcpConnection* object = G_TCP_CONNECTION(getPtrValue(s_object)); gboolean ans; ans = g_tcp_connection_get_graceful_disconnect(object); _result = asRLogical(ans); #else error("g_tcp_connection_get_graceful_disconnect exists only in gio >= 2.22.0"); #endif return(_result); } RGtk2/src/gioAccessors.c0000644000176000001440000000156412362467242014630 0ustar ripleyusers#include #include USER_OBJECT_ S_GFileAttributeInfoListGetInfos (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList *obj; GFileAttributeInfo* val; obj = ((GFileAttributeInfoList*)getPtrValue(s_obj)) ; val = obj->infos; _result = asRArrayRefWithSize(val, asRGFileAttributeInfo, obj->n_infos); #else error("infos exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_GFileAttributeInfoListGetNInfos (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GFileAttributeInfoList *obj; int val; obj = ((GFileAttributeInfoList*)getPtrValue(s_obj)) ; val = obj->n_infos; _result = asRInteger(val); #else error("n_infos exists only in gio >= 2.16.0"); #endif return(_result); } RGtk2/src/cairoUserFuncs.c0000644000176000001440000000143412362467242015133 0ustar ripleyusers#include "RGtk2/cairoUserFuncs.h" cairo_status_t S_cairo_write_func_t(gpointer s_closure, const guchar* s_data, guint s_length) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3+((R_CallbackData *)s_closure)->useData)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_closure)->function); tmp = CDR(tmp); SETCAR(tmp, asRRawArrayWithSize(s_data, s_length)); tmp = CDR(tmp); SETCAR(tmp, asRNumeric(s_length)); tmp = CDR(tmp); if(((R_CallbackData *)s_closure)->useData) { SETCAR(tmp, ((R_CallbackData *)s_closure)->data); tmp = CDR(tmp); } s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); if(err) return(((cairo_status_t)0)); return(((cairo_status_t)asCEnum(s_ans, CAIRO_TYPE_STATUS))); } RGtk2/src/zcompat.c0000644000176000001440000000163312362467242013656 0ustar ripleyusers#include "RGtk2/gtk.h" USER_OBJECT_ R_gtkCListGetText(USER_OBJECT_ clist, USER_OBJECT_ dims) { char *tmp; SEXP ans; int n, i, ctr; GtkCList *w; w = GTK_CLIST(getPtrValue(clist)); n = Rf_length(dims)/2; PROTECT(ans = NEW_CHARACTER(n)); for(i = 0, ctr = 0; i < n; i++, ctr += 2) { gtk_clist_get_text(w, INTEGER(dims)[ctr], INTEGER(dims)[ctr + 1], &tmp); if(tmp && tmp[0]) SET_STRING_ELT(ans, i, COPY_TO_USER_STRING(tmp)); } UNPROTECT(1); return(ans); } USER_OBJECT_ R_gtkCListSetText(USER_OBJECT_ clist, USER_OBJECT_ dims, USER_OBJECT_ vals) { const char *tmp; SEXP ans = NULL_USER_OBJECT; int n, i, ctr; GtkCList *w; w = GTK_CLIST(getPtrValue(clist)); n = Rf_length(vals); for(i = 0, ctr = 0; i < n; i++, ctr += 2) { tmp = asCString(STRING_ELT(vals, i)); gtk_clist_set_text(w, INTEGER(dims)[i], INTEGER(dims)[i + n], tmp); } return(ans); } RGtk2/src/cairo-enums.h0000644000176000001440000000462112362467242014430 0ustar ripleyusers /* Generated data (by glib-mkenums) */ #ifndef __CAIRO_ENUM_TYPES_H__ #define __CAIRO_ENUM_TYPES_H__ #include G_BEGIN_DECLS /* enumerations from "cairo-1.8.h" */ GType cairo_status_get_type (void); #define CAIRO_TYPE_STATUS (cairo_status_get_type()) GType cairo_content_get_type (void); #define CAIRO_TYPE_CONTENT (cairo_content_get_type()) GType cairo_operator_get_type (void); #define CAIRO_TYPE_OPERATOR (cairo_operator_get_type()) GType cairo_antialias_get_type (void); #define CAIRO_TYPE_ANTIALIAS (cairo_antialias_get_type()) GType cairo_fill_rule_get_type (void); #define CAIRO_TYPE_FILL_RULE (cairo_fill_rule_get_type()) GType cairo_line_cap_get_type (void); #define CAIRO_TYPE_LINE_CAP (cairo_line_cap_get_type()) GType cairo_line_join_get_type (void); #define CAIRO_TYPE_LINE_JOIN (cairo_line_join_get_type()) GType cairo_text_cluster_flags_get_type (void); #define CAIRO_TYPE_TEXT_CLUSTER_FLAGS (cairo_text_cluster_flags_get_type()) GType cairo_font_slant_get_type (void); #define CAIRO_TYPE_FONT_SLANT (cairo_font_slant_get_type()) GType cairo_font_weight_get_type (void); #define CAIRO_TYPE_FONT_WEIGHT (cairo_font_weight_get_type()) GType cairo_subpixel_order_get_type (void); #define CAIRO_TYPE_SUBPIXEL_ORDER (cairo_subpixel_order_get_type()) GType cairo_hint_style_get_type (void); #define CAIRO_TYPE_HINT_STYLE (cairo_hint_style_get_type()) GType cairo_hint_metrics_get_type (void); #define CAIRO_TYPE_HINT_METRICS (cairo_hint_metrics_get_type()) GType cairo_font_type_get_type (void); #define CAIRO_TYPE_FONT_TYPE (cairo_font_type_get_type()) GType cairo_path_data_type_get_type (void); #define CAIRO_TYPE_PATH_DATA_TYPE (cairo_path_data_type_get_type()) GType cairo_surface_type_get_type (void); #define CAIRO_TYPE_SURFACE_TYPE (cairo_surface_type_get_type()) GType cairo_format_get_type (void); #define CAIRO_TYPE_FORMAT (cairo_format_get_type()) GType cairo_pattern_type_get_type (void); #define CAIRO_TYPE_PATTERN_TYPE (cairo_pattern_type_get_type()) GType cairo_extend_get_type (void); #define CAIRO_TYPE_EXTEND (cairo_extend_get_type()) GType cairo_filter_get_type (void); #define CAIRO_TYPE_FILTER (cairo_filter_get_type()) GType cairo_svg_version_get_type (void); #define CAIRO_TYPE_SVG_VERSION (cairo_svg_version_get_type()) GType cairo_ps_level_get_type (void); #define CAIRO_TYPE_PS_LEVEL (cairo_ps_level_get_type()) G_END_DECLS #endif /* __CAIRO_ENUM_TYPES_H__ */ /* Generated data ends here */ RGtk2/src/Rgtk.c0000644000176000001440000001212212362467242013103 0ustar ripleyusers#include "RGtk2/gtk.h" #ifdef G_OS_WIN32 #include #else #include #include #include #include #define CSTACK_DEFNS #include #endif void R_gtk_eventHandler(void *userData) { // FIXME: this is an infinite loop when there are idle tasks, do we // still need the gtk_events_pending()? // It seems we do; if the events are not flushed, this handler is // continually invoked. while (gtk_events_pending()) gtk_main_iteration(); } #ifdef G_OS_WIN32 #if R_VERSION < R_Version(2,8,0) #include extern __declspec(dllimport) void (* R_tcldo)(); void R_gtk_handle_events() { R_gtk_eventHandler(NULL); } #else /* On Windows, run the GTK+ event loop in a separate thread, synchronizing through the Windows event loop on the main thread. This currently doesn't handle timed tasks. More to come later on an overhaul of the R event loop. */ /* should exist win2k/xp and later, but mingw does not have it */ #define HWND_MESSAGE ((HWND)-3) #define RGTK2_TIMER_ID 0 #define RGTK2_TIMER_DELAY 50 static HWND win; VOID CALLBACK R_gtk_timer_proc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) { R_gtk_eventHandler(NULL); } #endif // R < 2.8.0 #else static InputHandler *eventLoopInputHandler = NULL; static GThread *eventLoopThread = NULL; static GMainLoop *eventLoopMain = NULL; static int fired = 0; static int ifd, ofd; gboolean R_gtk_timerFunc(gpointer data) { if (!fired) { gchar buf[16]; fired = 1; *buf = 0; //Rprintf("Timer firing\n"); if (!write(ofd, buf, 1)) { g_critical("Timer failed to write to pipe; disabling timer"); return FALSE; } } return TRUE; } gpointer R_gtk_timerThreadFunc(gpointer data) { GMainContext *ctx = g_main_context_new(); eventLoopMain = g_main_loop_new(ctx, FALSE); GSource *timeout = g_timeout_source_new(100); //g_timeout_add(100, R_gtk_timerFunc, NULL); g_source_set_callback(timeout, R_gtk_timerFunc, NULL, NULL); g_source_attach(timeout, ctx); g_main_loop_run(eventLoopMain); g_source_destroy(timeout); g_main_loop_unref(eventLoopMain); g_main_context_unref(ctx); return 0; } void R_gtk_timerInputHandler(void *userData) { gchar buf[16]; //Rprintf("Input handler hit\n"); if (!read(ifd, buf, 16)) g_critical("Input handler failed to read from pipe"); //Rprintf("Handling events\n"); R_gtk_eventHandler(NULL); //Rprintf("Events handled\n"); fired = 0; } #endif // Windows void R_gtkInit(long *rargc, char **rargv, Rboolean *success) { int argc; argc = (int) *rargc; if (!gdk_display_get_default()) { gtk_disable_setlocale(); if (!gtk_init_check(&argc, &rargv)) { *success = FALSE; return; } } #ifndef G_OS_WIN32 { int fds[2]; if (!GDK_DISPLAY()) { *success = FALSE; return; } addInputHandler(R_InputHandlers, ConnectionNumber(GDK_DISPLAY()), R_gtk_eventHandler, -1); /* Experimental timer-based piping to a file descriptor */ #ifdef G_THREADS_ENABLED #ifndef __FreeBSD__ if (!pipe(fds)) { ifd = fds[0]; ofd = fds[1]; eventLoopInputHandler = addInputHandler(R_InputHandlers, ifd, R_gtk_timerInputHandler, 32); if (!g_thread_supported ()) g_thread_init (NULL); eventLoopThread = g_thread_create(R_gtk_timerThreadFunc, NULL, TRUE, NULL); R_CStackLimit = -1; } else g_warning("Failed to establish pipe; " "disabling timer-based event handling"); #endif #endif } #else #if R_VERSION < R_Version(2,8,0) R_tcldo = R_gtk_handle_events; #else /* Create a dummy window for receiving messages */ LPCTSTR class = "RGtk2"; HINSTANCE instance = GetModuleHandle(NULL); WNDCLASS wndclass = { 0, DefWindowProc, 0, 0, instance, NULL, 0, 0, NULL, class }; RegisterClass(&wndclass); win = CreateWindow(class, NULL, 0, 1, 1, 1, 1, HWND_MESSAGE, NULL, instance, NULL); SetTimer(win, RGTK2_TIMER_ID, RGTK2_TIMER_DELAY, (TIMERPROC)R_gtk_timer_proc); #endif // R < 2.8.0 #endif // Windows R_GTK_TYPE_PARAM_SEXP; g_value_register_transform_func(G_TYPE_DOUBLE, G_TYPE_STRING, transformDoubleString); g_value_register_transform_func(G_TYPE_INT, G_TYPE_STRING, transformIntString); g_value_register_transform_func(G_TYPE_BOOLEAN, G_TYPE_STRING, transformBooleanString); *success = TRUE; } void R_gtkCleanup() { #ifndef G_OS_WIN32 removeInputHandler(&R_InputHandlers, eventLoopInputHandler); g_main_loop_quit(eventLoopMain); g_thread_join(eventLoopThread); close(ifd); close(ofd); #else DestroyWindow(win); #endif } #include void R_init_RGtk2(DllInfo *dll) { #include "exports/gobjectExports.c" #include "exports/gioExports.c" #include "exports/atkExports.c" #include "exports/cairoExports.c" #include "exports/pangoExports.c" #include "exports/gtkExports.c" } RGtk2/src/Makevars.win0000644000176000001440000000101611766145227014323 0ustar ripleyusersPKG_CPPFLAGS=-D_R_=1 -DUSE_R=1 -mms-bitfields -I$(GTK_PATH)/include/gtk-2.0 -I$(GTK_PATH)/lib/gtk-2.0/include -I$(GTK_PATH)/include/atk-1.0 -I$(GTK_PATH)/include/cairo -I$(GTK_PATH)/include/pango-1.0 -I$(GTK_PATH)/include/glib-2.0 -I$(GTK_PATH)/lib/glib-2.0/include -I$(GTK_PATH)/include/libxml2 -I$(GTK_PATH)/include/gdk-pixbuf-2.0 -I$(GTK_PATH)/include -I. PKG_LIBS=-L$(GTK_PATH)/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lintl RGtk2/src/RGtkDataFrame.h0000644000176000001440000000203012362467242014612 0ustar ripleyusers#include "RGtk2/gtk.h" #define R_GTK_TYPE_DATA_FRAME (r_gtk_data_frame_get_type ()) #define R_GTK_DATA_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), R_GTK_TYPE_DATA_FRAME, RGtkDataFrame)) #define R_GTK_DATA_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), R_GTK_TYPE_DATA_FRAME, RGtkDataFrameClass)) #define R_GTK_IS_DATA_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), R_GTK_TYPE_DATA_FRAME)) #define R_GTK_IS_DATA_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), R_GTK_TYPE_DATA_FRAME)) #define R_GTK_DATA_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), R_GTK_TYPE_DATA_FRAME, RGtkDataFrameClass)) typedef struct _RGtkDataFrame RGtkDataFrame; typedef struct _RGtkDataFrameClass RGtkDataFrameClass; struct _RGtkDataFrame { GObject parent; /*< private >*/ gint stamp; USER_OBJECT_ frame; USER_OBJECT_ sort_closure; USER_OBJECT_ factors; gint sort_id; GtkSortType sort_order; gint nrows; }; struct _RGtkDataFrameClass { GObjectClass parent_class; }; RGtk2/src/pangoManuals.c0000644000176000001440000001333312362467242014626 0ustar ripleyusers#include "RGtk2/pango.h" /* reason: hide string length (bytes) and allocate PangoLogAttr array. */ USER_OBJECT_ S_pango_get_log_attrs (USER_OBJECT_ s_text, USER_OBJECT_ s_level, USER_OBJECT_ s_language ) { const char* text = asCString(s_text); int length = strlen(text); int level = asCInteger(s_level); PangoLanguage* language = (PangoLanguage*)getPtrValue(s_language); PangoLogAttr* log_attrs; int attrs_len = g_utf8_strlen(text, length) + 1; USER_OBJECT_ _result = NULL_USER_OBJECT; log_attrs = (PangoLogAttr*)R_alloc(attrs_len, sizeof(PangoLogAttr)); pango_get_log_attrs(text, length, level, language, log_attrs, attrs_len); _result = retByVal(_result, "log.attrs", asRStructArrayWithSize(log_attrs, "PangoLogAttr", attrs_len), NULL); return(_result); } USER_OBJECT_ S_pango_break ( USER_OBJECT_ s_text, USER_OBJECT_ s_analysis ) { const gchar* text = asCString(s_text); gint length = -1; PangoAnalysis* analysis = (PangoAnalysis*)getPtrValue(s_analysis) ; PangoLogAttr* attrs; int attrs_len = g_utf8_strlen(text, length) + 1; USER_OBJECT_ _result = NULL_USER_OBJECT; attrs = ( PangoLogAttr* )R_alloc(attrs_len, sizeof( PangoLogAttr )) ; pango_break ( text, length, analysis, attrs, attrs_len ); _result = retByVal(_result, "attrs", asRStructArrayWithSize(attrs, "PangoLogAttr", attrs_len), NULL); return(_result); } USER_OBJECT_ S_pango_glyph_string_get_logical_widths ( USER_OBJECT_ s_object, USER_OBJECT_ s_text, USER_OBJECT_ s_embedding_level ) { PangoGlyphString* object = (PangoGlyphString*)getPtrValue(s_object) ; const char* text = asCString(s_text); int length, widths_len; int embedding_level = asCInteger(s_embedding_level); USER_OBJECT_ _result = NULL_USER_OBJECT; int* logical_widths; length = strlen(text); widths_len = g_utf8_strlen(text, length); logical_widths = (int *)R_alloc(widths_len, sizeof(int)); pango_glyph_string_get_logical_widths ( object, text, length, embedding_level, logical_widths ); _result = retByVal(_result, "logical.widths", asRIntegerArrayWithSize ( logical_widths, widths_len ), NULL); return(_result); } /* reason: need to obtain size of returned arrays using specific method */ USER_OBJECT_ S_pango_tab_array_get_tabs ( USER_OBJECT_ s_object ) { PangoTabArray* object = (PangoTabArray*)getPtrValue(s_object) ; USER_OBJECT_ _result = NULL_USER_OBJECT; int size; PangoTabAlign* alignments = NULL ; gint* locations = NULL ; pango_tab_array_get_tabs ( object, &alignments, &locations ); size = pango_tab_array_get_size(object); _result = retByVal(_result, "alignments", asRIntegerArrayWithSize ( alignments, size ), "locations", asRIntegerArrayWithSize ( locations, size ), NULL); return(_result); } /* reason: functional way to create a reference to a PangoMatrix does not exist in API */ USER_OBJECT_ S_pango_matrix_init() { PangoMatrix matrix = PANGO_MATRIX_INIT; PangoMatrix *newMatrix = pango_matrix_copy(&matrix); return(toRPointerWithFinalizer(newMatrix, "PangoMatrix", (RPointerFinalizer)pango_matrix_free)); } /* reason: should not free internal list of lines */ USER_OBJECT_ S_pango_layout_get_lines(USER_OBJECT_ s_object) { PangoLayout* object = PANGO_LAYOUT(getPtrValue(s_object)); GSList* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = pango_layout_get_lines(object); _result = asRGSList(ans, "PangoLayoutLine"); return(_result); } /* reason: PangoFontDescription requires special allocation function */ USER_OBJECT_ S_pango_attr_iterator_get_font(USER_OBJECT_ s_object) { PangoAttrIterator* object = (PangoAttrIterator*)getPtrValue(s_object); USER_OBJECT_ _result = NULL_USER_OBJECT; PangoFontDescription* desc = pango_font_description_new(); PangoLanguage* language = NULL; GSList* extra_attrs = NULL; pango_attr_iterator_get_font(object, desc, &language, &extra_attrs); _result = retByVal(_result, "desc", toRPointerWithFinalizer(desc, "PangoFontDescription", (RPointerFinalizer) pango_font_description_free), "language", toRPointer(language, "PangoLanguage"), "extra.attrs", asRGSListWithFinalizer(extra_attrs, "PangoAttribute", (RPointerFinalizer) pango_attribute_destroy), NULL); CLEANUP(g_slist_free, extra_attrs); return(_result); } /* Retrieve compile-time version information for Pango */ USER_OBJECT_ boundPangoVersion(void) { USER_OBJECT_ version; version = NEW_INTEGER(3); #if PANGO_CHECK_VERSION(1, 15, 0) INTEGER(version)[0] = PANGO_VERSION_MAJOR; INTEGER(version)[1] = PANGO_VERSION_MINOR; INTEGER(version)[2] = PANGO_VERSION_MICRO; #else INTEGER(version)[0] = 1; INTEGER(version)[1] = 10; INTEGER(version)[2] = 0; #endif return(version); } /* pre-allocation of logical_widths */ USER_OBJECT_ S_pango_glyph_item_get_logical_widths(USER_OBJECT_ s_glyph_item, USER_OBJECT_ s_text) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if PANGO_CHECK_VERSION(1, 26, 0) PangoGlyphItem* glyph_item = ((PangoGlyphItem*)getPtrValue(s_glyph_item)); const char* text = ((const char*)asCString(s_text)); int *logical_widths = (int*)R_alloc(glyph_item->item->num_chars, sizeof(int)); pango_glyph_item_get_logical_widths(glyph_item, text, logical_widths); _result = retByVal(_result, "logical.widths", asRIntegerArrayWithSize(logical_widths, glyph_item->item->num_chars), NULL); ; #else error("pango_glyph_item_get_logical_widths exists only in Pango >= 1.26.0"); #endif return(_result); } RGtk2/src/RGtkDataFrame.c0000644000176000001440000004703412362467242014622 0ustar ripleyusers#include "RGtkDataFrame.h" #define VALID_ITER(iter, data_frame) ((iter)!= NULL && data_frame->stamp == (iter)->stamp && GPOINTER_TO_INT((iter)->user_data) < r_gtk_data_frame_get_n_rows(data_frame)) static void r_gtk_data_frame_init (RGtkDataFrame *data_frame); static void r_gtk_data_frame_class_init (RGtkDataFrameClass *class); static void r_gtk_data_frame_tree_model_init (GtkTreeModelIface *iface); /*static void r_gtk_data_frame_drag_source_init (GtkTreeDragSourceIface *iface); static void r_gtk_data_frame_drag_dest_init (GtkTreeDragDestIface *iface);*/ static void r_gtk_data_frame_sortable_init (GtkTreeSortableIface *iface); static void r_gtk_data_frame_finalize (GObject *object); static GtkTreeModelFlags r_gtk_data_frame_get_flags (GtkTreeModel *tree_model); static gint r_gtk_data_frame_get_n_columns (GtkTreeModel *tree_model); static GType r_gtk_data_frame_get_column_type (GtkTreeModel *tree_model, gint index); static gboolean r_gtk_data_frame_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path); static GtkTreePath *r_gtk_data_frame_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter); static void r_gtk_data_frame_get_value (GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value); static gboolean r_gtk_data_frame_iter_next (GtkTreeModel *tree_model, GtkTreeIter *iter); static gboolean r_gtk_data_frame_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent); static gboolean r_gtk_data_frame_iter_has_child (GtkTreeModel *tree_model, GtkTreeIter *iter); static gint r_gtk_data_frame_iter_n_children (GtkTreeModel *tree_model, GtkTreeIter *iter); static gboolean r_gtk_data_frame_iter_nth_child (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, gint n); static gboolean r_gtk_data_frame_iter_parent (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child); static gboolean r_gtk_data_frame_has_default_sort_func (GtkTreeSortable *sortable); static void r_gtk_data_frame_set_default_sort_func (GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GtkDestroyNotify destroy_func); static void r_gtk_data_frame_set_sort_func (GtkTreeSortable *sortable, gint sort_col_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GtkDestroyNotify destroy_func); static void r_gtk_data_frame_set_sort_column_id (GtkTreeSortable *sortable, gint sort_col_id, GtkSortType order); static gboolean r_gtk_data_frame_get_sort_column_id (GtkTreeSortable *sortable, gint *sort_col_id, GtkSortType *order); static void r_gtk_data_frame_resort (RGtkDataFrame *frame); static void r_gtk_data_frame_set_sort_closure (RGtkDataFrame *frame, USER_OBJECT_ closure); RGtkDataFrame * r_gtk_data_frame_new (USER_OBJECT_ frame, USER_OBJECT_ sort_closure); static USER_OBJECT_ r_gtk_data_frame_get (RGtkDataFrame *data_frame); static gint r_gtk_data_frame_get_n_rows (RGtkDataFrame *data_frame); static void r_gtk_data_frame_set (RGtkDataFrame *data_frame, USER_OBJECT_ frame, gint *changed_rows, gint nrows, gboolean resort); static void r_gtk_data_frame_remove (RGtkDataFrame *data_frame, USER_OBJECT_ frame, gint *deleted_rows, gint nrows); GType r_gtk_data_frame_get_type (void) { static GType data_frame_type = 0; if (!data_frame_type) { static const GTypeInfo data_frame_info = { sizeof (RGtkDataFrameClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) r_gtk_data_frame_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (RGtkDataFrame), 0, (GInstanceInitFunc) r_gtk_data_frame_init, }; static const GInterfaceInfo tree_model_info = { (GInterfaceInitFunc) r_gtk_data_frame_tree_model_init, NULL, NULL }; /* static const GInterfaceInfo drag_source_info = { (GInterfaceInitFunc) r_gtk_data_frame_drag_source_init, NULL, NULL }; static const GInterfaceInfo drag_dest_info = { (GInterfaceInitFunc) r_gtk_data_frame_drag_dest_init, NULL, NULL }; */ static const GInterfaceInfo sortable_info = { (GInterfaceInitFunc) r_gtk_data_frame_sortable_init, NULL, NULL }; data_frame_type = g_type_register_static (G_TYPE_OBJECT, "RGtkDataFrame", &data_frame_info, 0); g_type_add_interface_static (data_frame_type, GTK_TYPE_TREE_MODEL, &tree_model_info); /*g_type_add_interface_static (data_frame_type, GTK_TYPE_TREE_DRAG_SOURCE, &drag_source_info); g_type_add_interface_static (data_frame_type, GTK_TYPE_TREE_DRAG_DEST, &drag_dest_info);*/ g_type_add_interface_static (data_frame_type, GTK_TYPE_TREE_SORTABLE, &sortable_info); } return data_frame_type; } GObjectClass *parent_class = NULL; static void r_gtk_data_frame_class_init (RGtkDataFrameClass *class) { GObjectClass *object_class; parent_class = g_type_class_peek_parent (class); object_class = (GObjectClass*) class; object_class->finalize = r_gtk_data_frame_finalize; } static void r_gtk_data_frame_tree_model_init (GtkTreeModelIface *iface) { iface->get_flags = r_gtk_data_frame_get_flags; iface->get_n_columns = r_gtk_data_frame_get_n_columns; iface->get_column_type = r_gtk_data_frame_get_column_type; iface->get_iter = r_gtk_data_frame_get_iter; iface->get_path = r_gtk_data_frame_get_path; iface->get_value = r_gtk_data_frame_get_value; iface->iter_next = r_gtk_data_frame_iter_next; iface->iter_children = r_gtk_data_frame_iter_children; iface->iter_has_child = r_gtk_data_frame_iter_has_child; iface->iter_n_children = r_gtk_data_frame_iter_n_children; iface->iter_nth_child = r_gtk_data_frame_iter_nth_child; iface->iter_parent = r_gtk_data_frame_iter_parent; } /* static void r_gtk_data_frame_drag_source_init (GtkTreeDragSourceIface *iface) { iface->row_draggable = real_gtk_data_frame_row_draggable; iface->drag_data_delete = r_gtk_data_frame_drag_data_delete; iface->drag_data_get = r_gtk_data_frame_drag_data_get; } static void r_gtk_data_frame_drag_dest_init (GtkTreeDragDestIface *iface) { iface->drag_data_received = r_gtk_data_frame_drag_data_received; iface->row_drop_possible = r_gtk_data_frame_row_drop_possible; }*/ static void r_gtk_data_frame_sortable_init (GtkTreeSortableIface *iface) { iface->get_sort_column_id = r_gtk_data_frame_get_sort_column_id; iface->set_sort_column_id = r_gtk_data_frame_set_sort_column_id; iface->set_sort_func = r_gtk_data_frame_set_sort_func; iface->set_default_sort_func = r_gtk_data_frame_set_default_sort_func; iface->has_default_sort_func = r_gtk_data_frame_has_default_sort_func; } static void r_gtk_data_frame_init (RGtkDataFrame *data_frame) { data_frame->stamp = g_random_int (); data_frame->frame = NULL; data_frame->sort_closure = NULL; data_frame->sort_id = -1; data_frame->sort_order = GTK_SORT_DESCENDING; } USER_OBJECT_ R_r_gtk_data_frame_new(USER_OBJECT_ s_frame, USER_OBJECT_ s_sort_closure) { RGtkDataFrame *ans; ans = r_gtk_data_frame_new(s_frame, s_sort_closure); return(toRPointerWithFinalizer(ans, "RGtkDataFrame", (RPointerFinalizer)g_object_unref)); } /** * r_gtk_data_frame_new: * @frame: an R data frame object * * Creates a new RGtk2 data frame from an existing R data frame. * * Return value: a new #RGtkDataFrame **/ RGtkDataFrame * r_gtk_data_frame_new(USER_OBJECT_ frame, USER_OBJECT_ sort_closure) { RGtkDataFrame *retval; retval = g_object_new (R_GTK_TYPE_DATA_FRAME, NULL); r_gtk_data_frame_set(retval, frame, NULL, 0, 0); r_gtk_data_frame_set_sort_closure(retval, sort_closure); return retval; } static void r_gtk_data_frame_finalize (GObject *object) { RGtkDataFrame *data_frame = R_GTK_DATA_FRAME (object); R_ReleaseObject(data_frame->frame); R_ReleaseObject(data_frame->sort_closure); /* must chain up */ (* parent_class->finalize) (object); } /* Fulfill the GtkTreeModel requirements */ static GtkTreeModelFlags r_gtk_data_frame_get_flags (GtkTreeModel *tree_model) { g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), 0); return GTK_TREE_MODEL_LIST_ONLY; } static gint r_gtk_data_frame_get_n_columns (GtkTreeModel *tree_model) { RGtkDataFrame *data_frame = (RGtkDataFrame *) tree_model; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), 0); return GET_LENGTH(data_frame->frame); } static GType r_gtk_data_frame_get_column_type (GtkTreeModel *tree_model, gint index) { RGtkDataFrame *data_frame = (RGtkDataFrame *) tree_model; GType type; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), G_TYPE_INVALID); g_return_val_if_fail (index < GET_LENGTH (R_GTK_DATA_FRAME (tree_model)->frame) && index >= 0, G_TYPE_INVALID); type = getSValueGType(VECTOR_ELT(data_frame->frame, index)); return type; } static gboolean r_gtk_data_frame_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) { RGtkDataFrame *data_frame = (RGtkDataFrame *) tree_model; gint i; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), FALSE); g_return_val_if_fail (gtk_tree_path_get_depth (path) > 0, FALSE); i = gtk_tree_path_get_indices (path)[0]; if (i >= r_gtk_data_frame_get_n_rows(data_frame)) return FALSE; iter->stamp = data_frame->stamp; iter->user_data = GINT_TO_POINTER(i); return TRUE; } static GtkTreePath * r_gtk_data_frame_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter) { GtkTreePath *path; gint row; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), NULL); g_return_val_if_fail (iter->stamp == R_GTK_DATA_FRAME (tree_model)->stamp, NULL); row = GPOINTER_TO_INT(iter->user_data); if (row >= r_gtk_data_frame_get_n_rows(R_GTK_DATA_FRAME(tree_model))) return(NULL); path = gtk_tree_path_new (); gtk_tree_path_append_index (path, row); return path; } static void r_gtk_data_frame_get_value (GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value) { RGtkDataFrame *data_frame = (RGtkDataFrame*)tree_model; /*if (!VALID_ITER (iter, R_GTK_DATA_FRAME(tree_model))) g_debug("row: %d", GPOINTER_TO_INT(iter->user_data));*/ g_return_if_fail (R_GTK_IS_DATA_FRAME (tree_model)); g_return_if_fail (column < GET_LENGTH(R_GTK_DATA_FRAME (tree_model)->frame)); g_return_if_fail (VALID_ITER (iter, R_GTK_DATA_FRAME(tree_model))); initGValueFromVector(VECTOR_ELT(data_frame->frame, column), GPOINTER_TO_INT(iter->user_data), value); } static gboolean r_gtk_data_frame_iter_next (GtkTreeModel *tree_model, GtkTreeIter *iter) { g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), FALSE); g_return_val_if_fail (R_GTK_DATA_FRAME (tree_model)->stamp == iter->stamp, FALSE); iter->user_data = GINT_TO_POINTER(GPOINTER_TO_INT(iter->user_data) + 1); return GPOINTER_TO_INT(iter->user_data) < r_gtk_data_frame_get_n_rows(R_GTK_DATA_FRAME(tree_model)); } static gboolean r_gtk_data_frame_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent) { RGtkDataFrame *data_frame; /* this is a list, nodes have no children */ if (parent) return FALSE; data_frame = R_GTK_DATA_FRAME (tree_model); if (r_gtk_data_frame_get_n_rows(data_frame) > 0) { iter->stamp = data_frame->stamp; iter->user_data = GINT_TO_POINTER(0); return TRUE; } else return FALSE; } static gboolean r_gtk_data_frame_iter_has_child (GtkTreeModel *tree_model, GtkTreeIter *iter) { return FALSE; } static gint r_gtk_data_frame_iter_n_children (GtkTreeModel *tree_model, GtkTreeIter *iter) { RGtkDataFrame *data_frame; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), -1); data_frame = R_GTK_DATA_FRAME (tree_model); if (iter == NULL) return r_gtk_data_frame_get_n_rows(data_frame); g_return_val_if_fail (data_frame->stamp == iter->stamp, -1); return 0; } static gboolean r_gtk_data_frame_iter_nth_child (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, gint n) { RGtkDataFrame *data_frame; g_return_val_if_fail (R_GTK_IS_DATA_FRAME (tree_model), FALSE); data_frame = R_GTK_DATA_FRAME (tree_model); if (parent) return FALSE; if (n >= r_gtk_data_frame_get_n_rows(data_frame)) return FALSE; iter->stamp = data_frame->stamp; iter->user_data = GINT_TO_POINTER(n); return TRUE; } static gboolean r_gtk_data_frame_iter_parent (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child) { return FALSE; } USER_OBJECT_ R_r_gtk_data_frame_get(USER_OBJECT_ s_data_frame) { RGtkDataFrame *data_frame = R_GTK_DATA_FRAME(getPtrValue(s_data_frame)); return(r_gtk_data_frame_get(data_frame)); } static USER_OBJECT_ r_gtk_data_frame_get (RGtkDataFrame *data_frame) { g_return_val_if_fail (R_GTK_IS_DATA_FRAME (data_frame), NULL_USER_OBJECT); return(data_frame->frame); } USER_OBJECT_ R_r_gtk_data_frame_set (USER_OBJECT_ s_data_frame, USER_OBJECT_ s_frame, USER_OBJECT_ s_changed_rows, USER_OBJECT_ s_resort) { RGtkDataFrame *data_frame = R_GTK_DATA_FRAME(getPtrValue(s_data_frame)); gint *changed_rows = asCArray(s_changed_rows, gint, asCInteger); gint nrows = GET_LENGTH(s_changed_rows); gboolean resort = asCLogical(s_resort); r_gtk_data_frame_set(data_frame, s_frame, changed_rows, nrows, resort); return NULL_USER_OBJECT; } static void r_gtk_data_frame_set (RGtkDataFrame *data_frame, USER_OBJECT_ frame, gint *changed_rows, gint nrows, gboolean resort) { gint i, old_nrows; gint frame_nrows = GET_LENGTH(getAttrib(frame, install("row.names"))); GtkTreeIter iter; g_return_if_fail (R_GTK_IS_DATA_FRAME (data_frame)); g_return_if_fail (frame != NULL); old_nrows = r_gtk_data_frame_get_n_rows(data_frame); R_ReleaseObject(data_frame->frame); R_PreserveObject(frame); data_frame->frame = frame; data_frame->stamp = data_frame->stamp + 1; data_frame->nrows = frame_nrows; for (i = 0; i < nrows; i++) { gint row = changed_rows[i]; GtkTreePath *path = gtk_tree_path_new_from_indices(row, -1); gtk_tree_model_get_iter(GTK_TREE_MODEL(data_frame), &iter, path); if (row < old_nrows) gtk_tree_model_row_changed(GTK_TREE_MODEL(data_frame), path, &iter); else gtk_tree_model_row_inserted(GTK_TREE_MODEL(data_frame), path, &iter); gtk_tree_path_free(path); } if (old_nrows > frame_nrows) { GtkTreePath *path = gtk_tree_path_new_from_indices(frame_nrows, -1); for (i = frame_nrows; i < old_nrows; i++) gtk_tree_model_row_deleted(GTK_TREE_MODEL(data_frame), path); gtk_tree_path_free(path); } if (data_frame->sort_id != -1 && resort) r_gtk_data_frame_resort(data_frame); } static void r_gtk_data_frame_set_sort_closure(RGtkDataFrame *frame, USER_OBJECT_ closure) { g_return_if_fail (R_GTK_IS_DATA_FRAME (frame)); g_return_if_fail (TYPEOF(closure) == CLOSXP); if (frame->sort_closure) R_ReleaseObject(frame->sort_closure); R_PreserveObject(closure); frame->sort_closure = closure; } static void r_gtk_data_frame_remove (RGtkDataFrame *data_frame, USER_OBJECT_ frame, gint *deleted_rows, gint nrows) { gint i; g_return_if_fail (R_GTK_IS_DATA_FRAME (data_frame)); g_return_if_fail (frame != NULL); data_frame->frame = frame; data_frame->stamp = data_frame->stamp + 1; for (i = 0; i < nrows; i++) { GtkTreePath *path = gtk_tree_path_new_from_indices(deleted_rows[i], -1); gtk_tree_model_row_deleted(GTK_TREE_MODEL (data_frame), path); gtk_tree_path_free (path); } } static gint r_gtk_data_frame_get_n_rows (RGtkDataFrame *data_frame) { gint nrows; if (!data_frame->frame) return(0); /*nrows = GET_LENGTH(getAttrib(data_frame->frame, install("row.names")));*/ nrows = data_frame->nrows; return(nrows); } /* attempt at GtkTreeSortable implementation */ static gboolean r_gtk_data_frame_get_sort_column_id (GtkTreeSortable *sortable, gint *sort_col_id, GtkSortType *order) { RGtkDataFrame *frame; g_return_val_if_fail ( sortable != NULL , FALSE ); g_return_val_if_fail ( R_GTK_IS_DATA_FRAME(sortable), FALSE ); frame = R_GTK_DATA_FRAME(sortable); if (sort_col_id) *sort_col_id = frame->sort_id; if (order) *order = frame->sort_order; return TRUE; } static void r_gtk_data_frame_set_sort_column_id (GtkTreeSortable *sortable, gint sort_col_id, GtkSortType order) { RGtkDataFrame *frame; g_return_if_fail ( sortable != NULL ); g_return_if_fail ( R_GTK_IS_DATA_FRAME(sortable) ); frame = R_GTK_DATA_FRAME(sortable); if (frame->sort_id == sort_col_id && frame->sort_order == order) return; frame->sort_id = sort_col_id; frame->sort_order = order; if (sort_col_id != -1) r_gtk_data_frame_resort(frame); /* emit "sort-column-changed" signal to tell any tree views * that the sort column has changed (so the little arrow * in the column header of the sort column is drawn * in the right column) */ gtk_tree_sortable_sort_column_changed(sortable); } static void r_gtk_data_frame_set_sort_func (GtkTreeSortable *sortable, gint sort_col_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GtkDestroyNotify destroy_func) { warning("gtk_tree_sortable_set_sort_func is not supported by the RGtkDataModel model."); } static void r_gtk_data_frame_set_default_sort_func (GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GtkDestroyNotify destroy_func) { warning("gtk_tree_sortable_set_default_sort_func is not supported by the RGtkDataModel model."); } static gboolean r_gtk_data_frame_has_default_sort_func (GtkTreeSortable *sortable) { return FALSE; } static void r_gtk_data_frame_resort(RGtkDataFrame *frame) { USER_OBJECT_ e, val, tmp, envir = R_GlobalEnv; int errorOccurred = 0; g_return_if_fail (frame->sort_id != -1); g_return_if_fail (R_GTK_IS_DATA_FRAME (frame)); PROTECT(e = allocVector(LANGSXP, 4)); SETCAR(e, frame->sort_closure); tmp = CDR(e); SETCAR(tmp, toRPointer(frame, "RGtkDataFrame")); tmp = CDR(tmp); SETCAR(tmp, asRInteger(frame->sort_id)); tmp = CDR(tmp); SETCAR(tmp, asRLogical(frame->sort_order == GTK_SORT_DESCENDING)); val = R_tryEval(e, envir, &errorOccurred); if (!errorOccurred) { GtkTreePath *path = gtk_tree_path_new (); r_gtk_data_frame_set(frame, VECTOR_ELT(val,0), NULL, 0, 0); gtk_tree_model_rows_reordered (GTK_TREE_MODEL (frame), path, NULL, INTEGER_DATA(VECTOR_ELT(val,1))); } UNPROTECT(1); } RGtk2/src/gioManuals.c0000644000176000001440000003621112362467242014300 0ustar ripleyusers#include "RGtk2/gio.h" #include "gioFuncs.h" USER_OBJECT_ S_g_input_stream_read(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; guchar* buffer = R_alloc(count, sizeof(guchar)); GError* error = NULL; ans = g_input_stream_read(object, buffer, count, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "buffer", asRRawArrayWithSize(buffer, count), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_input_stream_read exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_read_all(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gboolean ans; guchar* buffer = R_alloc(count, sizeof(guchar)); gsize bytes_read; GError* error = NULL; ans = g_input_stream_read_all(object, buffer, count, &bytes_read, cancellable, &error); _result = asRLogical(ans); _result = retByVal(_result, "buffer", asRRawArrayWithSize(buffer, count), "bytes.read", asRNumeric(bytes_read), "error", asRGError(error), NULL); ; ; CLEANUP(g_error_free, error);; #else error("g_input_stream_read_all exists only in gio >= 2.16.0"); #endif return(_result); } /* Strategy: allocate the buffer, stick it with user data. Have the readFinish() call get the user data from the async result, return the buffer instead of only the length (and free the buffer). */ USER_OBJECT_ S_g_input_stream_read_async(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); gsize count = ((gsize)asCNumeric(s_count)); guchar* buffer = g_new(guchar, count); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); user_data->extra = buffer; g_input_stream_read_async(object, buffer, count, io_priority, cancellable, callback, user_data); #else error("g_input_stream_read_async exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_input_stream_read_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GInputStream* object = G_INPUT_STREAM(getPtrValue(s_object)); GAsyncResult* result = G_ASYNC_RESULT(getPtrValue(s_result)); R_CallbackData* user_data = (R_CallbackData *)g_async_result_get_user_data(result); gssize ans; GError* error = NULL; guchar *buffer = (guchar *)user_data->extra; ans = g_input_stream_read_finish(object, result, &error); if (ans >= 0) _result = asRRawArrayWithSize(buffer, ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_input_stream_read_finish exists only in gio >= 2.16.0"); #endif return(_result); } /* Same as that generated, we use sprintf on the R side */ USER_OBJECT_ S_g_simple_async_result_new_error(USER_OBJECT_ s_source_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_domain, USER_OBJECT_ s_code, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GObject* source_object = G_OBJECT(getPtrValue(s_source_object)); GQuark domain = ((GQuark)asCNumeric(s_domain)); gint code = ((gint)asCInteger(s_code)); const char* format = ((const char*)asCString(s_format)); GSimpleAsyncResult* ans; ans = g_simple_async_result_new_error(source_object, callback, user_data, domain, code, "%s", format); _result = toRPointerWithRef(ans, "GSimpleAsyncResult"); #else error("g_simple_async_result_new_error exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_result_set_error(USER_OBJECT_ s_object, USER_OBJECT_ s_domain, USER_OBJECT_ s_code, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GSimpleAsyncResult* object = G_SIMPLE_ASYNC_RESULT(getPtrValue(s_object)); GQuark domain = ((GQuark)asCNumeric(s_domain)); gint code = ((gint)asCInteger(s_code)); const char* format = ((const char*)asCString(s_format)); g_simple_async_result_set_error(object, domain, code, "%s", format); #else error("g_simple_async_result_set_error exists only in gio >= 2.16.0"); #endif return(_result); } USER_OBJECT_ S_g_simple_async_report_error_in_idle(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_domain, USER_OBJECT_ s_code, USER_OBJECT_ s_format) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GObject* object = G_OBJECT(getPtrValue(s_object)); GQuark domain = ((GQuark)asCNumeric(s_domain)); gint code = ((gint)asCInteger(s_code)); const char* format = ((const char*)asCString(s_format)); g_simple_async_report_error_in_idle(object, callback, user_data, domain, code, "%s", format); #else error("g_simple_async_report_error_in_idle exists only in gio >= 2.16.0"); #endif return(_result); } /* Handle properties */ USER_OBJECT_ S_g_async_initable_new_async(USER_OBJECT_ s_object_type, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_properties) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GAsyncReadyCallback callback = ((GAsyncReadyCallback)S_GAsyncReadyCallback); R_CallbackData* user_data = R_createCBData(s_callback, s_user_data); GType object_type = ((GType)asCNumeric(s_object_type)); GObjectClass *object_class = G_OBJECT_CLASS(g_type_class_ref(object_type)); int io_priority = ((int)asCInteger(s_io_priority)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); int i, n = GET_LENGTH(s_properties); GParameter *params = g_new0(GParameter, n); USER_OBJECT_ propNames = GET_NAMES(s_properties); for(i = 0; i < n; i++) { params[i].name = asCString(STRING_ELT(propNames, i)); R_setGValueForProperty(¶ms[i].value, object_class, params[i].name, VECTOR_ELT(s_properties, i)); } g_async_initable_newv_async(object_type, n, params, io_priority, cancellable, callback, user_data); g_free(params); #else error("g_async_initable_new_async exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_initable_new(USER_OBJECT_ s_object_type, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_properties) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GType object_type = ((GType)asCNumeric(s_object_type)); GObjectClass *object_class = G_OBJECT_CLASS(g_type_class_ref(object_type)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gpointer ans; GError* error = NULL; int i, n = GET_LENGTH(s_properties); GParameter *params = g_new0(GParameter, n); USER_OBJECT_ propNames = GET_NAMES(s_properties); for(i = 0; i < n; i++) { params[i].name = asCString(STRING_ELT(propNames, i)); R_setGValueForProperty(¶ms[i].value, object_class, params[i].name, VECTOR_ELT(s_properties, i)); } ans = g_initable_newv(object_type, n, params, cancellable, &error); _result = ans; _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_initable_new exists only in gio >= 2.22.0"); #endif return(_result); } /* Buffer preallocation */ USER_OBJECT_ S_g_socket_receive(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gsize size = ((gsize)asCNumeric(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; gchar* buffer = R_alloc(size, sizeof(guchar)); GError* error = NULL; ans = g_socket_receive(object, buffer, size, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "buffer", asRRawArrayWithSize(buffer, size), "error", asRGError(error), NULL); ; CLEANUP(g_error_free, error);; #else error("g_socket_receive exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_receive_from(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gsize size = ((gsize)asCNumeric(s_size)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GSocketAddress* address = NULL; guchar *buffer = R_alloc(size, sizeof(guchar)); GError* error = NULL; ans = g_socket_receive_from(object, &address, buffer, size, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "address", toRPointerWithFinalizer(address, "GSocketAddress", (RPointerFinalizer) g_object_unref), "buffer", asRRawArrayWithSize(buffer, size), "error", asRGError(error), NULL); ; ; CLEANUP(g_error_free, error);; #else error("g_socket_receive_from exists only in gio >= 2.22.0"); #endif return(_result); } /* These allow multiple i/o vectors, but is this optimization worth it in R? Probably not, so we just create a single vector. Their utility is in socket control messages, whatever those are. */ USER_OBJECT_ S_g_socket_receive_message(USER_OBJECT_ s_object, USER_OBJECT_ s_num_vectors, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); gint num_vectors = asCInteger(s_num_vectors); gint flags = asCInteger(s_flags); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GSocketAddress* address = NULL; guchar *buffer = R_alloc(num_vectors, sizeof(guchar)); GInputVector vectors[] = { { buffer, num_vectors } }; GSocketControlMessage** messages = NULL; gint num_messages; GError* error = NULL; ans = g_socket_receive_message(object, &address, vectors, num_vectors, &messages, &num_messages, &flags, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "address", toRPointerWithFinalizer(address, "GSocketAddress", (RPointerFinalizer) g_object_unref), "vectors", toRPointer(vectors, "GInputVector"), "messages", toRPointerWithFinalizerArrayWithSize(messages, "GSocketControlMessage", (RPointerFinalizer) g_object_unref, num_messages), "num.messages", asRInteger(num_messages), "flags", asRInteger(flags), "error", asRGError(error), NULL); ; ; CLEANUP(g_free, messages);; ; CLEANUP(g_error_free, error);; #else error("g_socket_receive_message exists only in gio >= 2.22.0"); #endif return(_result); } USER_OBJECT_ S_g_socket_send_message(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_vectors, USER_OBJECT_ s_messages, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 22, 0) GSocket* object = G_SOCKET(getPtrValue(s_object)); GSocketAddress* address = G_SOCKET_ADDRESS(getPtrValue(s_address)); GOutputVector vectors[] = { { RAW(s_vectors), GET_LENGTH(s_vectors) } }; gint num_vectors = ((gint)GET_LENGTH(s_vectors)); GSocketControlMessage** messages = s_messages == NULL_USER_OBJECT ? NULL : ((GSocketControlMessage**)asCArray(s_messages, GSocketControlMessage*, getPtrValue)); gint num_messages = ((gint)GET_LENGTH(s_messages)); gint flags = ((gint)asCInteger(s_flags)); GCancellable* cancellable = GET_LENGTH(s_cancellable) == 0 ? NULL : G_CANCELLABLE(getPtrValue(s_cancellable)); gssize ans; GError* error = NULL; ans = g_socket_send_message(object, address, vectors, num_vectors, messages, num_messages, flags, cancellable, &error); _result = asRInteger(ans); _result = retByVal(_result, "error", asRGError(error), NULL); CLEANUP(g_error_free, error);; #else error("g_socket_send_message exists only in gio >= 2.22.0"); #endif return(_result); } /* Special memory management of the buffer */ USER_OBJECT_ S_g_memory_output_stream_new(USER_OBJECT_ s_len) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GIO_CHECK_VERSION(2, 16, 0) gsize len = asCInteger(s_len); gpointer data = g_new(guchar, len); GOutputStream* ans; ans = g_memory_output_stream_new(data, len, g_realloc, g_free); _result = toRPointerWithFinalizer(ans, "GOutputStream", (RPointerFinalizer) g_object_unref); #else error("g_memory_output_stream_new exists only in gio >= 2.16.0"); #endif return(_result); } RGtk2/src/cairoAccessors.c0000644000176000001440000000643112362467242015145 0ustar ripleyusers#include #include USER_OBJECT_ S_CairoMatrixGetXx (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->xx; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoMatrixGetYx (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->yx; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoMatrixGetXy (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->xy; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoMatrixGetYy (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->yy; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoMatrixGetX0 (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->x0; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoMatrixGetY0 (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_matrix_t *obj; double val; obj = ((cairo_matrix_t*)getPtrValue(s_obj)) ; val = obj->y0; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetXBearing (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->x_bearing; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetYBearing (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->y_bearing; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetWidth (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->width; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetHeight (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->height; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetXAdvance (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->x_advance; _result = asRNumeric(val); return(_result); } USER_OBJECT_ S_CairoTextExtentsGetYAdvance (USER_OBJECT_ s_obj) { USER_OBJECT_ _result = NULL_USER_OBJECT; cairo_text_extents_t *obj; double val; obj = ((cairo_text_extents_t*)getPtrValue(s_obj)) ; val = obj->y_advance; _result = asRNumeric(val); return(_result); } RGtk2/src/exports/0000755000176000001440000000000012362217673013537 5ustar ripleyusersRGtk2/src/exports/cairoExports.c0000644000176000001440000000112712362467242016365 0ustar ripleyusers#include R_RegisterCCallable("RGtk2", "S_cairo_read_func_t", ((DL_FUNC)S_cairo_read_func_t)); R_RegisterCCallable("RGtk2", "asRCairoPath", ((DL_FUNC)asRCairoPath)); R_RegisterCCallable("RGtk2", "asCCairoPath", ((DL_FUNC)asCCairoPath)); R_RegisterCCallable("RGtk2", "asCCairoGlyph", ((DL_FUNC)asCCairoGlyph)); #if CAIRO_CHECK_VERSION(1, 4, 0) R_RegisterCCallable("RGtk2", "asRCairoRectangle", ((DL_FUNC)asRCairoRectangle)); #endif #if CAIRO_CHECK_VERSION(1, 4, 0) R_RegisterCCallable("RGtk2", "asRCairoRectangleList", ((DL_FUNC)asRCairoRectangleList)); #endif RGtk2/src/exports/gtkExports.c0000644000176000001440000001034412362467242016056 0ustar ripleyusers#include #include R_RegisterCCallable("RGtk2", "S_GtkClipboardClearFunc", ((DL_FUNC)S_GtkClipboardClearFunc)); R_RegisterCCallable("RGtk2", "S_GtkSignalFunc", ((DL_FUNC)S_GtkSignalFunc)); R_RegisterCCallable("RGtk2", "S_GtkTextBufferSerializeFunc", ((DL_FUNC)S_GtkTextBufferSerializeFunc)); R_RegisterCCallable("RGtk2", "asRGdkAtom", ((DL_FUNC)asRGdkAtom)); R_RegisterCCallable("RGtk2", "asCGdkAtom", ((DL_FUNC)asCGdkAtom)); R_RegisterCCallable("RGtk2", "asCGdkAtomArray", ((DL_FUNC)asCGdkAtomArray)); R_RegisterCCallable("RGtk2", "asCGdkGeometry", ((DL_FUNC)asCGdkGeometry)); R_RegisterCCallable("RGtk2", "asCGdkGCValues", ((DL_FUNC)asCGdkGCValues)); R_RegisterCCallable("RGtk2", "asCGdkGCValuesWithMask", ((DL_FUNC)asCGdkGCValuesWithMask)); R_RegisterCCallable("RGtk2", "asCGdkWindowAttr", ((DL_FUNC)asCGdkWindowAttr)); R_RegisterCCallable("RGtk2", "asRGdkTimeCoord", ((DL_FUNC)asRGdkTimeCoord)); R_RegisterCCallable("RGtk2", "asCGdkRectangle", ((DL_FUNC)asCGdkRectangle)); R_RegisterCCallable("RGtk2", "asRGdkRectangle", ((DL_FUNC)asRGdkRectangle)); R_RegisterCCallable("RGtk2", "asCGdkRgbCmap", ((DL_FUNC)asCGdkRgbCmap)); R_RegisterCCallable("RGtk2", "asRGdkRgbCmap", ((DL_FUNC)asRGdkRgbCmap)); R_RegisterCCallable("RGtk2", "asCGdkKeymapKey", ((DL_FUNC)asCGdkKeymapKey)); R_RegisterCCallable("RGtk2", "asRGdkKeymapKey", ((DL_FUNC)asRGdkKeymapKey)); R_RegisterCCallable("RGtk2", "asCGdkPoint", ((DL_FUNC)asCGdkPoint)); R_RegisterCCallable("RGtk2", "asRGdkPoint", ((DL_FUNC)asRGdkPoint)); R_RegisterCCallable("RGtk2", "asCGdkSegment", ((DL_FUNC)asCGdkSegment)); R_RegisterCCallable("RGtk2", "asRGdkSegment", ((DL_FUNC)asRGdkSegment)); R_RegisterCCallable("RGtk2", "asCGdkColor", ((DL_FUNC)asCGdkColor)); R_RegisterCCallable("RGtk2", "asRGdkColor", ((DL_FUNC)asRGdkColor)); R_RegisterCCallable("RGtk2", "asRGdkNativeWindow", ((DL_FUNC)asRGdkNativeWindow)); R_RegisterCCallable("RGtk2", "asCGdkNativeWindow", ((DL_FUNC)asCGdkNativeWindow)); R_RegisterCCallable("RGtk2", "asRGdkEvent", ((DL_FUNC)asRGdkEvent)); R_RegisterCCallable("RGtk2", "toRGdkEvent", ((DL_FUNC)toRGdkEvent)); R_RegisterCCallable("RGtk2", "toRGdkFont", ((DL_FUNC)toRGdkFont)); R_RegisterCCallable("RGtk2", "asCGdkTrapezoid", ((DL_FUNC)asCGdkTrapezoid)); R_RegisterCCallable("RGtk2", "asRGdkTrapezoid", ((DL_FUNC)asRGdkTrapezoid)); R_RegisterCCallable("RGtk2", "asRGdkGCValues", ((DL_FUNC)asRGdkGCValues)); R_RegisterCCallable("RGtk2", "asCGdkSpan", ((DL_FUNC)asCGdkSpan)); R_RegisterCCallable("RGtk2", "asRGdkSpan", ((DL_FUNC)asRGdkSpan)); R_RegisterCCallable("RGtk2", "asCGtkTargetEntry", ((DL_FUNC)asCGtkTargetEntry)); R_RegisterCCallable("RGtk2", "asRGtkTargetEntry", ((DL_FUNC)asRGtkTargetEntry)); R_RegisterCCallable("RGtk2", "asCGtkFileFilterInfo", ((DL_FUNC)asCGtkFileFilterInfo)); R_RegisterCCallable("RGtk2", "asRGtkFileFilterInfo", ((DL_FUNC)asRGtkFileFilterInfo)); R_RegisterCCallable("RGtk2", "asCGtkSettingsValue", ((DL_FUNC)asCGtkSettingsValue)); R_RegisterCCallable("RGtk2", "asCGtkStockItem", ((DL_FUNC)asCGtkStockItem)); R_RegisterCCallable("RGtk2", "asRGtkStockItem", ((DL_FUNC)asRGtkStockItem)); R_RegisterCCallable("RGtk2", "asCGtkItemFactoryEntry", ((DL_FUNC)asCGtkItemFactoryEntry)); R_RegisterCCallable("RGtk2", "asCGtkItemFactoryEntry2", ((DL_FUNC)asCGtkItemFactoryEntry2)); R_RegisterCCallable("RGtk2", "R_createGtkItemFactoryEntry", ((DL_FUNC)R_createGtkItemFactoryEntry)); R_RegisterCCallable("RGtk2", "asCGtkAllocation", ((DL_FUNC)asCGtkAllocation)); R_RegisterCCallable("RGtk2", "asRGtkAllocation", ((DL_FUNC)asRGtkAllocation)); #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "asCGtkRecentFilterInfo", ((DL_FUNC)asCGtkRecentFilterInfo)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "asRGtkRecentFilterInfo", ((DL_FUNC)asRGtkRecentFilterInfo)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "asCGtkRecentData", ((DL_FUNC)asCGtkRecentData)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "asRGtkPageRange", ((DL_FUNC)asRGtkPageRange)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "asCGtkPageRange", ((DL_FUNC)asCGtkPageRange)); #endif R_RegisterCCallable("RGtk2", "asRGtkAccelKey", ((DL_FUNC)asRGtkAccelKey)); RGtk2/src/exports/gtkClassExports.c0000644000176000001440000004620712362467242017053 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_gtk_about_dialog_class_init", ((DL_FUNC)S_gtk_about_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_accel_group_class_init", ((DL_FUNC)S_gtk_accel_group_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_accel_label_class_init", ((DL_FUNC)S_gtk_accel_label_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_accessible_class_init", ((DL_FUNC)S_gtk_accessible_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_action_class_init", ((DL_FUNC)S_gtk_action_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_action_group_class_init", ((DL_FUNC)S_gtk_action_group_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_adjustment_class_init", ((DL_FUNC)S_gtk_adjustment_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_alignment_class_init", ((DL_FUNC)S_gtk_alignment_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_arrow_class_init", ((DL_FUNC)S_gtk_arrow_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_aspect_frame_class_init", ((DL_FUNC)S_gtk_aspect_frame_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_bin_class_init", ((DL_FUNC)S_gtk_bin_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_box_class_init", ((DL_FUNC)S_gtk_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_button_class_init", ((DL_FUNC)S_gtk_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_button_box_class_init", ((DL_FUNC)S_gtk_button_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_calendar_class_init", ((DL_FUNC)S_gtk_calendar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_class_init", ((DL_FUNC)S_gtk_cell_renderer_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_combo_class_init", ((DL_FUNC)S_gtk_cell_renderer_combo_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_pixbuf_class_init", ((DL_FUNC)S_gtk_cell_renderer_pixbuf_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_progress_class_init", ((DL_FUNC)S_gtk_cell_renderer_progress_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_text_class_init", ((DL_FUNC)S_gtk_cell_renderer_text_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_toggle_class_init", ((DL_FUNC)S_gtk_cell_renderer_toggle_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_view_class_init", ((DL_FUNC)S_gtk_cell_view_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_check_button_class_init", ((DL_FUNC)S_gtk_check_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_check_menu_item_class_init", ((DL_FUNC)S_gtk_check_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_clist_class_init", ((DL_FUNC)S_gtk_clist_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_color_button_class_init", ((DL_FUNC)S_gtk_color_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_color_selection_class_init", ((DL_FUNC)S_gtk_color_selection_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_color_selection_dialog_class_init", ((DL_FUNC)S_gtk_color_selection_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_combo_class_init", ((DL_FUNC)S_gtk_combo_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_combo_box_class_init", ((DL_FUNC)S_gtk_combo_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_combo_box_entry_class_init", ((DL_FUNC)S_gtk_combo_box_entry_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_container_class_init", ((DL_FUNC)S_gtk_container_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_ctree_class_init", ((DL_FUNC)S_gtk_ctree_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_curve_class_init", ((DL_FUNC)S_gtk_curve_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_dialog_class_init", ((DL_FUNC)S_gtk_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_drawing_area_class_init", ((DL_FUNC)S_gtk_drawing_area_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_entry_class_init", ((DL_FUNC)S_gtk_entry_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_entry_completion_class_init", ((DL_FUNC)S_gtk_entry_completion_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_event_box_class_init", ((DL_FUNC)S_gtk_event_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_expander_class_init", ((DL_FUNC)S_gtk_expander_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_file_chooser_button_class_init", ((DL_FUNC)S_gtk_file_chooser_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_file_chooser_dialog_class_init", ((DL_FUNC)S_gtk_file_chooser_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_file_chooser_widget_class_init", ((DL_FUNC)S_gtk_file_chooser_widget_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_file_selection_class_init", ((DL_FUNC)S_gtk_file_selection_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_fixed_class_init", ((DL_FUNC)S_gtk_fixed_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_font_button_class_init", ((DL_FUNC)S_gtk_font_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_font_selection_class_init", ((DL_FUNC)S_gtk_font_selection_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_font_selection_dialog_class_init", ((DL_FUNC)S_gtk_font_selection_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_frame_class_init", ((DL_FUNC)S_gtk_frame_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_gamma_curve_class_init", ((DL_FUNC)S_gtk_gamma_curve_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_handle_box_class_init", ((DL_FUNC)S_gtk_handle_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hbox_class_init", ((DL_FUNC)S_gtk_hbox_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hbutton_box_class_init", ((DL_FUNC)S_gtk_hbutton_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hpaned_class_init", ((DL_FUNC)S_gtk_hpaned_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hruler_class_init", ((DL_FUNC)S_gtk_hruler_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hscale_class_init", ((DL_FUNC)S_gtk_hscale_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hscrollbar_class_init", ((DL_FUNC)S_gtk_hscrollbar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_hseparator_class_init", ((DL_FUNC)S_gtk_hseparator_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_icon_factory_class_init", ((DL_FUNC)S_gtk_icon_factory_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_icon_theme_class_init", ((DL_FUNC)S_gtk_icon_theme_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_icon_view_class_init", ((DL_FUNC)S_gtk_icon_view_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_image_class_init", ((DL_FUNC)S_gtk_image_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_image_menu_item_class_init", ((DL_FUNC)S_gtk_image_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_imcontext_class_init", ((DL_FUNC)S_gtk_imcontext_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_imcontext_simple_class_init", ((DL_FUNC)S_gtk_imcontext_simple_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_immulticontext_class_init", ((DL_FUNC)S_gtk_immulticontext_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_input_dialog_class_init", ((DL_FUNC)S_gtk_input_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_invisible_class_init", ((DL_FUNC)S_gtk_invisible_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_item_class_init", ((DL_FUNC)S_gtk_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_item_factory_class_init", ((DL_FUNC)S_gtk_item_factory_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_label_class_init", ((DL_FUNC)S_gtk_label_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_layout_class_init", ((DL_FUNC)S_gtk_layout_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_list_class_init", ((DL_FUNC)S_gtk_list_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_list_item_class_init", ((DL_FUNC)S_gtk_list_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_list_store_class_init", ((DL_FUNC)S_gtk_list_store_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_menu_class_init", ((DL_FUNC)S_gtk_menu_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_menu_bar_class_init", ((DL_FUNC)S_gtk_menu_bar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_menu_item_class_init", ((DL_FUNC)S_gtk_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_menu_shell_class_init", ((DL_FUNC)S_gtk_menu_shell_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_menu_tool_button_class_init", ((DL_FUNC)S_gtk_menu_tool_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_message_dialog_class_init", ((DL_FUNC)S_gtk_message_dialog_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_misc_class_init", ((DL_FUNC)S_gtk_misc_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_notebook_class_init", ((DL_FUNC)S_gtk_notebook_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_object_class_init", ((DL_FUNC)S_gtk_object_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_old_editable_class_init", ((DL_FUNC)S_gtk_old_editable_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_option_menu_class_init", ((DL_FUNC)S_gtk_option_menu_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_paned_class_init", ((DL_FUNC)S_gtk_paned_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_pixmap_class_init", ((DL_FUNC)S_gtk_pixmap_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_plug_class_init", ((DL_FUNC)S_gtk_plug_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_preview_class_init", ((DL_FUNC)S_gtk_preview_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_progress_class_init", ((DL_FUNC)S_gtk_progress_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_progress_bar_class_init", ((DL_FUNC)S_gtk_progress_bar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_radio_action_class_init", ((DL_FUNC)S_gtk_radio_action_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_radio_button_class_init", ((DL_FUNC)S_gtk_radio_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_radio_menu_item_class_init", ((DL_FUNC)S_gtk_radio_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_radio_tool_button_class_init", ((DL_FUNC)S_gtk_radio_tool_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_range_class_init", ((DL_FUNC)S_gtk_range_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_rc_style_class_init", ((DL_FUNC)S_gtk_rc_style_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_ruler_class_init", ((DL_FUNC)S_gtk_ruler_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_scale_class_init", ((DL_FUNC)S_gtk_scale_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_scrollbar_class_init", ((DL_FUNC)S_gtk_scrollbar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_scrolled_window_class_init", ((DL_FUNC)S_gtk_scrolled_window_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_separator_class_init", ((DL_FUNC)S_gtk_separator_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_separator_menu_item_class_init", ((DL_FUNC)S_gtk_separator_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_separator_tool_item_class_init", ((DL_FUNC)S_gtk_separator_tool_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_settings_class_init", ((DL_FUNC)S_gtk_settings_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_size_group_class_init", ((DL_FUNC)S_gtk_size_group_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_socket_class_init", ((DL_FUNC)S_gtk_socket_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_spin_button_class_init", ((DL_FUNC)S_gtk_spin_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_statusbar_class_init", ((DL_FUNC)S_gtk_statusbar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_style_class_init", ((DL_FUNC)S_gtk_style_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_table_class_init", ((DL_FUNC)S_gtk_table_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tearoff_menu_item_class_init", ((DL_FUNC)S_gtk_tearoff_menu_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_buffer_class_init", ((DL_FUNC)S_gtk_text_buffer_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_child_anchor_class_init", ((DL_FUNC)S_gtk_text_child_anchor_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_mark_class_init", ((DL_FUNC)S_gtk_text_mark_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_tag_class_init", ((DL_FUNC)S_gtk_text_tag_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_tag_table_class_init", ((DL_FUNC)S_gtk_text_tag_table_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_text_view_class_init", ((DL_FUNC)S_gtk_text_view_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tips_query_class_init", ((DL_FUNC)S_gtk_tips_query_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_toggle_action_class_init", ((DL_FUNC)S_gtk_toggle_action_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_toggle_button_class_init", ((DL_FUNC)S_gtk_toggle_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_toggle_tool_button_class_init", ((DL_FUNC)S_gtk_toggle_tool_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_toolbar_class_init", ((DL_FUNC)S_gtk_toolbar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tool_button_class_init", ((DL_FUNC)S_gtk_tool_button_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tool_item_class_init", ((DL_FUNC)S_gtk_tool_item_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tooltips_class_init", ((DL_FUNC)S_gtk_tooltips_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_model_filter_class_init", ((DL_FUNC)S_gtk_tree_model_filter_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_model_sort_class_init", ((DL_FUNC)S_gtk_tree_model_sort_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_selection_class_init", ((DL_FUNC)S_gtk_tree_selection_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_store_class_init", ((DL_FUNC)S_gtk_tree_store_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_view_class_init", ((DL_FUNC)S_gtk_tree_view_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_view_column_class_init", ((DL_FUNC)S_gtk_tree_view_column_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_uimanager_class_init", ((DL_FUNC)S_gtk_uimanager_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vbox_class_init", ((DL_FUNC)S_gtk_vbox_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vbutton_box_class_init", ((DL_FUNC)S_gtk_vbutton_box_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_viewport_class_init", ((DL_FUNC)S_gtk_viewport_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vpaned_class_init", ((DL_FUNC)S_gtk_vpaned_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vruler_class_init", ((DL_FUNC)S_gtk_vruler_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vscale_class_init", ((DL_FUNC)S_gtk_vscale_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vscrollbar_class_init", ((DL_FUNC)S_gtk_vscrollbar_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_vseparator_class_init", ((DL_FUNC)S_gtk_vseparator_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_widget_class_init", ((DL_FUNC)S_gtk_widget_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_window_class_init", ((DL_FUNC)S_gtk_window_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_window_group_class_init", ((DL_FUNC)S_gtk_window_group_class_init)); #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_accel_class_init", ((DL_FUNC)S_gtk_cell_renderer_accel_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_spin_class_init", ((DL_FUNC)S_gtk_cell_renderer_spin_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_print_operation_class_init", ((DL_FUNC)S_gtk_print_operation_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_recent_manager_class_init", ((DL_FUNC)S_gtk_recent_manager_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_status_icon_class_init", ((DL_FUNC)S_gtk_status_icon_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_recent_chooser_menu_class_init", ((DL_FUNC)S_gtk_recent_chooser_menu_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_link_button_class_init", ((DL_FUNC)S_gtk_link_button_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_recent_chooser_widget_class_init", ((DL_FUNC)S_gtk_recent_chooser_widget_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_recent_chooser_dialog_class_init", ((DL_FUNC)S_gtk_recent_chooser_dialog_class_init)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_gtk_assistant_class_init", ((DL_FUNC)S_gtk_assistant_class_init)); #endif #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_gtk_builder_class_init", ((DL_FUNC)S_gtk_builder_class_init)); #endif #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_gtk_recent_action_class_init", ((DL_FUNC)S_gtk_recent_action_class_init)); #endif #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_gtk_scale_button_class_init", ((DL_FUNC)S_gtk_scale_button_class_init)); #endif #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_gtk_volume_button_class_init", ((DL_FUNC)S_gtk_volume_button_class_init)); #endif #if GTK_CHECK_VERSION(2, 14, 0) R_RegisterCCallable("RGtk2", "S_gtk_mount_operation_class_init", ((DL_FUNC)S_gtk_mount_operation_class_init)); #endif #if GTK_CHECK_VERSION(2, 18, 0) R_RegisterCCallable("RGtk2", "S_gtk_entry_buffer_class_init", ((DL_FUNC)S_gtk_entry_buffer_class_init)); #endif #if GTK_CHECK_VERSION(2, 18, 0) R_RegisterCCallable("RGtk2", "S_gtk_info_bar_class_init", ((DL_FUNC)S_gtk_info_bar_class_init)); #endif #if GTK_CHECK_VERSION(2, 18, 0) R_RegisterCCallable("RGtk2", "S_gtk_hsv_class_init", ((DL_FUNC)S_gtk_hsv_class_init)); #endif #if GTK_CHECK_VERSION(2, 20, 0) R_RegisterCCallable("RGtk2", "S_gtk_tool_item_group_class_init", ((DL_FUNC)S_gtk_tool_item_group_class_init)); #endif #if GTK_CHECK_VERSION(2, 20, 0) R_RegisterCCallable("RGtk2", "S_gtk_tool_palette_class_init", ((DL_FUNC)S_gtk_tool_palette_class_init)); #endif #if GTK_CHECK_VERSION(2, 20, 0) R_RegisterCCallable("RGtk2", "S_gtk_cell_renderer_spinner_class_init", ((DL_FUNC)S_gtk_cell_renderer_spinner_class_init)); #endif #if GTK_CHECK_VERSION(2, 20, 0) R_RegisterCCallable("RGtk2", "S_gtk_offscreen_window_class_init", ((DL_FUNC)S_gtk_offscreen_window_class_init)); #endif #if GTK_CHECK_VERSION(2, 20, 0) R_RegisterCCallable("RGtk2", "S_gtk_spinner_class_init", ((DL_FUNC)S_gtk_spinner_class_init)); #endif R_RegisterCCallable("RGtk2", "S_gtk_cell_editable_class_init", ((DL_FUNC)S_gtk_cell_editable_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_cell_layout_class_init", ((DL_FUNC)S_gtk_cell_layout_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_editable_class_init", ((DL_FUNC)S_gtk_editable_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_drag_dest_class_init", ((DL_FUNC)S_gtk_tree_drag_dest_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_drag_source_class_init", ((DL_FUNC)S_gtk_tree_drag_source_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_model_class_init", ((DL_FUNC)S_gtk_tree_model_class_init)); R_RegisterCCallable("RGtk2", "S_gtk_tree_sortable_class_init", ((DL_FUNC)S_gtk_tree_sortable_class_init)); #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_gtk_buildable_class_init", ((DL_FUNC)S_gtk_buildable_class_init)); #endif #if GTK_CHECK_VERSION(2, 14, 0) R_RegisterCCallable("RGtk2", "S_gtk_tool_shell_class_init", ((DL_FUNC)S_gtk_tool_shell_class_init)); #endif #if GTK_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gtk_activatable_class_init", ((DL_FUNC)S_gtk_activatable_class_init)); #endif #if GTK_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gtk_orientable_class_init", ((DL_FUNC)S_gtk_orientable_class_init)); #endif RGtk2/src/exports/atkClassExports.c0000644000176000001440000000465712362467242017050 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_atk_hyperlink_class_init", ((DL_FUNC)S_atk_hyperlink_class_init)); R_RegisterCCallable("RGtk2", "S_atk_object_class_init", ((DL_FUNC)S_atk_object_class_init)); R_RegisterCCallable("RGtk2", "S_atk_gobject_accessible_class_init", ((DL_FUNC)S_atk_gobject_accessible_class_init)); R_RegisterCCallable("RGtk2", "S_atk_no_op_object_class_init", ((DL_FUNC)S_atk_no_op_object_class_init)); R_RegisterCCallable("RGtk2", "S_atk_object_factory_class_init", ((DL_FUNC)S_atk_object_factory_class_init)); R_RegisterCCallable("RGtk2", "S_atk_no_op_object_factory_class_init", ((DL_FUNC)S_atk_no_op_object_factory_class_init)); R_RegisterCCallable("RGtk2", "S_atk_registry_class_init", ((DL_FUNC)S_atk_registry_class_init)); R_RegisterCCallable("RGtk2", "S_atk_relation_class_init", ((DL_FUNC)S_atk_relation_class_init)); R_RegisterCCallable("RGtk2", "S_atk_relation_set_class_init", ((DL_FUNC)S_atk_relation_set_class_init)); R_RegisterCCallable("RGtk2", "S_atk_state_set_class_init", ((DL_FUNC)S_atk_state_set_class_init)); R_RegisterCCallable("RGtk2", "S_atk_util_class_init", ((DL_FUNC)S_atk_util_class_init)); R_RegisterCCallable("RGtk2", "S_atk_table_class_init", ((DL_FUNC)S_atk_table_class_init)); R_RegisterCCallable("RGtk2", "S_atk_streamable_content_class_init", ((DL_FUNC)S_atk_streamable_content_class_init)); R_RegisterCCallable("RGtk2", "S_atk_selection_class_init", ((DL_FUNC)S_atk_selection_class_init)); R_RegisterCCallable("RGtk2", "S_atk_implementor_class_init", ((DL_FUNC)S_atk_implementor_class_init)); R_RegisterCCallable("RGtk2", "S_atk_image_class_init", ((DL_FUNC)S_atk_image_class_init)); R_RegisterCCallable("RGtk2", "S_atk_hypertext_class_init", ((DL_FUNC)S_atk_hypertext_class_init)); R_RegisterCCallable("RGtk2", "S_atk_editable_text_class_init", ((DL_FUNC)S_atk_editable_text_class_init)); R_RegisterCCallable("RGtk2", "S_atk_component_class_init", ((DL_FUNC)S_atk_component_class_init)); R_RegisterCCallable("RGtk2", "S_atk_action_class_init", ((DL_FUNC)S_atk_action_class_init)); R_RegisterCCallable("RGtk2", "S_atk_value_class_init", ((DL_FUNC)S_atk_value_class_init)); R_RegisterCCallable("RGtk2", "S_atk_text_class_init", ((DL_FUNC)S_atk_text_class_init)); R_RegisterCCallable("RGtk2", "S_atk_document_class_init", ((DL_FUNC)S_atk_document_class_init)); #if ATK_CHECK_VERSION(1, 12, 1) R_RegisterCCallable("RGtk2", "S_atk_hyperlink_impl_class_init", ((DL_FUNC)S_atk_hyperlink_impl_class_init)); #endif RGtk2/src/exports/gobjectExports.c0000644000176000001440000001074612362467242016714 0ustar ripleyusersR_RegisterCCallable("RGtk2", "asCStringArray", ((DL_FUNC)asCStringArray)); R_RegisterCCallable("RGtk2", "asCString", ((DL_FUNC)asCString)); R_RegisterCCallable("RGtk2", "asCCharacter", ((DL_FUNC)asCCharacter)); R_RegisterCCallable("RGtk2", "asRCharacter", ((DL_FUNC)asRCharacter)); R_RegisterCCallable("RGtk2", "asRString", ((DL_FUNC)asRString)); R_RegisterCCallable("RGtk2", "asRUnsigned", ((DL_FUNC)asRUnsigned)); R_RegisterCCallable("RGtk2", "asREnum", ((DL_FUNC)asREnum)); R_RegisterCCallable("RGtk2", "asRFlag", ((DL_FUNC)asRFlag)); R_RegisterCCallable("RGtk2", "asCFlag", ((DL_FUNC)asCFlag)); R_RegisterCCallable("RGtk2", "asCEnum", ((DL_FUNC)asCEnum)); R_RegisterCCallable("RGtk2", "toRPointerWithFinalizer", ((DL_FUNC)toRPointerWithFinalizer)); R_RegisterCCallable("RGtk2", "toRPointerWithRef", ((DL_FUNC)toRPointerWithRef)); R_RegisterCCallable("RGtk2", "getPtrValueWithRef", ((DL_FUNC)getPtrValueWithRef)); R_RegisterCCallable("RGtk2", "asRGQuark", ((DL_FUNC)asRGQuark)); R_RegisterCCallable("RGtk2", "asCGTimeVal", ((DL_FUNC)asCGTimeVal)); R_RegisterCCallable("RGtk2", "asRGTimeVal", ((DL_FUNC)asRGTimeVal)); R_RegisterCCallable("RGtk2", "asCGString", ((DL_FUNC)asCGString)); R_RegisterCCallable("RGtk2", "toCGList", ((DL_FUNC)toCGList)); R_RegisterCCallable("RGtk2", "asRGList", ((DL_FUNC)asRGList)); R_RegisterCCallable("RGtk2", "asRGListWithRef", ((DL_FUNC)asRGListWithRef)); R_RegisterCCallable("RGtk2", "asRGListWithFinalizer", ((DL_FUNC)asRGListWithFinalizer)); R_RegisterCCallable("RGtk2", "asRGListConv", ((DL_FUNC)asRGListConv)); R_RegisterCCallable("RGtk2", "toCGSList", ((DL_FUNC)toCGSList)); R_RegisterCCallable("RGtk2", "asRGSList", ((DL_FUNC)asRGSList)); R_RegisterCCallable("RGtk2", "asRGSListWithRef", ((DL_FUNC)asRGSListWithRef)); R_RegisterCCallable("RGtk2", "asRGSListWithFinalizer", ((DL_FUNC)asRGSListWithFinalizer)); R_RegisterCCallable("RGtk2", "asRGSListConv", ((DL_FUNC)asRGSListConv)); R_RegisterCCallable("RGtk2", "asRGError", ((DL_FUNC)asRGError)); R_RegisterCCallable("RGtk2", "asCGError", ((DL_FUNC)asCGError)); R_RegisterCCallable("RGtk2", "R_setGValueFromSValue", ((DL_FUNC)R_setGValueFromSValue)); R_RegisterCCallable("RGtk2", "createGValueFromSValue", ((DL_FUNC)createGValueFromSValue)); R_RegisterCCallable("RGtk2", "initGValueFromSValue", ((DL_FUNC)initGValueFromSValue)); R_RegisterCCallable("RGtk2", "initGValueFromVector", ((DL_FUNC)initGValueFromVector)); R_RegisterCCallable("RGtk2", "asRGValue", ((DL_FUNC)asRGValue)); R_RegisterCCallable("RGtk2", "asCGValue", ((DL_FUNC)asCGValue)); R_RegisterCCallable("RGtk2", "asRGType", ((DL_FUNC)asRGType)); R_RegisterCCallable("RGtk2", "asCGParamSpec", ((DL_FUNC)asCGParamSpec)); R_RegisterCCallable("RGtk2", "asRGParamSpec", ((DL_FUNC)asRGParamSpec)); R_RegisterCCallable("RGtk2", "asCGClosure", ((DL_FUNC)asCGClosure)); R_RegisterCCallable("RGtk2", "asRGClosure", ((DL_FUNC)asRGClosure)); R_RegisterCCallable("RGtk2", "toRPointerWithSink", ((DL_FUNC)toRPointerWithSink)); R_RegisterCCallable("RGtk2", "asRGListWithSink", ((DL_FUNC)asRGListWithSink)); R_RegisterCCallable("RGtk2", "asRGSListWithSink", ((DL_FUNC)asRGSListWithSink)); R_RegisterCCallable("RGtk2", "S_GCompareFunc", ((DL_FUNC)S_GCompareFunc)); R_RegisterCCallable("RGtk2", "S_GSourceFunc", ((DL_FUNC)S_GSourceFunc)); R_RegisterCCallable("RGtk2", "R_createGClosure", ((DL_FUNC)R_createGClosure)); R_RegisterCCallable("RGtk2", "r_gtk_sexp_get_type", ((DL_FUNC)r_gtk_sexp_get_type)); R_RegisterCCallable("RGtk2", "r_gtk_param_spec_sexp_get_type", ((DL_FUNC)r_gtk_param_spec_sexp_get_type)); R_RegisterCCallable("RGtk2", "S_gobject_class_init", ((DL_FUNC)S_gobject_class_init)); R_RegisterCCallable("RGtk2", "retByVal", ((DL_FUNC)retByVal)); R_RegisterCCallable("RGtk2", "R_createCBData", ((DL_FUNC)R_createCBData)); R_RegisterCCallable("RGtk2", "R_freeCBData", ((DL_FUNC)R_freeCBData)); R_RegisterCCallable("RGtk2", "getSValueGType", ((DL_FUNC)getSValueGType)); R_RegisterCCallable("RGtk2", "R_internal_getInterfaces", ((DL_FUNC)R_internal_getInterfaces)); R_RegisterCCallable("RGtk2", "R_internal_getGTypeAncestors", ((DL_FUNC)R_internal_getGTypeAncestors)); R_RegisterCCallable("RGtk2", "propertyConstructor", ((DL_FUNC)propertyConstructor)); R_RegisterCCallable("RGtk2", "R_setGObjectProps", ((DL_FUNC)R_setGObjectProps)); R_RegisterCCallable("RGtk2", "R_getGObjectProps", ((DL_FUNC)R_getGObjectProps)); R_RegisterCCallable("RGtk2", "GSListFreeStrings", ((DL_FUNC)GSListFreeStrings)); R_RegisterCCallable("RGtk2", "GListFreeStrings", ((DL_FUNC)GListFreeStrings)); RGtk2/src/exports/cairoUserFuncExports.c0000644000176000001440000000013012362467242020031 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_cairo_write_func_t", ((DL_FUNC)S_cairo_write_func_t)); RGtk2/src/exports/gtkUserFuncExports.c0000644000176000001440000001257112362467242017535 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_GtkAboutDialogActivateLinkFunc", ((DL_FUNC)S_GtkAboutDialogActivateLinkFunc)); R_RegisterCCallable("RGtk2", "S_GtkCellLayoutDataFunc", ((DL_FUNC)S_GtkCellLayoutDataFunc)); R_RegisterCCallable("RGtk2", "S_GtkClipboardGetFunc", ((DL_FUNC)S_GtkClipboardGetFunc)); R_RegisterCCallable("RGtk2", "S_GtkClipboardReceivedFunc", ((DL_FUNC)S_GtkClipboardReceivedFunc)); R_RegisterCCallable("RGtk2", "S_GtkClipboardImageReceivedFunc", ((DL_FUNC)S_GtkClipboardImageReceivedFunc)); R_RegisterCCallable("RGtk2", "S_GtkClipboardTextReceivedFunc", ((DL_FUNC)S_GtkClipboardTextReceivedFunc)); R_RegisterCCallable("RGtk2", "S_GtkClipboardTargetsReceivedFunc", ((DL_FUNC)S_GtkClipboardTargetsReceivedFunc)); R_RegisterCCallable("RGtk2", "S_GtkColorSelectionChangePaletteFunc", ((DL_FUNC)S_GtkColorSelectionChangePaletteFunc)); R_RegisterCCallable("RGtk2", "S_GtkColorSelectionChangePaletteWithScreenFunc", ((DL_FUNC)S_GtkColorSelectionChangePaletteWithScreenFunc)); R_RegisterCCallable("RGtk2", "S_GtkCTreeGNodeFunc", ((DL_FUNC)S_GtkCTreeGNodeFunc)); R_RegisterCCallable("RGtk2", "S_GtkCTreeFunc", ((DL_FUNC)S_GtkCTreeFunc)); R_RegisterCCallable("RGtk2", "S_GtkEntryCompletionMatchFunc", ((DL_FUNC)S_GtkEntryCompletionMatchFunc)); R_RegisterCCallable("RGtk2", "S_GtkFileFilterFunc", ((DL_FUNC)S_GtkFileFilterFunc)); R_RegisterCCallable("RGtk2", "S_GtkIconViewForeachFunc", ((DL_FUNC)S_GtkIconViewForeachFunc)); R_RegisterCCallable("RGtk2", "S_GtkTranslateFunc", ((DL_FUNC)S_GtkTranslateFunc)); R_RegisterCCallable("RGtk2", "S_GtkFunction", ((DL_FUNC)S_GtkFunction)); R_RegisterCCallable("RGtk2", "S_GtkKeySnoopFunc", ((DL_FUNC)S_GtkKeySnoopFunc)); R_RegisterCCallable("RGtk2", "S_GtkMenuPositionFunc", ((DL_FUNC)S_GtkMenuPositionFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeModelForeachFunc", ((DL_FUNC)S_GtkTreeModelForeachFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeModelFilterVisibleFunc", ((DL_FUNC)S_GtkTreeModelFilterVisibleFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeModelFilterModifyFunc", ((DL_FUNC)S_GtkTreeModelFilterModifyFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeSelectionFunc", ((DL_FUNC)S_GtkTreeSelectionFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeSelectionForeachFunc", ((DL_FUNC)S_GtkTreeSelectionForeachFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeIterCompareFunc", ((DL_FUNC)S_GtkTreeIterCompareFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeCellDataFunc", ((DL_FUNC)S_GtkTreeCellDataFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeViewColumnDropFunc", ((DL_FUNC)S_GtkTreeViewColumnDropFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeViewMappingFunc", ((DL_FUNC)S_GtkTreeViewMappingFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeViewSearchEqualFunc", ((DL_FUNC)S_GtkTreeViewSearchEqualFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeDestroyCountFunc", ((DL_FUNC)S_GtkTreeDestroyCountFunc)); R_RegisterCCallable("RGtk2", "S_GtkTreeViewRowSeparatorFunc", ((DL_FUNC)S_GtkTreeViewRowSeparatorFunc)); R_RegisterCCallable("RGtk2", "S_GtkCallback", ((DL_FUNC)S_GtkCallback)); R_RegisterCCallable("RGtk2", "S_GtkAccelMapForeach", ((DL_FUNC)S_GtkAccelMapForeach)); R_RegisterCCallable("RGtk2", "S_GtkAccelGroupFindFunc", ((DL_FUNC)S_GtkAccelGroupFindFunc)); R_RegisterCCallable("RGtk2", "S_GtkAccelGroupActivate", ((DL_FUNC)S_GtkAccelGroupActivate)); R_RegisterCCallable("RGtk2", "S_GtkTextTagTableForeach", ((DL_FUNC)S_GtkTextTagTableForeach)); R_RegisterCCallable("RGtk2", "S_GtkTextCharPredicate", ((DL_FUNC)S_GtkTextCharPredicate)); R_RegisterCCallable("RGtk2", "S_GtkItemFactoryCallback1", ((DL_FUNC)S_GtkItemFactoryCallback1)); R_RegisterCCallable("RGtk2", "S_GtkItemFactoryCallback2", ((DL_FUNC)S_GtkItemFactoryCallback2)); #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkAssistantPageFunc", ((DL_FUNC)S_GtkAssistantPageFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkClipboardRichTextReceivedFunc", ((DL_FUNC)S_GtkClipboardRichTextReceivedFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkLinkButtonUriFunc", ((DL_FUNC)S_GtkLinkButtonUriFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkNotebookWindowCreationFunc", ((DL_FUNC)S_GtkNotebookWindowCreationFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkPageSetupDoneFunc", ((DL_FUNC)S_GtkPageSetupDoneFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkPrintSettingsFunc", ((DL_FUNC)S_GtkPrintSettingsFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkRecentSortFunc", ((DL_FUNC)S_GtkRecentSortFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkRecentFilterFunc", ((DL_FUNC)S_GtkRecentFilterFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkTextBufferDeserializeFunc", ((DL_FUNC)S_GtkTextBufferDeserializeFunc)); #endif #if GTK_CHECK_VERSION(2, 10, 0) R_RegisterCCallable("RGtk2", "S_GtkTreeViewSearchPositionFunc", ((DL_FUNC)S_GtkTreeViewSearchPositionFunc)); #endif #if GTK_CHECK_VERSION(2, 12, 0) R_RegisterCCallable("RGtk2", "S_GtkBuilderConnectFunc", ((DL_FUNC)S_GtkBuilderConnectFunc)); #endif #if GTK_CHECK_VERSION(2, 14, 0) R_RegisterCCallable("RGtk2", "S_GtkCalendarDetailFunc", ((DL_FUNC)S_GtkCalendarDetailFunc)); #endif #if GTK_CHECK_VERSION(2, 14, 0) R_RegisterCCallable("RGtk2", "S_GtkClipboardURIReceivedFunc", ((DL_FUNC)S_GtkClipboardURIReceivedFunc)); #endif RGtk2/src/exports/atkUserFuncExports.c0000644000176000001440000000012212362467242017514 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_AtkKeySnoopFunc", ((DL_FUNC)S_AtkKeySnoopFunc)); RGtk2/src/exports/gioClassExports.c0000644000176000001440000001576012362467242017044 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gapp_launch_context_class_init", ((DL_FUNC)S_gapp_launch_context_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gcancellable_class_init", ((DL_FUNC)S_gcancellable_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfilename_completer_class_init", ((DL_FUNC)S_gfilename_completer_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfile_enumerator_class_init", ((DL_FUNC)S_gfile_enumerator_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfile_monitor_class_init", ((DL_FUNC)S_gfile_monitor_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_ginput_stream_class_init", ((DL_FUNC)S_ginput_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfile_input_stream_class_init", ((DL_FUNC)S_gfile_input_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfilter_input_stream_class_init", ((DL_FUNC)S_gfilter_input_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gbuffered_input_stream_class_init", ((DL_FUNC)S_gbuffered_input_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gdata_input_stream_class_init", ((DL_FUNC)S_gdata_input_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gmemory_input_stream_class_init", ((DL_FUNC)S_gmemory_input_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gmount_operation_class_init", ((DL_FUNC)S_gmount_operation_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_goutput_stream_class_init", ((DL_FUNC)S_goutput_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gmemory_output_stream_class_init", ((DL_FUNC)S_gmemory_output_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfilter_output_stream_class_init", ((DL_FUNC)S_gfilter_output_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gbuffered_output_stream_class_init", ((DL_FUNC)S_gbuffered_output_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gdata_output_stream_class_init", ((DL_FUNC)S_gdata_output_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfile_output_stream_class_init", ((DL_FUNC)S_gfile_output_stream_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gvfs_class_init", ((DL_FUNC)S_gvfs_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gvolume_monitor_class_init", ((DL_FUNC)S_gvolume_monitor_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gnative_volume_monitor_class_init", ((DL_FUNC)S_gnative_volume_monitor_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gfile_iostream_class_init", ((DL_FUNC)S_gfile_iostream_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_ginet_address_class_init", ((DL_FUNC)S_ginet_address_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gnetwork_address_class_init", ((DL_FUNC)S_gnetwork_address_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gnetwork_service_class_init", ((DL_FUNC)S_gnetwork_service_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gresolver_class_init", ((DL_FUNC)S_gresolver_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_class_init", ((DL_FUNC)S_gsocket_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_address_class_init", ((DL_FUNC)S_gsocket_address_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_address_enumerator_class_init", ((DL_FUNC)S_gsocket_address_enumerator_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_client_class_init", ((DL_FUNC)S_gsocket_client_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_connection_class_init", ((DL_FUNC)S_gsocket_connection_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_control_message_class_init", ((DL_FUNC)S_gsocket_control_message_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_listener_class_init", ((DL_FUNC)S_gsocket_listener_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_service_class_init", ((DL_FUNC)S_gsocket_service_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gtcp_connection_class_init", ((DL_FUNC)S_gtcp_connection_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gthreaded_socket_service_class_init", ((DL_FUNC)S_gthreaded_socket_service_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_giostream_class_init", ((DL_FUNC)S_giostream_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_ginet_socket_address_class_init", ((DL_FUNC)S_ginet_socket_address_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gapp_info_class_init", ((DL_FUNC)S_gapp_info_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gasync_result_class_init", ((DL_FUNC)S_gasync_result_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gdrive_class_init", ((DL_FUNC)S_gdrive_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gfile_class_init", ((DL_FUNC)S_gfile_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gicon_class_init", ((DL_FUNC)S_gicon_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gloadable_icon_class_init", ((DL_FUNC)S_gloadable_icon_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gmount_class_init", ((DL_FUNC)S_gmount_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gseekable_class_init", ((DL_FUNC)S_gseekable_class_init)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_gvolume_class_init", ((DL_FUNC)S_gvolume_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gasync_initable_class_init", ((DL_FUNC)S_gasync_initable_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_ginitable_class_init", ((DL_FUNC)S_ginitable_class_init)); #endif #if GIO_CHECK_VERSION(2, 22, 0) R_RegisterCCallable("RGtk2", "S_gsocket_connectable_class_init", ((DL_FUNC)S_gsocket_connectable_class_init)); #endif RGtk2/src/exports/pangoExports.c0000644000176000001440000000076512362467242016403 0ustar ripleyusers#include #include R_RegisterCCallable("RGtk2", "asCPangoRectangle", ((DL_FUNC)asCPangoRectangle)); R_RegisterCCallable("RGtk2", "asRPangoRectangle", ((DL_FUNC)asRPangoRectangle)); R_RegisterCCallable("RGtk2", "asRPangoAttribute", ((DL_FUNC)asRPangoAttribute)); R_RegisterCCallable("RGtk2", "asRPangoAttributeCopy", ((DL_FUNC)asRPangoAttributeCopy)); R_RegisterCCallable("RGtk2", "toRPangoAttribute", ((DL_FUNC)toRPangoAttribute)); RGtk2/src/exports/gdkUserFuncExports.c0000644000176000001440000000047212362467242017512 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_GdkFilterFunc", ((DL_FUNC)S_GdkFilterFunc)); R_RegisterCCallable("RGtk2", "S_GdkEventFunc", ((DL_FUNC)S_GdkEventFunc)); R_RegisterCCallable("RGtk2", "S_GdkPixbufSaveFunc", ((DL_FUNC)S_GdkPixbufSaveFunc)); R_RegisterCCallable("RGtk2", "S_GdkSpanFunc", ((DL_FUNC)S_GdkSpanFunc)); RGtk2/src/exports/gioUserFuncExports.c0000644000176000001440000000140612362467242017521 0ustar ripleyusers#if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GIOSchedulerJobFunc", ((DL_FUNC)S_GIOSchedulerJobFunc)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GSimpleAsyncThreadFunc", ((DL_FUNC)S_GSimpleAsyncThreadFunc)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GAsyncReadyCallback", ((DL_FUNC)S_GAsyncReadyCallback)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GFileProgressCallback", ((DL_FUNC)S_GFileProgressCallback)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GFileReadMoreCallback", ((DL_FUNC)S_GFileReadMoreCallback)); #endif #if GIO_CHECK_VERSION(2, 16, 0) R_RegisterCCallable("RGtk2", "S_GReallocFunc", ((DL_FUNC)S_GReallocFunc)); #endif RGtk2/src/exports/pangoUserFuncExports.c0000644000176000001440000000051712362467242020051 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_PangoFontsetForeachFunc", ((DL_FUNC)S_PangoFontsetForeachFunc)); R_RegisterCCallable("RGtk2", "S_PangoAttrFilterFunc", ((DL_FUNC)S_PangoAttrFilterFunc)); #if PANGO_CHECK_VERSION(1, 18, 0) R_RegisterCCallable("RGtk2", "S_PangoCairoShapeRendererFunc", ((DL_FUNC)S_PangoCairoShapeRendererFunc)); #endif RGtk2/src/exports/gdkExports.c0000644000176000001440000000011712362467242016033 0ustar ripleyusers#include #include RGtk2/src/exports/gdkClassExports.c0000644000176000001440000000335312362467242017026 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_gdk_bitmap_class_init", ((DL_FUNC)S_gdk_bitmap_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_colormap_class_init", ((DL_FUNC)S_gdk_colormap_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_display_class_init", ((DL_FUNC)S_gdk_display_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_display_manager_class_init", ((DL_FUNC)S_gdk_display_manager_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_drag_context_class_init", ((DL_FUNC)S_gdk_drag_context_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_drawable_class_init", ((DL_FUNC)S_gdk_drawable_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_window_class_init", ((DL_FUNC)S_gdk_window_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_pixmap_class_init", ((DL_FUNC)S_gdk_pixmap_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_gc_class_init", ((DL_FUNC)S_gdk_gc_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_image_class_init", ((DL_FUNC)S_gdk_image_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_keymap_class_init", ((DL_FUNC)S_gdk_keymap_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_pixbuf_animation_class_init", ((DL_FUNC)S_gdk_pixbuf_animation_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_pixbuf_animation_iter_class_init", ((DL_FUNC)S_gdk_pixbuf_animation_iter_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_pixbuf_loader_class_init", ((DL_FUNC)S_gdk_pixbuf_loader_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_pango_renderer_class_init", ((DL_FUNC)S_gdk_pango_renderer_class_init)); R_RegisterCCallable("RGtk2", "S_gdk_screen_class_init", ((DL_FUNC)S_gdk_screen_class_init)); #if GDK_CHECK_VERSION(2, 14, 0) R_RegisterCCallable("RGtk2", "S_gdk_app_launch_context_class_init", ((DL_FUNC)S_gdk_app_launch_context_class_init)); #endif RGtk2/src/exports/gioExports.c0000644000176000001440000000011712362467242016044 0ustar ripleyusers#include #include RGtk2/src/exports/pangoClassExports.c0000644000176000001440000000114212362467242017357 0ustar ripleyusersR_RegisterCCallable("RGtk2", "S_pango_font_class_init", ((DL_FUNC)S_pango_font_class_init)); R_RegisterCCallable("RGtk2", "S_pango_font_face_class_init", ((DL_FUNC)S_pango_font_face_class_init)); R_RegisterCCallable("RGtk2", "S_pango_font_family_class_init", ((DL_FUNC)S_pango_font_family_class_init)); R_RegisterCCallable("RGtk2", "S_pango_font_map_class_init", ((DL_FUNC)S_pango_font_map_class_init)); R_RegisterCCallable("RGtk2", "S_pango_fontset_class_init", ((DL_FUNC)S_pango_fontset_class_init)); R_RegisterCCallable("RGtk2", "S_pango_renderer_class_init", ((DL_FUNC)S_pango_renderer_class_init)); RGtk2/src/exports/atkExports.c0000644000176000001440000000171712362467242016054 0ustar ripleyusers#include #include R_RegisterCCallable("RGtk2", "asCAtkAttributeSet", ((DL_FUNC)asCAtkAttributeSet)); R_RegisterCCallable("RGtk2", "asCAtkAttribute", ((DL_FUNC)asCAtkAttribute)); R_RegisterCCallable("RGtk2", "asRAtkAttributeSet", ((DL_FUNC)asRAtkAttributeSet)); R_RegisterCCallable("RGtk2", "asRAtkAttribute", ((DL_FUNC)asRAtkAttribute)); R_RegisterCCallable("RGtk2", "asCAtkTextRectangle", ((DL_FUNC)asCAtkTextRectangle)); R_RegisterCCallable("RGtk2", "asRAtkTextRectangle", ((DL_FUNC)asRAtkTextRectangle)); R_RegisterCCallable("RGtk2", "asRAtkTextRange", ((DL_FUNC)asRAtkTextRange)); R_RegisterCCallable("RGtk2", "asCAtkTextRange", ((DL_FUNC)asCAtkTextRange)); R_RegisterCCallable("RGtk2", "asRAtkKeyEventStruct", ((DL_FUNC)asRAtkKeyEventStruct)); R_RegisterCCallable("RGtk2", "asCAtkRectangle", ((DL_FUNC)asCAtkRectangle)); R_RegisterCCallable("RGtk2", "asRAtkRectangle", ((DL_FUNC)asRAtkRectangle)); RGtk2/src/gtkManuals.c0000644000176000001440000015636612362467242014325 0ustar ripleyusers#include "RGtk2/gtk.h" #include "gtkFuncs.h" /* reason: needs to serve as a finalizer for the user data to the clipboard user funcs */ void S_GtkClipboardClearFunc(GtkClipboard *clipboard, gpointer user_data_or_owner) { R_freeCBData(user_data_or_owner); } /* reason: primarily because GtkToggleActionEntry contains a GCallback, but there are many other inconvenient things about this function. note: the following two functions have the same args, because the user should not be bothered with memory destruction. */ USER_OBJECT_ S_gtk_action_group_add_toggle_actions_full(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_user_data) { int i; GtkActionGroup* group = GTK_ACTION_GROUP(getPtrValue(s_action_group)); for (i = 0; i < GET_LENGTH(s_entries); i++) { GtkToggleAction *action; USER_OBJECT_ s_entry = VECTOR_ELT(s_entries, i), callback = VECTOR_ELT(s_entry, 5); const gchar* accel = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 3))); const gchar* tooltip = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 4))); action = gtk_toggle_action_new(asCString(VECTOR_ELT(s_entry, 0)), asCString(VECTOR_ELT(s_entry, 2)), tooltip, asCString(VECTOR_ELT(s_entry, 1))); gtk_toggle_action_set_active(action, asCLogical(VECTOR_ELT(s_entry, 6))); if (GET_LENGTH(callback) > 0) g_signal_connect_closure(action, "toggled", R_createGClosure(callback, s_user_data), (gboolean)1); gtk_action_group_add_action_with_accel(group, (GtkAction *)action, accel); g_object_unref(action); } return(NULL_USER_OBJECT); } USER_OBJECT_ S_gtk_action_group_add_toggle_actions(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_user_data) { return(S_gtk_action_group_add_toggle_actions_full(s_action_group, s_entries, s_user_data)); } /* reason: same as above basically */ USER_OBJECT_ S_gtk_action_group_add_radio_actions_full(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_value, USER_OBJECT_ s_on_change, USER_OBJECT_ s_user_data) { GtkRadioAction* first = NULL; GSList *group_list = NULL; int i; GtkActionGroup* group = GTK_ACTION_GROUP(getPtrValue(s_action_group)); int value = asCInteger(s_value); GtkRadioAction *action = NULL; for (i = 0; i < GET_LENGTH(s_entries); i++) { USER_OBJECT_ s_entry = VECTOR_ELT(s_entries, i); const gchar* accel = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 3))); const gchar* tooltip = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 4))); action = gtk_radio_action_new(asCString(VECTOR_ELT(s_entry, 0)), asCString(VECTOR_ELT(s_entry, 2)), tooltip, asCString(VECTOR_ELT(s_entry, 1)), asCInteger(VECTOR_ELT(s_entry,5))); /* add this radio action to the group list */ gtk_radio_action_set_group(action, group_list); group_list = gtk_radio_action_get_group(action); if (i == 0) first = action; if (value == asCInteger(VECTOR_ELT(s_entry,5))) gtk_toggle_action_set_active((GtkToggleAction *)action, TRUE); gtk_action_group_add_action_with_accel(group, (GtkAction*)action, accel); g_object_unref(action); } if(GET_LENGTH(s_on_change) > 0 && first) g_signal_connect_closure(action, "changed", R_createGClosure(s_on_change, s_user_data), TRUE); return(NULL_USER_OBJECT); } USER_OBJECT_ S_gtk_action_group_add_radio_actions(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_value, USER_OBJECT_ s_on_change, USER_OBJECT_ s_user_data) { return(S_gtk_action_group_add_radio_actions_full(s_action_group, s_entries, s_value, s_on_change, s_user_data)); } /* reason: same as above */ USER_OBJECT_ S_gtk_action_group_add_actions_full(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_user_data) { int i; GtkActionGroup* group = GTK_ACTION_GROUP(getPtrValue(s_action_group)); for (i = 0; i < GET_LENGTH(s_entries); i++) { GtkAction *action; USER_OBJECT_ s_entry = VECTOR_ELT(s_entries, i), callback = VECTOR_ELT(s_entry, 5); const gchar* accel = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 3))); const gchar* tooltip = gtk_action_group_translate_string(group, asCString(VECTOR_ELT(s_entry, 4))); action = gtk_action_new(asCString(VECTOR_ELT(s_entry, 0)), asCString(VECTOR_ELT(s_entry, 2)), tooltip, asCString(VECTOR_ELT(s_entry, 1))); if (GET_LENGTH(callback) > 0) g_signal_connect_closure(action, "activate", R_createGClosure(callback, s_user_data), TRUE); gtk_action_group_add_action_with_accel(group, (GtkAction *)action, accel); g_object_unref(action); } return(NULL_USER_OBJECT); } USER_OBJECT_ S_gtk_action_group_add_actions(USER_OBJECT_ s_action_group, USER_OBJECT_ s_entries, USER_OBJECT_ s_user_data) { return(S_gtk_action_group_add_actions_full(s_action_group, s_entries, s_user_data)); } /* Cannot set row data without a finalizer */ USER_OBJECT_ S_gtk_clist_set_row_data ( USER_OBJECT_ s_object, USER_OBJECT_ s_row, USER_OBJECT_ s_data ) { GtkCList* object = GTK_CLIST(getPtrValue(s_object)) ; gint row = INTEGER_DATA(s_row)[0] ; gpointer data = asCGenericData(s_data) ; USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_clist_set_row_data_full ( object, row, data, (GtkDestroyNotify)R_ReleaseObject ); return(_result); } USER_OBJECT_ S_gtk_ctree_node_set_row_data ( USER_OBJECT_ s_object, USER_OBJECT_ s_node, USER_OBJECT_ s_data ) { GtkCTree* object = GTK_CTREE(getPtrValue(s_object)) ; GtkCTreeNode* node = GTK_CTREE_NODE(getPtrValue(s_node)) ; gpointer data = asCGenericData(s_data) ; USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_ctree_node_set_row_data_full ( object, node, data, (GtkDestroyNotify)R_ReleaseObject ); return(_result); } /* reason: GtkSignalFunc is a generic user-func, cannot auto-convert (even though at least in the defs it is always treated as a GtkCallback) USER_OBJECT_ S_gtk_toolbar_append_element ( USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data ) { GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)) ; GtkToolbarChildType type = (GtkToolbarChildType)INTEGER_DATA(s_type)[0]; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)) ; const char* text = CHAR_DEREF(STRING_ELT(s_text, 0)) ; const char* tooltip_text = CHAR_DEREF(STRING_ELT(s_tooltip_text, 0)) ; const char* tooltip_private_text = CHAR_DEREF(STRING_ELT(s_tooltip_private_text, 0)) ; GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)) ; GtkSignalFunc callback = (GtkSignalFunc)S_GtkCallback ; gpointer user_data = R_createGClosure(s_callback, s_user_data) ; GtkWidget* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_toolbar_append_element ( object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data ); _result = toRPointerWithRef ( ans, "GtkWidget" ); return(_result); } USER_OBJECT_ S_gtk_toolbar_prepend_element ( USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data ) { GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)) ; GtkToolbarChildType type = (GtkToolbarChildType)INTEGER_DATA(s_type)[0]; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)) ; const char* text = CHAR_DEREF(STRING_ELT(s_text, 0)) ; const char* tooltip_text = CHAR_DEREF(STRING_ELT(s_tooltip_text, 0)) ; const char* tooltip_private_text = CHAR_DEREF(STRING_ELT(s_tooltip_private_text, 0)) ; GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)) ; GtkSignalFunc callback = (GtkSignalFunc)S_GtkCallback ; gpointer user_data = R_createGClosure(s_callback, s_user_data) ; GtkWidget* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_toolbar_prepend_element ( object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data ); _result = toRPointerWithRef ( ans, "GtkWidget" ); return(_result); } USER_OBJECT_ S_gtk_toolbar_insert_element ( USER_OBJECT_ s_object, USER_OBJECT_ s_type, USER_OBJECT_ s_widget, USER_OBJECT_ s_text, USER_OBJECT_ s_tooltip_text, USER_OBJECT_ s_tooltip_private_text, USER_OBJECT_ s_icon, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_position ) { GtkToolbar* object = GTK_TOOLBAR(getPtrValue(s_object)) ; GtkToolbarChildType type = (GtkToolbarChildType)INTEGER_DATA(s_type)[0] ; GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)) ; const char* text = CHAR_DEREF(STRING_ELT(s_text, 0)) ; const char* tooltip_text = CHAR_DEREF(STRING_ELT(s_tooltip_text, 0)) ; const char* tooltip_private_text = CHAR_DEREF(STRING_ELT(s_tooltip_private_text, 0)) ; GtkWidget* icon = GTK_WIDGET(getPtrValue(s_icon)) ; GtkSignalFunc callback = (GtkSignalFunc)S_GtkCallback; gpointer user_data = R_createGClosure(s_callback, s_user_data) ; gint position = INTEGER_DATA(s_position)[0] ; GtkWidget* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_toolbar_insert_element ( object, type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data, position ); _result = toRPointerWithRef ( ans, "GtkWidget" ); return(_result); }*/ /* reason: GtkItemFactoryEntry has a context-dependent GCallback Also, the callback data is external to the struct... */ USER_OBJECT_ S_gtk_item_factory_create_item ( USER_OBJECT_ s_object, USER_OBJECT_ s_entry, USER_OBJECT_ s_callback_data, USER_OBJECT_ s_callback_type ) { GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)) ; GtkItemFactoryEntry* entry; R_CallbackData* callback_data = R_createCBData(VECTOR_ELT(s_entry, 3), s_callback_data) ; guint callback_type = (guint)NUMERIC_DATA(s_callback_type)[0] ; USER_OBJECT_ _result = NULL_USER_OBJECT; entry = R_createGtkItemFactoryEntry(s_entry, callback_type) ; gtk_item_factory_create_item ( object, entry, callback_data, callback_type ); return(_result); } USER_OBJECT_ S_gtk_item_factory_create_items_ac ( USER_OBJECT_ s_object, USER_OBJECT_ s_entries, USER_OBJECT_ s_callback_data, USER_OBJECT_ s_callback_type ) { GtkItemFactory* object = GTK_ITEM_FACTORY(getPtrValue(s_object)) ; guint n_entries = GET_LENGTH(s_entries) ; GtkItemFactoryEntry* entries; R_CallbackData* callback_data = R_createCBData(VECTOR_ELT(s_entries, 3), s_callback_data) ; guint callback_type = (guint)NUMERIC_DATA(s_callback_type)[0] ; USER_OBJECT_ _result = NULL_USER_OBJECT; GtkItemFactoryEntry* (*convert)(USER_OBJECT_ s_entry); if (callback_type == 1) convert = asCGtkItemFactoryEntry; else convert = asCGtkItemFactoryEntry2; entries = asCArrayRef(s_entries, GtkItemFactoryEntry, convert) ; gtk_item_factory_create_items_ac ( object, n_entries, entries, callback_data, callback_type ); return(_result); } USER_OBJECT_ S_gtk_item_factory_create_items ( USER_OBJECT_ s_object, USER_OBJECT_ s_entries, USER_OBJECT_ s_callback_data ) { return(S_gtk_item_factory_create_items_ac(s_object, s_entries, s_callback_data, asRInteger(1))); } /* reason: array must be pre-allocated */ USER_OBJECT_ S_gtk_curve_get_vector ( USER_OBJECT_ s_object, USER_OBJECT_ s_veclen ) { GtkCurve* object = GTK_CURVE(getPtrValue(s_object)) ; int veclen = INTEGER_DATA(s_veclen)[0] ; USER_OBJECT_ _result = NULL_USER_OBJECT; gfloat* vector = g_malloc(sizeof(gfloat)*veclen) ; gtk_curve_get_vector ( object, veclen, vector ); _result = retByVal(_result, "vector", asRNumericArrayWithSize ( vector, veclen ), NULL); g_free(vector); return(_result); } /* reason: Code generator gets confused about array size variable (also need to init GValues) */ USER_OBJECT_ S_gtk_list_store_insert_with_valuesv ( USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_columns, USER_OBJECT_ s_values ) { GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)) ; gint position = INTEGER_DATA(s_position)[0] ; gint* columns = INTEGER_DATA(s_columns) ; gint n_values = GET_LENGTH(s_values), i; GValue* values = (GValue*)g_new0(GValue, n_values); for (i = 0; i < n_values; i++) { g_value_init(&values[i], gtk_tree_model_get_column_type(GTK_TREE_MODEL(object), columns[i])); R_setGValueFromSValue(&values[i], VECTOR_ELT(s_values, i)); } USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIter iter; gtk_list_store_insert_with_valuesv ( object, &iter, position, columns, values, n_values ); _result = retByVal(_result, "iter", toRPointerWithFinalizer ( gtk_tree_iter_copy(&iter), "GtkTreeIter", (RPointerFinalizer)gtk_tree_iter_free ), NULL); for (i = 0; i < n_values; i++) g_value_unset(&values[i]); g_free(values); return(_result); } #if GTK_CHECK_VERSION(2,10,0) USER_OBJECT_ S_gtk_tree_store_insert_with_valuesv ( USER_OBJECT_ s_object, USER_OBJECT_ s_parent, USER_OBJECT_ s_position, USER_OBJECT_ s_columns, USER_OBJECT_ s_values ) { GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)) ; GtkTreeIter *parent = (GtkTreeIter *)getPtrValue(s_parent); gint position = INTEGER_DATA(s_position)[0] ; gint* columns = INTEGER_DATA(s_columns) ; gint n_values = GET_LENGTH(s_values), i; GValue* values = (GValue*)g_new0(GValue, n_values); for (i = 0; i < n_values; i++) { g_value_init(&values[i], gtk_tree_model_get_column_type(GTK_TREE_MODEL(object), columns[i])); R_setGValueFromSValue(&values[i], VECTOR_ELT(s_values, i)); } USER_OBJECT_ _result = NULL_USER_OBJECT; GtkTreeIter iter; gtk_tree_store_insert_with_valuesv ( object, &iter, parent, position, columns, values, n_values ); _result = retByVal(_result, "iter", toRPointerWithFinalizer ( gtk_tree_iter_copy(&iter), "GtkTreeIter", (RPointerFinalizer)gtk_tree_iter_free ), NULL); for (i = 0; i < n_values; i++) g_value_unset(&values[i]); g_free(values); return(_result); } #endif /* reason: need to set mask on the fly - also, handle object pool */ USER_OBJECT_ S_gtk_gc_get ( USER_OBJECT_ s_depth, USER_OBJECT_ s_colormap, USER_OBJECT_ s_values ) { gint depth = (gint)INTEGER_DATA(s_depth)[0] ; GdkColormap* colormap = GDK_COLORMAP(getPtrValue(s_colormap)) ; GdkGCValues* values; GdkGCValuesMask values_mask; GdkGC* ans ; USER_OBJECT_ _result = NULL_USER_OBJECT; values = asCGdkGCValuesWithMask(s_values, &values_mask) ; ans = gtk_gc_get ( depth, colormap, values, values_mask ); _result = toRPointerWithFinalizer ( ans, "GdkGC", (RPointerFinalizer)gtk_gc_release ); return(_result); } /* reason: var args function, but no changes necessary */ USER_OBJECT_ S_gtk_message_dialog_new(USER_OBJECT_ s_parent, USER_OBJECT_ s_flags, USER_OBJECT_ s_type, USER_OBJECT_ s_buttons, USER_OBJECT_ s_message_format) { GtkWindow* parent = GET_LENGTH(s_parent) == 0 ? NULL : GTK_WINDOW(getPtrValue(s_parent)); GtkDialogFlags flags = (GtkDialogFlags)asCFlag(s_flags, GTK_TYPE_DIALOG_FLAGS); GtkMessageType type = (GtkMessageType)asCEnum(s_type, GTK_TYPE_MESSAGE_TYPE); GtkButtonsType buttons = (GtkButtonsType)asCEnum(s_buttons, GTK_TYPE_BUTTONS_TYPE); const gchar* message_format = (const gchar*)asCString(s_message_format); GtkWidget* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; if (!message_format) message_format = ""; ans = gtk_message_dialog_new(parent, flags, type, buttons, "%s", message_format); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } /* reason: same as above */ USER_OBJECT_ S_gtk_message_dialog_new_with_markup(USER_OBJECT_ s_parent, USER_OBJECT_ s_flags, USER_OBJECT_ s_type, USER_OBJECT_ s_buttons, USER_OBJECT_ s_message_format) { GtkWindow* parent = GTK_WINDOW(getPtrValue(s_parent)); GtkDialogFlags flags = (GtkDialogFlags)asCFlag(s_flags, GTK_TYPE_DIALOG_FLAGS); GtkMessageType type = (GtkMessageType)asCEnum(s_type, GTK_TYPE_MESSAGE_TYPE); GtkButtonsType buttons = (GtkButtonsType)asCEnum(s_buttons, GTK_TYPE_BUTTONS_TYPE); const gchar* message_format = (const gchar*)asCString(s_message_format); GtkWidget* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; if (!message_format) message_format = ""; ans = gtk_message_dialog_new_with_markup(parent, flags, type, buttons, "%s", message_format); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } /* reason: same as above */ USER_OBJECT_ S_gtk_message_dialog_format_secondary_text(USER_OBJECT_ s_object, USER_OBJECT_ s_message_format) { GtkMessageDialog* object = GTK_MESSAGE_DIALOG(getPtrValue(s_object)); const gchar* message_format = (const gchar*)asCString(s_message_format); USER_OBJECT_ _result = NULL_USER_OBJECT; if (!message_format) message_format = ""; gtk_message_dialog_format_secondary_text(object, "%s", message_format); return(_result); } /* reason: same as above */ USER_OBJECT_ S_gtk_message_dialog_format_secondary_markup(USER_OBJECT_ s_object, USER_OBJECT_ s_message_format) { GtkMessageDialog* object = GTK_MESSAGE_DIALOG(getPtrValue(s_object)); const gchar* message_format = (const gchar*)asCString(s_message_format); USER_OBJECT_ _result = NULL_USER_OBJECT; if (!message_format) message_format = ""; gtk_message_dialog_format_secondary_markup(object, "%s", message_format); return(_result); } /* reason: var args, take lists of labels and responses from R */ USER_OBJECT_ S_gtk_dialog_add_buttons(USER_OBJECT_ s_object, USER_OBJECT_ s_labels, USER_OBJECT_ s_responses) { USER_OBJECT_ _result = NULL_USER_OBJECT; gint i; for (i = 0; i < GET_LENGTH(s_labels); i++) S_gtk_dialog_add_button(s_object, STRING_ELT(s_labels, i), VECTOR_ELT(s_responses, i)); return(_result); } /* reason: var args, take lists of labels and responses describing the buttons */ USER_OBJECT_ S_gtk_file_chooser_dialog_new_with_backend(USER_OBJECT_ s_title, USER_OBJECT_ s_parent, USER_OBJECT_ s_action, USER_OBJECT_ s_backend, USER_OBJECT_ s_labels, USER_OBJECT_ s_responses) { const gchar* title = (const gchar*)asCString(s_title); GtkWindow* parent = s_parent == NULL_USER_OBJECT ? NULL : GTK_WINDOW(getPtrValue(s_parent)); GtkFileChooserAction action = (GtkFileChooserAction)asCEnum(s_action, GTK_TYPE_FILE_CHOOSER_ACTION); const gchar* backend = (const gchar*)asCString(s_backend); GtkWidget* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = g_object_new(GTK_TYPE_FILE_CHOOSER_DIALOG, "title", title, "action", action, "file-system-backend", backend, NULL); if (parent) gtk_window_set_transient_for(GTK_WINDOW(ans), parent); _result = PROTECT(toRPointerWithSink(ans, "GtkWidget")); S_gtk_dialog_add_buttons(_result, s_labels, s_responses); UNPROTECT(1); return(_result); } #if GTK_CHECK_VERSION(2,10,0) USER_OBJECT_ S_gtk_recent_chooser_dialog_new_for_manager(USER_OBJECT_ s_title, USER_OBJECT_ s_parent, USER_OBJECT_ s_manager, USER_OBJECT_ s_labels, USER_OBJECT_ s_responses) { const gchar* title = (const gchar*)asCString(s_title); GtkWindow* parent = s_parent == NULL_USER_OBJECT ? NULL : GTK_WINDOW(getPtrValue(s_parent)); GtkRecentManager *manager = s_manager == NULL_USER_OBJECT ? NULL : GTK_RECENT_MANAGER(getPtrValue(s_manager)); GtkWidget* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_recent_chooser_dialog_new_for_manager(title, parent, manager, NULL, NULL); _result = PROTECT(toRPointerWithSink(ans, "GtkWidget")); S_gtk_dialog_add_buttons(_result, s_labels, s_responses); UNPROTECT(1); return(_result); } #endif /* reason: var args, receive two vectors from R */ USER_OBJECT_ S_gtk_file_chooser_dialog_new(USER_OBJECT_ s_title, USER_OBJECT_ s_parent, USER_OBJECT_ s_action, USER_OBJECT_ s_labels, USER_OBJECT_ s_responses) { USER_OBJECT_ _result = NULL_USER_OBJECT; _result = S_gtk_file_chooser_dialog_new_with_backend(s_title, s_parent, s_action, NULL, s_labels, s_responses); return(_result); } USER_OBJECT_ S_gtk_show_about_dialog(USER_OBJECT_ s_parent, USER_OBJECT_ s_props) { GtkWindow* parent = GET_LENGTH(s_parent) == 0 ? NULL : GTK_WINDOW(getPtrValue(s_parent)); static GtkWidget *global_about_dialog = NULL; GtkWidget *dialog = NULL; USER_OBJECT_ s_dialog; if (parent) dialog = g_object_get_data (G_OBJECT (parent), "gtk-about-dialog"); else dialog = global_about_dialog; if (!dialog) { dialog = gtk_about_dialog_new (); g_object_ref (dialog); gtk_object_sink (GTK_OBJECT (dialog)); g_signal_connect (dialog, "delete_event", G_CALLBACK (gtk_widget_hide_on_delete), NULL); /* Close dialog on user response */ g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_hide), NULL); PROTECT(s_dialog = toRPointer(dialog, "GtkAboutDialog")); R_setGObjectProps (s_dialog, s_props); UNPROTECT(1); if (parent) { gtk_window_set_transient_for (GTK_WINDOW (dialog), parent); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); g_object_set_data_full (G_OBJECT (parent), "gtk-about-dialog", dialog, g_object_unref); } else global_about_dialog = dialog; } gtk_window_present (GTK_WINDOW (dialog)); return(NULL_USER_OBJECT); } /* reason: var-args convenience function, reimplement */ USER_OBJECT_ S_gtk_text_buffer_create_tag(USER_OBJECT_ s_object, USER_OBJECT_ s_tag_name, USER_OBJECT_ s_props) { GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); const gchar* tag_name = (const gchar*)asCString(s_tag_name); GtkTextTag* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_text_tag_new(tag_name); gtk_text_tag_table_add(gtk_text_buffer_get_tag_table(object), ans); PROTECT(_result = toRPointerWithFinalizer(ans, "GtkTextTag", g_object_unref)); R_setGObjectProps (_result, s_props); UNPROTECT(1); return(_result); } /* reason: var-args, reimplemented using a list from R */ USER_OBJECT_ S_gtk_text_buffer_insert_with_tags_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_tag_names) { GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = (GtkTextIter*)getPtrValue(s_iter); const gchar* text = (const gchar*)asCString(s_text); gint len = -1; gint start_offset, i; GtkTextIter start; USER_OBJECT_ _result = NULL_USER_OBJECT; start_offset = gtk_text_iter_get_offset(iter); gtk_text_buffer_insert(object, iter, text, len); gtk_text_buffer_get_iter_at_offset(object, &start, start_offset); for (i = 0; i < GET_LENGTH(s_tag_names); i++) { gtk_text_buffer_apply_tag_by_name(object, (const gchar*)asCString(STRING_ELT(s_tag_names, i)), &start, iter); } return(_result); } /* reason: var-args, reimplemented using a list from R */ USER_OBJECT_ S_gtk_text_buffer_insert_with_tags(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_text, USER_OBJECT_ s_len, USER_OBJECT_ s_tags) { GtkTextBuffer* object = GTK_TEXT_BUFFER(getPtrValue(s_object)); GtkTextIter* iter = (GtkTextIter*)getPtrValue(s_iter); const gchar* text = (const gchar*)asCString(s_text); gint len = (gint)asCInteger(s_len); gint start_offset, i; GtkTextIter start; USER_OBJECT_ _result = NULL_USER_OBJECT; start_offset = gtk_text_iter_get_offset(iter); gtk_text_buffer_insert(object, iter, text, len); gtk_text_buffer_get_iter_at_offset(object, &start, start_offset); for (i = 0; i < Rf_length(s_tags); i++) { gtk_text_buffer_apply_tag(object, GTK_TEXT_TAG(getPtrValue(VECTOR_ELT(s_tags, i))), &start, iter); } return(_result); } /* supporting function for adding buttons to a dialog */ USER_OBJECT_ S_gtk_dialog_add_buttons_valist(GtkDialog *dialog, const gchar *first_button_text, va_list args) { const gchar* text; gint response_id; g_return_val_if_fail(GTK_IS_DIALOG (dialog), NULL_USER_OBJECT); if (first_button_text == NULL) return NULL_USER_OBJECT; text = first_button_text; response_id = asCInteger(va_arg(args, USER_OBJECT_)); while (text != NULL) { gtk_dialog_add_button(dialog, text, response_id); text = asCString(va_arg(args, USER_OBJECT_)); if (text == NULL) break; response_id = asCInteger(va_arg(args, USER_OBJECT_)); } return(NULL_USER_OBJECT); } /* reason: var args, must reimplement */ USER_OBJECT_ S_gtk_dialog_new_with_buttons(USER_OBJECT_ s_title, USER_OBJECT_ s_parent, USER_OBJECT_ s_flags, USER_OBJECT_ s_labels, USER_OBJECT_ s_responses) { const gchar* title = (const gchar*)asCString(s_title); GtkWindow* parent = GET_LENGTH(s_parent) == 0 ? NULL : GTK_WINDOW(getPtrValue(s_parent)); GtkDialogFlags flags = (GtkDialogFlags)asCFlag(s_flags, GTK_TYPE_DIALOG_FLAGS); GtkDialog* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = GTK_DIALOG(gtk_dialog_new()); gtk_window_set_title(GTK_WINDOW(ans), title); if (parent) gtk_window_set_transient_for(GTK_WINDOW(ans), parent); gtk_window_set_modal(GTK_WINDOW(ans), flags & GTK_DIALOG_MODAL); gtk_window_set_destroy_with_parent(GTK_WINDOW(ans), flags & GTK_DIALOG_DESTROY_WITH_PARENT); gtk_dialog_set_has_separator(ans, !(flags & GTK_DIALOG_NO_SEPARATOR)); _result = PROTECT(toRPointerWithSink(ans, "GtkWidget")); S_gtk_dialog_add_buttons(_result, s_labels, s_responses); UNPROTECT(1); return(_result); } /* reason: var args, need to reimplement */ /* doesn't work right now - needs to much internal GTK stuff */ /*USER_OBJECT_ S_gtk_dialog_set_alternative_button_order(USER_OBJECT_ s_object, USER_OBJECT_ s_first_response_id, ...) { GtkDialog* object = GTK_DIALOG(getPtrValue(s_object)); gint first_response_id = (gint)asCInteger(s_first_response_id); GdkScreen *screen; va_list args; USER_OBJECT_ _result = NULL_USER_OBJECT; screen = gtk_widget_get_screen(GTK_WIDGET(object)); if (!gtk_alternative_dialog_button_order(screen)) return(_result); va_start(args, s_first_response_id); GtkWidget *child; gint response_id = first_response_id; gint position = 0; while (response_id != -1) { // reorder child with response_id to position // dialog_find_button is internal to GTK child = dialog_find_button(object, response_id); gtk_box_reorder_child(GTK_BOX(object->action_area), child, position); response_id = asCInteger(va_arg(args, USER_OBJECT_)); position++; } va_end(args); return(_result); }*/ /* reason: need to coerce GValue to type of column */ USER_OBJECT_ S_gtk_list_store_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_column, USER_OBJECT_ s_value) { GtkListStore* object = GTK_LIST_STORE(getPtrValue(s_object)); GtkTreeIter* iter = (GtkTreeIter*)getPtrValue(s_iter); gint column = (gint)asCInteger(s_column); GValue value = { 0, }; USER_OBJECT_ _result = NULL_USER_OBJECT; g_value_init(&value, gtk_tree_model_get_column_type(GTK_TREE_MODEL(object), column)); R_setGValueFromSValue(&value, s_value); gtk_list_store_set_value(object, iter, column, &value); CLEANUP(g_value_unset, &value); return(_result); } /* reason: more varargs */ USER_OBJECT_ S_gtk_list_store_set(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_cols, USER_OBJECT_ s_values) { gint i; USER_OBJECT_ _result = NULL_USER_OBJECT; for (i = 0; i < GET_LENGTH(s_cols); i++) S_gtk_list_store_set_value(s_object, s_iter, asRInteger(INTEGER_DATA(s_cols)[i]), VECTOR_ELT(s_values, i)); return(_result); } /* reason: var args, need to build a list of converted GValues */ USER_OBJECT_ S_gtk_tree_model_get(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_cols) { gint n = GET_LENGTH(s_cols), i; USER_OBJECT_ s_values; PROTECT(s_values = NEW_LIST(n)); for(i = 0; i < n; i++) SET_VECTOR_ELT(s_values, i, VECTOR_ELT(S_gtk_tree_model_get_value(s_object, s_iter, asRInteger(INTEGER_DATA(s_cols)[i])), 1)); UNPROTECT(1); return(s_values); } /* reason: var-args, reimplemented */ USER_OBJECT_ S_gtk_cell_layout_set_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cell, USER_OBJECT_ s_attributes) { GtkCellLayout* object = GTK_CELL_LAYOUT(getPtrValue(s_object)); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); USER_OBJECT_ names = GET_NAMES(s_attributes); gint i; USER_OBJECT_ _result = NULL_USER_OBJECT; for (i = 0; i < GET_LENGTH(s_attributes); i++) gtk_cell_layout_add_attribute(object, cell, asCString(STRING_ELT(names, i)), asCInteger(VECTOR_ELT(s_attributes, i))); return(_result); } /* reason: var-args */ USER_OBJECT_ S_gtk_container_child_set(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_props) { GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); USER_OBJECT_ names = GET_NAMES(s_props); gint i; USER_OBJECT_ _result = NULL_USER_OBJECT; for (i = 0; i < GET_LENGTH(s_props); i++) gtk_container_child_set_property(object, child, asCString(STRING_ELT(names, i)), asCGValue(VECTOR_ELT(s_props, i))); return(_result); } /* reason: var-args */ USER_OBJECT_ S_gtk_container_add_with_properties(USER_OBJECT_ s_object, USER_OBJECT_ s_widget, USER_OBJECT_ s_properties) { GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* widget = GTK_WIDGET(getPtrValue(s_widget)); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_container_add(object, widget); S_gtk_container_child_set(s_object, s_widget, s_properties); return(_result); } /* reason: more var-args */ USER_OBJECT_ S_gtk_container_child_get(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_names) { gint i; USER_OBJECT_ _result; PROTECT(_result = NEW_LIST(GET_LENGTH(s_names))); for (i = 0; i < GET_LENGTH(s_names); i++) SET_VECTOR_ELT(_result, i, VECTOR_ELT( S_gtk_container_child_get_property(s_object, s_child, STRING_ELT(s_names, i)), 1)); return(_result); } /* reason: var-args, reimplemented */ USER_OBJECT_ S_gtk_tree_view_insert_column_with_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_position, USER_OBJECT_ s_title, USER_OBJECT_ s_cell, USER_OBJECT_ s_attributes) { GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint position = (gint)asCInteger(s_position), i; const gchar* title = (const gchar*)asCString(s_title); GtkCellRenderer* cell = GTK_CELL_RENDERER(getPtrValue(s_cell)); GtkTreeViewColumn *column; USER_OBJECT_ s_names; gint ans; USER_OBJECT_ _result = NULL_USER_OBJECT; column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, title); gtk_tree_view_column_pack_start(column, cell, TRUE); s_names = GET_NAMES(s_attributes); for (i = 0; i < GET_LENGTH(s_attributes); i++) { gtk_tree_view_column_add_attribute(column, cell, asCString(STRING_ELT(s_names, i)), asCInteger(VECTOR_ELT(s_attributes, i))); } ans = gtk_tree_view_insert_column(object, column, position); _result = asRInteger(ans); return(_result); } /* reason: var-args, receive vector of indices from R */ USER_OBJECT_ S_gtk_tree_path_new_from_indices(USER_OBJECT_ s_indices) { gint i; GtkTreePath* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_tree_path_new(); for (i = 0; i < GET_LENGTH(s_indices); i++) gtk_tree_path_append_index(ans, INTEGER_DATA(s_indices)[i]); _result = toRPointerWithFinalizer(ans, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free); return(_result); } /* reason: property constructor system doesn't treat text asC mnemonic */ USER_OBJECT_ S_gtk_label_new_with_mnemonic(USER_OBJECT_ s_str) { const char* str = (const char*)asCString(s_str); GtkWidget* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_label_new_with_mnemonic(str); _result = toRPointerWithSink(ans, "GtkWidget"); return(_result); } /* reason: 1) should not free this array 2) the length of array is the depth of the path */ USER_OBJECT_ S_gtk_tree_path_get_indices(USER_OBJECT_ s_object) { GtkTreePath* object = (GtkTreePath*)getPtrValue(s_object); gint* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_tree_path_get_indices(object); _result = asRIntegerArrayWithSize(ans, gtk_tree_path_get_depth(object)); return(_result); } /* reason: discard text length parameter and handle in-out position it's probably too much trouble to add automatic in-out support, especially because it only affects primitive types - why couldn't they just return that by value? C-level convenience.. */ USER_OBJECT_ S_gtk_editable_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_new_text, USER_OBJECT_ s_position) { GtkEditable* object = GTK_EDITABLE(getPtrValue(s_object)); const gchar* new_text = (const gchar*)asCString(s_new_text); gint* position = (gint*)asCArray(s_position, gint, asCInteger); gint new_text_length = strlen(new_text); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_editable_insert_text(object, new_text, new_text_length, position); _result = retByVal(_result, "position", asRInteger(*position), NULL); return(_result); } /* reason: need to include max_seq_len asC a parameter (left off by array length detection) */ USER_OBJECT_ S_gtk_im_context_simple_add_table(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_max_seq_len, USER_OBJECT_ s_n_seqs) { GtkIMContextSimple* object = GTK_IM_CONTEXT_SIMPLE(getPtrValue(s_object)); guint16* data = (guint16*)asCArray(s_data, guint16, asCInteger); gint max_seq_len = (gint)asCInteger(s_max_seq_len); gint n_seqs = (gint)asCInteger(s_n_seqs); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_im_context_simple_add_table(object, data, max_seq_len, n_seqs); return(_result); } /* reason: need to hide geometry hints from user */ USER_OBJECT_ S_gtk_window_set_geometry_hints(USER_OBJECT_ s_object, USER_OBJECT_ s_geometry_widget, USER_OBJECT_ s_geometry) { GtkWindow* object = GTK_WINDOW(getPtrValue(s_object)); GtkWidget* geometry_widget = GTK_WIDGET(getPtrValue(s_geometry_widget)); GdkGeometry* geometry; GdkWindowHints geom_mask; USER_OBJECT_ _result = NULL_USER_OBJECT; geometry = asCGdkGeometry(s_geometry, &geom_mask); gtk_window_set_geometry_hints(object, geometry_widget, geometry, geom_mask); return(_result); } /* reason: the following functions require special handling for returned G(S)Lists - mostly just need to avoid finalization */ USER_OBJECT_ S_gtk_ui_manager_get_action_groups(USER_OBJECT_ s_object) { GtkUIManager* object = GTK_UI_MANAGER(getPtrValue(s_object)); GList* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_ui_manager_get_action_groups(object); _result = asRGListWithRef(ans, "GtkActionGroup"); /* Do NOT free the GList */ return(_result); } USER_OBJECT_ S_gtk_menu_get_for_attach_widget(USER_OBJECT_ s_object) { GtkWidget* object = GTK_WIDGET(getPtrValue(s_object)); GList* ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = gtk_menu_get_for_attach_widget(object); _result = asRGList(ans, "GtkMenu"); return(_result); } /* reason: normally string arrays are NULL-terminated, but this one isn't */ USER_OBJECT_ S_gtk_icon_theme_set_search_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path) { GtkIconTheme* object = GTK_ICON_THEME(getPtrValue(s_object)); const gchar** path = (const gchar**)asCStringArray(s_path); gint n_elements = GET_LENGTH(s_path); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_icon_theme_set_search_path(object, path, n_elements); return(_result); } /* reason: need to initialize GValue with correct type */ USER_OBJECT_ S_gtk_tree_store_set_value(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_column, USER_OBJECT_ s_value) { GtkTreeStore* object = GTK_TREE_STORE(getPtrValue(s_object)); GtkTreeIter* iter = (GtkTreeIter*)getPtrValue(s_iter); gint column = (gint)asCInteger(s_column); GValue value = { 0, }; USER_OBJECT_ _result = NULL_USER_OBJECT; g_value_init(&value, gtk_tree_model_get_column_type(GTK_TREE_MODEL(object), column)); R_setGValueFromSValue(&value, s_value); gtk_tree_store_set_value(object, iter, column, &value); CLEANUP(g_value_unset, &value); return(_result); } /* reason: varargs, this time for tree store */ USER_OBJECT_ S_gtk_tree_store_set(USER_OBJECT_ s_object, USER_OBJECT_ s_iter, USER_OBJECT_ s_cols, USER_OBJECT_ s_values) { gint i; USER_OBJECT_ _result = NULL_USER_OBJECT; for (i = 0; i < GET_LENGTH(s_cols); i++) S_gtk_tree_store_set_value(s_object, s_iter, asRInteger(INTEGER_DATA(s_cols)[i]), VECTOR_ELT(s_values, i)); return(_result); } USER_OBJECT_ S_gtk_container_child_set_property(USER_OBJECT_ s_object, USER_OBJECT_ s_child, USER_OBJECT_ s_property_name, USER_OBJECT_ s_value) { GtkContainer* object = GTK_CONTAINER(getPtrValue(s_object)); GtkWidget* child = GTK_WIDGET(getPtrValue(s_child)); const gchar* property_name = (const gchar*)asCString(s_property_name); GValue value = { 0, }; USER_OBJECT_ _result = NULL_USER_OBJECT; GParamSpec *spec = gtk_container_class_find_child_property(G_OBJECT_GET_CLASS(object), property_name); g_value_init(&value, G_PARAM_SPEC_VALUE_TYPE(spec)); R_setGValueFromSValue(&value, s_value); gtk_container_child_set_property(object, child, property_name, &value); CLEANUP(g_value_unset, &value); return(_result); } /* reason: need to leave off the callback because no user data */ USER_OBJECT_ S_gtk_menu_attach_to_widget(USER_OBJECT_ s_object, USER_OBJECT_ s_attach_widget) { GtkMenu* object = GTK_MENU(getPtrValue(s_object)); GtkWidget* attach_widget = GTK_WIDGET(getPtrValue(s_attach_widget)); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_menu_attach_to_widget(object, attach_widget, NULL); return(_result); } /* reason: all of these need group passed by reference - not a newly converted list */ USER_OBJECT_ S_gtk_radio_action_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { GtkRadioAction* object = GTK_RADIO_ACTION(getPtrValue(s_object)); GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); GSList* real_group = NULL; USER_OBJECT_ _result = NULL_USER_OBJECT; if (group) real_group = gtk_radio_action_get_group(GTK_RADIO_ACTION(group->data)); gtk_radio_action_set_group(object, real_group); CLEANUP(g_slist_free, (GSList*)group); return(_result); } USER_OBJECT_ S_gtk_radio_button_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { GtkRadioButton* object = GTK_RADIO_BUTTON(getPtrValue(s_object)); GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); GSList* real_group = NULL; USER_OBJECT_ _result = NULL_USER_OBJECT; if (group) real_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(group->data)); gtk_radio_button_set_group(object, real_group); CLEANUP(g_slist_free, (GSList*)group); return(_result); } USER_OBJECT_ S_gtk_radio_menu_item_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { GtkRadioMenuItem* object = GTK_RADIO_MENU_ITEM(getPtrValue(s_object)); GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); GSList* real_group = NULL; USER_OBJECT_ _result = NULL_USER_OBJECT; if (group) real_group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(group->data)); gtk_radio_menu_item_set_group(object, real_group); CLEANUP(g_slist_free, (GSList*)group); return(_result); } USER_OBJECT_ S_gtk_radio_tool_button_set_group(USER_OBJECT_ s_object, USER_OBJECT_ s_group) { GtkRadioToolButton* object = GTK_RADIO_TOOL_BUTTON(getPtrValue(s_object)); GSList* group = GET_LENGTH(s_group) == 0 ? NULL : asCGSList(s_group); GSList* real_group = NULL; USER_OBJECT_ _result = NULL_USER_OBJECT; if (group) real_group = gtk_radio_tool_button_get_group(GTK_RADIO_TOOL_BUTTON(group->data)); gtk_radio_tool_button_set_group(object, real_group); CLEANUP(g_slist_free, (GSList*)group); return(_result); } /* reason: while GtkSignalFunc is a void function, the only place the bindings use it is with the gtk_toolbar_* functions. in that case, it takes a widget and a user data pointer, just like GtkCallback. */ void S_GtkSignalFunc(GtkWidget* s_child, gpointer s_data) { S_GtkCallback(s_child, s_data); } /* need to return the length of the serialized data */ guint8* S_GtkTextBufferSerializeFunc(GtkTextBuffer* s_register_buffer, GtkTextBuffer* s_content_buffer, GtkTextIter* s_start, GtkTextIter* s_end, gsize* s_length, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; PROTECT(e = allocVector(LANGSXP, 6)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_register_buffer, "GtkTextBuffer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithRef(s_content_buffer, "GtkTextBuffer")); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(gtk_text_iter_copy(s_start), "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithFinalizer(gtk_text_iter_copy(s_end), "GtkTextIter", (RPointerFinalizer) gtk_text_iter_free)); tmp = CDR(tmp); SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); s_ans = eval(e, R_GlobalEnv); *s_length = GET_LENGTH(s_ans); UNPROTECT(1); return(((guint8*)asCArray(s_ans, guint8, asCRaw))); } /* need to return the x, y, and in_push params */ /* gint S_GtkMenuPositionFunc(GtkMenu* s_menu, gint* s_x, gint* s_y, gboolean* s_push_in, gpointer s_user_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_user_data)->function); tmp = CDR(tmp); SETCAR(tmp, toRPointerWithSink(s_menu, "GtkMenu")); tmp = CDR(tmp); SETCAR(tmp, ((R_CallbackData *)s_user_data)->data); tmp = CDR(tmp); s_ans = eval(e, R_GlobalEnv); *s_x = asCInteger(VECTOR_ELT(s_ans, 1)); *s_y = asCInteger(VECTOR_ELT(s_ans, 2)); *s_push_in = asCLogical(VECTOR_ELT(s_ans, 3)); UNPROTECT(1); return(((gint)asCInteger(VECTOR_ELT(s_ans, 0)))); } */ /* GtkBuilder helpers */ #if GTK_CHECK_VERSION(2,12,0) void S_GtkBuilderConnectFuncDefault(GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, guint flags, gpointer s_user_data) { USER_OBJECT_ s_func = Rf_findFun(install(handler_name), R_GlobalEnv); GClosure *closure; if (connect_object) /* FIXME: we can't use g_signal_connect_object */ s_user_data = toRPointer(connect_object, "GObject"); closure = R_createGClosure(s_func, s_user_data); ((R_CallbackData *)closure->data)->userDataFirst = flags & G_CONNECT_SWAPPED; g_signal_connect_closure(object, signal_name, closure, flags & G_CONNECT_AFTER); } USER_OBJECT_ S_gtk_builder_connect_signals(USER_OBJECT_ s_object, USER_OBJECT_ s_user_data) { GtkBuilder* object = GTK_BUILDER(getPtrValue(s_object)); USER_OBJECT_ _result = NULL_USER_OBJECT; gtk_builder_connect_signals_full(object, (GtkBuilderConnectFunc)S_GtkBuilderConnectFuncDefault, s_user_data); return(_result); } #endif /* Tooltip contexts due to in/out parameters */ USER_OBJECT_ S_gtk_tree_view_get_tooltip_context(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_keyboard_tip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkTreeView* object = GTK_TREE_VIEW(getPtrValue(s_object)); gint x = asCInteger(s_x); gint y = asCInteger(s_y); gboolean keyboard_tip = ((gboolean)asCLogical(s_keyboard_tip)); gboolean ans; GtkTreeModel* model = NULL; GtkTreePath* path = NULL; GtkTreeIter iter; ans = gtk_tree_view_get_tooltip_context(object, &x, &y, keyboard_tip, &model, &path, &iter); _result = asRLogical(ans); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "model", toRPointerWithRef(model, "GtkTreeModel"), "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; ; ; #else error("gtk_tree_view_get_tooltip_context exists only in Gtk >= 2.12.0"); #endif return(_result); } USER_OBJECT_ S_gtk_icon_view_get_tooltip_context(USER_OBJECT_ s_object, USER_OBJECT_ s_x, USER_OBJECT_ s_y, USER_OBJECT_ s_keyboard_tip) { USER_OBJECT_ _result = NULL_USER_OBJECT; #if GTK_CHECK_VERSION(2, 12, 0) GtkIconView* object = GTK_ICON_VIEW(getPtrValue(s_object)); gint x = asCInteger(s_x); gint y = asCInteger(s_y); gboolean keyboard_tip = ((gboolean)asCLogical(s_keyboard_tip)); gboolean ans; GtkTreeModel* model = NULL; GtkTreePath* path = NULL; GtkTreeIter iter; ans = gtk_icon_view_get_tooltip_context(object, &x, &y, keyboard_tip, &model, &path, &iter); _result = asRLogical(ans); _result = retByVal(_result, "x", asRInteger(x), "y", asRInteger(y), "model", toRPointerWithRef(model, "GtkTreeModel"), "path", toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer) gtk_tree_path_free), "iter", toRPointerWithFinalizer(&iter ? gtk_tree_iter_copy(&iter) : NULL, "GtkTreeIter", (RPointerFinalizer) gtk_tree_iter_free), NULL); ; ; ; #else error("gtk_icon_view_get_tooltip_context exists only in Gtk >= 2.12.0"); #endif return(_result); } /* This provides a quick way to convert GtkTreePaths to indices. Such an operation is necessary when interpreting selections, for example. */ USER_OBJECT_ R_gtk_tree_paths_to_indices(USER_OBJECT_ paths) { gint i; USER_OBJECT_ indices = NEW_INTEGER(GET_LENGTH(paths)); for (i = 0; i < GET_LENGTH(paths); i++) INTEGER_DATA(indices)[i] = gtk_tree_path_get_indices(getPtrValue(VECTOR_ELT(paths, i)))[0]; return(indices); } /* some functions for fast GtkTreeModel access */ USER_OBJECT_ S_gtk_list_store_load_paths(USER_OBJECT_ s_model, USER_OBJECT_ s_data, USER_OBJECT_ s_paths, USER_OBJECT_ s_cols, USER_OBJECT_ s_append) { GtkListStore *model = GTK_LIST_STORE(getPtrValue(s_model)); gboolean append = asCLogical(s_append); GtkTreeIter iter; GValue value = { 0, }; USER_OBJECT_ col; int i, j; int ncols = GET_LENGTH(s_cols); int nrows = GET_LENGTH(s_paths); if (append) nrows = GET_LENGTH(s_data); for (i = 0; i < ncols; i++) { GType vtype = gtk_tree_model_get_column_type(GTK_TREE_MODEL(model), INTEGER_DATA(s_cols)[i]); col = VECTOR_ELT(s_data, i); /*Rprintf("col: %d\n", INTEGER_DATA(s_cols)[i]);*/ for (j = 0; j < nrows; j++) { /*Rprintf("row: %d\n", j);*/ if (append || !gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &iter, (GtkTreePath*)getPtrValue(VECTOR_ELT(s_paths, j)))) gtk_list_store_append(model, &iter); g_value_init(&value, vtype); R_setGValueFromSValue(&value, VECTOR_ELT(col, j)); gtk_list_store_set_value(model, &iter, INTEGER_DATA(s_cols)[i], &value); g_value_unset(&value); } } return(NULL_USER_OBJECT); } USER_OBJECT_ S_gtk_list_store_load(USER_OBJECT_ s_model, USER_OBJECT_ s_data, USER_OBJECT_ s_rows, USER_OBJECT_ s_cols, USER_OBJECT_ s_append) { int i; int nrows = GET_LENGTH(s_rows); USER_OBJECT_ s_paths; PROTECT(s_paths = NEW_LIST(nrows)); /*Rprintf("Loading %d paths\n", nrows);*/ for (i = 0; i < nrows; i++) SET_VECTOR_ELT(s_paths, i, toRPointerWithFinalizer(gtk_tree_path_new_from_indices(INTEGER_DATA(s_rows)[i], -1), "GtkTreePath", (RPointerFinalizer)gtk_tree_path_free)); S_gtk_list_store_load_paths(s_model, s_data, s_paths, s_cols, asRLogical(FALSE)); UNPROTECT(1); return(NULL_USER_OBJECT); } /* Assumes there is a flat data frame with paths specifying structure */ USER_OBJECT_ S_gtk_tree_store_load_paths(USER_OBJECT_ s_model, USER_OBJECT_ s_data, USER_OBJECT_ s_paths, USER_OBJECT_ s_cols, USER_OBJECT_ s_append) { GtkTreeStore *model = GTK_TREE_STORE(getPtrValue(s_model)); gboolean append = asCLogical(s_append); GtkTreeIter iter; GValue value = { 0, }; USER_OBJECT_ col; int i, j; int ncols = GET_LENGTH(s_cols); int nrows = GET_LENGTH(s_paths); if (append) nrows = GET_LENGTH(s_data); for (i = 0; i < ncols; i++) { GType vtype = gtk_tree_model_get_column_type(GTK_TREE_MODEL(model), INTEGER_DATA(s_cols)[i]); col = VECTOR_ELT(s_data, i); /*Rprintf("col: %d\n", INTEGER_DATA(s_cols)[i]);*/ for (j = 0; j < nrows; j++) { GtkTreePath *path = (GtkTreePath*)getPtrValue(VECTOR_ELT(s_paths, j)); if (!gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &iter, path) || append) { GtkTreeIter parent; gtk_tree_path_up(path); gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &parent, path); gtk_tree_store_append(model, &iter, &parent); } g_value_init(&value, vtype); R_setGValueFromSValue(&value, VECTOR_ELT(col, j)); gtk_tree_store_set_value(model, &iter, INTEGER_DATA(s_cols)[i], &value); g_value_unset(&value); } } return(NULL_USER_OBJECT); } /* Rows specify the vector equivalents of tree paths */ USER_OBJECT_ S_gtk_tree_store_load(USER_OBJECT_ s_model, USER_OBJECT_ s_data, USER_OBJECT_ s_rows, USER_OBJECT_ s_cols, USER_OBJECT_ s_append) { int i, j; int nrows = GET_LENGTH(s_rows); USER_OBJECT_ s_paths; PROTECT(s_paths = NEW_LIST(nrows)); /*Rprintf("Loading %d paths\n", nrows);*/ for (i = 0; i < nrows; i++) { GtkTreePath *path = gtk_tree_path_new(); for (j = 0; j < GET_LENGTH(VECTOR_ELT(s_rows, i)); j++) gtk_tree_path_append_index(path, INTEGER_DATA(VECTOR_ELT(s_rows, i))[j]); gtk_tree_path_append_index(path, i); SET_VECTOR_ELT(s_paths, i, toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer)gtk_tree_path_free)); } S_gtk_list_store_load_paths(s_model, s_data, s_paths, s_cols, s_append); UNPROTECT(1); return(NULL_USER_OBJECT); } USER_OBJECT_ S_gtk_tree_model_unload_paths(USER_OBJECT_ s_model, USER_OBJECT_ s_paths, USER_OBJECT_ s_cols) { GtkTreeModel *model = GTK_TREE_MODEL(getPtrValue(s_model)); GtkTreeIter iter; GValue value = { 0, }; USER_OBJECT_ list, s_indices, result; int i, j; int ncols = GET_LENGTH(s_cols); int nrows = GET_LENGTH(s_paths); PROTECT(list = NEW_LIST(ncols)); for (i = 0; i < ncols; i++) SET_VECTOR_ELT(list, i, NEW_LIST(nrows)); PROTECT(s_indices = NEW_LIST(nrows)); for (i = 0; i < nrows; i++) { USER_OBJECT_ s_index; GtkTreePath *path = getPtrValue(VECTOR_ELT(s_paths, i)); gtk_tree_model_get_iter(model, &iter, path); for (j = 0; j < ncols; j++) { gtk_tree_model_get_value(model, &iter, INTEGER_DATA(s_cols)[j], &value); SET_VECTOR_ELT(VECTOR_ELT(list, j), i, asRGValue(&value)); g_value_unset(&value); } s_index = asRIntegerArrayWithSize(gtk_tree_path_get_indices(path), gtk_tree_path_get_depth(path)); SET_VECTOR_ELT(s_indices, i, s_index); } result = NEW_LIST(2); SET_VECTOR_ELT(result, 0, list); SET_VECTOR_ELT(result, 1, s_indices); UNPROTECT(2); return(result); } gboolean get_tree_model_paths(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, GList **paths) { *paths = g_list_append(*paths, gtk_tree_path_copy(path)); return(FALSE); } USER_OBJECT_ S_gtk_tree_model_unload(USER_OBJECT_ s_model, USER_OBJECT_ s_rows, USER_OBJECT_ s_cols) { USER_OBJECT_ result; USER_OBJECT_ s_paths; gint i, j; gint nrows = GET_LENGTH(s_rows), npaths; if (!nrows) { GtkTreeModel *model = GTK_TREE_MODEL(getPtrValue(s_model)); GList *paths = NULL; gtk_tree_model_foreach(model, (GtkTreeModelForeachFunc)get_tree_model_paths, &paths); npaths = g_list_length(paths); PROTECT(s_paths = NEW_LIST(npaths)); for (i = 0; i < npaths; i++, paths = g_list_next(paths)) { SET_VECTOR_ELT(s_paths, i, toRPointerWithFinalizer((GtkTreePath *)paths->data, "GtkTreePath", (RPointerFinalizer)gtk_tree_path_free)); } } else { PROTECT(s_paths = NEW_LIST(nrows)); for (i = 0; i < nrows; i++) { GtkTreePath *path = gtk_tree_path_new(); for (j = 0; j < GET_LENGTH(VECTOR_ELT(s_rows, i)); j++) gtk_tree_path_append_index(path, INTEGER_DATA(VECTOR_ELT(s_rows, i))[j]); SET_VECTOR_ELT(s_paths, i, toRPointerWithFinalizer(path, "GtkTreePath", (RPointerFinalizer)gtk_tree_path_free)); } } result = S_gtk_tree_model_unload_paths(s_model, s_paths, s_cols); if (nrows) result = VECTOR_ELT(result, 0); UNPROTECT(1); return(result); } /* functions for creating and accessing GtkTreeIters */ /* only to be used when implementing a custom GtkTreeModel */ /* create a new GtkTreeIter */ USER_OBJECT_ S_gtk_tree_iter(USER_OBJECT_ id, USER_OBJECT_ stamp) { USER_OBJECT_ ans; GtkTreeIter iter; iter.stamp = asCInteger(stamp); iter.user_data = GINT_TO_POINTER(asCInteger(id)); return(toRPointerWithFinalizer(gtk_tree_iter_copy(&iter), "GtkTreeIter", (RPointerFinalizer)gtk_tree_iter_free)); } /* problem: the user data in the GtkTreeIter must be statically allocated */ /* there's no way to 'free' a GtkTreeIter, so we will leak memory if we PreserveObject() here. unfortunately, we crash otherwise. */ /* thus, we just pass an integer.. which can serve as an index into some structure in the R environment */ USER_OBJECT_ S_gtk_tree_iter_set_id(USER_OBJECT_ s_iter, USER_OBJECT_ s_data) { GtkTreeIter *iter = getPtrValue(s_iter); gint index = asCInteger(s_data); iter->user_data = GINT_TO_POINTER(index); return NULL_USER_OBJECT; } USER_OBJECT_ S_gtk_tree_iter_get_id(USER_OBJECT_ s_iter) { GtkTreeIter *iter = getPtrValue(s_iter); return asRInteger(GPOINTER_TO_INT(iter->user_data)); } /* GtkTreeIter stamping */ /* not to be used unless one is implementing a GtkTreeModel */ USER_OBJECT_ S_gtk_tree_iter_set_stamp(USER_OBJECT_ s_iter, USER_OBJECT_ s_stamp) { GtkTreeIter *iter = getPtrValue(s_iter); iter->stamp = asCInteger(s_stamp); return NULL_USER_OBJECT; } USER_OBJECT_ S_gtk_tree_iter_get_stamp(USER_OBJECT_ s_iter) { GtkTreeIter *iter = getPtrValue(s_iter); return asRInteger(iter->stamp); } /* get compile-time GTK version */ USER_OBJECT_ boundGTKVersion(void) { USER_OBJECT_ version; version = NEW_INTEGER(3); INTEGER(version)[0] = GTK_MAJOR_VERSION; INTEGER(version)[1] = GTK_MINOR_VERSION; INTEGER(version)[2] = GTK_MICRO_VERSION; return(version); } RGtk2/src/glib.c0000644000176000001440000002255312362467242013122 0ustar ripleyusers#include "RGtk2/gobject.h" /* Transparents */ GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval) { GTimeVal* timeval = (GTimeVal*)R_alloc(1, sizeof(GTimeVal)); timeval->tv_sec = NUMERIC_DATA(VECTOR_ELT(s_timeval, 0))[0]; timeval->tv_usec = NUMERIC_DATA(VECTOR_ELT(s_timeval, 1))[0]; return(timeval); } USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval) { USER_OBJECT_ s_timeval; PROTECT(s_timeval = NEW_LIST(2)); SET_VECTOR_ELT(s_timeval, 0, asRNumeric(timeval->tv_sec)); SET_VECTOR_ELT(s_timeval, 1, asRNumeric(timeval->tv_usec)); UNPROTECT(1); return s_timeval; } GString* asCGString(USER_OBJECT_ s_string) { return(g_string_new(asCString(s_string))); } GList* toCGList(USER_OBJECT_ s_list, gboolean dup) { GList* list = NULL; int i; for (i = 0; i < GET_LENGTH(s_list); i++) { SEXP s_element = VECTOR_ELT(s_list, i); gpointer element; if (IS_CHARACTER(s_element)) { element = (gpointer)asCString(s_element); if (dup && element) element = g_strdup(element); } else if (IS_INTEGER(s_element)) element = GINT_TO_POINTER(INTEGER(s_element)[0]); else { element = (gpointer)getPtrValue(s_element); if (dup && G_IS_OBJECT(element)) g_object_ref(G_OBJECT(element)); } list = g_list_append(list, element); } return(list); } USER_OBJECT_ asRGList(GList *glist, const gchar* type) { return(asRGListWithFinalizer(glist, type, NULL)); } USER_OBJECT_ asRGListWithRef(GList *glist, const gchar* type) { GList *cur = glist; while(cur != NULL) { g_object_ref(cur->data); cur = g_list_next(cur); } return(asRGListWithFinalizer(glist, type, g_object_unref)); } USER_OBJECT_ asRGListWithFinalizer(GList *glist, const gchar* type, RPointerFinalizer finalizer) { USER_OBJECT_ list; GList * cur = glist; int size = g_list_length(glist), i; PROTECT(list = NEW_LIST(size)); for (i = 0; i < size; i++) { SET_VECTOR_ELT(list, i, toRPointerWithFinalizer(cur->data, type, finalizer)); cur = g_list_next(cur); } UNPROTECT(1); return list; } USER_OBJECT_ asRGListConv(GList *glist, ElementConverter converter) { USER_OBJECT_ list; GList * cur = glist; int size = g_list_length(glist), i; PROTECT(list = NEW_LIST(size)); for (i = 0; i < size; i++) { SET_VECTOR_ELT(list, i, converter(cur->data)); cur = g_list_next(cur); } UNPROTECT(1); return list; } GSList* toCGSList(USER_OBJECT_ s_list, gboolean dup) { GSList* list = NULL; int i; for (i = 0; i < GET_LENGTH(s_list); i++) { SEXP s_element = VECTOR_ELT(s_list, i); gpointer element; if (IS_CHARACTER(s_element)) { element = (gpointer)asCString(s_element); if (dup && element) element = g_strdup(element); } else if (IS_INTEGER(s_element)) element = GINT_TO_POINTER(INTEGER(s_element)[0]); else { element = (gpointer)getPtrValue(s_element); if (dup && G_IS_OBJECT(element)) g_object_ref(G_OBJECT(element)); } list = g_slist_append(list, element); } return(list); } USER_OBJECT_ asRGSList(GSList *gslist, const gchar* type) { return(asRGSListWithFinalizer(gslist, type, NULL)); } USER_OBJECT_ asRGSListWithRef(GSList *gslist, const gchar* type) { GSList *cur = gslist; while(cur != NULL) { g_object_ref(cur->data); cur = g_slist_next(cur); } return(asRGSListWithFinalizer(gslist, type, g_object_unref)); } USER_OBJECT_ asRGSListWithFinalizer(GSList *gslist, const gchar* type, RPointerFinalizer finalizer) { USER_OBJECT_ list; GSList * cur = gslist; int l = g_slist_length(gslist), i; PROTECT(list = NEW_LIST(l)); for (i = 0; i < l; i++) { USER_OBJECT_ element; element = toRPointerWithFinalizer(cur->data, type, finalizer); SET_VECTOR_ELT(list, i, element); cur = g_slist_next(cur); } UNPROTECT(1); return list; } USER_OBJECT_ asRGSListConv(GSList *gslist, ElementConverter converter) { USER_OBJECT_ list; GSList * cur = gslist; int size = g_slist_length(gslist), i; PROTECT(list = NEW_LIST(size)); for (i = 0; i < size; i++) { SET_VECTOR_ELT(list, i, converter(cur->data)); cur = g_slist_next(cur); } UNPROTECT(1); return list; } /* convenience methods for freeing string members of g(s)lists */ void GListFreeStrings(GList *glist) { GList *cur = glist; while(cur) { g_free(cur->data); cur = g_list_next(cur); } } void GSListFreeStrings(GSList *gslist) { GSList *cur = gslist; while(cur) { g_free(cur->data); cur = g_slist_next(cur); } } USER_OBJECT_ R_gQuarkFromString(USER_OBJECT_ s_string) { const gchar *string = asCString(s_string); GQuark quark = g_quark_from_string(string); return(asRGQuark(quark)); } GQuark asCGQuark(USER_OBJECT_ sobj) { if (!inherits(sobj, "GQuark")) { PROBLEM "invalid GQuark value" ERROR; } return (GQuark)asInteger(sobj); } USER_OBJECT_ asRGQuark(GQuark val) { USER_OBJECT_ ans; const gchar *tmp; PROTECT(ans = ScalarInteger((gint32)val)); tmp = g_quark_to_string(val); if(tmp) setAttrib(ans, install("name"), asRString(tmp)); SET_CLASS(ans, asRString("GQuark")); UNPROTECT(1); return(ans); } GError * asCGError(USER_OBJECT_ s_error) { GError *error; if (s_error == NULL_USER_OBJECT) return NULL; error = g_error_new(asCNumeric(VECTOR_ELT(s_error, 0)), asCInteger(VECTOR_ELT(s_error, 1)), "%s", asCString(VECTOR_ELT(s_error, 2))); return error; } USER_OBJECT_ asRGError(GError *error) { USER_OBJECT_ s_error; USER_OBJECT_ names; static gchar * classes[] = { "GError", "simpleError", "error", "condition", NULL }; if (!error) return(NULL_USER_OBJECT); PROTECT(s_error = NEW_LIST(3)); SET_VECTOR_ELT(s_error, 0, asRGQuark(error->domain)); SET_VECTOR_ELT(s_error, 1, asRInteger(error->code)); SET_VECTOR_ELT(s_error, 2, asRString(error->message)); PROTECT(names = NEW_CHARACTER(3)); SET_STRING_ELT(names, 0, COPY_TO_USER_STRING("domain")); SET_STRING_ELT(names, 1, COPY_TO_USER_STRING("code")); SET_STRING_ELT(names, 2, COPY_TO_USER_STRING("message")); SET_NAMES(s_error, names); SET_CLASS(s_error, asRStringArray(classes)); UNPROTECT(2); return(s_error); } /* Manual User Funcs */ void S_GCompareFunc(gconstpointer s_a, gconstpointer s_data) { USER_OBJECT_ e; USER_OBJECT_ tmp; USER_OBJECT_ s_ans; gint err; PROTECT(e = allocVector(LANGSXP, 3)); tmp = e; SETCAR(tmp, ((R_CallbackData *)s_data)->function); tmp = CDR(tmp); SETCAR(tmp, (USER_OBJECT_)s_a); tmp = CDR(tmp); SETCAR(tmp, ((R_CallbackData *)s_data)->data); tmp = CDR(tmp); s_ans = R_tryEval(e, R_GlobalEnv, &err); UNPROTECT(1); } gboolean S_GSourceFunc(gpointer data) { R_CallbackData *cbdata = (R_CallbackData *)data; gboolean val = FALSE; SEXP e, sval; int errorOccurred; PROTECT(e = allocVector(LANGSXP, 1 + (cbdata->useData == TRUE ? 1 : 0))); SETCAR(e, cbdata->function); if(cbdata->useData) { SETCAR(CDR(e), cbdata->data); } sval = R_tryEval(e, R_GlobalEnv, &errorOccurred); if(!errorOccurred) { if(TYPEOF(sval) != LGLSXP) { warning("Handler didn't return a logical value. Removing it."); val = FALSE; } else val = LOGICAL_DATA(sval)[0]; } UNPROTECT(1); return(val); } /* Main Loop */ USER_OBJECT_ R_addGTimeoutHandler(USER_OBJECT_ sinterval, USER_OBJECT_ sfunc, USER_OBJECT_ data, USER_OBJECT_ useData) { USER_OBJECT_ ans; guint id; R_CallbackData *cbdata; cbdata = (R_CallbackData*) g_malloc(sizeof(R_CallbackData)); R_PreserveObject(sfunc); cbdata->function = sfunc; if(LOGICAL_DATA(useData)[0]) { R_PreserveObject(data); cbdata->data = data; cbdata->useData = TRUE; } else { cbdata->useData = FALSE; cbdata->data = NULL; } id = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, INTEGER_DATA(sinterval)[0], (GSourceFunc) S_GSourceFunc, cbdata, (GDestroyNotify)R_freeCBData); PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = id; SET_CLASS(ans, asRString("GTimeoutId")); UNPROTECT(1); return(ans); } USER_OBJECT_ R_removeGSource(USER_OBJECT_ id) { gboolean ans; ans = g_source_remove(INTEGER_DATA(id)[0]); return(asRLogical(ans)); } USER_OBJECT_ R_addGIdleHandler(USER_OBJECT_ sfunc, USER_OBJECT_ data, USER_OBJECT_ useData) { USER_OBJECT_ ans; guint id; R_CallbackData *cbdata; cbdata = (R_CallbackData*) g_malloc(sizeof(R_CallbackData)); R_PreserveObject(sfunc); cbdata->function = sfunc; if(LOGICAL_DATA(useData)[0]) { R_PreserveObject(data); cbdata->data = data; cbdata->useData = TRUE; } else { cbdata->useData = FALSE; cbdata->data = NULL; } id = g_idle_add_full(G_PRIORITY_DEFAULT_IDLE, (GSourceFunc) S_GSourceFunc, cbdata, (GDestroyNotify)R_freeCBData); PROTECT(ans = NEW_INTEGER(1)); INTEGER_DATA(ans)[0] = id; SET_CLASS(ans, asRString("GIdleId")); UNPROTECT(1); return(ans); } /* The G_FILE_ERROR quark */ USER_OBJECT_ S_g_file_error_quark() { GQuark ans; USER_OBJECT_ _result = NULL_USER_OBJECT; ans = g_file_error_quark(); _result = asRGQuark(ans); return(_result); } RGtk2/src/gioFuncs.h0000644000176000001440000020775412362467242013777 0ustar ripleyusers#ifndef S_GIO_FUNCS_H #define S_GIO_FUNCS_H #include USER_OBJECT_ S_g_app_info_get_type(void); USER_OBJECT_ S_g_app_info_launch_default_for_uri(USER_OBJECT_ s_uri, USER_OBJECT_ s_launch_context); USER_OBJECT_ S_g_app_launch_context_get_type(void); USER_OBJECT_ S_g_app_info_create_from_commandline(USER_OBJECT_ s_commandline, USER_OBJECT_ s_application_name, USER_OBJECT_ s_flags); USER_OBJECT_ S_g_app_info_dup(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_appinfo2); USER_OBJECT_ S_g_app_info_get_id(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_get_description(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_get_executable(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_launch(USER_OBJECT_ s_object, USER_OBJECT_ s_files, USER_OBJECT_ s_launch_context); USER_OBJECT_ S_g_app_info_supports_uris(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_supports_files(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_launch_uris(USER_OBJECT_ s_object, USER_OBJECT_ s_uris, USER_OBJECT_ s_launch_context); USER_OBJECT_ S_g_app_info_should_show(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_set_as_default_for_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_app_info_set_as_default_for_extension(USER_OBJECT_ s_object, USER_OBJECT_ s_extension); USER_OBJECT_ S_g_app_info_add_supports_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_app_info_can_remove_supports_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_remove_supports_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_app_info_get_all(void); USER_OBJECT_ S_g_app_info_get_all_for_type(USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_app_info_get_default_for_type(USER_OBJECT_ s_content_type, USER_OBJECT_ s_must_support_uris); USER_OBJECT_ S_g_app_info_get_default_for_uri_scheme(USER_OBJECT_ s_uri_scheme); USER_OBJECT_ S_g_app_launch_context_new(void); USER_OBJECT_ S_g_app_launch_context_get_display(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files); USER_OBJECT_ S_g_app_launch_context_get_startup_notify_id(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_files); USER_OBJECT_ S_g_app_launch_context_launch_failed(USER_OBJECT_ s_object, USER_OBJECT_ s_startup_notify_id); USER_OBJECT_ S_g_async_result_get_type(void); USER_OBJECT_ S_g_async_result_get_user_data(USER_OBJECT_ s_object); USER_OBJECT_ S_g_async_result_get_source_object(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_input_stream_get_type(void); USER_OBJECT_ S_g_buffered_input_stream_new(USER_OBJECT_ s_base_stream); USER_OBJECT_ S_g_buffered_input_stream_new_sized(USER_OBJECT_ s_base_stream, USER_OBJECT_ s_size); USER_OBJECT_ S_g_buffered_input_stream_get_buffer_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_input_stream_set_buffer_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_g_buffered_input_stream_get_available(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_input_stream_peek(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_count); USER_OBJECT_ S_g_buffered_input_stream_peek_buffer(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_input_stream_fill(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_buffered_input_stream_fill_async(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_buffered_input_stream_fill_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_buffered_input_stream_read_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_buffered_output_stream_get_type(void); USER_OBJECT_ S_g_buffered_output_stream_new(USER_OBJECT_ s_base_stream); USER_OBJECT_ S_g_buffered_output_stream_new_sized(USER_OBJECT_ s_base_stream, USER_OBJECT_ s_size); USER_OBJECT_ S_g_buffered_output_stream_get_buffer_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_output_stream_set_buffer_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_g_buffered_output_stream_get_auto_grow(USER_OBJECT_ s_object); USER_OBJECT_ S_g_buffered_output_stream_set_auto_grow(USER_OBJECT_ s_object, USER_OBJECT_ s_auto_grow); USER_OBJECT_ S_g_cancellable_get_type(void); USER_OBJECT_ S_g_cancellable_new(void); USER_OBJECT_ S_g_cancellable_is_cancelled(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_set_error_if_cancelled(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_get_fd(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_get_current(void); USER_OBJECT_ S_g_cancellable_push_current(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_pop_current(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_reset(USER_OBJECT_ s_object); USER_OBJECT_ S_g_cancellable_cancel(USER_OBJECT_ s_object); USER_OBJECT_ S_g_content_type_equals(USER_OBJECT_ s_type1, USER_OBJECT_ s_type2); USER_OBJECT_ S_g_content_type_is_a(USER_OBJECT_ s_type, USER_OBJECT_ s_supertype); USER_OBJECT_ S_g_content_type_is_unknown(USER_OBJECT_ s_type); USER_OBJECT_ S_g_content_type_get_description(USER_OBJECT_ s_type); USER_OBJECT_ S_g_content_type_get_mime_type(USER_OBJECT_ s_type); USER_OBJECT_ S_g_content_type_get_icon(USER_OBJECT_ s_type); USER_OBJECT_ S_g_content_type_can_be_executable(USER_OBJECT_ s_type); USER_OBJECT_ S_g_content_type_guess(USER_OBJECT_ s_filename, USER_OBJECT_ s_data); USER_OBJECT_ S_g_content_types_get_registered(void); USER_OBJECT_ S_g_data_input_stream_get_type(void); USER_OBJECT_ S_g_data_input_stream_new(USER_OBJECT_ s_base_stream); USER_OBJECT_ S_g_data_input_stream_set_byte_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order); USER_OBJECT_ S_g_data_input_stream_get_byte_order(USER_OBJECT_ s_object); USER_OBJECT_ S_g_data_input_stream_set_newline_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_g_data_input_stream_get_newline_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_data_input_stream_read_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_int16(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_uint16(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_line(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_input_stream_read_until(USER_OBJECT_ s_object, USER_OBJECT_ s_stop_chars, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_get_type(void); USER_OBJECT_ S_g_data_output_stream_new(USER_OBJECT_ s_base_stream); USER_OBJECT_ S_g_data_output_stream_set_byte_order(USER_OBJECT_ s_object, USER_OBJECT_ s_order); USER_OBJECT_ S_g_data_output_stream_get_byte_order(USER_OBJECT_ s_object); USER_OBJECT_ S_g_data_output_stream_put_byte(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_int16(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_uint16(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_data, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_data_output_stream_put_string(USER_OBJECT_ s_object, USER_OBJECT_ s_str, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_drive_get_type(void); USER_OBJECT_ S_g_drive_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_has_volumes(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_get_volumes(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_is_media_removable(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_has_media(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_is_media_check_automatic(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_can_poll_for_media(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_can_eject(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_drive_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_drive_poll_for_media(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_drive_poll_for_media_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_drive_get_identifier(USER_OBJECT_ s_object, USER_OBJECT_ s_kind); USER_OBJECT_ S_g_drive_enumerate_identifiers(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_info_list_new(void); USER_OBJECT_ S_g_file_attribute_info_list_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_info_list_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_info_list_dup(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_info_list_lookup(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_g_file_attribute_info_list_add(USER_OBJECT_ s_object, USER_OBJECT_ s_name, USER_OBJECT_ s_type, USER_OBJECT_ s_flags); USER_OBJECT_ S_g_file_enumerator_get_type(void); USER_OBJECT_ S_g_file_enumerator_next_file(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_enumerator_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_enumerator_next_files_async(USER_OBJECT_ s_object, USER_OBJECT_ s_num_files, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_enumerator_next_files_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_enumerator_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_enumerator_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_enumerator_is_closed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_enumerator_has_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_enumerator_set_pending(USER_OBJECT_ s_object, USER_OBJECT_ s_pending); USER_OBJECT_ S_g_file_get_type(void); USER_OBJECT_ S_g_file_new_for_path(USER_OBJECT_ s_path); USER_OBJECT_ S_g_file_new_for_uri(USER_OBJECT_ s_uri); USER_OBJECT_ S_g_file_new_for_commandline_arg(USER_OBJECT_ s_arg); USER_OBJECT_ S_g_file_parse_name(USER_OBJECT_ s_parse_name); USER_OBJECT_ S_g_file_dup(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_hash(USER_OBJECT_ s_file); USER_OBJECT_ S_g_file_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_file2); USER_OBJECT_ S_g_file_get_basename(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_get_path(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_get_uri(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_get_parse_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_get_parent(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_get_child(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_g_file_get_child_for_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name); USER_OBJECT_ S_g_file_has_prefix(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant); USER_OBJECT_ S_g_file_get_relative_path(USER_OBJECT_ s_object, USER_OBJECT_ s_descendant); USER_OBJECT_ S_g_file_resolve_relative_path(USER_OBJECT_ s_object, USER_OBJECT_ s_relative_path); USER_OBJECT_ S_g_file_is_native(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_has_uri_scheme(USER_OBJECT_ s_object, USER_OBJECT_ s_uri_scheme); USER_OBJECT_ S_g_file_get_uri_scheme(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_read(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_read_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_read_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_append_to(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_create(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_replace(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_append_to_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_append_to_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_create_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_create_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_replace_async(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_replace_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_query_exists(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_query_filesystem_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_filesystem_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_query_filesystem_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_find_enclosing_mount(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_find_enclosing_mount_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_find_enclosing_mount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_enumerate_children(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_enumerate_children_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_enumerate_children_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_set_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_display_name_async(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_set_display_name_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_delete(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_trash(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_copy(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data); USER_OBJECT_ S_g_file_copy_async(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_copy_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_move(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_progress_callback, USER_OBJECT_ s_progress_callback_data); USER_OBJECT_ S_g_file_make_directory(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_make_symbolic_link(USER_OBJECT_ s_object, USER_OBJECT_ s_symlink_value, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_settable_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_writable_namespaces(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_type, USER_OBJECT_ s_value_p, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attributes_from_info(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attributes_async(USER_OBJECT_ s_object, USER_OBJECT_ s_info, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_set_attributes_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_set_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_set_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_value, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_mount_enclosing_volume(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_mount_enclosing_volume_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_mount_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_mount_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_unmount_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_unmount_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_eject_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_eject_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_copy_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_destination, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_monitor_directory(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_monitor_file(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_query_default_handler(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_load_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_load_contents_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_load_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_load_partial_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_replace_contents(USER_OBJECT_ s_object, USER_OBJECT_ s_contents, USER_OBJECT_ s_length, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_replace_contents_async(USER_OBJECT_ s_object, USER_OBJECT_ s_contents, USER_OBJECT_ s_length, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_replace_contents_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_icon_get_type(void); USER_OBJECT_ S_g_file_icon_new(USER_OBJECT_ s_file); USER_OBJECT_ S_g_file_icon_get_file(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_type(void); USER_OBJECT_ S_g_file_info_new(void); USER_OBJECT_ S_g_file_info_dup(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_copy_into(USER_OBJECT_ s_object, USER_OBJECT_ s_dest_info); USER_OBJECT_ S_g_file_info_has_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_list_attributes(USER_OBJECT_ s_object, USER_OBJECT_ s_name_space); USER_OBJECT_ S_g_file_info_get_attribute_data(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_type(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_remove_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_status(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_as_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_boolean(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_get_attribute_object(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_set_attribute(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_type, USER_OBJECT_ s_value_p); USER_OBJECT_ S_g_file_info_set_attribute_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_byte_string(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_boolean(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_uint32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_int32(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_uint64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_int64(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_set_attribute_object(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_info_clear_status(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_file_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_is_hidden(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_is_backup(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_is_symlink(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_display_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_edit_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_content_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_modification_time(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_info_get_symlink_target(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_etag(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_get_sort_order(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_set_attribute_mask(USER_OBJECT_ s_object, USER_OBJECT_ s_mask); USER_OBJECT_ S_g_file_info_unset_attribute_mask(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_info_set_file_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_g_file_info_set_is_hidden(USER_OBJECT_ s_object, USER_OBJECT_ s_is_hidden); USER_OBJECT_ S_g_file_info_set_is_symlink(USER_OBJECT_ s_object, USER_OBJECT_ s_is_symlink); USER_OBJECT_ S_g_file_info_set_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_g_file_info_set_display_name(USER_OBJECT_ s_object, USER_OBJECT_ s_display_name); USER_OBJECT_ S_g_file_info_set_edit_name(USER_OBJECT_ s_object, USER_OBJECT_ s_edit_name); USER_OBJECT_ S_g_file_info_set_icon(USER_OBJECT_ s_object, USER_OBJECT_ s_icon); USER_OBJECT_ S_g_file_info_set_content_type(USER_OBJECT_ s_object, USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_file_info_set_size(USER_OBJECT_ s_object, USER_OBJECT_ s_size); USER_OBJECT_ S_g_file_info_set_modification_time(USER_OBJECT_ s_object, USER_OBJECT_ s_mtime); USER_OBJECT_ S_g_file_info_set_symlink_target(USER_OBJECT_ s_object, USER_OBJECT_ s_symlink_target); USER_OBJECT_ S_g_file_info_set_sort_order(USER_OBJECT_ s_object, USER_OBJECT_ s_sort_order); USER_OBJECT_ S_g_file_attribute_matcher_new(USER_OBJECT_ s_attributes); USER_OBJECT_ S_g_file_attribute_matcher_ref(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_matcher_unref(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_attribute_matcher_matches(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_attribute_matcher_matches_only(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_attribute_matcher_enumerate_namespace(USER_OBJECT_ s_object, USER_OBJECT_ s_ns); USER_OBJECT_ S_g_file_attribute_matcher_enumerate_next(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_input_stream_get_type(void); USER_OBJECT_ S_g_file_input_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_input_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_input_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_monitor_get_type(void); USER_OBJECT_ S_g_file_monitor_cancel(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_monitor_is_cancelled(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_monitor_set_rate_limit(USER_OBJECT_ s_object, USER_OBJECT_ s_limit_msecs); USER_OBJECT_ S_g_file_monitor_emit_event(USER_OBJECT_ s_object, USER_OBJECT_ s_file, USER_OBJECT_ s_other_file, USER_OBJECT_ s_event_type); USER_OBJECT_ S_g_filename_completer_get_type(void); USER_OBJECT_ S_g_filename_completer_new(void); USER_OBJECT_ S_g_filename_completer_get_completion_suffix(USER_OBJECT_ s_object, USER_OBJECT_ s_initial_text); USER_OBJECT_ S_g_filename_completer_get_completions(USER_OBJECT_ s_object, USER_OBJECT_ s_initial_text); USER_OBJECT_ S_g_filename_completer_set_dirs_only(USER_OBJECT_ s_object, USER_OBJECT_ s_dirs_only); USER_OBJECT_ S_g_file_output_stream_get_type(void); USER_OBJECT_ S_g_file_output_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_output_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_output_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_output_stream_get_etag(USER_OBJECT_ s_object); USER_OBJECT_ S_g_filter_input_stream_get_type(void); USER_OBJECT_ S_g_filter_input_stream_get_base_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_filter_output_stream_get_type(void); USER_OBJECT_ S_g_filter_output_stream_get_base_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_icon_get_type(void); USER_OBJECT_ S_g_icon_hash(USER_OBJECT_ s_icon); USER_OBJECT_ S_g_icon_equal(USER_OBJECT_ s_object, USER_OBJECT_ s_icon2); USER_OBJECT_ S_g_input_stream_get_type(void); USER_OBJECT_ S_g_input_stream_skip(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_input_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_input_stream_skip_async(USER_OBJECT_ s_object, USER_OBJECT_ s_count, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_input_stream_skip_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_input_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_input_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_input_stream_is_closed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_input_stream_has_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_input_stream_set_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_input_stream_clear_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_create_flags_get_type(void); USER_OBJECT_ S_g_data_stream_byte_order_get_type(void); USER_OBJECT_ S_g_data_stream_newline_type_get_type(void); USER_OBJECT_ S_g_file_query_info_flags_get_type(void); USER_OBJECT_ S_g_file_create_flags_get_type(void); USER_OBJECT_ S_g_file_copy_flags_get_type(void); USER_OBJECT_ S_g_file_monitor_flags_get_type(void); USER_OBJECT_ S_g_file_attribute_type_get_type(void); USER_OBJECT_ S_g_file_attribute_info_flags_get_type(void); USER_OBJECT_ S_g_file_attribute_status_get_type(void); USER_OBJECT_ S_g_file_type_get_type(void); USER_OBJECT_ S_g_file_monitor_event_get_type(void); USER_OBJECT_ S_g_io_error_enum_get_type(void); USER_OBJECT_ S_g_ask_password_flags_get_type(void); USER_OBJECT_ S_g_password_save_get_type(void); USER_OBJECT_ S_g_output_stream_splice_flags_get_type(void); USER_OBJECT_ S_g_io_error_quark(void); USER_OBJECT_ S_g_io_error_from_errno(USER_OBJECT_ s_err_no); USER_OBJECT_ S_g_io_module_get_type(void); USER_OBJECT_ S_g_io_module_new(USER_OBJECT_ s_filename); USER_OBJECT_ S_g_io_modules_load_all_in_directory(USER_OBJECT_ s_dirname); USER_OBJECT_ S_g_io_scheduler_cancel_all_jobs(void); USER_OBJECT_ S_g_io_scheduler_job_send_to_mainloop(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_io_scheduler_job_send_to_mainloop_async(USER_OBJECT_ s_object, USER_OBJECT_ s_func, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_loadable_icon_get_type(void); USER_OBJECT_ S_g_loadable_icon_load(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_loadable_icon_load_async(USER_OBJECT_ s_object, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_loadable_icon_load_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res, USER_OBJECT_ s_type); USER_OBJECT_ S_g_memory_input_stream_get_type(void); USER_OBJECT_ S_g_memory_input_stream_new(void); USER_OBJECT_ S_g_memory_input_stream_new_from_data(USER_OBJECT_ s_data); USER_OBJECT_ S_g_memory_input_stream_add_data(USER_OBJECT_ s_object, USER_OBJECT_ s_data); USER_OBJECT_ S_g_memory_output_stream_get_type(void); USER_OBJECT_ S_g_memory_output_stream_get_data(USER_OBJECT_ s_object); USER_OBJECT_ S_g_memory_output_stream_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_type(void); USER_OBJECT_ S_g_mount_get_root(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_uuid(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_volume(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_get_drive(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_can_unmount(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_can_eject(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_unmount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_unmount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_mount_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_mount_remount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_remount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_mount_operation_get_type(void); USER_OBJECT_ S_g_mount_operation_new(void); USER_OBJECT_ S_g_mount_operation_get_username(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_username(USER_OBJECT_ s_object, USER_OBJECT_ s_username); USER_OBJECT_ S_g_mount_operation_get_password(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_password(USER_OBJECT_ s_object, USER_OBJECT_ s_password); USER_OBJECT_ S_g_mount_operation_get_anonymous(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_anonymous(USER_OBJECT_ s_object, USER_OBJECT_ s_anonymous); USER_OBJECT_ S_g_mount_operation_get_domain(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_domain(USER_OBJECT_ s_object, USER_OBJECT_ s_domain); USER_OBJECT_ S_g_mount_operation_get_password_save(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_password_save(USER_OBJECT_ s_object, USER_OBJECT_ s_save); USER_OBJECT_ S_g_mount_operation_get_choice(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_operation_set_choice(USER_OBJECT_ s_object, USER_OBJECT_ s_choice); USER_OBJECT_ S_g_mount_operation_reply(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_native_volume_monitor_get_type(void); USER_OBJECT_ S_g_output_stream_get_type(void); USER_OBJECT_ S_g_output_stream_write(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_output_stream_write_all(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_bytes_written, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_output_stream_splice(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_output_stream_flush(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_output_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_output_stream_write_async(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_output_stream_write_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_output_stream_splice_async(USER_OBJECT_ s_object, USER_OBJECT_ s_source, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_output_stream_splice_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_output_stream_flush_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_output_stream_flush_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_output_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_output_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_output_stream_is_closed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_output_stream_has_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_output_stream_set_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_output_stream_clear_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_seekable_get_type(void); USER_OBJECT_ S_g_seekable_tell(USER_OBJECT_ s_object); USER_OBJECT_ S_g_seekable_can_seek(USER_OBJECT_ s_object); USER_OBJECT_ S_g_seekable_seek(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_type, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_seekable_can_truncate(USER_OBJECT_ s_object); USER_OBJECT_ S_g_seekable_truncate(USER_OBJECT_ s_object, USER_OBJECT_ s_offset, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_simple_async_result_get_type(void); USER_OBJECT_ S_g_simple_async_result_new(USER_OBJECT_ s_source_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data, USER_OBJECT_ s_source_tag); USER_OBJECT_ S_g_simple_async_result_new_from_error(USER_OBJECT_ s_source_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_simple_async_result_set_op_res_gpointer(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res); USER_OBJECT_ S_g_simple_async_result_get_op_res_gpointer(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_set_op_res_gssize(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res); USER_OBJECT_ S_g_simple_async_result_get_op_res_gssize(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_set_op_res_gboolean(USER_OBJECT_ s_object, USER_OBJECT_ s_op_res); USER_OBJECT_ S_g_simple_async_result_get_op_res_gboolean(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_get_source_tag(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_set_handle_cancellation(USER_OBJECT_ s_object, USER_OBJECT_ s_handle_cancellation); USER_OBJECT_ S_g_simple_async_result_complete(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_complete_in_idle(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_set_from_error(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_result_propagate_error(USER_OBJECT_ s_object); USER_OBJECT_ S_g_simple_async_report_gerror_in_idle(USER_OBJECT_ s_object, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_themed_icon_get_type(void); USER_OBJECT_ S_g_themed_icon_new(USER_OBJECT_ s_iconname); USER_OBJECT_ S_g_themed_icon_new_with_default_fallbacks(USER_OBJECT_ s_iconname); USER_OBJECT_ S_g_themed_icon_new_from_names(USER_OBJECT_ s_iconnames, USER_OBJECT_ s_len); USER_OBJECT_ S_g_themed_icon_get_names(USER_OBJECT_ s_object); USER_OBJECT_ S_g_themed_icon_append_name(USER_OBJECT_ s_object, USER_OBJECT_ s_iconname); USER_OBJECT_ S_g_vfs_get_type(void); USER_OBJECT_ S_g_vfs_is_active(USER_OBJECT_ s_object); USER_OBJECT_ S_g_vfs_get_file_for_path(USER_OBJECT_ s_object, USER_OBJECT_ s_path); USER_OBJECT_ S_g_vfs_get_file_for_uri(USER_OBJECT_ s_object, USER_OBJECT_ s_uri); USER_OBJECT_ S_g_vfs_parse_name(USER_OBJECT_ s_object, USER_OBJECT_ s_parse_name); USER_OBJECT_ S_g_vfs_get_default(void); USER_OBJECT_ S_g_vfs_get_local(void); USER_OBJECT_ S_g_vfs_get_supported_uri_schemes(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_type(void); USER_OBJECT_ S_g_volume_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_uuid(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_drive(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_mount(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_can_mount(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_can_eject(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_should_automount(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_mount(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_volume_mount_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_volume_eject(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_volume_eject_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_volume_monitor_get_type(void); USER_OBJECT_ S_g_volume_monitor_get(void); USER_OBJECT_ S_g_volume_monitor_get_connected_drives(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_monitor_get_volumes(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_monitor_get_mounts(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_monitor_get_volume_for_uuid(USER_OBJECT_ s_object, USER_OBJECT_ s_uuid); USER_OBJECT_ S_g_volume_monitor_get_mount_for_uuid(USER_OBJECT_ s_object, USER_OBJECT_ s_uuid); USER_OBJECT_ S_g_volume_monitor_adopt_orphan_mount(USER_OBJECT_ s_mount); USER_OBJECT_ S_g_io_extension_point_register(USER_OBJECT_ s_name); USER_OBJECT_ S_g_io_extension_point_lookup(USER_OBJECT_ s_name); USER_OBJECT_ S_g_io_extension_point_set_required_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_g_io_extension_point_get_required_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_extension_point_get_extensions(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_extension_point_get_extension_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_name); USER_OBJECT_ S_g_io_extension_point_implement(USER_OBJECT_ s_extension_point_name, USER_OBJECT_ s_type, USER_OBJECT_ s_extension_name, USER_OBJECT_ s_priority); USER_OBJECT_ S_g_io_extension_get_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_extension_get_name(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_extension_get_priority(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_extension_ref_class(USER_OBJECT_ s_object); USER_OBJECT_ S_g_content_type_from_mime_type(USER_OBJECT_ s_mime_type); USER_OBJECT_ S_g_content_type_guess_for_tree(USER_OBJECT_ s_root); USER_OBJECT_ S_g_emblemed_icon_get_type(void); USER_OBJECT_ S_g_emblemed_icon_new(USER_OBJECT_ s_icon, USER_OBJECT_ s_emblem); USER_OBJECT_ S_g_emblemed_icon_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_emblemed_icon_get_emblems(USER_OBJECT_ s_object); USER_OBJECT_ S_g_emblemed_icon_add_emblem(USER_OBJECT_ s_object, USER_OBJECT_ s_emblem); USER_OBJECT_ S_g_emblem_get_type(void); USER_OBJECT_ S_g_emblem_new(USER_OBJECT_ s_icon, USER_OBJECT_ s_origin); USER_OBJECT_ S_g_emblem_new_with_origin(USER_OBJECT_ s_icon, USER_OBJECT_ s_origin); USER_OBJECT_ S_g_emblem_get_icon(USER_OBJECT_ s_object); USER_OBJECT_ S_g_emblem_get_origin(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_query_file_type(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_make_directory_with_parents(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_monitor(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_memory_output_stream_get_data_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_guess_content_type(USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_guess_content_type_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_mount_guess_content_type_sync(USER_OBJECT_ s_object, USER_OBJECT_ s_force_rescan, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_themed_icon_prepend_name(USER_OBJECT_ s_object, USER_OBJECT_ s_iconname); USER_OBJECT_ S_g_volume_get_identifier(USER_OBJECT_ s_object, USER_OBJECT_ s_kind); USER_OBJECT_ S_g_volume_enumerate_identifiers(USER_OBJECT_ s_object); USER_OBJECT_ S_g_volume_get_activation_root(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_enumerator_get_container(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_reset_type_associations(USER_OBJECT_ s_content_type); USER_OBJECT_ S_g_app_info_can_delete(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_delete(USER_OBJECT_ s_object); USER_OBJECT_ S_g_app_info_get_commandline(USER_OBJECT_ s_object); USER_OBJECT_ S_g_data_input_stream_read_until_async(USER_OBJECT_ s_object, USER_OBJECT_ s_stop_chars, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_data_input_stream_read_until_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result, USER_OBJECT_ s_length); USER_OBJECT_ S_g_data_input_stream_read_line_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_data_input_stream_read_line_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_icon_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_g_icon_new_for_string(USER_OBJECT_ s_str); USER_OBJECT_ S_g_mount_is_shadowed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_shadow(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_unshadow(USER_OBJECT_ s_object); USER_OBJECT_ S_g_filter_input_stream_get_close_base_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_filter_input_stream_set_close_base_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_close_base); USER_OBJECT_ S_g_filter_output_stream_get_close_base_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_filter_output_stream_set_close_base_stream(USER_OBJECT_ s_object, USER_OBJECT_ s_close_base); USER_OBJECT_ S_g_async_initable_get_type(void); USER_OBJECT_ S_g_async_initable_init_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_async_initable_init_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_async_initable_new_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_cancellable_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_handler_id); USER_OBJECT_ S_g_cancellable_release_fd(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_can_start(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_can_start_degraded(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_can_stop(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_drive_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_drive_get_start_stop_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_drive_start(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_drive_start_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_drive_stop(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_drive_stop_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_create_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_create_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_create_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_eject_mountable_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_eject_mountable_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_open_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_open_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_open_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_poll_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_poll_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_replace_readwrite(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_replace_readwrite_async(USER_OBJECT_ s_object, USER_OBJECT_ s_etag, USER_OBJECT_ s_make_backup, USER_OBJECT_ s_flags, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_replace_readwrite_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_res); USER_OBJECT_ S_g_file_start_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_start_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_start_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_stop_mountable(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_stop_mountable_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_supports_thread_contexts(USER_OBJECT_ s_object); USER_OBJECT_ S_g_file_unmount_mountable_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_unmount_mountable_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_info_has_namespace(USER_OBJECT_ s_object, USER_OBJECT_ s_name_space); USER_OBJECT_ S_g_file_info_set_attribute_status(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_status); USER_OBJECT_ S_g_file_info_get_attribute_stringv(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute); USER_OBJECT_ S_g_file_info_set_attribute_stringv(USER_OBJECT_ s_object, USER_OBJECT_ s_attribute, USER_OBJECT_ s_attr_value); USER_OBJECT_ S_g_file_io_stream_get_type(void); USER_OBJECT_ S_g_file_io_stream_query_info(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_file_io_stream_query_info_async(USER_OBJECT_ s_object, USER_OBJECT_ s_attributes, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_file_io_stream_query_info_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_file_io_stream_get_etag(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_type(void); USER_OBJECT_ S_g_inet_address_new_from_string(USER_OBJECT_ s_string); USER_OBJECT_ S_g_inet_address_new_from_bytes(USER_OBJECT_ s_bytes, USER_OBJECT_ s_family); USER_OBJECT_ S_g_inet_address_new_loopback(USER_OBJECT_ s_family); USER_OBJECT_ S_g_inet_address_new_any(USER_OBJECT_ s_family); USER_OBJECT_ S_g_inet_address_to_string(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_to_bytes(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_native_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_any(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_loopback(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_link_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_site_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_multicast(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_mc_global(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_mc_link_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_mc_node_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_mc_org_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_address_get_is_mc_site_local(USER_OBJECT_ s_object); USER_OBJECT_ S_g_initable_get_type(void); USER_OBJECT_ S_g_initable_init(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_io_stream_get_type(void); USER_OBJECT_ S_g_io_stream_get_input_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_stream_get_output_stream(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_stream_close(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_io_stream_close_async(USER_OBJECT_ s_object, USER_OBJECT_ s_io_priority, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_io_stream_close_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_io_stream_is_closed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_stream_has_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_stream_set_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_io_stream_clear_pending(USER_OBJECT_ s_object); USER_OBJECT_ S_g_mount_unmount_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_unmount_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_mount_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_mount_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_network_address_get_type(void); USER_OBJECT_ S_g_network_address_new(USER_OBJECT_ s_hostname, USER_OBJECT_ s_port); USER_OBJECT_ S_g_network_address_parse(USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port); USER_OBJECT_ S_g_network_address_get_hostname(USER_OBJECT_ s_object); USER_OBJECT_ S_g_network_address_get_port(USER_OBJECT_ s_object); USER_OBJECT_ S_g_network_service_get_type(void); USER_OBJECT_ S_g_network_service_new(USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain); USER_OBJECT_ S_g_network_service_get_service(USER_OBJECT_ s_object); USER_OBJECT_ S_g_network_service_get_protocol(USER_OBJECT_ s_object); USER_OBJECT_ S_g_network_service_get_domain(USER_OBJECT_ s_object); USER_OBJECT_ S_g_resolver_get_type(void); USER_OBJECT_ S_g_resolver_get_default(void); USER_OBJECT_ S_g_resolver_set_default(USER_OBJECT_ s_object); USER_OBJECT_ S_g_resolver_lookup_by_name(USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_resolver_lookup_by_name_async(USER_OBJECT_ s_object, USER_OBJECT_ s_hostname, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_resolver_lookup_by_name_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_resolver_free_addresses(USER_OBJECT_ s_addresses); USER_OBJECT_ S_g_resolver_lookup_by_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_resolver_lookup_by_address_async(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_resolver_lookup_by_address_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_resolver_lookup_service(USER_OBJECT_ s_object, USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_resolver_lookup_service_async(USER_OBJECT_ s_object, USER_OBJECT_ s_service, USER_OBJECT_ s_protocol, USER_OBJECT_ s_domain, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_resolver_lookup_service_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_resolver_free_targets(USER_OBJECT_ s_targets); USER_OBJECT_ S_g_resolver_error_quark(void); USER_OBJECT_ S_g_socket_address_enumerator_get_type(void); USER_OBJECT_ S_g_socket_address_enumerator_next(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_address_enumerator_next_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_address_enumerator_next_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_address_get_type(void); USER_OBJECT_ S_g_socket_address_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_address_new_from_native(USER_OBJECT_ s_native, USER_OBJECT_ s_len); USER_OBJECT_ S_g_socket_address_to_native(USER_OBJECT_ s_object, USER_OBJECT_ s_dest, USER_OBJECT_ s_destlen); USER_OBJECT_ S_g_socket_address_get_native_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_client_get_type(void); USER_OBJECT_ S_g_socket_client_new(void); USER_OBJECT_ S_g_socket_client_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_client_set_family(USER_OBJECT_ s_object, USER_OBJECT_ s_family); USER_OBJECT_ S_g_socket_client_get_socket_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_client_set_socket_type(USER_OBJECT_ s_object, USER_OBJECT_ s_type); USER_OBJECT_ S_g_socket_client_get_protocol(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_client_set_protocol(USER_OBJECT_ s_object, USER_OBJECT_ s_protocol); USER_OBJECT_ S_g_socket_client_get_local_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_client_set_local_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address); USER_OBJECT_ S_g_socket_client_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_connectable, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_client_connect_to_host(USER_OBJECT_ s_object, USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_client_connect_to_service(USER_OBJECT_ s_object, USER_OBJECT_ s_domain, USER_OBJECT_ s_service, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_client_connect_async(USER_OBJECT_ s_object, USER_OBJECT_ s_connectable, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_client_connect_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_client_connect_to_host_async(USER_OBJECT_ s_object, USER_OBJECT_ s_host_and_port, USER_OBJECT_ s_default_port, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_client_connect_to_host_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_client_connect_to_service_async(USER_OBJECT_ s_object, USER_OBJECT_ s_domain, USER_OBJECT_ s_service, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_client_connect_to_service_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_connectable_get_type(void); USER_OBJECT_ S_g_socket_connectable_enumerate(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_connection_get_type(void); USER_OBJECT_ S_g_socket_connection_get_socket(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_connection_get_local_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_connection_get_remote_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_connection_factory_register_type(USER_OBJECT_ s_g_type, USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol); USER_OBJECT_ S_g_socket_connection_factory_lookup_type(USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol_id); USER_OBJECT_ S_g_socket_connection_factory_create_connection(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_control_message_get_type(void); USER_OBJECT_ S_g_socket_control_message_get_size(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_control_message_get_level(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_control_message_get_msg_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_control_message_serialize(USER_OBJECT_ s_object, USER_OBJECT_ s_data); USER_OBJECT_ S_g_socket_control_message_deserialize(USER_OBJECT_ s_level, USER_OBJECT_ s_type, USER_OBJECT_ s_size, USER_OBJECT_ s_data); USER_OBJECT_ S_g_socket_get_type(void); USER_OBJECT_ S_g_socket_new(USER_OBJECT_ s_family, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol); USER_OBJECT_ S_g_socket_new_from_fd(USER_OBJECT_ s_fd); USER_OBJECT_ S_g_socket_get_fd(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_family(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_socket_type(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_protocol(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_local_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_remote_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_set_blocking(USER_OBJECT_ s_object, USER_OBJECT_ s_blocking); USER_OBJECT_ S_g_socket_get_blocking(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_set_keepalive(USER_OBJECT_ s_object, USER_OBJECT_ s_keepalive); USER_OBJECT_ S_g_socket_get_keepalive(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_get_listen_backlog(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_set_listen_backlog(USER_OBJECT_ s_object, USER_OBJECT_ s_backlog); USER_OBJECT_ S_g_socket_is_connected(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_bind(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_allow_reuse); USER_OBJECT_ S_g_socket_connect(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_check_connect_result(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_condition_check(USER_OBJECT_ s_object, USER_OBJECT_ s_condition); USER_OBJECT_ S_g_socket_condition_wait(USER_OBJECT_ s_object, USER_OBJECT_ s_condition, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_accept(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_listen(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_send(USER_OBJECT_ s_object, USER_OBJECT_ s_buffer, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_send_to(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_buffer, USER_OBJECT_ s_size, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_close(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_shutdown(USER_OBJECT_ s_object, USER_OBJECT_ s_shutdown_read, USER_OBJECT_ s_shutdown_write); USER_OBJECT_ S_g_socket_is_closed(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_create_source(USER_OBJECT_ s_object, USER_OBJECT_ s_condition, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_speaks_ipv4(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_listener_get_type(void); USER_OBJECT_ S_g_socket_listener_new(void); USER_OBJECT_ S_g_socket_listener_set_backlog(USER_OBJECT_ s_object, USER_OBJECT_ s_listen_backlog); USER_OBJECT_ S_g_socket_listener_add_socket(USER_OBJECT_ s_object, USER_OBJECT_ s_socket, USER_OBJECT_ s_source_object); USER_OBJECT_ S_g_socket_listener_add_address(USER_OBJECT_ s_object, USER_OBJECT_ s_address, USER_OBJECT_ s_type, USER_OBJECT_ s_protocol, USER_OBJECT_ s_source_object); USER_OBJECT_ S_g_socket_listener_add_inet_port(USER_OBJECT_ s_object, USER_OBJECT_ s_port, USER_OBJECT_ s_source_object); USER_OBJECT_ S_g_socket_listener_accept_socket(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_listener_accept_socket_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_listener_accept_socket_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_listener_accept(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable); USER_OBJECT_ S_g_socket_listener_accept_async(USER_OBJECT_ s_object, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_socket_listener_accept_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_socket_listener_close(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_service_get_type(void); USER_OBJECT_ S_g_socket_service_new(void); USER_OBJECT_ S_g_socket_service_start(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_service_stop(USER_OBJECT_ s_object); USER_OBJECT_ S_g_socket_service_is_active(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_get_type(void); USER_OBJECT_ S_g_srv_target_new(USER_OBJECT_ s_hostname, USER_OBJECT_ s_port, USER_OBJECT_ s_priority, USER_OBJECT_ s_weight); USER_OBJECT_ S_g_srv_target_copy(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_free(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_get_hostname(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_get_port(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_get_priority(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_get_weight(USER_OBJECT_ s_object); USER_OBJECT_ S_g_srv_target_list_sort(USER_OBJECT_ s_targets); USER_OBJECT_ S_g_threaded_socket_service_get_type(void); USER_OBJECT_ S_g_threaded_socket_service_new(USER_OBJECT_ s_max_threads); USER_OBJECT_ S_g_volume_eject_with_operation(USER_OBJECT_ s_object, USER_OBJECT_ s_flags, USER_OBJECT_ s_mount_operation, USER_OBJECT_ s_cancellable, USER_OBJECT_ s_callback, USER_OBJECT_ s_user_data); USER_OBJECT_ S_g_volume_eject_with_operation_finish(USER_OBJECT_ s_object, USER_OBJECT_ s_result); USER_OBJECT_ S_g_inet_socket_address_new(USER_OBJECT_ s_address, USER_OBJECT_ s_port); USER_OBJECT_ S_g_inet_socket_address_get_address(USER_OBJECT_ s_object); USER_OBJECT_ S_g_inet_socket_address_get_port(USER_OBJECT_ s_object); USER_OBJECT_ S_g_tcp_connection_get_type(void); USER_OBJECT_ S_g_tcp_connection_set_graceful_disconnect(USER_OBJECT_ s_object, USER_OBJECT_ s_graceful_disconnect); USER_OBJECT_ S_g_tcp_connection_get_graceful_disconnect(USER_OBJECT_ s_object); #endif RGtk2/NAMESPACE0000644000176000001440000000131111766145227012461 0ustar ripleyusersexportPattern("^[^\\.]") export(.RGtkCall) #useDynLib(RGtk2) S3method(dimnames, RGtkDataFrame) S3method("dimnames<-", RGtkDataFrame) S3method(dim, RGtkDataFrame) S3method("[<-", RGtkDataFrame) S3method("[", RGtkDataFrame) S3method("as.data.frame", RGtkDataFrame) S3method(names, GObject) S3method("[", GObject) S3method("[<-", GObject) S3method("$", GObject) S3method("$<-", GObject) S3method("[[<-", GObject) S3method("[[", GObject) S3method(print, CallbackID) S3method("==", RGtkObject) S3method("[[", RGtkObject) S3method("[[", GtkContainer) S3method("[", flags) S3method("==", enum) S3method(print, enum) S3method(print, flag) S3method(print, enums) S3method(print, flags) S3method("$", "") RGtk2/demo/0000755000176000001440000000000011766145227012172 5ustar ripleyusersRGtk2/demo/buttonBoxes.R0000644000176000001440000000314111766145227014630 0ustar ripleyuserscreate.bbox <- function(horizontal, title, spacing, layout) { frame <- gtkFrameNew(title) if (horizontal) bbox <- gtkHButtonBoxNew() else bbox <- gtkVButtonBoxNew() bbox$setBorderWidth(5) frame$add(bbox) bbox$setLayout(layout) bbox$setSpacing(spacing) button <- gtkButtonNewFromStock("gtk-ok") bbox$add(button) button <- gtkButtonNewFromStock("gtk-cancel") bbox$add(button) button <- gtkButtonNewFromStock("gtk-help") bbox$add(button) frame } window <- gtkWindowNew("toplevel", show=F) window$setTitle("Button Boxes") window$setBorderWidth(10) main.vbox <- gtkVBoxNew (FALSE, 0) window$add(main.vbox) frame.horz <- gtkFrameNew("Horizontal Button Boxes") # expand, fill (expand greedily), with 10 padding main.vbox$packStart(frame.horz, TRUE, TRUE, 10) vbox <- gtkVBoxNew(FALSE, 0) vbox$setBorderWidth(10) frame.horz$add(vbox) vbox$packStart(create.bbox(TRUE, "Spread", 40, "spread"), TRUE, TRUE, 0) vbox$packStart(create.bbox(TRUE, "Edge", 40, "edge"), TRUE, TRUE, 5) vbox$packStart(create.bbox(TRUE, "Start", 40, "start"), TRUE, TRUE, 5) vbox$packStart(create.bbox(TRUE, "End", 40, "end"), TRUE, TRUE, 5) frame.vert <- gtkFrameNew("Vertical Button Boxes") main.vbox$packStart(frame.vert, TRUE, TRUE, 10) hbox <- gtkHBoxNew(FALSE, 0) hbox$setBorderWidth(10) frame.vert$add(hbox) hbox$packStart(create.bbox(FALSE, "Spread", 30, "spread"), TRUE, TRUE, 0) hbox$packStart(create.bbox(FALSE, "Edge", 30, "edge"), TRUE, TRUE, 5) hbox$packStart(create.bbox(FALSE, "Start", 30, "start"), TRUE, TRUE, 5) hbox$packStart(create.bbox(FALSE, "End", 30, "end"), TRUE, TRUE, 5) window$showAll() RGtk2/demo/alphaSliderClass.R0000644000176000001440000000236211766145227015536 0ustar ripleyuserstform_scale_type <- gClass("RTransformedHScale", "GtkHScale", .props = list( gParamSpec("R", "expr", "e", "Transformation of scale value", default.value = expression(x)) ), .public = list( getExpr = function(self) self["expr"], getTransformedValue = function(self) self$transformValue(self$getValue()) ), .private = list( transformValue = function(self, x) eval(self$expr, list(x = x)) ), GtkScale = list( format_value = function(self, x) as.character(self$transformValue(x)) ) ) adj <- gtkAdjustment(0.5, 0.15, 1.00, 0.05, 0.5, 0) s <- gObject(tform_scale_type, adjustment = adj, expr = expression(x^3)) gSignalConnect(s, "value-changed", function(scale) { plot(ma_data, col = rgb(0,0,0,scale$getTransformedValue()), xlab = "Replicate 1", ylab = "Replicate 2", main = "Expression levels of WT at time 0", pch = 19) }) #s <- gtkHScale(,0.15, 1.00, 0.05) n <- 5000 backbone <- rnorm(n) ma_data <- cbind(backbone, backbone+rnorm(n,,0.3)) library(cairoDevice) win <- gtkWindow(show = F) da <- gtkDrawingArea() asCairoDevice(da) vbox <- gtkVBox() vbox$packStart(da) vbox$packStart(s, FALSE) win$add(vbox) win$setDefaultSize(400,400) win$showAll() par(pty = "s") #debug("[[.RGtkObject") s$setValue(0.7) RGtk2/demo/tooltips.R0000644000176000001440000001425111766145227014175 0ustar ripleyusers### GTK+ 2.12 tooltip enhancements query_tooltip_cb <- function(widget, x, y, keyboard_tip, tooltip) { tooltip$setMarkup(widget$getLabel()) tooltip$setIconFromStock(GTK_STOCK_DELETE, "menu") return(TRUE) } query_tooltip_custom_cb <- function(widget, x, y, keyboard_tip, tooltip) { color <- as.GdkColor(c(0, 65535, 0)) window <- widget$getTooltipWindow() window$modifyBg("normal", color) return(TRUE) } query_tooltip_text_view_cb <- function(widget, x, y, keyboard_tip, tooltip, data) { if (keyboard_tip) { offset <- widget["buffer"]["cursor_position"] iter <- widget["buffer"]$getIterAtOffset(offset)$iter } else { coords <- widget$windowToBufferCoords("text", x, y) iter <- widget$getIterAtPosition(coords[[2]], coords[[3]])$iter if (iter$hasTag(data)) tooltip$setText("Tooltip on text tag") else return(FALSE) } return(TRUE) } query_tooltip_tree_view_cb <- function(widget, x, y, keyboard_tip, tooltip) { model <- widget$getModel() ctx <- widget$getTooltipContext(x, y, keyboard_tip) if (!ctx$retval) return(FALSE) tmp <- model$get(ctx$iter, 0)[[1]] pathstring <- ctx$path$toString() markup <- sprintf("Path %s: %s", pathstring, tmp) tooltip$setMarkup(markup) widget$setTooltipRow(tooltip, ctx$path) return(TRUE) } query_tooltip_drawing_area_cb <- function(widget, x, y, keyboard_tip, tooltip) { if (keyboard_tip) return(FALSE) markup <- rects$x < x & y < rects$x + 50 & rects$y < y & y < rects$y + 50 if (any(markup)) { tooltip$setMarkup(rects$tooltip[which(markup)[1]]) return(TRUE) } return(FALSE) } selection_changed_cb <- function(self, selection, tree_view) { tree_view$triggerTooltipQuery() } create_model <- function() { store <- gtkTreeStore("character") ## A tree store with some random words ... store$set(store$append()$iter, 0, "File Manager") store$set(store$append()$iter, 0, "Gossip") store$set(store$append()$iter, 0, "System Settings") store$set(store$append()$iter, 0, "The GIMP") store$set(store$append()$iter, 0, "Terminal") store$set(store$append()$iter, 0, "Word Processor") return(store) } drawing_area_expose <- function(drawing_area, event) { cr <- gdkCairoCreate(drawing_area[["window"]]) cr$rectangle(0, 0, drawing_area[["allocation"]]$width, drawing_area[["allocation"]]$height) cr$setSourceRgb(1.0, 1.0, 1.0) cr$fill() apply(rects, 1, function(rect) { cr$rectangle(rect["x"], rect["y"], 50, 50) cr$setSourceRgb(rect["r"], rect["g"], rect["b"]) cr$stroke() cr$rectangle(rect["x"], rect["y"], 50, 50) cr$setSourceRgba(rect["r"], rect["g"], rect["b"], 0.5) cr$fill() }) return(FALSE) } rects <- data.frame(x = c(10, 200, 100), y = c(10, 170, 50), r = c(0, 1, .8), g = c(0, 0, .8), b = c(.9, 0, 0), tooltip = c("Blue box!", "Red thing", "Yellow thing")) win <- gtkWindow(show = FALSE) win$setBorderWidth(10) box <- gtkVBox(FALSE, 3) win$add(box) ## A check button using the tooltip-markup property button <- gtkCheckButton("This one uses the tooltip-markup property") button$setTooltipText("Hello, I am a static tooltip.") box$packStart(button, FALSE, FALSE, 0) ## A check button using the query-tooltip signal button <- gtkCheckButton("I use the query-tooltip signal") button["has_tooltip"] <- TRUE gSignalConnect(button, "query-tooltip", query_tooltip_cb) box$packStart(button, FALSE, FALSE, 0) ## A label label <- gtkLabel("I am just a label") label$setSelectable(FALSE) label$setTooltipText("Label & and tooltip") box$packStart(label, FALSE, FALSE, 0) ## A selectable label label <- gtkLabel("I am a selectable label") label$setSelectable(TRUE) label$setTooltipMarkup("Another Label tooltip") box$packStart(label, FALSE, FALSE, 0) ## Another one, with a custom tooltip window button <- gtkCheckButton("This one has a custom tooltip window!") box$packStart(button, FALSE, FALSE, 0) tooltip_window <- gtkWindow("popup", show = FALSE) tooltip_button <- gtkLabel("blaat!") tooltip_window$add(tooltip_button) button$setTooltipWindow(tooltip_window) gSignalConnect(button, "query-tooltip", query_tooltip_custom_cb) button["has_tooltip"] <- TRUE ## An insensitive button button <- gtkButton("This one is insensitive") button$setSensitive(FALSE) button["tooltip_text"] <- "Insensitive!" box$packStart(button, FALSE, FALSE, 0) ## Testcases from Kris without a tree view don't exist tree_view <- gtkTreeView(create_model()) tree_view$setSizeRequest(200, 240) tree_view$insertColumnWithAttributes(0, "Test", gtkCellRendererText(), text = 0) tree_view["has_tooltip"] <- TRUE gSignalConnect(tree_view, "query-tooltip", query_tooltip_tree_view_cb) gSignalConnect(tree_view$getSelection(), "changed", selection_changed_cb, tree_view) ## We cannot get the button on the treeview column directly ## so we have to use a ugly hack to get it. column <- tree_view$getColumn(0) column$setClickable(TRUE) label <- gtkLabel("Test") column$setWidget(label) button <- label$getParent() button["tooltip_text"] <- "Header" box$packStart(tree_view, FALSE, FALSE, 2) ## And a text view for Matthias buffer <- gtkTextBuffer() iter <- buffer$getEndIter()$iter buffer$insert(iter, "Hello, the text ", -1) tag <- buffer$createTag("bold") tag["weight"] <- PangoWeight["bold"] iter <- buffer$getEndIter()$iter buffer$insertWithTags(iter, "in bold", tag) iter <- buffer$getEndIter()$iter buffer$insert(iter, " has a tooltip!", -1) text_view <- gtkTextView(buffer) text_view$setSizeRequest(200, 50) text_view["has_tooltip"] <- TRUE gSignalConnect(text_view, "query-tooltip", query_tooltip_text_view_cb, tag) box$packStart(text_view, FALSE, FALSE, 2) ## Drawing area drawing_area <- gtkDrawingArea() drawing_area$setSizeRequest(320, 240) drawing_area["has_tooltip"] <- TRUE gSignalConnect(drawing_area, "expose_event", drawing_area_expose) gSignalConnect(drawing_area, "query-tooltip", query_tooltip_drawing_area_cb) box$packStart(drawing_area, FALSE, FALSE, 2) ## Done! win$showAll() RGtk2/demo/fileCopier.R0000644000176000001440000000532011766145227014376 0ustar ripleyusers copyFile <- function(uri) { gfile <- gFileNewForUri(uri) fetched <- 0 total <- 0 output <- gfile$getBasename() con <- file(output, "wb") if (output == "/") output <- "index.html" streamReadCallback <- function(stream, result) { if (cancellable$isCancelled()) return() data <- stream$readFinish(result) if (!length(data)) dataFinished() else { dataRead(data) stream$readAsync(4096, cancellable = cancellable, callback = streamReadCallback) } } readCallback <- function(gfile, result) { stream <- gfile$readFinish(result) info <- gfile$queryInfo(GFileAttributeStandard["size"]) total <<- info$getAttributeUint64(GFileAttributeStandard["size"]) stream$readAsync(4096, cancellable = cancellable, callback = streamReadCallback) } dataRead <- function(data) { Sys.sleep(0.1) writeBin(data, con) fetched <<- fetched + length(data) if (!cancellable$isCancelled()) { progressBar$setFraction(fetched / total) bytesLabel$setText(paste("Bytes read:", fetched)) ## Often, we never get around to updating the progress bar, due ## to the I/O events, which seem to take priority while(gtkEventsPending()) gtkMainIteration() } } dataFinished <- function() { dialog$setTitle("Copy complete") close(con) } dialog <- gtkDialog("Copying...", NULL, 0, GTK_STOCK_CANCEL, GtkResponseType["cancel"], GTK_STOCK_CLOSE, GtkResponseType["none"]) contentArea <- dialog$getContentArea() vbox <- gtkVBox() contentArea$add(vbox) progressBar <- gtkProgressBar() vbox$packStart(progressBar, FALSE, FALSE) srcLabel <- gtkLabel(paste("Source:", uri)) srcLabel["max-width-chars"] <- 40 srcLabel["ellipsize"] <- "middle" srcLabel["xalign"] <- 0 vbox$packStart(srcLabel, FALSE, FALSE) destLabel <- gtkLabel(paste("Destination:", output)) destLabel["max-width-chars"] <- 40 destLabel["ellipsize"] <- "middle" destLabel["xalign"] <- 0 vbox$packStart(destLabel, FALSE, FALSE) bytesLabel <- gtkLabel(paste("Bytes read:", fetched)) bytesLabel["xalign"] <- 0 vbox$packStart(bytesLabel, FALSE, FALSE) gSignalConnect(dialog, "response", function(dialog, response, data) { if (response == GtkResponseType["cancel"]) { cancellable$cancel() } dialog$destroy() }) cancellable <- gCancellable() gfile$readAsync(cancellable = cancellable, callback = readCallback) invisible(dialog) } library(RGtk2) options("RGtk2::newErrorHandling" = TRUE) uri <- "file:///home/larman/projects/R/motifRG_0.0.1.tar.gz" ##uri <- "http://cran.r-project.org/src/contrib/RGtk2_2.12.18.tar.gz" copyFile(uri) RGtk2/demo/searchentry.R0000644000176000001440000001262311766145227014650 0ustar ripleyusers## icon and progress in a GtkEntry search_progress_id <- 0 finish_search_id <- 0 show_find_button <- function() { notebook$setCurrentPage(0) } show_cancel_button <- function() { notebook$setCurrentPage(1) } search_progress <- function(data) { data$progressPulse() return(TRUE) } search_progress_done <- function(entry) { entry$setProgressFraction(0.0) } finish_search <- function(entry) { show_find_button() gSourceRemove(search_progress_id) search_progress_id <<- 0 search_progress_done(entry) return(FALSE) } start_search_feedback <- function(data) { search_progress_id <<- gTimeoutAdd(100, search_progress, data) return(FALSE) } start_search <- function(button, entry) { show_cancel_button() search_progress_id <<- gTimeoutAdd(1000, start_search_feedback, entry) finish_search_id <<- gTimeoutAdd(15000, finish_search, entry) } stop_search <- function(entry, data) { gSourceRemove(finish_search_id) finish_search(entry) } clear_entry <- function(entry) { entry$setText("") } search_by_name <-function(item, entry) { entry$setIconFromStock(GtkEntryIconPosition["primary"], GTK_STOCK_FIND) entry$setIconTooltipText(GtkEntryIconPosition["primary"], "Search by name\nClick here to change the search type") } search_by_description <- function(item, entry) { entry$setIconFromStock(GtkEntryIconPosition["primary"], GTK_STOCK_EDIT) entry$setIconTooltipText(GtkEntryIconPosition["primary"], "Search by description\nClick here to change the search type") } search_by_file <- function(item, entry) { entry$setIconFromStock(GtkEntryIconPosition["primary"], GTK_STOCK_OPEN) entry$setIconTooltipText(GtkEntryIconPosition["primary"], "Search by file name\nClick here to change the search type") } create_search_menu <- function(entry) { menu <- gtkMenu() item <- gtkImageMenuItemNewWithMnemonic("Search by _name") image <- gtkImage(stock = GTK_STOCK_FIND, size = GtkIconSize["menu"]) item$setImage(image) item$setAlwaysShowImage(TRUE) gSignalConnect(item, "activate", search_by_name, entry) menu$append(item) item <- gtkImageMenuItemNewWithMnemonic("Search by _description") image <- gtkImage(stock = GTK_STOCK_EDIT, size = GtkIconSize["menu"]) item$setImage(image) item$setAlwaysShowImage(TRUE) gSignalConnect(item, "activate", search_by_description, entry) menu$append(item) item <- gtkImageMenuItemNewWithMnemonic("Search by _file name") image <- gtkImage(stock = GTK_STOCK_OPEN, size = GtkIconSize["menu"]) item$setImage(image) item$setAlwaysShowImage(TRUE) gSignalConnect(item, "activate", search_by_file, entry) menu$append(item) menu$showAll() return(menu) } icon_press_cb <- function(entry, position, event, data) { if (position == GtkEntryIconPosition["primary"]) menu$popup(NULL, NULL, NULL, NULL, event[["button"]], event[["time"]]) else clear_entry(entry) } text_changed_cb <- function(entry, pspec, button) { has_text <- entry$getTextLength() > 0 entry$setIconSensitive(GtkEntryIconPosition["secondary"], has_text) button["sensitive"] <- has_text } activate_cb <- function(entry, button) { if (search_progress_id != 0) return() start_search(button, entry) } search_entry_destroyed <- function(widget) { if (finish_search_id != 0) gSourceRemove(finish_search_id) if (search_progress_id != 0) gSourceRemove(search_progress_id) window <- NULL } entry_populate_popup <- function(entry, menu, user_data) { has_text <- entry$getTextLength() > 0 item <- gtkSeparatorMenuItem() menu$append(item) item <- gtkMenuItemNewWithMnemonic("C_lear") gSignalConnect(item, "activate", clear_entry, entry, user.data.first=TRUE) menu$append(item) item["sensitive"] <- has_text search_menu <- create_search_menu(entry) item <- gtkMenuItem("Search by") item$setSubmenu(search_menu) menu$append(item) } window <- gtkDialog("Search Entry", NULL, 0, GTK_STOCK_CLOSE, GtkResponseType["none"]) window["resizable"] <- FALSE gSignalConnect(window, "response", gtkWidgetDestroy) content_area <- window$getContentArea() vbox <- gtkVBox(FALSE, 5) content_area$packStart(vbox) vbox$setBorderWidth(5) label <- gtkLabel() label$setMarkup("Search entry demo") vbox$packStart(label, FALSE, FALSE) hbox <- gtkHBox(FALSE, 10) vbox$packStart(hbox) vbox$setBorderWidth(0) ## Create our entry entry <- gtkEntry() hbox$packStart(entry, FALSE, FALSE) ## Create the find and cancel buttons notebook <- gtkNotebook() notebook$setShowTabs(FALSE) notebook$setShowBorder(FALSE) hbox$packStart(notebook, FALSE, FALSE) find_button <- gtkButton("Find") gSignalConnect(find_button, "clicked", start_search, entry) notebook$appendPage(find_button) cancel_button <- gtkButton("Cancel") gSignalConnect(cancel_button, "clicked", stop_search, entry, user.data.first=TRUE) notebook$appendPage(cancel_button) ## Set up the search icon search_by_name(NULL, entry) ## Set up the clear icon entry$setIconFromStock(GtkEntryIconPosition["secondary"], GTK_STOCK_CLEAR) text_changed_cb (entry, NULL, find_button) gSignalConnect(entry, "icon-press", icon_press_cb) gSignalConnect(entry, "notify::text", text_changed_cb, find_button) gSignalConnect(entry, "activate", activate_cb) ## Create the menu menu <- create_search_menu(entry) menu$attachToWidget(entry) ## add accessible alternatives for icon functionality gSignalConnect(entry, "populate-popup", entry_populate_popup) RGtk2/demo/assistant.R0000644000176000001440000000614511766145227014334 0ustar ripleyusersapply_changes_gradually <- function(data) { fraction <- progress_bar$getFraction() + 0.05 if (fraction < 1.0) { progress_bar$setFraction(fraction) TRUE } else { assistant$destroy() FALSE } } on_assistant_apply <- function(widget, data) { gTimeoutAdd(100, apply_changes_gradually) } on_assistant_prepare <- function(widget, page, data) { current_page <- widget$getCurrentPage() n_pages <- widget$getNPages() title <- sprintf("Sample assistant (%d of %d)", current_page + 1, n_pages) widget$setTitle(title) if (current_page == 3) widget$commit() } on_entry_changed <- function(widget, assistant) { page_number <- assistant$getCurrentPage() current_page <- assistant$getNthPage(page_number) text <- widget$getText() if (!is.null(text) && nchar(text) > 0) assistant$setPageComplete(current_page, TRUE) else assistant$setPageComplete(current_page, FALSE) } create_page1 <- function(assistant) { box <- gtkHBox(FALSE, 12) box$setBorderWidth(12) label <- gtkLabel("You must fill out this entry to continue:") box$packStart(label, FALSE, FALSE, 0) entry <- gtkEntry() box$packStart(entry, TRUE, TRUE, 0) gSignalConnect(entry, "changed", on_entry_changed, assistant) assistant$appendPage(box) assistant$setPageTitle(box, "Page 1") assistant$setPageType(box, "intro") pixbuf <- assistant$renderIcon(GTK_STOCK_DIALOG_INFO, "dialog") assistant$setPageHeaderImage(box, pixbuf) } create_page2 <- function(assistant) { box <- gtkVBox(FALSE, 12) box$setBorderWidth(12) checkbutton <- gtkCheckButton(paste("This is optional data, you may continue", "even if you do not check this")) box$packStart(checkbutton, FALSE, FALSE, 0) assistant$appendPage(box) assistant$setPageComplete(box, TRUE) assistant$setPageTitle(box, "Page 2") pixbuf <- assistant$renderIcon(GTK_STOCK_DIALOG_INFO, "dialog") assistant$setPageHeaderImage(box, pixbuf) } create_page3 <- function(assistant) { label <- gtkLabel("This is a confirmation page, press 'Apply' to apply changes") assistant$appendPage(label) assistant$setPageType(label, "confirm") assistant$setPageComplete(label, TRUE) assistant$setPageTitle(label, "Confirmation") pixbuf <- assistant$renderIcon(GTK_STOCK_DIALOG_INFO, "dialog") assistant$setPageHeaderImage(label, pixbuf) } create_page4 <- function(assistant) { page <- gtkAlignment(0.5, 0.5, 0.5, 0.0) progress_bar <- gtkProgressBar() page$add(progress_bar) page$showAll() assistant$appendPage(page) assistant$setPageType(page, "progress") assistant$setPageTitle(page, "Applying changes") ## This prevents the assistant window from being ## closed while we're "busy" applying changes. page$setPageComplete(FALSE) } assistant <- gtkAssistant(show = F) assistant$setDefaultSize(-1, 300) create_page1(assistant) create_page2(assistant) create_page3(assistant) create_page4(assistant) gSignalConnect(assistant, "cancel", gtkWidgetDestroy) gSignalConnect(assistant, "close", gtkWidgetDestroy) gSignalConnect(assistant, "apply", on_assistant_apply) gSignalConnect(assistant, "prepare", on_assistant_prepare) assistant$showAll() RGtk2/demo/rotatedText.R0000644000176000001440000000477711766145227014643 0ustar ripleyusers#source("/home/larman/research/RGtk/inst/demo/rotatedText.R") window <- NULL RADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" rotated.text.expose.event <- function(widget, event, data) { # matrix describing font transformation, initialize to identity matrix <- pangoMatrixInit() width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] # Get the default renderer for the screen, and set it up for drawing renderer <- gdkPangoRendererGetDefault(widget$getScreen()) renderer$setDrawable(widget[["window"]]) renderer$setGc(widget[["style"]][["blackGc"]]) # Set up a transformation matrix so that the user space coordinates for # the centered square where we draw are [-RADIUS, RADIUS], [-RADIUS, RADIUS] # We first center, then change the scale device.radius <- min(width, height) / 2. matrix$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) matrix$scale(device.radius / RADIUS, device.radius / RADIUS) # Create a PangoLayout, set the font and text context <- widget$createPangoContext() layout <- pangoLayoutNew(context) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) # Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { rotated.matrix <- matrix$copy() angle <- (360 * i) / N.WORDS color <- list() # Gradient from red at angle 60 to blue at angle 300 color$red <- 65535 * (1 + cos((angle - 60) * pi / 180)) / 2 color$green <- 0 color$blue <- 65535 - color$red renderer$setOverrideColor("foreground", color) rotated.matrix$rotate(angle) context$setMatrix(rotated.matrix) # Inform Pango to re-layout the text with the new transformation matrix layout$contextChanged() size <- layout$getSize() renderer$drawLayout(layout, - size$width / 2, - RADIUS * 1024) } # Clean up default renderer, since it is shared renderer$setOverrideColor("foreground", NULL) renderer$setDrawable(NULL) renderer$setGc(NULL) return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindowNew("toplevel") window$setTitle("Rotated Text") drawing.area <- gtkDrawingAreaNew() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", rotated.text.expose.event) window$setDefaultSize(2 * RADIUS, 2 * RADIUS) window$showAll() RGtk2/demo/sizeGroups.R0000644000176000001440000000506711766145227014477 0ustar ripleyusers# source("/home/larman/research/RGtk/inst/demo/sizeGroups.R") window <- NULL # Convenience function to create a combo box holding a number of strings # create.combo.box <- function(strings) { combo.box <- gtkComboBoxNewText() for (str in strings) combo.box$appendText(str) combo.box$setActive(FALSE) return(combo.box) } add.row <- function(table, row, size.group, label.text, options) { label <- gtkLabelNewWithMnemonic(label.text) label$setAlignment(0, 1) table$attach(label, 0, 1, row, row + 1, c("expand", "fill"), 0, 0, 0) combo.box <- create.combo.box(options) label$setMnemonicWidget(combo.box) size.group$addWidget(combo.box) table$attach(combo.box, 1, 2, row, row + 1, 0, 0, 0, 0) } toggle.grouping <- function(check.button, size.group) { # GtkSizeGroup["none"] is not generally useful, but is useful # here to show the effect of GtkSizeGroup["horizontal"] by # contrast # if (check.button$getActive()) new.mode <- GtkSizeGroupMode["horizontal"] else new.mode <- GtkSizeGroupMode["none"] size.group$setMode(new.mode) } color.options <- c("Red", "Green", "Blue") dash.options <- c("Solid", "Dashed", "Dotted") end.options <- c("Square", "Round", "Arrow") window <- gtkDialogNewWithButtons("GtkSizeGroup", NULL, 0, "gtk-close", GtkResponseType["none"], show=F) window$setResizable(FALSE) gSignalConnect(window, "response", gtkWidgetDestroy) vbox <- gtkVBoxNew(FALSE, 5) window$getContentArea()$packStart(vbox, TRUE, TRUE, 0) vbox$setBorderWidth(5) size.group <- gtkSizeGroupNew(GtkSizeGroupMode["horizontal"]) # Create one frame holding color options # frame <- gtkFrameNew("Color Options") vbox$packStart(frame, TRUE, TRUE, 0) table <- gtkTableNew(2, 2, FALSE) table$setBorderWidth(5) table$setRowSpacings(5) table$setColSpacings(10) frame$add(table) add.row(table, 0, size.group, "_Foreground", color.options) add.row(table, 1, size.group, "_Background", color.options) # And another frame holding line style options # frame <- gtkFrameNew("Line Options") vbox$packStart(frame, FALSE, FALSE, 0) table <- gtkTableNew(2, 2, FALSE) table$setBorderWidth(5) table$setRowSpacings(5) table$setColSpacings(10) frame$add(table) add.row(table, 0, size.group, "_Dashing", dash.options) add.row(table, 1, size.group, "_Line ends", end.options) # And a check button to turn grouping on and off check.button <- gtkCheckButtonNewWithMnemonic("_Enable grouping") vbox$packStart(check.button, FALSE, FALSE, 0) check.button$setActive(TRUE) gSignalConnect(check.button, "toggled", toggle.grouping, size.group) window$showAll() RGtk2/demo/pangoCairo.R0000644000176000001440000000323711766145227014404 0ustar ripleyusersRADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" draw.text <- function(widget, event, data) { width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] device.radius <- min(width, height) / 2. cr <- gdkCairoCreate(widget[["window"]]) # Center coordinates on the middle of the region we are drawing cr$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) cr$scale(device.radius / RADIUS, device.radius / RADIUS) # Create a PangoLayout, set the font and text layout <- pangoCairoCreateLayout(cr) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) # Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { angle <- (360 * i) / N.WORDS cr$save() # Gradient from red at angle 60 to blue at angle 300 red <- (1 + cos((angle - 60) * pi / 180)) / 2 cr$setSourceRgb(red, 0, 1.0 - red) cr$rotate(angle * pi / 180) # Inform Pango to re-layout the text with the new transformation pangoCairoUpdateLayout(cr, layout) size <- layout$getSize() cr$moveTo(- (size$width / PANGO_SCALE) / 2, - RADIUS) pangoCairoShowLayout(cr, layout) cr$restore() } return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindowNew("toplevel", show = F) window$setTitle("Rotated Text") drawing.area <- gtkDrawingAreaNew() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", draw.text) window$showAll() RGtk2/demo/slide.R0000644000176000001440000002427711766145227013431 0ustar ripleyusers##### PUZZLE CLASS ###### # warning: not yet stable #source("/home/larman/research/RGtk2/RGtk2/demo/slide.R") gClass("Puzzle", "GtkDrawingArea", .props = list( # note the flags parameter is missing (read/write/construct) gParamSpec("integer", "rows", "r", "Number of rows",, 0, 20, 0), gParamSpec("integer", "cols", "c", "Number of columns",, 0, 20, 0) ), .signals = list(list("puzzle_solved", flags = "first")), .private = list( pushBlock = function(self, block, xdelta, ydelta) { x <- round(self$x, 4) y <- round(self$y, 4) if (floor(y[block])-y[block] == 0 && xdelta != 0.0) { xdelta <- max(min(xdelta, .9), -0.9) pushed_x <- which(abs((x[block] + xdelta) - x[-length(x)]) < 1 & abs(y[-length(y)] - y[block]) < 1) pushed_x <- pushed_x[pushed_x != block] if (!length(pushed_x)) { x[block] <- x[block] + xdelta x[block] <- max(min(x[block], self$cols-1), 0) } else { self$pushBlock(pushed_x, xdelta, 0) if (abs(x[block] - x[pushed_x])>1.0001) { if (x[block] < x[pushed_x]) x[block] <- x[pushed_x] - 1 else x[block] <- x[pushed_x] + 1 } } } if (floor(x[block])-x[block] == 0 && ydelta != 0) { ydelta <- max(min(ydelta, .9), -0.9) pushed_y <- which(abs((y[block] + ydelta) - y[-length(y)]) < 1 & abs(x[-length(x)] - x[block]) < 1) pushed_y <- pushed_y[pushed_y != block] if (!length(pushed_y)) { y[block] <- y[block] + ydelta y[block] <- max(min(y[block], self$rows-1), 0) } else { self$pushBlock(pushed_y, 0, ydelta) if (abs(y[block] - y[pushed_y])>1.0001) { if (y[block] < y[pushed_y]) y[block] <- y[pushed_y] - 1 else y[block] <- y[pushed_y] + 1 } } } self$x <- x self$y <- y }, boardInit = function(self) { pos <- sample(1:(self$rows * self$cols)) y <- ceiling(pos/self$rows) x <- pos - ((y - 1) * self$rows) self$y <- matrix(y, ncol = self$cols) self$x <- matrix(x, ncol = self$cols) print(self$x) print(self$y) self$labels <- matrix(c(1:(self$cols*self$rows-1), "-"), ncol = self$cols) self$queueDraw() }, queryPos = function(self, xpos, ypos) { x <- self$x y <- self$y cr <- gdkCairoCreate(self$window) cr$save() cr$scale(self$ratio_x, self$ratio_y) cr$translate(0.5, 0.5) for (item in seq(along = self$x)) { cr$save() cr$rectangleRound(x[item]-1.4, y[item]-1.4, 0.8, 0.8, 0.4) if (cr$inFill(xpos/self$ratio_x-0.5, ypos/self$ratio_y-0.5)) { cr$restore() cr$restore() return(item) } cr$restore() } cr$restore() return(-1) }, boardSolved = function(self) { rows <- seq(length = self$rows) cols <- seq(length = self$cols) all(apply(self$x, 1, "==", cols)) && all(apply(self$y, 2, "==", rows)) }, drawItem = function(self, cr, style, item, grabbed) { x <- self$x y <- self$y aligned <- abs(floor(x[item])-x[item]) < 0.01 && abs(floor(y[item])-y[item]) < 0.01 cr$rectangleRound(x[item]-1.36, y[item]-1.36, 0.8, 0.8, 0.4) cr$setLineWidth(0.07) if (grabbed) gdkCairoSetSourceColor(cr, style$dark[[GtkStateType["normal"]+1]]) else if (aligned) gdkCairoSetSourceColor(cr, style$dark[[GtkStateType["normal"]+1]]) else gdkCairoSetSourceColor(cr, style$dark[[GtkStateType["active"]+1]]) cr$stroke() cr$rectangleRound(x[item]-1.4, y[item]-1.4, 0.8, 0.8, 0.4) cr$save() if (grabbed) gdkCairoSetSourceColor(cr, style$base[[GtkStateType["selected"]+1]]) else gdkCairoSetSourceColor(cr, style$base[[GtkStateType["normal"]+1]]) cr$fill() cr$restore() if (grabbed) gdkCairoSetSourceColor(cr, style$mid[[GtkStateType["selected"]+1]]) else if (aligned) gdkCairoSetSourceColor(cr, style$mid[[GtkStateType["normal"]+1]]) else gdkCairoSetSourceColor(cr, style$dark[[GtkStateType["active"]+1]]) cr$setLineWidth(0.05) cr$stroke() extents <- cr$textExtents(self$labels[item])$extents cr$moveTo(x[item]-1-extents$width/2 - extents$xBearing, y[item] - 1 - extents$height/2 - extents$yBearing) if (grabbed) gdkCairoSetSourceColor(cr, style$text[[GtkStateType["selected"]+1]]) else gdkCairoSetSourceColor(cr, style$text[[GtkStateType["normal"]+1]]) cr$showText(self$labels[item]) }, drawBoard = function(self, cr) { cr$save() cr$selectFontFace("sans", "normal", "normal") cr$setFontSize(0.35) cr$scale(self$ratio_x, self$ratio_y) cr$translate(0.5, 0.5) style <- self$style grabbed <- self$grabbed x <- self$x sapply(seq(along = x[-length(x)]), function(item) self$drawItem(cr, style, item, item == grabbed)) cr$restore() }, # Note that these event callbacks have a 'self' pointer that preceeds # the event handler signature - this is so we can store these as methods # and thus access the private/protected members of 'self' event_press = function(self, wid, bev) { self$cursorx <- bev$x self$cursory <- bev$y if (bev$button == 1) { self$grabbed <- self$queryPos(bev$x, bev$y) # request a redraw, since we've changed the state of our widget self$queueDraw() } return(FALSE) }, event_release = function(self, wid, bev) { if (bev$button == 1) { self$grabbed <- -1 # request a redraw, since we've changed the state of our widget self$queueDraw() } return(FALSE) }, event_motion = function(self, wid, mev) { if (self$grabbed >= 0) { xdelta <- (mev$x-self$cursorx) / self$ratio_x ydelta <- (mev$y-self$cursory) / self$ratio_y self$pushBlock(self$grabbed, xdelta, ydelta) if (self$boardSolved()) gSignalEmit(self, "puzzle-solved") # request a redraw, since we've changed the state of our widget self$queueDraw() self$cursorx <- mev$x self$cursory <- mev$y } return(FALSE) }, paint = function(self, wid, eev) { cr <- gdkCairoCreate(self$window) self$ratio_x <- self$allocation$width/self$cols self$ratio_y <- self$allocation$height/self$rows self$drawBoard(cr) if (cr$status()) stop("Cairo is unhappy: ", cr$status()) # since we are requesting motion hints,. make sure another motion # event is delivered after redrawing the ui self$window$getPointer() return(FALSE) } ), GObject = list( set_property = function(self, id, value, pspec) { assignProp(self, pspec, value) self$boardInit() } ), .initialize = function(self) { self$cursorx <- self$cursory <- 0 self$rows <- 4 self$cols <- 4 self$grabbed <- -1 self$ratio_x <- self$ratio_y <- 1 self$boardInit() self$showAll() self$setEvents(GdkEventMask["exposure-mask"] + GdkEventMask["pointer-motion-hint-mask"] + GdkEventMask["button1-motion-mask"] + GdkEventMask["button2-motion-mask"] + GdkEventMask["button3-motion-mask"] + GdkEventMask["button-press-mask"] + GdkEventMask["button-release-mask"]) self$setSizeRequest(256, 256) gSignalConnect(self, "expose-event", self$paint) gSignalConnect(self, "motion-notify-event", self$event_motion) gSignalConnect(self, "button-press-event", self$event_press) gSignalConnect(self, "button-release-event", self$event_release) }) #### END PUZZLE CLASS, BEGIN APPLICATION CODE #### INITIAL_WIDTH <- 200 INITIAL_HEIGHT <- 210 puzzle <- NULL puzzle_window <- NULL rows <- 3 cols <- 3 puzzle_window_new <- function() { self <- gtkWindow("toplevel") self$setTitle("Sliding Gtk Puzzle") vbox <- gtkVBox(FALSE, 0) vbox$setBorderWidth(0) puzzle <<- gObject("Puzzle", rows = rows, cols = cols) puzzle$setSizeRequest(INITIAL_WIDTH, INITIAL_HEIGHT) gSignalConnect(puzzle, "puzzle-solved", puzzle_solved) vbox$add(puzzle) self$add(vbox) vbox$showAll() return(self) } puzzle_solved <- function(widget) { parent <- widget$getTopLevel() dialog <- gtkDialog("GtkSlide - solved", parent, "modal", GTK_STOCK_OK, GtkResponseType["accept"]) label <- gtkLabel("You solved the puzzle!") label$setPadding(20, 20) label$show() dialog$vbox$add(label) dialog$show() dialog$run() } ##### UTILITY FOR DRAWING ROUNDED RECTANGLES WITH CAIRO ##### cairoRectangleRound <- function(cr, x0, y0, width, height, radius) { x1 <- x0 + width y1 <- y0 + height if (!width || !height) return() if (width/2area, this will do nothing. # It might be mildly more efficient if we handled # the clipping ourselves, but again we're feeling lazy. # cr$rectangle(i, j, CHECK.SIZE, CHECK.SIZE) cr$fill() j <- j + CHECK.SIZE + SPACING ycount <- ycount + 1 } i <- i + CHECK.SIZE + SPACING xcount <- xcount + 1 } # return TRUE because we've handled this event, so no # further processing is performed # return(TRUE) } window <- gtkWindowNew("toplevel", show=F) window$setTitle("Drawing Area") window$setBorderWidth(8) vbox <- gtkVBoxNew(FALSE, 8) vbox$setBorderWidth(8) window$add(vbox) # # Create the checkerboard area # label <- gtkLabelNew() label$setMarkup("Checkerboard pattern") vbox$packStart(label, FALSE, FALSE, 0) frame <- gtkFrameNew() frame$setShadowType("in") vbox$packStart(frame, TRUE, TRUE, 0) da <- gtkDrawingAreaNew(show=F) # set a minimum size da$setSizeRequest(100, 100) frame$add(da) gSignalConnect(da, "expose_event", checkerboard.expose) # # Create the scribble area # label <- gtkLabelNew() label$setMarkup("Scribble area") vbox$packStart(label, FALSE, FALSE, 0) frame <- gtkFrameNew() frame$setShadowType("in") vbox$packStart(frame, TRUE, TRUE, 0) da <- gtkDrawingAreaNew() # set a minimum size da$setSizeRequest(100, 100) frame$add(da) # Signals used to handle backing pixmap gSignalConnect(da, "expose_event", scribble.expose.event) gSignalConnect(da, "configure_event", scribble.configure.event) # Event signals gSignalConnect(da, "motion_notify_event", scribble.motion.notify.event) gSignalConnect(da, "button_press_event", scribble.button.press.event) # Ask to receive events the drawing area doesn't normally # subscribe to # # we have to do this numerically, because the function takes gint, not GdkEventMask da$setEvents(da$getEvents() + GdkEventMask["button-press-mask"] + GdkEventMask["pointer-motion-mask"] + GdkEventMask["pointer-motion-hint-mask"]) window$showAll() RGtk2/demo/treeStore.R0000644000176000001440000002350411766145227014275 0ustar ripleyusers# source("/home/larman/research/RGtk/inst/demo/treeStore.R") # columns COLUMN <- c(holiday.name = 0, alex = 1, havoc = 2, tim = 3, owen = 4, dave = 5, visible = 6, world = 7) nameTreeItem <- function(item) { names(item) <- c("label", "alex", "havoc", "tim", "owen", "dave", "world.holiday", "children") item } # tree data january <- lapply(list( list("New Years Day", TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, NULL), list("Presidential Inauguration", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL), list("Martin Luther King Jr. day", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL) ), nameTreeItem) february <- lapply(list( list("Presidents' Day", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL), list("Groundhog Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Valentine's Day", FALSE, FALSE, FALSE, FALSE, TRUE, TRUE, NULL) ), nameTreeItem) march <- lapply(list( list("National Tree Planting Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("St Patrick's Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL) ), nameTreeItem) april <- lapply(list( list("April Fools' Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL), list("Army Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Earth Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL), list("Administrative Professionals' Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL) ), nameTreeItem) may <- lapply(list( list("Nurses' Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("National Day of Prayer", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Mothers' Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL ), list("Armed Forces Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Memorial Day", TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, NULL) ), nameTreeItem) june <- lapply(list( list("June Fathers' Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL), list("Juneteenth (Liberation of Slaves)", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Flag Day", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL) ), nameTreeItem) july <- lapply(list( list("Parents' Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL), list("Independence Day", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL) ), nameTreeItem) august <- lapply(list( list("Air Force Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Coast Guard Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Friendship Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL) ), nameTreeItem) september <- lapply(list( list("Grandparents' Day", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL), list("Citizenship Day or Constitution Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Labor Day", TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, NULL) ), nameTreeItem) october <- lapply(list( list("National Children's Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Bosses' Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Sweetest Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Mother-in-Law's Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Navy Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Columbus Day", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL), list("Halloween", FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, NULL) ), nameTreeItem) november <- lapply(list( list("Marine Corps Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Veterans' Day", TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, NULL), list("Thanksgiving", FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, NULL) ), nameTreeItem) december <- lapply(list( list("Pearl Harbor Remembrance Day", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL), list("Christmas", TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, NULL), list("Kwanzaa", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, NULL) ), nameTreeItem) toplevel <- lapply(list( list("January", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, january), list("February", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, february), list("March", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, march), list("April", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, april), list("May", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, may), list("June", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, june), list("July", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, july), list("August", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, august), list("September", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, september), list("October", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, october), list("November", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, november), list("December", FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, december) ), nameTreeItem) create.model <- function() { # create tree store model <- gtkTreeStoreNew("gchararray", "gboolean", "gboolean", "gboolean", "gboolean", "gboolean", "gboolean", "gboolean") month <- toplevel # add data to the tree store sapply(toplevel, function(month) { holidays <- month$children iter <- model$append(NULL)$iter model$set(iter, COLUMN["holiday.name"], month$label, COLUMN["alex"], FALSE, COLUMN["havoc"], FALSE, COLUMN["tim"], FALSE, COLUMN["owen"], FALSE, COLUMN["dave"], FALSE, COLUMN["visible"], FALSE, COLUMN["world"], FALSE) # add children sapply(holidays, function(holiday) { child.iter <- model$append(iter)$iter model$set(child.iter, COLUMN["holiday.name"], holiday$label, COLUMN["alex"], holiday$alex, COLUMN["havoc"], holiday$havoc, COLUMN["tim"], holiday$tim, COLUMN["owen"], holiday$owen, COLUMN["dave"], holiday$dave, COLUMN["visible"], TRUE, COLUMN["world"], holiday$world.holiday) }) }) return(model) } item.toggled <- function(cell, path.str, data) { checkPtrType(data, "GtkTreeModel") model <- data path <- gtkTreePathNewFromString(path.str) column <- cell$getData("column") # get toggled iter iter <- model$getIter(path)$iter toggle.item <- model$get(iter, column)[[1]] # do something with the value toggle.item <- !toggle.item # set new value model$set(iter, column, toggle.item) } add.columns <- function(treeview) { model <- gtkTreeViewGetModel(treeview) # column for holiday names renderer <- gtkCellRendererTextNew() renderer$set(xalign = 0.0) col.offset <- treeview$insertColumnWithAttributes(-1, "Holiday", renderer, text = COLUMN[["holiday.name"]]) column <- treeview$getColumn(col.offset - 1) column$setClickable(TRUE) # alex column renderer <- gtkCellRendererToggleNew() renderer$set(xalign = 0.0) renderer$setData("column", COLUMN["alex"]) gSignalConnect(renderer, "toggled", item.toggled, model) col.offset <- treeview$insertColumnWithAttributes(-1, "Alex", renderer, active = COLUMN[["alex"]], visible = COLUMN[["visible"]], activatable = COLUMN[["world"]]) column <- treeview$getColumn(col.offset - 1) column$setSizing("fixed") column$setFixedWidth(50) column$setClickable(TRUE) # havoc column renderer <- gtkCellRendererToggleNew() renderer$set(xalign = 0.0) renderer$setData("column", COLUMN["havoc"]) gSignalConnect(renderer, "toggled", item.toggled, model) col.offset <- treeview$insertColumnWithAttributes(-1, "Havoc", renderer, active = COLUMN[["havoc"]], visible = COLUMN[["visible"]], activatable = COLUMN[["world"]]) column <- treeview$getColumn(col.offset - 1) column$setSizing("fixed") column$setFixedWidth(50) column$setClickable(TRUE) # tim column renderer <- gtkCellRendererToggleNew() renderer$set(xalign = 0.0) renderer$setData("column", COLUMN["tim"]) gSignalConnect(renderer, "toggled", item.toggled, model) col.offset <- treeview$insertColumnWithAttributes(-1, "Tim", renderer, active = COLUMN[["tim"]], visible = COLUMN[["visible"]], activatable = COLUMN[["world"]]) column <- treeview$getColumn(col.offset - 1) column$setSizing("fixed") column$setFixedWidth(50) column$setClickable(TRUE) # owen column renderer <- gtkCellRendererToggleNew() renderer$set(xalign = 0.0) renderer$setData("column", COLUMN["owen"]) gSignalConnect(renderer, "toggled", item.toggled, model) col.offset <- treeview$insertColumnWithAttributes(-1, "Owen", renderer, active = COLUMN[["owen"]], visible = COLUMN[["visible"]], activatable = COLUMN[["world"]]) column <- treeview$getColumn(col.offset - 1) column$setSizing("fixed") column$setFixedWidth(50) column$setClickable(TRUE) # dave column renderer <- gtkCellRendererToggleNew() renderer$set(xalign = 0.0) renderer$setData("column", COLUMN["dave"]) gSignalConnect(renderer, "toggled", item.toggled, model) col.offset <- treeview$insertColumnWithAttributes(-1, "Dave", renderer, active = COLUMN[["dave"]], visible = COLUMN[["visible"]], activatable = COLUMN[["world"]]) column <- treeview$getColumn(col.offset - 1) column$setSizing("fixed") column$setFixedWidth(50) column$setClickable(TRUE) } # create window, etc window <- gtkWindowNew("toplevel", show = F) window$setTitle("Card planning sheet") vbox <- gtkVBoxNew(FALSE, 8) vbox$setBorderWidth(8) window$add(vbox) vbox$packStart(gtkLabelNew("Jonathan's Holiday Card Planning Sheet"), FALSE, FALSE, 0) sw <- gtkScrolledWindowNew(NULL, NULL) sw$setShadowType("etched-in") sw$setPolicy("automatic", "automatic") vbox$packStart(sw, TRUE, TRUE, 0) # create model model <- create.model() # create tree view treeview <- gtkTreeViewNewWithModel(model) treeview$setRulesHint(TRUE) treeview$getSelection()$setMode("multiple") add.columns(treeview) sw$add(treeview) # expand all rows after the treeview widget has been realized gSignalConnect(treeview, "realize", gtkTreeViewExpandAll) window$setDefaultSize(650, 400) window$showAll() RGtk2/demo/entryCompletion.R0000644000176000001440000000252211766145227015511 0ustar ripleyuserswindow <- NULL # Creates a tree model containing the completions create.completion.model <- function() { store <- gtkListStoreNew("gchararray") # Append one word store$set(store$append()$iter, 0, "GNOME") # Append another word store$set(store$append()$iter, 0, "Duncan") # And another word store$set(store$append()$iter, 0, "Dunkirk") return(store) } window <- gtkDialogNewWithButtons("GtkEntryCompletion", NULL, 0, "gtk-close", GtkResponseType["none"], show = F) window$setResizable(FALSE) gSignalConnect(window, "response", gtkWidgetDestroy) vbox <- gtkVBoxNew(FALSE, 5) window$getContentArea()$packStart(vbox, TRUE, TRUE, 0) vbox$setBorderWidth(5) label <- gtkLabelNew() label$setMarkup("Completion demo, try writing duncan or gnome for example.") vbox$packStart(label, FALSE, FALSE, 0) # create entry entry <- gtkEntryNew() vbox$packStart(entry, FALSE, FALSE, 0) # Create the completion object completion <- gtkEntryCompletionNew() # Assign the completion to the entry entry$setCompletion(completion) # Create a tree model and use it as the completion model completion.model <- create.completion.model() completion$setModel(completion.model) # Use model column 0 as the text column completion$setTextColumn(0) window$showAll() RGtk2/demo/rgtkplot.R0000644000176000001440000000056311766145227014167 0ustar ripleyusersrequire(cairoDevice) win <- gtkWindow(show = F) da <- gtkDrawingArea() asCairoDevice(da) scale_cb <- function(range) { plot(1:20,(1:20)^range$getValue()) } s <- gtkHScale(,0.05, 2.00, 0.05) gSignalConnect(s, "value-changed", scale_cb) vbox <- gtkVBox() vbox$packStart(da) vbox$packStart(s, FALSE) win$add(vbox) win$setDefaultSize(400,400) win$showAll() s$setValue(1.00) RGtk2/demo/iconView.R0000644000176000001440000001156211766145227014105 0ustar ripleyuserswindow <- NULL FOLDER.NAME <- imagefile("gnome-fs-directory.png") FILE.NAME <- imagefile("gnome-fs-regular.png") file.pixbuf <- NULL folder.pixbuf <- NULL parent <- NULL up.button <- NULL iv <- c( path = 0, display.name = 1, pixbuf = 2, is.directory = 3, num = 4 ) # Loads the images for the demo and returns whether the operation succeeded load.pixbufs <- function() { if (!is.null(file.pixbuf)) return() # already loaded earlier filename <- FILE.NAME if (!file.exists(filename)) stop("File pixbuf does not exist") file.pixbuf.ret <- gdkPixbufNewFromFile(filename, .errwarn = F) file.pixbuf <<- file.pixbuf.ret[[1]] if (is.null(file.pixbuf)) stop(file.pixbuf.ret$error["message"]) filename <- FOLDER.NAME if (!file.exists(filename)) stop("Folder pixbuf does not exist") folder.pixbuf <<- gdkPixbufNewFromFile(filename)[[1]] } fill.store <- function(store) { # First clear the store store$clear() # Now go through the directory and extract all the file # information - hidden files are ignored sapply(dir(parent, full.names=T), function(path) { name <- basename(path) is.dir <- file.info(path)$isdir pixbuf <- file.pixbuf if (is.dir) pixbuf <- folder.pixbuf store$set(store$append()$iter, iv["path"], path, iv["display.name"], name, iv["is.directory"], is.dir, iv["pixbuf"], pixbuf) }) } sort.func <- function(model, a, b, user.data) { # We need this function because we want to sort # folders before files. # item.a <- model$get(a, iv["is.directory"], iv["display.name"]) item.b <- model$get(b, iv["is.directory"], iv["display.name"]) if (!item.a[[1]] && item.b[[1]]) ret <- 1 else if (item.a[[1]] && !item.b[[1]]) ret <- -1 else if ((!is.null(item.a[[2]]) && !is.null(item.b[[2]])) && item.a[[2]] < item.b[[2]]) ret <- -1 else ret <- 1 return(as.integer(ret)) } create.store <- function() { store <- gtkListStoreNew("gchararray", "gchararray", "GdkPixbuf", "gboolean") # Set sort column and function store$setDefaultSortFunc(sort.func) store$setSortColumnId(-1, GtkSortType["ascending"]) return(store) } item.activated <- function(icon.view, tree.path, user.data) { checkPtrType(user.data, "GtkListStore") iter <- store$getIter(tree.path)$iter item <- store$get(iter, iv["path"], iv["is.directory"]) if (!item[[2]]) # can't do anything with plain files return() # Replace parent with path and re-fill the model parent <<- item[[1]] fill.store(store) # Sensitize the up button up.button$setSensitive(TRUE) } up.clicked <- function(item, user.data) { checkPtrType(user.data, "GtkListStore") parent <<- dirname(parent) fill.store(store) # Maybe de-sensitize the up button up.button$setSensitive(parent != "/") } home.clicked <- function(item, user.data) { checkPtrType(user.data, "GtkListStore") parent <<- path.expand("~") fill.store(store) # Sensitize the up button up.button$setSensitive(TRUE) } window <- gtkWindowNew("toplevel", show=F) window$setDefaultSize(650, 400) window$setTitle("GtkIconView demo") error <- try(load.pixbufs()) if (inherits(error, "try-error")) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failed to load an image:", error) gSignalConnect(dialog, "response", gtkWidgetDestroy) dialog$show() } else { vbox <- gtkVBoxNew(FALSE, 0) window$add(vbox) tool.bar <- gtkToolbarNew() vbox$packStart(tool.bar, FALSE, FALSE, 0) up.button <- gtkToolButtonNewFromStock("gtk-go-up") up.button$setIsImportant(TRUE) up.button$setSensitive(FALSE) tool.bar$insert(up.button, -1) # append home.button <- gtkToolButtonNewFromStock("gtk-home") home.button$setIsImportant(TRUE) tool.bar$insert(home.button, -1) sw <- gtkScrolledWindowNew() sw$setShadowType("etched-in") sw$setPolicy("automatic", "automatic") vbox$packStart(sw, TRUE, TRUE, 0) # Create the store and fill it with the contents of '/' parent <- "/" store <- create.store() fill.store(store) icon.view <- gtkIconViewNewWithModel(store) icon.view$setSelectionMode("multiple") # Connect to the "clicked" signal of the "Up" tool button gSignalConnect(up.button, "clicked", up.clicked, store) # Connect to the "clicked" signal of the "Home" tool button gSignalConnect(home.button, "clicked", home.clicked, store) # We now set which model columns that correspont to the text # and pixbuf of each item # icon.view$setTextColumn(iv["display.name"]) icon.view$setPixbufColumn(iv["pixbuf"]) # Connect to the "item.activated" signal gSignalConnect(icon.view, "item_activated", item.activated, store) sw$add(icon.view) icon.view$grabFocus() } window$showAll() RGtk2/demo/alphaSlider.R0000644000176000001440000000135211766145227014546 0ustar ripleyusersrequire(RGtk2) # generate some fake microarray-ish data n <- 5000 backbone <- rnorm(n) ma_data <- cbind(backbone, backbone+rnorm(n,,0.3)) win <- gtkWindow(show = F) da <- gtkDrawingArea() scale_cb <- function(range) plot(ma_data, col = rgb(0,0,0,(range$getValue())), xlab = "Replicate 1", ylab = "Replicate 2", main = "Expression levels of WT at time 0", pch = 19) format_cb <- function(range, value) as.character(value) s <- gtkHScale(,0.15, 1.00, 0.05) gSignalConnect(s, "value-changed", scale_cb) gSignalConnect(s, "format-value", format_cb) vbox <- gtkVBox() vbox$packStart(da) vbox$packStart(s, FALSE) win$add(vbox) win$setDefaultSize(400,400) win$showAll() require(cairoDevice) asCairoDevice(da) par(pty = "s") s$setValue(0.7) RGtk2/demo/pixbufs.R0000644000176000001440000001010311766145227013770 0ustar ripleyusers# source("~/research/RGtk/inst/demo/pixbufs.R") FRAME.DELAY <- 50 BACKGROUND.NAME <- "background.jpg" image.names <- c( "apple-red.png", "gnome-applets.png", "gnome-calendar.png", "gnome-foot.png", "gnome-gmush.png", "gnome-gimp.png", "gnome-gsame.png", "gnu-keys.png" ) N.IMAGES <- length(image.names) # demo window window <- NULL # Current frame frame <- NULL # Background image background <- NULL back.width <- NULL back.height <- NULL # Images images <- list(N.IMAGES) # Widgets da <- NULL # Loads the images for the demo, throwing an error if there's a problem load.pixbufs <- function() { if (!is.null(background)) return() # already loaded earlier filename <- imagefile(BACKGROUND.NAME) if (!file.exists(filename)) stop("Could not find background image file:", filename) background.result <- gdkPixbufNewFromFile(filename) if (is.null(background.result[[1]])) stop("Could not load background image:", background.result$error$message) background <<- background.result[[1]] back.width <<- background$getWidth() back.height <<- background$getHeight() for (i in 1:N.IMAGES) { filename <- imagefile(image.names[i]) if (!file.exists(filename)) stop("Could not find image file:", image.names[i]) image.result <- gdkPixbufNewFromFile(filename) if (is.null(image.result[[1]])) stop("Could not load image", image.names[i], ":", image.result$error$message) images[[i]] <<- image.result[[1]] } return() } # Expose callback for the drawing area expose.cb <- function(widget, event, data) { #rowstride <- frame$getRowstride() #pixels <- frame$getPixels() # get the image data that was exposed #pixels <- pixels[(rowstride * event[["area"]][["y"]] + event[["area"]][["x"]] * 3):length(pixels)] cr <- gdkCairoCreate(widget[["window"]]) gdkCairoSetSourcePixbuf(cr, frame, 0, 0) gdkCairoRectangle(cr, event[["area"]]) cr$fill() return(TRUE) } CYCLE.LEN <- 60 frame.num <- 0 # Timeout handler to regenerate the frame timeout <- function(data) { background$copyArea(0, 0, back.width, back.height, frame, 0, 0) f <- (frame.num %% CYCLE.LEN) / CYCLE.LEN xmid <- back.width / 2 ymid <- back.height / 2 radius <- min(xmid, ymid) / 2 for (i in 1:N.IMAGES) { ang <- 2 * pi * i / N.IMAGES - f * 2 * pi iw <- images[[i]]$getWidth() ih <- images[[i]]$getHeight() r <- radius + (radius / 3) * sin(f * 2.0 * pi) xpos <- floor(xmid + r * cos(ang) - iw / 2 + 0.5) ypos <- floor(ymid + r * sin(ang) - ih / 2 + 0.5) k <- sin(f * 2.0 * pi) alpha <- max(127, abs(255 * sin(f * 2.0 * pi))) if (i %% 2 == 0) { k <- cos(f * 2.0 * pi) alpha <- max(127, abs(255 * cos(f * 2.0 * pi))) } k <- 2.0 * k * k k <- max(0.25, k) r1 <- c(xpos, ypos, iw * k, ih * k) r2 <- c(0, 0, back.width, back.height) inter <- gdkRectangleIntersect(r1, r2) if (inter[[1]]) { dest <- inter$dest images[[i]]$composite(frame, dest$x, dest$y, dest$width, dest$height, xpos, ypos, k, k, "nearest", alpha) } } da$queueDraw() frame.num <<- frame.num + 1 return(TRUE) } timeout.id <- NULL cleanup.callback <- function(object, data) { gSourceRemove(timeout.id) timeout.id <<- NULL } window <- gtkWindowNew("toplevel", show = F) window$setTitle("Pixbufs") window$setResizable(FALSE) gSignalConnect(window, "destroy", cleanup.callback) error <- try(load.pixbufs()) if (inherits(error, "try-error")) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Problem loading images:", error) gSignalConnect(dialog, "response", gtkWidgetDestroy) } else { window$setSizeRequest(back.width, back.height) frame <- gdkPixbufNew("rgb", FALSE, 8, back.width, back.height) da <- gtkDrawingAreaNew() gSignalConnect(da, "expose_event", expose.cb) window$add(da) timeout.id <- gTimeoutAdd(FRAME.DELAY, timeout) window$showAll() print("TIP: Hold down the spacebar for the objects to move") } RGtk2/demo/messageDialog.R0000644000176000001440000000575511766145227015075 0ustar ripleyuserswindow <- NULL entry1 <- NULL entry2 <- NULL i <- 1 message.dialog.clicked <- function(button, user.data) { dialog <- gtkMessageDialogNew(window, c("modal", "destroy-with-parent"), "info", "ok", "This message box has been popped up the following\n", "number of times:") dialog$formatSecondaryText(i) dialog$run() dialog$destroy() i <<- i + 1 } interactive.dialog.clicked <- function(button, user.data) { dialog <- gtkDialogNewWithButtons("Interactive Dialog", window, "modal", "gtk-ok", GtkResponseType["ok"], "_Non-stock Button", GtkResponseType["cancel"]) hbox <- gtkHBoxNew(FALSE, 8) hbox$setBorderWidth(8) dialog$getContentArea()$packStart(hbox, FALSE, FALSE, 0) stock <- gtkImageNewFromStock("gtk-dialog-question", "dialog") hbox$packStart(stock, FALSE, FALSE, 0) table <- gtkTableNew(2, 2, FALSE) table$setRowSpacings(4) table$setColSpacings(4) hbox$packStart(table, TRUE, TRUE, 0) label <- gtkLabelNewWithMnemonic("_Entry 1") table$attachDefaults(label, 0, 1, 0, 1) local.entry1 <- gtkEntryNew() local.entry1$setText(entry1$getText()) table$attachDefaults(local.entry1, 1, 2, 0, 1) label$setMnemonicWidget(local.entry1) label <- gtkLabelNewWithMnemonic("E_ntry 2") table$attachDefaults(label, 0, 1, 1, 2) local.entry2 <- gtkEntryNew() local.entry2$setText(entry2$getText()) table$attachDefaults(local.entry2, 1, 2, 1, 2) label$setMnemonicWidget(local.entry2) gtkWidgetShowAll(hbox) response <- dialog$run() if (response == GtkResponseType["ok"]) { entry1$setText(local.entry1$getText()) entry2$setText(local.entry2$getText()) } dialog$destroy() } window <- gtkWindowNew("toplevel") window$setBorderWidth(8) frame <- gtkFrameNew("Dialogs") window$add(frame) vbox <- gtkVBoxNew(FALSE, 8) vbox$setBorderWidth(8) frame$add(vbox) # Standard message dialog hbox <- gtkHBoxNew(FALSE, 8) vbox$packStart(hbox, FALSE, FALSE, 0) button <- gtkButtonNewWithMnemonic("_Message Dialog") gSignalConnect(button, "clicked", message.dialog.clicked) hbox$packStart(button, FALSE, FALSE, 0) vbox$packStart(gtkHSeparatorNew(), FALSE, FALSE, 0) # Interactive dialog hbox <- gtkHBoxNew(FALSE, 8) vbox$packStart(hbox, FALSE, FALSE, 0) vbox2 <- gtkVBoxNew(FALSE, 0) button <- gtkButtonNewWithMnemonic("_Interactive Dialog") gSignalConnect(button, "clicked", interactive.dialog.clicked) hbox$packStart(vbox2, FALSE, FALSE, 0) vbox2$packStart(button, FALSE, FALSE, 0) table <- gtkTableNew(2, 2, FALSE) table$setRowSpacings(4) table$setColSpacings(4) hbox$packStart(table, FALSE, FALSE, 0) label <- gtkLabelNewWithMnemonic("_Entry 1") table$attachDefaults(label, 0, 1, 0, 1) entry1 <- gtkEntryNew() table$attachDefaults(entry1, 1, 2, 0, 1) label$setMnemonicWidget(entry1) label <- gtkLabelNewWithMnemonic("E_ntry 2") table$attachDefaults(label, 0, 1, 1, 2) entry2 <- gtkEntryNew() table$attachDefaults(entry2, 1, 2, 1, 2) label$setMnemonicWidget(entry2) window$showAll() RGtk2/demo/appWindow.R0000644000176000001440000001776311766145227014303 0ustar ripleyusers# appWindow demo from GTK window <- NULL # define some callbacks activate.radio.action <- function(action, current) { name <- action$getName() typename <- class(action)[1] value <- current$getCurrentValue() if (current$getActive()) { text <- sprintf("You activated radio action: \"%s\" of type \"%s\".\nCurrent value: %d", name, typename, value) messagelabel$setText(text) infobar$setMessageType(value) infobar$show() } } activate.action <- function(action, w) { name <- action$getName() typename <- class(action)[1] # parent, dialog mode, message type, buttons, message dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "info", "close", "You activated action:", name, "of type", typename) gSignalConnect(dialog, "response", gtkWidgetDestroy) } activate.email <- function(about, link, data) { print(paste("send mail to", link)) } activate.url <- function(about, link, data) { print(paste("show url", link)) } about.cb <- function(action, window) { filename <- imagefile("rgtk-logo.gif") if (file.exists(filename)) { pixbuf <- gdkPixbufNewFromFile(filename)[[1]] # make white space transparent transparent <- pixbuf$addAlpha(TRUE, 253, 253, 253) } gtkAboutDialogSetEmailHook(activate.email) gtkAboutDialogSetUrlHook(activate.url) gtkShowAboutDialog(window, program_name="RGtk Example", version="2.0", copyright="(C) M. Lawrence and D. Temple Lang", license="GPL", website="http://www.omegahat.org/RGtk", comments="An example of RGtk2", authors=c("Michael ", "Duncan"), documenters="See authors", logo=transparent) } update.statusbar <- function(buffer, statusbar) { statusbar$pop(0) count <- buffer$getCharCount() # get an "iter" describing the position of the cursor mark <- buffer$getInsert() iter <- buffer$getIterAtMark(mark)$iter row <- iter$getLine() col <- iter$getLineOffset() msg <- paste("Cursor at row", row, "column", col, "-", count, "chars in document") statusbar$push(0, msg) } mark.set.callback <- function(buffer, new.location, mark, data) { update.statusbar(buffer, data) } update.resize.grip <- function(widget, event, statusbar) { max_full_mask <- GdkWindowState["maximized"] | GdkWindowState["fullscreen"] if (event[["changedMask"]] & max_full_mask) { statusbar$setHasResizeGrip(!(event[["newWindowState"]] & max_full_mask)) } return(FALSE) } registered <- FALSE register.stock.icons <- function() { if (registered) return item <- list(c("rgtk-logo", "_RGtk!", 0, 0, NULL)) gtkStockAdd(item) # register as stock # now we also have to add it to an icon factory factory <- gtkIconFactoryNew() # make our own factory gtkIconFactoryAddDefault(factory) # make it a default factory filename <- imagefile("rgtk-logo.gif") if (file.exists(filename)) { pixbuf <- gdkPixbufNewFromFile(filename)[[1]] # make white space transparent transparent <- pixbuf$addAlpha(TRUE, 255, 255, 255) # make an icon from the image and add it to factory using stock id icon.set <- gtkIconSetNewFromPixbuf(transparent) factory$add("rgtk-logo", icon.set) } else warning("Could not load the RGtk logo") registered = TRUE } # create the actions entries <- list( # name, stock.id (prefab icons), label (. signifies mneumonic) list("FileMenu", NULL, "_File"), list("PreferencesMenu", NULL, "_Preferences"), list("ColorMenu", NULL, "_Color"), list("ShapeMenu", NULL, "_Shape"), list("HelpMenu", NULL, "_Help"), # accelerator (kb shortcut), tooltip, callback list("New", "gtk-new", "_New", "N", "Create a new file", activate.action), list("Open", "gtk-open", "_Open", "O", "Open a file", activate.action), list("Save", "gtk-save", "_Save", "S", "Save current file", activate.action), list("SaveAs", "gtk-save", "Save _As...", NULL, "Save to a file", activate.action), list("Quit", "gtk-quit", "_Quit", "Q", "Quit", activate.action), list("About", NULL, "_About", "A", "About", about.cb), list("Logo", "rgtk-logo", NULL, NULL, "RGtk", activate.action) ) # create radio actions for choosing a color and a shape color.entries <- list( list("Red", NULL, "_Red", "R", "Blood", 0), # value list("Green", NULL, "_Green", "G", "Grass", 1), list("Blue", NULL, "_Blue", "B", "Sky", 2) ) shape.entries <- list( list("Square", NULL, "_Square", "S", "Square", 0), list("Rectangle", NULL, "_Rectangle", "R", "Rectangle", 1), list("Oval", NULL, "_Oval", "O", "Egg", 2) ) # create some toggle (on/off) actions toggle.entries <- list(c("Bold", "gtk-bold", "_Bold", "B", "Bold", activate.action, TRUE)) # active? # add the RGtk logo to themeable icons register.stock.icons() # create a window window <- gtkWindowNew("toplevel") window$setDefaultSize(200, 200) window$setTitle("RGtk is in business") # add a table layout table <- gtkTableNew(1, 5, FALSE) window$add(table) agroup <- gtkActionGroupNew("AppWindowActions") # add actions to group with the window widget passed to callbacks agroup$addActions(entries, window) agroup$addToggleActions(toggle.entries) agroup$addRadioActions(color.entries, 0, activate.radio.action) agroup$addRadioActions(shape.entries, 0, activate.radio.action) # create a UI manager to read in menus specified in XML manager <- gtkUIManagerNew() window$setData("ui-manager", manager) manager$insertActionGroup(agroup, 0) window$addAccelGroup(manager$getAccelGroup()) # Define some XML uistr <- paste( "", " ", "

", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "", sep="\n") manager$addUiFromString(uistr) menubar <- manager$getWidget("/MenuBar") menubar$show() # location, layout behavior, padding table$attach(menubar, 0, 1, 0, 1, yoptions = 0) bar <- manager$getWidget("/ToolBar") bar$show() table$attach(bar, 0, 1, 1, 2, yoptions = 0) infobar <- gtkInfoBar() infobar$setNoShowAll(TRUE) messagelabel <- gtkLabel("") infobar$getContentArea()$packStart(messagelabel) infobar$addButton("gtk-ok", GtkResponseType["ok"]) gSignalConnect(infobar, "response", gtkWidgetHide) table$attach(infobar, 0, 1, 2, 3, yoptions = 0) # now let the user put some text in the scrolling window scrolled.window <- gtkScrolledWindow() scrolled.window$setPolicy("automatic", "automatic") scrolled.window$setShadowType("in") table$attach(scrolled.window, 0, 1, 3, 4) contents <- gtkTextViewNew() contents$grabFocus() scrolled.window$add(contents) # how about a cool status bar? statusbar <- gtkStatusbarNew() # squeeze it in at the bottom table$attach(statusbar, 0, 1, 4, 5, yoptions = 0) buffer <- contents$getBuffer() # statusbar listens to buffer gSignalConnect(buffer, "changed", update.statusbar, statusbar) gSignalConnect(buffer, "mark_set", mark.set.callback, statusbar) # link resize grip to window state gSignalConnect(window, "window_state_event", update.resize.grip, statusbar) update.statusbar(buffer, statusbar) RGtk2/demo/printing.R0000644000176000001440000000567111766145227014160 0ustar ripleyusers## A simple demo of rendering a document and printing it with RGtk2 # In points HEADER_HEIGHT <- (10*72/25.4) HEADER_GAP <- (3*72/25.4) begin_print <- function(operation, context, user_data) { data <- operation$getData("print_data") height <- context$getHeight() - HEADER_HEIGHT - HEADER_GAP data$lines_per_page <- floor(height / data$font_size) data$lines <- readLines(data$filename) data$num_pages = round((length(data$lines) - 1) / data$lines_per_page) operation$setNPages(data$num_pages) operation$setData("print_data", data) } draw_page <- function(operation, context, page_nr, user_data) { data <- operation$getData("print_data") cr <- context$getCairoContext() width <- context$getWidth() # shade / outline header using cairo cr$rectangle(0, 0, width, HEADER_HEIGHT) cr$setSourceRgb(0.8, 0.8, 0.8) cr$fillPreserve() cr$setSourceRgb(0, 0, 0) cr$setLineWidth(1) cr$stroke() # set up pango layout layout <- context$createPangoLayout() desc <- pangoFontDescriptionFromString("sans 14") layout$setFontDescription(desc) # write file name at top of page layout$setText(basename(data$filename)) layout$setWidth(width) layout$setAlignment("center") layout_height <- layout$getSize()$height text_height <- layout_height / PANGO_SCALE cr$moveTo(width / 2, (HEADER_HEIGHT - text_height) / 2) pangoCairoShowLayout(cr, layout) # write page at top right page_str <- paste(page_nr + 1, "/", data$num_pages, sep="") layout$setText(page_str) layout$setAlignment("right") cr$moveTo(width - 2, (HEADER_HEIGHT - text_height) / 2) pangoCairoShowLayout(cr, layout) # prepare to write text in different font / size layout <- context$createPangoLayout() desc <- pangoFontDescriptionFromString("monospace") desc$setSize(data$font_size * PANGO_SCALE) layout$setFontDescription(desc) # write text cr$moveTo(0, HEADER_HEIGHT + HEADER_GAP) first <- page_nr * data$lines_per_page sapply(data$lines[first:(first + data$lines_per_page - 1)], function(line) { if (is.na(line)) return() layout$setText(line) pangoCairoShowLayout(cr, layout) cr$relMoveTo(0, data$font_size) }) } operation <- gtkPrintOperation() data <- list() data$filename <- file.path(installed.packages()["RGtk2", "LibPath"], "RGtk2", "demo", "printing.R") data$font_size <- 12.0 operation$setData("print_data", data) gSignalConnect(operation, "begin-print", begin_print) gSignalConnect(operation, "draw-page", draw_page) operation$setUseFullPage(FALSE) operation$setUnit("points") operation$setEmbedPageSetup(TRUE) settings <- gtkPrintSettings() uri <- file.path("file:/", getwd(), "gtk-demo-printing-example.pdf") settings$set("output-uri", uri) operation$setPrintSettings(settings) result <- operation$run("print-dialog", NULL) if (!is.null(result$error)) { dialog <- gtkMessageDialog(NULL, 0, "error", "close", result$error$message) dialog$run() dialog$destroy() } RGtk2/demo/multipleViews.R0000644000176000001440000003602411766145227015173 0ustar ripleyusers# source("/home/larman/research/RGtk2/RGtk2/demo/multipleViews.R") recursive.attach.view <- function(depth, view, anchor) { if (depth > 4) return() child.view <- gtkTextViewNewWithBuffer(view$getBuffer(), show = F) # Event box is to add a black border around each child view event.box <- gtkEventBoxNew(show = F) color <- gdkColorParse("black")$color event.box$modifyBg("normal", color) align <- gtkAlignmentNew(0.5, 0.5, 1.0, 1.0, show = F) align$setBorderWidth(1) event.box$add(align) align$add(child.view) view$addChildAtAnchor(event.box, anchor) recursive.attach.view(depth + 1, child.view, anchor) } popup <- NULL easter.egg.callback <- function(button, data) { if (!is.null(popup)) { popup$present() return() } buffer <- gtkTextBufferNew(NULL) iter <- buffer$getStartIter()$iter buffer$insert(iter, "This buffer is shared by a set of nested text views.\n Nested view:\n") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, "\nDon't do this in real applications, please.\n") view <- gtkTextViewNewWithBuffer(buffer, show = F) recursive.attach.view(0, view, anchor) popup <- gtkWindowNew("toplevel", show = F) sw <- gtkScrolledWindowNew(NULL, NULL) sw$setPolicy("automatic", "automatic") popup$add(sw) sw$add(view) popup$setDefaultSize(300, 400) popup$showAll() } create.tags <- function(buffer) { # Create a bunch of tags. Note that it's also possible to # create tags with gtkTextTagNew() then add them to the # tag table for the buffer, gtkTextBufferCreateTag() is # just a convenience function. Also note that you don't have # to give tags a name pass NULL for the name to create an # anonymous tag. # # In any real app, another useful optimization would be to create # a GtkTextTagTable in advance, and reuse the same tag table for # all the buffers with the same tag set, instead of creating # new copies of the same tags for every buffer. # # Tags are assigned default priorities in order of addition to the # tag table. That is, tags created later that affect the same text # property affected by an earlier tag will override the earlier # tag. You can modify tag priorities with # gtkTextTagSetPriority(). # buffer$createTag("heading", weight = PangoWeight["bold"], size = 15 * PANGO_SCALE) buffer$createTag("italic", style = "italic") buffer$createTag("bold", weight = PangoWeight["bold"]) buffer$createTag("big", size = 20 * PANGO_SCALE) buffer$createTag("xx-small", scale = PANGO_SCALE_XX_SMALL) buffer$createTag("x-large", scale = PANGO_SCALE_X_LARGE) buffer$createTag("monospace", family = "monospace") buffer$createTag("blue.foreground", foreground = "blue") buffer$createTag("red.background", background = "red") buffer$createTag("big.gap.before.line", pixels_above_lines = 30) buffer$createTag("big.gap.after.line", pixels_below_lines = 30) buffer$createTag("double.spaced.line", pixels_inside_wrap = 10) buffer$createTag("not.editable", editable = FALSE) buffer$createTag("word.wrap", wrap_mode = "word") buffer$createTag("char.wrap", wrap_mode = "char") buffer$createTag("no.wrap", wrap_mode = "none") buffer$createTag("center", justification = "center") buffer$createTag("right.justify", justification = "right") buffer$createTag("wide.margins", left_margin = 50, right_margin = 50) buffer$createTag("strikethrough", strikethrough = TRUE) buffer$createTag("underline", underline = "single") buffer$createTag( "double.underline", underline = "double") buffer$createTag("superscript", rise = 10 * PANGO_SCALE, size = 8 * PANGO_SCALE) buffer$createTag("subscript", rise = -10 * PANGO_SCALE, size = 8 * PANGO_SCALE) buffer$createTag("rtl.quote", wrap_mode = "word", direction = "rtl", indent = 30, left_margin = 20, right_margin = 20) } insert.text <- function(buffer) { pixbuf <- NULL filename <- imagefile("rgtk-logo.gif") if (file.exists(filename)) { pixbuf <- gdkPixbufNewFromFile(filename)[[1]] } if (is.null(pixbuf)) { warning("Failed to load image file rgtk-logo.gif\n") } pixbuf <- pixbuf$scaleSimple(32, 32, "bilinear") # get start of buffer each insertion will revalidate the # iterator to point to just after the inserted text. iter <- buffer$getIterAtOffset(0)$iter buffer$insert(iter, "The text widget can display text with all kinds of nifty attributes. It also supports multiple views of the same buffer this demo is showing the same buffer in two places.\n\n") buffer$insertWithTagsByName(iter, "Font styles. ", "heading") buffer$insert(iter, "For example, you can have ") buffer$insertWithTagsByName(iter, "italic", "italic") buffer$insert(iter, ", ") buffer$insertWithTagsByName(iter, "bold", "bold") buffer$insert(iter, ", or ") buffer$insertWithTagsByName(iter, "monospace (typewriter)", "monospace") buffer$insert(iter, ", or ") buffer$insertWithTagsByName(iter, "big", "big") buffer$insert(iter, " text. ") buffer$insert(iter, "It's best not to hardcode specific text sizes you can use relative sizes as with CSS, such as ") buffer$insertWithTagsByName(iter, "xx-small", "xx-small") buffer$insert(iter, " or ") buffer$insertWithTagsByName(iter, "x-large", "x-large") buffer$insert(iter, " to ensure that your program properly adapts if the user changes the default font size.\n\n") buffer$insertWithTagsByName(iter, "Colors. ", "heading") buffer$insert(iter, "Colors such as ") buffer$insertWithTagsByName(iter, "a blue foreground", "blue.foreground") buffer$insert(iter, " or ") buffer$insertWithTagsByName(iter, "a red background", "red.background") buffer$insert(iter, " or even ") buffer$insertWithTagsByName(iter, "a blue foreground on a red background", "blue.foreground", "red.background") buffer$insert(iter, " (select that to read it) can be used.\n\n") buffer$insertWithTagsByName(iter, "Underline, strikethrough, and rise. ", "heading") buffer$insertWithTagsByName(iter, "Strikethrough", "strikethrough") buffer$insert(iter, ", ") buffer$insertWithTagsByName(iter, "underline", "underline") buffer$insert(iter, ", ") buffer$insertWithTagsByName(iter, "double underline", "double.underline") buffer$insert(iter, ", ") buffer$insertWithTagsByName(iter, "superscript", "superscript") buffer$insert(iter, ", and ") buffer$insertWithTagsByName(iter, "subscript", "subscript") buffer$insert(iter, " are all supported.\n\n") buffer$insertWithTagsByName(iter, "Images. ", "heading") buffer$insert(iter, "The buffer can have images in it: ") buffer$insertPixbuf(iter, pixbuf) buffer$insertPixbuf(iter, pixbuf) buffer$insertPixbuf(iter, pixbuf) buffer$insert(iter, " for example.\n\n") buffer$insertWithTagsByName(iter, "Spacing. ", "heading") buffer$insert(iter, "You can adjust the amount of space before each line.\n") buffer$insertWithTagsByName(iter, "This line has a whole lot of space before it.\n", "big.gap.before.line", "wide.margins") buffer$insertWithTagsByName(iter, "You can also adjust the amount of space after each line this line has a whole lot of space after it.\n", "big.gap.after.line", "wide.margins") buffer$insertWithTagsByName(iter, "You can also adjust the amount of space between wrapped lines this line has extra space between each wrapped line in the same paragraph. To show off wrapping, some filler text: the quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah blah blah.\n", "double.spaced.line", "wide.margins") buffer$insert(iter, "Also note that those lines have extra-wide margins.\n\n") buffer$insertWithTagsByName(iter, "Editability. ", "heading") buffer$insertWithTagsByName(iter, "This line is 'locked down' and can't be edited by the user - just try it! You can't delete this line.\n\n", "not.editable") buffer$insertWithTagsByName(iter, "Wrapping. ", "heading") buffer$insert(iter, "This line (and most of the others in this buffer) is word-wrapped, using the proper Unicode algorithm. Word wrap should work in all scripts and languages that GTK+ supports. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n") buffer$insertWithTagsByName(iter, "This line has character-based wrapping, and can wrap between any two character glyphs. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n", "char.wrap") buffer$insertWithTagsByName(iter, "This line has all wrapping turned off, so it makes the horizontal scrollbar appear.\n\n\n", "no.wrap") buffer$insertWithTagsByName(iter, "Justification. ", "heading") buffer$insertWithTagsByName(iter, "\nThis line has center justification.\n", "center") buffer$insertWithTagsByName(iter, "This line has right justification.\n", "right.justify") buffer$insertWithTagsByName(iter, "\nThis line has big wide margins. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.\n", "wide.margins") buffer$insertWithTagsByName(iter, "Internationalization. ", "heading") buffer$insert(iter, "You can put all sorts of Unicode text in the buffer.\n\nGerman (Deutsch S\303\274d) Gr\303\274\303\237 Gott\nGreek (\316\225\316\273\316\273\316\267\316\275\316\271\316\272\316\254) \316\223\316\265\316\271\316\254 \317\203\316\261\317\202\nHebrew \327\251\327\234\327\225\327\235\nJapanese (\346\227\245\346\234\254\350\252\236)\n\nThe widget properly handles bidirectional text, word wrapping, DOS/UNIX/Unicode paragraph separators, grapheme boundaries, and so on using the Pango internationalization framework.\n") buffer$insert(iter, "Here's a word-wrapped quote in a right-to-left language:\n") buffer$insertWithTagsByName(iter, "\331\210\331\202\330\257 \330\250\330\257\330\243 \330\253\331\204\330\247\330\253 \331\205\331\206 \330\243\331\203\330\253\330\261 \330\247\331\204\331\205\330\244\330\263\330\263\330\247\330\252 \330\252\331\202\330\257\331\205\330\247 \331\201\331\212 \330\264\330\250\331\203\330\251 \330\247\331\203\330\263\331\212\331\210\331\206 \330\250\330\261\330\247\331\205\330\254\331\207\330\247 \331\203\331\205\331\206\330\270\331\205\330\247\330\252 \331\204\330\247 \330\252\330\263\330\271\331\211 \331\204\331\204\330\261\330\250\330\255\330\214 \330\253\331\205 \330\252\330\255\331\210\331\204\330\252 \331\201\331\212 \330\247\331\204\330\263\331\206\331\210\330\247\330\252 \330\247\331\204\330\256\331\205\330\263 \330\247\331\204\331\205\330\247\330\266\331\212\330\251 \330\245\331\204\331\211 \331\205\330\244\330\263\330\263\330\247\330\252 \331\205\330\247\331\204\331\212\330\251 \331\205\331\206\330\270\331\205\330\251\330\214 \331\210\330\250\330\247\330\252\330\252 \330\254\330\262\330\241\330\247 \331\205\331\206 \330\247\331\204\331\206\330\270\330\247\331\205 \330\247\331\204\331\205\330\247\331\204\331\212 \331\201\331\212 \330\250\331\204\330\257\330\247\331\206\331\207\330\247\330\214 \331\210\331\204\331\203\331\206\331\207\330\247 \330\252\330\252\330\256\330\265\330\265 \331\201\331\212 \330\256\330\257\331\205\330\251 \331\202\330\267\330\247\330\271 \330\247\331\204\331\205\330\264\330\261\331\210\330\271\330\247\330\252 \330\247\331\204\330\265\330\272\331\212\330\261\330\251. \331\210\330\243\330\255\330\257 \330\243\331\203\330\253\330\261 \331\207\330\260\331\207 \330\247\331\204\331\205\330\244\330\263\330\263\330\247\330\252 \331\206\330\254\330\247\330\255\330\247 \331\207\331\210 \302\273\330\250\330\247\331\206\331\203\331\210\330\263\331\210\331\204\302\253 \331\201\331\212 \330\250\331\210\331\204\331\212\331\201\331\212\330\247.\n\n", "rtl.quote") buffer$insert(iter, "You can put widgets in the buffer: Here's a button: ") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, " and a menu: ") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, " and a scale: ") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, " and an animation: ") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, " finally a text entry: ") anchor <- buffer$createChildAnchor(iter) buffer$insert(iter, ".\n") buffer$insert(iter, "\n\nThis demo doesn't demonstrate all the GtkTextBuffer features it leaves out, for example: invisible/hidden text (doesn't work in GTK 2, but planned), tab stops, application-drawn areas on the sides of the widget for displaying breakpoints and such...") # Apply word.wrap tag to whole buffer bounds <- buffer$getBounds() buffer$applyTagByName("word.wrap", bounds$start, bounds$end) } find.anchor <- function(iter) { while (iter$forwardChar()) { if (!is.null(iter$getChildAnchor())) return(TRUE) } return(FALSE) } attach.widgets <- function(text.view) { buffer <- text.view$getBuffer() iter <- buffer$getStartIter()$iter i <- 0 while (find.anchor(iter)) { anchor <- iter$getChildAnchor() if (i == 0) { widget <- gtkButtonNewWithLabel("Click Me") gSignalConnect(widget, "clicked", easter.egg.callback) } else if (i == 1) { widget <- gtkComboBoxNewText() widget$appendText("Option 1") widget$appendText("Option 2") widget$appendText("Option 3") } else if (i == 2) { widget <- gtkHScaleNew(NULL) widget$setRange(0, 100) widget$setSizeRequest(70, -1) } else if (i == 3) { filename <- "/usr/share/gtk-2.0/demo/floppybuddy.gif" widget <- gtkImageNewFromFile(filename) } else if (i == 4) { widget <- gtkEntryNew() } text.view$addChildAtAnchor(widget, anchor) widget$showAll() i = i + 1 } } window <- NULL window <- gtkWindowNew("toplevel", show = F) window$setDefaultSize(450, 450) window$setTitle("TextView") window$setBorderWidth(0) vpaned <- gtkVPanedNew() vpaned$setBorderWidth(5) window$add(vpaned) # For convenience, we just use the autocreated buffer from # the first text view you could also create the buffer # by itself with gtkTextBufferNew(), then later create # a view widget. view1 <- gtkTextViewNew() buffer <- view1$getBuffer() view2 <- gtkTextViewNewWithBuffer(buffer) sw <- gtkScrolledWindowNew(NULL, NULL) sw$setPolicy("automatic", "automatic") vpaned$add1(sw) sw$add(view1) sw <- gtkScrolledWindowNew(NULL, NULL) sw$setPolicy("automatic", "automatic") vpaned$add2(sw) sw$add(view2) create.tags(buffer) insert.text(buffer) attach.widgets(view1) attach.widgets(view2) window$showAll() RGtk2/demo/images.R0000644000176000001440000001706611766145227013574 0ustar ripleyusers# source("~/research/RGtk2/RGtk2/demo/images.R") window <- NULL pixbuf.loader <- NULL load.timeout <- NULL image.stream <- NULL progressive.prepared.callback <- function(loader, data) { checkPtrType(data, "GtkWidget") pixbuf <- loader$getPixbuf() # Avoid displaying random memory contents, since the pixbuf # isn't filled in yet. # pixbuf$fill("0xaaaaaaff") data$setFromPixbuf(pixbuf) } progressive.updated.callback <- function(loader, x, y, width, height, data) { checkPtrType(data, "GtkWidget") # We know the pixbuf inside the GtkImage has changed, but the image # itself doesn't know this so queue a redraw. If we wanted to be # really efficient, we could use a drawing area or something # instead of a GtkImage, so we could control the exact position of # the pixbuf on the display, then we could queue a draw for only # the updated area of the image. # data$queueDraw() } progressive.timeout <- function(data) { checkPtrType(data, "GtkWidget") # This shows off fully-paranoid error handling, so looks scary. # You could factor out the error handling code into a nice separate # function to make things nicer. # if (!is.null(image.stream)) { bytes.read <- try(readBin(image.stream, "integer", 256, 1, FALSE)) if (inherits(bytes.read, "try-error")) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failure reading image file 'alphatest.png':", bytes.read) gSignalConnect(dialog, "response", gtkWidgetDestroy) close(image.stream) image.stream <<- NULL load.timeout <<- NULL return(FALSE) # uninstall the timeout } if (length(bytes.read) == 0) { close(image.stream) image.stream <<- NULL # Errors can happen on close, e.g. if the image # file was truncated we'll know on close that # it was incomplete. # close.result <- pixbuf.loader$close() if (!close.result[[1]]) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failed to load image:", close.result$error$message) gSignalConnect(dialog, "response", gtkWidgetDestroy) pixbuf.loader <<- NULL load.timeout <<- NULL return(FALSE) } pixbuf.loader <<- NULL } else { write.result <- pixbuf.loader$write(bytes.read, length(bytes.read)) if (!write.result[[1]]) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failed to load image:", write.result$error$message) gSignalConnect(dialog, "response", gtkWidgetDestroy) close(image.stream) image.stream <<- NULL load.timeout <<- NULL return(FALSE) # uninstall the timeout } } } else { filename <- imagefile("alphatest.png") if (!file.exists(filename)) { error.message <- "File 'alphatest.png' does not exist" } else { image.stream <<- try(file(filename, "rb")) if (inherits(image.stream, "try-error")) { error.message <- paste("Unable to open image file 'alphatest.png':", image.stream) image.stream <<- NULL } } if (is.null(image.stream)) { dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failed to load image:", error.message) gSignalConnect(dialog, "response", gtkWidgetDestroy) load.timeout <<- NULL return(FALSE) } if (!is.null(pixbuf.loader)) { pixbuf.loader$close(NULL) pixbuf.loader <<- NULL } pixbuf.loader <<- gdkPixbufLoaderNew() gSignalConnect(pixbuf.loader, "area_prepared", progressive.prepared.callback, data) gSignalConnect(pixbuf.loader, "area_updated", progressive.updated.callback, data) } # leave timeout installed return(TRUE) } start.progressive.loading <- function(image) { # This is obviously totally contrived (we slow down loading # on purpose to show how incremental loading works). # The real purpose of incremental loading is the case where # you are reading data from a slow source such as the network. # The timeout simply simulates a slow data source by inserting # pauses in the reading process. # load.timeout <<- gTimeoutAdd(150, progressive.timeout, image) } cleanup.callback <- function(object, data) { if (!is.null(load.timeout)) { gSourceRemove(load.timeout) load.timeout <<- NULL } if (!is.null(pixbuf.loader)) { pixbuf.loader$close() pixbuf.loader <<- NULL } if (!is.null(image.stream)) close(image.stream) image.stream <<- NULL } toggle.sensitivity.callback <- function(togglebutton, user.data) { container <- user.data list <- container$getChildren() sapply(list, function(child) { # don't disable our toggle if (!inherits(child, "GtkToggleButton")) child$setSensitive(!togglebutton$getActive()) }) } window <- gtkWindowNew("toplevel", show=F) window$setTitle("Images") gSignalConnect(window, "destroy", cleanup.callback) window$setBorderWidth(8) vbox <- gtkVBoxNew(FALSE, 8) vbox$setBorderWidth(8) window$add(vbox) label <- gtkLabelNew() label$setMarkup("Image loaded from a file") vbox$packStart(label, FALSE, FALSE, 0) frame <- gtkFrameNew() frame$setShadowType("in") # The alignment keeps the frame from growing when users resize # the window # align <- gtkAlignmentNew(0.5, 0.5, 0, 0) align$add(frame) vbox$packStart(align, FALSE, FALSE, 0) pixbuf.result <- NULL pixbuf <- NULL filename <- imagefile("rgtk-logo.gif") if (file.exists(filename)) { pixbuf.result <- gdkPixbufNewFromFile(filename) pixbuf <- pixbuf.result[[1]] } if (is.null(pixbuf.result) || !is.null(pixbuf.result$error)) { # This code shows off error handling. You can just use # gtkImageNewFromFile() instead if you don't want to report # errors to the user. If the file doesn't load when using # gtkImageNewFromFile(), a "missing image" icon will # be displayed instead. # dialog <- gtkMessageDialogNew(window, "destroy-with-parent", "error", "close", "Failed to load 'rgtk-logo.gif':", pixbuf.result$error$message) gSignalConnect(dialog, "response", gtkWidgetDestroy) } image <- gtkImageNewFromPixbuf(pixbuf) frame$add(image) # Animation # label <- gtkLabelNew() label$setMarkup("Animation loaded from a file") vbox$packStart(label, FALSE, FALSE, 0) frame <- gtkFrameNew() frame$setShadowType("in") align <- gtkAlignmentNew(0.5, 0.5, 0, 0) align$add(frame) vbox$packStart(align, FALSE, FALSE, 0) filename <- "/usr/share/gtk-2.0/demo/floppybuddy.gif" image <- gtkImageNewFromFile(filename) frame$add(image) # Progressive label <- gtkLabelNew() label$setMarkup("Progressive image loading") vbox$packStart(label, FALSE, FALSE, 0) frame <- gtkFrameNew() frame$setShadowType("in") align <- gtkAlignmentNew(0.5, 0.5, 0, 0) align$add(frame) vbox$packStart(align, FALSE, FALSE, 0) # Create an empty image for now the progressive loader # will create the pixbuf and fill it in. # image <- gtkImageNewFromPixbuf(NULL) frame$add(image) start.progressive.loading(image) # Sensitivity control button <- gtkToggleButtonNewWithMnemonic("_Insensitive") vbox$packStart(button, FALSE, FALSE, 0) gSignalConnect(button, "toggled", toggle.sensitivity.callback, vbox) button <- gtkButtonNewWithLabel("Quit") vbox$packStart(button, FALSE, FALSE, 0) gSignalConnect(button, "clicked", function(...) { gtkMainQuit(); window$destroy() }) window$showAll() gtkMain() RGtk2/demo/svgspacewar.R0000644000176000001440000005663611766145227014662 0ustar ripleyusers# SVG Spacewar is copyright 2005 by Nigel Tao: nigel.tao@myrealbox.com # Licenced under the GNU GPL. # Developed on cairo version 0.4.0. # # 2005-03-31: Version 0.1. # ported to RGtk (cairo 0.5.1) by michael lawrence (7-21-05) # not very playable but a good example of cairo + gtk WIDTH <- 800 HEIGHT <- 600 # trig computations (and x, y, velocity, etc). are made in fixed po arithmetic FIXED.POINT.SCALE.FACTOR <- 1024 FIXED.POINT.HALF.SCALE.FACTOR <- 32 # discretization of 360 degrees NUMBER.OF.ROTATION.ANGLES <- 60 RADIANS.PER.ROTATION.ANGLE <- (2*pi / NUMBER.OF.ROTATION.ANGLES) # equivalent to 25 fps MILLIS.PER.FRAME <- 20 # a shot every 9/25 seconds <- 8 ticks between shots TICKS.BETWEEN.FIRE <- 4 # fudge this for bigger or smaller ships GLOBAL.SHIP.SCALE.FACTOR <- 0.8 SHIP.ACCELERATION.FACTOR <- 1 SHIP.MAX.VELOCITY <- (10 * FIXED.POINT.SCALE.FACTOR) SHIP.RADIUS <- as.integer(38 * FIXED.POINT.SCALE.FACTOR * GLOBAL.SHIP.SCALE.FACTOR) SHIP.MAX.ENERGY <- 1000 DAMAGE.PER.MISSILE <- 200 ENERGY.PER.MISSILE <- 10 # bounce damage depends on how fast you're going DAMAGE.PER.SHIP.BOUNCE.DIVISOR <- 3 NUMBER.OF.STARS <- 20 MAX.NUMBER.OF.MISSILES <- 60 MISSILE.RADIUS <- (4 * FIXED.POINT.SCALE.FACTOR) MISSILE.SPEED <- 8 MISSILE.TICKS.TO.LIVE <- 60 MISSILE.EXPLOSION.TICKS.TO.LIVE <- 6 #------------------------------------------------------------------------------ # global variables players <- NULL #------------------------------------------------------------------------------ missiles <- NULL next.missile.index <- 1 init.missiles.array <- function() { for (i in 1:MAX.NUMBER.OF.MISSILES) { missiles <<- c(missiles, list(list(p = list(radius = MISSILE.RADIUS), is.alive = FALSE))) } } #------------------------------------------------------------------------------ stars <- NULL init.stars.array <- function() { x.dist <- as.integer(runif(NUMBER.OF.STARS, 0, WIDTH - 1)) y.dist <- as.integer(runif(NUMBER.OF.STARS, 0, HEIGHT - 1)) rot.dist <- runif(NUMBER.OF.STARS)*2*pi scale.dist <- runif(NUMBER.OF.STARS) + 0.5 for (i in 1:NUMBER.OF.STARS) { stars <<- c(stars, list(list(x = x.dist[i], y = y.dist[i], rotation = rot.dist[i], scale = scale.dist[i]))) } } #------------------------------------------------------------------------------ debug.scale.factor <- 1.0 game.over.message <- NULL #------------------------------------------------------------------------------ cos.table <- NULL sin.table <- NULL init.trigonometric.tables <- function() { q <- (NUMBER.OF.ROTATION.ANGLES / 4) angle.in.radians <- (q - 1:NUMBER.OF.ROTATION.ANGLES)*2*pi/NUMBER.OF.ROTATION.ANGLES # our angle system is "true north" - 0 is straight up, whereas # cos sin take 0 as east (and in radians). cos.table <<- as.integer(cos(angle.in.radians)*FIXED.POINT.SCALE.FACTOR) # also, our graphics system is "y axis down", although in regular math, # the y axis is "up", so we have to multiply sin by -1. sin.table <<- as.integer(-sin(angle.in.radians)*FIXED.POINT.SCALE.FACTOR) } #------------------------------------------------------------------------------ on.expose.event <- function(widget, event) { player1 <- players[[1]] player2 <- players[[2]] cr <- gdkCairoCreate(widget[["window"]]) cr$save() scale.for.aspect.ratio(cr, widget[["allocation"]][["width"]], widget[["allocation"]][["height"]]) cr$scale(debug.scale.factor, debug.scale.factor) # draw background space color cr$setSourceRgb(0.1, 0.0, 0.1) cr$paint() # draw any stars... for (i in 1:NUMBER.OF.STARS) { cr$save() cr$translate(stars[[i]]$x, stars[[i]]$y) cr$rotate(stars[[i]]$rotation) cr$scale(stars[[i]]$scale, stars[[i]]$scale) draw.star(cr) cr$restore() } # ... the energy bars... cr$save() cr$translate(30, 30) cr$rotate(0) draw.energy.bar(cr, player1) cr$restore() cr$save() cr$translate(WIDTH - 30, 30) cr$rotate(pi) draw.energy.bar(cr, player2) cr$restore() # the two ships... cr$save() cr$translate(player1$p$x / FIXED.POINT.SCALE.FACTOR, player1$p$y / FIXED.POINT.SCALE.FACTOR) cr$rotate(player1$p$rotation * RADIANS.PER.ROTATION.ANGLE) draw.ship.body(cr, player1) cr$restore() cr$save() cr$translate(player2$p$x / FIXED.POINT.SCALE.FACTOR, player2$p$y / FIXED.POINT.SCALE.FACTOR) cr$rotate(player2$p$rotation * RADIANS.PER.ROTATION.ANGLE) draw.ship.body(cr, player2) cr$restore() # ... and any missiles. for (i in 1:MAX.NUMBER.OF.MISSILES) { if (missiles[[i]]$is.alive) { cr$save() cr$translate(missiles[[i]]$p$x / FIXED.POINT.SCALE.FACTOR, missiles[[i]]$p$y / FIXED.POINT.SCALE.FACTOR) cr$rotate(missiles[[i]]$p$rotation * RADIANS.PER.ROTATION.ANGLE) draw.missile(cr, missiles[[i]]) cr$restore() } } if (is.null(game.over.message)) { if (player1$is.dead) { if (player2$is.dead) game.over.message <<- "DRAW" else game.over.message <<- "RED wins" } else if (player2$is.dead) { game.over.message <<- "BLUE wins" } } if (!is.null(game.over.message)) { show.text.message(cr, 80, -30, game.over.message) show.text.message(cr, 30, +40, "Press [SPACE] to restart") } cr$restore() return(TRUE) } #------------------------------------------------------------------------------ scale.for.aspect.ratio <- function(cr, widget.width, widget.height) { is.widget.wider <- (widget.width * HEIGHT) > (WIDTH * widget.height) if (is.widget.wider) { scale <- widget.height / HEIGHT playfield.width <- (WIDTH * widget.height) / HEIGHT playfield.height <- widget.height tx <- (widget.width - playfield.width) / 2 ty <- 0 } else { scale <- widget.width / WIDTH playfield.width <- widget.width playfield.height <- (HEIGHT * widget.width) / WIDTH tx <- 0 ty <- (widget.height - playfield.height) / 2 } cr$translate(tx, ty) cr$rectangle(0, 0, playfield.width, playfield.height) cr$clip() cr$scale(scale, scale) } #------------------------------------------------------------------------------ draw.energy.bar <- function(cr, p) { alpha <- 0.6 cr$save() cr$rectangle(0, -5, p$energy / 5, 10) pat <- cairoPatternCreateLinear(0, 0, SHIP.MAX.ENERGY / 5, 0) pat$addColorStopRgba(0, p$secondary.color$r, p$secondary.color$g, p$secondary.color$b, alpha) pat$addColorStopRgba(1, p$primary.color$r, p$primary.color$g, p$primary.color$b, alpha) cr$setSource(pat) cr$fillPreserve() cr$setSourceRgb(0, 0, 0) cr$stroke() cr$restore() } #------------------------------------------------------------------------------ draw.ship.body <- function(cr, p) { if (p$is.hit) { cr$setSourceRgba(p$primary.color$r, p$primary.color$g, p$primary.color$b, 0.5) cr$arc(0, 0, SHIP.RADIUS / FIXED.POINT.SCALE.FACTOR, 0, 2*pi) cr$stroke() } cr$save() cr$scale(GLOBAL.SHIP.SCALE.FACTOR, GLOBAL.SHIP.SCALE.FACTOR) if (!p$is.dead) { if (p$is.thrusting) { draw.flare(cr, p$primary.color) } if (p$is.turning.left && !p$is.turning.right) { draw.turning.flare(cr, p$primary.color, -1.0) } if (!p$is.turning.left && p$is.turning.right) { draw.turning.flare(cr, p$primary.color, 1.0) } } cr$moveTo(0, -33) cr$curveTo(2, -33, 3, -34, 4, -35) cr$curveTo(8, -10, 6, 15, 15, 15) cr$lineTo(20, 15) cr$lineTo(20, 7) cr$curveTo(25, 10, 28, 22, 25, 28) cr$curveTo(20, 26, 8, 24, 0, 24) # half way po cr$curveTo(-8, 24, -20, 26, -25, 28) cr$curveTo(-28, 22, -25, 10, -20, 7) cr$lineTo(-20, 15) cr$lineTo(-15, 15) cr$curveTo(-6, 15, -8, -10, -4, -35) cr$curveTo(-3, -34, -2, -33, 0, -33) pat <- cairoPatternCreateLinear(-30.0, -30.0, 30.0, 30.0) pat$addColorStopRgba(0, p$primary.color$r, p$primary.color$g, p$primary.color$b, 1) pat$addColorStopRgba(1, p$secondary.color$r, p$secondary.color$g, p$secondary.color$b, 1) cr$setSource(pat) cr$fillPreserve() cr$setSourceRgb(0, 0, 0) cr$stroke() cr$restore() } #------------------------------------------------------------------------------ draw.flare <- function(cr, color) { cr$save() cr$translate(0, 22) pat <- cairoPatternCreateRadial(0, 0, 2, 0, 5, 12) pat$addColorStopRgba(0.0, color$r, color$g, color$b, 1) pat$addColorStopRgba(0.3, 1, 1, 1, 1) pat$addColorStopRgba(1.0, color$r, color$g, color$b, 0) cr$setSource(pat) cr$arc(0, 0, 20, 0, 2*pi) cr$fill() cr$restore() } #------------------------------------------------------------------------------ draw.turning.flare <- function(cr, color, right.hand.side) { cr$save() pat <- cairoPatternCreateRadial(0, 0, 1, 0, 0, 7) pat$addColorStopRgba(0.0, 1, 1, 1, 1) pat$addColorStopRgba(1.0, color$r, color$g, color$b, 0) cr$setSource(pat) cr$save() cr$translate(-23 * right.hand.side, 28) cr$arc(0, 0, 7, 0, 2*pi) cr$fill() cr$restore() cr$translate(19 * right.hand.side, 7) cr$arc(0, 0, 5, 0, 2*pi) cr$fill() cr$restore() } #------------------------------------------------------------------------------ draw.missile <- function(cr, m) { cr$save() cr$scale(GLOBAL.SHIP.SCALE.FACTOR, GLOBAL.SHIP.SCALE.FACTOR) if (m$has.exploded) { draw.exploded.missile(cr, m) } else { alpha <- m$ticks.to.live / MISSILE.TICKS.TO.LIVE # non-linear scaling so things don't fade out too fast alpha <- 1.0 - (1.0 - alpha) * (1.0 - alpha) cr$save() cr$moveTo(0, -4) cr$curveTo(3, -4, 4, -2, 4, 0) cr$curveTo(4, 4, 2, 10, 0, 18) # half way po cr$curveTo(-2, 10, -4, 4, -4, 0) cr$curveTo(-4, -2, -3, -4, 0, -4) pat <- cairoPatternCreateLinear(0.0, -5.0, 0.0, 5.0) pat$addColorStopRgba(0, m$primary.color$r, m$primary.color$g, m$primary.color$b, alpha) pat$addColorStopRgba(1, m$secondary.color$r, m$secondary.color$g, m$secondary.color$b, alpha) cr$setSource(pat) cr$fill() cr$restore() cr$save() cr$arc(0, 0, 3, 0, 2*pi) pat <- cairoPatternCreateLinear(0, 3, 0, -3) pat$addColorStopRgba(0, m$primary.color$r, m$primary.color$g, m$primary.color$b, alpha) pat$addColorStopRgba(1, m$secondary.color$r, m$secondary.color$g, m$secondary.color$b, alpha) cr$setSource(pat) cr$fill() cr$restore() } cr$restore() } #------------------------------------------------------------------------------ draw.exploded.missile <- function(cr, m) { cr$save() cr$scale(GLOBAL.SHIP.SCALE.FACTOR, GLOBAL.SHIP.SCALE.FACTOR) alpha <- m$ticks.to.live / MISSILE.EXPLOSION.TICKS.TO.LIVE alpha <- 1.0 - (1.0 - alpha) * (1.0 - alpha) cr$arc(0, 0, 30, 0, 2*pi) pat <- cairoPatternCreateRadial(0, 0, 0, 0, 0, 30) pat$addColorStopRgba(0, m$primary.color$r, m$primary.color$g, m$primary.color$b, alpha) pat$addColorStopRgba(0.5, m$secondary.color$r, m$secondary.color$g, m$secondary.color$b, alpha * 0.75) pat$addColorStopRgba(1, 0, 0, 0, 0) cr$setSource(pat) cr$fill() cr$restore() } #------------------------------------------------------------------------------ draw.star <- function(cr) { a <- NUMBER.OF.ROTATION.ANGLES / 10 r1 <- 5.0 r2 <- 2.0 cr$moveTo(r1 * cos.table[0 * a + 1] / FIXED.POINT.SCALE.FACTOR, r1 * sin.table[0 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r2 * cos.table[1 * a + 1] / FIXED.POINT.SCALE.FACTOR, r2 * sin.table[1 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r1 * cos.table[2 * a + 1] / FIXED.POINT.SCALE.FACTOR, r1 * sin.table[2 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r2 * cos.table[3 * a + 1] / FIXED.POINT.SCALE.FACTOR, r2 * sin.table[3 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r1 * cos.table[4 * a + 1] / FIXED.POINT.SCALE.FACTOR, r1 * sin.table[4 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r2 * cos.table[5 * a + 1] / FIXED.POINT.SCALE.FACTOR, r2 * sin.table[5 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r1 * cos.table[6 * a + 1] / FIXED.POINT.SCALE.FACTOR, r1 * sin.table[6 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r2 * cos.table[7 * a + 1] / FIXED.POINT.SCALE.FACTOR, r2 * sin.table[7 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r1 * cos.table[8 * a + 1] / FIXED.POINT.SCALE.FACTOR, r1 * sin.table[8 * a + 1] / FIXED.POINT.SCALE.FACTOR) cr$lineTo(r2 * cos.table[9 * a + 1] / FIXED.POINT.SCALE.FACTOR, r2 * sin.table[9 * a + 1] / FIXED.POINT.SCALE.FACTOR) c <- 0.5 cr$setSourceRgb(c, c, c) cr$fill() } #------------------------------------------------------------------------------ on.timeout <- function(data) { player1 <- players[[1]] player2 <- players[[2]] player1$is.hit <- FALSE player2$is.hit <- FALSE player1 <- apply.physics.to.player(player1) player2 <- apply.physics.to.player(player2) if (check.for.collision(player1$p, player2$p)) { enf <- enforce.minimum.distance(player1$p, player2$p) player1$p <- enf[[1]] player2$p <- enf[[2]] p1vx <- player1$p$vx p1vy <- player1$p$vy p2vx <- player2$p$vx p2vy <- player2$p$vy dvx <- (p1vx - p2vx) / FIXED.POINT.HALF.SCALE.FACTOR dvy <- (p1vy - p2vy) / FIXED.POINT.HALF.SCALE.FACTOR dv2 <- (dvx * dvx) + (dvy * dvy) damage <- sqrt(dv2) / DAMAGE.PER.SHIP.BOUNCE.DIVISOR player1$energy <- player1$energy - damage player2$energy <- player2$energy - damage player1$is.hit <- TRUE player2$is.hit <- TRUE player1$p$vx <- (p1vx * -2 / 8) + (p2vx * +5 / 8) player1$p$vy <- (p1vy * -2 / 8) + (p2vy * +5 / 8) player2$p$vx <- (p1vx * +5 / 8) + (p2vx * -2 / 8) player2$p$vy <- (p1vy * +5 / 8) + (p2vy * -2 / 8) } for (i in 1:MAX.NUMBER.OF.MISSILES) { if (missiles[[i]]$is.alive) { missiles[[i]]$p <<- apply.physics(missiles[[i]]$p) if (!missiles[[i]]$has.exploded) { if (check.for.collision(missiles[[i]]$p, player1$p)) { col <- on.collision(player1, missiles[[i]]) player1 <- col[[1]] missiles[[i]] <<- col[[2]] } if (check.for.collision(missiles[[i]]$p, player2$p)) { col <- on.collision(player2, missiles[[i]]) player2 <- col[[1]] missiles[[i]] <<- col[[2]] } } missiles[[i]]$ticks.to.live <<- missiles[[i]]$ticks.to.live - 1 if (missiles[[i]]$ticks.to.live == 0) { missiles[[i]]$is.alive <<- FALSE } } } if (player1$energy <= 0) { player1$energy <- 0 player1$is.dead <- TRUE } else { player1$energy <- min(SHIP.MAX.ENERGY, player1$energy + 1) } if (player2$energy <= 0) { player2$energy <- 0 player2$is.dead <- TRUE } else { player2$energy <- min(SHIP.MAX.ENERGY, player2$energy + 1) } players[[1]] <<- player1 players[[2]] <<- player2 data$queueDraw() return(TRUE) } #------------------------------------------------------------------------------ apply.physics.to.player <- function(player) { p <- player$p if (!player$is.dead) { # check if player is turning left, ... if (player$is.turning.left) { p$rotation <- p$rotation - 1 while (p$rotation < 0) { p$rotation <- p$rotation + NUMBER.OF.ROTATION.ANGLES } } # ... or right. if (player$is.turning.right) { p$rotation <- p$rotation + 1 while (p$rotation >= NUMBER.OF.ROTATION.ANGLES) { p$rotation <- p$rotation - NUMBER.OF.ROTATION.ANGLES } } # check if accelerating if (player$is.thrusting) { p$vx <- p$vx + SHIP.ACCELERATION.FACTOR * cos.table[p$rotation + 1] p$vy <- p$vy + SHIP.ACCELERATION.FACTOR * sin.table[p$rotation + 1] } # apply velocity upper bound v2 <- (p$vx * p$vx) + (p$vy * p$vy) m2 <- SHIP.MAX.VELOCITY * SHIP.MAX.VELOCITY if (v2 > m2) { p$vx <- as.integer((p$vx * m2) / v2) p$vy <- as.integer((p$vy * m2) / v2) } # check if player is shooting if (player$ticks.until.can.fire == 0) { if ((player$is.firing) && (player$energy > ENERGY.PER.MISSILE)) { player$energy <- player$energy - ENERGY.PER.MISSILE xx <- cos.table[p$rotation + 1] yy <- sin.table[p$rotation + 1] m <- missiles[next.missile.index] old.missile.index <- next.missile.index next.missile.index <<- next.missile.index + 1 if (next.missile.index == MAX.NUMBER.OF.MISSILES) { next.missile.index <<- 1 } m$p$x <- p$x + (SHIP.RADIUS + MISSILE.RADIUS) / FIXED.POINT.SCALE.FACTOR * xx m$p$y <- p$y + (SHIP.RADIUS + MISSILE.RADIUS) / FIXED.POINT.SCALE.FACTOR * yy m$p$vx <- p$vx + MISSILE.SPEED * xx m$p$vy <- p$vy + MISSILE.SPEED * yy m$p$rotation <- p$rotation m$p$radius <- MISSILE.RADIUS m$ticks.to.live <- MISSILE.TICKS.TO.LIVE m$primary.color <- player$primary.color m$secondary.color <- player$secondary.color m$has.exploded <- FALSE m$is.alive <- TRUE missiles[[old.missile.index]] <<- m player$ticks.until.can.fire <- player$ticks.until.can.fire + TICKS.BETWEEN.FIRE } } else { player$ticks.until.can.fire <- player$ticks.until.can.fire - 1 } } # apply velocity deltas to displacement p <- apply.physics(p) player$p <- p player } #------------------------------------------------------------------------------ apply.physics <- function(p) { p$x <- p$x + p$vx while (p$x > (WIDTH * FIXED.POINT.SCALE.FACTOR)) { p$x <- p$x - (WIDTH * FIXED.POINT.SCALE.FACTOR) } while (p$x < 0) { p$x <- p$x + (WIDTH * FIXED.POINT.SCALE.FACTOR) } p$y <- p$y + p$vy while (p$y > (HEIGHT * FIXED.POINT.SCALE.FACTOR)) { p$y <- p$y - (HEIGHT * FIXED.POINT.SCALE.FACTOR) } while (p$y < 0) { p$y <- p$y + (HEIGHT * FIXED.POINT.SCALE.FACTOR) } p } #------------------------------------------------------------------------------ check.for.collision <- function(p1, p2) { dx <- (p1$x - p2$x) / FIXED.POINT.HALF.SCALE.FACTOR dy <- (p1$y - p2$y) / FIXED.POINT.HALF.SCALE.FACTOR r <- (p1$radius + p2$radius) / FIXED.POINT.HALF.SCALE.FACTOR d2 <- (dx * dx) + (dy * dy) col <- FALSE if (d2 < (r * r)) col <- TRUE return(col) } #------------------------------------------------------------------------------ enforce.minimum.distance <- function(p1, p2) { dx <- p1$x - p2$x dy <- p1$y - p2$y d2 <- dx * dx + dy * dy d <- as.integer(sqrt(d2)) r <- p1$radius + p2$radius # normalize dx and dy to length <- ((r - d) / 2) + fudge.factor desired.vector.length <- ((r - d) * 5) / 8 dx <- dx * desired.vector.length dy <- dy * desired.vector.length dx <- dx / d dy <- dy / d p1$x <- p1$x + dx p1$y <- p1$y + dy p2$x <- p2$x - dx p2$y <- p2$y - dy list(p1, p2) } #------------------------------------------------------------------------------ on.collision <- function(p, m) { p$energy <- p$energy - DAMAGE.PER.MISSILE p$is.hit <- TRUE m$has.exploded <- TRUE m$ticks.to.live <- MISSILE.EXPLOSION.TICKS.TO.LIVE m$p$vx <- 0 m$p$vy <- 0 list(p, m) } #------------------------------------------------------------------------------ show.text.message <- function(cr, font.size, dy, message) { cr$save() cr$selectFontFace("Serif", "normal", "normal") cr$setFontSize(font.size) extents <- cr$textExtents(message)$extents x <- (WIDTH / 2) - (extents[["width"]] / 2 + extents[["xBearing"]]) y <- (HEIGHT / 2) - (extents[["height"]] / 2 + extents[["yBearing"]]) cr$setSourceRgba(1, 1, 1, 1) cr$moveTo(x, y + dy) cr$showText(message) cr$restore() } #------------------------------------------------------------------------------ reset <- function() { player1 <- list() player1$p <- list() player1$p$x <- 200 * FIXED.POINT.SCALE.FACTOR player1$p$y <- 200 * FIXED.POINT.SCALE.FACTOR player1$p$vx <- 0 player1$p$vy <- 0 player1$p$rotation <- runif(1, 0, NUMBER.OF.ROTATION.ANGLES - 1) player1$p$radius <- SHIP.RADIUS player1$is.thrusting <- FALSE player1$is.turning.left <- FALSE player1$is.turning.right <- FALSE player1$is.firing <- FALSE player1$primary.color <- list() player1$primary.color$r <- 0.3 player1$primary.color$g <- 0.5 player1$primary.color$b <- 0.9 player1$secondary.color <- list() player1$secondary.color$r <- 0.1 player1$secondary.color$g <- 0.3 player1$secondary.color$b <- 0.3 player1$ticks.until.can.fire <- 0 player1$energy <- SHIP.MAX.ENERGY player1$is.hit <- FALSE player1$is.dead <- FALSE player2 <- list() player2$p <- list() player2$p$x <- 600 * FIXED.POINT.SCALE.FACTOR player2$p$y <- 400 * FIXED.POINT.SCALE.FACTOR player2$p$vx <- 0 player2$p$vy <- 0 player2$p$rotation <- runif(1, 0, NUMBER.OF.ROTATION.ANGLES - 1) player2$p$radius <- SHIP.RADIUS player2$is.thrusting <- FALSE player2$is.turning.left <- FALSE player2$is.turning.right <- FALSE player2$is.firing <- FALSE player2$primary.color <- list() player2$primary.color$r <- 0.9 player2$primary.color$g <- 0.2 player2$primary.color$b <- 0.3 player2$secondary.color <- list() player2$secondary.color$r <- 0.5 player2$secondary.color$g <- 0.2 player2$secondary.color$b <- 0.3 player2$ticks.until.can.fire <- 0 player2$energy <- SHIP.MAX.ENERGY player2$is.hit <- FALSE player2$is.dead <- FALSE init.stars.array() init.missiles.array() game.over.message <<- NULL players <<- list(player1, player2) } #------------------------------------------------------------------------------ on.key.press <- function(widget, event) { return(on.key.event(widget, event, TRUE)) } #------------------------------------------------------------------------------ on.key.release <- function(widget, event) { return(on.key.event(widget, event, FALSE)) } #------------------------------------------------------------------------------ on.key.event <- function(widget, event, key.is.on) { player1 <- players[[1]] player2 <- players[[2]] kv <- event[["keyval"]] if (kv == GDK_Escape) quit.game() else if (kv == GDK_bracketleft && key.is.on) debug.scale.factor <<- debug.scale.factor / 1.25 else if (kv == GDK_bracketright && key.is.on) debug.scale.factor <<- debug.scale.factor / 1.25 else if (kv == GDK_space && !is.null(game.over.message)) reset() else if (kv == GDK_a) player1$is.turning.left <- key.is.on else if (kv == GDK_d) player1$is.turning.right <- key.is.on else if (kv == GDK_w) player1$is.thrusting <- key.is.on else if (kv == GDK_Control_L) player1$is.firing <- key.is.on else if (kv == GDK_KP_Left) player2$is.turning.left <- key.is.on else if (kv == GDK_KP_Right) player2$is.turning.right <- key.is.on else if (kv == GDK_KP_Up) player2$is.thrusting <- key.is.on else if (kv == GDK_KP_Insert) player2$is.firing <- key.is.on players[[1]] <<- player1 players[[2]] <<- player2 return(TRUE) } quit.game <- function(widget, event) { gSourceRemove(timeout) window$destroy() } #------------------------------------------------------------------------------ # let's begin # source("~/research/RGtk/inst/demo/svgspacewar.R") init.trigonometric.tables() reset() window <- gtkWindowNew("toplevel", show = F) gSignalConnect(window, "delete-event", quit.game) window$setDefaultSize(WIDTH, HEIGHT) gSignalConnect(window, "expose_event", on.expose.event) gSignalConnect(window, "key_press_event", on.key.press) gSignalConnect(window, "key_release_event", on.key.release) timeout <- gTimeoutAdd(MILLIS.PER.FRAME, on.timeout, window) window$showAll() #------------------------------------------------------------------------------ RGtk2/demo/00Index0000644000176000001440000000542411766145227013331 0ustar ripleyusersappWindow Demonstrates a typical application window with menubar, toolbar, statusbar. drawingArea Uses GtkDrawingArea to display a checkerboard pattern and a scribble tool. images This demo code shows some of the more obscure cases of GtkImage, in the simple case a call to gtkImageNewFromFile() is all you need. pixbufs A GdkPixbuf represents an image, normally in RGB or RGBA format. This demo is not all that educational, but looks cool. editableCells This demo demonstrates the use of editable cells in a GtkTreeView. messageDialog Dialog widgets are used to pop up a transient window for user feedback. buttonBoxes The Button Box widgets are used to arrange buttons with padding. entryCompletion GtkEntryCompletion provides a mechanism for adding support for completion in GtkEntry. rotatedText This demo shows how to use GDK and Pango to draw rotated and transformed text. clipboard This demo shows how to copy and paste text to and from the clipboard. expander GtkExpander allows to provide additional content that is initially hidden. sizeGroups GtkSizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space. colorSelector GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is a prebuilt dialog containing a GtkColorSelection. multipleViews This demo has two views displaying a single buffer, and shows off GtkTextView's text formatting features. svgspacewar A port of a classic arcade game to cairo. dnd Simple drag and drop demo that accepts URLs from your web browser. iconView A simple file browser using GtkIconView. pangoCairo The rotated text demo using cairo. treeStore This demo builds a simple GtkTreeStore and displays it. iconviewdnd The GtkIconView widget supports Editing and Drag-and-Drop. This example also demonstrates using the generic GtkCellLayout interface to set up cell renderers in an icon view. rgtkplot A port of the canonical tkrplot example using the cairoDevice package. compositeplot A demo of combining GDK-Pixbubf with the ability of cairoDevice to render to GdkDrawables. printing Demonstrates rendering a document and printing it via a dialog assistant A three-page demonstration of the wizard-like GtkAssistant alphaSlider An R plot of microarray data with the alpha controlled by a slider alphaSliderClass The alphaSlider demo based on a subclass of the GtkHScale widget slide A simple cairo-based cell sliding game implemented as a new widget class (WARNING: UNSTABLE) text-scroll Automatic text view scrolling builder Building a GUI from XML with GtkBuilder (GTK+ 2.12) tooltips Fancy tooltips with GtkTooltip (GTK+ 2.12) searchentry Icons and progress pulsing in a text entry spinner Spinner widget for indicating indefinite progress fileCopier Copy files (including downloading remote files) asynchronously RGtk2/demo/iconviewdnd.R0000644000176000001440000000312511766145227014627 0ustar ripleyusers#source("/home/larman/research/RGtk2/RGtk2/demo/iconview-dnd.R") window <- NULL fill_store <- function(store) { text <- c("Red", "Green", "Blue", "Yellow") # First clear the store store$clear() sapply(text, function(color) { iter <- store$append()$iter store$set(iter, 0, color) }) } create_store <- function() { gtkListStore("character") } set_cell_color <- function(cell_layout, cell, tree_model, iter, data) { text <- tree_model$get(iter, 0)[[1]] parse <- gdkColorParse(text) pixel <- 0 if (parse[[1]]) pixel <- sum(unlist(parse$color)[2:4]%/%(2^8)*2^(c(24, 16, 8))) pixbuf <- gdkPixbufNew("rgb", FALSE, 8, 24, 24) pixbuf$fill(pixel) cell["pixbuf"] <- pixbuf } #debug(set_cell_color) #debug("[<-.GObject") edited <- function(cell, path_string, text, data) { model <- data$getModel() path <- gtkTreePathNewFromString(path_string) iter <- model$getIter(path)$iter model$set(iter, 0, text) } window <- gtkWindow("toplevel", show = F) window$setTitle("Editing and Drag-and-Drop") store <- create_store() fill_store(store) icon_view <- gtkIconView(store) icon_view$setSelectionMode("single") icon_view$setOrientation("horizontal") icon_view$setColumns(2) icon_view$setReorderable(TRUE) renderer <- gtkCellRendererPixbuf() icon_view$packStart(renderer, TRUE) icon_view$setCellDataFunc(renderer, set_cell_color) renderer <- gtkCellRendererText() icon_view$packStart(renderer, TRUE) renderer["editable"] <- TRUE gSignalConnect(renderer, "edited", edited, icon_view) icon_view$setAttributes(renderer, text = 0) window$add(icon_view) window$showAll() RGtk2/demo/dnd.R0000644000176000001440000000325211766145227013064 0ustar ripleyusers# NOTE: There is known trouble with this demo on Windows. view.onDragDataReceived <- function(wgt, context, x, y, seldata, info, time, userdata) { checkPtrType(userdata, "GtkTreeModel") model <- userdata iter <- model$append()$iter # the selection data is delivered to R as a list of integers # we need to turn this into a character vector, treating the integers # as raw bytes, so we coerce to raw and use the conversion function strdata <- seldata[["data"]] #strdata <- as.raw(strdata) model$set(iter, 0, rawToChar(strdata)) } TARGET <- c(string = 0, url = 1) targetentries <- list( c("STRING", 0, TARGET[["string"]]), c("text/plain", 0, TARGET[["string"]]), c("text/uri-list", 0, TARGET[["url"]]) ) create.view.and.model <- function() { liststore <- gtkListStoreNew("gchararray") view <- gtkTreeViewNewWithModel(liststore) col <- gtkTreeViewColumnNew() renderer <- gtkCellRendererTextNew() col$setTitle("URI") view$appendColumn(col) col$packStart(renderer, TRUE) col$addAttribute(renderer, "text", 0) view$getSelection()$setMode("single") # Make tree view a destination for Drag'n'Drop gtkDragDestSet(view, "all", targetentries, c("copy", "move", "link")) gSignalConnect(view, "drag_data_received", view.onDragDataReceived, liststore) return(view) } window <- gtkWindowNew("toplevel", show = F) window$setDefaultSize(400, 200) vbox <- gtkVBoxNew(FALSE, 0) window$add(vbox) label <- gtkLabelNew("\nDrag and drop links from your browser into the tree view.\n") vbox$packStart(label, FALSE, FALSE, 0) view <- create.view.and.model() vbox$packStart(view, TRUE, TRUE, 0) window$showAll() RGtk2/demo/spinner.R0000644000176000001440000000223211766145227013772 0ustar ripleyuserson_play_clicked <- function(button, user_data) { spinner_sensitive$start() spinner_unsensitive$start() } on_stop_clicked <- function(button, user_data) { spinner_sensitive$stop() spinner_unsensitive$stop() } window <- gtkDialog("GtkSpinner", NULL, 0, "gtk-close", GtkResponseType["none"]) window$setResizable(FALSE) gSignalConnect(window, "response", gtkWidgetDestroy) gSignalConnect(window, "destroy", gtkWidgetDestroy) content_area <- window$getContentArea() vbox <- gtkVBox(FALSE, 5) content_area$packStart(vbox) vbox$setBorderWidth(5) ## Sensitive hbox <- gtkHBox(FALSE, 5) spinner <- gtkSpinner() hbox$add(spinner) hbox$add(gtkEntry()) vbox$add(hbox) spinner_sensitive <- spinner ## Disabled hbox <- gtkHBox(FALSE, 5) spinner <- gtkSpinner() hbox$add(spinner) hbox$add(gtkEntry()) vbox$add(hbox) spinner_unsensitive <- spinner hbox$setSensitive(FALSE) button <- gtkButton(stock = GTK_STOCK_MEDIA_PLAY) gSignalConnect(button, "clicked", on_play_clicked, spinner) vbox$add(button) button <- gtkButton(stock = GTK_STOCK_MEDIA_STOP) gSignalConnect(button, "clicked", on_stop_clicked, spinner) vbox$add(button) on_play_clicked(NULL, NULL) RGtk2/demo/expander.R0000644000176000001440000000125411766145227014125 0ustar ripleyuserswindow <- gtkDialogNewWithButtons("GtkExpander", NULL, 0, "gtk-close", GtkResponseType["none"]) window$setResizable(FALSE) gSignalConnect(window, "response", gtkWidgetDestroy) vbox <- gtkVBoxNew(FALSE, 5) window$getContentArea()$packStart(vbox, TRUE, TRUE, 0) vbox$setBorderWidth(5) label <- gtkLabelNew("Expander demo. Click on the triangle for details.") vbox$packStart(label, FALSE, FALSE, 0) # Create the expander expander <- gtkExpanderNew("Details") vbox$packStart(expander, FALSE, FALSE, 0) label <- gtkLabelNew("Details can be shown or hidden.") expander$add(label) window$showAll() RGtk2/demo/clipboard.R0000644000176000001440000000343011766145227014254 0ustar ripleyuserswindow <- NULL copy.button.clicked <- function(button, user.data) { checkPtrType(user.data, "GtkWidget") entry <- user.data clipboard <- entry$getClipboard(GDK_SELECTION_CLIPBOARD) clipboard$setText(entry$getText()) # copy all the text to the clipboard } paste.received <- function(clipboard, text, user.data) { checkPtrType(user.data, "GtkWidget") entry <- user.data entry$setText(text) } paste.button.clicked <- function(button, user.data) { checkPtrType(user.data, "GtkWidget") entry <- user.data clipboard <- entry$getClipboard(GDK_SELECTION_CLIPBOARD) # Request the contents of the clipboard, paste.received will be # called when we do get the contents. clipboard$requestText(paste.received, entry) } window <- gtkWindowNew("toplevel", show=F) vbox <- gtkVBoxNew(FALSE, 0) vbox$setBorderWidth(8) window$add(vbox) label <- gtkLabelNew("\"Copy\" will copy the text\nin the entry to the clipboard") vbox$packStart(label, FALSE, FALSE, 0) hbox <- gtkHBoxNew(FALSE, 4) hbox$setBorderWidth(8) vbox$packStart(hbox, FALSE, FALSE, 0) # Create the first entry entry <- gtkEntryNew() hbox$packStart(entry, TRUE, TRUE, 0) # Create the button button <- gtkButtonNewFromStock("gtk-copy") hbox$packStart(button, FALSE, FALSE, 0) gSignalConnect(button, "clicked", copy.button.clicked, entry) label <- gtkLabelNew("\"Paste\" will paste the text from the clipboard to the entry") vbox$packStart(label, FALSE, FALSE, 0) hbox <- gtkHBoxNew(FALSE, 4) hbox$setBorderWidth(8) vbox$packStart(hbox, FALSE, FALSE, 0) # Create the second entry entry <- gtkEntryNew() hbox$packStart(entry, TRUE, TRUE, 0) # Create the button button <- gtkButtonNewFromStock("gtk-paste") hbox$packStart(button, FALSE, FALSE, 0) gSignalConnect(button, "clicked", paste.button.clicked, entry) window$showAll() RGtk2/demo/colorSelector.R0000644000176000001440000000365411766145227015144 0ustar ripleyuserswindow <- NULL da <- NULL color <- NULL frame <- NULL # Expose callback for the drawing area # This is where we actually draw the color rectangle expose.event.callback <- function(widget, event, data) { if (!is.null(widget[["window"]])) { style <- widget$getStyle() cr <- gdkCairoCreate(widget[["window"]]) gdkCairoSetSourceColor(cr, style[["bg"]][[GtkStateType["normal"]+1L]]) gdkCairoRectangle(cr, event[["area"]]) cr$fill() } TRUE } # show a color selection dialog and save the selected color change.color.callback <- function(button, data) { dialog <- gtkColorSelectionDialogNew("Changing color", show=F) dialog$setTransientFor(window) colorsel <- dialog$getColorSelection() colorsel$setPreviousColor(color) colorsel$setCurrentColor(color) colorsel$setHasPalette(TRUE) response <- dialog$run() if (response == GtkResponseType["ok"]) { color <- colorsel$getCurrentColor()$color # save the color in the graphics context da$modifyBg("normal", color) } dialog$destroy() } # initialize color to blue (r,g,b) color <- c(red=0, green=0, blue=65535) # make a window window <- gtkWindowNew("topleve") window$setTitle("Color Selection") window$setBorderWidth(8) # add a vertical layout vbox <- gtkVBoxNew(FALSE, 8) vbox$setBorderWidth(8) window$add(vbox) # # Create the color swatch area # frame <- gtkFrameNew() frame$setShadowType("in") vbox$packStart(frame, TRUE, TRUE, 0) da <- gtkDrawingAreaNew() gSignalConnect(da, "expose_event", expose.event.callback) # set a minimum size da$setSizeRequest(200, 200) # set the color da$modifyBg("normal", color) frame$add(da) # make button line up nicely alignment <- gtkAlignmentNew(1.0, 0.5, 0.0, 0.0) button <- gtkButtonNewWithMnemonic("_Change the above color") alignment$add(button) vbox$packStart(alignment, FALSE, FALSE, 0) gSignalConnect(button, "clicked", change.color.callback) gtkWidgetShowAll(window) RGtk2/demo/text-scroll.R0000644000176000001440000000666411766145227014611 0ustar ripleyuserslibrary(RGtk2) countend <- 0 scroll_to_end <- function(textview) { buffer <- textview$getBuffer() # Get "end" mark. It's located at the end of buffer because # of right gravity mark <- buffer$getMark("end") iter <- buffer$getIterAtMark(mark)$iter # and insert some text at its position, the iter will be # revalidated after insertion to point to the end of inserted text countend <<- countend + 1 spaces <- paste(rep(" ", countend), collapse = "") buffer$insert(iter, "\n") buffer$insert(iter, spaces) buffer$insert(iter, "Scroll to end scroll to end scroll to end scroll to end") # Now scroll the end mark onscreen. textview$scrollMarkOnscreen(mark) # Emulate typewriter behavior, shift to the left if we # are far enough to the right. if (countend > 150) countend <<- 0 return(TRUE) } countbot <- 0 # Scroll to the bottom of the buffer. scroll_to_bottom <- function(textview) { buffer <- textview$getBuffer() ## Get end iterator iter <- buffer$getEndIter()$iter # and insert some text at it, the iter will be revalidated # after insertion to point to the end of inserted text countbot <<- countbot + 1 spaces <- paste(rep(" ", countbot), collapse = "") buffer$insert(iter, "\n") buffer$insert(iter, spaces) buffer$insert(iter, "Scroll bottom scroll bottom scroll bottom scroll bottom") # Move the iterator to the beginning of line, so we don't scroll # in horizontal direction iter$setLineOffset(0) # and place the mark at iter. the mark will stay there after we # insert some text at the end because it has right gravity. mark <- buffer$getMark("scroll") buffer$moveMark(mark, iter) # Scroll the mark onscreen. textview$scrollMarkOnscreen(mark) # Shift text back if we got enough to the right. if (countbot > 40) countbot <<- 0 return(TRUE) } setup_scroll <- function(textview, to_end) { buffer <- textview$getBuffer() iter <- buffer$getEndIter()$iter if (to_end) { ## If we want to scroll to the end, including horizontal scrolling, ## then we just create a mark with right gravity at the end of the ## buffer. It will stay at the end unless explicitely moved with ## gtk_text_buffer_move_mark. buffer$createMark("end", iter, FALSE) ## Add scrolling timeout. return(gTimeoutAdd(50, scroll_to_end, textview)) } else { ## If we want to scroll to the bottom, but not scroll horizontally, ## then an end mark won't do the job. Just create a mark so we can ## use it with gtk_text_view_scroll_mark_onscreen, we'll position it ## explicitely when needed. Use left gravity so the mark stays where ## we put it after inserting new text. buffer$createMark("scroll", iter, TRUE) ## Add scrolling timeout. return(gTimeoutAdd (100, scroll_to_bottom, textview)) } } remove_timeout <- function(window, timeout) { gSourceRemove(timeout) } create_text_view <- function(hbox, to_end) { swindow <- gtkScrolledWindow() hbox$packStart(swindow) textview <- gtkTextView() swindow$add(textview) timeout <- setup_scroll (textview, to_end) ## Remove the timeout in destroy handler, so we don't try to ## scroll destroyed widget. gSignalConnect(textview, "destroy", remove_timeout, timeout) } window <- gtkWindow(show = FALSE) window$setDefaultSize(600, 400) hbox <- gtkHBox(TRUE, 6) window$add(hbox) create_text_view(hbox, TRUE) create_text_view(hbox, FALSE) window$showAll() RGtk2/INSTALL0000644000176000001440000000161611766145227012303 0ustar ripleyusersThis package can be installed as a regular R package. In other words, the command R CMD INSTALL RGtk2 On Windows, the user should set the environment variable GTK_PATH to the location of the root directory of the GTK distribution (ie c:\GTK). The binary version of this package for Windows can simply be installed using the Windows R GUI. In all cases (i.e. Unix or Windows, source or binary), you will need to have the appropriate Gtk libraries. For Windows, you can download the GTK Developer's Pack from http://gladewin32.sourceforge.net/ For Unix, you can fetch the source files for the different libraries from ftp://ftp.gtk.org/pub/gtk/v2.8/ GTK makes extensive use of other libraries and particular versions of these dependant libraries. As a result, installing GTK (under Unix) can be a time consuming and apparently indirect process that involves installing numerous sub-libraries. RGtk2/R/0000755000176000001440000000000012362467242011444 5ustar ripleyusersRGtk2/R/coerce.R0000644000176000001440000000113211766145227013027 0ustar ripleyusersas.struct <- function(x, type, fields) { if (is.null(x)) stop("Cannot coerce NULL struct") x <- c(x, vector("list", length(fields) - length(x))) struct <- vector(mode="list", length(fields)) names(struct) <- fields struct <- as.list(match.call(as.function(c(struct, "")), as.call(c("", x))))[-1] class(struct) <- type struct } if (FALSE) { as.enum <- function(val, type) { if(inherits(val, type)) return(val) .Call("R_asEnum", val, type, PACKAGE="RGtk2") } flag <- function(val, type) { if(inherits(val, type)) return(val) .Call("R_asFlag", val, type, PACKAGE="RGtk2") } } RGtk2/R/classes.R0000644000176000001440000002334011766145227013231 0ustar ripleyusers# how are the overrides structured? # list( # GtkWidget = list(method1 = function() {...}, # method2 = function() {...}, # ... # ), # GtkContainer = list(...), # ... # ) # .reserved <- c(".props", ".prop_overrides", ".initialize", ".signals", ".public", ".protected", ".private") # FIXME: Should we really require that interfaces be specified only within # the class definition - no explicit argument? gClass <- function(name, parent = "GObject", ..., abstract = FALSE) { virtuals <- as.list(.virtuals) # make sure name is valid name <- as.character(name) if (!length(name) || nchar(name) < 3) stop("Type name must be coerceable to a string and be at least 3 characters long") invalid_chars <- sub("^[a-zA-Z_][a-zA-Z+\\-_0-9]*", "", name) if (nchar(invalid_chars)) stop("The characters \"", invalid_chars, "\" are invalid. Names must start with", " a letter or '_' and contain only letters, numbers, or any of '+-_'") # validate parent type parent <- as.character(parent) full_hierarchy <- gTypeGetAncestors(parent) if (!length(full_hierarchy) || full_hierarchy[length(full_hierarchy)] != "GObject") stop("Parent type ", parent, " is not a GObject-derived type") # process class definition class_list <- list(...) missing_method_lists <- setdiff(c(".public", ".protected", ".private"), names(class_list)) class_list[missing_method_lists] <- list(structure(list(), names = character())) types <- class_list[!(names(class_list) %in% .reserved)] known_types <- names(types) %in% names(virtuals) if (any(!known_types)) warning("The types ", paste(names(types)[!known_types], collapse=","), " are not recognized") types <- types[known_types] ancestors <- lapply(names(types), gTypeGetAncestors) interfaces <- as.logical(sapply(ancestors, function(hierarchy) hierarchy[length(hierarchy)] == "GInterface")) classes <- types[!interfaces] interface_names <- names(types)[interfaces] # try to detect problems in class definition ancestors <- ancestors[!interfaces] ancestor_lengths <- sapply(ancestors, length) parallel_hierarchies <- duplicated(ancestor_lengths) if (any(parallel_hierarchies)) stop("The following classes have parallel hierarchies: ", paste(sapply(ancestor_lengths[parallel_hierarchies], function(dup) paste("(", paste(classes[ancestor_lengths == dup], collapse=","), ")", sep=""), collapse=","))) inconsistents <- !(unlist(ancestors) %in% full_hierarchy) if (any(inconsistents)) stop("Inconsistent hierarchy detected. The classes ", paste(unique(unlist(ancestors)[inconsistents]), collapse=","), " are not present in the full hierarchy: ", paste(full_hierarchy, collapse=",")) # fill in the gaps missing_classes <- which(!(full_hierarchy %in% names(classes))) types[full_hierarchy[missing_classes]] <- replicate(length(missing_classes), list()) # don't want to fill in the virtuals for SGObject parents sapply(names(types), function(type_name) if (!("SGObject" %in% gTypeGetInterfaces(type_name))) types[[type_name]] <<- types[[type_name]][virtuals[[type_name]]]) # check init function init <- class_list$.init if (!is.null(init)) init <- as.function(init) # check property paramspecs props <- lapply(class_list$.props, as.GParamSpec) # and get any overriden properties prop_overrides <- as.character(class_list$.prop_overrides) # check signals signal_fields <- c("name", "param_types", "ret_type", "flags") signals <- lapply(class_list$.signals, function(signal) { signal <- as.struct(signal, "GSignal", signal_fields) name <- as.character(signal[[1]]) invalid_chars <- sub("^[a-zA-Z][a-zA-Z_-]*", "", name) if (nchar(invalid_chars)) stop("Invalid signal name: ", name, ". Signal names must start with a letter", " and contain only letters, '-', or '_'") signal[[1]] <- name flags <- signal[[4]] if (is.null(flags)) flags <- c("run-last", "action") if (is.character(flags)) flags <- sum(GSignalFlags[flags]) signal[[4]] <- as.numeric(flags) if (is.null(signal[[3]])) signal[[3]] <- "void" signal[[3]] <- as.GType(signal[[3]]) signal[[2]] <- lapply(signal[[2]], as.GType) signal }) whichFuncs <- function(env, syms) as.logical(unlist(sapply(mget(syms, env), is.function))) # get the public members (env locked, fields locked, functions locked) # public env is static, so always inherits from parent public_parent <- emptyenv() if ("SGObject" %in% gTypeGetInterfaces(parent)) public_parent <- .Call("S_g_object_type_get_public_env", parent, PACKAGE = "RGtk2") publics <- list2env(class_list$.public, parent = public_parent) public_syms <- ls(publics) public_which_funcs <- whichFuncs(publics, public_syms) # this can be retrieved by R, so lock it now lockEnvironment(publics, TRUE) # get the protected members (env locked, fields unlocked, functions locked) # protected is attached to parent after being cloned protecteds <- list2env(class_list$.protected) protected_syms <- ls(protecteds) protected_which_funcs <- whichFuncs(protecteds, protected_syms) # get the private members (env unlocked, fields and methods unlocked) # private env inherits from protected after cloning privates <- list2env(class_list$.private) private_syms <- ls(privates) # check for conflicts between declared members syms <- c(private_syms, protected_syms, public_syms) sym_dups <- duplicated(syms) if (any(sym_dups)) stop("Duplicate symbols in class definition: ", paste(unique(syms[sym_dups]), collapse = ", ")) # check for conflicts with ancestors # just returns NULL when it can't find something mget_null <- function(x, envir) mget(x, envir, ifnotfound = vector("list", length(x))) ancestor_syms <- unlist(c(mget_null(names(types), .virtuals), mget_null(names(types), .fields))) ancestor_conflicts <- ancestor_syms %in% syms if (any(ancestor_conflicts)) stop("Declared symbols already declared in parent: ", paste(ancestor_syms[ancestor_conflicts], collapse = ", ")) # assume all public and protected methods are "virtuals" my_virtuals <- list(c(public_syms[public_which_funcs], protected_syms[protected_which_funcs])) names(my_virtuals) <- name registerVirtuals(my_virtuals) # remember all public and protected fields to avoid conflicts my_fields <- list(c(public_syms[!public_which_funcs], protected_syms[!protected_which_funcs])) names(my_fields) <- name .registerFields(my_fields) # create new type that extends specified class and implements specified interfaces get_class_init_funcs <- function(class_name) paste("S", sapply(class_name, .collapseClassName), "class_init", sep="_") class_init_funcs <- get_class_init_funcs(full_hierarchy) parent_class_init <- class_init_funcs[sapply(class_init_funcs, is.loaded)][1] class_init_sym <- getNativeSymbolInfo(parent_class_init)$address interface_init_syms <- NULL if (length(interface_names)) interface_init_syms <- sapply(get_class_init_funcs(interface_names), function(interface_name) getNativeSymbolInfo(interface_name)$address) class_env <- list2env(types) assign(".initialize", init, class_env) # add public, protected, and private to the class env # they need to be cloned and given the corresponding cloned environments # from the parent class (except private) during instantiation assign(".public", publics, class_env) assign(".protected", protecteds, class_env) assign(".private", privates, class_env) # put properties in class_env too, so that they can be registered during # class initialization assign(".props", props, class_env) assign(".prop_overrides", prop_overrides, class_env) .RGtkCall("S_gobject_class_new", name, parent, interface_names, class_init_sym, interface_init_syms, class_env, signals, abstract) } registerVirtuals <- function(virtuals) { list2env(virtuals, .virtuals) } .registerFields <- function(fields) { list2env(fields, .fields) } gObjectParentClass <- function(obj) { gTypeGetClass(class(obj)[2]) } assignProp <- function(obj, pspec, value) { stopifnot(implements(obj, "SGObject")) assign(pspec$name, value, attr(obj, ".private")) } getProp <- function(obj, pspec) { stopifnot(implements(obj, "SGObject")) get(pspec$name, attr(obj, ".private")) } # takes vector of class env's starting from root, clones the protected env's, # establishes the inheritance structure, and then clones the private env # for the leaf type, inheriting from its protected env # finally, needs to copy overrides from static env to public/protected envs # the functions are static, but this way we just worry about 2 environments in R .instanceEnv <- function(hierarchy) { static <- hierarchy[[length(hierarchy)]] prot <- emptyenv() sapply(hierarchy, function(env) { prot <<- list2env(as.list(env$.protected), parent = prot) }) priv <- list2env(as.list(static$.private), parent = prot) pub <- static$.public assign(".public", pub, static) # ???? # if something in static exists in public or protected (parents), copy it over static_syms <- ls(static) static_syms <- setdiff(static_syms, .reserved) list2env(mget(intersect(static_syms, ls(pub)), static), pub) list2env(mget(intersect(static_syms, ls(priv)), static), priv) # note that C overrides are not copied here, and they shouldn't be # need to lock up the envs now (public completely, protected just funcs) lockEnvironment(pub, TRUE) lockEnvironment(prot) prot_syms <- ls(prot) prot_funcs <- as.logical(sapply(mget(prot_syms, prot), is.function)) sapply(prot_syms[prot_funcs], lockBinding, prot) priv } RGtk2/R/giozConstructors.R0000644000176000001440000000360411766145227015176 0ustar ripleyusersgAppLaunchContext <- gAppLaunchContextNew gCancellable <- gCancellableNew gFilenameCompleter <- gFilenameCompleterNew gFileInfo <- gFileInfoNew gBufferedInputStream <- function(base.stream, size) { if (!missing(size)) { gBufferedInputStreamNewSized(base.stream, size) } else { gBufferedInputStreamNew(base.stream) } } gDataInputStream <- gDataInputStreamNew gMemoryInputStream <- function(data) { if (!missing(data)) { gMemoryInputStreamNewFromData(data) } else { gMemoryInputStreamNew() } } gMountOperation <- gMountOperationNew gMemoryOutputStream <- gMemoryOutputStreamNew gBufferedOutputStream <- function(base.stream, size) { if (!missing(size)) { gBufferedOutputStreamNewSized(base.stream, size) } else { gBufferedOutputStreamNew(base.stream) } } gDataOutputStream <- gDataOutputStreamNew gSimpleAsyncResult <- function(source.object, callback, user.data = NULL, source.tag, domain, code, format, ...) { if (!missing(source.tag)) { gSimpleAsyncResultNew(source.object, callback, user.data, source.tag) } else { if (!missing(domain)) { gSimpleAsyncResultNewError(source.object, callback, user.data, domain, code, format, ...) } else { gSimpleAsyncResultNewFromError(source.object, callback, user.data) } } } gFileIcon <- gFileIconNew gThemedIcon <- function(iconname, iconnames, len) { if (!missing(iconname)) { gThemedIconNew(iconname) } else { gThemedIconNewFromNames(iconnames, len) } } gEmblem <- function(icon, origin) { gEmblemNew(icon, origin) } gEmblemedIcon <- gEmblemedIconNew gNetworkAddress <- gNetworkAddressNew gNetworkService <- gNetworkServiceNew gSocket <- gSocketNew gSocketClient <- gSocketClientNew gSocketListener <- gSocketListenerNew gSocketService <- gSocketServiceNew gThreadedSocketService <- gThreadedSocketServiceNew gInetSocketAddress <- gInetSocketAddressNew RGtk2/R/stock.R0000644000176000001440000000664411766145227012727 0ustar ripleyusersGTK_STOCK_ZOOM_OUT <- "gtk-zoom-out" GTK_STOCK_ZOOM_IN <- "gtk-zoom-in" GTK_STOCK_ZOOM_FIT <- "gtk-zoom-fit" GTK_STOCK_ZOOM_100 <- "gtk-zoom-100" GTK_STOCK_YES <- "gtk-yes" GTK_STOCK_UNINDENT <- "gtk-unindent" GTK_STOCK_UNDO <- "gtk-undo" GTK_STOCK_UNDERLINE <- "gtk-underline" GTK_STOCK_UNDELETE <- "gtk-undelete" GTK_STOCK_STRIKETHROUGH <- "gtk-strikethrough" GTK_STOCK_STOP <- "gtk-stop" GTK_STOCK_SPELL_CHECK <- "gtk-spell-check" GTK_STOCK_SORT_DESCENDING <- "gtk-sort-descending" GTK_STOCK_SORT_ASCENDING <- "gtk-sort-ascending" GTK_STOCK_SELECT_FONT <- "gtk-select-font" GTK_STOCK_SELECT_COLOR <- "gtk-select-color" GTK_STOCK_SAVE_AS <- "gtk-save-as" GTK_STOCK_SAVE <- "gtk-save" GTK_STOCK_REVERT_TO_SAVED <- "gtk-revert-to-saved" GTK_STOCK_REMOVE <- "gtk-remove" GTK_STOCK_REFRESH <- "gtk-refresh" GTK_STOCK_REDO <- "gtk-redo" GTK_STOCK_QUIT <- "gtk-quit" GTK_STOCK_PROPERTIES <- "gtk-properties" GTK_STOCK_PRINT_PREVIEW <- "gtk-print-preview" GTK_STOCK_PRINT <- "gtk-print" GTK_STOCK_PREFERENCES <- "gtk-preferences" GTK_STOCK_PASTE <- "gtk-paste" GTK_STOCK_OPEN <- "gtk-open" GTK_STOCK_OK <- "gtk-ok" GTK_STOCK_NO <- "gtk-no" GTK_STOCK_NEW <- "gtk-new" GTK_STOCK_NETWORK <- "gtk-network" GTK_STOCK_MISSING_IMAGE <- "gtk-missing-image" GTK_STOCK_MEDIA_STOP <- "gtk-media-stop" GTK_STOCK_MEDIA_REWIND <- "gtk-media-rewind" GTK_STOCK_MEDIA_RECORD <- "gtk-media-record" GTK_STOCK_MEDIA_PREVIOUS <- "gtk-media-previous" GTK_STOCK_MEDIA_PLAY <- "gtk-media-play" GTK_STOCK_MEDIA_PAUSE <- "gtk-media-pause" GTK_STOCK_MEDIA_NEXT <- "gtk-media-next" GTK_STOCK_MEDIA_FORWARD <- "gtk-media-forward" GTK_STOCK_LEAVE_FULLSCREEN <- "gtk-leave-fullscreen" GTK_STOCK_JUSTIFY_RIGHT <- "gtk-justify-right" GTK_STOCK_JUSTIFY_LEFT <- "gtk-justify-left" GTK_STOCK_JUSTIFY_FILL <- "gtk-justify-fill" GTK_STOCK_JUSTIFY_CENTER <- "gtk-justify-center" GTK_STOCK_JUMP_TO <- "gtk-jump-to" GTK_STOCK_ITALIC <- "gtk-italic" GTK_STOCK_INFO <- "gtk-info" GTK_STOCK_INDEX <- "gtk-index" GTK_STOCK_INDENT <- "gtk-indent" GTK_STOCK_HOME <- "gtk-home" GTK_STOCK_HELP <- "gtk-help" GTK_STOCK_HARDDISK <- "gtk-harddisk" GTK_STOCK_GOTO_TOP <- "gtk-goto-top" GTK_STOCK_GOTO_LAST <- "gtk-goto-last" GTK_STOCK_GOTO_FIRST <- "gtk-goto-first" GTK_STOCK_GOTO_BOTTOM <- "gtk-goto-bottom" GTK_STOCK_GO_UP <- "gtk-go-up" GTK_STOCK_GO_FORWARD <- "gtk-go-forward" GTK_STOCK_GO_DOWN <- "gtk-go-down" GTK_STOCK_GO_BACK <- "gtk-go-back" GTK_STOCK_FULLSCREEN <- "gtk-fullscreen" GTK_STOCK_FLOPPY <- "gtk-floppy" GTK_STOCK_FIND_AND_REPLACE <- "gtk-find-and-replace" GTK_STOCK_FIND <- "gtk-find" GTK_STOCK_FILE <- "gtk-file" GTK_STOCK_EXECUTE <- "gtk-execute" GTK_STOCK_EDIT <- "gtk-edit" GTK_STOCK_DND_MULTIPLE <- "gtk-dnd-multiple" GTK_STOCK_DND <- "gtk-dnd" GTK_STOCK_DISCONNECT <- "gtk-disconnect" GTK_STOCK_DIRECTORY <- "gtk-directory" GTK_STOCK_DIALOG_WARNING <- "gtk-dialog-warning" GTK_STOCK_DIALOG_QUESTION <- "gtk-dialog-question" GTK_STOCK_DIALOG_INFO <- "gtk-dialog-info" GTK_STOCK_DIALOG_ERROR <- "gtk-dialog-error" GTK_STOCK_DIALOG_AUTHENTICATION <- "gtk-dialog-authentication" GTK_STOCK_DELETE <- "gtk-delete" GTK_STOCK_CUT <- "gtk-cut" GTK_STOCK_COPY <- "gtk-copy" GTK_STOCK_CONVERT <- "gtk-convert" GTK_STOCK_CONNECT <- "gtk-connect" GTK_STOCK_COLOR_PICKER <- "gtk-color-picker" GTK_STOCK_CLOSE <- "gtk-close" GTK_STOCK_CLEAR <- "gtk-clear" GTK_STOCK_CDROM <- "gtk-cdrom" GTK_STOCK_CANCEL <- "gtk-cancel" GTK_STOCK_BOLD <- "gtk-bold" GTK_STOCK_APPLY <- "gtk-apply" GTK_STOCK_ADD <- "gtk-add" GTK_STOCK_ABOUT <- "gtk-about"RGtk2/R/pangoCoerce.R0000644000176000001440000000066011766145227014021 0ustar ripleyusers#as.PangoMatrix <- #function(x) #{ # x <- as.struct(x, "PangoMatrix", c("xx", "xy", "yx", "yy", "x0", "y0")) # x[[1]] <- as.numeric(x[[1]]) # x[[2]] <- as.numeric(x[[2]]) # x[[3]] <- as.numeric(x[[3]]) # x[[4]] <- as.numeric(x[[4]]) # x[[5]] <- as.numeric(x[[5]]) # x[[6]] <- as.numeric(x[[6]]) # # return(x) #} as.PangoRectangle <- function(x) { x <- as.GdkRectangle(x) class(x) <- "PangoRectangle" x } RGtk2/R/atkEnumDefs.R0000644000176000001440000001027512362217673014003 0ustar ripleyusersAtkRole<-c("invalid" = 0, "accel-label" = 1, "alert" = 2, "animation" = 3, "arrow" = 4, "calendar" = 5, "canvas" = 6, "check-box" = 7, "check-menu-item" = 8, "color-chooser" = 9, "column-header" = 10, "combo-box" = 11, "date-editor" = 12, "desktop-icon" = 13, "desktop-frame" = 14, "dial" = 15, "dialog" = 16, "directory-pane" = 17, "drawing-area" = 18, "file-chooser" = 19, "filler" = 20, "font-chooser" = 21, "frame" = 22, "glass-pane" = 23, "html-container" = 24, "icon" = 25, "image" = 26, "internal-frame" = 27, "label" = 28, "layered-pane" = 29, "list" = 30, "list-item" = 31, "menu" = 32, "menu-bar" = 33, "menu-item" = 34, "option-pane" = 35, "page-tab" = 36, "page-tab-list" = 37, "panel" = 38, "password-text" = 39, "popup-menu" = 40, "progress-bar" = 41, "push-button" = 42, "radio-button" = 43, "radio-menu-item" = 44, "root-pane" = 45, "row-header" = 46, "scroll-bar" = 47, "scroll-pane" = 48, "separator" = 49, "slider" = 50, "split-pane" = 51, "spin-button" = 52, "statusbar" = 53, "table" = 54, "table-cell" = 55, "table-column-header" = 56, "table-row-header" = 57, "tear-off-menu-item" = 58, "terminal" = 59, "text" = 60, "toggle-button" = 61, "tool-bar" = 62, "tool-tip" = 63, "tree" = 64, "tree-table" = 65, "unknown" = 66, "viewport" = 67, "window" = 68, "header" = 69, "footer" = 70, "paragraph" = 71, "ruler" = 72, "application" = 73, "autocomplete" = 74, "editbar" = 75, "embedded" = 76, "form" = 77, "last-defined" = 78) storage.mode(AtkRole) <- 'integer' class(AtkRole) <- 'enums' AtkLayer<-c("invalid" = 0, "background" = 1, "canvas" = 2, "widget" = 3, "mdi" = 4, "popup" = 5, "overlay" = 6, "window" = 7) storage.mode(AtkLayer) <- 'integer' class(AtkLayer) <- 'enums' AtkRelationType<-c("null" = 0, "controlled-by" = 1, "controller-for" = 2, "label-for" = 3, "labelled-by" = 4, "member-of" = 5, "node-child-of" = 6, "flows-to" = 7, "flows-from" = 8, "subwindow-of" = 9, "embeds" = 10, "embedded-by" = 11, "popup-for" = 12, "parent-window-of" = 13, "description-for" = 14, "described-by" = 15, "last-defined" = 16) storage.mode(AtkRelationType) <- 'integer' class(AtkRelationType) <- 'enums' AtkStateType<-c("invalid" = 0, "active" = 1, "armed" = 2, "busy" = 3, "checked" = 4, "defunct" = 5, "editable" = 6, "enabled" = 7, "expandable" = 8, "expanded" = 9, "focusable" = 10, "focused" = 11, "horizontal" = 12, "iconified" = 13, "modal" = 14, "multi-line" = 15, "multiselectable" = 16, "opaque" = 17, "pressed" = 18, "resizable" = 19, "selectable" = 20, "selected" = 21, "sensitive" = 22, "showing" = 23, "single-line" = 24, "stale" = 25, "transient" = 26, "vertical" = 27, "visible" = 28, "manages-descendants" = 29, "indeterminate" = 30, "truncated" = 31, "required" = 32, "animated" = 33, "visited" = 34, "default" = 35, "last-defined" = 36) storage.mode(AtkStateType) <- 'integer' class(AtkStateType) <- 'enums' AtkTextAttribute<-c("invalid" = 0, "left-margin" = 1, "right-margin" = 2, "indent" = 3, "invisible" = 4, "editable" = 5, "pixels-above-lines" = 6, "pixels-below-lines" = 7, "pixels-inside-wrap" = 8, "bg-full-height" = 9, "rise" = 10, "underline" = 11, "strikethrough" = 12, "size" = 13, "scale" = 14, "weight" = 15, "language" = 16, "family-name" = 17, "bg-color" = 18, "fg-color" = 19, "bg-stipple" = 20, "fg-stipple" = 21, "wrap-mode" = 22, "direction" = 23, "justification" = 24, "stretch" = 25, "variant" = 26, "style" = 27, "last-defined" = 28) storage.mode(AtkTextAttribute) <- 'integer' class(AtkTextAttribute) <- 'enums' AtkTextClipType<-c("none" = 0, "min" = 1, "max" = 2, "both" = 3) storage.mode(AtkTextClipType) <- 'integer' class(AtkTextClipType) <- 'enums' AtkTextBoundary<-c("char" = 0, "word-start" = 1, "word-end" = 2, "sentence-start" = 3, "sentence-end" = 4, "line-start" = 5, "line-end" = 6) storage.mode(AtkTextBoundary) <- 'integer' class(AtkTextBoundary) <- 'enums' AtkKeyEventType<-c("press" = 0, "release" = 1, "last-defined" = 2) storage.mode(AtkKeyEventType) <- 'integer' class(AtkKeyEventType) <- 'enums' AtkCoordType<-c("screen" = 0, "window" = 1) storage.mode(AtkCoordType) <- 'integer' class(AtkCoordType) <- 'enums' RGtk2/R/gdkEnumDefs.R0000644000176000001440000002551512362217673013774 0ustar ripleyusersGdkCursorType<-c("x_cursor" = 0, "arrow" = 2, "based_arrow_down" = 4, "based_arrow_up" = 6, "boat" = 8, "bogosity" = 10, "bottom_left_corner" = 12, "bottom_right_corner" = 14, "bottom_side" = 16, "bottom_tee" = 18, "box_spiral" = 20, "center_ptr" = 22, "circle" = 24, "clock " = 26, "coffee_mug" = 28, "cross" = 30, "cross_reverse" = 32, "crosshair" = 34, "diamond_cross" = 36, "dot" = 38, "dotbox" = 40, "double_arrow" = 42, "draft_large" = 44, "draft_small" = 46, "draped_box" = 48, "exchange" = 50, "fleur" = 52, "gobbler" = 54, "gumby" = 56, "hand1" = 58, "hand2" = 60, "heart" = 62, "icon" = 64, "iron_cross" = 66, "left_ptr" = 68, "left_side" = 70, "left_tee" = 72, "leftbutton" = 74, "ll_angle" = 76, "lr_angle" = 78, "man" = 80, "middlebutton" = 82, "mouse" = 84, "pencil" = 86, "pirate" = 88, "plus" = 90, "question_arrow" = 92, "right_ptr" = 94, "right_side" = 96, "right_tee" = 98, "rightbutton" = 100, "rtl_logo" = 102, "sailboat" = 104, "sb_down_arrow" = 106, "sb_h_double_arrow" = 108, "sb_left_arrow" = 110, "sb_right_arrow" = 112, "sb_up_arrow" = 114, "sb_v_double_arrow" = 116, "shuttle" = 118, "sizing" = 120, "spider " = 122, "spraycan" = 124, "star" = 126, "target" = 128, "tcross" = 130, "top_left_arrow" = 132, "top_left_corner" = 134, "top_right_corner" = 136, "top_side" = 138, "top_tee" = 140, "trek" = 142, "ul_angle" = 144, "umbrella" = 146, "ur_angle" = 148, "watch" = 150, "xterm" = 152, "last-cursor" = 153, "gdk-cursor-is-pixmap" = -1) storage.mode(GdkCursorType) <- 'integer' class(GdkCursorType) <- 'enums' GdkDragProtocol<-c("motif" = 0, "xdnd" = 1, "rootwin" = 2, "none" = 3, "win32-dropfiles" = 4, "ole2" = 5, "local" = 6) storage.mode(GdkDragProtocol) <- 'integer' class(GdkDragProtocol) <- 'enums' GdkFilterReturn<-c("continue" = 0, "translate" = 1, "remove" = 2) storage.mode(GdkFilterReturn) <- 'integer' class(GdkFilterReturn) <- 'enums' GdkEventType<-c("nothing" = -1, "delete" = 0, "destroy" = 1, "expose" = 2, "motion-notify" = 3, "button-press" = 4, "2button-press" = 5, "3button-press" = 6, "button-release" = 7, "key-press" = 8, "key-release" = 9, "enter-notify" = 10, "leave-notify" = 11, "focus-change" = 12, "configure" = 13, "map" = 14, "unmap" = 15, "property-notify" = 16, "selection-clear" = 17, "selection-request" = 18, "selection-notify" = 19, "proximity-in" = 20, "proximity-out" = 21, "drag-enter" = 22, "drag-leave" = 23, "drag-motion" = 24, "drag-status" = 25, "drop-start" = 26, "drop-finished" = 27, "client-event" = 28, "visibility-notify" = 29, "no-expose" = 30, "scroll" = 31, "window-state" = 32, "setting" = 33, "owner-change" = 34, "grab-broken" = 35, "gdk-damage" = 36) storage.mode(GdkEventType) <- 'integer' class(GdkEventType) <- 'enums' GdkVisibilityState<-c("unobscured" = 0, "partial" = 1, "fully-obscured" = 2) storage.mode(GdkVisibilityState) <- 'integer' class(GdkVisibilityState) <- 'enums' GdkScrollDirection<-c("up" = 0, "down" = 1, "left" = 2, "right" = 3) storage.mode(GdkScrollDirection) <- 'integer' class(GdkScrollDirection) <- 'enums' GdkNotifyType<-c("ancestor" = 0, "virtual" = 1, "inferior" = 2, "nonlinear" = 3, "nonlinear-virtual" = 4, "unknown" = 5) storage.mode(GdkNotifyType) <- 'integer' class(GdkNotifyType) <- 'enums' GdkCrossingMode<-c("normal" = 0, "grab" = 1, "ungrab" = 2) storage.mode(GdkCrossingMode) <- 'integer' class(GdkCrossingMode) <- 'enums' GdkPropertyState<-c("new-value" = 0, "delete" = 1) storage.mode(GdkPropertyState) <- 'integer' class(GdkPropertyState) <- 'enums' GdkSettingAction<-c("new" = 0, "changed" = 1, "deleted" = 2) storage.mode(GdkSettingAction) <- 'integer' class(GdkSettingAction) <- 'enums' GdkFontType<-c("font" = 0, "fontset" = 1) storage.mode(GdkFontType) <- 'integer' class(GdkFontType) <- 'enums' GdkCapStyle<-c("not-last" = 0, "butt" = 1, "round" = 2, "projecting" = 3) storage.mode(GdkCapStyle) <- 'integer' class(GdkCapStyle) <- 'enums' GdkFill<-c("solid" = 0, "tiled" = 1, "stippled" = 2, "opaque-stippled" = 3) storage.mode(GdkFill) <- 'integer' class(GdkFill) <- 'enums' GdkFunction<-c("copy" = 0, "invert" = 1, "xor" = 2, "clear" = 3, "and" = 4, "and-reverse" = 5, "and-invert" = 6, "noop" = 7, "or" = 8, "equiv" = 9, "or-reverse" = 10, "copy-invert" = 11, "or-invert" = 12, "nand" = 13, "nor" = 14, "set" = 15) storage.mode(GdkFunction) <- 'integer' class(GdkFunction) <- 'enums' GdkJoinStyle<-c("miter" = 0, "round" = 1, "bevel" = 2) storage.mode(GdkJoinStyle) <- 'integer' class(GdkJoinStyle) <- 'enums' GdkLineStyle<-c("solid" = 0, "on-off-dash" = 1, "double-dash" = 2) storage.mode(GdkLineStyle) <- 'integer' class(GdkLineStyle) <- 'enums' GdkSubwindowMode<-c("clip-by-children" = 0, "include-inferiors" = 1) storage.mode(GdkSubwindowMode) <- 'integer' class(GdkSubwindowMode) <- 'enums' GdkImageType<-c("normal" = 0, "shared" = 1, "fastest" = 2) storage.mode(GdkImageType) <- 'integer' class(GdkImageType) <- 'enums' GdkExtensionMode<-c("none" = 0, "all" = 1, "cursor" = 2) storage.mode(GdkExtensionMode) <- 'integer' class(GdkExtensionMode) <- 'enums' GdkInputSource<-c("mouse" = 0, "pen" = 1, "eraser" = 2, "cursor" = 3) storage.mode(GdkInputSource) <- 'integer' class(GdkInputSource) <- 'enums' GdkInputMode<-c("disabled" = 0, "screen" = 1, "window" = 2) storage.mode(GdkInputMode) <- 'integer' class(GdkInputMode) <- 'enums' GdkAxisUse<-c("ignore" = 0, "x" = 1, "y" = 2, "pressure" = 3, "xtilt" = 4, "ytilt" = 5, "wheel" = 6, "last" = 7) storage.mode(GdkAxisUse) <- 'integer' class(GdkAxisUse) <- 'enums' GdkPropMode<-c("replace" = 0, "prepend" = 1, "append" = 2) storage.mode(GdkPropMode) <- 'integer' class(GdkPropMode) <- 'enums' GdkFillRule<-c("even-odd-rule" = 0, "winding-rule" = 1) storage.mode(GdkFillRule) <- 'integer' class(GdkFillRule) <- 'enums' GdkOverlapType<-c("in" = 0, "out" = 1, "part" = 2) storage.mode(GdkOverlapType) <- 'integer' class(GdkOverlapType) <- 'enums' GdkRgbDither<-c("none" = 0, "normal" = 1, "max" = 2) storage.mode(GdkRgbDither) <- 'integer' class(GdkRgbDither) <- 'enums' GdkByteOrder<-c("lsb-first" = 0, "msb-first" = 1) storage.mode(GdkByteOrder) <- 'integer' class(GdkByteOrder) <- 'enums' GdkGrabStatus<-c("success" = 0, "already-grabbed" = 1, "invalid-time" = 2, "not-viewable" = 3, "frozen" = 4) storage.mode(GdkGrabStatus) <- 'integer' class(GdkGrabStatus) <- 'enums' GdkVisualType<-c("static-gray" = 0, "grayscale" = 1, "static-color" = 2, "pseudo-color" = 3, "true-color" = 4, "direct-color" = 5) storage.mode(GdkVisualType) <- 'integer' class(GdkVisualType) <- 'enums' GdkWindowClass<-c("output" = 0, "only" = 1) storage.mode(GdkWindowClass) <- 'integer' class(GdkWindowClass) <- 'enums' GdkWindowType<-c("root" = 0, "toplevel" = 1, "child" = 2, "dialog" = 3, "temp" = 4, "foreign" = 5) storage.mode(GdkWindowType) <- 'integer' class(GdkWindowType) <- 'enums' GdkWindowTypeHint<-c("normal" = 0, "dialog" = 1, "menu" = 2, "toolbar" = 3, "splashscreen" = 4, "utility" = 5, "dock" = 6, "desktop" = 7) storage.mode(GdkWindowTypeHint) <- 'integer' class(GdkWindowTypeHint) <- 'enums' GdkGravity<-c("north-west" = 0, "north" = 1, "north-east" = 2, "west" = 3, "center" = 4, "east" = 5, "south-west" = 6, "south" = 7, "south-east" = 8, "static" = 9) storage.mode(GdkGravity) <- 'integer' class(GdkGravity) <- 'enums' GdkWindowEdge<-c("north-west" = 0, "north" = 1, "north-east" = 2, "west" = 3, "east" = 4, "south-west" = 5, "south" = 6, "south-east" = 7) storage.mode(GdkWindowEdge) <- 'integer' class(GdkWindowEdge) <- 'enums' GdkPixbufAlphaMode<-c("bilevel" = 0, "full" = 1) storage.mode(GdkPixbufAlphaMode) <- 'integer' class(GdkPixbufAlphaMode) <- 'enums' GdkColorspace<-c("b" = 0) storage.mode(GdkColorspace) <- 'integer' class(GdkColorspace) <- 'enums' GdkPixbufError<-c("corrupt-image" = 0, "insufficient-memory" = 1, "bad-option-value" = 2, "unknown-type" = 3, "unsupported-operation" = 4, "failed" = 5) storage.mode(GdkPixbufError) <- 'integer' class(GdkPixbufError) <- 'enums' GdkPixbufRotation<-c("none" = 0, "counterclockwise" = 90, "upsidedown" = 180, "clockwise" = 270) storage.mode(GdkPixbufRotation) <- 'integer' class(GdkPixbufRotation) <- 'enums' GdkInterpType<-c("nearest" = 0, "tiles" = 1, "bilinear" = 2, "hyper" = 3) storage.mode(GdkInterpType) <- 'integer' class(GdkInterpType) <- 'enums' GdkOwnerChange<-c("new-owner" = 0, "destroy" = 1, "close" = 2) storage.mode(GdkOwnerChange) <- 'integer' class(GdkOwnerChange) <- 'enums' GdkDragAction<-c("default" = 1, "copy" = 2, "move" = 4, "link" = 8, "private" = 16, "ask" = 32) storage.mode(GdkDragAction) <- 'numeric' class(GdkDragAction) <- 'flags' GdkEventMask<-c("exposure-mask" = 2, "pointer-motion-mask" = 4, "pointer-motion-hint-mask" = 8, "button-motion-mask" = 16, "button1-motion-mask" = 32, "button2-motion-mask" = 64, "button3-motion-mask" = 128, "button-press-mask" = 256, "button-release-mask" = 512, "key-press-mask" = 1024, "key-release-mask" = 2048, "enter-notify-mask" = 4086, "leave-notify-mask" = 8192, "focus-change-mask" = 16384, "structure-mask" = 32768, "property-change-mask" = 65536, "visibility-notify-mask" = 131072, "proximity-in-mask" = 262144, "proximity-out-mask" = 524288, "substructure-mask" = 1048576, "scroll-mask" = 2097152, "all-events-mask" = 4194302) storage.mode(GdkEventMask) <- 'numeric' class(GdkEventMask) <- 'flags' GdkWindowState<-c("withdrawn" = 1, "iconified" = 2, "maximized" = 4, "sticky" = 8, "fullscreen" = 16, "above" = 32, "below" = 64) storage.mode(GdkWindowState) <- 'numeric' class(GdkWindowState) <- 'flags' GdkModifierType<-c("shift-mask" = 1, "lock-mask" = 2, "control-mask" = 4, "mod1-mask" = 8, "mod2-mask" = 16, "mod3-mask" = 32, "mod4-mask" = 64, "mod5-mask" = 128, "button1-mask" = 256, "button2-mask" = 512, "button3-mask" = 1024, "button4-mask" = 2048, "button5-mask" = 4096, "release-mask" = 8192, "modifier-mask" = 16384) storage.mode(GdkModifierType) <- 'numeric' class(GdkModifierType) <- 'flags' GdkWindowAttributesType<-c("title" = 1, "x" = 2, "y" = 4, "cursor" = 8, "colormap" = 16, "visual" = 32, "wmclass" = 64, "noredir" = 128) storage.mode(GdkWindowAttributesType) <- 'numeric' class(GdkWindowAttributesType) <- 'flags' GdkWindowHints<-c("pos" = 1, "min-size" = 2, "max-size" = 4, "base-size" = 8, "aspect" = 16, "resize-inc" = 32, "win-gravity" = 64, "user-pos" = 128, "user-size" = 256) storage.mode(GdkWindowHints) <- 'numeric' class(GdkWindowHints) <- 'flags' GdkWMDecoration<-c("all" = 1, "border" = 2, "resizeh" = 4, "title" = 8, "menu" = 16, "minimize" = 32, "maximize" = 64) storage.mode(GdkWMDecoration) <- 'numeric' class(GdkWMDecoration) <- 'flags' GdkWMFunction<-c("all" = 1, "resize" = 2, "move" = 4, "minimize" = 8, "maximize" = 16, "close" = 32) storage.mode(GdkWMFunction) <- 'numeric' class(GdkWMFunction) <- 'flags' RGtk2/R/utils.R0000644000176000001440000001075512362203571012730 0ustar ripleyuserscheckPtrType <- # # if critical is TRUE, an error is generated # in the case that w does not inherit from the # specified class. # If it is FALSE, a warning is generated. # If critical is a string (character vector of length 1) # it is passed directly to stop() and used as the error message. # This allows the caller to give more context-specific # messages. function(w, klass = "GtkWidget", nullOk = FALSE, critical = TRUE) { if(is.null(w) && nullOk) return(TRUE) if (inherits(w, "")) stop("Attempt to use invalidated object") if(!inherits(w, klass) && !implements(w, klass)) { if(is.character(critical)) stop(critical) else if(is.logical(critical) && critical) stop(paste("object of class", paste(class(w), collapse = ", "), "isn't a", klass)) } return(TRUE) } implements <- function(obj, interface) { interface %in% attr(obj, "interfaces") } checkArrType <- function(obj, fun) { if (missing(fun)) obj else lapply(obj, fun) } handleError <- function(x, .errwarn) { if (isTRUE(getOption("RGtk2::newErrorHandling"))) { if (!is.null(x$error)) { # have an error, throw it x$error$call <- sys.call(-1) stop(x$error) } else { # otherwise act as if the error was never there x$error <- NULL if (length(x) == 1L) x <- x[[1]] } } else if (.errwarn && !is.null(x$error)) warning(simpleWarning(x$error[["message"]], sys.call(-1))) x } .RGtkCall <- function(name, ..., PACKAGE = "RGtk2") { #print(paste("Calling", name, "with args:", paste(..., collapse=", "))) val <- .Call(name, ..., PACKAGE = PACKAGE) if (getOption("gdkFlush")) { .Call("S_gdk_flush", PACKAGE = "RGtk2") } val } ######## BIT FLAG HANDLING ########## # Coerce something to a "flag" that can be operated on bitwise as.flag <- function(x) { if (!is.numeric(x)) stop("Flags must be numeric") class(x) <- "flag" x } # Coerces a member of a flags vector to a flag "[.flags" <- function(x, value) { as.flag(x[[value]]) } # the bitwise ops "|.flag" <- function(x, y) { as.flag(.bitOr(x, y)) } "&.flag" <- function(x, y) { as.flag(.bitAnd(x, y)) } "!.flag" <- function(x) { as.flag(.bitNot(x)) } # coerces the argument to "bits" if it isn't raw already # also ensures class is 'raw' to prevent infinite recursion .toBits <- function(x) { if (mode(x) != "raw") x <- intToBits(as.integer(x)) class(x) <- "raw" x } .fromBits <- function(x) { sum(as.integer(x) * c(2 ^ (0:30), -2^31)) } # these actually perform the bit ops, after coercing args to bits .bitAnd <- function(x, y) { .fromBits(.toBits(x) & .toBits(y)) } .bitOr <- function(x, y) { .fromBits(.toBits(x) | .toBits(y)) } .bitNot <- function(x) { -1 - x #x <- .toBits(x) #.fromBits(rawToBits(!x)[seq(1, 256, by=8)]) } "==.enum" <- function(x, y) { ans <- F if (inherits(x, "enum")) ans <- names(get(class(x)[1]))[x+1] == y else if (inherits(y, "enum")) ans <- names(get(class(y)[1]))[y+1] == x x <- unclass(x) y <- unclass(y) if (!ans) ans <- x == y if (!ans && length(names(x)) > 0) ans <- names(x) == y if (!ans && length(names(y)) > 0) ans <- names(y) == x if (!ans && length(names(y)) > 0 && length(names(x)) > 0) ans <- names(x) == names(y) ans } print.enum <- function(x, ...) { cat(class(x)[1], ": ", names(x), " (", x[[1]], ")\n", sep = "") } print.flag <- function(x, ...) { flags <- get(class(x)[1]) values <- names(flags)[sapply(flags, `&`, x) > 0] cat(class(x)[1], ": ", paste(values, collapse = ", "), "\n", sep = "") } print.enums <- function(x, ...) { cat("An enumeration with values:\n") print(unclass(x)) } print.flags <- function(x, ...) { cat("A flag enumeration with values:\n") print(unclass(x)) } # file shortcuts imagefile <- function(name) { system.file("images", name, package = "RGtk2") } .notimplemented <- function(reason, func = sys.call(-1)) { stop("Sorry, ", func, " is not (yet) implemented because it is ", reason, ".") } # Text manipulation .collapseClassName <- # # converts a class name of the form GtkButton # to gtk_button. # Also handles GtkCList to gtk_clist. # function(name) { tmp <- gsub("([ABCDEFGHIJKLMNOPQRSTUVWXYZ]+)", "_\\1", name) tmp <- tolower(substring(tmp, 2)) gsub("_([abcdefghijklmnopqrstuvwxyz])_","_\\1", tmp) } ## Binding to RGtk2's bindtextdomain(), which is different from R's on Windows rgtk2_bindtextdomain <- function(domain, dirname = NULL) { base::bindtextdomain(domain, dirname) .External("RGtk2_bindtextdomain", domain, dirname, PACKAGE = "RGtk2") } RGtk2/R/gdkCoerce.R0000644000176000001440000001200411766145227013455 0ustar ripleyusersas.GdkAtom <- function(x) { if (is.integer(x)) x <- as.numeric(x) else if (!inherits(x, "GdkAtom") && !is.numeric(x)) x <- as.character(x) x } # either 'pixel' or ('red', 'green', 'blue') must exist (may be combined) as.GdkColor <- function(x) { if (is.character(x)) return(gdkColorParse(x)$color) if (length(x) == 1) # only one field, must be 'pixel' fields <- "pixel" else { # otherwise, must have 'rgb' and possibly 'pixel' fields <- c("red", "green", "blue") if (length(x) > 3) fields <- c("pixel", fields) } x <- as.struct(x, "GdkColor", fields) if (length(x) > 3) x[[1]] <- as.numeric(x[[1]]) else x[[1]] <- as.integer(x[[1]]) x[-1] <- sapply(x[-1], as.integer) return(x) } as.GdkRectangle <- function(x) { x <- as.struct(x, "GdkRectangle", c("x", "y", "width", "height")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) x[[3]] <- as.integer(x[[3]]) x[[4]] <- as.integer(x[[4]]) return(x) } as.GdkTrapezoid <- function(x) { x <- as.struct("GdkTrapezoid", c("y1", "x11", "x21", "y2", "x12", "x22")) x[[1]] <- as.numeric(x[[1]]) x[[2]] <- as.numeric(x[[2]]) x[[3]] <- as.numeric(x[[3]]) x[[4]] <- as.numeric(x[[4]]) x[[5]] <- as.numeric(x[[5]]) x[[6]] <- as.numeric(x[[6]]) return(x) } as.GdkSpan <- function(x) { x <- as.struct(x, "GdkSpan", c("x", "y", "width")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) x[[3]] <- as.integer(x[[3]]) return(x) } as.GdkRgbCmap <- function(x) { x <- as.numeric(x) class(x) <- "GdkRgbCmap" x } as.GdkKeymapKey <- function(x) { x <- as.struct(x, "GdkKeymapKey", c("keycode", "group", "level")) x[[1]] <- as.numeric(x[[1]]) x[[2]] <- as.integer(x[[2]]) x[[3]] <- as.integer(x[[3]]) return(x) } as.GdkGCValues <- function(x) { x <- as.struct(x, "GdkGCValues", c("foreground", "background", "font", "function", "fill", "tile", "stipple", "clip.mask", "subwindow.mode", "ts.x.origin", "ts.y.origin", "clip.x.origin", "clip.y.origin", "graphics.exposures", "line.width", "line.style", "cap.style", "join.style")) if (!is.null(x[[1]])) x[[1]] <- as.GdkColor(x[[1]]) if (!is.null(x[[2]])) x[[2]] <- as.GdkColor(x[[2]]) if (!is.null(x[[3]])) x[[3]] <- checkPtrType(x[[3]], "GdkFont") if (!is.null(x[[4]])) x[[4]] <- as.function(x[[4]]) # GdkFill fill; if (!is.null(x[[6]])) x[[6]] <- checkPtrType(x[[6]], "GdkPixmap") if (!is.null(x[[7]])) x[[7]] <- checkPtrType(x[[7]], "GdkPixmap") if (!is.null(x[[8]])) x[[8]] <- checkPtrType(x[[8]], "GdkPixmap") # GdkSubwindowMode subwindow_mode; if (!is.null(x[[10]])) x[[10]] <- as.integer(x[[10]]) if (!is.null(x[[11]])) x[[11]] <- as.integer(x[[11]]) if (!is.null(x[[12]])) x[[12]] <- as.integer(x[[12]]) if (!is.null(x[[13]])) x[[13]] <- as.integer(x[[13]]) if (!is.null(x[[14]])) x[[14]] <- as.integer(x[[14]]) if (!is.null(x[[15]])) x[[15]] <- as.integer(x[[15]]) # GdkLineStyle line_style; # GdkCapStyle cap_style; # GdkJoinStyle join_style; return(x) } as.GdkGeometry <- function(x) { x <- as.struct(x, "GdkGeometry", c("min.width", "min.height", "max.width", "max.height", "base.width", "base.height", "width.inc", "height.inc", "min.aspect", "max.aspect", "win.gravity")) if (!is.null(x[[1]])) { x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) } if (!is.null(x[[3]])) { x[[3]] <- as.integer(x[[3]]) x[[4]] <- as.integer(x[[4]]) } if (!is.null(x[[4]])) { x[[5]] <- as.integer(x[[5]]) x[[6]] <- as.integer(x[[6]]) } if (!is.null(x[[7]])) { x[[7]] <- as.integer(x[[7]]) x[[8]] <- as.integer(x[[8]]) } if (!is.null(x[[9]])) { x[[9]] <- as.numeric(x[[9]]) x[[10]] <- as.numeric(x[[10]]) } # GdkGravity win_gravity; return(x) } as.GdkWindowAttr <- function(x) { x <- as.struct(x, "GdkWindowAttr", c("title", "event.mask", "x", "y", "width", "height", "wclass", "visual", "colormap", "window.type", "cursor", "wmclass.name", "wmclass.class", "override.redirect")) if (!is.null(x[[1]])) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.integer(x[[2]]) if (!is.null(x[[3]])) x[[3]] <- as.integer(x[[3]]) if (!is.null(x[[4]])) x[[4]] <- as.integer(x[[4]]) x[[5]] <- as.integer(x[[5]]) x[[6]] <- as.integer(x[[6]]) # wclass if (!is.null(x[[8]])) x[[8]] <- checkPtrType(x[[8]], "GdkVisual") if (!is.null(x[[9]])) x[[9]] <- checkPtrType(x[[9]], "GdkColormap") # window.type if (!is.null(x[[11]])) x[[11]] <- checkPtrType(x[[11]], "GdkCursor") if (!is.null(x[[12]])) { x[[12]] <- as.character(x[[12]]) x[[13]] <- as.character(x[[13]]) } if (!is.null(x[[14]])) x[[14]] <- as.logical(x[[14]]) return(x) } as.GdkNativeWindow <- function(x) { class(x) <- "GdkNativeWindow" x } as.GdkSegment <- function(x) { x <- as.struct(x, "GdkSegment", c("x1", "y1", "x2", "y2")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) x[[3]] <- as.integer(x[[3]]) x[[4]] <- as.integer(x[[4]]) return(x) } as.GdkPoint <- function(x) { x <- as.struct(x, "GdkPoint", c("x", "y")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) return(x) } RGtk2/R/pangoAccessors.R0000644000176000001440000002043012362217673014541 0ustar ripleyuserspangoColorGetRed <- function(obj) { checkPtrType(obj, 'PangoColor') v <- .Call('S_PangoColorGetRed', obj, PACKAGE = "RGtk2") v } pangoColorGetGreen <- function(obj) { checkPtrType(obj, 'PangoColor') v <- .Call('S_PangoColorGetGreen', obj, PACKAGE = "RGtk2") v } pangoColorGetBlue <- function(obj) { checkPtrType(obj, 'PangoColor') v <- .Call('S_PangoColorGetBlue', obj, PACKAGE = "RGtk2") v } pangoGlyphStringGetNumGlyphs <- function(obj) { checkPtrType(obj, 'PangoGlyphString') v <- .Call('S_PangoGlyphStringGetNumGlyphs', obj, PACKAGE = "RGtk2") v } pangoGlyphStringGetGlyphs <- function(obj) { checkPtrType(obj, 'PangoGlyphString') v <- .Call('S_PangoGlyphStringGetGlyphs', obj, PACKAGE = "RGtk2") v } pangoGlyphStringGetLogClusters <- function(obj) { checkPtrType(obj, 'PangoGlyphString') v <- .Call('S_PangoGlyphStringGetLogClusters', obj, PACKAGE = "RGtk2") v } pangoItemGetOffset <- function(obj) { checkPtrType(obj, 'PangoItem') v <- .Call('S_PangoItemGetOffset', obj, PACKAGE = "RGtk2") v } pangoItemGetLength <- function(obj) { checkPtrType(obj, 'PangoItem') v <- .Call('S_PangoItemGetLength', obj, PACKAGE = "RGtk2") v } pangoItemGetNumChars <- function(obj) { checkPtrType(obj, 'PangoItem') v <- .Call('S_PangoItemGetNumChars', obj, PACKAGE = "RGtk2") v } pangoItemGetAnalysis <- function(obj) { checkPtrType(obj, 'PangoItem') v <- .Call('S_PangoItemGetAnalysis', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetLayout <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetLayout', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetStartIndex <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetStartIndex', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetLength <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetLength', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetRuns <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetRuns', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetIsParagraphStart <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetIsParagraphStart', obj, PACKAGE = "RGtk2") v } pangoLayoutLineGetResolvedDir <- function(obj) { checkPtrType(obj, 'PangoLayoutLine') v <- .Call('S_PangoLayoutLineGetResolvedDir', obj, PACKAGE = "RGtk2") v } pangoAnalysisGetFont <- function(obj) { checkPtrType(obj, 'PangoAnalysis') v <- .Call('S_PangoAnalysisGetFont', obj, PACKAGE = "RGtk2") v } pangoAnalysisGetLevel <- function(obj) { checkPtrType(obj, 'PangoAnalysis') v <- .Call('S_PangoAnalysisGetLevel', obj, PACKAGE = "RGtk2") v } pangoAnalysisGetLanguage <- function(obj) { checkPtrType(obj, 'PangoAnalysis') v <- .Call('S_PangoAnalysisGetLanguage', obj, PACKAGE = "RGtk2") v } pangoAnalysisGetExtraAttrs <- function(obj) { checkPtrType(obj, 'PangoAnalysis') v <- .Call('S_PangoAnalysisGetExtraAttrs', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsLineBreak <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsLineBreak', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsMandatoryBreak <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsMandatoryBreak', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsCharBreak <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsCharBreak', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsWhite <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsWhite', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsCursorPosition <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsCursorPosition', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsWordStart <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsWordStart', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsWordEnd <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsWordEnd', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsSentenceBoundary <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsSentenceBoundary', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsSentenceStart <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsSentenceStart', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetIsSentenceEnd <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetIsSentenceEnd', obj, PACKAGE = "RGtk2") v } pangoLogAttrGetBackspaceDeletesCharacter <- function(obj) { checkPtrType(obj, 'PangoLogAttr') v <- .Call('S_PangoLogAttrGetBackspaceDeletesCharacter', obj, PACKAGE = "RGtk2") v } pangoAttributeGetKlass <- function(obj) { checkPtrType(obj, 'PangoAttribute') v <- .Call('S_PangoAttributeGetKlass', obj, PACKAGE = "RGtk2") v } pangoAttributeGetStartIndex <- function(obj) { checkPtrType(obj, 'PangoAttribute') v <- .Call('S_PangoAttributeGetStartIndex', obj, PACKAGE = "RGtk2") v } pangoAttributeGetEndIndex <- function(obj) { checkPtrType(obj, 'PangoAttribute') v <- .Call('S_PangoAttributeGetEndIndex', obj, PACKAGE = "RGtk2") v } pangoAttrClassGetType <- function(obj) { checkPtrType(obj, 'PangoAttrClass') v <- .Call('S_PangoAttrClassGetType', obj, PACKAGE = "RGtk2") v } pangoGlyphItemGetItem <- function(obj) { checkPtrType(obj, 'PangoGlyphItem') v <- .Call('S_PangoGlyphItemGetItem', obj, PACKAGE = "RGtk2") v } pangoGlyphItemGetGlyphs <- function(obj) { checkPtrType(obj, 'PangoGlyphItem') v <- .Call('S_PangoGlyphItemGetGlyphs', obj, PACKAGE = "RGtk2") v } pangoGlyphInfoGetGlyph <- function(obj) { checkPtrType(obj, 'PangoGlyphInfo') v <- .Call('S_PangoGlyphInfoGetGlyph', obj, PACKAGE = "RGtk2") v } pangoGlyphInfoGetGeometry <- function(obj) { checkPtrType(obj, 'PangoGlyphInfo') v <- .Call('S_PangoGlyphInfoGetGeometry', obj, PACKAGE = "RGtk2") v } pangoGlyphInfoGetAttr <- function(obj) { checkPtrType(obj, 'PangoGlyphInfo') v <- .Call('S_PangoGlyphInfoGetAttr', obj, PACKAGE = "RGtk2") v } pangoGlyphGeometryGetWidth <- function(obj) { checkPtrType(obj, 'PangoGlyphGeometry') v <- .Call('S_PangoGlyphGeometryGetWidth', obj, PACKAGE = "RGtk2") v } pangoGlyphGeometryGetXOffset <- function(obj) { checkPtrType(obj, 'PangoGlyphGeometry') v <- .Call('S_PangoGlyphGeometryGetXOffset', obj, PACKAGE = "RGtk2") v } pangoGlyphGeometryGetYOffset <- function(obj) { checkPtrType(obj, 'PangoGlyphGeometry') v <- .Call('S_PangoGlyphGeometryGetYOffset', obj, PACKAGE = "RGtk2") v } pangoGlyphVisAttrGetIsClusterStart <- function(obj) { checkPtrType(obj, 'PangoGlyphVisAttr') v <- .Call('S_PangoGlyphVisAttrGetIsClusterStart', obj, PACKAGE = "RGtk2") v } pangoAttrStringGetValue <- function(obj) { checkPtrType(obj, 'PangoAttrString') v <- .Call('S_PangoAttrStringGetValue', obj, PACKAGE = "RGtk2") v } pangoAttrLanguageGetValue <- function(obj) { checkPtrType(obj, 'PangoAttrLanguage') v <- .Call('S_PangoAttrLanguageGetValue', obj, PACKAGE = "RGtk2") v } pangoAttrColorGetColor <- function(obj) { checkPtrType(obj, 'PangoAttrColor') v <- .Call('S_PangoAttrColorGetColor', obj, PACKAGE = "RGtk2") v } pangoAttrIntGetValue <- function(obj) { checkPtrType(obj, 'PangoAttrInt') v <- .Call('S_PangoAttrIntGetValue', obj, PACKAGE = "RGtk2") v } pangoAttrFloatGetValue <- function(obj) { checkPtrType(obj, 'PangoAttrFloat') v <- .Call('S_PangoAttrFloatGetValue', obj, PACKAGE = "RGtk2") v } pangoAttrFontDescGetDesc <- function(obj) { checkPtrType(obj, 'PangoAttrFontDesc') v <- .Call('S_PangoAttrFontDescGetDesc', obj, PACKAGE = "RGtk2") v } pangoAttrShapeGetInkRect <- function(obj) { checkPtrType(obj, 'PangoAttrShape') v <- .Call('S_PangoAttrShapeGetInkRect', obj, PACKAGE = "RGtk2") v } pangoAttrShapeGetLogicalRect <- function(obj) { checkPtrType(obj, 'PangoAttrShape') v <- .Call('S_PangoAttrShapeGetLogicalRect', obj, PACKAGE = "RGtk2") v } pangoAttrSizeGetSize <- function(obj) { checkPtrType(obj, 'PangoAttrSize') v <- .Call('S_PangoAttrSizeGetSize', obj, PACKAGE = "RGtk2") v } pangoAttrSizeGetAbsolute <- function(obj) { checkPtrType(obj, 'PangoAttrSize') v <- .Call('S_PangoAttrSizeGetAbsolute', obj, PACKAGE = "RGtk2") v } RGtk2/R/aaa.R0000644000176000001440000000005411766145227012313 0ustar ripleyusers.virtuals <- new.env() .fields <- new.env() RGtk2/R/cairoCoerce.R0000644000176000001440000000117511766145227014014 0ustar ripleyusersas.CairoPath <- function(path) { x <- lapply(path, function(element) { type <- attr(element, "type") if (is.null(type)) stop("Path element must have an integer 'type' attribute") as.integer(element) }) class(x) <- "CairoPath" x } as.CairoGlyph <- function(x) { x <- as.struct("CairoGlyph", c("index", "x", "y")) x[[1]] <- as.numeric(x[[1]]) x[[2]] <- as.numeric(x[[2]]) x[[3]] <- as.numeric(x[[3]]) return(x) } as.CairoTextCluster <- function(x) { x <- as.struct("CairoTextCluster", c("num_bytes", "num_glyphs")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) return(x) } RGtk2/R/cairoManuals.R0000644000176000001440000000106111766145227014206 0ustar ripleyuserscairoImageSurfaceCreateFromPngStream <- function (con) { .notimplemented("is not yet written. It will support reading PNG data from an R connection") } cairoSurfaceWriteToPngStream <- function (surface, con) { .notimplemented("is not yet written. It will support writing PNG data to an R connection") } ## version checking ## boundCairoVersion <- function() { as.numeric_version(paste(.RGtkCall("boundCairoVersion"), collapse=".")) } checkCairo <- function(version) { .Deprecated("boundCairoVersion() >= version") boundCairoVersion() >= version } RGtk2/R/gdkAccessors.R0000644000176000001440000004741712362217673014220 0ustar ripleyusersgdkDeviceGetName <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetName', obj, PACKAGE = "RGtk2") v } gdkDeviceGetSource <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetSource', obj, PACKAGE = "RGtk2") v } gdkDeviceGetMode <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetMode', obj, PACKAGE = "RGtk2") v } gdkDeviceGetHasCursor <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetHasCursor', obj, PACKAGE = "RGtk2") v } gdkDeviceGetNumAxes <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetNumAxes', obj, PACKAGE = "RGtk2") v } gdkDeviceGetAxes <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetAxes', obj, PACKAGE = "RGtk2") v } gdkDeviceGetNumKeys <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetNumKeys', obj, PACKAGE = "RGtk2") v } gdkDeviceGetKeys <- function(obj) { checkPtrType(obj, 'GdkDevice') v <- .Call('S_GdkDeviceGetKeys', obj, PACKAGE = "RGtk2") v } gdkDragContextGetProtocol <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetProtocol', obj, PACKAGE = "RGtk2") v } gdkDragContextGetIsSource <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetIsSource', obj, PACKAGE = "RGtk2") v } gdkDragContextGetSourceWindow <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetSourceWindow', obj, PACKAGE = "RGtk2") v } gdkDragContextGetDestWindow <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetDestWindow', obj, PACKAGE = "RGtk2") v } gdkDragContextGetTargets <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetTargets', obj, PACKAGE = "RGtk2") v } gdkDragContextGetActions <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetActions', obj, PACKAGE = "RGtk2") v } gdkDragContextGetSuggestedAction <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetSuggestedAction', obj, PACKAGE = "RGtk2") v } gdkDragContextGetAction <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetAction', obj, PACKAGE = "RGtk2") v } gdkDragContextGetStartTime <- function(obj) { checkPtrType(obj, 'GdkDragContext') v <- .Call('S_GdkDragContextGetStartTime', obj, PACKAGE = "RGtk2") v } gdkImageGetType <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetType', obj, PACKAGE = "RGtk2") v } gdkImageGetVisual <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetVisual', obj, PACKAGE = "RGtk2") v } gdkImageGetByteOrder <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetByteOrder', obj, PACKAGE = "RGtk2") v } gdkImageGetWidth <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetWidth', obj, PACKAGE = "RGtk2") v } gdkImageGetHeight <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetHeight', obj, PACKAGE = "RGtk2") v } gdkImageGetDepth <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetDepth', obj, PACKAGE = "RGtk2") v } gdkImageGetBpp <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetBpp', obj, PACKAGE = "RGtk2") v } gdkImageGetBpl <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetBpl', obj, PACKAGE = "RGtk2") v } gdkImageGetBitsPerPixel <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetBitsPerPixel', obj, PACKAGE = "RGtk2") v } gdkImageGetMem <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetMem', obj, PACKAGE = "RGtk2") v } gdkImageGetColormap <- function(obj) { checkPtrType(obj, 'GdkImage') v <- .Call('S_GdkImageGetColormap', obj, PACKAGE = "RGtk2") v } gdkVisualGetType <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetType', obj, PACKAGE = "RGtk2") v } gdkVisualGetDepth <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetDepth', obj, PACKAGE = "RGtk2") v } gdkVisualGetByteOrder <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetByteOrder', obj, PACKAGE = "RGtk2") v } gdkVisualGetColormapSize <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetColormapSize', obj, PACKAGE = "RGtk2") v } gdkVisualGetBitsPerRgb <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetBitsPerRgb', obj, PACKAGE = "RGtk2") v } gdkVisualGetRedMask <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetRedMask', obj, PACKAGE = "RGtk2") v } gdkVisualGetRedShift <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetRedShift', obj, PACKAGE = "RGtk2") v } gdkVisualGetRedPrec <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetRedPrec', obj, PACKAGE = "RGtk2") v } gdkVisualGetGreenMask <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetGreenMask', obj, PACKAGE = "RGtk2") v } gdkVisualGetGreenShift <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetGreenShift', obj, PACKAGE = "RGtk2") v } gdkVisualGetGreenPrec <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetGreenPrec', obj, PACKAGE = "RGtk2") v } gdkVisualGetBlueMask <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetBlueMask', obj, PACKAGE = "RGtk2") v } gdkVisualGetBlueShift <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetBlueShift', obj, PACKAGE = "RGtk2") v } gdkVisualGetBluePrec <- function(obj) { checkPtrType(obj, 'GdkVisual') v <- .Call('S_GdkVisualGetBluePrec', obj, PACKAGE = "RGtk2") v } gdkFontGetType <- function(obj) { checkPtrType(obj, 'GdkFont') v <- .Call('S_GdkFontGetType', obj, PACKAGE = "RGtk2") v } gdkFontGetAscent <- function(obj) { checkPtrType(obj, 'GdkFont') v <- .Call('S_GdkFontGetAscent', obj, PACKAGE = "RGtk2") v } gdkFontGetDescent <- function(obj) { checkPtrType(obj, 'GdkFont') v <- .Call('S_GdkFontGetDescent', obj, PACKAGE = "RGtk2") v } gdkCursorGetType <- function(obj) { checkPtrType(obj, 'GdkCursor') v <- .Call('S_GdkCursorGetType', obj, PACKAGE = "RGtk2") v } gdkEventAnyGetType <- function(obj) { checkPtrType(obj, 'GdkEventAny') v <- .Call('S_GdkEventAnyGetType', obj, PACKAGE = "RGtk2") v } gdkEventAnyGetWindow <- function(obj) { checkPtrType(obj, 'GdkEventAny') v <- .Call('S_GdkEventAnyGetWindow', obj, PACKAGE = "RGtk2") v } gdkEventAnyGetSendEvent <- function(obj) { checkPtrType(obj, 'GdkEventAny') v <- .Call('S_GdkEventAnyGetSendEvent', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetTime <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetTime', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetState <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetState', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetKeyval <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetKeyval', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetLength <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetLength', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetString <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetString', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetHardwareKeycode <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetHardwareKeycode', obj, PACKAGE = "RGtk2") v } gdkEventKeyGetGroup <- function(obj) { checkPtrType(obj, 'GdkEventKey') v <- .Call('S_GdkEventKeyGetGroup', obj, PACKAGE = "RGtk2") v } gdkEventSelectionGetSelection <- function(obj) { checkPtrType(obj, 'GdkEventSelection') v <- .Call('S_GdkEventSelectionGetSelection', obj, PACKAGE = "RGtk2") v } gdkEventSelectionGetTarget <- function(obj) { checkPtrType(obj, 'GdkEventSelection') v <- .Call('S_GdkEventSelectionGetTarget', obj, PACKAGE = "RGtk2") v } gdkEventSelectionGetProperty <- function(obj) { checkPtrType(obj, 'GdkEventSelection') v <- .Call('S_GdkEventSelectionGetProperty', obj, PACKAGE = "RGtk2") v } gdkEventSelectionGetTime <- function(obj) { checkPtrType(obj, 'GdkEventSelection') v <- .Call('S_GdkEventSelectionGetTime', obj, PACKAGE = "RGtk2") v } gdkEventSelectionGetRequestor <- function(obj) { checkPtrType(obj, 'GdkEventSelection') v <- .Call('S_GdkEventSelectionGetRequestor', obj, PACKAGE = "RGtk2") v } gdkEventDNDGetContext <- function(obj) { checkPtrType(obj, 'GdkEventDND') v <- .Call('S_GdkEventDNDGetContext', obj, PACKAGE = "RGtk2") v } gdkEventDNDGetTime <- function(obj) { checkPtrType(obj, 'GdkEventDND') v <- .Call('S_GdkEventDNDGetTime', obj, PACKAGE = "RGtk2") v } gdkEventDNDGetXRoot <- function(obj) { checkPtrType(obj, 'GdkEventDND') v <- .Call('S_GdkEventDNDGetXRoot', obj, PACKAGE = "RGtk2") v } gdkEventDNDGetYRoot <- function(obj) { checkPtrType(obj, 'GdkEventDND') v <- .Call('S_GdkEventDNDGetYRoot', obj, PACKAGE = "RGtk2") v } gdkEventExposeGetArea <- function(obj) { checkPtrType(obj, 'GdkEventExpose') v <- .Call('S_GdkEventExposeGetArea', obj, PACKAGE = "RGtk2") v } gdkEventExposeGetRegion <- function(obj) { checkPtrType(obj, 'GdkEventExpose') v <- .Call('S_GdkEventExposeGetRegion', obj, PACKAGE = "RGtk2") v } gdkEventExposeGetCount <- function(obj) { checkPtrType(obj, 'GdkEventExpose') v <- .Call('S_GdkEventExposeGetCount', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetTime <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetTime', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetX <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetX', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetY <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetY', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetAxes <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetAxes', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetState <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetState', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetButton <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetButton', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetDevice <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetDevice', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetXRoot <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetXRoot', obj, PACKAGE = "RGtk2") v } gdkEventButtonGetYRoot <- function(obj) { checkPtrType(obj, 'GdkEventButton') v <- .Call('S_GdkEventButtonGetYRoot', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetTime <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetTime', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetX <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetX', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetY <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetY', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetState <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetState', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetDirection <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetDirection', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetDevice <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetDevice', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetXRoot <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetXRoot', obj, PACKAGE = "RGtk2") v } gdkEventScrollGetYRoot <- function(obj) { checkPtrType(obj, 'GdkEventScroll') v <- .Call('S_GdkEventScrollGetYRoot', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetTime <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetTime', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetX <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetX', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetY <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetY', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetAxes <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetAxes', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetState <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetState', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetIsHint <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetIsHint', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetDevice <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetDevice', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetXRoot <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetXRoot', obj, PACKAGE = "RGtk2") v } gdkEventMotionGetYRoot <- function(obj) { checkPtrType(obj, 'GdkEventMotion') v <- .Call('S_GdkEventMotionGetYRoot', obj, PACKAGE = "RGtk2") v } gdkEventVisibilityGetState <- function(obj) { checkPtrType(obj, 'GdkEventVisibility') v <- .Call('S_GdkEventVisibilityGetState', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetTime <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetTime', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetX <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetX', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetY <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetY', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetXRoot <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetXRoot', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetYRoot <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetYRoot', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetMode <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetMode', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetDetail <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetDetail', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetFocus <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetFocus', obj, PACKAGE = "RGtk2") v } gdkEventCrossingGetState <- function(obj) { checkPtrType(obj, 'GdkEventCrossing') v <- .Call('S_GdkEventCrossingGetState', obj, PACKAGE = "RGtk2") v } gdkEventFocusGetIn <- function(obj) { checkPtrType(obj, 'GdkEventFocus') v <- .Call('S_GdkEventFocusGetIn', obj, PACKAGE = "RGtk2") v } gdkEventConfigureGetX <- function(obj) { checkPtrType(obj, 'GdkEventConfigure') v <- .Call('S_GdkEventConfigureGetX', obj, PACKAGE = "RGtk2") v } gdkEventConfigureGetY <- function(obj) { checkPtrType(obj, 'GdkEventConfigure') v <- .Call('S_GdkEventConfigureGetY', obj, PACKAGE = "RGtk2") v } gdkEventConfigureGetWidth <- function(obj) { checkPtrType(obj, 'GdkEventConfigure') v <- .Call('S_GdkEventConfigureGetWidth', obj, PACKAGE = "RGtk2") v } gdkEventConfigureGetHeight <- function(obj) { checkPtrType(obj, 'GdkEventConfigure') v <- .Call('S_GdkEventConfigureGetHeight', obj, PACKAGE = "RGtk2") v } gdkEventPropertyGetAtom <- function(obj) { checkPtrType(obj, 'GdkEventProperty') v <- .Call('S_GdkEventPropertyGetAtom', obj, PACKAGE = "RGtk2") v } gdkEventPropertyGetTime <- function(obj) { checkPtrType(obj, 'GdkEventProperty') v <- .Call('S_GdkEventPropertyGetTime', obj, PACKAGE = "RGtk2") v } gdkEventPropertyGetState <- function(obj) { checkPtrType(obj, 'GdkEventProperty') v <- .Call('S_GdkEventPropertyGetState', obj, PACKAGE = "RGtk2") v } gdkEventProximityGetTime <- function(obj) { checkPtrType(obj, 'GdkEventProximity') v <- .Call('S_GdkEventProximityGetTime', obj, PACKAGE = "RGtk2") v } gdkEventProximityGetDevice <- function(obj) { checkPtrType(obj, 'GdkEventProximity') v <- .Call('S_GdkEventProximityGetDevice', obj, PACKAGE = "RGtk2") v } gdkEventWindowStateGetChangedMask <- function(obj) { checkPtrType(obj, 'GdkEventWindowState') v <- .Call('S_GdkEventWindowStateGetChangedMask', obj, PACKAGE = "RGtk2") v } gdkEventWindowStateGetNewWindowState <- function(obj) { checkPtrType(obj, 'GdkEventWindowState') v <- .Call('S_GdkEventWindowStateGetNewWindowState', obj, PACKAGE = "RGtk2") v } gdkEventSettingGetAction <- function(obj) { checkPtrType(obj, 'GdkEventSetting') v <- .Call('S_GdkEventSettingGetAction', obj, PACKAGE = "RGtk2") v } gdkEventSettingGetName <- function(obj) { checkPtrType(obj, 'GdkEventSetting') v <- .Call('S_GdkEventSettingGetName', obj, PACKAGE = "RGtk2") v } gdkEventOwnerChangeGetOwner <- function(obj) { checkPtrType(obj, 'GdkEventOwnerChange') v <- .Call('S_GdkEventOwnerChangeGetOwner', obj, PACKAGE = "RGtk2") v } gdkEventOwnerChangeGetReason <- function(obj) { checkPtrType(obj, 'GdkEventOwnerChange') v <- .Call('S_GdkEventOwnerChangeGetReason', obj, PACKAGE = "RGtk2") v } gdkEventOwnerChangeGetSelection <- function(obj) { checkPtrType(obj, 'GdkEventOwnerChange') v <- .Call('S_GdkEventOwnerChangeGetSelection', obj, PACKAGE = "RGtk2") v } gdkEventOwnerChangeGetTime <- function(obj) { checkPtrType(obj, 'GdkEventOwnerChange') v <- .Call('S_GdkEventOwnerChangeGetTime', obj, PACKAGE = "RGtk2") v } gdkEventOwnerChangeGetSelectionTime <- function(obj) { checkPtrType(obj, 'GdkEventOwnerChange') v <- .Call('S_GdkEventOwnerChangeGetSelectionTime', obj, PACKAGE = "RGtk2") v } gdkEventClientGetMessageType <- function(obj) { checkPtrType(obj, 'GdkEventClient') v <- .Call('S_GdkEventClientGetMessageType', obj, PACKAGE = "RGtk2") v } gdkEventGrabBrokenGetKeyboard <- function(obj) { checkPtrType(obj, 'GdkEventGrabBroken') v <- .Call('S_GdkEventGrabBrokenGetKeyboard', obj, PACKAGE = "RGtk2") v } gdkEventGrabBrokenGetImplicit <- function(obj) { checkPtrType(obj, 'GdkEventGrabBroken') v <- .Call('S_GdkEventGrabBrokenGetImplicit', obj, PACKAGE = "RGtk2") v } gdkEventGrabBrokenGetGrabWindow <- function(obj) { checkPtrType(obj, 'GdkEventGrabBroken') v <- .Call('S_GdkEventGrabBrokenGetGrabWindow', obj, PACKAGE = "RGtk2") v } gdkDeviceKeyGetKeyval <- function(obj) { checkPtrType(obj, 'GdkDeviceKey') v <- .Call('S_GdkDeviceKeyGetKeyval', obj, PACKAGE = "RGtk2") v } gdkDeviceKeyGetModifiers <- function(obj) { checkPtrType(obj, 'GdkDeviceKey') v <- .Call('S_GdkDeviceKeyGetModifiers', obj, PACKAGE = "RGtk2") v } gdkDeviceAxisGetUse <- function(obj) { checkPtrType(obj, 'GdkDeviceAxis') v <- .Call('S_GdkDeviceAxisGetUse', obj, PACKAGE = "RGtk2") v } gdkDeviceAxisGetMin <- function(obj) { checkPtrType(obj, 'GdkDeviceAxis') v <- .Call('S_GdkDeviceAxisGetMin', obj, PACKAGE = "RGtk2") v } gdkDeviceAxisGetMax <- function(obj) { checkPtrType(obj, 'GdkDeviceAxis') v <- .Call('S_GdkDeviceAxisGetMax', obj, PACKAGE = "RGtk2") v } gdkPangoAttrEmbossedGetEmbossed <- function(obj) { checkPtrType(obj, 'GdkPangoAttrEmbossed') v <- .Call('S_GdkPangoAttrEmbossedGetEmbossed', obj, PACKAGE = "RGtk2") v } gdkPangoAttrStippleGetStipple <- function(obj) { checkPtrType(obj, 'GdkPangoAttrStipple') v <- .Call('S_GdkPangoAttrStippleGetStipple', obj, PACKAGE = "RGtk2") v } RGtk2/R/gobject.R0000644000176000001440000004141412362466623013212 0ustar ripleyusers##### GObject wrapping ##### # GType support # currently just converts type name to GType object, if x isn't one already as.GType <- function(x) { mapping <- c("integer" = "gint", "character" = "gchararray", "logical" = "gboolean", "numeric" = "gdouble", "raw" = "guchar", "externalptr" = "gpointer") type <- x if (is.character(type)) { if (type %in% names(mapping)) type <- mapping[[type]] type <- try(gTypeFromName(type), TRUE) if (inherits(type, "try-error")) { func <- paste(tolower(substring(x, 1, 1)), substring(x, 2), "GetType", sep="") if (exists(func)) type <- do.call(func, list()) } } if (!inherits(type, "GType")) stop("Cannot convert ", x, " to GType") type } interface <- function(obj) { attr(obj, "interfaces") } gTypeGetAncestors <- function(type) { type <- as.GType(type) .Call("R_getGTypeAncestors", type, PACKAGE = "RGtk2") } gTypeGetInterfaces <- function(type) { type <- as.GType(type) .Call("R_getInterfaces", type, PACKAGE = "RGtk2") } gTypeGetClass <- function(type) { type <- as.GType(type) ancestors <- gTypeGetAncestors(type) class_ptr <- .Call("R_getGTypeClass", type, PACKAGE = "RGtk2") class(class_ptr) <- c(paste(ancestors, "Class", sep=""), class(class_ptr)) class_ptr } gTypeFromName <- function(name) { .Call("R_gTypeFromName", as.character(name), PACKAGE = "RGtk2") } print.GType <- function(x, ...) { cat("GType identifier for '", attr(x, "name"), "'\n", sep = "") } # GSignal support GSignalFlags <- c( "run-first" = 1, "run-last" = 2, "run-cleanup" = 4, "no-recurse" = 8, "detailed" = 16, "action" = 32, "no-hooks" = 64 ) GConnectFlags <- c( "after" = 1, "swapped" = 2 ) connectSignal <- gSignalConnect <- function(obj, signal, f, data = NULL, after = FALSE, user.data.first = FALSE) { useData <- missing(data) == FALSE checkPtrType(obj, "GObject") if(is.null(f)) stop("You've specified NULL as the action in setting a callback. Did you mean to use quote()") if(is.expression(f)) { f <- f[[1]] } if(!( is.expression(f) || is.function(f) || is.call(f))) { stop(paste("Callback action must be an expression, a call or a function, but instead is of type", typeof(f), ". Did you forget to use quote()")) } invisible(.Call("R_connectGSignalHandler", obj, f, as.character(signal), data, useData, as.logical(after), as.logical(user.data.first), PACKAGE = "RGtk2")) } print.CallbackID <- function(x, ...) cat("Connection to '", names(x), "': ", x, "\n", sep = "") gSignalHandlerDisconnect <- function(obj, id) { checkPtrType(obj, "GObject") .Call("R_disconnectGSignalHandler", obj, as.integer(id), PACKAGE = "RGtk2") } gSignalHandlerBlock <- function(obj, id) { checkPtrType(obj, "GObject") .Call("R_blockGSignalHandler", obj, as.integer(id), TRUE, PACKAGE = "RGtk2") } gSignalHandlerUnblock <- function(obj, id) { checkPtrType(obj, "GObject") .Call("R_blockGSignalHandler", obj, as.integer(id), FALSE, PACKAGE = "RGtk2") } gSignalStopEmission <- function(obj, signal, detail = NULL) { if (!is.null(detail)) signal <- paste(signal, detail, sep="::") .Call("R_gSignalStopEmission", obj, signal, PACKAGE = "RGtk2") } gObjectGetSignals <- function(obj) { checkPtrType(obj, "GObject") type <- class(obj)[1] els <- gTypeGetSignals(type) els } gTypeGetSignals <- function(type) { if(is.character(type)) type <- as.GType(type) checkPtrType(type, "GType") els <- .Call("R_getGSignalIdsByType", type, PACKAGE = "RGtk2") names(els) <- sapply(els, function(x) names(x)) els } gSignalGetInfo <- function(sig) { checkPtrType(sig, "GSignalId") .Call("R_getGSignalInfo", sig, PACKAGE = "RGtk2") } gSignalEmit <- function(obj, signal, ..., detail = NULL) { checkPtrType(obj, "GObject") args <- list(...) signal <- as.character(signal) if (!is.null(detail)) signal <- paste(signal, detail, sep="::") .RGtkCall("R_gSignalEmit", obj, signal, args, PACKAGE = "RGtk2") } # GObject properties names.GObject <- # # return a vector of the names of the properties # available for the given GObject, collapsing over # all the inherited classes and removing the class:: # prefix. # function(x) { names(gObjectGetPropInfo(x, parents = TRUE, collapse = TRUE)) } gObjectGetPropInfo <- function(obj, parents = TRUE, collapse = TRUE) { checkPtrType(obj, "GObject") real_classes <- class(obj)[-length(class(obj))] props <- lapply(real_classes, gTypeGetPropInfo) if (parents && collapse) return(props[[1]]) # props is a list containing the properties for each class in the hierarchy # as well as the parents of that class. We must remove the duplicates. n_dups <- c(sapply(props, length), 0) stripped <- lapply(1:length(props), function(ind) if (n_dups[ind+1] > 0) props[[ind]][-(1:n_dups[ind+1])] else props[[ind]]) names(stripped) <- real_classes result <- stripped if (!parents) result <- stripped[[1]] result } gTypeGetPropInfo <- function(type) { type <- as.GType(type) if (!("GObject" %in% gTypeGetAncestors(type))) stop("Cannot retrieve properties, because type is not a GObject type") .RGtkCall("R_getGTypeParamSpecs", type) } gObjectGet <- function(obj, ..., drop = T) { checkPtrType(obj, "GObject") props <- .Call("R_getGObjectProps", obj, as.character(c(...)), PACKAGE = "RGtk2") if (drop && length(props) == 1) props[[1]] else props } "[.GObject" <- function(obj, value, ...) { gObjectGet(obj, c(value, ...)) } gObjectSet <- function(obj, ...) { args <- list(...) checkPtrType(obj, "GObject") if(any(names(args) == "")) stop("All values must have a name") invisible(.RGtkCall("R_setGObjectProps", obj, args, PACKAGE = "RGtk2")) } "[<-.GObject" <- function(obj, propNames, value) { value <- list(value) names(value) <- propNames .RGtkCall("R_setGObjectProps", obj, value, PACKAGE = "RGtk2") obj } gObject <- gObjectNew <- function(type, ...) { args <- list(...) type <- as.GType(type) if (!("GObject" %in% gTypeGetAncestors(type))) stop("GType must inherit from GObject") if(any(names(args) == "")) stop("All values must have a name") invisible(.RGtkCall("R_gObjectNew", type, args, PACKAGE = "RGtk2")) } ## Parameter specifications GParamFlags <- c("readable" = 1, "writable" = 2, "construct" = 4, "construct-only" = 8, "lax-validation" = 16, "static-name" = 32, "private" = 32, "static-nick" = 64, "static-blurb" = 128) gParamSpec <- function(type, name, nick = NULL, blurb = NULL, flags = NULL, ...) { # map type to param spec type, pass on the args spec <- list(name = name, nick = nick, blurb = blurb, flags = flags, ...) if (type == "integer") param_type <- "GParamInt" else if (type == "numeric") param_type <- "GParamDouble" else if (type == "logical") param_type <- "GParamBoolean" else if (type == "character") param_type <- "GParamString" else if (type == "raw") param_type <- "GParamUChar" else if (type == "R") param_type <- "RGtkParamSexp" else param_type <- type class(spec) <- c(param_type) as.GParamSpec(spec) } as.GParamSpec <- function(x) { type <- sub(".*Param", "", class(x)[1]) fields <- NULL common_fields <- c("name", "nick", "blurb", "flags") if (type %in% c("Boolean", "String", "Unichar")) fields <- "default.value" else if (type == "Flags") fields <- c("flags.type", "default.value") else if (type == "Enum") fields <- c("enum.type", "default.value") else if (type %in% c("Char", "UChar", "Int", "UInt", "ULong", "Long", "UInt64", "Int64", "Float", "Double")) fields <- c("minimum", "maximum", "default.value") else if (type == "Param") fields <- "param.type" else if (type == "Boxed") fields <- "boxed.type" else if (type == "Object") fields <- "object.type" else if (type == "ValueArray") fields <- "element.spec" else if (type == "GType") fields <- "is.a.type" else if (type == "Sexp") fields <- c("s.type", "default.value") x <- as.struct(x, c(class(x)[1], "GParamSpec"), c(common_fields, fields)) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) if (is.null(x[[4]])) x[[4]] <- sum(GParamFlags[c("readable", "writable", "construct")]) if (type == "Boolean") x[[5]] <- ifelse(is.null(x[[5]]), F, as.logical(x[[5]])) else if (type == "String") x[[5]] <- ifelse(is.null(x[[5]]), "", as.character(x[[5]])) else if (type == "Unichar") x[[5]] <- ifelse(is.null(x[[5]]), as.integer(0), as.integer(x[[5]])) else if (type %in% c("Flags", "Enum", "Param", "Boxed", "Object", "GType")) x[[5]] <- as.GType(x[[5]]) else if (type %in% c("Char", "UChar")) { x[[5]] <- ifelse(is.null(x[[5]]), 0, as.raw(x[[5]])) x[[6]] <- as.raw(x[[6]]) x[[7]] <- as.raw(x[[7]]) } else if (type == "Int") { x[[5]] <- ifelse(is.null(x[[5]]), 0, as.integer(x[[5]])) x[[6]] <- as.integer(x[[6]]) x[[7]] <- as.integer(x[[7]]) } else if (type %in% c("UInt", "ULong", "Long", "UInt64", "Int64", "Float", "Double")) { x[[5]] <- ifelse(is.null(x[[5]]), 0, as.numeric(x[[5]])) x[[6]] <- as.numeric(x[[6]]) x[[7]] <- as.numeric(x[[7]]) } else if (type == "ValueArray") x[[5]] <- as.GParamSpec(x[[5]]) else if (type == "Sexp") { # if there's no type, try to get it from the default value if (is.null(x[[5]]) && !is.null(x[[6]])) x[[5]] <- typeof(x[[6]]) else if (is.null(x[[5]])) # otherwise, fallback to ANY x[[5]] <- "any" # if there's no default value, create one given the type (ANY->NULL) anysxp <- .RGtkCall("getNumericType", "any") if (is.null(x[[6]]) && x[[5]] != "any" && x[[5]] != anysxp) x[[6]] <- new(x[[5]]) # if type is numeric, assume it's a type code, otherwise assume it's a type # name and ask the C side to query the for the code if (!is.numeric(x[[5]])) x[[5]] <- .RGtkCall("getNumericType", x[[5]]) } return(x) } gObjectSetData <- function(obj, key, data = NULL) { checkPtrType(obj, "GObject") key <- as.character(key) w <- .RGtkCall("S_g_object_set_data", obj, key, data, PACKAGE = "RGtk2") return(invisible(w)) } gObjectGetData <- function(obj, key) { checkPtrType(obj, "GObject") key <- as.character(key) w <- .RGtkCall("S_g_object_get_data", obj, key, PACKAGE = "RGtk2") return(w) } # Methods parentHandler <- function(method, obj = NULL, ...) { # untested stuff # chaining up is only allowed/makes sense from inside a GObject implementation stopifnot(implements(obj, "SGObject")) if (is.null(attr(obj, ".private"))) stop("Parent methods should only be invoked within the instance") if (FALSE) { # stuff that might work some day parent_call <- sys.call(sys.parent(1)) parent_frame <- parent.frame() formal_args <- formals(parent_call[[1]]) if (missing(obj)) obj <- get(names(formal_args)[1], parent_frame) args <- list(...) formal_names <- names(formal_args)[-1] missing_names <- formal_names[!(formal_names %in% names(args))] unnamed <- sapply(names(args), nchar) == 0 names(args)[unnamed] <- missing_names[seq(along=unnamed)] missing_names <- missing_names[!(missing_names %in% names(args))] args[missing_names] <- lapply(missing_names, get, parent_frame) parent <- .Call("S_g_object_parent", obj, PACKAGE = "RGtk2") if (!is.null(parent) && is.function(try(parent[[method]], T))) fun <- parent[[method]] else { # fallback to calling a wrapper of the C virtual fun <- eval(substitute(gTypeGetClass(class(obj)[2])$sym, list(sym=method))) args <- c(obj, args) } do.call(fun, args) } # assume looking for a function, does not make sense for fields #function(...) { # is this a function defined by a parent R class? parent <- .Call("S_g_object_parent", obj, PACKAGE = "RGtk2") if (!is.null(parent) && is.function(try(parent[[method]], T))) { parent[[method]](...) } else # fallback to calling a wrapper of the C virtual eval(substitute(gTypeGetClass(class(obj)[2])$sym(obj, ...), list(obj=obj,sym=method))) #} } "$." <- function(obj, name) { stop("attempt to call '", name, "' on invalid reference '", deparse(substitute(obj)), "'", call.=FALSE) } "$.GObject" <- "$.RGtkObject" <- function(x, member) { # try for a declared method first, else fall back to member result <- try(.getAutoMethodByName(x, member, parent.frame()), T) if (inherits(result, "try-error")) result <- x[[member]] result } .getAutoMemberByName <- function(obj, name) { # if we have an SGObject, try private env (includes protected) then public stopifnot(implements(obj, "SGObject")) attrs <- attributes(obj) has_private <- ".private" %in% names(attrs) if (has_private) member <- try(get(name, attrs$.private), T) if (!has_private || inherits(member, "try-error")) member <- try(get(name, attrs$.public), T) if (is.function(member)) { # we need to add private env if it's not there if (!has_private) obj <- .Call("S_g_object_private", obj, PACKAGE="RGtk2") function(...) member(obj, ...) } else member } .getAutoMethodByName <- function(obj, name, where) { classes <- c(attr(obj, "interfaces"), class(obj)) sym <- paste(tolower(substring(classes, 1, 1)), substring(classes, 2), toupper(substring(name, 1, 1)), substring(name,2), sep="") which <- sapply(sym, exists, where) if(!any(which)) stop(paste("No such method", name, "for classes", paste(class(obj), collapse=", "))) method <- get(sym[which][1], where) function(...) method(obj, ...) #sym <- as.name(sym[which][1]) # evaluate it to turn it into a function # and also get the correct environment #eval(substitute( function(...) { # sym(obj, ...) # }, list(obj=obj,sym=sym))) } # Comparing pointers "==.RGtkObject" <- function(x, y) { identical(x, y) } # Fields "$<-.GObject" <- "[[<-.GObject" <- function(obj, member, value) { # first try for prop, then fall back to private env # this encourages the setting of properties, rather than using the back door result <- try(obj[member] <- value, T) if (inherits(result, "try-error")) { env <- attr(obj, ".private") if (is.null(env)) stop("Cannot find '", member, "' to set in ", paste(class(obj),collapse=", ")) protected_env <- parent.env(env) if (exists(member, protected_env)) env <- protected_env assign(member, value, env) } obj } "[[.GObject" <- function(obj, member, where = parent.frame()) { # check SGObject environments first, then fall back to field/property val <- try(.getAutoMemberByName(obj, member), TRUE) # check for C field (fast), then GObject prop if (inherits(val, "try-error")) val <- try(NextMethod("[[", where = where), TRUE) if (inherits(val, "try-error")) val <- try(obj$get(member), TRUE) if (inherits(val, "try-error")) stop("Cannot find '", member, "' for classes ", paste(class(obj), collapse=", ")) val } "[[.RGtkObject" <- # # # function(x, field, where = parent.frame()) { fun <- try(.getAutoElementByName(x, field, error = FALSE, where = where), TRUE) if (!inherits(fun, "try-error")) val <- fun(x) else stop("Cannot find '", field, "' for classes ", paste(class(x), collapse=", ")) return(val) } # C field setting is not allowed if (FALSE) { "[[<-.RGtkObject" <- # # # function(x, name, value) { sym <- try(.getAutoElementByName(x, name, op = "Set", error = FALSE)) if (!inherits(sym, "try-error")) val <- eval(substitute(sym(x, value), list(sym=sym))) else if(inherits(x, "GObject")) val <- x$set(name) else val <- sym return(val) } } .getAutoElementByName <- function(obj, name, op = "Get", error = TRUE, where = parent.frame()) { sym <- paste("S_", class(obj), op, toupper(substring(name, 1, 1)), substring(name, 2), sep = "") sym <- Find(function(x) is.loaded(x, PACKAGE = "RGtk2"), sym) if(is.null(sym)) { message <- paste("Could not", op, "field", name, "for classes", paste(class(obj), collapse=", ")) if(error) stop(message) else { v <- paste(message) class(v) <- "try-error" return(v) } } function(obj) .Call(sym, obj, PACKAGE = "RGtk2") } # This attempts to coerce an R object to an RGClosure that is understood on the C side as.GClosure <- function(x) { if (inherits(x, "GClosure")) x <- toRGClosure(x) else x <- as.function(x) class(x) <- "RGClosure" x } # This attempts to convert a C GClosure to an R closure # (with extra ref attribute that prevents recursion on C side) toRGClosure <- function(c_closure) { checkPtrType(c_closure, "GClosure") closure <- function(...) { .RGtkCall("R_g_closure_invoke", c_closure, c(...), PACKAGE = "RGtk2") } attr(closure, "ref") <- c_closure closure } # virtuals for GObject assign("GObject", c("set_property", "get_property"), .virtuals) RGtk2/R/gtkCoerce.R0000644000176000001440000000674711766145227013516 0ustar ripleyusersas.GtkStockItem <- function(x) { x <- as.struct(x, "GtkStockItem", c("stock_id", "label", "modifier", "keyval", "translation_domain")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[4]] <- as.numeric(x[[4]]) x[[5]] <- as.character(x[[5]]) return(x) } as.GtkActionEntry <- function(x) { x <- as.struct(x, "GtkActionEntry", c("name", "stock_id", "label", "accelerator", "tooltip", "callback")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.character(x[[5]]) if (!is.null(x[[6]])) x[[6]] <- as.function(x[[6]]) return(x) } as.GtkToggleActionEntry <- function(x) { x <- as.struct(x, "GtkToggleActionEntry", c("name", "stock_id", "label", "accelerator", "tooltip", "callback", "is_active")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.character(x[[5]]) if (!is.null(x[[6]])) x[[6]] <- as.function(x[[6]]) x[[7]] <- as.logical(x[[7]]) return(x) } as.GtkRadioActionEntry <- function(x) { x <- as.struct(x, "GtkActionEntry", c("name", "stock_id", "label", "accelerator", "tooltip", "value")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.character(x[[5]]) x[[6]] <- as.integer(x[[6]]) return(x) } as.GtkFileFilterInfo <- function(x) { x <- as.struct(x, "GtkFileFilterInfo", c("contains", "filename", "uri", "display.name", "mime.type")) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.character(x[[5]]) return(x) } as.GtkSettingsValue <- function(x) { x <- as.struct(x, "GtkSettingsValue", c("origin", "value")) x[[1]] <- as.character(x[[1]]) return(x) } as.GtkItemFactoryEntry <- function(x) { x <- as.struct(x, "GtkItemFactoryEntry", c("path", "accelerator", "callback", "callback.action", "item.type", "extra.data")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.function(x[[3]]) x[[4]] <- as.numeric(x[[4]]) x[[5]] <- as.character(x[[5]]) return(x) } as.GtkAllocation <- function(x) { x <- as.GdkRectangle(x) class(x) <- "GtkAllocation" return(x) } as.GtkTargetEntry <- function(x) { x <- as.struct(x, "GtkTargetEntry", c("target", "flags", "info")) x[[1]] <- as.character(x[[1]]) x[[3]] <- as.integer(x[[3]]) return(x) } as.GtkRecentFilterInfo <- function(x) { x <- as.struct("GtkRecentFilterInfo", c("contains", "uri", "display_name", "mime_type", "applications", "groups", "age")) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.list(as.character(x[[5]])) x[[6]] <- as.list(as.character(x[[6]])) x[[7]] <- as.integer(x[[7]]) return(x) } as.GtkRecentData <- function(x) { x <- as.struct("GtkRecentData", c("display_name", "description", "mime_type", "app_name", "app_exec", "groups", "is_private")) x[[1]] <- as.character(x[[1]]) x[[2]] <- as.character(x[[2]]) x[[3]] <- as.character(x[[3]]) x[[4]] <- as.character(x[[4]]) x[[5]] <- as.character(x[[5]]) x[[6]] <- as.list(as.character(x[[6]])) x[[7]] <- as.logical(x[[7]]) return(x) } as.GtkPageRange <- function(x) { x <- as.struct("GtkPageRange", c("start", "end")) x[[1]] <- as.integer(x[[1]]) x[[2]] <- as.integer(x[[2]]) return(x) } RGtk2/R/gdkManuals.R0000644000176000001440000001223511766145227013663 0ustar ripleyusers# reason: generator leaves off 'width' parameter thinking it holds the length of 'data' gdkBitmapCreateFromData <- function(drawable = NULL, data, width, height) { if (!is.null( drawable )) checkPtrType(drawable, "GdkDrawable") data <- as.list(as.raw(data)) height <- as.integer(height) width <- as.integer(width) w <- .RGtkCall("S_gdk_bitmap_create_from_data", drawable, data, width, height) return(w) } # reason: need to include the rowstride param (it is not length of buffer) gdkDrawRgbImage <- function (object, gc, x, y, width, height, dith, rgb.buf, rowstride) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) rgb.buf <- as.list(as.integer(rgb.buf)) rowstride <- as.integer(rowstride) w <- .RGtkCall("S_gdk_draw_rgb_image", object, gc, x, y, width, height, dith, rgb.buf, rowstride, PACKAGE = "RGtk2") return(w) } # reason: need to omit the GdkWindowHints flags gdkWindowConstrainSize <- function(geometry, width, height) { geometry <- as.GdkGeometry(geometry) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_constrain_size", geometry, width, height) return(invisible(w)) } # reason: need to omit memory handling stuff gdkPixbufNewFromData <- function(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride) { data <- as.raw(data) has.alpha <- as.logical(has.alpha) bits.per.sample <- as.integer(bits.per.sample) width <- as.integer(width) height <- as.integer(height) rowstride <- as.integer(rowstride) w <- .RGtkCall("S_gdk_pixbuf_new_from_data", data, colorspace, has.alpha, bits.per.sample, width, height, rowstride) return(w) } # reason: omit the GdkWindowAttr mask gdkWindowNew <- function(parent = NULL, attributes) { checkPtrType(parent, "GdkWindow", nullOk = T) attributes <- as.GdkWindowAttr(attributes) w <- .RGtkCall("S_gdk_window_new", parent, attributes) return(w) } # reason: calculating the text length in bytes is a pain, it's a null-terminated string so.. gdkTextExtents <- gdkStringExtents # reason: the API defines the callback in a weird way gdkWindowInvalidateMaybeRecurse <- function(object, region, child.func, user.data) { checkPtrType(object, "GdkWindow") checkPtrType(region, "GdkRegion") child.func <- as.function(child.func) w <- .RGtkCall("S_gdk_window_invalidate_maybe_recurse", object, region, child.func, user.data, PACKAGE = "RGtk2") return(invisible(w)) } # reason: collect var-args and send to gdkPixbufSavev gdkPixbufSave <- function(object, filename, type, ..., .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") filename <- as.character(filename) type <- as.character(type) args <- c(...) w <- gdkPixbufSavev(object, filename, type, names(args), args, .errwarn) return(w) } # reason: collect var-args and send to gdkPixbufSaveToCallbackv gdkPixbufSaveToCallback <- function(object, save.func, user.data, type, ..., .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") save.func <- as.function(save.func) type <- as.character(type) args <- c(...) w <- gdkPixbufSaveToCallbackv(object, save.func, user.data, type, names(args), args, .errwarn) return(w) } gdkColormapAllocColors <- function(colormap, colors, writeable, best.match) { checkPtrType(colormap, "GdkColormap") writeable <- as.logical(writeable) best.match <- as.logical(best.match) sapply(colors, function(color) gdkColormapAllocColor(colormap, color, writeable, best.match)) } # reason: handle var-args by passing to save_to_bufferv gdkPixbufSaveToBuffer <- function(object, type, ..., .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") type <- as.character(type) args <- c(...) w <- object$saveToBufferv(type, names(args), args, .errwarn) return(invisible(w)) } # reason: allow access to the GdkPixbuf error domain quark GDK_PIXBUF_ERROR <- gdkPixbufErrorQuark <- function() { w <- .RGtkCall("S_gdk_pixbuf_error_quark", PACKAGE = "RGtk2") return(w) } # these virtual wrappers have capitalization issues: gdkGCClassGetValues <- function(object.class, object) gdkGCclassGetValues(object.class, object) gdkGCClassSetDashes <- function(object.class, object, values) gdkGCclassSetDashes(object.class, object, values) gdkGCClassSetValues <- function(object.class, object, dash.list) gdkGCclassSetValues(object.class, object, dash.list) gdkDisplaySetPointerHooks <- function(object, new.hooks) { .notimplemented("does not have user data for the hooks. What are you trying to do... implement an event system in R? Come on") } gdkSetPointerHooks <- function(object, new.hooks) { .notimplemented("does not have user data for the hooks. What are you trying to do... implement an event system in R? Come on") } gdkColorsStore <- function(object, colors) { .notimplemented("is obsolete and would probably break things if you used it. Just use a new colormap or something") } RGtk2/R/cairoFuncs.R0000644000176000001440000013771712362217673013704 0ustar ripleyusers cairoVersion <- function() { w <- .RGtkCall("S_cairo_version", PACKAGE = "RGtk2") return(w) } cairoVersionString <- function() { w <- .RGtkCall("S_cairo_version_string", PACKAGE = "RGtk2") return(w) } cairoCreate <- function(target) { checkPtrType(target, "CairoSurface") w <- .RGtkCall("S_cairo_create", target, PACKAGE = "RGtk2") return(w) } cairoSave <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_save", cr, PACKAGE = "RGtk2") return(w) } cairoRestore <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_restore", cr, PACKAGE = "RGtk2") return(w) } cairoSetOperator <- function(cr, op) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_set_operator", cr, op, PACKAGE = "RGtk2") return(w) } cairoSetSource <- function(cr, source) { checkPtrType(cr, "Cairo") checkPtrType(source, "CairoPattern") w <- .RGtkCall("S_cairo_set_source", cr, source, PACKAGE = "RGtk2") return(w) } cairoSetSourceRgb <- function(cr, red, green, blue) { checkPtrType(cr, "Cairo") red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) w <- .RGtkCall("S_cairo_set_source_rgb", cr, red, green, blue, PACKAGE = "RGtk2") return(w) } cairoSetSourceRgba <- function(cr, red, green, blue, alpha) { checkPtrType(cr, "Cairo") red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) alpha <- as.numeric(alpha) w <- .RGtkCall("S_cairo_set_source_rgba", cr, red, green, blue, alpha, PACKAGE = "RGtk2") return(w) } cairoSetSourceSurface <- function(cr, surface, x, y) { checkPtrType(cr, "Cairo") checkPtrType(surface, "CairoSurface") x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_cairo_set_source_surface", cr, surface, x, y, PACKAGE = "RGtk2") return(w) } cairoSetTolerance <- function(cr, tolerance) { checkPtrType(cr, "Cairo") tolerance <- as.numeric(tolerance) w <- .RGtkCall("S_cairo_set_tolerance", cr, tolerance, PACKAGE = "RGtk2") return(w) } cairoSetAntialias <- function(cr, antialias) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_set_antialias", cr, antialias, PACKAGE = "RGtk2") return(w) } cairoSetFillRule <- function(cr, fill.rule) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_set_fill_rule", cr, fill.rule, PACKAGE = "RGtk2") return(w) } cairoSetLineWidth <- function(cr, width) { checkPtrType(cr, "Cairo") width <- as.numeric(width) w <- .RGtkCall("S_cairo_set_line_width", cr, width, PACKAGE = "RGtk2") return(w) } cairoSetLineCap <- function(cr, line.cap) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_set_line_cap", cr, line.cap, PACKAGE = "RGtk2") return(w) } cairoSetLineJoin <- function(cr, line.join) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_set_line_join", cr, line.join, PACKAGE = "RGtk2") return(w) } cairoSetDash <- function(cr, dashes, offset) { checkPtrType(cr, "Cairo") dashes <- as.list(as.numeric(dashes)) offset <- as.numeric(offset) w <- .RGtkCall("S_cairo_set_dash", cr, dashes, offset, PACKAGE = "RGtk2") return(invisible(w)) } cairoSetMiterLimit <- function(cr, limit) { checkPtrType(cr, "Cairo") limit <- as.numeric(limit) w <- .RGtkCall("S_cairo_set_miter_limit", cr, limit, PACKAGE = "RGtk2") return(w) } cairoTranslate <- function(cr, tx, ty) { checkPtrType(cr, "Cairo") tx <- as.numeric(tx) ty <- as.numeric(ty) w <- .RGtkCall("S_cairo_translate", cr, tx, ty, PACKAGE = "RGtk2") return(w) } cairoScale <- function(cr, sx, sy) { checkPtrType(cr, "Cairo") sx <- as.numeric(sx) sy <- as.numeric(sy) w <- .RGtkCall("S_cairo_scale", cr, sx, sy, PACKAGE = "RGtk2") return(w) } cairoRotate <- function(cr, angle) { checkPtrType(cr, "Cairo") angle <- as.numeric(angle) w <- .RGtkCall("S_cairo_rotate", cr, angle, PACKAGE = "RGtk2") return(w) } cairoTransform <- function(cr, matrix) { checkPtrType(cr, "Cairo") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_transform", cr, matrix, PACKAGE = "RGtk2") return(w) } cairoSetMatrix <- function(cr, matrix) { checkPtrType(cr, "Cairo") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_set_matrix", cr, matrix, PACKAGE = "RGtk2") return(w) } cairoIdentityMatrix <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_identity_matrix", cr, PACKAGE = "RGtk2") return(w) } cairoUserToDevice <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.list(as.numeric(x)) y <- as.list(as.numeric(y)) w <- .RGtkCall("S_cairo_user_to_device", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoUserToDeviceDistance <- function(cr, dx, dy) { checkPtrType(cr, "Cairo") dx <- as.list(as.numeric(dx)) dy <- as.list(as.numeric(dy)) w <- .RGtkCall("S_cairo_user_to_device_distance", cr, dx, dy, PACKAGE = "RGtk2") return(w) } cairoDeviceToUser <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.list(as.numeric(x)) y <- as.list(as.numeric(y)) w <- .RGtkCall("S_cairo_device_to_user", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoDeviceToUserDistance <- function(cr, dx, dy) { checkPtrType(cr, "Cairo") dx <- as.list(as.numeric(dx)) dy <- as.list(as.numeric(dy)) w <- .RGtkCall("S_cairo_device_to_user_distance", cr, dx, dy, PACKAGE = "RGtk2") return(w) } cairoNewPath <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_new_path", cr, PACKAGE = "RGtk2") return(w) } cairoMoveTo <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_cairo_move_to", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoLineTo <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_cairo_line_to", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoCurveTo <- function(cr, x1, y1, x2, y2, x3, y3) { checkPtrType(cr, "Cairo") x1 <- as.numeric(x1) y1 <- as.numeric(y1) x2 <- as.numeric(x2) y2 <- as.numeric(y2) x3 <- as.numeric(x3) y3 <- as.numeric(y3) w <- .RGtkCall("S_cairo_curve_to", cr, x1, y1, x2, y2, x3, y3, PACKAGE = "RGtk2") return(w) } cairoArc <- function(cr, xc, yc, radius, angle1, angle2) { checkPtrType(cr, "Cairo") xc <- as.numeric(xc) yc <- as.numeric(yc) radius <- as.numeric(radius) angle1 <- as.numeric(angle1) angle2 <- as.numeric(angle2) w <- .RGtkCall("S_cairo_arc", cr, xc, yc, radius, angle1, angle2, PACKAGE = "RGtk2") return(w) } cairoArcNegative <- function(cr, xc, yc, radius, angle1, angle2) { checkPtrType(cr, "Cairo") xc <- as.numeric(xc) yc <- as.numeric(yc) radius <- as.numeric(radius) angle1 <- as.numeric(angle1) angle2 <- as.numeric(angle2) w <- .RGtkCall("S_cairo_arc_negative", cr, xc, yc, radius, angle1, angle2, PACKAGE = "RGtk2") return(w) } cairoRelMoveTo <- function(cr, dx, dy) { checkPtrType(cr, "Cairo") dx <- as.numeric(dx) dy <- as.numeric(dy) w <- .RGtkCall("S_cairo_rel_move_to", cr, dx, dy, PACKAGE = "RGtk2") return(w) } cairoRelLineTo <- function(cr, dx, dy) { checkPtrType(cr, "Cairo") dx <- as.numeric(dx) dy <- as.numeric(dy) w <- .RGtkCall("S_cairo_rel_line_to", cr, dx, dy, PACKAGE = "RGtk2") return(w) } cairoRelCurveTo <- function(cr, dx1, dy1, dx2, dy2, dx3, dy3) { checkPtrType(cr, "Cairo") dx1 <- as.numeric(dx1) dy1 <- as.numeric(dy1) dx2 <- as.numeric(dx2) dy2 <- as.numeric(dy2) dx3 <- as.numeric(dx3) dy3 <- as.numeric(dy3) w <- .RGtkCall("S_cairo_rel_curve_to", cr, dx1, dy1, dx2, dy2, dx3, dy3, PACKAGE = "RGtk2") return(w) } cairoRectangle <- function(cr, x, y, width, height) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_cairo_rectangle", cr, x, y, width, height, PACKAGE = "RGtk2") return(w) } cairoClosePath <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_close_path", cr, PACKAGE = "RGtk2") return(w) } cairoPaint <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_paint", cr, PACKAGE = "RGtk2") return(w) } cairoPaintWithAlpha <- function(cr, alpha) { checkPtrType(cr, "Cairo") alpha <- as.numeric(alpha) w <- .RGtkCall("S_cairo_paint_with_alpha", cr, alpha, PACKAGE = "RGtk2") return(w) } cairoMask <- function(cr, pattern) { checkPtrType(cr, "Cairo") checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_mask", cr, pattern, PACKAGE = "RGtk2") return(w) } cairoMaskSurface <- function(cr, surface, surface.x, surface.y) { checkPtrType(cr, "Cairo") checkPtrType(surface, "CairoSurface") surface.x <- as.numeric(surface.x) surface.y <- as.numeric(surface.y) w <- .RGtkCall("S_cairo_mask_surface", cr, surface, surface.x, surface.y, PACKAGE = "RGtk2") return(w) } cairoStroke <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_stroke", cr, PACKAGE = "RGtk2") return(w) } cairoStrokePreserve <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_stroke_preserve", cr, PACKAGE = "RGtk2") return(w) } cairoFill <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_fill", cr, PACKAGE = "RGtk2") return(w) } cairoFillPreserve <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_fill_preserve", cr, PACKAGE = "RGtk2") return(w) } cairoCopyPage <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_copy_page", cr, PACKAGE = "RGtk2") return(w) } cairoShowPage <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_show_page", cr, PACKAGE = "RGtk2") return(w) } cairoInStroke <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_cairo_in_stroke", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoInFill <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_cairo_in_fill", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoStrokeExtents <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_stroke_extents", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoFillExtents <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_fill_extents", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoResetClip <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_reset_clip", cr, PACKAGE = "RGtk2") return(w) } cairoClip <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_clip", cr, PACKAGE = "RGtk2") return(w) } cairoClipPreserve <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_clip_preserve", cr, PACKAGE = "RGtk2") return(w) } cairoSelectFontFace <- function(cr, family, slant, weight) { checkPtrType(cr, "Cairo") family <- as.character(family) w <- .RGtkCall("S_cairo_select_font_face", cr, family, slant, weight, PACKAGE = "RGtk2") return(w) } cairoSetFontSize <- function(cr, size) { checkPtrType(cr, "Cairo") size <- as.numeric(size) w <- .RGtkCall("S_cairo_set_font_size", cr, size, PACKAGE = "RGtk2") return(w) } cairoSetFontMatrix <- function(cr, matrix) { checkPtrType(cr, "Cairo") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_set_font_matrix", cr, matrix, PACKAGE = "RGtk2") return(w) } cairoGetFontMatrix <- function(cr, matrix) { checkPtrType(cr, "Cairo") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_get_font_matrix", cr, matrix, PACKAGE = "RGtk2") return(w) } cairoShowText <- function(cr, utf8) { checkPtrType(cr, "Cairo") utf8 <- as.character(utf8) w <- .RGtkCall("S_cairo_show_text", cr, utf8, PACKAGE = "RGtk2") return(w) } cairoShowGlyphs <- function(cr, glyphs, num.glyphs) { checkPtrType(cr, "Cairo") glyphs <- as.CairoGlyph(glyphs) num.glyphs <- as.integer(num.glyphs) w <- .RGtkCall("S_cairo_show_glyphs", cr, glyphs, num.glyphs, PACKAGE = "RGtk2") return(w) } cairoGetFontFace <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_font_face", cr, PACKAGE = "RGtk2") return(w) } cairoFontExtents <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_font_extents", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoSetFontFace <- function(cr, font.face) { checkPtrType(cr, "Cairo") checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_set_font_face", cr, font.face, PACKAGE = "RGtk2") return(w) } cairoTextExtents <- function(cr, utf8) { checkPtrType(cr, "Cairo") utf8 <- as.character(utf8) w <- .RGtkCall("S_cairo_text_extents", cr, utf8, PACKAGE = "RGtk2") return(invisible(w)) } cairoGlyphExtents <- function(cr, glyphs) { checkPtrType(cr, "Cairo") glyphs <- lapply(glyphs, function(x) { x <- as.CairoGlyph(x); x }) w <- .RGtkCall("S_cairo_glyph_extents", cr, glyphs, PACKAGE = "RGtk2") return(invisible(w)) } cairoTextPath <- function(cr, utf8) { checkPtrType(cr, "Cairo") utf8 <- as.character(utf8) w <- .RGtkCall("S_cairo_text_path", cr, utf8, PACKAGE = "RGtk2") return(w) } cairoGlyphPath <- function(cr, glyphs) { checkPtrType(cr, "Cairo") glyphs <- lapply(glyphs, function(x) { x <- as.CairoGlyph(x); x }) w <- .RGtkCall("S_cairo_glyph_path", cr, glyphs, PACKAGE = "RGtk2") return(invisible(w)) } cairoSetFontOptions <- function(cr, options) { checkPtrType(cr, "Cairo") checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_set_font_options", cr, options, PACKAGE = "RGtk2") return(w) } cairoGetFontOptions <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_font_options", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoFontFaceGetUserData <- function(font.face, key) { checkPtrType(font.face, "CairoFontFace") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_font_face_get_user_data", font.face, key, PACKAGE = "RGtk2") return(w) } cairoFontFaceSetUserData <- function(font.face, key, user.data) { checkPtrType(font.face, "CairoFontFace") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_font_face_set_user_data", font.face, key, user.data, PACKAGE = "RGtk2") return(w) } cairoFontFaceStatus <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_font_face_status", font.face, PACKAGE = "RGtk2") return(w) } cairoScaledFontCreate <- function(font.face, font.matrix, ctm, option) { checkPtrType(font.face, "CairoFontFace") checkPtrType(font.matrix, "CairoMatrix") checkPtrType(ctm, "CairoMatrix") checkPtrType(option, "CairoFontOptions") w <- .RGtkCall("S_cairo_scaled_font_create", font.face, font.matrix, ctm, option, PACKAGE = "RGtk2") return(w) } cairoScaledFontExtents <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_extents", scaled.font, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontGlyphExtents <- function(scaled.font, glyphs, num.glyphs) { checkPtrType(scaled.font, "CairoScaledFont") glyphs <- as.CairoGlyph(glyphs) num.glyphs <- as.integer(num.glyphs) w <- .RGtkCall("S_cairo_scaled_font_glyph_extents", scaled.font, glyphs, num.glyphs, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontStatus <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_status", scaled.font, PACKAGE = "RGtk2") return(w) } cairoGetOperator <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_operator", cr, PACKAGE = "RGtk2") return(w) } cairoGetSource <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_source", cr, PACKAGE = "RGtk2") return(w) } cairoGetTolerance <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_tolerance", cr, PACKAGE = "RGtk2") return(w) } cairoGetAntialias <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_antialias", cr, PACKAGE = "RGtk2") return(w) } cairoGetCurrentPoint <- function(cr, x, y) { checkPtrType(cr, "Cairo") x <- as.list(as.numeric(x)) y <- as.list(as.numeric(y)) w <- .RGtkCall("S_cairo_get_current_point", cr, x, y, PACKAGE = "RGtk2") return(w) } cairoGetFillRule <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_fill_rule", cr, PACKAGE = "RGtk2") return(w) } cairoGetLineWidth <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_line_width", cr, PACKAGE = "RGtk2") return(w) } cairoGetLineCap <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_line_cap", cr, PACKAGE = "RGtk2") return(w) } cairoGetLineJoin <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_line_join", cr, PACKAGE = "RGtk2") return(w) } cairoGetMiterLimit <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_miter_limit", cr, PACKAGE = "RGtk2") return(w) } cairoGetMatrix <- function(cr, matrix) { checkPtrType(cr, "Cairo") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_get_matrix", cr, matrix, PACKAGE = "RGtk2") return(w) } cairoGetTarget <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_target", cr, PACKAGE = "RGtk2") return(w) } cairoCopyPath <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_copy_path", cr, PACKAGE = "RGtk2") return(w) } cairoCopyPathFlat <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_copy_path_flat", cr, PACKAGE = "RGtk2") return(w) } cairoAppendPath <- function(cr, path) { checkPtrType(cr, "Cairo") path <- as.CairoPath(path) w <- .RGtkCall("S_cairo_append_path", cr, path, PACKAGE = "RGtk2") return(w) } cairoStatus <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_status", cr, PACKAGE = "RGtk2") return(w) } cairoStatusToString <- function(status) { w <- .RGtkCall("S_cairo_status_to_string", status, PACKAGE = "RGtk2") return(w) } cairoSurfaceCreateSimilar <- function(other, content, width, height) { checkPtrType(other, "CairoSurface") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_cairo_surface_create_similar", other, content, width, height, PACKAGE = "RGtk2") return(w) } cairoSurfaceDestroy <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_destroy", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceFinish <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_finish", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceWriteToPng <- function(surface, filename) { checkPtrType(surface, "CairoSurface") filename <- as.character(filename) w <- .RGtkCall("S_cairo_surface_write_to_png", surface, filename, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetUserData <- function(surface, key) { checkPtrType(surface, "CairoSurface") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_surface_get_user_data", surface, key, PACKAGE = "RGtk2") return(w) } cairoSurfaceSetUserData <- function(surface, key, user.data) { checkPtrType(surface, "CairoSurface") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_surface_set_user_data", surface, key, user.data, PACKAGE = "RGtk2") return(w) } cairoSurfaceFlush <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_flush", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceMarkDirty <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_mark_dirty", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceMarkDirtyRectangle <- function(surface, x, y, width, height) { checkPtrType(surface, "CairoSurface") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_cairo_surface_mark_dirty_rectangle", surface, x, y, width, height, PACKAGE = "RGtk2") return(w) } cairoSurfaceSetDeviceOffset <- function(surface, x.offset, y.offset) { checkPtrType(surface, "CairoSurface") x.offset <- as.numeric(x.offset) y.offset <- as.numeric(y.offset) w <- .RGtkCall("S_cairo_surface_set_device_offset", surface, x.offset, y.offset, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetFontOptions <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_get_font_options", surface, PACKAGE = "RGtk2") return(invisible(w)) } cairoSurfaceStatus <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_status", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceCreate <- function(format, width, height) { width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_cairo_image_surface_create", format, width, height, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceCreateForData <- function(data, format, width, height, stride) { data <- as.list(as.raw(data)) width <- as.integer(width) height <- as.integer(height) stride <- as.integer(stride) w <- .RGtkCall("S_cairo_image_surface_create_for_data", data, format, width, height, stride, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceGetWidth <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_image_surface_get_width", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceGetHeight <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_image_surface_get_height", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceCreateFromPng <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_cairo_image_surface_create_from_png", filename, PACKAGE = "RGtk2") return(w) } cairoPatternCreateRgb <- function(red, green, blue) { red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) w <- .RGtkCall("S_cairo_pattern_create_rgb", red, green, blue, PACKAGE = "RGtk2") return(w) } cairoPatternCreateRgba <- function(red, green, blue, alpha) { red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) alpha <- as.numeric(alpha) w <- .RGtkCall("S_cairo_pattern_create_rgba", red, green, blue, alpha, PACKAGE = "RGtk2") return(w) } cairoPatternCreateForSurface <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_pattern_create_for_surface", surface, PACKAGE = "RGtk2") return(w) } cairoPatternCreateLinear <- function(x0, y0, x1, y1) { x0 <- as.numeric(x0) y0 <- as.numeric(y0) x1 <- as.numeric(x1) y1 <- as.numeric(y1) w <- .RGtkCall("S_cairo_pattern_create_linear", x0, y0, x1, y1, PACKAGE = "RGtk2") return(w) } cairoPatternCreateRadial <- function(cx0, cy0, radius0, cx1, cy1, radius1) { cx0 <- as.numeric(cx0) cy0 <- as.numeric(cy0) radius0 <- as.numeric(radius0) cx1 <- as.numeric(cx1) cy1 <- as.numeric(cy1) radius1 <- as.numeric(radius1) w <- .RGtkCall("S_cairo_pattern_create_radial", cx0, cy0, radius0, cx1, cy1, radius1, PACKAGE = "RGtk2") return(w) } cairoPatternStatus <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_status", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternAddColorStopRgb <- function(pattern, offset, red, green, blue) { checkPtrType(pattern, "CairoPattern") offset <- as.numeric(offset) red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) w <- .RGtkCall("S_cairo_pattern_add_color_stop_rgb", pattern, offset, red, green, blue, PACKAGE = "RGtk2") return(w) } cairoPatternAddColorStopRgba <- function(pattern, offset, red, green, blue, alpha) { checkPtrType(pattern, "CairoPattern") offset <- as.numeric(offset) red <- as.numeric(red) green <- as.numeric(green) blue <- as.numeric(blue) alpha <- as.numeric(alpha) w <- .RGtkCall("S_cairo_pattern_add_color_stop_rgba", pattern, offset, red, green, blue, alpha, PACKAGE = "RGtk2") return(w) } cairoPatternSetMatrix <- function(pattern, matrix) { checkPtrType(pattern, "CairoPattern") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_pattern_set_matrix", pattern, matrix, PACKAGE = "RGtk2") return(w) } cairoPatternGetMatrix <- function(pattern, matrix) { checkPtrType(pattern, "CairoPattern") checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_pattern_get_matrix", pattern, matrix, PACKAGE = "RGtk2") return(w) } cairoPatternSetExtend <- function(pattern, extend) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_set_extend", pattern, extend, PACKAGE = "RGtk2") return(w) } cairoPatternGetExtend <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_extend", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternSetFilter <- function(pattern, filter) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_set_filter", pattern, filter, PACKAGE = "RGtk2") return(w) } cairoPatternGetFilter <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_filter", pattern, PACKAGE = "RGtk2") return(w) } cairoMatrixInit <- function(xx, yx, xy, yy, x0, y0) { xx <- as.numeric(xx) yx <- as.numeric(yx) xy <- as.numeric(xy) yy <- as.numeric(yy) x0 <- as.numeric(x0) y0 <- as.numeric(y0) w <- .RGtkCall("S_cairo_matrix_init", xx, yx, xy, yy, x0, y0, PACKAGE = "RGtk2") return(invisible(w)) } cairoMatrixInitIdentity <- function() { w <- .RGtkCall("S_cairo_matrix_init_identity", PACKAGE = "RGtk2") return(invisible(w)) } cairoMatrixInitTranslate <- function(tx, ty) { tx <- as.numeric(tx) ty <- as.numeric(ty) w <- .RGtkCall("S_cairo_matrix_init_translate", tx, ty, PACKAGE = "RGtk2") return(invisible(w)) } cairoMatrixInitScale <- function(sx, sy) { sx <- as.numeric(sx) sy <- as.numeric(sy) w <- .RGtkCall("S_cairo_matrix_init_scale", sx, sy, PACKAGE = "RGtk2") return(invisible(w)) } cairoMatrixInitRotate <- function(radians) { radians <- as.numeric(radians) w <- .RGtkCall("S_cairo_matrix_init_rotate", radians, PACKAGE = "RGtk2") return(invisible(w)) } cairoMatrixTranslate <- function(matrix, tx, ty) { checkPtrType(matrix, "CairoMatrix") tx <- as.numeric(tx) ty <- as.numeric(ty) w <- .RGtkCall("S_cairo_matrix_translate", matrix, tx, ty, PACKAGE = "RGtk2") return(w) } cairoMatrixScale <- function(matrix, sx, sy) { checkPtrType(matrix, "CairoMatrix") sx <- as.numeric(sx) sy <- as.numeric(sy) w <- .RGtkCall("S_cairo_matrix_scale", matrix, sx, sy, PACKAGE = "RGtk2") return(w) } cairoMatrixRotate <- function(matrix, radians) { checkPtrType(matrix, "CairoMatrix") radians <- as.numeric(radians) w <- .RGtkCall("S_cairo_matrix_rotate", matrix, radians, PACKAGE = "RGtk2") return(w) } cairoMatrixInvert <- function(matrix) { checkPtrType(matrix, "CairoMatrix") w <- .RGtkCall("S_cairo_matrix_invert", matrix, PACKAGE = "RGtk2") return(w) } cairoMatrixMultiply <- function(result, a, b) { checkPtrType(result, "CairoMatrix") checkPtrType(a, "CairoMatrix") checkPtrType(b, "CairoMatrix") w <- .RGtkCall("S_cairo_matrix_multiply", result, a, b, PACKAGE = "RGtk2") return(w) } cairoMatrixTransformDistance <- function(matrix, dx, dy) { checkPtrType(matrix, "CairoMatrix") dx <- as.list(as.numeric(dx)) dy <- as.list(as.numeric(dy)) w <- .RGtkCall("S_cairo_matrix_transform_distance", matrix, dx, dy, PACKAGE = "RGtk2") return(w) } cairoMatrixTransformPoint <- function(matrix, x, y) { checkPtrType(matrix, "CairoMatrix") x <- as.list(as.numeric(x)) y <- as.list(as.numeric(y)) w <- .RGtkCall("S_cairo_matrix_transform_point", matrix, x, y, PACKAGE = "RGtk2") return(w) } cairoFontOptionsCreate <- function() { w <- .RGtkCall("S_cairo_font_options_create", PACKAGE = "RGtk2") return(w) } cairoFontOptionsCopy <- function(original) { checkPtrType(original, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_copy", original, PACKAGE = "RGtk2") return(w) } cairoFontOptionsStatus <- function(options) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_status", options, PACKAGE = "RGtk2") return(w) } cairoFontOptionsMerge <- function(options, other) { checkPtrType(options, "CairoFontOptions") checkPtrType(other, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_merge", options, other, PACKAGE = "RGtk2") return(w) } cairoFontOptionsEqual <- function(options, other) { checkPtrType(options, "CairoFontOptions") checkPtrType(other, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_equal", options, other, PACKAGE = "RGtk2") return(w) } cairoFontOptionsSetAntialias <- function(options, antialias) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_set_antialias", options, antialias, PACKAGE = "RGtk2") return(w) } cairoFontOptionsGetAntialias <- function(options) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_get_antialias", options, PACKAGE = "RGtk2") return(w) } cairoFontOptionsSetSubpixelOrder <- function(options, subpixel.order) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_set_subpixel_order", options, subpixel.order, PACKAGE = "RGtk2") return(w) } cairoFontOptionsGetSubpixelOrder <- function(options) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_get_subpixel_order", options, PACKAGE = "RGtk2") return(w) } cairoFontOptionsSetHintStyle <- function(options, hint.style) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_set_hint_style", options, hint.style, PACKAGE = "RGtk2") return(w) } cairoFontOptionsGetHintStyle <- function(options) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_get_hint_style", options, PACKAGE = "RGtk2") return(w) } cairoFontOptionsSetHintMetrics <- function(options, hint.metrics) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_set_hint_metrics", options, hint.metrics, PACKAGE = "RGtk2") return(w) } cairoFontOptionsGetHintMetrics <- function(options) { checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_cairo_font_options_get_hint_metrics", options, PACKAGE = "RGtk2") return(w) } cairoPushGroup <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_push_group", cr, PACKAGE = "RGtk2") return(w) } cairoPushGroupWithContent <- function(cr, content) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_push_group_with_content", cr, content, PACKAGE = "RGtk2") return(w) } cairoPopGroup <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_pop_group", cr, PACKAGE = "RGtk2") return(w) } cairoPopGroupToSource <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_pop_group_to_source", cr, PACKAGE = "RGtk2") return(w) } cairoGetGroupTarget <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_group_target", cr, PACKAGE = "RGtk2") return(w) } cairoNewSubPath <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_new_sub_path", cr, PACKAGE = "RGtk2") return(w) } cairoSetScaledFont <- function(cr, scaled.font) { checkPtrType(cr, "Cairo") checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_set_scaled_font", cr, scaled.font, PACKAGE = "RGtk2") return(w) } cairoScaledFontGetFontFace <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_font_face", scaled.font, PACKAGE = "RGtk2") return(w) } cairoScaledFontGetFontMatrix <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_font_matrix", scaled.font, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontGetCtm <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_ctm", scaled.font, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontGetFontOptions <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_font_options", scaled.font, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontTextExtents <- function(scaled.font, utf8) { checkPtrType(scaled.font, "CairoScaledFont") utf8 <- as.character(utf8) w <- .RGtkCall("S_cairo_scaled_font_text_extents", scaled.font, utf8, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontGetType <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_type", scaled.font, PACKAGE = "RGtk2") return(w) } cairoFontFaceGetType <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_font_face_get_type", font.face, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetType <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_get_type", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetDeviceOffset <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_get_device_offset", surface, PACKAGE = "RGtk2") return(invisible(w)) } cairoSurfaceSetFallbackResolution <- function(surface, x.pixels.per.inch, y.pixels.per.inch) { checkPtrType(surface, "CairoSurface") x.pixels.per.inch <- as.numeric(x.pixels.per.inch) y.pixels.per.inch <- as.numeric(y.pixels.per.inch) w <- .RGtkCall("S_cairo_surface_set_fallback_resolution", surface, x.pixels.per.inch, y.pixels.per.inch, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetContent <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_get_content", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceGetFormat <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_image_surface_get_format", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceGetStride <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_image_surface_get_stride", surface, PACKAGE = "RGtk2") return(w) } cairoImageSurfaceGetData <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_image_surface_get_data", surface, PACKAGE = "RGtk2") return(w) } cairoPatternGetType <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_type", pattern, PACKAGE = "RGtk2") return(w) } cairoPdfSurfaceCreate <- function(filename, width.in.points, height.in.points) { filename <- as.character(filename) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_pdf_surface_create", filename, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPdfSurfaceCreateForStream <- function(write.func, closure = NULL, width.in.points, height.in.points) { write.func <- as.function(write.func) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_pdf_surface_create_for_stream", write.func, closure, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPdfSurfaceSetSize <- function(surface, width.in.points, height.in.points) { checkPtrType(surface, "CairoSurface") width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_pdf_surface_set_size", surface, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceCreate <- function(filename, width.in.points, height.in.points) { filename <- as.character(filename) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_ps_surface_create", filename, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceCreateForStream <- function(write.func, closure = NULL, width.in.points, height.in.points) { write.func <- as.function(write.func) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_ps_surface_create_for_stream", write.func, closure, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceSetSize <- function(surface, width.in.points, height.in.points) { checkPtrType(surface, "CairoSurface") width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_ps_surface_set_size", surface, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceDscComment <- function(surface, comment) { checkPtrType(surface, "CairoSurface") comment <- as.character(comment) w <- .RGtkCall("S_cairo_ps_surface_dsc_comment", surface, comment, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceDscBeginSetup <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_ps_surface_dsc_begin_setup", surface, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceDscBeginPageSetup <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_ps_surface_dsc_begin_page_setup", surface, PACKAGE = "RGtk2") return(w) } cairoSvgSurfaceCreate <- function(filename, width.in.points, height.in.points) { filename <- as.character(filename) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_svg_surface_create", filename, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoSvgSurfaceCreateForStream <- function(write.func, closure = NULL, width.in.points, height.in.points) { write.func <- as.function(write.func) width.in.points <- as.numeric(width.in.points) height.in.points <- as.numeric(height.in.points) w <- .RGtkCall("S_cairo_svg_surface_create_for_stream", write.func, closure, width.in.points, height.in.points, PACKAGE = "RGtk2") return(w) } cairoSvgSurfaceRestrictToVersion <- function(surface, version) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_svg_surface_restrict_to_version", surface, version, PACKAGE = "RGtk2") return(w) } cairoSvgGetVersions <- function() { w <- .RGtkCall("S_cairo_svg_get_versions", PACKAGE = "RGtk2") return(invisible(w)) } cairoSvgVersionToString <- function(version) { w <- .RGtkCall("S_cairo_svg_version_to_string", version, PACKAGE = "RGtk2") return(w) } cairoClipExtents <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_clip_extents", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoCopyClipRectangleList <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_copy_clip_rectangle_list", cr, PACKAGE = "RGtk2") return(w) } cairoGetDashCount <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_dash_count", cr, PACKAGE = "RGtk2") return(w) } cairoGetDash <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_dash", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoPatternGetRgba <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_rgba", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternGetSurface <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_surface", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternGetColorStopRgba <- function(pattern, index) { checkPtrType(pattern, "CairoPattern") index <- as.integer(index) w <- .RGtkCall("S_cairo_pattern_get_color_stop_rgba", pattern, index, PACKAGE = "RGtk2") return(w) } cairoPatternGetColorStopCount <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_color_stop_count", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternGetLinearPoints <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_linear_points", pattern, PACKAGE = "RGtk2") return(w) } cairoPatternGetRadialCircles <- function(pattern) { checkPtrType(pattern, "CairoPattern") w <- .RGtkCall("S_cairo_pattern_get_radial_circles", pattern, PACKAGE = "RGtk2") return(w) } cairoGetScaledFont <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_get_scaled_font", cr, PACKAGE = "RGtk2") return(w) } cairoSetUserData <- function(cr, key, user.data) { checkPtrType(cr, "Cairo") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_set_user_data", cr, key, user.data, PACKAGE = "RGtk2") return(w) } cairoGetUserData <- function(cr, key) { checkPtrType(cr, "Cairo") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_get_user_data", cr, key, PACKAGE = "RGtk2") return(w) } cairoScaledFontGetUserData <- function(scaled.font, key) { checkPtrType(scaled.font, "CairoScaledFont") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_scaled_font_get_user_data", scaled.font, key, PACKAGE = "RGtk2") return(w) } cairoScaledFontSetUserData <- function(scaled.font, key, user.data) { checkPtrType(scaled.font, "CairoScaledFont") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_scaled_font_set_user_data", scaled.font, key, user.data, PACKAGE = "RGtk2") return(w) } cairoPatternGetUserData <- function(pattern, key) { checkPtrType(pattern, "CairoPattern") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_pattern_get_user_data", pattern, key, PACKAGE = "RGtk2") return(w) } cairoPatternSetUserData <- function(pattern, key, user.data) { checkPtrType(pattern, "CairoPattern") checkPtrType(key, "CairoUserDataKey") w <- .RGtkCall("S_cairo_pattern_set_user_data", pattern, key, user.data, PACKAGE = "RGtk2") return(w) } cairoFormatStrideForWidth <- function(format, width) { width <- as.integer(width) w <- .RGtkCall("S_cairo_format_stride_for_width", format, width, PACKAGE = "RGtk2") return(w) } cairoHasCurrentPoint <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_has_current_point", cr, PACKAGE = "RGtk2") return(w) } cairoPathExtents <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_cairo_path_extents", cr, PACKAGE = "RGtk2") return(invisible(w)) } cairoSurfaceCopyPage <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_copy_page", surface, PACKAGE = "RGtk2") return(w) } cairoSurfaceShowPage <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_show_page", surface, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceRestrictToLevel <- function(surface, level) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_ps_surface_restrict_to_level", surface, level, PACKAGE = "RGtk2") return(w) } cairoPsGetLevels <- function() { w <- .RGtkCall("S_cairo_ps_get_levels", PACKAGE = "RGtk2") return(invisible(w)) } cairoPsLevelToString <- function(level) { w <- .RGtkCall("S_cairo_ps_level_to_string", level, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceSetEps <- function(surface, eps) { checkPtrType(surface, "CairoSurface") eps <- as.logical(eps) w <- .RGtkCall("S_cairo_ps_surface_set_eps", surface, eps, PACKAGE = "RGtk2") return(w) } cairoPsSurfaceGetEps <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_ps_surface_get_eps", surface, PACKAGE = "RGtk2") return(w) } cairoToyFontFaceCreate <- function(family, slant, weight) { family <- as.character(family) w <- .RGtkCall("S_cairo_toy_font_face_create", family, slant, weight, PACKAGE = "RGtk2") return(w) } cairoToyFontFaceGetFamily <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_toy_font_face_get_family", font.face, PACKAGE = "RGtk2") return(w) } cairoToyFontFaceGetSlant <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_toy_font_face_get_slant", font.face, PACKAGE = "RGtk2") return(w) } cairoToyFontFaceGetWeight <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_toy_font_face_get_weight", font.face, PACKAGE = "RGtk2") return(w) } cairoSurfaceGetFallbackResolution <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_get_fallback_resolution", surface, PACKAGE = "RGtk2") return(invisible(w)) } cairoSurfaceHasShowTextGlyphs <- function(surface) { checkPtrType(surface, "CairoSurface") w <- .RGtkCall("S_cairo_surface_has_show_text_glyphs", surface, PACKAGE = "RGtk2") return(w) } cairoShowTextGlyphs <- function(cr, utf8, glyphs, clusters, cluster.flags) { checkPtrType(cr, "Cairo") utf8 <- as.character(utf8) glyphs <- lapply(glyphs, function(x) { x <- as.CairoGlyph(x); x }) clusters <- lapply(clusters, function(x) { x <- as.CairoTextCluster(x); x }) w <- .RGtkCall("S_cairo_show_text_glyphs", cr, utf8, glyphs, clusters, cluster.flags, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontGetScaleMatrix <- function(scaled.font) { checkPtrType(scaled.font, "CairoScaledFont") w <- .RGtkCall("S_cairo_scaled_font_get_scale_matrix", scaled.font, PACKAGE = "RGtk2") return(invisible(w)) } cairoScaledFontTextToGlyphs <- function(scaled.font, x, y, utf8, utf8.len = -1) { checkPtrType(scaled.font, "CairoScaledFont") x <- as.numeric(x) y <- as.numeric(y) utf8 <- as.character(utf8) utf8.len <- as.integer(utf8.len) w <- .RGtkCall("S_cairo_scaled_font_text_to_glyphs", scaled.font, x, y, utf8, utf8.len, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceCreate <- function() { w <- .RGtkCall("S_cairo_user_font_face_create", PACKAGE = "RGtk2") return(w) } cairoUserFontFaceSetInitFunc <- function(font.face, init.func) { checkPtrType(font.face, "CairoFontFace") init.func <- as.function(init.func) w <- .RGtkCall("S_cairo_user_font_face_set_init_func", font.face, init.func, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceSetRenderGlyphFunc <- function(font.face, render.glyph.func) { checkPtrType(font.face, "CairoFontFace") render.glyph.func <- as.function(render.glyph.func) w <- .RGtkCall("S_cairo_user_font_face_set_render_glyph_func", font.face, render.glyph.func, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceSetUnicodeToGlyphFunc <- function(font.face, unicode.to.glyph.func) { checkPtrType(font.face, "CairoFontFace") unicode.to.glyph.func <- as.function(unicode.to.glyph.func) w <- .RGtkCall("S_cairo_user_font_face_set_unicode_to_glyph_func", font.face, unicode.to.glyph.func, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceSetTextToGlyphsFunc <- function(font.face, text.to.glyphs.func) { checkPtrType(font.face, "CairoFontFace") text.to.glyphs.func <- as.function(text.to.glyphs.func) w <- .RGtkCall("S_cairo_user_font_face_set_text_to_glyphs_func", font.face, text.to.glyphs.func, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceGetInitFunc <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_user_font_face_get_init_func", font.face, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceGetRenderGlyphFunc <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_user_font_face_get_render_glyph_func", font.face, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceGetUnicodeToGlyphFunc <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_user_font_face_get_unicode_to_glyph_func", font.face, PACKAGE = "RGtk2") return(w) } cairoUserFontFaceGetTextToGlyphsFunc <- function(font.face) { checkPtrType(font.face, "CairoFontFace") w <- .RGtkCall("S_cairo_user_font_face_get_text_to_glyphs_func", font.face, PACKAGE = "RGtk2") return(w) } RGtk2/R/gioFuncs.R0000644000176000001440000055256312362217673013365 0ustar ripleyusers gAppInfoGetType <- function() { w <- .RGtkCall("S_g_app_info_get_type", PACKAGE = "RGtk2") return(w) } gAppInfoLaunchDefaultForUri <- function(uri, launch.context, .errwarn = TRUE) { uri <- as.character(uri) checkPtrType(launch.context, "GAppLaunchContext") w <- .RGtkCall("S_g_app_info_launch_default_for_uri", uri, launch.context, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppLaunchContextGetType <- function() { w <- .RGtkCall("S_g_app_launch_context_get_type", PACKAGE = "RGtk2") return(w) } gAppInfoCreateFromCommandline <- function(commandline, application.name = NULL, flags = "G_APP_INFO_CREATE_NONE", .errwarn = TRUE) { commandline <- as.character(commandline) if (!is.null( application.name )) application.name <- as.character(application.name) w <- .RGtkCall("S_g_app_info_create_from_commandline", commandline, application.name, flags, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoDup <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_dup", object, PACKAGE = "RGtk2") return(w) } gAppInfoEqual <- function(object, appinfo2) { checkPtrType(object, "GAppInfo") checkPtrType(appinfo2, "GAppInfo") w <- .RGtkCall("S_g_app_info_equal", object, appinfo2, PACKAGE = "RGtk2") return(w) } gAppInfoGetId <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_id", object, PACKAGE = "RGtk2") return(w) } gAppInfoGetName <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_name", object, PACKAGE = "RGtk2") return(w) } gAppInfoGetDescription <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_description", object, PACKAGE = "RGtk2") return(w) } gAppInfoGetExecutable <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_executable", object, PACKAGE = "RGtk2") return(w) } gAppInfoGetIcon <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_icon", object, PACKAGE = "RGtk2") return(w) } gAppInfoLaunch <- function(object, files, launch.context, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") files <- as.GList(files) checkPtrType(launch.context, "GAppLaunchContext") w <- .RGtkCall("S_g_app_info_launch", object, files, launch.context, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoSupportsUris <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_supports_uris", object, PACKAGE = "RGtk2") return(w) } gAppInfoSupportsFiles <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_supports_files", object, PACKAGE = "RGtk2") return(w) } gAppInfoLaunchUris <- function(object, uris, launch.context, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") uris <- as.GList(uris) checkPtrType(launch.context, "GAppLaunchContext") w <- .RGtkCall("S_g_app_info_launch_uris", object, uris, launch.context, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoShouldShow <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_should_show", object, PACKAGE = "RGtk2") return(w) } gAppInfoSetAsDefaultForType <- function(object, content.type, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_g_app_info_set_as_default_for_type", object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoSetAsDefaultForExtension <- function(object, extension, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") extension <- as.character(extension) w <- .RGtkCall("S_g_app_info_set_as_default_for_extension", object, extension, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoAddSupportsType <- function(object, content.type, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_g_app_info_add_supports_type", object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoCanRemoveSupportsType <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_can_remove_supports_type", object, PACKAGE = "RGtk2") return(w) } gAppInfoRemoveSupportsType <- function(object, content.type, .errwarn = TRUE) { checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_g_app_info_remove_supports_type", object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoGetAll <- function() { w <- .RGtkCall("S_g_app_info_get_all", PACKAGE = "RGtk2") return(w) } gAppInfoGetAllForType <- function(content.type) { content.type <- as.character(content.type) w <- .RGtkCall("S_g_app_info_get_all_for_type", content.type, PACKAGE = "RGtk2") return(w) } gAppInfoGetDefaultForType <- function(content.type, must.support.uris) { content.type <- as.character(content.type) must.support.uris <- as.logical(must.support.uris) w <- .RGtkCall("S_g_app_info_get_default_for_type", content.type, must.support.uris, PACKAGE = "RGtk2") return(w) } gAppInfoGetDefaultForUriScheme <- function(uri.scheme) { uri.scheme <- as.character(uri.scheme) w <- .RGtkCall("S_g_app_info_get_default_for_uri_scheme", uri.scheme, PACKAGE = "RGtk2") return(w) } gAppLaunchContextNew <- function() { w <- .RGtkCall("S_g_app_launch_context_new", PACKAGE = "RGtk2") return(w) } gAppLaunchContextGetDisplay <- function(object, info, files) { checkPtrType(object, "GAppLaunchContext") checkPtrType(info, "GAppInfo") files <- as.GList(files) w <- .RGtkCall("S_g_app_launch_context_get_display", object, info, files, PACKAGE = "RGtk2") return(w) } gAppLaunchContextGetStartupNotifyId <- function(object, info, files) { checkPtrType(object, "GAppLaunchContext") checkPtrType(info, "GAppInfo") files <- as.GList(files) w <- .RGtkCall("S_g_app_launch_context_get_startup_notify_id", object, info, files, PACKAGE = "RGtk2") return(w) } gAppLaunchContextLaunchFailed <- function(object, startup.notify.id) { checkPtrType(object, "GAppLaunchContext") startup.notify.id <- as.character(startup.notify.id) w <- .RGtkCall("S_g_app_launch_context_launch_failed", object, startup.notify.id, PACKAGE = "RGtk2") return(invisible(w)) } gAsyncResultGetType <- function() { w <- .RGtkCall("S_g_async_result_get_type", PACKAGE = "RGtk2") return(w) } gAsyncResultGetUserData <- function(object) { checkPtrType(object, "GAsyncResult") w <- .RGtkCall("S_g_async_result_get_user_data", object, PACKAGE = "RGtk2") return(w) } gAsyncResultGetSourceObject <- function(object) { checkPtrType(object, "GAsyncResult") w <- .RGtkCall("S_g_async_result_get_source_object", object, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamGetType <- function() { w <- .RGtkCall("S_g_buffered_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gBufferedInputStreamNew <- function(base.stream = NULL) { w <- .RGtkCall("S_g_buffered_input_stream_new", base.stream, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamNewSized <- function(base.stream, size) { checkPtrType(base.stream, "GInputStream") size <- as.numeric(size) w <- .RGtkCall("S_g_buffered_input_stream_new_sized", base.stream, size, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamGetBufferSize <- function(object) { checkPtrType(object, "GBufferedInputStream") w <- .RGtkCall("S_g_buffered_input_stream_get_buffer_size", object, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamSetBufferSize <- function(object, size) { checkPtrType(object, "GBufferedInputStream") size <- as.numeric(size) w <- .RGtkCall("S_g_buffered_input_stream_set_buffer_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gBufferedInputStreamGetAvailable <- function(object) { checkPtrType(object, "GBufferedInputStream") w <- .RGtkCall("S_g_buffered_input_stream_get_available", object, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamPeekBuffer <- function(object) { checkPtrType(object, "GBufferedInputStream") w <- .RGtkCall("S_g_buffered_input_stream_peek_buffer", object, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamFill <- function(object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GBufferedInputStream") count <- as.integer(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_buffered_input_stream_fill", object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gBufferedInputStreamFillAsync <- function(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GBufferedInputStream") count <- as.integer(count) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_buffered_input_stream_fill_async", object, count, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gBufferedInputStreamFillFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GBufferedInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_buffered_input_stream_fill_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gBufferedInputStreamReadByte <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GBufferedInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_buffered_input_stream_read_byte", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gBufferedOutputStreamGetType <- function() { w <- .RGtkCall("S_g_buffered_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gBufferedOutputStreamNew <- function(base.stream = NULL) { w <- .RGtkCall("S_g_buffered_output_stream_new", base.stream, PACKAGE = "RGtk2") return(w) } gBufferedOutputStreamNewSized <- function(base.stream, size) { checkPtrType(base.stream, "GOutputStream") size <- as.numeric(size) w <- .RGtkCall("S_g_buffered_output_stream_new_sized", base.stream, size, PACKAGE = "RGtk2") return(w) } gBufferedOutputStreamGetBufferSize <- function(object) { checkPtrType(object, "GBufferedOutputStream") w <- .RGtkCall("S_g_buffered_output_stream_get_buffer_size", object, PACKAGE = "RGtk2") return(w) } gBufferedOutputStreamSetBufferSize <- function(object, size) { checkPtrType(object, "GBufferedOutputStream") size <- as.numeric(size) w <- .RGtkCall("S_g_buffered_output_stream_set_buffer_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gBufferedOutputStreamGetAutoGrow <- function(object) { checkPtrType(object, "GBufferedOutputStream") w <- .RGtkCall("S_g_buffered_output_stream_get_auto_grow", object, PACKAGE = "RGtk2") return(w) } gBufferedOutputStreamSetAutoGrow <- function(object, auto.grow) { checkPtrType(object, "GBufferedOutputStream") auto.grow <- as.logical(auto.grow) w <- .RGtkCall("S_g_buffered_output_stream_set_auto_grow", object, auto.grow, PACKAGE = "RGtk2") return(invisible(w)) } gCancellableGetType <- function() { w <- .RGtkCall("S_g_cancellable_get_type", PACKAGE = "RGtk2") return(w) } gCancellableNew <- function() { w <- .RGtkCall("S_g_cancellable_new", PACKAGE = "RGtk2") return(w) } gCancellableIsCancelled <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_is_cancelled", object, PACKAGE = "RGtk2") return(w) } gCancellableSetErrorIfCancelled <- function(object, .errwarn = TRUE) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_set_error_if_cancelled", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gCancellableGetFd <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_get_fd", object, PACKAGE = "RGtk2") return(w) } gCancellableGetCurrent <- function() { w <- .RGtkCall("S_g_cancellable_get_current", PACKAGE = "RGtk2") return(w) } gCancellablePushCurrent <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_push_current", object, PACKAGE = "RGtk2") return(invisible(w)) } gCancellablePopCurrent <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_pop_current", object, PACKAGE = "RGtk2") return(invisible(w)) } gCancellableReset <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_reset", object, PACKAGE = "RGtk2") return(invisible(w)) } gCancellableCancel <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_cancel", object, PACKAGE = "RGtk2") return(invisible(w)) } gContentTypeEquals <- function(type1, type2) { type1 <- as.character(type1) type2 <- as.character(type2) w <- .RGtkCall("S_g_content_type_equals", type1, type2, PACKAGE = "RGtk2") return(w) } gContentTypeIsA <- function(type, supertype) { type <- as.character(type) supertype <- as.character(supertype) w <- .RGtkCall("S_g_content_type_is_a", type, supertype, PACKAGE = "RGtk2") return(w) } gContentTypeIsUnknown <- function(type) { type <- as.character(type) w <- .RGtkCall("S_g_content_type_is_unknown", type, PACKAGE = "RGtk2") return(w) } gContentTypeGetDescription <- function(type) { type <- as.character(type) w <- .RGtkCall("S_g_content_type_get_description", type, PACKAGE = "RGtk2") return(w) } gContentTypeGetMimeType <- function(type) { type <- as.character(type) w <- .RGtkCall("S_g_content_type_get_mime_type", type, PACKAGE = "RGtk2") return(w) } gContentTypeGetIcon <- function(type) { type <- as.character(type) w <- .RGtkCall("S_g_content_type_get_icon", type, PACKAGE = "RGtk2") return(w) } gContentTypeCanBeExecutable <- function(type) { type <- as.character(type) w <- .RGtkCall("S_g_content_type_can_be_executable", type, PACKAGE = "RGtk2") return(w) } gContentTypeGuess <- function(filename, data) { filename <- as.character(filename) data <- as.list(as.raw(data)) w <- .RGtkCall("S_g_content_type_guess", filename, data, PACKAGE = "RGtk2") return(w) } gContentTypesGetRegistered <- function() { w <- .RGtkCall("S_g_content_types_get_registered", PACKAGE = "RGtk2") return(w) } gDataInputStreamGetType <- function() { w <- .RGtkCall("S_g_data_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gDataInputStreamNew <- function(base.stream = NULL) { w <- .RGtkCall("S_g_data_input_stream_new", base.stream, PACKAGE = "RGtk2") return(w) } gDataInputStreamSetByteOrder <- function(object, order) { checkPtrType(object, "GDataInputStream") w <- .RGtkCall("S_g_data_input_stream_set_byte_order", object, order, PACKAGE = "RGtk2") return(invisible(w)) } gDataInputStreamGetByteOrder <- function(object) { checkPtrType(object, "GDataInputStream") w <- .RGtkCall("S_g_data_input_stream_get_byte_order", object, PACKAGE = "RGtk2") return(w) } gDataInputStreamSetNewlineType <- function(object, type) { checkPtrType(object, "GDataInputStream") w <- .RGtkCall("S_g_data_input_stream_set_newline_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gDataInputStreamGetNewlineType <- function(object) { checkPtrType(object, "GDataInputStream") w <- .RGtkCall("S_g_data_input_stream_get_newline_type", object, PACKAGE = "RGtk2") return(w) } gDataInputStreamReadByte <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_byte", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadInt16 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_int16", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadUint16 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_uint16", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadInt32 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_int32", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadUint32 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_uint32", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadInt64 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_int64", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadUint64 <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_uint64", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadLine <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_line", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadUntil <- function(object, stop.chars, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") stop.chars <- as.character(stop.chars) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_input_stream_read_until", object, stop.chars, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamGetType <- function() { w <- .RGtkCall("S_g_data_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gDataOutputStreamNew <- function(base.stream = NULL) { w <- .RGtkCall("S_g_data_output_stream_new", base.stream, PACKAGE = "RGtk2") return(w) } gDataOutputStreamSetByteOrder <- function(object, order) { checkPtrType(object, "GDataOutputStream") w <- .RGtkCall("S_g_data_output_stream_set_byte_order", object, order, PACKAGE = "RGtk2") return(invisible(w)) } gDataOutputStreamGetByteOrder <- function(object) { checkPtrType(object, "GDataOutputStream") w <- .RGtkCall("S_g_data_output_stream_get_byte_order", object, PACKAGE = "RGtk2") return(w) } gDataOutputStreamPutByte <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.raw(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_byte", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutInt16 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.integer(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_int16", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutUint16 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.integer(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_uint16", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutInt32 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.integer(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_int32", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutUint32 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.numeric(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_uint32", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutInt64 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.numeric(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_int64", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutUint64 <- function(object, data, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") data <- as.numeric(data) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_uint64", object, data, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataOutputStreamPutString <- function(object, str, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GDataOutputStream") str <- as.character(str) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_data_output_stream_put_string", object, str, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveGetType <- function() { w <- .RGtkCall("S_g_drive_get_type", PACKAGE = "RGtk2") return(w) } gDriveGetName <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_get_name", object, PACKAGE = "RGtk2") return(w) } gDriveGetIcon <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_get_icon", object, PACKAGE = "RGtk2") return(w) } gDriveHasVolumes <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_has_volumes", object, PACKAGE = "RGtk2") return(w) } gDriveGetVolumes <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_get_volumes", object, PACKAGE = "RGtk2") return(w) } gDriveIsMediaRemovable <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_is_media_removable", object, PACKAGE = "RGtk2") return(w) } gDriveHasMedia <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_has_media", object, PACKAGE = "RGtk2") return(w) } gDriveIsMediaCheckAutomatic <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_is_media_check_automatic", object, PACKAGE = "RGtk2") return(w) } gDriveCanPollForMedia <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_can_poll_for_media", object, PACKAGE = "RGtk2") return(w) } gDriveCanEject <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_can_eject", object, PACKAGE = "RGtk2") return(w) } gDriveEject <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDrive") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_drive_eject", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveEjectFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_drive_eject_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDrivePollForMedia <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDrive") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_drive_poll_for_media", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDrivePollForMediaFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_drive_poll_for_media_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveGetIdentifier <- function(object, kind) { checkPtrType(object, "GDrive") kind <- as.character(kind) w <- .RGtkCall("S_g_drive_get_identifier", object, kind, PACKAGE = "RGtk2") return(w) } gDriveEnumerateIdentifiers <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_enumerate_identifiers", object, PACKAGE = "RGtk2") return(w) } gFileAttributeInfoListNew <- function() { w <- .RGtkCall("S_g_file_attribute_info_list_new", PACKAGE = "RGtk2") return(w) } gFileAttributeInfoListLookup <- function(object, name) { checkPtrType(object, "GFileAttributeInfoList") name <- as.character(name) w <- .RGtkCall("S_g_file_attribute_info_list_lookup", object, name, PACKAGE = "RGtk2") return(w) } gFileAttributeInfoListAdd <- function(object, name, type, flags = "G_FILE_ATTRIBUTE_INFO_NONE") { checkPtrType(object, "GFileAttributeInfoList") name <- as.character(name) w <- .RGtkCall("S_g_file_attribute_info_list_add", object, name, type, flags, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumeratorGetType <- function() { w <- .RGtkCall("S_g_file_enumerator_get_type", PACKAGE = "RGtk2") return(w) } gFileEnumeratorNextFile <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFileEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_enumerator_next_file", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorClose <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFileEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_enumerator_close", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorNextFilesAsync <- function(object, num.files, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFileEnumerator") num.files <- as.integer(num.files) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_enumerator_next_files_async", object, num.files, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumeratorNextFilesFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFileEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_enumerator_next_files_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorCloseAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFileEnumerator") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_enumerator_close_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumeratorCloseFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFileEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_enumerator_close_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorIsClosed <- function(object) { checkPtrType(object, "GFileEnumerator") w <- .RGtkCall("S_g_file_enumerator_is_closed", object, PACKAGE = "RGtk2") return(w) } gFileEnumeratorHasPending <- function(object) { checkPtrType(object, "GFileEnumerator") w <- .RGtkCall("S_g_file_enumerator_has_pending", object, PACKAGE = "RGtk2") return(w) } gFileEnumeratorSetPending <- function(object, pending) { checkPtrType(object, "GFileEnumerator") pending <- as.logical(pending) w <- .RGtkCall("S_g_file_enumerator_set_pending", object, pending, PACKAGE = "RGtk2") return(invisible(w)) } gFileGetType <- function() { w <- .RGtkCall("S_g_file_get_type", PACKAGE = "RGtk2") return(w) } gFileNewForPath <- function(path) { path <- as.character(path) w <- .RGtkCall("S_g_file_new_for_path", path, PACKAGE = "RGtk2") return(w) } gFileNewForUri <- function(uri) { uri <- as.character(uri) w <- .RGtkCall("S_g_file_new_for_uri", uri, PACKAGE = "RGtk2") return(w) } gFileNewForCommandlineArg <- function(arg) { arg <- as.character(arg) w <- .RGtkCall("S_g_file_new_for_commandline_arg", arg, PACKAGE = "RGtk2") return(w) } gFileParseName <- function(parse.name) { parse.name <- as.character(parse.name) w <- .RGtkCall("S_g_file_parse_name", parse.name, PACKAGE = "RGtk2") return(w) } gFileDup <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_dup", object, PACKAGE = "RGtk2") return(w) } gFileHash <- function(file) { w <- .RGtkCall("S_g_file_hash", file, PACKAGE = "RGtk2") return(w) } gFileEqual <- function(object, file2) { checkPtrType(object, "GFile") checkPtrType(file2, "GFile") w <- .RGtkCall("S_g_file_equal", object, file2, PACKAGE = "RGtk2") return(w) } gFileGetBasename <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_basename", object, PACKAGE = "RGtk2") return(w) } gFileGetPath <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_path", object, PACKAGE = "RGtk2") return(w) } gFileGetUri <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_uri", object, PACKAGE = "RGtk2") return(w) } gFileGetParseName <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_parse_name", object, PACKAGE = "RGtk2") return(w) } gFileGetParent <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_parent", object, PACKAGE = "RGtk2") return(w) } gFileGetChild <- function(object, name) { checkPtrType(object, "GFile") name <- as.character(name) w <- .RGtkCall("S_g_file_get_child", object, name, PACKAGE = "RGtk2") return(w) } gFileGetChildForDisplayName <- function(object, display.name, .errwarn = TRUE) { checkPtrType(object, "GFile") display.name <- as.character(display.name) w <- .RGtkCall("S_g_file_get_child_for_display_name", object, display.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileHasPrefix <- function(object, descendant) { checkPtrType(object, "GFile") checkPtrType(descendant, "GFile") w <- .RGtkCall("S_g_file_has_prefix", object, descendant, PACKAGE = "RGtk2") return(w) } gFileGetRelativePath <- function(object, descendant) { checkPtrType(object, "GFile") checkPtrType(descendant, "GFile") w <- .RGtkCall("S_g_file_get_relative_path", object, descendant, PACKAGE = "RGtk2") return(w) } gFileResolveRelativePath <- function(object, relative.path) { checkPtrType(object, "GFile") relative.path <- as.character(relative.path) w <- .RGtkCall("S_g_file_resolve_relative_path", object, relative.path, PACKAGE = "RGtk2") return(w) } gFileIsNative <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_is_native", object, PACKAGE = "RGtk2") return(w) } gFileHasUriScheme <- function(object, uri.scheme) { checkPtrType(object, "GFile") uri.scheme <- as.character(uri.scheme) w <- .RGtkCall("S_g_file_has_uri_scheme", object, uri.scheme, PACKAGE = "RGtk2") return(w) } gFileGetUriScheme <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_get_uri_scheme", object, PACKAGE = "RGtk2") return(w) } gFileRead <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_read", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReadAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_read_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileReadFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_read_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileAppendTo <- function(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_append_to", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCreate <- function(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_create", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplace <- function(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_replace", object, etag, make.backup, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileAppendToAsync <- function(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_append_to_async", object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileAppendToFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_append_to_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCreateAsync <- function(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_create_async", object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileCreateFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_create_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplaceAsync <- function(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_replace_async", object, etag, make.backup, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileReplaceFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_replace_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryExists <- function(object, cancellable = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_exists", object, cancellable, PACKAGE = "RGtk2") return(w) } gFileQueryInfo <- function(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_info", object, attributes, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryInfoAsync <- function(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_query_info_async", object, attributes, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileQueryInfoFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_query_info_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryFilesystemInfo <- function(object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_filesystem_info", object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryFilesystemInfoAsync <- function(object, attributes, io.priority, cancellable, callback, user.data = NULL) { checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_query_filesystem_info_async", object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileQueryFilesystemInfoFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_query_filesystem_info_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileFindEnclosingMount <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_find_enclosing_mount", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileFindEnclosingMountAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_find_enclosing_mount_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileFindEnclosingMountFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_find_enclosing_mount_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumerateChildren <- function(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_enumerate_children", object, attributes, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumerateChildrenAsync <- function(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_enumerate_children_async", object, attributes, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumerateChildrenFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_enumerate_children_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetDisplayName <- function(object, display.name, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") display.name <- as.character(display.name) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_display_name", object, display.name, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetDisplayNameAsync <- function(object, display.name, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") display.name <- as.character(display.name) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_set_display_name_async", object, display.name, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileSetDisplayNameFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_set_display_name_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileDelete <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_delete", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileTrash <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_trash", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCopy <- function(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(destination, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) w <- .RGtkCall("S_g_file_copy", object, destination, flags, cancellable, progress.callback, progress.callback.data, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCopyAsync <- function(object, destination, flags = "G_FILE_COPY_NONE", io.priority = 0, cancellable = NULL, progress.callback, progress.callback.data, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(destination, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) callback <- as.function(callback) w <- .RGtkCall("S_g_file_copy_async", object, destination, flags, io.priority, cancellable, progress.callback, progress.callback.data, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileCopyFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_copy_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMove <- function(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(destination, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) w <- .RGtkCall("S_g_file_move", object, destination, flags, cancellable, progress.callback, progress.callback.data, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMakeDirectory <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_make_directory", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMakeSymbolicLink <- function(object, symlink.value, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") symlink.value <- as.character(symlink.value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_make_symbolic_link", object, symlink.value, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQuerySettableAttributes <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_settable_attributes", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryWritableNamespaces <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_writable_namespaces", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttribute <- function(object, attribute, type, value.p, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute", object, attribute, type, value.p, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributesFromInfo <- function(object, info, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(info, "GFileInfo") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attributes_from_info", object, info, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributesAsync <- function(object, info, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(info, "GFileInfo") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_set_attributes_async", object, info, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileSetAttributesFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_set_attributes_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeString <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.character(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_string", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeByteString <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.character(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_byte_string", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeUint32 <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.numeric(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_uint32", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeInt32 <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.integer(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_int32", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeUint64 <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.numeric(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_uint64", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSetAttributeInt64 <- function(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") attribute <- as.character(attribute) value <- as.numeric(value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_set_attribute_int64", object, attribute, value, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMountEnclosingVolume <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_mount_enclosing_volume", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileMountEnclosingVolumeFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_mount_enclosing_volume_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMountMountable <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_mount_mountable", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileMountMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_mount_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileUnmountMountable <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_unmount_mountable", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileUnmountMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_unmount_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEjectMountable <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_eject_mountable", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEjectMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_eject_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCopyAttributes <- function(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(destination, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_copy_attributes", object, destination, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMonitorDirectory <- function(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_monitor_directory", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMonitorFile <- function(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_monitor_file", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileQueryDefaultHandler <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_default_handler", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileLoadContents <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_load_contents", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileLoadContentsAsync <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_load_contents_async", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileLoadContentsFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_load_contents_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileLoadPartialContentsFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_load_partial_contents_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplaceContents <- function(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") contents <- as.character(contents) length <- as.numeric(length) etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_replace_contents", object, contents, length, etag, make.backup, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplaceContentsAsync <- function(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") contents <- as.character(contents) length <- as.numeric(length) etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_replace_contents_async", object, contents, length, etag, make.backup, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileReplaceContentsFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_replace_contents_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIconGetType <- function() { w <- .RGtkCall("S_g_file_icon_get_type", PACKAGE = "RGtk2") return(w) } gFileIconNew <- function(file) { checkPtrType(file, "GFile") w <- .RGtkCall("S_g_file_icon_new", file, PACKAGE = "RGtk2") return(w) } gFileIconGetFile <- function(object) { checkPtrType(object, "GFileIcon") w <- .RGtkCall("S_g_file_icon_get_file", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetType <- function() { w <- .RGtkCall("S_g_file_info_get_type", PACKAGE = "RGtk2") return(w) } gFileInfoNew <- function() { w <- .RGtkCall("S_g_file_info_new", PACKAGE = "RGtk2") return(w) } gFileInfoDup <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_dup", object, PACKAGE = "RGtk2") return(w) } gFileInfoCopyInto <- function(object, dest.info) { checkPtrType(object, "GFileInfo") checkPtrType(dest.info, "GFileInfo") w <- .RGtkCall("S_g_file_info_copy_into", object, dest.info, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoHasAttribute <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_has_attribute", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoListAttributes <- function(object, name.space) { checkPtrType(object, "GFileInfo") name.space <- as.character(name.space) w <- .RGtkCall("S_g_file_info_list_attributes", object, name.space, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeData <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_data", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeType <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_type", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoRemoveAttribute <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_remove_attribute", object, attribute, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoGetAttributeStatus <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_status", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeAsString <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_as_string", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeString <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_string", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeByteString <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_byte_string", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeBoolean <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_boolean", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeUint32 <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_uint32", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeInt32 <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_int32", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeUint64 <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_uint64", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeInt64 <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_int64", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeObject <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_object", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoSetAttribute <- function(object, attribute, type, value.p) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_set_attribute", object, attribute, type, value.p, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeString <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.character(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_string", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeByteString <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.character(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_byte_string", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeBoolean <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.logical(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_boolean", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeUint32 <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.numeric(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_uint32", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeInt32 <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.integer(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_int32", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeUint64 <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.numeric(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_uint64", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeInt64 <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.numeric(attr.value) w <- .RGtkCall("S_g_file_info_set_attribute_int64", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetAttributeObject <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) checkPtrType(attr.value, "GObject") w <- .RGtkCall("S_g_file_info_set_attribute_object", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoClearStatus <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_clear_status", object, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoGetFileType <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_file_type", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetIsHidden <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_is_hidden", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetIsBackup <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_is_backup", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetIsSymlink <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_is_symlink", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetName <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_name", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetDisplayName <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_display_name", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetEditName <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_edit_name", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetIcon <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_icon", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetContentType <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_content_type", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetSize <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_size", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetModificationTime <- function(object, result) { checkPtrType(object, "GFileInfo") result <- as.GTimeVal(result) w <- .RGtkCall("S_g_file_info_get_modification_time", object, result, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoGetSymlinkTarget <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_symlink_target", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetEtag <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_etag", object, PACKAGE = "RGtk2") return(w) } gFileInfoGetSortOrder <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_get_sort_order", object, PACKAGE = "RGtk2") return(w) } gFileInfoSetAttributeMask <- function(object, mask) { checkPtrType(object, "GFileInfo") checkPtrType(mask, "GFileAttributeMatcher") w <- .RGtkCall("S_g_file_info_set_attribute_mask", object, mask, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoUnsetAttributeMask <- function(object) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_unset_attribute_mask", object, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetFileType <- function(object, type) { checkPtrType(object, "GFileInfo") w <- .RGtkCall("S_g_file_info_set_file_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetIsHidden <- function(object, is.hidden) { checkPtrType(object, "GFileInfo") is.hidden <- as.logical(is.hidden) w <- .RGtkCall("S_g_file_info_set_is_hidden", object, is.hidden, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetIsSymlink <- function(object, is.symlink) { checkPtrType(object, "GFileInfo") is.symlink <- as.logical(is.symlink) w <- .RGtkCall("S_g_file_info_set_is_symlink", object, is.symlink, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetName <- function(object, name) { checkPtrType(object, "GFileInfo") name <- as.character(name) w <- .RGtkCall("S_g_file_info_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetDisplayName <- function(object, display.name) { checkPtrType(object, "GFileInfo") display.name <- as.character(display.name) w <- .RGtkCall("S_g_file_info_set_display_name", object, display.name, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetEditName <- function(object, edit.name) { checkPtrType(object, "GFileInfo") edit.name <- as.character(edit.name) w <- .RGtkCall("S_g_file_info_set_edit_name", object, edit.name, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetIcon <- function(object, icon) { checkPtrType(object, "GFileInfo") checkPtrType(icon, "GIcon") w <- .RGtkCall("S_g_file_info_set_icon", object, icon, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetContentType <- function(object, content.type) { checkPtrType(object, "GFileInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_g_file_info_set_content_type", object, content.type, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetSize <- function(object, size) { checkPtrType(object, "GFileInfo") size <- as.numeric(size) w <- .RGtkCall("S_g_file_info_set_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetModificationTime <- function(object, mtime) { checkPtrType(object, "GFileInfo") mtime <- as.GTimeVal(mtime) w <- .RGtkCall("S_g_file_info_set_modification_time", object, mtime, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetSymlinkTarget <- function(object, symlink.target) { checkPtrType(object, "GFileInfo") symlink.target <- as.character(symlink.target) w <- .RGtkCall("S_g_file_info_set_symlink_target", object, symlink.target, PACKAGE = "RGtk2") return(invisible(w)) } gFileInfoSetSortOrder <- function(object, sort.order) { checkPtrType(object, "GFileInfo") sort.order <- as.integer(sort.order) w <- .RGtkCall("S_g_file_info_set_sort_order", object, sort.order, PACKAGE = "RGtk2") return(invisible(w)) } gFileAttributeMatcherNew <- function(attributes) { attributes <- as.character(attributes) w <- .RGtkCall("S_g_file_attribute_matcher_new", attributes, PACKAGE = "RGtk2") return(w) } gFileAttributeMatcherMatches <- function(object, attribute) { checkPtrType(object, "GFileAttributeMatcher") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_attribute_matcher_matches", object, attribute, PACKAGE = "RGtk2") return(w) } gFileAttributeMatcherMatchesOnly <- function(object, attribute) { checkPtrType(object, "GFileAttributeMatcher") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_attribute_matcher_matches_only", object, attribute, PACKAGE = "RGtk2") return(w) } gFileAttributeMatcherEnumerateNamespace <- function(object, ns) { checkPtrType(object, "GFileAttributeMatcher") ns <- as.character(ns) w <- .RGtkCall("S_g_file_attribute_matcher_enumerate_namespace", object, ns, PACKAGE = "RGtk2") return(w) } gFileAttributeMatcherEnumerateNext <- function(object) { checkPtrType(object, "GFileAttributeMatcher") w <- .RGtkCall("S_g_file_attribute_matcher_enumerate_next", object, PACKAGE = "RGtk2") return(w) } gFileInputStreamGetType <- function() { w <- .RGtkCall("S_g_file_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gFileInputStreamQueryInfo <- function(object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFileInputStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_input_stream_query_info", object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileInputStreamQueryInfoAsync <- function(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFileInputStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_input_stream_query_info_async", object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileInputStreamQueryInfoFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFileInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_input_stream_query_info_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMonitorGetType <- function() { w <- .RGtkCall("S_g_file_monitor_get_type", PACKAGE = "RGtk2") return(w) } gFileMonitorCancel <- function(object) { checkPtrType(object, "GFileMonitor") w <- .RGtkCall("S_g_file_monitor_cancel", object, PACKAGE = "RGtk2") return(w) } gFileMonitorIsCancelled <- function(object) { checkPtrType(object, "GFileMonitor") w <- .RGtkCall("S_g_file_monitor_is_cancelled", object, PACKAGE = "RGtk2") return(w) } gFileMonitorSetRateLimit <- function(object, limit.msecs) { checkPtrType(object, "GFileMonitor") limit.msecs <- as.integer(limit.msecs) w <- .RGtkCall("S_g_file_monitor_set_rate_limit", object, limit.msecs, PACKAGE = "RGtk2") return(invisible(w)) } gFileMonitorEmitEvent <- function(object, file, other.file, event.type) { checkPtrType(object, "GFileMonitor") checkPtrType(file, "GFile") checkPtrType(other.file, "GFile") w <- .RGtkCall("S_g_file_monitor_emit_event", object, file, other.file, event.type, PACKAGE = "RGtk2") return(invisible(w)) } gFilenameCompleterGetType <- function() { w <- .RGtkCall("S_g_filename_completer_get_type", PACKAGE = "RGtk2") return(w) } gFilenameCompleterNew <- function() { w <- .RGtkCall("S_g_filename_completer_new", PACKAGE = "RGtk2") return(w) } gFilenameCompleterGetCompletionSuffix <- function(object, initial.text) { checkPtrType(object, "GFilenameCompleter") initial.text <- as.character(initial.text) w <- .RGtkCall("S_g_filename_completer_get_completion_suffix", object, initial.text, PACKAGE = "RGtk2") return(w) } gFilenameCompleterGetCompletions <- function(object, initial.text) { checkPtrType(object, "GFilenameCompleter") initial.text <- as.character(initial.text) w <- .RGtkCall("S_g_filename_completer_get_completions", object, initial.text, PACKAGE = "RGtk2") return(w) } gFilenameCompleterSetDirsOnly <- function(object, dirs.only) { checkPtrType(object, "GFilenameCompleter") dirs.only <- as.logical(dirs.only) w <- .RGtkCall("S_g_filename_completer_set_dirs_only", object, dirs.only, PACKAGE = "RGtk2") return(invisible(w)) } gFileOutputStreamGetType <- function() { w <- .RGtkCall("S_g_file_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gFileOutputStreamQueryInfo <- function(object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFileOutputStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_output_stream_query_info", object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOutputStreamQueryInfoAsync <- function(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFileOutputStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_output_stream_query_info_async", object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileOutputStreamQueryInfoFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFileOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_output_stream_query_info_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOutputStreamGetEtag <- function(object) { checkPtrType(object, "GFileOutputStream") w <- .RGtkCall("S_g_file_output_stream_get_etag", object, PACKAGE = "RGtk2") return(w) } gFilterInputStreamGetType <- function() { w <- .RGtkCall("S_g_filter_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gFilterInputStreamGetBaseStream <- function(object) { checkPtrType(object, "GFilterInputStream") w <- .RGtkCall("S_g_filter_input_stream_get_base_stream", object, PACKAGE = "RGtk2") return(w) } gFilterOutputStreamGetType <- function() { w <- .RGtkCall("S_g_filter_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gFilterOutputStreamGetBaseStream <- function(object) { checkPtrType(object, "GFilterOutputStream") w <- .RGtkCall("S_g_filter_output_stream_get_base_stream", object, PACKAGE = "RGtk2") return(w) } gIconGetType <- function() { w <- .RGtkCall("S_g_icon_get_type", PACKAGE = "RGtk2") return(w) } gIconHash <- function(icon) { w <- .RGtkCall("S_g_icon_hash", icon, PACKAGE = "RGtk2") return(w) } gIconEqual <- function(object, icon2) { checkPtrType(object, "GIcon") checkPtrType(icon2, "GIcon") w <- .RGtkCall("S_g_icon_equal", object, icon2, PACKAGE = "RGtk2") return(w) } gInputStreamGetType <- function() { w <- .RGtkCall("S_g_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gInputStreamRead <- function(object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GInputStream") count <- as.numeric(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_input_stream_read", object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamReadAll <- function(object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GInputStream") count <- as.numeric(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_input_stream_read_all", object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamSkip <- function(object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GInputStream") count <- as.numeric(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_input_stream_skip", object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClose <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_input_stream_close", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamReadAsync <- function(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GInputStream") count <- as.numeric(count) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_input_stream_read_async", object, count, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(w) } gInputStreamReadFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_input_stream_read_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamSkipAsync <- function(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GInputStream") count <- as.numeric(count) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_input_stream_skip_async", object, count, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gInputStreamSkipFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_input_stream_skip_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamCloseAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GInputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_input_stream_close_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gInputStreamCloseFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_input_stream_close_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamIsClosed <- function(object) { checkPtrType(object, "GInputStream") w <- .RGtkCall("S_g_input_stream_is_closed", object, PACKAGE = "RGtk2") return(w) } gInputStreamHasPending <- function(object) { checkPtrType(object, "GInputStream") w <- .RGtkCall("S_g_input_stream_has_pending", object, PACKAGE = "RGtk2") return(w) } gInputStreamSetPending <- function(object, .errwarn = TRUE) { checkPtrType(object, "GInputStream") w <- .RGtkCall("S_g_input_stream_set_pending", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClearPending <- function(object) { checkPtrType(object, "GInputStream") w <- .RGtkCall("S_g_input_stream_clear_pending", object, PACKAGE = "RGtk2") return(invisible(w)) } gAppInfoCreateFlagsGetType <- function() { w <- .RGtkCall("S_g_app_info_create_flags_get_type", PACKAGE = "RGtk2") return(w) } gDataStreamByteOrderGetType <- function() { w <- .RGtkCall("S_g_data_stream_byte_order_get_type", PACKAGE = "RGtk2") return(w) } gDataStreamNewlineTypeGetType <- function() { w <- .RGtkCall("S_g_data_stream_newline_type_get_type", PACKAGE = "RGtk2") return(w) } gFileQueryInfoFlagsGetType <- function() { w <- .RGtkCall("S_g_file_query_info_flags_get_type", PACKAGE = "RGtk2") return(w) } gFileCreateFlagsGetType <- function() { w <- .RGtkCall("S_g_file_create_flags_get_type", PACKAGE = "RGtk2") return(w) } gFileCopyFlagsGetType <- function() { w <- .RGtkCall("S_g_file_copy_flags_get_type", PACKAGE = "RGtk2") return(w) } gFileMonitorFlagsGetType <- function() { w <- .RGtkCall("S_g_file_monitor_flags_get_type", PACKAGE = "RGtk2") return(w) } gFileAttributeTypeGetType <- function() { w <- .RGtkCall("S_g_file_attribute_type_get_type", PACKAGE = "RGtk2") return(w) } gFileAttributeInfoFlagsGetType <- function() { w <- .RGtkCall("S_g_file_attribute_info_flags_get_type", PACKAGE = "RGtk2") return(w) } gFileAttributeStatusGetType <- function() { w <- .RGtkCall("S_g_file_attribute_status_get_type", PACKAGE = "RGtk2") return(w) } gFileTypeGetType <- function() { w <- .RGtkCall("S_g_file_type_get_type", PACKAGE = "RGtk2") return(w) } gFileMonitorEventGetType <- function() { w <- .RGtkCall("S_g_file_monitor_event_get_type", PACKAGE = "RGtk2") return(w) } gIoErrorEnumGetType <- function() { w <- .RGtkCall("S_g_io_error_enum_get_type", PACKAGE = "RGtk2") return(w) } gAskPasswordFlagsGetType <- function() { w <- .RGtkCall("S_g_ask_password_flags_get_type", PACKAGE = "RGtk2") return(w) } gPasswordSaveGetType <- function() { w <- .RGtkCall("S_g_password_save_get_type", PACKAGE = "RGtk2") return(w) } gOutputStreamSpliceFlagsGetType <- function() { w <- .RGtkCall("S_g_output_stream_splice_flags_get_type", PACKAGE = "RGtk2") return(w) } gIoErrorQuark <- function() { w <- .RGtkCall("S_g_io_error_quark", PACKAGE = "RGtk2") return(w) } gIoErrorFromErrno <- function(err.no) { err.no <- as.integer(err.no) w <- .RGtkCall("S_g_io_error_from_errno", err.no, PACKAGE = "RGtk2") return(w) } gIOModuleGetType <- function() { w <- .RGtkCall("S_g_io_module_get_type", PACKAGE = "RGtk2") return(w) } gIOModuleNew <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_g_io_module_new", filename, PACKAGE = "RGtk2") return(w) } gIOModulesLoadAllInDirectory <- function(dirname) { dirname <- as.character(dirname) w <- .RGtkCall("S_g_io_modules_load_all_in_directory", dirname, PACKAGE = "RGtk2") return(w) } gIoSchedulerCancelAllJobs <- function() { w <- .RGtkCall("S_g_io_scheduler_cancel_all_jobs", PACKAGE = "RGtk2") return(w) } gIoSchedulerJobSendToMainloop <- function(object, func, user.data = NULL) { checkPtrType(object, "GIOSchedulerJob") func <- as.function(func) w <- .RGtkCall("S_g_io_scheduler_job_send_to_mainloop", object, func, user.data, PACKAGE = "RGtk2") return(w) } gIoSchedulerJobSendToMainloopAsync <- function(object, func, user.data = NULL) { checkPtrType(object, "GIOSchedulerJob") func <- as.function(func) w <- .RGtkCall("S_g_io_scheduler_job_send_to_mainloop_async", object, func, user.data, PACKAGE = "RGtk2") return(w) } gLoadableIconGetType <- function() { w <- .RGtkCall("S_g_loadable_icon_get_type", PACKAGE = "RGtk2") return(w) } gLoadableIconLoad <- function(object, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GLoadableIcon") size <- as.integer(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_loadable_icon_load", object, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gLoadableIconLoadAsync <- function(object, size, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GLoadableIcon") size <- as.integer(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_loadable_icon_load_async", object, size, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gLoadableIconLoadFinish <- function(object, res, type, .errwarn = TRUE) { checkPtrType(object, "GLoadableIcon") checkPtrType(res, "GAsyncResult") type <- as.list(as.character(type)) w <- .RGtkCall("S_g_loadable_icon_load_finish", object, res, type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMemoryInputStreamGetType <- function() { w <- .RGtkCall("S_g_memory_input_stream_get_type", PACKAGE = "RGtk2") return(w) } gMemoryInputStreamNew <- function() { w <- .RGtkCall("S_g_memory_input_stream_new", PACKAGE = "RGtk2") return(w) } gMemoryInputStreamNewFromData <- function(data) { data <- as.list(as.raw(data)) w <- .RGtkCall("S_g_memory_input_stream_new_from_data", data, PACKAGE = "RGtk2") return(w) } gMemoryInputStreamAddData <- function(object, data) { checkPtrType(object, "GMemoryInputStream") data <- as.list(as.raw(data)) w <- .RGtkCall("S_g_memory_input_stream_add_data", object, data, PACKAGE = "RGtk2") return(invisible(w)) } gMemoryOutputStreamGetType <- function() { w <- .RGtkCall("S_g_memory_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gMemoryOutputStreamNew <- function(len) { len <- as.numeric(len) w <- .RGtkCall("S_g_memory_output_stream_new", len, PACKAGE = "RGtk2") return(w) } gMemoryOutputStreamGetData <- function(object) { checkPtrType(object, "GMemoryOutputStream") w <- .RGtkCall("S_g_memory_output_stream_get_data", object, PACKAGE = "RGtk2") return(w) } gMemoryOutputStreamGetSize <- function(object) { checkPtrType(object, "GMemoryOutputStream") w <- .RGtkCall("S_g_memory_output_stream_get_size", object, PACKAGE = "RGtk2") return(w) } gMountGetType <- function() { w <- .RGtkCall("S_g_mount_get_type", PACKAGE = "RGtk2") return(w) } gMountGetRoot <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_root", object, PACKAGE = "RGtk2") return(w) } gMountGetName <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_name", object, PACKAGE = "RGtk2") return(w) } gMountGetIcon <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_icon", object, PACKAGE = "RGtk2") return(w) } gMountGetUuid <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_uuid", object, PACKAGE = "RGtk2") return(w) } gMountGetVolume <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_volume", object, PACKAGE = "RGtk2") return(w) } gMountGetDrive <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_get_drive", object, PACKAGE = "RGtk2") return(w) } gMountCanUnmount <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_can_unmount", object, PACKAGE = "RGtk2") return(w) } gMountCanEject <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_can_eject", object, PACKAGE = "RGtk2") return(w) } gMountUnmount <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_unmount", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountUnmountFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_unmount_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountEject <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_eject", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountEjectFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_eject_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountRemount <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_remount", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountRemountFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_remount_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountOperationGetType <- function() { w <- .RGtkCall("S_g_mount_operation_get_type", PACKAGE = "RGtk2") return(w) } gMountOperationNew <- function() { w <- .RGtkCall("S_g_mount_operation_new", PACKAGE = "RGtk2") return(w) } gMountOperationGetUsername <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_username", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetUsername <- function(object, username) { checkPtrType(object, "GMountOperation") username <- as.character(username) w <- .RGtkCall("S_g_mount_operation_set_username", object, username, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationGetPassword <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_password", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetPassword <- function(object, password) { checkPtrType(object, "GMountOperation") password <- as.character(password) w <- .RGtkCall("S_g_mount_operation_set_password", object, password, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationGetAnonymous <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_anonymous", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetAnonymous <- function(object, anonymous) { checkPtrType(object, "GMountOperation") anonymous <- as.logical(anonymous) w <- .RGtkCall("S_g_mount_operation_set_anonymous", object, anonymous, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationGetDomain <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_domain", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetDomain <- function(object, domain) { checkPtrType(object, "GMountOperation") domain <- as.character(domain) w <- .RGtkCall("S_g_mount_operation_set_domain", object, domain, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationGetPasswordSave <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_password_save", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetPasswordSave <- function(object, save) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_set_password_save", object, save, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationGetChoice <- function(object) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_get_choice", object, PACKAGE = "RGtk2") return(w) } gMountOperationSetChoice <- function(object, choice) { checkPtrType(object, "GMountOperation") choice <- as.integer(choice) w <- .RGtkCall("S_g_mount_operation_set_choice", object, choice, PACKAGE = "RGtk2") return(invisible(w)) } gMountOperationReply <- function(object, result) { checkPtrType(object, "GMountOperation") w <- .RGtkCall("S_g_mount_operation_reply", object, result, PACKAGE = "RGtk2") return(invisible(w)) } gNativeVolumeMonitorGetType <- function() { w <- .RGtkCall("S_g_native_volume_monitor_get_type", PACKAGE = "RGtk2") return(w) } gOutputStreamGetType <- function() { w <- .RGtkCall("S_g_output_stream_get_type", PACKAGE = "RGtk2") return(w) } gOutputStreamWrite <- function(object, buffer, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") buffer <- as.list(as.raw(buffer)) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_output_stream_write", object, buffer, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamWriteAll <- function(object, buffer, bytes.written, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") buffer <- as.list(as.raw(buffer)) bytes.written <- as.list(as.numeric(bytes.written)) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_output_stream_write_all", object, buffer, bytes.written, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamSplice <- function(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") checkPtrType(source, "GInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_output_stream_splice", object, source, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamFlush <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_output_stream_flush", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClose <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_output_stream_close", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamWriteAsync <- function(object, buffer, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GOutputStream") buffer <- as.list(as.raw(buffer)) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_output_stream_write_async", object, buffer, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(w) } gOutputStreamWriteFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_output_stream_write_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamSpliceAsync <- function(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GOutputStream") checkPtrType(source, "GInputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_output_stream_splice_async", object, source, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamSpliceFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_output_stream_splice_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamFlushAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GOutputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_output_stream_flush_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamFlushFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_output_stream_flush_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamCloseAsync <- function(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GOutputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_output_stream_close_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamCloseFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_output_stream_close_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamIsClosed <- function(object) { checkPtrType(object, "GOutputStream") w <- .RGtkCall("S_g_output_stream_is_closed", object, PACKAGE = "RGtk2") return(w) } gOutputStreamHasPending <- function(object) { checkPtrType(object, "GOutputStream") w <- .RGtkCall("S_g_output_stream_has_pending", object, PACKAGE = "RGtk2") return(w) } gOutputStreamSetPending <- function(object, .errwarn = TRUE) { checkPtrType(object, "GOutputStream") w <- .RGtkCall("S_g_output_stream_set_pending", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClearPending <- function(object) { checkPtrType(object, "GOutputStream") w <- .RGtkCall("S_g_output_stream_clear_pending", object, PACKAGE = "RGtk2") return(invisible(w)) } gSeekableGetType <- function() { w <- .RGtkCall("S_g_seekable_get_type", PACKAGE = "RGtk2") return(w) } gSeekableTell <- function(object) { checkPtrType(object, "GSeekable") w <- .RGtkCall("S_g_seekable_tell", object, PACKAGE = "RGtk2") return(w) } gSeekableCanSeek <- function(object) { checkPtrType(object, "GSeekable") w <- .RGtkCall("S_g_seekable_can_seek", object, PACKAGE = "RGtk2") return(w) } gSeekableSeek <- function(object, offset, type = "G_SEEK_SET", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSeekable") offset <- as.numeric(offset) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_seekable_seek", object, offset, type, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSeekableCanTruncate <- function(object) { checkPtrType(object, "GSeekable") w <- .RGtkCall("S_g_seekable_can_truncate", object, PACKAGE = "RGtk2") return(w) } gSeekableTruncate <- function(object, offset, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSeekable") offset <- as.numeric(offset) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_seekable_truncate", object, offset, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSimpleAsyncResultGetType <- function() { w <- .RGtkCall("S_g_simple_async_result_get_type", PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultNew <- function(source.object, callback, user.data = NULL, source.tag) { checkPtrType(source.object, "GObject") callback <- as.function(callback) w <- .RGtkCall("S_g_simple_async_result_new", source.object, callback, user.data, source.tag, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultNewFromError <- function(source.object, callback, user.data = NULL) { checkPtrType(source.object, "GObject") callback <- as.function(callback) w <- .RGtkCall("S_g_simple_async_result_new_from_error", source.object, callback, user.data, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultSetOpResGpointer <- function(object, op.res) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_set_op_res_gpointer", object, op.res, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultGetOpResGpointer <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_get_op_res_gpointer", object, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultSetOpResGssize <- function(object, op.res) { checkPtrType(object, "GSimpleAsyncResult") op.res <- as.integer(op.res) w <- .RGtkCall("S_g_simple_async_result_set_op_res_gssize", object, op.res, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncResultGetOpResGssize <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_get_op_res_gssize", object, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultSetOpResGboolean <- function(object, op.res) { checkPtrType(object, "GSimpleAsyncResult") op.res <- as.logical(op.res) w <- .RGtkCall("S_g_simple_async_result_set_op_res_gboolean", object, op.res, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncResultGetOpResGboolean <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_get_op_res_gboolean", object, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultGetSourceTag <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_get_source_tag", object, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultSetHandleCancellation <- function(object, handle.cancellation) { checkPtrType(object, "GSimpleAsyncResult") handle.cancellation <- as.logical(handle.cancellation) w <- .RGtkCall("S_g_simple_async_result_set_handle_cancellation", object, handle.cancellation, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncResultComplete <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_complete", object, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncResultCompleteInIdle <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_complete_in_idle", object, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncResultSetFromError <- function(object) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_set_from_error", object, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultPropagateError <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSimpleAsyncResult") w <- .RGtkCall("S_g_simple_async_result_propagate_error", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSimpleAsyncReportGerrorInIdle <- function(object, callback, user.data = NULL) { checkPtrType(object, "GObject") callback <- as.function(callback) w <- .RGtkCall("S_g_simple_async_report_gerror_in_idle", object, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gThemedIconGetType <- function() { w <- .RGtkCall("S_g_themed_icon_get_type", PACKAGE = "RGtk2") return(w) } gThemedIconNew <- function(iconname = NULL) { w <- .RGtkCall("S_g_themed_icon_new", iconname, PACKAGE = "RGtk2") return(w) } gThemedIconNewWithDefaultFallbacks <- function(iconname) { iconname <- as.character(iconname) w <- .RGtkCall("S_g_themed_icon_new_with_default_fallbacks", iconname, PACKAGE = "RGtk2") return(w) } gThemedIconNewFromNames <- function(iconnames, len) { iconnames <- as.list(as.character(iconnames)) len <- as.integer(len) w <- .RGtkCall("S_g_themed_icon_new_from_names", iconnames, len, PACKAGE = "RGtk2") return(w) } gThemedIconGetNames <- function(object) { checkPtrType(object, "GThemedIcon") w <- .RGtkCall("S_g_themed_icon_get_names", object, PACKAGE = "RGtk2") return(w) } gThemedIconAppendName <- function(object, iconname) { checkPtrType(object, "GThemedIcon") iconname <- as.character(iconname) w <- .RGtkCall("S_g_themed_icon_append_name", object, iconname, PACKAGE = "RGtk2") return(invisible(w)) } gVfsGetType <- function() { w <- .RGtkCall("S_g_vfs_get_type", PACKAGE = "RGtk2") return(w) } gVfsIsActive <- function(object) { checkPtrType(object, "GVfs") w <- .RGtkCall("S_g_vfs_is_active", object, PACKAGE = "RGtk2") return(w) } gVfsGetFileForPath <- function(object, path) { checkPtrType(object, "GVfs") path <- as.character(path) w <- .RGtkCall("S_g_vfs_get_file_for_path", object, path, PACKAGE = "RGtk2") return(w) } gVfsGetFileForUri <- function(object, uri) { checkPtrType(object, "GVfs") uri <- as.character(uri) w <- .RGtkCall("S_g_vfs_get_file_for_uri", object, uri, PACKAGE = "RGtk2") return(w) } gVfsParseName <- function(object, parse.name) { checkPtrType(object, "GVfs") parse.name <- as.character(parse.name) w <- .RGtkCall("S_g_vfs_parse_name", object, parse.name, PACKAGE = "RGtk2") return(w) } gVfsGetDefault <- function() { w <- .RGtkCall("S_g_vfs_get_default", PACKAGE = "RGtk2") return(w) } gVfsGetLocal <- function() { w <- .RGtkCall("S_g_vfs_get_local", PACKAGE = "RGtk2") return(w) } gVfsGetSupportedUriSchemes <- function(object) { checkPtrType(object, "GVfs") w <- .RGtkCall("S_g_vfs_get_supported_uri_schemes", object, PACKAGE = "RGtk2") return(w) } gVolumeGetType <- function() { w <- .RGtkCall("S_g_volume_get_type", PACKAGE = "RGtk2") return(w) } gVolumeGetName <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_name", object, PACKAGE = "RGtk2") return(w) } gVolumeGetIcon <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_icon", object, PACKAGE = "RGtk2") return(w) } gVolumeGetUuid <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_uuid", object, PACKAGE = "RGtk2") return(w) } gVolumeGetDrive <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_drive", object, PACKAGE = "RGtk2") return(w) } gVolumeGetMount <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_mount", object, PACKAGE = "RGtk2") return(w) } gVolumeCanMount <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_can_mount", object, PACKAGE = "RGtk2") return(w) } gVolumeCanEject <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_can_eject", object, PACKAGE = "RGtk2") return(w) } gVolumeShouldAutomount <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_should_automount", object, PACKAGE = "RGtk2") return(w) } gVolumeMount <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GVolume") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_volume_mount", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeMountFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_volume_mount_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVolumeEject <- function(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GVolume") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_volume_eject", object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeEjectFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_volume_eject_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVolumeMonitorGetType <- function() { w <- .RGtkCall("S_g_volume_monitor_get_type", PACKAGE = "RGtk2") return(w) } gVolumeMonitorGet <- function() { w <- .RGtkCall("S_g_volume_monitor_get", PACKAGE = "RGtk2") return(w) } gVolumeMonitorGetConnectedDrives <- function(object) { checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_g_volume_monitor_get_connected_drives", object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorGetVolumes <- function(object) { checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_g_volume_monitor_get_volumes", object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorGetMounts <- function(object) { checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_g_volume_monitor_get_mounts", object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorGetVolumeForUuid <- function(object, uuid) { checkPtrType(object, "GVolumeMonitor") uuid <- as.character(uuid) w <- .RGtkCall("S_g_volume_monitor_get_volume_for_uuid", object, uuid, PACKAGE = "RGtk2") return(w) } gVolumeMonitorGetMountForUuid <- function(object, uuid) { checkPtrType(object, "GVolumeMonitor") uuid <- as.character(uuid) w <- .RGtkCall("S_g_volume_monitor_get_mount_for_uuid", object, uuid, PACKAGE = "RGtk2") return(w) } gVolumeMonitorAdoptOrphanMount <- function(mount) { checkPtrType(mount, "GMount") w <- .RGtkCall("S_g_volume_monitor_adopt_orphan_mount", mount, PACKAGE = "RGtk2") return(w) } gIoExtensionPointRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_g_io_extension_point_register", name, PACKAGE = "RGtk2") return(w) } gIoExtensionPointLookup <- function(name) { name <- as.character(name) w <- .RGtkCall("S_g_io_extension_point_lookup", name, PACKAGE = "RGtk2") return(w) } gIoExtensionPointSetRequiredType <- function(object, type) { checkPtrType(object, "GIOExtensionPoint") type <- as.GType(type) w <- .RGtkCall("S_g_io_extension_point_set_required_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gIoExtensionPointGetRequiredType <- function(object) { checkPtrType(object, "GIOExtensionPoint") w <- .RGtkCall("S_g_io_extension_point_get_required_type", object, PACKAGE = "RGtk2") return(w) } gIoExtensionPointGetExtensions <- function(object) { checkPtrType(object, "GIOExtensionPoint") w <- .RGtkCall("S_g_io_extension_point_get_extensions", object, PACKAGE = "RGtk2") return(w) } gIoExtensionPointGetExtensionByName <- function(object, name) { checkPtrType(object, "GIOExtensionPoint") name <- as.character(name) w <- .RGtkCall("S_g_io_extension_point_get_extension_by_name", object, name, PACKAGE = "RGtk2") return(w) } gIoExtensionPointImplement <- function(extension.point.name, type, extension.name, priority) { extension.point.name <- as.character(extension.point.name) type <- as.GType(type) extension.name <- as.character(extension.name) priority <- as.integer(priority) w <- .RGtkCall("S_g_io_extension_point_implement", extension.point.name, type, extension.name, priority, PACKAGE = "RGtk2") return(w) } gIoExtensionGetType <- function(object) { checkPtrType(object, "GIOExtension") w <- .RGtkCall("S_g_io_extension_get_type", object, PACKAGE = "RGtk2") return(w) } gIoExtensionGetName <- function(object) { checkPtrType(object, "GIOExtension") w <- .RGtkCall("S_g_io_extension_get_name", object, PACKAGE = "RGtk2") return(w) } gIoExtensionGetPriority <- function(object) { checkPtrType(object, "GIOExtension") w <- .RGtkCall("S_g_io_extension_get_priority", object, PACKAGE = "RGtk2") return(w) } gIoExtensionRefClass <- function(object) { checkPtrType(object, "GIOExtension") w <- .RGtkCall("S_g_io_extension_ref_class", object, PACKAGE = "RGtk2") return(w) } gContentTypeFromMimeType <- function(mime.type) { mime.type <- as.character(mime.type) w <- .RGtkCall("S_g_content_type_from_mime_type", mime.type, PACKAGE = "RGtk2") return(w) } gContentTypeGuessForTree <- function(root) { checkPtrType(root, "GFile") w <- .RGtkCall("S_g_content_type_guess_for_tree", root, PACKAGE = "RGtk2") return(w) } gEmblemedIconGetType <- function() { w <- .RGtkCall("S_g_emblemed_icon_get_type", PACKAGE = "RGtk2") return(w) } gEmblemedIconNew <- function(icon, emblem) { checkPtrType(icon, "GIcon") checkPtrType(emblem, "GEmblem") w <- .RGtkCall("S_g_emblemed_icon_new", icon, emblem, PACKAGE = "RGtk2") return(w) } gEmblemedIconGetIcon <- function(object) { checkPtrType(object, "GEmblemedIcon") w <- .RGtkCall("S_g_emblemed_icon_get_icon", object, PACKAGE = "RGtk2") return(w) } gEmblemedIconGetEmblems <- function(object) { checkPtrType(object, "GEmblemedIcon") w <- .RGtkCall("S_g_emblemed_icon_get_emblems", object, PACKAGE = "RGtk2") return(w) } gEmblemedIconAddEmblem <- function(object, emblem) { checkPtrType(object, "GEmblemedIcon") checkPtrType(emblem, "GEmblem") w <- .RGtkCall("S_g_emblemed_icon_add_emblem", object, emblem, PACKAGE = "RGtk2") return(invisible(w)) } gEmblemGetType <- function() { w <- .RGtkCall("S_g_emblem_get_type", PACKAGE = "RGtk2") return(w) } gEmblemNew <- function(icon = NULL, origin = NULL) { w <- .RGtkCall("S_g_emblem_new", icon, origin, PACKAGE = "RGtk2") return(w) } gEmblemNewWithOrigin <- function(icon, origin) { checkPtrType(icon, "GIcon") w <- .RGtkCall("S_g_emblem_new_with_origin", icon, origin, PACKAGE = "RGtk2") return(w) } gEmblemGetIcon <- function(object) { checkPtrType(object, "GEmblem") w <- .RGtkCall("S_g_emblem_get_icon", object, PACKAGE = "RGtk2") return(w) } gEmblemGetOrigin <- function(object) { checkPtrType(object, "GEmblem") w <- .RGtkCall("S_g_emblem_get_origin", object, PACKAGE = "RGtk2") return(w) } gFileQueryFileType <- function(object, flags, cancellable = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_query_file_type", object, flags, cancellable, PACKAGE = "RGtk2") return(w) } gFileMakeDirectoryWithParents <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_make_directory_with_parents", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMonitor <- function(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_monitor", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMemoryOutputStreamGetDataSize <- function(object) { checkPtrType(object, "GMemoryOutputStream") w <- .RGtkCall("S_g_memory_output_stream_get_data_size", object, PACKAGE = "RGtk2") return(w) } gMountGuessContentType <- function(object, force.rescan, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") force.rescan <- as.logical(force.rescan) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_guess_content_type", object, force.rescan, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountGuessContentTypeFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_guess_content_type_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountGuessContentTypeSync <- function(object, force.rescan, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GMount") force.rescan <- as.logical(force.rescan) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_mount_guess_content_type_sync", object, force.rescan, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gThemedIconPrependName <- function(object, iconname) { checkPtrType(object, "GThemedIcon") iconname <- as.character(iconname) w <- .RGtkCall("S_g_themed_icon_prepend_name", object, iconname, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeGetIdentifier <- function(object, kind) { checkPtrType(object, "GVolume") kind <- as.character(kind) w <- .RGtkCall("S_g_volume_get_identifier", object, kind, PACKAGE = "RGtk2") return(w) } gVolumeEnumerateIdentifiers <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_enumerate_identifiers", object, PACKAGE = "RGtk2") return(w) } gVolumeGetActivationRoot <- function(object) { checkPtrType(object, "GVolume") w <- .RGtkCall("S_g_volume_get_activation_root", object, PACKAGE = "RGtk2") return(w) } gFileEnumeratorGetContainer <- function(object) { checkPtrType(object, "GFileEnumerator") w <- .RGtkCall("S_g_file_enumerator_get_container", object, PACKAGE = "RGtk2") return(w) } gAppInfoResetTypeAssociations <- function(content.type) { content.type <- as.character(content.type) w <- .RGtkCall("S_g_app_info_reset_type_associations", content.type, PACKAGE = "RGtk2") return(w) } gAppInfoCanDelete <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_can_delete", object, PACKAGE = "RGtk2") return(w) } gAppInfoDelete <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_delete", object, PACKAGE = "RGtk2") return(w) } gAppInfoGetCommandline <- function(object) { checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_g_app_info_get_commandline", object, PACKAGE = "RGtk2") return(w) } gDataInputStreamReadUntilAsync <- function(object, stop.chars, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDataInputStream") stop.chars <- as.character(stop.chars) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_data_input_stream_read_until_async", object, stop.chars, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDataInputStreamReadUntilFinish <- function(object, result, length, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") checkPtrType(result, "GAsyncResult") length <- as.list(as.numeric(length)) w <- .RGtkCall("S_g_data_input_stream_read_until_finish", object, result, length, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDataInputStreamReadLineAsync <- function(object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDataInputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_data_input_stream_read_line_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDataInputStreamReadLineFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDataInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_data_input_stream_read_line_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIconToString <- function(object) { checkPtrType(object, "GIcon") w <- .RGtkCall("S_g_icon_to_string", object, PACKAGE = "RGtk2") return(w) } gIconNewForString <- function(str, .errwarn = TRUE) { str <- as.character(str) w <- .RGtkCall("S_g_icon_new_for_string", str, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIsShadowed <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_is_shadowed", object, PACKAGE = "RGtk2") return(w) } gMountShadow <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_shadow", object, PACKAGE = "RGtk2") return(invisible(w)) } gMountUnshadow <- function(object) { checkPtrType(object, "GMount") w <- .RGtkCall("S_g_mount_unshadow", object, PACKAGE = "RGtk2") return(invisible(w)) } gFilterInputStreamGetCloseBaseStream <- function(object) { checkPtrType(object, "GFilterInputStream") w <- .RGtkCall("S_g_filter_input_stream_get_close_base_stream", object, PACKAGE = "RGtk2") return(w) } gFilterInputStreamSetCloseBaseStream <- function(object, close.base) { checkPtrType(object, "GFilterInputStream") close.base <- as.logical(close.base) w <- .RGtkCall("S_g_filter_input_stream_set_close_base_stream", object, close.base, PACKAGE = "RGtk2") return(invisible(w)) } gFilterOutputStreamGetCloseBaseStream <- function(object) { checkPtrType(object, "GFilterOutputStream") w <- .RGtkCall("S_g_filter_output_stream_get_close_base_stream", object, PACKAGE = "RGtk2") return(w) } gFilterOutputStreamSetCloseBaseStream <- function(object, close.base) { checkPtrType(object, "GFilterOutputStream") close.base <- as.logical(close.base) w <- .RGtkCall("S_g_filter_output_stream_set_close_base_stream", object, close.base, PACKAGE = "RGtk2") return(invisible(w)) } gAsyncInitableGetType <- function() { w <- .RGtkCall("S_g_async_initable_get_type", PACKAGE = "RGtk2") return(w) } gAsyncInitableInitAsync <- function(object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GAsyncInitable") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_async_initable_init_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gAsyncInitableInitFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GAsyncInitable") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_async_initable_init_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAsyncInitableNewFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GAsyncInitable") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_async_initable_new_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gCancellableDisconnect <- function(object, handler.id) { checkPtrType(object, "GCancellable") handler.id <- as.numeric(handler.id) w <- .RGtkCall("S_g_cancellable_disconnect", object, handler.id, PACKAGE = "RGtk2") return(invisible(w)) } gCancellableReleaseFd <- function(object) { checkPtrType(object, "GCancellable") w <- .RGtkCall("S_g_cancellable_release_fd", object, PACKAGE = "RGtk2") return(invisible(w)) } gDriveCanStart <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_can_start", object, PACKAGE = "RGtk2") return(w) } gDriveCanStartDegraded <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_can_start_degraded", object, PACKAGE = "RGtk2") return(w) } gDriveCanStop <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_can_stop", object, PACKAGE = "RGtk2") return(w) } gDriveEjectWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_drive_eject_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveEjectWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_drive_eject_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveGetStartStopType <- function(object) { checkPtrType(object, "GDrive") w <- .RGtkCall("S_g_drive_get_start_stop_type", object, PACKAGE = "RGtk2") return(w) } gDriveStart <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_drive_start", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveStartFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_drive_start_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveStop <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_drive_stop", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveStopFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_drive_stop_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCreateReadwrite <- function(object, flags, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_create_readwrite", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileCreateReadwriteAsync <- function(object, flags, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_create_readwrite_async", object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileCreateReadwriteFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_create_readwrite_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEjectMountableWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_eject_mountable_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEjectMountableWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_eject_mountable_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOpenReadwrite <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_open_readwrite", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOpenReadwriteAsync <- function(object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_open_readwrite_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileOpenReadwriteFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_open_readwrite_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFilePollMountable <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_poll_mountable", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFilePollMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_poll_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplaceReadwrite <- function(object, etag, make.backup, flags, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_replace_readwrite", object, etag, make.backup, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileReplaceReadwriteAsync <- function(object, etag, make.backup, flags, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_replace_readwrite_async", object, etag, make.backup, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileReplaceReadwriteFinish <- function(object, res, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_g_file_replace_readwrite_finish", object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileStartMountable <- function(object, flags, start.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(start.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_start_mountable", object, flags, start.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileStartMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_start_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileStopMountable <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_stop_mountable", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileStopMountableFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_stop_mountable_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileSupportsThreadContexts <- function(object) { checkPtrType(object, "GFile") w <- .RGtkCall("S_g_file_supports_thread_contexts", object, PACKAGE = "RGtk2") return(w) } gFileUnmountMountableWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_unmount_mountable_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileUnmountMountableWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_unmount_mountable_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileInfoHasNamespace <- function(object, name.space) { checkPtrType(object, "GFileInfo") name.space <- as.character(name.space) w <- .RGtkCall("S_g_file_info_has_namespace", object, name.space, PACKAGE = "RGtk2") return(w) } gFileInfoSetAttributeStatus <- function(object, attribute, status) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_set_attribute_status", object, attribute, status, PACKAGE = "RGtk2") return(w) } gFileInfoGetAttributeStringv <- function(object, attribute) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) w <- .RGtkCall("S_g_file_info_get_attribute_stringv", object, attribute, PACKAGE = "RGtk2") return(w) } gFileInfoSetAttributeStringv <- function(object, attribute, attr.value) { checkPtrType(object, "GFileInfo") attribute <- as.character(attribute) attr.value <- as.list(as.character(attr.value)) w <- .RGtkCall("S_g_file_info_set_attribute_stringv", object, attribute, attr.value, PACKAGE = "RGtk2") return(invisible(w)) } gFileIOStreamGetType <- function() { w <- .RGtkCall("S_g_file_io_stream_get_type", PACKAGE = "RGtk2") return(w) } gFileIOStreamQueryInfo <- function(object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GFileIOStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_file_io_stream_query_info", object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIOStreamQueryInfoAsync <- function(object, attributes, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GFileIOStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_file_io_stream_query_info_async", object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIOStreamQueryInfoFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GFileIOStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_file_io_stream_query_info_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIOStreamGetEtag <- function(object) { checkPtrType(object, "GFileIOStream") w <- .RGtkCall("S_g_file_io_stream_get_etag", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetType <- function() { w <- .RGtkCall("S_g_inet_address_get_type", PACKAGE = "RGtk2") return(w) } gInetAddressNewFromString <- function(string) { string <- as.character(string) w <- .RGtkCall("S_g_inet_address_new_from_string", string, PACKAGE = "RGtk2") return(w) } gInetAddressNewFromBytes <- function(bytes, family) { bytes <- as.list(as.raw(bytes)) w <- .RGtkCall("S_g_inet_address_new_from_bytes", bytes, family, PACKAGE = "RGtk2") return(w) } gInetAddressNewLoopback <- function(family) { w <- .RGtkCall("S_g_inet_address_new_loopback", family, PACKAGE = "RGtk2") return(w) } gInetAddressNewAny <- function(family) { w <- .RGtkCall("S_g_inet_address_new_any", family, PACKAGE = "RGtk2") return(w) } gInetAddressToString <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_to_string", object, PACKAGE = "RGtk2") return(w) } gInetAddressToBytes <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_to_bytes", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetNativeSize <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_native_size", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetFamily <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_family", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsAny <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_any", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsLoopback <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_loopback", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsLinkLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_link_local", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsSiteLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_site_local", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMulticast <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_multicast", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMcGlobal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_mc_global", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMcLinkLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_mc_link_local", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMcNodeLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_mc_node_local", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMcOrgLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_mc_org_local", object, PACKAGE = "RGtk2") return(w) } gInetAddressGetIsMcSiteLocal <- function(object) { checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_g_inet_address_get_is_mc_site_local", object, PACKAGE = "RGtk2") return(w) } gInitableGetType <- function() { w <- .RGtkCall("S_g_initable_get_type", PACKAGE = "RGtk2") return(w) } gInitableInit <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GInitable") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_initable_init", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamGetType <- function() { w <- .RGtkCall("S_g_io_stream_get_type", PACKAGE = "RGtk2") return(w) } gIOStreamGetInputStream <- function(object) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_get_input_stream", object, PACKAGE = "RGtk2") return(w) } gIOStreamGetOutputStream <- function(object) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_get_output_stream", object, PACKAGE = "RGtk2") return(w) } gIOStreamClose <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GIOStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_io_stream_close", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamCloseAsync <- function(object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GIOStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_io_stream_close_async", object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gIOStreamCloseFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GIOStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_io_stream_close_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamIsClosed <- function(object) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_is_closed", object, PACKAGE = "RGtk2") return(w) } gIOStreamHasPending <- function(object) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_has_pending", object, PACKAGE = "RGtk2") return(w) } gIOStreamSetPending <- function(object, .errwarn = TRUE) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_set_pending", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamClearPending <- function(object) { checkPtrType(object, "GIOStream") w <- .RGtkCall("S_g_io_stream_clear_pending", object, PACKAGE = "RGtk2") return(invisible(w)) } gMountUnmountWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_unmount_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountUnmountWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_unmount_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountEjectWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_mount_eject_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountEjectWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_mount_eject_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gNetworkAddressGetType <- function() { w <- .RGtkCall("S_g_network_address_get_type", PACKAGE = "RGtk2") return(w) } gNetworkAddressNew <- function(hostname, port) { hostname <- as.character(hostname) port <- as.integer(port) w <- .RGtkCall("S_g_network_address_new", hostname, port, PACKAGE = "RGtk2") return(w) } gNetworkAddressParse <- function(host.and.port, default.port, .errwarn = TRUE) { host.and.port <- as.character(host.and.port) default.port <- as.integer(default.port) w <- .RGtkCall("S_g_network_address_parse", host.and.port, default.port, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gNetworkAddressGetHostname <- function(object) { checkPtrType(object, "GNetworkAddress") w <- .RGtkCall("S_g_network_address_get_hostname", object, PACKAGE = "RGtk2") return(w) } gNetworkAddressGetPort <- function(object) { checkPtrType(object, "GNetworkAddress") w <- .RGtkCall("S_g_network_address_get_port", object, PACKAGE = "RGtk2") return(w) } gNetworkServiceGetType <- function() { w <- .RGtkCall("S_g_network_service_get_type", PACKAGE = "RGtk2") return(w) } gNetworkServiceNew <- function(service, protocol, domain) { service <- as.character(service) protocol <- as.character(protocol) domain <- as.character(domain) w <- .RGtkCall("S_g_network_service_new", service, protocol, domain, PACKAGE = "RGtk2") return(w) } gNetworkServiceGetService <- function(object) { checkPtrType(object, "GNetworkService") w <- .RGtkCall("S_g_network_service_get_service", object, PACKAGE = "RGtk2") return(w) } gNetworkServiceGetProtocol <- function(object) { checkPtrType(object, "GNetworkService") w <- .RGtkCall("S_g_network_service_get_protocol", object, PACKAGE = "RGtk2") return(w) } gNetworkServiceGetDomain <- function(object) { checkPtrType(object, "GNetworkService") w <- .RGtkCall("S_g_network_service_get_domain", object, PACKAGE = "RGtk2") return(w) } gResolverGetType <- function() { w <- .RGtkCall("S_g_resolver_get_type", PACKAGE = "RGtk2") return(w) } gResolverGetDefault <- function() { w <- .RGtkCall("S_g_resolver_get_default", PACKAGE = "RGtk2") return(w) } gResolverSetDefault <- function(object) { checkPtrType(object, "GResolver") w <- .RGtkCall("S_g_resolver_set_default", object, PACKAGE = "RGtk2") return(invisible(w)) } gResolverLookupByName <- function(object, hostname, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GResolver") hostname <- as.character(hostname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_resolver_lookup_by_name", object, hostname, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverLookupByNameAsync <- function(object, hostname, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GResolver") hostname <- as.character(hostname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_resolver_lookup_by_name_async", object, hostname, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverLookupByNameFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_resolver_lookup_by_name_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverFreeAddresses <- function(addresses) { addresses <- as.GList(addresses) w <- .RGtkCall("S_g_resolver_free_addresses", addresses, PACKAGE = "RGtk2") return(w) } gResolverLookupByAddress <- function(object, address, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GResolver") checkPtrType(address, "GInetAddress") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_resolver_lookup_by_address", object, address, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverLookupByAddressAsync <- function(object, address, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GResolver") checkPtrType(address, "GInetAddress") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_resolver_lookup_by_address_async", object, address, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverLookupByAddressFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_resolver_lookup_by_address_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverLookupService <- function(object, service, protocol, domain, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GResolver") service <- as.character(service) protocol <- as.character(protocol) domain <- as.character(domain) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_resolver_lookup_service", object, service, protocol, domain, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverLookupServiceAsync <- function(object, service, protocol, domain, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GResolver") service <- as.character(service) protocol <- as.character(protocol) domain <- as.character(domain) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_resolver_lookup_service_async", object, service, protocol, domain, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverLookupServiceFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_resolver_lookup_service_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverFreeTargets <- function(targets) { targets <- as.GList(targets) w <- .RGtkCall("S_g_resolver_free_targets", targets, PACKAGE = "RGtk2") return(w) } gResolverErrorQuark <- function() { w <- .RGtkCall("S_g_resolver_error_quark", PACKAGE = "RGtk2") return(w) } gSocketAddressEnumeratorGetType <- function() { w <- .RGtkCall("S_g_socket_address_enumerator_get_type", PACKAGE = "RGtk2") return(w) } gSocketAddressEnumeratorNext <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketAddressEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_address_enumerator_next", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressEnumeratorNextAsync <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketAddressEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_address_enumerator_next_async", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketAddressEnumeratorNextFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketAddressEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_address_enumerator_next_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressGetType <- function() { w <- .RGtkCall("S_g_socket_address_get_type", PACKAGE = "RGtk2") return(w) } gSocketAddressGetFamily <- function(object) { checkPtrType(object, "GSocketAddress") w <- .RGtkCall("S_g_socket_address_get_family", object, PACKAGE = "RGtk2") return(w) } gSocketAddressNewFromNative <- function(native, len) { len <- as.numeric(len) w <- .RGtkCall("S_g_socket_address_new_from_native", native, len, PACKAGE = "RGtk2") return(w) } gSocketAddressToNative <- function(object, dest, destlen, .errwarn = TRUE) { checkPtrType(object, "GSocketAddress") destlen <- as.numeric(destlen) w <- .RGtkCall("S_g_socket_address_to_native", object, dest, destlen, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressGetNativeSize <- function(object) { checkPtrType(object, "GSocketAddress") w <- .RGtkCall("S_g_socket_address_get_native_size", object, PACKAGE = "RGtk2") return(w) } gSocketClientGetType <- function() { w <- .RGtkCall("S_g_socket_client_get_type", PACKAGE = "RGtk2") return(w) } gSocketClientNew <- function() { w <- .RGtkCall("S_g_socket_client_new", PACKAGE = "RGtk2") return(w) } gSocketClientGetFamily <- function(object) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_get_family", object, PACKAGE = "RGtk2") return(w) } gSocketClientSetFamily <- function(object, family) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_set_family", object, family, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientGetSocketType <- function(object) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_get_socket_type", object, PACKAGE = "RGtk2") return(w) } gSocketClientSetSocketType <- function(object, type) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_set_socket_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientGetProtocol <- function(object) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_get_protocol", object, PACKAGE = "RGtk2") return(w) } gSocketClientSetProtocol <- function(object, protocol) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_set_protocol", object, protocol, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientGetLocalAddress <- function(object) { checkPtrType(object, "GSocketClient") w <- .RGtkCall("S_g_socket_client_get_local_address", object, PACKAGE = "RGtk2") return(w) } gSocketClientSetLocalAddress <- function(object, address) { checkPtrType(object, "GSocketClient") checkPtrType(address, "GSocketAddress") w <- .RGtkCall("S_g_socket_client_set_local_address", object, address, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientConnect <- function(object, connectable, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") checkPtrType(connectable, "GSocketConnectable") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_client_connect", object, connectable, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClientConnectToHost <- function(object, host.and.port, default.port, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") host.and.port <- as.character(host.and.port) default.port <- as.integer(default.port) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_client_connect_to_host", object, host.and.port, default.port, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClientConnectToService <- function(object, domain, service, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") domain <- as.character(domain) service <- as.character(service) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_client_connect_to_service", object, domain, service, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClientConnectAsync <- function(object, connectable, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketClient") checkPtrType(connectable, "GSocketConnectable") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_client_connect_async", object, connectable, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientConnectFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_client_connect_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClientConnectToHostAsync <- function(object, host.and.port, default.port, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketClient") host.and.port <- as.character(host.and.port) default.port <- as.integer(default.port) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_client_connect_to_host_async", object, host.and.port, default.port, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientConnectToHostFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_client_connect_to_host_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClientConnectToServiceAsync <- function(object, domain, service, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketClient") domain <- as.character(domain) service <- as.character(service) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_client_connect_to_service_async", object, domain, service, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketClientConnectToServiceFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketClient") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_client_connect_to_service_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketConnectableGetType <- function() { w <- .RGtkCall("S_g_socket_connectable_get_type", PACKAGE = "RGtk2") return(w) } gSocketConnectableEnumerate <- function(object) { checkPtrType(object, "GSocketConnectable") w <- .RGtkCall("S_g_socket_connectable_enumerate", object, PACKAGE = "RGtk2") return(w) } gSocketConnectionGetType <- function() { w <- .RGtkCall("S_g_socket_connection_get_type", PACKAGE = "RGtk2") return(w) } gSocketConnectionGetSocket <- function(object) { checkPtrType(object, "GSocketConnection") w <- .RGtkCall("S_g_socket_connection_get_socket", object, PACKAGE = "RGtk2") return(w) } gSocketConnectionGetLocalAddress <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocketConnection") w <- .RGtkCall("S_g_socket_connection_get_local_address", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketConnectionGetRemoteAddress <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocketConnection") w <- .RGtkCall("S_g_socket_connection_get_remote_address", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketConnectionFactoryRegisterType <- function(g.type, family, type, protocol) { g.type <- as.GType(g.type) protocol <- as.integer(protocol) w <- .RGtkCall("S_g_socket_connection_factory_register_type", g.type, family, type, protocol, PACKAGE = "RGtk2") return(w) } gSocketConnectionFactoryLookupType <- function(family, type, protocol.id) { protocol.id <- as.integer(protocol.id) w <- .RGtkCall("S_g_socket_connection_factory_lookup_type", family, type, protocol.id, PACKAGE = "RGtk2") return(w) } gSocketConnectionFactoryCreateConnection <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_connection_factory_create_connection", object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageGetType <- function() { w <- .RGtkCall("S_g_socket_control_message_get_type", PACKAGE = "RGtk2") return(w) } gSocketControlMessageGetSize <- function(object) { checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_g_socket_control_message_get_size", object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageGetLevel <- function(object) { checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_g_socket_control_message_get_level", object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageGetMsgType <- function(object) { checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_g_socket_control_message_get_msg_type", object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageSerialize <- function(object, data) { checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_g_socket_control_message_serialize", object, data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketControlMessageDeserialize <- function(level, type, size, data) { level <- as.integer(level) type <- as.integer(type) size <- as.numeric(size) w <- .RGtkCall("S_g_socket_control_message_deserialize", level, type, size, data, PACKAGE = "RGtk2") return(w) } gSocketGetType <- function() { w <- .RGtkCall("S_g_socket_get_type", PACKAGE = "RGtk2") return(w) } gSocketNew <- function(family, type, protocol, .errwarn = TRUE) { w <- .RGtkCall("S_g_socket_new", family, type, protocol, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketNewFromFd <- function(fd, .errwarn = TRUE) { fd <- as.integer(fd) w <- .RGtkCall("S_g_socket_new_from_fd", fd, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketGetFd <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_fd", object, PACKAGE = "RGtk2") return(w) } gSocketGetFamily <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_family", object, PACKAGE = "RGtk2") return(w) } gSocketGetSocketType <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_socket_type", object, PACKAGE = "RGtk2") return(w) } gSocketGetProtocol <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_protocol", object, PACKAGE = "RGtk2") return(w) } gSocketGetLocalAddress <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_local_address", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketGetRemoteAddress <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_remote_address", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketSetBlocking <- function(object, blocking) { checkPtrType(object, "GSocket") blocking <- as.logical(blocking) w <- .RGtkCall("S_g_socket_set_blocking", object, blocking, PACKAGE = "RGtk2") return(invisible(w)) } gSocketGetBlocking <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_blocking", object, PACKAGE = "RGtk2") return(w) } gSocketSetKeepalive <- function(object, keepalive) { checkPtrType(object, "GSocket") keepalive <- as.logical(keepalive) w <- .RGtkCall("S_g_socket_set_keepalive", object, keepalive, PACKAGE = "RGtk2") return(invisible(w)) } gSocketGetKeepalive <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_keepalive", object, PACKAGE = "RGtk2") return(w) } gSocketGetListenBacklog <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_get_listen_backlog", object, PACKAGE = "RGtk2") return(w) } gSocketSetListenBacklog <- function(object, backlog) { checkPtrType(object, "GSocket") backlog <- as.integer(backlog) w <- .RGtkCall("S_g_socket_set_listen_backlog", object, backlog, PACKAGE = "RGtk2") return(invisible(w)) } gSocketIsConnected <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_is_connected", object, PACKAGE = "RGtk2") return(w) } gSocketBind <- function(object, address, allow.reuse, .errwarn = TRUE) { checkPtrType(object, "GSocket") checkPtrType(address, "GSocketAddress") allow.reuse <- as.logical(allow.reuse) w <- .RGtkCall("S_g_socket_bind", object, address, allow.reuse, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketConnect <- function(object, address, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") checkPtrType(address, "GSocketAddress") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_connect", object, address, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketCheckConnectResult <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_check_connect_result", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketConditionCheck <- function(object, condition) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_condition_check", object, condition, PACKAGE = "RGtk2") return(w) } gSocketConditionWait <- function(object, condition, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_condition_wait", object, condition, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAccept <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_accept", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListen <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_listen", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketReceive <- function(object, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") size <- as.numeric(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_receive", object, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketReceiveFrom <- function(object, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") size <- as.numeric(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_receive_from", object, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketSend <- function(object, buffer, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") buffer <- as.character(buffer) size <- as.numeric(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_send", object, buffer, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketSendTo <- function(object, address, buffer, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") checkPtrType(address, "GSocketAddress") buffer <- as.character(buffer) size <- as.numeric(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_send_to", object, address, buffer, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketReceiveMessage <- function(object, flags = 0, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") flags <- as.list(as.integer(flags)) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_receive_message", object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketSendMessage <- function(object, address, vectors, messages = NULL, flags = 0, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocket") checkPtrType(address, "GSocketAddress") vectors <- lapply(vectors, function(x) { checkPtrType(x, "GOutputVector"); x }) messages <- lapply(messages, function(x) { checkPtrType(x, "GSocketControlMessage"); x }) flags <- as.integer(flags) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_send_message", object, address, vectors, messages, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketClose <- function(object, .errwarn = TRUE) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_close", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketShutdown <- function(object, shutdown.read, shutdown.write, .errwarn = TRUE) { checkPtrType(object, "GSocket") shutdown.read <- as.logical(shutdown.read) shutdown.write <- as.logical(shutdown.write) w <- .RGtkCall("S_g_socket_shutdown", object, shutdown.read, shutdown.write, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketIsClosed <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_is_closed", object, PACKAGE = "RGtk2") return(w) } gSocketCreateSource <- function(object, condition, cancellable = NULL) { checkPtrType(object, "GSocket") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_create_source", object, condition, cancellable, PACKAGE = "RGtk2") return(w) } gSocketSpeaksIpv4 <- function(object) { checkPtrType(object, "GSocket") w <- .RGtkCall("S_g_socket_speaks_ipv4", object, PACKAGE = "RGtk2") return(w) } gSocketListenerGetType <- function() { w <- .RGtkCall("S_g_socket_listener_get_type", PACKAGE = "RGtk2") return(w) } gSocketListenerNew <- function() { w <- .RGtkCall("S_g_socket_listener_new", PACKAGE = "RGtk2") return(w) } gSocketListenerSetBacklog <- function(object, listen.backlog) { checkPtrType(object, "GSocketListener") listen.backlog <- as.integer(listen.backlog) w <- .RGtkCall("S_g_socket_listener_set_backlog", object, listen.backlog, PACKAGE = "RGtk2") return(invisible(w)) } gSocketListenerAddSocket <- function(object, socket, source.object, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") checkPtrType(socket, "GSocket") checkPtrType(source.object, "GObject") w <- .RGtkCall("S_g_socket_listener_add_socket", object, socket, source.object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAddAddress <- function(object, address, type, protocol, source.object, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") checkPtrType(address, "GSocketAddress") checkPtrType(source.object, "GObject") w <- .RGtkCall("S_g_socket_listener_add_address", object, address, type, protocol, source.object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAddInetPort <- function(object, port, source.object, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") port <- as.integer(port) checkPtrType(source.object, "GObject") w <- .RGtkCall("S_g_socket_listener_add_inet_port", object, port, source.object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAcceptSocket <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_listener_accept_socket", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAcceptSocketAsync <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketListener") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_listener_accept_socket_async", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketListenerAcceptSocketFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_listener_accept_socket_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAccept <- function(object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_g_socket_listener_accept", object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerAcceptAsync <- function(object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GSocketListener") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_socket_listener_accept_async", object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketListenerAcceptFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GSocketListener") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_socket_listener_accept_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketListenerClose <- function(object) { checkPtrType(object, "GSocketListener") w <- .RGtkCall("S_g_socket_listener_close", object, PACKAGE = "RGtk2") return(invisible(w)) } gSocketServiceGetType <- function() { w <- .RGtkCall("S_g_socket_service_get_type", PACKAGE = "RGtk2") return(w) } gSocketServiceNew <- function() { w <- .RGtkCall("S_g_socket_service_new", PACKAGE = "RGtk2") return(w) } gSocketServiceStart <- function(object) { checkPtrType(object, "GSocketService") w <- .RGtkCall("S_g_socket_service_start", object, PACKAGE = "RGtk2") return(invisible(w)) } gSocketServiceStop <- function(object) { checkPtrType(object, "GSocketService") w <- .RGtkCall("S_g_socket_service_stop", object, PACKAGE = "RGtk2") return(invisible(w)) } gSocketServiceIsActive <- function(object) { checkPtrType(object, "GSocketService") w <- .RGtkCall("S_g_socket_service_is_active", object, PACKAGE = "RGtk2") return(w) } gSrvTargetGetType <- function() { w <- .RGtkCall("S_g_srv_target_get_type", PACKAGE = "RGtk2") return(w) } gSrvTargetNew <- function(hostname, port, priority, weight) { hostname <- as.character(hostname) port <- as.integer(port) priority <- as.integer(priority) weight <- as.integer(weight) w <- .RGtkCall("S_g_srv_target_new", hostname, port, priority, weight, PACKAGE = "RGtk2") return(w) } gSrvTargetCopy <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_copy", object, PACKAGE = "RGtk2") return(w) } gSrvTargetFree <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_free", object, PACKAGE = "RGtk2") return(invisible(w)) } gSrvTargetGetHostname <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_get_hostname", object, PACKAGE = "RGtk2") return(w) } gSrvTargetGetPort <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_get_port", object, PACKAGE = "RGtk2") return(w) } gSrvTargetGetPriority <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_get_priority", object, PACKAGE = "RGtk2") return(w) } gSrvTargetGetWeight <- function(object) { checkPtrType(object, "GSrvTarget") w <- .RGtkCall("S_g_srv_target_get_weight", object, PACKAGE = "RGtk2") return(w) } gSrvTargetListSort <- function(targets) { targets <- as.GList(targets) w <- .RGtkCall("S_g_srv_target_list_sort", targets, PACKAGE = "RGtk2") return(w) } gThreadedSocketServiceGetType <- function() { w <- .RGtkCall("S_g_threaded_socket_service_get_type", PACKAGE = "RGtk2") return(w) } gThreadedSocketServiceNew <- function(max.threads) { max.threads <- as.integer(max.threads) w <- .RGtkCall("S_g_threaded_socket_service_new", max.threads, PACKAGE = "RGtk2") return(w) } gVolumeEjectWithOperation <- function(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object, "GVolume") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_g_volume_eject_with_operation", object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeEjectWithOperationFinish <- function(object, result, .errwarn = TRUE) { checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_g_volume_eject_with_operation_finish", object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInetSocketAddressNew <- function(address, port) { checkPtrType(address, "GInetAddress") port <- as.integer(port) w <- .RGtkCall("S_g_inet_socket_address_new", address, port, PACKAGE = "RGtk2") return(w) } gInetSocketAddressGetAddress <- function(object) { checkPtrType(object, "GInetSocketAddress") w <- .RGtkCall("S_g_inet_socket_address_get_address", object, PACKAGE = "RGtk2") return(w) } gInetSocketAddressGetPort <- function(object) { checkPtrType(object, "GInetSocketAddress") w <- .RGtkCall("S_g_inet_socket_address_get_port", object, PACKAGE = "RGtk2") return(w) } gTcpConnectionGetType <- function() { w <- .RGtkCall("S_g_tcp_connection_get_type", PACKAGE = "RGtk2") return(w) } gTcpConnectionSetGracefulDisconnect <- function(object, graceful.disconnect) { checkPtrType(object, "GTcpConnection") graceful.disconnect <- as.logical(graceful.disconnect) w <- .RGtkCall("S_g_tcp_connection_set_graceful_disconnect", object, graceful.disconnect, PACKAGE = "RGtk2") return(invisible(w)) } gTcpConnectionGetGracefulDisconnect <- function(object) { checkPtrType(object, "GTcpConnection") w <- .RGtkCall("S_g_tcp_connection_get_graceful_disconnect", object, PACKAGE = "RGtk2") return(w) } RGtk2/R/gdkzConstructors.R0000644000176000001440000000537411766145227015173 0ustar ripleyusersgdkColormap <- gdkColormapNew gdkDisplay <- gdkDisplayOpen gdkDragContext <- gdkDragContextNew gdkWindow <- gdkWindowNew gdkPixmap <- function(drawable, data, transparent.color, height, width, depth, filename, colormap, fg, bg) { if (!missing(filename)) { if (!missing(colormap)) { gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename) } else { gdkPixmapCreateFromXpm(drawable, transparent.color, filename) } } else { if (!missing(width)) { if (!missing(depth)) { gdkPixmapNew(drawable, width, height, depth) } else { gdkBitmapCreateFromData(drawable, data, width, height) } } else { if (!missing(height)) { gdkPixmapCreateFromData(drawable, data, height, depth, fg, bg) } else { if (!missing(colormap)) { gdkPixmapColormapCreateFromXpmD(drawable, colormap, transparent.color, data) } else { gdkPixmapCreateFromXpmD(drawable, transparent.color, data) } } } } } gdkGC <- gdkGCNew gdkImage <- gdkImageNew gdkPixbuf <- function(width = -1, height = -1, filename, colorspace, has.alpha, bits.per.sample, preserve.aspect.ratio = 1, data, stream, cancellable = NULL, rowstride, .errwarn = TRUE) { if (!missing(width)) { if (!missing(colorspace)) { if (!missing(data)) { gdkPixbufNewFromData(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride) } else { gdkPixbufNew(colorspace, has.alpha, bits.per.sample, width, height) } } else { if (!missing(filename)) { if (!missing(preserve.aspect.ratio)) { gdkPixbufNewFromFileAtScale(filename, width, height, preserve.aspect.ratio, .errwarn) } else { gdkPixbufNewFromFileAtSize(filename, width, height, .errwarn) } } else { gdkPixbufNewFromStreamAtScale(stream, width, height, preserve.aspect.ratio, cancellable, .errwarn) } } } else { if (!missing(filename)) { gdkPixbufNewFromFile(filename, .errwarn) } else { if (!missing(.errwarn)) { gdkPixbufNewFromStream(stream, cancellable, .errwarn) } else { gdkPixbufNewFromXpmData(data) } } } } gdkPixbufAnimation <- gdkPixbufAnimationNewFromFile gdkPixbufSimpleAnim <- gdkPixbufSimpleAnimNew gdkPixbufLoader <- function(image.type, mime.type, .errwarn = TRUE) { if (!missing(image.type)) { gdkPixbufLoaderNewWithType(image.type, .errwarn) } else { if (!missing(.errwarn)) { gdkPixbufLoaderNewWithMimeType(mime.type, .errwarn) } else { gdkPixbufLoaderNew() } } } gdkPangoRenderer <- gdkPangoRendererNew gdkAppLaunchContext <- gdkAppLaunchContextNew RGtk2/R/pangoManuals.R0000644000176000001440000001133411766145227014221 0ustar ripleyusers# reason: we need to hide the text length parameter pangoGetLogAttrs <- function(text, level, language) { text <- as.character(text) level <- as.integer(level) checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_get_log_attrs", text, level, language) return(invisible(w)) } pangoGlyphStringGetLogicalWidths <- function(object, text, embedding.level) { checkPtrType(object, "PangoGlyphString") text <- as.character(text) embedding.level <- as.integer(embedding.level) w <- .RGtkCall("S_pango_glyph_string_get_logical_widths", object, text, embedding.level) return(w) } # reason: removed text length and attrs length parameters pangoBreak <- function(text, analysis) { text <- as.character(text) checkPtrType(analysis, "PangoAnalysis") w <- .RGtkCall("S_pango_break", text, analysis) return(invisible(w)) } # reason: PangoMatrix is a boxed type that needs to be treated as a reference, # but there is no way to create one from an API function # This mimics the aliased static initializer in the API. pangoMatrixInit <- function() { w <- .RGtkCall("S_pango_matrix_init") return(w) } # Here are some Pango constants PANGO_SCALE <- 1024 PANGO_SCALE_XX_SMALL <- (1 / (1.2 * 1.2 * 1.2)) PANGO_SCALE_X_SMALL <- (1 / (1.2 * 1.2)) PANGO_SCALE_SMALL <- (1 / 1.2) PANGO_SCALE_MEDIUM <- 1 PANGO_SCALE_LARGE <- 1 * 1.2 PANGO_SCALE_X_LARGE <- 1 * 1.2 * 1.2 PANGO_SCALE_XX_LARGE <- 1 * 1.2 * 1.2 * 1.2 # reason: now let's handle the functions where the text length is omitted pangoLayoutSetMarkupWithAccel <- function(object, markup, accel.marker) { checkPtrType(object, "PangoLayout") markup <- as.character(markup) length <- -1 accel.marker <- as.character(accel.marker) w <- .RGtkCall("S_pango_layout_set_markup_with_accel", object, markup, length, accel.marker) return(w) } pangoParseMarkup <- function(markup.text, accel.marker, .errwarn = TRUE) { markup.text <- as.character(markup.text) length <- -1 accel.marker <- as.character(accel.marker) w <- .RGtkCall("S_pango_parse_markup", markup.text, length, accel.marker) w <- handleError(w, .errwarn) return(w) } pangoGlyphStringIndexToX <- function(object, text, analysis, index, trailing) { checkPtrType(object, "PangoGlyphString") text <- as.character(text) length <- nchar(text) checkPtrType(analysis, "PangoAnalysis") index <- as.integer(index) trailing <- as.logical(trailing) w <- .RGtkCall("S_pango_glyph_string_index_to_x", object, text, length, analysis, index, trailing) return(w) } pangoGlyphStringXToIndex <- function(object, text, analysis, x.pos) { checkPtrType(object, "PangoGlyphString") text <- as.character(text) length <- nchar(text) checkPtrType(analysis, "PangoAnalysis") x.pos <- as.integer(x.pos) w <- .RGtkCall("S_pango_glyph_string_x_to_index", object, text, length, analysis, x.pos) return(invisible(w)) } pangoShape <- function(text, analysis, glyphs) { text <- as.character(text) length <- nchar(text) checkPtrType(analysis, "PangoAnalysis") checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_pango_shape", text, length, analysis, glyphs) return(w) } # reason: var-args, just set aligns/positions for each one pangoTabArrayNewWithPositions <- function(size, positions.in.pixels, ...) { size <- as.integer(size) positions.in.pixels <- as.logical(positions.in.pixels) args <- list(...) alignments <- args[seq(1,length(args),by=2)] positions <- args[seq(2,length(args),by=2)] array <- pangoTabArrayNew(size, positions.in.pixels) for (i in 1:length(args)) pangoTabArraySetTab(array, i-1, alignments[[i]], positions[[i]]) return(array) } # these are macros that seem simple enough to reimplement in R # of course, if they change this will also need to be updated pangoAscent <- function(x) { rect <- as.PangoRectangle(x) -rect$y } pangoDescent <- function(x) { rect <- as.PangoRectangle(x) rect$y + rect$height } pangoLbearing <- function(x) { rect <- as.PangoRectangle(x) rect$x } pangoRbearing <- function(x) { rect <- as.PangoRectangle(x) rect$x + rect$width } pangoReorderItems <- function(logical.items) { .notimplemented("wouldn't work automatically due to memory management details and the API says its useless") } ## version checking ## boundPangoVersion <- function() { as.numeric_version(paste(.RGtkCall("boundPangoVersion"), collapse=".")) } checkPango <- function(version) { .Deprecated("boundPangoVersion() >= version") boundPangoVersion() >= version } RGtk2/R/glib.R0000644000176000001440000000530212362204375012500 0ustar ripleyusers # G Main Loop timeouts and idles gTimeoutAdd <- function(interval, f, data = NULL) { useData <- !missing(data) if(!is.function(f)) stop("Timeout handlers must be function objects") .RGtkCall("R_addGTimeoutHandler", as.integer(interval), f, data, useData, PACKAGE = "RGtk2") } gSourceRemove <- function(id) { checkPtrType(id, "GTimeoutId") .Call("R_removeGSource", as.integer(id), PACKAGE = "RGtk2") } gIdleAdd <- function(f, data = NULL) { useData <- !missing(data) if(!is.function(f)) { stop("Idle functions must be functions!") } .RGtkCall("R_addGIdleHandler", f, data, useData, PACKAGE = "RGtk2") } # transparent coercion as.GQuark <- function(x) { if (is.character(x)) x <- .Call("R_gQuarkFromString", x, PACKAGE = "RGtk2") else { x <- as.integer(x) class(x) <- "GQuark" } x } as.GList <- function(x) { x <- as.list(x) class(x) <- "GList" x } as.GSList <- function(x) { x <- as.list(x) class(x) <- "GSList" x } as.GString <- function(x) { x <- as.character(x) class(x) <- "GString" x } as.GTimeVal <- function(x) { x <- as.struct(x, "GTimeVal", c("tv_sec", "tv_usec")) x[[1]] <- as.numeric(x[[1]]) x[[2]] <- as.numeric(x[[2]]) return(x) } as.GError <- function(x) { x <- as.struct(x, "GError", c("domain", "code", "message")) x[[1]] <- as.GQuark(x[[1]]) x[[2]] <- as.integer(x[[2]]) x[[3]] <- as.character(x[[3]]) x } # Provide the G_FILE_ERROR domain G_FILE_ERROR <- gFileErrorQuark <- function() { w <- .RGtkCall("S_g_file_error_quark", PACKAGE = "RGtk2") return(w) } # The GFileError enumeration GFileError <- c( "exist" = 0, "isdir" = 1, "acces" = 2, "nametoolong" = 3, "noent" = 4, "notdir" = 5, "nxio" = 6, "nodev" = 7, "rofs" = 8, "txtbsy" = 9, "fault" = 10, "loop" = 11, "nospc" = 12, "nomem" = 13, "mfile" = 14, "nfile" = 15, "badf" = 16, "inval" = 17, "pipe" = 18, "again" = 19, "intr" = 20, "io" = 21, "perm" = 22, "nosys" = 23, "failed" = 24 ) storage.mode(GFileError) <- 'integer' class(GFileError) <- 'enums' .GFileError <- c( "G_FILE_ERROR_EXIST" = 0, "G_FILE_ERROR_ISDIR" = 1, "G_FILE_ERROR_ACCES" = 2, "G_FILE_ERROR_NAMETOOLONG" = 3, "G_FILE_ERROR_NOENT" = 4, "G_FILE_ERROR_NOTDIR" = 5, "G_FILE_ERROR_NXIO" = 6, "G_FILE_ERROR_NODEV" = 7, "G_FILE_ERROR_ROFS" = 8, "G_FILE_ERROR_TXTBSY" = 9, "G_FILE_ERROR_FAULT" = 10, "G_FILE_ERROR_LOOP" = 11, "G_FILE_ERROR_NOSPC" = 12, "G_FILE_ERROR_NOMEM" = 13, "G_FILE_ERROR_MFILE" = 14, "G_FILE_ERROR_NFILE" = 15, "G_FILE_ERROR_BADF" = 16, "G_FILE_ERROR_INVAL" = 17, "G_FILE_ERROR_PIPE" = 18, "G_FILE_ERROR_AGAIN" = 19, "G_FILE_ERROR_INTR" = 20, "G_FILE_ERROR_IO" = 21, "G_FILE_ERROR_PERM" = 22, "G_FILE_ERROR_NOSYS" = 23, "G_FILE_ERROR_FAILED" = 24 ) storage.mode(.GFileError) <- 'integer' class(.GFileError) <- 'enums' RGtk2/R/RGtkDataFrame.R0000644000176000001440000000541011766145227014206 0ustar ripleyusers# The goal of RGtkDataFrame is to provide a (flat) GtkTreeModel implementation # that responds to the familiar subset and replacement operators for data frames # with minimal performance lost relative to a native data frame. # This allows the R programmer to interact with the GUI without sacrificing # familiarity and speed. "[<-.RGtkDataFrame" <- function(x, i, j, value) { frame <- as.data.frame(x) old_nrow <- nrow(frame) old_ncol <- ncol(frame) if (missing(i)) i <- 1:old_nrow if (missing(j)) j <- 1:old_ncol frame[i, j] <- value if (is.character(i)) i <- match(i, rownames(frame)) else if (is.logical(i)) i <- which(i) if (is.character(j)) j <- match(j, colnames(frame)) else if (is.logical(j)) j <- which(j) changed <- integer(0) if (length(unique(j)) > ncol(frame) - old_ncol) changed <- i # existing columns changed, all specified rows "changed" else if (nrow(frame) > old_nrow) # otherwise, just add new rows changed <- ((old_nrow+1):nrow(frame)) resort <- x$getSortColumnId() %in% j .RGtkCall("R_r_gtk_data_frame_set", x, frame, as.list(as.integer(changed-1)), resort) x } "[.RGtkDataFrame" <- function(x, i, j, drop = T) { frame <- as.data.frame(x) if (!missing(i) && length(i) > 0 && inherits(i[[1]], "GtkTreePath")) i <- .RGtkCall("R_gtk_tree_paths_to_indices", i)+1 frame[i, j, drop=drop] } rGtkDataFrame <- rGtkDataFrameNew <- function(frame = data.frame()) { sort_closure <- function(frame, col, order) { new_order <- order(frame[,col+1],decreasing=order) list(frame[new_order,drop=F], as.integer((1:length(new_order))[new_order]-1)) } w <- .RGtkCall("R_r_gtk_data_frame_new", as.data.frame(frame), sort_closure) w } as.data.frame.RGtkDataFrame <- function(x, ...) .RGtkCall("R_r_gtk_data_frame_get", x) rGtkDataFrameAppendRows <- function(x, ...) { frame <- as.data.frame(x) new_frame <- rbind(frame, ...) new_ind <- (nrow(frame)+1):nrow(new_frame) if (nrow(new_frame) > nrow(frame)) .RGtkCall("R_r_gtk_data_frame_set", x, new_frame, as.list(as.integer(new_ind-1)), T) x } rGtkDataFrameAppendColumns <- function(x, ...) { frame <- as.data.frame(x) new_frame <- cbind(frame, ...) if (ncol(new_frame) > ncol(frame)) .RGtkCall("R_r_gtk_data_frame_set", x, new_frame, NULL, F) x } rGtkDataFrameSetFrame <- function(x, frame = data.frame()) { rows <- list() if (nrow(frame) > 0) rows <- as.list(as.integer(1:nrow(frame)-1)) .RGtkCall("R_r_gtk_data_frame_set", x, frame, rows, T) } dim.RGtkDataFrame <- function(x, ...) { dim(as.data.frame(x)) } dimnames.RGtkDataFrame <- function(x, ...) { dimnames(as.data.frame(x)) } "dimnames<-.RGtkDataFrame" <- function(x, value) { frame <- as.data.frame(x) dimnames(frame) <- value .RGtkCall("R_r_gtk_data_frame_set", x, frame, NULL, F) x } RGtk2/R/cairoEnumDefs.R0000644000176000001440000000750112362217673014317 0ustar ripleyusersCairoStatus<-c("success" = 0, "no-memory" = 1, "invalid-restore" = 2, "invalid-pop-group" = 3, "no-current-point" = 4, "invalid-matrix" = 5, "invalid-status" = 6, "null-pointer" = 7, "invalid-string" = 8, "invalid-path-data" = 9, "read-error" = 10, "write-error" = 11, "surface-finished" = 12, "surface-type-mismatch" = 13, "pattern-type-mismatch" = 14, "invalid-content" = 15, "invalid-format" = 16, "invalid-visual" = 17, "file-not-found" = 18, "invalid-dash" = 19, "invalid-dsc-comment" = 20, "invalid-index" = 21, "clip-not-representable" = 22) storage.mode(CairoStatus) <- 'integer' class(CairoStatus) <- 'enums' CairoOperator<-c("clear" = 0, "source" = 1, "over" = 2, "in" = 3, "out" = 4, "atop" = 5, "dest" = 6, "dest-over" = 7, "dest-in" = 8, "dest-out" = 9, "dest-atop" = 10, "xor" = 11, "add" = 12, "saturate" = 13) storage.mode(CairoOperator) <- 'integer' class(CairoOperator) <- 'enums' CairoFillRule<-c("winding" = 0, "even-odd" = 1) storage.mode(CairoFillRule) <- 'integer' class(CairoFillRule) <- 'enums' CairoLineCap<-c("butt" = 0, "round" = 1, "square" = 2) storage.mode(CairoLineCap) <- 'integer' class(CairoLineCap) <- 'enums' CairoLineJoin<-c("miter" = 0, "round" = 1, "bevel" = 2) storage.mode(CairoLineJoin) <- 'integer' class(CairoLineJoin) <- 'enums' CairoFontSlant<-c("normal" = 0, "italic" = 1, "oblique" = 2) storage.mode(CairoFontSlant) <- 'integer' class(CairoFontSlant) <- 'enums' CairoFontWeight<-c("normal" = 0, "bold" = 1) storage.mode(CairoFontWeight) <- 'integer' class(CairoFontWeight) <- 'enums' CairoAntialias<-c("default" = 0, "none" = 1, "gray" = 2, "subpixel" = 3) storage.mode(CairoAntialias) <- 'integer' class(CairoAntialias) <- 'enums' CairoSubpixelOrder<-c("default" = 0, "rgb" = 1, "bgr" = 2, "vrgb" = 3, "vbgr" = 4) storage.mode(CairoSubpixelOrder) <- 'integer' class(CairoSubpixelOrder) <- 'enums' CairoHintStyle<-c("default" = 0, "none" = 1, "slight" = 2, "medium" = 3, "full" = 4) storage.mode(CairoHintStyle) <- 'integer' class(CairoHintStyle) <- 'enums' CairoHintMetrics<-c("default" = 0, "off" = 1, "on" = 2) storage.mode(CairoHintMetrics) <- 'integer' class(CairoHintMetrics) <- 'enums' CairoPathDataType<-c("move-to" = 0, "line-to" = 1, "curve-to" = 2, "close-path" = 3) storage.mode(CairoPathDataType) <- 'integer' class(CairoPathDataType) <- 'enums' CairoFormat<-c("argb32" = 0, "rgb24" = 1, "a8" = 2, "a1" = 3, "rgb16-565" = 4) storage.mode(CairoFormat) <- 'integer' class(CairoFormat) <- 'enums' CairoExtend<-c("none" = 0, "repeat" = 1, "reflect" = 2) storage.mode(CairoExtend) <- 'integer' class(CairoExtend) <- 'enums' CairoContent<-c("color" = 4096, "alpha" = 8192, "color-alpha" = 12288) storage.mode(CairoContent) <- 'integer' class(CairoContent) <- 'enums' CairoFilter<-c("fast" = 0, "good" = 1, "best" = 2, "nearest" = 3, "bilinear" = 4, "gaussian" = 5) storage.mode(CairoFilter) <- 'integer' class(CairoFilter) <- 'enums' CairoSurfaceType<-c("image" = 0, "pdf" = 1, "ps" = 2, "xlib" = 3, "xcb" = 4, "glitz" = 5, "quartz" = 6, "win32" = 7, "beos" = 8, "directfb" = 9, "svg" = 10) storage.mode(CairoSurfaceType) <- 'integer' class(CairoSurfaceType) <- 'enums' CairoFontType<-c("toy" = 0, "ft" = 1, "win32" = 2, "atsui" = 3) storage.mode(CairoFontType) <- 'integer' class(CairoFontType) <- 'enums' CairoPatternType<-c("solid" = 0, "surface" = 1, "linear" = 2, "radial" = 3) storage.mode(CairoPatternType) <- 'integer' class(CairoPatternType) <- 'enums' CairoSvgVersion<-c("1-1" = 0, "1-2" = 1) storage.mode(CairoSvgVersion) <- 'integer' class(CairoSvgVersion) <- 'enums' CairoPsLevel<-c("2" = 0, "3" = 1) storage.mode(CairoPsLevel) <- 'integer' class(CairoPsLevel) <- 'enums' CairoTextClusterFlags<-c("backward" = 0) storage.mode(CairoTextClusterFlags) <- 'integer' class(CairoTextClusterFlags) <- 'enums' RGtk2/R/pangozConstructors.R0000644000176000001440000000003711766145227015521 0ustar ripleyuserspangoLayout <- pangoLayoutNew RGtk2/R/gtkUtils.R0000644000176000001440000000103111766145227013373 0ustar ripleyusersfindWidgetByType <- # # Recursively search a widget tree for the first occurence of # a widget of the specified type. # function(win, gType = "GtkMenuBar", verbose = FALSE) { if(verbose) print(class(win)) if(is.function(gType)) { if(gType(win)) return(win) } else if(as.character(gType) %in% class(win)) { return(win) } if("GtkContainer" %in% class(win)) { for(i in win$GetChildren()) { tmp = findWidgetByType(i, gType, verbose = verbose) if(!is.null(tmp)) return(tmp) } } return(NULL) } RGtk2/R/gioEnumDefs.R0000644000176000001440000001167712362217673014011 0ustar ripleyusersGDataStreamByteOrder<-c("big-endian" = 0, "little-endian" = 1, "host-endian" = 2) storage.mode(GDataStreamByteOrder) <- 'integer' class(GDataStreamByteOrder) <- 'enums' GDataStreamNewlineType<-c("lf" = 0, "cr" = 1, "cr-lf" = 2, "any" = 3) storage.mode(GDataStreamNewlineType) <- 'integer' class(GDataStreamNewlineType) <- 'enums' GFileAttributeType<-c("invalid" = 0, "string" = 1, "byte-string" = 2, "boolean" = 3, "uint32" = 4, "int32" = 5, "uint64" = 6, "int64" = 7, "object" = 8) storage.mode(GFileAttributeType) <- 'integer' class(GFileAttributeType) <- 'enums' GFileAttributeStatus<-c("unset" = 0, "set" = 1, "error-setting" = 2) storage.mode(GFileAttributeStatus) <- 'integer' class(GFileAttributeStatus) <- 'enums' GFileType<-c("unknown" = 0, "regular" = 1, "directory" = 2, "symbolic-link" = 3, "special" = 4, "shortcut" = 5, "mountable" = 6) storage.mode(GFileType) <- 'integer' class(GFileType) <- 'enums' GFileMonitorEvent<-c("changed" = 0, "changes-done-hint" = 1, "deleted" = 2, "created" = 3, "attribute-changed" = 4, "pre-unmount" = 5, "unmounted" = 6) storage.mode(GFileMonitorEvent) <- 'integer' class(GFileMonitorEvent) <- 'enums' GIOErrorEnum<-c("failed" = 0, "not-found" = 1, "exists" = 2, "is-directory" = 3, "not-directory" = 4, "not-empty" = 5, "not-regular-file" = 6, "not-symbolic-link" = 7, "not-mountable-file" = 8, "filename-too-long" = 9, "invalid-filename" = 10, "too-many-links" = 11, "no-space" = 12, "invalid-argument" = 13, "permission-denied" = 14, "not-supported" = 15, "not-mounted" = 16, "already-mounted" = 17, "closed" = 18, "cancelled" = 19, "pending" = 20, "read-only" = 21, "cant-create-backup" = 22, "wrong-etag" = 23, "timed-out" = 24, "would-recurse" = 25, "busy" = 26, "would-block" = 27, "host-not-found" = 28, "would-merge" = 29, "failed-handled" = 30) storage.mode(GIOErrorEnum) <- 'integer' class(GIOErrorEnum) <- 'enums' GPasswordSave<-c("never" = 0, "for-session" = 1, "permanently" = 2) storage.mode(GPasswordSave) <- 'integer' class(GPasswordSave) <- 'enums' GMountOperationResult<-c("handled" = 0, "aborted" = 1, "unhandled" = 2) storage.mode(GMountOperationResult) <- 'integer' class(GMountOperationResult) <- 'enums' GSeekType<-c("cur" = 0, "set" = 1, "end" = 2) storage.mode(GSeekType) <- 'integer' class(GSeekType) <- 'enums' GEmblemOrigin<-c("unknown" = 0, "device" = 1, "livemetadata" = 2, "tag" = 3) storage.mode(GEmblemOrigin) <- 'integer' class(GEmblemOrigin) <- 'enums' GDriveStartFlags<-c("none" = 0) storage.mode(GDriveStartFlags) <- 'integer' class(GDriveStartFlags) <- 'enums' GDriveStartStopType<-c("unknown" = 0, "shutdown" = 1, "network" = 2, "multidisk" = 3, "password" = 4) storage.mode(GDriveStartStopType) <- 'integer' class(GDriveStartStopType) <- 'enums' GSocketFamily<-c("invalid" = 0, "unix" = 1, "ipv4" = 2, "ipv6" = 3) storage.mode(GSocketFamily) <- 'integer' class(GSocketFamily) <- 'enums' GSocketType<-c("invalid" = 0, "stream" = 1, "datagram" = 2, "seqpacket" = 3) storage.mode(GSocketType) <- 'integer' class(GSocketType) <- 'enums' GSocketProtocol<-c("unknown" = -1, "default" = 0, "tcp" = 6, "udp" = 17, "sctp" = 132) storage.mode(GSocketProtocol) <- 'integer' class(GSocketProtocol) <- 'enums' GIOCondition<-c("in" = 0, "out" = 1, "pri" = 2, "err" = 3, "hup" = 4, "nval" = 5) storage.mode(GIOCondition) <- 'integer' class(GIOCondition) <- 'enums' GAppInfoCreateFlags<-c("one" = 1, "eeds-terminal" = 2) storage.mode(GAppInfoCreateFlags) <- 'numeric' class(GAppInfoCreateFlags) <- 'flags' GFileAttributeInfoFlags<-c("none" = 1, "copy-with-file" = 2, "copy-when-moved" = 4) storage.mode(GFileAttributeInfoFlags) <- 'numeric' class(GFileAttributeInfoFlags) <- 'flags' GFileQueryInfoFlags<-c("ne" = 1, "follow-symlinks" = 2) storage.mode(GFileQueryInfoFlags) <- 'numeric' class(GFileQueryInfoFlags) <- 'flags' GFileCreateFlags<-c("none" = 1, "private" = 2) storage.mode(GFileCreateFlags) <- 'numeric' class(GFileCreateFlags) <- 'flags' GMountMountFlags<-c("none" = 1) storage.mode(GMountMountFlags) <- 'numeric' class(GMountMountFlags) <- 'flags' GMountUnmountFlags<-c("none" = 1, "force" = 2) storage.mode(GMountUnmountFlags) <- 'numeric' class(GMountUnmountFlags) <- 'flags' GFileCopyFlags<-c("none" = 1, "overwrite" = 2, "backup" = 4, "nofollow-symlinks" = 8, "all-metadata" = 16, "no-fallback-for-move" = 32) storage.mode(GFileCopyFlags) <- 'numeric' class(GFileCopyFlags) <- 'flags' GFileMonitorFlags<-c("none" = 1, "watch-mounts" = 2) storage.mode(GFileMonitorFlags) <- 'numeric' class(GFileMonitorFlags) <- 'flags' GAskPasswordFlags<-c("need-password" = 1, "need-username" = 2, "need-domain" = 4, "saving-supported" = 8, "anonymous-supported" = 16) storage.mode(GAskPasswordFlags) <- 'numeric' class(GAskPasswordFlags) <- 'flags' GOutputStreamSpliceFlags<-c("none" = 1, "close-source" = 2, "close-target" = 4) storage.mode(GOutputStreamSpliceFlags) <- 'numeric' class(GOutputStreamSpliceFlags) <- 'flags' RGtk2/R/gtkVirtuals.R0000644000176000001440000055202612362217673014121 0ustar ripleyusersif(!exists('.virtuals')) .virtuals <- new.env() assign("GtkAccelGroup", c("accel_changed"), .virtuals) assign("GtkAccessible", c("connect_widget_destroyed"), .virtuals) assign("GtkAction", c("activate", "connect_proxy", "create_menu_item", "create_tool_item", "disconnect_proxy"), .virtuals) assign("GtkActionGroup", c("get_action"), .virtuals) assign("GtkAdjustment", c("changed", "value_changed"), .virtuals) assign("GtkButton", c("pressed", "released", "clicked", "enter", "leave", "activate"), .virtuals) assign("GtkCalendar", c("month_changed", "day_selected", "day_selected_double_click", "prev_month", "next_month", "prev_year", "next_year"), .virtuals) assign("GtkCellEditable", c("editing_done", "remove_widget", "start_editing"), .virtuals) assign("GtkCellLayout", c("pack_start", "pack_end", "clear", "add_attribute", "set_cell_data_func", "clear_attributes", "reorder"), .virtuals) assign("GtkCellRenderer", c("get_size", "render", "activate", "editing_canceled", "editing_started", "start_editing"), .virtuals) assign("GtkCellRendererText", c("edited"), .virtuals) assign("GtkCellRendererToggle", c("toggled"), .virtuals) assign("GtkCheckButton", c("draw_indicator"), .virtuals) assign("GtkCheckMenuItem", c("toggled", "draw_indicator"), .virtuals) assign("GtkCList", c("set_scroll_adjustments", "refresh", "select_row", "unselect_row", "row_move", "click_column", "resize_column", "toggle_focus_row", "select_all", "unselect_all", "undo_selection", "start_selection", "end_selection", "extend_selection", "scroll_horizontal", "scroll_vertical", "toggle_add_mode", "abort_column_resize", "resync_selection", "selection_find", "draw_row", "draw_drag_highlight", "clear", "fake_unselect_all", "sort_list", "insert_row", "remove_row", "set_cell_contents", "cell_size_request"), .virtuals) assign("GtkColorButton", c("color_set"), .virtuals) assign("GtkColorSelection", c("color_changed"), .virtuals) assign("GtkComboBox", c("changed", "get_active_text"), .virtuals) assign("GtkContainer", c("add", "remove", "check_resize", "forall", "set_focus_child", "child_type", "composite_name", "set_child_property", "get_child_property"), .virtuals) assign("GtkCTree", c("tree_select_row", "tree_unselect_row", "tree_expand", "tree_collapse", "tree_move", "change_focus_row_expansion"), .virtuals) assign("GtkCurve", c("curve_type_changed"), .virtuals) assign("GtkDialog", c("response", "close"), .virtuals) assign("GtkEditable", c("insert_text", "delete_text", "changed", "do_insert_text", "do_delete_text", "get_chars", "set_selection_bounds", "get_selection_bounds", "set_position", "get_position"), .virtuals) assign("GtkEntry", c("populate_popup", "activate", "move_cursor", "insert_at_cursor", "delete_from_cursor", "backspace", "cut_clipboard", "copy_clipboard", "paste_clipboard", "toggle_overwrite"), .virtuals) assign("GtkEntryCompletion", c("match_selected", "action_activated", "insert_prefix"), .virtuals) assign("GtkExpander", c("activate"), .virtuals) assign("GtkFontButton", c("font_set"), .virtuals) assign("GtkFrame", c("compute_child_allocation"), .virtuals) assign("GtkHandleBox", c("child_attached", "child_detached"), .virtuals) assign("GtkIconTheme", c("changed"), .virtuals) assign("GtkIconView", c("set_scroll_adjustments", "item_activated", "selection_changed", "select_all", "unselect_all", "select_cursor_item", "toggle_cursor_item", "move_cursor", "activate_cursor_item"), .virtuals) assign("GtkIMContext", c("preedit_start", "preedit_end", "preedit_changed", "commit", "retrieve_surrounding", "delete_surrounding", "set_client_window", "get_preedit_string", "filter_keypress", "focus_in", "focus_out", "reset", "set_cursor_location", "set_use_preedit", "set_surrounding", "get_surrounding"), .virtuals) assign("GtkInputDialog", c("enable_device", "disable_device"), .virtuals) assign("GtkItem", c("select", "deselect", "toggle"), .virtuals) assign("GtkLabel", c("move_cursor", "copy_clipboard", "populate_popup"), .virtuals) assign("GtkLayout", c("set_scroll_adjustments"), .virtuals) assign("GtkList", c("selection_changed", "select_child", "unselect_child"), .virtuals) assign("GtkListItem", c("toggle_focus_row", "select_all", "unselect_all", "undo_selection", "start_selection", "end_selection", "extend_selection", "scroll_horizontal", "scroll_vertical", "toggle_add_mode"), .virtuals) assign("GtkMenuItem", c("activate", "activate_item", "toggle_size_request", "toggle_size_allocate"), .virtuals) assign("GtkMenuShell", c("deactivate", "selection_done", "move_current", "activate_current", "cancel", "select_item", "insert", "get_popup_delay"), .virtuals) assign("GtkMenuToolButton", c("show_menu"), .virtuals) assign("GtkNotebook", c("switch_page", "select_page", "focus_tab", "change_current_page", "move_focus_out", "reorder_tab", "insert_page"), .virtuals) assign("GtkOldEditable", c("activate", "set_editable", "move_cursor", "move_word", "move_page", "move_to_row", "move_to_column", "kill_char", "kill_word", "kill_line", "cut_clipboard", "copy_clipboard", "paste_clipboard", "update_text", "get_chars", "set_selection", "set_position"), .virtuals) assign("GtkOptionMenu", c("changed"), .virtuals) assign("GtkPaned", c("cycle_child_focus", "toggle_handle_focus", "move_handle", "cycle_handle_focus", "accept_position", "cancel_position"), .virtuals) assign("GtkPlug", c("embedded"), .virtuals) assign("GtkProgress", c("paint", "update", "act_mode_enter"), .virtuals) assign("GtkRadioAction", c("changed"), .virtuals) assign("GtkRadioButton", c("group_changed"), .virtuals) assign("GtkRadioMenuItem", c("group_changed"), .virtuals) assign("GtkRange", c("value_changed", "adjust_bounds", "move_slider", "get_range_border", "change_value"), .virtuals) assign("GtkRcStyle", c("create_rc_style", "parse", "merge", "create_style"), .virtuals) assign("GtkRuler", c("draw_ticks", "draw_pos"), .virtuals) assign("GtkScale", c("format_value", "draw_value", "get_layout_offsets"), .virtuals) assign("GtkScrolledWindow", c("scroll_child", "move_focus_out"), .virtuals) assign("GtkSocket", c("plug_added", "plug_removed"), .virtuals) assign("GtkSpinButton", c("input", "output", "value_changed", "change_value", "wrapped"), .virtuals) assign("GtkStatusbar", c("text_pushed", "text_popped"), .virtuals) assign("GtkStyle", c("realize", "unrealize", "copy", "clone", "init_from_rc", "set_background", "render_icon", "draw_hline", "draw_vline", "draw_shadow", "draw_polygon", "draw_arrow", "draw_diamond", "draw_string", "draw_box", "draw_flat_box", "draw_check", "draw_option", "draw_tab", "draw_shadow_gap", "draw_box_gap", "draw_extension", "draw_focus", "draw_slider", "draw_handle", "draw_expander", "draw_layout", "draw_resize_grip"), .virtuals) assign("GtkText", c("set_scroll_adjustments"), .virtuals) assign("GtkTextBuffer", c("insert_text", "insert_pixbuf", "insert_child_anchor", "delete_range", "changed", "modified_changed", "mark_set", "mark_deleted", "apply_tag", "remove_tag", "begin_user_action", "end_user_action"), .virtuals) assign("GtkTextTag", c("event"), .virtuals) assign("GtkTextTagTable", c("tag_changed", "tag_added", "tag_removed"), .virtuals) assign("GtkTextView", c("set_scroll_adjustments", "populate_popup", "move_cursor", "page_horizontally", "set_anchor", "insert_at_cursor", "delete_from_cursor", "backspace", "cut_clipboard", "copy_clipboard", "paste_clipboard", "toggle_overwrite", "move_focus"), .virtuals) assign("GtkTipsQuery", c("start_query", "stop_query", "widget_entered", "widget_selected"), .virtuals) assign("GtkToggleAction", c("toggled"), .virtuals) assign("GtkToggleButton", c("toggled"), .virtuals) assign("GtkToggleToolButton", c("toggled"), .virtuals) assign("GtkToolbar", c("orientation_changed", "style_changed", "popup_context_menu"), .virtuals) assign("GtkToolButton", c("clicked"), .virtuals) assign("GtkToolItem", c("create_menu_proxy", "toolbar_reconfigured", "set_tooltip"), .virtuals) assign("GtkTreeDragSource", c("row_draggable", "drag_data_get", "drag_data_delete"), .virtuals) assign("GtkTreeDragDest", c("drag_data_received", "row_drop_possible"), .virtuals) assign("GtkTreeSelection", c("changed", "changed"), .virtuals) assign("GtkTree", c("select_child", "unselect_child"), .virtuals) assign("GtkTreeItem", c("expand", "collapse"), .virtuals) assign("GtkTreeModel", c("row_changed", "row_inserted", "row_has_child_toggled", "row_deleted", "rows_reordered", "get_flags", "get_n_columns", "get_column_type", "get_iter", "get_path", "get_value", "iter_next", "iter_children", "iter_has_child", "iter_n_children", "iter_nth_child", "iter_parent", "ref_node", "unref_node"), .virtuals) assign("GtkTreeSortable", c("sort_column_changed", "get_sort_column_id", "set_sort_column_id", "set_sort_func", "set_default_sort_func", "has_default_sort_func"), .virtuals) assign("GtkTreeView", c("set_scroll_adjustments", "row_activated", "test_expand_row", "test_collapse_row", "row_expanded", "row_collapsed", "columns_changed", "cursor_changed", "move_cursor", "select_all", "unselect_all", "select_cursor_row", "toggle_cursor_row", "expand_collapse_cursor_row", "select_cursor_parent", "start_interactive_search"), .virtuals) assign("GtkTreeViewColumn", c("clicked"), .virtuals) assign("GtkUIManager", c("add_widget", "actions_changed", "connect_proxy", "disconnect_proxy", "pre_activate", "post_activate", "get_widget", "get_action"), .virtuals) assign("GtkViewport", c("set_scroll_adjustments"), .virtuals) assign("GtkWidget", c("dispatch_child_properties_changed", "show", "show_all", "hide", "hide_all", "map", "unmap", "realize", "unrealize", "size_request", "size_allocate", "state_changed", "parent_set", "hierarchy_changed", "style_set", "direction_changed", "grab_notify", "child_notify", "mnemonic_activate", "grab_focus", "focus", "event", "button_press_event", "button_release_event", "scroll_event", "motion_notify_event", "delete_event", "destroy_event", "expose_event", "key_press_event", "key_release_event", "enter_notify_event", "leave_notify_event", "configure_event", "focus_in_event", "focus_out_event", "map_event", "unmap_event", "property_notify_event", "selection_clear_event", "selection_request_event", "selection_notify_event", "proximity_in_event", "proximity_out_event", "visibility_notify_event", "client_event", "no_expose_event", "window_state_event", "selection_get", "selection_received", "drag_begin", "drag_end", "drag_data_get", "drag_data_delete", "drag_leave", "drag_motion", "drag_drop", "drag_data_received", "popup_menu", "show_help", "get_accessible", "screen_changed", "can_activate_accel", "grab_broken_event", "composited_changed"), .virtuals) assign("GtkWindow", c("set_focus", "frame_event", "activate_focus", "activate_default", "move_focus", "keys_changed"), .virtuals) assign("GtkAssistant", c("prepare", "apply", "close", "cancel"), .virtuals) assign("GtkCellRendererAccel", c("accel_edited", "accel_cleared"), .virtuals) assign("GtkPrintOperation", c("done", "begin_print", "paginate", "request_page_setup", "draw_page", "end_print", "status_changed", "create_custom_widget", "custom_widget_apply", "preview"), .virtuals) assign("GtkPrintOperationPreview", c("ready", "got_page_size", "render_page", "is_selected", "end_preview"), .virtuals) assign("GtkRecentChooser", c("set_current_uri", "get_current_uri", "select_uri", "unselect_uri", "select_all", "unselect_all", "get_items", "get_recent_manager", "add_filter", "remove_filter", "list_filters", "set_sort_func", "item_activated", "selection_changed"), .virtuals) assign("GtkRecentManager", c("changed"), .virtuals) assign("GtkStatusIcon", c("activate", "popup_menu", "size_changed"), .virtuals) assign("GtkBuildable", c("set_name", "get_name", "add_child", "set_buildable_property", "construct_child", "custom_tag_start", "custom_tag_end", "custom_finished", "parser_finished", "get_internal_child"), .virtuals) assign("GtkBuilder", c("get_type_from_name"), .virtuals) assign("GtkToolShell", c("get_icon_size", "get_orientation", "get_style", "get_relief_style", "rebuild_menu"), .virtuals) assign("GtkActivatable", c("update", "sync_action_properties"), .virtuals) gtkAccelGroupClassAccelChanged <- function(object.class, object, keyval, modifier, accel.closure) { checkPtrType(object.class, "GtkAccelGroupClass") checkPtrType(object, "GtkAccelGroup") keyval <- as.numeric(keyval) accel.closure <- as.GClosure(accel.closure) w <- .RGtkCall("S_gtk_accel_group_class_accel_changed", object.class, object, keyval, modifier, accel.closure, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccessibleClassConnectWidgetDestroyed <- function(object.class, object) { checkPtrType(object.class, "GtkAccessibleClass") checkPtrType(object, "GtkAccessible") w <- .RGtkCall("S_gtk_accessible_class_connect_widget_destroyed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkActionClass") checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionClassConnectProxy <- function(object.class, object, proxy) { checkPtrType(object.class, "GtkActionClass") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_class_connect_proxy", object.class, object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionClassCreateMenuItem <- function(object.class, object) { checkPtrType(object.class, "GtkActionClass") checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_class_create_menu_item", object.class, object, PACKAGE = "RGtk2") return(w) } gtkActionClassCreateToolItem <- function(object.class, object) { checkPtrType(object.class, "GtkActionClass") checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_class_create_tool_item", object.class, object, PACKAGE = "RGtk2") return(w) } gtkActionClassDisconnectProxy <- function(object.class, object, proxy) { checkPtrType(object.class, "GtkActionClass") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_class_disconnect_proxy", object.class, object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupClassGetAction <- function(object.class, object, action.name) { checkPtrType(object.class, "GtkActionGroupClass") checkPtrType(object, "GtkActionGroup") action.name <- as.character(action.name) w <- .RGtkCall("S_gtk_action_group_class_get_action", object.class, object, action.name, PACKAGE = "RGtk2") return(w) } gtkAdjustmentClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkAdjustmentClass") checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentClassValueChanged <- function(object.class, object) { checkPtrType(object.class, "GtkAdjustmentClass") checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_class_value_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassPressed <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_pressed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassReleased <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_released", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassClicked <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_clicked", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassEnter <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_enter", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassLeave <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_leave", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkButtonClass") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassMonthChanged <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_month_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassDaySelected <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_day_selected", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassDaySelectedDoubleClick <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_day_selected_double_click", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassPrevMonth <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_prev_month", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassNextMonth <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_next_month", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassPrevYear <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_prev_year", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarClassNextYear <- function(object.class, object) { checkPtrType(object.class, "GtkCalendarClass") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_class_next_year", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableIfaceEditingDone <- function(object.class, object) { checkPtrType(object.class, "GtkCellEditableIface") checkPtrType(object, "GtkCellEditable") w <- .RGtkCall("S_gtk_cell_editable_iface_editing_done", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableIfaceRemoveWidget <- function(object.class, object) { checkPtrType(object.class, "GtkCellEditableIface") checkPtrType(object, "GtkCellEditable") w <- .RGtkCall("S_gtk_cell_editable_iface_remove_widget", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableIfaceStartEditing <- function(object.class, object, event) { checkPtrType(object.class, "GtkCellEditableIface") checkPtrType(object, "GtkCellEditable") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_cell_editable_iface_start_editing", object.class, object, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfacePackStart <- function(object.class, object, cell, expand) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_cell_layout_iface_pack_start", object.class, object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfacePackEnd <- function(object.class, object, cell, expand) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_cell_layout_iface_pack_end", object.class, object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfaceClear <- function(object.class, object) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") w <- .RGtkCall("S_gtk_cell_layout_iface_clear", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfaceAddAttribute <- function(object.class, object, cell, attribute, column) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") attribute <- as.character(attribute) column <- as.integer(column) w <- .RGtkCall("S_gtk_cell_layout_iface_add_attribute", object.class, object, cell, attribute, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfaceSetCellDataFunc <- function(object.class, object, cell, func, func.data) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") func <- as.function(func) w <- .RGtkCall("S_gtk_cell_layout_iface_set_cell_data_func", object.class, object, cell, func, func.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfaceClearAttributes <- function(object.class, object, cell) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_layout_iface_clear_attributes", object.class, object, cell, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutIfaceReorder <- function(object.class, object, cell, position) { checkPtrType(object.class, "GtkCellLayoutIface") checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") position <- as.integer(position) w <- .RGtkCall("S_gtk_cell_layout_iface_reorder", object.class, object, cell, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererClassGetSize <- function(object.class, object, widget, cell.area) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") checkPtrType(widget, "GtkWidget") cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_class_get_size", object.class, object, widget, cell.area, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererClassRender <- function(object.class, object, window, widget, background.area, cell.area, expose.area, flags) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") checkPtrType(window, "GdkDrawable") checkPtrType(widget, "GtkWidget") background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) expose.area <- as.GdkRectangle(expose.area) w <- .RGtkCall("S_gtk_cell_renderer_class_render", object.class, object, window, widget, background.area, cell.area, expose.area, flags, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererClassActivate <- function(object.class, object, event, widget, path, background.area, cell.area, flags) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") checkPtrType(event, "GdkEvent") checkPtrType(widget, "GtkWidget") path <- as.character(path) background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_class_activate", object.class, object, event, widget, path, background.area, cell.area, flags, PACKAGE = "RGtk2") return(w) } gtkCellRendererClassEditingCanceled <- function(object.class, object) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_renderer_class_editing_canceled", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererClassEditingStarted <- function(object.class, object, editable, path) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") checkPtrType(editable, "GtkCellEditable") path <- as.character(path) w <- .RGtkCall("S_gtk_cell_renderer_class_editing_started", object.class, object, editable, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererClassStartEditing <- function(object.class, object, event, widget, path, background.area, cell.area, flags) { checkPtrType(object.class, "GtkCellRendererClass") checkPtrType(object, "GtkCellRenderer") checkPtrType(event, "GdkEvent") checkPtrType(widget, "GtkWidget") path <- as.character(path) background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_class_start_editing", object.class, object, event, widget, path, background.area, cell.area, flags, PACKAGE = "RGtk2") return(w) } gtkCellRendererTextClassEdited <- function(object.class, object, path, new.text) { checkPtrType(object.class, "GtkCellRendererTextClass") checkPtrType(object, "GtkCellRendererText") path <- as.character(path) new.text <- as.character(new.text) w <- .RGtkCall("S_gtk_cell_renderer_text_class_edited", object.class, object, path, new.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererToggleClassToggled <- function(object.class, object, path) { checkPtrType(object.class, "GtkCellRendererToggleClass") checkPtrType(object, "GtkCellRendererToggle") path <- as.character(path) w <- .RGtkCall("S_gtk_cell_renderer_toggle_class_toggled", object.class, object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckButtonClassDrawIndicator <- function(object.class, object, area) { checkPtrType(object.class, "GtkCheckButtonClass") checkPtrType(object, "GtkCheckButton") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_check_button_class_draw_indicator", object.class, object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemClassToggled <- function(object.class, object) { checkPtrType(object.class, "GtkCheckMenuItemClass") checkPtrType(object, "GtkCheckMenuItem") w <- .RGtkCall("S_gtk_check_menu_item_class_toggled", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemClassDrawIndicator <- function(object.class, object, area) { checkPtrType(object.class, "GtkCheckMenuItemClass") checkPtrType(object, "GtkCheckMenuItem") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_check_menu_item_class_draw_indicator", object.class, object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_clist_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassRefresh <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_refresh", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSelectRow <- function(object.class, object, row, column, event) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_clist_class_select_row", object.class, object, row, column, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassUnselectRow <- function(object.class, object, row, column, event) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_clist_class_unselect_row", object.class, object, row, column, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassRowMove <- function(object.class, object, source.row, dest.row) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") source.row <- as.integer(source.row) dest.row <- as.integer(dest.row) w <- .RGtkCall("S_gtk_clist_class_row_move", object.class, object, source.row, dest.row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassClickColumn <- function(object.class, object, column) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_class_click_column", object.class, object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassResizeColumn <- function(object.class, object, column, width) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") column <- as.integer(column) width <- as.integer(width) w <- .RGtkCall("S_gtk_clist_class_resize_column", object.class, object, column, width, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassToggleFocusRow <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_toggle_focus_row", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSelectAll <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_select_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassUnselectAll <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_unselect_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassUndoSelection <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_undo_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassStartSelection <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_start_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassEndSelection <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_end_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassExtendSelection <- function(object.class, object, scroll.type, position, auto.start.selection) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") position <- as.numeric(position) auto.start.selection <- as.logical(auto.start.selection) w <- .RGtkCall("S_gtk_clist_class_extend_selection", object.class, object, scroll.type, position, auto.start.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassScrollHorizontal <- function(object.class, object, scroll.type, position) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") position <- as.numeric(position) w <- .RGtkCall("S_gtk_clist_class_scroll_horizontal", object.class, object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassScrollVertical <- function(object.class, object, scroll.type, position) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") position <- as.numeric(position) w <- .RGtkCall("S_gtk_clist_class_scroll_vertical", object.class, object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassToggleAddMode <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_toggle_add_mode", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassAbortColumnResize <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_abort_column_resize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassResyncSelection <- function(object.class, object, event) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_clist_class_resync_selection", object.class, object, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSelectionFind <- function(object.class, object, row.number, row.list.element) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row.number <- as.integer(row.number) row.list.element <- lapply(row.list.element, function(x) { x <- as.GList(x); x }) w <- .RGtkCall("S_gtk_clist_class_selection_find", object.class, object, row.number, row.list.element, PACKAGE = "RGtk2") return(w) } gtkCListClassDrawRow <- function(object.class, object, area, row, clist.row) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") area <- as.GdkRectangle(area) row <- as.integer(row) checkPtrType(clist.row, "GtkCListRow") w <- .RGtkCall("S_gtk_clist_class_draw_row", object.class, object, area, row, clist.row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassDrawDragHighlight <- function(object.class, object, target.row, target.row.number, drag.pos) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") checkPtrType(target.row, "GtkCListRow") target.row.number <- as.integer(target.row.number) w <- .RGtkCall("S_gtk_clist_class_draw_drag_highlight", object.class, object, target.row, target.row.number, drag.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassClear <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_clear", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassFakeUnselectAll <- function(object.class, object, row) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_class_fake_unselect_all", object.class, object, row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSortList <- function(object.class, object) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_class_sort_list", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassInsertRow <- function(object.class, object, row, text) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row <- as.integer(row) text <- as.list(as.character(text)) w <- .RGtkCall("S_gtk_clist_class_insert_row", object.class, object, row, text, PACKAGE = "RGtk2") return(w) } gtkCListClassRemoveRow <- function(object.class, object, row) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_class_remove_row", object.class, object, row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassSetCellContents <- function(object.class, object, clist.row, column, type, text, spacing, pixmap, mask) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") checkPtrType(clist.row, "GtkCListRow") column <- as.integer(column) text <- as.character(text) spacing <- as.raw(spacing) checkPtrType(pixmap, "GdkPixmap") checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_clist_class_set_cell_contents", object.class, object, clist.row, column, type, text, spacing, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClassCellSizeRequest <- function(object.class, object, clist.row, column, requisition) { checkPtrType(object.class, "GtkCListClass") checkPtrType(object, "GtkCList") checkPtrType(clist.row, "GtkCListRow") column <- as.integer(column) checkPtrType(requisition, "GtkRequisition") w <- .RGtkCall("S_gtk_clist_class_cell_size_request", object.class, object, clist.row, column, requisition, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonClassColorSet <- function(object.class, object) { checkPtrType(object.class, "GtkColorButtonClass") checkPtrType(object, "GtkColorButton") w <- .RGtkCall("S_gtk_color_button_class_color_set", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionClassColorChanged <- function(object.class, object) { checkPtrType(object.class, "GtkColorSelectionClass") checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_class_color_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkComboBoxClass") checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxClassGetActiveText <- function(object.class, object) { checkPtrType(object.class, "GtkComboBoxClass") checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_class_get_active_text", object.class, object, PACKAGE = "RGtk2") return(w) } gtkContainerClassAdd <- function(object.class, object, widget) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_class_add", object.class, object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassRemove <- function(object.class, object, widget) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_class_remove", object.class, object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassCheckResize <- function(object.class, object) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_class_check_resize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassForall <- function(object.class, object, include.internals, callback, callback.data) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") include.internals <- as.logical(include.internals) callback <- as.function(callback) w <- .RGtkCall("S_gtk_container_class_forall", object.class, object, include.internals, callback, callback.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassSetFocusChild <- function(object.class, object, widget) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_class_set_focus_child", object.class, object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassChildType <- function(object.class, object) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_class_child_type", object.class, object, PACKAGE = "RGtk2") return(w) } gtkContainerClassCompositeName <- function(object.class, object, child) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_container_class_composite_name", object.class, object, child, PACKAGE = "RGtk2") return(w) } gtkContainerClassSetChildProperty <- function(object.class, object, child, property.id, value, pspec) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") property.id <- as.numeric(property.id) pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_container_class_set_child_property", object.class, object, child, property.id, value, pspec, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerClassGetChildProperty <- function(object.class, object, child, property.id, value, pspec) { checkPtrType(object.class, "GtkContainerClass") checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") property.id <- as.numeric(property.id) pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_container_class_get_child_property", object.class, object, child, property.id, value, pspec, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassTreeSelectRow <- function(object.class, object, row, column) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") checkPtrType(row, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_class_tree_select_row", object.class, object, row, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassTreeUnselectRow <- function(object.class, object, row, column) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") checkPtrType(row, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_class_tree_unselect_row", object.class, object, row, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassTreeExpand <- function(object.class, object, node) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_class_tree_expand", object.class, object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassTreeCollapse <- function(object.class, object, node) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_class_tree_collapse", object.class, object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassTreeMove <- function(object.class, object, node, new.parent, new.sibling) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") checkPtrType(new.parent, "GtkCTreeNode") checkPtrType(new.sibling, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_class_tree_move", object.class, object, node, new.parent, new.sibling, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeClassChangeFocusRowExpansion <- function(object.class, object, action) { checkPtrType(object.class, "GtkCTreeClass") checkPtrType(object, "GtkCTree") w <- .RGtkCall("S_gtk_ctree_class_change_focus_row_expansion", object.class, object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkCurveClassCurveTypeChanged <- function(object.class, object) { checkPtrType(object.class, "GtkCurveClass") checkPtrType(object, "GtkCurve") w <- .RGtkCall("S_gtk_curve_class_curve_type_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogClassResponse <- function(object.class, object, response.id) { checkPtrType(object.class, "GtkDialogClass") checkPtrType(object, "GtkDialog") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_class_response", object.class, object, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogClassClose <- function(object.class, object) { checkPtrType(object.class, "GtkDialogClass") checkPtrType(object, "GtkDialog") w <- .RGtkCall("S_gtk_dialog_class_close", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceInsertText <- function(object.class, object, text, position) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") text <- as.character(text) position <- as.list(as.integer(position)) w <- .RGtkCall("S_gtk_editable_iface_insert_text", object.class, object, text, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceDeleteText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_iface_delete_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceChanged <- function(object.class, object) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_iface_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceDoInsertText <- function(object.class, object, text, position) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") text <- as.character(text) position <- as.list(as.integer(position)) w <- .RGtkCall("S_gtk_editable_iface_do_insert_text", object.class, object, text, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceDoDeleteText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_iface_do_delete_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceGetChars <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_iface_get_chars", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(w) } gtkEditableIfaceSetSelectionBounds <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_iface_set_selection_bounds", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceGetSelectionBounds <- function(object.class, object) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_iface_get_selection_bounds", object.class, object, PACKAGE = "RGtk2") return(w) } gtkEditableIfaceSetPosition <- function(object.class, object, position) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") position <- as.integer(position) w <- .RGtkCall("S_gtk_editable_iface_set_position", object.class, object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableIfaceGetPosition <- function(object.class, object) { checkPtrType(object.class, "GtkEditableIface") checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_iface_get_position", object.class, object, PACKAGE = "RGtk2") return(w) } gtkEntryClassPopulatePopup <- function(object.class, object, menu) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") checkPtrType(menu, "GtkMenu") w <- .RGtkCall("S_gtk_entry_class_populate_popup", object.class, object, menu, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassMoveCursor <- function(object.class, object, step, count, extend.selection) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") count <- as.integer(count) extend.selection <- as.logical(extend.selection) w <- .RGtkCall("S_gtk_entry_class_move_cursor", object.class, object, step, count, extend.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassInsertAtCursor <- function(object.class, object, str) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") str <- as.character(str) w <- .RGtkCall("S_gtk_entry_class_insert_at_cursor", object.class, object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassDeleteFromCursor <- function(object.class, object, type, count) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") count <- as.integer(count) w <- .RGtkCall("S_gtk_entry_class_delete_from_cursor", object.class, object, type, count, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassBackspace <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_backspace", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassCutClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_cut_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassCopyClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_copy_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassPasteClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_paste_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryClassToggleOverwrite <- function(object.class, object) { checkPtrType(object.class, "GtkEntryClass") checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_class_toggle_overwrite", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionClassMatchSelected <- function(object.class, object, model, iter) { checkPtrType(object.class, "GtkEntryCompletionClass") checkPtrType(object, "GtkEntryCompletion") checkPtrType(model, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_entry_completion_class_match_selected", object.class, object, model, iter, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionClassActionActivated <- function(object.class, object, index.) { checkPtrType(object.class, "GtkEntryCompletionClass") checkPtrType(object, "GtkEntryCompletion") index. <- as.integer(index.) w <- .RGtkCall("S_gtk_entry_completion_class_action_activated", object.class, object, index., PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionClassInsertPrefix <- function(object.class, object, prefix) { checkPtrType(object.class, "GtkEntryCompletionClass") checkPtrType(object, "GtkEntryCompletion") prefix <- as.character(prefix) w <- .RGtkCall("S_gtk_entry_completion_class_insert_prefix", object.class, object, prefix, PACKAGE = "RGtk2") return(w) } gtkExpanderClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkExpanderClass") checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontButtonClassFontSet <- function(object.class, object) { checkPtrType(object.class, "GtkFontButtonClass") checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_class_font_set", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameClassComputeChildAllocation <- function(object.class, object, allocation) { checkPtrType(object.class, "GtkFrameClass") checkPtrType(object, "GtkFrame") allocation <- as.GtkAllocation(allocation) w <- .RGtkCall("S_gtk_frame_class_compute_child_allocation", object.class, object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkHandleBoxClassChildAttached <- function(object.class, object, child) { checkPtrType(object.class, "GtkHandleBoxClass") checkPtrType(object, "GtkHandleBox") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_handle_box_class_child_attached", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkHandleBoxClassChildDetached <- function(object.class, object, child) { checkPtrType(object.class, "GtkHandleBoxClass") checkPtrType(object, "GtkHandleBox") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_handle_box_class_child_detached", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemeClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkIconThemeClass") checkPtrType(object, "GtkIconTheme") w <- .RGtkCall("S_gtk_icon_theme_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_icon_view_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassItemActivated <- function(object.class, object, path) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_class_item_activated", object.class, object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassSelectionChanged <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_selection_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassSelectAll <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_select_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassUnselectAll <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_unselect_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassSelectCursorItem <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_select_cursor_item", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassToggleCursorItem <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_toggle_cursor_item", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewClassMoveCursor <- function(object.class, object, step, count) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") count <- as.integer(count) w <- .RGtkCall("S_gtk_icon_view_class_move_cursor", object.class, object, step, count, PACKAGE = "RGtk2") return(w) } gtkIconViewClassActivateCursorItem <- function(object.class, object) { checkPtrType(object.class, "GtkIconViewClass") checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_class_activate_cursor_item", object.class, object, PACKAGE = "RGtk2") return(w) } gtkIMContextClassPreeditStart <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_preedit_start", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassPreeditEnd <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_preedit_end", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassPreeditChanged <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_preedit_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassCommit <- function(object.class, object, str) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") str <- as.character(str) w <- .RGtkCall("S_gtk_imcontext_class_commit", object.class, object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassRetrieveSurrounding <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_retrieve_surrounding", object.class, object, PACKAGE = "RGtk2") return(w) } gtkIMContextClassDeleteSurrounding <- function(object.class, object, offset, n.chars) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") offset <- as.integer(offset) n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_imcontext_class_delete_surrounding", object.class, object, offset, n.chars, PACKAGE = "RGtk2") return(w) } gtkIMContextClassSetClientWindow <- function(object.class, object, window) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_imcontext_class_set_client_window", object.class, object, window, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassGetPreeditString <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_get_preedit_string", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassFilterKeypress <- function(object.class, object, event) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_imcontext_class_filter_keypress", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkIMContextClassFocusIn <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_focus_in", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassFocusOut <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_focus_out", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassReset <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_reset", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassSetCursorLocation <- function(object.class, object, area) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_imcontext_class_set_cursor_location", object.class, object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassSetUsePreedit <- function(object.class, object, use.preedit) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") use.preedit <- as.logical(use.preedit) w <- .RGtkCall("S_gtk_imcontext_class_set_use_preedit", object.class, object, use.preedit, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassSetSurrounding <- function(object.class, object, text, len, cursor.index) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") text <- as.character(text) len <- as.integer(len) cursor.index <- as.integer(cursor.index) w <- .RGtkCall("S_gtk_imcontext_class_set_surrounding", object.class, object, text, len, cursor.index, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextClassGetSurrounding <- function(object.class, object) { checkPtrType(object.class, "GtkIMContextClass") checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_imcontext_class_get_surrounding", object.class, object, PACKAGE = "RGtk2") return(w) } gtkInputDialogClassEnableDevice <- function(object.class, object, device) { checkPtrType(object.class, "GtkInputDialogClass") checkPtrType(object, "GtkInputDialog") checkPtrType(device, "GdkDevice") w <- .RGtkCall("S_gtk_input_dialog_class_enable_device", object.class, object, device, PACKAGE = "RGtk2") return(invisible(w)) } gtkInputDialogClassDisableDevice <- function(object.class, object, device) { checkPtrType(object.class, "GtkInputDialogClass") checkPtrType(object, "GtkInputDialog") checkPtrType(device, "GdkDevice") w <- .RGtkCall("S_gtk_input_dialog_class_disable_device", object.class, object, device, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemClassSelect <- function(object.class, object) { checkPtrType(object.class, "GtkItemClass") checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_class_select", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemClassDeselect <- function(object.class, object) { checkPtrType(object.class, "GtkItemClass") checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_class_deselect", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemClassToggle <- function(object.class, object) { checkPtrType(object.class, "GtkItemClass") checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_class_toggle", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelClassMoveCursor <- function(object.class, object, step, count, extend.selection) { checkPtrType(object.class, "GtkLabelClass") checkPtrType(object, "GtkLabel") count <- as.integer(count) extend.selection <- as.logical(extend.selection) w <- .RGtkCall("S_gtk_label_class_move_cursor", object.class, object, step, count, extend.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelClassCopyClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkLabelClass") checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_class_copy_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelClassPopulatePopup <- function(object.class, object, menu) { checkPtrType(object.class, "GtkLabelClass") checkPtrType(object, "GtkLabel") checkPtrType(menu, "GtkMenu") w <- .RGtkCall("S_gtk_label_class_populate_popup", object.class, object, menu, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkLayoutClass") checkPtrType(object, "GtkLayout") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_layout_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkListClassSelectionChanged <- function(object.class, object) { checkPtrType(object.class, "GtkListClass") checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_class_selection_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListClassSelectChild <- function(object.class, object, child) { checkPtrType(object.class, "GtkListClass") checkPtrType(object, "GtkList") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_list_class_select_child", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkListClassUnselectChild <- function(object.class, object, child) { checkPtrType(object.class, "GtkListClass") checkPtrType(object, "GtkList") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_list_class_unselect_child", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassToggleFocusRow <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_toggle_focus_row", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassSelectAll <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_select_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassUnselectAll <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_unselect_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassUndoSelection <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_undo_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassStartSelection <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_start_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassEndSelection <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_end_selection", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassExtendSelection <- function(object.class, object, scroll.type, position, auto.start.selection) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") position <- as.numeric(position) auto.start.selection <- as.logical(auto.start.selection) w <- .RGtkCall("S_gtk_list_item_class_extend_selection", object.class, object, scroll.type, position, auto.start.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassScrollHorizontal <- function(object.class, object, scroll.type, position) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") position <- as.numeric(position) w <- .RGtkCall("S_gtk_list_item_class_scroll_horizontal", object.class, object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassScrollVertical <- function(object.class, object, scroll.type, position) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") position <- as.numeric(position) w <- .RGtkCall("S_gtk_list_item_class_scroll_vertical", object.class, object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemClassToggleAddMode <- function(object.class, object) { checkPtrType(object.class, "GtkListItemClass") checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_class_toggle_add_mode", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkMenuItemClass") checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemClassActivateItem <- function(object.class, object) { checkPtrType(object.class, "GtkMenuItemClass") checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_class_activate_item", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemClassToggleSizeRequest <- function(object.class, object) { checkPtrType(object.class, "GtkMenuItemClass") checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_class_toggle_size_request", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemClassToggleSizeAllocate <- function(object.class, object, allocation) { checkPtrType(object.class, "GtkMenuItemClass") checkPtrType(object, "GtkMenuItem") allocation <- as.integer(allocation) w <- .RGtkCall("S_gtk_menu_item_class_toggle_size_allocate", object.class, object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassDeactivate <- function(object.class, object) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_class_deactivate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassSelectionDone <- function(object.class, object) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_class_selection_done", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassMoveCurrent <- function(object.class, object, direction) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_class_move_current", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassActivateCurrent <- function(object.class, object, force.hide) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") force.hide <- as.logical(force.hide) w <- .RGtkCall("S_gtk_menu_shell_class_activate_current", object.class, object, force.hide, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassCancel <- function(object.class, object) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_class_cancel", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassSelectItem <- function(object.class, object, menu.item) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") checkPtrType(menu.item, "GtkWidget") w <- .RGtkCall("S_gtk_menu_shell_class_select_item", object.class, object, menu.item, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassInsert <- function(object.class, object, child, position) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") checkPtrType(child, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_menu_shell_class_insert", object.class, object, child, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellClassGetPopupDelay <- function(object.class, object) { checkPtrType(object.class, "GtkMenuShellClass") checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_class_get_popup_delay", object.class, object, PACKAGE = "RGtk2") return(w) } gtkMenuToolButtonClassShowMenu <- function(object.class, object) { checkPtrType(object.class, "GtkMenuToolButtonClass") checkPtrType(object, "GtkMenuToolButton") w <- .RGtkCall("S_gtk_menu_tool_button_class_show_menu", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookClassSwitchPage <- function(object.class, object, page, page.num) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") checkPtrType(page, "GtkNotebookPage") page.num <- as.numeric(page.num) w <- .RGtkCall("S_gtk_notebook_class_switch_page", object.class, object, page, page.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookClassSelectPage <- function(object.class, object, move.focus) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") move.focus <- as.logical(move.focus) w <- .RGtkCall("S_gtk_notebook_class_select_page", object.class, object, move.focus, PACKAGE = "RGtk2") return(w) } gtkNotebookClassFocusTab <- function(object.class, object, type) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_class_focus_tab", object.class, object, type, PACKAGE = "RGtk2") return(w) } gtkNotebookClassChangeCurrentPage <- function(object.class, object, offset) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") offset <- as.integer(offset) w <- .RGtkCall("S_gtk_notebook_class_change_current_page", object.class, object, offset, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookClassMoveFocusOut <- function(object.class, object, direction) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_class_move_focus_out", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") w <- .RGtkCall("S_gtk_old_editable_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassSetEditable <- function(object.class, object, is.editable) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") is.editable <- as.logical(is.editable) w <- .RGtkCall("S_gtk_old_editable_class_set_editable", object.class, object, is.editable, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassMoveCursor <- function(object.class, object, x, y) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_old_editable_class_move_cursor", object.class, object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassMoveWord <- function(object.class, object, n) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") n <- as.integer(n) w <- .RGtkCall("S_gtk_old_editable_class_move_word", object.class, object, n, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassMovePage <- function(object.class, object, x, y) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_old_editable_class_move_page", object.class, object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassMoveToRow <- function(object.class, object, row) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") row <- as.integer(row) w <- .RGtkCall("S_gtk_old_editable_class_move_to_row", object.class, object, row, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassMoveToColumn <- function(object.class, object, row) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") row <- as.integer(row) w <- .RGtkCall("S_gtk_old_editable_class_move_to_column", object.class, object, row, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassKillChar <- function(object.class, object, direction) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") direction <- as.integer(direction) w <- .RGtkCall("S_gtk_old_editable_class_kill_char", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassKillWord <- function(object.class, object, direction) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") direction <- as.integer(direction) w <- .RGtkCall("S_gtk_old_editable_class_kill_word", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassKillLine <- function(object.class, object, direction) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") direction <- as.integer(direction) w <- .RGtkCall("S_gtk_old_editable_class_kill_line", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassCutClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") w <- .RGtkCall("S_gtk_old_editable_class_cut_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassCopyClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") w <- .RGtkCall("S_gtk_old_editable_class_copy_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassPasteClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") w <- .RGtkCall("S_gtk_old_editable_class_paste_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassUpdateText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_old_editable_class_update_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassGetChars <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_old_editable_class_get_chars", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(w) } gtkOldEditableClassSetSelection <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_old_editable_class_set_selection", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableClassSetPosition <- function(object.class, object, position) { checkPtrType(object.class, "GtkOldEditableClass") checkPtrType(object, "GtkOldEditable") position <- as.integer(position) w <- .RGtkCall("S_gtk_old_editable_class_set_position", object.class, object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkOptionMenuClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkOptionMenuClass") checkPtrType(object, "GtkOptionMenu") w <- .RGtkCall("S_gtk_option_menu_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedClassCycleChildFocus <- function(object.class, object, reverse) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") reverse <- as.logical(reverse) w <- .RGtkCall("S_gtk_paned_class_cycle_child_focus", object.class, object, reverse, PACKAGE = "RGtk2") return(w) } gtkPanedClassToggleHandleFocus <- function(object.class, object) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_class_toggle_handle_focus", object.class, object, PACKAGE = "RGtk2") return(w) } gtkPanedClassMoveHandle <- function(object.class, object, scroll) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_class_move_handle", object.class, object, scroll, PACKAGE = "RGtk2") return(w) } gtkPanedClassCycleHandleFocus <- function(object.class, object, reverse) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") reverse <- as.logical(reverse) w <- .RGtkCall("S_gtk_paned_class_cycle_handle_focus", object.class, object, reverse, PACKAGE = "RGtk2") return(w) } gtkPanedClassAcceptPosition <- function(object.class, object) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_class_accept_position", object.class, object, PACKAGE = "RGtk2") return(w) } gtkPanedClassCancelPosition <- function(object.class, object) { checkPtrType(object.class, "GtkPanedClass") checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_class_cancel_position", object.class, object, PACKAGE = "RGtk2") return(w) } gtkPlugClassEmbedded <- function(object.class, object) { checkPtrType(object.class, "GtkPlugClass") checkPtrType(object, "GtkPlug") w <- .RGtkCall("S_gtk_plug_class_embedded", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressClassPaint <- function(object.class, object) { checkPtrType(object.class, "GtkProgressClass") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_class_paint", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressClassUpdate <- function(object.class, object) { checkPtrType(object.class, "GtkProgressClass") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_class_update", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressClassActModeEnter <- function(object.class, object) { checkPtrType(object.class, "GtkProgressClass") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_class_act_mode_enter", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioActionClassChanged <- function(object.class, object, current) { checkPtrType(object.class, "GtkRadioActionClass") checkPtrType(object, "GtkRadioAction") checkPtrType(current, "GtkRadioAction") w <- .RGtkCall("S_gtk_radio_action_class_changed", object.class, object, current, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioButtonClassGroupChanged <- function(object.class, object) { checkPtrType(object.class, "GtkRadioButtonClass") checkPtrType(object, "GtkRadioButton") w <- .RGtkCall("S_gtk_radio_button_class_group_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioMenuItemClassGroupChanged <- function(object.class, object) { checkPtrType(object.class, "GtkRadioMenuItemClass") checkPtrType(object, "GtkRadioMenuItem") w <- .RGtkCall("S_gtk_radio_menu_item_class_group_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeClassValueChanged <- function(object.class, object) { checkPtrType(object.class, "GtkRangeClass") checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_class_value_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeClassAdjustBounds <- function(object.class, object, new.value) { checkPtrType(object.class, "GtkRangeClass") checkPtrType(object, "GtkRange") new.value <- as.numeric(new.value) w <- .RGtkCall("S_gtk_range_class_adjust_bounds", object.class, object, new.value, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeClassMoveSlider <- function(object.class, object, scroll) { checkPtrType(object.class, "GtkRangeClass") checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_class_move_slider", object.class, object, scroll, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeClassGetRangeBorder <- function(object.class, object, border.) { checkPtrType(object.class, "GtkRangeClass") checkPtrType(object, "GtkRange") checkPtrType(border., "GtkBorder") w <- .RGtkCall("S_gtk_range_class_get_range_border", object.class, object, border., PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeClassChangeValue <- function(object.class, object, scroll, new.value) { checkPtrType(object.class, "GtkRangeClass") checkPtrType(object, "GtkRange") new.value <- as.numeric(new.value) w <- .RGtkCall("S_gtk_range_class_change_value", object.class, object, scroll, new.value, PACKAGE = "RGtk2") return(w) } gtkRcStyleClassCreateRcStyle <- function(object.class, object) { checkPtrType(object.class, "GtkRcStyleClass") checkPtrType(object, "GtkRcStyle") w <- .RGtkCall("S_gtk_rc_style_class_create_rc_style", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRcStyleClassParse <- function(object.class, object, settings, scanner) { checkPtrType(object.class, "GtkRcStyleClass") checkPtrType(object, "GtkRcStyle") checkPtrType(settings, "GtkSettings") checkPtrType(scanner, "GScanner") w <- .RGtkCall("S_gtk_rc_style_class_parse", object.class, object, settings, scanner, PACKAGE = "RGtk2") return(w) } gtkRcStyleClassMerge <- function(object.class, object, src) { checkPtrType(object.class, "GtkRcStyleClass") checkPtrType(object, "GtkRcStyle") checkPtrType(src, "GtkRcStyle") w <- .RGtkCall("S_gtk_rc_style_class_merge", object.class, object, src, PACKAGE = "RGtk2") return(invisible(w)) } gtkRcStyleClassCreateStyle <- function(object.class, object) { checkPtrType(object.class, "GtkRcStyleClass") checkPtrType(object, "GtkRcStyle") w <- .RGtkCall("S_gtk_rc_style_class_create_style", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRulerClassDrawTicks <- function(object.class, object) { checkPtrType(object.class, "GtkRulerClass") checkPtrType(object, "GtkRuler") w <- .RGtkCall("S_gtk_ruler_class_draw_ticks", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRulerClassDrawPos <- function(object.class, object) { checkPtrType(object.class, "GtkRulerClass") checkPtrType(object, "GtkRuler") w <- .RGtkCall("S_gtk_ruler_class_draw_pos", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleClassFormatValue <- function(object.class, object, value) { checkPtrType(object.class, "GtkScaleClass") checkPtrType(object, "GtkScale") value <- as.numeric(value) w <- .RGtkCall("S_gtk_scale_class_format_value", object.class, object, value, PACKAGE = "RGtk2") return(w) } gtkScaleClassDrawValue <- function(object.class, object) { checkPtrType(object.class, "GtkScaleClass") checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_class_draw_value", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleClassGetLayoutOffsets <- function(object.class, object) { checkPtrType(object.class, "GtkScaleClass") checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_class_get_layout_offsets", object.class, object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowClassScrollChild <- function(object.class, object, scroll, horizontal) { checkPtrType(object.class, "GtkScrolledWindowClass") checkPtrType(object, "GtkScrolledWindow") horizontal <- as.logical(horizontal) w <- .RGtkCall("S_gtk_scrolled_window_class_scroll_child", object.class, object, scroll, horizontal, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowClassMoveFocusOut <- function(object.class, object, direction) { checkPtrType(object.class, "GtkScrolledWindowClass") checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_class_move_focus_out", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkSocketClassPlugAdded <- function(object.class, object) { checkPtrType(object.class, "GtkSocketClass") checkPtrType(object, "GtkSocket") w <- .RGtkCall("S_gtk_socket_class_plug_added", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSocketClassPlugRemoved <- function(object.class, object) { checkPtrType(object.class, "GtkSocketClass") checkPtrType(object, "GtkSocket") w <- .RGtkCall("S_gtk_socket_class_plug_removed", object.class, object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonClassInput <- function(object.class, object) { checkPtrType(object.class, "GtkSpinButtonClass") checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_class_input", object.class, object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonClassOutput <- function(object.class, object) { checkPtrType(object.class, "GtkSpinButtonClass") checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_class_output", object.class, object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonClassValueChanged <- function(object.class, object) { checkPtrType(object.class, "GtkSpinButtonClass") checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_class_value_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonClassChangeValue <- function(object.class, object, scroll) { checkPtrType(object.class, "GtkSpinButtonClass") checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_class_change_value", object.class, object, scroll, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarClassTextPushed <- function(object.class, object, context.id, text) { checkPtrType(object.class, "GtkStatusbarClass") checkPtrType(object, "GtkStatusbar") context.id <- as.numeric(context.id) text <- as.character(text) w <- .RGtkCall("S_gtk_statusbar_class_text_pushed", object.class, object, context.id, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarClassTextPopped <- function(object.class, object, context.id, text) { checkPtrType(object.class, "GtkStatusbarClass") checkPtrType(object, "GtkStatusbar") context.id <- as.numeric(context.id) text <- as.character(text) w <- .RGtkCall("S_gtk_statusbar_class_text_popped", object.class, object, context.id, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassRealize <- function(object.class, object) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_class_realize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassUnrealize <- function(object.class, object) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_class_unrealize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassCopy <- function(object.class, object, src) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(src, "GtkStyle") w <- .RGtkCall("S_gtk_style_class_copy", object.class, object, src, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassClone <- function(object.class, object) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_class_clone", object.class, object, PACKAGE = "RGtk2") return(w) } gtkStyleClassInitFromRc <- function(object.class, object, rc.style) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(rc.style, "GtkRcStyle") w <- .RGtkCall("S_gtk_style_class_init_from_rc", object.class, object, rc.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassSetBackground <- function(object.class, object, window, state.type) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_style_class_set_background", object.class, object, window, state.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassRenderIcon <- function(object.class, object, source, direction, state, size, widget, detail) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(source, "GtkIconSource") checkPtrType(widget, "GtkWidget") detail <- as.character(detail) w <- .RGtkCall("S_gtk_style_class_render_icon", object.class, object, source, direction, state, size, widget, detail, PACKAGE = "RGtk2") return(w) } gtkStyleClassDrawHline <- function(object.class, object, window, state.type, area, widget, detail, x1, x2, y) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x1 <- as.integer(x1) x2 <- as.integer(x2) y <- as.integer(y) w <- .RGtkCall("S_gtk_style_class_draw_hline", object.class, object, window, state.type, area, widget, detail, x1, x2, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawVline <- function(object.class, object, window, state.type, area, widget, detail, y1., y2., x) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) y1. <- as.integer(y1.) y2. <- as.integer(y2.) x <- as.integer(x) w <- .RGtkCall("S_gtk_style_class_draw_vline", object.class, object, window, state.type, area, widget, detail, y1., y2., x, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawShadow <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_shadow", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawPolygon <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, point, npoints, fill) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) point <- as.GdkPoint(point) npoints <- as.integer(npoints) fill <- as.logical(fill) w <- .RGtkCall("S_gtk_style_class_draw_polygon", object.class, object, window, state.type, shadow.type, area, widget, detail, point, npoints, fill, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawArrow <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, arrow.type, fill, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) fill <- as.logical(fill) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_arrow", object.class, object, window, state.type, shadow.type, area, widget, detail, arrow.type, fill, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawDiamond <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_diamond", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawString <- function(object.class, object, window, state.type, area, widget, detail, x, y, string) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) string <- as.character(string) w <- .RGtkCall("S_gtk_style_class_draw_string", object.class, object, window, state.type, area, widget, detail, x, y, string, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawBox <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_box", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawFlatBox <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_flat_box", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawCheck <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_check", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawOption <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_option", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawTab <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_tab", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawShadowGap <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_style_class_draw_shadow_gap", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawBoxGap <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_style_class_draw_box_gap", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawExtension <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_extension", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawFocus <- function(object.class, object, window, state.type, area, widget, detail, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_focus", object.class, object, window, state.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawSlider <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_slider", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawHandle <- function(object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_handle", object.class, object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawExpander <- function(object.class, object, window, state.type, area, widget, detail, x, y, expander.style) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_style_class_draw_expander", object.class, object, window, state.type, area, widget, detail, x, y, expander.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawLayout <- function(object.class, object, window, state.type, use.text, area, widget, detail, x, y, layout) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") use.text <- as.logical(use.text) area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_gtk_style_class_draw_layout", object.class, object, window, state.type, use.text, area, widget, detail, x, y, layout, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleClassDrawResizeGrip <- function(object.class, object, window, state.type, area, widget, detail, edge, x, y, width, height) { checkPtrType(object.class, "GtkStyleClass") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_class_draw_resize_grip", object.class, object, window, state.type, area, widget, detail, edge, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkTextClass") checkPtrType(object, "GtkText") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_text_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassInsertText <- function(object.class, object, pos, text, length) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(pos, "GtkTextIter") text <- as.character(text) length <- as.integer(length) w <- .RGtkCall("S_gtk_text_buffer_class_insert_text", object.class, object, pos, text, length, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassInsertPixbuf <- function(object.class, object, pos, pixbuf) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(pos, "GtkTextIter") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_text_buffer_class_insert_pixbuf", object.class, object, pos, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassInsertChildAnchor <- function(object.class, object, pos, anchor) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(pos, "GtkTextIter") checkPtrType(anchor, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_buffer_class_insert_child_anchor", object.class, object, pos, anchor, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassDeleteRange <- function(object.class, object, start, end) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_class_delete_range", object.class, object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassModifiedChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_class_modified_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassMarkSet <- function(object.class, object, location, mark) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(location, "GtkTextIter") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_buffer_class_mark_set", object.class, object, location, mark, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassMarkDeleted <- function(object.class, object, mark) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_buffer_class_mark_deleted", object.class, object, mark, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassApplyTag <- function(object.class, object, tag, start.char, end.char) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(tag, "GtkTextTag") checkPtrType(start.char, "GtkTextIter") checkPtrType(end.char, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_class_apply_tag", object.class, object, tag, start.char, end.char, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassRemoveTag <- function(object.class, object, tag, start.char, end.char) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") checkPtrType(tag, "GtkTextTag") checkPtrType(start.char, "GtkTextIter") checkPtrType(end.char, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_class_remove_tag", object.class, object, tag, start.char, end.char, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassBeginUserAction <- function(object.class, object) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_class_begin_user_action", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferClassEndUserAction <- function(object.class, object) { checkPtrType(object.class, "GtkTextBufferClass") checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_class_end_user_action", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagClassEvent <- function(object.class, object, event.object, event, iter) { checkPtrType(object.class, "GtkTextTagClass") checkPtrType(object, "GtkTextTag") checkPtrType(event.object, "GObject") checkPtrType(event, "GdkEvent") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_tag_class_event", object.class, object, event.object, event, iter, PACKAGE = "RGtk2") return(w) } gtkTextTagTableClassTagChanged <- function(object.class, object, tag, size.changed) { checkPtrType(object.class, "GtkTextTagTableClass") checkPtrType(object, "GtkTextTagTable") checkPtrType(tag, "GtkTextTag") size.changed <- as.logical(size.changed) w <- .RGtkCall("S_gtk_text_tag_table_class_tag_changed", object.class, object, tag, size.changed, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagTableClassTagAdded <- function(object.class, object, tag) { checkPtrType(object.class, "GtkTextTagTableClass") checkPtrType(object, "GtkTextTagTable") checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_tag_table_class_tag_added", object.class, object, tag, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagTableClassTagRemoved <- function(object.class, object, tag) { checkPtrType(object.class, "GtkTextTagTableClass") checkPtrType(object, "GtkTextTagTable") checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_tag_table_class_tag_removed", object.class, object, tag, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_text_view_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassPopulatePopup <- function(object.class, object, menu) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") checkPtrType(menu, "GtkMenu") w <- .RGtkCall("S_gtk_text_view_class_populate_popup", object.class, object, menu, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassMoveCursor <- function(object.class, object, step, count, extend.selection) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") count <- as.integer(count) extend.selection <- as.logical(extend.selection) w <- .RGtkCall("S_gtk_text_view_class_move_cursor", object.class, object, step, count, extend.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassPageHorizontally <- function(object.class, object, count, extend.selection) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") count <- as.integer(count) extend.selection <- as.logical(extend.selection) w <- .RGtkCall("S_gtk_text_view_class_page_horizontally", object.class, object, count, extend.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassSetAnchor <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_set_anchor", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassInsertAtCursor <- function(object.class, object, str) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") str <- as.character(str) w <- .RGtkCall("S_gtk_text_view_class_insert_at_cursor", object.class, object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassDeleteFromCursor <- function(object.class, object, type, count) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_view_class_delete_from_cursor", object.class, object, type, count, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassBackspace <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_backspace", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassCutClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_cut_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassCopyClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_copy_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassPasteClipboard <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_paste_clipboard", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassToggleOverwrite <- function(object.class, object) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_toggle_overwrite", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewClassMoveFocus <- function(object.class, object, direction) { checkPtrType(object.class, "GtkTextViewClass") checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_class_move_focus", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQueryClassStartQuery <- function(object.class, object) { checkPtrType(object.class, "GtkTipsQueryClass") checkPtrType(object, "GtkTipsQuery") w <- .RGtkCall("S_gtk_tips_query_class_start_query", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQueryClassStopQuery <- function(object.class, object) { checkPtrType(object.class, "GtkTipsQueryClass") checkPtrType(object, "GtkTipsQuery") w <- .RGtkCall("S_gtk_tips_query_class_stop_query", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQueryClassWidgetEntered <- function(object.class, object, widget, tip.text, tip.private) { checkPtrType(object.class, "GtkTipsQueryClass") checkPtrType(object, "GtkTipsQuery") checkPtrType(widget, "GtkWidget") tip.text <- as.character(tip.text) tip.private <- as.character(tip.private) w <- .RGtkCall("S_gtk_tips_query_class_widget_entered", object.class, object, widget, tip.text, tip.private, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQueryClassWidgetSelected <- function(object.class, object, widget, tip.text, tip.private, event) { checkPtrType(object.class, "GtkTipsQueryClass") checkPtrType(object, "GtkTipsQuery") checkPtrType(widget, "GtkWidget") tip.text <- as.character(tip.text) tip.private <- as.character(tip.private) checkPtrType(event, "GdkEventButton") w <- .RGtkCall("S_gtk_tips_query_class_widget_selected", object.class, object, widget, tip.text, tip.private, event, PACKAGE = "RGtk2") return(w) } gtkToggleActionClassToggled <- function(object.class, object) { checkPtrType(object.class, "GtkToggleActionClass") checkPtrType(object, "GtkToggleAction") w <- .RGtkCall("S_gtk_toggle_action_class_toggled", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleButtonClassToggled <- function(object.class, object) { checkPtrType(object.class, "GtkToggleButtonClass") checkPtrType(object, "GtkToggleButton") w <- .RGtkCall("S_gtk_toggle_button_class_toggled", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleToolButtonClassToggled <- function(object.class, object) { checkPtrType(object.class, "GtkToggleToolButtonClass") checkPtrType(object, "GtkToggleToolButton") w <- .RGtkCall("S_gtk_toggle_tool_button_class_toggled", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarClassOrientationChanged <- function(object.class, object, orientation) { checkPtrType(object.class, "GtkToolbarClass") checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_class_orientation_changed", object.class, object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarClassStyleChanged <- function(object.class, object, style) { checkPtrType(object.class, "GtkToolbarClass") checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_class_style_changed", object.class, object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarClassPopupContextMenu <- function(object.class, object, x, y, button.number) { checkPtrType(object.class, "GtkToolbarClass") checkPtrType(object, "GtkToolbar") x <- as.integer(x) y <- as.integer(y) button.number <- as.integer(button.number) w <- .RGtkCall("S_gtk_toolbar_class_popup_context_menu", object.class, object, x, y, button.number, PACKAGE = "RGtk2") return(w) } gtkToolButtonClassClicked <- function(object.class, object) { checkPtrType(object.class, "GtkToolButtonClass") checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_class_clicked", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemClassCreateMenuProxy <- function(object.class, object) { checkPtrType(object.class, "GtkToolItemClass") checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_class_create_menu_proxy", object.class, object, PACKAGE = "RGtk2") return(w) } gtkToolItemClassToolbarReconfigured <- function(object.class, object) { checkPtrType(object.class, "GtkToolItemClass") checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_class_toolbar_reconfigured", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemClassSetTooltip <- function(object.class, object, tooltips, tip.text, tip.private) { checkPtrType(object.class, "GtkToolItemClass") checkPtrType(object, "GtkToolItem") checkPtrType(tooltips, "GtkTooltips") tip.text <- as.character(tip.text) tip.private <- as.character(tip.private) w <- .RGtkCall("S_gtk_tool_item_class_set_tooltip", object.class, object, tooltips, tip.text, tip.private, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceIfaceRowDraggable <- function(object.class, object, path) { checkPtrType(object.class, "GtkTreeDragSourceIface") checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_drag_source_iface_row_draggable", object.class, object, path, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceIfaceDragDataGet <- function(object.class, object, path, selection.data) { checkPtrType(object.class, "GtkTreeDragSourceIface") checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") checkPtrType(selection.data, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_drag_source_iface_drag_data_get", object.class, object, path, selection.data, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceIfaceDragDataDelete <- function(object.class, object, path) { checkPtrType(object.class, "GtkTreeDragSourceIface") checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_drag_source_iface_drag_data_delete", object.class, object, path, PACKAGE = "RGtk2") return(w) } gtkTreeDragDestIfaceDragDataReceived <- function(object.class, object, dest, selection.data) { checkPtrType(object.class, "GtkTreeDragDestIface") checkPtrType(object, "GtkTreeDragDest") checkPtrType(dest, "GtkTreePath") checkPtrType(selection.data, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_drag_dest_iface_drag_data_received", object.class, object, dest, selection.data, PACKAGE = "RGtk2") return(w) } gtkTreeDragDestIfaceRowDropPossible <- function(object.class, object, dest.path, selection.data) { checkPtrType(object.class, "GtkTreeDragDestIface") checkPtrType(object, "GtkTreeDragDest") checkPtrType(dest.path, "GtkTreePath") checkPtrType(selection.data, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_drag_dest_iface_row_drop_possible", object.class, object, dest.path, selection.data, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTreeSelectionClass") checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeClassSelectChild <- function(object.class, object, child) { checkPtrType(object.class, "GtkTreeClass") checkPtrType(object, "GtkTree") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_tree_class_select_child", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeClassUnselectChild <- function(object.class, object, child) { checkPtrType(object.class, "GtkTreeClass") checkPtrType(object, "GtkTree") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_tree_class_unselect_child", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeItemClassExpand <- function(object.class, object) { checkPtrType(object.class, "GtkTreeItemClass") checkPtrType(object, "GtkTreeItem") w <- .RGtkCall("S_gtk_tree_item_class_expand", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeItemClassCollapse <- function(object.class, object) { checkPtrType(object.class, "GtkTreeItemClass") checkPtrType(object, "GtkTreeItem") w <- .RGtkCall("S_gtk_tree_item_class_collapse", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceRowChanged <- function(object.class, object, path, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_row_changed", object.class, object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceRowInserted <- function(object.class, object, path, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_row_inserted", object.class, object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceRowHasChildToggled <- function(object.class, object, path, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_row_has_child_toggled", object.class, object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceRowDeleted <- function(object.class, object, path) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_iface_row_deleted", object.class, object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceRowsReordered <- function(object.class, object, path, iter, new.order) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_tree_model_iface_rows_reordered", object.class, object, path, iter, new.order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceGetFlags <- function(object.class, object) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_iface_get_flags", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceGetNColumns <- function(object.class, object) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_iface_get_n_columns", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceGetColumnType <- function(object.class, object, index.) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") index. <- as.integer(index.) w <- .RGtkCall("S_gtk_tree_model_iface_get_column_type", object.class, object, index., PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceGetIter <- function(object.class, object, path) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_iface_get_iter", object.class, object, path, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceGetPath <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_get_path", object.class, object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceGetValue <- function(object.class, object, iter, column) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_model_iface_get_value", object.class, object, iter, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceIterNext <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_iter_next", object.class, object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceIterChildren <- function(object.class, object, parent) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(parent, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_iter_children", object.class, object, parent, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceIterHasChild <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_iter_has_child", object.class, object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceIterNChildren <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_iter_n_children", object.class, object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceIterNthChild <- function(object.class, object, parent, n) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(parent, "GtkTreeIter") n <- as.integer(n) w <- .RGtkCall("S_gtk_tree_model_iface_iter_nth_child", object.class, object, parent, n, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceIterParent <- function(object.class, object, child) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(child, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_iter_parent", object.class, object, child, PACKAGE = "RGtk2") return(w) } gtkTreeModelIfaceRefNode <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_ref_node", object.class, object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelIfaceUnrefNode <- function(object.class, object, iter) { checkPtrType(object.class, "GtkTreeModelIface") checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iface_unref_node", object.class, object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTreeSelectionClass") checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableIfaceSortColumnChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_iface_sort_column_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableIfaceGetSortColumnId <- function(object.class, object) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_iface_get_sort_column_id", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeSortableIfaceSetSortColumnId <- function(object.class, object, sort.column.id, order) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") sort.column.id <- as.integer(sort.column.id) w <- .RGtkCall("S_gtk_tree_sortable_iface_set_sort_column_id", object.class, object, sort.column.id, order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableIfaceSetSortFunc <- function(object.class, object, sort.column.id, func, data) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") sort.column.id <- as.integer(sort.column.id) func <- as.function(func) w <- .RGtkCall("S_gtk_tree_sortable_iface_set_sort_func", object.class, object, sort.column.id, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableIfaceSetDefaultSortFunc <- function(object.class, object, func, data) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_sortable_iface_set_default_sort_func", object.class, object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableIfaceHasDefaultSortFunc <- function(object.class, object) { checkPtrType(object.class, "GtkTreeSortableIface") checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_iface_has_default_sort_func", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_tree_view_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassRowActivated <- function(object.class, object, path, column) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_class_row_activated", object.class, object, path, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassTestExpandRow <- function(object.class, object, iter, path) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(iter, "GtkTreeIter") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_class_test_expand_row", object.class, object, iter, path, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassTestCollapseRow <- function(object.class, object, iter, path) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(iter, "GtkTreeIter") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_class_test_collapse_row", object.class, object, iter, path, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassRowExpanded <- function(object.class, object, iter, path) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(iter, "GtkTreeIter") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_class_row_expanded", object.class, object, iter, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassRowCollapsed <- function(object.class, object, iter, path) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") checkPtrType(iter, "GtkTreeIter") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_class_row_collapsed", object.class, object, iter, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassColumnsChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_columns_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassCursorChanged <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_cursor_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewClassMoveCursor <- function(object.class, object, step, count) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") count <- as.integer(count) w <- .RGtkCall("S_gtk_tree_view_class_move_cursor", object.class, object, step, count, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassSelectAll <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_select_all", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassUnselectAll <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_unselect_all", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassSelectCursorRow <- function(object.class, object, start.editing) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") start.editing <- as.logical(start.editing) w <- .RGtkCall("S_gtk_tree_view_class_select_cursor_row", object.class, object, start.editing, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassToggleCursorRow <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_toggle_cursor_row", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassExpandCollapseCursorRow <- function(object.class, object, logical, expand, open.all) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") logical <- as.logical(logical) expand <- as.logical(expand) open.all <- as.logical(open.all) w <- .RGtkCall("S_gtk_tree_view_class_expand_collapse_cursor_row", object.class, object, logical, expand, open.all, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassSelectCursorParent <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_select_cursor_parent", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewClassStartInteractiveSearch <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewClass") checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_class_start_interactive_search", object.class, object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnClassClicked <- function(object.class, object) { checkPtrType(object.class, "GtkTreeViewColumnClass") checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_class_clicked", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassAddWidget <- function(object.class, object, widget) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_uimanager_class_add_widget", object.class, object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassActionsChanged <- function(object.class, object) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_uimanager_class_actions_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassConnectProxy <- function(object.class, object, action, proxy) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") checkPtrType(action, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_uimanager_class_connect_proxy", object.class, object, action, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassDisconnectProxy <- function(object.class, object, action, proxy) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") checkPtrType(action, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_uimanager_class_disconnect_proxy", object.class, object, action, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassPreActivate <- function(object.class, object, action) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_uimanager_class_pre_activate", object.class, object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassPostActivate <- function(object.class, object, action) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_uimanager_class_post_activate", object.class, object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerClassGetWidget <- function(object.class, object, path) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") path <- as.character(path) w <- .RGtkCall("S_gtk_uimanager_class_get_widget", object.class, object, path, PACKAGE = "RGtk2") return(w) } gtkUIManagerClassGetAction <- function(object.class, object, path) { checkPtrType(object.class, "GtkUIManagerClass") checkPtrType(object, "GtkUIManager") path <- as.character(path) w <- .RGtkCall("S_gtk_uimanager_class_get_action", object.class, object, path, PACKAGE = "RGtk2") return(w) } gtkViewportClassSetScrollAdjustments <- function(object.class, object, hadjustment, vadjustment) { checkPtrType(object.class, "GtkViewportClass") checkPtrType(object, "GtkViewport") checkPtrType(hadjustment, "GtkAdjustment") checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_viewport_class_set_scroll_adjustments", object.class, object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDispatchChildPropertiesChanged <- function(object.class, object, pspecs) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") pspecs <- lapply(pspecs, function(x) { x <- as.GParamSpec(x); x }) w <- .RGtkCall("S_gtk_widget_class_dispatch_child_properties_changed", object.class, object, pspecs, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassShow <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_show", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassShowAll <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_show_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassHide <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_hide", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassHideAll <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_hide_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassMap <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_map", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassUnmap <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_unmap", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassRealize <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_realize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassUnrealize <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_unrealize", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassSizeRequest <- function(object.class, object, requisition) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(requisition, "GtkRequisition") w <- .RGtkCall("S_gtk_widget_class_size_request", object.class, object, requisition, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassSizeAllocate <- function(object.class, object, allocation) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") allocation <- as.GtkAllocation(allocation) w <- .RGtkCall("S_gtk_widget_class_size_allocate", object.class, object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassStateChanged <- function(object.class, object, previous.state) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_state_changed", object.class, object, previous.state, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassParentSet <- function(object.class, object, previous.parent) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(previous.parent, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_parent_set", object.class, object, previous.parent, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassHierarchyChanged <- function(object.class, object, previous.toplevel) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(previous.toplevel, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_hierarchy_changed", object.class, object, previous.toplevel, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassStyleSet <- function(object.class, object, previous.style) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(previous.style, "GtkStyle") w <- .RGtkCall("S_gtk_widget_class_style_set", object.class, object, previous.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDirectionChanged <- function(object.class, object, previous.direction) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_direction_changed", object.class, object, previous.direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassGrabNotify <- function(object.class, object, was.grabbed) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") was.grabbed <- as.logical(was.grabbed) w <- .RGtkCall("S_gtk_widget_class_grab_notify", object.class, object, was.grabbed, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassChildNotify <- function(object.class, object, pspec) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_widget_class_child_notify", object.class, object, pspec, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassMnemonicActivate <- function(object.class, object, group.cycling) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") group.cycling <- as.logical(group.cycling) w <- .RGtkCall("S_gtk_widget_class_mnemonic_activate", object.class, object, group.cycling, PACKAGE = "RGtk2") return(w) } gtkWidgetClassGrabFocus <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_grab_focus", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassFocus <- function(object.class, object, direction) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_focus", object.class, object, direction, PACKAGE = "RGtk2") return(w) } gtkWidgetClassEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_widget_class_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassButtonPressEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventButton") w <- .RGtkCall("S_gtk_widget_class_button_press_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassButtonReleaseEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventButton") w <- .RGtkCall("S_gtk_widget_class_button_release_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassScrollEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventScroll") w <- .RGtkCall("S_gtk_widget_class_scroll_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassMotionNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventMotion") w <- .RGtkCall("S_gtk_widget_class_motion_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassDeleteEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventAny") w <- .RGtkCall("S_gtk_widget_class_delete_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassDestroyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventAny") w <- .RGtkCall("S_gtk_widget_class_destroy_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassExposeEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventExpose") w <- .RGtkCall("S_gtk_widget_class_expose_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassKeyPressEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_widget_class_key_press_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassKeyReleaseEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_widget_class_key_release_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassEnterNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventCrossing") w <- .RGtkCall("S_gtk_widget_class_enter_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassLeaveNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventCrossing") w <- .RGtkCall("S_gtk_widget_class_leave_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassConfigureEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventConfigure") w <- .RGtkCall("S_gtk_widget_class_configure_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassFocusInEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventFocus") w <- .RGtkCall("S_gtk_widget_class_focus_in_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassFocusOutEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventFocus") w <- .RGtkCall("S_gtk_widget_class_focus_out_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassMapEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventAny") w <- .RGtkCall("S_gtk_widget_class_map_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassUnmapEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventAny") w <- .RGtkCall("S_gtk_widget_class_unmap_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassPropertyNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventProperty") w <- .RGtkCall("S_gtk_widget_class_property_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassSelectionClearEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventSelection") w <- .RGtkCall("S_gtk_widget_class_selection_clear_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassSelectionRequestEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventSelection") w <- .RGtkCall("S_gtk_widget_class_selection_request_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassSelectionNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventSelection") w <- .RGtkCall("S_gtk_widget_class_selection_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassProximityInEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventProximity") w <- .RGtkCall("S_gtk_widget_class_proximity_in_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassProximityOutEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventProximity") w <- .RGtkCall("S_gtk_widget_class_proximity_out_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassVisibilityNotifyEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventVisibility") w <- .RGtkCall("S_gtk_widget_class_visibility_notify_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassClientEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventClient") w <- .RGtkCall("S_gtk_widget_class_client_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassNoExposeEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventAny") w <- .RGtkCall("S_gtk_widget_class_no_expose_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassWindowStateEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventWindowState") w <- .RGtkCall("S_gtk_widget_class_window_state_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetClassSelectionGet <- function(object.class, object, selection.data, info, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(selection.data, "GtkSelectionData") info <- as.numeric(info) time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_selection_get", object.class, object, selection.data, info, time., PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassSelectionReceived <- function(object.class, object, selection.data, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(selection.data, "GtkSelectionData") time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_selection_received", object.class, object, selection.data, time., PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragBegin <- function(object.class, object, context) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") w <- .RGtkCall("S_gtk_widget_class_drag_begin", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragEnd <- function(object.class, object, context) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") w <- .RGtkCall("S_gtk_widget_class_drag_end", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragDataGet <- function(object.class, object, context, selection.data, info, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") checkPtrType(selection.data, "GtkSelectionData") info <- as.numeric(info) time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_drag_data_get", object.class, object, context, selection.data, info, time., PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragDataDelete <- function(object.class, object, context) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") w <- .RGtkCall("S_gtk_widget_class_drag_data_delete", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragLeave <- function(object.class, object, context, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_drag_leave", object.class, object, context, time., PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassDragMotion <- function(object.class, object, context, x, y, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") x <- as.integer(x) y <- as.integer(y) time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_drag_motion", object.class, object, context, x, y, time., PACKAGE = "RGtk2") return(w) } gtkWidgetClassDragDrop <- function(object.class, object, context, x, y, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") x <- as.integer(x) y <- as.integer(y) time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_drag_drop", object.class, object, context, x, y, time., PACKAGE = "RGtk2") return(w) } gtkWidgetClassDragDataReceived <- function(object.class, object, context, x, y, selection.data, info, time.) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") x <- as.integer(x) y <- as.integer(y) checkPtrType(selection.data, "GtkSelectionData") info <- as.numeric(info) time. <- as.numeric(time.) w <- .RGtkCall("S_gtk_widget_class_drag_data_received", object.class, object, context, x, y, selection.data, info, time., PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassPopupMenu <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_popup_menu", object.class, object, PACKAGE = "RGtk2") return(w) } gtkWidgetClassShowHelp <- function(object.class, object, help.type) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_show_help", object.class, object, help.type, PACKAGE = "RGtk2") return(w) } gtkWidgetClassGetAccessible <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_get_accessible", object.class, object, PACKAGE = "RGtk2") return(w) } gtkWidgetClassScreenChanged <- function(object.class, object, previous.screen) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(previous.screen, "GdkScreen") w <- .RGtkCall("S_gtk_widget_class_screen_changed", object.class, object, previous.screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassCanActivateAccel <- function(object.class, object, signal.id) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") signal.id <- as.numeric(signal.id) w <- .RGtkCall("S_gtk_widget_class_can_activate_accel", object.class, object, signal.id, PACKAGE = "RGtk2") return(w) } gtkWidgetClassGrabBrokenEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventGrabBroken") w <- .RGtkCall("S_gtk_widget_class_grab_broken_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWindowClassSetFocus <- function(object.class, object, focus) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") checkPtrType(focus, "GtkWidget") w <- .RGtkCall("S_gtk_window_class_set_focus", object.class, object, focus, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowClassFrameEvent <- function(object.class, object, event) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_window_class_frame_event", object.class, object, event, PACKAGE = "RGtk2") return(w) } gtkWindowClassActivateFocus <- function(object.class, object) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_class_activate_focus", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowClassActivateDefault <- function(object.class, object) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_class_activate_default", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowClassMoveFocus <- function(object.class, object, direction) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_class_move_focus", object.class, object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowClassKeysChanged <- function(object.class, object) { checkPtrType(object.class, "GtkWindowClass") checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_class_keys_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantClassPrepare <- function(object.class, object, page) { checkPtrType(object.class, "GtkAssistantClass") checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_class_prepare", object.class, object, page, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantClassApply <- function(object.class, object) { checkPtrType(object.class, "GtkAssistantClass") checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_class_apply", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantClassClose <- function(object.class, object) { checkPtrType(object.class, "GtkAssistantClass") checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_class_close", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantClassCancel <- function(object.class, object) { checkPtrType(object.class, "GtkAssistantClass") checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_class_cancel", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererAccelClassAccelEdited <- function(object.class, object, path.string, accel.key, accel.mods, hardware.keycode) { checkPtrType(object.class, "GtkCellRendererAccelClass") checkPtrType(object, "GtkCellRendererAccel") path.string <- as.character(path.string) accel.key <- as.numeric(accel.key) hardware.keycode <- as.numeric(hardware.keycode) w <- .RGtkCall("S_gtk_cell_renderer_accel_class_accel_edited", object.class, object, path.string, accel.key, accel.mods, hardware.keycode, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererAccelClassAccelCleared <- function(object.class, object, path.string) { checkPtrType(object.class, "GtkCellRendererAccelClass") checkPtrType(object, "GtkCellRendererAccel") path.string <- as.character(path.string) w <- .RGtkCall("S_gtk_cell_renderer_accel_class_accel_cleared", object.class, object, path.string, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookClassReorderTab <- function(object.class, object, direction, move.to.last) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") move.to.last <- as.logical(move.to.last) w <- .RGtkCall("S_gtk_notebook_class_reorder_tab", object.class, object, direction, move.to.last, PACKAGE = "RGtk2") return(w) } gtkNotebookClassInsertPage <- function(object.class, object, child, tab.label, menu.label, position) { checkPtrType(object.class, "GtkNotebookClass") checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") checkPtrType(tab.label, "GtkWidget") checkPtrType(menu.label, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_notebook_class_insert_page", object.class, object, child, tab.label, menu.label, position, PACKAGE = "RGtk2") return(w) } gtkPrintOperationClassDone <- function(object.class, object, result) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_class_done", object.class, object, result, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassBeginPrint <- function(object.class, object, context) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(context, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_operation_class_begin_print", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassPaginate <- function(object.class, object, context) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(context, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_operation_class_paginate", object.class, object, context, PACKAGE = "RGtk2") return(w) } gtkPrintOperationClassRequestPageSetup <- function(object.class, object, context, page.nr, setup) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(context, "GtkPrintContext") page.nr <- as.integer(page.nr) checkPtrType(setup, "GtkPageSetup") w <- .RGtkCall("S_gtk_print_operation_class_request_page_setup", object.class, object, context, page.nr, setup, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassDrawPage <- function(object.class, object, context, page.nr) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(context, "GtkPrintContext") page.nr <- as.integer(page.nr) w <- .RGtkCall("S_gtk_print_operation_class_draw_page", object.class, object, context, page.nr, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassEndPrint <- function(object.class, object, context) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(context, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_operation_class_end_print", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassStatusChanged <- function(object.class, object) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_class_status_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassCreateCustomWidget <- function(object.class, object) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_class_create_custom_widget", object.class, object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationClassCustomWidgetApply <- function(object.class, object, widget) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_print_operation_class_custom_widget_apply", object.class, object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationClassPreview <- function(object.class, object, preview, context, parent) { checkPtrType(object.class, "GtkPrintOperationClass") checkPtrType(object, "GtkPrintOperation") checkPtrType(preview, "GtkPrintOperationPreview") checkPtrType(context, "GtkPrintContext") checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_print_operation_class_preview", object.class, object, preview, context, parent, PACKAGE = "RGtk2") return(w) } gtkPrintOperationPreviewClassReady <- function(object.class, object, context) { checkPtrType(object.class, "GtkPrintOperationPreviewClass") checkPtrType(object, "GtkPrintOperationPreview") checkPtrType(context, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_operation_preview_class_ready", object.class, object, context, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationPreviewClassGotPageSize <- function(object.class, object, context, page.setup) { checkPtrType(object.class, "GtkPrintOperationPreviewClass") checkPtrType(object, "GtkPrintOperationPreview") checkPtrType(context, "GtkPrintContext") checkPtrType(page.setup, "GtkPageSetup") w <- .RGtkCall("S_gtk_print_operation_preview_class_got_page_size", object.class, object, context, page.setup, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationPreviewClassRenderPage <- function(object.class, object, page.nr) { checkPtrType(object.class, "GtkPrintOperationPreviewClass") checkPtrType(object, "GtkPrintOperationPreview") page.nr <- as.integer(page.nr) w <- .RGtkCall("S_gtk_print_operation_preview_class_render_page", object.class, object, page.nr, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationPreviewClassIsSelected <- function(object.class, object, page.nr) { checkPtrType(object.class, "GtkPrintOperationPreviewClass") checkPtrType(object, "GtkPrintOperationPreview") page.nr <- as.integer(page.nr) w <- .RGtkCall("S_gtk_print_operation_preview_class_is_selected", object.class, object, page.nr, PACKAGE = "RGtk2") return(w) } gtkPrintOperationPreviewClassEndPreview <- function(object.class, object) { checkPtrType(object.class, "GtkPrintOperationPreviewClass") checkPtrType(object, "GtkPrintOperationPreview") w <- .RGtkCall("S_gtk_print_operation_preview_class_end_preview", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassSetCurrentUri <- function(object.class, object, uri, .errwarn = TRUE) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_class_set_current_uri", object.class, object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentChooserClassGetCurrentUri <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_get_current_uri", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserClassSelectUri <- function(object.class, object, uri, .errwarn = TRUE) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_class_select_uri", object.class, object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentChooserClassUnselectUri <- function(object.class, object, uri) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_class_unselect_uri", object.class, object, uri, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassSelectAll <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_select_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassUnselectAll <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_unselect_all", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassGetItems <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_get_items", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserClassGetRecentManager <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_get_recent_manager", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserClassAddFilter <- function(object.class, object, filter) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") checkPtrType(filter, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_chooser_class_add_filter", object.class, object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassRemoveFilter <- function(object.class, object, filter) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") checkPtrType(filter, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_chooser_class_remove_filter", object.class, object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassListFilters <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_list_filters", object.class, object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserClassSetSortFunc <- function(object.class, object, sort.func, data) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") sort.func <- as.function(sort.func) w <- .RGtkCall("S_gtk_recent_chooser_class_set_sort_func", object.class, object, sort.func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassItemActivated <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_item_activated", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserClassSelectionChanged <- function(object.class, object) { checkPtrType(object.class, "GtkRecentChooserClass") checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_class_selection_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentManagerClassChanged <- function(object.class, object) { checkPtrType(object.class, "GtkRecentManagerClass") checkPtrType(object, "GtkRecentManager") w <- .RGtkCall("S_gtk_recent_manager_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonClassWrapped <- function(object.class, object) { checkPtrType(object.class, "GtkSpinButtonClass") checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_class_wrapped", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconClassActivate <- function(object.class, object) { checkPtrType(object.class, "GtkStatusIconClass") checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_class_activate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconClassPopupMenu <- function(object.class, object, button, activate.time) { checkPtrType(object.class, "GtkStatusIconClass") checkPtrType(object, "GtkStatusIcon") button <- as.numeric(button) activate.time <- as.numeric(activate.time) w <- .RGtkCall("S_gtk_status_icon_class_popup_menu", object.class, object, button, activate.time, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconClassSizeChanged <- function(object.class, object, size) { checkPtrType(object.class, "GtkStatusIconClass") checkPtrType(object, "GtkStatusIcon") size <- as.integer(size) w <- .RGtkCall("S_gtk_status_icon_class_size_changed", object.class, object, size, PACKAGE = "RGtk2") return(w) } gtkWidgetClassCompositedChanged <- function(object.class, object) { checkPtrType(object.class, "GtkWidgetClass") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_composited_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceSetName <- function(object.class, object, name) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_iface_set_name", object.class, object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceGetName <- function(object.class, object) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") w <- .RGtkCall("S_gtk_buildable_iface_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } gtkBuildableIfaceAddChild <- function(object.class, object, builder, child, type) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") type <- as.character(type) w <- .RGtkCall("S_gtk_buildable_iface_add_child", object.class, object, builder, child, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceSetBuildableProperty <- function(object.class, object, builder, name, value) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_iface_set_buildable_property", object.class, object, builder, name, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceConstructChild <- function(object.class, object, builder, name) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_iface_construct_child", object.class, object, builder, name, PACKAGE = "RGtk2") return(w) } gtkBuildableIfaceCustomTagStart <- function(object.class, object, builder, child, tagname, parser) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) checkPtrType(parser, "GMarkupParser") w <- .RGtkCall("S_gtk_buildable_iface_custom_tag_start", object.class, object, builder, child, tagname, parser, PACKAGE = "RGtk2") return(w) } gtkBuildableIfaceCustomTagEnd <- function(object.class, object, builder, child, tagname) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) w <- .RGtkCall("S_gtk_buildable_iface_custom_tag_end", object.class, object, builder, child, tagname, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceCustomFinished <- function(object.class, object, builder, child, tagname, data) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) w <- .RGtkCall("S_gtk_buildable_iface_custom_finished", object.class, object, builder, child, tagname, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceParserFinished <- function(object.class, object, builder) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") w <- .RGtkCall("S_gtk_buildable_iface_parser_finished", object.class, object, builder, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableIfaceGetInternalChild <- function(object.class, object, builder, childname) { checkPtrType(object.class, "GtkBuildableIface") checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") childname <- as.character(childname) w <- .RGtkCall("S_gtk_buildable_iface_get_internal_child", object.class, object, builder, childname, PACKAGE = "RGtk2") return(w) } gtkBuilderClassGetTypeFromName <- function(object.class, object, type.name) { checkPtrType(object.class, "GtkBuilderClass") checkPtrType(object, "GtkBuilder") type.name <- as.character(type.name) w <- .RGtkCall("S_gtk_builder_class_get_type_from_name", object.class, object, type.name, PACKAGE = "RGtk2") return(w) } gtkToolShellIfaceGetIconSize <- function(object.class, object) { checkPtrType(object.class, "GtkToolShellIface") checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_iface_get_icon_size", object.class, object, PACKAGE = "RGtk2") return(w) } gtkToolShellIfaceGetOrientation <- function(object.class, object) { checkPtrType(object.class, "GtkToolShellIface") checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_iface_get_orientation", object.class, object, PACKAGE = "RGtk2") return(w) } gtkToolShellIfaceGetStyle <- function(object.class, object) { checkPtrType(object.class, "GtkToolShellIface") checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_iface_get_style", object.class, object, PACKAGE = "RGtk2") return(w) } gtkToolShellIfaceGetReliefStyle <- function(object.class, object) { checkPtrType(object.class, "GtkToolShellIface") checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_iface_get_relief_style", object.class, object, PACKAGE = "RGtk2") return(w) } gtkToolShellIfaceRebuildMenu <- function(object.class, object) { checkPtrType(object.class, "GtkToolShellIface") checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_iface_rebuild_menu", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActivatableIfaceUpdate <- function(object.class, object, action, property.name) { checkPtrType(object.class, "GtkActivatableIface") checkPtrType(object, "GtkActivatable") checkPtrType(action, "GtkAction") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_activatable_iface_update", object.class, object, action, property.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkActivatableIfaceSyncActionProperties <- function(object.class, object, action) { checkPtrType(object.class, "GtkActivatableIface") checkPtrType(object, "GtkActivatable") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_activatable_iface_sync_action_properties", object.class, object, action, PACKAGE = "RGtk2") return(invisible(w)) }RGtk2/R/zcompat.R0000644000176000001440000001054111766145227013250 0ustar ripleyusers# wrappers for RGtk1 functions to RGtk2 # containers gtkChildren <- gtkContainerGetChildren gtkParent <- gtkWidgetGetParent # gdk manuals gdkGetWindowSize <- function(w) { geom <- gdkWindowGetGeometry(w) c(geom["width"], geom["height"]) } # signals gtkObjectSignalEmit <- function(obj, signal, ...) gSignalEmit(obj, signal, ...) gtkObjectGetSignals <- gObjectGetSignals gtkTypeGetSignals <- gTypeGetSignals .GtkClasses <- "GtkWidget" getSignalInfo <- function(classes = .GtkClasses, load = TRUE) { sapply(classes, function(type) sapply(gtkTypeGetSignals(type), gtkSignalGetInfo)) } gtkSignalGetInfo <- gSignalGetInfo # args gtkObjectGetArgInfo <- gObjectGetPropInfo gtkObjectGetArgs <- function(obj, argNames) obj$get(argNames) gtkObjectGetArg <- function(obj, argName) { props <- obj$get(argName) if (!is.null(props)) props <- props[[1]] props } gtkObjectSetArgs <- function(obj, ..., .vals) obj$set(..., .vals) names.GtkObject <- names.GObject # dnd gtkTargetEntry <- gtkTargetEntryNew <- function(target, flags, info) as.GtkTargetEntry(list(target, flags, info)) # gtk text stuff ---- not supported! gtkTextGetText <- function(w) gtkEditableGetChars(w, 0, -1) gtkTextClearText <- function(w, start = 0, end = -1) gtkEditableDeleteText(w, start, end) gtkTextSetText <- function(w, contents="", append=FALSE) { if (append) pos <- nchar(gtkTextGetText(w)) else { gtkTextClearText(w) pos <- 0 } gtkEditableInsertText(w, contents, pos) } # flags gtkWidgetGetFlags <- function(w) gtkObjectFlags(w) # this function should not be necessary in well-structured code findWidgetByType <- # # Recursively search a widget tree for the first occurence of # a widget of the specified type. # function(win, gtkType = "GtkMenuBar", verbose = FALSE) { if(verbose) print(class(win)) if(is.function(gtkType)) { if(gtkType(win)) return(win) } else if(as.character(gtkType) %in% class(win)) { return(win) } if("GtkContainer" %in% class(win)) { for(i in win$GetChildren()) { tmp <- findWidgetByType(i, gtkType, verbose = verbose) if(!is.null(tmp)) return(tmp) } } return(NULL) } # CList convenience access - note that this widget is deprecated gtkCListGetText <- function(w, row, cols, zeroBased = TRUE) { checkPtrType(w, "GtkCList") if(missing(cols) && is.matrix(row) && ncol(row) == 2) which = row else which = cbind(row, cols) if(!zeroBased) which <- which - 1 storage.mode(which) <- "integer" .Call("R_gtkCListGetText", w, as.integer(t(which)), PACKAGE = "RGtk2") } gtkCListSetText <- function(w, row, cols, values, zeroBased = TRUE) { checkPtrType(w, "GtkCList") if(missing(cols) && is.matrix(row) && ncol(row) == 2) which = row else which = cbind(row, cols) if(!zeroBased) which <- which - 1 storage.mode(which) <- "integer" values <- rep(as.character(values), length = nrow(which)) invisible(.Call("R_gtkCListSetText", w, which, values, PACKAGE = "RGtk2")) } # types gtkObjectGetTypeName <- function(w) { checkPtrType(w, "GtkObject") class(w)[1] } gtkObjectGetClasses <- function(w, check = TRUE) { if(check) checkPtrType(w, "GtkObject") class(w) } gtkTypeGetClasses <- gTypeGetAncestors gtkObjectGetType <- function(w, check = TRUE) { if(check) checkPtrType(w, "GtkObject") as.GType(class(w)[1]) } gtkGetType <- function(name) as.GType(name) # widgets gtkTopWindow <- function(title="My Window", show = TRUE) { window <- gtkWindowNew("toplevel", show = show) window$setTitle(title) window } gtkAdd <- function(parent, ...) { widgets <- list(...) if(length(widgets) == 0) stop("No widgets to add to parent") if(!all(sapply(widgets, checkPtrType, "GtkWidget"))) { stop("Non widget objects passed to gtkAdd()") } sapply(widgets, function(widget) parent$add(widget)) } gtkShow <- function(..., all=T) { widgets <- list(...) func <- gtkWidgetShow if (all) func <- gtkWidgetShowAll sapply(widgets, func) } gtkAddCallback <- gtkObjectAddCallback <- function(w, signal, f, data = NULL, object = TRUE, after = TRUE) gSignalConnect(w, signal, f, data, after, object) gtkObjectRemoveCallback <- gtkObjectDisconnectCallback <- gSignalHandlerDisconnect gtkObjectBlockCallback <- gSignalHandlerBlock gtkObjectUnblockCallback <- gSignalHandlerUnblock gtkAddTimeout <- gTimeoutAdd gtkRemoveTimeout <- gtkRemoveIdle <- gSourceRemove gtkAddIdle <- gIdleAdd RGtk2/R/gioVirtuals.R0000644000176000001440000032143712362217673014112 0ustar ripleyusersif(!exists('.virtuals')) .virtuals <- new.env() assign("GAppInfo", c("dup", "equal", "get_id", "get_name", "get_description", "get_executable", "get_icon", "launch", "supports_uris", "supports_files", "launch_uris", "should_show", "set_as_default_for_type", "set_as_default_for_extension", "add_supports_type", "can_remove_supports_type", "remove_supports_type", "get_commandline"), .virtuals) assign("GAppLaunchContext", c("get_display", "get_startup_notify_id", "launch_failed"), .virtuals) assign("GAsyncResult", c("get_user_data", "get_source_object"), .virtuals) assign("GBufferedInputStream", c("fill", "fill_async", "fill_finish"), .virtuals) assign("GDrive", c("get_name", "get_icon", "has_volumes", "get_volumes", "is_media_removable", "has_media", "is_media_check_automatic", "can_poll_for_media", "can_eject", "eject", "eject_finish", "poll_for_media", "poll_for_media_finish", "get_identifier", "enumerate_identifiers", "get_start_stop_type", "start", "start_finish", "stop", "stop_finish", "can_start", "can_start_degraded", "can_stop", "eject_with_operation", "eject_with_operation_finish"), .virtuals) assign("GFileEnumerator", c("next_file", "close_fn", "next_files_async", "next_files_finish", "close_async", "close_finish"), .virtuals) assign("GFile", c("dup", "equal", "get_basename", "get_path", "get_uri", "get_parse_name", "get_parent", "get_child_for_display_name", "prefix_matches", "get_relative_path", "resolve_relative_path", "is_native", "has_uri_scheme", "get_uri_scheme", "read_fn", "read_async", "read_finish", "append_to", "create", "replace", "append_to_async", "append_to_finish", "create_async", "create_finish", "replace_async", "replace_finish", "query_info", "query_info_async", "query_info_finish", "query_filesystem_info", "query_filesystem_info_async", "query_filesystem_info_finish", "find_enclosing_mount", "find_enclosing_mount_async", "find_enclosing_mount_finish", "enumerate_children", "enumerate_children_async", "enumerate_children_finish", "set_display_name", "set_display_name_async", "set_display_name_finish", "delete_file", "trash", "copy", "copy_async", "copy_finish", "move", "make_directory", "make_symbolic_link", "query_settable_attributes", "query_writable_namespaces", "set_attribute", "set_attributes_from_info", "set_attributes_async", "set_attributes_finish", "mount_enclosing_volume", "mount_enclosing_volume_finish", "mount_mountable", "mount_mountable_finish", "unmount_mountable", "unmount_mountable_finish", "eject_mountable", "eject_mountable_finish", "monitor_dir", "monitor_file", "create_readwrite", "create_readwrite_async", "create_readwrite_finish", "eject_mountable_with_operation", "eject_mountable_with_operation_finish", "open_readwrite", "open_readwrite_async", "open_readwrite_finish", "poll_mountable", "poll_mountable_finish", "replace_readwrite", "replace_readwrite_async", "replace_readwrite_finish", "start_mountable", "start_mountable_finish", "stop_mountable", "stop_mountable_finish", "unmount_mountable_with_operation", "unmount_mountable_with_operation_finish"), .virtuals) assign("GFileInputStream", c("query_info", "query_info_async", "query_info_finish"), .virtuals) assign("GFileMonitor", c("cancel"), .virtuals) assign("GFileOutputStream", c("query_info", "query_info_async", "query_info_finish", "get_etag"), .virtuals) assign("GIcon", c("hash", "equal"), .virtuals) assign("GInputStream", c("skip", "close_fn", "read_finish", "skip_async", "skip_finish", "close_async", "close_finish"), .virtuals) assign("GLoadableIcon", c("load", "load_async", "load_finish"), .virtuals) assign("GMount", c("get_root", "get_name", "get_icon", "get_uuid", "get_volume", "get_drive", "can_unmount", "can_eject", "unmount", "unmount_finish", "eject", "eject_finish", "remount", "remount_finish", "guess_content_type", "guess_content_type_finish", "guess_content_type_sync", "unmount_with_operation", "unmount_with_operation_finish", "eject_with_operation", "eject_with_operation_finish"), .virtuals) assign("GOutputStream", c("write_fn", "splice", "flush", "close_fn", "write_async", "write_finish", "splice_async", "splice_finish", "flush_async", "flush_finish", "close_async", "close_finish"), .virtuals) assign("GSeekable", c("tell", "can_seek", "seek", "can_truncate", "truncate_fn"), .virtuals) assign("GVfs", c("is_active", "get_file_for_path", "get_file_for_uri", "parse_name", "get_supported_uri_schemes"), .virtuals) assign("GVolume", c("get_name", "get_icon", "get_uuid", "get_drive", "get_mount", "can_mount", "can_eject", "should_automount", "mount_fn", "mount_finish", "eject", "eject_finish", "get_identifier", "enumerate_identifiers", "get_activation_root", "eject_with_operation", "eject_with_operation_finish"), .virtuals) assign("GVolumeMonitor", c("get_connected_drives", "get_volumes", "get_mounts", "get_volume_for_uuid", "get_mount_for_uuid"), .virtuals) assign("GAsyncInitable", c("init_async", "init_finish"), .virtuals) assign("GFileIOStream", c("query_info", "query_info_async", "query_info_finish", "get_etag"), .virtuals) assign("GInetAddress", c("to_string", "to_bytes"), .virtuals) assign("GInitable", c("init"), .virtuals) assign("GIOStream", c("get_input_stream", "get_output_stream", "close_fn", "close_async", "close_finish"), .virtuals) assign("GResolver", c("lookup_by_name", "lookup_by_name_async", "lookup_by_name_finish", "lookup_by_address", "lookup_by_address_async", "lookup_by_address_finish", "lookup_service", "lookup_service_async", "lookup_service_finish"), .virtuals) assign("GSocketAddressEnumerator", c("next", "next_async", "next_finish"), .virtuals) assign("GSocketAddress", c("get_family", "to_native", "get_native_size"), .virtuals) assign("GSocketConnectable", c("enumerate"), .virtuals) assign("GSocketControlMessage", c("get_size", "get_level", "get_type", "serialize"), .virtuals) assign("GSocketListener", c("changed"), .virtuals) gAppInfoIfaceDup <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_dup", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceEqual <- function(object.class, object, appinfo2) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") checkPtrType(appinfo2, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_equal", object.class, object, appinfo2, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetId <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_id", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetName <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetDescription <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_description", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetExecutable <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_executable", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetIcon <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_icon", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceLaunch <- function(object.class, object, files, launch.context, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") files <- lapply(files, function(x) { x <- as.GList(x); x }) checkPtrType(launch.context, "GAppLaunchContext") w <- .RGtkCall("S_gapp_info_iface_launch", object.class, object, files, launch.context, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoIfaceSupportsUris <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_supports_uris", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceSupportsFiles <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_supports_files", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceLaunchUris <- function(object.class, object, uris, launch.context, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") uris <- lapply(uris, function(x) { x <- as.GList(x); x }) checkPtrType(launch.context, "GAppLaunchContext") w <- .RGtkCall("S_gapp_info_iface_launch_uris", object.class, object, uris, launch.context, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoIfaceShouldShow <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_should_show", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceSetAsDefaultForType <- function(object.class, object, content.type, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_gapp_info_iface_set_as_default_for_type", object.class, object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoIfaceSetAsDefaultForExtension <- function(object.class, object, extension, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") extension <- as.character(extension) w <- .RGtkCall("S_gapp_info_iface_set_as_default_for_extension", object.class, object, extension, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoIfaceAddSupportsType <- function(object.class, object, content.type, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_gapp_info_iface_add_supports_type", object.class, object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppInfoIfaceCanRemoveSupportsType <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_can_remove_supports_type", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceRemoveSupportsType <- function(object.class, object, content.type, .errwarn = TRUE) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") content.type <- as.character(content.type) w <- .RGtkCall("S_gapp_info_iface_remove_supports_type", object.class, object, content.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gAppLaunchContextClassGetDisplay <- function(object.class, object, info, files) { checkPtrType(object.class, "GAppLaunchContextClass") checkPtrType(object, "GAppLaunchContext") checkPtrType(info, "GAppInfo") files <- lapply(files, function(x) { x <- as.GList(x); x }) w <- .RGtkCall("S_gapp_launch_context_class_get_display", object.class, object, info, files, PACKAGE = "RGtk2") return(w) } gAppLaunchContextClassGetStartupNotifyId <- function(object.class, object, info, files) { checkPtrType(object.class, "GAppLaunchContextClass") checkPtrType(object, "GAppLaunchContext") checkPtrType(info, "GAppInfo") files <- lapply(files, function(x) { x <- as.GList(x); x }) w <- .RGtkCall("S_gapp_launch_context_class_get_startup_notify_id", object.class, object, info, files, PACKAGE = "RGtk2") return(w) } gAppLaunchContextClassLaunchFailed <- function(object.class, object, startup.notify.id) { checkPtrType(object.class, "GAppLaunchContextClass") checkPtrType(object, "GAppLaunchContext") startup.notify.id <- as.character(startup.notify.id) w <- .RGtkCall("S_gapp_launch_context_class_launch_failed", object.class, object, startup.notify.id, PACKAGE = "RGtk2") return(invisible(w)) } gAsyncResultIfaceGetUserData <- function(object.class, object) { checkPtrType(object.class, "GAsyncResultIface") checkPtrType(object, "GAsyncResult") w <- .RGtkCall("S_gasync_result_iface_get_user_data", object.class, object, PACKAGE = "RGtk2") return(w) } gAsyncResultIfaceGetSourceObject <- function(object.class, object) { checkPtrType(object.class, "GAsyncResultIface") checkPtrType(object, "GAsyncResult") w <- .RGtkCall("S_gasync_result_iface_get_source_object", object.class, object, PACKAGE = "RGtk2") return(w) } gBufferedInputStreamClassFill <- function(object.class, object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GBufferedInputStreamClass") checkPtrType(object, "GBufferedInputStream") count <- as.integer(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gbuffered_input_stream_class_fill", object.class, object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gBufferedInputStreamClassFillAsync <- function(object.class, object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GBufferedInputStreamClass") checkPtrType(object, "GBufferedInputStream") count <- as.integer(count) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gbuffered_input_stream_class_fill_async", object.class, object, count, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gBufferedInputStreamClassFillFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GBufferedInputStreamClass") checkPtrType(object, "GBufferedInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gbuffered_input_stream_class_fill_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfaceGetName <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceGetIcon <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_get_icon", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceHasVolumes <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_has_volumes", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceGetVolumes <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_get_volumes", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceIsMediaRemovable <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_is_media_removable", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceHasMedia <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_has_media", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceIsMediaCheckAutomatic <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_is_media_check_automatic", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceCanPollForMedia <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_can_poll_for_media", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceCanEject <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_can_eject", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceEject <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gdrive_iface_eject", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveIfaceEjectFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gdrive_iface_eject_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfacePollForMedia <- function(object.class, object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gdrive_iface_poll_for_media", object.class, object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveIfacePollForMediaFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gdrive_iface_poll_for_media_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfaceGetIdentifier <- function(object.class, object, kind) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") kind <- as.character(kind) w <- .RGtkCall("S_gdrive_iface_get_identifier", object.class, object, kind, PACKAGE = "RGtk2") return(w) } gDriveIfaceEnumerateIdentifiers <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_enumerate_identifiers", object.class, object, PACKAGE = "RGtk2") return(w) } gFileEnumeratorClassNextFile <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_enumerator_class_next_file", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorClassCloseFn <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_enumerator_class_close_fn", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorClassNextFilesAsync <- function(object.class, object, num.files, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") num.files <- as.integer(num.files) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_enumerator_class_next_files_async", object.class, object, num.files, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumeratorClassNextFilesFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_enumerator_class_next_files_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileEnumeratorClassCloseAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_enumerator_class_close_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileEnumeratorClassCloseFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileEnumeratorClass") checkPtrType(object, "GFileEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_enumerator_class_close_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceDup <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_dup", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceEqual <- function(object.class, object, file2) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(file2, "GFile") w <- .RGtkCall("S_gfile_iface_equal", object.class, object, file2, PACKAGE = "RGtk2") return(w) } gFileIfaceGetBasename <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_basename", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceGetPath <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_path", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceGetUri <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_uri", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceGetParseName <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_parse_name", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceGetParent <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_parent", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceGetChildForDisplayName <- function(object.class, object, display.name, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") display.name <- as.character(display.name) w <- .RGtkCall("S_gfile_iface_get_child_for_display_name", object.class, object, display.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfacePrefixMatches <- function(object.class, object, file) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(file, "GFile") w <- .RGtkCall("S_gfile_iface_prefix_matches", object.class, object, file, PACKAGE = "RGtk2") return(w) } gFileIfaceGetRelativePath <- function(object.class, object, descendant) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(descendant, "GFile") w <- .RGtkCall("S_gfile_iface_get_relative_path", object.class, object, descendant, PACKAGE = "RGtk2") return(w) } gFileIfaceResolveRelativePath <- function(object.class, object, relative.path) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") relative.path <- as.character(relative.path) w <- .RGtkCall("S_gfile_iface_resolve_relative_path", object.class, object, relative.path, PACKAGE = "RGtk2") return(w) } gFileIfaceIsNative <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_is_native", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceHasUriScheme <- function(object.class, object, uri.scheme) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") uri.scheme <- as.character(uri.scheme) w <- .RGtkCall("S_gfile_iface_has_uri_scheme", object.class, object, uri.scheme, PACKAGE = "RGtk2") return(w) } gFileIfaceGetUriScheme <- function(object.class, object) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") w <- .RGtkCall("S_gfile_iface_get_uri_scheme", object.class, object, PACKAGE = "RGtk2") return(w) } gFileIfaceReadFn <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_read_fn", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceReadAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_read_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceReadFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_read_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceAppendTo <- function(object.class, object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_append_to", object.class, object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCreate <- function(object.class, object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_create", object.class, object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceReplace <- function(object.class, object, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_replace", object.class, object, etag, make.backup, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceAppendToAsync <- function(object.class, object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_append_to_async", object.class, object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceAppendToFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_append_to_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCreateAsync <- function(object.class, object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_create_async", object.class, object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceCreateFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_create_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceReplaceAsync <- function(object.class, object, etag, make.backup, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_replace_async", object.class, object, etag, make.backup, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceReplaceFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_replace_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQueryInfo <- function(object.class, object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_query_info", object.class, object, attributes, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQueryInfoAsync <- function(object.class, object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_query_info_async", object.class, object, attributes, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceQueryInfoFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_query_info_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQueryFilesystemInfo <- function(object.class, object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_query_filesystem_info", object.class, object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQueryFilesystemInfoAsync <- function(object.class, object, attributes, io.priority, cancellable, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_query_filesystem_info_async", object.class, object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceQueryFilesystemInfoFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_query_filesystem_info_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceFindEnclosingMount <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_find_enclosing_mount", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceFindEnclosingMountAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_find_enclosing_mount_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceFindEnclosingMountFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_find_enclosing_mount_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceEnumerateChildren <- function(object.class, object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_enumerate_children", object.class, object, attributes, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceEnumerateChildrenAsync <- function(object.class, object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_enumerate_children_async", object.class, object, attributes, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceEnumerateChildrenFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_enumerate_children_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceSetDisplayName <- function(object.class, object, display.name, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") display.name <- as.character(display.name) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_set_display_name", object.class, object, display.name, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceSetDisplayNameAsync <- function(object.class, object, display.name, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") display.name <- as.character(display.name) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_set_display_name_async", object.class, object, display.name, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceSetDisplayNameFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_set_display_name_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceDeleteFile <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_delete_file", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceTrash <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_trash", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCopy <- function(object.class, object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(destination, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) w <- .RGtkCall("S_gfile_iface_copy", object.class, object, destination, flags, cancellable, progress.callback, progress.callback.data, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCopyAsync <- function(object.class, object, destination, flags = "G_FILE_COPY_NONE", io.priority = 0, cancellable = NULL, progress.callback, progress.callback.data, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(destination, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_copy_async", object.class, object, destination, flags, io.priority, cancellable, progress.callback, progress.callback.data, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceCopyFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_copy_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMove <- function(object.class, object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(destination, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") progress.callback <- as.function(progress.callback) w <- .RGtkCall("S_gfile_iface_move", object.class, object, destination, flags, cancellable, progress.callback, progress.callback.data, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMakeDirectory <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_make_directory", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMakeSymbolicLink <- function(object.class, object, symlink.value, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") symlink.value <- as.character(symlink.value) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_make_symbolic_link", object.class, object, symlink.value, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQuerySettableAttributes <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_query_settable_attributes", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceQueryWritableNamespaces <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_query_writable_namespaces", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceSetAttribute <- function(object.class, object, attribute, type, value.p, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") attribute <- as.character(attribute) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_set_attribute", object.class, object, attribute, type, value.p, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceSetAttributesFromInfo <- function(object.class, object, info, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(info, "GFileInfo") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_set_attributes_from_info", object.class, object, info, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceSetAttributesAsync <- function(object.class, object, info, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(info, "GFileInfo") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_set_attributes_async", object.class, object, info, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceSetAttributesFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_set_attributes_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMountEnclosingVolume <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_mount_enclosing_volume", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceMountEnclosingVolumeFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_mount_enclosing_volume_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMountMountable <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_mount_mountable", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceMountMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_mount_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceUnmountMountable <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_unmount_mountable", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceUnmountMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_unmount_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceEjectMountable <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_eject_mountable", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceEjectMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_eject_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMonitorDir <- function(object.class, object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_monitor_dir", object.class, object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceMonitorFile <- function(object.class, object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_monitor_file", object.class, object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileInputStreamClassQueryInfo <- function(object.class, object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileInputStreamClass") checkPtrType(object, "GFileInputStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_input_stream_class_query_info", object.class, object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileInputStreamClassQueryInfoAsync <- function(object.class, object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileInputStreamClass") checkPtrType(object, "GFileInputStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_input_stream_class_query_info_async", object.class, object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileInputStreamClassQueryInfoFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileInputStreamClass") checkPtrType(object, "GFileInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_input_stream_class_query_info_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileMonitorClassCancel <- function(object.class, object) { checkPtrType(object.class, "GFileMonitorClass") checkPtrType(object, "GFileMonitor") w <- .RGtkCall("S_gfile_monitor_class_cancel", object.class, object, PACKAGE = "RGtk2") return(w) } gFileOutputStreamClassQueryInfo <- function(object.class, object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileOutputStreamClass") checkPtrType(object, "GFileOutputStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_output_stream_class_query_info", object.class, object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOutputStreamClassQueryInfoAsync <- function(object.class, object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileOutputStreamClass") checkPtrType(object, "GFileOutputStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_output_stream_class_query_info_async", object.class, object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileOutputStreamClassQueryInfoFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileOutputStreamClass") checkPtrType(object, "GFileOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_output_stream_class_query_info_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileOutputStreamClassGetEtag <- function(object.class, object) { checkPtrType(object.class, "GFileOutputStreamClass") checkPtrType(object, "GFileOutputStream") w <- .RGtkCall("S_gfile_output_stream_class_get_etag", object.class, object, PACKAGE = "RGtk2") return(w) } gIconIfaceHash <- function(object.class, object) { checkPtrType(object.class, "GIconIface") checkPtrType(object, "GIcon") w <- .RGtkCall("S_gicon_iface_hash", object.class, object, PACKAGE = "RGtk2") return(w) } gIconIfaceEqual <- function(object.class, object, icon2) { checkPtrType(object.class, "GIconIface") checkPtrType(object, "GIcon") checkPtrType(icon2, "GIcon") w <- .RGtkCall("S_gicon_iface_equal", object.class, object, icon2, PACKAGE = "RGtk2") return(w) } gInputStreamClassSkip <- function(object.class, object, count, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") count <- as.numeric(count) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_ginput_stream_class_skip", object.class, object, count, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClassCloseFn <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_ginput_stream_class_close_fn", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClassReadFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_ginput_stream_class_read_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClassSkipAsync <- function(object.class, object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") count <- as.numeric(count) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_ginput_stream_class_skip_async", object.class, object, count, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gInputStreamClassSkipFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_ginput_stream_class_skip_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gInputStreamClassCloseAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_ginput_stream_class_close_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gInputStreamClassCloseFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GInputStreamClass") checkPtrType(object, "GInputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_ginput_stream_class_close_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gLoadableIconIfaceLoad <- function(object.class, object, size, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GLoadableIconIface") checkPtrType(object, "GLoadableIcon") size <- as.integer(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gloadable_icon_iface_load", object.class, object, size, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gLoadableIconIfaceLoadAsync <- function(object.class, object, size, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GLoadableIconIface") checkPtrType(object, "GLoadableIcon") size <- as.integer(size) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gloadable_icon_iface_load_async", object.class, object, size, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gLoadableIconIfaceLoadFinish <- function(object.class, object, res, type, .errwarn = TRUE) { checkPtrType(object.class, "GLoadableIconIface") checkPtrType(object, "GLoadableIcon") checkPtrType(res, "GAsyncResult") type <- as.list(as.character(type)) w <- .RGtkCall("S_gloadable_icon_iface_load_finish", object.class, object, res, type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceGetRoot <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_root", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceGetName <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceGetIcon <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_icon", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceGetUuid <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_uuid", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceGetVolume <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_volume", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceGetDrive <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_get_drive", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceCanUnmount <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_can_unmount", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceCanEject <- function(object.class, object) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") w <- .RGtkCall("S_gmount_iface_can_eject", object.class, object, PACKAGE = "RGtk2") return(w) } gMountIfaceUnmount <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_unmount", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceUnmountFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_unmount_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceEject <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_eject", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceEjectFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_eject_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceRemount <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_remount", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceRemountFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_remount_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassWriteFn <- function(object.class, object, buffer, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") buffer <- as.list(as.raw(buffer)) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_goutput_stream_class_write_fn", object.class, object, buffer, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassSplice <- function(object.class, object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(source, "GInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_goutput_stream_class_splice", object.class, object, source, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassFlush <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_goutput_stream_class_flush", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassCloseFn <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_goutput_stream_class_close_fn", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassWriteAsync <- function(object.class, object, buffer, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") buffer <- as.list(as.raw(buffer)) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_goutput_stream_class_write_async", object.class, object, buffer, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamClassWriteFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_goutput_stream_class_write_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassSpliceAsync <- function(object.class, object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(source, "GInputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_goutput_stream_class_splice_async", object.class, object, source, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamClassSpliceFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_goutput_stream_class_splice_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassFlushAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_goutput_stream_class_flush_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamClassFlushFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_goutput_stream_class_flush_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gOutputStreamClassCloseAsync <- function(object.class, object, io.priority = 0, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_goutput_stream_class_close_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gOutputStreamClassCloseFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GOutputStreamClass") checkPtrType(object, "GOutputStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_goutput_stream_class_close_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSeekableIfaceTell <- function(object.class, object) { checkPtrType(object.class, "GSeekableIface") checkPtrType(object, "GSeekable") w <- .RGtkCall("S_gseekable_iface_tell", object.class, object, PACKAGE = "RGtk2") return(w) } gSeekableIfaceCanSeek <- function(object.class, object) { checkPtrType(object.class, "GSeekableIface") checkPtrType(object, "GSeekable") w <- .RGtkCall("S_gseekable_iface_can_seek", object.class, object, PACKAGE = "RGtk2") return(w) } gSeekableIfaceSeek <- function(object.class, object, offset, type = "G_SEEK_SET", cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GSeekableIface") checkPtrType(object, "GSeekable") offset <- as.numeric(offset) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gseekable_iface_seek", object.class, object, offset, type, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSeekableIfaceCanTruncate <- function(object.class, object) { checkPtrType(object.class, "GSeekableIface") checkPtrType(object, "GSeekable") w <- .RGtkCall("S_gseekable_iface_can_truncate", object.class, object, PACKAGE = "RGtk2") return(w) } gSeekableIfaceTruncateFn <- function(object.class, object, offset, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GSeekableIface") checkPtrType(object, "GSeekable") offset <- as.numeric(offset) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gseekable_iface_truncate_fn", object.class, object, offset, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVfsClassIsActive <- function(object.class, object) { checkPtrType(object.class, "GVfsClass") checkPtrType(object, "GVfs") w <- .RGtkCall("S_gvfs_class_is_active", object.class, object, PACKAGE = "RGtk2") return(w) } gVfsClassGetFileForPath <- function(object.class, object, path) { checkPtrType(object.class, "GVfsClass") checkPtrType(object, "GVfs") path <- as.character(path) w <- .RGtkCall("S_gvfs_class_get_file_for_path", object.class, object, path, PACKAGE = "RGtk2") return(w) } gVfsClassGetFileForUri <- function(object.class, object, uri) { checkPtrType(object.class, "GVfsClass") checkPtrType(object, "GVfs") uri <- as.character(uri) w <- .RGtkCall("S_gvfs_class_get_file_for_uri", object.class, object, uri, PACKAGE = "RGtk2") return(w) } gVfsClassParseName <- function(object.class, object, parse.name) { checkPtrType(object.class, "GVfsClass") checkPtrType(object, "GVfs") parse.name <- as.character(parse.name) w <- .RGtkCall("S_gvfs_class_parse_name", object.class, object, parse.name, PACKAGE = "RGtk2") return(w) } gVfsClassGetSupportedUriSchemes <- function(object.class, object) { checkPtrType(object.class, "GVfsClass") checkPtrType(object, "GVfs") w <- .RGtkCall("S_gvfs_class_get_supported_uri_schemes", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetName <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetIcon <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_icon", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetUuid <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_uuid", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetDrive <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_drive", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetMount <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_mount", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceCanMount <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_can_mount", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceCanEject <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_can_eject", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceShouldAutomount <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_should_automount", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceMountFn <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gvolume_iface_mount_fn", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeIfaceMountFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gvolume_iface_mount_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVolumeIfaceEject <- function(object.class, object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gvolume_iface_eject", object.class, object, flags, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeIfaceEjectFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gvolume_iface_eject_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVolumeMonitorClassGetConnectedDrives <- function(object.class, object) { checkPtrType(object.class, "GVolumeMonitorClass") checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_gvolume_monitor_class_get_connected_drives", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorClassGetVolumes <- function(object.class, object) { checkPtrType(object.class, "GVolumeMonitorClass") checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_gvolume_monitor_class_get_volumes", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorClassGetMounts <- function(object.class, object) { checkPtrType(object.class, "GVolumeMonitorClass") checkPtrType(object, "GVolumeMonitor") w <- .RGtkCall("S_gvolume_monitor_class_get_mounts", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeMonitorClassGetVolumeForUuid <- function(object.class, object, uuid) { checkPtrType(object.class, "GVolumeMonitorClass") checkPtrType(object, "GVolumeMonitor") uuid <- as.character(uuid) w <- .RGtkCall("S_gvolume_monitor_class_get_volume_for_uuid", object.class, object, uuid, PACKAGE = "RGtk2") return(w) } gVolumeMonitorClassGetMountForUuid <- function(object.class, object, uuid) { checkPtrType(object.class, "GVolumeMonitorClass") checkPtrType(object, "GVolumeMonitor") uuid <- as.character(uuid) w <- .RGtkCall("S_gvolume_monitor_class_get_mount_for_uuid", object.class, object, uuid, PACKAGE = "RGtk2") return(w) } gMountIfaceGuessContentType <- function(object.class, object, force.rescan, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") force.rescan <- as.logical(force.rescan) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_guess_content_type", object.class, object, force.rescan, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceGuessContentTypeFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_guess_content_type_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceGuessContentTypeSync <- function(object.class, object, force.rescan, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") force.rescan <- as.logical(force.rescan) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gmount_iface_guess_content_type_sync", object.class, object, force.rescan, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gVolumeIfaceGetIdentifier <- function(object.class, object, kind) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") kind <- as.character(kind) w <- .RGtkCall("S_gvolume_iface_get_identifier", object.class, object, kind, PACKAGE = "RGtk2") return(w) } gVolumeIfaceEnumerateIdentifiers <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_enumerate_identifiers", object.class, object, PACKAGE = "RGtk2") return(w) } gVolumeIfaceGetActivationRoot <- function(object.class, object) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") w <- .RGtkCall("S_gvolume_iface_get_activation_root", object.class, object, PACKAGE = "RGtk2") return(w) } gAppInfoIfaceGetCommandline <- function(object.class, object) { checkPtrType(object.class, "GAppInfoIface") checkPtrType(object, "GAppInfo") w <- .RGtkCall("S_gapp_info_iface_get_commandline", object.class, object, PACKAGE = "RGtk2") return(w) } gAsyncInitableIfaceInitAsync <- function(object.class, object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GAsyncInitableIface") checkPtrType(object, "GAsyncInitable") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gasync_initable_iface_init_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gAsyncInitableIfaceInitFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GAsyncInitableIface") checkPtrType(object, "GAsyncInitable") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gasync_initable_iface_init_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfaceGetStartStopType <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_get_start_stop_type", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceStart <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gdrive_iface_start", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveIfaceStartFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gdrive_iface_start_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfaceStop <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gdrive_iface_stop", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveIfaceStopFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gdrive_iface_stop_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gDriveIfaceCanStart <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_can_start", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceCanStartDegraded <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_can_start_degraded", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceCanStop <- function(object.class, object) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") w <- .RGtkCall("S_gdrive_iface_can_stop", object.class, object, PACKAGE = "RGtk2") return(w) } gDriveIfaceEjectWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gdrive_iface_eject_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gDriveIfaceEjectWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GDriveIface") checkPtrType(object, "GDrive") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gdrive_iface_eject_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCreateReadwrite <- function(object.class, object, flags, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_create_readwrite", object.class, object, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceCreateReadwriteAsync <- function(object.class, object, flags, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_create_readwrite_async", object.class, object, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceCreateReadwriteFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_create_readwrite_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceEjectMountableWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_eject_mountable_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceEjectMountableWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_eject_mountable_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceOpenReadwrite <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_open_readwrite", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceOpenReadwriteAsync <- function(object.class, object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_open_readwrite_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceOpenReadwriteFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_open_readwrite_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfacePollMountable <- function(object.class, object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_poll_mountable", object.class, object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfacePollMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_poll_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceReplaceReadwrite <- function(object.class, object, etag, make.backup, flags, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iface_replace_readwrite", object.class, object, etag, make.backup, flags, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceReplaceReadwriteAsync <- function(object.class, object, etag, make.backup, flags, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") etag <- as.character(etag) make.backup <- as.logical(make.backup) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_replace_readwrite_async", object.class, object, etag, make.backup, flags, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceReplaceReadwriteFinish <- function(object.class, object, res, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(res, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_replace_readwrite_finish", object.class, object, res, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceStartMountable <- function(object.class, object, flags, start.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(start.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_start_mountable", object.class, object, flags, start.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceStartMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_start_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceStopMountable <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_stop_mountable", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceStopMountableFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_stop_mountable_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIfaceUnmountMountableWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iface_unmount_mountable_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIfaceUnmountMountableWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIface") checkPtrType(object, "GFile") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iface_unmount_mountable_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIOStreamClassQueryInfo <- function(object.class, object, attributes, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GFileIOStreamClass") checkPtrType(object, "GFileIOStream") attributes <- as.character(attributes) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gfile_iostream_class_query_info", object.class, object, attributes, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIOStreamClassQueryInfoAsync <- function(object.class, object, attributes, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GFileIOStreamClass") checkPtrType(object, "GFileIOStream") attributes <- as.character(attributes) io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gfile_iostream_class_query_info_async", object.class, object, attributes, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gFileIOStreamClassQueryInfoFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GFileIOStreamClass") checkPtrType(object, "GFileIOStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gfile_iostream_class_query_info_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gFileIOStreamClassGetEtag <- function(object.class, object) { checkPtrType(object.class, "GFileIOStreamClass") checkPtrType(object, "GFileIOStream") w <- .RGtkCall("S_gfile_iostream_class_get_etag", object.class, object, PACKAGE = "RGtk2") return(w) } gInetAddressClassToString <- function(object.class, object) { checkPtrType(object.class, "GInetAddressClass") checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_ginet_address_class_to_string", object.class, object, PACKAGE = "RGtk2") return(w) } gInetAddressClassToBytes <- function(object.class, object) { checkPtrType(object.class, "GInetAddressClass") checkPtrType(object, "GInetAddress") w <- .RGtkCall("S_ginet_address_class_to_bytes", object.class, object, PACKAGE = "RGtk2") return(w) } gInitableIfaceInit <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GInitableIface") checkPtrType(object, "GInitable") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_ginitable_iface_init", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamClassGetInputStream <- function(object.class, object) { checkPtrType(object.class, "GIOStreamClass") checkPtrType(object, "GIOStream") w <- .RGtkCall("S_giostream_class_get_input_stream", object.class, object, PACKAGE = "RGtk2") return(w) } gIOStreamClassGetOutputStream <- function(object.class, object) { checkPtrType(object.class, "GIOStreamClass") checkPtrType(object, "GIOStream") w <- .RGtkCall("S_giostream_class_get_output_stream", object.class, object, PACKAGE = "RGtk2") return(w) } gIOStreamClassCloseFn <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GIOStreamClass") checkPtrType(object, "GIOStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_giostream_class_close_fn", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gIOStreamClassCloseAsync <- function(object.class, object, io.priority, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GIOStreamClass") checkPtrType(object, "GIOStream") io.priority <- as.integer(io.priority) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_giostream_class_close_async", object.class, object, io.priority, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gIOStreamClassCloseFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GIOStreamClass") checkPtrType(object, "GIOStream") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_giostream_class_close_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceUnmountWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_unmount_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceUnmountWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_unmount_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gMountIfaceEjectWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gmount_iface_eject_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gMountIfaceEjectWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GMountIface") checkPtrType(object, "GMount") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gmount_iface_eject_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupByName <- function(object.class, object, hostname, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") hostname <- as.character(hostname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gresolver_class_lookup_by_name", object.class, object, hostname, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupByNameAsync <- function(object.class, object, hostname, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") hostname <- as.character(hostname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gresolver_class_lookup_by_name_async", object.class, object, hostname, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverClassLookupByNameFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gresolver_class_lookup_by_name_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupByAddress <- function(object.class, object, address, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") checkPtrType(address, "GInetAddress") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gresolver_class_lookup_by_address", object.class, object, address, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupByAddressAsync <- function(object.class, object, address, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") checkPtrType(address, "GInetAddress") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gresolver_class_lookup_by_address_async", object.class, object, address, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverClassLookupByAddressFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gresolver_class_lookup_by_address_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupService <- function(object.class, object, rrname, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") rrname <- as.character(rrname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gresolver_class_lookup_service", object.class, object, rrname, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gResolverClassLookupServiceAsync <- function(object.class, object, rrname, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") rrname <- as.character(rrname) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gresolver_class_lookup_service_async", object.class, object, rrname, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gResolverClassLookupServiceFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GResolverClass") checkPtrType(object, "GResolver") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gresolver_class_lookup_service_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressEnumeratorClassNext <- function(object.class, object, cancellable = NULL, .errwarn = TRUE) { checkPtrType(object.class, "GSocketAddressEnumeratorClass") checkPtrType(object, "GSocketAddressEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gsocket_address_enumerator_class_next", object.class, object, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressEnumeratorClassNextAsync <- function(object.class, object, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GSocketAddressEnumeratorClass") checkPtrType(object, "GSocketAddressEnumerator") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gsocket_address_enumerator_class_next_async", object.class, object, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketAddressEnumeratorClassNextFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GSocketAddressEnumeratorClass") checkPtrType(object, "GSocketAddressEnumerator") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gsocket_address_enumerator_class_next_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressClassGetFamily <- function(object.class, object) { checkPtrType(object.class, "GSocketAddressClass") checkPtrType(object, "GSocketAddress") w <- .RGtkCall("S_gsocket_address_class_get_family", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketAddressClassToNative <- function(object.class, object, dest, destlen, .errwarn = TRUE) { checkPtrType(object.class, "GSocketAddressClass") checkPtrType(object, "GSocketAddress") destlen <- as.numeric(destlen) w <- .RGtkCall("S_gsocket_address_class_to_native", object.class, object, dest, destlen, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gSocketAddressClassGetNativeSize <- function(object.class, object) { checkPtrType(object.class, "GSocketAddressClass") checkPtrType(object, "GSocketAddress") w <- .RGtkCall("S_gsocket_address_class_get_native_size", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketConnectableIfaceEnumerate <- function(object.class, object) { checkPtrType(object.class, "GSocketConnectableIface") checkPtrType(object, "GSocketConnectable") w <- .RGtkCall("S_gsocket_connectable_iface_enumerate", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageClassGetSize <- function(object.class, object) { checkPtrType(object.class, "GSocketControlMessageClass") checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_gsocket_control_message_class_get_size", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageClassGetLevel <- function(object.class, object) { checkPtrType(object.class, "GSocketControlMessageClass") checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_gsocket_control_message_class_get_level", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageClassGetType <- function(object.class, object) { checkPtrType(object.class, "GSocketControlMessageClass") checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_gsocket_control_message_class_get_type", object.class, object, PACKAGE = "RGtk2") return(w) } gSocketControlMessageClassSerialize <- function(object.class, object, data) { checkPtrType(object.class, "GSocketControlMessageClass") checkPtrType(object, "GSocketControlMessage") w <- .RGtkCall("S_gsocket_control_message_class_serialize", object.class, object, data, PACKAGE = "RGtk2") return(invisible(w)) } gSocketListenerClassChanged <- function(object.class, object) { checkPtrType(object.class, "GSocketListenerClass") checkPtrType(object, "GSocketListener") w <- .RGtkCall("S_gsocket_listener_class_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeIfaceEjectWithOperation <- function(object.class, object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") checkPtrType(mount.operation, "GMountOperation") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) w <- .RGtkCall("S_gvolume_iface_eject_with_operation", object.class, object, flags, mount.operation, cancellable, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gVolumeIfaceEjectWithOperationFinish <- function(object.class, object, result, .errwarn = TRUE) { checkPtrType(object.class, "GVolumeIface") checkPtrType(object, "GVolume") checkPtrType(result, "GAsyncResult") w <- .RGtkCall("S_gvolume_iface_eject_with_operation_finish", object.class, object, result, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) }RGtk2/R/gdkKeySyms.R0000644000176000001440000007745011766145227013701 0ustar ripleyusersGDK_VoidSymbol <- 0xFFFFFF GDK_BackSpace <- 0xFF08 GDK_Tab <- 0xFF09 GDK_Linefeed <- 0xFF0A GDK_Clear <- 0xFF0B GDK_Return <- 0xFF0D GDK_Pause <- 0xFF13 GDK_Scroll_Lock <- 0xFF14 GDK_Sys_Req <- 0xFF15 GDK_Escape <- 0xFF1B GDK_Delete <- 0xFFFF GDK_Multi_key <- 0xFF20 GDK_Codeinput <- 0xFF37 GDK_SingleCandidate <- 0xFF3C GDK_MultipleCandidate <- 0xFF3D GDK_PreviousCandidate <- 0xFF3E GDK_Kanji <- 0xFF21 GDK_Muhenkan <- 0xFF22 GDK_Henkan_Mode <- 0xFF23 GDK_Henkan <- 0xFF23 GDK_Romaji <- 0xFF24 GDK_Hiragana <- 0xFF25 GDK_Katakana <- 0xFF26 GDK_Hiragana_Katakana <- 0xFF27 GDK_Zenkaku <- 0xFF28 GDK_Hankaku <- 0xFF29 GDK_Zenkaku_Hankaku <- 0xFF2A GDK_Touroku <- 0xFF2B GDK_Massyo <- 0xFF2C GDK_Kana_Lock <- 0xFF2D GDK_Kana_Shift <- 0xFF2E GDK_Eisu_Shift <- 0xFF2F GDK_Eisu_toggle <- 0xFF30 GDK_Kanji_Bangou <- 0xFF37 GDK_Zen_Koho <- 0xFF3D GDK_Mae_Koho <- 0xFF3E GDK_Home <- 0xFF50 GDK_Left <- 0xFF51 GDK_Up <- 0xFF52 GDK_Right <- 0xFF53 GDK_Down <- 0xFF54 GDK_Prior <- 0xFF55 GDK_Page_Up <- 0xFF55 GDK_Next <- 0xFF56 GDK_Page_Down <- 0xFF56 GDK_End <- 0xFF57 GDK_Begin <- 0xFF58 GDK_Select <- 0xFF60 GDK_Print <- 0xFF61 GDK_Execute <- 0xFF62 GDK_Insert <- 0xFF63 GDK_Undo <- 0xFF65 GDK_Redo <- 0xFF66 GDK_Menu <- 0xFF67 GDK_Find <- 0xFF68 GDK_Cancel <- 0xFF69 GDK_Help <- 0xFF6A GDK_Break <- 0xFF6B GDK_Mode_switch <- 0xFF7E GDK_script_switch <- 0xFF7E GDK_Num_Lock <- 0xFF7F GDK_KP_Space <- 0xFF80 GDK_KP_Tab <- 0xFF89 GDK_KP_Enter <- 0xFF8D GDK_KP_F1 <- 0xFF91 GDK_KP_F2 <- 0xFF92 GDK_KP_F3 <- 0xFF93 GDK_KP_F4 <- 0xFF94 GDK_KP_Home <- 0xFF95 GDK_KP_Left <- 0xFF96 GDK_KP_Up <- 0xFF97 GDK_KP_Right <- 0xFF98 GDK_KP_Down <- 0xFF99 GDK_KP_Prior <- 0xFF9A GDK_KP_Page_Up <- 0xFF9A GDK_KP_Next <- 0xFF9B GDK_KP_Page_Down <- 0xFF9B GDK_KP_End <- 0xFF9C GDK_KP_Begin <- 0xFF9D GDK_KP_Insert <- 0xFF9E GDK_KP_Delete <- 0xFF9F GDK_KP_Equal <- 0xFFBD GDK_KP_Multiply <- 0xFFAA GDK_KP_Add <- 0xFFAB GDK_KP_Separator <- 0xFFAC GDK_KP_Subtract <- 0xFFAD GDK_KP_Decimal <- 0xFFAE GDK_KP_Divide <- 0xFFAF GDK_KP_0 <- 0xFFB0 GDK_KP_1 <- 0xFFB1 GDK_KP_2 <- 0xFFB2 GDK_KP_3 <- 0xFFB3 GDK_KP_4 <- 0xFFB4 GDK_KP_5 <- 0xFFB5 GDK_KP_6 <- 0xFFB6 GDK_KP_7 <- 0xFFB7 GDK_KP_8 <- 0xFFB8 GDK_KP_9 <- 0xFFB9 GDK_F1 <- 0xFFBE GDK_F2 <- 0xFFBF GDK_F3 <- 0xFFC0 GDK_F4 <- 0xFFC1 GDK_F5 <- 0xFFC2 GDK_F6 <- 0xFFC3 GDK_F7 <- 0xFFC4 GDK_F8 <- 0xFFC5 GDK_F9 <- 0xFFC6 GDK_F10 <- 0xFFC7 GDK_F11 <- 0xFFC8 GDK_L1 <- 0xFFC8 GDK_F12 <- 0xFFC9 GDK_L2 <- 0xFFC9 GDK_F13 <- 0xFFCA GDK_L3 <- 0xFFCA GDK_F14 <- 0xFFCB GDK_L4 <- 0xFFCB GDK_F15 <- 0xFFCC GDK_L5 <- 0xFFCC GDK_F16 <- 0xFFCD GDK_L6 <- 0xFFCD GDK_F17 <- 0xFFCE GDK_L7 <- 0xFFCE GDK_F18 <- 0xFFCF GDK_L8 <- 0xFFCF GDK_F19 <- 0xFFD0 GDK_L9 <- 0xFFD0 GDK_F20 <- 0xFFD1 GDK_L10 <- 0xFFD1 GDK_F21 <- 0xFFD2 GDK_R1 <- 0xFFD2 GDK_F22 <- 0xFFD3 GDK_R2 <- 0xFFD3 GDK_F23 <- 0xFFD4 GDK_R3 <- 0xFFD4 GDK_F24 <- 0xFFD5 GDK_R4 <- 0xFFD5 GDK_F25 <- 0xFFD6 GDK_R5 <- 0xFFD6 GDK_F26 <- 0xFFD7 GDK_R6 <- 0xFFD7 GDK_F27 <- 0xFFD8 GDK_R7 <- 0xFFD8 GDK_F28 <- 0xFFD9 GDK_R8 <- 0xFFD9 GDK_F29 <- 0xFFDA GDK_R9 <- 0xFFDA GDK_F30 <- 0xFFDB GDK_R10 <- 0xFFDB GDK_F31 <- 0xFFDC GDK_R11 <- 0xFFDC GDK_F32 <- 0xFFDD GDK_R12 <- 0xFFDD GDK_F33 <- 0xFFDE GDK_R13 <- 0xFFDE GDK_F34 <- 0xFFDF GDK_R14 <- 0xFFDF GDK_F35 <- 0xFFE0 GDK_R15 <- 0xFFE0 GDK_Shift_L <- 0xFFE1 GDK_Shift_R <- 0xFFE2 GDK_Control_L <- 0xFFE3 GDK_Control_R <- 0xFFE4 GDK_Caps_Lock <- 0xFFE5 GDK_Shift_Lock <- 0xFFE6 GDK_Meta_L <- 0xFFE7 GDK_Meta_R <- 0xFFE8 GDK_Alt_L <- 0xFFE9 GDK_Alt_R <- 0xFFEA GDK_Super_L <- 0xFFEB GDK_Super_R <- 0xFFEC GDK_Hyper_L <- 0xFFED GDK_Hyper_R <- 0xFFEE GDK_ISO_Lock <- 0xFE01 GDK_ISO_Level2_Latch <- 0xFE02 GDK_ISO_Level3_Shift <- 0xFE03 GDK_ISO_Level3_Latch <- 0xFE04 GDK_ISO_Level3_Lock <- 0xFE05 GDK_ISO_Group_Shift <- 0xFF7E GDK_ISO_Group_Latch <- 0xFE06 GDK_ISO_Group_Lock <- 0xFE07 GDK_ISO_Next_Group <- 0xFE08 GDK_ISO_Next_Group_Lock <- 0xFE09 GDK_ISO_Prev_Group <- 0xFE0A GDK_ISO_Prev_Group_Lock <- 0xFE0B GDK_ISO_First_Group <- 0xFE0C GDK_ISO_First_Group_Lock <- 0xFE0D GDK_ISO_Last_Group <- 0xFE0E GDK_ISO_Last_Group_Lock <- 0xFE0F GDK_ISO_Left_Tab <- 0xFE20 GDK_ISO_Move_Line_Up <- 0xFE21 GDK_ISO_Move_Line_Down <- 0xFE22 GDK_ISO_Partial_Line_Up <- 0xFE23 GDK_ISO_Partial_Line_Down <- 0xFE24 GDK_ISO_Partial_Space_Left <- 0xFE25 GDK_ISO_Partial_Space_Right <- 0xFE26 GDK_ISO_Set_Margin_Left <- 0xFE27 GDK_ISO_Set_Margin_Right <- 0xFE28 GDK_ISO_Release_Margin_Left <- 0xFE29 GDK_ISO_Release_Margin_Right <- 0xFE2A GDK_ISO_Release_Both_Margins <- 0xFE2B GDK_ISO_Fast_Cursor_Left <- 0xFE2C GDK_ISO_Fast_Cursor_Right <- 0xFE2D GDK_ISO_Fast_Cursor_Up <- 0xFE2E GDK_ISO_Fast_Cursor_Down <- 0xFE2F GDK_ISO_Continuous_Underline <- 0xFE30 GDK_ISO_Discontinuous_Underline <- 0xFE31 GDK_ISO_Emphasize <- 0xFE32 GDK_ISO_Center_Object <- 0xFE33 GDK_ISO_Enter <- 0xFE34 GDK_dead_grave <- 0xFE50 GDK_dead_acute <- 0xFE51 GDK_dead_circumflex <- 0xFE52 GDK_dead_tilde <- 0xFE53 GDK_dead_macron <- 0xFE54 GDK_dead_breve <- 0xFE55 GDK_dead_abovedot <- 0xFE56 GDK_dead_diaeresis <- 0xFE57 GDK_dead_abovering <- 0xFE58 GDK_dead_doubleacute <- 0xFE59 GDK_dead_caron <- 0xFE5A GDK_dead_cedilla <- 0xFE5B GDK_dead_ogonek <- 0xFE5C GDK_dead_iota <- 0xFE5D GDK_dead_voiced_sound <- 0xFE5E GDK_dead_semivoiced_sound <- 0xFE5F GDK_dead_belowdot <- 0xFE60 GDK_dead_hook <- 0xFE61 GDK_dead_horn <- 0xFE62 GDK_First_Virtual_Screen <- 0xFED0 GDK_Prev_Virtual_Screen <- 0xFED1 GDK_Next_Virtual_Screen <- 0xFED2 GDK_Last_Virtual_Screen <- 0xFED4 GDK_Terminate_Server <- 0xFED5 GDK_AccessX_Enable <- 0xFE70 GDK_AccessX_Feedback_Enable <- 0xFE71 GDK_RepeatKeys_Enable <- 0xFE72 GDK_SlowKeys_Enable <- 0xFE73 GDK_BounceKeys_Enable <- 0xFE74 GDK_StickyKeys_Enable <- 0xFE75 GDK_MouseKeys_Enable <- 0xFE76 GDK_MouseKeys_Accel_Enable <- 0xFE77 GDK_Overlay1_Enable <- 0xFE78 GDK_Overlay2_Enable <- 0xFE79 GDK_AudibleBell_Enable <- 0xFE7A GDK_Pointer_Left <- 0xFEE0 GDK_Pointer_Right <- 0xFEE1 GDK_Pointer_Up <- 0xFEE2 GDK_Pointer_Down <- 0xFEE3 GDK_Pointer_UpLeft <- 0xFEE4 GDK_Pointer_UpRight <- 0xFEE5 GDK_Pointer_DownLeft <- 0xFEE6 GDK_Pointer_DownRight <- 0xFEE7 GDK_Pointer_Button_Dflt <- 0xFEE8 GDK_Pointer_Button1 <- 0xFEE9 GDK_Pointer_Button2 <- 0xFEEA GDK_Pointer_Button3 <- 0xFEEB GDK_Pointer_Button4 <- 0xFEEC GDK_Pointer_Button5 <- 0xFEED GDK_Pointer_DblClick_Dflt <- 0xFEEE GDK_Pointer_DblClick1 <- 0xFEEF GDK_Pointer_DblClick2 <- 0xFEF0 GDK_Pointer_DblClick3 <- 0xFEF1 GDK_Pointer_DblClick4 <- 0xFEF2 GDK_Pointer_DblClick5 <- 0xFEF3 GDK_Pointer_Drag_Dflt <- 0xFEF4 GDK_Pointer_Drag1 <- 0xFEF5 GDK_Pointer_Drag2 <- 0xFEF6 GDK_Pointer_Drag3 <- 0xFEF7 GDK_Pointer_Drag4 <- 0xFEF8 GDK_Pointer_Drag5 <- 0xFEFD GDK_Pointer_EnableKeys <- 0xFEF9 GDK_Pointer_Accelerate <- 0xFEFA GDK_Pointer_DfltBtnNext <- 0xFEFB GDK_Pointer_DfltBtnPrev <- 0xFEFC GDK_3270_Duplicate <- 0xFD01 GDK_3270_FieldMark <- 0xFD02 GDK_3270_Right2 <- 0xFD03 GDK_3270_Left2 <- 0xFD04 GDK_3270_BackTab <- 0xFD05 GDK_3270_EraseEOF <- 0xFD06 GDK_3270_EraseInput <- 0xFD07 GDK_3270_Reset <- 0xFD08 GDK_3270_Quit <- 0xFD09 GDK_3270_PA1 <- 0xFD0A GDK_3270_PA2 <- 0xFD0B GDK_3270_PA3 <- 0xFD0C GDK_3270_Test <- 0xFD0D GDK_3270_Attn <- 0xFD0E GDK_3270_CursorBlink <- 0xFD0F GDK_3270_AltCursor <- 0xFD10 GDK_3270_KeyClick <- 0xFD11 GDK_3270_Jump <- 0xFD12 GDK_3270_Ident <- 0xFD13 GDK_3270_Rule <- 0xFD14 GDK_3270_Copy <- 0xFD15 GDK_3270_Play <- 0xFD16 GDK_3270_Setup <- 0xFD17 GDK_3270_Record <- 0xFD18 GDK_3270_ChangeScreen <- 0xFD19 GDK_3270_DeleteWord <- 0xFD1A GDK_3270_ExSelect <- 0xFD1B GDK_3270_CursorSelect <- 0xFD1C GDK_3270_PrintScreen <- 0xFD1D GDK_3270_Enter <- 0xFD1E GDK_space <- 0x020 GDK_exclam <- 0x021 GDK_quotedbl <- 0x022 GDK_numbersign <- 0x023 GDK_dollar <- 0x024 GDK_percent <- 0x025 GDK_ampersand <- 0x026 GDK_apostrophe <- 0x027 GDK_quoteright <- 0x027 GDK_parenleft <- 0x028 GDK_parenright <- 0x029 GDK_asterisk <- 0x02a GDK_plus <- 0x02b GDK_comma <- 0x02c GDK_minus <- 0x02d GDK_period <- 0x02e GDK_slash <- 0x02f GDK_0 <- 0x030 GDK_1 <- 0x031 GDK_2 <- 0x032 GDK_3 <- 0x033 GDK_4 <- 0x034 GDK_5 <- 0x035 GDK_6 <- 0x036 GDK_7 <- 0x037 GDK_8 <- 0x038 GDK_9 <- 0x039 GDK_colon <- 0x03a GDK_semicolon <- 0x03b GDK_less <- 0x03c GDK_equal <- 0x03d GDK_greater <- 0x03e GDK_question <- 0x03f GDK_at <- 0x040 GDK_A <- 0x041 GDK_B <- 0x042 GDK_C <- 0x043 GDK_D <- 0x044 GDK_E <- 0x045 GDK_F <- 0x046 GDK_G <- 0x047 GDK_H <- 0x048 GDK_I <- 0x049 GDK_J <- 0x04a GDK_K <- 0x04b GDK_L <- 0x04c GDK_M <- 0x04d GDK_N <- 0x04e GDK_O <- 0x04f GDK_P <- 0x050 GDK_Q <- 0x051 GDK_R <- 0x052 GDK_S <- 0x053 GDK_T <- 0x054 GDK_U <- 0x055 GDK_V <- 0x056 GDK_W <- 0x057 GDK_X <- 0x058 GDK_Y <- 0x059 GDK_Z <- 0x05a GDK_bracketleft <- 0x05b GDK_backslash <- 0x05c GDK_bracketright <- 0x05d GDK_asciicircum <- 0x05e GDK_underscore <- 0x05f GDK_grave <- 0x060 GDK_quoteleft <- 0x060 GDK_a <- 0x061 GDK_b <- 0x062 GDK_c <- 0x063 GDK_d <- 0x064 GDK_e <- 0x065 GDK_f <- 0x066 GDK_g <- 0x067 GDK_h <- 0x068 GDK_i <- 0x069 GDK_j <- 0x06a GDK_k <- 0x06b GDK_l <- 0x06c GDK_m <- 0x06d GDK_n <- 0x06e GDK_o <- 0x06f GDK_p <- 0x070 GDK_q <- 0x071 GDK_r <- 0x072 GDK_s <- 0x073 GDK_t <- 0x074 GDK_u <- 0x075 GDK_v <- 0x076 GDK_w <- 0x077 GDK_x <- 0x078 GDK_y <- 0x079 GDK_z <- 0x07a GDK_braceleft <- 0x07b GDK_bar <- 0x07c GDK_braceright <- 0x07d GDK_asciitilde <- 0x07e GDK_nobreakspace <- 0x0a0 GDK_exclamdown <- 0x0a1 GDK_cent <- 0x0a2 GDK_sterling <- 0x0a3 GDK_currency <- 0x0a4 GDK_yen <- 0x0a5 GDK_brokenbar <- 0x0a6 GDK_section <- 0x0a7 GDK_diaeresis <- 0x0a8 GDK_copyright <- 0x0a9 GDK_ordfeminine <- 0x0aa GDK_guillemotleft <- 0x0ab GDK_notsign <- 0x0ac GDK_hyphen <- 0x0ad GDK_registered <- 0x0ae GDK_macron <- 0x0af GDK_degree <- 0x0b0 GDK_plusminus <- 0x0b1 GDK_twosuperior <- 0x0b2 GDK_threesuperior <- 0x0b3 GDK_acute <- 0x0b4 GDK_mu <- 0x0b5 GDK_paragraph <- 0x0b6 GDK_periodcentered <- 0x0b7 GDK_cedilla <- 0x0b8 GDK_onesuperior <- 0x0b9 GDK_masculine <- 0x0ba GDK_guillemotright <- 0x0bb GDK_onequarter <- 0x0bc GDK_onehalf <- 0x0bd GDK_threequarters <- 0x0be GDK_questiondown <- 0x0bf GDK_Agrave <- 0x0c0 GDK_Aacute <- 0x0c1 GDK_Acircumflex <- 0x0c2 GDK_Atilde <- 0x0c3 GDK_Adiaeresis <- 0x0c4 GDK_Aring <- 0x0c5 GDK_AE <- 0x0c6 GDK_Ccedilla <- 0x0c7 GDK_Egrave <- 0x0c8 GDK_Eacute <- 0x0c9 GDK_Ecircumflex <- 0x0ca GDK_Ediaeresis <- 0x0cb GDK_Igrave <- 0x0cc GDK_Iacute <- 0x0cd GDK_Icircumflex <- 0x0ce GDK_Idiaeresis <- 0x0cf GDK_ETH <- 0x0d0 GDK_Eth <- 0x0d0 GDK_Ntilde <- 0x0d1 GDK_Ograve <- 0x0d2 GDK_Oacute <- 0x0d3 GDK_Ocircumflex <- 0x0d4 GDK_Otilde <- 0x0d5 GDK_Odiaeresis <- 0x0d6 GDK_multiply <- 0x0d7 GDK_Ooblique <- 0x0d8 GDK_Ugrave <- 0x0d9 GDK_Uacute <- 0x0da GDK_Ucircumflex <- 0x0db GDK_Udiaeresis <- 0x0dc GDK_Yacute <- 0x0dd GDK_THORN <- 0x0de GDK_Thorn <- 0x0de GDK_ssharp <- 0x0df GDK_agrave <- 0x0e0 GDK_aacute <- 0x0e1 GDK_acircumflex <- 0x0e2 GDK_atilde <- 0x0e3 GDK_adiaeresis <- 0x0e4 GDK_aring <- 0x0e5 GDK_ae <- 0x0e6 GDK_ccedilla <- 0x0e7 GDK_egrave <- 0x0e8 GDK_eacute <- 0x0e9 GDK_ecircumflex <- 0x0ea GDK_ediaeresis <- 0x0eb GDK_igrave <- 0x0ec GDK_iacute <- 0x0ed GDK_icircumflex <- 0x0ee GDK_idiaeresis <- 0x0ef GDK_eth <- 0x0f0 GDK_ntilde <- 0x0f1 GDK_ograve <- 0x0f2 GDK_oacute <- 0x0f3 GDK_ocircumflex <- 0x0f4 GDK_otilde <- 0x0f5 GDK_odiaeresis <- 0x0f6 GDK_division <- 0x0f7 GDK_oslash <- 0x0f8 GDK_ugrave <- 0x0f9 GDK_uacute <- 0x0fa GDK_ucircumflex <- 0x0fb GDK_udiaeresis <- 0x0fc GDK_yacute <- 0x0fd GDK_thorn <- 0x0fe GDK_ydiaeresis <- 0x0ff GDK_Aogonek <- 0x1a1 GDK_breve <- 0x1a2 GDK_Lstroke <- 0x1a3 GDK_Lcaron <- 0x1a5 GDK_Sacute <- 0x1a6 GDK_Scaron <- 0x1a9 GDK_Scedilla <- 0x1aa GDK_Tcaron <- 0x1ab GDK_Zacute <- 0x1ac GDK_Zcaron <- 0x1ae GDK_Zabovedot <- 0x1af GDK_aogonek <- 0x1b1 GDK_ogonek <- 0x1b2 GDK_lstroke <- 0x1b3 GDK_lcaron <- 0x1b5 GDK_sacute <- 0x1b6 GDK_caron <- 0x1b7 GDK_scaron <- 0x1b9 GDK_scedilla <- 0x1ba GDK_tcaron <- 0x1bb GDK_zacute <- 0x1bc GDK_doubleacute <- 0x1bd GDK_zcaron <- 0x1be GDK_zabovedot <- 0x1bf GDK_Racute <- 0x1c0 GDK_Abreve <- 0x1c3 GDK_Lacute <- 0x1c5 GDK_Cacute <- 0x1c6 GDK_Ccaron <- 0x1c8 GDK_Eogonek <- 0x1ca GDK_Ecaron <- 0x1cc GDK_Dcaron <- 0x1cf GDK_Dstroke <- 0x1d0 GDK_Nacute <- 0x1d1 GDK_Ncaron <- 0x1d2 GDK_Odoubleacute <- 0x1d5 GDK_Rcaron <- 0x1d8 GDK_Uring <- 0x1d9 GDK_Udoubleacute <- 0x1db GDK_Tcedilla <- 0x1de GDK_racute <- 0x1e0 GDK_abreve <- 0x1e3 GDK_lacute <- 0x1e5 GDK_cacute <- 0x1e6 GDK_ccaron <- 0x1e8 GDK_eogonek <- 0x1ea GDK_ecaron <- 0x1ec GDK_dcaron <- 0x1ef GDK_dstroke <- 0x1f0 GDK_nacute <- 0x1f1 GDK_ncaron <- 0x1f2 GDK_odoubleacute <- 0x1f5 GDK_udoubleacute <- 0x1fb GDK_rcaron <- 0x1f8 GDK_uring <- 0x1f9 GDK_tcedilla <- 0x1fe GDK_abovedot <- 0x1ff GDK_Hstroke <- 0x2a1 GDK_Hcircumflex <- 0x2a6 GDK_Iabovedot <- 0x2a9 GDK_Gbreve <- 0x2ab GDK_Jcircumflex <- 0x2ac GDK_hstroke <- 0x2b1 GDK_hcircumflex <- 0x2b6 GDK_idotless <- 0x2b9 GDK_gbreve <- 0x2bb GDK_jcircumflex <- 0x2bc GDK_Cabovedot <- 0x2c5 GDK_Ccircumflex <- 0x2c6 GDK_Gabovedot <- 0x2d5 GDK_Gcircumflex <- 0x2d8 GDK_Ubreve <- 0x2dd GDK_Scircumflex <- 0x2de GDK_cabovedot <- 0x2e5 GDK_ccircumflex <- 0x2e6 GDK_gabovedot <- 0x2f5 GDK_gcircumflex <- 0x2f8 GDK_ubreve <- 0x2fd GDK_scircumflex <- 0x2fe GDK_kra <- 0x3a2 GDK_kappa <- 0x3a2 GDK_Rcedilla <- 0x3a3 GDK_Itilde <- 0x3a5 GDK_Lcedilla <- 0x3a6 GDK_Emacron <- 0x3aa GDK_Gcedilla <- 0x3ab GDK_Tslash <- 0x3ac GDK_rcedilla <- 0x3b3 GDK_itilde <- 0x3b5 GDK_lcedilla <- 0x3b6 GDK_emacron <- 0x3ba GDK_gcedilla <- 0x3bb GDK_tslash <- 0x3bc GDK_ENG <- 0x3bd GDK_eng <- 0x3bf GDK_Amacron <- 0x3c0 GDK_Iogonek <- 0x3c7 GDK_Eabovedot <- 0x3cc GDK_Imacron <- 0x3cf GDK_Ncedilla <- 0x3d1 GDK_Omacron <- 0x3d2 GDK_Kcedilla <- 0x3d3 GDK_Uogonek <- 0x3d9 GDK_Utilde <- 0x3dd GDK_Umacron <- 0x3de GDK_amacron <- 0x3e0 GDK_iogonek <- 0x3e7 GDK_eabovedot <- 0x3ec GDK_imacron <- 0x3ef GDK_ncedilla <- 0x3f1 GDK_omacron <- 0x3f2 GDK_kcedilla <- 0x3f3 GDK_uogonek <- 0x3f9 GDK_utilde <- 0x3fd GDK_umacron <- 0x3fe GDK_OE <- 0x13bc GDK_oe <- 0x13bd GDK_Ydiaeresis <- 0x13be GDK_overline <- 0x47e GDK_kana_fullstop <- 0x4a1 GDK_kana_openingbracket <- 0x4a2 GDK_kana_closingbracket <- 0x4a3 GDK_kana_comma <- 0x4a4 GDK_kana_conjunctive <- 0x4a5 GDK_kana_middledot <- 0x4a5 GDK_kana_WO <- 0x4a6 GDK_kana_a <- 0x4a7 GDK_kana_i <- 0x4a8 GDK_kana_u <- 0x4a9 GDK_kana_e <- 0x4aa GDK_kana_o <- 0x4ab GDK_kana_ya <- 0x4ac GDK_kana_yu <- 0x4ad GDK_kana_yo <- 0x4ae GDK_kana_tsu <- 0x4af GDK_kana_tu <- 0x4af GDK_prolongedsound <- 0x4b0 GDK_kana_A <- 0x4b1 GDK_kana_I <- 0x4b2 GDK_kana_U <- 0x4b3 GDK_kana_E <- 0x4b4 GDK_kana_O <- 0x4b5 GDK_kana_KA <- 0x4b6 GDK_kana_KI <- 0x4b7 GDK_kana_KU <- 0x4b8 GDK_kana_KE <- 0x4b9 GDK_kana_KO <- 0x4ba GDK_kana_SA <- 0x4bb GDK_kana_SHI <- 0x4bc GDK_kana_SU <- 0x4bd GDK_kana_SE <- 0x4be GDK_kana_SO <- 0x4bf GDK_kana_TA <- 0x4c0 GDK_kana_CHI <- 0x4c1 GDK_kana_TI <- 0x4c1 GDK_kana_TSU <- 0x4c2 GDK_kana_TU <- 0x4c2 GDK_kana_TE <- 0x4c3 GDK_kana_TO <- 0x4c4 GDK_kana_NA <- 0x4c5 GDK_kana_NI <- 0x4c6 GDK_kana_NU <- 0x4c7 GDK_kana_NE <- 0x4c8 GDK_kana_NO <- 0x4c9 GDK_kana_HA <- 0x4ca GDK_kana_HI <- 0x4cb GDK_kana_FU <- 0x4cc GDK_kana_HU <- 0x4cc GDK_kana_HE <- 0x4cd GDK_kana_HO <- 0x4ce GDK_kana_MA <- 0x4cf GDK_kana_MI <- 0x4d0 GDK_kana_MU <- 0x4d1 GDK_kana_ME <- 0x4d2 GDK_kana_MO <- 0x4d3 GDK_kana_YA <- 0x4d4 GDK_kana_YU <- 0x4d5 GDK_kana_YO <- 0x4d6 GDK_kana_RA <- 0x4d7 GDK_kana_RI <- 0x4d8 GDK_kana_RU <- 0x4d9 GDK_kana_RE <- 0x4da GDK_kana_RO <- 0x4db GDK_kana_WA <- 0x4dc GDK_kana_N <- 0x4dd GDK_voicedsound <- 0x4de GDK_semivoicedsound <- 0x4df GDK_kana_switch <- 0xFF7E GDK_Arabic_comma <- 0x5ac GDK_Arabic_semicolon <- 0x5bb GDK_Arabic_question_mark <- 0x5bf GDK_Arabic_hamza <- 0x5c1 GDK_Arabic_maddaonalef <- 0x5c2 GDK_Arabic_hamzaonalef <- 0x5c3 GDK_Arabic_hamzaonwaw <- 0x5c4 GDK_Arabic_hamzaunderalef <- 0x5c5 GDK_Arabic_hamzaonyeh <- 0x5c6 GDK_Arabic_alef <- 0x5c7 GDK_Arabic_beh <- 0x5c8 GDK_Arabic_tehmarbuta <- 0x5c9 GDK_Arabic_teh <- 0x5ca GDK_Arabic_theh <- 0x5cb GDK_Arabic_jeem <- 0x5cc GDK_Arabic_hah <- 0x5cd GDK_Arabic_khah <- 0x5ce GDK_Arabic_dal <- 0x5cf GDK_Arabic_thal <- 0x5d0 GDK_Arabic_ra <- 0x5d1 GDK_Arabic_zain <- 0x5d2 GDK_Arabic_seen <- 0x5d3 GDK_Arabic_sheen <- 0x5d4 GDK_Arabic_sad <- 0x5d5 GDK_Arabic_dad <- 0x5d6 GDK_Arabic_tah <- 0x5d7 GDK_Arabic_zah <- 0x5d8 GDK_Arabic_ain <- 0x5d9 GDK_Arabic_ghain <- 0x5da GDK_Arabic_tatweel <- 0x5e0 GDK_Arabic_feh <- 0x5e1 GDK_Arabic_qaf <- 0x5e2 GDK_Arabic_kaf <- 0x5e3 GDK_Arabic_lam <- 0x5e4 GDK_Arabic_meem <- 0x5e5 GDK_Arabic_noon <- 0x5e6 GDK_Arabic_ha <- 0x5e7 GDK_Arabic_heh <- 0x5e7 GDK_Arabic_waw <- 0x5e8 GDK_Arabic_alefmaksura <- 0x5e9 GDK_Arabic_yeh <- 0x5ea GDK_Arabic_fathatan <- 0x5eb GDK_Arabic_dammatan <- 0x5ec GDK_Arabic_kasratan <- 0x5ed GDK_Arabic_fatha <- 0x5ee GDK_Arabic_damma <- 0x5ef GDK_Arabic_kasra <- 0x5f0 GDK_Arabic_shadda <- 0x5f1 GDK_Arabic_sukun <- 0x5f2 GDK_Arabic_switch <- 0xFF7E GDK_Serbian_dje <- 0x6a1 GDK_Macedonia_gje <- 0x6a2 GDK_Cyrillic_io <- 0x6a3 GDK_Ukrainian_ie <- 0x6a4 GDK_Ukranian_je <- 0x6a4 GDK_Macedonia_dse <- 0x6a5 GDK_Ukrainian_i <- 0x6a6 GDK_Ukranian_i <- 0x6a6 GDK_Ukrainian_yi <- 0x6a7 GDK_Ukranian_yi <- 0x6a7 GDK_Cyrillic_je <- 0x6a8 GDK_Serbian_je <- 0x6a8 GDK_Cyrillic_lje <- 0x6a9 GDK_Serbian_lje <- 0x6a9 GDK_Cyrillic_nje <- 0x6aa GDK_Serbian_nje <- 0x6aa GDK_Serbian_tshe <- 0x6ab GDK_Macedonia_kje <- 0x6ac GDK_Ukrainian_ghe_with_upturn <- 0x6ad GDK_Byelorussian_shortu <- 0x6ae GDK_Cyrillic_dzhe <- 0x6af GDK_Serbian_dze <- 0x6af GDK_numerosign <- 0x6b0 GDK_Serbian_DJE <- 0x6b1 GDK_Macedonia_GJE <- 0x6b2 GDK_Cyrillic_IO <- 0x6b3 GDK_Ukrainian_IE <- 0x6b4 GDK_Ukranian_JE <- 0x6b4 GDK_Macedonia_DSE <- 0x6b5 GDK_Ukrainian_I <- 0x6b6 GDK_Ukranian_I <- 0x6b6 GDK_Ukrainian_YI <- 0x6b7 GDK_Ukranian_YI <- 0x6b7 GDK_Cyrillic_JE <- 0x6b8 GDK_Serbian_JE <- 0x6b8 GDK_Cyrillic_LJE <- 0x6b9 GDK_Serbian_LJE <- 0x6b9 GDK_Cyrillic_NJE <- 0x6ba GDK_Serbian_NJE <- 0x6ba GDK_Serbian_TSHE <- 0x6bb GDK_Macedonia_KJE <- 0x6bc GDK_Ukrainian_GHE_WITH_UPTURN <- 0x6bd GDK_Byelorussian_SHORTU <- 0x6be GDK_Cyrillic_DZHE <- 0x6bf GDK_Serbian_DZE <- 0x6bf GDK_Cyrillic_yu <- 0x6c0 GDK_Cyrillic_a <- 0x6c1 GDK_Cyrillic_be <- 0x6c2 GDK_Cyrillic_tse <- 0x6c3 GDK_Cyrillic_de <- 0x6c4 GDK_Cyrillic_ie <- 0x6c5 GDK_Cyrillic_ef <- 0x6c6 GDK_Cyrillic_ghe <- 0x6c7 GDK_Cyrillic_ha <- 0x6c8 GDK_Cyrillic_i <- 0x6c9 GDK_Cyrillic_shorti <- 0x6ca GDK_Cyrillic_ka <- 0x6cb GDK_Cyrillic_el <- 0x6cc GDK_Cyrillic_em <- 0x6cd GDK_Cyrillic_en <- 0x6ce GDK_Cyrillic_o <- 0x6cf GDK_Cyrillic_pe <- 0x6d0 GDK_Cyrillic_ya <- 0x6d1 GDK_Cyrillic_er <- 0x6d2 GDK_Cyrillic_es <- 0x6d3 GDK_Cyrillic_te <- 0x6d4 GDK_Cyrillic_u <- 0x6d5 GDK_Cyrillic_zhe <- 0x6d6 GDK_Cyrillic_ve <- 0x6d7 GDK_Cyrillic_softsign <- 0x6d8 GDK_Cyrillic_yeru <- 0x6d9 GDK_Cyrillic_ze <- 0x6da GDK_Cyrillic_sha <- 0x6db GDK_Cyrillic_e <- 0x6dc GDK_Cyrillic_shcha <- 0x6dd GDK_Cyrillic_che <- 0x6de GDK_Cyrillic_hardsign <- 0x6df GDK_Cyrillic_YU <- 0x6e0 GDK_Cyrillic_A <- 0x6e1 GDK_Cyrillic_BE <- 0x6e2 GDK_Cyrillic_TSE <- 0x6e3 GDK_Cyrillic_DE <- 0x6e4 GDK_Cyrillic_IE <- 0x6e5 GDK_Cyrillic_EF <- 0x6e6 GDK_Cyrillic_GHE <- 0x6e7 GDK_Cyrillic_HA <- 0x6e8 GDK_Cyrillic_I <- 0x6e9 GDK_Cyrillic_SHORTI <- 0x6ea GDK_Cyrillic_KA <- 0x6eb GDK_Cyrillic_EL <- 0x6ec GDK_Cyrillic_EM <- 0x6ed GDK_Cyrillic_EN <- 0x6ee GDK_Cyrillic_O <- 0x6ef GDK_Cyrillic_PE <- 0x6f0 GDK_Cyrillic_YA <- 0x6f1 GDK_Cyrillic_ER <- 0x6f2 GDK_Cyrillic_ES <- 0x6f3 GDK_Cyrillic_TE <- 0x6f4 GDK_Cyrillic_U <- 0x6f5 GDK_Cyrillic_ZHE <- 0x6f6 GDK_Cyrillic_VE <- 0x6f7 GDK_Cyrillic_SOFTSIGN <- 0x6f8 GDK_Cyrillic_YERU <- 0x6f9 GDK_Cyrillic_ZE <- 0x6fa GDK_Cyrillic_SHA <- 0x6fb GDK_Cyrillic_E <- 0x6fc GDK_Cyrillic_SHCHA <- 0x6fd GDK_Cyrillic_CHE <- 0x6fe GDK_Cyrillic_HARDSIGN <- 0x6ff GDK_Greek_ALPHAaccent <- 0x7a1 GDK_Greek_EPSILONaccent <- 0x7a2 GDK_Greek_ETAaccent <- 0x7a3 GDK_Greek_IOTAaccent <- 0x7a4 GDK_Greek_IOTAdieresis <- 0x7a5 GDK_Greek_IOTAdiaeresis <- GDK_Greek_IOTAdieresis GDK_Greek_OMICRONaccent <- 0x7a7 GDK_Greek_UPSILONaccent <- 0x7a8 GDK_Greek_UPSILONdieresis <- 0x7a9 GDK_Greek_OMEGAaccent <- 0x7ab GDK_Greek_accentdieresis <- 0x7ae GDK_Greek_horizbar <- 0x7af GDK_Greek_alphaaccent <- 0x7b1 GDK_Greek_epsilonaccent <- 0x7b2 GDK_Greek_etaaccent <- 0x7b3 GDK_Greek_iotaaccent <- 0x7b4 GDK_Greek_iotadieresis <- 0x7b5 GDK_Greek_iotaaccentdieresis <- 0x7b6 GDK_Greek_omicronaccent <- 0x7b7 GDK_Greek_upsilonaccent <- 0x7b8 GDK_Greek_upsilondieresis <- 0x7b9 GDK_Greek_upsilonaccentdieresis <- 0x7ba GDK_Greek_omegaaccent <- 0x7bb GDK_Greek_ALPHA <- 0x7c1 GDK_Greek_BETA <- 0x7c2 GDK_Greek_GAMMA <- 0x7c3 GDK_Greek_DELTA <- 0x7c4 GDK_Greek_EPSILON <- 0x7c5 GDK_Greek_ZETA <- 0x7c6 GDK_Greek_ETA <- 0x7c7 GDK_Greek_THETA <- 0x7c8 GDK_Greek_IOTA <- 0x7c9 GDK_Greek_KAPPA <- 0x7ca GDK_Greek_LAMDA <- 0x7cb GDK_Greek_LAMBDA <- 0x7cb GDK_Greek_MU <- 0x7cc GDK_Greek_NU <- 0x7cd GDK_Greek_XI <- 0x7ce GDK_Greek_OMICRON <- 0x7cf GDK_Greek_PI <- 0x7d0 GDK_Greek_RHO <- 0x7d1 GDK_Greek_SIGMA <- 0x7d2 GDK_Greek_TAU <- 0x7d4 GDK_Greek_UPSILON <- 0x7d5 GDK_Greek_PHI <- 0x7d6 GDK_Greek_CHI <- 0x7d7 GDK_Greek_PSI <- 0x7d8 GDK_Greek_OMEGA <- 0x7d9 GDK_Greek_alpha <- 0x7e1 GDK_Greek_beta <- 0x7e2 GDK_Greek_gamma <- 0x7e3 GDK_Greek_delta <- 0x7e4 GDK_Greek_epsilon <- 0x7e5 GDK_Greek_zeta <- 0x7e6 GDK_Greek_eta <- 0x7e7 GDK_Greek_theta <- 0x7e8 GDK_Greek_iota <- 0x7e9 GDK_Greek_kappa <- 0x7ea GDK_Greek_lamda <- 0x7eb GDK_Greek_lambda <- 0x7eb GDK_Greek_mu <- 0x7ec GDK_Greek_nu <- 0x7ed GDK_Greek_xi <- 0x7ee GDK_Greek_omicron <- 0x7ef GDK_Greek_pi <- 0x7f0 GDK_Greek_rho <- 0x7f1 GDK_Greek_sigma <- 0x7f2 GDK_Greek_finalsmallsigma <- 0x7f3 GDK_Greek_tau <- 0x7f4 GDK_Greek_upsilon <- 0x7f5 GDK_Greek_phi <- 0x7f6 GDK_Greek_chi <- 0x7f7 GDK_Greek_psi <- 0x7f8 GDK_Greek_omega <- 0x7f9 GDK_Greek_switch <- 0xFF7E GDK_leftradical <- 0x8a1 GDK_topleftradical <- 0x8a2 GDK_horizconnector <- 0x8a3 GDK_topintegral <- 0x8a4 GDK_botintegral <- 0x8a5 GDK_vertconnector <- 0x8a6 GDK_topleftsqbracket <- 0x8a7 GDK_botleftsqbracket <- 0x8a8 GDK_toprightsqbracket <- 0x8a9 GDK_botrightsqbracket <- 0x8aa GDK_topleftparens <- 0x8ab GDK_botleftparens <- 0x8ac GDK_toprightparens <- 0x8ad GDK_botrightparens <- 0x8ae GDK_leftmiddlecurlybrace <- 0x8af GDK_rightmiddlecurlybrace <- 0x8b0 GDK_topleftsummation <- 0x8b1 GDK_botleftsummation <- 0x8b2 GDK_topvertsummationconnector <- 0x8b3 GDK_botvertsummationconnector <- 0x8b4 GDK_toprightsummation <- 0x8b5 GDK_botrightsummation <- 0x8b6 GDK_rightmiddlesummation <- 0x8b7 GDK_lessthanequal <- 0x8bc GDK_notequal <- 0x8bd GDK_greaterthanequal <- 0x8be GDK_integral <- 0x8bf GDK_therefore <- 0x8c0 GDK_variation <- 0x8c1 GDK_infinity <- 0x8c2 GDK_nabla <- 0x8c5 GDK_approximate <- 0x8c8 GDK_similarequal <- 0x8c9 GDK_ifonlyif <- 0x8cd GDK_implies <- 0x8ce GDK_identical <- 0x8cf GDK_radical <- 0x8d6 GDK_includedin <- 0x8da GDK_includes <- 0x8db GDK_intersection <- 0x8dc GDK_union <- 0x8dd GDK_logicaland <- 0x8de GDK_logicalor <- 0x8df GDK_partialderivative <- 0x8ef GDK_function <- 0x8f6 GDK_leftarrow <- 0x8fb GDK_uparrow <- 0x8fc GDK_rightarrow <- 0x8fd GDK_downarrow <- 0x8fe GDK_blank <- 0x9df GDK_soliddiamond <- 0x9e0 GDK_checkerboard <- 0x9e1 GDK_ht <- 0x9e2 GDK_ff <- 0x9e3 GDK_cr <- 0x9e4 GDK_lf <- 0x9e5 GDK_nl <- 0x9e8 GDK_vt <- 0x9e9 GDK_lowrightcorner <- 0x9ea GDK_uprightcorner <- 0x9eb GDK_upleftcorner <- 0x9ec GDK_lowleftcorner <- 0x9ed GDK_crossinglines <- 0x9ee GDK_horizlinescan1 <- 0x9ef GDK_horizlinescan3 <- 0x9f0 GDK_horizlinescan5 <- 0x9f1 GDK_horizlinescan7 <- 0x9f2 GDK_horizlinescan9 <- 0x9f3 GDK_leftt <- 0x9f4 GDK_rightt <- 0x9f5 GDK_bott <- 0x9f6 GDK_topt <- 0x9f7 GDK_vertbar <- 0x9f8 GDK_emspace <- 0xaa1 GDK_enspace <- 0xaa2 GDK_em3space <- 0xaa3 GDK_em4space <- 0xaa4 GDK_digitspace <- 0xaa5 GDK_punctspace <- 0xaa6 GDK_thinspace <- 0xaa7 GDK_hairspace <- 0xaa8 GDK_emdash <- 0xaa9 GDK_endash <- 0xaaa GDK_signifblank <- 0xaac GDK_ellipsis <- 0xaae GDK_doubbaselinedot <- 0xaaf GDK_onethird <- 0xab0 GDK_twothirds <- 0xab1 GDK_onefifth <- 0xab2 GDK_twofifths <- 0xab3 GDK_threefifths <- 0xab4 GDK_fourfifths <- 0xab5 GDK_onesixth <- 0xab6 GDK_fivesixths <- 0xab7 GDK_careof <- 0xab8 GDK_figdash <- 0xabb GDK_leftanglebracket <- 0xabc GDK_decimalpoint <- 0xabd GDK_rightanglebracket <- 0xabe GDK_marker <- 0xabf GDK_oneeighth <- 0xac3 GDK_threeeighths <- 0xac4 GDK_fiveeighths <- 0xac5 GDK_seveneighths <- 0xac6 GDK_trademark <- 0xac9 GDK_signaturemark <- 0xaca GDK_trademarkincircle <- 0xacb GDK_leftopentriangle <- 0xacc GDK_rightopentriangle <- 0xacd GDK_emopencircle <- 0xace GDK_emopenrectangle <- 0xacf GDK_leftsinglequotemark <- 0xad0 GDK_rightsinglequotemark <- 0xad1 GDK_leftdoublequotemark <- 0xad2 GDK_rightdoublequotemark <- 0xad3 GDK_prescription <- 0xad4 GDK_minutes <- 0xad6 GDK_seconds <- 0xad7 GDK_latincross <- 0xad9 GDK_hexagram <- 0xada GDK_filledrectbullet <- 0xadb GDK_filledlefttribullet <- 0xadc GDK_filledrighttribullet <- 0xadd GDK_emfilledcircle <- 0xade GDK_emfilledrect <- 0xadf GDK_enopencircbullet <- 0xae0 GDK_enopensquarebullet <- 0xae1 GDK_openrectbullet <- 0xae2 GDK_opentribulletup <- 0xae3 GDK_opentribulletdown <- 0xae4 GDK_openstar <- 0xae5 GDK_enfilledcircbullet <- 0xae6 GDK_enfilledsqbullet <- 0xae7 GDK_filledtribulletup <- 0xae8 GDK_filledtribulletdown <- 0xae9 GDK_leftpointer <- 0xaea GDK_rightpointer <- 0xaeb GDK_club <- 0xaec GDK_diamond <- 0xaed GDK_heart <- 0xaee GDK_maltesecross <- 0xaf0 GDK_dagger <- 0xaf1 GDK_doubledagger <- 0xaf2 GDK_checkmark <- 0xaf3 GDK_ballotcross <- 0xaf4 GDK_musicalsharp <- 0xaf5 GDK_musicalflat <- 0xaf6 GDK_malesymbol <- 0xaf7 GDK_femalesymbol <- 0xaf8 GDK_telephone <- 0xaf9 GDK_telephonerecorder <- 0xafa GDK_phonographcopyright <- 0xafb GDK_caret <- 0xafc GDK_singlelowquotemark <- 0xafd GDK_doublelowquotemark <- 0xafe GDK_cursor <- 0xaff GDK_leftcaret <- 0xba3 GDK_rightcaret <- 0xba6 GDK_downcaret <- 0xba8 GDK_upcaret <- 0xba9 GDK_overbar <- 0xbc0 GDK_downtack <- 0xbc2 GDK_upshoe <- 0xbc3 GDK_downstile <- 0xbc4 GDK_underbar <- 0xbc6 GDK_jot <- 0xbca GDK_quad <- 0xbcc GDK_uptack <- 0xbce GDK_circle <- 0xbcf GDK_upstile <- 0xbd3 GDK_downshoe <- 0xbd6 GDK_rightshoe <- 0xbd8 GDK_leftshoe <- 0xbda GDK_lefttack <- 0xbdc GDK_righttack <- 0xbfc GDK_hebrew_doublelowline <- 0xcdf GDK_hebrew_aleph <- 0xce0 GDK_hebrew_bet <- 0xce1 GDK_hebrew_beth <- 0xce1 GDK_hebrew_gimel <- 0xce2 GDK_hebrew_gimmel <- 0xce2 GDK_hebrew_dalet <- 0xce3 GDK_hebrew_daleth <- 0xce3 GDK_hebrew_he <- 0xce4 GDK_hebrew_waw <- 0xce5 GDK_hebrew_zain <- 0xce6 GDK_hebrew_zayin <- 0xce6 GDK_hebrew_chet <- 0xce7 GDK_hebrew_het <- 0xce7 GDK_hebrew_tet <- 0xce8 GDK_hebrew_teth <- 0xce8 GDK_hebrew_yod <- 0xce9 GDK_hebrew_finalkaph <- 0xcea GDK_hebrew_kaph <- 0xceb GDK_hebrew_lamed <- 0xcec GDK_hebrew_finalmem <- 0xced GDK_hebrew_mem <- 0xcee GDK_hebrew_finalnun <- 0xcef GDK_hebrew_nun <- 0xcf0 GDK_hebrew_samech <- 0xcf1 GDK_hebrew_samekh <- 0xcf1 GDK_hebrew_ayin <- 0xcf2 GDK_hebrew_finalpe <- 0xcf3 GDK_hebrew_pe <- 0xcf4 GDK_hebrew_finalzade <- 0xcf5 GDK_hebrew_finalzadi <- 0xcf5 GDK_hebrew_zade <- 0xcf6 GDK_hebrew_zadi <- 0xcf6 GDK_hebrew_qoph <- 0xcf7 GDK_hebrew_kuf <- 0xcf7 GDK_hebrew_resh <- 0xcf8 GDK_hebrew_shin <- 0xcf9 GDK_hebrew_taw <- 0xcfa GDK_hebrew_taf <- 0xcfa GDK_Hebrew_switch <- 0xFF7E GDK_Thai_kokai <- 0xda1 GDK_Thai_khokhai <- 0xda2 GDK_Thai_khokhuat <- 0xda3 GDK_Thai_khokhwai <- 0xda4 GDK_Thai_khokhon <- 0xda5 GDK_Thai_khorakhang <- 0xda6 GDK_Thai_ngongu <- 0xda7 GDK_Thai_chochan <- 0xda8 GDK_Thai_choching <- 0xda9 GDK_Thai_chochang <- 0xdaa GDK_Thai_soso <- 0xdab GDK_Thai_chochoe <- 0xdac GDK_Thai_yoying <- 0xdad GDK_Thai_dochada <- 0xdae GDK_Thai_topatak <- 0xdaf GDK_Thai_thothan <- 0xdb0 GDK_Thai_thonangmontho <- 0xdb1 GDK_Thai_thophuthao <- 0xdb2 GDK_Thai_nonen <- 0xdb3 GDK_Thai_dodek <- 0xdb4 GDK_Thai_totao <- 0xdb5 GDK_Thai_thothung <- 0xdb6 GDK_Thai_thothahan <- 0xdb7 GDK_Thai_thothong <- 0xdb8 GDK_Thai_nonu <- 0xdb9 GDK_Thai_bobaimai <- 0xdba GDK_Thai_popla <- 0xdbb GDK_Thai_phophung <- 0xdbc GDK_Thai_fofa <- 0xdbd GDK_Thai_phophan <- 0xdbe GDK_Thai_fofan <- 0xdbf GDK_Thai_phosamphao <- 0xdc0 GDK_Thai_moma <- 0xdc1 GDK_Thai_yoyak <- 0xdc2 GDK_Thai_rorua <- 0xdc3 GDK_Thai_ru <- 0xdc4 GDK_Thai_loling <- 0xdc5 GDK_Thai_lu <- 0xdc6 GDK_Thai_wowaen <- 0xdc7 GDK_Thai_sosala <- 0xdc8 GDK_Thai_sorusi <- 0xdc9 GDK_Thai_sosua <- 0xdca GDK_Thai_hohip <- 0xdcb GDK_Thai_lochula <- 0xdcc GDK_Thai_oang <- 0xdcd GDK_Thai_honokhuk <- 0xdce GDK_Thai_paiyannoi <- 0xdcf GDK_Thai_saraa <- 0xdd0 GDK_Thai_maihanakat <- 0xdd1 GDK_Thai_saraaa <- 0xdd2 GDK_Thai_saraam <- 0xdd3 GDK_Thai_sarai <- 0xdd4 GDK_Thai_saraii <- 0xdd5 GDK_Thai_saraue <- 0xdd6 GDK_Thai_sarauee <- 0xdd7 GDK_Thai_sarau <- 0xdd8 GDK_Thai_sarauu <- 0xdd9 GDK_Thai_phinthu <- 0xdda GDK_Thai_maihanakat_maitho <- 0xdde GDK_Thai_baht <- 0xddf GDK_Thai_sarae <- 0xde0 GDK_Thai_saraae <- 0xde1 GDK_Thai_sarao <- 0xde2 GDK_Thai_saraaimaimuan <- 0xde3 GDK_Thai_saraaimaimalai <- 0xde4 GDK_Thai_lakkhangyao <- 0xde5 GDK_Thai_maiyamok <- 0xde6 GDK_Thai_maitaikhu <- 0xde7 GDK_Thai_maiek <- 0xde8 GDK_Thai_maitho <- 0xde9 GDK_Thai_maitri <- 0xdea GDK_Thai_maichattawa <- 0xdeb GDK_Thai_thanthakhat <- 0xdec GDK_Thai_nikhahit <- 0xded GDK_Thai_leksun <- 0xdf0 GDK_Thai_leknung <- 0xdf1 GDK_Thai_leksong <- 0xdf2 GDK_Thai_leksam <- 0xdf3 GDK_Thai_leksi <- 0xdf4 GDK_Thai_lekha <- 0xdf5 GDK_Thai_lekhok <- 0xdf6 GDK_Thai_lekchet <- 0xdf7 GDK_Thai_lekpaet <- 0xdf8 GDK_Thai_lekkao <- 0xdf9 GDK_Hangul <- 0xff31 GDK_Hangul_Start <- 0xff32 GDK_Hangul_End <- 0xff33 GDK_Hangul_Hanja <- 0xff34 GDK_Hangul_Jamo <- 0xff35 GDK_Hangul_Romaja <- 0xff36 GDK_Hangul_Codeinput <- 0xff37 GDK_Hangul_Jeonja <- 0xff38 GDK_Hangul_Banja <- 0xff39 GDK_Hangul_PreHanja <- 0xff3a GDK_Hangul_PostHanja <- 0xff3b GDK_Hangul_SingleCandidate <- 0xff3c GDK_Hangul_MultipleCandidate <- 0xff3d GDK_Hangul_PreviousCandidate <- 0xff3e GDK_Hangul_Special <- 0xff3f GDK_Hangul_switch <- 0xFF7E GDK_Hangul_Kiyeog <- 0xea1 GDK_Hangul_SsangKiyeog <- 0xea2 GDK_Hangul_KiyeogSios <- 0xea3 GDK_Hangul_Nieun <- 0xea4 GDK_Hangul_NieunJieuj <- 0xea5 GDK_Hangul_NieunHieuh <- 0xea6 GDK_Hangul_Dikeud <- 0xea7 GDK_Hangul_SsangDikeud <- 0xea8 GDK_Hangul_Rieul <- 0xea9 GDK_Hangul_RieulKiyeog <- 0xeaa GDK_Hangul_RieulMieum <- 0xeab GDK_Hangul_RieulPieub <- 0xeac GDK_Hangul_RieulSios <- 0xead GDK_Hangul_RieulTieut <- 0xeae GDK_Hangul_RieulPhieuf <- 0xeaf GDK_Hangul_RieulHieuh <- 0xeb0 GDK_Hangul_Mieum <- 0xeb1 GDK_Hangul_Pieub <- 0xeb2 GDK_Hangul_SsangPieub <- 0xeb3 GDK_Hangul_PieubSios <- 0xeb4 GDK_Hangul_Sios <- 0xeb5 GDK_Hangul_SsangSios <- 0xeb6 GDK_Hangul_Ieung <- 0xeb7 GDK_Hangul_Jieuj <- 0xeb8 GDK_Hangul_SsangJieuj <- 0xeb9 GDK_Hangul_Cieuc <- 0xeba GDK_Hangul_Khieuq <- 0xebb GDK_Hangul_Tieut <- 0xebc GDK_Hangul_Phieuf <- 0xebd GDK_Hangul_Hieuh <- 0xebe GDK_Hangul_A <- 0xebf GDK_Hangul_AE <- 0xec0 GDK_Hangul_YA <- 0xec1 GDK_Hangul_YAE <- 0xec2 GDK_Hangul_EO <- 0xec3 GDK_Hangul_E <- 0xec4 GDK_Hangul_YEO <- 0xec5 GDK_Hangul_YE <- 0xec6 GDK_Hangul_O <- 0xec7 GDK_Hangul_WA <- 0xec8 GDK_Hangul_WAE <- 0xec9 GDK_Hangul_OE <- 0xeca GDK_Hangul_YO <- 0xecb GDK_Hangul_U <- 0xecc GDK_Hangul_WEO <- 0xecd GDK_Hangul_WE <- 0xece GDK_Hangul_WI <- 0xecf GDK_Hangul_YU <- 0xed0 GDK_Hangul_EU <- 0xed1 GDK_Hangul_YI <- 0xed2 GDK_Hangul_I <- 0xed3 GDK_Hangul_J_Kiyeog <- 0xed4 GDK_Hangul_J_SsangKiyeog <- 0xed5 GDK_Hangul_J_KiyeogSios <- 0xed6 GDK_Hangul_J_Nieun <- 0xed7 GDK_Hangul_J_NieunJieuj <- 0xed8 GDK_Hangul_J_NieunHieuh <- 0xed9 GDK_Hangul_J_Dikeud <- 0xeda GDK_Hangul_J_Rieul <- 0xedb GDK_Hangul_J_RieulKiyeog <- 0xedc GDK_Hangul_J_RieulMieum <- 0xedd GDK_Hangul_J_RieulPieub <- 0xede GDK_Hangul_J_RieulSios <- 0xedf GDK_Hangul_J_RieulTieut <- 0xee0 GDK_Hangul_J_RieulPhieuf <- 0xee1 GDK_Hangul_J_RieulHieuh <- 0xee2 GDK_Hangul_J_Mieum <- 0xee3 GDK_Hangul_J_Pieub <- 0xee4 GDK_Hangul_J_PieubSios <- 0xee5 GDK_Hangul_J_Sios <- 0xee6 GDK_Hangul_J_SsangSios <- 0xee7 GDK_Hangul_J_Ieung <- 0xee8 GDK_Hangul_J_Jieuj <- 0xee9 GDK_Hangul_J_Cieuc <- 0xeea GDK_Hangul_J_Khieuq <- 0xeeb GDK_Hangul_J_Tieut <- 0xeec GDK_Hangul_J_Phieuf <- 0xeed GDK_Hangul_J_Hieuh <- 0xeee GDK_Hangul_RieulYeorinHieuh <- 0xeef GDK_Hangul_SunkyeongeumMieum <- 0xef0 GDK_Hangul_SunkyeongeumPieub <- 0xef1 GDK_Hangul_PanSios <- 0xef2 GDK_Hangul_KkogjiDalrinIeung <- 0xef3 GDK_Hangul_SunkyeongeumPhieuf <- 0xef4 GDK_Hangul_YeorinHieuh <- 0xef5 GDK_Hangul_AraeA <- 0xef6 GDK_Hangul_AraeAE <- 0xef7 GDK_Hangul_J_PanSios <- 0xef8 GDK_Hangul_J_KkogjiDalrinIeung <- 0xef9 GDK_Hangul_J_YeorinHieuh <- 0xefa GDK_Korean_Won <- 0xeff GDK_EcuSign <- 0x20a0 GDK_ColonSign <- 0x20a1 GDK_CruzeiroSign <- 0x20a2 GDK_FFrancSign <- 0x20a3 GDK_LiraSign <- 0x20a4 GDK_MillSign <- 0x20a5 GDK_NairaSign <- 0x20a6 GDK_PesetaSign <- 0x20a7 GDK_RupeeSign <- 0x20a8 GDK_WonSign <- 0x20a9 GDK_NewSheqelSign <- 0x20aa GDK_DongSign <- 0x20ab GDK_EuroSign <- 0x20ac RGtk2/R/pangoFuncs.R0000644000176000001440000021065112362217673013700 0ustar ripleyusers pangoColorGetType <- function() { w <- .RGtkCall("S_pango_color_get_type", PACKAGE = "RGtk2") return(w) } pangoColorCopy <- function(object) { checkPtrType(object, "PangoColor") w <- .RGtkCall("S_pango_color_copy", object, PACKAGE = "RGtk2") return(w) } pangoColorFree <- function(object) { checkPtrType(object, "PangoColor") w <- .RGtkCall("S_pango_color_free", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoColorParse <- function(spec) { spec <- as.character(spec) w <- .RGtkCall("S_pango_color_parse", spec, PACKAGE = "RGtk2") return(w) } pangoAttrTypeRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_pango_attr_type_register", name, PACKAGE = "RGtk2") return(w) } pangoAttributeCopy <- function(object) { checkPtrType(object, "PangoAttribute") w <- .RGtkCall("S_pango_attribute_copy", object, PACKAGE = "RGtk2") return(w) } pangoAttributeEqual <- function(object, attr2) { checkPtrType(object, "PangoAttribute") checkPtrType(attr2, "PangoAttribute") w <- .RGtkCall("S_pango_attribute_equal", object, attr2, PACKAGE = "RGtk2") return(w) } pangoAttrLanguageNew <- function(language) { checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_attr_language_new", language, PACKAGE = "RGtk2") return(w) } pangoAttrFamilyNew <- function(family) { family <- as.character(family) w <- .RGtkCall("S_pango_attr_family_new", family, PACKAGE = "RGtk2") return(w) } pangoAttrForegroundNew <- function(red, green, blue) { red <- as.integer(red) green <- as.integer(green) blue <- as.integer(blue) w <- .RGtkCall("S_pango_attr_foreground_new", red, green, blue, PACKAGE = "RGtk2") return(w) } pangoAttrBackgroundNew <- function(red, green, blue) { red <- as.integer(red) green <- as.integer(green) blue <- as.integer(blue) w <- .RGtkCall("S_pango_attr_background_new", red, green, blue, PACKAGE = "RGtk2") return(w) } pangoAttrStrikethroughColorNew <- function(red, green, blue) { red <- as.integer(red) green <- as.integer(green) blue <- as.integer(blue) w <- .RGtkCall("S_pango_attr_strikethrough_color_new", red, green, blue, PACKAGE = "RGtk2") return(w) } pangoAttrUnderlineColorNew <- function(red, green, blue) { red <- as.integer(red) green <- as.integer(green) blue <- as.integer(blue) w <- .RGtkCall("S_pango_attr_underline_color_new", red, green, blue, PACKAGE = "RGtk2") return(w) } pangoAttrSizeNew <- function(size) { size <- as.integer(size) w <- .RGtkCall("S_pango_attr_size_new", size, PACKAGE = "RGtk2") return(w) } pangoAttrSizeNewAbsolute <- function(size) { size <- as.integer(size) w <- .RGtkCall("S_pango_attr_size_new_absolute", size, PACKAGE = "RGtk2") return(w) } pangoAttrStyleNew <- function(style) { w <- .RGtkCall("S_pango_attr_style_new", style, PACKAGE = "RGtk2") return(w) } pangoAttrWeightNew <- function(weight) { w <- .RGtkCall("S_pango_attr_weight_new", weight, PACKAGE = "RGtk2") return(w) } pangoAttrVariantNew <- function(variant) { w <- .RGtkCall("S_pango_attr_variant_new", variant, PACKAGE = "RGtk2") return(w) } pangoAttrStretchNew <- function(stretch) { w <- .RGtkCall("S_pango_attr_stretch_new", stretch, PACKAGE = "RGtk2") return(w) } pangoAttrFontDescNew <- function(desc) { checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_attr_font_desc_new", desc, PACKAGE = "RGtk2") return(w) } pangoAttrUnderlineNew <- function(underline) { w <- .RGtkCall("S_pango_attr_underline_new", underline, PACKAGE = "RGtk2") return(w) } pangoAttrStrikethroughNew <- function(strikethrough) { strikethrough <- as.logical(strikethrough) w <- .RGtkCall("S_pango_attr_strikethrough_new", strikethrough, PACKAGE = "RGtk2") return(w) } pangoAttrRiseNew <- function(rise) { rise <- as.integer(rise) w <- .RGtkCall("S_pango_attr_rise_new", rise, PACKAGE = "RGtk2") return(w) } pangoAttrShapeNew <- function(ink.rect, logical.rect) { ink.rect <- as.PangoRectangle(ink.rect) logical.rect <- as.PangoRectangle(logical.rect) w <- .RGtkCall("S_pango_attr_shape_new", ink.rect, logical.rect, PACKAGE = "RGtk2") return(w) } pangoAttrShapeNewWithData <- function(ink.rect, logical.rect, data) { ink.rect <- as.PangoRectangle(ink.rect) logical.rect <- as.PangoRectangle(logical.rect) w <- .RGtkCall("S_pango_attr_shape_new_with_data", ink.rect, logical.rect, data, PACKAGE = "RGtk2") return(w) } pangoAttrLetterSpacingNew <- function(letter.spacing) { letter.spacing <- as.integer(letter.spacing) w <- .RGtkCall("S_pango_attr_letter_spacing_new", letter.spacing, PACKAGE = "RGtk2") return(w) } pangoAttrScaleNew <- function(scale.factor) { scale.factor <- as.numeric(scale.factor) w <- .RGtkCall("S_pango_attr_scale_new", scale.factor, PACKAGE = "RGtk2") return(w) } pangoAttrFallbackNew <- function(fallback) { fallback <- as.logical(fallback) w <- .RGtkCall("S_pango_attr_fallback_new", fallback, PACKAGE = "RGtk2") return(w) } pangoAttrListGetType <- function() { w <- .RGtkCall("S_pango_attr_list_get_type", PACKAGE = "RGtk2") return(w) } pangoAttrListNew <- function() { w <- .RGtkCall("S_pango_attr_list_new", PACKAGE = "RGtk2") return(w) } pangoAttrListCopy <- function(object) { checkPtrType(object, "PangoAttrList") w <- .RGtkCall("S_pango_attr_list_copy", object, PACKAGE = "RGtk2") return(w) } pangoAttrListInsert <- function(object, attr) { checkPtrType(object, "PangoAttrList") checkPtrType(attr, "PangoAttribute") w <- .RGtkCall("S_pango_attr_list_insert", object, attr, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrListInsertBefore <- function(object, attr) { checkPtrType(object, "PangoAttrList") checkPtrType(attr, "PangoAttribute") w <- .RGtkCall("S_pango_attr_list_insert_before", object, attr, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrListChange <- function(object, attr) { checkPtrType(object, "PangoAttrList") checkPtrType(attr, "PangoAttribute") w <- .RGtkCall("S_pango_attr_list_change", object, attr, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrListSplice <- function(object, other, pos, len) { checkPtrType(object, "PangoAttrList") checkPtrType(other, "PangoAttrList") pos <- as.integer(pos) len <- as.integer(len) w <- .RGtkCall("S_pango_attr_list_splice", object, other, pos, len, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrListGetIterator <- function(object) { checkPtrType(object, "PangoAttrList") w <- .RGtkCall("S_pango_attr_list_get_iterator", object, PACKAGE = "RGtk2") return(w) } pangoAttrListFilter <- function(object, func, data) { checkPtrType(object, "PangoAttrList") func <- as.function(func) w <- .RGtkCall("S_pango_attr_list_filter", object, func, data, PACKAGE = "RGtk2") return(w) } pangoAttrIteratorRange <- function(object) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_range", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrIteratorNext <- function(object) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_next", object, PACKAGE = "RGtk2") return(w) } pangoAttrIteratorCopy <- function(object) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_copy", object, PACKAGE = "RGtk2") return(w) } pangoAttrIteratorGet <- function(object, type) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_get", object, type, PACKAGE = "RGtk2") return(w) } pangoAttrIteratorGetFont <- function(object) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_get_font", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrIteratorGetAttrs <- function(object) { checkPtrType(object, "PangoAttrIterator") w <- .RGtkCall("S_pango_attr_iterator_get_attrs", object, PACKAGE = "RGtk2") return(w) } pangoParseMarkup <- function(markup.text, length = -1, accel.marker = 0, .errwarn = TRUE) { markup.text <- as.character(markup.text) length <- as.integer(length) accel.marker <- as.numeric(accel.marker) w <- .RGtkCall("S_pango_parse_markup", markup.text, length, accel.marker, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } pangoFindParagraphBoundary <- function(text, length = -1) { text <- as.character(text) length <- as.integer(length) w <- .RGtkCall("S_pango_find_paragraph_boundary", text, length, PACKAGE = "RGtk2") return(invisible(w)) } pangoCairoFontMapGetType <- function() { w <- .RGtkCall("S_pango_cairo_font_map_get_type", PACKAGE = "RGtk2") return(w) } pangoCairoFontMapNew <- function() { w <- .RGtkCall("S_pango_cairo_font_map_new", PACKAGE = "RGtk2") return(w) } pangoCairoFontMapGetDefault <- function() { w <- .RGtkCall("S_pango_cairo_font_map_get_default", PACKAGE = "RGtk2") return(w) } pangoCairoFontMapSetResolution <- function(object, dpi) { checkPtrType(object, "PangoCairoFontMap") dpi <- as.numeric(dpi) w <- .RGtkCall("S_pango_cairo_font_map_set_resolution", object, dpi, PACKAGE = "RGtk2") return(invisible(w)) } pangoCairoFontMapGetResolution <- function(object) { checkPtrType(object, "PangoCairoFontMap") w <- .RGtkCall("S_pango_cairo_font_map_get_resolution", object, PACKAGE = "RGtk2") return(w) } pangoCairoFontMapCreateContext <- function(object) { checkPtrType(object, "PangoCairoFontMap") w <- .RGtkCall("S_pango_cairo_font_map_create_context", object, PACKAGE = "RGtk2") return(w) } pangoCairoUpdateContext <- function(cr, context) { checkPtrType(cr, "Cairo") checkPtrType(context, "PangoContext") w <- .RGtkCall("S_pango_cairo_update_context", cr, context, PACKAGE = "RGtk2") return(w) } pangoCairoContextSetFontOptions <- function(context, options) { checkPtrType(context, "PangoContext") checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_pango_cairo_context_set_font_options", context, options, PACKAGE = "RGtk2") return(w) } pangoCairoContextGetFontOptions <- function(context) { checkPtrType(context, "PangoContext") w <- .RGtkCall("S_pango_cairo_context_get_font_options", context, PACKAGE = "RGtk2") return(w) } pangoCairoContextSetResolution <- function(context, dpi) { checkPtrType(context, "PangoContext") dpi <- as.numeric(dpi) w <- .RGtkCall("S_pango_cairo_context_set_resolution", context, dpi, PACKAGE = "RGtk2") return(w) } pangoCairoContextGetResolution <- function(context) { checkPtrType(context, "PangoContext") w <- .RGtkCall("S_pango_cairo_context_get_resolution", context, PACKAGE = "RGtk2") return(w) } pangoCairoCreateLayout <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_pango_cairo_create_layout", cr, PACKAGE = "RGtk2") return(w) } pangoCairoUpdateLayout <- function(cr, layout) { checkPtrType(cr, "Cairo") checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_pango_cairo_update_layout", cr, layout, PACKAGE = "RGtk2") return(w) } pangoCairoShowGlyphString <- function(cr, font, glyphs) { checkPtrType(cr, "Cairo") checkPtrType(font, "PangoFont") checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_pango_cairo_show_glyph_string", cr, font, glyphs, PACKAGE = "RGtk2") return(w) } pangoCairoShowLayoutLine <- function(cr, line) { checkPtrType(cr, "Cairo") checkPtrType(line, "PangoLayoutLine") w <- .RGtkCall("S_pango_cairo_show_layout_line", cr, line, PACKAGE = "RGtk2") return(w) } pangoCairoShowLayout <- function(cr, layout) { checkPtrType(cr, "Cairo") checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_pango_cairo_show_layout", cr, layout, PACKAGE = "RGtk2") return(w) } pangoCairoGlyphStringPath <- function(cr, font, glyphs) { checkPtrType(cr, "Cairo") checkPtrType(font, "PangoFont") checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_pango_cairo_glyph_string_path", cr, font, glyphs, PACKAGE = "RGtk2") return(w) } pangoCairoLayoutLinePath <- function(cr, line) { checkPtrType(cr, "Cairo") checkPtrType(line, "PangoLayoutLine") w <- .RGtkCall("S_pango_cairo_layout_line_path", cr, line, PACKAGE = "RGtk2") return(w) } pangoCairoLayoutPath <- function(cr, layout) { checkPtrType(cr, "Cairo") checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_pango_cairo_layout_path", cr, layout, PACKAGE = "RGtk2") return(w) } pangoContextSetFontMap <- function(object, font.map) { checkPtrType(object, "PangoContext") checkPtrType(font.map, "PangoFontMap") w <- .RGtkCall("S_pango_context_set_font_map", object, font.map, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetFontMap <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_font_map", object, PACKAGE = "RGtk2") return(w) } pangoContextListFamilies <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_list_families", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoGetMirrorChar <- function(ch) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") ch <- as.numeric(ch) w <- .RGtkCall("S_pango_get_mirror_char", ch, PACKAGE = "RGtk2") return(w) } pangoUnicharDirection <- function(ch) { ch <- as.numeric(ch) w <- .RGtkCall("S_pango_unichar_direction", ch, PACKAGE = "RGtk2") return(w) } pangoFindBaseDir <- function(text, length = -1) { text <- as.character(text) length <- as.integer(length) w <- .RGtkCall("S_pango_find_base_dir", text, length, PACKAGE = "RGtk2") return(w) } pangoContextLoadFont <- function(object, desc) { checkPtrType(object, "PangoContext") checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_context_load_font", object, desc, PACKAGE = "RGtk2") return(w) } pangoContextLoadFontset <- function(object, desc, language) { checkPtrType(object, "PangoContext") checkPtrType(desc, "PangoFontDescription") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_context_load_fontset", object, desc, language, PACKAGE = "RGtk2") return(w) } pangoContextSetMatrix <- function(object, matrix) { checkPtrType(object, "PangoContext") checkPtrType(matrix, "PangoMatrix") w <- .RGtkCall("S_pango_context_set_matrix", object, matrix, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetMatrix <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_matrix", object, PACKAGE = "RGtk2") return(w) } pangoContextGetMetrics <- function(object, desc, language = NULL) { checkPtrType(object, "PangoContext") checkPtrType(desc, "PangoFontDescription") if (!is.null( language )) checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_context_get_metrics", object, desc, language, PACKAGE = "RGtk2") return(w) } pangoContextSetFontDescription <- function(object, desc) { checkPtrType(object, "PangoContext") checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_context_set_font_description", object, desc, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetFontDescription <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_font_description", object, PACKAGE = "RGtk2") return(w) } pangoContextGetLanguage <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_language", object, PACKAGE = "RGtk2") return(w) } pangoContextSetLanguage <- function(object, language) { checkPtrType(object, "PangoContext") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_context_set_language", object, language, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextSetBaseDir <- function(object, direction) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_set_base_dir", object, direction, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetBaseDir <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_base_dir", object, PACKAGE = "RGtk2") return(w) } pangoItemize <- function(context, text, start.index, length, attrs, cached.iter = NULL) { checkPtrType(context, "PangoContext") text <- as.character(text) start.index <- as.integer(start.index) length <- as.integer(length) checkPtrType(attrs, "PangoAttrList") if (!is.null( cached.iter )) checkPtrType(cached.iter, "PangoAttrIterator") w <- .RGtkCall("S_pango_itemize", context, text, start.index, length, attrs, cached.iter, PACKAGE = "RGtk2") return(w) } pangoItemizeWithBaseDir <- function(context, base.dir, text, start.index, length, attrs, cached.iter = NULL) { checkPtrType(context, "PangoContext") text <- as.character(text) start.index <- as.integer(start.index) length <- as.integer(length) checkPtrType(attrs, "PangoAttrList") if (!is.null( cached.iter )) checkPtrType(cached.iter, "PangoAttrIterator") w <- .RGtkCall("S_pango_itemize_with_base_dir", context, base.dir, text, start.index, length, attrs, cached.iter, PACKAGE = "RGtk2") return(w) } pangoCoverageNew <- function() { w <- .RGtkCall("S_pango_coverage_new", PACKAGE = "RGtk2") return(w) } pangoCoverageCopy <- function(object) { checkPtrType(object, "PangoCoverage") w <- .RGtkCall("S_pango_coverage_copy", object, PACKAGE = "RGtk2") return(w) } pangoCoverageGet <- function(object, index) { checkPtrType(object, "PangoCoverage") index <- as.integer(index) w <- .RGtkCall("S_pango_coverage_get", object, index, PACKAGE = "RGtk2") return(w) } pangoCoverageSet <- function(object, index, level) { checkPtrType(object, "PangoCoverage") index <- as.integer(index) w <- .RGtkCall("S_pango_coverage_set", object, index, level, PACKAGE = "RGtk2") return(invisible(w)) } pangoCoverageMax <- function(object, other) { checkPtrType(object, "PangoCoverage") checkPtrType(other, "PangoCoverage") w <- .RGtkCall("S_pango_coverage_max", object, other, PACKAGE = "RGtk2") return(invisible(w)) } pangoCoverageToBytes <- function(object) { checkPtrType(object, "PangoCoverage") w <- .RGtkCall("S_pango_coverage_to_bytes", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoCoverageFromBytes <- function(bytes) { bytes <- as.list(as.raw(bytes)) w <- .RGtkCall("S_pango_coverage_from_bytes", bytes, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionNew <- function() { w <- .RGtkCall("S_pango_font_description_new", PACKAGE = "RGtk2") return(w) } pangoFontDescriptionCopy <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_copy", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionCopyStatic <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_copy_static", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionHash <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_hash", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionEqual <- function(object, desc2) { checkPtrType(object, "PangoFontDescription") checkPtrType(desc2, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_equal", object, desc2, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetFamily <- function(object, family) { checkPtrType(object, "PangoFontDescription") family <- as.character(family) w <- .RGtkCall("S_pango_font_description_set_family", object, family, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionSetFamilyStatic <- function(object, family) { checkPtrType(object, "PangoFontDescription") family <- as.character(family) w <- .RGtkCall("S_pango_font_description_set_family_static", object, family, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetFamily <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_family", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetStyle <- function(object, style) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_set_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetStyle <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_style", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetVariant <- function(object, variant) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_set_variant", object, variant, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetVariant <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_variant", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetWeight <- function(object, weight) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_set_weight", object, weight, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetWeight <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_weight", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetStretch <- function(object, stretch) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_set_stretch", object, stretch, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetStretch <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_stretch", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetAbsoluteSize <- function(object, size) { checkPtrType(object, "PangoFontDescription") size <- as.numeric(size) w <- .RGtkCall("S_pango_font_description_set_absolute_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetSizeIsAbsolute <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_size_is_absolute", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetSize <- function(object, size) { checkPtrType(object, "PangoFontDescription") size <- as.integer(size) w <- .RGtkCall("S_pango_font_description_set_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetSize <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_size", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionGetSetFields <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_set_fields", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionUnsetFields <- function(object, to.unset) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_unset_fields", object, to.unset, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionMerge <- function(object, desc.to.merge, replace.existing) { checkPtrType(object, "PangoFontDescription") checkPtrType(desc.to.merge, "PangoFontDescription") replace.existing <- as.logical(replace.existing) w <- .RGtkCall("S_pango_font_description_merge", object, desc.to.merge, replace.existing, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionBetterMatch <- function(object, old.match = NULL, new.match) { checkPtrType(object, "PangoFontDescription") if (!is.null( old.match )) checkPtrType(old.match, "PangoFontDescription") checkPtrType(new.match, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_better_match", object, old.match, new.match, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionFromString <- function(str) { str <- as.character(str) w <- .RGtkCall("S_pango_font_description_from_string", str, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionToString <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_to_string", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionToFilename <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_to_filename", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetType <- function() { w <- .RGtkCall("S_pango_font_metrics_get_type", PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetAscent <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_ascent", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetDescent <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_descent", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetApproximateCharWidth <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_approximate_char_width", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetApproximateDigitWidth <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_approximate_digit_width", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetStrikethroughPosition <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_strikethrough_position", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetStrikethroughThickness <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_strikethrough_thickness", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetUnderlinePosition <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_underline_position", object, PACKAGE = "RGtk2") return(w) } pangoFontMetricsGetUnderlineThickness <- function(object) { checkPtrType(object, "PangoFontMetrics") w <- .RGtkCall("S_pango_font_metrics_get_underline_thickness", object, PACKAGE = "RGtk2") return(w) } pangoFontFamilyGetType <- function() { w <- .RGtkCall("S_pango_font_family_get_type", PACKAGE = "RGtk2") return(w) } pangoFontFamilyListFaces <- function(object) { checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_list_faces", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontFamilyGetName <- function(object) { checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_get_name", object, PACKAGE = "RGtk2") return(w) } pangoFontFamilyIsMonospace <- function(object) { checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_is_monospace", object, PACKAGE = "RGtk2") return(w) } pangoFontFaceGetType <- function() { w <- .RGtkCall("S_pango_font_face_get_type", PACKAGE = "RGtk2") return(w) } pangoFontFaceDescribe <- function(object) { checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_describe", object, PACKAGE = "RGtk2") return(w) } pangoFontFaceGetFaceName <- function(object) { checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_get_face_name", object, PACKAGE = "RGtk2") return(w) } pangoFontFaceListSizes <- function(object) { checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_list_sizes", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontGetType <- function() { w <- .RGtkCall("S_pango_font_get_type", PACKAGE = "RGtk2") return(w) } pangoFontDescribe <- function(object) { checkPtrType(object, "PangoFont") w <- .RGtkCall("S_pango_font_describe", object, PACKAGE = "RGtk2") return(w) } pangoFontGetCoverage <- function(object, language) { checkPtrType(object, "PangoFont") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_font_get_coverage", object, language, PACKAGE = "RGtk2") return(w) } pangoFontGetMetrics <- function(object, language = NULL) { checkPtrType(object, "PangoFont") if (!is.null( language )) checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_font_get_metrics", object, language, PACKAGE = "RGtk2") return(w) } pangoFontGetGlyphExtents <- function(object, glyph) { checkPtrType(object, "PangoFont") glyph <- as.numeric(glyph) w <- .RGtkCall("S_pango_font_get_glyph_extents", object, glyph, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontGetFontMap <- function(object) { checkPtrType(object, "PangoFont") w <- .RGtkCall("S_pango_font_get_font_map", object, PACKAGE = "RGtk2") return(w) } pangoFontMapLoadFont <- function(object, context, desc) { checkPtrType(object, "PangoFontMap") checkPtrType(context, "PangoContext") checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_font_map_load_font", object, context, desc, PACKAGE = "RGtk2") return(w) } pangoFontMapLoadFontset <- function(object, context, desc, language) { checkPtrType(object, "PangoFontMap") checkPtrType(context, "PangoContext") checkPtrType(desc, "PangoFontDescription") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_font_map_load_fontset", object, context, desc, language, PACKAGE = "RGtk2") return(w) } pangoFontMapListFamilies <- function(object) { checkPtrType(object, "PangoFontMap") w <- .RGtkCall("S_pango_font_map_list_families", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontsetGetFont <- function(object, wc) { checkPtrType(object, "PangoFontset") wc <- as.numeric(wc) w <- .RGtkCall("S_pango_fontset_get_font", object, wc, PACKAGE = "RGtk2") return(w) } pangoFontsetGetMetrics <- function(object) { checkPtrType(object, "PangoFontset") w <- .RGtkCall("S_pango_fontset_get_metrics", object, PACKAGE = "RGtk2") return(w) } pangoFontsetForeach <- function(object, func, data) { checkPtrType(object, "PangoFontset") func <- as.function(func) w <- .RGtkCall("S_pango_fontset_foreach", object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } pangoGlyphStringNew <- function() { w <- .RGtkCall("S_pango_glyph_string_new", PACKAGE = "RGtk2") return(w) } pangoGlyphStringSetSize <- function(object, new.len) { checkPtrType(object, "PangoGlyphString") new.len <- as.integer(new.len) w <- .RGtkCall("S_pango_glyph_string_set_size", object, new.len, PACKAGE = "RGtk2") return(invisible(w)) } pangoGlyphStringGetType <- function() { w <- .RGtkCall("S_pango_glyph_string_get_type", PACKAGE = "RGtk2") return(w) } pangoGlyphStringCopy <- function(object) { checkPtrType(object, "PangoGlyphString") w <- .RGtkCall("S_pango_glyph_string_copy", object, PACKAGE = "RGtk2") return(w) } pangoGlyphStringExtents <- function(object, font) { checkPtrType(object, "PangoGlyphString") checkPtrType(font, "PangoFont") w <- .RGtkCall("S_pango_glyph_string_extents", object, font, PACKAGE = "RGtk2") return(invisible(w)) } pangoGlyphStringExtentsRange <- function(object, start, end, font) { checkPtrType(object, "PangoGlyphString") start <- as.integer(start) end <- as.integer(end) checkPtrType(font, "PangoFont") w <- .RGtkCall("S_pango_glyph_string_extents_range", object, start, end, font, PACKAGE = "RGtk2") return(invisible(w)) } pangoGlyphItemSplit <- function(orig, text, split.index) { checkPtrType(orig, "PangoGlyphItem") text <- as.character(text) split.index <- as.integer(split.index) w <- .RGtkCall("S_pango_glyph_item_split", orig, text, split.index, PACKAGE = "RGtk2") return(w) } pangoGlyphItemApplyAttrs <- function(glyph.item, text, list) { checkPtrType(glyph.item, "PangoGlyphItem") text <- as.character(text) checkPtrType(list, "PangoAttrList") w <- .RGtkCall("S_pango_glyph_item_apply_attrs", glyph.item, text, list, PACKAGE = "RGtk2") return(w) } pangoGlyphItemLetterSpace <- function(glyph.item, text, log.attrs) { checkPtrType(glyph.item, "PangoGlyphItem") text <- as.character(text) log.attrs <- lapply(log.attrs, function(x) { checkPtrType(x, "PangoLogAttr"); x }) w <- .RGtkCall("S_pango_glyph_item_letter_space", glyph.item, text, log.attrs, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixTranslate <- function(object, tx, ty) { checkPtrType(object, "PangoMatrix") tx <- as.numeric(tx) ty <- as.numeric(ty) w <- .RGtkCall("S_pango_matrix_translate", object, tx, ty, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixScale <- function(object, scale.x, scale.y) { checkPtrType(object, "PangoMatrix") scale.x <- as.numeric(scale.x) scale.y <- as.numeric(scale.y) w <- .RGtkCall("S_pango_matrix_scale", object, scale.x, scale.y, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixRotate <- function(object, degrees) { checkPtrType(object, "PangoMatrix") degrees <- as.numeric(degrees) w <- .RGtkCall("S_pango_matrix_rotate", object, degrees, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixConcat <- function(object, new.matrix) { checkPtrType(object, "PangoMatrix") checkPtrType(new.matrix, "PangoMatrix") w <- .RGtkCall("S_pango_matrix_concat", object, new.matrix, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixCopy <- function(object) { checkPtrType(object, "PangoMatrix") w <- .RGtkCall("S_pango_matrix_copy", object, PACKAGE = "RGtk2") return(w) } pangoItemCopy <- function(item) { checkPtrType(item, "PangoItem") w <- .RGtkCall("S_pango_item_copy", item, PACKAGE = "RGtk2") return(w) } pangoItemNew <- function() { w <- .RGtkCall("S_pango_item_new", PACKAGE = "RGtk2") return(w) } pangoItemSplit <- function(orig, split.index, split.offset) { checkPtrType(orig, "PangoItem") split.index <- as.integer(split.index) split.offset <- as.integer(split.offset) w <- .RGtkCall("S_pango_item_split", orig, split.index, split.offset, PACKAGE = "RGtk2") return(w) } pangoLayoutGetType <- function() { w <- .RGtkCall("S_pango_layout_get_type", PACKAGE = "RGtk2") return(w) } pangoLayoutNew <- function(context) { checkPtrType(context, "PangoContext") w <- .RGtkCall("S_pango_layout_new", context, PACKAGE = "RGtk2") return(w) } pangoLayoutCopy <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_copy", object, PACKAGE = "RGtk2") return(w) } pangoLayoutGetContext <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_context", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetAttributes <- function(object, attrs) { checkPtrType(object, "PangoLayout") checkPtrType(attrs, "PangoAttrList") w <- .RGtkCall("S_pango_layout_set_attributes", object, attrs, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetAttributes <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_attributes", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetText <- function(object, text, length = -1) { checkPtrType(object, "PangoLayout") text <- as.character(text) length <- as.integer(length) w <- .RGtkCall("S_pango_layout_set_text", object, text, length, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetText <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_text", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetMarkup <- function(object, markup, length = -1) { checkPtrType(object, "PangoLayout") markup <- as.character(markup) length <- as.integer(length) w <- .RGtkCall("S_pango_layout_set_markup", object, markup, length, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutSetFontDescription <- function(object, desc = NULL) { checkPtrType(object, "PangoLayout") if (!is.null( desc )) checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_layout_set_font_description", object, desc, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetFontDescription <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_font_description", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetWidth <- function(object, width) { checkPtrType(object, "PangoLayout") width <- as.integer(width) w <- .RGtkCall("S_pango_layout_set_width", object, width, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetWidth <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_width", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetWrap <- function(object, wrap) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_set_wrap", object, wrap, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetWrap <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_wrap", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetIndent <- function(object, indent) { checkPtrType(object, "PangoLayout") indent <- as.integer(indent) w <- .RGtkCall("S_pango_layout_set_indent", object, indent, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetIndent <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_indent", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetSpacing <- function(object, spacing) { checkPtrType(object, "PangoLayout") spacing <- as.integer(spacing) w <- .RGtkCall("S_pango_layout_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetSpacing <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_spacing", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetJustify <- function(object, justify) { checkPtrType(object, "PangoLayout") justify <- as.logical(justify) w <- .RGtkCall("S_pango_layout_set_justify", object, justify, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetJustify <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_justify", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetAutoDir <- function(object, auto.dir) { checkPtrType(object, "PangoLayout") auto.dir <- as.logical(auto.dir) w <- .RGtkCall("S_pango_layout_set_auto_dir", object, auto.dir, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetAutoDir <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_auto_dir", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetAlignment <- function(object, alignment) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_set_alignment", object, alignment, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetAlignment <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_alignment", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetTabs <- function(object, tabs = NULL) { checkPtrType(object, "PangoLayout") if (!is.null( tabs )) checkPtrType(tabs, "PangoTabArray") w <- .RGtkCall("S_pango_layout_set_tabs", object, tabs, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetTabs <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_tabs", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetSingleParagraphMode <- function(object, setting) { checkPtrType(object, "PangoLayout") setting <- as.logical(setting) w <- .RGtkCall("S_pango_layout_set_single_paragraph_mode", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetSingleParagraphMode <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_single_paragraph_mode", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetEllipsize <- function(object, ellipsize) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_set_ellipsize", object, ellipsize, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetEllipsize <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_ellipsize", object, PACKAGE = "RGtk2") return(w) } pangoLayoutContextChanged <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_context_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetLogAttrs <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_log_attrs", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIndexToPos <- function(object, index, pos) { checkPtrType(object, "PangoLayout") index <- as.integer(index) pos <- as.PangoRectangle(pos) w <- .RGtkCall("S_pango_layout_index_to_pos", object, index, pos, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetCursorPos <- function(object, index) { checkPtrType(object, "PangoLayout") index <- as.integer(index) w <- .RGtkCall("S_pango_layout_get_cursor_pos", object, index, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutMoveCursorVisually <- function(object, strong, old.index, old.trailing, direction) { checkPtrType(object, "PangoLayout") strong <- as.logical(strong) old.index <- as.integer(old.index) old.trailing <- as.integer(old.trailing) direction <- as.integer(direction) w <- .RGtkCall("S_pango_layout_move_cursor_visually", object, strong, old.index, old.trailing, direction, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutXyToIndex <- function(object, x, y) { checkPtrType(object, "PangoLayout") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_layout_xy_to_index", object, x, y, PACKAGE = "RGtk2") return(w) } pangoLayoutGetExtents <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetPixelExtents <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_pixel_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetSize <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetPixelSize <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_pixel_size", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutGetLineCount <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_line_count", object, PACKAGE = "RGtk2") return(w) } pangoLayoutGetLine <- function(object, line) { checkPtrType(object, "PangoLayout") line <- as.integer(line) w <- .RGtkCall("S_pango_layout_get_line", object, line, PACKAGE = "RGtk2") return(w) } pangoLayoutGetLines <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_lines", object, PACKAGE = "RGtk2") return(w) } pangoLayoutLineXToIndex <- function(object, x.pos) { checkPtrType(object, "PangoLayoutLine") x.pos <- as.integer(x.pos) w <- .RGtkCall("S_pango_layout_line_x_to_index", object, x.pos, PACKAGE = "RGtk2") return(w) } pangoLayoutLineIndexToX <- function(object, index, trailing) { checkPtrType(object, "PangoLayoutLine") index <- as.integer(index) trailing <- as.logical(trailing) w <- .RGtkCall("S_pango_layout_line_index_to_x", object, index, trailing, PACKAGE = "RGtk2") return(w) } pangoLayoutLineGetXRanges <- function(object, start.index, end.index) { checkPtrType(object, "PangoLayoutLine") start.index <- as.integer(start.index) end.index <- as.integer(end.index) w <- .RGtkCall("S_pango_layout_line_get_x_ranges", object, start.index, end.index, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutLineGetExtents <- function(object) { checkPtrType(object, "PangoLayoutLine") w <- .RGtkCall("S_pango_layout_line_get_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutLineGetPixelExtents <- function(object) { checkPtrType(object, "PangoLayoutLine") w <- .RGtkCall("S_pango_layout_line_get_pixel_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetType <- function() { w <- .RGtkCall("S_pango_layout_iter_get_type", PACKAGE = "RGtk2") return(w) } pangoLayoutGetIter <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_iter", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetIndex <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_index", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetRun <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_run", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetLine <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_line", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterAtLastLine <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_at_last_line", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterNextChar <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_next_char", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterNextCluster <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_next_cluster", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterNextRun <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_next_run", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterNextLine <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_next_line", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetCharExtents <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_char_extents", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetClusterExtents <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_cluster_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetRunExtents <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_run_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetLineExtents <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_line_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetLineYrange <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_line_yrange", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetLayoutExtents <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_layout_extents", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoLayoutIterGetBaseline <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_baseline", object, PACKAGE = "RGtk2") return(w) } pangoRendererGetType <- function() { w <- .RGtkCall("S_pango_renderer_get_type", PACKAGE = "RGtk2") return(w) } pangoRendererDrawLayout <- function(object, layout, x, y) { checkPtrType(object, "PangoRenderer") checkPtrType(layout, "PangoLayout") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_draw_layout", object, layout, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawLayoutLine <- function(object, line, x, y) { checkPtrType(object, "PangoRenderer") checkPtrType(line, "PangoLayoutLine") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_draw_layout_line", object, line, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawGlyphs <- function(object, font, glyphs, x, y) { checkPtrType(object, "PangoRenderer") checkPtrType(font, "PangoFont") checkPtrType(glyphs, "PangoGlyphString") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_draw_glyphs", object, font, glyphs, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawRectangle <- function(object, part, x, y, width, height) { checkPtrType(object, "PangoRenderer") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_pango_renderer_draw_rectangle", object, part, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawErrorUnderline <- function(object, x, y, width, height) { checkPtrType(object, "PangoRenderer") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_pango_renderer_draw_error_underline", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawTrapezoid <- function(object, part, y1., x11, x21, y2, x12, x22) { checkPtrType(object, "PangoRenderer") y1. <- as.numeric(y1.) x11 <- as.numeric(x11) x21 <- as.numeric(x21) y2 <- as.numeric(y2) x12 <- as.numeric(x12) x22 <- as.numeric(x22) w <- .RGtkCall("S_pango_renderer_draw_trapezoid", object, part, y1., x11, x21, y2, x12, x22, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDrawGlyph <- function(object, font, glyph, x, y) { checkPtrType(object, "PangoRenderer") checkPtrType(font, "PangoFont") glyph <- as.numeric(glyph) x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_pango_renderer_draw_glyph", object, font, glyph, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererActivate <- function(object) { checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererDeactivate <- function(object) { checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_deactivate", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererPartChanged <- function(object, part) { checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_part_changed", object, part, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererSetColor <- function(object, part, color) { checkPtrType(object, "PangoRenderer") checkPtrType(color, "PangoColor") w <- .RGtkCall("S_pango_renderer_set_color", object, part, color, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererGetColor <- function(object, part) { checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_get_color", object, part, PACKAGE = "RGtk2") return(w) } pangoRendererSetMatrix <- function(object, matrix) { checkPtrType(object, "PangoRenderer") checkPtrType(matrix, "PangoMatrix") w <- .RGtkCall("S_pango_renderer_set_matrix", object, matrix, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererGetMatrix <- function(object) { checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_get_matrix", object, PACKAGE = "RGtk2") return(w) } pangoTabArrayNew <- function(initial.size, positions.in.pixels) { initial.size <- as.integer(initial.size) positions.in.pixels <- as.logical(positions.in.pixels) w <- .RGtkCall("S_pango_tab_array_new", initial.size, positions.in.pixels, PACKAGE = "RGtk2") return(w) } pangoTabArrayGetType <- function() { w <- .RGtkCall("S_pango_tab_array_get_type", PACKAGE = "RGtk2") return(w) } pangoTabArrayCopy <- function(object) { checkPtrType(object, "PangoTabArray") w <- .RGtkCall("S_pango_tab_array_copy", object, PACKAGE = "RGtk2") return(w) } pangoTabArrayGetSize <- function(object) { checkPtrType(object, "PangoTabArray") w <- .RGtkCall("S_pango_tab_array_get_size", object, PACKAGE = "RGtk2") return(w) } pangoTabArrayResize <- function(object, new.size) { checkPtrType(object, "PangoTabArray") new.size <- as.integer(new.size) w <- .RGtkCall("S_pango_tab_array_resize", object, new.size, PACKAGE = "RGtk2") return(invisible(w)) } pangoTabArraySetTab <- function(object, tab.index, alignment, location) { checkPtrType(object, "PangoTabArray") tab.index <- as.integer(tab.index) location <- as.integer(location) w <- .RGtkCall("S_pango_tab_array_set_tab", object, tab.index, alignment, location, PACKAGE = "RGtk2") return(invisible(w)) } pangoTabArrayGetTab <- function(object, tab.index) { checkPtrType(object, "PangoTabArray") tab.index <- as.integer(tab.index) w <- .RGtkCall("S_pango_tab_array_get_tab", object, tab.index, PACKAGE = "RGtk2") return(invisible(w)) } pangoTabArrayGetTabs <- function(object) { checkPtrType(object, "PangoTabArray") w <- .RGtkCall("S_pango_tab_array_get_tabs", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoTabArrayGetPositionsInPixels <- function(object) { checkPtrType(object, "PangoTabArray") w <- .RGtkCall("S_pango_tab_array_get_positions_in_pixels", object, PACKAGE = "RGtk2") return(w) } pangoLanguageFromString <- function(language) { language <- as.character(language) w <- .RGtkCall("S_pango_language_from_string", language, PACKAGE = "RGtk2") return(w) } pangoLanguageMatches <- function(object, range.list) { checkPtrType(object, "PangoLanguage") range.list <- as.character(range.list) w <- .RGtkCall("S_pango_language_matches", object, range.list, PACKAGE = "RGtk2") return(w) } pangoLanguageToString <- function(object) { checkPtrType(object, "PangoLanguage") w <- .RGtkCall("S_pango_language_to_string", object, PACKAGE = "RGtk2") return(w) } pangoPixels <- function(size) { size <- as.integer(size) w <- .RGtkCall("S_PANGO_PIXELS", size, PACKAGE = "RGtk2") return(w) } pangoAscent <- function(rect) { rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_PANGO_ASCENT", rect, PACKAGE = "RGtk2") return(w) } pangoDescent <- function(rect) { rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_PANGO_DESCENT", rect, PACKAGE = "RGtk2") return(w) } pangoLbearing <- function(rect) { rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_PANGO_LBEARING", rect, PACKAGE = "RGtk2") return(w) } pangoRbearing <- function(rect) { rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_PANGO_RBEARING", rect, PACKAGE = "RGtk2") return(w) } pangoScriptForUnichar <- function(ch) { ch <- as.numeric(ch) w <- .RGtkCall("S_pango_script_for_unichar", ch, PACKAGE = "RGtk2") return(w) } pangoScriptIterNew <- function(text, length) { text <- as.character(text) length <- as.integer(length) w <- .RGtkCall("S_pango_script_iter_new", text, length, PACKAGE = "RGtk2") return(w) } pangoScriptIterGetRange <- function(object) { checkPtrType(object, "PangoScriptIter") w <- .RGtkCall("S_pango_script_iter_get_range", object, PACKAGE = "RGtk2") return(invisible(w)) } pangoScriptIterNext <- function(object) { checkPtrType(object, "PangoScriptIter") w <- .RGtkCall("S_pango_script_iter_next", object, PACKAGE = "RGtk2") return(w) } pangoScriptGetSampleLanguage <- function(script) { w <- .RGtkCall("S_pango_script_get_sample_language", script, PACKAGE = "RGtk2") return(w) } pangoLanguageIncludesScript <- function(object, script) { checkPtrType(object, "PangoLanguage") w <- .RGtkCall("S_pango_language_includes_script", object, script, PACKAGE = "RGtk2") return(w) } pangoCairoShowErrorUnderline <- function(cr, x, y, width, height) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_pango_cairo_show_error_underline", cr, x, y, width, height, PACKAGE = "RGtk2") return(w) } pangoCairoErrorUnderlinePath <- function(cr, x, y, width, height) { checkPtrType(cr, "Cairo") x <- as.numeric(x) y <- as.numeric(y) width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_pango_cairo_error_underline_path", cr, x, y, width, height, PACKAGE = "RGtk2") return(w) } pangoFontDescribeWithAbsoluteSize <- function(object) { checkPtrType(object, "PangoFont") w <- .RGtkCall("S_pango_font_describe_with_absolute_size", object, PACKAGE = "RGtk2") return(w) } pangoGlyphStringGetWidth <- function(object) { checkPtrType(object, "PangoGlyphString") w <- .RGtkCall("S_pango_glyph_string_get_width", object, PACKAGE = "RGtk2") return(w) } pangoMatrixGetFontScaleFactor <- function(object) { checkPtrType(object, "PangoMatrix") w <- .RGtkCall("S_pango_matrix_get_font_scale_factor", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIndexToLineX <- function(object, index., trailing) { checkPtrType(object, "PangoLayout") index. <- as.integer(index.) trailing <- as.logical(trailing) w <- .RGtkCall("S_pango_layout_index_to_line_x", object, index., trailing, PACKAGE = "RGtk2") return(invisible(w)) } pangoGravityToRotation <- function(base.gravity) { w <- .RGtkCall("S_pango_gravity_to_rotation", base.gravity, PACKAGE = "RGtk2") return(w) } pangoGravityGetForMatrix <- function(matrix) { checkPtrType(matrix, "PangoMatrix") w <- .RGtkCall("S_pango_gravity_get_for_matrix", matrix, PACKAGE = "RGtk2") return(w) } pangoGravityGetForScript <- function(script, base.gravity, hint) { w <- .RGtkCall("S_pango_gravity_get_for_script", script, base.gravity, hint, PACKAGE = "RGtk2") return(w) } pangoAttrGravityNew <- function(gravity) { w <- .RGtkCall("S_pango_attr_gravity_new", gravity, PACKAGE = "RGtk2") return(w) } pangoAttrGravityHintNew <- function(hint) { w <- .RGtkCall("S_pango_attr_gravity_hint_new", hint, PACKAGE = "RGtk2") return(w) } pangoContextSetBaseGravity <- function(object, gravity) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_set_base_gravity", object, gravity, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetBaseGravity <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_base_gravity", object, PACKAGE = "RGtk2") return(w) } pangoContextGetGravity <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_gravity", object, PACKAGE = "RGtk2") return(w) } pangoContextSetGravityHint <- function(object, hint) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_set_gravity_hint", object, hint, PACKAGE = "RGtk2") return(invisible(w)) } pangoContextGetGravityHint <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_context_get_gravity_hint", object, PACKAGE = "RGtk2") return(w) } pangoFontDescriptionSetGravity <- function(object, gravity) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_set_gravity", object, gravity, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontDescriptionGetGravity <- function(object) { checkPtrType(object, "PangoFontDescription") w <- .RGtkCall("S_pango_font_description_get_gravity", object, PACKAGE = "RGtk2") return(w) } pangoLayoutGetLineReadonly <- function(object, line) { checkPtrType(object, "PangoLayout") line <- as.integer(line) w <- .RGtkCall("S_pango_layout_get_line_readonly", object, line, PACKAGE = "RGtk2") return(w) } pangoLayoutGetLinesReadonly <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_lines_readonly", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetLineReadonly <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_line_readonly", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetRunReadonly <- function(object) { checkPtrType(object, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_run_readonly", object, PACKAGE = "RGtk2") return(w) } pangoColorToString <- function(object) { checkPtrType(object, "PangoColor") w <- .RGtkCall("S_pango_color_to_string", object, PACKAGE = "RGtk2") return(w) } pangoMatrixTransformPoint <- function(object, x, y) { checkPtrType(object, "PangoMatrix") x <- as.list(as.numeric(x)) y <- as.list(as.numeric(y)) w <- .RGtkCall("S_pango_matrix_transform_point", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixTransformDistance <- function(object, dx, dy) { checkPtrType(object, "PangoMatrix") dx <- as.list(as.numeric(dx)) dy <- as.list(as.numeric(dy)) w <- .RGtkCall("S_pango_matrix_transform_distance", object, dx, dy, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixTransformRectangle <- function(object, rect) { checkPtrType(object, "PangoMatrix") rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_pango_matrix_transform_rectangle", object, rect, PACKAGE = "RGtk2") return(invisible(w)) } pangoMatrixTransformPixelRectangle <- function(object, rect) { checkPtrType(object, "PangoMatrix") rect <- as.PangoRectangle(rect) w <- .RGtkCall("S_pango_matrix_transform_pixel_rectangle", object, rect, PACKAGE = "RGtk2") return(invisible(w)) } pangoUnitsFromDouble <- function(d) { d <- as.numeric(d) w <- .RGtkCall("S_pango_units_from_double", d, PACKAGE = "RGtk2") return(w) } pangoUnitsToDouble <- function(i) { i <- as.integer(i) w <- .RGtkCall("S_pango_units_to_double", i, PACKAGE = "RGtk2") return(w) } pangoExtentsToPixels <- function(inclusive, nearest) { inclusive <- as.PangoRectangle(inclusive) nearest <- as.PangoRectangle(nearest) w <- .RGtkCall("S_pango_extents_to_pixels", inclusive, nearest, PACKAGE = "RGtk2") return(w) } pangoLayoutIsWrapped <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_is_wrapped", object, PACKAGE = "RGtk2") return(w) } pangoLayoutIsEllipsized <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_is_ellipsized", object, PACKAGE = "RGtk2") return(w) } pangoLayoutGetUnknownGlyphsCount <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_unknown_glyphs_count", object, PACKAGE = "RGtk2") return(w) } pangoVersion <- function() { w <- .RGtkCall("S_pango_version", PACKAGE = "RGtk2") return(w) } pangoVersionString <- function() { w <- .RGtkCall("S_pango_version_string", PACKAGE = "RGtk2") return(w) } pangoVersionCheck <- function(required.major, required.minor, required.micro) { required.major <- as.integer(required.major) required.minor <- as.integer(required.minor) required.micro <- as.integer(required.micro) w <- .RGtkCall("S_pango_version_check", required.major, required.minor, required.micro, PACKAGE = "RGtk2") return(w) } pangoLayoutGetHeight <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_height", object, PACKAGE = "RGtk2") return(w) } pangoLayoutSetHeight <- function(object, height) { checkPtrType(object, "PangoLayout") height <- as.integer(height) w <- .RGtkCall("S_pango_layout_set_height", object, height, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttributeInit <- function(attr, klass) { checkPtrType(attr, "PangoAttribute") checkPtrType(klass, "PangoAttrClass") w <- .RGtkCall("S_pango_attribute_init", attr, klass, PACKAGE = "RGtk2") return(w) } pangoLayoutIterGetLayout <- function(iter) { checkPtrType(iter, "PangoLayoutIter") w <- .RGtkCall("S_pango_layout_iter_get_layout", iter, PACKAGE = "RGtk2") return(w) } pangoRendererGetLayout <- function(renderer) { checkPtrType(renderer, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_get_layout", renderer, PACKAGE = "RGtk2") return(w) } pangoRendererGetLayoutLine <- function(renderer) { checkPtrType(renderer, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_get_layout_line", renderer, PACKAGE = "RGtk2") return(w) } pangoFontFaceIsSynthesized <- function(object) { checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_is_synthesized", object, PACKAGE = "RGtk2") return(w) } pangoCairoFontGetScaledFont <- function(object) { checkPtrType(object, "PangoCairoFont") w <- .RGtkCall("S_pango_cairo_font_get_scaled_font", object, PACKAGE = "RGtk2") return(w) } pangoCairoFontMapNewForFontType <- function(fonttype) { w <- .RGtkCall("S_pango_cairo_font_map_new_for_font_type", fonttype, PACKAGE = "RGtk2") return(w) } pangoCairoFontMapGetFontType <- function(object) { checkPtrType(object, "PangoCairoFontMap") w <- .RGtkCall("S_pango_cairo_font_map_get_font_type", object, PACKAGE = "RGtk2") return(w) } pangoCairoContextSetShapeRenderer <- function(object, func, data) { checkPtrType(object, "PangoContext") func <- as.function(func) w <- .RGtkCall("S_pango_cairo_context_set_shape_renderer", object, func, data, PACKAGE = "RGtk2") return(w) } pangoCairoContextGetShapeRenderer <- function(object) { checkPtrType(object, "PangoContext") w <- .RGtkCall("S_pango_cairo_context_get_shape_renderer", object, PACKAGE = "RGtk2") return(w) } pangoLanguageGetDefault <- function() { w <- .RGtkCall("S_pango_language_get_default", PACKAGE = "RGtk2") return(w) } pangoLanguageGetSampleString <- function(object) { checkPtrType(object, "PangoLanguage") w <- .RGtkCall("S_pango_language_get_sample_string", object, PACKAGE = "RGtk2") return(w) } pangoBidiTypeForUnichar <- function(ch) { ch <- as.numeric(ch) w <- .RGtkCall("S_pango_bidi_type_for_unichar", ch, PACKAGE = "RGtk2") return(w) } pangoAttrTypeGetName <- function(type) { w <- .RGtkCall("S_pango_attr_type_get_name", type, PACKAGE = "RGtk2") return(w) } pangoCairoCreateContext <- function(cr) { checkPtrType(cr, "Cairo") w <- .RGtkCall("S_pango_cairo_create_context", cr, PACKAGE = "RGtk2") return(w) } pangoCairoFontMapSetDefault <- function(fontmap) { checkPtrType(fontmap, "PangoCairoFontMap") w <- .RGtkCall("S_pango_cairo_font_map_set_default", fontmap, PACKAGE = "RGtk2") return(w) } pangoCairoShowGlyphItem <- function(cr, text, glyph.item) { checkPtrType(cr, "Cairo") text <- as.character(text) checkPtrType(glyph.item, "PangoGlyphItem") w <- .RGtkCall("S_pango_cairo_show_glyph_item", cr, text, glyph.item, PACKAGE = "RGtk2") return(w) } pangoRendererDrawGlyphItem <- function(object, text, glyph.item, x, y) { checkPtrType(object, "PangoRenderer") text <- as.character(text) checkPtrType(glyph.item, "PangoGlyphItem") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_draw_glyph_item", object, text, glyph.item, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoFontMapCreateContext <- function(object) { checkPtrType(object, "PangoFontMap") w <- .RGtkCall("S_pango_font_map_create_context", object, PACKAGE = "RGtk2") return(w) } pangoGlyphItemIterInitStart <- function(object, glyph.item, text) { checkPtrType(object, "PangoGlyphItemIter") checkPtrType(glyph.item, "PangoGlyphItem") text <- as.character(text) w <- .RGtkCall("S_pango_glyph_item_iter_init_start", object, glyph.item, text, PACKAGE = "RGtk2") return(w) } pangoGlyphItemIterInitEnd <- function(object, glyph.item, text) { checkPtrType(object, "PangoGlyphItemIter") checkPtrType(glyph.item, "PangoGlyphItem") text <- as.character(text) w <- .RGtkCall("S_pango_glyph_item_iter_init_end", object, glyph.item, text, PACKAGE = "RGtk2") return(w) } pangoGlyphItemIterNextCluster <- function(object) { checkPtrType(object, "PangoGlyphItemIter") w <- .RGtkCall("S_pango_glyph_item_iter_next_cluster", object, PACKAGE = "RGtk2") return(w) } pangoGlyphItemIterPrevCluster <- function(object) { checkPtrType(object, "PangoGlyphItemIter") w <- .RGtkCall("S_pango_glyph_item_iter_prev_cluster", object, PACKAGE = "RGtk2") return(w) } pangoLanguageGetScripts <- function(object) { checkPtrType(object, "PangoLanguage") w <- .RGtkCall("S_pango_language_get_scripts", object, PACKAGE = "RGtk2") return(w) } pangoLayoutGetBaseline <- function(object) { checkPtrType(object, "PangoLayout") w <- .RGtkCall("S_pango_layout_get_baseline", object, PACKAGE = "RGtk2") return(w) } pangoGlyphItemGetLogicalWidths <- function(glyph.item, text) { checkPtrType(glyph.item, "PangoGlyphItem") text <- as.character(text) w <- .RGtkCall("S_pango_glyph_item_get_logical_widths", glyph.item, text, PACKAGE = "RGtk2") return(invisible(w)) } pangoGravityGetForScriptAndWidth <- function(script, wide, base.gravity, hint) { wide <- as.logical(wide) w <- .RGtkCall("S_pango_gravity_get_for_script_and_width", script, wide, base.gravity, hint, PACKAGE = "RGtk2") return(w) } RGtk2/R/gdkAtoms.R0000644000176000001440000000072011766145227013342 0ustar ripleyusersGDK_SELECTION_PRIMARY <- 1 GDK_SELECTION_SECONDARY <- 2 GDK_SELECTION_CLIPBOARD <- 69 GDK_TARGET_BITMAP <- 5 GDK_TARGET_COLORMAP <- 7 GDK_TARGET_DRAWABLE <- 17 GDK_TARGET_PIXMAP <- 20 GDK_TARGET_STRING <- 31 GDK_SELECTION_TYPE_ATOM <- 4 GDK_SELECTION_TYPE_BITMAP <- 5 GDK_SELECTION_TYPE_COLORMAP <- 7 GDK_SELECTION_TYPE_DRAWABLE <- 17 GDK_SELECTION_TYPE_INTEGER <- 19 GDK_SELECTION_TYPE_PIXMAP <- 20 GDK_SELECTION_TYPE_WINDOW <- 33 GDK_SELECTION_TYPE_STRING <- 31 RGtk2/R/gioManuals.R0000644000176000001440000001515411766145227013677 0ustar ripleyusers ## use sprintf() to handle var args gSimpleAsyncResultNewError <- function(source.object, callback, user.data, domain, code, format, ...) { checkPtrType(source.object, "GObject") callback <- as.function(callback) domain <- as.GQuark(domain) code <- as.integer(code) format <- sprintf(format, ...) w <- .RGtkCall("S_g_simple_async_result_new_error", source.object, callback, user.data, domain, code, format, PACKAGE = "RGtk2") return(w) } gSimpleAsyncResultSetError <- function(object, domain, code, format, ...) { checkPtrType(object, "GSimpleAsyncResult") domain <- as.GQuark(domain) code <- as.integer(code) format <- sprintf(format, ...) w <- .RGtkCall("S_g_simple_async_result_set_error", object, domain, code, format, PACKAGE = "RGtk2") return(invisible(w)) } gSimpleAsyncReportErrorInIdle <- function(object, callback, user.data, domain, code, format, ...) { checkPtrType(object, "GObject") callback <- as.function(callback) domain <- as.GQuark(domain) code <- as.integer(code) format <- sprintf(format, ...) w <- .RGtkCall("S_g_simple_async_report_error_in_idle", object, callback, user.data, domain, code, format, PACKAGE = "RGtk2") return(w) } ## varargs, property settings gAsyncInitableNewAsync <- function(object.type, io.priority, cancellable, callback, user.data, ...) { object.type <- as.GType(object.type) io.priority <- as.integer(io.priority) checkPtrType(cancellable, "GCancellable") callback <- as.function(callback) props <- list(...) if (is.null(names(props))) stop("Property values in '...' must be named") w <- .RGtkCall("S_g_async_initable_new_async", object.type, io.priority, cancellable, callback, user.data, props, PACKAGE = "RGtk2") return(w) } gInitableNew <- function(object.type, cancellable, ..., .errwarn = TRUE) { object.type <- as.GType(object.type) checkPtrType(cancellable, "GCancellable") props <- list(...) if (is.null(names(props))) stop("Property values in '...' must be named") w <- .RGtkCall("S_g_initable_new", object.type, cancellable, props, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } ## Vector of file attribute constants GFileAttributeStandard <- c(type = "standard::type", isHidden = "standard::is-hidden", isBackup = "standard::is-backup", isSymlink = "standard::is-symlink", isVirtual = "standard::is-virtual", name = "standard::name", displayName = "standard::display-name", editName = "standard::edit-name", copyName = "standard::copy-name", icon = "standard::icon", contentType = "standard::content-type", fastContentType = "standard::fast-content-type", size = "standard::size", allocatedSize = "standard::allocated-size", symlinkTarget = "standard::symlink-target", targetUri = "standard::target-uri", sortOrder = "standard::sort-order", description = "standard::description") GFileAttributeEtag <- c(value = "etag::value") GFileAttributeId <- c(file = "id::file", filesystem = "id::filesystem") GFileAttributeAccess <- c(canRead = "access:can-read", canWrite = "access:can-write", canExecute = "access:can-execute", canDelete = "access:can-delete", canTrash = "access:can-trash", canRename = "access:can-rename") GFileAttributeMountable <- c(canMount = "mountable::can-mount", canUnmount = "mountable::can-unmount", canEject = "mountable::can-eject", unixDevice = "mountable::unix-device", unixDeviceFile = "mountable::unix-device-file", halUdi = "mountable::hal-udi", canPoll = "mountable::can-poll", isMediaCheckAutomatic = "mountable::is-media-check-automatic", canStart = "mountable::can-start", canStartDegraded = "mountable::can-start-degraded", canStop = "mountable::can-stop", startStopType = "mountable::start-stop-type") GFileAttributeTime <- c(modified = "time::modified", modifiedUsec = "time::modified-usec", access = "time::access", accessUsec = "time::access-usec", changed = "time::changed", changedUsec = "time::changed-usec", created = "time::created", createdUsec = "time::created-usec") GFileAttributeUnix <- c(device = "unix::device", inode = "unix::inode", mode = "unix::mode", nlink = "unix::nlink", uid = "unix::uid", gid = "unix::gid", rdev = "unix::rdev", blockSize = "unix::block-size", blocks = "unix::blocks", isMountpoint = "unix::is-mountpoint") GFileAttributeDos <- c(isArchive = "dos::is-archive", isSystem = "dos::is-system") GFileAttributeOwner <- c(user = "owner::user", userReal = "owner::user-real", group = "owner::group") GFileAttributeThumbnail <- c(path = "thumbnail::path", failed = "thumbnail::failed") GFileAttributePreview <- c(icon = "preview::icon") GFileAttributeFilesystem <- c(size = "filesystem::size", free = "filesystem::free", type = "filesystem::type", readonly = "filesystem::readonly", usePreview = "filesystem::use-preview") GFileAttributeGvfs <- c(backend = "gvfs::backend") GFileAttributeTrash <- c(itemCount = "trash::item-count") ## Some convenient constants for IO priority GPriority <- c(default = 0L, high = -100L, highIdle = 100L, defaultIdle = 200L, low = 300L) RGtk2/R/gtkEnumDefs.R0000644000176000001440000004653012362217673014014 0ustar ripleyusersGtkAnchorType<-c("center" = 0, "north" = 1, "north-west" = 2, "north-east" = 3, "south" = 4, "south-west" = 5, "south-east" = 6, "west" = 7, "east" = 8, "n" = 9, "nw" = 10, "ne" = 11, "s" = 12, "sw" = 13, "se" = 14, "w" = 15, "e" = 16) storage.mode(GtkAnchorType) <- 'integer' class(GtkAnchorType) <- 'enums' GtkArrowType<-c("up" = 0, "down" = 1, "left" = 2, "right" = 3) storage.mode(GtkArrowType) <- 'integer' class(GtkArrowType) <- 'enums' GtkButtonBoxStyle<-c("default-style" = 0, "spread" = 1, "edge" = 2, "start" = 3, "end" = 4) storage.mode(GtkButtonBoxStyle) <- 'integer' class(GtkButtonBoxStyle) <- 'enums' GtkButtonsType<-c("none" = 0, "ok" = 1, "close" = 2, "cancel" = 3, "yes-no" = 4, "ok-cancel" = 5) storage.mode(GtkButtonsType) <- 'integer' class(GtkButtonsType) <- 'enums' GtkCellRendererMode<-c("inert" = 0, "activatable" = 1, "editable" = 2) storage.mode(GtkCellRendererMode) <- 'integer' class(GtkCellRendererMode) <- 'enums' GtkCellType<-c("empty" = 0, "text" = 1, "pixmap" = 2, "pixtext" = 3, "widget" = 4) storage.mode(GtkCellType) <- 'integer' class(GtkCellType) <- 'enums' GtkCListDragPos<-c("none" = 0, "before" = 1, "into" = 2, "after" = 3) storage.mode(GtkCListDragPos) <- 'integer' class(GtkCListDragPos) <- 'enums' GtkCornerType<-c("top-left" = 0, "bottom-left" = 1, "top-right" = 2, "bottom-right" = 3) storage.mode(GtkCornerType) <- 'integer' class(GtkCornerType) <- 'enums' GtkCTreeExpanderStyle<-c("none" = 0, "square" = 1, "triangle" = 2, "circular" = 3) storage.mode(GtkCTreeExpanderStyle) <- 'integer' class(GtkCTreeExpanderStyle) <- 'enums' GtkCTreeExpansionType<-c("expand" = 0, "expand-recursive" = 1, "collapse" = 2, "collapse-recursive" = 3, "toggle" = 4, "toggle-recursive" = 5) storage.mode(GtkCTreeExpansionType) <- 'integer' class(GtkCTreeExpansionType) <- 'enums' GtkCTreeLineStyle<-c("none" = 0, "solid" = 1, "dotted" = 2, "tabbed" = 3) storage.mode(GtkCTreeLineStyle) <- 'integer' class(GtkCTreeLineStyle) <- 'enums' GtkCTreePos<-c("before" = 0, "as-child" = 1, "after" = 2) storage.mode(GtkCTreePos) <- 'integer' class(GtkCTreePos) <- 'enums' GtkCurveType<-c("linear" = 0, "spline" = 1, "free" = 2) storage.mode(GtkCurveType) <- 'integer' class(GtkCurveType) <- 'enums' GtkDeleteType<-c("chars" = 0, "word-ends" = 1, "words" = 2, "display-lines" = 3, "display-line-ends" = 4, "paragraph-ends" = 5, "paragraphs" = 6, "whitespace" = 7) storage.mode(GtkDeleteType) <- 'integer' class(GtkDeleteType) <- 'enums' GtkDirectionType<-c("tab-forward" = 0, "tab-backward" = 1, "up" = 2, "down" = 3, "left" = 4, "right" = 5) storage.mode(GtkDirectionType) <- 'integer' class(GtkDirectionType) <- 'enums' GtkExpanderStyle<-c("collapsed" = 0, "semi-collapsed" = 1, "semi-expanded" = 2, "expanded" = 3) storage.mode(GtkExpanderStyle) <- 'integer' class(GtkExpanderStyle) <- 'enums' GtkFileChooserAction<-c("open" = 0, "save" = 1, "select-folder" = 2, "create-folder" = 3) storage.mode(GtkFileChooserAction) <- 'integer' class(GtkFileChooserAction) <- 'enums' GtkFileChooserError<-c("nonexistent" = 0, "bad-filename" = 1) storage.mode(GtkFileChooserError) <- 'integer' class(GtkFileChooserError) <- 'enums' GtkFileChooserConfirmation<-c("confirm" = 0, "accept-filename" = 1, "select-again" = 2) storage.mode(GtkFileChooserConfirmation) <- 'integer' class(GtkFileChooserConfirmation) <- 'enums' GtkIconSize<-c("invalid" = 0, "menu" = 1, "small-toolbar" = 2, "large-toolbar" = 3, "button" = 4, "dnd" = 5, "dialog" = 6) storage.mode(GtkIconSize) <- 'integer' class(GtkIconSize) <- 'enums' GtkIconThemeError<-c("not-found" = 0, "failed" = 1) storage.mode(GtkIconThemeError) <- 'integer' class(GtkIconThemeError) <- 'enums' GtkIconViewDropPosition<-c("no-drop" = 0, "drop-into" = 1, "drop-left" = 2, "drop-right" = 3, "drop-above" = 4, "drop-below" = 5) storage.mode(GtkIconViewDropPosition) <- 'integer' class(GtkIconViewDropPosition) <- 'enums' GtkImageType<-c("empty" = 0, "pixmap" = 1, "image" = 2, "pixbuf" = 3, "stock" = 4, "icon-set" = 5, "animation" = 6) storage.mode(GtkImageType) <- 'integer' class(GtkImageType) <- 'enums' GtkIMPreeditStyle<-c("nothing" = 0, "callback" = 1, "none" = 2) storage.mode(GtkIMPreeditStyle) <- 'integer' class(GtkIMPreeditStyle) <- 'enums' GtkIMStatusStyle<-c("nothing" = 0, "callback" = 1) storage.mode(GtkIMStatusStyle) <- 'integer' class(GtkIMStatusStyle) <- 'enums' GtkJustification<-c("left" = 0, "right" = 1, "center" = 2, "fill" = 3) storage.mode(GtkJustification) <- 'integer' class(GtkJustification) <- 'enums' GtkMatchType<-c("all" = 0, "all-tail" = 1, "head" = 2, "tail" = 3, "exact" = 4, "last" = 5) storage.mode(GtkMatchType) <- 'integer' class(GtkMatchType) <- 'enums' GtkMenuDirectionType<-c("parent" = 0, "child" = 1, "next" = 2, "prev" = 3) storage.mode(GtkMenuDirectionType) <- 'integer' class(GtkMenuDirectionType) <- 'enums' GtkMessageType<-c("info" = 0, "warning" = 1, "question" = 2, "error" = 3) storage.mode(GtkMessageType) <- 'integer' class(GtkMessageType) <- 'enums' GtkMetricType<-c("pixels" = 0, "inches" = 1, "centimeters" = 2) storage.mode(GtkMetricType) <- 'integer' class(GtkMetricType) <- 'enums' GtkMovementStep<-c("logical-positions" = 0, "visual-positions" = 1, "words" = 2, "display-lines" = 3, "display-line-ends" = 4, "paragraphs" = 5, "paragraph-ends" = 6, "pages" = 7, "buffer-ends" = 8, "horizontal-pages" = 9) storage.mode(GtkMovementStep) <- 'integer' class(GtkMovementStep) <- 'enums' GtkNotebookTab<-c("first" = 0, "last" = 1) storage.mode(GtkNotebookTab) <- 'integer' class(GtkNotebookTab) <- 'enums' GtkOrientation<-c("horizontal" = 0, "vertical" = 1) storage.mode(GtkOrientation) <- 'integer' class(GtkOrientation) <- 'enums' GtkPackDirection<-c("ltr" = 0, "rtl" = 1, "ttb" = 2, "btt" = 3) storage.mode(GtkPackDirection) <- 'integer' class(GtkPackDirection) <- 'enums' GtkPackType<-c("start" = 0, "end" = 1) storage.mode(GtkPackType) <- 'integer' class(GtkPackType) <- 'enums' GtkPathPriorityType<-c("lowest" = 0, "gtk" = 1, "application" = 2, "theme" = 3, "rc" = 4, "highest" = 5) storage.mode(GtkPathPriorityType) <- 'integer' class(GtkPathPriorityType) <- 'enums' GtkPathType<-c("widget" = 0, "widget-class" = 1, "class" = 2) storage.mode(GtkPathType) <- 'integer' class(GtkPathType) <- 'enums' GtkPolicyType<-c("always" = 0, "automatic" = 1, "never" = 2) storage.mode(GtkPolicyType) <- 'integer' class(GtkPolicyType) <- 'enums' GtkPositionType<-c("left" = 0, "right" = 1, "top" = 2, "bottom" = 3) storage.mode(GtkPositionType) <- 'integer' class(GtkPositionType) <- 'enums' GtkPreviewType<-c("color" = 0, "grayscale" = 1) storage.mode(GtkPreviewType) <- 'integer' class(GtkPreviewType) <- 'enums' GtkProgressBarOrientation<-c("left-to-right" = 0, "right-to-left" = 1, "bottom-to-top" = 2, "top-to-bottom" = 3) storage.mode(GtkProgressBarOrientation) <- 'integer' class(GtkProgressBarOrientation) <- 'enums' GtkProgressBarStyle<-c("continuous" = 0, "discrete" = 1) storage.mode(GtkProgressBarStyle) <- 'integer' class(GtkProgressBarStyle) <- 'enums' GtkRcTokenType<-c("invalid" = 0, "include" = 1, "normal" = 2, "active" = 3, "prelight" = 4, "selected" = 5, "insensitive" = 6, "fg" = 7, "bg" = 8, "text" = 9, "base" = 10, "xthickness" = 11, "ythickness" = 12, "font" = 13, "fontset" = 14, "font-name" = 15, "bg-pixmap" = 16, "pixmap-path" = 17, "style" = 18, "binding" = 19, "bind" = 20, "widget" = 21, "widget-class" = 22, "class" = 23, "lowest" = 24, "gtk" = 25, "application" = 26, "theme" = 27, "rc" = 28, "highest" = 29, "engine" = 30, "module-path" = 31, "im-module-path" = 32, "im-module-file" = 33, "stock" = 34, "ltr" = 35, "rtl" = 36, "last" = 37) storage.mode(GtkRcTokenType) <- 'integer' class(GtkRcTokenType) <- 'enums' GtkReliefStyle<-c("normal" = 0, "half" = 1, "none" = 2) storage.mode(GtkReliefStyle) <- 'integer' class(GtkReliefStyle) <- 'enums' GtkResizeMode<-c("parent" = 0, "queue" = 1, "immediate" = 2) storage.mode(GtkResizeMode) <- 'integer' class(GtkResizeMode) <- 'enums' GtkResponseType<-c("none" = -1, "reject" = -2, "accept" = -3, "delete-event" = -4, "ok" = -5, "cancel" = -6, "close" = -7, "yes" = -8, "no" = -9, "apply" = -10, "help" = -11) storage.mode(GtkResponseType) <- 'integer' class(GtkResponseType) <- 'enums' GtkScrollStep<-c("steps" = 0, "pages" = 1, "ends" = 2, "horizontal-steps" = 3, "horizontal-pages" = 4, "horizontal-ends" = 5) storage.mode(GtkScrollStep) <- 'integer' class(GtkScrollStep) <- 'enums' GtkScrollType<-c("none" = 0, "jump" = 1, "step-backward" = 2, "step-forward" = 3, "page-backward" = 4, "page-forward" = 5, "step-up" = 6, "step-down" = 7, "page-up" = 8, "page-down" = 9, "step-left" = 10, "step-right" = 11, "page-left" = 12, "page-right" = 13, "start" = 14, "end" = 15) storage.mode(GtkScrollType) <- 'integer' class(GtkScrollType) <- 'enums' GtkSelectionMode<-c("none" = 0, "single" = 1, "browse" = 2, "multiple" = 3, "extended" = 4) storage.mode(GtkSelectionMode) <- 'integer' class(GtkSelectionMode) <- 'enums' GtkShadowType<-c("none" = 0, "in" = 1, "out" = 2, "etched-in" = 3, "etched-out" = 4) storage.mode(GtkShadowType) <- 'integer' class(GtkShadowType) <- 'enums' GtkSideType<-c("top" = 0, "bottom" = 1, "left" = 2, "right" = 3) storage.mode(GtkSideType) <- 'integer' class(GtkSideType) <- 'enums' GtkSizeGroupMode<-c("none" = 0, "horizontal" = 1, "vertical" = 2, "both" = 3) storage.mode(GtkSizeGroupMode) <- 'integer' class(GtkSizeGroupMode) <- 'enums' GtkSortType<-c("ascending" = 0, "descending" = 1) storage.mode(GtkSortType) <- 'integer' class(GtkSortType) <- 'enums' GtkSpinButtonUpdatePolicy<-c("always" = 0, "if-valid" = 1) storage.mode(GtkSpinButtonUpdatePolicy) <- 'integer' class(GtkSpinButtonUpdatePolicy) <- 'enums' GtkSpinType<-c("step-forward" = 0, "step-backward" = 1, "page-forward" = 2, "page-backward" = 3, "home" = 4, "end" = 5, "user-defined" = 6) storage.mode(GtkSpinType) <- 'integer' class(GtkSpinType) <- 'enums' GtkStateType<-c("normal" = 0, "active" = 1, "prelight" = 2, "selected" = 3, "insensitive" = 4) storage.mode(GtkStateType) <- 'integer' class(GtkStateType) <- 'enums' GtkSubmenuDirection<-c("left" = 0, "right" = 1) storage.mode(GtkSubmenuDirection) <- 'integer' class(GtkSubmenuDirection) <- 'enums' GtkSubmenuPlacement<-c("top-bottom" = 0, "left-right" = 1) storage.mode(GtkSubmenuPlacement) <- 'integer' class(GtkSubmenuPlacement) <- 'enums' GtkTextDirection<-c("none" = 0, "ltr" = 1, "rtl" = 2) storage.mode(GtkTextDirection) <- 'integer' class(GtkTextDirection) <- 'enums' GtkTextWindowType<-c("private" = 0, "widget" = 1, "text" = 2, "left" = 3, "right" = 4, "top" = 5, "bottom" = 6) storage.mode(GtkTextWindowType) <- 'integer' class(GtkTextWindowType) <- 'enums' GtkToolbarChildType<-c("space" = 0, "button" = 1, "togglebutton" = 2, "radiobutton" = 3, "widget" = 4) storage.mode(GtkToolbarChildType) <- 'integer' class(GtkToolbarChildType) <- 'enums' GtkToolbarSpaceStyle<-c("empty" = 0, "line" = 1) storage.mode(GtkToolbarSpaceStyle) <- 'integer' class(GtkToolbarSpaceStyle) <- 'enums' GtkToolbarStyle<-c("icons" = 0, "text" = 1, "both" = 2, "both-horiz" = 3) storage.mode(GtkToolbarStyle) <- 'integer' class(GtkToolbarStyle) <- 'enums' GtkTreeViewColumnSizing<-c("grow-only" = 0, "autosize" = 1, "fixed" = 2) storage.mode(GtkTreeViewColumnSizing) <- 'integer' class(GtkTreeViewColumnSizing) <- 'enums' GtkTreeViewDropPosition<-c("before" = 0, "after" = 1, "into-or-before" = 2, "into-or-after" = 3) storage.mode(GtkTreeViewDropPosition) <- 'integer' class(GtkTreeViewDropPosition) <- 'enums' GtkUpdateType<-c("continuous" = 0, "discontinuous" = 1, "delayed" = 2) storage.mode(GtkUpdateType) <- 'integer' class(GtkUpdateType) <- 'enums' GtkVisibility<-c("none" = 0, "partial" = 1, "full" = 2) storage.mode(GtkVisibility) <- 'integer' class(GtkVisibility) <- 'enums' GtkWidgetHelpType<-c("tooltip" = 0, "whats-this" = 1) storage.mode(GtkWidgetHelpType) <- 'integer' class(GtkWidgetHelpType) <- 'enums' GtkWindowPosition<-c("none" = 0, "center" = 1, "mouse" = 2, "center-always" = 3, "center-on-parent" = 4) storage.mode(GtkWindowPosition) <- 'integer' class(GtkWindowPosition) <- 'enums' GtkWindowType<-c("toplevel" = 0, "popup" = 1) storage.mode(GtkWindowType) <- 'integer' class(GtkWindowType) <- 'enums' GtkWrapMode<-c("none" = 0, "char" = 1, "word" = 2, "word_char" = 3) storage.mode(GtkWrapMode) <- 'integer' class(GtkWrapMode) <- 'enums' GtkAssistantPageType<-c("content" = 0, "intro" = 1, "confirm" = 2, "summary" = 3, "progress" = 4) storage.mode(GtkAssistantPageType) <- 'integer' class(GtkAssistantPageType) <- 'enums' GtkCellRendererAccelMode<-c("gtk" = 0, "other" = 1) storage.mode(GtkCellRendererAccelMode) <- 'integer' class(GtkCellRendererAccelMode) <- 'enums' GtkSensitivityType<-c("auto" = 0, "on" = 1, "off" = 2) storage.mode(GtkSensitivityType) <- 'integer' class(GtkSensitivityType) <- 'enums' GtkPrintPages<-c("all" = 0, "current" = 1, "ranges" = 2) storage.mode(GtkPrintPages) <- 'integer' class(GtkPrintPages) <- 'enums' GtkPageSet<-c("all" = 0, "even" = 1, "odd" = 2) storage.mode(GtkPageSet) <- 'integer' class(GtkPageSet) <- 'enums' GtkPageOrientation<-c("portrait" = 0, "landscape" = 1, "reverse-portrait" = 2, "reverse-landscape" = 3) storage.mode(GtkPageOrientation) <- 'integer' class(GtkPageOrientation) <- 'enums' GtkPrintQuality<-c("low" = 0, "normal" = 1, "high" = 2, "draft" = 3) storage.mode(GtkPrintQuality) <- 'integer' class(GtkPrintQuality) <- 'enums' GtkPrintDuplex<-c("simplex" = 0, "horizontal" = 1, "vertical" = 2) storage.mode(GtkPrintDuplex) <- 'integer' class(GtkPrintDuplex) <- 'enums' GtkUnit<-c("pixel" = 0, "points" = 1, "inch" = 2, "mm" = 3) storage.mode(GtkUnit) <- 'integer' class(GtkUnit) <- 'enums' GtkTreeViewGridLines<-c("none" = 0, "horizontal" = 1, "vertical" = 2, "both" = 3) storage.mode(GtkTreeViewGridLines) <- 'integer' class(GtkTreeViewGridLines) <- 'enums' GtkPrintStatus<-c("initial" = 0, "preparing" = 1, "generating-data" = 2, "sending-data" = 3, "pending" = 4, "pending-issue" = 5, "printing" = 6, "finished" = 7, "finished-aborted" = 8) storage.mode(GtkPrintStatus) <- 'integer' class(GtkPrintStatus) <- 'enums' GtkPrintOperationResult<-c("error" = 0, "apply" = 1, "cancel" = 2, "in-progress" = 3) storage.mode(GtkPrintOperationResult) <- 'integer' class(GtkPrintOperationResult) <- 'enums' GtkPrintOperationAction<-c("print-dialog" = 0, "print" = 1, "preview" = 2, "export" = 3) storage.mode(GtkPrintOperationAction) <- 'integer' class(GtkPrintOperationAction) <- 'enums' GtkPrintError<-c("general" = 0, "internal-error" = 1, "nomem" = 2) storage.mode(GtkPrintError) <- 'integer' class(GtkPrintError) <- 'enums' GtkRecentSortType<-c("none" = 0, "mru" = 1, "lru" = 2, "custom" = 3) storage.mode(GtkRecentSortType) <- 'integer' class(GtkRecentSortType) <- 'enums' GtkRecentChooserError<-c("not-found" = 0, "invalid-uri" = 1) storage.mode(GtkRecentChooserError) <- 'integer' class(GtkRecentChooserError) <- 'enums' GtkRecentManagerError<-c("not-found" = 0, "invalid-uri" = 1, "invalid-encoding" = 2, "not-registered" = 3, "read" = 4, "write" = 5, "unknown" = 6) storage.mode(GtkRecentManagerError) <- 'integer' class(GtkRecentManagerError) <- 'enums' GtkTextBufferTargetInfo<-c("buffer-contents" = 0, "rich-text" = 1, "text" = 2) storage.mode(GtkTextBufferTargetInfo) <- 'integer' class(GtkTextBufferTargetInfo) <- 'enums' GtkBuilderError<-c("invalid-type-function" = 0, "unhandled-tag" = 1, "missing-attribute" = 2, "invalid-attribute" = 3, "invalid-tag" = 4, "missing-property-value" = 5, "invalid-value" = 6) storage.mode(GtkBuilderError) <- 'integer' class(GtkBuilderError) <- 'enums' GtkNumberUpLayout<-c("left-to-right-top-to-bottom" = 0, "left-to-right-bottom-to-top" = 1, "right-to-left-top-to-bottom" = 2, "right-to-left-bottom-to-top" = 3, "top-to-bottom-left-to-right" = 4, "top-to-bottom-right-to-left" = 5, "bottom-to-top-left-to-right" = 6, "bottom-to-top-right-to-left" = 7) storage.mode(GtkNumberUpLayout) <- 'integer' class(GtkNumberUpLayout) <- 'enums' GtkEntryIconPosition<-c("primary" = 0, "secondary" = 1) storage.mode(GtkEntryIconPosition) <- 'integer' class(GtkEntryIconPosition) <- 'enums' GtkAccelFlags<-c("visible" = 1, "locked" = 2, "mask" = 4) storage.mode(GtkAccelFlags) <- 'numeric' class(GtkAccelFlags) <- 'flags' GtkAttachOptions<-c("expand" = 1, "shrink" = 2, "fill" = 4) storage.mode(GtkAttachOptions) <- 'numeric' class(GtkAttachOptions) <- 'flags' GtkButtonAction<-c("ignored" = 1, "selects" = 2, "drags" = 4, "expands" = 8) storage.mode(GtkButtonAction) <- 'numeric' class(GtkButtonAction) <- 'flags' GtkCalendarDisplayOptions<-c("show-heading" = 1, "show-day-names" = 2, "no-month-change" = 4, "show-week-numbers" = 8, "week-start-monday" = 16) storage.mode(GtkCalendarDisplayOptions) <- 'numeric' class(GtkCalendarDisplayOptions) <- 'flags' GtkCellRendererState<-c("selected" = 1, "prelit" = 2, "insensitive" = 4, "sorted" = 8, "focused" = 16) storage.mode(GtkCellRendererState) <- 'numeric' class(GtkCellRendererState) <- 'flags' GtkDestDefaults<-c("motion" = 1, "highlight" = 2, "drop" = 4, "all" = 8) storage.mode(GtkDestDefaults) <- 'numeric' class(GtkDestDefaults) <- 'flags' GtkDialogFlags<-c("modal" = 1, "destroy-with-parent" = 2, "no-separator" = 4) storage.mode(GtkDialogFlags) <- 'numeric' class(GtkDialogFlags) <- 'flags' GtkFileFilterFlags<-c("filename" = 1, "uri" = 2, "display-name" = 4, "mime-type" = 8) storage.mode(GtkFileFilterFlags) <- 'numeric' class(GtkFileFilterFlags) <- 'flags' GtkIconLookupFlags<-c("no-svg" = 1, "force-svg" = 2, "use-builtin" = 4) storage.mode(GtkIconLookupFlags) <- 'numeric' class(GtkIconLookupFlags) <- 'flags' GtkRcFlags<-c("fg" = 1, "bg" = 2, "text" = 4, "base" = 8) storage.mode(GtkRcFlags) <- 'numeric' class(GtkRcFlags) <- 'flags' GtkTargetFlags<-c("app" = 1, "widget" = 2) storage.mode(GtkTargetFlags) <- 'numeric' class(GtkTargetFlags) <- 'flags' GtkTextSearchFlags<-c("visible-only" = 1, "text-only" = 2) storage.mode(GtkTextSearchFlags) <- 'numeric' class(GtkTextSearchFlags) <- 'flags' GtkTreeModelFlags<-c("iters-persist" = 1, "list-only" = 2) storage.mode(GtkTreeModelFlags) <- 'numeric' class(GtkTreeModelFlags) <- 'flags' GtkUIManagerItemType<-c("auto" = 1, "menubar" = 2, "menu" = 4, "toolbar" = 8, "placeholder" = 16, "popup" = 32, "menuitem" = 64, "toolitem" = 128, "separator" = 256, "accelerator" = 512) storage.mode(GtkUIManagerItemType) <- 'numeric' class(GtkUIManagerItemType) <- 'flags' GtkWidgetFlags<-c("toplevel" = 16, "no-window" = 32, "realized" = 64, "mapped" = 128, "visible" = 256, "sensitive" = 512, "parent-sensitive" = 1024, "can-focus" = 2048, "has-focus" = 4096, "can-default" = 8192, "has-default" = 16384, "has-grab" = 32768, "rc-style" = 16384, "composite-child" = 131072, "no-reparent" = 262144, "app-paintable" = 524288, "receives-default" = 1048576, "double-buffered" = 2097152, "no-show-all" = 4194304) storage.mode(GtkWidgetFlags) <- 'numeric' class(GtkWidgetFlags) <- 'flags' GtkRecentFilterFlags<-c("uri" = 1, "display-name" = 2, "mime-type" = 4, "application" = 8, "group" = 16, "age" = 32) storage.mode(GtkRecentFilterFlags) <- 'numeric' class(GtkRecentFilterFlags) <- 'flags' GtkToolPaletteDragTargets<-c("items" = 1, "groups" = 2) storage.mode(GtkToolPaletteDragTargets) <- 'numeric' class(GtkToolPaletteDragTargets) <- 'flags' RGtk2/R/cairozConstructors.R0000644000176000001440000000266711766145227015525 0ustar ripleyuserscairo <- cairoCreate cairoFontFace <- function(family, slant, weight) { if (!missing(family)) { cairoToyFontFaceCreate(family, slant, weight) } else { cairoUserFontFaceCreate() } } cairoPattern <- function(red, green, blue, alpha, surface, x0, y0, x1, y1, cx0, cy0, radius0, cx1, cy1, radius1) { if (!missing(red)) { if (!missing(alpha)) { cairoPatternCreateRgba(red, green, blue, alpha) } else { cairoPatternCreateRgb(red, green, blue) } } else { if (!missing(surface)) { cairoPatternCreateForSurface(surface) } else { if (!missing(x0)) { cairoPatternCreateLinear(x0, y0, x1, y1) } else { cairoPatternCreateRadial(cx0, cy0, radius0, cx1, cy1, radius1) } } } } cairoSurface <- function(width, height, format, other, content, data, stride, filename, con) { if (!missing(other)) { cairoSurfaceCreateSimilar(other, content, width, height) } else { if (!missing(width)) { if (!missing(data)) { cairoImageSurfaceCreateForData(data, format, width, height, stride) } else { cairoImageSurfaceCreate(format, width, height) } } else { if (!missing(filename)) { cairoImageSurfaceCreateFromPng(filename) } else { cairoImageSurfaceCreateFromPngStream(con) } } } } cairoScaledFont <- cairoScaledFontCreate cairoFontOptions <- cairoFontOptionsCreate RGtk2/R/gtkManuals.R0000644000176000001440000006725711766145227013721 0ustar ripleyusers# most of these functions are implemented manually for the same reason as their C counterpart # reason: var args, paste 'em together gtkMessageDialogNew <- function(parent = NULL, flags, type, buttons, ..., show = TRUE) { checkPtrType(parent, "GtkWindow", nullOk = T) w <- .RGtkCall("S_gtk_message_dialog_new", parent, flags, type, buttons, paste(...)) if(show) gtkWidgetShowAll(w) return(w) } # reason: same as above gtkMessageDialogFormatSecondaryMarkup <- function(object, ...) { checkPtrType(object, "GtkMessageDialog") w <- .RGtkCall("S_gtk_message_dialog_format_secondary_markup", object, paste(...)) return(invisible(w)) } # reason: same as above gtkMessageDialogFormatSecondaryText <- function(object, ...) { checkPtrType(object, "GtkMessageDialog") w <- .RGtkCall("S_gtk_message_dialog_format_secondary_text", object, paste(...)) return(invisible(w)) } # reason: same as above gtkMessageDialogNewWithMarkup <- function(parent, flags, type, buttons, ..., show = TRUE) { checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_message_dialog_new_with_markup", parent, flags, type, buttons, paste(...)) if(show) gtkWidgetShowAll(w) return(w) } # reason: var args, make two vectors, one for labels the other for responses gtkDialogNewWithButtons <- function(title = NULL, parent = NULL, flags = 0, ..., show = TRUE) { title <- as.character(title) checkPtrType(parent, "GtkWindow", nullOk = TRUE) args <- list(...) args <- args[!is.null(args)] if (length(args) %% 2 != 0) stop("Must have one stock ID for every response type") args_split <- split(args, rep(c(1,2), length(args) / 2)) labels <- as.character(args_split[[1]]) responses <- as.list(as.integer(args_split[[2]])) w <- .RGtkCall("S_gtk_dialog_new_with_buttons", title, parent, flags, labels, responses) if(show) gtkWidgetShowAll(w) return(w) } gtkDialogAddButtons <- function(object, ...) { checkPtrType(object, "GtkDialog") args <- list(...) labels <- as.character(args[seq(1,length(args),by=2)]) responses <- args[seq(2,length(args),by=2)] w <- .RGtkCall("S_gtk_dialog_add_buttons", object, labels, responses) return(invisible(w)) } # reason: var-args for the buttons, compile into vectors of labels and responses (if given) gtkFileChooserDialogNewWithBackend <- function(title = NULL, parent = NULL, action, backend, ..., show = TRUE) { title <- as.character(title) checkPtrType(parent, "GtkWindow", nullOk = T) backend <- as.character(backend) args <- list(...) labels <- NULL responses <- NULL if (length(args) > 1) { labels <- as.character(args[seq(1,length(args),by=2)]) responses <- args[seq(2,length(args),by=2)] } w <- .RGtkCall("S_gtk_file_chooser_dialog_new_with_backend", title, parent, action, backend, labels, responses) if(show) gtkWidgetShowAll(w) return(w) } gtkFileChooserDialogNew <- function(title = NULL, parent = NULL, action, ..., show = TRUE) { w <- gtkFileChooserDialogNewWithBackend(title, parent, action, NULL, ..., show=show) return(w) } gtkRecentChooserDialogNewForManager <- function(title = NULL, parent = NULL, manager, ..., show = TRUE) { title <- as.character(title) checkPtrType(parent, "GtkWindow", nullOk = T) checkPtrType(manager, "GtkRecentManager", nullOk = T) args <- list(...) labels <- NULL responses <- NULL if (length(args) > 1) { labels <- as.character(args[seq(1,length(args),by=2)]) responses <- args[seq(2,length(args),by=2)] } w <- .RGtkCall("S_gtk_recent_chooser_dialog_new_for_manager", title, parent, manager, labels, responses) if(show) gtkWidgetShowAll(w) return(w) } gtkRecentChooserDialogNew <- function(title = NULL, parent = NULL, ..., show = TRUE) { w <- gtkRecentChooserDialogNewForManager(title, parent, NULL, ..., show=show) return(w) } # reason: var-args - not yet ready for primetime #gtkDialogSetAlternativeButtonOrder <- #function(object, ...) #{ # checkPtrType(object, "GtkDialog") # # w <- .RGtkCall("S_gtk_dialog_set_alternative_button_order", object, ..., -1) # # return(invisible(w)) #} # reason: var-args, implemented from scratch on C side gtkShowAboutDialog <- function(parent, ...) { checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_show_about_dialog", parent, list(...)) return(invisible(w)) } # reason: var-args, reimplemented on C side gtkTextBufferCreateTag <- function(object, tag.name, ...) { checkPtrType(object, "GtkTextBuffer") tag.name <- as.character(tag.name) w <- .RGtkCall("S_gtk_text_buffer_create_tag", object, tag.name, list(...)) return(w) } # reason: var args, just compile into an array and send to alternate function gtkListStore <- gtkListStoreNew <- function(...) { types <- checkArrType(c(...), as.GType) w <- .RGtkCall("S_gtk_list_store_newv", types) return(w) } # reason: var args, just compile into an array and send to alternate function gtkTreeStoreNew <- function(...) { types <- checkArrType(c(...), as.GType) w <- .RGtkCall("S_gtk_tree_store_newv", types) return(w) } # reason: var args, break apart the args into cols and values vectors gtkListStoreSet <- function(object, iter, ...) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") args <- list(...) cols <- as.integer(unlist(args[seq(1,length(args),by=2)])) if (length(args) == 2) values <- args[2] else values <- args[seq(2,length(args),by=2)] w <- .RGtkCall("S_gtk_list_store_set", object, iter, cols, values) return(invisible(w)) } # reason: var args, let's do it completely in R gtkTreeStoreSet <- function(object, iter, ...) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") args <- list(...) cols <- as.integer(unlist(args[seq(1,length(args),by=2)])) if (length(args) == 2) values <- args[2] else values <- args[seq(2,length(args),by=2)] w <- .RGtkCall("S_gtk_tree_store_set", object, iter, cols, values) } # reason: var args, compile into named list and send to C gtkCellLayoutSetAttributes <- function(object, cell, ...) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") attributes <- lapply(c(...), as.integer) w <- .RGtkCall("S_gtk_cell_layout_set_attributes", object, cell, attributes) return(invisible(w)) } # reason: just var-args, so concat them as a named vector gtkContainerAddWithProperties <- function(object, widget, ...) { checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_add_with_properties", object, widget, c(...)) return(invisible(w)) } # reason: more var-args, like above gtkContainerChildSet <- function(object, child, ...) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_container_child_set", object, child, list(...)) return(invisible(w)) } # reason: var args, compile and coerce to strings gtkContainerChildGet <- function(object, child, ...) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") props <- as.character(c(...)) w <- .RGtkCall("S_gtk_container_child_get", object, child, props) return(invisible(w)) } # reason: var args, make a vector of column ids gtkTreeModelGet <- function(object, iter, ...) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") cols <- as.integer(c(...)) w <- .RGtkCall("S_gtk_tree_model_get", object, iter, cols) return(w) } # reason: var args, make a vector of indices gtkTreePathNewFromIndices <- function(...) { indices <- as.integer(c(...)) w <- .RGtkCall("S_gtk_tree_path_new_from_indices", indices) return(w) } # reason: var args, convert to named list gtkTreeViewInsertColumnWithAttributes <- function(object, position, title, cell, ...) { checkPtrType(object, "GtkTreeView") position <- as.integer(position) title <- as.character(title) checkPtrType(cell, "GtkCellRenderer") attributes <- lapply(c(...), as.integer) w <- .RGtkCall("S_gtk_tree_view_insert_column_with_attributes", object, position, title, cell, attributes) return(w) } # reason: var-args, collect into vectors gtkTextBufferInsertWithTags <- function(object, iter, text, ...) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") text <- as.character(text) tags <- list(...) checkArrType(tags, function(x) checkPtrType(x, "GtkTextTag")) w <- .RGtkCall("S_gtk_text_buffer_insert_with_tags", object, iter, text, -1L, tags) return(invisible(w)) } # reason: same as above gtkTextBufferInsertWithTagsByName <- function(object, iter, text, ...) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") text <- as.character(text) tagNames <- list(...) tagNames <- as.character(tagNames) w <- .RGtkCall("S_gtk_text_buffer_insert_with_tags_by_name", object, iter, text, tagNames) return(invisible(w)) } # reason: redirect to set_with_data, GObject confuses code generator gtkClipboardSetWithOwner <- function(object, targets, get.func, owner = NULL) { checkPtrType(object, "GtkClipboard") targets <- checkArrType(targets, function(x) {x <- as.GtkTargetEntry(x); x }) get.func <- as.function(get.func) if (!is.null( owner )) checkPtrType(owner, "GObject") w <- .RGtkCall("S_gtk_clipboard_set_with_data", object, targets, get.func, owner) return(w) } # reason: position arg is omitted automatically, due to array gtkListStoreInsertWithValuesv <- function(object, position, columns, values) { checkPtrType(object, "GtkListStore") position <- as.integer(position) columns <- as.list(as.integer(columns)) values <- as.list(values) w <- .RGtkCall("S_gtk_list_store_insert_with_valuesv", object, position, columns, values) return(invisible(w)) } gtkTreeStoreInsertWithValuesv <- function(object, parent, position, columns, values) { checkPtrType(object, "GtkTreeStore") checkPtrType(parent, "GtkTreeIter") position <- as.integer(position) columns <- as.list(as.integer(columns)) values <- as.list(values) w <- .RGtkCall("S_gtk_tree_store_insert_with_valuesv", object, parent, position, columns, values, PACKAGE = "RGtk2") return(invisible(w)) } # reason: here are some functions where we just leave off the text length parameter for convenience gtkTextBufferInsertInteractive <- function(object, iter, text, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") text <- as.character(text) default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_insert_interactive", object, iter, text, -1, default.editable) return(w) } gtkTextBufferInsertInteractiveAtCursor <- function(object, text, default.editable) { checkPtrType(object, "GtkTextBuffer") text <- as.character(text) default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_insert_interactive_at_cursor", object, text, -1, default.editable) return(w) } gtkIMContextSetSurrounding <- function(object, text, cursor.index) { checkPtrType(object, "GtkIMContext") text <- as.character(text) cursor.index <- as.integer(cursor.index) w <- .RGtkCall("S_gtk_im_context_set_surrounding", object, text, -1, cursor.index) return(invisible(w)) } # reason: this one leaves off dimensions that must be user specified gtkIMContextSimpleAddTable <- function(object, data, max.seq.len, n.seqs) { checkPtrType(object, "GtkIMContextSimple") data <- as.list(as.integer(data)) max.seq.len <- as.integer(max.seq.len) n.seqs <- as.integer(n.seqs) w <- .RGtkCall("S_gtk_im_context_simple_add_table", object, data, max.seq.len, n.seqs) return(w) } # reason: for convenience give defaults for parameters gtkSelectionDataSet <- function(object, type = object[["target"]], format = 8L, data) { checkPtrType(object, "GtkSelectionData") type <- as.GdkAtom(type) format <- as.integer(format) data <- as.list(as.raw(data)) # inefficient for large data w <- .RGtkCall("S_gtk_selection_data_set", object, type, format, data) return(invisible(w)) } # reason: need to omit the length param here - string arrays are normally NULL-terminated gtkIconThemeSetSearchPath <- function(object, path) { checkPtrType(object, "GtkIconTheme") path <- as.list(as.character(path)) w <- .RGtkCall("S_gtk_icon_theme_set_search_path", object, path) return(invisible(w)) } # reason: var-args gtkDialogSetAlternativeButtonOrder <- function(object, ...) { checkPtrType(object, "GtkDialog") new.order <- list(...) w <- gtkDialogSetAlternativeButtonOrderFromArray(object, new.order) return(invisible(w)) } # reason: more var-args gtkListStoreInsertWithValues <- function(object, position, ...) { checkPtrType(object, "GtkListStore") position <- as.integer(position) args <- list(...) columns <- as.integer(args[seq(1,length(args),by=2)]) values <- args[seq(2,length(args),by=2)] w <- gtkListStoreInsertWithValuesv(object, position, columns, values) return(w) } gtkTreeStoreInsertWithValues <- function(object, parent, position, ...) { checkPtrType(object, "GtkListStore") checkPtrType(parent, "GtkTreeIter") position <- as.integer(position) args <- list(...) columns <- as.integer(args[seq(1,length(args),by=2)]) values <- args[seq(2,length(args),by=2)] w <- gtkTreeStoreInsertWithValuesv(object, parent, position, columns, values) return(w) } # reason: user func has no userdata, so we can't support it... maybe in the future gtkMenuAttachToWidget <- function(object, attach.widget) { checkPtrType(object, "GtkMenu") checkPtrType(attach.widget, "GtkWidget") w <- .RGtkCall("S_gtk_menu_attach_to_widget", object, attach.widget, PACKAGE = "RGtk2") return(invisible(w)) } # reason: var-args, let's just go right to gObjectSet gtkWidgetSet <- gObjectSet # reason: add ... argument so that we can use this on a variety of signals gtkWidgetDestroy <- function(object, ...) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_destroy", object, PACKAGE = "RGtk2") return(invisible(w)) } # reason: these two are var-args and we're just going to tie them into gObjectNew gtkWidgetNew <- function(type, ..., show = TRUE) { if (!("GtkWidget" %in% gTypeGetAncestors(type))) stop("GType must inherit from GtkWidget") gObjectNew(type, ...) } gtkObject <- gtkObjectNew <- function(type, ...) { if (!("GtkObject" %in% gTypeGetAncestors(type))) stop("GType must inherit from GtkObject") gObjectNew(type, ...) } # reason: var-args, just use _style_get_property for each gtkWidgetStyleGet <- function(object, ...) { checkPtrType(object, "GtkWidget") props <- c(...) w <- sapply(props, function(prop) { gtkWidgetStyleGetProperty(object, prop) }) return(invisible(w)) } # reason: var-args, just reimplement in R gtkTreeViewColumnNewWithAttributes <- function(title, cell, ...) { title <- as.character(title) checkPtrType(cell, "GtkCellRenderer") column <- gtkTreeViewColumnNew() column$setTitle(title) column$packStart(cell, TRUE) column$setAttributes(cell, ...) return(column) } # reason: var-args, just implement in R using _add_attribute for each gtkTreeViewColumnSetAttributes <- function(object, cell.renderer, ...) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell.renderer, "GtkCellRenderer") attributes <- lapply(c(...), as.integer) print(attributes) object$clearAttributes(cell.renderer) w <- sapply(names(attributes), function(attr) { object$addAttribute(cell.renderer, attr, attributes[[attr]]) }) return(invisible(w)) } ## x and y are in-out parameters gtkTreeViewGetTooltipContext <- function(object, x, y, keyboard.tip) { checkPtrType(object, "GtkTreeView") x <- as.integer(x) y <- as.integer(y) keyboard.tip <- as.logical(keyboard.tip) w <- .RGtkCall("S_gtk_tree_view_get_tooltip_context", object, x, y, keyboard.tip, PACKAGE = "RGtk2") return(w) } gtkIconViewGetTooltipContext <- function(object, x, y, keyboard.tip) { checkPtrType(object, "GtkIconView") x <- as.integer(x) y <- as.integer(y) keyboard.tip <- as.logical(keyboard.tip) w <- .RGtkCall("S_gtk_icon_view_get_tooltip_context", object, x, y, keyboard.tip, PACKAGE = "RGtk2") return(w) } ## varargs gtkStyleGet <- function(object, widget.type, first.property.name, ...) { checkPtrType(object, "GtkStyle") widget.type <- as.GType(widget.type) property.names <- as.character(c(first.property.name, ...)) values <- lapply(property.names, object$getStyleProperty, widget.type = widget.type) lapply(values, `[[`, "value") } ## varargs gtkInfoBarNewWithButtons <- function(first.button.text, ..., show = TRUE) { w <- gtkInfoBar(show = show) w$addButtons(first.button.text, ...) w } gtkInfoBarAddButtons <- function(object, first.button.text, ...) { checkPtrType(object, "GtkInfoBar") args <- c(first.button.text, list(...)) labels <- args[seq(1, length(args), 2)] responses <- args[seq(2, length(args), 2)] invisible(mapply(object$addButton, labels, responses)) } ## Create an instance of RGtkBuilder, which can find the types by name .initClasses <- function() { if (boundGTKVersion() >= "2.12.0") { gClass("RGtkBuilder", "GtkBuilder", GtkBuilder = list( get_type_from_name = function(self, name) as.GType(name) ) ) } } gtkBuilderNew <- function() gObject("RGtkBuilder") # reason: unfortunately, the 'group' must be an exact pointer match so # we delegate to 'gtkRadioButtonNewFromWidget' with the first element. gtkRadioButtonNew <- function(group = NULL, show = TRUE) gtkRadioButtonNewFromWidget(group[[1]], show) gtkRadioButtonNewWithLabel <- function(group = NULL, label, show = TRUE) gtkRadioButtonNewWithLabelFromWidget(group[[1]], label, show) ## Unlike GtkRadioButton, the GtkRadioMenuItem from_widget ## constructors do not accept a NULL value for 'widget'. Thus, we have ## to catch NULL and call the original function (where NULL becomes an ## empty list). Otherwise, we call from_widget as in the above. In the ## GTK+ source, it looks like they have written to code to be robust ## to NULL, but there is an assertion up-front that fails. Since the ## function is not documented to accept NULL, this must be the desired ## behavior. gtkRadioMenuItemNew <- function(group = NULL, show = TRUE) { if (is.null(group)) { w <- .RGtkCall("S_gtk_radio_menu_item_new", group, PACKAGE="RGtk2") if (show) w$show() w } else gtkRadioMenuItemNewFromWidget(group[[1]], show) } gtkRadioMenuItemNewWithLabel <- function(group = NULL, label, show = TRUE) { if (is.null(group)) { w <- .RGtkCall("S_gtk_radio_menu_item_new_with_label", group, label, PACKAGE="RGtk2") if (show) w$show() w } else gtkRadioMenuItemNewWithLabelFromWidget(group[[1]], label, show) } gtkRadioMenuItemNewWithMnemonic <- function(group = NULL, label, show = TRUE) { if (is.null(group)) { w <- .RGtkCall("S_gtk_radio_menu_item_new_with_mnemonic", group, label, PACKAGE="RGtk2") if (show) w$show() w } else gtkRadioMenuItemNewWithMnemonicFromWidget(group[[1]], label, show) } gtkRadioToolButtonNew <- function(group = NULL, show = TRUE) { if (is.null(group)) { w <- .RGtkCall("S_gtk_radio_tool_button_new", group, PACKAGE="RGtk2") if (show) w$show() w } else gtkRadioToolButtonNewFromWidget(group[[1]], show) } gtkRadioToolButtonNewFromStock <- function(group = NULL, stock.id, show = TRUE) { if (is.null(group)) { w <- .RGtkCall("S_gtk_radio_tool_button_new_from_stock", group, stock.id, PACKAGE="RGtk2") if (show) w$show() w } else gtkRadioToolButtonNewWithStockFromWidget(group[[1]], stock.id, show) } # getting child widgets by index "[[.GtkContainer" <- function(x, field, where = parent.frame()) { if(is.numeric(field)) return(x$getChildren()[[field]]) else NextMethod("[[", where = where) } # EXPERIMENTAL TREE MODEL ACCESS # Currently deprecated in favor of custom RGtkDataFrame model if (FALSE) { # Loads data into the specified rows (or paths) and columns of a list store gtkListStoreLoad <- function(object, data, rows, cols = 0:(length(data)-1), paths = NULL, append=F) { checkPtrType(object, "GtkListStore") w <- gtkTreeModelLoad(object, data, rows, cols, paths, append, type = "list") return(invisible(w)) } # Loads data into the specified rows (or paths) and columns of a tree store # Here, the rows should be vectors that describe path locations within the tree gtkTreeStoreLoad <- function(object, data, rows, cols = 0:(length(data)-1), paths = NULL, append=F) { checkPtrType(object, "GtkTreeStore") w <- gtkTreeModelLoad(object, data, rows, cols, paths, append, type = "tree") return(invisible(w)) } # The (private) main function for loading data into a tree or list store # If the column names have not been set for the model, this function sets them # to the column names of the data frame. If append is TRUE the data is added # to the end of the model. Otherwise, if there are no paths and the rows are not specified, # they are assumed to be the sequence from 0 to the number of rows in the data. # The columns can be indices or names. Sorting is temporarily disabled for this operation. gtkTreeModelLoad <- function(object, data, rows, cols = 0:(length(data)-1), paths = NULL, append=F, type = c("list", "tree")) { type <- match.arg(type) col.names <- object$getData("colnames") if (is.null(col.names)) { col.names <- character(object$getNColumns()) col.names[cols+1] <- names(data) object$setData("colnames", col.names) } data <- lapply(data, as.list) if (is.character(cols)) { m <- match(cols, col.names) cols[!is.na(m)] <- m[!is.na(m)]-1 } cols <- as.integer(cols) if (length(cols) != length(data)) stop("The number of specified columns (", length(cols), ")", " does not match the number of columns (", length(data), ") in the data") sort <- object$getSortColumnId() sorted <- sort["sort_column_id"] %in% cols if (sorted) object$setSortColumnId(-2, sort[["order"]]) # -2 means unsorted if (missing(paths) && (!append || type == "tree")) { if (missing(rows) || is.null(rows)) rows <- 0:(length(data[[1]])-1) if (type == "tree") rows <- lapply(rows, as.integer) else rows <- as.integer(rows) w <- .RGtkCall(paste("S_gtk_", type, "_store_load", sep=""), object, data, rows, cols, append) } else { paths <- lapply(paths, function(path) { checkPtrType(path, "GtkTreePath"); path }) w <- .RGtkCall(paste("S_gtk_", type, "_store_load_paths", sep=""), object, data, paths, cols, append) } if (sorted) object$setSortColumnId(sort[["sort_column_id"]], sort[["order"]]) return(invisible(w)) } # Unloads a tree model. If there are no paths, the rows must must be indices or # vectors of indices if accessing multiple levels. Columns may be indices or names. # If this model has column names, they are the column names of the returned structure. # This structure is a data frame if 'frame' is TRUE. The attribute "paths" contains # indices or vectors of indices (in the case of multiple levels) describing the location # of each row of the data frame in the tree model. gtkTreeModelUnload <- function(object, rows = NULL, cols = 0:(object$getNColumns()-1), paths, frame = T) { checkPtrType(object, "GtkTreeModel") col.names <- colnames(object) if (is.character(cols)) { if (is.null(col.names)) stop("Specifying column names is not allowed - this tree model does not have any") m <- match(cols, col.names) if (any(is.na(m))) stop("Invalid column names: ", paste(cols[is.na(m)], collapse=", ")) cols[!is.na(m)] <- m[!is.na(m)]-1 } cols <- as.integer(cols) if(missing(paths)) { rows <- lapply(rows, as.integer) data <- .RGtkCall("S_gtk_tree_model_unload", object, rows, cols) } else { paths <- lapply(paths, function(path) { checkPtrType(path, "GtkTreePath"); path }) data <- .RGtkCall("S_gtk_tree_model_unload_paths", object, paths, cols) } if (length(rows) == 0) { rows <- data[[2]] data <- data[[1]] } if (frame) data <- as.data.frame(sapply(data, unlist)) attr(data, "paths") <- rows if (length(data) > 0 && length(col.names) > 0) { names(data) <- col.names[cols+1] } return(data) } # we can't do "GtkTreeModel" here because it's an interface, not a class "[<-.GtkListStore" <- "[<-.GtkTreeStore" <- function(model, rows = NULL, cols = 0:(length(data)-1), value) { model$load(value, rows, cols) model } "[.GtkListStore" <- "[.GtkTreeStore" <- function(model, rows = NULL, cols = 0:(model$getNColumns()-1)) { model$unload(rows, cols) } dimnames.GtkTreeStore <- dimnames.GtkListStore <- function(x, ...) { list(x$getData("rownames"), x$getData("colnames")) } } # creating a GtkTreeIter from scratch (for implementing new models) gtkTreeIter <- function(id, stamp) { .RGtkCall("S_gtk_tree_iter", as.integer(id), as.integer(stamp)) } # setting id's and stamps on GtkTreeIter's (for implementing new models) gtkTreeIterGetId <- function(iter) { checkPtrType(iter, "GtkTreeIter") .RGtkCall("S_gtk_tree_iter_get_id", iter) } gtkTreeIterSetId <- function(iter, id) { checkPtrType(iter, "GtkTreeIter") id <- as.integer(id) .RGtkCall("S_gtk_tree_iter_set_id", iter, id) } gtkTreeIterGetStamp <- function(iter) { checkPtrType(iter, "GtkTreeIter") .RGtkCall("S_gtk_tree_iter_get_stamp", iter) } gtkTreeIterSetStamp <- function(iter, stamp) { checkPtrType(iter, "GtkTreeIter") stamp <- as.integer(stamp) .RGtkCall("S_gtk_tree_iter_set_stamp", iter, stamp) } # aliases for error domains GTK_ICON_THEME_ERROR <- gtkIconThemeErrorQuark GTK_FILE_CHOOSER_ERROR <- gtkFileChooserErrorQuark # NOT IMPLEMENTED FUNCS # gtkAccelGroupQuery <- function(object, accel.key, accel.mods) { .notimplemented("returns an array of an undocumented structure, so you probably shouldn't use it") } gtkCListSetCompareFunc <- function(object, cmp.func) { .notimplemented("does not provide user-data for the comparison func, so we can't wrap an R function. Besides, it's deprecated") } gtkCTreeSetDragCompareFunc <- function(object, cmp.func) { .notimplemented("does not provide user data for the comparison func, so we can't wrap an R function. Besides, it's deprecated") } gtkItemFactoryCreateMenuEntries <- function(entries) { .notimplemented("accepts as input an array of an undocumented structure, so you probably shouldn't use it. Besides, it's deprecated") } gtkSettingsInstallPropertyParser <- function(pspec, parser) { .notimplemented("does not have user data for the parser callback. You probably don't need to be defining new property types in GTK style files anyway.") } gtkWidgetClassInstallStylePropertyParser <- function(klass, pspec, parser) { .notimplemented("does not have user data for the parser callback. You probably don't need to be defining new property types in GTK style files anyway.") } ## version checking ## boundGTKVersion <- function() { as.numeric_version(paste(.RGtkCall("boundGTKVersion"), collapse=".")) } checkGTK <- function(version) { .Deprecated("boundGTKVersion() >= version") boundGTKVersion() >= version } RGtk2/R/atkFuncs.R0000644000176000001440000012407312362217673013355 0ustar ripleyusers atkActionGetType <- function() { w <- .RGtkCall("S_atk_action_get_type", PACKAGE = "RGtk2") return(w) } atkActionGetLocalizedName <- function(object, i) { checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_get_localized_name", object, i, PACKAGE = "RGtk2") return(w) } atkActionDoAction <- function(object, i) { checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_do_action", object, i, PACKAGE = "RGtk2") return(w) } atkActionGetNActions <- function(object) { checkPtrType(object, "AtkAction") w <- .RGtkCall("S_atk_action_get_n_actions", object, PACKAGE = "RGtk2") return(w) } atkActionGetDescription <- function(object, i) { checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_get_description", object, i, PACKAGE = "RGtk2") return(w) } atkActionGetName <- function(object, i) { checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_get_name", object, i, PACKAGE = "RGtk2") return(w) } atkActionGetKeybinding <- function(object, i) { checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_get_keybinding", object, i, PACKAGE = "RGtk2") return(w) } atkActionSetDescription <- function(object, i, desc) { checkPtrType(object, "AtkAction") i <- as.integer(i) desc <- as.character(desc) w <- .RGtkCall("S_atk_action_set_description", object, i, desc, PACKAGE = "RGtk2") return(w) } atkComponentGetType <- function() { w <- .RGtkCall("S_atk_component_get_type", PACKAGE = "RGtk2") return(w) } atkComponentContains <- function(object, x, y, coord.type) { checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_contains", object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentRefAccessibleAtPoint <- function(object, x, y, coord.type) { checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_ref_accessible_at_point", object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentGetExtents <- function(object, coord.type) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_extents", object, coord.type, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentGetPosition <- function(object, coord.type) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_position", object, coord.type, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentGetSize <- function(object) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentGrabFocus <- function(object) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_grab_focus", object, PACKAGE = "RGtk2") return(w) } atkComponentRemoveFocusHandler <- function(object, handler.id) { checkPtrType(object, "AtkComponent") handler.id <- as.numeric(handler.id) w <- .RGtkCall("S_atk_component_remove_focus_handler", object, handler.id, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentSetExtents <- function(object, x, y, width, height, coord.type) { checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_atk_component_set_extents", object, x, y, width, height, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentSetPosition <- function(object, x, y, coord.type) { checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_set_position", object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentSetSize <- function(object, width, height) { checkPtrType(object, "AtkComponent") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_atk_component_set_size", object, width, height, PACKAGE = "RGtk2") return(w) } atkComponentGetLayer <- function(object) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_layer", object, PACKAGE = "RGtk2") return(w) } atkComponentGetMdiZorder <- function(object) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_mdi_zorder", object, PACKAGE = "RGtk2") return(w) } atkDocumentGetType <- function() { w <- .RGtkCall("S_atk_document_get_type", PACKAGE = "RGtk2") return(w) } atkDocumentGetDocumentType <- function(object) { checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_get_document_type", object, PACKAGE = "RGtk2") return(w) } atkDocumentGetDocument <- function(object) { checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_get_document", object, PACKAGE = "RGtk2") return(w) } atkEditableTextGetType <- function() { w <- .RGtkCall("S_atk_editable_text_get_type", PACKAGE = "RGtk2") return(w) } atkEditableTextSetRunAttributes <- function(object, attrib.set, start.offset, end.offset) { checkPtrType(object, "AtkEditableText") attrib.set <- as.AtkAttributeSet(attrib.set) start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_editable_text_set_run_attributes", object, attrib.set, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkEditableTextSetTextContents <- function(object, string) { checkPtrType(object, "AtkEditableText") string <- as.character(string) w <- .RGtkCall("S_atk_editable_text_set_text_contents", object, string, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextInsertText <- function(object, string, position) { checkPtrType(object, "AtkEditableText") string <- as.character(string) position <- as.list(as.integer(position)) w <- .RGtkCall("S_atk_editable_text_insert_text", object, string, position, PACKAGE = "RGtk2") return(w) } atkEditableTextCopyText <- function(object, start.pos, end.pos) { checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_copy_text", object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextCutText <- function(object, start.pos, end.pos) { checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_cut_text", object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextDeleteText <- function(object, start.pos, end.pos) { checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_delete_text", object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextPasteText <- function(object, position) { checkPtrType(object, "AtkEditableText") position <- as.integer(position) w <- .RGtkCall("S_atk_editable_text_paste_text", object, position, PACKAGE = "RGtk2") return(invisible(w)) } atkGObjectAccessibleGetType <- function() { w <- .RGtkCall("S_atk_gobject_accessible_get_type", PACKAGE = "RGtk2") return(w) } atkGObjectAccessibleForObject <- function(obj) { checkPtrType(obj, "GObject") w <- .RGtkCall("S_atk_gobject_accessible_for_object", obj, PACKAGE = "RGtk2") return(w) } atkGObjectAccessibleGetObject <- function(object) { checkPtrType(object, "AtkGObjectAccessible") w <- .RGtkCall("S_atk_gobject_accessible_get_object", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkGetType <- function() { w <- .RGtkCall("S_atk_hyperlink_get_type", PACKAGE = "RGtk2") return(w) } atkHyperlinkGetUri <- function(object, i) { checkPtrType(object, "AtkHyperlink") i <- as.integer(i) w <- .RGtkCall("S_atk_hyperlink_get_uri", object, i, PACKAGE = "RGtk2") return(w) } atkHyperlinkGetObject <- function(object, i) { checkPtrType(object, "AtkHyperlink") i <- as.integer(i) w <- .RGtkCall("S_atk_hyperlink_get_object", object, i, PACKAGE = "RGtk2") return(w) } atkHyperlinkGetEndIndex <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_get_end_index", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkGetStartIndex <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_get_start_index", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkIsValid <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_is_valid", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkGetNAnchors <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_get_n_anchors", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkIsInline <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_is_inline", object, PACKAGE = "RGtk2") return(w) } atkHyperlinkIsSelectedLink <- function(object) { checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_is_selected_link", object, PACKAGE = "RGtk2") return(w) } atkHypertextGetType <- function() { w <- .RGtkCall("S_atk_hypertext_get_type", PACKAGE = "RGtk2") return(w) } atkHypertextGetLink <- function(object, link.index) { checkPtrType(object, "AtkHypertext") link.index <- as.integer(link.index) w <- .RGtkCall("S_atk_hypertext_get_link", object, link.index, PACKAGE = "RGtk2") return(w) } atkHypertextGetNLinks <- function(object) { checkPtrType(object, "AtkHypertext") w <- .RGtkCall("S_atk_hypertext_get_n_links", object, PACKAGE = "RGtk2") return(w) } atkHypertextGetLinkIndex <- function(object, char.index) { checkPtrType(object, "AtkHypertext") char.index <- as.integer(char.index) w <- .RGtkCall("S_atk_hypertext_get_link_index", object, char.index, PACKAGE = "RGtk2") return(w) } atkImageGetType <- function() { w <- .RGtkCall("S_atk_image_get_type", PACKAGE = "RGtk2") return(w) } atkImageGetImageDescription <- function(object) { checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_get_image_description", object, PACKAGE = "RGtk2") return(w) } atkImageGetImageSize <- function(object) { checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_get_image_size", object, PACKAGE = "RGtk2") return(invisible(w)) } atkImageSetImageDescription <- function(object, description) { checkPtrType(object, "AtkImage") description <- as.character(description) w <- .RGtkCall("S_atk_image_set_image_description", object, description, PACKAGE = "RGtk2") return(w) } atkImageGetImagePosition <- function(object, coord.type) { checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_get_image_position", object, coord.type, PACKAGE = "RGtk2") return(invisible(w)) } atkNoOpObjectFactoryGetType <- function() { w <- .RGtkCall("S_atk_no_op_object_factory_get_type", PACKAGE = "RGtk2") return(w) } atkNoOpObjectFactoryNew <- function() { w <- .RGtkCall("S_atk_no_op_object_factory_new", PACKAGE = "RGtk2") return(w) } atkNoOpObjectGetType <- function() { w <- .RGtkCall("S_atk_no_op_object_get_type", PACKAGE = "RGtk2") return(w) } atkNoOpObjectNew <- function(obj) { checkPtrType(obj, "GObject") w <- .RGtkCall("S_atk_no_op_object_new", obj, PACKAGE = "RGtk2") return(w) } atkObjectFactoryGetType <- function() { w <- .RGtkCall("S_atk_object_factory_get_type", PACKAGE = "RGtk2") return(w) } atkObjectFactoryCreateAccessible <- function(object, obj) { checkPtrType(object, "AtkObjectFactory") checkPtrType(obj, "GObject") w <- .RGtkCall("S_atk_object_factory_create_accessible", object, obj, PACKAGE = "RGtk2") return(w) } atkObjectFactoryInvalidate <- function(object) { checkPtrType(object, "AtkObjectFactory") w <- .RGtkCall("S_atk_object_factory_invalidate", object, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectFactoryGetAccessibleType <- function(object) { checkPtrType(object, "AtkObjectFactory") w <- .RGtkCall("S_atk_object_factory_get_accessible_type", object, PACKAGE = "RGtk2") return(w) } atkObjectGetType <- function() { w <- .RGtkCall("S_atk_object_get_type", PACKAGE = "RGtk2") return(w) } atkImplementorGetType <- function() { w <- .RGtkCall("S_atk_implementor_get_type", PACKAGE = "RGtk2") return(w) } atkImplementorRefAccessible <- function(object) { checkPtrType(object, "AtkImplementor") w <- .RGtkCall("S_atk_implementor_ref_accessible", object, PACKAGE = "RGtk2") return(w) } atkObjectGetName <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_name", object, PACKAGE = "RGtk2") return(w) } atkObjectGetDescription <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_description", object, PACKAGE = "RGtk2") return(w) } atkObjectGetParent <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_parent", object, PACKAGE = "RGtk2") return(w) } atkObjectGetNAccessibleChildren <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_n_accessible_children", object, PACKAGE = "RGtk2") return(w) } atkObjectRefAccessibleChild <- function(object, i) { checkPtrType(object, "AtkObject") i <- as.integer(i) w <- .RGtkCall("S_atk_object_ref_accessible_child", object, i, PACKAGE = "RGtk2") return(w) } atkObjectRefRelationSet <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_ref_relation_set", object, PACKAGE = "RGtk2") return(w) } atkObjectGetRole <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_role", object, PACKAGE = "RGtk2") return(w) } atkObjectGetLayer <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_layer", object, PACKAGE = "RGtk2") return(w) } atkObjectGetMdiZorder <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_mdi_zorder", object, PACKAGE = "RGtk2") return(w) } atkObjectRefStateSet <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_ref_state_set", object, PACKAGE = "RGtk2") return(w) } atkObjectGetIndexInParent <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_index_in_parent", object, PACKAGE = "RGtk2") return(w) } atkObjectSetName <- function(object, name) { checkPtrType(object, "AtkObject") name <- as.character(name) w <- .RGtkCall("S_atk_object_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectSetDescription <- function(object, description) { checkPtrType(object, "AtkObject") description <- as.character(description) w <- .RGtkCall("S_atk_object_set_description", object, description, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectSetParent <- function(object, parent) { checkPtrType(object, "AtkObject") checkPtrType(parent, "AtkObject") w <- .RGtkCall("S_atk_object_set_parent", object, parent, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectSetRole <- function(object, role) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_set_role", object, role, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectRemovePropertyChangeHandler <- function(object, handler.id) { checkPtrType(object, "AtkObject") handler.id <- as.numeric(handler.id) w <- .RGtkCall("S_atk_object_remove_property_change_handler", object, handler.id, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectNotifyStateChange <- function(object, state, value) { checkPtrType(object, "AtkObject") state <- as.numeric(state) value <- as.logical(value) w <- .RGtkCall("S_atk_object_notify_state_change", object, state, value, PACKAGE = "RGtk2") return(invisible(w)) } atkRegistryGetType <- function() { w <- .RGtkCall("S_atk_registry_get_type", PACKAGE = "RGtk2") return(w) } atkRegistrySetFactoryType <- function(object, type, factory.type) { checkPtrType(object, "AtkRegistry") type <- as.GType(type) factory.type <- as.GType(factory.type) w <- .RGtkCall("S_atk_registry_set_factory_type", object, type, factory.type, PACKAGE = "RGtk2") return(invisible(w)) } atkRegistryGetFactoryType <- function(object, type) { checkPtrType(object, "AtkRegistry") type <- as.GType(type) w <- .RGtkCall("S_atk_registry_get_factory_type", object, type, PACKAGE = "RGtk2") return(w) } atkRegistryGetFactory <- function(object, type) { checkPtrType(object, "AtkRegistry") type <- as.GType(type) w <- .RGtkCall("S_atk_registry_get_factory", object, type, PACKAGE = "RGtk2") return(w) } atkGetDefaultRegistry <- function() { w <- .RGtkCall("S_atk_get_default_registry", PACKAGE = "RGtk2") return(w) } atkRelationGetType <- function() { w <- .RGtkCall("S_atk_relation_get_type", PACKAGE = "RGtk2") return(w) } atkRelationTypeRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_relation_type_register", name, PACKAGE = "RGtk2") return(w) } atkRelationTypeGetName <- function(type) { w <- .RGtkCall("S_atk_relation_type_get_name", type, PACKAGE = "RGtk2") return(w) } atkRelationTypeForName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_relation_type_for_name", name, PACKAGE = "RGtk2") return(w) } atkRelationNew <- function(targets, relationship) { targets <- lapply(targets, function(x) { checkPtrType(x, "AtkObject"); x }) w <- .RGtkCall("S_atk_relation_new", targets, relationship, PACKAGE = "RGtk2") return(w) } atkRelationGetRelationType <- function(object) { checkPtrType(object, "AtkRelation") w <- .RGtkCall("S_atk_relation_get_relation_type", object, PACKAGE = "RGtk2") return(w) } atkRelationGetTarget <- function(object) { checkPtrType(object, "AtkRelation") w <- .RGtkCall("S_atk_relation_get_target", object, PACKAGE = "RGtk2") return(w) } atkRelationAddTarget <- function(object, target) { checkPtrType(object, "AtkRelation") checkPtrType(target, "AtkObject") w <- .RGtkCall("S_atk_relation_add_target", object, target, PACKAGE = "RGtk2") return(invisible(w)) } atkRelationSetGetType <- function() { w <- .RGtkCall("S_atk_relation_set_get_type", PACKAGE = "RGtk2") return(w) } atkRelationSetNew <- function() { w <- .RGtkCall("S_atk_relation_set_new", PACKAGE = "RGtk2") return(w) } atkRelationSetContains <- function(object, relationship) { checkPtrType(object, "AtkRelationSet") w <- .RGtkCall("S_atk_relation_set_contains", object, relationship, PACKAGE = "RGtk2") return(w) } atkRelationSetRemove <- function(object, relation) { checkPtrType(object, "AtkRelationSet") checkPtrType(relation, "AtkRelation") w <- .RGtkCall("S_atk_relation_set_remove", object, relation, PACKAGE = "RGtk2") return(invisible(w)) } atkRelationSetAdd <- function(object, relation) { checkPtrType(object, "AtkRelationSet") checkPtrType(relation, "AtkRelation") w <- .RGtkCall("S_atk_relation_set_add", object, relation, PACKAGE = "RGtk2") return(invisible(w)) } atkRelationSetGetNRelations <- function(object) { checkPtrType(object, "AtkRelationSet") w <- .RGtkCall("S_atk_relation_set_get_n_relations", object, PACKAGE = "RGtk2") return(w) } atkRelationSetGetRelation <- function(object, i) { checkPtrType(object, "AtkRelationSet") i <- as.integer(i) w <- .RGtkCall("S_atk_relation_set_get_relation", object, i, PACKAGE = "RGtk2") return(w) } atkRelationSetGetRelationByType <- function(object, relationship) { checkPtrType(object, "AtkRelationSet") w <- .RGtkCall("S_atk_relation_set_get_relation_by_type", object, relationship, PACKAGE = "RGtk2") return(w) } atkRelationSetAddRelationByType <- function(object, relationship, target) { checkPtrType(object, "AtkRelationSet") checkPtrType(target, "AtkObject") w <- .RGtkCall("S_atk_relation_set_add_relation_by_type", object, relationship, target, PACKAGE = "RGtk2") return(invisible(w)) } atkSelectionGetType <- function() { w <- .RGtkCall("S_atk_selection_get_type", PACKAGE = "RGtk2") return(w) } atkSelectionAddSelection <- function(object, i) { checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_add_selection", object, i, PACKAGE = "RGtk2") return(w) } atkSelectionClearSelection <- function(object) { checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_clear_selection", object, PACKAGE = "RGtk2") return(w) } atkSelectionRefSelection <- function(object, i) { checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_ref_selection", object, i, PACKAGE = "RGtk2") return(w) } atkSelectionGetSelectionCount <- function(object) { checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_get_selection_count", object, PACKAGE = "RGtk2") return(w) } atkSelectionIsChildSelected <- function(object, i) { checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_is_child_selected", object, i, PACKAGE = "RGtk2") return(w) } atkSelectionRemoveSelection <- function(object, i) { checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_remove_selection", object, i, PACKAGE = "RGtk2") return(w) } atkSelectionSelectAllSelection <- function(object) { checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_select_all_selection", object, PACKAGE = "RGtk2") return(w) } atkStateTypeRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_state_type_register", name, PACKAGE = "RGtk2") return(w) } atkStateTypeGetName <- function(type) { w <- .RGtkCall("S_atk_state_type_get_name", type, PACKAGE = "RGtk2") return(w) } atkStateTypeForName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_state_type_for_name", name, PACKAGE = "RGtk2") return(w) } atkStateSetGetType <- function() { w <- .RGtkCall("S_atk_state_set_get_type", PACKAGE = "RGtk2") return(w) } atkStateSetNew <- function() { w <- .RGtkCall("S_atk_state_set_new", PACKAGE = "RGtk2") return(w) } atkStateSetIsEmpty <- function(object) { checkPtrType(object, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_is_empty", object, PACKAGE = "RGtk2") return(w) } atkStateSetAddState <- function(object, type) { checkPtrType(object, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_add_state", object, type, PACKAGE = "RGtk2") return(w) } atkStateSetAddStates <- function(object, types) { checkPtrType(object, "AtkStateSet") types <- as.list(types) w <- .RGtkCall("S_atk_state_set_add_states", object, types, PACKAGE = "RGtk2") return(w) } atkStateSetClearStates <- function(object) { checkPtrType(object, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_clear_states", object, PACKAGE = "RGtk2") return(invisible(w)) } atkStateSetContainsState <- function(object, type) { checkPtrType(object, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_contains_state", object, type, PACKAGE = "RGtk2") return(w) } atkStateSetContainsStates <- function(object, types) { checkPtrType(object, "AtkStateSet") types <- as.list(types) w <- .RGtkCall("S_atk_state_set_contains_states", object, types, PACKAGE = "RGtk2") return(w) } atkStateSetRemoveState <- function(object, type) { checkPtrType(object, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_remove_state", object, type, PACKAGE = "RGtk2") return(w) } atkStateSetAndSets <- function(object, compare.set) { checkPtrType(object, "AtkStateSet") checkPtrType(compare.set, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_and_sets", object, compare.set, PACKAGE = "RGtk2") return(w) } atkStateSetOrSets <- function(object, compare.set) { checkPtrType(object, "AtkStateSet") checkPtrType(compare.set, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_or_sets", object, compare.set, PACKAGE = "RGtk2") return(w) } atkStateSetXorSets <- function(object, compare.set) { checkPtrType(object, "AtkStateSet") checkPtrType(compare.set, "AtkStateSet") w <- .RGtkCall("S_atk_state_set_xor_sets", object, compare.set, PACKAGE = "RGtk2") return(w) } atkStreamableContentGetType <- function() { w <- .RGtkCall("S_atk_streamable_content_get_type", PACKAGE = "RGtk2") return(w) } atkStreamableContentGetNMimeTypes <- function(object) { checkPtrType(object, "AtkStreamableContent") w <- .RGtkCall("S_atk_streamable_content_get_n_mime_types", object, PACKAGE = "RGtk2") return(w) } atkStreamableContentGetMimeType <- function(object, i) { checkPtrType(object, "AtkStreamableContent") i <- as.integer(i) w <- .RGtkCall("S_atk_streamable_content_get_mime_type", object, i, PACKAGE = "RGtk2") return(w) } atkStreamableContentGetStream <- function(object, mime.type) { checkPtrType(object, "AtkStreamableContent") mime.type <- as.character(mime.type) w <- .RGtkCall("S_atk_streamable_content_get_stream", object, mime.type, PACKAGE = "RGtk2") return(w) } atkTableGetType <- function() { w <- .RGtkCall("S_atk_table_get_type", PACKAGE = "RGtk2") return(w) } atkTableRefAt <- function(object, row, column) { checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_ref_at", object, row, column, PACKAGE = "RGtk2") return(w) } atkTableGetIndexAt <- function(object, row, column) { checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_get_index_at", object, row, column, PACKAGE = "RGtk2") return(w) } atkTableGetColumnAtIndex <- function(object, index) { checkPtrType(object, "AtkTable") index <- as.integer(index) w <- .RGtkCall("S_atk_table_get_column_at_index", object, index, PACKAGE = "RGtk2") return(w) } atkTableGetRowAtIndex <- function(object, index) { checkPtrType(object, "AtkTable") index <- as.integer(index) w <- .RGtkCall("S_atk_table_get_row_at_index", object, index, PACKAGE = "RGtk2") return(w) } atkTableGetNColumns <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_n_columns", object, PACKAGE = "RGtk2") return(w) } atkTableGetNRows <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_n_rows", object, PACKAGE = "RGtk2") return(w) } atkTableGetColumnExtentAt <- function(object, row, column) { checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_get_column_extent_at", object, row, column, PACKAGE = "RGtk2") return(w) } atkTableGetRowExtentAt <- function(object, row, column) { checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_get_row_extent_at", object, row, column, PACKAGE = "RGtk2") return(w) } atkTableGetCaption <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_caption", object, PACKAGE = "RGtk2") return(w) } atkTableGetColumnDescription <- function(object, column) { checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_get_column_description", object, column, PACKAGE = "RGtk2") return(w) } atkTableGetColumnHeader <- function(object, column) { checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_get_column_header", object, column, PACKAGE = "RGtk2") return(w) } atkTableGetRowDescription <- function(object, row) { checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_get_row_description", object, row, PACKAGE = "RGtk2") return(w) } atkTableGetRowHeader <- function(object, row) { checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_get_row_header", object, row, PACKAGE = "RGtk2") return(w) } atkTableGetSummary <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_summary", object, PACKAGE = "RGtk2") return(w) } atkTableSetCaption <- function(object, caption) { checkPtrType(object, "AtkTable") checkPtrType(caption, "AtkObject") w <- .RGtkCall("S_atk_table_set_caption", object, caption, PACKAGE = "RGtk2") return(invisible(w)) } atkTableSetColumnDescription <- function(object, column, description) { checkPtrType(object, "AtkTable") column <- as.integer(column) description <- as.character(description) w <- .RGtkCall("S_atk_table_set_column_description", object, column, description, PACKAGE = "RGtk2") return(invisible(w)) } atkTableSetColumnHeader <- function(object, column, header) { checkPtrType(object, "AtkTable") column <- as.integer(column) checkPtrType(header, "AtkObject") w <- .RGtkCall("S_atk_table_set_column_header", object, column, header, PACKAGE = "RGtk2") return(invisible(w)) } atkTableSetRowDescription <- function(object, row, description) { checkPtrType(object, "AtkTable") row <- as.integer(row) description <- as.character(description) w <- .RGtkCall("S_atk_table_set_row_description", object, row, description, PACKAGE = "RGtk2") return(invisible(w)) } atkTableSetRowHeader <- function(object, row, header) { checkPtrType(object, "AtkTable") row <- as.integer(row) checkPtrType(header, "AtkObject") w <- .RGtkCall("S_atk_table_set_row_header", object, row, header, PACKAGE = "RGtk2") return(invisible(w)) } atkTableSetSummary <- function(object, accessible) { checkPtrType(object, "AtkTable") checkPtrType(accessible, "AtkObject") w <- .RGtkCall("S_atk_table_set_summary", object, accessible, PACKAGE = "RGtk2") return(invisible(w)) } atkTableGetSelectedColumns <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_selected_columns", object, PACKAGE = "RGtk2") return(w) } atkTableGetSelectedRows <- function(object) { checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_get_selected_rows", object, PACKAGE = "RGtk2") return(w) } atkTableIsColumnSelected <- function(object, column) { checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_is_column_selected", object, column, PACKAGE = "RGtk2") return(w) } atkTableIsRowSelected <- function(object, row) { checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_is_row_selected", object, row, PACKAGE = "RGtk2") return(w) } atkTableIsSelected <- function(object, row, column) { checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_is_selected", object, row, column, PACKAGE = "RGtk2") return(w) } atkTableAddRowSelection <- function(object, row) { checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_add_row_selection", object, row, PACKAGE = "RGtk2") return(w) } atkTableRemoveRowSelection <- function(object, row) { checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_remove_row_selection", object, row, PACKAGE = "RGtk2") return(w) } atkTableAddColumnSelection <- function(object, column) { checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_add_column_selection", object, column, PACKAGE = "RGtk2") return(w) } atkTableRemoveColumnSelection <- function(object, column) { checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_remove_column_selection", object, column, PACKAGE = "RGtk2") return(w) } atkTextGetType <- function() { w <- .RGtkCall("S_atk_text_get_type", PACKAGE = "RGtk2") return(w) } atkTextGetText <- function(object, start.offset, end.offset) { checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_get_text", object, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextGetCharacterAtOffset <- function(object, offset) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_character_at_offset", object, offset, PACKAGE = "RGtk2") return(w) } atkTextGetTextAfterOffset <- function(object, offset, boundary.type) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_text_after_offset", object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextGetTextAtOffset <- function(object, offset, boundary.type) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_text_at_offset", object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextGetTextBeforeOffset <- function(object, offset, boundary.type) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_text_before_offset", object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextGetCaretOffset <- function(object) { checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_get_caret_offset", object, PACKAGE = "RGtk2") return(w) } atkTextGetRangeExtents <- function(object, start.offset, end.offset, coord.type) { checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_get_range_extents", object, start.offset, end.offset, coord.type, PACKAGE = "RGtk2") return(w) } atkTextGetBoundedRanges <- function(object, rect, coord.type, x.clip.type, y.clip.type) { checkPtrType(object, "AtkText") rect <- as.AtkTextRectangle(rect) w <- .RGtkCall("S_atk_text_get_bounded_ranges", object, rect, coord.type, x.clip.type, y.clip.type, PACKAGE = "RGtk2") return(w) } atkTextGetCharacterExtents <- function(object, offset, coords) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_character_extents", object, offset, coords, PACKAGE = "RGtk2") return(invisible(w)) } atkTextGetRunAttributes <- function(object, offset) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_get_run_attributes", object, offset, PACKAGE = "RGtk2") return(w) } atkTextGetDefaultAttributes <- function(object) { checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_get_default_attributes", object, PACKAGE = "RGtk2") return(w) } atkTextGetCharacterCount <- function(object) { checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_get_character_count", object, PACKAGE = "RGtk2") return(w) } atkTextGetOffsetAtPoint <- function(object, x, y, coords) { checkPtrType(object, "AtkText") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_text_get_offset_at_point", object, x, y, coords, PACKAGE = "RGtk2") return(w) } atkTextGetNSelections <- function(object) { checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_get_n_selections", object, PACKAGE = "RGtk2") return(w) } atkTextGetSelection <- function(object, selection.num) { checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) w <- .RGtkCall("S_atk_text_get_selection", object, selection.num, PACKAGE = "RGtk2") return(w) } atkTextAddSelection <- function(object, start.offset, end.offset) { checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_add_selection", object, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextRemoveSelection <- function(object, selection.num) { checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) w <- .RGtkCall("S_atk_text_remove_selection", object, selection.num, PACKAGE = "RGtk2") return(w) } atkTextSetSelection <- function(object, selection.num, start.offset, end.offset) { checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_set_selection", object, selection.num, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextSetCaretOffset <- function(object, offset) { checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_set_caret_offset", object, offset, PACKAGE = "RGtk2") return(w) } atkTextAttributeRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_text_attribute_register", name, PACKAGE = "RGtk2") return(w) } atkTextAttributeGetName <- function(attr) { w <- .RGtkCall("S_atk_text_attribute_get_name", attr, PACKAGE = "RGtk2") return(w) } atkTextAttributeForName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_text_attribute_for_name", name, PACKAGE = "RGtk2") return(w) } atkTextAttributeGetValue <- function(attr, index) { index <- as.integer(index) w <- .RGtkCall("S_atk_text_attribute_get_value", attr, index, PACKAGE = "RGtk2") return(w) } atkUtilGetType <- function() { w <- .RGtkCall("S_atk_util_get_type", PACKAGE = "RGtk2") return(w) } atkRemoveFocusTracker <- function(tracker.id) { tracker.id <- as.numeric(tracker.id) w <- .RGtkCall("S_atk_remove_focus_tracker", tracker.id, PACKAGE = "RGtk2") return(w) } atkFocusTrackerNotify <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_focus_tracker_notify", object, PACKAGE = "RGtk2") return(w) } atkRemoveGlobalEventListener <- function(listener.id) { listener.id <- as.numeric(listener.id) w <- .RGtkCall("S_atk_remove_global_event_listener", listener.id, PACKAGE = "RGtk2") return(w) } atkAddKeyEventListener <- function(listener, data) { listener <- as.function(listener) w <- .RGtkCall("S_atk_add_key_event_listener", listener, data, PACKAGE = "RGtk2") return(w) } atkRemoveKeyEventListener <- function(listener.id) { listener.id <- as.numeric(listener.id) w <- .RGtkCall("S_atk_remove_key_event_listener", listener.id, PACKAGE = "RGtk2") return(w) } atkGetRoot <- function() { w <- .RGtkCall("S_atk_get_root", PACKAGE = "RGtk2") return(w) } atkGetFocusObject <- function() { w <- .RGtkCall("S_atk_get_focus_object", PACKAGE = "RGtk2") return(w) } atkGetToolkitName <- function() { w <- .RGtkCall("S_atk_get_toolkit_name", PACKAGE = "RGtk2") return(w) } atkGetToolkitVersion <- function() { w <- .RGtkCall("S_atk_get_toolkit_version", PACKAGE = "RGtk2") return(w) } atkValueGetType <- function() { w <- .RGtkCall("S_atk_value_get_type", PACKAGE = "RGtk2") return(w) } atkValueGetCurrentValue <- function(object) { checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_get_current_value", object, PACKAGE = "RGtk2") return(w) } atkValueGetMaximumValue <- function(object) { checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_get_maximum_value", object, PACKAGE = "RGtk2") return(w) } atkValueGetMinimumValue <- function(object) { checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_get_minimum_value", object, PACKAGE = "RGtk2") return(w) } atkValueSetCurrentValue <- function(object, value) { checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_set_current_value", object, value, PACKAGE = "RGtk2") return(w) } atkRoleGetName <- function(role) { w <- .RGtkCall("S_atk_role_get_name", role, PACKAGE = "RGtk2") return(w) } atkRoleForName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_role_for_name", name, PACKAGE = "RGtk2") return(w) } atkRoleRegister <- function(name) { name <- as.character(name) w <- .RGtkCall("S_atk_role_register", name, PACKAGE = "RGtk2") return(w) } atkObjectInitialize <- function(object, data) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_initialize", object, data, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectAddRelationship <- function(object, relationship, target) { checkPtrType(object, "AtkObject") checkPtrType(target, "AtkObject") w <- .RGtkCall("S_atk_object_add_relationship", object, relationship, target, PACKAGE = "RGtk2") return(w) } atkObjectRemoveRelationship <- function(object, relationship, target) { checkPtrType(object, "AtkObject") checkPtrType(target, "AtkObject") w <- .RGtkCall("S_atk_object_remove_relationship", object, relationship, target, PACKAGE = "RGtk2") return(w) } atkRoleGetLocalizedName <- function(role) { w <- .RGtkCall("S_atk_role_get_localized_name", role, PACKAGE = "RGtk2") return(w) } atkDocumentGetLocale <- function(object) { checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_get_locale", object, PACKAGE = "RGtk2") return(w) } atkDocumentGetAttributes <- function(object) { checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_get_attributes", object, PACKAGE = "RGtk2") return(w) } atkDocumentGetAttributeValue <- function(object, attribute.name) { checkPtrType(object, "AtkDocument") attribute.name <- as.character(attribute.name) w <- .RGtkCall("S_atk_document_get_attribute_value", object, attribute.name, PACKAGE = "RGtk2") return(w) } atkDocumentSetAttributeValue <- function(object, attribute.name, attribute.value) { checkPtrType(object, "AtkDocument") attribute.name <- as.character(attribute.name) attribute.value <- as.character(attribute.value) w <- .RGtkCall("S_atk_document_set_attribute_value", object, attribute.name, attribute.value, PACKAGE = "RGtk2") return(w) } atkComponentGetAlpha <- function(object) { checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_get_alpha", object, PACKAGE = "RGtk2") return(w) } atkImageGetImageLocale <- function(object) { checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_get_image_locale", object, PACKAGE = "RGtk2") return(w) } atkObjectGetAttributes <- function(object) { checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_get_attributes", object, PACKAGE = "RGtk2") return(w) } RGtk2/R/atkCoerce.R0000644000176000001440000000056611766145227013501 0ustar ripleyusersas.AtkAttributeSet <- function(x) { x <- as.GSList(x) class(x) <- "AtkAttributeSet" x } as.AtkAttribute <- function(x) { attr <- as.character(x) names(attr) <- names(x) attr } as.AtkTextRectangle <- function(x) { x <- as.GdkRectangle(x) class(x) <- "AtkTextRectangle" x } as.AtkRectangle <- function(x) { x <- as.GdkRectangle(x) class(x) <- "AtkRectangle" x } RGtk2/R/cairoVirtuals.R0000644000176000001440000000000011766145227014407 0ustar ripleyusersRGtk2/R/pangoEnumDefs.R0000644000176000001440000001065512362217673014332 0ustar ripleyusersPangoAttrType<-c("invalid" = 0, "language" = 1, "family" = 2, "style" = 3, "weight" = 4, "variant" = 5, "stretch" = 6, "size" = 7, "font-desc" = 8, "foreground" = 9, "background" = 10, "underline" = 11, "strikethrough" = 12, "rise" = 13, "shape" = 14, "scale" = 15, "fallback" = 16, "letter-spacing" = 17, "underline-color" = 18, "strikethrough-color" = 19, "absolute-size" = 20, "gravity" = 21, "gravity-hint" = 22) storage.mode(PangoAttrType) <- 'integer' class(PangoAttrType) <- 'enums' PangoUnderline<-c("none" = 0, "single" = 1, "double" = 2, "low" = 3) storage.mode(PangoUnderline) <- 'integer' class(PangoUnderline) <- 'enums' PangoCoverageLevel<-c("none" = 0, "fallback" = 1, "approximate" = 2, "exact" = 3) storage.mode(PangoCoverageLevel) <- 'integer' class(PangoCoverageLevel) <- 'enums' PangoRenderPart<-c("foreground" = 0, "background" = 1, "underline" = 2, "strikethrough" = 3) storage.mode(PangoRenderPart) <- 'integer' class(PangoRenderPart) <- 'enums' PangoScript<-c("invalid-code" = 0, "common" = 1, "inherited" = 2, "arabic" = 3, "armenian" = 4, "bengali" = 5, "bopomofo" = 6, "cherokee" = 7, "coptic" = 8, "cyrillic" = 9, "deseret" = 10, "devanagari" = 11, "ethiopic" = 12, "georgian" = 13, "gothic" = 14, "greek" = 15, "gujarati" = 16, "gurmukhi" = 17, "han" = 18, "hangul" = 19, "hebrew" = 20, "hiragana" = 21, "kannada" = 22, "katakana" = 23, "khmer" = 24, "lao" = 25, "latin" = 26, "malayalam" = 27, "mongolian" = 28, "myanmar" = 29, "ogham" = 30, "old-italic" = 31, "oriya" = 32, "runic" = 33, "sinhala" = 34, "syriac" = 35, "tamil" = 36, "telugu" = 37, "thaana" = 38, "thai" = 39, "tibetan" = 40, "canadian-aboriginal" = 41, "yi" = 42, "tagalog" = 43, "hanunoo" = 44, "buhid" = 45, "tagbanwa" = 46, "braille" = 47, "cypriot" = 48, "limbu" = 49, "osmanya" = 50, "shavian" = 51, "linear-b" = 52, "tai-le" = 53, "ugaritic" = 54, "new-tai-lue" = 55, "buginese" = 56, "glagolitic" = 57, "tifinagh" = 58, "syloti-nagri" = 59, "old-persian" = 60, "kharoshthi" = 61, "unknown" = 62, "balinese" = 63, "cuneiform" = 64, "phoenician" = 65, "phags-pa" = 66, "nko" = 67) storage.mode(PangoScript) <- 'integer' class(PangoScript) <- 'enums' PangoStyle<-c("normal" = 0, "oblique" = 1, "italic" = 2) storage.mode(PangoStyle) <- 'integer' class(PangoStyle) <- 'enums' PangoVariant<-c("normal" = 0, "small-caps" = 1) storage.mode(PangoVariant) <- 'integer' class(PangoVariant) <- 'enums' PangoWeight<-c("ultralight" = 200, "light" = 300, "normal" = 400, "semibold" = 600, "bold" = 700, "ultrabold" = 800, "heavy" = 900, "book" = 380, "ultraheavy" = 1000, "thin" = 100, "medium" = 500) storage.mode(PangoWeight) <- 'integer' class(PangoWeight) <- 'enums' PangoStretch<-c("ultra-condensed" = 0, "extra-condensed" = 1, "condensed" = 2, "semi-condensed" = 3, "normal" = 4, "semi-expanded" = 5, "expanded" = 6, "extra-expanded" = 7, "ultra-expanded" = 8) storage.mode(PangoStretch) <- 'integer' class(PangoStretch) <- 'enums' PangoAlignment<-c("left" = 0, "center" = 1, "right" = 2) storage.mode(PangoAlignment) <- 'integer' class(PangoAlignment) <- 'enums' PangoWrapMode<-c("word" = 0, "char" = 1) storage.mode(PangoWrapMode) <- 'integer' class(PangoWrapMode) <- 'enums' PangoTabAlign<-c("left" = 0) storage.mode(PangoTabAlign) <- 'integer' class(PangoTabAlign) <- 'enums' PangoDirection<-c("ltr" = 0, "rtl" = 1, "ttb-ltr" = 2, "ttb-rtl" = 3) storage.mode(PangoDirection) <- 'integer' class(PangoDirection) <- 'enums' PangoEllipsizeMode<-c("none" = 0, "start" = 1, "middle" = 2, "end" = 3) storage.mode(PangoEllipsizeMode) <- 'integer' class(PangoEllipsizeMode) <- 'enums' PangoGravity<-c("south" = 0, "east" = 1, "north" = 2, "west" = 3, "auto" = 4) storage.mode(PangoGravity) <- 'integer' class(PangoGravity) <- 'enums' PangoGravityHint<-c("natural" = 0, "strong" = 1, "line" = 2) storage.mode(PangoGravityHint) <- 'integer' class(PangoGravityHint) <- 'enums' PangoBidiType<-c("l" = 0, "lre" = 1, "lro" = 2, "r" = 3, "al" = 4, "rle" = 5, "rlo" = 6, "pdf" = 7, "en" = 8, "es" = 9, "et" = 10, "an" = 11, "cs" = 12, "nsm" = 13, "bn" = 14, "b" = 15, "s" = 16, "ws" = 17, "on" = 18) storage.mode(PangoBidiType) <- 'integer' class(PangoBidiType) <- 'enums' PangoFontMask<-c("family" = 1, "style" = 2, "variant" = 4, "weight" = 8, "stretch" = 16, "size" = 32) storage.mode(PangoFontMask) <- 'numeric' class(PangoFontMask) <- 'flags' RGtk2/R/gtkFuncs.R0000644000176000001440000276361612362217673013401 0ustar ripleyusers gtkObjectFlags <- function(object) { checkPtrType(object, "GtkObject") w <- .RGtkCall("S_GTK_OBJECT_FLAGS", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetFlags <- function(wid, flags) { checkPtrType(wid, "GtkWidget") w <- .RGtkCall("S_GTK_WIDGET_SET_FLAGS", wid, flags, PACKAGE = "RGtk2") return(w) } gtkWidgetUnsetFlags <- function(wid, flags) { checkPtrType(wid, "GtkWidget") w <- .RGtkCall("S_GTK_WIDGET_UNSET_FLAGS", wid, flags, PACKAGE = "RGtk2") return(w) } gtkWidgetIsSensitive <- function(wid) { checkPtrType(wid, "GtkWidget") w <- .RGtkCall("S_GTK_WIDGET_IS_SENSITIVE", wid, PACKAGE = "RGtk2") return(w) } gtkWidgetState <- function(wid) { checkPtrType(wid, "GtkWidget") w <- .RGtkCall("S_GTK_WIDGET_STATE", wid, PACKAGE = "RGtk2") return(w) } gtkWidgetSavedState <- function(wid) { checkPtrType(wid, "GtkWidget") w <- .RGtkCall("S_GTK_WIDGET_SAVED_STATE", wid, PACKAGE = "RGtk2") return(w) } gtkCTreeRow <- function(node) { checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_GTK_CTREE_ROW", node, PACKAGE = "RGtk2") return(w) } gtkAboutDialogGetType <- function() { w <- .RGtkCall("S_gtk_about_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkAboutDialogNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_about_dialog_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkAboutDialogGetName <- function(object) { if(getOption("depwarn")) .Deprecated("getProgramName", "RGtk2") checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_name", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetName <- function(object, name = NULL) { if(getOption("depwarn")) .Deprecated("setProgramName", "RGtk2") checkPtrType(object, "GtkAboutDialog") if (!is.null( name )) name <- as.character(name) w <- .RGtkCall("S_gtk_about_dialog_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetVersion <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_version", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetVersion <- function(object, version = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( version )) version <- as.character(version) w <- .RGtkCall("S_gtk_about_dialog_set_version", object, version, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetCopyright <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_copyright", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetCopyright <- function(object, copyright = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( copyright )) copyright <- as.character(copyright) w <- .RGtkCall("S_gtk_about_dialog_set_copyright", object, copyright, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetComments <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_comments", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetComments <- function(object, comments = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( comments )) comments <- as.character(comments) w <- .RGtkCall("S_gtk_about_dialog_set_comments", object, comments, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetLicense <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_license", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetLicense <- function(object, license = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( license )) license <- as.character(license) w <- .RGtkCall("S_gtk_about_dialog_set_license", object, license, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetWrapLicense <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_wrap_license", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetWrapLicense <- function(object, wrap.license) { checkPtrType(object, "GtkAboutDialog") wrap.license <- as.logical(wrap.license) w <- .RGtkCall("S_gtk_about_dialog_set_wrap_license", object, wrap.license, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetWebsite <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_website", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetWebsite <- function(object, website = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( website )) website <- as.character(website) w <- .RGtkCall("S_gtk_about_dialog_set_website", object, website, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetWebsiteLabel <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_website_label", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetWebsiteLabel <- function(object, website.label = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( website.label )) website.label <- as.character(website.label) w <- .RGtkCall("S_gtk_about_dialog_set_website_label", object, website.label, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetAuthors <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_authors", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetAuthors <- function(object, authors) { checkPtrType(object, "GtkAboutDialog") authors <- as.list(as.character(authors)) w <- .RGtkCall("S_gtk_about_dialog_set_authors", object, authors, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetDocumenters <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_documenters", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetDocumenters <- function(object, documenters) { checkPtrType(object, "GtkAboutDialog") documenters <- as.list(as.character(documenters)) w <- .RGtkCall("S_gtk_about_dialog_set_documenters", object, documenters, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetArtists <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_artists", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetArtists <- function(object, artists) { checkPtrType(object, "GtkAboutDialog") artists <- as.list(as.character(artists)) w <- .RGtkCall("S_gtk_about_dialog_set_artists", object, artists, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetTranslatorCredits <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_translator_credits", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetTranslatorCredits <- function(object, translator.credits = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( translator.credits )) translator.credits <- as.character(translator.credits) w <- .RGtkCall("S_gtk_about_dialog_set_translator_credits", object, translator.credits, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetLogo <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_logo", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetLogo <- function(object, logo = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( logo )) checkPtrType(logo, "GdkPixbuf") w <- .RGtkCall("S_gtk_about_dialog_set_logo", object, logo, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogGetLogoIconName <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_logo_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetLogoIconName <- function(object, icon.name = NULL) { checkPtrType(object, "GtkAboutDialog") if (!is.null( icon.name )) icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_about_dialog_set_logo_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkAboutDialogSetEmailHook <- function(func, data = NULL) { func <- as.function(func) w <- .RGtkCall("S_gtk_about_dialog_set_email_hook", func, data, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetUrlHook <- function(func, data = NULL) { func <- as.function(func) w <- .RGtkCall("S_gtk_about_dialog_set_url_hook", func, data, PACKAGE = "RGtk2") return(w) } gtkAccelGroupGetType <- function() { w <- .RGtkCall("S_gtk_accel_group_get_type", PACKAGE = "RGtk2") return(w) } gtkAccelGroupNew <- function() { w <- .RGtkCall("S_gtk_accel_group_new", PACKAGE = "RGtk2") return(w) } gtkAccelGroupLock <- function(object) { checkPtrType(object, "GtkAccelGroup") w <- .RGtkCall("S_gtk_accel_group_lock", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelGroupUnlock <- function(object) { checkPtrType(object, "GtkAccelGroup") w <- .RGtkCall("S_gtk_accel_group_unlock", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelGroupConnect <- function(object, accel.key, accel.mods, accel.flags, closure) { checkPtrType(object, "GtkAccelGroup") accel.key <- as.numeric(accel.key) closure <- as.GClosure(closure) w <- .RGtkCall("S_gtk_accel_group_connect", object, accel.key, accel.mods, accel.flags, closure, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelGroupConnectByPath <- function(object, accel.path, closure) { checkPtrType(object, "GtkAccelGroup") accel.path <- as.character(accel.path) closure <- as.GClosure(closure) w <- .RGtkCall("S_gtk_accel_group_connect_by_path", object, accel.path, closure, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelGroupDisconnect <- function(object, closure) { checkPtrType(object, "GtkAccelGroup") closure <- as.GClosure(closure) w <- .RGtkCall("S_gtk_accel_group_disconnect", object, closure, PACKAGE = "RGtk2") return(w) } gtkAccelGroupDisconnectKey <- function(object, accel.key, accel.mods) { checkPtrType(object, "GtkAccelGroup") accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_accel_group_disconnect_key", object, accel.key, accel.mods, PACKAGE = "RGtk2") return(w) } gtkAccelGroupActivate <- function(object, accel.quark, acceleratable, accel.key, accel.mods) { checkPtrType(object, "GtkAccelGroup") accel.quark <- as.GQuark(accel.quark) checkPtrType(acceleratable, "GObject") accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_accel_group_activate", object, accel.quark, acceleratable, accel.key, accel.mods, PACKAGE = "RGtk2") return(w) } gtkAccelGroupsActivate <- function(object, accel.key, accel.mods) { checkPtrType(object, "GObject") accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_accel_groups_activate", object, accel.key, accel.mods, PACKAGE = "RGtk2") return(w) } gtkAccelGroupsFromObject <- function(object) { checkPtrType(object, "GObject") w <- .RGtkCall("S_gtk_accel_groups_from_object", object, PACKAGE = "RGtk2") return(w) } gtkAccelGroupFind <- function(object, find.func, data = NULL) { checkPtrType(object, "GtkAccelGroup") find.func <- as.function(find.func) w <- .RGtkCall("S_gtk_accel_group_find", object, find.func, data, PACKAGE = "RGtk2") return(w) } gtkAccelGroupFromAccelClosure <- function(closure) { closure <- as.GClosure(closure) w <- .RGtkCall("S_gtk_accel_group_from_accel_closure", closure, PACKAGE = "RGtk2") return(w) } gtkAcceleratorValid <- function(keyval, modifiers) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gtk_accelerator_valid", keyval, modifiers, PACKAGE = "RGtk2") return(w) } gtkAcceleratorParse <- function(accelerator) { accelerator <- as.character(accelerator) w <- .RGtkCall("S_gtk_accelerator_parse", accelerator, PACKAGE = "RGtk2") return(invisible(w)) } gtkAcceleratorName <- function(accelerator.key, accelerator.mods) { accelerator.key <- as.numeric(accelerator.key) w <- .RGtkCall("S_gtk_accelerator_name", accelerator.key, accelerator.mods, PACKAGE = "RGtk2") return(w) } gtkAcceleratorSetDefaultModMask <- function(default.mod.mask) { w <- .RGtkCall("S_gtk_accelerator_set_default_mod_mask", default.mod.mask, PACKAGE = "RGtk2") return(w) } gtkAcceleratorGetDefaultModMask <- function() { w <- .RGtkCall("S_gtk_accelerator_get_default_mod_mask", PACKAGE = "RGtk2") return(w) } gtkAcceleratorGetLabel <- function(accelerator.key, accelerator.mods) { accelerator.key <- as.numeric(accelerator.key) w <- .RGtkCall("S_gtk_accelerator_get_label", accelerator.key, accelerator.mods, PACKAGE = "RGtk2") return(w) } gtkAccelLabelGetType <- function() { w <- .RGtkCall("S_gtk_accel_label_get_type", PACKAGE = "RGtk2") return(w) } gtkAccelLabelNew <- function(string = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_accel_label_new", string, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkAccelLabelGetAccelWidget <- function(object) { checkPtrType(object, "GtkAccelLabel") w <- .RGtkCall("S_gtk_accel_label_get_accel_widget", object, PACKAGE = "RGtk2") return(w) } gtkAccelLabelGetAccelWidth <- function(object) { checkPtrType(object, "GtkAccelLabel") w <- .RGtkCall("S_gtk_accel_label_get_accel_width", object, PACKAGE = "RGtk2") return(w) } gtkAccelLabelSetAccelWidget <- function(object, accel.widget) { checkPtrType(object, "GtkAccelLabel") checkPtrType(accel.widget, "GtkWidget") w <- .RGtkCall("S_gtk_accel_label_set_accel_widget", object, accel.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelLabelSetAccelClosure <- function(object, accel.closure) { checkPtrType(object, "GtkAccelLabel") accel.closure <- as.GClosure(accel.closure) w <- .RGtkCall("S_gtk_accel_label_set_accel_closure", object, accel.closure, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelLabelRefetch <- function(object) { checkPtrType(object, "GtkAccelLabel") w <- .RGtkCall("S_gtk_accel_label_refetch", object, PACKAGE = "RGtk2") return(w) } gtkAccelMapAddEntry <- function(accel.path, accel.key, accel.mods) { accel.path <- as.character(accel.path) accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_accel_map_add_entry", accel.path, accel.key, accel.mods, PACKAGE = "RGtk2") return(w) } gtkAccelMapLookupEntry <- function(accel.path) { accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_accel_map_lookup_entry", accel.path, PACKAGE = "RGtk2") return(w) } gtkAccelMapChangeEntry <- function(accel.path, accel.key, accel.mods, replace) { accel.path <- as.character(accel.path) accel.key <- as.numeric(accel.key) replace <- as.logical(replace) w <- .RGtkCall("S_gtk_accel_map_change_entry", accel.path, accel.key, accel.mods, replace, PACKAGE = "RGtk2") return(w) } gtkAccelMapLoad <- function(file.name) { file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_accel_map_load", file.name, PACKAGE = "RGtk2") return(w) } gtkAccelMapSave <- function(file.name) { file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_accel_map_save", file.name, PACKAGE = "RGtk2") return(w) } gtkAccelMapForeach <- function(data = NULL, foreach.func) { foreach.func <- as.function(foreach.func) w <- .RGtkCall("S_gtk_accel_map_foreach", data, foreach.func, PACKAGE = "RGtk2") return(w) } gtkAccelMapLoadFd <- function(fd) { fd <- as.integer(fd) w <- .RGtkCall("S_gtk_accel_map_load_fd", fd, PACKAGE = "RGtk2") return(w) } gtkAccelMapLoadScanner <- function(scanner) { checkPtrType(scanner, "GScanner") w <- .RGtkCall("S_gtk_accel_map_load_scanner", scanner, PACKAGE = "RGtk2") return(w) } gtkAccelMapSaveFd <- function(fd) { fd <- as.integer(fd) w <- .RGtkCall("S_gtk_accel_map_save_fd", fd, PACKAGE = "RGtk2") return(w) } gtkAccelMapLockPath <- function(accel.path) { accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_accel_map_lock_path", accel.path, PACKAGE = "RGtk2") return(w) } gtkAccelMapUnlockPath <- function(accel.path) { accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_accel_map_unlock_path", accel.path, PACKAGE = "RGtk2") return(w) } gtkAccelMapAddFilter <- function(filter.pattern) { filter.pattern <- as.character(filter.pattern) w <- .RGtkCall("S_gtk_accel_map_add_filter", filter.pattern, PACKAGE = "RGtk2") return(w) } gtkAccelMapForeachUnfiltered <- function(data = NULL, foreach.func) { foreach.func <- as.function(foreach.func) w <- .RGtkCall("S_gtk_accel_map_foreach_unfiltered", data, foreach.func, PACKAGE = "RGtk2") return(w) } gtkAccelMapGetType <- function() { w <- .RGtkCall("S_gtk_accel_map_get_type", PACKAGE = "RGtk2") return(w) } gtkAccelMapGet <- function() { w <- .RGtkCall("S_gtk_accel_map_get", PACKAGE = "RGtk2") return(w) } gtkAccessibleGetType <- function() { w <- .RGtkCall("S_gtk_accessible_get_type", PACKAGE = "RGtk2") return(w) } gtkAccessibleConnectWidgetDestroyed <- function(object) { checkPtrType(object, "GtkAccessible") w <- .RGtkCall("S_gtk_accessible_connect_widget_destroyed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetType <- function() { w <- .RGtkCall("S_gtk_action_get_type", PACKAGE = "RGtk2") return(w) } gtkActionNew <- function(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL) { w <- .RGtkCall("S_gtk_action_new", name, label, tooltip, stock.id, PACKAGE = "RGtk2") return(w) } gtkActionGetName <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_name", object, PACKAGE = "RGtk2") return(w) } gtkActionIsSensitive <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_is_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkActionGetSensitive <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkActionIsVisible <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_is_visible", object, PACKAGE = "RGtk2") return(w) } gtkActionGetVisible <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkActionActivate <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionCreateIcon <- function(object, icon.size) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_create_icon", object, icon.size, PACKAGE = "RGtk2") return(w) } gtkActionCreateMenuItem <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_create_menu_item", object, PACKAGE = "RGtk2") return(w) } gtkActionCreateToolItem <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_create_tool_item", object, PACKAGE = "RGtk2") return(w) } gtkActionConnectProxy <- function(object, proxy) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_connect_proxy", object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionDisconnectProxy <- function(object, proxy) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_disconnect_proxy", object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetProxies <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_proxies", object, PACKAGE = "RGtk2") return(w) } gtkActionConnectAccelerator <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_connect_accelerator", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionDisconnectAccelerator <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_disconnect_accelerator", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetAccelPath <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_accel_path", object, PACKAGE = "RGtk2") return(w) } gtkActionGetAccelClosure <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_accel_closure", object, PACKAGE = "RGtk2") return(w) } gtkActionBlockActivateFrom <- function(object, proxy) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_block_activate_from", object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionUnblockActivateFrom <- function(object, proxy) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkAction") checkPtrType(proxy, "GtkWidget") w <- .RGtkCall("S_gtk_action_unblock_activate_from", object, proxy, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionSetAccelPath <- function(object, accel.path) { checkPtrType(object, "GtkAction") accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_action_set_accel_path", object, accel.path, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionSetAccelGroup <- function(object, accel.group) { checkPtrType(object, "GtkAction") checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_action_set_accel_group", object, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionSetSensitive <- function(object, sensitive) { checkPtrType(object, "GtkAction") sensitive <- as.logical(sensitive) w <- .RGtkCall("S_gtk_action_set_sensitive", object, sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionSetVisible <- function(object, visible) { checkPtrType(object, "GtkAction") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_action_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupGetType <- function() { w <- .RGtkCall("S_gtk_action_group_get_type", PACKAGE = "RGtk2") return(w) } gtkActionGroupNew <- function(name = NULL) { w <- .RGtkCall("S_gtk_action_group_new", name, PACKAGE = "RGtk2") return(w) } gtkActionGroupGetName <- function(object) { checkPtrType(object, "GtkActionGroup") w <- .RGtkCall("S_gtk_action_group_get_name", object, PACKAGE = "RGtk2") return(w) } gtkActionGroupGetSensitive <- function(object) { checkPtrType(object, "GtkActionGroup") w <- .RGtkCall("S_gtk_action_group_get_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkActionGroupSetSensitive <- function(object, sensitive) { checkPtrType(object, "GtkActionGroup") sensitive <- as.logical(sensitive) w <- .RGtkCall("S_gtk_action_group_set_sensitive", object, sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupGetVisible <- function(object) { checkPtrType(object, "GtkActionGroup") w <- .RGtkCall("S_gtk_action_group_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkActionGroupSetVisible <- function(object, visible) { checkPtrType(object, "GtkActionGroup") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_action_group_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupGetAction <- function(object, action.name) { checkPtrType(object, "GtkActionGroup") action.name <- as.character(action.name) w <- .RGtkCall("S_gtk_action_group_get_action", object, action.name, PACKAGE = "RGtk2") return(w) } gtkActionGroupListActions <- function(object) { checkPtrType(object, "GtkActionGroup") w <- .RGtkCall("S_gtk_action_group_list_actions", object, PACKAGE = "RGtk2") return(w) } gtkActionGroupAddAction <- function(object, action) { checkPtrType(object, "GtkActionGroup") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_action_group_add_action", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupAddActionWithAccel <- function(object, action, accelerator = NULL) { checkPtrType(object, "GtkActionGroup") checkPtrType(action, "GtkAction") if (!is.null( accelerator )) accelerator <- as.character(accelerator) w <- .RGtkCall("S_gtk_action_group_add_action_with_accel", object, action, accelerator, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupRemoveAction <- function(object, action) { checkPtrType(object, "GtkActionGroup") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_action_group_remove_action", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupAddActions <- function(object, entries, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkActionEntry(x); x }) w <- .RGtkCall("S_gtk_action_group_add_actions", object, entries, user.data, PACKAGE = "RGtk2") return(w) } gtkActionGroupAddToggleActions <- function(object, entries, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkToggleActionEntry(x); x }) w <- .RGtkCall("S_gtk_action_group_add_toggle_actions", object, entries, user.data, PACKAGE = "RGtk2") return(w) } gtkActionGroupAddRadioActions <- function(object, entries, value, on.change = NULL, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkRadioActionEntry(x); x }) value <- as.integer(value) if (!is.null( on.change )) on.change <- as.function(on.change) w <- .RGtkCall("S_gtk_action_group_add_radio_actions", object, entries, value, on.change, user.data, PACKAGE = "RGtk2") return(w) } gtkActionGroupAddActionsFull <- function(object, entries, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkActionEntry(x); x }) w <- .RGtkCall("S_gtk_action_group_add_actions_full", object, entries, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupAddToggleActionsFull <- function(object, entries, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkToggleActionEntry(x); x }) w <- .RGtkCall("S_gtk_action_group_add_toggle_actions_full", object, entries, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupAddRadioActionsFull <- function(object, entries, value, on.change = NULL, user.data = NULL) { checkPtrType(object, "GtkActionGroup") entries <- lapply(entries, function(x) { x <- as.GtkRadioActionEntry(x); x }) value <- as.integer(value) if (!is.null( on.change )) on.change <- as.function(on.change) w <- .RGtkCall("S_gtk_action_group_add_radio_actions_full", object, entries, value, on.change, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupSetTranslateFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkActionGroup") func <- as.function(func) w <- .RGtkCall("S_gtk_action_group_set_translate_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkActionGroupSetTranslationDomain <- function(object, domain) { checkPtrType(object, "GtkActionGroup") domain <- as.character(domain) w <- .RGtkCall("S_gtk_action_group_set_translation_domain", object, domain, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGroupTranslateString <- function(object, string) { checkPtrType(object, "GtkActionGroup") string <- as.character(string) w <- .RGtkCall("S_gtk_action_group_translate_string", object, string, PACKAGE = "RGtk2") return(w) } gtkAdjustmentGetType <- function() { w <- .RGtkCall("S_gtk_adjustment_get_type", PACKAGE = "RGtk2") return(w) } gtkAdjustmentNew <- function(value = NULL, lower = NULL, upper = NULL, step.incr = NULL, page.incr = NULL, page.size = NULL) { w <- .RGtkCall("S_gtk_adjustment_new", value, lower, upper, step.incr, page.incr, page.size, PACKAGE = "RGtk2") return(w) } gtkAdjustmentChanged <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentValueChanged <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_value_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentClampPage <- function(object, lower, upper) { checkPtrType(object, "GtkAdjustment") lower <- as.numeric(lower) upper <- as.numeric(upper) w <- .RGtkCall("S_gtk_adjustment_clamp_page", object, lower, upper, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentGetValue <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_value", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetValue <- function(object, value) { checkPtrType(object, "GtkAdjustment") value <- as.numeric(value) w <- .RGtkCall("S_gtk_adjustment_set_value", object, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkAlignmentGetType <- function() { w <- .RGtkCall("S_gtk_alignment_get_type", PACKAGE = "RGtk2") return(w) } gtkAlignmentNew <- function(xalign = NULL, yalign = NULL, xscale = NULL, yscale = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_alignment_new", xalign, yalign, xscale, yscale, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkAlignmentSet <- function(object, xalign, yalign, xscale, yscale) { checkPtrType(object, "GtkAlignment") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) xscale <- as.numeric(xscale) yscale <- as.numeric(yscale) w <- .RGtkCall("S_gtk_alignment_set", object, xalign, yalign, xscale, yscale, PACKAGE = "RGtk2") return(invisible(w)) } gtkAlignmentSetPadding <- function(object, padding.top, padding.bottom, padding.left, padding.right) { checkPtrType(object, "GtkAlignment") padding.top <- as.numeric(padding.top) padding.bottom <- as.numeric(padding.bottom) padding.left <- as.numeric(padding.left) padding.right <- as.numeric(padding.right) w <- .RGtkCall("S_gtk_alignment_set_padding", object, padding.top, padding.bottom, padding.left, padding.right, PACKAGE = "RGtk2") return(invisible(w)) } gtkAlignmentGetPadding <- function(object) { checkPtrType(object, "GtkAlignment") w <- .RGtkCall("S_gtk_alignment_get_padding", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkArrowGetType <- function() { w <- .RGtkCall("S_gtk_arrow_get_type", PACKAGE = "RGtk2") return(w) } gtkArrowNew <- function(arrow.type = NULL, shadow.type = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_arrow_new", arrow.type, shadow.type, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkArrowSet <- function(object, arrow.type, shadow.type) { checkPtrType(object, "GtkArrow") w <- .RGtkCall("S_gtk_arrow_set", object, arrow.type, shadow.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkAspectFrameGetType <- function() { w <- .RGtkCall("S_gtk_aspect_frame_get_type", PACKAGE = "RGtk2") return(w) } gtkAspectFrameNew <- function(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_aspect_frame_new", label, xalign, yalign, ratio, obey.child, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkAspectFrameSet <- function(object, xalign = 0, yalign = 0, ratio = 1, obey.child = 1) { checkPtrType(object, "GtkAspectFrame") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) ratio <- as.numeric(ratio) obey.child <- as.logical(obey.child) w <- .RGtkCall("S_gtk_aspect_frame_set", object, xalign, yalign, ratio, obey.child, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxGetType <- function() { w <- .RGtkCall("S_gtk_button_box_get_type", PACKAGE = "RGtk2") return(w) } gtkButtonBoxGetLayout <- function(object) { checkPtrType(object, "GtkButtonBox") w <- .RGtkCall("S_gtk_button_box_get_layout", object, PACKAGE = "RGtk2") return(w) } gtkButtonBoxSetLayout <- function(object, layout.style) { checkPtrType(object, "GtkButtonBox") w <- .RGtkCall("S_gtk_button_box_set_layout", object, layout.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxGetChildSecondary <- function(object, child) { checkPtrType(object, "GtkButtonBox") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_button_box_get_child_secondary", object, child, PACKAGE = "RGtk2") return(w) } gtkButtonBoxSetChildSecondary <- function(object, child, is.secondary) { checkPtrType(object, "GtkButtonBox") checkPtrType(child, "GtkWidget") is.secondary <- as.logical(is.secondary) w <- .RGtkCall("S_gtk_button_box_set_child_secondary", object, child, is.secondary, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxSetChildSize <- function(object, min.width, min.height) { if(getOption("depwarn")) .Deprecated("style properties child-min-width/-height", "RGtk2") checkPtrType(object, "GtkButtonBox") min.width <- as.integer(min.width) min.height <- as.integer(min.height) w <- .RGtkCall("S_gtk_button_box_set_child_size", object, min.width, min.height, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxSetChildIpadding <- function(object, ipad.x, ipad.y) { if(getOption("depwarn")) .Deprecated("style properties child-internal-pad-x/-y", "RGtk2") checkPtrType(object, "GtkButtonBox") ipad.x <- as.integer(ipad.x) ipad.y <- as.integer(ipad.y) w <- .RGtkCall("S_gtk_button_box_set_child_ipadding", object, ipad.x, ipad.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxGetChildSize <- function(object) { if(getOption("depwarn")) .Deprecated("style properties child-min-width/-height", "RGtk2") checkPtrType(object, "GtkButtonBox") w <- .RGtkCall("S_gtk_button_box_get_child_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonBoxGetChildIpadding <- function(object) { if(getOption("depwarn")) .Deprecated("style properties child-internal-pad-x/-y", "RGtk2") checkPtrType(object, "GtkButtonBox") w <- .RGtkCall("S_gtk_button_box_get_child_ipadding", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkBinGetType <- function() { w <- .RGtkCall("S_gtk_bin_get_type", PACKAGE = "RGtk2") return(w) } gtkBinGetChild <- function(object) { checkPtrType(object, "GtkBin") w <- .RGtkCall("S_gtk_bin_get_child", object, PACKAGE = "RGtk2") return(w) } gtkBoxGetType <- function() { w <- .RGtkCall("S_gtk_box_get_type", PACKAGE = "RGtk2") return(w) } gtkBoxPackStart <- function(object, child, expand = TRUE, fill = TRUE, padding = 0) { checkPtrType(object, "GtkBox") checkPtrType(child, "GtkWidget") expand <- as.logical(expand) fill <- as.logical(fill) padding <- as.numeric(padding) w <- .RGtkCall("S_gtk_box_pack_start", object, child, expand, fill, padding, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxPackEnd <- function(object, child, expand = TRUE, fill = TRUE, padding = 0) { checkPtrType(object, "GtkBox") checkPtrType(child, "GtkWidget") expand <- as.logical(expand) fill <- as.logical(fill) padding <- as.numeric(padding) w <- .RGtkCall("S_gtk_box_pack_end", object, child, expand, fill, padding, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxPackStartDefaults <- function(object, widget) { if(getOption("depwarn")) .Deprecated("packStart", "RGtk2") checkPtrType(object, "GtkBox") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_box_pack_start_defaults", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxPackEndDefaults <- function(object, widget) { if(getOption("depwarn")) .Deprecated("packEnd", "RGtk2") checkPtrType(object, "GtkBox") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_box_pack_end_defaults", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxSetHomogeneous <- function(object, homogeneous) { checkPtrType(object, "GtkBox") homogeneous <- as.logical(homogeneous) w <- .RGtkCall("S_gtk_box_set_homogeneous", object, homogeneous, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxGetHomogeneous <- function(object) { checkPtrType(object, "GtkBox") w <- .RGtkCall("S_gtk_box_get_homogeneous", object, PACKAGE = "RGtk2") return(w) } gtkBoxSetSpacing <- function(object, spacing) { checkPtrType(object, "GtkBox") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_box_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxGetSpacing <- function(object) { checkPtrType(object, "GtkBox") w <- .RGtkCall("S_gtk_box_get_spacing", object, PACKAGE = "RGtk2") return(w) } gtkBoxReorderChild <- function(object, child, position) { checkPtrType(object, "GtkBox") checkPtrType(child, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_box_reorder_child", object, child, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxQueryChildPacking <- function(object, child) { checkPtrType(object, "GtkBox") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_box_query_child_packing", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkBoxSetChildPacking <- function(object, child, expand, fill, padding, pack.type) { checkPtrType(object, "GtkBox") checkPtrType(child, "GtkWidget") expand <- as.logical(expand) fill <- as.logical(fill) padding <- as.numeric(padding) w <- .RGtkCall("S_gtk_box_set_child_packing", object, child, expand, fill, padding, pack.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetType <- function() { w <- .RGtkCall("S_gtk_button_get_type", PACKAGE = "RGtk2") return(w) } gtkButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkButtonNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_button_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkButtonNewFromStock <- function(stock.id, show = TRUE) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_button_new_from_stock", stock.id, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkButtonNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_button_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkButtonPressed <- function(object) { if(getOption("depwarn")) .Deprecated("'button-press-event' signal", "RGtk2") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_pressed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonReleased <- function(object) { if(getOption("depwarn")) .Deprecated("'button-release-event' signal", "RGtk2") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_released", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonClicked <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_clicked", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonEnter <- function(object) { if(getOption("depwarn")) .Deprecated("'enter-notify-event' signal", "RGtk2") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_enter", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonLeave <- function(object) { if(getOption("depwarn")) .Deprecated("'leave-notify-event' signal", "RGtk2") checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_leave", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonSetRelief <- function(object, newstyle) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_set_relief", object, newstyle, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetRelief <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_relief", object, PACKAGE = "RGtk2") return(w) } gtkButtonSetLabel <- function(object, label) { checkPtrType(object, "GtkButton") label <- as.character(label) w <- .RGtkCall("S_gtk_button_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetLabel <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_label", object, PACKAGE = "RGtk2") return(w) } gtkButtonSetUseUnderline <- function(object, use.underline) { checkPtrType(object, "GtkButton") use.underline <- as.logical(use.underline) w <- .RGtkCall("S_gtk_button_set_use_underline", object, use.underline, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetUseUnderline <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_use_underline", object, PACKAGE = "RGtk2") return(w) } gtkButtonSetUseStock <- function(object, use.stock) { checkPtrType(object, "GtkButton") use.stock <- as.logical(use.stock) w <- .RGtkCall("S_gtk_button_set_use_stock", object, use.stock, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetUseStock <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_use_stock", object, PACKAGE = "RGtk2") return(w) } gtkButtonSetFocusOnClick <- function(object, focus.on.click) { checkPtrType(object, "GtkButton") focus.on.click <- as.logical(focus.on.click) w <- .RGtkCall("S_gtk_button_set_focus_on_click", object, focus.on.click, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetFocusOnClick <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_focus_on_click", object, PACKAGE = "RGtk2") return(w) } gtkButtonSetAlignment <- function(object, xalign, yalign) { checkPtrType(object, "GtkButton") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_button_set_alignment", object, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetAlignment <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_alignment", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonSetImage <- function(object, image) { checkPtrType(object, "GtkButton") checkPtrType(image, "GtkWidget") w <- .RGtkCall("S_gtk_button_set_image", object, image, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetImage <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_image", object, PACKAGE = "RGtk2") return(w) } gtkCalendarGetType <- function() { w <- .RGtkCall("S_gtk_calendar_get_type", PACKAGE = "RGtk2") return(w) } gtkCalendarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_calendar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCalendarSelectMonth <- function(object, month, year) { checkPtrType(object, "GtkCalendar") month <- as.numeric(month) year <- as.numeric(year) w <- .RGtkCall("S_gtk_calendar_select_month", object, month, year, PACKAGE = "RGtk2") return(w) } gtkCalendarSelectDay <- function(object, day) { checkPtrType(object, "GtkCalendar") day <- as.numeric(day) w <- .RGtkCall("S_gtk_calendar_select_day", object, day, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarMarkDay <- function(object, day) { checkPtrType(object, "GtkCalendar") day <- as.numeric(day) w <- .RGtkCall("S_gtk_calendar_mark_day", object, day, PACKAGE = "RGtk2") return(w) } gtkCalendarUnmarkDay <- function(object, day) { checkPtrType(object, "GtkCalendar") day <- as.numeric(day) w <- .RGtkCall("S_gtk_calendar_unmark_day", object, day, PACKAGE = "RGtk2") return(w) } gtkCalendarClearMarks <- function(object) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_clear_marks", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarSetDisplayOptions <- function(object, flags) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_set_display_options", object, flags, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarGetDisplayOptions <- function(object) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_get_display_options", object, PACKAGE = "RGtk2") return(w) } gtkCalendarDisplayOptions <- function(object, flags) { if(getOption("depwarn")) .Deprecated("setDisplayOptions", "RGtk2") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_display_options", object, flags, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarGetDate <- function(object) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_get_date", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarFreeze <- function(object) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_freeze", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarThaw <- function(object) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_thaw", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableGetType <- function() { w <- .RGtkCall("S_gtk_cell_editable_get_type", PACKAGE = "RGtk2") return(w) } gtkCellEditableStartEditing <- function(object, event = NULL) { checkPtrType(object, "GtkCellEditable") if (!is.null( event )) checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_cell_editable_start_editing", object, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableEditingDone <- function(object) { checkPtrType(object, "GtkCellEditable") w <- .RGtkCall("S_gtk_cell_editable_editing_done", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellEditableRemoveWidget <- function(object) { checkPtrType(object, "GtkCellEditable") w <- .RGtkCall("S_gtk_cell_editable_remove_widget", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutGetType <- function() { w <- .RGtkCall("S_gtk_cell_layout_get_type", PACKAGE = "RGtk2") return(w) } gtkCellLayoutPackStart <- function(object, cell, expand = TRUE) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_cell_layout_pack_start", object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutPackEnd <- function(object, cell, expand = TRUE) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_cell_layout_pack_end", object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutClear <- function(object) { checkPtrType(object, "GtkCellLayout") w <- .RGtkCall("S_gtk_cell_layout_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutAddAttribute <- function(object, cell, attribute, column) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") attribute <- as.character(attribute) column <- as.integer(column) w <- .RGtkCall("S_gtk_cell_layout_add_attribute", object, cell, attribute, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutSetCellDataFunc <- function(object, cell, func, func.data = NULL) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") func <- as.function(func) w <- .RGtkCall("S_gtk_cell_layout_set_cell_data_func", object, cell, func, func.data, PACKAGE = "RGtk2") return(w) } gtkCellLayoutClearAttributes <- function(object, cell) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_layout_clear_attributes", object, cell, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellLayoutReorder <- function(object, cell, position) { checkPtrType(object, "GtkCellLayout") checkPtrType(cell, "GtkCellRenderer") position <- as.integer(position) w <- .RGtkCall("S_gtk_cell_layout_reorder", object, cell, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererGetSize <- function(object, widget, cell.area = NULL) { checkPtrType(object, "GtkCellRenderer") checkPtrType(widget, "GtkWidget") if (!is.null( cell.area )) cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_get_size", object, widget, cell.area, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererRender <- function(object, window, widget, background.area, cell.area, expose.area, flags) { checkPtrType(object, "GtkCellRenderer") checkPtrType(window, "GdkWindow") checkPtrType(widget, "GtkWidget") background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) expose.area <- as.GdkRectangle(expose.area) w <- .RGtkCall("S_gtk_cell_renderer_render", object, window, widget, background.area, cell.area, expose.area, flags, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererActivate <- function(object, event, widget, path, background.area, cell.area, flags) { checkPtrType(object, "GtkCellRenderer") checkPtrType(event, "GdkEvent") checkPtrType(widget, "GtkWidget") path <- as.character(path) background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_activate", object, event, widget, path, background.area, cell.area, flags, PACKAGE = "RGtk2") return(w) } gtkCellRendererStartEditing <- function(object, event, widget, path, background.area, cell.area, flags) { checkPtrType(object, "GtkCellRenderer") checkPtrType(event, "GdkEvent") checkPtrType(widget, "GtkWidget") path <- as.character(path) background.area <- as.GdkRectangle(background.area) cell.area <- as.GdkRectangle(cell.area) w <- .RGtkCall("S_gtk_cell_renderer_start_editing", object, event, widget, path, background.area, cell.area, flags, PACKAGE = "RGtk2") return(w) } gtkCellRendererSetFixedSize <- function(object, width, height) { checkPtrType(object, "GtkCellRenderer") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_cell_renderer_set_fixed_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetFixedSize <- function(object) { checkPtrType(object, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_renderer_get_fixed_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererEditingCanceled <- function(object) { if(getOption("depwarn")) .Deprecated("stopEditing", "RGtk2") checkPtrType(object, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_renderer_editing_canceled", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererStopEditing <- function(object, canceled) { checkPtrType(object, "GtkCellRenderer") canceled <- as.logical(canceled) w <- .RGtkCall("S_gtk_cell_renderer_stop_editing", object, canceled, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererComboGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_combo_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererComboNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_combo_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererPixbufGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_pixbuf_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererPixbufNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_pixbuf_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererProgressGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_progress_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererProgressNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_progress_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererTextGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_text_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererTextNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_text_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererTextSetFixedHeightFromFont <- function(object, number.of.rows) { checkPtrType(object, "GtkCellRendererText") number.of.rows <- as.integer(number.of.rows) w <- .RGtkCall("S_gtk_cell_renderer_text_set_fixed_height_from_font", object, number.of.rows, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererToggleGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_toggle_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_toggle_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleGetRadio <- function(object) { checkPtrType(object, "GtkCellRendererToggle") w <- .RGtkCall("S_gtk_cell_renderer_toggle_get_radio", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleSetRadio <- function(object, radio) { checkPtrType(object, "GtkCellRendererToggle") radio <- as.logical(radio) w <- .RGtkCall("S_gtk_cell_renderer_toggle_set_radio", object, radio, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererToggleGetActive <- function(object) { checkPtrType(object, "GtkCellRendererToggle") w <- .RGtkCall("S_gtk_cell_renderer_toggle_get_active", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleSetActive <- function(object, setting) { checkPtrType(object, "GtkCellRendererToggle") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_cell_renderer_toggle_set_active", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellViewGetType <- function() { w <- .RGtkCall("S_gtk_cell_view_get_type", PACKAGE = "RGtk2") return(w) } gtkCellViewNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_cell_view_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCellViewNewWithText <- function(text) { text <- as.character(text) w <- .RGtkCall("S_gtk_cell_view_new_with_text", text, PACKAGE = "RGtk2") return(w) } gtkCellViewNewWithMarkup <- function(markup) { markup <- as.character(markup) w <- .RGtkCall("S_gtk_cell_view_new_with_markup", markup, PACKAGE = "RGtk2") return(w) } gtkCellViewNewWithPixbuf <- function(pixbuf) { checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_cell_view_new_with_pixbuf", pixbuf, PACKAGE = "RGtk2") return(w) } gtkCellViewSetModel <- function(object, model = NULL) { checkPtrType(object, "GtkCellView") if (!is.null( model )) checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_cell_view_set_model", object, model, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellViewSetDisplayedRow <- function(object, path = NULL) { checkPtrType(object, "GtkCellView") if (!is.null( path )) checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_cell_view_set_displayed_row", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellViewGetDisplayedRow <- function(object) { checkPtrType(object, "GtkCellView") w <- .RGtkCall("S_gtk_cell_view_get_displayed_row", object, PACKAGE = "RGtk2") return(w) } gtkCellViewGetSizeOfRow <- function(object, path) { checkPtrType(object, "GtkCellView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_cell_view_get_size_of_row", object, path, PACKAGE = "RGtk2") return(w) } gtkCellViewSetBackgroundColor <- function(object, color) { checkPtrType(object, "GtkCellView") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_cell_view_set_background_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellViewGetCellRenderers <- function(object) { checkPtrType(object, "GtkCellView") w <- .RGtkCall("S_gtk_cell_view_get_cell_renderers", object, PACKAGE = "RGtk2") return(w) } gtkClipboardSetCanStore <- function(object, targets) { checkPtrType(object, "GtkClipboard") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_clipboard_set_can_store", object, targets, PACKAGE = "RGtk2") return(w) } gtkClipboardStore <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_store", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckButtonGetType <- function() { w <- .RGtkCall("S_gtk_check_button_get_type", PACKAGE = "RGtk2") return(w) } gtkCheckButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_check_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckButtonNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_check_button_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckButtonNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_check_button_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_check_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkCheckMenuItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_check_menu_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckMenuItemNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_check_menu_item_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckMenuItemNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_check_menu_item_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCheckMenuItemSetActive <- function(object, is.active) { checkPtrType(object, "GtkCheckMenuItem") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_check_menu_item_set_active", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemGetActive <- function(object) { checkPtrType(object, "GtkCheckMenuItem") w <- .RGtkCall("S_gtk_check_menu_item_get_active", object, PACKAGE = "RGtk2") return(w) } gtkCheckMenuItemToggled <- function(object) { checkPtrType(object, "GtkCheckMenuItem") w <- .RGtkCall("S_gtk_check_menu_item_toggled", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemSetInconsistent <- function(object, setting) { checkPtrType(object, "GtkCheckMenuItem") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_check_menu_item_set_inconsistent", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemGetInconsistent <- function(object) { checkPtrType(object, "GtkCheckMenuItem") w <- .RGtkCall("S_gtk_check_menu_item_get_inconsistent", object, PACKAGE = "RGtk2") return(w) } gtkCheckMenuItemSetDrawAsRadio <- function(object, draw.as.radio) { checkPtrType(object, "GtkCheckMenuItem") draw.as.radio <- as.logical(draw.as.radio) w <- .RGtkCall("S_gtk_check_menu_item_set_draw_as_radio", object, draw.as.radio, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemGetDrawAsRadio <- function(object) { checkPtrType(object, "GtkCheckMenuItem") w <- .RGtkCall("S_gtk_check_menu_item_get_draw_as_radio", object, PACKAGE = "RGtk2") return(w) } gtkCheckMenuItemSetShowToggle <- function(object, always) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCheckMenuItem") always <- as.logical(always) w <- .RGtkCall("S_gtk_check_menu_item_set_show_toggle", object, always, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckMenuItemSetState <- function(object, is.active) { if(getOption("depwarn")) .Deprecated("gtkCheckMenuItemSetActive", "RGtk2") checkPtrType(object, "GtkCheckMenuItem") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_check_menu_item_set_state", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardGetType <- function() { w <- .RGtkCall("S_gtk_clipboard_get_type", PACKAGE = "RGtk2") return(w) } gtkClipboardGetForDisplay <- function(display, selection = "GDK_SELECTION_CLIPBOARD") { checkPtrType(display, "GdkDisplay") selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gtk_clipboard_get_for_display", display, selection, PACKAGE = "RGtk2") return(w) } gtkClipboardGet <- function(selection = "GDK_SELECTION_CLIPBOARD") { selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gtk_clipboard_get", selection, PACKAGE = "RGtk2") return(w) } gtkClipboardGetDisplay <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_get_display", object, PACKAGE = "RGtk2") return(w) } gtkClipboardSetWithData <- function(object, targets, get.func, user.data = NULL) { checkPtrType(object, "GtkClipboard") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) get.func <- as.function(get.func) w <- .RGtkCall("S_gtk_clipboard_set_with_data", object, targets, get.func, user.data, PACKAGE = "RGtk2") return(w) } gtkClipboardGetOwner <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_get_owner", object, PACKAGE = "RGtk2") return(w) } gtkClipboardClear <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardSetText <- function(object, text, len = -1) { checkPtrType(object, "GtkClipboard") text <- as.character(text) len <- as.integer(len) w <- .RGtkCall("S_gtk_clipboard_set_text", object, text, len, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardSetImage <- function(object, pixbuf) { checkPtrType(object, "GtkClipboard") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_clipboard_set_image", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardRequestContents <- function(object, target, callback, user.data = NULL) { checkPtrType(object, "GtkClipboard") target <- as.GdkAtom(target) callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_contents", object, target, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardRequestImage <- function(object, callback, user.data = NULL) { checkPtrType(object, "GtkClipboard") callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_image", object, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardRequestText <- function(object, callback, user.data = NULL) { checkPtrType(object, "GtkClipboard") callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_text", object, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardRequestTargets <- function(object, callback, user.data = NULL) { checkPtrType(object, "GtkClipboard") callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_targets", object, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardWaitForContents <- function(object, target) { checkPtrType(object, "GtkClipboard") target <- as.GdkAtom(target) w <- .RGtkCall("S_gtk_clipboard_wait_for_contents", object, target, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitForImage <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_for_image", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitForText <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_for_text", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitIsImageAvailable <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_is_image_available", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitIsTextAvailable <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_is_text_available", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitIsTargetAvailable <- function(object, target) { checkPtrType(object, "GtkClipboard") target <- as.GdkAtom(target) w <- .RGtkCall("S_gtk_clipboard_wait_is_target_available", object, target, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitForTargets <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_for_targets", object, PACKAGE = "RGtk2") return(w) } gtkCListGetType <- function() { w <- .RGtkCall("S_gtk_clist_get_type", PACKAGE = "RGtk2") return(w) } gtkCListNew <- function(columns = 1, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkListStore/GtkTreeView", "RGtk2") columns <- as.integer(columns) w <- .RGtkCall("S_gtk_clist_new", columns, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCListNewWithTitles <- function(columns = 1, titles, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkListStore/GtkTreeView", "RGtk2") columns <- as.integer(columns) titles <- as.list(as.character(titles)) w <- .RGtkCall("S_gtk_clist_new_with_titles", columns, titles, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCListSetHadjustment <- function(object, adjustment) { checkPtrType(object, "GtkCList") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_clist_set_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetVadjustment <- function(object, adjustment) { checkPtrType(object, "GtkCList") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_clist_set_vadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetHadjustment <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkCListGetVadjustment <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkCListSetShadowType <- function(object, type) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_set_shadow_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetSelectionMode <- function(object, mode) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_set_selection_mode", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetReorderable <- function(object, reorderable) { checkPtrType(object, "GtkCList") reorderable <- as.logical(reorderable) w <- .RGtkCall("S_gtk_clist_set_reorderable", object, reorderable, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetUseDragIcons <- function(object, use.icons) { checkPtrType(object, "GtkCList") use.icons <- as.logical(use.icons) w <- .RGtkCall("S_gtk_clist_set_use_drag_icons", object, use.icons, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetButtonActions <- function(object, button, button.actions) { checkPtrType(object, "GtkCList") button <- as.numeric(button) button.actions <- as.raw(button.actions) w <- .RGtkCall("S_gtk_clist_set_button_actions", object, button, button.actions, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListFreeze <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_freeze", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListThaw <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_thaw", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitlesShow <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_column_titles_show", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitlesHide <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_column_titles_hide", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitleActive <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_column_title_active", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitlePassive <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_column_title_passive", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitlesActive <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_column_titles_active", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnTitlesPassive <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_column_titles_passive", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnTitle <- function(object, column, title) { checkPtrType(object, "GtkCList") column <- as.integer(column) title <- as.character(title) w <- .RGtkCall("S_gtk_clist_set_column_title", object, column, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetColumnTitle <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_column_title", object, column, PACKAGE = "RGtk2") return(w) } gtkCListSetColumnWidget <- function(object, column, widget) { checkPtrType(object, "GtkCList") column <- as.integer(column) checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_clist_set_column_widget", object, column, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetColumnWidget <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_column_widget", object, column, PACKAGE = "RGtk2") return(w) } gtkCListSetColumnJustification <- function(object, column, justification) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_set_column_justification", object, column, justification, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnVisibility <- function(object, column, visible) { checkPtrType(object, "GtkCList") column <- as.integer(column) visible <- as.logical(visible) w <- .RGtkCall("S_gtk_clist_set_column_visibility", object, column, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnResizeable <- function(object, column, resizeable) { checkPtrType(object, "GtkCList") column <- as.integer(column) resizeable <- as.logical(resizeable) w <- .RGtkCall("S_gtk_clist_set_column_resizeable", object, column, resizeable, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnAutoResize <- function(object, column, auto.resize) { checkPtrType(object, "GtkCList") column <- as.integer(column) auto.resize <- as.logical(auto.resize) w <- .RGtkCall("S_gtk_clist_set_column_auto_resize", object, column, auto.resize, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListColumnsAutosize <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_columns_autosize", object, PACKAGE = "RGtk2") return(w) } gtkCListOptimalColumnWidth <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_optimal_column_width", object, column, PACKAGE = "RGtk2") return(w) } gtkCListSetColumnWidth <- function(object, column, width) { checkPtrType(object, "GtkCList") column <- as.integer(column) width <- as.integer(width) w <- .RGtkCall("S_gtk_clist_set_column_width", object, column, width, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnMinWidth <- function(object, column, min.width) { checkPtrType(object, "GtkCList") column <- as.integer(column) min.width <- as.integer(min.width) w <- .RGtkCall("S_gtk_clist_set_column_min_width", object, column, min.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetColumnMaxWidth <- function(object, column, max.width) { checkPtrType(object, "GtkCList") column <- as.integer(column) max.width <- as.integer(max.width) w <- .RGtkCall("S_gtk_clist_set_column_max_width", object, column, max.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetRowHeight <- function(object, height) { checkPtrType(object, "GtkCList") height <- as.numeric(height) w <- .RGtkCall("S_gtk_clist_set_row_height", object, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListMoveto <- function(object, row, column, row.align, col.align) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) row.align <- as.numeric(row.align) col.align <- as.numeric(col.align) w <- .RGtkCall("S_gtk_clist_moveto", object, row, column, row.align, col.align, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListRowIsVisible <- function(object, row) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_row_is_visible", object, row, PACKAGE = "RGtk2") return(w) } gtkCListGetCellType <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_cell_type", object, row, column, PACKAGE = "RGtk2") return(w) } gtkCListSetText <- function(object, row, column, text) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) text <- as.character(text) w <- .RGtkCall("S_gtk_clist_set_text", object, row, column, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetText <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_text", object, row, column, PACKAGE = "RGtk2") return(w) } gtkCListSetPixmap <- function(object, row, column, pixmap, mask = NULL) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_clist_set_pixmap", object, row, column, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetPixmap <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_pixmap", object, row, column, PACKAGE = "RGtk2") return(w) } gtkCListSetPixtext <- function(object, row, column, text, spacing, pixmap, mask) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) text <- as.character(text) spacing <- as.raw(spacing) checkPtrType(pixmap, "GdkPixmap") checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_clist_set_pixtext", object, row, column, text, spacing, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetPixtext <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_pixtext", object, row, column, PACKAGE = "RGtk2") return(w) } gtkCListSetForeground <- function(object, row, color) { checkPtrType(object, "GtkCList") row <- as.integer(row) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_clist_set_foreground", object, row, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetBackground <- function(object, row, color) { checkPtrType(object, "GtkCList") row <- as.integer(row) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_clist_set_background", object, row, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetCellStyle <- function(object, row, column, style) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) checkPtrType(style, "GtkStyle") w <- .RGtkCall("S_gtk_clist_set_cell_style", object, row, column, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetCellStyle <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_get_cell_style", object, row, column, PACKAGE = "RGtk2") return(w) } gtkCListSetRowStyle <- function(object, row, style) { checkPtrType(object, "GtkCList") row <- as.integer(row) checkPtrType(style, "GtkStyle") w <- .RGtkCall("S_gtk_clist_set_row_style", object, row, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetRowStyle <- function(object, row) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_get_row_style", object, row, PACKAGE = "RGtk2") return(w) } gtkCListSetShift <- function(object, row, column, vertical, horizontal) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) vertical <- as.integer(vertical) horizontal <- as.integer(horizontal) w <- .RGtkCall("S_gtk_clist_set_shift", object, row, column, vertical, horizontal, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetSelectable <- function(object, row, selectable) { checkPtrType(object, "GtkCList") row <- as.integer(row) selectable <- as.logical(selectable) w <- .RGtkCall("S_gtk_clist_set_selectable", object, row, selectable, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetSelectable <- function(object, row) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_get_selectable", object, row, PACKAGE = "RGtk2") return(w) } gtkCListPrepend <- function(object, text) { checkPtrType(object, "GtkCList") text <- as.list(as.character(text)) w <- .RGtkCall("S_gtk_clist_prepend", object, text, PACKAGE = "RGtk2") return(w) } gtkCListAppend <- function(object, text) { checkPtrType(object, "GtkCList") text <- as.list(as.character(text)) w <- .RGtkCall("S_gtk_clist_append", object, text, PACKAGE = "RGtk2") return(w) } gtkCListInsert <- function(object, row, text) { checkPtrType(object, "GtkCList") row <- as.integer(row) text <- as.list(as.character(text)) w <- .RGtkCall("S_gtk_clist_insert", object, row, text, PACKAGE = "RGtk2") return(w) } gtkCListRemove <- function(object, row) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_remove", object, row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetRowData <- function(object, row, data = NULL) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_set_row_data", object, row, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetRowDataFull <- function(object, row, data = NULL) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_set_row_data_full", object, row, data, PACKAGE = "RGtk2") return(w) } gtkCListGetRowData <- function(object, row) { checkPtrType(object, "GtkCList") row <- as.integer(row) w <- .RGtkCall("S_gtk_clist_get_row_data", object, row, PACKAGE = "RGtk2") return(w) } gtkCListFindRowFromData <- function(object, data) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_find_row_from_data", object, data, PACKAGE = "RGtk2") return(w) } gtkCListSelectRow <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_select_row", object, row, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListUnselectRow <- function(object, row, column) { checkPtrType(object, "GtkCList") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_unselect_row", object, row, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListUndoSelection <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_undo_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListClear <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListGetSelectionInfo <- function(object, x, y) { checkPtrType(object, "GtkCList") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_clist_get_selection_info", object, x, y, PACKAGE = "RGtk2") return(w) } gtkCListSelectAll <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListUnselectAll <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSwapRows <- function(object, row1, row2) { checkPtrType(object, "GtkCList") row1 <- as.integer(row1) row2 <- as.integer(row2) w <- .RGtkCall("S_gtk_clist_swap_rows", object, row1, row2, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListRowMove <- function(object, source.row, dest.row) { checkPtrType(object, "GtkCList") source.row <- as.integer(source.row) dest.row <- as.integer(dest.row) w <- .RGtkCall("S_gtk_clist_row_move", object, source.row, dest.row, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetSortColumn <- function(object, column) { checkPtrType(object, "GtkCList") column <- as.integer(column) w <- .RGtkCall("S_gtk_clist_set_sort_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetSortType <- function(object, sort.type) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_set_sort_type", object, sort.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSort <- function(object) { checkPtrType(object, "GtkCList") w <- .RGtkCall("S_gtk_clist_sort", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCListSetAutoSort <- function(object, auto.sort) { checkPtrType(object, "GtkCList") auto.sort <- as.logical(auto.sort) w <- .RGtkCall("S_gtk_clist_set_auto_sort", object, auto.sort, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonGetType <- function() { w <- .RGtkCall("S_gtk_color_button_get_type", PACKAGE = "RGtk2") return(w) } gtkColorButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_color_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkColorButtonNewWithColor <- function(color, show = TRUE) { color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_color_button_new_with_color", color, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkColorButtonSetColor <- function(object, color) { checkPtrType(object, "GtkColorButton") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_color_button_set_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonSetAlpha <- function(object, alpha) { checkPtrType(object, "GtkColorButton") alpha <- as.integer(alpha) w <- .RGtkCall("S_gtk_color_button_set_alpha", object, alpha, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonGetColor <- function(object) { checkPtrType(object, "GtkColorButton") w <- .RGtkCall("S_gtk_color_button_get_color", object, PACKAGE = "RGtk2") return(w) } gtkColorButtonGetAlpha <- function(object) { checkPtrType(object, "GtkColorButton") w <- .RGtkCall("S_gtk_color_button_get_alpha", object, PACKAGE = "RGtk2") return(w) } gtkColorButtonSetUseAlpha <- function(object, use.alpha) { checkPtrType(object, "GtkColorButton") use.alpha <- as.logical(use.alpha) w <- .RGtkCall("S_gtk_color_button_set_use_alpha", object, use.alpha, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonGetUseAlpha <- function(object) { checkPtrType(object, "GtkColorButton") w <- .RGtkCall("S_gtk_color_button_get_use_alpha", object, PACKAGE = "RGtk2") return(w) } gtkColorButtonSetTitle <- function(object, title) { checkPtrType(object, "GtkColorButton") title <- as.character(title) w <- .RGtkCall("S_gtk_color_button_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorButtonGetTitle <- function(object) { checkPtrType(object, "GtkColorButton") w <- .RGtkCall("S_gtk_color_button_get_title", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionGetType <- function() { w <- .RGtkCall("S_gtk_color_selection_get_type", PACKAGE = "RGtk2") return(w) } gtkColorSelectionNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_color_selection_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkColorSelectionGetHasOpacityControl <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_has_opacity_control", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetHasOpacityControl <- function(object, has.opacity) { checkPtrType(object, "GtkColorSelection") has.opacity <- as.logical(has.opacity) w <- .RGtkCall("S_gtk_color_selection_set_has_opacity_control", object, has.opacity, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionGetHasPalette <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_has_palette", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetHasPalette <- function(object, has.palette) { checkPtrType(object, "GtkColorSelection") has.palette <- as.logical(has.palette) w <- .RGtkCall("S_gtk_color_selection_set_has_palette", object, has.palette, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionSetCurrentColor <- function(object, color) { checkPtrType(object, "GtkColorSelection") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_color_selection_set_current_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionSetCurrentAlpha <- function(object, alpha) { checkPtrType(object, "GtkColorSelection") alpha <- as.integer(alpha) w <- .RGtkCall("S_gtk_color_selection_set_current_alpha", object, alpha, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionGetCurrentColor <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_current_color", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionGetCurrentAlpha <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_current_alpha", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetPreviousColor <- function(object, color) { checkPtrType(object, "GtkColorSelection") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_color_selection_set_previous_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionSetPreviousAlpha <- function(object, alpha) { checkPtrType(object, "GtkColorSelection") alpha <- as.integer(alpha) w <- .RGtkCall("S_gtk_color_selection_set_previous_alpha", object, alpha, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionGetPreviousColor <- function(object, color) { checkPtrType(object, "GtkColorSelection") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_color_selection_get_previous_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionGetPreviousAlpha <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_previous_alpha", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionIsAdjusting <- function(object) { checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_is_adjusting", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionPaletteFromString <- function(str) { str <- as.character(str) w <- .RGtkCall("S_gtk_color_selection_palette_from_string", str, PACKAGE = "RGtk2") return(w) } gtkColorSelectionPaletteToString <- function(colors) { colors <- lapply(colors, function(x) { x <- as.GdkColor(x); x }) w <- .RGtkCall("S_gtk_color_selection_palette_to_string", colors, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetChangePaletteHook <- function(func) { if(getOption("depwarn")) .Deprecated("setChangePaletteWithScreenHook", "RGtk2") func <- as.function(func) w <- .RGtkCall("S_gtk_color_selection_set_change_palette_hook", func, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetChangePaletteWithScreenHook <- function(func) { func <- as.function(func) w <- .RGtkCall("S_gtk_color_selection_set_change_palette_with_screen_hook", func, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetColor <- function(object, color) { if(getOption("depwarn")) .Deprecated("gtkColorSelectionSetCurrentColor", "RGtk2") checkPtrType(object, "GtkColorSelection") color <- as.list(as.numeric(color)) w <- .RGtkCall("S_gtk_color_selection_set_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionGetColor <- function(object) { if(getOption("depwarn")) .Deprecated("gtkColorSelectionGetCurrentColor", "RGtk2") checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_get_color", object, PACKAGE = "RGtk2") return(w) } gtkColorSelectionSetUpdatePolicy <- function(object, policy) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkColorSelection") w <- .RGtkCall("S_gtk_color_selection_set_update_policy", object, policy, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionDialogGetType <- function() { w <- .RGtkCall("S_gtk_color_selection_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkColorSelectionDialogNew <- function(title = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_color_selection_dialog_new", title, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboGetType <- function() { w <- .RGtkCall("S_gtk_combo_get_type", PACKAGE = "RGtk2") return(w) } gtkComboNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkComboBoxEntry", "RGtk2") w <- .RGtkCall("S_gtk_combo_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboSetValueInList <- function(object, val, ok.if.empty) { checkPtrType(object, "GtkCombo") val <- as.logical(val) ok.if.empty <- as.logical(ok.if.empty) w <- .RGtkCall("S_gtk_combo_set_value_in_list", object, val, ok.if.empty, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboSetUseArrows <- function(object, val) { checkPtrType(object, "GtkCombo") val <- as.logical(val) w <- .RGtkCall("S_gtk_combo_set_use_arrows", object, val, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboSetUseArrowsAlways <- function(object, val) { checkPtrType(object, "GtkCombo") val <- as.logical(val) w <- .RGtkCall("S_gtk_combo_set_use_arrows_always", object, val, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboSetCaseSensitive <- function(object, val) { checkPtrType(object, "GtkCombo") val <- as.logical(val) w <- .RGtkCall("S_gtk_combo_set_case_sensitive", object, val, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboSetItemString <- function(object, item, item.value) { checkPtrType(object, "GtkCombo") checkPtrType(item, "GtkItem") item.value <- as.character(item.value) w <- .RGtkCall("S_gtk_combo_set_item_string", object, item, item.value, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboSetPopdownStrings <- function(object, strings) { checkPtrType(object, "GtkCombo") strings <- as.GList(strings) w <- .RGtkCall("S_gtk_combo_set_popdown_strings", object, strings, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboDisableActivate <- function(object) { checkPtrType(object, "GtkCombo") w <- .RGtkCall("S_gtk_combo_disable_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetType <- function() { w <- .RGtkCall("S_gtk_combo_box_get_type", PACKAGE = "RGtk2") return(w) } gtkComboBoxNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_combo_box_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboBoxNewWithModel <- function(model, show = TRUE) { checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_combo_box_new_with_model", model, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboBoxSetWrapWidth <- function(object, width) { checkPtrType(object, "GtkComboBox") width <- as.integer(width) w <- .RGtkCall("S_gtk_combo_box_set_wrap_width", object, width, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxSetRowSpanColumn <- function(object, row.span) { checkPtrType(object, "GtkComboBox") row.span <- as.integer(row.span) w <- .RGtkCall("S_gtk_combo_box_set_row_span_column", object, row.span, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxSetColumnSpanColumn <- function(object, column.span) { checkPtrType(object, "GtkComboBox") column.span <- as.integer(column.span) w <- .RGtkCall("S_gtk_combo_box_set_column_span_column", object, column.span, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetActive <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_active", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetActive <- function(object, index) { checkPtrType(object, "GtkComboBox") index <- as.integer(index) w <- .RGtkCall("S_gtk_combo_box_set_active", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetActiveIter <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_active_iter", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetActiveIter <- function(object, iter) { checkPtrType(object, "GtkComboBox") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_combo_box_set_active_iter", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxSetModel <- function(object, model = NULL) { checkPtrType(object, "GtkComboBox") if (!is.null( model )) checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_combo_box_set_model", object, model, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetModel <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_model", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxNewText <- function(show = TRUE) { w <- .RGtkCall("S_gtk_combo_box_new_text", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboBoxAppendText <- function(object, text) { checkPtrType(object, "GtkComboBox") text <- as.character(text) w <- .RGtkCall("S_gtk_combo_box_append_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxInsertText <- function(object, position, text) { checkPtrType(object, "GtkComboBox") position <- as.integer(position) text <- as.character(text) w <- .RGtkCall("S_gtk_combo_box_insert_text", object, position, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxPrependText <- function(object, text) { checkPtrType(object, "GtkComboBox") text <- as.character(text) w <- .RGtkCall("S_gtk_combo_box_prepend_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxRemoveText <- function(object, position) { checkPtrType(object, "GtkComboBox") position <- as.integer(position) w <- .RGtkCall("S_gtk_combo_box_remove_text", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxPopup <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_popup", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxPopdown <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_popdown", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetWrapWidth <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_wrap_width", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetRowSpanColumn <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_row_span_column", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetColumnSpanColumn <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_column_span_column", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetAddTearoffs <- function(object, add.tearoffs) { checkPtrType(object, "GtkComboBox") add.tearoffs <- as.logical(add.tearoffs) w <- .RGtkCall("S_gtk_combo_box_set_add_tearoffs", object, add.tearoffs, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetAddTearoffs <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_add_tearoffs", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetFocusOnClick <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_focus_on_click", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetFocusOnClick <- function(object, focus.on.click) { checkPtrType(object, "GtkComboBox") focus.on.click <- as.logical(focus.on.click) w <- .RGtkCall("S_gtk_combo_box_set_focus_on_click", object, focus.on.click, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxSetRowSeparatorFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkComboBox") func <- as.function(func) w <- .RGtkCall("S_gtk_combo_box_set_row_separator_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetRowSeparatorFunc <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_row_separator_func", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetActiveText <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_active_text", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetPopupAccessible <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_popup_accessible", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxEntryGetType <- function() { w <- .RGtkCall("S_gtk_combo_box_entry_get_type", PACKAGE = "RGtk2") return(w) } gtkComboBoxEntryNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_combo_box_entry_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboBoxEntryNewWithModel <- function(model, text.column, show = TRUE) { checkPtrType(model, "GtkTreeModel") text.column <- as.integer(text.column) w <- .RGtkCall("S_gtk_combo_box_entry_new_with_model", model, text.column, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkComboBoxEntrySetTextColumn <- function(object, text.column) { checkPtrType(object, "GtkComboBoxEntry") text.column <- as.integer(text.column) w <- .RGtkCall("S_gtk_combo_box_entry_set_text_column", object, text.column, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxEntryGetTextColumn <- function(object) { checkPtrType(object, "GtkComboBoxEntry") w <- .RGtkCall("S_gtk_combo_box_entry_get_text_column", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxEntryNewText <- function() { w <- .RGtkCall("S_gtk_combo_box_entry_new_text", PACKAGE = "RGtk2") return(w) } gtkContainerGetType <- function() { w <- .RGtkCall("S_gtk_container_get_type", PACKAGE = "RGtk2") return(w) } gtkContainerSetBorderWidth <- function(object, border.width) { checkPtrType(object, "GtkContainer") border.width <- as.numeric(border.width) w <- .RGtkCall("S_gtk_container_set_border_width", object, border.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetBorderWidth <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_border_width", object, PACKAGE = "RGtk2") return(w) } gtkContainerAdd <- function(object, widget) { checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_add", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerRemove <- function(object, widget) { checkPtrType(object, "GtkContainer") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_container_remove", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerSetResizeMode <- function(object, resize.mode) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_set_resize_mode", object, resize.mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetResizeMode <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_resize_mode", object, PACKAGE = "RGtk2") return(w) } gtkContainerCheckResize <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_check_resize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerForeach <- function(object, callback, callback.data = NULL) { checkPtrType(object, "GtkContainer") callback <- as.function(callback) w <- .RGtkCall("S_gtk_container_foreach", object, callback, callback.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerForeachFull <- function(object, callback, callback.data = NULL) { checkPtrType(object, "GtkContainer") callback <- as.function(callback) w <- .RGtkCall("S_gtk_container_foreach_full", object, callback, callback.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetChildren <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_children", object, PACKAGE = "RGtk2") return(w) } gtkContainerChildren <- function(object) { if(getOption("depwarn")) .Deprecated("gtkContainerGetChildren", "RGtk2") checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_children", object, PACKAGE = "RGtk2") return(w) } gtkContainerPropagateExpose <- function(object, child, event) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") checkPtrType(event, "GdkEventExpose") w <- .RGtkCall("S_gtk_container_propagate_expose", object, child, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerSetFocusChain <- function(object, focusable.widgets) { checkPtrType(object, "GtkContainer") focusable.widgets <- as.GList(focusable.widgets) w <- .RGtkCall("S_gtk_container_set_focus_chain", object, focusable.widgets, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetFocusChain <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_focus_chain", object, PACKAGE = "RGtk2") return(w) } gtkContainerUnsetFocusChain <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_unset_focus_chain", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerSetReallocateRedraws <- function(object, needs.redraws) { checkPtrType(object, "GtkContainer") needs.redraws <- as.logical(needs.redraws) w <- .RGtkCall("S_gtk_container_set_reallocate_redraws", object, needs.redraws, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerSetFocusChild <- function(object, child) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_container_set_focus_child", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerSetFocusVadjustment <- function(object, adjustment) { checkPtrType(object, "GtkContainer") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_container_set_focus_vadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetFocusVadjustment <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_focus_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkContainerSetFocusHadjustment <- function(object, adjustment) { checkPtrType(object, "GtkContainer") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_container_set_focus_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerGetFocusHadjustment <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_focus_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkContainerResizeChildren <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_resize_children", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerChildType <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_child_type", object, PACKAGE = "RGtk2") return(w) } gtkContainerClassInstallChildProperty <- function(cclass, property.id, pspec) { checkPtrType(cclass, "GtkContainerClass") property.id <- as.numeric(property.id) pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_container_class_install_child_property", cclass, property.id, pspec, PACKAGE = "RGtk2") return(w) } gtkContainerClassFindChildProperty <- function(cclass, property.name) { checkPtrType(cclass, "GObjectClass") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_container_class_find_child_property", cclass, property.name, PACKAGE = "RGtk2") return(w) } gtkContainerClassListChildProperties <- function(cclass) { checkPtrType(cclass, "GObjectClass") w <- .RGtkCall("S_gtk_container_class_list_child_properties", cclass, PACKAGE = "RGtk2") return(w) } gtkContainerChildSetProperty <- function(object, child, property.name, value) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_container_child_set_property", object, child, property.name, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkContainerChildGetProperty <- function(object, child, property.name) { checkPtrType(object, "GtkContainer") checkPtrType(child, "GtkWidget") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_container_child_get_property", object, child, property.name, PACKAGE = "RGtk2") return(w) } gtkContainerForall <- function(object, callback, callback.data = NULL) { checkPtrType(object, "GtkContainer") callback <- as.function(callback) w <- .RGtkCall("S_gtk_container_forall", object, callback, callback.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeGetType <- function() { w <- .RGtkCall("S_gtk_ctree_get_type", PACKAGE = "RGtk2") return(w) } gtkCTreeNewWithTitles <- function(columns = 1, tree.column = 0, titles, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkTreeStore/GtkTreeView", "RGtk2") columns <- as.integer(columns) tree.column <- as.integer(tree.column) titles <- as.list(as.character(titles)) w <- .RGtkCall("S_gtk_ctree_new_with_titles", columns, tree.column, titles, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCTreeNew <- function(columns = 1, tree.column = 0, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkTreeStore/GtkTreeView", "RGtk2") columns <- as.integer(columns) tree.column <- as.integer(tree.column) w <- .RGtkCall("S_gtk_ctree_new", columns, tree.column, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCTreeInsertNode <- function(object, parent, sibling, text, spacing = 5, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf = 1, expanded = 0) { checkPtrType(object, "GtkCTree") checkPtrType(parent, "GtkCTreeNode") checkPtrType(sibling, "GtkCTreeNode") text <- as.list(as.character(text)) spacing <- as.raw(spacing) if (!is.null( pixmap.closed )) checkPtrType(pixmap.closed, "GdkPixmap") if (!is.null( mask.closed )) checkPtrType(mask.closed, "GdkBitmap") if (!is.null( pixmap.opened )) checkPtrType(pixmap.opened, "GdkPixmap") if (!is.null( mask.opened )) checkPtrType(mask.opened, "GdkBitmap") is.leaf <- as.logical(is.leaf) expanded <- as.logical(expanded) w <- .RGtkCall("S_gtk_ctree_insert_node", object, parent, sibling, text, spacing, pixmap.closed, mask.closed, pixmap.opened, mask.opened, is.leaf, expanded, PACKAGE = "RGtk2") return(w) } gtkCTreeRemoveNode <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_remove_node", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeInsertGnode <- function(object, parent, sibling, gnode, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(parent, "GtkCTreeNode") checkPtrType(sibling, "GtkCTreeNode") checkPtrType(gnode, "GNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_insert_gnode", object, parent, sibling, gnode, func, data, PACKAGE = "RGtk2") return(w) } gtkCTreeExportToGnode <- function(object, parent, sibling, node, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(parent, "GNode") checkPtrType(sibling, "GNode") checkPtrType(node, "GtkCTreeNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_export_to_gnode", object, parent, sibling, node, func, data, PACKAGE = "RGtk2") return(w) } gtkCTreePostRecursive <- function(object, node, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_post_recursive", object, node, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreePostRecursiveToDepth <- function(object, node, depth, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") depth <- as.integer(depth) func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_post_recursive_to_depth", object, node, depth, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreePreRecursive <- function(object, node, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_pre_recursive", object, node, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreePreRecursiveToDepth <- function(object, node, depth, func, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") depth <- as.integer(depth) func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_pre_recursive_to_depth", object, node, depth, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeIsViewable <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_is_viewable", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeLast <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_last", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeFindNodePtr <- function(object, ctree.row) { checkPtrType(object, "GtkCTree") checkPtrType(ctree.row, "GtkCTreeRow") w <- .RGtkCall("S_gtk_ctree_find_node_ptr", object, ctree.row, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeNth <- function(object, row) { checkPtrType(object, "GtkCTree") row <- as.numeric(row) w <- .RGtkCall("S_gtk_ctree_node_nth", object, row, PACKAGE = "RGtk2") return(w) } gtkCTreeFind <- function(object, node, child) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") checkPtrType(child, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_find", object, node, child, PACKAGE = "RGtk2") return(w) } gtkCTreeIsAncestor <- function(object, node, child) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") checkPtrType(child, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_is_ancestor", object, node, child, PACKAGE = "RGtk2") return(w) } gtkCTreeFindByRowData <- function(object, node, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_find_by_row_data", object, node, data, PACKAGE = "RGtk2") return(w) } gtkCTreeFindAllByRowData <- function(object, node, data = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_find_all_by_row_data", object, node, data, PACKAGE = "RGtk2") return(w) } gtkCTreeFindByRowDataCustom <- function(object, node, data = NULL, func) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_find_by_row_data_custom", object, node, data, func, PACKAGE = "RGtk2") return(w) } gtkCTreeFindAllByRowDataCustom <- function(object, node, data = NULL, func) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") func <- as.function(func) w <- .RGtkCall("S_gtk_ctree_find_all_by_row_data_custom", object, node, data, func, PACKAGE = "RGtk2") return(w) } gtkCTreeIsHotSpot <- function(object, x, y) { checkPtrType(object, "GtkCTree") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_ctree_is_hot_spot", object, x, y, PACKAGE = "RGtk2") return(w) } gtkCTreeMove <- function(object, node, new.parent = NULL, new.sibling = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") if (!is.null( new.parent )) checkPtrType(new.parent, "GtkCTreeNode") if (!is.null( new.sibling )) checkPtrType(new.sibling, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_move", object, node, new.parent, new.sibling, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeExpand <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_expand", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeExpandRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_expand_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeExpandToDepth <- function(object, node, depth) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") depth <- as.integer(depth) w <- .RGtkCall("S_gtk_ctree_expand_to_depth", object, node, depth, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeCollapse <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_collapse", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeCollapseRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_collapse_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeCollapseToDepth <- function(object, node, depth) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") depth <- as.integer(depth) w <- .RGtkCall("S_gtk_ctree_collapse_to_depth", object, node, depth, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeToggleExpansion <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_toggle_expansion", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeToggleExpansionRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_toggle_expansion_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSelect <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_select", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSelectRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_select_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeUnselect <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_unselect", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeUnselectRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_unselect_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeRealSelectRecursive <- function(object, node, state) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") state <- as.integer(state) w <- .RGtkCall("S_gtk_ctree_real_select_recursive", object, node, state, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetText <- function(object, node, column, text) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) text <- as.character(text) w <- .RGtkCall("S_gtk_ctree_node_set_text", object, node, column, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetPixmap <- function(object, node, column, pixmap, mask = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_ctree_node_set_pixmap", object, node, column, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetPixtext <- function(object, node, column, text, spacing, pixmap, mask = NULL) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) text <- as.character(text) spacing <- as.raw(spacing) checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_ctree_node_set_pixtext", object, node, column, text, spacing, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSetNodeInfo <- function(object, node, text, spacing, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf, expanded) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") text <- as.character(text) spacing <- as.raw(spacing) if (!is.null( pixmap.closed )) checkPtrType(pixmap.closed, "GdkPixmap") if (!is.null( mask.closed )) checkPtrType(mask.closed, "GdkBitmap") if (!is.null( pixmap.opened )) checkPtrType(pixmap.opened, "GdkPixmap") if (!is.null( mask.opened )) checkPtrType(mask.opened, "GdkBitmap") is.leaf <- as.logical(is.leaf) expanded <- as.logical(expanded) w <- .RGtkCall("S_gtk_ctree_set_node_info", object, node, text, spacing, pixmap.closed, mask.closed, pixmap.opened, mask.opened, is.leaf, expanded, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetShift <- function(object, node, column, vertical, horizontal) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) vertical <- as.integer(vertical) horizontal <- as.integer(horizontal) w <- .RGtkCall("S_gtk_ctree_node_set_shift", object, node, column, vertical, horizontal, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetSelectable <- function(object, node, selectable) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") selectable <- as.logical(selectable) w <- .RGtkCall("S_gtk_ctree_node_set_selectable", object, node, selectable, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeGetSelectable <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_get_selectable", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeGetCellType <- function(object, node, column) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_node_get_cell_type", object, node, column, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeGetText <- function(object, node, column) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_node_get_text", object, node, column, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeGetPixmap <- function(object, node, column) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_node_get_pixmap", object, node, column, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeGetPixtext <- function(object, node, column) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_node_get_pixtext", object, node, column, PACKAGE = "RGtk2") return(w) } gtkCTreeGetNodeInfo <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_get_node_info", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeSetRowStyle <- function(object, node, style) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") checkPtrType(style, "GtkStyle") w <- .RGtkCall("S_gtk_ctree_node_set_row_style", object, node, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeGetRowStyle <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_get_row_style", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeSetCellStyle <- function(object, node, column, style) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) checkPtrType(style, "GtkStyle") w <- .RGtkCall("S_gtk_ctree_node_set_cell_style", object, node, column, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeGetCellStyle <- function(object, node, column) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) w <- .RGtkCall("S_gtk_ctree_node_get_cell_style", object, node, column, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeSetForeground <- function(object, node, color) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_ctree_node_set_foreground", object, node, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetBackground <- function(object, node, color) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_ctree_node_set_background", object, node, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetRowData <- function(object, node, data) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_set_row_data", object, node, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeSetRowDataFull <- function(object, node, data) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_set_row_data_full", object, node, data, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeGetRowData <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_get_row_data", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeNodeMoveto <- function(object, node, column, row.align, col.align) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") column <- as.integer(column) row.align <- as.numeric(row.align) col.align <- as.numeric(col.align) w <- .RGtkCall("S_gtk_ctree_node_moveto", object, node, column, row.align, col.align, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeIsVisible <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_node_is_visible", object, node, PACKAGE = "RGtk2") return(w) } gtkCTreeSetIndent <- function(object, indent) { checkPtrType(object, "GtkCTree") indent <- as.integer(indent) w <- .RGtkCall("S_gtk_ctree_set_indent", object, indent, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSetSpacing <- function(object, spacing) { checkPtrType(object, "GtkCTree") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_ctree_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSetShowStub <- function(object, show.stub) { checkPtrType(object, "GtkCTree") show.stub <- as.logical(show.stub) w <- .RGtkCall("S_gtk_ctree_set_show_stub", object, show.stub, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSetLineStyle <- function(object, line.style) { checkPtrType(object, "GtkCTree") w <- .RGtkCall("S_gtk_ctree_set_line_style", object, line.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSetExpanderStyle <- function(object, expander.style) { checkPtrType(object, "GtkCTree") w <- .RGtkCall("S_gtk_ctree_set_expander_style", object, expander.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSortNode <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_sort_node", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeSortRecursive <- function(object, node) { checkPtrType(object, "GtkCTree") checkPtrType(node, "GtkCTreeNode") w <- .RGtkCall("S_gtk_ctree_sort_recursive", object, node, PACKAGE = "RGtk2") return(invisible(w)) } gtkCTreeNodeGetType <- function() { w <- .RGtkCall("S_gtk_ctree_node_get_type", PACKAGE = "RGtk2") return(w) } gtkCurveGetType <- function() { w <- .RGtkCall("S_gtk_curve_get_type", PACKAGE = "RGtk2") return(w) } gtkCurveNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_curve_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkCurveReset <- function(object) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") w <- .RGtkCall("S_gtk_curve_reset", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCurveSetGamma <- function(object, gamma) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") gamma <- as.numeric(gamma) w <- .RGtkCall("S_gtk_curve_set_gamma", object, gamma, PACKAGE = "RGtk2") return(invisible(w)) } gtkCurveSetRange <- function(object, min.x, max.x, min.y, max.y) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") min.x <- as.numeric(min.x) max.x <- as.numeric(max.x) min.y <- as.numeric(min.y) max.y <- as.numeric(max.y) w <- .RGtkCall("S_gtk_curve_set_range", object, min.x, max.x, min.y, max.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkCurveGetVector <- function(object, veclen) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") veclen <- as.integer(veclen) w <- .RGtkCall("S_gtk_curve_get_vector", object, veclen, PACKAGE = "RGtk2") return(w) } gtkCurveSetVector <- function(object, vector) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") vector <- as.list(as.numeric(vector)) w <- .RGtkCall("S_gtk_curve_set_vector", object, vector, PACKAGE = "RGtk2") return(w) } gtkCurveSetCurveType <- function(object, type) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkCurve") w <- .RGtkCall("S_gtk_curve_set_curve_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogGetType <- function() { w <- .RGtkCall("S_gtk_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkDialogNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_dialog_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkDialogAddActionWidget <- function(object, child, response.id) { checkPtrType(object, "GtkDialog") checkPtrType(child, "GtkWidget") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_add_action_widget", object, child, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogAddButton <- function(object, button.text, response.id) { checkPtrType(object, "GtkDialog") button.text <- as.character(button.text) response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_add_button", object, button.text, response.id, PACKAGE = "RGtk2") return(w) } gtkDialogSetResponseSensitive <- function(object, response.id, setting) { checkPtrType(object, "GtkDialog") response.id <- as.integer(response.id) setting <- as.logical(setting) w <- .RGtkCall("S_gtk_dialog_set_response_sensitive", object, response.id, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogSetDefaultResponse <- function(object, response.id) { checkPtrType(object, "GtkDialog") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_set_default_response", object, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogGetResponseForWidget <- function(object, widget) { checkPtrType(object, "GtkDialog") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_dialog_get_response_for_widget", object, widget, PACKAGE = "RGtk2") return(w) } gtkDialogSetHasSeparator <- function(object, setting) { checkPtrType(object, "GtkDialog") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_dialog_set_has_separator", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogGetHasSeparator <- function(object) { checkPtrType(object, "GtkDialog") w <- .RGtkCall("S_gtk_dialog_get_has_separator", object, PACKAGE = "RGtk2") return(w) } gtkDialogResponse <- function(object, response.id) { checkPtrType(object, "GtkDialog") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_response", object, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogRun <- function(object) { checkPtrType(object, "GtkDialog") w <- .RGtkCall("S_gtk_dialog_run", object, PACKAGE = "RGtk2") return(w) } gtkDialogSetAlternativeButtonOrderFromArray <- function(object, new.order) { checkPtrType(object, "GtkDialog") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_dialog_set_alternative_button_order_from_array", object, new.order, PACKAGE = "RGtk2") return(w) } gtkDragCheckThreshold <- function(object, start.x, start.y, current.x, current.y) { checkPtrType(object, "GtkWidget") start.x <- as.integer(start.x) start.y <- as.integer(start.y) current.x <- as.integer(current.x) current.y <- as.integer(current.y) w <- .RGtkCall("S_gtk_drag_check_threshold", object, start.x, start.y, current.x, current.y, PACKAGE = "RGtk2") return(w) } gtkDragGetData <- function(object, context, target, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") target <- as.GdkAtom(target) time <- as.numeric(time) w <- .RGtkCall("S_gtk_drag_get_data", object, context, target, time, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragHighlight <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_highlight", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragUnhighlight <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_unhighlight", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestSet <- function(object, flags, targets, actions) { checkPtrType(object, "GtkWidget") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_drag_dest_set", object, flags, targets, actions, PACKAGE = "RGtk2") return(w) } gtkDragDestSetProxy <- function(object, proxy.window, protocol, use.coordinates) { checkPtrType(object, "GtkWidget") checkPtrType(proxy.window, "GdkWindow") use.coordinates <- as.logical(use.coordinates) w <- .RGtkCall("S_gtk_drag_dest_set_proxy", object, proxy.window, protocol, use.coordinates, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestUnset <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_unset", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestFindTarget <- function(object, context, target.list) { checkPtrType(object, "GtkWidget") checkPtrType(context, "GdkDragContext") checkPtrType(target.list, "GtkTargetList") w <- .RGtkCall("S_gtk_drag_dest_find_target", object, context, target.list, PACKAGE = "RGtk2") return(w) } gtkDragDestGetTargetList <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_get_target_list", object, PACKAGE = "RGtk2") return(w) } gtkDragDestSetTargetList <- function(object, target.list) { checkPtrType(object, "GtkWidget") checkPtrType(target.list, "GtkTargetList") w <- .RGtkCall("S_gtk_drag_dest_set_target_list", object, target.list, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceSet <- function(object, start.button.mask, targets, actions) { checkPtrType(object, "GtkWidget") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_drag_source_set", object, start.button.mask, targets, actions, PACKAGE = "RGtk2") return(w) } gtkDragSourceUnset <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_source_unset", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceSetIcon <- function(object, colormap, pixmap, mask = NULL) { checkPtrType(object, "GtkWidget") checkPtrType(colormap, "GdkColormap") checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_drag_source_set_icon", object, colormap, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceSetIconPixbuf <- function(object, pixbuf) { checkPtrType(object, "GtkWidget") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_drag_source_set_icon_pixbuf", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceSetIconStock <- function(object, stock.id) { checkPtrType(object, "GtkWidget") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_drag_source_set_icon_stock", object, stock.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceGetTargetList <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_source_get_target_list", object, PACKAGE = "RGtk2") return(w) } gtkDragSourceSetTargetList <- function(object, target.list) { checkPtrType(object, "GtkWidget") checkPtrType(target.list, "GtkTargetList") w <- .RGtkCall("S_gtk_drag_source_set_target_list", object, target.list, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragBegin <- function(object, targets, actions, button, event) { checkPtrType(object, "GtkWidget") checkPtrType(targets, "GtkTargetList") button <- as.integer(button) checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_drag_begin", object, targets, actions, button, event, PACKAGE = "RGtk2") return(w) } gtkDragSetDefaultIcon <- function(colormap, pixmap, mask, hot.x, hot.y) { if(getOption("depwarn")) .Deprecated("a different stock pixbuf for GTK_STOCK_DND", "RGtk2") checkPtrType(colormap, "GdkColormap") checkPtrType(pixmap, "GdkPixmap") checkPtrType(mask, "GdkBitmap") hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_default_icon", colormap, pixmap, mask, hot.x, hot.y, PACKAGE = "RGtk2") return(w) } gtkDragDestAddTextTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_add_text_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestAddImageTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_add_image_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestAddUriTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_add_uri_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceAddTextTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_source_add_text_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceAddImageTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_source_add_image_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSourceAddUriTargets <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_source_add_uri_targets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTargetListAddTextTargets <- function(list, info) { checkPtrType(list, "GtkTargetList") info <- as.numeric(info) w <- .RGtkCall("S_gtk_target_list_add_text_targets", list, info, PACKAGE = "RGtk2") return(w) } gtkTargetListAddImageTargets <- function(list, info, writable) { checkPtrType(list, "GtkTargetList") info <- as.numeric(info) writable <- as.logical(writable) w <- .RGtkCall("S_gtk_target_list_add_image_targets", list, info, writable, PACKAGE = "RGtk2") return(w) } gtkTargetListAddUriTargets <- function(list, info) { checkPtrType(list, "GtkTargetList") info <- as.numeric(info) w <- .RGtkCall("S_gtk_target_list_add_uri_targets", list, info, PACKAGE = "RGtk2") return(w) } gtkDragGetSourceWidget <- function(context) { checkPtrType(context, "GdkDragContext") w <- .RGtkCall("S_gtk_drag_get_source_widget", context, PACKAGE = "RGtk2") return(w) } gtkDragSourceSetIconName <- function(widget, icon.name) { checkPtrType(widget, "GtkWidget") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_drag_source_set_icon_name", widget, icon.name, PACKAGE = "RGtk2") return(w) } gtkDrawingAreaGetType <- function() { w <- .RGtkCall("S_gtk_drawing_area_get_type", PACKAGE = "RGtk2") return(w) } gtkDrawingAreaNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_drawing_area_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkDrawingAreaSize <- function(object, width, height) { if(getOption("depwarn")) .Deprecated("gtkWidgetSetSizeRequest", "RGtk2") checkPtrType(object, "GtkDrawingArea") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_drawing_area_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableGetType <- function() { w <- .RGtkCall("S_gtk_editable_get_type", PACKAGE = "RGtk2") return(w) } gtkEditableSelectRegion <- function(object, start, end) { checkPtrType(object, "GtkEditable") start <- as.integer(start) end <- as.integer(end) w <- .RGtkCall("S_gtk_editable_select_region", object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableGetSelectionBounds <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_get_selection_bounds", object, PACKAGE = "RGtk2") return(w) } gtkEditableInsertText <- function(object, new.text, position = 0) { checkPtrType(object, "GtkEditable") new.text <- as.character(new.text) position <- as.list(as.integer(position)) w <- .RGtkCall("S_gtk_editable_insert_text", object, new.text, position, PACKAGE = "RGtk2") return(w) } gtkEditableDeleteText <- function(object, start.pos, end.pos) { checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_delete_text", object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableGetChars <- function(object, start.pos, end.pos) { checkPtrType(object, "GtkEditable") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_gtk_editable_get_chars", object, start.pos, end.pos, PACKAGE = "RGtk2") return(w) } gtkEditableCutClipboard <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_cut_clipboard", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableCopyClipboard <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_copy_clipboard", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditablePasteClipboard <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_paste_clipboard", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableDeleteSelection <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_delete_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableSetPosition <- function(object, position) { checkPtrType(object, "GtkEditable") position <- as.integer(position) w <- .RGtkCall("S_gtk_editable_set_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableGetPosition <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_get_position", object, PACKAGE = "RGtk2") return(w) } gtkEditableSetEditable <- function(object, is.editable) { checkPtrType(object, "GtkEditable") is.editable <- as.logical(is.editable) w <- .RGtkCall("S_gtk_editable_set_editable", object, is.editable, PACKAGE = "RGtk2") return(invisible(w)) } gtkEditableGetEditable <- function(object) { checkPtrType(object, "GtkEditable") w <- .RGtkCall("S_gtk_editable_get_editable", object, PACKAGE = "RGtk2") return(w) } gtkEntryGetType <- function() { w <- .RGtkCall("S_gtk_entry_get_type", PACKAGE = "RGtk2") return(w) } gtkEntryNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_entry_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkEntryNewWithMaxLength <- function(max = 0, show = TRUE) { if(getOption("depwarn")) .Deprecated("gtkEntryNew", "RGtk2") max <- as.integer(max) w <- .RGtkCall("S_gtk_entry_new_with_max_length", max, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkEntrySetVisibility <- function(object, visible) { checkPtrType(object, "GtkEntry") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_entry_set_visibility", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetVisibility <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_visibility", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetInvisibleChar <- function(object, ch) { checkPtrType(object, "GtkEntry") ch <- as.numeric(ch) w <- .RGtkCall("S_gtk_entry_set_invisible_char", object, ch, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetInvisibleChar <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_invisible_char", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetHasFrame <- function(object, setting) { checkPtrType(object, "GtkEntry") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_entry_set_has_frame", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetHasFrame <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_has_frame", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetMaxLength <- function(object, max) { checkPtrType(object, "GtkEntry") max <- as.integer(max) w <- .RGtkCall("S_gtk_entry_set_max_length", object, max, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetMaxLength <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_max_length", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetActivatesDefault <- function(object, setting) { checkPtrType(object, "GtkEntry") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_entry_set_activates_default", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetActivatesDefault <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_activates_default", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetWidthChars <- function(object, n.chars) { checkPtrType(object, "GtkEntry") n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_entry_set_width_chars", object, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetWidthChars <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_width_chars", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetText <- function(object, text) { checkPtrType(object, "GtkEntry") text <- as.character(text) w <- .RGtkCall("S_gtk_entry_set_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetText <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_text", object, PACKAGE = "RGtk2") return(w) } gtkEntryGetLayout <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_layout", object, PACKAGE = "RGtk2") return(w) } gtkEntryGetLayoutOffsets <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_layout_offsets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryLayoutIndexToTextIndex <- function(object, layout.index) { checkPtrType(object, "GtkEntry") layout.index <- as.integer(layout.index) w <- .RGtkCall("S_gtk_entry_layout_index_to_text_index", object, layout.index, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryTextIndexToLayoutIndex <- function(object, text.index) { checkPtrType(object, "GtkEntry") text.index <- as.integer(text.index) w <- .RGtkCall("S_gtk_entry_text_index_to_layout_index", object, text.index, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetAlignment <- function(object, xalign) { checkPtrType(object, "GtkEntry") xalign <- as.numeric(xalign) w <- .RGtkCall("S_gtk_entry_set_alignment", object, xalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetAlignment <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_alignment", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetCompletion <- function(object, completion) { checkPtrType(object, "GtkEntry") checkPtrType(completion, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_set_completion", object, completion, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetCompletion <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_completion", object, PACKAGE = "RGtk2") return(w) } gtkEntryAppendText <- function(object, text) { if(getOption("depwarn")) .Deprecated("gtkEditableInsertText", "RGtk2") checkPtrType(object, "GtkEntry") text <- as.character(text) w <- .RGtkCall("S_gtk_entry_append_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryPrependText <- function(object, text) { if(getOption("depwarn")) .Deprecated("gtkEditableInsertText", "RGtk2") checkPtrType(object, "GtkEntry") text <- as.character(text) w <- .RGtkCall("S_gtk_entry_prepend_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetPosition <- function(object, position) { checkPtrType(object, "GtkEntry") position <- as.integer(position) w <- .RGtkCall("S_gtk_entry_set_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySelectRegion <- function(object, start, end) { checkPtrType(object, "GtkEntry") start <- as.integer(start) end <- as.integer(end) w <- .RGtkCall("S_gtk_entry_select_region", object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetEditable <- function(object, editable) { checkPtrType(object, "GtkEntry") editable <- as.logical(editable) w <- .RGtkCall("S_gtk_entry_set_editable", object, editable, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetType <- function() { w <- .RGtkCall("S_gtk_entry_completion_get_type", PACKAGE = "RGtk2") return(w) } gtkEntryCompletionNew <- function() { w <- .RGtkCall("S_gtk_entry_completion_new", PACKAGE = "RGtk2") return(w) } gtkEntryCompletionGetEntry <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_entry", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetModel <- function(object, model = NULL) { checkPtrType(object, "GtkEntryCompletion") if (!is.null( model )) checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_entry_completion_set_model", object, model, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetModel <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_model", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetMatchFunc <- function(object, func, func.data = NULL) { checkPtrType(object, "GtkEntryCompletion") func <- as.function(func) w <- .RGtkCall("S_gtk_entry_completion_set_match_func", object, func, func.data, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetMinimumKeyLength <- function(object, length) { checkPtrType(object, "GtkEntryCompletion") length <- as.integer(length) w <- .RGtkCall("S_gtk_entry_completion_set_minimum_key_length", object, length, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetMinimumKeyLength <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_minimum_key_length", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionComplete <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_complete", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionInsertActionText <- function(object, index, text) { checkPtrType(object, "GtkEntryCompletion") index <- as.integer(index) text <- as.character(text) w <- .RGtkCall("S_gtk_entry_completion_insert_action_text", object, index, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionInsertActionMarkup <- function(object, index, markup) { checkPtrType(object, "GtkEntryCompletion") index <- as.integer(index) markup <- as.character(markup) w <- .RGtkCall("S_gtk_entry_completion_insert_action_markup", object, index, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionDeleteAction <- function(object, index) { checkPtrType(object, "GtkEntryCompletion") index <- as.integer(index) w <- .RGtkCall("S_gtk_entry_completion_delete_action", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionSetTextColumn <- function(object, column) { checkPtrType(object, "GtkEntryCompletion") column <- as.integer(column) w <- .RGtkCall("S_gtk_entry_completion_set_text_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetTextColumn <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_text_column", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionInsertPrefix <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_insert_prefix", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionSetInlineCompletion <- function(object, inline.completion) { checkPtrType(object, "GtkEntryCompletion") inline.completion <- as.logical(inline.completion) w <- .RGtkCall("S_gtk_entry_completion_set_inline_completion", object, inline.completion, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetInlineCompletion <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_inline_completion", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetPopupCompletion <- function(object, popup.completion) { checkPtrType(object, "GtkEntryCompletion") popup.completion <- as.logical(popup.completion) w <- .RGtkCall("S_gtk_entry_completion_set_popup_completion", object, popup.completion, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetPopupCompletion <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_popup_completion", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetPopupSetWidth <- function(object, popup.set.width) { checkPtrType(object, "GtkEntryCompletion") popup.set.width <- as.logical(popup.set.width) w <- .RGtkCall("S_gtk_entry_completion_set_popup_set_width", object, popup.set.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetPopupSetWidth <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_popup_set_width", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetPopupSingleMatch <- function(object, popup.single.match) { checkPtrType(object, "GtkEntryCompletion") popup.single.match <- as.logical(popup.single.match) w <- .RGtkCall("S_gtk_entry_completion_set_popup_single_match", object, popup.single.match, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetPopupSingleMatch <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_popup_single_match", object, PACKAGE = "RGtk2") return(w) } gtkEventBoxGetType <- function() { w <- .RGtkCall("S_gtk_event_box_get_type", PACKAGE = "RGtk2") return(w) } gtkEventBoxNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_event_box_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkEventBoxGetVisibleWindow <- function(object) { checkPtrType(object, "GtkEventBox") w <- .RGtkCall("S_gtk_event_box_get_visible_window", object, PACKAGE = "RGtk2") return(w) } gtkEventBoxSetVisibleWindow <- function(object, visible.window) { checkPtrType(object, "GtkEventBox") visible.window <- as.logical(visible.window) w <- .RGtkCall("S_gtk_event_box_set_visible_window", object, visible.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkEventBoxGetAboveChild <- function(object) { checkPtrType(object, "GtkEventBox") w <- .RGtkCall("S_gtk_event_box_get_above_child", object, PACKAGE = "RGtk2") return(w) } gtkEventBoxSetAboveChild <- function(object, above.child) { checkPtrType(object, "GtkEventBox") above.child <- as.logical(above.child) w <- .RGtkCall("S_gtk_event_box_set_above_child", object, above.child, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetType <- function() { w <- .RGtkCall("S_gtk_expander_get_type", PACKAGE = "RGtk2") return(w) } gtkExpanderNew <- function(label = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_expander_new", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkExpanderNewWithMnemonic <- function(label = NULL) { if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_expander_new_with_mnemonic", label, PACKAGE = "RGtk2") return(w) } gtkExpanderSetExpanded <- function(object, expanded) { checkPtrType(object, "GtkExpander") expanded <- as.logical(expanded) w <- .RGtkCall("S_gtk_expander_set_expanded", object, expanded, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetExpanded <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_expanded", object, PACKAGE = "RGtk2") return(w) } gtkExpanderSetSpacing <- function(object, spacing) { checkPtrType(object, "GtkExpander") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_expander_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetSpacing <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_spacing", object, PACKAGE = "RGtk2") return(w) } gtkExpanderSetLabel <- function(object, label = NULL) { checkPtrType(object, "GtkExpander") if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_expander_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetLabel <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_label", object, PACKAGE = "RGtk2") return(w) } gtkExpanderSetUseUnderline <- function(object, use.underline) { checkPtrType(object, "GtkExpander") use.underline <- as.logical(use.underline) w <- .RGtkCall("S_gtk_expander_set_use_underline", object, use.underline, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetUseUnderline <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_use_underline", object, PACKAGE = "RGtk2") return(w) } gtkExpanderSetUseMarkup <- function(object, use.markup) { checkPtrType(object, "GtkExpander") use.markup <- as.logical(use.markup) w <- .RGtkCall("S_gtk_expander_set_use_markup", object, use.markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetUseMarkup <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_use_markup", object, PACKAGE = "RGtk2") return(w) } gtkExpanderSetLabelWidget <- function(object, label.widget = NULL) { checkPtrType(object, "GtkExpander") if (!is.null( label.widget )) checkPtrType(label.widget, "GtkWidget") w <- .RGtkCall("S_gtk_expander_set_label_widget", object, label.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkExpanderGetLabelWidget <- function(object) { checkPtrType(object, "GtkExpander") w <- .RGtkCall("S_gtk_expander_get_label_widget", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetType <- function() { w <- .RGtkCall("S_gtk_file_chooser_get_type", PACKAGE = "RGtk2") return(w) } gtkFileChooserErrorQuark <- function() { w <- .RGtkCall("S_gtk_file_chooser_error_quark", PACKAGE = "RGtk2") return(w) } gtkFileChooserSetAction <- function(object, action) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_set_action", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetAction <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_action", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetLocalOnly <- function(object, local.only) { checkPtrType(object, "GtkFileChooser") local.only <- as.logical(local.only) w <- .RGtkCall("S_gtk_file_chooser_set_local_only", object, local.only, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetLocalOnly <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_local_only", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetSelectMultiple <- function(object, select.multiple) { checkPtrType(object, "GtkFileChooser") select.multiple <- as.logical(select.multiple) w <- .RGtkCall("S_gtk_file_chooser_set_select_multiple", object, select.multiple, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetSelectMultiple <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_select_multiple", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetShowHidden <- function(object, show.hidden) { checkPtrType(object, "GtkFileChooser") show.hidden <- as.logical(show.hidden) w <- .RGtkCall("S_gtk_file_chooser_set_show_hidden", object, show.hidden, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetShowHidden <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_show_hidden", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetDoOverwriteConfirmation <- function(object, do.overwrite.confirmation) { checkPtrType(object, "GtkFileChooser") do.overwrite.confirmation <- as.logical(do.overwrite.confirmation) w <- .RGtkCall("S_gtk_file_chooser_set_do_overwrite_confirmation", object, do.overwrite.confirmation, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetDoOverwriteConfirmation <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_do_overwrite_confirmation", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetCurrentName <- function(object, name) { checkPtrType(object, "GtkFileChooser") name <- as.character(name) w <- .RGtkCall("S_gtk_file_chooser_set_current_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetFilename <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_filename", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetFilename <- function(object, filename) { checkPtrType(object, "GtkFileChooser") filename <- as.character(filename) w <- .RGtkCall("S_gtk_file_chooser_set_filename", object, filename, PACKAGE = "RGtk2") return(w) } gtkFileChooserSelectFilename <- function(object, filename) { checkPtrType(object, "GtkFileChooser") filename <- as.character(filename) w <- .RGtkCall("S_gtk_file_chooser_select_filename", object, filename, PACKAGE = "RGtk2") return(w) } gtkFileChooserUnselectFilename <- function(object, filename) { checkPtrType(object, "GtkFileChooser") filename <- as.character(filename) w <- .RGtkCall("S_gtk_file_chooser_unselect_filename", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserSelectAll <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserUnselectAll <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetFilenames <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_filenames", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetCurrentFolder <- function(object, filename) { checkPtrType(object, "GtkFileChooser") filename <- as.character(filename) w <- .RGtkCall("S_gtk_file_chooser_set_current_folder", object, filename, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetCurrentFolder <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_current_folder", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetUri <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_uri", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetUri <- function(object, uri) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_set_uri", object, uri, PACKAGE = "RGtk2") return(w) } gtkFileChooserSelectUri <- function(object, uri) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_select_uri", object, uri, PACKAGE = "RGtk2") return(w) } gtkFileChooserUnselectUri <- function(object, uri) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_unselect_uri", object, uri, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetUris <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_uris", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetCurrentFolderUri <- function(object, uri) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_set_current_folder_uri", object, uri, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetCurrentFolderUri <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_current_folder_uri", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetPreviewWidget <- function(object, preview.widget) { checkPtrType(object, "GtkFileChooser") checkPtrType(preview.widget, "GtkWidget") w <- .RGtkCall("S_gtk_file_chooser_set_preview_widget", object, preview.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetPreviewWidget <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_preview_widget", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetPreviewWidgetActive <- function(object, active) { checkPtrType(object, "GtkFileChooser") active <- as.logical(active) w <- .RGtkCall("S_gtk_file_chooser_set_preview_widget_active", object, active, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetPreviewWidgetActive <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_preview_widget_active", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetUsePreviewLabel <- function(object, use.label) { checkPtrType(object, "GtkFileChooser") use.label <- as.logical(use.label) w <- .RGtkCall("S_gtk_file_chooser_set_use_preview_label", object, use.label, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetUsePreviewLabel <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_use_preview_label", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetPreviewFilename <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_preview_filename", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetPreviewUri <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_preview_uri", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetExtraWidget <- function(object, extra.widget) { checkPtrType(object, "GtkFileChooser") checkPtrType(extra.widget, "GtkWidget") w <- .RGtkCall("S_gtk_file_chooser_set_extra_widget", object, extra.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetExtraWidget <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_extra_widget", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserAddFilter <- function(object, filter) { checkPtrType(object, "GtkFileChooser") checkPtrType(filter, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_chooser_add_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserRemoveFilter <- function(object, filter) { checkPtrType(object, "GtkFileChooser") checkPtrType(filter, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_chooser_remove_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserListFilters <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_list_filters", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetFilter <- function(object, filter) { checkPtrType(object, "GtkFileChooser") checkPtrType(filter, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_chooser_set_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetFilter <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_filter", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserAddShortcutFolder <- function(object, folder, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") folder <- as.character(folder) w <- .RGtkCall("S_gtk_file_chooser_add_shortcut_folder", object, folder, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserRemoveShortcutFolder <- function(object, folder, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") folder <- as.character(folder) w <- .RGtkCall("S_gtk_file_chooser_remove_shortcut_folder", object, folder, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserListShortcutFolders <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_list_shortcut_folders", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserAddShortcutFolderUri <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_add_shortcut_folder_uri", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserRemoveShortcutFolderUri <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_file_chooser_remove_shortcut_folder_uri", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserListShortcutFolderUris <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_list_shortcut_folder_uris", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonGetType <- function() { w <- .RGtkCall("S_gtk_file_chooser_button_get_type", PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonNew <- function(title, action, show = TRUE) { title <- as.character(title) w <- .RGtkCall("S_gtk_file_chooser_button_new", title, action, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFileChooserButtonNewWithBackend <- function(title, action, backend, show = TRUE) { if(getOption("depwarn")) .Deprecated("gtkFileChooserButtonNew", "RGtk2") title <- as.character(title) backend <- as.character(backend) w <- .RGtkCall("S_gtk_file_chooser_button_new_with_backend", title, action, backend, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFileChooserButtonNewWithDialog <- function(dialog) { checkPtrType(dialog, "GtkWidget") w <- .RGtkCall("S_gtk_file_chooser_button_new_with_dialog", dialog, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonGetTitle <- function(object) { checkPtrType(object, "GtkFileChooserButton") w <- .RGtkCall("S_gtk_file_chooser_button_get_title", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonSetTitle <- function(object, title) { checkPtrType(object, "GtkFileChooserButton") title <- as.character(title) w <- .RGtkCall("S_gtk_file_chooser_button_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserButtonGetWidthChars <- function(object) { checkPtrType(object, "GtkFileChooserButton") w <- .RGtkCall("S_gtk_file_chooser_button_get_width_chars", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonSetWidthChars <- function(object, n.chars) { checkPtrType(object, "GtkFileChooserButton") n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_file_chooser_button_set_width_chars", object, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserDialogGetType <- function() { w <- .RGtkCall("S_gtk_file_chooser_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkFileChooserWidgetGetType <- function() { w <- .RGtkCall("S_gtk_file_chooser_widget_get_type", PACKAGE = "RGtk2") return(w) } gtkFileChooserWidgetNew <- function(action, show = TRUE) { w <- .RGtkCall("S_gtk_file_chooser_widget_new", action, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFileChooserWidgetNewWithBackend <- function(action, backend, show = TRUE) { if(getOption("depwarn")) .Deprecated("gtkFileChooserWidgetNew", "RGtk2") backend <- as.character(backend) w <- .RGtkCall("S_gtk_file_chooser_widget_new_with_backend", action, backend, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFileFilterGetType <- function() { w <- .RGtkCall("S_gtk_file_filter_get_type", PACKAGE = "RGtk2") return(w) } gtkFileFilterNew <- function() { w <- .RGtkCall("S_gtk_file_filter_new", PACKAGE = "RGtk2") return(w) } gtkFileFilterSetName <- function(object, name) { checkPtrType(object, "GtkFileFilter") name <- as.character(name) w <- .RGtkCall("S_gtk_file_filter_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileFilterGetName <- function(object) { checkPtrType(object, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_filter_get_name", object, PACKAGE = "RGtk2") return(w) } gtkFileFilterAddMimeType <- function(object, mime.type) { checkPtrType(object, "GtkFileFilter") mime.type <- as.character(mime.type) w <- .RGtkCall("S_gtk_file_filter_add_mime_type", object, mime.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileFilterAddPattern <- function(object, pattern) { checkPtrType(object, "GtkFileFilter") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_file_filter_add_pattern", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileFilterAddPixbufFormats <- function(object) { checkPtrType(object, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_filter_add_pixbuf_formats", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileFilterAddCustom <- function(object, needed, func, data = NULL) { checkPtrType(object, "GtkFileFilter") func <- as.function(func) w <- .RGtkCall("S_gtk_file_filter_add_custom", object, needed, func, data, PACKAGE = "RGtk2") return(w) } gtkFileFilterGetNeeded <- function(object) { checkPtrType(object, "GtkFileFilter") w <- .RGtkCall("S_gtk_file_filter_get_needed", object, PACKAGE = "RGtk2") return(w) } gtkFileFilterFilter <- function(object, filter.info) { checkPtrType(object, "GtkFileFilter") filter.info <- as.GtkFileFilterInfo(filter.info) w <- .RGtkCall("S_gtk_file_filter_filter", object, filter.info, PACKAGE = "RGtk2") return(w) } gtkFileSelectionGetType <- function() { w <- .RGtkCall("S_gtk_file_selection_get_type", PACKAGE = "RGtk2") return(w) } gtkFileSelectionNew <- function(title = NULL, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") w <- .RGtkCall("S_gtk_file_selection_new", title, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFileSelectionSetFilename <- function(object, filename) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") filename <- as.character(filename) w <- .RGtkCall("S_gtk_file_selection_set_filename", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileSelectionGetFilename <- function(object) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") w <- .RGtkCall("S_gtk_file_selection_get_filename", object, PACKAGE = "RGtk2") return(w) } gtkFileSelectionComplete <- function(object, pattern) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_file_selection_complete", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileSelectionShowFileopButtons <- function(object) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") w <- .RGtkCall("S_gtk_file_selection_show_fileop_buttons", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileSelectionHideFileopButtons <- function(object) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") w <- .RGtkCall("S_gtk_file_selection_hide_fileop_buttons", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileSelectionGetSelections <- function(object) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") w <- .RGtkCall("S_gtk_file_selection_get_selections", object, PACKAGE = "RGtk2") return(w) } gtkFileSelectionSetSelectMultiple <- function(object, select.multiple) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") select.multiple <- as.logical(select.multiple) w <- .RGtkCall("S_gtk_file_selection_set_select_multiple", object, select.multiple, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileSelectionGetSelectMultiple <- function(object) { if(getOption("depwarn")) .Deprecated("GtkFileChooser", "RGtk2") checkPtrType(object, "GtkFileSelection") w <- .RGtkCall("S_gtk_file_selection_get_select_multiple", object, PACKAGE = "RGtk2") return(w) } gtkFixedGetType <- function() { w <- .RGtkCall("S_gtk_fixed_get_type", PACKAGE = "RGtk2") return(w) } gtkFixedNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_fixed_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFixedPut <- function(object, widget, x, y) { checkPtrType(object, "GtkFixed") checkPtrType(widget, "GtkWidget") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_fixed_put", object, widget, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkFixedMove <- function(object, widget, x, y) { checkPtrType(object, "GtkFixed") checkPtrType(widget, "GtkWidget") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_fixed_move", object, widget, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkFixedSetHasWindow <- function(object, has.window) { checkPtrType(object, "GtkFixed") has.window <- as.logical(has.window) w <- .RGtkCall("S_gtk_fixed_set_has_window", object, has.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkFixedGetHasWindow <- function(object) { checkPtrType(object, "GtkFixed") w <- .RGtkCall("S_gtk_fixed_get_has_window", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonGetType <- function() { w <- .RGtkCall("S_gtk_font_button_get_type", PACKAGE = "RGtk2") return(w) } gtkFontButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_font_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFontButtonNewWithFont <- function(fontname) { fontname <- as.character(fontname) w <- .RGtkCall("S_gtk_font_button_new_with_font", fontname, PACKAGE = "RGtk2") return(w) } gtkFontButtonGetTitle <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_title", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetTitle <- function(object, title) { checkPtrType(object, "GtkFontButton") title <- as.character(title) w <- .RGtkCall("S_gtk_font_button_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontButtonGetUseFont <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_use_font", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetUseFont <- function(object, use.font) { checkPtrType(object, "GtkFontButton") use.font <- as.logical(use.font) w <- .RGtkCall("S_gtk_font_button_set_use_font", object, use.font, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontButtonGetUseSize <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_use_size", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetUseSize <- function(object, use.size) { checkPtrType(object, "GtkFontButton") use.size <- as.logical(use.size) w <- .RGtkCall("S_gtk_font_button_set_use_size", object, use.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontButtonGetFontName <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_font_name", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetFontName <- function(object, fontname) { checkPtrType(object, "GtkFontButton") fontname <- as.character(fontname) w <- .RGtkCall("S_gtk_font_button_set_font_name", object, fontname, PACKAGE = "RGtk2") return(w) } gtkFontButtonGetShowStyle <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_show_style", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetShowStyle <- function(object, show.style) { checkPtrType(object, "GtkFontButton") show.style <- as.logical(show.style) w <- .RGtkCall("S_gtk_font_button_set_show_style", object, show.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontButtonGetShowSize <- function(object) { checkPtrType(object, "GtkFontButton") w <- .RGtkCall("S_gtk_font_button_get_show_size", object, PACKAGE = "RGtk2") return(w) } gtkFontButtonSetShowSize <- function(object, show.size) { checkPtrType(object, "GtkFontButton") show.size <- as.logical(show.size) w <- .RGtkCall("S_gtk_font_button_set_show_size", object, show.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontSelectionGetType <- function() { w <- .RGtkCall("S_gtk_font_selection_get_type", PACKAGE = "RGtk2") return(w) } gtkFontSelectionNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_font_selection_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFontSelectionGetFontName <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_font_name", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetFont <- function(object) { if(getOption("depwarn")) .Deprecated("gtkFontSelectionGetFontName", "RGtk2") checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_font", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionSetFontName <- function(object, fontname) { checkPtrType(object, "GtkFontSelection") fontname <- as.character(fontname) w <- .RGtkCall("S_gtk_font_selection_set_font_name", object, fontname, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetPreviewText <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_preview_text", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionSetPreviewText <- function(object, text) { checkPtrType(object, "GtkFontSelection") text <- as.character(text) w <- .RGtkCall("S_gtk_font_selection_set_preview_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkFontSelectionDialogGetType <- function() { w <- .RGtkCall("S_gtk_font_selection_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogNew <- function(title = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_font_selection_dialog_new", title, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFontSelectionDialogGetFontName <- function(object) { checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_font_name", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogGetFont <- function(object) { if(getOption("depwarn")) .Deprecated("gtkFontSelectionGetFontName", "RGtk2") checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_font", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogSetFontName <- function(object, fontname) { checkPtrType(object, "GtkFontSelectionDialog") fontname <- as.character(fontname) w <- .RGtkCall("S_gtk_font_selection_dialog_set_font_name", object, fontname, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogGetPreviewText <- function(object) { checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_preview_text", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogSetPreviewText <- function(object, text) { checkPtrType(object, "GtkFontSelectionDialog") text <- as.character(text) w <- .RGtkCall("S_gtk_font_selection_dialog_set_preview_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameGetType <- function() { w <- .RGtkCall("S_gtk_frame_get_type", PACKAGE = "RGtk2") return(w) } gtkFrameNew <- function(label = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_frame_new", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkFrameSetLabel <- function(object, label = NULL) { checkPtrType(object, "GtkFrame") if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_frame_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameGetLabel <- function(object) { checkPtrType(object, "GtkFrame") w <- .RGtkCall("S_gtk_frame_get_label", object, PACKAGE = "RGtk2") return(w) } gtkFrameSetLabelWidget <- function(object, label.widget) { checkPtrType(object, "GtkFrame") checkPtrType(label.widget, "GtkWidget") w <- .RGtkCall("S_gtk_frame_set_label_widget", object, label.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameGetLabelWidget <- function(object) { checkPtrType(object, "GtkFrame") w <- .RGtkCall("S_gtk_frame_get_label_widget", object, PACKAGE = "RGtk2") return(w) } gtkFrameSetLabelAlign <- function(object, xalign, yalign) { checkPtrType(object, "GtkFrame") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_frame_set_label_align", object, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameGetLabelAlign <- function(object) { checkPtrType(object, "GtkFrame") w <- .RGtkCall("S_gtk_frame_get_label_align", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameSetShadowType <- function(object, type) { checkPtrType(object, "GtkFrame") w <- .RGtkCall("S_gtk_frame_set_shadow_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkFrameGetShadowType <- function(object) { checkPtrType(object, "GtkFrame") w <- .RGtkCall("S_gtk_frame_get_shadow_type", object, PACKAGE = "RGtk2") return(w) } gtkGammaCurveGetType <- function() { w <- .RGtkCall("S_gtk_gamma_curve_get_type", PACKAGE = "RGtk2") return(w) } gtkGammaCurveNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_gamma_curve_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkGcGet <- function(depth, colormap, values) { depth <- as.integer(depth) checkPtrType(colormap, "GdkColormap") values <- as.GdkGCValues(values) w <- .RGtkCall("S_gtk_gc_get", depth, colormap, values, PACKAGE = "RGtk2") return(w) } gtkGcRelease <- function(gc) { checkPtrType(gc, "GdkGC") w <- .RGtkCall("S_gtk_gc_release", gc, PACKAGE = "RGtk2") return(w) } gtkHandleBoxGetType <- function() { w <- .RGtkCall("S_gtk_handle_box_get_type", PACKAGE = "RGtk2") return(w) } gtkHandleBoxNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_handle_box_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHandleBoxSetShadowType <- function(object, type) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_set_shadow_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkHandleBoxGetShadowType <- function(object) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_get_shadow_type", object, PACKAGE = "RGtk2") return(w) } gtkHandleBoxSetHandlePosition <- function(object, position) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_set_handle_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkHandleBoxGetHandlePosition <- function(object) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_get_handle_position", object, PACKAGE = "RGtk2") return(w) } gtkHandleBoxSetSnapEdge <- function(object, edge) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_set_snap_edge", object, edge, PACKAGE = "RGtk2") return(invisible(w)) } gtkHandleBoxGetSnapEdge <- function(object) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_get_snap_edge", object, PACKAGE = "RGtk2") return(w) } gtkHButtonBoxGetType <- function() { w <- .RGtkCall("S_gtk_hbutton_box_get_type", PACKAGE = "RGtk2") return(w) } gtkHButtonBoxNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_hbutton_box_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHButtonBoxGetSpacingDefault <- function() { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_hbutton_box_get_spacing_default", PACKAGE = "RGtk2") return(w) } gtkHButtonBoxGetLayoutDefault <- function() { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_hbutton_box_get_layout_default", PACKAGE = "RGtk2") return(w) } gtkHButtonBoxSetSpacingDefault <- function(spacing) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_hbutton_box_set_spacing_default", spacing, PACKAGE = "RGtk2") return(w) } gtkHButtonBoxSetLayoutDefault <- function(layout) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_hbutton_box_set_layout_default", layout, PACKAGE = "RGtk2") return(w) } gtkHBoxGetType <- function() { w <- .RGtkCall("S_gtk_hbox_get_type", PACKAGE = "RGtk2") return(w) } gtkHBoxNew <- function(homogeneous = NULL, spacing = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_hbox_new", homogeneous, spacing, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHPanedGetType <- function() { w <- .RGtkCall("S_gtk_hpaned_get_type", PACKAGE = "RGtk2") return(w) } gtkHPanedNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_hpaned_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHRulerGetType <- function() { w <- .RGtkCall("S_gtk_hruler_get_type", PACKAGE = "RGtk2") return(w) } gtkHRulerNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_hruler_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHScaleGetType <- function() { w <- .RGtkCall("S_gtk_hscale_get_type", PACKAGE = "RGtk2") return(w) } gtkHScaleNew <- function(adjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_hscale_new", adjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHScaleNewWithRange <- function(min, max, step, show = TRUE) { min <- as.numeric(min) max <- as.numeric(max) step <- as.numeric(step) w <- .RGtkCall("S_gtk_hscale_new_with_range", min, max, step, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHScrollbarGetType <- function() { w <- .RGtkCall("S_gtk_hscrollbar_get_type", PACKAGE = "RGtk2") return(w) } gtkHScrollbarNew <- function(adjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_hscrollbar_new", adjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkHSeparatorGetType <- function() { w <- .RGtkCall("S_gtk_hseparator_get_type", PACKAGE = "RGtk2") return(w) } gtkHSeparatorNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_hseparator_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkIconFactoryGetType <- function() { w <- .RGtkCall("S_gtk_icon_factory_get_type", PACKAGE = "RGtk2") return(w) } gtkIconFactoryNew <- function() { w <- .RGtkCall("S_gtk_icon_factory_new", PACKAGE = "RGtk2") return(w) } gtkIconFactoryAdd <- function(object, stock.id, icon.set) { checkPtrType(object, "GtkIconFactory") stock.id <- as.character(stock.id) checkPtrType(icon.set, "GtkIconSet") w <- .RGtkCall("S_gtk_icon_factory_add", object, stock.id, icon.set, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconFactoryLookup <- function(object, stock.id) { checkPtrType(object, "GtkIconFactory") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_icon_factory_lookup", object, stock.id, PACKAGE = "RGtk2") return(w) } gtkIconFactoryAddDefault <- function(object) { checkPtrType(object, "GtkIconFactory") w <- .RGtkCall("S_gtk_icon_factory_add_default", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconFactoryRemoveDefault <- function(object) { checkPtrType(object, "GtkIconFactory") w <- .RGtkCall("S_gtk_icon_factory_remove_default", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconFactoryLookupDefault <- function(stock.id) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_icon_factory_lookup_default", stock.id, PACKAGE = "RGtk2") return(w) } gtkIconSizeLookup <- function(size) { w <- .RGtkCall("S_gtk_icon_size_lookup", size, PACKAGE = "RGtk2") return(w) } gtkIconSizeLookupForSettings <- function(settings, size) { checkPtrType(settings, "GtkSettings") w <- .RGtkCall("S_gtk_icon_size_lookup_for_settings", settings, size, PACKAGE = "RGtk2") return(w) } gtkIconSizeRegister <- function(name, width, height) { name <- as.character(name) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_icon_size_register", name, width, height, PACKAGE = "RGtk2") return(w) } gtkIconSizeRegisterAlias <- function(alias, target) { alias <- as.character(alias) w <- .RGtkCall("S_gtk_icon_size_register_alias", alias, target, PACKAGE = "RGtk2") return(w) } gtkIconSizeFromName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_gtk_icon_size_from_name", name, PACKAGE = "RGtk2") return(w) } gtkIconSizeGetName <- function(size) { w <- .RGtkCall("S_gtk_icon_size_get_name", size, PACKAGE = "RGtk2") return(w) } gtkIconSetGetType <- function() { w <- .RGtkCall("S_gtk_icon_set_get_type", PACKAGE = "RGtk2") return(w) } gtkIconSetNew <- function() { w <- .RGtkCall("S_gtk_icon_set_new", PACKAGE = "RGtk2") return(w) } gtkIconSetNewFromPixbuf <- function(pixbuf) { checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_icon_set_new_from_pixbuf", pixbuf, PACKAGE = "RGtk2") return(w) } gtkIconSetCopy <- function(object) { checkPtrType(object, "GtkIconSet") w <- .RGtkCall("S_gtk_icon_set_copy", object, PACKAGE = "RGtk2") return(w) } gtkIconSetRenderIcon <- function(object, style, direction, state, size, widget = NULL, detail = NULL) { checkPtrType(object, "GtkIconSet") checkPtrType(style, "GtkStyle") if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) w <- .RGtkCall("S_gtk_icon_set_render_icon", object, style, direction, state, size, widget, detail, PACKAGE = "RGtk2") return(w) } gtkIconSetAddSource <- function(object, source) { checkPtrType(object, "GtkIconSet") checkPtrType(source, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_set_add_source", object, source, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSetGetSizes <- function(object) { checkPtrType(object, "GtkIconSet") w <- .RGtkCall("S_gtk_icon_set_get_sizes", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceGetType <- function() { w <- .RGtkCall("S_gtk_icon_source_get_type", PACKAGE = "RGtk2") return(w) } gtkIconSourceNew <- function() { w <- .RGtkCall("S_gtk_icon_source_new", PACKAGE = "RGtk2") return(w) } gtkIconSourceCopy <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_copy", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceSetFilename <- function(object, filename) { checkPtrType(object, "GtkIconSource") filename <- as.character(filename) w <- .RGtkCall("S_gtk_icon_source_set_filename", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetIconName <- function(object, icon.name) { checkPtrType(object, "GtkIconSource") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_icon_source_set_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetPixbuf <- function(object, pixbuf) { checkPtrType(object, "GtkIconSource") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_icon_source_set_pixbuf", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceGetFilename <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_filename", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetIconName <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetPixbuf <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceSetDirectionWildcarded <- function(object, setting) { checkPtrType(object, "GtkIconSource") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_icon_source_set_direction_wildcarded", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetStateWildcarded <- function(object, setting) { checkPtrType(object, "GtkIconSource") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_icon_source_set_state_wildcarded", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetSizeWildcarded <- function(object, setting) { checkPtrType(object, "GtkIconSource") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_icon_source_set_size_wildcarded", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceGetSizeWildcarded <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_size_wildcarded", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetStateWildcarded <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_state_wildcarded", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetDirectionWildcarded <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_direction_wildcarded", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceSetDirection <- function(object, direction) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_set_direction", object, direction, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetState <- function(object, state) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_set_state", object, state, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceSetSize <- function(object, size) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_set_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconSourceGetDirection <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_direction", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetState <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_state", object, PACKAGE = "RGtk2") return(w) } gtkIconSourceGetSize <- function(object) { checkPtrType(object, "GtkIconSource") w <- .RGtkCall("S_gtk_icon_source_get_size", object, PACKAGE = "RGtk2") return(w) } gtkIconThemeErrorQuark <- function() { w <- .RGtkCall("S_gtk_icon_theme_error_quark", PACKAGE = "RGtk2") return(w) } gtkIconThemeGetType <- function() { w <- .RGtkCall("S_gtk_icon_theme_get_type", PACKAGE = "RGtk2") return(w) } gtkIconThemeNew <- function() { w <- .RGtkCall("S_gtk_icon_theme_new", PACKAGE = "RGtk2") return(w) } gtkIconThemeGetDefault <- function() { w <- .RGtkCall("S_gtk_icon_theme_get_default", PACKAGE = "RGtk2") return(w) } gtkIconThemeGetForScreen <- function(screen) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_icon_theme_get_for_screen", screen, PACKAGE = "RGtk2") return(w) } gtkIconThemeSetScreen <- function(object, screen) { checkPtrType(object, "GtkIconTheme") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_icon_theme_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemeGetSearchPath <- function(object) { checkPtrType(object, "GtkIconTheme") w <- .RGtkCall("S_gtk_icon_theme_get_search_path", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemeAppendSearchPath <- function(object, path) { checkPtrType(object, "GtkIconTheme") path <- as.character(path) w <- .RGtkCall("S_gtk_icon_theme_append_search_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemePrependSearchPath <- function(object, path) { checkPtrType(object, "GtkIconTheme") path <- as.character(path) w <- .RGtkCall("S_gtk_icon_theme_prepend_search_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemeSetCustomTheme <- function(object, theme.name) { checkPtrType(object, "GtkIconTheme") theme.name <- as.character(theme.name) w <- .RGtkCall("S_gtk_icon_theme_set_custom_theme", object, theme.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconThemeHasIcon <- function(object, icon.name) { checkPtrType(object, "GtkIconTheme") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_icon_theme_has_icon", object, icon.name, PACKAGE = "RGtk2") return(w) } gtkIconThemeLookupIcon <- function(object, icon.name, size, flags) { checkPtrType(object, "GtkIconTheme") icon.name <- as.character(icon.name) size <- as.integer(size) w <- .RGtkCall("S_gtk_icon_theme_lookup_icon", object, icon.name, size, flags, PACKAGE = "RGtk2") return(w) } gtkIconThemeLoadIcon <- function(object, icon.name, size, flags, .errwarn = TRUE) { checkPtrType(object, "GtkIconTheme") icon.name <- as.character(icon.name) size <- as.integer(size) w <- .RGtkCall("S_gtk_icon_theme_load_icon", object, icon.name, size, flags, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkIconThemeListIcons <- function(object, context = NULL) { checkPtrType(object, "GtkIconTheme") if (!is.null( context )) context <- as.character(context) w <- .RGtkCall("S_gtk_icon_theme_list_icons", object, context, PACKAGE = "RGtk2") return(w) } gtkIconThemeGetExampleIconName <- function(object) { checkPtrType(object, "GtkIconTheme") w <- .RGtkCall("S_gtk_icon_theme_get_example_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkIconThemeRescanIfNeeded <- function(object) { checkPtrType(object, "GtkIconTheme") w <- .RGtkCall("S_gtk_icon_theme_rescan_if_needed", object, PACKAGE = "RGtk2") return(w) } gtkIconThemeAddBuiltinIcon <- function(icon.name, size, pixbuf) { icon.name <- as.character(icon.name) size <- as.integer(size) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_icon_theme_add_builtin_icon", icon.name, size, pixbuf, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetType <- function() { w <- .RGtkCall("S_gtk_icon_info_get_type", PACKAGE = "RGtk2") return(w) } gtkIconInfoCopy <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_copy", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetBaseSize <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_base_size", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetFilename <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_filename", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetBuiltinPixbuf <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_builtin_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoLoadIcon <- function(object, .errwarn = TRUE) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_load_icon", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkIconInfoSetRawCoordinates <- function(object, raw.coordinates) { checkPtrType(object, "GtkIconInfo") raw.coordinates <- as.logical(raw.coordinates) w <- .RGtkCall("S_gtk_icon_info_set_raw_coordinates", object, raw.coordinates, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconInfoGetEmbeddedRect <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_embedded_rect", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetAttachPoints <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_attach_points", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoGetDisplayName <- function(object) { checkPtrType(object, "GtkIconInfo") w <- .RGtkCall("S_gtk_icon_info_get_display_name", object, PACKAGE = "RGtk2") return(w) } gtkIconThemeGetIconSizes <- function(object, icon.name) { checkPtrType(object, "GtkIconTheme") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_icon_theme_get_icon_sizes", object, icon.name, PACKAGE = "RGtk2") return(w) } gtkIconViewGetType <- function() { w <- .RGtkCall("S_gtk_icon_view_get_type", PACKAGE = "RGtk2") return(w) } gtkIconViewNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_icon_view_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkIconViewNewWithModel <- function(model = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_icon_view_new_with_model", model, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkIconViewSetModel <- function(object, model = NULL) { checkPtrType(object, "GtkIconView") if (!is.null( model )) checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_icon_view_set_model", object, model, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetModel <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_model", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetTextColumn <- function(object, column) { checkPtrType(object, "GtkIconView") column <- as.integer(column) w <- .RGtkCall("S_gtk_icon_view_set_text_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetTextColumn <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_text_column", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetMarkupColumn <- function(object, column) { checkPtrType(object, "GtkIconView") column <- as.integer(column) w <- .RGtkCall("S_gtk_icon_view_set_markup_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetMarkupColumn <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_markup_column", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetPixbufColumn <- function(object, column) { checkPtrType(object, "GtkIconView") column <- as.integer(column) w <- .RGtkCall("S_gtk_icon_view_set_pixbuf_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetPixbufColumn <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_pixbuf_column", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetOrientation <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetColumns <- function(object, columns) { checkPtrType(object, "GtkIconView") columns <- as.integer(columns) w <- .RGtkCall("S_gtk_icon_view_set_columns", object, columns, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetColumns <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_columns", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetItemWidth <- function(object, item.width) { checkPtrType(object, "GtkIconView") item.width <- as.integer(item.width) w <- .RGtkCall("S_gtk_icon_view_set_item_width", object, item.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetItemWidth <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_item_width", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetSpacing <- function(object, spacing) { checkPtrType(object, "GtkIconView") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_icon_view_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetSpacing <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_spacing", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetRowSpacing <- function(object, row.spacing) { checkPtrType(object, "GtkIconView") row.spacing <- as.integer(row.spacing) w <- .RGtkCall("S_gtk_icon_view_set_row_spacing", object, row.spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetRowSpacing <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_row_spacing", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetColumnSpacing <- function(object, column.spacing) { checkPtrType(object, "GtkIconView") column.spacing <- as.integer(column.spacing) w <- .RGtkCall("S_gtk_icon_view_set_column_spacing", object, column.spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetColumnSpacing <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_column_spacing", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetMargin <- function(object, margin) { checkPtrType(object, "GtkIconView") margin <- as.integer(margin) w <- .RGtkCall("S_gtk_icon_view_set_margin", object, margin, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetMargin <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_margin", object, PACKAGE = "RGtk2") return(w) } gtkIconViewGetPathAtPos <- function(object, x, y) { checkPtrType(object, "GtkIconView") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_icon_view_get_path_at_pos", object, x, y, PACKAGE = "RGtk2") return(w) } gtkIconViewGetItemAtPos <- function(object, x, y) { checkPtrType(object, "GtkIconView") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_icon_view_get_item_at_pos", object, x, y, PACKAGE = "RGtk2") return(w) } gtkIconViewGetVisibleRange <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_visible_range", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSelectedForeach <- function(object, func, data = NULL) { checkPtrType(object, "GtkIconView") func <- as.function(func) w <- .RGtkCall("S_gtk_icon_view_selected_foreach", object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetSelectionMode <- function(object, mode) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_set_selection_mode", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetSelectionMode <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_selection_mode", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSelectPath <- function(object, path) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_select_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewUnselectPath <- function(object, path) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_unselect_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewPathIsSelected <- function(object, path) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_path_is_selected", object, path, PACKAGE = "RGtk2") return(w) } gtkIconViewGetSelectedItems <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_selected_items", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSelectAll <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewUnselectAll <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewItemActivated <- function(object, path) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_item_activated", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetCursor <- function(object, path, cell, start.editing) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") checkPtrType(cell, "GtkCellRenderer") start.editing <- as.logical(start.editing) w <- .RGtkCall("S_gtk_icon_view_set_cursor", object, path, cell, start.editing, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetCursor <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_cursor", object, PACKAGE = "RGtk2") return(w) } gtkIconViewScrollToPath <- function(object, path, use.align, row.align, col.align) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") use.align <- as.logical(use.align) row.align <- as.numeric(row.align) col.align <- as.numeric(col.align) w <- .RGtkCall("S_gtk_icon_view_scroll_to_path", object, path, use.align, row.align, col.align, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewEnableModelDragSource <- function(object, start.button.mask, targets, actions) { checkPtrType(object, "GtkIconView") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_icon_view_enable_model_drag_source", object, start.button.mask, targets, actions, PACKAGE = "RGtk2") return(w) } gtkIconViewEnableModelDragDest <- function(object, targets, actions) { checkPtrType(object, "GtkIconView") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_icon_view_enable_model_drag_dest", object, targets, actions, PACKAGE = "RGtk2") return(w) } gtkIconViewUnsetModelDragSource <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_unset_model_drag_source", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewUnsetModelDragDest <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_unset_model_drag_dest", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetReorderable <- function(object, reorderable) { checkPtrType(object, "GtkIconView") reorderable <- as.logical(reorderable) w <- .RGtkCall("S_gtk_icon_view_set_reorderable", object, reorderable, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetReorderable <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_reorderable", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetDragDestItem <- function(object, path, pos) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_set_drag_dest_item", object, path, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetDragDestItem <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_drag_dest_item", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetDestItemAtPos <- function(object, drag.x, drag.y) { checkPtrType(object, "GtkIconView") drag.x <- as.integer(drag.x) drag.y <- as.integer(drag.y) w <- .RGtkCall("S_gtk_icon_view_get_dest_item_at_pos", object, drag.x, drag.y, PACKAGE = "RGtk2") return(w) } gtkIconViewCreateDragIcon <- function(object, path) { checkPtrType(object, "GtkIconView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_create_drag_icon", object, path, PACKAGE = "RGtk2") return(w) } gtkImageGetType <- function() { w <- .RGtkCall("S_gtk_image_get_type", PACKAGE = "RGtk2") return(w) } gtkImageNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_image_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromPixmap <- function(pixmap = NULL, mask = NULL, show = TRUE) { if (!is.null( pixmap )) checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_image_new_from_pixmap", pixmap, mask, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromImage <- function(image = NULL, mask = NULL, show = TRUE) { if (!is.null( image )) checkPtrType(image, "GdkImage") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_image_new_from_image", image, mask, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromFile <- function(filename, show = TRUE) { filename <- as.character(filename) w <- .RGtkCall("S_gtk_image_new_from_file", filename, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromPixbuf <- function(pixbuf = NULL, show = TRUE) { if (!is.null( pixbuf )) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_image_new_from_pixbuf", pixbuf, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromStock <- function(stock.id, size, show = TRUE) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_image_new_from_stock", stock.id, size, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromIconSet <- function(icon.set, size, show = TRUE) { checkPtrType(icon.set, "GtkIconSet") w <- .RGtkCall("S_gtk_image_new_from_icon_set", icon.set, size, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageNewFromAnimation <- function(animation, show = TRUE) { checkPtrType(animation, "GdkPixbufAnimation") w <- .RGtkCall("S_gtk_image_new_from_animation", animation, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageClear <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromPixmap <- function(object, pixmap, mask = NULL) { checkPtrType(object, "GtkImage") checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_image_set_from_pixmap", object, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromImage <- function(object, gdk.image = NULL, mask = NULL) { checkPtrType(object, "GtkImage") if (!is.null( gdk.image )) checkPtrType(gdk.image, "GdkImage") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_image_set_from_image", object, gdk.image, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromFile <- function(object, filename = NULL) { checkPtrType(object, "GtkImage") if (!is.null( filename )) filename <- as.character(filename) w <- .RGtkCall("S_gtk_image_set_from_file", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromPixbuf <- function(object, pixbuf = NULL) { checkPtrType(object, "GtkImage") if (!is.null( pixbuf )) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_image_set_from_pixbuf", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromStock <- function(object, stock.id, size) { checkPtrType(object, "GtkImage") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_image_set_from_stock", object, stock.id, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromIconSet <- function(object, icon.set, size) { checkPtrType(object, "GtkImage") checkPtrType(icon.set, "GtkIconSet") w <- .RGtkCall("S_gtk_image_set_from_icon_set", object, icon.set, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetFromAnimation <- function(object, animation) { checkPtrType(object, "GtkImage") checkPtrType(animation, "GdkPixbufAnimation") w <- .RGtkCall("S_gtk_image_set_from_animation", object, animation, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetStorageType <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_storage_type", object, PACKAGE = "RGtk2") return(w) } gtkImageGetPixmap <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_pixmap", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetImage <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_image", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetPixbuf <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkImageGetStock <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_stock", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetIconSet <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_icon_set", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetAnimation <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_animation", object, PACKAGE = "RGtk2") return(w) } gtkImageSet <- function(object, val, mask) { checkPtrType(object, "GtkImage") checkPtrType(val, "GdkImage") checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_image_set", object, val, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGet <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageNewFromIconName <- function(icon.name, size) { icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_image_new_from_icon_name", icon.name, size, PACKAGE = "RGtk2") return(w) } gtkImageSetFromIconName <- function(object, icon.name, size) { checkPtrType(object, "GtkImage") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_image_set_from_icon_name", object, icon.name, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageSetPixelSize <- function(object, pixel.size) { checkPtrType(object, "GtkImage") pixel.size <- as.integer(pixel.size) w <- .RGtkCall("S_gtk_image_set_pixel_size", object, pixel.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetIconName <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_icon_name", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageGetPixelSize <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_pixel_size", object, PACKAGE = "RGtk2") return(w) } gtkImageMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_image_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkImageMenuItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_image_menu_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageMenuItemNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_image_menu_item_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageMenuItemNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_image_menu_item_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageMenuItemNewFromStock <- function(stock.id, accel.group, show = TRUE) { stock.id <- as.character(stock.id) checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_image_menu_item_new_from_stock", stock.id, accel.group, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageMenuItemSetImage <- function(object, image = NULL) { checkPtrType(object, "GtkImageMenuItem") if (!is.null( image )) checkPtrType(image, "GtkWidget") w <- .RGtkCall("S_gtk_image_menu_item_set_image", object, image, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageMenuItemGetImage <- function(object) { checkPtrType(object, "GtkImageMenuItem") w <- .RGtkCall("S_gtk_image_menu_item_get_image", object, PACKAGE = "RGtk2") return(w) } gtkIMContextGetType <- function() { w <- .RGtkCall("S_gtk_im_context_get_type", PACKAGE = "RGtk2") return(w) } gtkIMContextSetClientWindow <- function(object, window) { checkPtrType(object, "GtkIMContext") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_im_context_set_client_window", object, window, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextGetPreeditString <- function(object) { checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_im_context_get_preedit_string", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextFilterKeypress <- function(object, event) { checkPtrType(object, "GtkIMContext") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_im_context_filter_keypress", object, event, PACKAGE = "RGtk2") return(w) } gtkIMContextFocusIn <- function(object) { checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_im_context_focus_in", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextFocusOut <- function(object) { checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_im_context_focus_out", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextReset <- function(object) { checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_im_context_reset", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextSetCursorLocation <- function(object, area) { checkPtrType(object, "GtkIMContext") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_im_context_set_cursor_location", object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextSetUsePreedit <- function(object, use.preedit) { checkPtrType(object, "GtkIMContext") use.preedit <- as.logical(use.preedit) w <- .RGtkCall("S_gtk_im_context_set_use_preedit", object, use.preedit, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextSetSurrounding <- function(object, text, len, cursor.index) { checkPtrType(object, "GtkIMContext") text <- as.character(text) len <- as.integer(len) cursor.index <- as.integer(cursor.index) w <- .RGtkCall("S_gtk_im_context_set_surrounding", object, text, len, cursor.index, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMContextGetSurrounding <- function(object) { checkPtrType(object, "GtkIMContext") w <- .RGtkCall("S_gtk_im_context_get_surrounding", object, PACKAGE = "RGtk2") return(w) } gtkIMContextDeleteSurrounding <- function(object, offset, n.chars) { checkPtrType(object, "GtkIMContext") offset <- as.integer(offset) n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_im_context_delete_surrounding", object, offset, n.chars, PACKAGE = "RGtk2") return(w) } gtkIMContextSimpleGetType <- function() { w <- .RGtkCall("S_gtk_im_context_simple_get_type", PACKAGE = "RGtk2") return(w) } gtkIMContextSimpleNew <- function() { w <- .RGtkCall("S_gtk_im_context_simple_new", PACKAGE = "RGtk2") return(w) } gtkIMMulticontextGetType <- function() { w <- .RGtkCall("S_gtk_im_multicontext_get_type", PACKAGE = "RGtk2") return(w) } gtkIMMulticontextNew <- function() { w <- .RGtkCall("S_gtk_im_multicontext_new", PACKAGE = "RGtk2") return(w) } gtkIMMulticontextAppendMenuitems <- function(object, menushell) { checkPtrType(object, "GtkIMMulticontext") checkPtrType(menushell, "GtkMenuShell") w <- .RGtkCall("S_gtk_im_multicontext_append_menuitems", object, menushell, PACKAGE = "RGtk2") return(invisible(w)) } gtkInputDialogGetType <- function() { w <- .RGtkCall("S_gtk_input_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkInputDialogNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_input_dialog_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkInvisibleGetType <- function() { w <- .RGtkCall("S_gtk_invisible_get_type", PACKAGE = "RGtk2") return(w) } gtkInvisibleNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_invisible_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkInvisibleNewForScreen <- function(screen, show = TRUE) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_invisible_new_for_screen", screen, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkInvisibleSetScreen <- function(object, screen) { checkPtrType(object, "GtkInvisible") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_invisible_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkInvisibleGetScreen <- function(object) { checkPtrType(object, "GtkInvisible") w <- .RGtkCall("S_gtk_invisible_get_screen", object, PACKAGE = "RGtk2") return(w) } gtkItemGetType <- function() { w <- .RGtkCall("S_gtk_item_get_type", PACKAGE = "RGtk2") return(w) } gtkItemSelect <- function(object) { checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_select", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemDeselect <- function(object) { checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_deselect", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemToggle <- function(object) { checkPtrType(object, "GtkItem") w <- .RGtkCall("S_gtk_item_toggle", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryGetType <- function() { w <- .RGtkCall("S_gtk_item_factory_get_type", PACKAGE = "RGtk2") return(w) } gtkItemFactoryNew <- function(container.type, path, accel.group = NULL) { if(getOption("depwarn")) .Deprecated("GtkUIManager", "RGtk2") container.type <- as.GType(container.type) path <- as.character(path) if (!is.null( accel.group )) checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_item_factory_new", container.type, path, accel.group, PACKAGE = "RGtk2") return(w) } gtkItemFactoryConstruct <- function(object, container.type, path, accel.group) { checkPtrType(object, "GtkItemFactory") container.type <- as.GType(container.type) path <- as.character(path) checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_item_factory_construct", object, container.type, path, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryAddForeign <- function(accel.widget, full.path, accel.group, keyval, modifiers) { checkPtrType(accel.widget, "GtkWidget") full.path <- as.character(full.path) checkPtrType(accel.group, "GtkAccelGroup") keyval <- as.numeric(keyval) w <- .RGtkCall("S_gtk_item_factory_add_foreign", accel.widget, full.path, accel.group, keyval, modifiers, PACKAGE = "RGtk2") return(w) } gtkItemFactoryFromWidget <- function(widget) { checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_item_factory_from_widget", widget, PACKAGE = "RGtk2") return(w) } gtkItemFactoryPathFromWidget <- function(widget) { checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_item_factory_path_from_widget", widget, PACKAGE = "RGtk2") return(w) } gtkItemFactoryGetItem <- function(object, path) { checkPtrType(object, "GtkItemFactory") path <- as.character(path) w <- .RGtkCall("S_gtk_item_factory_get_item", object, path, PACKAGE = "RGtk2") return(w) } gtkItemFactoryGetWidget <- function(object, path) { checkPtrType(object, "GtkItemFactory") path <- as.character(path) w <- .RGtkCall("S_gtk_item_factory_get_widget", object, path, PACKAGE = "RGtk2") return(w) } gtkItemFactoryGetWidgetByAction <- function(object, action) { checkPtrType(object, "GtkItemFactory") action <- as.numeric(action) w <- .RGtkCall("S_gtk_item_factory_get_widget_by_action", object, action, PACKAGE = "RGtk2") return(w) } gtkItemFactoryGetItemByAction <- function(object, action) { checkPtrType(object, "GtkItemFactory") action <- as.numeric(action) w <- .RGtkCall("S_gtk_item_factory_get_item_by_action", object, action, PACKAGE = "RGtk2") return(w) } gtkItemFactoryCreateItem <- function(object, entry, callback.data = NULL, callback.type) { checkPtrType(object, "GtkItemFactory") entry <- as.GtkItemFactoryEntry(entry) callback.type <- as.numeric(callback.type) w <- .RGtkCall("S_gtk_item_factory_create_item", object, entry, callback.data, callback.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryCreateItems <- function(object, entries, callback.data = NULL) { checkPtrType(object, "GtkItemFactory") entries <- lapply(entries, function(x) { x <- as.GtkItemFactoryEntry(x); x }) w <- .RGtkCall("S_gtk_item_factory_create_items", object, entries, callback.data, PACKAGE = "RGtk2") return(w) } gtkItemFactoryDeleteItem <- function(object, path) { checkPtrType(object, "GtkItemFactory") path <- as.character(path) w <- .RGtkCall("S_gtk_item_factory_delete_item", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryDeleteEntry <- function(object, entry) { checkPtrType(object, "GtkItemFactory") entry <- as.GtkItemFactoryEntry(entry) w <- .RGtkCall("S_gtk_item_factory_delete_entry", object, entry, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryDeleteEntries <- function(object, entries) { checkPtrType(object, "GtkItemFactory") entries <- lapply(entries, function(x) { x <- as.GtkItemFactoryEntry(x); x }) w <- .RGtkCall("S_gtk_item_factory_delete_entries", object, entries, PACKAGE = "RGtk2") return(w) } gtkItemFactoryPopup <- function(object, x, y, mouse.button, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkItemFactory") x <- as.numeric(x) y <- as.numeric(y) mouse.button <- as.numeric(mouse.button) time <- as.numeric(time) w <- .RGtkCall("S_gtk_item_factory_popup", object, x, y, mouse.button, time, PACKAGE = "RGtk2") return(invisible(w)) } gtkItemFactoryPopupWithData <- function(object, popup.data, x, y, mouse.button, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkItemFactory") x <- as.numeric(x) y <- as.numeric(y) mouse.button <- as.numeric(mouse.button) time <- as.numeric(time) w <- .RGtkCall("S_gtk_item_factory_popup_with_data", object, popup.data, x, y, mouse.button, time, PACKAGE = "RGtk2") return(w) } gtkItemFactoryPopupData <- function(object) { checkPtrType(object, "GtkItemFactory") w <- .RGtkCall("S_gtk_item_factory_popup_data", object, PACKAGE = "RGtk2") return(w) } gtkItemFactoryPopupDataFromWidget <- function(widget) { checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_item_factory_popup_data_from_widget", widget, PACKAGE = "RGtk2") return(w) } gtkItemFactorySetTranslateFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkItemFactory") func <- as.function(func) w <- .RGtkCall("S_gtk_item_factory_set_translate_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkItemFactoryFromPath <- function(path) { path <- as.character(path) w <- .RGtkCall("S_gtk_item_factory_from_path", path, PACKAGE = "RGtk2") return(w) } gtkItemFactoriesPathDelete <- function(ifactory.path, path) { ifactory.path <- as.character(ifactory.path) path <- as.character(path) w <- .RGtkCall("S_gtk_item_factories_path_delete", ifactory.path, path, PACKAGE = "RGtk2") return(w) } gtkItemFactoryCreateItemsAc <- function(object, entries, callback.data, callback.type) { checkPtrType(object, "GtkItemFactory") entries <- lapply(entries, function(x) { x <- as.GtkItemFactoryEntry(x); x }) callback.type <- as.numeric(callback.type) w <- .RGtkCall("S_gtk_item_factory_create_items_ac", object, entries, callback.data, callback.type, PACKAGE = "RGtk2") return(w) } gtkLabelGetType <- function() { w <- .RGtkCall("S_gtk_label_get_type", PACKAGE = "RGtk2") return(w) } gtkLabelNew <- function(str = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_label_new", str, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkLabelNewWithMnemonic <- function(str = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_label_new_with_mnemonic", str, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkLabelSetText <- function(object, str) { checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set_text", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetText <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_text", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetAttributes <- function(object, attrs) { checkPtrType(object, "GtkLabel") checkPtrType(attrs, "PangoAttrList") w <- .RGtkCall("S_gtk_label_set_attributes", object, attrs, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetAttributes <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_attributes", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetLabel <- function(object, str) { checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set_label", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetLabel <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_label", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetMarkup <- function(object, str) { checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set_markup", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelSetUseMarkup <- function(object, setting) { checkPtrType(object, "GtkLabel") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_label_set_use_markup", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetUseMarkup <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_use_markup", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetUseUnderline <- function(object, setting) { checkPtrType(object, "GtkLabel") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_label_set_use_underline", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetUseUnderline <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_use_underline", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetMarkupWithMnemonic <- function(object, str) { checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set_markup_with_mnemonic", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetMnemonicKeyval <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_mnemonic_keyval", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetMnemonicWidget <- function(object, widget) { checkPtrType(object, "GtkLabel") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_label_set_mnemonic_widget", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetMnemonicWidget <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_mnemonic_widget", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetTextWithMnemonic <- function(object, str) { checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set_text_with_mnemonic", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelSetJustify <- function(object, jtype) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_set_justify", object, jtype, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetJustify <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_justify", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetPattern <- function(object, pattern) { checkPtrType(object, "GtkLabel") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_label_set_pattern", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelSetLineWrap <- function(object, wrap) { checkPtrType(object, "GtkLabel") wrap <- as.logical(wrap) w <- .RGtkCall("S_gtk_label_set_line_wrap", object, wrap, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetLineWrap <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_line_wrap", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetSelectable <- function(object, setting) { checkPtrType(object, "GtkLabel") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_label_set_selectable", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetSelectable <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_selectable", object, PACKAGE = "RGtk2") return(w) } gtkLabelSelectRegion <- function(object, start.offset, end.offset) { checkPtrType(object, "GtkLabel") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_gtk_label_select_region", object, start.offset, end.offset, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetSelectionBounds <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_selection_bounds", object, PACKAGE = "RGtk2") return(w) } gtkLabelGetLayout <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_layout", object, PACKAGE = "RGtk2") return(w) } gtkLabelGetLayoutOffsets <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_layout_offsets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelSet <- function(object, str) { if(getOption("depwarn")) .Deprecated("gtkLabelSetText", "RGtk2") checkPtrType(object, "GtkLabel") str <- as.character(str) w <- .RGtkCall("S_gtk_label_set", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGet <- function(object) { if(getOption("depwarn")) .Deprecated("gtkLabelGetText", "RGtk2") checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get", object, PACKAGE = "RGtk2") return(w) } gtkLabelParseUline <- function(object, string) { checkPtrType(object, "GtkLabel") string <- as.character(string) w <- .RGtkCall("S_gtk_label_parse_uline", object, string, PACKAGE = "RGtk2") return(w) } gtkLabelSetEllipsize <- function(object, mode) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_set_ellipsize", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetEllipsize <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_ellipsize", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetAngle <- function(object, angle) { checkPtrType(object, "GtkLabel") angle <- as.integer(angle) w <- .RGtkCall("S_gtk_label_set_angle", object, angle, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetAngle <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_angle", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetWidthChars <- function(object, n.chars) { checkPtrType(object, "GtkLabel") n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_label_set_width_chars", object, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetWidthChars <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_width_chars", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetMaxWidthChars <- function(object, n.chars) { checkPtrType(object, "GtkLabel") n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_label_set_max_width_chars", object, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetMaxWidthChars <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_max_width_chars", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetSingleLineMode <- function(object, single.line.mode) { checkPtrType(object, "GtkLabel") single.line.mode <- as.logical(single.line.mode) w <- .RGtkCall("S_gtk_label_set_single_line_mode", object, single.line.mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetSingleLineMode <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_single_line_mode", object, PACKAGE = "RGtk2") return(w) } gtkLayoutGetType <- function() { w <- .RGtkCall("S_gtk_layout_get_type", PACKAGE = "RGtk2") return(w) } gtkLayoutNew <- function(hadjustment = NULL, vadjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_layout_new", hadjustment, vadjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkLayoutPut <- function(object, child.widget, x, y) { checkPtrType(object, "GtkLayout") checkPtrType(child.widget, "GtkWidget") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_layout_put", object, child.widget, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutMove <- function(object, child.widget, x, y) { checkPtrType(object, "GtkLayout") checkPtrType(child.widget, "GtkWidget") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_layout_move", object, child.widget, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutSetSize <- function(object, width, height) { checkPtrType(object, "GtkLayout") width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_gtk_layout_set_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutGetSize <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutGetHadjustment <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkLayoutGetVadjustment <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkLayoutSetHadjustment <- function(object, adjustment = NULL) { checkPtrType(object, "GtkLayout") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_layout_set_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutSetVadjustment <- function(object, adjustment = NULL) { checkPtrType(object, "GtkLayout") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_layout_set_vadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutFreeze <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_freeze", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutThaw <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_thaw", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListGetType <- function() { if(getOption("depwarn")) .Deprecated("GtkListStore/GtkTreeView", "RGtk2") w <- .RGtkCall("S_gtk_list_get_type", PACKAGE = "RGtk2") return(w) } gtkListNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkListStore/GtkTreeView", "RGtk2") w <- .RGtkCall("S_gtk_list_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkListInsertItems <- function(object, items, position) { checkPtrType(object, "GtkList") items <- as.GList(items) position <- as.integer(position) w <- .RGtkCall("S_gtk_list_insert_items", object, items, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListAppendItems <- function(object, items) { checkPtrType(object, "GtkList") items <- as.GList(items) w <- .RGtkCall("S_gtk_list_append_items", object, items, PACKAGE = "RGtk2") return(invisible(w)) } gtkListPrependItems <- function(object, items) { checkPtrType(object, "GtkList") items <- as.GList(items) w <- .RGtkCall("S_gtk_list_prepend_items", object, items, PACKAGE = "RGtk2") return(invisible(w)) } gtkListRemoveItems <- function(object, items) { checkPtrType(object, "GtkList") items <- as.GList(items) w <- .RGtkCall("S_gtk_list_remove_items", object, items, PACKAGE = "RGtk2") return(invisible(w)) } gtkListClearItems <- function(object, start, end) { checkPtrType(object, "GtkList") start <- as.integer(start) end <- as.integer(end) w <- .RGtkCall("S_gtk_list_clear_items", object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkListSelectItem <- function(object, item) { checkPtrType(object, "GtkList") item <- as.integer(item) w <- .RGtkCall("S_gtk_list_select_item", object, item, PACKAGE = "RGtk2") return(invisible(w)) } gtkListUnselectItem <- function(object, item) { checkPtrType(object, "GtkList") item <- as.integer(item) w <- .RGtkCall("S_gtk_list_unselect_item", object, item, PACKAGE = "RGtk2") return(invisible(w)) } gtkListSelectChild <- function(object, child) { checkPtrType(object, "GtkList") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_list_select_child", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkListUnselectChild <- function(object, child) { checkPtrType(object, "GtkList") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_list_unselect_child", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkListChildPosition <- function(object, child) { checkPtrType(object, "GtkList") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_list_child_position", object, child, PACKAGE = "RGtk2") return(w) } gtkListSetSelectionMode <- function(object, mode) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_set_selection_mode", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkListExtendSelection <- function(object, scroll.type, position, auto.start.selection) { checkPtrType(object, "GtkList") position <- as.numeric(position) auto.start.selection <- as.logical(auto.start.selection) w <- .RGtkCall("S_gtk_list_extend_selection", object, scroll.type, position, auto.start.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStartSelection <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_start_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListEndSelection <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_end_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListSelectAll <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListUnselectAll <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListScrollHorizontal <- function(object, scroll.type, position) { checkPtrType(object, "GtkList") position <- as.numeric(position) w <- .RGtkCall("S_gtk_list_scroll_horizontal", object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListScrollVertical <- function(object, scroll.type, position) { checkPtrType(object, "GtkList") position <- as.numeric(position) w <- .RGtkCall("S_gtk_list_scroll_vertical", object, scroll.type, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListToggleAddMode <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_toggle_add_mode", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListToggleFocusRow <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_toggle_focus_row", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListToggleRow <- function(object, item) { checkPtrType(object, "GtkList") checkPtrType(item, "GtkWidget") w <- .RGtkCall("S_gtk_list_toggle_row", object, item, PACKAGE = "RGtk2") return(invisible(w)) } gtkListUndoSelection <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_undo_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListEndDragSelection <- function(object) { checkPtrType(object, "GtkList") w <- .RGtkCall("S_gtk_list_end_drag_selection", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemGetType <- function() { w <- .RGtkCall("S_gtk_list_item_get_type", PACKAGE = "RGtk2") return(w) } gtkListItemNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkTreeView", "RGtk2") w <- .RGtkCall("S_gtk_list_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkListItemNewWithLabel <- function(label, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkTreeView", "RGtk2") label <- as.character(label) w <- .RGtkCall("S_gtk_list_item_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkListItemSelect <- function(object) { checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_select", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListItemDeselect <- function(object) { checkPtrType(object, "GtkListItem") w <- .RGtkCall("S_gtk_list_item_deselect", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreGetType <- function() { w <- .RGtkCall("S_gtk_list_store_get_type", PACKAGE = "RGtk2") return(w) } gtkListStoreNewv <- function(value) { value <- as.list(as.GType(value)) w <- .RGtkCall("S_gtk_list_store_newv", value, PACKAGE = "RGtk2") return(w) } gtkListStoreSetColumnTypes <- function(object, types) { checkPtrType(object, "GtkListStore") types <- as.list(as.GType(types)) w <- .RGtkCall("S_gtk_list_store_set_column_types", object, types, PACKAGE = "RGtk2") return(w) } gtkListStoreSetValue <- function(object, iter, column, value) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") column <- as.integer(column) w <- .RGtkCall("S_gtk_list_store_set_value", object, iter, column, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreRemove <- function(object, iter) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_remove", object, iter, PACKAGE = "RGtk2") return(w) } gtkListStoreInsert <- function(object, position) { checkPtrType(object, "GtkListStore") position <- as.integer(position) w <- .RGtkCall("S_gtk_list_store_insert", object, position, PACKAGE = "RGtk2") return(w) } gtkListStoreInsertBefore <- function(object, sibling) { checkPtrType(object, "GtkListStore") checkPtrType(sibling, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_insert_before", object, sibling, PACKAGE = "RGtk2") return(w) } gtkListStoreInsertAfter <- function(object, sibling) { checkPtrType(object, "GtkListStore") checkPtrType(sibling, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_insert_after", object, sibling, PACKAGE = "RGtk2") return(w) } gtkListStorePrepend <- function(object, iter) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_prepend", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreAppend <- function(object) { checkPtrType(object, "GtkListStore") w <- .RGtkCall("S_gtk_list_store_append", object, PACKAGE = "RGtk2") return(w) } gtkListStoreClear <- function(object) { checkPtrType(object, "GtkListStore") w <- .RGtkCall("S_gtk_list_store_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreIterIsValid <- function(object, iter) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_iter_is_valid", object, iter, PACKAGE = "RGtk2") return(w) } gtkListStoreReorder <- function(object, new.order) { checkPtrType(object, "GtkListStore") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_list_store_reorder", object, new.order, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreSwap <- function(object, a, b) { checkPtrType(object, "GtkListStore") checkPtrType(a, "GtkTreeIter") checkPtrType(b, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_swap", object, a, b, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreMoveAfter <- function(object, iter, position = NULL) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") if (!is.null( position )) checkPtrType(position, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_move_after", object, iter, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkListStoreMoveBefore <- function(object, iter, position = NULL) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") if (!is.null( position )) checkPtrType(position, "GtkTreeIter") w <- .RGtkCall("S_gtk_list_store_move_before", object, iter, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkCheckVersion <- function(required.major, required.minor, required.micro) { required.major <- as.numeric(required.major) required.minor <- as.numeric(required.minor) required.micro <- as.numeric(required.micro) w <- .RGtkCall("S_gtk_check_version", required.major, required.minor, required.micro, PACKAGE = "RGtk2") return(w) } gtkExit <- function(error.code) { error.code <- as.integer(error.code) w <- .RGtkCall("S_gtk_exit", error.code, PACKAGE = "RGtk2") return(w) } gtkGetDefaultLanguage <- function() { w <- .RGtkCall("S_gtk_get_default_language", PACKAGE = "RGtk2") return(w) } gtkEventsPending <- function() { w <- .RGtkCall("S_gtk_events_pending", PACKAGE = "RGtk2") return(w) } gtkMainDoEvent <- function(event) { checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_main_do_event", event, PACKAGE = "RGtk2") return(w) } gtkMain <- function() { w <- .RGtkCall("S_gtk_main", PACKAGE = "RGtk2") return(w) } gtkMainLevel <- function() { w <- .RGtkCall("S_gtk_main_level", PACKAGE = "RGtk2") return(w) } gtkMainQuit <- function() { w <- .RGtkCall("S_gtk_main_quit", PACKAGE = "RGtk2") return(w) } gtkMainIteration <- function() { w <- .RGtkCall("S_gtk_main_iteration", PACKAGE = "RGtk2") return(w) } gtkMainIterationDo <- function(blocking = TRUE) { blocking <- as.logical(blocking) w <- .RGtkCall("S_gtk_main_iteration_do", blocking, PACKAGE = "RGtk2") return(w) } gtkTrue <- function() { w <- .RGtkCall("S_gtk_true", PACKAGE = "RGtk2") return(w) } gtkFalse <- function() { w <- .RGtkCall("S_gtk_false", PACKAGE = "RGtk2") return(w) } gtkGrabAdd <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_grab_add", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkGrabGetCurrent <- function() { w <- .RGtkCall("S_gtk_grab_get_current", PACKAGE = "RGtk2") return(w) } gtkGrabRemove <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_grab_remove", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkInitAdd <- function(fun, data = NULL) { fun <- as.function(fun) w <- .RGtkCall("S_gtk_init_add", fun, data, PACKAGE = "RGtk2") return(w) } gtkQuitAddDestroy <- function(main.level, object) { main.level <- as.numeric(main.level) checkPtrType(object, "GtkObject") w <- .RGtkCall("S_gtk_quit_add_destroy", main.level, object, PACKAGE = "RGtk2") return(w) } gtkQuitAdd <- function(main.level, fun, data = NULL) { main.level <- as.numeric(main.level) fun <- as.function(fun) w <- .RGtkCall("S_gtk_quit_add", main.level, fun, data, PACKAGE = "RGtk2") return(w) } gtkQuitAddFull <- function(main.level, fun, data = NULL) { main.level <- as.numeric(main.level) fun <- as.function(fun) w <- .RGtkCall("S_gtk_quit_add_full", main.level, fun, data, PACKAGE = "RGtk2") return(w) } gtkQuitRemove <- function(quit.handler.id) { quit.handler.id <- as.numeric(quit.handler.id) w <- .RGtkCall("S_gtk_quit_remove", quit.handler.id, PACKAGE = "RGtk2") return(w) } gtkQuitRemoveByData <- function(data) { w <- .RGtkCall("S_gtk_quit_remove_by_data", data, PACKAGE = "RGtk2") return(w) } gtkTimeoutAdd <- function(interval, fun, data = NULL) { interval <- as.numeric(interval) fun <- as.function(fun) w <- .RGtkCall("S_gtk_timeout_add", interval, fun, data, PACKAGE = "RGtk2") return(w) } gtkTimeoutAddFull <- function(interval, fun, data = NULL) { interval <- as.numeric(interval) fun <- as.function(fun) w <- .RGtkCall("S_gtk_timeout_add_full", interval, fun, data, PACKAGE = "RGtk2") return(w) } gtkTimeoutRemove <- function(timeout.handler.id) { timeout.handler.id <- as.numeric(timeout.handler.id) w <- .RGtkCall("S_gtk_timeout_remove", timeout.handler.id, PACKAGE = "RGtk2") return(w) } gtkIdleAdd <- function(fun, data = NULL) { fun <- as.function(fun) w <- .RGtkCall("S_gtk_idle_add", fun, data, PACKAGE = "RGtk2") return(w) } gtkIdleAddPriority <- function(priority, fun, data = NULL) { priority <- as.integer(priority) fun <- as.function(fun) w <- .RGtkCall("S_gtk_idle_add_priority", priority, fun, data, PACKAGE = "RGtk2") return(w) } gtkIdleAddFull <- function(priority, fun, data = NULL) { priority <- as.integer(priority) fun <- as.function(fun) w <- .RGtkCall("S_gtk_idle_add_full", priority, fun, data, PACKAGE = "RGtk2") return(w) } gtkIdleRemove <- function(idle.handler.id) { idle.handler.id <- as.numeric(idle.handler.id) w <- .RGtkCall("S_gtk_idle_remove", idle.handler.id, PACKAGE = "RGtk2") return(w) } gtkIdleRemoveByData <- function(data) { w <- .RGtkCall("S_gtk_idle_remove_by_data", data, PACKAGE = "RGtk2") return(w) } gtkInputRemove <- function(input.handler.id) { input.handler.id <- as.numeric(input.handler.id) w <- .RGtkCall("S_gtk_input_remove", input.handler.id, PACKAGE = "RGtk2") return(w) } gtkKeySnooperInstall <- function(snooper, func.data = NULL) { snooper <- as.function(snooper) w <- .RGtkCall("S_gtk_key_snooper_install", snooper, func.data, PACKAGE = "RGtk2") return(w) } gtkKeySnooperRemove <- function(snooper.handler.id) { snooper.handler.id <- as.numeric(snooper.handler.id) w <- .RGtkCall("S_gtk_key_snooper_remove", snooper.handler.id, PACKAGE = "RGtk2") return(w) } gtkGetCurrentEvent <- function() { w <- .RGtkCall("S_gtk_get_current_event", PACKAGE = "RGtk2") return(w) } gtkGetCurrentEventTime <- function() { w <- .RGtkCall("S_gtk_get_current_event_time", PACKAGE = "RGtk2") return(w) } gtkGetCurrentEventState <- function() { w <- .RGtkCall("S_gtk_get_current_event_state", PACKAGE = "RGtk2") return(w) } gtkGetEventWidget <- function(event) { checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_get_event_widget", event, PACKAGE = "RGtk2") return(w) } gtkPropagateEvent <- function(object, event) { checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_propagate_event", object, event, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetType <- function() { w <- .RGtkCall("S_gtk_menu_get_type", PACKAGE = "RGtk2") return(w) } gtkMenuNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_menu_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuPopup <- function(object, parent.menu.shell = NULL, parent.menu.item = NULL, func = NULL, data = NULL, button, activate.time) { checkPtrType(object, "GtkMenu") if (!is.null( parent.menu.shell )) checkPtrType(parent.menu.shell, "GtkWidget") if (!is.null( parent.menu.item )) checkPtrType(parent.menu.item, "GtkWidget") if (!is.null( func )) func <- as.function(func) button <- as.numeric(button) activate.time <- as.numeric(activate.time) w <- .RGtkCall("S_gtk_menu_popup", object, parent.menu.shell, parent.menu.item, func, data, button, activate.time, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuReposition <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_reposition", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuPopdown <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_popdown", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetActive <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_active", object, PACKAGE = "RGtk2") return(w) } gtkMenuSetActive <- function(object, index) { checkPtrType(object, "GtkMenu") index <- as.numeric(index) w <- .RGtkCall("S_gtk_menu_set_active", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuSetAccelGroup <- function(object, accel.group) { checkPtrType(object, "GtkMenu") checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_menu_set_accel_group", object, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetAccelGroup <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_accel_group", object, PACKAGE = "RGtk2") return(w) } gtkMenuSetAccelPath <- function(object, accel.path) { checkPtrType(object, "GtkMenu") accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_menu_set_accel_path", object, accel.path, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuDetach <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_detach", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetAttachWidget <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_attach_widget", object, PACKAGE = "RGtk2") return(w) } gtkMenuSetTearoffState <- function(object, torn.off) { checkPtrType(object, "GtkMenu") torn.off <- as.logical(torn.off) w <- .RGtkCall("S_gtk_menu_set_tearoff_state", object, torn.off, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetTearoffState <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_tearoff_state", object, PACKAGE = "RGtk2") return(w) } gtkMenuSetTitle <- function(object, title) { checkPtrType(object, "GtkMenu") title <- as.character(title) w <- .RGtkCall("S_gtk_menu_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetTitle <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_title", object, PACKAGE = "RGtk2") return(w) } gtkMenuReorderChild <- function(object, child, position) { checkPtrType(object, "GtkMenu") checkPtrType(child, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_menu_reorder_child", object, child, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuSetScreen <- function(object, screen = NULL) { checkPtrType(object, "GtkMenu") if (!is.null( screen )) checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_menu_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuAttach <- function(object, child, left.attach, right.attach, top.attach, bottom.attach) { checkPtrType(object, "GtkMenu") checkPtrType(child, "GtkWidget") left.attach <- as.numeric(left.attach) right.attach <- as.numeric(right.attach) top.attach <- as.numeric(top.attach) bottom.attach <- as.numeric(bottom.attach) w <- .RGtkCall("S_gtk_menu_attach", object, child, left.attach, right.attach, top.attach, bottom.attach, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuSetMonitor <- function(object, monitor.num) { checkPtrType(object, "GtkMenu") monitor.num <- as.integer(monitor.num) w <- .RGtkCall("S_gtk_menu_set_monitor", object, monitor.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetForAttachWidget <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_menu_get_for_attach_widget", object, PACKAGE = "RGtk2") return(w) } gtkMenuBarGetType <- function() { w <- .RGtkCall("S_gtk_menu_bar_get_type", PACKAGE = "RGtk2") return(w) } gtkMenuBarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_menu_bar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuBarGetPackDirection <- function(object) { checkPtrType(object, "GtkMenuBar") w <- .RGtkCall("S_gtk_menu_bar_get_pack_direction", object, PACKAGE = "RGtk2") return(w) } gtkMenuBarSetPackDirection <- function(object, pack.dir) { checkPtrType(object, "GtkMenuBar") w <- .RGtkCall("S_gtk_menu_bar_set_pack_direction", object, pack.dir, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuBarGetChildPackDirection <- function(object) { checkPtrType(object, "GtkMenuBar") w <- .RGtkCall("S_gtk_menu_bar_get_child_pack_direction", object, PACKAGE = "RGtk2") return(w) } gtkMenuBarSetChildPackDirection <- function(object, child.pack.dir) { checkPtrType(object, "GtkMenuBar") w <- .RGtkCall("S_gtk_menu_bar_set_child_pack_direction", object, child.pack.dir, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkMenuItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_menu_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuItemNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_menu_item_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuItemNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_menu_item_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuItemSetSubmenu <- function(object, submenu) { checkPtrType(object, "GtkMenuItem") checkPtrType(submenu, "GtkWidget") w <- .RGtkCall("S_gtk_menu_item_set_submenu", object, submenu, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemGetSubmenu <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_get_submenu", object, PACKAGE = "RGtk2") return(w) } gtkMenuItemRemoveSubmenu <- function(object) { if(getOption("depwarn")) .Deprecated("setSubmenu", "RGtk2") checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_remove_submenu", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemSelect <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_select", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemDeselect <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_deselect", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemActivate <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemToggleSizeRequest <- function(object, requisition) { checkPtrType(object, "GtkMenuItem") requisition <- as.list(as.integer(requisition)) w <- .RGtkCall("S_gtk_menu_item_toggle_size_request", object, requisition, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemToggleSizeAllocate <- function(object, allocation) { checkPtrType(object, "GtkMenuItem") allocation <- as.integer(allocation) w <- .RGtkCall("S_gtk_menu_item_toggle_size_allocate", object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemSetRightJustified <- function(object, right.justified) { checkPtrType(object, "GtkMenuItem") right.justified <- as.logical(right.justified) w <- .RGtkCall("S_gtk_menu_item_set_right_justified", object, right.justified, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemGetRightJustified <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_get_right_justified", object, PACKAGE = "RGtk2") return(w) } gtkMenuItemSetAccelPath <- function(object, accel.path) { checkPtrType(object, "GtkMenuItem") accel.path <- as.character(accel.path) w <- .RGtkCall("S_gtk_menu_item_set_accel_path", object, accel.path, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemRightJustify <- function(object) { if(getOption("depwarn")) .Deprecated("gtkMenuItemSetRightJustified", "RGtk2") checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_right_justify", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellGetType <- function() { w <- .RGtkCall("S_gtk_menu_shell_get_type", PACKAGE = "RGtk2") return(w) } gtkMenuShellAppend <- function(object, child) { checkPtrType(object, "GtkMenuShell") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_menu_shell_append", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellPrepend <- function(object, child) { checkPtrType(object, "GtkMenuShell") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_menu_shell_prepend", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellInsert <- function(object, child, position) { checkPtrType(object, "GtkMenuShell") checkPtrType(child, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_menu_shell_insert", object, child, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellDeactivate <- function(object) { checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_deactivate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellSelectItem <- function(object, menu.item) { checkPtrType(object, "GtkMenuShell") checkPtrType(menu.item, "GtkWidget") w <- .RGtkCall("S_gtk_menu_shell_select_item", object, menu.item, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellDeselect <- function(object) { checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_deselect", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellActivateItem <- function(object, menu.item, force.deactivate) { checkPtrType(object, "GtkMenuShell") checkPtrType(menu.item, "GtkWidget") force.deactivate <- as.logical(force.deactivate) w <- .RGtkCall("S_gtk_menu_shell_activate_item", object, menu.item, force.deactivate, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellSelectFirst <- function(object, search.sensitive) { checkPtrType(object, "GtkMenuShell") search.sensitive <- as.logical(search.sensitive) w <- .RGtkCall("S_gtk_menu_shell_select_first", object, search.sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellCancel <- function(object) { checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_cancel", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuShellGetTakeFocus <- function(object) { checkPtrType(object, "GtkMenuShell") w <- .RGtkCall("S_gtk_menu_shell_get_take_focus", object, PACKAGE = "RGtk2") return(w) } gtkMenuShellSetTakeFocus <- function(object, take.focus) { checkPtrType(object, "GtkMenuShell") take.focus <- as.logical(take.focus) w <- .RGtkCall("S_gtk_menu_shell_set_take_focus", object, take.focus, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuToolButtonGetType <- function() { w <- .RGtkCall("S_gtk_menu_tool_button_get_type", PACKAGE = "RGtk2") return(w) } gtkMenuToolButtonNew <- function(icon.widget, label, show = TRUE) { checkPtrType(icon.widget, "GtkWidget") label <- as.character(label) w <- .RGtkCall("S_gtk_menu_tool_button_new", icon.widget, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkMenuToolButtonNewFromStock <- function(stock.id) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_menu_tool_button_new_from_stock", stock.id, PACKAGE = "RGtk2") return(w) } gtkMenuToolButtonSetMenu <- function(object, menu) { checkPtrType(object, "GtkMenuToolButton") checkPtrType(menu, "GtkWidget") w <- .RGtkCall("S_gtk_menu_tool_button_set_menu", object, menu, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuToolButtonGetMenu <- function(object) { checkPtrType(object, "GtkMenuToolButton") w <- .RGtkCall("S_gtk_menu_tool_button_get_menu", object, PACKAGE = "RGtk2") return(w) } gtkMenuToolButtonSetArrowTooltip <- function(object, tooltips, tip.text = NULL, tip.private = NULL) { if(getOption("depwarn")) .Deprecated("setArrowTooltipText", "RGtk2") checkPtrType(object, "GtkMenuToolButton") checkPtrType(tooltips, "GtkTooltips") if (!is.null( tip.text )) tip.text <- as.character(tip.text) if (!is.null( tip.private )) tip.private <- as.character(tip.private) w <- .RGtkCall("S_gtk_menu_tool_button_set_arrow_tooltip", object, tooltips, tip.text, tip.private, PACKAGE = "RGtk2") return(invisible(w)) } gtkMessageDialogGetType <- function() { w <- .RGtkCall("S_gtk_message_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkMessageDialogSetMarkup <- function(object, str) { checkPtrType(object, "GtkMessageDialog") str <- as.character(str) w <- .RGtkCall("S_gtk_message_dialog_set_markup", object, str, PACKAGE = "RGtk2") return(invisible(w)) } gtkMiscGetType <- function() { w <- .RGtkCall("S_gtk_misc_get_type", PACKAGE = "RGtk2") return(w) } gtkMiscSetAlignment <- function(object, xalign, yalign) { checkPtrType(object, "GtkMisc") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_misc_set_alignment", object, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkMiscGetAlignment <- function(object) { checkPtrType(object, "GtkMisc") w <- .RGtkCall("S_gtk_misc_get_alignment", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkMiscSetPadding <- function(object, xpad, ypad) { checkPtrType(object, "GtkMisc") xpad <- as.integer(xpad) ypad <- as.integer(ypad) w <- .RGtkCall("S_gtk_misc_set_padding", object, xpad, ypad, PACKAGE = "RGtk2") return(invisible(w)) } gtkMiscGetPadding <- function(object) { checkPtrType(object, "GtkMisc") w <- .RGtkCall("S_gtk_misc_get_padding", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetType <- function() { w <- .RGtkCall("S_gtk_notebook_get_type", PACKAGE = "RGtk2") return(w) } gtkNotebookNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_notebook_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkNotebookAppendPage <- function(object, child, tab.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_append_page", object, child, tab.label, PACKAGE = "RGtk2") return(w) } gtkNotebookAppendPageMenu <- function(object, child, tab.label = NULL, menu.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") if (!is.null( menu.label )) checkPtrType(menu.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_append_page_menu", object, child, tab.label, menu.label, PACKAGE = "RGtk2") return(w) } gtkNotebookPrependPage <- function(object, child, tab.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_prepend_page", object, child, tab.label, PACKAGE = "RGtk2") return(w) } gtkNotebookPrependPageMenu <- function(object, child, tab.label = NULL, menu.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") if (!is.null( menu.label )) checkPtrType(menu.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_prepend_page_menu", object, child, tab.label, menu.label, PACKAGE = "RGtk2") return(w) } gtkNotebookInsertPage <- function(object, child, tab.label = NULL, position = -1) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_notebook_insert_page", object, child, tab.label, position, PACKAGE = "RGtk2") return(w) } gtkNotebookInsertPageMenu <- function(object, child, tab.label = NULL, menu.label = NULL, position = -1) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") if (!is.null( menu.label )) checkPtrType(menu.label, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_notebook_insert_page_menu", object, child, tab.label, menu.label, position, PACKAGE = "RGtk2") return(w) } gtkNotebookRemovePage <- function(object, page.num) { checkPtrType(object, "GtkNotebook") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_notebook_remove_page", object, page.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetCurrentPage <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_current_page", object, PACKAGE = "RGtk2") return(w) } gtkNotebookGetNthPage <- function(object, page.num) { checkPtrType(object, "GtkNotebook") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_notebook_get_nth_page", object, page.num, PACKAGE = "RGtk2") return(w) } gtkNotebookGetNPages <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_n_pages", object, PACKAGE = "RGtk2") return(w) } gtkNotebookPageNum <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_page_num", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookSetCurrentPage <- function(object, page.num) { checkPtrType(object, "GtkNotebook") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_notebook_set_current_page", object, page.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookNextPage <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_next_page", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookPrevPage <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_prev_page", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetShowBorder <- function(object, show.border) { checkPtrType(object, "GtkNotebook") show.border <- as.logical(show.border) w <- .RGtkCall("S_gtk_notebook_set_show_border", object, show.border, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetShowBorder <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_show_border", object, PACKAGE = "RGtk2") return(w) } gtkNotebookSetShowTabs <- function(object, show.tabs) { checkPtrType(object, "GtkNotebook") show.tabs <- as.logical(show.tabs) w <- .RGtkCall("S_gtk_notebook_set_show_tabs", object, show.tabs, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetShowTabs <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_show_tabs", object, PACKAGE = "RGtk2") return(w) } gtkNotebookSetTabPos <- function(object, pos) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_set_tab_pos", object, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetTabPos <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_tab_pos", object, PACKAGE = "RGtk2") return(w) } gtkNotebookSetHomogeneousTabs <- function(object, homogeneous) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkNotebook") homogeneous <- as.logical(homogeneous) w <- .RGtkCall("S_gtk_notebook_set_homogeneous_tabs", object, homogeneous, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetTabBorder <- function(object, border.width) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkNotebook") border.width <- as.numeric(border.width) w <- .RGtkCall("S_gtk_notebook_set_tab_border", object, border.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetTabHborder <- function(object, tab.hborder) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkNotebook") tab.hborder <- as.numeric(tab.hborder) w <- .RGtkCall("S_gtk_notebook_set_tab_hborder", object, tab.hborder, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetTabVborder <- function(object, tab.vborder) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkNotebook") tab.vborder <- as.numeric(tab.vborder) w <- .RGtkCall("S_gtk_notebook_set_tab_vborder", object, tab.vborder, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetScrollable <- function(object, scrollable) { checkPtrType(object, "GtkNotebook") scrollable <- as.logical(scrollable) w <- .RGtkCall("S_gtk_notebook_set_scrollable", object, scrollable, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetScrollable <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_scrollable", object, PACKAGE = "RGtk2") return(w) } gtkNotebookPopupEnable <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_popup_enable", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookPopupDisable <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_popup_disable", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetTabLabel <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_tab_label", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookSetTabLabel <- function(object, child, tab.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( tab.label )) checkPtrType(tab.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_set_tab_label", object, child, tab.label, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetTabLabelText <- function(object, child, tab.text) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") tab.text <- as.character(tab.text) w <- .RGtkCall("S_gtk_notebook_set_tab_label_text", object, child, tab.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetTabLabelText <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_tab_label_text", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookGetMenuLabel <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_menu_label", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookSetMenuLabel <- function(object, child, menu.label = NULL) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") if (!is.null( menu.label )) checkPtrType(menu.label, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_set_menu_label", object, child, menu.label, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetMenuLabelText <- function(object, child, menu.text) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") menu.text <- as.character(menu.text) w <- .RGtkCall("S_gtk_notebook_set_menu_label_text", object, child, menu.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetMenuLabelText <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_menu_label_text", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookQueryTabLabelPacking <- function(object, child) { if(getOption("depwarn")) .Deprecated("'tab-expand' and 'tab-fill' child properties", "RGtk2") checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_query_tab_label_packing", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetTabLabelPacking <- function(object, child, expand, fill, pack.type) { if(getOption("depwarn")) .Deprecated("'tab-expand' and 'tab-fill' child properties", "RGtk2") checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") expand <- as.logical(expand) fill <- as.logical(fill) w <- .RGtkCall("S_gtk_notebook_set_tab_label_packing", object, child, expand, fill, pack.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookReorderChild <- function(object, child, position) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_notebook_reorder_child", object, child, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookCurrentPage <- function(object) { if(getOption("depwarn")) .Deprecated("gtkNotebookGetCurrentPage", "RGtk2") checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_current_page", object, PACKAGE = "RGtk2") return(w) } gtkNotebookSetPage <- function(object, page.num) { if(getOption("depwarn")) .Deprecated("gtkNotebookSetCurrentPage", "RGtk2") checkPtrType(object, "GtkNotebook") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_notebook_set_page", object, page.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkObjectGetType <- function() { w <- .RGtkCall("S_gtk_object_get_type", PACKAGE = "RGtk2") return(w) } gtkOldEditableGetType <- function() { w <- .RGtkCall("S_gtk_old_editable_get_type", PACKAGE = "RGtk2") return(w) } gtkOldEditableClaimSelection <- function(object, claim, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkOldEditable") claim <- as.logical(claim) time <- as.numeric(time) w <- .RGtkCall("S_gtk_old_editable_claim_selection", object, claim, time, PACKAGE = "RGtk2") return(invisible(w)) } gtkOldEditableChanged <- function(object) { checkPtrType(object, "GtkOldEditable") w <- .RGtkCall("S_gtk_old_editable_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOptionMenuGetType <- function() { w <- .RGtkCall("S_gtk_option_menu_get_type", PACKAGE = "RGtk2") return(w) } gtkOptionMenuNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkComboBox", "RGtk2") w <- .RGtkCall("S_gtk_option_menu_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkOptionMenuGetMenu <- function(object) { checkPtrType(object, "GtkOptionMenu") w <- .RGtkCall("S_gtk_option_menu_get_menu", object, PACKAGE = "RGtk2") return(w) } gtkOptionMenuSetMenu <- function(object, menu) { checkPtrType(object, "GtkOptionMenu") checkPtrType(menu, "GtkWidget") w <- .RGtkCall("S_gtk_option_menu_set_menu", object, menu, PACKAGE = "RGtk2") return(invisible(w)) } gtkOptionMenuRemoveMenu <- function(object) { checkPtrType(object, "GtkOptionMenu") w <- .RGtkCall("S_gtk_option_menu_remove_menu", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkOptionMenuGetHistory <- function(object) { checkPtrType(object, "GtkOptionMenu") w <- .RGtkCall("S_gtk_option_menu_get_history", object, PACKAGE = "RGtk2") return(w) } gtkOptionMenuSetHistory <- function(object, index) { checkPtrType(object, "GtkOptionMenu") index <- as.numeric(index) w <- .RGtkCall("S_gtk_option_menu_set_history", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedGetType <- function() { w <- .RGtkCall("S_gtk_paned_get_type", PACKAGE = "RGtk2") return(w) } gtkPanedAdd1 <- function(object, child) { checkPtrType(object, "GtkPaned") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_paned_add1", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedAdd2 <- function(object, child) { checkPtrType(object, "GtkPaned") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_paned_add2", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedPack1 <- function(object, child, resize = FALSE, shrink = TRUE) { checkPtrType(object, "GtkPaned") checkPtrType(child, "GtkWidget") resize <- as.logical(resize) shrink <- as.logical(shrink) w <- .RGtkCall("S_gtk_paned_pack1", object, child, resize, shrink, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedPack2 <- function(object, child, resize = TRUE, shrink = TRUE) { checkPtrType(object, "GtkPaned") checkPtrType(child, "GtkWidget") resize <- as.logical(resize) shrink <- as.logical(shrink) w <- .RGtkCall("S_gtk_paned_pack2", object, child, resize, shrink, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedGetPosition <- function(object) { checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_get_position", object, PACKAGE = "RGtk2") return(w) } gtkPanedSetPosition <- function(object, position) { checkPtrType(object, "GtkPaned") position <- as.integer(position) w <- .RGtkCall("S_gtk_paned_set_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedGetChild1 <- function(object) { checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_get_child1", object, PACKAGE = "RGtk2") return(w) } gtkPanedGetChild2 <- function(object) { checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_get_child2", object, PACKAGE = "RGtk2") return(w) } gtkPixmapGetType <- function() { w <- .RGtkCall("S_gtk_pixmap_get_type", PACKAGE = "RGtk2") return(w) } gtkPixmapNew <- function(pixmap, mask = NULL, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkImage", "RGtk2") checkPtrType(pixmap, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_pixmap_new", pixmap, mask, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkPixmapSet <- function(object, val, mask = NULL) { checkPtrType(object, "GtkPixmap") checkPtrType(val, "GdkPixmap") if (!is.null( mask )) checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gtk_pixmap_set", object, val, mask, PACKAGE = "RGtk2") return(invisible(w)) } gtkPixmapGet <- function(object) { checkPtrType(object, "GtkPixmap") w <- .RGtkCall("S_gtk_pixmap_get", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPixmapSetBuildInsensitive <- function(object, build) { checkPtrType(object, "GtkPixmap") build <- as.logical(build) w <- .RGtkCall("S_gtk_pixmap_set_build_insensitive", object, build, PACKAGE = "RGtk2") return(invisible(w)) } gtkPlugGetType <- function() { w <- .RGtkCall("S_gtk_plug_get_type", PACKAGE = "RGtk2") return(w) } gtkPlugConstruct <- function(object, socket.id) { checkPtrType(object, "GtkPlug") socket.id <- as.GdkNativeWindow(socket.id) w <- .RGtkCall("S_gtk_plug_construct", object, socket.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkPlugNew <- function(socket.id, show = TRUE) { socket.id <- as.GdkNativeWindow(socket.id) w <- .RGtkCall("S_gtk_plug_new", socket.id, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkPlugConstructForDisplay <- function(object, display, socket.id) { checkPtrType(object, "GtkPlug") checkPtrType(display, "GdkDisplay") socket.id <- as.GdkNativeWindow(socket.id) w <- .RGtkCall("S_gtk_plug_construct_for_display", object, display, socket.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkPlugNewForDisplay <- function(display, socket.id) { checkPtrType(display, "GdkDisplay") socket.id <- as.GdkNativeWindow(socket.id) w <- .RGtkCall("S_gtk_plug_new_for_display", display, socket.id, PACKAGE = "RGtk2") return(w) } gtkPlugGetId <- function(object) { checkPtrType(object, "GtkPlug") w <- .RGtkCall("S_gtk_plug_get_id", object, PACKAGE = "RGtk2") return(w) } gtkPreviewGetType <- function() { w <- .RGtkCall("S_gtk_preview_get_type", PACKAGE = "RGtk2") return(w) } gtkPreviewUninit <- function() { w <- .RGtkCall("S_gtk_preview_uninit", PACKAGE = "RGtk2") return(w) } gtkPreviewNew <- function(type, show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkDrawingArea", "RGtk2") w <- .RGtkCall("S_gtk_preview_new", type, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkPreviewSize <- function(object, width, height) { checkPtrType(object, "GtkPreview") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_preview_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPreviewPut <- function(object, window, gc, srcx, srcy, destx, desty, width, height) { checkPtrType(object, "GtkPreview") checkPtrType(window, "GdkWindow") checkPtrType(gc, "GdkGC") srcx <- as.integer(srcx) srcy <- as.integer(srcy) destx <- as.integer(destx) desty <- as.integer(desty) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_preview_put", object, window, gc, srcx, srcy, destx, desty, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPreviewDrawRow <- function(object, data, y, w) { checkPtrType(object, "GtkPreview") data <- as.list(as.raw(data)) y <- as.integer(y) w <- as.integer(w) w <- .RGtkCall("S_gtk_preview_draw_row", object, data, y, w, PACKAGE = "RGtk2") return(w) } gtkPreviewSetExpand <- function(object, expand) { checkPtrType(object, "GtkPreview") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_preview_set_expand", object, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkPreviewSetGamma <- function(gamma) { gamma <- as.numeric(gamma) w <- .RGtkCall("S_gtk_preview_set_gamma", gamma, PACKAGE = "RGtk2") return(w) } gtkPreviewSetColorCube <- function(nred.shades, ngreen.shades, nblue.shades, ngray.shades) { nred.shades <- as.numeric(nred.shades) ngreen.shades <- as.numeric(ngreen.shades) nblue.shades <- as.numeric(nblue.shades) ngray.shades <- as.numeric(ngray.shades) w <- .RGtkCall("S_gtk_preview_set_color_cube", nred.shades, ngreen.shades, nblue.shades, ngray.shades, PACKAGE = "RGtk2") return(w) } gtkPreviewSetInstallCmap <- function(install.cmap) { install.cmap <- as.integer(install.cmap) w <- .RGtkCall("S_gtk_preview_set_install_cmap", install.cmap, PACKAGE = "RGtk2") return(w) } gtkPreviewSetReserved <- function(nreserved) { nreserved <- as.integer(nreserved) w <- .RGtkCall("S_gtk_preview_set_reserved", nreserved, PACKAGE = "RGtk2") return(w) } gtkPreviewSetDither <- function(object, dither) { checkPtrType(object, "GtkPreview") w <- .RGtkCall("S_gtk_preview_set_dither", object, dither, PACKAGE = "RGtk2") return(invisible(w)) } gtkPreviewGetVisual <- function() { w <- .RGtkCall("S_gtk_preview_get_visual", PACKAGE = "RGtk2") return(w) } gtkPreviewGetCmap <- function() { w <- .RGtkCall("S_gtk_preview_get_cmap", PACKAGE = "RGtk2") return(w) } gtkPreviewGetInfo <- function() { w <- .RGtkCall("S_gtk_preview_get_info", PACKAGE = "RGtk2") return(w) } gtkPreviewReset <- function() { w <- .RGtkCall("S_gtk_preview_reset", PACKAGE = "RGtk2") return(w) } gtkProgressGetType <- function() { w <- .RGtkCall("S_gtk_progress_get_type", PACKAGE = "RGtk2") return(w) } gtkProgressSetShowText <- function(object, show.text) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") show.text <- as.logical(show.text) w <- .RGtkCall("S_gtk_progress_set_show_text", object, show.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressSetTextAlignment <- function(object, x.align, y.align) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") x.align <- as.numeric(x.align) y.align <- as.numeric(y.align) w <- .RGtkCall("S_gtk_progress_set_text_alignment", object, x.align, y.align, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressSetFormatString <- function(object, format) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") format <- as.character(format) w <- .RGtkCall("S_gtk_progress_set_format_string", object, format, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressSetAdjustment <- function(object, adjustment) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_progress_set_adjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressConfigure <- function(object, value, min, max) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") value <- as.numeric(value) min <- as.numeric(min) max <- as.numeric(max) w <- .RGtkCall("S_gtk_progress_configure", object, value, min, max, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressSetPercentage <- function(object, percentage) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") percentage <- as.numeric(percentage) w <- .RGtkCall("S_gtk_progress_set_percentage", object, percentage, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressSetValue <- function(object, value) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") value <- as.numeric(value) w <- .RGtkCall("S_gtk_progress_set_value", object, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressGetValue <- function(object) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_get_value", object, PACKAGE = "RGtk2") return(w) } gtkProgressSetActivityMode <- function(object, activity.mode) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") activity.mode <- as.logical(activity.mode) w <- .RGtkCall("S_gtk_progress_set_activity_mode", object, activity.mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressGetCurrentText <- function(object) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_get_current_text", object, PACKAGE = "RGtk2") return(w) } gtkProgressGetTextFromValue <- function(object, value) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") value <- as.numeric(value) w <- .RGtkCall("S_gtk_progress_get_text_from_value", object, value, PACKAGE = "RGtk2") return(w) } gtkProgressGetCurrentPercentage <- function(object) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") w <- .RGtkCall("S_gtk_progress_get_current_percentage", object, PACKAGE = "RGtk2") return(w) } gtkProgressGetPercentageFromValue <- function(object, value) { if(getOption("depwarn")) .Deprecated("GtkProgressBar methods", "RGtk2") checkPtrType(object, "GtkProgress") value <- as.numeric(value) w <- .RGtkCall("S_gtk_progress_get_percentage_from_value", object, value, PACKAGE = "RGtk2") return(w) } gtkProgressBarGetType <- function() { w <- .RGtkCall("S_gtk_progress_bar_get_type", PACKAGE = "RGtk2") return(w) } gtkProgressBarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_progress_bar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkProgressBarPulse <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_pulse", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetText <- function(object, text) { checkPtrType(object, "GtkProgressBar") text <- as.character(text) w <- .RGtkCall("S_gtk_progress_bar_set_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetFraction <- function(object, fraction) { checkPtrType(object, "GtkProgressBar") fraction <- as.numeric(fraction) w <- .RGtkCall("S_gtk_progress_bar_set_fraction", object, fraction, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetPulseStep <- function(object, fraction) { checkPtrType(object, "GtkProgressBar") fraction <- as.numeric(fraction) w <- .RGtkCall("S_gtk_progress_bar_set_pulse_step", object, fraction, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarGetText <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_get_text", object, PACKAGE = "RGtk2") return(w) } gtkProgressBarGetFraction <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_get_fraction", object, PACKAGE = "RGtk2") return(w) } gtkProgressBarGetPulseStep <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_get_pulse_step", object, PACKAGE = "RGtk2") return(w) } gtkProgressBarGetOrientation <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkProgressBarNewWithAdjustment <- function(adjustment = NULL, show = TRUE) { if(getOption("depwarn")) .Deprecated("", "RGtk2") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_progress_bar_new_with_adjustment", adjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkProgressBarSetBarStyle <- function(object, style) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_set_bar_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetDiscreteBlocks <- function(object, blocks) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkProgressBar") blocks <- as.numeric(blocks) w <- .RGtkCall("S_gtk_progress_bar_set_discrete_blocks", object, blocks, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetActivityStep <- function(object, step) { if(getOption("depwarn")) .Deprecated("'pulse-step' property", "RGtk2") checkPtrType(object, "GtkProgressBar") step <- as.numeric(step) w <- .RGtkCall("S_gtk_progress_bar_set_activity_step", object, step, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetActivityBlocks <- function(object, blocks) { if(getOption("depwarn")) .Deprecated("'pulse-step' property", "RGtk2") checkPtrType(object, "GtkProgressBar") blocks <- as.numeric(blocks) w <- .RGtkCall("S_gtk_progress_bar_set_activity_blocks", object, blocks, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarUpdate <- function(object, percentage) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkProgressBar") percentage <- as.numeric(percentage) w <- .RGtkCall("S_gtk_progress_bar_update", object, percentage, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarSetEllipsize <- function(object, mode) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_set_ellipsize", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkProgressBarGetEllipsize <- function(object) { checkPtrType(object, "GtkProgressBar") w <- .RGtkCall("S_gtk_progress_bar_get_ellipsize", object, PACKAGE = "RGtk2") return(w) } gtkRadioActionGetType <- function() { w <- .RGtkCall("S_gtk_radio_action_get_type", PACKAGE = "RGtk2") return(w) } gtkRadioActionNew <- function(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL) { w <- .RGtkCall("S_gtk_radio_action_new", name, label, tooltip, stock.id, value, PACKAGE = "RGtk2") return(w) } gtkRadioActionSetGroup <- function(object, group) { checkPtrType(object, "GtkRadioAction") group <- as.GSList(group) w <- .RGtkCall("S_gtk_radio_action_set_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioActionGetGroup <- function(object) { checkPtrType(object, "GtkRadioAction") w <- .RGtkCall("S_gtk_radio_action_get_group", object, PACKAGE = "RGtk2") return(w) } gtkRadioActionGetCurrentValue <- function(object) { checkPtrType(object, "GtkRadioAction") w <- .RGtkCall("S_gtk_radio_action_get_current_value", object, PACKAGE = "RGtk2") return(w) } gtkRadioButtonGetType <- function() { w <- .RGtkCall("S_gtk_radio_button_get_type", PACKAGE = "RGtk2") return(w) } gtkRadioButtonNewFromWidget <- function(group = NULL, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioButton") w <- .RGtkCall("S_gtk_radio_button_new_from_widget", group, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioButtonNewWithLabelFromWidget <- function(group = NULL, label, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioButton") label <- as.character(label) w <- .RGtkCall("S_gtk_radio_button_new_with_label_from_widget", group, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioButtonNewWithMnemonic <- function(group, label, show = TRUE) { group <- as.GSList(group) label <- as.character(label) w <- .RGtkCall("S_gtk_radio_button_new_with_mnemonic", group, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioButtonNewWithMnemonicFromWidget <- function(group = NULL, label, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioButton") label <- as.character(label) w <- .RGtkCall("S_gtk_radio_button_new_with_mnemonic_from_widget", group, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioButtonGetGroup <- function(object) { checkPtrType(object, "GtkRadioButton") w <- .RGtkCall("S_gtk_radio_button_get_group", object, PACKAGE = "RGtk2") return(w) } gtkRadioButtonSetGroup <- function(object, group) { checkPtrType(object, "GtkRadioButton") group <- as.GSList(group) w <- .RGtkCall("S_gtk_radio_button_set_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioButtonGroup <- function(object) { if(getOption("depwarn")) .Deprecated("gtkRadioButtonGetGroup", "RGtk2") checkPtrType(object, "GtkRadioButton") w <- .RGtkCall("S_gtk_radio_button_group", object, PACKAGE = "RGtk2") return(w) } gtkRadioMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_radio_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkRadioMenuItemNewFromWidget <- function(group = NULL, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioMenuItem") w <- .RGtkCall("S_gtk_radio_menu_item_new_from_widget", group, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioMenuItemNewWithMnemonicFromWidget <- function(group = NULL, label, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioMenuItem") label <- as.character(label) w <- .RGtkCall("S_gtk_radio_menu_item_new_with_mnemonic_from_widget", group, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioMenuItemNewWithLabelFromWidget <- function(group = NULL, label, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioMenuItem") label <- as.character(label) w <- .RGtkCall("S_gtk_radio_menu_item_new_with_label_from_widget", group, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioMenuItemGetGroup <- function(object) { checkPtrType(object, "GtkRadioMenuItem") w <- .RGtkCall("S_gtk_radio_menu_item_get_group", object, PACKAGE = "RGtk2") return(w) } gtkRadioMenuItemSetGroup <- function(object, group) { checkPtrType(object, "GtkRadioMenuItem") group <- as.GSList(group) w <- .RGtkCall("S_gtk_radio_menu_item_set_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioMenuItemGroup <- function(object) { if(getOption("depwarn")) .Deprecated("gtkRadioMenuItemGetGroup", "RGtk2") checkPtrType(object, "GtkRadioMenuItem") w <- .RGtkCall("S_gtk_radio_menu_item_group", object, PACKAGE = "RGtk2") return(w) } gtkRadioToolButtonGetType <- function() { w <- .RGtkCall("S_gtk_radio_tool_button_get_type", PACKAGE = "RGtk2") return(w) } gtkRadioToolButtonNewFromWidget <- function(group = NULL, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioToolButton") w <- .RGtkCall("S_gtk_radio_tool_button_new_from_widget", group, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioToolButtonNewWithStockFromWidget <- function(group = NULL, stock.id, show = TRUE) { if (!is.null( group )) checkPtrType(group, "GtkRadioToolButton") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_radio_tool_button_new_with_stock_from_widget", group, stock.id, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRadioToolButtonSetGroup <- function(object, group) { checkPtrType(object, "GtkRadioToolButton") group <- as.GSList(group) w <- .RGtkCall("S_gtk_radio_tool_button_set_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioToolButtonGetGroup <- function(object) { checkPtrType(object, "GtkRadioToolButton") w <- .RGtkCall("S_gtk_radio_tool_button_get_group", object, PACKAGE = "RGtk2") return(w) } gtkRangeGetType <- function() { w <- .RGtkCall("S_gtk_range_get_type", PACKAGE = "RGtk2") return(w) } gtkRangeSetUpdatePolicy <- function(object, policy) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_set_update_policy", object, policy, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetUpdatePolicy <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_update_policy", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetAdjustment <- function(object, adjustment) { checkPtrType(object, "GtkRange") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_range_set_adjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetAdjustment <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_adjustment", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetInverted <- function(object, setting) { checkPtrType(object, "GtkRange") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_range_set_inverted", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetInverted <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_inverted", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetIncrements <- function(object, step, page) { checkPtrType(object, "GtkRange") step <- as.numeric(step) page <- as.numeric(page) w <- .RGtkCall("S_gtk_range_set_increments", object, step, page, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeSetRange <- function(object, min, max) { checkPtrType(object, "GtkRange") min <- as.numeric(min) max <- as.numeric(max) w <- .RGtkCall("S_gtk_range_set_range", object, min, max, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeSetValue <- function(object, value) { checkPtrType(object, "GtkRange") value <- as.numeric(value) w <- .RGtkCall("S_gtk_range_set_value", object, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetValue <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_value", object, PACKAGE = "RGtk2") return(w) } gtkRcAddDefaultFile <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_gtk_rc_add_default_file", filename, PACKAGE = "RGtk2") return(w) } gtkRcSetDefaultFiles <- function(filenames) { filenames <- as.list(as.character(filenames)) w <- .RGtkCall("S_gtk_rc_set_default_files", filenames, PACKAGE = "RGtk2") return(w) } gtkRcGetDefaultFiles <- function() { w <- .RGtkCall("S_gtk_rc_get_default_files", PACKAGE = "RGtk2") return(w) } gtkRcGetStyle <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_rc_get_style", object, PACKAGE = "RGtk2") return(w) } gtkRcGetStyleByPaths <- function(settings, widget.path, class.path, type) { checkPtrType(settings, "GtkSettings") widget.path <- as.character(widget.path) class.path <- as.character(class.path) type <- as.GType(type) w <- .RGtkCall("S_gtk_rc_get_style_by_paths", settings, widget.path, class.path, type, PACKAGE = "RGtk2") return(w) } gtkRcReparseAllForSettings <- function(settings, force.load) { checkPtrType(settings, "GtkSettings") force.load <- as.logical(force.load) w <- .RGtkCall("S_gtk_rc_reparse_all_for_settings", settings, force.load, PACKAGE = "RGtk2") return(w) } gtkRcResetStyles <- function(settings) { checkPtrType(settings, "GtkSettings") w <- .RGtkCall("S_gtk_rc_reset_styles", settings, PACKAGE = "RGtk2") return(w) } gtkRcFindPixmapInPath <- function(settings, scanner = NULL, pixmap.file) { checkPtrType(settings, "GtkSettings") if (!is.null( scanner )) checkPtrType(scanner, "GScanner") pixmap.file <- as.character(pixmap.file) w <- .RGtkCall("S_gtk_rc_find_pixmap_in_path", settings, scanner, pixmap.file, PACKAGE = "RGtk2") return(w) } gtkRcParse <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_gtk_rc_parse", filename, PACKAGE = "RGtk2") return(w) } gtkRcParseString <- function(rc.string) { rc.string <- as.character(rc.string) w <- .RGtkCall("S_gtk_rc_parse_string", rc.string, PACKAGE = "RGtk2") return(w) } gtkRcReparseAll <- function() { w <- .RGtkCall("S_gtk_rc_reparse_all", PACKAGE = "RGtk2") return(w) } gtkRcAddWidgetNameStyle <- function(object, pattern) { checkPtrType(object, "GtkRcStyle") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_rc_add_widget_name_style", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkRcAddWidgetClassStyle <- function(object, pattern) { checkPtrType(object, "GtkRcStyle") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_rc_add_widget_class_style", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkRcAddClassStyle <- function(object, pattern) { checkPtrType(object, "GtkRcStyle") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_rc_add_class_style", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkRcStyleGetType <- function() { w <- .RGtkCall("S_gtk_rc_style_get_type", PACKAGE = "RGtk2") return(w) } gtkRcStyleNew <- function() { w <- .RGtkCall("S_gtk_rc_style_new", PACKAGE = "RGtk2") return(w) } gtkRcStyleCopy <- function(object) { checkPtrType(object, "GtkRcStyle") w <- .RGtkCall("S_gtk_rc_style_copy", object, PACKAGE = "RGtk2") return(w) } gtkRcFindModuleInPath <- function(module.file) { module.file <- as.character(module.file) w <- .RGtkCall("S_gtk_rc_find_module_in_path", module.file, PACKAGE = "RGtk2") return(w) } gtkRcGetThemeDir <- function() { w <- .RGtkCall("S_gtk_rc_get_theme_dir", PACKAGE = "RGtk2") return(w) } gtkRcGetModuleDir <- function() { w <- .RGtkCall("S_gtk_rc_get_module_dir", PACKAGE = "RGtk2") return(w) } gtkRcGetImModulePath <- function() { w <- .RGtkCall("S_gtk_rc_get_im_module_path", PACKAGE = "RGtk2") return(w) } gtkRcGetImModuleFile <- function() { w <- .RGtkCall("S_gtk_rc_get_im_module_file", PACKAGE = "RGtk2") return(w) } gtkRcScannerNew <- function() { w <- .RGtkCall("S_gtk_rc_scanner_new", PACKAGE = "RGtk2") return(w) } gtkRcParseColor <- function(scanner, color) { checkPtrType(scanner, "GScanner") color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_rc_parse_color", scanner, color, PACKAGE = "RGtk2") return(w) } gtkRcParseState <- function(scanner) { checkPtrType(scanner, "GScanner") w <- .RGtkCall("S_gtk_rc_parse_state", scanner, PACKAGE = "RGtk2") return(w) } gtkRcParsePriority <- function(scanner) { checkPtrType(scanner, "GScanner") w <- .RGtkCall("S_gtk_rc_parse_priority", scanner, PACKAGE = "RGtk2") return(w) } gtkRulerGetType <- function() { w <- .RGtkCall("S_gtk_ruler_get_type", PACKAGE = "RGtk2") return(w) } gtkRulerSetMetric <- function(object, metric) { checkPtrType(object, "GtkRuler") w <- .RGtkCall("S_gtk_ruler_set_metric", object, metric, PACKAGE = "RGtk2") return(invisible(w)) } gtkRulerSetRange <- function(object, lower, upper, position, max.size) { checkPtrType(object, "GtkRuler") lower <- as.numeric(lower) upper <- as.numeric(upper) position <- as.numeric(position) max.size <- as.numeric(max.size) w <- .RGtkCall("S_gtk_ruler_set_range", object, lower, upper, position, max.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkRulerGetMetric <- function(object) { checkPtrType(object, "GtkRuler") w <- .RGtkCall("S_gtk_ruler_get_metric", object, PACKAGE = "RGtk2") return(w) } gtkRulerGetRange <- function(object) { checkPtrType(object, "GtkRuler") w <- .RGtkCall("S_gtk_ruler_get_range", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleGetType <- function() { w <- .RGtkCall("S_gtk_scale_get_type", PACKAGE = "RGtk2") return(w) } gtkScaleSetDigits <- function(object, digits) { checkPtrType(object, "GtkScale") digits <- as.integer(digits) w <- .RGtkCall("S_gtk_scale_set_digits", object, digits, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleGetDigits <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_get_digits", object, PACKAGE = "RGtk2") return(w) } gtkScaleSetDrawValue <- function(object, draw.value) { checkPtrType(object, "GtkScale") draw.value <- as.logical(draw.value) w <- .RGtkCall("S_gtk_scale_set_draw_value", object, draw.value, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleGetDrawValue <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_get_draw_value", object, PACKAGE = "RGtk2") return(w) } gtkScaleSetValuePos <- function(object, pos) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_set_value_pos", object, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleGetValuePos <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_get_value_pos", object, PACKAGE = "RGtk2") return(w) } gtkScaleGetLayout <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_get_layout", object, PACKAGE = "RGtk2") return(w) } gtkScaleGetLayoutOffsets <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_get_layout_offsets", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrollbarGetType <- function() { w <- .RGtkCall("S_gtk_scrollbar_get_type", PACKAGE = "RGtk2") return(w) } gtkScrolledWindowGetType <- function() { w <- .RGtkCall("S_gtk_scrolled_window_get_type", PACKAGE = "RGtk2") return(w) } gtkScrolledWindowNew <- function(hadjustment = NULL, vadjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_scrolled_window_new", hadjustment, vadjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkScrolledWindowSetHadjustment <- function(object, hadjustment) { checkPtrType(object, "GtkScrolledWindow") checkPtrType(hadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_scrolled_window_set_hadjustment", object, hadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowSetVadjustment <- function(object, hadjustment) { checkPtrType(object, "GtkScrolledWindow") checkPtrType(hadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_scrolled_window_set_vadjustment", object, hadjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowGetHadjustment <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowGetVadjustment <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowGetHscrollbar <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_hscrollbar", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowGetVscrollbar <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_vscrollbar", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowSetPolicy <- function(object, hscrollbar.policy, vscrollbar.policy) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_set_policy", object, hscrollbar.policy, vscrollbar.policy, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowGetPolicy <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_policy", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowSetPlacement <- function(object, window.placement) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_set_placement", object, window.placement, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowGetPlacement <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_placement", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowSetShadowType <- function(object, type) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_set_shadow_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkScrolledWindowGetShadowType <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_get_shadow_type", object, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowAddWithViewport <- function(object, child) { checkPtrType(object, "GtkScrolledWindow") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_scrolled_window_add_with_viewport", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkTargetListNew <- function(targets) { targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_target_list_new", targets, PACKAGE = "RGtk2") return(w) } gtkTargetListAdd <- function(object, target, flags, info) { checkPtrType(object, "GtkTargetList") target <- as.GdkAtom(target) flags <- as.numeric(flags) info <- as.numeric(info) w <- .RGtkCall("S_gtk_target_list_add", object, target, flags, info, PACKAGE = "RGtk2") return(invisible(w)) } gtkTargetListAddTable <- function(object, targets) { checkPtrType(object, "GtkTargetList") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_target_list_add_table", object, targets, PACKAGE = "RGtk2") return(w) } gtkTargetListRemove <- function(object, target) { checkPtrType(object, "GtkTargetList") target <- as.GdkAtom(target) w <- .RGtkCall("S_gtk_target_list_remove", object, target, PACKAGE = "RGtk2") return(invisible(w)) } gtkTargetListFind <- function(object, target) { checkPtrType(object, "GtkTargetList") target <- as.GdkAtom(target) w <- .RGtkCall("S_gtk_target_list_find", object, target, PACKAGE = "RGtk2") return(w) } gtkSelectionOwnerSet <- function(object, selection, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) time <- as.numeric(time) w <- .RGtkCall("S_gtk_selection_owner_set", object, selection, time, PACKAGE = "RGtk2") return(w) } gtkSelectionOwnerSetForDisplay <- function(display, widget = NULL, selection, time = "GDK_CURRENT_TIME") { checkPtrType(display, "GdkDisplay") if (!is.null( widget )) checkPtrType(widget, "GtkWidget") selection <- as.GdkAtom(selection) time <- as.numeric(time) w <- .RGtkCall("S_gtk_selection_owner_set_for_display", display, widget, selection, time, PACKAGE = "RGtk2") return(w) } gtkSelectionAddTarget <- function(object, selection, target, info) { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) target <- as.GdkAtom(target) info <- as.numeric(info) w <- .RGtkCall("S_gtk_selection_add_target", object, selection, target, info, PACKAGE = "RGtk2") return(invisible(w)) } gtkSelectionAddTargets <- function(object, selection, targets) { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_selection_add_targets", object, selection, targets, PACKAGE = "RGtk2") return(w) } gtkSelectionClearTargets <- function(object, selection) { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gtk_selection_clear_targets", object, selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkSelectionConvert <- function(object, selection, target, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) target <- as.GdkAtom(target) time <- as.numeric(time) w <- .RGtkCall("S_gtk_selection_convert", object, selection, target, time, PACKAGE = "RGtk2") return(w) } gtkSelectionDataSetText <- function(object, str, len = -1) { checkPtrType(object, "GtkSelectionData") str <- as.character(str) len <- as.integer(len) w <- .RGtkCall("S_gtk_selection_data_set_text", object, str, len, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetText <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_text", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetTargets <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_targets", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataTargetsIncludeText <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_targets_include_text", object, PACKAGE = "RGtk2") return(w) } gtkSelectionRemoveAll <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_selection_remove_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSelectionClear <- function(object, event) { if(getOption("depwarn")) .Deprecated("a chain up from 'selection-clear-event' handler", "RGtk2") checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEventSelection") w <- .RGtkCall("S_gtk_selection_clear", object, event, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetType <- function() { w <- .RGtkCall("S_gtk_selection_data_get_type", PACKAGE = "RGtk2") return(w) } gtkSelectionDataCopy <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_copy", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataSetPixbuf <- function(object, pixbuf) { checkPtrType(object, "GtkSelectionData") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_selection_data_set_pixbuf", object, pixbuf, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetPixbuf <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataSetUris <- function(object, uris) { checkPtrType(object, "GtkSelectionData") uris <- as.list(as.character(uris)) w <- .RGtkCall("S_gtk_selection_data_set_uris", object, uris, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetUris <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_uris", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataTargetsIncludeImage <- function(object, writable) { checkPtrType(object, "GtkSelectionData") writable <- as.logical(writable) w <- .RGtkCall("S_gtk_selection_data_targets_include_image", object, writable, PACKAGE = "RGtk2") return(w) } gtkSeparatorGetType <- function() { w <- .RGtkCall("S_gtk_separator_get_type", PACKAGE = "RGtk2") return(w) } gtkSeparatorMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_separator_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkSeparatorMenuItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_separator_menu_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSeparatorToolItemGetType <- function() { w <- .RGtkCall("S_gtk_separator_tool_item_get_type", PACKAGE = "RGtk2") return(w) } gtkSeparatorToolItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_separator_tool_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSeparatorToolItemGetDraw <- function(object) { checkPtrType(object, "GtkSeparatorToolItem") w <- .RGtkCall("S_gtk_separator_tool_item_get_draw", object, PACKAGE = "RGtk2") return(w) } gtkSeparatorToolItemSetDraw <- function(object, draw) { checkPtrType(object, "GtkSeparatorToolItem") draw <- as.logical(draw) w <- .RGtkCall("S_gtk_separator_tool_item_set_draw", object, draw, PACKAGE = "RGtk2") return(invisible(w)) } gtkSettingsGetType <- function() { w <- .RGtkCall("S_gtk_settings_get_type", PACKAGE = "RGtk2") return(w) } gtkSettingsGetDefault <- function() { w <- .RGtkCall("S_gtk_settings_get_default", PACKAGE = "RGtk2") return(w) } gtkSettingsGetForScreen <- function(screen) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_settings_get_for_screen", screen, PACKAGE = "RGtk2") return(w) } gtkSettingsInstallProperty <- function(pspec) { pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_settings_install_property", pspec, PACKAGE = "RGtk2") return(w) } gtkRcPropertyParseColor <- function(pspec, gstring) { pspec <- as.GParamSpec(pspec) gstring <- as.GString(gstring) w <- .RGtkCall("S_gtk_rc_property_parse_color", pspec, gstring, PACKAGE = "RGtk2") return(w) } gtkRcPropertyParseEnum <- function(pspec, gstring) { pspec <- as.GParamSpec(pspec) gstring <- as.GString(gstring) w <- .RGtkCall("S_gtk_rc_property_parse_enum", pspec, gstring, PACKAGE = "RGtk2") return(w) } gtkRcPropertyParseFlags <- function(pspec, gstring) { pspec <- as.GParamSpec(pspec) gstring <- as.GString(gstring) w <- .RGtkCall("S_gtk_rc_property_parse_flags", pspec, gstring, PACKAGE = "RGtk2") return(w) } gtkRcPropertyParseRequisition <- function(pspec, gstring) { pspec <- as.GParamSpec(pspec) gstring <- as.GString(gstring) w <- .RGtkCall("S_gtk_rc_property_parse_requisition", pspec, gstring, PACKAGE = "RGtk2") return(w) } gtkRcPropertyParseBorder <- function(pspec, gstring) { pspec <- as.GParamSpec(pspec) gstring <- as.GString(gstring) w <- .RGtkCall("S_gtk_rc_property_parse_border", pspec, gstring, PACKAGE = "RGtk2") return(w) } gtkSettingsSetPropertyValue <- function(object, name, svalue) { checkPtrType(object, "GtkSettings") name <- as.character(name) svalue <- as.GtkSettingsValue(svalue) w <- .RGtkCall("S_gtk_settings_set_property_value", object, name, svalue, PACKAGE = "RGtk2") return(invisible(w)) } gtkSettingsSetStringProperty <- function(object, name, v.string, origin) { checkPtrType(object, "GtkSettings") name <- as.character(name) v.string <- as.character(v.string) origin <- as.character(origin) w <- .RGtkCall("S_gtk_settings_set_string_property", object, name, v.string, origin, PACKAGE = "RGtk2") return(invisible(w)) } gtkSettingsSetLongProperty <- function(object, name, v.long, origin) { checkPtrType(object, "GtkSettings") name <- as.character(name) v.long <- as.numeric(v.long) origin <- as.character(origin) w <- .RGtkCall("S_gtk_settings_set_long_property", object, name, v.long, origin, PACKAGE = "RGtk2") return(invisible(w)) } gtkSettingsSetDoubleProperty <- function(object, name, v.double, origin) { checkPtrType(object, "GtkSettings") name <- as.character(name) v.double <- as.numeric(v.double) origin <- as.character(origin) w <- .RGtkCall("S_gtk_settings_set_double_property", object, name, v.double, origin, PACKAGE = "RGtk2") return(invisible(w)) } gtkSizeGroupGetType <- function() { w <- .RGtkCall("S_gtk_size_group_get_type", PACKAGE = "RGtk2") return(w) } gtkSizeGroupNew <- function(mode = NULL) { w <- .RGtkCall("S_gtk_size_group_new", mode, PACKAGE = "RGtk2") return(w) } gtkSizeGroupSetMode <- function(object, mode) { checkPtrType(object, "GtkSizeGroup") w <- .RGtkCall("S_gtk_size_group_set_mode", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkSizeGroupGetMode <- function(object) { checkPtrType(object, "GtkSizeGroup") w <- .RGtkCall("S_gtk_size_group_get_mode", object, PACKAGE = "RGtk2") return(w) } gtkSizeGroupSetIgnoreHidden <- function(object, ignore.hidden) { checkPtrType(object, "GtkSizeGroup") ignore.hidden <- as.logical(ignore.hidden) w <- .RGtkCall("S_gtk_size_group_set_ignore_hidden", object, ignore.hidden, PACKAGE = "RGtk2") return(invisible(w)) } gtkSizeGroupGetIgnoreHidden <- function(object) { checkPtrType(object, "GtkSizeGroup") w <- .RGtkCall("S_gtk_size_group_get_ignore_hidden", object, PACKAGE = "RGtk2") return(w) } gtkSizeGroupAddWidget <- function(object, widget) { checkPtrType(object, "GtkSizeGroup") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_size_group_add_widget", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkSizeGroupRemoveWidget <- function(object, widget) { checkPtrType(object, "GtkSizeGroup") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_size_group_remove_widget", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkSocketGetType <- function() { w <- .RGtkCall("S_gtk_socket_get_type", PACKAGE = "RGtk2") return(w) } gtkSocketNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_socket_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSocketAddId <- function(object, window.id) { checkPtrType(object, "GtkSocket") window.id <- as.GdkNativeWindow(window.id) w <- .RGtkCall("S_gtk_socket_add_id", object, window.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkSocketGetId <- function(object) { checkPtrType(object, "GtkSocket") w <- .RGtkCall("S_gtk_socket_get_id", object, PACKAGE = "RGtk2") return(w) } gtkSocketSteal <- function(object, wid) { checkPtrType(object, "GtkSocket") wid <- as.GdkNativeWindow(wid) w <- .RGtkCall("S_gtk_socket_steal", object, wid, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetType <- function() { w <- .RGtkCall("S_gtk_spin_button_get_type", PACKAGE = "RGtk2") return(w) } gtkSpinButtonConfigure <- function(object, adjustment = NULL, climb.rate, digits) { checkPtrType(object, "GtkSpinButton") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") climb.rate <- as.numeric(climb.rate) digits <- as.numeric(digits) w <- .RGtkCall("S_gtk_spin_button_configure", object, adjustment, climb.rate, digits, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonNew <- function(adjustment = NULL, climb.rate = NULL, digits = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_spin_button_new", adjustment, climb.rate, digits, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSpinButtonNewWithRange <- function(min, max, step, show = TRUE) { min <- as.numeric(min) max <- as.numeric(max) step <- as.numeric(step) w <- .RGtkCall("S_gtk_spin_button_new_with_range", min, max, step, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSpinButtonSetAdjustment <- function(object, adjustment) { checkPtrType(object, "GtkSpinButton") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_spin_button_set_adjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetAdjustment <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_adjustment", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSetDigits <- function(object, digits) { checkPtrType(object, "GtkSpinButton") digits <- as.numeric(digits) w <- .RGtkCall("S_gtk_spin_button_set_digits", object, digits, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetDigits <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_digits", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSetIncrements <- function(object, step, page) { checkPtrType(object, "GtkSpinButton") step <- as.numeric(step) page <- as.numeric(page) w <- .RGtkCall("S_gtk_spin_button_set_increments", object, step, page, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetIncrements <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_increments", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonSetRange <- function(object, min, max) { checkPtrType(object, "GtkSpinButton") min <- as.numeric(min) max <- as.numeric(max) w <- .RGtkCall("S_gtk_spin_button_set_range", object, min, max, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetRange <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_range", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetValue <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_value", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonGetValueAsInt <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_value_as_int", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSetValue <- function(object, value) { checkPtrType(object, "GtkSpinButton") value <- as.numeric(value) w <- .RGtkCall("S_gtk_spin_button_set_value", object, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonSetUpdatePolicy <- function(object, policy) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_set_update_policy", object, policy, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetUpdatePolicy <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_update_policy", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSetNumeric <- function(object, numeric) { checkPtrType(object, "GtkSpinButton") numeric <- as.logical(numeric) w <- .RGtkCall("S_gtk_spin_button_set_numeric", object, numeric, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetNumeric <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_numeric", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSpin <- function(object, direction, increment) { checkPtrType(object, "GtkSpinButton") increment <- as.numeric(increment) w <- .RGtkCall("S_gtk_spin_button_spin", object, direction, increment, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonSetWrap <- function(object, wrap) { checkPtrType(object, "GtkSpinButton") wrap <- as.logical(wrap) w <- .RGtkCall("S_gtk_spin_button_set_wrap", object, wrap, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetWrap <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_wrap", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonSetSnapToTicks <- function(object, snap.to.ticks) { checkPtrType(object, "GtkSpinButton") snap.to.ticks <- as.logical(snap.to.ticks) w <- .RGtkCall("S_gtk_spin_button_set_snap_to_ticks", object, snap.to.ticks, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinButtonGetSnapToTicks <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_get_snap_to_ticks", object, PACKAGE = "RGtk2") return(w) } gtkSpinButtonUpdate <- function(object) { checkPtrType(object, "GtkSpinButton") w <- .RGtkCall("S_gtk_spin_button_update", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarGetType <- function() { w <- .RGtkCall("S_gtk_statusbar_get_type", PACKAGE = "RGtk2") return(w) } gtkStatusbarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_statusbar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkStatusbarGetContextId <- function(object, context.description) { checkPtrType(object, "GtkStatusbar") context.description <- as.character(context.description) w <- .RGtkCall("S_gtk_statusbar_get_context_id", object, context.description, PACKAGE = "RGtk2") return(w) } gtkStatusbarPush <- function(object, context.id, text) { checkPtrType(object, "GtkStatusbar") context.id <- as.numeric(context.id) text <- as.character(text) w <- .RGtkCall("S_gtk_statusbar_push", object, context.id, text, PACKAGE = "RGtk2") return(w) } gtkStatusbarPop <- function(object, context.id) { checkPtrType(object, "GtkStatusbar") context.id <- as.numeric(context.id) w <- .RGtkCall("S_gtk_statusbar_pop", object, context.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarRemove <- function(object, context.id, message.id) { checkPtrType(object, "GtkStatusbar") context.id <- as.numeric(context.id) message.id <- as.numeric(message.id) w <- .RGtkCall("S_gtk_statusbar_remove", object, context.id, message.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarSetHasResizeGrip <- function(object, setting) { checkPtrType(object, "GtkStatusbar") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_statusbar_set_has_resize_grip", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarGetHasResizeGrip <- function(object) { checkPtrType(object, "GtkStatusbar") w <- .RGtkCall("S_gtk_statusbar_get_has_resize_grip", object, PACKAGE = "RGtk2") return(w) } gtkStockAdd <- function(items) { items <- lapply(items, function(x) { x <- as.GtkStockItem(x); x }) w <- .RGtkCall("S_gtk_stock_add", items, PACKAGE = "RGtk2") return(invisible(w)) } gtkStockAddStatic <- function(items) { items <- lapply(items, function(x) { x <- as.GtkStockItem(x); x }) w <- .RGtkCall("S_gtk_stock_add_static", items, PACKAGE = "RGtk2") return(invisible(w)) } gtkStockLookup <- function(stock.id) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_stock_lookup", stock.id, PACKAGE = "RGtk2") return(w) } gtkStockListIds <- function() { w <- .RGtkCall("S_gtk_stock_list_ids", PACKAGE = "RGtk2") return(w) } gtkStockItemCopy <- function(object) { object <- as.GtkStockItem(object) w <- .RGtkCall("S_gtk_stock_item_copy", object, PACKAGE = "RGtk2") return(w) } gtkStockSetTranslateFunc <- function(domain, func, data) { domain <- as.character(domain) func <- as.function(func) w <- .RGtkCall("S_gtk_stock_set_translate_func", domain, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleGetType <- function() { w <- .RGtkCall("S_gtk_style_get_type", PACKAGE = "RGtk2") return(w) } gtkStyleNew <- function() { w <- .RGtkCall("S_gtk_style_new", PACKAGE = "RGtk2") return(w) } gtkStyleCopy <- function(object) { checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_copy", object, PACKAGE = "RGtk2") return(w) } gtkStyleAttach <- function(object, window) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_style_attach", object, window, PACKAGE = "RGtk2") return(w) } gtkStyleDetach <- function(object) { checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_detach", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleGetFont <- function(object) { checkPtrType(object, "GtkStyle") w <- .RGtkCall("S_gtk_style_get_font", object, PACKAGE = "RGtk2") return(w) } gtkStyleSetFont <- function(object, font) { checkPtrType(object, "GtkStyle") checkPtrType(font, "GdkFont") w <- .RGtkCall("S_gtk_style_set_font", object, font, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleSetBackground <- function(object, window, state.type) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_style_set_background", object, window, state.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleApplyDefaultBackground <- function(object, window, set.bg, state.type, area = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") set.bg <- as.logical(set.bg) if (!is.null( area )) area <- as.GdkRectangle(area) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_apply_default_background", object, window, set.bg, state.type, area, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleLookupIconSet <- function(object, stock.id) { checkPtrType(object, "GtkStyle") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_style_lookup_icon_set", object, stock.id, PACKAGE = "RGtk2") return(w) } gtkStyleRenderIcon <- function(object, source, direction, state, size, widget = NULL, detail = NULL) { checkPtrType(object, "GtkStyle") checkPtrType(source, "GtkIconSource") if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) w <- .RGtkCall("S_gtk_style_render_icon", object, source, direction, state, size, widget, detail, PACKAGE = "RGtk2") return(w) } gtkDrawHline <- function(object, window, state.type, x1, x2, y) { if(getOption("depwarn")) .Deprecated("gtkPaintHline", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x1 <- as.integer(x1) x2 <- as.integer(x2) y <- as.integer(y) w <- .RGtkCall("S_gtk_draw_hline", object, window, state.type, x1, x2, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawVline <- function(object, window, state.type, y1, y2, x) { if(getOption("depwarn")) .Deprecated("gtkPaintVline", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") y1 <- as.integer(y1) y2 <- as.integer(y2) x <- as.integer(x) w <- .RGtkCall("S_gtk_draw_vline", object, window, state.type, y1, y2, x, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawShadow <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintShadow", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_shadow", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawPolygon <- function(object, window, state.type, shadow.type, points, fill) { if(getOption("depwarn")) .Deprecated("gtkPaintPolygon", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) fill <- as.logical(fill) w <- .RGtkCall("S_gtk_draw_polygon", object, window, state.type, shadow.type, points, fill, PACKAGE = "RGtk2") return(w) } gtkDrawArrow <- function(object, window, state.type, shadow.type, arrow.type, fill, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintArrow", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") fill <- as.logical(fill) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_arrow", object, window, state.type, shadow.type, arrow.type, fill, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawDiamond <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintDiamond", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_diamond", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawBox <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintBox", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_box", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawFlatBox <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintFlatBox", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_flat_box", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawCheck <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintCheck", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_check", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawOption <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintOption", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_option", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawTab <- function(object, window, state.type, shadow.type, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintTab", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_tab", object, window, state.type, shadow.type, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawShadowGap <- function(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width) { if(getOption("depwarn")) .Deprecated("gtkPaintShadowGap", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_draw_shadow_gap", object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawBoxGap <- function(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width) { if(getOption("depwarn")) .Deprecated("gtkPaintBoxGap", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_draw_box_gap", object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawExtension <- function(object, window, state.type, shadow.type, x, y, width, height, gap.side) { if(getOption("depwarn")) .Deprecated("gtkPaintExtension", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_extension", object, window, state.type, shadow.type, x, y, width, height, gap.side, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawFocus <- function(object, window, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintFocus", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_focus", object, window, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawSlider <- function(object, window, state.type, shadow.type, x, y, width, height, orientation) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_slider", object, window, state.type, shadow.type, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawHandle <- function(object, window, state.type, shadow.type, x, y, width, height, orientation) { if(getOption("depwarn")) .Deprecated("gtkPaintHandle", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_handle", object, window, state.type, shadow.type, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawExpander <- function(object, window, state.type, x, y, is.open) { if(getOption("depwarn")) .Deprecated("gtkPaintExpander", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) is.open <- as.logical(is.open) w <- .RGtkCall("S_gtk_draw_expander", object, window, state.type, x, y, is.open, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawLayout <- function(object, window, state.type, use.text, x, y, layout) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") use.text <- as.logical(use.text) x <- as.integer(x) y <- as.integer(y) checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_gtk_draw_layout", object, window, state.type, use.text, x, y, layout, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawResizeGrip <- function(object, window, state.type, edge, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkPaintResizeGrip", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_draw_resize_grip", object, window, state.type, edge, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintHline <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x1, x2, y) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x1 <- as.integer(x1) x2 <- as.integer(x2) y <- as.integer(y) w <- .RGtkCall("S_gtk_paint_hline", object, window, state.type, area, widget, detail, x1, x2, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintVline <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, y1, y2, x) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) y1 <- as.integer(y1) y2 <- as.integer(y2) x <- as.integer(x) w <- .RGtkCall("S_gtk_paint_vline", object, window, state.type, area, widget, detail, y1, y2, x, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintShadow <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_shadow", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintPolygon <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, points, fill) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) fill <- as.logical(fill) w <- .RGtkCall("S_gtk_paint_polygon", object, window, state.type, shadow.type, area, widget, detail, points, fill, PACKAGE = "RGtk2") return(w) } gtkPaintArrow <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, arrow.type, fill, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) fill <- as.logical(fill) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_arrow", object, window, state.type, shadow.type, area, widget, detail, arrow.type, fill, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintDiamond <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_diamond", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintBox <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_box", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintFlatBox <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_flat_box", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintCheck <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_check", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintOption <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_option", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintTab <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_tab", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintShadowGap <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_paint_shadow_gap", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintBoxGap <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) gap.x <- as.integer(gap.x) gap.width <- as.integer(gap.width) w <- .RGtkCall("S_gtk_paint_box_gap", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, gap.x, gap.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintExtension <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_extension", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, gap.side, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintFocus <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_focus", object, window, state.type, area, widget, detail, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintSlider <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_slider", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintHandle <- function(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_handle", object, window, state.type, shadow.type, area, widget, detail, x, y, width, height, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintExpander <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, expander.style) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_paint_expander", object, window, state.type, area, widget, detail, x, y, expander.style, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintLayout <- function(object, window, state.type, use.text, area = NULL, widget = NULL, detail = NULL, x, y, layout) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") use.text <- as.logical(use.text) if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_gtk_paint_layout", object, window, state.type, use.text, area, widget, detail, x, y, layout, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintResizeGrip <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, edge, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_resize_grip", object, window, state.type, area, widget, detail, edge, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkBorderGetType <- function() { w <- .RGtkCall("S_gtk_border_get_type", PACKAGE = "RGtk2") return(w) } gtkBorderCopy <- function(object) { checkPtrType(object, "GtkBorder") w <- .RGtkCall("S_gtk_border_copy", object, PACKAGE = "RGtk2") return(w) } gtkStyleApplyDefaultPixmap <- function(object, window, set.bg, area, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkStyleApplyDefaultBackground", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") set.bg <- as.logical(set.bg) area <- as.GdkRectangle(area) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_style_apply_default_pixmap", object, window, set.bg, area, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawString <- function(object, window, state.type, x, y, string) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) string <- as.character(string) w <- .RGtkCall("S_gtk_draw_string", object, window, state.type, x, y, string, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintString <- function(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, string) { if(getOption("depwarn")) .Deprecated("gtkPaintLayout", "RGtk2") checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") if (!is.null( area )) area <- as.GdkRectangle(area) if (!is.null( widget )) checkPtrType(widget, "GtkWidget") if (!is.null( detail )) detail <- as.character(detail) x <- as.integer(x) y <- as.integer(y) string <- as.character(string) w <- .RGtkCall("S_gtk_paint_string", object, window, state.type, area, widget, detail, x, y, string, PACKAGE = "RGtk2") return(invisible(w)) } gtkDrawInsertionCursor <- function(widget, drawable, area = NULL, location, is.primary, direction, draw.arrow) { checkPtrType(widget, "GtkWidget") checkPtrType(drawable, "GdkDrawable") if (!is.null( area )) area <- as.GdkRectangle(area) location <- as.GdkRectangle(location) is.primary <- as.logical(is.primary) draw.arrow <- as.logical(draw.arrow) w <- .RGtkCall("S_gtk_draw_insertion_cursor", widget, drawable, area, location, is.primary, direction, draw.arrow, PACKAGE = "RGtk2") return(w) } gtkTableGetType <- function() { w <- .RGtkCall("S_gtk_table_get_type", PACKAGE = "RGtk2") return(w) } gtkTableNew <- function(rows = NULL, columns = NULL, homogeneous = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_table_new", rows, columns, homogeneous, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTableResize <- function(object, rows, columns) { checkPtrType(object, "GtkTable") rows <- as.numeric(rows) columns <- as.numeric(columns) w <- .RGtkCall("S_gtk_table_resize", object, rows, columns, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableAttach <- function(object, child, left.attach, right.attach, top.attach, bottom.attach, xoptions = 5, yoptions = 5, xpadding = 0, ypadding = 0) { checkPtrType(object, "GtkTable") checkPtrType(child, "GtkWidget") left.attach <- as.numeric(left.attach) right.attach <- as.numeric(right.attach) top.attach <- as.numeric(top.attach) bottom.attach <- as.numeric(bottom.attach) xpadding <- as.numeric(xpadding) ypadding <- as.numeric(ypadding) w <- .RGtkCall("S_gtk_table_attach", object, child, left.attach, right.attach, top.attach, bottom.attach, xoptions, yoptions, xpadding, ypadding, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableAttachDefaults <- function(object, widget, left.attach, right.attach, top.attach, bottom.attach) { checkPtrType(object, "GtkTable") checkPtrType(widget, "GtkWidget") left.attach <- as.numeric(left.attach) right.attach <- as.numeric(right.attach) top.attach <- as.numeric(top.attach) bottom.attach <- as.numeric(bottom.attach) w <- .RGtkCall("S_gtk_table_attach_defaults", object, widget, left.attach, right.attach, top.attach, bottom.attach, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableSetRowSpacing <- function(object, row, spacing) { checkPtrType(object, "GtkTable") row <- as.numeric(row) spacing <- as.numeric(spacing) w <- .RGtkCall("S_gtk_table_set_row_spacing", object, row, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableGetRowSpacing <- function(object, row) { checkPtrType(object, "GtkTable") row <- as.numeric(row) w <- .RGtkCall("S_gtk_table_get_row_spacing", object, row, PACKAGE = "RGtk2") return(w) } gtkTableSetColSpacing <- function(object, column, spacing) { checkPtrType(object, "GtkTable") column <- as.numeric(column) spacing <- as.numeric(spacing) w <- .RGtkCall("S_gtk_table_set_col_spacing", object, column, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableGetColSpacing <- function(object, column) { checkPtrType(object, "GtkTable") column <- as.numeric(column) w <- .RGtkCall("S_gtk_table_get_col_spacing", object, column, PACKAGE = "RGtk2") return(w) } gtkTableSetRowSpacings <- function(object, spacing) { checkPtrType(object, "GtkTable") spacing <- as.numeric(spacing) w <- .RGtkCall("S_gtk_table_set_row_spacings", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableGetDefaultRowSpacing <- function(object) { checkPtrType(object, "GtkTable") w <- .RGtkCall("S_gtk_table_get_default_row_spacing", object, PACKAGE = "RGtk2") return(w) } gtkTableSetColSpacings <- function(object, spacing) { checkPtrType(object, "GtkTable") spacing <- as.numeric(spacing) w <- .RGtkCall("S_gtk_table_set_col_spacings", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableGetDefaultColSpacing <- function(object) { checkPtrType(object, "GtkTable") w <- .RGtkCall("S_gtk_table_get_default_col_spacing", object, PACKAGE = "RGtk2") return(w) } gtkTableSetHomogeneous <- function(object, homogeneous) { checkPtrType(object, "GtkTable") homogeneous <- as.logical(homogeneous) w <- .RGtkCall("S_gtk_table_set_homogeneous", object, homogeneous, PACKAGE = "RGtk2") return(invisible(w)) } gtkTableGetHomogeneous <- function(object) { checkPtrType(object, "GtkTable") w <- .RGtkCall("S_gtk_table_get_homogeneous", object, PACKAGE = "RGtk2") return(w) } gtkTearoffMenuItemGetType <- function() { w <- .RGtkCall("S_gtk_tearoff_menu_item_get_type", PACKAGE = "RGtk2") return(w) } gtkTearoffMenuItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_tearoff_menu_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTextBufferGetType <- function() { w <- .RGtkCall("S_gtk_text_buffer_get_type", PACKAGE = "RGtk2") return(w) } gtkTextBufferNew <- function(table = NULL) { w <- .RGtkCall("S_gtk_text_buffer_new", table, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetLineCount <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_line_count", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetCharCount <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_char_count", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetTagTable <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_tag_table", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferSetText <- function(object, text, len = -1) { checkPtrType(object, "GtkTextBuffer") text <- as.character(text) len <- as.integer(len) w <- .RGtkCall("S_gtk_text_buffer_set_text", object, text, len, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferInsert <- function(object, iter, text, len = -1) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") text <- as.character(text) len <- as.integer(len) w <- .RGtkCall("S_gtk_text_buffer_insert", object, iter, text, len, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferInsertAtCursor <- function(object, text, len = -1) { checkPtrType(object, "GtkTextBuffer") text <- as.character(text) len <- as.integer(len) w <- .RGtkCall("S_gtk_text_buffer_insert_at_cursor", object, text, len, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferInsertRange <- function(object, iter, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_insert_range", object, iter, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferInsertRangeInteractive <- function(object, iter, start, end, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_insert_range_interactive", object, iter, start, end, default.editable, PACKAGE = "RGtk2") return(w) } gtkTextBufferDelete <- function(object, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_delete", object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferDeleteInteractive <- function(object, start.iter, end.iter, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(start.iter, "GtkTextIter") checkPtrType(end.iter, "GtkTextIter") default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_delete_interactive", object, start.iter, end.iter, default.editable, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetText <- function(object, start, end, include.hidden.chars = TRUE) { checkPtrType(object, "GtkTextBuffer") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") include.hidden.chars <- as.logical(include.hidden.chars) w <- .RGtkCall("S_gtk_text_buffer_get_text", object, start, end, include.hidden.chars, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetSlice <- function(object, start, end, include.hidden.chars = TRUE) { checkPtrType(object, "GtkTextBuffer") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") include.hidden.chars <- as.logical(include.hidden.chars) w <- .RGtkCall("S_gtk_text_buffer_get_slice", object, start, end, include.hidden.chars, PACKAGE = "RGtk2") return(w) } gtkTextBufferInsertPixbuf <- function(object, iter, pixbuf) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_text_buffer_insert_pixbuf", object, iter, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferInsertChildAnchor <- function(object, iter, anchor) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") checkPtrType(anchor, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_buffer_insert_child_anchor", object, iter, anchor, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferCreateChildAnchor <- function(object, iter) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_create_child_anchor", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextBufferCreateMark <- function(object, mark.name = NULL, where, left.gravity = FALSE) { checkPtrType(object, "GtkTextBuffer") if (!is.null( mark.name )) mark.name <- as.character(mark.name) checkPtrType(where, "GtkTextIter") left.gravity <- as.logical(left.gravity) w <- .RGtkCall("S_gtk_text_buffer_create_mark", object, mark.name, where, left.gravity, PACKAGE = "RGtk2") return(w) } gtkTextBufferMoveMark <- function(object, mark, where) { checkPtrType(object, "GtkTextBuffer") checkPtrType(mark, "GtkTextMark") checkPtrType(where, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_move_mark", object, mark, where, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferDeleteMark <- function(object, mark) { checkPtrType(object, "GtkTextBuffer") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_buffer_delete_mark", object, mark, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferGetMark <- function(object, name) { checkPtrType(object, "GtkTextBuffer") name <- as.character(name) w <- .RGtkCall("S_gtk_text_buffer_get_mark", object, name, PACKAGE = "RGtk2") return(w) } gtkTextBufferMoveMarkByName <- function(object, name, where) { checkPtrType(object, "GtkTextBuffer") name <- as.character(name) checkPtrType(where, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_move_mark_by_name", object, name, where, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferDeleteMarkByName <- function(object, name) { checkPtrType(object, "GtkTextBuffer") name <- as.character(name) w <- .RGtkCall("S_gtk_text_buffer_delete_mark_by_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferGetInsert <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_insert", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetSelectionBound <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_selection_bound", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferPlaceCursor <- function(object, where) { checkPtrType(object, "GtkTextBuffer") checkPtrType(where, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_place_cursor", object, where, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferSelectRange <- function(object, ins, bound) { checkPtrType(object, "GtkTextBuffer") checkPtrType(ins, "GtkTextIter") checkPtrType(bound, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_select_range", object, ins, bound, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferApplyTag <- function(object, tag, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(tag, "GtkTextTag") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_apply_tag", object, tag, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferRemoveTag <- function(object, tag, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(tag, "GtkTextTag") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_remove_tag", object, tag, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferApplyTagByName <- function(object, name, start, end) { checkPtrType(object, "GtkTextBuffer") name <- as.character(name) checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_apply_tag_by_name", object, name, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferRemoveTagByName <- function(object, name, start, end) { checkPtrType(object, "GtkTextBuffer") name <- as.character(name) checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_remove_tag_by_name", object, name, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferRemoveAllTags <- function(object, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_remove_all_tags", object, start, end, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferGetIterAtLineOffset <- function(object, line.number, char.offset) { checkPtrType(object, "GtkTextBuffer") line.number <- as.integer(line.number) char.offset <- as.integer(char.offset) w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_line_offset", object, line.number, char.offset, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetIterAtLineIndex <- function(object, line.number, byte.index) { checkPtrType(object, "GtkTextBuffer") line.number <- as.integer(line.number) byte.index <- as.integer(byte.index) w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_line_index", object, line.number, byte.index, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetIterAtOffset <- function(object, char.offset) { checkPtrType(object, "GtkTextBuffer") char.offset <- as.integer(char.offset) w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_offset", object, char.offset, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetIterAtLine <- function(object, line.number) { checkPtrType(object, "GtkTextBuffer") line.number <- as.integer(line.number) w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_line", object, line.number, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetStartIter <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_start_iter", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetEndIter <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_end_iter", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetBounds <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_bounds", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferGetIterAtMark <- function(object, mark) { checkPtrType(object, "GtkTextBuffer") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_mark", object, mark, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetIterAtChildAnchor <- function(object, anchor) { checkPtrType(object, "GtkTextBuffer") checkPtrType(anchor, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_buffer_get_iter_at_child_anchor", object, anchor, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetModified <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_modified", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferSetModified <- function(object, setting) { checkPtrType(object, "GtkTextBuffer") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_text_buffer_set_modified", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferAddSelectionClipboard <- function(object, clipboard) { checkPtrType(object, "GtkTextBuffer") checkPtrType(clipboard, "GtkClipboard") w <- .RGtkCall("S_gtk_text_buffer_add_selection_clipboard", object, clipboard, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferRemoveSelectionClipboard <- function(object, clipboard) { checkPtrType(object, "GtkTextBuffer") checkPtrType(clipboard, "GtkClipboard") w <- .RGtkCall("S_gtk_text_buffer_remove_selection_clipboard", object, clipboard, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferCutClipboard <- function(object, clipboard, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(clipboard, "GtkClipboard") default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_cut_clipboard", object, clipboard, default.editable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferCopyClipboard <- function(object, clipboard) { checkPtrType(object, "GtkTextBuffer") checkPtrType(clipboard, "GtkClipboard") w <- .RGtkCall("S_gtk_text_buffer_copy_clipboard", object, clipboard, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferPasteClipboard <- function(object, clipboard, override.location = NULL, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(clipboard, "GtkClipboard") if (!is.null( override.location )) checkPtrType(override.location, "GtkTextIter") default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_paste_clipboard", object, clipboard, override.location, default.editable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferGetSelectionBounds <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_selection_bounds", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferDeleteSelection <- function(object, interactive, default.editable) { checkPtrType(object, "GtkTextBuffer") interactive <- as.logical(interactive) default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_delete_selection", object, interactive, default.editable, PACKAGE = "RGtk2") return(w) } gtkTextBufferBeginUserAction <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_begin_user_action", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferEndUserAction <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_end_user_action", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextChildAnchorGetType <- function() { w <- .RGtkCall("S_gtk_text_child_anchor_get_type", PACKAGE = "RGtk2") return(w) } gtkTextChildAnchorNew <- function() { w <- .RGtkCall("S_gtk_text_child_anchor_new", PACKAGE = "RGtk2") return(w) } gtkTextChildAnchorGetWidgets <- function(object) { checkPtrType(object, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_child_anchor_get_widgets", object, PACKAGE = "RGtk2") return(w) } gtkTextChildAnchorGetDeleted <- function(object) { checkPtrType(object, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_child_anchor_get_deleted", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferBackspace <- function(object, iter, interactive, default.editable) { checkPtrType(object, "GtkTextBuffer") checkPtrType(iter, "GtkTextIter") interactive <- as.logical(interactive) default.editable <- as.logical(default.editable) w <- .RGtkCall("S_gtk_text_buffer_backspace", object, iter, interactive, default.editable, PACKAGE = "RGtk2") return(w) } gtkTextIterGetBuffer <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_buffer", object, PACKAGE = "RGtk2") return(w) } gtkTextIterCopy <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_copy", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetType <- function() { w <- .RGtkCall("S_gtk_text_iter_get_type", PACKAGE = "RGtk2") return(w) } gtkTextIterGetOffset <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_offset", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetLineOffset <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_line_offset", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetLineIndex <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_line_index", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetVisibleLineOffset <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_visible_line_offset", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetVisibleLineIndex <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_visible_line_index", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetChar <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_char", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetSlice <- function(object, end) { checkPtrType(object, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_slice", object, end, PACKAGE = "RGtk2") return(w) } gtkTextIterGetText <- function(object, end) { checkPtrType(object, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_text", object, end, PACKAGE = "RGtk2") return(w) } gtkTextIterGetVisibleSlice <- function(object, end) { checkPtrType(object, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_visible_slice", object, end, PACKAGE = "RGtk2") return(w) } gtkTextIterGetVisibleText <- function(object, end) { checkPtrType(object, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_visible_text", object, end, PACKAGE = "RGtk2") return(w) } gtkTextIterGetPixbuf <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetMarks <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_marks", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetChildAnchor <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_child_anchor", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetToggledTags <- function(object, toggled.on) { checkPtrType(object, "GtkTextIter") toggled.on <- as.logical(toggled.on) w <- .RGtkCall("S_gtk_text_iter_get_toggled_tags", object, toggled.on, PACKAGE = "RGtk2") return(w) } gtkTextIterBeginsTag <- function(object, tag = NULL) { checkPtrType(object, "GtkTextIter") if (!is.null( tag )) checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_begins_tag", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterEndsTag <- function(object, tag = NULL) { checkPtrType(object, "GtkTextIter") if (!is.null( tag )) checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_ends_tag", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterTogglesTag <- function(object, tag = NULL) { checkPtrType(object, "GtkTextIter") if (!is.null( tag )) checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_toggles_tag", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterHasTag <- function(object, tag) { checkPtrType(object, "GtkTextIter") checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_has_tag", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterGetTags <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_tags", object, PACKAGE = "RGtk2") return(w) } gtkTextIterEditable <- function(object, default.setting) { checkPtrType(object, "GtkTextIter") default.setting <- as.logical(default.setting) w <- .RGtkCall("S_gtk_text_iter_editable", object, default.setting, PACKAGE = "RGtk2") return(w) } gtkTextIterCanInsert <- function(object, default.editability) { checkPtrType(object, "GtkTextIter") default.editability <- as.logical(default.editability) w <- .RGtkCall("S_gtk_text_iter_can_insert", object, default.editability, PACKAGE = "RGtk2") return(w) } gtkTextIterStartsWord <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_starts_word", object, PACKAGE = "RGtk2") return(w) } gtkTextIterEndsWord <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_ends_word", object, PACKAGE = "RGtk2") return(w) } gtkTextIterInsideWord <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_inside_word", object, PACKAGE = "RGtk2") return(w) } gtkTextIterStartsSentence <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_starts_sentence", object, PACKAGE = "RGtk2") return(w) } gtkTextIterEndsSentence <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_ends_sentence", object, PACKAGE = "RGtk2") return(w) } gtkTextIterInsideSentence <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_inside_sentence", object, PACKAGE = "RGtk2") return(w) } gtkTextIterStartsLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_starts_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterEndsLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_ends_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterIsCursorPosition <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_is_cursor_position", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetCharsInLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_chars_in_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetBytesInLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_bytes_in_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterGetAttributes <- function(object, values) { checkPtrType(object, "GtkTextIter") checkPtrType(values, "GtkTextAttributes") w <- .RGtkCall("S_gtk_text_iter_get_attributes", object, values, PACKAGE = "RGtk2") return(w) } gtkTextIterGetLanguage <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_get_language", object, PACKAGE = "RGtk2") return(w) } gtkTextIterIsEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_is_end", object, PACKAGE = "RGtk2") return(w) } gtkTextIterIsStart <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_is_start", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardChar <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_char", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardChar <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_char", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardChars <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_chars", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardChars <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_chars", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardLines <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_lines", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardLines <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_lines", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardWordEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_word_end", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardWordStart <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_word_start", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardWordEnds <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_word_ends", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardWordStarts <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_word_starts", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_visible_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleLine <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_visible_line", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleLines <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_visible_lines", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleLines <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_visible_lines", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleWordEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_visible_word_end", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleWordStart <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_visible_word_start", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleWordEnds <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_visible_word_ends", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleWordStarts <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_visible_word_starts", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardSentenceEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_sentence_end", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardSentenceStart <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_sentence_start", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardSentenceEnds <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_sentence_ends", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardSentenceStarts <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_sentence_starts", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardCursorPosition <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_cursor_position", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardCursorPosition <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_cursor_position", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardCursorPositions <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_cursor_positions", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardCursorPositions <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_cursor_positions", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleCursorPosition <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_visible_cursor_position", object, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleCursorPosition <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_visible_cursor_position", object, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardVisibleCursorPositions <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_forward_visible_cursor_positions", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardVisibleCursorPositions <- function(object, count) { checkPtrType(object, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_iter_backward_visible_cursor_positions", object, count, PACKAGE = "RGtk2") return(w) } gtkTextIterSetOffset <- function(object, char.offset) { checkPtrType(object, "GtkTextIter") char.offset <- as.integer(char.offset) w <- .RGtkCall("S_gtk_text_iter_set_offset", object, char.offset, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterSetLine <- function(object, line.number) { checkPtrType(object, "GtkTextIter") line.number <- as.integer(line.number) w <- .RGtkCall("S_gtk_text_iter_set_line", object, line.number, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterSetLineOffset <- function(object, char.on.line) { checkPtrType(object, "GtkTextIter") char.on.line <- as.integer(char.on.line) w <- .RGtkCall("S_gtk_text_iter_set_line_offset", object, char.on.line, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterSetLineIndex <- function(object, byte.on.line) { checkPtrType(object, "GtkTextIter") byte.on.line <- as.integer(byte.on.line) w <- .RGtkCall("S_gtk_text_iter_set_line_index", object, byte.on.line, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterForwardToEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_to_end", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterForwardToLineEnd <- function(object) { checkPtrType(object, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_to_line_end", object, PACKAGE = "RGtk2") return(w) } gtkTextIterSetVisibleLineOffset <- function(object, char.on.line) { checkPtrType(object, "GtkTextIter") char.on.line <- as.integer(char.on.line) w <- .RGtkCall("S_gtk_text_iter_set_visible_line_offset", object, char.on.line, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterSetVisibleLineIndex <- function(object, byte.on.line) { checkPtrType(object, "GtkTextIter") byte.on.line <- as.integer(byte.on.line) w <- .RGtkCall("S_gtk_text_iter_set_visible_line_index", object, byte.on.line, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextIterForwardToTagToggle <- function(object, tag = NULL) { checkPtrType(object, "GtkTextIter") if (!is.null( tag )) checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_forward_to_tag_toggle", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardToTagToggle <- function(object, tag = NULL) { checkPtrType(object, "GtkTextIter") if (!is.null( tag )) checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_iter_backward_to_tag_toggle", object, tag, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardFindChar <- function(object, pred, user.data = NULL, limit) { checkPtrType(object, "GtkTextIter") pred <- as.function(pred) checkPtrType(limit, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_find_char", object, pred, user.data, limit, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardFindChar <- function(object, pred, user.data = NULL, limit) { checkPtrType(object, "GtkTextIter") pred <- as.function(pred) checkPtrType(limit, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_find_char", object, pred, user.data, limit, PACKAGE = "RGtk2") return(w) } gtkTextIterForwardSearch <- function(object, str, flags, limit = NULL) { checkPtrType(object, "GtkTextIter") str <- as.character(str) if (!is.null( limit )) checkPtrType(limit, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_forward_search", object, str, flags, limit, PACKAGE = "RGtk2") return(w) } gtkTextIterBackwardSearch <- function(object, str, flags, limit = NULL) { checkPtrType(object, "GtkTextIter") str <- as.character(str) if (!is.null( limit )) checkPtrType(limit, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_backward_search", object, str, flags, limit, PACKAGE = "RGtk2") return(w) } gtkTextIterEqual <- function(object, rhs) { checkPtrType(object, "GtkTextIter") checkPtrType(rhs, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_equal", object, rhs, PACKAGE = "RGtk2") return(w) } gtkTextIterCompare <- function(object, rhs) { checkPtrType(object, "GtkTextIter") checkPtrType(rhs, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_compare", object, rhs, PACKAGE = "RGtk2") return(w) } gtkTextIterInRange <- function(object, start, end) { checkPtrType(object, "GtkTextIter") checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_in_range", object, start, end, PACKAGE = "RGtk2") return(w) } gtkTextIterOrder <- function(object, second) { checkPtrType(object, "GtkTextIter") checkPtrType(second, "GtkTextIter") w <- .RGtkCall("S_gtk_text_iter_order", object, second, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextMarkGetType <- function() { w <- .RGtkCall("S_gtk_text_mark_get_type", PACKAGE = "RGtk2") return(w) } gtkTextMarkSetVisible <- function(object, setting) { checkPtrType(object, "GtkTextMark") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_text_mark_set_visible", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextMarkGetVisible <- function(object) { checkPtrType(object, "GtkTextMark") w <- .RGtkCall("S_gtk_text_mark_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkTextMarkGetName <- function(object) { checkPtrType(object, "GtkTextMark") w <- .RGtkCall("S_gtk_text_mark_get_name", object, PACKAGE = "RGtk2") return(w) } gtkTextMarkGetDeleted <- function(object) { checkPtrType(object, "GtkTextMark") w <- .RGtkCall("S_gtk_text_mark_get_deleted", object, PACKAGE = "RGtk2") return(w) } gtkTextMarkGetBuffer <- function(object) { checkPtrType(object, "GtkTextMark") w <- .RGtkCall("S_gtk_text_mark_get_buffer", object, PACKAGE = "RGtk2") return(w) } gtkTextMarkGetLeftGravity <- function(object) { checkPtrType(object, "GtkTextMark") w <- .RGtkCall("S_gtk_text_mark_get_left_gravity", object, PACKAGE = "RGtk2") return(w) } gtkTextTagGetType <- function() { w <- .RGtkCall("S_gtk_text_tag_get_type", PACKAGE = "RGtk2") return(w) } gtkTextTagNew <- function(name = NULL) { w <- .RGtkCall("S_gtk_text_tag_new", name, PACKAGE = "RGtk2") return(w) } gtkTextTagGetPriority <- function(object) { checkPtrType(object, "GtkTextTag") w <- .RGtkCall("S_gtk_text_tag_get_priority", object, PACKAGE = "RGtk2") return(w) } gtkTextTagSetPriority <- function(object, priority) { checkPtrType(object, "GtkTextTag") priority <- as.integer(priority) w <- .RGtkCall("S_gtk_text_tag_set_priority", object, priority, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagEvent <- function(object, event.object, event, iter) { checkPtrType(object, "GtkTextTag") checkPtrType(event.object, "GObject") checkPtrType(event, "GdkEvent") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_tag_event", object, event.object, event, iter, PACKAGE = "RGtk2") return(w) } gtkTextAttributesNew <- function() { w <- .RGtkCall("S_gtk_text_attributes_new", PACKAGE = "RGtk2") return(w) } gtkTextAttributesCopy <- function(object) { checkPtrType(object, "GtkTextAttributes") w <- .RGtkCall("S_gtk_text_attributes_copy", object, PACKAGE = "RGtk2") return(w) } gtkTextAttributesCopyValues <- function(object, dest) { checkPtrType(object, "GtkTextAttributes") checkPtrType(dest, "GtkTextAttributes") w <- .RGtkCall("S_gtk_text_attributes_copy_values", object, dest, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextAttributesGetType <- function() { w <- .RGtkCall("S_gtk_text_attributes_get_type", PACKAGE = "RGtk2") return(w) } gtkTextTagTableGetType <- function() { w <- .RGtkCall("S_gtk_text_tag_table_get_type", PACKAGE = "RGtk2") return(w) } gtkTextTagTableNew <- function() { w <- .RGtkCall("S_gtk_text_tag_table_new", PACKAGE = "RGtk2") return(w) } gtkTextTagTableAdd <- function(object, tag) { checkPtrType(object, "GtkTextTagTable") checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_tag_table_add", object, tag, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagTableRemove <- function(object, tag) { checkPtrType(object, "GtkTextTagTable") checkPtrType(tag, "GtkTextTag") w <- .RGtkCall("S_gtk_text_tag_table_remove", object, tag, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagTableLookup <- function(object, name) { checkPtrType(object, "GtkTextTagTable") name <- as.character(name) w <- .RGtkCall("S_gtk_text_tag_table_lookup", object, name, PACKAGE = "RGtk2") return(w) } gtkTextTagTableForeach <- function(object, func, data = NULL) { checkPtrType(object, "GtkTextTagTable") func <- as.function(func) w <- .RGtkCall("S_gtk_text_tag_table_foreach", object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextTagTableGetSize <- function(object) { checkPtrType(object, "GtkTextTagTable") w <- .RGtkCall("S_gtk_text_tag_table_get_size", object, PACKAGE = "RGtk2") return(w) } gtkTextViewGetType <- function() { w <- .RGtkCall("S_gtk_text_view_get_type", PACKAGE = "RGtk2") return(w) } gtkTextViewNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_text_view_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTextViewNewWithBuffer <- function(buffer = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_text_view_new_with_buffer", buffer, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTextViewSetBuffer <- function(object, buffer) { checkPtrType(object, "GtkTextView") checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_view_set_buffer", object, buffer, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetBuffer <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_buffer", object, PACKAGE = "RGtk2") return(w) } gtkTextViewScrollToIter <- function(object, iter, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") within.margin <- as.numeric(within.margin) use.align <- as.logical(use.align) xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_text_view_scroll_to_iter", object, iter, within.margin, use.align, xalign, yalign, PACKAGE = "RGtk2") return(w) } gtkTextViewScrollToMark <- function(object, mark, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5) { checkPtrType(object, "GtkTextView") checkPtrType(mark, "GtkTextMark") within.margin <- as.numeric(within.margin) use.align <- as.logical(use.align) xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_text_view_scroll_to_mark", object, mark, within.margin, use.align, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewScrollMarkOnscreen <- function(object, mark) { checkPtrType(object, "GtkTextView") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_view_scroll_mark_onscreen", object, mark, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewMoveMarkOnscreen <- function(object, mark) { checkPtrType(object, "GtkTextView") checkPtrType(mark, "GtkTextMark") w <- .RGtkCall("S_gtk_text_view_move_mark_onscreen", object, mark, PACKAGE = "RGtk2") return(w) } gtkTextViewPlaceCursorOnscreen <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_place_cursor_onscreen", object, PACKAGE = "RGtk2") return(w) } gtkTextViewGetVisibleRect <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_visible_rect", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetCursorVisible <- function(object, setting) { checkPtrType(object, "GtkTextView") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_text_view_set_cursor_visible", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetCursorVisible <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_cursor_visible", object, PACKAGE = "RGtk2") return(w) } gtkTextViewGetIterLocation <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_get_iter_location", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewGetIterAtLocation <- function(object, x, y) { checkPtrType(object, "GtkTextView") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_text_view_get_iter_at_location", object, x, y, PACKAGE = "RGtk2") return(w) } gtkTextViewGetIterAtPosition <- function(object, x, y) { checkPtrType(object, "GtkTextView") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_text_view_get_iter_at_position", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetLineYrange <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_get_line_yrange", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetLineAtY <- function(object, y) { checkPtrType(object, "GtkTextView") y <- as.integer(y) w <- .RGtkCall("S_gtk_text_view_get_line_at_y", object, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewBufferToWindowCoords <- function(object, win, buffer.x, buffer.y) { checkPtrType(object, "GtkTextView") buffer.x <- as.integer(buffer.x) buffer.y <- as.integer(buffer.y) w <- .RGtkCall("S_gtk_text_view_buffer_to_window_coords", object, win, buffer.x, buffer.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewWindowToBufferCoords <- function(object, win, window.x, window.y) { checkPtrType(object, "GtkTextView") window.x <- as.integer(window.x) window.y <- as.integer(window.y) w <- .RGtkCall("S_gtk_text_view_window_to_buffer_coords", object, win, window.x, window.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetWindow <- function(object, win) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_window", object, win, PACKAGE = "RGtk2") return(w) } gtkTextViewGetWindowType <- function(object, window) { checkPtrType(object, "GtkTextView") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_text_view_get_window_type", object, window, PACKAGE = "RGtk2") return(w) } gtkTextViewSetBorderWindowSize <- function(object, type, size) { checkPtrType(object, "GtkTextView") size <- as.integer(size) w <- .RGtkCall("S_gtk_text_view_set_border_window_size", object, type, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetBorderWindowSize <- function(object, type) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_border_window_size", object, type, PACKAGE = "RGtk2") return(w) } gtkTextViewForwardDisplayLine <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_forward_display_line", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewBackwardDisplayLine <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_backward_display_line", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewForwardDisplayLineEnd <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_forward_display_line_end", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewBackwardDisplayLineStart <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_backward_display_line_start", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewStartsDisplayLine <- function(object, iter) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") w <- .RGtkCall("S_gtk_text_view_starts_display_line", object, iter, PACKAGE = "RGtk2") return(w) } gtkTextViewMoveVisually <- function(object, iter, count) { checkPtrType(object, "GtkTextView") checkPtrType(iter, "GtkTextIter") count <- as.integer(count) w <- .RGtkCall("S_gtk_text_view_move_visually", object, iter, count, PACKAGE = "RGtk2") return(w) } gtkTextViewAddChildAtAnchor <- function(object, child, anchor) { checkPtrType(object, "GtkTextView") checkPtrType(child, "GtkWidget") checkPtrType(anchor, "GtkTextChildAnchor") w <- .RGtkCall("S_gtk_text_view_add_child_at_anchor", object, child, anchor, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewAddChildInWindow <- function(object, child, which.window, xpos, ypos) { checkPtrType(object, "GtkTextView") checkPtrType(child, "GtkWidget") xpos <- as.integer(xpos) ypos <- as.integer(ypos) w <- .RGtkCall("S_gtk_text_view_add_child_in_window", object, child, which.window, xpos, ypos, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewMoveChild <- function(object, child, xpos, ypos) { checkPtrType(object, "GtkTextView") checkPtrType(child, "GtkWidget") xpos <- as.integer(xpos) ypos <- as.integer(ypos) w <- .RGtkCall("S_gtk_text_view_move_child", object, child, xpos, ypos, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewSetWrapMode <- function(object, wrap.mode) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_set_wrap_mode", object, wrap.mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetWrapMode <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_wrap_mode", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetEditable <- function(object, setting) { checkPtrType(object, "GtkTextView") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_text_view_set_editable", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetEditable <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_editable", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetOverwrite <- function(object, overwrite) { checkPtrType(object, "GtkTextView") overwrite <- as.logical(overwrite) w <- .RGtkCall("S_gtk_text_view_set_overwrite", object, overwrite, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetOverwrite <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_overwrite", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetAcceptsTab <- function(object, accepts.tab) { checkPtrType(object, "GtkTextView") accepts.tab <- as.logical(accepts.tab) w <- .RGtkCall("S_gtk_text_view_set_accepts_tab", object, accepts.tab, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetAcceptsTab <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_accepts_tab", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetPixelsAboveLines <- function(object, pixels.above.lines) { checkPtrType(object, "GtkTextView") pixels.above.lines <- as.integer(pixels.above.lines) w <- .RGtkCall("S_gtk_text_view_set_pixels_above_lines", object, pixels.above.lines, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetPixelsAboveLines <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_pixels_above_lines", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetPixelsBelowLines <- function(object, pixels.below.lines) { checkPtrType(object, "GtkTextView") pixels.below.lines <- as.integer(pixels.below.lines) w <- .RGtkCall("S_gtk_text_view_set_pixels_below_lines", object, pixels.below.lines, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetPixelsBelowLines <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_pixels_below_lines", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetPixelsInsideWrap <- function(object, pixels.inside.wrap) { checkPtrType(object, "GtkTextView") pixels.inside.wrap <- as.integer(pixels.inside.wrap) w <- .RGtkCall("S_gtk_text_view_set_pixels_inside_wrap", object, pixels.inside.wrap, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetPixelsInsideWrap <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_pixels_inside_wrap", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetJustification <- function(object, justification) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_set_justification", object, justification, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetJustification <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_justification", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetLeftMargin <- function(object, left.margin) { checkPtrType(object, "GtkTextView") left.margin <- as.integer(left.margin) w <- .RGtkCall("S_gtk_text_view_set_left_margin", object, left.margin, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetLeftMargin <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_left_margin", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetRightMargin <- function(object, right.margin) { checkPtrType(object, "GtkTextView") right.margin <- as.integer(right.margin) w <- .RGtkCall("S_gtk_text_view_set_right_margin", object, right.margin, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetRightMargin <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_right_margin", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetIndent <- function(object, indent) { checkPtrType(object, "GtkTextView") indent <- as.integer(indent) w <- .RGtkCall("S_gtk_text_view_set_indent", object, indent, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetIndent <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_indent", object, PACKAGE = "RGtk2") return(w) } gtkTextViewSetTabs <- function(object, tabs) { checkPtrType(object, "GtkTextView") checkPtrType(tabs, "PangoTabArray") w <- .RGtkCall("S_gtk_text_view_set_tabs", object, tabs, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextViewGetTabs <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_tabs", object, PACKAGE = "RGtk2") return(w) } gtkTextViewGetDefaultAttributes <- function(object) { checkPtrType(object, "GtkTextView") w <- .RGtkCall("S_gtk_text_view_get_default_attributes", object, PACKAGE = "RGtk2") return(w) } gtkTipsQueryGetType <- function() { w <- .RGtkCall("S_gtk_tips_query_get_type", PACKAGE = "RGtk2") return(w) } gtkTipsQueryNew <- function(show = TRUE) { if(getOption("depwarn")) .Deprecated("GtkTooltips", "RGtk2") w <- .RGtkCall("S_gtk_tips_query_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTipsQueryStartQuery <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltips", "RGtk2") checkPtrType(object, "GtkTipsQuery") w <- .RGtkCall("S_gtk_tips_query_start_query", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQueryStopQuery <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltips", "RGtk2") checkPtrType(object, "GtkTipsQuery") w <- .RGtkCall("S_gtk_tips_query_stop_query", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQuerySetCaller <- function(object, caller) { if(getOption("depwarn")) .Deprecated("GtkTooltips", "RGtk2") checkPtrType(object, "GtkTipsQuery") checkPtrType(caller, "GtkWidget") w <- .RGtkCall("S_gtk_tips_query_set_caller", object, caller, PACKAGE = "RGtk2") return(invisible(w)) } gtkTipsQuerySetLabels <- function(object, label.inactive, label.no.tip) { if(getOption("depwarn")) .Deprecated("GtkTooltips", "RGtk2") checkPtrType(object, "GtkTipsQuery") label.inactive <- as.character(label.inactive) label.no.tip <- as.character(label.no.tip) w <- .RGtkCall("S_gtk_tips_query_set_labels", object, label.inactive, label.no.tip, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleActionGetType <- function() { w <- .RGtkCall("S_gtk_toggle_action_get_type", PACKAGE = "RGtk2") return(w) } gtkToggleActionNew <- function(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL) { w <- .RGtkCall("S_gtk_toggle_action_new", name, label, tooltip, stock.id, PACKAGE = "RGtk2") return(w) } gtkToggleActionToggled <- function(object) { checkPtrType(object, "GtkToggleAction") w <- .RGtkCall("S_gtk_toggle_action_toggled", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleActionSetActive <- function(object, is.active) { checkPtrType(object, "GtkToggleAction") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_toggle_action_set_active", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleActionGetActive <- function(object) { checkPtrType(object, "GtkToggleAction") w <- .RGtkCall("S_gtk_toggle_action_get_active", object, PACKAGE = "RGtk2") return(w) } gtkToggleActionSetDrawAsRadio <- function(object, draw.as.radio) { checkPtrType(object, "GtkToggleAction") draw.as.radio <- as.logical(draw.as.radio) w <- .RGtkCall("S_gtk_toggle_action_set_draw_as_radio", object, draw.as.radio, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleActionGetDrawAsRadio <- function(object) { checkPtrType(object, "GtkToggleAction") w <- .RGtkCall("S_gtk_toggle_action_get_draw_as_radio", object, PACKAGE = "RGtk2") return(w) } gtkToggleButtonGetType <- function() { w <- .RGtkCall("S_gtk_toggle_button_get_type", PACKAGE = "RGtk2") return(w) } gtkToggleButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_toggle_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToggleButtonNewWithLabel <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_toggle_button_new_with_label", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToggleButtonNewWithMnemonic <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_toggle_button_new_with_mnemonic", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToggleButtonSetMode <- function(object, draw.indicator) { checkPtrType(object, "GtkToggleButton") draw.indicator <- as.logical(draw.indicator) w <- .RGtkCall("S_gtk_toggle_button_set_mode", object, draw.indicator, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleButtonGetMode <- function(object) { checkPtrType(object, "GtkToggleButton") w <- .RGtkCall("S_gtk_toggle_button_get_mode", object, PACKAGE = "RGtk2") return(w) } gtkToggleButtonSetActive <- function(object, is.active) { checkPtrType(object, "GtkToggleButton") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_toggle_button_set_active", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleButtonGetActive <- function(object) { checkPtrType(object, "GtkToggleButton") w <- .RGtkCall("S_gtk_toggle_button_get_active", object, PACKAGE = "RGtk2") return(w) } gtkToggleButtonToggled <- function(object) { checkPtrType(object, "GtkToggleButton") w <- .RGtkCall("S_gtk_toggle_button_toggled", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleButtonSetInconsistent <- function(object, setting) { checkPtrType(object, "GtkToggleButton") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_toggle_button_set_inconsistent", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleButtonGetInconsistent <- function(object) { checkPtrType(object, "GtkToggleButton") w <- .RGtkCall("S_gtk_toggle_button_get_inconsistent", object, PACKAGE = "RGtk2") return(w) } gtkToggleButtonSetState <- function(object, is.active) { if(getOption("depwarn")) .Deprecated("gtkToggleButtonSetActive", "RGtk2") checkPtrType(object, "GtkToggleButton") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_toggle_button_set_state", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleToolButtonGetType <- function() { w <- .RGtkCall("S_gtk_toggle_tool_button_get_type", PACKAGE = "RGtk2") return(w) } gtkToggleToolButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_toggle_tool_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToggleToolButtonNewFromStock <- function(stock.id) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_toggle_tool_button_new_from_stock", stock.id, PACKAGE = "RGtk2") return(w) } gtkToggleToolButtonSetActive <- function(object, is.active) { checkPtrType(object, "GtkToggleToolButton") is.active <- as.logical(is.active) w <- .RGtkCall("S_gtk_toggle_tool_button_set_active", object, is.active, PACKAGE = "RGtk2") return(invisible(w)) } gtkToggleToolButtonGetActive <- function(object) { checkPtrType(object, "GtkToggleToolButton") w <- .RGtkCall("S_gtk_toggle_tool_button_get_active", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetType <- function() { w <- .RGtkCall("S_gtk_toolbar_get_type", PACKAGE = "RGtk2") return(w) } gtkToolbarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_toolbar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolbarInsert <- function(object, item, pos) { checkPtrType(object, "GtkToolbar") checkPtrType(item, "GtkToolItem") pos <- as.integer(pos) w <- .RGtkCall("S_gtk_toolbar_insert", object, item, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarGetItemIndex <- function(object, item) { checkPtrType(object, "GtkToolbar") checkPtrType(item, "GtkToolItem") w <- .RGtkCall("S_gtk_toolbar_get_item_index", object, item, PACKAGE = "RGtk2") return(w) } gtkToolbarGetNItems <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_n_items", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetNthItem <- function(object, n) { checkPtrType(object, "GtkToolbar") n <- as.integer(n) w <- .RGtkCall("S_gtk_toolbar_get_nth_item", object, n, PACKAGE = "RGtk2") return(w) } gtkToolbarGetDropIndex <- function(object, x, y) { checkPtrType(object, "GtkToolbar") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_toolbar_get_drop_index", object, x, y, PACKAGE = "RGtk2") return(w) } gtkToolbarSetDropHighlightItem <- function(object, tool.item = NULL, index) { checkPtrType(object, "GtkToolbar") if (!is.null( tool.item )) checkPtrType(tool.item, "GtkToolItem") index <- as.integer(index) w <- .RGtkCall("S_gtk_toolbar_set_drop_highlight_item", object, tool.item, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarSetShowArrow <- function(object, show.arrow) { checkPtrType(object, "GtkToolbar") show.arrow <- as.logical(show.arrow) w <- .RGtkCall("S_gtk_toolbar_set_show_arrow", object, show.arrow, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarGetShowArrow <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_show_arrow", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetReliefStyle <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_relief_style", object, PACKAGE = "RGtk2") return(w) } gtkToolbarAppendItem <- function(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) w <- .RGtkCall("S_gtk_toolbar_append_item", object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, PACKAGE = "RGtk2") return(w) } gtkToolbarPrependItem <- function(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) w <- .RGtkCall("S_gtk_toolbar_prepend_item", object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, PACKAGE = "RGtk2") return(w) } gtkToolbarInsertItem <- function(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_insert_item", object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position, PACKAGE = "RGtk2") return(w) } gtkToolbarInsertStock <- function(object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") stock.id <- as.character(stock.id) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) callback <- as.function(callback) position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_insert_stock", object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position, PACKAGE = "RGtk2") return(w) } gtkToolbarAppendSpace <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_append_space", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarPrependSpace <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_prepend_space", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarInsertSpace <- function(object, position) { checkPtrType(object, "GtkToolbar") position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_insert_space", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarRemoveSpace <- function(object, position) { checkPtrType(object, "GtkToolbar") position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_remove_space", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarAppendElement <- function(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) w <- .RGtkCall("S_gtk_toolbar_append_element", object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data, PACKAGE = "RGtk2") return(w) } gtkToolbarPrependElement <- function(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) w <- .RGtkCall("S_gtk_toolbar_prepend_element", object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data, PACKAGE = "RGtk2") return(w) } gtkToolbarInsertElement <- function(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL, position) { if(getOption("depwarn")) .Deprecated("gtkToolbarInsert", "RGtk2") checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") text <- as.character(text) tooltip.text <- as.character(tooltip.text) tooltip.private.text <- as.character(tooltip.private.text) checkPtrType(icon, "GtkWidget") callback <- as.function(callback) position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_insert_element", object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position, PACKAGE = "RGtk2") return(w) } gtkToolbarAppendWidget <- function(object, widget, tooltip.text = NULL, tooltip.private.text = NULL) { checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") if (!is.null( tooltip.text )) tooltip.text <- as.character(tooltip.text) if (!is.null( tooltip.private.text )) tooltip.private.text <- as.character(tooltip.private.text) w <- .RGtkCall("S_gtk_toolbar_append_widget", object, widget, tooltip.text, tooltip.private.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarPrependWidget <- function(object, widget, tooltip.text = NULL, tooltip.private.text = NULL) { checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") if (!is.null( tooltip.text )) tooltip.text <- as.character(tooltip.text) if (!is.null( tooltip.private.text )) tooltip.private.text <- as.character(tooltip.private.text) w <- .RGtkCall("S_gtk_toolbar_prepend_widget", object, widget, tooltip.text, tooltip.private.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarInsertWidget <- function(object, widget, tooltip.text = NULL, tooltip.private.text = NULL, position) { checkPtrType(object, "GtkToolbar") checkPtrType(widget, "GtkWidget") if (!is.null( tooltip.text )) tooltip.text <- as.character(tooltip.text) if (!is.null( tooltip.private.text )) tooltip.private.text <- as.character(tooltip.private.text) position <- as.integer(position) w <- .RGtkCall("S_gtk_toolbar_insert_widget", object, widget, tooltip.text, tooltip.private.text, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarSetStyle <- function(object, style) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_set_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarSetIconSize <- function(object, icon.size) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_set_icon_size", object, icon.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarSetTooltips <- function(object, enable) { if(getOption("depwarn")) .Deprecated("'gtk-enable-tooltips' property on GtkSettings", "RGtk2") checkPtrType(object, "GtkToolbar") enable <- as.logical(enable) w <- .RGtkCall("S_gtk_toolbar_set_tooltips", object, enable, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarUnsetStyle <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_unset_style", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarUnsetIconSize <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_unset_icon_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolbarGetOrientation <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetStyle <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_style", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetIconSize <- function(object) { checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_icon_size", object, PACKAGE = "RGtk2") return(w) } gtkToolbarGetTooltips <- function(object) { if(getOption("depwarn")) .Deprecated("'gtk-enable-tooltips' property on GtkSettings", "RGtk2") checkPtrType(object, "GtkToolbar") w <- .RGtkCall("S_gtk_toolbar_get_tooltips", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonGetType <- function() { w <- .RGtkCall("S_gtk_tool_button_get_type", PACKAGE = "RGtk2") return(w) } gtkToolButtonNew <- function(icon.widget = NULL, label = NULL, show = TRUE) { if (!is.null( icon.widget )) checkPtrType(icon.widget, "GtkWidget") if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_tool_button_new", icon.widget, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolButtonNewFromStock <- function(stock.id, show = TRUE) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_tool_button_new_from_stock", stock.id, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolButtonSetLabel <- function(object, label = NULL) { checkPtrType(object, "GtkToolButton") if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_tool_button_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonGetLabel <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_label", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonSetUseUnderline <- function(object, use.underline) { checkPtrType(object, "GtkToolButton") use.underline <- as.logical(use.underline) w <- .RGtkCall("S_gtk_tool_button_set_use_underline", object, use.underline, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonGetUseUnderline <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_use_underline", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonSetStockId <- function(object, stock.id = NULL) { checkPtrType(object, "GtkToolButton") if (!is.null( stock.id )) stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_tool_button_set_stock_id", object, stock.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonSetIconName <- function(object, icon.name) { checkPtrType(object, "GtkToolButton") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_tool_button_set_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonGetIconName <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonGetStockId <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_stock_id", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonSetIconWidget <- function(object, icon.widget = NULL) { checkPtrType(object, "GtkToolButton") if (!is.null( icon.widget )) checkPtrType(icon.widget, "GtkWidget") w <- .RGtkCall("S_gtk_tool_button_set_icon_widget", object, icon.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonGetIconWidget <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_icon_widget", object, PACKAGE = "RGtk2") return(w) } gtkToolButtonSetLabelWidget <- function(object, label.widget = NULL) { checkPtrType(object, "GtkToolButton") if (!is.null( label.widget )) checkPtrType(label.widget, "GtkWidget") w <- .RGtkCall("S_gtk_tool_button_set_label_widget", object, label.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolButtonGetLabelWidget <- function(object) { checkPtrType(object, "GtkToolButton") w <- .RGtkCall("S_gtk_tool_button_get_label_widget", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetType <- function() { w <- .RGtkCall("S_gtk_tool_item_get_type", PACKAGE = "RGtk2") return(w) } gtkToolItemNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_tool_item_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolItemSetHomogeneous <- function(object, homogeneous) { checkPtrType(object, "GtkToolItem") homogeneous <- as.logical(homogeneous) w <- .RGtkCall("S_gtk_tool_item_set_homogeneous", object, homogeneous, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetHomogeneous <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_homogeneous", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetExpand <- function(object, expand) { checkPtrType(object, "GtkToolItem") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tool_item_set_expand", object, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetExpand <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_expand", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetTooltip <- function(object, tooltips, tip.text = NULL, tip.private = NULL) { checkPtrType(object, "GtkToolItem") checkPtrType(tooltips, "GtkTooltips") if (!is.null( tip.text )) tip.text <- as.character(tip.text) if (!is.null( tip.private )) tip.private <- as.character(tip.private) w <- .RGtkCall("S_gtk_tool_item_set_tooltip", object, tooltips, tip.text, tip.private, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemSetUseDragWindow <- function(object, use.drag.window) { checkPtrType(object, "GtkToolItem") use.drag.window <- as.logical(use.drag.window) w <- .RGtkCall("S_gtk_tool_item_set_use_drag_window", object, use.drag.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetUseDragWindow <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_use_drag_window", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetVisibleHorizontal <- function(object, visible.horizontal) { checkPtrType(object, "GtkToolItem") visible.horizontal <- as.logical(visible.horizontal) w <- .RGtkCall("S_gtk_tool_item_set_visible_horizontal", object, visible.horizontal, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetVisibleHorizontal <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_visible_horizontal", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetVisibleVertical <- function(object, visible.vertical) { checkPtrType(object, "GtkToolItem") visible.vertical <- as.logical(visible.vertical) w <- .RGtkCall("S_gtk_tool_item_set_visible_vertical", object, visible.vertical, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetVisibleVertical <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_visible_vertical", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetIsImportant <- function(object, is.important) { checkPtrType(object, "GtkToolItem") is.important <- as.logical(is.important) w <- .RGtkCall("S_gtk_tool_item_set_is_important", object, is.important, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetIsImportant <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_is_important", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetIconSize <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_icon_size", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetOrientation <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetToolbarStyle <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_toolbar_style", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetReliefStyle <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_relief_style", object, PACKAGE = "RGtk2") return(w) } gtkToolItemRetrieveProxyMenuItem <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_retrieve_proxy_menu_item", object, PACKAGE = "RGtk2") return(w) } gtkToolItemSetProxyMenuItem <- function(object, menu.item.id, menu.item = NULL) { checkPtrType(object, "GtkToolItem") menu.item.id <- as.character(menu.item.id) if (!is.null( menu.item )) checkPtrType(menu.item, "GtkWidget") w <- .RGtkCall("S_gtk_tool_item_set_proxy_menu_item", object, menu.item.id, menu.item, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGetProxyMenuItem <- function(object, menu.item.id) { checkPtrType(object, "GtkToolItem") menu.item.id <- as.character(menu.item.id) w <- .RGtkCall("S_gtk_tool_item_get_proxy_menu_item", object, menu.item.id, PACKAGE = "RGtk2") return(w) } gtkToolItemRebuildMenu <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_rebuild_menu", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsGetType <- function() { w <- .RGtkCall("S_gtk_tooltips_get_type", PACKAGE = "RGtk2") return(w) } gtkTooltipsNew <- function() { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") w <- .RGtkCall("S_gtk_tooltips_new", PACKAGE = "RGtk2") return(w) } gtkTooltipsEnable <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkTooltips") w <- .RGtkCall("S_gtk_tooltips_enable", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsDisable <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkTooltips") w <- .RGtkCall("S_gtk_tooltips_disable", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsSetDelay <- function(object, delay) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkTooltips") delay <- as.numeric(delay) w <- .RGtkCall("S_gtk_tooltips_set_delay", object, delay, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsSetTip <- function(object, widget, tip.text = NULL, tip.private = NULL) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkTooltips") checkPtrType(widget, "GtkWidget") if (!is.null( tip.text )) tip.text <- as.character(tip.text) if (!is.null( tip.private )) tip.private <- as.character(tip.private) w <- .RGtkCall("S_gtk_tooltips_set_tip", object, widget, tip.text, tip.private, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsDataGet <- function(widget) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_tooltips_data_get", widget, PACKAGE = "RGtk2") return(w) } gtkTooltipsForceWindow <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkTooltips") w <- .RGtkCall("S_gtk_tooltips_force_window", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipsGetInfoFromTipWindow <- function(object) { if(getOption("depwarn")) .Deprecated("GtkTooltip", "RGtk2") checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_tooltips_get_info_from_tip_window", object, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceGetType <- function() { w <- .RGtkCall("S_gtk_tree_drag_source_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceRowDraggable <- function(object, path) { checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_drag_source_row_draggable", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceDragDataDelete <- function(object, path) { checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_drag_source_drag_data_delete", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeDragSourceDragDataGet <- function(object, path) { checkPtrType(object, "GtkTreeDragSource") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_drag_source_drag_data_get", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeDragDestGetType <- function() { w <- .RGtkCall("S_gtk_tree_drag_dest_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeDragDestDragDataReceived <- function(object, dest, selection.data) { checkPtrType(object, "GtkTreeDragDest") checkPtrType(dest, "GtkTreePath") checkPtrType(selection.data, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_drag_dest_drag_data_received", object, dest, selection.data, PACKAGE = "RGtk2") return(w) } gtkTreeDragDestRowDropPossible <- function(object, dest.path, selection.data) { checkPtrType(object, "GtkTreeDragDest") checkPtrType(dest.path, "GtkTreePath") checkPtrType(selection.data, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_drag_dest_row_drop_possible", object, dest.path, selection.data, PACKAGE = "RGtk2") return(w) } gtkTreeSetRowDragData <- function(object, tree.model, path) { checkPtrType(object, "GtkSelectionData") checkPtrType(tree.model, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_set_row_drag_data", object, tree.model, path, PACKAGE = "RGtk2") return(w) } gtkTreeGetRowDragData <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_tree_get_row_drag_data", object, PACKAGE = "RGtk2") return(w) } gtkTreePathNew <- function() { w <- .RGtkCall("S_gtk_tree_path_new", PACKAGE = "RGtk2") return(w) } gtkTreePathNewFromString <- function(path) { path <- as.character(path) w <- .RGtkCall("S_gtk_tree_path_new_from_string", path, PACKAGE = "RGtk2") return(w) } gtkTreePathToString <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_to_string", object, PACKAGE = "RGtk2") return(w) } gtkTreePathNewFirst <- function() { w <- .RGtkCall("S_gtk_tree_path_new_first", PACKAGE = "RGtk2") return(w) } gtkTreePathAppendIndex <- function(object, index) { checkPtrType(object, "GtkTreePath") index <- as.integer(index) w <- .RGtkCall("S_gtk_tree_path_append_index", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreePathPrependIndex <- function(object, index) { checkPtrType(object, "GtkTreePath") index <- as.integer(index) w <- .RGtkCall("S_gtk_tree_path_prepend_index", object, index, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreePathGetDepth <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_get_depth", object, PACKAGE = "RGtk2") return(w) } gtkTreePathGetIndices <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_get_indices", object, PACKAGE = "RGtk2") return(w) } gtkTreePathCopy <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_copy", object, PACKAGE = "RGtk2") return(w) } gtkTreePathCompare <- function(object, b) { checkPtrType(object, "GtkTreePath") checkPtrType(b, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_compare", object, b, PACKAGE = "RGtk2") return(w) } gtkTreePathNext <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_next", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreePathPrev <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_prev", object, PACKAGE = "RGtk2") return(w) } gtkTreePathUp <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_up", object, PACKAGE = "RGtk2") return(w) } gtkTreePathDown <- function(object) { checkPtrType(object, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_down", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreePathIsAncestor <- function(object, descendant) { checkPtrType(object, "GtkTreePath") checkPtrType(descendant, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_is_ancestor", object, descendant, PACKAGE = "RGtk2") return(w) } gtkTreePathIsDescendant <- function(object, ancestor) { checkPtrType(object, "GtkTreePath") checkPtrType(ancestor, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_path_is_descendant", object, ancestor, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceGetType <- function() { w <- .RGtkCall("S_gtk_tree_row_reference_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceNew <- function(model, path) { checkPtrType(model, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_row_reference_new", model, path, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceNewProxy <- function(proxy, model, path) { checkPtrType(proxy, "GObject") checkPtrType(model, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_row_reference_new_proxy", proxy, model, path, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceGetPath <- function(object) { checkPtrType(object, "GtkTreeRowReference") w <- .RGtkCall("S_gtk_tree_row_reference_get_path", object, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceGetModel <- function(object) { checkPtrType(object, "GtkTreeRowReference") w <- .RGtkCall("S_gtk_tree_row_reference_get_model", object, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceValid <- function(object) { checkPtrType(object, "GtkTreeRowReference") w <- .RGtkCall("S_gtk_tree_row_reference_valid", object, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceCopy <- function(object) { checkPtrType(object, "GtkTreeRowReference") w <- .RGtkCall("S_gtk_tree_row_reference_copy", object, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceInserted <- function(proxy, path) { checkPtrType(proxy, "GObject") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_row_reference_inserted", proxy, path, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceDeleted <- function(proxy, path) { checkPtrType(proxy, "GObject") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_row_reference_deleted", proxy, path, PACKAGE = "RGtk2") return(w) } gtkTreeRowReferenceReordered <- function(proxy, path, iter, new.order) { checkPtrType(proxy, "GObject") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_tree_row_reference_reordered", proxy, path, iter, new.order, PACKAGE = "RGtk2") return(w) } gtkTreeIterCopy <- function(object) { checkPtrType(object, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_iter_copy", object, PACKAGE = "RGtk2") return(w) } gtkTreeIterGetType <- function() { w <- .RGtkCall("S_gtk_tree_iter_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeModelGetType <- function() { w <- .RGtkCall("S_gtk_tree_model_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeModelGetFlags <- function(object) { checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_get_flags", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetNColumns <- function(object) { checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_get_n_columns", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetColumnType <- function(object, index) { checkPtrType(object, "GtkTreeModel") index <- as.integer(index) w <- .RGtkCall("S_gtk_tree_model_get_column_type", object, index, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetIter <- function(object, path) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_get_iter", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetIterFromString <- function(object, path.string) { checkPtrType(object, "GtkTreeModel") path.string <- as.character(path.string) w <- .RGtkCall("S_gtk_tree_model_get_iter_from_string", object, path.string, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetStringFromIter <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_get_string_from_iter", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetIterRoot <- function(object) { checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_get_iter_root", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetIterFirst <- function(object) { checkPtrType(object, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_model_get_iter_first", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetPath <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_get_path", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelGetValue <- function(object, iter, column) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_model_get_value", object, iter, column, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterNext <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iter_next", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterChildren <- function(object, parent = NULL) { checkPtrType(object, "GtkTreeModel") if (!is.null( parent )) checkPtrType(parent, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iter_children", object, parent, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterHasChild <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iter_has_child", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterNChildren <- function(object, iter = NULL) { checkPtrType(object, "GtkTreeModel") if (!is.null( iter )) checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iter_n_children", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterNthChild <- function(object, parent = NULL, n) { checkPtrType(object, "GtkTreeModel") if (!is.null( parent )) checkPtrType(parent, "GtkTreeIter") n <- as.integer(n) w <- .RGtkCall("S_gtk_tree_model_iter_nth_child", object, parent, n, PACKAGE = "RGtk2") return(w) } gtkTreeModelIterParent <- function(object, child) { checkPtrType(object, "GtkTreeModel") checkPtrType(child, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_iter_parent", object, child, PACKAGE = "RGtk2") return(w) } gtkTreeModelRefNode <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_ref_node", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelUnrefNode <- function(object, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_unref_node", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelForeach <- function(object, func, user.data = NULL) { checkPtrType(object, "GtkTreeModel") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_model_foreach", object, func, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelRowChanged <- function(object, path, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_row_changed", object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelRowInserted <- function(object, path, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_row_inserted", object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelRowHasChildToggled <- function(object, path, iter) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_row_has_child_toggled", object, path, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelRowDeleted <- function(object, path) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_row_deleted", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelRowsReordered <- function(object, path, iter, new.order) { checkPtrType(object, "GtkTreeModel") checkPtrType(path, "GtkTreePath") checkPtrType(iter, "GtkTreeIter") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_tree_model_rows_reordered", object, path, iter, new.order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelFilterGetType <- function() { w <- .RGtkCall("S_gtk_tree_model_filter_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterNew <- function(child.model, root = NULL) { checkPtrType(child.model, "GtkTreeModel") if (!is.null( root )) checkPtrType(root, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_filter_new", child.model, root, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterSetVisibleFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeModelFilter") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_model_filter_set_visible_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterSetModifyFunc <- function(object, types, func, data = NULL) { checkPtrType(object, "GtkTreeModelFilter") types <- as.list(as.GType(types)) func <- as.function(func) w <- .RGtkCall("S_gtk_tree_model_filter_set_modify_func", object, types, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelFilterSetVisibleColumn <- function(object, column) { checkPtrType(object, "GtkTreeModelFilter") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_model_filter_set_visible_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelFilterGetModel <- function(object) { checkPtrType(object, "GtkTreeModelFilter") w <- .RGtkCall("S_gtk_tree_model_filter_get_model", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterConvertChildIterToIter <- function(object, child.iter) { checkPtrType(object, "GtkTreeModelFilter") checkPtrType(child.iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_filter_convert_child_iter_to_iter", object, child.iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterConvertIterToChildIter <- function(object, filter.iter) { checkPtrType(object, "GtkTreeModelFilter") checkPtrType(filter.iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_filter_convert_iter_to_child_iter", object, filter.iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterConvertChildPathToPath <- function(object, child.path) { checkPtrType(object, "GtkTreeModelFilter") checkPtrType(child.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_filter_convert_child_path_to_path", object, child.path, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterConvertPathToChildPath <- function(object, filter.path) { checkPtrType(object, "GtkTreeModelFilter") checkPtrType(filter.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_filter_convert_path_to_child_path", object, filter.path, PACKAGE = "RGtk2") return(w) } gtkTreeModelFilterRefilter <- function(object) { checkPtrType(object, "GtkTreeModelFilter") w <- .RGtkCall("S_gtk_tree_model_filter_refilter", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelFilterClearCache <- function(object) { checkPtrType(object, "GtkTreeModelFilter") w <- .RGtkCall("S_gtk_tree_model_filter_clear_cache", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelSortGetType <- function() { w <- .RGtkCall("S_gtk_tree_model_sort_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeModelSortNewWithModel <- function(child.model = NULL) { w <- .RGtkCall("S_gtk_tree_model_sort_new_with_model", child.model, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortGetModel <- function(object) { checkPtrType(object, "GtkTreeModelSort") w <- .RGtkCall("S_gtk_tree_model_sort_get_model", object, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortConvertChildPathToPath <- function(object, child.path) { checkPtrType(object, "GtkTreeModelSort") checkPtrType(child.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_sort_convert_child_path_to_path", object, child.path, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortConvertChildIterToIter <- function(object, child.iter) { checkPtrType(object, "GtkTreeModelSort") checkPtrType(child.iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_sort_convert_child_iter_to_iter", object, child.iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortConvertPathToChildPath <- function(object, sorted.path) { checkPtrType(object, "GtkTreeModelSort") checkPtrType(sorted.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_model_sort_convert_path_to_child_path", object, sorted.path, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortConvertIterToChildIter <- function(object, sorted.iter) { checkPtrType(object, "GtkTreeModelSort") checkPtrType(sorted.iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_sort_convert_iter_to_child_iter", object, sorted.iter, PACKAGE = "RGtk2") return(w) } gtkTreeModelSortResetDefaultSortFunc <- function(object) { checkPtrType(object, "GtkTreeModelSort") w <- .RGtkCall("S_gtk_tree_model_sort_reset_default_sort_func", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelSortClearCache <- function(object) { checkPtrType(object, "GtkTreeModelSort") w <- .RGtkCall("S_gtk_tree_model_sort_clear_cache", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeModelSortIterIsValid <- function(object, iter) { checkPtrType(object, "GtkTreeModelSort") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_model_sort_iter_is_valid", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionGetType <- function() { w <- .RGtkCall("S_gtk_tree_selection_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeSelectionSetMode <- function(object, type) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_set_mode", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionGetMode <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_mode", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionSetSelectFunction <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeSelection") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_selection_set_select_function", object, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionGetUserData <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_user_data", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionGetTreeView <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_tree_view", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionGetSelected <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_selected", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionGetSelectedRows <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_selected_rows", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionCountSelectedRows <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_count_selected_rows", object, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionSelectedForeach <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeSelection") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_selection_selected_foreach", object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionSelectPath <- function(object, path) { checkPtrType(object, "GtkTreeSelection") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_selection_select_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionUnselectPath <- function(object, path) { checkPtrType(object, "GtkTreeSelection") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_selection_unselect_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionSelectIter <- function(object, iter) { checkPtrType(object, "GtkTreeSelection") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_selection_select_iter", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionUnselectIter <- function(object, iter) { checkPtrType(object, "GtkTreeSelection") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_selection_unselect_iter", object, iter, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionPathIsSelected <- function(object, path) { checkPtrType(object, "GtkTreeSelection") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_selection_path_is_selected", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionIterIsSelected <- function(object, iter) { checkPtrType(object, "GtkTreeSelection") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_selection_iter_is_selected", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeSelectionSelectAll <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionUnselectAll <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionSelectRange <- function(object, start.path, end.path) { checkPtrType(object, "GtkTreeSelection") checkPtrType(start.path, "GtkTreePath") checkPtrType(end.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_selection_select_range", object, start.path, end.path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionUnselectRange <- function(object, start.path, end.path) { checkPtrType(object, "GtkTreeSelection") checkPtrType(start.path, "GtkTreePath") checkPtrType(end.path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_selection_unselect_range", object, start.path, end.path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableGetType <- function() { w <- .RGtkCall("S_gtk_tree_sortable_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeSortableSortColumnChanged <- function(object) { checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_sort_column_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableGetSortColumnId <- function(object) { checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_get_sort_column_id", object, PACKAGE = "RGtk2") return(w) } gtkTreeSortableSetSortColumnId <- function(object, sort.column.id, order) { checkPtrType(object, "GtkTreeSortable") sort.column.id <- as.integer(sort.column.id) w <- .RGtkCall("S_gtk_tree_sortable_set_sort_column_id", object, sort.column.id, order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSortableSetSortFunc <- function(object, sort.column.id, sort.func, user.data = NULL) { checkPtrType(object, "GtkTreeSortable") sort.column.id <- as.integer(sort.column.id) sort.func <- as.function(sort.func) w <- .RGtkCall("S_gtk_tree_sortable_set_sort_func", object, sort.column.id, sort.func, user.data, PACKAGE = "RGtk2") return(w) } gtkTreeSortableSetDefaultSortFunc <- function(object, sort.func, user.data = NULL) { checkPtrType(object, "GtkTreeSortable") sort.func <- as.function(sort.func) w <- .RGtkCall("S_gtk_tree_sortable_set_default_sort_func", object, sort.func, user.data, PACKAGE = "RGtk2") return(w) } gtkTreeSortableHasDefaultSortFunc <- function(object) { checkPtrType(object, "GtkTreeSortable") w <- .RGtkCall("S_gtk_tree_sortable_has_default_sort_func", object, PACKAGE = "RGtk2") return(w) } gtkTreeStoreGetType <- function() { w <- .RGtkCall("S_gtk_tree_store_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeStoreNewv <- function(types) { types <- as.list(as.GType(types)) w <- .RGtkCall("S_gtk_tree_store_newv", types, PACKAGE = "RGtk2") return(w) } gtkTreeStoreSetColumnTypes <- function(object, types) { checkPtrType(object, "GtkTreeStore") types <- as.list(as.GType(types)) w <- .RGtkCall("S_gtk_tree_store_set_column_types", object, types, PACKAGE = "RGtk2") return(w) } gtkTreeStoreSetValue <- function(object, iter, column, value) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_store_set_value", object, iter, column, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreRemove <- function(object, iter) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_remove", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeStoreInsert <- function(object, parent = NULL, position) { checkPtrType(object, "GtkTreeStore") if (!is.null( parent )) checkPtrType(parent, "GtkTreeIter") position <- as.integer(position) w <- .RGtkCall("S_gtk_tree_store_insert", object, parent, position, PACKAGE = "RGtk2") return(w) } gtkTreeStoreInsertBefore <- function(object, parent, sibling) { checkPtrType(object, "GtkTreeStore") checkPtrType(parent, "GtkTreeIter") checkPtrType(sibling, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_insert_before", object, parent, sibling, PACKAGE = "RGtk2") return(w) } gtkTreeStoreInsertAfter <- function(object, parent, sibling) { checkPtrType(object, "GtkTreeStore") checkPtrType(parent, "GtkTreeIter") checkPtrType(sibling, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_insert_after", object, parent, sibling, PACKAGE = "RGtk2") return(w) } gtkTreeStorePrepend <- function(object, parent = NULL) { checkPtrType(object, "GtkTreeStore") if (!is.null( parent )) checkPtrType(parent, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_prepend", object, parent, PACKAGE = "RGtk2") return(w) } gtkTreeStoreAppend <- function(object, parent = NULL) { checkPtrType(object, "GtkTreeStore") if (!is.null( parent )) checkPtrType(parent, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_append", object, parent, PACKAGE = "RGtk2") return(w) } gtkTreeStoreIsAncestor <- function(object, iter, descendant) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") checkPtrType(descendant, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_is_ancestor", object, iter, descendant, PACKAGE = "RGtk2") return(w) } gtkTreeStoreIterDepth <- function(object, iter) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_iter_depth", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeStoreClear <- function(object) { checkPtrType(object, "GtkTreeStore") w <- .RGtkCall("S_gtk_tree_store_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreIterIsValid <- function(object, iter) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_iter_is_valid", object, iter, PACKAGE = "RGtk2") return(w) } gtkTreeStoreReorder <- function(object, parent, new.order) { checkPtrType(object, "GtkTreeStore") checkPtrType(parent, "GtkTreeIter") new.order <- as.list(as.integer(new.order)) w <- .RGtkCall("S_gtk_tree_store_reorder", object, parent, new.order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreSwap <- function(object, a, b) { checkPtrType(object, "GtkTreeStore") checkPtrType(a, "GtkTreeIter") checkPtrType(b, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_swap", object, a, b, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreMoveAfter <- function(object, iter, position = NULL) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") if (!is.null( position )) checkPtrType(position, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_move_after", object, iter, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreMoveBefore <- function(object, iter, position = NULL) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") if (!is.null( position )) checkPtrType(position, "GtkTreeIter") w <- .RGtkCall("S_gtk_tree_store_move_before", object, iter, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnQueueResize <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_queue_resize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetType <- function() { w <- .RGtkCall("S_gtk_tree_view_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeViewNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_tree_view_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTreeViewNewWithModel <- function(model = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_tree_view_new_with_model", model, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkTreeViewGetModel <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_model", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetModel <- function(object, model = NULL) { checkPtrType(object, "GtkTreeView") if (!is.null( model )) checkPtrType(model, "GtkTreeModel") w <- .RGtkCall("S_gtk_tree_view_set_model", object, model, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetSelection <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_selection", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetHadjustment <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetHadjustment <- function(object, adjustment) { checkPtrType(object, "GtkTreeView") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_tree_view_set_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetVadjustment <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetVadjustment <- function(object, adjustment) { checkPtrType(object, "GtkTreeView") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_tree_view_set_vadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetHeadersVisible <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_headers_visible", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetHeadersVisible <- function(object, headers.visible) { checkPtrType(object, "GtkTreeView") headers.visible <- as.logical(headers.visible) w <- .RGtkCall("S_gtk_tree_view_set_headers_visible", object, headers.visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnsAutosize <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_columns_autosize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetHeadersClickable <- function(object, active) { checkPtrType(object, "GtkTreeView") active <- as.logical(active) w <- .RGtkCall("S_gtk_tree_view_set_headers_clickable", object, active, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetRulesHint <- function(object, setting) { checkPtrType(object, "GtkTreeView") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_tree_view_set_rules_hint", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetRulesHint <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_rules_hint", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewAppendColumn <- function(object, column) { checkPtrType(object, "GtkTreeView") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_append_column", object, column, PACKAGE = "RGtk2") return(w) } gtkTreeViewRemoveColumn <- function(object, column) { checkPtrType(object, "GtkTreeView") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_remove_column", object, column, PACKAGE = "RGtk2") return(w) } gtkTreeViewInsertColumn <- function(object, column, position) { checkPtrType(object, "GtkTreeView") checkPtrType(column, "GtkTreeViewColumn") position <- as.integer(position) w <- .RGtkCall("S_gtk_tree_view_insert_column", object, column, position, PACKAGE = "RGtk2") return(w) } gtkTreeViewInsertColumnWithDataFunc <- function(object, position, title, cell, func, data = NULL) { checkPtrType(object, "GtkTreeView") position <- as.integer(position) title <- as.character(title) checkPtrType(cell, "GtkCellRenderer") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_insert_column_with_data_func", object, position, title, cell, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetColumn <- function(object, n) { checkPtrType(object, "GtkTreeView") n <- as.integer(n) w <- .RGtkCall("S_gtk_tree_view_get_column", object, n, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetColumns <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_columns", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewMoveColumnAfter <- function(object, column, base.column = NULL) { checkPtrType(object, "GtkTreeView") checkPtrType(column, "GtkTreeViewColumn") if (!is.null( base.column )) checkPtrType(base.column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_move_column_after", object, column, base.column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetExpanderColumn <- function(object, column) { checkPtrType(object, "GtkTreeView") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_set_expander_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetExpanderColumn <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_expander_column", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetColumnDragFunction <- function(object, func, user.data = NULL) { checkPtrType(object, "GtkTreeView") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_set_column_drag_function", object, func, user.data, PACKAGE = "RGtk2") return(w) } gtkTreeViewScrollToPoint <- function(object, tree.x, tree.y) { checkPtrType(object, "GtkTreeView") tree.x <- as.integer(tree.x) tree.y <- as.integer(tree.y) w <- .RGtkCall("S_gtk_tree_view_scroll_to_point", object, tree.x, tree.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewScrollToCell <- function(object, path, column = NULL, use.align = FALSE, row.align = 0, col.align = 0) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") if (!is.null( column )) checkPtrType(column, "GtkTreeViewColumn") use.align <- as.logical(use.align) row.align <- as.numeric(row.align) col.align <- as.numeric(col.align) w <- .RGtkCall("S_gtk_tree_view_scroll_to_cell", object, path, column, use.align, row.align, col.align, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewRowActivated <- function(object, path, column) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_row_activated", object, path, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewExpandAll <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_expand_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewCollapseAll <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_collapse_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewExpandToPath <- function(object, path) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_expand_to_path", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewExpandRow <- function(object, path, open.all) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") open.all <- as.logical(open.all) w <- .RGtkCall("S_gtk_tree_view_expand_row", object, path, open.all, PACKAGE = "RGtk2") return(w) } gtkTreeViewCollapseRow <- function(object, path) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_collapse_row", object, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewMapExpandedRows <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeView") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_map_expanded_rows", object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewRowExpanded <- function(object, path) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_row_expanded", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetReorderable <- function(object, reorderable) { checkPtrType(object, "GtkTreeView") reorderable <- as.logical(reorderable) w <- .RGtkCall("S_gtk_tree_view_set_reorderable", object, reorderable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetReorderable <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_reorderable", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetCursor <- function(object, path, focus.column = NULL, start.editing = FALSE) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") if (!is.null( focus.column )) checkPtrType(focus.column, "GtkTreeViewColumn") start.editing <- as.logical(start.editing) w <- .RGtkCall("S_gtk_tree_view_set_cursor", object, path, focus.column, start.editing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetCursorOnCell <- function(object, path, focus.column = NULL, focus.cell = NULL, start.editing = FALSE) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") if (!is.null( focus.column )) checkPtrType(focus.column, "GtkTreeViewColumn") if (!is.null( focus.cell )) checkPtrType(focus.cell, "GtkCellRenderer") start.editing <- as.logical(start.editing) w <- .RGtkCall("S_gtk_tree_view_set_cursor_on_cell", object, path, focus.column, focus.cell, start.editing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetCursor <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_cursor", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetBinWindow <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_bin_window", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetPathAtPos <- function(object, x, y) { checkPtrType(object, "GtkTreeView") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_tree_view_get_path_at_pos", object, x, y, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetCellArea <- function(object, path, column) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_get_cell_area", object, path, column, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetBackgroundArea <- function(object, path, column) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") checkPtrType(column, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_get_background_area", object, path, column, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetVisibleRect <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_visible_rect", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetVisibleRange <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_visible_range", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewWidgetToTreeCoords <- function(object, wx, wy) { checkPtrType(object, "GtkTreeView") wx <- as.integer(wx) wy <- as.integer(wy) w <- .RGtkCall("S_gtk_tree_view_widget_to_tree_coords", object, wx, wy, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewTreeToWidgetCoords <- function(object, tx, ty) { checkPtrType(object, "GtkTreeView") tx <- as.integer(tx) ty <- as.integer(ty) w <- .RGtkCall("S_gtk_tree_view_tree_to_widget_coords", object, tx, ty, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewEnableModelDragSource <- function(object, start.button.mask, targets, actions) { checkPtrType(object, "GtkTreeView") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_tree_view_enable_model_drag_source", object, start.button.mask, targets, actions, PACKAGE = "RGtk2") return(w) } gtkTreeViewEnableModelDragDest <- function(object, targets, actions) { checkPtrType(object, "GtkTreeView") targets <- lapply(targets, function(x) { x <- as.GtkTargetEntry(x); x }) w <- .RGtkCall("S_gtk_tree_view_enable_model_drag_dest", object, targets, actions, PACKAGE = "RGtk2") return(w) } gtkTreeViewUnsetRowsDragSource <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_unset_rows_drag_source", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewUnsetRowsDragDest <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_unset_rows_drag_dest", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetDragDestRow <- function(object, path, pos) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_set_drag_dest_row", object, path, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetDragDestRow <- function(object, path) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_get_drag_dest_row", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetDestRowAtPos <- function(object, drag.x, drag.y) { checkPtrType(object, "GtkTreeView") drag.x <- as.integer(drag.x) drag.y <- as.integer(drag.y) w <- .RGtkCall("S_gtk_tree_view_get_dest_row_at_pos", object, drag.x, drag.y, PACKAGE = "RGtk2") return(w) } gtkTreeViewCreateRowDragIcon <- function(object, path) { checkPtrType(object, "GtkTreeView") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_create_row_drag_icon", object, path, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetEnableSearch <- function(object, enable.search) { checkPtrType(object, "GtkTreeView") enable.search <- as.logical(enable.search) w <- .RGtkCall("S_gtk_tree_view_set_enable_search", object, enable.search, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetEnableSearch <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_enable_search", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetSearchColumn <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_search_column", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetSearchColumn <- function(object, column) { checkPtrType(object, "GtkTreeView") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_view_set_search_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetSearchEqualFunc <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_search_equal_func", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetSearchEqualFunc <- function(object, search.equal.func, search.user.data = NULL) { checkPtrType(object, "GtkTreeView") search.equal.func <- as.function(search.equal.func) w <- .RGtkCall("S_gtk_tree_view_set_search_equal_func", object, search.equal.func, search.user.data, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetDestroyCountFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeView") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_set_destroy_count_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetFixedHeightMode <- function(object, enable) { checkPtrType(object, "GtkTreeView") enable <- as.logical(enable) w <- .RGtkCall("S_gtk_tree_view_set_fixed_height_mode", object, enable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetFixedHeightMode <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_fixed_height_mode", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetHoverSelection <- function(object, hover) { checkPtrType(object, "GtkTreeView") hover <- as.logical(hover) w <- .RGtkCall("S_gtk_tree_view_set_hover_selection", object, hover, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetHoverSelection <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_hover_selection", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetHoverExpand <- function(object, expand) { checkPtrType(object, "GtkTreeView") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tree_view_set_hover_expand", object, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetHoverExpand <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_hover_expand", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetRowSeparatorFunc <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_row_separator_func", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetRowSeparatorFunc <- function(object, func, data = NULL) { checkPtrType(object, "GtkTreeView") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_set_row_separator_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnGetType <- function() { w <- .RGtkCall("S_gtk_tree_view_column_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnNew <- function() { w <- .RGtkCall("S_gtk_tree_view_column_new", PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnPackStart <- function(object, cell, expand = TRUE) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tree_view_column_pack_start", object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnPackEnd <- function(object, cell, expand = TRUE) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell, "GtkCellRenderer") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tree_view_column_pack_end", object, cell, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnClear <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetCellRenderers <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_cell_renderers", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnAddAttribute <- function(object, cell.renderer, attribute, column) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell.renderer, "GtkCellRenderer") attribute <- as.character(attribute) column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_view_column_add_attribute", object, cell.renderer, attribute, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnSetCellDataFunc <- function(object, cell.renderer, func, func.data = NULL) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell.renderer, "GtkCellRenderer") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_column_set_cell_data_func", object, cell.renderer, func, func.data, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnClearAttributes <- function(object, cell.renderer) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell.renderer, "GtkCellRenderer") w <- .RGtkCall("S_gtk_tree_view_column_clear_attributes", object, cell.renderer, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnSetSpacing <- function(object, spacing) { checkPtrType(object, "GtkTreeViewColumn") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_tree_view_column_set_spacing", object, spacing, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetSpacing <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_spacing", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetVisible <- function(object, visible) { checkPtrType(object, "GtkTreeViewColumn") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_tree_view_column_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetVisible <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetResizable <- function(object, resizable) { checkPtrType(object, "GtkTreeViewColumn") resizable <- as.logical(resizable) w <- .RGtkCall("S_gtk_tree_view_column_set_resizable", object, resizable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetResizable <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_resizable", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetSizing <- function(object, type) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_set_sizing", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetSizing <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_sizing", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnGetWidth <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_width", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnGetFixedWidth <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_fixed_width", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetFixedWidth <- function(object, fixed.width) { checkPtrType(object, "GtkTreeViewColumn") fixed.width <- as.integer(fixed.width) w <- .RGtkCall("S_gtk_tree_view_column_set_fixed_width", object, fixed.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnSetMinWidth <- function(object, min.width) { checkPtrType(object, "GtkTreeViewColumn") min.width <- as.integer(min.width) w <- .RGtkCall("S_gtk_tree_view_column_set_min_width", object, min.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetMinWidth <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_min_width", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetMaxWidth <- function(object, max.width) { checkPtrType(object, "GtkTreeViewColumn") max.width <- as.integer(max.width) w <- .RGtkCall("S_gtk_tree_view_column_set_max_width", object, max.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetMaxWidth <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_max_width", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnClicked <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_clicked", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnSetTitle <- function(object, title) { checkPtrType(object, "GtkTreeViewColumn") title <- as.character(title) w <- .RGtkCall("S_gtk_tree_view_column_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetTitle <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_title", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetExpand <- function(object, expand) { checkPtrType(object, "GtkTreeViewColumn") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tree_view_column_set_expand", object, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetExpand <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_expand", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetClickable <- function(object, active) { checkPtrType(object, "GtkTreeViewColumn") active <- as.logical(active) w <- .RGtkCall("S_gtk_tree_view_column_set_clickable", object, active, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetClickable <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_clickable", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetWidget <- function(object, widget = NULL) { checkPtrType(object, "GtkTreeViewColumn") if (!is.null( widget )) checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_tree_view_column_set_widget", object, widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetWidget <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_widget", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetAlignment <- function(object, xalign) { checkPtrType(object, "GtkTreeViewColumn") xalign <- as.numeric(xalign) w <- .RGtkCall("S_gtk_tree_view_column_set_alignment", object, xalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetAlignment <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_alignment", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetReorderable <- function(object, reorderable) { checkPtrType(object, "GtkTreeViewColumn") reorderable <- as.logical(reorderable) w <- .RGtkCall("S_gtk_tree_view_column_set_reorderable", object, reorderable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetReorderable <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_reorderable", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetSortColumnId <- function(object, sort.column.id) { checkPtrType(object, "GtkTreeViewColumn") sort.column.id <- as.integer(sort.column.id) w <- .RGtkCall("S_gtk_tree_view_column_set_sort_column_id", object, sort.column.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetSortColumnId <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_sort_column_id", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetSortIndicator <- function(object, setting) { checkPtrType(object, "GtkTreeViewColumn") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_tree_view_column_set_sort_indicator", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetSortIndicator <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_sort_indicator", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnSetSortOrder <- function(object, order) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_set_sort_order", object, order, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnGetSortOrder <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_sort_order", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnCellSetCellData <- function(object, tree.model, iter, is.expander, is.expanded) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(tree.model, "GtkTreeModel") checkPtrType(iter, "GtkTreeIter") is.expander <- as.logical(is.expander) is.expanded <- as.logical(is.expanded) w <- .RGtkCall("S_gtk_tree_view_column_cell_set_cell_data", object, tree.model, iter, is.expander, is.expanded, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnCellGetSize <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_cell_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnCellIsVisible <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_cell_is_visible", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnFocusCell <- function(object, cell) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell, "GtkCellRenderer") w <- .RGtkCall("S_gtk_tree_view_column_focus_cell", object, cell, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewColumnCellGetPosition <- function(object, cell.renderer) { checkPtrType(object, "GtkTreeViewColumn") checkPtrType(cell.renderer, "GtkCellRenderer") w <- .RGtkCall("S_gtk_tree_view_column_cell_get_position", object, cell.renderer, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerGetType <- function() { w <- .RGtkCall("S_gtk_ui_manager_get_type", PACKAGE = "RGtk2") return(w) } gtkUIManagerNew <- function() { w <- .RGtkCall("S_gtk_ui_manager_new", PACKAGE = "RGtk2") return(w) } gtkUIManagerSetAddTearoffs <- function(object, add.tearoffs) { checkPtrType(object, "GtkUIManager") add.tearoffs <- as.logical(add.tearoffs) w <- .RGtkCall("S_gtk_ui_manager_set_add_tearoffs", object, add.tearoffs, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerGetAddTearoffs <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_get_add_tearoffs", object, PACKAGE = "RGtk2") return(w) } gtkUIManagerInsertActionGroup <- function(object, action.group, pos) { checkPtrType(object, "GtkUIManager") checkPtrType(action.group, "GtkActionGroup") pos <- as.integer(pos) w <- .RGtkCall("S_gtk_ui_manager_insert_action_group", object, action.group, pos, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerRemoveActionGroup <- function(object, action.group) { checkPtrType(object, "GtkUIManager") checkPtrType(action.group, "GtkActionGroup") w <- .RGtkCall("S_gtk_ui_manager_remove_action_group", object, action.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerGetActionGroups <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_get_action_groups", object, PACKAGE = "RGtk2") return(w) } gtkUIManagerGetAccelGroup <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_get_accel_group", object, PACKAGE = "RGtk2") return(w) } gtkUIManagerGetWidget <- function(object, path) { checkPtrType(object, "GtkUIManager") path <- as.character(path) w <- .RGtkCall("S_gtk_ui_manager_get_widget", object, path, PACKAGE = "RGtk2") return(w) } gtkUIManagerGetToplevels <- function(object, types) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_get_toplevels", object, types, PACKAGE = "RGtk2") return(w) } gtkUIManagerGetAction <- function(object, path) { checkPtrType(object, "GtkUIManager") path <- as.character(path) w <- .RGtkCall("S_gtk_ui_manager_get_action", object, path, PACKAGE = "RGtk2") return(w) } gtkUIManagerAddUiFromString <- function(object, buffer, length = -1, .errwarn = TRUE) { checkPtrType(object, "GtkUIManager") buffer <- as.character(buffer) length <- as.integer(length) w <- .RGtkCall("S_gtk_ui_manager_add_ui_from_string", object, buffer, length, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkUIManagerAddUiFromFile <- function(object, filename, .errwarn = TRUE) { checkPtrType(object, "GtkUIManager") filename <- as.character(filename) w <- .RGtkCall("S_gtk_ui_manager_add_ui_from_file", object, filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkUIManagerAddUi <- function(object, merge.id, path, name, action = NULL, type, top) { checkPtrType(object, "GtkUIManager") merge.id <- as.numeric(merge.id) path <- as.character(path) name <- as.character(name) if (!is.null( action )) action <- as.character(action) top <- as.logical(top) w <- .RGtkCall("S_gtk_ui_manager_add_ui", object, merge.id, path, name, action, type, top, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerRemoveUi <- function(object, merge.id) { checkPtrType(object, "GtkUIManager") merge.id <- as.numeric(merge.id) w <- .RGtkCall("S_gtk_ui_manager_remove_ui", object, merge.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerGetUi <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_get_ui", object, PACKAGE = "RGtk2") return(w) } gtkUIManagerEnsureUpdate <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_ensure_update", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkUIManagerNewMergeId <- function(object) { checkPtrType(object, "GtkUIManager") w <- .RGtkCall("S_gtk_ui_manager_new_merge_id", object, PACKAGE = "RGtk2") return(w) } gtkVButtonBoxGetType <- function() { w <- .RGtkCall("S_gtk_vbutton_box_get_type", PACKAGE = "RGtk2") return(w) } gtkVButtonBoxNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_vbutton_box_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVButtonBoxGetSpacingDefault <- function() { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_vbutton_box_get_spacing_default", PACKAGE = "RGtk2") return(w) } gtkVButtonBoxSetSpacingDefault <- function(spacing) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") spacing <- as.integer(spacing) w <- .RGtkCall("S_gtk_vbutton_box_set_spacing_default", spacing, PACKAGE = "RGtk2") return(w) } gtkVButtonBoxGetLayoutDefault <- function() { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_vbutton_box_get_layout_default", PACKAGE = "RGtk2") return(w) } gtkVButtonBoxSetLayoutDefault <- function(layout) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gtk_vbutton_box_set_layout_default", layout, PACKAGE = "RGtk2") return(w) } gtkVBoxGetType <- function() { w <- .RGtkCall("S_gtk_vbox_get_type", PACKAGE = "RGtk2") return(w) } gtkVBoxNew <- function(homogeneous = NULL, spacing = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_vbox_new", homogeneous, spacing, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkViewportGetType <- function() { w <- .RGtkCall("S_gtk_viewport_get_type", PACKAGE = "RGtk2") return(w) } gtkViewportNew <- function(hadjustment = NULL, vadjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_viewport_new", hadjustment, vadjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkViewportGetHadjustment <- function(object) { checkPtrType(object, "GtkViewport") w <- .RGtkCall("S_gtk_viewport_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkViewportGetVadjustment <- function(object) { checkPtrType(object, "GtkViewport") w <- .RGtkCall("S_gtk_viewport_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkViewportSetHadjustment <- function(object, adjustment = NULL) { checkPtrType(object, "GtkViewport") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_viewport_set_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkViewportSetVadjustment <- function(object, adjustment = NULL) { checkPtrType(object, "GtkViewport") if (!is.null( adjustment )) checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_viewport_set_vadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkViewportSetShadowType <- function(object, type) { checkPtrType(object, "GtkViewport") w <- .RGtkCall("S_gtk_viewport_set_shadow_type", object, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkViewportGetShadowType <- function(object) { checkPtrType(object, "GtkViewport") w <- .RGtkCall("S_gtk_viewport_get_shadow_type", object, PACKAGE = "RGtk2") return(w) } gtkVPanedGetType <- function() { w <- .RGtkCall("S_gtk_vpaned_get_type", PACKAGE = "RGtk2") return(w) } gtkVPanedNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_vpaned_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVRulerGetType <- function() { w <- .RGtkCall("S_gtk_vruler_get_type", PACKAGE = "RGtk2") return(w) } gtkVRulerNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_vruler_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVScaleGetType <- function() { w <- .RGtkCall("S_gtk_vscale_get_type", PACKAGE = "RGtk2") return(w) } gtkVScaleNew <- function(adjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_vscale_new", adjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVScaleNewWithRange <- function(min, max, step, show = TRUE) { min <- as.numeric(min) max <- as.numeric(max) step <- as.numeric(step) w <- .RGtkCall("S_gtk_vscale_new_with_range", min, max, step, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVScrollbarGetType <- function() { w <- .RGtkCall("S_gtk_vscrollbar_get_type", PACKAGE = "RGtk2") return(w) } gtkVScrollbarNew <- function(adjustment = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_vscrollbar_new", adjustment, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkVSeparatorGetType <- function() { w <- .RGtkCall("S_gtk_vseparator_get_type", PACKAGE = "RGtk2") return(w) } gtkVSeparatorNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_vseparator_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkWidgetGetType <- function() { w <- .RGtkCall("S_gtk_widget_get_type", PACKAGE = "RGtk2") return(w) } gtkWidgetUnparent <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_unparent", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetShow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_show", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetShowNow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_show_now", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetHide <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_hide", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetShowAll <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_show_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetHideAll <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_hide_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetNoShowAll <- function(object, no.show.all) { checkPtrType(object, "GtkWidget") no.show.all <- as.logical(no.show.all) w <- .RGtkCall("S_gtk_widget_set_no_show_all", object, no.show.all, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetNoShowAll <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_no_show_all", object, PACKAGE = "RGtk2") return(w) } gtkWidgetMap <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_map", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetUnmap <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_unmap", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetRealize <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_realize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetUnrealize <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_unrealize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueDraw <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_queue_draw", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueDrawArea <- function(object, x, y, width, height) { checkPtrType(object, "GtkWidget") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_widget_queue_draw_area", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueClear <- function(object) { if(getOption("depwarn")) .Deprecated("gtkWidgetQueueDraw", "RGtk2") checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_queue_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueClearArea <- function(object, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gtkWidgetQueueDrawArea", "RGtk2") checkPtrType(object, "GtkWidget") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_widget_queue_clear_area", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueResize <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_queue_resize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetQueueResizeNoRedraw <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_queue_resize_no_redraw", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetDraw <- function(object, area) { if(getOption("depwarn")) .Deprecated("gtkWidgetQueueDrawArea", "RGtk2") checkPtrType(object, "GtkWidget") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_widget_draw", object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSizeRequest <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_size_request", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSizeAllocate <- function(object, allocation) { checkPtrType(object, "GtkWidget") allocation <- as.GtkAllocation(allocation) w <- .RGtkCall("S_gtk_widget_size_allocate", object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetChildRequisition <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_child_requisition", object, PACKAGE = "RGtk2") return(w) } gtkWidgetAddAccelerator <- function(object, accel.signal, accel.group, accel.key, accel.mods, accel.flags) { checkPtrType(object, "GtkWidget") accel.signal <- as.character(accel.signal) checkPtrType(accel.group, "GtkAccelGroup") accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_widget_add_accelerator", object, accel.signal, accel.group, accel.key, accel.mods, accel.flags, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetRemoveAccelerator <- function(object, accel.group, accel.key, accel.mods) { checkPtrType(object, "GtkWidget") checkPtrType(accel.group, "GtkAccelGroup") accel.key <- as.numeric(accel.key) w <- .RGtkCall("S_gtk_widget_remove_accelerator", object, accel.group, accel.key, accel.mods, PACKAGE = "RGtk2") return(w) } gtkWidgetSetAccelPath <- function(object, accel.path, accel.group) { checkPtrType(object, "GtkWidget") accel.path <- as.character(accel.path) checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_widget_set_accel_path", object, accel.path, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetListAccelClosures <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_list_accel_closures", object, PACKAGE = "RGtk2") return(w) } gtkWidgetCanActivateAccel <- function(object, signal.id) { checkPtrType(object, "GtkWidget") signal.id <- as.numeric(signal.id) w <- .RGtkCall("S_gtk_widget_can_activate_accel", object, signal.id, PACKAGE = "RGtk2") return(w) } gtkWidgetMnemonicActivate <- function(object, group.cycling) { checkPtrType(object, "GtkWidget") group.cycling <- as.logical(group.cycling) w <- .RGtkCall("S_gtk_widget_mnemonic_activate", object, group.cycling, PACKAGE = "RGtk2") return(w) } gtkWidgetEvent <- function(object, event) { checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_widget_event", object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetSendExpose <- function(object, event) { checkPtrType(object, "GtkWidget") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gtk_widget_send_expose", object, event, PACKAGE = "RGtk2") return(w) } gtkWidgetActivate <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_activate", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetScrollAdjustments <- function(object, hadjustment = NULL, vadjustment = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( hadjustment )) checkPtrType(hadjustment, "GtkAdjustment") if (!is.null( vadjustment )) checkPtrType(vadjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_widget_set_scroll_adjustments", object, hadjustment, vadjustment, PACKAGE = "RGtk2") return(w) } gtkWidgetReparent <- function(object, new.parent) { checkPtrType(object, "GtkWidget") checkPtrType(new.parent, "GtkWidget") w <- .RGtkCall("S_gtk_widget_reparent", object, new.parent, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetIntersect <- function(object, area, intersection) { checkPtrType(object, "GtkWidget") area <- as.GdkRectangle(area) intersection <- as.GdkRectangle(intersection) w <- .RGtkCall("S_gtk_widget_intersect", object, area, intersection, PACKAGE = "RGtk2") return(w) } gtkWidgetRegionIntersect <- function(object, region) { checkPtrType(object, "GtkWidget") checkPtrType(region, "GdkRegion") w <- .RGtkCall("S_gtk_widget_region_intersect", object, region, PACKAGE = "RGtk2") return(w) } gtkWidgetFreezeChildNotify <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_freeze_child_notify", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetChildNotify <- function(object, child.property) { checkPtrType(object, "GtkWidget") child.property <- as.character(child.property) w <- .RGtkCall("S_gtk_widget_child_notify", object, child.property, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetThawChildNotify <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_thaw_child_notify", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetIsFocus <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_focus", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGrabFocus <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_grab_focus", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGrabDefault <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_grab_default", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetName <- function(object, name) { checkPtrType(object, "GtkWidget") name <- as.character(name) w <- .RGtkCall("S_gtk_widget_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetName <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_name", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetState <- function(object, state) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_set_state", object, state, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetSensitive <- function(object, sensitive) { checkPtrType(object, "GtkWidget") sensitive <- as.logical(sensitive) w <- .RGtkCall("S_gtk_widget_set_sensitive", object, sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetAppPaintable <- function(object, app.paintable) { checkPtrType(object, "GtkWidget") app.paintable <- as.logical(app.paintable) w <- .RGtkCall("S_gtk_widget_set_app_paintable", object, app.paintable, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetDoubleBuffered <- function(object, double.buffered) { checkPtrType(object, "GtkWidget") double.buffered <- as.logical(double.buffered) w <- .RGtkCall("S_gtk_widget_set_double_buffered", object, double.buffered, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetRedrawOnAllocate <- function(object, redraw.on.allocate) { checkPtrType(object, "GtkWidget") redraw.on.allocate <- as.logical(redraw.on.allocate) w <- .RGtkCall("S_gtk_widget_set_redraw_on_allocate", object, redraw.on.allocate, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetParent <- function(object, parent) { checkPtrType(object, "GtkWidget") checkPtrType(parent, "GtkWidget") w <- .RGtkCall("S_gtk_widget_set_parent", object, parent, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetParentWindow <- function(object, parent.window) { checkPtrType(object, "GtkWidget") checkPtrType(parent.window, "GdkWindow") w <- .RGtkCall("S_gtk_widget_set_parent_window", object, parent.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetChildVisible <- function(object, is.visible) { checkPtrType(object, "GtkWidget") is.visible <- as.logical(is.visible) w <- .RGtkCall("S_gtk_widget_set_child_visible", object, is.visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetChildVisible <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_child_visible", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetParent <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_parent", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetParentWindow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_parent_window", object, PACKAGE = "RGtk2") return(w) } gtkWidgetChildFocus <- function(object, direction) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_child_focus", object, direction, PACKAGE = "RGtk2") return(w) } gtkWidgetSetSizeRequest <- function(object, width, height) { checkPtrType(object, "GtkWidget") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_widget_set_size_request", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetSizeRequest <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_size_request", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetUposition <- function(object, x, y) { checkPtrType(object, "GtkWidget") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_widget_set_uposition", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetUsize <- function(object, width, height) { if(getOption("depwarn")) .Deprecated("gtkWidgetSetSizeRequest", "RGtk2") checkPtrType(object, "GtkWidget") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_widget_set_usize", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetEvents <- function(object, events) { checkPtrType(object, "GtkWidget") events <- as.integer(events) w <- .RGtkCall("S_gtk_widget_set_events", object, events, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetAddEvents <- function(object, events) { checkPtrType(object, "GtkWidget") events <- as.integer(events) w <- .RGtkCall("S_gtk_widget_add_events", object, events, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetExtensionEvents <- function(object, mode) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_set_extension_events", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetExtensionEvents <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_extension_events", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetToplevel <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_toplevel", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetAncestor <- function(object, widget.type) { checkPtrType(object, "GtkWidget") widget.type <- as.GType(widget.type) w <- .RGtkCall("S_gtk_widget_get_ancestor", object, widget.type, PACKAGE = "RGtk2") return(w) } gtkWidgetGetColormap <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_colormap", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetVisual <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_visual", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetScreen <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_screen", object, PACKAGE = "RGtk2") return(w) } gtkWidgetHasScreen <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_has_screen", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetDisplay <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_display", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetRootWindow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_root_window", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetSettings <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_settings", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetClipboard <- function(object, selection) { checkPtrType(object, "GtkWidget") selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gtk_widget_get_clipboard", object, selection, PACKAGE = "RGtk2") return(w) } gtkWidgetGetAccessible <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_accessible", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetColormap <- function(object, colormap) { checkPtrType(object, "GtkWidget") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gtk_widget_set_colormap", object, colormap, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetEvents <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_events", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetPointer <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_pointer", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetIsAncestor <- function(object, ancestor) { checkPtrType(object, "GtkWidget") checkPtrType(ancestor, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_ancestor", object, ancestor, PACKAGE = "RGtk2") return(w) } gtkWidgetTranslateCoordinates <- function(object, dest.widget, src.x, src.y) { checkPtrType(object, "GtkWidget") checkPtrType(dest.widget, "GtkWidget") src.x <- as.integer(src.x) src.y <- as.integer(src.y) w <- .RGtkCall("S_gtk_widget_translate_coordinates", object, dest.widget, src.x, src.y, PACKAGE = "RGtk2") return(w) } gtkWidgetHideOnDelete <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_hide_on_delete", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetStyle <- function(object, style = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( style )) checkPtrType(style, "GtkStyle") w <- .RGtkCall("S_gtk_widget_set_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetEnsureStyle <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_ensure_style", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetStyle <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_style", object, PACKAGE = "RGtk2") return(w) } gtkWidgetModifyStyle <- function(object, style) { checkPtrType(object, "GtkWidget") checkPtrType(style, "GtkRcStyle") w <- .RGtkCall("S_gtk_widget_modify_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetModifierStyle <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_modifier_style", object, PACKAGE = "RGtk2") return(w) } gtkWidgetModifyFg <- function(object, state, color = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( color )) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_widget_modify_fg", object, state, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetModifyBg <- function(object, state, color = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( color )) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_widget_modify_bg", object, state, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetModifyText <- function(object, state, color = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( color )) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_widget_modify_text", object, state, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetModifyBase <- function(object, state, color = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( color )) color <- as.GdkColor(color) w <- .RGtkCall("S_gtk_widget_modify_base", object, state, color, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetModifyFont <- function(object, font.desc = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( font.desc )) checkPtrType(font.desc, "PangoFontDescription") w <- .RGtkCall("S_gtk_widget_modify_font", object, font.desc, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetCreatePangoContext <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_create_pango_context", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetPangoContext <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_pango_context", object, PACKAGE = "RGtk2") return(w) } gtkWidgetCreatePangoLayout <- function(object, text) { checkPtrType(object, "GtkWidget") text <- as.character(text) w <- .RGtkCall("S_gtk_widget_create_pango_layout", object, text, PACKAGE = "RGtk2") return(w) } gtkWidgetRenderIcon <- function(object, stock.id, size, detail = NULL) { checkPtrType(object, "GtkWidget") stock.id <- as.character(stock.id) if (!is.null( detail )) detail <- as.character(detail) w <- .RGtkCall("S_gtk_widget_render_icon", object, stock.id, size, detail, PACKAGE = "RGtk2") return(w) } gtkWidgetSetCompositeName <- function(object, name) { checkPtrType(object, "GtkWidget") name <- as.character(name) w <- .RGtkCall("S_gtk_widget_set_composite_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetCompositeName <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_composite_name", object, PACKAGE = "RGtk2") return(w) } gtkWidgetResetRcStyles <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_reset_rc_styles", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetPushColormap <- function(cmap) { checkPtrType(cmap, "GdkColormap") w <- .RGtkCall("S_gtk_widget_push_colormap", cmap, PACKAGE = "RGtk2") return(w) } gtkWidgetPushCompositeChild <- function() { w <- .RGtkCall("S_gtk_widget_push_composite_child", PACKAGE = "RGtk2") return(w) } gtkWidgetPopCompositeChild <- function() { w <- .RGtkCall("S_gtk_widget_pop_composite_child", PACKAGE = "RGtk2") return(w) } gtkWidgetPopColormap <- function() { w <- .RGtkCall("S_gtk_widget_pop_colormap", PACKAGE = "RGtk2") return(w) } gtkWidgetClassInstallStyleProperty <- function(klass, pspec) { checkPtrType(klass, "GtkWidgetClass") pspec <- as.GParamSpec(pspec) w <- .RGtkCall("S_gtk_widget_class_install_style_property", klass, pspec, PACKAGE = "RGtk2") return(w) } gtkWidgetClassFindStyleProperty <- function(klass, property.name) { checkPtrType(klass, "GtkWidgetClass") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_widget_class_find_style_property", klass, property.name, PACKAGE = "RGtk2") return(w) } gtkWidgetClassListStyleProperties <- function(klass) { checkPtrType(klass, "GtkWidgetClass") w <- .RGtkCall("S_gtk_widget_class_list_style_properties", klass, PACKAGE = "RGtk2") return(w) } gtkWidgetStyleGetProperty <- function(object, property.name) { checkPtrType(object, "GtkWidget") property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_widget_style_get_property", object, property.name, PACKAGE = "RGtk2") return(w) } gtkWidgetGetDefaultStyle <- function() { w <- .RGtkCall("S_gtk_widget_get_default_style", PACKAGE = "RGtk2") return(w) } gtkWidgetSetDefaultColormap <- function(colormap) { checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gtk_widget_set_default_colormap", colormap, PACKAGE = "RGtk2") return(w) } gtkWidgetGetDefaultColormap <- function() { w <- .RGtkCall("S_gtk_widget_get_default_colormap", PACKAGE = "RGtk2") return(w) } gtkWidgetGetDefaultVisual <- function() { w <- .RGtkCall("S_gtk_widget_get_default_visual", PACKAGE = "RGtk2") return(w) } gtkWidgetSetDirection <- function(object, dir) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_set_direction", object, dir, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetDirection <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_direction", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetDefaultDirection <- function(dir) { w <- .RGtkCall("S_gtk_widget_set_default_direction", dir, PACKAGE = "RGtk2") return(w) } gtkWidgetGetDefaultDirection <- function() { w <- .RGtkCall("S_gtk_widget_get_default_direction", PACKAGE = "RGtk2") return(w) } gtkWidgetShapeCombineMask <- function(object, shape.mask, offset.x, offset.y) { checkPtrType(object, "GtkWidget") checkPtrType(shape.mask, "GdkBitmap") offset.x <- as.integer(offset.x) offset.y <- as.integer(offset.y) w <- .RGtkCall("S_gtk_widget_shape_combine_mask", object, shape.mask, offset.x, offset.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetResetShapes <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_reset_shapes", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetPath <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_path", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetClassPath <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_class_path", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetListMnemonicLabels <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_list_mnemonic_labels", object, PACKAGE = "RGtk2") return(w) } gtkWidgetAddMnemonicLabel <- function(object, label) { checkPtrType(object, "GtkWidget") checkPtrType(label, "GtkWidget") w <- .RGtkCall("S_gtk_widget_add_mnemonic_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetRemoveMnemonicLabel <- function(object, label) { checkPtrType(object, "GtkWidget") checkPtrType(label, "GtkWidget") w <- .RGtkCall("S_gtk_widget_remove_mnemonic_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkRequisitionGetType <- function() { w <- .RGtkCall("S_gtk_requisition_get_type", PACKAGE = "RGtk2") return(w) } gtkRequisitionCopy <- function(object) { checkPtrType(object, "GtkRequisition") w <- .RGtkCall("S_gtk_requisition_copy", object, PACKAGE = "RGtk2") return(w) } gtkWindowGetType <- function() { w <- .RGtkCall("S_gtk_window_get_type", PACKAGE = "RGtk2") return(w) } gtkWindowNew <- function(type = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_window_new", type, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkWindowSetTitle <- function(object, title) { checkPtrType(object, "GtkWindow") title <- as.character(title) w <- .RGtkCall("S_gtk_window_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetTitle <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_title", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetWmclass <- function(object, wmclass.name, wmclass.class) { checkPtrType(object, "GtkWindow") wmclass.name <- as.character(wmclass.name) wmclass.class <- as.character(wmclass.class) w <- .RGtkCall("S_gtk_window_set_wmclass", object, wmclass.name, wmclass.class, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetRole <- function(object, role) { checkPtrType(object, "GtkWindow") role <- as.character(role) w <- .RGtkCall("S_gtk_window_set_role", object, role, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetRole <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_role", object, PACKAGE = "RGtk2") return(w) } gtkWindowAddAccelGroup <- function(object, accel.group) { checkPtrType(object, "GtkWindow") checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_window_add_accel_group", object, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowRemoveAccelGroup <- function(object, accel.group) { checkPtrType(object, "GtkWindow") checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_window_remove_accel_group", object, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetPosition <- function(object, position) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_set_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowActivateFocus <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_activate_focus", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetFocus <- function(object, focus = NULL) { checkPtrType(object, "GtkWindow") if (!is.null( focus )) checkPtrType(focus, "GtkWidget") w <- .RGtkCall("S_gtk_window_set_focus", object, focus, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetFocus <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_focus", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetDefault <- function(object, default.widget = NULL) { checkPtrType(object, "GtkWindow") if (!is.null( default.widget )) checkPtrType(default.widget, "GtkWidget") w <- .RGtkCall("S_gtk_window_set_default", object, default.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowActivateDefault <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_activate_default", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetTransientFor <- function(object, parent = NULL) { checkPtrType(object, "GtkWindow") if (!is.null( parent )) checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_window_set_transient_for", object, parent, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetTransientFor <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_transient_for", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetTypeHint <- function(object, hint) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_set_type_hint", object, hint, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetTypeHint <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_type_hint", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetSkipTaskbarHint <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_skip_taskbar_hint", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetSkipTaskbarHint <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_skip_taskbar_hint", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetSkipPagerHint <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_skip_pager_hint", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetSkipPagerHint <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_skip_pager_hint", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetUrgencyHint <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_urgency_hint", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetUrgencyHint <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_urgency_hint", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetAcceptFocus <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_accept_focus", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetAcceptFocus <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_accept_focus", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetDestroyWithParent <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_destroy_with_parent", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetDestroyWithParent <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_destroy_with_parent", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetResizable <- function(object, resizable) { checkPtrType(object, "GtkWindow") resizable <- as.logical(resizable) w <- .RGtkCall("S_gtk_window_set_resizable", object, resizable, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetResizable <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_resizable", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetGravity <- function(object, gravity) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_set_gravity", object, gravity, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetGravity <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_gravity", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetGeometryHints <- function(object, geometry.widget, geometry) { checkPtrType(object, "GtkWindow") checkPtrType(geometry.widget, "GtkWidget") geometry <- as.GdkGeometry(geometry) w <- .RGtkCall("S_gtk_window_set_geometry_hints", object, geometry.widget, geometry, PACKAGE = "RGtk2") return(w) } gtkWindowSetScreen <- function(object, screen) { checkPtrType(object, "GtkWindow") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_window_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetScreen <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_screen", object, PACKAGE = "RGtk2") return(w) } gtkWindowIsActive <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_is_active", object, PACKAGE = "RGtk2") return(w) } gtkWindowHasToplevelFocus <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_has_toplevel_focus", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetHasFrame <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_has_frame", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetHasFrame <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_has_frame", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetFrameDimensions <- function(object, left, top, right, bottom) { checkPtrType(object, "GtkWindow") left <- as.integer(left) top <- as.integer(top) right <- as.integer(right) bottom <- as.integer(bottom) w <- .RGtkCall("S_gtk_window_set_frame_dimensions", object, left, top, right, bottom, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetFrameDimensions <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_frame_dimensions", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetDecorated <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_decorated", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetDecorated <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_decorated", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetIconList <- function(object, list) { checkPtrType(object, "GtkWindow") list <- as.GList(list) w <- .RGtkCall("S_gtk_window_set_icon_list", object, list, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetIconList <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_icon_list", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetIcon <- function(object, icon = NULL) { checkPtrType(object, "GtkWindow") if (!is.null( icon )) checkPtrType(icon, "GdkPixbuf") w <- .RGtkCall("S_gtk_window_set_icon", object, icon, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetIconFromFile <- function(object, filename, .errwarn = TRUE) { checkPtrType(object, "GtkWindow") filename <- as.character(filename) w <- .RGtkCall("S_gtk_window_set_icon_from_file", object, filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkWindowGetIcon <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_icon", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetDefaultIconList <- function(list) { list <- as.GList(list) w <- .RGtkCall("S_gtk_window_set_default_icon_list", list, PACKAGE = "RGtk2") return(w) } gtkWindowGetDefaultIconList <- function() { w <- .RGtkCall("S_gtk_window_get_default_icon_list", PACKAGE = "RGtk2") return(w) } gtkWindowSetDefaultIcon <- function(icon) { checkPtrType(icon, "GdkPixbuf") w <- .RGtkCall("S_gtk_window_set_default_icon", icon, PACKAGE = "RGtk2") return(w) } gtkWindowSetDefaultIconFromFile <- function(filename, .errwarn = TRUE) { filename <- as.character(filename) w <- .RGtkCall("S_gtk_window_set_default_icon_from_file", filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(invisible(w)) } gtkWindowSetAutoStartupNotification <- function(setting) { setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_auto_startup_notification", setting, PACKAGE = "RGtk2") return(w) } gtkWindowSetModal <- function(object, modal) { checkPtrType(object, "GtkWindow") modal <- as.logical(modal) w <- .RGtkCall("S_gtk_window_set_modal", object, modal, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetModal <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_modal", object, PACKAGE = "RGtk2") return(w) } gtkWindowListToplevels <- function() { w <- .RGtkCall("S_gtk_window_list_toplevels", PACKAGE = "RGtk2") return(w) } gtkWindowAddMnemonic <- function(object, keyval, target) { checkPtrType(object, "GtkWindow") keyval <- as.numeric(keyval) checkPtrType(target, "GtkWidget") w <- .RGtkCall("S_gtk_window_add_mnemonic", object, keyval, target, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowRemoveMnemonic <- function(object, keyval, target) { checkPtrType(object, "GtkWindow") keyval <- as.numeric(keyval) checkPtrType(target, "GtkWidget") w <- .RGtkCall("S_gtk_window_remove_mnemonic", object, keyval, target, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowMnemonicActivate <- function(object, keyval, modifier) { checkPtrType(object, "GtkWindow") keyval <- as.numeric(keyval) w <- .RGtkCall("S_gtk_window_mnemonic_activate", object, keyval, modifier, PACKAGE = "RGtk2") return(w) } gtkWindowSetMnemonicModifier <- function(object, modifier) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_set_mnemonic_modifier", object, modifier, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetMnemonicModifier <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_mnemonic_modifier", object, PACKAGE = "RGtk2") return(w) } gtkWindowActivateKey <- function(object, event) { checkPtrType(object, "GtkWindow") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_window_activate_key", object, event, PACKAGE = "RGtk2") return(w) } gtkWindowPropagateKeyEvent <- function(object, event) { checkPtrType(object, "GtkWindow") checkPtrType(event, "GdkEventKey") w <- .RGtkCall("S_gtk_window_propagate_key_event", object, event, PACKAGE = "RGtk2") return(w) } gtkWindowPresent <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_present", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowPresentWithTime <- function(object, timestamp) { checkPtrType(object, "GtkWindow") timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gtk_window_present_with_time", object, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowIconify <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_iconify", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowDeiconify <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_deiconify", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowStick <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_stick", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowUnstick <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_unstick", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowMaximize <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_maximize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowUnmaximize <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_unmaximize", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowFullscreen <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_fullscreen", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowUnfullscreen <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_unfullscreen", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetKeepAbove <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_keep_above", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetKeepBelow <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_keep_below", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowBeginResizeDrag <- function(object, edge, button, root.x, root.y, timestamp) { checkPtrType(object, "GtkWindow") button <- as.integer(button) root.x <- as.integer(root.x) root.y <- as.integer(root.y) timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gtk_window_begin_resize_drag", object, edge, button, root.x, root.y, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowBeginMoveDrag <- function(object, button, root.x, root.y, timestamp) { checkPtrType(object, "GtkWindow") button <- as.integer(button) root.x <- as.integer(root.x) root.y <- as.integer(root.y) timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gtk_window_begin_move_drag", object, button, root.x, root.y, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetPolicy <- function(object, allow.shrink, allow.grow, auto.shrink) { if(getOption("depwarn")) .Deprecated("gtkWindowSetResizable", "RGtk2") checkPtrType(object, "GtkWindow") allow.shrink <- as.integer(allow.shrink) allow.grow <- as.integer(allow.grow) auto.shrink <- as.integer(auto.shrink) w <- .RGtkCall("S_gtk_window_set_policy", object, allow.shrink, allow.grow, auto.shrink, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetDefaultSize <- function(object, width, height) { checkPtrType(object, "GtkWindow") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_window_set_default_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetDefaultSize <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_default_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowResize <- function(object, width, height) { checkPtrType(object, "GtkWindow") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_window_resize", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetSize <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowMove <- function(object, x, y) { checkPtrType(object, "GtkWindow") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_window_move", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetPosition <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_position", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowReshowWithInitialSize <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_reshow_with_initial_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGroupGetType <- function() { w <- .RGtkCall("S_gtk_window_group_get_type", PACKAGE = "RGtk2") return(w) } gtkWindowGroupNew <- function() { w <- .RGtkCall("S_gtk_window_group_new", PACKAGE = "RGtk2") return(w) } gtkWindowGroupAddWindow <- function(object, window) { checkPtrType(object, "GtkWindowGroup") checkPtrType(window, "GtkWindow") w <- .RGtkCall("S_gtk_window_group_add_window", object, window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGroupRemoveWindow <- function(object, window) { checkPtrType(object, "GtkWindowGroup") checkPtrType(window, "GtkWindow") w <- .RGtkCall("S_gtk_window_group_remove_window", object, window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetFocusOnMap <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_focus_on_map", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetFocusOnMap <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_focus_on_map", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetIconName <- function(object, name = NULL) { checkPtrType(object, "GtkWindow") if (!is.null( name )) name <- as.character(name) w <- .RGtkCall("S_gtk_window_set_icon_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetIconName <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetDefaultIconName <- function(name) { name <- as.character(name) w <- .RGtkCall("S_gtk_window_set_default_icon_name", name, PACKAGE = "RGtk2") return(w) } gtkWidgetGetAction <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_action", object, PACKAGE = "RGtk2") return(w) } gtkAssistantGetType <- function() { w <- .RGtkCall("S_gtk_assistant_get_type", PACKAGE = "RGtk2") return(w) } gtkAssistantNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_assistant_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkAssistantGetCurrentPage <- function(object) { checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_get_current_page", object, PACKAGE = "RGtk2") return(w) } gtkAssistantSetCurrentPage <- function(object, page.num) { checkPtrType(object, "GtkAssistant") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_assistant_set_current_page", object, page.num, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetNPages <- function(object) { checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_get_n_pages", object, PACKAGE = "RGtk2") return(w) } gtkAssistantGetNthPage <- function(object, page.num) { checkPtrType(object, "GtkAssistant") page.num <- as.integer(page.num) w <- .RGtkCall("S_gtk_assistant_get_nth_page", object, page.num, PACKAGE = "RGtk2") return(w) } gtkAssistantPrependPage <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_prepend_page", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantAppendPage <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_append_page", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantInsertPage <- function(object, page, position) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") position <- as.integer(position) w <- .RGtkCall("S_gtk_assistant_insert_page", object, page, position, PACKAGE = "RGtk2") return(w) } gtkAssistantSetForwardPageFunc <- function(object, page.func, data) { checkPtrType(object, "GtkAssistant") page.func <- as.function(page.func) w <- .RGtkCall("S_gtk_assistant_set_forward_page_func", object, page.func, data, PACKAGE = "RGtk2") return(w) } gtkAssistantSetPageType <- function(object, page, type) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_set_page_type", object, page, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetPageType <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_get_page_type", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantSetPageTitle <- function(object, page, title) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") title <- as.character(title) w <- .RGtkCall("S_gtk_assistant_set_page_title", object, page, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetPageTitle <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_get_page_title", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantSetPageHeaderImage <- function(object, page, pixbuf = NULL) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") if (!is.null( pixbuf )) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_assistant_set_page_header_image", object, page, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetPageHeaderImage <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_get_page_header_image", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantSetPageSideImage <- function(object, page, pixbuf = NULL) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") if (!is.null( pixbuf )) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_assistant_set_page_side_image", object, page, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetPageSideImage <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_get_page_side_image", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantSetPageComplete <- function(object, page, complete) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") complete <- as.logical(complete) w <- .RGtkCall("S_gtk_assistant_set_page_complete", object, page, complete, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantGetPageComplete <- function(object, page) { checkPtrType(object, "GtkAssistant") checkPtrType(page, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_get_page_complete", object, page, PACKAGE = "RGtk2") return(w) } gtkAssistantAddActionWidget <- function(object, child) { checkPtrType(object, "GtkAssistant") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_add_action_widget", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantRemoveActionWidget <- function(object, child) { checkPtrType(object, "GtkAssistant") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_assistant_remove_action_widget", object, child, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantUpdateButtonsState <- function(object) { checkPtrType(object, "GtkAssistant") w <- .RGtkCall("S_gtk_assistant_update_buttons_state", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonSetImagePosition <- function(object, position) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_set_image_position", object, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkButtonGetImagePosition <- function(object) { checkPtrType(object, "GtkButton") w <- .RGtkCall("S_gtk_button_get_image_position", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererAccelGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_accel_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererAccelNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_accel_new", PACKAGE = "RGtk2") return(w) } gtkCellRendererSpinGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_spin_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererSpinNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_spin_new", PACKAGE = "RGtk2") return(w) } gtkClipboardRequestRichText <- function(object, buffer, callback, user.data) { checkPtrType(object, "GtkClipboard") checkPtrType(buffer, "GtkTextBuffer") callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_rich_text", object, buffer, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkClipboardWaitForRichText <- function(object, buffer) { checkPtrType(object, "GtkClipboard") checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_clipboard_wait_for_rich_text", object, buffer, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitIsRichTextAvailable <- function(object, buffer) { checkPtrType(object, "GtkClipboard") checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_clipboard_wait_is_rich_text_available", object, buffer, PACKAGE = "RGtk2") return(w) } gtkComboBoxGetTitle <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_title", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetTitle <- function(object, title) { checkPtrType(object, "GtkComboBox") title <- as.character(title) w <- .RGtkCall("S_gtk_combo_box_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestSetTrackMotion <- function(object, track.motion) { checkPtrType(object, "GtkWidget") track.motion <- as.logical(track.motion) w <- .RGtkCall("S_gtk_drag_dest_set_track_motion", object, track.motion, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragDestGetTrackMotion <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_drag_dest_get_track_motion", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetInnerBorder <- function(object, border = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( border )) checkPtrType(border, "GtkBorder") w <- .RGtkCall("S_gtk_entry_set_inner_border", object, border, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetInnerBorder <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_inner_border", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonGetFocusOnClick <- function(object) { checkPtrType(object, "GtkFileChooserButton") w <- .RGtkCall("S_gtk_file_chooser_button_get_focus_on_click", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserButtonSetFocusOnClick <- function(object, focus.on.click) { checkPtrType(object, "GtkFileChooserButton") focus.on.click <- as.logical(focus.on.click) w <- .RGtkCall("S_gtk_file_chooser_button_set_focus_on_click", object, focus.on.click, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetLineWrapMode <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_line_wrap_mode", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetLineWrapMode <- function(object, wrap.mode) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_set_line_wrap_mode", object, wrap.mode, PACKAGE = "RGtk2") return(invisible(w)) } gtkLinkButtonGetType <- function() { w <- .RGtkCall("S_gtk_link_button_get_type", PACKAGE = "RGtk2") return(w) } gtkLinkButtonNew <- function(uri) { uri <- as.character(uri) w <- .RGtkCall("S_gtk_link_button_new", uri, PACKAGE = "RGtk2") return(w) } gtkLinkButtonNewWithLabel <- function(uri, label = NULL, show = TRUE) { uri <- as.character(uri) if (!is.null( label )) label <- as.character(label) w <- .RGtkCall("S_gtk_link_button_new_with_label", uri, label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkLinkButtonGetUri <- function(object) { checkPtrType(object, "GtkLinkButton") w <- .RGtkCall("S_gtk_link_button_get_uri", object, PACKAGE = "RGtk2") return(w) } gtkLinkButtonSetUri <- function(object, uri) { checkPtrType(object, "GtkLinkButton") uri <- as.character(uri) w <- .RGtkCall("S_gtk_link_button_set_uri", object, uri, PACKAGE = "RGtk2") return(invisible(w)) } gtkLinkButtonSetUriHook <- function(func, data) { func <- as.function(func) w <- .RGtkCall("S_gtk_link_button_set_uri_hook", func, data, PACKAGE = "RGtk2") return(w) } gtkMessageDialogSetImage <- function(object, image) { checkPtrType(object, "GtkMessageDialog") checkPtrType(image, "GtkWidget") w <- .RGtkCall("S_gtk_message_dialog_set_image", object, image, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetWindowCreationHook <- function(func, data) { func <- as.function(func) w <- .RGtkCall("S_gtk_notebook_set_window_creation_hook", func, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetGroupId <- function(object, group.id) { if(getOption("depwarn")) .Deprecated("setGroup", "RGtk2") checkPtrType(object, "GtkNotebook") group.id <- as.integer(group.id) w <- .RGtkCall("S_gtk_notebook_set_group_id", object, group.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetGroupId <- function(object) { if(getOption("depwarn")) .Deprecated("getGroup", "RGtk2") checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_group_id", object, PACKAGE = "RGtk2") return(w) } gtkNotebookGetTabReorderable <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_tab_reorderable", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookSetTabReorderable <- function(object, child, reorderable) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") reorderable <- as.logical(reorderable) w <- .RGtkCall("S_gtk_notebook_set_tab_reorderable", object, child, reorderable, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetTabDetachable <- function(object, child) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_get_tab_detachable", object, child, PACKAGE = "RGtk2") return(w) } gtkNotebookSetTabDetachable <- function(object, child, detachable) { checkPtrType(object, "GtkNotebook") checkPtrType(child, "GtkWidget") detachable <- as.logical(detachable) w <- .RGtkCall("S_gtk_notebook_set_tab_detachable", object, child, detachable, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetType <- function() { w <- .RGtkCall("S_gtk_page_setup_get_type", PACKAGE = "RGtk2") return(w) } gtkPageSetupNew <- function() { w <- .RGtkCall("S_gtk_page_setup_new", PACKAGE = "RGtk2") return(w) } gtkPageSetupCopy <- function(object) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_copy", object, PACKAGE = "RGtk2") return(w) } gtkPageSetupGetOrientation <- function(object) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetPaperSize <- function(object) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_paper_size", object, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetPaperSize <- function(object, size) { checkPtrType(object, "GtkPageSetup") checkPtrType(size, "GtkPaperSize") w <- .RGtkCall("S_gtk_page_setup_set_paper_size", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetTopMargin <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_top_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetTopMargin <- function(object, margin, unit) { checkPtrType(object, "GtkPageSetup") margin <- as.numeric(margin) w <- .RGtkCall("S_gtk_page_setup_set_top_margin", object, margin, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetBottomMargin <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_bottom_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetBottomMargin <- function(object, margin, unit) { checkPtrType(object, "GtkPageSetup") margin <- as.numeric(margin) w <- .RGtkCall("S_gtk_page_setup_set_bottom_margin", object, margin, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetLeftMargin <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_left_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetLeftMargin <- function(object, margin, unit) { checkPtrType(object, "GtkPageSetup") margin <- as.numeric(margin) w <- .RGtkCall("S_gtk_page_setup_set_left_margin", object, margin, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetRightMargin <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_right_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupSetRightMargin <- function(object, margin, unit) { checkPtrType(object, "GtkPageSetup") margin <- as.numeric(margin) w <- .RGtkCall("S_gtk_page_setup_set_right_margin", object, margin, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupSetPaperSizeAndDefaultMargins <- function(object, size) { checkPtrType(object, "GtkPageSetup") checkPtrType(size, "GtkPaperSize") w <- .RGtkCall("S_gtk_page_setup_set_paper_size_and_default_margins", object, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkPageSetupGetPaperWidth <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_paper_width", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupGetPaperHeight <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_paper_height", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupGetPageWidth <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_page_width", object, unit, PACKAGE = "RGtk2") return(w) } gtkPageSetupGetPageHeight <- function(object, unit) { checkPtrType(object, "GtkPageSetup") w <- .RGtkCall("S_gtk_page_setup_get_page_height", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetType <- function() { w <- .RGtkCall("S_gtk_paper_size_get_type", PACKAGE = "RGtk2") return(w) } gtkPaperSizeNew <- function(name = NULL) { if (!is.null( name )) name <- as.character(name) w <- .RGtkCall("S_gtk_paper_size_new", name, PACKAGE = "RGtk2") return(w) } gtkPaperSizeNewFromPpd <- function(ppd.name, ppd.display.name, width, height) { ppd.name <- as.character(ppd.name) ppd.display.name <- as.character(ppd.display.name) width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_gtk_paper_size_new_from_ppd", ppd.name, ppd.display.name, width, height, PACKAGE = "RGtk2") return(w) } gtkPaperSizeNewCustom <- function(name, display.name, width, height, unit) { name <- as.character(name) display.name <- as.character(display.name) width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_gtk_paper_size_new_custom", name, display.name, width, height, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeCopy <- function(object) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_copy", object, PACKAGE = "RGtk2") return(w) } gtkPaperSizeIsEqual <- function(object, size2) { checkPtrType(object, "GtkPaperSize") checkPtrType(size2, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_is_equal", object, size2, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetName <- function(object) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_name", object, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetDisplayName <- function(object) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_display_name", object, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetPpdName <- function(object) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_ppd_name", object, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetWidth <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_width", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetHeight <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_height", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeIsCustom <- function(object) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_is_custom", object, PACKAGE = "RGtk2") return(w) } gtkPaperSizeSetSize <- function(object, width, height, unit) { checkPtrType(object, "GtkPaperSize") width <- as.numeric(width) height <- as.numeric(height) w <- .RGtkCall("S_gtk_paper_size_set_size", object, width, height, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaperSizeGetDefaultTopMargin <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_default_top_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetDefaultBottomMargin <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_default_bottom_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetDefaultLeftMargin <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_default_left_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetDefaultRightMargin <- function(object, unit) { checkPtrType(object, "GtkPaperSize") w <- .RGtkCall("S_gtk_paper_size_get_default_right_margin", object, unit, PACKAGE = "RGtk2") return(w) } gtkPaperSizeGetDefault <- function() { w <- .RGtkCall("S_gtk_paper_size_get_default", PACKAGE = "RGtk2") return(w) } gtkPrintContextGetType <- function() { w <- .RGtkCall("S_gtk_print_context_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintContextGetCairoContext <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_cairo_context", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetPageSetup <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_page_setup", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetWidth <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_width", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetHeight <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_height", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetDpiX <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_dpi_x", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetDpiY <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_dpi_y", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextGetPangoFontmap <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_pango_fontmap", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextCreatePangoContext <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_create_pango_context", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextCreatePangoLayout <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_create_pango_layout", object, PACKAGE = "RGtk2") return(w) } gtkPrintContextSetCairoContext <- function(object, cr, dpi.x, dpi.y) { checkPtrType(object, "GtkPrintContext") checkPtrType(cr, "Cairo") dpi.x <- as.numeric(dpi.x) dpi.y <- as.numeric(dpi.y) w <- .RGtkCall("S_gtk_print_context_set_cairo_context", object, cr, dpi.x, dpi.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintErrorQuark <- function() { w <- .RGtkCall("S_gtk_print_error_quark", PACKAGE = "RGtk2") return(w) } gtkPrintOperationGetType <- function() { w <- .RGtkCall("S_gtk_print_operation_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintOperationNew <- function() { w <- .RGtkCall("S_gtk_print_operation_new", PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetDefaultPageSetup <- function(object, default.page.setup = NULL) { checkPtrType(object, "GtkPrintOperation") if (!is.null( default.page.setup )) checkPtrType(default.page.setup, "GtkPageSetup") w <- .RGtkCall("S_gtk_print_operation_set_default_page_setup", object, default.page.setup, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationGetDefaultPageSetup <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_default_page_setup", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetPrintSettings <- function(object, print.settings = NULL) { checkPtrType(object, "GtkPrintOperation") if (!is.null( print.settings )) checkPtrType(print.settings, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_operation_set_print_settings", object, print.settings, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationGetPrintSettings <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_print_settings", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetJobName <- function(object, job.name) { checkPtrType(object, "GtkPrintOperation") job.name <- as.character(job.name) w <- .RGtkCall("S_gtk_print_operation_set_job_name", object, job.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetNPages <- function(object, n.pages) { checkPtrType(object, "GtkPrintOperation") n.pages <- as.integer(n.pages) w <- .RGtkCall("S_gtk_print_operation_set_n_pages", object, n.pages, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetCurrentPage <- function(object, current.page) { checkPtrType(object, "GtkPrintOperation") current.page <- as.integer(current.page) w <- .RGtkCall("S_gtk_print_operation_set_current_page", object, current.page, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetUseFullPage <- function(object, full.page) { checkPtrType(object, "GtkPrintOperation") full.page <- as.logical(full.page) w <- .RGtkCall("S_gtk_print_operation_set_use_full_page", object, full.page, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetUnit <- function(object, unit) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_set_unit", object, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetExportFilename <- function(object, filename) { checkPtrType(object, "GtkPrintOperation") filename <- as.character(filename) w <- .RGtkCall("S_gtk_print_operation_set_export_filename", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetTrackPrintStatus <- function(object, track.status) { checkPtrType(object, "GtkPrintOperation") track.status <- as.logical(track.status) w <- .RGtkCall("S_gtk_print_operation_set_track_print_status", object, track.status, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetShowProgress <- function(object, show.progress) { checkPtrType(object, "GtkPrintOperation") show.progress <- as.logical(show.progress) w <- .RGtkCall("S_gtk_print_operation_set_show_progress", object, show.progress, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetAllowAsync <- function(object, allow.async) { checkPtrType(object, "GtkPrintOperation") allow.async <- as.logical(allow.async) w <- .RGtkCall("S_gtk_print_operation_set_allow_async", object, allow.async, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetCustomTabLabel <- function(object, label) { checkPtrType(object, "GtkPrintOperation") label <- as.character(label) w <- .RGtkCall("S_gtk_print_operation_set_custom_tab_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationRun <- function(object, action, parent = NULL, .errwarn = TRUE) { checkPtrType(object, "GtkPrintOperation") if (!is.null( parent )) checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_print_operation_run", object, action, parent, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintOperationGetError <- function(object, .errwarn = TRUE) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_error", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintOperationGetStatus <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_status", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationGetStatusString <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_status_string", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationIsFinished <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_is_finished", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationCancel <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_cancel", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintRunPageSetupDialog <- function(parent, page.setup = NULL, settings) { checkPtrType(parent, "GtkWindow") if (!is.null( page.setup )) checkPtrType(page.setup, "GtkPageSetup") checkPtrType(settings, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_run_page_setup_dialog", parent, page.setup, settings, PACKAGE = "RGtk2") return(w) } gtkPrintRunPageSetupDialogAsync <- function(parent, page.setup, settings, done.cb, data) { checkPtrType(parent, "GtkWindow") checkPtrType(page.setup, "GtkPageSetup") checkPtrType(settings, "GtkPrintSettings") done.cb <- as.function(done.cb) w <- .RGtkCall("S_gtk_print_run_page_setup_dialog_async", parent, page.setup, settings, done.cb, data, PACKAGE = "RGtk2") return(w) } gtkPrintOperationPreviewGetType <- function() { w <- .RGtkCall("S_gtk_print_operation_preview_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintOperationPreviewRenderPage <- function(object, page.nr) { checkPtrType(object, "GtkPrintOperationPreview") page.nr <- as.integer(page.nr) w <- .RGtkCall("S_gtk_print_operation_preview_render_page", object, page.nr, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationPreviewEndPreview <- function(object) { checkPtrType(object, "GtkPrintOperationPreview") w <- .RGtkCall("S_gtk_print_operation_preview_end_preview", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationPreviewIsSelected <- function(object, page.nr) { checkPtrType(object, "GtkPrintOperationPreview") page.nr <- as.integer(page.nr) w <- .RGtkCall("S_gtk_print_operation_preview_is_selected", object, page.nr, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsGetType <- function() { w <- .RGtkCall("S_gtk_print_settings_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintSettingsNew <- function() { w <- .RGtkCall("S_gtk_print_settings_new", PACKAGE = "RGtk2") return(w) } gtkPrintSettingsCopy <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_copy", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsHasKey <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_has_key", object, key, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsGet <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_get", object, key, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSet <- function(object, key, value) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) value <- as.character(value) w <- .RGtkCall("S_gtk_print_settings_set", object, key, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsUnset <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_unset", object, key, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsForeach <- function(object, func, user.data = NULL) { checkPtrType(object, "GtkPrintSettings") func <- as.function(func) w <- .RGtkCall("S_gtk_print_settings_foreach", object, func, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetBool <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_get_bool", object, key, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetBool <- function(object, key, value) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) value <- as.logical(value) w <- .RGtkCall("S_gtk_print_settings_set_bool", object, key, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetDouble <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_get_double", object, key, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsGetDoubleWithDefault <- function(object, key, def) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) def <- as.numeric(def) w <- .RGtkCall("S_gtk_print_settings_get_double_with_default", object, key, def, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetDouble <- function(object, key, value) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) value <- as.numeric(value) w <- .RGtkCall("S_gtk_print_settings_set_double", object, key, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetLength <- function(object, key, unit) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_get_length", object, key, unit, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetLength <- function(object, key, value, unit) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) value <- as.numeric(value) w <- .RGtkCall("S_gtk_print_settings_set_length", object, key, value, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetInt <- function(object, key) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) w <- .RGtkCall("S_gtk_print_settings_get_int", object, key, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsGetIntWithDefault <- function(object, key, def) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) def <- as.integer(def) w <- .RGtkCall("S_gtk_print_settings_get_int_with_default", object, key, def, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetInt <- function(object, key, value) { checkPtrType(object, "GtkPrintSettings") key <- as.character(key) value <- as.integer(value) w <- .RGtkCall("S_gtk_print_settings_set_int", object, key, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPrinter <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_printer", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPrinter <- function(object, printer) { checkPtrType(object, "GtkPrintSettings") printer <- as.character(printer) w <- .RGtkCall("S_gtk_print_settings_set_printer", object, printer, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetOrientation <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPaperSize <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_paper_size", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPaperSize <- function(object, paper.size) { checkPtrType(object, "GtkPrintSettings") checkPtrType(paper.size, "GtkPaperSize") w <- .RGtkCall("S_gtk_print_settings_set_paper_size", object, paper.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPaperWidth <- function(object, unit) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_paper_width", object, unit, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPaperWidth <- function(object, width, unit) { checkPtrType(object, "GtkPrintSettings") width <- as.numeric(width) w <- .RGtkCall("S_gtk_print_settings_set_paper_width", object, width, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPaperHeight <- function(object, unit) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_paper_height", object, unit, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPaperHeight <- function(object, height, unit) { checkPtrType(object, "GtkPrintSettings") height <- as.numeric(height) w <- .RGtkCall("S_gtk_print_settings_set_paper_height", object, height, unit, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetUseColor <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_use_color", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetUseColor <- function(object, use.color) { checkPtrType(object, "GtkPrintSettings") use.color <- as.logical(use.color) w <- .RGtkCall("S_gtk_print_settings_set_use_color", object, use.color, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetCollate <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_collate", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetCollate <- function(object, collate) { checkPtrType(object, "GtkPrintSettings") collate <- as.logical(collate) w <- .RGtkCall("S_gtk_print_settings_set_collate", object, collate, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetReverse <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_reverse", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetReverse <- function(object, reverse) { checkPtrType(object, "GtkPrintSettings") reverse <- as.logical(reverse) w <- .RGtkCall("S_gtk_print_settings_set_reverse", object, reverse, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetDuplex <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_duplex", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetDuplex <- function(object, duplex) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_duplex", object, duplex, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetQuality <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_quality", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetQuality <- function(object, quality) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_quality", object, quality, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetNCopies <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_n_copies", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetNCopies <- function(object, num.copies) { checkPtrType(object, "GtkPrintSettings") num.copies <- as.integer(num.copies) w <- .RGtkCall("S_gtk_print_settings_set_n_copies", object, num.copies, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetNumberUp <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_number_up", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetNumberUp <- function(object, number.up) { checkPtrType(object, "GtkPrintSettings") number.up <- as.integer(number.up) w <- .RGtkCall("S_gtk_print_settings_set_number_up", object, number.up, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetResolution <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_resolution", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetResolution <- function(object, resolution) { checkPtrType(object, "GtkPrintSettings") resolution <- as.integer(resolution) w <- .RGtkCall("S_gtk_print_settings_set_resolution", object, resolution, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetScale <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_scale", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetScale <- function(object, scale) { checkPtrType(object, "GtkPrintSettings") scale <- as.numeric(scale) w <- .RGtkCall("S_gtk_print_settings_set_scale", object, scale, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPrintPages <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_print_pages", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPrintPages <- function(object, pages) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_print_pages", object, pages, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPageRanges <- function(object, num.ranges) { checkPtrType(object, "GtkPrintSettings") num.ranges <- as.list(as.integer(num.ranges)) w <- .RGtkCall("S_gtk_print_settings_get_page_ranges", object, num.ranges, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPageRanges <- function(object, page.ranges, num.ranges) { checkPtrType(object, "GtkPrintSettings") page.ranges <- as.GtkPageRange(page.ranges) num.ranges <- as.integer(num.ranges) w <- .RGtkCall("S_gtk_print_settings_set_page_ranges", object, page.ranges, num.ranges, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPageSet <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_page_set", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPageSet <- function(object, page.set) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_page_set", object, page.set, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetDefaultSource <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_default_source", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetDefaultSource <- function(object, default.source) { checkPtrType(object, "GtkPrintSettings") default.source <- as.character(default.source) w <- .RGtkCall("S_gtk_print_settings_set_default_source", object, default.source, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetMediaType <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_media_type", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetMediaType <- function(object, media.type) { checkPtrType(object, "GtkPrintSettings") media.type <- as.character(media.type) w <- .RGtkCall("S_gtk_print_settings_set_media_type", object, media.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetDither <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_dither", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetDither <- function(object, dither) { checkPtrType(object, "GtkPrintSettings") dither <- as.character(dither) w <- .RGtkCall("S_gtk_print_settings_set_dither", object, dither, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetFinishings <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_finishings", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetFinishings <- function(object, finishings) { checkPtrType(object, "GtkPrintSettings") finishings <- as.character(finishings) w <- .RGtkCall("S_gtk_print_settings_set_finishings", object, finishings, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetOutputBin <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_output_bin", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetOutputBin <- function(object, output.bin) { checkPtrType(object, "GtkPrintSettings") output.bin <- as.character(output.bin) w <- .RGtkCall("S_gtk_print_settings_set_output_bin", object, output.bin, PACKAGE = "RGtk2") return(invisible(w)) } gtkRadioActionSetCurrentValue <- function(object, current.value) { checkPtrType(object, "GtkRadioAction") current.value <- as.integer(current.value) w <- .RGtkCall("S_gtk_radio_action_set_current_value", object, current.value, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeSetLowerStepperSensitivity <- function(object, sensitivity) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_set_lower_stepper_sensitivity", object, sensitivity, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetLowerStepperSensitivity <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_lower_stepper_sensitivity", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetUpperStepperSensitivity <- function(object, sensitivity) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_set_upper_stepper_sensitivity", object, sensitivity, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetUpperStepperSensitivity <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_upper_stepper_sensitivity", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserDialogGetType <- function() { w <- .RGtkCall("S_gtk_recent_chooser_dialog_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentChooserErrorQuark <- function() { w <- .RGtkCall("S_gtk_recent_chooser_error_quark", PACKAGE = "RGtk2") return(w) } gtkRecentChooserGetType <- function() { w <- .RGtkCall("S_gtk_recent_chooser_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetShowPrivate <- function(object, show.private) { checkPtrType(object, "GtkRecentChooser") show.private <- as.logical(show.private) w <- .RGtkCall("S_gtk_recent_chooser_set_show_private", object, show.private, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetShowPrivate <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_show_private", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetShowNotFound <- function(object, show.not.found) { checkPtrType(object, "GtkRecentChooser") show.not.found <- as.logical(show.not.found) w <- .RGtkCall("S_gtk_recent_chooser_set_show_not_found", object, show.not.found, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetShowNotFound <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_show_not_found", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetSelectMultiple <- function(object, select.multiple) { checkPtrType(object, "GtkRecentChooser") select.multiple <- as.logical(select.multiple) w <- .RGtkCall("S_gtk_recent_chooser_set_select_multiple", object, select.multiple, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetSelectMultiple <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_select_multiple", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetLimit <- function(object, limit) { checkPtrType(object, "GtkRecentChooser") limit <- as.integer(limit) w <- .RGtkCall("S_gtk_recent_chooser_set_limit", object, limit, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetLimit <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_limit", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetLocalOnly <- function(object, local.only) { checkPtrType(object, "GtkRecentChooser") local.only <- as.logical(local.only) w <- .RGtkCall("S_gtk_recent_chooser_set_local_only", object, local.only, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetLocalOnly <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_local_only", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetShowTips <- function(object, show.tips) { checkPtrType(object, "GtkRecentChooser") show.tips <- as.logical(show.tips) w <- .RGtkCall("S_gtk_recent_chooser_set_show_tips", object, show.tips, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetShowTips <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_show_tips", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetShowIcons <- function(object, show.icons) { checkPtrType(object, "GtkRecentChooser") show.icons <- as.logical(show.icons) w <- .RGtkCall("S_gtk_recent_chooser_set_show_icons", object, show.icons, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetShowIcons <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_show_icons", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetSortType <- function(object, sort.type) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_set_sort_type", object, sort.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetSortType <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_sort_type", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetSortFunc <- function(object, sort.func, sort.data) { checkPtrType(object, "GtkRecentChooser") sort.func <- as.function(sort.func) w <- .RGtkCall("S_gtk_recent_chooser_set_sort_func", object, sort.func, sort.data, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetCurrentUri <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_set_current_uri", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentChooserGetCurrentUri <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_current_uri", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserGetCurrentItem <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_current_item", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSelectUri <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_select_uri", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentChooserUnselectUri <- function(object, uri) { checkPtrType(object, "GtkRecentChooser") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_chooser_unselect_uri", object, uri, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserSelectAll <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_select_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserUnselectAll <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_unselect_all", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetItems <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_items", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserGetUris <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_uris", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserAddFilter <- function(object, filter) { checkPtrType(object, "GtkRecentChooser") checkPtrType(filter, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_chooser_add_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserRemoveFilter <- function(object, filter) { checkPtrType(object, "GtkRecentChooser") checkPtrType(filter, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_chooser_remove_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserListFilters <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_list_filters", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserSetFilter <- function(object, filter) { checkPtrType(object, "GtkRecentChooser") checkPtrType(filter, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_chooser_set_filter", object, filter, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserGetFilter <- function(object) { checkPtrType(object, "GtkRecentChooser") w <- .RGtkCall("S_gtk_recent_chooser_get_filter", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserMenuGetType <- function() { w <- .RGtkCall("S_gtk_recent_chooser_menu_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentChooserMenuNew <- function() { w <- .RGtkCall("S_gtk_recent_chooser_menu_new", PACKAGE = "RGtk2") return(w) } gtkRecentChooserMenuNewForManager <- function(manager = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_recent_chooser_menu_new_for_manager", manager, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRecentChooserMenuGetShowNumbers <- function(object) { checkPtrType(object, "GtkRecentChooserMenu") w <- .RGtkCall("S_gtk_recent_chooser_menu_get_show_numbers", object, PACKAGE = "RGtk2") return(w) } gtkRecentChooserMenuSetShowNumbers <- function(object, show.numbers) { checkPtrType(object, "GtkRecentChooserMenu") show.numbers <- as.logical(show.numbers) w <- .RGtkCall("S_gtk_recent_chooser_menu_set_show_numbers", object, show.numbers, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentChooserWidgetGetType <- function() { w <- .RGtkCall("S_gtk_recent_chooser_widget_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentChooserWidgetNew <- function() { w <- .RGtkCall("S_gtk_recent_chooser_widget_new", PACKAGE = "RGtk2") return(w) } gtkRecentChooserWidgetNewForManager <- function(manager = NULL, show = TRUE) { w <- .RGtkCall("S_gtk_recent_chooser_widget_new_for_manager", manager, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkRecentFilterGetType <- function() { w <- .RGtkCall("S_gtk_recent_filter_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentFilterNew <- function() { w <- .RGtkCall("S_gtk_recent_filter_new", PACKAGE = "RGtk2") return(w) } gtkRecentFilterSetName <- function(object, name) { checkPtrType(object, "GtkRecentFilter") name <- as.character(name) w <- .RGtkCall("S_gtk_recent_filter_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterGetName <- function(object) { checkPtrType(object, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_filter_get_name", object, PACKAGE = "RGtk2") return(w) } gtkRecentFilterAddMimeType <- function(object, mime.type) { checkPtrType(object, "GtkRecentFilter") mime.type <- as.character(mime.type) w <- .RGtkCall("S_gtk_recent_filter_add_mime_type", object, mime.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddPattern <- function(object, pattern) { checkPtrType(object, "GtkRecentFilter") pattern <- as.character(pattern) w <- .RGtkCall("S_gtk_recent_filter_add_pattern", object, pattern, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddPixbufFormats <- function(object) { checkPtrType(object, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_filter_add_pixbuf_formats", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddApplication <- function(object, application) { checkPtrType(object, "GtkRecentFilter") application <- as.character(application) w <- .RGtkCall("S_gtk_recent_filter_add_application", object, application, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddGroup <- function(object, group) { checkPtrType(object, "GtkRecentFilter") group <- as.character(group) w <- .RGtkCall("S_gtk_recent_filter_add_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddAge <- function(object, days) { checkPtrType(object, "GtkRecentFilter") days <- as.integer(days) w <- .RGtkCall("S_gtk_recent_filter_add_age", object, days, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentFilterAddCustom <- function(object, needed, func, data) { checkPtrType(object, "GtkRecentFilter") func <- as.function(func) w <- .RGtkCall("S_gtk_recent_filter_add_custom", object, needed, func, data, PACKAGE = "RGtk2") return(w) } gtkRecentFilterGetNeeded <- function(object) { checkPtrType(object, "GtkRecentFilter") w <- .RGtkCall("S_gtk_recent_filter_get_needed", object, PACKAGE = "RGtk2") return(w) } gtkRecentFilterFilter <- function(object, filter.info) { checkPtrType(object, "GtkRecentFilter") filter.info <- as.GtkRecentFilterInfo(filter.info) w <- .RGtkCall("S_gtk_recent_filter_filter", object, filter.info, PACKAGE = "RGtk2") return(w) } gtkRecentManagerErrorQuark <- function() { w <- .RGtkCall("S_gtk_recent_manager_error_quark", PACKAGE = "RGtk2") return(w) } gtkRecentManagerGetType <- function() { w <- .RGtkCall("S_gtk_recent_manager_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentManagerNew <- function() { w <- .RGtkCall("S_gtk_recent_manager_new", PACKAGE = "RGtk2") return(w) } gtkRecentManagerGetDefault <- function() { w <- .RGtkCall("S_gtk_recent_manager_get_default", PACKAGE = "RGtk2") return(w) } gtkRecentManagerGetForScreen <- function(screen) { if(getOption("depwarn")) .Deprecated("gtkRecentManagerGetDefault", "RGtk2") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_recent_manager_get_for_screen", screen, PACKAGE = "RGtk2") return(w) } gtkRecentManagerSetScreen <- function(object, screen) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GtkRecentManager") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_recent_manager_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentManagerAddItem <- function(object, uri) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_manager_add_item", object, uri, PACKAGE = "RGtk2") return(w) } gtkRecentManagerAddFull <- function(object, uri, recent.data) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) recent.data <- as.GtkRecentData(recent.data) w <- .RGtkCall("S_gtk_recent_manager_add_full", object, uri, recent.data, PACKAGE = "RGtk2") return(w) } gtkRecentManagerRemoveItem <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_manager_remove_item", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentManagerLookupItem <- function(object, uri, .errwarn = TRUE) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_manager_lookup_item", object, uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentManagerHasItem <- function(object, uri) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) w <- .RGtkCall("S_gtk_recent_manager_has_item", object, uri, PACKAGE = "RGtk2") return(w) } gtkRecentManagerMoveItem <- function(object, uri, new.uri, .errwarn = TRUE) { checkPtrType(object, "GtkRecentManager") uri <- as.character(uri) new.uri <- as.character(new.uri) w <- .RGtkCall("S_gtk_recent_manager_move_item", object, uri, new.uri, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentManagerSetLimit <- function(object, limit) { checkPtrType(object, "GtkRecentManager") limit <- as.integer(limit) w <- .RGtkCall("S_gtk_recent_manager_set_limit", object, limit, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentManagerGetLimit <- function(object) { checkPtrType(object, "GtkRecentManager") w <- .RGtkCall("S_gtk_recent_manager_get_limit", object, PACKAGE = "RGtk2") return(w) } gtkRecentManagerGetItems <- function(object) { checkPtrType(object, "GtkRecentManager") w <- .RGtkCall("S_gtk_recent_manager_get_items", object, PACKAGE = "RGtk2") return(w) } gtkRecentManagerPurgeItems <- function(object, .errwarn = TRUE) { checkPtrType(object, "GtkRecentManager") w <- .RGtkCall("S_gtk_recent_manager_purge_items", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkRecentInfoGetType <- function() { w <- .RGtkCall("S_gtk_recent_info_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentInfoRef <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_ref", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoUnref <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_unref", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRecentInfoGetUri <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_uri", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetDisplayName <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_display_name", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetDescription <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_description", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetMimeType <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_mime_type", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetAdded <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_added", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetModified <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_modified", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetVisited <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_visited", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetPrivateHint <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_private_hint", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetApplicationInfo <- function(object, app.name) { checkPtrType(object, "GtkRecentInfo") app.name <- as.character(app.name) w <- .RGtkCall("S_gtk_recent_info_get_application_info", object, app.name, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetApplications <- function(object, length) { checkPtrType(object, "GtkRecentInfo") length <- as.list(as.numeric(length)) w <- .RGtkCall("S_gtk_recent_info_get_applications", object, length, PACKAGE = "RGtk2") return(w) } gtkRecentInfoLastApplication <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_last_application", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoHasApplication <- function(object, app.name) { checkPtrType(object, "GtkRecentInfo") app.name <- as.character(app.name) w <- .RGtkCall("S_gtk_recent_info_has_application", object, app.name, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetGroups <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_groups", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoHasGroup <- function(object, group.name) { checkPtrType(object, "GtkRecentInfo") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_recent_info_has_group", object, group.name, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetIcon <- function(object, size) { checkPtrType(object, "GtkRecentInfo") size <- as.integer(size) w <- .RGtkCall("S_gtk_recent_info_get_icon", object, size, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetShortName <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_short_name", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetUriDisplay <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_uri_display", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoGetAge <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_get_age", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoIsLocal <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_is_local", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoExists <- function(object) { checkPtrType(object, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_exists", object, PACKAGE = "RGtk2") return(w) } gtkRecentInfoMatch <- function(object, info.b) { checkPtrType(object, "GtkRecentInfo") checkPtrType(info.b, "GtkRecentInfo") w <- .RGtkCall("S_gtk_recent_info_match", object, info.b, PACKAGE = "RGtk2") return(w) } gtkScrolledWindowUnsetPlacement <- function(object) { checkPtrType(object, "GtkScrolledWindow") w <- .RGtkCall("S_gtk_scrolled_window_unset_placement", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTargetListAddRichTextTargets <- function(list, info, deserializable, buffer) { checkPtrType(list, "GtkTargetList") info <- as.numeric(info) deserializable <- as.logical(deserializable) checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_target_list_add_rich_text_targets", list, info, deserializable, buffer, PACKAGE = "RGtk2") return(w) } gtkTargetTableNewFromList <- function(list) { checkPtrType(list, "GtkTargetList") w <- .RGtkCall("S_gtk_target_table_new_from_list", list, PACKAGE = "RGtk2") return(w) } gtkSelectionDataTargetsIncludeRichText <- function(object, buffer) { checkPtrType(object, "GtkSelectionData") checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_selection_data_targets_include_rich_text", object, buffer, PACKAGE = "RGtk2") return(w) } gtkSelectionDataTargetsIncludeUri <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_targets_include_uri", object, PACKAGE = "RGtk2") return(w) } gtkTargetsIncludeText <- function(targets) { targets <- lapply(targets, function(x) { x <- as.GdkAtom(x); x }) w <- .RGtkCall("S_gtk_targets_include_text", targets, PACKAGE = "RGtk2") return(w) } gtkTargetsIncludeRichText <- function(targets, buffer) { targets <- lapply(targets, function(x) { x <- as.GdkAtom(x); x }) checkPtrType(buffer, "GtkTextBuffer") w <- .RGtkCall("S_gtk_targets_include_rich_text", targets, buffer, PACKAGE = "RGtk2") return(w) } gtkTargetsIncludeImage <- function(targets, writable) { targets <- lapply(targets, function(x) { x <- as.GdkAtom(x); x }) writable <- as.logical(writable) w <- .RGtkCall("S_gtk_targets_include_image", targets, writable, PACKAGE = "RGtk2") return(w) } gtkTargetsIncludeUri <- function(targets) { targets <- lapply(targets, function(x) { x <- as.GdkAtom(x); x }) w <- .RGtkCall("S_gtk_targets_include_uri", targets, PACKAGE = "RGtk2") return(w) } gtkTargetListGetType <- function() { w <- .RGtkCall("S_gtk_target_list_get_type", PACKAGE = "RGtk2") return(w) } gtkSizeGroupGetWidgets <- function(object) { checkPtrType(object, "GtkSizeGroup") w <- .RGtkCall("S_gtk_size_group_get_widgets", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetType <- function() { w <- .RGtkCall("S_gtk_status_icon_get_type", PACKAGE = "RGtk2") return(w) } gtkStatusIconNew <- function() { w <- .RGtkCall("S_gtk_status_icon_new", PACKAGE = "RGtk2") return(w) } gtkStatusIconNewFromPixbuf <- function(pixbuf) { checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_status_icon_new_from_pixbuf", pixbuf, PACKAGE = "RGtk2") return(w) } gtkStatusIconNewFromFile <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_gtk_status_icon_new_from_file", filename, PACKAGE = "RGtk2") return(w) } gtkStatusIconNewFromStock <- function(stock.id) { stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_status_icon_new_from_stock", stock.id, PACKAGE = "RGtk2") return(w) } gtkStatusIconNewFromIconName <- function(icon.name) { icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_status_icon_new_from_icon_name", icon.name, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetFromPixbuf <- function(object, pixbuf) { checkPtrType(object, "GtkStatusIcon") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_status_icon_set_from_pixbuf", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetFromFile <- function(object, filename) { checkPtrType(object, "GtkStatusIcon") filename <- as.character(filename) w <- .RGtkCall("S_gtk_status_icon_set_from_file", object, filename, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetFromStock <- function(object, stock.id) { checkPtrType(object, "GtkStatusIcon") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_status_icon_set_from_stock", object, stock.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetFromIconName <- function(object, icon.name) { checkPtrType(object, "GtkStatusIcon") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_status_icon_set_from_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetStorageType <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_storage_type", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetPixbuf <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetStock <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_stock", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetIconName <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetSize <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_size", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetTooltip <- function(object, tooltip.text) { if(getOption("depwarn")) .Deprecated("setTooltipText", "RGtk2") checkPtrType(object, "GtkStatusIcon") tooltip.text <- as.character(tooltip.text) w <- .RGtkCall("S_gtk_status_icon_set_tooltip", object, tooltip.text, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetVisible <- function(object, visible) { checkPtrType(object, "GtkStatusIcon") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_status_icon_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetVisible <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetBlinking <- function(object, blinking) { checkPtrType(object, "GtkStatusIcon") blinking <- as.logical(blinking) w <- .RGtkCall("S_gtk_status_icon_set_blinking", object, blinking, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetBlinking <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_blinking", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconIsEmbedded <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_is_embedded", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconPositionMenu <- function(menu, user.data) { checkPtrType(menu, "GtkMenu") w <- .RGtkCall("S_gtk_status_icon_position_menu", menu, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetGeometry <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_geometry", object, PACKAGE = "RGtk2") return(w) } gtkStyleLookupColor <- function(object, color.name) { checkPtrType(object, "GtkStyle") color.name <- as.character(color.name) w <- .RGtkCall("S_gtk_style_lookup_color", object, color.name, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetHasSelection <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_has_selection", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetCopyTargetList <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_copy_target_list", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetPasteTargetList <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_paste_target_list", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferRegisterSerializeFormat <- function(object, mime.type, fun, user.data) { checkPtrType(object, "GtkTextBuffer") mime.type <- as.character(mime.type) fun <- as.function(fun) w <- .RGtkCall("S_gtk_text_buffer_register_serialize_format", object, mime.type, fun, user.data, PACKAGE = "RGtk2") return(w) } gtkTextBufferRegisterSerializeTagset <- function(object, tagset.name = NULL) { checkPtrType(object, "GtkTextBuffer") if (!is.null( tagset.name )) tagset.name <- as.character(tagset.name) w <- .RGtkCall("S_gtk_text_buffer_register_serialize_tagset", object, tagset.name, PACKAGE = "RGtk2") return(w) } gtkTextBufferRegisterDeserializeFormat <- function(object, mime.type, fun, user.data) { checkPtrType(object, "GtkTextBuffer") mime.type <- as.character(mime.type) fun <- as.function(fun) w <- .RGtkCall("S_gtk_text_buffer_register_deserialize_format", object, mime.type, fun, user.data, PACKAGE = "RGtk2") return(w) } gtkTextBufferRegisterDeserializeTagset <- function(object, tagset.name = NULL) { checkPtrType(object, "GtkTextBuffer") if (!is.null( tagset.name )) tagset.name <- as.character(tagset.name) w <- .RGtkCall("S_gtk_text_buffer_register_deserialize_tagset", object, tagset.name, PACKAGE = "RGtk2") return(w) } gtkTextBufferUnregisterSerializeFormat <- function(object, format) { checkPtrType(object, "GtkTextBuffer") format <- as.GdkAtom(format) w <- .RGtkCall("S_gtk_text_buffer_unregister_serialize_format", object, format, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferUnregisterDeserializeFormat <- function(object, format) { checkPtrType(object, "GtkTextBuffer") format <- as.GdkAtom(format) w <- .RGtkCall("S_gtk_text_buffer_unregister_deserialize_format", object, format, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferDeserializeSetCanCreateTags <- function(object, format, can.create.tags) { checkPtrType(object, "GtkTextBuffer") format <- as.GdkAtom(format) can.create.tags <- as.logical(can.create.tags) w <- .RGtkCall("S_gtk_text_buffer_deserialize_set_can_create_tags", object, format, can.create.tags, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextBufferDeserializeGetCanCreateTags <- function(object, format) { checkPtrType(object, "GtkTextBuffer") format <- as.GdkAtom(format) w <- .RGtkCall("S_gtk_text_buffer_deserialize_get_can_create_tags", object, format, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetSerializeFormats <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_serialize_formats", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferGetDeserializeFormats <- function(object) { checkPtrType(object, "GtkTextBuffer") w <- .RGtkCall("S_gtk_text_buffer_get_deserialize_formats", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferSerialize <- function(object, content.buffer, format, start, end) { checkPtrType(object, "GtkTextBuffer") checkPtrType(content.buffer, "GtkTextBuffer") format <- as.GdkAtom(format) checkPtrType(start, "GtkTextIter") checkPtrType(end, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_serialize", object, content.buffer, format, start, end, PACKAGE = "RGtk2") return(w) } gtkTextBufferDeserialize <- function(object, content.buffer, format, iter, data, .errwarn = TRUE) { checkPtrType(object, "GtkTextBuffer") checkPtrType(content.buffer, "GtkTextBuffer") format <- as.GdkAtom(format) checkPtrType(iter, "GtkTextIter") data <- as.list(as.raw(data)) w <- .RGtkCall("S_gtk_text_buffer_deserialize", object, content.buffer, format, iter, data, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkTreeViewGetHeadersClickable <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_headers_clickable", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetSearchEntry <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_search_entry", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetSearchEntry <- function(object, entry = NULL) { checkPtrType(object, "GtkTreeView") if (!is.null( entry )) checkPtrType(entry, "GtkEntry") w <- .RGtkCall("S_gtk_tree_view_set_search_entry", object, entry, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetSearchPositionFunc <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_search_position_func", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetSearchPositionFunc <- function(object, func, data) { checkPtrType(object, "GtkTreeView") func <- as.function(func) w <- .RGtkCall("S_gtk_tree_view_set_search_position_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetRubberBanding <- function(object, enable) { checkPtrType(object, "GtkTreeView") enable <- as.logical(enable) w <- .RGtkCall("S_gtk_tree_view_set_rubber_banding", object, enable, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetRubberBanding <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_rubber_banding", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewGetGridLines <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_grid_lines", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetGridLines <- function(object, grid.lines) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_set_grid_lines", object, grid.lines, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetEnableTreeLines <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_enable_tree_lines", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetEnableTreeLines <- function(object, enabled) { checkPtrType(object, "GtkTreeView") enabled <- as.logical(enabled) w <- .RGtkCall("S_gtk_tree_view_set_enable_tree_lines", object, enabled, PACKAGE = "RGtk2") return(invisible(w)) } gtkAssistantPageTypeGetType <- function() { w <- .RGtkCall("S_gtk_assistant_page_type_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererAccelModeGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_accel_mode_get_type", PACKAGE = "RGtk2") return(w) } gtkSensitivityTypeGetType <- function() { w <- .RGtkCall("S_gtk_sensitivity_type_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintPagesGetType <- function() { w <- .RGtkCall("S_gtk_print_pages_get_type", PACKAGE = "RGtk2") return(w) } gtkPageSetGetType <- function() { w <- .RGtkCall("S_gtk_page_set_get_type", PACKAGE = "RGtk2") return(w) } gtkPageOrientationGetType <- function() { w <- .RGtkCall("S_gtk_page_orientation_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintQualityGetType <- function() { w <- .RGtkCall("S_gtk_print_quality_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintDuplexGetType <- function() { w <- .RGtkCall("S_gtk_print_duplex_get_type", PACKAGE = "RGtk2") return(w) } gtkUnitGetType <- function() { w <- .RGtkCall("S_gtk_unit_get_type", PACKAGE = "RGtk2") return(w) } gtkTreeViewGridLinesGetType <- function() { w <- .RGtkCall("S_gtk_tree_view_grid_lines_get_type", PACKAGE = "RGtk2") return(w) } gtkPrintOperationActionGetType <- function() { w <- .RGtkCall("S_gtk_print_operation_action_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentSortTypeGetType <- function() { w <- .RGtkCall("S_gtk_recent_sort_type_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentChooserErrorGetType <- function() { w <- .RGtkCall("S_gtk_recent_chooser_error_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentFilterFlagsGetType <- function() { w <- .RGtkCall("S_gtk_recent_filter_flags_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentManagerErrorGetType <- function() { w <- .RGtkCall("S_gtk_recent_manager_error_get_type", PACKAGE = "RGtk2") return(w) } gtkTextBufferTargetInfoGetType <- function() { w <- .RGtkCall("S_gtk_text_buffer_target_info_get_type", PACKAGE = "RGtk2") return(w) } gtkWidgetIsComposited <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_composited", object, PACKAGE = "RGtk2") return(w) } gtkWidgetInputShapeCombineMask <- function(object, shape.mask = NULL, offset.x, offset.y) { checkPtrType(object, "GtkWidget") if (!is.null( shape.mask )) checkPtrType(shape.mask, "GdkBitmap") offset.x <- as.integer(offset.x) offset.y <- as.integer(offset.y) w <- .RGtkCall("S_gtk_widget_input_shape_combine_mask", object, shape.mask, offset.x, offset.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetDeletable <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_deletable", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetDeletable <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_deletable", object, PACKAGE = "RGtk2") return(w) } gtkWindowGetGroup <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_group", object, PACKAGE = "RGtk2") return(w) } gtkBuildableGetType <- function() { w <- .RGtkCall("S_gtk_buildable_get_type", PACKAGE = "RGtk2") return(w) } gtkBuildableSetName <- function(object, name) { checkPtrType(object, "GtkBuildable") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableGetName <- function(object) { checkPtrType(object, "GtkBuildable") w <- .RGtkCall("S_gtk_buildable_get_name", object, PACKAGE = "RGtk2") return(w) } gtkBuildableAddChild <- function(object, builder, child, type) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") type <- as.character(type) w <- .RGtkCall("S_gtk_buildable_add_child", object, builder, child, type, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableSetBuildableProperty <- function(object, builder, name, value) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_set_buildable_property", object, builder, name, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableConstructChild <- function(object, builder, name) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") name <- as.character(name) w <- .RGtkCall("S_gtk_buildable_construct_child", object, builder, name, PACKAGE = "RGtk2") return(w) } gtkBuildableCustomTagStart <- function(object, builder, child, tagname, parser, data) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) checkPtrType(parser, "GMarkupParser") w <- .RGtkCall("S_gtk_buildable_custom_tag_start", object, builder, child, tagname, parser, data, PACKAGE = "RGtk2") return(w) } gtkBuildableCustomTagEnd <- function(object, builder, child, tagname, data) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) w <- .RGtkCall("S_gtk_buildable_custom_tag_end", object, builder, child, tagname, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableCustomFinished <- function(object, builder, child, tagname, data) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") checkPtrType(child, "GObject") tagname <- as.character(tagname) w <- .RGtkCall("S_gtk_buildable_custom_finished", object, builder, child, tagname, data, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableParserFinished <- function(object, builder) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") w <- .RGtkCall("S_gtk_buildable_parser_finished", object, builder, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuildableGetInternalChild <- function(object, builder, childname) { checkPtrType(object, "GtkBuildable") checkPtrType(builder, "GtkBuilder") childname <- as.character(childname) w <- .RGtkCall("S_gtk_buildable_get_internal_child", object, builder, childname, PACKAGE = "RGtk2") return(w) } gtkBuilderErrorQuark <- function() { w <- .RGtkCall("S_gtk_builder_error_quark", PACKAGE = "RGtk2") return(w) } gtkBuilderGetType <- function() { w <- .RGtkCall("S_gtk_builder_get_type", PACKAGE = "RGtk2") return(w) } gtkBuilderAddFromFile <- function(object, filename, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") filename <- as.character(filename) w <- .RGtkCall("S_gtk_builder_add_from_file", object, filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkBuilderAddFromString <- function(object, buffer, length, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") buffer <- as.character(buffer) length <- as.numeric(length) w <- .RGtkCall("S_gtk_builder_add_from_string", object, buffer, length, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkBuilderGetObject <- function(object, name) { checkPtrType(object, "GtkBuilder") name <- as.character(name) w <- .RGtkCall("S_gtk_builder_get_object", object, name, PACKAGE = "RGtk2") return(w) } gtkBuilderGetObjects <- function(object) { checkPtrType(object, "GtkBuilder") w <- .RGtkCall("S_gtk_builder_get_objects", object, PACKAGE = "RGtk2") return(w) } gtkBuilderConnectSignals <- function(object, user.data = NULL) { checkPtrType(object, "GtkBuilder") w <- .RGtkCall("S_gtk_builder_connect_signals", object, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuilderConnectSignalsFull <- function(object, func, user.data) { checkPtrType(object, "GtkBuilder") func <- as.function(func) w <- .RGtkCall("S_gtk_builder_connect_signals_full", object, func, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuilderSetTranslationDomain <- function(object, domain) { checkPtrType(object, "GtkBuilder") domain <- as.character(domain) w <- .RGtkCall("S_gtk_builder_set_translation_domain", object, domain, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuilderGetTranslationDomain <- function(object) { checkPtrType(object, "GtkBuilder") w <- .RGtkCall("S_gtk_builder_get_translation_domain", object, PACKAGE = "RGtk2") return(w) } gtkBuilderGetTypeFromName <- function(object, type.name) { checkPtrType(object, "GtkBuilder") type.name <- as.character(type.name) w <- .RGtkCall("S_gtk_builder_get_type_from_name", object, type.name, PACKAGE = "RGtk2") return(w) } gtkBuilderValueFromString <- function(object, pspec, string, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") pspec <- as.GParamSpec(pspec) string <- as.character(string) w <- .RGtkCall("S_gtk_builder_value_from_string", object, pspec, string, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkBuilderValueFromStringType <- function(object, type, string, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") type <- as.GType(type) string <- as.character(string) w <- .RGtkCall("S_gtk_builder_value_from_string_type", object, type, string, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkAboutDialogGetProgramName <- function(object) { checkPtrType(object, "GtkAboutDialog") w <- .RGtkCall("S_gtk_about_dialog_get_program_name", object, PACKAGE = "RGtk2") return(w) } gtkAboutDialogSetProgramName <- function(object, name) { checkPtrType(object, "GtkAboutDialog") name <- as.character(name) w <- .RGtkCall("S_gtk_about_dialog_set_program_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionCreateMenu <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_create_menu", object, PACKAGE = "RGtk2") return(w) } gtkCellLayoutGetCells <- function(object) { checkPtrType(object, "GtkCellLayout") w <- .RGtkCall("S_gtk_cell_layout_get_cells", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionGetCompletionPrefix <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_completion_prefix", object, PACKAGE = "RGtk2") return(w) } gtkEntryCompletionSetInlineSelection <- function(object, inline.selection) { checkPtrType(object, "GtkEntryCompletion") inline.selection <- as.logical(inline.selection) w <- .RGtkCall("S_gtk_entry_completion_set_inline_selection", object, inline.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryCompletionGetInlineSelection <- function(object) { checkPtrType(object, "GtkEntryCompletion") w <- .RGtkCall("S_gtk_entry_completion_get_inline_selection", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetCursorHadjustment <- function(object, adjustment) { checkPtrType(object, "GtkEntry") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_entry_set_cursor_hadjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetCursorHadjustment <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_cursor_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkIconThemeChooseIcon <- function(object, icon.names, size, flags) { checkPtrType(object, "GtkIconTheme") icon.names <- as.list(as.character(icon.names)) size <- as.integer(size) w <- .RGtkCall("S_gtk_icon_theme_choose_icon", object, icon.names, size, flags, PACKAGE = "RGtk2") return(w) } gtkIconThemeListContexts <- function(object) { checkPtrType(object, "GtkIconTheme") w <- .RGtkCall("S_gtk_icon_theme_list_contexts", object, PACKAGE = "RGtk2") return(w) } gtkIconViewConvertWidgetToBinWindowCoords <- function(object, wx, wy) { checkPtrType(object, "GtkIconView") wx <- as.integer(wx) wy <- as.integer(wy) w <- .RGtkCall("S_gtk_icon_view_convert_widget_to_bin_window_coords", object, wx, wy, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetTooltipItem <- function(object, tooltip, path) { checkPtrType(object, "GtkIconView") checkPtrType(tooltip, "GtkTooltip") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_icon_view_set_tooltip_item", object, tooltip, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetTooltipCell <- function(object, tooltip, path, cell) { checkPtrType(object, "GtkIconView") checkPtrType(tooltip, "GtkTooltip") checkPtrType(path, "GtkTreePath") checkPtrType(cell, "GtkCellRenderer") w <- .RGtkCall("S_gtk_icon_view_set_tooltip_cell", object, tooltip, path, cell, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewSetTooltipColumn <- function(object, column) { checkPtrType(object, "GtkIconView") column <- as.integer(column) w <- .RGtkCall("S_gtk_icon_view_set_tooltip_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetTooltipColumn <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_tooltip_column", object, PACKAGE = "RGtk2") return(w) } gtkListStoreSetValuesv <- function(object, iter, columns, values) { checkPtrType(object, "GtkListStore") checkPtrType(iter, "GtkTreeIter") columns <- as.list(as.integer(columns)) values <- as.list(values) w <- .RGtkCall("S_gtk_list_store_set_valuesv", object, iter, columns, values, PACKAGE = "RGtk2") return(w) } gtkMenuToolButtonSetArrowTooltipText <- function(object, text) { checkPtrType(object, "GtkMenuToolButton") text <- as.character(text) w <- .RGtkCall("S_gtk_menu_tool_button_set_arrow_tooltip_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuToolButtonSetArrowTooltipMarkup <- function(object, markup) { checkPtrType(object, "GtkMenuToolButton") markup <- as.character(markup) w <- .RGtkCall("S_gtk_menu_tool_button_set_arrow_tooltip_markup", object, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookSetGroup <- function(object, group) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_set_group", object, group, PACKAGE = "RGtk2") return(invisible(w)) } gtkNotebookGetGroup <- function(object) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_group", object, PACKAGE = "RGtk2") return(w) } gtkPageSetupNewFromFile <- function(file.name, .errwarn = TRUE) { file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_page_setup_new_from_file", file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPageSetupNewFromKeyFile <- function(key.file, group.name, .errwarn = TRUE) { checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_page_setup_new_from_key_file", key.file, group.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPageSetupToFile <- function(object, file.name, .errwarn = TRUE) { checkPtrType(object, "GtkPageSetup") file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_page_setup_to_file", object, file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPageSetupToKeyFile <- function(object, key.file, group.name) { checkPtrType(object, "GtkPageSetup") checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_page_setup_to_key_file", object, key.file, group.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaperSizeGetPaperSizes <- function(include.custom) { include.custom <- as.logical(include.custom) w <- .RGtkCall("S_gtk_paper_size_get_paper_sizes", include.custom, PACKAGE = "RGtk2") return(w) } gtkPaperSizeNewFromKeyFile <- function(key.file, group.name, .errwarn = TRUE) { checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_paper_size_new_from_key_file", key.file, group.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPaperSizeToKeyFile <- function(object, key.file, group.name) { checkPtrType(object, "GtkPaperSize") checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_paper_size_to_key_file", object, key.file, group.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsNewFromFile <- function(file.name, .errwarn = TRUE) { file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_print_settings_new_from_file", file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsToFile <- function(object, file.name, .errwarn = TRUE) { checkPtrType(object, "GtkPrintSettings") file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_print_settings_to_file", object, file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsNewFromKeyFile <- function(key.file, group.name, .errwarn = TRUE) { checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_print_settings_new_from_key_file", key.file, group.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsToKeyFile <- function(object, key.file, group.name) { checkPtrType(object, "GtkPrintSettings") checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_print_settings_to_key_file", object, key.file, group.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeSetShowFillLevel <- function(object, show.fill.level) { checkPtrType(object, "GtkRange") show.fill.level <- as.logical(show.fill.level) w <- .RGtkCall("S_gtk_range_set_show_fill_level", object, show.fill.level, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetShowFillLevel <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_show_fill_level", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetRestrictToFillLevel <- function(object, restrict.to.fill.level) { checkPtrType(object, "GtkRange") restrict.to.fill.level <- as.logical(restrict.to.fill.level) w <- .RGtkCall("S_gtk_range_set_restrict_to_fill_level", object, restrict.to.fill.level, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetRestrictToFillLevel <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_restrict_to_fill_level", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetFillLevel <- function(object, fill.level) { checkPtrType(object, "GtkRange") fill.level <- as.numeric(fill.level) w <- .RGtkCall("S_gtk_range_set_fill_level", object, fill.level, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetFillLevel <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_fill_level", object, PACKAGE = "RGtk2") return(w) } gtkRcParseColorFull <- function(scanner, style) { checkPtrType(scanner, "GScanner") checkPtrType(style, "GtkRcStyle") w <- .RGtkCall("S_gtk_rc_parse_color_full", scanner, style, PACKAGE = "RGtk2") return(w) } gtkRecentActionGetType <- function() { w <- .RGtkCall("S_gtk_recent_action_get_type", PACKAGE = "RGtk2") return(w) } gtkRecentActionNew <- function(name, label, tooltip, stock.id) { name <- as.character(name) label <- as.character(label) tooltip <- as.character(tooltip) stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_recent_action_new", name, label, tooltip, stock.id, PACKAGE = "RGtk2") return(w) } gtkRecentActionNewForManager <- function(name, label, tooltip, stock.id, manager) { name <- as.character(name) label <- as.character(label) tooltip <- as.character(tooltip) stock.id <- as.character(stock.id) checkPtrType(manager, "GtkRecentManager") w <- .RGtkCall("S_gtk_recent_action_new_for_manager", name, label, tooltip, stock.id, manager, PACKAGE = "RGtk2") return(w) } gtkRecentActionGetShowNumbers <- function(object) { checkPtrType(object, "GtkRecentAction") w <- .RGtkCall("S_gtk_recent_action_get_show_numbers", object, PACKAGE = "RGtk2") return(w) } gtkRecentActionSetShowNumbers <- function(object, show.numbers) { checkPtrType(object, "GtkRecentAction") show.numbers <- as.logical(show.numbers) w <- .RGtkCall("S_gtk_recent_action_set_show_numbers", object, show.numbers, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleButtonGetType <- function() { w <- .RGtkCall("S_gtk_scale_button_get_type", PACKAGE = "RGtk2") return(w) } gtkScaleButtonNew <- function(size, min, max, step, icons, show = TRUE) { min <- as.numeric(min) max <- as.numeric(max) step <- as.numeric(step) icons <- as.list(as.character(icons)) w <- .RGtkCall("S_gtk_scale_button_new", size, min, max, step, icons, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkScaleButtonSetIcons <- function(object, icons) { checkPtrType(object, "GtkScaleButton") icons <- as.list(as.character(icons)) w <- .RGtkCall("S_gtk_scale_button_set_icons", object, icons, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleButtonGetValue <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_value", object, PACKAGE = "RGtk2") return(w) } gtkScaleButtonSetValue <- function(object, value) { checkPtrType(object, "GtkScaleButton") value <- as.numeric(value) w <- .RGtkCall("S_gtk_scale_button_set_value", object, value, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleButtonGetAdjustment <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_adjustment", object, PACKAGE = "RGtk2") return(w) } gtkScaleButtonSetAdjustment <- function(object, adjustment) { checkPtrType(object, "GtkScaleButton") checkPtrType(adjustment, "GtkAdjustment") w <- .RGtkCall("S_gtk_scale_button_set_adjustment", object, adjustment, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetScreen <- function(object, screen) { checkPtrType(object, "GtkStatusIcon") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_status_icon_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetScreen <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_screen", object, PACKAGE = "RGtk2") return(w) } gtkTextBufferAddMark <- function(object, mark, where) { checkPtrType(object, "GtkTextBuffer") checkPtrType(mark, "GtkTextMark") checkPtrType(where, "GtkTextIter") w <- .RGtkCall("S_gtk_text_buffer_add_mark", object, mark, where, PACKAGE = "RGtk2") return(invisible(w)) } gtkTextMarkNew <- function(name, left.gravity) { name <- as.character(name) left.gravity <- as.logical(left.gravity) w <- .RGtkCall("S_gtk_text_mark_new", name, left.gravity, PACKAGE = "RGtk2") return(w) } gtkTooltipGetType <- function() { w <- .RGtkCall("S_gtk_tooltip_get_type", PACKAGE = "RGtk2") return(w) } gtkTooltipSetMarkup <- function(object, markup) { checkPtrType(object, "GtkTooltip") markup <- as.character(markup) w <- .RGtkCall("S_gtk_tooltip_set_markup", object, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipSetText <- function(object, text) { checkPtrType(object, "GtkTooltip") text <- as.character(text) w <- .RGtkCall("S_gtk_tooltip_set_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipSetIcon <- function(object, pixbuf) { checkPtrType(object, "GtkTooltip") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_tooltip_set_icon", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipSetIconFromStock <- function(object, stock.id, size) { checkPtrType(object, "GtkTooltip") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_tooltip_set_icon_from_stock", object, stock.id, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipSetCustom <- function(object, custom.widget) { checkPtrType(object, "GtkTooltip") checkPtrType(custom.widget, "GtkWidget") w <- .RGtkCall("S_gtk_tooltip_set_custom", object, custom.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipTriggerTooltipQuery <- function(display) { checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gtk_tooltip_trigger_tooltip_query", display, PACKAGE = "RGtk2") return(w) } gtkTooltipSetTipArea <- function(object, area) { checkPtrType(object, "GtkTooltip") area <- as.GdkRectangle(area) w <- .RGtkCall("S_gtk_tooltip_set_tip_area", object, area, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemSetTooltipText <- function(object, text) { checkPtrType(object, "GtkToolItem") text <- as.character(text) w <- .RGtkCall("S_gtk_tool_item_set_tooltip_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemSetTooltipMarkup <- function(object, markup) { checkPtrType(object, "GtkToolItem") markup <- as.character(markup) w <- .RGtkCall("S_gtk_tool_item_set_tooltip_markup", object, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeStoreSetValuesv <- function(object, iter, columns, values) { checkPtrType(object, "GtkTreeStore") checkPtrType(iter, "GtkTreeIter") columns <- as.list(as.integer(columns)) values <- as.list(values) w <- .RGtkCall("S_gtk_tree_store_set_valuesv", object, iter, columns, values, PACKAGE = "RGtk2") return(w) } gtkTreeViewColumnGetTreeView <- function(object) { checkPtrType(object, "GtkTreeViewColumn") w <- .RGtkCall("S_gtk_tree_view_column_get_tree_view", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewConvertWidgetToTreeCoords <- function(object, wx, wy) { checkPtrType(object, "GtkTreeView") wx <- as.integer(wx) wy <- as.integer(wy) w <- .RGtkCall("S_gtk_tree_view_convert_widget_to_tree_coords", object, wx, wy, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewConvertTreeToWidgetCoords <- function(object, tx, ty) { checkPtrType(object, "GtkTreeView") tx <- as.integer(tx) ty <- as.integer(ty) w <- .RGtkCall("S_gtk_tree_view_convert_tree_to_widget_coords", object, tx, ty, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewConvertWidgetToBinWindowCoords <- function(object, wx, wy) { checkPtrType(object, "GtkTreeView") wx <- as.integer(wx) wy <- as.integer(wy) w <- .RGtkCall("S_gtk_tree_view_convert_widget_to_bin_window_coords", object, wx, wy, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewConvertBinWindowToWidgetCoords <- function(object, bx, by) { checkPtrType(object, "GtkTreeView") bx <- as.integer(bx) by <- as.integer(by) w <- .RGtkCall("S_gtk_tree_view_convert_bin_window_to_widget_coords", object, bx, by, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewConvertTreeToBinWindowCoords <- function(object, tx, ty) { checkPtrType(object, "GtkTreeView") tx <- as.integer(tx) ty <- as.integer(ty) w <- .RGtkCall("S_gtk_tree_view_convert_tree_to_bin_window_coords", object, tx, ty, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewConvertBinWindowToTreeCoords <- function(object, bx, by) { checkPtrType(object, "GtkTreeView") bx <- as.integer(bx) by <- as.integer(by) w <- .RGtkCall("S_gtk_tree_view_convert_bin_window_to_tree_coords", object, bx, by, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetShowExpanders <- function(object, enabled) { checkPtrType(object, "GtkTreeView") enabled <- as.logical(enabled) w <- .RGtkCall("S_gtk_tree_view_set_show_expanders", object, enabled, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetShowExpanders <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_show_expanders", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetLevelIndentation <- function(object, indentation) { checkPtrType(object, "GtkTreeView") indentation <- as.integer(indentation) w <- .RGtkCall("S_gtk_tree_view_set_level_indentation", object, indentation, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetLevelIndentation <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_level_indentation", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewIsRubberBandingActive <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_is_rubber_banding_active", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetTooltipColumn <- function(object, column) { checkPtrType(object, "GtkTreeView") column <- as.integer(column) w <- .RGtkCall("S_gtk_tree_view_set_tooltip_column", object, column, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewGetTooltipColumn <- function(object) { checkPtrType(object, "GtkTreeView") w <- .RGtkCall("S_gtk_tree_view_get_tooltip_column", object, PACKAGE = "RGtk2") return(w) } gtkTreeViewSetTooltipRow <- function(object, tooltip, path) { checkPtrType(object, "GtkTreeView") checkPtrType(tooltip, "GtkTooltip") checkPtrType(path, "GtkTreePath") w <- .RGtkCall("S_gtk_tree_view_set_tooltip_row", object, tooltip, path, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeViewSetTooltipCell <- function(object, tooltip, path, column, cell) { checkPtrType(object, "GtkTreeView") checkPtrType(tooltip, "GtkTooltip") checkPtrType(path, "GtkTreePath") checkPtrType(column, "GtkTreeViewColumn") checkPtrType(cell, "GtkCellRenderer") w <- .RGtkCall("S_gtk_tree_view_set_tooltip_cell", object, tooltip, path, column, cell, PACKAGE = "RGtk2") return(invisible(w)) } gtkVolumeButtonGetType <- function() { w <- .RGtkCall("S_gtk_volume_button_get_type", PACKAGE = "RGtk2") return(w) } gtkVolumeButtonNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_volume_button_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkWidgetKeynavFailed <- function(object, direction) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_keynav_failed", object, direction, PACKAGE = "RGtk2") return(w) } gtkWidgetErrorBell <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_error_bell", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetTooltipWindow <- function(object, custom.window) { checkPtrType(object, "GtkWidget") checkPtrType(custom.window, "GtkWindow") w <- .RGtkCall("S_gtk_widget_set_tooltip_window", object, custom.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetTooltipWindow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_tooltip_window", object, PACKAGE = "RGtk2") return(w) } gtkWidgetTriggerTooltipQuery <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_trigger_tooltip_query", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetSetTooltipText <- function(object, text) { checkPtrType(object, "GtkWidget") text <- as.character(text) w <- .RGtkCall("S_gtk_widget_set_tooltip_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetTooltipText <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_tooltip_text", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetTooltipMarkup <- function(object, markup) { checkPtrType(object, "GtkWidget") markup <- as.character(markup) w <- .RGtkCall("S_gtk_widget_set_tooltip_markup", object, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetTooltipMarkup <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_tooltip_markup", object, PACKAGE = "RGtk2") return(w) } gtkWidgetModifyCursor <- function(object, primary, secondary) { checkPtrType(object, "GtkWidget") primary <- as.GdkColor(primary) secondary <- as.GdkColor(secondary) w <- .RGtkCall("S_gtk_widget_modify_cursor", object, primary, secondary, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetHasTooltip <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_has_tooltip", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetHasTooltip <- function(object, has.tooltip) { checkPtrType(object, "GtkWidget") has.tooltip <- as.logical(has.tooltip) w <- .RGtkCall("S_gtk_widget_set_has_tooltip", object, has.tooltip, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowSetOpacity <- function(object, opacity) { checkPtrType(object, "GtkWindow") opacity <- as.numeric(opacity) w <- .RGtkCall("S_gtk_window_set_opacity", object, opacity, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetOpacity <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_opacity", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetStartupId <- function(object, startup.id) { checkPtrType(object, "GtkWindow") startup.id <- as.character(startup.id) w <- .RGtkCall("S_gtk_window_set_startup_id", object, startup.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkAccelGroupGetIsLocked <- function(object) { checkPtrType(object, "GtkAccelGroup") w <- .RGtkCall("S_gtk_accel_group_get_is_locked", object, PACKAGE = "RGtk2") return(w) } gtkAccelGroupGetModifierMask <- function(object) { checkPtrType(object, "GtkAccelGroup") w <- .RGtkCall("S_gtk_accel_group_get_modifier_mask", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentGetLower <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_lower", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetLower <- function(object, lower) { checkPtrType(object, "GtkAdjustment") lower <- as.numeric(lower) w <- .RGtkCall("S_gtk_adjustment_set_lower", object, lower, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentGetUpper <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_upper", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetUpper <- function(object, upper) { checkPtrType(object, "GtkAdjustment") upper <- as.numeric(upper) w <- .RGtkCall("S_gtk_adjustment_set_upper", object, upper, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentGetStepIncrement <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_step_increment", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetStepIncrement <- function(object, step.increment) { checkPtrType(object, "GtkAdjustment") step.increment <- as.numeric(step.increment) w <- .RGtkCall("S_gtk_adjustment_set_step_increment", object, step.increment, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentGetPageIncrement <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_page_increment", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetPageIncrement <- function(object, page.increment) { checkPtrType(object, "GtkAdjustment") page.increment <- as.numeric(page.increment) w <- .RGtkCall("S_gtk_adjustment_set_page_increment", object, page.increment, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentGetPageSize <- function(object) { checkPtrType(object, "GtkAdjustment") w <- .RGtkCall("S_gtk_adjustment_get_page_size", object, PACKAGE = "RGtk2") return(w) } gtkAdjustmentSetPageSize <- function(object, page.size) { checkPtrType(object, "GtkAdjustment") page.size <- as.numeric(page.size) w <- .RGtkCall("S_gtk_adjustment_set_page_size", object, page.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkAdjustmentConfigure <- function(object, value, lower, upper, step.increment, page.increment, page.size) { checkPtrType(object, "GtkAdjustment") value <- as.numeric(value) lower <- as.numeric(lower) upper <- as.numeric(upper) step.increment <- as.numeric(step.increment) page.increment <- as.numeric(page.increment) page.size <- as.numeric(page.size) w <- .RGtkCall("S_gtk_adjustment_configure", object, value, lower, upper, step.increment, page.increment, page.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkBuilderAddObjectsFromFile <- function(object, filename, object.ids, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") filename <- as.character(filename) object.ids <- as.list(as.character(object.ids)) w <- .RGtkCall("S_gtk_builder_add_objects_from_file", object, filename, object.ids, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkBuilderAddObjectsFromString <- function(object, buffer, length, object.ids, .errwarn = TRUE) { checkPtrType(object, "GtkBuilder") buffer <- as.character(buffer) length <- as.numeric(length) object.ids <- as.list(as.character(object.ids)) w <- .RGtkCall("S_gtk_builder_add_objects_from_string", object, buffer, length, object.ids, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkCalendarSetDetailFunc <- function(object, func, data) { checkPtrType(object, "GtkCalendar") func <- as.function(func) w <- .RGtkCall("S_gtk_calendar_set_detail_func", object, func, data, PACKAGE = "RGtk2") return(w) } gtkCalendarSetDetailWidthChars <- function(object, chars) { checkPtrType(object, "GtkCalendar") chars <- as.integer(chars) w <- .RGtkCall("S_gtk_calendar_set_detail_width_chars", object, chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarSetDetailHeightRows <- function(object, rows) { checkPtrType(object, "GtkCalendar") rows <- as.integer(rows) w <- .RGtkCall("S_gtk_calendar_set_detail_height_rows", object, rows, PACKAGE = "RGtk2") return(invisible(w)) } gtkCalendarGetDetailWidthChars <- function(object) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_get_detail_width_chars", object, PACKAGE = "RGtk2") return(w) } gtkCalendarGetDetailHeightRows <- function(object) { checkPtrType(object, "GtkCalendar") w <- .RGtkCall("S_gtk_calendar_get_detail_height_rows", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitIsUrisAvailable <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_is_uris_available", object, PACKAGE = "RGtk2") return(w) } gtkClipboardWaitForUris <- function(object) { checkPtrType(object, "GtkClipboard") w <- .RGtkCall("S_gtk_clipboard_wait_for_uris", object, PACKAGE = "RGtk2") return(w) } gtkClipboardRequestUris <- function(object, callback, user.data) { checkPtrType(object, "GtkClipboard") callback <- as.function(callback) w <- .RGtkCall("S_gtk_clipboard_request_uris", object, callback, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gtkColorSelectionDialogGetColorSelection <- function(object) { checkPtrType(object, "GtkColorSelectionDialog") w <- .RGtkCall("S_gtk_color_selection_dialog_get_color_selection", object, PACKAGE = "RGtk2") return(w) } gtkComboBoxSetButtonSensitivity <- function(object, sensitivity) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_set_button_sensitivity", object, sensitivity, PACKAGE = "RGtk2") return(invisible(w)) } gtkComboBoxGetButtonSensitivity <- function(object) { checkPtrType(object, "GtkComboBox") w <- .RGtkCall("S_gtk_combo_box_get_button_sensitivity", object, PACKAGE = "RGtk2") return(w) } gtkContainerGetFocusChild <- function(object) { checkPtrType(object, "GtkContainer") w <- .RGtkCall("S_gtk_container_get_focus_child", object, PACKAGE = "RGtk2") return(w) } gtkDialogGetActionArea <- function(object) { checkPtrType(object, "GtkDialog") w <- .RGtkCall("S_gtk_dialog_get_action_area", object, PACKAGE = "RGtk2") return(w) } gtkDialogGetContentArea <- function(object) { checkPtrType(object, "GtkDialog") w <- .RGtkCall("S_gtk_dialog_get_content_area", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetOverwriteMode <- function(object, overwrite) { checkPtrType(object, "GtkEntry") overwrite <- as.logical(overwrite) w <- .RGtkCall("S_gtk_entry_set_overwrite_mode", object, overwrite, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetOverwriteMode <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_overwrite_mode", object, PACKAGE = "RGtk2") return(w) } gtkEntryGetTextLength <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_text_length", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetFile <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_file", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetFile <- function(object, file, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") checkPtrType(file, "GFile") w <- .RGtkCall("S_gtk_file_chooser_set_file", object, file, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserSelectFile <- function(object, file, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") checkPtrType(file, "GFile") w <- .RGtkCall("S_gtk_file_chooser_select_file", object, file, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserUnselectFile <- function(object, file) { checkPtrType(object, "GtkFileChooser") checkPtrType(file, "GFile") w <- .RGtkCall("S_gtk_file_chooser_unselect_file", object, file, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetFiles <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_files", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserSetCurrentFolderFile <- function(object, file, .errwarn = TRUE) { checkPtrType(object, "GtkFileChooser") checkPtrType(file, "GFile") w <- .RGtkCall("S_gtk_file_chooser_set_current_folder_file", object, file, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkFileChooserGetCurrentFolderFile <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_current_folder_file", object, PACKAGE = "RGtk2") return(w) } gtkFileChooserGetPreviewFile <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_preview_file", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogGetOkButton <- function(object) { checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_ok_button", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogGetApplyButton <- function(object) { if(getOption("depwarn")) .Deprecated("don't use this method", "RGtk2") checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_apply_button", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionDialogGetCancelButton <- function(object) { checkPtrType(object, "GtkFontSelectionDialog") w <- .RGtkCall("S_gtk_font_selection_dialog_get_cancel_button", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetFamilyList <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_family_list", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetFaceList <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_face_list", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetSizeEntry <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_size_entry", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetSizeList <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_size_list", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetPreviewEntry <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_preview_entry", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetFamily <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_family", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetFace <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_face", object, PACKAGE = "RGtk2") return(w) } gtkFontSelectionGetSize <- function(object) { checkPtrType(object, "GtkFontSelection") w <- .RGtkCall("S_gtk_font_selection_get_size", object, PACKAGE = "RGtk2") return(w) } gtkHandleBoxGetChildDetached <- function(object) { checkPtrType(object, "GtkHandleBox") w <- .RGtkCall("S_gtk_handle_box_get_child_detached", object, PACKAGE = "RGtk2") return(w) } gtkIconInfoNewForPixbuf <- function(icon.theme, pixbuf) { checkPtrType(icon.theme, "GtkIconTheme") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_icon_info_new_for_pixbuf", icon.theme, pixbuf, PACKAGE = "RGtk2") return(w) } gtkIconThemeLookupByGicon <- function(object, icon, size, flags) { checkPtrType(object, "GtkIconTheme") checkPtrType(icon, "GIcon") size <- as.integer(size) w <- .RGtkCall("S_gtk_icon_theme_lookup_by_gicon", object, icon, size, flags, PACKAGE = "RGtk2") return(w) } gtkImageSetFromGicon <- function(object, icon, size) { checkPtrType(object, "GtkImage") checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_image_set_from_gicon", object, icon, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageNewFromGicon <- function(icon, size, show = TRUE) { checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_image_new_from_gicon", icon, size, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkImageGetGicon <- function(object) { checkPtrType(object, "GtkImage") w <- .RGtkCall("S_gtk_image_get_gicon", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkLayoutGetBinWindow <- function(object) { checkPtrType(object, "GtkLayout") w <- .RGtkCall("S_gtk_layout_get_bin_window", object, PACKAGE = "RGtk2") return(w) } gtkMenuGetAccelPath <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_accel_path", object, PACKAGE = "RGtk2") return(w) } gtkMenuGetMonitor <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_monitor", object, PACKAGE = "RGtk2") return(w) } gtkMenuItemGetAccelPath <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_get_accel_path", object, PACKAGE = "RGtk2") return(w) } gtkMessageDialogGetImage <- function(object) { checkPtrType(object, "GtkMessageDialog") w <- .RGtkCall("S_gtk_message_dialog_get_image", object, PACKAGE = "RGtk2") return(w) } gtkMountOperationGetType <- function() { w <- .RGtkCall("S_gtk_mount_operation_get_type", PACKAGE = "RGtk2") return(w) } gtkMountOperationNew <- function(parent = NULL) { w <- .RGtkCall("S_gtk_mount_operation_new", parent, PACKAGE = "RGtk2") return(w) } gtkMountOperationIsShowing <- function(object) { checkPtrType(object, "GtkMountOperation") w <- .RGtkCall("S_gtk_mount_operation_is_showing", object, PACKAGE = "RGtk2") return(w) } gtkMountOperationSetParent <- function(object, parent) { checkPtrType(object, "GtkMountOperation") checkPtrType(parent, "GtkWindow") w <- .RGtkCall("S_gtk_mount_operation_set_parent", object, parent, PACKAGE = "RGtk2") return(invisible(w)) } gtkMountOperationGetParent <- function(object) { checkPtrType(object, "GtkMountOperation") w <- .RGtkCall("S_gtk_mount_operation_get_parent", object, PACKAGE = "RGtk2") return(w) } gtkMountOperationSetScreen <- function(object, screen) { checkPtrType(object, "GtkMountOperation") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gtk_mount_operation_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gtkMountOperationGetScreen <- function(object) { checkPtrType(object, "GtkMountOperation") w <- .RGtkCall("S_gtk_mount_operation_get_screen", object, PACKAGE = "RGtk2") return(w) } gtkPlugGetEmbedded <- function(object) { checkPtrType(object, "GtkPlug") w <- .RGtkCall("S_gtk_plug_get_embedded", object, PACKAGE = "RGtk2") return(w) } gtkPlugGetSocketWindow <- function(object) { checkPtrType(object, "GtkPlug") w <- .RGtkCall("S_gtk_plug_get_socket_window", object, PACKAGE = "RGtk2") return(w) } gtkPageSetupLoadKeyFile <- function(object, key.file, group.name, .errwarn = TRUE) { checkPtrType(object, "GtkPageSetup") checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_page_setup_load_key_file", object, key.file, group.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPageSetupLoadFile <- function(object, file.name, .errwarn = TRUE) { checkPtrType(object, "GtkPageSetup") file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_page_setup_load_file", object, file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsLoadKeyFile <- function(object, key.file, group.name, .errwarn = TRUE) { checkPtrType(object, "GtkPrintSettings") checkPtrType(key.file, "GKeyFile") group.name <- as.character(group.name) w <- .RGtkCall("S_gtk_print_settings_load_key_file", object, key.file, group.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsLoadFile <- function(object, file.name, .errwarn = TRUE) { checkPtrType(object, "GtkPrintSettings") file.name <- as.character(file.name) w <- .RGtkCall("S_gtk_print_settings_load_file", object, file.name, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkPrintSettingsGetNumberUpLayout <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_number_up_layout", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetNumberUpLayout <- function(object, number.up.layout) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_set_number_up_layout", object, number.up.layout, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleButtonGetOrientation <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkScaleButtonSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleButtonGetPlusButton <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_plus_button", object, PACKAGE = "RGtk2") return(w) } gtkScaleButtonGetMinusButton <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_minus_button", object, PACKAGE = "RGtk2") return(w) } gtkScaleButtonGetPopup <- function(object) { checkPtrType(object, "GtkScaleButton") w <- .RGtkCall("S_gtk_scale_button_get_popup", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetTarget <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_target", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetDataType <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_data_type", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetFormat <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_format", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetData <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_data", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetLength <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_length", object, PACKAGE = "RGtk2") return(w) } gtkSelectionDataGetDisplay <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_display", object, PACKAGE = "RGtk2") return(w) } gtkShowUri <- function(screen = NULL, uri, timestamp, .errwarn = TRUE) { if (!is.null( screen )) checkPtrType(screen, "GdkScreen") uri <- as.character(uri) timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gtk_show_uri", screen, uri, timestamp, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkSocketGetPlugWindow <- function(object) { checkPtrType(object, "GtkSocket") w <- .RGtkCall("S_gtk_socket_get_plug_window", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconNewFromGicon <- function(icon) { checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_status_icon_new_from_gicon", icon, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetX11WindowId <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_x11_window_id", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetGicon <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_gicon", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetFromGicon <- function(object, icon) { checkPtrType(object, "GtkStatusIcon") checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_status_icon_set_from_gicon", object, icon, PACKAGE = "RGtk2") return(invisible(w)) } gtkTooltipSetIconFromIconName <- function(object, icon.name = NULL, size) { checkPtrType(object, "GtkTooltip") if (!is.null( icon.name )) icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_tooltip_set_icon_from_icon_name", object, icon.name, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemToolbarReconfigured <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_toolbar_reconfigured", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolShellGetIconSize <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_icon_size", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetOrientation <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetStyle <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_style", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetReliefStyle <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_relief_style", object, PACKAGE = "RGtk2") return(w) } gtkToolShellRebuildMenu <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_rebuild_menu", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkTreeSelectionGetSelectFunction <- function(object) { checkPtrType(object, "GtkTreeSelection") w <- .RGtkCall("S_gtk_tree_selection_get_select_function", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetSnapshot <- function(object, clip.rect = NULL) { checkPtrType(object, "GtkWidget") if (!is.null( clip.rect )) clip.rect <- as.GdkRectangle(clip.rect) w <- .RGtkCall("S_gtk_widget_get_snapshot", object, clip.rect, PACKAGE = "RGtk2") return(w) } gtkWidgetGetWindow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_window", object, PACKAGE = "RGtk2") return(w) } gtkWindowGetDefaultWidget <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_default_widget", object, PACKAGE = "RGtk2") return(w) } gtkWindowGroupListWindows <- function(object) { checkPtrType(object, "GtkWindowGroup") w <- .RGtkCall("S_gtk_window_group_list_windows", object, PACKAGE = "RGtk2") return(w) } gtkLinkButtonGetVisited <- function(object) { checkPtrType(object, "GtkLinkButton") w <- .RGtkCall("S_gtk_link_button_get_visited", object, PACKAGE = "RGtk2") return(w) } gtkLinkButtonSetVisited <- function(object, visited) { checkPtrType(object, "GtkLinkButton") visited <- as.logical(visited) w <- .RGtkCall("S_gtk_link_button_set_visited", object, visited, PACKAGE = "RGtk2") return(invisible(w)) } gtkBorderNew <- function() { w <- .RGtkCall("S_gtk_border_new", PACKAGE = "RGtk2") return(w) } gtkTestRegisterAllTypes <- function() { w <- .RGtkCall("S_gtk_test_register_all_types", PACKAGE = "RGtk2") return(w) } gtkTestListAllTypes <- function() { w <- .RGtkCall("S_gtk_test_list_all_types", PACKAGE = "RGtk2") return(w) } gtkTestFindWidget <- function(widget, label.pattern, widget.type) { checkPtrType(widget, "GtkWidget") label.pattern <- as.character(label.pattern) widget.type <- as.GType(widget.type) w <- .RGtkCall("S_gtk_test_find_widget", widget, label.pattern, widget.type, PACKAGE = "RGtk2") return(w) } gtkTestSliderSetPerc <- function(widget, percentage) { checkPtrType(widget, "GtkWidget") percentage <- as.numeric(percentage) w <- .RGtkCall("S_gtk_test_slider_set_perc", widget, percentage, PACKAGE = "RGtk2") return(w) } gtkTestSliderGetValue <- function(widget) { checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_test_slider_get_value", widget, PACKAGE = "RGtk2") return(w) } gtkTestSpinButtonClick <- function(spinner, button, upwards) { checkPtrType(spinner, "GtkSpinButton") button <- as.numeric(button) upwards <- as.logical(upwards) w <- .RGtkCall("S_gtk_test_spin_button_click", spinner, button, upwards, PACKAGE = "RGtk2") return(w) } gtkTestWidgetClick <- function(widget, button, modifiers) { checkPtrType(widget, "GtkWidget") button <- as.numeric(button) w <- .RGtkCall("S_gtk_test_widget_click", widget, button, modifiers, PACKAGE = "RGtk2") return(w) } gtkTestWidgetSendKey <- function(widget, keyval, modifiers) { checkPtrType(widget, "GtkWidget") keyval <- as.numeric(keyval) w <- .RGtkCall("S_gtk_test_widget_send_key", widget, keyval, modifiers, PACKAGE = "RGtk2") return(w) } gtkTestTextSet <- function(widget, string) { checkPtrType(widget, "GtkWidget") string <- as.character(string) w <- .RGtkCall("S_gtk_test_text_set", widget, string, PACKAGE = "RGtk2") return(w) } gtkTestTextGet <- function(widget) { checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_test_text_get", widget, PACKAGE = "RGtk2") return(w) } gtkTestFindSibling <- function(base.widget, widget.type) { checkPtrType(base.widget, "GtkWidget") widget.type <- as.GType(widget.type) w <- .RGtkCall("S_gtk_test_find_sibling", base.widget, widget.type, PACKAGE = "RGtk2") return(w) } gtkTestFindLabel <- function(widget, label.pattern) { checkPtrType(widget, "GtkWidget") label.pattern <- as.character(label.pattern) w <- .RGtkCall("S_gtk_test_find_label", widget, label.pattern, PACKAGE = "RGtk2") return(w) } gtkActionBlockActivate <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_block_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionUnblockActivate <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_unblock_activate", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionSetGicon <- function(object, icon) { checkPtrType(object, "GtkAction") checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_action_set_gicon", object, icon, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetGicon <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_gicon", object, PACKAGE = "RGtk2") return(w) } gtkActionSetIconName <- function(object, icon.name) { checkPtrType(object, "GtkAction") icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_action_set_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetIconName <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_icon_name", object, PACKAGE = "RGtk2") return(w) } gtkActionSetVisibleHorizontal <- function(object, visible.horizontal) { checkPtrType(object, "GtkAction") visible.horizontal <- as.logical(visible.horizontal) w <- .RGtkCall("S_gtk_action_set_visible_horizontal", object, visible.horizontal, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetVisibleHorizontal <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_visible_horizontal", object, PACKAGE = "RGtk2") return(w) } gtkActionSetVisibleVertical <- function(object, visible.vertical) { checkPtrType(object, "GtkAction") visible.vertical <- as.logical(visible.vertical) w <- .RGtkCall("S_gtk_action_set_visible_vertical", object, visible.vertical, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetVisibleVertical <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_visible_vertical", object, PACKAGE = "RGtk2") return(w) } gtkActionSetIsImportant <- function(object, is.important) { checkPtrType(object, "GtkAction") is.important <- as.logical(is.important) w <- .RGtkCall("S_gtk_action_set_is_important", object, is.important, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetIsImportant <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_is_important", object, PACKAGE = "RGtk2") return(w) } gtkActionSetLabel <- function(object, label) { checkPtrType(object, "GtkAction") label <- as.character(label) w <- .RGtkCall("S_gtk_action_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetLabel <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_label", object, PACKAGE = "RGtk2") return(w) } gtkActionSetShortLabel <- function(object, short.label) { checkPtrType(object, "GtkAction") short.label <- as.character(short.label) w <- .RGtkCall("S_gtk_action_set_short_label", object, short.label, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetShortLabel <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_short_label", object, PACKAGE = "RGtk2") return(w) } gtkActionSetTooltip <- function(object, tooltip) { checkPtrType(object, "GtkAction") tooltip <- as.character(tooltip) w <- .RGtkCall("S_gtk_action_set_tooltip", object, tooltip, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetTooltip <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_tooltip", object, PACKAGE = "RGtk2") return(w) } gtkActionSetStockId <- function(object, stock.id) { checkPtrType(object, "GtkAction") stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_action_set_stock_id", object, stock.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkActionGetStockId <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_stock_id", object, PACKAGE = "RGtk2") return(w) } gtkActivatableGetType <- function() { w <- .RGtkCall("S_gtk_activatable_get_type", PACKAGE = "RGtk2") return(w) } gtkActivatableSyncActionProperties <- function(object, action = NULL) { checkPtrType(object, "GtkActivatable") if (!is.null( action )) checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_activatable_sync_action_properties", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkActivatableSetRelatedAction <- function(object, action) { checkPtrType(object, "GtkActivatable") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_activatable_set_related_action", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkActivatableGetRelatedAction <- function(object) { checkPtrType(object, "GtkActivatable") w <- .RGtkCall("S_gtk_activatable_get_related_action", object, PACKAGE = "RGtk2") return(w) } gtkActivatableSetUseActionAppearance <- function(object, use.appearance) { checkPtrType(object, "GtkActivatable") use.appearance <- as.logical(use.appearance) w <- .RGtkCall("S_gtk_activatable_set_use_action_appearance", object, use.appearance, PACKAGE = "RGtk2") return(invisible(w)) } gtkActivatableGetUseActionAppearance <- function(object) { checkPtrType(object, "GtkActivatable") w <- .RGtkCall("S_gtk_activatable_get_use_action_appearance", object, PACKAGE = "RGtk2") return(w) } gtkActivatableDoSetRelatedAction <- function(object, action) { checkPtrType(object, "GtkActivatable") checkPtrType(action, "GtkAction") w <- .RGtkCall("S_gtk_activatable_do_set_related_action", object, action, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellViewGetModel <- function(object) { checkPtrType(object, "GtkCellView") w <- .RGtkCall("S_gtk_cell_view_get_model", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetProgressFraction <- function(object, fraction) { checkPtrType(object, "GtkEntry") fraction <- as.numeric(fraction) w <- .RGtkCall("S_gtk_entry_set_progress_fraction", object, fraction, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetProgressFraction <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_progress_fraction", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetProgressPulseStep <- function(object, fraction) { checkPtrType(object, "GtkEntry") fraction <- as.numeric(fraction) w <- .RGtkCall("S_gtk_entry_set_progress_pulse_step", object, fraction, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetProgressPulseStep <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_progress_pulse_step", object, PACKAGE = "RGtk2") return(w) } gtkEntryProgressPulse <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_progress_pulse", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetIconFromPixbuf <- function(object, icon.pos, pixbuf = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( pixbuf )) checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gtk_entry_set_icon_from_pixbuf", object, icon.pos, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetIconFromStock <- function(object, icon.pos, stock.id = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( stock.id )) stock.id <- as.character(stock.id) w <- .RGtkCall("S_gtk_entry_set_icon_from_stock", object, icon.pos, stock.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetIconFromIconName <- function(object, icon.pos, icon.name = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( icon.name )) icon.name <- as.character(icon.name) w <- .RGtkCall("S_gtk_entry_set_icon_from_icon_name", object, icon.pos, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetIconFromGicon <- function(object, icon.pos, icon = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( icon )) checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gtk_entry_set_icon_from_gicon", object, icon.pos, icon, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetIconStorageType <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_storage_type", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconPixbuf <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_pixbuf", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconStock <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_stock", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconName <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_name", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconGicon <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_gicon", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntrySetIconActivatable <- function(object, icon.pos, activatable) { checkPtrType(object, "GtkEntry") activatable <- as.logical(activatable) w <- .RGtkCall("S_gtk_entry_set_icon_activatable", object, icon.pos, activatable, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetIconActivatable <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_activatable", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntrySetIconSensitive <- function(object, icon.pos, sensitive) { checkPtrType(object, "GtkEntry") sensitive <- as.logical(sensitive) w <- .RGtkCall("S_gtk_entry_set_icon_sensitive", object, icon.pos, sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetIconSensitive <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_sensitive", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconAtPos <- function(object, x, y) { checkPtrType(object, "GtkEntry") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_entry_get_icon_at_pos", object, x, y, PACKAGE = "RGtk2") return(w) } gtkEntrySetIconTooltipText <- function(object, icon.pos, tooltip = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( tooltip )) tooltip <- as.character(tooltip) w <- .RGtkCall("S_gtk_entry_set_icon_tooltip_text", object, icon.pos, tooltip, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetIconTooltipText <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_tooltip_text", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntrySetIconTooltipMarkup <- function(object, icon.pos, tooltip = NULL) { checkPtrType(object, "GtkEntry") if (!is.null( tooltip )) tooltip <- as.character(tooltip) w <- .RGtkCall("S_gtk_entry_set_icon_tooltip_markup", object, icon.pos, tooltip, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetIconTooltipMarkup <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_tooltip_markup", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryUnsetInvisibleChar <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_unset_invisible_char", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntrySetIconDragSource <- function(object, icon.pos, target.list, actions) { checkPtrType(object, "GtkEntry") checkPtrType(target.list, "GtkTargetList") w <- .RGtkCall("S_gtk_entry_set_icon_drag_source", object, icon.pos, target.list, actions, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryGetCurrentIconDragSource <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_current_icon_drag_source", object, PACKAGE = "RGtk2") return(w) } gtkImageMenuItemSetAlwaysShowImage <- function(object, always.show) { checkPtrType(object, "GtkImageMenuItem") always.show <- as.logical(always.show) w <- .RGtkCall("S_gtk_image_menu_item_set_always_show_image", object, always.show, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageMenuItemGetAlwaysShowImage <- function(object) { checkPtrType(object, "GtkImageMenuItem") w <- .RGtkCall("S_gtk_image_menu_item_get_always_show_image", object, PACKAGE = "RGtk2") return(w) } gtkImageMenuItemSetUseStock <- function(object, use.stock) { checkPtrType(object, "GtkImageMenuItem") use.stock <- as.logical(use.stock) w <- .RGtkCall("S_gtk_image_menu_item_set_use_stock", object, use.stock, PACKAGE = "RGtk2") return(invisible(w)) } gtkImageMenuItemGetUseStock <- function(object) { checkPtrType(object, "GtkImageMenuItem") w <- .RGtkCall("S_gtk_image_menu_item_get_use_stock", object, PACKAGE = "RGtk2") return(w) } gtkImageMenuItemSetAccelGroup <- function(object, accel.group) { checkPtrType(object, "GtkImageMenuItem") checkPtrType(accel.group, "GtkAccelGroup") w <- .RGtkCall("S_gtk_image_menu_item_set_accel_group", object, accel.group, PACKAGE = "RGtk2") return(invisible(w)) } gtkIMMulticontextGetContextId <- function(object) { checkPtrType(object, "GtkIMMulticontext") w <- .RGtkCall("S_gtk_im_multicontext_get_context_id", object, PACKAGE = "RGtk2") return(w) } gtkIMMulticontextSetContextId <- function(object, context.id) { checkPtrType(object, "GtkIMMulticontext") context.id <- as.character(context.id) w <- .RGtkCall("S_gtk_im_multicontext_set_context_id", object, context.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemSetLabel <- function(object, label) { checkPtrType(object, "GtkMenuItem") label <- as.character(label) w <- .RGtkCall("S_gtk_menu_item_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemGetLabel <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_get_label", object, PACKAGE = "RGtk2") return(w) } gtkMenuItemSetUseUnderline <- function(object, setting) { checkPtrType(object, "GtkMenuItem") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_menu_item_set_use_underline", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuItemGetUseUnderline <- function(object) { checkPtrType(object, "GtkMenuItem") w <- .RGtkCall("S_gtk_menu_item_get_use_underline", object, PACKAGE = "RGtk2") return(w) } gtkOrientableGetType <- function() { w <- .RGtkCall("S_gtk_orientable_get_type", PACKAGE = "RGtk2") return(w) } gtkOrientableSetOrientation <- function(object, orientation) { checkPtrType(object, "GtkOrientable") w <- .RGtkCall("S_gtk_orientable_set_orientation", object, orientation, PACKAGE = "RGtk2") return(invisible(w)) } gtkOrientableGetOrientation <- function(object) { checkPtrType(object, "GtkOrientable") w <- .RGtkCall("S_gtk_orientable_get_orientation", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationDrawPageFinish <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_draw_page_finish", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationSetDeferDrawing <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_set_defer_drawing", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetResolutionX <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_resolution_x", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsGetResolutionY <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_resolution_y", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetResolutionXy <- function(object, resolution.x, resolution.y) { checkPtrType(object, "GtkPrintSettings") resolution.x <- as.integer(resolution.x) resolution.y <- as.integer(resolution.y) w <- .RGtkCall("S_gtk_print_settings_set_resolution_xy", object, resolution.x, resolution.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintSettingsGetPrinterLpi <- function(object) { checkPtrType(object, "GtkPrintSettings") w <- .RGtkCall("S_gtk_print_settings_get_printer_lpi", object, PACKAGE = "RGtk2") return(w) } gtkPrintSettingsSetPrinterLpi <- function(object, lpi) { checkPtrType(object, "GtkPrintSettings") lpi <- as.numeric(lpi) w <- .RGtkCall("S_gtk_print_settings_set_printer_lpi", object, lpi, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleAddMark <- function(object, value, position, markup = NULL) { checkPtrType(object, "GtkScale") value <- as.numeric(value) if (!is.null( markup )) markup <- as.character(markup) w <- .RGtkCall("S_gtk_scale_add_mark", object, value, position, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkScaleClearMarks <- function(object) { checkPtrType(object, "GtkScale") w <- .RGtkCall("S_gtk_scale_clear_marks", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSelectionDataGetSelection <- function(object) { checkPtrType(object, "GtkSelectionData") w <- .RGtkCall("S_gtk_selection_data_get_selection", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetHasTooltip <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_has_tooltip", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetTooltipText <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_tooltip_text", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconGetTooltipMarkup <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_tooltip_markup", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetHasTooltip <- function(object, has.tooltip) { checkPtrType(object, "GtkStatusIcon") has.tooltip <- as.logical(has.tooltip) w <- .RGtkCall("S_gtk_status_icon_set_has_tooltip", object, has.tooltip, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetTooltipText <- function(object, text) { checkPtrType(object, "GtkStatusIcon") text <- as.character(text) w <- .RGtkCall("S_gtk_status_icon_set_tooltip_text", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconSetTooltipMarkup <- function(object, markup = NULL) { checkPtrType(object, "GtkStatusIcon") if (!is.null( markup )) markup <- as.character(markup) w <- .RGtkCall("S_gtk_status_icon_set_tooltip_markup", object, markup, PACKAGE = "RGtk2") return(invisible(w)) } gtkStyleGetStyleProperty <- function(object, widget.type, property.name) { checkPtrType(object, "GtkStyle") widget.type <- as.GType(widget.type) property.name <- as.character(property.name) w <- .RGtkCall("S_gtk_style_get_style_property", object, widget.type, property.name, PACKAGE = "RGtk2") return(w) } gtkWindowGetDefaultIconName <- function() { w <- .RGtkCall("S_gtk_window_get_default_icon_name", PACKAGE = "RGtk2") return(w) } gtkCellRendererSetAlignment <- function(object, xalign, yalign) { checkPtrType(object, "GtkCellRenderer") xalign <- as.numeric(xalign) yalign <- as.numeric(yalign) w <- .RGtkCall("S_gtk_cell_renderer_set_alignment", object, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetAlignment <- function(object, xalign, yalign) { checkPtrType(object, "GtkCellRenderer") xalign <- as.list(as.numeric(xalign)) yalign <- as.list(as.numeric(yalign)) w <- .RGtkCall("S_gtk_cell_renderer_get_alignment", object, xalign, yalign, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererSetPadding <- function(object, xpad, ypad) { checkPtrType(object, "GtkCellRenderer") xpad <- as.integer(xpad) ypad <- as.integer(ypad) w <- .RGtkCall("S_gtk_cell_renderer_set_padding", object, xpad, ypad, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetPadding <- function(object, xpad, ypad) { checkPtrType(object, "GtkCellRenderer") xpad <- as.list(as.integer(xpad)) ypad <- as.list(as.integer(ypad)) w <- .RGtkCall("S_gtk_cell_renderer_get_padding", object, xpad, ypad, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererSetVisible <- function(object, visible) { checkPtrType(object, "GtkCellRenderer") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_cell_renderer_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetVisible <- function(object) { checkPtrType(object, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_renderer_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererSetSensitive <- function(object, sensitive) { checkPtrType(object, "GtkCellRenderer") sensitive <- as.logical(sensitive) w <- .RGtkCall("S_gtk_cell_renderer_set_sensitive", object, sensitive, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererGetSensitive <- function(object) { checkPtrType(object, "GtkCellRenderer") w <- .RGtkCall("S_gtk_cell_renderer_get_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleGetActivatable <- function(object) { checkPtrType(object, "GtkCellRendererToggle") w <- .RGtkCall("S_gtk_cell_renderer_toggle_get_activatable", object, PACKAGE = "RGtk2") return(w) } gtkCellRendererToggleSetActivatable <- function(object, setting) { checkPtrType(object, "GtkCellRendererToggle") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_cell_renderer_toggle_set_activatable", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryNewWithBuffer <- function(buffer, show = TRUE) { checkPtrType(buffer, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_new_with_buffer", buffer, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkEntryGetBuffer <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_buffer", object, PACKAGE = "RGtk2") return(w) } gtkEntrySetBuffer <- function(object, buffer) { checkPtrType(object, "GtkEntry") checkPtrType(buffer, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_set_buffer", object, buffer, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryBufferGetType <- function() { w <- .RGtkCall("S_gtk_entry_buffer_get_type", PACKAGE = "RGtk2") return(w) } gtkEntryBufferNew <- function(initial.chars = NULL, n.initial.chars = -1) { if (!is.null( initial.chars )) initial.chars <- as.character(initial.chars) n.initial.chars <- as.integer(n.initial.chars) w <- .RGtkCall("S_gtk_entry_buffer_new", initial.chars, n.initial.chars, PACKAGE = "RGtk2") return(w) } gtkEntryBufferGetBytes <- function(object) { checkPtrType(object, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_buffer_get_bytes", object, PACKAGE = "RGtk2") return(w) } gtkEntryBufferGetLength <- function(object) { checkPtrType(object, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_buffer_get_length", object, PACKAGE = "RGtk2") return(w) } gtkEntryBufferGetText <- function(object) { checkPtrType(object, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_buffer_get_text", object, PACKAGE = "RGtk2") return(w) } gtkEntryBufferSetText <- function(object, chars, n.chars) { checkPtrType(object, "GtkEntryBuffer") chars <- as.character(chars) n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_entry_buffer_set_text", object, chars, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryBufferSetMaxLength <- function(object, max.length) { checkPtrType(object, "GtkEntryBuffer") max.length <- as.integer(max.length) w <- .RGtkCall("S_gtk_entry_buffer_set_max_length", object, max.length, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryBufferGetMaxLength <- function(object) { checkPtrType(object, "GtkEntryBuffer") w <- .RGtkCall("S_gtk_entry_buffer_get_max_length", object, PACKAGE = "RGtk2") return(w) } gtkEntryBufferInsertText <- function(object, position, chars, n.chars) { checkPtrType(object, "GtkEntryBuffer") position <- as.numeric(position) chars <- as.character(chars) n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_entry_buffer_insert_text", object, position, chars, n.chars, PACKAGE = "RGtk2") return(w) } gtkEntryBufferDeleteText <- function(object, position, n.chars) { checkPtrType(object, "GtkEntryBuffer") position <- as.numeric(position) n.chars <- as.integer(n.chars) w <- .RGtkCall("S_gtk_entry_buffer_delete_text", object, position, n.chars, PACKAGE = "RGtk2") return(w) } gtkEntryBufferEmitInsertedText <- function(object, position, chars, n.chars) { checkPtrType(object, "GtkEntryBuffer") position <- as.numeric(position) chars <- as.character(chars) n.chars <- as.numeric(n.chars) w <- .RGtkCall("S_gtk_entry_buffer_emit_inserted_text", object, position, chars, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkEntryBufferEmitDeletedText <- function(object, position, n.chars) { checkPtrType(object, "GtkEntryBuffer") position <- as.numeric(position) n.chars <- as.numeric(n.chars) w <- .RGtkCall("S_gtk_entry_buffer_emit_deleted_text", object, position, n.chars, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserSetCreateFolders <- function(object, create.folders) { checkPtrType(object, "GtkFileChooser") create.folders <- as.logical(create.folders) w <- .RGtkCall("S_gtk_file_chooser_set_create_folders", object, create.folders, PACKAGE = "RGtk2") return(invisible(w)) } gtkFileChooserGetCreateFolders <- function(object) { checkPtrType(object, "GtkFileChooser") w <- .RGtkCall("S_gtk_file_chooser_get_create_folders", object, PACKAGE = "RGtk2") return(w) } gtkIconViewSetItemPadding <- function(object, item.padding) { checkPtrType(object, "GtkIconView") item.padding <- as.integer(item.padding) w <- .RGtkCall("S_gtk_icon_view_set_item_padding", object, item.padding, PACKAGE = "RGtk2") return(invisible(w)) } gtkIconViewGetItemPadding <- function(object) { checkPtrType(object, "GtkIconView") w <- .RGtkCall("S_gtk_icon_view_get_item_padding", object, PACKAGE = "RGtk2") return(w) } gtkInfoBarGetType <- function() { w <- .RGtkCall("S_gtk_info_bar_get_type", PACKAGE = "RGtk2") return(w) } gtkInfoBarNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_info_bar_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkInfoBarGetActionArea <- function(object) { checkPtrType(object, "GtkInfoBar") w <- .RGtkCall("S_gtk_info_bar_get_action_area", object, PACKAGE = "RGtk2") return(w) } gtkInfoBarGetContentArea <- function(object) { checkPtrType(object, "GtkInfoBar") w <- .RGtkCall("S_gtk_info_bar_get_content_area", object, PACKAGE = "RGtk2") return(w) } gtkInfoBarAddActionWidget <- function(object, child, response.id) { checkPtrType(object, "GtkInfoBar") checkPtrType(child, "GtkWidget") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_info_bar_add_action_widget", object, child, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkInfoBarAddButton <- function(object, button.text, response.id) { checkPtrType(object, "GtkInfoBar") button.text <- as.character(button.text) response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_info_bar_add_button", object, button.text, response.id, PACKAGE = "RGtk2") return(w) } gtkInfoBarSetResponseSensitive <- function(object, response.id, setting) { checkPtrType(object, "GtkInfoBar") response.id <- as.integer(response.id) setting <- as.logical(setting) w <- .RGtkCall("S_gtk_info_bar_set_response_sensitive", object, response.id, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkInfoBarSetDefaultResponse <- function(object, response.id) { checkPtrType(object, "GtkInfoBar") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_info_bar_set_default_response", object, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkInfoBarResponse <- function(object, response.id) { checkPtrType(object, "GtkInfoBar") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_info_bar_response", object, response.id, PACKAGE = "RGtk2") return(invisible(w)) } gtkInfoBarSetMessageType <- function(object, message.type) { checkPtrType(object, "GtkInfoBar") w <- .RGtkCall("S_gtk_info_bar_set_message_type", object, message.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkInfoBarGetMessageType <- function(object) { checkPtrType(object, "GtkInfoBar") w <- .RGtkCall("S_gtk_info_bar_get_message_type", object, PACKAGE = "RGtk2") return(w) } gtkLabelGetCurrentUri <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_current_uri", object, PACKAGE = "RGtk2") return(w) } gtkLabelSetTrackVisitedLinks <- function(object, track.links) { checkPtrType(object, "GtkLabel") track.links <- as.logical(track.links) w <- .RGtkCall("S_gtk_label_set_track_visited_links", object, track.links, PACKAGE = "RGtk2") return(invisible(w)) } gtkLabelGetTrackVisitedLinks <- function(object) { checkPtrType(object, "GtkLabel") w <- .RGtkCall("S_gtk_label_get_track_visited_links", object, PACKAGE = "RGtk2") return(w) } gtkMenuSetReserveToggleSize <- function(object, reserve.toggle.size) { checkPtrType(object, "GtkMenu") reserve.toggle.size <- as.logical(reserve.toggle.size) w <- .RGtkCall("S_gtk_menu_set_reserve_toggle_size", object, reserve.toggle.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkMenuGetReserveToggleSize <- function(object) { checkPtrType(object, "GtkMenu") w <- .RGtkCall("S_gtk_menu_get_reserve_toggle_size", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetSupportSelection <- function(object, support.selection) { checkPtrType(object, "GtkPrintOperation") support.selection <- as.logical(support.selection) w <- .RGtkCall("S_gtk_print_operation_set_support_selection", object, support.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationGetSupportSelection <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_support_selection", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetHasSelection <- function(object, has.selection) { checkPtrType(object, "GtkPrintOperation") has.selection <- as.logical(has.selection) w <- .RGtkCall("S_gtk_print_operation_set_has_selection", object, has.selection, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationGetHasSelection <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_has_selection", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationSetEmbedPageSetup <- function(object, embed) { checkPtrType(object, "GtkPrintOperation") embed <- as.logical(embed) w <- .RGtkCall("S_gtk_print_operation_set_embed_page_setup", object, embed, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintOperationGetEmbedPageSetup <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_embed_page_setup", object, PACKAGE = "RGtk2") return(w) } gtkPrintOperationGetNPagesToPrint <- function(object) { checkPtrType(object, "GtkPrintOperation") w <- .RGtkCall("S_gtk_print_operation_get_n_pages_to_print", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetFlippable <- function(object, flippable) { checkPtrType(object, "GtkRange") flippable <- as.logical(flippable) w <- .RGtkCall("S_gtk_range_set_flippable", object, flippable, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetFlippable <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_flippable", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetTitle <- function(object, title) { checkPtrType(object, "GtkStatusIcon") title <- as.character(title) w <- .RGtkCall("S_gtk_status_icon_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusIconGetTitle <- function(object) { checkPtrType(object, "GtkStatusIcon") w <- .RGtkCall("S_gtk_status_icon_get_title", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetAllocation <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_allocation", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetAllocation <- function(object, allocation) { checkPtrType(object, "GtkWidget") allocation <- as.GtkAllocation(allocation) w <- .RGtkCall("S_gtk_widget_set_allocation", object, allocation, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetAppPaintable <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_app_paintable", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetCanDefault <- function(object, can.default) { checkPtrType(object, "GtkWidget") can.default <- as.logical(can.default) w <- .RGtkCall("S_gtk_widget_set_can_default", object, can.default, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetCanDefault <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_can_default", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetCanFocus <- function(object, can.focus) { checkPtrType(object, "GtkWidget") can.focus <- as.logical(can.focus) w <- .RGtkCall("S_gtk_widget_set_can_focus", object, can.focus, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetCanFocus <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_can_focus", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetDoubleBuffered <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_double_buffered", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetHasWindow <- function(object, has.window) { checkPtrType(object, "GtkWidget") has.window <- as.logical(has.window) w <- .RGtkCall("S_gtk_widget_set_has_window", object, has.window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetHasWindow <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_has_window", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetReceivesDefault <- function(object, receives.default) { checkPtrType(object, "GtkWidget") receives.default <- as.logical(receives.default) w <- .RGtkCall("S_gtk_widget_set_receives_default", object, receives.default, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetReceivesDefault <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_receives_default", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetSensitive <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetState <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_state", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetVisible <- function(object, visible) { checkPtrType(object, "GtkWidget") visible <- as.logical(visible) w <- .RGtkCall("S_gtk_widget_set_visible", object, visible, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetVisible <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_visible", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetWindow <- function(object, window) { checkPtrType(object, "GtkWidget") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gtk_widget_set_window", object, window, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetHasDefault <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_has_default", object, PACKAGE = "RGtk2") return(w) } gtkWidgetHasFocus <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_has_focus", object, PACKAGE = "RGtk2") return(w) } gtkWidgetHasGrab <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_has_grab", object, PACKAGE = "RGtk2") return(w) } gtkWidgetIsSensitive <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_sensitive", object, PACKAGE = "RGtk2") return(w) } gtkWidgetIsToplevel <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_toplevel", object, PACKAGE = "RGtk2") return(w) } gtkWidgetIsDrawable <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_is_drawable", object, PACKAGE = "RGtk2") return(w) } gtkHSVGetType <- function() { w <- .RGtkCall("S_gtk_hsv_get_type", PACKAGE = "RGtk2") return(w) } gtkHSVNew <- function() { w <- .RGtkCall("S_gtk_hsv_new", PACKAGE = "RGtk2") return(w) } gtkHSVSetColor <- function(object, h, s, v) { checkPtrType(object, "GtkHSV") h <- as.numeric(h) s <- as.numeric(s) v <- as.numeric(v) w <- .RGtkCall("S_gtk_hsv_set_color", object, h, s, v, PACKAGE = "RGtk2") return(invisible(w)) } gtkHSVGetColor <- function(object, h, s, v) { checkPtrType(object, "GtkHSV") h <- as.list(as.numeric(h)) s <- as.list(as.numeric(s)) v <- as.list(as.numeric(v)) w <- .RGtkCall("S_gtk_hsv_get_color", object, h, s, v, PACKAGE = "RGtk2") return(invisible(w)) } gtkHSVSetMetrics <- function(object, size, ring.width) { checkPtrType(object, "GtkHSV") size <- as.integer(size) ring.width <- as.integer(ring.width) w <- .RGtkCall("S_gtk_hsv_set_metrics", object, size, ring.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkHSVGetMetrics <- function(object, size, ring.width) { checkPtrType(object, "GtkHSV") size <- as.list(as.integer(size)) ring.width <- as.list(as.integer(ring.width)) w <- .RGtkCall("S_gtk_hsv_get_metrics", object, size, ring.width, PACKAGE = "RGtk2") return(invisible(w)) } gtkHSVIsAdjusting <- function(object) { checkPtrType(object, "GtkHSV") w <- .RGtkCall("S_gtk_hsv_is_adjusting", object, PACKAGE = "RGtk2") return(w) } gtkHSVToRgb <- function(h, s, r, g, b) { h <- as.numeric(h) s <- as.numeric(s) r <- as.list(as.numeric(r)) g <- as.list(as.numeric(g)) b <- as.list(as.numeric(b)) w <- .RGtkCall("S_gtk_hsv_to_rgb", h, s, r, g, b, PACKAGE = "RGtk2") return(invisible(w)) } gtkRgbToHsv <- function(r, g, h, s, v) { r <- as.numeric(r) g <- as.numeric(g) h <- as.list(as.numeric(h)) s <- as.list(as.numeric(s)) v <- as.list(as.numeric(v)) w <- .RGtkCall("S_gtk_rgb_to_hsv", r, g, h, s, v, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteGetType <- function() { w <- .RGtkCall("S_gtk_tool_palette_get_type", PACKAGE = "RGtk2") return(w) } gtkToolPaletteNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_tool_palette_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolPaletteSetGroupPosition <- function(object, group, position) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") position <- as.integer(position) w <- .RGtkCall("S_gtk_tool_palette_set_group_position", object, group, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteSetExclusive <- function(object, group, exclusive) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") exclusive <- as.logical(exclusive) w <- .RGtkCall("S_gtk_tool_palette_set_exclusive", object, group, exclusive, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteSetExpand <- function(object, group, expand) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") expand <- as.logical(expand) w <- .RGtkCall("S_gtk_tool_palette_set_expand", object, group, expand, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteGetGroupPosition <- function(object, group) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_palette_get_group_position", object, group, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetExclusive <- function(object, group) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_palette_get_exclusive", object, group, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetExpand <- function(object, group) { checkPtrType(object, "GtkToolPalette") checkPtrType(group, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_palette_get_expand", object, group, PACKAGE = "RGtk2") return(w) } gtkToolPaletteSetIconSize <- function(object, icon.size) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_set_icon_size", object, icon.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteUnsetIconSize <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_unset_icon_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteSetStyle <- function(object, style) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_set_style", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteUnsetStyle <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_unset_style", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteGetIconSize <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_get_icon_size", object, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetStyle <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_get_style", object, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetDropItem <- function(object, x, y) { checkPtrType(object, "GtkToolPalette") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_tool_palette_get_drop_item", object, x, y, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetDropGroup <- function(object, x, y) { checkPtrType(object, "GtkToolPalette") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_tool_palette_get_drop_group", object, x, y, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetDragItem <- function(object, selection) { checkPtrType(object, "GtkToolPalette") checkPtrType(selection, "GtkSelectionData") w <- .RGtkCall("S_gtk_tool_palette_get_drag_item", object, selection, PACKAGE = "RGtk2") return(w) } gtkToolPaletteSetDragSource <- function(object, targets) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_set_drag_source", object, targets, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteAddDragDest <- function(object, widget, flags, targets, actions) { checkPtrType(object, "GtkToolPalette") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_tool_palette_add_drag_dest", object, widget, flags, targets, actions, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolPaletteGetHadjustment <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_get_hadjustment", object, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetVadjustment <- function(object) { checkPtrType(object, "GtkToolPalette") w <- .RGtkCall("S_gtk_tool_palette_get_vadjustment", object, PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetDragTargetItem <- function() { w <- .RGtkCall("S_gtk_tool_palette_get_drag_target_item", PACKAGE = "RGtk2") return(w) } gtkToolPaletteGetDragTargetGroup <- function() { w <- .RGtkCall("S_gtk_tool_palette_get_drag_target_group", PACKAGE = "RGtk2") return(w) } gtkToolItemGetEllipsizeMode <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_ellipsize_mode", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetTextAlignment <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_text_alignment", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetTextOrientation <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_text_orientation", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGetTextSizeGroup <- function(object) { checkPtrType(object, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_get_text_size_group", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetType <- function() { w <- .RGtkCall("S_gtk_tool_item_group_get_type", PACKAGE = "RGtk2") return(w) } gtkToolItemGroupNew <- function(label, show = TRUE) { label <- as.character(label) w <- .RGtkCall("S_gtk_tool_item_group_new", label, PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkToolItemGroupSetLabel <- function(object, label) { checkPtrType(object, "GtkToolItemGroup") label <- as.character(label) w <- .RGtkCall("S_gtk_tool_item_group_set_label", object, label, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupSetLabelWidget <- function(object, label.widget) { checkPtrType(object, "GtkToolItemGroup") checkPtrType(label.widget, "GtkWidget") w <- .RGtkCall("S_gtk_tool_item_group_set_label_widget", object, label.widget, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupSetCollapsed <- function(object, collapsed) { checkPtrType(object, "GtkToolItemGroup") collapsed <- as.logical(collapsed) w <- .RGtkCall("S_gtk_tool_item_group_set_collapsed", object, collapsed, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupSetEllipsize <- function(object, ellipsize) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_set_ellipsize", object, ellipsize, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupSetHeaderRelief <- function(object, style) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_set_header_relief", object, style, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupGetLabel <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_label", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetLabelWidget <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_label_widget", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetCollapsed <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_collapsed", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetEllipsize <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_ellipsize", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetHeaderRelief <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_header_relief", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupInsert <- function(object, item, position) { checkPtrType(object, "GtkToolItemGroup") checkPtrType(item, "GtkToolItem") position <- as.integer(position) w <- .RGtkCall("S_gtk_tool_item_group_insert", object, item, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupSetItemPosition <- function(object, item, position) { checkPtrType(object, "GtkToolItemGroup") checkPtrType(item, "GtkToolItem") position <- as.integer(position) w <- .RGtkCall("S_gtk_tool_item_group_set_item_position", object, item, position, PACKAGE = "RGtk2") return(invisible(w)) } gtkToolItemGroupGetItemPosition <- function(object, item) { checkPtrType(object, "GtkToolItemGroup") checkPtrType(item, "GtkToolItem") w <- .RGtkCall("S_gtk_tool_item_group_get_item_position", object, item, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetNItems <- function(object) { checkPtrType(object, "GtkToolItemGroup") w <- .RGtkCall("S_gtk_tool_item_group_get_n_items", object, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetNthItem <- function(object, index) { checkPtrType(object, "GtkToolItemGroup") index <- as.numeric(index) w <- .RGtkCall("S_gtk_tool_item_group_get_nth_item", object, index, PACKAGE = "RGtk2") return(w) } gtkToolItemGroupGetDropItem <- function(object, x, y) { checkPtrType(object, "GtkToolItemGroup") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gtk_tool_item_group_get_drop_item", object, x, y, PACKAGE = "RGtk2") return(w) } gtkSpinnerGetType <- function() { w <- .RGtkCall("S_gtk_spinner_get_type", PACKAGE = "RGtk2") return(w) } gtkSpinnerNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_spinner_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkSpinnerStart <- function(object) { checkPtrType(object, "GtkSpinner") w <- .RGtkCall("S_gtk_spinner_start", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkSpinnerStop <- function(object) { checkPtrType(object, "GtkSpinner") w <- .RGtkCall("S_gtk_spinner_stop", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkCellRendererSpinnerGetType <- function() { w <- .RGtkCall("S_gtk_cell_renderer_spinner_get_type", PACKAGE = "RGtk2") return(w) } gtkCellRendererSpinnerNew <- function() { w <- .RGtkCall("S_gtk_cell_renderer_spinner_new", PACKAGE = "RGtk2") return(w) } gtkActionGetAlwaysShowImage <- function(object) { checkPtrType(object, "GtkAction") w <- .RGtkCall("S_gtk_action_get_always_show_image", object, PACKAGE = "RGtk2") return(w) } gtkActionSetAlwaysShowImage <- function(object, always.show) { checkPtrType(object, "GtkAction") always.show <- as.logical(always.show) w <- .RGtkCall("S_gtk_action_set_always_show_image", object, always.show, PACKAGE = "RGtk2") return(invisible(w)) } gtkDialogGetWidgetForResponse <- function(object, response.id) { checkPtrType(object, "GtkDialog") response.id <- as.integer(response.id) w <- .RGtkCall("S_gtk_dialog_get_widget_for_response", object, response.id, PACKAGE = "RGtk2") return(w) } gtkOffscreenWindowGetType <- function() { w <- .RGtkCall("S_gtk_offscreen_window_get_type", PACKAGE = "RGtk2") return(w) } gtkOffscreenWindowNew <- function(show = TRUE) { w <- .RGtkCall("S_gtk_offscreen_window_new", PACKAGE = "RGtk2") if(show) gtkWidgetShowAll(w) return(w) } gtkOffscreenWindowGetPixmap <- function(object) { checkPtrType(object, "GtkOffscreenWindow") w <- .RGtkCall("S_gtk_offscreen_window_get_pixmap", object, PACKAGE = "RGtk2") return(w) } gtkOffscreenWindowGetPixbuf <- function(object) { checkPtrType(object, "GtkOffscreenWindow") w <- .RGtkCall("S_gtk_offscreen_window_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gtkEntryGetIconWindow <- function(object, icon.pos) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_icon_window", object, icon.pos, PACKAGE = "RGtk2") return(w) } gtkEntryGetTextWindow <- function(object) { checkPtrType(object, "GtkEntry") w <- .RGtkCall("S_gtk_entry_get_text_window", object, PACKAGE = "RGtk2") return(w) } gtkNotebookGetActionWidget <- function(object, pack.type) { checkPtrType(object, "GtkNotebook") w <- .RGtkCall("S_gtk_notebook_get_action_widget", object, pack.type, PACKAGE = "RGtk2") return(w) } gtkNotebookSetActionWidget <- function(object, widget, pack.type) { checkPtrType(object, "GtkNotebook") checkPtrType(widget, "GtkWidget") w <- .RGtkCall("S_gtk_notebook_set_action_widget", object, widget, pack.type, PACKAGE = "RGtk2") return(invisible(w)) } gtkPaintSpinner <- function(object, window, state.type, area, widget, detail, step, x, y, width, height) { checkPtrType(object, "GtkStyle") checkPtrType(window, "GdkWindow") area <- as.GdkRectangle(area) checkPtrType(widget, "GtkWidget") detail <- as.character(detail) step <- as.numeric(step) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gtk_paint_spinner", object, window, state.type, area, widget, detail, step, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gtkPanedGetHandleWindow <- function(object) { checkPtrType(object, "GtkPaned") w <- .RGtkCall("S_gtk_paned_get_handle_window", object, PACKAGE = "RGtk2") return(w) } gtkRangeGetMinSliderSize <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_min_slider_size", object, PACKAGE = "RGtk2") return(w) } gtkRangeGetRangeRect <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_range_rect", object, PACKAGE = "RGtk2") return(w) } gtkRangeGetSliderRange <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_slider_range", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeGetSliderSizeFixed <- function(object) { checkPtrType(object, "GtkRange") w <- .RGtkCall("S_gtk_range_get_slider_size_fixed", object, PACKAGE = "RGtk2") return(w) } gtkRangeSetMinSliderSize <- function(object, min.size) { checkPtrType(object, "GtkRange") min.size <- as.logical(min.size) w <- .RGtkCall("S_gtk_range_set_min_slider_size", object, min.size, PACKAGE = "RGtk2") return(invisible(w)) } gtkRangeSetSliderSizeFixed <- function(object, size.fixed) { checkPtrType(object, "GtkRange") size.fixed <- as.logical(size.fixed) w <- .RGtkCall("S_gtk_range_set_slider_size_fixed", object, size.fixed, PACKAGE = "RGtk2") return(invisible(w)) } gtkStatusbarGetMessageArea <- function(object) { checkPtrType(object, "GtkStatusbar") w <- .RGtkCall("S_gtk_statusbar_get_message_area", object, PACKAGE = "RGtk2") return(w) } gtkStatusIconSetName <- function(object, name) { checkPtrType(object, "GtkStatusIcon") name <- as.character(name) w <- .RGtkCall("S_gtk_status_icon_set_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gtkViewportGetBinWindow <- function(object) { checkPtrType(object, "GtkViewport") w <- .RGtkCall("S_gtk_viewport_get_bin_window", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetRealized <- function(object, realized) { checkPtrType(object, "GtkWidget") realized <- as.logical(realized) w <- .RGtkCall("S_gtk_widget_set_realized", object, realized, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetRealized <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_realized", object, PACKAGE = "RGtk2") return(w) } gtkWidgetSetMapped <- function(object, mapped) { checkPtrType(object, "GtkWidget") mapped <- as.logical(mapped) w <- .RGtkCall("S_gtk_widget_set_mapped", object, mapped, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetGetMapped <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_mapped", object, PACKAGE = "RGtk2") return(w) } gtkWidgetGetRequisition <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_get_requisition", object, PACKAGE = "RGtk2") return(w) } gtkWidgetStyleAttach <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_style_attach", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkWidgetHasRcStyle <- function(object) { checkPtrType(object, "GtkWidget") w <- .RGtkCall("S_gtk_widget_has_rc_style", object, PACKAGE = "RGtk2") return(w) } gtkWindowSetMnemonicsVisible <- function(object, setting) { checkPtrType(object, "GtkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gtk_window_set_mnemonics_visible", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gtkWindowGetMnemonicsVisible <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_mnemonics_visible", object, PACKAGE = "RGtk2") return(w) } gtkWindowGetWindowType <- function(object) { checkPtrType(object, "GtkWindow") w <- .RGtkCall("S_gtk_window_get_window_type", object, PACKAGE = "RGtk2") return(w) } gtkTooltipSetIconFromGicon <- function(object, gicon, size) { checkPtrType(object, "GtkTooltip") checkPtrType(gicon, "GIcon") w <- .RGtkCall("S_gtk_tooltip_set_icon_from_gicon", object, gicon, size, PACKAGE = "RGtk2") return(invisible(w)) } gtkPrintContextGetHardMargins <- function(object) { checkPtrType(object, "GtkPrintContext") w <- .RGtkCall("S_gtk_print_context_get_hard_margins", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetTextOrientation <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_text_orientation", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetTextAlignment <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_text_alignment", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetEllipsizeMode <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_ellipsize_mode", object, PACKAGE = "RGtk2") return(w) } gtkToolShellGetTextSizeGroup <- function(object) { checkPtrType(object, "GtkToolShell") w <- .RGtkCall("S_gtk_tool_shell_get_text_size_group", object, PACKAGE = "RGtk2") return(w) } RGtk2/R/atkAccessors.R0000644000176000001440000000000012362217673014203 0ustar ripleyusersRGtk2/R/pangoVirtuals.R0000644000176000001440000002554412362217673014440 0ustar ripleyusersif(!exists('.virtuals')) .virtuals <- new.env() assign("PangoAttr", c("copy", "destroy", "equal"), .virtuals) assign("PangoFontFamily", c("list_faces", "get_name", "is_monospace"), .virtuals) assign("PangoFontFace", c("get_face_name", "describe", "list_sizes"), .virtuals) assign("PangoFont", c("describe", "get_coverage", "get_glyph_extents", "get_metrics", "get_font_map"), .virtuals) assign("PangoFontMap", c("load_font", "list_families", "load_fontset"), .virtuals) assign("PangoFontset", c("get_font", "get_metrics", "get_language", "foreach"), .virtuals) assign("PangoRenderer", c("draw_glyphs", "draw_rectangle", "draw_error_underline", "draw_shape", "draw_trapezoid", "draw_glyph", "part_changed", "begin", "end", "prepare_run", "draw_glyph_item"), .virtuals) pangoAttrClassCopy <- function(object.class, object) { checkPtrType(object.class, "PangoAttrClass") checkPtrType(object, "PangoAttr") w <- .RGtkCall("S_pango_attr_class_copy", object.class, object, PACKAGE = "RGtk2") return(w) } pangoAttrClassDestroy <- function(object.class, object) { checkPtrType(object.class, "PangoAttrClass") checkPtrType(object, "PangoAttr") w <- .RGtkCall("S_pango_attr_class_destroy", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } pangoAttrClassEqual <- function(object.class, object, attr2) { checkPtrType(object.class, "PangoAttrClass") checkPtrType(object, "PangoAttr") checkPtrType(attr2, "PangoAttribute") w <- .RGtkCall("S_pango_attr_class_equal", object.class, object, attr2, PACKAGE = "RGtk2") return(w) } pangoFontFamilyClassListFaces <- function(object.class, object) { checkPtrType(object.class, "PangoFontFamilyClass") checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_class_list_faces", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontFamilyClassGetName <- function(object.class, object) { checkPtrType(object.class, "PangoFontFamilyClass") checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_class_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontFamilyClassIsMonospace <- function(object.class, object) { checkPtrType(object.class, "PangoFontFamilyClass") checkPtrType(object, "PangoFontFamily") w <- .RGtkCall("S_pango_font_family_class_is_monospace", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontFaceClassGetFaceName <- function(object.class, object) { checkPtrType(object.class, "PangoFontFaceClass") checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_class_get_face_name", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontFaceClassDescribe <- function(object.class, object) { checkPtrType(object.class, "PangoFontFaceClass") checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_class_describe", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontFaceClassListSizes <- function(object.class, object) { checkPtrType(object.class, "PangoFontFaceClass") checkPtrType(object, "PangoFontFace") w <- .RGtkCall("S_pango_font_face_class_list_sizes", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontClassDescribe <- function(object.class, object) { checkPtrType(object.class, "PangoFontClass") checkPtrType(object, "PangoFont") w <- .RGtkCall("S_pango_font_class_describe", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontClassGetCoverage <- function(object.class, object, lang) { checkPtrType(object.class, "PangoFontClass") checkPtrType(object, "PangoFont") checkPtrType(lang, "PangoLanguage") w <- .RGtkCall("S_pango_font_class_get_coverage", object.class, object, lang, PACKAGE = "RGtk2") return(w) } pangoFontClassGetGlyphExtents <- function(object.class, object, glyph) { checkPtrType(object.class, "PangoFontClass") checkPtrType(object, "PangoFont") glyph <- as.numeric(glyph) w <- .RGtkCall("S_pango_font_class_get_glyph_extents", object.class, object, glyph, PACKAGE = "RGtk2") return(w) } pangoFontClassGetMetrics <- function(object.class, object, language) { checkPtrType(object.class, "PangoFontClass") checkPtrType(object, "PangoFont") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_font_class_get_metrics", object.class, object, language, PACKAGE = "RGtk2") return(w) } pangoFontClassGetFontMap <- function(object.class, object) { checkPtrType(object.class, "PangoFontClass") checkPtrType(object, "PangoFont") w <- .RGtkCall("S_pango_font_class_get_font_map", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontMapClassLoadFont <- function(object.class, object, context, desc) { checkPtrType(object.class, "PangoFontMapClass") checkPtrType(object, "PangoFontMap") checkPtrType(context, "PangoContext") checkPtrType(desc, "PangoFontDescription") w <- .RGtkCall("S_pango_font_map_class_load_font", object.class, object, context, desc, PACKAGE = "RGtk2") return(w) } pangoFontMapClassListFamilies <- function(object.class, object) { checkPtrType(object.class, "PangoFontMapClass") checkPtrType(object, "PangoFontMap") w <- .RGtkCall("S_pango_font_map_class_list_families", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontMapClassLoadFontset <- function(object.class, object, context, desc, language) { checkPtrType(object.class, "PangoFontMapClass") checkPtrType(object, "PangoFontMap") checkPtrType(context, "PangoContext") checkPtrType(desc, "PangoFontDescription") checkPtrType(language, "PangoLanguage") w <- .RGtkCall("S_pango_font_map_class_load_fontset", object.class, object, context, desc, language, PACKAGE = "RGtk2") return(w) } pangoFontsetClassGetFont <- function(object.class, object, wc) { checkPtrType(object.class, "PangoFontsetClass") checkPtrType(object, "PangoFontset") wc <- as.numeric(wc) w <- .RGtkCall("S_pango_fontset_class_get_font", object.class, object, wc, PACKAGE = "RGtk2") return(w) } pangoFontsetClassGetMetrics <- function(object.class, object) { checkPtrType(object.class, "PangoFontsetClass") checkPtrType(object, "PangoFontset") w <- .RGtkCall("S_pango_fontset_class_get_metrics", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontsetClassGetLanguage <- function(object.class, object) { checkPtrType(object.class, "PangoFontsetClass") checkPtrType(object, "PangoFontset") w <- .RGtkCall("S_pango_fontset_class_get_language", object.class, object, PACKAGE = "RGtk2") return(w) } pangoFontsetClassForeach <- function(object.class, object, func, data) { checkPtrType(object.class, "PangoFontsetClass") checkPtrType(object, "PangoFontset") func <- as.function(func) w <- .RGtkCall("S_pango_fontset_class_foreach", object.class, object, func, data, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawGlyphs <- function(object.class, object, font, glyphs, x, y) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") checkPtrType(font, "PangoFont") checkPtrType(glyphs, "PangoGlyphString") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_class_draw_glyphs", object.class, object, font, glyphs, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawRectangle <- function(object.class, object, part, x, y, width, height) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_pango_renderer_class_draw_rectangle", object.class, object, part, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawErrorUnderline <- function(object.class, object, x, y, width, height) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_pango_renderer_class_draw_error_underline", object.class, object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawShape <- function(object.class, object, attr, x, y) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") checkPtrType(attr, "PangoAttrShape") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_class_draw_shape", object.class, object, attr, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawTrapezoid <- function(object.class, object, part, y1., x11, x21, y2, x12, x22) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") y1. <- as.numeric(y1.) x11 <- as.numeric(x11) x21 <- as.numeric(x21) y2 <- as.numeric(y2) x12 <- as.numeric(x12) x22 <- as.numeric(x22) w <- .RGtkCall("S_pango_renderer_class_draw_trapezoid", object.class, object, part, y1., x11, x21, y2, x12, x22, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawGlyph <- function(object.class, object, font, glyph, x, y) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") checkPtrType(font, "PangoFont") glyph <- as.numeric(glyph) x <- as.numeric(x) y <- as.numeric(y) w <- .RGtkCall("S_pango_renderer_class_draw_glyph", object.class, object, font, glyph, x, y, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassPartChanged <- function(object.class, object, part) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_class_part_changed", object.class, object, part, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassBegin <- function(object.class, object) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_class_begin", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassEnd <- function(object.class, object) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") w <- .RGtkCall("S_pango_renderer_class_end", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassPrepareRun <- function(object.class, object, run) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") checkPtrType(run, "PangoGlyphItem") w <- .RGtkCall("S_pango_renderer_class_prepare_run", object.class, object, run, PACKAGE = "RGtk2") return(invisible(w)) } pangoRendererClassDrawGlyphItem <- function(object.class, object, text, glyph.item, x, y) { checkPtrType(object.class, "PangoRendererClass") checkPtrType(object, "PangoRenderer") text <- as.character(text) checkPtrType(glyph.item, "PangoGlyphItem") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_pango_renderer_class_draw_glyph_item", object.class, object, text, glyph.item, x, y, PACKAGE = "RGtk2") return(invisible(w)) }RGtk2/R/atkManuals.R0000644000176000001440000000133711766145227013676 0ustar ripleyusersatkComponentAddFocusHandler <- atkObjectConnectPropertyChangeHandler <- function(object, handler) { .notimplemented("does not have user data for the handler") } atkAddFocusTracker <- function(focus.tracker) { .notimplemented("does not have user data for the tracker") } atkFocusTrackerInit <- function(add.function) { .notimplemented("does not have user data for init function. Besides, it's only for ATK implementations") } atkAddGlobalEventListener <- function(listener, event.type) { .notimplemented("does not have user data for the listener") } atkStreamableContentGetStream <- function (object, mime.type) { .notimplemented("is not yet written. It will support retrieving an R connection from AtkStreamableContent") } RGtk2/R/atkzConstructors.R0000644000176000001440000000026711766145227015201 0ustar ripleyusersatkNoOpObject <- atkNoOpObjectNew atkNoOpObjectFactory <- atkNoOpObjectFactoryNew atkRelation <- atkRelationNew atkRelationSet <- atkRelationSetNew atkStateSet <- atkStateSetNew RGtk2/R/gdkVirtuals.R0000644000176000001440000004605512362217673014101 0ustar ripleyusersif(!exists('.virtuals')) .virtuals <- new.env() assign("GdkDisplay", c("get_display_name", "get_n_screens", "get_screen", "get_default_screen", "closed"), .virtuals) assign("GdkDisplayManager", c("display_opened"), .virtuals) assign("GdkDrawable", c("create_gc", "draw_rectangle", "draw_arc", "draw_polygon", "draw_text", "draw_text_wc", "draw_drawable", "draw_points", "draw_segments", "draw_lines", "draw_glyphs", "draw_image", "get_depth", "get_size", "set_colormap", "get_colormap", "get_visual", "get_screen", "get_image", "get_clip_region", "get_visible_region", "get_composite_drawable", "draw_pixbuf", "draw_glyphs_transformed", "draw_trapezoids", "ref_cairo_surface"), .virtuals) assign("GdkGC", c("get_values", "set_values", "set_dashes"), .virtuals) assign("GdkKeymap", c("direction_changed", "keys_changed"), .virtuals) assign("GdkScreen", c("size_changed", "composited_changed"), .virtuals) assign("GdkPixbufAnimation", c("is_static_image", "get_static_image", "get_size", "get_iter"), .virtuals) assign("GdkPixbufAnimationIter", c("get_delay_time", "get_pixbuf", "on_currently_loading_frame", "advance"), .virtuals) assign("GdkPixbufLoader", c("size_prepared", "area_prepared", "area_updated", "closed"), .virtuals) gdkDisplayClassGetDisplayName <- function(object.class, object) { checkPtrType(object.class, "GdkDisplayClass") checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_class_get_display_name", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDisplayClassGetNScreens <- function(object.class, object) { checkPtrType(object.class, "GdkDisplayClass") checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_class_get_n_screens", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDisplayClassGetScreen <- function(object.class, object, screen.num) { checkPtrType(object.class, "GdkDisplayClass") checkPtrType(object, "GdkDisplay") screen.num <- as.integer(screen.num) w <- .RGtkCall("S_gdk_display_class_get_screen", object.class, object, screen.num, PACKAGE = "RGtk2") return(w) } gdkDisplayClassGetDefaultScreen <- function(object.class, object) { checkPtrType(object.class, "GdkDisplayClass") checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_class_get_default_screen", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDisplayClassClosed <- function(object.class, object, is.error) { checkPtrType(object.class, "GdkDisplayClass") checkPtrType(object, "GdkDisplay") is.error <- as.logical(is.error) w <- .RGtkCall("S_gdk_display_class_closed", object.class, object, is.error, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayManagerClassDisplayOpened <- function(object.class, object, display) { checkPtrType(object.class, "GdkDisplayManagerClass") checkPtrType(object, "GdkDisplayManager") checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gdk_display_manager_class_display_opened", object.class, object, display, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassCreateGc <- function(object.class, object, values) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") values <- as.GdkGCValues(values) w <- .RGtkCall("S_gdk_drawable_class_create_gc", object.class, object, values, PACKAGE = "RGtk2") return(w) } gdkDrawableClassDrawRectangle <- function(object.class, object, gc, filled, x, y, width, height) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_class_draw_rectangle", object.class, object, gc, filled, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawArc <- function(object.class, object, gc, filled, x, y, width, height, angle1, angle2) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) angle1 <- as.integer(angle1) angle2 <- as.integer(angle2) w <- .RGtkCall("S_gdk_drawable_class_draw_arc", object.class, object, gc, filled, x, y, width, height, angle1, angle2, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawPolygon <- function(object.class, object, gc, filled, points, npoints) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) points <- as.GdkPoint(points) npoints <- as.integer(npoints) w <- .RGtkCall("S_gdk_drawable_class_draw_polygon", object.class, object, gc, filled, points, npoints, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawText <- function(object.class, object, font, gc, x, y, text, text.length) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(font, "GdkFont") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) text <- as.character(text) text.length <- as.integer(text.length) w <- .RGtkCall("S_gdk_drawable_class_draw_text", object.class, object, font, gc, x, y, text, text.length, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawTextWc <- function(object.class, object, font, gc, x, text) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(font, "GdkFont") checkPtrType(gc, "GdkGC") x <- as.integer(x) text <- as.list(as.numeric(text)) w <- .RGtkCall("S_gdk_drawable_class_draw_text_wc", object.class, object, font, gc, x, text, PACKAGE = "RGtk2") return(w) } gdkDrawableClassDrawDrawable <- function(object.class, object, gc, src, xsrc, ysrc, xdest, ydest, width, height) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(src, "GdkDrawable") xsrc <- as.integer(xsrc) ysrc <- as.integer(ysrc) xdest <- as.integer(xdest) ydest <- as.integer(ydest) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_class_draw_drawable", object.class, object, gc, src, xsrc, ysrc, xdest, ydest, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawPoints <- function(object.class, object, gc, points) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_drawable_class_draw_points", object.class, object, gc, points, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawSegments <- function(object.class, object, gc, segs) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") segs <- lapply(segs, function(x) { x <- as.GdkSegment(x); x }) w <- .RGtkCall("S_gdk_drawable_class_draw_segments", object.class, object, gc, segs, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawLines <- function(object.class, object, gc, points) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_drawable_class_draw_lines", object.class, object, gc, points, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawGlyphs <- function(object.class, object, gc, font, x, y, glyphs) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(font, "PangoFont") x <- as.integer(x) y <- as.integer(y) checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_gdk_drawable_class_draw_glyphs", object.class, object, gc, font, x, y, glyphs, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawImage <- function(object.class, object, gc, image, xsrc, ysrc, xdest, ydest, width, height) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(image, "GdkImage") xsrc <- as.integer(xsrc) ysrc <- as.integer(ysrc) xdest <- as.integer(xdest) ydest <- as.integer(ydest) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_class_draw_image", object.class, object, gc, image, xsrc, ysrc, xdest, ydest, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassGetDepth <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_depth", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetSize <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_size", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassSetColormap <- function(object.class, object, cmap) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(cmap, "GdkColormap") w <- .RGtkCall("S_gdk_drawable_class_set_colormap", object.class, object, cmap, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassGetColormap <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_colormap", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetVisual <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_visual", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetScreen <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_screen", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetImage <- function(object.class, object, x, y, width, height) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_class_get_image", object.class, object, x, y, width, height, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetClipRegion <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_clip_region", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetVisibleRegion <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_get_visible_region", object.class, object, PACKAGE = "RGtk2") return(w) } gdkDrawableClassGetCompositeDrawable <- function(object.class, object, x, y, width, height) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_class_get_composite_drawable", object.class, object, x, y, width, height, PACKAGE = "RGtk2") return(w) } gdkDrawableClassDrawPixbuf <- function(object.class, object, gc, pixbuf, src.x, src.y, dest.x, dest.y, width, height, dither, x.dither, y.dither) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(pixbuf, "GdkPixbuf") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) x.dither <- as.integer(x.dither) y.dither <- as.integer(y.dither) w <- .RGtkCall("S_gdk_drawable_class_draw_pixbuf", object.class, object, gc, pixbuf, src.x, src.y, dest.x, dest.y, width, height, dither, x.dither, y.dither, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawGlyphsTransformed <- function(object.class, object, gc, matrix, font, x, y, glyphs) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(matrix, "PangoMatrix") checkPtrType(font, "PangoFont") x <- as.integer(x) y <- as.integer(y) checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_gdk_drawable_class_draw_glyphs_transformed", object.class, object, gc, matrix, font, x, y, glyphs, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassDrawTrapezoids <- function(object.class, object, gc, trapezoids) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") trapezoids <- lapply(trapezoids, function(x) { x <- as.GdkTrapezoid(x); x }) w <- .RGtkCall("S_gdk_drawable_class_draw_trapezoids", object.class, object, gc, trapezoids, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableClassRefCairoSurface <- function(object.class, object) { checkPtrType(object.class, "GdkDrawableClass") checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_class_ref_cairo_surface", object.class, object, PACKAGE = "RGtk2") return(w) } gdkGCclassGetValues <- function(object.class, object) { checkPtrType(object.class, "GdkGCClass") checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gcclass_get_values", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCclassSetValues <- function(object.class, object, values) { checkPtrType(object.class, "GdkGCClass") checkPtrType(object, "GdkGC") values <- as.GdkGCValues(values) w <- .RGtkCall("S_gdk_gcclass_set_values", object.class, object, values, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCclassSetDashes <- function(object.class, object, dash.list) { checkPtrType(object.class, "GdkGCClass") checkPtrType(object, "GdkGC") dash.list <- as.list(as.raw(dash.list)) w <- .RGtkCall("S_gdk_gcclass_set_dashes", object.class, object, dash.list, PACKAGE = "RGtk2") return(w) } gdkKeymapClassDirectionChanged <- function(object.class, object) { checkPtrType(object.class, "GdkKeymapClass") checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_class_direction_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkKeymapClassKeysChanged <- function(object.class, object) { checkPtrType(object.class, "GdkKeymapClass") checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_class_keys_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenClassSizeChanged <- function(object.class, object) { checkPtrType(object.class, "GdkScreenClass") checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_class_size_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufAnimationClassIsStaticImage <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationClass") checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_class_is_static_image", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationClassGetStaticImage <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationClass") checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_class_get_static_image", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationClassGetSize <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationClass") checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_class_get_size", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationClassGetIter <- function(object.class, object, start.time) { checkPtrType(object.class, "GdkPixbufAnimationClass") checkPtrType(object, "GdkPixbufAnimation") start.time <- as.GTimeVal(start.time) w <- .RGtkCall("S_gdk_pixbuf_animation_class_get_iter", object.class, object, start.time, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterClassGetDelayTime <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationIterClass") checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_class_get_delay_time", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterClassGetPixbuf <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationIterClass") checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_class_get_pixbuf", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterClassOnCurrentlyLoadingFrame <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufAnimationIterClass") checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_class_on_currently_loading_frame", object.class, object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterClassAdvance <- function(object.class, object, current.time) { checkPtrType(object.class, "GdkPixbufAnimationIterClass") checkPtrType(object, "GdkPixbufAnimationIter") current.time <- as.GTimeVal(current.time) w <- .RGtkCall("S_gdk_pixbuf_animation_iter_class_advance", object.class, object, current.time, PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderClassSizePrepared <- function(object.class, object, width, height) { checkPtrType(object.class, "GdkPixbufLoaderClass") checkPtrType(object, "GdkPixbufLoader") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_loader_class_size_prepared", object.class, object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufLoaderClassAreaPrepared <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufLoaderClass") checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_class_area_prepared", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufLoaderClassAreaUpdated <- function(object.class, object, x, y, width, height) { checkPtrType(object.class, "GdkPixbufLoaderClass") checkPtrType(object, "GdkPixbufLoader") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_loader_class_area_updated", object.class, object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufLoaderClassClosed <- function(object.class, object) { checkPtrType(object.class, "GdkPixbufLoaderClass") checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_class_closed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenClassCompositedChanged <- function(object.class, object) { checkPtrType(object.class, "GdkScreenClass") checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_class_composited_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) }RGtk2/R/gioAccessors.R0000644000176000001440000000054212362217673014215 0ustar ripleyusersgFileAttributeInfoListGetInfos <- function(obj) { checkPtrType(obj, 'GFileAttributeInfoList') v <- .Call('S_GFileAttributeInfoListGetInfos', obj, PACKAGE = "RGtk2") v } gFileAttributeInfoListGetNInfos <- function(obj) { checkPtrType(obj, 'GFileAttributeInfoList') v <- .Call('S_GFileAttributeInfoListGetNInfos', obj, PACKAGE = "RGtk2") v } RGtk2/R/cairoAccessors.R0000644000176000001440000000340412362217673014534 0ustar ripleyuserscairoMatrixGetXx <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetXx', obj, PACKAGE = "RGtk2") v } cairoMatrixGetYx <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetYx', obj, PACKAGE = "RGtk2") v } cairoMatrixGetXy <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetXy', obj, PACKAGE = "RGtk2") v } cairoMatrixGetYy <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetYy', obj, PACKAGE = "RGtk2") v } cairoMatrixGetX0 <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetX0', obj, PACKAGE = "RGtk2") v } cairoMatrixGetY0 <- function(obj) { checkPtrType(obj, 'CairoMatrix') v <- .Call('S_CairoMatrixGetY0', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetXBearing <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetXBearing', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetYBearing <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetYBearing', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetWidth <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetWidth', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetHeight <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetHeight', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetXAdvance <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetXAdvance', obj, PACKAGE = "RGtk2") v } cairoTextExtentsGetYAdvance <- function(obj) { checkPtrType(obj, 'CairoTextExtents') v <- .Call('S_CairoTextExtentsGetYAdvance', obj, PACKAGE = "RGtk2") v } RGtk2/R/RGtk.R0000644000176000001440000000052312301414331012416 0ustar ripleyusers.gtkInitCheck <- local({ initialized <- NULL function(args="R") { if (is.null(initialized)) initialized <<- .C("R_gtkInit", length(args), x=args, success = logical(1), PACKAGE = "RGtk2")$success initialized } }) gtkInit <- .gtkInitCheck .gtkCleanup <- function() { .C("R_gtkCleanup", PACKAGE = "RGtk2") } RGtk2/R/atkVirtuals.R0000644000176000001440000013531612362217673014112 0ustar ripleyusersif(!exists('.virtuals')) .virtuals <- new.env() assign("AtkAction", c("do_action", "get_n_actions", "get_description", "get_name", "get_keybinding", "set_description", "get_localized_name"), .virtuals) assign("AtkComponent", c("contains", "ref_accessible_at_point", "get_extents", "get_position", "get_size", "grab_focus", "remove_focus_handler", "set_extents", "set_position", "set_size", "get_layer", "get_mdi_zorder", "bounds_changed"), .virtuals) assign("AtkDocument", c("get_document_type", "get_document"), .virtuals) assign("AtkEditableText", c("set_run_attributes", "set_text_contents", "insert_text", "copy_text", "cut_text", "delete_text", "paste_text"), .virtuals) assign("AtkHyperlink", c("get_uri", "get_object", "get_end_index", "get_start_index", "is_valid", "get_n_anchors", "link_state", "is_selected_link", "link_activated"), .virtuals) assign("AtkHypertext", c("get_link", "get_n_links", "get_link_index", "link_selected"), .virtuals) assign("AtkImage", c("get_image_position", "get_image_description", "get_image_size", "set_image_description"), .virtuals) assign("AtkObjectFactory", c("invalidate"), .virtuals) assign("AtkImplementor", c("ref_accessible"), .virtuals) assign("AtkObject", c("get_name", "get_description", "get_parent", "get_n_children", "ref_child", "get_index_in_parent", "ref_relation_set", "get_role", "get_layer", "get_mdi_zorder", "ref_state_set", "set_name", "set_description", "set_parent", "set_role", "remove_property_change_handler", "initialize", "children_changed", "focus_event", "state_change", "visible_data_changed", "active_descendant_changed"), .virtuals) assign("AtkSelection", c("add_selection", "clear_selection", "ref_selection", "get_selection_count", "is_child_selected", "remove_selection", "select_all_selection", "selection_changed"), .virtuals) assign("AtkStreamableContent", c("get_n_mime_types", "get_mime_type"), .virtuals) assign("AtkTable", c("ref_at", "get_index_at", "get_column_at_index", "get_row_at_index", "get_n_columns", "get_n_rows", "get_column_extent_at", "get_row_extent_at", "get_caption", "get_column_description", "get_column_header", "get_row_description", "get_row_header", "get_summary", "set_caption", "set_column_description", "set_column_header", "set_row_description", "set_row_header", "set_summary", "get_selected_columns", "get_selected_rows", "is_column_selected", "is_row_selected", "is_selected", "add_row_selection", "remove_row_selection", "add_column_selection", "remove_column_selection", "row_inserted", "column_inserted", "row_deleted", "column_deleted", "row_reordered", "column_reordered", "model_changed"), .virtuals) assign("AtkText", c("get_text", "get_text_after_offset", "get_text_at_offset", "get_character_at_offset", "get_text_before_offset", "get_caret_offset", "get_run_attributes", "get_default_attributes", "get_character_extents", "get_character_count", "get_offset_at_point", "get_n_selections", "get_selection", "add_selection", "remove_selection", "set_selection", "set_caret_offset", "text_changed", "text_caret_moved", "text_selection_changed", "text_attributes_changed", "get_range_extents", "get_bounded_ranges"), .virtuals) assign("AtkValue", c("get_current_value", "get_maximum_value", "get_minimum_value", "set_current_value", "get_minimum_increment"), .virtuals) atkActionIfaceDoAction <- function(object.class, object, i) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_iface_do_action", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkActionIfaceGetNActions <- function(object.class, object) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") w <- .RGtkCall("S_atk_action_iface_get_n_actions", object.class, object, PACKAGE = "RGtk2") return(w) } atkActionIfaceGetDescription <- function(object.class, object, i) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_iface_get_description", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkActionIfaceGetName <- function(object.class, object, i) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_iface_get_name", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkActionIfaceGetKeybinding <- function(object.class, object, i) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_iface_get_keybinding", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkActionIfaceSetDescription <- function(object.class, object, i, desc) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) desc <- as.character(desc) w <- .RGtkCall("S_atk_action_iface_set_description", object.class, object, i, desc, PACKAGE = "RGtk2") return(w) } atkActionIfaceGetLocalizedName <- function(object.class, object, i) { checkPtrType(object.class, "AtkActionIface") checkPtrType(object, "AtkAction") i <- as.integer(i) w <- .RGtkCall("S_atk_action_iface_get_localized_name", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkComponentIfaceContains <- function(object.class, object, x, y, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_iface_contains", object.class, object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentIfaceRefAccessibleAtPoint <- function(object.class, object, x, y, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_iface_ref_accessible_at_point", object.class, object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentIfaceGetExtents <- function(object.class, object, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_get_extents", object.class, object, coord.type, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentIfaceGetPosition <- function(object.class, object, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_get_position", object.class, object, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentIfaceGetSize <- function(object.class, object) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_get_size", object.class, object, PACKAGE = "RGtk2") return(w) } atkComponentIfaceGrabFocus <- function(object.class, object) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_grab_focus", object.class, object, PACKAGE = "RGtk2") return(w) } atkComponentIfaceRemoveFocusHandler <- function(object.class, object, handler.id) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") handler.id <- as.numeric(handler.id) w <- .RGtkCall("S_atk_component_iface_remove_focus_handler", object.class, object, handler.id, PACKAGE = "RGtk2") return(invisible(w)) } atkComponentIfaceSetExtents <- function(object.class, object, x, y, width, height, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_atk_component_iface_set_extents", object.class, object, x, y, width, height, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentIfaceSetPosition <- function(object.class, object, x, y, coord.type) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_component_iface_set_position", object.class, object, x, y, coord.type, PACKAGE = "RGtk2") return(w) } atkComponentIfaceSetSize <- function(object.class, object, width, height) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_atk_component_iface_set_size", object.class, object, width, height, PACKAGE = "RGtk2") return(w) } atkComponentIfaceGetLayer <- function(object.class, object) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_get_layer", object.class, object, PACKAGE = "RGtk2") return(w) } atkComponentIfaceGetMdiZorder <- function(object.class, object) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") w <- .RGtkCall("S_atk_component_iface_get_mdi_zorder", object.class, object, PACKAGE = "RGtk2") return(w) } atkComponentIfaceBoundsChanged <- function(object.class, object, bounds) { checkPtrType(object.class, "AtkComponentIface") checkPtrType(object, "AtkComponent") bounds <- as.AtkRectangle(bounds) w <- .RGtkCall("S_atk_component_iface_bounds_changed", object.class, object, bounds, PACKAGE = "RGtk2") return(invisible(w)) } atkDocumentIfaceGetDocumentType <- function(object.class, object) { checkPtrType(object.class, "AtkDocumentIface") checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_iface_get_document_type", object.class, object, PACKAGE = "RGtk2") return(w) } atkDocumentIfaceGetDocument <- function(object.class, object) { checkPtrType(object.class, "AtkDocumentIface") checkPtrType(object, "AtkDocument") w <- .RGtkCall("S_atk_document_iface_get_document", object.class, object, PACKAGE = "RGtk2") return(w) } atkEditableTextIfaceSetRunAttributes <- function(object.class, object, attrib.set, start.offset, end.offset) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") attrib.set <- as.AtkAttributeSet(attrib.set) start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_editable_text_iface_set_run_attributes", object.class, object, attrib.set, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkEditableTextIfaceSetTextContents <- function(object.class, object, string) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") string <- as.character(string) w <- .RGtkCall("S_atk_editable_text_iface_set_text_contents", object.class, object, string, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextIfaceInsertText <- function(object.class, object, string, position) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") string <- as.character(string) position <- as.list(as.integer(position)) w <- .RGtkCall("S_atk_editable_text_iface_insert_text", object.class, object, string, position, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextIfaceCopyText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_iface_copy_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextIfaceCutText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_iface_cut_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextIfaceDeleteText <- function(object.class, object, start.pos, end.pos) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") start.pos <- as.integer(start.pos) end.pos <- as.integer(end.pos) w <- .RGtkCall("S_atk_editable_text_iface_delete_text", object.class, object, start.pos, end.pos, PACKAGE = "RGtk2") return(invisible(w)) } atkEditableTextIfacePasteText <- function(object.class, object, position) { checkPtrType(object.class, "AtkEditableTextIface") checkPtrType(object, "AtkEditableText") position <- as.integer(position) w <- .RGtkCall("S_atk_editable_text_iface_paste_text", object.class, object, position, PACKAGE = "RGtk2") return(invisible(w)) } atkHyperlinkClassGetUri <- function(object.class, object, i) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") i <- as.integer(i) w <- .RGtkCall("S_atk_hyperlink_class_get_uri", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassGetObject <- function(object.class, object, i) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") i <- as.integer(i) w <- .RGtkCall("S_atk_hyperlink_class_get_object", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassGetEndIndex <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_get_end_index", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassGetStartIndex <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_get_start_index", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassIsValid <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_is_valid", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassGetNAnchors <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_get_n_anchors", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassLinkState <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_link_state", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassIsSelectedLink <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_is_selected_link", object.class, object, PACKAGE = "RGtk2") return(w) } atkHyperlinkClassLinkActivated <- function(object.class, object) { checkPtrType(object.class, "AtkHyperlinkClass") checkPtrType(object, "AtkHyperlink") w <- .RGtkCall("S_atk_hyperlink_class_link_activated", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkHypertextIfaceGetLink <- function(object.class, object, link.index) { checkPtrType(object.class, "AtkHypertextIface") checkPtrType(object, "AtkHypertext") link.index <- as.integer(link.index) w <- .RGtkCall("S_atk_hypertext_iface_get_link", object.class, object, link.index, PACKAGE = "RGtk2") return(w) } atkHypertextIfaceGetNLinks <- function(object.class, object) { checkPtrType(object.class, "AtkHypertextIface") checkPtrType(object, "AtkHypertext") w <- .RGtkCall("S_atk_hypertext_iface_get_n_links", object.class, object, PACKAGE = "RGtk2") return(w) } atkHypertextIfaceGetLinkIndex <- function(object.class, object, char.index) { checkPtrType(object.class, "AtkHypertextIface") checkPtrType(object, "AtkHypertext") char.index <- as.integer(char.index) w <- .RGtkCall("S_atk_hypertext_iface_get_link_index", object.class, object, char.index, PACKAGE = "RGtk2") return(w) } atkHypertextIfaceLinkSelected <- function(object.class, object, link.index) { checkPtrType(object.class, "AtkHypertextIface") checkPtrType(object, "AtkHypertext") link.index <- as.integer(link.index) w <- .RGtkCall("S_atk_hypertext_iface_link_selected", object.class, object, link.index, PACKAGE = "RGtk2") return(invisible(w)) } atkImageIfaceGetImagePosition <- function(object.class, object, coord.type) { checkPtrType(object.class, "AtkImageIface") checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_iface_get_image_position", object.class, object, coord.type, PACKAGE = "RGtk2") return(w) } atkImageIfaceGetImageDescription <- function(object.class, object) { checkPtrType(object.class, "AtkImageIface") checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_iface_get_image_description", object.class, object, PACKAGE = "RGtk2") return(w) } atkImageIfaceGetImageSize <- function(object.class, object) { checkPtrType(object.class, "AtkImageIface") checkPtrType(object, "AtkImage") w <- .RGtkCall("S_atk_image_iface_get_image_size", object.class, object, PACKAGE = "RGtk2") return(w) } atkImageIfaceSetImageDescription <- function(object.class, object, description) { checkPtrType(object.class, "AtkImageIface") checkPtrType(object, "AtkImage") description <- as.character(description) w <- .RGtkCall("S_atk_image_iface_set_image_description", object.class, object, description, PACKAGE = "RGtk2") return(w) } atkObjectFactoryClassInvalidate <- function(object.class, object) { checkPtrType(object.class, "AtkObjectFactoryClass") checkPtrType(object, "AtkObjectFactory") w <- .RGtkCall("S_atk_object_factory_class_invalidate", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkImplementorIfaceRefAccessible <- function(object.class, object) { checkPtrType(object.class, "AtkImplementorIface") checkPtrType(object, "AtkImplementor") w <- .RGtkCall("S_atk_implementor_iface_ref_accessible", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetName <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_name", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetDescription <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_description", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetParent <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_parent", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetNChildren <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_n_children", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassRefChild <- function(object.class, object, i) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") i <- as.integer(i) w <- .RGtkCall("S_atk_object_class_ref_child", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkObjectClassGetIndexInParent <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_index_in_parent", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassRefRelationSet <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_ref_relation_set", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetRole <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_role", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetLayer <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_layer", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassGetMdiZorder <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_get_mdi_zorder", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassRefStateSet <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_ref_state_set", object.class, object, PACKAGE = "RGtk2") return(w) } atkObjectClassSetName <- function(object.class, object, name) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") name <- as.character(name) w <- .RGtkCall("S_atk_object_class_set_name", object.class, object, name, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassSetDescription <- function(object.class, object, description) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") description <- as.character(description) w <- .RGtkCall("S_atk_object_class_set_description", object.class, object, description, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassSetParent <- function(object.class, object, parent) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") checkPtrType(parent, "AtkObject") w <- .RGtkCall("S_atk_object_class_set_parent", object.class, object, parent, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassSetRole <- function(object.class, object, role) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_set_role", object.class, object, role, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassRemovePropertyChangeHandler <- function(object.class, object, handler.id) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") handler.id <- as.numeric(handler.id) w <- .RGtkCall("S_atk_object_class_remove_property_change_handler", object.class, object, handler.id, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassInitialize <- function(object.class, object, data) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_initialize", object.class, object, data, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassChildrenChanged <- function(object.class, object, change.index, changed.child) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") change.index <- as.numeric(change.index) checkPtrType(changed.child, "AtkObject") w <- .RGtkCall("S_atk_object_class_children_changed", object.class, object, change.index, changed.child, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassFocusEvent <- function(object.class, object, focus.in) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") focus.in <- as.logical(focus.in) w <- .RGtkCall("S_atk_object_class_focus_event", object.class, object, focus.in, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassStateChange <- function(object.class, object, name, state.set) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") name <- as.character(name) state.set <- as.logical(state.set) w <- .RGtkCall("S_atk_object_class_state_change", object.class, object, name, state.set, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassVisibleDataChanged <- function(object.class, object) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") w <- .RGtkCall("S_atk_object_class_visible_data_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkObjectClassActiveDescendantChanged <- function(object.class, object, child) { checkPtrType(object.class, "AtkObjectClass") checkPtrType(object, "AtkObject") checkPtrType(child, "AtkObject") w <- .RGtkCall("S_atk_object_class_active_descendant_changed", object.class, object, child, PACKAGE = "RGtk2") return(invisible(w)) } atkSelectionIfaceAddSelection <- function(object.class, object, i) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_iface_add_selection", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceClearSelection <- function(object.class, object) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_iface_clear_selection", object.class, object, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceRefSelection <- function(object.class, object, i) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_iface_ref_selection", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceGetSelectionCount <- function(object.class, object) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_iface_get_selection_count", object.class, object, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceIsChildSelected <- function(object.class, object, i) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_iface_is_child_selected", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceRemoveSelection <- function(object.class, object, i) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") i <- as.integer(i) w <- .RGtkCall("S_atk_selection_iface_remove_selection", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceSelectAllSelection <- function(object.class, object) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_iface_select_all_selection", object.class, object, PACKAGE = "RGtk2") return(w) } atkSelectionIfaceSelectionChanged <- function(object.class, object) { checkPtrType(object.class, "AtkSelectionIface") checkPtrType(object, "AtkSelection") w <- .RGtkCall("S_atk_selection_iface_selection_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkStreamableContentIfaceGetNMimeTypes <- function(object.class, object) { checkPtrType(object.class, "AtkStreamableContentIface") checkPtrType(object, "AtkStreamableContent") w <- .RGtkCall("S_atk_streamable_content_iface_get_n_mime_types", object.class, object, PACKAGE = "RGtk2") return(w) } atkStreamableContentIfaceGetMimeType <- function(object.class, object, i) { checkPtrType(object.class, "AtkStreamableContentIface") checkPtrType(object, "AtkStreamableContent") i <- as.integer(i) w <- .RGtkCall("S_atk_streamable_content_iface_get_mime_type", object.class, object, i, PACKAGE = "RGtk2") return(w) } atkTableIfaceRefAt <- function(object.class, object, row, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_ref_at", object.class, object, row, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetIndexAt <- function(object.class, object, row, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_get_index_at", object.class, object, row, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetColumnAtIndex <- function(object.class, object, index) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") index <- as.integer(index) w <- .RGtkCall("S_atk_table_iface_get_column_at_index", object.class, object, index, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetRowAtIndex <- function(object.class, object, index) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") index <- as.integer(index) w <- .RGtkCall("S_atk_table_iface_get_row_at_index", object.class, object, index, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetNColumns <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_n_columns", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetNRows <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_n_rows", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetColumnExtentAt <- function(object.class, object, row, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_get_column_extent_at", object.class, object, row, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetRowExtentAt <- function(object.class, object, row, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_get_row_extent_at", object.class, object, row, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetCaption <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_caption", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetColumnDescription <- function(object.class, object, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_get_column_description", object.class, object, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetColumnHeader <- function(object.class, object, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_get_column_header", object.class, object, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetRowDescription <- function(object.class, object, row) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_iface_get_row_description", object.class, object, row, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetRowHeader <- function(object.class, object, row) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_iface_get_row_header", object.class, object, row, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetSummary <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_summary", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceSetCaption <- function(object.class, object, caption) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") checkPtrType(caption, "AtkObject") w <- .RGtkCall("S_atk_table_iface_set_caption", object.class, object, caption, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceSetColumnDescription <- function(object.class, object, column, description) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) description <- as.character(description) w <- .RGtkCall("S_atk_table_iface_set_column_description", object.class, object, column, description, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceSetColumnHeader <- function(object.class, object, column, header) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) checkPtrType(header, "AtkObject") w <- .RGtkCall("S_atk_table_iface_set_column_header", object.class, object, column, header, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceSetRowDescription <- function(object.class, object, row, description) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) description <- as.character(description) w <- .RGtkCall("S_atk_table_iface_set_row_description", object.class, object, row, description, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceSetRowHeader <- function(object.class, object, row, header) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) checkPtrType(header, "AtkObject") w <- .RGtkCall("S_atk_table_iface_set_row_header", object.class, object, row, header, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceSetSummary <- function(object.class, object, accessible) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") checkPtrType(accessible, "AtkObject") w <- .RGtkCall("S_atk_table_iface_set_summary", object.class, object, accessible, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceGetSelectedColumns <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_selected_columns", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceGetSelectedRows <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_get_selected_rows", object.class, object, PACKAGE = "RGtk2") return(w) } atkTableIfaceIsColumnSelected <- function(object.class, object, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_is_column_selected", object.class, object, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceIsRowSelected <- function(object.class, object, row) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_iface_is_row_selected", object.class, object, row, PACKAGE = "RGtk2") return(w) } atkTableIfaceIsSelected <- function(object.class, object, row, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_is_selected", object.class, object, row, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceAddRowSelection <- function(object.class, object, row) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_iface_add_row_selection", object.class, object, row, PACKAGE = "RGtk2") return(w) } atkTableIfaceRemoveRowSelection <- function(object.class, object, row) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) w <- .RGtkCall("S_atk_table_iface_remove_row_selection", object.class, object, row, PACKAGE = "RGtk2") return(w) } atkTableIfaceAddColumnSelection <- function(object.class, object, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_add_column_selection", object.class, object, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceRemoveColumnSelection <- function(object.class, object, column) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) w <- .RGtkCall("S_atk_table_iface_remove_column_selection", object.class, object, column, PACKAGE = "RGtk2") return(w) } atkTableIfaceRowInserted <- function(object.class, object, row, num.inserted) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) num.inserted <- as.integer(num.inserted) w <- .RGtkCall("S_atk_table_iface_row_inserted", object.class, object, row, num.inserted, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceColumnInserted <- function(object.class, object, column, num.inserted) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) num.inserted <- as.integer(num.inserted) w <- .RGtkCall("S_atk_table_iface_column_inserted", object.class, object, column, num.inserted, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceRowDeleted <- function(object.class, object, row, num.deleted) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") row <- as.integer(row) num.deleted <- as.integer(num.deleted) w <- .RGtkCall("S_atk_table_iface_row_deleted", object.class, object, row, num.deleted, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceColumnDeleted <- function(object.class, object, column, num.deleted) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") column <- as.integer(column) num.deleted <- as.integer(num.deleted) w <- .RGtkCall("S_atk_table_iface_column_deleted", object.class, object, column, num.deleted, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceRowReordered <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_row_reordered", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceColumnReordered <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_column_reordered", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkTableIfaceModelChanged <- function(object.class, object) { checkPtrType(object.class, "AtkTableIface") checkPtrType(object, "AtkTable") w <- .RGtkCall("S_atk_table_iface_model_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceGetText <- function(object.class, object, start.offset, end.offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_iface_get_text", object.class, object, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetTextAfterOffset <- function(object.class, object, offset, boundary.type) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_text_after_offset", object.class, object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetTextAtOffset <- function(object.class, object, offset, boundary.type) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_text_at_offset", object.class, object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetCharacterAtOffset <- function(object.class, object, offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_character_at_offset", object.class, object, offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetTextBeforeOffset <- function(object.class, object, offset, boundary.type) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_text_before_offset", object.class, object, offset, boundary.type, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetCaretOffset <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_get_caret_offset", object.class, object, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetRunAttributes <- function(object.class, object, offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_run_attributes", object.class, object, offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetDefaultAttributes <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_get_default_attributes", object.class, object, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetCharacterExtents <- function(object.class, object, offset, coords) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_get_character_extents", object.class, object, offset, coords, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceGetCharacterCount <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_get_character_count", object.class, object, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetOffsetAtPoint <- function(object.class, object, x, y, coords) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_atk_text_iface_get_offset_at_point", object.class, object, x, y, coords, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetNSelections <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_get_n_selections", object.class, object, PACKAGE = "RGtk2") return(w) } atkTextIfaceGetSelection <- function(object.class, object, selection.num) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) w <- .RGtkCall("S_atk_text_iface_get_selection", object.class, object, selection.num, PACKAGE = "RGtk2") return(w) } atkTextIfaceAddSelection <- function(object.class, object, start.offset, end.offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_iface_add_selection", object.class, object, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceRemoveSelection <- function(object.class, object, selection.num) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) w <- .RGtkCall("S_atk_text_iface_remove_selection", object.class, object, selection.num, PACKAGE = "RGtk2") return(w) } atkTextIfaceSetSelection <- function(object.class, object, selection.num, start.offset, end.offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") selection.num <- as.integer(selection.num) start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_iface_set_selection", object.class, object, selection.num, start.offset, end.offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceSetCaretOffset <- function(object.class, object, offset) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") offset <- as.integer(offset) w <- .RGtkCall("S_atk_text_iface_set_caret_offset", object.class, object, offset, PACKAGE = "RGtk2") return(w) } atkTextIfaceTextChanged <- function(object.class, object, position, length) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") position <- as.integer(position) length <- as.integer(length) w <- .RGtkCall("S_atk_text_iface_text_changed", object.class, object, position, length, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceTextCaretMoved <- function(object.class, object, location) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") location <- as.integer(location) w <- .RGtkCall("S_atk_text_iface_text_caret_moved", object.class, object, location, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceTextSelectionChanged <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_text_selection_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceTextAttributesChanged <- function(object.class, object) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") w <- .RGtkCall("S_atk_text_iface_text_attributes_changed", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceGetRangeExtents <- function(object.class, object, start.offset, end.offset, coord.type) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") start.offset <- as.integer(start.offset) end.offset <- as.integer(end.offset) w <- .RGtkCall("S_atk_text_iface_get_range_extents", object.class, object, start.offset, end.offset, coord.type, PACKAGE = "RGtk2") return(invisible(w)) } atkTextIfaceGetBoundedRanges <- function(object.class, object, rect, coord.type, x.clip.type, y.clip.type) { checkPtrType(object.class, "AtkTextIface") checkPtrType(object, "AtkText") rect <- as.AtkTextRectangle(rect) w <- .RGtkCall("S_atk_text_iface_get_bounded_ranges", object.class, object, rect, coord.type, x.clip.type, y.clip.type, PACKAGE = "RGtk2") return(w) } atkValueIfaceGetCurrentValue <- function(object.class, object) { checkPtrType(object.class, "AtkValueIface") checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_iface_get_current_value", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkValueIfaceGetMaximumValue <- function(object.class, object) { checkPtrType(object.class, "AtkValueIface") checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_iface_get_maximum_value", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkValueIfaceGetMinimumValue <- function(object.class, object) { checkPtrType(object.class, "AtkValueIface") checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_iface_get_minimum_value", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) } atkValueIfaceSetCurrentValue <- function(object.class, object, value) { checkPtrType(object.class, "AtkValueIface") checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_iface_set_current_value", object.class, object, value, PACKAGE = "RGtk2") return(w) } atkValueIfaceGetMinimumIncrement <- function(object.class, object) { checkPtrType(object.class, "AtkValueIface") checkPtrType(object, "AtkValue") w <- .RGtkCall("S_atk_value_iface_get_minimum_increment", object.class, object, PACKAGE = "RGtk2") return(invisible(w)) }RGtk2/R/zzz.R0000644000176000001440000000760512301414340012414 0ustar ripleyusers.gtkArgs <- function() { c("R") } .onLoad <- function(libname, pkgname) { options(depwarn = TRUE, gdkFlush = TRUE) if (.Platform$OS.type == "windows") { dllpath <- Sys.getenv("RGTK2_GTK2_PATH") if (!nzchar(dllpath)) dllpath <- file.path(.windows_gtk_path(), "bin") dll <- try(library.dynam("RGtk2", pkgname, libname, DLLpath = dllpath), silent = getOption("verbose")) } else dll <- try(library.dynam("RGtk2", pkgname, libname), silent = getOption("verbose")) if (is.character(dll)) { warning("Failed to load RGtk2 dynamic library, attempting to install it.", call. = FALSE) .install_system_dependencies() if (.Platform$OS.type == "windows") # just try to load the package again .onLoad(libname, pkgname) return() } if(is.function(.gtkArgs)) args <- .gtkArgs() else args <- as.character(.gtkArgs) if(!(gtkInit(args))) { .init_failed() } .initClasses() } .onUnload <- function(libpath) { .gtkCleanup() library.dynam.unload("RGtk2", libpath) } .windows_gtk_path <- function() file.path(system.file(package = "RGtk2"), "gtk", .Platform$r_arch) .configure_gtk_theme <- function(theme) { ## Only applies to Windows so far config_path <- file.path(system.file(package = "RGtk2"), "gtk", .Platform$r_arch, "etc", "gtk-2.0") dir.create(config_path, recursive = TRUE) writeLines(sprintf("gtk-theme-name = \"%s\"", theme), file.path(config_path, "gtkrc")) } .install_system_dependencies <- function() { windows32_config <- list( source = FALSE, gtk_url = "http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.1-20101227_win32.zip", installer = function(path) { gtk_path <- .windows_gtk_path() ## unzip does this, but we want to see any warnings dir.create(gtk_path, recursive = TRUE) unzip(path, exdir = gtk_path) .configure_gtk_theme("MS-Windows") } ) windows64_config <- windows32_config windows64_config$gtk_url <- "http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip" darwin_config <- list( source = FALSE, gtk_url = "http://r.research.att.com/libs/GTK_2.24.17-X11.pkg", installer = function(path) { system(paste("open", path)) } ) unix_config <- NULL gtk_web <- "http://www.gtk.org" install_system_dep <- function(dep_name, dep_url, dep_web, installer) { if (!interactive()) { message("Please install ", dep_name, " from ", dep_url) return() } choice <- menu(paste(c("Install", "Do not install"), dep_name), T, paste("Need", dep_name, "? (Restart R after installing)")) if (choice == 1) { path <- file.path(tempdir(), basename(sub("\\?.*", "", dep_url))) if (download.file(dep_url, path, mode="wb") > 0) stop("Failed to download ", dep_name) installer(path) } message("Learn more about ", dep_name, " at ", dep_web) } install_all <- function() { if (.Platform$OS.type == "windows") { if (.Platform$r_arch == "i386") config <- windows32_config else config <- windows64_config } else if (length(grep("darwin", R.version$platform))) config <- darwin_config else config <- unix_config if (is.null(config)) stop("This platform is not yet supported by the automatic installer. ", "Please install GTK+ manually, if necessary. See: ", gtk_web) install_system_dep("GTK+", config$gtk_url, gtk_web, config$installer) } install_all() message("If the package still does not load, please ensure that GTK+ is", " installed and that it is on your PATH environment variable") message("IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN") } .init_failed <- function() { message("R session is headless; GTK+ not initialized.") } RGtk2/R/gtkAccessors.R0000644000176000001440000007725312362217673014241 0ustar ripleyusersgtkAdjustmentGetValue <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetValue', obj, PACKAGE = "RGtk2") v } gtkAdjustmentGetLower <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetLower', obj, PACKAGE = "RGtk2") v } gtkAdjustmentGetUpper <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetUpper', obj, PACKAGE = "RGtk2") v } gtkAdjustmentGetStepIncrement <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetStepIncrement', obj, PACKAGE = "RGtk2") v } gtkAdjustmentGetPageIncrement <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetPageIncrement', obj, PACKAGE = "RGtk2") v } gtkAdjustmentGetPageSize <- function(obj) { checkPtrType(obj, 'GtkAdjustment') v <- .Call('S_GtkAdjustmentGetPageSize', obj, PACKAGE = "RGtk2") v } gtkBinGetChild <- function(obj) { checkPtrType(obj, 'GtkBin') v <- .Call('S_GtkBinGetChild', obj, PACKAGE = "RGtk2") v } gtkBoxGetSpacing <- function(obj) { checkPtrType(obj, 'GtkBox') v <- .Call('S_GtkBoxGetSpacing', obj, PACKAGE = "RGtk2") v } gtkBoxGetHomogeneous <- function(obj) { checkPtrType(obj, 'GtkBox') v <- .Call('S_GtkBoxGetHomogeneous', obj, PACKAGE = "RGtk2") v } gtkCheckMenuItemGetActive <- function(obj) { checkPtrType(obj, 'GtkCheckMenuItem') v <- .Call('S_GtkCheckMenuItemGetActive', obj, PACKAGE = "RGtk2") v } gtkColorSelectionDialogGetColorsel <- function(obj) { checkPtrType(obj, 'GtkColorSelectionDialog') v <- .Call('S_GtkColorSelectionDialogGetColorsel', obj, PACKAGE = "RGtk2") v } gtkColorSelectionDialogGetOkButton <- function(obj) { checkPtrType(obj, 'GtkColorSelectionDialog') v <- .Call('S_GtkColorSelectionDialogGetOkButton', obj, PACKAGE = "RGtk2") v } gtkColorSelectionDialogGetCancelButton <- function(obj) { checkPtrType(obj, 'GtkColorSelectionDialog') v <- .Call('S_GtkColorSelectionDialogGetCancelButton', obj, PACKAGE = "RGtk2") v } gtkColorSelectionDialogGetHelpButton <- function(obj) { checkPtrType(obj, 'GtkColorSelectionDialog') v <- .Call('S_GtkColorSelectionDialogGetHelpButton', obj, PACKAGE = "RGtk2") v } gtkComboGetEntry <- function(obj) { checkPtrType(obj, 'GtkCombo') v <- .Call('S_GtkComboGetEntry', obj, PACKAGE = "RGtk2") v } gtkComboGetList <- function(obj) { checkPtrType(obj, 'GtkCombo') v <- .Call('S_GtkComboGetList', obj, PACKAGE = "RGtk2") v } gtkContainerGetFocusChild <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetFocusChild', obj, PACKAGE = "RGtk2") v } gtkContainerGetBorderWidth <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetBorderWidth', obj, PACKAGE = "RGtk2") v } gtkContainerGetNeedResize <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetNeedResize', obj, PACKAGE = "RGtk2") v } gtkContainerGetResizeMode <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetResizeMode', obj, PACKAGE = "RGtk2") v } gtkContainerGetReallocateRedraws <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetReallocateRedraws', obj, PACKAGE = "RGtk2") v } gtkContainerGetHasFocusChain <- function(obj) { checkPtrType(obj, 'GtkContainer') v <- .Call('S_GtkContainerGetHasFocusChain', obj, PACKAGE = "RGtk2") v } gtkDialogGetVbox <- function(obj) { checkPtrType(obj, 'GtkDialog') v <- .Call('S_GtkDialogGetVbox', obj, PACKAGE = "RGtk2") v } gtkDialogGetActionArea <- function(obj) { checkPtrType(obj, 'GtkDialog') v <- .Call('S_GtkDialogGetActionArea', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetDirList <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetDirList', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileList <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileList', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetSelectionEntry <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetSelectionEntry', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetSelectionText <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetSelectionText', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetMainVbox <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetMainVbox', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetOkButton <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetOkButton', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetCancelButton <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetCancelButton', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetHelpButton <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetHelpButton', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetHistoryPulldown <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetHistoryPulldown', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetHistoryMenu <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetHistoryMenu', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopDialog <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopDialog', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopEntry <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopEntry', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopFile <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopFile', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopCDir <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopCDir', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopDelFile <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopDelFile', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetFileopRenFile <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetFileopRenFile', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetButtonArea <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetButtonArea', obj, PACKAGE = "RGtk2") v } gtkFileSelectionGetActionArea <- function(obj) { checkPtrType(obj, 'GtkFileSelection') v <- .Call('S_GtkFileSelectionGetActionArea', obj, PACKAGE = "RGtk2") v } gtkFixedGetChildren <- function(obj) { checkPtrType(obj, 'GtkFixed') v <- .Call('S_GtkFixedGetChildren', obj, PACKAGE = "RGtk2") v } gtkFontSelectionDialogGetOkButton <- function(obj) { checkPtrType(obj, 'GtkFontSelectionDialog') v <- .Call('S_GtkFontSelectionDialogGetOkButton', obj, PACKAGE = "RGtk2") v } gtkFontSelectionDialogGetApplyButton <- function(obj) { checkPtrType(obj, 'GtkFontSelectionDialog') v <- .Call('S_GtkFontSelectionDialogGetApplyButton', obj, PACKAGE = "RGtk2") v } gtkFontSelectionDialogGetCancelButton <- function(obj) { checkPtrType(obj, 'GtkFontSelectionDialog') v <- .Call('S_GtkFontSelectionDialogGetCancelButton', obj, PACKAGE = "RGtk2") v } gtkGammaCurveGetTable <- function(obj) { checkPtrType(obj, 'GtkGammaCurve') v <- .Call('S_GtkGammaCurveGetTable', obj, PACKAGE = "RGtk2") v } gtkGammaCurveGetCurve <- function(obj) { checkPtrType(obj, 'GtkGammaCurve') v <- .Call('S_GtkGammaCurveGetCurve', obj, PACKAGE = "RGtk2") v } gtkGammaCurveGetGamma <- function(obj) { checkPtrType(obj, 'GtkGammaCurve') v <- .Call('S_GtkGammaCurveGetGamma', obj, PACKAGE = "RGtk2") v } gtkGammaCurveGetGammaDialog <- function(obj) { checkPtrType(obj, 'GtkGammaCurve') v <- .Call('S_GtkGammaCurveGetGammaDialog', obj, PACKAGE = "RGtk2") v } gtkGammaCurveGetGammaText <- function(obj) { checkPtrType(obj, 'GtkGammaCurve') v <- .Call('S_GtkGammaCurveGetGammaText', obj, PACKAGE = "RGtk2") v } gtkLayoutGetBinWindow <- function(obj) { checkPtrType(obj, 'GtkLayout') v <- .Call('S_GtkLayoutGetBinWindow', obj, PACKAGE = "RGtk2") v } gtkMessageDialogGetImage <- function(obj) { checkPtrType(obj, 'GtkMessageDialog') v <- .Call('S_GtkMessageDialogGetImage', obj, PACKAGE = "RGtk2") v } gtkMessageDialogGetLabel <- function(obj) { checkPtrType(obj, 'GtkMessageDialog') v <- .Call('S_GtkMessageDialogGetLabel', obj, PACKAGE = "RGtk2") v } gtkNotebookGetTabPos <- function(obj) { checkPtrType(obj, 'GtkNotebook') v <- .Call('S_GtkNotebookGetTabPos', obj, PACKAGE = "RGtk2") v } gtkStyleGetFg <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetFg', obj, PACKAGE = "RGtk2") v } gtkStyleGetBg <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBg', obj, PACKAGE = "RGtk2") v } gtkStyleGetLight <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetLight', obj, PACKAGE = "RGtk2") v } gtkStyleGetDark <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetDark', obj, PACKAGE = "RGtk2") v } gtkStyleGetMid <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetMid', obj, PACKAGE = "RGtk2") v } gtkStyleGetText <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetText', obj, PACKAGE = "RGtk2") v } gtkStyleGetBase <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBase', obj, PACKAGE = "RGtk2") v } gtkStyleGetTextAa <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetTextAa', obj, PACKAGE = "RGtk2") v } gtkStyleGetWhite <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetWhite', obj, PACKAGE = "RGtk2") v } gtkStyleGetBlack <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBlack', obj, PACKAGE = "RGtk2") v } gtkStyleGetFontDesc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetFontDesc', obj, PACKAGE = "RGtk2") v } gtkStyleGetXthickness <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetXthickness', obj, PACKAGE = "RGtk2") v } gtkStyleGetYthickness <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetYthickness', obj, PACKAGE = "RGtk2") v } gtkStyleGetFgGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetFgGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetBgGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBgGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetLightGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetLightGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetDarkGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetDarkGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetMidGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetMidGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetTextGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetTextGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetBaseGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBaseGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetTextAaGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetTextAaGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetWhiteGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetWhiteGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetBlackGc <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBlackGc', obj, PACKAGE = "RGtk2") v } gtkStyleGetBgPixmap <- function(obj) { checkPtrType(obj, 'GtkStyle') v <- .Call('S_GtkStyleGetBgPixmap', obj, PACKAGE = "RGtk2") v } gtkTableGetChildren <- function(obj) { checkPtrType(obj, 'GtkTable') v <- .Call('S_GtkTableGetChildren', obj, PACKAGE = "RGtk2") v } gtkTableGetRows <- function(obj) { checkPtrType(obj, 'GtkTable') v <- .Call('S_GtkTableGetRows', obj, PACKAGE = "RGtk2") v } gtkTableGetCols <- function(obj) { checkPtrType(obj, 'GtkTable') v <- .Call('S_GtkTableGetCols', obj, PACKAGE = "RGtk2") v } gtkTableGetNrows <- function(obj) { checkPtrType(obj, 'GtkTable') v <- .Call('S_GtkTableGetNrows', obj, PACKAGE = "RGtk2") v } gtkTableGetNcols <- function(obj) { checkPtrType(obj, 'GtkTable') v <- .Call('S_GtkTableGetNcols', obj, PACKAGE = "RGtk2") v } gtkTextBufferGetTagTable <- function(obj) { checkPtrType(obj, 'GtkTextBuffer') v <- .Call('S_GtkTextBufferGetTagTable', obj, PACKAGE = "RGtk2") v } gtkToggleButtonGetDrawIndicator <- function(obj) { checkPtrType(obj, 'GtkToggleButton') v <- .Call('S_GtkToggleButtonGetDrawIndicator', obj, PACKAGE = "RGtk2") v } gtkWidgetGetStyle <- function(obj) { checkPtrType(obj, 'GtkWidget') v <- .Call('S_GtkWidgetGetStyle', obj, PACKAGE = "RGtk2") v } gtkWidgetGetRequisition <- function(obj) { checkPtrType(obj, 'GtkWidget') v <- .Call('S_GtkWidgetGetRequisition', obj, PACKAGE = "RGtk2") v } gtkWidgetGetAllocation <- function(obj) { checkPtrType(obj, 'GtkWidget') v <- .Call('S_GtkWidgetGetAllocation', obj, PACKAGE = "RGtk2") v } gtkWidgetGetWindow <- function(obj) { checkPtrType(obj, 'GtkWidget') v <- .Call('S_GtkWidgetGetWindow', obj, PACKAGE = "RGtk2") v } gtkWidgetGetParent <- function(obj) { checkPtrType(obj, 'GtkWidget') v <- .Call('S_GtkWidgetGetParent', obj, PACKAGE = "RGtk2") v } gtkWindowGetTitle <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetTitle', obj, PACKAGE = "RGtk2") v } gtkWindowGetWmclassName <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetWmclassName', obj, PACKAGE = "RGtk2") v } gtkWindowGetWmclassClass <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetWmclassClass', obj, PACKAGE = "RGtk2") v } gtkWindowGetWmRole <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetWmRole', obj, PACKAGE = "RGtk2") v } gtkWindowGetFocusWidget <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFocusWidget', obj, PACKAGE = "RGtk2") v } gtkWindowGetDefaultWidget <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetDefaultWidget', obj, PACKAGE = "RGtk2") v } gtkWindowGetTransientParent <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetTransientParent', obj, PACKAGE = "RGtk2") v } gtkWindowGetFrame <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFrame', obj, PACKAGE = "RGtk2") v } gtkWindowGetGroup <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetGroup', obj, PACKAGE = "RGtk2") v } gtkWindowGetConfigureRequestCount <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetConfigureRequestCount', obj, PACKAGE = "RGtk2") v } gtkWindowGetAllowShrink <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetAllowShrink', obj, PACKAGE = "RGtk2") v } gtkWindowGetAllowGrow <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetAllowGrow', obj, PACKAGE = "RGtk2") v } gtkWindowGetConfigureNotifyReceived <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetConfigureNotifyReceived', obj, PACKAGE = "RGtk2") v } gtkWindowGetNeedDefaultPosition <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetNeedDefaultPosition', obj, PACKAGE = "RGtk2") v } gtkWindowGetNeedDefaultSize <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetNeedDefaultSize', obj, PACKAGE = "RGtk2") v } gtkWindowGetPosition <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetPosition', obj, PACKAGE = "RGtk2") v } gtkWindowGetType <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetType', obj, PACKAGE = "RGtk2") v } gtkWindowGetHasUserRefCount <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetHasUserRefCount', obj, PACKAGE = "RGtk2") v } gtkWindowGetHasFocus <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetHasFocus', obj, PACKAGE = "RGtk2") v } gtkWindowGetModal <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetModal', obj, PACKAGE = "RGtk2") v } gtkWindowGetDestroyWithParent <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetDestroyWithParent', obj, PACKAGE = "RGtk2") v } gtkWindowGetHasFrame <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetHasFrame', obj, PACKAGE = "RGtk2") v } gtkWindowGetIconifyInitially <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetIconifyInitially', obj, PACKAGE = "RGtk2") v } gtkWindowGetStickInitially <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetStickInitially', obj, PACKAGE = "RGtk2") v } gtkWindowGetMaximizeInitially <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetMaximizeInitially', obj, PACKAGE = "RGtk2") v } gtkWindowGetDecorated <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetDecorated', obj, PACKAGE = "RGtk2") v } gtkWindowGetTypeHint <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetTypeHint', obj, PACKAGE = "RGtk2") v } gtkWindowGetGravity <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetGravity', obj, PACKAGE = "RGtk2") v } gtkWindowGetFrameLeft <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFrameLeft', obj, PACKAGE = "RGtk2") v } gtkWindowGetFrameTop <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFrameTop', obj, PACKAGE = "RGtk2") v } gtkWindowGetFrameRight <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFrameRight', obj, PACKAGE = "RGtk2") v } gtkWindowGetFrameBottom <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetFrameBottom', obj, PACKAGE = "RGtk2") v } gtkWindowGetKeysChangedHandler <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetKeysChangedHandler', obj, PACKAGE = "RGtk2") v } gtkWindowGetMnemonicModifier <- function(obj) { checkPtrType(obj, 'GtkWindow') v <- .Call('S_GtkWindowGetMnemonicModifier', obj, PACKAGE = "RGtk2") v } gtkRequisitionGetWidth <- function(obj) { checkPtrType(obj, 'GtkRequisition') v <- .Call('S_GtkRequisitionGetWidth', obj, PACKAGE = "RGtk2") v } gtkRequisitionGetHeight <- function(obj) { checkPtrType(obj, 'GtkRequisition') v <- .Call('S_GtkRequisitionGetHeight', obj, PACKAGE = "RGtk2") v } gtkSelectionDataGetSelection <- function(obj) { checkPtrType(obj, 'GtkSelectionData') v <- .Call('S_GtkSelectionDataGetSelection', obj, PACKAGE = "RGtk2") v } gtkSelectionDataGetTarget <- function(obj) { checkPtrType(obj, 'GtkSelectionData') v <- .Call('S_GtkSelectionDataGetTarget', obj, PACKAGE = "RGtk2") v } gtkSelectionDataGetType <- function(obj) { checkPtrType(obj, 'GtkSelectionData') v <- .Call('S_GtkSelectionDataGetType', obj, PACKAGE = "RGtk2") v } gtkSelectionDataGetFormat <- function(obj) { checkPtrType(obj, 'GtkSelectionData') v <- .Call('S_GtkSelectionDataGetFormat', obj, PACKAGE = "RGtk2") v } gtkSelectionDataGetData <- function(obj) { checkPtrType(obj, 'GtkSelectionData') v <- .Call('S_GtkSelectionDataGetData', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetAppearance <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetAppearance', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetJustification <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetJustification', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetDirection <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetDirection', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetFont <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetFont', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetFontScale <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetFontScale', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetLeftMargin <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetLeftMargin', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetIndent <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetIndent', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetRightMargin <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetRightMargin', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetPixelsAboveLines <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetPixelsAboveLines', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetPixelsBelowLines <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetPixelsBelowLines', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetPixelsInsideWrap <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetPixelsInsideWrap', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetTabs <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetTabs', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetWrapMode <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetWrapMode', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetLanguage <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetLanguage', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetInvisible <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetInvisible', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetBgFullHeight <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetBgFullHeight', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetEditable <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetEditable', obj, PACKAGE = "RGtk2") v } gtkTextAttributesGetRealized <- function(obj) { checkPtrType(obj, 'GtkTextAttributes') v <- .Call('S_GtkTextAttributesGetRealized', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetRow <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetRow', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetParent <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetParent', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetSibling <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetSibling', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetChildren <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetChildren', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetPixmapClosed <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetPixmapClosed', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetMaskClosed <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetMaskClosed', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetPixmapOpened <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetPixmapOpened', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetMaskOpened <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetMaskOpened', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetLevel <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetLevel', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetIsLeaf <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetIsLeaf', obj, PACKAGE = "RGtk2") v } gtkCTreeRowGetExpanded <- function(obj) { checkPtrType(obj, 'GtkCTreeRow') v <- .Call('S_GtkCTreeRowGetExpanded', obj, PACKAGE = "RGtk2") v } gtkCListRowGetCell <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetCell', obj, PACKAGE = "RGtk2") v } gtkCListRowGetState <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetState', obj, PACKAGE = "RGtk2") v } gtkCListRowGetForeground <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetForeground', obj, PACKAGE = "RGtk2") v } gtkCListRowGetBackground <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetBackground', obj, PACKAGE = "RGtk2") v } gtkCListRowGetStyle <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetStyle', obj, PACKAGE = "RGtk2") v } gtkCListRowGetData <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetData', obj, PACKAGE = "RGtk2") v } gtkCListRowGetDestroy <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetDestroy', obj, PACKAGE = "RGtk2") v } gtkCListRowGetFgSet <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetFgSet', obj, PACKAGE = "RGtk2") v } gtkCListRowGetBgSet <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetBgSet', obj, PACKAGE = "RGtk2") v } gtkCListRowGetSelectable <- function(obj) { checkPtrType(obj, 'GtkCListRow') v <- .Call('S_GtkCListRowGetSelectable', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetBgColor <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetBgColor', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetFgColor <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetFgColor', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetBgStipple <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetBgStipple', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetFgStipple <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetFgStipple', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetRise <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetRise', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetUnderline <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetUnderline', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetStrikethrough <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetStrikethrough', obj, PACKAGE = "RGtk2") v } gtkTextAppearanceGetDrawBg <- function(obj) { checkPtrType(obj, 'GtkTextAppearance') v <- .Call('S_GtkTextAppearanceGetDrawBg', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetWidget <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetWidget', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetPadding <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetPadding', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetExpand <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetExpand', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetFill <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetFill', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetPack <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetPack', obj, PACKAGE = "RGtk2") v } gtkBoxChildGetIsSecondary <- function(obj) { checkPtrType(obj, 'GtkBoxChild') v <- .Call('S_GtkBoxChildGetIsSecondary', obj, PACKAGE = "RGtk2") v } gtkFixedChildGetWidget <- function(obj) { checkPtrType(obj, 'GtkFixedChild') v <- .Call('S_GtkFixedChildGetWidget', obj, PACKAGE = "RGtk2") v } gtkFixedChildGetX <- function(obj) { checkPtrType(obj, 'GtkFixedChild') v <- .Call('S_GtkFixedChildGetX', obj, PACKAGE = "RGtk2") v } gtkFixedChildGetY <- function(obj) { checkPtrType(obj, 'GtkFixedChild') v <- .Call('S_GtkFixedChildGetY', obj, PACKAGE = "RGtk2") v } gtkPreviewInfoGetLookup <- function(obj) { checkPtrType(obj, 'GtkPreviewInfo') v <- .Call('S_GtkPreviewInfoGetLookup', obj, PACKAGE = "RGtk2") v } gtkPreviewInfoGetGamma <- function(obj) { checkPtrType(obj, 'GtkPreviewInfo') v <- .Call('S_GtkPreviewInfoGetGamma', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetRequisition <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetRequisition', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetAllocation <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetAllocation', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetSpacing <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetSpacing', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetNeedExpand <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetNeedExpand', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetNeedShrink <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetNeedShrink', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetExpand <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetExpand', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetShrink <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetShrink', obj, PACKAGE = "RGtk2") v } gtkTableRowColGetEmpty <- function(obj) { checkPtrType(obj, 'GtkTableRowCol') v <- .Call('S_GtkTableRowColGetEmpty', obj, PACKAGE = "RGtk2") v } gtkTableChildGetWidget <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetWidget', obj, PACKAGE = "RGtk2") v } gtkTableChildGetLeftAttach <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetLeftAttach', obj, PACKAGE = "RGtk2") v } gtkTableChildGetRightAttach <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetRightAttach', obj, PACKAGE = "RGtk2") v } gtkTableChildGetTopAttach <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetTopAttach', obj, PACKAGE = "RGtk2") v } gtkTableChildGetBottomAttach <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetBottomAttach', obj, PACKAGE = "RGtk2") v } gtkTableChildGetXpadding <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetXpadding', obj, PACKAGE = "RGtk2") v } gtkTableChildGetYpadding <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetYpadding', obj, PACKAGE = "RGtk2") v } gtkTableChildGetXexpand <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetXexpand', obj, PACKAGE = "RGtk2") v } gtkTableChildGetYexpand <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetYexpand', obj, PACKAGE = "RGtk2") v } gtkTableChildGetXshrink <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetXshrink', obj, PACKAGE = "RGtk2") v } gtkTableChildGetYshrink <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetYshrink', obj, PACKAGE = "RGtk2") v } gtkTableChildGetXfill <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetXfill', obj, PACKAGE = "RGtk2") v } gtkTableChildGetYfill <- function(obj) { checkPtrType(obj, 'GtkTableChild') v <- .Call('S_GtkTableChildGetYfill', obj, PACKAGE = "RGtk2") v } RGtk2/R/gtkzConstructors.R0000644000176000001440000002772511766145227015217 0ustar ripleyusersgtkAboutDialog <- gtkAboutDialogNew gtkAccelGroup <- gtkAccelGroupNew gtkAccelLabel <- gtkAccelLabelNew gtkAction <- gtkActionNew gtkActionGroup <- gtkActionGroupNew gtkAdjustment <- gtkAdjustmentNew gtkAlignment <- gtkAlignmentNew gtkArrow <- gtkArrowNew gtkAspectFrame <- gtkAspectFrameNew gtkButton <- function(label, stock.id, show = TRUE) { if (!missing(stock.id)) { gtkButtonNewFromStock(stock.id, show) } else { if (!missing(label)) { gtkButtonNewWithLabel(label, show) } else { gtkButtonNew(show) } } } gtkCalendar <- gtkCalendarNew gtkCellRendererCombo <- gtkCellRendererComboNew gtkCellRendererPixbuf <- gtkCellRendererPixbufNew gtkCellRendererProgress <- gtkCellRendererProgressNew gtkCellRendererText <- gtkCellRendererTextNew gtkCellRendererToggle <- gtkCellRendererToggleNew gtkCellView <- gtkCellViewNew gtkCheckButton <- function(label, show = TRUE) { if (!missing(label)) { gtkCheckButtonNewWithLabel(label, show) } else { gtkCheckButtonNew(show) } } gtkCheckMenuItem <- function(label, show = TRUE) { if (!missing(label)) { gtkCheckMenuItemNewWithLabel(label, show) } else { gtkCheckMenuItemNew(show) } } gtkClipboard <- gtkClipboardGetForDisplay gtkCList <- function(columns = 1, titles, show = TRUE) { if (!missing(titles)) { gtkCListNewWithTitles(columns, titles, show) } else { gtkCListNew(columns, show) } } gtkColorButton <- function(color, show = TRUE) { if (!missing(color)) { gtkColorButtonNewWithColor(color, show) } else { gtkColorButtonNew(show) } } gtkColorSelection <- gtkColorSelectionNew gtkColorSelectionDialog <- gtkColorSelectionDialogNew gtkCombo <- gtkComboNew gtkComboBox <- function(model, show = TRUE) { if (!missing(model)) { gtkComboBoxNewWithModel(model, show) } else { gtkComboBoxNew(show) } } gtkComboBoxEntry <- function(model, text.column, show = TRUE) { if (!missing(model)) { gtkComboBoxEntryNewWithModel(model, text.column, show) } else { gtkComboBoxEntryNew(show) } } gtkCTree <- function(columns = 1, tree.column = 0, titles, show = TRUE) { if (!missing(titles)) { gtkCTreeNewWithTitles(columns, tree.column, titles, show) } else { gtkCTreeNew(columns, tree.column, show) } } gtkCurve <- gtkCurveNew gtkDialog <- function(title = NULL, parent = NULL, flags = 0, ..., show = TRUE) { if (!missing(title)) { gtkDialogNewWithButtons(title, parent, flags, ..., show = show) } else { gtkDialogNew(show) } } gtkDrawingArea <- gtkDrawingAreaNew gtkEntry <- function(max = 0, buffer, show = TRUE) { if (!missing(max)) { gtkEntryNewWithMaxLength(max, show) } else { if (!missing(buffer)) { gtkEntryNewWithBuffer(buffer, show) } else { gtkEntryNew(show) } } } gtkEntryCompletion <- gtkEntryCompletionNew gtkEventBox <- gtkEventBoxNew gtkExpander <- gtkExpanderNew gtkFileChooserButton <- function(title, action, backend, show = TRUE) { if (!missing(backend)) { gtkFileChooserButtonNewWithBackend(title, action, backend, show) } else { gtkFileChooserButtonNew(title, action, show) } } gtkFileChooserDialog <- function(title = NULL, parent = NULL, action, ..., backend, show = TRUE) { if (!missing(backend)) { gtkFileChooserDialogNewWithBackend(title, parent, action, backend, ..., show = show) } else { gtkFileChooserDialogNew(title, parent, action, ..., show = show) } } gtkFileChooserWidget <- function(action, backend, show = TRUE) { if (!missing(backend)) { gtkFileChooserWidgetNewWithBackend(action, backend, show) } else { gtkFileChooserWidgetNew(action, show) } } gtkFileFilter <- gtkFileFilterNew gtkFileSelection <- gtkFileSelectionNew gtkFixed <- gtkFixedNew gtkFontButton <- gtkFontButtonNew gtkFontSelection <- gtkFontSelectionNew gtkFontSelectionDialog <- gtkFontSelectionDialogNew gtkFrame <- gtkFrameNew gtkGammaCurve <- gtkGammaCurveNew gtkHandleBox <- gtkHandleBoxNew gtkHBox <- gtkHBoxNew gtkHButtonBox <- gtkHButtonBoxNew gtkHPaned <- gtkHPanedNew gtkHRuler <- gtkHRulerNew gtkHScale <- function(adjustment = NULL, min, max, step, show = TRUE) { if (!missing(adjustment)) { gtkHScaleNew(adjustment, show) } else { gtkHScaleNewWithRange(min, max, step, show) } } gtkHScrollbar <- gtkHScrollbarNew gtkHSeparator <- gtkHSeparatorNew gtkIconFactory <- gtkIconFactoryNew gtkIconTheme <- gtkIconThemeNew gtkIconView <- function(model = NULL, show = TRUE) { if (!missing(model)) { gtkIconViewNewWithModel(model, show) } else { gtkIconViewNew(show) } } gtkImage <- function(size, mask = NULL, pixmap = NULL, image = NULL, filename, pixbuf = NULL, stock.id, icon.set, animation, icon, show = TRUE) { if (!missing(pixmap)) { gtkImageNewFromPixmap(pixmap, mask, show) } else { if (!missing(mask)) { gtkImageNewFromImage(image, mask, show) } else { if (!missing(filename)) { gtkImageNewFromFile(filename, show) } else { if (!missing(pixbuf)) { gtkImageNewFromPixbuf(pixbuf, show) } else { if (!missing(stock.id)) { gtkImageNewFromStock(stock.id, size, show) } else { if (!missing(size)) { if (!missing(icon.set)) { gtkImageNewFromIconSet(icon.set, size, show) } else { gtkImageNewFromGicon(icon, size, show) } } else { if (!missing(animation)) { gtkImageNewFromAnimation(animation, show) } else { gtkImageNew(show) } } } } } } } } gtkImageMenuItem <- function(label, stock.id, accel.group, show = TRUE) { if (!missing(stock.id)) { gtkImageMenuItemNewFromStock(stock.id, accel.group, show) } else { if (!missing(label)) { gtkImageMenuItemNewWithLabel(label, show) } else { gtkImageMenuItemNew(show) } } } gtkIMContextSimple <- gtkIMContextSimpleNew gtkIMMulticontext <- gtkIMMulticontextNew gtkInputDialog <- gtkInputDialogNew gtkInvisible <- function(screen, show = TRUE) { if (!missing(screen)) { gtkInvisibleNewForScreen(screen, show) } else { gtkInvisibleNew(show) } } gtkItemFactory <- gtkItemFactoryNew gtkLabel <- function(str = NULL, show = TRUE) { gtkLabelNew(str, show) } gtkLayout <- gtkLayoutNew gtkList <- gtkListNew gtkListItem <- function(label, show = TRUE) { if (!missing(label)) { gtkListItemNewWithLabel(label, show) } else { gtkListItemNew(show) } } gtkListStore <- function(..., value) { if (!missing(...)) { gtkListStoreNew(...) } else { gtkListStoreNewv(value) } } gtkMenu <- gtkMenuNew gtkMenuBar <- gtkMenuBarNew gtkMenuItem <- function(label, show = TRUE) { if (!missing(label)) { gtkMenuItemNewWithLabel(label, show) } else { gtkMenuItemNew(show) } } gtkMenuToolButton <- gtkMenuToolButtonNew gtkMessageDialog <- function(parent, flags, type, buttons, ..., show = TRUE) { gtkMessageDialogNew(parent, flags, type, buttons, ..., show = show) } gtkNotebook <- gtkNotebookNew gtkOptionMenu <- gtkOptionMenuNew gtkPixmap <- gtkPixmapNew gtkPlug <- gtkPlugNew gtkPreview <- gtkPreviewNew gtkProgressBar <- function(adjustment = NULL, show = TRUE) { if (!missing(adjustment)) { gtkProgressBarNewWithAdjustment(adjustment, show) } else { gtkProgressBarNew(show) } } gtkRadioAction <- gtkRadioActionNew gtkRadioButton <- function(group = NULL, label, show = TRUE) { if (!missing(label)) { gtkRadioButtonNewWithLabel(group, label, show) } else { gtkRadioButtonNew(group, show) } } gtkRadioMenuItem <- function(group = NULL, label, show = TRUE) { if (!missing(label)) { gtkRadioMenuItemNewWithLabel(group, label, show) } else { gtkRadioMenuItemNew(group, show) } } gtkRadioToolButton <- function(group = NULL, stock.id, show = TRUE) { if (!missing(stock.id)) { gtkRadioToolButtonNewFromStock(group, stock.id, show) } else { gtkRadioToolButtonNew(group, show) } } gtkScrolledWindow <- gtkScrolledWindowNew gtkSeparatorMenuItem <- gtkSeparatorMenuItemNew gtkSeparatorToolItem <- gtkSeparatorToolItemNew gtkSizeGroup <- gtkSizeGroupNew gtkSocket <- gtkSocketNew gtkSpinButton <- function(adjustment = NULL, climb.rate = NULL, digits = NULL, min, max, step, show = TRUE) { if (!missing(adjustment)) { gtkSpinButtonNew(adjustment, climb.rate, digits, show) } else { gtkSpinButtonNewWithRange(min, max, step, show) } } gtkStatusbar <- gtkStatusbarNew gtkStyle <- gtkStyleNew gtkTable <- gtkTableNew gtkTearoffMenuItem <- gtkTearoffMenuItemNew gtkTextBuffer <- gtkTextBufferNew gtkTextChildAnchor <- gtkTextChildAnchorNew gtkTextMark <- gtkTextMarkNew gtkTextTag <- gtkTextTagNew gtkTextTagTable <- gtkTextTagTableNew gtkTextView <- function(buffer = NULL, show = TRUE) { if (!missing(buffer)) { gtkTextViewNewWithBuffer(buffer, show) } else { gtkTextViewNew(show) } } gtkTipsQuery <- gtkTipsQueryNew gtkToggleAction <- gtkToggleActionNew gtkToggleButton <- function(label, show = TRUE) { if (!missing(label)) { gtkToggleButtonNewWithLabel(label, show) } else { gtkToggleButtonNew(show) } } gtkToggleToolButton <- gtkToggleToolButtonNew gtkToolbar <- gtkToolbarNew gtkToolButton <- function(icon.widget = NULL, label = NULL, stock.id, show = TRUE) { if (!missing(icon.widget)) { gtkToolButtonNew(icon.widget, label, show) } else { gtkToolButtonNewFromStock(stock.id, show) } } gtkToolItem <- gtkToolItemNew gtkTooltips <- gtkTooltipsNew gtkTreeModelFilter <- gtkTreeModelFilterNew gtkTreeModelSort <- gtkTreeModelSortNewWithModel gtkTreeStore <- function(..., types) { if (!missing(...)) { gtkTreeStoreNew(...) } else { gtkTreeStoreNewv(types) } } gtkTreeView <- function(model = NULL, show = TRUE) { if (!missing(model)) { gtkTreeViewNewWithModel(model, show) } else { gtkTreeViewNew(show) } } gtkTreeViewColumn <- function(title, cell, ...) { if (!missing(title)) { gtkTreeViewColumnNewWithAttributes(title, cell, ...) } else { gtkTreeViewColumnNew() } } gtkUIManager <- gtkUIManagerNew gtkVBox <- gtkVBoxNew gtkVButtonBox <- gtkVButtonBoxNew gtkViewport <- gtkViewportNew gtkVPaned <- gtkVPanedNew gtkVRuler <- gtkVRulerNew gtkVScale <- function(adjustment = NULL, min, max, step, show = TRUE) { if (!missing(adjustment)) { gtkVScaleNew(adjustment, show) } else { gtkVScaleNewWithRange(min, max, step, show) } } gtkVScrollbar <- gtkVScrollbarNew gtkVSeparator <- gtkVSeparatorNew gtkWidget <- gtkWidgetNew gtkWindow <- gtkWindowNew gtkWindowGroup <- gtkWindowGroupNew gtkCellRendererAccel <- gtkCellRendererAccelNew gtkCellRendererSpin <- gtkCellRendererSpinNew gtkPageSetup <- gtkPageSetupNew gtkPrintOperation <- gtkPrintOperationNew gtkPrintSettings <- gtkPrintSettingsNew gtkRecentFilter <- gtkRecentFilterNew gtkRecentManager <- gtkRecentManagerNew gtkStatusIcon <- function(icon) { if (!missing(icon)) { gtkStatusIconNewFromGicon(icon) } else { gtkStatusIconNew() } } gtkRecentChooserMenu <- gtkRecentChooserMenuNewForManager gtkLinkButton <- gtkLinkButtonNewWithLabel gtkRecentChooserWidget <- gtkRecentChooserWidgetNewForManager gtkRecentChooserDialog <- gtkRecentChooserDialogNew gtkAssistant <- gtkAssistantNew gtkBuilder <- gtkBuilderNew gtkRecentAction <- gtkRecentActionNew gtkScaleButton <- gtkScaleButtonNew gtkVolumeButton <- gtkVolumeButtonNew gtkMountOperation <- gtkMountOperationNew gtkEntryBuffer <- gtkEntryBufferNew gtkInfoBar <- function(first.button.text, ..., show = TRUE) { if (!missing(first.button.text)) { gtkInfoBarNewWithButtons(first.button.text, ..., show = show) } else { gtkInfoBarNew(show) } } gtkToolItemGroup <- gtkToolItemGroupNew gtkToolPalette <- gtkToolPaletteNew gtkCellRendererSpinner <- gtkCellRendererSpinnerNew gtkOffscreenWindow <- gtkOffscreenWindowNew gtkSpinner <- gtkSpinnerNew RGtk2/R/gdkFuncs.R0000644000176000001440000041043412362217673013342 0ustar ripleyusers gdkNotifyStartupComplete <- function() { w <- .RGtkCall("S_gdk_notify_startup_complete", PACKAGE = "RGtk2") return(w) } gdkGetProgramClass <- function() { w <- .RGtkCall("S_gdk_get_program_class", PACKAGE = "RGtk2") return(w) } gdkSetProgramClass <- function(program.class) { program.class <- as.character(program.class) w <- .RGtkCall("S_gdk_set_program_class", program.class, PACKAGE = "RGtk2") return(w) } gdkGetDisplay <- function() { w <- .RGtkCall("S_gdk_get_display", PACKAGE = "RGtk2") return(w) } gdkPointerGrab <- function(window, owner.events = FALSE, event.mask = 0, confine.to = NULL, cursor = NULL, time = "GDK_CURRENT_TIME") { checkPtrType(window, "GdkWindow") owner.events <- as.logical(owner.events) if (!is.null( confine.to )) checkPtrType(confine.to, "GdkWindow") if (!is.null( cursor )) checkPtrType(cursor, "GdkCursor") time <- as.numeric(time) w <- .RGtkCall("S_gdk_pointer_grab", window, owner.events, event.mask, confine.to, cursor, time, PACKAGE = "RGtk2") return(w) } gdkPointerUngrab <- function(time = "GDK_CURRENT_TIME") { time <- as.numeric(time) w <- .RGtkCall("S_gdk_pointer_ungrab", time, PACKAGE = "RGtk2") return(w) } gdkKeyboardGrab <- function(window, owner.events = FALSE, time = "GDK_CURRENT_TIME") { checkPtrType(window, "GdkWindow") owner.events <- as.logical(owner.events) time <- as.numeric(time) w <- .RGtkCall("S_gdk_keyboard_grab", window, owner.events, time, PACKAGE = "RGtk2") return(w) } gdkKeyboardUngrab <- function(time = "GDK_CURRENT_TIME") { time <- as.numeric(time) w <- .RGtkCall("S_gdk_keyboard_ungrab", time, PACKAGE = "RGtk2") return(w) } gdkPointerIsGrabbed <- function() { w <- .RGtkCall("S_gdk_pointer_is_grabbed", PACKAGE = "RGtk2") return(w) } gdkScreenWidth <- function() { w <- .RGtkCall("S_gdk_screen_width", PACKAGE = "RGtk2") return(w) } gdkScreenHeight <- function() { w <- .RGtkCall("S_gdk_screen_height", PACKAGE = "RGtk2") return(w) } gdkScreenWidthMm <- function() { w <- .RGtkCall("S_gdk_screen_width_mm", PACKAGE = "RGtk2") return(w) } gdkScreenHeightMm <- function() { w <- .RGtkCall("S_gdk_screen_height_mm", PACKAGE = "RGtk2") return(w) } gdkFlush <- function() { w <- .RGtkCall("S_gdk_flush", PACKAGE = "RGtk2") return(w) } gdkBeep <- function() { w <- .RGtkCall("S_gdk_beep", PACKAGE = "RGtk2") return(w) } gdkSetDoubleClickTime <- function(msec) { msec <- as.numeric(msec) w <- .RGtkCall("S_gdk_set_double_click_time", msec, PACKAGE = "RGtk2") return(w) } gdkCairoCreate <- function(drawable) { checkPtrType(drawable, "GdkDrawable") w <- .RGtkCall("S_gdk_cairo_create", drawable, PACKAGE = "RGtk2") return(w) } gdkCairoSetSourceColor <- function(cr, color) { checkPtrType(cr, "Cairo") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_cairo_set_source_color", cr, color, PACKAGE = "RGtk2") return(w) } gdkCairoSetSourcePixbuf <- function(cr, pixbuf, pixbuf.x, pixbuf.y) { checkPtrType(cr, "Cairo") checkPtrType(pixbuf, "GdkPixbuf") pixbuf.x <- as.numeric(pixbuf.x) pixbuf.y <- as.numeric(pixbuf.y) w <- .RGtkCall("S_gdk_cairo_set_source_pixbuf", cr, pixbuf, pixbuf.x, pixbuf.y, PACKAGE = "RGtk2") return(w) } gdkCairoRectangle <- function(cr, rectangle) { checkPtrType(cr, "Cairo") rectangle <- as.GdkRectangle(rectangle) w <- .RGtkCall("S_gdk_cairo_rectangle", cr, rectangle, PACKAGE = "RGtk2") return(w) } gdkCairoRegion <- function(cr, region) { checkPtrType(cr, "Cairo") checkPtrType(region, "GdkRegion") w <- .RGtkCall("S_gdk_cairo_region", cr, region, PACKAGE = "RGtk2") return(w) } gdkColormapGetType <- function() { w <- .RGtkCall("S_gdk_colormap_get_type", PACKAGE = "RGtk2") return(w) } gdkColormapNew <- function(visual, allocate) { checkPtrType(visual, "GdkVisual") allocate <- as.logical(allocate) w <- .RGtkCall("S_gdk_colormap_new", visual, allocate, PACKAGE = "RGtk2") return(w) } gdkColormapGetSystem <- function() { w <- .RGtkCall("S_gdk_colormap_get_system", PACKAGE = "RGtk2") return(w) } gdkColormapGetSystemSize <- function() { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") w <- .RGtkCall("S_gdk_colormap_get_system_size", PACKAGE = "RGtk2") return(w) } gdkColormapAllocColor <- function(object, color, writeable, best.match) { checkPtrType(object, "GdkColormap") color <- as.GdkColor(color) writeable <- as.logical(writeable) best.match <- as.logical(best.match) w <- .RGtkCall("S_gdk_colormap_alloc_color", object, color, writeable, best.match, PACKAGE = "RGtk2") return(w) } gdkColormapFreeColors <- function(object, colors) { checkPtrType(object, "GdkColormap") colors <- lapply(colors, function(x) { x <- as.GdkColor(x); x }) w <- .RGtkCall("S_gdk_colormap_free_colors", object, colors, PACKAGE = "RGtk2") return(w) } gdkColormapQueryColor <- function(object, pixel) { checkPtrType(object, "GdkColormap") pixel <- as.numeric(pixel) w <- .RGtkCall("S_gdk_colormap_query_color", object, pixel, PACKAGE = "RGtk2") return(w) } gdkColormapGetVisual <- function(object) { checkPtrType(object, "GdkColormap") w <- .RGtkCall("S_gdk_colormap_get_visual", object, PACKAGE = "RGtk2") return(w) } gdkColormapGetScreen <- function(object) { checkPtrType(object, "GdkColormap") w <- .RGtkCall("S_gdk_colormap_get_screen", object, PACKAGE = "RGtk2") return(w) } gdkColorParse <- function(spec) { spec <- as.character(spec) w <- .RGtkCall("S_gdk_color_parse", spec, PACKAGE = "RGtk2") return(w) } gdkColorWhite <- function(object) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GdkColormap") w <- .RGtkCall("S_gdk_color_white", object, PACKAGE = "RGtk2") return(w) } gdkColorBlack <- function(object) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GdkColormap") w <- .RGtkCall("S_gdk_color_black", object, PACKAGE = "RGtk2") return(w) } gdkColorAlloc <- function(object, color) { if(getOption("depwarn")) .Deprecated("gdkColormapAllocColor", "RGtk2") checkPtrType(object, "GdkColormap") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_color_alloc", object, color, PACKAGE = "RGtk2") return(w) } gdkColorChange <- function(object, color) { if(getOption("depwarn")) .Deprecated("nothing", "RGtk2") checkPtrType(object, "GdkColormap") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_color_change", object, color, PACKAGE = "RGtk2") return(w) } gdkCursorNew <- function(cursor.type) { w <- .RGtkCall("S_gdk_cursor_new", cursor.type, PACKAGE = "RGtk2") return(w) } gdkCursorNewFromName <- function(display, name) { checkPtrType(display, "GdkDisplay") name <- as.character(name) w <- .RGtkCall("S_gdk_cursor_new_from_name", display, name, PACKAGE = "RGtk2") return(w) } gdkCursorNewForDisplay <- function(display, cursor.type) { checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gdk_cursor_new_for_display", display, cursor.type, PACKAGE = "RGtk2") return(w) } gdkCursorNewFromPixmap <- function(source, mask, fg, bg, x, y) { checkPtrType(source, "GdkPixmap") checkPtrType(mask, "GdkPixmap") fg <- as.GdkColor(fg) bg <- as.GdkColor(bg) x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_cursor_new_from_pixmap", source, mask, fg, bg, x, y, PACKAGE = "RGtk2") return(w) } gdkCursorNewFromPixbuf <- function(display, source, x, y) { checkPtrType(display, "GdkDisplay") checkPtrType(source, "GdkPixbuf") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_cursor_new_from_pixbuf", display, source, x, y, PACKAGE = "RGtk2") return(w) } gdkCursorGetDisplay <- function(object) { checkPtrType(object, "GdkCursor") w <- .RGtkCall("S_gdk_cursor_get_display", object, PACKAGE = "RGtk2") return(w) } gdkCursorGetImage <- function(object) { checkPtrType(object, "GdkCursor") w <- .RGtkCall("S_gdk_cursor_get_image", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetType <- function() { w <- .RGtkCall("S_gdk_display_get_type", PACKAGE = "RGtk2") return(w) } gdkDisplayOpen <- function(display.name) { display.name <- as.character(display.name) w <- .RGtkCall("S_gdk_display_open", display.name, PACKAGE = "RGtk2") return(w) } gdkDisplayGetName <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_name", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetNScreens <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_n_screens", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetScreen <- function(object, screen.num) { checkPtrType(object, "GdkDisplay") screen.num <- as.integer(screen.num) w <- .RGtkCall("S_gdk_display_get_screen", object, screen.num, PACKAGE = "RGtk2") return(w) } gdkDisplayGetDefaultScreen <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_default_screen", object, PACKAGE = "RGtk2") return(w) } gdkDisplayPointerUngrab <- function(object, time. = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDisplay") time. <- as.numeric(time.) w <- .RGtkCall("S_gdk_display_pointer_ungrab", object, time., PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayKeyboardUngrab <- function(object, time. = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDisplay") time. <- as.numeric(time.) w <- .RGtkCall("S_gdk_display_keyboard_ungrab", object, time., PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayPointerIsGrabbed <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_pointer_is_grabbed", object, PACKAGE = "RGtk2") return(w) } gdkDisplayBeep <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_beep", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplaySync <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_sync", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayClose <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_close", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayListDevices <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_list_devices", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetEvent <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_event", object, PACKAGE = "RGtk2") return(w) } gdkDisplayPeekEvent <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_peek_event", object, PACKAGE = "RGtk2") return(w) } gdkDisplayPutEvent <- function(object, event) { checkPtrType(object, "GdkDisplay") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gdk_display_put_event", object, event, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayAddClientMessageFilter <- function(object, message.type, func, data) { checkPtrType(object, "GdkDisplay") message.type <- as.GdkAtom(message.type) func <- as.function(func) w <- .RGtkCall("S_gdk_display_add_client_message_filter", object, message.type, func, data, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplaySetDoubleClickTime <- function(object, msec) { checkPtrType(object, "GdkDisplay") msec <- as.numeric(msec) w <- .RGtkCall("S_gdk_display_set_double_click_time", object, msec, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayGetDefault <- function() { w <- .RGtkCall("S_gdk_display_get_default", PACKAGE = "RGtk2") return(w) } gdkDisplayGetCorePointer <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_core_pointer", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetPointer <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_pointer", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayGetWindowAtPointer <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_window_at_pointer", object, PACKAGE = "RGtk2") return(w) } gdkDisplayWarpPointer <- function(object, screen, x, y) { checkPtrType(object, "GdkDisplay") checkPtrType(screen, "GdkScreen") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_display_warp_pointer", object, screen, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayStoreClipboard <- function(object, clipboard.window, targets) { checkPtrType(object, "GdkDisplay") checkPtrType(clipboard.window, "GdkWindow") targets <- lapply(targets, function(x) { x <- as.GdkAtom(x); x }) w <- .RGtkCall("S_gdk_display_store_clipboard", object, clipboard.window, targets, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplaySupportsSelectionNotification <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_selection_notification", object, PACKAGE = "RGtk2") return(w) } gdkDisplayRequestSelectionNotification <- function(object, selection) { checkPtrType(object, "GdkDisplay") selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gdk_display_request_selection_notification", object, selection, PACKAGE = "RGtk2") return(w) } gdkDisplaySupportsClipboardPersistence <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_clipboard_persistence", object, PACKAGE = "RGtk2") return(w) } gdkDisplayManagerGetType <- function() { w <- .RGtkCall("S_gdk_display_manager_get_type", PACKAGE = "RGtk2") return(w) } gdkDisplayManagerGet <- function() { w <- .RGtkCall("S_gdk_display_manager_get", PACKAGE = "RGtk2") return(w) } gdkDisplayManagerGetDefaultDisplay <- function(object) { checkPtrType(object, "GdkDisplayManager") w <- .RGtkCall("S_gdk_display_manager_get_default_display", object, PACKAGE = "RGtk2") return(w) } gdkDisplayManagerSetDefaultDisplay <- function(object, display) { checkPtrType(object, "GdkDisplayManager") checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gdk_display_manager_set_default_display", object, display, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayManagerListDisplays <- function(object) { checkPtrType(object, "GdkDisplayManager") w <- .RGtkCall("S_gdk_display_manager_list_displays", object, PACKAGE = "RGtk2") return(w) } gdkDisplayFlush <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_flush", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplaySetDoubleClickDistance <- function(object, distance) { checkPtrType(object, "GdkDisplay") distance <- as.numeric(distance) w <- .RGtkCall("S_gdk_display_set_double_click_distance", object, distance, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplaySupportsCursorAlpha <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_cursor_alpha", object, PACKAGE = "RGtk2") return(w) } gdkDisplaySupportsCursorColor <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_cursor_color", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetDefaultCursorSize <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_default_cursor_size", object, PACKAGE = "RGtk2") return(w) } gdkDisplayGetMaximalCursorSize <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_maximal_cursor_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDisplayGetDefaultGroup <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_get_default_group", object, PACKAGE = "RGtk2") return(w) } gdkDragContextGetType <- function() { w <- .RGtkCall("S_gdk_drag_context_get_type", PACKAGE = "RGtk2") return(w) } gdkDragContextNew <- function() { w <- .RGtkCall("S_gdk_drag_context_new", PACKAGE = "RGtk2") return(w) } gdkDragStatus <- function(object, action, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDragContext") time <- as.numeric(time) w <- .RGtkCall("S_gdk_drag_status", object, action, time, PACKAGE = "RGtk2") return(invisible(w)) } gdkDropReply <- function(object, ok, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDragContext") ok <- as.logical(ok) time <- as.numeric(time) w <- .RGtkCall("S_gdk_drop_reply", object, ok, time, PACKAGE = "RGtk2") return(invisible(w)) } gdkDropFinish <- function(object, success, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDragContext") success <- as.logical(success) time <- as.numeric(time) w <- .RGtkCall("S_gdk_drop_finish", object, success, time, PACKAGE = "RGtk2") return(invisible(w)) } gdkDragGetSelection <- function(object) { checkPtrType(object, "GdkDragContext") w <- .RGtkCall("S_gdk_drag_get_selection", object, PACKAGE = "RGtk2") return(w) } gdkDragBegin <- function(object, targets) { checkPtrType(object, "GdkWindow") targets <- as.GList(targets) w <- .RGtkCall("S_gdk_drag_begin", object, targets, PACKAGE = "RGtk2") return(w) } gdkDragGetProtocol <- function(xid) { xid <- as.numeric(xid) w <- .RGtkCall("S_gdk_drag_get_protocol", xid, PACKAGE = "RGtk2") return(w) } gdkDragFindWindow <- function(object, drag.window, x.root, y.root) { checkPtrType(object, "GdkDragContext") checkPtrType(drag.window, "GdkWindow") x.root <- as.integer(x.root) y.root <- as.integer(y.root) w <- .RGtkCall("S_gdk_drag_find_window", object, drag.window, x.root, y.root, PACKAGE = "RGtk2") return(invisible(w)) } gdkDragGetProtocolForDisplay <- function(display, xid) { checkPtrType(display, "GdkDisplay") xid <- as.numeric(xid) w <- .RGtkCall("S_gdk_drag_get_protocol_for_display", display, xid, PACKAGE = "RGtk2") return(w) } gdkDragFindWindowForScreen <- function(object, drag.window, screen, x.root, y.root) { checkPtrType(object, "GdkDragContext") checkPtrType(drag.window, "GdkWindow") checkPtrType(screen, "GdkScreen") x.root <- as.integer(x.root) y.root <- as.integer(y.root) w <- .RGtkCall("S_gdk_drag_find_window_for_screen", object, drag.window, screen, x.root, y.root, PACKAGE = "RGtk2") return(invisible(w)) } gdkDragMotion <- function(object, dest.window, protocol, x.root, y.root, suggested.action, possible.actions, time) { checkPtrType(object, "GdkDragContext") checkPtrType(dest.window, "GdkWindow") x.root <- as.integer(x.root) y.root <- as.integer(y.root) time <- as.numeric(time) w <- .RGtkCall("S_gdk_drag_motion", object, dest.window, protocol, x.root, y.root, suggested.action, possible.actions, time, PACKAGE = "RGtk2") return(w) } gdkDragDrop <- function(object, time) { checkPtrType(object, "GdkDragContext") time <- as.numeric(time) w <- .RGtkCall("S_gdk_drag_drop", object, time, PACKAGE = "RGtk2") return(invisible(w)) } gdkDragAbort <- function(object, time) { checkPtrType(object, "GdkDragContext") time <- as.numeric(time) w <- .RGtkCall("S_gdk_drag_abort", object, time, PACKAGE = "RGtk2") return(invisible(w)) } gdkDragDropSucceeded <- function(object) { checkPtrType(object, "GdkDragContext") w <- .RGtkCall("S_gdk_drag_drop_succeeded", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetType <- function() { w <- .RGtkCall("S_gdk_drawable_get_type", PACKAGE = "RGtk2") return(w) } gdkDrawableSetData <- function(object, key, data) { checkPtrType(object, "GdkDrawable") key <- as.character(key) w <- .RGtkCall("S_gdk_drawable_set_data", object, key, data, PACKAGE = "RGtk2") return(w) } gdkDrawableGetData <- function(object, key) { checkPtrType(object, "GdkDrawable") key <- as.character(key) w <- .RGtkCall("S_gdk_drawable_get_data", object, key, PACKAGE = "RGtk2") return(w) } gdkDrawableGetSize <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_size", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableSetColormap <- function(object, colormap) { checkPtrType(object, "GdkDrawable") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_drawable_set_colormap", object, colormap, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableGetColormap <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_colormap", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetVisual <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_visual", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetDepth <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_depth", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetScreen <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_screen", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetDisplay <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_display", object, PACKAGE = "RGtk2") return(w) } gdkDrawPoint <- function(object, gc, x, y) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_draw_point", object, gc, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawLine <- function(object, gc, x1, y1, x2, y2) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x1 <- as.integer(x1) y1 <- as.integer(y1) x2 <- as.integer(x2) y2 <- as.integer(y2) w <- .RGtkCall("S_gdk_draw_line", object, gc, x1, y1, x2, y2, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawRectangle <- function(object, gc, filled, x, y, width, height) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_draw_rectangle", object, gc, filled, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawArc <- function(object, gc, filled, x, y, width, height, angle1, angle2) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) angle1 <- as.integer(angle1) angle2 <- as.integer(angle2) w <- .RGtkCall("S_gdk_draw_arc", object, gc, filled, x, y, width, height, angle1, angle2, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawPolygon <- function(object, gc, filled, points) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") filled <- as.logical(filled) points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_draw_polygon", object, gc, filled, points, PACKAGE = "RGtk2") return(w) } gdkDrawString <- function(object, font, gc, x, y, string) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawLayout", "RGtk2") checkPtrType(object, "GdkDrawable") checkPtrType(font, "GdkFont") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) string <- as.character(string) w <- .RGtkCall("S_gdk_draw_string", object, font, gc, x, y, string, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawText <- function(object, font, gc, x, y, text, text.length) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawLayout", "RGtk2") checkPtrType(object, "GdkDrawable") checkPtrType(font, "GdkFont") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) text <- as.character(text) text.length <- as.integer(text.length) w <- .RGtkCall("S_gdk_draw_text", object, font, gc, x, y, text, text.length, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawTextWc <- function(object, font, gc, x, text) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawLayout", "RGtk2") checkPtrType(object, "GdkDrawable") checkPtrType(font, "GdkFont") checkPtrType(gc, "GdkGC") x <- as.integer(x) text <- as.list(as.numeric(text)) w <- .RGtkCall("S_gdk_draw_text_wc", object, font, gc, x, text, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawDrawable <- function(object, gc, src, xsrc, ysrc, xdest, ydest, width, height) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(src, "GdkDrawable") xsrc <- as.integer(xsrc) ysrc <- as.integer(ysrc) xdest <- as.integer(xdest) ydest <- as.integer(ydest) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_draw_drawable", object, gc, src, xsrc, ysrc, xdest, ydest, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawImage <- function(object, gc, image, xsrc, ysrc, xdest, ydest, width, height) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(image, "GdkImage") xsrc <- as.integer(xsrc) ysrc <- as.integer(ysrc) xdest <- as.integer(xdest) ydest <- as.integer(ydest) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_draw_image", object, gc, image, xsrc, ysrc, xdest, ydest, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawPoints <- function(object, gc, points) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_draw_points", object, gc, points, PACKAGE = "RGtk2") return(w) } gdkDrawSegments <- function(object, gc, segs) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") segs <- lapply(segs, function(x) { x <- as.GdkSegment(x); x }) w <- .RGtkCall("S_gdk_draw_segments", object, gc, segs, PACKAGE = "RGtk2") return(w) } gdkDrawLines <- function(object, gc, points) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_draw_lines", object, gc, points, PACKAGE = "RGtk2") return(w) } gdkDrawPixbuf <- function(object, gc = NULL, pixbuf, src.x, src.y, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0) { checkPtrType(object, "GdkDrawable") if (!is.null( gc )) checkPtrType(gc, "GdkGC") checkPtrType(pixbuf, "GdkPixbuf") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) x.dither <- as.integer(x.dither) y.dither <- as.integer(y.dither) w <- .RGtkCall("S_gdk_draw_pixbuf", object, gc, pixbuf, src.x, src.y, dest.x, dest.y, width, height, dither, x.dither, y.dither, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawGlyphs <- function(object, gc, font, x, y, glyphs) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(font, "PangoFont") x <- as.integer(x) y <- as.integer(y) checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_gdk_draw_glyphs", object, gc, font, x, y, glyphs, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawLayoutLine <- function(object, gc, x, y, line) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) checkPtrType(line, "PangoLayoutLine") w <- .RGtkCall("S_gdk_draw_layout_line", object, gc, x, y, line, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawLayout <- function(object, gc, x, y, layout) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) checkPtrType(layout, "PangoLayout") w <- .RGtkCall("S_gdk_draw_layout", object, gc, x, y, layout, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawLayoutLineWithColors <- function(drawable, gc, x, y, line, foreground, background) { checkPtrType(drawable, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) checkPtrType(line, "PangoLayoutLine") foreground <- as.GdkColor(foreground) background <- as.GdkColor(background) w <- .RGtkCall("S_gdk_draw_layout_line_with_colors", drawable, gc, x, y, line, foreground, background, PACKAGE = "RGtk2") return(w) } gdkDrawLayoutWithColors <- function(drawable, gc, x, y, layout, foreground, background) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawLayout", "RGtk2") checkPtrType(drawable, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) checkPtrType(layout, "PangoLayout") foreground <- as.GdkColor(foreground) background <- as.GdkColor(background) w <- .RGtkCall("S_gdk_draw_layout_with_colors", drawable, gc, x, y, layout, foreground, background, PACKAGE = "RGtk2") return(w) } gdkDrawGlyphsTransformed <- function(drawable, gc, matrix, font, x, y, glyphs) { checkPtrType(drawable, "GdkDrawable") checkPtrType(gc, "GdkGC") checkPtrType(matrix, "PangoMatrix") checkPtrType(font, "PangoFont") x <- as.integer(x) y <- as.integer(y) checkPtrType(glyphs, "PangoGlyphString") w <- .RGtkCall("S_gdk_draw_glyphs_transformed", drawable, gc, matrix, font, x, y, glyphs, PACKAGE = "RGtk2") return(w) } gdkDrawTrapezoids <- function(drawable, gc, trapezoids) { checkPtrType(drawable, "GdkDrawable") checkPtrType(gc, "GdkGC") trapezoids <- lapply(trapezoids, function(x) { x <- as.GdkTrapezoid(x); x }) w <- .RGtkCall("S_gdk_draw_trapezoids", drawable, gc, trapezoids, PACKAGE = "RGtk2") return(invisible(w)) } gdkDrawableGetImage <- function(object, x, y, width, height) { checkPtrType(object, "GdkDrawable") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_get_image", object, x, y, width, height, PACKAGE = "RGtk2") return(w) } gdkDrawableCopyToImage <- function(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height) { checkPtrType(object, "GdkDrawable") if (!is.null( image )) checkPtrType(image, "GdkImage") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_drawable_copy_to_image", object, image, src.x, src.y, dest.x, dest.y, width, height, PACKAGE = "RGtk2") return(w) } gdkDrawableGetClipRegion <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_clip_region", object, PACKAGE = "RGtk2") return(w) } gdkDrawableGetVisibleRegion <- function(object) { checkPtrType(object, "GdkDrawable") w <- .RGtkCall("S_gdk_drawable_get_visible_region", object, PACKAGE = "RGtk2") return(w) } gdkEventGetType <- function() { w <- .RGtkCall("S_gdk_event_get_type", PACKAGE = "RGtk2") return(w) } gdkEventsPending <- function() { w <- .RGtkCall("S_gdk_events_pending", PACKAGE = "RGtk2") return(w) } gdkEventGet <- function() { w <- .RGtkCall("S_gdk_event_get", PACKAGE = "RGtk2") return(w) } gdkEventPeek <- function() { w <- .RGtkCall("S_gdk_event_peek", PACKAGE = "RGtk2") return(w) } gdkEventGetGraphicsExpose <- function(window) { checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_event_get_graphics_expose", window, PACKAGE = "RGtk2") return(w) } gdkEventPut <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_put", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkEventNew <- function(type) { w <- .RGtkCall("S_gdk_event_new", type, PACKAGE = "RGtk2") return(w) } gdkEventCopy <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_copy", object, PACKAGE = "RGtk2") return(w) } gdkEventGetTime <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_time", object, PACKAGE = "RGtk2") return(w) } gdkEventGetState <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_state", object, PACKAGE = "RGtk2") return(w) } gdkEventGetCoords <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_coords", object, PACKAGE = "RGtk2") return(w) } gdkEventGetRootCoords <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_root_coords", object, PACKAGE = "RGtk2") return(w) } gdkEventGetAxis <- function(object, axis.use) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_axis", object, axis.use, PACKAGE = "RGtk2") return(w) } gdkEventHandlerSet <- function(func, data) { func <- as.function(func) w <- .RGtkCall("S_gdk_event_handler_set", func, data, PACKAGE = "RGtk2") return(invisible(w)) } gdkEventSetScreen <- function(object, screen) { checkPtrType(object, "GdkEvent") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gdk_event_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gdkEventGetScreen <- function(object) { checkPtrType(object, "GdkEvent") w <- .RGtkCall("S_gdk_event_get_screen", object, PACKAGE = "RGtk2") return(w) } gdkSetShowEvents <- function(show.events) { show.events <- as.logical(show.events) w <- .RGtkCall("S_gdk_set_show_events", show.events, PACKAGE = "RGtk2") return(w) } gdkGetShowEvents <- function() { w <- .RGtkCall("S_gdk_get_show_events", PACKAGE = "RGtk2") return(w) } gdkAddClientMessageFilter <- function(message.type, func, data) { message.type <- as.GdkAtom(message.type) func <- as.function(func) w <- .RGtkCall("S_gdk_add_client_message_filter", message.type, func, data, PACKAGE = "RGtk2") return(w) } gdkSettingGet <- function(name) { name <- as.character(name) w <- .RGtkCall("S_gdk_setting_get", name, PACKAGE = "RGtk2") return(w) } gdkFontId <- function(object) { checkPtrType(object, "GdkFont") w <- .RGtkCall("S_gdk_font_id", object, PACKAGE = "RGtk2") return(w) } gdkFontLoadForDisplay <- function(display, font.name) { checkPtrType(display, "GdkDisplay") font.name <- as.character(font.name) w <- .RGtkCall("S_gdk_font_load_for_display", display, font.name, PACKAGE = "RGtk2") return(w) } gdkFontsetLoadForDisplay <- function(display, fontset.name) { checkPtrType(display, "GdkDisplay") fontset.name <- as.character(fontset.name) w <- .RGtkCall("S_gdk_fontset_load_for_display", display, fontset.name, PACKAGE = "RGtk2") return(w) } gdkFontFromDescriptionForDisplay <- function(display, font.desc) { checkPtrType(display, "GdkDisplay") checkPtrType(font.desc, "PangoFontDescription") w <- .RGtkCall("S_gdk_font_from_description_for_display", display, font.desc, PACKAGE = "RGtk2") return(w) } gdkFontLoad <- function(font.name) { font.name <- as.character(font.name) w <- .RGtkCall("S_gdk_font_load", font.name, PACKAGE = "RGtk2") return(w) } gdkFontsetLoad <- function(fontset.name) { fontset.name <- as.character(fontset.name) w <- .RGtkCall("S_gdk_fontset_load", fontset.name, PACKAGE = "RGtk2") return(w) } gdkFontFromDescription <- function(font.desc) { checkPtrType(font.desc, "PangoFontDescription") w <- .RGtkCall("S_gdk_font_from_description", font.desc, PACKAGE = "RGtk2") return(w) } gdkStringWidth <- function(object, string) { checkPtrType(object, "GdkFont") string <- as.character(string) w <- .RGtkCall("S_gdk_string_width", object, string, PACKAGE = "RGtk2") return(w) } gdkTextWidth <- function(object, text, text.length = -1) { checkPtrType(object, "GdkFont") text <- as.character(text) text.length <- as.integer(text.length) w <- .RGtkCall("S_gdk_text_width", object, text, text.length, PACKAGE = "RGtk2") return(w) } gdkTextWidthWc <- function(object, text) { checkPtrType(object, "GdkFont") text <- as.list(as.numeric(text)) w <- .RGtkCall("S_gdk_text_width_wc", object, text, PACKAGE = "RGtk2") return(w) } gdkCharWidth <- function(object, character) { checkPtrType(object, "GdkFont") character <- as.character(character) w <- .RGtkCall("S_gdk_char_width", object, character, PACKAGE = "RGtk2") return(w) } gdkCharWidthWc <- function(object, character) { checkPtrType(object, "GdkFont") character <- as.numeric(character) w <- .RGtkCall("S_gdk_char_width_wc", object, character, PACKAGE = "RGtk2") return(w) } gdkStringMeasure <- function(object, string) { checkPtrType(object, "GdkFont") string <- as.character(string) w <- .RGtkCall("S_gdk_string_measure", object, string, PACKAGE = "RGtk2") return(w) } gdkTextMeasure <- function(object, text, text.length = -1) { checkPtrType(object, "GdkFont") text <- as.character(text) text.length <- as.integer(text.length) w <- .RGtkCall("S_gdk_text_measure", object, text, text.length, PACKAGE = "RGtk2") return(w) } gdkCharMeasure <- function(object, character) { checkPtrType(object, "GdkFont") character <- as.character(character) w <- .RGtkCall("S_gdk_char_measure", object, character, PACKAGE = "RGtk2") return(w) } gdkStringHeight <- function(object, string) { checkPtrType(object, "GdkFont") string <- as.character(string) w <- .RGtkCall("S_gdk_string_height", object, string, PACKAGE = "RGtk2") return(w) } gdkTextHeight <- function(object, text, text.length = -1) { checkPtrType(object, "GdkFont") text <- as.character(text) text.length <- as.integer(text.length) w <- .RGtkCall("S_gdk_text_height", object, text, text.length, PACKAGE = "RGtk2") return(w) } gdkCharHeight <- function(object, character) { checkPtrType(object, "GdkFont") character <- as.character(character) w <- .RGtkCall("S_gdk_char_height", object, character, PACKAGE = "RGtk2") return(w) } gdkTextExtentsWc <- function(object, text) { checkPtrType(object, "GdkFont") text <- as.list(as.numeric(text)) w <- .RGtkCall("S_gdk_text_extents_wc", object, text, PACKAGE = "RGtk2") return(invisible(w)) } gdkStringExtents <- function(object, string) { checkPtrType(object, "GdkFont") string <- as.character(string) w <- .RGtkCall("S_gdk_string_extents", object, string, PACKAGE = "RGtk2") return(invisible(w)) } gdkFontGetDisplay <- function(object) { checkPtrType(object, "GdkFont") w <- .RGtkCall("S_gdk_font_get_display", object, PACKAGE = "RGtk2") return(w) } gdkGCGetType <- function() { w <- .RGtkCall("S_gdk_gc_get_type", PACKAGE = "RGtk2") return(w) } gdkGCNew <- function(drawable) { checkPtrType(drawable, "GdkDrawable") w <- .RGtkCall("S_gdk_gc_new", drawable, PACKAGE = "RGtk2") return(w) } gdkGCNewWithValues <- function(object, values) { checkPtrType(object, "GdkDrawable") values <- as.GdkGCValues(values) w <- .RGtkCall("S_gdk_gc_new_with_values", object, values, PACKAGE = "RGtk2") return(w) } gdkGCGetValues <- function(object) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_get_values", object, PACKAGE = "RGtk2") return(w) } gdkGCSetValues <- function(object, values) { checkPtrType(object, "GdkGC") values <- as.GdkGCValues(values) w <- .RGtkCall("S_gdk_gc_set_values", object, values, PACKAGE = "RGtk2") return(w) } gdkGCSetForeground <- function(object, color) { checkPtrType(object, "GdkGC") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_gc_set_foreground", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetBackground <- function(object, color) { checkPtrType(object, "GdkGC") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_gc_set_background", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetFont <- function(object, font) { checkPtrType(object, "GdkGC") checkPtrType(font, "GdkFont") w <- .RGtkCall("S_gdk_gc_set_font", object, font, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetFunction <- function(object, fun) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_set_function", object, fun, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetFill <- function(object, fill) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_set_fill", object, fill, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetTile <- function(object, tile) { checkPtrType(object, "GdkGC") checkPtrType(tile, "GdkPixmap") w <- .RGtkCall("S_gdk_gc_set_tile", object, tile, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetStipple <- function(object, stipple) { checkPtrType(object, "GdkGC") checkPtrType(stipple, "GdkPixmap") w <- .RGtkCall("S_gdk_gc_set_stipple", object, stipple, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetTsOrigin <- function(object, x, y) { checkPtrType(object, "GdkGC") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_gc_set_ts_origin", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetClipOrigin <- function(object, x, y) { checkPtrType(object, "GdkGC") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_gc_set_clip_origin", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetClipMask <- function(object, mask) { checkPtrType(object, "GdkGC") checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gdk_gc_set_clip_mask", object, mask, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetClipRectangle <- function(object, rectangle) { checkPtrType(object, "GdkGC") rectangle <- as.GdkRectangle(rectangle) w <- .RGtkCall("S_gdk_gc_set_clip_rectangle", object, rectangle, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetClipRegion <- function(object, region) { checkPtrType(object, "GdkGC") checkPtrType(region, "GdkRegion") w <- .RGtkCall("S_gdk_gc_set_clip_region", object, region, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetSubwindow <- function(object, mode) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_set_subwindow", object, mode, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetExposures <- function(object, exposures) { checkPtrType(object, "GdkGC") exposures <- as.logical(exposures) w <- .RGtkCall("S_gdk_gc_set_exposures", object, exposures, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetLineAttributes <- function(object, line.width, line.style, cap.style, join.style) { checkPtrType(object, "GdkGC") line.width <- as.integer(line.width) w <- .RGtkCall("S_gdk_gc_set_line_attributes", object, line.width, line.style, cap.style, join.style, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetDashes <- function(object, dash.list) { checkPtrType(object, "GdkGC") dash.list <- as.list(as.raw(dash.list)) w <- .RGtkCall("S_gdk_gc_set_dashes", object, dash.list, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCOffset <- function(object, x.offset, y.offset) { checkPtrType(object, "GdkGC") x.offset <- as.integer(x.offset) y.offset <- as.integer(y.offset) w <- .RGtkCall("S_gdk_gc_offset", object, x.offset, y.offset, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCCopy <- function(object, src.gc) { checkPtrType(object, "GdkGC") checkPtrType(src.gc, "GdkGC") w <- .RGtkCall("S_gdk_gc_copy", object, src.gc, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetColormap <- function(object, colormap) { checkPtrType(object, "GdkGC") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_gc_set_colormap", object, colormap, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCGetColormap <- function(object) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_get_colormap", object, PACKAGE = "RGtk2") return(w) } gdkGCSetRgbFgColor <- function(object, color) { checkPtrType(object, "GdkGC") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_gc_set_rgb_fg_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCSetRgbBgColor <- function(object, color) { checkPtrType(object, "GdkGC") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_gc_set_rgb_bg_color", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkGCGetScreen <- function(object) { checkPtrType(object, "GdkGC") w <- .RGtkCall("S_gdk_gc_get_screen", object, PACKAGE = "RGtk2") return(w) } gdkImageGetType <- function() { w <- .RGtkCall("S_gdk_image_get_type", PACKAGE = "RGtk2") return(w) } gdkImageNew <- function(type, visual, width, height) { checkPtrType(visual, "GdkVisual") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_image_new", type, visual, width, height, PACKAGE = "RGtk2") return(w) } gdkImageGet <- function(object, x, y, width, height) { if(getOption("depwarn")) .Deprecated("gdkDrawableGetImage", "RGtk2") checkPtrType(object, "GdkDrawable") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_image_get", object, x, y, width, height, PACKAGE = "RGtk2") return(w) } gdkImagePutPixel <- function(object, x, y, pixel) { checkPtrType(object, "GdkImage") x <- as.integer(x) y <- as.integer(y) pixel <- as.numeric(pixel) w <- .RGtkCall("S_gdk_image_put_pixel", object, x, y, pixel, PACKAGE = "RGtk2") return(invisible(w)) } gdkImageGetPixel <- function(object, x, y) { checkPtrType(object, "GdkImage") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_image_get_pixel", object, x, y, PACKAGE = "RGtk2") return(w) } gdkImageSetColormap <- function(object, colormap) { checkPtrType(object, "GdkImage") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_image_set_colormap", object, colormap, PACKAGE = "RGtk2") return(invisible(w)) } gdkImageGetColormap <- function(object) { checkPtrType(object, "GdkImage") w <- .RGtkCall("S_gdk_image_get_colormap", object, PACKAGE = "RGtk2") return(w) } gdkDeviceGetType <- function() { w <- .RGtkCall("S_gdk_device_get_type", PACKAGE = "RGtk2") return(w) } gdkDevicesList <- function() { w <- .RGtkCall("S_gdk_devices_list", PACKAGE = "RGtk2") return(w) } gdkDeviceSetSource <- function(object, source) { checkPtrType(object, "GdkDevice") w <- .RGtkCall("S_gdk_device_set_source", object, source, PACKAGE = "RGtk2") return(invisible(w)) } gdkDeviceSetMode <- function(object, mode) { checkPtrType(object, "GdkDevice") w <- .RGtkCall("S_gdk_device_set_mode", object, mode, PACKAGE = "RGtk2") return(w) } gdkDeviceSetKey <- function(object, index, keyval, modifiers) { checkPtrType(object, "GdkDevice") index <- as.numeric(index) keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_device_set_key", object, index, keyval, modifiers, PACKAGE = "RGtk2") return(invisible(w)) } gdkDeviceSetAxisUse <- function(object, index, use) { checkPtrType(object, "GdkDevice") index <- as.numeric(index) w <- .RGtkCall("S_gdk_device_set_axis_use", object, index, use, PACKAGE = "RGtk2") return(invisible(w)) } gdkDeviceGetState <- function(object, window) { checkPtrType(object, "GdkDevice") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_device_get_state", object, window, PACKAGE = "RGtk2") return(invisible(w)) } gdkDeviceGetHistory <- function(object, window, start, stop) { checkPtrType(object, "GdkDevice") checkPtrType(window, "GdkWindow") start <- as.numeric(start) stop <- as.numeric(stop) w <- .RGtkCall("S_gdk_device_get_history", object, window, start, stop, PACKAGE = "RGtk2") return(w) } gdkDeviceGetAxis <- function(object, axes, use) { checkPtrType(object, "GdkDevice") axes <- as.list(as.numeric(axes)) w <- .RGtkCall("S_gdk_device_get_axis", object, axes, use, PACKAGE = "RGtk2") return(w) } gdkInputSetExtensionEvents <- function(object, mask, mode) { checkPtrType(object, "GdkWindow") mask <- as.integer(mask) w <- .RGtkCall("S_gdk_input_set_extension_events", object, mask, mode, PACKAGE = "RGtk2") return(invisible(w)) } gdkDeviceGetCorePointer <- function() { w <- .RGtkCall("S_gdk_device_get_core_pointer", PACKAGE = "RGtk2") return(w) } gdkKeymapGetType <- function() { w <- .RGtkCall("S_gdk_keymap_get_type", PACKAGE = "RGtk2") return(w) } gdkKeymapGetDefault <- function() { w <- .RGtkCall("S_gdk_keymap_get_default", PACKAGE = "RGtk2") return(w) } gdkKeymapGetForDisplay <- function(display) { checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gdk_keymap_get_for_display", display, PACKAGE = "RGtk2") return(w) } gdkKeymapLookupKey <- function(object, key) { checkPtrType(object, "GdkKeymap") key <- as.GdkKeymapKey(key) w <- .RGtkCall("S_gdk_keymap_lookup_key", object, key, PACKAGE = "RGtk2") return(w) } gdkKeymapTranslateKeyboardState <- function(object, hardware.keycode, state, group) { checkPtrType(object, "GdkKeymap") hardware.keycode <- as.numeric(hardware.keycode) group <- as.integer(group) w <- .RGtkCall("S_gdk_keymap_translate_keyboard_state", object, hardware.keycode, state, group, PACKAGE = "RGtk2") return(w) } gdkKeymapGetEntriesForKeyval <- function(object, keyval) { checkPtrType(object, "GdkKeymap") keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keymap_get_entries_for_keyval", object, keyval, PACKAGE = "RGtk2") return(w) } gdkKeymapGetEntriesForKeycode <- function(object, hardware.keycode) { checkPtrType(object, "GdkKeymap") hardware.keycode <- as.numeric(hardware.keycode) w <- .RGtkCall("S_gdk_keymap_get_entries_for_keycode", object, hardware.keycode, PACKAGE = "RGtk2") return(w) } gdkKeymapGetDirection <- function(object) { checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_get_direction", object, PACKAGE = "RGtk2") return(w) } gdkKeyvalName <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_name", keyval, PACKAGE = "RGtk2") return(w) } gdkKeyvalFromName <- function(keyval.name) { keyval.name <- as.character(keyval.name) w <- .RGtkCall("S_gdk_keyval_from_name", keyval.name, PACKAGE = "RGtk2") return(w) } gdkKeyvalConvertCase <- function(symbol) { symbol <- as.numeric(symbol) w <- .RGtkCall("S_gdk_keyval_convert_case", symbol, PACKAGE = "RGtk2") return(invisible(w)) } gdkKeyvalToUpper <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_to_upper", keyval, PACKAGE = "RGtk2") return(w) } gdkKeyvalToLower <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_to_lower", keyval, PACKAGE = "RGtk2") return(w) } gdkKeyvalIsUpper <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_is_upper", keyval, PACKAGE = "RGtk2") return(w) } gdkKeyvalIsLower <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_is_lower", keyval, PACKAGE = "RGtk2") return(w) } gdkKeyvalToUnicode <- function(keyval) { keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_keyval_to_unicode", keyval, PACKAGE = "RGtk2") return(w) } gdkUnicodeToKeyval <- function(wc) { wc <- as.numeric(wc) w <- .RGtkCall("S_gdk_unicode_to_keyval", wc, PACKAGE = "RGtk2") return(w) } gdkPangoRendererGetType <- function() { w <- .RGtkCall("S_gdk_pango_renderer_get_type", PACKAGE = "RGtk2") return(w) } gdkPangoRendererNew <- function(screen) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gdk_pango_renderer_new", screen, PACKAGE = "RGtk2") return(w) } gdkPangoRendererGetDefault <- function(screen) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gdk_pango_renderer_get_default", screen, PACKAGE = "RGtk2") return(w) } gdkPangoRendererSetDrawable <- function(object, drawable = NULL) { checkPtrType(object, "GdkPangoRenderer") if (!is.null( drawable )) checkPtrType(drawable, "GdkDrawable") w <- .RGtkCall("S_gdk_pango_renderer_set_drawable", object, drawable, PACKAGE = "RGtk2") return(invisible(w)) } gdkPangoRendererSetGc <- function(object, gc = NULL) { checkPtrType(object, "GdkPangoRenderer") if (!is.null( gc )) checkPtrType(gc, "GdkGC") w <- .RGtkCall("S_gdk_pango_renderer_set_gc", object, gc, PACKAGE = "RGtk2") return(invisible(w)) } gdkPangoRendererSetStipple <- function(object, part, stipple) { checkPtrType(object, "GdkPangoRenderer") checkPtrType(stipple, "GdkBitmap") w <- .RGtkCall("S_gdk_pango_renderer_set_stipple", object, part, stipple, PACKAGE = "RGtk2") return(invisible(w)) } gdkPangoRendererSetOverrideColor <- function(object, part, color = NULL) { checkPtrType(object, "GdkPangoRenderer") if (!is.null( color )) color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_pango_renderer_set_override_color", object, part, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkPangoContextGetForScreen <- function(screen) { checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gdk_pango_context_get_for_screen", screen, PACKAGE = "RGtk2") return(w) } gdkPangoContextGet <- function() { w <- .RGtkCall("S_gdk_pango_context_get", PACKAGE = "RGtk2") return(w) } gdkPangoContextSetColormap <- function(context, colormap) { checkPtrType(context, "PangoContext") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_pango_context_set_colormap", context, colormap, PACKAGE = "RGtk2") return(w) } gdkPangoLayoutLineGetClipRegion <- function(line, x.origin, index.ranges) { checkPtrType(line, "PangoLayoutLine") x.origin <- as.integer(x.origin) index.ranges <- as.list(as.integer(index.ranges)) w <- .RGtkCall("S_gdk_pango_layout_line_get_clip_region", line, x.origin, index.ranges, PACKAGE = "RGtk2") return(w) } gdkPangoLayoutGetClipRegion <- function(layout, x.origin, index.ranges) { checkPtrType(layout, "PangoLayout") x.origin <- as.integer(x.origin) index.ranges <- as.list(as.integer(index.ranges)) w <- .RGtkCall("S_gdk_pango_layout_get_clip_region", layout, x.origin, index.ranges, PACKAGE = "RGtk2") return(w) } gdkPangoAttrStippleNew <- function(stipple) { checkPtrType(stipple, "GdkBitmap") w <- .RGtkCall("S_gdk_pango_attr_stipple_new", stipple, PACKAGE = "RGtk2") return(w) } gdkPangoAttrEmbossedNew <- function(embossed) { embossed <- as.logical(embossed) w <- .RGtkCall("S_gdk_pango_attr_embossed_new", embossed, PACKAGE = "RGtk2") return(w) } gdkPixbufRenderThresholdAlpha <- function(object, bitmap, src.x, src.y, dest.x, dest.y, width = -1, height = -1, alpha.threshold) { checkPtrType(object, "GdkPixbuf") checkPtrType(bitmap, "GdkBitmap") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) alpha.threshold <- as.integer(alpha.threshold) w <- .RGtkCall("S_gdk_pixbuf_render_threshold_alpha", object, bitmap, src.x, src.y, dest.x, dest.y, width, height, alpha.threshold, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufRenderToDrawable <- function(object, drawable, gc, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawPixbuf", "RGtk2") checkPtrType(object, "GdkPixbuf") checkPtrType(drawable, "GdkDrawable") checkPtrType(gc, "GdkGC") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) x.dither <- as.integer(x.dither) y.dither <- as.integer(y.dither) w <- .RGtkCall("S_gdk_pixbuf_render_to_drawable", object, drawable, gc, src.x, src.y, dest.x, dest.y, width, height, dither, x.dither, y.dither, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufRenderToDrawableAlpha <- function(object, drawable, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, alpha.mode = NULL, alpha.threshold = NULL, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0) { if(getOption("depwarn")) .Deprecated("gdkDrawableDrawPixbuf", "RGtk2") checkPtrType(object, "GdkPixbuf") checkPtrType(drawable, "GdkDrawable") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) alpha.threshold <- as.integer(alpha.threshold) x.dither <- as.integer(x.dither) y.dither <- as.integer(y.dither) w <- .RGtkCall("S_gdk_pixbuf_render_to_drawable_alpha", object, drawable, src.x, src.y, dest.x, dest.y, width, height, alpha.mode, alpha.threshold, dither, x.dither, y.dither, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufRenderPixmapAndMask <- function(object, alpha.threshold = 127) { checkPtrType(object, "GdkPixbuf") alpha.threshold <- as.integer(alpha.threshold) w <- .RGtkCall("S_gdk_pixbuf_render_pixmap_and_mask", object, alpha.threshold, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufRenderPixmapAndMaskForColormap <- function(object, colormap, alpha.threshold = 127) { checkPtrType(object, "GdkPixbuf") checkPtrType(colormap, "GdkColormap") alpha.threshold <- as.integer(alpha.threshold) w <- .RGtkCall("S_gdk_pixbuf_render_pixmap_and_mask_for_colormap", object, colormap, alpha.threshold, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufGetFromDrawable <- function(dest = NULL, src, cmap = NULL, src.x, src.y, dest.x, dest.y, width, height) { if (!is.null( dest )) checkPtrType(dest, "GdkPixbuf") checkPtrType(src, "GdkDrawable") if (!is.null( cmap )) checkPtrType(cmap, "GdkColormap") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_get_from_drawable", dest, src, cmap, src.x, src.y, dest.x, dest.y, width, height, PACKAGE = "RGtk2") return(w) } gdkPixbufGetFromImage <- function(src, cmap, src.x, src.y, dest.x, dest.y, width, height) { checkPtrType(src, "GdkImage") checkPtrType(cmap, "GdkColormap") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_get_from_image", src, cmap, src.x, src.y, dest.x, dest.y, width, height, PACKAGE = "RGtk2") return(w) } gdkPixmapGetType <- function() { w <- .RGtkCall("S_gdk_pixmap_get_type", PACKAGE = "RGtk2") return(w) } gdkPixmapNew <- function(drawable = NULL, width, height, depth = -1) { if (!is.null( drawable )) checkPtrType(drawable, "GdkDrawable") width <- as.integer(width) height <- as.integer(height) depth <- as.integer(depth) w <- .RGtkCall("S_gdk_pixmap_new", drawable, width, height, depth, PACKAGE = "RGtk2") return(w) } gdkPixmapCreateFromData <- function(drawable = NULL, data, height, depth, fg, bg) { if (!is.null( drawable )) checkPtrType(drawable, "GdkDrawable") data <- as.list(as.raw(data)) height <- as.integer(height) depth <- as.integer(depth) fg <- as.GdkColor(fg) bg <- as.GdkColor(bg) w <- .RGtkCall("S_gdk_pixmap_create_from_data", drawable, data, height, depth, fg, bg, PACKAGE = "RGtk2") return(w) } gdkPixmapCreateFromXpm <- function(drawable, transparent.color, filename) { checkPtrType(drawable, "GdkDrawable") transparent.color <- as.GdkColor(transparent.color) filename <- as.character(filename) w <- .RGtkCall("S_gdk_pixmap_create_from_xpm", drawable, transparent.color, filename, PACKAGE = "RGtk2") return(w) } gdkPixmapColormapCreateFromXpm <- function(drawable, colormap, transparent.color, filename) { checkPtrType(drawable, "GdkDrawable") checkPtrType(colormap, "GdkColormap") transparent.color <- as.GdkColor(transparent.color) filename <- as.character(filename) w <- .RGtkCall("S_gdk_pixmap_colormap_create_from_xpm", drawable, colormap, transparent.color, filename, PACKAGE = "RGtk2") return(w) } gdkPixmapCreateFromXpmD <- function(drawable, transparent.color, data) { checkPtrType(drawable, "GdkDrawable") transparent.color <- as.GdkColor(transparent.color) data <- as.list(as.character(data)) w <- .RGtkCall("S_gdk_pixmap_create_from_xpm_d", drawable, transparent.color, data, PACKAGE = "RGtk2") return(w) } gdkPixmapColormapCreateFromXpmD <- function(drawable, colormap, transparent.color, data) { checkPtrType(drawable, "GdkDrawable") checkPtrType(colormap, "GdkColormap") transparent.color <- as.GdkColor(transparent.color) data <- as.list(as.character(data)) w <- .RGtkCall("S_gdk_pixmap_colormap_create_from_xpm_d", drawable, colormap, transparent.color, data, PACKAGE = "RGtk2") return(w) } gdkAtomName <- function(atom) { atom <- as.GdkAtom(atom) w <- .RGtkCall("S_gdk_atom_name", atom, PACKAGE = "RGtk2") return(w) } gdkAtomIntern <- function(atom.name, only.if.exists = FALSE) { atom.name <- as.character(atom.name) only.if.exists <- as.logical(only.if.exists) w <- .RGtkCall("S_gdk_atom_intern", atom.name, only.if.exists, PACKAGE = "RGtk2") return(w) } gdkPropertyGet <- function(object, property, type, offset, length, pdelete) { checkPtrType(object, "GdkWindow") property <- as.GdkAtom(property) type <- as.GdkAtom(type) offset <- as.numeric(offset) length <- as.numeric(length) pdelete <- as.integer(pdelete) w <- .RGtkCall("S_gdk_property_get", object, property, type, offset, length, pdelete, PACKAGE = "RGtk2") return(w) } gdkPropertyChange <- function(object, property, type, format, mode, data) { checkPtrType(object, "GdkWindow") property <- as.GdkAtom(property) type <- as.GdkAtom(type) format <- as.integer(format) data <- as.list(as.raw(data)) w <- .RGtkCall("S_gdk_property_change", object, property, type, format, mode, data, PACKAGE = "RGtk2") return(w) } gdkPropertyDelete <- function(object, property) { checkPtrType(object, "GdkWindow") property <- as.GdkAtom(property) w <- .RGtkCall("S_gdk_property_delete", object, property, PACKAGE = "RGtk2") return(invisible(w)) } gdkRgbXpixelFromRgb <- function(rgb) { rgb <- as.numeric(rgb) w <- .RGtkCall("S_gdk_rgb_xpixel_from_rgb", rgb, PACKAGE = "RGtk2") return(w) } gdkRgbGcSetForeground <- function(gc, rgb) { checkPtrType(gc, "GdkGC") rgb <- as.numeric(rgb) w <- .RGtkCall("S_gdk_rgb_gc_set_foreground", gc, rgb, PACKAGE = "RGtk2") return(w) } gdkRgbGcSetBackground <- function(gc, rgb) { checkPtrType(gc, "GdkGC") rgb <- as.numeric(rgb) w <- .RGtkCall("S_gdk_rgb_gc_set_background", gc, rgb, PACKAGE = "RGtk2") return(w) } gdkDrawRgbImageDithalign <- function(object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) rgb.buf <- as.list(as.raw(rgb.buf)) xdith <- as.integer(xdith) ydith <- as.integer(ydith) w <- .RGtkCall("S_gdk_draw_rgb_image_dithalign", object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith, PACKAGE = "RGtk2") return(w) } gdkDrawRgb32Image <- function(object, gc, x, y, width, height, dith, buf) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) buf <- as.list(as.raw(buf)) w <- .RGtkCall("S_gdk_draw_rgb_32_image", object, gc, x, y, width, height, dith, buf, PACKAGE = "RGtk2") return(w) } gdkDrawRgb32ImageDithalign <- function(object, gc, x, y, width, height, dith, buf, xdith, ydith) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) buf <- as.list(as.raw(buf)) xdith <- as.integer(xdith) ydith <- as.integer(ydith) w <- .RGtkCall("S_gdk_draw_rgb_32_image_dithalign", object, gc, x, y, width, height, dith, buf, xdith, ydith, PACKAGE = "RGtk2") return(w) } gdkRgbFindColor <- function(colormap, color) { checkPtrType(colormap, "GdkColormap") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_rgb_find_color", colormap, color, PACKAGE = "RGtk2") return(w) } gdkRgbColormapDitherable <- function(colormap) { checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_rgb_colormap_ditherable", colormap, PACKAGE = "RGtk2") return(w) } gdkDrawGrayImage <- function(object, gc, x, y, width, height, dith, buf) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) buf <- as.list(as.raw(buf)) w <- .RGtkCall("S_gdk_draw_gray_image", object, gc, x, y, width, height, dith, buf, PACKAGE = "RGtk2") return(w) } gdkRgbCmapNew <- function(colors) { colors <- as.list(as.numeric(colors)) w <- .RGtkCall("S_gdk_rgb_cmap_new", colors, PACKAGE = "RGtk2") return(w) } gdkDrawIndexedImage <- function(object, gc, x, y, width, height, dith, buf, cmap) { checkPtrType(object, "GdkDrawable") checkPtrType(gc, "GdkGC") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) buf <- as.list(as.raw(buf)) cmap <- as.GdkRgbCmap(cmap) w <- .RGtkCall("S_gdk_draw_indexed_image", object, gc, x, y, width, height, dith, buf, cmap, PACKAGE = "RGtk2") return(w) } gdkRgbDitherable <- function() { w <- .RGtkCall("S_gdk_rgb_ditherable", PACKAGE = "RGtk2") return(w) } gdkRgbSetVerbose <- function(verbose) { verbose <- as.logical(verbose) w <- .RGtkCall("S_gdk_rgb_set_verbose", verbose, PACKAGE = "RGtk2") return(w) } gdkRgbSetInstall <- function(install) { install <- as.logical(install) w <- .RGtkCall("S_gdk_rgb_set_install", install, PACKAGE = "RGtk2") return(w) } gdkRgbSetMinColors <- function(min.colors) { min.colors <- as.integer(min.colors) w <- .RGtkCall("S_gdk_rgb_set_min_colors", min.colors, PACKAGE = "RGtk2") return(w) } gdkRgbGetColormap <- function() { w <- .RGtkCall("S_gdk_rgb_get_colormap", PACKAGE = "RGtk2") return(w) } gdkRgbGetCmap <- function() { if(getOption("depwarn")) .Deprecated("gdkRgbGetColormap", "RGtk2") w <- .RGtkCall("S_gdk_rgb_get_cmap", PACKAGE = "RGtk2") return(w) } gdkRgbGetVisual <- function() { w <- .RGtkCall("S_gdk_rgb_get_visual", PACKAGE = "RGtk2") return(w) } gdkScreenGetType <- function() { w <- .RGtkCall("S_gdk_screen_get_type", PACKAGE = "RGtk2") return(w) } gdkScreenGetDefaultColormap <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_default_colormap", object, PACKAGE = "RGtk2") return(w) } gdkScreenSetDefaultColormap <- function(object, colormap) { checkPtrType(object, "GdkScreen") checkPtrType(colormap, "GdkColormap") w <- .RGtkCall("S_gdk_screen_set_default_colormap", object, colormap, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenGetSystemColormap <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_system_colormap", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetSystemVisual <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_system_visual", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetRgbColormap <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_rgb_colormap", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetRgbaColormap <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_rgba_colormap", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetRgbVisual <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_rgb_visual", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetRgbaVisual <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_rgba_visual", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetRootWindow <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_root_window", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetDisplay <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_display", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetNumber <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_number", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetWidth <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_width", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetHeight <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_height", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetWidthMm <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_width_mm", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetHeightMm <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_height_mm", object, PACKAGE = "RGtk2") return(w) } gdkScreenListVisuals <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_list_visuals", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetToplevelWindows <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_toplevel_windows", object, PACKAGE = "RGtk2") return(w) } gdkScreenMakeDisplayName <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_make_display_name", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetNMonitors <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_n_monitors", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetMonitorGeometry <- function(object, monitor.num) { checkPtrType(object, "GdkScreen") monitor.num <- as.integer(monitor.num) w <- .RGtkCall("S_gdk_screen_get_monitor_geometry", object, monitor.num, PACKAGE = "RGtk2") return(w) } gdkScreenGetMonitorAtPoint <- function(object, x, y) { checkPtrType(object, "GdkScreen") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_screen_get_monitor_at_point", object, x, y, PACKAGE = "RGtk2") return(w) } gdkScreenGetMonitorAtWindow <- function(object, window) { checkPtrType(object, "GdkScreen") checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_screen_get_monitor_at_window", object, window, PACKAGE = "RGtk2") return(w) } gdkScreenBroadcastClientMessage <- function(object, event) { checkPtrType(object, "GdkScreen") checkPtrType(event, "GdkEvent") w <- .RGtkCall("S_gdk_screen_broadcast_client_message", object, event, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenGetDefault <- function() { w <- .RGtkCall("S_gdk_screen_get_default", PACKAGE = "RGtk2") return(w) } gdkScreenGetSetting <- function(object, name) { checkPtrType(object, "GdkScreen") name <- as.character(name) w <- .RGtkCall("S_gdk_screen_get_setting", object, name, PACKAGE = "RGtk2") return(w) } gdkSpawnCommandLineOnScreen <- function(screen, command.line, .errwarn = TRUE) { checkPtrType(screen, "GdkScreen") command.line <- as.character(command.line) w <- .RGtkCall("S_gdk_spawn_command_line_on_screen", screen, command.line, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gtkAlternativeDialogButtonOrder <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gtk_alternative_dialog_button_order", object, PACKAGE = "RGtk2") return(w) } gdkSelectionOwnerGet <- function(selection) { selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gdk_selection_owner_get", selection, PACKAGE = "RGtk2") return(w) } gdkSelectionOwnerGetForDisplay <- function(display, selection) { checkPtrType(display, "GdkDisplay") selection <- as.GdkAtom(selection) w <- .RGtkCall("S_gdk_selection_owner_get_for_display", display, selection, PACKAGE = "RGtk2") return(w) } gdkSelectionPropertyGet <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_selection_property_get", object, PACKAGE = "RGtk2") return(w) } gdkVisualGetBestDepth <- function() { w <- .RGtkCall("S_gdk_visual_get_best_depth", PACKAGE = "RGtk2") return(w) } gdkVisualGetBestType <- function() { w <- .RGtkCall("S_gdk_visual_get_best_type", PACKAGE = "RGtk2") return(w) } gdkVisualGetSystem <- function() { w <- .RGtkCall("S_gdk_visual_get_system", PACKAGE = "RGtk2") return(w) } gdkVisualGetBest <- function() { w <- .RGtkCall("S_gdk_visual_get_best", PACKAGE = "RGtk2") return(w) } gdkVisualGetBestWithDepth <- function(depth) { depth <- as.integer(depth) w <- .RGtkCall("S_gdk_visual_get_best_with_depth", depth, PACKAGE = "RGtk2") return(w) } gdkVisualGetBestWithType <- function(visual.type) { w <- .RGtkCall("S_gdk_visual_get_best_with_type", visual.type, PACKAGE = "RGtk2") return(w) } gdkVisualGetBestWithBoth <- function(depth, visual.type) { depth <- as.integer(depth) w <- .RGtkCall("S_gdk_visual_get_best_with_both", depth, visual.type, PACKAGE = "RGtk2") return(w) } gdkQueryDepths <- function() { w <- .RGtkCall("S_gdk_query_depths", PACKAGE = "RGtk2") return(invisible(w)) } gdkQueryVisualTypes <- function() { w <- .RGtkCall("S_gdk_query_visual_types", PACKAGE = "RGtk2") return(invisible(w)) } gdkListVisuals <- function() { w <- .RGtkCall("S_gdk_list_visuals", PACKAGE = "RGtk2") return(w) } gdkVisualGetScreen <- function(object) { checkPtrType(object, "GdkVisual") w <- .RGtkCall("S_gdk_visual_get_screen", object, PACKAGE = "RGtk2") return(w) } gdkWindowObjectGetType <- function() { w <- .RGtkCall("S_gdk_window_object_get_type", PACKAGE = "RGtk2") return(w) } gdkWindowSetKeepAbove <- function(object, setting) { checkPtrType(object, "GdkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gdk_window_set_keep_above", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetKeepBelow <- function(object, setting) { checkPtrType(object, "GdkWindow") setting <- as.logical(setting) w <- .RGtkCall("S_gdk_window_set_keep_below", object, setting, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowDestroy <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_destroy", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetWindowType <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_window_type", object, PACKAGE = "RGtk2") return(w) } gdkWindowAtPointer <- function() { w <- .RGtkCall("S_gdk_window_at_pointer", PACKAGE = "RGtk2") return(w) } gdkWindowShow <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_show", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowShowUnraised <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_show_unraised", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowHide <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_hide", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowWithdraw <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_withdraw", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMove <- function(object, x, y) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_window_move", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowResize <- function(object, width, height) { checkPtrType(object, "GdkWindow") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_resize", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMoveResize <- function(object, x, y, width, height) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_move_resize", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMoveRegion <- function(object, region, x, y) { checkPtrType(object, "GdkWindow") checkPtrType(region, "GdkRegion") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_window_move_region", object, region, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowReparent <- function(object, new.parent, x, y) { checkPtrType(object, "GdkWindow") checkPtrType(new.parent, "GdkWindow") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_window_reparent", object, new.parent, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowClear <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_clear", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowClearArea <- function(object, x, y, width, height) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_clear_area", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowClearAreaE <- function(object, x, y, width, height) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_clear_area_e", object, x, y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowRaise <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_raise", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowLower <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_lower", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowFocus <- function(object, timestamp = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkWindow") timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gdk_window_focus", object, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetUserData <- function(object, user.data = NULL) { checkPtrType(object, "GdkWindow") if (!is.null( user.data )) checkPtrType(user.data, "GtkWidget") w <- .RGtkCall("S_gdk_window_set_user_data", object, user.data, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetUserData <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_user_data", object, PACKAGE = "RGtk2") return(w) } gdkWindowSetOverrideRedirect <- function(object, override.redirect) { checkPtrType(object, "GdkWindow") override.redirect <- as.logical(override.redirect) w <- .RGtkCall("S_gdk_window_set_override_redirect", object, override.redirect, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowAddFilter <- function(object, fun, data) { checkPtrType(object, "GdkWindow") fun <- as.function(fun) w <- .RGtkCall("S_gdk_window_add_filter", object, fun, data, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowRemoveFilter <- function(object, fun, data) { checkPtrType(object, "GdkWindow") fun <- as.function(fun) w <- .RGtkCall("S_gdk_window_remove_filter", object, fun, data, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowScroll <- function(object, dx, dy) { checkPtrType(object, "GdkWindow") dx <- as.integer(dx) dy <- as.integer(dy) w <- .RGtkCall("S_gdk_window_scroll", object, dx, dy, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowShapeCombineMask <- function(object, shape.mask = NULL, offset.x, offset.y) { checkPtrType(object, "GdkWindow") if (!is.null( shape.mask )) checkPtrType(shape.mask, "GdkBitmap") offset.x <- as.integer(offset.x) offset.y <- as.integer(offset.y) w <- .RGtkCall("S_gdk_window_shape_combine_mask", object, shape.mask, offset.x, offset.y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowShapeCombineRegion <- function(object, shape.region = NULL, offset.x, offset.y) { checkPtrType(object, "GdkWindow") if (!is.null( shape.region )) checkPtrType(shape.region, "GdkRegion") offset.x <- as.integer(offset.x) offset.y <- as.integer(offset.y) w <- .RGtkCall("S_gdk_window_shape_combine_region", object, shape.region, offset.x, offset.y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetChildShapes <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_child_shapes", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMergeChildShapes <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_merge_child_shapes", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowIsVisible <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_is_visible", object, PACKAGE = "RGtk2") return(w) } gdkWindowIsViewable <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_is_viewable", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetState <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_state", object, PACKAGE = "RGtk2") return(w) } gdkWindowSetStaticGravities <- function(object, use.static) { checkPtrType(object, "GdkWindow") use.static <- as.logical(use.static) w <- .RGtkCall("S_gdk_window_set_static_gravities", object, use.static, PACKAGE = "RGtk2") return(w) } gdkWindowSetHints <- function(object, x, y, min.width, min.height, max.width, max.height, flags) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) min.width <- as.integer(min.width) min.height <- as.integer(min.height) max.width <- as.integer(max.width) max.height <- as.integer(max.height) flags <- as.integer(flags) w <- .RGtkCall("S_gdk_window_set_hints", object, x, y, min.width, min.height, max.width, max.height, flags, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetTypeHint <- function(object, hint) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_type_hint", object, hint, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetModalHint <- function(object, modal) { checkPtrType(object, "GdkWindow") modal <- as.logical(modal) w <- .RGtkCall("S_gdk_window_set_modal_hint", object, modal, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetSkipTaskbarHint <- function(object, modal) { checkPtrType(object, "GdkWindow") modal <- as.logical(modal) w <- .RGtkCall("S_gdk_window_set_skip_taskbar_hint", object, modal, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetSkipPagerHint <- function(object, modal) { checkPtrType(object, "GdkWindow") modal <- as.logical(modal) w <- .RGtkCall("S_gdk_window_set_skip_pager_hint", object, modal, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetUrgencyHint <- function(object, urgent) { checkPtrType(object, "GdkWindow") urgent <- as.logical(urgent) w <- .RGtkCall("S_gdk_window_set_urgency_hint", object, urgent, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetGeometryHints <- function(object, geometry) { checkPtrType(object, "GdkWindow") geometry <- as.GdkGeometry(geometry) w <- .RGtkCall("S_gdk_window_set_geometry_hints", object, geometry, PACKAGE = "RGtk2") return(w) } gdkWindowBeginPaintRect <- function(object, rectangle) { checkPtrType(object, "GdkWindow") rectangle <- as.GdkRectangle(rectangle) w <- .RGtkCall("S_gdk_window_begin_paint_rect", object, rectangle, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowBeginPaintRegion <- function(object, region) { checkPtrType(object, "GdkWindow") checkPtrType(region, "GdkRegion") w <- .RGtkCall("S_gdk_window_begin_paint_region", object, region, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowEndPaint <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_end_paint", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetTitle <- function(object, title) { checkPtrType(object, "GdkWindow") title <- as.character(title) w <- .RGtkCall("S_gdk_window_set_title", object, title, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetRole <- function(object, role) { checkPtrType(object, "GdkWindow") role <- as.character(role) w <- .RGtkCall("S_gdk_window_set_role", object, role, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetTransientFor <- function(object, leader) { checkPtrType(object, "GdkWindow") checkPtrType(leader, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_transient_for", object, leader, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetBackground <- function(object, color) { checkPtrType(object, "GdkWindow") color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_window_set_background", object, color, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetBackPixmap <- function(object, pixmap = NULL, parent.relative) { checkPtrType(object, "GdkWindow") if (!is.null( pixmap )) checkPtrType(pixmap, "GdkPixmap") parent.relative <- as.logical(parent.relative) w <- .RGtkCall("S_gdk_window_set_back_pixmap", object, pixmap, parent.relative, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetCursor <- function(object, cursor = NULL) { checkPtrType(object, "GdkWindow") if (!is.null( cursor )) checkPtrType(cursor, "GdkCursor") w <- .RGtkCall("S_gdk_window_set_cursor", object, cursor, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetGeometry <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_geometry", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetPosition <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_position", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetOrigin <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_origin", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetDeskrelativeOrigin <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_deskrelative_origin", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetRootOrigin <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_root_origin", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetFrameExtents <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_frame_extents", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetPointer <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_pointer", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetParent <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_parent", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetToplevel <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_toplevel", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetChildren <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_children", object, PACKAGE = "RGtk2") return(w) } gdkWindowPeekChildren <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_peek_children", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetEvents <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_events", object, PACKAGE = "RGtk2") return(w) } gdkWindowSetEvents <- function(object, event.mask) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_events", object, event.mask, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetIconList <- function(object, pixbufs) { checkPtrType(object, "GdkWindow") pixbufs <- lapply(pixbufs, function(x) { x <- as.GList(x); x }) w <- .RGtkCall("S_gdk_window_set_icon_list", object, pixbufs, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetIcon <- function(object, icon.window, pixmap, mask) { checkPtrType(object, "GdkWindow") checkPtrType(icon.window, "GdkWindow") checkPtrType(pixmap, "GdkPixmap") checkPtrType(mask, "GdkBitmap") w <- .RGtkCall("S_gdk_window_set_icon", object, icon.window, pixmap, mask, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetIconName <- function(object, name) { checkPtrType(object, "GdkWindow") name <- as.character(name) w <- .RGtkCall("S_gdk_window_set_icon_name", object, name, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetGroup <- function(object, leader) { checkPtrType(object, "GdkWindow") checkPtrType(leader, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_group", object, leader, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetGroup <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_group", object, PACKAGE = "RGtk2") return(w) } gdkWindowSetDecorations <- function(object, decorations) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_decorations", object, decorations, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetDecorations <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_decorations", object, PACKAGE = "RGtk2") return(w) } gdkWindowSetFunctions <- function(object, functions) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_functions", object, functions, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetToplevels <- function() { w <- .RGtkCall("S_gdk_window_get_toplevels", PACKAGE = "RGtk2") return(w) } gdkWindowIconify <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_iconify", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowDeiconify <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_deiconify", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowStick <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_stick", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowUnstick <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_unstick", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMaximize <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_maximize", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowUnmaximize <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_unmaximize", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowFullscreen <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_fullscreen", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowUnfullscreen <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_unfullscreen", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowRegisterDnd <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_register_dnd", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowBeginResizeDrag <- function(object, edge, button, root.x, root.y, timestamp) { checkPtrType(object, "GdkWindow") button <- as.integer(button) root.x <- as.integer(root.x) root.y <- as.integer(root.y) timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gdk_window_begin_resize_drag", object, edge, button, root.x, root.y, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowBeginMoveDrag <- function(object, button, root.x, root.y, timestamp) { checkPtrType(object, "GdkWindow") button <- as.integer(button) root.x <- as.integer(root.x) root.y <- as.integer(root.y) timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gdk_window_begin_move_drag", object, button, root.x, root.y, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowInvalidateRect <- function(object, rect = NULL, invalidate.children) { checkPtrType(object, "GdkWindow") if (!is.null( rect )) rect <- as.GdkRectangle(rect) invalidate.children <- as.logical(invalidate.children) w <- .RGtkCall("S_gdk_window_invalidate_rect", object, rect, invalidate.children, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowInvalidateRegion <- function(object, region, invalidate.children) { checkPtrType(object, "GdkWindow") checkPtrType(region, "GdkRegion") invalidate.children <- as.logical(invalidate.children) w <- .RGtkCall("S_gdk_window_invalidate_region", object, region, invalidate.children, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetUpdateArea <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_update_area", object, PACKAGE = "RGtk2") return(w) } gdkWindowFreezeUpdates <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_freeze_updates", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowThawUpdates <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_thaw_updates", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowProcessAllUpdates <- function() { w <- .RGtkCall("S_gdk_window_process_all_updates", PACKAGE = "RGtk2") return(w) } gdkWindowProcessUpdates <- function(object, update.children) { checkPtrType(object, "GdkWindow") update.children <- as.logical(update.children) w <- .RGtkCall("S_gdk_window_process_updates", object, update.children, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetDebugUpdates <- function(setting) { setting <- as.logical(setting) w <- .RGtkCall("S_gdk_window_set_debug_updates", setting, PACKAGE = "RGtk2") return(w) } gdkWindowGetInternalPaintInfo <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_internal_paint_info", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkGetDefaultRootWindow <- function() { w <- .RGtkCall("S_gdk_get_default_root_window", PACKAGE = "RGtk2") return(w) } gdkWindowSetAcceptFocus <- function(object, accept.focus) { checkPtrType(object, "GdkWindow") accept.focus <- as.logical(accept.focus) w <- .RGtkCall("S_gdk_window_set_accept_focus", object, accept.focus, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetFocusOnMap <- function(object, focus.on.map) { checkPtrType(object, "GdkWindow") focus.on.map <- as.logical(focus.on.map) w <- .RGtkCall("S_gdk_window_set_focus_on_map", object, focus.on.map, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowEnableSynchronizedConfigure <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_enable_synchronized_configure", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowConfigureFinished <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_configure_finished", object, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragFinish <- function(object, success, del, time = "GDK_CURRENT_TIME") { checkPtrType(object, "GdkDragContext") success <- as.logical(success) del <- as.logical(del) time <- as.numeric(time) w <- .RGtkCall("S_gtk_drag_finish", object, success, del, time, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconName <- function(object, icon.name, hot.x, hot.y) { checkPtrType(object, "GdkDragContext") icon.name <- as.character(icon.name) hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_icon_name", object, icon.name, hot.x, hot.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconWidget <- function(object, widget, hot.x, hot.y) { checkPtrType(object, "GdkDragContext") checkPtrType(widget, "GtkWidget") hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_icon_widget", object, widget, hot.x, hot.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconPixmap <- function(object, colormap, pixmap, mask, hot.x, hot.y) { checkPtrType(object, "GdkDragContext") checkPtrType(colormap, "GdkColormap") checkPtrType(pixmap, "GdkPixmap") checkPtrType(mask, "GdkBitmap") hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_icon_pixmap", object, colormap, pixmap, mask, hot.x, hot.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconPixbuf <- function(object, pixbuf, hot.x, hot.y) { checkPtrType(object, "GdkDragContext") checkPtrType(pixbuf, "GdkPixbuf") hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_icon_pixbuf", object, pixbuf, hot.x, hot.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconStock <- function(object, stock.id, hot.x, hot.y) { checkPtrType(object, "GdkDragContext") stock.id <- as.character(stock.id) hot.x <- as.integer(hot.x) hot.y <- as.integer(hot.y) w <- .RGtkCall("S_gtk_drag_set_icon_stock", object, stock.id, hot.x, hot.y, PACKAGE = "RGtk2") return(invisible(w)) } gtkDragSetIconDefault <- function(object) { checkPtrType(object, "GdkDragContext") w <- .RGtkCall("S_gtk_drag_set_icon_default", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufGetColorspace <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_colorspace", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetNChannels <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_n_channels", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetHasAlpha <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_has_alpha", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetBitsPerSample <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_bits_per_sample", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetPixels <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_pixels", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetWidth <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_width", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetHeight <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_height", object, PACKAGE = "RGtk2") return(w) } gdkPixbufGetRowstride <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_get_rowstride", object, PACKAGE = "RGtk2") return(w) } gdkPixbufNew <- function(colorspace, has.alpha, bits.per.sample, width, height) { has.alpha <- as.logical(has.alpha) bits.per.sample <- as.integer(bits.per.sample) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_new", colorspace, has.alpha, bits.per.sample, width, height, PACKAGE = "RGtk2") return(w) } gdkPixbufCopy <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_copy", object, PACKAGE = "RGtk2") return(w) } gdkPixbufNewFromFile <- function(filename, .errwarn = TRUE) { filename <- as.character(filename) w <- .RGtkCall("S_gdk_pixbuf_new_from_file", filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufNewFromFileAtSize <- function(filename, width, height, .errwarn = TRUE) { filename <- as.character(filename) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_new_from_file_at_size", filename, width, height, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufNewFromFileAtScale <- function(filename, width, height, preserve.aspect.ratio, .errwarn = TRUE) { filename <- as.character(filename) width <- as.integer(width) height <- as.integer(height) preserve.aspect.ratio <- as.logical(preserve.aspect.ratio) w <- .RGtkCall("S_gdk_pixbuf_new_from_file_at_scale", filename, width, height, preserve.aspect.ratio, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufNewFromXpmData <- function(data) { data <- as.list(as.character(data)) w <- .RGtkCall("S_gdk_pixbuf_new_from_xpm_data", data, PACKAGE = "RGtk2") return(w) } gdkPixbufNewSubpixbuf <- function(object, src.x, src.y, width, height) { checkPtrType(object, "GdkPixbuf") src.x <- as.integer(src.x) src.y <- as.integer(src.y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_new_subpixbuf", object, src.x, src.y, width, height, PACKAGE = "RGtk2") return(w) } gdkPixbufFill <- function(object, pixel) { checkPtrType(object, "GdkPixbuf") pixel <- as.numeric(pixel) w <- .RGtkCall("S_gdk_pixbuf_fill", object, pixel, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufSavev <- function(object, filename, type, option.keys, option.values, .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") filename <- as.character(filename) type <- as.character(type) option.keys <- as.list(as.character(option.keys)) option.values <- as.list(as.character(option.values)) w <- .RGtkCall("S_gdk_pixbuf_savev", object, filename, type, option.keys, option.values, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufSaveToCallbackv <- function(object, save.func, user.data, type, option.keys, option.values, .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") save.func <- as.function(save.func) type <- as.character(type) option.keys <- as.list(as.character(option.keys)) option.values <- as.list(as.character(option.values)) w <- .RGtkCall("S_gdk_pixbuf_save_to_callbackv", object, save.func, user.data, type, option.keys, option.values, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufSaveToBufferv <- function(object, type, option.keys, option.values, .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") type <- as.character(type) option.keys <- as.list(as.character(option.keys)) option.values <- as.list(as.character(option.values)) w <- .RGtkCall("S_gdk_pixbuf_save_to_bufferv", object, type, option.keys, option.values, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(invisible(w)) } gdkPixbufAddAlpha <- function(object, substitute.color, r, g, b) { checkPtrType(object, "GdkPixbuf") substitute.color <- as.logical(substitute.color) r <- as.raw(r) g <- as.raw(g) b <- as.raw(b) w <- .RGtkCall("S_gdk_pixbuf_add_alpha", object, substitute.color, r, g, b, PACKAGE = "RGtk2") return(w) } gdkPixbufCopyArea <- function(object, src.x, src.y, width, height, dest.pixbuf, dest.x, dest.y) { checkPtrType(object, "GdkPixbuf") src.x <- as.integer(src.x) src.y <- as.integer(src.y) width <- as.integer(width) height <- as.integer(height) checkPtrType(dest.pixbuf, "GdkPixbuf") dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) w <- .RGtkCall("S_gdk_pixbuf_copy_area", object, src.x, src.y, width, height, dest.pixbuf, dest.x, dest.y, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufSaturateAndPixelate <- function(object, dest, saturation, pixelate) { checkPtrType(object, "GdkPixbuf") checkPtrType(dest, "GdkPixbuf") saturation <- as.numeric(saturation) pixelate <- as.logical(pixelate) w <- .RGtkCall("S_gdk_pixbuf_saturate_and_pixelate", object, dest, saturation, pixelate, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufScale <- function(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type) { checkPtrType(object, "GdkPixbuf") checkPtrType(dest, "GdkPixbuf") dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) dest.width <- as.integer(dest.width) dest.height <- as.integer(dest.height) offset.x <- as.numeric(offset.x) offset.y <- as.numeric(offset.y) scale.x <- as.numeric(scale.x) scale.y <- as.numeric(scale.y) w <- .RGtkCall("S_gdk_pixbuf_scale", object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufComposite <- function(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha) { checkPtrType(object, "GdkPixbuf") checkPtrType(dest, "GdkPixbuf") dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) dest.width <- as.integer(dest.width) dest.height <- as.integer(dest.height) offset.x <- as.numeric(offset.x) offset.y <- as.numeric(offset.y) scale.x <- as.numeric(scale.x) scale.y <- as.numeric(scale.y) overall.alpha <- as.integer(overall.alpha) w <- .RGtkCall("S_gdk_pixbuf_composite", object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufCompositeColor <- function(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha, check.x, check.y, check.size, color1, color2) { checkPtrType(object, "GdkPixbuf") checkPtrType(dest, "GdkPixbuf") dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) dest.width <- as.integer(dest.width) dest.height <- as.integer(dest.height) offset.x <- as.numeric(offset.x) offset.y <- as.numeric(offset.y) scale.x <- as.numeric(scale.x) scale.y <- as.numeric(scale.y) overall.alpha <- as.integer(overall.alpha) check.x <- as.integer(check.x) check.y <- as.integer(check.y) check.size <- as.integer(check.size) color1 <- as.numeric(color1) color2 <- as.numeric(color2) w <- .RGtkCall("S_gdk_pixbuf_composite_color", object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha, check.x, check.y, check.size, color1, color2, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufRotateSimple <- function(object, angle) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_rotate_simple", object, angle, PACKAGE = "RGtk2") return(w) } gdkPixbufFlip <- function(object, horizontal) { checkPtrType(object, "GdkPixbuf") horizontal <- as.logical(horizontal) w <- .RGtkCall("S_gdk_pixbuf_flip", object, horizontal, PACKAGE = "RGtk2") return(w) } gdkPixbufScaleSimple <- function(object, dest.width, dest.height, interp.type) { checkPtrType(object, "GdkPixbuf") dest.width <- as.integer(dest.width) dest.height <- as.integer(dest.height) w <- .RGtkCall("S_gdk_pixbuf_scale_simple", object, dest.width, dest.height, interp.type, PACKAGE = "RGtk2") return(w) } gdkPixbufCompositeColorSimple <- function(object, dest.width, dest.height, interp.type, overall.alpha, check.size, color1, color2) { checkPtrType(object, "GdkPixbuf") dest.width <- as.integer(dest.width) dest.height <- as.integer(dest.height) overall.alpha <- as.integer(overall.alpha) check.size <- as.integer(check.size) color1 <- as.numeric(color1) color2 <- as.numeric(color2) w <- .RGtkCall("S_gdk_pixbuf_composite_color_simple", object, dest.width, dest.height, interp.type, overall.alpha, check.size, color1, color2, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationGetType <- function() { w <- .RGtkCall("S_gdk_pixbuf_animation_get_type", PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationNewFromFile <- function(filename, .errwarn = TRUE) { filename <- as.character(filename) w <- .RGtkCall("S_gdk_pixbuf_animation_new_from_file", filename, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufAnimationGetWidth <- function(object) { checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_get_width", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationGetHeight <- function(object) { checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_get_height", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIsStaticImage <- function(object) { checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_is_static_image", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationGetStaticImage <- function(object) { checkPtrType(object, "GdkPixbufAnimation") w <- .RGtkCall("S_gdk_pixbuf_animation_get_static_image", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationGetIter <- function(object, start.time) { checkPtrType(object, "GdkPixbufAnimation") start.time <- as.GTimeVal(start.time) w <- .RGtkCall("S_gdk_pixbuf_animation_get_iter", object, start.time, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterGetType <- function() { w <- .RGtkCall("S_gdk_pixbuf_animation_iter_get_type", PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterGetDelayTime <- function(object) { checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_get_delay_time", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterGetPixbuf <- function(object) { checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterOnCurrentlyLoadingFrame <- function(object) { checkPtrType(object, "GdkPixbufAnimationIter") w <- .RGtkCall("S_gdk_pixbuf_animation_iter_on_currently_loading_frame", object, PACKAGE = "RGtk2") return(w) } gdkPixbufAnimationIterAdvance <- function(object, current.time) { checkPtrType(object, "GdkPixbufAnimationIter") current.time <- as.GTimeVal(current.time) w <- .RGtkCall("S_gdk_pixbuf_animation_iter_advance", object, current.time, PACKAGE = "RGtk2") return(w) } gdkPixbufSimpleAnimNew <- function(width, height, rate) { width <- as.integer(width) height <- as.integer(height) rate <- as.numeric(rate) w <- .RGtkCall("S_gdk_pixbuf_simple_anim_new", width, height, rate, PACKAGE = "RGtk2") return(w) } gdkPixbufSimpleAnimAddFrame <- function(object, pixbuf) { checkPtrType(object, "GdkPixbufSimpleAnim") checkPtrType(pixbuf, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_simple_anim_add_frame", object, pixbuf, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufGetOption <- function(object, key) { checkPtrType(object, "GdkPixbuf") key <- as.character(key) w <- .RGtkCall("S_gdk_pixbuf_get_option", object, key, PACKAGE = "RGtk2") return(w) } gdkPixbufSetOption <- function(object, key, value) { checkPtrType(object, "GdkPixbuf") key <- as.character(key) value <- as.character(value) w <- .RGtkCall("S_gdk_pixbuf_set_option", object, key, value, PACKAGE = "RGtk2") return(w) } gdkPixbufGetFormats <- function() { w <- .RGtkCall("S_gdk_pixbuf_get_formats", PACKAGE = "RGtk2") return(w) } gdkPixbufGetFileInfo <- function(filename) { filename <- as.character(filename) w <- .RGtkCall("S_gdk_pixbuf_get_file_info", filename, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatGetName <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_get_name", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatIsScalable <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_is_scalable", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatIsDisabled <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_is_disabled", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatSetDisabled <- function(object, disabled) { checkPtrType(object, "GdkPixbufFormat") disabled <- as.logical(disabled) w <- .RGtkCall("S_gdk_pixbuf_format_set_disabled", object, disabled, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufFormatGetLicense <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_get_license", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatGetDescription <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_get_description", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatGetMimeTypes <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_get_mime_types", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatGetExtensions <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_get_extensions", object, PACKAGE = "RGtk2") return(w) } gdkPixbufFormatIsWritable <- function(object) { checkPtrType(object, "GdkPixbufFormat") w <- .RGtkCall("S_gdk_pixbuf_format_is_writable", object, PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderGetType <- function() { w <- .RGtkCall("S_gdk_pixbuf_loader_get_type", PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderNew <- function() { w <- .RGtkCall("S_gdk_pixbuf_loader_new", PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderNewWithType <- function(image.type, .errwarn = TRUE) { image.type <- as.character(image.type) w <- .RGtkCall("S_gdk_pixbuf_loader_new_with_type", image.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufLoaderNewWithMimeType <- function(mime.type, .errwarn = TRUE) { mime.type <- as.character(mime.type) w <- .RGtkCall("S_gdk_pixbuf_loader_new_with_mime_type", mime.type, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufLoaderWrite <- function(object, buf, .errwarn = TRUE) { checkPtrType(object, "GdkPixbufLoader") buf <- as.list(as.raw(buf)) w <- .RGtkCall("S_gdk_pixbuf_loader_write", object, buf, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufLoaderGetPixbuf <- function(object) { checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_get_pixbuf", object, PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderGetAnimation <- function(object) { checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_get_animation", object, PACKAGE = "RGtk2") return(w) } gdkPixbufLoaderClose <- function(object, .errwarn = TRUE) { checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_close", object, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufLoaderSetSize <- function(object, width, height) { checkPtrType(object, "GdkPixbufLoader") width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_pixbuf_loader_set_size", object, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufLoaderGetFormat <- function(object) { checkPtrType(object, "GdkPixbufLoader") w <- .RGtkCall("S_gdk_pixbuf_loader_get_format", object, PACKAGE = "RGtk2") return(w) } gdkRectangleIntersect <- function(src1, src2) { src1 <- as.GdkRectangle(src1) src2 <- as.GdkRectangle(src2) w <- .RGtkCall("S_gdk_rectangle_intersect", src1, src2, PACKAGE = "RGtk2") return(w) } gdkRectangleUnion <- function(src1, src2) { src1 <- as.GdkRectangle(src1) src2 <- as.GdkRectangle(src2) w <- .RGtkCall("S_gdk_rectangle_union", src1, src2, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionNew <- function() { w <- .RGtkCall("S_gdk_region_new", PACKAGE = "RGtk2") return(w) } gdkRegionPolygon <- function(points, fill.rule) { points <- lapply(points, function(x) { x <- as.GdkPoint(x); x }) w <- .RGtkCall("S_gdk_region_polygon", points, fill.rule, PACKAGE = "RGtk2") return(w) } gdkRegionCopy <- function(object) { checkPtrType(object, "GdkRegion") w <- .RGtkCall("S_gdk_region_copy", object, PACKAGE = "RGtk2") return(w) } gdkRegionRectangle <- function(rectangle) { rectangle <- as.GdkRectangle(rectangle) w <- .RGtkCall("S_gdk_region_rectangle", rectangle, PACKAGE = "RGtk2") return(w) } gdkRegionGetClipbox <- function(object) { checkPtrType(object, "GdkRegion") w <- .RGtkCall("S_gdk_region_get_clipbox", object, PACKAGE = "RGtk2") return(w) } gdkRegionGetRectangles <- function(object) { checkPtrType(object, "GdkRegion") w <- .RGtkCall("S_gdk_region_get_rectangles", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionEmpty <- function(object) { checkPtrType(object, "GdkRegion") w <- .RGtkCall("S_gdk_region_empty", object, PACKAGE = "RGtk2") return(w) } gdkRegionEqual <- function(object, region2) { checkPtrType(object, "GdkRegion") checkPtrType(region2, "GdkRegion") w <- .RGtkCall("S_gdk_region_equal", object, region2, PACKAGE = "RGtk2") return(w) } gdkRegionPointIn <- function(object, x, y) { checkPtrType(object, "GdkRegion") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_region_point_in", object, x, y, PACKAGE = "RGtk2") return(w) } gdkRegionRectIn <- function(object, rect) { checkPtrType(object, "GdkRegion") rect <- as.GdkRectangle(rect) w <- .RGtkCall("S_gdk_region_rect_in", object, rect, PACKAGE = "RGtk2") return(w) } gdkRegionOffset <- function(object, dx, dy) { checkPtrType(object, "GdkRegion") dx <- as.integer(dx) dy <- as.integer(dy) w <- .RGtkCall("S_gdk_region_offset", object, dx, dy, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionShrink <- function(object, dx, dy) { checkPtrType(object, "GdkRegion") dx <- as.integer(dx) dy <- as.integer(dy) w <- .RGtkCall("S_gdk_region_shrink", object, dx, dy, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionUnionWithRect <- function(object, rect) { checkPtrType(object, "GdkRegion") rect <- as.GdkRectangle(rect) w <- .RGtkCall("S_gdk_region_union_with_rect", object, rect, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionIntersect <- function(object, source2) { checkPtrType(object, "GdkRegion") checkPtrType(source2, "GdkRegion") w <- .RGtkCall("S_gdk_region_intersect", object, source2, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionUnion <- function(object, source2) { checkPtrType(object, "GdkRegion") checkPtrType(source2, "GdkRegion") w <- .RGtkCall("S_gdk_region_union", object, source2, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionSubtract <- function(object, source2) { checkPtrType(object, "GdkRegion") checkPtrType(source2, "GdkRegion") w <- .RGtkCall("S_gdk_region_subtract", object, source2, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionXor <- function(object, source2) { checkPtrType(object, "GdkRegion") checkPtrType(source2, "GdkRegion") w <- .RGtkCall("S_gdk_region_xor", object, source2, PACKAGE = "RGtk2") return(invisible(w)) } gdkRegionSpansIntersectForeach <- function(object, spans, sorted, fun, data) { checkPtrType(object, "GdkRegion") spans <- lapply(spans, function(x) { x <- as.GdkSpan(x); x }) sorted <- as.logical(sorted) fun <- as.function(fun) w <- .RGtkCall("S_gdk_region_spans_intersect_foreach", object, spans, sorted, fun, data, PACKAGE = "RGtk2") return(w) } gdkCairoSetSourcePixmap <- function(cr, pixmap, pixmap.x, pixmap.y) { checkPtrType(cr, "Cairo") checkPtrType(pixmap, "GdkPixmap") pixmap.x <- as.numeric(pixmap.x) pixmap.y <- as.numeric(pixmap.y) w <- .RGtkCall("S_gdk_cairo_set_source_pixmap", cr, pixmap, pixmap.x, pixmap.y, PACKAGE = "RGtk2") return(w) } gdkDisplaySupportsShapes <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_shapes", object, PACKAGE = "RGtk2") return(w) } gdkDisplaySupportsInputShapes <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_input_shapes", object, PACKAGE = "RGtk2") return(w) } gdkAtomInternStaticString <- function(atom.name) { atom.name <- as.character(atom.name) w <- .RGtkCall("S_gdk_atom_intern_static_string", atom.name, PACKAGE = "RGtk2") return(w) } gdkScreenIsComposited <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_is_composited", object, PACKAGE = "RGtk2") return(w) } gdkScreenSetFontOptions <- function(object, options) { checkPtrType(object, "GdkScreen") checkPtrType(options, "CairoFontOptions") w <- .RGtkCall("S_gdk_screen_set_font_options", object, options, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenGetFontOptions <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_font_options", object, PACKAGE = "RGtk2") return(w) } gdkScreenSetResolution <- function(object, dpi) { checkPtrType(object, "GdkScreen") dpi <- as.numeric(dpi) w <- .RGtkCall("S_gdk_screen_set_resolution", object, dpi, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenGetResolution <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_resolution", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetActiveWindow <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_active_window", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetWindowStack <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_window_stack", object, PACKAGE = "RGtk2") return(w) } gdkWindowInputShapeCombineMask <- function(object, mask, x, y) { checkPtrType(object, "GdkWindow") checkPtrType(mask, "GdkBitmap") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_window_input_shape_combine_mask", object, mask, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowInputShapeCombineRegion <- function(object, shape.region, offset.x, offset.y) { checkPtrType(object, "GdkWindow") checkPtrType(shape.region, "GdkRegion") offset.x <- as.integer(offset.x) offset.y <- as.integer(offset.y) w <- .RGtkCall("S_gdk_window_input_shape_combine_region", object, shape.region, offset.x, offset.y, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetChildInputShapes <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_set_child_input_shapes", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowMergeChildInputShapes <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_merge_child_input_shapes", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetTypeHint <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_type_hint", object, PACKAGE = "RGtk2") return(w) } gdkColorToString <- function(object) { object <- as.GdkColor(object) w <- .RGtkCall("S_gdk_color_to_string", object, PACKAGE = "RGtk2") return(w) } gdkDisplaySupportsComposite <- function(object) { checkPtrType(object, "GdkDisplay") w <- .RGtkCall("S_gdk_display_supports_composite", object, PACKAGE = "RGtk2") return(w) } gdkEventRequestMotions <- function(event) { checkPtrType(event, "GdkEventMotion") w <- .RGtkCall("S_gdk_event_request_motions", event, PACKAGE = "RGtk2") return(w) } gdkKeymapHaveBidiLayouts <- function(object) { checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_have_bidi_layouts", object, PACKAGE = "RGtk2") return(w) } gdkPangoAttrEmbossColorNew <- function(color) { color <- as.GdkColor(color) w <- .RGtkCall("S_gdk_pango_attr_emboss_color_new", color, PACKAGE = "RGtk2") return(w) } gdkWindowSetComposited <- function(object, composited) { checkPtrType(object, "GdkWindow") composited <- as.logical(composited) w <- .RGtkCall("S_gdk_window_set_composited", object, composited, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetStartupId <- function(object, startup.id) { checkPtrType(object, "GdkWindow") startup.id <- as.character(startup.id) w <- .RGtkCall("S_gdk_window_set_startup_id", object, startup.id, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowBeep <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_beep", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowSetOpacity <- function(object, opacity) { checkPtrType(object, "GdkWindow") opacity <- as.numeric(opacity) w <- .RGtkCall("S_gdk_window_set_opacity", object, opacity, PACKAGE = "RGtk2") return(invisible(w)) } gdkNotifyStartupCompleteWithId <- function(id) { id <- as.character(id) w <- .RGtkCall("S_gdk_notify_startup_complete_with_id", id, PACKAGE = "RGtk2") return(w) } gdkPixbufApplyEmbeddedOrientation <- function(object) { checkPtrType(object, "GdkPixbuf") w <- .RGtkCall("S_gdk_pixbuf_apply_embedded_orientation", object, PACKAGE = "RGtk2") return(w) } gdkAppLaunchContextGetType <- function() { w <- .RGtkCall("S_gdk_app_launch_context_get_type", PACKAGE = "RGtk2") return(w) } gdkAppLaunchContextNew <- function() { w <- .RGtkCall("S_gdk_app_launch_context_new", PACKAGE = "RGtk2") return(w) } gdkAppLaunchContextSetDisplay <- function(object, display) { checkPtrType(object, "GdkAppLaunchContext") checkPtrType(display, "GdkDisplay") w <- .RGtkCall("S_gdk_app_launch_context_set_display", object, display, PACKAGE = "RGtk2") return(invisible(w)) } gdkAppLaunchContextSetScreen <- function(object, screen) { checkPtrType(object, "GdkAppLaunchContext") checkPtrType(screen, "GdkScreen") w <- .RGtkCall("S_gdk_app_launch_context_set_screen", object, screen, PACKAGE = "RGtk2") return(invisible(w)) } gdkAppLaunchContextSetDesktop <- function(object, desktop) { checkPtrType(object, "GdkAppLaunchContext") desktop <- as.integer(desktop) w <- .RGtkCall("S_gdk_app_launch_context_set_desktop", object, desktop, PACKAGE = "RGtk2") return(invisible(w)) } gdkAppLaunchContextSetTimestamp <- function(object, timestamp) { checkPtrType(object, "GdkAppLaunchContext") timestamp <- as.numeric(timestamp) w <- .RGtkCall("S_gdk_app_launch_context_set_timestamp", object, timestamp, PACKAGE = "RGtk2") return(invisible(w)) } gdkAppLaunchContextSetIcon <- function(object, icon = NULL) { checkPtrType(object, "GdkAppLaunchContext") if (!is.null( icon )) checkPtrType(icon, "GIcon") w <- .RGtkCall("S_gdk_app_launch_context_set_icon", object, icon, PACKAGE = "RGtk2") return(invisible(w)) } gdkAppLaunchContextSetIconName <- function(object, icon.name = NULL) { checkPtrType(object, "GdkAppLaunchContext") if (!is.null( icon.name )) icon.name <- as.character(icon.name) w <- .RGtkCall("S_gdk_app_launch_context_set_icon_name", object, icon.name, PACKAGE = "RGtk2") return(invisible(w)) } gdkScreenGetMonitorWidthMm <- function(object, monitor.num) { checkPtrType(object, "GdkScreen") monitor.num <- as.integer(monitor.num) w <- .RGtkCall("S_gdk_screen_get_monitor_width_mm", object, monitor.num, PACKAGE = "RGtk2") return(w) } gdkScreenGetMonitorHeightMm <- function(object, monitor.num) { checkPtrType(object, "GdkScreen") monitor.num <- as.integer(monitor.num) w <- .RGtkCall("S_gdk_screen_get_monitor_height_mm", object, monitor.num, PACKAGE = "RGtk2") return(w) } gdkScreenGetMonitorPlugName <- function(object, monitor.num) { checkPtrType(object, "GdkScreen") monitor.num <- as.integer(monitor.num) w <- .RGtkCall("S_gdk_screen_get_monitor_plug_name", object, monitor.num, PACKAGE = "RGtk2") return(w) } gdkWindowRedirectToDrawable <- function(object, drawable, src.x, src.y, dest.x, dest.y, width, height) { checkPtrType(object, "GdkWindow") checkPtrType(drawable, "GdkDrawable") src.x <- as.integer(src.x) src.y <- as.integer(src.y) dest.x <- as.integer(dest.x) dest.y <- as.integer(dest.y) width <- as.integer(width) height <- as.integer(height) w <- .RGtkCall("S_gdk_window_redirect_to_drawable", object, drawable, src.x, src.y, dest.x, dest.y, width, height, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowRemoveRedirection <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_remove_redirection", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufNewFromStream <- function(stream, cancellable = NULL, .errwarn = TRUE) { checkPtrType(stream, "GInputStream") if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gdk_pixbuf_new_from_stream", stream, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkPixbufNewFromStreamAtScale <- function(stream, width = -1, height = -1, preserve.aspect.ratio = 1, cancellable = NULL, .errwarn = TRUE) { checkPtrType(stream, "GInputStream") width <- as.integer(width) height <- as.integer(height) preserve.aspect.ratio <- as.logical(preserve.aspect.ratio) if (!is.null( cancellable )) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gdk_pixbuf_new_from_stream_at_scale", stream, width, height, preserve.aspect.ratio, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkTestRenderSync <- function(window) { checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_test_render_sync", window, PACKAGE = "RGtk2") return(w) } gdkTestSimulateKey <- function(window, x, y, keyval, modifiers, key.pressrelease) { checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) keyval <- as.numeric(keyval) w <- .RGtkCall("S_gdk_test_simulate_key", window, x, y, keyval, modifiers, key.pressrelease, PACKAGE = "RGtk2") return(w) } gdkTestSimulateButton <- function(window, x, y, button, modifiers, button.pressrelease) { checkPtrType(window, "GdkWindow") x <- as.integer(x) y <- as.integer(y) button <- as.numeric(button) w <- .RGtkCall("S_gdk_test_simulate_button", window, x, y, button, modifiers, button.pressrelease, PACKAGE = "RGtk2") return(w) } gdkPixbufSaveToStream <- function(object, stream, type, cancellable, .errwarn = TRUE) { checkPtrType(object, "GdkPixbuf") checkPtrType(stream, "GOutputStream") type <- as.character(type) checkPtrType(cancellable, "GCancellable") w <- .RGtkCall("S_gdk_pixbuf_save_to_stream", object, stream, type, cancellable, PACKAGE = "RGtk2") w <- handleError(w, .errwarn) return(w) } gdkKeymapGetCapsLockState <- function(object) { checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_get_caps_lock_state", object, PACKAGE = "RGtk2") return(w) } gdkCairoResetClip <- function(cr, drawable) { checkPtrType(cr, "Cairo") checkPtrType(drawable, "GdkDrawable") w <- .RGtkCall("S_gdk_cairo_reset_clip", cr, drawable, PACKAGE = "RGtk2") return(w) } gdkOffscreenWindowGetPixmap <- function(window) { checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_offscreen_window_get_pixmap", window, PACKAGE = "RGtk2") return(w) } gdkOffscreenWindowSetEmbedder <- function(window, embedder) { checkPtrType(window, "GdkWindow") checkPtrType(embedder, "GdkWindow") w <- .RGtkCall("S_gdk_offscreen_window_set_embedder", window, embedder, PACKAGE = "RGtk2") return(w) } gdkOffscreenWindowGetEmbedder <- function(window) { checkPtrType(window, "GdkWindow") w <- .RGtkCall("S_gdk_offscreen_window_get_embedder", window, PACKAGE = "RGtk2") return(w) } gdkRegionRectEqual <- function(object, rectangle) { checkPtrType(object, "GdkRegion") rectangle <- as.GdkRectangle(rectangle) w <- .RGtkCall("S_gdk_region_rect_equal", object, rectangle, PACKAGE = "RGtk2") return(w) } gdkWindowEnsureNative <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_ensure_native", object, PACKAGE = "RGtk2") return(w) } gdkWindowFlush <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_flush", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGeometryChanged <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_geometry_changed", object, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowGetCursor <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_get_cursor", object, PACKAGE = "RGtk2") return(w) } gdkWindowRestack <- function(object, sibling, above) { checkPtrType(object, "GdkWindow") checkPtrType(sibling, "GdkWindow") above <- as.logical(above) w <- .RGtkCall("S_gdk_window_restack", object, sibling, above, PACKAGE = "RGtk2") return(invisible(w)) } gdkWindowIsDestroyed <- function(object) { checkPtrType(object, "GdkWindow") w <- .RGtkCall("S_gdk_window_is_destroyed", object, PACKAGE = "RGtk2") return(w) } gdkWindowGetRootCoords <- function(object, x, y) { checkPtrType(object, "GdkWindow") x <- as.integer(x) y <- as.integer(y) w <- .RGtkCall("S_gdk_window_get_root_coords", object, x, y, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufSimpleAnimSetLoop <- function(object, loop) { checkPtrType(object, "GdkPixbufSimpleAnim") loop <- as.logical(loop) w <- .RGtkCall("S_gdk_pixbuf_simple_anim_set_loop", object, loop, PACKAGE = "RGtk2") return(invisible(w)) } gdkPixbufSimpleAnimGetLoop <- function(object) { checkPtrType(object, "GdkPixbufSimpleAnim") w <- .RGtkCall("S_gdk_pixbuf_simple_anim_get_loop", object, PACKAGE = "RGtk2") return(w) } gdkKeymapAddVirtualModifiers <- function(object) { checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_add_virtual_modifiers", object, PACKAGE = "RGtk2") return(w) } gdkKeymapMapVirtualModifiers <- function(object) { checkPtrType(object, "GdkKeymap") w <- .RGtkCall("S_gdk_keymap_map_virtual_modifiers", object, PACKAGE = "RGtk2") return(w) } gdkScreenGetPrimaryMonitor <- function(object) { checkPtrType(object, "GdkScreen") w <- .RGtkCall("S_gdk_screen_get_primary_monitor", object, PACKAGE = "RGtk2") return(w) } RGtk2/MD50000644000176000001440000135406112362500440011551 0ustar ripleyusersd9148190403b756b7610c46cd34ca96d *DESCRIPTION b4f88defc0ed38bb8f1e8c0718b5c8bf *INSTALL 400e4f47fd4795b9ae8fd217b9c38628 *NAMESPACE 2dc37bfa2f39a78bd08a4ba8549e28ab *R/RGtk.R 20945497d0feb99d6a723f21ba9f8e48 *R/RGtkDataFrame.R dd8b2c99d754651af1bcb1b2d7eabee1 *R/aaa.R d41d8cd98f00b204e9800998ecf8427e *R/atkAccessors.R 8f003deb2c8ce3065e3095cba57f5e86 *R/atkCoerce.R 22fa9d1b1a582c559c365ba06e8f87cb *R/atkEnumDefs.R 75476e5fe9310e9c76da02f2645d0e21 *R/atkFuncs.R 647e3019bfc8f7781857ea3a106e9194 *R/atkManuals.R 85f0dfa7654c88cd6ff4dc4ec41b26b9 *R/atkVirtuals.R d0f440c038c8859822f23bec81b9b560 *R/atkzConstructors.R 66d7cd8d328d53fceb94f2d0586aa6d0 *R/cairoAccessors.R c7ea9e39a4a74512a0b6d66229425e3f *R/cairoCoerce.R 5fef8966c2160ea21138f131e534995c *R/cairoEnumDefs.R b82c3e55d61dcb1107552e2ba35698de *R/cairoFuncs.R 368c2d820d2bdcf6bbe571389d9789f4 *R/cairoManuals.R d41d8cd98f00b204e9800998ecf8427e *R/cairoVirtuals.R 152066a9e13aee028c2fb8c9a100cb66 *R/cairozConstructors.R 662526f4592ef0850b0e242791efd975 *R/classes.R c5696910239bf8ea7b6addcfa3a5a29f *R/coerce.R 0b9816536f4ce95da350be8c6fe71747 *R/gdkAccessors.R 72a1df5d7c21a1c1d1327eaa1325f558 *R/gdkAtoms.R 8f26fc2c508c48963dea2dcc65753b6c *R/gdkCoerce.R 4f5fcaf63dbd0e34acce9d272ab8af5f *R/gdkEnumDefs.R 58d9710226476c969cd57ad555aa8802 *R/gdkFuncs.R 750264ffd04a4b492ac27193795a67ac *R/gdkKeySyms.R b572f72552b7c1cbee06c1aff2700398 *R/gdkManuals.R 2178d1aab6f9a6f5870b025f886bd167 *R/gdkVirtuals.R e0139239532e377868ea76505fa60fec *R/gdkzConstructors.R 8a0d047c48495b1ccb8feaf24f60b60d *R/gioAccessors.R 29f30227567d4784ff86d4a68fe6cfc3 *R/gioEnumDefs.R c645b8efda6dfacbf47ae0396ec3e019 *R/gioFuncs.R c7bfc6562fa5a675659aa049cf7a161d *R/gioManuals.R b15a9f7857b89d4421646e55318fd6db *R/gioVirtuals.R 992a7f8a756f6153b6dbbc3f29d39236 *R/giozConstructors.R 2bd5fbbcc94164ad5088dd21b0ea6a7b *R/glib.R e30053810b105047c6d49c1886d32128 *R/gobject.R 03be464737306269740b1ea26ac433a6 *R/gtkAccessors.R 27b8b5df000aecbec44374d63f93ee16 *R/gtkCoerce.R 3bb931d3bcb9482a973d0afafd96ea98 *R/gtkEnumDefs.R 9ea7c313aea655ede317b5283c0cbdb1 *R/gtkFuncs.R 548f092702ca38c2938d459e868f69ba *R/gtkManuals.R ad069ca8798109121d0525343d5666f4 *R/gtkUtils.R 9e65450048512a8ea001ad432d13eb97 *R/gtkVirtuals.R 1bcc6785e4e125533c0dfaf02c08cd41 *R/gtkzConstructors.R 2e5dce465d399af83d63c56b6e06e8a4 *R/pangoAccessors.R 51c598d252e1aab2944dd60679b2b135 *R/pangoCoerce.R 93de45042196df0585f0a189508e2066 *R/pangoEnumDefs.R 843e6d6a4f0c48b67763414d80e99409 *R/pangoFuncs.R d61fb9a0410388aef5b9c4b27177e52a *R/pangoManuals.R 8014398df188dad01765feef819afd37 *R/pangoVirtuals.R a0fad6a0894926adfda4044de3332ef0 *R/pangozConstructors.R 279ba37f2f7814d0ee3709ccb9615cbf *R/stock.R dd1c6e6a3702c0e3624072899df84cf2 *R/utils.R f07b5c95a6d858bb80954f521d72cf0e *R/zcompat.R e73e1b6da931e8740cc00bd268aa85f8 *R/zzz.R b10167ee5f1852ca8e5231356b3b737e *README 5b41a31b13ddd6bcf77c547569f90880 *cleanup d7f4262aabd84b9e7b0c9e80ef0fb979 *configure aaa692d48a2ace3567bb8eecb80d191c *configure.in 68b329da9893e34099c7d8ad5cb9c940 *configure.win 21fa21d4f0c2035b79426ea25eddd527 *demo/00Index ec9d1daf1caa1cd1125f1df06ef069b0 *demo/alphaSlider.R 936b21858a8eded07464da588bd008ad *demo/alphaSliderClass.R 4758dc30a432c43fd0344d6b8407279d *demo/appWindow.R 358abe87da8fa9d9753637cb33f40080 *demo/assistant.R 60c3a25fa918d797cfbca389612aae6d *demo/builder.R 80397a20f05498e3b555d8b75355e690 *demo/buttonBoxes.R ced768803f9751aaf2d1ebf1c9262b79 *demo/clipboard.R 73b75804d10071feefb90c27f27ad65c *demo/colorSelector.R cef1c9012f10d7611a2095db03466ebd *demo/compositeplot.R 73c0ffa03da7242dc2b35f2a39d6c0a4 *demo/dnd.R 8b5736460b4e2b1b73ef7871401b9aa1 *demo/drawingArea.R bcb42d3c08f42f3f14c8a8d2fcb0d694 *demo/editableCells.R 4966e813e039f37f0d5fe07ae1516e5c *demo/entryCompletion.R 230086fe5ba69476c3cf6247a7e72667 *demo/expander.R 4c8c3b8de39db1e2bb20cb2a73a940d3 *demo/fileCopier.R caebb984746c8e9f80d35bb1013f7a8a *demo/iconView.R 273487ec762ba50a33ffce4a6efff458 *demo/iconviewdnd.R f9158788d258e2a842c7236030413dfd *demo/images.R 8673dd86c3bd41d44f7cbe4e15988163 *demo/messageDialog.R e5b6738e861557c337b8ceca2018b3d8 *demo/multipleViews.R 2889f824a388f7a433b8bf3656580c41 *demo/pangoCairo.R 21b333ceb2c77329e074590dddcb3bd3 *demo/pixbufs.R b5de47e5cdf1e3143ca75c4afada0f13 *demo/printing.R 8e11ce153449ff55612535411548bdd4 *demo/rgtkplot.R bb6365c2b35adf557a219d8be9c86bd6 *demo/rotatedText.R 26886467c14118c314de8e83c9f7c387 *demo/searchentry.R b441085bbc1fe62461f3c90fbaba4d2b *demo/sizeGroups.R 352d54e691fb6b0183aa0b147eda7b63 *demo/slide.R 4f0fd81a0767c34a056febbee8d92274 *demo/spinner.R 83f635703400563b072a862da0b9fa85 *demo/svgspacewar.R 3eec8244dfb514a2c58172a4f1c5b713 *demo/text-scroll.R 17304e885488467964162dbd76bc2471 *demo/tooltips.R 55d040be84c0d427c05e64cd2e7c81a3 *demo/treeStore.R 75ee920816be3e5dd1a5407a360ef391 *inst/CITATION 714726a7730dfd83cca6974f1d04ffc7 *inst/doc/overview2.lyx c0a333f9d038fbd6191d5d2936dbdb3d *inst/doc/overview2.pdf fec8757579ffd40bcf031e1e68919cde *inst/doc/tutorial.sgml 0ae04d2d38e5d6b975ca475423efa088 *inst/examples/GAppInfo.R c2c11bdd6b672784a392a53639881b93 *inst/examples/GAsyncResult.R 013fa49aa76affdbe25cd058f1b64eb3 *inst/examples/GCancellable.R 23da4b53d0b36c70b32db3e17f0d5c43 *inst/examples/GMemoryOutputStream.R 0a23b21aef3f358ff02aeb49611fe818 *inst/examples/GSocketConnectable.R 6ba3ba95f8fad3f7b7facf708673722e *inst/examples/GThemedIcon-1.R 957cc53f27796df316ef9245a9184067 *inst/examples/GThemedIcon-2.R 9a31229b84cbf8f88c651809afb84411 *inst/examples/GVolume-1.R 0f04c938ebc06eef64d0b12ca9f15183 *inst/examples/GVolume-2.R beea654fd69c6fedb7b94172d9ddf763 *inst/examples/GtkAboutDialog-1.R 6343d8b393dd667225f20f1ddc896358 *inst/examples/GtkAboutDialog-2.R 6343d8b393dd667225f20f1ddc896358 *inst/examples/GtkAboutDialog-3.R bdb327f1dbebe60f32b6ef83df216239 *inst/examples/GtkAccelLabel.R 5212450642009368cb295b96dbbfb305 *inst/examples/GtkActivatable.R ee492caea861e47de538839cf355fa50 *inst/examples/GtkCellRenderer.R ea1e8cf153411fc3d6bd36a2eadabca4 *inst/examples/GtkCombo-1.R 542734474177790b8fb4e36e9606ea21 *inst/examples/GtkCombo-2.R c6cf0d0110bed9f57e631d1f1158028b *inst/examples/GtkDialog-1.R cc14f6cbe5ef089e341ebd550219e2d2 *inst/examples/GtkDialog-3.R 4c32df051e7d39c8de87e389d5bab700 *inst/examples/GtkDialog-4.R 63b8244b50e100d458480075495499a7 *inst/examples/GtkDialog-5.R a516fb5d47b54033635d01f105d9a8fe *inst/examples/GtkDrawingArea.R 413318d036f8a9e9259df9f3a4c0bf24 *inst/examples/GtkEditable.R 42dedf13529fc8da35692fc45e7dcdb9 *inst/examples/GtkExpander.R f5c74505d0c17861be670017bf63cbd4 *inst/examples/GtkFileChooser-1.R aef836468351792ca54b38511c5d6c2a *inst/examples/GtkFileChooser-2.R 9d4c14e681afe1f9c6f714783a38f17c *inst/examples/GtkFileChooserButton.R f066664df4489581b72f119296c3f6ad *inst/examples/GtkFileChooserDialog.R a5479dbd09373098682ed75f0612b648 *inst/examples/GtkFileSelection.R 73af02bb8b0f6f716fd22ad434516e03 *inst/examples/GtkIconTheme.R 8584b6ec3621917b54cd5db66b59d86a *inst/examples/GtkIconView.R 1d2d8654a46c3c7d5ef299171df6614b *inst/examples/GtkImage-1.R 22a3a4ffa27c45657a6222608603370e *inst/examples/GtkImage-2.R 74688b08815f10e47a542b9dcaf0603a *inst/examples/GtkLabel-2.R 85223bfd223f14ee5103f52f94b3b108 *inst/examples/GtkLabel-3.R 08085983e37c875d785c1be900246420 *inst/examples/GtkLabel-4.R dfb0dbdae46a18910c0547d500d3c4fb *inst/examples/GtkLabel-5.R c3263877769bb7c967a31846f60154a5 *inst/examples/GtkLabel-6.R ba2afdfc7ac11e1274eeff65b45311f3 *inst/examples/GtkLabel-7.R 1994c09332e352378a8a96865048e330 *inst/examples/GtkListStore-1.R f2d482781b343d0ed2e7a00ca1ed3ee6 *inst/examples/GtkListStore-3.R 6b3e1b8b77a60394e0e721ec806a1774 *inst/examples/GtkMenu-1.R 8823afb2c76528b4982da9ceb46be4c8 *inst/examples/GtkMenu-2.R 5c1aefb1aceedb684447721b2887bee1 *inst/examples/GtkMessageDialog-1.R 921bb92af5272446bb1b0dfb3d9495b1 *inst/examples/GtkMessageDialog-2.R f2d2ad1c083801ccf5be7de65aa0953c *inst/examples/GtkMessageDialog-3.R 0524b60dac7fc3cfad348b6d9163cd65 *inst/examples/GtkMessageDialog-4.R c601fab0af37e7a8733bcaa5042dafc2 *inst/examples/GtkNotebook-2.R 14a28fce927d10f06bc5c7a1ea25d2f5 *inst/examples/GtkPageSetup.R 78a9cb4905416cd29e18068c53e4cdf3 *inst/examples/GtkPaned.R 18ccb147f5b28558b45b4a071ff8d8ff *inst/examples/GtkPrintContext.R 4eedea5867936459c9464f3b88d3445c *inst/examples/GtkRadioAction.R 77581c213ada3b11e667354fe97b25e7 *inst/examples/GtkRadioButton.R 55fcd9ea1c3c31723dd53fa60dcf1e25 *inst/examples/GtkRadioMenuItem.R 64529db9c8b4db24637acbbae0dd26cb *inst/examples/GtkRecentChooserDialog.R 88ac25b0d77e26ab5d86f635201cd7ce *inst/examples/GtkRecentFilter.R 1763e1e15de5738a10dfc0b63f846542 *inst/examples/GtkRecentManager-1.R 1d98749d0b301625317db28e3e1421c2 *inst/examples/GtkRecentManager-2.R 9bc69828a0a68584032afee467818bfe *inst/examples/GtkScale.R 42265078fbd5c7037d3d9cae99b8ef86 *inst/examples/GtkSocket.R 4de18597bcbca413432a6a81c9c7e861 *inst/examples/GtkSpinButton-1.R 9ca663626de3da468a0fb16509ef5509 *inst/examples/GtkSpinButton-2.R b56c6792ef41caa8911d1f562957f3cd *inst/examples/GtkToggleButton.R 09ffbad29c18aded1b53d5b56a248ae0 *inst/examples/GtkTooltips.R f01072d49c5d55fdee89aa51d40f2381 *inst/examples/GtkTreeModel-1.R bfa2c2ea9b13a7f4518203dc927adffb *inst/examples/GtkTreeModel-2.R 4f25e884aebfffed68a88b9312f251a0 *inst/examples/GtkTreeModelFilter.R cd791f654c0478b0c433267f8fdfbd6e *inst/examples/GtkTreeModelSort-1.R 6efb475d737212e1d1a8106907fdc86f *inst/examples/GtkTreeModelSort-2.R e1c336afbacac914ca5ae03133a41d5b *inst/examples/GtkTreeSelection.R f97e599ee0c43adf5e7bda0f5b65089f *inst/examples/GtkTreeStore-2.R 3637434af966f0d4e4ce38b0fd2859bf *inst/examples/GtkTreeViewColumn.R 7d4838360715c1a4f49ae3b7845afc6a *inst/examples/GtkUIManager-3.R a83b52b5905f4605e4576a747baf4966 *inst/examples/GtkWidget-3.R b297584f8e9cdf2cebb818dc1396a14b *inst/examples/GtkWidget-4.R 3db97d097e0e41656bd91fdddc8d4437 *inst/examples/GtkWidget-5.R a417c0837a593e29f52cfc6ca4a481d6 *inst/examples/GtkWidget-6.R 2c0de801ac897484874364e467bcbdc5 *inst/examples/GtkWidget-7.R c0e87128a12cd7987e3aa32bab31bb02 *inst/examples/cairo-Patterns-1.R ff4ceb2637093fb8a054735af8a85114 *inst/examples/cairo-Patterns-2.R dd028377dfbae51a67d1f54c11078aa5 *inst/examples/cairo-cairo-t-1.R c5ed286ad1a1e618c7d7a762273b200b *inst/examples/cairo-cairo-t-2.R 9cbbd05c7c0bdca90f4d5cc9987876ed *inst/examples/cairo-context-1.R c5ed286ad1a1e618c7d7a762273b200b *inst/examples/cairo-context-2.R 773933ce1728a251f6a6a2a5622cc43b *inst/examples/cairo-image-surface.R 50fd84670df6c202ccaf85be818e3353 *inst/examples/cairo-paths-1.R 2eef0f20de5003e3717fc8e6d6b5e623 *inst/examples/cairo-paths-2.R e4a641cc11a38455126f02c2f5286cd5 *inst/examples/cairo-paths-3.R 4d350e7dc01e2a1728ab806c45ba2783 *inst/examples/cairo-pattern-1.R e2534d565ce7a85b98e8067200d7961b *inst/examples/cairo-pattern-2.R bb2e97400758c57ad88e82f94d6ecc00 *inst/examples/cairo-ps-surface.R 155e77c0b8777f81613fd6081166ec9c *inst/examples/cairo-scaled-font-1.R aeed67add6c853bbe98d88f717288096 *inst/examples/cairo-scaled-font-2.R 24c8767b9390fd4d53a9835ce7a62b7a *inst/examples/cairo-scaled-font-3.R c60840cd8fa2b3bf7b553febaf41a9ba *inst/examples/cairo-version-info-3.R 3cb55b89b7f6863674c339600f7411a6 *inst/examples/cairo-version-info-4.R bffb2e49ee4b361ab63a6532913a60bd *inst/examples/cairo-version-info-5.R 044c10a32c4f99b342e8ad130bc626c5 *inst/examples/gdk-Application-launching.R 3d4403dd7a6a1d03b4a5d698f47bf88d *inst/examples/gdk-Cursors.R 6a553944a85c473bc1c775426f2bc46a *inst/examples/gdk-Events.R 8e198ee87ea2cf195348e3016a6d7142 *inst/examples/gdk-GdkRGB.R 9ed31517cd243c5a362c56298bc91d3d *inst/examples/gdk-Keyboard-Handling-1.R 3e18652fcd5c796f896c4adca2c0d54b *inst/examples/gdk-Keyboard-Handling-2.R 5e7d0eaf5f54aef91b1d8ae3b92c3492 *inst/examples/gdk-Pango-Interaction.R e745361aaf1772019def5710a8b9f167 *inst/examples/gdk-Windows-1.R 0359b73d74b3153ed0a961df8c36d48c *inst/examples/gdk-Windows-2.R ee65ca32612aa4eef4bd5e78d13617cd *inst/examples/gdk-pixbuf-File-saving-1.R 438e595dd4ef620ae25d709e8a7e1395 *inst/examples/gdk-pixbuf-File-saving-2.R 3a28f12e41d1194b50b4afc413d40d4c *inst/examples/gdk-pixbuf-File-saving-3.R eacc2a7af1dfd92565160319b7b38ccc *inst/examples/gdk-pixbuf-scaling.R 4320f0be69874ca708356b2b1964d379 *inst/examples/gio-Extension-Points-1.R 5bc791a569765cf5ba45c3b3523a7df7 *inst/examples/gio-Extension-Points-2.R 3c526cdae68276b443e6035403de1cb9 *inst/examples/gtk-High-level-Printing-API-1.R 3b044a53cd3eb4d71032abca7599c835 *inst/examples/gtk-High-level-Printing-API-2.R 4f560e5943d814842a0bf1d558a30785 *inst/examples/gtk-High-level-Printing-API-3.R e2b64d2c7e6d53d336b1e4d9d04b9ffc *inst/examples/gtk-Resource-Files-12.R 5093a41813f29502a611229c5f96c81b *inst/examples/gtk-gtkfilefilter.R ff8aa28013e7eccf8c190ac4acb84341 *inst/examples/pango-Cairo-Rendering.R f3da01a842a7011d7494dd2f33071137 *inst/examples/pango-PangoRenderer.R 9c9d2ada7d97c5b11795dc689b17ac84 *inst/examples/pango-Scripts-and-Languages.R d4d2ee008ed6f5af8e7b80045e98d72b *inst/examples/pango-pango-renderer.R ae3fc770889a2fbb0319086e1e11959c *inst/images/alphatest.png 641125bf61da0c148ffbd65947682bb8 *inst/images/apple-red.png fa54df2e64e7e58ae628c9a052d25304 *inst/images/background.jpg 4f9bce6b58e56050accd194f63be7bdf *inst/images/floppybuddy.gif 4200d349c386d7fd0cb53a8c2c89585c *inst/images/gnome-applets.png 7bdd2154331b8e2b203a2348dfde33c5 *inst/images/gnome-calendar.png bcb570b6d6bcf6bbe6295376235283de *inst/images/gnome-foot.png b2f5a9c63d4deb9d747a654741054caf *inst/images/gnome-fs-directory.png 6541d0f4cbf47d0831c689c743e528c9 *inst/images/gnome-fs-regular.png 07d09beea7d52872470cc09e03113abc *inst/images/gnome-gimp.png 17a8aec561489d1a167002a7b7f3bd56 *inst/images/gnome-gmush.png e8d5b1b1f3c624932c2876d57084907c *inst/images/gnome-gsame.png 7ed905ac1a353db8c7b7408195cbcd09 *inst/images/gnu-keys.png 2aab4522e368372ae5169005648a2365 *inst/images/gtk-logo-rgb.gif 334a4bf0b5e0876c20c6a14e9bef7957 *inst/images/rgtk-logo.gif 09beb4bc8d6aed950a01c21e49c5d88a *inst/include/RGtk2/RSCommon.h 5ed3fabb308d222515889c2fbb6bf711 *inst/include/RGtk2/atk.h 6a4fda25a1814406acfb43490bcb0f51 *inst/include/RGtk2/atkClassImports.c aa44d9fec9b123a795fb1e3931ee8567 *inst/include/RGtk2/atkClasses.h 70ea91fc12c917ef102d38bfd60f7e07 *inst/include/RGtk2/atkImports.c 6597bf3cbb61e3c53c3a9431105d6dcc *inst/include/RGtk2/atkUserFuncImports.c c1f499a733bdf82b1b47c2efda544782 *inst/include/RGtk2/atkUserFuncs.h f083c93871b0f55bc55f112be1831450 *inst/include/RGtk2/cairo-enums.h 063bb87984b86c4abd6c6504fb2db58d *inst/include/RGtk2/cairo.h b5300b0e3473055563ff530e1d3eda3c *inst/include/RGtk2/cairoImports.c f79332be34922a66133caef6f20a4be8 *inst/include/RGtk2/cairoUserFuncImports.c c5664280320036a9881578c080c3cc8d *inst/include/RGtk2/cairoUserFuncs.h f05f24df2c84db075ef6b18cc39474f8 *inst/include/RGtk2/gdk.h 06a51951e89b3005883e79228710e329 *inst/include/RGtk2/gdkClassImports.c 07eaeb7a14b1610f4fe19d7c113d2c9a *inst/include/RGtk2/gdkClasses.h e700001a00039eda05cb7cddf48e218f *inst/include/RGtk2/gdkImports.c 398f8a620509c895b36aedea4a3d81c7 *inst/include/RGtk2/gdkUserFuncImports.c a8c9ff3556d2dbed2b25f257594544d7 *inst/include/RGtk2/gdkUserFuncs.h 9ac364fcd5d11aed2a0e23271be22f03 *inst/include/RGtk2/gio.h 2f876eb0ac34cebf4eb80b3805d94b74 *inst/include/RGtk2/gioClassImports.c d938effd52452fd040c1743967bdd23b *inst/include/RGtk2/gioClasses.h 0d9c345ec36198c3eaf7b8cb680be6f8 *inst/include/RGtk2/gioImports.c 944e15380081dbde3b8811eb173498c8 *inst/include/RGtk2/gioUserFuncImports.c 504353d55557763c3f2ad30774c84a61 *inst/include/RGtk2/gioUserFuncs.h 2c7277a28730d438ade8283b5eddbe94 *inst/include/RGtk2/gobject.h f99668cdf6beefc3aba174bd8d04bd82 *inst/include/RGtk2/gobjectImports.c f05f24df2c84db075ef6b18cc39474f8 *inst/include/RGtk2/gtk.h 4661a79e85cbaa159f9dd179e1862e0a *inst/include/RGtk2/gtkClassImports.c b17ecda6d88c66a0a6817b3c2c5db0d5 *inst/include/RGtk2/gtkClasses.h d4c56efd04eb2d832c1d0e79451f0ffd *inst/include/RGtk2/gtkImports.c b25231ac273316c1a7671e7ddd02114f *inst/include/RGtk2/gtkUserFuncImports.c d8273abf737e6194d787ee7c386bb590 *inst/include/RGtk2/gtkUserFuncs.h e272a1a9cf7a0299c90d5a3791cf2532 *inst/include/RGtk2/pango.h 55167e7a9d4edb20b551d0e35edb5644 *inst/include/RGtk2/pangoClassImports.c e6a4bed0811b462e8d001c6d1091ce2e *inst/include/RGtk2/pangoClasses.h aeb8e21f1c975e9b172b4c7998cb8a37 *inst/include/RGtk2/pangoImports.c 868c5aa86cc8b4d9ace56c2b1a935c07 *inst/include/RGtk2/pangoUserFuncImports.c c433677ffe98b358908e2decf4217a5a *inst/include/RGtk2/pangoUserFuncs.h bd7b56722c8805498a0f664829e3ea81 *inst/ui/demo.ui 9534bf4ace3ef3e4b9ed1bfc81334a30 *man/ATK.Rd b4410ca334dc800550fcb0a5a11461a7 *man/AtkAction.Rd 7b7914853a5e4c0f985ad68fc32f0ffa *man/AtkAttributeSet.Rd 62562fe61cfeaa92c5c289c6a5ccc49f *man/AtkComponent.Rd 80ae669f15ad3b89f0292f412d2f738a *man/AtkDocument.Rd 92129dc7d41f19ccc3665172b9c55e48 *man/AtkEditableText.Rd a7f9923f8c2d88d6ff1b5e3acfa31b55 *man/AtkGObjectAccessible.Rd 13f9989130e2b4bf8a5d1be7be3ba20f *man/AtkHyperlink.Rd 64df025120a6a6136d6f8fc8179bf023 *man/AtkHypertext.Rd ee03aa59d78c3296629cb9a68b5cba71 *man/AtkImage.Rd e145f6b7eda4c7a2ee9ed14790173745 *man/AtkNoOpObject.Rd 76f00f25cd348f33ff29161c58ef29f8 *man/AtkNoOpObjectFactory.Rd 279a02f3030b7f32727e40f183afff7d *man/AtkObject.Rd b1786c108aae3912190e1d773e466f98 *man/AtkObjectFactory.Rd edf51dfcc092e0fdb40a94de551d5b74 *man/AtkRegistry.Rd 43a26253d624d472c98586369b75e198 *man/AtkRelation.Rd 019ce81be283a6666300b41db76d8a66 *man/AtkRelationSet.Rd d8cd2f58e856d79dc8192ba1c579d81e *man/AtkSelection.Rd c3c1c139e8623444938511bdc37a5781 *man/AtkStateSet.Rd 18ec360c988686f25ec3ced2b5f6ab19 *man/AtkStreamableContent.Rd 49099b9775ffecc2de845d69831922ae *man/AtkTable.Rd f11426cc5879cc87b9d8b504a564c933 *man/AtkText.Rd 69fe53588e6614061bfdf8d3881f815c *man/AtkUtil.Rd 789ec2f46e1917597c49fc523a7514a0 *man/AtkValue.Rd 36c5ca39a8f659f970f7d261e401eac4 *man/CAIRO.Rd 7f065969bc93a0ec65e846ea0ec2b4b2 *man/GAppInfo.Rd 79fc98d1388fc8d5abe978cbd3076119 *man/GAsyncInitable.Rd 42869449879f91513f51c79a3f38a0ee *man/GAsyncResult.Rd 4649fa106b86660c780442eddc0b8a74 *man/GBufferedInputStream.Rd 4e3c3188ed68c12982d824c013ec411d *man/GBufferedOutputStream.Rd 1874681c9213d11bee0ce9fae66834f7 *man/GCancellable.Rd e6675ffba50f587d907366638ed4df0b *man/GCharsetConverter.Rd 9dee3f37b0832242ed7c602aa8b46d87 *man/GClosure.Rd 80b8e6c729d8e1c8d445d76c25d3d5d8 *man/GDK-Pixbuf.Rd f16069852ddd6cf36f8b07ac0bbfcf23 *man/GDK.Rd 7a1ec03b035dbed02d237047292f063f *man/GDKPixbuf.Rd d33e43db3a34188eda10d4db92e18bf8 *man/GDataInputStream.Rd 6ed172257e525dde9fe20d0ae8253b1b *man/GDataOutputStream.Rd 5c877f6bcb4ccc6bd49fa022f1b304e9 *man/GDrive.Rd 8e7d9a0fd6c987b0dd428a3035999080 *man/GEmblem.Rd cb64528a6eb5489becabdba87a055e34 *man/GEmblemedIcon.Rd 45c135b25ceb3596a4d6c9fbeaa9a960 *man/GError.Rd 3e42bc2d419eda71dc6d34ce3b791d28 *man/GFile.Rd 8332971ad25eb5eeeddbd40a981b164f *man/GFileAttribute.Rd e9cf65107892befa646bfac2c4678c0c *man/GFileEnumerator.Rd 19331f0e21410b9ba395aeecf4e427ae *man/GFileIOStream.Rd 6261d7336d3d9a7c353860d9b458bb00 *man/GFileIcon.Rd 338d3b1fc0981f424d0b1f9ac3802619 *man/GFileInfo.Rd 4d84f6ff545beca67f39072680f29632 *man/GFileInputStream.Rd dedd9a7d5fdc6642cfc79d321562917e *man/GFileMonitor-concept.Rd 20e0999c94364555dd081db1a6a437c9 *man/GFileOutputStream.Rd 75cd50fd8e98fd5ceddffc0e68e0e75f *man/GFilenameCompleter.Rd d16d492b1c2aba96d523f73f882c0edf *man/GFilterInputStream.Rd 3e8553280d170d1d1ab8335241cf67d2 *man/GFilterOutputStream.Rd 9046315bbd9103ee1294498b16652b05 *man/GIO.Rd a68aa2e7885008e2e9f4a17d1a456aa1 *man/GIOModule.Rd 6fe7241feff21991905de9c08e3fa915 *man/GIOStream.Rd a7a3be9e8fc2976e5a2ad3ea721b15bd *man/GIcon.Rd d39d0946fce0a37ffb08d83b06201884 *man/GInetAddress.Rd d6c10e272e17944d7adf6013c3a573de *man/GInetSocketAddress.Rd 15349a61b0afa0729557653879830051 *man/GInitable.Rd d264638c6a40bb37e7c9ddd26494882a *man/GInputStream.Rd 0682ffe1045c479788a5371d38e7eee6 *man/GLibIOEnums.Rd e6ceb3d0233cec32f47a2a0135f64297 *man/GLoadableIcon.Rd a24fa5fac433c0242c5d4ef8c47a5910 *man/GMainLoop.Rd faf805d655806612abb62e6512c80ce6 *man/GMemoryInputStream.Rd ae6b577f70929a48933826a61ead4e4b *man/GMemoryOutputStream.Rd 2e2368ab6c41b28a985a4da7c3eb8ba8 *man/GMount.Rd 623f13a15c9c0627aa4d1af2237755fa *man/GMountOperation.Rd e0ec8ce2929ff8f696812c4f6514721f *man/GNetworkAddress.Rd 4a66afb722b526863abd5c105b554a5a *man/GNetworkService.Rd c3a1cd0a8c8d823b06c10a15af5e79fd *man/GObject.Rd a3513520752c987290aa1393fac46232 *man/GOutputStream.Rd 1d510753f966e9043abca3977507d0d2 *man/GParamSpec.Rd f781e3b0bba8a9e5224563498eafb293 *man/GQuark.Rd cbb0c39f4b48a4900dd6a2a62acc1b65 *man/GResolver.Rd 1fbb50111a99ee1cf40c40e0055c2309 *man/GSeekable.Rd f54b212f336d787dfb99d0b0b31dad2f *man/GSignal.Rd d281389fbef89d7145e273af40dcd862 *man/GSimpleAsyncResult.Rd 150b35b72f753bd6fa13fbcfc7d85d44 *man/GSocket.Rd 2ac16050278c8fe1382746752daf0eeb *man/GSocketAddress.Rd ba2112d7c3ea08f2c0e2c7f227a38ca2 *man/GSocketClient.Rd 86901efd248fb6bcb084358310d1e3b3 *man/GSocketConnectable.Rd 68511bb2f4a4284adf651160e51922bf *man/GSocketConnection.Rd 64041fc6cd2843bf03667cb6a9343b7e *man/GSocketControlMessage.Rd 1ab258f2bef13240c0afbcf218c68ddc *man/GSocketListener.Rd f9935cb491fd5dcb0a437d92bbd12fef *man/GSocketService.Rd 4665c159f27f413c97c6d7c4c236deff *man/GSrvTarget.Rd f5cdb4b6957134618f150bba3a65b844 *man/GTK.Rd e1b821fd61d55f70132f5dc0ca87787f *man/GThemedIcon.Rd 80fa8975828f22fc3aa3806ae2dbae01 *man/GThreadedSocketService.Rd 28847489156842efd4c493522a87aa46 *man/GTimeVal.Rd a11e6b369b7eec2e1837c9e768924196 *man/GType.Rd 9ef931b24694c1ea6f56055f338e2877 *man/GUnixFDMessage.Rd 423466baedbabf8c1aee1bf49e23b978 *man/GUnixInputStream.Rd 1d795f38c8ae288b9aeac81c93e667e0 *man/GVfs.Rd d31c93e9ab81c9557d0c9830c2cbf1f6 *man/GVolume.Rd 21c8105b3f6b87b3321a91c873f34580 *man/GVolumeMonitor.Rd a1e1580ce71ba5fd45b8e51c891cefce *man/GdkDisplay.Rd a2d5cc91591814b54d3b244db9651c4a *man/GdkDisplayManager.Rd 3e2277b5c86e24a2d606eb78aafb0b49 *man/GdkEvent.Rd 2a7e5df1342da35f86accb037984c093 *man/GdkNativeWindow.Rd be65e037e47b092b63e61d09a71f21f4 *man/GdkPixbufLoader.Rd 507fe83497b8337c8483f71d04f0384a *man/GdkScreen.Rd 383b77b25ca58975aebc322dcf7a114a *man/GtkAboutDialog.Rd 9764560e366a08419b6f9be7c4f642d1 *man/GtkAccelLabel.Rd 30c49801da62086b57dee3ef806a13bf *man/GtkAccessible.Rd c80234fec8aa7392b73b4a928e651fd6 *man/GtkAction.Rd 37bcfeda0cfd09b2373a927f6c26ed9f *man/GtkActionGroup.Rd ea6ef84b1302e7a2797b66d1f2d1dc82 *man/GtkActivatable.Rd 4fb999e01be61e7bce54010483ab8fda *man/GtkAdjustment.Rd ba7709c39a39c084a450c69830b6c882 *man/GtkAlignment.Rd c98d1d56167fedee798417a1040fea31 *man/GtkArrow.Rd 0efe257bb8f79197c9467b1d959e9c5f *man/GtkAspectFrame.Rd 4968ef387b0acd56722d11a21aebb1d0 *man/GtkAssistant.Rd 875bcc8aa8f905f8998e6aa7bf4a9764 *man/GtkBin.Rd b9c23166c66a72b7ec39307fec1ec49a *man/GtkBox.Rd 698a0dc2d0a2b1f5d215680d3ee3ef22 *man/GtkBuilder.Rd 4ce06abf8d4fd481d0a4f8d3387b6904 *man/GtkButton.Rd b62f607fb4962eeb64cc9e1c0ca03e7d *man/GtkButtonBox.Rd 5c08a0620951e246f5e5bf4cbd638072 *man/GtkCList.Rd f8c1e975821271cd5cdeb6140766186c *man/GtkCTree.Rd a232a7460622cce556db0317286f09d1 *man/GtkCalendar.Rd 296c9f04cd88a37111720d25c3f8980e *man/GtkCellEditable.Rd ebba48ca1c71ce15eb89e49fef74c7b2 *man/GtkCellLayout.Rd 69313af20d8471cc0882bd3451935392 *man/GtkCellRenderer.Rd db120fc55ffadaa8f921d64b8c9c46b6 *man/GtkCellRendererAccel.Rd 95f216bdd442e45efbcdbf88dadae3b4 *man/GtkCellRendererCombo.Rd d470f7d510115eac394d338e66990e2e *man/GtkCellRendererPixbuf.Rd f643162c6d114c2247e48be7ab2fdf23 *man/GtkCellRendererProgress.Rd bd460e2979b33ff1853be3abdbe0030c *man/GtkCellRendererSpin.Rd 85ccc77416deb4ae65ff95ca5efd494a *man/GtkCellRendererSpinner.Rd 9f356f850f4953034dbb5a0c31b350a0 *man/GtkCellRendererText.Rd 643f296077fb5c9d757fe968c9172191 *man/GtkCellRendererToggle.Rd 478abae21849d3862e974cca3af6d924 *man/GtkCellView.Rd 30c0f758465cb10bada3ac74676e1ebf *man/GtkCheckButton.Rd 2666a6a7a009e5e550c0f15f19770817 *man/GtkColorButton.Rd cda40d98a97975a59c9906a316d9876d *man/GtkColorSelection.Rd 048b60c28a5f04cfef24ee8cd2044f11 *man/GtkColorSelectionDialog.Rd 597ff310298819295544eb394234f590 *man/GtkCombo.Rd 12cea10635536b77ed958654a6dcff9f *man/GtkComboBox.Rd 576a209d998b1eba16efbfc04274edad *man/GtkComboBoxEntry.Rd 3ee9a64cfd1ac395b52c84fecae535a8 *man/GtkContainer.Rd fa12ffd246d01b139a32244536b7e537 *man/GtkCurve.Rd 4d955c1bba06448599310189259f2b8e *man/GtkDialog.Rd dc74707428d132d4dc3060b867e8865e *man/GtkDrawingArea.Rd 08f08172289d4bd4bdd62a89c6e354d3 *man/GtkEditable.Rd cfe904a2fcea04df60211339ea5ac50a *man/GtkEntry.Rd 6aae7e05d5fd6cf82f8ef44e63b001d6 *man/GtkEntryBuffer.Rd 08c71dea66a3d12ac9f981f3163ec1e7 *man/GtkEntryCompletion.Rd bb9a5b5bff8ebf71affc01eacf0a52a2 *man/GtkEventBox.Rd 0b31d834ca7f154533d55aa3ab7bfce9 *man/GtkExpander.Rd 4830c84f4918061991d4d4ab559d3dff *man/GtkFileChooser.Rd 1699dc4381a80121305dd935d030341f *man/GtkFileChooserButton.Rd de89e003779ada9bc64b0183940e35c6 *man/GtkFileChooserDialog.Rd b9d5c56e0bc97a1b31bd9cd67aecb647 *man/GtkFileChooserWidget.Rd 04d65cc2f713fad3095f7775a8338c1f *man/GtkFileSelection.Rd 132c301e226c9dc8f3a3321bcdc6ca06 *man/GtkFixed.Rd e9ad36b84f7a0979f01462618261ac5f *man/GtkFontButton.Rd dd9f1ca7f1e621145991afcd92ce18a3 *man/GtkFontSelection.Rd 72672b4d02b2274b228bedfdbd44c798 *man/GtkFontSelectionDialog.Rd 514d91b9e8d8c26575d89ebdefc90546 *man/GtkFrame.Rd 3d908e06b0ee35c5fd37d06c498d715a *man/GtkGammaCurve.Rd 6041d6ee9b0ae119e6a4e8e3d9fb44c4 *man/GtkHBox.Rd 2262fac75e2be583ffd94f41eabd9b42 *man/GtkHButtonBox.Rd d263f5c2a252dbead0bb68c876b65dca *man/GtkHPaned.Rd bb02cb1701e8b4aadd28d5ba310b6424 *man/GtkHRuler.Rd 6fbf528878a798af85d0a076dff86835 *man/GtkHSV.Rd c02118b16dcf22a585e9a7980462825d *man/GtkHScale.Rd 28a5707c9c1efaef09cc02c0fbed4cf8 *man/GtkHScrollbar.Rd abfc3cb143b623064e86be3e866fd7e6 *man/GtkHSeparator.Rd 63471be0b1a4d0a15fe4e6ade3d76780 *man/GtkHandleBox.Rd b462c36c9d69650ac530f4acafb1e237 *man/GtkIMContext.Rd 2aa3c8129bc13e717736903f2e3ba814 *man/GtkIMContextSimple.Rd b434b21800a6191ebbfd8cf5756f013e *man/GtkIMMulticontext.Rd 96902e4d7586176add73ebe233a0610d *man/GtkIconTheme.Rd 462166e5bfc19dc21fbad2db3aef3726 *man/GtkIconView.Rd daecec586ff5d4b4968eaeb73f24f7b5 *man/GtkImage.Rd fcfe84994241818a24c04cf97c5d9e76 *man/GtkImageMenuItem.Rd 65be916ca55c426fa716099def392099 *man/GtkInfoBar.Rd 1e0a2a24bf0824af80ff85fb402f4c39 *man/GtkInputDialog.Rd df038465ddb6a2694850f5460f021b24 *man/GtkInvisible.Rd 5f88604eefa74c6c2fe8b7fa6d6f8f59 *man/GtkItem.Rd 911e6fbccf56b39b83a623317358d52b *man/GtkItemFactory.Rd a40dc47fa5006ccc0121f14bbea8dea4 *man/GtkLabel.Rd 177dce20fc24c5f2ce23fe661015adc3 *man/GtkLayout.Rd 66b9bdf9a7b2d422f3eae1222e5938ae *man/GtkLinkButton.Rd 9fa57ae8567ddee51874cc816259f7d7 *man/GtkList.Rd 55edeef6c54f4f4e8b957cbdf0379733 *man/GtkListItem.Rd c433e9ff5b3650395ee7aad8439b8f84 *man/GtkListStore.Rd d18db19d9b9222b5e054746802ab8c3c *man/GtkMenu.Rd b3bcc63de78f364b6abf589007a12a84 *man/GtkMenuBar.Rd 579545213caf928c514c4b3d51e5a7c2 *man/GtkMenuItem.Rd adaea121e5635403758b58ee8b7c10ba *man/GtkMenuShell.Rd 4d0e1d628717052bf0aa72e0b1534f32 *man/GtkMenuToolButton.Rd 10fba346dc87ebabed5c788a28c5dfde *man/GtkMessageDialog.Rd 189124f5261bda3c8188b2a9088ab601 *man/GtkMisc.Rd 38ec7b43c94791be4a00195042fd511f *man/GtkNotebook.Rd a856ed9ee62c9df171be8daee3c4136a *man/GtkObject.Rd 4fdff190f03358439dd64047a36e5beb *man/GtkOffscreenWindow.Rd 19683c2cc98950034fd48751a5d6edb6 *man/GtkOldEditable.Rd 3dfe1bdcfb474088d6b8462c825e70c1 *man/GtkOptionMenu.Rd af7a45546a44d4a560782e53c0b54c91 *man/GtkPageSetup.Rd e60f85ae4b9b165185049d3a7a4cc4d3 *man/GtkPaned.Rd 95ce882412d8044b2e6d5e908281da1a *man/GtkPaperSize.Rd 24602fc46ca090c19343ac2e170e46ef *man/GtkPixmap.Rd d29c712ee590b0ad6e5442880b05e396 *man/GtkPlug.Rd 13e9556359875d05f1e5eef699bb94e0 *man/GtkPreview.Rd b5045e0bf8aad5f9f3d134c06ccc4e43 *man/GtkPrintContext.Rd f98e7750415cc6d5ec811feba75720b7 *man/GtkPrintSettings.Rd 36e5a2091ff8e12351c988fe1ae4bd23 *man/GtkProgress.Rd 095abad5a278c09afa67bb825bbe0380 *man/GtkProgressBar.Rd 5ab369ec4395f0814c34a522be699e27 *man/GtkRadioAction.Rd 6314ebb1927af53391ed97b3ac7a9d45 *man/GtkRadioButton.Rd cdb42daeed3bd1bd80c69ca2504d94a4 *man/GtkRadioMenuItem.Rd e7c6c2b5c7be2abbe0360beb8f4fe6de *man/GtkRadioToolButton.Rd b93e786ff179ff363867f04592b79979 *man/GtkRange.Rd bb5f47174c5bc146818513c612263315 *man/GtkRecentAction.Rd 6dbe90bd1ca52ece864458af05248fde *man/GtkRecentChooser.Rd b54974169f6249bf2cd09ca9536979c8 *man/GtkRecentChooserDialog.Rd a0008e23a1718cf5f5f857cacb050cfd *man/GtkRecentChooserMenu.Rd 2040aab2ddbefa2a3a8c62eddae7e336 *man/GtkRecentChooserWidget.Rd 5446ec7dbf33d1db9e59d2ec8d693c7f *man/GtkRecentFilter.Rd d829feef3ef323e8c33fc598a8397000 *man/GtkRecentManager.Rd 63917c24ca79a1736ecd9f0636b3fa7f *man/GtkRuler.Rd d33ed2ae5a3d3249537fce8c72b62182 *man/GtkScale.Rd 4565d719fb661e21aae2536c74dd0863 *man/GtkScaleButton.Rd b99a52c216d5f977e27ea6fda299f978 *man/GtkScrollbar.Rd c2e52757d7dc0fbb1d6a921f280578e1 *man/GtkScrolledWindow.Rd 63d105b24c61c875f5e45899d65675b5 *man/GtkSeparator.Rd a33119a4de5f8e93d08d2513cad4833c *man/GtkSeparatorMenuItem.Rd c9a0df7c9ed11cfd8c437c3ffac69660 *man/GtkSeparatorToolItem.Rd d8ed43e46361a1bc67ca1a6c9aa1ab6a *man/GtkSettings.Rd 16f6ed94b60f7ce473bd418950ea2422 *man/GtkSizeGroup.Rd dc0685b31fcab52bcbce063da4943ef7 *man/GtkSocket.Rd f7a9e2fbca9e1eb02a72a03758ff9b66 *man/GtkSpinButton.Rd ec19170afee850e006fccb6bba6f932e *man/GtkSpinner.Rd de46b71b99ff882f8d6d2e916c126274 *man/GtkStatusIcon.Rd f31f27b10ae3ac998b2bec1712ca24e3 *man/GtkStatusbar.Rd 9f32cf287800878bde78e9143fb5938e *man/GtkStyle.Rd e021e3840efa01fe57818f7ec144047e *man/GtkTable.Rd f56cc1bc9ecd7c4facb328836b6fdd0f *man/GtkTearoffMenuItem.Rd 94f63d81e3598f9825786ad7bf016ff0 *man/GtkTextBuffer.Rd de95a7812814c437ab39c4a55da1a7f0 *man/GtkTextIter.Rd 230fef283a65ff5c4e5c69a34a471bdc *man/GtkTextMark.Rd d7475e560ed9daca4360b97d2b7d9c79 *man/GtkTextTag.Rd 009fdc2be0bbaf7ee4e3a6bf724094ae *man/GtkTextTagTable.Rd 2bccfc32d609ab2d1af2e4eeb8ae2138 *man/GtkTextView.Rd 885cc6eced8d3225a6012a360431365d *man/GtkTipsQuery.Rd f3c7bb4a604c4d167cc8734ed7bebe31 *man/GtkToggleAction.Rd 8dc9ffb645aa5079c4cde842867a2c8a *man/GtkToggleButton.Rd b5167787730b7fd186fe18b30c8c88f1 *man/GtkToggleToolButton.Rd ad925886110f0163eaba6bb5e56d2ef4 *man/GtkToolButton.Rd e7f8b93b7086cec94d3640286d56dfd6 *man/GtkToolItem.Rd 4a5b63164b34d7fbb04ae3e91a9038aa *man/GtkToolItemGroup.Rd 6a61a383537146da0c6b58f812caa912 *man/GtkToolPalette.Rd 40127bd907602d896cacea601c365ce9 *man/GtkToolShell.Rd 8842deed9bdc4fa73f99c7aa26d237a9 *man/GtkToolbar.Rd af29e940e7ebab3f176acd2471d14e7a *man/GtkTooltip.Rd 2bf62284dbe51f7439e2fd89b80bd99e *man/GtkTooltips.Rd af0814567784f029467def486414d1d7 *man/GtkTreeModel.Rd b0dc59982803b44fa9ce07972510522e *man/GtkTreeModelFilter.Rd eafedbf693f5ac0a6e3334e806e415c4 *man/GtkTreeModelSort.Rd 5cd03493ede51e83407e751a271fef60 *man/GtkTreeSelection.Rd 0d4cb8d30f9e535386c69c58b68bd0f8 *man/GtkTreeSortable.Rd 20f5f8087deff878ee322965b013da79 *man/GtkTreeStore.Rd 2165711aa13263bad0c2b21c4de49246 *man/GtkTreeView.Rd c2b211a696d683b2b313077b09e40be4 *man/GtkTreeViewColumn.Rd 25f7512834cb328184a1d5a64f65f2e8 *man/GtkUIManager.Rd 98dc9329a4fb8f55337d4f1eafbbb307 *man/GtkVBox.Rd 4aa35363b05c278b289a210771ba58c3 *man/GtkVButtonBox.Rd 3f3fe9b38ee69fb05c7938f4ef37de19 *man/GtkVPaned.Rd cb9e2ea3994d8ce661df04b995f6b2dc *man/GtkVRuler.Rd 3d378a13df7159682882080628bd8c51 *man/GtkVScale.Rd 22665d49336ced041ca2df94c388a957 *man/GtkVScrollbar.Rd b6d0841dce7725a0b9bb312c57b4a24e *man/GtkVSeparator.Rd a5d1fb9b3250d406b003fb35f5cbe435 *man/GtkViewport.Rd ddc979880ce4825f7d06ecb87f1fbfe9 *man/GtkVolumeButton.Rd 146ec4a0ab7e989825530bdb54196840 *man/GtkWidget.Rd eb0496cc96286a1c9cc4ecd90be19255 *man/GtkWindow.Rd d88a66ba222bd8d7f7f92035f6ed3cc8 *man/GtkWindowGroup.Rd b54a921814252986f7fca2995a9ae2e0 *man/Pango.Rd aaef6fd864a67ed1b60caeace8a211d3 *man/PangoRenderer.Rd 3c7d793a28635e7de8863a344cb3ec60 *man/RGtk.Rd be751eac809c9d6c6d529e328e5e3885 *man/RGtkDataFrame.Rd 5c5c484153916751ee666d60972cfbce *man/RGtkObject.Rd d6a7e98cf6dd98274649b6480c1c7da8 *man/argInfo.Rd 02df0ed38cdcbdb62240b509e7133c2e *man/assertions.Rd e9d256bf03c7dc7136c4793349db9f7c *man/atk-AtkMisc.Rd 8f79bc7eccb2e27ec3793aab10547477 *man/atk-AtkState.Rd 802c2ea9e7f0eba08299a1cd3fd060dd *man/atkActionDoAction.Rd 248d5a47a5bdbef67043545f7c453b69 *man/atkActionGetDescription.Rd f05f6d9470859190e71766400495c66d *man/atkActionGetKeybinding.Rd 875cddef40b42c9b5869a5bfb57d485d *man/atkActionGetLocalizedName.Rd 5b105ead48eeb36ea031b96b2d2f4d98 *man/atkActionGetNActions.Rd 387d214cf43f28f0b709ba80597d559c *man/atkActionGetName.Rd b9afda66a46e41fc9dc27b1e94645bbe *man/atkActionSetDescription.Rd 757212f59df709880d2d544724b81322 *man/atkAddFocusTracker.Rd 34e27b9249a1167c106d82861f38b96a *man/atkAddGlobalEventListener.Rd 251a1f4553af67241c3023042d88b48a *man/atkAddKeyEventListener.Rd 913e5f8483f11d89268e0c1cb2a9c78d *man/atkComponentAddFocusHandler.Rd 7e9b6f64df7c38dc475f503211bfc9f9 *man/atkComponentContains.Rd 009ce11cafbe58ed4f60e95c2a0e3613 *man/atkComponentGetAlpha.Rd d4399d599bb5daa053cdbe9ce3a4f228 *man/atkComponentGetExtents.Rd d51838f002187f1c6e6956390b329a90 *man/atkComponentGetLayer.Rd 625741d02fa08cfb7b74444f41e8e2cc *man/atkComponentGetMdiZorder.Rd 832637f9a2249d04d96c561bd4b94cb1 *man/atkComponentGetPosition.Rd 805a5d5e17a22a14999dd0d611aec695 *man/atkComponentGetSize.Rd 315f4e5f8555f6de172138a73aff2134 *man/atkComponentGrabFocus.Rd 1ba02eaceed7b0fe775ba2a835a84a76 *man/atkComponentRefAccessibleAtPoint.Rd 4cfd20c619f75ca2656f357dd6553b28 *man/atkComponentRemoveFocusHandler.Rd a629b9f70f9f2c750d90d6b9449af413 *man/atkComponentSetExtents.Rd b527f0fe4932013d087996c5ac659ed4 *man/atkComponentSetPosition.Rd a8207b03e00488239b16b0405d73c099 *man/atkComponentSetSize.Rd 5a63c4e52592dd8174bdcf24c2be898c *man/atkDocumentGetAttributeValue.Rd 4a5075404bfca65ea3f51412b125966a *man/atkDocumentGetAttributes.Rd 8f9e8930bc91f4406896b34a4e163f12 *man/atkDocumentGetDocument.Rd a8425f66c260abab62c02c32b1ee40a8 *man/atkDocumentGetDocumentType.Rd 390b5c40d7d1c86ef8b9f1e05715df12 *man/atkDocumentGetLocale.Rd 44b82acf705d03227f4b970bba2e14e1 *man/atkDocumentSetAttributeValue.Rd 71b407fe17f99daf20fc8fc654c664dc *man/atkEditableTextCopyText.Rd dcca58d138d155d492c848700e767b1f *man/atkEditableTextCutText.Rd 2ea656ddd4ae36893e3fe45fed432136 *man/atkEditableTextDeleteText.Rd 9445242e5da9e79bb8211fe8cc1fbc50 *man/atkEditableTextInsertText.Rd 960dccb766e2fac76a4406835b171f3b *man/atkEditableTextPasteText.Rd 57345cc3b48ccbc97aa918697bd4174f *man/atkEditableTextSetRunAttributes.Rd e1a37171d4e6422b25bc74822c62192f *man/atkEditableTextSetTextContents.Rd bebf09bbda818fd3e35ae180967612ac *man/atkFocusTrackerInit.Rd 58def2ec24109cbfddbad30df22ef297 *man/atkFocusTrackerNotify.Rd f08f2568b615f9efad6dd6038d7adfc2 *man/atkGObjectAccessibleForObject.Rd 398a0417ec9473742f088dab805846a7 *man/atkGObjectAccessibleGetObject.Rd a9681eed4c81a5b23bccb017b8fe1d56 *man/atkGetDefaultRegistry.Rd d0750d5a10d17447d337dca785acfe4a *man/atkGetFocusObject.Rd 9673d44856d8b325211b873dda8583b2 *man/atkGetRoot.Rd aed392d7bcecfd2d4d27be68c3c3989e *man/atkGetToolkitName.Rd 6d147f02632b08cfe4b77f797080eb3c *man/atkGetToolkitVersion.Rd 8b99fe323436e209f4397143c55eea25 *man/atkHyperlinkGetEndIndex.Rd 4aab935b8d6c769cdffc05d4d81c18ed *man/atkHyperlinkGetNAnchors.Rd f56d296c247eed20937b214f6289237c *man/atkHyperlinkGetObject.Rd e132754c511b1ace23eee4569fcff3d3 *man/atkHyperlinkGetStartIndex.Rd 76e1d8baf28771501293457a0e81b45a *man/atkHyperlinkGetUri.Rd b4b4eb71415decf5ef40bd70d896f3a5 *man/atkHyperlinkIsInline.Rd ce7a1006cb564f77cc48112d9463d3fe *man/atkHyperlinkIsSelectedLink.Rd de1f621962559092d99301c6af0d600e *man/atkHyperlinkIsValid.Rd e71a20e94a47777d742e295a5b0a1476 *man/atkHypertextGetLink.Rd 8058e1f5dbf148413eb34cce07415b41 *man/atkHypertextGetLinkIndex.Rd 5c2878a4b9514554b4ff42c02469a246 *man/atkHypertextGetNLinks.Rd 88e89e08824b1a306233bca8c81d8132 *man/atkImageGetImageDescription.Rd d771040e30d2998d813ac0064ba2be74 *man/atkImageGetImageLocale.Rd a0d0be218c42a0f4157a915616657673 *man/atkImageGetImagePosition.Rd 1dfb04e13e902677ba40eb6489c5467c *man/atkImageGetImageSize.Rd 8af90be99845fc6a1ac87f483cd4957f *man/atkImageSetImageDescription.Rd 9aa1716a50029ee9504ae57eb4f2d491 *man/atkImplementorRefAccessible.Rd 525cba6cada31b8322c67624fc60217a *man/atkNoOpObjectFactoryNew.Rd 6d01f4f3cff81235ee5a53d737da6e4c *man/atkNoOpObjectNew.Rd 65601047dbfe0a4bb5de3b2b9de6246c *man/atkObjectAddRelationship.Rd d32c4da332ecc964e92575f7681be1ee *man/atkObjectConnectPropertyChangeHandler.Rd 1979c50a8ff4612097962671162a9915 *man/atkObjectFactoryCreateAccessible.Rd 05746e9d2ae512fe877005488498ffeb *man/atkObjectFactoryGetAccessibleType.Rd 67b0e67579c5ce054ec7f99924cf0b61 *man/atkObjectFactoryInvalidate.Rd 4344e5044fcbfed1e77e12bbf4dbb98c *man/atkObjectGetAttributes.Rd 712e1a3355d3a2ba7056e9fae5564c94 *man/atkObjectGetDescription.Rd 7e6e8c5178f45a7db643995bbb2e5972 *man/atkObjectGetIndexInParent.Rd eeb9de349582984e528b3404f0ebd3be *man/atkObjectGetLayer.Rd 9b0d7919f412b14b9daae0d66eb06bec *man/atkObjectGetMdiZorder.Rd d5a74e6c9a8bc6e6e60292f347d15e9d *man/atkObjectGetNAccessibleChildren.Rd 36336fcc1c8902b159121bf4c8bb5a6e *man/atkObjectGetName.Rd 975ef4905e275680d6adc554ea7df2bb *man/atkObjectGetParent.Rd d815b13f2cc4f892654445a80998a6e1 *man/atkObjectGetRole.Rd 58190d5ba70346f5ab626f514894bb8a *man/atkObjectInitialize.Rd 7757d2fdbab8a21534ea01ed0d18f375 *man/atkObjectNotifyStateChange.Rd fcc9fbe973bbb034409b5b033f925b3e *man/atkObjectRefAccessibleChild.Rd c0b9316a44984d2643863cf938e224ca *man/atkObjectRefRelationSet.Rd e6900e71bfc767122b648b662bbef4e9 *man/atkObjectRefStateSet.Rd e5ffbdf93f31e49ab0a43054af11cff0 *man/atkObjectRemovePropertyChangeHandler.Rd 91dd7010368389adf21971f86a56ffb8 *man/atkObjectRemoveRelationship.Rd b0a376ead6a39d9ae219d9efc58b64b4 *man/atkObjectSetDescription.Rd 1b98f9d36a8cbb25ea75dda9d69b3774 *man/atkObjectSetName.Rd 7ea215cf6390669006c0981e901e8555 *man/atkObjectSetParent.Rd 66fafd82e4e496ffa7697defa03eac76 *man/atkObjectSetRole.Rd 42ec57fbfe7635b41f743081eaf5b069 *man/atkRegistryGetFactory.Rd 7cf1dd05afa995916294adab35e99d88 *man/atkRegistryGetFactoryType.Rd ef1adeeff4bc7d3f6b92bc6cd3136dcc *man/atkRegistrySetFactoryType.Rd 3084097baf1f4af89ae435f3dab9e84d *man/atkRelationAddTarget.Rd 17a2b1f378ae1c0a285b20ae4f11a4d3 *man/atkRelationGetRelationType.Rd 7cc869ebfb29ca1a788e9c6f9d3ad3d4 *man/atkRelationGetTarget.Rd 759fd57da9d34c5082e9f70c39ade98e *man/atkRelationNew.Rd 7bfa87143a0d18ac63c139b34f98c1d5 *man/atkRelationSetAdd.Rd 7fc8d074b41f80cfbabadc0777269446 *man/atkRelationSetAddRelationByType.Rd bc294ac295be63a6b0278fe5dba9e194 *man/atkRelationSetContains.Rd daa8fe9be584028ceafdc68ad738a0e4 *man/atkRelationSetGetNRelations.Rd 43510d7b30eef69fe86965e17cbe57ef *man/atkRelationSetGetRelation.Rd e9ede2e42f5492f49c758fb7fc6a452e *man/atkRelationSetGetRelationByType.Rd b8a3151e7d92de14ea5e15472043e74b *man/atkRelationSetNew.Rd 9647df034a2b2236e7132b92fa17ac72 *man/atkRelationSetRemove.Rd 0647fec632116ab7772da947268cd573 *man/atkRelationTypeForName.Rd c3f70d24eece0512648e9be9868e42d9 *man/atkRelationTypeGetName.Rd 2869605777d2b9e4f09c9c705a7aab24 *man/atkRelationTypeRegister.Rd daf301cbbb40349602feb1aca7702425 *man/atkRemoveFocusTracker.Rd 41e2e67627ced3c09612527ae6ff5642 *man/atkRemoveGlobalEventListener.Rd 43cd188d3670f1d81f93853cb6ff6bf9 *man/atkRemoveKeyEventListener.Rd d8ca81977bb5a1fe36d9b4c26d77cb97 *man/atkRoleForName.Rd 92fd26e819f65ad3e041eca661930fb0 *man/atkRoleGetLocalizedName.Rd b6c36b1cffbd2f843832720885c9824a *man/atkRoleGetName.Rd 60034fc8b5011e3aae6e1340eb8fb7e6 *man/atkRoleRegister.Rd 7b4c707f82d740aca4db69452ecdd121 *man/atkSelectionAddSelection.Rd 49526897eba5445573b03d08c42bebbf *man/atkSelectionClearSelection.Rd 071c46a7d10cc71623225ff16a103ada *man/atkSelectionGetSelectionCount.Rd 3ce3c9c13276ec9862553f3e80942fd8 *man/atkSelectionIsChildSelected.Rd b8cfd3da390a4b6c293dd1a70ce3a0f5 *man/atkSelectionRefSelection.Rd b9287779a98406916ebc750abc5de866 *man/atkSelectionRemoveSelection.Rd 50aabe11cb58536180922718273b9785 *man/atkSelectionSelectAllSelection.Rd 62fb8ed3da43f34b776d939fb4227936 *man/atkStateSetAddState.Rd 8281168e76d62e3c6def126be3df38b7 *man/atkStateSetAddStates.Rd c13f41d28a386662f804fe1e14649ccd *man/atkStateSetAndSets.Rd dab1cef2771bd34339647e1057f7409c *man/atkStateSetClearStates.Rd c54766eafcd5051e1eb211a0b9a38efe *man/atkStateSetContainsState.Rd cf42ec34814f03d57f64bab21a21f746 *man/atkStateSetContainsStates.Rd 1bd317b20da2242461d7e0900171bb6b *man/atkStateSetIsEmpty.Rd f95c4c622ea757e06cc295273a74d974 *man/atkStateSetNew.Rd a86da4811ba4b1037cf4a3b9372ae4a5 *man/atkStateSetOrSets.Rd 4cd4febb32cd0f0b9fc0192f06c3918a *man/atkStateSetRemoveState.Rd 77ee091a7c14b7d8a7e1e96328c5c91e *man/atkStateSetXorSets.Rd 1ef150964229c9f5b51dc07d2f92901a *man/atkStateTypeForName.Rd 3da37af6426f4a2a4135ac84472b162b *man/atkStateTypeGetName.Rd b50a5d10de3e3eb34605b145a777655e *man/atkStateTypeRegister.Rd f0e33693be65f4078620d6e07bffdb73 *man/atkStreamableContentGetMimeType.Rd 7004b796649c5ce6b33584f96652b0eb *man/atkStreamableContentGetNMimeTypes.Rd c3f72480d52b3bad7d3ff9f9d0111834 *man/atkStreamableContentGetStream.Rd 0895eff76cf4fe7e885c0de123820948 *man/atkTableAddColumnSelection.Rd 7e3a45a047ff2653da670213fc58a436 *man/atkTableAddRowSelection.Rd 9ea25e09ac0b7fa00903dfa952ac1b7c *man/atkTableGetCaption.Rd 4f7eb5d3806dc981e4561e60a8946a9a *man/atkTableGetColumnAtIndex.Rd a5b48d481bb37f47800a060ad8d7466e *man/atkTableGetColumnDescription.Rd c225cd61494e8bd179180c639d5a6ecf *man/atkTableGetColumnExtentAt.Rd f8dc45cf627726965ed1debb527663c9 *man/atkTableGetColumnHeader.Rd 3648c2e4ef4c636cba8c2fe1b38659e2 *man/atkTableGetIndexAt.Rd 76eb4ccbc61ce480924adf3c0d98bd16 *man/atkTableGetNColumns.Rd a8e833ae71641662294e2b46eb15ecec *man/atkTableGetNRows.Rd 85bdf52d878da913e5bdf62b7a85952d *man/atkTableGetRowAtIndex.Rd dc33fa503d8bfc7832033be6f8523d1e *man/atkTableGetRowDescription.Rd 4fb4439233ef4c0a749b78f0590efd48 *man/atkTableGetRowExtentAt.Rd df9e0e2cd92c08ed342c0bcc9cc97143 *man/atkTableGetRowHeader.Rd 95f04432b16d90c5a605592dcc5ba563 *man/atkTableGetSelectedColumns.Rd 9ffad4fd3d20a34afdefca250bed8062 *man/atkTableGetSelectedRows.Rd 71cf3c4fb5e14100887fb24704332e82 *man/atkTableGetSummary.Rd 41e42823269394b3e6dedf1edae5a1f1 *man/atkTableIsColumnSelected.Rd 7e5f22b036f86ff34d4cdc51aa133989 *man/atkTableIsRowSelected.Rd 15072557425554869cd215901d84463f *man/atkTableIsSelected.Rd 31d84bab2e0a549bbd185eef58802cff *man/atkTableRefAt.Rd 85fa456a4ac0701ce17f4496ceb1c7f6 *man/atkTableRemoveColumnSelection.Rd 342d7bb68fb5831b273e0fe1002cb28f *man/atkTableRemoveRowSelection.Rd cb03cd7534fa2218fcfe6361879f90a7 *man/atkTableSetCaption.Rd e4e936a7fda2ecd9b3d559f27edfb8de *man/atkTableSetColumnDescription.Rd 65381e706a453d35036e46d33525e8f0 *man/atkTableSetColumnHeader.Rd d545ef0227a5d2817d48e42bf39ae21f *man/atkTableSetRowDescription.Rd 057d2c5343e5793bbafc281c316cde68 *man/atkTableSetRowHeader.Rd 7df6b9b888dfadb6f4ede47ff62e8d4a *man/atkTableSetSummary.Rd e5f28fed26d04d79f1fa307ec4afc5ed *man/atkTextAddSelection.Rd ca6947f685c162b87fca4c66ab0f56c7 *man/atkTextAttributeForName.Rd 9d9ce69fbf457601e153ea9c4a25265a *man/atkTextAttributeGetName.Rd 0a1089f9811f93d2e9dea32e8e92601f *man/atkTextAttributeGetValue.Rd b130bc31f97d2d00877bf6119b0f44ab *man/atkTextAttributeRegister.Rd 5e200d60cb65384dcd350dfd6d6e2a23 *man/atkTextGetBoundedRanges.Rd 741b27a9019c76f168ee4d335ba26e4d *man/atkTextGetCaretOffset.Rd a1b725da5ab68c52753e79c60759b5e8 *man/atkTextGetCharacterAtOffset.Rd 9778c2ab9810de1834d32c74e5a618f8 *man/atkTextGetCharacterCount.Rd 27fbc722b9d99017717da7bf78c2f040 *man/atkTextGetCharacterExtents.Rd 9a9ceb8c0d4e89052649e18c3c53e8de *man/atkTextGetDefaultAttributes.Rd 97577fa7566ccc819d0c159d3c0fe604 *man/atkTextGetNSelections.Rd cf7ac74589013044a7f3c8a50056978c *man/atkTextGetOffsetAtPoint.Rd db59245583366663cf5c0e5f7b36091e *man/atkTextGetRangeExtents.Rd 18968d7251e5901d155ae9edb1628afe *man/atkTextGetRunAttributes.Rd 59983a670265061c6926f4504a68c8a3 *man/atkTextGetSelection.Rd 407391699d6992b37128b2b1a645c0f8 *man/atkTextGetText.Rd 923943814f588cfc4bd229cdf2358631 *man/atkTextGetTextAfterOffset.Rd 166fa6040d725b21bd986bd5fee5d6e1 *man/atkTextGetTextAtOffset.Rd c3790a2d1ca1ec969beaa13b886bc4f6 *man/atkTextGetTextBeforeOffset.Rd 699ccb606d3a3ca3d214ee8a820447ff *man/atkTextRemoveSelection.Rd a30ad1b1110d230eed2acf0f6348b048 *man/atkTextSetCaretOffset.Rd 0370a4c047ed061b2a3ba06e2650ae35 *man/atkTextSetSelection.Rd 91f7065316f32421a10f54d9388b7d85 *man/atkValueGetCurrentValue.Rd 22a55a3a63e937e69bb0b26f80c6e52f *man/atkValueGetMaximumValue.Rd 468fc5ec80207552aa58ad55d4b24d3d *man/atkValueGetMinimumValue.Rd a1d2ac7c98c3619d84ac0979354b66e4 *man/atkValueSetCurrentValue.Rd d4ac012731bc2e97d1a437e41de9b8a7 *man/cairo-context.Rd 8ca1913217112d93d8d2e8d8457fcb42 *man/cairo-error-status.Rd 6fe7fad657ffaeead5f7ce3c8f72f503 *man/cairo-font-face.Rd a60539e6413477abe4114fa1369f3cc8 *man/cairo-font-options.Rd 39c9b31e8fa5d4d2d713050e60cd874e *man/cairo-image-surface.Rd 38b665baee9456cb0e7383e5f2c2f87c *man/cairo-matrix.Rd 88048d1f33512f20d72df7c30a195a4e *man/cairo-paths.Rd 4e5cfd3fe9341926a2339a90ec4a6813 *man/cairo-pattern.Rd ca99613f7c08d1b220686389b5860843 *man/cairo-pdf-surface.Rd 9f1b18639bac099f23ca647bcc2fc82a *man/cairo-png-functions.Rd c62521a8989a865cbd8fd8a5fd0b0569 *man/cairo-ps-surface.Rd fb420349a7456b876092269aba3e55e2 *man/cairo-quartz-font.Rd 46fd2cff6b7d8eb2952bc8081b803b65 *man/cairo-scaled-font.Rd 2634730208382123b8704247a2088218 *man/cairo-surface.Rd ed118af74124d8fd7ac5f9968f2555da *man/cairo-svg-surface.Rd 23d43e42475a8f727a71a83f14f3071b *man/cairo-text.Rd f9a5d2ae91532a34fbd2f78ecfa4a8a6 *man/cairo-transformations.Rd 08a0f959b33c88b11f1530cc6914f04b *man/cairo-types.Rd dee3192c8ed08dc4b127956a7cede591 *man/cairo-user-font.Rd a93c71e1d5e2b0cb74377e68ae4f36a5 *man/cairo-version-info.Rd 9530ccb105029ee7988e1587722f5673 *man/cairoAppendPath.Rd c29a9a9eb496adbb24cd26aa8d7d9811 *man/cairoArc.Rd af59a45f00e2257b2b9009f7af8a93b8 *man/cairoArcNegative.Rd 399e2f87b1c5e6eae69205226104e6bf *man/cairoClip.Rd 2236fffc25041a55cf42368045caef3b *man/cairoClipExtents.Rd 5674dbf7a8cc5f831accf0bac932159b *man/cairoClipPreserve.Rd 64df1409e9daa36c149a8a3828b9f619 *man/cairoClosePath.Rd 6c41705209cea47a9fff92a75c5a3c03 *man/cairoCopyClipRectangleList.Rd 558c49b558da623f5d1b6cb550810f13 *man/cairoCopyPage.Rd 39c6df5bad035b5a3be7a065a807aea7 *man/cairoCopyPath.Rd 9a3f09016e36465117d23f97fa216073 *man/cairoCopyPathFlat.Rd 7abd2881f85239fd27fc052314aaacab *man/cairoCreate.Rd f48fe61561e169fceded55895ef03a55 *man/cairoCurveTo.Rd 5ede43821ae264b416094f37bd7c170b *man/cairoDeviceToUser.Rd 0c20b68529abcecce30e0b7c89ce675e *man/cairoDeviceToUserDistance.Rd 92cd6096ab2a9981c273875182402a7c *man/cairoFill.Rd c20268f9c96ee3b574f1499dd10f2fb9 *man/cairoFillExtents.Rd ecded9c85f6a18eda891028e6cb83cb5 *man/cairoFillPreserve.Rd a27531bc46c1695afd81da2e684fad76 *man/cairoFontExtents.Rd fd5da91b0192e0a1d9cde660d7cdbdb7 *man/cairoFontFaceGetType.Rd 7417992dcadc26442a93963c6f3eedb0 *man/cairoFontFaceGetUserData.Rd dfebf244b6d4632ec39120ad447020a6 *man/cairoFontFaceSetUserData.Rd 937ea44b61b113ce7a9cd9fe815d1665 *man/cairoFontFaceStatus.Rd c9b6b03ad20e803a67f11d4108677f39 *man/cairoFontOptionsCopy.Rd eb5a08bc7c915f3d50e846aaebd32978 *man/cairoFontOptionsCreate.Rd c26064364d33c5719f24bc555897a1fa *man/cairoFontOptionsEqual.Rd 6812a6d87fd0846a7fadf3deaf904dbb *man/cairoFontOptionsGetAntialias.Rd 713a7ab372bd17692147294b392b8057 *man/cairoFontOptionsGetHintMetrics.Rd fbab76610df8a94770057ce0bbdeb9aa *man/cairoFontOptionsGetHintStyle.Rd 0cd29dd41bc38348b7cacffe790e3cc6 *man/cairoFontOptionsGetSubpixelOrder.Rd 5d896803b2c1383a94214e3fb493c0fa *man/cairoFontOptionsMerge.Rd 3ac456a7ec1128d785267747aff64845 *man/cairoFontOptionsSetAntialias.Rd 2315da03408bcaec93d65399bec76af6 *man/cairoFontOptionsSetHintMetrics.Rd d3fede78e463b68edcd8a0c8681e2ec7 *man/cairoFontOptionsSetHintStyle.Rd 028061a4564b187a652d177f5644f2f2 *man/cairoFontOptionsSetSubpixelOrder.Rd 92c649437e226593adfe0b8bfc131beb *man/cairoFontOptionsStatus.Rd c0f2c77559cae13b5c9bccad8bac405e *man/cairoFormatStrideForWidth.Rd e6abf042437d3cef64a6ba5d45972d42 *man/cairoGetAntialias.Rd 331d7fb582a636c55cb3f455bca3399f *man/cairoGetCurrentPoint.Rd fcc53e2715f74b2cac1cec4eda41003c *man/cairoGetDash.Rd 5ce78303d247facb4b6abf97ecc5402e *man/cairoGetDashCount.Rd c9c84760ce07d589672a25ed610e60d4 *man/cairoGetFillRule.Rd 4306dbd1bc9c5815b041685e128c1eb9 *man/cairoGetFontFace.Rd cfe7cfed009066bf01791ad04606fe63 *man/cairoGetFontMatrix.Rd 4b0e49898ef360a2077a6229489db8ad *man/cairoGetFontOptions.Rd 567f0c32f66a53bb6f6abb3bf34856fb *man/cairoGetGroupTarget.Rd 72a3db61f06987deee2fe25a341ff121 *man/cairoGetLineCap.Rd cfa03e1e6f70ede5f3c90c131284b44d *man/cairoGetLineJoin.Rd 71b9b8936149659c8c0d88117ac5d9ac *man/cairoGetLineWidth.Rd 1563cb24ff2b3d3ac21b316c2390e9da *man/cairoGetMatrix.Rd a4166bed320782813d59bd1b6f71e835 *man/cairoGetMiterLimit.Rd f275767cf92c4aa3f834bb1f3bef2716 *man/cairoGetOperator.Rd 6832ee370f89b19d8777af7da8bf1dd4 *man/cairoGetScaledFont.Rd 6e06306ceefce86e48b8aa2a2a67f5c3 *man/cairoGetSource.Rd 202bc1a395bda648d954ace1cc4e7179 *man/cairoGetTarget.Rd f0a97cc48a17b8e765d76bc22031aef5 *man/cairoGetTolerance.Rd aaefd71259e350af416fabb87f9fbc7a *man/cairoGetUserData.Rd 1ad7d636d1a22d8546b0581e7570f8c1 *man/cairoGlyphExtents.Rd 12d1099595ea8718984647a6a100f078 *man/cairoGlyphPath.Rd 9e80d28043ccd420a71f52cfdc8931ee *man/cairoHasCurrentPoint.Rd 12d7a3d1965616226d0b9c6bca17be7d *man/cairoIdentityMatrix.Rd 3493da723badec1bd4c5202760656757 *man/cairoImageSurfaceCreate.Rd 25907abdee5b94948b960fac013688bd *man/cairoImageSurfaceCreateForData.Rd f7a567045c3f141af233828615d952d3 *man/cairoImageSurfaceCreateFromPng.Rd 59d16f7d27046ecc1112b0db83e5af95 *man/cairoImageSurfaceCreateFromPngStream.Rd 9e227f736d4bef8b58f0a3344664453f *man/cairoImageSurfaceGetData.Rd 23b81c955b6bdf88fd0a0f0d6efd88d1 *man/cairoImageSurfaceGetFormat.Rd ac71b8125d702459d8bd1e83e01ed785 *man/cairoImageSurfaceGetHeight.Rd 2f89142c881ba902e220cea4d177ed9f *man/cairoImageSurfaceGetStride.Rd 808d4c80175eac9d1ed11824f7ac22d0 *man/cairoImageSurfaceGetWidth.Rd 2fda5651f1f19ec3468eed7fd0cc674e *man/cairoInFill.Rd 1386a19e3a834517611a8cab310eb599 *man/cairoInStroke.Rd 5b6d3714e7f94a7c9544dcb7fbeadb03 *man/cairoLineTo.Rd 5120ae1a79e1ac87630125c4ff08ac3e *man/cairoMask.Rd 7a77579698de28268d34ae2e2330b6e2 *man/cairoMaskSurface.Rd c0b32204c908e8770a9f0a8df0896207 *man/cairoMatrixInit.Rd 8f37324cc92d01ca73862214680c9145 *man/cairoMatrixInitIdentity.Rd e85adec037c2ce05da4509fef4e9325a *man/cairoMatrixInitRotate.Rd 4b06245c5c18b219da7f842d1b81a752 *man/cairoMatrixInitScale.Rd d7eb36d6ddcea148bfba88516f4cd76c *man/cairoMatrixInitTranslate.Rd 2b9b069168087e5998bc847fb6c0b3b9 *man/cairoMatrixInvert.Rd 4544fb63233d2a09ef91967d455fe42d *man/cairoMatrixMultiply.Rd da1da01d620b5c494d40608393df048f *man/cairoMatrixRotate.Rd 3d5562e5c0e005cc3eb5d896a7a907c4 *man/cairoMatrixScale.Rd 7e3311aba31f0b6fa01ef4ab6fa70275 *man/cairoMatrixTransformDistance.Rd a1265c2881345ea53ed0f14c326418d3 *man/cairoMatrixTransformPoint.Rd 3fd05b744bf3c4f871c50a66d625bc27 *man/cairoMatrixTranslate.Rd 493dbf4d0a6a8359df280fa69180b171 *man/cairoMoveTo.Rd 6cacaba1f53791eb6741db6cf91e036a *man/cairoNewPath.Rd bcbb27e381fa66013fa6b8081a8ef2e4 *man/cairoNewSubPath.Rd abe44a65cf5197709ef17013ec8f9224 *man/cairoPaint.Rd 33d332bf67621d4db23398d73d14ddb3 *man/cairoPaintWithAlpha.Rd d6437f4886131177ab8079bacac9c54b *man/cairoPathExtents.Rd 93582f7f88fae492557223853d128209 *man/cairoPatternAddColorStopRgb.Rd ef6eeec2d01eb3c9b53b73f0fd731c68 *man/cairoPatternAddColorStopRgba.Rd 0afc35e423bf6ab1394b175ebb7742e5 *man/cairoPatternCreateForSurface.Rd 585e730777ca252325630f63e04b414a *man/cairoPatternCreateLinear.Rd 355b6cdb534790f33e44e87490c8c01f *man/cairoPatternCreateRadial.Rd 8ce49a727581b810d823c1369ef639db *man/cairoPatternCreateRgb.Rd 17d420151b4c87a5f727a707de92bd7c *man/cairoPatternCreateRgba.Rd e27fd9a60d7633d0dac8b9cd408afe42 *man/cairoPatternGetColorStopCount.Rd 70e3bb6f918858923e4340b38c19b609 *man/cairoPatternGetColorStopRgba.Rd b5c7a50cbe59dcdb6683579c0b26612d *man/cairoPatternGetExtend.Rd 7c667f7bb621076bf21e4988c44b4b7a *man/cairoPatternGetFilter.Rd 1a4d7debe91ea443477b836bb172cf87 *man/cairoPatternGetLinearPoints.Rd 04b586d68bb4aee079bb11209491a981 *man/cairoPatternGetMatrix.Rd a581468b5c756148e99e99a4da4e946a *man/cairoPatternGetRadialCircles.Rd 143a098442e96fe82ba6049d117122a4 *man/cairoPatternGetRgba.Rd 6f03c6bc99aff5b564a6950f0a2e9a57 *man/cairoPatternGetSurface.Rd be22ba328dcf5308bc4b14182412ead7 *man/cairoPatternGetType.Rd 7d878b039c1cec30f02f98735ef1e2d1 *man/cairoPatternGetUserData.Rd 4ba7eeb44dac8622a826db59e64c3e0d *man/cairoPatternSetExtend.Rd ecf0ee6ef3c3acaa5e915a09a39d6775 *man/cairoPatternSetFilter.Rd 9223698b4b2c6a4c1461f18d22c2c8c2 *man/cairoPatternSetMatrix.Rd a5603bcb2f47af05d7016734b1c20ea0 *man/cairoPatternSetUserData.Rd 4469be4da91beab29df4cca35c738e99 *man/cairoPatternStatus.Rd d1c8a123e27979b2f1b861ff32159907 *man/cairoPdfSurfaceCreate.Rd 79098c4bd189cb64928d46231d4cac11 *man/cairoPdfSurfaceCreateForStream.Rd 8599773667a85bb2bdc260fe5db372de *man/cairoPdfSurfaceSetSize.Rd 2fd517a7c4e04c84b0ed8b86db215522 *man/cairoPopGroup.Rd 6b33ed2d358a39505fa174f2e8226ec5 *man/cairoPopGroupToSource.Rd 607364dd5441f3edc3e84cafbd702b72 *man/cairoPsGetLevels.Rd 38310f10b2e006f51cb25950b0c49fc9 *man/cairoPsLevelToString.Rd 06dfa74fe7494cd11c05197f9cd6ed6a *man/cairoPsSurfaceCreate.Rd 00101d9a9bde750d5cc7dbf714a29e59 *man/cairoPsSurfaceCreateForStream.Rd 146e1a2b271170472e99aaffedf09231 *man/cairoPsSurfaceDscBeginPageSetup.Rd 3aa9e6f3f953c8f7856e745076bc7de7 *man/cairoPsSurfaceDscBeginSetup.Rd 1c53e279c4372b87dad7e0774b79bd8a *man/cairoPsSurfaceDscComment.Rd 23e607b6280ab01391c18427fd7cc490 *man/cairoPsSurfaceGetEps.Rd 5da79b3bcb5a666e9e76027b1a1d4c66 *man/cairoPsSurfaceRestrictToLevel.Rd 344c060ae7a0aba18899dcfa400d4c98 *man/cairoPsSurfaceSetEps.Rd f43ba22719c9f4f08d3dfd2d17ea8750 *man/cairoPsSurfaceSetSize.Rd f8bbbd363c1cded202b501cf54c64af6 *man/cairoPushGroup.Rd e1fc982a80d5fe4ef25c674f9c67025a *man/cairoPushGroupWithContent.Rd 181dbfcdee68509e75b0a05493db6cef *man/cairoRectangle.Rd 7fb5d1387061d0a27b6a28d7b09af47f *man/cairoRelCurveTo.Rd 8ec9e55f1e3798293386d25295e2b60b *man/cairoRelLineTo.Rd 0419ce68883f7dacd9f81bc7c1655543 *man/cairoRelMoveTo.Rd 4cf34ec09512b951dfd1ba06e9d79232 *man/cairoResetClip.Rd 13aa99b9fd116a4b2c5128715ba1b371 *man/cairoRestore.Rd 96691b87ddb8facc4a18daf3b752a7d1 *man/cairoRotate.Rd 7929382b601dd06aed40f852bc593dc0 *man/cairoSave.Rd 30ed281ccdd4e36867511be115895c9e *man/cairoScale.Rd a667cdcbae1d65c2567f5f1544c4a55e *man/cairoScaledFontCreate.Rd 11c39fde7aaa57fb227d882e11d7422a *man/cairoScaledFontExtents.Rd bda5556101a18cb9cb51ad0a6748bf95 *man/cairoScaledFontGetCtm.Rd bc5cdcc626d3d72d0832f68f5913086e *man/cairoScaledFontGetFontFace.Rd 2e2a3bae6249f88ea145d5f5b3c690d2 *man/cairoScaledFontGetFontMatrix.Rd 6b054f02db07216820a7989b3c9368eb *man/cairoScaledFontGetFontOptions.Rd fd7391ac78352ede709e049e75ec34dc *man/cairoScaledFontGetScaleMatrix.Rd d59c685ed499ff17a81a5158f211a7ca *man/cairoScaledFontGetType.Rd d747af9e939e5a283ea2d5f3bf6d38f3 *man/cairoScaledFontGetUserData.Rd e8a8532b22bcab340f40dd9917b9a669 *man/cairoScaledFontGlyphExtents.Rd 065dc5d7b4c0aa19ef17b77831f59a5d *man/cairoScaledFontSetUserData.Rd 571dbdc1cea5a6376c64927662e43b06 *man/cairoScaledFontStatus.Rd 4085845cb94fc322c06788c48862d136 *man/cairoScaledFontTextExtents.Rd c8c21ee9997595b0fbd2e8cea04eb2ad *man/cairoScaledFontTextToGlyphs.Rd 67de2a07b19262775381726184618ceb *man/cairoSelectFontFace.Rd 3d952f5a77211cefe95450123044df1b *man/cairoSetAntialias.Rd ada972ea8c93af5dbada6d4d14552a26 *man/cairoSetDash.Rd da1d163da286c5d2d966a72b5bb3af29 *man/cairoSetFillRule.Rd 7ae4cc5fa8b6a17b4b9380c41b344d79 *man/cairoSetFontFace.Rd 5aa2545f467c65295eae60f2e46c8781 *man/cairoSetFontMatrix.Rd 8d867e1aed7974ea97c3544f61b941a0 *man/cairoSetFontOptions.Rd fff450a0497200dcc14788b119f3c578 *man/cairoSetFontSize.Rd f5f391e12983c3463815e5f9eae08543 *man/cairoSetLineCap.Rd 759e897c31fa856f9ff2138df0fcde9b *man/cairoSetLineJoin.Rd 248deded35145bdd1f8a8151d7d9385c *man/cairoSetLineWidth.Rd a6830f15a67107e7e1561d97b4ac8283 *man/cairoSetMatrix.Rd ffc3b96915519fb77e664550a590ed0e *man/cairoSetMiterLimit.Rd 450f293fffc63c6a26289f986978cba5 *man/cairoSetOperator.Rd edcf4288f5f6e2150f5c79433022327b *man/cairoSetScaledFont.Rd a9c200aab5b2f5610f7a85b455103313 *man/cairoSetSource.Rd d81c76013d7bd9a05b2430d00cab1ee4 *man/cairoSetSourceRgb.Rd 45d6853ad0973ccc1a5b23e8f760257a *man/cairoSetSourceRgba.Rd 96e0e83553fa3ed3d300f0caa824a719 *man/cairoSetSourceSurface.Rd a25b1e5ac7c0ef726f7b37a7f9177350 *man/cairoSetTolerance.Rd 41b89eaa98a3b8960a01602226684306 *man/cairoSetUserData.Rd 186630d6fdd9479f8d41793f591a93b4 *man/cairoShowGlyphs.Rd 82d491583def012cd4b5b4027a3bae37 *man/cairoShowPage.Rd 9d6abdc2243dbefd74a618be02c72f1c *man/cairoShowText.Rd e68d78efb105f9d9c31223ae1493682e *man/cairoShowTextGlyphs.Rd e62bea886736fd5168213479cfd88d57 *man/cairoStatus.Rd 85bc9f45ec2678d2555549b3bb0e5815 *man/cairoStatusToString.Rd 8ae5f6735f9b0f5f4b76241c237ccdcb *man/cairoStroke.Rd 8590b862d21b91b3a333e4c69bfcd298 *man/cairoStrokeExtents.Rd c6f0a72ec078611fed15eda0e1b236f1 *man/cairoStrokePreserve.Rd 799c600f9aa7e1923ee43713f71b8207 *man/cairoSurfaceCopyPage.Rd b49e4c1bbc67b98af76e041a0f2aed55 *man/cairoSurfaceCreateSimilar.Rd 645bb7732ca16aa565de4fddd511d278 *man/cairoSurfaceDestroy.Rd 84827b13ed90e55c6dd3205e29fbbf2a *man/cairoSurfaceFinish.Rd 37190183cbe7433ec06ac74a1bac520d *man/cairoSurfaceFlush.Rd 5e948351a65d6f080db9772ebddde417 *man/cairoSurfaceGetContent.Rd e48061314f816b190898029341d65051 *man/cairoSurfaceGetDeviceOffset.Rd 54e0bfec3710dd1a3962f9874894a678 *man/cairoSurfaceGetFallbackResolution.Rd 3407a2375d00510b30cad603c3f9f76a *man/cairoSurfaceGetFontOptions.Rd 0eb35da9ccfd32389aedf42788db808a *man/cairoSurfaceGetType.Rd 8f4683fc424c5a29b45bb9c3e2de1811 *man/cairoSurfaceGetUserData.Rd c3f3b6e5d0ae8d940de8b6cd9f9e8513 *man/cairoSurfaceHasShowTextGlyphs.Rd 575c15cbfba598d9d9dec1c9158f9788 *man/cairoSurfaceMarkDirty.Rd 743b1b8b4c1aead94b7fb7ebb853f9bd *man/cairoSurfaceMarkDirtyRectangle.Rd df8c3fd5359a026f7201d061a06b7b41 *man/cairoSurfaceSetDeviceOffset.Rd 17530f170410441111f6282b6864ae4c *man/cairoSurfaceSetFallbackResolution.Rd f1c1219a7f1ae4baeb514260217f9d50 *man/cairoSurfaceSetUserData.Rd eeec1b0aec9faa9fcbd9ef6990bd2c62 *man/cairoSurfaceShowPage.Rd 58ab501c53d9b6bee791accc5f11303f *man/cairoSurfaceStatus.Rd 0b5e87ae3c28860fdf9e052e03057b31 *man/cairoSurfaceWriteToPng.Rd b922b625c8f45d2a4261ed21ef4926d2 *man/cairoSurfaceWriteToPngStream.Rd d1cabbe59f0f3856ea3f5b7947ebb5f1 *man/cairoSvgGetVersions.Rd 5054a87b85a873a1aef9ad9a2abbe89e *man/cairoSvgSurfaceCreate.Rd aab32c35e5d6d0de10565f06919d0a41 *man/cairoSvgSurfaceCreateForStream.Rd b2ffc5337f17d69671bede9311206c63 *man/cairoSvgSurfaceRestrictToVersion.Rd b3ded72a19ebe4818fda98ae0d2acdd3 *man/cairoSvgVersionToString.Rd 3592499a502583c8ee74287006770b31 *man/cairoTextExtents.Rd c1dd3a5f2330ad01f94caf3d85b341c7 *man/cairoTextPath.Rd 02f3af352e5d1e282d5a0c56c4f34d60 *man/cairoToyFontFaceCreate.Rd 82f79117fe1541a7cd9a11dab889cb2c *man/cairoToyFontFaceGetFamily.Rd 2d879681fda5a2e5141ce9c7ab671b63 *man/cairoToyFontFaceGetSlant.Rd 54a57b0f3421c97a9c6b8f6f1c430832 *man/cairoToyFontFaceGetWeight.Rd 43f0b67f0b943fd1f393343921927d6f *man/cairoTransform.Rd 6c93099c05a5fcc1f403fd0867c7f605 *man/cairoTranslate.Rd 50b47ec69f319bd9d53e20301a557e8e *man/cairoUserFontFaceCreate.Rd 70097cd71f4464951a69797f9ca5e8db *man/cairoUserFontFaceGetInitFunc.Rd f649e1b930e1473bdaa385b203c07a1e *man/cairoUserFontFaceGetRenderGlyphFunc.Rd 880e2d4a5f98ee575ec7c77b14befbb2 *man/cairoUserFontFaceGetTextToGlyphsFunc.Rd 6584ac4db167377defa507179480fee6 *man/cairoUserFontFaceGetUnicodeToGlyphFunc.Rd 15bb021efe84113a137c78fb62fc48b4 *man/cairoUserFontFaceSetInitFunc.Rd 1ad123ba8c4974d8b05afc6e8cf0fc77 *man/cairoUserFontFaceSetRenderGlyphFunc.Rd ccf41209d9df495570fa02059ca18fcd *man/cairoUserFontFaceSetTextToGlyphsFunc.Rd 46d6bad687b62773b3dca7eb18539f6a *man/cairoUserFontFaceSetUnicodeToGlyphFunc.Rd f64297eb08379ecce65243e8a1b01d6e *man/cairoUserToDevice.Rd b948fc1bced6908d357c06e6d61ea28f *man/cairoUserToDeviceDistance.Rd bb062bcfb7a5f831c1af6402f1fc5744 *man/cairoVersion.Rd b49a471608d0ff73f89c5b2781c280a3 *man/cairoVersionString.Rd d34c49853a7cb215c1e1b35146abb6f0 *man/cairoWriteFunc.Rd 36ee66474c0a102a872f954599547155 *man/chap-drawing-model.Rd 24b5257e0f00e7d50e012cd91b0f00d0 *man/checkGTK.Rd a36e38abc1584e0605c9680c3cfa540d *man/children.Rd cfc127afd63a5220ebe85242ca9594be *man/classes.Rd 7312e0c6ce76211e0eb3429e5973457d *man/coercion.Rd b6c0cd566591782292324554e9c7c56e *man/containers.Rd a5ba28dd6468cbd9139277390c9dcf60 *man/custom-tree-models.Rd 58ce306eba6dbb7d1ebb9ddd787a2f44 *man/deprecated.Rd 5512424bca6017698e393521f5eb80ec *man/enums-and-flags.Rd 3a40bcb788ca0e160f806357cb86e251 *man/findWidgetByType.Rd 84768e2d623a40002e8875fb31b41bfe *man/gAppInfoAddSupportsType.Rd be388f51f203c32edafb7c0ad364204f *man/gAppInfoCanDelete.Rd d3b3cf7bcb4b2d447ceb6cd9cd86e3ab *man/gAppInfoCanRemoveSupportsType.Rd 83957350224797b849d8eba9eecaf234 *man/gAppInfoCreateFromCommandline.Rd beeb5badce1af10fe5e35c1a9606fc9c *man/gAppInfoDelete.Rd f440bd29492213d89a2f0d3dcde39ebe *man/gAppInfoDup.Rd 1c23c9aa68a5126173ecd34a65177018 *man/gAppInfoEqual.Rd 2727e4cac0c35aaac5e8197c4e064ea9 *man/gAppInfoGetAll.Rd a0c8ea4fff7e3c5aacd91c3530d77870 *man/gAppInfoGetAllForType.Rd 879fc9343e652761fc3ed835bf4eb357 *man/gAppInfoGetCommandline.Rd 9438c156833cd3ac879d1f629aadd39e *man/gAppInfoGetDefaultForType.Rd b0459151cf5e40dd65cdd9a4ff1806df *man/gAppInfoGetDefaultForUriScheme.Rd c37945ae3576ad8d8ed1db7a090b7fbf *man/gAppInfoGetDescription.Rd d33e04b0a6262ed1ecbee44241267641 *man/gAppInfoGetExecutable.Rd 257a6555e5325e944bdcc2fcd7888c10 *man/gAppInfoGetIcon.Rd e71e5bce5a497087494d962a167c2ad4 *man/gAppInfoGetId.Rd 8785a32ca65ca8fa36cab647f23191f6 *man/gAppInfoGetName.Rd 797401315b0b6c42ef9150098629f9bc *man/gAppInfoLaunch.Rd 47dd42114b4b6080956be073b151a60f *man/gAppInfoLaunchDefaultForUri.Rd 4ac196a800272931301616f8996f47da *man/gAppInfoLaunchUris.Rd fd6f1acd563b6cdb5baf451f61996b2b *man/gAppInfoRemoveSupportsType.Rd 79b450727049fe0c0fb903599859092a *man/gAppInfoResetTypeAssociations.Rd b9712bb6d0edafd37c65015a3491f21a *man/gAppInfoSetAsDefaultForExtension.Rd 4aef0124854bcae5dd563522ee98363a *man/gAppInfoSetAsDefaultForType.Rd f48135f7dbb3259d9fa06d717d6520b7 *man/gAppInfoShouldShow.Rd abb6c637ecc1ecd700574c86370b1686 *man/gAppInfoSupportsFiles.Rd 7d07446cfc22702c8ec0db8295f21351 *man/gAppInfoSupportsUris.Rd 8d607cc7fa2b5221765157ec27af78bf *man/gAppLaunchContextGetDisplay.Rd 610e9d8a9ccdd42d2cb0a162eb2e6a0b *man/gAppLaunchContextGetStartupNotifyId.Rd 42abb463d59b03929905f5a863f570c4 *man/gAppLaunchContextLaunchFailed.Rd 772405b4a7bc4c44ae40d4307fa94a02 *man/gAppLaunchContextNew.Rd c05c0d7d8b1427b173cd2a557c6d7303 *man/gAsyncInitableInitAsync.Rd 29de9834de1ab727d9928a65aa0b9e69 *man/gAsyncInitableInitFinish.Rd f5a9b51b71aaa989314cdb6cb939b6dd *man/gAsyncInitableNewAsync.Rd 46cdcf39dd75a77ea3a6802f96020fad *man/gAsyncInitableNewFinish.Rd 301371225900da80f44cd3cdd8cf7e7d *man/gAsyncResultGetSourceObject.Rd fdfcccff684711e3e3ab8806d56568c7 *man/gAsyncResultGetUserData.Rd 19647df3c56c83f69896501b8345b976 *man/gBufferedInputStreamFill.Rd e7efa1fb3735e7efbad31d5233005191 *man/gBufferedInputStreamFillAsync.Rd 7cf0b890b6d40c3e915142620bfe786d *man/gBufferedInputStreamFillFinish.Rd d4c5d0386724706839afa654e36c68b3 *man/gBufferedInputStreamGetAvailable.Rd f33752df5e6f3751873a9958d6684f57 *man/gBufferedInputStreamGetBufferSize.Rd 26407831d60b396b7ca2bf4e7e252d81 *man/gBufferedInputStreamNew.Rd 9a7733bf630132887d78c9aed0bfce73 *man/gBufferedInputStreamNewSized.Rd 64febb24c24c5ef3df4ecb68fce71526 *man/gBufferedInputStreamPeekBuffer.Rd 20e0109b02638332c18321259d446627 *man/gBufferedInputStreamReadByte.Rd 3b096baf3166bd374d36c401e225fc0e *man/gBufferedInputStreamSetBufferSize.Rd 25c4134d4a3400fe522e680dcf4a8739 *man/gBufferedOutputStreamGetAutoGrow.Rd 5c246b7bc5105364a7459b898b721605 *man/gBufferedOutputStreamGetBufferSize.Rd 0fc5f5fac5dc28bd481e3c77bef89298 *man/gBufferedOutputStreamNew.Rd 8757920e1f7af4274f9d218267751d28 *man/gBufferedOutputStreamNewSized.Rd 25896b2427d28c1da9bedd1d0a8119e6 *man/gBufferedOutputStreamSetAutoGrow.Rd 6a9bd181b3403a49ba1c6f0496bbb855 *man/gBufferedOutputStreamSetBufferSize.Rd 945da4338aa07292ee4f0d09ad05edf7 *man/gCancellableCancel.Rd eac60494dca7d37ae718fd632289ac75 *man/gCancellableDisconnect.Rd 71a4da2a054dacfc84ebf958e3fc3302 *man/gCancellableGetCurrent.Rd ec68061dff21daf982fe14e10f5bb485 *man/gCancellableGetFd.Rd c46f3b0dc9a60240d7bcbc1af6eeddf5 *man/gCancellableIsCancelled.Rd 5cc7d84cbc09ad86b686c19adc6738f4 *man/gCancellableNew.Rd 9bc660ab20604214cde8e95ae5645751 *man/gCancellablePopCurrent.Rd 342bf01e34d4055df032d3fda3f19b04 *man/gCancellablePushCurrent.Rd 45275c1ff091416ff240327c6c8abbb4 *man/gCancellableReleaseFd.Rd d93c53cbdacc42c6c2f6bc2f3ccbf46f *man/gCancellableReset.Rd 0b55b9495df522bab3adaf72f8e61f0c *man/gCancellableSetErrorIfCancelled.Rd b82667a623a83c01f1953f87e7659662 *man/gContentTypeCanBeExecutable.Rd 5cb0da7c2a23894c12d09ae4c9b0a8aa *man/gContentTypeEquals.Rd 066ed8c30151c71a52c4c6f68e791565 *man/gContentTypeFromMimeType.Rd def2618b13f747aeec72341ccb58e7f0 *man/gContentTypeGetDescription.Rd 0201e242f8e8e22cfcdf7a9d44a4a879 *man/gContentTypeGetIcon.Rd fe5b975e5bd30559794715fda3f666cc *man/gContentTypeGetMimeType.Rd c08a804162b28ac0c879d4cefe3cbaf6 *man/gContentTypeGuess.Rd d7f6f8194f60c13af142f5cbdca99ddf *man/gContentTypeGuessForTree.Rd 61378fc80ab08213fa258a0f05bd8174 *man/gContentTypeIsA.Rd 193e17e2eb73c77ebd04efa03c26ed8b *man/gContentTypeIsUnknown.Rd 8dc10fde5e20ad8609b45a04fdb222bf *man/gContentTypesGetRegistered.Rd 97315db8f3112a28399af33f76ac4ad3 *man/gDataInputStreamGetByteOrder.Rd 9aa90cb50819139cb175f3a4243d9df8 *man/gDataInputStreamGetNewlineType.Rd f0fb657d3840930803284cfc6fac3ae5 *man/gDataInputStreamNew.Rd 27eb5e7e82fca60b3288f27ee9a5a0b6 *man/gDataInputStreamReadByte.Rd a9157b716d454387d7349de5a087fbbd *man/gDataInputStreamReadInt16.Rd 8eab1247a55212867a9c0078b89e9130 *man/gDataInputStreamReadInt32.Rd d264a0d5b3225c8683313a4ccb4b8133 *man/gDataInputStreamReadInt64.Rd 96495298ce7ded9bc43d3828a250eedd *man/gDataInputStreamReadLine.Rd 9f67660c013a0db7f6ff89f1c9909221 *man/gDataInputStreamReadLineAsync.Rd 702945cca49cd92366cf498e0da55db1 *man/gDataInputStreamReadLineFinish.Rd 63336d6d0f7cd3aafc0b64b8db0d3210 *man/gDataInputStreamReadUint16.Rd 479a70faf3dc735acc3c7623f911adfe *man/gDataInputStreamReadUint32.Rd 9fceb1408ce93277f466afff7cd211de *man/gDataInputStreamReadUint64.Rd a2227e9e710d4bcfe8dc9debbed1b773 *man/gDataInputStreamReadUntil.Rd 9880643e5d9eb2ca3121526415ec94a3 *man/gDataInputStreamReadUntilAsync.Rd 124257876bc32d560b24e2d87441aa5c *man/gDataInputStreamReadUntilFinish.Rd ee58c2ad468bf8de1d023f59c3226cfc *man/gDataInputStreamSetByteOrder.Rd 67bd8925d2b3ede3eb3dcfd8a8d17338 *man/gDataInputStreamSetNewlineType.Rd b348d6937deea50ab656b648b0e83bdb *man/gDataOutputStreamGetByteOrder.Rd 76b7c3cffdc7ac39576dba9fe4d95853 *man/gDataOutputStreamNew.Rd 56ceef960881e15b8407ecbf75115377 *man/gDataOutputStreamPutByte.Rd f12af13c864be14ed1b86c09fb6260af *man/gDataOutputStreamPutInt16.Rd 1f01fd01f67eac6242dfb301eb1e6500 *man/gDataOutputStreamPutInt32.Rd ac8fdfc52bbbb44d324e0654ed435d4a *man/gDataOutputStreamPutInt64.Rd 8cf2276783f3e28033ef1fa9dff1c033 *man/gDataOutputStreamPutString.Rd 5fd0761499c9c483e061ba9b5d6e7249 *man/gDataOutputStreamPutUint16.Rd 4a177a337fea0a79f3274faf97c3fbf7 *man/gDataOutputStreamPutUint32.Rd afd873d76bd887717b7c1fca9f1f2298 *man/gDataOutputStreamPutUint64.Rd 37fd9983e89284709192b15e621dddbd *man/gDataOutputStreamSetByteOrder.Rd c850ef5fb44f7277e1a6e0e844f1d374 *man/gDriveCanEject.Rd 1f35d0b7d521ba0a29b67c23d87ffe76 *man/gDriveCanPollForMedia.Rd b7fb08657082967c302c37363e8ac1e0 *man/gDriveCanStart.Rd 4d70867d6a34fae6168ef9efd28c0c4a *man/gDriveCanStartDegraded.Rd fa97d780f10f3b71bf2eac4560ec22c5 *man/gDriveCanStop.Rd 0976f0946b26a2f3891bd9862ad3d9bd *man/gDriveEject.Rd 5f45e7cb7e226d7c89273d81cc7692e3 *man/gDriveEjectFinish.Rd ed202cbdd73f6865977d641376d2f5df *man/gDriveEjectWithOperation.Rd 1afbacb346d67fd1f33a0cc943aab16e *man/gDriveEjectWithOperationFinish.Rd 0f7c96fbdd06c53c0dc6634a92c03072 *man/gDriveEnumerateIdentifiers.Rd 28f6badea4754651a3018edeab8dd73a *man/gDriveGetIcon.Rd 358bcb10ba649a94304cfb37024e3cff *man/gDriveGetIdentifier.Rd a84bce860fe2d07db17eb1fce9cde925 *man/gDriveGetName.Rd 3bf981d901d0c006dc71529981042221 *man/gDriveGetStartStopType.Rd b85687982303e7e1712403ec71e6ea46 *man/gDriveGetVolumes.Rd 4b9df3286530e71a35ddee120548ad1c *man/gDriveHasMedia.Rd 9180b6067593b1553067887ff113c83b *man/gDriveHasVolumes.Rd c5423b1724d74ca9b1cc8e1de2b1ce7e *man/gDriveIsMediaCheckAutomatic.Rd 8242fc910c5ae41254b072b53121234d *man/gDriveIsMediaRemovable.Rd 47a1b76bf2fab1429af2ad9f6902aed0 *man/gDrivePollForMedia.Rd 345c940ec122221adfc9c13b97723ee2 *man/gDrivePollForMediaFinish.Rd c9e1f88eea45a4540bf30ef77fce32db *man/gDriveStart.Rd 3b6949d8290bcb0be64ee007b6cb424d *man/gDriveStartFinish.Rd d459002cefc1bfffb4e55d284439c71d *man/gDriveStop.Rd ae478b7cbe3f231835fefc7a3ebba2d5 *man/gDriveStopFinish.Rd dbd512784500ef13247d91e641728a73 *man/gEmblemGetIcon.Rd fb76fdd25c6533fd9745d865b4bd46e8 *man/gEmblemGetOrigin.Rd 739b69dce3fbc44492b4681878a0a647 *man/gEmblemNew.Rd 420bde659f723e9d41e505117dfa638f *man/gEmblemNewWithOrigin.Rd 450ee000bc72c19491a11d8c3a16f786 *man/gEmblemedIconAddEmblem.Rd 65a964a5dc9830783314798ef7c5a734 *man/gEmblemedIconGetEmblems.Rd 73132e6f314a4de1315e9aaae870e55b *man/gEmblemedIconGetIcon.Rd 88dfb1c1615f64725a0f64d944b9f296 *man/gEmblemedIconNew.Rd 25f2733d7470b58de9c1f8087e3b8aaf *man/gFileAppendTo.Rd 8d8cee2f4f051a83ab0b8bc3bdd9613a *man/gFileAppendToAsync.Rd 753009ea19d78c821cf516726a1910ee *man/gFileAppendToFinish.Rd 0dc50fb026974cc4f7c09ae10fdd5290 *man/gFileAttributeInfoListAdd.Rd e4af07725f287f7e4192e7b5c06c0334 *man/gFileAttributeInfoListLookup.Rd bb5e384d6fc90d371c24892bb96f3e9e *man/gFileAttributeInfoListNew.Rd 40851425c87b828e72fcac5b1a3a2c55 *man/gFileAttributeMatcherEnumerateNamespace.Rd edf02868814d81349b2ce586efbb656e *man/gFileAttributeMatcherEnumerateNext.Rd 1f6eb52df3ced02b1e9779d4b998a783 *man/gFileAttributeMatcherMatches.Rd 1f1da7c59d89c7f49d34a70cb479df3b *man/gFileAttributeMatcherMatchesOnly.Rd 57f371a982198815b006d1d7f5f392ec *man/gFileAttributeMatcherNew.Rd 9db1dbf55a3dea308e821d766b4faed9 *man/gFileCopy.Rd cc6608b5fb7d01c712e39e2158116f52 *man/gFileCopyAsync.Rd f86adb1d935b82828d755996957dabab *man/gFileCopyAttributes.Rd bfc79eeafae7876f2f12712daf49d936 *man/gFileCopyFinish.Rd 14ea0c3a90041165acf1160210080307 *man/gFileCreate.Rd 99431dc21a42882dc3ad88f96611523e *man/gFileCreateAsync.Rd 20ecb7e058d6085df02dc0b180739410 *man/gFileCreateFinish.Rd 7654e48b7090f29de422f80cabe566fe *man/gFileCreateReadwrite.Rd 9d074af67e1b52a10653ae3dd4085daf *man/gFileCreateReadwriteAsync.Rd f403ce0a97e2170b5171ab9afd318216 *man/gFileCreateReadwriteFinish.Rd fa95ac7a48342b2669a1a9acdfebd46a *man/gFileDelete.Rd ef53e36362791bb039d72a58c0db76e8 *man/gFileDup.Rd 4f01c343397ec23b9d3c1289809e4c9f *man/gFileEjectMountable.Rd cb3dc4eb9bb639360b476da54f67f2a9 *man/gFileEjectMountableFinish.Rd c710eca31e67aae8f67c9bd6d24e1fba *man/gFileEjectMountableWithOperation.Rd 199c90d1e43bddf2a94e595d8f122a4b *man/gFileEjectMountableWithOperationFinish.Rd 9fcae4896d399ebca6e0d3764ecaa716 *man/gFileEnumerateChildren.Rd 2249087df01928812a1058a64cf4cd13 *man/gFileEnumerateChildrenAsync.Rd 98e727ce58ea4ae14802a53f86d4c5c1 *man/gFileEnumerateChildrenFinish.Rd 7e5305d335c0131bd7733a2b2e312cf7 *man/gFileEnumeratorClose.Rd 32452f62dd57b1ee2e1f75f6106b7ef9 *man/gFileEnumeratorCloseAsync.Rd 19974efe1b1c0a453acb51560a2da194 *man/gFileEnumeratorCloseFinish.Rd 180aab0cc7e3ffaa7cd7148a387125ac *man/gFileEnumeratorGetContainer.Rd 362f924757385532fdece6035bd9f381 *man/gFileEnumeratorHasPending.Rd 0d4c9faf2106db1f8d429b640cfc7f33 *man/gFileEnumeratorIsClosed.Rd 4e4f10ab7fa6e230427c100de0ff3dde *man/gFileEnumeratorNextFile.Rd 6be5accaca1f29fb3653a51b0cefb41d *man/gFileEnumeratorNextFilesAsync.Rd b180420cab623b1ae662744d2a9ccdd9 *man/gFileEnumeratorNextFilesFinish.Rd 2c5c8cb6d86a1609392a60832e72a30c *man/gFileEnumeratorSetPending.Rd 748a1b302e3fd05ccd3567fefa68ec8b *man/gFileEqual.Rd 892aef371f1ed8ffea79b1a860737554 *man/gFileFindEnclosingMount.Rd 4a877791a7f3528639559c59fa2961ed *man/gFileFindEnclosingMountAsync.Rd b55e3ae4a4456b4a10233e9de82b20c7 *man/gFileFindEnclosingMountFinish.Rd 64100dfe3fa3dc2dfe41c086dbde0639 *man/gFileGetBasename.Rd d6a5caeedb95cf2d032c32b8649c5009 *man/gFileGetChild.Rd 4fb96af2211c49c590fc2f2483273127 *man/gFileGetChildForDisplayName.Rd de6e4b9cb47829f499447c1ded5fd239 *man/gFileGetParent.Rd 42b623ff3675547ab906aa7dbb836bc0 *man/gFileGetParseName.Rd a5c69664c0e4aaddd9f78231bc1abcf8 *man/gFileGetPath.Rd 196c68997d6df43b45c7ad276afc72a1 *man/gFileGetRelativePath.Rd da500890d0a71c0cad3f53a65557b51b *man/gFileGetUri.Rd 7f6d3fe93cdc2557479c5be3538bcfe7 *man/gFileGetUriScheme.Rd 31a9ceac751a716046e31d6ab636668b *man/gFileHasPrefix.Rd 62deb049adbc97b1523089fac74d90e0 *man/gFileHasUriScheme.Rd 698bb1a2a65daf5aa9bfbb354aed2d27 *man/gFileHash.Rd 9c171fe759642adaec422cf29cd296c1 *man/gFileIOStreamGetEtag.Rd ffba2c85deb8f523c392d8cb3abf423b *man/gFileIOStreamQueryInfo.Rd 74b7faf161917b88ca55545bba88333e *man/gFileIOStreamQueryInfoAsync.Rd 64e1168460b664fd8003510b554f93ab *man/gFileIOStreamQueryInfoFinish.Rd e21957855dca13b97051b0702d3de38a *man/gFileIconGetFile.Rd a9456258eb66ae830744701d4ccac168 *man/gFileIconNew.Rd b220a2d96305e0a4c2c71cb42e068c3d *man/gFileInfoClearStatus.Rd 5ce9d7df307e77a3c51b774d0fc74bc1 *man/gFileInfoCopyInto.Rd dec53b1b13e22489a4c81683ef859a22 *man/gFileInfoDup.Rd 2438b20a4075a3cac3675e2dd4bed56b *man/gFileInfoGetAttributeAsString.Rd bf9635a18aeb21b4eb0186eaddd69609 *man/gFileInfoGetAttributeBoolean.Rd f4ba0986558b1296ec1b97da7de81521 *man/gFileInfoGetAttributeByteString.Rd 0a8afb40924d6b47eb51549fbbb7571a *man/gFileInfoGetAttributeData.Rd 1acd49d217d2d046e108a4d5fb12f3bc *man/gFileInfoGetAttributeInt32.Rd 148a84b222f71f1fb99e06e3fbfa0a79 *man/gFileInfoGetAttributeInt64.Rd b92fc520ce91cc9265c9e8262f64ee4f *man/gFileInfoGetAttributeObject.Rd b05336ff6063cec7a64c26f2fc4346b0 *man/gFileInfoGetAttributeStatus.Rd 6f3a18d79a02bb63107fd6800a4272fa *man/gFileInfoGetAttributeString.Rd 25f6e2756ceb2ac95cc9d1b6597ddd45 *man/gFileInfoGetAttributeStringv.Rd ad98e2de69600d4a9c3a0ee202ddd26e *man/gFileInfoGetAttributeType.Rd 3273b272814cf7925615b6135ce812f3 *man/gFileInfoGetAttributeUint32.Rd df147e3d7ce777d20e731a2ecb2dbe5a *man/gFileInfoGetAttributeUint64.Rd 2d5b1a8c456465bdb1222c5843674f6f *man/gFileInfoGetContentType.Rd 52e486b14cd97dd8276c8bcb049e68e3 *man/gFileInfoGetDisplayName.Rd bc0b595e3c813726c12da86833416bd9 *man/gFileInfoGetEditName.Rd d71b3ffcdb00aa88d05c0b9114b49fb1 *man/gFileInfoGetEtag.Rd f870f7efba9f4c35c7c3144df90dfe0a *man/gFileInfoGetFileType.Rd 716a2ecefb2e0e9295740a426aca9e21 *man/gFileInfoGetIcon.Rd 53e0733cd5be5a856f9a2d0778ba94fe *man/gFileInfoGetIsBackup.Rd 2616049b85d231abd9c4336bcbec54b3 *man/gFileInfoGetIsHidden.Rd 3d959f35bb16a59b31e3cb5624d5dc4d *man/gFileInfoGetIsSymlink.Rd 1e9232b137bed403b6ae63380ef52b66 *man/gFileInfoGetModificationTime.Rd ee50f6cbed4b4d83f0ba30cda79a7d77 *man/gFileInfoGetName.Rd 88dc142bbe926add98b946e8b2cfd7a5 *man/gFileInfoGetSize.Rd 5cd0fba064fc82884ce97158e0da372a *man/gFileInfoGetSortOrder.Rd 87934b27a3c986fa1845786baad2b7a4 *man/gFileInfoGetSymlinkTarget.Rd d1cfce262dfc02de14af85c67eadcb04 *man/gFileInfoHasAttribute.Rd e0712e5a448684d5fea981af236b8ea8 *man/gFileInfoHasNamespace.Rd fd299f2a6453d6ea60f8574f03420ff9 *man/gFileInfoListAttributes.Rd 264e380a07e640d4354965f36e8ef3f5 *man/gFileInfoNew.Rd d2aaa240ecd9f4e41012f0751502d303 *man/gFileInfoRemoveAttribute.Rd 13757cf593b3457a5d3aa2f974a74bc4 *man/gFileInfoSetAttribute.Rd d4d4ca52c6e355e6bfaf677d95ec0323 *man/gFileInfoSetAttributeBoolean.Rd 8ec8b4ef2e148da3e1eddcd9e7437ee3 *man/gFileInfoSetAttributeByteString.Rd 4f480f27f021c1924acc90f6b91cb7dd *man/gFileInfoSetAttributeInt32.Rd a61986408cb5dbcbae7228cd236e8aa6 *man/gFileInfoSetAttributeInt64.Rd aecf880d89494f370595189227916aaf *man/gFileInfoSetAttributeMask.Rd 925d9f1494cdf3357c6b982a3f0bcb5c *man/gFileInfoSetAttributeObject.Rd 0009d2460447d7efa1e4452700c25bd9 *man/gFileInfoSetAttributeStatus.Rd 14e2c41efa25d2679700b967d69b55cf *man/gFileInfoSetAttributeString.Rd 31f9110235f3bab4094fed01e2cdfe75 *man/gFileInfoSetAttributeStringv.Rd 257e73fec85bcb049dcddd042379cc2d *man/gFileInfoSetAttributeUint32.Rd d09caf276bae904cf8f07c3dfc1e2661 *man/gFileInfoSetAttributeUint64.Rd ed25fbbb811c3e795fe401569cecdd3c *man/gFileInfoSetContentType.Rd c5109abda4da435a6835ea72de0b69d0 *man/gFileInfoSetDisplayName.Rd d3452c97695595700e827ac47848dbe2 *man/gFileInfoSetEditName.Rd 1b770eaf6c34cf7f44dea66f34f082ef *man/gFileInfoSetFileType.Rd 93df98b91ce345994c2c8196c709eafe *man/gFileInfoSetIcon.Rd d549f8c596b408178e8851a3ee701bfe *man/gFileInfoSetIsHidden.Rd f4850b31d97e8c804ebb98dd9e427e51 *man/gFileInfoSetIsSymlink.Rd 8cd07c7969b88d9266effd4f5667be57 *man/gFileInfoSetModificationTime.Rd 15a1b863569b7bc85379e9c9346fd3e1 *man/gFileInfoSetName.Rd 0983afc7155530786baeac96f9604199 *man/gFileInfoSetSize.Rd 4414b9c82ac07f19b593be2f2533d420 *man/gFileInfoSetSortOrder.Rd c354057bde3bd1ff753d3a19aa84b4a5 *man/gFileInfoSetSymlinkTarget.Rd ba9835a18e247d937aeae41ccdaac25c *man/gFileInfoUnsetAttributeMask.Rd b3294823c2ba1c6bcb9d2840ed46d7ef *man/gFileInputStreamQueryInfo.Rd 53daed5352677b6fac17e7ff41fd9e4a *man/gFileInputStreamQueryInfoAsync.Rd bf7b7b5066a70fd0364882d88d0ede34 *man/gFileInputStreamQueryInfoFinish.Rd 919861c70597e1313ca57201d97ca516 *man/gFileIsNative.Rd 2fad56fac21a004a46480d949cccde80 *man/gFileLoadContents.Rd 06e3f43504e805929a4ad131c40c47cc *man/gFileLoadContentsAsync.Rd 9d60af4112fac113ca2ed2a36abf49bc *man/gFileLoadContentsFinish.Rd 995a2cc878869ff74845f91df891da40 *man/gFileLoadPartialContentsFinish.Rd 00356e29d9b4f0197c20b23b4cbd661e *man/gFileMakeDirectory.Rd 490cc748b059a67dc1d0cad90bd3a8e4 *man/gFileMakeDirectoryWithParents.Rd be35dc898ba7e518642721f8ecca498d *man/gFileMakeSymbolicLink.Rd f02dbdcaea7da22a9acc08d897a64acc *man/gFileMonitor.Rd aa34da26cc27ea194bdd1063c9618964 *man/gFileMonitorCancel.Rd 0d108410b141465e6a9b5f7fd90b4f60 *man/gFileMonitorDirectory.Rd b56c327de9cfa9b0cc33fcfd85e29099 *man/gFileMonitorEmitEvent.Rd 2af8e70f175ee4a4020a6c3f384bde7a *man/gFileMonitorFile.Rd fba613ddd4fdd7f2c5dabaa24348b2eb *man/gFileMonitorIsCancelled.Rd e469fef2eaa4a8e032aea524ecc33efc *man/gFileMonitorSetRateLimit.Rd db4a4480f5266f57fce349e19f227698 *man/gFileMountEnclosingVolume.Rd 83c4eec1c721576ac974e83ed0d3c011 *man/gFileMountEnclosingVolumeFinish.Rd 9b3290f4b24af54d15d8d7371d4abd88 *man/gFileMountMountable.Rd 118a45787200a42c71f9c7a25f9ddcdc *man/gFileMountMountableFinish.Rd a968d3dae125bfabb0968d1f587fb62d *man/gFileMove.Rd 290308de1bd4f12f1e3ff7a00e2e60ef *man/gFileNewForCommandlineArg.Rd 2aa136b6119a2da992b89fb3a282e33f *man/gFileNewForPath.Rd e1a4469569dc21c992da2d4602b422dc *man/gFileNewForUri.Rd d00c3df9c5a741d6746d55c0df94f773 *man/gFileOpenReadwrite.Rd 6af0d73e265579fd0ec2798c77977e03 *man/gFileOpenReadwriteAsync.Rd 9dfdd0f2cd42d9a70343d8fc0b2c2745 *man/gFileOpenReadwriteFinish.Rd 40509428804b0d89455c5968c86cc0ce *man/gFileOutputStreamGetEtag.Rd 59274360210cb1bb3e33b0c209d915be *man/gFileOutputStreamQueryInfo.Rd 5e27a38a94cf0b295d30faf76cfe9cb0 *man/gFileOutputStreamQueryInfoAsync.Rd c4678f12d0a501038ed26fb728a7c343 *man/gFileOutputStreamQueryInfoFinish.Rd 9e3d4e693351cc00e197187608d74f93 *man/gFileParseName.Rd d2ed0734fce8f42888ece4958b12bd63 *man/gFilePollMountable.Rd dff1fa2f184484e7b316f74d29e0c6e5 *man/gFilePollMountableFinish.Rd dd5a92710bf3ea3fd855d6ed20df9e4e *man/gFileQueryDefaultHandler.Rd 3e2baf4c96def784d3b15055ac798f13 *man/gFileQueryExists.Rd 8be18699ac4f43e1dbee7617be273f3d *man/gFileQueryFileType.Rd 4b9c00b085ebc7e031bcdee086cd4d3f *man/gFileQueryFilesystemInfo.Rd abec2d901bd0380f66c1481d83d1bc9b *man/gFileQueryFilesystemInfoAsync.Rd 7f0b297b997967c289b0afede0d36e95 *man/gFileQueryFilesystemInfoFinish.Rd 62fe722949de0f0fdcc90352b7966a76 *man/gFileQueryInfo.Rd 40028a855ecb8e8edc36d8a58a123cb6 *man/gFileQueryInfoAsync.Rd e4aff17a566ce63c202eeeabe07f91a6 *man/gFileQueryInfoFinish.Rd 916b37aceb19a861001df6da8f3b06ef *man/gFileQuerySettableAttributes.Rd 545b28da7214d70fe36afdaa82447f0d *man/gFileQueryWritableNamespaces.Rd 8703b57df7427a0f8661d8a6ed3407cf *man/gFileRead.Rd c502c9356b7985432002f6c7261b126e *man/gFileReadAsync.Rd 0512d01a7961295c3b28bee4a6f5dd47 *man/gFileReadFinish.Rd 17a5a31ea7ee5c32146a3407e0ef39c6 *man/gFileReplace.Rd de81a956c64e67daf3c78e4274fd7ed3 *man/gFileReplaceAsync.Rd 005a09e0cc77ba6a37f28385c0fee84c *man/gFileReplaceContents.Rd 1518a6ff4f935f12181bc41275b27a3c *man/gFileReplaceContentsAsync.Rd e9d2049704a657759529fd44fc266656 *man/gFileReplaceContentsFinish.Rd 0823a65e70f07ea517bc7fd1470394ee *man/gFileReplaceFinish.Rd 29d0fec7f9301558e0db9bbb1e483b5b *man/gFileReplaceReadwrite.Rd 8f66e84c057b3a9959b9008fbf4cc96f *man/gFileReplaceReadwriteAsync.Rd d713b7d6b0caa891a9e6d66e4f440ea3 *man/gFileReplaceReadwriteFinish.Rd dafa8b313b6a0f2fdadf6ec2cc11dea0 *man/gFileResolveRelativePath.Rd defe9ec44193a4e365be9768b39cdab6 *man/gFileSetAttribute.Rd 39dde208f677571cb18b18d243ae132c *man/gFileSetAttributeByteString.Rd a36c002ca6a309d51adc873429c11e43 *man/gFileSetAttributeInt32.Rd 00164499dfb377bce94d12841c8d86d1 *man/gFileSetAttributeInt64.Rd 105bf5d85ce561aabfc0f83363cc1357 *man/gFileSetAttributeString.Rd 493614983ae600d799d098764c44b22a *man/gFileSetAttributeUint32.Rd f9a5799b41dd90f5bc72e50ac8a51145 *man/gFileSetAttributeUint64.Rd 4943182cba8cf1256ae2f66cbe763a15 *man/gFileSetAttributesAsync.Rd 2cf396f3059d449d384403f4524a0215 *man/gFileSetAttributesFinish.Rd 9d95d9229803618ab9a42ff36e7f1939 *man/gFileSetAttributesFromInfo.Rd edbed43e0955036306d07f187b106666 *man/gFileSetDisplayName.Rd e3285cc69f9976ae9939542d6b0fa7c5 *man/gFileSetDisplayNameAsync.Rd 43f6e18cab92085092a0901d3361df7e *man/gFileSetDisplayNameFinish.Rd 65e061adc896fc0dde6ab54350c7f113 *man/gFileStartMountable.Rd 911872a53bdf7d54ad08f7c74a326c66 *man/gFileStartMountableFinish.Rd 7aca21753f447ac239037875827581af *man/gFileStopMountable.Rd ebcfd2a3858b48c07ce915096fc88a3a *man/gFileStopMountableFinish.Rd 2e3032514346e52f701d9e697ee375b0 *man/gFileSupportsThreadContexts.Rd bb0cf3728250b87133fe30cf395416f6 *man/gFileTrash.Rd 894dd8b3912541d4b4ee1c80666e0df1 *man/gFileUnmountMountable.Rd dcb7cbbfe44b418e34f95a51be2de19d *man/gFileUnmountMountableFinish.Rd 9877bb4e3a757256de6da5190fdbdcbc *man/gFileUnmountMountableWithOperation.Rd 4f10225bf296c9e6ba02a50033ea3492 *man/gFileUnmountMountableWithOperationFinish.Rd 79cff244814505bbecee6c06018d04f7 *man/gFilenameCompleterGetCompletionSuffix.Rd f15bf2ea37ef5a0f7e3e669afebc798a *man/gFilenameCompleterGetCompletions.Rd 0179fe621635b335aa65b027f084cdc1 *man/gFilenameCompleterNew.Rd ee6c414c7cf89bd4945945656a48939e *man/gFilenameCompleterSetDirsOnly.Rd cba3e9986326a2c589f5adb8d26c5630 *man/gFilterInputStreamGetBaseStream.Rd 52211aaf9f1a8854527a1c7a1cf7823b *man/gFilterInputStreamGetCloseBaseStream.Rd 7ccd3540ae19fc433c4be14184c7241e *man/gFilterInputStreamSetCloseBaseStream.Rd 09c1e66fca56ad272ae65142c34e19cd *man/gFilterOutputStreamGetBaseStream.Rd 7b8efef4026d3ae2822259761a25b454 *man/gFilterOutputStreamGetCloseBaseStream.Rd 0ea359cb8d444c78598a88c1f213733c *man/gFilterOutputStreamSetCloseBaseStream.Rd 8f5946d1a523f55cbba77a93ccf17694 *man/gIOModuleNew.Rd 323f14290646576f7809e73db7851e54 *man/gIOModulesLoadAllInDirectory.Rd 0ef9b4e0f5d0c6a0c1cae2e0e3227662 *man/gIOStreamClearPending.Rd c8f25f70fcfc8a5e50e1e79c2218178f *man/gIOStreamClose.Rd 554947d06e1569392487d6c23f94f5fe *man/gIOStreamCloseAsync.Rd 5c3400075b99156dd1a444e7cc6c50be *man/gIOStreamCloseFinish.Rd 692022023156ca11f2f05ae7a5f49d8e *man/gIOStreamGetInputStream.Rd c02ce198d882a5e6a4da5d7f70237ba4 *man/gIOStreamGetOutputStream.Rd 9511f83220b14f995a1a95a811795e2e *man/gIOStreamHasPending.Rd cee51b6e33eb0557c7cdb88bf5db1c54 *man/gIOStreamIsClosed.Rd 6c0187f6f35232762aafd03ce5950eef *man/gIOStreamSetPending.Rd eb1ff9cdc3e3c6c4a2cc6f3b5d8c978d *man/gIconEqual.Rd 506d3ec6dc6545511e9719051d2fc517 *man/gIconHash.Rd a1c57348a7b626a6557c22dff08ec43d *man/gIconNewForString.Rd b702848c0f24b7ad8ec93ce2b7d62c6f *man/gIconToString.Rd 81714d6e13d5a117580d3300acd09410 *man/gInetAddressGetFamily.Rd adf827f195e323290b6ab1c89c261838 *man/gInetAddressGetIsAny.Rd 39c6078b22d99ad33c8eb672480bac4a *man/gInetAddressGetIsLinkLocal.Rd 1401c81c81bbe0f3d425dc7a889e0283 *man/gInetAddressGetIsLoopback.Rd ff2938d0429ac21f2e09f5f5a5d178cc *man/gInetAddressGetIsMcGlobal.Rd 32bf80edf39950353d15d7d37c453eb1 *man/gInetAddressGetIsMcLinkLocal.Rd d7c2c9bcd562a6a0586c474385093951 *man/gInetAddressGetIsMcNodeLocal.Rd c134b1f993b45afa9834c535bdd7f68d *man/gInetAddressGetIsMcOrgLocal.Rd 0ad4a5812e39372102b40391b496dffd *man/gInetAddressGetIsMcSiteLocal.Rd a0d03d2111084d44fc46b937dfbf89f2 *man/gInetAddressGetIsMulticast.Rd 5401972fd0d000933e3f955ad4dd1cfb *man/gInetAddressGetIsSiteLocal.Rd 672f15e541e7a2dcac6f9e2f145925e3 *man/gInetAddressGetNativeSize.Rd 2d3baf41fe55f57b907266a8c8ba34f7 *man/gInetAddressNewAny.Rd b5fcc9b2c4b21dc8aec349af8b933fe5 *man/gInetAddressNewFromBytes.Rd 578a573f7792068f9aed8354cdb66fc5 *man/gInetAddressNewFromString.Rd ac32711ab9ee84f020a0808656e299a7 *man/gInetAddressNewLoopback.Rd b35a821f3247b4f164044349c68a84fe *man/gInetAddressToBytes.Rd d3f1bdaccc766d386da260607fe6b2fd *man/gInetAddressToString.Rd a2aecfa1abf15ae035b8836200c376ab *man/gInetSocketAddressGetAddress.Rd b5214e75dd562a34933d201ed3830568 *man/gInetSocketAddressGetPort.Rd 5c63f5ab48eb36dffaf45b1a9580b836 *man/gInetSocketAddressNew.Rd 68b9534b204249368eb36cad8216c179 *man/gInitableInit.Rd c0e816ef8b46a3acf27875675a9743e7 *man/gInitableNew.Rd 0b184a453815f5d5a3ed3975fa569846 *man/gInputStreamClearPending.Rd fbe4233cfccfebb019f2575ff0a651ab *man/gInputStreamClose.Rd c3deb58e61c5169ed579c7446d51a8aa *man/gInputStreamCloseAsync.Rd 7abbd2c0cae81e6f43c602cc12abc7e3 *man/gInputStreamCloseFinish.Rd 9b1c3d3a3bd23e2c7c4a7e01e630ae93 *man/gInputStreamHasPending.Rd f206eb8a59d8496651746dbd75daaf2d *man/gInputStreamIsClosed.Rd 53fa39f0efbe7853a17350b92657e486 *man/gInputStreamRead.Rd 1187dc269f0497851ac080bc5d6c93d1 *man/gInputStreamReadAll.Rd ffddcee8525c49d333fc224e981972ca *man/gInputStreamReadAsync.Rd d144be45fdfb5fcad40a1e25cd523e86 *man/gInputStreamReadFinish.Rd 9c710fef3ac82fef7412207a6ce79658 *man/gInputStreamSetPending.Rd 48a62631c9dfcb08a54f3111c20295a2 *man/gInputStreamSkip.Rd 35594059791345718dc4368558199778 *man/gInputStreamSkipAsync.Rd 3255323b133b70281fd9d9fc2aca03b4 *man/gInputStreamSkipFinish.Rd 80e1d3b8e89ad3913c362201359884a1 *man/gIoErrorFromErrno.Rd e07a85a48af71f34a8a35f889d7c7d7c *man/gIoExtensionGetName.Rd c2b9a9e5870f2b2ea9a0db4af00ffafc *man/gIoExtensionGetPriority.Rd 4b6ca448827e2dc750184e0ce16c4ab1 *man/gIoExtensionGetType.Rd abe6dd56bd3c8f1167fa16d7366d0256 *man/gIoExtensionPointGetExtensionByName.Rd 6e9f9c01db5ee31c4ae1b99390485ad7 *man/gIoExtensionPointGetExtensions.Rd bf6605f79ea1b8dd246a6f70af5b2a4f *man/gIoExtensionPointGetRequiredType.Rd 26f3e6805e1faf6fd279f066d5336d93 *man/gIoExtensionPointImplement.Rd b5024703464ed02cf3387326b5a7901e *man/gIoExtensionPointLookup.Rd ae32a2042ad13aa849d6d212cdffaa7e *man/gIoExtensionPointRegister.Rd dc1c8bffb44ad4c9656ae45a63ca9b5e *man/gIoExtensionPointSetRequiredType.Rd 509f9e828de36778d2a66cc6c15768f2 *man/gIoExtensionRefClass.Rd 0de134ea0ad6cebdbf43d80ff4ca3af0 *man/gIoSchedulerCancelAllJobs.Rd 4fb94b04bddcb14960e0dcfb51c36a9c *man/gIoSchedulerJobSendToMainloop.Rd c8cd3b5d7bae0a5a7be1f26bcd800d37 *man/gIoSchedulerJobSendToMainloopAsync.Rd 3a0de3d64dbaa8292bbeccebcbe208c2 *man/gLoadableIconLoad.Rd 8e20330cf4a2dd3f4924035c872c1139 *man/gLoadableIconLoadAsync.Rd 182e150f944d9cff14bd0f8fd092c512 *man/gLoadableIconLoadFinish.Rd 74bb9c027c4106830317fcad09b96bed *man/gMemoryInputStreamAddData.Rd f79f1c6cf97108133659f1f611ee1bc0 *man/gMemoryInputStreamNew.Rd 4a4155005cf6572e314265275d48ffa7 *man/gMemoryInputStreamNewFromData.Rd bd43652f53582aabbdabe27c8dcd941e *man/gMemoryOutputStreamGetData.Rd 52e93c498094d1b12b19c0fe987b5549 *man/gMemoryOutputStreamGetDataSize.Rd 97307fca0adce8415bb0aeccf472bb65 *man/gMemoryOutputStreamGetSize.Rd 3f7bd107ecde31efa2587453fd827222 *man/gMemoryOutputStreamNew.Rd bd7a7f0f3ed63c657a3d3cd13428ea2b *man/gMountCanEject.Rd 56457081f47cef281182c6ef87f12cc7 *man/gMountCanUnmount.Rd b684a87aa9248b0d5cd67bd0f9dbc70d *man/gMountEject.Rd f47c295dc08ba86b6ff1a7a87cd57906 *man/gMountEjectFinish.Rd 1abe77170d9e19922404aee23525a903 *man/gMountEjectWithOperation.Rd c39f552a06a01c37aa9f3a75c0750b1b *man/gMountEjectWithOperationFinish.Rd 688a19d59b6ff1621b65f381f4718cb4 *man/gMountGetDrive.Rd 4aebdc9cec01640fcaa67620691078d9 *man/gMountGetIcon.Rd 20c0045e61627e94752b56f2c21acb54 *man/gMountGetName.Rd 24817c64ee9807f8a0e1ffd7084bb3d1 *man/gMountGetRoot.Rd af9881d4b5efc79929e032c994ba88b1 *man/gMountGetUuid.Rd cc4cb2c00cea0ffac1089981067a52ea *man/gMountGetVolume.Rd 3f84a49a7c2b25075277cd9a86676c66 *man/gMountGuessContentType.Rd fc08ea5224fa1f19a3585b12e91cb524 *man/gMountGuessContentTypeFinish.Rd 9193d65ef82a2bb346ed3844c24453c3 *man/gMountGuessContentTypeSync.Rd 3260fa10400b82c0416f14472f50c701 *man/gMountIsShadowed.Rd ba8803eff0cb83ccf68cacc00cad120a *man/gMountOperationGetAnonymous.Rd 09eea2e18ad0d8a1f60919e950117380 *man/gMountOperationGetChoice.Rd 2665bcd135acef10af6cfda680372e43 *man/gMountOperationGetDomain.Rd 820d351f39a40589647e8f29278bbcd4 *man/gMountOperationGetPassword.Rd 1e77b2d161592139618beef96123b75d *man/gMountOperationGetPasswordSave.Rd ed381791731ecf080e718e900eea3a06 *man/gMountOperationGetUsername.Rd 1c80a7bc03b69fe2ed56220309621d1b *man/gMountOperationNew.Rd 04154ffbba07b5d26d185e95442934ce *man/gMountOperationReply.Rd d88ee2711dcf227b8d188e2fee57a3a0 *man/gMountOperationSetAnonymous.Rd 94ecf25636c84782b66f0e14c9ad2ddc *man/gMountOperationSetChoice.Rd f995b661eb13b34e7851fd4f5303c12d *man/gMountOperationSetDomain.Rd 8c7f38daeaf0a0d9bc9be85d552dc1f6 *man/gMountOperationSetPassword.Rd 5e8e1f8439bac0c32823160f6c4a1e80 *man/gMountOperationSetPasswordSave.Rd e08aadccd9a651845385158a684b5396 *man/gMountOperationSetUsername.Rd f561f3e1983fa8ace4f0fc9bb9d8938e *man/gMountRemount.Rd 26534cf2292c5e9cd6b5299933ef4341 *man/gMountRemountFinish.Rd 3bd62d76d0f201e3ab763dd97a5f9374 *man/gMountShadow.Rd 96345a19c5394a01b3db3199ea8e534d *man/gMountUnmount.Rd cd45313c336b243ed2deac350cbb78e6 *man/gMountUnmountFinish.Rd 2d3fb3ef7af2e4c9be14447650cdc216 *man/gMountUnmountWithOperation.Rd eedd4036a53d3f3129a82ff1154f9c93 *man/gMountUnmountWithOperationFinish.Rd efc3e5ec2107e7c085fa7c0b5c291821 *man/gMountUnshadow.Rd 07d847060f28f0876e50cdf480502800 *man/gNetworkAddressGetHostname.Rd c828a4d9997209ede7e2497f8377b49c *man/gNetworkAddressGetPort.Rd 6c506600269d062c0298d5fe9e72362a *man/gNetworkAddressNew.Rd 3b1cfdf2534d24998cf7f93a3a57ed6d *man/gNetworkAddressParse.Rd 6fb73426b859a1cfbde7a894375fb60c *man/gNetworkServiceGetDomain.Rd 7b20aef7c6ddc5fba555f6c5766a6505 *man/gNetworkServiceGetProtocol.Rd 33107a8d544c31b4eca4568200ac1943 *man/gNetworkServiceGetService.Rd 4a8b8be280352c0e403aaba125211754 *man/gNetworkServiceNew.Rd 836342ee2cdb76e660716fb043f13d5c *man/gOutputStreamClearPending.Rd 4e67eb1c958fc696dfb42ac792967372 *man/gOutputStreamClose.Rd 66246665a5d3c8d8560fe901075855f8 *man/gOutputStreamCloseAsync.Rd 50b438e151b317d0807d4aa42705751b *man/gOutputStreamCloseFinish.Rd 1300b13a011ebb1f24215eb6e7293c20 *man/gOutputStreamFlush.Rd 377b5dfc69173f3eb1e8f1e0a5cb9acd *man/gOutputStreamFlushAsync.Rd 321190cbc79534b02163a36f562a82ec *man/gOutputStreamFlushFinish.Rd 8d0bb813882afe71cbeda141b64fafa5 *man/gOutputStreamHasPending.Rd f7eee367b52f88e1df964d63374d8e55 *man/gOutputStreamIsClosed.Rd 58b5d56baf5637ae3499492268dd421a *man/gOutputStreamSetPending.Rd b0583ec915c2b06b0e9dd5db36e59830 *man/gOutputStreamSplice.Rd 48cf130f68492223c9b14da6a2b5fe5a *man/gOutputStreamSpliceAsync.Rd 371175d2d29d6ffb6bca183380c2fbd5 *man/gOutputStreamSpliceFinish.Rd 96337dde810ec98bf606e11459f736e6 *man/gOutputStreamWrite.Rd fa81b0070c8be66c3d5234ba62306aa3 *man/gOutputStreamWriteAll.Rd 28c6e8c6bc81ccbd5aca05c47226ea9d *man/gOutputStreamWriteAsync.Rd 7dff1f2f87999fecb2e33d58e10e63e8 *man/gOutputStreamWriteFinish.Rd 28f93436fe4bccebed65b25f2abea829 *man/gResolverFreeAddresses.Rd 47c51aba7ff7c2025e84d87a95748831 *man/gResolverFreeTargets.Rd 15f771f9a4fd06d9d418c452001fe1a5 *man/gResolverGetDefault.Rd 30de80f6383f0fb3ee02e25a98baf92a *man/gResolverLookupByAddress.Rd e0edd687068e089a24c18ef77c76aa48 *man/gResolverLookupByAddressAsync.Rd 8ecf7feced004bb51f7c0bb84aa3ed8c *man/gResolverLookupByAddressFinish.Rd dc4f3017386dda91079ea5182b8dd579 *man/gResolverLookupByName.Rd 78de7d95ee07b536e0cf634bbdab29a4 *man/gResolverLookupByNameAsync.Rd 366ec2428bc889b294197297aa753ec6 *man/gResolverLookupByNameFinish.Rd 85354d67f662b2d2fcc567b4d7263830 *man/gResolverLookupService.Rd 3389af058395437eeda450a9568417ed *man/gResolverLookupServiceAsync.Rd 83a9c4d965d926cb3a7865018093f17b *man/gResolverLookupServiceFinish.Rd 9cbf62fe68a054fda4818c3985a2c33e *man/gResolverSetDefault.Rd 0574a8f9451c2e56bc9dd89b8fa8f543 *man/gSeekableCanSeek.Rd c849c88d7a4b1e17feaef55b2a600589 *man/gSeekableCanTruncate.Rd 1f55b4dd8202bf76323818b4a31a0eb7 *man/gSeekableSeek.Rd fb5f59a48f219a5aeb3b5b50d39f7f49 *man/gSeekableTell.Rd 85af0731cec0963d94fa312189888b9f *man/gSeekableTruncate.Rd 478894ef8bfbc22f3f375344cf2f37d7 *man/gSimpleAsyncReportErrorInIdle.Rd 542323de618a511aeb3cb63ea8f612f9 *man/gSimpleAsyncReportGerrorInIdle.Rd 79605ff09624cfa2992d88412cf52532 *man/gSimpleAsyncResultComplete.Rd 28a9049a6b3564b5b38840a50692f1b6 *man/gSimpleAsyncResultCompleteInIdle.Rd 825dc8d09b291f72e1da9c1f0ed3f3c4 *man/gSimpleAsyncResultGetOpResGboolean.Rd eea3bac30a9d99cecb1674280f41ba19 *man/gSimpleAsyncResultGetOpResGpointer.Rd 1a43e1995e12922a6af9f386aceea684 *man/gSimpleAsyncResultGetOpResGssize.Rd d02999a29fcf91c1bad2f5b5606d226e *man/gSimpleAsyncResultGetSourceTag.Rd f6de521952bafd4ca026ba86ea3c362f *man/gSimpleAsyncResultNew.Rd ef4afad9a80dfc6386b37933c7298e63 *man/gSimpleAsyncResultNewError.Rd 743a65fc93fe8a044279570771ca155a *man/gSimpleAsyncResultNewFromError.Rd ab68d6f468075c233c214119f2eac49a *man/gSimpleAsyncResultPropagateError.Rd 303d744bfbde696356b198c758ae97f8 *man/gSimpleAsyncResultSetError.Rd 08bb05cea02229b86a1b2a642aad8b00 *man/gSimpleAsyncResultSetFromError.Rd cbf42443f04d3235e78c3744b4c39c75 *man/gSimpleAsyncResultSetHandleCancellation.Rd 7f2940be506d321fc8b8a253cf7ba786 *man/gSimpleAsyncResultSetOpResGboolean.Rd fcd448e3b0c5dd6079b923e26eaeecce *man/gSimpleAsyncResultSetOpResGpointer.Rd 8a74de652568968f6f93f9bf39834acf *man/gSimpleAsyncResultSetOpResGssize.Rd d23c5ab377c6c3e0fe4896c38a1a55c6 *man/gSocketAccept.Rd 36a5333ff95f03c2f038e8a18a597271 *man/gSocketAddressEnumeratorNext.Rd 16669e5e11815e70497015c0abcfbfb9 *man/gSocketAddressEnumeratorNextAsync.Rd 3df8af7026ff7a118a83620edc6514bc *man/gSocketAddressEnumeratorNextFinish.Rd 82c0bce8a90806d93416417708701e11 *man/gSocketAddressGetFamily.Rd b7df4f9aea4b20f5555893289e80f27e *man/gSocketAddressGetNativeSize.Rd fa56ae5fbfff9588e7a29ecb7f0f6e64 *man/gSocketAddressNewFromNative.Rd a50c73f51e13ab410e347fa193e2e0f1 *man/gSocketAddressToNative.Rd 1022f8970ff5d80dfcb56c672edcf2c4 *man/gSocketBind.Rd 6799e3c80cb0ee215febbb133d7bdde8 *man/gSocketCheckConnectResult.Rd de3da5caaa712267c765f29ff6fe8619 *man/gSocketClientConnect.Rd 5faf63343b746f9febc04e4d3517c2d9 *man/gSocketClientConnectAsync.Rd 985addccd89c753e68eb6159258a9bec *man/gSocketClientConnectFinish.Rd 762d232210c78bd9dfc3e1c185acb7a1 *man/gSocketClientConnectToHost.Rd d5227d9f0a92c094c9cbded08e0cab0c *man/gSocketClientConnectToHostAsync.Rd b4e060bc8740b4546f4e5f5c2b07c6f9 *man/gSocketClientConnectToHostFinish.Rd fdb7af0953a74656ca6deb819e1deb2e *man/gSocketClientConnectToService.Rd 6c1a8ae24a799d1db72cdbb00b410fac *man/gSocketClientConnectToServiceAsync.Rd b075bf7f89976fe13edb90d9e9612507 *man/gSocketClientConnectToServiceFinish.Rd d8764c45d66dd0167e27f9c123b1234a *man/gSocketClientGetFamily.Rd 9d067c686cc9f035c81025b34c3b8bed *man/gSocketClientGetLocalAddress.Rd 03ee808c48f038e4b13c8e2e1a513966 *man/gSocketClientGetProtocol.Rd ad76221776b590b8263f9a2b597fbb1f *man/gSocketClientGetSocketType.Rd f2ea3de82d0c8fb8fa74c3bc60562273 *man/gSocketClientNew.Rd 592af22b5f0f3419eb87048ddda75de6 *man/gSocketClientSetFamily.Rd 89a8a15cc3ab6be52b924dd3f7dd4a99 *man/gSocketClientSetLocalAddress.Rd d1982c26c1aa5b1248397e1a3c052a1e *man/gSocketClientSetProtocol.Rd c7e2a2d109ee3553fd2ac728ce3afffe *man/gSocketClientSetSocketType.Rd 84117bdee48c131e7ff3753d25d34123 *man/gSocketClose.Rd 1ca9fee51ffd8db9626b72c473f1fde3 *man/gSocketConditionCheck.Rd ef8f0af3025ee0bdddc909d7bf37a245 *man/gSocketConditionWait.Rd bda0ed88423398e4316e1e0026ffe360 *man/gSocketConnect.Rd 95739efb231f287673d89f8781486548 *man/gSocketConnectableEnumerate.Rd 148c9ff337b93376cd82e03acce2fa85 *man/gSocketConnectionFactoryCreateConnection.Rd 45df809f02c68bb2e637f099a7b0bce8 *man/gSocketConnectionFactoryLookupType.Rd b3ecde40bcfa7c75bd23d3d57662fd40 *man/gSocketConnectionFactoryRegisterType.Rd 85a24d348b097bb8766504a5f5cae7a8 *man/gSocketConnectionGetLocalAddress.Rd 2672257ea04f7b5add7570753bfd7338 *man/gSocketConnectionGetRemoteAddress.Rd 87184040b0b20fb76287f0f60cb0a5fe *man/gSocketConnectionGetSocket.Rd ddd1175f0d930467bb39b30f7c99ba7a *man/gSocketControlMessageDeserialize.Rd 2b1e48e5bb0dfc42000d0a2034b75066 *man/gSocketControlMessageGetLevel.Rd 4c4adc46253f70fcb043a2b5f56fda24 *man/gSocketControlMessageGetMsgType.Rd c5dfbc1f4d666bb8d5cbe7c16fc14962 *man/gSocketControlMessageGetSize.Rd 5c0705d3712890e1957af4d2945bf67e *man/gSocketControlMessageSerialize.Rd bb76d0518e0787269200c7ebe254c983 *man/gSocketCreateSource.Rd ab9d237bbb0569d0aaf811ad2b3aea45 *man/gSocketGetBlocking.Rd 29fcfbeb36ddc285dbf6a4231b0c93db *man/gSocketGetFamily.Rd 18f05c4ab01e0d7b594c3f780eec6d24 *man/gSocketGetFd.Rd 745aab8fbf7057c7e6bf7d62397ecf76 *man/gSocketGetKeepalive.Rd 8216f67aa83fe11ccbc02423e6c0a5e0 *man/gSocketGetListenBacklog.Rd 48f043092261e24382752b9158ee5783 *man/gSocketGetLocalAddress.Rd 36724e3aae5aa2b4fe2e8d775fc33196 *man/gSocketGetProtocol.Rd 6dade9c1884e77725bea074c98e4a37d *man/gSocketGetRemoteAddress.Rd 5235a1234ae2164fbe6ab6951ddb6384 *man/gSocketGetSocketType.Rd 2ddcedcb9c7a27f2bf3dd62ef81d3aa3 *man/gSocketIsClosed.Rd b77665574575dd910dcf84d0fa327da1 *man/gSocketIsConnected.Rd 0c6691c6f13cf7352dda8944bd72d188 *man/gSocketListen.Rd 11b1932e291ff4f3fefe3eead81f5914 *man/gSocketListenerAccept.Rd 26858a86794941651b212d3dedaadc1d *man/gSocketListenerAcceptAsync.Rd ff1c8bacbb2267ee0ad5215c12e80fbf *man/gSocketListenerAcceptFinish.Rd 14e3ad115a0e9fd7d324d2ebe4e9d1e4 *man/gSocketListenerAcceptSocket.Rd cbf08ea7b7543cb9418357143834d227 *man/gSocketListenerAcceptSocketAsync.Rd 00ec17c74bbd54f5958c0b762cd68f31 *man/gSocketListenerAcceptSocketFinish.Rd 9fb85b70127fed7d041f49bb3c25ec2d *man/gSocketListenerAddAddress.Rd 94fbf73cfbe47dfadc79c731f33b63cd *man/gSocketListenerAddInetPort.Rd 414c32bba171c2ab69b76a9acc6f6d46 *man/gSocketListenerAddSocket.Rd 007dd10962e8d482126133be56a9facf *man/gSocketListenerClose.Rd 9511b2d88b381d9bfafaffabe88d29af *man/gSocketListenerNew.Rd 5b23b0fb0616eab52d2329b6ed325fe8 *man/gSocketListenerSetBacklog.Rd 59b36472a93c39ace497ef9711815b86 *man/gSocketNew.Rd a0495903641fafe029735c7405f88800 *man/gSocketNewFromFd.Rd a22b4fe3e7d0a018874fdab00bac92a1 *man/gSocketReceive.Rd 5fc90395972d05f25cd54d98181df616 *man/gSocketReceiveFrom.Rd 1132cf74710b707629a9b5bdb716ac60 *man/gSocketReceiveMessage.Rd 1c4328bf33f0c76d8a9cfcb4b29c645c *man/gSocketSend.Rd 159441b5281e697f6c54549b6eff8309 *man/gSocketSendMessage.Rd c6d8897fb0a7f9daa306041d0acdf188 *man/gSocketSendTo.Rd 209e7b7c00b185d8f76ebf5f8f0ad75f *man/gSocketServiceIsActive.Rd 7164dc02e02cb6d9828d9c811260aa54 *man/gSocketServiceNew.Rd 307083a74e10917f072698a0fb45b5af *man/gSocketServiceStart.Rd 9cf76aca9952ed2e83606da5bdbdd94d *man/gSocketServiceStop.Rd bb1b5b46f96ef82a1a00ef3a30845811 *man/gSocketSetBlocking.Rd cc7cfd84874a8933e129ec4f507ac5a7 *man/gSocketSetKeepalive.Rd 690f5e3ca9a36c5632bdcb687cc1c0a5 *man/gSocketSetListenBacklog.Rd 79775648724888b86bcd0d27d4795869 *man/gSocketShutdown.Rd 86eda1ce118e50ac0cfac0728f93693a *man/gSocketSpeaksIpv4.Rd 67c1ce7b981beb78bae67ae5d20ada34 *man/gSrvTargetCopy.Rd 305bddc40f733ee5a98a34728a3540f3 *man/gSrvTargetFree.Rd 661b52fe2822fcdc5ffce649f819bb7f *man/gSrvTargetGetHostname.Rd 7dc6fd6843a6f021e93679a5386ac98e *man/gSrvTargetGetPort.Rd b5ddf3964bfc90283103aa05662308b4 *man/gSrvTargetGetPriority.Rd 28e96038723cf3850a3fbd548a3eb3c1 *man/gSrvTargetGetWeight.Rd b55adbadc8d9ed02e9934af71a1999e3 *man/gSrvTargetListSort.Rd 00da7f800421aae15fce1a852867f9cd *man/gSrvTargetNew.Rd ff3be00c706316b29a362c747d4f6e83 *man/gTcpConnectionGetGracefulDisconnect.Rd 1d8c0d11cb4b56fad8bd9d2e09f35098 *man/gTcpConnectionSetGracefulDisconnect.Rd 32c5bd0bb29211f131b0b68f85b5ceb3 *man/gThemedIconAppendName.Rd e8a334e12064c60d9cc7742239c97c7d *man/gThemedIconGetNames.Rd 9c3fd2f62cd0ebf5ce4cc65d241c6045 *man/gThemedIconNew.Rd f220685292b493e9793ab87c8e0f65d9 *man/gThemedIconNewFromNames.Rd d0d63cdb2eecf35095e68945f083e328 *man/gThemedIconNewWithDefaultFallbacks.Rd 1bb0b26225d1c253d5293b6233ff4ef3 *man/gThemedIconPrependName.Rd 11aec3a3882ca131eb7d8ad5f3a15c61 *man/gThreadedSocketServiceNew.Rd 8eca0b0c4fb0bd8077fd029a3a38bc5a *man/gVfsGetDefault.Rd 219cad7568513069d496f695430f5f32 *man/gVfsGetFileForPath.Rd fb2477281da82430dbddbc866ea5fc42 *man/gVfsGetFileForUri.Rd cdfda63d713baf4371607d0bf92a28ec *man/gVfsGetLocal.Rd bb41148add20420d23c83fef64bf5120 *man/gVfsGetSupportedUriSchemes.Rd 2c77f278f1b7d597900f6f6b42a66446 *man/gVfsIsActive.Rd 337c2208d751a1415358a506f97febaf *man/gVfsParseName.Rd 7500edbd40865c3b1326261d5fa31d52 *man/gVolumeCanEject.Rd 6671e6171cc9c5afce9b00ab91f9cce0 *man/gVolumeCanMount.Rd a99487efb6fa0c9f2598707fdfcb1d84 *man/gVolumeEject.Rd 7a68a77999fb3d23c96c44cd5fec7366 *man/gVolumeEjectFinish.Rd 87dcde0764d4917436151b17c5e39f02 *man/gVolumeEjectWithOperation.Rd d764ebe6c5ab98b4591fe8766534a734 *man/gVolumeEjectWithOperationFinish.Rd fbeec47f37e636d967cbe527d21d6356 *man/gVolumeEnumerateIdentifiers.Rd 22766034e509130e988fcc7caf93ebda *man/gVolumeGetActivationRoot.Rd fbf753b18cae4c70c48cbf2bf70a59b7 *man/gVolumeGetDrive.Rd a069d2e6c4f0518f2ade009a30acb323 *man/gVolumeGetIcon.Rd 3159570e3e086dbe87f35358236e630d *man/gVolumeGetIdentifier.Rd 47ade9ae569a7a10e03d227d073645e2 *man/gVolumeGetMount.Rd 630c855565ac40a034978aa436eacdd7 *man/gVolumeGetName.Rd 896a04ea3afe962e76b40ff30300c222 *man/gVolumeGetUuid.Rd 3a17651fce36bdf48d1886393c799d47 *man/gVolumeMonitorAdoptOrphanMount.Rd e5c0846584edcd0692ee93986f8c5c7e *man/gVolumeMonitorGet.Rd 1412de76342f1d1ed13c54cfa136c388 *man/gVolumeMonitorGetConnectedDrives.Rd 0c5c02ef6665428896299b7142a4f193 *man/gVolumeMonitorGetMountForUuid.Rd edfa8a3dc2f9171890708b559d66f500 *man/gVolumeMonitorGetMounts.Rd 4b4d18a4a36a191cdbad63d13f40c30a *man/gVolumeMonitorGetVolumeForUuid.Rd 8a02d6a5b44107d62c484e9ef2cdca2f *man/gVolumeMonitorGetVolumes.Rd 8cf672a3d37fa7c8035788c3f7bd87e9 *man/gVolumeMount.Rd e43ad7b1cd031e77b9d3ec7e8b5fd23c *man/gVolumeMountFinish.Rd 6feb09b7b2fcece287f19c8ed403ca00 *man/gVolumeShouldAutomount.Rd d1cc1d1d0a57e36db630717747f7afe5 *man/gdk-Application-launching.Rd 5a7a7f68c0c2520737556c9b68ee9a2f *man/gdk-Bitmaps-and-Pixmaps.Rd dbfae990330c91b7c2715b68c64bf34d *man/gdk-Cairo-Interaction.Rd 78ac6e106d4ebf1cb5e9cbe571388309 *man/gdk-Colormaps-and-Colors.Rd 6b873fe4d540539087415bb074bb2c93 *man/gdk-Cursors.Rd 11a1726a99bd64fd7c49482752d0e94a *man/gdk-Drag-and-Drop.Rd b9e56758919f216ff80a489382c2ea5d *man/gdk-Drawing-Primitives.Rd c2010df6bbb3c830e85e8c5498d13e53 *man/gdk-Event-Structures.Rd 4e362510eafdc85a9c2f34c9506042ba *man/gdk-Events.Rd 9a2220d96dc15d3ffa626c5275d0ab22 *man/gdk-Fonts.Rd 16cecf9ca83bbaa46cf1a883ce1c4756 *man/gdk-GdkRGB.Rd 54a04771ec9c2d34d15f02eef879aa51 *man/gdk-General.Rd 91e2f57e3c4d3ec9bd77cda6415ce268 *man/gdk-Graphics-Contexts.Rd 7e0c3cc0a7fa7655b096e54c9bc4ff5e *man/gdk-Images.Rd 06adafe1b4af709ef0609c3bfe1965f3 *man/gdk-Input-Devices.Rd 27f56bdb5dbc0e68b73ba9a3750ea0c4 *man/gdk-Keyboard-Handling.Rd 1709427475a360745d4e4427bf7d94e5 *man/gdk-Pango-Interaction.Rd 89e317ed463b8fc25329ead8855f9d32 *man/gdk-Pixbufs.Rd 9224cb0f2909e3c79d839af09a8eea4b *man/gdk-Points-Rectangles-and-Regions.Rd afb08d817c5d4c6816c9016e7636ade4 *man/gdk-Properties-and-Atoms.Rd d1c2ffc0c14d950457dec7ecfb3e5d1b *man/gdk-Testing.Rd 7f0784c100ade23b649a43c87b6e62b6 *man/gdk-Visuals.Rd 97c25c314b5acebc95e3069264441149 *man/gdk-Windows.Rd b7001d0c4cde19f6fd971ec275d6be42 *man/gdk-pixbuf-File-Loading.Rd d7e6446ae59191b8769b42b4cacc1625 *man/gdk-pixbuf-File-saving.Rd a6a1a2bef040cf11ad68226d92fad45b *man/gdk-pixbuf-Image-Data-in-Memory.Rd dd552595e2eda37f4a016ae13e98026c *man/gdk-pixbuf-Module-Interface.Rd 8e30b26caba89490a1340aae04d67e34 *man/gdk-pixbuf-Versioning.Rd 4dbc0ca1f904e90df4a75ceda11e1611 *man/gdk-pixbuf-animation.Rd 5e9f16d0878348a2a1aa3d6e8c3f8d2b *man/gdk-pixbuf-creating.Rd f0810597d7ba61aacda34f6f521815e1 *man/gdk-pixbuf-gdk-pixbuf.Rd 3cd95007e9e5b827a4eedb037f2e31a0 *man/gdk-pixbuf-scaling.Rd abffcfc4f3137da4440d5bb98a598326 *man/gdk-pixbuf-util.Rd 824b10f96d6ea5bd0e647a4d5d4f1623 *man/gdkAddClientMessageFilter.Rd ee6b4fd1b832adc721d16394ff6dfff9 *man/gdkAppLaunchContextNew.Rd d4cde1904fb5fb1f46853c830dbee592 *man/gdkAppLaunchContextSetDesktop.Rd 67d32a72070699f167125560a5b57283 *man/gdkAppLaunchContextSetDisplay.Rd b359fc8f1b885e8065a4425a7cf18d36 *man/gdkAppLaunchContextSetIcon.Rd f57543fbc98cdf60ba138dd5c7a23ec2 *man/gdkAppLaunchContextSetIconName.Rd be601e5fb9c9da178c9b543a7c6dc06b *man/gdkAppLaunchContextSetScreen.Rd 6a37af2d285e01046387e24f8e2d6941 *man/gdkAppLaunchContextSetTimestamp.Rd 38928efab6606f1f7a31e7ce3910c6c4 *man/gdkAtomIntern.Rd 3facabd1af72f338db4d15effedab4bb *man/gdkAtomInternStaticString.Rd 180f61b99f95708ef8c284c04759020f *man/gdkAtomName.Rd 648353b97f27e5d3719e78d3bb49740a *man/gdkAtoms.Rd 17bddd0429104f7d646202db7dcb63d2 *man/gdkBeep.Rd cd20220a9c0064c189ea047ef739dcae *man/gdkBitmapCreateFromData.Rd 04bac4c7683cf437b0ffb953ec77ed15 *man/gdkCairoCreate.Rd 4b8a680a8732585b942747ad5504b8d8 *man/gdkCairoRectangle.Rd 60c96b3cf55803b2c8464be56c01d3fc *man/gdkCairoRegion.Rd c2720c2c3b69aec8ed2e08a1ab2e9d01 *man/gdkCairoResetClip.Rd 0e06b87d5b77c58038cc8ec3c8f20045 *man/gdkCairoSetSourceColor.Rd 58513c26b7c76cf9c227753f5c663838 *man/gdkCairoSetSourcePixbuf.Rd d612d19e4dff53482b1bcbdf50abce63 *man/gdkCairoSetSourcePixmap.Rd 4a05f0756171c3590cbc69531c392e04 *man/gdkCharHeight.Rd 194d2d5973a62150b25846b9c63d6745 *man/gdkCharMeasure.Rd cbdf7c028c309631f5d0f8d9231fbb30 *man/gdkCharWidth.Rd 286800021e4189263467d5272af7eb73 *man/gdkCharWidthWc.Rd 98c544ad5f89caf6043c82f88109bb32 *man/gdkColorAlloc.Rd eb513c57e77269a4496f9ba812d7d4c5 *man/gdkColorBlack.Rd 7fc51af6b68fcb01c2f780ec8153128d *man/gdkColorChange.Rd ccb61766520f5ab6740e8b935858ff43 *man/gdkColorParse.Rd 5385e1972228ab86647f560c3b918913 *man/gdkColorToString.Rd 7f13751d795b8d3cfad2a003ae1c3e3a *man/gdkColorWhite.Rd f01066793fbcd2bcd31a7c1120905aa0 *man/gdkColormapAllocColor.Rd c053fc5ee033b9b3565fa1264bf6ee41 *man/gdkColormapAllocColors.Rd c0c49638070965fbfd1927ef062b2d87 *man/gdkColormapFreeColors.Rd a1428be2b3a51008f0a00394ca12a6b4 *man/gdkColormapGetScreen.Rd 2ff557e8a220e1973b8aeb7c4b2853a2 *man/gdkColormapGetSystem.Rd 5660871a212f7fa476acdc6896563fe3 *man/gdkColormapGetSystemSize.Rd 9e30ac71d4b5ace4225dcd437064ccba *man/gdkColormapGetVisual.Rd 18d14b4eae61b8811f7d207e967f1bd6 *man/gdkColormapNew.Rd f63e5685993c2e21aa7b7ccf2e9d2d3b *man/gdkColormapQueryColor.Rd 250b8e25e5f982080395f46225651008 *man/gdkColorsStore.Rd 2a0d51b7f0e7e063dc67d3cbda08a8b4 *man/gdkCursorGetDisplay.Rd e0caecae1ae66c2f7040f2ca2e3f9acf *man/gdkCursorGetImage.Rd 470e84363818fbc049dc0046d0c2526b *man/gdkCursorNew.Rd 35727468f474764e33f06603ffd64be4 *man/gdkCursorNewForDisplay.Rd 3ee6cb9c22d6f56b5f5e00b9254dc535 *man/gdkCursorNewFromName.Rd 3f161dbc44866cb296feb8b9ba4df7f4 *man/gdkCursorNewFromPixbuf.Rd 51318e3828b0166b7ef391b502a50a60 *man/gdkCursorNewFromPixmap.Rd 6f668e929416caa55fa9b8afc95283c7 *man/gdkDeviceGetAxis.Rd 241791b49edd540448cb9f657cdd5468 *man/gdkDeviceGetCorePointer.Rd ce77a0640ee09d8dd7d4b97976c5de23 *man/gdkDeviceGetHistory.Rd 4aaffb8f4e466c0e56de0611830a1c7e *man/gdkDeviceGetState.Rd f7ef1b20d1d71e098fa2a89fa5d49a7a *man/gdkDeviceSetAxisUse.Rd a400daf437a3c29d5f7836c595b242cc *man/gdkDeviceSetKey.Rd 199b150b3770bc1a68e52da7e281b52d *man/gdkDeviceSetMode.Rd 4df31e80bfa6aa0f3bf3a477b7943985 *man/gdkDeviceSetSource.Rd ae165571a5a4910f8106496bcd661b6c *man/gdkDevicesList.Rd 6563ccd0a2e98c716ddc710797092812 *man/gdkDisplayAddClientMessageFilter.Rd ef3eefa4e4c3dc27a0c0723ebce45f10 *man/gdkDisplayBeep.Rd 3c2b9f36fb66e591fda58c76be0b9f7e *man/gdkDisplayClose.Rd 1e439bbb3d1b8bc3466f34de0478b206 *man/gdkDisplayFlush.Rd a6bb6cc33ccea937e346c77e407c8a17 *man/gdkDisplayGetCorePointer.Rd c39d3f06bb8394293e8f48a0d332cad9 *man/gdkDisplayGetDefault.Rd 07b0819570b9d5fe6753de9882ff486f *man/gdkDisplayGetDefaultCursorSize.Rd 35e4853cf64bff02c8f48162532d17b1 *man/gdkDisplayGetDefaultGroup.Rd 75face5b43383b99d410e7f987159dab *man/gdkDisplayGetDefaultScreen.Rd 063c9e8188f9984d3d730954ecad4b0b *man/gdkDisplayGetEvent.Rd b51c4ba23aa3db54362a614fd6cd130c *man/gdkDisplayGetMaximalCursorSize.Rd 3cf4c52b41a5060bd9fe7ad93d34ac72 *man/gdkDisplayGetNScreens.Rd 08c24818259990163d00665d23c58749 *man/gdkDisplayGetName.Rd 94f16815729452620545ab53153ea957 *man/gdkDisplayGetPointer.Rd bbb4fbbc395a17544c8475b6a3b58391 *man/gdkDisplayGetScreen.Rd e0440304266f3c76950fef7fd0dac25a *man/gdkDisplayGetWindowAtPointer.Rd 4b4f5f2d49b2cea8e1b63296a88e8833 *man/gdkDisplayKeyboardUngrab.Rd 09f81e723e3f671c5b7fdff065b2e4e1 *man/gdkDisplayListDevices.Rd ecdb043e0f3d667f882a660bd56535ab *man/gdkDisplayManagerGet.Rd 67c1e2b8ff3c8b40435309d974370cab *man/gdkDisplayManagerGetDefaultDisplay.Rd 01e97c1568b4f4a8fd4d359932e0b07f *man/gdkDisplayManagerListDisplays.Rd 300c9a5d60eb234e52bcce239cb64c4e *man/gdkDisplayManagerSetDefaultDisplay.Rd f6ca98f8f02fd9245d7fc727c94ca1b4 *man/gdkDisplayOpen.Rd 4526e72b519e65969f6fc6a72520f340 *man/gdkDisplayPeekEvent.Rd b689d965f72cebebea5e4f2d799f854f *man/gdkDisplayPointerIsGrabbed.Rd bab876a96f97a5fedfe9e31563dea232 *man/gdkDisplayPointerUngrab.Rd f9fb6d0f2a220f0a0782a803f5b0248e *man/gdkDisplayPutEvent.Rd 6bb4ba6f469dd162fd4ed5566fa7a9d9 *man/gdkDisplayRequestSelectionNotification.Rd 7800c2215e3be4c5989c3c9f131102aa *man/gdkDisplaySetDoubleClickDistance.Rd 96e5ea875535d22b96a0c7808a3b5e0c *man/gdkDisplaySetDoubleClickTime.Rd 340003840741fbb8616e5499bd407391 *man/gdkDisplaySetPointerHooks.Rd 4be3dc9a5eee599f2b1a26990bbe1349 *man/gdkDisplayStoreClipboard.Rd b01d2c6d830f847004560c334301fd9e *man/gdkDisplaySupportsClipboardPersistence.Rd 36df6d6372682970e1c99ff6bd37bbd4 *man/gdkDisplaySupportsComposite.Rd 4f6510f7717c31f6ae7db74c0a5d6af3 *man/gdkDisplaySupportsCursorAlpha.Rd 8ff3bf4fc33589e21386eb73a5031892 *man/gdkDisplaySupportsCursorColor.Rd 7cc648b36cf0d64684770cc2dddde7f6 *man/gdkDisplaySupportsInputShapes.Rd 446abbe71c0f23c2e2cb0882f83ea378 *man/gdkDisplaySupportsSelectionNotification.Rd 575f256e076dd077f54dd50470afee56 *man/gdkDisplaySupportsShapes.Rd fedc55935c5fe11f4733d864674962bb *man/gdkDisplaySync.Rd 5a97ec96b2c257d55357019b6724c1ec *man/gdkDisplayWarpPointer.Rd 3497eac326f56a92600ebe046fdc4cca *man/gdkDragAbort.Rd c1b40cbf34f2d3252151f647187d0e39 *man/gdkDragBegin.Rd 1f1f9fb42760b9f86dae262409c79bc4 *man/gdkDragContextNew.Rd a3a01c72d6759360a639c3c95a1bb299 *man/gdkDragDrop.Rd 50ff863b12b95fd6fb7ac7510becdb49 *man/gdkDragDropSucceeded.Rd a6eaa4766437f8f816d89c54783e9756 *man/gdkDragFindWindow.Rd 000408b13964c670b61a659035c31e5c *man/gdkDragFindWindowForScreen.Rd 7e6925b76ada9534184b582bdf92fe89 *man/gdkDragGetProtocol.Rd 24c4a1a6fa10e1cab4ec789be0cccd0d *man/gdkDragGetProtocolForDisplay.Rd dd925fa9740b526c0845b83893f484e5 *man/gdkDragGetSelection.Rd 0f1562aa0bf0bfd07dafea7521446035 *man/gdkDragMotion.Rd f35f43ac007b906634971c20e73b95fe *man/gdkDragStatus.Rd b1165eadccf5053863a9f92b847d4166 *man/gdkDrawArc.Rd 5d0a3b73ddec4e3132ea551755f4eaa2 *man/gdkDrawDrawable.Rd b9b32236a1bab332439605956192d1fd *man/gdkDrawGlyphs.Rd d192ad092ed7d2b36877e29045a9fcfa *man/gdkDrawGlyphsTransformed.Rd 58803fa108f3c07b34b14976f8c3b12f *man/gdkDrawGrayImage.Rd 397e07d60a94ae0f0580fab4136f954f *man/gdkDrawImage.Rd b2e165b2711337d2b9993756345e9618 *man/gdkDrawIndexedImage.Rd af3a59de4a325c30e4990d629757a546 *man/gdkDrawLayout.Rd 8e7e62bc4fa75aa4429d36e83f228a90 *man/gdkDrawLayoutLine.Rd f2ce4611fd938d9d04bb63792c4801ef *man/gdkDrawLayoutLineWithColors.Rd 4264c35205b45fd4965de7d446a7bd3f *man/gdkDrawLayoutWithColors.Rd 6cc42f69389433cde799634c713f5afb *man/gdkDrawLine.Rd 762c65402255f7b987e8f3b7734b98a5 *man/gdkDrawLines.Rd 00e92edda27418af533095ca682deedd *man/gdkDrawPixbuf.Rd 552b79fe37467548a9afb4cc66fc278b *man/gdkDrawPoint.Rd 8f62d31ed34ef60f45aaddeee13f284d *man/gdkDrawPoints.Rd 76db862ae9b1a55871e9bbed4b4707a5 *man/gdkDrawPolygon.Rd c51e5b31c0cfabd69eb0815906faa1cf *man/gdkDrawRectangle.Rd 4b978a86ff54dd6c2e7e80aa360b3ad8 *man/gdkDrawRgb32Image.Rd 2baaaf0f316862df395d6a6e12486f36 *man/gdkDrawRgb32ImageDithalign.Rd 6df679f6d4e1622c9898c7d68bafd076 *man/gdkDrawRgbImage.Rd 22392fba8264b74440ed3e0818376579 *man/gdkDrawRgbImageDithalign.Rd b98ef8fda538c98e4064ed2ba6b7629d *man/gdkDrawSegments.Rd e410793d292e31c708ec4bef66f67120 *man/gdkDrawString.Rd 796f4dca50ec51815b98aa10676d4526 *man/gdkDrawText.Rd 7e5c7f70d1c58003877287fbf6bde937 *man/gdkDrawTextWc.Rd 5620c34533096cdf47651361aae377f7 *man/gdkDrawTrapezoids.Rd b17dd552e8acd86def1931f8db5e16ca *man/gdkDrawableCopyToImage.Rd 7b084f6915c39c941dc1cfe0dc1160d7 *man/gdkDrawableGetClipRegion.Rd e332efc05a4e16a27eaeab096ee4d380 *man/gdkDrawableGetColormap.Rd a40cdf93f7134c88c1a5749b86ad7376 *man/gdkDrawableGetData.Rd a4ba90099dc6d1350ab44ccfcc84462f *man/gdkDrawableGetDepth.Rd cb530af237bf20c108bce3d95b500d2e *man/gdkDrawableGetDisplay.Rd 99d8ae9e2766151088136e5480e5f460 *man/gdkDrawableGetImage.Rd 7f4e1f6c2e68141bbbb1357a0f770623 *man/gdkDrawableGetScreen.Rd 598471f2f9e3b240636342137e7b111a *man/gdkDrawableGetSize.Rd 7efdd529ee9f137e70da42fdefef8793 *man/gdkDrawableGetVisibleRegion.Rd e940f2b2359f66b4b3d951ce17c57ec0 *man/gdkDrawableGetVisual.Rd dbef60cbc9d96d62dbeed07df0c75392 *man/gdkDrawableSetColormap.Rd 2ba22f2db5a4f4eb7adf42fa32333e37 *man/gdkDrawableSetData.Rd 62120d861c928685b6ed73d66235a03f *man/gdkDropFinish.Rd 05cde706494d2104258daaa7eb0b4f25 *man/gdkDropReply.Rd 298b4e85f01170b1aa3cb77f5fe293d5 *man/gdkEventCopy.Rd d1de6077ae27100472c196412b2c016d *man/gdkEventGet.Rd 942aa36606bb8c1dbe0ad18f4b94628b *man/gdkEventGetAxis.Rd 5caaa76cc3346d021cd068db8821fcd2 *man/gdkEventGetCoords.Rd f963fbe77dc1c93cd7d19adf09a8bf68 *man/gdkEventGetGraphicsExpose.Rd 5a60b63a3ff194e2fa75526d6f8966d9 *man/gdkEventGetRootCoords.Rd 10a5966a4e085f8cb5c6f3d0fe4ce163 *man/gdkEventGetScreen.Rd c86945bc73da7be47976320a6a8e5ce1 *man/gdkEventGetState.Rd 1104563bdb75ee29149609a5448d62e9 *man/gdkEventGetTime.Rd 97d89f250c804ac87183de9f9f946c36 *man/gdkEventHandlerSet.Rd 374b0db6ab690c8101b280d500542684 *man/gdkEventNew.Rd f5c3861edad3fac766c54550ca5394c3 *man/gdkEventPeek.Rd a8b7aff0a8e0d5089614f936b19b88c0 *man/gdkEventPut.Rd 8c94717c2e86bd6dc9896473607c5bf5 *man/gdkEventRequestMotions.Rd bd9d110fdb809eedc601d5e98afa2b0e *man/gdkEventSetScreen.Rd 8403ed7938364ddedb841fe37a2ed154 *man/gdkEventsPending.Rd 022e05584f7a573a22bf693371a3d7a3 *man/gdkFlush.Rd b9a249638d62044dbda65b65ea9fde24 *man/gdkFontFromDescription.Rd 9594e7cb69ec7be7204689bf7400d2ed *man/gdkFontFromDescriptionForDisplay.Rd aabd4f5229f64c2354a96b4f5703f61f *man/gdkFontGetDisplay.Rd 6d55f30261ab0d2e4df8f170a7d38020 *man/gdkFontId.Rd 0f16bed32f59c1f9f7e80f7c31d6a6ec *man/gdkFontLoad.Rd fcbf99ec55f47e3e9a64fa2ac08d46ea *man/gdkFontLoadForDisplay.Rd e26fff9d981114491233c55229fca5bc *man/gdkFontsetLoad.Rd 8ea74ead9d74445a0831017c0719d8f8 *man/gdkFontsetLoadForDisplay.Rd c720a6f4629ec0ec998c438a7ebbc39f *man/gdkGCCopy.Rd 0d827bf394c6abf313af13a2626d3b0f *man/gdkGCGetColormap.Rd 32b81a22ca8c2561cd73c13c2f7406d8 *man/gdkGCGetScreen.Rd eb6be1d0a7c68b979f94b0622645a193 *man/gdkGCGetValues.Rd 460abc3a369318ed0cb59ca1b1df27db *man/gdkGCNew.Rd 470436c84d45bc8330bd2688de3eecd8 *man/gdkGCNewWithValues.Rd 45967dbe4a59e35eb56904149f07ec09 *man/gdkGCOffset.Rd 9a7d6911de0703094e6df1af2c047a5e *man/gdkGCSetBackground.Rd f2eb84613ee9c5cb6065d6c8ba7d17e7 *man/gdkGCSetClipMask.Rd 49d6907d14986c6f2ded3ab712e00dbe *man/gdkGCSetClipOrigin.Rd a28ebeba28c3738ff9f6e81c36a0fa04 *man/gdkGCSetClipRectangle.Rd 33da5ab80028d488b914b91cc80b837e *man/gdkGCSetClipRegion.Rd 5a3e7a722e9fad0a15b3b568c05f4903 *man/gdkGCSetColormap.Rd 70cddfbe58a16ce49d4729d66d84f131 *man/gdkGCSetDashes.Rd f07664706b3d8b05bfffe2960a08755c *man/gdkGCSetExposures.Rd 2dcf847e0625f5b9d5c9756bec9141bf *man/gdkGCSetFill.Rd c1aeff3191ea4f089c1a4dfa19ca8b34 *man/gdkGCSetFont.Rd 0e50b137c7a81425a4581e07fbc0ef86 *man/gdkGCSetForeground.Rd 5d50017814cc92c5df4745586b04edc3 *man/gdkGCSetFunction.Rd 51157e14ba499f291f573fe36e10d063 *man/gdkGCSetLineAttributes.Rd ad1adbefbc054266875a66f7988a5295 *man/gdkGCSetRgbBgColor.Rd 82345692137cfd09c4bb71e7a0653662 *man/gdkGCSetRgbFgColor.Rd b5fadbf5f46b1123fdd0da884f96e039 *man/gdkGCSetStipple.Rd 10b3645ecc30612f6aabeb0751d36a2e *man/gdkGCSetSubwindow.Rd 762973f0203f756a2708756c7e2b3687 *man/gdkGCSetTile.Rd 81e45d03a88a7a964824f3b5f3976931 *man/gdkGCSetTsOrigin.Rd 3b34c88c136c66849296abe0a05293c3 *man/gdkGCSetValues.Rd 00faaf0cad630f79f60617b1a78d7730 *man/gdkGetDefaultRootWindow.Rd b1f04f3b10cf5d4e44cbca812ab09c47 *man/gdkGetDisplay.Rd 4a1290198972bd98ce17fe9e1e30927e *man/gdkGetProgramClass.Rd 869883b5626babb35d896b85e99bca86 *man/gdkGetShowEvents.Rd 2be28b1455da0db9dd1eada79f2a7881 *man/gdkImageGet.Rd e1feef374da943d876d91b0f5554f501 *man/gdkImageGetColormap.Rd c019e9622c2e1f95c5cde476a27cf495 *man/gdkImageGetPixel.Rd 563ecb60045fa26ad102d3f79335b0cc *man/gdkImageNew.Rd 43109ecadbd8495d5f9548eac2e48ab0 *man/gdkImagePutPixel.Rd c0e23e82e4e0cf4484255a005fd81611 *man/gdkImageSetColormap.Rd 79fcd17d11e46d10fc5c2d328273430c *man/gdkInputSetExtensionEvents.Rd 4de0e488dd740925029ab50b3b32c78d *man/gdkKeySyms.Rd f00b90d429261ce05be81c94615fedbe *man/gdkKeyboardGrab.Rd 7ce97793ae80dd762093fd2fa487df61 *man/gdkKeyboardUngrab.Rd e1347a5b5e68f1bc23eb02228d36aac0 *man/gdkKeymapAddVirtualModifiers.Rd d897ebda64989d1aa78bec6360d9ae2e *man/gdkKeymapGetCapsLockState.Rd fc38047ce935e47d7464154be0c8ac05 *man/gdkKeymapGetDefault.Rd 826b3ee24004b7af5af1fd255a97d99e *man/gdkKeymapGetDirection.Rd ec618612c446ecef8403ec4bbfa21709 *man/gdkKeymapGetEntriesForKeycode.Rd c23cffc4bbac5761154a270066186692 *man/gdkKeymapGetEntriesForKeyval.Rd 59cbf09eafcf494f388545fc5ad182f0 *man/gdkKeymapGetForDisplay.Rd 84fc619a00ad02dbd3cda683956d45c1 *man/gdkKeymapHaveBidiLayouts.Rd 9212340b8938b21865bf5ff9e97e58a7 *man/gdkKeymapLookupKey.Rd a74be99d41378998fd37607b42c7fbe6 *man/gdkKeymapMapVirtualModifiers.Rd bfc8bb3b73ca7c65b0d28904cad1b5b1 *man/gdkKeymapTranslateKeyboardState.Rd cf5e47498b31bdb5348c2cf9757fc0cb *man/gdkKeyvalConvertCase.Rd d45bd4e8e7326a8f5b85dd26b7a093bc *man/gdkKeyvalFromName.Rd 75d2000ff8f53248755646ad8d1ac2b0 *man/gdkKeyvalIsLower.Rd a81e79df6f0a8d1d59fc5cb2556c0a2d *man/gdkKeyvalIsUpper.Rd 4088232a60a97a14be4c18ae83473440 *man/gdkKeyvalName.Rd 0791a44479df5ebc36bd88dddc309ab5 *man/gdkKeyvalToLower.Rd 8e2edea93154f5854e3585549dee6c76 *man/gdkKeyvalToUnicode.Rd 2b2d65039103b54a2b892944c9721e05 *man/gdkKeyvalToUpper.Rd 155bc82a72277fda091233847346aaa7 *man/gdkListVisuals.Rd 87eeb2f0e511527897df2b59dbbadf26 *man/gdkNotifyStartupComplete.Rd 274e5ffb5ee8b5626645876e96c9d41d *man/gdkNotifyStartupCompleteWithId.Rd 21703a1f90e43fe9829e2099033d45cc *man/gdkOffscreenWindowGetEmbedder.Rd 207ddef017cfdc001251ea149f60dfe6 *man/gdkOffscreenWindowGetPixmap.Rd a30e47341edb8409d68e14b9704cc679 *man/gdkOffscreenWindowSetEmbedder.Rd cfc2f5e529398df19396e0d35a18137d *man/gdkPangoAttrEmbossColorNew.Rd 2438732bd8a61c362502f1027c3b6b7f *man/gdkPangoAttrEmbossedNew.Rd e5c21cd9d1235bcd9fa0fb07c29a2008 *man/gdkPangoAttrStippleNew.Rd 850a993ead16a9a11e9ddaacfbd65d9b *man/gdkPangoContextGet.Rd fdbc4aaeca620f8e2bf32d19cc190007 *man/gdkPangoContextGetForScreen.Rd 63cf970d9acfd101bacf0b00e9fc52b6 *man/gdkPangoContextSetColormap.Rd a0b5cb7c86b8aa84b4c3da9f1eaafa7e *man/gdkPangoLayoutGetClipRegion.Rd 4bb22ea15e4d356cb5a7271180d7a90e *man/gdkPangoLayoutLineGetClipRegion.Rd 2ae2e94b0439d66ed0c1672a9e1e74e0 *man/gdkPangoRendererGetDefault.Rd 764c4760092231dc2fe8a658d911be76 *man/gdkPangoRendererNew.Rd 420b6f1188fb5542c45b52714de374ce *man/gdkPangoRendererSetDrawable.Rd dd6e451ecdb164754a1a4bad2e27667e *man/gdkPangoRendererSetGc.Rd 01f6b34434c0b18e0b3a82f195e02dbe *man/gdkPangoRendererSetOverrideColor.Rd 34df7ea93b174e3b251e6df55182fb09 *man/gdkPangoRendererSetStipple.Rd 105d0c7f8d5e25e51a6578056646ac87 *man/gdkPixbufAddAlpha.Rd 46c98ea4e26a0ba77e2bf7883c7a5216 *man/gdkPixbufAnimationGetHeight.Rd 1bc9077be5c9d206ca1fa55c41b3b7ed *man/gdkPixbufAnimationGetIter.Rd 728bc1433cd13288bf9aa329916a7ae3 *man/gdkPixbufAnimationGetStaticImage.Rd e9749efde925033875ac96fe45b32820 *man/gdkPixbufAnimationGetWidth.Rd 2d28e3cd258a3ab84fbb2b5e41b58e12 *man/gdkPixbufAnimationIsStaticImage.Rd 415f817db82144cc36ad80e4fcc44789 *man/gdkPixbufAnimationIterAdvance.Rd d991ecb670771c7b085ddc2a663b4c1f *man/gdkPixbufAnimationIterGetDelayTime.Rd e500acd85d5be441812035c4a02fc9c8 *man/gdkPixbufAnimationIterGetPixbuf.Rd 7a5c19fafa46d107a640edd52d8d1534 *man/gdkPixbufAnimationIterOnCurrentlyLoadingFrame.Rd e113515649fe06aa6f8205703ad019b8 *man/gdkPixbufAnimationNewFromFile.Rd 7b23a9a6bce5b633d3f08a0129697ce3 *man/gdkPixbufApplyEmbeddedOrientation.Rd 2064ea2eb766917ad14dfb85ce53f46f *man/gdkPixbufComposite.Rd afd35ad59496b3e462de5924479941c8 *man/gdkPixbufCompositeColor.Rd 3a651d6d0d566af638dbfe9f29680789 *man/gdkPixbufCompositeColorSimple.Rd 3cee770af8e09af8b8f575cf6366af27 *man/gdkPixbufCopy.Rd 1120fd07b4759b815765541d3473227c *man/gdkPixbufCopyArea.Rd 9d21d25506e4c98820f4b27f40c87d8a *man/gdkPixbufFill.Rd 315208ba3aaffc33c4d8ce867eea23b4 *man/gdkPixbufFlip.Rd dd834d9b61aa85f24c71bf5e01b83fd2 *man/gdkPixbufFormatGetDescription.Rd 26dcfc8c69ad1fb084566cc0ae3ddee0 *man/gdkPixbufFormatGetExtensions.Rd af49749a8178943dcf14b60894807912 *man/gdkPixbufFormatGetLicense.Rd f1e8fdbb9da55056a70f6979d9c82ce2 *man/gdkPixbufFormatGetMimeTypes.Rd bb2c73a86924e0fe8fff0d2ef198ce71 *man/gdkPixbufFormatGetName.Rd 465d47be502f0db849273dca405c37bb *man/gdkPixbufFormatIsDisabled.Rd 546993fdf2023fecb9445049bd58ae1a *man/gdkPixbufFormatIsScalable.Rd 019911a9759cc51a91fd1cddbb12df45 *man/gdkPixbufFormatIsWritable.Rd a2a0a4744e5cc7986a42e5bc774abaa4 *man/gdkPixbufFormatSetDisabled.Rd 1b790693eaa69600a4b9d3abe23dd58a *man/gdkPixbufGetBitsPerSample.Rd ee39dc6a7665e8c2645102d10e0d6573 *man/gdkPixbufGetColorspace.Rd 94c5650c42de5869cb9a7d651dba66e9 *man/gdkPixbufGetFileInfo.Rd 19803671fc5a9522aa75e66f70f70228 *man/gdkPixbufGetFormats.Rd 94e1f01a57d95758a7690d385f60553d *man/gdkPixbufGetFromDrawable.Rd 52053255ed23bd98b2040919b0d2cf40 *man/gdkPixbufGetFromImage.Rd 2efdf9a23a38bfc87f46ba59e5e4f928 *man/gdkPixbufGetHasAlpha.Rd 0fa79bb3ace8e4c406ba98017418b239 *man/gdkPixbufGetHeight.Rd 017f44c5647d921939de44e32aacce9e *man/gdkPixbufGetNChannels.Rd 288c3878f626f9bcd60d36785c5c4f3c *man/gdkPixbufGetOption.Rd cb4d1476fca20d5c6692b5a9f8e38027 *man/gdkPixbufGetPixels.Rd 6afd96308bb59a212383a56c7b9fee70 *man/gdkPixbufGetRowstride.Rd 48642166eb49f137d0e6571d7f7c53bc *man/gdkPixbufGetWidth.Rd 6eca1e7474579cf15d15fe5a1f806f16 *man/gdkPixbufLoaderClose.Rd 4ca6d3ea4d22a52dced77860c812d925 *man/gdkPixbufLoaderGetAnimation.Rd 2465ee7c1110735d21dfc6256f98c036 *man/gdkPixbufLoaderGetFormat.Rd 8f635ba5bd05496942f14fd4e525cc1a *man/gdkPixbufLoaderGetPixbuf.Rd 5b40871e62e8dcf2ab414c040c180e3c *man/gdkPixbufLoaderNew.Rd 63a51cca42f0da2051281938285f150e *man/gdkPixbufLoaderNewWithMimeType.Rd ffc43f65e3c375917e8f4575c9cc9486 *man/gdkPixbufLoaderNewWithType.Rd 4d158908e232717c1145116525934efc *man/gdkPixbufLoaderSetSize.Rd 2d2f1a85e7bae0de6fa6bf2970b325a9 *man/gdkPixbufLoaderWrite.Rd fc1855e787e687b58a72407a43706d4b *man/gdkPixbufNew.Rd c5bf7fce39f06e31b0cbaf02ba1f91e0 *man/gdkPixbufNewFromData.Rd d29f397ebd537dcd1175b6a2406cd7ca *man/gdkPixbufNewFromFile.Rd 321ee95a943c629a12085d5f5927f2b2 *man/gdkPixbufNewFromFileAtScale.Rd 74b0f8e5912a62c7a2210bd70c3fe3d8 *man/gdkPixbufNewFromFileAtSize.Rd a75697254eec78f4e7101a2a86e9da2f *man/gdkPixbufNewFromStream.Rd a784afe2c8a2fd3180507cfb74d7e6d7 *man/gdkPixbufNewFromStreamAtScale.Rd e4ebe24e93f5b1cf0303c897eaa07f10 *man/gdkPixbufNewFromXpmData.Rd f921fc8e50ae9b63ddfb42d476c60711 *man/gdkPixbufNewSubpixbuf.Rd 98443d6ede5fb1e26ad7444a43ebca98 *man/gdkPixbufRenderPixmapAndMask.Rd 5253324c3d590dcc4d8f4e916969c183 *man/gdkPixbufRenderPixmapAndMaskForColormap.Rd 206da395adc51c2cdb3365268cccaa5f *man/gdkPixbufRenderThresholdAlpha.Rd 010f5df99043a6beea65ed993d3df99a *man/gdkPixbufRenderToDrawable.Rd c551db9779b95e89b16aa4bda43daa2c *man/gdkPixbufRenderToDrawableAlpha.Rd 1dffefed93df747a31e6d0696831bff6 *man/gdkPixbufRotateSimple.Rd cec957b0b58c6b537e4e59c8424b8b25 *man/gdkPixbufSaturateAndPixelate.Rd a8e2bc0910e521eccb15fa39b2961503 *man/gdkPixbufSave.Rd 53e5d2d766911c0c64a83d77a47782ac *man/gdkPixbufSaveToBuffer.Rd 89bdc1a6b4b31c1da8c680f829c4c478 *man/gdkPixbufSaveToBufferv.Rd b8cf59813b582557766ff6145002f525 *man/gdkPixbufSaveToCallback.Rd f108aee6cdf8853afca3b67a02a97b64 *man/gdkPixbufSaveToCallbackv.Rd 1cdc1af74b4b3f086e628e7a3feab412 *man/gdkPixbufSaveToStream.Rd a60b46d3cf042dbe2e8f51c870b1cf49 *man/gdkPixbufSavev.Rd 1a03bb7cd8da17ab61703b68e64f3f5b *man/gdkPixbufScale.Rd 7a7b5a2c487a6c30c2096c882141209f *man/gdkPixbufScaleSimple.Rd 189e74189ab8c9f1c5bee2716bd7843a *man/gdkPixbufSetOption.Rd 8a7b9685e69c0f769942b4ca9fe84499 *man/gdkPixbufSimpleAnimAddFrame.Rd cf19c7798cc32ddf45f222c210f56a6a *man/gdkPixbufSimpleAnimGetLoop.Rd 7df4ce6a26ba1d6f710b129bc77cc46a *man/gdkPixbufSimpleAnimNew.Rd ff805b1666317b7602351132b5872da8 *man/gdkPixbufSimpleAnimSetLoop.Rd da3ce291734f80660683b0b2865fb853 *man/gdkPixmapColormapCreateFromXpm.Rd fea5c68eeea4dc9b1a011db3b671e048 *man/gdkPixmapColormapCreateFromXpmD.Rd 71ec7fa40bd3eb3787fa161668a8ebc5 *man/gdkPixmapCreateFromData.Rd 6893e18795d9e33c4b821777e7a43078 *man/gdkPixmapCreateFromXpm.Rd 073748a8e949a31885933106aef147ca *man/gdkPixmapCreateFromXpmD.Rd b18fec330949c617f391da3d51957ba6 *man/gdkPixmapNew.Rd ea7fba9516260a7fbacaf52f019dd8f6 *man/gdkPointerGrab.Rd b9790c102cc304f9103ca56ae7184d07 *man/gdkPointerIsGrabbed.Rd 240070bca4bf8ff24154b936673a77a5 *man/gdkPointerUngrab.Rd be8709b56c1d7f094fdd037b79763f96 *man/gdkPropertyChange.Rd 1ddc7155bb076d3d5b26276c267aa817 *man/gdkPropertyDelete.Rd f68fdc628510fb84c8769d64fe5c0a7e *man/gdkPropertyGet.Rd 67ccedf8a3124d9a8204c7aecccec04f *man/gdkQueryDepths.Rd de646414ac4c35acb506425861b0dd7d *man/gdkQueryVisualTypes.Rd 304461528e3cb3ab1392ec15f43d74a9 *man/gdkRectangleIntersect.Rd e1fe3b75f3672fd6b3c2dcd07c0cd867 *man/gdkRectangleUnion.Rd 7e0cbfbbfcac718d9e8316c4dd634316 *man/gdkRegionCopy.Rd 8f91b1c9155ea354e3916c76939dca3a *man/gdkRegionEmpty.Rd c6766af10e6f1b5fd23aece28a7d7d73 *man/gdkRegionEqual.Rd 0e47e401c65a531c3cf6d000fa3fe253 *man/gdkRegionGetClipbox.Rd fe6ccf8722593324ef4b9cb3cb874aaf *man/gdkRegionGetRectangles.Rd 0f68332a3f0d8c0e19ad2531c9affa8a *man/gdkRegionIntersect.Rd 1c4adbcb15f3993929bdc1edfc866d53 *man/gdkRegionNew.Rd 6c7c00d6b85ea75f1350d9baf7c5e5b6 *man/gdkRegionOffset.Rd dd5fc714d79d24df40535c4f01b08b8f *man/gdkRegionPointIn.Rd 36faa3e0a5b9748b6ff86a658b8da5cb *man/gdkRegionPolygon.Rd 2d8dc3f2c8978b37d07703d43c92ddcc *man/gdkRegionRectEqual.Rd 6156e1b60a2ec5c2183af9ae540a4c95 *man/gdkRegionRectIn.Rd 9cd3a2cea2804e1ab50de3cf100a8d5c *man/gdkRegionRectangle.Rd c819e2a9314c42080d1a97a1df7eb4b8 *man/gdkRegionShrink.Rd 4ecd59152b48b903ce118352560cacaf *man/gdkRegionSpansIntersectForeach.Rd 38801784f53a988700264d5c1f6c10c6 *man/gdkRegionSubtract.Rd bc735af083616196fc9ada7b0d231498 *man/gdkRegionUnion.Rd 87a3728fe799cfcfef3be22614f81a75 *man/gdkRegionUnionWithRect.Rd c1886d1d64ce62dd1da3eec22f728c62 *man/gdkRegionXor.Rd a5c9ecde1d6de48a7a05e3e0f709b512 *man/gdkRgbCmapNew.Rd 302f8a1ab8397f091a2f591b0660cef1 *man/gdkRgbColormapDitherable.Rd 27540d6ec089984ae6bc2232af6b9907 *man/gdkRgbDitherable.Rd 98520c5f0232c53136c6dfb614cd7f83 *man/gdkRgbFindColor.Rd c00df74f4e32d31b7c04ee9bbce4937b *man/gdkRgbGcSetBackground.Rd 77ef15b7106e24ddbda28461bb1b637a *man/gdkRgbGcSetForeground.Rd d69750003def17b94dcfa8500edd51ec *man/gdkRgbGetColormap.Rd 06da49af07fb31d7a3798165c0c98927 *man/gdkRgbGetVisual.Rd e7847ecc7437c702c0950c1a3f303ab0 *man/gdkRgbSetInstall.Rd bbe01cce205680d24ba3ae9acb476974 *man/gdkRgbSetMinColors.Rd fc3694429e41a50e51fc2f89ab0ffffb *man/gdkRgbSetVerbose.Rd 606bd00f30017738ea7c8be6cde039ea *man/gdkRgbXpixelFromRgb.Rd 25eccad4404d59d4eeb29e74e5492427 *man/gdkScreenBroadcastClientMessage.Rd 12da467511d76eda1096b356ff23abfa *man/gdkScreenGetActiveWindow.Rd a8b862cb9650917e5c9581152f04bbd6 *man/gdkScreenGetDefault.Rd 37d023ffbbdf92d29c93ec919972a308 *man/gdkScreenGetDefaultColormap.Rd b52e0e556b1500688eb2a1d9f7b4d8ff *man/gdkScreenGetDisplay.Rd 02a41e33d69f96807c99643c230a86cd *man/gdkScreenGetFontOptions.Rd ce18493b0d34a8cf797f412d43afc47e *man/gdkScreenGetHeight.Rd 9cfab02801c7099a6cdf0f43ae12bc52 *man/gdkScreenGetHeightMm.Rd 9df975d5c59e3642acf7dd7f8ba8eac2 *man/gdkScreenGetMonitorAtPoint.Rd 4d48109d2e71b45415ec3e807a04b23f *man/gdkScreenGetMonitorAtWindow.Rd 6ae9d13d05a978465cdae42df0673eb9 *man/gdkScreenGetMonitorGeometry.Rd 77206c5a3e8b309ed80e30fb196e1002 *man/gdkScreenGetMonitorHeightMm.Rd 33b6ee4e158f6399031af10447bc5f19 *man/gdkScreenGetMonitorPlugName.Rd 0d0a167c3598424c31a82b57cff71541 *man/gdkScreenGetMonitorWidthMm.Rd a0b09a7978efce7b0026235380e98297 *man/gdkScreenGetNMonitors.Rd 89ce33d38198a1455a02535cbd1a317e *man/gdkScreenGetNumber.Rd 3169553d6e63516b78fccf11a6addde3 *man/gdkScreenGetPrimaryMonitor.Rd ce1398ef622394677c64dfb1caa637e4 *man/gdkScreenGetResolution.Rd 9a9bf74750a596a85527c7495845db5c *man/gdkScreenGetRgbColormap.Rd 4d47b07304309ececddeeb3cf95a1dc2 *man/gdkScreenGetRgbVisual.Rd 13cf0fa281a9f37169cd39d0b9b79c2b *man/gdkScreenGetRgbaColormap.Rd ca2701fa7f8b435e1e24abd06093909d *man/gdkScreenGetRgbaVisual.Rd 568dcbf9382659baa947324b4aa48339 *man/gdkScreenGetRootWindow.Rd aad27d4df1a1bdb66c4d4dbffb82a993 *man/gdkScreenGetSetting.Rd bd3ffb051a472e5efa5c66072135ac82 *man/gdkScreenGetSystemColormap.Rd 5d6890d3830eeee536a162fa637723e8 *man/gdkScreenGetSystemVisual.Rd 58d679dce0ef000a74a547d1f245f99a *man/gdkScreenGetToplevelWindows.Rd 8284dfcbf8d7c14501a41fdf075dcf6a *man/gdkScreenGetWidth.Rd 0ae701a8e28d02b972db2c76ae2905ed *man/gdkScreenGetWidthMm.Rd 2bc973b74348de4f7193a61404cf9ea5 *man/gdkScreenGetWindowStack.Rd ec19d8f78d0e25498b1ee26b3e0963ef *man/gdkScreenHeight.Rd d7c935b6a086ab1b81d1394b840db1a2 *man/gdkScreenHeightMm.Rd 7bdee1e34fb16b33812359fe7c34ac54 *man/gdkScreenIsComposited.Rd 620baedfa77e05b7d875e909edde61d1 *man/gdkScreenListVisuals.Rd a9b1a52aeb436646df6be8b2455ac5f9 *man/gdkScreenMakeDisplayName.Rd c5263fb5dddb7a74a9b8c911f011cf58 *man/gdkScreenSetDefaultColormap.Rd 69c6e6b09be381f6f8eced557782e8f2 *man/gdkScreenSetFontOptions.Rd 920f15db485de00a55a528664e65ef85 *man/gdkScreenSetResolution.Rd b8021e4fe7df5725a6e3206fe18f93fd *man/gdkScreenWidth.Rd 09a0bb92d2ed2ded766d12122b7b3307 *man/gdkScreenWidthMm.Rd e09b2810723004b0124a447e3350dc68 *man/gdkSetDoubleClickTime.Rd ebb7ede6761fcd8d39a79222504b9791 *man/gdkSetPointerHooks.Rd b2ffc25ca0546100c3ae57653d56e49b *man/gdkSetProgramClass.Rd 52574607c56844dbdf7aedee564e1cbe *man/gdkSetShowEvents.Rd 8fe2e0186431f42817d71594b1310b2e *man/gdkSettingGet.Rd 0051c7f0dd71518e9e2e1b551fb11fb3 *man/gdkSpawnCommandLineOnScreen.Rd 3c77460c0f1cd3abe95a64c8a3e9f599 *man/gdkStringExtents.Rd 269ad498499d92407dc4485a8080f865 *man/gdkStringHeight.Rd af95a0cb2a28d0bfc6bd095971175c32 *man/gdkStringMeasure.Rd 6bbd87bd6ae6a040d713aec5e57f2618 *man/gdkStringWidth.Rd 1c37bbc3fb65eec252d09168dd6377c3 *man/gdkTestRenderSync.Rd efb340b199e6f6e519bc2c5bdba25cba *man/gdkTestSimulateButton.Rd 4f5f512da6fe3822652222cc4f68d98d *man/gdkTestSimulateKey.Rd 310e359e14f01ff7f74a2589c319acfd *man/gdkTextExtents.Rd da985a0e3b22ba17d2a495fd9c482448 *man/gdkTextExtentsWc.Rd af9a8a158cef0825f0120a90222f3593 *man/gdkTextHeight.Rd 0639811772833d84b1fc946162712447 *man/gdkTextMeasure.Rd e02a66a8f4cf70859dc1c2adfa88e35b *man/gdkTextWidth.Rd 747053bd344d477335060629bfee026b *man/gdkTextWidthWc.Rd 02716c72baa89a583cccd5c9c7866c9b *man/gdkUnicodeToKeyval.Rd 09b576d6b3fac69dad23ea214569f0a5 *man/gdkVisualGetBest.Rd 754d35288e8b4a98f7eea4f6fd70294a *man/gdkVisualGetBestDepth.Rd 5a505ff5b5dba8d9e03bf7b3ebe751cc *man/gdkVisualGetBestType.Rd f6cc9d0a3afa048ef81ad858ef07d0c0 *man/gdkVisualGetBestWithBoth.Rd 7021c7f621ca5fdff76e9a8ff2c4a3d8 *man/gdkVisualGetBestWithDepth.Rd dbec0dd192d9ad6201548af493740cdf *man/gdkVisualGetBestWithType.Rd b8a787be18f7c3a43f77e5f3b69b522e *man/gdkVisualGetScreen.Rd 1d106a565453dbffdbcb1bc2da2c74af *man/gdkVisualGetSystem.Rd 7adf1e77e00716384cca6ecf1c859aa8 *man/gdkWindowAddFilter.Rd 4669e5646d6196815f9d6fc493b24c5b *man/gdkWindowAtPointer.Rd 1e173dff4c236950bb365a468cf0c36a *man/gdkWindowBeep.Rd 8b6323f80b0564f434c6b50d54925dfa *man/gdkWindowBeginMoveDrag.Rd 0f21562a5f00ed1734d2e264ebace168 *man/gdkWindowBeginPaintRect.Rd 9fceb674455a9a4fb592b2fc34b11d88 *man/gdkWindowBeginPaintRegion.Rd 609b7a3d2ef8b76d63ea8e0c1d8dba98 *man/gdkWindowBeginResizeDrag.Rd 922595c60ecba13dc474078ccd7f572a *man/gdkWindowClear.Rd da91c902cf85f3095f0e721804b8c877 *man/gdkWindowClearArea.Rd ab161b474b07216c259731d167365f62 *man/gdkWindowClearAreaE.Rd 46ac33497ccf464e79457d2ca85e589e *man/gdkWindowConfigureFinished.Rd b1ce2b5f521f45abe90b39529e05f954 *man/gdkWindowConstrainSize.Rd eea8c2356ba4388d9c43af293dd2f0f2 *man/gdkWindowDeiconify.Rd 93d8dfd70ff95d7b968096d3d0ed13e0 *man/gdkWindowDestroy.Rd 8f3ad802f29e707ccef38c284f8d9900 *man/gdkWindowEnableSynchronizedConfigure.Rd 11b4d10bc4c5a3b23a13bdeb2427a515 *man/gdkWindowEndPaint.Rd 2861341278af610d33d310f7e1ce9b22 *man/gdkWindowEnsureNative.Rd f8c26f30f75ab5f825f1f28b8e8ec6d9 *man/gdkWindowFlush.Rd 1d3469cd7401b248d3f747aadf0fbedb *man/gdkWindowFocus.Rd 0fd1c21b4fce51def83a3338e1bd92b0 *man/gdkWindowFreezeUpdates.Rd c5664b764627713bcb82e7124a93e6b4 *man/gdkWindowFullscreen.Rd d0fcee30d88b4d204e1a5a75e8c63f42 *man/gdkWindowGeometryChanged.Rd e497f05fd182086ac652b92e9b0e4100 *man/gdkWindowGetChildren.Rd a879191325ad90a98c6a7efc619c7579 *man/gdkWindowGetCursor.Rd f025ba0d168258254c771630fc102b9c *man/gdkWindowGetDecorations.Rd 552cd06361397549833bd9a00f792089 *man/gdkWindowGetDeskrelativeOrigin.Rd 627498564ddacb2ebf80e8ddc610c7d0 *man/gdkWindowGetEvents.Rd f1c9add7cfbfa7ac2619e3b69309eaaf *man/gdkWindowGetFrameExtents.Rd 5ff509c954ddad197e6e7d3f4d8b2bb8 *man/gdkWindowGetGeometry.Rd 743649a5303e39ded25c81dc0c63bd67 *man/gdkWindowGetGroup.Rd addfdacd3b8c35537f768d98e7a843f4 *man/gdkWindowGetInternalPaintInfo.Rd 27e33f66fd0c1bfad67b271057b2f74c *man/gdkWindowGetOrigin.Rd 10bd9d6c91e93f80b43b51c9299332dd *man/gdkWindowGetParent.Rd 280ba441fd7b410e285b403885e52447 *man/gdkWindowGetPointer.Rd c2264cc838a17d5a2befc75a590d8811 *man/gdkWindowGetPosition.Rd 27da81e3816b4ff0c4276c4b665e0a58 *man/gdkWindowGetRootCoords.Rd 11be6846036e43c8aeaf46b5d5e2a648 *man/gdkWindowGetRootOrigin.Rd 2bfe357b3295022694ee4c31e4328e56 *man/gdkWindowGetState.Rd 8b5b1908a8b55a94f9df89bee9fe5feb *man/gdkWindowGetToplevel.Rd 237beeb629074b041c88668fc4cd4ac1 *man/gdkWindowGetToplevels.Rd 560a737156d694f505c47629fc2ba340 *man/gdkWindowGetTypeHint.Rd 4c895571aa44d9abb44a98f05d7383bb *man/gdkWindowGetUpdateArea.Rd f2107e058e14542e0a1489d8bb6abf97 *man/gdkWindowGetUserData.Rd 6ab1be73ca1c95a56d627d8d9363f4b0 *man/gdkWindowGetWindowType.Rd bdec3777f4ee53853c7c790cd9f67eb6 *man/gdkWindowHide.Rd 227dca2381a589cff285d466e7128579 *man/gdkWindowIconify.Rd 29790a3ec0beb4e3256339dc43a884a3 *man/gdkWindowInputShapeCombineMask.Rd 6ef1a8781f06f575c953237dd793767c *man/gdkWindowInputShapeCombineRegion.Rd c38f0b38c792695396ae3b222f508dc5 *man/gdkWindowInvalidateMaybeRecurse.Rd edbf96eb348cf0160af974a3b1f3f597 *man/gdkWindowInvalidateRect.Rd 285100cec90c28c7e44d24a3c1cc038c *man/gdkWindowInvalidateRegion.Rd 12be254aceef6a8469f9dc0daa2521da *man/gdkWindowIsDestroyed.Rd 7a1d77b8f0a5a365b5d1267d3f6334b8 *man/gdkWindowIsViewable.Rd 1646be566655a81974455450e57a7ea6 *man/gdkWindowIsVisible.Rd c5895acf4c2a88b4aa169d800f0b6a7c *man/gdkWindowLower.Rd 681da4d4af807b533c4a2af65ff76ed8 *man/gdkWindowMaximize.Rd eb08036ef23579ba952ec15dc46b77a9 *man/gdkWindowMergeChildInputShapes.Rd 38d5071c6c155735fca7d8fda5479397 *man/gdkWindowMergeChildShapes.Rd 67a4ac7b7e2ef703bb1cbe4c762cf3bf *man/gdkWindowMove.Rd 3b6acee90c4d8e69061cca32c44c04e6 *man/gdkWindowMoveRegion.Rd bef7cc05210f4b6641654870956e4cc8 *man/gdkWindowMoveResize.Rd da434b33f7ca8dde7a9f56165fac0ac4 *man/gdkWindowNew.Rd 17e93b8df43d61f463b910f80cc4b334 *man/gdkWindowPeekChildren.Rd 97ffb3494d9436f98274bdf6a7aeaea0 *man/gdkWindowProcessAllUpdates.Rd 4b287172a3e87502f42b6315e7756319 *man/gdkWindowProcessUpdates.Rd ad830526d781c4ea8b44648d7ab5de83 *man/gdkWindowRaise.Rd d3536e02e507ee8ff178ab036645c1bb *man/gdkWindowRedirectToDrawable.Rd 0e6abffb6a41ca18ea977c6eb6db908b *man/gdkWindowRegisterDnd.Rd 4ebdd7d0c32494e4ff0e65b56b556ddd *man/gdkWindowRemoveFilter.Rd 69bc8ac96c3fdcfeb9184c6520eba183 *man/gdkWindowRemoveRedirection.Rd bb9b4f4e711ea66fcce1f4364fff5660 *man/gdkWindowReparent.Rd cda2146b076b9c05f75d25e86bd6f9be *man/gdkWindowResize.Rd e4ff968dbdf8f1be195a64f662b08587 *man/gdkWindowRestack.Rd 2da567b0ed4a7933c0deb258e59b6ede *man/gdkWindowScroll.Rd ab15239b617ff02e3f8396f7ecaaad16 *man/gdkWindowSetAcceptFocus.Rd dd9269922e54d6ca44b66a788a4fe842 *man/gdkWindowSetBackPixmap.Rd 06c24540e482518783008d80b3467b0e *man/gdkWindowSetBackground.Rd 83cb400b3af3142cda5d0f140a6ae1d6 *man/gdkWindowSetChildInputShapes.Rd a1190bd061e1c3a07c7ca20342d7362a *man/gdkWindowSetChildShapes.Rd b0d23b26013de51145f2de142b779d90 *man/gdkWindowSetComposited.Rd ffa4af8ce33289db6c8bd5afafe45d34 *man/gdkWindowSetCursor.Rd 01a361b8b67116a04bc75d88f17a3341 *man/gdkWindowSetDebugUpdates.Rd 50fbb636587a64e8325d8b50749932ae *man/gdkWindowSetDecorations.Rd 515a35c52c223aa46cc6ff98a668ac4e *man/gdkWindowSetEvents.Rd ab1f95d0836a759122cc002eabf9fe60 *man/gdkWindowSetFocusOnMap.Rd 97ace2e4f0cf5acd61c0b34ce069509a *man/gdkWindowSetFunctions.Rd c5536e03d250d359b9d9e6b9aa3025f5 *man/gdkWindowSetGeometryHints.Rd 6eee07961576ba03da7bf4b8d99e92d9 *man/gdkWindowSetGroup.Rd 9ff89392d75f967e1ae8053ef30a9cd1 *man/gdkWindowSetHints.Rd efa06d9860beb3fcb0a80df660919f67 *man/gdkWindowSetIcon.Rd a104a7dcd10987335c87ed8f8487e21d *man/gdkWindowSetIconList.Rd 964a8bd436c100a120aeabc66e624620 *man/gdkWindowSetIconName.Rd 6edd6842ccf18449217b2efab7deb2dd *man/gdkWindowSetKeepAbove.Rd 8a384145896790fb7bd0c75b403f2b7c *man/gdkWindowSetKeepBelow.Rd a7465308b42e1c7d33208d2e599be422 *man/gdkWindowSetModalHint.Rd 09f79c7a91ac03eb746513fa1d24fc50 *man/gdkWindowSetOpacity.Rd c7885636027d92b991992df029406b37 *man/gdkWindowSetOverrideRedirect.Rd 88428be28b198d2b38e82acb7b52d3d7 *man/gdkWindowSetRole.Rd 20506c9d488fa349d537e32ff7996526 *man/gdkWindowSetSkipPagerHint.Rd 64ab256912bbda2da9cf53ba2af537eb *man/gdkWindowSetSkipTaskbarHint.Rd 94122513929b3e4994f83c6e576c8325 *man/gdkWindowSetStartupId.Rd acef6b6b79a43efc0222751d9588fc5e *man/gdkWindowSetStaticGravities.Rd ae0ea5b8debd218259630ba1c6ea7102 *man/gdkWindowSetTitle.Rd c52fd01f2fe1124671af8b2d205fc8b8 *man/gdkWindowSetTransientFor.Rd b54b980977384c3f245104560368487f *man/gdkWindowSetTypeHint.Rd ced272a0423392b8aef9b1b86b99bcdb *man/gdkWindowSetUrgencyHint.Rd ff5ebdfb49925cbfb1ecad6c05914166 *man/gdkWindowSetUserData.Rd 7adce543c1a68b2b01af16680f18b972 *man/gdkWindowShapeCombineMask.Rd f5db5a40b025a2263364fdadc8b4f534 *man/gdkWindowShapeCombineRegion.Rd cd729c9f47d780f35d620aa7fc998bee *man/gdkWindowShow.Rd 30d2e33c0cea33206414267151998a16 *man/gdkWindowShowUnraised.Rd 1404e0119e6b64ca55feaf555105bd08 *man/gdkWindowStick.Rd 58c93a071aa12ebb58b5286ae08601f9 *man/gdkWindowThawUpdates.Rd 6ed7d191e8caa2d919c1ed1cf17a2cb5 *man/gdkWindowUnfullscreen.Rd f534d52659e10238fdbc6175e394da74 *man/gdkWindowUnmaximize.Rd c9a576bffcaafd2b30e6cb1d12fa1875 *man/gdkWindowUnstick.Rd 2bccfbc54deaf740aeb577287ff208a0 *man/gdkWindowWithdraw.Rd 2d702029d6e9e8bceeedc5160493b1c6 *man/getSignal.Rd c0c7ca6ab72e6fc6c1ca5ada1c8c6b45 *man/getSignalInfo.Rd 0770870f5d88b1b3df865f6cf1c898b5 *man/getType.Rd 9c3df952ba1754fa7e97c32b26f43bb2 *man/getters.Rd e8a57e9a00e2d97acbc88ad1185442fd *man/gio-Desktop-file-based-GAppInfo.Rd 6922c7426ed5a42f00684ae33afe439a *man/gio-Extension-Points.Rd cb0cf9c17d5f8eb46cae0653686fa441 *man/gio-GContentType.Rd e2fd13a742fb7f1cc260ac808b90e073 *man/gio-GFileAttribute.Rd 1e0c35f6576069b543d6caf5ad76f41a *man/gio-GIOError.Rd 35cb4a537af3a5bd772ee4e042865758 *man/gio-GIOScheduler.Rd 025e89c7087f41b1d0c680b5101d79b2 *man/gio-Unix-Mounts.Rd 813b6a9b583b80beb267e28cbfc8a745 *man/gtk-Accelerator-Maps.Rd f6c94c839d1334b4f5a0b927f2c56996 *man/gtk-Clipboards.Rd 5cfd73f16951ec75cc4b303095b8b6c8 *man/gtk-Drag-and-Drop.Rd 52c3fd32050c082c2046a2b5bcd4b48b *man/gtk-Filesystem-utilities.Rd 5eb0293508daedecca49663182f21765 *man/gtk-General.Rd 05712421afc8b070c059e21c6d64aa6d *man/gtk-Graphics-Contexts.Rd eb25f0aa195721a8d6e0e276f4cc7534 *man/gtk-GtkTreeView-drag-and-drop.Rd 96b976c92d447141639eea98fdbc4a18 *man/gtk-High-level-Printing-API.Rd 50f0067d29ae308734b79a90788e41f0 *man/gtk-Keyboard-Accelerators.Rd cc05752a8acedcbc63647ac6cc0d2572 *man/gtk-Orientable.Rd 474e0190edd84101eb43013509ec6e13 *man/gtk-Resource-Files.Rd 0e346ce1ccbdcd2766d410af913e5b62 *man/gtk-Selections.Rd a38cb8ae687428e90e62cc5e54fe5516 *man/gtk-Standard-Enumerations.Rd 5dfa2500ed00c51eeed25225df8c7a0f *man/gtk-Stock-Items.Rd 572c5d3fdb81960a8480c1eba94d0157 *man/gtk-Testing.Rd e5099f74d6bc8f322b0363a3765c54f4 *man/gtk-Themeable-Stock-Images.Rd be28f98176c711f862dcf45bf0beb7b7 *man/gtk-gtkbuildable.Rd 4a1c2fe6095a696a7f7257159cfc37c1 *man/gtk-gtkcheckmenuitem.Rd 91cfdf365806c5da579b7ccf707bea20 *man/gtk-gtkfilefilter.Rd 3ee8a8e211df232ce62002366329e938 *man/gtkAboutDialogGetArtists.Rd 43110c07935462b0b97e10e91a2d2daf *man/gtkAboutDialogGetAuthors.Rd 6f4f56d7def6bca6ac5143b8942ed196 *man/gtkAboutDialogGetComments.Rd f7f4451c99d3b86fe5803a2f8f2cfab5 *man/gtkAboutDialogGetCopyright.Rd 5251bd17a0112a123c07bc8c3a93ea83 *man/gtkAboutDialogGetDocumenters.Rd 5a8dc883bc9e5a95b9d9d23f915bcb8d *man/gtkAboutDialogGetLicense.Rd bb1d3e9daf4178a61da23c969ecbdc96 *man/gtkAboutDialogGetLogo.Rd 9e21bcdcd88f2e228d39f79cb8dd3f1e *man/gtkAboutDialogGetLogoIconName.Rd ca97c2b635b73d94ffd5c01c2f0977e5 *man/gtkAboutDialogGetName.Rd b08fb0e4cf278d28af2ca4aeebe35b46 *man/gtkAboutDialogGetProgramName.Rd 7ce3d240e73f510f1f0bf152a875ee8a *man/gtkAboutDialogGetTranslatorCredits.Rd 7750e240f073ca208a12fbf0eb67e1c9 *man/gtkAboutDialogGetVersion.Rd 330f06e5a7b68bec6f7bb44e73888a6f *man/gtkAboutDialogGetWebsite.Rd 9876eae776aef61d49673131057faa4d *man/gtkAboutDialogGetWebsiteLabel.Rd c099bfbb8aaf6f3740c356be6854eddc *man/gtkAboutDialogGetWrapLicense.Rd c8cd2bba70802ab230bc5f1dd1adbd85 *man/gtkAboutDialogNew.Rd 9dc769a3cbf63276481c05143de61622 *man/gtkAboutDialogSetArtists.Rd 4fa22a91026991cb009c0cba987cfdc9 *man/gtkAboutDialogSetAuthors.Rd 18db05ac895bd57e0259501b75922c8d *man/gtkAboutDialogSetComments.Rd b9490234fb4cd7d4bc3ce783e4d63e85 *man/gtkAboutDialogSetCopyright.Rd 71d63e1ed0e1799cf16c472caddb114e *man/gtkAboutDialogSetDocumenters.Rd 849b564b8ef88f84c75c78052873406e *man/gtkAboutDialogSetEmailHook.Rd 0452aab58abb72c6f959d9bb3eb56946 *man/gtkAboutDialogSetLicense.Rd 53ba8ebce6807f682af830259a1b89be *man/gtkAboutDialogSetLogo.Rd 6f54aca1685b3eb1332cb35529fcf78b *man/gtkAboutDialogSetLogoIconName.Rd fcd0397544708f3ec1962c904f43d668 *man/gtkAboutDialogSetName.Rd 0ed696187a144a54d42079196f3ed9be *man/gtkAboutDialogSetProgramName.Rd f80e73d05359932570f9fee903632d17 *man/gtkAboutDialogSetTranslatorCredits.Rd 41d3a1148ad11602e2aa4ad3de75ba68 *man/gtkAboutDialogSetUrlHook.Rd ca07e3c5f7667aef1a0c85ba884be83d *man/gtkAboutDialogSetVersion.Rd 772ae8774f38b3691662ff94d65f5ae4 *man/gtkAboutDialogSetWebsite.Rd 9b0c433a8cae1df14de5a61c9082fd76 *man/gtkAboutDialogSetWebsiteLabel.Rd 1027078fedb48efa067e6a5c1490bd48 *man/gtkAboutDialogSetWrapLicense.Rd 624be52d66d0f9432923f3a7db521550 *man/gtkAccelGroupActivate.Rd eb40eae314379ffb57fd26b207208d31 *man/gtkAccelGroupConnect.Rd caed7c539b24baedcb7886af52359bd9 *man/gtkAccelGroupConnectByPath.Rd 5fd50bbd8fc160777f01c30da6850ac5 *man/gtkAccelGroupDisconnect.Rd f770fbf233ce9db83a77603fee751c6c *man/gtkAccelGroupDisconnectKey.Rd 0e2840112b8df9cd0c02482e8754d212 *man/gtkAccelGroupFind.Rd 0feb03f429bddc7df918882163e30db6 *man/gtkAccelGroupFromAccelClosure.Rd 5713ac6f8f2e06f90dbafbb220fc88d2 *man/gtkAccelGroupGetIsLocked.Rd fb6ee055f893421e073604dccd8810a2 *man/gtkAccelGroupGetModifierMask.Rd d45ea4ef26b569b62e238ebb4335c221 *man/gtkAccelGroupLock.Rd f38ec76afd7d7479a4eb6ff8515e098a *man/gtkAccelGroupNew.Rd ee2d59223ab589a1c3b4666523c7621f *man/gtkAccelGroupQuery.Rd 4be69712ced4aae083b8aafdf2eebe03 *man/gtkAccelGroupUnlock.Rd 32dd41438fac20c1c312803d34248069 *man/gtkAccelGroupsActivate.Rd c3100b5b2f366cc4a9cef13a49f5c89b *man/gtkAccelGroupsFromObject.Rd 81004421da31f6ede71768b10a5df189 *man/gtkAccelLabelGetAccelWidget.Rd 0209521586ee2c00a21a5589dccd8eae *man/gtkAccelLabelGetAccelWidth.Rd 2c0e7ce021874da6dc04da9ea973d261 *man/gtkAccelLabelNew.Rd 5e61c246e10f1113ec408a66a602af84 *man/gtkAccelLabelRefetch.Rd facec9d7e4f487cf15c92487ad0bcf4e *man/gtkAccelLabelSetAccelClosure.Rd 48bff34714ef320873962ca98ffeaa88 *man/gtkAccelLabelSetAccelWidget.Rd 7fb7fb65882fb2eb12a34f785d1343dc *man/gtkAccelMapAddEntry.Rd 3f019f45ce33699a29bfd14e8cff4f4b *man/gtkAccelMapAddFilter.Rd 51b984fff8b3bbce4a4b5f5225144ac0 *man/gtkAccelMapChangeEntry.Rd e754ca94106250d24ca408f20d0fe318 *man/gtkAccelMapForeach.Rd c2b995e3cdfa27cd913672a8b1ed8e95 *man/gtkAccelMapForeachUnfiltered.Rd 9a2f0717120400a7ade842debb380f5f *man/gtkAccelMapGet.Rd b2781e1dfb50ea39806aed74d7698be1 *man/gtkAccelMapLoad.Rd 7e194cf0ccdaefb93ae2e2c45f6dc418 *man/gtkAccelMapLoadFd.Rd 66ba3315841f6e274b319f240e8adae8 *man/gtkAccelMapLoadScanner.Rd 48e8abf8f79887fdf1b4bfa165ebbead *man/gtkAccelMapLockPath.Rd d926f4a45be2d25de1e846ffc81dffe8 *man/gtkAccelMapLookupEntry.Rd 82f105e674aa8d9efc104058e145a979 *man/gtkAccelMapSave.Rd 30be04463ab3a871238de23336ffa973 *man/gtkAccelMapSaveFd.Rd 381954e76878d31ecf9c6138df2794ad *man/gtkAccelMapUnlockPath.Rd 161346618caef4f201ae09e89d0e56c8 *man/gtkAcceleratorGetDefaultModMask.Rd 60d5dfac7faac044030b6c41b6fe5776 *man/gtkAcceleratorGetLabel.Rd adbadd106781173dccae164565217b56 *man/gtkAcceleratorName.Rd 9890ed32eccb1f832d5ffe81ea90e8b1 *man/gtkAcceleratorParse.Rd 1281e29ffd6c68e278a8b34f5feee555 *man/gtkAcceleratorSetDefaultModMask.Rd 16445aaa63c4c37fcdad303f74bf7aea *man/gtkAcceleratorValid.Rd 89640d6a3dc169c14ba2047cf8200545 *man/gtkAccessibleConnectWidgetDestroyed.Rd 9c482524909469f94c46a04387311c9e *man/gtkActionActivate.Rd 6ac958d5bf6e18357602813232069e3b *man/gtkActionBlockActivate.Rd 3b079a69220ce88b52ce000ac9d28355 *man/gtkActionBlockActivateFrom.Rd 3dfdc755ef263146aba43d201c4e7d9f *man/gtkActionConnectAccelerator.Rd 8e1db81462aaff2fc51a24a487b2420d *man/gtkActionConnectProxy.Rd 298694d30bd1b85dedd4dd18405f1893 *man/gtkActionCreateIcon.Rd 4d1247bfb5b10a2d59214a299acc626d *man/gtkActionCreateMenu.Rd 037e197674999b97e7f855ebfd716529 *man/gtkActionCreateMenuItem.Rd 4d5306591439ebf8e4cda6b5457fcaa4 *man/gtkActionCreateToolItem.Rd 43a317ea2dd865eb6f6cd185c73a7b63 *man/gtkActionDisconnectAccelerator.Rd 53aa8f398fe0c2910ffc1648760c7303 *man/gtkActionDisconnectProxy.Rd ac5012233c9cebb8f3f346e24f8447cf *man/gtkActionGetAccelClosure.Rd 445acf04acff89c52017c7251fdc94c9 *man/gtkActionGetAccelPath.Rd 34fcb68383248e47d35c2ab8d19b0664 *man/gtkActionGetAlwaysShowImage.Rd 4b96053c6d992f94da3e226e01503401 *man/gtkActionGetGicon.Rd 37527dc109f7633213b5b572c3273fa7 *man/gtkActionGetIconName.Rd 8575d8f2b1e7cbd527096939d0bd54c5 *man/gtkActionGetIsImportant.Rd fc211f56affa6ad25429e388d40cc254 *man/gtkActionGetLabel.Rd e344f4a42768b081ec9fe950f128ee26 *man/gtkActionGetName.Rd f7a4c970f0eee5981ce38b81d181aa3d *man/gtkActionGetProxies.Rd f56ce3f39eceb5d4f1ac983a5a124b08 *man/gtkActionGetSensitive.Rd 404f5c24258de89ec53a487e7a76106e *man/gtkActionGetShortLabel.Rd a8f71903e21f7da77696c5f69a7ec7e9 *man/gtkActionGetStockId.Rd 55897f820f48932020f992777f4fd130 *man/gtkActionGetTooltip.Rd bf094ebfe2669bf8f5e6db691a6c1ad7 *man/gtkActionGetVisible.Rd 975a81fecbf0a1b326e0439ba2e3c9ef *man/gtkActionGetVisibleHorizontal.Rd 26bbaedbe98b3ad4770a21d8e50174b8 *man/gtkActionGetVisibleVertical.Rd d533a6a392579d0046edbf8e9755ee50 *man/gtkActionGroupAddAction.Rd 2dcb6e91d618d367b1ddfcc0a3c40b19 *man/gtkActionGroupAddActionWithAccel.Rd 43c60e6ec4afc14d42544db4193bd763 *man/gtkActionGroupAddActions.Rd 3240e30f706582f7a8da89360a68f4f2 *man/gtkActionGroupAddActionsFull.Rd ae4e8649558d4be84679e0d4b34ca513 *man/gtkActionGroupAddRadioActions.Rd 951c3157a2180301f3e5bd35bac6c938 *man/gtkActionGroupAddRadioActionsFull.Rd b7f97d4ce0e4d8a34d9b03260c373f2b *man/gtkActionGroupAddToggleActions.Rd d36948a00d6420f03f81084c0e3f31c2 *man/gtkActionGroupAddToggleActionsFull.Rd 5e9417aed8a7777d0e19859f59379d89 *man/gtkActionGroupGetAction.Rd 3ac2d8a5718e238c9f81fc448affaf5e *man/gtkActionGroupGetName.Rd ad3411c28b4d0d1cdece5a696c8f5690 *man/gtkActionGroupGetSensitive.Rd 79a326ecb1bdb6300022e7585f705f0c *man/gtkActionGroupGetVisible.Rd a1b6693c607b99254dd04afc5bd06799 *man/gtkActionGroupListActions.Rd 17cad7722d5572ac35888bcdf55e37df *man/gtkActionGroupNew.Rd be4248ea71252e1e161f3fe796ca0de0 *man/gtkActionGroupRemoveAction.Rd a3f77cbfe593bbe1cf94dee29865b066 *man/gtkActionGroupSetSensitive.Rd ccc71108b60879f117cad54637fbc016 *man/gtkActionGroupSetTranslateFunc.Rd 5f04a2a82c40d562f147f389ab0686c9 *man/gtkActionGroupSetTranslationDomain.Rd 2fbdc6a82134e40e4f2ece80c3890be6 *man/gtkActionGroupSetVisible.Rd e1da5c7b0e5a3e2eafc2603982e00e62 *man/gtkActionGroupTranslateString.Rd 92b42b60d1a186b81b53922560d9f079 *man/gtkActionIsSensitive.Rd 702660604142f1911044bcde47a58fe4 *man/gtkActionIsVisible.Rd 9fcdae0bf65ee0997139bb5eff3c5fa1 *man/gtkActionNew.Rd efbfcb29056c1b1aa57f663ea5b1a528 *man/gtkActionSetAccelGroup.Rd cbd051355dea81ac0acfa3e21601b0d3 *man/gtkActionSetAccelPath.Rd fcfdbc53af2d029f67d0b2ddf170315d *man/gtkActionSetAlwaysShowImage.Rd b4dcebbcd8df0ad3a4feca3fffa8cce8 *man/gtkActionSetGicon.Rd 64034d9a7e1bc245f377aa8533c3e488 *man/gtkActionSetIconName.Rd 76c404cb05e38a774caf382fb0441b87 *man/gtkActionSetIsImportant.Rd ae24b9d43d3e95dc8e611d354f8c6dc7 *man/gtkActionSetLabel.Rd 7944eda44c411b26b4674aa408cf9efe *man/gtkActionSetSensitive.Rd dec9e64ed4f53e1df0d99677d60761b5 *man/gtkActionSetShortLabel.Rd 94ba492f63e30fb01ad78fc769d00b86 *man/gtkActionSetStockId.Rd d086c5e0fac69f181417b378880e5c01 *man/gtkActionSetTooltip.Rd 4912ab8394ca6970a1d05d1e198a4392 *man/gtkActionSetVisible.Rd 0a4fbe3b10574acaf24615768e8e52a5 *man/gtkActionSetVisibleHorizontal.Rd 55fc86f754a66f48579c02c5640796f5 *man/gtkActionSetVisibleVertical.Rd a9d402715fa792a004cb9751bc527e7c *man/gtkActionUnblockActivate.Rd 26baa62be08cd57a854a1eea8cfbf99a *man/gtkActionUnblockActivateFrom.Rd bed4d72e9dddffdb5b6eafb75ed32fd6 *man/gtkActivatableDoSetRelatedAction.Rd 4116b086859a66c885e2f2d1b6d806f5 *man/gtkActivatableGetRelatedAction.Rd 6334fb016f21aa46bf3cb66d2222e1c7 *man/gtkActivatableGetUseActionAppearance.Rd 1d82e99e7937ebbc7a0e7318c1322b64 *man/gtkActivatableSetRelatedAction.Rd bb72ccd49832aee8252c80676c830ffd *man/gtkActivatableSetUseActionAppearance.Rd 00345f3e7d0c4ba78e5cc8c81c1f2baa *man/gtkActivatableSyncActionProperties.Rd 39390c2c4e019e70460f360b3e198d1c *man/gtkAdd.Rd 131f3a7ed895253275ef5f413a830f46 *man/gtkAddCallback.Rd 7bef224edd8233db8f1b9d9dc48d2e79 *man/gtkAdjustmentChanged.Rd cd94ec090156c8ea86f814dd49d88fe1 *man/gtkAdjustmentClampPage.Rd 13e5c2b0be3c5bd5efe06126d7718831 *man/gtkAdjustmentConfigure.Rd b4b928e15b5941f8fd5e8a3721d10bc9 *man/gtkAdjustmentGetLower.Rd 4f4de29f2abc5646695100f6401ca6f5 *man/gtkAdjustmentGetPageIncrement.Rd 7cc54cd57e1dbc2bbf26b6f7c76be2cd *man/gtkAdjustmentGetPageSize.Rd de1707d79a566cd9bdddbd31df639623 *man/gtkAdjustmentGetStepIncrement.Rd 59892bcc0c1aa26a872d63749c08c024 *man/gtkAdjustmentGetUpper.Rd 89d1f7178e832ad2a65c8f89cdf39b68 *man/gtkAdjustmentGetValue.Rd 5e4d1aaa3ea7bcdd12e208f1a9598f91 *man/gtkAdjustmentNew.Rd cbb8ad992be7f8ef003efba7c1f2c0b7 *man/gtkAdjustmentSetLower.Rd deae628574581dafde75cdca5526ccda *man/gtkAdjustmentSetPageIncrement.Rd 8d3899c5ca54732feb86ec007f0c0d25 *man/gtkAdjustmentSetPageSize.Rd a10c2dac08e8be649adc6d5bac8955e3 *man/gtkAdjustmentSetStepIncrement.Rd 99efc7029c5bdc72e888f8fca4521d31 *man/gtkAdjustmentSetUpper.Rd dc2c439220a1d5a4ccf0f06d365a2b47 *man/gtkAdjustmentSetValue.Rd 31fe69e4d1a7732239eb698e62e163ee *man/gtkAdjustmentValueChanged.Rd 8e17a65b2e58d6b81ceef7680db8468e *man/gtkAlignmentGetPadding.Rd c7720f6d1661af774625727ca61dd83e *man/gtkAlignmentNew.Rd 958d7a2776b4a0bb15786864c07edf00 *man/gtkAlignmentSet.Rd f051c7858a04ff3a7f62a5005ca89880 *man/gtkAlignmentSetPadding.Rd 2973788e93e6990201a785b5a0faad8b *man/gtkAlternativeDialogButtonOrder.Rd c4d1b51e4c4cdbf2fc840379e9c06c51 *man/gtkArrowNew.Rd f194c8d9b161a4fb4c19f9d9e56fc5cf *man/gtkArrowSet.Rd 439b2fe9852b437d697a2f6d3ad433c5 *man/gtkAspectFrameNew.Rd bb2bce26adceef99cd2b4fdd8b93adfb *man/gtkAspectFrameSet.Rd ec3f32a76ae88adc7461bc22ef6e7923 *man/gtkAssistantAddActionWidget.Rd 09e3dcd672ac31b724239825a19e8044 *man/gtkAssistantAppendPage.Rd e1216425e0d5635f3c53879bf4f18084 *man/gtkAssistantGetCurrentPage.Rd b7a3043d1b7d75a6b49de6ad53cb61e8 *man/gtkAssistantGetNPages.Rd 79067d85aa0464ae58b481d9373e0a75 *man/gtkAssistantGetNthPage.Rd 0c53c68cefc149cf7f2a40bafadd6f88 *man/gtkAssistantGetPageComplete.Rd 4540e68a1767ed6331b69f7c32f42ecc *man/gtkAssistantGetPageHeaderImage.Rd 9372d402915fac3450d943c4dbad121c *man/gtkAssistantGetPageSideImage.Rd 00750c7d4279278c8faed3f2438cb52b *man/gtkAssistantGetPageTitle.Rd c7aa4382d967a276e2a08c4e7498542e *man/gtkAssistantGetPageType.Rd 1b615892d177c5cd5412162aa8f709f1 *man/gtkAssistantInsertPage.Rd a522bf477a084a8c27f72288f4a0ed89 *man/gtkAssistantNew.Rd 2e1658c5eb4173dc549718b453113177 *man/gtkAssistantPrependPage.Rd e7ae999ce5487239b7e339b388f4824f *man/gtkAssistantRemoveActionWidget.Rd 0c7f74f474dcfe240782918f9b80622e *man/gtkAssistantSetCurrentPage.Rd ec892e77a54accf8e1cb32d87f5e0faf *man/gtkAssistantSetForwardPageFunc.Rd cf0a620a7cf1963e8eb995dd9bd8b44e *man/gtkAssistantSetPageComplete.Rd b10af7f19c3f370b1416d67a6528bff5 *man/gtkAssistantSetPageHeaderImage.Rd 33082773402621644cb1580734e7076c *man/gtkAssistantSetPageSideImage.Rd faddb6314eec0b1e0032c13d61edd09a *man/gtkAssistantSetPageTitle.Rd 362ae93f5120df54f0f437f44ee2e1e4 *man/gtkAssistantSetPageType.Rd 0d57c84d55862fa97e13ef46276c2bc0 *man/gtkAssistantUpdateButtonsState.Rd 916997ddfac59b8ac952b39ced7ef0bc *man/gtkBinGetChild.Rd daeb55146f024b293db0947d68c2ebc8 *man/gtkBorderCopy.Rd e32283f67238079531800d69b812c37a *man/gtkBorderNew.Rd c4625d08b6816672c57d7cbd7e462d22 *man/gtkBoxGetHomogeneous.Rd 38a2a6ab21944df99cc330196fb8dc60 *man/gtkBoxGetSpacing.Rd a262e87913fb77afcd48b74d17d18347 *man/gtkBoxPackEnd.Rd 819165dd27dcfbb943c1c747730cd51f *man/gtkBoxPackEndDefaults.Rd 9ef5f98254570fab5a491c5ad68a5b70 *man/gtkBoxPackStart.Rd 3533a041d891c024a5ec8fc0c1be71bf *man/gtkBoxPackStartDefaults.Rd a01fb360aa8389f948e163b1f28af796 *man/gtkBoxQueryChildPacking.Rd 923e6351495cc2107bb93787b354caf5 *man/gtkBoxReorderChild.Rd cdb40e0442e810d4a301931ca40dd0e7 *man/gtkBoxSetChildPacking.Rd 83bb1dc125b1058eb698906b5b6d77b7 *man/gtkBoxSetHomogeneous.Rd 55ae10fe7995e8cf722cdaa8094ac21b *man/gtkBoxSetSpacing.Rd 42646783ba74ac66540388a13bc69112 *man/gtkBuildableAddChild.Rd 14df033a6bf8cde3cd3ecbbca9b14dbd *man/gtkBuildableConstructChild.Rd 1c9125be5a35d9e8c949836ea7096d49 *man/gtkBuildableCustomFinished.Rd c9d3042cbbf72b36a559954cf96c60ba *man/gtkBuildableCustomTagEnd.Rd baca5e5e50ae0b64d2bbe99795fb7d14 *man/gtkBuildableCustomTagStart.Rd d6114db2d506c19499c759de03b93eb5 *man/gtkBuildableGetInternalChild.Rd 1d9a0b2f0b622a54d631fd82c71562c6 *man/gtkBuildableGetName.Rd 56dbdb64d001683f43ae1ad66f78ea40 *man/gtkBuildableParserFinished.Rd 8a05f7b68fdf92cb33f2e8c451d8beab *man/gtkBuildableSetBuildableProperty.Rd 0ebf7d7170863bea6ce252ebc5243b60 *man/gtkBuildableSetName.Rd 6f28b20243650ec43cf69bef72785206 *man/gtkBuilderAddFromFile.Rd affac0daa54c437026c2abe79b6cb799 *man/gtkBuilderAddFromString.Rd b35189abff8bb7ee8eb8531a8885a8a8 *man/gtkBuilderAddObjectsFromFile.Rd 3dbf8c8c100deeca3b28afc22d4ae39e *man/gtkBuilderAddObjectsFromString.Rd a107098c8b6b6dcc7ad241469acaf2fe *man/gtkBuilderConnectSignals.Rd 2586430517f1e613d8751826014c1fbe *man/gtkBuilderConnectSignalsFull.Rd 50b419aee6cbebe340d73bf23b2e30dd *man/gtkBuilderGetObject.Rd ccc7c680ca0abee10b6ca0566ebf97ad *man/gtkBuilderGetObjects.Rd 497fd805d1fede7a33bc0e835ff3a7af *man/gtkBuilderGetTranslationDomain.Rd 7694855242fedd7373b840eb64cd281c *man/gtkBuilderGetTypeFromName.Rd d7145b448ba7d2f4a75be0c8db10a5c0 *man/gtkBuilderNew.Rd 3d5f3a7aed37ede7a48767c931272669 *man/gtkBuilderSetTranslationDomain.Rd b984101276a5950361f05e69d92d2095 *man/gtkBuilderValueFromString.Rd a98f9352720e01c6f6ea0a3cbdb2078b *man/gtkBuilderValueFromStringType.Rd 632ce802ea16e50fe9f0347c238faf5b *man/gtkButtonBoxGetChildIpadding.Rd a153300c72ba0547e46a944497ef01e4 *man/gtkButtonBoxGetChildSecondary.Rd eba8f4e1866fa060630b749a68d94480 *man/gtkButtonBoxGetChildSize.Rd 78d11fef939794aaf7186be2c8c47f1e *man/gtkButtonBoxGetLayout.Rd 11191f8e23f33e8b9d19ed25c1c0c1e6 *man/gtkButtonBoxSetChildIpadding.Rd 0fb0f50f84a45b72c8d71994fc5e5599 *man/gtkButtonBoxSetChildSecondary.Rd 672783a79f51d0c300bf469f06a9c161 *man/gtkButtonBoxSetChildSize.Rd 4e1717bbd751e5d3d7ee391741a934b9 *man/gtkButtonBoxSetLayout.Rd e7191124a5fa0750a782e2ca2f80bfaf *man/gtkButtonClicked.Rd 66e601bb89b1f40a865a32c9115a1950 *man/gtkButtonEnter.Rd cfc4d70395bfde0eba2091f5f87cc11a *man/gtkButtonGetAlignment.Rd 9ee1df5ee507397a9c63925f668f7673 *man/gtkButtonGetFocusOnClick.Rd c2720bbc070e513fcd0e750448f06d02 *man/gtkButtonGetImage.Rd 4b88026226f16bea8bc70732f5d2efbf *man/gtkButtonGetImagePosition.Rd 4d02cb0b26275663b18392941d2da872 *man/gtkButtonGetLabel.Rd 1ae2d086ea510caae6dcf9c28432d5d5 *man/gtkButtonGetRelief.Rd 416d104867560bfe69f9bace50ee72e7 *man/gtkButtonGetUseStock.Rd 3014c454e38c09d4596d92364d20c181 *man/gtkButtonGetUseUnderline.Rd bb4b5b8542b60dadba70235f6b4a085e *man/gtkButtonLeave.Rd 170c6511c311701b965557621330b8cb *man/gtkButtonNew.Rd 904a649d9dc469c140ff7a4b45b3b33b *man/gtkButtonNewFromStock.Rd 5ecb837eede42dff49a85634864d168b *man/gtkButtonNewWithLabel.Rd 431ca56d4b5c2c3b86db1f95e044d2ef *man/gtkButtonNewWithMnemonic.Rd c9988b0d3333959f3b9b70fa442bdccc *man/gtkButtonPressed.Rd 3e077db1534cae377ee1c94611f3eacb *man/gtkButtonReleased.Rd e994defb3d3241c0ab83a4ea17a10261 *man/gtkButtonSetAlignment.Rd 894fea2b44b31f5cd55dd7828db20d14 *man/gtkButtonSetFocusOnClick.Rd f7ab05ad4994ad8f837fdfa3323f7240 *man/gtkButtonSetImage.Rd 133f53aab74c0b07285b79da331efaa7 *man/gtkButtonSetImagePosition.Rd 2b5f5724497c495f7d9b9a5219b72b9e *man/gtkButtonSetLabel.Rd f21a71a39d7c301e4f9b522398e3ac2e *man/gtkButtonSetRelief.Rd 9c1c513ae7524b20d7bba3a17b8353d1 *man/gtkButtonSetUseStock.Rd 52a4c6e8df4fccd510790e48ca6cf134 *man/gtkButtonSetUseUnderline.Rd 90f804ec78c4d17d84df860e3556fffa *man/gtkCListAppend.Rd cc49649d8f7ae47c44c55a8c5e4810dc *man/gtkCListClear.Rd 10fd37ca133beacd9e811b70e9f69811 *man/gtkCListColumnTitleActive.Rd 4bebed6e9be2ee570006eae98b07e34e *man/gtkCListColumnTitlePassive.Rd 22f434d726bc8db296d60e6d57a88d0b *man/gtkCListColumnTitlesActive.Rd 096697f75ec7d309e8bc6f8ecccf41bc *man/gtkCListColumnTitlesHide.Rd e05a6cac2799aedc6cc34f555cfe078f *man/gtkCListColumnTitlesPassive.Rd fcfb396951ae7be4c1a1dfc0f6922be9 *man/gtkCListColumnTitlesShow.Rd a31a6f678de794cf1b155123c183b6dd *man/gtkCListColumnsAutosize.Rd 0f3f78526af68e938671a5f44e44bf22 *man/gtkCListFindRowFromData.Rd b9f54a84938a30bac6c80f663390f3db *man/gtkCListFreeze.Rd 308efc5ef74051331c137b9ff4515419 *man/gtkCListGetCellStyle.Rd 0d2d30d9fcc8f513c2e30aa7bb664707 *man/gtkCListGetCellType.Rd f26f70bbb1ded886645ff04fb1a231bb *man/gtkCListGetColumnTitle.Rd f97917f1d94c47b416decddcfde9a1f3 *man/gtkCListGetColumnWidget.Rd a07f2b23372c8fd5e6a0bc63ca9d591d *man/gtkCListGetHadjustment.Rd 29e3e3b533478aff4fded593982cd062 *man/gtkCListGetPixmap.Rd c990bea3a568be860a8bd97550a16bbb *man/gtkCListGetPixtext.Rd bbbc985a02075eb2f378d5408b7fd304 *man/gtkCListGetRowData.Rd 8132c8ba52ff0c421ae3509aa2623e78 *man/gtkCListGetRowStyle.Rd 21677e5ec1266b7e86204076c3c84ca7 *man/gtkCListGetSelectable.Rd 00f8da8303d9bf3e65c031a0590c5c2a *man/gtkCListGetSelectionInfo.Rd c721e9ed67ef12f4a9b4b585c0b48e7c *man/gtkCListGetText.Rd 3b7d12bbb7fd5520f8d71b32d8111325 *man/gtkCListGetVadjustment.Rd 1b4d13c2c0421e7feb659f1a483d3b13 *man/gtkCListInsert.Rd b4b912f7876100b0830fe0b486cedd14 *man/gtkCListMoveto.Rd 1d751bd153404ad79d20f9b4e2a7805c *man/gtkCListNew.Rd d83836a17d3a8a2dd469aa9abb055f27 *man/gtkCListNewWithTitles.Rd 6ea3cb493a601bf63037c510da153177 *man/gtkCListOptimalColumnWidth.Rd 3085a04f0136ad7d27fd3b7084ee320e *man/gtkCListPrepend.Rd ab387a3bd2af4cd431dfd660fa152544 *man/gtkCListRemove.Rd 59f29c3d7eea817f28075e084f2b83df *man/gtkCListRowIsVisible.Rd 5372588867a3f77df08c3803b20c4710 *man/gtkCListRowMove.Rd 795566dc071d3fc7fbf5fe960a11607e *man/gtkCListSelectAll.Rd b5f0d963fbb77f304d5d8fb6ad7d3e23 *man/gtkCListSelectRow.Rd 77c208da47f07d1da18b02708bfa9386 *man/gtkCListSetAutoSort.Rd 4a28f8092bcb2f1e81fe862d96da14b4 *man/gtkCListSetBackground.Rd 81370570bab7ab87d7cedfaab7005c7a *man/gtkCListSetButtonActions.Rd d80f5fe808c917680341c1357ef20fac *man/gtkCListSetCellStyle.Rd de9cddbc11f82b79576d6b30b787a1f4 *man/gtkCListSetColumnAutoResize.Rd 3e0ff16a4b24ffd1261827663b2e7efa *man/gtkCListSetColumnJustification.Rd 45f75195be27c0940eba3eab613e8161 *man/gtkCListSetColumnMaxWidth.Rd f04d50976e61ce1c4e3acff7a153f432 *man/gtkCListSetColumnMinWidth.Rd 3fac5daf08738da75d14d11b66e8a1ca *man/gtkCListSetColumnResizeable.Rd f7e031d070f0d45fd1cff3188789eee6 *man/gtkCListSetColumnTitle.Rd 64d5d93d5698e4a7357b152ccbdcfdde *man/gtkCListSetColumnVisibility.Rd 1a896b7bc4ee02f47298b814925bf904 *man/gtkCListSetColumnWidget.Rd 1a5a034b1ebbe99567e791cea2404303 *man/gtkCListSetColumnWidth.Rd 95e70d97f18c2aca02699b57090fb42f *man/gtkCListSetCompareFunc.Rd 263828a7f6a4507982bdefc2606dd43c *man/gtkCListSetForeground.Rd e14ebc36d0b02f0e1889b1f642fde2ae *man/gtkCListSetHadjustment.Rd e74da5012c5053e2e409869fd23c80ed *man/gtkCListSetPixmap.Rd 41710bde3d5a4a47b095309695ecf28a *man/gtkCListSetPixtext.Rd 05c6e7fe2b4eda1fbf3e464947121022 *man/gtkCListSetReorderable.Rd 6b22b50b69272bda997e905feb74f72d *man/gtkCListSetRowData.Rd 8e1e4bafc9badcd8fc0f5dc2ffcaf10a *man/gtkCListSetRowDataFull.Rd 26f3c40e869af72666dd1df5f49f3329 *man/gtkCListSetRowHeight.Rd 47b1ba5b59b480faa6c06ab2209906ee *man/gtkCListSetRowStyle.Rd 0efc058c3bdac7e303898b2f33438f2f *man/gtkCListSetSelectable.Rd 2fa4d03123be817f219cd81a4e0d4152 *man/gtkCListSetSelectionMode.Rd 16544d2e06eda5076943b9fffe3b9fa1 *man/gtkCListSetShadowType.Rd 5aa683cd305b41930b2fc9e13801b7c2 *man/gtkCListSetShift.Rd b3ca8ac5fc47280fe859cc05efb57ee8 *man/gtkCListSetSortColumn.Rd 1f13f953beb01227d0b4d1fb5390c972 *man/gtkCListSetSortType.Rd c66ec3fca8cf2279a9fea03339a4b3e7 *man/gtkCListSetText.Rd 1d5f2f4cc4aad49d1b4f116db921c2bc *man/gtkCListSetUseDragIcons.Rd f7cf457433aa032ed4321222282e986a *man/gtkCListSetVadjustment.Rd 67b2d65c56a9daf7940b613becc60b59 *man/gtkCListSort.Rd db8b83b3588f8588645081f983468466 *man/gtkCListSwapRows.Rd 706fc3ea369bfad1e34948d0b0120ef3 *man/gtkCListThaw.Rd 0ccd2567a3aae1d3bf2f0a307b8877f1 *man/gtkCListUndoSelection.Rd 71dd5ee30aecd241f1ee894c5dd77f8c *man/gtkCListUnselectAll.Rd a58d444ccd31580ae2bcc9d8f1c12697 *man/gtkCListUnselectRow.Rd 2e90207adfd09686d53c3dd7c01321c2 *man/gtkCTreeCollapse.Rd db6d25e25e5baaab8b07c1d43912bea6 *man/gtkCTreeCollapseRecursive.Rd 747368880d7f4ef6f5b3be8bf7e83cf4 *man/gtkCTreeCollapseToDepth.Rd 375ad321f4ec120583255e811382822e *man/gtkCTreeExpand.Rd 2d29eddb4c4ff04431bfc0689785ae6d *man/gtkCTreeExpandRecursive.Rd a147d1867c36f07d335975cf3cfce067 *man/gtkCTreeExpandToDepth.Rd 8c9721fec7479ca146061857e7d06426 *man/gtkCTreeExportToGnode.Rd 0942bf6292a9f376949462894b03abfe *man/gtkCTreeFind.Rd 228dfcb923cfb35708a49f1b50dc541f *man/gtkCTreeFindAllByRowData.Rd 2036117ad2c68ed620a72d4354d6103a *man/gtkCTreeFindAllByRowDataCustom.Rd 4dcfd2af131b3ce2fb6d2a0e01c0a255 *man/gtkCTreeFindByRowData.Rd 4f02b3884b57793b501c8cb35444a9e8 *man/gtkCTreeFindByRowDataCustom.Rd ca8172844f912c5926b65a4fb5fee85d *man/gtkCTreeFindNodePtr.Rd 62668dba2eadebfd828fe35fe4b00e3f *man/gtkCTreeGetNodeInfo.Rd 90be19d92a7747d652e032d083c44878 *man/gtkCTreeInsertGnode.Rd e9921eb0a81ad3af2ee4c79a7469f732 *man/gtkCTreeInsertNode.Rd 7d30591e3f88c0d3d6e206161f4ee8f8 *man/gtkCTreeIsAncestor.Rd b2ab24a8884b4f433ac1506305e1266f *man/gtkCTreeIsHotSpot.Rd e8ad9bfdacced73351ea8132fd83e5a9 *man/gtkCTreeIsViewable.Rd be679900635738d5c5f83a1b083081f8 *man/gtkCTreeLast.Rd 7ab15ec708cb314ca93f435acb88bb95 *man/gtkCTreeMove.Rd 3d57fff9236d9aec5b84be5c54385bed *man/gtkCTreeNew.Rd 2dddbb801dcdafd7e156a185041cae8c *man/gtkCTreeNewWithTitles.Rd d96e5f1a6941cd8a5ff26c46d78515c5 *man/gtkCTreeNodeGetCellStyle.Rd 11b8186c0b60b8365de4b6cc12a83dc2 *man/gtkCTreeNodeGetCellType.Rd ec7b705fa048bcc13974b4757424f1e5 *man/gtkCTreeNodeGetPixmap.Rd 49c085a888df22709f0c0f4771fbbfc8 *man/gtkCTreeNodeGetPixtext.Rd 5ced4e8f8ee467a5390babbbcec05df4 *man/gtkCTreeNodeGetRowData.Rd a1083be397581c642be14877dafcc663 *man/gtkCTreeNodeGetRowStyle.Rd 31293d3494b5162daa780f557e3c1e05 *man/gtkCTreeNodeGetSelectable.Rd 94531a8633fb4dbf3fdc0196d597aa4c *man/gtkCTreeNodeGetText.Rd a926b70c3b7ab29087a3b395aa649395 *man/gtkCTreeNodeIsVisible.Rd f61d38397b4b15325e2904b44848d0cb *man/gtkCTreeNodeMoveto.Rd f382d11eb9093ce873bb4aefb49fc475 *man/gtkCTreeNodeNth.Rd 3d7b735689dbb8083274751e777876bb *man/gtkCTreeNodeSetBackground.Rd 3c0642ee48eede957d23f587499feb5b *man/gtkCTreeNodeSetCellStyle.Rd 33f0fff1f4060723561d636134c88acd *man/gtkCTreeNodeSetForeground.Rd 47fea5fd9dd68e841bda1561241954bd *man/gtkCTreeNodeSetPixmap.Rd 576f53a96afc94da4cc21bdcba5f146d *man/gtkCTreeNodeSetPixtext.Rd a87f6230b6dbb37b70ccb195db3e60c2 *man/gtkCTreeNodeSetRowData.Rd 9130dfb58a9dc90736d4ba3c0d6d4088 *man/gtkCTreeNodeSetRowDataFull.Rd ed48bf986a8f2d8dd8c2d33873d12766 *man/gtkCTreeNodeSetRowStyle.Rd 4d4db2dc4a89d5354450baeafaffef85 *man/gtkCTreeNodeSetSelectable.Rd 5c9b8944b5add7b8d4fab440afdd9d84 *man/gtkCTreeNodeSetShift.Rd ed5e74c9305beecaa41c927d2e3e4a89 *man/gtkCTreeNodeSetText.Rd e6c997674ab24efa785953473b5f8b45 *man/gtkCTreePostRecursive.Rd 6dd69e7e7f644ccb49184ecedc32fe31 *man/gtkCTreePostRecursiveToDepth.Rd 6f5bfb3adef31d8be25457a2b4a231f2 *man/gtkCTreePreRecursive.Rd a5a55f407f98bc17ccaed7ae35e2c3d5 *man/gtkCTreePreRecursiveToDepth.Rd d869b8008b119e681a2ca7ed128a6acc *man/gtkCTreeRealSelectRecursive.Rd ab2c2e05d36814f2b647eb880433c79b *man/gtkCTreeRemoveNode.Rd d4a6f376f0e18f8db1c3c53bf25379a5 *man/gtkCTreeRow.Rd 16eae869e485546f42c32850d2432456 *man/gtkCTreeSelect.Rd 95ceaca8fe98e0e3b53f2b98ca42da87 *man/gtkCTreeSelectRecursive.Rd 32019704980b1d1ed550ee9bc22d74bc *man/gtkCTreeSetDragCompareFunc.Rd 3a2ed44c639da3bcdc610a71aacfa223 *man/gtkCTreeSetExpanderStyle.Rd 0f4bc94d97d99c38a2818f1ae89abea6 *man/gtkCTreeSetIndent.Rd ca16a2bd58b456169e9915b5ba6b2b74 *man/gtkCTreeSetLineStyle.Rd a08015a836fb99c2cd23f998ffdda2ab *man/gtkCTreeSetNodeInfo.Rd 38b315371327381bbf29dcb0129784ab *man/gtkCTreeSetShowStub.Rd a664dcc681754d175b7e61c534456d51 *man/gtkCTreeSetSpacing.Rd 9cc902f51a54a5e874008ee11bb77a99 *man/gtkCTreeSortNode.Rd 2b8d625e8e94452bdca3d91d717676fa *man/gtkCTreeSortRecursive.Rd 034c2c71aad6705755c2b4659d8a85c1 *man/gtkCTreeToggleExpansion.Rd 49fbefe1081ee943832b486ce9a8adf5 *man/gtkCTreeToggleExpansionRecursive.Rd b39b7b71a8e01da3be25b26142d32277 *man/gtkCTreeUnselect.Rd 95514bbbfaf1157034df7eb88b077753 *man/gtkCTreeUnselectRecursive.Rd 5cdf85b85b4b0153c2246d5f9b1c46ca *man/gtkCalendarClearMarks.Rd 982641ed53bc4894a1ed94ffd58d1259 *man/gtkCalendarDisplayOptions.Rd 147ca5a2bdd6e70fe4a4d6d71371abb8 *man/gtkCalendarFreeze.Rd 2c187a21e565b8fb31c51835ea49dece *man/gtkCalendarGetDate.Rd 3f56002645e851001b76efa720f2b63f *man/gtkCalendarGetDetailHeightRows.Rd f42a2ced69db1542960242578aaf0262 *man/gtkCalendarGetDetailWidthChars.Rd 6e8aa4ea1959701bd211cea0f7cd2d0b *man/gtkCalendarGetDisplayOptions.Rd 59fff201171ed9e0e7b55489dc825c69 *man/gtkCalendarMarkDay.Rd 44c3f441a2c9bd6010cf32e1302a652f *man/gtkCalendarNew.Rd a7cd8382ba8fcdb6d6ad519f64a5017b *man/gtkCalendarSelectDay.Rd 87d7c98243f803dacab4817d5dd4e7ab *man/gtkCalendarSelectMonth.Rd a8173298830dc2eaa666916722a1c8de *man/gtkCalendarSetDetailFunc.Rd cd3ec62633de20d78a679fbac8707725 *man/gtkCalendarSetDetailHeightRows.Rd 22f49458c470f8b31fd9dfb7623f5bf9 *man/gtkCalendarSetDetailWidthChars.Rd 3df8e5e3c04ae13649e2396e48b217e3 *man/gtkCalendarSetDisplayOptions.Rd 3503c1824af30deaaf841805443ba663 *man/gtkCalendarThaw.Rd 271109ae8dd6d487a2d34925e498d652 *man/gtkCalendarUnmarkDay.Rd 1f2b5939bf2e265c3305f1d1b77de679 *man/gtkCellEditableEditingDone.Rd c96aad4acafbb7ccb503e4676be82a85 *man/gtkCellEditableRemoveWidget.Rd 19f1befa613fbbfd2ead05ce1e8c7c69 *man/gtkCellEditableStartEditing.Rd 6fb70bad055bf17b7845ed21fab6d52f *man/gtkCellLayoutAddAttribute.Rd 1cdf780e48aadc5fca9925785eeeac85 *man/gtkCellLayoutClear.Rd d2f592ad4d1ca66aaea223a29c562763 *man/gtkCellLayoutClearAttributes.Rd 657639529434768454cb6c520ddb8807 *man/gtkCellLayoutGetCells.Rd 671001275f54ca7712b954382bca941e *man/gtkCellLayoutPackEnd.Rd 111b9dd8a0fc2d8517dbf0588b02ece2 *man/gtkCellLayoutPackStart.Rd 2ec54aac33717e409a3130ed1bdee4c1 *man/gtkCellLayoutReorder.Rd 52199538b5a789f4cd8d9f8797a05273 *man/gtkCellLayoutSetAttributes.Rd afacf28fb81a2a463138446c11023910 *man/gtkCellLayoutSetCellDataFunc.Rd 5f8dacaa9bc6f9995e6483bce000c01a *man/gtkCellRendererAccelNew.Rd 1b7e621d29755be3102aec25d4019d04 *man/gtkCellRendererActivate.Rd a8697f9d4bc1ce86197e268a18e22f15 *man/gtkCellRendererComboNew.Rd a96838f876117687e3dedb1374d16028 *man/gtkCellRendererEditingCanceled.Rd a0afb0399dbc874cad029c4d1ddc2608 *man/gtkCellRendererGetAlignment.Rd 18b4f74bbde0db18d14675ad765f5b18 *man/gtkCellRendererGetFixedSize.Rd e2586eda480322ffb6555f749a79031d *man/gtkCellRendererGetPadding.Rd d307c4bfb9f0a51b50d658c0d05247ce *man/gtkCellRendererGetSensitive.Rd 377d9ad0ed1b555b568fb41e035c3b1d *man/gtkCellRendererGetSize.Rd fa4fc6876c5e3b7e5ef037359c70ed15 *man/gtkCellRendererGetVisible.Rd 097745e7054ba7e741ca505a70a1be74 *man/gtkCellRendererPixbufNew.Rd f1d582c4bc89eba26b6b1aff3388d10f *man/gtkCellRendererProgressNew.Rd 5663716a45f5fa7d5a3b21a14eba11a6 *man/gtkCellRendererRender.Rd 7e12f12d0caa10d6f010b33a8cb9f7bf *man/gtkCellRendererSetAlignment.Rd dda2ab799cfaf2e825b29f79b87552c4 *man/gtkCellRendererSetFixedSize.Rd 5fb34bf6457bd9714ad528cb0cdb35ec *man/gtkCellRendererSetPadding.Rd 1fadabb54166f06a81a2147e06282592 *man/gtkCellRendererSetSensitive.Rd 958f9d5b0510fb1acabe8435c49fad1c *man/gtkCellRendererSetVisible.Rd 6ffa9f5a3e61bead02ee7dc4d221cdcd *man/gtkCellRendererSpinNew.Rd c0c8ad24ab6d836c182194136fdacd65 *man/gtkCellRendererSpinnerNew.Rd a6f8437448c0082b281fd45ab1d047a3 *man/gtkCellRendererStartEditing.Rd 85099e27d475fff560247368c5fe7e50 *man/gtkCellRendererStopEditing.Rd d6e26ef3980fdb62023c1dfc54d4336e *man/gtkCellRendererTextNew.Rd 3c172100edbd93f13a894073745999b6 *man/gtkCellRendererTextSetFixedHeightFromFont.Rd 42d165e475b61813db7d15544022742a *man/gtkCellRendererToggleGetActivatable.Rd 0c2b3525f87a79e8dcf4d08502bcfd4f *man/gtkCellRendererToggleGetActive.Rd 42a7fe187948dfcb924712712f30f786 *man/gtkCellRendererToggleGetRadio.Rd 27a56e648158f39ea227817c942db534 *man/gtkCellRendererToggleNew.Rd 6049b17234f206cbef91017ba3f7eb74 *man/gtkCellRendererToggleSetActivatable.Rd 16fdede46ec0ad53019edf009a09a5ee *man/gtkCellRendererToggleSetActive.Rd 5d93fa3be4d4fb4744d6bb0fba8831c8 *man/gtkCellRendererToggleSetRadio.Rd 4bfdb47a6261fd8716c82ae20f61b640 *man/gtkCellViewGetCellRenderers.Rd 14b96c7228d326a054deb2e832825456 *man/gtkCellViewGetDisplayedRow.Rd c4fdfc2d926a30956668dc87017f53e4 *man/gtkCellViewGetModel.Rd addb7060bff75ed1befd8491ba4d7015 *man/gtkCellViewGetSizeOfRow.Rd 203e2e524bb3627239567c4c1fda112b *man/gtkCellViewNew.Rd 37d52eac68fdfee93e445ecc273664eb *man/gtkCellViewNewWithMarkup.Rd f17fb85de0dfb399463caf11e98406a7 *man/gtkCellViewNewWithPixbuf.Rd f10f0ef97a296b24115ce84a29ff1024 *man/gtkCellViewNewWithText.Rd 1972214680ed75d3e6f8b4d56a503be5 *man/gtkCellViewSetBackgroundColor.Rd 28b267270d416ec2edc754cb6c4e68a4 *man/gtkCellViewSetDisplayedRow.Rd 9b64dc2c4b0f5dafb449a2cf6af2213b *man/gtkCellViewSetModel.Rd 29272eb78b559c2fd971fcf288fa7643 *man/gtkCheckButtonNew.Rd a00c165ab9c33707f6ae2676b7a9a455 *man/gtkCheckButtonNewWithLabel.Rd 8f0a790f892aa517e614919d72dd4ef2 *man/gtkCheckButtonNewWithMnemonic.Rd 1c7f321ff3844cf5c95f2aee71695ff8 *man/gtkCheckMenuItemGetActive.Rd 59feaafe73e47d7bb4e966797aed72fe *man/gtkCheckMenuItemGetDrawAsRadio.Rd 0ff0cef827cd5225dec6357ddcd3c475 *man/gtkCheckMenuItemGetInconsistent.Rd 2e2a376c6650d9a0bc15239d6a025bf8 *man/gtkCheckMenuItemNew.Rd 4f3dee1cbab7e38f0a8cdbfa317db9a4 *man/gtkCheckMenuItemNewWithLabel.Rd 118b2eb211ebf730711e51dacefe0ab1 *man/gtkCheckMenuItemNewWithMnemonic.Rd 3d250f45f2257737eaba655c30624e6c *man/gtkCheckMenuItemSetActive.Rd 27b15884f09ec58a34c5bfb167562cba *man/gtkCheckMenuItemSetDrawAsRadio.Rd dca637798c36d8fcdb6da1a10a281143 *man/gtkCheckMenuItemSetInconsistent.Rd 7e344cacb636d479e6922051f3175942 *man/gtkCheckMenuItemSetShowToggle.Rd b55f1cb336db2fa153a8c39f1aa0ec8b *man/gtkCheckMenuItemToggled.Rd 105cd6e2b053249949f0ffb317d1a6c4 *man/gtkCheckVersion.Rd ef7eac3a46744482d638cbeb0250ea64 *man/gtkClipboardClear.Rd fc4af20a062f1c2265b5510fc4d05889 *man/gtkClipboardGet.Rd 3a1cb1fb126f11fb3a0f3b256f889e1f *man/gtkClipboardGetDisplay.Rd d77f8a79476c5499c24c05cad3795d9c *man/gtkClipboardGetForDisplay.Rd 4b4c40e182afb3334b18ad5c76dcb77a *man/gtkClipboardGetOwner.Rd 3a81674fdb90817b4624ea423af4beeb *man/gtkClipboardRequestContents.Rd fd09844c3027ce3d76fb440fd05aa38e *man/gtkClipboardRequestImage.Rd e559897ba09dafede518e034b9dc84a2 *man/gtkClipboardRequestRichText.Rd fd335091ea13c8f540b752ef922a09d4 *man/gtkClipboardRequestTargets.Rd d77e6cb5b47399a1e3f1c76d96d93c58 *man/gtkClipboardRequestText.Rd 231917d4f3629b325cbc6c16db05cc41 *man/gtkClipboardRequestUris.Rd a8e556757fc86984480fb7d9cd112f06 *man/gtkClipboardSetCanStore.Rd a3b563a1f8cb3456a8803f2b15567f7c *man/gtkClipboardSetImage.Rd cea23a5f03a02592e70b5c6ed12fda26 *man/gtkClipboardSetText.Rd 7ecf2a0e6bd6545e3bc7eb957b67a93b *man/gtkClipboardSetWithData.Rd 4a0bb80738c92c50f7fca9ab316660e3 *man/gtkClipboardSetWithOwner.Rd 01be4dba8af410a1ceeae9a9386157c2 *man/gtkClipboardStore.Rd b300074ed6764d1c9b28813a7e9ac43a *man/gtkClipboardWaitForContents.Rd 19f485cc2965dd2fe8a04e9907d8c463 *man/gtkClipboardWaitForImage.Rd 9133e2c565938fc982da866d7bbe8e13 *man/gtkClipboardWaitForRichText.Rd b2e824a2f82d2e53f8a5b401f9fc1be2 *man/gtkClipboardWaitForTargets.Rd ad7cdd692ff3e4157e3f76aceae25ff0 *man/gtkClipboardWaitForText.Rd 02f69c439f7cd4d29a4f803db746456f *man/gtkClipboardWaitForUris.Rd 8b6d24de659b01f2d147c364e37c7f12 *man/gtkClipboardWaitIsImageAvailable.Rd d42cb1ca16783a6c5ad9c63da430ee99 *man/gtkClipboardWaitIsRichTextAvailable.Rd 05dea54356c496c09fa006d421822229 *man/gtkClipboardWaitIsTargetAvailable.Rd bee1dac88c6c9697607dba64b39f21c1 *man/gtkClipboardWaitIsTextAvailable.Rd 3c287acf6923d69b114e607de555e308 *man/gtkClipboardWaitIsUrisAvailable.Rd f6db24da57b5000874ed79c651711b27 *man/gtkColorButtonGetAlpha.Rd e0ee7c082caadc9a0fb493961a2c9a2e *man/gtkColorButtonGetColor.Rd 8e1a6f3ef11c3fbc8fbad74cbd23b758 *man/gtkColorButtonGetTitle.Rd 5c51edb5581052b0e6b5d94b563a5d4b *man/gtkColorButtonGetUseAlpha.Rd b8dce39e1c906cb79a69a731cddcf210 *man/gtkColorButtonNew.Rd a99fab6e664b7c77ce7d95633880c75e *man/gtkColorButtonNewWithColor.Rd 2a26aabd49b6f9ddaa9808eeeb516313 *man/gtkColorButtonSetAlpha.Rd 077bb1910dfec1bb715251d7feb7e803 *man/gtkColorButtonSetColor.Rd 08e1912dbb8a17d504958c2d2511733f *man/gtkColorButtonSetTitle.Rd f30fcfb605b64527f69b8f0d71f2aa84 *man/gtkColorButtonSetUseAlpha.Rd 08997d182ca673ce17c77409689d38a2 *man/gtkColorSelectionDialogGetColorSelection.Rd 11ce59d77300c74bedd77d5fd4b25e78 *man/gtkColorSelectionDialogNew.Rd 182fa6c5a4bd8783e0b946ed9bc61ebf *man/gtkColorSelectionGetColor.Rd a01301d4bcd7b1d6b88252f4993e2f55 *man/gtkColorSelectionGetCurrentAlpha.Rd d2226dd73825960a7a78d0bd77f06ba1 *man/gtkColorSelectionGetCurrentColor.Rd 7aad0143a5c7713bfc3f1423eb61bbba *man/gtkColorSelectionGetHasOpacityControl.Rd 5b2e239e7b97f37651afaba8582a2404 *man/gtkColorSelectionGetHasPalette.Rd fcc3e4de1d8f67e55522374ab6c9cf99 *man/gtkColorSelectionGetPreviousAlpha.Rd df9e3abd01d669d9f8af523fcf6d6820 *man/gtkColorSelectionGetPreviousColor.Rd a6a3c20ae629bd1e6a179cdbcf7775bd *man/gtkColorSelectionIsAdjusting.Rd e92a5adf6a050e7146dbe921909d5ade *man/gtkColorSelectionNew.Rd d510b1733ce71bb0f89539c62e017ed4 *man/gtkColorSelectionPaletteFromString.Rd 6ffd09e68e1ee36a79dfe9edf63202cf *man/gtkColorSelectionPaletteToString.Rd 2f923eeb5fbe33abec1acc4a5a0593f7 *man/gtkColorSelectionSetChangePaletteHook.Rd 7a897d254241ff440607d87045f3114f *man/gtkColorSelectionSetChangePaletteWithScreenHook.Rd 9d76ab398df2323fafeed88f42f9d043 *man/gtkColorSelectionSetColor.Rd 3982482f7e0f8aa65e85f5adf7aec711 *man/gtkColorSelectionSetCurrentAlpha.Rd 033c56a15f6a0f9151d908fb293de6f3 *man/gtkColorSelectionSetCurrentColor.Rd 0e5b72d20b30a504f0a1cf6673cc4f6c *man/gtkColorSelectionSetHasOpacityControl.Rd e3f8b4bdaf2787cc8961ce27b21714ed *man/gtkColorSelectionSetHasPalette.Rd 9bd83fc5f4398efc754eeff12c7c4ba3 *man/gtkColorSelectionSetPreviousAlpha.Rd b72db5a0fc2126cf3d02e96efe30933e *man/gtkColorSelectionSetPreviousColor.Rd a076268ad79adff3e7ae8dd193b903dd *man/gtkColorSelectionSetUpdatePolicy.Rd f3fd38e3b4cfcf8eb0e6dc0fccde155c *man/gtkComboBoxAppendText.Rd d1760a05aa1b4d73342a2f8b303c0bb8 *man/gtkComboBoxEntryGetTextColumn.Rd c39379945b3d951ad796f683ab5cdc3b *man/gtkComboBoxEntryNew.Rd 45ee4b211e5873635c813e8661b938b9 *man/gtkComboBoxEntryNewText.Rd 9292cfa2bcec01f54ad901637b3bffa8 *man/gtkComboBoxEntryNewWithModel.Rd 969810b584789bddf211e75021b23459 *man/gtkComboBoxEntrySetTextColumn.Rd 2327728579d057e28ac7126930472b22 *man/gtkComboBoxGetActive.Rd 22feaaa3c8d19701a24ce83468b44696 *man/gtkComboBoxGetActiveIter.Rd b31c52556b1be5a9847f3bf75c8d4da0 *man/gtkComboBoxGetActiveText.Rd a42ff6352b2bceb36ad45046bf678be8 *man/gtkComboBoxGetAddTearoffs.Rd 092b0633778aaac9b329ec9a67fb2cdd *man/gtkComboBoxGetButtonSensitivity.Rd cb93a686fb81a492b6c2bc36df5ff262 *man/gtkComboBoxGetColumnSpanColumn.Rd 21c527c3caf7dfb1988b4723a2a9965f *man/gtkComboBoxGetFocusOnClick.Rd c65ec0cd97fe51f2da3a6b3bfc5b4bcf *man/gtkComboBoxGetModel.Rd 575236ffb34f081d662c8bac41e6086c *man/gtkComboBoxGetPopupAccessible.Rd a99296deb988475e8564ea29e141e8b9 *man/gtkComboBoxGetRowSeparatorFunc.Rd 8ec2217df4c9f7c72b305192608b6250 *man/gtkComboBoxGetRowSpanColumn.Rd 14d457782800ddf1d86367180b1b4c78 *man/gtkComboBoxGetTitle.Rd 1a8b01258ea4419c968421071033dd39 *man/gtkComboBoxGetWrapWidth.Rd 3a1fb537a286cc5dc528d98ba50ebe43 *man/gtkComboBoxInsertText.Rd d7c0e96953232b35a04b50a18f515acb *man/gtkComboBoxNew.Rd ae2c19c0decf0c1acd60147aa218ae82 *man/gtkComboBoxNewText.Rd abdca4a9f1621d8269acb5c3b81d63e7 *man/gtkComboBoxNewWithModel.Rd 275305320916551503017d1297ecb6c4 *man/gtkComboBoxPopdown.Rd 801c22025ebedd59904a9d9ddfa32563 *man/gtkComboBoxPopup.Rd 29234b74bd94191b3ba063fec570db89 *man/gtkComboBoxPrependText.Rd d9c73d4905533c59bb8047eca3f47d27 *man/gtkComboBoxRemoveText.Rd 919baef0979437667c807a4fd1bd4e95 *man/gtkComboBoxSetActive.Rd 6d9649f09b2d9dcce2700e3285265cfd *man/gtkComboBoxSetActiveIter.Rd a67663047560051a76be33306edf1958 *man/gtkComboBoxSetAddTearoffs.Rd 22e06348775c74cbe68716eac44a4c6c *man/gtkComboBoxSetButtonSensitivity.Rd f5ad571708341e2378760356df9fc6b6 *man/gtkComboBoxSetColumnSpanColumn.Rd f7a9189ff50d6c55ffb9ec138d72c366 *man/gtkComboBoxSetFocusOnClick.Rd f5b082b7a809780230af9d97ef9a7b62 *man/gtkComboBoxSetModel.Rd 931ec0a1594622ab04dffc13019f65c8 *man/gtkComboBoxSetRowSeparatorFunc.Rd 9120404ba00c35fe04359aacce32df1f *man/gtkComboBoxSetRowSpanColumn.Rd 6c1990abd64835cc7d99231b11f247a6 *man/gtkComboBoxSetTitle.Rd 49baa72ba8aa11620422fdae614d5db2 *man/gtkComboBoxSetWrapWidth.Rd 9a66d37e38285d827993ea4b2de5c557 *man/gtkComboDisableActivate.Rd ef601a0b233d7d10e8cc5b9f37fc4c61 *man/gtkComboNew.Rd 5203c02ec1e43381a247314ff396c1ce *man/gtkComboSetCaseSensitive.Rd 3d949b148562b7f057c9a03df4aa7746 *man/gtkComboSetItemString.Rd db042618163500cfc9daaa7b946a5e57 *man/gtkComboSetPopdownStrings.Rd fbcdba02b473e68e48b90dfd59481fda *man/gtkComboSetUseArrows.Rd f466ac7beeec646021952cb01ae9872b *man/gtkComboSetUseArrowsAlways.Rd 4f195bc0aff6135322df8947a4802ffa *man/gtkComboSetValueInList.Rd 8114550cff72b5545c40e5b40ff4abf2 *man/gtkContainerAdd.Rd 22abcfd5dfc7798164bb128cd6b69aa7 *man/gtkContainerAddWithProperties.Rd a49370db81b4eec9b941d2290bac5d1a *man/gtkContainerCheckResize.Rd 894b88eb2a958f6ab0abcdc047c48daf *man/gtkContainerChildGet.Rd 564c0bd67462008b91c79876db251c95 *man/gtkContainerChildGetProperty.Rd b0eef2f3b3cfe49fee3d808a3dab28a1 *man/gtkContainerChildSet.Rd 0237ef543308ce722f6c9313901c31e1 *man/gtkContainerChildSetProperty.Rd e0ac4a6f1f5bb50143dce696bc0ed7d7 *man/gtkContainerChildType.Rd 802a910e1d1d87a16e8d631103877c97 *man/gtkContainerClassFindChildProperty.Rd fd4a992b5425e8b71e03a882b110ac18 *man/gtkContainerClassInstallChildProperty.Rd 89cebe389fda93ca187d53146819f0d8 *man/gtkContainerClassListChildProperties.Rd 2f97c0be281f199746f0ca6e3c1ea054 *man/gtkContainerForall.Rd 94703ae0510fec01fef0c388030e49ae *man/gtkContainerForeach.Rd 2217d8d5071bed15abf25536cd21f83d *man/gtkContainerForeachFull.Rd 2a584e6f8e7a649914dbf1316633f21e *man/gtkContainerGetBorderWidth.Rd 05f23d7b7b70d8897fff320f73e181d1 *man/gtkContainerGetChildren.Rd df616bc912de302f4aadf55cdcde3e75 *man/gtkContainerGetFocusChain.Rd 92d85fceacb9f70471de348c0b7abf79 *man/gtkContainerGetFocusChild.Rd c25647a9440c7632f7f9ebd3b9d9e298 *man/gtkContainerGetFocusHadjustment.Rd 430458ad34f59f16a0786e737cb59a09 *man/gtkContainerGetFocusVadjustment.Rd 9a060950da02431deb1158d358133442 *man/gtkContainerGetResizeMode.Rd a117221f5d51e6203dd8341e277f6bea *man/gtkContainerPropagateExpose.Rd 1973c37d79ca1963c1bc2cc25b00bab1 *man/gtkContainerRemove.Rd e96eaefadb34eecde2dd45082cba3113 *man/gtkContainerResizeChildren.Rd b115bdd92acc42851981ca44a12f22c6 *man/gtkContainerSetBorderWidth.Rd 17082ab1ceb4d901b6e6700e1667245a *man/gtkContainerSetFocusChain.Rd 58167f606a5e5509fc6ba1782a837d5d *man/gtkContainerSetFocusChild.Rd e3f6ee71d4d1ab9c3079fc0ed1dd6d55 *man/gtkContainerSetFocusHadjustment.Rd 3962c78982522584bf594bce340a4180 *man/gtkContainerSetFocusVadjustment.Rd 171b21002820cdd56521ea7bea2d2ef7 *man/gtkContainerSetReallocateRedraws.Rd 1b30cabd0e13a1436748a01ff221bf09 *man/gtkContainerSetResizeMode.Rd c56d633408d97cf57c1072bee6bf5e97 *man/gtkContainerUnsetFocusChain.Rd 309aed9eb77c89d9565d87bec3c5fd83 *man/gtkCurveGetVector.Rd b5e893be5653a06becd1a97d406983a6 *man/gtkCurveNew.Rd 0d7c35257cb8f6fd8161af9341c06ee0 *man/gtkCurveReset.Rd feb9892f06b449c1b5d206bac0e41177 *man/gtkCurveSetCurveType.Rd 9f82f0037563e6a89aaf0c36635e36af *man/gtkCurveSetGamma.Rd f122195fc82260ef0c0074af6be81cf1 *man/gtkCurveSetRange.Rd b7f7b9dbd8af9e0ff1e7d8a17c53f035 *man/gtkCurveSetVector.Rd e2158dba676f70fb4e69d50ecf2129ce *man/gtkDialogAddActionWidget.Rd 154a4cac330933864c38bb0c9c634435 *man/gtkDialogAddButton.Rd 53ab5b134b9f1f5075a424244286f9e9 *man/gtkDialogAddButtons.Rd 64a5eba991baa91cf0ae091951f26438 *man/gtkDialogGetActionArea.Rd 642f6c1e6362f5de0343e0887e705315 *man/gtkDialogGetContentArea.Rd 76975d2b38db1527462f710c9faaba67 *man/gtkDialogGetHasSeparator.Rd 4e49ae8854ccc33ee96b191b8678f9f7 *man/gtkDialogGetResponseForWidget.Rd a12c5a2b222562be6162b61a9c26787e *man/gtkDialogGetWidgetForResponse.Rd 6d5a58fae65f47db10775eaa6e80b771 *man/gtkDialogNew.Rd 7b7fdebf54bfeed9609ffcc566db91b6 *man/gtkDialogNewWithButtons.Rd ea16874e9b5fb4d1d9928e2e71aeaf77 *man/gtkDialogResponse.Rd 58b63ce9b29ee96fbce841be48d514de *man/gtkDialogRun.Rd 4fca989c534b2d54d9ffb5d4d04bfc0d *man/gtkDialogSetAlternativeButtonOrder.Rd 32dcf77f1eda9367caeacf645b648084 *man/gtkDialogSetAlternativeButtonOrderFromArray.Rd 6d26fa551dc239163e2c2bbddf06011f *man/gtkDialogSetDefaultResponse.Rd b2040737aa1376f4ac7deffb571ddb12 *man/gtkDialogSetHasSeparator.Rd d5ae620cd5326dcb30a1caa2acc96742 *man/gtkDialogSetResponseSensitive.Rd d2da781516d033e9e2e8c0f450575b56 *man/gtkDragBegin.Rd 38167d2259c7ce570855ee67fe70ed46 *man/gtkDragCheckThreshold.Rd 95a672c77960273858d2536029ef7276 *man/gtkDragDestAddImageTargets.Rd cef89b217d8d7106f3f4b1ff4c0bb46d *man/gtkDragDestAddTextTargets.Rd e9a07a35b1935836e0c95dcf666c605f *man/gtkDragDestAddUriTargets.Rd 613be07f36ec4714b554f348f65ba4d3 *man/gtkDragDestFindTarget.Rd f3283badcca676f131fce7c08bb5e8d1 *man/gtkDragDestGetTargetList.Rd 2eaab80ea2dbaf9d051647588869383a *man/gtkDragDestGetTrackMotion.Rd 92a67ca2ef0ccd765f09e5627152e449 *man/gtkDragDestSet.Rd c761dc9e71900ed1f1cbb14c29e61a06 *man/gtkDragDestSetProxy.Rd ebb2dce0d26a7662a646ab535b64e4db *man/gtkDragDestSetTargetList.Rd ad05ccea4ec39eed19dc71db7957bf44 *man/gtkDragDestSetTrackMotion.Rd 5b3e7f1ab6d80be2c4f7230b313c8ab1 *man/gtkDragDestUnset.Rd 51b32bec0987b2722d111fb272e240c7 *man/gtkDragFinish.Rd 252d5dde520b95fbae2b4ae00474b91e *man/gtkDragGetData.Rd 3459e16b124bb1cc8ad1f3bde6f99f95 *man/gtkDragGetSourceWidget.Rd 3d47e8768ee09d1b03da93fae57fc819 *man/gtkDragHighlight.Rd a525e08ed88feb5781362798b77aadb8 *man/gtkDragSetDefaultIcon.Rd 65222e9bc30374339bca5edfb9198219 *man/gtkDragSetIconDefault.Rd 5ed06aeefa7595459315ad3fc688f438 *man/gtkDragSetIconName.Rd c3f8461ae71d0a66fcd6a60760ba60fe *man/gtkDragSetIconPixbuf.Rd 8cebdc31106ae394841e7cd3de3cc6de *man/gtkDragSetIconPixmap.Rd 2f343b49d2503d0a479b91e449ea770f *man/gtkDragSetIconStock.Rd df217a3299bb01e390a7fefd2f3e3390 *man/gtkDragSetIconWidget.Rd 5bbbd106e2e86a2905af08bc54e79ec3 *man/gtkDragSourceAddImageTargets.Rd 2374541c31e9fe21f5cd7621017b4a9a *man/gtkDragSourceAddTextTargets.Rd aa9cd32d467a803193358dc11d684e11 *man/gtkDragSourceAddUriTargets.Rd b3aaf7497181a863dd9d251222572acd *man/gtkDragSourceGetTargetList.Rd e371ae0556ad1b5528511eec8193e03f *man/gtkDragSourceSet.Rd 2961e9508d4de6195f8b0ede3d2962cb *man/gtkDragSourceSetIcon.Rd 48cfd12b0a8c3eb41e59e90c50c6ae62 *man/gtkDragSourceSetIconName.Rd 11aa56a4bc25e21d6fe1e7f6411e2672 *man/gtkDragSourceSetIconPixbuf.Rd 14096c84fec71082440db4c96dea9065 *man/gtkDragSourceSetIconStock.Rd 98ce8e49761e4b11a203ab4a4599def2 *man/gtkDragSourceSetTargetList.Rd 0e1b61f78378a1d60f5b2256f11edb21 *man/gtkDragSourceUnset.Rd 7849fc001958f94de63c0134ee3147a1 *man/gtkDragUnhighlight.Rd e1ecb7da961f811f293a902dd1b9edfc *man/gtkDrawArrow.Rd e43359d026420ac5db60e897d961c400 *man/gtkDrawBox.Rd 28dc44a07d59caebdcb59999185f34b2 *man/gtkDrawBoxGap.Rd 828ae6806b85b628cc6c7402d9f430ca *man/gtkDrawCheck.Rd 93d8961f58a856aa213509b86e69f180 *man/gtkDrawDiamond.Rd 675be8925821131d87070c528db83044 *man/gtkDrawExpander.Rd a5d33b41392f08b8d07bd37d918dd208 *man/gtkDrawExtension.Rd 95d14a0a10d417e87e96c7693bfa36ce *man/gtkDrawFlatBox.Rd 8834fbdd5aea5b7a66f72b96fe95ab96 *man/gtkDrawFocus.Rd 490cf5639a8d2092899a0e1160c8c000 *man/gtkDrawHandle.Rd d1bdf0df2d93c19649618b3bf2ddbe08 *man/gtkDrawHline.Rd efcf1e5eecfb2bcc0fc67150b4e19553 *man/gtkDrawInsertionCursor.Rd 5818ceb9c83a000ab8336efdeae64888 *man/gtkDrawLayout.Rd 43807dcab348f1bd1e7c413b96c9e076 *man/gtkDrawOption.Rd 366bf94b9ac32cb3c6ab3283c90c759d *man/gtkDrawPolygon.Rd 424aa2da4260dc0e314da2837b888832 *man/gtkDrawResizeGrip.Rd 5b2c43dfcf40630678863cfb4cdf764f *man/gtkDrawShadow.Rd 8d59a5bd651100d2432610ec484a06cd *man/gtkDrawShadowGap.Rd bf542b90a805265d858e38cc34881e16 *man/gtkDrawSlider.Rd 58f199e2e1e1e05aca1adcb320d815e6 *man/gtkDrawString.Rd 81d5d111478697a751a547b9af7d749d *man/gtkDrawTab.Rd 6f80438e246779cfa3c6eed65df5f28e *man/gtkDrawVline.Rd 5ef920c86f28002cc0344ffce40101b9 *man/gtkDrawingAreaNew.Rd 6b3d0dad08561ceb2bb2b7d93e84c44d *man/gtkDrawingAreaSize.Rd 313015b51a8d6e8f7b2779cfc9fb3b77 *man/gtkEditableCopyClipboard.Rd 7556af7168fa935bd1425c07fea6a6a0 *man/gtkEditableCutClipboard.Rd 31ded78861e89fe222dd4bdeafdaac4e *man/gtkEditableDeleteSelection.Rd 8cf2e082d79734a18fb10ac3a1c0ad0c *man/gtkEditableDeleteText.Rd 91d90b26c0c6f96de9ee3ec4fc17ff37 *man/gtkEditableGetChars.Rd 95354c21d09b6e44c45214b76936e201 *man/gtkEditableGetEditable.Rd 0df9b25ccdf8adb4684dc0254de68732 *man/gtkEditableGetPosition.Rd 1c749ccf9a8bf6ecba3256038cc54c64 *man/gtkEditableGetSelectionBounds.Rd b0d2035f36410402510c07204b46a810 *man/gtkEditableInsertText.Rd 55af7b2ab236c3a7f24f06099ae6195c *man/gtkEditablePasteClipboard.Rd 3234f62f67a4a8a8a029fdc2771e5415 *man/gtkEditableSelectRegion.Rd 3d8e51ae24006d0478459c7f8ab50643 *man/gtkEditableSetEditable.Rd 780a18ab958d626e94074df9ffb847fb *man/gtkEditableSetPosition.Rd a6325c4460b2adfd07afba889e7ef260 *man/gtkEntryAppendText.Rd e0cc23de0a922fc90d0356b69b557f0e *man/gtkEntryBufferDeleteText.Rd b33b05eff72d890cc0ccbd54dd0e08cb *man/gtkEntryBufferEmitDeletedText.Rd c923fbf5e36d2fe324d32737e16ddc1f *man/gtkEntryBufferEmitInsertedText.Rd 9a240fa3e29fffc84dcf6f3d934cc4f0 *man/gtkEntryBufferGetBytes.Rd 482edec62d554e7fcbf0729cc248780d *man/gtkEntryBufferGetLength.Rd f9fe6837be2400be6fbdca59fcef48f1 *man/gtkEntryBufferGetMaxLength.Rd 9cfbe739bf1ae9f7b3782b38a87f2832 *man/gtkEntryBufferGetText.Rd f467686f78fed52ebc8dd4934a308927 *man/gtkEntryBufferInsertText.Rd 57537c9b81dfa8e1625506e5638abc2e *man/gtkEntryBufferNew.Rd abc73569ed445e1a13a5ea98b5d2411d *man/gtkEntryBufferSetMaxLength.Rd d0519ecb6bcd918ced6cf44ee57e7898 *man/gtkEntryBufferSetText.Rd 0a60d609ac3b5d47932dd9c843345f2b *man/gtkEntryCompletionComplete.Rd 43f1bed9ef6dd00be85240fc847935f9 *man/gtkEntryCompletionDeleteAction.Rd 9061f65cfe2ed91c1cf1acab72f725a9 *man/gtkEntryCompletionGetCompletionPrefix.Rd b058d917db1e9b0ccbd703d484773ee2 *man/gtkEntryCompletionGetEntry.Rd 586c3fa94db6abd0aeef9dfe41d394c8 *man/gtkEntryCompletionGetInlineCompletion.Rd 82c53b88600f8bbce65e18e95f62465c *man/gtkEntryCompletionGetInlineSelection.Rd d41220a877d79c6640ff3754d25826d2 *man/gtkEntryCompletionGetMinimumKeyLength.Rd ffa7b055baa7432c764d5eab8fb74225 *man/gtkEntryCompletionGetModel.Rd 6178ee8d6d855a149048ec20e73f43ff *man/gtkEntryCompletionGetPopupCompletion.Rd fce69068b59387b9739b3d03087d8f97 *man/gtkEntryCompletionGetPopupSetWidth.Rd fc5efe0a9bf2b15a130ea062f452effe *man/gtkEntryCompletionGetPopupSingleMatch.Rd 693c20217208c8fa7a7232e7f947ba55 *man/gtkEntryCompletionGetTextColumn.Rd 1d936b1368a020ea0359629afacc1de7 *man/gtkEntryCompletionInsertActionMarkup.Rd 5122ced5890896b62058cd145a4f6976 *man/gtkEntryCompletionInsertActionText.Rd 90027ad2cc77fac75a0d97f8b0d79b1f *man/gtkEntryCompletionInsertPrefix.Rd 9418593604881fbb43b8a0a9bb75e25a *man/gtkEntryCompletionNew.Rd 90a480713c8b389d879874416bca31cc *man/gtkEntryCompletionSetInlineCompletion.Rd 9825764723c3e6cb641c7ad21741ed6c *man/gtkEntryCompletionSetInlineSelection.Rd f496d5063ec92f4550d80a746b0403d8 *man/gtkEntryCompletionSetMatchFunc.Rd 8c9d46154deb7ce1084d418d5ac5c3ec *man/gtkEntryCompletionSetMinimumKeyLength.Rd 2d34bc3c797527fde88443f1d2791062 *man/gtkEntryCompletionSetModel.Rd 4798c26fd20bd5ca2bbd1665b9378003 *man/gtkEntryCompletionSetPopupCompletion.Rd 9024709f0ce4260cbdeb185fec53acb6 *man/gtkEntryCompletionSetPopupSetWidth.Rd a3f6c5a1e935ec3362f61ad0bc0ca7ed *man/gtkEntryCompletionSetPopupSingleMatch.Rd c695548a3e0287711c1a138a73335c2f *man/gtkEntryCompletionSetTextColumn.Rd fb5185d392596440295d2b5e303f827f *man/gtkEntryGetActivatesDefault.Rd 5e7e5c6515d2bb08b2e7213d5d33b7ea *man/gtkEntryGetAlignment.Rd c22f52c5b4120977f96a3b0d75334f98 *man/gtkEntryGetBuffer.Rd 58ca4249b4457bc1d5cae2ac0013600e *man/gtkEntryGetCompletion.Rd 1239087ae7c97e4f1ee02f4183c99fe6 *man/gtkEntryGetCurrentIconDragSource.Rd 333f31e84cdba757c78f9c86aa8ada9a *man/gtkEntryGetCursorHadjustment.Rd 0803f4a3ab17f82ef84242f786b7758d *man/gtkEntryGetHasFrame.Rd ef53008f13234de31a2f958ab66aaa1f *man/gtkEntryGetIconActivatable.Rd 402ad834e094651230265e946da9a161 *man/gtkEntryGetIconAtPos.Rd 022a410db9f49adf71f9028e1a3fc0e6 *man/gtkEntryGetIconGicon.Rd 61e26f399944f8c6e6cb2b6b227b4b71 *man/gtkEntryGetIconName.Rd b26b2567c8a58250694116fddcc4dcd8 *man/gtkEntryGetIconPixbuf.Rd 7382862dfaf01db6b2b19cdedec69118 *man/gtkEntryGetIconSensitive.Rd 471865b57e05fd6df5751cd52c404c3c *man/gtkEntryGetIconStock.Rd 533cd531f2c7e1bfed01290c75e686d7 *man/gtkEntryGetIconStorageType.Rd b3d0c5cbaa235d045300f46b679eebb0 *man/gtkEntryGetIconTooltipMarkup.Rd d66ab3f59bdd80435412e2173f94a5b8 *man/gtkEntryGetIconTooltipText.Rd 764535c3a9bedff9f904e0a2c2f4ac80 *man/gtkEntryGetIconWindow.Rd abb37d6e5e3928899834cd8495da4800 *man/gtkEntryGetInnerBorder.Rd 78616a51a967abc44b35612815c269a4 *man/gtkEntryGetInvisibleChar.Rd 0d1826d99712a365b4e0f9fb115da09d *man/gtkEntryGetLayout.Rd 99f83169681ac51d646455aa2415f413 *man/gtkEntryGetLayoutOffsets.Rd d5160bc1d85e9d847ac56734d8468c2d *man/gtkEntryGetMaxLength.Rd 4a43828e282f9740f61550fa84807d1f *man/gtkEntryGetOverwriteMode.Rd e613cb3f73bc22909294cd61e207e783 *man/gtkEntryGetProgressFraction.Rd c1f5b9b2f96028a51551f0697339bacf *man/gtkEntryGetProgressPulseStep.Rd 3c9fd8f0cd4164cb6a4d87f3fe35e93d *man/gtkEntryGetText.Rd 7c096c7fdf76b1346afa64f2bffa2b03 *man/gtkEntryGetTextLength.Rd 62e154bc73ef7af37bf981246c73bc7c *man/gtkEntryGetTextWindow.Rd cae0e750d80db69f66a3395e500c8ec0 *man/gtkEntryGetVisibility.Rd 49e2310929dbcc9d203c64e7c2f70db5 *man/gtkEntryGetWidthChars.Rd bcd758e5a196962a9fc68214c420165c *man/gtkEntryLayoutIndexToTextIndex.Rd 9c1f61310c56f4a69d313cff5dc30958 *man/gtkEntryNew.Rd c9870bfbffd6229ab0b6557ad2a1f683 *man/gtkEntryNewWithBuffer.Rd 26f6d752c7ea0699d278a2c209f7a1cf *man/gtkEntryNewWithMaxLength.Rd 1ccbb57af4865f0b7e9f8ed8695ae9bf *man/gtkEntryPrependText.Rd 8374e808f8249e7895945489e9a19ad3 *man/gtkEntryProgressPulse.Rd 9878ea6c54d98c6995a7407dddd8e039 *man/gtkEntrySelectRegion.Rd 1f17339d1dd8ae5de881955c3e8edbcb *man/gtkEntrySetActivatesDefault.Rd 30ac7c52e7ddf7f1eb1de4336bb8c551 *man/gtkEntrySetAlignment.Rd d2241badbc43ee334c0c28e60a0cc1b2 *man/gtkEntrySetBuffer.Rd 1062e9090b938e54b69aa537e68ec6b7 *man/gtkEntrySetCompletion.Rd 9ea931adb7833f7a6273ae0adaf67fec *man/gtkEntrySetCursorHadjustment.Rd 53f91e22720a57cc46ba335c93a31cb4 *man/gtkEntrySetEditable.Rd 74296e9ed8c8de93facffaf9bddc7c28 *man/gtkEntrySetHasFrame.Rd a3d612902725bf4d5a4cb4313adb75f3 *man/gtkEntrySetIconActivatable.Rd 3fc186f8d947067674f434585af7b579 *man/gtkEntrySetIconDragSource.Rd 42e1461dddd4248ce89947fa13c2d572 *man/gtkEntrySetIconFromGicon.Rd 193ce16452c6f3c23a90407740e87ede *man/gtkEntrySetIconFromIconName.Rd 59aa66ae3265e7fe4c9976da2e34b96c *man/gtkEntrySetIconFromPixbuf.Rd dbcb3dad016fe93fde993f712e604bed *man/gtkEntrySetIconFromStock.Rd 65773a47e6a9fc2d910a083869beec52 *man/gtkEntrySetIconSensitive.Rd 2197bcac6f44db898b41289b1af8c56c *man/gtkEntrySetIconTooltipMarkup.Rd b905d47275007cd3821ef9a5c791cc18 *man/gtkEntrySetIconTooltipText.Rd 93a6f302bb29ce1625138b90fc546199 *man/gtkEntrySetInnerBorder.Rd 4e71a16292a55f2559fa415e398d52b8 *man/gtkEntrySetInvisibleChar.Rd 0883985a7cc962eaeb9e11ed29a8dfdc *man/gtkEntrySetMaxLength.Rd 1fa0b34c35b11ce87e8140d72adbb76a *man/gtkEntrySetOverwriteMode.Rd 33793bcec822cc71f746879639388374 *man/gtkEntrySetPosition.Rd 1b349fdb6e7c71ae17500f2269040c93 *man/gtkEntrySetProgressFraction.Rd dfcc5b652554ca3bfbafa81d70ad841c *man/gtkEntrySetProgressPulseStep.Rd 578439ae4a390ab58f1b87141cebd28a *man/gtkEntrySetText.Rd 0fdba5e2662b5c991034d19a1c6d60ce *man/gtkEntrySetVisibility.Rd a0cdd01ab8a1f6fb83f4a6b3e75719c1 *man/gtkEntrySetWidthChars.Rd 593603df328ec1ef819e162e8c9876ed *man/gtkEntryTextIndexToLayoutIndex.Rd 7e625815389a1bc08d03a1c5d6f1efd3 *man/gtkEntryUnsetInvisibleChar.Rd 2e7961d82edc1f5df759c6009b64d644 *man/gtkEventBoxGetAboveChild.Rd 9cd27388708ac3435bf03231537f004c *man/gtkEventBoxGetVisibleWindow.Rd f32c7bb3846d0989431dd8b9d11dca7b *man/gtkEventBoxNew.Rd 39192be5fa7e57b37483599adce009c4 *man/gtkEventBoxSetAboveChild.Rd e731df84c4cbd1b8b5634ebb75eeca7e *man/gtkEventBoxSetVisibleWindow.Rd 61277efcdb6f32a631d9558bc97e83df *man/gtkEventsPending.Rd 9254c54c7472982694a9a67fa7ba1080 *man/gtkExit.Rd 37ede938c6adb7b497c30c9d6c03b68c *man/gtkExpanderGetExpanded.Rd 044e09439d7962d7ccee8ce28befc1d2 *man/gtkExpanderGetLabel.Rd c56bad0ccde4a1dba5db87e77dfec2ef *man/gtkExpanderGetLabelWidget.Rd 74401cc182053adb3e00aff57c3fcefc *man/gtkExpanderGetSpacing.Rd 94f780e42b72a8bbcdad09c56e5fddb6 *man/gtkExpanderGetUseMarkup.Rd 3230c33feb3abefaa1364781f2824dc8 *man/gtkExpanderGetUseUnderline.Rd 2d559db807ad67e7c7d1495437c97881 *man/gtkExpanderNew.Rd 25a3c346d81f2180bb7b3938f94b07f3 *man/gtkExpanderNewWithMnemonic.Rd 11d7077501da90de6e1fd3fcbfb822a1 *man/gtkExpanderSetExpanded.Rd 15b9ed276f17b115559a170eecf1c134 *man/gtkExpanderSetLabel.Rd 3e9c7abe6c9b354c86746fc8fb114833 *man/gtkExpanderSetLabelWidget.Rd 8a3bdb5a113d18207d980b879afe6960 *man/gtkExpanderSetSpacing.Rd 7a7c3bfe6aa1d74b2f1818aa3dda5b11 *man/gtkExpanderSetUseMarkup.Rd c6e185a46d17b1ba64ac36353c2904e0 *man/gtkExpanderSetUseUnderline.Rd bed433b69c9c1c51371f307dcce1da3a *man/gtkFalse.Rd 465ad6f335fd497fad5c1fa1c12a1314 *man/gtkFileChooserAddFilter.Rd 60d3d490e535ce61f5167e76d6012dc9 *man/gtkFileChooserAddShortcutFolder.Rd e3daada10f90e5bc4f7fc22f8362e200 *man/gtkFileChooserAddShortcutFolderUri.Rd 104ea69ff46e16b2c8088e6ae8a13258 *man/gtkFileChooserButtonGetFocusOnClick.Rd f45c0b631c01a13408ab814972cb976f *man/gtkFileChooserButtonGetTitle.Rd 7657f9de53ce96aa35db136394012e57 *man/gtkFileChooserButtonGetWidthChars.Rd 758ac79e59dc0c5af5cdc690f50557d1 *man/gtkFileChooserButtonNew.Rd 84290ebf01605923ac090959d59059ee *man/gtkFileChooserButtonNewWithBackend.Rd 272514b875fc0e224e7f214bd407331c *man/gtkFileChooserButtonNewWithDialog.Rd a957dc33b62b2c8ce1c9c3218c650de4 *man/gtkFileChooserButtonSetFocusOnClick.Rd 1447eab3e4ea2b787e21f59287bb05c7 *man/gtkFileChooserButtonSetTitle.Rd 565bd43a558b4ca77f2163a3a078360d *man/gtkFileChooserButtonSetWidthChars.Rd b4f9db478a2bc31990fcac58e9d2f312 *man/gtkFileChooserDialogNew.Rd 53ad362f18d0acf0913ea4228d65471b *man/gtkFileChooserDialogNewWithBackend.Rd b0139116e06682b54c99aa23f91b2e23 *man/gtkFileChooserErrorQuark.Rd e7e6767290168ec3e37f56f0091d105a *man/gtkFileChooserGetAction.Rd 4c4daff55d1829dfb2c85ea98fb7307e *man/gtkFileChooserGetCreateFolders.Rd 7cadd05f2d5fa1b3ba9b3e28d296dac8 *man/gtkFileChooserGetCurrentFolder.Rd bfc1a70a87dfbb34aa9e2e6c15ddad1b *man/gtkFileChooserGetCurrentFolderFile.Rd 2ae0df333949b3eee4726cc174cbcf41 *man/gtkFileChooserGetCurrentFolderUri.Rd 7645919ef1f52d979935fa1c8dfc94b6 *man/gtkFileChooserGetDoOverwriteConfirmation.Rd b24d2fd57f2209d08d85d891c176376c *man/gtkFileChooserGetExtraWidget.Rd 8d7703853a75a3cf33535f3c4bc6cb0b *man/gtkFileChooserGetFile.Rd 87fca4dc7b31bed56cdebea629d69a19 *man/gtkFileChooserGetFilename.Rd 535d58cffee9a29263657d042ce9a798 *man/gtkFileChooserGetFilenames.Rd 02b267db4ef0a310dc0397c97643c0fb *man/gtkFileChooserGetFiles.Rd 773c57d3f40a3740cd0c83aca4925d70 *man/gtkFileChooserGetFilter.Rd 947360f9a87010d49c4bc7519c427e4e *man/gtkFileChooserGetLocalOnly.Rd c8b8e802339f8eadf91551e43be07065 *man/gtkFileChooserGetPreviewFile.Rd dd5f1c83913b6b33f0916c44f7acb575 *man/gtkFileChooserGetPreviewFilename.Rd fdc6049e4d39b0f2d7ca34a7caf8a5a4 *man/gtkFileChooserGetPreviewUri.Rd 06affce428720149947e711819f66f33 *man/gtkFileChooserGetPreviewWidget.Rd a9ab133a4b3948ef8e3068996ad39495 *man/gtkFileChooserGetPreviewWidgetActive.Rd 821d9bcad16743fe317676e47271c290 *man/gtkFileChooserGetSelectMultiple.Rd 977704488ffbd92b2ec2e0df5c198394 *man/gtkFileChooserGetShowHidden.Rd 51a30cf2db8b83f27816a8e806112221 *man/gtkFileChooserGetUri.Rd 9bb5ac8d3cb6a1c83083bcec6c0a69e4 *man/gtkFileChooserGetUris.Rd feb2c0fe078b48ee74b0dcbc7781725b *man/gtkFileChooserGetUsePreviewLabel.Rd ae62983b4c2af5cafd26f03c4c32fecc *man/gtkFileChooserListFilters.Rd 4e3511470829e52434aaa7780f42a200 *man/gtkFileChooserListShortcutFolderUris.Rd 8527ab81e86bc71451fa233845af592e *man/gtkFileChooserListShortcutFolders.Rd cdcec992d5ebb2f4b77f6cdf769620e2 *man/gtkFileChooserRemoveFilter.Rd 910624ea77998588c2e09dcf8a7d49d8 *man/gtkFileChooserRemoveShortcutFolder.Rd 39af6f218abfd1f766b12dfb50facfe0 *man/gtkFileChooserRemoveShortcutFolderUri.Rd e66c28e12e0d730714f67f0858eaff9a *man/gtkFileChooserSelectAll.Rd 7a3f4b4234b08f56e0ae37989f152246 *man/gtkFileChooserSelectFile.Rd cdb96db30db7f95830c07451f5d33ccb *man/gtkFileChooserSelectFilename.Rd e9114874b420d8d144d0e0f4f804e8e7 *man/gtkFileChooserSelectUri.Rd 179d656e0b8866d069bb50d543f046eb *man/gtkFileChooserSetAction.Rd cbd136ae1408230bb92ac853f633e7f6 *man/gtkFileChooserSetCreateFolders.Rd 3cd2548ca4e0b6df11805344ea5e0035 *man/gtkFileChooserSetCurrentFolder.Rd 824337b95c2ad4b6658dee816b36a6d1 *man/gtkFileChooserSetCurrentFolderFile.Rd 03f18503760dbefbe867664f85a3a54c *man/gtkFileChooserSetCurrentFolderUri.Rd f9f05d1e4940932c153dd62aa3c96d61 *man/gtkFileChooserSetCurrentName.Rd 6fd867b84f340e25295c483261e4fd69 *man/gtkFileChooserSetDoOverwriteConfirmation.Rd 24d699d0a75db6036ca12879f3b68daa *man/gtkFileChooserSetExtraWidget.Rd 79ac9da8498a23b85944a9522f88b5b9 *man/gtkFileChooserSetFile.Rd 5158c41caa1075359e4f21daea6468ba *man/gtkFileChooserSetFilename.Rd f5bf7608d61700e33f93ed525e051ae2 *man/gtkFileChooserSetFilter.Rd 33362f1646868c3bdf7c8759ad5fcfb7 *man/gtkFileChooserSetLocalOnly.Rd 030e8157e7a480fc9f495adb63e8fab2 *man/gtkFileChooserSetPreviewWidget.Rd 03d7f3b4feb56c0ab1c0fd31167f1ee0 *man/gtkFileChooserSetPreviewWidgetActive.Rd 587ae847a6f0e0b37a2153282bfad08a *man/gtkFileChooserSetSelectMultiple.Rd ebbaa2f38404d4f4e9d97e51bb9fbc90 *man/gtkFileChooserSetShowHidden.Rd 89ed7e38c93d608474104a5f7210487c *man/gtkFileChooserSetUri.Rd a90198ef880821f785afc52cd05db50a *man/gtkFileChooserSetUsePreviewLabel.Rd 3ac6fcc9f797aa0cbde56f0360468b5e *man/gtkFileChooserUnselectAll.Rd aaa00777ece976abf698dcefdb2b2d65 *man/gtkFileChooserUnselectFile.Rd d9b87342dc203925c5dab2483605c2bf *man/gtkFileChooserUnselectFilename.Rd 3a94f6986ff905ff3158bd31680f1eca *man/gtkFileChooserUnselectUri.Rd 8afbb3f8093b301782e2849f55c2f6b6 *man/gtkFileChooserWidgetNew.Rd e23382d7954f530573cd6ee9ec2e6dd5 *man/gtkFileChooserWidgetNewWithBackend.Rd 7233713ce98ef66be5656834b39459c0 *man/gtkFileFilterAddCustom.Rd 80f6b8cb187aee4943ec4d1704016639 *man/gtkFileFilterAddMimeType.Rd bd747be4034d8bfb2010610484f2ad82 *man/gtkFileFilterAddPattern.Rd a47e65cbef4b948caa43bf4c64d99370 *man/gtkFileFilterAddPixbufFormats.Rd 2758aa61129c44cff7e33dbc198f911d *man/gtkFileFilterFilter.Rd 101604b7a240d67d789801e58842236b *man/gtkFileFilterGetName.Rd 100ae7314e177e3b90e718c679b69cec *man/gtkFileFilterGetNeeded.Rd 0611d2f7be7c1877830d52f017ef5555 *man/gtkFileFilterNew.Rd d7368c2f3ae58bb2d107ebe07e1fd998 *man/gtkFileFilterSetName.Rd 2f6d6e270f6f68742708b6375eef6288 *man/gtkFileSelectionComplete.Rd 5db03f4a96651c5fa65d3580b04dfb2e *man/gtkFileSelectionGetFilename.Rd ce1a125c53a57402dd844949b3ac1bc1 *man/gtkFileSelectionGetSelectMultiple.Rd 45969fe02d4c38b3e6d9d2931630295a *man/gtkFileSelectionGetSelections.Rd 1e668bd385766891b179c72b6c73fa3a *man/gtkFileSelectionHideFileopButtons.Rd 97f15f50a082f369d6b5468e2b9b4433 *man/gtkFileSelectionNew.Rd b52941a78b02447f8981fcda78ed86ca *man/gtkFileSelectionSetFilename.Rd 474e8c0f3f962a32e53a0fa832690de4 *man/gtkFileSelectionSetSelectMultiple.Rd 94610c91593a5e4ba058ceddec5abd9a *man/gtkFileSelectionShowFileopButtons.Rd 20996373f6c09b682d8dce7125fe6e0d *man/gtkFixedGetHasWindow.Rd 6e4fea334386ae1e5902f66bed199b49 *man/gtkFixedMove.Rd e479ee63b6485949e40238e2d7cdf280 *man/gtkFixedNew.Rd 61f63b3aa276450dce64295315614fbb *man/gtkFixedPut.Rd 851f641c21d6faba86770456528f20ab *man/gtkFixedSetHasWindow.Rd bbbd90514585d43c74e210abd684f389 *man/gtkFontButtonGetFontName.Rd 688911ac292530b0b0f616fb17c7b2d3 *man/gtkFontButtonGetShowSize.Rd bd13bbeb78757388099c5b04ec015828 *man/gtkFontButtonGetShowStyle.Rd 6f96de55bff6d2920c3c955f830d2b3e *man/gtkFontButtonGetTitle.Rd 0eb9828ab9546e80c07ef994bff7264c *man/gtkFontButtonGetUseFont.Rd a6efaa3f50874955ca06a8fb9329b114 *man/gtkFontButtonGetUseSize.Rd f81a7fd187a358b7fa2f4ae8ea7e903c *man/gtkFontButtonNew.Rd 824f44d598d36f507c9e8b5917b6f8b0 *man/gtkFontButtonNewWithFont.Rd 92f0012c763332dc93ba1cb813456f8b *man/gtkFontButtonSetFontName.Rd 21aa337eb8fbd4f5242a5179e10c6c55 *man/gtkFontButtonSetShowSize.Rd 00609198ca2ae28898778b67987144ab *man/gtkFontButtonSetShowStyle.Rd 6f7d835d309bd6ecde90982c19829857 *man/gtkFontButtonSetTitle.Rd 66889eca06a91d58ca25004cffc42bb3 *man/gtkFontButtonSetUseFont.Rd 2572b3f60887a5ecabec030605b9ff6f *man/gtkFontButtonSetUseSize.Rd e666b72a3ed1f4db5943cb2aff75a4cc *man/gtkFontSelectionDialogGetApplyButton.Rd de894eb3b9deeadce8ab2136415a5af4 *man/gtkFontSelectionDialogGetCancelButton.Rd f320ee1e2a9a9c6272840d574457ebb5 *man/gtkFontSelectionDialogGetFont.Rd 9385ee5c5aae2c6deefb12fd9f0c2ffd *man/gtkFontSelectionDialogGetFontName.Rd e1d091b39abe682db3cbf21919d2e8a2 *man/gtkFontSelectionDialogGetOkButton.Rd 39ab8cbe6d41705bbbdbfbdfe8931465 *man/gtkFontSelectionDialogGetPreviewText.Rd 4edd5c39f9fac98c86ee2a85c0f92470 *man/gtkFontSelectionDialogNew.Rd 398220e27d4c65f9f293655e8de18542 *man/gtkFontSelectionDialogSetFontName.Rd 5d3f91c59224038edf3c6bf7c17e3ce8 *man/gtkFontSelectionDialogSetPreviewText.Rd 47a58b66d3cd6e1bbbe444f5545b4941 *man/gtkFontSelectionGetFace.Rd 8d684b29ac6c39974436ce38e5bc4c8b *man/gtkFontSelectionGetFaceList.Rd 112b598c6d0f69bd90d3034680319c7f *man/gtkFontSelectionGetFamily.Rd f0b8d2a7d186266c47d4b533896e50e3 *man/gtkFontSelectionGetFamilyList.Rd 50b3d8883e126f815bb4b558f9c12eeb *man/gtkFontSelectionGetFont.Rd bdb6c35e05505176ff2a892fb310bff3 *man/gtkFontSelectionGetFontName.Rd f937833b0d9de5428dd2de4a5dec11f2 *man/gtkFontSelectionGetPreviewEntry.Rd 72b7ac97eaaf9bc6d8731e265618d658 *man/gtkFontSelectionGetPreviewText.Rd af58ed377a3aa5064498724c2c9105cb *man/gtkFontSelectionGetSize.Rd 92fbb7a201e5925a1e988fac7138f537 *man/gtkFontSelectionGetSizeEntry.Rd eee6c3e044a390c11f0f077755a5f7a2 *man/gtkFontSelectionGetSizeList.Rd dedf2bf37878db2f6a81bfdfa1f07a76 *man/gtkFontSelectionNew.Rd 3abce468cde5a55cf649e3d24f0f83e6 *man/gtkFontSelectionSetFontName.Rd 5104ca9c5adb9b4491ad1498e23725bd *man/gtkFontSelectionSetPreviewText.Rd f05801318230d7e56a74021e128f719c *man/gtkFrameGetLabel.Rd df5c9ba115c5f536e238b0a7230021e2 *man/gtkFrameGetLabelAlign.Rd d5e34dae63b7e033cf3f96d66d42f37d *man/gtkFrameGetLabelWidget.Rd 70a34b848751f6a04266cdd287baacc7 *man/gtkFrameGetShadowType.Rd 3aed65aa0246cbfda93c49d81420a909 *man/gtkFrameNew.Rd 983f614cebfb37f1b5b986323403157f *man/gtkFrameSetLabel.Rd 1ffed6a494a993e64c9fb5941138c29c *man/gtkFrameSetLabelAlign.Rd 1cbb52648c9c694a6db47db8a0e9e112 *man/gtkFrameSetLabelWidget.Rd de56ff13f78a8f89e260f4b24aefab03 *man/gtkFrameSetShadowType.Rd bfc4919c3c36cea227784d9cc85b2073 *man/gtkGammaCurveNew.Rd c1f9c080985943d1d005f2893d78570e *man/gtkGcGet.Rd 712324575b7637b8ebf3f8134acb4bc3 *man/gtkGcRelease.Rd f84411b4c28448fb1fd6c94244e2c6fb *man/gtkGetCurrentEvent.Rd d99908e81d7d8080265d43aa568a6b3f *man/gtkGetCurrentEventState.Rd a6ede98cc810bc197f66a689c51e93c0 *man/gtkGetCurrentEventTime.Rd 05f2798957f420c6dc7cafdf39194589 *man/gtkGetDefaultLanguage.Rd 5bba840b6a296b9605b1d4bdf7a52b5b *man/gtkGetEventWidget.Rd 9808754cc4979762a60d5450ec0d0d3a *man/gtkGetText.Rd 919bbc3d03c918c179e6c32c5bb4725d *man/gtkGrabAdd.Rd e2ebc370146a8fcfbc4426a4821edad8 *man/gtkGrabGetCurrent.Rd 05a1b86b02cf7e12ee99b38d231edf2c *man/gtkGrabRemove.Rd 610bdbfb71c577f96f293a6be89d2409 *man/gtkHBoxNew.Rd e838dab1bbbcb5801a31db79a4dc66aa *man/gtkHButtonBoxGetLayoutDefault.Rd 56fecb7aff0280bf3f49bc718da1430d *man/gtkHButtonBoxGetSpacingDefault.Rd 7174da34e01cd850c82620a0019f7a33 *man/gtkHButtonBoxNew.Rd e5fcd6a69e4021d23d125d3313fc3abc *man/gtkHButtonBoxSetLayoutDefault.Rd 5216bd11f8cd63d880089149f906d870 *man/gtkHButtonBoxSetSpacingDefault.Rd a5243408d765b3987d7d22ff945e4190 *man/gtkHPanedNew.Rd cec55601eb7f63c64f173aee5d7d520e *man/gtkHRulerNew.Rd 0e37f61cfe229283f871b7be09ea7f79 *man/gtkHSVGetColor.Rd b0e8c7b1570d07ee73b416f216f2619c *man/gtkHSVGetMetrics.Rd 41643ed7078c61b481d7951386a7948a *man/gtkHSVIsAdjusting.Rd 5ce6a50d2373a836eac4f2677606a0da *man/gtkHSVNew.Rd e2644e2f7749de1ded7ef9f1a12494e9 *man/gtkHSVSetColor.Rd 53030e6c2b2d2e1f241490a196114a83 *man/gtkHSVSetMetrics.Rd 19eb63a6ba1739f0d5f617e33d497163 *man/gtkHSVToRgb.Rd d61e1b7d2afdaa1472251b720500fc8a *man/gtkHScaleNew.Rd 6c7306b577e17ed97d946da9650d1006 *man/gtkHScaleNewWithRange.Rd 547c768a5e04c2dd0d8ae6d39d213b74 *man/gtkHScrollbarNew.Rd c6e9a3564eb95fc2ca75de29ef315f0b *man/gtkHSeparatorNew.Rd 06cbf0ac36274a26aeb03aba68938816 *man/gtkHandleBoxGetChildDetached.Rd a49f091755fc899c21b53d163e98d970 *man/gtkHandleBoxGetHandlePosition.Rd 0edc3d4aa10f5a1f674f80ef2ba4e962 *man/gtkHandleBoxGetShadowType.Rd 404885763d0521d1d9d02ef8a2234365 *man/gtkHandleBoxGetSnapEdge.Rd 8f8c49c7565f8eb8a460688988a869ac *man/gtkHandleBoxNew.Rd 75bac0ea0b98141a49dfc376b1bad383 *man/gtkHandleBoxSetHandlePosition.Rd bb83dcdc525ee5878a32f38249f16441 *man/gtkHandleBoxSetShadowType.Rd 396361610c454570acaeae83bc9d5a4d *man/gtkHandleBoxSetSnapEdge.Rd f247ad01db54ac14cf12c56eb17e0bf5 *man/gtkIMContextDeleteSurrounding.Rd d192c08a8c7fba62ed038a8df9cce82a *man/gtkIMContextFilterKeypress.Rd c9d9eeb2b91f5cdc50a75dc85ca630c4 *man/gtkIMContextFocusIn.Rd c43caeaea2e222a6adb0fe9064d5c22e *man/gtkIMContextFocusOut.Rd ccfda5b194ab3cd49dafbc23755d32b8 *man/gtkIMContextGetPreeditString.Rd 2153e3cdd68809296980b6460deaefd5 *man/gtkIMContextGetSurrounding.Rd c9c2bc99a9849e537534c2ce20301b82 *man/gtkIMContextReset.Rd 66724d4123b1d49c0afaef6626536b6d *man/gtkIMContextSetClientWindow.Rd 038b50004b0e65793c878800214523d1 *man/gtkIMContextSetCursorLocation.Rd 9a2571eadcfc3e20c2bc3bd600be6f72 *man/gtkIMContextSetSurrounding.Rd 25d9e787ad5e67fa08b162af32feffd8 *man/gtkIMContextSetUsePreedit.Rd 40a70d42301da081c0f5a1600d443fc4 *man/gtkIMContextSimpleAddTable.Rd d911ef00d2f01bbdfaf8a383d9b7a3fc *man/gtkIMContextSimpleNew.Rd 446b20c74145b254c058d9ec0faee2e9 *man/gtkIMMulticontextAppendMenuitems.Rd de2427e7c67f857041e8523b54d8c314 *man/gtkIMMulticontextGetContextId.Rd b7375218a2b7bc035a7abff948ee6a5b *man/gtkIMMulticontextNew.Rd 6d2f25d36dfbc958f92b40fea78486ec *man/gtkIMMulticontextSetContextId.Rd c3476198707e4d2cdb35da5344b2d996 *man/gtkIconFactoryAdd.Rd 43a2bd52036a2aa43c4346193021eaf0 *man/gtkIconFactoryAddDefault.Rd 066628c9140f22fdd70bdadcc3cec075 *man/gtkIconFactoryLookup.Rd b3201518fd8091fa9935e87f886016cd *man/gtkIconFactoryLookupDefault.Rd a77012f5504203bc49c393446797e7a8 *man/gtkIconFactoryNew.Rd f0904d9186ca32eab800c6f375daa1b1 *man/gtkIconFactoryRemoveDefault.Rd d4569c61e8e8a91c1307b9a828eff7c5 *man/gtkIconInfoCopy.Rd 79feebb23067f32b4c063c58da63f7cc *man/gtkIconInfoGetAttachPoints.Rd 3e31042b2eab931613d9f4187c40eb69 *man/gtkIconInfoGetBaseSize.Rd b285ff652c60832b20719dfebfc0b576 *man/gtkIconInfoGetBuiltinPixbuf.Rd 94052b5e31f2687fcc5c624e46b57fde *man/gtkIconInfoGetDisplayName.Rd c73a5a870dd54acd87b6ba36b500415e *man/gtkIconInfoGetEmbeddedRect.Rd 0cd7761281518ce58d7760511bc3ca33 *man/gtkIconInfoGetFilename.Rd 294ebdb11742cfffcb0de082e43dbcbe *man/gtkIconInfoLoadIcon.Rd 67a731cc930ffb4a1e317ed67ee226ac *man/gtkIconInfoNewForPixbuf.Rd 29e8c008cd899011cd10f62e53b8ce9f *man/gtkIconInfoSetRawCoordinates.Rd 060cebd88312fca9088d2682654ccef3 *man/gtkIconSetAddSource.Rd 279a5f6fb3564ff51565072c14ecbfa8 *man/gtkIconSetCopy.Rd 741903c9efb90b8d64dc7270a49d2614 *man/gtkIconSetGetSizes.Rd 846b0de2fd8bcc3efaf680985b7a8859 *man/gtkIconSetNew.Rd 38216f93193b454ac0b08314571e0527 *man/gtkIconSetNewFromPixbuf.Rd a73a6b25d525fe37b05a832930da1ed0 *man/gtkIconSetRenderIcon.Rd f0d59baf903ace552d67dc6d25e4523c *man/gtkIconSizeFromName.Rd 4a7ca5221e80ca16d708bb794bda908b *man/gtkIconSizeGetName.Rd fd339004100ea2f7f2f72162e98b8ecf *man/gtkIconSizeLookup.Rd 9183ef8122d351ed8cea4e9d12406560 *man/gtkIconSizeLookupForSettings.Rd af01cf122be2d35e515215333c1c919d *man/gtkIconSizeRegister.Rd c4d2b069e56e77ad01fadcc7fbe816c0 *man/gtkIconSizeRegisterAlias.Rd c285b32e50ccb6873ae83def8b308eb1 *man/gtkIconSourceCopy.Rd 4c2172212bb6108143f6f767687adf53 *man/gtkIconSourceGetDirection.Rd 39c4424c6ca1adcf03d48c9260e7f0af *man/gtkIconSourceGetDirectionWildcarded.Rd 0417ecd934921597173721ee94b1534c *man/gtkIconSourceGetFilename.Rd d5a1485f08cb7314f94983c1e6b1d79f *man/gtkIconSourceGetIconName.Rd 009fad9af487904e4e144d134f4474e0 *man/gtkIconSourceGetPixbuf.Rd 13b6180957fe4c3e0a11e37e310ae760 *man/gtkIconSourceGetSize.Rd fba77070206d75fa553df157ca0bf718 *man/gtkIconSourceGetSizeWildcarded.Rd 633a3d90ddc751bc47be937a47d47b40 *man/gtkIconSourceGetState.Rd e4510f05ea510759ef320738d8c43301 *man/gtkIconSourceGetStateWildcarded.Rd 65db0be69908caf6b7aa640ac981734e *man/gtkIconSourceNew.Rd 84f6030e33360518bf51235494804aa2 *man/gtkIconSourceSetDirection.Rd 6feeeff5855ba5426cba5585928b3c2a *man/gtkIconSourceSetDirectionWildcarded.Rd 39506e8e57cd854f013e7903dd636260 *man/gtkIconSourceSetFilename.Rd 636d405f7c081920b8bef4ffc1fd55ee *man/gtkIconSourceSetIconName.Rd d8e42a189e96be9b93fb7c725a372d13 *man/gtkIconSourceSetPixbuf.Rd 7c1b51bbafe26003fea267ca63b0b10e *man/gtkIconSourceSetSize.Rd 5f53280c6226d0d9399d8d58299b5391 *man/gtkIconSourceSetSizeWildcarded.Rd 7cff717f45a52fbaaed7dd7ae954c08e *man/gtkIconSourceSetState.Rd 368f4e0eddfd49397ceb25f40411be01 *man/gtkIconSourceSetStateWildcarded.Rd e357d80d3dd975a12535d9cbe106a25e *man/gtkIconThemeAddBuiltinIcon.Rd 2c7fa48e3bc822a9b70d8c9d09e151ae *man/gtkIconThemeAppendSearchPath.Rd cb1a9ac843e979ba0235a34569d3cb16 *man/gtkIconThemeChooseIcon.Rd a7ce2262f0c87b2967fd1edeb5e2346c *man/gtkIconThemeGetDefault.Rd 05ae69323ed1c43d041b2bcf9a626d5c *man/gtkIconThemeGetExampleIconName.Rd 427c200f3091509eabeef89e10f5775a *man/gtkIconThemeGetForScreen.Rd 4830af9f939f5d43f672984e826a4c13 *man/gtkIconThemeGetIconSizes.Rd c65312e4702af6a25d5d61e0986d1574 *man/gtkIconThemeGetSearchPath.Rd 1cb1ceb1c00bf72af944c06fcb38dc9a *man/gtkIconThemeHasIcon.Rd 5c92093cd0b5f75ea1ebd0c3ed84cf26 *man/gtkIconThemeListContexts.Rd 84dfc9b7fff83767e8a12f445dcef45d *man/gtkIconThemeListIcons.Rd 8209ce9fe7437dbb8d409e7b9c8e0fe3 *man/gtkIconThemeLoadIcon.Rd 04fddb36308e542cf0ffa1bdc3bad08a *man/gtkIconThemeLookupByGicon.Rd dd7d971edb272573ab5eab88b453ca9e *man/gtkIconThemeLookupIcon.Rd a708c56a82c2f08b5374664c0878e95b *man/gtkIconThemeNew.Rd 3d3a1679520c300b94577561eb7d7bb4 *man/gtkIconThemePrependSearchPath.Rd 31a7fbce4fc68abece6a475fe45d09f1 *man/gtkIconThemeRescanIfNeeded.Rd 1c838c78bd623779928283ae1ac0e6e3 *man/gtkIconThemeSetCustomTheme.Rd 8d72b79aec7bbef0d4c59f07850e2adc *man/gtkIconThemeSetScreen.Rd 49e5601dfdfd750e4e9ea12b9a340e79 *man/gtkIconThemeSetSearchPath.Rd 27239ec4c5d893cdbf57444ac5178060 *man/gtkIconViewConvertWidgetToBinWindowCoords.Rd 0fa015df65396dcfc1ac23e61b7ef160 *man/gtkIconViewCreateDragIcon.Rd 9cc567d98ec341107c59225c6f54548a *man/gtkIconViewEnableModelDragDest.Rd 924319434578dfc295f66549398e06cf *man/gtkIconViewEnableModelDragSource.Rd 2e02a1843d388906e9324fa66b84f372 *man/gtkIconViewGetColumnSpacing.Rd 715ecdfa39e1d043bf11de8bd75d6257 *man/gtkIconViewGetColumns.Rd cf06c8bc177381b8067d367186cefd4b *man/gtkIconViewGetCursor.Rd d439281492558c6d79fe368a9dc8a566 *man/gtkIconViewGetDestItemAtPos.Rd cb72270e787631b922be1d481b55112b *man/gtkIconViewGetDragDestItem.Rd 5b8749f1fa942e4112932226be091c25 *man/gtkIconViewGetItemAtPos.Rd 9c8c75cafc40ca05f49d4183cc33a3d0 *man/gtkIconViewGetItemPadding.Rd 54a5bef17b1c44843b23b55f98cd2e57 *man/gtkIconViewGetItemWidth.Rd c08920f40f9537f3167f38ee3dfe7b56 *man/gtkIconViewGetMargin.Rd 382a35fe02f2b852dc59eb84d165ba99 *man/gtkIconViewGetMarkupColumn.Rd eee7b7b744156ed89270f08b78cd08ec *man/gtkIconViewGetModel.Rd fe7ff293747793149bb94b89de2d0d28 *man/gtkIconViewGetOrientation.Rd ca45f043e2feb5bde2fa918bd43e4f6a *man/gtkIconViewGetPathAtPos.Rd b015382283593951293a5e6b3521dbf9 *man/gtkIconViewGetPixbufColumn.Rd 83adf1578bf67e26db95d6069ae6ae3a *man/gtkIconViewGetReorderable.Rd 58e3a619fd0050b4acbe7b3e5d661a61 *man/gtkIconViewGetRowSpacing.Rd 0ae2f8fa2fb15dac438350d7dbd5d386 *man/gtkIconViewGetSelectedItems.Rd b74f1a7c3d1be2a504f6ec43bd80b707 *man/gtkIconViewGetSelectionMode.Rd f1414cb4ada9ea17e87ed64626ec1dda *man/gtkIconViewGetSpacing.Rd 93159d0fb6f204a6b906963d8278a06a *man/gtkIconViewGetTextColumn.Rd a838aac2b45012be5502290a4f78391d *man/gtkIconViewGetTooltipColumn.Rd 02d167c21414ada61431519ebed761d8 *man/gtkIconViewGetTooltipContext.Rd c696f625f3489f7719d3a50d583a949e *man/gtkIconViewGetVisibleRange.Rd a5901573cb4f094373d0a477512c5f3b *man/gtkIconViewItemActivated.Rd 2d7799becbe89a3d86bd2b7b1f6fd7d7 *man/gtkIconViewNew.Rd 2ff8fd01dca0d39f6f06fa9d40d6cf2f *man/gtkIconViewNewWithModel.Rd 74d3f78c4199bd7e7f237d186e98ef1d *man/gtkIconViewPathIsSelected.Rd c5b59cb02418d7871ef54fb56af86362 *man/gtkIconViewScrollToPath.Rd 3e0524a6df5ce555667f36ffdfcf2473 *man/gtkIconViewSelectAll.Rd 5463523e963b56102a25350e361461c2 *man/gtkIconViewSelectPath.Rd 9a9def7ced4c53c787e92d2fadc944de *man/gtkIconViewSelectedForeach.Rd 228f5ea2450fbe5264e1c966d5ca39c9 *man/gtkIconViewSetColumnSpacing.Rd 39eb18262b7b0d9e7df821aeca7baaad *man/gtkIconViewSetColumns.Rd 77210464f01bbe07bc00fc0f8c1d7db3 *man/gtkIconViewSetCursor.Rd 0d0eb87b7dca9879087fa9e53a3e7fc5 *man/gtkIconViewSetDragDestItem.Rd a8b4bb25b91ad1ecaceb0fc5f27ee4d1 *man/gtkIconViewSetItemPadding.Rd 59435008bdc080466963d77fa119bd04 *man/gtkIconViewSetItemWidth.Rd 1a1b548b8ef043e47a74799efdbaf97c *man/gtkIconViewSetMargin.Rd e473926a7756267b6785bfd1035e2532 *man/gtkIconViewSetMarkupColumn.Rd 447ddbab5cc1fb2c014922ffb4f64bb0 *man/gtkIconViewSetModel.Rd 4d4ceeb815501c35347375781cd4a8c2 *man/gtkIconViewSetOrientation.Rd 214999d978f74598e40331a3cc78ad98 *man/gtkIconViewSetPixbufColumn.Rd 780b05a837ff5cc59e6dcd17353047ae *man/gtkIconViewSetReorderable.Rd bf7ae25dac97191cec85b195f3dda567 *man/gtkIconViewSetRowSpacing.Rd a8b9393dc758a20eff05e82ad926380d *man/gtkIconViewSetSelectionMode.Rd ad6008939760eb9df06824cc2b9988c3 *man/gtkIconViewSetSpacing.Rd 1c63a3cca9a707a0f4838e0ae93279fe *man/gtkIconViewSetTextColumn.Rd a1f2b1404cc646f55363bba37df94a3a *man/gtkIconViewSetTooltipCell.Rd b532e4e7c3205f036ab5981316244be0 *man/gtkIconViewSetTooltipColumn.Rd 4d6b52dfb333dca2da53b7057dfb9f1c *man/gtkIconViewSetTooltipItem.Rd a0491f07b19060f1389ba2507a5b3950 *man/gtkIconViewUnselectAll.Rd 541ecf6c54e9dbf08a4e4930e21e9f6e *man/gtkIconViewUnselectPath.Rd 6b44c884f59a8188144575fa7c90c712 *man/gtkIconViewUnsetModelDragDest.Rd b7e6538d976ba1b1ee34da305b03ce2a *man/gtkIconViewUnsetModelDragSource.Rd d9d043dcfe2a432ba2d8c5c22493decf *man/gtkIdleAdd.Rd 36727bc7f11595fac969e5226bda11fa *man/gtkIdleAddFull.Rd d7fabf2d56e290c94de82878da3629be *man/gtkIdleAddPriority.Rd eb4bd664931819e2e39189764e60945d *man/gtkIdleRemove.Rd f7cf9abf31f06e44e299dc05ce3e7a2d *man/gtkIdleRemoveByData.Rd b089f8068654136c32bdcb99cc836c25 *man/gtkImageClear.Rd 9b8dde4b14529c6399f3a6396b3c5b22 *man/gtkImageGet.Rd aed62fc095e1dc321913873235b0a06f *man/gtkImageGetAnimation.Rd d37a05477fece555f8b6467152259e8d *man/gtkImageGetGicon.Rd 454b046f7af69348b90377d09710e7cd *man/gtkImageGetIconName.Rd 53d9fdc402a17b75ad2b49534bdad413 *man/gtkImageGetIconSet.Rd 270e8de155d472cd3c76b4473d4cb1aa *man/gtkImageGetImage.Rd 72b0e12529b93190ef95a40cf17a74f1 *man/gtkImageGetPixbuf.Rd 5950a55b73c3f415b888e6ac9783a11c *man/gtkImageGetPixelSize.Rd 947e65a31a6e8704508b02a56c6d8c82 *man/gtkImageGetPixmap.Rd 7196b1b2d511fd6b6b8f2de14907374d *man/gtkImageGetStock.Rd 87c23fb9e9babc87dfa485a5bdee13f5 *man/gtkImageGetStorageType.Rd b845eb46a52d566f280b4269e41c07d3 *man/gtkImageMenuItemGetAlwaysShowImage.Rd 5b4157574710377357075845d1e8e54c *man/gtkImageMenuItemGetImage.Rd 270a5e137320b4fed51f2ce04b677f92 *man/gtkImageMenuItemGetUseStock.Rd d68ff32edbe601f21508b491c90e6976 *man/gtkImageMenuItemNew.Rd 1ac0fe8979cd5df2700cf7ae75e38804 *man/gtkImageMenuItemNewFromStock.Rd faaf8a801ec922073244235ac084e1eb *man/gtkImageMenuItemNewWithLabel.Rd 06526cbc3263a2f20cd1622653c4374e *man/gtkImageMenuItemNewWithMnemonic.Rd b7b9ad51558d7ea948115c07dc76ae72 *man/gtkImageMenuItemSetAccelGroup.Rd 569e55240fdfa1ffae7d1bd4038bc7b1 *man/gtkImageMenuItemSetAlwaysShowImage.Rd f7481d5c918657f7f70568e2c949fa9c *man/gtkImageMenuItemSetImage.Rd e8f09aafafc17a0230dad48217b9b6c8 *man/gtkImageMenuItemSetUseStock.Rd ab9bbf2d8bb599664a714311fada10b0 *man/gtkImageNew.Rd adbcfb198ad64b9fac8be1f9ddefc861 *man/gtkImageNewFromAnimation.Rd efdd90d86e19829b785a193867ec50ea *man/gtkImageNewFromFile.Rd 7896c0bb904e56401f37bd2cf9680aa7 *man/gtkImageNewFromGicon.Rd 3809159ab5d233668c29c73f7e4f8175 *man/gtkImageNewFromIconName.Rd 7f2d9ed6adb5edbc07319361b4c96f10 *man/gtkImageNewFromIconSet.Rd 358a3517aba619b53a867f8556c69c12 *man/gtkImageNewFromImage.Rd f58f4a1189de855e217e6cc34dfb7268 *man/gtkImageNewFromPixbuf.Rd 7e74f9db43728c8102cb3b55c94e9779 *man/gtkImageNewFromPixmap.Rd 238a4389a0b3ea03c0b20be7237e7da2 *man/gtkImageNewFromStock.Rd 0bcc7237194dba132904c4d55fb24cfc *man/gtkImageSet.Rd 475432d4b0460e2460db3e8fc664e6f1 *man/gtkImageSetFromAnimation.Rd b3d923cfc7dd585acb30aaf868b1cc4a *man/gtkImageSetFromFile.Rd a7a8da4d58ea9e17b5b5a8a92984e0df *man/gtkImageSetFromGicon.Rd 4ffc947b042c223de89be07daf551c18 *man/gtkImageSetFromIconName.Rd 627426268581ef70bd90023557e97923 *man/gtkImageSetFromIconSet.Rd 4bc8c41e8aaf5e3274733899cf382eaa *man/gtkImageSetFromImage.Rd f9e82c23a44b9ea96dcf55824b60dde3 *man/gtkImageSetFromPixbuf.Rd 07391fce703453c2692f00b4885720d2 *man/gtkImageSetFromPixmap.Rd 0e7e81041ee42d8e53d376fc40211c9a *man/gtkImageSetFromStock.Rd 4d4a5368f499ecbf929a2ed498af0beb *man/gtkImageSetPixelSize.Rd c101b563bc777386872b9dff0844cf4f *man/gtkInfoBarAddActionWidget.Rd 6ea7ff2a62480d3621f06d878ce74f3a *man/gtkInfoBarAddButton.Rd 783b748581a53be5a9b588da8274a90c *man/gtkInfoBarAddButtons.Rd 7ddffe7660043a633b7b33819617b232 *man/gtkInfoBarGetActionArea.Rd 44ffc54958a4e8190f881ef50893f8e4 *man/gtkInfoBarGetContentArea.Rd 644289f376398865451dc45e415b2ee2 *man/gtkInfoBarGetMessageType.Rd f4d4e80d4d1a698baca72fa99a2daf33 *man/gtkInfoBarNew.Rd f084a310a7a6cb0180a5db765a23e888 *man/gtkInfoBarNewWithButtons.Rd 51d27f2776df3bda19e5d7c1bf51a9f6 *man/gtkInfoBarResponse.Rd eba96ba19905b47b81c00320ab22b0eb *man/gtkInfoBarSetDefaultResponse.Rd 6df59c005cc8526a53796cc13bde85a7 *man/gtkInfoBarSetMessageType.Rd bc40405e529a727aff1cc65343bdaf09 *man/gtkInfoBarSetResponseSensitive.Rd 796c7b38b4a84f83a1299da0f5c629d8 *man/gtkInit.Rd af82aea7a6c8ff79c8fa68ed454bea88 *man/gtkInitAdd.Rd 41dbf6fa31706913534b521c849ed7e6 *man/gtkInputDialogNew.Rd fdb9355d5ad2c8e66086f9792fa39afe *man/gtkInputRemove.Rd cfd788a89d1d15c675c6e6c86b9ffe34 *man/gtkInvisibleGetScreen.Rd a3ded85ef213d3d81ec990300c0781c3 *man/gtkInvisibleNew.Rd 7e0e161466cd09b4896ede0df7f6382d *man/gtkInvisibleNewForScreen.Rd 0fea95eafc6f06d6a978ff1ae4e3c097 *man/gtkInvisibleSetScreen.Rd f0db3116b8d112ccb0c4de0896323ced *man/gtkItemDeselect.Rd 3be82e6201bccf60ffeb59a0ca2141ea *man/gtkItemFactoriesPathDelete.Rd 2f9e1f2991a3b849971472044f0737a1 *man/gtkItemFactoryAddForeign.Rd 27cc82c23c6742c28eb425ad4605f61e *man/gtkItemFactoryConstruct.Rd f62771665989948b0288981de6389a0b *man/gtkItemFactoryCreateItem.Rd feadefccdb78a8f5a93835eb7b000327 *man/gtkItemFactoryCreateItems.Rd 0a0d6e596b0d3bd40d9ed9a8703dfd02 *man/gtkItemFactoryCreateItemsAc.Rd 6ee2839f7373dc64eef28e712a3ef43a *man/gtkItemFactoryCreateMenuEntries.Rd fea5559673a55cc943e8981170fac22e *man/gtkItemFactoryDeleteEntries.Rd 7d7e93a106d7b410e98499a53bebb5b6 *man/gtkItemFactoryDeleteEntry.Rd e25362d47ae6152d406ceadac44abec2 *man/gtkItemFactoryDeleteItem.Rd 028a43a7db4e85fcce662658a5584539 *man/gtkItemFactoryFromPath.Rd 60e7b0c3370f386650e904e4a63c7c55 *man/gtkItemFactoryFromWidget.Rd 8adeee3ce9f8df87cc2c98fa46d13533 *man/gtkItemFactoryGetItem.Rd 8a5b5cfb2edfc03af2fb6e13d1f90f2b *man/gtkItemFactoryGetItemByAction.Rd 03a0fb161c8ccc0b4fdeee100f49f874 *man/gtkItemFactoryGetWidget.Rd 4e26a4c1e8cda624280f0fd2bad9f9d9 *man/gtkItemFactoryGetWidgetByAction.Rd f1d25bdb070d2a541d48a8462ca5a5c1 *man/gtkItemFactoryNew.Rd 1bad98fac92247d9b953ce7d83b5c15d *man/gtkItemFactoryPathFromWidget.Rd 3dce954e539a1f04e6f2cabcb902fa17 *man/gtkItemFactoryPopup.Rd 40c21ed20d38d6d75ac0d7351151ea1f *man/gtkItemFactoryPopupData.Rd 515c3b4c97f32c8a13a715cbed984dc8 *man/gtkItemFactoryPopupDataFromWidget.Rd 0e2c1fc3a0ff2e2584623d95ea2073c1 *man/gtkItemFactoryPopupWithData.Rd 70a9984b9486d6a3b304518924e78c1e *man/gtkItemFactorySetTranslateFunc.Rd 36dbc8a629cb2aa1ba0b5a89a2cdc1d6 *man/gtkItemSelect.Rd f6e0037400de86a52219ef03f26f7fb6 *man/gtkItemToggle.Rd 11089b9e9472b5d709588a2350c33bee *man/gtkKeySnooperInstall.Rd b4f5f3147ae0f889d541c05af612d7d6 *man/gtkKeySnooperRemove.Rd 674c842004a6e71369bf3297c338faeb *man/gtkLabelGet.Rd ab57b0bbdef8b50b380593e308cc4c85 *man/gtkLabelGetAngle.Rd 89b6ad3e7a889ddcbe2128d25a3e2f20 *man/gtkLabelGetAttributes.Rd 63d0a702eede79432855aecebebecc79 *man/gtkLabelGetCurrentUri.Rd 486d8f0fa61f92a68f703a3edda183a6 *man/gtkLabelGetEllipsize.Rd c0a74b6dcfc370cda7fccfbe35de19b4 *man/gtkLabelGetJustify.Rd 2a478aacc0f84b4c1af1b9db56427581 *man/gtkLabelGetLabel.Rd 6d1f952ece2a9f8f16572b244217300f *man/gtkLabelGetLayout.Rd 55a884237d18a8ba6bc4aa3b4980665b *man/gtkLabelGetLayoutOffsets.Rd 95ce7ddad5ecd458dd63498adf478266 *man/gtkLabelGetLineWrap.Rd fb82e85a316039e946d22ce1d7f869da *man/gtkLabelGetLineWrapMode.Rd 3cb5381ad3a804b138a1f34455cdee52 *man/gtkLabelGetMaxWidthChars.Rd a8d76a10529e5b662a6f77105ca7813c *man/gtkLabelGetMnemonicKeyval.Rd 73b1ddd69f32f9498b3c4f62c75da4a2 *man/gtkLabelGetMnemonicWidget.Rd 0320c0e7f29b594e681a7403475fd35f *man/gtkLabelGetSelectable.Rd f921a2577a4f4f6aa394af97c2d1ea0e *man/gtkLabelGetSelectionBounds.Rd bfc24a638850e7e8702ad4bc00155e00 *man/gtkLabelGetSingleLineMode.Rd a4bd3a4c4151c0bfbdcb685fe006efbc *man/gtkLabelGetText.Rd 428702911eaee9313da94020893eef76 *man/gtkLabelGetTrackVisitedLinks.Rd b21247435e812b74337fded6d69138d1 *man/gtkLabelGetUseMarkup.Rd 0af5b17b75fc2b0d51495b157246f8da *man/gtkLabelGetUseUnderline.Rd ff3b1d69746e8b4cd9ca4628fddc89c4 *man/gtkLabelGetWidthChars.Rd b282d1a63f329d85bfc38f96e990152c *man/gtkLabelNew.Rd 91d10ac38416f2cbc18f2b6923ad5472 *man/gtkLabelNewWithMnemonic.Rd 1ee978d7ca16f7f49b6734f4d715e391 *man/gtkLabelParseUline.Rd 8257e8ea91af23e94b6191cc4293f50d *man/gtkLabelSelectRegion.Rd 797da209bf2a7d37a605194f9eaf4fa0 *man/gtkLabelSetAngle.Rd 7919a8c101c98171eb643b2be4ab0562 *man/gtkLabelSetAttributes.Rd b4afea36e0d11ac9fd0afb11974ac6cf *man/gtkLabelSetEllipsize.Rd cf59e5fddc339763982f1cfdbd3bf5f3 *man/gtkLabelSetJustify.Rd b121c8e4d9cbb1649b61ff8f11cba8fb *man/gtkLabelSetLabel.Rd 36e6cd4f832702a663d60a7103acf6cd *man/gtkLabelSetLineWrap.Rd bfacd61e75520176218688e0bd807abb *man/gtkLabelSetLineWrapMode.Rd 5094f5e55a546889a11d60f6ab7ee3da *man/gtkLabelSetMarkup.Rd 4c709500eaddd05a35bda11f296abdc9 *man/gtkLabelSetMarkupWithMnemonic.Rd 2aa2bcf590e1cea43ea893b41e42f6a5 *man/gtkLabelSetMaxWidthChars.Rd 90b330258d0e43e0e8d637bd6d83c981 *man/gtkLabelSetMnemonicWidget.Rd 5a5ea0e66d93bae37602b6b0a5143b27 *man/gtkLabelSetPattern.Rd 6bf9a00f8361699e1a194861964c4ea7 *man/gtkLabelSetSelectable.Rd 04b7f37dca76e79b69cd346a7d1dbc31 *man/gtkLabelSetSingleLineMode.Rd cf7faaa59151448ed6b924e585b84df9 *man/gtkLabelSetText.Rd b211ed66a74b2593408d25259114a4b6 *man/gtkLabelSetTextWithMnemonic.Rd abd3577a75155550d658670bf0f38794 *man/gtkLabelSetTrackVisitedLinks.Rd 9f3cab68c83cf8172fd1c18a8acc644f *man/gtkLabelSetUseMarkup.Rd 795b5541ce559cb079daa182015c7134 *man/gtkLabelSetUseUnderline.Rd f35b1bb84d4b719c5cd28c435c577652 *man/gtkLabelSetWidthChars.Rd ceabff6094d08bae15c0fffca057d82a *man/gtkLayoutFreeze.Rd 0a8faeb3853cf3f6e4486b74375adbbb *man/gtkLayoutGetBinWindow.Rd b85cb5176f6f973186ea9753ac3dc20f *man/gtkLayoutGetHadjustment.Rd 45ea0d7fd8042142be2186fb2e0a483c *man/gtkLayoutGetSize.Rd 5b8e3ce1dfd7d682defc179455530433 *man/gtkLayoutGetVadjustment.Rd 5cfa07d1902dcbb0926aa11d8cf9dcfd *man/gtkLayoutMove.Rd 2bf9ad08e41aefb262a99d9b8f877a8c *man/gtkLayoutNew.Rd d6368a7deacbfe8803449d2884b1cc76 *man/gtkLayoutPut.Rd 67817d6ca2ebcf91ed524a57ee30cd65 *man/gtkLayoutSetHadjustment.Rd a3b95a6ceae0192cac0f164f7a1612db *man/gtkLayoutSetSize.Rd 722786f6a27807299417d615eb39e3eb *man/gtkLayoutSetVadjustment.Rd a56f931f563b6d1b371d43d904c3ce7c *man/gtkLayoutThaw.Rd 0196ddff75f212aa2cf770a59207828a *man/gtkLinkButtonGetUri.Rd d81c095ccaf210a950c0dd687052a11d *man/gtkLinkButtonGetVisited.Rd 61291579cd7f99525be47522962abab5 *man/gtkLinkButtonNew.Rd 73f83058158fcdfd1da77cbae09b5a2a *man/gtkLinkButtonNewWithLabel.Rd 513a2abccad2291a828eea261a1760f9 *man/gtkLinkButtonSetUri.Rd 1d858c64a52fcf543d2d90a24addf8ee *man/gtkLinkButtonSetUriHook.Rd a98d84425eda17ab79ed6e352b8990a0 *man/gtkLinkButtonSetVisited.Rd 7d005e88c97c335bc721076e6f8fcbeb *man/gtkListAppendItems.Rd f633915fb8054b0e1b5a242cedb54da7 *man/gtkListChildPosition.Rd 0ad69804dc88252cb48bb65ab8af97db *man/gtkListClearItems.Rd 5da7e006d3c717df6ec800e71dae7f51 *man/gtkListEndDragSelection.Rd 6d3b713f5494aee577854cad7ddf90dd *man/gtkListEndSelection.Rd 04630a9212ca86e556b8e9d8a4e392f9 *man/gtkListExtendSelection.Rd 4df9276e512c2e0c958228bbcc9cd3de *man/gtkListInsertItems.Rd 5e63c16ebbe517b3d4fc061d9f8d41a6 *man/gtkListItemDeselect.Rd ed5711d3d77aead11fa6b1cfcfb60d65 *man/gtkListItemNew.Rd 2775f7d34748c25e36e6bb10d25e14d3 *man/gtkListItemNewWithLabel.Rd 36c80fbb37c22602830cfb9130204c0b *man/gtkListItemSelect.Rd b151f01788ff1aea345c7d2e05d7c896 *man/gtkListNew.Rd 92ed303c0894484364f91eee4fee9c69 *man/gtkListPrependItems.Rd 7229d844d508595ff086173d9c59f3e1 *man/gtkListRemoveItems.Rd f5980cae43eff4bf2e79382c630b8b39 *man/gtkListScrollHorizontal.Rd 286d7de0fdcca4853d4b698a7e8f3d56 *man/gtkListScrollVertical.Rd 517c0b00ab6c0860f091668b753042ba *man/gtkListSelectAll.Rd 5db860c36cf303ca9ea588572b8f1ec7 *man/gtkListSelectChild.Rd b2da5b967e316bee56d1447c3c62fd46 *man/gtkListSelectItem.Rd 3f3db937d70a63d1e5a66c1ee8631d22 *man/gtkListSetSelectionMode.Rd d444f41ee582c1bd9b115824e6228738 *man/gtkListStartSelection.Rd 2789e956a1f2f8e3745011329fac5a55 *man/gtkListStoreAppend.Rd 6752b488ba5472f17189599ec0ec2b2d *man/gtkListStoreClear.Rd 2a8ffc90e9ffb8cd041566def1c74814 *man/gtkListStoreInsert.Rd b4fec5d097660750fca12c6117ff2f52 *man/gtkListStoreInsertAfter.Rd 11201c41face6f4225386ca8141b4a4b *man/gtkListStoreInsertBefore.Rd 78af4dda2a0ba00d880ac1814bfc01f7 *man/gtkListStoreInsertWithValues.Rd cc685d5908f48e22d9bcf4c0b928523f *man/gtkListStoreInsertWithValuesv.Rd 0e0322a8444695b0ec227ab133529df6 *man/gtkListStoreIterIsValid.Rd 9938d96a72732b3e4469f20235f35a33 *man/gtkListStoreMoveAfter.Rd 442833d7a48b7ce27c21e68c7bcd80f2 *man/gtkListStoreMoveBefore.Rd f6f88f6ec1aacbff2239ce8808e879ed *man/gtkListStoreNew.Rd 538c4bed1b336a07999a087c52172450 *man/gtkListStoreNewv.Rd 905ed98355a6d4dc8cc34327bf9caede *man/gtkListStorePrepend.Rd 8f11867e286823ebcb2eedc14cecb0dd *man/gtkListStoreRemove.Rd 33b9b6b269d9900fdc160b744964e909 *man/gtkListStoreReorder.Rd aa998c1a829016f25f60a734d64e4f7c *man/gtkListStoreSet.Rd f408a6ef631e444c8ece3eeed4418e87 *man/gtkListStoreSetColumnTypes.Rd 679f4c201e309f3225389d0e043d6e29 *man/gtkListStoreSetValue.Rd a652660f746a001f5ce9f9fc957650e4 *man/gtkListStoreSetValuesv.Rd 400a37a40f761d5a773c579b22284790 *man/gtkListStoreSwap.Rd b7ed78a8d889b609024522c276a7dbc9 *man/gtkListToggleAddMode.Rd cd35370078ccd4f140a2dd63eea21316 *man/gtkListToggleFocusRow.Rd f576c1bf0af6bc0df57d677844677cb1 *man/gtkListToggleRow.Rd f95c84ccff15da72d6c07915f2b44b65 *man/gtkListUndoSelection.Rd 8d759d00829b23c20c9ea6c0b0e9863b *man/gtkListUnselectAll.Rd c9060942e74ad02a002b82a4840f1b54 *man/gtkListUnselectChild.Rd d059cfb13ebc191acc28b271f231be9f *man/gtkListUnselectItem.Rd 0339734e8001e8ab712e3fd22ba8a746 *man/gtkMain.Rd ed29b87fc4c228155d174a6074f1101d *man/gtkMainDoEvent.Rd 065f5403ec2b4aa9ef0d569204803c70 *man/gtkMainIteration.Rd e14f0579a7871c85a345533d2f4d5ce8 *man/gtkMainIterationDo.Rd 74a65b56692c9ff2ed6a9518e3a784f2 *man/gtkMainLevel.Rd 480ee48b474477292339b4223be363e0 *man/gtkMainQuit.Rd dc63663e6e49cea51d3af77edb422fef *man/gtkMenuAttach.Rd 3aed316106e3baf71ba6a82badb97e1d *man/gtkMenuAttachToWidget.Rd e3c9f7204ccae3c56f9d67f9dbafc586 *man/gtkMenuBarGetChildPackDirection.Rd f24b7436a173680349419eb0b9844d3c *man/gtkMenuBarGetPackDirection.Rd 369a1ba32354544e23e342741755f923 *man/gtkMenuBarNew.Rd b160fe09831955ac9083f80e01e073a6 *man/gtkMenuBarSetChildPackDirection.Rd c5b9bac12046126c77cb0a8ef4d65c19 *man/gtkMenuBarSetPackDirection.Rd df07c4f38a711053894e13899c364186 *man/gtkMenuDetach.Rd 806760a893e3c4e456e6e1eabaf3eac6 *man/gtkMenuGetAccelGroup.Rd 9c625676eb51f826025c6741f3b9c174 *man/gtkMenuGetAccelPath.Rd eab7a3bca989ed252dd96a6e8e15b820 *man/gtkMenuGetActive.Rd 5a06997e656e8d82f419fb6683907f0f *man/gtkMenuGetAttachWidget.Rd a0914d574d595f847a9eeb45fd347f45 *man/gtkMenuGetForAttachWidget.Rd 582e07704d3cee90bb99c969e28b065d *man/gtkMenuGetMonitor.Rd fb9d5643a5e08aed9b1b864a6d0ce00a *man/gtkMenuGetReserveToggleSize.Rd 8b9c613893369a5b931bd4525f202480 *man/gtkMenuGetTearoffState.Rd 8357a5f4f2816ef5f13df35aee356e33 *man/gtkMenuGetTitle.Rd 56aa0d8312afe28c255f035ccf24ef88 *man/gtkMenuItemActivate.Rd 08673b0fb98e92ccc64c799ec04ce522 *man/gtkMenuItemDeselect.Rd f184d5819abc3ad5ce10e321a8730549 *man/gtkMenuItemGetAccelPath.Rd 8f1ceedcffd109d090c8572a23547bcd *man/gtkMenuItemGetLabel.Rd 94ce90a85ba6e0a35f4e66c455711153 *man/gtkMenuItemGetRightJustified.Rd 9c3d8533cb87fd83f889c1ad7c55c224 *man/gtkMenuItemGetSubmenu.Rd 7ceed9942d5475edaf7547a6157d6043 *man/gtkMenuItemGetUseUnderline.Rd 03ed0cab079810181344b15b7ea9536d *man/gtkMenuItemNew.Rd 8ecb85f5c193d98b9f71fec25484d0fa *man/gtkMenuItemNewWithLabel.Rd da87a4cca9c65e84ded544da1a4b72cf *man/gtkMenuItemNewWithMnemonic.Rd 37fe7b51d3fd783d2722cf3614343e4a *man/gtkMenuItemRemoveSubmenu.Rd 436b46d0020da1b74e0ce82ee6727165 *man/gtkMenuItemSelect.Rd c5383c815b073da45804b2b4df6a66cf *man/gtkMenuItemSetAccelPath.Rd 37d3cadf92d4a0774d6a496fa291b9cf *man/gtkMenuItemSetLabel.Rd f1e821e71bbadb92b97e622c4b636feb *man/gtkMenuItemSetRightJustified.Rd b77bbf1244a87aa1b47a72708b3c1e8b *man/gtkMenuItemSetSubmenu.Rd 5c36900053e0a216274a931002b52844 *man/gtkMenuItemSetUseUnderline.Rd 0c0c80c8cd8747c1071ae56ada7196e1 *man/gtkMenuItemToggleSizeAllocate.Rd e09b677b57a7e5c5562687b4d242f10c *man/gtkMenuItemToggleSizeRequest.Rd 3007cc1157c708872032d6a1ff33f094 *man/gtkMenuNew.Rd 396ae40b9cdaf685bc70240800fcefae *man/gtkMenuPopdown.Rd f97e0d438f33747d0afa24a484a08859 *man/gtkMenuPopup.Rd 986d707cb48a1c1f78ee7735bc29a88a *man/gtkMenuReorderChild.Rd e980c2cc7d6d2beac79a1cb575963e4a *man/gtkMenuReposition.Rd 2c3eb6c1133d888bd3b03af75b7a4f99 *man/gtkMenuSetAccelGroup.Rd 727007c9e1107364d594d5c992761c67 *man/gtkMenuSetAccelPath.Rd 7853f4dd238c54b511701e716f99c84e *man/gtkMenuSetActive.Rd 29a582c8236d47e9c80a015998aeed7f *man/gtkMenuSetMonitor.Rd 56c063d6b49d6ab5b37e7de890548a43 *man/gtkMenuSetReserveToggleSize.Rd f0157333fb1fdbb50b113b5bb584418b *man/gtkMenuSetScreen.Rd 8cd4c664ad723d012a8a283deff48adb *man/gtkMenuSetTearoffState.Rd 9c50bcdaa7e6a393a3b2ff09647a726f *man/gtkMenuSetTitle.Rd b1a9634349f5dbddc42f163aec1970d0 *man/gtkMenuShellActivateItem.Rd 03cd24bd1a297dfd192375744cc8bc40 *man/gtkMenuShellAppend.Rd be1eba38a0d031261a4d8c040ec1e2e2 *man/gtkMenuShellCancel.Rd 1f891d74e57612923f86e8fc82271457 *man/gtkMenuShellDeactivate.Rd 4800396129305abe4e9efbbcc805c9ab *man/gtkMenuShellDeselect.Rd d6626e24c938aec12ff50ea636f68d2a *man/gtkMenuShellGetTakeFocus.Rd e89134a964bfd7bcba19afbabdc5a2c4 *man/gtkMenuShellInsert.Rd 3357629bc3676a810fd897919874f9c2 *man/gtkMenuShellPrepend.Rd 0be751cb5c8bb938a28079fa30c5a85c *man/gtkMenuShellSelectFirst.Rd d5210079ea70e19d42c623b818dcd80b *man/gtkMenuShellSelectItem.Rd 372c51289f191295868e68ed05b58fd4 *man/gtkMenuShellSetTakeFocus.Rd 07022b203069d1a5a366eef87559ee0f *man/gtkMenuToolButtonGetMenu.Rd 99000c309da67f583665a9ff28fe5940 *man/gtkMenuToolButtonNew.Rd 4ccaf74db11efe7058179687c7597c97 *man/gtkMenuToolButtonNewFromStock.Rd b57fcccb4cb132571721affeb84a077e *man/gtkMenuToolButtonSetArrowTooltip.Rd b551d4a9e40004ebbc47c85e5c869afb *man/gtkMenuToolButtonSetArrowTooltipMarkup.Rd e31978179ec927f9e454e93689b08686 *man/gtkMenuToolButtonSetArrowTooltipText.Rd 2022277894a56443ffd962c75b4f8c75 *man/gtkMenuToolButtonSetMenu.Rd 9b9d5edfe550a985b3c0483cf7b02e37 *man/gtkMessageDialogFormatSecondaryMarkup.Rd 5c70e2c8714bff505a2710d4af906ce1 *man/gtkMessageDialogFormatSecondaryText.Rd 6e1e744b65b8187fcd38ea1ffea46495 *man/gtkMessageDialogGetImage.Rd cef5666a7a76c7edd0b6a098fa41bbdf *man/gtkMessageDialogNew.Rd e5ba2214c3214f11ec40744430ee696e *man/gtkMessageDialogNewWithMarkup.Rd a4f3e109583f0c2e383e0f283d7feb32 *man/gtkMessageDialogSetImage.Rd 8b206d367f28714f0ba9037ca9f9148e *man/gtkMessageDialogSetMarkup.Rd e4cd358391c7bd0f2b9f5f0269b330d5 *man/gtkMiscGetAlignment.Rd e5868278a8eed4903caf345e77b83e75 *man/gtkMiscGetPadding.Rd 7c9d6bfdee8f44d0315c84001f6885cb *man/gtkMiscSetAlignment.Rd 9d7e26f53e38479b4a29c7feefec62c7 *man/gtkMiscSetPadding.Rd f84b7700425c83b6bb8b55940521d527 *man/gtkMountOperationGetParent.Rd 71ad29dfb4d57bd2061c770151679670 *man/gtkMountOperationGetScreen.Rd 1baaf7422adfd1bd4a635a5f13bc0b79 *man/gtkMountOperationIsShowing.Rd 2c9dde7d9f381eed42361772646c4a0a *man/gtkMountOperationNew.Rd b15c5cc987e97266e2497ef1176b56c5 *man/gtkMountOperationSetParent.Rd ce9eb0639f4b81d18e241011e596c730 *man/gtkMountOperationSetScreen.Rd b535c4027107b6cc6b3c84a0324b583b *man/gtkNotebookAppendPage.Rd 2a4e8e13fce9cedfdeb62d114f01ff11 *man/gtkNotebookAppendPageMenu.Rd 4386b73af876a5dc6a5403ad0a6986b9 *man/gtkNotebookGetActionWidget.Rd e8710207b52a337622d0c2609fe62727 *man/gtkNotebookGetCurrentPage.Rd eca59f759b96332136d8401c5177991d *man/gtkNotebookGetGroup.Rd da9b3f77428a2d99b6811d4339bf8680 *man/gtkNotebookGetGroupId.Rd 0795420619db450c344ebf991ec6f82d *man/gtkNotebookGetMenuLabel.Rd deea497be25296b1d59127e7a5dd6a85 *man/gtkNotebookGetMenuLabelText.Rd 49e80dbd28ceb0c887608a9e63dcaa7e *man/gtkNotebookGetNPages.Rd f16472adc1a0f643b843ab513c3ebabc *man/gtkNotebookGetNthPage.Rd a8fffdfe3f93d3bd5214ab6194edc9cb *man/gtkNotebookGetScrollable.Rd c162d66bda293595d03b03352a7b9a6f *man/gtkNotebookGetShowBorder.Rd a5d83dbd15f084c63cbcb8bcd3b8f0ea *man/gtkNotebookGetShowTabs.Rd 434e7c6f04a33ddab232a5f1eb0774a1 *man/gtkNotebookGetTabDetachable.Rd 4043e288f3b64a350eea0e33f1cadf40 *man/gtkNotebookGetTabLabel.Rd 05383d19c6e12891d894e88e74db8d7f *man/gtkNotebookGetTabLabelText.Rd 5a78bcfc7ba1c14b0db9538ee2eea8d6 *man/gtkNotebookGetTabPos.Rd 50c7ff46fac533fd8624491f668c7ce9 *man/gtkNotebookGetTabReorderable.Rd 430ce36ed0db36e09f4935b491be3b66 *man/gtkNotebookInsertPage.Rd 6c89b43e43587ef09ce17480ca0d29b4 *man/gtkNotebookInsertPageMenu.Rd 987b6af3f147b3a86bada26d78b0b406 *man/gtkNotebookNew.Rd 969aeccf61c487b673e6143ca5c255f5 *man/gtkNotebookNextPage.Rd 7a4afa7591430023ea5361cc28cf5544 *man/gtkNotebookPageNum.Rd 1c7fa1e262fa143427620efe9fc7b96f *man/gtkNotebookPopupDisable.Rd 0f57b95ea4436833e34cb8b18fb601cb *man/gtkNotebookPopupEnable.Rd 26c5678d012b7a7106da2b335f8e7d9b *man/gtkNotebookPrependPage.Rd 13a41df5fb3eacf529af7d7b56e2a15c *man/gtkNotebookPrependPageMenu.Rd ea8de94a9c758da541daf865ee67277f *man/gtkNotebookPrevPage.Rd f09fb3093e93acdda388edc830cdddbb *man/gtkNotebookQueryTabLabelPacking.Rd 39d2565bddbb470308750c5e460c8f97 *man/gtkNotebookRemovePage.Rd f8448edf9c3248a75b7583382037afcb *man/gtkNotebookReorderChild.Rd 0aa5a57aeb7f58fe88b589b5ef8354b3 *man/gtkNotebookSetActionWidget.Rd 9ed7ae07f408dee87c98751172741ff6 *man/gtkNotebookSetCurrentPage.Rd 523b9ab706d61b58868be04e08b85e61 *man/gtkNotebookSetGroup.Rd 4d54d64e6d0dcd197aa6d8261df006c5 *man/gtkNotebookSetGroupId.Rd 035307cc5443f2661af9c3edc35ac08d *man/gtkNotebookSetHomogeneousTabs.Rd d0bd1366fee88def3c4a49d2dd069311 *man/gtkNotebookSetMenuLabel.Rd 082677816110f1877ee9663b9e792dcf *man/gtkNotebookSetMenuLabelText.Rd db68b9a3f6de735957c6cb713a665df7 *man/gtkNotebookSetScrollable.Rd 0a388738a81334dc380ee580de8bddfd *man/gtkNotebookSetShowBorder.Rd c78e529323e1cc1ae69d8c7c53811058 *man/gtkNotebookSetShowTabs.Rd d2bb0862ce6cbca2b9677d46b66e6792 *man/gtkNotebookSetTabBorder.Rd a1b5bb6646a0d6937439721008bedaf6 *man/gtkNotebookSetTabDetachable.Rd e75a56eeb46bc8fe297c6a74d41c3fc7 *man/gtkNotebookSetTabHborder.Rd 4bf0805d48512f822b739cc642a4f60e *man/gtkNotebookSetTabLabel.Rd 2c2db2155c7b3073ae471b896f07daf5 *man/gtkNotebookSetTabLabelPacking.Rd f4413a037b8bc2cee6cb3ed60b3e60a8 *man/gtkNotebookSetTabLabelText.Rd 33f5a8efa9ca3814c8586422c10a26ed *man/gtkNotebookSetTabPos.Rd 9d3d738bde5f716dbd23f82d32e42e83 *man/gtkNotebookSetTabReorderable.Rd 2f3d1e94428b6a37563fa29816b61f60 *man/gtkNotebookSetTabVborder.Rd c37afc1d82921f357249020296314748 *man/gtkNotebookSetWindowCreationHook.Rd 7da80754c39cf1d373405684f741a1fa *man/gtkObjectSignalEmit.Rd 572d6e1d14f52dfedbf059ed3695dd2e *man/gtkOffscreenWindowGetPixbuf.Rd f3f86d2151e1d359dc1f7bb4a2714723 *man/gtkOffscreenWindowGetPixmap.Rd 351eeb9f915a6655217dcdd1cee498f7 *man/gtkOffscreenWindowNew.Rd 1ea3541b73e77d82b569eaa52825801d *man/gtkOldEditableChanged.Rd 63c33e21fb6951daf0c002fd9d7dee15 *man/gtkOldEditableClaimSelection.Rd bf43f15ff971ed0c0f4764e82fb4a8d8 *man/gtkOptionMenuGetHistory.Rd 92dd53095db97894323dd47a2691fe61 *man/gtkOptionMenuGetMenu.Rd 2d8b92cf9bfc6ce8dc192561788bb22a *man/gtkOptionMenuNew.Rd 0e853b3f148ce9d51d57a98b57ac2f0d *man/gtkOptionMenuRemoveMenu.Rd aeec2973faac9ffa3325d8601cf88f86 *man/gtkOptionMenuSetHistory.Rd fe59b0c3222b18f8a7d5028b50fae764 *man/gtkOptionMenuSetMenu.Rd cdd6fb0ec82257b4a101dc543a147822 *man/gtkOrientableGetOrientation.Rd 5da42bc260363a039be24232cc6aa831 *man/gtkOrientableSetOrientation.Rd 2cbec30591d1bf2f709818ae2aea92d2 *man/gtkPageSetupCopy.Rd af09dee496b434b117f14293775b0c68 *man/gtkPageSetupGetBottomMargin.Rd 1cd6da551252f0c8bf5ff48ebb5b0631 *man/gtkPageSetupGetLeftMargin.Rd 78afb628ee8033f7397afbc3859177fa *man/gtkPageSetupGetOrientation.Rd 664386a1f24c271410ba8f2da6b74be8 *man/gtkPageSetupGetPageHeight.Rd bc587aa1e3285d1050eef53f7045d8cd *man/gtkPageSetupGetPageWidth.Rd f0e3ffe611a6219c777d5028d540aeab *man/gtkPageSetupGetPaperHeight.Rd 5351122c22c6556b7e512f1cc4ba9d06 *man/gtkPageSetupGetPaperSize.Rd a2a7582d537e2da5ee9064e472ce0634 *man/gtkPageSetupGetPaperWidth.Rd ad20c6a614b9db9f282d522bae60ee90 *man/gtkPageSetupGetRightMargin.Rd d573c6e88e57a923c51034d34aff0a6e *man/gtkPageSetupGetTopMargin.Rd 8bf48e81bae10c910b0dbe440bec5eda *man/gtkPageSetupLoadFile.Rd 61c80d6869021767275b3979b838bb2b *man/gtkPageSetupLoadKeyFile.Rd 562e8c2d5bfa02fbaebeaaa88e2640ae *man/gtkPageSetupNew.Rd 9b661b7bc499eaf35e2450062cf52c91 *man/gtkPageSetupNewFromFile.Rd 65fb837fd9786b650c36d5a158f51c5d *man/gtkPageSetupNewFromKeyFile.Rd 5232f5f6945d247d158d1d2351218ac3 *man/gtkPageSetupSetBottomMargin.Rd 9a1379cdf10669e46b2dec4f45017892 *man/gtkPageSetupSetLeftMargin.Rd 598ab2ee241e8900a581cc4cce1d9280 *man/gtkPageSetupSetOrientation.Rd 1c3dca59cf12a15151c64b61b7252194 *man/gtkPageSetupSetPaperSize.Rd ce585bba4a9b7a080fc07c2e8d85ecb7 *man/gtkPageSetupSetPaperSizeAndDefaultMargins.Rd 34ffbd5120da15f3a64f3bf5538f6b5f *man/gtkPageSetupSetRightMargin.Rd 06d63159f3e9cea945b35072204bf3df *man/gtkPageSetupSetTopMargin.Rd c7b6bb86d7cabdbd5eb39537d252a772 *man/gtkPageSetupToFile.Rd 9336a67999d3ab599c701817addcc9f7 *man/gtkPageSetupToKeyFile.Rd 61b5bd518f2d7b24aadf111ca54ced02 *man/gtkPaintArrow.Rd 235e9a3d9f226dcd2270c930ce611f33 *man/gtkPaintBox.Rd 6548ffe7a15efd79318d883ab83172a4 *man/gtkPaintBoxGap.Rd ca584f318f55227aacebc62f5e96f38b *man/gtkPaintCheck.Rd a22ca3b108b2c3a8eda4d7e864cc5184 *man/gtkPaintDiamond.Rd 16072a683fe8c00e1ce81f42114084d6 *man/gtkPaintExpander.Rd 74ebd0ff9f3fd788c6d758a21d081b89 *man/gtkPaintExtension.Rd 7f79dd233e1d041ee6a04ce2bd07f83c *man/gtkPaintFlatBox.Rd f798d77aa4de66de424cf66ea5645c24 *man/gtkPaintFocus.Rd 74c3defc95357a14e1dfcf07b84039e7 *man/gtkPaintHandle.Rd 6d1dd61706137423af597917cac39056 *man/gtkPaintHline.Rd 10bf5981dc4f66812a6345802ae19e05 *man/gtkPaintLayout.Rd 75896db013049ccd3886c463eff48634 *man/gtkPaintOption.Rd e7f4a0760075b87bf9cebf8367e83d11 *man/gtkPaintPolygon.Rd 95f9a3bba0eecd27f64caac507f3bdf7 *man/gtkPaintResizeGrip.Rd 5eab6080d196415902c3709f39c786cd *man/gtkPaintShadow.Rd bc59db3ed659285d916ef80247551abe *man/gtkPaintShadowGap.Rd 13bebbf9f5088832896ab4ec5c00a0b8 *man/gtkPaintSlider.Rd 5018d009c4d962d1b695ab28e8683843 *man/gtkPaintSpinner.Rd 38d9dac7e29013bc9dfac37109f9cfbc *man/gtkPaintString.Rd 0e13c742a405c9b24c2e304a1159004a *man/gtkPaintTab.Rd f19092f58fbcef847302262a2f81604a *man/gtkPaintVline.Rd ac7d28d614598c853178e688cd79efb7 *man/gtkPanedAdd1.Rd 522c7629262b7103e63d4dbe2b9d533a *man/gtkPanedAdd2.Rd 27241563022ad748ff2407ed8bc59cd9 *man/gtkPanedGetChild1.Rd ef3fa1d6ec4b7c032f4a818a83fd2a62 *man/gtkPanedGetChild2.Rd 529ad57e45deb06a449dd08d7c19120f *man/gtkPanedGetHandleWindow.Rd 53f812752f9f204a743ea1c47ebc6d64 *man/gtkPanedGetPosition.Rd 77888aabff3975e5790c560a02186e23 *man/gtkPanedPack1.Rd f4d05b76c86df85296024fb5c81ff640 *man/gtkPanedPack2.Rd 690b3c0919e2b9a5db9859abf389ecaa *man/gtkPanedSetPosition.Rd 3895a1ae7eefbda080d69fff4fa0bed2 *man/gtkPaperSizeCopy.Rd 25a6b01f9cb98798554ee4a4108077ff *man/gtkPaperSizeGetDefault.Rd b7c1443dccdc8a109697f58fb361bc41 *man/gtkPaperSizeGetDefaultBottomMargin.Rd 13dde7ab8b8799ed7f49adc11f07a2b4 *man/gtkPaperSizeGetDefaultLeftMargin.Rd 616395c3a25e56ff3ea78ae2ee407248 *man/gtkPaperSizeGetDefaultRightMargin.Rd e3622e3c8abc3c1fe8f8885ee35da52a *man/gtkPaperSizeGetDefaultTopMargin.Rd 9736bbb5269e0403289ad5bbcff354c6 *man/gtkPaperSizeGetDisplayName.Rd 5a1645157cbe62827c71df6aec093cd4 *man/gtkPaperSizeGetHeight.Rd df702692c486b376f30cb34ce6c66e9e *man/gtkPaperSizeGetName.Rd 814cf8eb64b2ecaf400ac9cd082e26bc *man/gtkPaperSizeGetPaperSizes.Rd 8e2ce0ae324c99bdbb739821a706d6fc *man/gtkPaperSizeGetPpdName.Rd 77c952fd13fc828bf8d7b85699eb93d2 *man/gtkPaperSizeGetWidth.Rd 13e9836c3418621c0dd96ec1ab26393a *man/gtkPaperSizeIsCustom.Rd e8ec6c62e18c77832dbc279360467aec *man/gtkPaperSizeIsEqual.Rd f46b51f254ee61943331e1a219852b21 *man/gtkPaperSizeNew.Rd 7af8e44c6dc0351f4dae384cead090c2 *man/gtkPaperSizeNewCustom.Rd 2f683b030d3d522f672264c0144c84c9 *man/gtkPaperSizeNewFromKeyFile.Rd e78e6f59af4408f1b6ae7f468fc1b7c8 *man/gtkPaperSizeNewFromPpd.Rd 88fc845722acc3ee2a9f299336565a61 *man/gtkPaperSizeSetSize.Rd 403cadfad7fe32a82155ae4c4fec7ed8 *man/gtkPaperSizeToKeyFile.Rd d4ae45164a4b795e5c73447c406fdfa6 *man/gtkPixmapGet.Rd 49cce42106eb859c96cafffa51ec8aea *man/gtkPixmapNew.Rd 4914f0b2b8963f495b2eeb4ea6d6a596 *man/gtkPixmapSet.Rd 80b704840f485b851cb3cbf09039d112 *man/gtkPixmapSetBuildInsensitive.Rd a5004aaeca753de59fd0689f7b27efd2 *man/gtkPlugConstruct.Rd aa8d18e739542fc717941cd13e2c120f *man/gtkPlugConstructForDisplay.Rd 8e572fce1f6923009f0d2cf9132a0253 *man/gtkPlugGetEmbedded.Rd b1ff505b18e69ed478b793145219fc63 *man/gtkPlugGetId.Rd 1c39a5eb96a1260ed591ad7f5b28f018 *man/gtkPlugGetSocketWindow.Rd 7c763e32f8c9796ffe3070b4f5ac2cfd *man/gtkPlugNew.Rd 089b886844a3ecc02d97e7f1470494e1 *man/gtkPlugNewForDisplay.Rd 7c7a21df3a8da4626ec68d6a0cc75284 *man/gtkPreviewDrawRow.Rd e6f2f446688d1cfd8db8e2ff8048a2c3 *man/gtkPreviewGetCmap.Rd c139f8195b30939cb2ab6b57f75b6438 *man/gtkPreviewGetInfo.Rd d09ff9dec53663be9fd9a412f4c02a06 *man/gtkPreviewGetVisual.Rd 5e28d9a931e8a3eddb22019f60af6b54 *man/gtkPreviewNew.Rd f9ee1cdfc03eba2417f5f2527a44bf6a *man/gtkPreviewPut.Rd 51b1611e586afb25d6f3bfb87742c552 *man/gtkPreviewReset.Rd 3eb59c6bc5792df5910cd38d01f03f19 *man/gtkPreviewSetColorCube.Rd bbdfafbdc91b719cc7bbe93751e402f0 *man/gtkPreviewSetDither.Rd 23b81ab11271c8090f9eaccfa5077e6b *man/gtkPreviewSetExpand.Rd 64a1ec3441e1c1b3fda935910e7a755f *man/gtkPreviewSetGamma.Rd 1e8ffa29644c0dde9fc25fecaf09e820 *man/gtkPreviewSetInstallCmap.Rd 54fb7282f8657e10d234f7595197f687 *man/gtkPreviewSetReserved.Rd c7ca1c1d9c6405997ce624811c21f96c *man/gtkPreviewSize.Rd 7f8847048960c50442942d016999a701 *man/gtkPreviewUninit.Rd 845fe0c97a402a8162d54261a90e61dd *man/gtkPrintContextCreatePangoContext.Rd ebf5e10436c0637d2ec335d490283ce4 *man/gtkPrintContextCreatePangoLayout.Rd b8f54a2065aef54bd76c407ac7494e56 *man/gtkPrintContextGetCairoContext.Rd 9ab6d131bbc810a17f41c0d9857ba9b9 *man/gtkPrintContextGetDpiX.Rd 226806b302f48a7eacf540271aefba19 *man/gtkPrintContextGetDpiY.Rd 2833baa7efbc4d156aaf18bdb24822fb *man/gtkPrintContextGetHardMargins.Rd 5fac6e23232854b3f8df07de07d9dd7b *man/gtkPrintContextGetHeight.Rd bebdc575ea071caa93e4d4d7d169e944 *man/gtkPrintContextGetPageSetup.Rd 4eb5016819fc89c65c5b5b0f14ff75a5 *man/gtkPrintContextGetPangoFontmap.Rd de96dacd8884e374fee2a77503cc810a *man/gtkPrintContextGetWidth.Rd ec9bba186d99accb171a0546e86a75ec *man/gtkPrintContextSetCairoContext.Rd 7601898cf038a7a9310e68966971a17f *man/gtkPrintOperationCancel.Rd efb30ae389a83b45ff9e41afd02a0afa *man/gtkPrintOperationDrawPageFinish.Rd bfa30f811b5d797a21e5ea6ebec12154 *man/gtkPrintOperationGetDefaultPageSetup.Rd 6db22093332088371bcd7cefa06b5f3a *man/gtkPrintOperationGetEmbedPageSetup.Rd 21b71b03eca447601ca6ccbc537a97c2 *man/gtkPrintOperationGetError.Rd 4f5b2514c50dab47010e708bc509fb0f *man/gtkPrintOperationGetHasSelection.Rd 3729317eaade2fea91fe4fc6132438c8 *man/gtkPrintOperationGetNPagesToPrint.Rd 59967c2a32d1e2c49ff0681b20a17e0a *man/gtkPrintOperationGetPrintSettings.Rd ab251cebfd5c860d57be6b74e9eca806 *man/gtkPrintOperationGetStatus.Rd 621995e2a1818fecad4b8764ddd1ed6f *man/gtkPrintOperationGetStatusString.Rd b239c468aa2f4ad4c14f3c3929b666ef *man/gtkPrintOperationGetSupportSelection.Rd a8bf7e6a44479b2f157889948e3d70fd *man/gtkPrintOperationIsFinished.Rd a438039760de0d2c737f07ebf4b3f77f *man/gtkPrintOperationNew.Rd 2973677802e56637bc59de928fd5c20b *man/gtkPrintOperationPreviewEndPreview.Rd d850fffcd8c8cc9ef5f1e25fff3b75b2 *man/gtkPrintOperationPreviewIsSelected.Rd c549e44c0ce4243d2a07fba670e6fc5a *man/gtkPrintOperationPreviewRenderPage.Rd d4ee610f650c9df121863e2d7e6ff1b5 *man/gtkPrintOperationRun.Rd 35d14469d52bb1ff7dd33398737b7132 *man/gtkPrintOperationSetAllowAsync.Rd ca02247944af62f7c4a54203ca0d8bd6 *man/gtkPrintOperationSetCurrentPage.Rd b9b49449a3f7410a9b78f253f1ee2f5b *man/gtkPrintOperationSetCustomTabLabel.Rd 142b68bfcc84e8529e336410ce8ffe95 *man/gtkPrintOperationSetDefaultPageSetup.Rd 7c90b15e71ee43739712ab186ceaf6b4 *man/gtkPrintOperationSetDeferDrawing.Rd 4439cf5c34b48b0880e63a29256ba3e2 *man/gtkPrintOperationSetEmbedPageSetup.Rd 6005480ef6436f4018483f91035cc175 *man/gtkPrintOperationSetExportFilename.Rd 52de0898d1a2f44aff08e193ec7a2d85 *man/gtkPrintOperationSetHasSelection.Rd b2dd5701bbfc353431cab33a1f1e9b7a *man/gtkPrintOperationSetJobName.Rd aaa1d427d0adab1149af813556cde584 *man/gtkPrintOperationSetNPages.Rd 1af485d27bccc2c8a515e3c7332cb98f *man/gtkPrintOperationSetPrintSettings.Rd 2cc3bb8007bf7f4d211cb71eebf3176a *man/gtkPrintOperationSetShowProgress.Rd 3a24c9be7c30abc40f0042c5d99a3bec *man/gtkPrintOperationSetSupportSelection.Rd 06389e49d57b20f36434969b1d47f4f6 *man/gtkPrintOperationSetTrackPrintStatus.Rd d8348f8ac4d7cf63f866f368a989c8c7 *man/gtkPrintOperationSetUnit.Rd 28f545b021d901dc7536dd8d59dcd3ba *man/gtkPrintOperationSetUseFullPage.Rd 2279a3a9654ab06e5d86c929ff61b98e *man/gtkPrintRunPageSetupDialog.Rd b5332e12e13b139b7d34e6649455ad28 *man/gtkPrintRunPageSetupDialogAsync.Rd 26c1c0d570a951d48fc3057d79a27135 *man/gtkPrintSettingsCopy.Rd a5e78fc974c07a0935bc287ec323a2ad *man/gtkPrintSettingsForeach.Rd cf3131a32d322ebcec3eaa25a74f5911 *man/gtkPrintSettingsGet.Rd 7a968d327c470597316ad11cbd13e75a *man/gtkPrintSettingsGetBool.Rd 37553141724094013d7fc20e0ed7b89d *man/gtkPrintSettingsGetCollate.Rd 090edb79f64979534b18de519b9e936a *man/gtkPrintSettingsGetDefaultSource.Rd 885625c70289164fd529808a479dbf90 *man/gtkPrintSettingsGetDither.Rd adf9e4b6bf3e4427bf0350a8e8245abf *man/gtkPrintSettingsGetDouble.Rd a778c4ed81c1efcd59f7fee4ac24c9b6 *man/gtkPrintSettingsGetDoubleWithDefault.Rd eafc89e84f48c0c349ca9f7d1c60d57e *man/gtkPrintSettingsGetDuplex.Rd 78d8ac4b5a0ef315c4c2a9cc69a770ed *man/gtkPrintSettingsGetFinishings.Rd dab5c6d260237ead3a160e7fa61a176f *man/gtkPrintSettingsGetInt.Rd 23a09e2e24d0fe846f5cda8c5e9d53c4 *man/gtkPrintSettingsGetIntWithDefault.Rd 63564c9eb9bf001e5577de826c2bd594 *man/gtkPrintSettingsGetLength.Rd 950284751f5865e8e570873d09e86c55 *man/gtkPrintSettingsGetMediaType.Rd 1ad6c470c233710e7d914aef06caf60f *man/gtkPrintSettingsGetNCopies.Rd 7d686603926edd24e803d26edaaf8f5d *man/gtkPrintSettingsGetNumberUp.Rd f988e9605a01c19807c34699364f2129 *man/gtkPrintSettingsGetNumberUpLayout.Rd 3e81985bd8b0e2affc4719b53fe62bb2 *man/gtkPrintSettingsGetOrientation.Rd c28b1b3a05f9203414f44f8e6436cf60 *man/gtkPrintSettingsGetOutputBin.Rd f3d8767019807b32aec7b586443afadc *man/gtkPrintSettingsGetPageRanges.Rd 901426cb3250dd7305b29fb214b0a066 *man/gtkPrintSettingsGetPageSet.Rd 449dc5cf3cc03aa0b17cc3a2dfb09f18 *man/gtkPrintSettingsGetPaperHeight.Rd 85735a2b9953578608530234bdd05161 *man/gtkPrintSettingsGetPaperSize.Rd 5fa5dba406ea57d83798f98df8be3720 *man/gtkPrintSettingsGetPaperWidth.Rd 3814afaa6de0c66acf73ddc609e0e813 *man/gtkPrintSettingsGetPrintPages.Rd c07daff31bab50fd0bd3dfc718d29d13 *man/gtkPrintSettingsGetPrinter.Rd 23f10a26788ccd9d130eac018c3ce91c *man/gtkPrintSettingsGetPrinterLpi.Rd 8f2e5c7d5e5f1e0a0f100007a78a4dd8 *man/gtkPrintSettingsGetQuality.Rd 5667380ff2def35d59c8dfd64ed8e2b1 *man/gtkPrintSettingsGetResolution.Rd 36dccb0f9ee3ea363c46b4f56002bab3 *man/gtkPrintSettingsGetResolutionX.Rd 0e00c2f73263ebf9f27e000b245fa82c *man/gtkPrintSettingsGetResolutionY.Rd b6369c1718131a06bcb6f4f67c5c11b6 *man/gtkPrintSettingsGetReverse.Rd bba6d8673946919a5c44d920023be917 *man/gtkPrintSettingsGetScale.Rd 9458f7eb74393dd8eedf70abea28cfec *man/gtkPrintSettingsGetUseColor.Rd 8f5872cedf7082cd9e1a6112e9703436 *man/gtkPrintSettingsHasKey.Rd b313bc2be533151332811ef95952239c *man/gtkPrintSettingsLoadFile.Rd 3332174552f7ebf3e9ffe69469ab1aa0 *man/gtkPrintSettingsLoadKeyFile.Rd 460a8e673089741c50b95d34d637c469 *man/gtkPrintSettingsNew.Rd 49f5316136bc86992e760ef722aaeb67 *man/gtkPrintSettingsNewFromFile.Rd 5d0e6e25f30a7a19af45b1a19f9e5294 *man/gtkPrintSettingsNewFromKeyFile.Rd 8aff7568884707cdf0f3ffa1df42b842 *man/gtkPrintSettingsSet.Rd 7883c91dbb28a39cc10615ea589421ec *man/gtkPrintSettingsSetBool.Rd 87ce3ebf13dd14e3ef2013834b500aef *man/gtkPrintSettingsSetCollate.Rd 9233906c69e34925f068df4a9c121c93 *man/gtkPrintSettingsSetDefaultSource.Rd 4ff1859d6b51981be6d7f37bff2a1c66 *man/gtkPrintSettingsSetDither.Rd 3d8fb7ee92a138cefc35d8f727cde15e *man/gtkPrintSettingsSetDouble.Rd 19820da9d1d0b3b53a5b0b9cf64a023b *man/gtkPrintSettingsSetDuplex.Rd 8b2b09caa9e08e76eef8fcdc29984315 *man/gtkPrintSettingsSetFinishings.Rd 174d29dc6e189c6db4ebc2d6d1d84439 *man/gtkPrintSettingsSetInt.Rd 13e37965fcdf379b56bd2c687f2ad876 *man/gtkPrintSettingsSetLength.Rd 7ca8104172e9b8288761f26d6f660db0 *man/gtkPrintSettingsSetMediaType.Rd f688da042dc63857e804ed00e2a81f6d *man/gtkPrintSettingsSetNCopies.Rd 2ebacf154c118e9c9c0952b99b253f8c *man/gtkPrintSettingsSetNumberUp.Rd 0d44f163c01dfe11b9288eb307656cad *man/gtkPrintSettingsSetNumberUpLayout.Rd 08a3e470a1243f963ec65decbbc06752 *man/gtkPrintSettingsSetOrientation.Rd dbe3017fb6c497490409fabaae73f182 *man/gtkPrintSettingsSetOutputBin.Rd f864f5753050e4f31b1cf605c313d6b8 *man/gtkPrintSettingsSetPageRanges.Rd 050285d28d038b480063d2db763f6e3a *man/gtkPrintSettingsSetPageSet.Rd 4bbf2a38ff40acbef31d9d516104d13a *man/gtkPrintSettingsSetPaperHeight.Rd b841cd770af79d40e8f67ead81a93447 *man/gtkPrintSettingsSetPaperSize.Rd 659b276b87303d2ce392213f5281127e *man/gtkPrintSettingsSetPaperWidth.Rd 0ed00afcbfdecc3d59f2b21af3be2384 *man/gtkPrintSettingsSetPrintPages.Rd ee9503e26fc2141da05603e3d0e31c1e *man/gtkPrintSettingsSetPrinter.Rd da0355a562b492c9ede4c88848a6f857 *man/gtkPrintSettingsSetPrinterLpi.Rd 2a2f4a568a20d2d050fb244b5934b4aa *man/gtkPrintSettingsSetQuality.Rd 75f15eca86ca3936b97af72c28bd3f98 *man/gtkPrintSettingsSetResolution.Rd 8fba64ad63dcffd9266be12243aea69c *man/gtkPrintSettingsSetResolutionXy.Rd 8e2acdbd85cedd0c13e6e3fdd333f88d *man/gtkPrintSettingsSetReverse.Rd a9a6f7b1c95cb98550d80bb2ad4ac5fa *man/gtkPrintSettingsSetScale.Rd bc290cbbdd7afcc40d7561458c13d34d *man/gtkPrintSettingsSetUseColor.Rd cd3d2a38e0cdfb3e8e549e7c8f00b1d9 *man/gtkPrintSettingsToFile.Rd 235dd1361f90fac083fc5b7133b4f068 *man/gtkPrintSettingsToKeyFile.Rd b9371b5b4d756ea90b6c00d5d0363c27 *man/gtkPrintSettingsUnset.Rd 47837db4671a19b536fb5d53f9707d92 *man/gtkProgressBarGetEllipsize.Rd 9be6c8091e799259a17dc894f9716458 *man/gtkProgressBarGetFraction.Rd 1ba799cac46fe8b2873a9c74d15cec16 *man/gtkProgressBarGetOrientation.Rd bd365ab4a551fd99233de72c08bd25e1 *man/gtkProgressBarGetPulseStep.Rd 5df7091893c79b486c70577fea0c1bcd *man/gtkProgressBarGetText.Rd 40389036f2441f4537ed8830b165e03a *man/gtkProgressBarNew.Rd 1c4ef4ee4f8b11d52deac23a0045d582 *man/gtkProgressBarNewWithAdjustment.Rd 235937b4e43fad01a4b733d425cd0e5e *man/gtkProgressBarPulse.Rd 970cd7201472433de0b65eb1bc63b9d8 *man/gtkProgressBarSetActivityBlocks.Rd 941adeed9af3e64f5c07c7145dfd9f7e *man/gtkProgressBarSetActivityStep.Rd 7516bde4f47a1da2bfb745a74fe73963 *man/gtkProgressBarSetBarStyle.Rd 53d4a688a8df9ec8f1ad933f24fe86f4 *man/gtkProgressBarSetDiscreteBlocks.Rd 8814e77661809af43f83a7d03b3c914f *man/gtkProgressBarSetEllipsize.Rd 93d6ac68e003c4bb97f9e098de7e469c *man/gtkProgressBarSetFraction.Rd f958089e9398c7fa79283f6bca7a9ebd *man/gtkProgressBarSetOrientation.Rd d6c2811205458701769da081b0aa4f98 *man/gtkProgressBarSetPulseStep.Rd 3181e718e3f7afa29cd02d5536c655bb *man/gtkProgressBarSetText.Rd 1d1e3c462e67164f222ea0a00beb0278 *man/gtkProgressBarUpdate.Rd c57e0232c58bb585837821bf9baa88ae *man/gtkProgressConfigure.Rd 78235fe2d9e77cd31cd30d2f9c9af99e *man/gtkProgressGetCurrentPercentage.Rd 1c4fab3617b5b0d131ca134a594da933 *man/gtkProgressGetCurrentText.Rd 6befa0c86d0ec764b5ec6e883a1555b9 *man/gtkProgressGetPercentageFromValue.Rd b13cda4b337846dcde664de8cbc32553 *man/gtkProgressGetTextFromValue.Rd 482e344db69459c3f5df712179bbcc5d *man/gtkProgressGetValue.Rd 43f7bf54795eb1e7a0c38ae2f3d1faaf *man/gtkProgressSetActivityMode.Rd 98651b1b394cc656af0086f0474d4fea *man/gtkProgressSetAdjustment.Rd 4f2b44934590b97459e77c423b80113b *man/gtkProgressSetFormatString.Rd e2655db2e737322d655afdd405f9865a *man/gtkProgressSetPercentage.Rd a08237dc2d2ee14f5ddd3338d95459eb *man/gtkProgressSetShowText.Rd 838037ce54e5166d669539f3719de1f8 *man/gtkProgressSetTextAlignment.Rd 57c7ca96a5d8a5f7148c3d4b10fb821a *man/gtkProgressSetValue.Rd d2bca675077b8d8749656c4151229508 *man/gtkPropagateEvent.Rd 875a71a5fd120d0b86e1ceedb1f16d16 *man/gtkQuitAdd.Rd 079bc3948994b62e43612c86f6874e88 *man/gtkQuitAddDestroy.Rd 9c4df9bdd19b6d3d8c487ab8429b10cb *man/gtkQuitAddFull.Rd 82b767961936abaee0857fcc824e6f51 *man/gtkQuitRemove.Rd ef2ceb4bb61e2501b234f456b04f3e47 *man/gtkQuitRemoveByData.Rd fb75ed2e276bcfb2b014315a3c5c9767 *man/gtkRadioActionGetCurrentValue.Rd 552d667006681ed8b4b4e43ecf256475 *man/gtkRadioActionGetGroup.Rd d76fc6f52bc6459481ffb5a2d3fb804a *man/gtkRadioActionNew.Rd bf79ef61ae1dbe7b17f7731215bcc50c *man/gtkRadioActionSetCurrentValue.Rd 261d23750e4459bf821ec30acc05fecf *man/gtkRadioActionSetGroup.Rd f16d5b9163193077cc5197bb77da1e22 *man/gtkRadioButtonGetGroup.Rd eb503291a48add9d84f57765ed7008cd *man/gtkRadioButtonNew.Rd 8bd7ede183b2e7c11dba8201d0a1a7a6 *man/gtkRadioButtonNewFromWidget.Rd e59775f4c82f9841a12070ce394bc913 *man/gtkRadioButtonNewWithLabel.Rd 0b25e4926d816cda822657d30f442185 *man/gtkRadioButtonNewWithLabelFromWidget.Rd c2667df11a36bcf4be25362b6677f526 *man/gtkRadioButtonNewWithMnemonic.Rd e365c462e0bd0080ef8f14540b167bd7 *man/gtkRadioButtonNewWithMnemonicFromWidget.Rd 600be02e58698d26aa13d8ef55ad8ec7 *man/gtkRadioButtonSetGroup.Rd a214dabcbd4fac7fe215f5f55ae5afc8 *man/gtkRadioMenuItemGetGroup.Rd b8e0430937b69d98de1bba8ad354476a *man/gtkRadioMenuItemNew.Rd a7c6788a933b14a15abb9fef8f485dc9 *man/gtkRadioMenuItemNewFromWidget.Rd 77b7013af78d02b737bbb9fe715c2003 *man/gtkRadioMenuItemNewWithLabel.Rd 88a2dcdcccbbf8f0b3f92c72502b4747 *man/gtkRadioMenuItemNewWithLabelFromWidget.Rd ef78ee6091592c17e532f48101ccd7ba *man/gtkRadioMenuItemNewWithMnemonic.Rd ed87708c0a8e330e197c863b701930dc *man/gtkRadioMenuItemNewWithMnemonicFromWidget.Rd 9ffdb6c9bcd41e456b0c5e7720abe105 *man/gtkRadioMenuItemSetGroup.Rd ce24219f5e688a9597fa03031fa5db1e *man/gtkRadioToolButtonGetGroup.Rd dff8e1ace7d720250282c64ec3f874cb *man/gtkRadioToolButtonNew.Rd 64c223a7457c915deffc4647da555814 *man/gtkRadioToolButtonNewFromStock.Rd 322c1aa0ff748a8ca520be3a71169401 *man/gtkRadioToolButtonNewFromWidget.Rd 6cdb0d098fb364caac81efb198a085bd *man/gtkRadioToolButtonNewWithStockFromWidget.Rd 4858232c2d70d0d0c82dfbffd7db56e2 *man/gtkRadioToolButtonSetGroup.Rd e8e7f857109063cb028651d5b99f05d3 *man/gtkRangeGetAdjustment.Rd c6130620490b32a82c1a499cb293da44 *man/gtkRangeGetFillLevel.Rd c838c3a49e41c23fa4d17fbcde6d9a6a *man/gtkRangeGetFlippable.Rd 01fe60fa707102774669485fdf0c8b3b *man/gtkRangeGetInverted.Rd 08071ea51497e7ce82c69cc48ec9e6c9 *man/gtkRangeGetLowerStepperSensitivity.Rd 5c9988b4886e97076ebd3513c276e9e1 *man/gtkRangeGetMinSliderSize.Rd d9a8b1e5586db9487b74d4a292e89203 *man/gtkRangeGetRangeRect.Rd cce3034ec4c6cf1684b11fcc8e841e8b *man/gtkRangeGetRestrictToFillLevel.Rd 1abc2c48e90b91f5a25ecb7151ab3079 *man/gtkRangeGetShowFillLevel.Rd 460e0de939487fefa8ed8c57734d6244 *man/gtkRangeGetSliderRange.Rd 46f36dd523f2b1f64f4393ca851411da *man/gtkRangeGetSliderSizeFixed.Rd 43e96a266c2a2c996490ec16b03f6205 *man/gtkRangeGetUpdatePolicy.Rd b61fdfbbe2259609d5bdfa148cbf1da4 *man/gtkRangeGetUpperStepperSensitivity.Rd ceebeb2a2bce7239a195d2c3ea37c335 *man/gtkRangeGetValue.Rd 18e57e1fb6e4f060aebffdfff3a30fa2 *man/gtkRangeSetAdjustment.Rd 14f87b2750a884426bbd998718ee404c *man/gtkRangeSetFillLevel.Rd eec743240c9b90b51104a3b2421af3bc *man/gtkRangeSetFlippable.Rd a537631712ff2492335f048963ae1c0a *man/gtkRangeSetIncrements.Rd 4dc71f74fe797a079a6baca61beb29d4 *man/gtkRangeSetInverted.Rd f8b3d2cd79efe81c659a7422a3ae37ec *man/gtkRangeSetLowerStepperSensitivity.Rd 75e99da32bc0a85e36abcf86ba128c73 *man/gtkRangeSetMinSliderSize.Rd 6ccf602cba5898ff1cc182dc593c4cd6 *man/gtkRangeSetRange.Rd c54a1a308ef6903eeacc8251c00d68dc *man/gtkRangeSetRestrictToFillLevel.Rd 80ae483d44caec19a5cc969c05dafbfa *man/gtkRangeSetShowFillLevel.Rd 06e77a2f1f5d949abcd381aa08851230 *man/gtkRangeSetSliderSizeFixed.Rd 28f8e666d4879660576f5acba42e76da *man/gtkRangeSetUpdatePolicy.Rd 09a5f723183c1cef23bb0178d48fa137 *man/gtkRangeSetUpperStepperSensitivity.Rd ac660456f7498c5c776d17beb5dbfe6c *man/gtkRangeSetValue.Rd adc95d7ad7eb004c3af95fb0a25876e7 *man/gtkRcAddClassStyle.Rd f293054461f1e227987bc4fff6755915 *man/gtkRcAddDefaultFile.Rd 17b4437ce764cd7980562c104c75772b *man/gtkRcAddWidgetClassStyle.Rd 012d3892511e507ca5a06a8af7b51cd0 *man/gtkRcAddWidgetNameStyle.Rd d9d261122ea00bcc5bc0cc602774b822 *man/gtkRcFindModuleInPath.Rd 986f7b908bf3e1829c0a1b54ad2020aa *man/gtkRcFindPixmapInPath.Rd 7daa6567d88d5244989503baf951dd44 *man/gtkRcGetDefaultFiles.Rd 3f261bb0b504cd11bde56e6b661e8d14 *man/gtkRcGetImModuleFile.Rd f393591ac49393e64c9c0a9f607d47b6 *man/gtkRcGetImModulePath.Rd 179961f1638f34304acab23dbc660d3e *man/gtkRcGetModuleDir.Rd 17168f280f2207eda98b813aafd93b46 *man/gtkRcGetStyle.Rd f86f29e719c60a5ee5fcc818d9369117 *man/gtkRcGetStyleByPaths.Rd 4bc6af21397b39a23ba28d1cf3f8fdec *man/gtkRcGetThemeDir.Rd 35a9773c064a1dc16173d290b5df570f *man/gtkRcParse.Rd bbd095aed2b30e083694403b63ffb3ba *man/gtkRcParseColor.Rd cf236cef6c9b0ce4a923f0d52e8c96dd *man/gtkRcParseColorFull.Rd d82f0ddfb4688c1b5d3e1f1338f47ba2 *man/gtkRcParsePriority.Rd 3139f88913d8a93d118b099b78459f15 *man/gtkRcParseState.Rd 952dd2c120e9af494e169ebf2f67b0a9 *man/gtkRcParseString.Rd 9f8349197f70403df0393b729e42d5a5 *man/gtkRcPropertyParseBorder.Rd 8eac7ef5d64b5b41202e889bffde54da *man/gtkRcPropertyParseColor.Rd 2f3d0c46f5b844e2297e5066943aa8b8 *man/gtkRcPropertyParseEnum.Rd f59e3d4af84c8520ba9ffca00fe3d5f1 *man/gtkRcPropertyParseFlags.Rd bddb1444a49ab63397620ee63a42c947 *man/gtkRcPropertyParseRequisition.Rd fc69593fddd0ad1bfa91c47b2af9175b *man/gtkRcReparseAll.Rd 2458cc8808f36b338a04d0ca6086925c *man/gtkRcReparseAllForSettings.Rd 0b12d238c65e4e88bf0f39ea65edb302 *man/gtkRcResetStyles.Rd 6dc3f8594ef0cbfb1d506a4a63dcd27f *man/gtkRcScannerNew.Rd 704c532a6a056175323afeae99eeabd6 *man/gtkRcSetDefaultFiles.Rd dea640b0fb4bc51eeacd5a206fccc895 *man/gtkRcStyleCopy.Rd a422b13022a059fb05df8737ce47f9d9 *man/gtkRcStyleNew.Rd 3e8b635029d5d63b0374d63f21aae09a *man/gtkRecentActionGetShowNumbers.Rd 2a7bcfbc59e189b793a9e95651e85e5d *man/gtkRecentActionNew.Rd c81d9f4544b8afba5f5592e7e5619dda *man/gtkRecentActionNewForManager.Rd 910974710d48ec8ac8f697caf6ab511f *man/gtkRecentActionSetShowNumbers.Rd 1346eec509aeac37bc812b2330bf6379 *man/gtkRecentChooserAddFilter.Rd fa2773501d4bc6de1d0506f6eb4eb7d3 *man/gtkRecentChooserDialogNew.Rd 3c19aa746278ae34261c7dba743be3d4 *man/gtkRecentChooserDialogNewForManager.Rd cfc01a02b3c6a92e48753801fa9b782f *man/gtkRecentChooserGetCurrentItem.Rd a12e885fd050f226a45bfa65bb82dd90 *man/gtkRecentChooserGetCurrentUri.Rd 61aa6716c32e08e5d4e869efd37dea4d *man/gtkRecentChooserGetFilter.Rd d742d85cca5979efdf106b3e8d3169b1 *man/gtkRecentChooserGetItems.Rd 73ee2c67a96f817b03d10b50806ea8ee *man/gtkRecentChooserGetLimit.Rd ea0f7fe7d6cf8b0dbe62537928b32738 *man/gtkRecentChooserGetLocalOnly.Rd d257c215e3160e9ba829672754ff2190 *man/gtkRecentChooserGetSelectMultiple.Rd a841f9086b5e9086c28ff904c769c495 *man/gtkRecentChooserGetShowIcons.Rd c2f07eac95479f020614c767b566fca3 *man/gtkRecentChooserGetShowNotFound.Rd 1b35d87adf65e9a8408b9b93b7335193 *man/gtkRecentChooserGetShowPrivate.Rd 6f417e7b1cd758a4ee4964c649c1bd3c *man/gtkRecentChooserGetShowTips.Rd 14e4509465334bd82fe7ebfec175e5ef *man/gtkRecentChooserGetSortType.Rd 1db738c5dc09bfade17a19fe493c6abf *man/gtkRecentChooserGetUris.Rd 02441adc7cc2f695d35fd0544e7e6e31 *man/gtkRecentChooserListFilters.Rd 04d702ff8c84fc573f87fd88007f5c59 *man/gtkRecentChooserMenuGetShowNumbers.Rd bc9cac09516c52c3025caf7b146fd2ad *man/gtkRecentChooserMenuNew.Rd f9e45391b8dbe5385e7f119d56365b81 *man/gtkRecentChooserMenuNewForManager.Rd a9981bb6c3bf374a9d6b19850e7b60a2 *man/gtkRecentChooserMenuSetShowNumbers.Rd 412147b1bd9b77da10d42a0f386e0735 *man/gtkRecentChooserRemoveFilter.Rd 50e5f961eff2a52dd79bc33e0865a9cd *man/gtkRecentChooserSelectAll.Rd c017033b79cd16c48abc1c0677d05293 *man/gtkRecentChooserSelectUri.Rd 314b001d04c9476882b59121f917e5eb *man/gtkRecentChooserSetCurrentUri.Rd bc68b63b08a2eb7ae90760a0b736c45a *man/gtkRecentChooserSetFilter.Rd 0782ac567ea24b097c86f7633bbcc780 *man/gtkRecentChooserSetLimit.Rd 5eedbaadf5a584a01f34ed6709cc70ea *man/gtkRecentChooserSetLocalOnly.Rd 13a44b914dfc37ef14ef281f5ede2b44 *man/gtkRecentChooserSetSelectMultiple.Rd 80b2f632c5fe42af9c42857539481111 *man/gtkRecentChooserSetShowIcons.Rd 7c3548fb51953a1b37809534c3e05995 *man/gtkRecentChooserSetShowNotFound.Rd 27ccf25ac430a2cfaa3b907e551e1846 *man/gtkRecentChooserSetShowPrivate.Rd 3645f5fe5749813b5704367ad4df5582 *man/gtkRecentChooserSetShowTips.Rd fd63c39e50cd56a149644a438c8a2f4c *man/gtkRecentChooserSetSortFunc.Rd b27e7f84518a43868659c61ecbb77de3 *man/gtkRecentChooserSetSortType.Rd 10eb04246b2e85182377ba3c01eaff60 *man/gtkRecentChooserUnselectAll.Rd c38dcf2486439b39a2047a45d056b23f *man/gtkRecentChooserUnselectUri.Rd a2252b6e4dcb124a514eb25124c34130 *man/gtkRecentChooserWidgetNew.Rd 14649428f3898ff6d1062969c8325d4f *man/gtkRecentChooserWidgetNewForManager.Rd 1e9abf0e852d517e3c6df0869b15e247 *man/gtkRecentFilterAddAge.Rd dc0798fb1f0a6458cbb3c8e0d1d10196 *man/gtkRecentFilterAddApplication.Rd 202be3f7655c9058bcaf9554ce0fa9dd *man/gtkRecentFilterAddCustom.Rd 2118336237e5a85b4020bbcecd727183 *man/gtkRecentFilterAddGroup.Rd 844bdd16b67f9ae024a30ef95b296b49 *man/gtkRecentFilterAddMimeType.Rd eeaa652bda26243d5b1e7154aa5fbacc *man/gtkRecentFilterAddPattern.Rd 572f867d00db9499cef5e3488ba2c95c *man/gtkRecentFilterAddPixbufFormats.Rd 44e7180e232d95d40cb0e4a0fc5d6c9b *man/gtkRecentFilterFilter.Rd 2488831c29009cab5a79afb44693b78f *man/gtkRecentFilterGetName.Rd ff5eb3c77cf3c13292acad2c9adbf374 *man/gtkRecentFilterGetNeeded.Rd 58f43c34dad59517b1e5b79c400ab851 *man/gtkRecentFilterNew.Rd 853efc1fcf13dd94f48b494fb0b225b6 *man/gtkRecentFilterSetName.Rd 4db3f2a4e43b576a8a3e41b70161e001 *man/gtkRecentInfoExists.Rd a57505ba63707b20f42e77a09b9660f7 *man/gtkRecentInfoGetAdded.Rd 7effe774642d10ac5793a63512d9f58f *man/gtkRecentInfoGetAge.Rd e862f9bf2b7cb6db668dc637c3b7a424 *man/gtkRecentInfoGetApplicationInfo.Rd cdb4d6b38195f15a8d8508f60757ee6a *man/gtkRecentInfoGetApplications.Rd e395e17c33c782cf865cf9c3a883adde *man/gtkRecentInfoGetDescription.Rd cf1a85d1f57d07b1376ee050dc4620fa *man/gtkRecentInfoGetDisplayName.Rd 7f772b9009abadb80d3cdd17e5cd9b8e *man/gtkRecentInfoGetGroups.Rd 98ae186a5f1475c9d23a3413d10521b7 *man/gtkRecentInfoGetIcon.Rd 09908869bb3a2f064f24e02d2c575796 *man/gtkRecentInfoGetMimeType.Rd 61aee7f96602e4a675cf47efa12a5c71 *man/gtkRecentInfoGetModified.Rd bcb7a524f1a1c91bb9328370c8343cd8 *man/gtkRecentInfoGetPrivateHint.Rd 49ef03a71d0d151d85d439a655fc70b9 *man/gtkRecentInfoGetShortName.Rd fa07bee817c775bc9093690e26a4c83d *man/gtkRecentInfoGetUri.Rd 9f095193334866cf1a019ed9277c1c67 *man/gtkRecentInfoGetUriDisplay.Rd 69e1ae2183bf8ec5d29c5d5bf85ac666 *man/gtkRecentInfoGetVisited.Rd 8549cf1bb02ef192db2993792380b6a8 *man/gtkRecentInfoHasApplication.Rd da87a9089cef75f1c143646776768fbe *man/gtkRecentInfoHasGroup.Rd 5608318cad8e82969a9931c0a5099d4b *man/gtkRecentInfoIsLocal.Rd 5898e0cc58b2a2ba615d241ecc18e83c *man/gtkRecentInfoLastApplication.Rd 409177e9f508088c930f2582a7a39531 *man/gtkRecentInfoMatch.Rd ccdf393118ad690777fdfc221c47ee26 *man/gtkRecentInfoRef.Rd eff8b2a7743f6d5b7f47c5a7b3ff421a *man/gtkRecentInfoUnref.Rd f79c5732fa5e3a204da0329ba4cab94c *man/gtkRecentManagerAddFull.Rd 103050004bae13536e1ccc1816fe58cf *man/gtkRecentManagerAddItem.Rd 7100085990a6e61238a5615eca97e2c5 *man/gtkRecentManagerGetDefault.Rd 9c978d02f264510311b245130849a832 *man/gtkRecentManagerGetForScreen.Rd 19bf335b146ca3155754269d433e22f7 *man/gtkRecentManagerGetItems.Rd d1471644d9b67048d54f17180af8f3cb *man/gtkRecentManagerGetLimit.Rd f7cb984259dd363a26502cdaaa52f1a6 *man/gtkRecentManagerHasItem.Rd 15325b5e5f01825364acceab0dbdcd10 *man/gtkRecentManagerLookupItem.Rd 5787eaa1664b881803dd1afbb1476a72 *man/gtkRecentManagerMoveItem.Rd 562e24baca799a71c461027059d7d1d1 *man/gtkRecentManagerNew.Rd 83180c204659d674ddb70a4b26d6f763 *man/gtkRecentManagerPurgeItems.Rd 509311979de49890f62f98d50ce59cbb *man/gtkRecentManagerRemoveItem.Rd 490ea011517dcd07b588dccd33a92653 *man/gtkRecentManagerSetLimit.Rd a05f9061dacf41cf78b8189b43a22c3d *man/gtkRecentManagerSetScreen.Rd b5182d59cd3892fe6a657531bd7f48b6 *man/gtkRequisitionCopy.Rd dd8e83479234c97ba5b1f514b5141c3a *man/gtkRgbToHsv.Rd 581b03fe510a67a98fb37a7d2da91a1f *man/gtkRulerGetMetric.Rd d89fb175f17db13ff5aacf01b0bc157c *man/gtkRulerGetRange.Rd 68c4079435985219a9eb9d61d18d3264 *man/gtkRulerSetMetric.Rd 4769a67aa9bf5378fa315e271d514918 *man/gtkRulerSetRange.Rd c6f77f2912b0fe0266a5dedeb99ed07c *man/gtkScaleAddMark.Rd ee4e6afe39482f02455a6c176885859b *man/gtkScaleButtonGetAdjustment.Rd 8d3bfdd29a9d17f1313dc648e4a518c6 *man/gtkScaleButtonGetMinusButton.Rd 0c5a01b44f209dd4469dad422709d88e *man/gtkScaleButtonGetOrientation.Rd d607478c447fe3a48dedc14c37469ba5 *man/gtkScaleButtonGetPlusButton.Rd 6d0cdffa0c313bb7e382dc79887f964a *man/gtkScaleButtonGetPopup.Rd e5b6a6d14a5e257783c2cd70d2d7583d *man/gtkScaleButtonGetValue.Rd 8e23f51d019189d099e2d9c50868907e *man/gtkScaleButtonNew.Rd 4c83863dbb318b36e5007f7bd628690f *man/gtkScaleButtonSetAdjustment.Rd 0cf5680a2337caa7bb973edbe3be17b9 *man/gtkScaleButtonSetIcons.Rd ed0525a4b7005ccd82047db5446263db *man/gtkScaleButtonSetOrientation.Rd 262f1a1475201b6970a9c34e642564bb *man/gtkScaleButtonSetValue.Rd 01d7ea81cd460f93c011d00aae3ff923 *man/gtkScaleClearMarks.Rd 9222a245645184668f39a920153fd018 *man/gtkScaleGetDigits.Rd 680093647f471c8bbab93c1bd8bb3e02 *man/gtkScaleGetDrawValue.Rd da44d494f1ec2f6aacb215145b0163ec *man/gtkScaleGetLayout.Rd 9defb517fe07d16503b2bf424ad0316a *man/gtkScaleGetLayoutOffsets.Rd eb167c249bcfd8800326950dec0d4747 *man/gtkScaleGetValuePos.Rd b31262a0f597097661ece2d971991d64 *man/gtkScaleSetDigits.Rd ccae6fc56ad5a9848f1f475e0dd4ccb6 *man/gtkScaleSetDrawValue.Rd 94c4302e7ab8fad68ea6163715e7f69f *man/gtkScaleSetValuePos.Rd de8587ce409dba03664678057dc81893 *man/gtkScrolledWindowAddWithViewport.Rd 531137e77300d84b527e5afb74aa08e2 *man/gtkScrolledWindowGetHadjustment.Rd 27d0cef0b65eaaba87af7612f3733ed0 *man/gtkScrolledWindowGetHscrollbar.Rd 331051c56a513544be316f0fdf0dab36 *man/gtkScrolledWindowGetPlacement.Rd a0304274499e7dc142337d6e6729ff22 *man/gtkScrolledWindowGetPolicy.Rd a414e45b361fe441a2e0b0f3610a23a9 *man/gtkScrolledWindowGetShadowType.Rd 8d39e508969306f08987706c8d8be293 *man/gtkScrolledWindowGetVadjustment.Rd ae70a96c80eff4f18d159780c9ae2c90 *man/gtkScrolledWindowGetVscrollbar.Rd a389b23a1a0a4c9c65275ef82ae6fab2 *man/gtkScrolledWindowNew.Rd 3bfe92bc02984e067c8f137d3315b357 *man/gtkScrolledWindowSetHadjustment.Rd 296a15631a0e94e2ee9e1e1e363db55d *man/gtkScrolledWindowSetPlacement.Rd 963310cb94bd98ad481101b183d95b39 *man/gtkScrolledWindowSetPolicy.Rd 4601d695e35ed31da04c3c8afa7f1e8a *man/gtkScrolledWindowSetShadowType.Rd 673f1d1934c0b54fee9456ef83268c90 *man/gtkScrolledWindowSetVadjustment.Rd 8e7d2501a5d29f7f1b2b839027bc350d *man/gtkScrolledWindowUnsetPlacement.Rd 770caf5cfb06e898be628eab1d4967e9 *man/gtkSelectionAddTarget.Rd a378e648d64fd25830a75cb374464de7 *man/gtkSelectionAddTargets.Rd 1e001562c944452c72d2a861907d4c4c *man/gtkSelectionClear.Rd 0b4cd2cdf8749e664f08dde5d885909a *man/gtkSelectionClearTargets.Rd 8795b32e42828b3883d9626d836627a0 *man/gtkSelectionConvert.Rd 95f3dd45e5c0023f948516e5788d3fb9 *man/gtkSelectionDataCopy.Rd fc678d6222ba538fad71795dc3246862 *man/gtkSelectionDataGetData.Rd 6c75cce7bfeeddd7bf05f162f25d2a05 *man/gtkSelectionDataGetDataType.Rd de41fcda052226ef34e00f0e1f6c7800 *man/gtkSelectionDataGetDisplay.Rd 96dbf80016520bc9be84640d2f99fbce *man/gtkSelectionDataGetFormat.Rd ed0a681fc19d1eb75309ed383a3ec33a *man/gtkSelectionDataGetLength.Rd f759a282986c4b173858a9ba2dd7b36b *man/gtkSelectionDataGetPixbuf.Rd 846e74bb55565f7f085a81f3841227d1 *man/gtkSelectionDataGetSelection.Rd c27173dd6c74f2d11269996958c99292 *man/gtkSelectionDataGetTarget.Rd b90a44188060ffe45e65f39bc6d3d0d9 *man/gtkSelectionDataGetTargets.Rd 20cf07153e2c39dc7fbdc8e57d3e979d *man/gtkSelectionDataGetText.Rd 5640bc479715968ec68c479cb0fd74f3 *man/gtkSelectionDataGetUris.Rd 85cbe4cb8f83d11a7239b68b125d7c34 *man/gtkSelectionDataSet.Rd 1ce7f49c681bb1d660dbfb8bdb0b956d *man/gtkSelectionDataSetPixbuf.Rd 4c81f725ba2245ba6890f74adfe3001f *man/gtkSelectionDataSetText.Rd aaf3f6620f12603a89a3fb4128b3130e *man/gtkSelectionDataSetUris.Rd ea6fedbfd436eb837abcb11d8bdecea6 *man/gtkSelectionDataTargetsIncludeImage.Rd 37701b48b2d0863754b59e2c41225772 *man/gtkSelectionDataTargetsIncludeRichText.Rd cf29923999937cf4509cbe06654dbb12 *man/gtkSelectionDataTargetsIncludeText.Rd ebe9a9cf65183122b5b2d96f23066eba *man/gtkSelectionDataTargetsIncludeUri.Rd a582e519e573e5a07956ea63f3699d7d *man/gtkSelectionOwnerSet.Rd 11301e26f697147d33750a6497c754c9 *man/gtkSelectionOwnerSetForDisplay.Rd a69ce9def22069a873edb9c43ede86be *man/gtkSelectionRemoveAll.Rd 4eead77b1d33dda95869be5c8254473f *man/gtkSeparatorMenuItemNew.Rd 978298cc583391fa3fdb19e8409e6785 *man/gtkSeparatorToolItemGetDraw.Rd 55254a8268deb3587f7af4cbc9a5a4cd *man/gtkSeparatorToolItemNew.Rd 56a5a3c4af1538af59e66c88aaf344bd *man/gtkSeparatorToolItemSetDraw.Rd ecebc0820e2e42ce3c5fadbc5f285a06 *man/gtkSettingsGetDefault.Rd 97b87ec054b8b675121384829776506c *man/gtkSettingsGetForScreen.Rd 129fab3b12ab77a3fb6f91680feba892 *man/gtkSettingsInstallProperty.Rd 3d3293ca54f4569bca346ff6fddeb793 *man/gtkSettingsInstallPropertyParser.Rd 1f6775e6d776f1caa726833b96d07ca1 *man/gtkSettingsSetDoubleProperty.Rd 7aed4ffbd07b036703cc49763500837e *man/gtkSettingsSetLongProperty.Rd 6b02f5c3af51bd9112d239e38fc7e6f2 *man/gtkSettingsSetPropertyValue.Rd 78f885ba41582d7675e5e6d71c1b0f2c *man/gtkSettingsSetStringProperty.Rd 52428c1f54e9870bcf80aa204033d57b *man/gtkShow.Rd 8284aad4b94e595b09f33da39589ac4a *man/gtkShowAboutDialog.Rd 9eaddabc55d79e6cbb214b5b6aabdfbb *man/gtkShowUri.Rd 7146c70acf97dd92a8c47a2ff6709f2f *man/gtkSizeGroupAddWidget.Rd 6f1821a2f938952c4b642efd04cd5cb2 *man/gtkSizeGroupGetIgnoreHidden.Rd cb69106900609d0a0a8da1156ca8bcfc *man/gtkSizeGroupGetMode.Rd 4b7058f300c305e5fc4f82948ad37e51 *man/gtkSizeGroupGetWidgets.Rd 22f2b88411ec9aba9cddf84d1d4eb4ed *man/gtkSizeGroupNew.Rd 3d81cd1bdaa383b9a9acb7bf874f21f7 *man/gtkSizeGroupRemoveWidget.Rd 71575fbe476e1b825f62995252212d50 *man/gtkSizeGroupSetIgnoreHidden.Rd 896fe616636589f8c3b2f7f078348bae *man/gtkSizeGroupSetMode.Rd 9c3ecfb7be7b611ed8e3ed3bcbb36741 *man/gtkSocketAddId.Rd 11c9c298efa3f40d8a9a4e4aa9c39477 *man/gtkSocketGetId.Rd d9eedbb5dad796fbcc2e20fa2078a229 *man/gtkSocketGetPlugWindow.Rd 8769def774c5ecfb18e27f067062a86f *man/gtkSocketNew.Rd ec93fa7989fe1b78c045f6c585dd273c *man/gtkSocketSteal.Rd 5060c9d019b7da9cb07c0ffbf58f5e26 *man/gtkSpinButtonConfigure.Rd f49969c7eaa9f6ea713e994bb183c0d3 *man/gtkSpinButtonGetAdjustment.Rd d135fc8c4f341fe8fe14c78bf8577ad5 *man/gtkSpinButtonGetDigits.Rd a79594290d5e850a3cd6c0d492a79e9c *man/gtkSpinButtonGetIncrements.Rd 92316c4fb2e2a26dd800d8446485fb4d *man/gtkSpinButtonGetNumeric.Rd 38cd3d9cba58db8edf265e82480fac87 *man/gtkSpinButtonGetRange.Rd fa87635c709ba56ba3db4bef7cc1ad74 *man/gtkSpinButtonGetSnapToTicks.Rd a0bca9dff2b96f868a2e3aeff4bf1fbd *man/gtkSpinButtonGetUpdatePolicy.Rd d252e801db523f7f0a9d6d4082b33c3a *man/gtkSpinButtonGetValue.Rd ba93d1ad708335635a33a1e1f9d7a584 *man/gtkSpinButtonGetValueAsInt.Rd 2dc83820caf1c21bc88f97f9ff5ea6ce *man/gtkSpinButtonGetWrap.Rd 8885953e90c6b67f7e9f94b07b7feb75 *man/gtkSpinButtonNew.Rd 230aa2bc22d6b5451a43000a7eb7b0f6 *man/gtkSpinButtonNewWithRange.Rd cb65144c2004374fa43d198c32303bff *man/gtkSpinButtonSetAdjustment.Rd c995b983bb68e7f34712dc05a195dd05 *man/gtkSpinButtonSetDigits.Rd 8f48a0adac3ac8df2eb47334eecb05e0 *man/gtkSpinButtonSetIncrements.Rd 62499d1200e0131fc16c22a3f5f2e092 *man/gtkSpinButtonSetNumeric.Rd becb86a9cb7a1408e4375895972294fd *man/gtkSpinButtonSetRange.Rd 7220a7391716c7543ba640e6ce34c888 *man/gtkSpinButtonSetSnapToTicks.Rd cb4f61d0568c63cc0a86c28b07d74d16 *man/gtkSpinButtonSetUpdatePolicy.Rd 22a62655796da4ab5a8fe1531f500773 *man/gtkSpinButtonSetValue.Rd 26664707f510137804164a4417c731fd *man/gtkSpinButtonSetWrap.Rd 8b0812bbcee4c54ecff781bf5f8909a5 *man/gtkSpinButtonSpin.Rd 95e51916eedf255c277193f0a8e8fd7c *man/gtkSpinButtonUpdate.Rd be92004da0f7fc2c931e71259ba4f577 *man/gtkSpinnerNew.Rd 38fa332a65054a931922c173809f19ce *man/gtkSpinnerStart.Rd 2f8fffda5c8d7ddbf7df4e746d64ad82 *man/gtkSpinnerStop.Rd 0414c4bd388fbc2724560fc704588722 *man/gtkStatusIconGetBlinking.Rd 1b11ddacce8979555f1b0aec50cabc0e *man/gtkStatusIconGetGeometry.Rd 7c736e5dadac9e760a410937c45fec49 *man/gtkStatusIconGetGicon.Rd 8363d5d36c48eb0140a29bf594210f67 *man/gtkStatusIconGetHasTooltip.Rd f9f9faac87c37ca93363039da025d904 *man/gtkStatusIconGetIconName.Rd af377cefb664e4d54a7a493a044487de *man/gtkStatusIconGetPixbuf.Rd 6a83a5f32863600651afabcc37767728 *man/gtkStatusIconGetScreen.Rd 1368022a25bafdba5f68a8ec1e41c251 *man/gtkStatusIconGetSize.Rd 85dd68a4945440d9631631b33ecd90ca *man/gtkStatusIconGetStock.Rd a0a0e1bc0ce36ec5274a380f23a23a68 *man/gtkStatusIconGetStorageType.Rd a784de79ad81acae7de79adecb39e459 *man/gtkStatusIconGetTitle.Rd 9ad71f7d98ecf8664b907778656fa05c *man/gtkStatusIconGetTooltipMarkup.Rd 55dd09430af73cdffd48b78da4fa626d *man/gtkStatusIconGetTooltipText.Rd a0d62fafbb5ffa34b6b38b569ceef78e *man/gtkStatusIconGetVisible.Rd 35e6b8de72878230e4231c587ab9d1c1 *man/gtkStatusIconGetX11WindowId.Rd 8e0f9bed60c38bd5c5475caad0f32f14 *man/gtkStatusIconIsEmbedded.Rd 2b72b7e6d47ed75fef30cebfa383eb72 *man/gtkStatusIconNew.Rd d41ee62e0a5573d125c7008bd5487339 *man/gtkStatusIconNewFromFile.Rd 9c65bfd17ce5aac33b3d562a42db22d9 *man/gtkStatusIconNewFromGicon.Rd 0bec36093dc47dbbe1c2a824e5d0b85d *man/gtkStatusIconNewFromIconName.Rd 2f615f384361cbb7d742929c3abeab0e *man/gtkStatusIconNewFromPixbuf.Rd f9d1dc4fc19aeee688e10f0ecabb386b *man/gtkStatusIconNewFromStock.Rd f6deba996f9c1d42f772dd46734aa6f5 *man/gtkStatusIconPositionMenu.Rd eac055e68eb333d4721fd28d7c80e6c6 *man/gtkStatusIconSetBlinking.Rd 1ddb29809f44cb5bfb043edbcd83fc41 *man/gtkStatusIconSetFromFile.Rd 836b28770d315d0e59f98dee70f2e3fe *man/gtkStatusIconSetFromGicon.Rd b4b7857b7993425debf6b949a01f05e4 *man/gtkStatusIconSetFromIconName.Rd 360c718610dba807731df9e930f8a169 *man/gtkStatusIconSetFromPixbuf.Rd dca7563714c31b8d59dc45bed6459569 *man/gtkStatusIconSetFromStock.Rd 59ea14fb0b6ad03b4a5139c537edfaf1 *man/gtkStatusIconSetHasTooltip.Rd b1d89657a870f735cdd1098edf0246c7 *man/gtkStatusIconSetName.Rd bfbad8d3b81aee90f856bc6fddc81afc *man/gtkStatusIconSetScreen.Rd d058e65b94517a14c4dfb8193c945aac *man/gtkStatusIconSetTitle.Rd fa4a6e9e8f28aa338c311d68b232fed8 *man/gtkStatusIconSetTooltip.Rd 8bddb63019997af90040568dbf36df48 *man/gtkStatusIconSetTooltipMarkup.Rd 269315cb8a229b7861159184a9447e73 *man/gtkStatusIconSetTooltipText.Rd 1232d6610175dc98807c3b0d7118d135 *man/gtkStatusIconSetVisible.Rd dff6b79c17fd3f047c26f7410e25fa65 *man/gtkStatusbarGetContextId.Rd a655586872438f703030b9efc1c9824c *man/gtkStatusbarGetHasResizeGrip.Rd 80f684690c34a5516d5141e67431d6fd *man/gtkStatusbarGetMessageArea.Rd 5cd0637cacd70cfabe3004712b510307 *man/gtkStatusbarNew.Rd 29fa19cbb201b3ae467add1c43b2cc21 *man/gtkStatusbarPop.Rd 25ff4d9cc908455024f0d5acb216dd49 *man/gtkStatusbarPush.Rd e7a00a71dc5118c8cf8da19537e4ab9b *man/gtkStatusbarRemove.Rd d88293463ba4fa5cfa3996c4f75f948e *man/gtkStatusbarSetHasResizeGrip.Rd c30f7c5c2f268d6e08a63bdfd6e4f857 *man/gtkStockAdd.Rd 779464d25085f6a34bc766b006a5ee9a *man/gtkStockAddStatic.Rd 0b05f52be8190db5049f6561f8473833 *man/gtkStockItemCopy.Rd 808e35ca2479c69251eda368a6b24a6a *man/gtkStockListIds.Rd bb5d642c43b14c4be93fdffd5e3c2f83 *man/gtkStockLookup.Rd 191ff15d6dd7ae41fc9b240510f6742c *man/gtkStockSetTranslateFunc.Rd 2b973bea9a7698b9ec3e0d74ef76fd78 *man/gtkStyleApplyDefaultBackground.Rd 12ba4048c7badc71f24f60caf22bd550 *man/gtkStyleAttach.Rd aa1b84f3a42060e376ac645d786445a7 *man/gtkStyleCopy.Rd bf39c0f1cf36e76ed193862c827a636a *man/gtkStyleDetach.Rd d3473871e008f609c0a95d3e00221599 *man/gtkStyleGet.Rd fb707f22d3d39fb961ed48cb912bb3a5 *man/gtkStyleGetFont.Rd 827adc5c04412dfcdd09dd3d91172c90 *man/gtkStyleGetStyleProperty.Rd 8b30aa7f7412f422124af7c51b667c17 *man/gtkStyleLookupColor.Rd 4d0ca38daf02bfc682be1c0df55fc22d *man/gtkStyleLookupIconSet.Rd b95d96d4ddc874a305ef768865dabf16 *man/gtkStyleNew.Rd 5e4830d85eb5a01f641cfc95abb81308 *man/gtkStyleRenderIcon.Rd e9fefccac5bbe540e918a50f09a77996 *man/gtkStyleSetBackground.Rd ef21ef9f6f0484447b30ae16d4cd2cdd *man/gtkStyleSetFont.Rd 15aa500f5dc534210378650649208b3c *man/gtkTableAttach.Rd f5ef2e52a7a90fb07479a00d9b9b90a0 *man/gtkTableAttachDefaults.Rd 8c3c6d28bad219a5be0ceb1413b9ddf1 *man/gtkTableGetColSpacing.Rd b55211842f88eb2e1f38b8cc8b78286d *man/gtkTableGetDefaultColSpacing.Rd 1a7b9147d643e9868abff8dd85b5acc2 *man/gtkTableGetDefaultRowSpacing.Rd 80b8283050ce021b66242fe32bb6f3ba *man/gtkTableGetHomogeneous.Rd feedcd95f9467e0baf4d2dfec5514c54 *man/gtkTableGetRowSpacing.Rd e06af2ee391767ecd35a8c03a7a26b45 *man/gtkTableNew.Rd 4f7d4b0799b531e20ad544b14e8104f1 *man/gtkTableResize.Rd 8600fdfe926bfe45990037dde8bc2bcb *man/gtkTableSetColSpacing.Rd 72d937c50b8aae8d78b81c458f34c749 *man/gtkTableSetColSpacings.Rd 3b8ad1484e36371985c407f45510bc78 *man/gtkTableSetHomogeneous.Rd 820d4b8f2b00e8daae7f95f9b8ac35d1 *man/gtkTableSetRowSpacing.Rd 72b8c930ad8b7c5c6affb322902771fb *man/gtkTableSetRowSpacings.Rd 96bba33b6d807b071ab171a08169c60c *man/gtkTargetEntry.Rd 5f74d5501aa306f98fcf2575c2ddc475 *man/gtkTargetListAdd.Rd 5b92c027fdc45f6f1d4d9ec3e33c21af *man/gtkTargetListAddImageTargets.Rd 18ccc068641ace6de1f24a1da685cc4f *man/gtkTargetListAddRichTextTargets.Rd 0dddb5216a6b526bcdfba7fe1958b906 *man/gtkTargetListAddTable.Rd 455b2a33eb7ed00db63cdc897b63d4cc *man/gtkTargetListAddTextTargets.Rd a17db6e4ffe201e7b506a552fc902caf *man/gtkTargetListAddUriTargets.Rd 12d9feaebc37f9db906ad678d8bd4ef3 *man/gtkTargetListFind.Rd 8a60c216bd52bf22a6f7e794d48cf5c3 *man/gtkTargetListNew.Rd dee86159388490efcb3c1b8fdd543c2a *man/gtkTargetListRemove.Rd db441d51e4aba4840eeb3f66ebceb895 *man/gtkTargetTableNewFromList.Rd 40a5ae08601e0aa3c317f07cc7a3c7be *man/gtkTargetsIncludeImage.Rd 2471e11cb4747f618ff41826f40554fc *man/gtkTargetsIncludeRichText.Rd 14274b3749b45b9d80322e130dcca367 *man/gtkTargetsIncludeText.Rd e0dc7f322797a3d50bc4589a60fb31e5 *man/gtkTargetsIncludeUri.Rd 2aefc0cd0f8b3ed4a22b8ad892de0049 *man/gtkTearoffMenuItemNew.Rd 9af13677d784410be22ebe42142dafd3 *man/gtkTestFindLabel.Rd 0d80d7dbbdaa9eb56d58783d2730f427 *man/gtkTestFindSibling.Rd 3b080b8712fd976738a4e502fb2a36e4 *man/gtkTestFindWidget.Rd 4cfe9ec6571ef654b9c270bc52104328 *man/gtkTestListAllTypes.Rd 55b290b10517fdd8ce8cb3af07da0630 *man/gtkTestRegisterAllTypes.Rd 1a795eba1cdfd04121eec64f615356a7 *man/gtkTestSliderGetValue.Rd 8e3e57e933bb915617ab106ca8eca46a *man/gtkTestSliderSetPerc.Rd 1892b556e9a9f76328812af5c373696f *man/gtkTestSpinButtonClick.Rd 0a73bb3fee67e15f541f2bff38eb12d8 *man/gtkTestTextGet.Rd ac7f163872ae9f6723266fefcd34d8c0 *man/gtkTestTextSet.Rd 464e23faccd907b29d359861526a2191 *man/gtkTestWidgetClick.Rd f8780e95ddeebbb48c465722082ae303 *man/gtkTestWidgetSendKey.Rd 986b619eda523f4d1892cc9e5c54f844 *man/gtkTextAttributesCopy.Rd a8d32f7f21cece4dea1f5cffa0bf4da9 *man/gtkTextAttributesCopyValues.Rd 004d2f00b41ca379029d2f752c19e338 *man/gtkTextAttributesNew.Rd 9fb88f201305b65a73ab4a2dacf2e65d *man/gtkTextBufferAddMark.Rd 43b659fc604a9336608b2b3e9e697d2d *man/gtkTextBufferAddSelectionClipboard.Rd e39516a6bd3fa1624d9d53728873daea *man/gtkTextBufferApplyTag.Rd b19bc91b6d19d04b9a458b424e80e842 *man/gtkTextBufferApplyTagByName.Rd f70904ded89bf3aa4fc3875dc2ab28b2 *man/gtkTextBufferBackspace.Rd de3afbeba379f5786667c53ad96b617a *man/gtkTextBufferBeginUserAction.Rd 4124dff713136894cff8d70d34552edc *man/gtkTextBufferCopyClipboard.Rd b5e30a519253bcea7ff5d271a5fe58f4 *man/gtkTextBufferCreateChildAnchor.Rd 1f1bc09da134e535513dba4eead077e6 *man/gtkTextBufferCreateMark.Rd e017acc1a5514cfa5ad89f29e80b3060 *man/gtkTextBufferCreateTag.Rd f8924599f400430521fc9654bcc74823 *man/gtkTextBufferCutClipboard.Rd 6affa69424d776c247bd8ee71bb7d59b *man/gtkTextBufferDelete.Rd 22d1f827a81f43b56db883050cf3a9b3 *man/gtkTextBufferDeleteInteractive.Rd e694293cbf33e534e9143160f4793aae *man/gtkTextBufferDeleteMark.Rd 8fcbbe4ecbad3af3642c0ddc1971f433 *man/gtkTextBufferDeleteMarkByName.Rd fc4bb1fdd44517a9e6e2d1af34aa8884 *man/gtkTextBufferDeleteSelection.Rd 16b68446f126bef7f6cc34a2e0e675d2 *man/gtkTextBufferDeserialize.Rd b21edb5cce33594bde0bf7bbe8aef992 *man/gtkTextBufferDeserializeGetCanCreateTags.Rd fbe16cb937e860486d7161de296409dd *man/gtkTextBufferDeserializeSetCanCreateTags.Rd 48fdce3d7bbd16eaebd07616e4ca85b2 *man/gtkTextBufferEndUserAction.Rd 48adac3cac88e75c5f2bda2b69069547 *man/gtkTextBufferGetBounds.Rd d63adc53a87d58dd358f6856ddbe4bb7 *man/gtkTextBufferGetCharCount.Rd 85cd95152eecfb57ded547f1f2c57e83 *man/gtkTextBufferGetCopyTargetList.Rd 1a4a8013b47784b0b83462b74946b85e *man/gtkTextBufferGetDeserializeFormats.Rd d6ab18789b11ec07d6f71e79684a76ca *man/gtkTextBufferGetEndIter.Rd dfc2528ef5a59043766a37a4aad68efc *man/gtkTextBufferGetHasSelection.Rd f366a66cfbb1778b1876d6af2be26742 *man/gtkTextBufferGetInsert.Rd 031a574723d82ad349ee123ac851a348 *man/gtkTextBufferGetIterAtChildAnchor.Rd 42d314cf0dddde0307e37fddde6170fc *man/gtkTextBufferGetIterAtLine.Rd 5ea68669758aff8fdf8b3884144bcd22 *man/gtkTextBufferGetIterAtLineIndex.Rd d18b4bef7e161623444bcb748ba5aff5 *man/gtkTextBufferGetIterAtLineOffset.Rd 26b26bc5e46d6d22412828bde604c22d *man/gtkTextBufferGetIterAtMark.Rd b9651b6f1aa1765389113fe72ac06a0d *man/gtkTextBufferGetIterAtOffset.Rd 39d65f7f7547566b3782da94288a1ac1 *man/gtkTextBufferGetLineCount.Rd 08ced7aeafd9ea42b9a203d76299e23a *man/gtkTextBufferGetMark.Rd faaf1db5d92cc721baaadaaaf0e965b1 *man/gtkTextBufferGetModified.Rd 66bfb4510d84eed9015c9367e29d592c *man/gtkTextBufferGetPasteTargetList.Rd 2289812ebb7adb3c60e1ab306ff6e5a9 *man/gtkTextBufferGetSelectionBound.Rd 858eca7ffdb8e1f8092aca3793030081 *man/gtkTextBufferGetSelectionBounds.Rd 6afcc67ac1524de47082b2aa817f088e *man/gtkTextBufferGetSerializeFormats.Rd 95b474f2faf3f13ed4c85afc25e58145 *man/gtkTextBufferGetSlice.Rd 11914ffae1f5e1da654936ddba537cc6 *man/gtkTextBufferGetStartIter.Rd cb7028cdb9f163c9cec4332f134186a9 *man/gtkTextBufferGetTagTable.Rd de47a365c777f6574fd6bb5dec2f9b6d *man/gtkTextBufferGetText.Rd d6d6151302a483e70c8d77651c8a1fe2 *man/gtkTextBufferInsert.Rd cfb6cf2d11e26d4981777c044db2494b *man/gtkTextBufferInsertAtCursor.Rd d0c990cc4157f657b2214c2292d69e31 *man/gtkTextBufferInsertChildAnchor.Rd e2359a93e27383e343fc56c4e1668648 *man/gtkTextBufferInsertInteractive.Rd d2a75ef872433e4e5e522269ed2d4b29 *man/gtkTextBufferInsertInteractiveAtCursor.Rd 6f3bd6357005035c666b21a567e280bd *man/gtkTextBufferInsertPixbuf.Rd 0cdb19d967c950e07ce528e07d5067d9 *man/gtkTextBufferInsertRange.Rd 1eea6f66a46f283108d4d61f03a879c3 *man/gtkTextBufferInsertRangeInteractive.Rd cb4c6be9039473e26d1686938351b36e *man/gtkTextBufferInsertWithTags.Rd a69e496416a46eb53a463692b6b82491 *man/gtkTextBufferInsertWithTagsByName.Rd 389dbf923dc565f3be3f075d48b461f2 *man/gtkTextBufferMoveMark.Rd 3add9f2c824c82cafa23fe08aac02d8e *man/gtkTextBufferMoveMarkByName.Rd ae329d838e6fcbb6a6416e97d02d0592 *man/gtkTextBufferNew.Rd 09f44dea87b1b64069201a3a7fd7b8c2 *man/gtkTextBufferPasteClipboard.Rd fd2691d824336409e3b462089c0b11a1 *man/gtkTextBufferPlaceCursor.Rd f65307fc19498788a5cdb9cd860e540a *man/gtkTextBufferRegisterDeserializeFormat.Rd 4ffd2073ca09be1bb227ad71d9239c56 *man/gtkTextBufferRegisterDeserializeTagset.Rd 47c6eebe76219bcc5ff469e2ff527209 *man/gtkTextBufferRegisterSerializeFormat.Rd 32ee7f1cd95ea8d12740c60016b0ce07 *man/gtkTextBufferRegisterSerializeTagset.Rd ee9be847b244ea3a24c37b81ffc4af70 *man/gtkTextBufferRemoveAllTags.Rd e95786f84438e854f831978c760c89e7 *man/gtkTextBufferRemoveSelectionClipboard.Rd 4fe60086b2eb2e00b66ef068f10a4b62 *man/gtkTextBufferRemoveTag.Rd df483550146c9ddda4002bc6f3f3e0d4 *man/gtkTextBufferRemoveTagByName.Rd 071f9fa995cea3d6041124093f919223 *man/gtkTextBufferSelectRange.Rd 5cbd870b832127017e28b2334456f027 *man/gtkTextBufferSerialize.Rd 625e38468fc18802e720b3b3b1a49950 *man/gtkTextBufferSetModified.Rd faf597afef2a1822875485b2abe42e69 *man/gtkTextBufferSetText.Rd e5f68e3dd42cbae8b230a90c88e402ae *man/gtkTextBufferUnregisterDeserializeFormat.Rd 3766cf5aeae68baeb514635e7a75d6e6 *man/gtkTextBufferUnregisterSerializeFormat.Rd 2bc035c93198d7a1bca3d6fda8000f95 *man/gtkTextChildAnchorGetDeleted.Rd 2a8f6e486cbe516e848fe192531378e4 *man/gtkTextChildAnchorGetWidgets.Rd f8ac6ed171533b246be86c85ad4aa360 *man/gtkTextChildAnchorNew.Rd 0e8d9b6bcb32866977a662ff6b195774 *man/gtkTextIterBackwardChar.Rd 9ea426a1cd5bc13ea773efa6c98e6f74 *man/gtkTextIterBackwardChars.Rd 0f6537b62e1d1b6daf3e69a90b121a05 *man/gtkTextIterBackwardCursorPosition.Rd 2ac7b5bc16417ed8d1b2da694bcc4c3a *man/gtkTextIterBackwardCursorPositions.Rd 4a1a30c9a3e40469d5980b3a8160c116 *man/gtkTextIterBackwardFindChar.Rd a6e2fb1d7b8e08b0df98c73dc35fffaf *man/gtkTextIterBackwardLine.Rd 25574446b5b65190ec82dd45686e7f64 *man/gtkTextIterBackwardLines.Rd 8354e31edea5974f3dfd8ec1abea73a0 *man/gtkTextIterBackwardSearch.Rd f6b301a07fb0f1becd386ff6c6d59b03 *man/gtkTextIterBackwardSentenceStart.Rd 291f6b366b0f3c7de0d72e285f4e39da *man/gtkTextIterBackwardSentenceStarts.Rd e51f800f0fd43c99d215e10cd5620bc9 *man/gtkTextIterBackwardToTagToggle.Rd 906827d596fcbafd163d5bb54694b2ca *man/gtkTextIterBackwardVisibleCursorPosition.Rd ec7fdaaa72ce4c76a032c15af19a239b *man/gtkTextIterBackwardVisibleCursorPositions.Rd 8674feb15ce7376cde09aaf79704a4f7 *man/gtkTextIterBackwardVisibleLine.Rd 92d912313af6be937de8e912c4f93f3a *man/gtkTextIterBackwardVisibleLines.Rd dd487abcbaa08d90f6ba35ecd236c2e2 *man/gtkTextIterBackwardVisibleWordStart.Rd 67d856afa5de1b3733af3e0e6854257c *man/gtkTextIterBackwardVisibleWordStarts.Rd bed9a04f4800e5b6c3100b1e3595019e *man/gtkTextIterBackwardWordStart.Rd 0d25c7013a3be4d47d5789674867bf14 *man/gtkTextIterBackwardWordStarts.Rd 7a29bcaec06988d0de8d526833d85eeb *man/gtkTextIterBeginsTag.Rd d757d146ed7d4d8d5d34e142ea8db9fd *man/gtkTextIterCanInsert.Rd 28a7daefb6c6770f220ad249cdfd3264 *man/gtkTextIterCompare.Rd 3773aaa3976ff35c9781584988dc5d42 *man/gtkTextIterCopy.Rd 1ad0b38aae8092186ce77a835012b89b *man/gtkTextIterEditable.Rd 665a3def0492e56fcc418daf35e58b40 *man/gtkTextIterEndsLine.Rd ded3134b831770ebfbd80b76190cf995 *man/gtkTextIterEndsSentence.Rd 74a5fa96ca54baac5463dfdd6e96b5f3 *man/gtkTextIterEndsTag.Rd a2ca637bdd3c03f849e3a11671c1104e *man/gtkTextIterEndsWord.Rd c41b506960c8191082c48ebc69fc2440 *man/gtkTextIterEqual.Rd e6455c050eb73f3d9919edb32c0dd8a7 *man/gtkTextIterForwardChar.Rd 786e07e72be37bdec9cfccf6fa4612f6 *man/gtkTextIterForwardChars.Rd 7434e218a68c4eb70ac609e9e6921b32 *man/gtkTextIterForwardCursorPosition.Rd 7aba714741b83f63c6de79737893b77b *man/gtkTextIterForwardCursorPositions.Rd 8bf445af53188605aca9eda4aa969ed5 *man/gtkTextIterForwardFindChar.Rd 592ef5dd57cc162ec4b9d4da407ec3f6 *man/gtkTextIterForwardLine.Rd b3570f7d456f1319c67df572e18d3f2f *man/gtkTextIterForwardLines.Rd fe6f5ad56e9593f5f5e3a654a2b7a975 *man/gtkTextIterForwardSearch.Rd 035f1b11401370c077dec3ef4612243a *man/gtkTextIterForwardSentenceEnd.Rd 967e80d312c8875ed4f0c4154cb4b19a *man/gtkTextIterForwardSentenceEnds.Rd 139fdb0ed72a765567fae65e927a998b *man/gtkTextIterForwardToEnd.Rd 3dd7601c6ce32f59655b69216c9b8c70 *man/gtkTextIterForwardToLineEnd.Rd f377de8cd9fde03a0ba9b8ae725742ac *man/gtkTextIterForwardToTagToggle.Rd bd4b01f0d83de6ddcc6fc19ce46ff991 *man/gtkTextIterForwardVisibleCursorPosition.Rd 5d9ab11bec8be9960b2432370c18ba46 *man/gtkTextIterForwardVisibleCursorPositions.Rd cbb6c8e6a2c4549248a7c2928c197b46 *man/gtkTextIterForwardVisibleLine.Rd a0aefee9ff42a3a929c14d98dd51066f *man/gtkTextIterForwardVisibleLines.Rd 78d2e415e75008a0edfaf1d992a5db13 *man/gtkTextIterForwardVisibleWordEnd.Rd 523f1d263f7f00786e6773e381a5067e *man/gtkTextIterForwardVisibleWordEnds.Rd d1cf156fc55abdb4ba85dcc7580ebd75 *man/gtkTextIterForwardWordEnd.Rd 826d351d882bf75d9795fb77f381eacd *man/gtkTextIterForwardWordEnds.Rd 0ca8e1ed779b263c53c1df792bd1c7a9 *man/gtkTextIterGetAttributes.Rd f71c15e4cd31c0c3864912c3582087d0 *man/gtkTextIterGetBuffer.Rd a9dbff1ba1e654e041f7ea34b33295e4 *man/gtkTextIterGetBytesInLine.Rd 9ae7794d8bbd273af586aab8b04bb7c1 *man/gtkTextIterGetChar.Rd 29176f00348ae7658d9688ea7e776fa3 *man/gtkTextIterGetCharsInLine.Rd 5c804c3f9fd2b9486d49f5285638334c *man/gtkTextIterGetChildAnchor.Rd e2b3d53e8c76816b3f494bbd6f72e158 *man/gtkTextIterGetLanguage.Rd 86ef505d76bbdba804f057da8dd9b8e4 *man/gtkTextIterGetLine.Rd 7370b36648cd8fa9153dfa5e2e59d200 *man/gtkTextIterGetLineIndex.Rd c194858945482f5daece7169b4746e62 *man/gtkTextIterGetLineOffset.Rd 1eb1f1db0d54cf60b217001fd9009321 *man/gtkTextIterGetMarks.Rd 98ba46f1caf9b1f8d827d0504bf3ad70 *man/gtkTextIterGetOffset.Rd 25a88a9ce93db78a2b394dc8bfaf3a94 *man/gtkTextIterGetPixbuf.Rd 680522ce3c1cae18cdcb98567644c7d7 *man/gtkTextIterGetSlice.Rd 0e7dca7e12396f542ef3feb36ac42fd3 *man/gtkTextIterGetTags.Rd 1a2469614957c7db3740e4645d4fb7ce *man/gtkTextIterGetText.Rd 18a5e73233d20b64b83e0859ead02327 *man/gtkTextIterGetToggledTags.Rd 59a116729bc045f2354202802c9f6071 *man/gtkTextIterGetVisibleLineIndex.Rd f27b00570c7884a7b06e59c9480a0133 *man/gtkTextIterGetVisibleLineOffset.Rd 967067ebb68f7694be11ecc09905636b *man/gtkTextIterGetVisibleSlice.Rd 61ed47882e272297861cf24af8529801 *man/gtkTextIterGetVisibleText.Rd 7048040e70477759ca190e742628ff1e *man/gtkTextIterHasTag.Rd 67f206b285b593fe66ac1ddb4f65f3ef *man/gtkTextIterInRange.Rd 04a2aa870c7f1d3a9de82b200e06fe8c *man/gtkTextIterInsideSentence.Rd 2e365850ff98c1622b35a4b1e925e038 *man/gtkTextIterInsideWord.Rd 0d721f94a3596f08eec2042d4b342ac9 *man/gtkTextIterIsCursorPosition.Rd e359af21c36d6ee2aa56247d88d80561 *man/gtkTextIterIsEnd.Rd 98d1b41a95ef0dd7d7147d02336878e4 *man/gtkTextIterIsStart.Rd 286a7a76705a9050371413cad56416d0 *man/gtkTextIterOrder.Rd 3e91fe2ca5c9030dc8567ba55dd2cea9 *man/gtkTextIterSetLine.Rd 25d898119c98a8064d2a309e1ae08e31 *man/gtkTextIterSetLineIndex.Rd 36e3de2e5b86d1e65223cd4d5423dc03 *man/gtkTextIterSetLineOffset.Rd 508a86f041861be1312c60a099887efb *man/gtkTextIterSetOffset.Rd 7695a7806424ad858a0dc6bbe16325b9 *man/gtkTextIterSetVisibleLineIndex.Rd 57f1c877a4100c7d88d26feeb1edf4ac *man/gtkTextIterSetVisibleLineOffset.Rd d3b275929a1c7bc1e76f433cd7d54454 *man/gtkTextIterStartsLine.Rd b4e5dea15bb6ac2dd84309116d7ac197 *man/gtkTextIterStartsSentence.Rd 54d6b8ef8e43ccdb20b7505304725ca4 *man/gtkTextIterStartsWord.Rd 2fd127fbe4a9db4f7ce6d8cc5df163e9 *man/gtkTextIterTogglesTag.Rd 5b820e0a7f7855d0c597abb388859c61 *man/gtkTextMarkGetBuffer.Rd f87f11e3e1f1afbba72d4b71dfae60ee *man/gtkTextMarkGetDeleted.Rd 501861a24f56b5f85abcf985e14aac01 *man/gtkTextMarkGetLeftGravity.Rd 87faa856034f8faf12bfb9e7c3ffb740 *man/gtkTextMarkGetName.Rd 22c76ddc5a77788630e2841eb68fb2fd *man/gtkTextMarkGetVisible.Rd fbfd52df3cd822411e7ecf80aaf4a4a1 *man/gtkTextMarkNew.Rd ebfcf3651b78fac374c2275d03691c28 *man/gtkTextMarkSetVisible.Rd 9198f4d6c78fadf2546d2f0f599426eb *man/gtkTextTagEvent.Rd 2ed1beaa80874754ec4889a58c42626b *man/gtkTextTagGetPriority.Rd 068c6a32adc7d2ef6d94c40509e59a31 *man/gtkTextTagNew.Rd 5dc31a71117cd7e92d3b28b7d34da7a6 *man/gtkTextTagSetPriority.Rd 001dc3a4d32c86a884edaa1bfba7ab2b *man/gtkTextTagTableAdd.Rd 6bab892c4f386d1346975356957acc4f *man/gtkTextTagTableForeach.Rd e8335c9b29857d9a553cf78718afb8f8 *man/gtkTextTagTableGetSize.Rd c2687a7a6677338a86000c0a2e9b8142 *man/gtkTextTagTableLookup.Rd 2bf86c214cfe97efdba8b8948de5b074 *man/gtkTextTagTableNew.Rd 9ce9cc626af39b0d5d0890f9e4bfe631 *man/gtkTextTagTableRemove.Rd 9fedfa0e38e2f97075dd54adc069558d *man/gtkTextViewAddChildAtAnchor.Rd 78888d5586a8e80ac2b26c4a159c7193 *man/gtkTextViewAddChildInWindow.Rd c9cfec06530e2cce2ec3bd7464091617 *man/gtkTextViewBackwardDisplayLine.Rd 0fdd4e799a07ff4e32e8d78275774165 *man/gtkTextViewBackwardDisplayLineStart.Rd c172f53f105d87d3760fcaa4641a43b8 *man/gtkTextViewBufferToWindowCoords.Rd baa92aadbc3385d5db2f504db119b9d6 *man/gtkTextViewForwardDisplayLine.Rd 36c1b5c58f041b9e7e27bfc9902f04bc *man/gtkTextViewForwardDisplayLineEnd.Rd 95054d014b56f3d43acd4be25ccb6985 *man/gtkTextViewGetAcceptsTab.Rd a3d9ca946203f48528130d5da1478a21 *man/gtkTextViewGetBorderWindowSize.Rd e3b5f4d3fbc9781f3532456639332952 *man/gtkTextViewGetBuffer.Rd f8f1eff9b37d677200b64f5646139705 *man/gtkTextViewGetCursorVisible.Rd ade29d1f3a4fb63a224331246d46c7de *man/gtkTextViewGetDefaultAttributes.Rd 0006554c2a3ab415655ea8e738861bd7 *man/gtkTextViewGetEditable.Rd 61ef9887905bf0b39d51275569687b79 *man/gtkTextViewGetIndent.Rd 5da05a844f34c3100f378a379bc1b1bd *man/gtkTextViewGetIterAtLocation.Rd 2fec2a684396f06b7a8d6343e60c261e *man/gtkTextViewGetIterAtPosition.Rd eeda66c458c2373739a9a5025eb309cd *man/gtkTextViewGetIterLocation.Rd 3b99f409cb93aa8292e11273020ea79e *man/gtkTextViewGetJustification.Rd f423861ab9d88737de62c61941d37f56 *man/gtkTextViewGetLeftMargin.Rd d3663c56e3bd9dc0150d0c13c8af5581 *man/gtkTextViewGetLineAtY.Rd 96351876218976600a5471b65bc9777a *man/gtkTextViewGetLineYrange.Rd 0371c98c0430f40ee460cb32a89e3128 *man/gtkTextViewGetOverwrite.Rd 3725e6e75692b08197d9a4be1b086621 *man/gtkTextViewGetPixelsAboveLines.Rd 34e0eaa9bd1f0ff473a4faadbf9529c3 *man/gtkTextViewGetPixelsBelowLines.Rd e9aa5e4446592f2990cb4c30b660b5af *man/gtkTextViewGetPixelsInsideWrap.Rd 17fb1763a68bf018333a67a22e2f1338 *man/gtkTextViewGetRightMargin.Rd 5c506cc96b6db244dde545aac45025b2 *man/gtkTextViewGetTabs.Rd b8a2e74669f37c0175c5ca635bddc93f *man/gtkTextViewGetVisibleRect.Rd efd6cf2710a7f6fc5d0e693133e42ac9 *man/gtkTextViewGetWindow.Rd e76ddbf780ed1bd079058da01e2cfd3d *man/gtkTextViewGetWindowType.Rd bf38257472a92c5dab52eff96fc23b05 *man/gtkTextViewGetWrapMode.Rd aee2c69254564461a000acfab7df3ad2 *man/gtkTextViewMoveChild.Rd 87a5e004889b556cf683f6c84c15412b *man/gtkTextViewMoveMarkOnscreen.Rd 832fead7cf8dc29c1e703f0060375bf7 *man/gtkTextViewMoveVisually.Rd d44857b2c53f886cd1ec8f682113ff2e *man/gtkTextViewNew.Rd 847e96730ef855816ef0632dec9138a5 *man/gtkTextViewNewWithBuffer.Rd 353eb2d0e2df633340dee1c08a958d88 *man/gtkTextViewPlaceCursorOnscreen.Rd 156d10c2c48e5c6855ca4723a3643c81 *man/gtkTextViewScrollMarkOnscreen.Rd 67a7881b30f929e721802fa38f272309 *man/gtkTextViewScrollToIter.Rd f7fdf3ed75a5842822e83038c224e01a *man/gtkTextViewScrollToMark.Rd d34139a83f3aa2a1a8188106b518467a *man/gtkTextViewSetAcceptsTab.Rd 8090f51754aaab9bd96003618832fbaa *man/gtkTextViewSetBorderWindowSize.Rd e0be26e2fe5b8c51c3e5d2f26b62af18 *man/gtkTextViewSetBuffer.Rd bf7955a631d0dec6bdef437cd65ebcaf *man/gtkTextViewSetCursorVisible.Rd c7d6a48d6ce93334e1e4bb89d7879e0a *man/gtkTextViewSetEditable.Rd 84b443de9973d170bf8ee846708f8e05 *man/gtkTextViewSetIndent.Rd 629eb7157496a7a40a8f88b5e7c5e90d *man/gtkTextViewSetJustification.Rd 91eb65825923ca3a247351c6cc78b42a *man/gtkTextViewSetLeftMargin.Rd 294815a19e46b6993bbf067f73381ff6 *man/gtkTextViewSetOverwrite.Rd 95edb4a13b09d2db640106270787fe9c *man/gtkTextViewSetPixelsAboveLines.Rd cfa19254fb77cc3cd0e9048e5729750a *man/gtkTextViewSetPixelsBelowLines.Rd 34adc14b2abdfd32f8c47d399801b0ef *man/gtkTextViewSetPixelsInsideWrap.Rd 76daea3297421f2a7471d7f34302a6f1 *man/gtkTextViewSetRightMargin.Rd 1882f8b29eabae23bc78d1d4cb9192b6 *man/gtkTextViewSetTabs.Rd 9ebfbe2c5c46117aaa876357708a8025 *man/gtkTextViewSetWrapMode.Rd 89e5999afdc21a737853eeab2d229b70 *man/gtkTextViewStartsDisplayLine.Rd f441d93c0783a28178dbd2051d6de368 *man/gtkTextViewWindowToBufferCoords.Rd 2b16419e6c53f83f0b6cb09578c4516c *man/gtkTimeoutAdd.Rd 681b376301c9cf74b8224c34c60501a6 *man/gtkTimeoutAddFull.Rd eb43d7771fb71e46d0b4133d9c375ca5 *man/gtkTimeoutRemove.Rd 90f9cd6501b86c653ef1f9b11d4ceb41 *man/gtkTipsQueryNew.Rd f5ae878473523a83eeeadc3733e503dd *man/gtkTipsQuerySetCaller.Rd 9b9acdb76c8e2d27474cc712f613f5a9 *man/gtkTipsQuerySetLabels.Rd e195f08c74938f73dd9e3cf67b4fdf3c *man/gtkTipsQueryStartQuery.Rd 155317b3761a4e9c1492d7ae1287c069 *man/gtkTipsQueryStopQuery.Rd 322b239cac7bd570242799aa0467d10a *man/gtkToggleActionGetActive.Rd 87417afd7ab07a8d57bd5dc2106e2921 *man/gtkToggleActionGetDrawAsRadio.Rd cf79cadcdbe836443c673bdb5fca17e8 *man/gtkToggleActionNew.Rd ddab5157b222807ad66b82e572021366 *man/gtkToggleActionSetActive.Rd 7735b2ee6ef05af3ae46fb916f445ec5 *man/gtkToggleActionSetDrawAsRadio.Rd 747507cc49f9eb597a9ef1677348d1bf *man/gtkToggleActionToggled.Rd dd512ba1a7071d3318855d83f31cbb8b *man/gtkToggleButtonGetActive.Rd 324dde463858f72e9ddb955f93b14c25 *man/gtkToggleButtonGetInconsistent.Rd fe3f67017e495ebd410ad7474d461050 *man/gtkToggleButtonGetMode.Rd 372165c7ab1a9f84c9c81042f3a4ed2d *man/gtkToggleButtonNew.Rd 4ab4600b258943fdc0ad90b2fc866ddc *man/gtkToggleButtonNewWithLabel.Rd 93d74467769215b3b9561d85f761b702 *man/gtkToggleButtonNewWithMnemonic.Rd 0cadeacbda15a50546615e64e5b834b6 *man/gtkToggleButtonSetActive.Rd d37de91a43537a84662b705164bac11c *man/gtkToggleButtonSetInconsistent.Rd a4885abc3c70570b653591cc8c617fc5 *man/gtkToggleButtonSetMode.Rd 7fbeab23ffbc153810372ceba7b5e931 *man/gtkToggleButtonToggled.Rd 20630506ce7d66b31249e29e8c0a8917 *man/gtkToggleToolButtonGetActive.Rd 905a8c36bba64ca65f8193488772358a *man/gtkToggleToolButtonNew.Rd 1503491b5915ace6fa18f7792683aaf3 *man/gtkToggleToolButtonNewFromStock.Rd 3820bfbdf7e21b996d5a9674a7d5b094 *man/gtkToggleToolButtonSetActive.Rd e26ae598f07b78090113dd91cf288eb3 *man/gtkToolButtonGetIconName.Rd fdcf9a19c3c18138a142c829e5577ef7 *man/gtkToolButtonGetIconWidget.Rd af8aee9e251c3374aa496301256a981b *man/gtkToolButtonGetLabel.Rd d1b502d1e024883cf09104ad7a186bfb *man/gtkToolButtonGetLabelWidget.Rd 4e4ecda1f1c5709b50e974ef4e440b04 *man/gtkToolButtonGetStockId.Rd 056d571f02ba52937a52d1318bb42fbd *man/gtkToolButtonGetUseUnderline.Rd a627d8474cdab0394258c59916693512 *man/gtkToolButtonNew.Rd 2f5ec8f1bcd35b264661e550151a65d7 *man/gtkToolButtonNewFromStock.Rd ef29d8e21fb450a78239095495263130 *man/gtkToolButtonSetIconName.Rd c5d4da729b38cf85a9f23b53492a4b6d *man/gtkToolButtonSetIconWidget.Rd df352cb6cf2d2c1ec881c2b91315a7d2 *man/gtkToolButtonSetLabel.Rd 6f2cfd14007c9a55957e0046c89bd053 *man/gtkToolButtonSetLabelWidget.Rd ed6daf16f355e6d34a8dc1e4312d6322 *man/gtkToolButtonSetStockId.Rd 416a91024e70b68cd33b2adbc141a69c *man/gtkToolButtonSetUseUnderline.Rd 91bd59a339a030bb882579af7f89e578 *man/gtkToolItemGetEllipsizeMode.Rd 9009b7e3010e3785dac5d3ae6065b8ec *man/gtkToolItemGetExpand.Rd bb925ca0d3025cf5043fc0a0161b00b7 *man/gtkToolItemGetHomogeneous.Rd b8c4dfd19ae9c610c0c2a65d9bbe2ca6 *man/gtkToolItemGetIconSize.Rd 73f043786597af5de43f3e03ac087566 *man/gtkToolItemGetIsImportant.Rd ecf49a598c5717cb3dbf8a90e1e638d3 *man/gtkToolItemGetOrientation.Rd fe7a621b6e03f41044307e7a9bbdc6c0 *man/gtkToolItemGetProxyMenuItem.Rd 0faf32da1405531228219403f579d849 *man/gtkToolItemGetReliefStyle.Rd 6f280b96d3c804f28c0dd01439e1bdc3 *man/gtkToolItemGetTextAlignment.Rd be9624e3e852962ba21c47665a0281fa *man/gtkToolItemGetTextOrientation.Rd a3df24e26ab73f8adc8b4278127cad5d *man/gtkToolItemGetTextSizeGroup.Rd 47b6c835904ee661affea1c5256c1a73 *man/gtkToolItemGetToolbarStyle.Rd 180100f0495a822f1ba19320e2451e38 *man/gtkToolItemGetUseDragWindow.Rd 1f46bf94855a5b034933b61e136d2871 *man/gtkToolItemGetVisibleHorizontal.Rd 0d0da4df0e305d823b004abd9cb82c86 *man/gtkToolItemGetVisibleVertical.Rd 22ce5523d37b8f87b24739827e334d07 *man/gtkToolItemGroupGetCollapsed.Rd a78a59e646f04d6647cfca44ae757fa9 *man/gtkToolItemGroupGetDropItem.Rd 4cefc8f8a2cd2b1098a8bdf6a9916734 *man/gtkToolItemGroupGetEllipsize.Rd ace3e19ad1482fb7effe4b3b341a267c *man/gtkToolItemGroupGetHeaderRelief.Rd 0214087bf18825806fcb826fe224a6ec *man/gtkToolItemGroupGetItemPosition.Rd 8caf5be42d0529240d2206c7d8909e60 *man/gtkToolItemGroupGetLabel.Rd 3a38bbde6a7247a315c658b26605125f *man/gtkToolItemGroupGetLabelWidget.Rd 6c4df38d0051e24727dcde68c304841b *man/gtkToolItemGroupGetNItems.Rd 18b790eb40eadaa585e36c0bdfc8ee87 *man/gtkToolItemGroupGetNthItem.Rd 65c72da57277d27a87cd01471381402b *man/gtkToolItemGroupInsert.Rd c0d313cbb9114b77c6b10d0f3958313a *man/gtkToolItemGroupNew.Rd 818e5708a848a7ec9b7bc30005c80d3c *man/gtkToolItemGroupSetCollapsed.Rd a30165bbe45215959045c79b528db994 *man/gtkToolItemGroupSetEllipsize.Rd b27039ea634358e8bd5025237cd17ce2 *man/gtkToolItemGroupSetHeaderRelief.Rd 938675fdd3d09548db77a03547a3fc9d *man/gtkToolItemGroupSetItemPosition.Rd f2e8b20a35148e5635b15e239ce3d71d *man/gtkToolItemGroupSetLabel.Rd 896a919da8f273b3b533e3234edd46ff *man/gtkToolItemGroupSetLabelWidget.Rd b77979da53667135666523266b0fb81d *man/gtkToolItemNew.Rd 636f8d8b292b28a0fe5e4b6ef6a588fd *man/gtkToolItemRebuildMenu.Rd 70ef8c4e9478723474fa74834cf8da9f *man/gtkToolItemRetrieveProxyMenuItem.Rd c5ea1f9050a03e739410df276578c6bf *man/gtkToolItemSetExpand.Rd 92a7e247a7669e7eeae0cb5deb2a7c11 *man/gtkToolItemSetHomogeneous.Rd edcc0710577ed9238b4476b7145914cd *man/gtkToolItemSetIsImportant.Rd 160fe3255941dfd072177b1efcf4cf24 *man/gtkToolItemSetProxyMenuItem.Rd afa5e546820de9a4997cde19eb3ae56c *man/gtkToolItemSetTooltip.Rd c04fe5a7fadb545adcb158bbac8ab473 *man/gtkToolItemSetTooltipMarkup.Rd d6e2d553df2dbd0d24d45341f261a443 *man/gtkToolItemSetTooltipText.Rd fba711f884faf46b51a4550c81c73b89 *man/gtkToolItemSetUseDragWindow.Rd 5277a6be173615e90e5ff6da25b5d0e9 *man/gtkToolItemSetVisibleHorizontal.Rd eaf30608df0ebdbc50f98c87e1eca545 *man/gtkToolItemSetVisibleVertical.Rd e4925e329f544b35a133971bd59777ed *man/gtkToolItemToolbarReconfigured.Rd 8eded9b5676979993608e852fc1b037c *man/gtkToolPaletteAddDragDest.Rd 202ba866202c29136cce01db7fd9cb8e *man/gtkToolPaletteGetDragItem.Rd 1302c8ac3b20af95a645621ef2f40638 *man/gtkToolPaletteGetDragTargetGroup.Rd 8ee986a9bdab12471bf5b548d6d88782 *man/gtkToolPaletteGetDragTargetItem.Rd c5fe74c5683ee01faf54303d79461301 *man/gtkToolPaletteGetDropGroup.Rd 7550f8defe72c6bdef5256296a0f8512 *man/gtkToolPaletteGetDropItem.Rd 02024aaa507060bb38fc15ab4d78537c *man/gtkToolPaletteGetExclusive.Rd 9f1d5f6d94ddcce78f21440fe65707b4 *man/gtkToolPaletteGetExpand.Rd 3c90a02017e32711d9d95fcdd879b3c5 *man/gtkToolPaletteGetGroupPosition.Rd 5845cb9e8a4e09217394d5f88868d32b *man/gtkToolPaletteGetHadjustment.Rd b767d58fc553c0961de28ae685b58e3b *man/gtkToolPaletteGetIconSize.Rd 07b01ae97ff3be4538ff18aa13be8fe1 *man/gtkToolPaletteGetStyle.Rd 7c2a75567b0e07ebf267ba31b1e00895 *man/gtkToolPaletteGetVadjustment.Rd 4d2beec8c941549a71a1a108149578d0 *man/gtkToolPaletteNew.Rd afea4a28e58e9c19a4995feedc9ab7aa *man/gtkToolPaletteSetDragSource.Rd 4ee55b21f0ab9f955864c4cdac5ec818 *man/gtkToolPaletteSetExclusive.Rd 58e64f5dcd1694812cef069a5f15942e *man/gtkToolPaletteSetExpand.Rd 252a13874d11cc93a11f4bf5d0f2d514 *man/gtkToolPaletteSetGroupPosition.Rd f912ff28c3ba97dc15ba89c63a3054ec *man/gtkToolPaletteSetIconSize.Rd 239537177846e031cc2fea753121da5f *man/gtkToolPaletteSetStyle.Rd 56502f407a787976618e425c1f3dbfe2 *man/gtkToolPaletteUnsetIconSize.Rd 14a5dd8925b55f4655990f5201c22dc5 *man/gtkToolPaletteUnsetStyle.Rd 1a91e8e765b20d792fa7c9ce39997d7e *man/gtkToolShellGetEllipsizeMode.Rd 60a895b553f4abcd69839913a6056159 *man/gtkToolShellGetIconSize.Rd 4fdb42fd11139d8e3230f7064b73a655 *man/gtkToolShellGetOrientation.Rd ccf6b307d2482ab3de1fd8cccf50e06a *man/gtkToolShellGetReliefStyle.Rd fa123336eec694558b299115e5c7b078 *man/gtkToolShellGetStyle.Rd 60efc17692c4b81f2e8e63af49975c76 *man/gtkToolShellGetTextAlignment.Rd 442f66ea02bb18eced449ead9ffe5fcc *man/gtkToolShellGetTextOrientation.Rd e5a65d36fb90dc5cfe7932d1ae35fdf0 *man/gtkToolShellGetTextSizeGroup.Rd 141f436e62c99e4b19d8be7c89a52aa7 *man/gtkToolShellRebuildMenu.Rd d7d28bb5abbc1d42450f241e0485d7b2 *man/gtkToolbarAppendElement.Rd 89ad7b3b50c7441f2b28612573caa851 *man/gtkToolbarAppendItem.Rd 9ea7d39edc3c8e255b94f5c13c19da70 *man/gtkToolbarAppendSpace.Rd 53a71290f08d6d8e02178d95db163a44 *man/gtkToolbarAppendWidget.Rd 3d3bfbf4dd64a9d4a8cb7c6713101cf6 *man/gtkToolbarGetDropIndex.Rd 370406e70fdfc2ae2ef3db67ca7fd2d2 *man/gtkToolbarGetIconSize.Rd 8baa3011de48e6dcdcdf435f7ab3ce63 *man/gtkToolbarGetItemIndex.Rd 368509a662173f851786e9b97542898d *man/gtkToolbarGetNItems.Rd 2b34ffc9ee46e03e6dd03b65c20bb9ad *man/gtkToolbarGetNthItem.Rd 0bade8dc885cd47d4f33f4d5ecfec944 *man/gtkToolbarGetOrientation.Rd 511ceb026eae42aac73cba3b471abb12 *man/gtkToolbarGetReliefStyle.Rd 5815aa61fce268ab45dcff6b4d7abff6 *man/gtkToolbarGetShowArrow.Rd 8b4e713befa17b9da4a47653c935f3b6 *man/gtkToolbarGetStyle.Rd 4c0924889feeeb833126f889c7f422ab *man/gtkToolbarGetTooltips.Rd 3fb545a12e9381b76852677510e1bc92 *man/gtkToolbarInsert.Rd ce5f436cc9f4f04d0a3a184c59b1a6d9 *man/gtkToolbarInsertElement.Rd 3bedc97013326586574b69fdf23ea3d1 *man/gtkToolbarInsertItem.Rd 2e70678210cae2a7505a855b7d6183c0 *man/gtkToolbarInsertSpace.Rd 799c7e10288f741909abff26092ddeda *man/gtkToolbarInsertStock.Rd 11dd394fa2e4bbb7aa0eeab44049da01 *man/gtkToolbarInsertWidget.Rd cf97fbf2043f5620044007c9a56c5fad *man/gtkToolbarNew.Rd 672b0ce06de4b1ba3888c5e4c146455c *man/gtkToolbarPrependElement.Rd 524ba8cf51b13afeb28bcd321e85772f *man/gtkToolbarPrependItem.Rd bacc1e8a667c8b3df1c53d262dea4a4d *man/gtkToolbarPrependSpace.Rd d3201ae44e89c60caad23bf872bb5397 *man/gtkToolbarPrependWidget.Rd a8921b2fd99a9447b2360e640ac2b6a6 *man/gtkToolbarRemoveSpace.Rd 645e4b8d01bf1d5a921bec92f3efdbac *man/gtkToolbarSetDropHighlightItem.Rd 661a8c829f5ec166c28e5ecad58db78b *man/gtkToolbarSetIconSize.Rd eae8b3e01c9254d6685a40b1e807ef9b *man/gtkToolbarSetOrientation.Rd f250d951bf0469fb19805557d85f9ed0 *man/gtkToolbarSetShowArrow.Rd f52ab2da2680df5e746fa57ada5efe54 *man/gtkToolbarSetStyle.Rd 6f69d8d82b43ce9dcca7da98da5881e8 *man/gtkToolbarSetTooltips.Rd 3aef41f08daddbb2845baee0933668ab *man/gtkToolbarUnsetIconSize.Rd 8a0333eecfb362f447b400bd0b14ede4 *man/gtkToolbarUnsetStyle.Rd 2842778eeeb70466294872fa8fa9219c *man/gtkTooltipSetCustom.Rd 383fb41c6ad78bc12088d2ca8d47b3bc *man/gtkTooltipSetIcon.Rd b2b975b043e9c3ff0b869321e24267c6 *man/gtkTooltipSetIconFromGicon.Rd 40d12e0fc86e3685750f687e3b10a55d *man/gtkTooltipSetIconFromIconName.Rd acec7fdb0d7ecda5503bbabc3195bcbc *man/gtkTooltipSetIconFromStock.Rd 0084e66b8caa85bf386c089fc36edd2a *man/gtkTooltipSetMarkup.Rd 5fe6573ae535aff9fdbfd063e61b29d8 *man/gtkTooltipSetText.Rd 38ac2b283ea3570718c9674d105dd87a *man/gtkTooltipSetTipArea.Rd 6d61c9a947fc242971928ac4a23d882e *man/gtkTooltipTriggerTooltipQuery.Rd c4d76979bb7a5035cee589ba169f57a1 *man/gtkTooltipsDataGet.Rd 2addea2cf41d899666cda68eac8554ea *man/gtkTooltipsDisable.Rd 090d120271ac7f53539a7db728853a44 *man/gtkTooltipsEnable.Rd d6182a893be42755c3afa49132e12b6e *man/gtkTooltipsForceWindow.Rd 7cabfc72add692fa341c32ce083b9da4 *man/gtkTooltipsGetInfoFromTipWindow.Rd f09dd36b856a20f76bc65c87ac77c197 *man/gtkTooltipsNew.Rd e94a674e567a83a6d6796f909b375b98 *man/gtkTooltipsSetDelay.Rd 5f30ae51a6c03a83dd45103a25ea481e *man/gtkTooltipsSetTip.Rd 55da7eac14a9ee8d529c75a82c2eb03a *man/gtkTopWindow.Rd 9286ceeeb01b87ccecabf560d56775a4 *man/gtkTreeDragDestDragDataReceived.Rd 08d4197b4b9419b6ea08ccf7831f1215 *man/gtkTreeDragDestRowDropPossible.Rd 260adec21bd44b23300dc67e6da64a73 *man/gtkTreeDragSourceDragDataDelete.Rd ade775ac02696cbf85e08bfb46016092 *man/gtkTreeDragSourceDragDataGet.Rd 02c2be95b82bd9c4dba6f4e1dc3e0819 *man/gtkTreeDragSourceRowDraggable.Rd f92fa2e21ae5250ed111d41e5645a55f *man/gtkTreeGetRowDragData.Rd d3359e0ff97d99f499a0b41542872e24 *man/gtkTreeIterCopy.Rd d9c762103cc272be322a8100de52523c *man/gtkTreeModelFilterClearCache.Rd 4d865de1c01ce7640970cc2605c06cf9 *man/gtkTreeModelFilterConvertChildIterToIter.Rd 543e621fde5bc866f78b521d09166425 *man/gtkTreeModelFilterConvertChildPathToPath.Rd 46b9f775b3b5ef6531431b860c52d392 *man/gtkTreeModelFilterConvertIterToChildIter.Rd 667080ccdac9c645482cfd2e749223de *man/gtkTreeModelFilterConvertPathToChildPath.Rd 4bf69c282a27be918db1a5949319fef2 *man/gtkTreeModelFilterGetModel.Rd 9e906076105828cb3b9a3b8bc3c7db5c *man/gtkTreeModelFilterNew.Rd dbb88751e523b32c0502c363812b12c4 *man/gtkTreeModelFilterRefilter.Rd 7f68cf15cde82124f85a526deff4b7af *man/gtkTreeModelFilterSetModifyFunc.Rd 982cea7c4f533342b3a8abbdc399fb91 *man/gtkTreeModelFilterSetVisibleColumn.Rd 5f2c5285a62fe28d6d83c8a5c78dc211 *man/gtkTreeModelFilterSetVisibleFunc.Rd 5bb206c50ffda34e2f8af1913fe3fae4 *man/gtkTreeModelForeach.Rd 161c490301ef37259e4e7b3d084975e3 *man/gtkTreeModelGet.Rd f65d8415c1915c6923d9a1e2922a3475 *man/gtkTreeModelGetColumnType.Rd e424ea49f33f2025683662974afeed04 *man/gtkTreeModelGetFlags.Rd 1142d7d0a2ca287e03391ca9b01e0003 *man/gtkTreeModelGetIter.Rd bb8438d10430e6b015702a7dd8a6fd1e *man/gtkTreeModelGetIterFirst.Rd edb0f532aed3f8a38ef0df616fc052f4 *man/gtkTreeModelGetIterFromString.Rd ffa6a71e40722df8a4cb0c10cae99064 *man/gtkTreeModelGetNColumns.Rd 86b8f4a01c5eb6249f8052643e2edf69 *man/gtkTreeModelGetPath.Rd c6d55aed39adce4e57d0f67c1ad33796 *man/gtkTreeModelGetStringFromIter.Rd 2466e51b68b3d2daddbfd0c8402b4472 *man/gtkTreeModelGetValue.Rd 6e11f6d0ca8196a33b862eb80a74ced3 *man/gtkTreeModelIterChildren.Rd 2736e5c03a68d839280a7dd00af366f7 *man/gtkTreeModelIterHasChild.Rd 8057c23c9a4ff6a2dc9b5240da436f6e *man/gtkTreeModelIterNChildren.Rd 79fbb6a9c8cb66fc4e8d70415521140a *man/gtkTreeModelIterNext.Rd 18a4e69b62a1aa6c8e722e6bf46781a8 *man/gtkTreeModelIterNthChild.Rd f3e1d9880401b16ce5f8ab5b6d532810 *man/gtkTreeModelIterParent.Rd e3f7b2fd454e1de546cf48b028936f4e *man/gtkTreeModelRefNode.Rd d3ec5274066c9b2fbb9058e6b56b97e3 *man/gtkTreeModelRowChanged.Rd aa9822f22ff14cc14f79a6ce6db14a3e *man/gtkTreeModelRowDeleted.Rd b79be4d77497dc004f6a20f12b17e4ae *man/gtkTreeModelRowHasChildToggled.Rd 3bec9cce83532ab68c53975068f6b45e *man/gtkTreeModelRowInserted.Rd 1c80dcdd75e3b050790e247baac4e014 *man/gtkTreeModelRowsReordered.Rd 7e74545b76f577c0066bd67ba194c671 *man/gtkTreeModelSortClearCache.Rd 34fdd3aa98bc846d90aee52b0ade5d64 *man/gtkTreeModelSortConvertChildIterToIter.Rd cccf90c91eef6c06f6141c1d2571fd7d *man/gtkTreeModelSortConvertChildPathToPath.Rd 280c24900d5b4e9dc4ea9105621c79c7 *man/gtkTreeModelSortConvertIterToChildIter.Rd e9043535e3b825bae5f094ee66c44fb0 *man/gtkTreeModelSortConvertPathToChildPath.Rd e59366ef57e47f8e9e6d976e7f230f33 *man/gtkTreeModelSortGetModel.Rd 60a8a72cd836b6ed25d84cdb7dec6847 *man/gtkTreeModelSortIterIsValid.Rd c2110acbed686713a3f658ec0977c6a0 *man/gtkTreeModelSortNewWithModel.Rd e62c780cc217f1525aa1c53eb40ff1ec *man/gtkTreeModelSortResetDefaultSortFunc.Rd 8629d8d476ec8f019b9e7b831d82c1d5 *man/gtkTreeModelUnrefNode.Rd 37d50cedda6e8a7de0337919dfc13b95 *man/gtkTreePathAppendIndex.Rd 9f57852fec62763b446145fed8eb5da1 *man/gtkTreePathCompare.Rd 20c34f6aa215682778197e01fd75ff10 *man/gtkTreePathCopy.Rd 2f911b67ffc8782e6c64cbdf07a8f43a *man/gtkTreePathDown.Rd c8850a849214de6db74bdd29b80fa8b6 *man/gtkTreePathGetDepth.Rd 674b20ee54ab9b0fd0c7be6906dbc878 *man/gtkTreePathGetIndices.Rd 47d35c41847edc20569067999638a8ca *man/gtkTreePathIsAncestor.Rd 25cec135938cfc64f2ca6a5c7aa3807c *man/gtkTreePathIsDescendant.Rd 7bd4adb916f7f3b3a97b20234e2c97b8 *man/gtkTreePathNew.Rd 8f9bf8a0c3c9e6a3f843d00dbca04425 *man/gtkTreePathNewFirst.Rd 3a82bc6b6b15d55df75c497bcd69d361 *man/gtkTreePathNewFromIndices.Rd 3872dd525923052dd5ccf3138eac2b47 *man/gtkTreePathNewFromString.Rd deecdac861ae6ff62c0c61e41f2a8e3b *man/gtkTreePathNext.Rd b3784254785609f53107ba81add1cfdc *man/gtkTreePathPrependIndex.Rd 1d7252eed48dcaf81ecd66c81eed7421 *man/gtkTreePathPrev.Rd d3994b30769107cc7fea4b388f45afa2 *man/gtkTreePathToString.Rd 3e877ac403c08862963f5612fab92996 *man/gtkTreePathUp.Rd fab28240f68924a5ee5ad85080898a3f *man/gtkTreeRowReferenceCopy.Rd d7c1dd668b6b513716dbe296a3a1d6af *man/gtkTreeRowReferenceDeleted.Rd 0c9c48f459e9d4421541921e007ca330 *man/gtkTreeRowReferenceGetModel.Rd 274004cbd8f63a9eaa7932edaba12b6f *man/gtkTreeRowReferenceGetPath.Rd b73dcdd2fe3848d7aff97e4766c27ba2 *man/gtkTreeRowReferenceInserted.Rd c5caa200ccab04eb1e0e0b512e6673b3 *man/gtkTreeRowReferenceNew.Rd 3cc7283914aa59ae3c019a69e3e881c2 *man/gtkTreeRowReferenceNewProxy.Rd c8be796e9770897af7863c3c7f9b0c1e *man/gtkTreeRowReferenceReordered.Rd f78358c97b37f34af4d185e37e6ca787 *man/gtkTreeRowReferenceValid.Rd 2879d47f0f3d48291fe4dc432e444de3 *man/gtkTreeSelectionCountSelectedRows.Rd b4c87b14041bc01154b06af758fb0d3a *man/gtkTreeSelectionGetMode.Rd 5b010fc522519e1e9a786b5efd9d52e4 *man/gtkTreeSelectionGetSelectFunction.Rd 547293b6169b0a5392013ac1506ac48c *man/gtkTreeSelectionGetSelected.Rd b24d8b8b8a1e7a65774889df338e1f4a *man/gtkTreeSelectionGetSelectedRows.Rd 4feb378a5e79434a7e76dfd35f16158b *man/gtkTreeSelectionGetTreeView.Rd f34bd6653af1188c8953f21e8c492bf6 *man/gtkTreeSelectionGetUserData.Rd d2561ecb9d032cfb30f265dbeceb18aa *man/gtkTreeSelectionIterIsSelected.Rd 64adcb01da8996f0ba07564c0f1b3dd2 *man/gtkTreeSelectionPathIsSelected.Rd 64ad299ab1ca07dfdeec219125f18331 *man/gtkTreeSelectionSelectAll.Rd c9338493425834f95f95c89fa13da4a2 *man/gtkTreeSelectionSelectIter.Rd 6742afd199df3700873ab6f5e20accfe *man/gtkTreeSelectionSelectPath.Rd f282126b942b372c24161b547c3d3cbd *man/gtkTreeSelectionSelectRange.Rd 0d5b220a3b35ce51ea3c2011bb2136fd *man/gtkTreeSelectionSelectedForeach.Rd 71c836072bf4aae4138ce8f4a50ed87f *man/gtkTreeSelectionSetMode.Rd 0d691fc023c2edbf09749d72e7ce714c *man/gtkTreeSelectionSetSelectFunction.Rd 37c0639de37afd23430e2c9dfba9d9a3 *man/gtkTreeSelectionUnselectAll.Rd e83fdec42e4207817f7349f1120258e8 *man/gtkTreeSelectionUnselectIter.Rd 13f7b44ed9e0d53e9512641c4e06c40f *man/gtkTreeSelectionUnselectPath.Rd 84d835c51a979e425952752c98f940ec *man/gtkTreeSelectionUnselectRange.Rd 1ff41eecd37794d3f2c80254671f7f27 *man/gtkTreeSetRowDragData.Rd f5bb2729e07c344be6cf1dc0000946ee *man/gtkTreeSortableGetSortColumnId.Rd 4b8db15792766edbdd026832dbd141e3 *man/gtkTreeSortableHasDefaultSortFunc.Rd c87287df6ff22f16bd4ce9513584b111 *man/gtkTreeSortableSetDefaultSortFunc.Rd e044d21632820073d8e5e329deae7642 *man/gtkTreeSortableSetSortColumnId.Rd 029c1f41cf16e0e686dec3291e0ec2d8 *man/gtkTreeSortableSetSortFunc.Rd 3fbd6a9b7a49bfb31b5cd5291a46c48d *man/gtkTreeSortableSortColumnChanged.Rd 93677ee786c1cdc9d48aae55e6e7f7fe *man/gtkTreeStoreAppend.Rd d774a8e6ab5b6ca6bd938ff7532d0174 *man/gtkTreeStoreClear.Rd 1294b72bb8b308b06009c027acd97c05 *man/gtkTreeStoreInsert.Rd 9e88626e80ef836b82d4e4dd02bbd0fb *man/gtkTreeStoreInsertAfter.Rd 13e3f620bf95131ac648921d8bac9f80 *man/gtkTreeStoreInsertBefore.Rd 3388bcf42dcff98b16e84c8102d7af41 *man/gtkTreeStoreInsertWithValues.Rd 831e3883cdfcf4644df2a7db84b8faaa *man/gtkTreeStoreInsertWithValuesv.Rd 89bb294dda71cbdef7caee3299601bcc *man/gtkTreeStoreIsAncestor.Rd 599e944b59bb77c6f70a22ed3462d102 *man/gtkTreeStoreIterDepth.Rd a0c9aecd450edc697e06670bf8ca53c9 *man/gtkTreeStoreIterIsValid.Rd d50c9aaf9c2604817f024ab4bdf6eb82 *man/gtkTreeStoreMoveAfter.Rd c41423a6733f26cdd3892f1a8bc6b4d5 *man/gtkTreeStoreMoveBefore.Rd 809c973ec548c710b03b9b1e700b3d10 *man/gtkTreeStoreNew.Rd c251b734202511e9e604802b3867e4c2 *man/gtkTreeStoreNewv.Rd de54da2158697d7b1859b10986253fd9 *man/gtkTreeStorePrepend.Rd c6acc2606e9280d71d71a437d8a7b92b *man/gtkTreeStoreRemove.Rd 9e686f8fe4e0a217baea11ce80204fb6 *man/gtkTreeStoreReorder.Rd ed6e9f793c7253239ce5e2cd7a311930 *man/gtkTreeStoreSet.Rd ca42cecbc3975fd46982750205b6cea1 *man/gtkTreeStoreSetColumnTypes.Rd 4cdcf132812a832862c5cb228cb16015 *man/gtkTreeStoreSetValue.Rd 2fa672afb423f11d08a2d11b788ec5c7 *man/gtkTreeStoreSetValuesv.Rd bb5f33f8941135b695559dc2216966b8 *man/gtkTreeStoreSwap.Rd d7e458dc1821402e055fdd80c6c526ed *man/gtkTreeViewAppendColumn.Rd ae2842ff77093356eba385c35026bcd1 *man/gtkTreeViewCollapseAll.Rd e580cc8a175f6a1bf9f778d1bcef1e33 *man/gtkTreeViewCollapseRow.Rd 311e2158c2573cf05834d3fff0eb16bc *man/gtkTreeViewColumnAddAttribute.Rd 152d904050cce999d73d2a55e6f313ca *man/gtkTreeViewColumnCellGetPosition.Rd 3f89458e8c3b2948d94ce3304d297f4b *man/gtkTreeViewColumnCellGetSize.Rd 3474421b1d65aea9d3a331f95a93533f *man/gtkTreeViewColumnCellIsVisible.Rd fadf9ecc7ef998ce08b810e3d4518899 *man/gtkTreeViewColumnCellSetCellData.Rd 7f187cb73ceaeedbfbd1fec1cc27ae25 *man/gtkTreeViewColumnClear.Rd 438c84ae5995c60127d9460a6c4560ad *man/gtkTreeViewColumnClearAttributes.Rd 1a800e9b097d54f54627a8255206031c *man/gtkTreeViewColumnClicked.Rd 484ff80868bc7d40944e4d450d5fcbb2 *man/gtkTreeViewColumnFocusCell.Rd beb67b6a3dfe611d172381bd6307eb71 *man/gtkTreeViewColumnGetAlignment.Rd be47549ed6b39b1ebbefcc9c8f37d016 *man/gtkTreeViewColumnGetCellRenderers.Rd ab417a12cd65a2f0dd7fd8edf602e800 *man/gtkTreeViewColumnGetClickable.Rd fbd2d78786b0bdfe2af59d287ccc51aa *man/gtkTreeViewColumnGetExpand.Rd 24eb41b7a9dab8a60d1643485237e12a *man/gtkTreeViewColumnGetFixedWidth.Rd 3f2b6b33f9ab7e8d63c8f4fb604ced8a *man/gtkTreeViewColumnGetMaxWidth.Rd 3bb84819cb233adb7f4a8f83ff343f38 *man/gtkTreeViewColumnGetMinWidth.Rd 11d7464da2fea6b58bf419940039d8b3 *man/gtkTreeViewColumnGetReorderable.Rd e06f1a348fdd063f96f8a528938bb782 *man/gtkTreeViewColumnGetResizable.Rd adeb871b0e6829c71a57164f3dc50cb9 *man/gtkTreeViewColumnGetSizing.Rd fde9c6b2fb1bf2d0f2bac52972151532 *man/gtkTreeViewColumnGetSortColumnId.Rd 1d97d55cbe4e5a843e8bd7c1520b1fcd *man/gtkTreeViewColumnGetSortIndicator.Rd 074e25b6de57ded202c3e132cf42fcfc *man/gtkTreeViewColumnGetSortOrder.Rd 425099c9304baa90ff628ddf3f34673b *man/gtkTreeViewColumnGetSpacing.Rd b84a13eecb0debc542d0d1b266f760b9 *man/gtkTreeViewColumnGetTitle.Rd c3954582d03f0aa72663211035f4c6bd *man/gtkTreeViewColumnGetTreeView.Rd f14243a6a6057422f30fb2cd8b8bcfc8 *man/gtkTreeViewColumnGetVisible.Rd 969ada453de53a188a7f48c1587e3650 *man/gtkTreeViewColumnGetWidget.Rd aa43b35d98bc5ed5b372b7a5cd07fe6a *man/gtkTreeViewColumnGetWidth.Rd aa3a32ba29682bddc15af27beb11ded1 *man/gtkTreeViewColumnNew.Rd 57e9b7f1daa4d3a0b91d74b8f30f1822 *man/gtkTreeViewColumnNewWithAttributes.Rd 4bf090bcf108f818314555b97b9bdf0e *man/gtkTreeViewColumnPackEnd.Rd 73fa96ba8eba56d54241bcd8bdc36bd7 *man/gtkTreeViewColumnPackStart.Rd dab81f7962eb50d1b56bf207c1ddf6b3 *man/gtkTreeViewColumnQueueResize.Rd e46b983ae53f5078a3932801ebf6b776 *man/gtkTreeViewColumnSetAlignment.Rd cfdcb32c1dd7635ba7ae7e68ad374a63 *man/gtkTreeViewColumnSetAttributes.Rd 2865520abe79ee652629e25d74840302 *man/gtkTreeViewColumnSetCellDataFunc.Rd 5bac989757baa13aa3d9c339e2043e61 *man/gtkTreeViewColumnSetClickable.Rd bbb1ec2e0cd30b782a94ee5827636426 *man/gtkTreeViewColumnSetExpand.Rd 292b9d94f6ee7c30df5ccb22c110fae3 *man/gtkTreeViewColumnSetFixedWidth.Rd 64c713e24e53a45f1a65d4e148c56dc8 *man/gtkTreeViewColumnSetMaxWidth.Rd 93cf456481f257375a8343a78a9539a6 *man/gtkTreeViewColumnSetMinWidth.Rd a0250eff9d3eb2843965eec08dd53dcc *man/gtkTreeViewColumnSetReorderable.Rd c7d2d9a48ff6d24413df99105e7c3313 *man/gtkTreeViewColumnSetResizable.Rd cb5d5c35d3740e18317412c7641630cf *man/gtkTreeViewColumnSetSizing.Rd 723d0323bc56a4ceda9d51329341dfc5 *man/gtkTreeViewColumnSetSortColumnId.Rd 972ea30b8b1898e48e2f136c029f6975 *man/gtkTreeViewColumnSetSortIndicator.Rd 1ed28c5b75fbf679ce08ff370738882d *man/gtkTreeViewColumnSetSortOrder.Rd 311c9527c42cfe98d71aa6fbb1f03318 *man/gtkTreeViewColumnSetSpacing.Rd 77afd1037ebf9427ce6e780ed026dfe5 *man/gtkTreeViewColumnSetTitle.Rd 0cceea8a2851ee227a2bf89f81441513 *man/gtkTreeViewColumnSetVisible.Rd 28cdfc129031e7fc095691be842d54b6 *man/gtkTreeViewColumnSetWidget.Rd ee0e57a70b241f46d9fdd4caea3e86c5 *man/gtkTreeViewColumnsAutosize.Rd bde248754c2ba1ff356c209f766b8914 *man/gtkTreeViewConvertBinWindowToTreeCoords.Rd 54a0c1ff1d3a76fe3234767a9fffc060 *man/gtkTreeViewConvertBinWindowToWidgetCoords.Rd d13bae13237073a5721c80382abd397a *man/gtkTreeViewConvertTreeToBinWindowCoords.Rd 6de7ee5117305d7417c970fc69d2562c *man/gtkTreeViewConvertTreeToWidgetCoords.Rd ef2eea171c1d9983a6c1e86d2f2f1498 *man/gtkTreeViewConvertWidgetToBinWindowCoords.Rd a385e6d165c44e8d8ef6977bbcfbd056 *man/gtkTreeViewConvertWidgetToTreeCoords.Rd 51baf980b65ce5b4e21fd5391f9c20ac *man/gtkTreeViewCreateRowDragIcon.Rd 4098009f4dcb3ce6a3adb743eacd97f5 *man/gtkTreeViewEnableModelDragDest.Rd 48e6bbf6369d8136f0d04ff6b3728c66 *man/gtkTreeViewEnableModelDragSource.Rd 9d4e76be9c81988efd64429507e97aef *man/gtkTreeViewExpandAll.Rd df211a6c7b7bb51a0031fbcaacfd99b0 *man/gtkTreeViewExpandRow.Rd 10dcbc7d0886f309bbadc12b89bdb7a1 *man/gtkTreeViewExpandToPath.Rd 153f1e388d0ec1250c2b319c4470d09b *man/gtkTreeViewGetBackgroundArea.Rd 7d69b2e32a3b6eceb713b89a25b92011 *man/gtkTreeViewGetBinWindow.Rd 2fa602b734af33df6426022111dbce96 *man/gtkTreeViewGetCellArea.Rd 170cf0f62e4b74a11535cb845932d2ef *man/gtkTreeViewGetColumn.Rd 270317b74e22ed7e2a13c48091c53091 *man/gtkTreeViewGetColumns.Rd ba9274e6a84b81e145668e8710b25a1e *man/gtkTreeViewGetCursor.Rd c5dd6271f2d376d19698d4c045da3da9 *man/gtkTreeViewGetDestRowAtPos.Rd 60c0ca1b8dd03795a0b2ae4f04cd2107 *man/gtkTreeViewGetDragDestRow.Rd 988186d0a1bc278a1de47529d3cbc6e2 *man/gtkTreeViewGetEnableSearch.Rd 8809a936f0c3d515f2010a42a54127f5 *man/gtkTreeViewGetEnableTreeLines.Rd c6bb0350d55776e1d733ebe819dd8ec9 *man/gtkTreeViewGetExpanderColumn.Rd 76945121a3deaef672b02ed79c989226 *man/gtkTreeViewGetFixedHeightMode.Rd b0273434ec57926d6e88f136f13eafe0 *man/gtkTreeViewGetGridLines.Rd ec7bb54cdcd0bcd5a411e73a283d72a4 *man/gtkTreeViewGetHadjustment.Rd 739b4d2e96a2ea2f24359991c149a58f *man/gtkTreeViewGetHeadersClickable.Rd dba0fc0eeab2d17bbf6d9871f2fa36cc *man/gtkTreeViewGetHeadersVisible.Rd 5da0e4d885d678cc2eba6eeb7c0368cf *man/gtkTreeViewGetHoverExpand.Rd 29cb6ff59b0e6f9cb81f1a01fc34963a *man/gtkTreeViewGetHoverSelection.Rd 7b17324f48dae3e9e68fd8828341d0be *man/gtkTreeViewGetLevelIndentation.Rd 846e9956e863d505a4837349c99a6ef7 *man/gtkTreeViewGetModel.Rd 23bf385309525808a3594ddb7781cef9 *man/gtkTreeViewGetPathAtPos.Rd b2ce2847e16ec1f7bc4d191237fcf9e9 *man/gtkTreeViewGetReorderable.Rd 8b66275cb57b5c2af428ffebbe494344 *man/gtkTreeViewGetRowSeparatorFunc.Rd 5c17bcd3b71aa22d53a283c77b43260c *man/gtkTreeViewGetRubberBanding.Rd c9c6ebf13cedccaadcbe65a5e57c64c1 *man/gtkTreeViewGetRulesHint.Rd 59e6b63874ab5e5f096c7f57a8d47a46 *man/gtkTreeViewGetSearchColumn.Rd 8692e512318d86900c9ec45027c877fb *man/gtkTreeViewGetSearchEntry.Rd 2881ca8a65f2c6ea3651d70356ff2851 *man/gtkTreeViewGetSearchEqualFunc.Rd 043b56ad32b6ed5d6aace06cd7c6f212 *man/gtkTreeViewGetSearchPositionFunc.Rd 864a5fb81fc0ce100408b96787af05fa *man/gtkTreeViewGetSelection.Rd 1cc52d3e93f56ad6b3d12b13c0f0683d *man/gtkTreeViewGetShowExpanders.Rd 3ba86bc6078d5efc5ea167f31d4365ac *man/gtkTreeViewGetTooltipColumn.Rd ec123fa55c5bd904ce4f2ffff908fdcc *man/gtkTreeViewGetTooltipContext.Rd 518058c29e8181f4335471e09ce64648 *man/gtkTreeViewGetVadjustment.Rd 349eeec6f0dd0393b30dbb8ac60c3be5 *man/gtkTreeViewGetVisibleRange.Rd bef80c8ecd28075d4fcf2ba322362327 *man/gtkTreeViewGetVisibleRect.Rd 11d67eefe290c0f5375148ef4097ce5a *man/gtkTreeViewInsertColumn.Rd f7f4fe83ea210e9e4e96d4dab23f91bd *man/gtkTreeViewInsertColumnWithAttributes.Rd fc247613d9da284440e8c54ac8b45149 *man/gtkTreeViewInsertColumnWithDataFunc.Rd 3fa1f5f990fad53a3e3ba0de7bfb4db7 *man/gtkTreeViewIsRubberBandingActive.Rd 823e60c9fe7c220982a7600045ddb238 *man/gtkTreeViewMapExpandedRows.Rd b7c3b7ae227238afdd2d960e3b1b66e6 *man/gtkTreeViewMoveColumnAfter.Rd 1899e5a0c51bf004ca580c118cab5ae1 *man/gtkTreeViewNew.Rd 856b882c1fbcb507d16adf7155585329 *man/gtkTreeViewNewWithModel.Rd ce89180a056d78565d04866935e20369 *man/gtkTreeViewRemoveColumn.Rd cd3cf8a9c9ae274e87197b9070c5b2a4 *man/gtkTreeViewRowActivated.Rd 033f2d6068e62e66ab63575d3c05f92d *man/gtkTreeViewRowExpanded.Rd 3d67e5a260f0952fe15ebbbf63c77821 *man/gtkTreeViewScrollToCell.Rd dc2bc7b0af562d846900daeb00dd0514 *man/gtkTreeViewScrollToPoint.Rd d0f74e3dfb53ceb40e130742479f5c2f *man/gtkTreeViewSetColumnDragFunction.Rd fc31d6190012dfef1e3e283c1e05199c *man/gtkTreeViewSetCursor.Rd d78d23c99013febca84a1b713ccab5ea *man/gtkTreeViewSetCursorOnCell.Rd 5dd002a91069efe6b606d286b3e3de46 *man/gtkTreeViewSetDestroyCountFunc.Rd e5abc99bafe8ac81d345f8e6d14af3c3 *man/gtkTreeViewSetDragDestRow.Rd f93f5adafd739dd5f1470c4609b80a14 *man/gtkTreeViewSetEnableSearch.Rd e58b48b9362aff5cd44f591b0ae708c6 *man/gtkTreeViewSetEnableTreeLines.Rd 979d8af4880c0eeeedf12dfa7bb63bd7 *man/gtkTreeViewSetExpanderColumn.Rd 74a76ce11e69cef5a837b9f3105cf6ca *man/gtkTreeViewSetFixedHeightMode.Rd d8c75ae3afb82909ed46079e9494da1e *man/gtkTreeViewSetGridLines.Rd 0d9ed9dbf5db4f4fae8342771db5b1df *man/gtkTreeViewSetHadjustment.Rd adbc239ddbe3757ae1d05a42c683c2ce *man/gtkTreeViewSetHeadersClickable.Rd 112b20da012e7ab1837dfbc4db15ab5f *man/gtkTreeViewSetHeadersVisible.Rd 302ccf6acd0e0e0c2da67787e162c651 *man/gtkTreeViewSetHoverExpand.Rd eb7a8708a62d4c6a452875e607ac3ad0 *man/gtkTreeViewSetHoverSelection.Rd c478a220dee302d0115c4f1e2d5104b8 *man/gtkTreeViewSetLevelIndentation.Rd a65cacc14217e0a47a7bba71f9d3ae2b *man/gtkTreeViewSetModel.Rd 30b2ab237843907fb57e21cc1156dd10 *man/gtkTreeViewSetReorderable.Rd e4e52b0988b7e404ae9e5b324af69ab6 *man/gtkTreeViewSetRowSeparatorFunc.Rd 481a756f263ddcba64f8a073301b4bb7 *man/gtkTreeViewSetRubberBanding.Rd c14bd5c468037846f46843f6befbfe22 *man/gtkTreeViewSetRulesHint.Rd 430db13ffa6d468bde260231bb3e1d14 *man/gtkTreeViewSetSearchColumn.Rd fb1eb07444f463d2eae7026818f84cd9 *man/gtkTreeViewSetSearchEntry.Rd 8d664bd36e6e48be5c637dc3b0db5711 *man/gtkTreeViewSetSearchEqualFunc.Rd c9601d67088bb4b037cc822dc09e6b74 *man/gtkTreeViewSetSearchPositionFunc.Rd b68f805656a2217f2a604983a36f4449 *man/gtkTreeViewSetShowExpanders.Rd 1e58cc7626ce1a2ab4ae274daf770f5c *man/gtkTreeViewSetTooltipCell.Rd 5ce52de82f3549b3745a8bb2c3907cf6 *man/gtkTreeViewSetTooltipColumn.Rd 5c21c77d7aba63b65329f2ca3f3b1ccb *man/gtkTreeViewSetTooltipRow.Rd 86612cb691f05c2fc072327b32ebff5b *man/gtkTreeViewSetVadjustment.Rd a33dbc44d8a674184688ada97342312b *man/gtkTreeViewTreeToWidgetCoords.Rd 1a8d876bc3c34b88e09865ff7b4530a7 *man/gtkTreeViewUnsetRowsDragDest.Rd 6f7230c1f0e25342773c7d69d2cf0d89 *man/gtkTreeViewUnsetRowsDragSource.Rd f375bc7f8b7f9a6b7322baff1dc45b9c *man/gtkTreeViewWidgetToTreeCoords.Rd eb827a6b62de69d0ad8ee4d5a8fe3b26 *man/gtkTrue.Rd 6c9f755c7c4781c594a23b636d5ebea0 *man/gtkUIManagerAddUi.Rd fa71031d3aafddae7f4701975cb34523 *man/gtkUIManagerAddUiFromFile.Rd 545f5e316a34da9d4195f2070bb51ad6 *man/gtkUIManagerAddUiFromString.Rd cbd23ede89cab734927c30094623af7e *man/gtkUIManagerEnsureUpdate.Rd ad6e7502bb7c48d5040b811466d583f3 *man/gtkUIManagerGetAccelGroup.Rd 0acc83a9a22ea31b6a6f993dd8759d64 *man/gtkUIManagerGetAction.Rd 3b474eeafbb041f5cd391adaf7d612ef *man/gtkUIManagerGetActionGroups.Rd 38af6cbf57fcc87db24f1904cadaf132 *man/gtkUIManagerGetAddTearoffs.Rd 4520cab5cfafc998120c57e6005d1f06 *man/gtkUIManagerGetToplevels.Rd 23e6fed884145ea8ea2b82ca3a363dd4 *man/gtkUIManagerGetUi.Rd ab0ae7eb96336dfd01a3e9306038ea2f *man/gtkUIManagerGetWidget.Rd 83a763dd9e5cace90c71fd87621e4c12 *man/gtkUIManagerInsertActionGroup.Rd 6155706de41b3d7ad1d88eddc0599ee1 *man/gtkUIManagerNew.Rd 43d94a9cf7fd0efe7e2f268b78f9b8a3 *man/gtkUIManagerNewMergeId.Rd 18515572860b8b916538a938874f1361 *man/gtkUIManagerRemoveActionGroup.Rd f6f55aa63c65fa3a6965e17c49a4bdf6 *man/gtkUIManagerRemoveUi.Rd b9f934681fe48237927959d6b9bc9651 *man/gtkUIManagerSetAddTearoffs.Rd 135f1cec81391be703fbffdfa47ec3ad *man/gtkVBoxNew.Rd 2ee0c865e9593fa51d098d87debea415 *man/gtkVButtonBoxGetLayoutDefault.Rd e040663eca4eb7b527b6ef546f7feeaf *man/gtkVButtonBoxGetSpacingDefault.Rd b929559b79f7acd09e9a44686a62a3f9 *man/gtkVButtonBoxNew.Rd 223e081df8ff16d8066c52622820a11f *man/gtkVButtonBoxSetLayoutDefault.Rd 9fba389344b84054e2fb3c37d38b96d4 *man/gtkVButtonBoxSetSpacingDefault.Rd 75599314f60a9a3f4d628541c3debf33 *man/gtkVPanedNew.Rd c99dfd5a09e8ab42c1f1cbe429b34aa4 *man/gtkVRulerNew.Rd f50658a27ae221e62225383f5e37f311 *man/gtkVScaleNew.Rd dd9a4766ca43bdce89cdb80fd33d39d3 *man/gtkVScaleNewWithRange.Rd a5a7b99d1c184bd527205de1ecb934a8 *man/gtkVScrollbarNew.Rd f530b4faa60ec4b546290f95ae6685d3 *man/gtkVSeparatorNew.Rd a10f48abdba5c6f6b007171c3cff03aa *man/gtkViewportGetBinWindow.Rd 46dc3c384f1b615a8775c5c607ecc8f3 *man/gtkViewportGetHadjustment.Rd ccdcc49ac9c262c0a4cb3588efa93f4c *man/gtkViewportGetShadowType.Rd eb3c3fcb36c8b0d0be3d20bfd75c836d *man/gtkViewportGetVadjustment.Rd 31340080c786adb5ef41168cf5529f09 *man/gtkViewportNew.Rd c44ff0037e08488ae00f05330274fe80 *man/gtkViewportSetHadjustment.Rd dcc3448e9a2d64c8344d1783029e02a3 *man/gtkViewportSetShadowType.Rd f34f52894df7c288b4c409043b2c5839 *man/gtkViewportSetVadjustment.Rd f60f796f6288b54938a00562a8d688d8 *man/gtkVolumeButtonNew.Rd fe70123e2e1d03acda514c30f9bc01b4 *man/gtkWidgetActivate.Rd ec78ca966b42b1f69cdf7e310f6fbc2e *man/gtkWidgetAddAccelerator.Rd 04cdbfc7658db32072e46e110b324d53 *man/gtkWidgetAddEvents.Rd fc2fb4df0703154857d270aa22e96383 *man/gtkWidgetAddMnemonicLabel.Rd 9ff24425d5aed82aaae71200161fb80d *man/gtkWidgetCanActivateAccel.Rd 9a6347d20f174cf7f3fb1a3774c7c057 *man/gtkWidgetChildFocus.Rd a032b7a996b334abb224a30d5fe87746 *man/gtkWidgetChildNotify.Rd 780f4047e08938e3f7923ca61b2b1cf9 *man/gtkWidgetClassFindStyleProperty.Rd a71a64582a7d87323306d53bfa3382cd *man/gtkWidgetClassInstallStyleProperty.Rd 657641e9f432dc03ad76b94e71745631 *man/gtkWidgetClassInstallStylePropertyParser.Rd 525ec00998104384832299157cd7396f *man/gtkWidgetClassListStyleProperties.Rd d521c6430b5e634dc21f76305a290925 *man/gtkWidgetClassPath.Rd 07dd24d7bbc4fead15771c0a279e3ed8 *man/gtkWidgetCreatePangoContext.Rd 0cb2ca61b365e0fe959f62c12387eac1 *man/gtkWidgetCreatePangoLayout.Rd 40c97d763c319ba4d1363e2dc3af088b *man/gtkWidgetDestroy.Rd 65df2d99172e57dffa773b42daf7f2ee *man/gtkWidgetDraw.Rd 5c7afbb37a664eae3386f47410364518 *man/gtkWidgetEnsureStyle.Rd ae42cc8b65e9d0a5c1f47cea91ea9dc6 *man/gtkWidgetErrorBell.Rd d48fb827e26054265044510f944d5f93 *man/gtkWidgetEvent.Rd 51f67e809dd2bf53290d809c52da60be *man/gtkWidgetFlags.Rd 15e11b10938b9ee622389635e2bf641d *man/gtkWidgetFreezeChildNotify.Rd 8e7b053600e386aab5116726876e4b66 *man/gtkWidgetGetAccessible.Rd a57e78d386e905a1bb29590ade53c040 *man/gtkWidgetGetAction.Rd bc6a814d0e3aaaf9e31558067ddc75b0 *man/gtkWidgetGetAllocation.Rd 6460d66dab7edbad6da85b05e4da00f2 *man/gtkWidgetGetAncestor.Rd 2a8d1c8ef8fb7a19e02e85a681f3ad3f *man/gtkWidgetGetAppPaintable.Rd 35444017a8e0b5dfe064697f49df2fb4 *man/gtkWidgetGetCanDefault.Rd 5073626250a1542c7cd7d6776346799d *man/gtkWidgetGetCanFocus.Rd a3f79b4e63fc28f5e1a34c9c811e4471 *man/gtkWidgetGetChildRequisition.Rd 29a8bdaee3f1ee1241798fba333c01aa *man/gtkWidgetGetChildVisible.Rd 83acbf1d5fdbcdc8ea6fe01790837e48 *man/gtkWidgetGetClipboard.Rd 4365fe341e9cdd6e1a87c3246344315c *man/gtkWidgetGetColormap.Rd bdab2c44f0b8ad0a6fe3209709a1f518 *man/gtkWidgetGetCompositeName.Rd 722bd39d54619d810666bfc05f961be9 *man/gtkWidgetGetDefaultColormap.Rd c50383bf1ed064ea3ba331b37ec14299 *man/gtkWidgetGetDefaultDirection.Rd 2b13c3d22cbd9b16ae9dbe0f4a591fac *man/gtkWidgetGetDefaultStyle.Rd e858053bbe8c5bd90f983af15abd3c33 *man/gtkWidgetGetDefaultVisual.Rd 1bf63c2738c3c7cfb192b97b5bb142f9 *man/gtkWidgetGetDirection.Rd f42a72f2e9a290978cdf6f8b16851c00 *man/gtkWidgetGetDisplay.Rd 4f8d676712952a3fd7f84bdfd32724a0 *man/gtkWidgetGetDoubleBuffered.Rd 2e767f4aa63fb06d47a010d2aea0dd15 *man/gtkWidgetGetEvents.Rd a62234ffe1a1e8963124ba67d379a316 *man/gtkWidgetGetExtensionEvents.Rd 8f6360f46be99f20ba9e59a2d3d9d1fe *man/gtkWidgetGetHasTooltip.Rd 0d1521e25bbe4c9332e523a8f1fe763a *man/gtkWidgetGetHasWindow.Rd e15d64456d37ff44bbba342af79c48f5 *man/gtkWidgetGetMapped.Rd 887f39948af201523f15029f4ab56025 *man/gtkWidgetGetModifierStyle.Rd 7969c4e465bd4200efa9bd474c22f8e3 *man/gtkWidgetGetName.Rd ed5da017fd41361e5572ff335230cbe2 *man/gtkWidgetGetNoShowAll.Rd 347b56a9b8fb7ef19f00502d29f2b551 *man/gtkWidgetGetPangoContext.Rd 1a681580fa7586722b2e99d7fee1750c *man/gtkWidgetGetParent.Rd 31d561edf4c73757562f3ecfab260670 *man/gtkWidgetGetParentWindow.Rd c20d0d265117e804b8e04ac456ba67d9 *man/gtkWidgetGetPointer.Rd 9631853ab28d295250230541266caec9 *man/gtkWidgetGetRealized.Rd 0390165aa5c52a3e730cd5921038671e *man/gtkWidgetGetReceivesDefault.Rd b61bbf409ae5c3f03e1202c0a7640a61 *man/gtkWidgetGetRequisition.Rd 09b4c5295ff401ae818e035c284252ee *man/gtkWidgetGetRootWindow.Rd 740265e597f07fb7c9e70acb79eee0eb *man/gtkWidgetGetScreen.Rd 3dd5b74f6c0e8b71ec8549376f4ffd58 *man/gtkWidgetGetSensitive.Rd 31b13d97271ea4ecce9a3dbebcb8e3a9 *man/gtkWidgetGetSettings.Rd 2b46018b50ec27da9f1dd7c06e661cdc *man/gtkWidgetGetSizeRequest.Rd 697294fffe9c664fbe12b968374e333b *man/gtkWidgetGetSnapshot.Rd 803be1421eb0152e75a080e59ed31c81 *man/gtkWidgetGetState.Rd b0942c61fa50df767b0d6c0cf1b07ba8 *man/gtkWidgetGetStyle.Rd 5666a3f81611bbc7281984f56266f371 *man/gtkWidgetGetTooltipMarkup.Rd d0a7fcedd2c3f6c5d80cc1fb63d34579 *man/gtkWidgetGetTooltipText.Rd e6d692dbb8ef69427410ad413a07d175 *man/gtkWidgetGetTooltipWindow.Rd dd21110e50d7f3d78980723eadd73308 *man/gtkWidgetGetToplevel.Rd 2298942b6b0553ea8e7b3c856c1bf75d *man/gtkWidgetGetVisible.Rd b774ee9ae61e0fabede6ceea73fe4e41 *man/gtkWidgetGetVisual.Rd d58b75b6de9937c2e79741742c8aa761 *man/gtkWidgetGetWindow.Rd 03976739275f8a2e993e366bd24e4e02 *man/gtkWidgetGrabDefault.Rd 6bd659ad01c53ab165221b28842a3200 *man/gtkWidgetGrabFocus.Rd 53a79aa45367a9d1b88a8c203dca33b1 *man/gtkWidgetHasDefault.Rd 0a5adc52a39f999df50df38648ad9a49 *man/gtkWidgetHasFocus.Rd 3a2c73d3272e629fa3eb40b4f3a4e067 *man/gtkWidgetHasGrab.Rd 0467801fc4b9035b39baefbfaeb2ae47 *man/gtkWidgetHasRcStyle.Rd cd1f2e9c8fb40ac5419bbb2b13687428 *man/gtkWidgetHasScreen.Rd 3ac34904eca02de2b5928170d30168ee *man/gtkWidgetHide.Rd 888c46d9ba172de4b128aad826f13f7e *man/gtkWidgetHideAll.Rd 0d5dd0f9ddeb18139969ec681f98adc7 *man/gtkWidgetHideOnDelete.Rd f661ea2e209427a4cc90158ce68acc8e *man/gtkWidgetInputShapeCombineMask.Rd 843e9514471d7213aed4117f48862c67 *man/gtkWidgetIntersect.Rd 23a81f19205e989ad3e0eaa815886cb1 *man/gtkWidgetIsAncestor.Rd c02aeba624e9f514227240e7eb5cb3ce *man/gtkWidgetIsComposited.Rd 5b05d2955f54d5d0500eb34bf8533f21 *man/gtkWidgetIsDrawable.Rd 7e9662718b72a0ecee3a6419a9115c4d *man/gtkWidgetIsFocus.Rd d7d62b922b188bab832845d68097f051 *man/gtkWidgetIsSensitive.Rd 3dba2fd6eb52d7684c5ca39f6799579f *man/gtkWidgetIsToplevel.Rd c330f509837c885206287e69a86d8c73 *man/gtkWidgetKeynavFailed.Rd 337e0dc2ff92875af553db1e3a44cee1 *man/gtkWidgetListAccelClosures.Rd b43b70e614f8470e84a64e0259b680c5 *man/gtkWidgetListMnemonicLabels.Rd c005c594cd13d5c45eb977ef19204a5b *man/gtkWidgetMap.Rd 3f5b97bc352f4741d1c5db5a68fdae50 *man/gtkWidgetMnemonicActivate.Rd f1dae2a7f837911fe7e4302773700d12 *man/gtkWidgetModifyBase.Rd b5ceacd7a0fdbdc0d0a139cec8f2102c *man/gtkWidgetModifyBg.Rd ff6043b269029f8b910ad99faad6f02d *man/gtkWidgetModifyCursor.Rd ad06fcde4a36e106814ab8b26bd62f0e *man/gtkWidgetModifyFg.Rd 03ee1f29ee384ec60ec84c625478a981 *man/gtkWidgetModifyFont.Rd 36e1a247f91243e4f26dee0f3c833af1 *man/gtkWidgetModifyStyle.Rd f524a6ee777f0d61bc6214596b0c7c13 *man/gtkWidgetModifyText.Rd 4b468dfbddebb94338e324e594311a63 *man/gtkWidgetNew.Rd 7f164f8f18058889f257b68c53252da3 *man/gtkWidgetPath.Rd 33b3a693cfccf4f88d6310672429a3ae *man/gtkWidgetPopColormap.Rd d3150558321187ceb6ad4ffcb1f18dff *man/gtkWidgetPopCompositeChild.Rd c907bf91ece8195c37c397780b099d7c *man/gtkWidgetPushColormap.Rd c4c58faa0281c00dae1ed2af93d97b6f *man/gtkWidgetPushCompositeChild.Rd 01f53b333f20364b3a8cd0c180361856 *man/gtkWidgetQueueClear.Rd 7fb064edb00c28c6c13901fd95c4fb36 *man/gtkWidgetQueueClearArea.Rd f1f2271c6f84641187cf4d17bdb64942 *man/gtkWidgetQueueDraw.Rd e660fa33f9bc96583ce6415dc5def020 *man/gtkWidgetQueueDrawArea.Rd 882abfe6bd3bd8381863fe3bc0c5a659 *man/gtkWidgetQueueResize.Rd 4e1975ac5829742c9b5fde41b5d1040b *man/gtkWidgetQueueResizeNoRedraw.Rd e2643526a2449f356a4c8197b2cd32a4 *man/gtkWidgetRealize.Rd d048269a448cb374dd93c696bcd5f080 *man/gtkWidgetRegionIntersect.Rd a256d2dc864cd2d13e8110dddc90980a *man/gtkWidgetRemoveAccelerator.Rd 93aa4e39b6bd11a03ca753a5731a69f9 *man/gtkWidgetRemoveMnemonicLabel.Rd e3b537945fa9ed56eb12358b1f70e5a7 *man/gtkWidgetRenderIcon.Rd 80365b941963f6bc72bbce80e495802a *man/gtkWidgetReparent.Rd ff4879cf487ecf29ddadf2b118b415a6 *man/gtkWidgetResetRcStyles.Rd 785ba6771d59ebd6ce3b6555e559e9eb *man/gtkWidgetResetShapes.Rd 18caceb1bd01d69183a92b3477d87beb *man/gtkWidgetSendExpose.Rd 8b293d9a9103bee62696ca668e8a9556 *man/gtkWidgetSet.Rd 2cd3009d075c73ddabe601b56da3e4cd *man/gtkWidgetSetAccelPath.Rd 8d84e591530ae35e12ee966545780bac *man/gtkWidgetSetAllocation.Rd 2a1d18793679e121674cc71161aa5ad1 *man/gtkWidgetSetAppPaintable.Rd 7246e29c20b2c1cc69fc88c714fad1ce *man/gtkWidgetSetCanDefault.Rd d6908e847d547ce14fcf977e1b295415 *man/gtkWidgetSetCanFocus.Rd 213abd549a6d790a6a11e86a4359904e *man/gtkWidgetSetChildVisible.Rd 7afd3729699f70b8ad0db4779079bc46 *man/gtkWidgetSetColormap.Rd d354056176cce6e64f1ba1bcdace4675 *man/gtkWidgetSetCompositeName.Rd 1fd45319944aee6065b6135be708280e *man/gtkWidgetSetDefaultColormap.Rd d9c52d23e5d4b4a869d90e788b483a0b *man/gtkWidgetSetDefaultDirection.Rd 0e10a69bba3d82861533e7deca3435a2 *man/gtkWidgetSetDirection.Rd c6e8afb38ae8b0a371f17c7e191796bb *man/gtkWidgetSetDoubleBuffered.Rd a4f119382a5983bab7f6a8ea880d15c6 *man/gtkWidgetSetEvents.Rd 7022361e51a6150d2ff6298dad621aa2 *man/gtkWidgetSetExtensionEvents.Rd 397997edda410ac10870ead2b4c5b7ea *man/gtkWidgetSetHasTooltip.Rd 5565717fc2edcbc8084d5c2858ea8e46 *man/gtkWidgetSetHasWindow.Rd 8d1cfc238ae06657648b557f475cc6d8 *man/gtkWidgetSetMapped.Rd 50f5b99ccab4c3ba30405c3e2efe2a77 *man/gtkWidgetSetName.Rd c8927a2609a621c29bb08b0d75fdd837 *man/gtkWidgetSetNoShowAll.Rd ef140a39c535e165c661110c1df68c34 *man/gtkWidgetSetParent.Rd 967798a1b23ab47999605dcc48f4f34e *man/gtkWidgetSetParentWindow.Rd 920feba59a7c86507844992a5a229f27 *man/gtkWidgetSetRealized.Rd beb1d0e2885ff14de23f88614adc38e3 *man/gtkWidgetSetReceivesDefault.Rd f03bc0b3d1222cd14e5f41ee333e3de6 *man/gtkWidgetSetRedrawOnAllocate.Rd a476b20f4498eea70e456014b15131e6 *man/gtkWidgetSetScrollAdjustments.Rd 5ad074ae8ed7e663b49790fb04a07ff8 *man/gtkWidgetSetSensitive.Rd b6f5402adb009e16e6751566f55bd927 *man/gtkWidgetSetSizeRequest.Rd 97c62ab7a696d025ba423d4f80892814 *man/gtkWidgetSetState.Rd 8e3017935a63e3885df2882faf94cb00 *man/gtkWidgetSetStyle.Rd a468379ca431d1a17a9968109f050c44 *man/gtkWidgetSetTooltipMarkup.Rd 59f0a6dade5f511194c33ea3c6ebf5c3 *man/gtkWidgetSetTooltipText.Rd 38dc1d605dcc8c60441725c7ff48eba6 *man/gtkWidgetSetTooltipWindow.Rd 145b61c036741582520617d182d0b18d *man/gtkWidgetSetUposition.Rd e541146ae9bd53685d5a6398db98e4d2 *man/gtkWidgetSetUsize.Rd a80a6aea7928357c4060b34626b08188 *man/gtkWidgetSetVisible.Rd 15b2e729c651f5f4a23a759520769f3c *man/gtkWidgetSetWindow.Rd 4fe879a0cf0d0030c7c6203de1cbeec5 *man/gtkWidgetShapeCombineMask.Rd b0a83d496041f4585ea1c8d30af2e18a *man/gtkWidgetShow.Rd 53bd9e95c994fe9f5c5c4560ecca4d4a *man/gtkWidgetShowAll.Rd 179eb84cdfedf8c66bf395b67c378a55 *man/gtkWidgetShowNow.Rd 5c710c8b92e6764e92b653f282bd1b37 *man/gtkWidgetSizeAllocate.Rd ad74ea35d4f0f74061a9e57ba5f8f963 *man/gtkWidgetSizeRequest.Rd f75225438d25b430a8427da30b2870a9 *man/gtkWidgetState.Rd 68f3581ad82fb0dbfa3b0f68c81aeab8 *man/gtkWidgetStyleAttach.Rd 0ef5797e79dd82165ee0ecc27b97f989 *man/gtkWidgetStyleGet.Rd 6cfc51d218ebffd9f5135b94352295f9 *man/gtkWidgetStyleGetProperty.Rd f6dc36a4bba6d11f87e24d89307f3291 *man/gtkWidgetThawChildNotify.Rd 80d4ab3e7f36d09ba4d92ede8370b04c *man/gtkWidgetTranslateCoordinates.Rd 27048c782dae33c03dcf2d3b119d28ea *man/gtkWidgetTriggerTooltipQuery.Rd 4eac73cbe188d6348b32394031462c8c *man/gtkWidgetUnmap.Rd 65c34c755fe8bf406aed3bf27005c702 *man/gtkWidgetUnparent.Rd 4e5ab49cdbf864522ce19481f90c47c2 *man/gtkWidgetUnrealize.Rd 57967c50842e0a06c8efc956955005f8 *man/gtkWindowActivateDefault.Rd d322af74d38b3ae1bea86272f5ce721d *man/gtkWindowActivateFocus.Rd f99ef52f10adc70828577958e1f41666 *man/gtkWindowActivateKey.Rd 9b93eb6732e2abff16c7a079483e60d1 *man/gtkWindowAddAccelGroup.Rd 497856f05a4a7a098a238e1d2439dc31 *man/gtkWindowAddMnemonic.Rd d1ed2afc4bfbbcdeadb67ff922f6fe76 *man/gtkWindowBeginMoveDrag.Rd d93d0437356fbc2c940e1beb26307215 *man/gtkWindowBeginResizeDrag.Rd d6b9ae81cc6323d50b12851f3aba73a3 *man/gtkWindowDeiconify.Rd 4cce018d6b7316a639e66038587b6108 *man/gtkWindowFullscreen.Rd 4581277bef5bc53456d9a3ab4f0446c4 *man/gtkWindowGetAcceptFocus.Rd 3dab9f6e17a1491d01e928b01d2d214c *man/gtkWindowGetDecorated.Rd 6fcfe9c154333a746c02cca88da2a65c *man/gtkWindowGetDefaultIconList.Rd a633e83f1c489447779fad4c56e38748 *man/gtkWindowGetDefaultIconName.Rd 74947ef5fa4eb313dbda36108dedf512 *man/gtkWindowGetDefaultSize.Rd 4c5b7052f7aeac244ff4f384069a74b7 *man/gtkWindowGetDefaultWidget.Rd 62c10bdaf6faf94434834f7a103f4337 *man/gtkWindowGetDeletable.Rd e0e967a8bacf1f787e4611e362e9c31d *man/gtkWindowGetDestroyWithParent.Rd 5e01bb89374b5a5c079e3ec70e0fd8da *man/gtkWindowGetFocus.Rd 630a1b6c1e04e4b0907b2bcd33bc900e *man/gtkWindowGetFocusOnMap.Rd 07e4fd31f21565801e7dbe1c00633129 *man/gtkWindowGetFrameDimensions.Rd 37e85efc9fddd1cb82dcee689333ed2a *man/gtkWindowGetGravity.Rd 4863cfbf20e390bd3a4372383ef4a3fc *man/gtkWindowGetGroup.Rd 0038f6abdcd6d223877c00e01eca42b4 *man/gtkWindowGetHasFrame.Rd feac6b83794c177c4ea55a60e48c1339 *man/gtkWindowGetIcon.Rd 220b44ee9e241fc5342aa15da71140ce *man/gtkWindowGetIconList.Rd 3bfd25d136e5f661890b1f071a3c0107 *man/gtkWindowGetIconName.Rd bd13bb6da57a03f2589e66de9b71c4c4 *man/gtkWindowGetMnemonicModifier.Rd 019f58dac1a449e6f8e950d5b89ae60e *man/gtkWindowGetMnemonicsVisible.Rd 21bb45af52ab2881f0569975a9dc2722 *man/gtkWindowGetModal.Rd 7983d9fa539310e6c88172a99a8f3008 *man/gtkWindowGetOpacity.Rd b30f2d9e8a200638bb2a80d8ee56a274 *man/gtkWindowGetPosition.Rd 3c07b7089d4eafe8bf63f0b2910d4add *man/gtkWindowGetResizable.Rd e66944a4473156f46f2439370777490d *man/gtkWindowGetRole.Rd c3c4aa4d2edfbe8b0e5abecd74a2dc34 *man/gtkWindowGetScreen.Rd 9a8b4102328c8fed37e2296c706bdfbe *man/gtkWindowGetSize.Rd 754eac37a0449e60bd767577724f3fae *man/gtkWindowGetSkipPagerHint.Rd da06f8ac7eed681c58c6421dd5f95b1e *man/gtkWindowGetSkipTaskbarHint.Rd f7e23272083cf1fa01815a24fb38edef *man/gtkWindowGetTitle.Rd d40384165f9c655e150262430d812af6 *man/gtkWindowGetTransientFor.Rd 2ba4ee03477e42113dc0fb54dbd3c9cb *man/gtkWindowGetTypeHint.Rd 985dd19e51921d02789621957519454b *man/gtkWindowGetUrgencyHint.Rd d7c6fdd714db559612ec7d977a0a2cf2 *man/gtkWindowGetWindowType.Rd e610b126d1cb80065548e10c6ff0cbe3 *man/gtkWindowGroupAddWindow.Rd 7954c5d442b680e0aa8fe15c5de11e42 *man/gtkWindowGroupListWindows.Rd 652952faf314aeff95599dd5019d36eb *man/gtkWindowGroupNew.Rd c6be019bae0820cd0c382f9ca14917ba *man/gtkWindowGroupRemoveWindow.Rd 7006414dd939143546634d5bdd14141a *man/gtkWindowHasToplevelFocus.Rd 1f680c4059ee6c3bcbc849dfe042e7f4 *man/gtkWindowIconify.Rd acb12c3398f0e1dba986e21a12a463b8 *man/gtkWindowIsActive.Rd 98878158dc103c5661e1a6c64812063d *man/gtkWindowListToplevels.Rd 1f881bfd2ee7963fde5d60278317ea4c *man/gtkWindowMaximize.Rd be40f0250e0f3d8baa7e08dd7f7f3aa5 *man/gtkWindowMnemonicActivate.Rd 372804202a5eaaa0736c7e31e54c9611 *man/gtkWindowMove.Rd 9262ed112c0b78c414d911f8b1b2b4ab *man/gtkWindowNew.Rd c06a8fb7a43416257db984cc438238ac *man/gtkWindowPresent.Rd f5012e5f9f05060fc2f19109d2887bc4 *man/gtkWindowPresentWithTime.Rd a0b07bb9fd8dbf5cc0105421f004a55c *man/gtkWindowPropagateKeyEvent.Rd 4b80d46d97bee60bddbcae125ec54d54 *man/gtkWindowRemoveAccelGroup.Rd a22a4ad217e096dacf1be70da1ca1f51 *man/gtkWindowRemoveMnemonic.Rd 5baf2d604b45a4c8ee1e2baaa33dc78b *man/gtkWindowReshowWithInitialSize.Rd 016de9aa73760737cff024e0640feb09 *man/gtkWindowResize.Rd 9af597943d65f3ea82d73d84d7686f0c *man/gtkWindowSetAcceptFocus.Rd dd0d41df05a2488c35a5a4c8d1949fcf *man/gtkWindowSetAutoStartupNotification.Rd 22d06de1ce7cf48c46c15d020d9b8514 *man/gtkWindowSetDecorated.Rd 276bf48d0f67ab06720099994652e840 *man/gtkWindowSetDefault.Rd c309120bded914ecc6e4fca0ccfc46e9 *man/gtkWindowSetDefaultIcon.Rd c063692f2a457b4e45a45cd0c06b35e8 *man/gtkWindowSetDefaultIconFromFile.Rd ef07f024696b2faff1d9062e7e5a286d *man/gtkWindowSetDefaultIconList.Rd 159a56433a9ba620fd187f329f55fa7f *man/gtkWindowSetDefaultIconName.Rd 0b6f1455cc676f93e570ac0e53b0b645 *man/gtkWindowSetDefaultSize.Rd 8b817dca6d5ce5a481ce617e5892eabf *man/gtkWindowSetDeletable.Rd e9b70126ee15a9a3c44c26d5c248ad47 *man/gtkWindowSetDestroyWithParent.Rd 39f210f7fbfeb9a2a6ee360a218ad46b *man/gtkWindowSetFocus.Rd 5387c2288e2433780ad9e946a16d54ff *man/gtkWindowSetFocusOnMap.Rd cc8ef1d17b5e2d6ca604fa174e8c5b1e *man/gtkWindowSetFrameDimensions.Rd 5669b07a933f340c6ade1b3475cf7804 *man/gtkWindowSetGeometryHints.Rd 5f3beb8a4200ba9172736e7c2f3a648f *man/gtkWindowSetGravity.Rd 3cc86a78f4116d1c53616dd4ab4e7a32 *man/gtkWindowSetHasFrame.Rd 7c4251b5f31c24e2a9002b7481212735 *man/gtkWindowSetIcon.Rd 8242330296bfc34734b06308bb44fdb6 *man/gtkWindowSetIconFromFile.Rd b8181fd13b4ee619006a6f292c9c60e1 *man/gtkWindowSetIconList.Rd 4c03499df07830ac452c613db4c35c9a *man/gtkWindowSetIconName.Rd 4a07f31272009b378ddefe25d8625998 *man/gtkWindowSetKeepAbove.Rd c2cde22cae97e3beb19adc67b44efe4c *man/gtkWindowSetKeepBelow.Rd 3442dfac73640a05617874264047d005 *man/gtkWindowSetMnemonicModifier.Rd 7b063365333226e1f086a440a370fb31 *man/gtkWindowSetMnemonicsVisible.Rd 1ae69b6bde1bed84e78ea973702978d4 *man/gtkWindowSetModal.Rd 31e568bf05f5111b2c93834e14bb94a1 *man/gtkWindowSetOpacity.Rd 322ff6ccf27d301d4df59d69a9be4a81 *man/gtkWindowSetPolicy.Rd e137299f695171c5cf8e84d339f5ff01 *man/gtkWindowSetPosition.Rd 0a8c0cf1415eb5b7a2bfd8874c901ea1 *man/gtkWindowSetResizable.Rd d666ca3816cb50d82dc1ad624659168b *man/gtkWindowSetRole.Rd dd181619b9a5b38d2332317bcdd2d3ba *man/gtkWindowSetScreen.Rd 045c38699ab64df1d894ecf2c6d80aa2 *man/gtkWindowSetSkipPagerHint.Rd 16a7e8c2035df299653c924d50eab95c *man/gtkWindowSetSkipTaskbarHint.Rd e115c3340c027fa9902e9be58d5c12b9 *man/gtkWindowSetStartupId.Rd 4aad773ea413173270fa6fb564f2808d *man/gtkWindowSetTitle.Rd 946a17776e82be6cf460d8a10f92d461 *man/gtkWindowSetTransientFor.Rd 9241523e6f398f6bc47d2f34cc1e567a *man/gtkWindowSetTypeHint.Rd ec551cd64243c8b2939ff974d85a2134 *man/gtkWindowSetUrgencyHint.Rd adf0ce9822c505861f387ad8165b581f *man/gtkWindowSetWmclass.Rd 15c614c904f53149633597cac63b9a00 *man/gtkWindowStick.Rd b81eb33233f25265a2e0257a30e8adfd *man/gtkWindowUnfullscreen.Rd bc2f9989ddedbb924f27ee3ec806d5a8 *man/gtkWindowUnmaximize.Rd 9f54a0e30bba53cf2c574178ce9619d7 *man/gtkWindowUnstick.Rd e8fb8ef6efc6e34d6b6495b23b00d802 *man/handleError.Rd 4391d1efc6b100a71dcf237a61c6779e *man/idle.Rd af94deef3d3ae6ba1d498945c74d98c8 *man/invalid.Rd f2c3bc43301e19643e941873a44073b5 *man/objectArgs.Rd 37c8ea96ae820d4d502bd448fd98b001 *man/pango-Bidirectional-Text.Rd 9b907c6a88dac6f6d70fe4550146c1a1 *man/pango-Cairo-Rendering.Rd 91e1bfa7f1a2a3f159b549f1a7c6a23b *man/pango-Coverage-Maps.Rd f83717f6fc722df26ab7268c23343ce9 *man/pango-Fonts.Rd 5cff231818fb8592727b69fd48cfb2ad *man/pango-Glyph-Storage.Rd e251fc2a65e36e918f016e51919ba742 *man/pango-Layout-Objects.Rd cc54ff18348de6c0d2d9e43f1de554f1 *man/pango-Scripts-and-Languages.Rd a28ec3a147636a5cf4a7f5ee67e0bbec *man/pango-Tab-Stops.Rd a43c88b3ec69373a1cf62970c38adf26 *man/pango-Text-Attributes.Rd 9eecd3b65b36fa56e5474424c6a8c95b *man/pango-Text-Processing.Rd 01dd39c18799be4811cf609076ab5354 *man/pango-Version-Checking.Rd 3e57ce895348445512cde53b8cd4d868 *man/pango-Vertical-Text.Rd 3ba33e92011d8982b564e34a4b5b6bea *man/pangoAttrBackgroundNew.Rd fe8df32e18a2acd6402c86220af175a9 *man/pangoAttrFallbackNew.Rd 4c79bfd953c595bf49f1f0a2c44500d0 *man/pangoAttrFamilyNew.Rd 40e8bde555364d1cb755f7f9ce01598b *man/pangoAttrFontDescNew.Rd a273f229aee3e8e6cea698df3dd131ad *man/pangoAttrForegroundNew.Rd 178d6920493bbadcd564c21cfcbde781 *man/pangoAttrGravityHintNew.Rd c78d103ce804c7622db8653768ea12c4 *man/pangoAttrGravityNew.Rd 259d77d9245ffc0a32c3c25fbfd602a9 *man/pangoAttrIteratorCopy.Rd c85c79a1e9e64c16bedbeeceb3bd49dd *man/pangoAttrIteratorGet.Rd e434a435f7b7d2acb5dcbb0261f9dc07 *man/pangoAttrIteratorGetAttrs.Rd b754135dcd911cbbbe10580fbb26e201 *man/pangoAttrIteratorGetFont.Rd 9da69f90a109cc64e79ab4f99b8ffbb9 *man/pangoAttrIteratorNext.Rd 82b99bb51bd973ac210f3e9b20ea1223 *man/pangoAttrIteratorRange.Rd f40085e51c32488598d4a134cb47c4eb *man/pangoAttrLanguageNew.Rd 2ccc3b44e462017bab1d6a00303eb91b *man/pangoAttrLetterSpacingNew.Rd 30dbaa6e09f7ff4fc069e54a848abdc2 *man/pangoAttrListChange.Rd bf8e13f8acfc0a700e9f6c2312c8b8f8 *man/pangoAttrListCopy.Rd 01afb185931fa0f5046f5efd13e0276a *man/pangoAttrListFilter.Rd 44ce1ca23b586ea0e6b607593ed545d7 *man/pangoAttrListGetIterator.Rd f2e1d949975fb8255a9d0e51774b3838 *man/pangoAttrListInsert.Rd 59292d9a950bcad8c85fff64f326b3f2 *man/pangoAttrListInsertBefore.Rd af0180a6d345abe3abc5d533d072955e *man/pangoAttrListNew.Rd d0e32b0b7b7f54c8f248962357f2fe36 *man/pangoAttrListSplice.Rd 7ee49d650a61de2dff4bb7c5611e1a63 *man/pangoAttrRiseNew.Rd 7e3dee860c81c8df135424e3cdb64885 *man/pangoAttrScaleNew.Rd a75a79a00c5662d86786cf1ba82605d9 *man/pangoAttrShapeNew.Rd 1d6bc52762cb8ed446ea4eccbd2e2094 *man/pangoAttrShapeNewWithData.Rd e39791ee48b607eefa1fb579a781c7a6 *man/pangoAttrSizeNew.Rd b3725ac35ae2b221ebb167b69ca8d61d *man/pangoAttrSizeNewAbsolute.Rd b9cd0ca57b4ac795b611edba8fbddfd7 *man/pangoAttrStretchNew.Rd 3cec681b5e97fb52f7342589115f87d2 *man/pangoAttrStrikethroughColorNew.Rd 5baf40afad68fcbcbc6dc8b54c834cc6 *man/pangoAttrStrikethroughNew.Rd a1cb5069d129d1eb6b10937e68631c3b *man/pangoAttrStyleNew.Rd 25a3ea4f955b7028f73ed4a00653e74e *man/pangoAttrTypeGetName.Rd 138c282e46d2db75d7770fc14e9bfbbe *man/pangoAttrTypeRegister.Rd f503c8a5059c6e475297b9e99e245ca9 *man/pangoAttrUnderlineColorNew.Rd 48f23cada03ce134948d92b1cfd9135a *man/pangoAttrUnderlineNew.Rd a6e1a4f05629ff27d6c5b22f24746d4f *man/pangoAttrVariantNew.Rd d8d661ccd6be82eedaf1f1df57801eb2 *man/pangoAttrWeightNew.Rd 1f07fd670fe8c0a604ef0476b83bf24e *man/pangoAttributeCopy.Rd bab2a28384a650f3c4b6dacdcccbc3ee *man/pangoAttributeEqual.Rd ec99999f5e93c361e9ec67eee9653733 *man/pangoAttributeInit.Rd 7f3f93ca0077604c39cf23645dad3e36 *man/pangoBidiTypeForUnichar.Rd fc25ceb862ba888e240b5664823990be *man/pangoBreak.Rd c37349f9f0bc68bb28c2d3309a9f3241 *man/pangoCairoContextGetFontOptions.Rd d33f858ccad50054dcdce249a7ca3306 *man/pangoCairoContextGetResolution.Rd a3680886beea7002c7b35e2afe28a5ed *man/pangoCairoContextGetShapeRenderer.Rd c85747cebb8fd1bde47cd2265c8e73c4 *man/pangoCairoContextSetFontOptions.Rd 67d09f44cee2cd6ce3f19ef7cabe507f *man/pangoCairoContextSetResolution.Rd 22e8bab00161fc824ce3b13b4f1f7904 *man/pangoCairoContextSetShapeRenderer.Rd af1129e1c344932b4a6bfe14cbe81c88 *man/pangoCairoCreateContext.Rd ceb15da06103703e9c4534843bc22afa *man/pangoCairoCreateLayout.Rd fc040aad9e032283d93fcb741bec98ca *man/pangoCairoErrorUnderlinePath.Rd 417b1e64e4b608a254bddd66e5f85f50 *man/pangoCairoFontGetScaledFont.Rd 00b2f7fbd670d4d6b4257d0e1369facb *man/pangoCairoFontMapCreateContext.Rd 23b7149f3b783920c23d4d7da8901096 *man/pangoCairoFontMapGetDefault.Rd 80873b68ed6264f560600c5564f9f255 *man/pangoCairoFontMapGetFontType.Rd fb243a1b3ea1bf2c75a3a5bab8480253 *man/pangoCairoFontMapGetResolution.Rd dd28e7dded6526aabba75d7e4fce5cf3 *man/pangoCairoFontMapNew.Rd 3dc6d674fcd3c9916a4547bb4c2ec46f *man/pangoCairoFontMapNewForFontType.Rd af7706dd262d0b11cfbbcd5cd06ee80c *man/pangoCairoFontMapSetDefault.Rd 7352713cbfcdbb91c9b1185f10952fc7 *man/pangoCairoFontMapSetResolution.Rd 897568e23b7a578cc09deba0569563d7 *man/pangoCairoGlyphStringPath.Rd 83ec6c2ed1b20dd23f1b9a4735da22c8 *man/pangoCairoLayoutLinePath.Rd a57b7b56fae4c03d6ad642988c71ab55 *man/pangoCairoLayoutPath.Rd 277d3df1db76d57559d56636a77bf196 *man/pangoCairoShowErrorUnderline.Rd 54865d015918fa7be2a2a3e669822eb5 *man/pangoCairoShowGlyphItem.Rd 3f4900202a9f3c6f2fc009697b4e7b23 *man/pangoCairoShowGlyphString.Rd f1f591eb431b6d1c6e189f5143c5a3ed *man/pangoCairoShowLayout.Rd 121af534ec4ff505e685fa0106b9d082 *man/pangoCairoShowLayoutLine.Rd 88a91a0cce4239545c4fa5fab884d0e4 *man/pangoCairoUpdateContext.Rd 42e07d3ff1bc92ff89d45492150cac37 *man/pangoCairoUpdateLayout.Rd 09cfe62ba640bb22d2079330f1d0ee69 *man/pangoColorCopy.Rd b588e8ca9f67bb5c01a23d1d122d39c8 *man/pangoColorFree.Rd 54b30e33280d17fd41cbaad2859b87df *man/pangoColorParse.Rd c71de56135895fcc5965060a39f30fa4 *man/pangoColorToString.Rd a5250c4e0ba1c7dea22c1ae91e5043e6 *man/pangoContextGetBaseDir.Rd 64fd5b1e78b00198e573d2714b07c819 *man/pangoContextGetBaseGravity.Rd 932a859943dc073af9ac95ea02e5a2c4 *man/pangoContextGetFontDescription.Rd d1f74c2bad6e08412f74a1905e319b04 *man/pangoContextGetFontMap.Rd 77d5099076c5ec8334876aa5a91e44ff *man/pangoContextGetGravity.Rd c7e3c262978cd077a98911e726845e51 *man/pangoContextGetGravityHint.Rd 5cf11b09afcab02175d90e32cb7a3514 *man/pangoContextGetLanguage.Rd c977ddd4765c873e5ae4ab7d546ebc0b *man/pangoContextGetMatrix.Rd cb89d718f1981d0ec65ac1c6b0d93c23 *man/pangoContextGetMetrics.Rd 743b2d8878bdfb8c9fe9dce9b2a1cc6e *man/pangoContextListFamilies.Rd 1eb29bf442ae755c569d6dd75a65f09f *man/pangoContextLoadFont.Rd 52a19a0cf80a3692a483059592c1634c *man/pangoContextLoadFontset.Rd 7d14a5b70cd94e0def0c2d97d600d5fc *man/pangoContextSetBaseDir.Rd 41e29fe8e596e484c792eef82925d69b *man/pangoContextSetBaseGravity.Rd 23b4d1854bb140a6fac5cd46ded3aafb *man/pangoContextSetFontDescription.Rd 1b65a61559deec4c2ad530b6242895d3 *man/pangoContextSetFontMap.Rd 152675baf43e209229a359b23e920525 *man/pangoContextSetGravityHint.Rd 9a38b294f0571241be711cb2de439f16 *man/pangoContextSetLanguage.Rd 2b7b63725c8d2804d16b9e32796e97b5 *man/pangoContextSetMatrix.Rd 922d965c6a393296fd91ceba91fb702d *man/pangoCoverageCopy.Rd f9ec1b14766adb86a648368aa392d551 *man/pangoCoverageFromBytes.Rd 174e74baaa5570eb6035d394585704de *man/pangoCoverageGet.Rd 18661c40b94709b97b5a6e4be49ef1c7 *man/pangoCoverageMax.Rd b33acc1a8f0d65e013cd3986fcfe4b72 *man/pangoCoverageNew.Rd c1d678f5fef0a64457f6473b0d51723f *man/pangoCoverageSet.Rd 95cb26860e87d56a7b57101d30ed3da6 *man/pangoCoverageToBytes.Rd b01037c04f9f4e6ba3d8177aa58ca37c *man/pangoExtentsToPixels.Rd 3bcbc39cb7c9f33e3a850d38e883d748 *man/pangoFindBaseDir.Rd 6e9d8a1f8192163c053134ca716d4ab4 *man/pangoFindParagraphBoundary.Rd 6661a637d31b5f2e5c9df329e910024d *man/pangoFontDescribe.Rd 4443c0ad6130f6e646edbb7ad9355743 *man/pangoFontDescribeWithAbsoluteSize.Rd 238f2d9e5447e808a374ce4ec65b92cf *man/pangoFontDescriptionBetterMatch.Rd 3dbd1e4f751741dc8b36e0ab51daf5ac *man/pangoFontDescriptionCopy.Rd 9efaa4b96ac2e89ce91d6d07883c5e63 *man/pangoFontDescriptionCopyStatic.Rd da01c0ce09cdc9a38c2c161277e10dc7 *man/pangoFontDescriptionEqual.Rd f65051e560510c15a3fd04f6f2c061d8 *man/pangoFontDescriptionFromString.Rd 1f331c25a9d711a05e26a50c5137da2d *man/pangoFontDescriptionGetFamily.Rd e27ffc2a308f242f15a7efa117c301aa *man/pangoFontDescriptionGetGravity.Rd 3784f62c76299445f0b334a842be11ab *man/pangoFontDescriptionGetSetFields.Rd 834675b390e71f387e4d0eb8f076e6b4 *man/pangoFontDescriptionGetSize.Rd 1ff9cb93e7250ea6429ac4b10c6ee139 *man/pangoFontDescriptionGetSizeIsAbsolute.Rd 6785d89a5f38bc141f94f404b1d3515b *man/pangoFontDescriptionGetStretch.Rd 26dc7c7c6b4621d52fde5849fbc37601 *man/pangoFontDescriptionGetStyle.Rd c8f4d08ca52b5a15dc535a6a5298cd5b *man/pangoFontDescriptionGetVariant.Rd afcd5f7d7b2cc5e88e4171aad32d6776 *man/pangoFontDescriptionGetWeight.Rd e2243d1d32d2e3aa31de9dbbef77d248 *man/pangoFontDescriptionHash.Rd 72e6bcce2a3184a62e0b31d612c474e7 *man/pangoFontDescriptionMerge.Rd a74d16d87599e4bee584b6fdfc07d030 *man/pangoFontDescriptionNew.Rd de2bb9db3f15681d69e8bafdf701d76c *man/pangoFontDescriptionSetAbsoluteSize.Rd 49db5c348f604b65a328e6486b06fdd2 *man/pangoFontDescriptionSetFamily.Rd d42521a1ec59b4ba32b693529487c5fa *man/pangoFontDescriptionSetFamilyStatic.Rd 3ae61620ed311c57d5c6ec20fb506dc2 *man/pangoFontDescriptionSetGravity.Rd 187acf3ad0aa3a430f0c1cfd2b9cc360 *man/pangoFontDescriptionSetSize.Rd 5b7c3fedfa915d4bfc84715c1274e65e *man/pangoFontDescriptionSetStretch.Rd a5a05cb90a0a973a0c41fcbfaa921fc1 *man/pangoFontDescriptionSetStyle.Rd 710fd0624850c6a8fdec8fb1ab2468cb *man/pangoFontDescriptionSetVariant.Rd 7e858740573e92c00279784591e4edeb *man/pangoFontDescriptionSetWeight.Rd 2f4c59cfbf77e06aa4325eacd2a03b47 *man/pangoFontDescriptionToFilename.Rd 61fddd244910e36a50ae9a5bed67e7f5 *man/pangoFontDescriptionToString.Rd 974485115a036d3b55f14826fcc236a9 *man/pangoFontDescriptionUnsetFields.Rd e540675b39ef743d7340c2fc6f65b6d8 *man/pangoFontFaceDescribe.Rd f9feba2f25648da7c0080b8b6057c88f *man/pangoFontFaceGetFaceName.Rd 3d7178ec6f8217bb35a6f178721faa61 *man/pangoFontFaceIsSynthesized.Rd 76a711885aff266094d11e3bc32524d6 *man/pangoFontFaceListSizes.Rd c90973cadde7384c9ce89f3ee676f491 *man/pangoFontFamilyGetName.Rd 7dada8583e25ccf2b9edf1d2385f3911 *man/pangoFontFamilyIsMonospace.Rd 0e0c34e56bb6324a2b972ca9a8331720 *man/pangoFontFamilyListFaces.Rd 99c844b1fd77ea4f03cbbdc96cd2fcae *man/pangoFontGetCoverage.Rd 16b6a57a940b8413f33e3b8b7ab70667 *man/pangoFontGetFontMap.Rd 82958a9e11b8a3a65bc5c3d729c4f3ea *man/pangoFontGetGlyphExtents.Rd 462ff60c5febceb3aca6854a32c6a3d5 *man/pangoFontGetMetrics.Rd f67ede83c6e7fe3ef9437e0416bcaad8 *man/pangoFontMapCreateContext.Rd 55c89b46d8f68f13750b21cdca8026d2 *man/pangoFontMapListFamilies.Rd 69cd8ef0a1cbaa2e15a905972c0a54df *man/pangoFontMapLoadFont.Rd 3cea7829cf8204aa20243aa8a96dbaed *man/pangoFontMapLoadFontset.Rd 0cb83c895e3eb24b29044e5675cbe487 *man/pangoFontMetricsGetApproximateCharWidth.Rd ab8e4b4e94b5d17f541653c4178626b5 *man/pangoFontMetricsGetApproximateDigitWidth.Rd 81e5770f6d9ce4689fae9cf0ccd6d16a *man/pangoFontMetricsGetAscent.Rd 89af80d69025a36f0c7df46cb84644e4 *man/pangoFontMetricsGetDescent.Rd 1ef6bd035a42c81db9b3c40021be7228 *man/pangoFontMetricsGetStrikethroughPosition.Rd a46aeb0d3c2c2b7f5612f7a24b766456 *man/pangoFontMetricsGetStrikethroughThickness.Rd 57c6f905575a7988fe94e71d78740b5d *man/pangoFontMetricsGetUnderlinePosition.Rd 908d980668c3fcbb70b8ae9dc1a0868a *man/pangoFontMetricsGetUnderlineThickness.Rd e64b44456f713aa9cdb3ee38d4404741 *man/pangoFontsetForeach.Rd 5609302b0eb6120501fccb132b59a082 *man/pangoFontsetGetFont.Rd 339fa1efc3ce6bcad0f64b7284fac3c8 *man/pangoFontsetGetMetrics.Rd db621727a9031fd1675ca7b6bd461413 *man/pangoGetLogAttrs.Rd a11c66baad20977f39b446936966c5e2 *man/pangoGetMirrorChar.Rd 2873fc1aff0ca51003538da54b8f5ba3 *man/pangoGlyphItemApplyAttrs.Rd 36bb1ad8647f6b66cbaf80d2d6535ebf *man/pangoGlyphItemGetLogicalWidths.Rd 81d77d9986b18fff7c7bfea898901e34 *man/pangoGlyphItemIterInitEnd.Rd 237781bdcadfaebc4dc94b215e33c3f8 *man/pangoGlyphItemIterInitStart.Rd 5e12ac6f15d43dd0d8055abff190bb6f *man/pangoGlyphItemIterNextCluster.Rd e2bdae6621aaa184053ecb6f4a318894 *man/pangoGlyphItemIterPrevCluster.Rd 263d3ddc84c083080f10721b22c09a9c *man/pangoGlyphItemLetterSpace.Rd 33dbbc27aee65e3af035d907e37ea1cc *man/pangoGlyphItemSplit.Rd 87ef3ca941ecd7b47407878fa7efde65 *man/pangoGlyphStringCopy.Rd 194bf6185fd817af3327a7c7bdcd262d *man/pangoGlyphStringExtents.Rd 0bc42cb38bcdf25dcb8a59389834a9c9 *man/pangoGlyphStringExtentsRange.Rd a14fca4a03c99a2d51ecced797cd7f08 *man/pangoGlyphStringGetLogicalWidths.Rd 5f768cf475300b9096c7f3fb1a27465b *man/pangoGlyphStringGetWidth.Rd 2f92e30cb010e7e62323cc24e677da68 *man/pangoGlyphStringIndexToX.Rd 08b7ee13e939a5e6d581ee68fa04ed67 *man/pangoGlyphStringNew.Rd df1b5fcef37d9468d4c3badfc9210741 *man/pangoGlyphStringSetSize.Rd 200d44d070b77ecd7c67f834489a2ebf *man/pangoGlyphStringXToIndex.Rd 5d64bb2b36b97f1a53aa28ff33d056dc *man/pangoGravityGetForMatrix.Rd 997c2e0c0715d3a7f6e68f591df8ab58 *man/pangoGravityGetForScript.Rd 77beae920ff4cb57de6ae31910ca3d43 *man/pangoGravityGetForScriptAndWidth.Rd 477af198bbddcbb92c59ea763e17b5bd *man/pangoGravityToRotation.Rd a34c56ff1dbc46179e6c30be3ab1e0ee *man/pangoItemCopy.Rd feab52ba526cd4c021463c49874de938 *man/pangoItemNew.Rd 48243ce8115943eab9cfe27384db8170 *man/pangoItemSplit.Rd fef8c089b8789b5fd0a241b8f4a5cff0 *man/pangoItemize.Rd 42c922081dcb80fcf444d008f4863bc2 *man/pangoItemizeWithBaseDir.Rd a0a27894c8a2d1a6cdb17d7065ac603b *man/pangoLanguageFromString.Rd 260966a295eabd296ef2fdcebe1399b6 *man/pangoLanguageGetDefault.Rd 9d0e0629cf824dd4217c1c8167feaef1 *man/pangoLanguageGetSampleString.Rd 5aa81093dbc53b2ae6354bdbea2071cb *man/pangoLanguageGetScripts.Rd e8c9168a9ea4869584ab2a4832eb7dbd *man/pangoLanguageIncludesScript.Rd 41369e57e25560d12a613bfadb24e58c *man/pangoLanguageMatches.Rd 6c7d0510cc71c31b3d5e146cbe715ef3 *man/pangoLanguageToString.Rd 2eb1bb78d98739874c8fa438ec186dfe *man/pangoLayoutContextChanged.Rd 65d0e8cc103910339b3ad1fc6c53adfe *man/pangoLayoutCopy.Rd ffff989fdf94bb53dec813d190a45c57 *man/pangoLayoutGetAlignment.Rd 214c08138c723cb9bd4f7e44f44c9c7f *man/pangoLayoutGetAttributes.Rd 7032d89d2868746090af1f8d7be1287b *man/pangoLayoutGetAutoDir.Rd 8399d44644ce4620c08e54851e838fb8 *man/pangoLayoutGetBaseline.Rd 15726eff54aacb77befc277b72eba9ed *man/pangoLayoutGetContext.Rd 842a917aaebb8993a2feedaca5171a0a *man/pangoLayoutGetCursorPos.Rd fff5d9d435f61b0ba600bcb5a9bab2a4 *man/pangoLayoutGetEllipsize.Rd c6d22bbc20bdfb7ccc3a63a19fbcd198 *man/pangoLayoutGetExtents.Rd 4e669ab7de57f4f477f2518f2615471c *man/pangoLayoutGetFontDescription.Rd 645ad705ead15b98f113f61b3824a2de *man/pangoLayoutGetHeight.Rd c655f8e8fbcd72bbeb851893e61b7a77 *man/pangoLayoutGetIndent.Rd 261acfb47b84284c8773a72321ea04d7 *man/pangoLayoutGetIter.Rd dee72600aa4acfcc7349b05af05f48b3 *man/pangoLayoutGetJustify.Rd 56edf54caccefcc43acfd03e703afe8d *man/pangoLayoutGetLine.Rd 00eb8f615af787118dfac323f8bf93d4 *man/pangoLayoutGetLineCount.Rd 5f4297afaea78ce50c46123e00b9d14d *man/pangoLayoutGetLineReadonly.Rd 63a72c58dad2f431f6dbce983e05f9b2 *man/pangoLayoutGetLines.Rd 77d4dfe4dd6ea524f95da94a97d2ea9b *man/pangoLayoutGetLinesReadonly.Rd d258e2e49aba0f82596ad4cf0cb09779 *man/pangoLayoutGetLogAttrs.Rd 77c27e423209e1c446995e3bc7c8c30b *man/pangoLayoutGetPixelExtents.Rd 0c9ddc4dcfae736022a80bdbf0610fd6 *man/pangoLayoutGetPixelSize.Rd b4a27d133ca2463f9b45371f06515525 *man/pangoLayoutGetSingleParagraphMode.Rd a6e6d8afbe1d5e587fb6e474211ad349 *man/pangoLayoutGetSize.Rd 47050a1357896b8d76237269125de5c5 *man/pangoLayoutGetSpacing.Rd f88824b2e78258ea1b69dd14d7b2190e *man/pangoLayoutGetTabs.Rd 25b420a7319d1a6763befa2936f1a999 *man/pangoLayoutGetText.Rd 3dc267e6bd1844f558a2e23d39b2f01b *man/pangoLayoutGetUnknownGlyphsCount.Rd 2df41ddde7f0d3a7799165637d9d8f7a *man/pangoLayoutGetWidth.Rd f9520fae8cdc4c76fcdfa5d8ad1e83a2 *man/pangoLayoutGetWrap.Rd dd1e52b9a5fd676623fc61049b3897ff *man/pangoLayoutIndexToLineX.Rd dd7a0ee121a218685411b42a75f6fba9 *man/pangoLayoutIndexToPos.Rd d33d45a2decc8c4c4c7c103da0b3b80a *man/pangoLayoutIsEllipsized.Rd 068ca0e3ca7ab9b8c9b6f86863cc9b31 *man/pangoLayoutIsWrapped.Rd 4be61d354621a56992a91e406076413f *man/pangoLayoutIterAtLastLine.Rd e6eb7ee8ae459d006721d65eef2f2fc8 *man/pangoLayoutIterGetBaseline.Rd 1e9536aabf4953150b417ebcce9887c2 *man/pangoLayoutIterGetCharExtents.Rd 9ed4e3ebfef53ae2d0009ced512f4d67 *man/pangoLayoutIterGetClusterExtents.Rd 95963a0d52e2c94542aa10ef47f6909c *man/pangoLayoutIterGetIndex.Rd 07781e9bca1682fc041ac18138bc7c4e *man/pangoLayoutIterGetLayout.Rd ba3aed1937f0cbf738097f18e2bfb7cd *man/pangoLayoutIterGetLayoutExtents.Rd 9698995b039b9069667f15f78e47fcc6 *man/pangoLayoutIterGetLine.Rd 7a76f1fd86d36d96566bc537b350ea39 *man/pangoLayoutIterGetLineExtents.Rd 307eb92d1d8a72f40f2a1942613fd037 *man/pangoLayoutIterGetLineReadonly.Rd 13e35e09a45b076f7e7f69a599363db8 *man/pangoLayoutIterGetLineYrange.Rd 022401ad428d14ea24fc7787c82bc944 *man/pangoLayoutIterGetRun.Rd 0123752111d2277fff7c840f105b22ef *man/pangoLayoutIterGetRunExtents.Rd 2491a65eac74d537d3ccbc00749c3554 *man/pangoLayoutIterGetRunReadonly.Rd 05064c4294b3be6b9c3223b61d618b17 *man/pangoLayoutIterNextChar.Rd 8f97464f24dba6784728d05880ba8667 *man/pangoLayoutIterNextCluster.Rd 735c9bf2dca8dec21a1c5cfbb4bd9a02 *man/pangoLayoutIterNextLine.Rd 3edfaf059300678ad5ed86503d45f753 *man/pangoLayoutIterNextRun.Rd b8a511afdfb43bfa75cedbfbcdfa19e0 *man/pangoLayoutLineGetExtents.Rd 40174782662a0ea16beb6db25ca35b2a *man/pangoLayoutLineGetPixelExtents.Rd c82e76c76c626da6f96e068509af9399 *man/pangoLayoutLineGetXRanges.Rd 5fb4b7f4a0e4482110a838ed8c80ade6 *man/pangoLayoutLineIndexToX.Rd fd833db60cea7238d4598d36ff8a6389 *man/pangoLayoutLineXToIndex.Rd d1df4da2328936c71f7dc648e61bcafa *man/pangoLayoutMoveCursorVisually.Rd 23856521abbe068d1b90ffee3212f544 *man/pangoLayoutNew.Rd 8e6141b81b46b4be8be093233a94a105 *man/pangoLayoutSetAlignment.Rd e3419491f3e264bdf93da953deb0d155 *man/pangoLayoutSetAttributes.Rd bda2519c9b30fea8828a7476d9c6d78e *man/pangoLayoutSetAutoDir.Rd abc3fe6d155e941713e527835a60b2c8 *man/pangoLayoutSetEllipsize.Rd 13cf564ffa3436b83d82131105be4b70 *man/pangoLayoutSetFontDescription.Rd 0974fd4755c755319d5f58172e0c1304 *man/pangoLayoutSetHeight.Rd 817b1bfb2c1fa9240c9e6aa6c93d927b *man/pangoLayoutSetIndent.Rd 931e6140904223f9aeadbf38f1537bee *man/pangoLayoutSetJustify.Rd 9cd1df027aa1f5d0b96623553166e9b7 *man/pangoLayoutSetMarkup.Rd b65da4850f1c67761c59040a4ef64a75 *man/pangoLayoutSetMarkupWithAccel.Rd 2754af5c6e9fad33eec7bd0071d83511 *man/pangoLayoutSetSingleParagraphMode.Rd d5cc54deb8e6fb7ec2ec26e11ddfe808 *man/pangoLayoutSetSpacing.Rd d2f624061e384fcacc67a00cd767a678 *man/pangoLayoutSetTabs.Rd 362daff417d29e3ba85bf8ce7d49806a *man/pangoLayoutSetText.Rd 53d2dd8dafaeb098bc59e3521aabf928 *man/pangoLayoutSetWidth.Rd 220067cce3f24b8bfcaed0f74229b88d *man/pangoLayoutSetWrap.Rd c1bd59a693430e1943ecff098aa1be09 *man/pangoLayoutXyToIndex.Rd 82a3eb599a29259fe769ec3ca231894a *man/pangoMacros.Rd 9f1a0ceaa14e79f911f229c3c43d931b *man/pangoMatrixConcat.Rd 2c992405845ea5f4db9c60dc54438976 *man/pangoMatrixCopy.Rd 06fc34a481a990500d6ed473c25cddd5 *man/pangoMatrixGetFontScaleFactor.Rd ff72531948c01ccff29dec55d2ecdb4a *man/pangoMatrixInit.Rd 84d90617ce367ed6a61892a2a7db95f4 *man/pangoMatrixRotate.Rd a917ae8a6e441f93b2a2796d43f113b7 *man/pangoMatrixScale.Rd cb3ec8b798c61f98bfe9da01b8027dc4 *man/pangoMatrixTransformDistance.Rd f0487913c46f1a1060da5a5bfba6ddd8 *man/pangoMatrixTransformPixelRectangle.Rd 6ad23caad8168a2c1f65eb5f6da3455c *man/pangoMatrixTransformPoint.Rd a67422468b39ffd5c1707755e4118a3d *man/pangoMatrixTransformRectangle.Rd 4744d8c37bced88e93fcc57c3bc668a8 *man/pangoMatrixTranslate.Rd 4ca0e6ce127cbad0909d5b1de1e23f3f *man/pangoParseMarkup.Rd 90be3785e8f675379c650593cdccc647 *man/pangoRendererActivate.Rd 194326572f2ce30ce365bd1afd468cfb *man/pangoRendererDeactivate.Rd b78bf593a95ca610a2a1c6ff76fccbd9 *man/pangoRendererDrawErrorUnderline.Rd 9bf97aa114572b6e29490702c21aee66 *man/pangoRendererDrawGlyph.Rd b759d629f4043a273aa714b22be9f879 *man/pangoRendererDrawGlyphItem.Rd a7af6c374c96d7cba5a912a81bc41e58 *man/pangoRendererDrawGlyphs.Rd 9a5e302b224a4b35ac8a4503cdd9025f *man/pangoRendererDrawLayout.Rd e8d7d6205a045f1304b0310313257683 *man/pangoRendererDrawLayoutLine.Rd 2dfe42b04d5f27f7b031536178fc1e93 *man/pangoRendererDrawRectangle.Rd 65ced0be82d0d364f253d656898742eb *man/pangoRendererDrawTrapezoid.Rd 67f09f9c44f318fe6d5f3b43a0d29870 *man/pangoRendererGetColor.Rd 2c890fd4adf35219da51a6d9c21eecf8 *man/pangoRendererGetLayout.Rd 6d467aadf6f5e3bd31f4292ba59e3f6a *man/pangoRendererGetLayoutLine.Rd 859b02c3a5cad87d1a6c7033a9f082eb *man/pangoRendererGetMatrix.Rd b43b1d055b9ce67162c4ec6999e3f295 *man/pangoRendererPartChanged.Rd e263e7786d79098b3f425eadd4a4afbf *man/pangoRendererSetColor.Rd 0506609f0aa042b1eb9de2e75454ae9a *man/pangoRendererSetMatrix.Rd 2185eec058f6b0337c86c23f47d4ffad *man/pangoReorderItems.Rd ad053e0b5caa5f1efe9814878d121943 *man/pangoScriptForUnichar.Rd c10a5be4d3ae42fcab36df75446378a7 *man/pangoScriptGetSampleLanguage.Rd 584e8bcab9af3609b585651b98ee042d *man/pangoScriptIterGetRange.Rd e048f11efdd1e2820504c869be652818 *man/pangoScriptIterNew.Rd 0459e11a61eb4d90bad5c4718aa86e9f *man/pangoScriptIterNext.Rd 8f4a944aaa779a6221abb4b6760be54d *man/pangoShape.Rd 68fa83e9daa5fb4c75c534ed736ff1b2 *man/pangoTabArrayCopy.Rd b50cdcd080f9325e746bea3e6d52bb9d *man/pangoTabArrayGetPositionsInPixels.Rd d4e088e8a77d3571b2e899e233f75fe8 *man/pangoTabArrayGetSize.Rd 470f1e16c321c436e3b8a67691f51533 *man/pangoTabArrayGetTab.Rd 5fc50f7d4bac9668aa657a93c7a2024a *man/pangoTabArrayGetTabs.Rd ecc712f9ef4a813df9ce7431e0b85e8c *man/pangoTabArrayNew.Rd 0b3ee2281520d900b6758466ce344303 *man/pangoTabArrayNewWithPositions.Rd 790e4dbf359017431c85b392cb610adf *man/pangoTabArrayResize.Rd 19abc8b1cc3129bd275e85b47bf4b361 *man/pangoTabArraySetTab.Rd 5423930d22bdec6b11f429515a1a14aa *man/pangoUnicharDirection.Rd 51546f29fd7981e629d15b03cbbf1a44 *man/pangoUnitsFromDouble.Rd ab86fb69f8fb23a9c10effc0c5b7d46e *man/pangoUnitsToDouble.Rd 7aa40cca0419167a118d2f99dd44221b *man/pangoVersion.Rd 287bad4b208cd47e7d1b2752feef720e *man/pangoVersionCheck.Rd a07a976248344b89beffc2fbaedcc656 *man/pangoVersionString.Rd 76235c83f874dad87c86865304faf1d4 *man/rgtk2_bindtextdomain.Rd bb7e3d6df03bb98bb1872ddbc3ddcf95 *man/signalInfo.Rd 64d7de9ef08702ae029475940c9e4e31 *man/stock-items.Rd 5ef7ca51983030c0d29c0448659e2780 *man/timeout.Rd b8ea2ad2b886e4b8dbd759cf96092bed *man/transparent-type.Rd 516f37d90c7406af904a171d88bdefc3 *man/typeClass.Rd e812b442bd3acebdaa68a9c4cff30797 *man/typeMacros.Rd 6a3c2c90a31012390a0f0e460d9b2d55 *man/undocumented.Rd b4e8bc2b046f50aac82270a7b6439191 *man/utils.Rd 8e8ab81c44a2b3e832319cee1aee5813 *man/virtuals.Rd 6bfd5f52910775681ce8f3b83b38f678 *man/windowSize.Rd cb3ec7dce96f21601f3d5ae3418e249d *src/Makevars.in 84623062f0338203d55ceef13b9bde37 *src/Makevars.win 09beb4bc8d6aed950a01c21e49c5d88a *src/RGtk2/RSCommon.h 5ed3fabb308d222515889c2fbb6bf711 *src/RGtk2/atk.h 6a4fda25a1814406acfb43490bcb0f51 *src/RGtk2/atkClassImports.c aa44d9fec9b123a795fb1e3931ee8567 *src/RGtk2/atkClasses.h 70ea91fc12c917ef102d38bfd60f7e07 *src/RGtk2/atkImports.c 6597bf3cbb61e3c53c3a9431105d6dcc *src/RGtk2/atkUserFuncImports.c c1f499a733bdf82b1b47c2efda544782 *src/RGtk2/atkUserFuncs.h f083c93871b0f55bc55f112be1831450 *src/RGtk2/cairo-enums.h 063bb87984b86c4abd6c6504fb2db58d *src/RGtk2/cairo.h b5300b0e3473055563ff530e1d3eda3c *src/RGtk2/cairoImports.c f79332be34922a66133caef6f20a4be8 *src/RGtk2/cairoUserFuncImports.c c5664280320036a9881578c080c3cc8d *src/RGtk2/cairoUserFuncs.h f05f24df2c84db075ef6b18cc39474f8 *src/RGtk2/gdk.h 06a51951e89b3005883e79228710e329 *src/RGtk2/gdkClassImports.c 07eaeb7a14b1610f4fe19d7c113d2c9a *src/RGtk2/gdkClasses.h e700001a00039eda05cb7cddf48e218f *src/RGtk2/gdkImports.c 398f8a620509c895b36aedea4a3d81c7 *src/RGtk2/gdkUserFuncImports.c a8c9ff3556d2dbed2b25f257594544d7 *src/RGtk2/gdkUserFuncs.h 9ac364fcd5d11aed2a0e23271be22f03 *src/RGtk2/gio.h 2f876eb0ac34cebf4eb80b3805d94b74 *src/RGtk2/gioClassImports.c d938effd52452fd040c1743967bdd23b *src/RGtk2/gioClasses.h 0d9c345ec36198c3eaf7b8cb680be6f8 *src/RGtk2/gioImports.c 944e15380081dbde3b8811eb173498c8 *src/RGtk2/gioUserFuncImports.c 504353d55557763c3f2ad30774c84a61 *src/RGtk2/gioUserFuncs.h 2c7277a28730d438ade8283b5eddbe94 *src/RGtk2/gobject.h f99668cdf6beefc3aba174bd8d04bd82 *src/RGtk2/gobjectImports.c f05f24df2c84db075ef6b18cc39474f8 *src/RGtk2/gtk.h 4661a79e85cbaa159f9dd179e1862e0a *src/RGtk2/gtkClassImports.c b17ecda6d88c66a0a6817b3c2c5db0d5 *src/RGtk2/gtkClasses.h d4c56efd04eb2d832c1d0e79451f0ffd *src/RGtk2/gtkImports.c b25231ac273316c1a7671e7ddd02114f *src/RGtk2/gtkUserFuncImports.c d8273abf737e6194d787ee7c386bb590 *src/RGtk2/gtkUserFuncs.h e272a1a9cf7a0299c90d5a3791cf2532 *src/RGtk2/pango.h 55167e7a9d4edb20b551d0e35edb5644 *src/RGtk2/pangoClassImports.c e6a4bed0811b462e8d001c6d1091ce2e *src/RGtk2/pangoClasses.h aeb8e21f1c975e9b172b4c7998cb8a37 *src/RGtk2/pangoImports.c 868c5aa86cc8b4d9ace56c2b1a935c07 *src/RGtk2/pangoUserFuncImports.c c433677ffe98b358908e2decf4217a5a *src/RGtk2/pangoUserFuncs.h 504e857bfd21b09aba9fe1c4f49c159a *src/RGtkDataFrame.c 59beca14c7de7fd476896b57e5e273c2 *src/RGtkDataFrame.h 09beb4bc8d6aed950a01c21e49c5d88a *src/RSCommon.h 5f9805bd0bf2130719b0fb278ba5ca33 *src/Reventloop.h ffe6e60879ec3783dbce551176d2cfca *src/Rgtk.c 9a704c24dd510c995d37aa986d01d107 *src/atkAccessors.c 3bfa0f1d25fa22a6cf5a9005f54a9337 *src/atkClasses.c 714101b55106b03a7ad88a37909d3a00 *src/atkConversion.c 6f1c5df33273b0250e852efd4e15dea7 *src/atkFuncs.c 7d156a0dace9bf89a43511403746a23f *src/atkFuncs.h 3e6d5f6597c6a66b0e61c7614de3e1f4 *src/atkManuals.c d945216a24e757dfd8d3d8e3fe3d42e3 *src/atkUserFuncs.c 2a4564efad4c42786e3238fd58d5f6d1 *src/cairo-enums.c f083c93871b0f55bc55f112be1831450 *src/cairo-enums.h c6aea93cced359e44531e7202e634654 *src/cairoAccessors.c b76d0fabd799450dfac881ad4104c4b5 *src/cairoConversion.c 6cfd4a5cc28e5b75a6ef9a416291766a *src/cairoFuncs.c 29cb1b52fdb97c8d172e5793eabdbaf1 *src/cairoFuncs.h 63b777c8d84c716b6e03ac778b43424c *src/cairoManuals.c 32249f38e9ee009aa917e4aa192175e1 *src/cairoUserFuncs.c 509ce80eaeba422b5e5332e8276d6759 *src/classes.c 4f15f9d537384516a550622632198967 *src/conversion.c 0103dd3dee345c57d9407a6fb2d551da *src/eventLoop.c d1959c88e8de34c39250dbaba60a5853 *src/exports/atkClassExports.c 4dac7e7ca224d99121c7d48857271a09 *src/exports/atkExports.c e48b5a9b5d8035a469e9aab1f4868221 *src/exports/atkUserFuncExports.c 317c4ecc70de8922b686bc98c5ccadb2 *src/exports/cairoExports.c a317ef94b7ce9d0307026fae9e85d108 *src/exports/cairoUserFuncExports.c 180278ba27a261b19ec1bf945984d262 *src/exports/gdkClassExports.c c54321d3ebca6f7d7a53132877dd6339 *src/exports/gdkExports.c 35041f3f486bbeb59d64c67ab6557066 *src/exports/gdkUserFuncExports.c e00d301911881780c586c906384e2694 *src/exports/gioClassExports.c eb4595756f7e1e60a25274d29cb64a2f *src/exports/gioExports.c a2c4d73e5019d811f36afc792f95a073 *src/exports/gioUserFuncExports.c beb6e98b2800db8bf784af54313908fb *src/exports/gobjectExports.c 3a04bdda5a1c93afe139e36a7d3e8612 *src/exports/gtkClassExports.c 26c836591bcea5df8701aae4a7c0061d *src/exports/gtkExports.c 5945b87fb88dfdfd1e63c5794ec5ded6 *src/exports/gtkUserFuncExports.c e5967d41fd3d5203be54f851ead968f1 *src/exports/pangoClassExports.c 908918fa506872c641fc5bf2cf953414 *src/exports/pangoExports.c f2424d0eb43788376f3f00af8105f6db *src/exports/pangoUserFuncExports.c df2d0676e69d04150e677ae2a0e7ecff *src/gdkAccessors.c 15f3239c1890b3920c1bc18957343d8b *src/gdkClasses.c b0d4c3f9cf18b2815444fa3c737eafeb *src/gdkConversion.c b805b7421d201cf8e83f7a11b6e12aca *src/gdkFuncs.c d47785acd4ce42c7b9bab4abbd7b3c25 *src/gdkFuncs.h c8d22ab6d31723f782355acfe3168c03 *src/gdkManuals.c c7a211c7dbb48aaab1d6fb169889e5ca *src/gdkUserFuncs.c adaa01ef9d7cba0d35b2d92ad9b4c699 *src/gioAccessors.c 33e01f2a9c3d75a95d25df0de7e4ca0b *src/gioClasses.c 084c971a7a0fe880982dcd73b2335694 *src/gioConversion.c 9a159056a5a3b33cc002bc06f410dc36 *src/gioFuncs.c 0b116ce2240a91c51b146a608fdb246d *src/gioFuncs.h a5a0342c49b4af1b6c2fd33c7b5e2430 *src/gioManuals.c 76acc456467ce17ee1612833bae366dc *src/gioUserFuncs.c 5ba02bcd19e43c2a70cb118499252924 *src/glib.c 70e7417c9344d73aa0aa903832c6d995 *src/gobject.c fc359d759a8a501959a9b185bad69051 *src/gtkAccessors.c 3546e8a998ae9c61de21f5309d38d1f8 *src/gtkClasses.c e25037c1c8f3ba7dbca2db2f9d5fd7b7 *src/gtkConversion.c ce94d9b9c60d15fe8da81793b140f9bc *src/gtkFuncs.c 243e9ed08d2b8bd2af203f2840e8222e *src/gtkFuncs.h 1c7e4415cfdd4e1800670817fa4419fd *src/gtkManuals.c bc16e5fcdbbd60ca73038398151ab881 *src/gtkUserFuncs.c a45cb1ce34fb3888d7cef7d8dbac6d78 *src/pangoAccessors.c 88680d4f37c21854ec1d6e15af637f5e *src/pangoClasses.c dba8ba0398e45f24fd6b594ca97ba59b *src/pangoConversion.c c85aede9e67d863608c9788c677fc8fd *src/pangoFuncs.c 07efca43b90372e74f22d112b6069386 *src/pangoFuncs.h 545bcff3099468ee62f66583bb8cf436 *src/pangoManuals.c 3b62f34c7428700bd2b837c6ab2e7b0d *src/pangoUserFuncs.c a561ac043cde365a1aefeb55e73b93d1 *src/utils.c 243186e89f77aa6a251a083d9384eb3a *src/zcompat.c RGtk2/README0000644000176000001440000000250511766145227012130 0ustar ripleyusersThis RGtk package is an interface to Gtk. As such, it allows one to do in the S language what one can do with Gtk in any other language for which there are bindings. For the most part, there is a one-to-one mapping from the C-level routines provided by Gtk to R functions. Hence, to find out about these functions and what they do one should look at the Gtk documentation. There are reference pages for each of the widgets and the general topics as well as _tutorials_, etc. which are available at http://www.gtk.org Additionally, there are currently a few books on Gtk that I am aware of. Gtk+ Programming in C, Syd Logan http://www.amazon.com/exec/obidos/ASIN/0130142646/ref=pd_sim_books/104-2258217-5695136 Gtk+/Gnome Application Development, Havoc Pennington, New Riders. http://www.amazon.com/exec/obidos/ASIN/0735700788/ref=pd_sim_books/104-2258217-5695136 Developing Linux Applications with Gtk+ and GDK Eric Harlow, New Riders. There are also several books that I have not seen: Beginning Gtk+ and GNOME, Peter Wright Gnome/Gtk+ Programming Bible Arthur Griffith, Sams Teach Yourself GTK+ Programming in 21 Days All of these relate to programming in C, and not in a higher-level language such as S. However, they provide the necessary information for using Gtk, regardless of the particular language. RGtk2/DESCRIPTION0000644000176000001440000000123612362500437012745 0ustar ripleyusersPackage: RGtk2 Version: 2.20.31 Title: R bindings for Gtk 2.8.0 and above Author: Michael Lawrence and Duncan Temple Lang Depends: R (>= 2.5.0) SystemRequirements: Cairo (>= 1.0.0), ATK (>= 1.10.0), Pango (>= 1.10.0), GTK+ (>= 2.8.0), GLib (>= 2.8.0) Maintainer: Michael Lawrence Description: Facilities in the R language for programming graphical interfaces using Gtk, the Gimp Tool Kit. License: GPL URL: http://www.ggobi.org/rgtk2, http://www.omegahat.org Encoding: UTF-8 Packaged: 2014-07-19 13:12:02 UTC; larman NeedsCompilation: yes Repository: CRAN Date/Publication: 2014-07-19 16:30:55 RGtk2/configure0000755000176000001440000040745011766145227013167 0ustar ripleyusers#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error ERROR [LINENO LOG_FD] # --------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with status $?, using 1 if that was 0. as_fn_error () { as_status=$?; test $as_status -eq 0 && as_status=1 if test "$3"; then as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 fi $as_echo "$as_me: error: $1" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= PACKAGE_URL= ac_unique_file="src/Rgtk.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS DEFINES INSTALL_DIR R_PACKAGE_DIR EGREP GREP CPP OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC GTHREAD_LIBS GTHREAD_CFLAGS HAVE_GTK GTK_LIBS GTK_CFLAGS INTROSPECTION_LIBS INTROSPECTION_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_introspection ' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR INTROSPECTION_CFLAGS INTROSPECTION_LIBS GTK_CFLAGS GTK_LIBS GTHREAD_CFLAGS GTHREAD_LIBS CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error "unrecognized option: \`$ac_option' Try \`$0 --help' for more information." ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-introspection Disable introspection support Some influential environment variables: PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path INTROSPECTION_CFLAGS C compiler flags for INTROSPECTION, overriding pkg-config INTROSPECTION_LIBS linker flags for INTROSPECTION, overriding pkg-config GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config GTHREAD_CFLAGS C compiler flags for GTHREAD, overriding pkg-config GTHREAD_LIBS linker flags for GTHREAD, overriding pkg-config CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure generated by GNU Autoconf 2.65 Copyright (C) 2009 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_type # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEFINES= EXTRA_MODULES= # Check whether --enable-introspection was given. if test "${enable_introspection+set}" = set; then : enableval=$enable_introspection; use_introspection=$enableval else use_introspection=yes fi if test "x$use_introspection" = "xyes"; then if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INTROSPECTION" >&5 $as_echo_n "checking for INTROSPECTION... " >&6; } if test -n "$INTROSPECTION_CFLAGS"; then pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-introspection") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$INTROSPECTION_LIBS"; then pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-introspection") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-introspection" 2>&1` else INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-introspection" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$INTROSPECTION_PKG_ERRORS" >&5 have_introspection=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_introspection=no else INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_introspection=yes fi fi if test "x$have_introspection" = "xyes"; then EXTRA_MODULES="$EXTRA_MODULES gobject-introspection" DEFINES="$DEFINES -DHAVE_INTROSPECTION" fi GTK_VERSION="2.8.0" pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_VERSION \$EXTRA_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_VERSION \$EXTRA_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_VERSION $EXTRA_MODULES" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error "GTK version $GTK_VERSION required" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error "GTK version $GTK_VERSION required" "$LINENO" 5 else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } HAVE_GTK="1" fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5 $as_echo_n "checking for GTHREAD... " >&6; } if test -n "$GTHREAD_CFLAGS"; then pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTHREAD_LIBS"; then pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gthread-2.0" 2>&1` else GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "gthread-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTHREAD_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GLib thread support: disabling threads" >&5 $as_echo "$as_me: WARNING: No GLib thread support: disabling threads" >&2;} elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GLib thread support: disabling threads" >&5 $as_echo "$as_me: WARNING: No GLib thread support: disabling threads" >&2;} else GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } HAVE_GTHREAD=yes fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "no acceptable C compiler found in \$PATH See \`config.log' for more details." "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { as_fn_set_status 77 as_fn_error "C compiler cannot create executables See \`config.log' for more details." "$LINENO" 5; }; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "cannot compute suffix of object files: cannot compile See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" if test "x$ac_cv_type_uintptr_t" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_UINTPTR_T 1 _ACEOF DEFINES="$DEFINES -DHAVE_UINTPTR_T" fi ## allow specifying arbitrary flags here ac_config_files="$ac_config_files src/Makevars" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error ERROR [LINENO LOG_FD] # --------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with status $?, using 1 if that was 0. as_fn_error () { as_status=$?; test $as_status -eq 0 && as_status=1 if test "$3"; then as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 fi $as_echo "$as_me: error: $1" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.65, with options \\"\$ac_cs_config\\" Copyright (C) 2009 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || as_fn_error "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit $? fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi RGtk2/man/0000755000176000001440000000000012362221653012010 5ustar ripleyusersRGtk2/man/gdkPixbufRenderPixmapAndMask.Rd0000644000176000001440000000263112362217677020015 0ustar ripleyusers\alias{gdkPixbufRenderPixmapAndMask} \name{gdkPixbufRenderPixmapAndMask} \title{gdkPixbufRenderPixmapAndMask} \description{Creates a pixmap and a mask bitmap which are returned in the \code{pixmap.return} and \code{mask.return} arguments, respectively, and renders a pixbuf and its corresponding thresholded alpha mask to them. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use \code{\link{gdkDrawPixbuf}} and \code{\link{gdkPixbufRenderThresholdAlpha}}.} \usage{gdkPixbufRenderPixmapAndMask(object, alpha.threshold = 127)} \arguments{ \item{\verb{object}}{A pixbuf.} \item{\verb{alpha.threshold}}{Threshold value for opacity values.} } \details{The pixmap that is created is created for the colormap returned by \code{\link{gdkRgbGetColormap}}. You normally will want to instead use the actual colormap for a widget, and use \code{\link{gdkPixbufRenderPixmapAndMaskForColormap}}. If the pixbuf does not have an alpha channel, then *\code{mask.return} will be set to \code{NULL}.} \value{ A list containing the following elements: \item{\verb{pixmap.return}}{Location to store a pointer to the created pixmap, or \code{NULL} if the pixmap is not needed.} \item{\verb{mask.return}}{Location to store a pointer to the created mask, or \code{NULL} if the mask is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetMonitor.Rd0000644000176000001440000000153412362217677015753 0ustar ripleyusers\alias{gtkMenuSetMonitor} \name{gtkMenuSetMonitor} \title{gtkMenuSetMonitor} \description{Informs GTK+ on which monitor a menu should be popped up. See \code{\link{gdkScreenGetMonitorGeometry}}.} \usage{gtkMenuSetMonitor(object, monitor.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}} \item{\verb{monitor.num}}{the number of the monitor on which the menu should be popped up} } \details{This function should be called from a \code{\link{GtkMenuPositionFunc}} if the menu should not appear on the same monitor as the pointer. This information can't be reliably inferred from the coordinates returned by a \code{\link{GtkMenuPositionFunc}}, since, for very long menus, these coordinates may extend beyond the monitor boundaries or even the screen boundaries. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorEmitEvent.Rd0000644000176000001440000000126312362217677016533 0ustar ripleyusers\alias{gFileMonitorEmitEvent} \name{gFileMonitorEmitEvent} \title{gFileMonitorEmitEvent} \description{Emits the \verb{"changed"} signal if a change has taken place. Should be called from file monitor implementations only.} \usage{gFileMonitorEmitEvent(object, file, other.file, event.type)} \arguments{ \item{\verb{object}}{a \code{\link{GFileMonitor}}.} \item{\verb{file}}{a \code{\link{GFile}}.} \item{\verb{other.file}}{a \code{\link{GFile}}.} \item{\verb{event.type}}{a set of \code{\link{GFileMonitorEvent}} flags.} } \details{The signal will be emitted from an idle handler (in the thread-default main context).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableRemove.Rd0000644000176000001440000000075612362217677016536 0ustar ripleyusers\alias{gtkTextTagTableRemove} \name{gtkTextTagTableRemove} \title{gtkTextTagTableRemove} \description{Remove a tag from the table. This will remove the table's reference to the tag, so be careful - the tag will end up destroyed if you don't have a reference to it.} \usage{gtkTextTagTableRemove(object, tag)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTagTable}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapQueryColor.Rd0000644000176000001440000000213512362217677016602 0ustar ripleyusers\alias{gdkColormapQueryColor} \name{gdkColormapQueryColor} \title{gdkColormapQueryColor} \description{Locates the RGB color in \code{colormap} corresponding to the given hardware pixel \code{pixel}. \code{pixel} must be a valid pixel in the colormap; it's a programmer error to call this function with a pixel which is not in the colormap. Hardware pixels are normally obtained from \code{\link{gdkColormapAllocColors}}, or from a \code{\link{GdkImage}}. (A \code{\link{GdkImage}} contains image data in hardware format, a \code{\link{GdkPixbuf}} contains image data in a canonical 24-bit RGB format.)} \usage{gdkColormapQueryColor(object, pixel)} \arguments{ \item{\verb{object}}{a \code{\link{GdkColormap}}} \item{\verb{pixel}}{pixel value in hardware display format} } \details{This function is rarely useful; it's used for example to implement the eyedropper feature in \code{\link{GtkColorSelection}}.} \value{ A list containing the following elements: \item{\verb{result}}{\code{\link{GdkColor}} with red, green, blue fields initialized} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetDither.Rd0000644000176000001440000000063712362217677017443 0ustar ripleyusers\alias{gtkPrintSettingsGetDither} \name{gtkPrintSettingsGetDither} \title{gtkPrintSettingsGetDither} \description{Gets the value of \code{GTK_PRINT_SETTINGS_DITHER}.} \usage{gtkPrintSettingsGetDither(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[character] the dithering that is used} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoRemoveAttribute.Rd0000644000176000001440000000063612362217677017223 0ustar ripleyusers\alias{gFileInfoRemoveAttribute} \name{gFileInfoRemoveAttribute} \title{gFileInfoRemoveAttribute} \description{Removes all cases of \code{attribute} from \code{info} if it exists.} \usage{gFileInfoRemoveAttribute(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsClipboardPersistence.Rd0000644000176000001440000000120212362217677022205 0ustar ripleyusers\alias{gdkDisplaySupportsClipboardPersistence} \name{gdkDisplaySupportsClipboardPersistence} \title{gdkDisplaySupportsClipboardPersistence} \description{Returns whether the speicifed display supports clipboard persistance; i.e. if it's possible to store the clipboard data after an application has quit. On X11 this checks if a clipboard daemon is running.} \usage{gdkDisplaySupportsClipboardPersistence(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if the display supports clipboard persistance.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetItemWidth.Rd0000644000176000001440000000062212362217677017022 0ustar ripleyusers\alias{gtkIconViewGetItemWidth} \name{gtkIconViewGetItemWidth} \title{gtkIconViewGetItemWidth} \description{Returns the value of the ::item-width property.} \usage{gtkIconViewGetItemWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the width of a single item, or -1} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPixmapSetBuildInsensitive.Rd0000644000176000001440000000126712362217677020141 0ustar ripleyusers\alias{gtkPixmapSetBuildInsensitive} \name{gtkPixmapSetBuildInsensitive} \title{gtkPixmapSetBuildInsensitive} \description{ Sets wether an extra pixmap should be automatically created and used when the pixmap is insensitive. The default value is \code{TRUE}. \strong{WARNING: \code{gtk_pixmap_set_build_insensitive} is deprecated and should not be used in newly-written code.} } \usage{gtkPixmapSetBuildInsensitive(object, build)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPixmap}}.} \item{\verb{build}}{set to \code{TRUE} if an extra pixmap should be automatically created to use when the pixmap is insensitive.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontsetLoadForDisplay.Rd0000644000176000001440000000147712362217677017230 0ustar ripleyusers\alias{gdkFontsetLoadForDisplay} \name{gdkFontsetLoadForDisplay} \title{gdkFontsetLoadForDisplay} \description{ Loads a fontset for use on \code{display}. \strong{WARNING: \code{gdk_fontset_load_for_display} is deprecated and should not be used in newly-written code.} } \usage{gdkFontsetLoadForDisplay(display, fontset.name)} \arguments{ \item{\verb{display}}{a \code{\link{GdkDisplay}}} \item{\verb{fontset.name}}{a comma-separated list of XLFDs describing the component fonts of the fontset to load.} } \details{The fontset may be newly loaded or looked up in a cache. You should make no assumptions about the initial reference count. Since 2.2} \value{[\code{\link{GdkFont}}] a \code{\link{GdkFont}}, or \code{NULL} if the fontset could not be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationReply.Rd0000644000176000001440000000061512362217677016462 0ustar ripleyusers\alias{gMountOperationReply} \name{gMountOperationReply} \title{gMountOperationReply} \description{Emits the \code{\link{gMountOperationReply}} signal.} \usage{gMountOperationReply(object, result)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}} \item{\verb{result}}{a \code{\link{GMountOperationResult}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetCaretOffset.Rd0000644000176000001440000000062612362217677016530 0ustar ripleyusers\alias{atkTextGetCaretOffset} \name{atkTextGetCaretOffset} \title{atkTextGetCaretOffset} \description{Gets the offset position of the caret (cursor).} \usage{atkTextGetCaretOffset(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}}} \value{[integer] the offset position of the caret (cursor).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableGetPosition.Rd0000644000176000001440000000074212362217677016721 0ustar ripleyusers\alias{gtkEditableGetPosition} \name{gtkEditableGetPosition} \title{gtkEditableGetPosition} \description{Retrieves the current position of the cursor relative to the start of the content of the editable. } \usage{gtkEditableGetPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \details{Note that this position is in characters, not in bytes.} \value{[integer] the cursor position} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetUris.Rd0000644000176000001440000000114612362217677017044 0ustar ripleyusers\alias{gtkSelectionDataGetUris} \name{gtkSelectionDataGetUris} \title{gtkSelectionDataGetUris} \description{Gets the contents of the selection data as list of URIs.} \usage{gtkSelectionDataGetUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}}}} \details{Since 2.6} \value{[character] if the selection data contains a list of URIs, a newly allocated string list containing the URIs, otherwise \code{NULL}. \emph{[ \acronym{array} zero-terminated=1][ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetVisibility.Rd0000644000176000001440000000140012362217677016640 0ustar ripleyusers\alias{gtkEntrySetVisibility} \name{gtkEntrySetVisibility} \title{gtkEntrySetVisibility} \description{Sets whether the contents of the entry are visible or not. When visibility is set to \code{FALSE}, characters are displayed as the invisible char, and will also appear that way when the text in the entry widget is copied elsewhere.} \usage{gtkEntrySetVisibility(object, visible)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{visible}}{\code{TRUE} if the contents of the entry are displayed as plaintext} } \details{By default, GTK+ picks the best invisible character available in the current font, but it can be changed with \code{\link{gtkEntrySetInvisibleChar}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeRescanIfNeeded.Rd0000644000176000001440000000106612362217677017416 0ustar ripleyusers\alias{gtkIconThemeRescanIfNeeded} \name{gtkIconThemeRescanIfNeeded} \title{gtkIconThemeRescanIfNeeded} \description{Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time \code{icon.theme} is accessed.} \usage{gtkIconThemeRescanIfNeeded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconTheme}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the icon theme has changed and needed to be reloaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetProgressFraction.Rd0000644000176000001440000000073012362217677017774 0ustar ripleyusers\alias{gtkEntryGetProgressFraction} \name{gtkEntryGetProgressFraction} \title{gtkEntryGetProgressFraction} \description{Returns the current fraction of the task that's been completed. See \code{\link{gtkEntrySetProgressFraction}}.} \usage{gtkEntryGetProgressFraction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.16} \value{[numeric] a fraction from 0.0 to 1.0} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableRemoveColumnSelection.Rd0000644000176000001440000000121512362217677020242 0ustar ripleyusers\alias{atkTableRemoveColumnSelection} \name{atkTableRemoveColumnSelection} \title{atkTableRemoveColumnSelection} \description{Adds the specified \code{column} to the selection.} \usage{atkTableRemoveColumnSelection(object, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[logical] a gboolean representing if the column was successfully removed from the selection, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketReceiveFrom.Rd0000644000176000001440000000221212362217677016035 0ustar ripleyusers\alias{gSocketReceiveFrom} \name{gSocketReceiveFrom} \title{gSocketReceiveFrom} \description{Receive data (up to \code{size} bytes) from a socket.} \usage{gSocketReceiveFrom(object, size, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{size}}{the number of bytes you want to read from the socket} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{address} is non-\code{NULL} then \code{address} will be set equal to the source the received packet. See \code{\link{gSocketReceive}} for additional information. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes read, or -1 on error} \item{\verb{address}}{a pointer to a \code{\link{GSocketAddress}} pointer, or \code{NULL}} \item{\verb{buffer}}{a buffer to read data into (which should be at least \code{size} bytes long).} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetAction.Rd0000644000176000001440000000110312362217677016421 0ustar ripleyusers\alias{gtkUIManagerGetAction} \name{gtkUIManagerGetAction} \title{gtkUIManagerGetAction} \description{Looks up an action by following a path. See \code{\link{gtkUIManagerGetWidget}} for more information about paths.} \usage{gtkUIManagerGetAction(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}}} \item{\verb{path}}{a path} } \details{Since 2.4} \value{[\code{\link{GtkAction}}] the action whose proxy widget is found by following the path, or \code{NULL} if no widget was found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetSocketAddressNew.Rd0000644000176000001440000000076512362217677016521 0ustar ripleyusers\alias{gInetSocketAddressNew} \name{gInetSocketAddressNew} \title{gInetSocketAddressNew} \description{Creates a new \code{\link{GInetSocketAddress}} for \code{address} and \code{port}.} \usage{gInetSocketAddressNew(address, port)} \arguments{ \item{\verb{address}}{a \code{\link{GInetAddress}}} \item{\verb{port}}{a port number} } \details{Since 2.22} \value{[\code{\link{GSocketAddress}}] a new \code{\link{GInetSocketAddress}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetAlwaysShowImage.Rd0000644000176000001440000000103712362217677017663 0ustar ripleyusers\alias{gtkActionGetAlwaysShowImage} \name{gtkActionGetAlwaysShowImage} \title{gtkActionGetAlwaysShowImage} \description{Returns whether \code{action}'s menu item proxies will ignore the \verb{"gtk-menu-images"} setting and always show their image, if available.} \usage{gtkActionGetAlwaysShowImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.20} \value{[logical] \code{TRUE} if the menu item proxies will always show their image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInputDialogNew.Rd0000644000176000001440000000074112362217677015713 0ustar ripleyusers\alias{gtkInputDialogNew} \name{gtkInputDialogNew} \title{gtkInputDialogNew} \description{ Creates a new \code{\link{GtkInputDialog}}. \strong{WARNING: \code{gtk_input_dialog_new} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkInputDialogNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkInputDialog}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewSetBackgroundColor.Rd0000644000176000001440000000064712362217677020214 0ustar ripleyusers\alias{gtkCellViewSetBackgroundColor} \name{gtkCellViewSetBackgroundColor} \title{gtkCellViewSetBackgroundColor} \description{Sets the background color of \code{view}.} \usage{gtkCellViewSetBackgroundColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellView}}} \item{\verb{color}}{the new background color} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetVisible.Rd0000644000176000001440000000104212362217677016216 0ustar ripleyusers\alias{gtkWidgetGetVisible} \name{gtkWidgetGetVisible} \title{gtkWidgetGetVisible} \description{Determines whether the widget is visible. Note that this doesn't take into account whether the widget's parent is also visible or the widget is obscured in any way.} \usage{gtkWidgetGetVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{See \code{\link{gtkWidgetSetVisible}}. Since 2.18} \value{[logical] \code{TRUE} if the widget is visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintShadowGap.Rd0000644000176000001440000000233512362217677015674 0ustar ripleyusers\alias{gtkPaintShadowGap} \name{gtkPaintShadowGap} \title{gtkPaintShadowGap} \description{Draws a shadow around the given rectangle in \code{window} using the given style and state and shadow type, leaving a gap in one side.} \usage{gtkPaintShadowGap(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} \item{\verb{gap.side}}{side in which to leave the gap} \item{\verb{gap.x}}{starting position of the gap} \item{\verb{gap.width}}{width of the gap} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetSelectionMode.Rd0000644000176000001440000000063712362217677017700 0ustar ripleyusers\alias{gtkIconViewSetSelectionMode} \name{gtkIconViewSetSelectionMode} \title{gtkIconViewSetSelectionMode} \description{Sets the selection mode of the \code{icon.view}.} \usage{gtkIconViewSetSelectionMode(object, mode)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{mode}}{The selection mode} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetFile.Rd0000644000176000001440000000113412362217677016461 0ustar ripleyusers\alias{gtkFileChooserGetFile} \name{gtkFileChooserGetFile} \title{gtkFileChooserGetFile} \description{Gets the \code{\link{GFile}} for the currently selected file in the file selector. If multiple files are selected, one of the files will be returned at random.} \usage{gtkFileChooserGetFile(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{If the file chooser is in folder mode, this function returns the selected folder. Since 2.14} \value{[\code{\link{GFile}}] a selected \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferApplyTag.Rd0000644000176000001440000000116012362217677016536 0ustar ripleyusers\alias{gtkTextBufferApplyTag} \name{gtkTextBufferApplyTag} \title{gtkTextBufferApplyTag} \description{Emits the "apply-tag" signal on \code{buffer}. The default handler for the signal applies \code{tag} to the given range. \code{start} and \code{end} do not have to be in order.} \usage{gtkTextBufferApplyTag(object, tag, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}} \item{\verb{start}}{one bound of range to be tagged} \item{\verb{end}}{other bound of range to be tagged} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedPack2.Rd0000644000176000001440000000077012362217677014734 0ustar ripleyusers\alias{gtkPanedPack2} \name{gtkPanedPack2} \title{gtkPanedPack2} \description{Adds a child to the bottom or right pane.} \usage{gtkPanedPack2(object, child, resize = TRUE, shrink = TRUE)} \arguments{ \item{\verb{object}}{a paned widget} \item{\verb{child}}{the child to add} \item{\verb{resize}}{should this child expand when the paned widget is resized.} \item{\verb{shrink}}{can this child be made smaller than its requisition.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamCloseFinish.Rd0000644000176000001440000000130512362217677016272 0ustar ripleyusers\alias{gIOStreamCloseFinish} \name{gIOStreamCloseFinish} \title{gIOStreamCloseFinish} \description{Closes a stream.} \usage{gIOStreamCloseFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GIOStream}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if stream was successfully closed, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreInsertWithValues.Rd0000644000176000001440000000267512362217677020163 0ustar ripleyusers\alias{gtkListStoreInsertWithValues} \name{gtkListStoreInsertWithValues} \title{gtkListStoreInsertWithValues} \description{Creates a new row at \code{position}. \code{iter} will be changed to point to this new row. If \code{position} is larger than the number of rows on the list, then the new row will be appended to the list. The row will be filled with the values given to this function. } \usage{gtkListStoreInsertWithValues(object, position, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{position}}{position to insert the new row} \item{\verb{...}}{\emph{undocumented }} } \details{Calling \code{gtk_list_store_insert_with_values(list_store, iter, position...)} has the same effect as calling \preformatted{ list_store$insert(iter, position) list_store$set(iter, ...) } with the difference that the former will only emit a row_inserted signal, while the latter will emit row_inserted, row_changed and, if the list store is sorted, rows_reordered. Since emitting the rows_reordered signal repeatedly can affect the performance of the program, \code{\link{gtkListStoreInsertWithValues}} should generally be preferred when inserting rows in a sorted list store. Since 2.6} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetPixbuf.Rd0000644000176000001440000000066112362217677016726 0ustar ripleyusers\alias{gtkIconSourceSetPixbuf} \name{gtkIconSourceSetPixbuf} \title{gtkIconSourceSetPixbuf} \description{Sets a pixbuf to use as a base image when creating icon variants for \code{\link{GtkIconSet}}.} \usage{gtkIconSourceSetPixbuf(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{pixbuf}}{pixbuf to use as a source} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragHighlight.Rd0000644000176000001440000000066512362217677015534 0ustar ripleyusers\alias{gtkDragHighlight} \name{gtkDragHighlight} \title{gtkDragHighlight} \description{Draws a highlight around a widget. This will attach handlers to "expose_event" and "draw", so the highlight will continue to be displayed until \code{\link{gtkDragUnhighlight}} is called.} \usage{gtkDragHighlight(object)} \arguments{\item{\verb{object}}{a widget to highlight}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetCopy.Rd0000644000176000001440000000056012362217677015220 0ustar ripleyusers\alias{gtkIconSetCopy} \name{gtkIconSetCopy} \title{gtkIconSetCopy} \description{Copies \code{icon.set} by value.} \usage{gtkIconSetCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSet}}}} \value{[\code{\link{GtkIconSet}}] a new \code{\link{GtkIconSet}} identical to the first.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetSortOrder.Rd0000644000176000001440000000176012362217677020254 0ustar ripleyusers\alias{gtkTreeViewColumnSetSortOrder} \name{gtkTreeViewColumnSetSortOrder} \title{gtkTreeViewColumnSetSortOrder} \description{Changes the appearance of the sort indicator. } \usage{gtkTreeViewColumnSetSortOrder(object, order)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}} \item{\verb{order}}{sort order that the sort indicator should indicate} } \details{This \emph{does not} actually sort the model. Use \code{\link{gtkTreeViewColumnSetSortColumnId}} if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with \code{gtkTreeSortableSetSortColumn()} to do that. For custom models, the mechanism will vary. The sort indicator changes direction to indicate normal sort or reverse sort. Note that you must have the sort indicator enabled to see anything when calling this function; see \code{\link{gtkTreeViewColumnSetSortIndicator}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamFillAsync.Rd0000644000176000001440000000204112362217677020201 0ustar ripleyusers\alias{gBufferedInputStreamFillAsync} \name{gBufferedInputStreamFillAsync} \title{gBufferedInputStreamFillAsync} \description{Reads data into \code{stream}'s buffer asynchronously, up to \code{count} size. \code{io.priority} can be used to prioritize reads. For the synchronous version of this function, see \code{\link{gBufferedInputStreamFill}}.} \usage{gBufferedInputStreamFillAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{\code{\link{GBufferedInputStream}}.} \item{\verb{count}}{the number of bytes that will be read from the stream.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{a \verb{R object}.} } \details{If \code{count} is -1 then the attempted read size is equal to the number of bytes that are required to fill the buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetShowStub.Rd0000644000176000001440000000065612362217677016204 0ustar ripleyusers\alias{gtkCTreeSetShowStub} \name{gtkCTreeSetShowStub} \title{gtkCTreeSetShowStub} \description{ \strong{WARNING: \code{gtk_ctree_set_show_stub} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetShowStub(object, show.stub)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{show.stub}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketServiceStart.Rd0000644000176000001440000000075112362217677016253 0ustar ripleyusers\alias{gSocketServiceStart} \name{gSocketServiceStart} \title{gSocketServiceStart} \description{Starts the service, i.e. start accepting connections from the added sockets when the mainloop runs.} \usage{gSocketServiceStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketService}}}} \details{This call is threadsafe, so it may be called from a thread handling an incomming client request. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerClassInstallChildProperty.Rd0000644000176000001440000000102412362217677021765 0ustar ripleyusers\alias{gtkContainerClassInstallChildProperty} \name{gtkContainerClassInstallChildProperty} \title{gtkContainerClassInstallChildProperty} \description{Installs a child property on a container class.} \usage{gtkContainerClassInstallChildProperty(cclass, property.id, pspec)} \arguments{ \item{\verb{cclass}}{a \code{\link{GtkContainerClass}}} \item{\verb{property.id}}{the id for the property} \item{\verb{pspec}}{the \code{\link{GParamSpec}} for the property} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeUnselectRecursive.Rd0000644000176000001440000000101512362217677017412 0ustar ripleyusers\alias{gtkCTreeUnselectRecursive} \name{gtkCTreeUnselectRecursive} \title{gtkCTreeUnselectRecursive} \description{ Unselect the given node and its subnodes and emit the appropriate signal(s). \strong{WARNING: \code{gtk_ctree_unselect_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeUnselectRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipTriggerTooltipQuery.Rd0000644000176000001440000000106112362217677020375 0ustar ripleyusers\alias{gtkTooltipTriggerTooltipQuery} \name{gtkTooltipTriggerTooltipQuery} \title{gtkTooltipTriggerTooltipQuery} \description{Triggers a new tooltip query on \code{display}, in order to update the current visible tooltip, or to show/hide the current tooltip. This function is useful to call when, for example, the state of the widget changed by a key press.} \usage{gtkTooltipTriggerTooltipQuery(display)} \arguments{\item{\verb{display}}{a \code{\link{GdkDisplay}}}} \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetLabelWidget.Rd0000644000176000001440000000102312362217677017342 0ustar ripleyusers\alias{gtkExpanderSetLabelWidget} \name{gtkExpanderSetLabelWidget} \title{gtkExpanderSetLabelWidget} \description{Set the label widget for the expander. This is the widget that will appear embedded alongside the expander arrow.} \usage{gtkExpanderSetLabelWidget(object, label.widget = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{label.widget}}{the new label widget. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetPath.Rd0000644000176000001440000000070012362217677014612 0ustar ripleyusers\alias{gFileGetPath} \name{gFileGetPath} \title{gFileGetPath} \description{Gets the local pathname for \code{\link{GFile}}, if one exists. } \usage{gFileGetPath(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[char] string containing the \code{\link{GFile}}'s path, or \code{NULL} if no such path exists.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarAddButton.Rd0000644000176000001440000000145112362217677016146 0ustar ripleyusers\alias{gtkInfoBarAddButton} \name{gtkInfoBarAddButton} \title{gtkInfoBarAddButton} \description{Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. The button is appended to the end of the info bars's action area. The button widget is returned, but usually you don't need it.} \usage{gtkInfoBarAddButton(object, button.text, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{button.text}}{text of button, or stock ID} \item{\verb{response.id}}{response ID for the button} } \details{Since 2.18} \value{[\code{\link{GtkWidget}}] the button widget that was added} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontsetGetFont.Rd0000644000176000001440000000111212362217677016243 0ustar ripleyusers\alias{pangoFontsetGetFont} \name{pangoFontsetGetFont} \title{pangoFontsetGetFont} \description{Returns the font in the fontset that contains the best glyph for the Unicode character \code{wc}.} \usage{pangoFontsetGetFont(object, wc)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontset}}] a \code{\link{PangoFontset}}} \item{\verb{wc}}{[numeric] a Unicode character} } \value{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}. The caller must call g_object_unref when finished with the font.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionGetLocalizedName.Rd0000644000176000001440000000115012362217677017314 0ustar ripleyusers\alias{atkActionGetLocalizedName} \name{atkActionGetLocalizedName} \title{atkActionGetLocalizedName} \description{Returns the localized name of the specified action of the object.} \usage{atkActionGetLocalizedName(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } } \value{[character] a name string, or \code{NULL} if \code{action} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkUtil.Rd0000644000176000001440000001260312362217677013671 0ustar ripleyusers\alias{AtkUtil} \alias{AtkKeyEventStruct} \alias{AtkEventListener} \alias{AtkEventListenerInit} \alias{AtkKeySnoopFunc} \alias{AtkCoordType} \alias{AtkKeyEventType} \name{AtkUtil} \title{AtkUtil} \description{A set of ATK utility functions for event and toolkit support.} \section{Methods and Functions}{ \code{\link{atkAddFocusTracker}(focus.tracker)}\cr \code{\link{atkRemoveFocusTracker}(tracker.id)}\cr \code{\link{atkFocusTrackerInit}(add.function)}\cr \code{\link{atkFocusTrackerNotify}(object)}\cr \code{\link{atkAddGlobalEventListener}(listener, event.type)}\cr \code{\link{atkRemoveGlobalEventListener}(listener.id)}\cr \code{\link{atkAddKeyEventListener}(listener, data)}\cr \code{\link{atkRemoveKeyEventListener}(listener.id)}\cr \code{\link{atkGetRoot}()}\cr \code{\link{atkGetFocusObject}()}\cr \code{\link{atkGetToolkitName}()}\cr \code{\link{atkGetToolkitVersion}()}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkUtil}} \section{Detailed Description}{A set of ATK utility functions which are used to support event registration of various types, and obtaining the 'root' accessible of a process and information about the current ATK implementation and toolkit version.} \section{Structures}{\describe{ \item{\verb{AtkUtil}}{ The AtkUtil struct does not contain any fields. } \item{\verb{AtkKeyEventStruct}}{ Encapsulates information about a key event. \strong{\verb{AtkKeyEventStruct} is a \link{transparent-type}.} \describe{ \item{\verb{type}}{[integer] An AtkKeyEventType, generally one of ATK_KEY_EVENT_PRESS or ATK_KEY_EVENT_RELEASE} \item{\verb{state}}{[numeric] A bitmask representing the state of the modifier keys immediately after the event takes place. The meaning of the bits is currently defined to match the bitmask used by GDK in GdkEventType.state, see http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html\code{\link{GdkEventKey}}} \item{\verb{keyval}}{[numeric] A guint representing a keysym value corresponding to those used by GDK and X11: see /usr/X11/include/keysymdef.h.} \item{\verb{length}}{[integer] The length of member \verb{string}.} \item{\verb{string}}{[character] A string containing one of the following: either a string approximating the text that would result from this keypress, if the key is a control or graphic character, or a symbolic name for this keypress. Alphanumeric and printable keys will have the symbolic key name in this string member, for instance "A". "0", "semicolon", "aacute". Keypad keys have the prefix "KP".} \item{\verb{keycode}}{[integer] The raw hardware code that generated the key event. This field is raraly useful.} \item{\verb{timestamp}}{[numeric] A timestamp in milliseconds indicating when the event occurred. These timestamps are relative to a starting point which should be considered arbitrary, and only used to compare the dispatch times of events to one another.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{AtkCoordType}}{ Specifies how xy coordinates are to be interpreted. Used by functions such as \code{\link{atkComponentGetPosition}} and \code{\link{atkTextGetCharacterExtents}} \describe{ \item{\verb{screen}}{ specifies xy coordinates relative to the screen} \item{\verb{window}}{ specifies xy coordinates relative to the widget's top-level window} } } \item{\verb{AtkKeyEventType}}{ Specifies the type of a keyboard evemt. \describe{ \item{\verb{press}}{ specifies a key press event} \item{\verb{release}}{ specifies a key release event} \item{\verb{last-defined}}{ Not a valid value; specifies end of enumeration} } } }} \section{User Functions}{\describe{ \item{\code{AtkEventListener(obj)}}{ A function which is called when an object emits a matching event, as used in \code{\link{atkAddFocusTracker}}. Currently the only events for which object-specific handlers are supported are events of type "focus:". Most clients of ATK will prefer to attach signal handlers for the various ATK signals instead. \code{see}: atk_add_focus_tracker. \describe{\item{\code{obj}}{[\code{\link{AtkObject}}] An \code{\link{AtkObject}} instance for whom the callback will be called when the specified event (e.g. 'focus:') takes place.}} } \item{\code{AtkEventListenerInit()}}{ An \verb{AtkEventListenerInit} function is a special function that is called in order to initialize the per-object event registration system used by \verb{AtkEventListener}, if any preparation is required. \code{see}: atk_focus_tracker_init. } \item{\code{AtkKeySnoopFunc(event, func.data)}}{ An \code{\link{AtkKeySnoopFunc}} is a type of callback which is called whenever a key event occurs, if registered via atk_add_key_event_listener. It allows for pre-emptive interception of key events via the return code as described below. \describe{ \item{\code{event}}{[\code{\link{AtkKeyEventStruct}}] an AtkKeyEventStruct containing information about the key event for which notification is being given.} \item{\code{func.data}}{[R object] a block of data which will be passed to the event listener, on notification.} } \emph{Returns:} [integer] TRUE (nonzero) if the event emission should be stopped and the event discarded without being passed to the normal GUI recipient; FALSE (zero) if the event dispatch to the client application should proceed as normal. \code{see}: atk_add_key_event_listener. } }} \references{\url{http://library.gnome.org/devel//atk/AtkUtil.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconFromGicon.Rd0000644000176000001440000000132212362217677017210 0ustar ripleyusers\alias{gtkEntrySetIconFromGicon} \name{gtkEntrySetIconFromGicon} \title{gtkEntrySetIconFromGicon} \description{Sets the icon shown in the entry at the specified position from the current icon theme. If the icon isn't known, a "broken image" icon will be displayed instead.} \usage{gtkEntrySetIconFromGicon(object, icon.pos, icon = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{The position at which to set the icon} \item{\verb{icon}}{The icon to set, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If \code{icon} is \code{NULL}, no icon will be shown in the specified position. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawVline.Rd0000644000176000001440000000137312362217677014717 0ustar ripleyusers\alias{gtkDrawVline} \name{gtkDrawVline} \title{gtkDrawVline} \description{ Draws a vertical line from (\code{x}, \code{y1.}) to (\code{x}, \code{y2.}) in \code{window} using the given style and state. \strong{WARNING: \code{gtk_draw_vline} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintVline}} instead.} } \usage{gtkDrawVline(object, window, state.type, y1, y2, x)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{y1}}{the starting y coordinate} \item{\verb{y2}}{the ending y coordinate} \item{\verb{x}}{the x coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetMnemonicWidget.Rd0000644000176000001440000000104612362217677017332 0ustar ripleyusers\alias{gtkLabelGetMnemonicWidget} \name{gtkLabelGetMnemonicWidget} \title{gtkLabelGetMnemonicWidget} \description{Retrieves the target of the mnemonic (keyboard shortcut) of this label. See \code{\link{gtkLabelSetMnemonicWidget}}.} \usage{gtkLabelGetMnemonicWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[\code{\link{GtkWidget}}] the target of the label's mnemonic, or \code{NULL} if none has been set and the default algorithm will be used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetRgbVisual.Rd0000644000176000001440000000135712362217677016504 0ustar ripleyusers\alias{gdkScreenGetRgbVisual} \name{gdkScreenGetRgbVisual} \title{gdkScreenGetRgbVisual} \description{Gets a "preferred visual" chosen by GdkRGB for rendering image data on \code{screen}. In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual.} \usage{gdkScreenGetRgbVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[\code{\link{GdkVisual}}] The \code{\link{GdkVisual}} chosen by GdkRGB. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetBaseGravity.Rd0000644000176000001440000000102012362217677017571 0ustar ripleyusers\alias{pangoContextSetBaseGravity} \name{pangoContextSetBaseGravity} \title{pangoContextSetBaseGravity} \description{Sets the base gravity for the context.} \usage{pangoContextSetBaseGravity(object, gravity)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{gravity}}{[\code{\link{PangoGravity}}] the new base gravity} } \details{The base gravity is used in laying vertical text out. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoSetSourcePixmap.Rd0000644000176000001440000000137712362217677017061 0ustar ripleyusers\alias{gdkCairoSetSourcePixmap} \name{gdkCairoSetSourcePixmap} \title{gdkCairoSetSourcePixmap} \description{Sets the given pixmap as the source pattern for the Cairo context. The pattern has an extend mode of \code{CAIRO_EXTEND_NONE} and is aligned so that the origin of \code{pixmap} is \code{pixmap.x}, \code{pixmap.y}} \usage{gdkCairoSetSourcePixmap(cr, pixmap, pixmap.x, pixmap.y)} \arguments{ \item{\verb{cr}}{a \verb{Cairo} context} \item{\verb{pixmap}}{a \code{\link{GdkPixmap}}} \item{\verb{pixmap.x}}{X coordinate of location to place upper left corner of \code{pixmap}} \item{\verb{pixmap.y}}{Y coordinate of location to place upper left corner of \code{pixmap}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageNew.Rd0000644000176000001440000000064012362217677015544 0ustar ripleyusers\alias{pangoCoverageNew} \name{pangoCoverageNew} \title{pangoCoverageNew} \description{Create a new \code{\link{PangoCoverage}}} \usage{pangoCoverageNew()} \value{[\code{\link{PangoCoverage}}] the newly allocated \code{\link{PangoCoverage}}, initialized to \code{PANGO_COVERAGE_NONE} with a reference count of one,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetContains.Rd0000644000176000001440000000120312362217677016736 0ustar ripleyusers\alias{atkRelationSetContains} \name{atkRelationSetContains} \title{atkRelationSetContains} \description{Determines whether the relation set contains a relation that matches the specified type.} \usage{atkRelationSetContains(object, relationship)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] an \code{\link{AtkRelationType}}} } \value{[logical] \code{TRUE} if \code{relationship} is the relationship type of a relation in \code{set}, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHButtonBoxNew.Rd0000644000176000001440000000046612362217677015534 0ustar ripleyusers\alias{gtkHButtonBoxNew} \name{gtkHButtonBoxNew} \title{gtkHButtonBoxNew} \description{Creates a new horizontal button box.} \usage{gtkHButtonBoxNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new button box \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetReliefStyle.Rd0000644000176000001440000000130312362217677017361 0ustar ripleyusers\alias{gtkToolItemGetReliefStyle} \name{gtkToolItemGetReliefStyle} \title{gtkToolItemGetReliefStyle} \description{Returns the relief style of \code{tool.item}. See \code{gtkButtonSetReliefStyle()}. Custom subclasses of \code{\link{GtkToolItem}} should call this function in the handler of the \code{\link{gtkToolItemToolbarReconfigured}} signal to find out the relief style of buttons.} \usage{gtkToolItemGetReliefStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[\code{\link{GtkReliefStyle}}] a \code{\link{GtkReliefStyle}} indicating the relief style used for \code{tool.item}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathNext.Rd0000644000176000001440000000050112362217677015367 0ustar ripleyusers\alias{gtkTreePathNext} \name{gtkTreePathNext} \title{gtkTreePathNext} \description{Moves the \code{path} to point to the next node at the current depth.} \usage{gtkTreePathNext(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientSetSocketType.Rd0000644000176000001440000000115212362217677017536 0ustar ripleyusers\alias{gSocketClientSetSocketType} \name{gSocketClientSetSocketType} \title{gSocketClientSetSocketType} \description{Sets the socket type of the socket client. The sockets created by this object will be of the specified type.} \usage{gSocketClientSetSocketType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{type}}{a \code{\link{GSocketType}}} } \details{It doesn't make sense to specify a type of \code{G_SOCKET_TYPE_DATAGRAM}, as GSocketClient is used for connection oriented services. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsToFile.Rd0000644000176000001440000000151112362217677016736 0ustar ripleyusers\alias{gtkPrintSettingsToFile} \name{gtkPrintSettingsToFile} \title{gtkPrintSettingsToFile} \description{This function saves the print settings from \code{settings} to \code{file.name}. If the file could not be loaded then error is set to either a \code{\link{GFileError}} or \verb{GKeyFileError}.} \usage{gtkPrintSettingsToFile(object, file.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{file.name}}{the file to save to} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalName.Rd0000644000176000001440000000101712362217677015033 0ustar ripleyusers\alias{gdkKeyvalName} \name{gdkKeyvalName} \title{gdkKeyvalName} \description{Converts a key value into a symbolic name. The names are the same as those in the \file{} header file but without the leading "GDK_".} \usage{gdkKeyvalName(keyval)} \arguments{\item{\verb{keyval}}{a key value.}} \value{[character] a string containing the name of the key, or \code{NULL} if \code{keyval} is not a valid key. The string should not be modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceGetData.Rd0000644000176000001440000000113412362217677017114 0ustar ripleyusers\alias{cairoImageSurfaceGetData} \name{cairoImageSurfaceGetData} \title{cairoImageSurfaceGetData} \description{Get a pointer to the data of the image surface, for direct inspection or modification.} \usage{cairoImageSurfaceGetData(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_image_surface_t}}} \details{ Since 1.2} \value{[char] a pointer to the image data of this surface or \code{NULL} if \code{surface} is not an image surface, or if \code{\link{cairoSurfaceFinish}} has been called.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkGetBuffer.Rd0000644000176000001440000000072512362217677016355 0ustar ripleyusers\alias{gtkTextMarkGetBuffer} \name{gtkTextMarkGetBuffer} \title{gtkTextMarkGetBuffer} \description{Gets the buffer this mark is located inside, or \code{NULL} if the mark is deleted.} \usage{gtkTextMarkGetBuffer(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextMark}}}} \value{[\code{\link{GtkTextBuffer}}] the mark's \code{\link{GtkTextBuffer}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileEnumerator.Rd0000644000176000001440000000453112362217677015345 0ustar ripleyusers\alias{GFileEnumerator} \name{GFileEnumerator} \title{GFileEnumerator} \description{Enumerated Files Routines} \section{Methods and Functions}{ \code{\link{gFileEnumeratorNextFile}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileEnumeratorClose}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileEnumeratorNextFilesAsync}(object, num.files, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileEnumeratorNextFilesFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileEnumeratorCloseAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileEnumeratorCloseFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileEnumeratorIsClosed}(object)}\cr \code{\link{gFileEnumeratorHasPending}(object)}\cr \code{\link{gFileEnumeratorSetPending}(object, pending)}\cr \code{\link{gFileEnumeratorGetContainer}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GFileEnumerator}} \section{Detailed Description}{\code{\link{GFileEnumerator}} allows you to operate on a set of \code{\link{GFile}}s, returning a \code{\link{GFileInfo}} structure for each file enumerated (e.g. \code{\link{gFileEnumerateChildren}} will return a \code{\link{GFileEnumerator}} for each of the children within a directory). To get the next file's information from a \code{\link{GFileEnumerator}}, use \code{\link{gFileEnumeratorNextFile}} or its asynchronous version, \code{\link{gFileEnumeratorNextFilesAsync}}. Note that the asynchronous version will return a list of \code{\link{GFileInfo}}s, whereas the synchronous will only return the next file in the enumerator. To close a \code{\link{GFileEnumerator}}, use \code{\link{gFileEnumeratorClose}}, or its asynchronous version, \code{\link{gFileEnumeratorCloseAsync}}. Once a \code{\link{GFileEnumerator}} is closed, no further actions may be performed on it, and it should be freed with \code{gObjectUnref()}.} \section{Structures}{\describe{\item{\verb{GFileEnumerator}}{ A per matched file iterator. }}} \section{Properties}{\describe{\item{\verb{container} [\code{\link{GFile}} : * : Write / Construct Only]}{ The container that is being enumerated. }}} \references{\url{http://library.gnome.org/devel//gio/GFileEnumerator.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GInputStream.Rd0000644000176000001440000000414612362217677014701 0ustar ripleyusers\alias{GInputStream} \name{GInputStream} \title{GInputStream} \description{Base class for implementing streaming input} \section{Methods and Functions}{ \code{\link{gInputStreamRead}(object, count, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gInputStreamReadAll}(object, count, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gInputStreamSkip}(object, count, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gInputStreamClose}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gInputStreamReadAsync}(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gInputStreamReadFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gInputStreamSkipAsync}(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gInputStreamSkipFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gInputStreamCloseAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gInputStreamCloseFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gInputStreamIsClosed}(object)}\cr \code{\link{gInputStreamHasPending}(object)}\cr \code{\link{gInputStreamSetPending}(object, .errwarn = TRUE)}\cr \code{\link{gInputStreamClearPending}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GFilterInputStream +----GFileInputStream +----GMemoryInputStream +----GUnixInputStream}} \section{Detailed Description}{GInputStream has functions to read from a stream (\code{\link{gInputStreamRead}}), to close a stream (\code{\link{gInputStreamClose}}) and to skip some content (\code{\link{gInputStreamSkip}}). To copy the content of an input stream to an output stream without manually handling the reads and writes, use \code{\link{gOutputStreamSplice}}. All of these functions have async variants too.} \section{Structures}{\describe{\item{\verb{GInputStream}}{ Base class for streaming input operations. }}} \references{\url{http://library.gnome.org/devel//gio/GInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryOutputStreamGetData.Rd0000644000176000001440000000100112362217677017550 0ustar ripleyusers\alias{gMemoryOutputStreamGetData} \name{gMemoryOutputStreamGetData} \title{gMemoryOutputStreamGetData} \description{Gets any loaded data from the \code{ostream}. } \usage{gMemoryOutputStreamGetData(object)} \arguments{\item{\verb{object}}{a \code{\link{GMemoryOutputStream}}}} \details{Note that the returned pointer may become invalid on the next write or truncate operation on the stream.} \value{[R object] pointer to the stream's data} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathNewFromIndices.Rd0000644000176000001440000000073012362217677017331 0ustar ripleyusers\alias{gtkTreePathNewFromIndices} \name{gtkTreePathNewFromIndices} \title{gtkTreePathNewFromIndices} \description{Creates a new path with \code{first.index} and \code{varargs} as indices.} \usage{gtkTreePathNewFromIndices(...)} \arguments{\item{\verb{...}}{A newly created \code{\link{GtkTreePath}}.}} \details{Since 2.2} \value{[\code{\link{GtkTreePath}}] A newly created \code{\link{GtkTreePath}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveStartFinish.Rd0000644000176000001440000000123412362217677015711 0ustar ripleyusers\alias{gDriveStartFinish} \name{gDriveStartFinish} \title{gDriveStartFinish} \description{Finishes starting a drive.} \usage{gDriveStartFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the drive has been started successfully, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetKeepBelow.Rd0000644000176000001440000000234112362217677016541 0ustar ripleyusers\alias{gtkWindowSetKeepBelow} \name{gtkWindowSetKeepBelow} \title{gtkWindowSetKeepBelow} \description{Asks to keep \code{window} below, so that it stays in bottom. Note that you shouldn't assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just don't write code that crashes if not.} \usage{gtkWindowSetKeepBelow(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{whether to keep \code{window} below other windows} } \details{It's permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially. You can track the below state via the "window-state-event" signal on \code{\link{GtkWidget}}. Note that, according to the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}) specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetRulesHint.Rd0000644000176000001440000000064512362217677017055 0ustar ripleyusers\alias{gtkTreeViewGetRulesHint} \name{gtkTreeViewGetRulesHint} \title{gtkTreeViewGetRulesHint} \description{Gets the setting set by \code{\link{gtkTreeViewSetRulesHint}}.} \usage{gtkTreeViewGetRulesHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \value{[logical] \code{TRUE} if rules are useful for the user of this tree} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetAlignment.Rd0000644000176000001440000000073112362217677017114 0ustar ripleyusers\alias{pangoLayoutGetAlignment} \name{pangoLayoutGetAlignment} \title{pangoLayoutGetAlignment} \description{Gets the alignment for the layout: how partial lines are positioned within the horizontal space available.} \usage{pangoLayoutGetAlignment(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[\code{\link{PangoAlignment}}] the alignment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentGetLocale.Rd0000644000176000001440000000147012362217677016352 0ustar ripleyusers\alias{atkDocumentGetLocale} \name{atkDocumentGetLocale} \title{atkDocumentGetLocale} \description{Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the content of this document instance. Individual text substrings or images within this document may have a different locale, see atk_text_get_attributes and atk_image_get_image_locale.} \usage{atkDocumentGetLocale(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface}} \value{[character] a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the document content as a whole, or NULL if the document content does not specify a locale.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileMonitor-concept.Rd0000644000176000001440000000513412362217677016304 0ustar ripleyusers\alias{GFileMonitor} \alias{GFileMonitorEvent} \name{GFileMonitor-concept} \title{GFileMonitor} \description{File Monitor} \section{Methods and Functions}{ \code{\link{gFileMonitorCancel}(object)}\cr \code{\link{gFileMonitorIsCancelled}(object)}\cr \code{\link{gFileMonitorSetRateLimit}(object, limit.msecs)}\cr \code{\link{gFileMonitorEmitEvent}(object, file, other.file, event.type)}\cr } \section{Hierarchy}{\preformatted{ GEnum +----GFileMonitorEvent GObject +----GFileMonitor }} \section{Detailed Description}{Monitors a file or directory for changes. To obtain a \code{\link{GFileMonitor}} for a file or directory, use \code{\link{gFileMonitor}}, \code{\link{gFileMonitorFile}}, or \code{\link{gFileMonitorDirectory}}. To get informed about changes to the file or directory you are monitoring, connect to the \verb{"changed"} signal. The signal will be emitted in the thread-default main context of the thread that the monitor was created in (though if the global default main context is blocked, this may cause notifications to be blocked even if the thread-default context is still running).} \section{Structures}{\describe{\item{\verb{GFileMonitor}}{ Watches for changes to a file. }}} \section{Enums and Flags}{\describe{\item{\verb{GFileMonitorEvent}}{ Specifies what type of event a monitor event is. \describe{ \item{\verb{changed}}{a file changed.} \item{\verb{changes-done-hint}}{a hint that this was probably the last change in a set of changes.} \item{\verb{deleted}}{a file was deleted.} \item{\verb{created}}{a file was created.} \item{\verb{attribute-changed}}{a file attribute was changed.} \item{\verb{pre-unmount}}{the file location will soon be unmounted.} \item{\verb{unmounted}}{the file location was unmounted.} } }}} \section{Signals}{\describe{\item{\code{changed(monitor, file, other.file, event.type, user.data)}}{ Emitted when a file has been changed. \describe{ \item{\code{monitor}}{a \code{\link{GFileMonitor}}.} \item{\code{file}}{a \code{\link{GFile}}.} \item{\code{other.file}}{a \code{\link{GFile}}.} \item{\code{event.type}}{a \code{\link{GFileMonitorEvent}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{cancelled} [logical : Read]}{ Whether the monitor has been cancelled. Default value: FALSE } \item{\verb{rate-limit} [integer : Read / Write]}{ The limit of the monitor to watch for changes, in milliseconds. Allowed values: >= 0 Default value: 800 } }} \references{\url{http://library.gnome.org/devel//gio/GFileMonitor.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetScaleMatrix.Rd0000644000176000001440000000133712362217677020153 0ustar ripleyusers\alias{cairoScaledFontGetScaleMatrix} \name{cairoScaledFontGetScaleMatrix} \title{cairoScaledFontGetScaleMatrix} \description{Stores the scale matrix of \code{scaled.font} into \code{matrix}. The scale matrix is product of the font matrix and the ctm associated with the scaled font, and hence is the matrix mapping from font space to device space.} \usage{cairoScaledFontGetScaleMatrix(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.8} \value{ A list containing the following elements: \item{\verb{scale.matrix}}{[\code{\link{CairoMatrix}}] return value for the matrix} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamGetBufferSize.Rd0000644000176000001440000000063012362217677021023 0ustar ripleyusers\alias{gBufferedInputStreamGetBufferSize} \name{gBufferedInputStreamGetBufferSize} \title{gBufferedInputStreamGetBufferSize} \description{Gets the size of the input buffer.} \usage{gBufferedInputStreamGetBufferSize(object)} \arguments{\item{\verb{object}}{\code{\link{GBufferedInputStream}}.}} \value{[numeric] the current buffer size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetNPagesToPrint.Rd0000644000176000001440000000161612362217677021057 0ustar ripleyusers\alias{gtkPrintOperationGetNPagesToPrint} \name{gtkPrintOperationGetNPagesToPrint} \title{gtkPrintOperationGetNPagesToPrint} \description{Returns the number of pages that will be printed.} \usage{gtkPrintOperationGetNPagesToPrint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Note that this value is set during print preparation phase (\code{GTK_PRINT_STATUS_PREPARING}), so this function should never be called before the data generation phase (\code{GTK_PRINT_STATUS_GENERATING_DATA}). You can connect to the \verb{"status-changed"} signal and call \code{\link{gtkPrintOperationGetNPagesToPrint}} when print status is \code{GTK_PRINT_STATUS_GENERATING_DATA}. This is typically used to track the progress of print operation. Since 2.18} \value{[integer] the number of pages that will be printed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeExpand.Rd0000644000176000001440000000063112362217677015162 0ustar ripleyusers\alias{gtkCTreeExpand} \name{gtkCTreeExpand} \title{gtkCTreeExpand} \description{ Expand one node. \strong{WARNING: \code{gtk_ctree_expand} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeExpand(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressGetCurrentPercentage.Rd0000644000176000001440000000106712362217677020631 0ustar ripleyusers\alias{gtkProgressGetCurrentPercentage} \name{gtkProgressGetCurrentPercentage} \title{gtkProgressGetCurrentPercentage} \description{ Returns the current progress as a percentage. \strong{WARNING: \code{gtk_progress_get_current_percentage} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressGetCurrentPercentage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgress}}.}} \value{[numeric] a number between 0.0 and 1.0 indicating the percentage complete.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardSearch.Rd0000644000176000001440000000170412362217677017357 0ustar ripleyusers\alias{gtkTextIterBackwardSearch} \name{gtkTextIterBackwardSearch} \title{gtkTextIterBackwardSearch} \description{Same as \code{\link{gtkTextIterForwardSearch}}, but moves backward.} \usage{gtkTextIterBackwardSearch(object, str, flags, limit = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}} where the search begins} \item{\verb{str}}{search string} \item{\verb{flags}}{bitmask of flags affecting the search} \item{\verb{limit}}{location of last possible \code{match.start}, or \code{NULL} for start of buffer. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{retval}{[logical] whether a match was found} \item{\verb{match.start}}{return location for start of match, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{match.end}}{return location for end of match, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLine.Rd0000644000176000001440000000105112362217677016705 0ustar ripleyusers\alias{pangoLayoutIterGetLine} \name{pangoLayoutIterGetLine} \title{pangoLayoutIterGetLine} \description{Gets the current line.} \usage{pangoLayoutIterGetLine(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \details{Use the faster \code{\link{pangoLayoutIterGetLineReadonly}} if you do not plan to modify the contents of the line (glyphs, glyph widths, etc.). } \value{[\code{\link{PangoLayoutLine}}] the current line.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogNewWithMarkup.Rd0000644000176000001440000000321312362217677020211 0ustar ripleyusers\alias{gtkMessageDialogNewWithMarkup} \name{gtkMessageDialogNewWithMarkup} \title{gtkMessageDialogNewWithMarkup} \description{Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text which is marked up with the Pango text markup language. When the user clicks a button a "response" signal is emitted with response IDs from \code{\link{GtkResponseType}}. See \code{\link{GtkDialog}} for more details.} \usage{gtkMessageDialogNewWithMarkup(parent, flags, type, buttons, ..., show = TRUE)} \arguments{ \item{\verb{parent}}{transient parent, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{flags}}{flags} \item{\verb{type}}{type of message} \item{\verb{buttons}}{set of buttons to use} \item{\verb{...}}{a new \code{\link{GtkMessageDialog}}} } \details{Special XML characters in the \code{printf()} arguments passed to this function will automatically be escaped as necessary. (See \code{gMarkupPrintfEscaped()} for how this is implemented.) Usually this is what you want, but if you have an existing Pango markup string that you want to use literally as the label, then you need to use \code{\link{gtkMessageDialogSetMarkup}} instead, since you can't pass the markup string either as the format (it might contain '\%' characters) or as a string argument. \preformatted{ dialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close") dialog$setMarkup(message) } Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkMessageDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetChoice.Rd0000644000176000001440000000066612362217677017227 0ustar ripleyusers\alias{gMountOperationGetChoice} \name{gMountOperationGetChoice} \title{gMountOperationGetChoice} \description{Gets a choice from the mount operation.} \usage{gMountOperationGetChoice(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[integer] an integer containing an index of the user's choice from the choice's list, or \code{0}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountEject.Rd0000644000176000001440000000175212362217677014543 0ustar ripleyusers\alias{gMountEject} \name{gMountEject} \title{gMountEject} \description{ Ejects a mount. This is an asynchronous operation, and is finished by calling \code{\link{gMountEjectFinish}} with the \code{mount} and \code{\link{GAsyncResult}} data returned in the \code{callback}. \strong{WARNING: \code{g_mount_eject} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gMountEjectWithOperation}} instead.} } \usage{gMountEject(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoCreate.Rd0000644000176000001440000000132312362217677015160 0ustar ripleyusers\alias{gdkCairoCreate} \name{gdkCairoCreate} \title{gdkCairoCreate} \description{Creates a Cairo context for drawing to \code{drawable}.} \usage{gdkCairoCreate(drawable)} \arguments{\item{\verb{drawable}}{a \code{\link{GdkDrawable}}}} \details{\strong{PLEASE NOTE:} Note that due to double-buffering, Cairo contexts created in a GTK+ expose event handler cannot be cached and reused between different expose events. Since 2.8} \value{[\code{\link{Cairo}}] A newly created Cairo context.} \note{Note that due to double-buffering, Cairo contexts created in a GTK+ expose event handler cannot be cached and reused between different expose events. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutNew.Rd0000644000176000001440000000127012362217677014747 0ustar ripleyusers\alias{gtkLayoutNew} \name{gtkLayoutNew} \title{gtkLayoutNew} \description{Creates a new \code{\link{GtkLayout}}. Unless you have a specific adjustment you'd like the layout to use for scrolling, pass \code{NULL} for \code{hadjustment} and \code{vadjustment}.} \usage{gtkLayoutNew(hadjustment = NULL, vadjustment = NULL, show = TRUE)} \arguments{ \item{\verb{hadjustment}}{horizontal scroll adjustment, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{vadjustment}}{vertical scroll adjustment, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkLayout}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetShowPrivate.Rd0000644000176000001440000000102412362217677020414 0ustar ripleyusers\alias{gtkRecentChooserGetShowPrivate} \name{gtkRecentChooserGetShowPrivate} \title{gtkRecentChooserGetShowPrivate} \description{Returns whether \code{chooser} should display recently used resources registered as private.} \usage{gtkRecentChooserGetShowPrivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the recent chooser should show private items, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintTab.Rd0000644000176000001440000000214512362217677014524 0ustar ripleyusers\alias{gtkPaintTab} \name{gtkPaintTab} \title{gtkPaintTab} \description{Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on \code{window} using the given parameters.} \usage{gtkPaintTab(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle to draw the tab in} \item{\verb{y}}{y origin of the rectangle to draw the tab in} \item{\verb{width}}{the width of the rectangle to draw the tab in} \item{\verb{height}}{the height of the rectangle to draw the tab in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListNew.Rd0000644000176000001440000000052312362217677015557 0ustar ripleyusers\alias{pangoAttrListNew} \name{pangoAttrListNew} \title{pangoAttrListNew} \description{Create a new empty attribute list with a reference count of one.} \usage{pangoAttrListNew()} \value{[\code{\link{PangoAttrList}}] the newly allocated \code{\link{PangoAttrList}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetLength.Rd0000644000176000001440000000070612362217677017344 0ustar ripleyusers\alias{gtkSelectionDataGetLength} \name{gtkSelectionDataGetLength} \title{gtkSelectionDataGetLength} \description{Retrieves the length of the raw data of the selection.} \usage{gtkSelectionDataGetLength(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[integer] the length of the data of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatIsDisabled.Rd0000644000176000001440000000072012362217677017331 0ustar ripleyusers\alias{gdkPixbufFormatIsDisabled} \name{gdkPixbufFormatIsDisabled} \title{gdkPixbufFormatIsDisabled} \description{Returns whether this image format is disabled. See \code{\link{gdkPixbufFormatSetDisabled}}.} \usage{gdkPixbufFormatIsDisabled(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.6} \value{[logical] whether this image format is disabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetAccelPath.Rd0000644000176000001440000000127412362217677016462 0ustar ripleyusers\alias{gtkActionSetAccelPath} \name{gtkActionSetAccelPath} \title{gtkActionSetAccelPath} \description{Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent.} \usage{gtkActionSetAccelPath(object, accel.path)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{accel.path}}{the accelerator path} } \details{Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetHoverExpand.Rd0000644000176000001440000000071312362217677017357 0ustar ripleyusers\alias{gtkTreeViewGetHoverExpand} \name{gtkTreeViewGetHoverExpand} \title{gtkTreeViewGetHoverExpand} \description{Returns whether hover expansion mode is turned on for \code{tree.view}.} \usage{gtkTreeViewGetHoverExpand(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if \code{tree.view} is in hover expansion mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorGetDisplay.Rd0000644000176000001440000000067612362217677016254 0ustar ripleyusers\alias{gdkCursorGetDisplay} \name{gdkCursorGetDisplay} \title{gdkCursorGetDisplay} \description{Returns the display on which the \code{\link{GdkCursor}} is defined.} \usage{gdkCursorGetDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkCursor}}.}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] the \code{\link{GdkDisplay}} associated to \code{cursor}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockAdd.Rd0000644000176000001440000000115012362217677014511 0ustar ripleyusers\alias{gtkStockAdd} \name{gtkStockAdd} \title{gtkStockAdd} \description{Registers each of the stock items in \code{items}. If an item already exists with the same stock ID as one of the \code{items}, the old item gets replaced. The stock items are copied, so GTK+ does not hold any pointer into \code{items} and \code{items} can be freed. Use \code{\link{gtkStockAddStatic}} if \code{items} is persistent and GTK+ need not copy the list.} \usage{gtkStockAdd(items)} \arguments{\item{\verb{items}}{a \code{\link{GtkStockItem}} or list of items}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetDestroyCountFunc.Rd0000644000176000001440000000136512362217677020432 0ustar ripleyusers\alias{gtkTreeViewSetDestroyCountFunc} \name{gtkTreeViewSetDestroyCountFunc} \title{gtkTreeViewSetDestroyCountFunc} \description{This function should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted.} \usage{gtkTreeViewSetDestroyCountFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{func}}{Function to be called when a view row is destroyed, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{User data to be passed to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererTextNew.Rd0000644000176000001440000000133412362217677016706 0ustar ripleyusers\alias{gtkCellRendererTextNew} \name{gtkCellRendererTextNew} \title{gtkCellRendererTextNew} \description{Creates a new \code{\link{GtkCellRendererText}}. Adjust how text is drawn using object properties. Object properties can be set globally (with \code{\link{gObjectSet}}). Also, with \code{\link{GtkTreeViewColumn}}, you can bind a property to a value in a \code{\link{GtkTreeModel}}. For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of the \code{\link{GtkTreeView}}} \usage{gtkCellRendererTextNew()} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeRealSelectRecursive.Rd0000644000176000001440000000120712362217677017656 0ustar ripleyusers\alias{gtkCTreeRealSelectRecursive} \name{gtkCTreeRealSelectRecursive} \title{gtkCTreeRealSelectRecursive} \description{ The function that implements both \code{\link{gtkCTreeSelectRecursive}} and \code{\link{gtkCTreeUnselectRecursive}}. \strong{WARNING: \code{gtk_ctree_real_select_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeRealSelectRecursive(object, node, state)} \arguments{ \item{\verb{object}}{True for selecting, false for unselecting.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{state}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetColormap.Rd0000644000176000001440000000101512362217677016411 0ustar ripleyusers\alias{gtkWidgetSetColormap} \name{gtkWidgetSetColormap} \title{gtkWidgetSetColormap} \description{Sets the colormap for the widget to the given value. Widget must not have been previously realized. This probably should only be used from an \code{init()} function (i.e. from the constructor for the widget).} \usage{gtkWidgetSetColormap(object, colormap)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{colormap}}{a colormap} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkValueGetMaximumValue.Rd0000644000176000001440000000100112362217677017051 0ustar ripleyusers\alias{atkValueGetMaximumValue} \name{atkValueGetMaximumValue} \title{atkValueGetMaximumValue} \description{Gets the maximum value of this object.} \usage{atkValueGetMaximumValue(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkValue}}] a GObject instance that implements AtkValueIface}} \value{ A list containing the following elements: \item{\verb{value}}{[R object] a \verb{R object} representing the maximum accessible value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreMoveAfter.Rd0000644000176000001440000000134512362217677016550 0ustar ripleyusers\alias{gtkTreeStoreMoveAfter} \name{gtkTreeStoreMoveAfter} \title{gtkTreeStoreMoveAfter} \description{Moves \code{iter} in \code{tree.store} to the position after \code{position}. \code{iter} and \code{position} should be in the same level. Note that this function only works with unsorted stores. If \code{position} is \code{NULL}, \code{iter} will be moved to the start of the level.} \usage{gtkTreeStoreMoveAfter(object, iter, position = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} \item{\verb{position}}{A \code{\link{GtkTreeIter}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFlush.Rd0000644000176000001440000000060112362217677014056 0ustar ripleyusers\alias{gdkFlush} \name{gdkFlush} \title{gdkFlush} \description{Flushes the X output buffer and waits until all requests have been processed by the server. This is rarely needed by applications. It's main use is for trapping X errors with \code{gdkErrorTrapPush()} and \code{gdkErrorTrapPop()}.} \usage{gdkFlush()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsGetSubpixelOrder.Rd0000644000176000001440000000110412362217677020756 0ustar ripleyusers\alias{cairoFontOptionsGetSubpixelOrder} \name{cairoFontOptionsGetSubpixelOrder} \title{cairoFontOptionsGetSubpixelOrder} \description{Gets the subpixel order for the font options object. See the documentation for \code{\link{CairoSubpixelOrder}} for full details.} \usage{cairoFontOptionsGetSubpixelOrder(options)} \arguments{\item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoSubpixelOrder}}] the subpixel order for the font options object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetQuality.Rd0000644000176000001440000000067512362217677017672 0ustar ripleyusers\alias{gtkPrintSettingsSetQuality} \name{gtkPrintSettingsSetQuality} \title{gtkPrintSettingsSetQuality} \description{Sets the value of \code{GTK_PRINT_SETTINGS_QUALITY}.} \usage{gtkPrintSettingsSetQuality(object, quality)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{quality}}{a \code{\link{GtkPrintQuality}} value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSeparatorToolItemGetDraw.Rd0000644000176000001440000000100612362217677017710 0ustar ripleyusers\alias{gtkSeparatorToolItemGetDraw} \name{gtkSeparatorToolItemGetDraw} \title{gtkSeparatorToolItemGetDraw} \description{Returns whether \code{item} is drawn as a line, or just blank. See \code{\link{gtkSeparatorToolItemSetDraw}}.} \usage{gtkSeparatorToolItemGetDraw(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSeparatorToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{item} is drawn as a line, or just blank.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableGetDefaultRowSpacing.Rd0000644000176000001440000000075012362217677020013 0ustar ripleyusers\alias{gtkTableGetDefaultRowSpacing} \name{gtkTableGetDefaultRowSpacing} \title{gtkTableGetDefaultRowSpacing} \description{Gets the default row spacing for the table. This is the spacing that will be used for newly added rows. (See \code{\link{gtkTableSetRowSpacings}})} \usage{gtkTableGetDefaultRowSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTable}}}} \value{[numeric] the default row spacing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOutputStreamQueryInfoFinish.Rd0000644000176000001440000000141112362217677020735 0ustar ripleyusers\alias{gFileOutputStreamQueryInfoFinish} \name{gFileOutputStreamQueryInfoFinish} \title{gFileOutputStreamQueryInfoFinish} \description{Finalizes the asynchronous query started by \code{\link{gFileOutputStreamQueryInfoAsync}}.} \usage{gFileOutputStreamQueryInfoFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileOutputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] A \code{\link{GFileInfo}} for the finished query.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetTextOrientation.Rd0000644000176000001440000000116312362217677020276 0ustar ripleyusers\alias{gtkToolItemGetTextOrientation} \name{gtkToolItemGetTextOrientation} \title{gtkToolItemGetTextOrientation} \description{Returns the text orientation used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function to find out how text should be orientated.} \usage{gtkToolItemGetTextOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.20} \value{[\code{\link{GtkOrientation}}] a \code{\link{GtkOrientation}} indicating the text orientation used for \code{tool.item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuReposition.Rd0000644000176000001440000000047012362217677016001 0ustar ripleyusers\alias{gtkMenuReposition} \name{gtkMenuReposition} \title{gtkMenuReposition} \description{Repositions the menu according to its position function.} \usage{gtkMenuReposition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetMargin.Rd0000644000176000001440000000057112362217677016344 0ustar ripleyusers\alias{gtkIconViewGetMargin} \name{gtkIconViewGetMargin} \title{gtkIconViewGetMargin} \description{Returns the value of the ::margin property.} \usage{gtkIconViewGetMargin(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the space at the borders} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreate.Rd0000644000176000001440000000326312362217677014470 0ustar ripleyusers\alias{gFileCreate} \name{gFileCreate} \title{gFileCreate} \description{Creates a new file and returns an output stream for writing to it. The file must not already exist.} \usage{gFileCreate(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{By default files created are generally readable by everyone, but if you pass \verb{G_FILE_CREATE_PRIVATE} in \code{flags} the file will be made readable only to the current user, to the level that is supported on the target filesystem. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If a file or directory with this name already exists the G_IO_ERROR_EXISTS error will be returned. Some file systems don't allow all file names, and may return an G_IO_ERROR_INVALID_FILENAME error, and if the name is to long G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a \code{\link{GFileOutputStream}} for the newly created file, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetSize.Rd0000644000176000001440000000066212362217677017073 0ustar ripleyusers\alias{gtkFontSelectionGetSize} \name{gtkFontSelectionGetSize} \title{gtkFontSelectionGetSize} \description{The selected font size.} \usage{gtkFontSelectionGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[integer] A n integer representing the selected font size, or -1 if no font size is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetItems.Rd0000644000176000001440000000134712362217677017232 0ustar ripleyusers\alias{gtkRecentChooserGetItems} \name{gtkRecentChooserGetItems} \title{gtkRecentChooserGetItems} \description{Gets the list of recently used resources in form of \code{\link{GtkRecentInfo}} objects.} \usage{gtkRecentChooserGetItems(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{The return value of this function is affected by the "sort-type" and "limit" properties of \code{chooser}. Since 2.10} \value{[list] A newly allocated list of \code{\link{GtkRecentInfo}} objects. You should use \code{\link{gtkRecentInfoUnref}} on every item of the list, \emph{[ \acronym{element-type} GtkRecentInfo][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetDomain.Rd0000644000176000001440000000056612362217677017243 0ustar ripleyusers\alias{gMountOperationGetDomain} \name{gMountOperationGetDomain} \title{gMountOperationGetDomain} \description{Gets the domain of the mount operation.} \usage{gMountOperationGetDomain(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[char] a string set to the domain.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceContentsAsync.Rd0000644000176000001440000000323312362217677017351 0ustar ripleyusers\alias{gFileReplaceContentsAsync} \name{gFileReplaceContentsAsync} \title{gFileReplaceContentsAsync} \description{Starts an asynchronous replacement of \code{file} with the given \code{contents} of \code{length} bytes. \code{etag} will replace the document's current entity tag.} \usage{gFileReplaceContentsAsync(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{contents}}{string of contents to replace the file with.} \item{\verb{length}}{the length of \code{contents} in bytes.} \item{\verb{etag}}{a new entity tag for the \code{file}, or \code{NULL}} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{When this operation has completed, \code{callback} will be called with \code{user.user} data, and the operation can be finalized with \code{\link{gFileReplaceContentsFinish}}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If \code{make.backup} is \code{TRUE}, this function will attempt to make a backup of \code{file}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetCurrentPage.Rd0000644000176000001440000000116212362217677020611 0ustar ripleyusers\alias{gtkPrintOperationSetCurrentPage} \name{gtkPrintOperationSetCurrentPage} \title{gtkPrintOperationSetCurrentPage} \description{Sets the current page.} \usage{gtkPrintOperationSetCurrentPage(object, current.page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{current.page}}{the current page, 0-based} } \details{If this is called before \code{\link{gtkPrintOperationRun}}, the user will be able to select to print only the current page. Note that this only makes sense for pre-paginated documents. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkHyperlink.Rd0000644000176000001440000000444112362217677014722 0ustar ripleyusers\alias{AtkHyperlink} \name{AtkHyperlink} \title{AtkHyperlink} \description{An ATK object which encapsulates a link or set of links in a hypertext document.} \section{Methods and Functions}{ \code{\link{atkHyperlinkGetUri}(object, i)}\cr \code{\link{atkHyperlinkGetObject}(object, i)}\cr \code{\link{atkHyperlinkGetEndIndex}(object)}\cr \code{\link{atkHyperlinkGetStartIndex}(object)}\cr \code{\link{atkHyperlinkIsValid}(object)}\cr \code{\link{atkHyperlinkIsInline}(object)}\cr \code{\link{atkHyperlinkGetNAnchors}(object)}\cr \code{\link{atkHyperlinkIsSelectedLink}(object)}\cr \code{\link{atkHyperlinkIsSelectedLink}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkHyperlink}} \section{Interfaces}{AtkHyperlink implements \code{\link{AtkAction}}.} \section{Detailed Description}{An ATK object which encapsulates a link or set of links (for instance in the case of client-side image maps) in a hypertext document. It may implement the AtkAction interface. AtkHyperlink may also be used to refer to inline embedded content, since it allows specification of a start and end offset within the host AtkHypertext object.} \section{Structures}{\describe{\item{\verb{AtkHyperlink}}{ The AtkHyperlink structure should not be accessed directly. }}} \section{Signals}{\describe{\item{\code{link-activated(atkhyperlink, user.data)}}{ The signal link-activated is emitted when a link is activated. \describe{ \item{\code{atkhyperlink}}{[\code{\link{AtkHyperlink}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{end-index} [integer : Read]}{ The end index of the AtkHyperlink object. Allowed values: >= 0 Default value: 0 } \item{\verb{number-of-anchors} [integer : Read]}{ The number of anchors associated with the AtkHyperlink object. Allowed values: >= 0 Default value: 0 } \item{\verb{selected-link} [logical : Read]}{ Specifies whether the AtkHyperlink object is selected. Default value: FALSE } \item{\verb{start-index} [integer : Read]}{ The start index of the AtkHyperlink object. Allowed values: >= 0 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//atk/AtkHyperlink.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontLoad.Rd0000644000176000001440000000114012362217677014502 0ustar ripleyusers\alias{gdkFontLoad} \name{gdkFontLoad} \title{gdkFontLoad} \description{ Loads a font. \strong{WARNING: \code{gdk_font_load} is deprecated and should not be used in newly-written code.} } \usage{gdkFontLoad(font.name)} \arguments{\item{\verb{font.name}}{a XLFD describing the font to load.}} \details{The font may be newly loaded or looked up the font in a cache. You should make no assumptions about the initial reference count.} \value{[\code{\link{GdkFont}}] a \code{\link{GdkFont}}, or \code{NULL} if the font could not be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetDisplay.Rd0000644000176000001440000000102212362217677020215 0ustar ripleyusers\alias{gdkAppLaunchContextSetDisplay} \name{gdkAppLaunchContextSetDisplay} \title{gdkAppLaunchContextSetDisplay} \description{Sets the display on which applications will be launched when using this context. See also \code{\link{gdkAppLaunchContextSetScreen}}.} \usage{gdkAppLaunchContextSetDisplay(object, display)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{display}}{a \code{\link{GdkDisplay}}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGetConnectedDrives.Rd0000644000176000001440000000067112362217677020744 0ustar ripleyusers\alias{gVolumeMonitorGetConnectedDrives} \name{gVolumeMonitorGetConnectedDrives} \title{gVolumeMonitorGetConnectedDrives} \description{Gets a list of drives connected to the system.} \usage{gVolumeMonitorGetConnectedDrives(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolumeMonitor}}.}} \value{[list] a \verb{list} of connected \code{\link{GDrive}} objects.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBeginsTag.Rd0000644000176000001440000000147712362217677016365 0ustar ripleyusers\alias{gtkTextIterBeginsTag} \name{gtkTextIterBeginsTag} \title{gtkTextIterBeginsTag} \description{Returns \code{TRUE} if \code{tag} is toggled on at exactly this point. If \code{tag} is \code{NULL}, returns \code{TRUE} if any tag is toggled on at this point. Note that the \code{\link{gtkTextIterBeginsTag}} returns \code{TRUE} if \code{iter} is the \emph{start} of the tagged range; \code{\link{gtkTextIterHasTag}} tells you whether an iterator is \emph{within} a tagged range.} \usage{gtkTextIterBeginsTag(object, tag = NULL)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{tag}}{a \code{\link{GtkTextTag}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether \code{iter} is the start of a range tagged with \code{tag}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkHypertext.Rd0000644000176000001440000000342212362217677014747 0ustar ripleyusers\alias{AtkHypertext} \name{AtkHypertext} \title{AtkHypertext} \description{The ATK interface which provides standard mechanism for manipulating hyperlinks.} \section{Methods and Functions}{ \code{\link{atkHypertextGetLink}(object, link.index)}\cr \code{\link{atkHypertextGetNLinks}(object)}\cr \code{\link{atkHypertextGetLinkIndex}(object, char.index)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkHypertext}} \section{Implementations}{AtkHypertext is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{An interface used for objects which implement linking between multiple resource or content locations, or multiple 'markers' within a single document. A Hypertext instance is associated with one or more Hyperlinks, which are associated with particular offsets within the Hypertext's included content. While this interface is derived from Text, there is no requirement that Hypertext instances have textual content; they may implement Image as well, and Hyperlinks need not have non-zero text offsets.} \section{Structures}{\describe{\item{\verb{AtkHypertext}}{ The AtkHypertext structure does not contain any fields. }}} \section{Signals}{\describe{\item{\code{link-selected(atkhypertext, arg1, user.data)}}{ The "link-selected" signal is emitted by an AtkHyperText object when one of the hyperlinks associated with the object is selected. \describe{ \item{\code{atkhypertext}}{[\code{\link{AtkHypertext}}] the object which received the signal.} \item{\code{arg1}}{[integer] the index of the hyperlink which is selected} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//atk/AtkHypertext.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutInt64.Rd0000644000176000001440000000144712362217677017253 0ustar ripleyusers\alias{gDataOutputStreamPutInt64} \name{gDataOutputStreamPutInt64} \title{gDataOutputStreamPutInt64} \description{Puts a signed 64-bit integer into the stream.} \usage{gDataOutputStreamPutInt64(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{numeric}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextReset.Rd0000644000176000001440000000064312362217677015700 0ustar ripleyusers\alias{gtkIMContextReset} \name{gtkIMContextReset} \title{gtkIMContextReset} \description{Notify the input method that a change such as a change in cursor position has been made. This will typically cause the input method to clear the preedit state.} \usage{gtkIMContextReset(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMContext}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowUnsetPlacement.Rd0000644000176000001440000000120612362217677020626 0ustar ripleyusers\alias{gtkScrolledWindowUnsetPlacement} \name{gtkScrolledWindowUnsetPlacement} \title{gtkScrolledWindowUnsetPlacement} \description{Unsets the placement of the contents with respect to the scrollbars for the scrolled window. If no window placement is set for a scrolled window, it obeys the "gtk-scrolled-window-placement" XSETTING.} \usage{gtkScrolledWindowUnsetPlacement(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \details{See also \code{\link{gtkScrolledWindowSetPlacement}} and \code{\link{gtkScrolledWindowGetPlacement}}. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetNumberUp.Rd0000644000176000001440000000067712362217677020001 0ustar ripleyusers\alias{gtkPrintSettingsSetNumberUp} \name{gtkPrintSettingsSetNumberUp} \title{gtkPrintSettingsSetNumberUp} \description{Sets the value of \code{GTK_PRINT_SETTINGS_NUMBER_UP}.} \usage{gtkPrintSettingsSetNumberUp(object, number.up)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{number.up}}{the number of pages per sheet} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToService.Rd0000644000176000001440000000276112362217677020214 0ustar ripleyusers\alias{gSocketClientConnectToService} \name{gSocketClientConnectToService} \title{gSocketClientConnectToService} \description{Attempts to create a TCP connection to a service.} \usage{gSocketClientConnectToService(object, domain, service, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketConnection}}} \item{\verb{domain}}{a domain name} \item{\verb{service}}{the name of the service to connect to} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This call looks up the SRV record for \code{service} at \code{domain} for the "tcp" protocol. It then attempts to connect, in turn, to each of the hosts providing the service until either a connection succeeds or there are no hosts remaining. Upon a successful connection, a new \code{\link{GSocketConnection}} is constructed and returned. The caller owns this new object and must drop their reference to it when finished with it. In the event of any failure (DNS error, service not found, no hosts connectable) \code{NULL} is returned and \code{error} (if non-\code{NULL}) is set accordingly.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} if successful, or \code{NULL} on error} \item{\verb{error}}{a pointer to a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferSetText.Rd0000644000176000001440000000117012362217677016573 0ustar ripleyusers\alias{gtkEntryBufferSetText} \name{gtkEntryBufferSetText} \title{gtkEntryBufferSetText} \description{Sets the text in the buffer.} \usage{gtkEntryBufferSetText(object, chars, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{chars}}{the new text} \item{\verb{n.chars}}{the number of characters in \code{text}, or -1} } \details{This is roughly equivalent to calling \code{\link{gtkEntryBufferDeleteText}} and \code{\link{gtkEntryBufferInsertText}}. Note that \code{n.chars} is in characters, not in bytes. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarAppendElement.Rd0000644000176000001440000000343712362217677017073 0ustar ripleyusers\alias{gtkToolbarAppendElement} \name{gtkToolbarAppendElement} \title{gtkToolbarAppendElement} \description{ Adds a new element to the end of a toolbar. \strong{WARNING: \code{gtk_toolbar_append_element} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarAppendElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{type}}{a value of type \code{\link{GtkToolbarChildType}} that determines what \code{widget} will be.} \item{\verb{widget}}{a \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{text}}{the element's label.} \item{\verb{tooltip.text}}{the element's tooltip.} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that provides pictorial representation of the element's function.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{any data you wish to pass to the callback.} } \details{If \code{type} == \code{GTK_TOOLBAR_CHILD_WIDGET}, \code{widget} is used as the new element. If \code{type} == \code{GTK_TOOLBAR_CHILD_RADIOBUTTON}, \code{widget} is used to determine the radio group for the new element. In all other cases, \code{widget} must be \code{NULL}. \code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}. } \value{[\code{\link{GtkWidget}}] the new toolbar element as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrSizeNewAbsolute.Rd0000644000176000001440000000074512362217677017263 0ustar ripleyusers\alias{pangoAttrSizeNewAbsolute} \name{pangoAttrSizeNewAbsolute} \title{pangoAttrSizeNewAbsolute} \description{Create a new font-size attribute in device units.} \usage{pangoAttrSizeNewAbsolute(size)} \arguments{\item{\verb{size}}{[integer] the font size, in \code{PANGO_SCALE}ths of a device unit.}} \details{ Since 1.8} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleLine.Rd0000644000176000001440000000155112362217677020357 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleLine} \name{gtkTextIterBackwardVisibleLine} \title{gtkTextIterBackwardVisibleLine} \description{Moves \code{iter} to the start of the previous visible line. Returns \code{TRUE} if \code{iter} could be moved; i.e. if \code{iter} was at character offset 0, this function returns \code{FALSE}. Therefore if \code{iter} was already on line 0, but not at the start of the line, \code{iter} is snapped to the start of the line and the function returns \code{TRUE}. (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.)} \usage{gtkTextIterBackwardVisibleLine(object)} \arguments{\item{\verb{object}}{an iterator}} \details{Since 2.8} \value{[logical] whether \code{iter} moved} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetText.Rd0000644000176000001440000000112612362217677015343 0ustar ripleyusers\alias{gtkCListGetText} \name{gtkCListGetText} \title{gtkCListGetText} \description{ Gets the text for the specified cell. \strong{WARNING: \code{gtk_clist_get_text} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetText(w, row, cols, zeroBased = TRUE)} \arguments{\item{\verb{row}}{The row to query.}} \value{ A list containing the following elements: \item{retval}{[integer] 1 if the cell's text could be retrieved, 0 otherwise.} \item{\verb{text}}{A pointer to a pointer to store the text.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestWidgetSendKey.Rd0000644000176000001440000000200112362217677016357 0ustar ripleyusers\alias{gtkTestWidgetSendKey} \name{gtkTestWidgetSendKey} \title{gtkTestWidgetSendKey} \description{This function will generate keyboard press and release events in the middle of the first GdkWindow found that belongs to \code{widget}. For \code{GTK_NO_WINDOW} widgets like GtkButton, this will often be an input-only event window. For other widgets, this is usually widget->window. Certain caveats should be considered when using this function, in particular because the mouse pointer is warped to the key press location, see \code{\link{gdkTestSimulateKey}} for details.} \usage{gtkTestWidgetSendKey(widget, keyval, modifiers)} \arguments{ \item{\verb{widget}}{Widget to generate a key press and release on.} \item{\verb{keyval}}{A Gdk keyboard value.} \item{\verb{modifiers}}{Keyboard modifiers the event is setup with.} } \details{Since 2.14} \value{[logical] wether all actions neccessary for the key event simulation were carried out successfully.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAcceptSocket.Rd0000644000176000001440000000307112362217677017711 0ustar ripleyusers\alias{gSocketListenerAcceptSocket} \name{gSocketListenerAcceptSocket} \title{gSocketListenerAcceptSocket} \description{Blocks waiting for a client to connect to any of the sockets added to the listener. Returns the \code{\link{GSocket}} that was accepted.} \usage{gSocketListenerAcceptSocket(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If you want to accept the high-level \code{\link{GSocketConnection}}, not a \code{\link{GSocket}}, which is often the case, then you should use \code{\link{gSocketListenerAccept}} instead. If \code{source.object} is not \code{NULL} it will be filled out with the source object specified when the corresponding socket or address was added to the listener. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocket}}] a \code{\link{GSocket}} on success, \code{NULL} on error.} \item{\verb{source.object}}{location where \code{\link{GObject}} pointer will be stored, or \code{NULL}} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetUseStock.Rd0000644000176000001440000000071712362217677016435 0ustar ripleyusers\alias{gtkButtonSetUseStock} \name{gtkButtonSetUseStock} \title{gtkButtonSetUseStock} \description{If \code{TRUE}, the label set on the button is used as a stock id to select the stock item for the button.} \usage{gtkButtonSetUseStock(object, use.stock)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{use.stock}}{\code{TRUE} if the button should use a stock item} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInvisibleNewForScreen.Rd0000644000176000001440000000104612362217677017226 0ustar ripleyusers\alias{gtkInvisibleNewForScreen} \name{gtkInvisibleNewForScreen} \title{gtkInvisibleNewForScreen} \description{Creates a new \code{\link{GtkInvisible}} object for a specified screen} \usage{gtkInvisibleNewForScreen(screen, show = TRUE)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}} which identifies on which the new \code{\link{GtkInvisible}} will be created.}} \details{Since 2.2} \value{[\code{\link{GtkWidget}}] a newly created \code{\link{GtkInvisible}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetCurrentUri.Rd0000644000176000001440000000133412362217677020263 0ustar ripleyusers\alias{gtkRecentChooserSetCurrentUri} \name{gtkRecentChooserSetCurrentUri} \title{gtkRecentChooserSetCurrentUri} \description{Sets \code{uri} as the current URI for \code{chooser}.} \usage{gtkRecentChooserSetCurrentUri(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{uri}}{a URI} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the URI was found.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioActionNew.Rd0000644000176000001440000000205212362217677015665 0ustar ripleyusers\alias{gtkRadioActionNew} \name{gtkRadioActionNew} \title{gtkRadioActionNew} \description{Creates a new \code{\link{GtkRadioAction}} object. To add the action to a \code{\link{GtkActionGroup}} and set the accelerator for the action, call \code{\link{gtkActionGroupAddActionWithAccel}}.} \usage{gtkRadioActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL)} \arguments{ \item{\verb{name}}{A unique name for the action} \item{\verb{label}}{The label displayed in menu items and on buttons, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip}}{A tooltip for this action, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{The stock icon to display in widgets representing this action, or \code{NULL}} \item{\verb{value}}{The value which \code{\link{gtkRadioActionGetCurrentValue}} should return if this action is selected.} } \details{Since 2.4} \value{[\code{\link{GtkRadioAction}}] a new \code{\link{GtkRadioAction}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabBorder.Rd0000644000176000001440000000132612362217677017043 0ustar ripleyusers\alias{gtkNotebookSetTabBorder} \name{gtkNotebookSetTabBorder} \title{gtkNotebookSetTabBorder} \description{ Sets the width the border around the tab labels in a notebook. This is equivalent to calling gtk_notebook_set_tab_hborder (\code{notebook}, \code{border.width}) followed by gtk_notebook_set_tab_vborder (\code{notebook}, \code{border.width}). \strong{WARNING: \code{gtk_notebook_set_tab_border} is deprecated and should not be used in newly-written code.} } \usage{gtkNotebookSetTabBorder(object, border.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{border.width}}{width of the border around the tab labels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionNew.Rd0000644000176000001440000000057512362217677016634 0ustar ripleyusers\alias{gtkEntryCompletionNew} \name{gtkEntryCompletionNew} \title{gtkEntryCompletionNew} \description{Creates a new \code{\link{GtkEntryCompletion}} object.} \usage{gtkEntryCompletionNew()} \details{Since 2.4} \value{[\code{\link{GtkEntryCompletion}}] A newly created \code{\link{GtkEntryCompletion}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEjectMountableFinish.Rd0000644000176000001440000000167012362217677017327 0ustar ripleyusers\alias{gFileEjectMountableFinish} \name{gFileEjectMountableFinish} \title{gFileEjectMountableFinish} \description{ Finishes an asynchronous eject operation started by \code{\link{gFileEjectMountable}}. \strong{WARNING: \code{g_file_eject_mountable_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gFileEjectMountableWithOperationFinish}} instead.} } \usage{gFileEjectMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{file} was ejected successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAddAddress.Rd0000644000176000001440000000362212362217677017341 0ustar ripleyusers\alias{gSocketListenerAddAddress} \name{gSocketListenerAddAddress} \title{gSocketListenerAddAddress} \description{Creates a socket of type \code{type} and protocol \code{protocol}, binds it to \code{address} and adds it to the set of sockets we're accepting sockets from.} \usage{gSocketListenerAddAddress(object, address, type, protocol, source.object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{address}}{a \code{\link{GSocketAddress}}} \item{\verb{type}}{a \code{\link{GSocketType}}} \item{\verb{protocol}}{a \code{\link{GSocketProtocol}}} \item{\verb{source.object}}{Optional \code{\link{GObject}} identifying this source} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Note that adding an IPv6 address, depending on the platform, may or may not result in a listener that also accepts IPv4 connections. For more determinstic behaviour, see \code{\link{gSocketListenerAddInetPort}}. \code{source.object} will be passed out in the various calls to accept to identify this particular source, which is useful if you're listening on multiple addresses and do different things depending on what address is connected to. If successful and \code{effective.address} is non-\code{NULL} then it will be set to the address that the binding actually occured at. This is helpful for determining the port number that was used for when requesting a binding to port 0 (ie: "any port"). This address, if requested, belongs to the caller and must be freed. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{effective.address}}{location to store the address that was bound to, or \code{NULL}.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/classes.Rd0000644000176000001440000001161411766145227013750 0ustar ripleyusers\alias{gClass} \alias{parentHandler} \alias{registerVirtuals} \alias{assignProp} \alias{getProp} \name{classes} \title{Custom GObject classes} \description{Highly experimental support for constructing new \code{GObject} classes entirely from with R.} \usage{ gClass(name, parent = "GObject", ..., abstract = FALSE) parentHandler(method, obj = NULL, ...) assignProp(obj, pspec, value) getProp(obj, pspec) registerVirtuals(virtuals) } \arguments{ \item{name}{The name of the new class} \item{parent}{The name of the parent class} \item{abstract}{If \code{TRUE}, the class should not be instantiable.} \item{method}{The name of the method to invoke in the parent} \item{obj}{A \code{\link{GObject}}} \item{...}{Additional arguments. For \code{parentHandler()}, arguments to pass to the parent method. For \code{gClass()}, arguments specifying the class definition (see Details).} \item{pspec}{A \code{\link{GParamSpec}} describing the property} \item{value}{The value to set on the property} \item{virtuals}{An environment containing lists where each list contains the names of the virtual methods for the class matching the name of the list}. } \details{ The bulk of the class definition (everything except the name and the parent) is passed through additional arguments to the \code{gClass} function. This information includes: \describe{ \item{Methods}{R functions that override virtuals methods in a \code{GObject} class. Functions overriding methods in the same class are grouped together in a list and are named according to the virtual they override. Each list is passed as a separate parameter to the \code{class_def} list and bears the name of the corresponding class.} \item{Signals}{Signals that are emitted by the class, in addition to those of the superclasses. Each signal definition is a list containing the following elements: signal name, vector of type names of signal arguments, type name of signal return value, and a vector of values from the \code{\link{GSignalFlags}} enumeration. The list of signal definitions is passed as a parameter named \code{.signals} to the \code{gClass}.} \item{Properties}{Properties defined by the class. This is a list of lists, each corresponding to a \code{GParamSpec}, as created by \code{\link{gParamSpec}}. The list is passed under the name \code{.props} to \code{gClass}. The property values are stored in a private environment. To override that behavior or to be notified (first) upon property changes, simply override the \code{set_property} and \code{get_property} virtuals in the \code{GObject} class. To override the implementation of properties defined by an ancestor class, specify their names in a separate vector passed as the \code{.prop_overrides} parameter. If you override the setting or getting of properties, you can use \code{assignProp} or \code{getProp} to conveniently directly assign or get the value of a property to or from the low-level data structure, respectively. These functions differ from the normal property accessor mechanism in that they bypass the property system, thus avoiding recursion. They should only be used when overriding property handling.} \item{Initializer}{Upon instance creation, the function named \code{.initialize} (in the parameters passed to \code{gClass}) will be called with the instance as the only argument.} \item{New members}{It is possible to define new public, protected, and private fields and methods inside an R class, by passing them to \code{gClass} within lists named \code{.public}, \code{.protected}, or \code{.private}, respectively. The encapsulation works much the same as Java. Any protected and public functions may be overriden in a class derived from the defining class. All public fields are immutable. All function bindings are locked except for private ones. This means private functions can be replaced.} } The above may seem complicated, and it is. Please see the alphaSliderClass for an example. Also note that the \code{local} function is convenient for defining static namespaces on the fly. For calling parent virtuals, use \code{parentHandler}. \code{assignProp} and \code{getProp} are low-level functions; they should not be used in place of the conventional \code{\link{GObject}} property mechanism, except in the case mentioned above. \code{registerVirtuals} and \code{unregisterVirtuals} are meant for use by packages that bind C GObject classes to R using the RGtk2 system. An example of such a package is rggobi. } \note{ This functionality is not for casual users. If you don't know what you're doing you will break things. Otherwise, have fun. } \value{ For \code{gClass}, the \code{\link{GType}} of the new class. For \code{getProp}, the value of the property. } \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkDialogRun.Rd0000644000176000001440000000410112362217677014700 0ustar ripleyusers\alias{gtkDialogRun} \name{gtkDialogRun} \title{gtkDialogRun} \description{Blocks in a recursive main loop until the \code{dialog} either emits the \code{\link{gtkDialogResponse}} signal, or is destroyed. If the dialog is destroyed during the call to \code{\link{gtkDialogRun}}, \code{\link{gtkDialogRun}} returns \verb{GTK_RESPONSE_NONE}. Otherwise, it returns the response ID from the ::response signal emission.} \usage{gtkDialogRun(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkDialog}}}} \details{Before entering the recursive main loop, \code{\link{gtkDialogRun}} calls \code{\link{gtkWidgetShow}} on the dialog for you. Note that you still need to show any children of the dialog yourself. During \code{\link{gtkDialogRun}}, the default behavior of \verb{"delete-event"} is disabled; if the dialog receives ::delete_event, it will not be destroyed as windows usually are, and \code{\link{gtkDialogRun}} will return \verb{GTK_RESPONSE_DELETE_EVENT}. Also, during \code{\link{gtkDialogRun}} the dialog will be modal. You can force \code{\link{gtkDialogRun}} to return at any time by calling \code{\link{gtkDialogResponse}} to emit the ::response signal. Destroying the dialog during \code{\link{gtkDialogRun}} is a very bad idea, because your post-run code won't know whether the dialog was destroyed or not. After \code{\link{gtkDialogRun}} returns, you are responsible for hiding or destroying the dialog if you wish to do so. Typical usage of this function might be: \preformatted{ result <- dialog$run() if (result == GtkResponseType["accept"]) do_application_specific_something() else do_nothing_since_dialog_was_cancelled() dialog$destroy() } Note that even though the recursive main loop gives the effect of a modal dialog (it prevents the user from interacting with other windows in the same window group while the dialog is run), callbacks such as timeouts, IO channel watches, DND drops, etc, \emph{will} be triggered during a \code{\link{gtkDialogRun}} call.} \value{[integer] response ID} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontGetMetrics.Rd0000644000176000001440000000173012362217677016235 0ustar ripleyusers\alias{pangoFontGetMetrics} \name{pangoFontGetMetrics} \title{pangoFontGetMetrics} \description{Gets overall metric information for a font. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.} \usage{pangoFontGetMetrics(object, language = NULL)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} \item{\verb{language}}{[\code{\link{PangoLanguage}}] language tag used to determine which script to get the metrics for, or \code{NULL} to indicate to get the metrics for the entire font.} } \details{If \code{font} is \code{NULL}, this function gracefully sets some sane values in the output variables and returns. } \value{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkShow.Rd0000644000176000001440000000232711766145227013742 0ustar ripleyusers\name{gtkShow} \alias{gtkShow} \title{Show/realize one or more Widgets} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This causes each widget given in the call to be realized or actually displayed } \usage{ gtkShow(..., all = T) } \arguments{ \item{\dots}{any collection of widgets that are to be realized. These are processed in the order they are given.} \item{all}{a logical value indicating whether to show the particular widget (\code{FALSE}), or both it and all of the sub-widgets which it contains (\code{TRUE}). This is the difference between a call to \code{gtk_widget_show} and \code{gtk_widget_show_all} in the lower-level Gtk interface. } } \details{ This calls \code{gtk_widget_show} or \code{gtk_widget_show_all} for each widget. } \value{ An integer giving the number of widgets that were realized in the call. } \references{ \url{http://www.gtk.org} \url{http://www.omegahat.org/RGtk} } \author{Duncan Temple Lang} \seealso{ \code{\link{gtkWidgetShow}} } \examples{ if (gtkInit()) { w <- gtkWindow(show = FALSE) b <- gtkButton("Hit me") # automatically shown in the creation. w$add(b) gtkShow(w) } } \keyword{interface} \keyword{internal} RGtk2/man/gdkWindowEnsureNative.Rd0000644000176000001440000000120512362217677016576 0ustar ripleyusers\alias{gdkWindowEnsureNative} \name{gdkWindowEnsureNative} \title{gdkWindowEnsureNative} \description{Tries to ensure that there is a window-system native window for this GdkWindow. This may fail in some situations, returning \code{FALSE}.} \usage{gdkWindowEnsureNative(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Offscreen window and children of them can never have native windows. Some backends may not support native child windows. Since 2.18} \value{[logical] \code{TRUE} if the window has a native window, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionUnselectIter.Rd0000644000176000001440000000064212362217677020116 0ustar ripleyusers\alias{gtkTreeSelectionUnselectIter} \name{gtkTreeSelectionUnselectIter} \title{gtkTreeSelectionUnselectIter} \description{Unselects the specified iterator.} \usage{gtkTreeSelectionUnselectIter(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}} to be unselected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeUint64.Rd0000644000176000001440000000110712362217677017511 0ustar ripleyusers\alias{gFileInfoGetAttributeUint64} \name{gFileInfoGetAttributeUint64} \title{gFileInfoGetAttributeUint64} \description{Gets a unsigned 64-bit integer contained within the attribute. If the attribute does not contain an unsigned 64-bit integer, or is invalid, 0 will be returned.} \usage{gFileInfoGetAttributeUint64(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[numeric] a unsigned 64-bit integer from the attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapFreeColors.Rd0000644000176000001440000000055212362217677016542 0ustar ripleyusers\alias{gdkColormapFreeColors} \name{gdkColormapFreeColors} \title{gdkColormapFreeColors} \description{Frees previously allocated colors.} \usage{gdkColormapFreeColors(object, colors)} \arguments{ \item{\verb{object}}{a \code{\link{GdkColormap}}.} \item{\verb{colors}}{the colors to free.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterConvertChildPathToPath.Rd0000644000176000001440000000160312362217677022310 0ustar ripleyusers\alias{gtkTreeModelFilterConvertChildPathToPath} \name{gtkTreeModelFilterConvertChildPathToPath} \title{gtkTreeModelFilterConvertChildPathToPath} \description{Converts \code{child.path} to a path relative to \code{filter}. That is, \code{child.path} points to a path in the child model. The rerturned path will point to the same row in the filtered model. If \code{child.path} isn't a valid path on the child model or points to a row which is not visible in \code{filter}, then \code{NULL} is returned.} \usage{gtkTreeModelFilterConvertChildPathToPath(object, child.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{child.path}}{A \code{\link{GtkTreePath}} to convert.} } \details{Since 2.4} \value{[\code{\link{GtkTreePath}}] A newly allocated \code{\link{GtkTreePath}}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetDecorations.Rd0000644000176000001440000000226512362217677017123 0ustar ripleyusers\alias{gdkWindowSetDecorations} \name{gdkWindowSetDecorations} \title{gdkWindowSetDecorations} \description{"Decorations" are the features the window manager adds to a toplevel \code{\link{GdkWindow}}. This function sets the traditional Motif window manager hints that tell the window manager which decorations you would like your window to have. Usually you should use \code{\link{gtkWindowSetDecorated}} on a \code{\link{GtkWindow}} instead of using the GDK function directly.} \usage{gdkWindowSetDecorations(object, decorations)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{decorations}}{decoration hint mask} } \details{The \code{decorations} argument is the logical OR of the fields in the \code{\link{GdkWMDecoration}} enumeration. If \verb{GDK_DECOR_ALL} is included in the mask, the other bits indicate which decorations should be turned off. If \verb{GDK_DECOR_ALL} is not included, then the other bits indicate which decorations should be turned on. Most window managers honor a decorations hint of 0 to disable all decorations, but very few honor all possible combinations of bits.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderGetTypeFromName.Rd0000644000176000001440000000126212362217677017336 0ustar ripleyusers\alias{gtkBuilderGetTypeFromName} \name{gtkBuilderGetTypeFromName} \title{gtkBuilderGetTypeFromName} \description{Looks up a type by name, using the virtual function that \code{\link{GtkBuilder}} has for that purpose. This is mainly used when implementing the \code{\link{GtkBuildable}} interface on a type.} \usage{gtkBuilderGetTypeFromName(object, type.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{type.name}}{type name to lookup} } \details{Since 2.12} \value{[\code{\link{GType}}] the \code{\link{GType}} found for \code{type.name} or \verb{G_TYPE_INVALID} if no type was found} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppLaunchContextNew.Rd0000644000176000001440000000066312362217677016360 0ustar ripleyusers\alias{gAppLaunchContextNew} \name{gAppLaunchContextNew} \title{gAppLaunchContextNew} \description{Creates a new application launch context. This is not normally used, instead you instantiate a subclass of this, such as \code{\link{GdkAppLaunchContext}}.} \usage{gAppLaunchContextNew()} \value{[\code{\link{GAppLaunchContext}}] a \code{\link{GAppLaunchContext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnPackEnd.Rd0000644000176000001440000000130512362217677017155 0ustar ripleyusers\alias{gtkTreeViewColumnPackEnd} \name{gtkTreeViewColumnPackEnd} \title{gtkTreeViewColumnPackEnd} \description{Adds the \code{cell} to end of the column. If \code{expand} is \code{FALSE}, then the \code{cell} is allocated no more space than it needs. Any unused space is divided evenly between cells for which \code{expand} is \code{TRUE}.} \usage{gtkTreeViewColumnPackEnd(object, cell, expand = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{cell}}{The \code{\link{GtkCellRenderer}}.} \item{\verb{expand}}{\code{TRUE} if \code{cell} is to be given extra space allocated to \code{tree.column}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFindByRowData.Rd0000644000176000001440000000122312362217677016376 0ustar ripleyusers\alias{gtkCTreeFindByRowData} \name{gtkCTreeFindByRowData} \title{gtkCTreeFindByRowData} \description{ Finds a node in the tree under \code{node} that has the given user data pointer. \strong{WARNING: \code{gtk_ctree_find_by_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFindByRowData(object, node, data = NULL)} \arguments{ \item{\verb{object}}{The node, or \code{NULL} if not found.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \value{[\code{\link{GtkCTreeNode}}] The node, or \code{NULL} if not found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextTagTable.Rd0000644000176000001440000000375012362217677015315 0ustar ripleyusers\alias{GtkTextTagTable} \alias{gtkTextTagTable} \alias{GtkTextTagTableForeach} \name{GtkTextTagTable} \title{GtkTextTagTable} \description{Collection of tags that can be used together} \section{Methods and Functions}{ \code{\link{gtkTextTagTableNew}()}\cr \code{\link{gtkTextTagTableAdd}(object, tag)}\cr \code{\link{gtkTextTagTableRemove}(object, tag)}\cr \code{\link{gtkTextTagTableLookup}(object, name)}\cr \code{\link{gtkTextTagTableForeach}(object, func, data = NULL)}\cr \code{\link{gtkTextTagTableGetSize}(object)}\cr \code{gtkTextTagTable()} } \section{Hierarchy}{\preformatted{GObject +----GtkTextTagTable}} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. } \section{Structures}{\describe{\item{\verb{GtkTextTagTable}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkTextTagTable} is the equivalent of \code{\link{gtkTextTagTableNew}}.} \section{User Functions}{\describe{\item{\code{GtkTextTagTableForeach()}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{tag-added(texttagtable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{texttagtable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tag-changed(texttagtable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{texttagtable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tag-removed(texttagtable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{texttagtable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTextTagTable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceGetState.Rd0000644000176000001440000000110412362217677015634 0ustar ripleyusers\alias{gdkDeviceGetState} \name{gdkDeviceGetState} \title{gdkDeviceGetState} \description{Gets the current state of a device.} \usage{gdkDeviceGetState(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}.} \item{\verb{window}}{a \code{\link{GdkWindow}}.} } \value{ A list containing the following elements: \item{\verb{axes}}{a list of doubles to store the values of the axes of \code{device} in, or \code{NULL}.} \item{\verb{mask}}{location to store the modifiers, or \code{NULL}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawBox.Rd0000644000176000001440000000144312362217677014370 0ustar ripleyusers\alias{gtkDrawBox} \name{gtkDrawBox} \title{gtkDrawBox} \description{ Draws a box on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_box} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintBox}} instead.} } \usage{gtkDrawBox(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the box} \item{\verb{y}}{y origin of the box} \item{\verb{width}}{the width of the box} \item{\verb{height}}{the height of the box} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetWidth.Rd0000644000176000001440000000046212362217677015677 0ustar ripleyusers\alias{gdkPixbufGetWidth} \name{gdkPixbufGetWidth} \title{gdkPixbufGetWidth} \description{Queries the width of a pixbuf.} \usage{gdkPixbufGetWidth(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[integer] Width in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetActive.Rd0000644000176000001440000000133312362217677016324 0ustar ripleyusers\alias{gtkComboBoxGetActive} \name{gtkComboBoxGetActive} \title{gtkComboBoxGetActive} \description{Returns the index of the currently active item, or -1 if there's no active item. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this function returns \code{gtk_tree_path_get_indices (path)[0]}, where \code{path} is the \code{\link{GtkTreePath}} of the active item.} \usage{gtkComboBoxGetActive(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.4} \value{[integer] An integer which is the index of the currently active item, or -1 if there's no active item.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcPropertyParseColor.Rd0000644000176000001440000000175512362217677017133 0ustar ripleyusers\alias{gtkRcPropertyParseColor} \name{gtkRcPropertyParseColor} \title{gtkRcPropertyParseColor} \description{A \verb{GtkRcPropertyParser} for use with \code{\link{gtkSettingsInstallPropertyParser}} or \code{\link{gtkWidgetClassInstallStylePropertyParser}} which parses a color given either by its name or in the form \code{{ red, green, blue }} where \code{red}, \code{green} and \code{blue} are integers between 0 and 65535 or floating-point numbers between 0 and 1.} \usage{gtkRcPropertyParseColor(pspec, gstring)} \arguments{ \item{\verb{pspec}}{a \code{\link{GParamSpec}}} \item{\verb{gstring}}{the \verb{character} to be parsed} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{gstring} could be parsed and \code{property.value} has been set to the resulting \code{\link{GdkColor}}.} \item{\verb{property.value}}{a \verb{R object} which must hold \code{\link{GdkColor}} values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetType.Rd0000644000176000001440000000104312362217677016652 0ustar ripleyusers\alias{cairoScaledFontGetType} \name{cairoScaledFontGetType} \title{cairoScaledFontGetType} \description{This function returns the type of the backend used to create a scaled font. See \code{\link{CairoFontType}} for available types.} \usage{cairoScaledFontGetType(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.2} \value{[\code{\link{CairoFontType}}] The type of \code{scaled.font}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetLimit.Rd0000644000176000001440000000100412362217677017231 0ustar ripleyusers\alias{gtkRecentChooserSetLimit} \name{gtkRecentChooserSetLimit} \title{gtkRecentChooserSetLimit} \description{Sets the number of items that should be returned by \code{\link{gtkRecentChooserGetItems}} and \code{\link{gtkRecentChooserGetUris}}.} \usage{gtkRecentChooserSetLimit(object, limit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{limit}}{a positive integer, or -1 for all items} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetWidth.Rd0000644000176000001440000000056612362217677015666 0ustar ripleyusers\alias{gdkScreenGetWidth} \name{gdkScreenGetWidth} \title{gdkScreenGetWidth} \description{Gets the width of \code{screen} in pixels} \usage{gdkScreenGetWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] the width of \code{screen} in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextListFamilies.Rd0000644000176000001440000000125512362217677017274 0ustar ripleyusers\alias{pangoContextListFamilies} \name{pangoContextListFamilies} \title{pangoContextListFamilies} \description{List all families for a context.} \usage{pangoContextListFamilies(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \value{ A list containing the following elements: \item{\verb{families}}{[\code{\link{PangoFontFamily}}] location to store a pointer to a list of \code{\link{PangoFontFamily}} *. This list should be freed with \code{gFree()}.} \item{\verb{n.families}}{[integer] location to store the number of elements in \code{descs}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternCreateRgb.Rd0000644000176000001440000000170112362217677016523 0ustar ripleyusers\alias{cairoPatternCreateRgb} \name{cairoPatternCreateRgb} \title{cairoPatternCreateRgb} \description{Creates a new \code{\link{CairoPattern}} corresponding to an opaque color. The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.} \usage{cairoPatternCreateRgb(red, green, blue)} \arguments{ \item{\verb{red}}{[numeric] red component of the color} \item{\verb{green}}{[numeric] green component of the color} \item{\verb{blue}}{[numeric] blue component of the color} } \value{[\code{\link{CairoPattern}}] the newly created \code{\link{CairoPattern}} if successful, or an error pattern in case of no memory. This function will always return a valid pointer, but if an error occurred the pattern status will be set to an error. To inspect the status of a pattern use \code{\link{cairoPatternStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetFocusVadjustment.Rd0000644000176000001440000000107012362217677020625 0ustar ripleyusers\alias{gtkContainerGetFocusVadjustment} \name{gtkContainerGetFocusVadjustment} \title{gtkContainerGetFocusVadjustment} \description{Retrieves the vertical focus adjustment for the container. See \code{\link{gtkContainerSetFocusVadjustment}}.} \usage{gtkContainerGetFocusVadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{[\code{\link{GtkAdjustment}}] the vertical focus adjustment, or \code{NULL} if none has been set. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetActivatesDefault.Rd0000644000176000001440000000157612362217677017757 0ustar ripleyusers\alias{gtkEntrySetActivatesDefault} \name{gtkEntrySetActivatesDefault} \title{gtkEntrySetActivatesDefault} \description{If \code{setting} is \code{TRUE}, pressing Enter in the \code{entry} will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons.} \usage{gtkEntrySetActivatesDefault(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{setting}}{\code{TRUE} to activate window's default widget on Enter keypress} } \details{(For experts: if \code{setting} is \code{TRUE}, the entry calls \code{\link{gtkWindowActivateDefault}} on the window containing the entry, in the default handler for the \code{\link{gtkWidgetActivate}} signal.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetShowArrow.Rd0000644000176000001440000000071012362217677016734 0ustar ripleyusers\alias{gtkToolbarGetShowArrow} \name{gtkToolbarGetShowArrow} \title{gtkToolbarGetShowArrow} \description{Returns whether the toolbar has an overflow menu. See \code{\link{gtkToolbarSetShowArrow}}.} \usage{gtkToolbarGetShowArrow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the toolbar has an overflow menu.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetHeight.Rd0000644000176000001440000000057412362217677016016 0ustar ripleyusers\alias{gdkScreenGetHeight} \name{gdkScreenGetHeight} \title{gdkScreenGetHeight} \description{Gets the height of \code{screen} in pixels} \usage{gdkScreenGetHeight(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] the height of \code{screen} in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkQueryVisualTypes.Rd0000644000176000001440000000125412362217677016320 0ustar ripleyusers\alias{gdkQueryVisualTypes} \name{gdkQueryVisualTypes} \title{gdkQueryVisualTypes} \description{This function returns the available visual types for the default screen. It's equivalent to listing the visuals (\code{\link{gdkListVisuals}}) and then looking at the type field in each visual, removing duplicates.} \usage{gdkQueryVisualTypes()} \details{The list returned by this function should not be freed.} \value{ A list containing the following elements: \item{\verb{visual.types}}{return location for the available visual types} \item{\verb{count}}{return location for the number of available visual types} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointLookup.Rd0000644000176000001440000000073412362217677017135 0ustar ripleyusers\alias{gIoExtensionPointLookup} \name{gIoExtensionPointLookup} \title{gIoExtensionPointLookup} \description{Looks up an existing extension point.} \usage{gIoExtensionPointLookup(name)} \arguments{\item{\verb{name}}{the name of the extension point}} \value{[\code{\link{GIOExtensionPoint}}] the \code{\link{GIOExtensionPoint}}, or \code{NULL} if there is no registered extension point with the given name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeserializeSetCanCreateTags.Rd0000644000176000001440000000272412362217677022325 0ustar ripleyusers\alias{gtkTextBufferDeserializeSetCanCreateTags} \name{gtkTextBufferDeserializeSetCanCreateTags} \title{gtkTextBufferDeserializeSetCanCreateTags} \description{Use this function to allow a rich text deserialization function to create new tags in the receiving buffer. Note that using this function is almost always a bad idea, because the rich text functions you register should know how to map the rich text format they handler to your text buffers set of tags.} \usage{gtkTextBufferDeserializeSetCanCreateTags(object, format, can.create.tags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{format}}{a \code{\link{GdkAtom}} representing a registered rich text format} \item{\verb{can.create.tags}}{whether deserializing this format may create tags} } \details{The ability of creating new (arbitrary!) tags in the receiving buffer is meant for special rich text formats like the internal one that is registered using \code{\link{gtkTextBufferRegisterDeserializeTagset}}, because that format is essentially a dump of the internal structure of the source buffer, including its tag names. You should allow creation of tags only if you know what you are doing, e.g. if you defined a tagset name for your application suite's text buffers and you know that it's fine to receive new tags from these buffers, because you know that your application can handle the newly created tags. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetAllocation.Rd0000644000176000001440000000077312362217677016734 0ustar ripleyusers\alias{gtkWidgetSetAllocation} \name{gtkWidgetSetAllocation} \title{gtkWidgetSetAllocation} \description{Sets the widget's allocation. This should not be used directly, but from within a widget's size_allocate method.} \usage{gtkWidgetSetAllocation(object, allocation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{allocation}}{a pointer to a \code{\link{GtkAllocation}} to copy from} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetWidthChars.Rd0000644000176000001440000000070012362217677016455 0ustar ripleyusers\alias{gtkLabelGetWidthChars} \name{gtkLabelGetWidthChars} \title{gtkLabelGetWidthChars} \description{Retrieves the desired width of \code{label}, in characters. See \code{\link{gtkLabelSetWidthChars}}.} \usage{gtkLabelGetWidthChars(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.6} \value{[integer] the width of the label in characters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetScreen.Rd0000644000176000001440000000066212362217677016720 0ustar ripleyusers\alias{gtkStatusIconGetScreen} \name{gtkStatusIconGetScreen} \title{gtkStatusIconGetScreen} \description{Returns the \code{\link{GdkScreen}} associated with \code{status.icon}.} \usage{gtkStatusIconGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.12} \value{[\code{\link{GdkScreen}}] a \code{\link{GdkScreen}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeExpandRecursive.Rd0000644000176000001440000000074012362217677017053 0ustar ripleyusers\alias{gtkCTreeExpandRecursive} \name{gtkCTreeExpandRecursive} \title{gtkCTreeExpandRecursive} \description{ Expand one node and all nodes underneath. \strong{WARNING: \code{gtk_ctree_expand_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeExpandRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Standard-Enumerations.Rd0000644000176000001440000004300412362217677017305 0ustar ripleyusers\alias{gtk-Standard-Enumerations} \alias{GtkAccelFlags} \alias{GtkAnchorType} \alias{GtkArrowType} \alias{GtkAttachOptions} \alias{GtkButtonBoxStyle} \alias{GtkCornerType} \alias{GtkCurveType} \alias{GtkDeleteType} \alias{GtkDirectionType} \alias{GtkExpanderStyle} \alias{GtkIMPreeditStyle} \alias{GtkIMStatusStyle} \alias{GtkJustification} \alias{GtkMatchType} \alias{GtkMetricType} \alias{GtkMovementStep} \alias{GtkOrientation} \alias{GtkPackType} \alias{GtkPathPriorityType} \alias{GtkPathType} \alias{GtkPolicyType} \alias{GtkPositionType} \alias{GtkPreviewType} \alias{GtkReliefStyle} \alias{GtkResizeMode} \alias{GtkScrollStep} \alias{GtkScrollType} \alias{GtkSelectionMode} \alias{GtkShadowType} \alias{GtkSideType} \alias{GtkStateType} \alias{GtkSubmenuDirection} \alias{GtkSubmenuPlacement} \alias{GtkToolbarStyle} \alias{GtkUpdateType} \alias{GtkVisibility} \alias{GtkWindowPosition} \alias{GtkWindowType} \alias{GtkSortType} \name{gtk-Standard-Enumerations} \title{Standard Enumerations} \description{Public enumerated types used throughout GTK+} \section{Enums and Flags}{\describe{ \item{\verb{GtkAccelFlags}}{ \emph{undocumented } \describe{ \item{\verb{visible}}{\emph{undocumented }} \item{\verb{locked}}{\emph{undocumented }} \item{\verb{mask}}{\emph{undocumented }} } } \item{\verb{GtkAnchorType}}{ \emph{undocumented } \describe{ \item{\verb{center}}{\emph{undocumented }} \item{\verb{north}}{\emph{undocumented }} \item{\verb{north-west}}{\emph{undocumented }} \item{\verb{north-east}}{\emph{undocumented }} \item{\verb{south}}{\emph{undocumented }} \item{\verb{south-west}}{\emph{undocumented }} \item{\verb{south-east}}{\emph{undocumented }} \item{\verb{west}}{\emph{undocumented }} \item{\verb{east}}{\emph{undocumented }} \item{\verb{n}}{\emph{undocumented }} \item{\verb{nw}}{\emph{undocumented }} \item{\verb{ne}}{\emph{undocumented }} \item{\verb{s}}{\emph{undocumented }} \item{\verb{sw}}{\emph{undocumented }} \item{\verb{se}}{\emph{undocumented }} \item{\verb{w}}{\emph{undocumented }} \item{\verb{e}}{\emph{undocumented }} } } \item{\verb{GtkArrowType}}{ Used to indicate the direction in which a \code{\link{GtkArrow}} should point. \describe{ \item{\verb{up}}{Represents an upward pointing arrow.} \item{\verb{down}}{Represents a downward pointing arrow.} \item{\verb{left}}{Represents a left pointing arrow.} \item{\verb{right}}{Represents a right pointing arrow.} } } \item{\verb{GtkAttachOptions}}{ Denotes the expansion properties that a widget will have when it (or its parent) is resized. \describe{ \item{\verb{expand}}{the widget should expand to take up any extra space in its container that has been allocated.} \item{\verb{shrink}}{the widget should shrink as and when possible.} \item{\verb{fill}}{the widget should fill the space allocated to it.} } } \item{\verb{GtkButtonBoxStyle}}{ Used to dictate the style that a \code{\link{GtkButtonBox}} uses to layout the buttons it contains. (See also: \code{\link{GtkVButtonBox}} and \code{\link{GtkHButtonBox}}). \describe{ \item{\verb{default-style}}{Default packing.} \item{\verb{spread}}{Buttons are evenly spread across the box.} \item{\verb{edge}}{Buttons are placed at the edges of the box.} \item{\verb{start}}{Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).} \item{\verb{end}}{Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).} } } \item{\verb{GtkCornerType}}{ Specifies which corner a child widget should be placed in when packed into a \code{\link{GtkScrolledWindow}}. This is effectively the opposite of where the scroll bars are placed. \describe{ \item{\verb{top-left}}{Place the scrollbars on the right and bottom of the widget (default behaviour).} \item{\verb{bottom-left}}{Place the scrollbars on the top and right of the widget.} \item{\verb{top-right}}{Place the scrollbars on the left and bottom of the widget.} \item{\verb{bottom-right}}{Place the scrollbars on the top and left of the widget.} } } \item{\verb{GtkCurveType}}{ \strong{WARNING: \code{GtkCurveType} is deprecated and should not be used in newly-written code.} \emph{undocumented } \describe{ \item{\verb{linear}}{\emph{undocumented }} \item{\verb{spline}}{\emph{undocumented }} \item{\verb{free}}{\emph{undocumented }} } } \item{\verb{GtkDeleteType}}{ \emph{undocumented } \describe{ \item{\verb{chars}}{\emph{undocumented }} \item{\verb{word-ends}}{\emph{undocumented }} \item{\verb{words}}{\emph{undocumented }} \item{\verb{display-lines}}{\emph{undocumented }} \item{\verb{display-line-ends}}{\emph{undocumented }} \item{\verb{paragraph-ends}}{\emph{undocumented }} \item{\verb{paragraphs}}{\emph{undocumented }} \item{\verb{whitespace}}{\emph{undocumented }} } } \item{\verb{GtkDirectionType}}{ \emph{undocumented } \describe{ \item{\verb{tab-forward}}{\emph{undocumented }} \item{\verb{tab-backward}}{\emph{undocumented }} \item{\verb{up}}{\emph{undocumented }} \item{\verb{down}}{\emph{undocumented }} \item{\verb{left}}{\emph{undocumented }} \item{\verb{right}}{\emph{undocumented }} } } \item{\verb{GtkExpanderStyle}}{ Used to specify the style of the expanders drawn by a \code{\link{GtkTreeView}}. \describe{ \item{\verb{collapsed}}{The style used for a collapsed subtree.} \item{\verb{semi-collapsed}}{Intermediate style used during animation.} \item{\verb{semi-expanded}}{Intermediate style used during animation.} \item{\verb{expanded}}{The style used for an expanded subtree.} } } \item{\verb{GtkIMPreeditStyle}}{ \emph{undocumented } \describe{ \item{\verb{nothing}}{\emph{undocumented }} \item{\verb{callback}}{\emph{undocumented }} \item{\verb{none}}{\emph{undocumented }} } } \item{\verb{GtkIMStatusStyle}}{ \emph{undocumented } \describe{ \item{\verb{nothing}}{\emph{undocumented }} \item{\verb{callback}}{\emph{undocumented }} } } \item{\verb{GtkJustification}}{ Used for justifying the text inside a \code{\link{GtkLabel}} widget. (See also \code{\link{GtkAlignment}}). \describe{ \item{\verb{left}}{The text is placed at the left edge of the label.} \item{\verb{right}}{The text is placed at the right edge of the label.} \item{\verb{center}}{The text is placed in the center of the label.} \item{\verb{fill}}{The text is placed is distributed across the label.} } } \item{\verb{GtkMatchType}}{ \strong{WARNING: \code{GtkMatchType} is deprecated and should not be used in newly-written code.} \emph{undocumented } \describe{ \item{\verb{all}}{\emph{undocumented }} \item{\verb{all-tail}}{\emph{undocumented }} \item{\verb{head}}{\emph{undocumented }} \item{\verb{tail}}{\emph{undocumented }} \item{\verb{exact}}{\emph{undocumented }} \item{\verb{last}}{\emph{undocumented }} } } \item{\verb{GtkMetricType}}{ Used to indicate which metric is used by a \code{\link{GtkRuler}}. \describe{ \item{\verb{pixels}}{Pixels.} \item{\verb{inches}}{Inches.} \item{\verb{centimeters}}{Centimeters.} } } \item{\verb{GtkMovementStep}}{ \emph{undocumented } \describe{ \item{\verb{logical-positions}}{\emph{undocumented }} \item{\verb{visual-positions}}{\emph{undocumented }} \item{\verb{words}}{\emph{undocumented }} \item{\verb{display-lines}}{\emph{undocumented }} \item{\verb{display-line-ends}}{\emph{undocumented }} \item{\verb{paragraphs}}{\emph{undocumented }} \item{\verb{paragraph-ends}}{\emph{undocumented }} \item{\verb{pages}}{\emph{undocumented }} \item{\verb{buffer-ends}}{\emph{undocumented }} \item{\verb{horizontal-pages}}{\emph{undocumented }} } } \item{\verb{GtkOrientation}}{ Represents the orientation of widgets which can be switched between horizontal and vertical orientation on the fly, like \code{\link{GtkToolbar}}. \describe{ \item{\verb{horizontal}}{The widget is in horizontal orientation.} \item{\verb{vertical}}{The widget is in vertical orientation.} } } \item{\verb{GtkPackType}}{ Represents the packing location \code{\link{GtkBox}} children. (See: \code{\link{GtkVBox}}, \code{\link{GtkHBox}}, and \code{\link{GtkButtonBox}}). \describe{ \item{\verb{start}}{The child is packed into the start of the box} \item{\verb{end}}{The child is packed into the end of the box} } } \item{\verb{GtkPathPriorityType}}{ \emph{undocumented } \describe{ \item{\verb{lowest}}{\emph{undocumented }} \item{\verb{gtk}}{\emph{undocumented }} \item{\verb{application}}{\emph{undocumented }} \item{\verb{theme}}{\emph{undocumented }} \item{\verb{rc}}{\emph{undocumented }} \item{\verb{highest}}{\emph{undocumented }} } } \item{\verb{GtkPathType}}{ \emph{undocumented } \describe{ \item{\verb{widget}}{\emph{undocumented }} \item{\verb{widget-class}}{\emph{undocumented }} \item{\verb{class}}{\emph{undocumented }} } } \item{\verb{GtkPolicyType}}{ Determines when a scroll bar will be visible. \describe{ \item{\verb{always}}{The scrollbar is always visible.} \item{\verb{automatic}}{The scrollbar will appear and disappear as necessary. For example, when all of a \code{\link{GtkCList}} can not be seen.} \item{\verb{never}}{The scrollbar will never appear.} } } \item{\verb{GtkPositionType}}{ Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a \code{\link{GtkNotebook}}, the handle of a \code{\link{GtkHandleBox}} or the label of a \code{\link{GtkScale}}. \describe{ \item{\verb{left}}{The feature is at the left edge.} \item{\verb{right}}{The feature is at the right edge.} \item{\verb{top}}{The feature is at the top edge.} \item{\verb{bottom}}{The feature is at the bottom edge.} } } \item{\verb{GtkPreviewType}}{ \strong{WARNING: \code{GtkPreviewType} is deprecated and should not be used in newly-written code.} An enumeration which describes whether a preview contains grayscale or red-green-blue data. \describe{ \item{\verb{color}}{the preview contains red-green-blue data.} \item{\verb{grayscale}}{The preview contains grayscale data.} } } \item{\verb{GtkReliefStyle}}{ Indicated the relief to be drawn around a \code{\link{GtkButton}}. \describe{ \item{\verb{normal}}{Draw a normal relief.} \item{\verb{half}}{A half relief.} \item{\verb{none}}{No relief.} } } \item{\verb{GtkResizeMode}}{ \emph{undocumented } \describe{ \item{\verb{parent}}{\emph{undocumented }} \item{\verb{queue}}{\emph{undocumented }} \item{\verb{immediate}}{Deprecated.} } } \item{\verb{GtkScrollStep}}{ \emph{undocumented } \describe{ \item{\verb{steps}}{\emph{undocumented }} \item{\verb{pages}}{\emph{undocumented }} \item{\verb{ends}}{\emph{undocumented }} \item{\verb{horizontal-steps}}{\emph{undocumented }} \item{\verb{horizontal-pages}}{\emph{undocumented }} \item{\verb{horizontal-ends}}{\emph{undocumented }} } } \item{\verb{GtkScrollType}}{ \emph{undocumented } \describe{ \item{\verb{none}}{\emph{undocumented }} \item{\verb{jump}}{\emph{undocumented }} \item{\verb{step-backward}}{\emph{undocumented }} \item{\verb{step-forward}}{\emph{undocumented }} \item{\verb{page-backward}}{\emph{undocumented }} \item{\verb{page-forward}}{\emph{undocumented }} \item{\verb{step-up}}{\emph{undocumented }} \item{\verb{step-down}}{\emph{undocumented }} \item{\verb{page-up}}{\emph{undocumented }} \item{\verb{page-down}}{\emph{undocumented }} \item{\verb{step-left}}{\emph{undocumented }} \item{\verb{step-right}}{\emph{undocumented }} \item{\verb{page-left}}{\emph{undocumented }} \item{\verb{page-right}}{\emph{undocumented }} \item{\verb{start}}{\emph{undocumented }} \item{\verb{end}}{\emph{undocumented }} } } \item{\verb{GtkSelectionMode}}{ Used to control what selections users are allowed to make. \describe{ \item{\verb{none}}{No selection is possible.} \item{\verb{single}}{Zero or one element may be selected.} \item{\verb{browse}}{Exactly one element is selected. In some circumstances, such as initially or during a search operation, it's possible for no element to be selected with \code{GTK_SELECTION_BROWSE}. What is really enforced is that the user can't deselect a currently selected element except by selecting another element.} \item{\verb{multiple}}{Any number of elements may be selected. Clicks toggle the state of an item. Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.} \item{\verb{extended}}{Deprecated, behaves identical to \code{GTK_SELECTION_MULTIPLE}.} } } \item{\verb{GtkShadowType}}{ Used to change the appearance of an outline typically provided by a \code{\link{GtkFrame}}. \describe{ \item{\verb{none}}{No outline.} \item{\verb{in}}{The outline is bevelled inwards.} \item{\verb{out}}{The outline is bevelled outwards like a button.} \item{\verb{etched-in}}{The outline has a sunken 3d appearance.} \item{\verb{etched-out}}{The outline has a raised 3d appearance} } } \item{\verb{GtkSideType}}{ \strong{WARNING: \code{GtkSideType} is deprecated and should not be used in newly-written code.} \emph{undocumented } \describe{ \item{\verb{top}}{\emph{undocumented }} \item{\verb{bottom}}{\emph{undocumented }} \item{\verb{left}}{\emph{undocumented }} \item{\verb{right}}{\emph{undocumented }} } } \item{\verb{GtkStateType}}{ This type indicates the current state of a widget; the state determines how the widget is drawn. The \code{\link{GtkStateType}} enumeration is also used to identify different colors in a \code{\link{GtkStyle}} for drawing, so states can be used for subparts of a widget as well as entire widgets. \describe{ \item{\verb{normal}}{State during normal operation.} \item{\verb{active}}{State of a currently active widget, such as a depressed button.} \item{\verb{prelight}}{State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.} \item{\verb{selected}}{State of a selected item, such the selected row in a list.} \item{\verb{insensitive}}{State indicating that the widget is unresponsive to user actions.} } } \item{\verb{GtkSubmenuDirection}}{ \strong{WARNING: \code{GtkSubmenuDirection} is deprecated and should not be used in newly-written code.} Indicates the direction a sub-menu will appear. \describe{ \item{\verb{left}}{A sub-menu will appear to the left of the current menu.} \item{\verb{right}}{A sub-menu will appear to the right of the current menu.} } } \item{\verb{GtkSubmenuPlacement}}{ \strong{WARNING: \code{GtkSubmenuPlacement} is deprecated and should not be used in newly-written code.} \emph{undocumented } \describe{ \item{\verb{top-bottom}}{\emph{undocumented }} \item{\verb{left-right}}{\emph{undocumented }} } } \item{\verb{GtkToolbarStyle}}{ Used to customize the appearance of a \code{\link{GtkToolbar}}. Note that setting the toolbar style overrides the user's preferences for the default toolbar style. Note that if the button has only a label set and GTK_TOOLBAR_ICONS is used, the label will be visible, and vice versa. \describe{ \item{\verb{icons}}{Buttons display only icons in the toolbar.} \item{\verb{text}}{Buttons display only text labels in the toolbar.} \item{\verb{both}}{Buttons display text and icons in the toolbar.} \item{\verb{both-horiz}}{Buttons display icons and text alongside each other, rather than vertically stacked} } } \item{\verb{GtkUpdateType}}{ Used by \code{\link{GtkRange}} to control the policy for notifying value changes. \describe{ \item{\verb{continuous}}{Notify updates whenever the value changed} \item{\verb{discontinuous}}{Notify updates when the mouse button has been released} \item{\verb{delayed}}{Space out updates with a small timeout} } } \item{\verb{GtkVisibility}}{ Used by \code{\link{GtkCList}} and \code{\link{GtkCTree}} to indicate whether a row is visible. \describe{ \item{\verb{none}}{The row is not visible.} \item{\verb{partial}}{The row is partially visible.} \item{\verb{full}}{The row is fully visible.} } } \item{\verb{GtkWindowPosition}}{ Window placement can be influenced using this enumeration. Note that using \verb{GTK_WIN_POS_CENTER_ALWAYS} is almost always a bad idea. It won't necessarily work well with all window managers or on all windowing systems. \describe{ \item{\verb{none}}{No influence is made on placement.} \item{\verb{center}}{Windows should be placed in the center of the screen.} \item{\verb{mouse}}{Windows should be placed at the current mouse position.} \item{\verb{center-always}}{Keep window centered as it changes size, etc.} \item{\verb{center-on-parent}}{Center the window on its transient parent (see \code{\link{gtkWindowSetTransientFor}}).} } } \item{\verb{GtkWindowType}}{ A \code{\link{GtkWindow}} can be one of these types. Most things you'd consider a "window" should have type \verb{GTK_WINDOW_TOPLEVEL}; windows with this type are managed by the window manager and have a frame by default (call \code{\link{gtkWindowSetDecorated}} to toggle the frame). Windows with type \verb{GTK_WINDOW_POPUP} are ignored by the window manager; window manager keybindings won't work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). \verb{GTK_WINDOW_POPUP} is used to implement widgets such as \code{\link{GtkMenu}} or tooltips that you normally don't think of as windows per se. Nearly all windows should be \verb{GTK_WINDOW_TOPLEVEL}. In particular, do not use \verb{GTK_WINDOW_POPUP} just to turn off the window borders; use \code{\link{gtkWindowSetDecorated}} for that. \describe{ \item{\verb{toplevel}}{A regular window, such as a dialog.} \item{\verb{popup}}{A special window such as a tooltip.} } } \item{\verb{GtkSortType}}{ Determines the direction of a sort. \describe{ \item{\verb{ascending}}{Sorting is in ascending order.} \item{\verb{descending}}{Sorting is in descending order.} } } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Standard-Enumerations.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetCanFocus.Rd0000644000176000001440000000101512362217677016336 0ustar ripleyusers\alias{gtkWidgetSetCanFocus} \name{gtkWidgetSetCanFocus} \title{gtkWidgetSetCanFocus} \description{Specifies whether \code{widget} can own the input focus. See \code{\link{gtkWidgetGrabFocus}} for actually setting the input focus on a widget.} \usage{gtkWidgetSetCanFocus(object, can.focus)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{can.focus}}{whether or not \code{widget} can own the input focus.} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetChildren.Rd0000644000176000001440000000110412362217677017047 0ustar ripleyusers\alias{gtkContainerGetChildren} \name{gtkContainerGetChildren} \title{gtkContainerGetChildren} \description{Returns the container's non-internal children. See \code{\link{gtkContainerForall}} for details on what constitutes an "internal" child.} \usage{gtkContainerGetChildren(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{[list] a newly-allocated list of the container's non-internal children. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorWhite.Rd0000644000176000001440000000115612362217677015062 0ustar ripleyusers\alias{gdkColorWhite} \name{gdkColorWhite} \title{gdkColorWhite} \description{ Returns the white color for a given colormap. The resulting value has already allocated been allocated. \strong{WARNING: \code{gdk_color_white} is deprecated and should not be used in newly-written code.} } \usage{gdkColorWhite(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkColormap}}.}} \value{ A list containing the following elements: \item{retval}{[integer] \code{TRUE} if the allocation succeeded.} \item{\verb{color}}{the location to store the color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMountMountable.Rd0000644000176000001440000000246612362217677016242 0ustar ripleyusers\alias{gFileMountMountable} \name{gFileMountMountable} \title{gFileMountMountable} \description{Mounts a file of type G_FILE_TYPE_MOUNTABLE. Using \code{mount.operation}, you can request callbacks when, for instance, passwords are needed during authentication.} \usage{gFileMountMountable(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}}, or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileMountMountableFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetFlags.Rd0000644000176000001440000000115711766145227015222 0ustar ripleyusers\name{GtkObjectFlags} \alias{gtkObjectFlags} \alias{gtkWidgetGetFlags} \alias{gtkWidgetSetFlags} \alias{gtkWidgetUnsetFlags} \title{Set and get GtkWidget flag values.} \description{ These functions allow one retrieve GtkObject flags and set them on GtkWidgets. } \usage{ gtkObjectFlags(object) gtkWidgetSetFlags(wid, flags) gtkWidgetUnsetFlags(wid, flags) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{object}{the object for the flags query} \item{wid}{the widget} \item{flags}{the flags to (un)set on the widget} } \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gtkFileFilterAddPattern.Rd0000644000176000001440000000063212362217677017015 0ustar ripleyusers\alias{gtkFileFilterAddPattern} \name{gtkFileFilterAddPattern} \title{gtkFileFilterAddPattern} \description{Adds a rule allowing a shell style glob to a filter.} \usage{gtkFileFilterAddPattern(object, pattern)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileFilter}}} \item{\verb{pattern}}{a shell style glob} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferInsertText.Rd0000644000176000001440000000177412362217677017316 0ustar ripleyusers\alias{gtkEntryBufferInsertText} \name{gtkEntryBufferInsertText} \title{gtkEntryBufferInsertText} \description{Inserts \code{n.chars} characters of \code{chars} into the contents of the buffer, at position \code{position}.} \usage{gtkEntryBufferInsertText(object, position, chars, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{position}}{the position at which to insert text.} \item{\verb{chars}}{the text to insert into the buffer.} \item{\verb{n.chars}}{the length of the text in characters, or -1} } \details{If \code{n.chars} is negative, then characters from chars will be inserted until a null-terminator is found. If \code{position} or \code{n.chars} are out of bounds, or the maximum buffer text length is exceeded, then they are coerced to sane values. Note that the position and length are in characters, not in bytes. Since 2.18} \value{[numeric] The number of characters actually inserted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceUnset.Rd0000644000176000001440000000047212362217677016100 0ustar ripleyusers\alias{gtkDragSourceUnset} \name{gtkDragSourceUnset} \title{gtkDragSourceUnset} \description{Undoes the effects of \code{\link{gtkDragSourceSet}}.} \usage{gtkDragSourceUnset(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionActivate.Rd0000644000176000001440000000072112362217677015716 0ustar ripleyusers\alias{gtkActionActivate} \name{gtkActionActivate} \title{gtkActionActivate} \description{Emits the "activate" signal on the specified action, if it isn't insensitive. This gets called by the proxy widgets when they get activated.} \usage{gtkActionActivate(object)} \arguments{\item{\verb{object}}{the action object}} \details{It can also be used to manually activate an action. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSize.Rd0000644000176000001440000000140512362217677015274 0ustar ripleyusers\alias{gtkPreviewSize} \name{gtkPreviewSize} \title{gtkPreviewSize} \description{ Set the size that the preview widget will request in response to a "size_request" signal. The drawing area may actually be allocated a size larger than this depending on how it is packed within the enclosing containers. The effect of this is determined by whether the preview is set to expand or not (see \code{gtkPreviewExpand()}) \strong{WARNING: \code{gtk_preview_size} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPreview}}.} \item{\verb{width}}{the new width.} \item{\verb{height}}{the new height.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeEjectWithOperation.Rd0000644000176000001440000000176512362217677017431 0ustar ripleyusers\alias{gVolumeEjectWithOperation} \name{gVolumeEjectWithOperation} \title{gVolumeEjectWithOperation} \description{Ejects a volume. This is an asynchronous operation, and is finished by calling \code{\link{gVolumeEjectWithOperationFinish}} with the \code{volume} and \code{\link{GAsyncResult}} data returned in the \code{callback}.} \usage{gVolumeEjectWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetVadjustment.Rd0000644000176000001440000000103012362217677020636 0ustar ripleyusers\alias{gtkScrolledWindowGetVadjustment} \name{gtkScrolledWindowGetVadjustment} \title{gtkScrolledWindowGetVadjustment} \description{Returns the vertical scrollbar's adjustment, used to connect the vertical scrollbar to the child widget's vertical scroll functionality.} \usage{gtkScrolledWindowGetVadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \value{[\code{\link{GtkAdjustment}}] the vertical \code{\link{GtkAdjustment}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetUseUnderline.Rd0000644000176000001440000000077512362217677017033 0ustar ripleyusers\alias{gtkLabelGetUseUnderline} \name{gtkLabelGetUseUnderline} \title{gtkLabelGetUseUnderline} \description{Returns whether an embedded underline in the label indicates a mnemonic. See \code{\link{gtkLabelSetUseUnderline}}.} \usage{gtkLabelGetUseUnderline(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[logical] \code{TRUE} whether an embedded underline in the label indicates the mnemonic accelerator keys.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGet.Rd0000644000176000001440000000133112362217677014475 0ustar ripleyusers\alias{gtkLabelGet} \name{gtkLabelGet} \title{gtkLabelGet} \description{ Gets the current string of text within the \code{\link{GtkLabel}} and writes it to the given \code{str} argument. It does not make a copy of this string so you must not write to it. \strong{WARNING: \code{gtk_label_get} is deprecated and should not be used in newly-written code. Use \code{\link{gtkLabelGetText}} instead.} } \usage{gtkLabelGet(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkLabel}} widget you want to get the text from.}} \value{ A list containing the following elements: \item{\verb{str}}{The reference to the pointer you want to point to the text.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetSelectable.Rd0000644000176000001440000000102712362217677017270 0ustar ripleyusers\alias{gtkCTreeNodeSetSelectable} \name{gtkCTreeNodeSetSelectable} \title{gtkCTreeNodeSetSelectable} \description{ \strong{WARNING: \code{gtk_ctree_node_set_selectable} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetSelectable(object, node, selectable)} \arguments{ \item{\verb{object}}{Whether this node can be selected by the user.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{selectable}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGetToolkitVersion.Rd0000644000176000001440000000056712362217677016455 0ustar ripleyusers\alias{atkGetToolkitVersion} \name{atkGetToolkitVersion} \title{atkGetToolkitVersion} \description{Gets version string for the GUI toolkit implementing ATK for this application.} \usage{atkGetToolkitVersion()} \value{[character] version string for the GUI toolkit implementing ATK for this application} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetLanguage.Rd0000644000176000001440000000106612362217677017106 0ustar ripleyusers\alias{pangoContextSetLanguage} \name{pangoContextSetLanguage} \title{pangoContextSetLanguage} \description{Sets the global language tag for the context. The default language for the locale of the running process can be found using \code{\link{pangoLanguageGetDefault}}.} \usage{pangoContextSetLanguage(object, language)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{language}}{[\code{\link{PangoLanguage}}] the new language tag.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetWmclass.Rd0000644000176000001440000000162312362217677016277 0ustar ripleyusers\alias{gtkWindowSetWmclass} \name{gtkWindowSetWmclass} \title{gtkWindowSetWmclass} \description{Don't use this function. It sets the X Window System "class" and "name" hints for a window. According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK+ sets them to that value by default, so calling this function is sort of pointless. However, you may want to call \code{\link{gtkWindowSetRole}} on each window in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session.} \usage{gtkWindowSetWmclass(object, wmclass.name, wmclass.class)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{wmclass.name}}{window name hint} \item{\verb{wmclass.class}}{window class hint} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionRefSelection.Rd0000644000176000001440000000176712362217677017255 0ustar ripleyusers\alias{atkSelectionRefSelection} \name{atkSelectionRefSelection} \title{atkSelectionRefSelection} \description{Gets a reference to the accessible object representing the specified selected child of the object. Note: callers should not rely on \code{NULL} or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking functions or the \code{atkGetAccessibleValue()} convenience method.} \usage{atkSelectionRefSelection(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface} \item{\verb{i}}{[integer] a \verb{integer} specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).} } \value{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} representing the selected accessible , or \code{NULL} if \code{selection} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonGetUseAlpha.Rd0000644000176000001440000000071412362217677017357 0ustar ripleyusers\alias{gtkColorButtonGetUseAlpha} \name{gtkColorButtonGetUseAlpha} \title{gtkColorButtonGetUseAlpha} \description{Does the color selection dialog use the alpha channel?} \usage{gtkColorButtonGetUseAlpha(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorButton}}.}} \details{Since 2.4} \value{[logical] \code{TRUE} if the color sample uses alpha channel, \code{FALSE} if not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImageGet.Rd0000644000176000001440000000153512362217677014466 0ustar ripleyusers\alias{gdkImageGet} \name{gdkImageGet} \title{gdkImageGet} \description{ This is a deprecated wrapper for \code{\link{gdkDrawableGetImage}}; \code{\link{gdkDrawableGetImage}} should be used instead. Or even better: in most cases \code{\link{gdkPixbufGetFromDrawable}} is the most convenient choice. \strong{WARNING: \code{gdk_image_get} is deprecated and should not be used in newly-written code.} } \usage{gdkImageGet(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{x}}{x coordinate in \code{window}} \item{\verb{y}}{y coordinate in \code{window}} \item{\verb{width}}{width of area in \code{window}} \item{\verb{height}}{height of area in \code{window}} } \value{[\code{\link{GdkImage}}] a new \code{\link{GdkImage}} or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetRole.Rd0000644000176000001440000000161712362217677015572 0ustar ripleyusers\alias{gtkWindowSetRole} \name{gtkWindowSetRole} \title{gtkWindowSetRole} \description{This function is only useful on X11, not with other GTK+ targets.} \usage{gtkWindowSetRole(object, role)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{role}}{unique identifier for the window to be used when restoring a session} } \details{In combination with the window title, the window role allows a window manager to identify "the same" window when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox window, so that when the user restarts their session, the window manager can put the toolbox back in the same place. If a window already has a unique title, you don't need to set the role, since the WM can use the title to identify the window when restoring the session.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarPrependWidget.Rd0000644000176000001440000000154412362217677017110 0ustar ripleyusers\alias{gtkToolbarPrependWidget} \name{gtkToolbarPrependWidget} \title{gtkToolbarPrependWidget} \description{ Adds a widget to the beginning of the given toolbar. \strong{WARNING: \code{gtk_toolbar_prepend_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarPrependWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{widget}}{a \code{\link{GtkWidget}} to add to the toolbar.} \item{\verb{tooltip.text}}{the element's tooltip. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerChildType.Rd0000644000176000001440000000105712362217677016553 0ustar ripleyusers\alias{gtkContainerChildType} \name{gtkContainerChildType} \title{gtkContainerChildType} \description{Returns the type of the children supported by the container.} \usage{gtkContainerChildType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \details{Note that this may return \code{G_TYPE_NONE} to indicate that no more children can be added, e.g. for a \code{\link{GtkPaned}} which already has two children.} \value{[\code{\link{GType}}] a \code{\link{GType}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorSetPending.Rd0000644000176000001440000000062112362217677017362 0ustar ripleyusers\alias{gFileEnumeratorSetPending} \name{gFileEnumeratorSetPending} \title{gFileEnumeratorSetPending} \description{Sets the file enumerator as having pending operations.} \usage{gFileEnumeratorSetPending(object, pending)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{pending}}{a boolean value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathIsAncestor.Rd0000644000176000001440000000077012362217677016533 0ustar ripleyusers\alias{gtkTreePathIsAncestor} \name{gtkTreePathIsAncestor} \title{gtkTreePathIsAncestor} \description{Returns \code{TRUE} if \code{descendant} is a descendant of \code{path}.} \usage{gtkTreePathIsAncestor(object, descendant)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreePath}}} \item{\verb{descendant}}{another \code{\link{GtkTreePath}}} } \value{[logical] \code{TRUE} if \code{descendant} is contained inside \code{path}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetCurrentUri.Rd0000644000176000001440000000121712362217677016523 0ustar ripleyusers\alias{gtkLabelGetCurrentUri} \name{gtkLabelGetCurrentUri} \title{gtkLabelGetCurrentUri} \description{Returns the URI for the currently active link in the label. The active link is the one under the mouse pointer or, in a selectable label, the link in which the text cursor is currently positioned.} \usage{gtkLabelGetCurrentUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{This function is intended for use in a \verb{"activate-link"} handler or for use in a \verb{"query-tooltip"} handler. Since 2.18} \value{[character] the currently active URI.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetMatrix.Rd0000644000176000001440000000111512362217677016606 0ustar ripleyusers\alias{pangoContextGetMatrix} \name{pangoContextGetMatrix} \title{pangoContextGetMatrix} \description{Gets the transformation matrix that will be applied when rendering with this context. See \code{\link{pangoContextSetMatrix}}.} \usage{pangoContextGetMatrix(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \details{ Since 1.6} \value{[\code{\link{PangoMatrix}}] the matrix, or \code{NULL} if no matrix has been set (which is the same as the identity matrix).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventPut.Rd0000644000176000001440000000066312362217677014557 0ustar ripleyusers\alias{gdkEventPut} \name{gdkEventPut} \title{gdkEventPut} \description{Appends a copy of the given event onto the front of the event queue for event->any.window's display, or the default event queue if event->any.window is \code{NULL}. See \code{\link{gdkDisplayPutEvent}}.} \usage{gdkEventPut(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkList.Rd0000644000176000001440000000706012362217677013676 0ustar ripleyusers\alias{GtkList} \alias{gtkList} \name{GtkList} \title{GtkList} \description{Widget for packing a list of selectable items} \section{Methods and Functions}{ \code{\link{gtkListNew}(show = TRUE)}\cr \code{\link{gtkListInsertItems}(object, items, position)}\cr \code{\link{gtkListAppendItems}(object, items)}\cr \code{\link{gtkListPrependItems}(object, items)}\cr \code{\link{gtkListRemoveItems}(object, items)}\cr \code{\link{gtkListClearItems}(object, start, end)}\cr \code{\link{gtkListSelectItem}(object, item)}\cr \code{\link{gtkListUnselectItem}(object, item)}\cr \code{\link{gtkListSelectChild}(object, child)}\cr \code{\link{gtkListUnselectChild}(object, child)}\cr \code{\link{gtkListChildPosition}(object, child)}\cr \code{\link{gtkListSetSelectionMode}(object, mode)}\cr \code{\link{gtkListExtendSelection}(object, scroll.type, position, auto.start.selection)}\cr \code{\link{gtkListStartSelection}(object)}\cr \code{\link{gtkListEndSelection}(object)}\cr \code{\link{gtkListSelectAll}(object)}\cr \code{\link{gtkListUnselectAll}(object)}\cr \code{\link{gtkListScrollHorizontal}(object, scroll.type, position)}\cr \code{\link{gtkListScrollVertical}(object, scroll.type, position)}\cr \code{\link{gtkListToggleAddMode}(object)}\cr \code{\link{gtkListToggleFocusRow}(object)}\cr \code{\link{gtkListToggleRow}(object, item)}\cr \code{\link{gtkListUndoSelection}(object)}\cr \code{\link{gtkListEndDragSelection}(object)}\cr \code{gtkList(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkList}} \section{Interfaces}{GtkList implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkList}} widget is a container whose children are displayed vertically in order, and can be selected. The list has many selection modes, which are programmer selective and depend on how many elements are able to be selected at the same time. GtkList has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use \code{\link{GtkTreeView}} instead.} \section{Structures}{\describe{\item{\verb{GtkList}}{ \strong{WARNING: \code{GtkList} is deprecated and should not be used in newly-written code.} \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkList} is the equivalent of \code{\link{gtkListNew}}.} \section{Signals}{\describe{ \item{\code{select-child(list, widget, user.data)}}{ The child \code{widget} has just been selected. \describe{ \item{\code{list}}{the object which received the signal.} \item{\code{widget}}{the newly selected child.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-changed(list, user.data)}}{ The selection of the widget has just changed. \describe{ \item{\code{list}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-child(list, widget, user.data)}}{ The child \code{widget} has just been unselected. \describe{ \item{\code{list}}{the object which received the signal.} \item{\code{widget}}{the newly unselected child.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{selection-mode} [\code{\link{GtkSelectionMode}} : Read / Write]}{ Default value: GTK_SELECTION_NONE }}} \references{\url{http://library.gnome.org/devel//gtk/GtkList.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetActiveIter.Rd0000644000176000001440000000104712362217677017152 0ustar ripleyusers\alias{gtkComboBoxGetActiveIter} \name{gtkComboBoxGetActiveIter} \title{gtkComboBoxGetActiveIter} \description{Sets \code{iter} to point to the current active item, if it exists.} \usage{gtkComboBoxGetActiveIter(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{iter} was set} \item{\verb{iter}}{The uninitialized \code{\link{GtkTreeIter}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableCustomFinished.Rd0000644000176000001440000000133712362217677017554 0ustar ripleyusers\alias{gtkBuildableCustomFinished} \name{gtkBuildableCustomFinished} \title{gtkBuildableCustomFinished} \description{This is similar to \code{\link{gtkBuildableParserFinished}} but is called once for each custom tag handled by the \code{buildable}.} \usage{gtkBuildableCustomFinished(object, builder, child, tagname, data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}}} \item{\verb{child}}{child object or \code{NULL} for non-child tags. \emph{[ \acronym{allow-none} ]}} \item{\verb{tagname}}{the name of the tag} \item{\verb{data}}{user data created in custom_tag_start} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Layout-Objects.Rd0000644000176000001440000002061512362221630016244 0ustar ripleyusers\alias{pango-Layout-Objects} \alias{PangoLayout} \alias{PangoLayoutIter} \alias{PangoLayoutLine} \alias{pangoLayout} \alias{PangoWrapMode} \alias{PangoEllipsizeMode} \alias{PangoAlignment} \name{pango-Layout-Objects} \title{Layout Objects} \description{High-level layout driver objects} \section{Methods and Functions}{ \code{\link{pangoLayoutNew}(context)}\cr \code{\link{pangoLayoutCopy}(object)}\cr \code{\link{pangoLayoutGetContext}(object)}\cr \code{\link{pangoLayoutContextChanged}(object)}\cr \code{\link{pangoLayoutSetText}(object, text, length = -1)}\cr \code{\link{pangoLayoutGetText}(object)}\cr \code{\link{pangoLayoutSetMarkup}(object, markup, length = -1)}\cr \code{\link{pangoLayoutSetMarkupWithAccel}(object, markup, accel.marker)}\cr \code{\link{pangoLayoutSetAttributes}(object, attrs)}\cr \code{\link{pangoLayoutGetAttributes}(object)}\cr \code{\link{pangoLayoutSetFontDescription}(object, desc = NULL)}\cr \code{\link{pangoLayoutGetFontDescription}(object)}\cr \code{\link{pangoLayoutSetWidth}(object, width)}\cr \code{\link{pangoLayoutGetWidth}(object)}\cr \code{\link{pangoLayoutSetHeight}(object, height)}\cr \code{\link{pangoLayoutGetHeight}(object)}\cr \code{\link{pangoLayoutSetWrap}(object, wrap)}\cr \code{\link{pangoLayoutGetWrap}(object)}\cr \code{\link{pangoLayoutIsWrapped}(object)}\cr \code{\link{pangoLayoutSetEllipsize}(object, ellipsize)}\cr \code{\link{pangoLayoutGetEllipsize}(object)}\cr \code{\link{pangoLayoutIsEllipsized}(object)}\cr \code{\link{pangoLayoutSetIndent}(object, indent)}\cr \code{\link{pangoLayoutGetIndent}(object)}\cr \code{\link{pangoLayoutGetSpacing}(object)}\cr \code{\link{pangoLayoutSetSpacing}(object, spacing)}\cr \code{\link{pangoLayoutSetJustify}(object, justify)}\cr \code{\link{pangoLayoutGetJustify}(object)}\cr \code{\link{pangoLayoutSetAutoDir}(object, auto.dir)}\cr \code{\link{pangoLayoutGetAutoDir}(object)}\cr \code{\link{pangoLayoutSetAlignment}(object, alignment)}\cr \code{\link{pangoLayoutGetAlignment}(object)}\cr \code{\link{pangoLayoutSetTabs}(object, tabs = NULL)}\cr \code{\link{pangoLayoutGetTabs}(object)}\cr \code{\link{pangoLayoutSetSingleParagraphMode}(object, setting)}\cr \code{\link{pangoLayoutGetSingleParagraphMode}(object)}\cr \code{\link{pangoLayoutGetUnknownGlyphsCount}(object)}\cr \code{\link{pangoLayoutGetLogAttrs}(object)}\cr \code{\link{pangoLayoutIndexToPos}(object, index, pos)}\cr \code{\link{pangoLayoutIndexToLineX}(object, index., trailing)}\cr \code{\link{pangoLayoutXyToIndex}(object, x, y)}\cr \code{\link{pangoLayoutGetCursorPos}(object, index)}\cr \code{\link{pangoLayoutMoveCursorVisually}(object, strong, old.index, old.trailing, direction)}\cr \code{\link{pangoLayoutGetExtents}(object)}\cr \code{\link{pangoLayoutGetPixelExtents}(object)}\cr \code{\link{pangoLayoutGetSize}(object)}\cr \code{\link{pangoLayoutGetPixelSize}(object)}\cr \code{\link{pangoLayoutGetBaseline}(object)}\cr \code{\link{pangoLayoutGetLineCount}(object)}\cr \code{\link{pangoLayoutGetLine}(object, line)}\cr \code{\link{pangoLayoutGetLineReadonly}(object, line)}\cr \code{\link{pangoLayoutGetLines}(object)}\cr \code{\link{pangoLayoutGetLinesReadonly}(object)}\cr \code{\link{pangoLayoutGetIter}(object)}\cr \code{\link{pangoLayoutIterNextRun}(object)}\cr \code{\link{pangoLayoutIterNextChar}(object)}\cr \code{\link{pangoLayoutIterNextCluster}(object)}\cr \code{\link{pangoLayoutIterNextLine}(object)}\cr \code{\link{pangoLayoutIterAtLastLine}(object)}\cr \code{\link{pangoLayoutIterGetIndex}(object)}\cr \code{\link{pangoLayoutIterGetBaseline}(object)}\cr \code{\link{pangoLayoutIterGetRun}(object)}\cr \code{\link{pangoLayoutIterGetRunReadonly}(object)}\cr \code{\link{pangoLayoutIterGetLine}(object)}\cr \code{\link{pangoLayoutIterGetLineReadonly}(object)}\cr \code{\link{pangoLayoutIterGetLayout}(iter)}\cr \code{\link{pangoLayoutIterGetCharExtents}(object)}\cr \code{\link{pangoLayoutIterGetClusterExtents}(object)}\cr \code{\link{pangoLayoutIterGetRunExtents}(object)}\cr \code{\link{pangoLayoutIterGetLineYrange}(object)}\cr \code{\link{pangoLayoutIterGetLineExtents}(object)}\cr \code{\link{pangoLayoutIterGetLayoutExtents}(object)}\cr \code{\link{pangoLayoutLineGetExtents}(object)}\cr \code{\link{pangoLayoutLineGetPixelExtents}(object)}\cr \code{\link{pangoLayoutLineIndexToX}(object, index, trailing)}\cr \code{\link{pangoLayoutLineXToIndex}(object, x.pos)}\cr \code{\link{pangoLayoutLineGetXRanges}(object, start.index, end.index)}\cr \code{pangoLayout(context)} } \section{Hierarchy}{\preformatted{GObject +----PangoLayout}} \section{Detailed Description}{While complete access to the layout capabilities of Pango is provided using the detailed interfaces for itemization and shaping, using that functionality directly involves writing a fairly large amount of code. The objects and functions in this section provide a high-level driver for formatting entire paragraphs of text at once.} \section{Structures}{\describe{ \item{\verb{PangoLayout}}{ The \code{\link{PangoLayout}} structure represents an entire paragraph of text. It is initialized with a \code{\link{PangoContext}}, UTF-8 string and set of attributes for that string. Once that is done, the set of formatted lines can be extracted from the object, the layout can be rendered, and conversion between logical character positions within the layout's text, and the physical position of the resulting glyphs can be made. There are also a number of parameters to adjust the formatting of a \code{\link{PangoLayout}}, which are illustrated in . It is possible, as well, to ignore the 2-D setup, and simply treat the results of a \code{\link{PangoLayout}} as a list of lines. The \code{\link{PangoLayout}} structure is opaque, and has no user-visible fields. } \item{\verb{PangoLayoutIter}}{ A \code{\link{PangoLayoutIter}} structure can be used to iterate over the visual extents of a \code{\link{PangoLayout}}. The \code{\link{PangoLayoutIter}} structure is opaque, and has no user-visible fields. } \item{\verb{PangoLayoutLine}}{ The \code{\link{PangoLayoutLine}} structure represents one of the lines resulting from laying out a paragraph via \code{\link{PangoLayout}}. \code{\link{PangoLayoutLine}} structures are obtained by calling \code{\link{pangoLayoutGetLine}} and are only valid until the text, attributes, or settings of the parent \code{\link{PangoLayout}} are modified. Routines for rendering PangoLayout objects are provided in code specific to each rendering system. \describe{ \item{\verb{layout}}{[\code{\link{PangoLayout}}] the parent layout for this line} \item{\verb{startIndex}}{[integer] the start of the line as byte index into \code{layout->text}} \item{\verb{length}}{[integer] the length of the line in bytes} \item{\verb{runs}}{[list] a list containing the runs of the line in visual order} \item{\verb{isParagraphStart}}{[numeric] \code{TRUE} if this is the first line of the paragraph} \item{\verb{resolvedDir}}{[numeric] the resolved \code{\link{PangoDirection}} of the line} } } }} \section{Convenient Construction}{\code{pangoLayout} is the equivalent of \code{\link{pangoLayoutNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{PangoWrapMode}}{ A \code{\link{PangoWrapMode}} describes how to wrap the lines of a \code{\link{PangoLayout}} to the desired width. \describe{ \item{\verb{word}}{wrap lines at word boundaries.} \item{\verb{char}}{wrap lines at character boundaries.} } } \item{\verb{PangoEllipsizeMode}}{ The \code{\link{PangoEllipsizeMode}} type describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis. \describe{ \item{\verb{none}}{ No ellipsization} \item{\verb{start}}{ Omit characters at the start of the text} \item{\verb{middle}}{ Omit characters in the middle of the text} \item{\verb{end}}{ Omit characters at the end of the text} } } \item{\verb{PangoAlignment}}{ A \code{\link{PangoAlignment}} describes how to align the lines of a \code{\link{PangoLayout}} within the available space. If the \code{\link{PangoLayout}} is set to justify using \code{\link{pangoLayoutSetJustify}}, this only has effect for partial lines. \describe{ \item{\verb{left}}{Put all available space on the right} \item{\verb{center}}{Center the line within the available space} \item{\verb{right}}{Put all available space on the left} } } }} \references{\url{http://library.gnome.org/devel//pango/pango-Layout-Objects.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectAsync.Rd0000644000176000001440000000156012362217677017362 0ustar ripleyusers\alias{gSocketClientConnectAsync} \name{gSocketClientConnectAsync} \title{gSocketClientConnectAsync} \description{This is the asynchronous version of \code{\link{gSocketClientConnect}}.} \usage{gSocketClientConnectAsync(object, connectable, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \verb{GTcpClient}} \item{\verb{connectable}}{a \code{\link{GSocketConnectable}} specifying the remote address.} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data for the callback} } \details{When the operation is finished \code{callback} will be called. You can then call \code{\link{gSocketClientConnectFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageGetDefault.Rd0000644000176000001440000000332312362217677017030 0ustar ripleyusers\alias{pangoLanguageGetDefault} \name{pangoLanguageGetDefault} \title{pangoLanguageGetDefault} \description{Returns the \code{\link{PangoLanguage}} for the current locale of the process. Note that this can change over the life of an application.} \usage{pangoLanguageGetDefault()} \details{On Unix systems, this is the return value is derived from \code{setlocale(LC_CTYPE, NULL)}, and the user can affect this through the environment variables LC_ALL, LC_CTYPE or LANG (checked in that order). The locale string typically is in the form lang_COUNTRY, where lang is an ISO-639 language code, and COUNTRY is an ISO-3166 country code. For instance, sv_FI for Swedish as written in Finland or pt_BR for Portuguese as written in Brazil. On Windows, the C library does not use any such environment variables, and setting them won't affect the behavior of functions like \code{ctime()}. The user sets the locale through the Regional Options in the Control Panel. The C library (in the \code{setlocale()} function) does not use country and language codes, but country and language names spelled out in English. However, this function does check the above environment variables, and does return a Unix-style locale string based on either said environment variables or the thread's current locale. Your application should call \code{setlocale(LC_ALL, "");} for the user settings to take effect. Gtk+ does this in its initialization functions automatically (by calling \code{gtkSetLocale()}). See \code{man setlocale} for more details. Since 1.16} \value{[\code{\link{PangoLanguage}}] the default language as a \code{\link{PangoLanguage}}, must not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetRelativePath.Rd0000644000176000001440000000113212362217677016306 0ustar ripleyusers\alias{gFileGetRelativePath} \name{gFileGetRelativePath} \title{gFileGetRelativePath} \description{Gets the path for \code{descendant} relative to \code{parent}. } \usage{gFileGetRelativePath(object, descendant)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{descendant}}{input \code{\link{GFile}}.} } \details{This call does no blocking i/o.} \value{[char] string with the relative path from \code{descendant} to \code{parent}, or \code{NULL} if \code{descendant} doesn't have \code{parent} as prefix.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetPointer.Rd0000644000176000001440000000221712362217677016252 0ustar ripleyusers\alias{gdkWindowGetPointer} \name{gdkWindowGetPointer} \title{gdkWindowGetPointer} \description{Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of \code{window}.} \usage{gdkWindowGetPointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkWindow}}] the window containing the pointer (as with \code{\link{gdkWindowAtPointer}}), or \code{NULL} if the window containing the pointer isn't known to GDK. \emph{[ \acronym{transfer none} ]}} \item{\verb{x}}{return location for X coordinate of pointer or \code{NULL} to not return the X coordinate. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{y}}{return location for Y coordinate of pointer or \code{NULL} to not return the Y coordinate. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{mask}}{return location for modifier mask or \code{NULL} to not return the modifier mask. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamSetByteOrder.Rd0000644000176000001440000000067412362217677020232 0ustar ripleyusers\alias{gDataOutputStreamSetByteOrder} \name{gDataOutputStreamSetByteOrder} \title{gDataOutputStreamSetByteOrder} \description{Sets the byte order of the data output stream to \code{order}.} \usage{gDataOutputStreamSetByteOrder(object, order)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{order}}{a \code{\link{GDataStreamByteOrder}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToggleAction.Rd0000644000176000001440000000420112362217677015334 0ustar ripleyusers\alias{GtkToggleAction} \alias{gtkToggleAction} \name{GtkToggleAction} \title{GtkToggleAction} \description{An action which can be toggled between two states} \section{Methods and Functions}{ \code{\link{gtkToggleActionNew}(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)}\cr \code{\link{gtkToggleActionToggled}(object)}\cr \code{\link{gtkToggleActionSetActive}(object, is.active)}\cr \code{\link{gtkToggleActionGetActive}(object)}\cr \code{\link{gtkToggleActionSetDrawAsRadio}(object, draw.as.radio)}\cr \code{\link{gtkToggleActionGetDrawAsRadio}(object)}\cr \code{gtkToggleAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkAction +----GtkToggleAction +----GtkRadioAction}} \section{Interfaces}{GtkToggleAction implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkToggleAction}} corresponds roughly to a \code{\link{GtkCheckMenuItem}}. It has an "active" state specifying whether the action has been checked or not.} \section{Structures}{\describe{\item{\verb{GtkToggleAction}}{ The \code{GtkToggleAction} struct contains only private members and should not be accessed directly. }}} \section{Convenient Construction}{\code{gtkToggleAction} is the equivalent of \code{\link{gtkToggleActionNew}}.} \section{Signals}{\describe{\item{\code{toggled(toggleaction, user.data)}}{ \emph{undocumented } \describe{ \item{\code{toggleaction}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{active} [logical : Read / Write]}{ If the toggle action should be active in or not. Default value: FALSE Since 2.10 } \item{\verb{draw-as-radio} [logical : Read / Write]}{ Whether the proxies for this action look like radio action proxies. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToggleAction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetPreviewText.Rd0000644000176000001440000000064412362217677020447 0ustar ripleyusers\alias{gtkFontSelectionGetPreviewText} \name{gtkFontSelectionGetPreviewText} \title{gtkFontSelectionGetPreviewText} \description{Gets the text displayed in the preview area.} \usage{gtkFontSelectionGetPreviewText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \value{[character] the text displayed in the preview area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListEndDragSelection.Rd0000644000176000001440000000075712362217677017037 0ustar ripleyusers\alias{gtkListEndDragSelection} \name{gtkListEndDragSelection} \title{gtkListEndDragSelection} \description{ Stops the drag selection mode and ungrabs the pointer. This has no effect if a drag selection is not active. \strong{WARNING: \code{gtk_list_end_drag_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkListEndDragSelection(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeByteString.Rd0000644000176000001440000000112612362217677020513 0ustar ripleyusers\alias{gFileInfoGetAttributeByteString} \name{gFileInfoGetAttributeByteString} \title{gFileInfoGetAttributeByteString} \description{Gets the value of a byte string attribute. If the attribute does not contain a byte string, \code{NULL} will be returned.} \usage{gFileInfoGetAttributeByteString(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[char] the contents of the \code{attribute} value as a byte string, or \code{NULL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkEventBox.Rd0000644000176000001440000000360412362217677014515 0ustar ripleyusers\alias{GtkEventBox} \alias{gtkEventBox} \name{GtkEventBox} \title{GtkEventBox} \description{A widget used to catch events for widgets which do not have their own window} \section{Methods and Functions}{ \code{\link{gtkEventBoxNew}(show = TRUE)}\cr \code{\link{gtkEventBoxSetAboveChild}(object, above.child)}\cr \code{\link{gtkEventBoxGetAboveChild}(object)}\cr \code{\link{gtkEventBoxSetVisibleWindow}(object, visible.window)}\cr \code{\link{gtkEventBoxGetVisibleWindow}(object)}\cr \code{gtkEventBox(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox}} \section{Interfaces}{GtkEventBox implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkEventBox}} widget is a subclass of \code{\link{GtkBin}} which also has its own window. It is useful since it allows you to catch events for widgets which do not have their own window.} \section{Structures}{\describe{\item{\verb{GtkEventBox}}{ The \code{\link{GtkEventBox}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkEventBox} is the equivalent of \code{\link{gtkEventBoxNew}}.} \section{Properties}{\describe{ \item{\verb{above-child} [logical : Read / Write]}{ Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it. Default value: FALSE } \item{\verb{visible-window} [logical : Read / Write]}{ Whether the event box is visible, as opposed to invisible and only used to trap events. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkEventBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetGravity.Rd0000644000176000001440000000063112362217677016275 0ustar ripleyusers\alias{gtkWindowGetGravity} \name{gtkWindowGetGravity} \title{gtkWindowGetGravity} \description{Gets the value set by \code{\link{gtkWindowSetGravity}}.} \usage{gtkWindowGetGravity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GdkGravity}}] window gravity. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetImModulePath.Rd0000644000176000001440000000111512362217677016273 0ustar ripleyusers\alias{gtkRcGetImModulePath} \name{gtkRcGetImModulePath} \title{gtkRcGetImModulePath} \description{Obtains the path in which to look for IM modules. See the documentation of the \env{GTK_PATH} environment variable for more details about looking up modules. This function is useful solely for utilities supplied with GTK+ and should not be used by applications under normal circumstances.} \usage{gtkRcGetImModulePath()} \value{[character] a newly-allocated string containing the path in which to look for IM modules.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrVariantNew.Rd0000644000176000001440000000065712362217677016260 0ustar ripleyusers\alias{pangoAttrVariantNew} \name{pangoAttrVariantNew} \title{pangoAttrVariantNew} \description{Create a new font variant attribute (normal or small caps)} \usage{pangoAttrVariantNew(variant)} \arguments{\item{\verb{variant}}{[\code{\link{PangoVariant}}] the variant}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetIterAtLocation.Rd0000644000176000001440000000152012362217677020037 0ustar ripleyusers\alias{gtkTextViewGetIterAtLocation} \name{gtkTextViewGetIterAtLocation} \title{gtkTextViewGetIterAtLocation} \description{Retrieves the iterator at buffer coordinates \code{x} and \code{y}. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with \code{\link{gtkTextViewWindowToBufferCoords}}.} \usage{gtkTextViewGetIterAtLocation(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{x}}{x position, in buffer coordinates} \item{\verb{y}}{y position, in buffer coordinates} } \value{ A list containing the following elements: \item{\verb{iter}}{a \code{\link{GtkTextIter}}. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonLeave.Rd0000644000176000001440000000102512362217677015246 0ustar ripleyusers\alias{gtkButtonLeave} \name{gtkButtonLeave} \title{gtkButtonLeave} \description{ Emits a \code{\link{gtkButtonLeave}} signal to the given \code{\link{GtkButton}}. \strong{WARNING: \code{gtk_button_leave} has been deprecated since version 2.20 and should not be used in newly-written code. Use the \verb{"leave-notify-event"} signal.} } \usage{gtkButtonLeave(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want to send the signal to.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenIsComposited.Rd0000644000176000001440000000121512362217677016541 0ustar ripleyusers\alias{gdkScreenIsComposited} \name{gdkScreenIsComposited} \title{gdkScreenIsComposited} \description{Returns whether windows with an RGBA visual can reasonably be expected to have their alpha channel drawn correctly on the screen.} \usage{gdkScreenIsComposited(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{On X11 this function returns whether a compositing manager is compositing \code{screen}. Since 2.10} \value{[logical] Whether windows with RGBA visuals can reasonably be expected to have their alpha channels drawn correctly on the screen.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemIterInitStart.Rd0000644000176000001440000000142012362217677017724 0ustar ripleyusers\alias{pangoGlyphItemIterInitStart} \name{pangoGlyphItemIterInitStart} \title{pangoGlyphItemIterInitStart} \description{Initializes a \code{\link{PangoGlyphItemIter}} structure to point to the first cluster in a glyph item. See \code{\link{PangoGlyphItemIter}} for details of cluster orders.} \usage{pangoGlyphItemIterInitStart(object, glyph.item, text)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphItemIter}}] a \code{\link{PangoGlyphItemIter}}} \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] the glyph item to iterate over} \item{\verb{text}}{[char] text corresponding to the glyph item} } \details{ Since 1.22} \value{[logical] \code{FALSE} if there are no clusters in the glyph item} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Orientable.Rd0000644000176000001440000000455612362217677015173 0ustar ripleyusers\alias{gtk-Orientable} \alias{GtkOrientable} \name{gtk-Orientable} \title{GtkOrientable} \description{An interface for flippable widgets} \section{Methods and Functions}{ \code{\link{gtkOrientableGetOrientation}(object)}\cr \code{\link{gtkOrientableSetOrientation}(object, orientation)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkOrientable}} \section{Implementations}{GtkOrientable is implemented by \code{\link{GtkBox}}, \code{\link{GtkButtonBox}}, \code{\link{GtkColorSelection}}, \code{\link{GtkCombo}}, \code{\link{GtkFileChooserButton}}, \code{\link{GtkFileChooserWidget}}, \code{\link{GtkFontSelection}}, \code{\link{GtkGammaCurve}}, \code{\link{GtkHBox}}, \code{\link{GtkHButtonBox}}, \code{\link{GtkHPaned}}, \code{\link{GtkHRuler}}, \code{\link{GtkHScale}}, \code{\link{GtkHScrollbar}}, \code{\link{GtkHSeparator}}, \code{\link{GtkInfoBar}}, \code{\link{GtkPaned}}, \code{\link{GtkRange}}, \code{\link{GtkRecentChooserWidget}}, \code{\link{GtkRuler}}, \code{\link{GtkScale}}, \code{\link{GtkScaleButton}}, \code{\link{GtkScrollbar}}, \code{\link{GtkSeparator}}, \code{\link{GtkStatusbar}}, \code{\link{GtkToolPalette}}, \code{\link{GtkToolbar}}, \code{\link{GtkVBox}}, \code{\link{GtkVButtonBox}}, \code{\link{GtkVPaned}}, \code{\link{GtkVRuler}}, \code{\link{GtkVScale}}, \code{\link{GtkVScrollbar}}, \code{\link{GtkVSeparator}} and \code{\link{GtkVolumeButton}}.} \section{Detailed Description}{The \code{\link{GtkOrientable}} interface is implemented by all widgets that can be oriented horizontally or vertically. Historically, such widgets have been realized as subclasses of a common base class (e.g \code{\link{GtkBox}}/\code{\link{GtkHBox}}/\code{\link{GtkVBox}} and \code{\link{GtkScale}}/\code{\link{GtkHScale}}/\code{\link{GtkVScale}}). GtkOrientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to 'flip'. GtkOrientable was introduced in GTK+ 2.16.} \section{Structures}{\describe{\item{\verb{GtkOrientable}}{ \emph{undocumented } }}} \section{Properties}{\describe{\item{\verb{orientation} [\code{\link{GtkOrientation}} : Read / Write]}{ The orientation of the orientable. Default value: GTK_ORIENTATION_HORIZONTAL Since 2.16 }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-Orientable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogResponse.Rd0000644000176000001440000000110512362217677015733 0ustar ripleyusers\alias{gtkDialogResponse} \name{gtkDialogResponse} \title{gtkDialogResponse} \description{Emits the \code{\link{gtkDialogResponse}} signal with the given response ID. Used to indicate that the user has responded to the dialog in some way; typically either you or \code{\link{gtkDialogRun}} will be monitoring the ::response signal and take appropriate action.} \usage{gtkDialogResponse(object, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{response.id}}{response ID} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserAddFilter.Rd0000644000176000001440000000111312362217677017336 0ustar ripleyusers\alias{gtkRecentChooserAddFilter} \name{gtkRecentChooserAddFilter} \title{gtkRecentChooserAddFilter} \description{Adds \code{filter} to the list of \code{\link{GtkRecentFilter}} objects held by \code{chooser}.} \usage{gtkRecentChooserAddFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{filter}}{a \code{\link{GtkRecentFilter}}} } \details{If no previous filter objects were defined, this function will call \code{\link{gtkRecentChooserSetFilter}}. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerGetForScreen.Rd0000644000176000001440000000252112362217677020002 0ustar ripleyusers\alias{gtkRecentManagerGetForScreen} \name{gtkRecentManagerGetForScreen} \title{gtkRecentManagerGetForScreen} \description{ Gets the recent manager object associated with \code{screen}; if this function has not previously been called for the given screen, a new recent manager object will be created and associated with the screen. Recent manager objects are fairly expensive to create, so using this function is usually a better choice than calling \code{\link{gtkRecentManagerNew}} and setting the screen yourself; by using this function a single recent manager object will be shared between users. \strong{WARNING: \code{gtk_recent_manager_get_for_screen} has been deprecated since version 2.12 and should not be used in newly-written code. This function has been deprecated and should not be used in newly written code. Calling this function is equivalent to calling \code{\link{gtkRecentManagerGetDefault}}.} } \usage{gtkRecentManagerGetForScreen(screen)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}}}} \details{Since 2.10} \value{[\code{\link{GtkRecentManager}}] A unique \code{\link{GtkRecentManager}} associated with the given screen. This recent manager is associated to the with the screen and can be used as long as the screen is open. Do not ref or unref it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Resource-Files.Rd0000644000176000001440000001777412362217677015744 0ustar ripleyusers\alias{gtk-Resource-Files} \alias{GtkRcStyle} \alias{GtkRcFlags} \alias{GtkRcTokenType} \name{gtk-Resource-Files} \title{Resource Files} \description{Routines for handling resource files} \section{Methods and Functions}{ \code{\link{gtkRcScannerNew}()}\cr \code{\link{gtkRcGetStyle}(object)}\cr \code{\link{gtkRcGetStyleByPaths}(settings, widget.path, class.path, type)}\cr \code{\link{gtkRcAddWidgetNameStyle}(object, pattern)}\cr \code{\link{gtkRcAddWidgetClassStyle}(object, pattern)}\cr \code{\link{gtkRcAddClassStyle}(object, pattern)}\cr \code{\link{gtkRcParseString}(rc.string)}\cr \code{\link{gtkRcReparseAll}()}\cr \code{\link{gtkRcReparseAllForSettings}(settings, force.load)}\cr \code{\link{gtkRcResetStyles}(settings)}\cr \code{\link{gtkRcGetDefaultFiles}()}\cr \code{\link{gtkRcParseColor}(scanner, color)}\cr \code{\link{gtkRcParseColorFull}(scanner, style)}\cr \code{\link{gtkRcParseState}(scanner)}\cr \code{\link{gtkRcParsePriority}(scanner)}\cr \code{\link{gtkRcFindModuleInPath}(module.file)}\cr \code{\link{gtkRcFindPixmapInPath}(settings, scanner = NULL, pixmap.file)}\cr \code{\link{gtkRcGetModuleDir}()}\cr \code{\link{gtkRcGetImModulePath}()}\cr \code{\link{gtkRcGetImModuleFile}()}\cr \code{\link{gtkRcGetThemeDir}()}\cr \code{\link{gtkRcStyleNew}()}\cr \code{\link{gtkRcStyleCopy}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkRcStyle}} \section{Detailed Description}{GTK+ provides resource file mechanism for configuring various aspects of the operation of a GTK+ program at runtime.} \section{Default files}{An application can cause GTK+ to parse a specific RC file by calling \code{\link{gtkRcParse}}. In addition to this, certain files will be read at the end of \code{\link{gtkInit}}. Unless modified, the files looked for will be \file{/gtk-2.0/gtkrc} and \file{.gtkrc-2.0} in the users home directory. (\file{} defaults to \file{/usr/local/etc}. It can be changed with the \option{--prefix} or \option{--sysconfdir} options when configuring GTK+.) Note that although the filenames contain the version number 2.0, all 2.x versions of GTK+ look for these files. The set of these \dfn{default} files can be retrieved with \code{\link{gtkRcGetDefaultFiles}} and modified with \code{\link{gtkRcAddDefaultFile}} and \code{\link{gtkRcSetDefaultFiles}}. Additionally, the \env{GTK2_RC_FILES} environment variable can be set to a \verb{G_SEARCHPATH_SEPARATOR_S-separated} list of files in order to overwrite the set of default files at runtime. For each RC file, in addition to the file itself, GTK+ will look for a locale-specific file that will be parsed after the main file. For instance, if \env{LANG} is set to \code{ja_JP.ujis}, when loading the default file \file{~/.gtkrc} then GTK+ looks for \file{~/.gtkrc.ja_JP} and \file{~/.gtkrc.ja}, and parses the first of those that exists.} \section{Optimizing RC Style Matches}{ Everytime a widget is created and added to the layout hierarchy of a \code{\link{GtkWindow}} ("anchored" to be exact), a list of matching RC styles out of all RC styles read in so far is composed. For this, every RC style is matched against the widgets class path, the widgets name path and widgets inheritance hierarchy. As a consequence, significant slowdown can be caused by utilization of many RC styles and by using RC style patterns that are slow or complicated to match against a given widget. The following ordered list provides a number of advices (prioritized by effectiveness) to reduce the performance overhead associated with RC style matches: \enumerate{ \item Move RC styles for specific applications into RC files dedicated to those applications and parse application specific RC files only from applications that are affected by them. This reduces the overall amount of RC styles that have to be considered for a match across a group of applications. \item Merge multiple styles which use the same matching rule, for instance: \preformatted{ style "Foo" { foo_content } class "X" style "Foo" style "Bar" { bar_content } class "X" style "Bar" } is faster to match as: \preformatted{ style "FooBar" { foo_content bar_content } class "X" style "FooBar" } \item Use of wildcards should be avoided, this can reduce the individual RC style match to a single integer comparison in most cases. \item To avoid complex recursive matching, specification of full class names (for \code{class} matches) or full path names (for \code{widget} and \code{widget_class} matches) is to be preferred over shortened names containing \code{"*"} or \code{"?"}. \item If at all necessary, wildcards should only be used at the tail or head of a pattern. This reduces the match complexity to a string comparison per RC style. \item When using wildcards, use of \code{"?"} should be preferred over \code{"*"}. This can reduce the matching complexity from O(n^2) to O(n). For example \code{"Gtk*Box"} can be turned into \code{"Gtk?Box"} and will still match \code{\link{GtkHBox}} and \code{\link{GtkVBox}}. \item The use of \code{"*"} wildcards should be restricted as much as possible, because matching \code{"A*B*C*RestString"} can result in matching complexities of O(n^2) worst case. }} \section{Structures}{\describe{\item{\verb{GtkRcStyle}}{ The \code{\link{GtkRcStyle}} structure is used to represent a set of information about the appearance of a widget. This can later be composited together with other \code{\link{GtkRcStyle}} structures to form a \code{\link{GtkStyle}}. }}} \section{Enums and Flags}{\describe{ \item{\verb{GtkRcFlags}}{ The \code{\link{GtkRcFlags}} enumeration is used as a bitmask to specify which fields of a \code{\link{GtkRcStyle}} have been set for each state. \describe{ \item{\verb{fg}}{If present, the foreground color has been set for this state.} \item{\verb{bg}}{If present, the background color has been set for this state.} \item{\verb{text}}{If present, the text color has been set for this state.} \item{\verb{base}}{If present, the base color has been set for this state.} } } \item{\verb{GtkRcTokenType}}{ The \code{\link{GtkRcTokenType}} enumeration represents the tokens in the RC file. It is exposed so that theme engines can reuse these tokens when parsing the theme-engine specific portions of a RC file. \describe{ \item{\verb{invalid}}{\emph{undocumented }} \item{\verb{include}}{\emph{undocumented }} \item{\verb{normal}}{\emph{undocumented }} \item{\verb{active}}{\emph{undocumented }} \item{\verb{prelight}}{\emph{undocumented }} \item{\verb{selected}}{\emph{undocumented }} \item{\verb{insensitive}}{\emph{undocumented }} \item{\verb{fg}}{\emph{undocumented }} \item{\verb{bg}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} \item{\verb{base}}{\emph{undocumented }} \item{\verb{xthickness}}{\emph{undocumented }} \item{\verb{ythickness}}{\emph{undocumented }} \item{\verb{font}}{\emph{undocumented }} \item{\verb{fontset}}{\emph{undocumented }} \item{\verb{font-name}}{\emph{undocumented }} \item{\verb{bg-pixmap}}{\emph{undocumented }} \item{\verb{pixmap-path}}{\emph{undocumented }} \item{\verb{style}}{\emph{undocumented }} \item{\verb{binding}}{\emph{undocumented }} \item{\verb{bind}}{\emph{undocumented }} \item{\verb{widget}}{\emph{undocumented }} \item{\verb{widget-class}}{\emph{undocumented }} \item{\verb{class}}{\emph{undocumented }} \item{\verb{lowest}}{\emph{undocumented }} \item{\verb{gtk}}{\emph{undocumented }} \item{\verb{application}}{\emph{undocumented }} \item{\verb{theme}}{\emph{undocumented }} \item{\verb{rc}}{\emph{undocumented }} \item{\verb{highest}}{\emph{undocumented }} \item{\verb{engine}}{\emph{undocumented }} \item{\verb{module-path}}{\emph{undocumented }} \item{\verb{im-module-path}}{\emph{undocumented }} \item{\verb{im-module-file}}{\emph{undocumented }} \item{\verb{stock}}{\emph{undocumented }} \item{\verb{ltr}}{\emph{undocumented }} \item{\verb{rtl}}{\emph{undocumented }} \item{\verb{last}}{\emph{undocumented }} } } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Resource-Files.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectFactoryGetAccessibleType.Rd0000644000176000001440000000111112362217677021022 0ustar ripleyusers\alias{atkObjectFactoryGetAccessibleType} \name{atkObjectFactoryGetAccessibleType} \title{atkObjectFactoryGetAccessibleType} \description{Gets the GType of the accessible which is created by the factory.} \usage{atkObjectFactoryGetAccessibleType(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObjectFactory}}] an \code{\link{AtkObjectFactory}} }} \value{[\code{\link{GType}}] the type of the accessible which is created by the \code{factory}. The value G_TYPE_INVALID is returned if no type if found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GAsyncInitable.Rd0000644000176000001440000000316412362217677015152 0ustar ripleyusers\alias{GAsyncInitable} \name{GAsyncInitable} \title{GAsyncInitable} \description{Asynchronously failable object initialization interface} \section{Methods and Functions}{ \code{\link{gAsyncInitableInitAsync}(object, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gAsyncInitableInitFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gAsyncInitableNewAsync}(object.type, io.priority, cancellable, callback, user.data, ...)}\cr \code{\link{gAsyncInitableNewFinish}(object, res, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GAsyncInitable}} \section{Detailed Description}{This is the asynchronous version of \code{\link{GInitable}}, it behaves the same in all ways except that initialization is asynchronous. For more details see the descriptions on \code{\link{GInitable}}. A class may implement both the \code{\link{GInitable}} and \code{\link{GAsyncInitable}} interfaces. Users of objects implementing this are not intended to use the interface method directly, instead it will be used automatically in various ways. For C applications you generally just call \code{\link{gAsyncInitableNewAsync}} directly, or indirectly via a \code{fooThingNewAsync()} wrapper. This will call \code{\link{gAsyncInitableInitAsync}} under the cover, calling back with \code{NULL} and a set \code{\link{GError}} on failure.} \section{Structures}{\describe{\item{\verb{GAsyncInitable}}{ Interface for asynchronously initializable objects. Since 2.22 }}} \references{\url{http://library.gnome.org/devel//gio/GAsyncInitable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockAddStatic.Rd0000644000176000001440000000063612362217677015671 0ustar ripleyusers\alias{gtkStockAddStatic} \name{gtkStockAddStatic} \title{gtkStockAddStatic} \description{Same as \code{\link{gtkStockAdd}}, but doesn't copy \code{items}, so \code{items} must persist until application exit.} \usage{gtkStockAddStatic(items)} \arguments{\item{\verb{items}}{a \code{\link{GtkStockItem}} or list of \code{\link{GtkStockItem}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortClearCache.Rd0000644000176000001440000000126012362217677017442 0ustar ripleyusers\alias{gtkTreeModelSortClearCache} \name{gtkTreeModelSortClearCache} \title{gtkTreeModelSortClearCache} \description{This function should almost never be called. It clears the \code{tree.model.sort} of any cached iterators that haven't been reffed with \code{\link{gtkTreeModelRefNode}}. This might be useful if the child model being sorted is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.} \usage{gtkTreeModelSortClearCache(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModelSort}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilenameCompleterNew.Rd0000644000176000001440000000047712362217677016536 0ustar ripleyusers\alias{gFilenameCompleterNew} \name{gFilenameCompleterNew} \title{gFilenameCompleterNew} \description{Creates a new filename completer.} \usage{gFilenameCompleterNew()} \value{[\code{\link{GFilenameCompleter}}] a \code{\link{GFilenameCompleter}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsCreate.Rd0000644000176000001440000000115712362217677016742 0ustar ripleyusers\alias{cairoFontOptionsCreate} \name{cairoFontOptionsCreate} \title{cairoFontOptionsCreate} \description{Allocates a new font options object with all options initialized to default values.} \usage{cairoFontOptionsCreate()} \value{[\code{\link{CairoFontOptions}}] a newly allocated \code{\link{CairoFontOptions}}. This function always returns a valid pointer; if memory cannot be allocated, then a special error object is returned where all operations on the object do nothing. You can check for this with \code{\link{cairoFontOptionsStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringSetSize.Rd0000644000176000001440000000067512362217677017130 0ustar ripleyusers\alias{pangoGlyphStringSetSize} \name{pangoGlyphStringSetSize} \title{pangoGlyphStringSetSize} \description{Resize a glyph string to the given length.} \usage{pangoGlyphStringSetSize(object, new.len)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}.} \item{\verb{new.len}}{[integer] the new length of the string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetLocalOnly.Rd0000644000176000001440000000155012362217677017514 0ustar ripleyusers\alias{gtkFileChooserSetLocalOnly} \name{gtkFileChooserSetLocalOnly} \title{gtkFileChooserSetLocalOnly} \description{Sets whether only local files can be selected in the file selector. If \code{local.only} is \code{TRUE} (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in \code{\link{GtkFileChooser}}, like \code{\link{gtkFileChooserGetFilename}}, rather than the URI functions like \code{\link{gtkFileChooserGetUri}},} \usage{gtkFileChooserSetLocalOnly(object, local.only)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{local.only}}{\code{TRUE} if only local files can be selected} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamReadAll.Rd0000644000176000001440000000321112362217677016156 0ustar ripleyusers\alias{gInputStreamReadAll} \name{gInputStreamReadAll} \title{gInputStreamReadAll} \description{Tries to read \code{count} bytes from the stream into the buffer starting at \code{buffer}. Will block during this read.} \usage{gInputStreamReadAll(object, count, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{count}}{the number of bytes that will be read from the stream} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function is similar to \code{\link{gInputStreamRead}}, except it tries to read as many bytes as requested, only stopping on an error or end of stream. On a successful read of \code{count} bytes, or if we reached the end of the stream, \code{TRUE} is returned, and \code{bytes.read} is set to the number of bytes read into \code{buffer}. If there is an error during the operation \code{FALSE} is returned and \code{error} is set to indicate the error status, \code{bytes.read} is updated to contain the number of bytes read into \code{buffer} before the error occurred.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} if there was an error} \item{\verb{buffer}}{a buffer to read data into (which should be at least count bytes long).} \item{\verb{bytes.read}}{location to store the number of bytes that was read from the stream} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetContext.Rd0000644000176000001440000000110212362217677016613 0ustar ripleyusers\alias{pangoLayoutGetContext} \name{pangoLayoutGetContext} \title{pangoLayoutGetContext} \description{Retrieves the \code{\link{PangoContext}} used for this layout.} \usage{pangoLayoutGetContext(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[\code{\link{PangoContext}}] the \code{\link{PangoContext}} for the layout. This does not have an additional refcount added, so if you want to keep a copy of this around, you must reference it yourself.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPixmapGet.Rd0000644000176000001440000000113012362217677014711 0ustar ripleyusers\alias{gtkPixmapGet} \name{gtkPixmapGet} \title{gtkPixmapGet} \description{ Gets the current \code{\link{GdkPixmap}} and \code{\link{GdkBitmap}} mask. \strong{WARNING: \code{gtk_pixmap_get} is deprecated and should not be used in newly-written code.} } \usage{gtkPixmapGet(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPixmap}}.}} \value{ A list containing the following elements: \item{\verb{val}}{returns the current \code{\link{GdkPixmap}}.} \item{\verb{mask}}{returns the current \code{\link{GdkBitmap}} mask.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetJustify.Rd0000644000176000001440000000131212362217677016066 0ustar ripleyusers\alias{gtkLabelSetJustify} \name{gtkLabelSetJustify} \title{gtkLabelSetJustify} \description{Sets the alignment of the lines in the text of the label relative to each other. \code{GTK_JUSTIFY_LEFT} is the default value when the widget is first created with \code{\link{gtkLabelNew}}. If you instead want to set the alignment of the label as a whole, use \code{\link{gtkMiscSetAlignment}} instead. \code{\link{gtkLabelSetJustify}} has no effect on labels containing only a single line.} \usage{gtkLabelSetJustify(object, jtype)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{jtype}}{a \code{\link{GtkJustification}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetShortLabel.Rd0000644000176000001440000000062512362217677016674 0ustar ripleyusers\alias{gtkActionSetShortLabel} \name{gtkActionSetShortLabel} \title{gtkActionSetShortLabel} \description{Sets a shorter label text on \code{action}.} \usage{gtkActionSetShortLabel(object, short.label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{short.label}}{the label text to set} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkGetLeftGravity.Rd0000644000176000001440000000064312362217677017403 0ustar ripleyusers\alias{gtkTextMarkGetLeftGravity} \name{gtkTextMarkGetLeftGravity} \title{gtkTextMarkGetLeftGravity} \description{Determines whether the mark has left gravity.} \usage{gtkTextMarkGetLeftGravity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextMark}}}} \value{[logical] \code{TRUE} if the mark has left gravity, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonNewWithFont.Rd0000644000176000001440000000065112362217677017261 0ustar ripleyusers\alias{gtkFontButtonNewWithFont} \name{gtkFontButtonNewWithFont} \title{gtkFontButtonNewWithFont} \description{Creates a new font picker widget.} \usage{gtkFontButtonNewWithFont(fontname)} \arguments{\item{\verb{fontname}}{Name of font to display in font selection dialog}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new font picker widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetSelectedItems.Rd0000644000176000001440000000154712362217677017665 0ustar ripleyusers\alias{gtkIconViewGetSelectedItems} \name{gtkIconViewGetSelectedItems} \title{gtkIconViewGetSelectedItems} \description{Creates a list of paths of all selected items. Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of \code{\link{GtkTreeRowReference}}s. To do this, you can use \code{\link{gtkTreeRowReferenceNew}}.} \usage{gtkIconViewGetSelectedItems(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{To free the return value, use: \preformatted{# You don't have to free anything with RGtk2...} Since 2.6} \value{[list] A \verb{list} containing a \code{\link{GtkTreePath}} for each selected row. \emph{[ \acronym{element-type} GtkTreePath][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetPangoContext.Rd0000644000176000001440000000232712362217677017241 0ustar ripleyusers\alias{gtkWidgetGetPangoContext} \name{gtkWidgetGetPangoContext} \title{gtkWidgetGetPangoContext} \description{Gets a \code{\link{PangoContext}} with the appropriate font map, font description, and base direction for this widget. Unlike the context returned by \code{\link{gtkWidgetCreatePangoContext}}, and will be updated to match any changes to the widget's attributes.} \usage{gtkWidgetGetPangoContext(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{If you create and keep a \code{\link{PangoLayout}} using this context, you must deal with changes to the context by calling \code{\link{pangoLayoutContextChanged}} on the layout in response to the \verb{"style-set"} and \verb{"direction-changed"} signals for the widget.} \value{[\code{\link{PangoContext}}] the \code{\link{PangoContext}} for the widget. \emph{[ \acronym{transfer none} ]}} \note{Unlike the context returned by \code{\link{gtkWidgetCreatePangoContext}}, this context is owned by the widget (it can be used until the screen for the widget changes or the widget is removed from its toplevel), and will be updated to match any changes to the widget's attributes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrWeightNew.Rd0000644000176000001440000000062012362217677016071 0ustar ripleyusers\alias{pangoAttrWeightNew} \name{pangoAttrWeightNew} \title{pangoAttrWeightNew} \description{Create a new font weight attribute.} \usage{pangoAttrWeightNew(weight)} \arguments{\item{\verb{weight}}{[\code{\link{PangoWeight}}] the weight}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetTooltipWindow.Rd0000644000176000001440000000115212362217677017445 0ustar ripleyusers\alias{gtkWidgetGetTooltipWindow} \name{gtkWidgetGetTooltipWindow} \title{gtkWidgetGetTooltipWindow} \description{Returns the \code{\link{GtkWindow}} of the current tooltip. This can be the GtkWindow created by default, or the custom tooltip window set using \code{\link{gtkWidgetSetTooltipWindow}}.} \usage{gtkWidgetGetTooltipWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.12} \value{[\code{\link{GtkWindow}}] The \code{\link{GtkWindow}} of the current tooltip. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetEllipsizeMode.Rd0000644000176000001440000000116512362217677017705 0ustar ripleyusers\alias{gtkToolItemGetEllipsizeMode} \name{gtkToolItemGetEllipsizeMode} \title{gtkToolItemGetEllipsizeMode} \description{Returns the ellipsize mode used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function to find out how text should be ellipsized.} \usage{gtkToolItemGetEllipsizeMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.20} \value{[\code{\link{PangoEllipsizeMode}}] a \code{\link{PangoEllipsizeMode}} indicating how text in \code{tool.item} should be ellipsized.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHScrollbar.Rd0000644000176000001440000000313412362217677015014 0ustar ripleyusers\alias{GtkHScrollbar} \alias{gtkHScrollbar} \name{GtkHScrollbar} \title{GtkHScrollbar} \description{A horizontal scrollbar} \section{Methods and Functions}{ \code{\link{gtkHScrollbarNew}(adjustment = NULL, show = TRUE)}\cr \code{gtkHScrollbar(adjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScrollbar +----GtkHScrollbar}} \section{Interfaces}{GtkHScrollbar implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkHScrollbar}} widget is a widget arranged horizontally creating a scrollbar. See \code{\link{GtkScrollbar}} for details on scrollbars. \code{\link{GtkAdjustment}} pointers may be added to handle the adjustment of the scrollbar or it may be left \code{NULL} in which case one will be created for you. See \code{\link{GtkScrollbar}} for a description of what the fields in an adjustment represent for a scrollbar.} \section{Structures}{\describe{\item{\verb{GtkHScrollbar}}{ The \code{\link{GtkHScrollbar}} struct contains private data and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkHScrollbar} is the equivalent of \code{\link{gtkHScrollbarNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHScrollbar.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkScrollbar}} \code{\link{GtkScrolledWindow}} } \keyword{internal} RGtk2/man/cairoPsSurfaceSetEps.Rd0000644000176000001440000000141512362217677016350 0ustar ripleyusers\alias{cairoPsSurfaceSetEps} \name{cairoPsSurfaceSetEps} \title{cairoPsSurfaceSetEps} \description{If \code{eps} is \code{TRUE}, the PostScript surface will output Encapsulated PostScript.} \usage{cairoPsSurfaceSetEps(surface, eps)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}} \item{\verb{eps}}{[logical] \code{TRUE} to output EPS format PostScript} } \details{This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface. An Encapsulated PostScript file should never contain more than one page. Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRadioAction.Rd0000644000176000001440000000525312362217677015161 0ustar ripleyusers\alias{GtkRadioAction} \alias{gtkRadioAction} \name{GtkRadioAction} \title{GtkRadioAction} \description{An action of which only one in a group can be active} \section{Methods and Functions}{ \code{\link{gtkRadioActionNew}(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL)}\cr \code{\link{gtkRadioActionGetGroup}(object)}\cr \code{\link{gtkRadioActionSetGroup}(object, group)}\cr \code{\link{gtkRadioActionGetCurrentValue}(object)}\cr \code{\link{gtkRadioActionSetCurrentValue}(object, current.value)}\cr \code{gtkRadioAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkAction +----GtkToggleAction +----GtkRadioAction}} \section{Interfaces}{GtkRadioAction implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkRadioAction}} is similar to \code{\link{GtkRadioMenuItem}}. A number of radio actions can be linked together so that only one may be active at any one time.} \section{Structures}{\describe{\item{\verb{GtkRadioAction}}{ The \code{GtkRadioAction} struct contains only private members and should not be accessed directly. }}} \section{Convenient Construction}{\code{gtkRadioAction} is the equivalent of \code{\link{gtkRadioActionNew}}.} \section{Signals}{\describe{\item{\code{changed(action, current, user.data)}}{ The ::changed signal is emitted on every member of a radio group when the active member is changed. The signal gets emitted after the ::activate signals for the previous and current active members. Since 2.4 \describe{ \item{\code{action}}{the action on which the signal is emitted} \item{\code{current}}{the member of \code{action}s group which has just been activated} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{current-value} [integer : Read / Write]}{ The value property of the currently active member of the group to which this action belongs. Default value: 0 Since 2.10 } \item{\verb{group} [\code{\link{GtkRadioAction}} : * : Write]}{ Sets a new group for a radio action. Since 2.4 } \item{\verb{value} [integer : Read / Write]}{ The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::changed signal handler. See \code{\link{gtkRadioActionGetCurrentValue}} and \code{\link{GtkRadioActionEntry}} for convenient ways to get and set this property. Default value: 0 Since 2.4 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkRadioAction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetExtensionEvents.Rd0000644000176000001440000000073212362217677017767 0ustar ripleyusers\alias{gtkWidgetGetExtensionEvents} \name{gtkWidgetGetExtensionEvents} \title{gtkWidgetGetExtensionEvents} \description{Retrieves the extension events the widget will receive; see \code{\link{gdkInputSetExtensionEvents}}.} \usage{gtkWidgetGetExtensionEvents(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GdkExtensionMode}}] extension events for \code{widget}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAtomInternStaticString.Rd0000644000176000001440000000164612362217677017426 0ustar ripleyusers\alias{gdkAtomInternStaticString} \name{gdkAtomInternStaticString} \title{gdkAtomInternStaticString} \description{Finds or creates an atom corresponding to a given string.} \usage{gdkAtomInternStaticString(atom.name)} \arguments{\item{\verb{atom.name}}{a static string}} \details{Note that this function is identical to \code{\link{gdkAtomIntern}} except that if a new \code{\link{GdkAtom}} is created the string itself is used rather than a copy. This saves memory, but can only be used if the string will \emph{always} exist. It can be used with statically allocated strings in the main program, but not with statically allocated memory in dynamically loaded modules, if you expect to ever unload the module again (e.g. do not use this function in GTK+ theme engines). Since 2.10} \value{[\code{\link{GdkAtom}}] the atom corresponding to \code{atom.name}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetChoice.Rd0000644000176000001440000000057612362217677017243 0ustar ripleyusers\alias{gMountOperationSetChoice} \name{gMountOperationSetChoice} \title{gMountOperationSetChoice} \description{Sets a default choice for the mount operation.} \usage{gMountOperationSetChoice(object, choice)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{choice}}{an integer.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNewFromFile.Rd0000644000176000001440000000102112362217677017204 0ustar ripleyusers\alias{gtkStatusIconNewFromFile} \name{gtkStatusIconNewFromFile} \title{gtkStatusIconNewFromFile} \description{Creates a status icon displaying the file \code{filename}. } \usage{gtkStatusIconNewFromFile(filename)} \arguments{\item{\verb{filename}}{a filename}} \details{The image will be scaled down to fit in the available space in the notification area, if necessary. Since 2.10} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Fonts.Rd0000644000176000001440000002732212362217677014513 0ustar ripleyusers\alias{pango-Fonts} \alias{PangoFontDescription} \alias{PangoFontMetrics} \alias{PangoFont} \alias{PangoFontFamily} \alias{PangoFontFace} \alias{PangoFontMap} \alias{PangoFontset} \alias{PangoFontsetSimple} \alias{PangoFontsetForeachFunc} \alias{PangoStyle} \alias{PangoWeight} \alias{PangoVariant} \alias{PangoStretch} \alias{PangoFontMask} \name{pango-Fonts} \title{Fonts} \description{Structures representing abstract fonts} \section{Methods and Functions}{ \code{\link{pangoFontDescriptionNew}()}\cr \code{\link{pangoFontDescriptionCopy}(object)}\cr \code{\link{pangoFontDescriptionCopyStatic}(object)}\cr \code{\link{pangoFontDescriptionHash}(object)}\cr \code{\link{pangoFontDescriptionEqual}(object, desc2)}\cr \code{\link{pangoFontDescriptionSetFamily}(object, family)}\cr \code{\link{pangoFontDescriptionSetFamilyStatic}(object, family)}\cr \code{\link{pangoFontDescriptionGetFamily}(object)}\cr \code{\link{pangoFontDescriptionSetStyle}(object, style)}\cr \code{\link{pangoFontDescriptionGetStyle}(object)}\cr \code{\link{pangoFontDescriptionSetVariant}(object, variant)}\cr \code{\link{pangoFontDescriptionGetVariant}(object)}\cr \code{\link{pangoFontDescriptionSetWeight}(object, weight)}\cr \code{\link{pangoFontDescriptionGetWeight}(object)}\cr \code{\link{pangoFontDescriptionSetStretch}(object, stretch)}\cr \code{\link{pangoFontDescriptionGetStretch}(object)}\cr \code{\link{pangoFontDescriptionSetSize}(object, size)}\cr \code{\link{pangoFontDescriptionGetSize}(object)}\cr \code{\link{pangoFontDescriptionSetAbsoluteSize}(object, size)}\cr \code{\link{pangoFontDescriptionGetSizeIsAbsolute}(object)}\cr \code{\link{pangoFontDescriptionSetGravity}(object, gravity)}\cr \code{\link{pangoFontDescriptionGetGravity}(object)}\cr \code{\link{pangoFontDescriptionGetSetFields}(object)}\cr \code{\link{pangoFontDescriptionUnsetFields}(object, to.unset)}\cr \code{\link{pangoFontDescriptionMerge}(object, desc.to.merge, replace.existing)}\cr \code{\link{pangoFontDescriptionBetterMatch}(object, old.match = NULL, new.match)}\cr \code{\link{pangoFontDescriptionFromString}(str)}\cr \code{\link{pangoFontDescriptionToString}(object)}\cr \code{\link{pangoFontDescriptionToFilename}(object)}\cr \code{\link{pangoFontMetricsGetAscent}(object)}\cr \code{\link{pangoFontMetricsGetDescent}(object)}\cr \code{\link{pangoFontMetricsGetApproximateCharWidth}(object)}\cr \code{\link{pangoFontMetricsGetApproximateDigitWidth}(object)}\cr \code{\link{pangoFontMetricsGetUnderlineThickness}(object)}\cr \code{\link{pangoFontMetricsGetUnderlinePosition}(object)}\cr \code{\link{pangoFontMetricsGetStrikethroughThickness}(object)}\cr \code{\link{pangoFontMetricsGetStrikethroughPosition}(object)}\cr \code{\link{pangoFontDescribe}(object)}\cr \code{\link{pangoFontDescribeWithAbsoluteSize}(object)}\cr \code{\link{pangoFontGetCoverage}(object, language)}\cr \code{\link{pangoFontGetGlyphExtents}(object, glyph)}\cr \code{\link{pangoFontGetMetrics}(object, language = NULL)}\cr \code{\link{pangoFontGetFontMap}(object)}\cr \code{\link{pangoFontFamilyGetName}(object)}\cr \code{\link{pangoFontFamilyIsMonospace}(object)}\cr \code{\link{pangoFontFamilyListFaces}(object)}\cr \code{\link{pangoFontFaceGetFaceName}(object)}\cr \code{\link{pangoFontFaceListSizes}(object)}\cr \code{\link{pangoFontFaceDescribe}(object)}\cr \code{\link{pangoFontFaceIsSynthesized}(object)}\cr \code{\link{pangoFontMapCreateContext}(object)}\cr \code{\link{pangoFontMapLoadFont}(object, context, desc)}\cr \code{\link{pangoFontMapLoadFontset}(object, context, desc, language)}\cr \code{\link{pangoFontMapListFamilies}(object)}\cr \code{\link{pangoFontsetGetFont}(object, wc)}\cr \code{\link{pangoFontsetGetMetrics}(object)}\cr \code{\link{pangoFontsetForeach}(object, func, data)}\cr } \section{Hierarchy}{\preformatted{ GObject +----PangoFont +----PangoFcFont GObject +----PangoFontFamily GObject +----PangoFontFace GObject +----PangoFontMap +----PangoFcFontMap GObject +----PangoFontset +----PangoFontsetSimple GObject +----PangoFontset +----PangoFontsetSimple }} \section{Interface Derivations}{PangoFont is required by \code{\link{PangoCairoFont}}. PangoFontMap is required by \code{\link{PangoCairoFontMap}}.} \section{Detailed Description}{Pango supports a flexible architecture where a particular rendering architecture can supply an implementation of fonts. The \code{\link{PangoFont}} structure represents an abstract rendering-system-independent font. Pango provides routines to list available fonts, and to load a font of a given description.} \section{Structures}{\describe{ \item{\verb{PangoFontDescription}}{ The \code{\link{PangoFontDescription}} structure represents the description of an ideal font. These structures are used both to list what fonts are available on the system and also for specifying the characteristics of a font to load. } \item{\verb{PangoFontMetrics}}{ A \code{\link{PangoFontMetrics}} structure holds the overall metric information for a font (possibly restricted to a script). The fields of this structure are private to implementations of a font backend. See the documentation of the corresponding getters for documentation of their meaning. \describe{ \item{\code{ref_count}}{[numeric] reference count. Used internally. See \code{pangoFontMetricsRef()} and \code{pangoFontMetricsUnref()}.} \item{\code{ascent}}{[integer] the distance from the baseline to the highest point of the glyphs of the font. This is positive in practically all fonts.} \item{\code{descent}}{[integer] the distance from the baseline to the lowest point of the glyphs of the font. This is positive in practically all fonts.} \item{\code{approximate_char_width}}{[integer] approximate average width of the regular glyphs of the font. Note that for this calculation, East Asian characters (those passing \code{gUnicharIswide()}) are counted as double-width. This produces a more uniform value for this measure across languages and results in more uniform and more expected UI sizes.} \item{\code{approximate_digit_width}}{[integer] approximate average width of the glyphs for digits of the font.} \item{\code{underline_position}}{[integer] position of the underline. This is normally negative.} \item{\code{underline_thickness}}{[integer] thickness of the underline.} \item{\code{strikethrough_position}}{[integer] position of the strikethrough line. This is normally positive.} \item{\code{strikethrough_thickness}}{[integer] thickness of the strikethrough line.} } } \item{\verb{PangoFont}}{ The \code{\link{PangoFont}} structure is used to represent a font in a rendering-system-independent matter. To create an implementation of a \code{\link{PangoFont}}, the rendering-system specific code should allocate a larger structure that contains a nested \code{\link{PangoFont}}, fill in the \code{klass} member of the nested \code{\link{PangoFont}} with a pointer to a appropriate \verb{PangoFontClass}, then call \code{pangoFontInit()} on the structure. The \code{\link{PangoFont}} structure contains one member which the implementation fills in. } \item{\verb{PangoFontFamily}}{ The \code{\link{PangoFontFamily}} structure is used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects. } \item{\verb{PangoFontFace}}{ The \code{\link{PangoFontFace}} structure is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. } \item{\verb{PangoFontMap}}{ The \code{\link{PangoFontMap}} represents the set of fonts available for a particular rendering system. This is a virtual object with implementations being specific to particular rendering systems. To create an implementation of a \code{\link{PangoFontMap}}, the rendering-system specific code should allocate a larger structure that contains a nested \code{\link{PangoFontMap}}, fill in the \code{klass} member of the nested \code{\link{PangoFontMap}} with a pointer to a appropriate \verb{PangoFontMapClass}, then call \code{pangoFontMapInit()} on the structure. The \code{\link{PangoFontMap}} structure contains one member which the implementation fills in. } \item{\verb{PangoFontset}}{ A \code{\link{PangoFontset}} represents a set of \code{\link{PangoFont}} to use when rendering text. It is the result of resolving a \code{\link{PangoFontDescription}} against a particular \code{\link{PangoContext}}. It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset. } \item{\verb{PangoFontsetSimple}}{ \code{\link{PangoFontsetSimple}} is a implementation of the abstract \code{\link{PangoFontset}} base class in terms of a list of fonts, which the creator provides when constructing the \code{\link{PangoFontsetSimple}}. } }} \section{Enums and Flags}{\describe{ \item{\verb{PangoStyle}}{ An enumeration specifying the various slant styles possible for a font. \describe{ \item{\verb{normal}}{ the font is upright.} \item{\verb{oblique}}{ the font is slanted, but in a roman style.} \item{\verb{italic}}{ the font is slanted in an italic style.} } } \item{\verb{PangoWeight}}{ An enumeration specifying the weight (boldness) of a font. This is a numerical value ranging from 100 to 900, but there are some predefined values: \describe{ \item{\verb{ultralight}}{the thin weight (= 100; Since: 1.24)} \item{\verb{light}}{the ultralight weight (= 200)} \item{\verb{normal}}{the light weight (= 300)} \item{\verb{semibold}}{the book weight (= 380; Since: 1.24)} \item{\verb{bold}}{the default weight (= 400)} \item{\verb{ultrabold}}{the normal weight (= 500; Since: 1.24)} \item{\verb{heavy}}{the semibold weight (= 600)} \item{\verb{book}}{the bold weight (= 700)} \item{\verb{ultraheavy}}{the ultrabold weight (= 800)} \item{\verb{thin}}{the heavy weight (= 900)} \item{\verb{medium}}{the ultraheavy weight (= 1000; Since: 1.24)} } } \item{\verb{PangoVariant}}{ An enumeration specifying capitalization variant of the font. \describe{ \item{\verb{normal}}{A normal font.} \item{\verb{small-caps}}{A font with the lower case characters replaced by smaller variants of the capital characters.} } } \item{\verb{PangoStretch}}{ An enumeration specifying the width of the font relative to other designs within a family. \describe{ \item{\verb{ultra-condensed}}{ultra condensed width} \item{\verb{extra-condensed}}{extra condensed width} \item{\verb{condensed}}{condensed width} \item{\verb{semi-condensed}}{semi condensed width} \item{\verb{normal}}{the normal width} \item{\verb{semi-expanded}}{semi expanded width} \item{\verb{expanded}}{expanded width} \item{\verb{extra-expanded}}{extra expanded width} \item{\verb{ultra-expanded}}{ultra expanded width} } } \item{\verb{PangoFontMask}}{ The bits in a \code{\link{PangoFontMask}} correspond to fields in a \code{\link{PangoFontDescription}} that have been set. \describe{ \item{\verb{family}}{the font family is specified.} \item{\verb{style}}{the font style is specified.} \item{\verb{variant}}{the font variant is specified.} \item{\verb{weight}}{the font weight is specified.} \item{\verb{stretch}}{the font stretch is specified.} \item{\verb{size}}{the font size is specified.} } } }} \section{User Functions}{\describe{\item{\code{PangoFontsetForeachFunc(fontset, font, data)}}{ A callback function used by \code{\link{pangoFontsetForeach}} when enumerating the fonts in a fontset. Since 1.4 \describe{ \item{\code{fontset}}{[\code{\link{PangoFontset}}] a \code{\link{PangoFontset}}} \item{\code{font}}{[\code{\link{PangoFont}}] a font from \code{fontset}} \item{\code{data}}{[R object] callback data} } \emph{Returns:} [logical] if \code{TRUE}, stop iteration and return immediately. }}} \references{\url{http://library.gnome.org/devel//pango/pango-Fonts.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextSetCairoContext.Rd0000644000176000001440000000136112362217677020461 0ustar ripleyusers\alias{gtkPrintContextSetCairoContext} \name{gtkPrintContextSetCairoContext} \title{gtkPrintContextSetCairoContext} \description{Sets a new cairo context on a print context. } \usage{gtkPrintContextSetCairoContext(object, cr, dpi.x, dpi.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintContext}}} \item{\verb{cr}}{the cairo context} \item{\verb{dpi.x}}{the horizontal resolution to use with \code{cr}} \item{\verb{dpi.y}}{the vertical resolution to use with \code{cr}} } \details{This function is intended to be used when implementing an internal print preview, it is not needed for printing, since GTK+ itself creates a suitable cairo context in that case. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetVisited.Rd0000644000176000001440000000100012362217677017033 0ustar ripleyusers\alias{gtkRecentInfoGetVisited} \name{gtkRecentInfoGetVisited} \title{gtkRecentInfoGetVisited} \description{Gets the timestamp (seconds from system's Epoch) when the resource was last visited.} \usage{gtkRecentInfoGetVisited(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[integer] the number of seconds elapsed from system's Epoch when the resource was last visited, or -1 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDefaultIconList.Rd0000644000176000001440000000075512362217677017710 0ustar ripleyusers\alias{gtkWindowGetDefaultIconList} \name{gtkWindowGetDefaultIconList} \title{gtkWindowGetDefaultIconList} \description{Gets the value set by \code{\link{gtkWindowSetDefaultIconList}}. but the pixbufs in the list have not had their reference count incremented.} \usage{gtkWindowGetDefaultIconList()} \value{[list] copy of default icon list. \emph{[ \acronym{element-type} GdkPixbuf][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookAppendPage.Rd0000644000176000001440000000130112362217677016520 0ustar ripleyusers\alias{gtkNotebookAppendPage} \name{gtkNotebookAppendPage} \title{gtkNotebookAppendPage} \description{Appends a page to \code{notebook}.} \usage{gtkNotebookAppendPage(object, child, tab.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} } \value{[integer] the index (starting from 0) of the appended page in the notebook, or -1 if function fails} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryInfoFinish.Rd0000644000176000001440000000127712362217677016352 0ustar ripleyusers\alias{gFileQueryInfoFinish} \name{gFileQueryInfoFinish} \title{gFileQueryInfoFinish} \description{Finishes an asynchronous file info query. See \code{\link{gFileQueryInfoAsync}}.} \usage{gFileQueryInfoFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] \code{\link{GFileInfo}} for given \code{file} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetLabel.Rd0000644000176000001440000000077412362217677015463 0ustar ripleyusers\alias{gtkLabelSetLabel} \name{gtkLabelSetLabel} \title{gtkLabelSetLabel} \description{Sets the text of the label. The label is interpreted as including embedded underlines and/or Pango markup depending on the values of the \verb{"use-underline"}" and \verb{"use-markup"} properties.} \usage{gtkLabelSetLabel(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{str}}{the new text to set for the label} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinnerStop.Rd0000644000176000001440000000045612362217677015311 0ustar ripleyusers\alias{gtkSpinnerStop} \name{gtkSpinnerStop} \title{gtkSpinnerStop} \description{Stops the animation of the spinner.} \usage{gtkSpinnerStop(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinner}}}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GError.Rd0000644000176000001440000000271211766145227013512 0ustar ripleyusers\name{GError} \alias{GError} \alias{GFileError} \alias{GDK_PIXBUF_ERROR} \alias{GTK_FILE_CHOOSER_ERROR} \alias{GTK_ICON_THEME_ERROR} \alias{G_FILE_ERROR} \alias{gFileErrorQuark} \alias{gdkPixbufErrorQuark} \alias{gtkIconThemeErrorQuark} \alias{gtkPrintErrorQuark} \alias{gtkRecentChooserErrorQuark} \alias{gtkRecentManagerErrorQuark} \alias{gtkBuilderErrorQuark} \alias{gIoErrorQuark} \alias{gResolverErrorQuark} \title{The GError object} \description{ GLib provides a standard method of reporting errors from a called function to the calling code. (This is the same problem solved by exceptions in other languages.) } \details{ As a \link{transparent-type}, a \code{GError} is returned to the user as a list with the following elements: \describe{ \item{domain}{a numeric vector with one named element that identifies the error domain} \item{code}{an integer code (often an enum value) identifying the specific error type within the domain} \item{message}{a descriptive error message} } The domain is usually retrived via a function of the form NAME\_OF\_DOMAIN\_ERROR(). For example, for \code{\link{GdkPixbuf}}, the error domain is provided by \code{GDK_PIXBUF_ERROR()}. } \seealso{ \code{\link{GdkPixbufError}} \code{\link{GtkFileChooserError}} \code{\link{GtkPrintError}} \code{\link{GtkRecentChooserError}} \code{\link{GtkRecentManagerError}} } \references{\url{http://developer.gnome.org/doc/API/2.0/glib/glib-Error-Reporting.html}} \keyword{interface} \keyword{internal} RGtk2/man/GtkFontSelectionDialog.Rd0000644000176000001440000000514212362217677016656 0ustar ripleyusers\alias{GtkFontSelectionDialog} \alias{gtkFontSelectionDialog} \name{GtkFontSelectionDialog} \title{GtkFontSelectionDialog} \description{A dialog box for selecting fonts} \section{Methods and Functions}{ \code{\link{gtkFontSelectionDialogNew}(title = NULL, show = TRUE)}\cr \code{\link{gtkFontSelectionDialogGetFont}(object)}\cr \code{\link{gtkFontSelectionDialogGetFontName}(object)}\cr \code{\link{gtkFontSelectionDialogSetFontName}(object, fontname)}\cr \code{\link{gtkFontSelectionDialogGetPreviewText}(object)}\cr \code{\link{gtkFontSelectionDialogSetPreviewText}(object, text)}\cr \code{\link{gtkFontSelectionDialogGetApplyButton}(object)}\cr \code{\link{gtkFontSelectionDialogGetApplyButton}(object)}\cr \code{\link{gtkFontSelectionDialogGetCancelButton}(object)}\cr \code{\link{gtkFontSelectionDialogGetOkButton}(object)}\cr \code{gtkFontSelectionDialog(title = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFontSelectionDialog}} \section{Interfaces}{GtkFontSelectionDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkFontSelectionDialog}} widget is a dialog box for selecting a font. To set the font which is initially selected, use \code{\link{gtkFontSelectionDialogSetFontName}}. To get the selected font use \code{\link{gtkFontSelectionDialogGetFontName}}. To change the text which is shown in the preview area, use \code{\link{gtkFontSelectionDialogSetPreviewText}}.} \section{GtkFontSelectionDialog as GtkBuildable}{The GtkFontSelectionDialog implementation of the GtkBuildable interface exposes the embedded \code{\link{GtkFontSelection}} as internal child with the name "font_selection". It also exposes the buttons with the names "ok_button", "cancel_button" and "apply_button".} \section{Structures}{\describe{\item{\verb{GtkFontSelectionDialog}}{ \emph{undocumented } \describe{ \item{\verb{okButton}}{[\code{\link{GtkWidget}}] } \item{\verb{applyButton}}{[\code{\link{GtkWidget}}] } \item{\verb{cancelButton}}{[\code{\link{GtkWidget}}] } } }}} \section{Convenient Construction}{\code{gtkFontSelectionDialog} is the equivalent of \code{\link{gtkFontSelectionDialogNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkFontSelectionDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellDeselect.Rd0000644000176000001440000000052312362217677016365 0ustar ripleyusers\alias{gtkMenuShellDeselect} \name{gtkMenuShellDeselect} \title{gtkMenuShellDeselect} \description{Deselects the currently selected item from the menu shell, if any.} \usage{gtkMenuShellDeselect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuShell}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintBox.Rd0000644000176000001440000000166512362217677014554 0ustar ripleyusers\alias{gtkPaintBox} \name{gtkPaintBox} \title{gtkPaintBox} \description{Draws a box on \code{window} with the given parameters.} \usage{gtkPaintBox(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the box} \item{\verb{y}}{y origin of the box} \item{\verb{width}}{the width of the box} \item{\verb{height}}{the height of the box} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtLine.Rd0000644000176000001440000000100512362217677017453 0ustar ripleyusers\alias{gtkTextBufferGetIterAtLine} \name{gtkTextBufferGetIterAtLine} \title{gtkTextBufferGetIterAtLine} \description{Initializes \code{iter} to the start of the given line.} \usage{gtkTextBufferGetIterAtLine(object, line.number)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{line.number}}{line number counting from 0} } \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeInt64.Rd0000644000176000001440000000077112362217677017346 0ustar ripleyusers\alias{gFileInfoSetAttributeInt64} \name{gFileInfoSetAttributeInt64} \title{gFileInfoSetAttributeInt64} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeInt64(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{attribute name to set.} \item{\verb{attr.value}}{int64 value to set attribute to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetDefaultAttributes.Rd0000644000176000001440000000127112362217677020614 0ustar ripleyusers\alias{gtkTextViewGetDefaultAttributes} \name{gtkTextViewGetDefaultAttributes} \title{gtkTextViewGetDefaultAttributes} \description{Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You'd typically pass the default attributes in to \code{\link{gtkTextIterGetAttributes}} in order to get the attributes in effect at a given text position.} \usage{gtkTextViewGetDefaultAttributes(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \details{ and should be freed.} \value{[\code{\link{GtkTextAttributes}}] a new \code{\link{GtkTextAttributes}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOutputStreamQueryInfoAsync.Rd0000644000176000001440000000211612362217677020575 0ustar ripleyusers\alias{gFileOutputStreamQueryInfoAsync} \name{gFileOutputStreamQueryInfoAsync} \title{gFileOutputStreamQueryInfoAsync} \description{Asynchronously queries the \code{stream} for a \code{\link{GFileInfo}}. When completed, \code{callback} will be called with a \code{\link{GAsyncResult}} which can be used to finish the operation with \code{\link{gFileOutputStreamQueryInfoFinish}}.} \usage{gFileOutputStreamQueryInfoAsync(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFileOutputStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For the synchronous version of this function, see \code{\link{gFileOutputStreamQueryInfo}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTipsQueryStopQuery.Rd0000644000176000001440000000062412362217677016663 0ustar ripleyusers\alias{gtkTipsQueryStopQuery} \name{gtkTipsQueryStopQuery} \title{gtkTipsQueryStopQuery} \description{ Stops a query. \strong{WARNING: \code{gtk_tips_query_stop_query} is deprecated and should not be used in newly-written code.} } \usage{gtkTipsQueryStopQuery(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTipsQuery}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetVadjustment.Rd0000644000176000001440000000113012362217677016716 0ustar ripleyusers\alias{gtkCListGetVadjustment} \name{gtkCListGetVadjustment} \title{gtkCListGetVadjustment} \description{ Gets the \code{\link{GtkAdjustment}} currently being used for the vertical aspect. \strong{WARNING: \code{gtk_clist_get_vadjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetVadjustment(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to check.}} \value{[\code{\link{GtkAdjustment}}] A \code{\link{GtkAdjustment}} object, or NULL if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetText.Rd0000644000176000001440000000100712362217677015771 0ustar ripleyusers\alias{gtkTooltipSetText} \name{gtkTooltipSetText} \title{gtkTooltipSetText} \description{Sets the text of the tooltip to be \code{text}. If \code{text} is \code{NULL}, the label will be hidden. See also \code{\link{gtkTooltipSetMarkup}}.} \usage{gtkTooltipSetText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{text}}{a text string or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSetListenBacklog.Rd0000644000176000001440000000132012362217677017023 0ustar ripleyusers\alias{gSocketSetListenBacklog} \name{gSocketSetListenBacklog} \title{gSocketSetListenBacklog} \description{Sets the maximum number of outstanding connections allowed when listening on this socket. If more clients than this are connecting to the socket and the application is not handling them on time then the new connections will be refused.} \usage{gSocketSetListenBacklog(object, backlog)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{backlog}}{the maximum number of pending connections.} } \details{Note that this must be called before \code{\link{gSocketListen}} and has no effect if called after that. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamIsClosed.Rd0000644000176000001440000000063312362217677016565 0ustar ripleyusers\alias{gOutputStreamIsClosed} \name{gOutputStreamIsClosed} \title{gOutputStreamIsClosed} \description{Checks if an output stream has already been closed.} \usage{gOutputStreamIsClosed(object)} \arguments{\item{\verb{object}}{a \code{\link{GOutputStream}}.}} \value{[logical] \code{TRUE} if \code{stream} is closed. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetInvisibleChar.Rd0000644000176000001440000000142612362217677017243 0ustar ripleyusers\alias{gtkEntrySetInvisibleChar} \name{gtkEntrySetInvisibleChar} \title{gtkEntrySetInvisibleChar} \description{Sets the character to use in place of the actual text when \code{\link{gtkEntrySetVisibility}} has been called to set text visibility to \code{FALSE}. i.e. this is the character used in "password mode" to show the user how many characters have been typed. By default, GTK+ picks the best invisible char available in the current font. If you set the invisible char to 0, then the user will get no feedback at all; there will be no text on the screen as they type.} \usage{gtkEntrySetInvisibleChar(object, ch)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{ch}}{a Unicode character} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetHscrollbar.Rd0000644000176000001440000000100712362217677020431 0ustar ripleyusers\alias{gtkScrolledWindowGetHscrollbar} \name{gtkScrolledWindowGetHscrollbar} \title{gtkScrolledWindowGetHscrollbar} \description{Returns the horizontal scrollbar of \code{scrolled.window}.} \usage{gtkScrolledWindowGetHscrollbar(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \details{Since 2.8} \value{[\code{\link{GtkWidget}}] the horizontal scrollbar of the scrolled window, or \code{NULL} if it does not have one.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetEntriesForKeycode.Rd0000644000176000001440000000207412362217677020176 0ustar ripleyusers\alias{gdkKeymapGetEntriesForKeycode} \name{gdkKeymapGetEntriesForKeycode} \title{gdkKeymapGetEntriesForKeycode} \description{Returns the keyvals bound to \code{hardware.keycode}. The Nth \code{\link{GdkKeymapKey}} in \code{keys} is bound to the Nth keyval in \code{keyvals}. When a keycode is pressed by the user, the keyval from this list of entries is selected by considering the effective keyboard group and level. See \code{\link{gdkKeymapTranslateKeyboardState}}.} \usage{gdkKeymapGetEntriesForKeycode(object, hardware.keycode)} \arguments{ \item{\verb{object}}{a \code{\link{GdkKeymap}} or \code{NULL} to use the default keymap} \item{\verb{hardware.keycode}}{a keycode} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there were any entries} \item{\verb{keys}}{return location for list of \code{\link{GdkKeymapKey}}, or NULL} \item{\verb{keyvals}}{return location for list of keyvals, or NULL} \item{\verb{n.entries}}{length of \code{keys} and \code{keyvals}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowReshowWithInitialSize.Rd0000644000176000001440000000065412362217677020465 0ustar ripleyusers\alias{gtkWindowReshowWithInitialSize} \name{gtkWindowReshowWithInitialSize} \title{gtkWindowReshowWithInitialSize} \description{Hides \code{window}, then reshows it, resetting the default size and position of the window. Used by GUI builders only.} \usage{gtkWindowReshowWithInitialSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaveToStream.Rd0000644000176000001440000000247712362217677016545 0ustar ripleyusers\alias{gdkPixbufSaveToStream} \name{gdkPixbufSaveToStream} \title{gdkPixbufSaveToStream} \description{Saves \code{pixbuf} to an output stream.} \usage{gdkPixbufSaveToStream(object, stream, type, cancellable, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{stream}}{a \code{\link{GOutputStream}} to save the pixbuf to} \item{\verb{type}}{name of file format} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Supported file formats are currently "jpeg", "tiff", "png", "ico" or "bmp". See \code{\link{gdkPixbufSaveToBuffer}} for more details. The \code{cancellable} can be used to abort the operation from another thread. If the operation was cancelled, the error \code{GIO_ERROR_CANCELLED} will be returned. Other possible errors are in the \verb{GDK_PIXBUF_ERROR} and \code{G_IO_ERROR} domains. The stream is not closed. Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the pixbuf was saved successfully, \code{FALSE} if an error was set.} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGcGet.Rd0000644000176000001440000000152412362217677014013 0ustar ripleyusers\alias{gtkGcGet} \name{gtkGcGet} \title{gtkGcGet} \description{Gets a \code{\link{GdkGC}} with the given depth, colormap and \code{\link{GdkGCValues}}. If a \code{\link{GdkGC}} with the given properties already exists then it is returned, otherwise a new \code{\link{GdkGC}} is created. The returned \code{\link{GdkGC}} should be released with \code{\link{gtkGcRelease}} when it is no longer needed.} \usage{gtkGcGet(depth, colormap, values)} \arguments{ \item{\verb{depth}}{the depth of the \code{\link{GdkGC}} to create.} \item{\verb{colormap}}{the \code{\link{GdkColormap}} (FIXME: I don't know why this is needed).} \item{\verb{values}}{a \code{\link{GdkGCValues}} struct containing settings for the \code{\link{GdkGC}}.} } \value{[\code{\link{GdkGC}}] a \code{\link{GdkGC}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileInputStream.Rd0000644000176000001440000000301512362217677015473 0ustar ripleyusers\alias{GFileInputStream} \name{GFileInputStream} \title{GFileInputStream} \description{File input streaming operations} \section{Methods and Functions}{ \code{\link{gFileInputStreamQueryInfo}(object, attributes, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileInputStreamQueryInfoAsync}(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileInputStreamQueryInfoFinish}(object, result, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GFileInputStream}} \section{Interfaces}{GFileInputStream implements \code{\link{GSeekable}}.} \section{Detailed Description}{GFileInputStream provides input streams that take their content from a file. GFileInputStream implements \code{\link{GSeekable}}, which allows the input stream to jump to arbitrary positions in the file, provided the filesystem of the file allows it. To find the position of a file input stream, use \code{\link{gSeekableTell}}. To find out if a file input stream supports seeking, use \code{gSeekableStreamCanSeek()}. To position a file input stream, use \code{\link{gSeekableSeek}}.} \section{Structures}{\describe{\item{\verb{GFileInputStream}}{ A subclass of GInputStream for opened files. This adds a few file-specific operations and seeking. \code{\link{GFileInputStream}} implements \code{\link{GSeekable}}. }}} \references{\url{http://library.gnome.org/devel//gio/GFileInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetModel.Rd0000644000176000001440000000074612362217677016202 0ustar ripleyusers\alias{gtkTreeViewGetModel} \name{gtkTreeViewGetModel} \title{gtkTreeViewGetModel} \description{Returns the model the \code{\link{GtkTreeView}} is based on. Returns \code{NULL} if the model is unset.} \usage{gtkTreeViewGetModel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \value{[\code{\link{GtkTreeModel}}] A \code{\link{GtkTreeModel}}, or \code{NULL} if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawGlyphItem.Rd0000644000176000001440000000241112362217677017544 0ustar ripleyusers\alias{pangoRendererDrawGlyphItem} \name{pangoRendererDrawGlyphItem} \title{pangoRendererDrawGlyphItem} \description{Draws the glyphs in \code{glyph.item} with the specified \code{\link{PangoRenderer}}, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example).} \usage{pangoRendererDrawGlyphItem(object, text, glyph.item, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{text}}{[char] the UTF-8 text that \code{glyph.item} refers to, or \code{NULL}} \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] a \code{\link{PangoGlyphItem}}} \item{\verb{x}}{[integer] X position of left edge of baseline, in user space coordinates in Pango units.} \item{\verb{y}}{[integer] Y position of left edge of baseline, in user space coordinates in Pango units.} } \details{Note that \code{text} is the start of the text for layout, which is then indexed by \code{glyph_item->item->offset}. If \code{text} is \code{NULL}, this simply calls \code{\link{pangoRendererDrawGlyphs}}. The default implementation of this method simply falls back to \code{\link{pangoRendererDrawGlyphs}}. Since 1.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOffscreenWindowGetPixbuf.Rd0000644000176000001440000000120012362217677017731 0ustar ripleyusers\alias{gtkOffscreenWindowGetPixbuf} \name{gtkOffscreenWindowGetPixbuf} \title{gtkOffscreenWindowGetPixbuf} \description{Retrieves a snapshot of the contained widget in the form of a \code{\link{GdkPixbuf}}. This is a new pixbuf with a reference count of 1, and the application should unreference it once it is no longer needed.} \usage{gtkOffscreenWindowGetPixbuf(object)} \arguments{\item{\verb{object}}{the \code{\link{GtkOffscreenWindow}} contained widget.}} \details{Since 2.20} \value{[\code{\link{GdkPixbuf}}] A \code{\link{GdkPixbuf}} pointer, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetColumnSpanColumn.Rd0000644000176000001440000000067212362217677020353 0ustar ripleyusers\alias{gtkComboBoxGetColumnSpanColumn} \name{gtkComboBoxGetColumnSpanColumn} \title{gtkComboBoxGetColumnSpanColumn} \description{Returns the column with column span information for \code{combo.box}.} \usage{gtkComboBoxGetColumnSpanColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.6} \value{[integer] the column span column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetBackground.Rd0000644000176000001440000000106712362217677016516 0ustar ripleyusers\alias{gtkCListSetBackground} \name{gtkCListSetBackground} \title{gtkCListSetBackground} \description{ Sets the background color for the specified row. \strong{WARNING: \code{gtk_clist_set_background} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetBackground(object, row, color)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{color}}{A pointer to a \code{\link{GdkColor}} structure.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAction.Rd0000644000176000001440000002117712362217677014205 0ustar ripleyusers\alias{GtkAction} \alias{gtkAction} \name{GtkAction} \title{GtkAction} \description{An action which can be triggered by a menu or toolbar item} \section{Methods and Functions}{ \code{\link{gtkActionNew}(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)}\cr \code{\link{gtkActionGetName}(object)}\cr \code{\link{gtkActionIsSensitive}(object)}\cr \code{\link{gtkActionGetSensitive}(object)}\cr \code{\link{gtkActionSetSensitive}(object, sensitive)}\cr \code{\link{gtkActionIsVisible}(object)}\cr \code{\link{gtkActionGetVisible}(object)}\cr \code{\link{gtkActionSetVisible}(object, visible)}\cr \code{\link{gtkActionActivate}(object)}\cr \code{\link{gtkActionCreateIcon}(object, icon.size)}\cr \code{\link{gtkActionCreateMenuItem}(object)}\cr \code{\link{gtkActionCreateToolItem}(object)}\cr \code{\link{gtkActionCreateMenu}(object)}\cr \code{\link{gtkActionConnectProxy}(object, proxy)}\cr \code{\link{gtkActionConnectProxy}(object, proxy)}\cr \code{\link{gtkActionDisconnectProxy}(object, proxy)}\cr \code{\link{gtkActionDisconnectProxy}(object, proxy)}\cr \code{\link{gtkActionGetProxies}(object)}\cr \code{\link{gtkActionConnectAccelerator}(object)}\cr \code{\link{gtkActionDisconnectAccelerator}(object)}\cr \code{\link{gtkActionBlockActivate}(object)}\cr \code{\link{gtkActionUnblockActivate}(object)}\cr \code{\link{gtkActionBlockActivateFrom}(object, proxy)}\cr \code{\link{gtkActionBlockActivateFrom}(object, proxy)}\cr \code{\link{gtkActionUnblockActivateFrom}(object, proxy)}\cr \code{\link{gtkActionUnblockActivateFrom}(object, proxy)}\cr \code{\link{gtkActionGetAlwaysShowImage}(object)}\cr \code{\link{gtkActionSetAlwaysShowImage}(object, always.show)}\cr \code{\link{gtkActionGetAccelPath}(object)}\cr \code{\link{gtkActionSetAccelPath}(object, accel.path)}\cr \code{\link{gtkActionGetAccelClosure}(object)}\cr \code{\link{gtkActionSetAccelGroup}(object, accel.group)}\cr \code{\link{gtkActionSetLabel}(object, label)}\cr \code{\link{gtkActionGetLabel}(object)}\cr \code{\link{gtkActionSetShortLabel}(object, short.label)}\cr \code{\link{gtkActionGetShortLabel}(object)}\cr \code{\link{gtkActionSetTooltip}(object, tooltip)}\cr \code{\link{gtkActionGetTooltip}(object)}\cr \code{\link{gtkActionSetStockId}(object, stock.id)}\cr \code{\link{gtkActionGetStockId}(object)}\cr \code{\link{gtkActionSetGicon}(object, icon)}\cr \code{\link{gtkActionGetGicon}(object)}\cr \code{\link{gtkActionSetIconName}(object, icon.name)}\cr \code{\link{gtkActionGetIconName}(object)}\cr \code{\link{gtkActionSetVisibleHorizontal}(object, visible.horizontal)}\cr \code{\link{gtkActionGetVisibleHorizontal}(object)}\cr \code{\link{gtkActionSetVisibleVertical}(object, visible.vertical)}\cr \code{\link{gtkActionGetVisibleVertical}(object)}\cr \code{\link{gtkActionSetIsImportant}(object, is.important)}\cr \code{\link{gtkActionGetIsImportant}(object)}\cr \code{gtkAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkAction +----GtkToggleAction +----GtkRecentAction}} \section{Interfaces}{GtkAction implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{Actions represent operations that the user can be perform, along with some information how it should be presented in the interface. Each action provides methods to create icons, menu items and toolbar items representing itself. As well as the callback that is called when the action gets activated, the following also gets associated with the action: \itemize{ \item a name (not translated, for path lookup) \item a label (translated, for display) \item an accelerator \item whether label indicates a stock id \item a tooltip (optional, translated) \item a toolbar label (optional, shorter than label) } The action will also have some state information: \itemize{ \item visible (shown/hidden) \item sensitive (enabled/disabled) } Apart from regular actions, there are \code{\link{GtkToggleAction}}, which can be toggled between two states and \code{\link{GtkRadioAction}}, of which only one in a group can be in the "active" state. Other actions can be implemented as \code{\link{GtkAction}} subclasses. Each action can have one or more proxy menu item, toolbar button or other proxy widgets. Proxies mirror the state of the action (text label, tooltip, icon, visible, sensitive, etc), and should change when the action's state changes. When the proxy is activated, it should activate its action.} \section{Structures}{\describe{\item{\verb{GtkAction}}{ The \code{GtkAction} struct contains only private members and should not be accessed directly. }}} \section{Convenient Construction}{\code{gtkAction} is the equivalent of \code{\link{gtkActionNew}}.} \section{Signals}{\describe{\item{\code{activate(action, user.data)}}{ The "activate" signal is emitted when the action is activated. Since 2.4 \describe{ \item{\code{action}}{the \code{\link{GtkAction}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{action-group} [\code{\link{GtkActionGroup}} : * : Read / Write]}{ The GtkActionGroup this GtkAction is associated with, or NULL (for internal use). } \item{\verb{always-show-image} [logical : Read / Write / Construct]}{ If \code{TRUE}, the action's menu item proxies will ignore the \verb{"gtk-menu-images"} setting and always show their image, if available. Use this property if the menu item would be useless or hard to use without their image. Default value: FALSE Since 2.20 } \item{\verb{gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The \code{\link{GIcon}} displayed in the \code{\link{GtkAction}}. Note that the stock icon is preferred, if the \verb{"stock-id"} property holds the id of an existing stock icon. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Since 2.16 } \item{\verb{hide-if-empty} [logical : Read / Write]}{ When TRUE, empty menu proxies for this action are hidden. Default value: TRUE } \item{\verb{icon-name} [character : * : Read / Write]}{ The name of the icon from the icon theme. Note that the stock icon is preferred, if the \verb{"stock-id"} property holds the id of an existing stock icon, and the \code{\link{GIcon}} is preferred if the \verb{"gicon"} property is set. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Default value: NULL Since 2.10 } \item{\verb{is-important} [logical : Read / Write]}{ Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode. Default value: FALSE } \item{\verb{label} [character : * : Read / Write]}{ The label used for menu items and buttons that activate this action. If the label is \code{NULL}, GTK+ uses the stock label specified via the stock-id property. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Default value: NULL } \item{\verb{name} [character : * : Read / Write / Construct Only]}{ A unique name for the action. Default value: NULL } \item{\verb{sensitive} [logical : Read / Write]}{ Whether the action is enabled. Default value: TRUE } \item{\verb{short-label} [character : * : Read / Write]}{ A shorter label that may be used on toolbar buttons. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Default value: NULL } \item{\verb{stock-id} [character : * : Read / Write]}{ The stock icon displayed in widgets representing this action. This is an appearance property and thus only applies if \verb{"use-action-appearance"} is \code{TRUE}. Default value: NULL } \item{\verb{tooltip} [character : * : Read / Write]}{ A tooltip for this action. Default value: NULL } \item{\verb{visible} [logical : Read / Write]}{ Whether the action is visible. Default value: TRUE } \item{\verb{visible-horizontal} [logical : Read / Write]}{ Whether the toolbar item is visible when the toolbar is in a horizontal orientation. Default value: TRUE } \item{\verb{visible-overflown} [logical : Read / Write]}{ When \code{TRUE}, toolitem proxies for this action are represented in the toolbar overflow menu. Default value: TRUE Since 2.6 } \item{\verb{visible-vertical} [logical : Read / Write]}{ Whether the toolbar item is visible when the toolbar is in a vertical orientation. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAction.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkActionGroup}} \code{\link{GtkUIManager}} } \keyword{internal} RGtk2/man/GtkMenuBar.Rd0000644000176000001440000000600612362217677014313 0ustar ripleyusers\alias{GtkMenuBar} \alias{gtkMenuBar} \alias{GtkPackDirection} \name{GtkMenuBar} \title{GtkMenuBar} \description{A subclass widget for GtkMenuShell which holds GtkMenuItem widgets} \section{Methods and Functions}{ \code{\link{gtkMenuBarNew}(show = TRUE)}\cr \code{\link{gtkMenuBarSetPackDirection}(object, pack.dir)}\cr \code{\link{gtkMenuBarGetPackDirection}(object)}\cr \code{\link{gtkMenuBarSetChildPackDirection}(object, child.pack.dir)}\cr \code{\link{gtkMenuBarGetChildPackDirection}(object)}\cr \code{gtkMenuBar(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenuBar}} \section{Interfaces}{GtkMenuBar implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkMenuBar}} is a subclass of \code{\link{GtkMenuShell}} which contains one to many \code{\link{GtkMenuItem}}. The result is a standard menu bar which can hold many menu items. \code{\link{GtkMenuBar}} allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the \verb{gtk_menu_bar_set_shadow_type} function.} \section{Structures}{\describe{\item{\verb{GtkMenuBar}}{ The \code{\link{GtkMenuBar}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) }}} \section{Convenient Construction}{\code{gtkMenuBar} is the equivalent of \code{\link{gtkMenuBarNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkPackDirection}}{ Determines how widgets should be packed insided menubars and menuitems contained in menubars. \describe{ \item{\verb{ltr}}{Widgets are packed left-to-right.} \item{\verb{rtl}}{Widgets are packed right-to-left.} \item{\verb{ttb}}{Widgets are packed top-to-bottom.} \item{\verb{btt}}{Widgets are packed bottom-to-top.} } }}} \section{Properties}{\describe{ \item{\verb{child-pack-direction} [\code{\link{GtkPackDirection}} : Read / Write]}{ The child pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged. Default value: GTK_PACK_DIRECTION_LTR Since 2.8 } \item{\verb{pack-direction} [\code{\link{GtkPackDirection}} : Read / Write]}{ The pack direction of the menubar. It determines how menuitems are arranged in the menubar. Default value: GTK_PACK_DIRECTION_LTR Since 2.8 } }} \section{Style Properties}{\describe{ \item{\verb{internal-padding} [integer : Read]}{ Amount of border space between the menubar shadow and the menu items. Allowed values: >= 0 Default value: 1 } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read]}{ Style of bevel around the menubar. Default value: GTK_SHADOW_OUT } }} \references{\url{http://library.gnome.org/devel//gtk/GtkMenuBar.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkMenuShell}} \code{\link{GtkMenu}} \code{\link{GtkMenuItem}} } \keyword{internal} RGtk2/man/gtkCheckMenuItemNewWithLabel.Rd0000644000176000001440000000070112362217677017745 0ustar ripleyusers\alias{gtkCheckMenuItemNewWithLabel} \name{gtkCheckMenuItemNewWithLabel} \title{gtkCheckMenuItemNewWithLabel} \description{Creates a new \code{\link{GtkCheckMenuItem}} with a label.} \usage{gtkCheckMenuItemNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{the string to use for the label.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCheckMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetSizeEntry.Rd0000644000176000001440000000107012362217677020107 0ustar ripleyusers\alias{gtkFontSelectionGetSizeEntry} \name{gtkFontSelectionGetSizeEntry} \title{gtkFontSelectionGetSizeEntry} \description{This returns the \code{\link{GtkEntry}} used to allow the user to edit the font number manually instead of selecting it from the list of font sizes.} \usage{gtkFontSelectionGetSizeEntry(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A \code{\link{GtkWidget}} that is part of \code{fontsel}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMcLinkLocal.Rd0000644000176000001440000000072712362217677017701 0ustar ripleyusers\alias{gInetAddressGetIsMcLinkLocal} \name{gInetAddressGetIsMcLinkLocal} \title{gInetAddressGetIsMcLinkLocal} \description{Tests whether \code{address} is a link-local multicast address.} \usage{gInetAddressGetIsMcLinkLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a link-local multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetIsImportant.Rd0000644000176000001440000000074712362217677017416 0ustar ripleyusers\alias{gtkToolItemGetIsImportant} \name{gtkToolItemGetIsImportant} \title{gtkToolItemGetIsImportant} \description{Returns whether \code{tool.item} is considered important. See \code{\link{gtkToolItemSetIsImportant}}} \usage{gtkToolItemGetIsImportant(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{tool.item} is considered important.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserUnselectFilename.Rd0000644000176000001440000000105211766145227020362 0ustar ripleyusers\alias{gtkFileChooserUnselectFilename} \name{gtkFileChooserUnselectFilename} \title{gtkFileChooserUnselectFilename} \description{Unselects a currently selected filename. If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing.} \usage{gtkFileChooserUnselectFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filename}}{the filename to unselect} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPreview.Rd0000644000176000001440000000562512362217677014411 0ustar ripleyusers\alias{GtkPreview} \alias{GtkPreviewInfo} \alias{gtkPreview} \name{GtkPreview} \title{GtkPreview} \description{A widget to display RGB or grayscale data} \section{Methods and Functions}{ \code{\link{gtkPreviewUninit}()}\cr \code{\link{gtkPreviewNew}(type, show = TRUE)}\cr \code{\link{gtkPreviewSize}(object, width, height)}\cr \code{\link{gtkPreviewPut}(object, window, gc, srcx, srcy, destx, desty, width, height)}\cr \code{\link{gtkPreviewDrawRow}(object, data, y, w)}\cr \code{\link{gtkPreviewSetExpand}(object, expand)}\cr \code{\link{gtkPreviewSetGamma}(gamma)}\cr \code{\link{gtkPreviewSetColorCube}(nred.shades, ngreen.shades, nblue.shades, ngray.shades)}\cr \code{\link{gtkPreviewSetInstallCmap}(install.cmap)}\cr \code{\link{gtkPreviewSetReserved}(nreserved)}\cr \code{\link{gtkPreviewSetDither}(object, dither)}\cr \code{\link{gtkPreviewGetVisual}()}\cr \code{\link{gtkPreviewGetCmap}()}\cr \code{\link{gtkPreviewGetInfo}()}\cr \code{\link{gtkPreviewReset}()}\cr \code{gtkPreview(type, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkPreview}} \section{Interfaces}{GtkPreview implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkPreview}} widget provides a simple interface used to display images as RGB or grayscale data. It's deprecated; just use a \code{\link{GdkPixbuf}} displayed by a \code{\link{GtkImage}}, or perhaps a \code{\link{GtkDrawingArea}}. \code{\link{GtkPreview}} has no advantage over those approaches.} \section{Structures}{\describe{ \item{\verb{GtkPreview}}{ \strong{WARNING: \code{GtkPreview} is deprecated and should not be used in newly-written code.} The \code{\link{GtkPreview}} struct contains private data only, and should be accessed using the functions below. } \item{\verb{GtkPreviewInfo}}{ \strong{WARNING: \code{GtkPreviewInfo} is deprecated and should not be used in newly-written code.} Contains information about global properties of preview widgets. The \code{\link{GtkPreviewInfo}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{ \code{\link{GdkVisual}} *visual; \tab the visual used by all previews. \cr \code{\link{GdkColormap}} *cmap; \tab the colormap used by all previews. \cr gdouble gamma; \tab the gamma correction value used by all previews (See \code{\link{gtkPreviewSetGamma}} ). \cr } } }} \section{Convenient Construction}{\code{gtkPreview} is the equivalent of \code{\link{gtkPreviewNew}}.} \section{Properties}{\describe{\item{\verb{expand} [logical : Read / Write]}{ Whether the preview widget should take up the entire space it is allocated. Default value: FALSE }}} \references{\url{http://library.gnome.org/devel//gtk/GtkPreview.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetDpiX.Rd0000644000176000001440000000070712362217677016712 0ustar ripleyusers\alias{gtkPrintContextGetDpiX} \name{gtkPrintContextGetDpiX} \title{gtkPrintContextGetDpiX} \description{Obtains the horizontal resolution of the \code{\link{GtkPrintContext}}, in dots per inch.} \usage{gtkPrintContextGetDpiX(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[numeric] the horizontal resolution of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetFocusOnClick.Rd0000644000176000001440000000102412362217677017430 0ustar ripleyusers\alias{gtkComboBoxGetFocusOnClick} \name{gtkComboBoxGetFocusOnClick} \title{gtkComboBoxGetFocusOnClick} \description{Returns whether the combo box grabs focus when it is clicked with the mouse. See \code{\link{gtkComboBoxSetFocusOnClick}}.} \usage{gtkComboBoxGetFocusOnClick(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if the combo box grabs focus when it is clicked with the mouse.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetCurrentFolderUri.Rd0000644000176000001440000000125712362217677021062 0ustar ripleyusers\alias{gtkFileChooserSetCurrentFolderUri} \name{gtkFileChooserSetCurrentFolderUri} \title{gtkFileChooserSetCurrentFolderUri} \description{Sets the current folder for \code{chooser} from an URI. The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders.} \usage{gtkFileChooserSetCurrentFolderUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{the URI for the new current folder} } \details{Since 2.4} \value{[logical] \code{TRUE} if the folder could be changed successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueClearArea.Rd0000644000176000001440000000214012362217677017005 0ustar ripleyusers\alias{gtkWidgetQueueClearArea} \name{gtkWidgetQueueClearArea} \title{gtkWidgetQueueClearArea} \description{ This function is no longer different from \code{\link{gtkWidgetQueueDrawArea}}, though it once was. Now it just calls \code{\link{gtkWidgetQueueDrawArea}}. Originally \code{\link{gtkWidgetQueueClearArea}} would force a redraw of the background for \code{GTK_NO_WINDOW} widgets, and \code{\link{gtkWidgetQueueDrawArea}} would not. Now both functions ensure the background will be redrawn. \strong{WARNING: \code{gtk_widget_queue_clear_area} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gtkWidgetQueueDrawArea}} instead.} } \usage{gtkWidgetQueueClearArea(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{x}}{x coordinate of upper-left corner of rectangle to redraw} \item{\verb{y}}{y coordinate of upper-left corner of rectangle to redraw} \item{\verb{width}}{width of region to draw} \item{\verb{height}}{height of region to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetEllipsize.Rd0000644000176000001440000000117312362217677017137 0ustar ripleyusers\alias{pangoLayoutGetEllipsize} \name{pangoLayoutGetEllipsize} \title{pangoLayoutGetEllipsize} \description{Gets the type of ellipsization being performed for \code{layout}. See \code{\link{pangoLayoutSetEllipsize}}} \usage{pangoLayoutGetEllipsize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{ Since 1.6} \value{[\code{\link{PangoEllipsizeMode}}] the current ellipsization mode for \code{layout}. Use \code{\link{pangoLayoutIsEllipsized}} to query whether any paragraphs were actually ellipsized.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarGetOrientation.Rd0000644000176000001440000000066312362217677020132 0ustar ripleyusers\alias{gtkProgressBarGetOrientation} \name{gtkProgressBarGetOrientation} \title{gtkProgressBarGetOrientation} \description{Retrieves the current progress bar orientation.} \usage{gtkProgressBarGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \value{[\code{\link{GtkProgressBarOrientation}}] orientation of the progress bar} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetDescription.Rd0000644000176000001440000000067512362217677017730 0ustar ripleyusers\alias{gtkRecentInfoGetDescription} \name{gtkRecentInfoGetDescription} \title{gtkRecentInfoGetDescription} \description{Gets the (short) description of the resource.} \usage{gtkRecentInfoGetDescription(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] the description of the resource. and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcAddDefaultFile.Rd0000644000176000001440000000065711766145227016110 0ustar ripleyusers\alias{gtkRcAddDefaultFile} \name{gtkRcAddDefaultFile} \title{gtkRcAddDefaultFile} \description{Adds a file to the list of files to be parsed at the end of \code{\link{gtkInit}}.} \usage{gtkRcAddDefaultFile(filename)} \arguments{\item{\verb{filename}}{the pathname to the file. If \code{filename} is not absolute, it is searched in the current directory.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetFromIconName.Rd0000644000176000001440000000102312362217677020022 0ustar ripleyusers\alias{gtkStatusIconSetFromIconName} \name{gtkStatusIconSetFromIconName} \title{gtkStatusIconSetFromIconName} \description{Makes \code{status.icon} display the icon named \code{icon.name} from the current icon theme. See \code{\link{gtkStatusIconNewFromIconName}} for details.} \usage{gtkStatusIconSetFromIconName(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{icon.name}}{an icon name} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetLabel.Rd0000644000176000001440000000053612362217677015641 0ustar ripleyusers\alias{gtkActionGetLabel} \name{gtkActionGetLabel} \title{gtkActionGetLabel} \description{Gets the label text of \code{action}.} \usage{gtkActionGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[character] the label text} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetVisibleSlice.Rd0000644000176000001440000000113612362217677017527 0ustar ripleyusers\alias{gtkTextIterGetVisibleSlice} \name{gtkTextIterGetVisibleSlice} \title{gtkTextIterGetVisibleSlice} \description{Like \code{\link{gtkTextIterGetSlice}}, but invisible text is not included. Invisible text is usually invisible because a \code{\link{GtkTextTag}} with the "invisible" attribute turned on has been applied to it.} \usage{gtkTextIterGetVisibleSlice(object, end)} \arguments{ \item{\verb{object}}{iterator at start of range} \item{\verb{end}}{iterator at end of range} } \value{[character] slice of text from the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetActiveIter.Rd0000644000176000001440000000114712362217677017167 0ustar ripleyusers\alias{gtkComboBoxSetActiveIter} \name{gtkComboBoxSetActiveIter} \title{gtkComboBoxSetActiveIter} \description{Sets the current active item to be the one referenced by \code{iter}, or unsets the active item if \code{iter} is \code{NULL}.} \usage{gtkComboBoxSetActiveIter(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{\code{iter} must correspond to a path of depth one, or be \code{NULL}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSetAccelPath.Rd0000644000176000001440000000271412362217677016770 0ustar ripleyusers\alias{gtkMenuItemSetAccelPath} \name{gtkMenuItemSetAccelPath} \title{gtkMenuItemSetAccelPath} \description{Set the accelerator path on \code{menu.item}, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage (see \code{\link{gtkAccelMapSave}} on this). To setup a default accelerator for this menu item, call \code{\link{gtkAccelMapAddEntry}} with the same \code{accel.path}. See also \code{\link{gtkAccelMapAddEntry}} on the specifics of accelerator paths, and \code{\link{gtkMenuSetAccelPath}} for a more convenient variant of this function.} \usage{gtkMenuItemSetAccelPath(object, accel.path)} \arguments{ \item{\verb{object}}{a valid \code{\link{GtkMenuItem}}} \item{\verb{accel.path}}{accelerator path, corresponding to this menu item's functionality, or \code{NULL} to unset the current path. \emph{[ \acronym{allow-none} ]}} } \details{This function is basically a convenience wrapper that handles calling \code{\link{gtkWidgetSetAccelPath}} with the appropriate accelerator group for the menu item. Note that you do need to set an accelerator on the parent menu with \code{\link{gtkMenuSetAccelGroup}} for this to work. Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetSizeRequest.Rd0000644000176000001440000000352012362217677017123 0ustar ripleyusers\alias{gtkWidgetSetSizeRequest} \name{gtkWidgetSetSizeRequest} \title{gtkWidgetSetSizeRequest} \description{Sets the minimum size of a widget; that is, the widget's size request will be \code{width} by \code{height}. You can use this function to force a widget to be either larger or smaller than it normally would be.} \usage{gtkWidgetSetSizeRequest(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{width}}{width \code{widget} should request, or -1 to unset} \item{\verb{height}}{height \code{widget} should request, or -1 to unset} } \details{In most cases, \code{\link{gtkWindowSetDefaultSize}} is a better choice for toplevel windows than this function; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, \code{\link{gtkWindowSetGeometryHints}} can be a useful function as well. Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. So, it's basically impossible to hardcode a size that will always be correct. The size request of a widget is the smallest size a widget can accept while still functioning well and drawing itself correctly. However in some strange cases a widget may be allocated less than its requested size, and in many cases a widget may be allocated more space than it requested. If the size request in a given direction is -1 (unset), then the "natural" size request of the widget will be used instead. Widgets can't actually be allocated a size less than 1 by 1, but you can pass 0,0 to this function to mean "as small as possible."} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufCompositeColorSimple.Rd0000644000176000001440000000221512362217677020271 0ustar ripleyusers\alias{gdkPixbufCompositeColorSimple} \name{gdkPixbufCompositeColorSimple} \title{gdkPixbufCompositeColorSimple} \description{Creates a new \code{\link{GdkPixbuf}} by scaling \code{src} to \code{dest.width} x \code{dest.height} and compositing the result with a checkboard of colors \code{color1} and \code{color2}.} \usage{gdkPixbufCompositeColorSimple(object, dest.width, dest.height, interp.type, overall.alpha, check.size, color1, color2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{dest.width}}{the width of destination image} \item{\verb{dest.height}}{the height of destination image} \item{\verb{interp.type}}{the interpolation type for the transformation.} \item{\verb{overall.alpha}}{overall alpha for source image (0..255)} \item{\verb{check.size}}{the size of checks in the checkboard (must be a power of two)} \item{\verb{color1}}{the color of check at upper left} \item{\verb{color2}}{the color of the other check} } \value{[\code{\link{GdkPixbuf}}] the new \code{\link{GdkPixbuf}}, or \code{NULL} if not enough memory could be allocated for it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetUpdateArea.Rd0000644000176000001440000000125512362217677016646 0ustar ripleyusers\alias{gdkWindowGetUpdateArea} \name{gdkWindowGetUpdateArea} \title{gdkWindowGetUpdateArea} \description{Transfers ownership of the update area from \code{window} to the caller of the function. That is, after calling this function, \code{window} will no longer have an invalid/dirty region; the update area is removed from \code{window} and handed to you. If a window has no update area, \code{\link{gdkWindowGetUpdateArea}} returns \code{NULL}.} \usage{gdkWindowGetUpdateArea(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkRegion}}] the update area for \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOpenReadwrite.Rd0000644000176000001440000000270112362217677016031 0ustar ripleyusers\alias{gFileOpenReadwrite} \name{gFileOpenReadwrite} \title{gFileOpenReadwrite} \description{Opens an existing file for reading and writing. The result is a \code{\link{GFileIOStream}} that can be used to read and write the contents of the file.} \usage{gFileOpenReadwrite(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GFile}} to open} \item{\verb{cancellable}}{a \code{\link{GCancellable}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. If the file is a directory, the G_IO_ERROR_IS_DIRECTORY error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on. Note that in many non-local file cases read and write streams are not supported, so make sure you really need to do read and write streaming, rather than just opening for reading or writing. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] \code{\link{GFileIOStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetIcon.Rd0000644000176000001440000000055512362217677015273 0ustar ripleyusers\alias{gAppInfoGetIcon} \name{gAppInfoGetIcon} \title{gAppInfoGetIcon} \description{Gets the icon for the application.} \usage{gAppInfoGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[\code{\link{GIcon}}] the default \code{\link{GIcon}} for \code{appinfo}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMessageDialog.Rd0000644000176000001440000001337212362217677015472 0ustar ripleyusers\alias{GtkMessageDialog} \alias{gtkMessageDialog} \alias{GtkMessageType} \alias{GtkButtonsType} \name{GtkMessageDialog} \title{GtkMessageDialog} \description{A convenient message window} \section{Methods and Functions}{ \code{\link{gtkMessageDialogNew}(parent = NULL, flags, type, buttons, ..., show = TRUE)}\cr \code{\link{gtkMessageDialogNewWithMarkup}(parent, flags, type, buttons, ..., show = TRUE)}\cr \code{\link{gtkMessageDialogSetMarkup}(object, str)}\cr \code{\link{gtkMessageDialogSetImage}(object, image)}\cr \code{\link{gtkMessageDialogGetImage}(object)}\cr \code{\link{gtkMessageDialogFormatSecondaryText}(object, ...)}\cr \code{\link{gtkMessageDialogFormatSecondaryMarkup}(object, ...)}\cr \code{gtkMessageDialog(parent, flags, type, buttons, ..., show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkMessageDialog}} \section{Interfaces}{GtkMessageDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkMessageDialog}} presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of \code{\link{GtkMessageDialog}} from \code{\link{GtkDialog}} without too much effort, but \code{\link{GtkMessageDialog}} saves typing. The easiest way to do a modal message dialog is to use \code{\link{gtkDialogRun}}, though you can also pass in the \code{GTK_DIALOG_MODAL} flag, \code{\link{gtkDialogRun}} automatically makes the dialog modal and waits for the user to respond to it. \code{\link{gtkDialogRun}} returns when any dialog button is clicked. \emph{A modal dialog.} \preformatted{ # A Modal dialog dialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close", "Error loading file '", filename, "': ", message) dialog$run() dialog$destroy() } You might do a non-modal \code{\link{GtkMessageDialog}} as follows: \emph{A non-modal dialog.} \preformatted{ dialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close", "Error loading file '", filename, "': ", message) # Destroy the dialog when the user responds to it (e.g. clicks a button) gSignalConnect(dialog, "response", gtkWidgetDestroy) }} \section{Structures}{\describe{\item{\verb{GtkMessageDialog}}{ \emph{undocumented } \describe{ \item{\verb{image}}{[\code{\link{GtkWidget}}] } \item{\verb{label}}{[\code{\link{GtkWidget}}] } } }}} \section{Convenient Construction}{\code{gtkMessageDialog} is the result of collapsing the constructors of \code{GtkMessageDialog} (\code{\link{gtkMessageDialogNew}}, \code{\link{gtkMessageDialogNewWithMarkup}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkMessageType}}{ The type of message being displayed in the dialog. \describe{ \item{\verb{info}}{Informational message} \item{\verb{warning}}{Nonfatal warning message} \item{\verb{question}}{Question requiring a choice} \item{\verb{error}}{Fatal error message} } } \item{\verb{GtkButtonsType}}{ Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use \code{GTK_BUTTONS_NONE} then call \code{\link{gtkDialogAddButtons}}. \describe{ \item{\verb{none}}{no buttons at all} \item{\verb{ok}}{an OK button} \item{\verb{close}}{a Close button} \item{\verb{cancel}}{a Cancel button} \item{\verb{yes-no}}{Yes and No buttons} \item{\verb{ok-cancel}}{OK and Cancel buttons} } } }} \section{Properties}{\describe{ \item{\verb{buttons} [\code{\link{GtkButtonsType}} : Write / Construct Only]}{ The buttons shown in the message dialog. Default value: GTK_BUTTONS_NONE } \item{\verb{image} [\code{\link{GtkWidget}} : * : Read / Write]}{ The image for this dialog. Since 2.10 } \item{\verb{message-type} [\code{\link{GtkMessageType}} : Read / Write / Construct]}{ The type of the message. The type is used to determine the image that is shown in the dialog, unless the image is explicitly set by the ::image property. Default value: GTK_MESSAGE_INFO } \item{\verb{secondary-text} [character : * : Read / Write]}{ The secondary text of the message dialog. Default value: NULL Since 2.10 } \item{\verb{secondary-use-markup} [logical : Read / Write]}{ \code{TRUE} if the secondary text of the dialog includes Pango markup. See \code{\link{pangoParseMarkup}}. Default value: FALSE Since 2.10 } \item{\verb{text} [character : * : Read / Write]}{ The primary text of the message dialog. If the dialog has a secondary text, this will appear as the title. Default value: "" Since 2.10 } \item{\verb{use-markup} [logical : Read / Write]}{ \code{TRUE} if the primary text of the dialog includes Pango markup. See \code{\link{pangoParseMarkup}}. Default value: FALSE Since 2.10 } }} \section{Style Properties}{\describe{ \item{\verb{message-border} [integer : Read]}{ Width of border around the label and image in the message dialog. Allowed values: >= 0 Default value: 12 } \item{\verb{use-separator} [logical : Read]}{ Whether to draw a separator line between the message label and the buttons in the dialog. Default value: FALSE Since 2.4 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkMessageDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkDialog}}} \keyword{internal} RGtk2/man/GThreadedSocketService.Rd0000644000176000001440000000507512362217677016642 0ustar ripleyusers\alias{GThreadedSocketService} \alias{gThreadedSocketService} \name{GThreadedSocketService} \title{GThreadedSocketService} \description{A threaded GSocketService} \section{Methods and Functions}{ \code{\link{gThreadedSocketServiceNew}(max.threads)}\cr \code{gThreadedSocketService(max.threads)} } \section{Hierarchy}{\preformatted{GObject +----GSocketListener +----GSocketService +----GThreadedSocketService}} \section{Detailed Description}{A \code{\link{GThreadedSocketService}} is a simple subclass of \code{\link{GSocketService}} that handles incoming connections by creating a worker thread and dispatching the connection to it by emitting the ::run signal in the new thread. The signal handler may perform blocking IO and need not return until the connection is closed. The service is implemented using a thread pool, so there is a limited amount of threads availible to serve incomming requests. The service automatically stops the \code{\link{GSocketService}} from accepting new connections when all threads are busy. As with \code{\link{GSocketService}}, you may connect to \verb{"run"}, or subclass and override the default handler.} \section{Structures}{\describe{\item{\verb{GThreadedSocketService}}{ A helper class for handling accepting incomming connections in the glib mainloop and handling them in a thread. Since 2.22 }}} \section{Convenient Construction}{\code{gThreadedSocketService} is the equivalent of \code{\link{gThreadedSocketServiceNew}}.} \section{Signals}{\describe{\item{\code{run(service, connection, source.object, user.data)}}{ The ::run signal is emitted in a worker thread in response to an incoming connection. This thread is dedicated to handling \code{connection} and may perform blocking IO. The signal handler need not return until the connection is closed. \describe{ \item{\code{service}}{the \code{\link{GThreadedSocketService}}.} \item{\code{connection}}{a new \code{\link{GSocketConnection}} object.} \item{\code{source.object}}{the source_object passed to \code{\link{gSocketListenerAddAddress}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stope further signal handlers from being called }}} \section{Properties}{\describe{\item{\verb{max-threads} [integer : Read / Write / Construct Only]}{ The max number of threads handling clients for this service. Allowed values: >= -1 Default value: 10 }}} \references{\url{http://library.gnome.org/devel//gio/GThreadedSocketService.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetDisplayName.Rd0000644000176000001440000000300712362217677016143 0ustar ripleyusers\alias{gFileSetDisplayName} \name{gFileSetDisplayName} \title{gFileSetDisplayName} \description{Renames \code{file} to the specified display name.} \usage{gFileSetDisplayName(object, display.name, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{display.name}}{a string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The display name is converted from UTF8 to the correct encoding for the target filesystem if possible and the \code{file} is renamed to this. If you want to implement a rename operation in the user interface the edit name (\verb{G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME}) should be used as the initial value in the rename widget, and then the result after editing should be passed to \code{\link{gFileSetDisplayName}}. On success the resulting converted filename is returned. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFile}}] a \code{\link{GFile}} specifying what \code{file} was renamed to, or \code{NULL} if there was an error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintOption.Rd0000644000176000001440000000213412362217677015264 0ustar ripleyusers\alias{gtkPaintOption} \name{gtkPaintOption} \title{gtkPaintOption} \description{Draws a radio button indicator in the given rectangle on \code{window} with the given parameters.} \usage{gtkPaintOption(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle to draw the option in} \item{\verb{y}}{y origin of the rectangle to draw the option in} \item{\verb{width}}{the width of the rectangle to draw the option in} \item{\verb{height}}{the height of the rectangle to draw the option in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationAddTarget.Rd0000644000176000001440000000104512362217677016347 0ustar ripleyusers\alias{atkRelationAddTarget} \name{atkRelationAddTarget} \title{atkRelationAddTarget} \description{Adds the specified AtkObject to the target for the relation, if it is not already present. See also \code{\link{atkObjectAddRelationship}}.} \usage{atkRelationAddTarget(object, target)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}}} \item{\verb{target}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} } \details{ Since 1.9} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewUnsetModelDragSource.Rd0000644000176000001440000000072212362217677020523 0ustar ripleyusers\alias{gtkIconViewUnsetModelDragSource} \name{gtkIconViewUnsetModelDragSource} \title{gtkIconViewUnsetModelDragSource} \description{Undoes the effect of \code{\link{gtkIconViewEnableModelDragSource}}. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkIconViewUnsetModelDragSource(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionInsertActionMarkup.Rd0000644000176000001440000000112412362217677021654 0ustar ripleyusers\alias{gtkEntryCompletionInsertActionMarkup} \name{gtkEntryCompletionInsertActionMarkup} \title{gtkEntryCompletionInsertActionMarkup} \description{Inserts an action in \code{completion}'s action item list at position \code{index.} with markup \code{markup}.} \usage{gtkEntryCompletionInsertActionMarkup(object, index, markup)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{index}}{The index of the item to insert.} \item{\verb{markup}}{Markup of the item to insert.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewScrollMarkOnscreen.Rd0000644000176000001440000000076012362217677020271 0ustar ripleyusers\alias{gtkTextViewScrollMarkOnscreen} \name{gtkTextViewScrollMarkOnscreen} \title{gtkTextViewScrollMarkOnscreen} \description{Scrolls \code{text.view} the minimum distance such that \code{mark} is contained within the visible area of the widget.} \usage{gtkTextViewScrollMarkOnscreen(object, mark)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{mark}}{a mark in the buffer for \code{text.view}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetAlignment.Rd0000644000176000001440000000057112362217677016423 0ustar ripleyusers\alias{gtkEntryGetAlignment} \name{gtkEntryGetAlignment} \title{gtkEntryGetAlignment} \description{Gets the value set by \code{\link{gtkEntrySetAlignment}}.} \usage{gtkEntryGetAlignment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.4} \value{[numeric] the alignment} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMakeDirectory.Rd0000644000176000001440000000300512362217677016021 0ustar ripleyusers\alias{gFileMakeDirectory} \name{gFileMakeDirectory} \title{gFileMakeDirectory} \description{Creates a directory. Note that this will only create a child directory of the immediate parent directory of the path or URI given by the \code{\link{GFile}}. To recursively create directories, see \code{\link{gFileMakeDirectoryWithParents}}. This function will fail if the parent directory does not exist, setting \code{error} to \code{G_IO_ERROR_NOT_FOUND}. If the file system doesn't support creating directories, this function will fail, setting \code{error} to \code{G_IO_ERROR_NOT_SUPPORTED}.} \usage{gFileMakeDirectory(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{For a local \code{\link{GFile}} the newly created directory will have the default (current) ownership and permissions of the current process. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on successful creation, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewGetModel.Rd0000644000176000001440000000071212362217677016153 0ustar ripleyusers\alias{gtkCellViewGetModel} \name{gtkCellViewGetModel} \title{gtkCellViewGetModel} \description{Returns the model for \code{cell.view}. If no model is used \code{NULL} is returned.} \usage{gtkCellViewGetModel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellView}}}} \details{Since 2.16} \value{[\code{\link{GtkTreeModel}}] a \code{\link{GtkTreeModel}} used or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetNPages.Rd0000644000176000001440000000063312362217677016531 0ustar ripleyusers\alias{gtkAssistantGetNPages} \name{gtkAssistantGetNPages} \title{gtkAssistantGetNPages} \description{Returns the number of pages in the \code{assistant}} \usage{gtkAssistantGetNPages(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAssistant}}}} \details{Since 2.10} \value{[integer] The number of pages in the \code{assistant}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetPosition.Rd0000644000176000001440000000157112362217677016326 0ustar ripleyusers\alias{gtkEntrySetPosition} \name{gtkEntrySetPosition} \title{gtkEntrySetPosition} \description{ Sets the cursor position in an entry to the given value. \strong{WARNING: \code{gtk_entry_set_position} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEditableSetPosition}} instead.} } \usage{gtkEntrySetPosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{position}}{the position of the cursor. The cursor is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererActivate.Rd0000644000176000001440000000135112362217677016566 0ustar ripleyusers\alias{pangoRendererActivate} \name{pangoRendererActivate} \title{pangoRendererActivate} \description{Does initial setup before rendering operations on \code{renderer}. \code{\link{pangoRendererDeactivate}} should be called when done drawing. Calls such as \code{\link{pangoRendererDrawLayout}} automatically activate the layout before drawing on it. Calls to \code{\link{pangoRendererActivate}} and \code{\link{pangoRendererDeactivate}} can be nested and the renderer will only be initialized and deinitialized once.} \usage{pangoRendererActivate(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}}} \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkGetDeleted.Rd0000644000176000001440000000077312362217677016515 0ustar ripleyusers\alias{gtkTextMarkGetDeleted} \name{gtkTextMarkGetDeleted} \title{gtkTextMarkGetDeleted} \description{Returns \code{TRUE} if the mark has been removed from its buffer with \code{\link{gtkTextBufferDeleteMark}}. See \code{\link{gtkTextBufferAddMark}} for a way to add it to a buffer again.} \usage{gtkTextMarkGetDeleted(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextMark}}}} \value{[logical] whether the mark is deleted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetOpacity.Rd0000644000176000001440000000141412362217677016254 0ustar ripleyusers\alias{gdkWindowSetOpacity} \name{gdkWindowSetOpacity} \title{gdkWindowSetOpacity} \description{Request the windowing system to make \code{window} partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) } \usage{gdkWindowSetOpacity(object, opacity)} \arguments{ \item{\verb{object}}{a top-level \code{\link{GdkWindow}}} \item{\verb{opacity}}{opacity} } \details{On X11, this works only on X screens with a compositing manager running. For setting up per-pixel alpha, see \code{\link{gdkScreenGetRgbaColormap}}. For making non-toplevel windows translucent, see \code{\link{gdkWindowSetComposited}}. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableSetRowSpacings.Rd0000644000176000001440000000070712362217677016707 0ustar ripleyusers\alias{gtkTableSetRowSpacings} \name{gtkTableSetRowSpacings} \title{gtkTableSetRowSpacings} \description{Sets the space between every row in \code{table} equal to \code{spacing}.} \usage{gtkTableSetRowSpacings(object, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}}.} \item{\verb{spacing}}{the number of pixels of space to place between every row in the table.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontFromDescription.Rd0000644000176000001440000000150012362217677016732 0ustar ripleyusers\alias{gdkFontFromDescription} \name{gdkFontFromDescription} \title{gdkFontFromDescription} \description{ Load a \code{\link{GdkFont}} based on a Pango font description. This font will only be an approximation of the Pango font, and internationalization will not be handled correctly. This function should only be used for legacy code that cannot be easily converted to use Pango. Using Pango directly will produce better results. \strong{WARNING: \code{gdk_font_from_description} is deprecated and should not be used in newly-written code.} } \usage{gdkFontFromDescription(font.desc)} \arguments{\item{\verb{font.desc}}{a \code{\link{PangoFontDescription}}.}} \value{[\code{\link{GdkFont}}] the newly loaded font, or \code{NULL} if the font cannot be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeleteInteractive.Rd0000644000176000001440000000154312362217677020422 0ustar ripleyusers\alias{gtkTextBufferDeleteInteractive} \name{gtkTextBufferDeleteInteractive} \title{gtkTextBufferDeleteInteractive} \description{Deletes all \emph{editable} text in the given range. Calls \code{\link{gtkTextBufferDelete}} for each editable sub-range of [\code{start},\code{end}). \code{start} and \code{end} are revalidated to point to the location of the last deleted range, or left untouched if no text was deleted.} \usage{gtkTextBufferDeleteInteractive(object, start.iter, end.iter, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{start.iter}}{start of range to delete} \item{\verb{end.iter}}{end of range} \item{\verb{default.editable}}{whether the buffer is editable by default} } \value{[logical] whether some text was actually deleted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetResolutionXy.Rd0000644000176000001440000000116612362217677020722 0ustar ripleyusers\alias{gtkPrintSettingsSetResolutionXy} \name{gtkPrintSettingsSetResolutionXy} \title{gtkPrintSettingsSetResolutionXy} \description{Sets the values of \code{GTK_PRINT_SETTINGS_RESOLUTION}, \code{GTK_PRINT_SETTINGS_RESOLUTION_X} and \code{GTK_PRINT_SETTINGS_RESOLUTION_Y}.} \usage{gtkPrintSettingsSetResolutionXy(object, resolution.x, resolution.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{resolution.x}}{the horizontal resolution in dpi} \item{\verb{resolution.y}}{the vertical resolution in dpi} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonSetOrientation.Rd0000644000176000001440000000122512362217677020133 0ustar ripleyusers\alias{gtkScaleButtonSetOrientation} \name{gtkScaleButtonSetOrientation} \title{gtkScaleButtonSetOrientation} \description{ Sets the orientation of the \code{\link{GtkScaleButton}}'s popup window. \strong{WARNING: \code{gtk_scale_button_set_orientation} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkOrientableSetOrientation}} instead.} } \usage{gtkScaleButtonSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScaleButton}}} \item{\verb{orientation}}{the new orientation} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHBox.Rd0000644000176000001440000000271012362217677013620 0ustar ripleyusers\alias{GtkHBox} \alias{gtkHBox} \name{GtkHBox} \title{GtkHBox} \description{A horizontal container box} \section{Methods and Functions}{ \code{\link{gtkHBoxNew}(homogeneous = NULL, spacing = NULL, show = TRUE)}\cr \code{gtkHBox(homogeneous = NULL, spacing = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkCombo +----GtkFileChooserButton +----GtkInfoBar +----GtkStatusbar}} \section{Interfaces}{GtkHBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{GtkHBox is a container that organizes child widgets into a single row. Use the \code{\link{GtkBox}} packing interface to determine the arrangement, spacing, width, and alignment of GtkHBox children. All children are allocated the same height.} \section{Structures}{\describe{\item{\verb{GtkHBox}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkHBox} is the equivalent of \code{\link{gtkHBoxNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonGetGroup.Rd0000644000176000001440000000065512362217677017573 0ustar ripleyusers\alias{gtkRadioToolButtonGetGroup} \name{gtkRadioToolButtonGetGroup} \title{gtkRadioToolButtonGetGroup} \description{Returns the radio button group \code{button} belongs to.} \usage{gtkRadioToolButtonGetGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRadioToolButton}}}} \details{Since 2.4} \value{[list] The group \code{button} belongs to.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetOrientation.Rd0000644000176000001440000000071412362217677017607 0ustar ripleyusers\alias{gtkPageSetupSetOrientation} \name{gtkPageSetupSetOrientation} \title{gtkPageSetupSetOrientation} \description{Sets the page orientation of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{orientation}}{a \code{\link{GtkPageOrientation}} value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayGetTab.Rd0000644000176000001440000000120412362217677016130 0ustar ripleyusers\alias{pangoTabArrayGetTab} \name{pangoTabArrayGetTab} \title{pangoTabArrayGetTab} \description{Gets the alignment and position of a tab stop.} \usage{pangoTabArrayGetTab(object, tab.index)} \arguments{ \item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}} \item{\verb{tab.index}}{[integer] tab stop index} } \value{ A list containing the following elements: \item{\verb{alignment}}{[\code{\link{PangoTabAlign}}] location to store alignment, or \code{NULL}} \item{\verb{location}}{[integer] location to store tab position, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkBeep.Rd0000644000176000001440000000030112362217677013645 0ustar ripleyusers\alias{gdkBeep} \name{gdkBeep} \title{gdkBeep} \description{Emits a short beep on the default display.} \usage{gdkBeep()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterOutputStreamGetCloseBaseStream.Rd0000644000176000001440000000075112362217677021703 0ustar ripleyusers\alias{gFilterOutputStreamGetCloseBaseStream} \name{gFilterOutputStreamGetCloseBaseStream} \title{gFilterOutputStreamGetCloseBaseStream} \description{Returns whether the base stream will be closed when \code{stream} is closed.} \usage{gFilterOutputStreamGetCloseBaseStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GFilterOutputStream}}.}} \value{[logical] \code{TRUE} if the base stream will be closed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetMenuLabelText.Rd0000644000176000001440000000071712362217677017713 0ustar ripleyusers\alias{gtkNotebookSetMenuLabelText} \name{gtkNotebookSetMenuLabelText} \title{gtkNotebookSetMenuLabelText} \description{Creates a new label and sets it as the menu label of \code{child}.} \usage{gtkNotebookSetMenuLabelText(object, child, menu.text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the child widget} \item{\verb{menu.text}}{the label text} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddCustom.Rd0000644000176000001440000000161112362217677017211 0ustar ripleyusers\alias{gtkRecentFilterAddCustom} \name{gtkRecentFilterAddCustom} \title{gtkRecentFilterAddCustom} \description{Adds a rule to a filter that allows resources based on a custom callback function. The bitfield \code{needed} which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter.} \usage{gtkRecentFilterAddCustom(object, needed, func, data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{needed}}{bitfield of flags indicating the information that the custom filter function needs.} \item{\verb{func}}{callback function; if the function returns \code{TRUE}, then the file will be displayed.} \item{\verb{data}}{data to pass to \code{func}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortIterIsValid.Rd0000644000176000001440000000120612362217677017647 0ustar ripleyusers\alias{gtkTreeModelSortIterIsValid} \name{gtkTreeModelSortIterIsValid} \title{gtkTreeModelSortIterIsValid} \description{\strong{WARNING: This function is slow. Only use it for debugging and/or testing purposes.}} \usage{gtkTreeModelSortIterIsValid(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelSort}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} } \details{Checks if the given iter is a valid iter for this \code{\link{GtkTreeModelSort}}. Since 2.2} \value{[logical] \code{TRUE} if the iter is valid, \code{FALSE} if the iter is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetLineOffset.Rd0000644000176000001440000000133412362217677017224 0ustar ripleyusers\alias{gtkTextIterSetLineOffset} \name{gtkTextIterSetLineOffset} \title{gtkTextIterSetLineOffset} \description{Moves \code{iter} within a line, to a new \emph{character} (not byte) offset. The given character offset must be less than or equal to the number of characters in the line; if equal, \code{iter} moves to the start of the next line. See \code{\link{gtkTextIterSetLineIndex}} if you have a byte index rather than a character offset.} \usage{gtkTextIterSetLineOffset(object, char.on.line)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{char.on.line}}{a character offset relative to the start of \code{iter}'s current line} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemIterInitEnd.Rd0000644000176000001440000000140712362217677017342 0ustar ripleyusers\alias{pangoGlyphItemIterInitEnd} \name{pangoGlyphItemIterInitEnd} \title{pangoGlyphItemIterInitEnd} \description{Initializes a \code{\link{PangoGlyphItemIter}} structure to point to the last cluster in a glyph item. See \code{\link{PangoGlyphItemIter}} for details of cluster orders.} \usage{pangoGlyphItemIterInitEnd(object, glyph.item, text)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphItemIter}}] a \code{\link{PangoGlyphItemIter}}} \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] the glyph item to iterate over} \item{\verb{text}}{[char] text corresponding to the glyph item} } \details{ Since 1.22} \value{[logical] \code{FALSE} if there are no clusters in the glyph item} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetBitsPerSample.Rd0000644000176000001440000000057412362217677017336 0ustar ripleyusers\alias{gdkPixbufGetBitsPerSample} \name{gdkPixbufGetBitsPerSample} \title{gdkPixbufGetBitsPerSample} \description{Queries the number of bits per color sample in a pixbuf.} \usage{gdkPixbufGetBitsPerSample(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[integer] Number of bits per color sample.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMaximize.Rd0000644000176000001440000000142712362217677015757 0ustar ripleyusers\alias{gdkWindowMaximize} \name{gdkWindowMaximize} \title{gdkWindowMaximize} \description{Maximizes the window. If the window was already maximized, then this function does nothing.} \usage{gdkWindowMaximize(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{On X11, asks the window manager to maximize \code{window}, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "maximized"; so you can't rely on the maximization actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. On Windows, reliably maximizes the window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetAlignment.Rd0000644000176000001440000000107112362217677016433 0ustar ripleyusers\alias{gtkEntrySetAlignment} \name{gtkEntrySetAlignment} \title{gtkEntrySetAlignment} \description{Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry.} \usage{gtkEntrySetAlignment(object, xalign)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{xalign}}{The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSpinNew.Rd0000644000176000001440000000055012362217677016672 0ustar ripleyusers\alias{gtkCellRendererSpinNew} \name{gtkCellRendererSpinNew} \title{gtkCellRendererSpinNew} \description{Creates a new \code{\link{GtkCellRendererSpin}}.} \usage{gtkCellRendererSpinNew()} \details{Since 2.10} \value{[\code{\link{GtkCellRenderer}}] a new \code{\link{GtkCellRendererSpin}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetSelectMultiple.Rd0000644000176000001440000000117312362217677020554 0ustar ripleyusers\alias{gtkFileChooserSetSelectMultiple} \name{gtkFileChooserSetSelectMultiple} \title{gtkFileChooserSetSelectMultiple} \description{Sets whether multiple files can be selected in the file selector. This is only relevant if the action is set to be \code{GTK_FILE_CHOOSER_ACTION_OPEN} or \code{GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER}.} \usage{gtkFileChooserSetSelectMultiple(object, select.multiple)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{select.multiple}}{\code{TRUE} if multiple files can be selected.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkStreamableContent.Rd0000644000176000001440000000317612362217677016373 0ustar ripleyusers\alias{AtkStreamableContent} \name{AtkStreamableContent} \title{AtkStreamableContent} \description{The ATK interface which provides access to streamable content.} \section{Methods and Functions}{ \code{\link{atkStreamableContentGetNMimeTypes}(object)}\cr \code{\link{atkStreamableContentGetMimeType}(object, i)}\cr \code{\link{atkStreamableContentGetStream}(object, mime.type)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkStreamableContent}} \section{Detailed Description}{An interface whereby an object allows its backing content to be streamed to clients. Typical implementors would be images or icons, HTML content, or multimedia display/rendering widgets. Negotiation of content type is allowed. Clients may examine the backing data and transform, convert, or parse the content in order to present it in an alternate form to end-users. The AtkStreamableContent interface is particularly useful for saving, printing, or post-processing entire documents, or for persisting alternate views of a document. If document content itself is being serialized, stored, or converted, then use of the AtkStreamableContent interface can help address performance issues. Unlike most ATK interfaces, this interface is not strongly tied to the current user-agent view of the a particular document, but may in some cases give access to the underlying model data.} \section{Structures}{\describe{\item{\verb{AtkStreamableContent}}{ The AtkStreamableContent structure does not contain any fields. }}} \references{\url{http://library.gnome.org/devel//atk/AtkStreamableContent.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewConvertWidgetToBinWindowCoords.Rd0000644000176000001440000000142712362217677022552 0ustar ripleyusers\alias{gtkIconViewConvertWidgetToBinWindowCoords} \name{gtkIconViewConvertWidgetToBinWindowCoords} \title{gtkIconViewConvertWidgetToBinWindowCoords} \description{Converts widget coordinates to coordinates for the bin_window, as expected by e.g. \code{\link{gtkIconViewGetPathAtPos}}.} \usage{gtkIconViewConvertWidgetToBinWindowCoords(object, wx, wy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{wx}}{X coordinate relative to the widget} \item{\verb{wy}}{Y coordinate relative to the widget} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{bx}}{return location for bin_window X coordinate} \item{\verb{by}}{return location for bin_window Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextInsertText.Rd0000644000176000001440000000115012362217677017417 0ustar ripleyusers\alias{atkEditableTextInsertText} \name{atkEditableTextInsertText} \title{atkEditableTextInsertText} \description{Insert text at a given position.} \usage{atkEditableTextInsertText(object, string, position)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{string}}{[character] the text to insert} \item{\verb{position}}{[integer] The caller initializes this to the position at which to insert the text. After the call it points at the position after the newly inserted text.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Keyboard-Handling.Rd0000644000176000001440000001760512362217677016350 0ustar ripleyusers\alias{gdk-Keyboard-Handling} \alias{GdkKeymap} \alias{GdkKeymapKey} \name{gdk-Keyboard-Handling} \title{Key Values} \description{Functions for manipulating keyboard codes} \section{Methods and Functions}{ \code{\link{gdkKeymapGetDefault}()}\cr \code{\link{gdkKeymapGetForDisplay}(display)}\cr \code{\link{gdkKeymapLookupKey}(object, key)}\cr \code{\link{gdkKeymapTranslateKeyboardState}(object, hardware.keycode, state, group)}\cr \code{\link{gdkKeymapGetEntriesForKeyval}(object, keyval)}\cr \code{\link{gdkKeymapGetEntriesForKeycode}(object, hardware.keycode)}\cr \code{\link{gdkKeymapGetDirection}(object)}\cr \code{\link{gdkKeymapHaveBidiLayouts}(object)}\cr \code{\link{gdkKeymapGetCapsLockState}(object)}\cr \code{\link{gdkKeymapAddVirtualModifiers}(object)}\cr \code{\link{gdkKeymapMapVirtualModifiers}(object)}\cr \code{\link{gdkKeyvalName}(keyval)}\cr \code{\link{gdkKeyvalFromName}(keyval.name)}\cr \code{\link{gdkKeyvalConvertCase}(symbol)}\cr \code{\link{gdkKeyvalToUpper}(keyval)}\cr \code{\link{gdkKeyvalToLower}(keyval)}\cr \code{\link{gdkKeyvalIsUpper}(keyval)}\cr \code{\link{gdkKeyvalIsLower}(keyval)}\cr \code{\link{gdkKeyvalToUnicode}(keyval)}\cr \code{\link{gdkUnicodeToKeyval}(wc)}\cr } \section{Hierarchy}{\preformatted{GObject +----GdkKeymap}} \section{Detailed Description}{Key values are the codes which are sent whenever a key is pressed or released. They appear in the \code{keyval} field of the \code{\link{GdkEventKey}} structure, which is passed to signal handlers for the "key-press-event" and "key-release-event" signals. The complete list of key values can be found in the \file{} header file. \file{} is not included in \file{}, it must be included independently, because the file is quite large. Key values are regularly updated from the upstream X.org X11 implementation, so new values are added regularly. They will be prefixed with GDK_ rather than XF86XK_ or XK_ (for older symbols). Key values can be converted into a string representation using \code{\link{gdkKeyvalName}}. The reverse function, converting a string to a key value, is provided by \code{\link{gdkKeyvalFromName}}. The case of key values can be determined using \code{\link{gdkKeyvalIsUpper}} and \code{\link{gdkKeyvalIsLower}}. Key values can be converted to upper or lower case using \code{\link{gdkKeyvalToUpper}} and \code{\link{gdkKeyvalToLower}}. When it makes sense, key values can be converted to and from Unicode characters with \code{\link{gdkKeyvalToUnicode}} and \code{\link{gdkUnicodeToKeyval}}. One \code{\link{GdkKeymap}} object exists for each user display. \code{\link{gdkKeymapGetDefault}} returns the \code{\link{GdkKeymap}} for the default display; to obtain keymaps for other displays, use \code{\link{gdkKeymapGetForDisplay}}. A keymap is a mapping from \code{\link{GdkKeymapKey}} to key values. You can think of a \code{\link{GdkKeymapKey}} as a representation of a symbol printed on a physical keyboard key. That is, it contains three pieces of information. First, it contains the hardware keycode; this is an identifying number for a physical key. Second, it contains the \dfn{level} of the key. The level indicates which symbol on the key will be used, in a vertical direction. So on a standard US keyboard, the key with the number "1" on it also has the exclamation point ("!") character on it. The level indicates whether to use the "1" or the "!" symbol. The letter keys are considered to have a lowercase letter at level 0, and an uppercase letter at level 1, though only the uppercase letter is printed. Third, the \code{\link{GdkKeymapKey}} contains a group; groups are not used on standard US keyboards, but are used in many other countries. On a keyboard with groups, there can be 3 or 4 symbols printed on a single key. The group indicates movement in a horizontal direction. Usually groups are used for two different languages. In group 0, a key might have two English characters, and in group 1 it might have two Hebrew characters. The Hebrew characters will be printed on the key next to the English characters. In order to use a keymap to interpret a key event, it's necessary to first convert the keyboard state into an effective group and level. This is done via a set of rules that varies widely according to type of keyboard and user configuration. The function \code{\link{gdkKeymapTranslateKeyboardState}} accepts a keyboard state -- consisting of hardware keycode pressed, active modifiers, and active group -- applies the appropriate rules, and returns the group/level to be used to index the keymap, along with the modifiers which did not affect the group and level. i.e. it returns "unconsumed modifiers." The keyboard group may differ from the effective group used for keymap lookups because some keys don't have multiple groups - e.g. the Enter key is always in group 0 regardless of keyboard state. Note that \code{\link{gdkKeymapTranslateKeyboardState}} also returns the keyval, i.e. it goes ahead and performs the keymap lookup in addition to telling you which effective group/level values were used for the lookup. \code{\link{GdkEventKey}} already contains this keyval, however, so you don't normally need to call \code{\link{gdkKeymapTranslateKeyboardState}} just to get the keyval.} \section{Structures}{\describe{ \item{\verb{GdkKeymap}}{ A \code{GdkKeymap} defines the translation from keyboard state (including a hardware key, a modifier mask, and active keyboard group) to a keyval. This translation has two phases. The first phase is to determine the effective keyboard group and level for the keyboard state; the second phase is to look up the keycode/group/level triplet in the keymap and see what keyval it corresponds to. } \item{\verb{GdkKeymapKey}}{ A \code{GdkKeymapKey} is a hardware key that can be mapped to a keyval. \strong{\verb{GdkKeymapKey} is a \link{transparent-type}.} \describe{ \item{\code{keycode}}{the hardware keycode. This is an identifying number for a physical key.} \item{\code{group}}{indicates movement in a horizontal direction. Usually groups are used for two different languages. In group 0, a key might have two English characters, and in group 1 it might have two Hebrew characters. The Hebrew characters will be printed on the key next to the English characters.} \item{\code{level}}{indicates which symbol on the key will be used, in a vertical direction. So on a standard US keyboard, the key with the number "1" on it also has the exclamation point ("!") character on it. The level indicates whether to use the "1" or the "!" symbol. The letter keys are considered to have a lowercase letter at level 0, and an uppercase letter at level 1, though only the uppercase letter is printed.} } } }} \section{Signals}{\describe{ \item{\code{direction-changed(keymap, user.data)}}{ The ::direction-changed signal gets emitted when the direction of the keymap changes. Since 2.0 \describe{ \item{\code{keymap}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{keys-changed(keymap, user.data)}}{ The ::keys-changed signal is emitted when the mapping represented by \code{keymap} changes. Since 2.2 \describe{ \item{\code{keymap}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{state-changed(keymap, user.data)}}{ The ::state-changed signal is emitted when the state of the keyboard changes, e.g when Caps Lock is turned on or off. See \code{\link{gdkKeymapGetCapsLockState}}. Since 2.16 \describe{ \item{\code{keymap}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Keyboard-Handling.html}} \note{The keyval constants exist in RGtk2 as .gdkKeyvalName, so \code{.gdkPlus} for \kbd{plus}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeserializeGetCanCreateTags.Rd0000644000176000001440000000117512362217677022310 0ustar ripleyusers\alias{gtkTextBufferDeserializeGetCanCreateTags} \name{gtkTextBufferDeserializeGetCanCreateTags} \title{gtkTextBufferDeserializeGetCanCreateTags} \description{This functions returns the value set with \code{\link{gtkTextBufferDeserializeSetCanCreateTags}}} \usage{gtkTextBufferDeserializeGetCanCreateTags(object, format)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{format}}{a \code{\link{GdkAtom}} representing a registered rich text format} } \details{Since 2.10} \value{[logical] whether deserializing this format may create tags} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestFindSibling.Rd0000644000176000001440000000162012362217677016047 0ustar ripleyusers\alias{gtkTestFindSibling} \name{gtkTestFindSibling} \title{gtkTestFindSibling} \description{This function will search siblings of \code{base.widget} and siblings of its ancestors for all widgets matching \code{widget.type}. Of the matching widgets, the one that is geometrically closest to \code{base.widget} will be returned. The general purpose of this function is to find the most likely "action" widget, relative to another labeling widget. Such as finding a button or text entry widget, given it's corresponding label widget.} \usage{gtkTestFindSibling(base.widget, widget.type)} \arguments{ \item{\verb{base.widget}}{Valid widget, part of a widget hierarchy} \item{\verb{widget.type}}{Type of a aearched for sibling widget} } \details{Since 2.14} \value{[\code{\link{GtkWidget}}] a widget of type \code{widget.type} if any is found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableAttachDefaults.Rd0000644000176000001440000000210412362217677016661 0ustar ripleyusers\alias{gtkTableAttachDefaults} \name{gtkTableAttachDefaults} \title{gtkTableAttachDefaults} \description{As there are many options associated with \code{\link{gtkTableAttach}}, this convenience function provides the programmer with a means to add children to a table with identical padding and expansion options. The values used for the \code{\link{GtkAttachOptions}} are \code{GTK_EXPAND | GTK_FILL}, and the padding is set to 0.} \usage{gtkTableAttachDefaults(object, widget, left.attach, right.attach, top.attach, bottom.attach)} \arguments{ \item{\verb{object}}{The table to add a new child widget to.} \item{\verb{widget}}{The child widget to add.} \item{\verb{left.attach}}{The column number to attach the left side of the child widget to.} \item{\verb{right.attach}}{The column number to attach the right side of the child widget to.} \item{\verb{top.attach}}{The row number to attach the top of the child widget to.} \item{\verb{bottom.attach}}{The row number to attach the bottom of the child widget to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreNewv.Rd0000644000176000001440000000100712362217677015606 0ustar ripleyusers\alias{gtkListStoreNewv} \name{gtkListStoreNewv} \title{gtkListStoreNewv} \description{Non-vararg creation function. Used primarily by language bindings.} \usage{gtkListStoreNewv(value)} \arguments{\item{\verb{value}}{a list of \code{\link{GType}} types for the columns, from first to last. \emph{[ \acronym{array} length=n_columns]}}} \value{[\code{\link{GtkListStore}}] a new \code{\link{GtkListStore}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowPropagateKeyEvent.Rd0000644000176000001440000000146112362217677017607 0ustar ripleyusers\alias{gtkWindowPropagateKeyEvent} \name{gtkWindowPropagateKeyEvent} \title{gtkWindowPropagateKeyEvent} \description{Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles \code{event}. This is normally called by the default ::key_press_event and ::key_release_event handlers for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.} \usage{gtkWindowPropagateKeyEvent(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{event}}{a \code{\link{GdkEventKey}}} } \details{Since 2.4} \value{[logical] \code{TRUE} if a widget in the focus chain handled the event.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGet.Rd0000644000176000001440000000050712362217677015742 0ustar ripleyusers\alias{gVolumeMonitorGet} \name{gVolumeMonitorGet} \title{gVolumeMonitorGet} \description{Gets the volume monitor used by gio.} \usage{gVolumeMonitorGet()} \value{[\code{\link{GVolumeMonitor}}] a reference to the \code{\link{GVolumeMonitor}} used by gio.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardStore.Rd0000644000176000001440000000057712362217677015745 0ustar ripleyusers\alias{gtkClipboardStore} \name{gtkClipboardStore} \title{gtkClipboardStore} \description{Stores the current clipboard data somewhere so that it will stay around after the application has quit.} \usage{gtkClipboardStore(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHypertextGetLinkIndex.Rd0000644000176000001440000000120012362217677017245 0ustar ripleyusers\alias{atkHypertextGetLinkIndex} \name{atkHypertextGetLinkIndex} \title{atkHypertextGetLinkIndex} \description{Gets the index into the list of hyperlinks that is associated with the character specified by \code{char.index}.} \usage{atkHypertextGetLinkIndex(object, char.index)} \arguments{ \item{\verb{object}}{[\code{\link{AtkHypertext}}] an \code{\link{AtkHypertext}}} \item{\verb{char.index}}{[integer] a character index} } \value{[integer] an index into the list of hyperlinks in \code{hypertext}, or -1 if there is no hyperlink associated with this character.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetReceivesDefault.Rd0000644000176000001440000000122412362217677017711 0ustar ripleyusers\alias{gtkWidgetSetReceivesDefault} \name{gtkWidgetSetReceivesDefault} \title{gtkWidgetSetReceivesDefault} \description{Specifies whether \code{widget} will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.} \usage{gtkWidgetSetReceivesDefault(object, receives.default)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{receives.default}}{whether or not \code{widget} can be a default widget.} } \details{See \code{\link{gtkWidgetGrabDefault}} for details about the meaning of "default". Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontFaceStatus.Rd0000644000176000001440000000075612362217677016231 0ustar ripleyusers\alias{cairoFontFaceStatus} \name{cairoFontFaceStatus} \title{cairoFontFaceStatus} \description{Checks whether an error has previously occurred for this font face} \usage{cairoFontFaceStatus(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a \code{\link{CairoFontFace}}}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or another error such as \code{CAIRO_STATUS_NO_MEMORY}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoHasCurrentPoint.Rd0000644000176000001440000000074712362217677016430 0ustar ripleyusers\alias{cairoHasCurrentPoint} \name{cairoHasCurrentPoint} \title{cairoHasCurrentPoint} \description{Returns whether a current point is defined on the current path. See \code{\link{cairoGetCurrentPoint}} for details on the current point.} \usage{cairoHasCurrentPoint(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{ Since 1.6} \value{[logical] whether a current point is defined.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetText.Rd0000644000176000001440000000055712362217677016130 0ustar ripleyusers\alias{pangoLayoutGetText} \name{pangoLayoutGetText} \title{pangoLayoutGetText} \description{Gets the text in the layout.} \usage{pangoLayoutGetText(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[char] the text in the \code{layout}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMenuItem.Rd0000644000176000001440000001375312362217677014514 0ustar ripleyusers\alias{GtkMenuItem} \alias{gtkMenuItem} \name{GtkMenuItem} \title{GtkMenuItem} \description{The widget used for item in menus} \section{Methods and Functions}{ \code{\link{gtkMenuItemNew}(show = TRUE)}\cr \code{\link{gtkMenuItemNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkMenuItemNewWithMnemonic}(label, show = TRUE)}\cr \code{\link{gtkMenuItemSetRightJustified}(object, right.justified)}\cr \code{\link{gtkMenuItemGetRightJustified}(object)}\cr \code{\link{gtkMenuItemGetLabel}(object)}\cr \code{\link{gtkMenuItemSetLabel}(object, label)}\cr \code{\link{gtkMenuItemGetUseUnderline}(object)}\cr \code{\link{gtkMenuItemSetUseUnderline}(object, setting)}\cr \code{\link{gtkMenuItemSetSubmenu}(object, submenu)}\cr \code{\link{gtkMenuItemGetSubmenu}(object)}\cr \code{\link{gtkMenuItemRemoveSubmenu}(object)}\cr \code{\link{gtkMenuItemSetAccelPath}(object, accel.path)}\cr \code{\link{gtkMenuItemGetAccelPath}(object)}\cr \code{\link{gtkMenuItemSelect}(object)}\cr \code{\link{gtkMenuItemDeselect}(object)}\cr \code{\link{gtkMenuItemActivate}(object)}\cr \code{\link{gtkMenuItemToggleSizeRequest}(object, requisition)}\cr \code{\link{gtkMenuItemToggleSizeAllocate}(object, allocation)}\cr \code{gtkMenuItem(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkCheckMenuItem +----GtkImageMenuItem +----GtkSeparatorMenuItem +----GtkTearoffMenuItem}} \section{Interfaces}{GtkMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{The \code{\link{GtkMenuItem}} widget and the derived widgets are the only valid childs for menus. Their function is to correctly handle highlighting, alignment, events and submenus. As it derives from \code{\link{GtkBin}} it can hold any valid child widget, altough only a few are really useful.} \section{GtkMenuItem as GtkBuildable}{The GtkMenuItem implementation of the GtkBuildable interface supports adding a submenu by specifying "submenu" as the "type" attribute of a element. \emph{A UI definition fragment with submenus}\preformatted{ }} \section{Structures}{\describe{\item{\verb{GtkMenuItem}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkMenuItem} is the result of collapsing the constructors of \code{GtkMenuItem} (\code{\link{gtkMenuItemNew}}, \code{\link{gtkMenuItemNewWithLabel}}, \code{\link{gtkMenuItemNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{activate(menuitem, user.data)}}{ Emitted when the item is activated. \describe{ \item{\code{menuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{activate-item(menuitem, user.data)}}{ Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant signal is "activate". \describe{ \item{\code{menuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-size-allocate(menuitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{menuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-size-request(menuitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{menuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{accel-path} [character : * : Read / Write]}{ Sets the accelerator path of the menu item, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage. Default value: NULL Since 2.14 } \item{\verb{label} [character : * : Read / Write]}{ The text for the child label. Default value: "" Since 2.16 } \item{\verb{right-justified} [logical : Read / Write]}{ Sets whether the menu item appears justified at the right side of a menu bar. Default value: FALSE Since 2.14 } \item{\verb{submenu} [\code{\link{GtkMenu}} : * : Read / Write]}{ The submenu attached to the menu item, or NULL if it has none. Since 2.12 } \item{\verb{use-underline} [logical : Read / Write]}{ \code{TRUE} if underlines in the text indicate mnemonics Default value: FALSE Since 2.16 } }} \section{Style Properties}{\describe{ \item{\verb{arrow-scaling} [numeric : Read]}{ Amount of space used up by arrow, relative to the menu item's font size. Allowed values: [0,2] Default value: 0.8 } \item{\verb{arrow-spacing} [integer : Read]}{ Space between label and arrow. Allowed values: >= 0 Default value: 10 } \item{\verb{horizontal-padding} [integer : Read]}{ Padding to left and right of the menu item. Allowed values: >= 0 Default value: 3 } \item{\verb{selected-shadow-type} [\code{\link{GtkShadowType}} : Read]}{ Shadow type when item is selected. Default value: GTK_SHADOW_NONE } \item{\verb{toggle-spacing} [integer : Read]}{ Space between icon and label. Allowed values: >= 0 Default value: 5 } \item{\verb{width-chars} [integer : Read]}{ The minimum desired width of the menu item in characters. Allowed values: >= 0 Default value: 12 Since 2.14 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkMenuItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetSpacing.Rd0000644000176000001440000000075512362217677016556 0ustar ripleyusers\alias{gtkExpanderSetSpacing} \name{gtkExpanderSetSpacing} \title{gtkExpanderSetSpacing} \description{Sets the spacing field of \code{expander}, which is the number of pixels to place between expander and the child.} \usage{gtkExpanderSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{spacing}}{distance between the expander and child in pixels.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeIsHotSpot.Rd0000644000176000001440000000105412362217677015637 0ustar ripleyusers\alias{gtkCTreeIsHotSpot} \name{gtkCTreeIsHotSpot} \title{gtkCTreeIsHotSpot} \description{ \strong{WARNING: \code{gtk_ctree_is_hot_spot} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeIsHotSpot(object, x, y)} \arguments{ \item{\verb{object}}{True if the given coordinates lie on an expander button.} \item{\verb{x}}{\emph{undocumented }} \item{\verb{y}}{\emph{undocumented }} } \value{[logical] True if the given coordinates lie on an expander button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetUseDragWindow.Rd0000644000176000001440000000074712362217677017667 0ustar ripleyusers\alias{gtkToolItemGetUseDragWindow} \name{gtkToolItemGetUseDragWindow} \title{gtkToolItemGetUseDragWindow} \description{Returns whether \code{tool.item} has a drag window. See \code{\link{gtkToolItemSetUseDragWindow}}.} \usage{gtkToolItemGetUseDragWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{tool.item} uses a drag window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListGetIterator.Rd0000644000176000001440000000103212362217677017253 0ustar ripleyusers\alias{pangoAttrListGetIterator} \name{pangoAttrListGetIterator} \title{pangoAttrListGetIterator} \description{Create a iterator initialized to the beginning of the list. \code{list} must not be modified until this iterator is freed.} \usage{pangoAttrListGetIterator(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}}} \value{[\code{\link{PangoAttrIterator}}] the newly allocated \code{\link{PangoAttrIterator}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressToString.Rd0000644000176000001440000000062012362217677016356 0ustar ripleyusers\alias{gInetAddressToString} \name{gInetAddressToString} \title{gInetAddressToString} \description{Converts \code{address} to string form.} \usage{gInetAddressToString(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[character] a representation of \code{address} as a string,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxEntryGetTextColumn.Rd0000644000176000001440000000074112362217677020237 0ustar ripleyusers\alias{gtkComboBoxEntryGetTextColumn} \name{gtkComboBoxEntryGetTextColumn} \title{gtkComboBoxEntryGetTextColumn} \description{Returns the column which \code{entry.box} is using to get the strings from.} \usage{gtkComboBoxEntryGetTextColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBoxEntry}}.}} \details{Since 2.4} \value{[integer] A column in the data source model of \code{entry.box}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryGetItem.Rd0000644000176000001440000000164712362217677016535 0ustar ripleyusers\alias{gtkItemFactoryGetItem} \name{gtkItemFactoryGetItem} \title{gtkItemFactoryGetItem} \description{ Obtains the menu item which corresponds to \code{path}. \strong{WARNING: \code{gtk_item_factory_get_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryGetItem(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{path}}{the path to the menu item} } \details{If the widget corresponding to \code{path} is a menu item which opens a submenu, then the item is returned. If you are interested in the submenu, use \code{\link{gtkItemFactoryGetWidget}} instead.} \value{[\code{\link{GtkWidget}}] the menu item for the given path, or \code{NULL} if \code{path} doesn't lead to a menu item. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemGetIcon.Rd0000644000176000001440000000073412362217677015137 0ustar ripleyusers\alias{gEmblemGetIcon} \name{gEmblemGetIcon} \title{gEmblemGetIcon} \description{Gives back the icon from \code{emblem}.} \usage{gEmblemGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GEmblem}} from which the icon should be extracted.}} \details{Since 2.18} \value{[\code{\link{GIcon}}] a \code{\link{GIcon}}. The returned object belongs to the emblem and should not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/chap-drawing-model.Rd0000644000176000001440000000043512362217677015756 0ustar ripleyusers\alias{chap-drawing-model} \name{chap-drawing-model} \title{The GTK+ Drawing Model} \description{ The GTK+ drawing model in detail} \references{\url{http://library.gnome.org/devel//gtk/chap-drawing-model.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionGetRectangles.Rd0000644000176000001440000000112312362217677016670 0ustar ripleyusers\alias{gdkRegionGetRectangles} \name{gdkRegionGetRectangles} \title{gdkRegionGetRectangles} \description{Obtains the area covered by the region as a list of rectangles.} \usage{gdkRegionGetRectangles(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkRegion}}}} \value{ A list containing the following elements: \item{\verb{rectangles}}{return location for a list of rectangles. \emph{[ \acronym{array} length=n_rectangles][ \acronym{transfer container} ]}} \item{\verb{n.rectangles}}{length of returned list} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListInsert.Rd0000644000176000001440000000111312362217677016266 0ustar ripleyusers\alias{pangoAttrListInsert} \name{pangoAttrListInsert} \title{pangoAttrListInsert} \description{Insert the given attribute into the \code{\link{PangoAttrList}}. It will be inserted after all other attributes with a matching \code{start.index}.} \usage{pangoAttrListInsert(object, attr)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} \item{\verb{attr}}{[\code{\link{PangoAttribute}}] the attribute to insert. Ownership of this value is assumed by the list.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceReordered.Rd0000644000176000001440000000117312362217677020064 0ustar ripleyusers\alias{gtkTreeRowReferenceReordered} \name{gtkTreeRowReferenceReordered} \title{gtkTreeRowReferenceReordered} \description{Lets a set of row reference created by \code{\link{gtkTreeRowReferenceNewProxy}} know that the model emitted the "rows_reordered" signal.} \usage{gtkTreeRowReferenceReordered(proxy, path, iter, new.order)} \arguments{ \item{\verb{proxy}}{A \code{\link{GObject}}} \item{\verb{path}}{The parent path of the reordered signal} \item{\verb{iter}}{The iter pointing to the parent of the reordered} \item{\verb{new.order}}{The new order of rows} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetHasWindow.Rd0000644000176000001440000000075512362217677016536 0ustar ripleyusers\alias{gtkWidgetGetHasWindow} \name{gtkWidgetGetHasWindow} \title{gtkWidgetGetHasWindow} \description{Determines whether \code{widget} has a \code{\link{GdkWindow}} of its own. See \code{\link{gtkWidgetSetHasWindow}}.} \usage{gtkWidgetGetHasWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} has a window, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetPixmap.Rd0000644000176000001440000000124312362217677015671 0ustar ripleyusers\alias{gtkCListSetPixmap} \name{gtkCListSetPixmap} \title{gtkCListSetPixmap} \description{ Sets a pixmap for the specified cell. \strong{WARNING: \code{gtk_clist_set_pixmap} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetPixmap(object, row, column, pixmap, mask = NULL)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} \item{\verb{pixmap}}{A pointer to a \code{\link{GdkPixmap}} to place in the cell.} \item{\verb{mask}}{. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamGetByteOrder.Rd0000644000176000001440000000072612362217677020013 0ustar ripleyusers\alias{gDataInputStreamGetByteOrder} \name{gDataInputStreamGetByteOrder} \title{gDataInputStreamGetByteOrder} \description{Gets the byte order for the data input stream.} \usage{gDataInputStreamGetByteOrder(object)} \arguments{\item{\verb{object}}{a given \code{\link{GDataInputStream}}.}} \value{[\code{\link{GDataStreamByteOrder}}] the \code{stream}'s current \code{\link{GDataStreamByteOrder}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVToRgb.Rd0000644000176000001440000000104612362217677014417 0ustar ripleyusers\alias{gtkHSVToRgb} \name{gtkHSVToRgb} \title{gtkHSVToRgb} \description{Converts a color from HSV space to RGB. Input values must be in the [0.0, 1.0] range; output values will be in the same range.} \usage{gtkHSVToRgb(h, s, r, g, b)} \arguments{ \item{\verb{h}}{Hue} \item{\verb{s}}{Saturation} \item{\verb{r}}{Return value for the red component} \item{\verb{g}}{Return value for the green component} \item{\verb{b}}{Return value for the blue component} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetVisibleHorizontal.Rd0000644000176000001440000000070012362217677020262 0ustar ripleyusers\alias{gtkActionGetVisibleHorizontal} \name{gtkActionGetVisibleHorizontal} \title{gtkActionGetVisibleHorizontal} \description{Checks whether \code{action} is visible when horizontal} \usage{gtkActionGetVisibleHorizontal(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[logical] whether \code{action} is visible when horizontal} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetName.Rd0000644000176000001440000000130012362217677015512 0ustar ripleyusers\alias{gtkWidgetSetName} \name{gtkWidgetSetName} \title{gtkWidgetSetName} \description{Widgets can be named, which allows you to refer to them from a gtkrc file. You can apply a style to widgets with a particular name in the gtkrc file. See the documentation for gtkrc files (on the same page as the docs for \code{\link{GtkRcStyle}}).} \usage{gtkWidgetSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{name}}{name for the widget} } \details{Note that widget names are separated by periods in paths (see \code{\link{gtkWidgetPath}}), so names with embedded periods may cause confusion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextSetSelection.Rd0000644000176000001440000000174312362217677016265 0ustar ripleyusers\alias{atkTextSetSelection} \name{atkTextSetSelection} \title{atkTextSetSelection} \description{Changes the start and end offset of the specified selection.} \usage{atkTextSetSelection(object, selection.num, start.offset, end.offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{selection.num}}{[integer] The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.} \item{\verb{start.offset}}{[integer] the new start position of the selection} \item{\verb{end.offset}}{[integer] the new end position of (e.g. offset immediately past) the selection} } \value{[logical] \code{TRUE} if success, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionGetDrawAsRadio.Rd0000644000176000001440000000071612362217677020124 0ustar ripleyusers\alias{gtkToggleActionGetDrawAsRadio} \name{gtkToggleActionGetDrawAsRadio} \title{gtkToggleActionGetDrawAsRadio} \description{Returns whether the action should have proxies like a radio action.} \usage{gtkToggleActionGetDrawAsRadio(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] whether the action should have proxies like a radio action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetHoverSelection.Rd0000644000176000001440000000072712362217677020072 0ustar ripleyusers\alias{gtkTreeViewGetHoverSelection} \name{gtkTreeViewGetHoverSelection} \title{gtkTreeViewGetHoverSelection} \description{Returns whether hover selection mode is turned on for \code{tree.view}.} \usage{gtkTreeViewGetHoverSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if \code{tree.view} is in hover selection mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkButtonBox.Rd0000644000176000001440000000651612362217677014714 0ustar ripleyusers\alias{GtkButtonBox} \name{GtkButtonBox} \title{GtkButtonBox} \description{Base class for GtkHButtonBox and GtkVButtonBox} \section{Methods and Functions}{ \code{\link{gtkButtonBoxGetLayout}(object)}\cr \code{\link{gtkButtonBoxGetChildSize}(object)}\cr \code{\link{gtkButtonBoxGetChildIpadding}(object)}\cr \code{\link{gtkButtonBoxGetChildSecondary}(object, child)}\cr \code{\link{gtkButtonBoxSetLayout}(object, layout.style)}\cr \code{\link{gtkButtonBoxSetChildSize}(object, min.width, min.height)}\cr \code{\link{gtkButtonBoxSetChildIpadding}(object, ipad.x, ipad.y)}\cr \code{\link{gtkButtonBoxSetChildSecondary}(object, child, is.secondary)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkButtonBox +----GtkHButtonBox +----GtkVButtonBox}} \section{Interfaces}{GtkButtonBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The primary purpose of this class is to keep track of the various properties of \code{\link{GtkHButtonBox}} and \code{\link{GtkVButtonBox}} widgets. \code{\link{gtkButtonBoxGetChildSize}} retrieves the minimum width and height for widgets in a given button box. \code{\link{gtkButtonBoxSetChildSize}} allows those properties to be changed. The internal padding of buttons can be retrieved and changed per button box using \code{\link{gtkButtonBoxGetChildIpadding}} and \code{\link{gtkButtonBoxSetChildIpadding}} respectively. \code{gtkButtonBoxGetSpacing()} and \code{gtkButtonBoxSetSpacing()} retrieve and change default number of pixels between buttons, respectively. \code{\link{gtkButtonBoxGetLayout}} and \code{\link{gtkButtonBoxSetLayout}} retrieve and alter the method used to spread the buttons in a button box across the container, respectively. The main purpose of GtkButtonBox is to make sure the children have all the same size. Therefore it ignores the homogeneous property which it inherited from GtkBox, and always behaves as if homogeneous was \code{TRUE}.} \section{Structures}{\describe{\item{\verb{GtkButtonBox}}{ This is a read-only struct; no members should be modified directly. }}} \section{Properties}{\describe{\item{\verb{layout-style} [\code{\link{GtkButtonBoxStyle}} : Read / Write]}{ How to layout the buttons in the box. Possible values are default, spread, edge, start and end. Default value: GTK_BUTTONBOX_DEFAULT_STYLE }}} \section{Style Properties}{\describe{ \item{\verb{child-internal-pad-x} [integer : Read]}{ Amount to increase child's size on either side. Allowed values: >= 0 Default value: 4 } \item{\verb{child-internal-pad-y} [integer : Read]}{ Amount to increase child's size on the top and bottom. Allowed values: >= 0 Default value: 0 } \item{\verb{child-min-height} [integer : Read]}{ Minimum height of buttons inside the box. Allowed values: >= 0 Default value: 27 } \item{\verb{child-min-width} [integer : Read]}{ Minimum width of buttons inside the box. Allowed values: >= 0 Default value: 85 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkButtonBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceWriteToPngStream.Rd0000644000176000001440000000130312362217677020054 0ustar ripleyusers\alias{cairoSurfaceWriteToPngStream} \name{cairoSurfaceWriteToPngStream} \title{cairoSurfaceWriteToPngStream} \description{Writes the image surface to the write function.} \usage{cairoSurfaceWriteToPngStream(surface, con)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}} with pixel contents}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} if the PNG file was written successfully. Otherwise, \code{CAIRO_STATUS_NO_MEMORY} is returned if memory could not be allocated for the operation, \code{CAIRO_STATUS_SURFACE_TYPE_MISMATCH} if the surface does not have pixel contents.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetPageType.Rd0000644000176000001440000000100612362217677017101 0ustar ripleyusers\alias{gtkAssistantSetPageType} \name{gtkAssistantSetPageType} \title{gtkAssistantSetPageType} \description{Sets the page type for \code{page}. The page type determines the page behavior in the \code{assistant}.} \usage{gtkAssistantSetPageType(object, page, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} \item{\verb{type}}{the new type for \code{page}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetBaseGravity.Rd0000644000176000001440000000077612362217677017576 0ustar ripleyusers\alias{pangoContextGetBaseGravity} \name{pangoContextGetBaseGravity} \title{pangoContextGetBaseGravity} \description{Retrieves the base gravity for the context. See \code{\link{pangoContextSetBaseGravity}}.} \usage{pangoContextGetBaseGravity(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \details{ Since 1.16} \value{[\code{\link{PangoGravity}}] the base gravity for the context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeFromMimeType.Rd0000644000176000001440000000067712362217677017245 0ustar ripleyusers\alias{gContentTypeFromMimeType} \name{gContentTypeFromMimeType} \title{gContentTypeFromMimeType} \description{Tries to find a content type based on the mime type name.} \usage{gContentTypeFromMimeType(mime.type)} \arguments{\item{\verb{mime.type}}{a mime type string.}} \details{Since 2.18} \value{[char] Newly allocated string with content type or NULL when does not know.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetEnableTreeLines.Rd0000644000176000001440000000105212362217677020146 0ustar ripleyusers\alias{gtkTreeViewSetEnableTreeLines} \name{gtkTreeViewSetEnableTreeLines} \title{gtkTreeViewSetEnableTreeLines} \description{Sets whether to draw lines interconnecting the expanders in \code{tree.view}. This does not have any visible effects for lists.} \usage{gtkTreeViewSetEnableTreeLines(object, enabled)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{enabled}}{\code{TRUE} to enable tree line drawing, \code{FALSE} otherwise.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoGetAttachPoints.Rd0000644000176000001440000000165612362217677017516 0ustar ripleyusers\alias{gtkIconInfoGetAttachPoints} \name{gtkIconInfoGetAttachPoints} \title{gtkIconInfoGetAttachPoints} \description{Fetches the set of attach points for an icon. An attach point is a location in the icon that can be used as anchor points for attaching emblems or overlays to the icon.} \usage{gtkIconInfoGetAttachPoints(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there are any attach points for the icon.} \item{\verb{points}}{(array length=n_points) (out): location to store pointer to a list of points, or \code{NULL} free the list of points with \code{gFree()}. \emph{[ \acronym{allow-none} ]}} \item{\verb{n.points}}{location to store the number of points in \code{points}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardCursorPosition.Rd0000644000176000001440000000066512362217677021161 0ustar ripleyusers\alias{gtkTextIterBackwardCursorPosition} \name{gtkTextIterBackwardCursorPosition} \title{gtkTextIterBackwardCursorPosition} \description{Like \code{\link{gtkTextIterForwardCursorPosition}}, but moves backward.} \usage{gtkTextIterBackwardCursorPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if we moved} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufComposite.Rd0000644000176000001440000000324712362217677016126 0ustar ripleyusers\alias{gdkPixbufComposite} \name{gdkPixbufComposite} \title{gdkPixbufComposite} \description{Creates a transformation of the source image \code{src} by scaling by \code{scale.x} and \code{scale.y} then translating by \code{offset.x} and \code{offset.y}. This gives an image in the coordinates of the destination pixbuf. The rectangle (\code{dest.x}, \code{dest.y}, \code{dest.width}, \code{dest.height}) is then composited onto the corresponding rectangle of the original destination image.} \usage{gdkPixbufComposite(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{dest}}{the \code{\link{GdkPixbuf}} into which to render the results} \item{\verb{dest.x}}{the left coordinate for region to render} \item{\verb{dest.y}}{the top coordinate for region to render} \item{\verb{dest.width}}{the width of the region to render} \item{\verb{dest.height}}{the height of the region to render} \item{\verb{offset.x}}{the offset in the X direction (currently rounded to an integer)} \item{\verb{offset.y}}{the offset in the Y direction (currently rounded to an integer)} \item{\verb{scale.x}}{the scale factor in the X direction} \item{\verb{scale.y}}{the scale factor in the Y direction} \item{\verb{interp.type}}{the interpolation type for the transformation.} \item{\verb{overall.alpha}}{overall alpha for source image (0..255)} } \details{When the destination rectangle contains parts not in the source image, the data at the edges of the source image is replicated to infinity. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSave.Rd0000644000176000001440000000542012302137442015036 0ustar ripleyusers\alias{gdkPixbufSave} \name{gdkPixbufSave} \title{gdkPixbufSave} \description{Saves pixbuf to a file in format \code{type}. By default, "jpeg", "png", "ico" and "bmp" are possible file formats to save in, but more formats may be installed. The list of all writable formats can be determined in the following way:} \usage{gdkPixbufSave(object, filename, type, ..., .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{filename}}{name of file to save.} \item{\verb{type}}{name of file format.} \item{\verb{...}}{list of key-value save options} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{\preformatted{ formats <- gdkPixbufGetFormats() writeable_formats <- formats[sapply(formats, gdkPixbufFormatIsWritable)] } If \code{error} is set, \code{FALSE} will be returned. Possible errors include those in the \verb{GDK_PIXBUF_ERROR} domain and those in the \verb{G_FILE_ERROR} domain. The variable argument list should be \code{NULL}-terminated; if not empty, it should contain pairs of strings that modify the save parameters. For example: \preformatted{ # (R does not require vararg lists) pixbuf$save(handle, "jpeg", "quality", "100") } Currently only few parameters exist. JPEG images can be saved with a "quality" parameter; its value should be in the range [0,100]. Text chunks can be attached to PNG images by specifying parameters of the form "tEXt::key", where key is an ASCII string of length 1-79. The values are UTF-8 encoded strings. The PNG compression level can be specified using the "compression" parameter; it's value is in an integer in the range of [0,9]. ICC color profiles can also be embedded into PNG and TIFF images. The "icc-profile" value should be the complete ICC profile encoded into base64. \preformatted{gchar *contents; gchar *contents_encode; gsize length; g_file_get_contents ("/home/hughsie/.color/icc/L225W.icm", &contents, &length, NULL); contents_encode = g_base64_encode ((const guchar *) contents, length); gdk_pixbuf_save (pixbuf, handle, "png", &error, "icc-profile", contents_encode, NULL); } TIFF images recognize a "compression" option which acceps an integer value. Among the codecs are 1 None, 2 Huffman, 5 LZW, 7 JPEG and 8 Deflate, see the libtiff documentation and tiff.h for all supported codec values. ICO images can be saved in depth 16, 24, or 32, by using the "depth" parameter. When the ICO saver is given "x_hot" and "y_hot" parameters, it produces a CUR instead of an ICO.} \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{error}}{ return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererCombo.Rd0000644000176000001440000000730012362217677016306 0ustar ripleyusers\alias{GtkCellRendererCombo} \alias{gtkCellRendererCombo} \name{GtkCellRendererCombo} \title{GtkCellRendererCombo} \description{Renders a combobox in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererComboNew}()}\cr \code{gtkCellRendererCombo()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererText +----GtkCellRendererCombo}} \section{Detailed Description}{\code{\link{GtkCellRendererCombo}} renders text in a cell like \code{\link{GtkCellRendererText}} from which it is derived. But while \code{\link{GtkCellRendererText}} offers a simple entry to edit the text, \code{\link{GtkCellRendererCombo}} offers a \code{\link{GtkComboBox}} or \code{\link{GtkComboBoxEntry}} widget to edit the text. The values to display in the combo box are taken from the tree model specified in the model property. The combo cell renderer takes care of adding a text cell renderer to the combo box and sets it to display the column specified by its text-column property. Further properties of the comnbo box can be set in a handler for the editing-started signal. The \code{\link{GtkCellRendererCombo}} cell renderer was added in GTK+ 2.6.} \section{Structures}{\describe{\item{\verb{GtkCellRendererCombo}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererCombo} is the equivalent of \code{\link{gtkCellRendererComboNew}}.} \section{Signals}{\describe{\item{\code{changed(combo, path.string, new.iter, user.data)}}{ This signal is emitted each time after the user selected an item in the combo box, either by using the mouse or the arrow keys. Contrary to GtkComboBox, GtkCellRendererCombo::changed is not emitted for changes made to a selected item in the entry. The argument \code{new.iter} corresponds to the newly selected item in the combo box and it is relative to the GtkTreeModel set via the model property on GtkCellRendererCombo. Note that as soon as you change the model displayed in the tree view, the tree view will immediately cease the editing operating. This means that you most probably want to refrain from changing the model until the combo cell renderer emits the edited or editing_canceled signal. Since 2.14 \describe{ \item{\code{combo}}{the object on which the signal is emitted} \item{\code{path.string}}{a string of the path identifying the edited cell (relative to the tree view model)} \item{\code{new.iter}}{the new iter selected in the combo box (relative to the combo box model)} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{has-entry} [logical : Read / Write]}{ If \code{TRUE}, the cell renderer will include an entry and allow to enter values other than the ones in the popup list. Default value: TRUE Since 2.6 } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ Holds a tree model containing the possible values for the combo box. Use the text_column property to specify the column holding the values. Since 2.6 } \item{\verb{text-column} [integer : Read / Write]}{ Specifies the model column which holds the possible values for the combo box. Note that this refers to the model specified in the model property, \emph{not} the model backing the tree view to which this cell renderer is attached. \code{\link{GtkCellRendererCombo}} automatically adds a text cell renderer for this column to its combo box. Allowed values: >= -1 Default value: -1 Since 2.6 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererCombo.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetText.Rd0000644000176000001440000000172512362217677016142 0ustar ripleyusers\alias{pangoLayoutSetText} \name{pangoLayoutSetText} \title{pangoLayoutSetText} \description{Sets the text of the layout.} \usage{pangoLayoutSetText(object, text, length = -1)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{text}}{[char] a valid UTF-8 string} \item{\verb{length}}{[integer] maximum length of \code{text}, in bytes. -1 indicates that the string is and the length should be calculated. The text will also be truncated on encountering a nul-termination even when \code{length} is positive.} } \details{Note that if you have used \code{\link{pangoLayoutSetMarkup}} or \code{\link{pangoLayoutSetMarkupWithAccel}} on \code{layout} before, you may want to call \code{\link{pangoLayoutSetAttributes}} to clear the attributes set on the layout from the markup as this function does not clear attributes. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCurve.Rd0000644000176000001440000000605312362217677014050 0ustar ripleyusers\alias{GtkCurve} \alias{gtkCurve} \name{GtkCurve} \title{GtkCurve} \description{Allows direct editing of a curve} \section{Methods and Functions}{ \code{\link{gtkCurveNew}(show = TRUE)}\cr \code{\link{gtkCurveReset}(object)}\cr \code{\link{gtkCurveSetGamma}(object, gamma)}\cr \code{\link{gtkCurveSetRange}(object, min.x, max.x, min.y, max.y)}\cr \code{\link{gtkCurveGetVector}(object, veclen)}\cr \code{\link{gtkCurveSetVector}(object, vector)}\cr \code{\link{gtkCurveSetCurveType}(object, type)}\cr \code{gtkCurve(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkDrawingArea +----GtkCurve}} \section{Interfaces}{GtkCurve implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkCurve}} widget allows the user to edit a curve covering a range of values. It is typically used to fine-tune color balances in graphics applications like the Gimp. The \code{\link{GtkCurve}} widget has 3 modes of operation - spline, linear and free. In spline mode the user places points on the curve which are automatically connected together into a smooth curve. In linear mode the user places points on the curve which are connected by straight lines. In free mode the user can draw the points of the curve freely, and they are not connected at all. As of GTK+ 2.20, \code{\link{GtkCurve}} has been deprecated since it is too specialized.} \section{Structures}{\describe{\item{\verb{GtkCurve}}{ \strong{WARNING: \code{GtkCurve} is deprecated and should not be used in newly-written code.} The \code{\link{GtkCurve}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkCurve} is the equivalent of \code{\link{gtkCurveNew}}.} \section{Signals}{\describe{\item{\code{curve-type-changed(curve, user.data)}}{ Emitted when the curve type has been changed. The curve type can be changed explicitly with a call to \code{\link{gtkCurveSetCurveType}}. It is also changed as a side-effect of calling \code{\link{gtkCurveReset}} or \code{\link{gtkCurveSetGamma}}. \describe{ \item{\code{curve}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{curve-type} [\code{\link{GtkCurveType}} : Read / Write]}{ Is this curve linear, spline interpolated, or free-form. Default value: GTK_CURVE_TYPE_SPLINE } \item{\verb{max-x} [numeric : Read / Write]}{ Maximum possible X value. Default value: 1 } \item{\verb{max-y} [numeric : Read / Write]}{ Maximum possible value for Y. Default value: 1 } \item{\verb{min-x} [numeric : Read / Write]}{ Minimum possible value for X. Default value: 0 } \item{\verb{min-y} [numeric : Read / Write]}{ Minimum possible value for Y. Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCurve.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetSortType.Rd0000644000176000001440000000113112362217677016220 0ustar ripleyusers\alias{gtkCListSetSortType} \name{gtkCListSetSortType} \title{gtkCListSetSortType} \description{ Sets the sort type of the \verb{GtkClist}. This is either GTK_SORT_ASCENDING for ascening sort or GTK_SORT_DESCENDING for descending sort. \strong{WARNING: \code{gtk_clist_set_sort_type} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetSortType(object, sort.type)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{sort.type}}{the \code{\link{GtkSortType}} to use} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetUpdatePolicy.Rd0000644000176000001440000000150212362217677017051 0ustar ripleyusers\alias{gtkRangeSetUpdatePolicy} \name{gtkRangeSetUpdatePolicy} \title{gtkRangeSetUpdatePolicy} \description{Sets the update policy for the range. \verb{GTK_UPDATE_CONTINUOUS} means that anytime the range slider is moved, the range value will change and the value_changed signal will be emitted. \verb{GTK_UPDATE_DELAYED} means that the value will be updated after a brief timeout where no slider motion occurs, so updates are spaced by a short time rather than continuous. \verb{GTK_UPDATE_DISCONTINUOUS} means that the value will only be updated when the user releases the button and ends the slider drag operation.} \usage{gtkRangeSetUpdatePolicy(object, policy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{policy}}{update policy} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSwapRows.Rd0000644000176000001440000000101212362217677015536 0ustar ripleyusers\alias{gtkCListSwapRows} \name{gtkCListSwapRows} \title{gtkCListSwapRows} \description{ Swaps the two specified rows with each other. \strong{WARNING: \code{gtk_clist_swap_rows} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSwapRows(object, row1, row2)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row1}}{Number of the first row.} \item{\verb{row2}}{Number of the second row.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemedIconAddEmblem.Rd0000644000176000001440000000064712362217677016546 0ustar ripleyusers\alias{gEmblemedIconAddEmblem} \name{gEmblemedIconAddEmblem} \title{gEmblemedIconAddEmblem} \description{Adds \code{emblem} to the \verb{list} of \code{\link{GEmblem}} s.} \usage{gEmblemedIconAddEmblem(object, emblem)} \arguments{ \item{\verb{object}}{a \code{\link{GEmblemedIcon}}} \item{\verb{emblem}}{a \code{\link{GEmblem}}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetLogoIconName.Rd0000644000176000001440000000101312362217677020100 0ustar ripleyusers\alias{gtkAboutDialogGetLogoIconName} \name{gtkAboutDialogGetLogoIconName} \title{gtkAboutDialogGetLogoIconName} \description{Returns the icon name displayed as logo in the about dialog.} \usage{gtkAboutDialogGetLogoIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] the icon name displayed as logo. If you want to keep a reference to it, you have to call \code{gStrdup()} on it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetStyle.Rd0000644000176000001440000000120412362217677020127 0ustar ripleyusers\alias{pangoFontDescriptionGetStyle} \name{pangoFontDescriptionGetStyle} \title{pangoFontDescriptionGetStyle} \description{Gets the style field of a \code{\link{PangoFontDescription}}. See \code{\link{pangoFontDescriptionSetStyle}}.} \usage{pangoFontDescriptionGetStyle(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \value{[\code{\link{PangoStyle}}] the style field for the font description. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationIsStaticImage.Rd0000644000176000001440000000116712362217677020511 0ustar ripleyusers\alias{gdkPixbufAnimationIsStaticImage} \name{gdkPixbufAnimationIsStaticImage} \title{gdkPixbufAnimationIsStaticImage} \description{If you load a file with \code{\link{gdkPixbufAnimationNewFromFile}} and it turns out to be a plain, unanimated image, then this function will return \code{TRUE}. Use \code{\link{gdkPixbufAnimationGetStaticImage}} to retrieve the image.} \usage{gdkPixbufAnimationIsStaticImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufAnimation}}}} \value{[logical] \code{TRUE} if the "animation" was really just an image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardClear.Rd0000644000176000001440000000077312362217677015675 0ustar ripleyusers\alias{gtkClipboardClear} \name{gtkClipboardClear} \title{gtkClipboardClear} \description{Clears the contents of the clipboard. Generally this should only be called between the time you call \code{\link{gtkClipboardSetWithOwner}} or \code{\link{gtkClipboardSetWithData}}, and when the \code{clear.func} you supplied is called. Otherwise,} \usage{gtkClipboardClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetParent.Rd0000644000176000001440000000070012362217677016027 0ustar ripleyusers\alias{atkObjectGetParent} \name{atkObjectGetParent} \title{atkObjectGetParent} \description{Gets the accessible parent of the accessible.} \usage{atkObjectGetParent(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[\code{\link{AtkObject}}] a \code{\link{AtkObject}} representing the accessible parent of the accessible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttributeInit.Rd0000644000176000001440000000117412362217677016131 0ustar ripleyusers\alias{pangoAttributeInit} \name{pangoAttributeInit} \title{pangoAttributeInit} \description{Initializes \code{attr}'s klass to \code{klass}, it's start_index to \code{PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING} and end_index to \code{PANGO_ATTR_INDEX_TO_TEXT_END} such that the attribute applies to the entire text by default.} \usage{pangoAttributeInit(attr, klass)} \arguments{ \item{\verb{attr}}{[\code{\link{PangoAttribute}}] a \code{\link{PangoAttribute}}} \item{\verb{klass}}{[\code{\link{PangoAttrClass}}] a \verb{PangoAttributeClass}} } \details{ Since 1.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetAlwaysShowImage.Rd0000644000176000001440000000120212362217677017671 0ustar ripleyusers\alias{gtkActionSetAlwaysShowImage} \name{gtkActionSetAlwaysShowImage} \title{gtkActionSetAlwaysShowImage} \description{Sets whether \code{action}'s menu item proxies will ignore the \verb{"gtk-menu-images"} setting and always show their image, if available.} \usage{gtkActionSetAlwaysShowImage(object, always.show)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{always.show}}{\code{TRUE} if menuitem proxies should always show their image} } \details{Use this if the menu item would be useless or hard to use without their image. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetError.Rd0000644000176000001440000000141412362217677017447 0ustar ripleyusers\alias{gtkPrintOperationGetError} \name{gtkPrintOperationGetError} \title{gtkPrintOperationGetError} \description{Call this when the result of a print operation is \code{GTK_PRINT_OPERATION_RESULT_ERROR}, either as returned by \code{\link{gtkPrintOperationRun}}, or in the \verb{"done"} signal handler. The returned \code{\link{GError}} will contain more details on what went wrong.} \usage{gtkPrintOperationGetError(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{\verb{error}}{return location for the error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayPeekEvent.Rd0000644000176000001440000000131212362217677016211 0ustar ripleyusers\alias{gdkDisplayPeekEvent} \name{gdkDisplayPeekEvent} \title{gdkDisplayPeekEvent} \description{Gets a copy of the first \code{\link{GdkEvent}} in the \code{display}'s event queue, without removing the event from the queue. (Note that this function will not get more events from the windowing system. It only checks the events that have already been moved to the GDK event queue.)} \usage{gdkDisplayPeekEvent(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[\code{\link{GdkEvent}}] a copy of the first \code{\link{GdkEvent}} on the event queue, or \code{NULL} if no events are in the queue.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetMaxWidth.Rd0000644000176000001440000000072512362217677020042 0ustar ripleyusers\alias{gtkTreeViewColumnGetMaxWidth} \name{gtkTreeViewColumnGetMaxWidth} \title{gtkTreeViewColumnGetMaxWidth} \description{Returns the maximum width in pixels of the \code{tree.column}, or -1 if no maximum width is set.} \usage{gtkTreeViewColumnGetMaxWidth(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[integer] The maximum width of the \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutGetCells.Rd0000644000176000001440000000077212362217677016526 0ustar ripleyusers\alias{gtkCellLayoutGetCells} \name{gtkCellLayoutGetCells} \title{gtkCellLayoutGetCells} \description{Returns the cell renderers which have been added to \code{cell.layout}.} \usage{gtkCellLayoutGetCells(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellLayout}}}} \details{Since 2.12} \value{[list] a list of cell renderers. The list, \emph{[ \acronym{element-type} GtkCellRenderer][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuSetMenu.Rd0000644000176000001440000000135512362217677016422 0ustar ripleyusers\alias{gtkOptionMenuSetMenu} \name{gtkOptionMenuSetMenu} \title{gtkOptionMenuSetMenu} \description{ Provides the \code{\link{GtkMenu}} that is popped up to allow the user to choose a new value. You should provide a simple menu avoiding the use of tearoff menu items, submenus, and accelerators. \strong{WARNING: \code{gtk_option_menu_set_menu} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuSetMenu(object, menu)} \arguments{ \item{\verb{object}}{a \code{\link{GtkOptionMenu}}.} \item{\verb{menu}}{the \code{\link{GtkMenu}} to associate with the \code{\link{GtkOptionMenu}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressToBytes.Rd0000644000176000001440000000104512362217677016200 0ustar ripleyusers\alias{gInetAddressToBytes} \name{gInetAddressToBytes} \title{gInetAddressToBytes} \description{Gets the raw binary address data from \code{address}.} \usage{gInetAddressToBytes(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[raw] a pointer to an internal list of the bytes in \code{address}, which should not be modified, stored, or freed. The size of this array can be gotten with \code{\link{gInetAddressGetNativeSize}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetEllipsize.Rd0000644000176000001440000000072512362217677020116 0ustar ripleyusers\alias{gtkToolItemGroupGetEllipsize} \name{gtkToolItemGroupGetEllipsize} \title{gtkToolItemGroupGetEllipsize} \description{Gets the ellipsization mode of \code{group}.} \usage{gtkToolItemGroupGetEllipsize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItemGroup}}}} \details{Since 2.20} \value{[\code{\link{PangoEllipsizeMode}}] the \code{\link{PangoEllipsizeMode}} of \code{group}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonNew.Rd0000644000176000001440000000057512362217677015572 0ustar ripleyusers\alias{gtkLinkButtonNew} \name{gtkLinkButtonNew} \title{gtkLinkButtonNew} \description{Creates a new \code{\link{GtkLinkButton}} with the URI as its text.} \usage{gtkLinkButtonNew(uri)} \arguments{\item{\verb{uri}}{a valid URI}} \details{Since 2.10} \value{[\code{\link{GtkWidget}}] a new link button widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererPartChanged.Rd0000644000176000001440000000176712362217677017221 0ustar ripleyusers\alias{pangoRendererPartChanged} \name{pangoRendererPartChanged} \title{pangoRendererPartChanged} \description{Informs Pango that the way that the rendering is done for \code{part} has changed in a way that would prevent multiple pieces being joined together into one drawing call. For instance, if a subclass of \code{\link{PangoRenderer}} was to add a stipple option for drawing underlines, it needs to call} \usage{pangoRendererPartChanged(object, part)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{part}}{[\code{\link{PangoRenderPart}}] the part for which rendering has changed.} } \details{\preformatted{pango_renderer_part_changed (render, PANGO_RENDER_PART_UNDERLINE); } When the stipple changes or underlines with different stipples might be joined together. Pango automatically calls this for changes to colors. (See \code{\link{pangoRendererSetColor}}) Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetSetting.Rd0000644000176000001440000000142712362217677016221 0ustar ripleyusers\alias{gdkScreenGetSetting} \name{gdkScreenGetSetting} \title{gdkScreenGetSetting} \description{Retrieves a desktop-wide setting such as double-click time for the \code{\link{GdkScreen}} \code{screen}. } \usage{gdkScreenGetSetting(object, name)} \arguments{ \item{\verb{object}}{the \code{\link{GdkScreen}} where the setting is located} \item{\verb{name}}{the name of the setting} } \details{FIXME needs a list of valid settings here, or a link to more information. Since 2.2} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the setting existed and a value was stored in \code{value}, \code{FALSE} otherwise.} \item{\verb{value}}{location to store the value of the setting} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetNew.Rd0000644000176000001440000000127012362217677015054 0ustar ripleyusers\alias{gSrvTargetNew} \name{gSrvTargetNew} \title{gSrvTargetNew} \description{Creates a new \code{\link{GSrvTarget}} with the given parameters.} \usage{gSrvTargetNew(hostname, port, priority, weight)} \arguments{ \item{\verb{hostname}}{the host that the service is running on} \item{\verb{port}}{the port that the service is running on} \item{\verb{priority}}{the target's priority} \item{\verb{weight}}{the target's weight} } \details{You should not need to use this; normally \code{\link{GSrvTarget}}s are created by \code{\link{GResolver}}. Since 2.22} \value{[\code{\link{GSrvTarget}}] a new \code{\link{GSrvTarget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonNew.Rd0000644000176000001440000000055612362217677016115 0ustar ripleyusers\alias{gtkToggleButtonNew} \name{gtkToggleButtonNew} \title{gtkToggleButtonNew} \description{Creates a new toggle button. A widget should be packed into the button, as in \code{\link{gtkButtonNew}}.} \usage{gtkToggleButtonNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new toggle button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Vertical-Text.Rd0000644000176000001440000001160312362217677016110 0ustar ripleyusers\alias{pango-Vertical-Text} \alias{PangoGravity} \alias{PangoGravityHint} \name{pango-Vertical-Text} \title{Vertical Text} \description{Laying text out in vertical directions} \section{Methods and Functions}{ \code{\link{pangoGravityGetForMatrix}(matrix)}\cr \code{\link{pangoGravityGetForScript}(script, base.gravity, hint)}\cr \code{\link{pangoGravityGetForScriptAndWidth}(script, wide, base.gravity, hint)}\cr \code{\link{pangoGravityToRotation}(base.gravity)}\cr } \section{Detailed Description}{Since 1.16, Pango is able to correctly lay vertical text out. In fact, it can set layouts of mixed vertical and non-vertical text. This section describes the types used for setting vertical text parameters. The way this is implemented is through the concept of \dfn{gravity}. Gravity of normal Latin text is south. A gravity value of east means that glyphs will be rotated ninety degrees counterclockwise. So, to render vertical text one needs to set the gravity and rotate the layout using the matrix machinery already in place. This has the huge advantage that most algorithms working on a \code{\link{PangoLayout}} do not need any change as the assumption that lines run in the X direction and stack in the Y direction holds even for vertical text layouts. Applications should only need to set base gravity on \code{\link{PangoContext}} in use, and let Pango decide the gravity assigned to each run of text. This automatically handles text with mixed scripts. A very common use is to set the context base gravity to auto using \code{\link{pangoContextSetBaseGravity}} and rotate the layout normally. Pango will make sure that Asian languages take the right form, while other scripts are rotated normally. The correct way to set gravity on a layout is to set it on the context associated with it using \code{\link{pangoContextSetBaseGravity}}. The context of a layout can be accessed using \code{\link{pangoLayoutGetContext}}. The currently set base gravity of the context can be accessed using \code{\link{pangoContextGetBaseGravity}} and the \dfn{resolved} gravity of it using \code{\link{pangoContextGetGravity}}. The resolved gravity is the same as the base gravity for the most part, except that if the base gravity is set to \code{PANGO_GRAVITY_AUTO}, the resolved gravity will depend on the current matrix set on context, and is derived using \code{\link{pangoGravityGetForMatrix}}. The next thing an application may want to set on the context is the \dfn{gravity hint}. A \code{\link{PangoGravityHint}} instructs how different scripts should react to the set base gravity. Font descriptions have a gravity property too, that can be set using \code{\link{pangoFontDescriptionSetGravity}} and accessed using \code{\link{pangoFontDescriptionGetGravity}}. However, those are rarely useful from application code and are mainly used by \code{\link{PangoLayout}} internally. Last but not least, one can create \code{\link{PangoAttribute}}s for gravity and gravity hint using \code{\link{pangoAttrGravityNew}} and \code{\link{pangoAttrGravityHintNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{PangoGravity}}{ The \code{\link{PangoGravity}} type represents the orientation of glyphs in a segment of text. This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity PangoMatrix, and then glyph orientation is controlled using \code{\link{PangoGravity}}. Not every value in this enumeration makes sense for every usage of \code{\link{PangoGravity}}; for example, \code{PANGO_GRAVITY_AUTO} only can be passed to \code{\link{pangoContextSetBaseGravity}} and can only be returned by \code{\link{pangoContextGetBaseGravity}}. See also: \code{\link{PangoGravityHint}} Since 1.16 \describe{ \item{\verb{south}}{ Glyphs stand upright (default)} \item{\verb{east}}{ Glyphs are rotated 90 degrees clockwise} \item{\verb{north}}{ Glyphs are upside-down} \item{\verb{west}}{ Glyphs are rotated 90 degrees counter-clockwise} \item{\verb{auto}}{ Gravity is resolved from the context matrix} } } \item{\verb{PangoGravityHint}}{ The \code{\link{PangoGravityHint}} defines how horizontal scripts should behave in a vertical context. That is, English excerpt in a vertical paragraph for example. See \code{\link{PangoGravity}}. Since 1.16 \describe{ \item{\verb{natural}}{ scripts will take their natural gravity based on the base gravity and the script. This is the default.} \item{\verb{strong}}{ always use the base gravity set, regardless of the script.} \item{\verb{line}}{ for scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example.} } } }} \references{\url{http://library.gnome.org/devel//pango/pango-Vertical-Text.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowBeginPaintRegion.Rd0000644000176000001440000000515412362217677017361 0ustar ripleyusers\alias{gdkWindowBeginPaintRegion} \name{gdkWindowBeginPaintRegion} \title{gdkWindowBeginPaintRegion} \description{Indicates that you are beginning the process of redrawing \code{region}. A backing store (offscreen buffer) large enough to contain \code{region} will be created. The backing store will be initialized with the background color or background pixmap for \code{window}. Then, all drawing operations performed on \code{window} will be diverted to the backing store. When you call \code{\link{gdkWindowEndPaint}}, the backing store will be copied to \code{window}, making it visible onscreen. Only the part of \code{window} contained in \code{region} will be modified; that is, drawing operations are clipped to \code{region}.} \usage{gdkWindowBeginPaintRegion(object, region)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{region}}{region you intend to draw to} } \details{The net result of all this is to remove flicker, because the user sees the finished product appear all at once when you call \code{\link{gdkWindowEndPaint}}. If you draw to \code{window} directly without calling \code{\link{gdkWindowBeginPaintRegion}}, the user may see flicker as individual drawing operations are performed in sequence. The clipping and background-initializing features of \code{\link{gdkWindowBeginPaintRegion}} are conveniences for the programmer, so you can avoid doing that work yourself. When using GTK+, the widget system automatically places calls to \code{\link{gdkWindowBeginPaintRegion}} and \code{\link{gdkWindowEndPaint}} around emissions of the expose_event signal. That is, if you're writing an expose event handler, you can assume that the exposed area in \code{\link{GdkEventExpose}} has already been cleared to the window background, is already set as the clip region, and already has a backing store. Therefore in most cases, application code need not call \code{\link{gdkWindowBeginPaintRegion}}. (You can disable the automatic calls around expose events on a widget-by-widget basis by calling \code{\link{gtkWidgetSetDoubleBuffered}}.) If you call this function multiple times before calling the matching \code{\link{gdkWindowEndPaint}}, the backing stores are pushed onto a stack. \code{\link{gdkWindowEndPaint}} copies the topmost backing store onscreen, subtracts the topmost region from all other regions in the stack, and pops the stack. All drawing operations affect only the topmost backing store in the stack. One matching call to \code{\link{gdkWindowEndPaint}} is required for each call to \code{\link{gdkWindowBeginPaintRegion}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsSetLongProperty.Rd0000644000176000001440000000071312362217677017662 0ustar ripleyusers\alias{gtkSettingsSetLongProperty} \name{gtkSettingsSetLongProperty} \title{gtkSettingsSetLongProperty} \description{\emph{undocumented }} \usage{gtkSettingsSetLongProperty(object, name, v.long, origin)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{name}}{\emph{undocumented }} \item{\verb{v.long}}{\emph{undocumented }} \item{\verb{origin}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRotate.Rd0000644000176000001440000000117212362217677014567 0ustar ripleyusers\alias{cairoRotate} \name{cairoRotate} \title{cairoRotate} \description{Modifies the current transformation matrix (CTM) by rotating the user-space axes by \code{angle} radians. The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.} \usage{cairoRotate(cr, angle)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{angle}}{[numeric] angle (in radians) by which the user-space axes will be rotated} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDecorated.Rd0000644000176000001440000000164412362217677016563 0ustar ripleyusers\alias{gtkWindowSetDecorated} \name{gtkWindowSetDecorated} \title{gtkWindowSetDecorated} \description{By default, windows are decorated with a title bar, resize controls, etc. Some window managers allow GTK+ to disable these decorations, creating a borderless window. If you set the decorated property to \code{FALSE} using this function, GTK+ will do its best to convince the window manager not to decorate the window. Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling \code{gtkWindowShow()}.} \usage{gtkWindowSetDecorated(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to decorate the window} } \details{On Windows, this function always works, since there's no window manager policy involved.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSizeGroup.Rd0000644000176000001440000001105212362217677014706 0ustar ripleyusers\alias{GtkSizeGroup} \alias{gtkSizeGroup} \alias{GtkSizeGroupMode} \name{GtkSizeGroup} \title{GtkSizeGroup} \description{Grouping widgets so they request the same size} \section{Methods and Functions}{ \code{\link{gtkSizeGroupNew}(mode = NULL)}\cr \code{\link{gtkSizeGroupSetMode}(object, mode)}\cr \code{\link{gtkSizeGroupGetMode}(object)}\cr \code{\link{gtkSizeGroupSetIgnoreHidden}(object, ignore.hidden)}\cr \code{\link{gtkSizeGroupGetIgnoreHidden}(object)}\cr \code{\link{gtkSizeGroupAddWidget}(object, widget)}\cr \code{\link{gtkSizeGroupRemoveWidget}(object, widget)}\cr \code{\link{gtkSizeGroupGetWidgets}(object)}\cr \code{gtkSizeGroup(mode = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkSizeGroup}} \section{Interfaces}{GtkSizeGroup implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkSizeGroup}} provides a mechanism for grouping a number of widgets together so they all request the same amount of space. This is typically useful when you want a column of widgets to have the same size, but you can't use a \code{\link{GtkTable}} widget. In detail, the size requested for each widget in a \code{\link{GtkSizeGroup}} is the maximum of the sizes that would have been requested for each widget in the size group if they were not in the size group. The mode of the size group (see \code{\link{gtkSizeGroupSetMode}}) determines whether this applies to the horizontal size, the vertical size, or both sizes. Note that size groups only affect the amount of space requested, not the size that the widgets finally receive. If you want the widgets in a \code{\link{GtkSizeGroup}} to actually be the same size, you need to pack them in such a way that they get the size they request and not more. For example, if you are packing your widgets into a table, you would not include the \code{GTK_FILL} flag. \code{\link{GtkSizeGroup}} objects are referenced by each widget in the size group, so once you have added all widgets to a \code{\link{GtkSizeGroup}}, you can drop the initial reference to the size group with \code{gObjectUnref()}. If the widgets in the size group are subsequently destroyed, then they will be removed from the size group and drop their references on the size group; when all widgets have been removed, the size group will be freed. Widgets can be part of multiple size groups; GTK+ will compute the horizontal size of a widget from the horizontal requisition of all widgets that can be reached from the widget by a chain of size groups of type \code{GTK_SIZE_GROUP_HORIZONTAL} or \code{GTK_SIZE_GROUP_BOTH}, and the vertical size from the vertical requisition of all widgets that can be reached from the widget by a chain of size groups of type \code{GTK_SIZE_GROUP_VERTICAL} or \code{GTK_SIZE_GROUP_BOTH}.} \section{GtkSizeGroup as GtkBuildable}{Size groups can be specified in a UI definition by placing an element with \code{class="GtkSizeGroup"} somewhere in the UI definition. The widgets that belong to the size group are specified by a element that may contain multiple elements, one for each member of the size group. The name attribute gives the id of the widget. \emph{A UI definition fragment with GtkSizeGroup}\preformatted{ GTK_SIZE_GROUP_HORIZONTAL }} \section{Structures}{\describe{\item{\verb{GtkSizeGroup}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkSizeGroup} is the equivalent of \code{\link{gtkSizeGroupNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkSizeGroupMode}}{ The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets. \describe{ \item{\verb{none}}{group has no effect} \item{\verb{horizontal}}{group affects horizontal requisition} \item{\verb{vertical}}{group affects vertical requisition} \item{\verb{both}}{group affects both horizontal and vertical requisition} } }}} \section{Properties}{\describe{ \item{\verb{ignore-hidden} [logical : Read / Write]}{ If \code{TRUE}, unmapped widgets are ignored when determining the size of the group. Default value: FALSE Since 2.8 } \item{\verb{mode} [\code{\link{GtkSizeGroupMode}} : Read / Write]}{ The directions in which the size group affects the requested sizes of its component widgets. Default value: GTK_SIZE_GROUP_HORIZONTAL } }} \references{\url{http://library.gnome.org/devel//gtk/GtkSizeGroup.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveEject.Rd0000644000176000001440000000174112362217677014510 0ustar ripleyusers\alias{gDriveEject} \name{gDriveEject} \title{gDriveEject} \description{ Asynchronously ejects a drive. \strong{WARNING: \code{g_drive_eject} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gDriveEjectWithOperation}} instead.} } \usage{gDriveEject(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data to pass to \code{callback}} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDriveEjectFinish}} to obtain the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListPrependItems.Rd0000644000176000001440000000072012362217677016252 0ustar ripleyusers\alias{gtkListPrependItems} \name{gtkListPrependItems} \title{gtkListPrependItems} \description{ Inserts \code{items} at the beginning of the \code{list}. \strong{WARNING: \code{gtk_list_prepend_items} is deprecated and should not be used in newly-written code.} } \usage{gtkListPrependItems(object, items)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{items}}{the items.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameSetLabel.Rd0000644000176000001440000000070712362217677015472 0ustar ripleyusers\alias{gtkFrameSetLabel} \name{gtkFrameSetLabel} \title{gtkFrameSetLabel} \description{Sets the text of the label. If \code{label} is \code{NULL}, the current label is removed.} \usage{gtkFrameSetLabel(object, label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFrame}}} \item{\verb{label}}{the text to use as the label of the frame. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerAddFull.Rd0000644000176000001440000000272412362217677016774 0ustar ripleyusers\alias{gtkRecentManagerAddFull} \name{gtkRecentManagerAddFull} \title{gtkRecentManagerAddFull} \description{Adds a new resource, pointed by \code{uri}, into the recently used resources list, using the metadata specified inside the \code{\link{GtkRecentData}} structure passed in \code{recent.data}.} \usage{gtkRecentManagerAddFull(object, uri, recent.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{a valid URI} \item{\verb{recent.data}}{metadata of the resource} } \details{The passed URI will be used to identify this resource inside the list. In order to register the new recently used resource, metadata about the resource must be passed as well as the URI; the metadata is stored in a \code{\link{GtkRecentData}} structure, which must contain the MIME type of the resource pointed by the URI; the name of the application that is registering the item, and a command line to be used when launching the item. Optionally, a \code{\link{GtkRecentData}} structure might contain a UTF-8 string to be used when viewing the item instead of the last component of the URI; a short description of the item; whether the item should be considered private - that is, should be displayed only by the applications that have registered it. Since 2.10} \value{[logical] \code{TRUE} if the new item was successfully added to the recently used resources list, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSet.Rd0000644000176000001440000000113312362217677014514 0ustar ripleyusers\alias{gtkImageSet} \name{gtkImageSet} \title{gtkImageSet} \description{ Sets the \code{\link{GtkImage}}. \strong{WARNING: \code{gtk_image_set} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkImageSetFromImage}} instead.} } \usage{gtkImageSet(object, val, mask)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{val}}{a \code{\link{GdkImage}}} \item{\verb{mask}}{a \code{\link{GdkBitmap}} that indicates which parts of the image should be transparent.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterEndsLine.Rd0000644000176000001440000000144712362217677016220 0ustar ripleyusers\alias{gtkTextIterEndsLine} \name{gtkTextIterEndsLine} \title{gtkTextIterEndsLine} \description{Returns \code{TRUE} if \code{iter} points to the start of the paragraph delimiter characters for a line (delimiters will be either a newline, a carriage return, a carriage return followed by a newline, or a Unicode paragraph separator character). Note that an iterator pointing to the \\n of a \\r\\n pair will not be counted as the end of a line, the line ends before the \\r. The end iterator is considered to be at the end of a line, even though there are no paragraph delimiter chars there.} \usage{gtkTextIterEndsLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} is at the end of a line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCopyAttributes.Rd0000644000176000001440000000244712362217677016251 0ustar ripleyusers\alias{gFileCopyAttributes} \name{gFileCopyAttributes} \title{gFileCopyAttributes} \description{Copies the file attributes from \code{source} to \code{destination}. } \usage{gFileCopyAttributes(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}} with attributes.} \item{\verb{destination}}{a \code{\link{GFile}} to copy attributes to.} \item{\verb{flags}}{a set of \code{\link{GFileCopyFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Normally only a subset of the file attributes are copied, those that are copies in a normal file copy operation (which for instance does not include e.g. owner). However if \verb{G_FILE_COPY_ALL_METADATA} is specified in \code{flags}, then all the metadata that is possible to copy is copied. This is useful when implementing move by copy + delete source.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the attributes were copied successfully, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogNewWithButtons.Rd0000644000176000001440000000500712362217677017106 0ustar ripleyusers\alias{gtkDialogNewWithButtons} \name{gtkDialogNewWithButtons} \title{gtkDialogNewWithButtons} \description{Creates a new \code{\link{GtkDialog}} with title \code{title} (or \code{NULL} for the default title; see \code{\link{gtkWindowSetTitle}}) and transient parent \code{parent} (or \code{NULL} for none; see \code{\link{gtkWindowSetTransientFor}}). The \code{flags} argument can be used to make the dialog modal (\verb{GTK_DIALOG_MODAL}) and/or to have it destroyed along with its transient parent (\verb{GTK_DIALOG_DESTROY_WITH_PARENT}). After \code{flags}, button text/response ID pairs should be listed, with a \code{NULL} pointer ending the list. Button text can be either a stock ID such as \verb{GTK_STOCK_OK}, or some arbitrary text. A response ID can be any positive number, or one of the values in the \code{\link{GtkResponseType}} enumeration. If the user clicks one of these dialog buttons, \code{\link{GtkDialog}} will emit the \code{\link{gtkDialogResponse}} signal with the corresponding response ID. If a \code{\link{GtkDialog}} receives the \verb{"delete-event"} signal, it will emit ::response with a response ID of \verb{GTK_RESPONSE_DELETE_EVENT}. However, destroying a dialog does not emit the ::response signal; so be careful relying on ::response when using the \verb{GTK_DIALOG_DESTROY_WITH_PARENT} flag. Buttons are from left to right, so the first button in the list will be the leftmost button in the dialog.} \usage{gtkDialogNewWithButtons(title = NULL, parent = NULL, flags = 0, ..., show = TRUE)} \arguments{ \item{\verb{title}}{Title of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent}}{Transient parent of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{flags}}{from \code{\link{GtkDialogFlags}}} \item{\verb{...}}{a new \code{\link{GtkDialog}}} } \details{Here's a simple example: \preformatted{ # Explicit dialog <- gtkDialogNewWithButtons("My dialog", main_app_window, c("modal", "destroy-with-parent"), "gtk-ok", GtkResponseType["accept"], "gtk-cancel", GtkResponseType["reject"]) ## Also via collapsed constructor dialog <- gtkDialog("My dialog", main_app_window, c("modal", "destroy-with-parent"), "gtk-ok", GtkResponseType["accept"], "gtk-cancel", GtkResponseType["reject"]) }} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkKeySnooperRemove.Rd0000644000176000001440000000054012362217677016273 0ustar ripleyusers\alias{gtkKeySnooperRemove} \name{gtkKeySnooperRemove} \title{gtkKeySnooperRemove} \description{Removes the key snooper function with the given id.} \usage{gtkKeySnooperRemove(snooper.handler.id)} \arguments{\item{\verb{snooper.handler.id}}{Identifies the key snooper to remove.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewCreateDragIcon.Rd0000644000176000001440000000110212362217677017270 0ustar ripleyusers\alias{gtkIconViewCreateDragIcon} \name{gtkIconViewCreateDragIcon} \title{gtkIconViewCreateDragIcon} \description{Creates a \code{\link{GdkPixmap}} representation of the item at \code{path}. This image is used for a drag icon.} \usage{gtkIconViewCreateDragIcon(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} in \code{icon.view}} } \details{Since 2.8} \value{[\code{\link{GdkPixmap}}] a newly-allocated pixmap of the drag icon.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetKeynavFailed.Rd0000644000176000001440000000404612362217677016532 0ustar ripleyusers\alias{gtkWidgetKeynavFailed} \name{gtkWidgetKeynavFailed} \title{gtkWidgetKeynavFailed} \description{This function should be called whenever keyboard navigation within a single widget hits a boundary. The function emits the \code{\link{gtkWidgetKeynavFailed}} signal on the widget and its return value should be interpreted in a way similar to the return value of \code{\link{gtkWidgetChildFocus}}:} \usage{gtkWidgetKeynavFailed(object, direction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{direction}}{direction of focus movement} } \details{When \code{TRUE} is returned, stay in the widget, the failed keyboard navigation is Ok and/or there is nowhere we can/should move the focus to. When \code{FALSE} is returned, the caller should continue with keyboard navigation outside the widget, e.g. by calling \code{\link{gtkWidgetChildFocus}} on the widget's toplevel. The default ::keynav-failed handler returns \code{TRUE} for \code{GTK_DIR_TAB_FORWARD} and \code{GTK_DIR_TAB_BACKWARD}. For the other values of \code{\link{GtkDirectionType}}, it looks at the \verb{"gtk-keynav-cursor-only"} setting and returns \code{FALSE} if the setting is \code{TRUE}. This way the entire user interface becomes cursor-navigatable on input devices such as mobile phones which only have cursor keys but no tab key. Whenever the default handler returns \code{TRUE}, it also calls \code{\link{gtkWidgetErrorBell}} to notify the user of the failed keyboard navigation. A use case for providing an own implementation of ::keynav-failed (either by connecting to it or by overriding it) would be a row of \code{\link{GtkEntry}} widgets where the user should be able to navigate the entire row with the cursor keys, as e.g. known from user interfaces that require entering license keys. Since 2.12} \value{[logical] \code{TRUE} if stopping keyboard navigation is fine, \code{FALSE} if the emitting widget should try to handle the keyboard navigation attempt in its parent container(s).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnCellIsVisible.Rd0000644000176000001440000000116312362217677020343 0ustar ripleyusers\alias{gtkTreeViewColumnCellIsVisible} \name{gtkTreeViewColumnCellIsVisible} \title{gtkTreeViewColumnCellIsVisible} \description{Returns \code{TRUE} if any of the cells packed into the \code{tree.column} are visible. For this to be meaningful, you must first initialize the cells with \code{\link{gtkTreeViewColumnCellSetCellData}}} \usage{gtkTreeViewColumnCellIsVisible(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \value{[logical] \code{TRUE}, if any of the cells packed into the \code{tree.column} are currently visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardWordStarts.Rd0000644000176000001440000000100212362217677020255 0ustar ripleyusers\alias{gtkTextIterBackwardWordStarts} \name{gtkTextIterBackwardWordStarts} \title{gtkTextIterBackwardWordStarts} \description{Calls \code{\link{gtkTextIterBackwardWordStart}} up to \code{count} times.} \usage{gtkTextIterBackwardWordStarts(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of times to move} } \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugConstructForDisplay.Rd0000644000176000001440000000135412362217677017634 0ustar ripleyusers\alias{gtkPlugConstructForDisplay} \name{gtkPlugConstructForDisplay} \title{gtkPlugConstructForDisplay} \description{Finish the initialization of \code{plug} for a given \code{\link{GtkSocket}} identified by \code{socket.id} which is currently displayed on \code{display}. This function will generally only be used by classes deriving from \code{\link{GtkPlug}}.} \usage{gtkPlugConstructForDisplay(object, display, socket.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPlug}}.} \item{\verb{display}}{the \code{\link{GdkDisplay}} associated with \code{socket.id}'s \code{\link{GtkSocket}}.} \item{\verb{socket.id}}{the XID of the socket's window.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToolButton.Rd0000644000176000001440000001142012362217677015067 0ustar ripleyusers\alias{GtkToolButton} \alias{gtkToolButton} \name{GtkToolButton} \title{GtkToolButton} \description{A GtkToolItem subclass that displays buttons} \section{Methods and Functions}{ \code{\link{gtkToolButtonNew}(icon.widget = NULL, label = NULL, show = TRUE)}\cr \code{\link{gtkToolButtonNewFromStock}(stock.id, show = TRUE)}\cr \code{\link{gtkToolButtonSetLabel}(object, label = NULL)}\cr \code{\link{gtkToolButtonGetLabel}(object)}\cr \code{\link{gtkToolButtonSetUseUnderline}(object, use.underline)}\cr \code{\link{gtkToolButtonGetUseUnderline}(object)}\cr \code{\link{gtkToolButtonSetStockId}(object, stock.id = NULL)}\cr \code{\link{gtkToolButtonGetStockId}(object)}\cr \code{\link{gtkToolButtonSetIconName}(object, icon.name)}\cr \code{\link{gtkToolButtonGetIconName}(object)}\cr \code{\link{gtkToolButtonSetIconWidget}(object, icon.widget = NULL)}\cr \code{\link{gtkToolButtonGetIconWidget}(object)}\cr \code{\link{gtkToolButtonSetLabelWidget}(object, label.widget = NULL)}\cr \code{\link{gtkToolButtonGetLabelWidget}(object)}\cr \code{gtkToolButton(icon.widget = NULL, label = NULL, stock.id, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkMenuToolButton +----GtkToggleToolButton}} \section{Interfaces}{GtkToolButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{\code{\link{GtkToolButton}}s are \verb{GtkToolItems} containing buttons. Use \code{\link{gtkToolButtonNew}} to create a new \code{\link{GtkToolButton}}. Use \code{gtkToolButtonNewWithStock()} to create a \code{\link{GtkToolButton}} containing a stock item. The label of a \code{\link{GtkToolButton}} is determined by the properties "label-widget", "label", and "stock-id". If "label-widget" is non-\code{NULL}, then that widget is used as the label. Otherwise, if "label" is non-\code{NULL}, that string is used as the label. Otherwise, if "stock-id" is non-\code{NULL}, the label is determined by the stock item. Otherwise, the button does not have a label. The icon of a \code{\link{GtkToolButton}} is determined by the properties "icon-widget" and "stock-id". If "icon-widget" is non-\code{NULL}, then that widget is used as the icon. Otherwise, if "stock-id" is non-\code{NULL}, the icon is determined by the stock item. Otherwise, the button does not have a icon.} \section{Structures}{\describe{\item{\verb{GtkToolButton}}{ The \code{\link{GtkToolButton}} struct contains only private. It should only be accessed with the function described below. }}} \section{Convenient Construction}{\code{gtkToolButton} is the result of collapsing the constructors of \code{GtkToolButton} (\code{\link{gtkToolButtonNew}}, \code{\link{gtkToolButtonNewFromStock}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{clicked(toolbutton, user.data)}}{ This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. \describe{ \item{\code{toolbutton}}{the object that emitted the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{icon-name} [character : * : Read / Write]}{ The name of the themed icon displayed on the item. This property only has an effect if not overridden by "label", "icon_widget" or "stock_id" properties. Default value: NULL Since 2.8 } \item{\verb{icon-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ Icon widget to display in the item. } \item{\verb{label} [character : * : Read / Write]}{ Text to show in the item. Default value: NULL } \item{\verb{label-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ Widget to use as the item label. } \item{\verb{stock-id} [character : * : Read / Write]}{ The stock icon displayed on the item. Default value: NULL } \item{\verb{use-underline} [logical : Read / Write]}{ If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. Default value: FALSE } }} \section{Style Properties}{\describe{\item{\verb{icon-spacing} [integer : Read / Write]}{ Spacing in pixels between the icon and label. Allowed values: >= 0 Default value: 3 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkToolButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkAttributeSet.Rd0000644000176000001440000000034111766145227015365 0ustar ripleyusers\name{AtkAttributeSet} \alias{AtkAttributeSet} \title{AtkAttributeSet} \description{The \code{AtkAttributeSet} is merely a list of \code{\link{AtkAttribute}}.} \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gOutputStreamSplice.Rd0000644000176000001440000000170412362217677016277 0ustar ripleyusers\alias{gOutputStreamSplice} \name{gOutputStreamSplice} \title{gOutputStreamSplice} \description{Splices an input stream into an output stream.} \usage{gOutputStreamSplice(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{source}}{a \code{\link{GInputStream}}.} \item{\verb{flags}}{a set of \code{\link{GOutputStreamSpliceFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] a \verb{integer} containing the size of the data spliced, or -1 if an error occurred.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetProgressFraction.Rd0000644000176000001440000000102412362217677020005 0ustar ripleyusers\alias{gtkEntrySetProgressFraction} \name{gtkEntrySetProgressFraction} \title{gtkEntrySetProgressFraction} \description{Causes the entry's progress indicator to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.} \usage{gtkEntrySetProgressFraction(object, fraction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{fraction}}{fraction of the task that's been completed} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetTabReorderable.Rd0000644000176000001440000000077212362217677020044 0ustar ripleyusers\alias{gtkNotebookGetTabReorderable} \name{gtkNotebookGetTabReorderable} \title{gtkNotebookGetTabReorderable} \description{Gets whether the tab can be reordered via drag and drop or not.} \usage{gtkNotebookGetTabReorderable(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a child \code{\link{GtkWidget}}} } \details{Since 2.10} \value{[logical] \code{TRUE} if the tab is reorderable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeGetRowDragData.Rd0000644000176000001440000000215212362217677016437 0ustar ripleyusers\alias{gtkTreeGetRowDragData} \name{gtkTreeGetRowDragData} \title{gtkTreeGetRowDragData} \description{Obtains a \code{tree.model} and \code{path} from selection data of target type \code{GTK_TREE_MODEL_ROW}. Normally called from a drag_data_received handler. This function can only be used if \code{selection.data} originates from the same process that's calling this function, because a pointer to the tree model is being passed around. If you aren't in the same process, then you'll get memory corruption. In the \code{\link{GtkTreeDragDest}} drag_data_received handler, you can assume that selection data of type \code{GTK_TREE_MODEL_ROW} is in from the current process.} \usage{gtkTreeGetRowDragData(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{selection.data} had target type \code{GTK_TREE_MODEL_ROW} and is otherwise valid} \item{\verb{tree.model}}{a \code{\link{GtkTreeModel}}} \item{\verb{path}}{row in \code{tree.model}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableAddColumnSelection.Rd0000644000176000001440000000117612362217677017503 0ustar ripleyusers\alias{atkTableAddColumnSelection} \name{atkTableAddColumnSelection} \title{atkTableAddColumnSelection} \description{Adds the specified \code{column} to the selection.} \usage{atkTableAddColumnSelection(object, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[logical] a gboolean representing if the column was successfully added to the selection, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetUnrealize.Rd0000644000176000001440000000066212362217677016126 0ustar ripleyusers\alias{gtkWidgetUnrealize} \name{gtkWidgetUnrealize} \title{gtkWidgetUnrealize} \description{This function is only useful in widget implementations. Causes a widget to be unrealized (frees all GDK resources associated with the widget, such as \code{widget->window}).} \usage{gtkWidgetUnrealize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/children.Rd0000644000176000001440000000223211766145227014077 0ustar ripleyusers\name{children} \alias{gtkChildren} \alias{gtkParent} \title{Get child widgets of a Gtk container} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This returns a list of the widgets that are currently contained or managed by a particular Gtk container widget. } \usage{ gtkChildren(object) gtkParent(object) } \arguments{ \item{w}{the Gtk widget object whose children or parent widget(s) are to be retrieved. For \code{gtkChildren}, the object should be an object that inherits from the class \code{GtkContainer}. } } \value{ For \code{gtkChildren}, a list with each element corresponding to a child in the container widget. } \references{ \url{http://www.gtk.org} \url{http://www.omegahat.org/RGtk} } \author{Duncan Temple Lang} \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) This is a slightly modified function from Duncan's original. It now always behaves as if the former argument \code{FULL} is \code{TRUE}. This is an extra-ordinarily early release intended to encourage others to contribute code, etc.} \seealso{ \code{\link{gtkParent}} } \keyword{interface} \keyword{internal} RGtk2/man/gdkScreenGetRgbaVisual.Rd0000644000176000001440000000114512362217677016640 0ustar ripleyusers\alias{gdkScreenGetRgbaVisual} \name{gdkScreenGetRgbaVisual} \title{gdkScreenGetRgbaVisual} \description{Gets a visual to use for creating windows or pixmaps with an alpha channel. See the docs for \code{\link{gdkScreenGetRgbaColormap}} for caveats.} \usage{gdkScreenGetRgbaVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.8} \value{[\code{\link{GdkVisual}}] a visual to use for windows with an alpha channel or \code{NULL} if the capability is not available. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewScrollToPoint.Rd0000644000176000001440000000157312362217677017254 0ustar ripleyusers\alias{gtkTreeViewScrollToPoint} \name{gtkTreeViewScrollToPoint} \title{gtkTreeViewScrollToPoint} \description{Scrolls the tree view such that the top-left corner of the visible area is \code{tree.x}, \code{tree.y}, where \code{tree.x} and \code{tree.y} are specified in tree coordinates. The \code{tree.view} must be realized before this function is called. If it isn't, you probably want to be using \code{\link{gtkTreeViewScrollToCell}}.} \usage{gtkTreeViewScrollToPoint(object, tree.x, tree.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tree.x}}{X coordinate of new top-left pixel of visible area, or -1} \item{\verb{tree.y}}{Y coordinate of new top-left pixel of visible area, or -1} } \details{If either \code{tree.x} or \code{tree.y} are -1, then that direction isn't scrolled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGrabAdd.Rd0000644000176000001440000000107312362217677014305 0ustar ripleyusers\alias{gtkGrabAdd} \name{gtkGrabAdd} \title{gtkGrabAdd} \description{Makes \code{widget} the current grabbed widget. This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget.} \usage{gtkGrabAdd(object)} \arguments{\item{\verb{object}}{The widget that grabs keyboard and pointer events.}} \details{If \code{widget} is not sensitive, it is not set as the current grabbed widget and this function does nothing.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gLoadableIconLoadAsync.Rd0000644000176000001440000000146612362217677016602 0ustar ripleyusers\alias{gLoadableIconLoadAsync} \name{gLoadableIconLoadAsync} \title{gLoadableIconLoadAsync} \description{Loads an icon asynchronously. To finish this function, see \code{\link{gLoadableIconLoadFinish}}. For the synchronous, blocking version of this function, see \code{\link{gLoadableIconLoad}}.} \usage{gLoadableIconLoadAsync(object, size, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GLoadableIcon}}.} \item{\verb{size}}{an integer.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetCommandline.Rd0000644000176000001440000000074212362217677016627 0ustar ripleyusers\alias{gAppInfoGetCommandline} \name{gAppInfoGetCommandline} \title{gAppInfoGetCommandline} \description{Gets the commandline with which the application will be started.} \usage{gAppInfoGetCommandline(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}}} \details{Since 2.20} \value{[char] a string containing the \code{appinfo}'s commandline, or \code{NULL} if this information is not available} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetUuid.Rd0000644000176000001440000000103712362217677015220 0ustar ripleyusers\alias{gVolumeGetUuid} \name{gVolumeGetUuid} \title{gVolumeGetUuid} \description{Gets the UUID for the \code{volume}. The reference is typically based on the file system UUID for the volume in question and should be considered an opaque string. Returns \code{NULL} if there is no UUID available.} \usage{gVolumeGetUuid(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[char] the UUID for \code{volume} or \code{NULL} if no UUID can be computed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetEnableTreeLines.Rd0000644000176000001440000000075412362217677020142 0ustar ripleyusers\alias{gtkTreeViewGetEnableTreeLines} \name{gtkTreeViewGetEnableTreeLines} \title{gtkTreeViewGetEnableTreeLines} \description{Returns whether or not tree lines are drawn in \code{tree.view}.} \usage{gtkTreeViewGetEnableTreeLines(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}.}} \details{Since 2.10} \value{[logical] \code{TRUE} if tree lines are drawn in \code{tree.view}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetGetWeight.Rd0000644000176000001440000000074312362217677016216 0ustar ripleyusers\alias{gSrvTargetGetWeight} \name{gSrvTargetGetWeight} \title{gSrvTargetGetWeight} \description{Gets \code{target}'s weight. You should not need to look at this; \code{\link{GResolver}} already sorts the targets according to the algorithm in RFC 2782.} \usage{gSrvTargetGetWeight(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[integer] \code{target}'s weight} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFaceDescribe.Rd0000644000176000001440000000113512362217677016465 0ustar ripleyusers\alias{pangoFontFaceDescribe} \name{pangoFontFaceDescribe} \title{pangoFontFaceDescribe} \description{Returns the family, style, variant, weight and stretch of a \code{\link{PangoFontFace}}. The size field of the resulting font description will be unset.} \usage{pangoFontFaceDescribe(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFace}}] a \code{\link{PangoFontFace}}}} \value{[\code{\link{PangoFontDescription}}] a newly-created \code{\link{PangoFontDescription}} structure holding the description of the face.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogGetActionArea.Rd0000644000176000001440000000065312362217677016612 0ustar ripleyusers\alias{gtkDialogGetActionArea} \name{gtkDialogGetActionArea} \title{gtkDialogGetActionArea} \description{Returns the action area of \code{dialog}.} \usage{gtkDialogGetActionArea(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the action area. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellRebuildMenu.Rd0000644000176000001440000000115512362217677017063 0ustar ripleyusers\alias{gtkToolShellRebuildMenu} \name{gtkToolShellRebuildMenu} \title{gtkToolShellRebuildMenu} \description{Calling this function signals the tool shell that the overflow menu item for tool items have changed. If there is an overflow menu and if it is visible when this function it called, the menu will be rebuilt.} \usage{gtkToolShellRebuildMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Tool items must not call this function directly, but rely on \code{\link{gtkToolItemRebuildMenu}} instead. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyText.Rd0000644000176000001440000000156012362217677016262 0ustar ripleyusers\alias{gtkWidgetModifyText} \name{gtkWidgetModifyText} \title{gtkWidgetModifyText} \description{Sets the text color for a widget in a particular state. All other style values are left untouched. The text color is the foreground color used along with the base color (see \code{\link{gtkWidgetModifyBase}}) for widgets such as \code{\link{GtkEntry}} and \code{\link{GtkTextView}}. See also \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetModifyText(object, state, color = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{state}}{the state for which to set the text color} \item{\verb{color}}{the color to assign (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyText}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetContentType.Rd0000644000176000001440000000056312362217677017015 0ustar ripleyusers\alias{gFileInfoGetContentType} \name{gFileInfoGetContentType} \title{gFileInfoGetContentType} \description{Gets the file's content type.} \usage{gFileInfoGetContentType(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the file's content type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetOpacity.Rd0000644000176000001440000000146012362217677016275 0ustar ripleyusers\alias{gtkWindowSetOpacity} \name{gtkWindowSetOpacity} \title{gtkWindowSetOpacity} \description{Request the windowing system to make \code{window} partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) On X11 this has any effect only on X screens with a compositing manager running. See \code{\link{gtkWidgetIsComposited}}. On Windows it should work always.} \usage{gtkWindowSetOpacity(object, opacity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{opacity}}{desired opacity, between 0 and 1} } \details{Note that setting a window's opacity after the window has been shown causes it to flicker once on Windows. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetStartupId.Rd0000644000176000001440000000167412362217677016613 0ustar ripleyusers\alias{gtkWindowSetStartupId} \name{gtkWindowSetStartupId} \title{gtkWindowSetStartupId} \description{Startup notification identifiers are used by desktop environment to track application startup, to provide user feedback and other features. This function changes the corresponding property on the underlying GdkWindow. Normally, startup identifier is managed automatically and you should only use this function in special cases like transferring focus from other processes. You should use this function before calling \code{\link{gtkWindowPresent}} or any equivalent function generating a window map event.} \usage{gtkWindowSetStartupId(object, startup.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{startup.id}}{a string with startup-notification identifier} } \details{This function is only useful on X11, not with other GTK+ targets. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GBufferedInputStream.Rd0000644000176000001440000000520012362217677016334 0ustar ripleyusers\alias{GBufferedInputStream} \alias{gBufferedInputStream} \name{GBufferedInputStream} \title{GBufferedInputStream} \description{Buffered Input Stream} \section{Methods and Functions}{ \code{\link{gBufferedInputStreamNew}(base.stream = NULL)}\cr \code{\link{gBufferedInputStreamNewSized}(base.stream, size)}\cr \code{\link{gBufferedInputStreamGetBufferSize}(object)}\cr \code{\link{gBufferedInputStreamSetBufferSize}(object, size)}\cr \code{\link{gBufferedInputStreamGetAvailable}(object)}\cr \code{\link{gBufferedInputStreamPeekBuffer}(object)}\cr \code{\link{gBufferedInputStreamFill}(object, count, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gBufferedInputStreamFillAsync}(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gBufferedInputStreamFillFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gBufferedInputStreamReadByte}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{gBufferedInputStream(base.stream, size)} } \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GFilterInputStream +----GBufferedInputStream +----GDataInputStream}} \section{Detailed Description}{Buffered input stream implements \code{\link{GFilterInputStream}} and provides for buffered reads. By default, \code{\link{GBufferedInputStream}}'s buffer size is set at 4 kilobytes. To create a buffered input stream, use \code{\link{gBufferedInputStreamNew}}, or \code{\link{gBufferedInputStreamNewSized}} to specify the buffer's size at construction. To get the size of a buffer within a buffered input stream, use \code{\link{gBufferedInputStreamGetBufferSize}}. To change the size of a buffered input stream's buffer, use \code{\link{gBufferedInputStreamSetBufferSize}}. Note that the buffer's size cannot be reduced below the size of the data within the buffer.} \section{Structures}{\describe{\item{\verb{GBufferedInputStream}}{ Implements \code{\link{GFilterInputStream}} with a sized input buffer. }}} \section{Convenient Construction}{\code{gBufferedInputStream} is the result of collapsing the constructors of \code{GBufferedInputStream} (\code{\link{gBufferedInputStreamNew}}, \code{\link{gBufferedInputStreamNewSized}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{\item{\verb{buffer-size} [numeric : Read / Write / Construct]}{ The size of the backend buffer. Allowed values: >= 1 Default value: 4096 }}} \references{\url{http://library.gnome.org/devel//gio/GBufferedInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryInputStreamNewFromData.Rd0000644000176000001440000000074012362217677020216 0ustar ripleyusers\alias{gMemoryInputStreamNewFromData} \name{gMemoryInputStreamNewFromData} \title{gMemoryInputStreamNewFromData} \description{Creates a new \code{\link{GMemoryInputStream}} with data in memory of a given size.} \usage{gMemoryInputStreamNewFromData(data)} \arguments{\item{\verb{data}}{input data}} \value{[\code{\link{GInputStream}}] new \code{\link{GInputStream}} read from \code{data} of \code{len} bytes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamIsClosed.Rd0000644000176000001440000000053412362217677016364 0ustar ripleyusers\alias{gInputStreamIsClosed} \name{gInputStreamIsClosed} \title{gInputStreamIsClosed} \description{Checks if an input stream is closed.} \usage{gInputStreamIsClosed(object)} \arguments{\item{\verb{object}}{input stream.}} \value{[logical] \code{TRUE} if the stream is closed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkGObjectAccessible.Rd0000644000176000001440000000200312362217677016240 0ustar ripleyusers\alias{AtkGObjectAccessible} \name{AtkGObjectAccessible} \title{AtkGObjectAccessible} \description{This object class is derived from AtkObject and can be used as a basis implementing accessible objects.} \section{Methods and Functions}{ \code{\link{atkGObjectAccessibleForObject}(obj)}\cr \code{\link{atkGObjectAccessibleGetObject}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkObject +----AtkGObjectAccessible}} \section{Detailed Description}{This object class is derived from AtkObject. It can be used as a basis for implementing accessible objects for GObjects which are not derived from GtkWidget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL library.} \section{Structures}{\describe{\item{\verb{AtkGObjectAccessible}}{ The AtkGObjectAccessible structure should not be accessed directly. }}} \references{\url{http://library.gnome.org/devel//atk/AtkGObjectAccessible.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeListContexts.Rd0000644000176000001440000000104012362217677017252 0ustar ripleyusers\alias{gtkIconThemeListContexts} \name{gtkIconThemeListContexts} \title{gtkIconThemeListContexts} \description{Gets the list of contexts available within the current hierarchy of icon themes} \usage{gtkIconThemeListContexts(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconTheme}}}} \details{Since 2.12} \value{[list] a \verb{list} list holding the names of all the contexts in the theme. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemDeselect.Rd0000644000176000001440000000044612362217677015373 0ustar ripleyusers\alias{gtkItemDeselect} \name{gtkItemDeselect} \title{gtkItemDeselect} \description{Emits the "deselect" signal on the given item.} \usage{gtkItemDeselect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemNewWithMnemonic.Rd0000644000176000001440000000121612362217677020475 0ustar ripleyusers\alias{gtkCheckMenuItemNewWithMnemonic} \name{gtkCheckMenuItemNewWithMnemonic} \title{gtkCheckMenuItemNewWithMnemonic} \description{Creates a new \code{\link{GtkCheckMenuItem}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the menu item.} \usage{gtkCheckMenuItemNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{The text of the button, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCheckMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetMinWidth.Rd0000644000176000001440000000077412362217677020060 0ustar ripleyusers\alias{gtkTreeViewColumnSetMinWidth} \name{gtkTreeViewColumnSetMinWidth} \title{gtkTreeViewColumnSetMinWidth} \description{Sets the minimum width of the \code{tree.column}. If \code{min.width} is -1, then the minimum width is unset.} \usage{gtkTreeViewColumnSetMinWidth(object, min.width)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{min.width}}{The minimum width of the column in pixels, or -1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemGetRightJustified.Rd0000644000176000001440000000074212362217677020053 0ustar ripleyusers\alias{gtkMenuItemGetRightJustified} \name{gtkMenuItemGetRightJustified} \title{gtkMenuItemGetRightJustified} \description{Gets whether the menu item appears justified at the right side of the menu bar.} \usage{gtkMenuItemGetRightJustified(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuItem}}}} \value{[logical] \code{TRUE} if the menu item will appear at the far right if added to a menu bar.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetRowSeparatorFunc.Rd0000644000176000001440000000071612362217677020361 0ustar ripleyusers\alias{gtkComboBoxGetRowSeparatorFunc} \name{gtkComboBoxGetRowSeparatorFunc} \title{gtkComboBoxGetRowSeparatorFunc} \description{Returns the current row separator function.} \usage{gtkComboBoxGetRowSeparatorFunc(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{Since 2.6} \value{[\code{\link{GtkTreeViewRowSeparatorFunc}}] the current row separator function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMenuToolButton.Rd0000644000176000001440000000572012362217677015722 0ustar ripleyusers\alias{GtkMenuToolButton} \alias{gtkMenuToolButton} \name{GtkMenuToolButton} \title{GtkMenuToolButton} \description{A GtkToolItem containing a button with an additional dropdown menu} \section{Methods and Functions}{ \code{\link{gtkMenuToolButtonNew}(icon.widget, label, show = TRUE)}\cr \code{\link{gtkMenuToolButtonNewFromStock}(stock.id)}\cr \code{\link{gtkMenuToolButtonSetMenu}(object, menu)}\cr \code{\link{gtkMenuToolButtonGetMenu}(object)}\cr \code{\link{gtkMenuToolButtonSetArrowTooltip}(object, tooltips, tip.text = NULL, tip.private = NULL)}\cr \code{\link{gtkMenuToolButtonSetArrowTooltip}(object, tooltips, tip.text = NULL, tip.private = NULL)}\cr \code{\link{gtkMenuToolButtonSetArrowTooltipText}(object, text)}\cr \code{\link{gtkMenuToolButtonSetArrowTooltipMarkup}(object, markup)}\cr \code{gtkMenuToolButton(icon.widget, label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkMenuToolButton}} \section{Interfaces}{GtkMenuToolButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{ A \code{\link{GtkMenuToolButton}} is a \code{\link{GtkToolItem}} that contains a button and a small additional button with an arrow. When clicked, the arrow button pops up a dropdown menu. Use \code{\link{gtkMenuToolButtonNew}} to create a new \code{\link{GtkMenuToolButton}}. Use \code{\link{gtkMenuToolButtonNewFromStock}} to create a new \code{\link{GtkMenuToolButton}} containing a stock item.} \section{Structures}{\describe{\item{\verb{GtkMenuToolButton}}{ The \code{\link{GtkMenuToolButton}} struct contains only private data and should only be accessed through the functions described below. }}} \section{Convenient Construction}{\code{gtkMenuToolButton} is the equivalent of \code{\link{gtkMenuToolButtonNew}}.} \section{Signals}{\describe{\item{\code{show-menu(button, user.data)}}{ The ::show-menu signal is emitted before the menu is shown. It can be used to populate the menu on demand, using \code{\link{gtkMenuToolButtonGetMenu}}. Note that even if you populate the menu dynamically in this way, you must set an empty menu on the \code{\link{GtkMenuToolButton}} beforehand, since the arrow is made insensitive if the menu is not set. \describe{ \item{\code{button}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{menu} [\code{\link{GtkMenu}} : * : Read / Write]}{ The dropdown menu. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkMenuToolButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImageSetImageDescription.Rd0000644000176000001440000000110712362217677017656 0ustar ripleyusers\alias{atkImageSetImageDescription} \name{atkImageSetImageDescription} \title{atkImageSetImageDescription} \description{Sets the textual description for this image.} \usage{atkImageSetImageDescription(object, description)} \arguments{ \item{\verb{object}}{[\code{\link{AtkImage}}] a \code{\link{GObject}} instance that implements AtkImageIface} \item{\verb{description}}{[character] a string description to set for \code{image}} } \value{[logical] boolean TRUE, or FALSE if operation could not be completed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBorderNew.Rd0000644000176000001440000000053612362217677014713 0ustar ripleyusers\alias{gtkBorderNew} \name{gtkBorderNew} \title{gtkBorderNew} \description{Allocates a new \code{\link{GtkBorder}} structure and initializes its elements to zero.} \usage{gtkBorderNew()} \details{Since 2.14} \value{[\code{\link{GtkBorder}}] a new empty \code{\link{GtkBorder}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonSetValue.Rd0000644000176000001440000000110212362217677016706 0ustar ripleyusers\alias{gtkScaleButtonSetValue} \name{gtkScaleButtonSetValue} \title{gtkScaleButtonSetValue} \description{Sets the current value of the scale; if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The scale button emits the \verb{"value-changed"} signal if the value changes.} \usage{gtkScaleButtonSetValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScaleButton}}} \item{\verb{value}}{new value of the scale button} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferDeleteText.Rd0000644000176000001440000000154012362217677017243 0ustar ripleyusers\alias{gtkEntryBufferDeleteText} \name{gtkEntryBufferDeleteText} \title{gtkEntryBufferDeleteText} \description{Deletes a sequence of characters from the buffer. \code{n.chars} characters are deleted starting at \code{position}. If \code{n.chars} is negative, then all characters until the end of the text are deleted.} \usage{gtkEntryBufferDeleteText(object, position, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{position}}{position at which to delete text} \item{\verb{n.chars}}{number of characters to delete} } \details{If \code{position} or \code{n.chars} are out of bounds, then they are coerced to sane values. Note that the positions are specified in characters, not bytes. Since 2.18} \value{[numeric] The number of characters deleted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogAddActionWidget.Rd0000644000176000001440000000145212362217677017134 0ustar ripleyusers\alias{gtkDialogAddActionWidget} \name{gtkDialogAddActionWidget} \title{gtkDialogAddActionWidget} \description{Adds an activatable widget to the action area of a \code{\link{GtkDialog}}, connecting a signal handler that will emit the \code{\link{gtkDialogResponse}} signal on the dialog when the widget is activated. The widget is appended to the end of the dialog's action area. If you want to add a non-activatable widget, simply pack it into the \code{action.area} field of the \code{\link{GtkDialog}} struct.} \usage{gtkDialogAddActionWidget(object, child, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{child}}{an activatable widget} \item{\verb{response.id}}{response ID for \code{child}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSocketGetId.Rd0000644000176000001440000000113512362217677015165 0ustar ripleyusers\alias{gtkSocketGetId} \name{gtkSocketGetId} \title{gtkSocketGetId} \description{Gets the window ID of a \code{\link{GtkSocket}} widget, which can then be used to create a client embedded inside the socket, for instance with \code{\link{gtkPlugNew}}. } \usage{gtkSocketGetId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSocket}}.}} \details{The \code{\link{GtkSocket}} must have already be added into a toplevel window before you can make this call.} \value{[\code{\link{GdkNativeWindow}}] the window ID for the socket} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeToKeyFile.Rd0000644000176000001440000000103312362217677016473 0ustar ripleyusers\alias{gtkPaperSizeToKeyFile} \name{gtkPaperSizeToKeyFile} \title{gtkPaperSizeToKeyFile} \description{This function adds the paper size from \code{size} to \code{key.file}.} \usage{gtkPaperSizeToKeyFile(object, key.file, group.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}}} \item{\verb{key.file}}{the \verb{GKeyFile} to save the paper size to} \item{\verb{group.name}}{the group to add the settings to in \code{key.file}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrTypeRegister.Rd0000644000176000001440000000072012362217677016617 0ustar ripleyusers\alias{pangoAttrTypeRegister} \name{pangoAttrTypeRegister} \title{pangoAttrTypeRegister} \description{Allocate a new attribute type ID. The attribute type name can be accessed later by using \code{\link{pangoAttrTypeGetName}}.} \usage{pangoAttrTypeRegister(name)} \arguments{\item{\verb{name}}{[character] an identifier for the type}} \value{[\code{\link{PangoAttrType}}] the new type ID.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserListShortcutFolders.Rd0000644000176000001440000000116411766145227021131 0ustar ripleyusers\alias{gtkFileChooserListShortcutFolders} \name{gtkFileChooserListShortcutFolders} \title{gtkFileChooserListShortcutFolders} \description{Queries the list of shortcut folders in the file chooser, as set by \code{\link{gtkFileChooserAddShortcutFolder}}.} \usage{gtkFileChooserListShortcutFolders(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[list] A list of folder filenames, or \code{NULL} if there are no shortcut folders. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} utf8]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetState.Rd0000644000176000001440000000075112362217677016535 0ustar ripleyusers\alias{gtkIconSourceGetState} \name{gtkIconSourceGetState} \title{gtkIconSourceGetState} \description{Obtains the widget state this icon source applies to. The return value is only useful/meaningful if the widget state is \emph{not} wildcarded.} \usage{gtkIconSourceGetState(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[\code{\link{GtkStateType}}] widget state this source matches} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSvgVersionToString.Rd0000644000176000001440000000112512362217677017126 0ustar ripleyusers\alias{cairoSvgVersionToString} \name{cairoSvgVersionToString} \title{cairoSvgVersionToString} \description{Get the string representation of the given \code{version} id. This function will return \code{NULL} if \code{version} isn't valid. See \code{\link{cairoSvgGetVersions}} for a way to get the list of valid version ids.} \usage{cairoSvgVersionToString(version)} \arguments{\item{\verb{version}}{[\code{\link{CairoSvgVersion}}] a version id}} \details{ Since 1.2} \value{[char] the string associated to given version.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestTargets.Rd0000644000176000001440000000147712362217677017633 0ustar ripleyusers\alias{gtkClipboardRequestTargets} \name{gtkClipboardRequestTargets} \title{gtkClipboardRequestTargets} \description{Requests the contents of the clipboard as list of supported targets. When the list is later received, \code{callback} will be called. } \usage{gtkClipboardRequestTargets(object, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{callback}}{a function to call when the targets are received, or the retrieval fails. (It will always be called one way or the other.)} \item{\verb{user.data}}{user data to pass to \code{callback}.} } \details{The \code{targets} parameter to \code{callback} will contain the resulting targets if the request succeeded, or \code{NULL} if it failed. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetVariant.Rd0000644000176000001440000000115312362217677020452 0ustar ripleyusers\alias{pangoFontDescriptionSetVariant} \name{pangoFontDescriptionSetVariant} \title{pangoFontDescriptionSetVariant} \description{Sets the variant field of a font description. The \code{\link{PangoVariant}} can either be \code{PANGO_VARIANT_NORMAL} or \code{PANGO_VARIANT_SMALL_CAPS}.} \usage{pangoFontDescriptionSetVariant(object, variant)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{variant}}{[\code{\link{PangoVariant}}] the variant type for the font description.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-GtkTreeView-drag-and-drop.Rd0000644000176000001440000000445012362217677017715 0ustar ripleyusers\alias{gtk-GtkTreeView-drag-and-drop} \alias{GtkTreeDragSource} \alias{GtkTreeDragDest} \name{gtk-GtkTreeView-drag-and-drop} \title{GtkTreeView drag-and-drop} \description{Interfaces for drag-and-drop support in GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkTreeDragSourceDragDataDelete}(object, path)}\cr \code{\link{gtkTreeDragSourceDragDataGet}(object, path)}\cr \code{\link{gtkTreeDragSourceRowDraggable}(object, path)}\cr \code{\link{gtkTreeDragDestDragDataReceived}(object, dest, selection.data)}\cr \code{\link{gtkTreeDragDestRowDropPossible}(object, dest.path, selection.data)}\cr \code{\link{gtkTreeSetRowDragData}(object, tree.model, path)}\cr \code{\link{gtkTreeGetRowDragData}(object)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----GtkTreeDragSource GInterface +----GtkTreeDragDest }} \section{Implementations}{GtkTreeDragSource is implemented by \code{\link{GtkListStore}}, \code{\link{GtkTreeModelFilter}}, \code{\link{GtkTreeModelSort}} and \code{\link{GtkTreeStore}}. GtkTreeDragDest is implemented by \code{\link{GtkListStore}} and \code{\link{GtkTreeStore}}.} \section{Detailed Description}{GTK+ supports Drag-and-Drop in tree views with a high-level and a low-level API. The low-level API consists of the GTK+ DND API, augmented by some treeview utility functions: \code{\link{gtkTreeViewSetDragDestRow}}, \code{\link{gtkTreeViewGetDragDestRow}}, \code{\link{gtkTreeViewGetDestRowAtPos}}, \code{\link{gtkTreeViewCreateRowDragIcon}}, \code{\link{gtkTreeSetRowDragData}} and \code{\link{gtkTreeGetRowDragData}}. This API leaves a lot of flexibility, but nothing is done automatically, and implementing advanced features like hover-to-open-rows or autoscrolling on top of this API is a lot of work. On the other hand, if you write to the high-level API, then all the bookkeeping of rows is done for you, as well as things like hover-to-open and auto-scroll, but your models have to implement the \code{\link{GtkTreeDragSource}} and \code{\link{GtkTreeDragDest}} interfaces.} \section{Structures}{\describe{ \item{\verb{GtkTreeDragSource}}{ \emph{undocumented } } \item{\verb{GtkTreeDragDest}}{ \emph{undocumented } } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-GtkTreeView-drag-and-drop.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Event-Structures.Rd0000644000176000001440000005573412362217677016335 0ustar ripleyusers\alias{gdk-Event-Structures} \alias{GdkEventAny} \alias{GdkEventKey} \alias{GdkEventButton} \alias{GdkEventScroll} \alias{GdkEventMotion} \alias{GdkEventExpose} \alias{GdkEventVisibility} \alias{GdkEventCrossing} \alias{GdkEventFocus} \alias{GdkEventConfigure} \alias{GdkEventProperty} \alias{GdkEventSelection} \alias{GdkEventDND} \alias{GdkEventProximity} \alias{GdkEventClient} \alias{GdkEventNoExpose} \alias{GdkEventWindowState} \alias{GdkEventSetting} \alias{GdkEventOwnerChange} \alias{GdkEventGrabBroken} \alias{GdkScrollDirection} \alias{GdkVisibilityState} \alias{GdkCrossingMode} \alias{GdkNotifyType} \alias{GdkPropertyState} \alias{GdkWindowState} \alias{GdkSettingAction} \alias{GdkOwnerChange} \name{gdk-Event-Structures} \title{Event Structures} \description{Data structures specific to each type of event} \section{Detailed Description}{The event structs contain data specific to each type of event in GDK. \strong{PLEASE NOTE:} A common mistake is to forget to set the event mask of a widget so that the required events are received. See \code{\link{gtkWidgetSetEvents}}.} \section{Structures}{\describe{ \item{\verb{GdkEventAny}}{ Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a \code{\link{GdkEventAny}} to access these fields. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event.} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} } } \item{\verb{GdkEventKey}}{ Describes a key press or key release event. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_KEY_PRESS} or \code{GDK_KEY_RELEASE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{state}}{[numeric] a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See \code{\link{GdkModifierType}}.} \item{\verb{keyval}}{[numeric] the key that was pressed or released. See the \file{} header file for a complete list of GDK key codes.} \item{\verb{length}}{[integer] the length of \code{string}.} \item{\verb{string}}{[character] a string containing the an approximation of the text that would result from this keypress. The only correct way to handle text input of text is using input methods (see \code{\link{GtkIMContext}}), so this field is deprecated and should never be used. (\code{\link{gdkUnicodeToKeyval}} provides a non-deprecated way of getting an approximate translation for a key.) The string is encoded in the encoding of the current locale (Note: this for backwards compatibility: strings in GTK+ and GDK are typically in UTF-8.) and NUL-terminated. In some cases, the translation of the key code will be a single NUL byte, in which case looking at \code{length} is necessary to distinguish it from the an empty translation.} \item{\verb{hardwareKeycode}}{[integer] the raw code of the key that was pressed or released.} \item{\verb{group}}{[raw] the keyboard group.} } } \item{\verb{GdkEventButton}}{ Used for button press and button release events. The \code{type} field will be one of \code{GDK_BUTTON_PRESS}, \code{GDK_2BUTTON_PRESS}, \code{GDK_3BUTTON_PRESS}, and \code{GDK_BUTTON_RELEASE}. Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be: \enumerate{ \item \code{GDK_BUTTON_PRESS} \item \code{GDK_BUTTON_RELEASE} \item \code{GDK_BUTTON_PRESS} \item \code{GDK_2BUTTON_PRESS} \item \code{GDK_BUTTON_RELEASE} } Note that the first click is received just like a normal button press, while the second click results in a \code{GDK_2BUTTON_PRESS} being received just after the \code{GDK_BUTTON_PRESS}. Triple-clicks are very similar to double-clicks, except that \code{GDK_3BUTTON_PRESS} is inserted after the third click. The order of the events is: \enumerate{ \item \code{GDK_BUTTON_PRESS} \item \code{GDK_BUTTON_RELEASE} \item \code{GDK_BUTTON_PRESS} \item \code{GDK_2BUTTON_PRESS} \item \code{GDK_BUTTON_RELEASE} \item \code{GDK_BUTTON_PRESS} \item \code{GDK_3BUTTON_PRESS} \item \code{GDK_BUTTON_RELEASE} } For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first button press. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_BUTTON_PRESS}, \code{GDK_2BUTTON_PRESS}, \code{GDK_3BUTTON_PRESS} or \code{GDK_BUTTON_RELEASE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{x}}{[numeric] the x coordinate of the pointer relative to the window.} \item{\verb{y}}{[numeric] the y coordinate of the pointer relative to the window.} \item{\verb{axes}}{[numeric] \code{x}, \code{y} translated to the axes of \code{device}, or \code{NULL} if \code{device} is the mouse.} \item{\verb{state}}{[numeric] a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See \code{\link{GdkModifierType}}.} \item{\verb{button}}{[numeric] the button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together.} \item{\verb{device}}{[\code{\link{GdkDevice}}] the device where the event originated.} \item{\verb{xRoot}}{[numeric] the x coordinate of the pointer relative to the root of the screen.} \item{\verb{yRoot}}{[numeric] the y coordinate of the pointer relative to the root of the screen.} } } \item{\verb{GdkEventScroll}}{ Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_SCROLL}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{x}}{[numeric] the x coordinate of the pointer relative to the window.} \item{\verb{y}}{[numeric] the y coordinate of the pointer relative to the window.} \item{\verb{state}}{[numeric] a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See \code{\link{GdkModifierType}}.} \item{\verb{direction}}{[\code{\link{GdkScrollDirection}}] the direction to scroll to (one of \code{GDK_SCROLL_UP}, \code{GDK_SCROLL_DOWN}, \code{GDK_SCROLL_LEFT} and \code{GDK_SCROLL_RIGHT}).} \item{\verb{device}}{[\code{\link{GdkDevice}}] the device where the event originated.} \item{\verb{xRoot}}{[numeric] the x coordinate of the pointer relative to the root of the screen.} \item{\verb{yRoot}}{[numeric] the y coordinate of the pointer relative to the root of the screen.} } } \item{\verb{GdkEventMotion}}{ Generated when the pointer moves. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event.} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{x}}{[numeric] the x coordinate of the pointer relative to the window.} \item{\verb{y}}{[numeric] the y coordinate of the pointer relative to the window.} \item{\verb{axes}}{[numeric] \code{x}, \code{y} translated to the axes of \code{device}, or \code{NULL} if \code{device} is the mouse.} \item{\verb{state}}{[numeric] a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See \code{\link{GdkModifierType}}.} \item{\verb{isHint}}{[integer] set to 1 if this event is just a hint, see the \code{GDK_POINTER_MOTION_HINT_MASK} value of \code{\link{GdkEventMask}}.} \item{\verb{device}}{[\code{\link{GdkDevice}}] the device where the event originated.} \item{\verb{xRoot}}{[numeric] the x coordinate of the pointer relative to the root of the screen.} \item{\verb{yRoot}}{[numeric] the y coordinate of the pointer relative to the root of the screen.} } } \item{\verb{GdkEventExpose}}{ Generated when all or part of a window becomes visible and needs to be redrawn. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_EXPOSE} or \code{GDK_DAMAGE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{area}}{[\code{\link{GdkRectangle}}] bounding box of \code{region}.} \item{\verb{region}}{[\code{\link{GdkRegion}}] the region that needs to be redrawn.} \item{\verb{count}}{[integer] the number of contiguous \code{GDK_EXPOSE} events following this one. The only use for this is "exposure compression", i.e. handling all contiguous \code{GDK_EXPOSE} events in one go, though GDK performs some exposure compression so this is not normally needed.} } } \item{\verb{GdkEventVisibility}}{ Generated when the window visibility status has changed. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_VISIBILITY_NOTIFY}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{state}}{[\code{\link{GdkVisibilityState}}] the new visibility state (\code{GDK_VISIBILITY_FULLY_OBSCURED}, \code{GDK_VISIBILITY_PARTIAL} or \code{GDK_VISIBILITY_UNOBSCURED}).} } } \item{\verb{GdkEventCrossing}}{ Generated when the pointer enters or leaves a window. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_ENTER_NOTIFY} or \code{GDK_LEAVE_NOTIFY}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{context}}{[\code{\link{GdkDragContext}}] the window that was entered or left.} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{xRoot}}{[integer] the x coordinate of the pointer relative to the window.} \item{\verb{yRoot}}{[integer] the y coordinate of the pointer relative to the window.} } } \item{\verb{GdkEventFocus}}{ Describes a change of keyboard focus. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_FOCUS_CHANGE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{in}}{[integer] \code{TRUE} if the window has gained the keyboard focus, \code{FALSE} if it has lost the focus.} } } \item{\verb{GdkEventConfigure}}{ Generated when a window size or position has changed. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_CONFIGURE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{x}}{[integer] the new x coordinate of the window, relative to its parent.} \item{\verb{y}}{[integer] the new y coordinate of the window, relative to its parent.} \item{\verb{width}}{[integer] the new width of the window.} \item{\verb{height}}{[integer] the new height of the window.} } } \item{\verb{GdkEventProperty}}{ Describes a property change on a window. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_PROPERTY_NOTIFY}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{atom}}{[\code{\link{GdkAtom}}] the property that was changed.} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{state}}{[numeric] whether the property was changed (\code{GDK_PROPERTY_NEW_VALUE}) or deleted (\code{GDK_PROPERTY_DELETE}).} } } \item{\verb{GdkEventSelection}}{ Generated when a selection is requested or ownership of a selection is taken over by another client application. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_SELECTION_CLEAR}, \code{GDK_SELECTION_NOTIFY} or \code{GDK_SELECTION_REQUEST}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{selection}}{[\code{\link{GdkAtom}}] the selection.} \item{\verb{target}}{[\code{\link{GdkAtom}}] the target to which the selection should be converted.} \item{\verb{property}}{[\code{\link{GdkAtom}}] the property in which to place the result of the conversion.} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{requestor}}{[\code{\link{GdkNativeWindow}}] the native window on which to place \code{property}.} } } \item{\verb{GdkEventDND}}{ Generated during DND operations. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_DRAG_ENTER}, \code{GDK_DRAG_LEAVE}, \code{GDK_DRAG_MOTION}, \code{GDK_DRAG_STATUS}, \code{GDK_DROP_START} or \code{GDK_DROP_FINISHED}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{context}}{[\code{\link{GdkDragContext}}] the \code{\link{GdkDragContext}} for the current DND operation.} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{xRoot}}{[integer] the x coordinate of the pointer relative to the root of the screen, only set for \code{GDK_DRAG_MOTION} and \code{GDK_DROP_START}.} \item{\verb{yRoot}}{[integer] the y coordinate of the pointer relative to the root of the screen, only set for \code{GDK_DRAG_MOTION} and \code{GDK_DROP_START}.} } } \item{\verb{GdkEventProximity}}{ Proximity events are generated when using GDK's wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user's finger has moved in or out of contact with a touch screen. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_PROXIMITY_IN} or \code{GDK_PROXIMITY_OUT}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{time}}{[numeric] the time of the event in milliseconds.} \item{\verb{device}}{[\code{\link{GdkDevice}}] the device where the event originated.} } } \item{\verb{GdkEventClient}}{ An event sent by another client application. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_CLIENT_EVENT}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{messageType}}{[\code{\link{GdkAtom}}] the type of the message, which can be defined by the application.} } } \item{\verb{GdkEventNoExpose}}{ Generated when the area of a \code{\link{GdkDrawable}} being copied, with \code{\link{gdkDrawDrawable}} or \code{gdkWindowCopyArea()}, was completely available. FIXME: add more here. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_NO_EXPOSE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} } } \item{\verb{GdkEventWindowState}}{ Generated when the state of a toplevel window changes. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_WINDOW_STATE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{changedMask}}{[\code{\link{GdkWindowState}}] mask specifying what flags have changed.} \item{\verb{newWindowState}}{[\code{\link{GdkWindowState}}] the new window state, a combination of \code{\link{GdkWindowState}} bits.} } } \item{\verb{GdkEventSetting}}{ Generated when a setting is modified. \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_SETTING}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event.} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{action}}{[\code{\link{GdkSettingAction}}] what happened to the setting (\code{GDK_SETTING_ACTION_NEW}, \code{GDK_SETTING_ACTION_CHANGED} or \code{GDK_SETTING_ACTION_DELETED}).} \item{\verb{name}}{[char] the name of the setting.} } } \item{\verb{GdkEventOwnerChange}}{ Generated when the owner of a selection changes. On X11, this information is only available if the X server supports the XFIXES extension. Since 2.6 \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_OWNER_CHANGE}).} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{owner}}{[\code{\link{GdkNativeWindow}}] the new owner of the selection} \item{\verb{reason}}{[\code{\link{GdkOwnerChange}}] the reason for the ownership change as a \code{\link{GdkOwnerChange}} value} \item{\verb{selection}}{[\code{\link{GdkAtom}}] the atom identifying the selection} \item{\verb{time}}{[numeric] the timestamp of the event} \item{\verb{selectionTime}}{[numeric] the time at which the selection ownership was taken over} } } \item{\verb{GdkEventGrabBroken}}{ Generated when a pointer or keyboard grab is broken. On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again. Note that implicit grabs (which are initiated by button presses) can also cause \code{\link{GdkEventGrabBroken}} events. Since 2.8 \describe{ \item{\verb{type}}{[\code{\link{GdkEventType}}] the type of the event (\code{GDK_GRAB_BROKEN})} \item{\verb{window}}{[\code{\link{GdkWindow}}] the window which received the event, i.e. the window that previously owned the grab} \item{\verb{sendEvent}}{[raw] \code{TRUE} if the event was sent explicitly (e.g. using \code{xsendevent}).} \item{\verb{keyboard}}{[logical] \code{TRUE} if a keyboard grab was broken, \code{FALSE} if a pointer grab was broken} \item{\verb{implicit}}{[logical] \code{TRUE} if the broken grab was implicit} \item{\verb{grabWindow}}{[\code{\link{GdkWindow}}] If this event is caused by another grab in the same application, \code{grab.window} contains the new grab window. Otherwise \code{grab.window} is \code{NULL}.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{GdkScrollDirection}}{ Specifies the direction for \code{\link{GdkEventScroll}}. \describe{ \item{\verb{up}}{the window is scrolled up.} \item{\verb{down}}{the window is scrolled down.} \item{\verb{left}}{the window is scrolled to the left.} \item{\verb{right}}{the window is scrolled to the right.} } } \item{\verb{GdkVisibilityState}}{ Specifies the visiblity status of a window for a \code{\link{GdkEventVisibility}}. \describe{ \item{\verb{unobscured}}{the window is completely visible.} \item{\verb{partial}}{the window is partially visible.} \item{\verb{fully-obscured}}{the window is not visible at all.} } } \item{\verb{GdkCrossingMode}}{ Specifies the crossing mode for \code{\link{GdkEventCrossing}}. \describe{ \item{\verb{normal}}{crossing because of pointer motion.} \item{\verb{grab}}{crossing because a grab is activated.} \item{\verb{ungrab}}{crossing because a grab is deactivated.} } } \item{\verb{GdkNotifyType}}{ Specifies the kind of crossing for \code{\link{GdkEventCrossing}}. See the X11 protocol specification of \verb{LeaveNotify} for full details of crossing event generation. \describe{ \item{\verb{ancestor}}{the window is entered from an ancestor or left towards an ancestor.} \item{\verb{virtual}}{the pointer moves between an ancestor and an inferior of the window.} \item{\verb{inferior}}{the window is entered from an inferior or left towards an inferior.} \item{\verb{nonlinear}}{ the window is entered from or left towards a window which is neither an ancestor nor an inferior.} \item{\verb{nonlinear-virtual}}{the pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor.} \item{\verb{unknown}}{an unknown type of enter/leave event occurred.} } } \item{\verb{GdkPropertyState}}{ Specifies the type of a property change for a \code{\link{GdkEventProperty}}. \describe{ \item{\verb{new-value}}{the property value was changed.} \item{\verb{delete}}{the property was deleted.} } } \item{\verb{GdkWindowState}}{ Specifies the state of a toplevel window. \describe{ \item{\verb{withdrawn}}{the window is not shown.} \item{\verb{iconified}}{the window is minimized.} \item{\verb{maximized}}{the window is maximized.} \item{\verb{sticky}}{the window is sticky.} \item{\verb{fullscreen}}{the window is maximized without decorations.} \item{\verb{above}}{the window is kept above other windows.} \item{\verb{below}}{the window is kept below other windows.} } } \item{\verb{GdkSettingAction}}{ Specifies the kind of modification applied to a setting in a \code{\link{GdkEventSetting}}. \describe{ \item{\verb{new}}{a setting was added.} \item{\verb{changed}}{a setting was changed.} \item{\verb{deleted}}{a setting was deleted.} } } \item{\verb{GdkOwnerChange}}{ Specifies why a selection ownership was changed. \describe{ \item{\verb{new-owner}}{some other app claimed the ownership} \item{\verb{destroy}}{the window was destroyed} \item{\verb{close}}{the client was closed} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Event-Structures.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapLookupKey.Rd0000644000176000001440000000141212362217677016067 0ustar ripleyusers\alias{gdkKeymapLookupKey} \name{gdkKeymapLookupKey} \title{gdkKeymapLookupKey} \description{Looks up the keyval mapped to a keycode/group/level triplet. If no keyval is bound to \code{key}, returns 0. For normal user input, you want to use \code{\link{gdkKeymapTranslateKeyboardState}} instead of this function, since the effective group/level may not be the same as the current keyboard state.} \usage{gdkKeymapLookupKey(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GdkKeymap}} or \code{NULL} to use the default keymap} \item{\verb{key}}{a \code{\link{GdkKeymapKey}} with keycode, group, and level initialized} } \value{[numeric] a keyval, or 0 if none was mapped to the given \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueResize.Rd0000644000176000001440000000112512362217677016431 0ustar ripleyusers\alias{gtkWidgetQueueResize} \name{gtkWidgetQueueResize} \title{gtkWidgetQueueResize} \description{This function is only for use in widget implementations. Flags a widget to have its size renegotiated; should be called when a widget for some reason has a new size request. For example, when you change the text in a \code{\link{GtkLabel}}, \code{\link{GtkLabel}} queues a resize to ensure there's enough space for the new text.} \usage{gtkWidgetQueueResize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetType.Rd0000644000176000001440000000075112362217677016252 0ustar ripleyusers\alias{cairoPatternGetType} \name{cairoPatternGetType} \title{cairoPatternGetType} \description{This function returns the type a pattern. See \code{\link{CairoPatternType}} for available types.} \usage{cairoPatternGetType(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.2} \value{[\code{\link{CairoPatternType}}] The type of \code{pattern}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetListAccelClosures.Rd0000644000176000001440000000142012362217677017544 0ustar ripleyusers\alias{gtkWidgetListAccelClosures} \name{gtkWidgetListAccelClosures} \title{gtkWidgetListAccelClosures} \description{Lists the closures used by \code{widget} for accelerator group connections with \code{\link{gtkAccelGroupConnectByPath}} or \code{\link{gtkAccelGroupConnect}}. The closures can be used to monitor accelerator changes on \code{widget}, by connecting to the \code{GtkAccelGroup}::accel-changed signal of the \code{\link{GtkAccelGroup}} of a closure which can be found out with \code{\link{gtkAccelGroupFromAccelClosure}}.} \usage{gtkWidgetListAccelClosures(object)} \arguments{\item{\verb{object}}{widget to list accelerator closures for}} \value{[list] a newly allocated \verb{list} of closures} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetNthPage.Rd0000644000176000001440000000110712362217677016506 0ustar ripleyusers\alias{gtkNotebookGetNthPage} \name{gtkNotebookGetNthPage} \title{gtkNotebookGetNthPage} \description{Returns the child widget contained in page number \code{page.num}.} \usage{gtkNotebookGetNthPage(object, page.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{page.num}}{the index of a page in the notebook, or -1 to get the last page.} } \value{[\code{\link{GtkWidget}}] the child widget, or \code{NULL} if \code{page.num} is out of bounds. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeGuess.Rd0000644000176000001440000000143012362217677015742 0ustar ripleyusers\alias{gContentTypeGuess} \name{gContentTypeGuess} \title{gContentTypeGuess} \description{Guesses the content type based on example data. If the function is uncertain, \code{result.uncertain} will be set to \code{TRUE}. Either \code{filename} or \code{data} may be \code{NULL}, in which case the guess will be based solely on the other argument.} \usage{gContentTypeGuess(filename, data)} \arguments{ \item{\verb{filename}}{a string, or \code{NULL}} \item{\verb{data}}{a stream of data, or \code{NULL}} } \value{ A list containing the following elements: \item{retval}{[char] a string indicating a guessed content type for the given data.} \item{\verb{result.uncertain}}{a flag indicating the certainty of the result} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStreamableContentGetNMimeTypes.Rd0000644000176000001440000000102612362217677021036 0ustar ripleyusers\alias{atkStreamableContentGetNMimeTypes} \name{atkStreamableContentGetNMimeTypes} \title{atkStreamableContentGetNMimeTypes} \description{Gets the number of mime types supported by this object.} \usage{atkStreamableContentGetNMimeTypes(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkStreamableContent}}] a GObject instance that implements AtkStreamableContentIface}} \value{[integer] a gint which is the number of mime types supported by the object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonGetShowSize.Rd0000644000176000001440000000066212362217677017262 0ustar ripleyusers\alias{gtkFontButtonGetShowSize} \name{gtkFontButtonGetShowSize} \title{gtkFontButtonGetShowSize} \description{Returns whether the font size will be shown in the label.} \usage{gtkFontButtonGetShowSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[logical] whether the font size will be shown in the label.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelForeach.Rd0000644000176000001440000000110712362217677016167 0ustar ripleyusers\alias{gtkTreeModelForeach} \name{gtkTreeModelForeach} \title{gtkTreeModelForeach} \description{Calls func on each node in model in a depth-first fashion. If \code{func} returns \code{TRUE}, then the tree ceases to be walked, and \code{\link{gtkTreeModelForeach}} returns.} \usage{gtkTreeModelForeach(object, func, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{func}}{A function to be called on each row} \item{\verb{user.data}}{User data to passed to func.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserUnselectAll.Rd0000644000176000001440000000057212362217677017362 0ustar ripleyusers\alias{gtkFileChooserUnselectAll} \name{gtkFileChooserUnselectAll} \title{gtkFileChooserUnselectAll} \description{Unselects all the files in the current folder of a file chooser.} \usage{gtkFileChooserUnselectAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetEvent.Rd0000644000176000001440000000102512362217677016045 0ustar ripleyusers\alias{gdkDisplayGetEvent} \name{gdkDisplayGetEvent} \title{gdkDisplayGetEvent} \description{Gets the next \code{\link{GdkEvent}} to be processed for \code{display}, fetching events from the windowing system if necessary.} \usage{gdkDisplayGetEvent(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[\code{\link{GdkEvent}}] the next \code{\link{GdkEvent}} to be processed, or \code{NULL} if no events are pending.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSetPointerHooks.Rd0000644000176000001440000000143412362217677016102 0ustar ripleyusers\alias{gdkSetPointerHooks} \name{gdkSetPointerHooks} \title{gdkSetPointerHooks} \description{This function allows for hooking into the operation of getting the current location of the pointer. This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility.} \usage{gdkSetPointerHooks(object, new.hooks)} \arguments{\item{\verb{new.hooks}}{a table of pointers to functions for getting quantities related to the current pointer position, or \code{NULL} to restore the default table.}} \details{This function is not multihead safe. For multihead operation, see \code{\link{gdkDisplaySetPointerHooks}}.} \value{[GdkPointerHooks] the previous pointer hook table} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkListVisuals.Rd0000644000176000001440000000100412362217677015255 0ustar ripleyusers\alias{gdkListVisuals} \name{gdkListVisuals} \title{gdkListVisuals} \description{Lists the available visuals for the default screen. (See \code{\link{gdkScreenListVisuals}}) A visual describes a hardware image data format. For example, a visual might support 24-bit color, or 8-bit color, and might expect pixels to be in a certain format.} \usage{gdkListVisuals()} \value{[list] a list of visuals; the list must be freed, but not its contents} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointRegister.Rd0000644000176000001440000000062312362217677017445 0ustar ripleyusers\alias{gIoExtensionPointRegister} \name{gIoExtensionPointRegister} \title{gIoExtensionPointRegister} \description{Registers an extension point.} \usage{gIoExtensionPointRegister(name)} \arguments{\item{\verb{name}}{The name of the extension point}} \value{[\code{\link{GIOExtensionPoint}}] the new \code{\link{GIOExtensionPoint}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetHasOpacityControl.Rd0000644000176000001440000000077212362217677021740 0ustar ripleyusers\alias{gtkColorSelectionGetHasOpacityControl} \name{gtkColorSelectionGetHasOpacityControl} \title{gtkColorSelectionGetHasOpacityControl} \description{Determines whether the colorsel has an opacity control.} \usage{gtkColorSelectionGetHasOpacityControl(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{[logical] \code{TRUE} if the \code{colorsel} has an opacity control. \code{FALSE} if it does't.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetScreen.Rd0000644000176000001440000000143012362217677016041 0ustar ripleyusers\alias{gtkWidgetGetScreen} \name{gtkWidgetGetScreen} \title{gtkWidgetGetScreen} \description{Get the \code{\link{GdkScreen}} from the toplevel window associated with this widget. This function can only be called after the widget has been added to a widget hierarchy with a \code{\link{GtkWindow}} at the top.} \usage{gtkWidgetGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{In general, you should only create screen specific resources when a widget has been realized, and you should free those resources when the widget is unrealized. Since 2.2} \value{[\code{\link{GdkScreen}}] the \code{\link{GdkScreen}} for the toplevel for this widget. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserAddFilter.Rd0000644000176000001440000000121712362217677017002 0ustar ripleyusers\alias{gtkFileChooserAddFilter} \name{gtkFileChooserAddFilter} \title{gtkFileChooserAddFilter} \description{Adds \code{filter} to the list of filters that the user can select between. When a filter is selected, only files that are passed by that filter are displayed. } \usage{gtkFileChooserAddFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filter}}{a \code{\link{GtkFileFilter}}} } \details{Note that the \code{chooser} takes ownership of the filter, so you have to ref and sink it if you want to keep a reference. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAddTextTargets.Rd0000644000176000001440000000101112362217677017703 0ustar ripleyusers\alias{gtkTargetListAddTextTargets} \name{gtkTargetListAddTextTargets} \title{gtkTargetListAddTextTargets} \description{Appends the text targets supported by \verb{GtkSelection} to the target list. All targets are added with the same \code{info}.} \usage{gtkTargetListAddTextTargets(list, info)} \arguments{ \item{\verb{list}}{a \code{\link{GtkTargetList}}} \item{\verb{info}}{an ID that will be passed back to the application} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-paths.Rd0000644000176000001440000001114612362217677014527 0ustar ripleyusers\alias{cairo-paths} \alias{CairoPath} \alias{CairoPathData} \alias{CairoPathDataType} \name{cairo-paths} \title{Paths} \description{Creating paths and manipulating path data} \section{Methods and Functions}{ \code{\link{cairoCopyPath}(cr)}\cr \code{\link{cairoCopyPathFlat}(cr)}\cr \code{\link{cairoAppendPath}(cr, path)}\cr \code{\link{cairoHasCurrentPoint}(cr)}\cr \code{\link{cairoGetCurrentPoint}(cr, x, y)}\cr \code{\link{cairoNewPath}(cr)}\cr \code{\link{cairoNewSubPath}(cr)}\cr \code{\link{cairoClosePath}(cr)}\cr \code{\link{cairoArc}(cr, xc, yc, radius, angle1, angle2)}\cr \code{\link{cairoArcNegative}(cr, xc, yc, radius, angle1, angle2)}\cr \code{\link{cairoCurveTo}(cr, x1, y1, x2, y2, x3, y3)}\cr \code{\link{cairoLineTo}(cr, x, y)}\cr \code{\link{cairoMoveTo}(cr, x, y)}\cr \code{\link{cairoRectangle}(cr, x, y, width, height)}\cr \code{\link{cairoGlyphPath}(cr, glyphs)}\cr \code{\link{cairoTextPath}(cr, utf8)}\cr \code{\link{cairoRelCurveTo}(cr, dx1, dy1, dx2, dy2, dx3, dy3)}\cr \code{\link{cairoRelLineTo}(cr, dx, dy)}\cr \code{\link{cairoRelMoveTo}(cr, dx, dy)}\cr \code{\link{cairoPathExtents}(cr)}\cr } \section{Detailed Description}{Paths are the most basic drawing tools and are primarily used to implicitly generate simple masks.} \section{Structures}{\describe{ \item{\verb{CairoPath}}{ A data structure for holding a path. This data structure serves as the return value for \code{\link{cairoCopyPath}} and \code{\link{cairoCopyPathFlat}} as well the input value for \code{\link{cairoAppendPath}}. See \code{\link{CairoPathData}} for hints on how to iterate over the actual data within the path. The num_data member gives the number of elements in the data array. This number is larger than the number of independent path portions (defined in \code{\link{CairoPathDataType}}), since the data includes both headers and coordinates for each portion. \strong{\verb{CairoPath} is a \link{transparent-type}.} \describe{ \item{\verb{status}}{[\code{\link{CairoStatus}}] the current error status} \item{\verb{data}}{[\code{\link{CairoPathData}}] the elements in the path} \item{\verb{numData}}{[integer] the number of elements in the data list} } } \item{\verb{CairoPathData}}{ \code{\link{CairoPathData}} is used to represent the path data inside a \code{\link{CairoPath}}. The data structure is designed to try to balance the demands of efficiency and ease-of-use. A path is represented as a list of \code{\link{CairoPathData}}, which is a union of headers and points. Each portion of the path is represented by one or more elements in the list, (one header followed by 0 or more points). The length value of the header is the number of list elements for the current portion including the header, (ie. length == 1 + # of points), and where the number of points for each element type is as follows: \preformatted{ \%CAIRO_PATH_MOVE_TO: 1 point \%CAIRO_PATH_LINE_TO: 1 point \%CAIRO_PATH_CURVE_TO: 3 points \%CAIRO_PATH_CLOSE_PATH: 0 points } The semantics and ordering of the coordinate values are consistent with \code{\link{cairoMoveTo}}, \code{\link{cairoLineTo}}, \code{\link{cairoCurveTo}}, and \code{\link{cairoClosePath}}. Here is sample code for iterating through a \verb{""} \preformatted{ path <- cr$copyPath()$data for (data in path) { switch(CairoPathDataType[attr(data, "type") + 1L], "move-to" = do_move_to_things(data[1], data[2]), "line-to" = do_line_to_things(data[1], data[2]), "curve-to" = do_curve_to_things(data[1], data[2], data[3], data[4], data[5], data[6]), "close-path" = do_close_path_things()) } } As of cairo 1.4, cairo does not mind if there are more elements in a portion of the path than needed. Such elements can be used by users of the cairo API to hold extra values in the path data structure. For this reason, it is recommended that applications always use \code{data->header.length} to iterate over the path data, instead of hardcoding the number of elements for each element type. \strong{\verb{CairoPathData} is a \link{transparent-type}.} } }} \section{Enums and Flags}{\describe{\item{\verb{CairoPathDataType}}{ \code{\link{CairoPathData}} is used to describe the type of one portion of a path when represented as a \code{\link{CairoPath}}. See \code{\link{CairoPathData}} for details. \describe{ \item{\verb{move-to}}{ A move-to operation} \item{\verb{line-to}}{ A line-to operation} \item{\verb{curve-to}}{ A curve-to operation} \item{\verb{close-path}}{ A close-path operation} } }}} \references{\url{http://www.cairographics.org/manual/cairo-paths.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewBufferToWindowCoords.Rd0000644000176000001440000000213512362217677020577 0ustar ripleyusers\alias{gtkTextViewBufferToWindowCoords} \name{gtkTextViewBufferToWindowCoords} \title{gtkTextViewBufferToWindowCoords} \description{Converts coordinate (\code{buffer.x}, \code{buffer.y}) to coordinates for the window \code{win}, and stores the result in (\code{window.x}, \code{window.y}). } \usage{gtkTextViewBufferToWindowCoords(object, win, buffer.x, buffer.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{win}}{a \code{\link{GtkTextWindowType}} except \verb{GTK_TEXT_WINDOW_PRIVATE}} \item{\verb{buffer.x}}{buffer x coordinate} \item{\verb{buffer.y}}{buffer y coordinate} } \details{Note that you can't convert coordinates for a nonexisting window (see \code{\link{gtkTextViewSetBorderWindowSize}}).} \value{ A list containing the following elements: \item{\verb{window.x}}{window x coordinate return location or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{window.y}}{window y coordinate return location or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererRender.Rd0000644000176000001440000000243612362217677016533 0ustar ripleyusers\alias{gtkCellRendererRender} \name{gtkCellRendererRender} \title{gtkCellRendererRender} \description{Invokes the virtual render function of the \code{\link{GtkCellRenderer}}. The three passed-in rectangles are areas of \code{window}. Most renderers will draw within \code{cell.area}; the xalign, yalign, xpad, and ypad fields of the \code{\link{GtkCellRenderer}} should be honored with respect to \code{cell.area}. \code{background.area} includes the blank space around the cell, and also the area containing the tree expander; so the \code{background.area} rectangles for all cells tile to cover the entire \code{window}. \code{expose.area} is a clip rectangle.} \usage{gtkCellRendererRender(object, window, widget, background.area, cell.area, expose.area, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRenderer}}} \item{\verb{window}}{a \code{\link{GdkDrawable}} to draw to} \item{\verb{widget}}{the widget owning \code{window}} \item{\verb{background.area}}{entire cell area (including tree expanders and maybe padding on the sides)} \item{\verb{cell.area}}{area normally rendered by a cell renderer} \item{\verb{expose.area}}{area that actually needs updating} \item{\verb{flags}}{flags that affect rendering} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableAddChild.Rd0000644000176000001440000000112212362217677016254 0ustar ripleyusers\alias{gtkBuildableAddChild} \name{gtkBuildableAddChild} \title{gtkBuildableAddChild} \description{Adds a child to \code{buildable}. \code{type} is an optional string describing how the child should be added.} \usage{gtkBuildableAddChild(object, builder, child, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}}} \item{\verb{child}}{child to add} \item{\verb{type}}{kind of child or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetUrlHook.Rd0000644000176000001440000000130112362217677017165 0ustar ripleyusers\alias{gtkAboutDialogSetUrlHook} \name{gtkAboutDialogSetUrlHook} \title{gtkAboutDialogSetUrlHook} \description{Installs a global function to be called whenever the user activates a URL link in an about dialog.} \usage{gtkAboutDialogSetUrlHook(func, data = NULL)} \arguments{ \item{\verb{func}}{a function to call when a URL link is activated.} \item{\verb{data}}{data to pass to \code{func}} } \details{Since 2.18 there exists a default function which uses \code{\link{gtkShowUri}}. To deactivate it, you can pass \code{NULL} for \code{func}. Since 2.6} \value{[\code{\link{GtkAboutDialogActivateLinkFunc}}] the previous URL hook.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetWeight.Rd0000644000176000001440000000125112362217677020274 0ustar ripleyusers\alias{pangoFontDescriptionSetWeight} \name{pangoFontDescriptionSetWeight} \title{pangoFontDescriptionSetWeight} \description{Sets the weight field of a font description. The weight field specifies how bold or light the font should be. In addition to the values of the \code{\link{PangoWeight}} enumeration, other intermediate numeric values are possible.} \usage{pangoFontDescriptionSetWeight(object, weight)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{weight}}{[\code{\link{PangoWeight}}] the weight for the font description.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoMatch.Rd0000644000176000001440000000106112362217677016027 0ustar ripleyusers\alias{gtkRecentInfoMatch} \name{gtkRecentInfoMatch} \title{gtkRecentInfoMatch} \description{Checks whether two \code{\link{GtkRecentInfo}} structures point to the same resource.} \usage{gtkRecentInfoMatch(object, info.b)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{info.b}}{a \code{\link{GtkRecentInfo}}} } \details{Since 2.10} \value{[logical] \code{TRUE} if both \code{\link{GtkRecentInfo}} structures point to se same resource, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxPrependText.Rd0000644000176000001440000000107012362217677016711 0ustar ripleyusers\alias{gtkComboBoxPrependText} \name{gtkComboBoxPrependText} \title{gtkComboBoxPrependText} \description{Prepends \code{string} to the list of strings stored in \code{combo.box}. Note that you can only use this function with combo boxes constructed with \code{\link{gtkComboBoxNewText}}.} \usage{gtkComboBoxPrependText(object, text)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}} constructed with \code{\link{gtkComboBoxNewText}}} \item{\verb{text}}{A string} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetText.Rd0000644000176000001440000000105512362217677015345 0ustar ripleyusers\alias{gtkLabelGetText} \name{gtkLabelGetText} \title{gtkLabelGetText} \description{Fetches the text from a label widget, as displayed on the screen. This does not include any embedded underlines indicating mnemonics or Pango markup. (See \code{\link{gtkLabelGetLabel}})} \usage{gtkLabelGetText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[character] the text in the label widget. This is the internal string used by the label, and must not be modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceSetKey.Rd0000644000176000001440000000100512362217677015320 0ustar ripleyusers\alias{gdkDeviceSetKey} \name{gdkDeviceSetKey} \title{gdkDeviceSetKey} \description{Specifies the X key event to generate when a function button of a device is pressed.} \usage{gdkDeviceSetKey(object, index, keyval, modifiers)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}.} \item{\verb{index}}{the index of the function button to set.} \item{\verb{keyval}}{the keyval to generate.} \item{\verb{modifiers}}{the modifiers to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetLine.Rd0000644000176000001440000000105112362217677016051 0ustar ripleyusers\alias{gtkTextIterSetLine} \name{gtkTextIterSetLine} \title{gtkTextIterSetLine} \description{Moves iterator \code{iter} to the start of the line \code{line.number}. If \code{line.number} is negative or larger than the number of lines in the buffer, moves \code{iter} to the start of the last line in the buffer.} \usage{gtkTextIterSetLine(object, line.number)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{line.number}}{line number (counted from 0)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectRefStateSet.Rd0000644000176000001440000000102312362217677016326 0ustar ripleyusers\alias{atkObjectRefStateSet} \name{atkObjectRefStateSet} \title{atkObjectRefStateSet} \description{Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.} \usage{atkObjectRefStateSet(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[\code{\link{AtkStateSet}}] a reference to an \code{\link{AtkStateSet}} which is the state set of the accessible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GIcon.Rd0000644000176000001440000000340612362217677013314 0ustar ripleyusers\alias{GIcon} \name{GIcon} \title{GIcon} \description{Interface for icons} \section{Methods and Functions}{ \code{\link{gIconHash}(icon)}\cr \code{\link{gIconEqual}(object, icon2)}\cr \code{\link{gIconToString}(object)}\cr \code{\link{gIconNewForString}(str, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GIcon}} \section{Implementations}{GIcon is implemented by \code{\link{GEmblem}}, \code{\link{GEmblemedIcon}}, \code{\link{GFileIcon}} and \code{\link{GThemedIcon}}.} \section{Interface Derivations}{GIcon is required by \code{\link{GLoadableIcon}}.} \section{Detailed Description}{\code{\link{GIcon}} is a very minimal interface for icons. It provides functions for checking the equality of two icons, hashing of icons and serializing an icon to and from strings. \code{\link{GIcon}} does not provide the actual pixmap for the icon as this is out of GIO's scope, however implementations of \code{\link{GIcon}} may contain the name of an icon (see \code{\link{GThemedIcon}}), or the path to an icon (see \code{\link{GLoadableIcon}}). To obtain a hash of a \code{\link{GIcon}}, see \code{\link{gIconHash}}. To check if two \verb{GIcons} are equal, see \code{\link{gIconEqual}}. For serializing a \code{\link{GIcon}}, use \code{\link{gIconToString}} and \code{\link{gIconNewForString}}. If your application or library provides one or more \code{\link{GIcon}} implementations you need to ensure that each \code{\link{GType}} is registered with the type system prior to calling \code{\link{gIconNewForString}}.} \section{Structures}{\describe{\item{\verb{GIcon}}{ An abstract type that specifies an icon. }}} \references{\url{http://library.gnome.org/devel//gio/GIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableGetEditable.Rd0000644000176000001440000000065512362217677016631 0ustar ripleyusers\alias{gtkEditableGetEditable} \name{gtkEditableGetEditable} \title{gtkEditableGetEditable} \description{Retrieves whether \code{editable} is editable. See \code{\link{gtkEditableSetEditable}}.} \usage{gtkEditableGetEditable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \value{[logical] \code{TRUE} if \code{editable} is editable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetAccelGroup.Rd0000644000176000001440000000075712362217677017246 0ustar ripleyusers\alias{gtkUIManagerGetAccelGroup} \name{gtkUIManagerGetAccelGroup} \title{gtkUIManagerGetAccelGroup} \description{Returns the \code{\link{GtkAccelGroup}} associated with \code{self}.} \usage{gtkUIManagerGetAccelGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}} object}} \details{Since 2.4} \value{[\code{\link{GtkAccelGroup}}] the \code{\link{GtkAccelGroup}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableGetSize.Rd0000644000176000001440000000057212362217677016647 0ustar ripleyusers\alias{gtkTextTagTableGetSize} \name{gtkTextTagTableGetSize} \title{gtkTextTagTableGetSize} \description{Returns the size of the table (number of tags)} \usage{gtkTextTagTableGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextTagTable}}}} \value{[integer] number of tags in \code{table}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreInsert.Rd0000644000176000001440000000147212362217677016141 0ustar ripleyusers\alias{gtkListStoreInsert} \name{gtkListStoreInsert} \title{gtkListStoreInsert} \description{Creates a new row at \code{position}. \code{iter} will be changed to point to this new row. If \code{position} is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkListStoreSet}} or \code{\link{gtkListStoreSetValue}}.} \usage{gtkListStoreInsert(object, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{position}}{position to insert the new row} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcFindModuleInPath.Rd0000644000176000001440000000071212362217677016437 0ustar ripleyusers\alias{gtkRcFindModuleInPath} \name{gtkRcFindModuleInPath} \title{gtkRcFindModuleInPath} \description{Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used.} \usage{gtkRcFindModuleInPath(module.file)} \arguments{\item{\verb{module.file}}{name of a theme engine}} \value{[character] The filename, otherwise \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsComposited.Rd0000644000176000001440000000136012362217677016566 0ustar ripleyusers\alias{gtkWidgetIsComposited} \name{gtkWidgetIsComposited} \title{gtkWidgetIsComposited} \description{Whether \code{widget} can rely on having its alpha channel drawn correctly. On X11 this function returns whether a compositing manager is running for \code{widget}'s screen.} \usage{gtkWidgetIsComposited(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Please note that the semantics of this call will change in the future if used on a widget that has a composited window in its hierarchy (as set by \code{\link{gdkWindowSetComposited}}). Since 2.10} \value{[logical] \code{TRUE} if the widget can rely on its alpha channel being drawn correctly.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetTextBeforeOffset.Rd0000644000176000001440000000527112362217677017542 0ustar ripleyusers\alias{atkTextGetTextBeforeOffset} \name{atkTextGetTextBeforeOffset} \title{atkTextGetTextBeforeOffset} \description{Gets the specified text.} \usage{atkTextGetTextBeforeOffset(object, offset, boundary.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] position} \item{\verb{boundary.type}}{[\code{\link{AtkTextBoundary}}] An \code{\link{AtkTextBoundary}}} } \details{If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character before the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start before the word start before the offset to the word start before the offset. The returned string will contain the word before the offset if the offset is inside a word and will contain the word before the word before the offset if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the word end at or before the offset to the word end at or before the offset. The returned string will contain the word before the offset if the offset is inside a word or if the offset is not inside a word. If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start before the sentence start before the offset to the sentence start before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence and will contain the sentence before the sentence before the offset if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the sentence end at or before the offset to the sentence end at or before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start before the line start ar or before the offset to the line start ar or before the offset. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the line end before the offset to the line end before the offset. } \value{ A list containing the following elements: \item{retval}{[character] the text before \code{offset} bounded by the specified \code{boundary.type}.} \item{\verb{start.offset}}{[integer] the start offset of the returned string} \item{\verb{end.offset}}{[integer] the offset of the first character after the returned substring} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowDestroy.Rd0000644000176000001440000000123412362217677015621 0ustar ripleyusers\alias{gdkWindowDestroy} \name{gdkWindowDestroy} \title{gdkWindowDestroy} \description{Destroys the window system resources associated with \code{window} and decrements \code{window}'s reference count. The window system resources for all children of \code{window} are also destroyed, but the children's reference counts are not decremented.} \usage{gdkWindowDestroy(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Note that a window will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetTabs.Rd0000644000176000001440000000111712362217677016066 0ustar ripleyusers\alias{pangoLayoutGetTabs} \name{pangoLayoutGetTabs} \title{pangoLayoutGetTabs} \description{Gets the current \code{\link{PangoTabArray}} used by this layout. If no \code{\link{PangoTabArray}} has been set, then the default tabs are in use and \code{NULL} is returned. Default tabs are every 8 spaces.} \usage{pangoLayoutGetTabs(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[\code{\link{PangoTabArray}}] a copy of the tabs for this layout, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetSystem.Rd0000644000176000001440000000066112362217677016113 0ustar ripleyusers\alias{gdkVisualGetSystem} \name{gdkVisualGetSystem} \title{gdkVisualGetSystem} \description{Get the system's default visual for the default GDK screen. This is the visual for the root window of the display. The return value should not be freed.} \usage{gdkVisualGetSystem()} \value{[\code{\link{GdkVisual}}] system visual. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamFlush.Rd0000644000176000001440000000203512362217677016137 0ustar ripleyusers\alias{gOutputStreamFlush} \name{gOutputStreamFlush} \title{gOutputStreamFlush} \description{Flushed any outstanding buffers in the stream. Will block during the operation. Closing the stream will implicitly cause a flush.} \usage{gOutputStreamFlush(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{cancellable}}{optional cancellable object} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function is optional for inherited classes. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileTrash.Rd0000644000176000001440000000213512362217677014343 0ustar ripleyusers\alias{gFileTrash} \name{gFileTrash} \title{gFileTrash} \description{Sends \code{file} to the "Trashcan", if possible. This is similar to deleting it, but the user can recover it before emptying the trashcan. Not all file systems support trashing, so this call can return the \code{G_IO_ERROR_NOT_SUPPORTED} error.} \usage{gFileTrash(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GFile}} to send to trash.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on successful trash, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewStartsDisplayLine.Rd0000644000176000001440000000111712362217677020136 0ustar ripleyusers\alias{gtkTextViewStartsDisplayLine} \name{gtkTextViewStartsDisplayLine} \title{gtkTextViewStartsDisplayLine} \description{Determines whether \code{iter} is at the start of a display line. See \code{\link{gtkTextViewForwardDisplayLine}} for an explanation of display lines vs. paragraphs.} \usage{gtkTextViewStartsDisplayLine(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if \code{iter} begins a wrapped line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreateReadwriteFinish.Rd0000644000176000001440000000140012362217677017467 0ustar ripleyusers\alias{gFileCreateReadwriteFinish} \name{gFileCreateReadwriteFinish} \title{gFileCreateReadwriteFinish} \description{Finishes an asynchronous file create operation started with \code{\link{gFileCreateReadwriteAsync}}.} \usage{gFileCreateReadwriteFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}} \item{\verb{res}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] a \code{\link{GFileIOStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetCorePointer.Rd0000644000176000001440000000054712362217677017225 0ustar ripleyusers\alias{gdkDisplayGetCorePointer} \name{gdkDisplayGetCorePointer} \title{gdkDisplayGetCorePointer} \description{Returns the core pointer device for the given display} \usage{gdkDisplayGetCorePointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoGetEmbeddedRect.Rd0000644000176000001440000000153112362217677017414 0ustar ripleyusers\alias{gtkIconInfoGetEmbeddedRect} \name{gtkIconInfoGetEmbeddedRect} \title{gtkIconInfoGetEmbeddedRect} \description{Gets the coordinates of a rectangle within the icon that can be used for display of information such as a preview of the contents of a text file. See \code{\link{gtkIconInfoSetRawCoordinates}} for further information about the coordinate system.} \usage{gtkIconInfoGetEmbeddedRect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the icon has an embedded rectangle} \item{\verb{rectangle}}{\code{\link{GdkRectangle}} in which to store embedded rectangle coordinates; coordinates are only stored when this function returns \code{TRUE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetTooltips.Rd0000644000176000001440000000115512362217677016622 0ustar ripleyusers\alias{gtkToolbarGetTooltips} \name{gtkToolbarGetTooltips} \title{gtkToolbarGetTooltips} \description{ Retrieves whether tooltips are enabled. See \code{\link{gtkToolbarSetTooltips}}. \strong{WARNING: \code{gtk_toolbar_get_tooltips} has been deprecated since version 2.14 and should not be used in newly-written code. The toolkit-wide \verb{"gtk-enable-tooltips"} property is now used instead.} } \usage{gtkToolbarGetTooltips(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \value{[logical] \code{TRUE} if tooltips are enabled} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewScrollToMark.Rd0000644000176000001440000000223612362217677017077 0ustar ripleyusers\alias{gtkTextViewScrollToMark} \name{gtkTextViewScrollToMark} \title{gtkTextViewScrollToMark} \description{Scrolls \code{text.view} so that \code{mark} is on the screen in the position indicated by \code{xalign} and \code{yalign}. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If \code{use.align} is \code{FALSE}, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size \code{within.margin}.} \usage{gtkTextViewScrollToMark(object, mark, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{mark}}{a \code{\link{GtkTextMark}}} \item{\verb{within.margin}}{margin as a [0.0,0.5) fraction of screen size} \item{\verb{use.align}}{whether to use alignment arguments (if \code{FALSE}, just get the mark onscreen)} \item{\verb{xalign}}{horizontal alignment of mark within visible area} \item{\verb{yalign}}{vertical alignment of mark within visible area} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLineCount.Rd0000644000176000001440000000061312362217677017075 0ustar ripleyusers\alias{pangoLayoutGetLineCount} \name{pangoLayoutGetLineCount} \title{pangoLayoutGetLineCount} \description{Retrieves the count of lines for the \code{layout}.} \usage{pangoLayoutGetLineCount(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] \code{\link{PangoLayout}}}} \value{[integer] the line count.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferUnregisterDeserializeFormat.Rd0000644000176000001440000000123112362217677022475 0ustar ripleyusers\alias{gtkTextBufferUnregisterDeserializeFormat} \name{gtkTextBufferUnregisterDeserializeFormat} \title{gtkTextBufferUnregisterDeserializeFormat} \description{This function unregisters a rich text format that was previously registered using \code{\link{gtkTextBufferRegisterDeserializeFormat}} or \code{\link{gtkTextBufferRegisterDeserializeTagset}}.} \usage{gtkTextBufferUnregisterDeserializeFormat(object, format)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{format}}{a \code{\link{GdkAtom}} representing a registered rich text format.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultPropagateError.Rd0000644000176000001440000000131512362217677020764 0ustar ripleyusers\alias{gSimpleAsyncResultPropagateError} \name{gSimpleAsyncResultPropagateError} \title{gSimpleAsyncResultPropagateError} \description{Propagates an error from within the simple asynchronous result to a given destination.} \usage{gSimpleAsyncResultPropagateError(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the error was propegated to \code{dest}. \code{FALSE} otherwise.} \item{\verb{dest}}{a location to propegate the error to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestFindLabel.Rd0000644000176000001440000000162612362217677015505 0ustar ripleyusers\alias{gtkTestFindLabel} \name{gtkTestFindLabel} \title{gtkTestFindLabel} \description{This function will search \code{widget} and all its descendants for a GtkLabel widget with a text string matching \code{label.pattern}. The \code{label.pattern} may contain asterisks '*' and question marks '?' as placeholders, \code{gPatternMatch()} is used for the matching. Note that locales other than "C" tend to alter (translate" label strings, so this function is genrally only useful in test programs with predetermined locales, see \code{gtkTestInit()} for more details.} \usage{gtkTestFindLabel(widget, label.pattern)} \arguments{ \item{\verb{widget}}{Valid label or container widget.} \item{\verb{label.pattern}}{Shell-glob pattern to match a label string.} } \details{Since 2.14} \value{[\code{\link{GtkWidget}}] a GtkLabel widget if any is found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternSetFilter.Rd0000644000176000001440000000176412362217677016577 0ustar ripleyusers\alias{cairoPatternSetFilter} \name{cairoPatternSetFilter} \title{cairoPatternSetFilter} \description{Sets the filter to be used for resizing when using this pattern. See \code{\link{CairoFilter}} for details on each filter.} \usage{cairoPatternSetFilter(pattern, filter)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{filter}}{[\code{\link{CairoFilter}}] a \code{\link{CairoFilter}} describing the filter to use for resizing the pattern} } \details{* Note that you might want to control filtering even when you do not have an explicit \code{\link{CairoPattern}} object, (for example when using \code{\link{cairoSetSourceSurface}}). In these cases, it is convenient to use \code{\link{cairoGetSource}} to get access to the pattern that cairo creates implicitly. For example: \preformatted{ cr$setSourceSurface(image, x, y) cr$getSource()$setFilter(CairoFilter["nearest"]) } } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetSkipPagerHint.Rd0000644000176000001440000000150512362217677017355 0ustar ripleyusers\alias{gdkWindowSetSkipPagerHint} \name{gdkWindowSetSkipPagerHint} \title{gdkWindowSetSkipPagerHint} \description{Toggles whether a window should appear in a pager (workspace switcher, or other desktop utility program that displays a small thumbnail representation of the windows on the desktop). If a window's semantic type as specified with \code{\link{gdkWindowSetTypeHint}} already fully describes the window, this function should \emph{not} be called in addition, instead you should allow the window to be treated according to standard policy for its semantic type.} \usage{gdkWindowSetSkipPagerHint(object, modal)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{modal}}{\code{TRUE} to skip the pager} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetTooltip.Rd0000644000176000001440000000056712362217677016274 0ustar ripleyusers\alias{gtkActionSetTooltip} \name{gtkActionSetTooltip} \title{gtkActionSetTooltip} \description{Sets the tooltip text on \code{action}} \usage{gtkActionSetTooltip(object, tooltip)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{tooltip}}{the tooltip text} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Pango-Interaction.Rd0000644000176000001440000001606212362217677016403 0ustar ripleyusers\alias{gdk-Pango-Interaction} \alias{GdkPangoRenderer} \alias{GdkPangoAttrEmbossed} \alias{GdkPangoAttrStipple} \alias{gdkPangoRenderer} \name{gdk-Pango-Interaction} \title{Pango Interaction} \description{Using Pango in GDK} \section{Methods and Functions}{ \code{\link{gdkPangoRendererNew}(screen)}\cr \code{\link{gdkPangoRendererGetDefault}(screen)}\cr \code{\link{gdkPangoRendererSetDrawable}(object, drawable = NULL)}\cr \code{\link{gdkPangoRendererSetGc}(object, gc = NULL)}\cr \code{\link{gdkPangoRendererSetStipple}(object, part, stipple)}\cr \code{\link{gdkPangoRendererSetOverrideColor}(object, part, color = NULL)}\cr \code{\link{gdkPangoContextGet}()}\cr \code{\link{gdkPangoContextGetForScreen}(screen)}\cr \code{\link{gdkPangoContextSetColormap}(context, colormap)}\cr \code{\link{gdkPangoAttrEmbossColorNew}(color)}\cr \code{\link{gdkPangoAttrEmbossedNew}(embossed)}\cr \code{\link{gdkPangoAttrStippleNew}(stipple)}\cr \code{\link{gdkPangoLayoutGetClipRegion}(layout, x.origin, index.ranges)}\cr \code{\link{gdkPangoLayoutLineGetClipRegion}(line, x.origin, index.ranges)}\cr \code{gdkPangoRenderer(screen)} } \section{Hierarchy}{\preformatted{GObject +----PangoRenderer +----GdkPangoRenderer}} \section{Detailed Description}{Pango is the text layout system used by GDK and GTK+. The functions and types in this section are used to render Pango objects to GDK. drawables, and also extend the set of Pango attributes to include stippling and embossing. Creating a \code{\link{PangoLayout}} object is the first step in rendering text, and requires getting a handle to a \code{\link{PangoContext}}. For GTK+ programs, you'll usually want to use \code{\link{gtkWidgetGetPangoContext}}, or \code{\link{gtkWidgetCreatePangoLayout}}, rather than using the lowlevel \code{\link{gdkPangoContextGetForScreen}}. Once you have a \code{\link{PangoLayout}}, you can set the text and attributes of it with Pango functions like \code{\link{pangoLayoutSetText}} and get its size with \code{\link{pangoLayoutGetSize}}. (Note that Pango uses a fixed point system internally, so converting between Pango units and pixels using PANGO_SCALE or the \code{pangoPixels()} function.) Rendering a Pango layout is done most simply with \code{\link{gdkDrawLayout}}; you can also draw pieces of the layout with \code{\link{gdkDrawLayout}} or \code{\link{gdkDrawGlyphs}}. \code{\link{GdkPangoRenderer}} is a subclass of \code{\link{PangoRenderer}} that is used internally to implement these functions. Using it directly or subclassing it can be useful in some cases. See the \code{\link{GdkPangoRenderer}} documentation for details. \emph{Using \code{\link{GdkPangoRenderer}} to draw transformed text} \preformatted{ window <- NULL RADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" rotated.text.expose.event <- function(widget, event, data) { ## matrix describing font transformation, initialize to identity matrix <- pangoMatrixInit() width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] ## Get the default renderer for the screen, and set it up for drawing renderer <- gdkPangoRendererGetDefault(widget$getScreen()) renderer$setDrawable(widget[["window"]]) renderer$setGc(widget[["style"]][["blackGc"]]) ## Set up a transformation matrix so that the user space coordinates for ## the centered square where we draw are [-RADIUS, RADIUS], [-RADIUS, RADIUS] ## We first center, then change the scale device.radius <- min(width, height) / 2. matrix$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) matrix$scale(device.radius / RADIUS, device.radius / RADIUS) ## Create a PangoLayout, set the font and text context <- widget$createPangoContext() layout <- pangoLayoutNew(context) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) # Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { rotated.matrix <- matrix$copy() angle <- (360 * i) / N.WORDS color <- list() ## Gradient from red at angle 60 to blue at angle 300 color$red <- 65535 * (1 + cos((angle - 60) * pi / 180)) / 2 color$green <- 0 color$blue <- 65535 - color$red renderer$setOverrideColor("foreground", color) rotated.matrix$rotate(angle) context$setMatrix(rotated.matrix) ## Inform Pango to re-layout the text with the new transformation matrix layout$contextChanged() size <- layout$getSize() renderer$drawLayout(layout, - size$width / 2, - RADIUS * 1024) } ## Clean up default renderer, since it is shared renderer$setOverrideColor("foreground", NULL) renderer$setDrawable(NULL) renderer$setGc(NULL) return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindowNew("toplevel") window$setTitle("Rotated Text") drawing.area <- gtkDrawingAreaNew() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", rotated.text.expose.event) window$setDefaultSize(2 * RADIUS, 2 * RADIUS) window$showAll() } } \section{Structures}{\describe{ \item{\verb{GdkPangoRenderer}}{ \code{\link{GdkPangoRenderer}} is a subclass of \code{\link{PangoRenderer}} used for rendering Pango objects into GDK drawables. The default renderer for a particular screen is obtained with \code{\link{gdkPangoRendererGetDefault}}; Pango functions like \code{\link{pangoRendererDrawLayout}} and \code{\link{pangoRendererDrawLayoutLine}} are then used to draw objects with the renderer. In most simple cases, applications can just use \code{\link{gdkDrawLayout}}, and don't need to directly use \code{\link{GdkPangoRenderer}} at all. Using the \code{\link{GdkPangoRenderer}} directly is most useful when working with a transformation such as a rotation, because the Pango drawing functions take user space coordinates (coordinates before the transformation) instead of device coordinates. In certain cases it can be useful to subclass \code{\link{GdkPangoRenderer}}. Examples of reasons to do this are to add handling of custom attributes by overriding 'prepare_run' or to do custom drawing of embedded objects by overriding 'draw_shape'. Since 2.6 } \item{\verb{GdkPangoAttrEmbossed}}{ A Pango text attribute containing a embossed bitmap to be used when rendering the text. \describe{\item{\verb{embossed}}{[logical] the \code{\link{PangoAttribute}}.}} } \item{\verb{GdkPangoAttrStipple}}{ A Pango text attribute containing a stipple bitmap to be used when rendering the text. \describe{\item{\verb{stipple}}{[\code{\link{GdkBitmap}}] the \code{\link{PangoAttribute}}.}} } }} \section{Convenient Construction}{\code{gdkPangoRenderer} is the equivalent of \code{\link{gdkPangoRendererNew}}.} \section{Properties}{\describe{\item{\verb{screen} [\code{\link{GdkScreen}} : * : Read / Write / Construct Only]}{ the GdkScreen for the renderer. }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Pango-Interaction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuGetMenu.Rd0000644000176000001440000000120012362217677016373 0ustar ripleyusers\alias{gtkOptionMenuGetMenu} \name{gtkOptionMenuGetMenu} \title{gtkOptionMenuGetMenu} \description{ Returns the \code{\link{GtkMenu}} associated with the \code{\link{GtkOptionMenu}}. \strong{WARNING: \code{gtk_option_menu_get_menu} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuGetMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkOptionMenu}}.}} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkMenu}} associated with the \code{\link{GtkOptionMenu}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetLayer.Rd0000644000176000001440000000106012362217677015652 0ustar ripleyusers\alias{atkObjectGetLayer} \name{atkObjectGetLayer} \title{atkObjectGetLayer} \description{ Gets the layer of the accessible. \strong{WARNING: \code{atk_object_get_layer} is deprecated and should not be used in newly-written code. Use atk_component_get_layer instead.} } \usage{atkObjectGetLayer(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[\code{\link{AtkLayer}}] an \code{\link{AtkLayer}} which is the layer of the accessible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetStyleGetProperty.Rd0000644000176000001440000000101712362217677017470 0ustar ripleyusers\alias{gtkWidgetStyleGetProperty} \name{gtkWidgetStyleGetProperty} \title{gtkWidgetStyleGetProperty} \description{Gets the value of a style property of \code{widget}.} \usage{gtkWidgetStyleGetProperty(object, property.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{property.name}}{the name of a style property} } \value{ A list containing the following elements: \item{\verb{value}}{location to return the property value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetExtraWidget.Rd0000644000176000001440000000072412362217677020051 0ustar ripleyusers\alias{gtkFileChooserSetExtraWidget} \name{gtkFileChooserSetExtraWidget} \title{gtkFileChooserSetExtraWidget} \description{Sets an application-supplied widget to provide extra options to the user.} \usage{gtkFileChooserSetExtraWidget(object, extra.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{extra.widget}}{widget for extra options} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFileChooser.Rd0000644000176000001440000005740112362217677015171 0ustar ripleyusers\alias{GtkFileChooser} \alias{GtkFileChooserAction} \alias{GtkFileChooserConfirmation} \alias{GtkFileChooserError} \name{GtkFileChooser} \title{GtkFileChooser} \description{File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog} \section{Methods and Functions}{ \code{\link{gtkFileChooserSetAction}(object, action)}\cr \code{\link{gtkFileChooserGetAction}(object)}\cr \code{\link{gtkFileChooserSetLocalOnly}(object, local.only)}\cr \code{\link{gtkFileChooserGetLocalOnly}(object)}\cr \code{\link{gtkFileChooserSetSelectMultiple}(object, select.multiple)}\cr \code{\link{gtkFileChooserGetSelectMultiple}(object)}\cr \code{\link{gtkFileChooserSetShowHidden}(object, show.hidden)}\cr \code{\link{gtkFileChooserGetShowHidden}(object)}\cr \code{\link{gtkFileChooserSetDoOverwriteConfirmation}(object, do.overwrite.confirmation)}\cr \code{\link{gtkFileChooserGetDoOverwriteConfirmation}(object)}\cr \code{\link{gtkFileChooserSetCreateFolders}(object, create.folders)}\cr \code{\link{gtkFileChooserGetCreateFolders}(object)}\cr \code{\link{gtkFileChooserSetCurrentName}(object, name)}\cr \code{\link{gtkFileChooserSelectAll}(object)}\cr \code{\link{gtkFileChooserUnselectAll}(object)}\cr \code{\link{gtkFileChooserGetUri}(object)}\cr \code{\link{gtkFileChooserSetUri}(object, uri)}\cr \code{\link{gtkFileChooserSelectUri}(object, uri)}\cr \code{\link{gtkFileChooserUnselectUri}(object, uri)}\cr \code{\link{gtkFileChooserGetUris}(object)}\cr \code{\link{gtkFileChooserSetCurrentFolderUri}(object, uri)}\cr \code{\link{gtkFileChooserGetCurrentFolderUri}(object)}\cr \code{\link{gtkFileChooserSetPreviewWidget}(object, preview.widget)}\cr \code{\link{gtkFileChooserGetPreviewWidget}(object)}\cr \code{\link{gtkFileChooserSetPreviewWidgetActive}(object, active)}\cr \code{\link{gtkFileChooserGetPreviewWidgetActive}(object)}\cr \code{\link{gtkFileChooserSetUsePreviewLabel}(object, use.label)}\cr \code{\link{gtkFileChooserGetUsePreviewLabel}(object)}\cr \code{\link{gtkFileChooserGetPreviewUri}(object)}\cr \code{\link{gtkFileChooserSetExtraWidget}(object, extra.widget)}\cr \code{\link{gtkFileChooserGetExtraWidget}(object)}\cr \code{\link{gtkFileChooserAddFilter}(object, filter)}\cr \code{\link{gtkFileChooserRemoveFilter}(object, filter)}\cr \code{\link{gtkFileChooserListFilters}(object)}\cr \code{\link{gtkFileChooserSetFilter}(object, filter)}\cr \code{\link{gtkFileChooserGetFilter}(object)}\cr \code{\link{gtkFileChooserAddShortcutFolderUri}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkFileChooserRemoveShortcutFolderUri}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkFileChooserListShortcutFolderUris}(object)}\cr \code{\link{gtkFileChooserGetCurrentFolderFile}(object)}\cr \code{\link{gtkFileChooserGetFile}(object)}\cr \code{\link{gtkFileChooserGetFiles}(object)}\cr \code{\link{gtkFileChooserGetPreviewFile}(object)}\cr \code{\link{gtkFileChooserSelectFile}(object, file, .errwarn = TRUE)}\cr \code{\link{gtkFileChooserSetCurrentFolderFile}(object, file, .errwarn = TRUE)}\cr \code{\link{gtkFileChooserSetFile}(object, file, .errwarn = TRUE)}\cr \code{\link{gtkFileChooserUnselectFile}(object, file)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkFileChooser}} \section{Implementations}{GtkFileChooser is implemented by \code{\link{GtkFileChooserButton}}, \code{\link{GtkFileChooserDialog}} and \code{\link{GtkFileChooserWidget}}.} \section{Detailed Description}{\code{\link{GtkFileChooser}} is an interface that can be implemented by file selection widgets. In GTK+, the main objects that implement this interface are \code{\link{GtkFileChooserWidget}}, \code{\link{GtkFileChooserDialog}}, and \code{\link{GtkFileChooserButton}}. You do not need to write an object that implements the \code{\link{GtkFileChooser}} interface unless you are trying to adapt an existing file selector to expose a standard programming interface. \code{\link{GtkFileChooser}} allows for shortcuts to various places in the filesystem. In the default implementation these are displayed in the left pane. It may be a bit confusing at first that these shortcuts come from various sources and in various flavours, so lets explain the terminology here: \describe{ \item{Bookmarks}{\emph{undocumented }} \item{Shortcuts}{\emph{undocumented }} \item{Volumes}{\emph{undocumented }} } \emph{File Names and Encodings} When the user is finished selecting files in a \code{\link{GtkFileChooser}}, your program can get the selected names either as filenames or as URIs. For URIs, the normal escaping rules are applied if the URI contains non-ASCII characters. However, filenames are \emph{always} returned in the character set specified by the \env{G_FILENAME_ENCODING} environment variable. Please see the Glib documentation for more details about this variable. \strong{PLEASE NOTE:} This means that while you can pass the result of \code{\link{gtkFileChooserGetFilename}} to \code{open(2)} or \code{fopen(3)} , you may not be able to directly set it as the text of a \code{\link{GtkLabel}} widget unless you convert it first to UTF-8, which all GTK+ widgets expect. You should use \code{gFilenameToUtf8()} to convert filenames into strings that can be passed to GTK+ widgets. \emph{Adding a Preview Widget} You can add a custom preview widget to a file chooser and then get notification about when the preview needs to be updated. To install a preview widget, use \code{\link{gtkFileChooserSetPreviewWidget}}. Then, connect to the \verb{"update-preview"} signal to get notified when you need to update the contents of the preview. Your callback should use \code{\link{gtkFileChooserGetPreviewFilename}} to see what needs previewing. Once you have generated the preview for the corresponding file, you must call \code{\link{gtkFileChooserSetPreviewWidgetActive}} with a boolean flag that indicates whether your callback could successfully generate a preview. \emph{Sample Usage} \preformatted{ update_preview_cb <- function(file_chooser, preview) { filename <- file_chooser$getPreviewFilename() pixbuf <- gdkPixbuf(file=filename, w=128, h=128)[[1]] have_preview <- !is.null(pixbuf) preview$setFromPixbuf(pixbuf) file_chooser$setPreviewWidgetActive(have_preview) } preview <- gtkImage() my_file_chooser$setPreviewWidget(preview) gSignalConnect(my_file_chooser, "update-preview", update_preview_cb, preview) } \emph{Adding Extra Widgets} You can add extra widgets to a file chooser to provide options that are not present in the default design. For example, you can add a toggle button to give the user the option to open a file in read-only mode. You can use \code{\link{gtkFileChooserSetExtraWidget}} to insert additional widgets in a file chooser. \emph{Sample Usage} \preformatted{ toggle <- gtkCheckButton("Open file read-only") my_file_chooser$setExtraWidget(toggle) }\strong{PLEASE NOTE:} If you want to set more than one extra widget in the file chooser, you can a container such as a \code{\link{GtkVBox}} or a \code{\link{GtkTable}} and include your widgets in it. Then, set the container as the whole extra widget. \emph{Key Bindings} Internally, GTK+ implements a file chooser's graphical user interface with the private \code{GtkFileChooserDefaultClass}. This widget has several key bindings and their associated signals. This section describes the available key binding signals. \emph{GtkFileChooser key binding example} The default keys that activate the key-binding signals in \code{GtkFileChooserDefaultClass} are as follows: \tabular{ll}{ Signal name \tab Default key combinations \cr location-popup \tab \kbd{Control}-\kbd{L} (empty path); \kbd{/} (path of "/") \strong{PLEASE NOTE:} Both the individual \kbd{/} key and the numeric keypad's "divide" key are supported. ; \kbd{~} (path of "~") \cr up-folder \tab \kbd{Alt}-\kbd{Up} \strong{PLEASE NOTE:} Both the individual Up key and the numeric keypad's Up key are supported. ; \kbd{Backspace} \cr down-folder \tab \kbd{Alt}-\kbd{Down} \cr home-folder \tab \kbd{Alt}-\kbd{Home} \cr desktop-folder \tab \kbd{Alt}-\kbd{D} \cr quick-bookmark \tab \kbd{Alt}-\kbd{1} through \kbd{Alt}-\kbd{0} \cr } You can change these defaults to something else. For example, to add a \kbd{Shift} modifier to a few of the default bindings, you can include the following fragment in your \file{.gtkrc-2.0} file: \preformatted{binding "my-own-gtkfilechooser-bindings" { bind "Up" { "up-folder" () } bind "Down" { "down-folder" () } bind "Home" { "home-folder" () } } class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings" } \emph{The "GtkFileChooserDefault::location-popup" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, const char *path, gpointer user_data); } This is used to make the file chooser show a "Location" dialog which the user can use to manually type the name of the file he wishes to select. The \code{path} argument is a string that gets put in the text entry for the file name. By default this is bound to \kbd{Control}-\kbd{L} with a \code{path} string of "" (the empty string). It is also bound to \kbd{/} with a \code{path} string of "\code{/}" (a slash): this lets you type \kbd{/} and immediately type a path name. On Unix systems, this is bound to \kbd{~} (tilde) with a \code{path} string of "~" itself for access to home directories. \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{path} :}{ default contents for the text entry for the file name } \item{\code{user.data} :}{ user data set when the signal handler was connected. } }\strong{PLEASE NOTE:} You can create your own bindings for the GtkFileChooserDefault::location-popup signal with custom \code{path} strings, and have a crude form of easily-to-type bookmarks. For example, say you access the path \file{/home/username/misc} very frequently. You could then create an \kbd{Alt}-\kbd{M} shortcut by including the following in your \file{.gtkrc-2.0} : \preformatted{ binding "misc-shortcut" { bind "M" { "location-popup" ("/home/username/misc") } } class "GtkFileChooserDefault" binding "misc-shortcut" } \emph{The "GtkFileChooserDefault::up-folder" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, gpointer user_data); } This is used to make the file chooser go to the parent of the current folder in the file hierarchy. By default this is bound to \kbd{Backspace} and \kbd{Alt}-\kbd{Up} (the Up key in the numeric keypad also works). \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{user.data} :}{ user data set when the signal handler was connected. } } \emph{The "GtkFileChooserDefault::down-folder" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, gpointer user_data); } This is used to make the file chooser go to a child of the current folder in the file hierarchy. The subfolder that will be used is displayed in the path bar widget of the file chooser. For example, if the path bar is showing "/foo/\emph{bar/}baz", then this will cause the file chooser to switch to the "baz" subfolder. By default this is bound to \kbd{Alt}-\kbd{Down} (the Down key in the numeric keypad also works). \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{user.data} :}{ user data set when the signal handler was connected. } } \emph{The "GtkFileChooserDefault::home-folder" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, gpointer user_data); } This is used to make the file chooser show the user's home folder in the file list. By default this is bound to \kbd{Alt}-\kbd{Home} (the Home key in the numeric keypad also works). \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{user.data} :}{ user data set when the signal handler was connected. } } \emph{The "GtkFileChooserDefault::desktop-folder" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, gpointer user_data); } This is used to make the file chooser show the user's Desktop folder in the file list. By default this is bound to \kbd{Alt}-\kbd{D}. \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{user.data} :}{ user data set when the signal handler was connected. } } \emph{The "GtkFileChooserDefault::quick-bookmark" signal}\preformatted{ void user_function (GtkFileChooserDefault *chooser, gint bookmark_index, gpointer user_data); } This is used to make the file chooser switch to the bookmark specified in the \code{bookmark.index} parameter. For example, if you have three bookmarks, you can pass 0, 1, 2 to this signal to switch to each of them, respectively. By default this is bound to \kbd{Alt}-\kbd{1}, \kbd{Alt}-\kbd{2}, etc. until \kbd{Alt}-\kbd{0}. Note that in the default binding, that \kbd{Alt}-\kbd{1} is actually defined to switch to the bookmark at index 0, and so on successively; \kbd{Alt}-\kbd{0} is defined to switch to the bookmark at index 10. \describe{ \item{\code{chooser} :}{ the object which received the signal. } \item{\code{bookmark.indes} :}{ index of the bookmark to switch to; the indices start at 0. } \item{\code{user.data} :}{ user data set when the signal handler was connected. } }} \section{Structures}{\describe{\item{\verb{GtkFileChooser}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{ \item{\verb{GtkFileChooserAction}}{ Describes whether a \code{\link{GtkFileChooser}} is being used to open existing files or to save to a possibly new file. \describe{ \item{\verb{open}}{Indicates open mode. The file chooser will only let the user pick an existing file.} \item{\verb{save}}{Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.} \item{\verb{select-folder}}{Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.} \item{\verb{create-folder}}{Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder.} } } \item{\verb{GtkFileChooserConfirmation}}{ Used as a return value of handlers for the \verb{"confirm-overwrite"} signal of a \code{\link{GtkFileChooser}}. This value determines whether the file chooser will present the stock confirmation dialog, accept the user's choice of a filename, or let the user choose another filename. Since 2.8 \describe{ \item{\verb{confirm}}{The file chooser will present its stock dialog to confirm about overwriting an existing file.} \item{\verb{accept-filename}}{The file chooser will terminate and accept the user's choice of a file name.} \item{\verb{select-again}}{The file chooser will continue running, so as to let the user select another file name.} } } \item{\verb{GtkFileChooserError}}{ These identify the various errors that can occur while calling \code{\link{GtkFileChooser}} functions. \describe{ \item{\verb{nonexistent}}{Indicates that a file does not exist.} \item{\verb{bad-filename}}{Indicates a malformed filename.} } } }} \section{Signals}{\describe{ \item{\code{confirm-overwrite(chooser, user.data)}}{ This signal gets emitted whenever it is appropriate to present a confirmation dialog when the user has selected a file name that already exists. The signal only gets emitted when the file chooser is in \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode. Most applications just need to turn on the \verb{"do-overwrite-confirmation"} property (or call the \code{\link{gtkFileChooserSetDoOverwriteConfirmation}} function), and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to the \verb{"confirm-overwrite"} signal. A signal handler for this signal must return a \code{\link{GtkFileChooserConfirmation}} value, which indicates the action to take. If the handler determines that the user wants to select a different filename, it should return \code{GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN}. If it determines that the user is satisfied with his choice of file name, it should return \code{GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME}. On the other hand, if it determines that the stock confirmation dialog should be used, it should return \code{GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM}. The following example illustrates this. \emph{Custom confirmation}\preformatted{static GtkFileChooserConfirmation confirm_overwrite_callback (GtkFileChooser *chooser, gpointer data) { char *uri; uri = gtk_file_chooser_get_uri (chooser); if (is_uri_read_only (uri)) { if (user_wants_to_replace_read_only_file (uri)) return GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME; else return GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN; } else return GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM; // fall back to the default dialog } ... chooser = gtk_file_chooser_dialog_new (...); gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE); g_signal_connect (chooser, "confirm-overwrite", G_CALLBACK (confirm_overwrite_callback), NULL); if (gtk_dialog_run (chooser) == GTK_RESPONSE_ACCEPT) save_to_file (gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (chooser)); gtk_widget_destroy (chooser); } Since 2.8 \describe{ \item{\code{chooser}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [\code{\link{GtkFileChooserConfirmation}}] a \code{\link{GtkFileChooserConfirmation}} value that indicates which action to take after emitting the signal. } \item{\code{current-folder-changed(chooser, user.data)}}{ This signal is emitted when the current folder in a \code{\link{GtkFileChooser}} changes. This can happen due to the user performing some action that changes folders, such as selecting a bookmark or visiting a folder on the file list. It can also happen as a result of calling a function to explicitly change the current folder in a file chooser. Normally you do not need to connect to this signal, unless you need to keep track of which folder a file chooser is showing. See also: \code{\link{gtkFileChooserSetCurrentFolder}}, \code{\link{gtkFileChooserGetCurrentFolder}}, \code{\link{gtkFileChooserSetCurrentFolderUri}}, \code{\link{gtkFileChooserGetCurrentFolderUri}}. \describe{ \item{\code{chooser}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{file-activated(chooser, user.data)}}{ This signal is emitted when the user "activates" a file in the file chooser. This can happen by double-clicking on a file in the file list, or by pressing \kbd{Enter}. Normally you do not need to connect to this signal. It is used internally by \code{\link{GtkFileChooserDialog}} to know when to activate the default button in the dialog. See also: \code{\link{gtkFileChooserGetFilename}}, \code{\link{gtkFileChooserGetFilenames}}, \code{\link{gtkFileChooserGetUri}}, \code{\link{gtkFileChooserGetUris}}. \describe{ \item{\code{chooser}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-changed(chooser, user.data)}}{ This signal is emitted when there is a change in the set of selected files in a \code{\link{GtkFileChooser}}. This can happen when the user modifies the selection with the mouse or the keyboard, or when explicitly calling functions to change the selection. Normally you do not need to connect to this signal, as it is easier to wait for the file chooser to finish running, and then to get the list of selected files using the functions mentioned below. See also: \code{\link{gtkFileChooserSelectFilename}}, \code{\link{gtkFileChooserUnselectFilename}}, \code{\link{gtkFileChooserGetFilename}}, \code{\link{gtkFileChooserGetFilenames}}, \code{\link{gtkFileChooserSelectUri}}, \code{\link{gtkFileChooserUnselectUri}}, \code{\link{gtkFileChooserGetUri}}, \code{\link{gtkFileChooserGetUris}}. \describe{ \item{\code{chooser}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{update-preview(chooser, user.data)}}{ This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with \code{\link{gtkFileChooserSetPreviewWidget}}, you should update it when this signal is emitted. You can use the functions \code{\link{gtkFileChooserGetPreviewFilename}} or \code{\link{gtkFileChooserGetPreviewUri}} to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must call \code{\link{gtkFileChooserSetPreviewWidgetActive}} to inform the file chooser about whether the preview was generated successfully or not. Please see the example code in . See also: \code{\link{gtkFileChooserSetPreviewWidget}}, \code{\link{gtkFileChooserSetPreviewWidgetActive}}, \code{\link{gtkFileChooserSetUsePreviewLabel}}, \code{\link{gtkFileChooserGetPreviewFilename}}, \code{\link{gtkFileChooserGetPreviewUri}}. \describe{ \item{\code{chooser}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{action} [\code{\link{GtkFileChooserAction}} : Read / Write]}{ The type of operation that the file selector is performing. Default value: GTK_FILE_CHOOSER_ACTION_OPEN } \item{\verb{create-folders} [logical : Read / Write]}{ Whether a file chooser not in \code{GTK_FILE_CHOOSER_ACTION_OPEN} mode will offer the user to create new folders. Default value: TRUE Since 2.18 } \item{\verb{do-overwrite-confirmation} [logical : Read / Write]}{ Whether a file chooser in \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode will present an overwrite confirmation dialog if the user selects a file name that already exists. Default value: FALSE Since 2.8 } \item{\verb{extra-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ Application supplied widget for extra options. } \item{\verb{file-system-backend} [character : * : Write / Construct Only]}{ Name of file system backend to use. Default value: NULL } \item{\verb{filter} [\code{\link{GtkFileFilter}} : * : Read / Write]}{ The current filter for selecting which files are displayed. } \item{\verb{local-only} [logical : Read / Write]}{ Whether the selected file(s) should be limited to local file: URLs. Default value: TRUE } \item{\verb{preview-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ Application supplied widget for custom previews. } \item{\verb{preview-widget-active} [logical : Read / Write]}{ Whether the application supplied widget for custom previews should be shown. Default value: TRUE } \item{\verb{select-multiple} [logical : Read / Write]}{ Whether to allow multiple files to be selected. Default value: FALSE } \item{\verb{show-hidden} [logical : Read / Write]}{ Whether the hidden files and folders should be displayed. Default value: FALSE } \item{\verb{use-preview-label} [logical : Read / Write]}{ Whether to display a stock label with the name of the previewed file. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFileChooser.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoSetAsDefaultForType.Rd0000644000176000001440000000124412362217677017574 0ustar ripleyusers\alias{gAppInfoSetAsDefaultForType} \name{gAppInfoSetAsDefaultForType} \title{gAppInfoSetAsDefaultForType} \description{Sets the application as the default handler for a given type.} \usage{gAppInfoSetAsDefaultForType(object, content.type, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}.} \item{\verb{content.type}}{the content type.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsGetFileForUri.Rd0000644000176000001440000000106112362217677015604 0ustar ripleyusers\alias{gVfsGetFileForUri} \name{gVfsGetFileForUri} \title{gVfsGetFileForUri} \description{Gets a \code{\link{GFile}} for \code{uri}.} \usage{gVfsGetFileForUri(object, uri)} \arguments{ \item{\verb{object}}{a\code{\link{GVfs}}.} \item{\verb{uri}}{a string containing a URI} } \details{This operation never fails, but the returned object might not support any I/O operation if the URI is malformed or if the URI scheme is not supported.} \value{[\code{\link{GFile}}] a \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableCopyToImage.Rd0000644000176000001440000000237312362217677016627 0ustar ripleyusers\alias{gdkDrawableCopyToImage} \name{gdkDrawableCopyToImage} \title{gdkDrawableCopyToImage} \description{Copies a portion of \code{drawable} into the client side image structure \code{image}. If \code{image} is \code{NULL}, creates a new image of size \code{width} x \code{height} and copies into that. See \code{\link{gdkDrawableGetImage}} for further details.} \usage{gdkDrawableCopyToImage(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{image}}{a \code{\link{GdkDrawable}}, or \code{NULL} if a new \code{image} should be created. \emph{[ \acronym{allow-none} ]}} \item{\verb{src.x}}{x coordinate on \code{drawable}} \item{\verb{src.y}}{y coordinate on \code{drawable}} \item{\verb{dest.x}}{x coordinate within \code{image}. Must be 0 if \code{image} is \code{NULL}} \item{\verb{dest.y}}{y coordinate within \code{image}. Must be 0 if \code{image} is \code{NULL}} \item{\verb{width}}{width of region to get} \item{\verb{height}}{height or region to get} } \details{Since 2.4} \value{[\code{\link{GdkImage}}] \code{image}, or a new a \code{\link{GdkImage}} containing the contents of \code{drawable}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoAppendPath.Rd0000644000176000001440000000131012362217677015347 0ustar ripleyusers\alias{cairoAppendPath} \name{cairoAppendPath} \title{cairoAppendPath} \description{Append the \code{path} onto the current path. The \code{path} may be either the return value from one of \code{\link{cairoCopyPath}} or \code{\link{cairoCopyPathFlat}} or it may be constructed manually. See \code{\link{CairoPath}} for details on how the path data structure should be initialized, and note that \code{path->status} must be initialized to \code{CAIRO_STATUS_SUCCESS}.} \usage{cairoAppendPath(cr, path)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{path}}{[\code{\link{CairoPath}}] path to be appended} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetExtensionEvents.Rd0000644000176000001440000000075412362217677020007 0ustar ripleyusers\alias{gtkWidgetSetExtensionEvents} \name{gtkWidgetSetExtensionEvents} \title{gtkWidgetSetExtensionEvents} \description{Sets the extension events mask to \code{mode}. See \code{\link{GdkExtensionMode}} and \code{\link{gdkInputSetExtensionEvents}}.} \usage{gtkWidgetSetExtensionEvents(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{mode}}{bitfield of extension events to receive} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetStyle.Rd0000644000176000001440000000132612362217677015742 0ustar ripleyusers\alias{gtkWidgetSetStyle} \name{gtkWidgetSetStyle} \title{gtkWidgetSetStyle} \description{Sets the \code{\link{GtkStyle}} for a widget (\code{widget->style}). You probably don't want to use this function; it interacts badly with themes, because themes work by replacing the \code{\link{GtkStyle}}. Instead, use \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetSetStyle(object, style = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{style}}{a \code{\link{GtkStyle}}, or \code{NULL} to remove the effect of a previous \code{\link{gtkWidgetSetStyle}} and go back to the default style. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVButtonBoxNew.Rd0000644000176000001440000000046412362217677015550 0ustar ripleyusers\alias{gtkVButtonBoxNew} \name{gtkVButtonBoxNew} \title{gtkVButtonBoxNew} \description{Creates a new vertical button box.} \usage{gtkVButtonBoxNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new button box \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSetLabel.Rd0000644000176000001440000000060512362217677016160 0ustar ripleyusers\alias{gtkMenuItemSetLabel} \name{gtkMenuItemSetLabel} \title{gtkMenuItemSetLabel} \description{Sets \code{text} on the \code{menu.item} label} \usage{gtkMenuItemSetLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuItem}}} \item{\verb{label}}{the text you want to set} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetExpanderStyle.Rd0000644000176000001440000000072112362217677017206 0ustar ripleyusers\alias{gtkCTreeSetExpanderStyle} \name{gtkCTreeSetExpanderStyle} \title{gtkCTreeSetExpanderStyle} \description{ \strong{WARNING: \code{gtk_ctree_set_expander_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetExpanderStyle(object, expander.style)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{expander.style}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookInsertPageMenu.Rd0000644000176000001440000000254412362217677017414 0ustar ripleyusers\alias{gtkNotebookInsertPageMenu} \name{gtkNotebookInsertPageMenu} \title{gtkNotebookInsertPageMenu} \description{Insert a page into \code{notebook} at the given position, specifying the widget to use as the label in the popup menu.} \usage{gtkNotebookInsertPageMenu(object, child, tab.label = NULL, menu.label = NULL, position = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} \item{\verb{menu.label}}{the widget to use as a label for the page-switch menu, if that is enabled. If \code{NULL}, and \code{tab.label} is a \code{\link{GtkLabel}} or \code{NULL}, then the menu label will be a newly created label with the same text as \code{tab.label}; If \code{tab.label} is not a \code{\link{GtkLabel}}, \code{menu.label} must be specified if the page-switch menu is to be used. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages.} } \value{[integer] the index (starting from 0) of the inserted page in the notebook} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetNRows.Rd0000644000176000001440000000067712362217677015504 0ustar ripleyusers\alias{atkTableGetNRows} \name{atkTableGetNRows} \title{atkTableGetNRows} \description{Gets the number of rows in the table.} \usage{atkTableGetNRows(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface}} \value{[integer] a gint representing the number of rows, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetClassInstallStyleProperty.Rd0000644000176000001440000000102312362217677021342 0ustar ripleyusers\alias{gtkWidgetClassInstallStyleProperty} \name{gtkWidgetClassInstallStyleProperty} \title{gtkWidgetClassInstallStyleProperty} \description{Installs a style property on a widget class. The parser for the style property is determined by the value type of \code{pspec}.} \usage{gtkWidgetClassInstallStyleProperty(klass, pspec)} \arguments{ \item{\verb{klass}}{a \code{\link{GtkWidgetClass}}} \item{\verb{pspec}}{the \code{\link{GParamSpec}} for the property} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerRemoveActionGroup.Rd0000644000176000001440000000075612362217677020171 0ustar ripleyusers\alias{gtkUIManagerRemoveActionGroup} \name{gtkUIManagerRemoveActionGroup} \title{gtkUIManagerRemoveActionGroup} \description{Removes an action group from the list of action groups associated with \code{self}.} \usage{gtkUIManagerRemoveActionGroup(object, action.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}} object} \item{\verb{action.group}}{the action group to be removed} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoDeviceToUserDistance.Rd0000644000176000001440000000127512362217677017351 0ustar ripleyusers\alias{cairoDeviceToUserDistance} \name{cairoDeviceToUserDistance} \title{cairoDeviceToUserDistance} \description{Transform a distance vector from device space to user space. This function is similar to \code{\link{cairoDeviceToUser}} except that the translation components of the inverse CTM will be ignored when transforming (\code{dx},\code{dy}).} \usage{cairoDeviceToUserDistance(cr, dx, dy)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dx}}{[numeric] X component of a distance vector (in/out parameter)} \item{\verb{dy}}{[numeric] Y component of a distance vector (in/out parameter)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCharHeight.Rd0000644000176000001440000000134612362217677015012 0ustar ripleyusers\alias{gdkCharHeight} \name{gdkCharHeight} \title{gdkCharHeight} \description{ Determines the total height of a given character. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See \code{\link{gdkTextExtents}}. \strong{WARNING: \code{gdk_char_height} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gdkTextExtents}} instead.} } \usage{gdkCharHeight(object, character)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{character}}{the character to measure.} } \value{[integer] the height of the character in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceGetAxis.Rd0000644000176000001440000000123612362217677015466 0ustar ripleyusers\alias{gdkDeviceGetAxis} \name{gdkDeviceGetAxis} \title{gdkDeviceGetAxis} \description{Interprets a list of double as axis values for a given device, and locates the value in the list for a given axis use.} \usage{gdkDeviceGetAxis(object, axes, use)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}} \item{\verb{axes}}{pointer to a list of axes} \item{\verb{use}}{the use to look for} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the given axis use was found, otherwise \code{FALSE}} \item{\verb{value}}{location to store the found value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererComboNew.Rd0000644000176000001440000000137412362217677017025 0ustar ripleyusers\alias{gtkCellRendererComboNew} \name{gtkCellRendererComboNew} \title{gtkCellRendererComboNew} \description{Creates a new \code{\link{GtkCellRendererCombo}}. Adjust how text is drawn using object properties. Object properties can be set globally (with \code{\link{gObjectSet}}). Also, with \code{\link{GtkTreeViewColumn}}, you can bind a property to a value in a \code{\link{GtkTreeModel}}. For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of the \code{\link{GtkTreeView}}.} \usage{gtkCellRendererComboNew()} \details{Since 2.6} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellDeactivate.Rd0000644000176000001440000000057412362217677016714 0ustar ripleyusers\alias{gtkMenuShellDeactivate} \name{gtkMenuShellDeactivate} \title{gtkMenuShellDeactivate} \description{Deactivates the menu shell. Typically this results in the menu shell being erased from the screen.} \usage{gtkMenuShellDeactivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuShell}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryNewWithBuffer.Rd0000644000176000001440000000070112362217677016557 0ustar ripleyusers\alias{gtkEntryNewWithBuffer} \name{gtkEntryNewWithBuffer} \title{gtkEntryNewWithBuffer} \description{Creates a new entry with the specified text buffer.} \usage{gtkEntryNewWithBuffer(buffer, show = TRUE)} \arguments{\item{\verb{buffer}}{The buffer to use for the new \code{\link{GtkEntry}}.}} \details{Since 2.18} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkEntry}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardCursorPositions.Rd0000644000176000001440000000107512362217677021340 0ustar ripleyusers\alias{gtkTextIterBackwardCursorPositions} \name{gtkTextIterBackwardCursorPositions} \title{gtkTextIterBackwardCursorPositions} \description{Moves up to \code{count} cursor positions. See \code{\link{gtkTextIterForwardCursorPosition}} for details.} \usage{gtkTextIterBackwardCursorPositions(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of positions to move} } \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultNewError.Rd0000644000176000001440000000151512362217677017575 0ustar ripleyusers\alias{gSimpleAsyncResultNewError} \name{gSimpleAsyncResultNewError} \title{gSimpleAsyncResultNewError} \description{Creates a new \code{\link{GSimpleAsyncResult}} with a set error.} \usage{gSimpleAsyncResultNewError(source.object, callback, user.data, domain, code, format, ...)} \arguments{ \item{\verb{source.object}}{a \code{\link{GObject}}, or \code{NULL}.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} \item{\verb{domain}}{a \code{\link{GQuark}}.} \item{\verb{code}}{an error code.} \item{\verb{format}}{a string with format characters.} \item{\verb{...}}{a list of values to insert into \code{format}.} } \value{[\code{\link{GSimpleAsyncResult}}] a \code{\link{GSimpleAsyncResult}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetResetRcStyles.Rd0000644000176000001440000000075512362217677016746 0ustar ripleyusers\alias{gtkWidgetResetRcStyles} \name{gtkWidgetResetRcStyles} \title{gtkWidgetResetRcStyles} \description{Reset the styles of \code{widget} and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings.} \usage{gtkWidgetResetRcStyles(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}.}} \details{This function is not useful for applications.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceSetSource.Rd0000644000176000001440000000054012362217677016033 0ustar ripleyusers\alias{gdkDeviceSetSource} \name{gdkDeviceSetSource} \title{gdkDeviceSetSource} \description{Sets the source type for an input device.} \usage{gdkDeviceSetSource(object, source)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}.} \item{\verb{source}}{the source type.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetTranslatorCredits.Rd0000644000176000001440000000215012362217677021254 0ustar ripleyusers\alias{gtkAboutDialogSetTranslatorCredits} \name{gtkAboutDialogSetTranslatorCredits} \title{gtkAboutDialogSetTranslatorCredits} \description{Sets the translator credits string which is displayed in the translators tab of the secondary credits dialog.} \usage{gtkAboutDialogSetTranslatorCredits(object, translator.credits = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{translator.credits}}{the translator credits. \emph{[ \acronym{allow-none} ]}} } \details{The intended use for this string is to display the translator of the language which is currently used in the user interface. Using \code{gettext()}, a simple way to achieve that is to mark the string for translation: \preformatted{about$setTranslatorCredits(gettext("translator-credits"))} It is a good idea to use the customary msgid "translator-credits" for this purpose, since translators will already know the purpose of that msgid, and since \code{\link{GtkAboutDialog}} will detect if "translator-credits" is untranslated and hide the tab. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetGroup.Rd0000644000176000001440000000065412362217677016262 0ustar ripleyusers\alias{gtkNotebookGetGroup} \name{gtkNotebookGetGroup} \title{gtkNotebookGetGroup} \description{Gets the current group identificator pointer for \code{notebook}.} \usage{gtkNotebookGetGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \details{Since 2.12} \value{[R object] the group identificator, or \code{NULL} if none is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetDisplay.Rd0000644000176000001440000000070112362217677017523 0ustar ripleyusers\alias{gtkSelectionDataGetDisplay} \name{gtkSelectionDataGetDisplay} \title{gtkSelectionDataGetDisplay} \description{Retrieves the display of the selection.} \usage{gtkSelectionDataGetDisplay(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[\code{\link{GdkDisplay}}] the display of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-GIOScheduler.Rd0000644000176000001440000000373612362217677015354 0ustar ripleyusers\alias{gio-GIOScheduler} \alias{GIOSchedulerJob} \alias{GIOSchedulerJobFunc} \name{gio-GIOScheduler} \title{GIOScheduler} \description{I/O Scheduler} \section{Methods and Functions}{ \code{\link{gIoSchedulerCancelAllJobs}()}\cr \code{\link{gIoSchedulerJobSendToMainloop}(object, func, user.data = NULL)}\cr \code{\link{gIoSchedulerJobSendToMainloopAsync}(object, func, user.data = NULL)}\cr } \section{Detailed Description}{Schedules asynchronous I/O operations. \verb{GIOScheduler} integrates into the main event loop (\verb{GMainLoop}) and may use threads if they are available. Each I/O operation has a priority, and the scheduler uses the priorities to determine the order in which operations are executed. They are \emph{not} used to determine system-wide I/O scheduling. Priorities are integers, with lower numbers indicating higher priority. It is recommended to choose priorities between \code{G_PRIORITY_LOW} and \code{G_PRIORITY_HIGH}, with \code{G_PRIORITY_DEFAULT} as a default.} \section{Structures}{\describe{\item{\verb{GIOSchedulerJob}}{ Opaque class for definining and scheduling IO jobs. }}} \section{User Functions}{\describe{\item{\code{GIOSchedulerJobFunc(job, cancellable, user.data)}}{ I/O Job function. Note that depending on whether threads are available, the \verb{GIOScheduler} may run jobs in separate threads or in an idle in the mainloop. Long-running jobs should periodically check the \code{cancellable} to see if they have been cancelled. \describe{ \item{\code{job}}{a \code{\link{GIOSchedulerJob}}.} \item{\code{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\code{user.data}}{the data to pass to callback function} } \emph{Returns:} [logical] \code{TRUE} if this function should be called again to complete the job, \code{FALSE} if the job is complete (or cancelled) }}} \references{\url{http://library.gnome.org/devel//gio/gio-GIOScheduler.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontFaceGetType.Rd0000644000176000001440000000077512362217677016330 0ustar ripleyusers\alias{cairoFontFaceGetType} \name{cairoFontFaceGetType} \title{cairoFontFaceGetType} \description{This function returns the type of the backend used to create a font face. See \code{\link{CairoFontType}} for available types.} \usage{cairoFontFaceGetType(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a font face}} \details{ Since 1.2} \value{[\code{\link{CairoFontType}}] The type of \code{font.face}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDisplay.Rd0000644000176000001440000000143712362217677016236 0ustar ripleyusers\alias{gtkWidgetGetDisplay} \name{gtkWidgetGetDisplay} \title{gtkWidgetGetDisplay} \description{Get the \code{\link{GdkDisplay}} for the toplevel window associated with this widget. This function can only be called after the widget has been added to a widget hierarchy with a \code{\link{GtkWindow}} at the top.} \usage{gtkWidgetGetDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized. Since 2.2} \value{[\code{\link{GdkDisplay}}] the \code{\link{GdkDisplay}} for the toplevel for this widget. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetText.Rd0000644000176000001440000000064312362217677015445 0ustar ripleyusers\alias{gtkEntrySetText} \name{gtkEntrySetText} \title{gtkEntrySetText} \description{Sets the text in the widget to the given value, replacing the current contents.} \usage{gtkEntrySetText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{text}}{the new text} } \details{See \code{\link{gtkEntryBufferSetText}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetScreen.Rd0000644000176000001440000000067612362217677016100 0ustar ripleyusers\alias{gtkWindowGetScreen} \name{gtkWindowGetScreen} \title{gtkWindowGetScreen} \description{Returns the \code{\link{GdkScreen}} associated with \code{window}.} \usage{gtkWindowGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}.}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] a \code{\link{GdkScreen}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleLines.Rd0000644000176000001440000000166112362217677020432 0ustar ripleyusers\alias{gtkTextIterForwardVisibleLines} \name{gtkTextIterForwardVisibleLines} \title{gtkTextIterForwardVisibleLines} \description{Moves \code{count} visible lines forward, if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then \code{FALSE} is returned. If \code{count} is 0, the function does nothing and returns \code{FALSE}. If \code{count} is negative, moves backward by 0 - \code{count} lines.} \usage{gtkTextIterForwardVisibleLines(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of lines to move forward} } \details{Since 2.8} \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetShowTabs.Rd0000644000176000001440000000063412362217677016732 0ustar ripleyusers\alias{gtkNotebookSetShowTabs} \name{gtkNotebookSetShowTabs} \title{gtkNotebookSetShowTabs} \description{Sets whether to show the tabs for the notebook or not.} \usage{gtkNotebookSetShowTabs(object, show.tabs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{show.tabs}}{\code{TRUE} if the tabs should be shown.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawTab.Rd0000644000176000001440000000172312362217677014347 0ustar ripleyusers\alias{gtkDrawTab} \name{gtkDrawTab} \title{gtkDrawTab} \description{ Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on \code{window} using the given parameters. \strong{WARNING: \code{gtk_draw_tab} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintTab}} instead.} } \usage{gtkDrawTab(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the rectangle to draw the tab in} \item{\verb{y}}{y origin of the rectangle to draw the tab in} \item{\verb{width}}{the width of the rectangle to draw the tab in} \item{\verb{height}}{the height of the rectangle to draw the tab in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableGetCurrent.Rd0000644000176000001440000000057612362217677016661 0ustar ripleyusers\alias{gCancellableGetCurrent} \name{gCancellableGetCurrent} \title{gCancellableGetCurrent} \description{Gets the top cancellable from the stack.} \usage{gCancellableGetCurrent()} \value{[\code{\link{GCancellable}}] a \code{\link{GCancellable}} from the top of the stack, or \code{NULL} if the stack is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceValid.Rd0000644000176000001440000000100612362217677017203 0ustar ripleyusers\alias{gtkTreeRowReferenceValid} \name{gtkTreeRowReferenceValid} \title{gtkTreeRowReferenceValid} \description{Returns \code{TRUE} if the \code{reference} is non-\code{NULL} and refers to a current valid path.} \usage{gtkTreeRowReferenceValid(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeRowReference}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \value{[logical] \code{TRUE} if \code{reference} points to a valid path.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGet.Rd0000644000176000001440000000072412362217677014524 0ustar ripleyusers\alias{gdkEventGet} \name{gdkEventGet} \title{gdkEventGet} \description{Checks all open displays for a \code{\link{GdkEvent}} to process,to be processed on, fetching events from the windowing system if necessary. See \code{\link{gdkDisplayGetEvent}}.} \usage{gdkEventGet()} \value{[\code{\link{GdkEvent}}] the next \code{\link{GdkEvent}} to be processed, or \code{NULL} if no events are pending.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeInt64.Rd0000644000176000001440000000107512362217677017330 0ustar ripleyusers\alias{gFileInfoGetAttributeInt64} \name{gFileInfoGetAttributeInt64} \title{gFileInfoGetAttributeInt64} \description{Gets a signed 64-bit integer contained within the attribute. If the attribute does not contain an signed 64-bit integer, or is invalid, 0 will be returned.} \usage{gFileInfoGetAttributeInt64(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[numeric] a signed 64-bit integer from the attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewPut.Rd0000644000176000001440000000215212362217677015132 0ustar ripleyusers\alias{gtkPreviewPut} \name{gtkPreviewPut} \title{gtkPreviewPut} \description{ Takes a portion of the contents of a preview widget and draws it onto the given drawable, \code{window}. \strong{WARNING: \code{gtk_preview_put} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewPut(object, window, gc, srcx, srcy, destx, desty, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPreview}}.} \item{\verb{window}}{a window or pixmap.} \item{\verb{gc}}{The graphics context for the operation. Only the clip mask for this GC matters.} \item{\verb{srcx}}{the x coordinate of the upper left corner in the source image.} \item{\verb{srcy}}{the y coordinate of the upper left corner in the source image.} \item{\verb{destx}}{the x coordinate of the upper left corner in the destination image.} \item{\verb{desty}}{the y coordinate of the upper left corner in the destination image.} \item{\verb{width}}{the width of the rectangular portion to draw.} \item{\verb{height}}{the height of the rectangular portion to draw.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoHasNamespace.Rd0000644000176000001440000000105412362217677016425 0ustar ripleyusers\alias{gFileInfoHasNamespace} \name{gFileInfoHasNamespace} \title{gFileInfoHasNamespace} \description{Checks if a file info structure has an attribute in the specified \code{name.space}.} \usage{gFileInfoHasNamespace(object, name.space)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{name.space}}{a file attribute namespace.} } \details{Since 2.22} \value{[logical] \code{TRUE} if \code{Ginfo} has an attribute in \code{name.space}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkGetName.Rd0000644000176000001440000000053512362217677016023 0ustar ripleyusers\alias{gtkTextMarkGetName} \name{gtkTextMarkGetName} \title{gtkTextMarkGetName} \description{Returns the mark name; returns NULL for anonymous marks.} \usage{gtkTextMarkGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextMark}}}} \value{[character] mark name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetOutputBin.Rd0000644000176000001440000000066712362217677020174 0ustar ripleyusers\alias{gtkPrintSettingsSetOutputBin} \name{gtkPrintSettingsSetOutputBin} \title{gtkPrintSettingsSetOutputBin} \description{Sets the value of \code{GTK_PRINT_SETTINGS_OUTPUT_BIN}.} \usage{gtkPrintSettingsSetOutputBin(object, output.bin)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{output.bin}}{the output bin} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorNew.Rd0000644000176000001440000000075212362217677014733 0ustar ripleyusers\alias{gdkCursorNew} \name{gdkCursorNew} \title{gdkCursorNew} \description{Creates a new cursor from the set of builtin cursors for the default display. See \code{\link{gdkCursorNewForDisplay}}.} \usage{gdkCursorNew(cursor.type)} \arguments{\item{\verb{cursor.type}}{cursor to create}} \details{To make the cursor invisible, use \code{GDK_BLANK_CURSOR}.} \value{[\code{\link{GdkCursor}}] a new \code{\link{GdkCursor}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterClearCache.Rd0000644000176000001440000000130512362217677017740 0ustar ripleyusers\alias{gtkTreeModelFilterClearCache} \name{gtkTreeModelFilterClearCache} \title{gtkTreeModelFilterClearCache} \description{This function should almost never be called. It clears the \code{filter} of any cached iterators that haven't been reffed with \code{\link{gtkTreeModelRefNode}}. This might be useful if the child model being filtered is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.} \usage{gtkTreeModelFilterClearCache(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultCompleteInIdle.Rd0000644000176000001440000000072712362217677020673 0ustar ripleyusers\alias{gSimpleAsyncResultCompleteInIdle} \name{gSimpleAsyncResultCompleteInIdle} \title{gSimpleAsyncResultCompleteInIdle} \description{Completes an asynchronous function in an idle handler in the thread-default main loop of the thread that \code{simple} was initially created in.} \usage{gSimpleAsyncResultCompleteInIdle(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectSetName.Rd0000644000176000001440000000064112362217677015476 0ustar ripleyusers\alias{atkObjectSetName} \name{atkObjectSetName} \title{atkObjectSetName} \description{Sets the accessible name of the accessible.} \usage{atkObjectSetName(object, name)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{name}}{[character] a character string to be set as the accessible name} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestTextSet.Rd0000644000176000001440000000066012362217677015262 0ustar ripleyusers\alias{gtkTestTextSet} \name{gtkTestTextSet} \title{gtkTestTextSet} \description{Set the text string of \code{widget} to \code{string} if it is a GtkLabel, GtkEditable (entry and text widgets) or GtkTextView.} \usage{gtkTestTextSet(widget, string)} \arguments{ \item{\verb{widget}}{valid widget pointer.} \item{\verb{string}}{a C string} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetStringFromIter.Rd0000644000176000001440000000113412362217677020176 0ustar ripleyusers\alias{gtkTreeModelGetStringFromIter} \name{gtkTreeModelGetStringFromIter} \title{gtkTreeModelGetStringFromIter} \description{Generates a string representation of the iter. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string.} \usage{gtkTreeModelGetStringFromIter(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{An \code{\link{GtkTreeIter}}.} } \details{Since 2.2} \value{[character] A newly-allocated string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetClassInstallStylePropertyParser.Rd0000644000176000001440000000103612362217677022523 0ustar ripleyusers\alias{gtkWidgetClassInstallStylePropertyParser} \name{gtkWidgetClassInstallStylePropertyParser} \title{gtkWidgetClassInstallStylePropertyParser} \description{Installs a style property on a widget class.} \usage{gtkWidgetClassInstallStylePropertyParser(klass, pspec, parser)} \arguments{ \item{\verb{klass}}{a \code{\link{GtkWidgetClass}}} \item{\verb{pspec}}{the \code{\link{GParamSpec}} for the style property} \item{\verb{parser}}{the parser for the style property} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountRemount.Rd0000644000176000001440000000224012362217677015133 0ustar ripleyusers\alias{gMountRemount} \name{gMountRemount} \title{gMountRemount} \description{Remounts a mount. This is an asynchronous operation, and is finished by calling \code{\link{gMountRemountFinish}} with the \code{mount} and \verb{GAsyncResults} data returned in the \code{callback}.} \usage{gMountRemount(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{Remounting is useful when some setting affecting the operation of the volume has been changed, as these may need a remount to take affect. While this is semantically equivalent with unmounting and then remounting not all backends might need to actually be unmounted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Stock-Items.Rd0000644000176000001440000000370512362217677015244 0ustar ripleyusers\alias{gtk-Stock-Items} \alias{GtkStockItem} \name{gtk-Stock-Items} \title{Stock Items} \description{Prebuilt common menu/toolbar items and corresponding icons} \section{Methods and Functions}{ \code{\link{gtkStockAdd}(items)}\cr \code{\link{gtkStockAddStatic}(items)}\cr \code{\link{gtkStockItemCopy}(object)}\cr \code{\link{gtkStockListIds}()}\cr \code{\link{gtkStockLookup}(stock.id)}\cr \code{\link{gtkStockSetTranslateFunc}(domain, func, data)}\cr } \section{Detailed Description}{Stock items represent commonly-used menu or toolbar items such as "Open" or "Exit". Each stock item is identified by a stock ID; stock IDs are just strings, but functions such as \verb{GTK_STOCK_OPEN} are provided to avoid typing mistakes in the strings. Applications can register their own stock items in addition to those built-in to GTK+. Each stock ID can be associated with a \code{\link{GtkStockItem}}, which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a \code{\link{GtkIconFactory}}. See GtkIconFactory for more information on stock icons. The connection between a \code{\link{GtkStockItem}} and stock icons is purely conventional (by virtue of using the same stock ID); it's possible to register a stock item but no icon, and vice versa. Stock icons may have a RTL variant which gets used for right-to-left locales.} \section{Structures}{\describe{\item{\verb{GtkStockItem}}{ \emph{undocumented } \strong{\verb{GtkStockItem} is a \link{transparent-type}.} \describe{ \item{\verb{stockId}}{[character] } \item{\verb{label}}{[character] } \item{\verb{modifier}}{[\code{\link{GdkModifierType}}] } \item{\verb{keyval}}{[numeric] } \item{\verb{translationDomain}}{[character] } } }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-Stock-Items.html}} \note{Please see the reference for a detailed list of the stock items} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreSwap.Rd0000644000176000001440000000077312362217677015576 0ustar ripleyusers\alias{gtkTreeStoreSwap} \name{gtkTreeStoreSwap} \title{gtkTreeStoreSwap} \description{Swaps \code{a} and \code{b} in the same level of \code{tree.store}. Note that this function only works with unsorted stores.} \usage{gtkTreeStoreSwap(object, a, b)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}.} \item{\verb{a}}{A \code{\link{GtkTreeIter}}.} \item{\verb{b}}{Another \code{\link{GtkTreeIter}}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GIO.Rd0000644000176000001440000000740712362217677012740 0ustar ripleyusers\alias{GIO} \name{GIO} \title{GIO} \description{GIO is a modern, easy-to-use VFS API} \details{ The RGtk binding to the GIO library consists of the following components: \describe{ \item{\link{gio-Extension-Points}}{Extension Points} \item{\link{GAppInfo}}{Application information and launch contexts} \item{\link{GAsyncInitable}}{Asynchronously failable object initialization interface} \item{\link{GAsyncResult}}{Asynchronous Function Results} \item{\link{GBufferedInputStream}}{Buffered Input Stream} \item{\link{GBufferedOutputStream}}{Buffered Output Stream} \item{\link{GCancellable}}{Thread-safe Operation Cancellation Stack} \item{\link{gio-GContentType}}{Platform-specific content typing} \item{\link{GDataInputStream}}{Data Input Stream} \item{\link{GDataOutputStream}}{Data Output Stream} \item{\link{GDrive}}{Drive management} \item{\link{GEmblem}}{An object for emblems} \item{\link{GEmblemedIcon}}{Icon with emblems} \item{\link{GFile}}{File and Directory Handling} \item{\link{gio-GFileAttribute}}{Key-Value Paired File Attributes} \item{\link{GFileEnumerator}}{Enumerated Files Routines} \item{\link{GFileIcon}}{Icons pointing to an image file} \item{\link{GFileInfo}}{File Information and Attributes} \item{\link{GFileInputStream}}{File input streaming operations} \item{\link{GFileIOStream}}{File read and write streaming operations} \item{\link{GFileMonitor}}{File Monitor} \item{\link{GFilenameCompleter}}{Filename Completer} \item{\link{GFileOutputStream}}{File output streaming operations} \item{\link{GFilterInputStream}}{Filter Input Stream} \item{\link{GFilterOutputStream}}{Filter Output Stream} \item{\link{GIcon}}{Interface for icons} \item{\link{GInetAddress}}{An IPv4/IPv6 address} \item{\link{GInetSocketAddress}}{Internet GSocketAddress} \item{\link{GInitable}}{Failable object initialization interface} \item{\link{GInputStream}}{Base class for implementing streaming input} \item{\link{gio-GIOError}}{Error helper functions} \item{\link{GIOModule}}{Loadable GIO Modules} \item{\link{gio-GIOScheduler}}{I/O Scheduler} \item{\link{GIOStream}}{Base class for implementing read/write streams} \item{\link{GLoadableIcon}}{Loadable Icons} \item{\link{GMemoryInputStream}}{Streaming input operations on memory chunks} \item{\link{GMemoryOutputStream}}{Streaming output operations on memory chunks} \item{\link{GMount}}{Mount management} \item{\link{GMountOperation}}{Object used for authentication and user interaction} \item{\link{GNetworkAddress}}{A GSocketConnectable for resolving hostnames} \item{\link{GNetworkService}}{A GSocketConnectable for resolving SRV records} \item{\link{GOutputStream}}{Base class for implementing streaming output} \item{\link{GResolver}}{Asynchronous and cancellable DNS resolver} \item{\link{GSeekable}}{Stream seeking interface} \item{\link{GSimpleAsyncResult}}{Simple asynchronous results implementation} \item{\link{GSocket}}{Low-level socket object} \item{\link{GSocketAddress}}{Abstract base class representing endpoints for socket communication} \item{\link{GSocketClient}}{Helper for connecting to a network service} \item{\link{GSocketConnectable}}{Interface for potential socket endpoints} \item{\link{GSocketConnection}}{A socket connection} \item{\link{GSocketControlMessage}}{A GSocket control message} \item{\link{GSocketListener}}{Helper for accepting network client connections} \item{\link{GSocketService}}{Make it easy to implement a network service} \item{\link{GSrvTarget}}{DNS SRV record target} \item{\link{GThemedIcon}}{Icon theming support} \item{\link{GThreadedSocketService}}{A threaded GSocketService} \item{\link{GVfs}}{Virtual File System} \item{\link{GVolume}}{Volume management} \item{\link{GVolumeMonitor}}{Volume Monitor} } } \references{\url{http://library.gnome.org/devel//gio}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkPrintSettingsSetNCopies.Rd0000644000176000001440000000066312362217677017577 0ustar ripleyusers\alias{gtkPrintSettingsSetNCopies} \name{gtkPrintSettingsSetNCopies} \title{gtkPrintSettingsSetNCopies} \description{Sets the value of \code{GTK_PRINT_SETTINGS_N_COPIES}.} \usage{gtkPrintSettingsSetNCopies(object, num.copies)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{num.copies}}{the number of copies} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnNew.Rd0000644000176000001440000000052412362217677016403 0ustar ripleyusers\alias{gtkTreeViewColumnNew} \name{gtkTreeViewColumnNew} \title{gtkTreeViewColumnNew} \description{Creates a new \code{\link{GtkTreeViewColumn}}.} \usage{gtkTreeViewColumnNew()} \value{[\code{\link{GtkTreeViewColumn}}] A newly created \code{\link{GtkTreeViewColumn}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerSetAddTearoffs.Rd0000644000176000001440000000117312362217677017411 0ustar ripleyusers\alias{gtkUIManagerSetAddTearoffs} \name{gtkUIManagerSetAddTearoffs} \title{gtkUIManagerSetAddTearoffs} \description{Sets the "add_tearoffs" property, which controls whether menus generated by this \code{\link{GtkUIManager}} will have tearoff menu items. } \usage{gtkUIManagerSetAddTearoffs(object, add.tearoffs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}}} \item{\verb{add.tearoffs}}{whether tearoff menu items are added} } \details{Note that this only affects regular menus. Generated popup menus never have tearoff menu items. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetShadowType.Rd0000644000176000001440000000073212362217677020431 0ustar ripleyusers\alias{gtkScrolledWindowGetShadowType} \name{gtkScrolledWindowGetShadowType} \title{gtkScrolledWindowGetShadowType} \description{Gets the shadow type of the scrolled window. See \code{\link{gtkScrolledWindowSetShadowType}}.} \usage{gtkScrolledWindowGetShadowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \value{[\code{\link{GtkShadowType}}] the current shadow type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetUseDragIcons.Rd0000644000176000001440000000107012362217677016757 0ustar ripleyusers\alias{gtkCListSetUseDragIcons} \name{gtkCListSetUseDragIcons} \title{gtkCListSetUseDragIcons} \description{ Determines whether the \verb{GtkClist} should use icons when doing drag-and-drop operations. \strong{WARNING: \code{gtk_clist_set_use_drag_icons} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetUseDragIcons(object, use.icons)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{use.icons}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewInsertColumnWithDataFunc.Rd0000644000176000001440000000216212362217677021360 0ustar ripleyusers\alias{gtkTreeViewInsertColumnWithDataFunc} \name{gtkTreeViewInsertColumnWithDataFunc} \title{gtkTreeViewInsertColumnWithDataFunc} \description{Convenience function that inserts a new column into the \code{\link{GtkTreeView}} with the given cell renderer and a \verb{GtkCellDataFunc} to set cell renderer attributes (normally using data from the model). See also \code{\link{gtkTreeViewColumnSetCellDataFunc}}, \code{\link{gtkTreeViewColumnPackStart}}. If \code{tree.view} has "fixed_height" mode enabled, then the new column will have its "sizing" property set to be GTK_TREE_VIEW_COLUMN_FIXED.} \usage{gtkTreeViewInsertColumnWithDataFunc(object, position, title, cell, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{position}}{Position to insert, -1 for append} \item{\verb{title}}{column title} \item{\verb{cell}}{cell renderer for column} \item{\verb{func}}{function to set attributes of cell renderer} \item{\verb{data}}{data for \code{func}} } \value{[integer] number of columns in the tree view post-insert} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuNew.Rd0000644000176000001440000000042112362217677014373 0ustar ripleyusers\alias{gtkMenuNew} \name{gtkMenuNew} \title{gtkMenuNew} \description{Creates a new \code{\link{GtkMenu}}.} \usage{gtkMenuNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkMenu}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutSetAttributes.Rd0000644000176000001440000000123212362217677017616 0ustar ripleyusers\alias{gtkCellLayoutSetAttributes} \name{gtkCellLayoutSetAttributes} \title{gtkCellLayoutSetAttributes} \description{Sets the attributes in list as the attributes of \code{cell.layout}. The attributes should be in attribute/column order, as in \code{\link{gtkCellLayoutAddAttribute}}. All existing attributes are removed, and replaced with the new attributes.} \usage{gtkCellLayoutSetAttributes(object, cell, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}.} \item{\verb{...}}{\emph{undocumented }} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorParse.Rd0000644000176000001440000000204212362217677015047 0ustar ripleyusers\alias{gdkColorParse} \name{gdkColorParse} \title{gdkColorParse} \description{Parses a textual specification of a color and fill in the \code{red}, \code{green}, and \code{blue} fields of a \code{\link{GdkColor}} structure. The color is \emph{not} allocated, you must call \code{\link{gdkColormapAllocColor}} yourself. The string can either one of a large set of standard names. (Taken from the X11 \file{rgb.txt} file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')} \usage{gdkColorParse(spec)} \arguments{\item{\verb{spec}}{the string specifying the color.}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the parsing succeeded.} \item{\verb{color}}{the \code{\link{GdkColor}} to fill in. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemGetGroup.Rd0000644000176000001440000000076612362217677017210 0ustar ripleyusers\alias{gtkRadioMenuItemGetGroup} \name{gtkRadioMenuItemGetGroup} \title{gtkRadioMenuItemGetGroup} \description{Returns the group to which the radio menu item belongs, as a \verb{list} of \code{\link{GtkRadioMenuItem}}. The list belongs to GTK+ and should not be freed.} \usage{gtkRadioMenuItemGetGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRadioMenuItem}}.}} \value{[list] the group of \code{radio.menu.item}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemRemoveSubmenu.Rd0000644000176000001440000000120112362217677017252 0ustar ripleyusers\alias{gtkMenuItemRemoveSubmenu} \name{gtkMenuItemRemoveSubmenu} \title{gtkMenuItemRemoveSubmenu} \description{ Removes the widget's submenu. \strong{WARNING: \code{gtk_menu_item_remove_submenu} has been deprecated since version 2.12 and should not be used in newly-written code. \code{\link{gtkMenuItemRemoveSubmenu}} is deprecated and should not be used in newly written code. Use \code{\link{gtkMenuItemSetSubmenu}} instead.} } \usage{gtkMenuItemRemoveSubmenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuItem}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableAdd.Rd0000644000176000001440000000077712362217677015774 0ustar ripleyusers\alias{gtkTextTagTableAdd} \name{gtkTextTagTableAdd} \title{gtkTextTagTableAdd} \description{Add a tag to the table. The tag is assigned the highest priority in the table.} \usage{gtkTextTagTableAdd(object, tag)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTagTable}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}} } \details{\code{tag} must not be in a tag table already, and may not have the same name as an already-added tag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetHadjustment.Rd0000644000176000001440000000075412362217677017443 0ustar ripleyusers\alias{gtkTreeViewSetHadjustment} \name{gtkTreeViewSetHadjustment} \title{gtkTreeViewSetHadjustment} \description{Sets the \code{\link{GtkAdjustment}} for the current horizontal aspect.} \usage{gtkTreeViewSetHadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{adjustment}}{The \code{\link{GtkAdjustment}} to set, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/getSignal.Rd0000644000176000001440000000202611766145227014225 0ustar ripleyusers\name{gtkObjectGetSignals} \alias{gtkObjectGetSignals} \alias{gtkTypeGetSignals} \title{Retrieve information about available signals} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This provides dynamic (run-time) reflectance information about the available signals for a Gtk type/class. It gives the names of the signals, the parameters for the associated callback function and when it is called (i.e. before or after the object calls its own handlers). } \usage{ gtkObjectGetSignals(obj) gtkTypeGetSignals(type) } \arguments{ \item{obj}{the Gtk object whose signals are to be queried.} \item{type}{a string or object of class \code{GtkType} whose signals are to be retrieved.} } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \seealso{ \code{\link{gtkAddCallback}} } \keyword{interface} \keyword{internal} RGtk2/man/gtkPrintSettingsCopy.Rd0000644000176000001440000000065012362217677016471 0ustar ripleyusers\alias{gtkPrintSettingsCopy} \name{gtkPrintSettingsCopy} \title{gtkPrintSettingsCopy} \description{Copies a \code{\link{GtkPrintSettings}} object.} \usage{gtkPrintSettingsCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPrintSettings}}] a newly allocated copy of \code{other}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreReorder.Rd0000644000176000001440000000113512362217677016273 0ustar ripleyusers\alias{gtkListStoreReorder} \name{gtkListStoreReorder} \title{gtkListStoreReorder} \description{Reorders \code{store} to follow the order indicated by \code{new.order}. Note that this function only works with unsorted stores.} \usage{gtkListStoreReorder(object, new.order)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}.} \item{\verb{new.order}}{a list of integers mapping the new position of each child to its old position before the re-ordering, i.e. \code{new.order}\code{[newpos] = oldpos}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamFill.Rd0000644000176000001440000000375112362217677017214 0ustar ripleyusers\alias{gBufferedInputStreamFill} \name{gBufferedInputStreamFill} \title{gBufferedInputStreamFill} \description{Tries to read \code{count} bytes from the stream into the buffer. Will block during this read.} \usage{gBufferedInputStreamFill(object, count, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GBufferedInputStream}}.} \item{\verb{count}}{the number of bytes that will be read from the stream.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{count} is zero, returns zero and does nothing. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes read into the buffer is returned. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file. Zero is returned on end of file (or if \code{count} is zero), but never otherwise. If \code{count} is -1 then the attempted read size is equal to the number of bytes that are required to fill the buffer. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error. On error -1 is returned and \code{error} is set accordingly. For the asynchronous, non-blocking, version of this function, see \code{\link{gBufferedInputStreamFillAsync}}.} \value{ A list containing the following elements: \item{retval}{[integer] the number of bytes read into \code{stream}'s buffer, up to \code{count}, or -1 on error.} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixTransformPixelRectangle.Rd0000644000176000001440000000211212362217677021322 0ustar ripleyusers\alias{pangoMatrixTransformPixelRectangle} \name{pangoMatrixTransformPixelRectangle} \title{pangoMatrixTransformPixelRectangle} \description{First transforms the \code{rect} using \code{matrix}, then calculates the bounding box of the transformed rectangle. The rectangle should be in device units (pixels).} \usage{pangoMatrixTransformPixelRectangle(object, rect)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL}} \item{\verb{rect}}{[\code{\link{PangoRectangle}}] in/out bounding box in device units, or \code{NULL}} } \details{This function is useful for example when you want to draw a rotated \code{PangoLayout} to an image buffer, and want to know how large the image should be and how much you should shift the layout when rendering. For better accuracy, you should use \code{\link{pangoMatrixTransformRectangle}} on original rectangle in Pango units and convert to pixels afterward using \code{\link{pangoExtentsToPixels}}'s first argument. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCNewWithValues.Rd0000644000176000001440000000102112362217677015751 0ustar ripleyusers\alias{gdkGCNewWithValues} \name{gdkGCNewWithValues} \title{gdkGCNewWithValues} \description{Create a new GC with the given initial values.} \usage{gdkGCNewWithValues(object, values)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}. The created GC must always be used with drawables of the same depth as this one.} \item{\verb{values}}{a structure containing initial values for the GC.} } \value{[\code{\link{GdkGC}}] the new graphics context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-GContentType.Rd0000644000176000001440000000215212362217677015451 0ustar ripleyusers\alias{gio-GContentType} \name{gio-GContentType} \title{GContentType} \description{Platform-specific content typing} \section{Methods and Functions}{ \code{\link{gContentTypeEquals}(type1, type2)}\cr \code{\link{gContentTypeIsA}(type, supertype)}\cr \code{\link{gContentTypeIsUnknown}(type)}\cr \code{\link{gContentTypeGetDescription}(type)}\cr \code{\link{gContentTypeGetMimeType}(type)}\cr \code{\link{gContentTypeGetIcon}(type)}\cr \code{\link{gContentTypeCanBeExecutable}(type)}\cr \code{\link{gContentTypeFromMimeType}(mime.type)}\cr \code{\link{gContentTypeGuess}(filename, data)}\cr \code{\link{gContentTypeGuessForTree}(root)}\cr \code{\link{gContentTypesGetRegistered}()}\cr } \section{Detailed Description}{A content type is a platform specific string that defines the type of a file. On unix it is a mime type, on win32 it is an extension string like ".doc", ".txt" or a percieved string like "audio". Such strings can be looked up in the registry at HKEY_CLASSES_ROOT.} \references{\url{http://library.gnome.org/devel//gio/gio-GContentType.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkUnicodeToKeyval.Rd0000644000176000001440000000065612362217677016054 0ustar ripleyusers\alias{gdkUnicodeToKeyval} \name{gdkUnicodeToKeyval} \title{gdkUnicodeToKeyval} \description{Convert from a ISO10646 character to a key symbol.} \usage{gdkUnicodeToKeyval(wc)} \arguments{\item{\verb{wc}}{a ISO10646 encoded character}} \value{[numeric] the corresponding GDK key symbol, if one exists. or, if there is no corresponding symbol, wc | 0x01000000} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetPolicy.Rd0000644000176000001440000000701312362217677016124 0ustar ripleyusers\alias{gtkWindowSetPolicy} \name{gtkWindowSetPolicy} \title{gtkWindowSetPolicy} \description{ Changes how a toplevel window deals with its size request and user resize attempts. There are really only two reasonable ways to call this function: \enumerate{ \item \code{gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE)} means that the window is user-resizable. \item \code{gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE)} means that the window's size is program-controlled, and should simply match the current size request of the window's children. } The first policy is the default, that is, by default windows are designed to be resized by users. \strong{WARNING: \code{gtk_window_set_policy} is deprecated and should not be used in newly-written code. Use \code{\link{gtkWindowSetResizable}} instead.} } \usage{gtkWindowSetPolicy(object, allow.shrink, allow.grow, auto.shrink)} \arguments{ \item{\verb{object}}{the window} \item{\verb{allow.shrink}}{whether the user can shrink the window below its size request} \item{\verb{allow.grow}}{whether the user can grow the window larger than its size request} \item{\verb{auto.shrink}}{whether the window automatically snaps back to its size request if it's larger} } \details{The basic ugly truth of this function is that it should be simply: \code{ void gtk_window_set_resizable (GtkWindow* window, gboolean setting);} ...which is why GTK+ 2.0 introduces \code{\link{gtkWindowSetResizable}}, which you should use instead of \code{\link{gtkWindowSetPolicy}}. If set to \code{TRUE}, the \code{allow.grow} parameter allows the user to expand the window beyond the size request of its child widgets. If \code{allow.grow} is \code{TRUE}, be sure to check that your child widgets work properly as the window is resized. A toplevel window will always change size to ensure its child widgets receive their requested size. This means that if you add child widgets, the toplevel window will expand to contain them. However, normally the toplevel will not shrink to fit the size request of its children if it's too large; the \code{auto.shrink} parameter causes the window to shrink when child widgets have too much space. \code{auto.shrink} is normally used with the second of the two window policies mentioned above. That is, set \code{auto.shrink} to \code{TRUE} if you want the window to have a fixed, always-optimal size determined by your program. Note that \code{auto.shrink} doesn't do anything if \code{allow.shrink} and \code{allow.grow} are both set to \code{FALSE}. Neither of the two suggested window policies set the \code{allow.shrink} parameter to \code{TRUE}. If \code{allow.shrink} is \code{TRUE}, the user can shrink the window so that its children do not receive their full size request; this is basically a bad thing, because most widgets will look wrong if this happens. Furthermore GTK+ has a tendency to re-expand the window if size is recalculated for any reason. The upshot is that \code{allow.shrink} should always be set to \code{FALSE}. Sometimes when you think you want to use \code{allow.shrink}, the real problem is that some specific child widget is requesting too much space, so the user can't shrink the window sufficiently. Perhaps you are calling \code{\link{gtkWidgetSetSizeRequest}} on a child widget, and forcing its size request to be too large. Instead of setting the child's usize, consider using \code{\link{gtkWindowSetDefaultSize}} so that the child gets a larger allocation than it requests.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetVadjustment.Rd0000644000176000001440000000075212362217677017457 0ustar ripleyusers\alias{gtkTreeViewSetVadjustment} \name{gtkTreeViewSetVadjustment} \title{gtkTreeViewSetVadjustment} \description{Sets the \code{\link{GtkAdjustment}} for the current vertical aspect.} \usage{gtkTreeViewSetVadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{adjustment}}{The \code{\link{GtkAdjustment}} to set, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupNewFromFile.Rd0000644000176000001440000000153012362217677017012 0ustar ripleyusers\alias{gtkPageSetupNewFromFile} \name{gtkPageSetupNewFromFile} \title{gtkPageSetupNewFromFile} \description{Reads the page setup from the file \code{file.name}. Returns a new \code{\link{GtkPageSetup}} object with the restored page setup, or \code{NULL} if an error occurred. See \code{\link{gtkPageSetupToFile}}.} \usage{gtkPageSetupNewFromFile(file.name, .errwarn = TRUE)} \arguments{ \item{\verb{file.name}}{the filename to read the page setup from} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPageSetup}}] the restored \code{\link{GtkPageSetup}}} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetAddStates.Rd0000644000176000001440000000071612362217677016347 0ustar ripleyusers\alias{atkStateSetAddStates} \name{atkStateSetAddStates} \title{atkStateSetAddStates} \description{Add the states for the specified types to the current state set.} \usage{atkStateSetAddStates(object, types)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{types}}{[\code{\link{AtkStateType}}] a list of \code{\link{AtkStateType}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetLineAtY.Rd0000644000176000001440000000153412362217677016470 0ustar ripleyusers\alias{gtkTextViewGetLineAtY} \name{gtkTextViewGetLineAtY} \title{gtkTextViewGetLineAtY} \description{Gets the \code{\link{GtkTextIter}} at the start of the line containing the coordinate \code{y}. \code{y} is in buffer coordinates, convert from window coordinates with \code{\link{gtkTextViewWindowToBufferCoords}}. If non-\code{NULL}, \code{line.top} will be filled with the coordinate of the top edge of the line.} \usage{gtkTextViewGetLineAtY(object, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{y}}{a y coordinate} } \value{ A list containing the following elements: \item{\verb{target.iter}}{a \code{\link{GtkTextIter}}. \emph{[ \acronym{out} ]}} \item{\verb{line.top}}{return location for top coordinate of the line. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRgbToHsv.Rd0000644000176000001440000000104612362217677014517 0ustar ripleyusers\alias{gtkRgbToHsv} \name{gtkRgbToHsv} \title{gtkRgbToHsv} \description{Converts a color from RGB space to HSV. Input values must be in the [0.0, 1.0] range; output values will be in the same range.} \usage{gtkRgbToHsv(r, g, h, s, v)} \arguments{ \item{\verb{r}}{Red} \item{\verb{g}}{Green} \item{\verb{h}}{Return value for the hue component} \item{\verb{s}}{Return value for the saturation component} \item{\verb{v}}{Return value for the value component} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorSetRateLimit.Rd0000644000176000001440000000076012362217677017202 0ustar ripleyusers\alias{gFileMonitorSetRateLimit} \name{gFileMonitorSetRateLimit} \title{gFileMonitorSetRateLimit} \description{Sets the rate limit to which the \code{monitor} will report consecutive change events to the same file.} \usage{gFileMonitorSetRateLimit(object, limit.msecs)} \arguments{ \item{\verb{object}}{a \code{\link{GFileMonitor}}.} \item{\verb{limit.msecs}}{a integer with the limit in milliseconds to poll for changes.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetRegionIntersect.Rd0000644000176000001440000000203312362217677017266 0ustar ripleyusers\alias{gtkWidgetRegionIntersect} \name{gtkWidgetRegionIntersect} \title{gtkWidgetRegionIntersect} \description{Computes the intersection of a \code{widget}'s area and \code{region}, returning the intersection. The result may be empty, use \code{\link{gdkRegionEmpty}} to check.} \usage{gtkWidgetRegionIntersect(object, region)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{region}}{a \code{\link{GdkRegion}}, in the same coordinate system as \code{widget->allocation}. That is, relative to \code{widget->window} for \code{NO_WINDOW} widgets; relative to the parent window of \code{widget->window} for widgets with their own window.} } \value{[\code{\link{GdkRegion}}] A newly allocated region holding the intersection of \code{widget} and \code{region}. The coordinates of the return value are relative to \code{widget->window} for \code{NO_WINDOW} widgets, and relative to the parent window of \code{widget->window} for widgets with their own window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcResetStyles.Rd0000644000176000001440000000165212362217677015577 0ustar ripleyusers\alias{gtkRcResetStyles} \name{gtkRcResetStyles} \title{gtkRcResetStyles} \description{This function recomputes the styles for all widgets that use a particular \code{\link{GtkSettings}} object. (There is one \code{\link{GtkSettings}} object per \code{\link{GdkScreen}}, see \code{\link{gtkSettingsGetForScreen}}); It is useful when some global parameter has changed that affects the appearance of all widgets, because when a widget gets a new style, it will both redraw and recompute any cached information about its appearance. As an example, it is used when the default font size set by the operating system changes. Note that this function doesn't affect widgets that have a style set explicitely on them with \code{\link{gtkWidgetSetStyle}}.} \usage{gtkRcResetStyles(settings)} \arguments{\item{\verb{settings}}{a \code{\link{GtkSettings}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetOverrideRedirect.Rd0000644000176000001440000000155212362217677020110 0ustar ripleyusers\alias{gdkWindowSetOverrideRedirect} \name{gdkWindowSetOverrideRedirect} \title{gdkWindowSetOverrideRedirect} \description{An override redirect window is not under the control of the window manager. This means it won't have a titlebar, won't be minimizable, etc. - it will be entirely under the control of the application. The window manager can't see the override redirect window at all.} \usage{gdkWindowSetOverrideRedirect(object, override.redirect)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{override.redirect}}{\code{TRUE} if window should be override redirect} } \details{Override redirect should only be used for short-lived temporary windows, such as popup menus. \code{\link{GtkMenu}} uses an override redirect window in its implementation, for example.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionGetNActions.Rd0000644000176000001440000000111512362217677016324 0ustar ripleyusers\alias{atkActionGetNActions} \name{atkActionGetNActions} \title{atkActionGetNActions} \description{Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object.} \usage{atkActionGetNActions(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface}} \value{[integer] a the number of actions, or 0 if \code{action} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkActionGroup.Rd0000644000176000001440000002345512362217677015223 0ustar ripleyusers\alias{GtkActionGroup} \alias{GtkActionEntry} \alias{GtkToggleActionEntry} \alias{GtkRadioActionEntry} \alias{gtkActionGroup} \name{GtkActionGroup} \title{GtkActionGroup} \description{A group of actions} \section{Methods and Functions}{ \code{\link{gtkActionGroupNew}(name = NULL)}\cr \code{\link{gtkActionGroupGetName}(object)}\cr \code{\link{gtkActionGroupGetSensitive}(object)}\cr \code{\link{gtkActionGroupSetSensitive}(object, sensitive)}\cr \code{\link{gtkActionGroupGetVisible}(object)}\cr \code{\link{gtkActionGroupSetVisible}(object, visible)}\cr \code{\link{gtkActionGroupGetAction}(object, action.name)}\cr \code{\link{gtkActionGroupListActions}(object)}\cr \code{\link{gtkActionGroupAddAction}(object, action)}\cr \code{\link{gtkActionGroupAddActionWithAccel}(object, action, accelerator = NULL)}\cr \code{\link{gtkActionGroupRemoveAction}(object, action)}\cr \code{\link{gtkActionGroupAddActions}(object, entries, user.data = NULL)}\cr \code{\link{gtkActionGroupAddActionsFull}(object, entries, user.data = NULL)}\cr \code{\link{gtkActionGroupAddToggleActions}(object, entries, user.data = NULL)}\cr \code{\link{gtkActionGroupAddToggleActionsFull}(object, entries, user.data = NULL)}\cr \code{\link{gtkActionGroupAddRadioActions}(object, entries, value, on.change = NULL, user.data = NULL)}\cr \code{\link{gtkActionGroupAddRadioActionsFull}(object, entries, value, on.change = NULL, user.data = NULL)}\cr \code{\link{gtkActionGroupSetTranslateFunc}(object, func, data = NULL)}\cr \code{\link{gtkActionGroupSetTranslationDomain}(object, domain)}\cr \code{\link{gtkActionGroupTranslateString}(object, string)}\cr \code{gtkActionGroup(name = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkActionGroup}} \section{Interfaces}{GtkActionGroup implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{Actions are organised into groups. An action group is essentially a map from names to \code{\link{GtkAction}} objects. All actions that would make sense to use in a particular context should be in a single group. Multiple action groups may be used for a particular user interface. In fact, it is expected that most nontrivial applications will make use of multiple groups. For example, in an application that can edit multiple documents, one group holding global actions (e.g. quit, about, new), and one group per document holding actions that act on that document (eg. save, cut/copy/paste, etc). Each window's menus would be constructed from a combination of two action groups. Accelerators are handled by the GTK+ accelerator map. All actions are assigned an accelerator path (which normally has the form \code{/ \\var{group-name} / \\var{action-name}}) and a shortcut is associated with this accelerator path. All menuitems and toolitems take on this accelerator path. The GTK+ accelerator map code makes sure that the correct shortcut is displayed next to the menu item.} \section{GtkActionGroup as GtkBuildable}{The GtkActionGroup implementation of the GtkBuildable interface accepts GtkAction objects as elements in UI definitions. Note that it is probably more common to define actions and action groups in the code, since they are directly related to what the code can do. The GtkActionGroup implementation of the GtkBuildable interface supports a custom element, which has attributes named key and modifiers and allows to specify accelerators. This is similar to the element of GtkWidget, the main difference is that it doesn't allow you to specify a signal. \emph{A \code{GtkDialog} UI definition fragment.}\preformatted{ About gtk-about }} \section{Structures}{\describe{ \item{\verb{GtkActionGroup}}{ The \code{GtkActionGroup} struct contains only private members and should not be accessed directly. } \item{\verb{GtkActionEntry}}{ \code{GtkActionEntry} structs are used with \code{\link{gtkActionGroupAddActions}} to construct actions. \strong{\verb{GtkActionEntry} is a \link{transparent-type}.} \describe{ \item{\code{name}}{The name of the action.} \item{\code{stock_id}}{The stock id for the action, or the name of an icon from the icon theme.} \item{\code{label}}{The label for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}. If \code{label} is \code{NULL}, the label of the stock item with id \code{stock.id} is used.} \item{\code{accelerator}}{The accelerator for the action, in the format understood by \code{\link{gtkAcceleratorParse}}.} \item{\code{tooltip}}{The tooltip for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}.} \item{\code{callback}}{The function to call when the action is activated.} } } \item{\verb{GtkToggleActionEntry}}{ \code{GtkToggleActionEntry} structs are used with \code{\link{gtkActionGroupAddToggleActions}} to construct toggle actions. \strong{\verb{GtkToggleActionEntry} is a \link{transparent-type}.} \describe{ \item{\code{name}}{The name of the action.} \item{\code{stock_id}}{The stock id for the action, or the name of an icon from the icon theme.} \item{\code{label}}{The label for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}.} \item{\code{accelerator}}{The accelerator for the action, in the format understood by \code{\link{gtkAcceleratorParse}}.} \item{\code{tooltip}}{The tooltip for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}.} \item{\code{callback}}{The function to call when the action is activated.} \item{\code{is_active}}{The initial state of the toggle action.} } } \item{\verb{GtkRadioActionEntry}}{ \code{GtkRadioActionEntry} structs are used with \code{\link{gtkActionGroupAddRadioActions}} to construct groups of radio actions. \strong{\verb{GtkRadioActionEntry} is a \link{transparent-type}.} \describe{ \item{\code{name}}{The name of the action.} \item{\code{stock_id}}{The stock id for the action, or the name of an icon from the icon theme.} \item{\code{label}}{The label for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}.} \item{\code{accelerator}}{The accelerator for the action, in the format understood by \code{\link{gtkAcceleratorParse}}.} \item{\code{tooltip}}{The tooltip for the action. This field should typically be marked for translation, see \code{\link{gtkActionGroupSetTranslationDomain}}.} \item{\code{value}}{The value to set on the radio action. See \code{\link{gtkRadioActionGetCurrentValue}}.} } } }} \section{Convenient Construction}{\code{gtkActionGroup} is the equivalent of \code{\link{gtkActionGroupNew}}.} \section{Signals}{\describe{ \item{\code{connect-proxy(action.group, action, proxy, user.data)}}{ The ::connect-proxy signal is emitted after connecting a proxy to an action in the group. Note that the proxy may have been connected to a different action before. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. \code{\link{GtkUIManager}} proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use. Since 2.4 \describe{ \item{\code{action.group}}{the group} \item{\code{action}}{the action} \item{\code{proxy}}{the proxy} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{disconnect-proxy(action.group, action, proxy, user.data)}}{ The ::disconnect-proxy signal is emitted after disconnecting a proxy from an action in the group. \code{\link{GtkUIManager}} proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use. Since 2.4 \describe{ \item{\code{action.group}}{the group} \item{\code{action}}{the action} \item{\code{proxy}}{the proxy} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{post-activate(action.group, action, user.data)}}{ The ::post-activate signal is emitted just after the \code{action} in the \code{action.group} is activated This is intended for \code{\link{GtkUIManager}} to proxy the signal and provide global notification just after any action is activated. Since 2.4 \describe{ \item{\code{action.group}}{the group} \item{\code{action}}{the action} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{pre-activate(action.group, action, user.data)}}{ The ::pre-activate signal is emitted just before the \code{action} in the \code{action.group} is activated This is intended for \code{\link{GtkUIManager}} to proxy the signal and provide global notification just before any action is activated. Since 2.4 \describe{ \item{\code{action.group}}{the group} \item{\code{action}}{the action} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{name} [character : * : Read / Write / Construct Only]}{ A name for the action group. Default value: NULL } \item{\verb{sensitive} [logical : Read / Write]}{ Whether the action group is enabled. Default value: TRUE } \item{\verb{visible} [logical : Read / Write]}{ Whether the action group is visible. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkActionGroup.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetTypeHint.Rd0000644000176000001440000000132112362217677016425 0ustar ripleyusers\alias{gtkWindowSetTypeHint} \name{gtkWindowSetTypeHint} \title{gtkWindowSetTypeHint} \description{By setting the type hint for the window, you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application.} \usage{gtkWindowSetTypeHint(object, hint)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{hint}}{the window type} } \details{This function should be called before the window becomes visible. \code{\link{gtkDialogNewWithButtons}} and other convenience functions in GTK+ will sometimes call \code{\link{gtkWindowSetTypeHint}} on your behalf.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGcRelease.Rd0000644000176000001440000000045012362217677014651 0ustar ripleyusers\alias{gtkGcRelease} \name{gtkGcRelease} \title{gtkGcRelease} \description{Releases a \code{\link{GdkGC}} allocated using \code{\link{gtkGcGet}}.} \usage{gtkGcRelease(gc)} \arguments{\item{\verb{gc}}{a \code{\link{GdkGC}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetSymlinkTarget.Rd0000644000176000001440000000062512362217677017335 0ustar ripleyusers\alias{gFileInfoGetSymlinkTarget} \name{gFileInfoGetSymlinkTarget} \title{gFileInfoGetSymlinkTarget} \description{Gets the symlink target for a given \code{\link{GFileInfo}}.} \usage{gFileInfoGetSymlinkTarget(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the symlink target.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetRubberBanding.Rd0000644000176000001440000000113412362217677017636 0ustar ripleyusers\alias{gtkTreeViewGetRubberBanding} \name{gtkTreeViewGetRubberBanding} \title{gtkTreeViewGetRubberBanding} \description{Returns whether rubber banding is turned on for \code{tree.view}. If the selection mode is \verb{GTK_SELECTION_MULTIPLE}, rubber banding will allow the user to select multiple rows by dragging the mouse.} \usage{gtkTreeViewGetRubberBanding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if rubber banding in \code{tree.view} is enabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCNew.Rd0000644000176000001440000000063712362217677013751 0ustar ripleyusers\alias{gdkGCNew} \name{gdkGCNew} \title{gdkGCNew} \description{Create a new graphics context with default values.} \usage{gdkGCNew(drawable)} \arguments{\item{\verb{drawable}}{a \code{\link{GdkDrawable}}. The created GC must always be used with drawables of the same depth as this one.}} \value{[\code{\link{GdkGC}}] the new graphics context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetIconName.Rd0000644000176000001440000000150712362217677016117 0ustar ripleyusers\alias{gtkImageGetIconName} \name{gtkImageGetIconName} \title{gtkImageGetIconName} \description{Gets the icon name and size being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_ICON_NAME} (see \code{\link{gtkImageGetStorageType}}).} \usage{gtkImageGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \details{Since 2.6} \value{ A list containing the following elements: \item{\verb{icon.name}}{place to store an icon name, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{size}}{place to store an icon size, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ][ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetJustify.Rd0000644000176000001440000000063112362217677016055 0ustar ripleyusers\alias{gtkLabelGetJustify} \name{gtkLabelGetJustify} \title{gtkLabelGetJustify} \description{Returns the justification of the label. See \code{\link{gtkLabelSetJustify}}.} \usage{gtkLabelGetJustify(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[\code{\link{GtkJustification}}] \code{\link{GtkJustification}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAcceptSocketAsync.Rd0000644000176000001440000000147412362217677020714 0ustar ripleyusers\alias{gSocketListenerAcceptSocketAsync} \name{gSocketListenerAcceptSocketAsync} \title{gSocketListenerAcceptSocketAsync} \description{This is the asynchronous version of \code{\link{gSocketListenerAcceptSocket}}.} \usage{gSocketListenerAcceptSocketAsync(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data for the callback} } \details{When the operation is finished \code{callback} will be called. You can then call \code{\link{gSocketListenerAcceptSocketFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookInsertPage.Rd0000644000176000001440000000154612362217677016570 0ustar ripleyusers\alias{gtkNotebookInsertPage} \name{gtkNotebookInsertPage} \title{gtkNotebookInsertPage} \description{Insert a page into \code{notebook} at the given position.} \usage{gtkNotebookInsertPage(object, child, tab.label = NULL, position = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages.} } \value{[integer] the index (starting from 0) of the inserted page in the notebook, or -1 if function fails} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionMerge.Rd0000644000176000001440000000202712362217677017432 0ustar ripleyusers\alias{pangoFontDescriptionMerge} \name{pangoFontDescriptionMerge} \title{pangoFontDescriptionMerge} \description{Merges the fields that are set in \code{desc.to.merge} into the fields in \code{desc}. If \code{replace.existing} is \code{FALSE}, only fields in \code{desc} that are not already set are affected. If \code{TRUE}, then fields that are already set will be replaced as well.} \usage{pangoFontDescriptionMerge(object, desc.to.merge, replace.existing)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{desc.to.merge}}{[\code{\link{PangoFontDescription}}] the \code{\link{PangoFontDescription}} to merge from, or \code{NULL}} \item{\verb{replace.existing}}{[logical] if \code{TRUE}, replace fields in \code{desc} with the corresponding values from \code{desc.to.merge}, even if they are already exist.} } \details{If \code{desc.to.merge} is \code{NULL}, this function performs nothing. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetColormap.Rd0000644000176000001440000000072212362217677015443 0ustar ripleyusers\alias{gdkGCSetColormap} \name{gdkGCSetColormap} \title{gdkGCSetColormap} \description{Sets the colormap for the GC to the given colormap. The depth of the colormap's visual must match the depth of the drawable for which the GC was created.} \usage{gdkGCSetColormap(object, colormap)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}} \item{\verb{colormap}}{a \code{\link{GdkColormap}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowFocus.Rd0000644000176000001440000000100712362217677015245 0ustar ripleyusers\alias{gdkWindowFocus} \name{gdkWindowFocus} \title{gdkWindowFocus} \description{Sets keyboard focus to \code{window}. In most cases, \code{\link{gtkWindowPresent}} should be used on a \code{\link{GtkWindow}}, rather than calling this function.} \usage{gdkWindowFocus(object, timestamp = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{timestamp}}{timestamp of the event triggering the window focus} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkEntry.Rd0000644000176000001440000005624412362217677014074 0ustar ripleyusers\alias{GtkEntry} \alias{gtkEntry} \alias{GtkEntryIconPosition} \name{GtkEntry} \title{GtkEntry} \description{A single line text entry field} \section{Methods and Functions}{ \code{\link{gtkEntryNew}(show = TRUE)}\cr \code{\link{gtkEntryNewWithBuffer}(buffer, show = TRUE)}\cr \code{\link{gtkEntryNewWithMaxLength}(max = 0, show = TRUE)}\cr \code{\link{gtkEntryGetBuffer}(object)}\cr \code{\link{gtkEntrySetBuffer}(object, buffer)}\cr \code{\link{gtkEntrySetText}(object, text)}\cr \code{\link{gtkEntryAppendText}(object, text)}\cr \code{\link{gtkEntryPrependText}(object, text)}\cr \code{\link{gtkEntrySetPosition}(object, position)}\cr \code{\link{gtkEntryGetText}(object)}\cr \code{\link{gtkEntryGetTextLength}(object)}\cr \code{\link{gtkEntrySelectRegion}(object, start, end)}\cr \code{\link{gtkEntrySetVisibility}(object, visible)}\cr \code{\link{gtkEntrySetInvisibleChar}(object, ch)}\cr \code{\link{gtkEntryUnsetInvisibleChar}(object)}\cr \code{\link{gtkEntrySetEditable}(object, editable)}\cr \code{\link{gtkEntrySetMaxLength}(object, max)}\cr \code{\link{gtkEntryGetActivatesDefault}(object)}\cr \code{\link{gtkEntryGetHasFrame}(object)}\cr \code{\link{gtkEntryGetInnerBorder}(object)}\cr \code{\link{gtkEntryGetWidthChars}(object)}\cr \code{\link{gtkEntrySetActivatesDefault}(object, setting)}\cr \code{\link{gtkEntrySetHasFrame}(object, setting)}\cr \code{\link{gtkEntrySetInnerBorder}(object, border = NULL)}\cr \code{\link{gtkEntrySetWidthChars}(object, n.chars)}\cr \code{\link{gtkEntryGetInvisibleChar}(object)}\cr \code{\link{gtkEntrySetAlignment}(object, xalign)}\cr \code{\link{gtkEntryGetAlignment}(object)}\cr \code{\link{gtkEntrySetOverwriteMode}(object, overwrite)}\cr \code{\link{gtkEntryGetOverwriteMode}(object)}\cr \code{\link{gtkEntryGetLayout}(object)}\cr \code{\link{gtkEntryGetLayoutOffsets}(object)}\cr \code{\link{gtkEntryLayoutIndexToTextIndex}(object, layout.index)}\cr \code{\link{gtkEntryTextIndexToLayoutIndex}(object, text.index)}\cr \code{\link{gtkEntryGetMaxLength}(object)}\cr \code{\link{gtkEntryGetVisibility}(object)}\cr \code{\link{gtkEntrySetCompletion}(object, completion)}\cr \code{\link{gtkEntryGetCompletion}(object)}\cr \code{\link{gtkEntrySetCursorHadjustment}(object, adjustment)}\cr \code{\link{gtkEntryGetCursorHadjustment}(object)}\cr \code{\link{gtkEntrySetProgressFraction}(object, fraction)}\cr \code{\link{gtkEntryGetProgressFraction}(object)}\cr \code{\link{gtkEntrySetProgressPulseStep}(object, fraction)}\cr \code{\link{gtkEntryGetProgressPulseStep}(object)}\cr \code{\link{gtkEntryProgressPulse}(object)}\cr \code{\link{gtkEntrySetIconFromPixbuf}(object, icon.pos, pixbuf = NULL)}\cr \code{\link{gtkEntrySetIconFromStock}(object, icon.pos, stock.id = NULL)}\cr \code{\link{gtkEntrySetIconFromIconName}(object, icon.pos, icon.name = NULL)}\cr \code{\link{gtkEntrySetIconFromGicon}(object, icon.pos, icon = NULL)}\cr \code{\link{gtkEntryGetIconStorageType}(object, icon.pos)}\cr \code{\link{gtkEntryGetIconPixbuf}(object, icon.pos)}\cr \code{\link{gtkEntryGetIconStock}(object, icon.pos)}\cr \code{\link{gtkEntryGetIconName}(object, icon.pos)}\cr \code{\link{gtkEntryGetIconGicon}(object, icon.pos)}\cr \code{\link{gtkEntrySetIconActivatable}(object, icon.pos, activatable)}\cr \code{\link{gtkEntryGetIconActivatable}(object, icon.pos)}\cr \code{\link{gtkEntrySetIconSensitive}(object, icon.pos, sensitive)}\cr \code{\link{gtkEntryGetIconSensitive}(object, icon.pos)}\cr \code{\link{gtkEntryGetIconAtPos}(object, x, y)}\cr \code{\link{gtkEntrySetIconTooltipText}(object, icon.pos, tooltip = NULL)}\cr \code{\link{gtkEntryGetIconTooltipText}(object, icon.pos)}\cr \code{\link{gtkEntrySetIconTooltipMarkup}(object, icon.pos, tooltip = NULL)}\cr \code{\link{gtkEntryGetIconTooltipMarkup}(object, icon.pos)}\cr \code{\link{gtkEntrySetIconDragSource}(object, icon.pos, target.list, actions)}\cr \code{\link{gtkEntryGetCurrentIconDragSource}(object)}\cr \code{\link{gtkEntryGetIconWindow}(object, icon.pos)}\cr \code{\link{gtkEntryGetTextWindow}(object)}\cr \code{gtkEntry(max = 0, buffer, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkEntry +----GtkSpinButton}} \section{Interfaces}{GtkEntry implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkEditable}} and \code{\link{GtkCellEditable}}.} \section{Detailed Description}{The \code{\link{GtkEntry}} widget is a single line text entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible. When using an entry for passwords and other sensitive information, it can be put into "password mode" using \code{\link{gtkEntrySetVisibility}}. In this mode, entered text is displayed using a 'invisible' character. By default, GTK+ picks the best invisible character that is available in the current font, but it can be changed with \code{\link{gtkEntrySetInvisibleChar}}. Since 2.16, GTK+ displays a warning when Caps Lock or input methods might interfere with entering text in a password entry. The warning can be turned off with the \verb{"caps-lock-warning"} property. Since 2.16, GtkEntry has the ability to display progress or activity information behind the text. To make an entry display such information, use \code{\link{gtkEntrySetProgressFraction}} or \code{\link{gtkEntrySetProgressPulseStep}}. Additionally, GtkEntry can show icons at either side of the entry. These icons can be activatable by clicking, can be set up as drag source and can have tooltips. To add an icon, use \code{\link{gtkEntrySetIconFromGicon}} or one of the various other functions that set an icon from a stock id, an icon name or a pixbuf. To trigger an action when the user clicks an icon, connect to the \verb{"icon-press"} signal. To allow DND operations from an icon, use \code{\link{gtkEntrySetIconDragSource}}. To set a tooltip on an icon, use \code{\link{gtkEntrySetIconTooltipText}} or the corresponding function for markup. Note that functionality or information that is only available by clicking on an icon in an entry may not be accessible at all to users which are not able to use a mouse or other pointing device. It is therefore recommended that any such functionality should also be available by other means, e.g. via the context menu of the entry.} \section{Structures}{\describe{\item{\verb{GtkEntry}}{ The \code{\link{GtkEntry}} struct contains only private data. }}} \section{Convenient Construction}{\code{gtkEntry} is the result of collapsing the constructors of \code{GtkEntry} (\code{\link{gtkEntryNew}}, \code{\link{gtkEntryNewWithMaxLength}}, \code{\link{gtkEntryNewWithBuffer}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{GtkEntryIconPosition}}{ Specifies the side of the entry at which an icon is placed. \describe{ \item{\verb{primary}}{At the beginning of the entry (depending on the text direction).} \item{\verb{secondary}}{At the end of the entry (depending on the text direction).} } }}} \section{Signals}{\describe{ \item{\code{activate(entry, user.data)}}{ A keybinding signal which gets emitted when the user activates the entry. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control activation programmatically. The default bindings for this signal are all forms of the Enter key. \describe{ \item{\code{entry}}{The entry on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{backspace(entry, user.data)}}{ The ::backspace signal is a keybinding signal which gets emitted when the user asks for it. The default bindings for this signal are Backspace and Shift-Backspace. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{copy-clipboard(entry, user.data)}}{ The ::copy-clipboard signal is a keybinding signal which gets emitted to copy the selection to the clipboard. The default bindings for this signal are Ctrl-c and Ctrl-Insert. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cut-clipboard(entry, user.data)}}{ The ::cut-clipboard signal is a keybinding signal which gets emitted to cut the selection to the clipboard. The default bindings for this signal are Ctrl-x and Shift-Delete. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{delete-from-cursor(entry, type, count, user.data)}}{ The ::delete-from-cursor signal is a keybinding signal which gets emitted when the user initiates a text deletion. If the \code{type} is \code{GTK_DELETE_CHARS}, GTK+ deletes the selection if there is one, otherwise it deletes the requested number of characters. The default bindings for this signal are Delete for deleting a character and Ctrl-Delete for deleting a word. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{type}}{the granularity of the deletion, as a \code{\link{GtkDeleteType}}} \item{\code{count}}{the number of \code{type} units to delete} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{icon-press(entry, icon.pos, event, user.data)}}{ The ::icon-press signal is emitted when an activatable icon is clicked. Since 2.16 \describe{ \item{\code{entry}}{The entry on which the signal is emitted} \item{\code{icon.pos}}{The position of the clicked icon} \item{\code{event}}{the button press event} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{icon-release(entry, icon.pos, event, user.data)}}{ The ::icon-release signal is emitted on the button release from a mouse click over an activatable icon. Since 2.16 \describe{ \item{\code{entry}}{The entry on which the signal is emitted} \item{\code{icon.pos}}{The position of the clicked icon} \item{\code{event}}{the button release event} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-at-cursor(entry, string, user.data)}}{ The ::insert-at-cursor signal is a keybinding signal which gets emitted when the user initiates the insertion of a fixed string at the cursor. This signal has no default bindings. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{string}}{the string to insert} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(entry, step, count, extend.selection, user.data)}}{ The ::move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement. If the cursor is not visible in \code{entry}, this signal causes the viewport to be moved instead. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control the cursor programmatically. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here. \itemize{ \item \item \item } \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{step}}{the granularity of the move, as a \code{\link{GtkMovementStep}}} \item{\code{count}}{the number of \code{step} units to move} \item{\code{extend.selection}}{\code{TRUE} if the move should extend the selection} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{paste-clipboard(entry, user.data)}}{ The ::paste-clipboard signal is a keybinding signal which gets emitted to paste the contents of the clipboard into the text view. The default bindings for this signal are Ctrl-v and Shift-Insert. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{populate-popup(entry, menu, user.data)}}{ The ::populate-popup signal gets emitted before showing the context menu of the entry. If you need to add items to the context menu, connect to this signal and append your menuitems to the \code{menu}. \describe{ \item{\code{entry}}{The entry on which the signal is emitted} \item{\code{menu}}{the menu that is being populated} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{preedit-changed(entry, preedit, user.data)}}{ If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal. Since 2.20 \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{preedit}}{the current preedit string} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-overwrite(entry, user.data)}}{ The ::toggle-overwrite signal is a keybinding signal which gets emitted to toggle the overwrite mode of the entry. The default bindings for this signal is Insert. \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{activates-default} [logical : Read / Write]}{ Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Default value: FALSE } \item{\verb{buffer} [\code{\link{GtkEntryBuffer}} : * : Read / Write / Construct]}{ Text buffer object which actually stores entry text. } \item{\verb{caps-lock-warning} [logical : Read / Write]}{ Whether password entries will show a warning when Caps Lock is on. Note that the warning is shown using a secondary icon, and thus does not work if you are using the secondary icon position for some other purpose. Default value: TRUE Since 2.16 } \item{\verb{cursor-position} [integer : Read]}{ The current position of the insertion cursor in chars. Allowed values: [0,65535] Default value: 0 } \item{\verb{editable} [logical : Read / Write]}{ Whether the entry contents can be edited. Default value: TRUE } \item{\verb{has-frame} [logical : Read / Write]}{ FALSE removes outside bevel from entry. Default value: TRUE } \item{\verb{im-module} [character : * : Read / Write]}{ Which IM (input method) module should be used for this entry. See \code{\link{GtkIMContext}}. Setting this to a non-\code{NULL} value overrides the system-wide IM module setting. See the GtkSettings \verb{"gtk-im-module"} property. Default value: NULL Since 2.16 } \item{\verb{inner-border} [\code{\link{GtkBorder}} : * : Read / Write]}{ Sets the text area's border between the text and the frame. Since 2.10 } \item{\verb{invisible-char} [numeric : Read / Write]}{ The invisible character is used when masking entry contents (in \\"password mode\\")"). When it is not explicitly set with the \verb{"invisible-char"} property, GTK+ determines the character to use from a list of possible candidates, depending on availability in the current font. This style property allows the theme to prepend a character to the list of candidates. Default value: '*' Since 2.18 } \item{\verb{invisible-char-set} [logical : Read / Write]}{ Whether the invisible char has been set for the \code{\link{GtkEntry}}. Default value: FALSE Since 2.16 } \item{\verb{max-length} [integer : Read / Write]}{ Maximum number of characters for this entry. Zero if no maximum. Allowed values: [0,65535] Default value: 0 } \item{\verb{overwrite-mode} [logical : Read / Write]}{ If text is overwritten when typing in the \code{\link{GtkEntry}}. Default value: FALSE Since 2.14 } \item{\verb{primary-icon-activatable} [logical : Read / Write]}{ Whether the primary icon is activatable. GTK+ emits the \verb{"icon-press"} and \verb{"icon-release"} signals only on sensitive, activatable icons. Sensitive, but non-activatable icons can be used for purely informational purposes. Default value: FALSE Since 2.16 } \item{\verb{primary-icon-gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The \code{\link{GIcon}} to use for the primary icon for the entry. Since 2.16 } \item{\verb{primary-icon-name} [character : * : Read / Write]}{ The icon name to use for the primary icon for the entry. Default value: NULL Since 2.16 } \item{\verb{primary-icon-pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ A pixbuf to use as the primary icon for the entry. Since 2.16 } \item{\verb{primary-icon-sensitive} [logical : Read / Write]}{ Whether the primary icon is sensitive. An insensitive icon appears grayed out. GTK+ does not emit the \verb{"icon-press"} and \verb{"icon-release"} signals and does not allow DND from insensitive icons. An icon should be set insensitive if the action that would trigger when clicked is currently not available. Default value: TRUE Since 2.16 } \item{\verb{primary-icon-stock} [character : * : Read / Write]}{ The stock id to use for the primary icon for the entry. Default value: NULL Since 2.16 } \item{\verb{primary-icon-storage-type} [\code{\link{GtkImageType}} : Read]}{ The representation which is used for the primary icon of the entry. Default value: GTK_IMAGE_EMPTY Since 2.16 } \item{\verb{primary-icon-tooltip-markup} [character : * : Read / Write]}{ The contents of the tooltip on the primary icon, which is marked up with the Pango text markup language. Also see \code{\link{gtkEntrySetIconTooltipMarkup}}. Default value: NULL Since 2.16 } \item{\verb{primary-icon-tooltip-text} [character : * : Read / Write]}{ The contents of the tooltip on the primary icon. Also see \code{\link{gtkEntrySetIconTooltipText}}. Default value: NULL Since 2.16 } \item{\verb{progress-fraction} [numeric : Read / Write]}{ The current fraction of the task that's been completed. Allowed values: [0,1] Default value: 0 Since 2.16 } \item{\verb{progress-pulse-step} [numeric : Read / Write]}{ The fraction of total entry width to move the progress bouncing block for each call to \code{\link{gtkEntryProgressPulse}}. Allowed values: [0,1] Default value: 0.1 Since 2.16 } \item{\verb{scroll-offset} [integer : Read]}{ Number of pixels of the entry scrolled off the screen to the left. Allowed values: >= 0 Default value: 0 } \item{\verb{secondary-icon-activatable} [logical : Read / Write]}{ Whether the secondary icon is activatable. GTK+ emits the \verb{"icon-press"} and \verb{"icon-release"} signals only on sensitive, activatable icons. Sensitive, but non-activatable icons can be used for purely informational purposes. Default value: FALSE Since 2.16 } \item{\verb{secondary-icon-gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The \code{\link{GIcon}} to use for the secondary icon for the entry. Since 2.16 } \item{\verb{secondary-icon-name} [character : * : Read / Write]}{ The icon name to use for the secondary icon for the entry. Default value: NULL Since 2.16 } \item{\verb{secondary-icon-pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ An pixbuf to use as the secondary icon for the entry. Since 2.16 } \item{\verb{secondary-icon-sensitive} [logical : Read / Write]}{ Whether the secondary icon is sensitive. An insensitive icon appears grayed out. GTK+ does not emit the \verb{"icon-press"} and \verb{"icon-release"} signals and does not allow DND from insensitive icons. An icon should be set insensitive if the action that would trigger when clicked is currently not available. Default value: TRUE Since 2.16 } \item{\verb{secondary-icon-stock} [character : * : Read / Write]}{ The stock id to use for the secondary icon for the entry. Default value: NULL Since 2.16 } \item{\verb{secondary-icon-storage-type} [\code{\link{GtkImageType}} : Read]}{ The representation which is used for the secondary icon of the entry. Default value: GTK_IMAGE_EMPTY Since 2.16 } \item{\verb{secondary-icon-tooltip-markup} [character : * : Read / Write]}{ The contents of the tooltip on the secondary icon, which is marked up with the Pango text markup language. Also see \code{\link{gtkEntrySetIconTooltipMarkup}}. Default value: NULL Since 2.16 } \item{\verb{secondary-icon-tooltip-text} [character : * : Read / Write]}{ The contents of the tooltip on the secondary icon. Also see \code{\link{gtkEntrySetIconTooltipText}}. Default value: NULL Since 2.16 } \item{\verb{selection-bound} [integer : Read]}{ The position of the opposite end of the selection from the cursor in chars. Allowed values: [0,65535] Default value: 0 } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Which kind of shadow to draw around the entry when \verb{"has-frame"} is set to \code{TRUE}. Default value: GTK_SHADOW_IN Since 2.12 } \item{\verb{text} [character : * : Read / Write]}{ The contents of the entry. Default value: "" } \item{\verb{text-length} [numeric : Read]}{ The length of the text in the \code{\link{GtkEntry}}. Allowed values: <= 65535 Default value: 0 Since 2.14 } \item{\verb{truncate-multiline} [logical : Read / Write]}{ When \code{TRUE}, pasted multi-line text is truncated to the first line. Default value: FALSE Since 2.10 } \item{\verb{visibility} [logical : Read / Write]}{ FALSE displays the "invisible char" instead of the actual text (password mode). Default value: TRUE } \item{\verb{width-chars} [integer : Read / Write]}{ Number of characters to leave space for in the entry. Allowed values: >= -1 Default value: -1 } \item{\verb{xalign} [numeric : Read / Write]}{ The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. Allowed values: [0,1] Default value: 0 Since 2.4 } }} \section{Style Properties}{\describe{ \item{\verb{icon-prelight} [logical : Read]}{ The prelight style property determines whether activatable icons prelight on mouseover. Default value: TRUE Since 2.16 } \item{\verb{inner-border} [\code{\link{GtkBorder}} : * : Read]}{ Sets the text area's border between the text and the frame. Since 2.10 } \item{\verb{invisible-char} [numeric : Read]}{ The invisible character is used when masking entry contents (in \\"password mode\\")"). When it is not explicitly set with the \verb{"invisible-char"} property, GTK+ determines the character to use from a list of possible candidates, depending on availability in the current font. This style property allows the theme to prepend a character to the list of candidates. Default value: 0 Since 2.18 } \item{\verb{progress-border} [\code{\link{GtkBorder}} : * : Read]}{ The border around the progress bar in the entry. Since 2.16 } \item{\verb{state-hint} [logical : Read]}{ Indicates whether to pass a proper widget state when drawing the shadow and the widget background. Default value: FALSE Since 2.16 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkEntry.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextView.Rd0000644000176000001440000004070412362217677014544 0ustar ripleyusers\alias{GtkTextView} \alias{GtkTextChildAnchor} \alias{gtkTextView} \alias{gtkTextChildAnchor} \alias{GtkTextWindowType} \name{GtkTextView} \title{GtkTextView} \description{Widget that displays a GtkTextBuffer} \section{Methods and Functions}{ \code{\link{gtkTextViewNew}(show = TRUE)}\cr \code{\link{gtkTextViewNewWithBuffer}(buffer = NULL, show = TRUE)}\cr \code{\link{gtkTextViewSetBuffer}(object, buffer)}\cr \code{\link{gtkTextViewGetBuffer}(object)}\cr \code{\link{gtkTextViewScrollToMark}(object, mark, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)}\cr \code{\link{gtkTextViewScrollToIter}(object, iter, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)}\cr \code{\link{gtkTextViewScrollMarkOnscreen}(object, mark)}\cr \code{\link{gtkTextViewMoveMarkOnscreen}(object, mark)}\cr \code{\link{gtkTextViewPlaceCursorOnscreen}(object)}\cr \code{\link{gtkTextViewGetVisibleRect}(object)}\cr \code{\link{gtkTextViewGetIterLocation}(object, iter)}\cr \code{\link{gtkTextViewGetLineAtY}(object, y)}\cr \code{\link{gtkTextViewGetLineYrange}(object, iter)}\cr \code{\link{gtkTextViewGetIterAtLocation}(object, x, y)}\cr \code{\link{gtkTextViewGetIterAtPosition}(object, x, y)}\cr \code{\link{gtkTextViewBufferToWindowCoords}(object, win, buffer.x, buffer.y)}\cr \code{\link{gtkTextViewWindowToBufferCoords}(object, win, window.x, window.y)}\cr \code{\link{gtkTextViewGetWindow}(object, win)}\cr \code{\link{gtkTextViewGetWindowType}(object, window)}\cr \code{\link{gtkTextViewSetBorderWindowSize}(object, type, size)}\cr \code{\link{gtkTextViewGetBorderWindowSize}(object, type)}\cr \code{\link{gtkTextViewForwardDisplayLine}(object, iter)}\cr \code{\link{gtkTextViewBackwardDisplayLine}(object, iter)}\cr \code{\link{gtkTextViewForwardDisplayLineEnd}(object, iter)}\cr \code{\link{gtkTextViewBackwardDisplayLineStart}(object, iter)}\cr \code{\link{gtkTextViewStartsDisplayLine}(object, iter)}\cr \code{\link{gtkTextViewMoveVisually}(object, iter, count)}\cr \code{\link{gtkTextViewAddChildAtAnchor}(object, child, anchor)}\cr \code{\link{gtkTextChildAnchorNew}()}\cr \code{\link{gtkTextChildAnchorGetWidgets}(object)}\cr \code{\link{gtkTextChildAnchorGetDeleted}(object)}\cr \code{\link{gtkTextViewAddChildInWindow}(object, child, which.window, xpos, ypos)}\cr \code{\link{gtkTextViewMoveChild}(object, child, xpos, ypos)}\cr \code{\link{gtkTextViewSetWrapMode}(object, wrap.mode)}\cr \code{\link{gtkTextViewGetWrapMode}(object)}\cr \code{\link{gtkTextViewSetEditable}(object, setting)}\cr \code{\link{gtkTextViewGetEditable}(object)}\cr \code{\link{gtkTextViewSetCursorVisible}(object, setting)}\cr \code{\link{gtkTextViewGetCursorVisible}(object)}\cr \code{\link{gtkTextViewSetOverwrite}(object, overwrite)}\cr \code{\link{gtkTextViewGetOverwrite}(object)}\cr \code{\link{gtkTextViewSetPixelsAboveLines}(object, pixels.above.lines)}\cr \code{\link{gtkTextViewGetPixelsAboveLines}(object)}\cr \code{\link{gtkTextViewSetPixelsBelowLines}(object, pixels.below.lines)}\cr \code{\link{gtkTextViewGetPixelsBelowLines}(object)}\cr \code{\link{gtkTextViewSetPixelsInsideWrap}(object, pixels.inside.wrap)}\cr \code{\link{gtkTextViewGetPixelsInsideWrap}(object)}\cr \code{\link{gtkTextViewSetJustification}(object, justification)}\cr \code{\link{gtkTextViewGetJustification}(object)}\cr \code{\link{gtkTextViewSetLeftMargin}(object, left.margin)}\cr \code{\link{gtkTextViewGetLeftMargin}(object)}\cr \code{\link{gtkTextViewSetRightMargin}(object, right.margin)}\cr \code{\link{gtkTextViewGetRightMargin}(object)}\cr \code{\link{gtkTextViewSetIndent}(object, indent)}\cr \code{\link{gtkTextViewGetIndent}(object)}\cr \code{\link{gtkTextViewSetTabs}(object, tabs)}\cr \code{\link{gtkTextViewGetTabs}(object)}\cr \code{\link{gtkTextViewSetAcceptsTab}(object, accepts.tab)}\cr \code{\link{gtkTextViewGetAcceptsTab}(object)}\cr \code{\link{gtkTextViewGetDefaultAttributes}(object)}\cr \code{gtkTextView(buffer = NULL, show = TRUE)}\cr\code{gtkTextChildAnchor()} } \section{Hierarchy}{\preformatted{ GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTextView GObject +----GtkTextChildAnchor }} \section{Interfaces}{GtkTextView implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. } \section{Structures}{\describe{ \item{\verb{GtkTextView}}{ \emph{undocumented } } \item{\verb{GtkTextChildAnchor}}{ A \code{GtkTextChildAnchor} is a spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). The anchor can have multiple widgets anchored, to allow for multiple views. } }} \section{Convenient Construction}{ \code{gtkTextView} is the result of collapsing the constructors of \code{GtkTextView} (\code{\link{gtkTextViewNew}}, \code{\link{gtkTextViewNewWithBuffer}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors. \code{gtkTextChildAnchor} is the equivalent of \code{\link{gtkTextChildAnchorNew}}. } \section{Enums and Flags}{\describe{\item{\verb{GtkTextWindowType}}{ \emph{undocumented } \describe{ \item{\verb{private}}{\emph{undocumented }} \item{\verb{widget}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} \item{\verb{left}}{\emph{undocumented }} \item{\verb{right}}{\emph{undocumented }} \item{\verb{top}}{\emph{undocumented }} \item{\verb{bottom}}{\emph{undocumented }} } }}} \section{Signals}{\describe{ \item{\code{backspace(text.view, user.data)}}{ The ::backspace signal is a keybinding signal which gets emitted when the user asks for it. The default bindings for this signal are Backspace and Shift-Backspace. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{copy-clipboard(text.view, user.data)}}{ The ::copy-clipboard signal is a keybinding signal which gets emitted to copy the selection to the clipboard. The default bindings for this signal are Ctrl-c and Ctrl-Insert. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cut-clipboard(text.view, user.data)}}{ The ::cut-clipboard signal is a keybinding signal which gets emitted to cut the selection to the clipboard. The default bindings for this signal are Ctrl-x and Shift-Delete. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{delete-from-cursor(text.view, type, count, user.data)}}{ The ::delete-from-cursor signal is a keybinding signal which gets emitted when the user initiates a text deletion. If the \code{type} is \code{GTK_DELETE_CHARS}, GTK+ deletes the selection if there is one, otherwise it deletes the requested number of characters. The default bindings for this signal are Delete for deleting a character, Ctrl-Delete for deleting a word and Ctrl-Backspace for deleting a word backwords. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{type}}{the granularity of the deletion, as a \code{\link{GtkDeleteType}}} \item{\code{count}}{the number of \code{type} units to delete} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-at-cursor(text.view, string, user.data)}}{ The ::insert-at-cursor signal is a keybinding signal which gets emitted when the user initiates the insertion of a fixed string at the cursor. This signal has no default bindings. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{string}}{the string to insert} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(text.view, step, count, extend.selection, user.data)}}{ The ::move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement. If the cursor is not visible in \code{text.view}, this signal causes the viewport to be moved instead. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control the cursor programmatically. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here. \itemize{ \item \item \item \item \item } \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{step}}{the granularity of the move, as a \code{\link{GtkMovementStep}}} \item{\code{count}}{the number of \code{step} units to move} \item{\code{extend.selection}}{\code{TRUE} if the move should extend the selection} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-viewport(text.view, step, count, user.data)}}{ The ::move-viewport signal is a keybinding signal which can be bound to key combinations to allow the user to move the viewport, i.e. change what part of the text view is visible in a containing scrolled window. There are no default bindings for this signal. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{step}}{the granularity of the move, as a \code{\link{GtkMovementStep}}} \item{\code{count}}{the number of \code{step} units to move} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{page-horizontally(text.view, count, extend.selection, user.data)}}{ The ::page-horizontally signal is a keybinding signal which can be bound to key combinations to allow the user to initiate horizontal cursor movement by pages. This signal should not be used anymore, instead use the \verb{"move-cursor"} signal with the \verb{GTK_MOVEMENT_HORIZONTAL_PAGES} granularity. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{count}}{the number of \code{step} units to move} \item{\code{extend.selection}}{\code{TRUE} if the move should extend the selection} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{paste-clipboard(text.view, user.data)}}{ The ::paste-clipboard signal is a keybinding signal which gets emitted to paste the contents of the clipboard into the text view. The default bindings for this signal are Ctrl-v and Shift-Insert. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{populate-popup(entry, menu, user.data)}}{ The ::populate-popup signal gets emitted before showing the context menu of the text view. If you need to add items to the context menu, connect to this signal and append your menuitems to the \code{menu}. \describe{ \item{\code{entry}}{The text view on which the signal is emitted} \item{\code{menu}}{the menu that is being populated} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{preedit-changed(text.view, preedit, user.data)}}{ If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal. This signal is only emitted if the text at the given position is actually editable. Since 2.20 \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{preedit}}{the current preedit string} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-all(text.view, select, user.data)}}{ The ::select-all signal is a keybinding signal which gets emitted to select or unselect the complete contents of the text view. The default bindings for this signal are Ctrl-a and Ctrl-/ for selecting and Shift-Ctrl-a and Ctrl-\\ for unselecting. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{select}}{\code{TRUE} to select, \code{FALSE} to unselect} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-anchor(text.view, user.data)}}{ The ::set-anchor signal is a keybinding signal which gets emitted when the user initiates setting the "anchor" mark. The "anchor" mark gets placed at the same position as the "insert" mark. This signal has no default bindings. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-scroll-adjustments(horizontal, vertical, user.data)}}{ Set the scroll adjustments for the text view. Usually scrolled containers like \code{\link{GtkScrolledWindow}} will emit this signal to connect two instances of \code{\link{GtkScrollbar}} to the scroll directions of the \code{\link{GtkTextView}}. \describe{ \item{\code{horizontal}}{the horizontal \code{\link{GtkAdjustment}}} \item{\code{vertical}}{the vertical \code{\link{GtkAdjustment}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-cursor-visible(text.view, user.data)}}{ The ::toggle-cursor-visible signal is a keybinding signal which gets emitted to toggle the visibility of the cursor. The default binding for this signal is F7. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-overwrite(text.view, user.data)}}{ The ::toggle-overwrite signal is a keybinding signal which gets emitted to toggle the overwrite mode of the text view. The default bindings for this signal is Insert. \describe{ \item{\code{text.view}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{accepts-tab} [logical : Read / Write]}{ Whether Tab will result in a tab character being entered. Default value: TRUE } \item{\verb{buffer} [\code{\link{GtkTextBuffer}} : * : Read / Write]}{ The buffer which is displayed. } \item{\verb{cursor-visible} [logical : Read / Write]}{ If the insertion cursor is shown. Default value: TRUE } \item{\verb{editable} [logical : Read / Write]}{ Whether the text can be modified by the user. Default value: TRUE } \item{\verb{im-module} [character : * : Read / Write]}{ Which IM (input method) module should be used for this entry. See \code{\link{GtkIMContext}}. Setting this to a non-\code{NULL} value overrides the system-wide IM module setting. See the GtkSettings \verb{"gtk-im-module"} property. Default value: NULL Since 2.16 } \item{\verb{indent} [integer : Read / Write]}{ Amount to indent the paragraph, in pixels. Default value: 0 } \item{\verb{justification} [\code{\link{GtkJustification}} : Read / Write]}{ Left, right, or center justification. Default value: GTK_JUSTIFY_LEFT } \item{\verb{left-margin} [integer : Read / Write]}{ Width of the left margin in pixels. Allowed values: >= 0 Default value: 0 } \item{\verb{overwrite} [logical : Read / Write]}{ Whether entered text overwrites existing contents. Default value: FALSE } \item{\verb{pixels-above-lines} [integer : Read / Write]}{ Pixels of blank space above paragraphs. Allowed values: >= 0 Default value: 0 } \item{\verb{pixels-below-lines} [integer : Read / Write]}{ Pixels of blank space below paragraphs. Allowed values: >= 0 Default value: 0 } \item{\verb{pixels-inside-wrap} [integer : Read / Write]}{ Pixels of blank space between wrapped lines in a paragraph. Allowed values: >= 0 Default value: 0 } \item{\verb{right-margin} [integer : Read / Write]}{ Width of the right margin in pixels. Allowed values: >= 0 Default value: 0 } \item{\verb{tabs} [\code{\link{PangoTabArray}} : * : Read / Write]}{ Custom tabs for this text. } \item{\verb{wrap-mode} [\code{\link{GtkWrapMode}} : Read / Write]}{ Whether to wrap lines never, at word boundaries, or at character boundaries. Default value: GTK_WRAP_NONE } }} \section{Style Properties}{\describe{\item{\verb{error-underline-color} [\code{\link{GdkColor}} : * : Read]}{ Color with which to draw error-indication underlines. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTextView.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTextBuffer}} \code{\link{GtkTextIter}} } \keyword{internal} RGtk2/man/pangoAttrIteratorRange.Rd0000644000176000001440000000142212362217677016737 0ustar ripleyusers\alias{pangoAttrIteratorRange} \name{pangoAttrIteratorRange} \title{pangoAttrIteratorRange} \description{Get the range of the current segment. Note that the stored return values are signed, not unsigned like the values in \code{\link{PangoAttribute}}. To deal with this API oversight, stored return values that wouldn't fit into a signed integer are clamped to \code{G_MAXINT}.} \usage{pangoAttrIteratorRange(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}}} \value{ A list containing the following elements: \item{\verb{start}}{[integer] location to store the start of the range} \item{\verb{end}}{[integer] location to store the end of the range} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcAddClassStyle.Rd0000644000176000001440000000133012362217677016001 0ustar ripleyusers\alias{gtkRcAddClassStyle} \name{gtkRcAddClassStyle} \title{gtkRcAddClassStyle} \description{ Adds a \code{\link{GtkRcStyle}} that will be looked up by a matching against the class hierarchy of the widget. This is equivalent to a: \code{class PATTERN style STYLE} statement in a RC file. \strong{WARNING: \code{gtk_rc_add_class_style} is deprecated and should not be used in newly-written code. Use \code{\link{gtkRcParseString}} with a suitable string instead.} } \usage{gtkRcAddClassStyle(object, pattern)} \arguments{ \item{\verb{object}}{the \code{\link{GtkRcStyle}} to use for widgets deriving from \code{pattern}} \item{\verb{pattern}}{the pattern} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUntilFinish.Rd0000644000176000001440000000202712362217677020500 0ustar ripleyusers\alias{gDataInputStreamReadUntilFinish} \name{gDataInputStreamReadUntilFinish} \title{gDataInputStreamReadUntilFinish} \description{Finish an asynchronous call started by \code{\link{gDataInputStreamReadUntilAsync}}.} \usage{gDataInputStreamReadUntilFinish(object, result, length, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{result}}{the \code{\link{GAsyncResult}} that was provided to the callback.} \item{\verb{length}}{a \verb{numeric} to get the length of the data read in.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.20} \value{ A list containing the following elements: \item{retval}{[char] a string with the data that was read before encountering any of the stop characters. Set \code{length} to a \verb{numeric} to get the length of the string. This function will return \code{NULL} on an error.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterCanInsert.Rd0000644000176000001440000000146312362217677016403 0ustar ripleyusers\alias{gtkTextIterCanInsert} \name{gtkTextIterCanInsert} \title{gtkTextIterCanInsert} \description{Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted at \code{iter} would be editable. If text inserted at \code{iter} would be editable then the user should be allowed to insert text at \code{iter}. \code{\link{gtkTextBufferInsertInteractive}} uses this function to decide whether insertions are allowed at a given position.} \usage{gtkTextIterCanInsert(object, default.editability)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{default.editability}}{\code{TRUE} if text is editable by default} } \value{[logical] whether text inserted at \code{iter} would be editable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetEtag.Rd0000644000176000001440000000065312362217677015421 0ustar ripleyusers\alias{gFileInfoGetEtag} \name{gFileInfoGetEtag} \title{gFileInfoGetEtag} \description{Gets the entity tag for a given \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_ETAG_VALUE}.} \usage{gFileInfoGetEtag(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the value of the "etag:value" attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataSet.Rd0000644000176000001440000000123212362217677016211 0ustar ripleyusers\alias{gtkSelectionDataSet} \name{gtkSelectionDataSet} \title{gtkSelectionDataSet} \description{Stores new data into a \code{\link{GtkSelectionData}} object. Should \emph{only} be called from a selection handler callback. Zero-terminates the stored data.} \usage{gtkSelectionDataSet(object, type = object[["target"]], format = 8, data)} \arguments{ \item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.} \item{\verb{type}}{the type of selection data} \item{\verb{format}}{format (number of bits in a unit)} \item{\verb{data}}{pointer to the data (will be copied)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetModel.Rd0000644000176000001440000000116512362217677017613 0ustar ripleyusers\alias{gtkEntryCompletionSetModel} \name{gtkEntryCompletionSetModel} \title{gtkEntryCompletionSetModel} \description{Sets the model for a \code{\link{GtkEntryCompletion}}. If \code{completion} already has a model set, it will remove it before setting the new model. If model is \code{NULL}, then it will unset the model.} \usage{gtkEntryCompletionSetModel(object, model = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{model}}{The \code{\link{GtkTreeModel}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSeparatorToolItemNew.Rd0000644000176000001440000000056412362217677017114 0ustar ripleyusers\alias{gtkSeparatorToolItemNew} \name{gtkSeparatorToolItemNew} \title{gtkSeparatorToolItemNew} \description{Create a new \code{\link{GtkSeparatorToolItem}}} \usage{gtkSeparatorToolItemNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] the new \code{\link{GtkSeparatorToolItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetChangePaletteWithScreenHook.Rd0000644000176000001440000000145512362217677023667 0ustar ripleyusers\alias{gtkColorSelectionSetChangePaletteWithScreenHook} \name{gtkColorSelectionSetChangePaletteWithScreenHook} \title{gtkColorSelectionSetChangePaletteWithScreenHook} \description{Installs a global function to be called whenever the user tries to modify the palette in a color selection. This function should save the new palette contents, and update the GtkSettings property "gtk-color-palette" so all GtkColorSelection widgets will be modified.} \usage{gtkColorSelectionSetChangePaletteWithScreenHook(func)} \arguments{\item{\verb{func}}{a function to call when the custom palette needs saving.}} \details{Since 2.2} \value{[\code{\link{GtkColorSelectionChangePaletteWithScreenFunc}}] the previous change palette hook (that was replaced).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceGetPath.Rd0000644000176000001440000000074712362217677017513 0ustar ripleyusers\alias{gtkTreeRowReferenceGetPath} \name{gtkTreeRowReferenceGetPath} \title{gtkTreeRowReferenceGetPath} \description{Returns a path that the row reference currently points to, or \code{NULL} if the path pointed to is no longer valid.} \usage{gtkTreeRowReferenceGetPath(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeRowReference}}}} \value{[\code{\link{GtkTreePath}}] A current path, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrIteratorNext.Rd0000644000176000001440000000072012362217677016621 0ustar ripleyusers\alias{pangoAttrIteratorNext} \name{pangoAttrIteratorNext} \title{pangoAttrIteratorNext} \description{Advance the iterator until the next change of style.} \usage{pangoAttrIteratorNext(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}}} \value{[logical] \code{FALSE} if the iterator is at the end of the list, otherwise \code{TRUE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetIsHidden.Rd0000644000176000001440000000072112362217677016240 0ustar ripleyusers\alias{gFileInfoSetIsHidden} \name{gFileInfoSetIsHidden} \title{gFileInfoSetIsHidden} \description{Sets the "is_hidden" attribute in a \code{\link{GFileInfo}} according to \code{is.symlink}. See \code{G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN}.} \usage{gFileInfoSetIsHidden(object, is.hidden)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{is.hidden}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintFlatBox.Rd0000644000176000001440000000171212362217677015354 0ustar ripleyusers\alias{gtkPaintFlatBox} \name{gtkPaintFlatBox} \title{gtkPaintFlatBox} \description{Draws a flat box on \code{window} with the given parameters.} \usage{gtkPaintFlatBox(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the box} \item{\verb{y}}{y origin of the box} \item{\verb{width}}{the width of the box} \item{\verb{height}}{the height of the box} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLineReadonly.Rd0000644000176000001440000000206112362217677017561 0ustar ripleyusers\alias{pangoLayoutGetLineReadonly} \name{pangoLayoutGetLineReadonly} \title{pangoLayoutGetLineReadonly} \description{Retrieves a particular line from a \code{\link{PangoLayout}}.} \usage{pangoLayoutGetLineReadonly(object, line)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{line}}{[integer] the index of a line, which must be between 0 and \code{pango_layout_get_line_count(layout) - 1}, inclusive.} } \details{This is a faster alternative to \code{\link{pangoLayoutGetLine}}, but the user is not expected to modify the contents of the line (glyphs, glyph widths, etc.). Since 1.16} \value{[\code{\link{PangoLayoutLine}}] the requested \code{\link{PangoLayoutLine}}, or \code{NULL} if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the \code{\link{PangoLayout}}. No changes should be made to the line.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkListStore.Rd0000644000176000001440000001511012362217677014706 0ustar ripleyusers\alias{GtkListStore} \alias{gtkListStore} \name{GtkListStore} \title{GtkListStore} \description{A list-like data structure that can be used with the GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkListStoreNew}(...)}\cr \code{\link{gtkListStoreNewv}(value)}\cr \code{\link{gtkListStoreSetColumnTypes}(object, types)}\cr \code{\link{gtkListStoreSet}(object, iter, ...)}\cr \code{\link{gtkListStoreSetValue}(object, iter, column, value)}\cr \code{\link{gtkListStoreSetValuesv}(object, iter, columns, values)}\cr \code{\link{gtkListStoreRemove}(object, iter)}\cr \code{\link{gtkListStoreInsert}(object, position)}\cr \code{\link{gtkListStoreInsertBefore}(object, sibling)}\cr \code{\link{gtkListStoreInsertAfter}(object, sibling)}\cr \code{\link{gtkListStoreInsertWithValues}(object, position, ...)}\cr \code{\link{gtkListStoreInsertWithValuesv}(object, position, columns, values)}\cr \code{\link{gtkListStorePrepend}(object, iter)}\cr \code{\link{gtkListStoreAppend}(object)}\cr \code{\link{gtkListStoreClear}(object)}\cr \code{\link{gtkListStoreIterIsValid}(object, iter)}\cr \code{\link{gtkListStoreReorder}(object, new.order)}\cr \code{\link{gtkListStoreSwap}(object, a, b)}\cr \code{\link{gtkListStoreMoveBefore}(object, iter, position = NULL)}\cr \code{\link{gtkListStoreMoveAfter}(object, iter, position = NULL)}\cr \code{gtkListStore(..., value)} } \section{Hierarchy}{\preformatted{GObject +----GtkListStore}} \section{Interfaces}{GtkListStore implements \code{\link{GtkTreeModel}}, \code{\link{GtkTreeDragSource}}, \code{\link{GtkTreeDragDest}}, \code{\link{GtkTreeSortable}} and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkListStore}} object is a list model for use with a \code{\link{GtkTreeView}} widget. It implements the \code{\link{GtkTreeModel}} interface, and consequentialy, can use all of the methods available there. It also implements the \code{\link{GtkTreeSortable}} interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces. The \code{\link{GtkListStore}} can accept most GObject types as a column type, though it can't accept all custom types. Internally, it will keep a copy of data passed in (such as a string or a boxed pointer). Columns that accept \code{\link{GObject}}s are handled a little differently. The \code{\link{GtkListStore}} will keep a reference to the object instead of copying the value. As a result, if the object is modified, it is up to the application writer to call \code{gtk.tree.model.row.changed} to emit the "row_changed" signal. This most commonly affects lists with \code{\link{GdkPixbuf}}s stored. \emph{Creating a simple list store.} \preformatted{ list_store <- gtk_list_store_new ("character", "integer", "logical") sapply(character_vector, function(string) { ## Add a new row to the model iter <- list_store$append(iter)$iter list_store$set(iter, 0, string, 1, i, 2, FALSE) }) ## Modify a particular row path <- gtkTreePathNewFromString("4") iter <- list_store$getIter(path)$iter list_store$set(iter, 2, TRUE) }} \section{Performance Considerations}{Internally, the \code{\link{GtkListStore}} was implemented with a linked list with a tail pointer prior to GTK+ 2.6. As a result, it was fast at data insertion and deletion, and not fast at random data access. The \code{\link{GtkListStore}} sets the \verb{GTK_TREE_MODEL_ITERS_PERSIST} flag, which means that \code{\link{GtkTreeIter}}s can be cached while the row exists. Thus, if access to a particular row is needed often and your code is expected to run on older versions of GTK+, it is worth keeping the iter around. It is important to note that only the methods \code{\link{gtkListStoreInsertWithValues}} and \code{\link{gtkListStoreInsertWithValuesv}} are atomic, in the sense that the row is being appended to the store and the values filled in in a single operation with regard to \code{\link{GtkTreeModel}} signaling. In contrast, using e.g. \code{\link{gtkListStoreAppend}} and then \code{\link{gtkListStoreSet}} will first create a row, which triggers the \code{\link{gtkTreeModelRowInserted}} signal on \code{\link{GtkListStore}}. The row, however, is still empty, and any signal handler connecting to "row-inserted" on this particular store should be prepared for the situation that the row might be empty. This is especially important if you are wrapping the \code{\link{GtkListStore}} inside a \code{\link{GtkTreeModelFilter}} and are using a \code{\link{GtkTreeModelFilterVisibleFunc}}. Using any of the non-atomic operations to append rows to the \code{\link{GtkListStore}} will cause the \code{\link{GtkTreeModelFilterVisibleFunc}} to be visited with an empty row first; the function must be prepared for that.} \section{GtkListStore as GtkBuildable}{The GtkListStore implementation of the GtkBuildable interface allows to specify the model columns with a element that may contain multiple elements, each specifying one model column. The "type" attribute specifies the data type for the column. Additionally, it is possible to specify content for the list store in the UI definition, with the element. It can contain multiple elements, each specifying to content for one row of the list model. Inside a , the elements specify the content for individual cells. Note that it is probably more common to define your models in the code, and one might consider it a layering violation to specify the content of a list store in a UI definition, \emph{data}, not \emph{presentation}, and common wisdom is to separate the two, as far as possible. \emph{A UI Definition fragment for a list store}\preformatted{ John Doe 25 Johan Dahlin 50 }} \section{Structures}{\describe{\item{\verb{GtkListStore}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkListStore} is the result of collapsing the constructors of \code{GtkListStore} (\code{\link{gtkListStoreNew}}, \code{\link{gtkListStoreNewv}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkListStore.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeModel}} \code{\link{GtkTreeStore}} } \keyword{internal} RGtk2/man/gAppInfoGetDefaultForType.Rd0000644000176000001440000000117612362217677017300 0ustar ripleyusers\alias{gAppInfoGetDefaultForType} \name{gAppInfoGetDefaultForType} \title{gAppInfoGetDefaultForType} \description{Gets the \code{\link{GAppInfo}} that corresponds to a given content type.} \usage{gAppInfoGetDefaultForType(content.type, must.support.uris)} \arguments{ \item{\verb{content.type}}{the content type to find a \code{\link{GAppInfo}} for} \item{\verb{must.support.uris}}{if \code{TRUE}, the \code{\link{GAppInfo}} is expected to support URIs} } \value{[\code{\link{GAppInfo}}] \code{\link{GAppInfo}} for given \code{content.type} or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonSetTitle.Rd0000644000176000001440000000070412362217677020075 0ustar ripleyusers\alias{gtkFileChooserButtonSetTitle} \name{gtkFileChooserButtonSetTitle} \title{gtkFileChooserButtonSetTitle} \description{Modifies the \code{title} of the browse dialog used by \code{button}.} \usage{gtkFileChooserButtonSetTitle(object, title)} \arguments{ \item{\verb{object}}{the button widget to modify.} \item{\verb{title}}{the new browse dialog title.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetPath.Rd0000644000176000001440000000074312362217677016161 0ustar ripleyusers\alias{gtkTreeModelGetPath} \name{gtkTreeModelGetPath} \title{gtkTreeModelGetPath} \description{Returns a newly-created \code{\link{GtkTreePath}} referenced by \code{iter}.} \usage{gtkTreeModelGetPath(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}.} } \value{[\code{\link{GtkTreePath}}] a newly-created \code{\link{GtkTreePath}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonNewWithBackend.Rd0000644000176000001440000000150012362217677021170 0ustar ripleyusers\alias{gtkFileChooserButtonNewWithBackend} \name{gtkFileChooserButtonNewWithBackend} \title{gtkFileChooserButtonNewWithBackend} \description{ Creates a new file-selecting button widget using \code{backend}. \strong{WARNING: \code{gtk_file_chooser_button_new_with_backend} has been deprecated since version 2.14 and should not be used in newly-written code. Use \code{\link{gtkFileChooserButtonNew}} instead.} } \usage{gtkFileChooserButtonNewWithBackend(title, action, backend, show = TRUE)} \arguments{ \item{\verb{title}}{the title of the browse dialog.} \item{\verb{action}}{the open mode for the widget.} \item{\verb{backend}}{the name of the \verb{GtkFileSystem} backend to use.} } \details{Since 2.6} \value{[\code{\link{GtkWidget}}] a new button widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadInt64.Rd0000644000176000001440000000220512362217677017146 0ustar ripleyusers\alias{gDataInputStreamReadInt64} \name{gDataInputStreamReadInt64} \title{gDataInputStreamReadInt64} \description{Reads a 64-bit/8-byte value from \code{stream}.} \usage{gDataInputStreamReadInt64(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()} and \code{gDataStreamSetByteOrder()}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[numeric] a signed 64-bit/8-byte value read from \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetRowData.Rd0000644000176000001440000000101212362217677015752 0ustar ripleyusers\alias{gtkCListGetRowData} \name{gtkCListGetRowData} \title{gtkCListGetRowData} \description{ Gets the currently set data for the specified row. \strong{WARNING: \code{gtk_clist_get_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetRowData(object, row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to query.} } \value{[R object] The data set for the row.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsInstallPropertyParser.Rd0000644000176000001440000000057712362217677021102 0ustar ripleyusers\alias{gtkSettingsInstallPropertyParser} \name{gtkSettingsInstallPropertyParser} \title{gtkSettingsInstallPropertyParser} \description{\emph{undocumented }} \usage{gtkSettingsInstallPropertyParser(pspec, parser)} \arguments{ \item{\verb{pspec}}{\emph{undocumented }} \item{\verb{parser}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetWindowType.Rd0000644000176000001440000000060712362217677016744 0ustar ripleyusers\alias{gdkWindowGetWindowType} \name{gdkWindowGetWindowType} \title{gdkWindowGetWindowType} \description{Gets the type of the window. See \code{\link{GdkWindowType}}.} \usage{gdkWindowGetWindowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkWindowType}}] type of window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugConstruct.Rd0000644000176000001440000000101012362217677015624 0ustar ripleyusers\alias{gtkPlugConstruct} \name{gtkPlugConstruct} \title{gtkPlugConstruct} \description{Finish the initialization of \code{plug} for a given \code{\link{GtkSocket}} identified by \code{socket.id}. This function will generally only be used by classes deriving from \code{\link{GtkPlug}}.} \usage{gtkPlugConstruct(object, socket.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPlug}}.} \item{\verb{socket.id}}{the XID of the socket's window.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetMarkup.Rd0000644000176000001440000000107712362217677016313 0ustar ripleyusers\alias{gtkTooltipSetMarkup} \name{gtkTooltipSetMarkup} \title{gtkTooltipSetMarkup} \description{Sets the text of the tooltip to be \code{markup}, which is marked up with the Pango text markup language. If \code{markup} is \code{NULL}, the label will be hidden.} \usage{gtkTooltipSetMarkup(object, markup)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{markup}}{a markup string (see Pango markup format) or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTooltips.Rd0000644000176000001440000001112012362217677014570 0ustar ripleyusers\alias{GtkTooltips} \alias{GtkTooltipsData} \alias{gtkTooltips} \name{GtkTooltips} \title{GtkTooltips} \description{Add tips to your widgets} \section{Methods and Functions}{ \code{\link{gtkTooltipsNew}()}\cr \code{\link{gtkTooltipsEnable}(object)}\cr \code{\link{gtkTooltipsDisable}(object)}\cr \code{\link{gtkTooltipsSetDelay}(object, delay)}\cr \code{\link{gtkTooltipsSetTip}(object, widget, tip.text = NULL, tip.private = NULL)}\cr \code{\link{gtkTooltipsDataGet}(widget)}\cr \code{\link{gtkTooltipsForceWindow}(object)}\cr \code{\link{gtkTooltipsGetInfoFromTipWindow}(object)}\cr \code{\link{gtkTooltipsGetInfoFromTipWindow}(object)}\cr \code{gtkTooltips()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkTooltips}} \section{Detailed Description}{\code{\link{GtkTooltips}} has been deprecated in GTK+ 2.12, in favor of the new \code{\link{GtkTooltip}} API. Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are especially helpful for adding more verbose descriptions of things such as buttons in a toolbar. An individual tooltip belongs to a group of tooltips. A group is created with a call to \code{\link{gtkTooltipsNew}}. Every tooltip in the group can then be turned off with a call to \code{\link{gtkTooltipsDisable}} and enabled with \code{\link{gtkTooltipsEnable}}. The length of time the user must keep the mouse over a widget before the tip is shown, can be altered with \code{\link{gtkTooltipsSetDelay}}. This is set on a 'per group of tooltips' basis. To assign a tip to a particular \code{\link{GtkWidget}}, \code{\link{gtkTooltipsSetTip}} is used. \strong{PLEASE NOTE:} Tooltips can only be set on widgets which have their own X window and receive enter and leave events. To check if a widget has its own window use \code{gtkWidgetNoWindow()}. To add a tooltip to a widget that doesn't have its own window, place the widget inside a \code{\link{GtkEventBox}} and add a tooltip to that instead. The default appearance of all tooltips in a program is determined by the current GTK+ theme that the user has selected. Information about the tooltip (if any) associated with an arbitrary widget can be retrieved using \code{\link{gtkTooltipsDataGet}}. \emph{Adding tooltips to buttons.} \preformatted{ ## Let's add some tooltips to some buttons button_bar_tips <- gtkTooltips() ## Create the buttons and pack them into a GtkHBox hbox <- gtkHBox(TRUE, 2) load_button <- gtkButton("Load a file") hbox$packStart(load_button, TRUE, TRUE, 2) save_button <- gtkButton("Save a file") hbox$packStart(save_button, TRUE, TRUE, 2) ## Add the tips button_bar_tips$setTip(load_button, "Load a new document into this window", paste("Requests the filename of a document.", "This will then be loaded into the current", "window, replacing the contents of whatever", "is already loaded.")) button_bar_tips$setTip(save_button, "Saves the current document to a file", paste("If you have saved the document previously,", "then the new version will be saved over the", "old one. Otherwise, you will be prompted for", "a filename.")) }} \section{Structures}{\describe{ \item{\verb{GtkTooltips}}{ \strong{WARNING: \code{GtkTooltips} is deprecated and should not be used in newly-written code.} Holds information about a group of tooltips. Fields should be changed using the functions provided, rather than directly accessing the struct's members. } \item{\verb{GtkTooltipsData}}{ \strong{WARNING: \code{GtkTooltipsData} has been deprecated since version 2.12 and should not be used in newly-written code. } \code{tooltips} is the \code{\link{GtkTooltips}} group that this tooltip belongs to. \code{widget} is the \code{\link{GtkWidget}} that this tooltip data is associated with. \code{tip_text} is a string containing the tooltip message itself. \code{tip_private} is a string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application. (FIXME: how to actually "switch on" private tips?) } }} \section{Convenient Construction}{\code{gtkTooltips} is the equivalent of \code{\link{gtkTooltipsNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkTooltips.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutGetHadjustment.Rd0000644000176000001440000000132612362217677017146 0ustar ripleyusers\alias{gtkLayoutGetHadjustment} \name{gtkLayoutGetHadjustment} \title{gtkLayoutGetHadjustment} \description{This function should only be called after the layout has been placed in a \code{\link{GtkScrolledWindow}} or otherwise configured for scrolling. It returns the \code{\link{GtkAdjustment}} used for communication between the horizontal scrollbar and \code{layout}.} \usage{gtkLayoutGetHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \details{See \code{\link{GtkScrolledWindow}}, \code{\link{GtkScrollbar}}, \code{\link{GtkAdjustment}} for details.} \value{[\code{\link{GtkAdjustment}}] horizontal scroll adjustment} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertBinWindowToTreeCoords.Rd0000644000176000001440000000135512362217677022235 0ustar ripleyusers\alias{gtkTreeViewConvertBinWindowToTreeCoords} \name{gtkTreeViewConvertBinWindowToTreeCoords} \title{gtkTreeViewConvertBinWindowToTreeCoords} \description{Converts bin_window coordinates to coordinates for the tree (the full scrollable area of the tree).} \usage{gtkTreeViewConvertBinWindowToTreeCoords(object, bx, by)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{bx}}{X coordinate relative to bin_window} \item{\verb{by}}{Y coordinate relative to bin_window} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{tx}}{return location for tree X coordinate} \item{\verb{ty}}{return location for tree Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetText.Rd0000644000176000001440000000067412362217677016601 0ustar ripleyusers\alias{gtkProgressBarSetText} \name{gtkProgressBarSetText} \title{gtkProgressBarSetText} \description{Causes the given \code{text} to appear superimposed on the progress bar.} \usage{gtkProgressBarSetText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}} \item{\verb{text}}{a UTF-8 string, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetPixelExtents.Rd0000644000176000001440000000215612362217677017635 0ustar ripleyusers\alias{pangoLayoutGetPixelExtents} \name{pangoLayoutGetPixelExtents} \title{pangoLayoutGetPixelExtents} \description{Computes the logical and ink extents of \code{layout} in device units. This function just calls \code{\link{pangoLayoutGetExtents}} followed by two \code{\link{pangoExtentsToPixels}} calls, rounding \code{ink.rect} and \code{logical.rect} such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to \code{\link{pangoExtentsToPixels}}).} \usage{pangoLayoutGetPixelExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the layout as drawn or \code{NULL} to indicate that the result is not needed.} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the layout or \code{NULL} to indicate that the result is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorAdoptOrphanMount.Rd0000644000176000001440000000473112362217677020470 0ustar ripleyusers\alias{gVolumeMonitorAdoptOrphanMount} \name{gVolumeMonitorAdoptOrphanMount} \title{gVolumeMonitorAdoptOrphanMount} \description{ This function should be called by any \code{\link{GVolumeMonitor}} implementation when a new \code{\link{GMount}} object is created that is not associated with a \code{\link{GVolume}} object. It must be called just before emitting the \code{mount.added} signal. \strong{WARNING: \code{g_volume_monitor_adopt_orphan_mount} has been deprecated since version 2.20 and should not be used in newly-written code. Instead of using this function, \code{\link{GVolumeMonitor}} implementations should instead create shadow mounts with the URI of the mount they intend to adopt. See the proxy volume monitor in gvfs for an example of this. Also see \code{\link{gMountIsShadowed}}, \code{\link{gMountShadow}} and \code{\link{gMountUnshadow}} functions.} } \usage{gVolumeMonitorAdoptOrphanMount(mount)} \arguments{\item{\verb{mount}}{a \code{\link{GMount}} object to find a parent for}} \details{If the return value is not \code{NULL}, the caller must associate the returned \code{\link{GVolume}} object with the \code{\link{GMount}}. This involves returning it in its \code{\link{gMountGetVolume}} implementation. The caller must also listen for the "removed" signal on the returned object and give up its reference when handling that signal Similary, if implementing \code{\link{gVolumeMonitorAdoptOrphanMount}}, the implementor must take a reference to \code{mount} and return it in its \code{\link{gVolumeGetMount}} implemented. Also, the implementor must listen for the "unmounted" signal on \code{mount} and give up its reference upon handling that signal. There are two main use cases for this function. One is when implementing a user space file system driver that reads blocks of a block device that is already represented by the native volume monitor (for example a CD Audio file system driver). Such a driver will generate its own \code{\link{GMount}} object that needs to be assoicated with the \code{\link{GVolume}} object that represents the volume. The other is for implementing a \code{\link{GVolumeMonitor}} whose sole purpose is to return \code{\link{GVolume}} objects representing entries in the users "favorite servers" list or similar.} \value{[\code{\link{GVolume}}] the \code{\link{GVolume}} object that is the parent for \code{mount} or \code{NULL} if no wants to adopt the \code{\link{GMount}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetCollapsed.Rd0000644000176000001440000000071112362217677020057 0ustar ripleyusers\alias{gtkToolItemGroupGetCollapsed} \name{gtkToolItemGroupGetCollapsed} \title{gtkToolItemGroupGetCollapsed} \description{Gets whether \code{group} is collapsed or expanded.} \usage{gtkToolItemGroupGetCollapsed(object)} \arguments{\item{\verb{object}}{a GtkToolItemGroup}} \details{Since 2.20} \value{[logical] \code{TRUE} if \code{group} is collapsed, \code{FALSE} if it is expanded} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPathExtents.Rd0000644000176000001440000000321112362217677015574 0ustar ripleyusers\alias{cairoPathExtents} \name{cairoPathExtents} \title{cairoPathExtents} \description{Computes a bounding box in user-space coordinates covering the points on the current path. If the current path is empty, returns an empty rectangle ((0,0), (0,0)). Stroke parameters, fill rule, surface dimensions and clipping are not taken into account.} \usage{cairoPathExtents(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Contrast with \code{\link{cairoFillExtents}} and \code{\link{cairoStrokeExtents}} which return the extents of only the area that would be "inked" by the corresponding drawing operations. The result of \code{\link{cairoPathExtents}} is defined as equivalent to the limit of \code{\link{cairoStrokeExtents}} with \code{CAIRO_LINE_CAP_ROUND} as the line width approaches 0.0, (but never reaching the empty-rectangle returned by \code{\link{cairoStrokeExtents}} for a line width of 0.0). Specifically, this means that zero-area sub-paths such as \code{\link{cairoMoveTo}};\code{\link{cairoLineTo}} segments, (even degenerate cases where the coordinates to both calls are identical), will be considered as contributing to the extents. However, a lone \code{\link{cairoMoveTo}} will not contribute to the results of \code{\link{cairoPathExtents}}. Since 1.6} \value{ A list containing the following elements: \item{\verb{x1}}{[numeric] left of the resulting extents} \item{\verb{y1}}{[numeric] top of the resulting extents} \item{\verb{x2}}{[numeric] right of the resulting extents} \item{\verb{y2}}{[numeric] bottom of the resulting extents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetSelectionBounds.Rd0000644000176000001440000000123212362217677017516 0ustar ripleyusers\alias{gtkLabelGetSelectionBounds} \name{gtkLabelGetSelectionBounds} \title{gtkLabelGetSelectionBounds} \description{Gets the selected range of characters in the label, returning \code{TRUE} if there's a selection.} \usage{gtkLabelGetSelectionBounds(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if selection is non-empty} \item{\verb{start}}{return location for start of selection, as a character offset} \item{\verb{end}}{return location for end of selection, as a character offset} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIOStreamQueryInfoAsync.Rd0000644000176000001440000000207112362217677017604 0ustar ripleyusers\alias{gFileIOStreamQueryInfoAsync} \name{gFileIOStreamQueryInfoAsync} \title{gFileIOStreamQueryInfoAsync} \description{Asynchronously queries the \code{stream} for a \code{\link{GFileInfo}}. When completed, \code{callback} will be called with a \code{\link{GAsyncResult}} which can be used to finish the operation with \code{\link{gFileIOStreamQueryInfoFinish}}.} \usage{gFileIOStreamQueryInfoAsync(object, attributes, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFileIOStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For the synchronous version of this function, see \code{\link{gFileIOStreamQueryInfo}}. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewItemActivated.Rd0000644000176000001440000000065212362217677017212 0ustar ripleyusers\alias{gtkIconViewItemActivated} \name{gtkIconViewItemActivated} \title{gtkIconViewItemActivated} \description{Activates the item determined by \code{path}.} \usage{gtkIconViewItemActivated(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be activated} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintVline.Rd0000644000176000001440000000165012362217677015073 0ustar ripleyusers\alias{gtkPaintVline} \name{gtkPaintVline} \title{gtkPaintVline} \description{Draws a vertical line from (\code{x}, \code{y1.}) to (\code{x}, \code{y2.}) in \code{window} using the given style and state.} \usage{gtkPaintVline(object, window, state.type, area = NULL, widget = NULL, detail = NULL, y1, y2, x)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{rectangle to which the output is clipped, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{y1}}{the starting y coordinate} \item{\verb{y2}}{the ending y coordinate} \item{\verb{x}}{the x coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSetIconPixbuf.Rd0000644000176000001440000000106212362217677017520 0ustar ripleyusers\alias{gtkDragSourceSetIconPixbuf} \name{gtkDragSourceSetIconPixbuf} \title{gtkDragSourceSetIconPixbuf} \description{Sets the icon that will be used for drags from a particular widget from a \code{\link{GdkPixbuf}}. GTK+ retains a reference for \code{pixbuf} and will release it when it is no longer needed.} \usage{gtkDragSourceSetIconPixbuf(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{pixbuf}}{the \code{\link{GdkPixbuf}} for the drag icon} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionInsertPrefix.Rd0000644000176000001440000000055612362217677020524 0ustar ripleyusers\alias{gtkEntryCompletionInsertPrefix} \name{gtkEntryCompletionInsertPrefix} \title{gtkEntryCompletionInsertPrefix} \description{Requests a prefix insertion.} \usage{gtkEntryCompletionInsertPrefix(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParseColorFull.Rd0000644000176000001440000000144712362217677016207 0ustar ripleyusers\alias{gtkRcParseColorFull} \name{gtkRcParseColorFull} \title{gtkRcParseColorFull} \description{Parses a color in the format expected in a RC file. If \code{style} is not \code{NULL}, it will be consulted to resolve references to symbolic colors.} \usage{gtkRcParseColorFull(scanner, style)} \arguments{ \item{\verb{scanner}}{a \verb{GScanner}} \item{\verb{style}}{a \code{\link{GtkRcStyle}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[numeric] \code{G_TOKEN_NONE} if parsing succeeded, otherwise the token that was expected but not found} \item{\verb{color}}{a pointer to a \code{\link{GdkColor}} structure in which to store the result} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowFullscreen.Rd0000644000176000001440000000160012362217677016267 0ustar ripleyusers\alias{gdkWindowFullscreen} \name{gdkWindowFullscreen} \title{gdkWindowFullscreen} \description{Moves the window into fullscreen mode. This means the window covers the entire screen and is above any panels or task bars.} \usage{gdkWindowFullscreen(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{If the window was already fullscreen, then this function does nothing. On X11, asks the window manager to put \code{window} in a fullscreen state, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "fullscreen"; so you can't rely on the fullscreenification actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderAddFromString.Rd0000644000176000001440000000203012362217677017025 0ustar ripleyusers\alias{gtkBuilderAddFromString} \name{gtkBuilderAddFromString} \title{gtkBuilderAddFromString} \description{Parses a string containing a GtkBuilder UI definition and merges it with the current contents of \code{builder}. } \usage{gtkBuilderAddFromString(object, buffer, length, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{buffer}}{the string to parse} \item{\verb{length}}{the length of \code{buffer} (may be -1 if \code{buffer} is nul-terminated)} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon errors 0 will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR} or \verb{G_MARKUP_ERROR} domain. Since 2.12} \value{ A list containing the following elements: \item{retval}{[numeric] A positive value on success, 0 if an error occurred} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/undocumented.Rd0000644000176000001440000000044511766145227015005 0ustar ripleyusers\alias{AtkState} \alias{AtkRectangle} \alias{GtkNotebookTab} \alias{GtkContainerClass} \alias{GtkTableRowCol} \alias{GtkFixedChild} \name{undocumented} \title{Undocumented Types} \description{This type is not documented by the upstream libraries} \author{Michael Lawrence} \keyword{internal} RGtk2/man/GMainLoop.Rd0000644000176000001440000000275711766145227014150 0ustar ripleyusers\name{GMainLoop} \alias{GMainLoop} \alias{gTimeoutAdd} \alias{gIdleAdd} \alias{gSourceRemove} \alias{print.CallbackID} \title{The GLib Main Loop} \description{ GLib provides an event-loop to all GLib-based libraries and applications. RGtk2 is one such library. } \usage{ gTimeoutAdd(interval, f, data = NULL) gIdleAdd(f, data = NULL) gSourceRemove(id) } \arguments{ \item{interval}{The time interval which determines the frequency of the handler call} \item{f}{An R function that is called by the loop} \item{data}{Any R object that is passed to the R function as the last parameter} \item{id}{The source id obtained when adding a handler} } \value{ \code{gIdleAdd} and \code{gTimeoutAdd} both return a source id that may be used to remove the handler later. } \details{ The RGtk2 user has limited control over the event loop, but it still possible to register handlers as either timeout or idle tasks. A handler may be any R function, though it must return \code{TRUE} as long as it wants to stay connected to the loop. Timeout tasks are performed once per some specified interval of time. Use \code{gTimeoutAdd} to register such a handler. When the event loop is idle (not busy) it will execute the idle handlers, which may be registered with \code{gIdleAdd}. If one needs to externally remove a handler from the loop, \code{gSourceRemove} will serve this purpose. } \author{Michael Lawrence} \references{\url{http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html}} \keyword{interface} RGtk2/man/gtkNotebookRemovePage.Rd0000644000176000001440000000071612362217677016557 0ustar ripleyusers\alias{gtkNotebookRemovePage} \name{gtkNotebookRemovePage} \title{gtkNotebookRemovePage} \description{Removes a page from the notebook given its index in the notebook.} \usage{gtkNotebookRemovePage(object, page.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}.} \item{\verb{page.num}}{the index of a notebook page, starting from 0. If -1, the last page will be removed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetDash.Rd0000644000176000001440000000122212362217677014644 0ustar ripleyusers\alias{cairoGetDash} \name{cairoGetDash} \title{cairoGetDash} \description{Gets the current dash list. If not \code{NULL}, \code{dashes} should be big enough to hold at least the number of values returned by \code{\link{cairoGetDashCount}}.} \usage{cairoGetDash(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{\verb{dashes}}{[numeric] return value for the dash list, or \code{NULL}} \item{\verb{offset}}{[numeric] return value for the current dash offset, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetLeftMargin.Rd0000644000176000001440000000070212362217677017325 0ustar ripleyusers\alias{gtkPageSetupGetLeftMargin} \name{gtkPageSetupGetLeftMargin} \title{gtkPageSetupGetLeftMargin} \description{Gets the left margin in units of \code{unit}.} \usage{gtkPageSetupGetLeftMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the left margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetState.Rd0000644000176000001440000000101712362217677015717 0ustar ripleyusers\alias{gtkWidgetSetState} \name{gtkWidgetSetState} \title{gtkWidgetSetState} \description{This function is for use in widget implementations. Sets the state of a widget (insensitive, prelighted, etc.) Usually you should set the state using wrapper functions such as \code{\link{gtkWidgetSetSensitive}}.} \usage{gtkWidgetSetState(object, state)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{state}}{new state for \code{widget}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableSetData.Rd0000644000176000001440000000111212362217677015762 0ustar ripleyusers\alias{gdkDrawableSetData} \name{gdkDrawableSetData} \title{gdkDrawableSetData} \description{ This function is equivalent to \code{\link{gObjectSetData}}, the \code{\link{GObject}} variant should be used instead. \strong{WARNING: \code{gdk_drawable_set_data} is deprecated and should not be used in newly-written code.} } \usage{gdkDrawableSetData(object, key, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{key}}{name to store the data under} \item{\verb{data}}{arbitrary data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkInputDialog.Rd0000644000176000001440000000533312362217677015203 0ustar ripleyusers\alias{GtkInputDialog} \alias{gtkInputDialog} \name{GtkInputDialog} \title{GtkInputDialog} \description{Configure devices for the XInput extension} \section{Methods and Functions}{ \code{\link{gtkInputDialogNew}(show = TRUE)}\cr \code{gtkInputDialog(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkInputDialog}} \section{Interfaces}{GtkInputDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkInputDialog}} displays a dialog which allows the user to configure XInput extension devices. For each device, they can control the mode of the device (disabled, screen-relative, or window-relative), the mapping of axes to coordinates, and the mapping of the devices function keys to key press events. \code{\link{GtkInputDialog}} contains two buttons to which the application can connect; one for closing the dialog, and one for saving the changes. No actions are bound to these by default. The changes that the user makes take effect immediately. As of GTK+ 2.20, \code{\link{GtkInputDialog}} has been deprecated since it is too specialized.} \section{Structures}{\describe{\item{\verb{GtkInputDialog}}{ \strong{WARNING: \code{GtkInputDialog} is deprecated and should not be used in newly-written code.} \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkInputDialog} is the equivalent of \code{\link{gtkInputDialogNew}}.} \section{Signals}{\describe{ \item{\code{disable-device(inputdialog, deviceid, user.data)}}{ This signal is emitted when the user changes the mode of a device from a \verb{GDK_MODE_SCREEN} or \verb{GDK_MODE_WINDOW} to \verb{GDK_MODE_ENABLED}. \describe{ \item{\code{inputdialog}}{the object which received the signal.} \item{\code{deviceid}}{The ID of the newly disabled device.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{enable-device(inputdialog, deviceid, user.data)}}{ This signal is emitted when the user changes the mode of a device from \verb{GDK_MODE_DISABLED} to a \verb{GDK_MODE_SCREEN} or \verb{GDK_MODE_WINDOW}. \describe{ \item{\code{inputdialog}}{the object which received the signal.} \item{\code{deviceid}}{The ID of the newly enabled device.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkInputDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescribe.Rd0000644000176000001440000000104612362217677015707 0ustar ripleyusers\alias{pangoFontDescribe} \name{pangoFontDescribe} \title{pangoFontDescribe} \description{Returns a description of the font, with font size set in points. Use \code{\link{pangoFontDescribeWithAbsoluteSize}} if you want the font size in device units.} \usage{pangoFontDescribe(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}}} \value{[\code{\link{PangoFontDescription}}] a newly-allocated \code{\link{PangoFontDescription}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetCollate.Rd0000644000176000001440000000066512362217677017624 0ustar ripleyusers\alias{gtkPrintSettingsSetCollate} \name{gtkPrintSettingsSetCollate} \title{gtkPrintSettingsSetCollate} \description{Sets the value of \code{GTK_PRINT_SETTINGS_COLLATE}.} \usage{gtkPrintSettingsSetCollate(object, collate)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{collate}}{whether to collate the output} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetHeight.Rd0000644000176000001440000000073712362217677016522 0ustar ripleyusers\alias{gtkPaperSizeGetHeight} \name{gtkPaperSizeGetHeight} \title{gtkPaperSizeGetHeight} \description{Gets the paper height of the \code{\link{GtkPaperSize}}, in units of \code{unit}.} \usage{gtkPaperSizeGetHeight(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the paper height} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkQuitAddDestroy.Rd0000644000176000001440000000067712362217677015737 0ustar ripleyusers\alias{gtkQuitAddDestroy} \name{gtkQuitAddDestroy} \title{gtkQuitAddDestroy} \description{Trigger destruction of \code{object} in case the mainloop at level \code{main.level} is quit.} \usage{gtkQuitAddDestroy(main.level, object)} \arguments{ \item{\verb{main.level}}{Level of the mainloop which shall trigger the destruction.} \item{\verb{object}}{Object to be destroyed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerNewMergeId.Rd0000644000176000001440000000064512362217677016544 0ustar ripleyusers\alias{gtkUIManagerNewMergeId} \name{gtkUIManagerNewMergeId} \title{gtkUIManagerNewMergeId} \description{Returns an unused merge id, suitable for use with \code{\link{gtkUIManagerAddUi}}.} \usage{gtkUIManagerNewMergeId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}}}} \details{Since 2.4} \value{[numeric] an unused merge id.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetPaperSize.Rd0000644000176000001440000000077712362217677017227 0ustar ripleyusers\alias{gtkPageSetupSetPaperSize} \name{gtkPageSetupSetPaperSize} \title{gtkPageSetupSetPaperSize} \description{Sets the paper size of the \code{\link{GtkPageSetup}} without changing the margins. See \code{\link{gtkPageSetupSetPaperSizeAndDefaultMargins}}.} \usage{gtkPageSetupSetPaperSize(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{size}}{a \code{\link{GtkPaperSize}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketControlMessageGetSize.Rd0000644000176000001440000000072512362217677020056 0ustar ripleyusers\alias{gSocketControlMessageGetSize} \name{gSocketControlMessageGetSize} \title{gSocketControlMessageGetSize} \description{Returns the space required for the control message, not including headers or alignment.} \usage{gSocketControlMessageGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketControlMessage}}}} \details{Since 2.22} \value{[numeric] The number of bytes required.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultGetOpResGpointer.Rd0000644000176000001440000000067412362217677021237 0ustar ripleyusers\alias{gSimpleAsyncResultGetOpResGpointer} \name{gSimpleAsyncResultGetOpResGpointer} \title{gSimpleAsyncResultGetOpResGpointer} \description{Gets a pointer result as returned by the asynchronous function.} \usage{gSimpleAsyncResultGetOpResGpointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \value{[R object] a pointer from the result.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCombo.Rd0000644000176000001440000001051612362217677014022 0ustar ripleyusers\alias{GtkCombo} \alias{gtkCombo} \name{GtkCombo} \title{GtkCombo} \description{A text entry field with a dropdown list} \section{Methods and Functions}{ \code{\link{gtkComboNew}(show = TRUE)}\cr \code{\link{gtkComboSetPopdownStrings}(object, strings)}\cr \code{\link{gtkComboSetValueInList}(object, val, ok.if.empty)}\cr \code{\link{gtkComboSetUseArrows}(object, val)}\cr \code{\link{gtkComboSetUseArrowsAlways}(object, val)}\cr \code{\link{gtkComboSetCaseSensitive}(object, val)}\cr \code{\link{gtkComboSetItemString}(object, item, item.value)}\cr \code{\link{gtkComboDisableActivate}(object)}\cr \code{gtkCombo(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkCombo}} \section{Interfaces}{GtkCombo implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkCombo}} widget consists of a single-line text entry field and a drop-down list. The drop-down list is displayed when the user clicks on a small arrow button to the right of the entry field. The drop-down list is a \code{\link{GtkList}} widget and can be accessed using the \code{list} member of the \code{\link{GtkCombo}}. List elements can contain arbitrary widgets, but if an element is not a plain label, then you must use the \code{gtkListSetItemString()} function. This sets the string which will be placed in the text entry field when the item is selected. By default, the user can step through the items in the list using the arrow (cursor) keys, though this behaviour can be turned off with \code{\link{gtkComboSetUseArrows}}. As of GTK+ 2.4, \code{\link{GtkCombo}} has been deprecated in favor of \code{\link{GtkComboBoxEntry}}. \emph{Creating a \code{GtkCombo} widget with simple text items.} \preformatted{ ###### # Creating a combobox with simple text items ###### items <- c("First Item", "Second Item", "Third Item", "Fourth Item", "Fifth Item") combo <- gtkCombo() combo$setPopdownStrings(items) } \emph{Creating a \code{GtkCombo} widget with a complex item.} \preformatted{ ###### # Creating a combobox with a complex item ###### combo <- gtkCombo() item <- gtkListItem() ## You can put almost anything into the GtkListItem widget. Here we will use ## a horizontal box with an arrow and a label in it. hbox <- gtkHbox(FALSE, 3) item$add(hbox) arrow <- gtkArrow("right", "out") hbox$packStart(arrow, FALSE, FALSE, 0) label <- gtkLabel("First Item") hbox$packStart(label, FALSE, FALSE, 0) ## You must set the string to display in the entry field when the item is ## selected. combo$setItemString(item, "1st Item") ## Now we simply add the item to the combo's list. combo[["list"]]$add(item) }} \section{Structures}{\describe{\item{\verb{GtkCombo}}{ \strong{WARNING: \code{GtkCombo} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} The \code{\link{GtkCombo}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \describe{ \item{\verb{entry}}{[\code{\link{GtkWidget}}] the text entry field.} \item{\verb{list}}{[\code{\link{GtkWidget}}] the list shown in the drop-down window.} } }}} \section{Convenient Construction}{\code{gtkCombo} is the equivalent of \code{\link{gtkComboNew}}.} \section{Properties}{\describe{ \item{\verb{allow-empty} [logical : Read / Write]}{ Whether an empty value may be entered in this field. Default value: TRUE } \item{\verb{case-sensitive} [logical : Read / Write]}{ Whether list item matching is case sensitive. Default value: FALSE } \item{\verb{enable-arrow-keys} [logical : Read / Write]}{ Whether the arrow keys move through the list of items. Default value: TRUE } \item{\verb{enable-arrows-always} [logical : Read / Write]}{ Obsolete property, ignored. Default value: TRUE } \item{\verb{value-in-list} [logical : Read / Write]}{ Whether entered values must already be present in the list. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCombo.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeByteString.Rd0000644000176000001440000000077212362217677020535 0ustar ripleyusers\alias{gFileInfoSetAttributeByteString} \name{gFileInfoSetAttributeByteString} \title{gFileInfoSetAttributeByteString} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeByteString(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a byte string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetIconFromGicon.Rd0000644000176000001440000000131412362217677017542 0ustar ripleyusers\alias{gtkTooltipSetIconFromGicon} \name{gtkTooltipSetIconFromGicon} \title{gtkTooltipSetIconFromGicon} \description{Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by \code{gicon} with the size indicated by \code{size}. If \code{gicon} is \code{NULL}, the image will be hidden.} \usage{gtkTooltipSetIconFromGicon(object, gicon, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{gicon}}{a \code{\link{GIcon}} representing the icon, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonSetIcons.Rd0000644000176000001440000000067612362217677016724 0ustar ripleyusers\alias{gtkScaleButtonSetIcons} \name{gtkScaleButtonSetIcons} \title{gtkScaleButtonSetIcons} \description{Sets the icons to be used by the scale button. For details, see the \verb{"icons"} property.} \usage{gtkScaleButtonSetIcons(object, icons)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScaleButton}}} \item{\verb{icons}}{a list of icon names} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoContextSetFontOptions.Rd0000644000176000001440000000136312362217677020623 0ustar ripleyusers\alias{pangoCairoContextSetFontOptions} \name{pangoCairoContextSetFontOptions} \title{pangoCairoContextSetFontOptions} \description{Sets the font options used when rendering text with this context. These options override any options that \code{\link{pangoCairoUpdateContext}} derives from the target surface.} \usage{pangoCairoContextSetFontOptions(context, options)} \arguments{ \item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map} \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}, or \code{NULL} to unset any previously set options. A copy is made.} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromFile.Rd0000644000176000001440000000064311766145227016143 0ustar ripleyusers\alias{gtkImageSetFromFile} \name{gtkImageSetFromFile} \title{gtkImageSetFromFile} \description{See \code{\link{gtkImageNewFromFile}} for details.} \usage{gtkImageSetFromFile(object, filename = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{filename}}{ a filename or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetPopupSingleMatch.Rd0000644000176000001440000000105612362217677021760 0ustar ripleyusers\alias{gtkEntryCompletionGetPopupSingleMatch} \name{gtkEntryCompletionGetPopupSingleMatch} \title{gtkEntryCompletionGetPopupSingleMatch} \description{Returns whether the completion popup window will appear even if there is only a single match.} \usage{gtkEntryCompletionGetPopupSingleMatch(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the popup window will appear regardless of the number of matches.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedOutputStreamSetBufferSize.Rd0000644000176000001440000000066412362217677021247 0ustar ripleyusers\alias{gBufferedOutputStreamSetBufferSize} \name{gBufferedOutputStreamSetBufferSize} \title{gBufferedOutputStreamSetBufferSize} \description{Sets the size of the internal buffer to \code{size}.} \usage{gBufferedOutputStreamSetBufferSize(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GBufferedOutputStream}}.} \item{\verb{size}}{a \verb{numeric}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayPutEvent.Rd0000644000176000001440000000065112362217677016102 0ustar ripleyusers\alias{gdkDisplayPutEvent} \name{gdkDisplayPutEvent} \title{gdkDisplayPutEvent} \description{Appends a copy of the given event onto the front of the event queue for \code{display}.} \usage{gdkDisplayPutEvent(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{event}}{a \code{\link{GdkEvent}}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetHasTooltip.Rd0000644000176000001440000000075112362217677017566 0ustar ripleyusers\alias{gtkStatusIconGetHasTooltip} \name{gtkStatusIconGetHasTooltip} \title{gtkStatusIconGetHasTooltip} \description{Returns the current value of the has-tooltip property. See \verb{"has-tooltip"} for more information.} \usage{gtkStatusIconGetHasTooltip(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.16} \value{[logical] current value of has-tooltip on \code{status.icon}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreNew.Rd0000644000176000001440000000132012362217677015416 0ustar ripleyusers\alias{gtkListStoreNew} \name{gtkListStoreNew} \title{gtkListStoreNew} \description{Creates a new list store as with \code{n.columns} columns each of the types passed in. Note that only types derived from standard GObject fundamental types are supported. } \usage{gtkListStoreNew(...)} \arguments{\item{\verb{...}}{a new \code{\link{GtkListStore}}}} \details{As an example, \code{gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING, GDK_TYPE_PIXBUF);} will create a new \code{\link{GtkListStore}} with three columns, of type int, string and \code{\link{GdkPixbuf}} respectively.} \value{[\code{\link{GtkListStore}}] a new \code{\link{GtkListStore}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSetSubmenu.Rd0000644000176000001440000000072112362217677016556 0ustar ripleyusers\alias{gtkMenuItemSetSubmenu} \name{gtkMenuItemSetSubmenu} \title{gtkMenuItemSetSubmenu} \description{Sets or replaces the menu item's submenu, or removes it when a \code{NULL} submenu is passed.} \usage{gtkMenuItemSetSubmenu(object, submenu)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuItem}}} \item{\verb{submenu}}{the submenu, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnMaxWidth.Rd0000644000176000001440000000122712362217677017340 0ustar ripleyusers\alias{gtkCListSetColumnMaxWidth} \name{gtkCListSetColumnMaxWidth} \title{gtkCListSetColumnMaxWidth} \description{ Causes the column specified to have a maximum width, preventing the user from resizing it larger than that specified. \strong{WARNING: \code{gtk_clist_set_column_max_width} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnMaxWidth(object, column, max.width)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to set the maximum width.} \item{\verb{max.width}}{The width, in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileRead.Rd0000644000176000001440000000227412362217677014141 0ustar ripleyusers\alias{gFileRead} \name{gFileRead} \title{gFileRead} \description{Opens a file for reading. The result is a \code{\link{GFileInputStream}} that can be used to read the contents of the file.} \usage{gFileRead(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GFile}} to read.} \item{\verb{cancellable}}{a \code{\link{GCancellable}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. If the file is a directory, the G_IO_ERROR_IS_DIRECTORY error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInputStream}}] \code{\link{GFileInputStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetActivatesDefault.Rd0000644000176000001440000000067112362217677017736 0ustar ripleyusers\alias{gtkEntryGetActivatesDefault} \name{gtkEntryGetActivatesDefault} \title{gtkEntryGetActivatesDefault} \description{Retrieves the value set by \code{\link{gtkEntrySetActivatesDefault}}.} \usage{gtkEntryGetActivatesDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \value{[logical] \code{TRUE} if the entry will activate the default widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionNew.Rd0000644000176000001440000000043512362217677014677 0ustar ripleyusers\alias{gdkRegionNew} \name{gdkRegionNew} \title{gdkRegionNew} \description{Creates a new empty \code{\link{GdkRegion}}.} \usage{gdkRegionNew()} \value{[\code{\link{GdkRegion}}] a new empty \code{\link{GdkRegion}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeListIcons.Rd0000644000176000001440000000146612362217677016532 0ustar ripleyusers\alias{gtkIconThemeListIcons} \name{gtkIconThemeListIcons} \title{gtkIconThemeListIcons} \description{Lists the icons in the current icon theme. Only a subset of the icons can be listed by providing a context string. The set of values for the context string is system dependent, but will typically include such values as "Applications" and "MimeTypes".} \usage{gtkIconThemeListIcons(object, context = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{context}}{a string identifying a particular type of icon, or \code{NULL} to list all icons.} } \details{Since 2.4} \value{[list] a \verb{list} list holding the names of all the icons in the theme. \emph{[ \acronym{element-type} utf8][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionToString.Rd0000644000176000001440000000120612362217677020142 0ustar ripleyusers\alias{pangoFontDescriptionToString} \name{pangoFontDescriptionToString} \title{pangoFontDescriptionToString} \description{Creates a string representation of a font description. See \code{\link{pangoFontDescriptionFromString}} for a description of the format of the string representation. The family list in the string description will only have a terminating comma if the last word of the list is a valid style option.} \usage{pangoFontDescriptionToString(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeNewFromKeyFile.Rd0000644000176000001440000000165712362217677017502 0ustar ripleyusers\alias{gtkPaperSizeNewFromKeyFile} \name{gtkPaperSizeNewFromKeyFile} \title{gtkPaperSizeNewFromKeyFile} \description{Reads a paper size from the group \code{group.name} in the key file \code{key.file}.} \usage{gtkPaperSizeNewFromKeyFile(key.file, group.name, .errwarn = TRUE)} \arguments{ \item{\verb{key.file}}{the \verb{GKeyFile} to retrieve the papersize from} \item{\verb{group.name}}{the name ofthe group in the key file to read, or \code{NULL} to read the first group} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPaperSize}}] a new \code{\link{GtkPaperSize}} object with the restored paper size, or \code{NULL} if an error occurred.} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarUnmarkDay.Rd0000644000176000001440000000065312362217677016351 0ustar ripleyusers\alias{gtkCalendarUnmarkDay} \name{gtkCalendarUnmarkDay} \title{gtkCalendarUnmarkDay} \description{Removes the visual marker from a particular day.} \usage{gtkCalendarUnmarkDay(object, day)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{day}}{the day number to unmark between 1 and 31.} } \value{[logical] \code{TRUE}, always} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetError.Rd0000644000176000001440000000120012362217677017566 0ustar ripleyusers\alias{gSimpleAsyncResultSetError} \name{gSimpleAsyncResultSetError} \title{gSimpleAsyncResultSetError} \description{Sets an error within the asynchronous result without a \code{\link{GError}}.} \usage{gSimpleAsyncResultSetError(object, domain, code, format, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{\verb{domain}}{a \code{\link{GQuark}} (usually \verb{G_IO_ERROR}).} \item{\verb{code}}{an error code.} \item{\verb{format}}{a formatted error reporting string.} \item{\verb{...}}{a list of variables to fill in \code{format}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoLayoutGetClipRegion.Rd0000644000176000001440000000223212362217677017655 0ustar ripleyusers\alias{gdkPangoLayoutGetClipRegion} \name{gdkPangoLayoutGetClipRegion} \title{gdkPangoLayoutGetClipRegion} \description{Obtains a clip region which contains the areas where the given ranges of text would be drawn. \code{x.origin} and \code{y.origin} are the same position you would pass to \code{\link{gdkDrawLayoutLine}}. \code{index.ranges} should contain ranges of bytes in the layout's text.} \usage{gdkPangoLayoutGetClipRegion(layout, x.origin, index.ranges)} \arguments{ \item{\verb{layout}}{a \code{\link{PangoLayout}}} \item{\verb{x.origin}}{X pixel where you intend to draw the layout with this clip} \item{\verb{index.ranges}}{array of byte indexes into the layout, where even members of list are start indexes and odd elements are end indexes} } \details{Note that the regions returned correspond to logical extents of the text ranges, not ink extents. So the drawn layout may in fact touch areas out of the clip region. The clip region is mainly useful for highlightling parts of text, such as when text is selected.} \value{[\code{\link{GdkRegion}}] a clip region containing the given ranges} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetApplications.Rd0000644000176000001440000000120012362217677020054 0ustar ripleyusers\alias{gtkRecentInfoGetApplications} \name{gtkRecentInfoGetApplications} \title{gtkRecentInfoGetApplications} \description{Retrieves the list of applications that have registered this resource.} \usage{gtkRecentInfoGetApplications(object, length)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{length}}{return location for the length of the returned list. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \details{Since 2.10} \value{[character] a newly list of strings. \emph{[ \acronym{array} length=length zero-terminated=1]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefault.Rd0000644000176000001440000000164312362217677016254 0ustar ripleyusers\alias{gtkWindowSetDefault} \name{gtkWindowSetDefault} \title{gtkWindowSetDefault} \description{The default widget is the widget that's activated when the user presses Enter in a dialog (for example). This function sets or unsets the default widget for a \code{\link{GtkWindow}} about. When setting (rather than unsetting) the default widget it's generally easier to call \code{\link{gtkWidgetGrabFocus}} on the widget. Before making a widget the default widget, you must set the \verb{GTK_CAN_DEFAULT} flag on the widget you'd like to make the default using \code{gtkWidgetSetFlags()}.} \usage{gtkWindowSetDefault(object, default.widget = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{default.widget}}{widget to be the default, or \code{NULL} to unset the default widget for the toplevel. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsFocus.Rd0000644000176000001440000000105112362217677015534 0ustar ripleyusers\alias{gtkWidgetIsFocus} \name{gtkWidgetIsFocus} \title{gtkWidgetIsFocus} \description{Determines if the widget is the focus widget within its toplevel. (This does not mean that the \code{HAS_FOCUS} flag is necessarily set; \code{HAS_FOCUS} will only be set if the toplevel widget additionally has the global input focus.)} \usage{gtkWidgetIsFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[logical] \code{TRUE} if the widget is the focus widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutLineGetExtents.Rd0000644000176000001440000000150412362217677017437 0ustar ripleyusers\alias{pangoLayoutLineGetExtents} \name{pangoLayoutLineGetExtents} \title{pangoLayoutLineGetExtents} \description{Computes the logical and ink extents of a layout line. See \code{\link{pangoFontGetGlyphExtents}} for details about the interpretation of the rectangles.} \usage{pangoLayoutLineGetExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the glyph string as drawn, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the glyph string, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetCreatePangoContext.Rd0000644000176000001440000000106012362217677017716 0ustar ripleyusers\alias{gtkWidgetCreatePangoContext} \name{gtkWidgetCreatePangoContext} \title{gtkWidgetCreatePangoContext} \description{Creates a new \code{\link{PangoContext}} with the appropriate font map, font description, and base direction for drawing text for this widget. See also \code{\link{gtkWidgetGetPangoContext}}.} \usage{gtkWidgetCreatePangoContext(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{PangoContext}}] the new \code{\link{PangoContext}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeLast.Rd0000644000176000001440000000071712362217677014653 0ustar ripleyusers\alias{gtkCTreeLast} \name{gtkCTreeLast} \title{gtkCTreeLast} \description{ Returns the last child of the last child of the last child... of the given node. \strong{WARNING: \code{gtk_ctree_last} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeLast(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToolShell.Rd0000644000176000001440000000251012362217677014663 0ustar ripleyusers\alias{GtkToolShell} \name{GtkToolShell} \title{GtkToolShell} \description{Interface for containers containing GtkToolItem widgets} \section{Methods and Functions}{ \code{\link{gtkToolShellGetEllipsizeMode}(object)}\cr \code{\link{gtkToolShellGetIconSize}(object)}\cr \code{\link{gtkToolShellGetOrientation}(object)}\cr \code{\link{gtkToolShellGetReliefStyle}(object)}\cr \code{\link{gtkToolShellGetStyle}(object)}\cr \code{\link{gtkToolShellGetTextAlignment}(object)}\cr \code{\link{gtkToolShellGetTextOrientation}(object)}\cr \code{\link{gtkToolShellRebuildMenu}(object)}\cr \code{\link{gtkToolShellGetTextSizeGroup}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkToolShell}} \section{Implementations}{GtkToolShell is implemented by \code{\link{GtkToolItemGroup}} and \code{\link{GtkToolbar}}.} \section{Detailed Description}{The \code{\link{GtkToolShell}} interface allows container widgets to provide additional information when embedding \code{\link{GtkToolItem}} widgets. \code{see.also}: \code{\link{GtkToolbar}}, \code{\link{GtkToolItem}}} \section{Structures}{\describe{\item{\verb{GtkToolShell}}{ Dummy structure for accessing instances of \verb{GtkToolShellIface}. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkToolShell.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetAdjustment.Rd0000644000176000001440000000106512362217677016555 0ustar ripleyusers\alias{gtkRangeGetAdjustment} \name{gtkRangeGetAdjustment} \title{gtkRangeGetAdjustment} \description{Get the \code{\link{GtkAdjustment}} which is the "model" object for \code{\link{GtkRange}}. See \code{\link{gtkRangeSetAdjustment}} for details. The return value does not have a reference added, so should not be unreferenced.} \usage{gtkRangeGetAdjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \value{[\code{\link{GtkAdjustment}}] a \code{\link{GtkAdjustment}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoCreateContext.Rd0000644000176000001440000000157312362217677017073 0ustar ripleyusers\alias{pangoCairoCreateContext} \name{pangoCairoCreateContext} \title{pangoCairoCreateContext} \description{Creates a context object set up to match the current transformation and target surface of the Cairo context. This context can then be used to create a layout using \code{\link{pangoLayoutNew}}.} \usage{pangoCairoCreateContext(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context}} \details{This function is a convenience function that creates a context using the default font map, then updates it to \code{cr}. If you just need to create a layout for use with \code{cr} and do not need to access \code{\link{PangoContext}} directly, you can use \code{\link{pangoCairoCreateLayout}} instead. Since 1.22} \value{[\code{\link{PangoContext}}] the newly created \code{\link{PangoContext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenBroadcastClientMessage.Rd0000644000176000001440000000166112362217677020512 0ustar ripleyusers\alias{gdkScreenBroadcastClientMessage} \name{gdkScreenBroadcastClientMessage} \title{gdkScreenBroadcastClientMessage} \description{On X11, sends an X ClientMessage event to all toplevel windows on \code{screen}. } \usage{gdkScreenBroadcastClientMessage(object, event)} \arguments{ \item{\verb{object}}{the \code{\link{GdkScreen}} where the event will be broadcasted.} \item{\verb{event}}{the \code{\link{GdkEvent}}.} } \details{Toplevel windows are determined by checking for the WM_STATE property, as described in the Inter-Client Communication Conventions Manual (ICCCM). If no windows are found with the WM_STATE property set, the message is sent to all children of the root window. On Windows, broadcasts a message registered with the name GDK_WIN32_CLIENT_MESSAGE to all top-level windows. The amount of data is limited to one long, i.e. four bytes. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternCreateRgba.Rd0000644000176000001440000000201512362217677016663 0ustar ripleyusers\alias{cairoPatternCreateRgba} \name{cairoPatternCreateRgba} \title{cairoPatternCreateRgba} \description{Creates a new \code{\link{CairoPattern}} corresponding to a translucent color. The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.} \usage{cairoPatternCreateRgba(red, green, blue, alpha)} \arguments{ \item{\verb{red}}{[numeric] red component of the color} \item{\verb{green}}{[numeric] green component of the color} \item{\verb{blue}}{[numeric] blue component of the color} \item{\verb{alpha}}{[numeric] alpha component of the color} } \value{[\code{\link{CairoPattern}}] the newly created \code{\link{CairoPattern}} if successful, or an error pattern in case of no memory. This function will always return a valid pointer, but if an error occurred the pattern status will be set to an error. To inspect the status of a pattern use \code{\link{cairoPatternStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeleteMark.Rd0000644000176000001440000000151412362217677017035 0ustar ripleyusers\alias{gtkTextBufferDeleteMark} \name{gtkTextBufferDeleteMark} \title{gtkTextBufferDeleteMark} \description{Deletes \code{mark}, so that it's no longer located anywhere in the buffer. Removes the reference the buffer holds to the mark, it will be freed. Even if the mark isn't freed, most operations on \code{mark} become invalid, until it gets added to a buffer again with \code{\link{gtkTextBufferAddMark}}. Use \code{\link{gtkTextMarkGetDeleted}} to find out if a mark has been removed from its buffer. The "mark-deleted" signal will be emitted as notification after the mark is deleted.} \usage{gtkTextBufferDeleteMark(object, mark)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mark}}{a \code{\link{GtkTextMark}} in \code{buffer}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetSourceRgb.Rd0000644000176000001440000000156512362217677015706 0ustar ripleyusers\alias{cairoSetSourceRgb} \name{cairoSetSourceRgb} \title{cairoSetSourceRgb} \description{Sets the source pattern within \code{cr} to an opaque color. This opaque color will then be used for any subsequent drawing operation until a new source pattern is set.} \usage{cairoSetSourceRgb(cr, red, green, blue)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{red}}{[numeric] red component of color} \item{\verb{green}}{[numeric] green component of color} \item{\verb{blue}}{[numeric] blue component of color} } \details{The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped. The default source pattern is opaque black, (that is, it is equivalent to cairo_set_source_rgb(cr, 0.0, 0.0, 0.0)). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererSetOverrideColor.Rd0000644000176000001440000000131112362217677020702 0ustar ripleyusers\alias{gdkPangoRendererSetOverrideColor} \name{gdkPangoRendererSetOverrideColor} \title{gdkPangoRendererSetOverrideColor} \description{Sets the color for a particular render part (foreground, background, underline, etc.), overriding any attributes on the layouts renderered with this renderer.} \usage{gdkPangoRendererSetOverrideColor(object, part, color = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPangoRenderer}}} \item{\verb{part}}{the part to render to set the color of} \item{\verb{color}}{the color to use, or \code{NULL} to unset a previously set override color. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventNew.Rd0000644000176000001440000000060612362217677014535 0ustar ripleyusers\alias{gdkEventNew} \name{gdkEventNew} \title{gdkEventNew} \description{Creates a new event of the given type. All fields are set to 0.} \usage{gdkEventNew(type)} \arguments{\item{\verb{type}}{a \code{\link{GdkEventType}}}} \details{Since 2.2} \value{[\code{\link{GdkEvent}}] a newly-allocated \code{\link{GdkEvent}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetSearchEqualFunc.Rd0000644000176000001440000000071512362217677020147 0ustar ripleyusers\alias{gtkTreeViewGetSearchEqualFunc} \name{gtkTreeViewGetSearchEqualFunc} \title{gtkTreeViewGetSearchEqualFunc} \description{Returns the compare function currently in use.} \usage{gtkTreeViewGetSearchEqualFunc(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[\code{\link{GtkTreeViewSearchEqualFunc}}] the currently used compare function for the search code.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternSetMatrix.Rd0000644000176000001440000000261312362217677016610 0ustar ripleyusers\alias{cairoPatternSetMatrix} \name{cairoPatternSetMatrix} \title{cairoPatternSetMatrix} \description{Sets the pattern's transformation matrix to \code{matrix}. This matrix is a transformation from user space to pattern space.} \usage{cairoPatternSetMatrix(pattern, matrix)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \details{When a pattern is first created it always has the identity matrix for its transformation matrix, which means that pattern space is initially identical to user space. Important: Please note that the direction of this transformation matrix is from user space to pattern space. This means that if you imagine the flow from a pattern to user space (and on to device space), then coordinates in that flow will be transformed by the inverse of the pattern matrix. For example, if you want to make a pattern appear twice as large as it does by default the correct code to use is: \preformatted{ matrix$initScale(0.5, 0.5) pattern$setMatrix(matrix) } Meanwhile, using values of 2.0 rather than 0.5 in the code above would cause the pattern to appear at half of its default size. Also, please note the discussion of the user-space locking semantics of \code{\link{cairoSetSource}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardToEnd.Rd0000644000176000001440000000076712362217677017061 0ustar ripleyusers\alias{gtkTextIterForwardToEnd} \name{gtkTextIterForwardToEnd} \title{gtkTextIterForwardToEnd} \description{Moves \code{iter} forward to the "end iterator," which points one past the last valid character in the buffer. \code{\link{gtkTextIterGetChar}} called on the end iterator returns 0, which is convenient for writing loops.} \usage{gtkTextIterForwardToEnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPaperHeight.Rd0000644000176000001440000000103212362217677020412 0ustar ripleyusers\alias{gtkPrintSettingsGetPaperHeight} \name{gtkPrintSettingsGetPaperHeight} \title{gtkPrintSettingsGetPaperHeight} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PAPER_HEIGHT}, converted to \code{unit}.} \usage{gtkPrintSettingsGetPaperHeight(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the paper height, in units of \code{unit}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserWidgetNew.Rd0000644000176000001440000000112212362217677017034 0ustar ripleyusers\alias{gtkFileChooserWidgetNew} \name{gtkFileChooserWidgetNew} \title{gtkFileChooserWidgetNew} \description{Creates a new \code{\link{GtkFileChooserWidget}}. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by \code{\link{GtkFileChooserDialog}}.} \usage{gtkFileChooserWidgetNew(action, show = TRUE)} \arguments{\item{\verb{action}}{Open or save mode for the widget}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFileChooserWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetHasTooltip.Rd0000644000176000001440000000076612362217677016737 0ustar ripleyusers\alias{gtkWidgetSetHasTooltip} \name{gtkWidgetSetHasTooltip} \title{gtkWidgetSetHasTooltip} \description{Sets the has-tooltip property on \code{widget} to \code{has.tooltip}. See GtkWidget:has-tooltip for more information.} \usage{gtkWidgetSetHasTooltip(object, has.tooltip)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{has.tooltip}}{whether or not \code{widget} has a tooltip.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetPosition.Rd0000644000176000001440000000101012362217677016460 0ustar ripleyusers\alias{gtkWindowSetPosition} \name{gtkWindowSetPosition} \title{gtkWindowSetPosition} \description{Sets a position constraint for this window. If the old or new constraint is \code{GTK_WIN_POS_CENTER_ALWAYS}, this will also cause the window to be repositioned to satisfy the new constraint.} \usage{gtkWindowSetPosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}.} \item{\verb{position}}{a position constraint.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetToolbarStyle.Rd0000644000176000001440000000141212362217677017556 0ustar ripleyusers\alias{gtkToolItemGetToolbarStyle} \name{gtkToolItemGetToolbarStyle} \title{gtkToolItemGetToolbarStyle} \description{Returns the toolbar style used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function in the handler of the GtkToolItem::toolbar_reconfigured signal to find out in what style the toolbar is displayed and change themselves accordingly } \usage{gtkToolItemGetToolbarStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Possibilities are: \itemize{ \item \item \item \item } Since 2.4} \value{[\code{\link{GtkToolbarStyle}}] A \code{\link{GtkToolbarStyle}} indicating the toolbar style used for \code{tool.item}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragBegin.Rd0000644000176000001440000000146212362217677014645 0ustar ripleyusers\alias{gtkDragBegin} \name{gtkDragBegin} \title{gtkDragBegin} \description{Initiates a drag on the source side. The function only needs to be used when the application is starting drags itself, and is not needed when \code{\link{gtkDragSourceSet}} is used.} \usage{gtkDragBegin(object, targets, actions, button, event)} \arguments{ \item{\verb{object}}{the source widget.} \item{\verb{targets}}{The targets (data formats) in which the source can provide the data.} \item{\verb{actions}}{A bitmask of the allowed drag actions for this drag.} \item{\verb{button}}{The button the user clicked to start the drag.} \item{\verb{event}}{The event that triggered the start of the drag.} } \value{[\code{\link{GdkDragContext}}] the context for this drag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterNext.Rd0000644000176000001440000000110512362217677016360 0ustar ripleyusers\alias{gtkTreeModelIterNext} \name{gtkTreeModelIterNext} \title{gtkTreeModelIterNext} \description{Sets \code{iter} to point to the node following it at the current level. If there is no next \code{iter}, \code{FALSE} is returned and \code{iter} is set to be invalid.} \usage{gtkTreeModelIterNext(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}.} } \value{[logical] \code{TRUE} if \code{iter} has been changed to the next node.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetActivityStep.Rd0000644000176000001440000000123412362217677020276 0ustar ripleyusers\alias{gtkProgressBarSetActivityStep} \name{gtkProgressBarSetActivityStep} \title{gtkProgressBarSetActivityStep} \description{ Sets the step value used when the progress bar is in activity mode. The step is the amount by which the progress is incremented each iteration. \strong{WARNING: \code{gtk_progress_bar_set_activity_step} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarSetActivityStep(object, step)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}.} \item{\verb{step}}{the amount which the progress is incremented in activity mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetTranslateCoordinates.Rd0000644000176000001440000000227012362217677020315 0ustar ripleyusers\alias{gtkWidgetTranslateCoordinates} \name{gtkWidgetTranslateCoordinates} \title{gtkWidgetTranslateCoordinates} \description{Translate coordinates relative to \code{src.widget}'s allocation to coordinates relative to \code{dest.widget}'s allocations. In order to perform this operation, both widgets must be realized, and must share a common toplevel.} \usage{gtkWidgetTranslateCoordinates(object, dest.widget, src.x, src.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{dest.widget}}{a \code{\link{GtkWidget}}} \item{\verb{src.x}}{X position relative to \code{src.widget}} \item{\verb{src.y}}{Y position relative to \code{src.widget}} } \value{ A list containing the following elements: \item{retval}{[logical] \code{FALSE} if either widget was not realized, or there was no common ancestor. In this case, nothing is stored in *\code{dest.x} and *\code{dest.y}. Otherwise \code{TRUE}.} \item{\verb{dest.x}}{location to store X position relative to \code{dest.widget}. \emph{[ \acronym{out} ]}} \item{\verb{dest.y}}{location to store Y position relative to \code{dest.widget}. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetIsEmpty.Rd0000644000176000001440000000067212362217677016066 0ustar ripleyusers\alias{atkStateSetIsEmpty} \name{atkStateSetIsEmpty} \title{atkStateSetIsEmpty} \description{Checks whether the state set is empty, i.e. has no states set.} \usage{atkStateSetIsEmpty(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateType}}}} \value{[logical] \code{TRUE} if \code{set} has no states set, otherwise \code{FALSE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetPreviewWidget.Rd0000644000176000001440000000221012362217677020377 0ustar ripleyusers\alias{gtkFileChooserSetPreviewWidget} \name{gtkFileChooserSetPreviewWidget} \title{gtkFileChooserSetPreviewWidget} \description{Sets an application-supplied widget to use to display a custom preview of the currently selected file. To implement a preview, after setting the preview widget, you connect to the \verb{"update-preview"} signal, and call \code{\link{gtkFileChooserGetPreviewFilename}} or \code{\link{gtkFileChooserGetPreviewUri}} on each change. If you can display a preview of the new file, update your widget and set the preview active using \code{\link{gtkFileChooserSetPreviewWidgetActive}}. Otherwise, set the preview inactive.} \usage{gtkFileChooserSetPreviewWidget(object, preview.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{preview.widget}}{widget for displaying preview.} } \details{When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSocketSteal.Rd0000644000176000001440000000143412362217677015243 0ustar ripleyusers\alias{gtkSocketSteal} \name{gtkSocketSteal} \title{gtkSocketSteal} \description{ Reparents a pre-existing toplevel window into a \code{\link{GtkSocket}}. This is meant to embed clients that do not know about embedding into a \code{\link{GtkSocket}}, however doing so is inherently unreliable, and using this function is not recommended. \strong{WARNING: \code{gtk_socket_steal} is deprecated and should not be used in newly-written code.} } \usage{gtkSocketSteal(object, wid)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSocket}}} \item{\verb{wid}}{the window ID of an existing toplevel window.} } \details{The \code{\link{GtkSocket}} must have already be added into a toplevel window before you can make this call.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreateReadwrite.Rd0000644000176000001440000000365112362217677016340 0ustar ripleyusers\alias{gFileCreateReadwrite} \name{gFileCreateReadwrite} \title{gFileCreateReadwrite} \description{Creates a new file and returns a stream for reading and writing to it. The file must not already exist.} \usage{gFileCreateReadwrite(object, flags, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}}} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{By default files created are generally readable by everyone, but if you pass \verb{G_FILE_CREATE_PRIVATE} in \code{flags} the file will be made readable only to the current user, to the level that is supported on the target filesystem. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If a file or directory with this name already exists the \code{G_IO_ERROR_EXISTS} error will be returned. Some file systems don't allow all file names, and may return an \code{G_IO_ERROR_INVALID_FILENAME} error, and if the name is too long, \code{G_IO_ERROR_FILENAME_TOO_LONG} will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on. Note that in many non-local file cases read and write streams are not supported, so make sure you really need to do read and write streaming, rather than just opening for reading or writing. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] a \code{\link{GFileIOStream}} for the newly created file, or \code{NULL} on error.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserUnselectFile.Rd0000644000176000001440000000102212362217677017520 0ustar ripleyusers\alias{gtkFileChooserUnselectFile} \name{gtkFileChooserUnselectFile} \title{gtkFileChooserUnselectFile} \description{Unselects the file referred to by \code{file}. If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing.} \usage{gtkFileChooserUnselectFile(object, file)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{file}}{a \code{\link{GFile}}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderWrite.Rd0000644000176000001440000000177112362217677016405 0ustar ripleyusers\alias{gdkPixbufLoaderWrite} \name{gdkPixbufLoaderWrite} \title{gdkPixbufLoaderWrite} \description{This will cause a pixbuf loader to parse the next \code{count} bytes of an image. It will return \code{TRUE} if the data was loaded successfully, and \code{FALSE} if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. If \code{FALSE} is returned, \code{error} will be set to an error from the \verb{GDK_PIXBUF_ERROR} or \verb{G_FILE_ERROR} domains.} \usage{gdkPixbufLoaderWrite(object, buf, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{A pixbuf loader.} \item{\verb{buf}}{Pointer to image data.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the write was successful, or \code{FALSE} if the loader cannot parse the buffer.} \item{\verb{error}}{return location for errors} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetWrap.Rd0000644000176000001440000000102112362217677016114 0ustar ripleyusers\alias{pangoLayoutSetWrap} \name{pangoLayoutSetWrap} \title{pangoLayoutSetWrap} \description{Sets the wrap mode; the wrap mode only has effect if a width is set on the layout with \code{\link{pangoLayoutSetWidth}}. To turn off wrapping, set the width to -1.} \usage{pangoLayoutSetWrap(object, wrap)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{wrap}}{[\code{\link{PangoWrapMode}}] the wrap mode} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterInsideWord.Rd0000644000176000001440000000112712362217677016561 0ustar ripleyusers\alias{gtkTextIterInsideWord} \name{gtkTextIterInsideWord} \title{gtkTextIterInsideWord} \description{Determines whether \code{iter} is inside a natural-language word (as opposed to say inside some whitespace). Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterInsideWord(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is inside a word} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/deprecated.Rd0000644000176000001440000000123611766145227014412 0ustar ripleyusers\alias{gdkRgbGetCmap} \alias{gdkSelectionOwnerGet} \alias{gdkSelectionOwnerGetForDisplay} \alias{gdkSelectionPropertyGet} \alias{gtkCheckMenuItemSetState} \alias{gtkContainerChildren} \alias{gtkLabelSet} \alias{gtkMenuItemRightJustify} \alias{gtkNotebookCurrentPage} \alias{gtkNotebookSetPage} \alias{gtkRadioButtonGroup} \alias{gtkRadioMenuItemGroup} \alias{gtkStyleApplyDefaultPixmap} \alias{gtkToggleButtonSetState} \alias{gtkTreeModelGetIterRoot} \title{Deprecated Macros} \name{deprecated} \description{This is a deprecated macro. Please see the appropriate documentation for a better alternative.} \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gtkIMContextSimpleAddTable.Rd0000644000176000001440000000170612362217677017431 0ustar ripleyusers\alias{gtkIMContextSimpleAddTable} \name{gtkIMContextSimpleAddTable} \title{gtkIMContextSimpleAddTable} \description{Adds an additional table to search to the input context. Each row of the table consists of \code{max.seq.len} key symbols followed by two \verb{integer} interpreted as the high and low words of a \verb{gunicode} value. Tables are searched starting from the last added.} \usage{gtkIMContextSimpleAddTable(object, data, max.seq.len, n.seqs)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIMContextSimple}}} \item{\verb{data}}{the table} \item{\verb{max.seq.len}}{Maximum length of a sequence in the table (cannot be greater than \verb{GTK_MAX_COMPOSE_LEN})} \item{\verb{n.seqs}}{number of sequences in the table} } \details{The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTopWindow.Rd0000644000176000001440000000204111766145227014745 0ustar ripleyusers\name{gtkTopWindow} \alias{gtkTopWindow} \title{Create a Gtk Window} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This creates a top-level Gtk window (as opposed to a dialog or popup window). This is a convenience function for the more general \code{\link{gtkWindow}} function which is just as easy to use, given its defaults. } \usage{ gtkTopWindow(title="My Window", show=TRUE) } \arguments{ \item{title}{a string to use in the title bar for the window.} \item{show}{a logical value indicating whether the window should be displayed (\code{TRUE}) or left unshown so that other widgets can be added to it and then shown.} } \value{ An object of class \code{GtkWindow} that has the same inheritance as the low-level inheritance in Gtk. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) } \seealso{ \code{\link{gtkWindow}} \code{\link{gtkWindowNew}} } \keyword{interface} \keyword{internal} RGtk2/man/gtkFontButtonGetTitle.Rd0000644000176000001440000000065412362217677016571 0ustar ripleyusers\alias{gtkFontButtonGetTitle} \name{gtkFontButtonGetTitle} \title{gtkFontButtonGetTitle} \description{Retrieves the title of the font selection dialog.} \usage{gtkFontButtonGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[character] an internal copy of the title string which must not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetFixedHeightMode.Rd0000644000176000001440000000125512362217677020147 0ustar ripleyusers\alias{gtkTreeViewSetFixedHeightMode} \name{gtkTreeViewSetFixedHeightMode} \title{gtkTreeViewSetFixedHeightMode} \description{Enables or disables the fixed height mode of \code{tree.view}. Fixed height mode speeds up \code{\link{GtkTreeView}} by assuming that all rows have the same height. Only enable this option if all rows are the same height and all columns are of type \code{GTK_TREE_VIEW_COLUMN_FIXED}.} \usage{gtkTreeViewSetFixedHeightMode(object, enable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{enable}}{\code{TRUE} to enable fixed height mode} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionSubtract.Rd0000644000176000001440000000074412362217677015740 0ustar ripleyusers\alias{gdkRegionSubtract} \name{gdkRegionSubtract} \title{gdkRegionSubtract} \description{Subtracts the area of \code{source2} from the area \code{source1}. The resulting area is the set of pixels contained in \code{source1} but not in \code{source2}.} \usage{gdkRegionSubtract(object, source2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{source2}}{another \code{\link{GdkRegion}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconTooltipText.Rd0000644000176000001440000000077512362217677017623 0ustar ripleyusers\alias{gtkEntryGetIconTooltipText} \name{gtkEntryGetIconTooltipText} \title{gtkEntryGetIconTooltipText} \description{Gets the contents of the tooltip on the icon at the specified position in \code{entry}.} \usage{gtkEntryGetIconTooltipText(object, icon.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{the icon position} } \details{Since 2.16} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNewWithTitles.Rd0000644000176000001440000000127512362217677016522 0ustar ripleyusers\alias{gtkCTreeNewWithTitles} \name{gtkCTreeNewWithTitles} \title{gtkCTreeNewWithTitles} \description{ Create a new \code{\link{GtkCTree}} widget with the given titles for the columns. \strong{WARNING: \code{gtk_ctree_new_with_titles} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNewWithTitles(columns = 1, tree.column = 0, titles, show = TRUE)} \arguments{ \item{\verb{columns}}{Number of columns.} \item{\verb{tree.column}}{Which column has the tree graphic; 0 = leftmost.} \item{\verb{titles}}{The titles for the columns.} } \value{[\code{\link{GtkWidget}}] The \code{\link{GtkCTree}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceGetModel.Rd0000644000176000001440000000065512362217677017655 0ustar ripleyusers\alias{gtkTreeRowReferenceGetModel} \name{gtkTreeRowReferenceGetModel} \title{gtkTreeRowReferenceGetModel} \description{Returns the model that the row reference is monitoring.} \usage{gtkTreeRowReferenceGetModel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeRowReference}}}} \details{Since 2.8} \value{[\code{\link{GtkTreeModel}}] the model} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserToDevice.Rd0000644000176000001440000000103112362217677015664 0ustar ripleyusers\alias{cairoUserToDevice} \name{cairoUserToDevice} \title{cairoUserToDevice} \description{Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).} \usage{cairoUserToDevice(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] X value of coordinate (in/out parameter)} \item{\verb{y}}{[numeric] Y value of coordinate (in/out parameter)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestImage.Rd0000644000176000001440000000200412362217677017227 0ustar ripleyusers\alias{gtkClipboardRequestImage} \name{gtkClipboardRequestImage} \title{gtkClipboardRequestImage} \description{Requests the contents of the clipboard as image. When the image is later received, it will be converted to a \code{\link{GdkPixbuf}}, and \code{callback} will be called. } \usage{gtkClipboardRequestImage(object, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{callback}}{a function to call when the image is received, or the retrieval fails. (It will always be called one way or the other.)} \item{\verb{user.data}}{user data to pass to \code{callback}.} } \details{The \code{pixbuf} parameter to \code{callback} will contain the resulting \code{\link{GdkPixbuf}} if the request succeeded, or \code{NULL} if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into an image. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddPixbufFormats.Rd0000644000176000001440000000063312362217677020533 0ustar ripleyusers\alias{gtkRecentFilterAddPixbufFormats} \name{gtkRecentFilterAddPixbufFormats} \title{gtkRecentFilterAddPixbufFormats} \description{Adds a rule allowing image files in the formats supported by GdkPixbuf.} \usage{gtkRecentFilterAddPixbufFormats(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentFilter}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSetIcon.Rd0000644000176000001440000000133012362217677016340 0ustar ripleyusers\alias{gtkDragSourceSetIcon} \name{gtkDragSourceSetIcon} \title{gtkDragSourceSetIcon} \description{Sets the icon that will be used for drags from a particular widget from a pixmap/mask. GTK+ retains references for the arguments, and will release them when they are no longer needed. Use \code{\link{gtkDragSourceSetIconPixbuf}} instead.} \usage{gtkDragSourceSetIcon(object, colormap, pixmap, mask = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{colormap}}{the colormap of the icon} \item{\verb{pixmap}}{the image data for the icon} \item{\verb{mask}}{the transparency mask for an image. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkQueryDepths.Rd0000644000176000001440000000131212362217677015252 0ustar ripleyusers\alias{gdkQueryDepths} \name{gdkQueryDepths} \title{gdkQueryDepths} \description{This function returns the available bit depths for the default screen. It's equivalent to listing the visuals (\code{\link{gdkListVisuals}}) and then looking at the depth field in each visual, removing duplicates.} \usage{gdkQueryDepths()} \details{The list returned by this function should not be freed.} \value{ A list containing the following elements: \item{\verb{depths}}{return location for available depths. \emph{[ \acronym{out} ][ \acronym{array} ]}} \item{\verb{count}}{return location for number of available depths. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectRefRelationSet.Rd0000644000176000001440000000075312362217677017034 0ustar ripleyusers\alias{atkObjectRefRelationSet} \name{atkObjectRefRelationSet} \title{atkObjectRefRelationSet} \description{Gets the \code{\link{AtkRelationSet}} associated with the object.} \usage{atkObjectRefRelationSet(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}} representing the relation set of the object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxEntrySetTextColumn.Rd0000644000176000001440000000101612362217677020247 0ustar ripleyusers\alias{gtkComboBoxEntrySetTextColumn} \name{gtkComboBoxEntrySetTextColumn} \title{gtkComboBoxEntrySetTextColumn} \description{Sets the model column which \code{entry.box} should use to get strings from to be \code{text.column}.} \usage{gtkComboBoxEntrySetTextColumn(object, text.column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBoxEntry}}.} \item{\verb{text.column}}{A column in \code{model} to get the strings from.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInitTranslate.Rd0000644000176000001440000000117312362217677017300 0ustar ripleyusers\alias{cairoMatrixInitTranslate} \name{cairoMatrixInitTranslate} \title{cairoMatrixInitTranslate} \description{Initializes \code{matrix} to a transformation that translates by \code{tx} and \code{ty} in the X and Y dimensions, respectively.} \usage{cairoMatrixInitTranslate(tx, ty)} \arguments{ \item{\verb{tx}}{[numeric] amount to translate in the X direction} \item{\verb{ty}}{[numeric] amount to translate in the Y direction} } \value{ A list containing the following elements: \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeySyms.Rd0000644000176000001440000022055511766145227014413 0ustar ripleyusers\alias{gdkKeySyms} \alias{GDK_VoidSymbol} \alias{GDK_BackSpace} \alias{GDK_Tab} \alias{GDK_Linefeed} \alias{GDK_Clear} \alias{GDK_Return} \alias{GDK_Pause} \alias{GDK_Scroll_Lock} \alias{GDK_Sys_Req} \alias{GDK_Escape} \alias{GDK_Delete} \alias{GDK_Multi_key} \alias{GDK_Codeinput} \alias{GDK_SingleCandidate} \alias{GDK_MultipleCandidate} \alias{GDK_PreviousCandidate} \alias{GDK_Kanji} \alias{GDK_Muhenkan} \alias{GDK_Henkan_Mode} \alias{GDK_Henkan} \alias{GDK_Romaji} \alias{GDK_Hiragana} \alias{GDK_Katakana} \alias{GDK_Hiragana_Katakana} \alias{GDK_Zenkaku} \alias{GDK_Hankaku} \alias{GDK_Zenkaku_Hankaku} \alias{GDK_Touroku} \alias{GDK_Massyo} \alias{GDK_Kana_Lock} \alias{GDK_Kana_Shift} \alias{GDK_Eisu_Shift} \alias{GDK_Eisu_toggle} \alias{GDK_Kanji_Bangou} \alias{GDK_Zen_Koho} \alias{GDK_Mae_Koho} \alias{GDK_Home} \alias{GDK_Left} \alias{GDK_Up} \alias{GDK_Right} \alias{GDK_Down} \alias{GDK_Prior} \alias{GDK_Page_Up} \alias{GDK_Next} \alias{GDK_Page_Down} \alias{GDK_End} \alias{GDK_Begin} \alias{GDK_Select} \alias{GDK_Print} \alias{GDK_Execute} \alias{GDK_Insert} \alias{GDK_Undo} \alias{GDK_Redo} \alias{GDK_Menu} \alias{GDK_Find} \alias{GDK_Cancel} \alias{GDK_Help} \alias{GDK_Break} \alias{GDK_Mode_switch} \alias{GDK_script_switch} \alias{GDK_Num_Lock} \alias{GDK_KP_Space} \alias{GDK_KP_Tab} \alias{GDK_KP_Enter} \alias{GDK_KP_F1} \alias{GDK_KP_F2} \alias{GDK_KP_F3} \alias{GDK_KP_F4} \alias{GDK_KP_Home} \alias{GDK_KP_Left} \alias{GDK_KP_Up} \alias{GDK_KP_Right} \alias{GDK_KP_Down} \alias{GDK_KP_Prior} \alias{GDK_KP_Page_Up} \alias{GDK_KP_Next} \alias{GDK_KP_Page_Down} \alias{GDK_KP_End} \alias{GDK_KP_Begin} \alias{GDK_KP_Insert} \alias{GDK_KP_Delete} \alias{GDK_KP_Equal} \alias{GDK_KP_Multiply} \alias{GDK_KP_Add} \alias{GDK_KP_Separator} \alias{GDK_KP_Subtract} \alias{GDK_KP_Decimal} \alias{GDK_KP_Divide} \alias{GDK_KP_0} \alias{GDK_KP_1} \alias{GDK_KP_2} \alias{GDK_KP_3} \alias{GDK_KP_4} \alias{GDK_KP_5} \alias{GDK_KP_6} \alias{GDK_KP_7} \alias{GDK_KP_8} \alias{GDK_KP_9} \alias{GDK_F1} \alias{GDK_F2} \alias{GDK_F3} \alias{GDK_F4} \alias{GDK_F5} \alias{GDK_F6} \alias{GDK_F7} \alias{GDK_F8} \alias{GDK_F9} \alias{GDK_F10} \alias{GDK_F11} \alias{GDK_L1} \alias{GDK_F12} \alias{GDK_L2} \alias{GDK_F13} \alias{GDK_L3} \alias{GDK_F14} \alias{GDK_L4} \alias{GDK_F15} \alias{GDK_L5} \alias{GDK_F16} \alias{GDK_L6} \alias{GDK_F17} \alias{GDK_L7} \alias{GDK_F18} \alias{GDK_L8} \alias{GDK_F19} \alias{GDK_L9} \alias{GDK_F20} \alias{GDK_L10} \alias{GDK_F21} \alias{GDK_R1} \alias{GDK_F22} \alias{GDK_R2} \alias{GDK_F23} \alias{GDK_R3} \alias{GDK_F24} \alias{GDK_R4} \alias{GDK_F25} \alias{GDK_R5} \alias{GDK_F26} \alias{GDK_R6} \alias{GDK_F27} \alias{GDK_R7} \alias{GDK_F28} \alias{GDK_R8} \alias{GDK_F29} \alias{GDK_R9} \alias{GDK_F30} \alias{GDK_R10} \alias{GDK_F31} \alias{GDK_R11} \alias{GDK_F32} \alias{GDK_R12} \alias{GDK_F33} \alias{GDK_R13} \alias{GDK_F34} \alias{GDK_R14} \alias{GDK_F35} \alias{GDK_R15} \alias{GDK_Shift_L} \alias{GDK_Shift_R} \alias{GDK_Control_L} \alias{GDK_Control_R} \alias{GDK_Caps_Lock} \alias{GDK_Shift_Lock} \alias{GDK_Meta_L} \alias{GDK_Meta_R} \alias{GDK_Alt_L} \alias{GDK_Alt_R} \alias{GDK_Super_L} \alias{GDK_Super_R} \alias{GDK_Hyper_L} \alias{GDK_Hyper_R} \alias{GDK_ISO_Lock} \alias{GDK_ISO_Level2_Latch} \alias{GDK_ISO_Level3_Shift} \alias{GDK_ISO_Level3_Latch} \alias{GDK_ISO_Level3_Lock} \alias{GDK_ISO_Group_Shift} \alias{GDK_ISO_Group_Latch} \alias{GDK_ISO_Group_Lock} \alias{GDK_ISO_Next_Group} \alias{GDK_ISO_Next_Group_Lock} \alias{GDK_ISO_Prev_Group} \alias{GDK_ISO_Prev_Group_Lock} \alias{GDK_ISO_First_Group} \alias{GDK_ISO_First_Group_Lock} \alias{GDK_ISO_Last_Group} \alias{GDK_ISO_Last_Group_Lock} \alias{GDK_ISO_Left_Tab} \alias{GDK_ISO_Move_Line_Up} \alias{GDK_ISO_Move_Line_Down} \alias{GDK_ISO_Partial_Line_Up} \alias{GDK_ISO_Partial_Line_Down} \alias{GDK_ISO_Partial_Space_Left} \alias{GDK_ISO_Partial_Space_Right} \alias{GDK_ISO_Set_Margin_Left} \alias{GDK_ISO_Set_Margin_Right} \alias{GDK_ISO_Release_Margin_Left} \alias{GDK_ISO_Release_Margin_Right} \alias{GDK_ISO_Release_Both_Margins} \alias{GDK_ISO_Fast_Cursor_Left} \alias{GDK_ISO_Fast_Cursor_Right} \alias{GDK_ISO_Fast_Cursor_Up} \alias{GDK_ISO_Fast_Cursor_Down} \alias{GDK_ISO_Continuous_Underline} \alias{GDK_ISO_Discontinuous_Underline} \alias{GDK_ISO_Emphasize} \alias{GDK_ISO_Center_Object} \alias{GDK_ISO_Enter} \alias{GDK_dead_grave} \alias{GDK_dead_acute} \alias{GDK_dead_circumflex} \alias{GDK_dead_tilde} \alias{GDK_dead_macron} \alias{GDK_dead_breve} \alias{GDK_dead_abovedot} \alias{GDK_dead_diaeresis} \alias{GDK_dead_abovering} \alias{GDK_dead_doubleacute} \alias{GDK_dead_caron} \alias{GDK_dead_cedilla} \alias{GDK_dead_ogonek} \alias{GDK_dead_iota} \alias{GDK_dead_voiced_sound} \alias{GDK_dead_semivoiced_sound} \alias{GDK_dead_belowdot} \alias{GDK_dead_hook} \alias{GDK_dead_horn} \alias{GDK_First_Virtual_Screen} \alias{GDK_Prev_Virtual_Screen} \alias{GDK_Next_Virtual_Screen} \alias{GDK_Last_Virtual_Screen} \alias{GDK_Terminate_Server} \alias{GDK_AccessX_Enable} \alias{GDK_AccessX_Feedback_Enable} \alias{GDK_RepeatKeys_Enable} \alias{GDK_SlowKeys_Enable} \alias{GDK_BounceKeys_Enable} \alias{GDK_StickyKeys_Enable} \alias{GDK_MouseKeys_Enable} \alias{GDK_MouseKeys_Accel_Enable} \alias{GDK_Overlay1_Enable} \alias{GDK_Overlay2_Enable} \alias{GDK_AudibleBell_Enable} \alias{GDK_Pointer_Left} \alias{GDK_Pointer_Right} \alias{GDK_Pointer_Up} \alias{GDK_Pointer_Down} \alias{GDK_Pointer_UpLeft} \alias{GDK_Pointer_UpRight} \alias{GDK_Pointer_DownLeft} \alias{GDK_Pointer_DownRight} \alias{GDK_Pointer_Button_Dflt} \alias{GDK_Pointer_Button1} \alias{GDK_Pointer_Button2} \alias{GDK_Pointer_Button3} \alias{GDK_Pointer_Button4} \alias{GDK_Pointer_Button5} \alias{GDK_Pointer_DblClick_Dflt} \alias{GDK_Pointer_DblClick1} \alias{GDK_Pointer_DblClick2} \alias{GDK_Pointer_DblClick3} \alias{GDK_Pointer_DblClick4} \alias{GDK_Pointer_DblClick5} \alias{GDK_Pointer_Drag_Dflt} \alias{GDK_Pointer_Drag1} \alias{GDK_Pointer_Drag2} \alias{GDK_Pointer_Drag3} \alias{GDK_Pointer_Drag4} \alias{GDK_Pointer_Drag5} \alias{GDK_Pointer_EnableKeys} \alias{GDK_Pointer_Accelerate} \alias{GDK_Pointer_DfltBtnNext} \alias{GDK_Pointer_DfltBtnPrev} \alias{GDK_3270_Duplicate} \alias{GDK_3270_FieldMark} \alias{GDK_3270_Right2} \alias{GDK_3270_Left2} \alias{GDK_3270_BackTab} \alias{GDK_3270_EraseEOF} \alias{GDK_3270_EraseInput} \alias{GDK_3270_Reset} \alias{GDK_3270_Quit} \alias{GDK_3270_PA1} \alias{GDK_3270_PA2} \alias{GDK_3270_PA3} \alias{GDK_3270_Test} \alias{GDK_3270_Attn} \alias{GDK_3270_CursorBlink} \alias{GDK_3270_AltCursor} \alias{GDK_3270_KeyClick} \alias{GDK_3270_Jump} \alias{GDK_3270_Ident} \alias{GDK_3270_Rule} \alias{GDK_3270_Copy} \alias{GDK_3270_Play} \alias{GDK_3270_Setup} \alias{GDK_3270_Record} \alias{GDK_3270_ChangeScreen} \alias{GDK_3270_DeleteWord} \alias{GDK_3270_ExSelect} \alias{GDK_3270_CursorSelect} \alias{GDK_3270_PrintScreen} \alias{GDK_3270_Enter} \alias{GDK_space} \alias{GDK_exclam} \alias{GDK_quotedbl} \alias{GDK_numbersign} \alias{GDK_dollar} \alias{GDK_percent} \alias{GDK_ampersand} \alias{GDK_apostrophe} \alias{GDK_quoteright} \alias{GDK_parenleft} \alias{GDK_parenright} \alias{GDK_asterisk} \alias{GDK_plus} \alias{GDK_comma} \alias{GDK_minus} \alias{GDK_period} \alias{GDK_slash} \alias{GDK_0} \alias{GDK_1} \alias{GDK_2} \alias{GDK_3} \alias{GDK_4} \alias{GDK_5} \alias{GDK_6} \alias{GDK_7} \alias{GDK_8} \alias{GDK_9} \alias{GDK_colon} \alias{GDK_semicolon} \alias{GDK_less} \alias{GDK_equal} \alias{GDK_greater} \alias{GDK_question} \alias{GDK_at} \alias{GDK_A} \alias{GDK_B} \alias{GDK_C} \alias{GDK_D} \alias{GDK_E} \alias{GDK_F} \alias{GDK_G} \alias{GDK_H} \alias{GDK_I} \alias{GDK_J} \alias{GDK_K} \alias{GDK_L} \alias{GDK_M} \alias{GDK_N} \alias{GDK_O} \alias{GDK_P} \alias{GDK_Q} \alias{GDK_R} \alias{GDK_S} \alias{GDK_T} \alias{GDK_U} \alias{GDK_V} \alias{GDK_W} \alias{GDK_X} \alias{GDK_Y} \alias{GDK_Z} \alias{GDK_bracketleft} \alias{GDK_backslash} \alias{GDK_bracketright} \alias{GDK_asciicircum} \alias{GDK_underscore} \alias{GDK_grave} \alias{GDK_quoteleft} \alias{GDK_a} \alias{GDK_b} \alias{GDK_c} \alias{GDK_d} \alias{GDK_e} \alias{GDK_f} \alias{GDK_g} \alias{GDK_h} \alias{GDK_i} \alias{GDK_j} \alias{GDK_k} \alias{GDK_l} \alias{GDK_m} \alias{GDK_n} \alias{GDK_o} \alias{GDK_p} \alias{GDK_q} \alias{GDK_r} \alias{GDK_s} \alias{GDK_t} \alias{GDK_u} \alias{GDK_v} \alias{GDK_w} \alias{GDK_x} \alias{GDK_y} \alias{GDK_z} \alias{GDK_braceleft} \alias{GDK_bar} \alias{GDK_braceright} \alias{GDK_asciitilde} \alias{GDK_nobreakspace} \alias{GDK_exclamdown} \alias{GDK_cent} \alias{GDK_sterling} \alias{GDK_currency} \alias{GDK_yen} \alias{GDK_brokenbar} \alias{GDK_section} \alias{GDK_diaeresis} \alias{GDK_copyright} \alias{GDK_ordfeminine} \alias{GDK_guillemotleft} \alias{GDK_notsign} \alias{GDK_hyphen} \alias{GDK_registered} \alias{GDK_macron} \alias{GDK_degree} \alias{GDK_plusminus} \alias{GDK_twosuperior} \alias{GDK_threesuperior} \alias{GDK_acute} \alias{GDK_mu} \alias{GDK_paragraph} \alias{GDK_periodcentered} \alias{GDK_cedilla} \alias{GDK_onesuperior} \alias{GDK_masculine} \alias{GDK_guillemotright} \alias{GDK_onequarter} \alias{GDK_onehalf} \alias{GDK_threequarters} \alias{GDK_questiondown} \alias{GDK_Agrave} \alias{GDK_Aacute} \alias{GDK_Acircumflex} \alias{GDK_Atilde} \alias{GDK_Adiaeresis} \alias{GDK_Aring} \alias{GDK_AE} \alias{GDK_Ccedilla} \alias{GDK_Egrave} \alias{GDK_Eacute} \alias{GDK_Ecircumflex} \alias{GDK_Ediaeresis} \alias{GDK_Igrave} \alias{GDK_Iacute} \alias{GDK_Icircumflex} \alias{GDK_Idiaeresis} \alias{GDK_ETH} \alias{GDK_Eth} \alias{GDK_Ntilde} \alias{GDK_Ograve} \alias{GDK_Oacute} \alias{GDK_Ocircumflex} \alias{GDK_Otilde} \alias{GDK_Odiaeresis} \alias{GDK_multiply} \alias{GDK_Ooblique} \alias{GDK_Ugrave} \alias{GDK_Uacute} \alias{GDK_Ucircumflex} \alias{GDK_Udiaeresis} \alias{GDK_Yacute} \alias{GDK_THORN} \alias{GDK_Thorn} \alias{GDK_ssharp} \alias{GDK_agrave} \alias{GDK_aacute} \alias{GDK_acircumflex} \alias{GDK_atilde} \alias{GDK_adiaeresis} \alias{GDK_aring} \alias{GDK_ae} \alias{GDK_ccedilla} \alias{GDK_egrave} \alias{GDK_eacute} \alias{GDK_ecircumflex} \alias{GDK_ediaeresis} \alias{GDK_igrave} \alias{GDK_iacute} \alias{GDK_icircumflex} \alias{GDK_idiaeresis} \alias{GDK_eth} \alias{GDK_ntilde} \alias{GDK_ograve} \alias{GDK_oacute} \alias{GDK_ocircumflex} \alias{GDK_otilde} \alias{GDK_odiaeresis} \alias{GDK_division} \alias{GDK_oslash} \alias{GDK_ugrave} \alias{GDK_uacute} \alias{GDK_ucircumflex} \alias{GDK_udiaeresis} \alias{GDK_yacute} \alias{GDK_thorn} \alias{GDK_ydiaeresis} \alias{GDK_Aogonek} \alias{GDK_breve} \alias{GDK_Lstroke} \alias{GDK_Lcaron} \alias{GDK_Sacute} \alias{GDK_Scaron} \alias{GDK_Scedilla} \alias{GDK_Tcaron} \alias{GDK_Zacute} \alias{GDK_Zcaron} \alias{GDK_Zabovedot} \alias{GDK_aogonek} \alias{GDK_ogonek} \alias{GDK_lstroke} \alias{GDK_lcaron} \alias{GDK_sacute} \alias{GDK_caron} \alias{GDK_scaron} \alias{GDK_scedilla} \alias{GDK_tcaron} \alias{GDK_zacute} \alias{GDK_doubleacute} \alias{GDK_zcaron} \alias{GDK_zabovedot} \alias{GDK_Racute} \alias{GDK_Abreve} \alias{GDK_Lacute} \alias{GDK_Cacute} \alias{GDK_Ccaron} \alias{GDK_Eogonek} \alias{GDK_Ecaron} \alias{GDK_Dcaron} \alias{GDK_Dstroke} \alias{GDK_Nacute} \alias{GDK_Ncaron} \alias{GDK_Odoubleacute} \alias{GDK_Rcaron} \alias{GDK_Uring} \alias{GDK_Udoubleacute} \alias{GDK_Tcedilla} \alias{GDK_racute} \alias{GDK_abreve} \alias{GDK_lacute} \alias{GDK_cacute} \alias{GDK_ccaron} \alias{GDK_eogonek} \alias{GDK_ecaron} \alias{GDK_dcaron} \alias{GDK_dstroke} \alias{GDK_nacute} \alias{GDK_ncaron} \alias{GDK_odoubleacute} \alias{GDK_udoubleacute} \alias{GDK_rcaron} \alias{GDK_uring} \alias{GDK_tcedilla} \alias{GDK_abovedot} \alias{GDK_Hstroke} \alias{GDK_Hcircumflex} \alias{GDK_Iabovedot} \alias{GDK_Gbreve} \alias{GDK_Jcircumflex} \alias{GDK_hstroke} \alias{GDK_hcircumflex} \alias{GDK_idotless} \alias{GDK_gbreve} \alias{GDK_jcircumflex} \alias{GDK_Cabovedot} \alias{GDK_Ccircumflex} \alias{GDK_Gabovedot} \alias{GDK_Gcircumflex} \alias{GDK_Ubreve} \alias{GDK_Scircumflex} \alias{GDK_cabovedot} \alias{GDK_ccircumflex} \alias{GDK_gabovedot} \alias{GDK_gcircumflex} \alias{GDK_ubreve} \alias{GDK_scircumflex} \alias{GDK_kra} \alias{GDK_kappa} \alias{GDK_Rcedilla} \alias{GDK_Itilde} \alias{GDK_Lcedilla} \alias{GDK_Emacron} \alias{GDK_Gcedilla} \alias{GDK_Tslash} \alias{GDK_rcedilla} \alias{GDK_itilde} \alias{GDK_lcedilla} \alias{GDK_emacron} \alias{GDK_gcedilla} \alias{GDK_tslash} \alias{GDK_ENG} \alias{GDK_eng} \alias{GDK_Amacron} \alias{GDK_Iogonek} \alias{GDK_Eabovedot} \alias{GDK_Imacron} \alias{GDK_Ncedilla} \alias{GDK_Omacron} \alias{GDK_Kcedilla} \alias{GDK_Uogonek} \alias{GDK_Utilde} \alias{GDK_Umacron} \alias{GDK_amacron} \alias{GDK_iogonek} \alias{GDK_eabovedot} \alias{GDK_imacron} \alias{GDK_ncedilla} \alias{GDK_omacron} \alias{GDK_kcedilla} \alias{GDK_uogonek} \alias{GDK_utilde} \alias{GDK_umacron} \alias{GDK_OE} \alias{GDK_oe} \alias{GDK_Ydiaeresis} \alias{GDK_overline} \alias{GDK_kana_fullstop} \alias{GDK_kana_openingbracket} \alias{GDK_kana_closingbracket} \alias{GDK_kana_comma} \alias{GDK_kana_conjunctive} \alias{GDK_kana_middledot} \alias{GDK_kana_WO} \alias{GDK_kana_a} \alias{GDK_kana_i} \alias{GDK_kana_u} \alias{GDK_kana_e} \alias{GDK_kana_o} \alias{GDK_kana_ya} \alias{GDK_kana_yu} \alias{GDK_kana_yo} \alias{GDK_kana_tsu} \alias{GDK_kana_tu} \alias{GDK_prolongedsound} \alias{GDK_kana_A} \alias{GDK_kana_I} \alias{GDK_kana_U} \alias{GDK_kana_E} \alias{GDK_kana_O} \alias{GDK_kana_KA} \alias{GDK_kana_KI} \alias{GDK_kana_KU} \alias{GDK_kana_KE} \alias{GDK_kana_KO} \alias{GDK_kana_SA} \alias{GDK_kana_SHI} \alias{GDK_kana_SU} \alias{GDK_kana_SE} \alias{GDK_kana_SO} \alias{GDK_kana_TA} \alias{GDK_kana_CHI} \alias{GDK_kana_TI} \alias{GDK_kana_TSU} \alias{GDK_kana_TU} \alias{GDK_kana_TE} \alias{GDK_kana_TO} \alias{GDK_kana_NA} \alias{GDK_kana_NI} \alias{GDK_kana_NU} \alias{GDK_kana_NE} \alias{GDK_kana_NO} \alias{GDK_kana_HA} \alias{GDK_kana_HI} \alias{GDK_kana_FU} \alias{GDK_kana_HU} \alias{GDK_kana_HE} \alias{GDK_kana_HO} \alias{GDK_kana_MA} \alias{GDK_kana_MI} \alias{GDK_kana_MU} \alias{GDK_kana_ME} \alias{GDK_kana_MO} \alias{GDK_kana_YA} \alias{GDK_kana_YU} \alias{GDK_kana_YO} \alias{GDK_kana_RA} \alias{GDK_kana_RI} \alias{GDK_kana_RU} \alias{GDK_kana_RE} \alias{GDK_kana_RO} \alias{GDK_kana_WA} \alias{GDK_kana_N} \alias{GDK_voicedsound} \alias{GDK_semivoicedsound} \alias{GDK_kana_switch} \alias{GDK_Arabic_comma} \alias{GDK_Arabic_semicolon} \alias{GDK_Arabic_question_mark} \alias{GDK_Arabic_hamza} \alias{GDK_Arabic_maddaonalef} \alias{GDK_Arabic_hamzaonalef} \alias{GDK_Arabic_hamzaonwaw} \alias{GDK_Arabic_hamzaunderalef} \alias{GDK_Arabic_hamzaonyeh} \alias{GDK_Arabic_alef} \alias{GDK_Arabic_beh} \alias{GDK_Arabic_tehmarbuta} \alias{GDK_Arabic_teh} \alias{GDK_Arabic_theh} \alias{GDK_Arabic_jeem} \alias{GDK_Arabic_hah} \alias{GDK_Arabic_khah} \alias{GDK_Arabic_dal} \alias{GDK_Arabic_thal} \alias{GDK_Arabic_ra} \alias{GDK_Arabic_zain} \alias{GDK_Arabic_seen} \alias{GDK_Arabic_sheen} \alias{GDK_Arabic_sad} \alias{GDK_Arabic_dad} \alias{GDK_Arabic_tah} \alias{GDK_Arabic_zah} \alias{GDK_Arabic_ain} \alias{GDK_Arabic_ghain} \alias{GDK_Arabic_tatweel} \alias{GDK_Arabic_feh} \alias{GDK_Arabic_qaf} \alias{GDK_Arabic_kaf} \alias{GDK_Arabic_lam} \alias{GDK_Arabic_meem} \alias{GDK_Arabic_noon} \alias{GDK_Arabic_ha} \alias{GDK_Arabic_heh} \alias{GDK_Arabic_waw} \alias{GDK_Arabic_alefmaksura} \alias{GDK_Arabic_yeh} \alias{GDK_Arabic_fathatan} \alias{GDK_Arabic_dammatan} \alias{GDK_Arabic_kasratan} \alias{GDK_Arabic_fatha} \alias{GDK_Arabic_damma} \alias{GDK_Arabic_kasra} \alias{GDK_Arabic_shadda} \alias{GDK_Arabic_sukun} \alias{GDK_Arabic_switch} \alias{GDK_Serbian_dje} \alias{GDK_Macedonia_gje} \alias{GDK_Cyrillic_io} \alias{GDK_Ukrainian_ie} \alias{GDK_Ukranian_je} \alias{GDK_Macedonia_dse} \alias{GDK_Ukrainian_i} \alias{GDK_Ukranian_i} \alias{GDK_Ukrainian_yi} \alias{GDK_Ukranian_yi} \alias{GDK_Cyrillic_je} \alias{GDK_Serbian_je} \alias{GDK_Cyrillic_lje} \alias{GDK_Serbian_lje} \alias{GDK_Cyrillic_nje} \alias{GDK_Serbian_nje} \alias{GDK_Serbian_tshe} \alias{GDK_Macedonia_kje} \alias{GDK_Ukrainian_ghe_with_upturn} \alias{GDK_Byelorussian_shortu} \alias{GDK_Cyrillic_dzhe} \alias{GDK_Serbian_dze} \alias{GDK_numerosign} \alias{GDK_Serbian_DJE} \alias{GDK_Macedonia_GJE} \alias{GDK_Cyrillic_IO} \alias{GDK_Ukrainian_IE} \alias{GDK_Ukranian_JE} \alias{GDK_Macedonia_DSE} \alias{GDK_Ukrainian_I} \alias{GDK_Ukranian_I} \alias{GDK_Ukrainian_YI} \alias{GDK_Ukranian_YI} \alias{GDK_Cyrillic_JE} \alias{GDK_Serbian_JE} \alias{GDK_Cyrillic_LJE} \alias{GDK_Serbian_LJE} \alias{GDK_Cyrillic_NJE} \alias{GDK_Serbian_NJE} \alias{GDK_Serbian_TSHE} \alias{GDK_Macedonia_KJE} \alias{GDK_Ukrainian_GHE_WITH_UPTURN} \alias{GDK_Byelorussian_SHORTU} \alias{GDK_Cyrillic_DZHE} \alias{GDK_Serbian_DZE} \alias{GDK_Cyrillic_yu} \alias{GDK_Cyrillic_a} \alias{GDK_Cyrillic_be} \alias{GDK_Cyrillic_tse} \alias{GDK_Cyrillic_de} \alias{GDK_Cyrillic_ie} \alias{GDK_Cyrillic_ef} \alias{GDK_Cyrillic_ghe} \alias{GDK_Cyrillic_ha} \alias{GDK_Cyrillic_i} \alias{GDK_Cyrillic_shorti} \alias{GDK_Cyrillic_ka} \alias{GDK_Cyrillic_el} \alias{GDK_Cyrillic_em} \alias{GDK_Cyrillic_en} \alias{GDK_Cyrillic_o} \alias{GDK_Cyrillic_pe} \alias{GDK_Cyrillic_ya} \alias{GDK_Cyrillic_er} \alias{GDK_Cyrillic_es} \alias{GDK_Cyrillic_te} \alias{GDK_Cyrillic_u} \alias{GDK_Cyrillic_zhe} \alias{GDK_Cyrillic_ve} \alias{GDK_Cyrillic_softsign} \alias{GDK_Cyrillic_yeru} \alias{GDK_Cyrillic_ze} \alias{GDK_Cyrillic_sha} \alias{GDK_Cyrillic_e} \alias{GDK_Cyrillic_shcha} \alias{GDK_Cyrillic_che} \alias{GDK_Cyrillic_hardsign} \alias{GDK_Cyrillic_YU} \alias{GDK_Cyrillic_A} \alias{GDK_Cyrillic_BE} \alias{GDK_Cyrillic_TSE} \alias{GDK_Cyrillic_DE} \alias{GDK_Cyrillic_IE} \alias{GDK_Cyrillic_EF} \alias{GDK_Cyrillic_GHE} \alias{GDK_Cyrillic_HA} \alias{GDK_Cyrillic_I} \alias{GDK_Cyrillic_SHORTI} \alias{GDK_Cyrillic_KA} \alias{GDK_Cyrillic_EL} \alias{GDK_Cyrillic_EM} \alias{GDK_Cyrillic_EN} \alias{GDK_Cyrillic_O} \alias{GDK_Cyrillic_PE} \alias{GDK_Cyrillic_YA} \alias{GDK_Cyrillic_ER} \alias{GDK_Cyrillic_ES} \alias{GDK_Cyrillic_TE} \alias{GDK_Cyrillic_U} \alias{GDK_Cyrillic_ZHE} \alias{GDK_Cyrillic_VE} \alias{GDK_Cyrillic_SOFTSIGN} \alias{GDK_Cyrillic_YERU} \alias{GDK_Cyrillic_ZE} \alias{GDK_Cyrillic_SHA} \alias{GDK_Cyrillic_E} \alias{GDK_Cyrillic_SHCHA} \alias{GDK_Cyrillic_CHE} \alias{GDK_Cyrillic_HARDSIGN} \alias{GDK_Greek_ALPHAaccent} \alias{GDK_Greek_EPSILONaccent} \alias{GDK_Greek_ETAaccent} \alias{GDK_Greek_IOTAaccent} \alias{GDK_Greek_IOTAdieresis} \alias{GDK_Greek_IOTAdiaeresis} \alias{GDK_Greek_OMICRONaccent} \alias{GDK_Greek_UPSILONaccent} \alias{GDK_Greek_UPSILONdieresis} \alias{GDK_Greek_OMEGAaccent} \alias{GDK_Greek_accentdieresis} \alias{GDK_Greek_horizbar} \alias{GDK_Greek_alphaaccent} \alias{GDK_Greek_epsilonaccent} \alias{GDK_Greek_etaaccent} \alias{GDK_Greek_iotaaccent} \alias{GDK_Greek_iotadieresis} \alias{GDK_Greek_iotaaccentdieresis} \alias{GDK_Greek_omicronaccent} \alias{GDK_Greek_upsilonaccent} \alias{GDK_Greek_upsilondieresis} \alias{GDK_Greek_upsilonaccentdieresis} \alias{GDK_Greek_omegaaccent} \alias{GDK_Greek_ALPHA} \alias{GDK_Greek_BETA} \alias{GDK_Greek_GAMMA} \alias{GDK_Greek_DELTA} \alias{GDK_Greek_EPSILON} \alias{GDK_Greek_ZETA} \alias{GDK_Greek_ETA} \alias{GDK_Greek_THETA} \alias{GDK_Greek_IOTA} \alias{GDK_Greek_KAPPA} \alias{GDK_Greek_LAMDA} \alias{GDK_Greek_LAMBDA} \alias{GDK_Greek_MU} \alias{GDK_Greek_NU} \alias{GDK_Greek_XI} \alias{GDK_Greek_OMICRON} \alias{GDK_Greek_PI} \alias{GDK_Greek_RHO} \alias{GDK_Greek_SIGMA} \alias{GDK_Greek_TAU} \alias{GDK_Greek_UPSILON} \alias{GDK_Greek_PHI} \alias{GDK_Greek_CHI} \alias{GDK_Greek_PSI} \alias{GDK_Greek_OMEGA} \alias{GDK_Greek_alpha} \alias{GDK_Greek_beta} \alias{GDK_Greek_gamma} \alias{GDK_Greek_delta} \alias{GDK_Greek_epsilon} \alias{GDK_Greek_zeta} \alias{GDK_Greek_eta} \alias{GDK_Greek_theta} \alias{GDK_Greek_iota} \alias{GDK_Greek_kappa} \alias{GDK_Greek_lamda} \alias{GDK_Greek_lambda} \alias{GDK_Greek_mu} \alias{GDK_Greek_nu} \alias{GDK_Greek_xi} \alias{GDK_Greek_omicron} \alias{GDK_Greek_pi} \alias{GDK_Greek_rho} \alias{GDK_Greek_sigma} \alias{GDK_Greek_finalsmallsigma} \alias{GDK_Greek_tau} \alias{GDK_Greek_upsilon} \alias{GDK_Greek_phi} \alias{GDK_Greek_chi} \alias{GDK_Greek_psi} \alias{GDK_Greek_omega} \alias{GDK_Greek_switch} \alias{GDK_leftradical} \alias{GDK_topleftradical} \alias{GDK_horizconnector} \alias{GDK_topintegral} \alias{GDK_botintegral} \alias{GDK_vertconnector} \alias{GDK_topleftsqbracket} \alias{GDK_botleftsqbracket} \alias{GDK_toprightsqbracket} \alias{GDK_botrightsqbracket} \alias{GDK_topleftparens} \alias{GDK_botleftparens} \alias{GDK_toprightparens} \alias{GDK_botrightparens} \alias{GDK_leftmiddlecurlybrace} \alias{GDK_rightmiddlecurlybrace} \alias{GDK_topleftsummation} \alias{GDK_botleftsummation} \alias{GDK_topvertsummationconnector} \alias{GDK_botvertsummationconnector} \alias{GDK_toprightsummation} \alias{GDK_botrightsummation} \alias{GDK_rightmiddlesummation} \alias{GDK_lessthanequal} \alias{GDK_notequal} \alias{GDK_greaterthanequal} \alias{GDK_integral} \alias{GDK_therefore} \alias{GDK_variation} \alias{GDK_infinity} \alias{GDK_nabla} \alias{GDK_approximate} \alias{GDK_similarequal} \alias{GDK_ifonlyif} \alias{GDK_implies} \alias{GDK_identical} \alias{GDK_radical} \alias{GDK_includedin} \alias{GDK_includes} \alias{GDK_intersection} \alias{GDK_union} \alias{GDK_logicaland} \alias{GDK_logicalor} \alias{GDK_partialderivative} \alias{GDK_function} \alias{GDK_leftarrow} \alias{GDK_uparrow} \alias{GDK_rightarrow} \alias{GDK_downarrow} \alias{GDK_blank} \alias{GDK_soliddiamond} \alias{GDK_checkerboard} \alias{GDK_ht} \alias{GDK_ff} \alias{GDK_cr} \alias{GDK_lf} \alias{GDK_nl} \alias{GDK_vt} \alias{GDK_lowrightcorner} \alias{GDK_uprightcorner} \alias{GDK_upleftcorner} \alias{GDK_lowleftcorner} \alias{GDK_crossinglines} \alias{GDK_horizlinescan1} \alias{GDK_horizlinescan3} \alias{GDK_horizlinescan5} \alias{GDK_horizlinescan7} \alias{GDK_horizlinescan9} \alias{GDK_leftt} \alias{GDK_rightt} \alias{GDK_bott} \alias{GDK_topt} \alias{GDK_vertbar} \alias{GDK_emspace} \alias{GDK_enspace} \alias{GDK_em3space} \alias{GDK_em4space} \alias{GDK_digitspace} \alias{GDK_punctspace} \alias{GDK_thinspace} \alias{GDK_hairspace} \alias{GDK_emdash} \alias{GDK_endash} \alias{GDK_signifblank} \alias{GDK_ellipsis} \alias{GDK_doubbaselinedot} \alias{GDK_onethird} \alias{GDK_twothirds} \alias{GDK_onefifth} \alias{GDK_twofifths} \alias{GDK_threefifths} \alias{GDK_fourfifths} \alias{GDK_onesixth} \alias{GDK_fivesixths} \alias{GDK_careof} \alias{GDK_figdash} \alias{GDK_leftanglebracket} \alias{GDK_decimalpoint} \alias{GDK_rightanglebracket} \alias{GDK_marker} \alias{GDK_oneeighth} \alias{GDK_threeeighths} \alias{GDK_fiveeighths} \alias{GDK_seveneighths} \alias{GDK_trademark} \alias{GDK_signaturemark} \alias{GDK_trademarkincircle} \alias{GDK_leftopentriangle} \alias{GDK_rightopentriangle} \alias{GDK_emopencircle} \alias{GDK_emopenrectangle} \alias{GDK_leftsinglequotemark} \alias{GDK_rightsinglequotemark} \alias{GDK_leftdoublequotemark} \alias{GDK_rightdoublequotemark} \alias{GDK_prescription} \alias{GDK_minutes} \alias{GDK_seconds} \alias{GDK_latincross} \alias{GDK_hexagram} \alias{GDK_filledrectbullet} \alias{GDK_filledlefttribullet} \alias{GDK_filledrighttribullet} \alias{GDK_emfilledcircle} \alias{GDK_emfilledrect} \alias{GDK_enopencircbullet} \alias{GDK_enopensquarebullet} \alias{GDK_openrectbullet} \alias{GDK_opentribulletup} \alias{GDK_opentribulletdown} \alias{GDK_openstar} \alias{GDK_enfilledcircbullet} \alias{GDK_enfilledsqbullet} \alias{GDK_filledtribulletup} \alias{GDK_filledtribulletdown} \alias{GDK_leftpointer} \alias{GDK_rightpointer} \alias{GDK_club} \alias{GDK_diamond} \alias{GDK_heart} \alias{GDK_maltesecross} \alias{GDK_dagger} \alias{GDK_doubledagger} \alias{GDK_checkmark} \alias{GDK_ballotcross} \alias{GDK_musicalsharp} \alias{GDK_musicalflat} \alias{GDK_malesymbol} \alias{GDK_femalesymbol} \alias{GDK_telephone} \alias{GDK_telephonerecorder} \alias{GDK_phonographcopyright} \alias{GDK_caret} \alias{GDK_singlelowquotemark} \alias{GDK_doublelowquotemark} \alias{GDK_cursor} \alias{GDK_leftcaret} \alias{GDK_rightcaret} \alias{GDK_downcaret} \alias{GDK_upcaret} \alias{GDK_overbar} \alias{GDK_downtack} \alias{GDK_upshoe} \alias{GDK_downstile} \alias{GDK_underbar} \alias{GDK_jot} \alias{GDK_quad} \alias{GDK_uptack} \alias{GDK_circle} \alias{GDK_upstile} \alias{GDK_downshoe} \alias{GDK_rightshoe} \alias{GDK_leftshoe} \alias{GDK_lefttack} \alias{GDK_righttack} \alias{GDK_hebrew_doublelowline} \alias{GDK_hebrew_aleph} \alias{GDK_hebrew_bet} \alias{GDK_hebrew_beth} \alias{GDK_hebrew_gimel} \alias{GDK_hebrew_gimmel} \alias{GDK_hebrew_dalet} \alias{GDK_hebrew_daleth} \alias{GDK_hebrew_he} \alias{GDK_hebrew_waw} \alias{GDK_hebrew_zain} \alias{GDK_hebrew_zayin} \alias{GDK_hebrew_chet} \alias{GDK_hebrew_het} \alias{GDK_hebrew_tet} \alias{GDK_hebrew_teth} \alias{GDK_hebrew_yod} \alias{GDK_hebrew_finalkaph} \alias{GDK_hebrew_kaph} \alias{GDK_hebrew_lamed} \alias{GDK_hebrew_finalmem} \alias{GDK_hebrew_mem} \alias{GDK_hebrew_finalnun} \alias{GDK_hebrew_nun} \alias{GDK_hebrew_samech} \alias{GDK_hebrew_samekh} \alias{GDK_hebrew_ayin} \alias{GDK_hebrew_finalpe} \alias{GDK_hebrew_pe} \alias{GDK_hebrew_finalzade} \alias{GDK_hebrew_finalzadi} \alias{GDK_hebrew_zade} \alias{GDK_hebrew_zadi} \alias{GDK_hebrew_qoph} \alias{GDK_hebrew_kuf} \alias{GDK_hebrew_resh} \alias{GDK_hebrew_shin} \alias{GDK_hebrew_taw} \alias{GDK_hebrew_taf} \alias{GDK_Hebrew_switch} \alias{GDK_Thai_kokai} \alias{GDK_Thai_khokhai} \alias{GDK_Thai_khokhuat} \alias{GDK_Thai_khokhwai} \alias{GDK_Thai_khokhon} \alias{GDK_Thai_khorakhang} \alias{GDK_Thai_ngongu} \alias{GDK_Thai_chochan} \alias{GDK_Thai_choching} \alias{GDK_Thai_chochang} \alias{GDK_Thai_soso} \alias{GDK_Thai_chochoe} \alias{GDK_Thai_yoying} \alias{GDK_Thai_dochada} \alias{GDK_Thai_topatak} \alias{GDK_Thai_thothan} \alias{GDK_Thai_thonangmontho} \alias{GDK_Thai_thophuthao} \alias{GDK_Thai_nonen} \alias{GDK_Thai_dodek} \alias{GDK_Thai_totao} \alias{GDK_Thai_thothung} \alias{GDK_Thai_thothahan} \alias{GDK_Thai_thothong} \alias{GDK_Thai_nonu} \alias{GDK_Thai_bobaimai} \alias{GDK_Thai_popla} \alias{GDK_Thai_phophung} \alias{GDK_Thai_fofa} \alias{GDK_Thai_phophan} \alias{GDK_Thai_fofan} \alias{GDK_Thai_phosamphao} \alias{GDK_Thai_moma} \alias{GDK_Thai_yoyak} \alias{GDK_Thai_rorua} \alias{GDK_Thai_ru} \alias{GDK_Thai_loling} \alias{GDK_Thai_lu} \alias{GDK_Thai_wowaen} \alias{GDK_Thai_sosala} \alias{GDK_Thai_sorusi} \alias{GDK_Thai_sosua} \alias{GDK_Thai_hohip} \alias{GDK_Thai_lochula} \alias{GDK_Thai_oang} \alias{GDK_Thai_honokhuk} \alias{GDK_Thai_paiyannoi} \alias{GDK_Thai_saraa} \alias{GDK_Thai_maihanakat} \alias{GDK_Thai_saraaa} \alias{GDK_Thai_saraam} \alias{GDK_Thai_sarai} \alias{GDK_Thai_saraii} \alias{GDK_Thai_saraue} \alias{GDK_Thai_sarauee} \alias{GDK_Thai_sarau} \alias{GDK_Thai_sarauu} \alias{GDK_Thai_phinthu} \alias{GDK_Thai_maihanakat_maitho} \alias{GDK_Thai_baht} \alias{GDK_Thai_sarae} \alias{GDK_Thai_saraae} \alias{GDK_Thai_sarao} \alias{GDK_Thai_saraaimaimuan} \alias{GDK_Thai_saraaimaimalai} \alias{GDK_Thai_lakkhangyao} \alias{GDK_Thai_maiyamok} \alias{GDK_Thai_maitaikhu} \alias{GDK_Thai_maiek} \alias{GDK_Thai_maitho} \alias{GDK_Thai_maitri} \alias{GDK_Thai_maichattawa} \alias{GDK_Thai_thanthakhat} \alias{GDK_Thai_nikhahit} \alias{GDK_Thai_leksun} \alias{GDK_Thai_leknung} \alias{GDK_Thai_leksong} \alias{GDK_Thai_leksam} \alias{GDK_Thai_leksi} \alias{GDK_Thai_lekha} \alias{GDK_Thai_lekhok} \alias{GDK_Thai_lekchet} \alias{GDK_Thai_lekpaet} \alias{GDK_Thai_lekkao} \alias{GDK_Hangul} \alias{GDK_Hangul_Start} \alias{GDK_Hangul_End} \alias{GDK_Hangul_Hanja} \alias{GDK_Hangul_Jamo} \alias{GDK_Hangul_Romaja} \alias{GDK_Hangul_Codeinput} \alias{GDK_Hangul_Jeonja} \alias{GDK_Hangul_Banja} \alias{GDK_Hangul_PreHanja} \alias{GDK_Hangul_PostHanja} \alias{GDK_Hangul_SingleCandidate} \alias{GDK_Hangul_MultipleCandidate} \alias{GDK_Hangul_PreviousCandidate} \alias{GDK_Hangul_Special} \alias{GDK_Hangul_switch} \alias{GDK_Hangul_Kiyeog} \alias{GDK_Hangul_SsangKiyeog} \alias{GDK_Hangul_KiyeogSios} \alias{GDK_Hangul_Nieun} \alias{GDK_Hangul_NieunJieuj} \alias{GDK_Hangul_NieunHieuh} \alias{GDK_Hangul_Dikeud} \alias{GDK_Hangul_SsangDikeud} \alias{GDK_Hangul_Rieul} \alias{GDK_Hangul_RieulKiyeog} \alias{GDK_Hangul_RieulMieum} \alias{GDK_Hangul_RieulPieub} \alias{GDK_Hangul_RieulSios} \alias{GDK_Hangul_RieulTieut} \alias{GDK_Hangul_RieulPhieuf} \alias{GDK_Hangul_RieulHieuh} \alias{GDK_Hangul_Mieum} \alias{GDK_Hangul_Pieub} \alias{GDK_Hangul_SsangPieub} \alias{GDK_Hangul_PieubSios} \alias{GDK_Hangul_Sios} \alias{GDK_Hangul_SsangSios} \alias{GDK_Hangul_Ieung} \alias{GDK_Hangul_Jieuj} \alias{GDK_Hangul_SsangJieuj} \alias{GDK_Hangul_Cieuc} \alias{GDK_Hangul_Khieuq} \alias{GDK_Hangul_Tieut} \alias{GDK_Hangul_Phieuf} \alias{GDK_Hangul_Hieuh} \alias{GDK_Hangul_A} \alias{GDK_Hangul_AE} \alias{GDK_Hangul_YA} \alias{GDK_Hangul_YAE} \alias{GDK_Hangul_EO} \alias{GDK_Hangul_E} \alias{GDK_Hangul_YEO} \alias{GDK_Hangul_YE} \alias{GDK_Hangul_O} \alias{GDK_Hangul_WA} \alias{GDK_Hangul_WAE} \alias{GDK_Hangul_OE} \alias{GDK_Hangul_YO} \alias{GDK_Hangul_U} \alias{GDK_Hangul_WEO} \alias{GDK_Hangul_WE} \alias{GDK_Hangul_WI} \alias{GDK_Hangul_YU} \alias{GDK_Hangul_EU} \alias{GDK_Hangul_YI} \alias{GDK_Hangul_I} \alias{GDK_Hangul_J_Kiyeog} \alias{GDK_Hangul_J_SsangKiyeog} \alias{GDK_Hangul_J_KiyeogSios} \alias{GDK_Hangul_J_Nieun} \alias{GDK_Hangul_J_NieunJieuj} \alias{GDK_Hangul_J_NieunHieuh} \alias{GDK_Hangul_J_Dikeud} \alias{GDK_Hangul_J_Rieul} \alias{GDK_Hangul_J_RieulKiyeog} \alias{GDK_Hangul_J_RieulMieum} \alias{GDK_Hangul_J_RieulPieub} \alias{GDK_Hangul_J_RieulSios} \alias{GDK_Hangul_J_RieulTieut} \alias{GDK_Hangul_J_RieulPhieuf} \alias{GDK_Hangul_J_RieulHieuh} \alias{GDK_Hangul_J_Mieum} \alias{GDK_Hangul_J_Pieub} \alias{GDK_Hangul_J_PieubSios} \alias{GDK_Hangul_J_Sios} \alias{GDK_Hangul_J_SsangSios} \alias{GDK_Hangul_J_Ieung} \alias{GDK_Hangul_J_Jieuj} \alias{GDK_Hangul_J_Cieuc} \alias{GDK_Hangul_J_Khieuq} \alias{GDK_Hangul_J_Tieut} \alias{GDK_Hangul_J_Phieuf} \alias{GDK_Hangul_J_Hieuh} \alias{GDK_Hangul_RieulYeorinHieuh} \alias{GDK_Hangul_SunkyeongeumMieum} \alias{GDK_Hangul_SunkyeongeumPieub} \alias{GDK_Hangul_PanSios} \alias{GDK_Hangul_KkogjiDalrinIeung} \alias{GDK_Hangul_SunkyeongeumPhieuf} \alias{GDK_Hangul_YeorinHieuh} \alias{GDK_Hangul_AraeA} \alias{GDK_Hangul_AraeAE} \alias{GDK_Hangul_J_PanSios} \alias{GDK_Hangul_J_KkogjiDalrinIeung} \alias{GDK_Hangul_J_YeorinHieuh} \alias{GDK_Korean_Won} \alias{GDK_EcuSign} \alias{GDK_ColonSign} \alias{GDK_CruzeiroSign} \alias{GDK_FFrancSign} \alias{GDK_LiraSign} \alias{GDK_MillSign} \alias{GDK_NairaSign} \alias{GDK_PesetaSign} \alias{GDK_RupeeSign} \alias{GDK_WonSign} \alias{GDK_NewSheqelSign} \alias{GDK_DongSign} \alias{GDK_EuroSign} \name{gdkKeySyms} \title{GDK Key Constants} \description{List of GDK key constants. Use them for identifying the key pressed in a \code{\link{GdkEventKey}} or GTK+ accelerator.} \details{ Here is a list of the constants: \itemize{ \item \code{GDK_VoidSymbol} \item \code{GDK_BackSpace} \item \code{GDK_Tab} \item \code{GDK_Linefeed} \item \code{GDK_Clear} \item \code{GDK_Return} \item \code{GDK_Pause} \item \code{GDK_Scroll_Lock} \item \code{GDK_Sys_Req} \item \code{GDK_Escape} \item \code{GDK_Delete} \item \code{GDK_Multi_key} \item \code{GDK_Codeinput} \item \code{GDK_SingleCandidate} \item \code{GDK_MultipleCandidate} \item \code{GDK_PreviousCandidate} \item \code{GDK_Kanji} \item \code{GDK_Muhenkan} \item \code{GDK_Henkan_Mode} \item \code{GDK_Henkan} \item \code{GDK_Romaji} \item \code{GDK_Hiragana} \item \code{GDK_Katakana} \item \code{GDK_Hiragana_Katakana} \item \code{GDK_Zenkaku} \item \code{GDK_Hankaku} \item \code{GDK_Zenkaku_Hankaku} \item \code{GDK_Touroku} \item \code{GDK_Massyo} \item \code{GDK_Kana_Lock} \item \code{GDK_Kana_Shift} \item \code{GDK_Eisu_Shift} \item \code{GDK_Eisu_toggle} \item \code{GDK_Kanji_Bangou} \item \code{GDK_Zen_Koho} \item \code{GDK_Mae_Koho} \item \code{GDK_Home} \item \code{GDK_Left} \item \code{GDK_Up} \item \code{GDK_Right} \item \code{GDK_Down} \item \code{GDK_Prior} \item \code{GDK_Page_Up} \item \code{GDK_Next} \item \code{GDK_Page_Down} \item \code{GDK_End} \item \code{GDK_Begin} \item \code{GDK_Select} \item \code{GDK_Print} \item \code{GDK_Execute} \item \code{GDK_Insert} \item \code{GDK_Undo} \item \code{GDK_Redo} \item \code{GDK_Menu} \item \code{GDK_Find} \item \code{GDK_Cancel} \item \code{GDK_Help} \item \code{GDK_Break} \item \code{GDK_Mode_switch} \item \code{GDK_script_switch} \item \code{GDK_Num_Lock} \item \code{GDK_KP_Space} \item \code{GDK_KP_Tab} \item \code{GDK_KP_Enter} \item \code{GDK_KP_F1} \item \code{GDK_KP_F2} \item \code{GDK_KP_F3} \item \code{GDK_KP_F4} \item \code{GDK_KP_Home} \item \code{GDK_KP_Left} \item \code{GDK_KP_Up} \item \code{GDK_KP_Right} \item \code{GDK_KP_Down} \item \code{GDK_KP_Prior} \item \code{GDK_KP_Page_Up} \item \code{GDK_KP_Next} \item \code{GDK_KP_Page_Down} \item \code{GDK_KP_End} \item \code{GDK_KP_Begin} \item \code{GDK_KP_Insert} \item \code{GDK_KP_Delete} \item \code{GDK_KP_Equal} \item \code{GDK_KP_Multiply} \item \code{GDK_KP_Add} \item \code{GDK_KP_Separator} \item \code{GDK_KP_Subtract} \item \code{GDK_KP_Decimal} \item \code{GDK_KP_Divide} \item \code{GDK_KP_0} \item \code{GDK_KP_1} \item \code{GDK_KP_2} \item \code{GDK_KP_3} \item \code{GDK_KP_4} \item \code{GDK_KP_5} \item \code{GDK_KP_6} \item \code{GDK_KP_7} \item \code{GDK_KP_8} \item \code{GDK_KP_9} \item \code{GDK_F1} \item \code{GDK_F2} \item \code{GDK_F3} \item \code{GDK_F4} \item \code{GDK_F5} \item \code{GDK_F6} \item \code{GDK_F7} \item \code{GDK_F8} \item \code{GDK_F9} \item \code{GDK_F10} \item \code{GDK_F11} \item \code{GDK_L1} \item \code{GDK_F12} \item \code{GDK_L2} \item \code{GDK_F13} \item \code{GDK_L3} \item \code{GDK_F14} \item \code{GDK_L4} \item \code{GDK_F15} \item \code{GDK_L5} \item \code{GDK_F16} \item \code{GDK_L6} \item \code{GDK_F17} \item \code{GDK_L7} \item \code{GDK_F18} \item \code{GDK_L8} \item \code{GDK_F19} \item \code{GDK_L9} \item \code{GDK_F20} \item \code{GDK_L10} \item \code{GDK_F21} \item \code{GDK_R1} \item \code{GDK_F22} \item \code{GDK_R2} \item \code{GDK_F23} \item \code{GDK_R3} \item \code{GDK_F24} \item \code{GDK_R4} \item \code{GDK_F25} \item \code{GDK_R5} \item \code{GDK_F26} \item \code{GDK_R6} \item \code{GDK_F27} \item \code{GDK_R7} \item \code{GDK_F28} \item \code{GDK_R8} \item \code{GDK_F29} \item \code{GDK_R9} \item \code{GDK_F30} \item \code{GDK_R10} \item \code{GDK_F31} \item \code{GDK_R11} \item \code{GDK_F32} \item \code{GDK_R12} \item \code{GDK_F33} \item \code{GDK_R13} \item \code{GDK_F34} \item \code{GDK_R14} \item \code{GDK_F35} \item \code{GDK_R15} \item \code{GDK_Shift_L} \item \code{GDK_Shift_R} \item \code{GDK_Control_L} \item \code{GDK_Control_R} \item \code{GDK_Caps_Lock} \item \code{GDK_Shift_Lock} \item \code{GDK_Meta_L} \item \code{GDK_Meta_R} \item \code{GDK_Alt_L} \item \code{GDK_Alt_R} \item \code{GDK_Super_L} \item \code{GDK_Super_R} \item \code{GDK_Hyper_L} \item \code{GDK_Hyper_R} \item \code{GDK_ISO_Lock} \item \code{GDK_ISO_Level2_Latch} \item \code{GDK_ISO_Level3_Shift} \item \code{GDK_ISO_Level3_Latch} \item \code{GDK_ISO_Level3_Lock} \item \code{GDK_ISO_Group_Shift} \item \code{GDK_ISO_Group_Latch} \item \code{GDK_ISO_Group_Lock} \item \code{GDK_ISO_Next_Group} \item \code{GDK_ISO_Next_Group_Lock} \item \code{GDK_ISO_Prev_Group} \item \code{GDK_ISO_Prev_Group_Lock} \item \code{GDK_ISO_First_Group} \item \code{GDK_ISO_First_Group_Lock} \item \code{GDK_ISO_Last_Group} \item \code{GDK_ISO_Last_Group_Lock} \item \code{GDK_ISO_Left_Tab} \item \code{GDK_ISO_Move_Line_Up} \item \code{GDK_ISO_Move_Line_Down} \item \code{GDK_ISO_Partial_Line_Up} \item \code{GDK_ISO_Partial_Line_Down} \item \code{GDK_ISO_Partial_Space_Left} \item \code{GDK_ISO_Partial_Space_Right} \item \code{GDK_ISO_Set_Margin_Left} \item \code{GDK_ISO_Set_Margin_Right} \item \code{GDK_ISO_Release_Margin_Left} \item \code{GDK_ISO_Release_Margin_Right} \item \code{GDK_ISO_Release_Both_Margins} \item \code{GDK_ISO_Fast_Cursor_Left} \item \code{GDK_ISO_Fast_Cursor_Right} \item \code{GDK_ISO_Fast_Cursor_Up} \item \code{GDK_ISO_Fast_Cursor_Down} \item \code{GDK_ISO_Continuous_Underline} \item \code{GDK_ISO_Discontinuous_Underline} \item \code{GDK_ISO_Emphasize} \item \code{GDK_ISO_Center_Object} \item \code{GDK_ISO_Enter} \item \code{GDK_dead_grave} \item \code{GDK_dead_acute} \item \code{GDK_dead_circumflex} \item \code{GDK_dead_tilde} \item \code{GDK_dead_macron} \item \code{GDK_dead_breve} \item \code{GDK_dead_abovedot} \item \code{GDK_dead_diaeresis} \item \code{GDK_dead_abovering} \item \code{GDK_dead_doubleacute} \item \code{GDK_dead_caron} \item \code{GDK_dead_cedilla} \item \code{GDK_dead_ogonek} \item \code{GDK_dead_iota} \item \code{GDK_dead_voiced_sound} \item \code{GDK_dead_semivoiced_sound} \item \code{GDK_dead_belowdot} \item \code{GDK_dead_hook} \item \code{GDK_dead_horn} \item \code{GDK_First_Virtual_Screen} \item \code{GDK_Prev_Virtual_Screen} \item \code{GDK_Next_Virtual_Screen} \item \code{GDK_Last_Virtual_Screen} \item \code{GDK_Terminate_Server} \item \code{GDK_AccessX_Enable} \item \code{GDK_AccessX_Feedback_Enable} \item \code{GDK_RepeatKeys_Enable} \item \code{GDK_SlowKeys_Enable} \item \code{GDK_BounceKeys_Enable} \item \code{GDK_StickyKeys_Enable} \item \code{GDK_MouseKeys_Enable} \item \code{GDK_MouseKeys_Accel_Enable} \item \code{GDK_Overlay1_Enable} \item \code{GDK_Overlay2_Enable} \item \code{GDK_AudibleBell_Enable} \item \code{GDK_Pointer_Left} \item \code{GDK_Pointer_Right} \item \code{GDK_Pointer_Up} \item \code{GDK_Pointer_Down} \item \code{GDK_Pointer_UpLeft} \item \code{GDK_Pointer_UpRight} \item \code{GDK_Pointer_DownLeft} \item \code{GDK_Pointer_DownRight} \item \code{GDK_Pointer_Button_Dflt} \item \code{GDK_Pointer_Button1} \item \code{GDK_Pointer_Button2} \item \code{GDK_Pointer_Button3} \item \code{GDK_Pointer_Button4} \item \code{GDK_Pointer_Button5} \item \code{GDK_Pointer_DblClick_Dflt} \item \code{GDK_Pointer_DblClick1} \item \code{GDK_Pointer_DblClick2} \item \code{GDK_Pointer_DblClick3} \item \code{GDK_Pointer_DblClick4} \item \code{GDK_Pointer_DblClick5} \item \code{GDK_Pointer_Drag_Dflt} \item \code{GDK_Pointer_Drag1} \item \code{GDK_Pointer_Drag2} \item \code{GDK_Pointer_Drag3} \item \code{GDK_Pointer_Drag4} \item \code{GDK_Pointer_Drag5} \item \code{GDK_Pointer_EnableKeys} \item \code{GDK_Pointer_Accelerate} \item \code{GDK_Pointer_DfltBtnNext} \item \code{GDK_Pointer_DfltBtnPrev} \item \code{GDK_3270_Duplicate} \item \code{GDK_3270_FieldMark} \item \code{GDK_3270_Right2} \item \code{GDK_3270_Left2} \item \code{GDK_3270_BackTab} \item \code{GDK_3270_EraseEOF} \item \code{GDK_3270_EraseInput} \item \code{GDK_3270_Reset} \item \code{GDK_3270_Quit} \item \code{GDK_3270_PA1} \item \code{GDK_3270_PA2} \item \code{GDK_3270_PA3} \item \code{GDK_3270_Test} \item \code{GDK_3270_Attn} \item \code{GDK_3270_CursorBlink} \item \code{GDK_3270_AltCursor} \item \code{GDK_3270_KeyClick} \item \code{GDK_3270_Jump} \item \code{GDK_3270_Ident} \item \code{GDK_3270_Rule} \item \code{GDK_3270_Copy} \item \code{GDK_3270_Play} \item \code{GDK_3270_Setup} \item \code{GDK_3270_Record} \item \code{GDK_3270_ChangeScreen} \item \code{GDK_3270_DeleteWord} \item \code{GDK_3270_ExSelect} \item \code{GDK_3270_CursorSelect} \item \code{GDK_3270_PrintScreen} \item \code{GDK_3270_Enter} \item \code{GDK_space} \item \code{GDK_exclam} \item \code{GDK_quotedbl} \item \code{GDK_numbersign} \item \code{GDK_dollar} \item \code{GDK_percent} \item \code{GDK_ampersand} \item \code{GDK_apostrophe} \item \code{GDK_quoteright} \item \code{GDK_parenleft} \item \code{GDK_parenright} \item \code{GDK_asterisk} \item \code{GDK_plus} \item \code{GDK_comma} \item \code{GDK_minus} \item \code{GDK_period} \item \code{GDK_slash} \item \code{GDK_0} \item \code{GDK_1} \item \code{GDK_2} \item \code{GDK_3} \item \code{GDK_4} \item \code{GDK_5} \item \code{GDK_6} \item \code{GDK_7} \item \code{GDK_8} \item \code{GDK_9} \item \code{GDK_colon} \item \code{GDK_semicolon} \item \code{GDK_less} \item \code{GDK_equal} \item \code{GDK_greater} \item \code{GDK_question} \item \code{GDK_at} \item \code{GDK_A} \item \code{GDK_B} \item \code{GDK_C} \item \code{GDK_D} \item \code{GDK_E} \item \code{GDK_F} \item \code{GDK_G} \item \code{GDK_H} \item \code{GDK_I} \item \code{GDK_J} \item \code{GDK_K} \item \code{GDK_L} \item \code{GDK_M} \item \code{GDK_N} \item \code{GDK_O} \item \code{GDK_P} \item \code{GDK_Q} \item \code{GDK_R} \item \code{GDK_S} \item \code{GDK_T} \item \code{GDK_U} \item \code{GDK_V} \item \code{GDK_W} \item \code{GDK_X} \item \code{GDK_Y} \item \code{GDK_Z} \item \code{GDK_bracketleft} \item \code{GDK_backslash} \item \code{GDK_bracketright} \item \code{GDK_asciicircum} \item \code{GDK_underscore} \item \code{GDK_grave} \item \code{GDK_quoteleft} \item \code{GDK_a} \item \code{GDK_b} \item \code{GDK_c} \item \code{GDK_d} \item \code{GDK_e} \item \code{GDK_f} \item \code{GDK_g} \item \code{GDK_h} \item \code{GDK_i} \item \code{GDK_j} \item \code{GDK_k} \item \code{GDK_l} \item \code{GDK_m} \item \code{GDK_n} \item \code{GDK_o} \item \code{GDK_p} \item \code{GDK_q} \item \code{GDK_r} \item \code{GDK_s} \item \code{GDK_t} \item \code{GDK_u} \item \code{GDK_v} \item \code{GDK_w} \item \code{GDK_x} \item \code{GDK_y} \item \code{GDK_z} \item \code{GDK_braceleft} \item \code{GDK_bar} \item \code{GDK_braceright} \item \code{GDK_asciitilde} \item \code{GDK_nobreakspace} \item \code{GDK_exclamdown} \item \code{GDK_cent} \item \code{GDK_sterling} \item \code{GDK_currency} \item \code{GDK_yen} \item \code{GDK_brokenbar} \item \code{GDK_section} \item \code{GDK_diaeresis} \item \code{GDK_copyright} \item \code{GDK_ordfeminine} \item \code{GDK_guillemotleft} \item \code{GDK_notsign} \item \code{GDK_hyphen} \item \code{GDK_registered} \item \code{GDK_macron} \item \code{GDK_degree} \item \code{GDK_plusminus} \item \code{GDK_twosuperior} \item \code{GDK_threesuperior} \item \code{GDK_acute} \item \code{GDK_mu} \item \code{GDK_paragraph} \item \code{GDK_periodcentered} \item \code{GDK_cedilla} \item \code{GDK_onesuperior} \item \code{GDK_masculine} \item \code{GDK_guillemotright} \item \code{GDK_onequarter} \item \code{GDK_onehalf} \item \code{GDK_threequarters} \item \code{GDK_questiondown} \item \code{GDK_Agrave} \item \code{GDK_Aacute} \item \code{GDK_Acircumflex} \item \code{GDK_Atilde} \item \code{GDK_Adiaeresis} \item \code{GDK_Aring} \item \code{GDK_AE} \item \code{GDK_Ccedilla} \item \code{GDK_Egrave} \item \code{GDK_Eacute} \item \code{GDK_Ecircumflex} \item \code{GDK_Ediaeresis} \item \code{GDK_Igrave} \item \code{GDK_Iacute} \item \code{GDK_Icircumflex} \item \code{GDK_Idiaeresis} \item \code{GDK_ETH} \item \code{GDK_Eth} \item \code{GDK_Ntilde} \item \code{GDK_Ograve} \item \code{GDK_Oacute} \item \code{GDK_Ocircumflex} \item \code{GDK_Otilde} \item \code{GDK_Odiaeresis} \item \code{GDK_multiply} \item \code{GDK_Ooblique} \item \code{GDK_Ugrave} \item \code{GDK_Uacute} \item \code{GDK_Ucircumflex} \item \code{GDK_Udiaeresis} \item \code{GDK_Yacute} \item \code{GDK_THORN} \item \code{GDK_Thorn} \item \code{GDK_ssharp} \item \code{GDK_agrave} \item \code{GDK_aacute} \item \code{GDK_acircumflex} \item \code{GDK_atilde} \item \code{GDK_adiaeresis} \item \code{GDK_aring} \item \code{GDK_ae} \item \code{GDK_ccedilla} \item \code{GDK_egrave} \item \code{GDK_eacute} \item \code{GDK_ecircumflex} \item \code{GDK_ediaeresis} \item \code{GDK_igrave} \item \code{GDK_iacute} \item \code{GDK_icircumflex} \item \code{GDK_idiaeresis} \item \code{GDK_eth} \item \code{GDK_ntilde} \item \code{GDK_ograve} \item \code{GDK_oacute} \item \code{GDK_ocircumflex} \item \code{GDK_otilde} \item \code{GDK_odiaeresis} \item \code{GDK_division} \item \code{GDK_oslash} \item \code{GDK_ugrave} \item \code{GDK_uacute} \item \code{GDK_ucircumflex} \item \code{GDK_udiaeresis} \item \code{GDK_yacute} \item \code{GDK_thorn} \item \code{GDK_ydiaeresis} \item \code{GDK_Aogonek} \item \code{GDK_breve} \item \code{GDK_Lstroke} \item \code{GDK_Lcaron} \item \code{GDK_Sacute} \item \code{GDK_Scaron} \item \code{GDK_Scedilla} \item \code{GDK_Tcaron} \item \code{GDK_Zacute} \item \code{GDK_Zcaron} \item \code{GDK_Zabovedot} \item \code{GDK_aogonek} \item \code{GDK_ogonek} \item \code{GDK_lstroke} \item \code{GDK_lcaron} \item \code{GDK_sacute} \item \code{GDK_caron} \item \code{GDK_scaron} \item \code{GDK_scedilla} \item \code{GDK_tcaron} \item \code{GDK_zacute} \item \code{GDK_doubleacute} \item \code{GDK_zcaron} \item \code{GDK_zabovedot} \item \code{GDK_Racute} \item \code{GDK_Abreve} \item \code{GDK_Lacute} \item \code{GDK_Cacute} \item \code{GDK_Ccaron} \item \code{GDK_Eogonek} \item \code{GDK_Ecaron} \item \code{GDK_Dcaron} \item \code{GDK_Dstroke} \item \code{GDK_Nacute} \item \code{GDK_Ncaron} \item \code{GDK_Odoubleacute} \item \code{GDK_Rcaron} \item \code{GDK_Uring} \item \code{GDK_Udoubleacute} \item \code{GDK_Tcedilla} \item \code{GDK_racute} \item \code{GDK_abreve} \item \code{GDK_lacute} \item \code{GDK_cacute} \item \code{GDK_ccaron} \item \code{GDK_eogonek} \item \code{GDK_ecaron} \item \code{GDK_dcaron} \item \code{GDK_dstroke} \item \code{GDK_nacute} \item \code{GDK_ncaron} \item \code{GDK_odoubleacute} \item \code{GDK_udoubleacute} \item \code{GDK_rcaron} \item \code{GDK_uring} \item \code{GDK_tcedilla} \item \code{GDK_abovedot} \item \code{GDK_Hstroke} \item \code{GDK_Hcircumflex} \item \code{GDK_Iabovedot} \item \code{GDK_Gbreve} \item \code{GDK_Jcircumflex} \item \code{GDK_hstroke} \item \code{GDK_hcircumflex} \item \code{GDK_idotless} \item \code{GDK_gbreve} \item \code{GDK_jcircumflex} \item \code{GDK_Cabovedot} \item \code{GDK_Ccircumflex} \item \code{GDK_Gabovedot} \item \code{GDK_Gcircumflex} \item \code{GDK_Ubreve} \item \code{GDK_Scircumflex} \item \code{GDK_cabovedot} \item \code{GDK_ccircumflex} \item \code{GDK_gabovedot} \item \code{GDK_gcircumflex} \item \code{GDK_ubreve} \item \code{GDK_scircumflex} \item \code{GDK_kra} \item \code{GDK_kappa} \item \code{GDK_Rcedilla} \item \code{GDK_Itilde} \item \code{GDK_Lcedilla} \item \code{GDK_Emacron} \item \code{GDK_Gcedilla} \item \code{GDK_Tslash} \item \code{GDK_rcedilla} \item \code{GDK_itilde} \item \code{GDK_lcedilla} \item \code{GDK_emacron} \item \code{GDK_gcedilla} \item \code{GDK_tslash} \item \code{GDK_ENG} \item \code{GDK_eng} \item \code{GDK_Amacron} \item \code{GDK_Iogonek} \item \code{GDK_Eabovedot} \item \code{GDK_Imacron} \item \code{GDK_Ncedilla} \item \code{GDK_Omacron} \item \code{GDK_Kcedilla} \item \code{GDK_Uogonek} \item \code{GDK_Utilde} \item \code{GDK_Umacron} \item \code{GDK_amacron} \item \code{GDK_iogonek} \item \code{GDK_eabovedot} \item \code{GDK_imacron} \item \code{GDK_ncedilla} \item \code{GDK_omacron} \item \code{GDK_kcedilla} \item \code{GDK_uogonek} \item \code{GDK_utilde} \item \code{GDK_umacron} \item \code{GDK_OE} \item \code{GDK_oe} \item \code{GDK_Ydiaeresis} \item \code{GDK_overline} \item \code{GDK_kana_fullstop} \item \code{GDK_kana_openingbracket} \item \code{GDK_kana_closingbracket} \item \code{GDK_kana_comma} \item \code{GDK_kana_conjunctive} \item \code{GDK_kana_middledot} \item \code{GDK_kana_WO} \item \code{GDK_kana_a} \item \code{GDK_kana_i} \item \code{GDK_kana_u} \item \code{GDK_kana_e} \item \code{GDK_kana_o} \item \code{GDK_kana_ya} \item \code{GDK_kana_yu} \item \code{GDK_kana_yo} \item \code{GDK_kana_tsu} \item \code{GDK_kana_tu} \item \code{GDK_prolongedsound} \item \code{GDK_kana_A} \item \code{GDK_kana_I} \item \code{GDK_kana_U} \item \code{GDK_kana_E} \item \code{GDK_kana_O} \item \code{GDK_kana_KA} \item \code{GDK_kana_KI} \item \code{GDK_kana_KU} \item \code{GDK_kana_KE} \item \code{GDK_kana_KO} \item \code{GDK_kana_SA} \item \code{GDK_kana_SHI} \item \code{GDK_kana_SU} \item \code{GDK_kana_SE} \item \code{GDK_kana_SO} \item \code{GDK_kana_TA} \item \code{GDK_kana_CHI} \item \code{GDK_kana_TI} \item \code{GDK_kana_TSU} \item \code{GDK_kana_TU} \item \code{GDK_kana_TE} \item \code{GDK_kana_TO} \item \code{GDK_kana_NA} \item \code{GDK_kana_NI} \item \code{GDK_kana_NU} \item \code{GDK_kana_NE} \item \code{GDK_kana_NO} \item \code{GDK_kana_HA} \item \code{GDK_kana_HI} \item \code{GDK_kana_FU} \item \code{GDK_kana_HU} \item \code{GDK_kana_HE} \item \code{GDK_kana_HO} \item \code{GDK_kana_MA} \item \code{GDK_kana_MI} \item \code{GDK_kana_MU} \item \code{GDK_kana_ME} \item \code{GDK_kana_MO} \item \code{GDK_kana_YA} \item \code{GDK_kana_YU} \item \code{GDK_kana_YO} \item \code{GDK_kana_RA} \item \code{GDK_kana_RI} \item \code{GDK_kana_RU} \item \code{GDK_kana_RE} \item \code{GDK_kana_RO} \item \code{GDK_kana_WA} \item \code{GDK_kana_N} \item \code{GDK_voicedsound} \item \code{GDK_semivoicedsound} \item \code{GDK_kana_switch} \item \code{GDK_Arabic_comma} \item \code{GDK_Arabic_semicolon} \item \code{GDK_Arabic_question_mark} \item \code{GDK_Arabic_hamza} \item \code{GDK_Arabic_maddaonalef} \item \code{GDK_Arabic_hamzaonalef} \item \code{GDK_Arabic_hamzaonwaw} \item \code{GDK_Arabic_hamzaunderalef} \item \code{GDK_Arabic_hamzaonyeh} \item \code{GDK_Arabic_alef} \item \code{GDK_Arabic_beh} \item \code{GDK_Arabic_tehmarbuta} \item \code{GDK_Arabic_teh} \item \code{GDK_Arabic_theh} \item \code{GDK_Arabic_jeem} \item \code{GDK_Arabic_hah} \item \code{GDK_Arabic_khah} \item \code{GDK_Arabic_dal} \item \code{GDK_Arabic_thal} \item \code{GDK_Arabic_ra} \item \code{GDK_Arabic_zain} \item \code{GDK_Arabic_seen} \item \code{GDK_Arabic_sheen} \item \code{GDK_Arabic_sad} \item \code{GDK_Arabic_dad} \item \code{GDK_Arabic_tah} \item \code{GDK_Arabic_zah} \item \code{GDK_Arabic_ain} \item \code{GDK_Arabic_ghain} \item \code{GDK_Arabic_tatweel} \item \code{GDK_Arabic_feh} \item \code{GDK_Arabic_qaf} \item \code{GDK_Arabic_kaf} \item \code{GDK_Arabic_lam} \item \code{GDK_Arabic_meem} \item \code{GDK_Arabic_noon} \item \code{GDK_Arabic_ha} \item \code{GDK_Arabic_heh} \item \code{GDK_Arabic_waw} \item \code{GDK_Arabic_alefmaksura} \item \code{GDK_Arabic_yeh} \item \code{GDK_Arabic_fathatan} \item \code{GDK_Arabic_dammatan} \item \code{GDK_Arabic_kasratan} \item \code{GDK_Arabic_fatha} \item \code{GDK_Arabic_damma} \item \code{GDK_Arabic_kasra} \item \code{GDK_Arabic_shadda} \item \code{GDK_Arabic_sukun} \item \code{GDK_Arabic_switch} \item \code{GDK_Serbian_dje} \item \code{GDK_Macedonia_gje} \item \code{GDK_Cyrillic_io} \item \code{GDK_Ukrainian_ie} \item \code{GDK_Ukranian_je} \item \code{GDK_Macedonia_dse} \item \code{GDK_Ukrainian_i} \item \code{GDK_Ukranian_i} \item \code{GDK_Ukrainian_yi} \item \code{GDK_Ukranian_yi} \item \code{GDK_Cyrillic_je} \item \code{GDK_Serbian_je} \item \code{GDK_Cyrillic_lje} \item \code{GDK_Serbian_lje} \item \code{GDK_Cyrillic_nje} \item \code{GDK_Serbian_nje} \item \code{GDK_Serbian_tshe} \item \code{GDK_Macedonia_kje} \item \code{GDK_Ukrainian_ghe_with_upturn} \item \code{GDK_Byelorussian_shortu} \item \code{GDK_Cyrillic_dzhe} \item \code{GDK_Serbian_dze} \item \code{GDK_numerosign} \item \code{GDK_Serbian_DJE} \item \code{GDK_Macedonia_GJE} \item \code{GDK_Cyrillic_IO} \item \code{GDK_Ukrainian_IE} \item \code{GDK_Ukranian_JE} \item \code{GDK_Macedonia_DSE} \item \code{GDK_Ukrainian_I} \item \code{GDK_Ukranian_I} \item \code{GDK_Ukrainian_YI} \item \code{GDK_Ukranian_YI} \item \code{GDK_Cyrillic_JE} \item \code{GDK_Serbian_JE} \item \code{GDK_Cyrillic_LJE} \item \code{GDK_Serbian_LJE} \item \code{GDK_Cyrillic_NJE} \item \code{GDK_Serbian_NJE} \item \code{GDK_Serbian_TSHE} \item \code{GDK_Macedonia_KJE} \item \code{GDK_Ukrainian_GHE_WITH_UPTURN} \item \code{GDK_Byelorussian_SHORTU} \item \code{GDK_Cyrillic_DZHE} \item \code{GDK_Serbian_DZE} \item \code{GDK_Cyrillic_yu} \item \code{GDK_Cyrillic_a} \item \code{GDK_Cyrillic_be} \item \code{GDK_Cyrillic_tse} \item \code{GDK_Cyrillic_de} \item \code{GDK_Cyrillic_ie} \item \code{GDK_Cyrillic_ef} \item \code{GDK_Cyrillic_ghe} \item \code{GDK_Cyrillic_ha} \item \code{GDK_Cyrillic_i} \item \code{GDK_Cyrillic_shorti} \item \code{GDK_Cyrillic_ka} \item \code{GDK_Cyrillic_el} \item \code{GDK_Cyrillic_em} \item \code{GDK_Cyrillic_en} \item \code{GDK_Cyrillic_o} \item \code{GDK_Cyrillic_pe} \item \code{GDK_Cyrillic_ya} \item \code{GDK_Cyrillic_er} \item \code{GDK_Cyrillic_es} \item \code{GDK_Cyrillic_te} \item \code{GDK_Cyrillic_u} \item \code{GDK_Cyrillic_zhe} \item \code{GDK_Cyrillic_ve} \item \code{GDK_Cyrillic_softsign} \item \code{GDK_Cyrillic_yeru} \item \code{GDK_Cyrillic_ze} \item \code{GDK_Cyrillic_sha} \item \code{GDK_Cyrillic_e} \item \code{GDK_Cyrillic_shcha} \item \code{GDK_Cyrillic_che} \item \code{GDK_Cyrillic_hardsign} \item \code{GDK_Cyrillic_YU} \item \code{GDK_Cyrillic_A} \item \code{GDK_Cyrillic_BE} \item \code{GDK_Cyrillic_TSE} \item \code{GDK_Cyrillic_DE} \item \code{GDK_Cyrillic_IE} \item \code{GDK_Cyrillic_EF} \item \code{GDK_Cyrillic_GHE} \item \code{GDK_Cyrillic_HA} \item \code{GDK_Cyrillic_I} \item \code{GDK_Cyrillic_SHORTI} \item \code{GDK_Cyrillic_KA} \item \code{GDK_Cyrillic_EL} \item \code{GDK_Cyrillic_EM} \item \code{GDK_Cyrillic_EN} \item \code{GDK_Cyrillic_O} \item \code{GDK_Cyrillic_PE} \item \code{GDK_Cyrillic_YA} \item \code{GDK_Cyrillic_ER} \item \code{GDK_Cyrillic_ES} \item \code{GDK_Cyrillic_TE} \item \code{GDK_Cyrillic_U} \item \code{GDK_Cyrillic_ZHE} \item \code{GDK_Cyrillic_VE} \item \code{GDK_Cyrillic_SOFTSIGN} \item \code{GDK_Cyrillic_YERU} \item \code{GDK_Cyrillic_ZE} \item \code{GDK_Cyrillic_SHA} \item \code{GDK_Cyrillic_E} \item \code{GDK_Cyrillic_SHCHA} \item \code{GDK_Cyrillic_CHE} \item \code{GDK_Cyrillic_HARDSIGN} \item \code{GDK_Greek_ALPHAaccent} \item \code{GDK_Greek_EPSILONaccent} \item \code{GDK_Greek_ETAaccent} \item \code{GDK_Greek_IOTAaccent} \item \code{GDK_Greek_IOTAdieresis} \item \code{GDK_Greek_IOTAdiaeresis} \item \code{GDK_Greek_OMICRONaccent} \item \code{GDK_Greek_UPSILONaccent} \item \code{GDK_Greek_UPSILONdieresis} \item \code{GDK_Greek_OMEGAaccent} \item \code{GDK_Greek_accentdieresis} \item \code{GDK_Greek_horizbar} \item \code{GDK_Greek_alphaaccent} \item \code{GDK_Greek_epsilonaccent} \item \code{GDK_Greek_etaaccent} \item \code{GDK_Greek_iotaaccent} \item \code{GDK_Greek_iotadieresis} \item \code{GDK_Greek_iotaaccentdieresis} \item \code{GDK_Greek_omicronaccent} \item \code{GDK_Greek_upsilonaccent} \item \code{GDK_Greek_upsilondieresis} \item \code{GDK_Greek_upsilonaccentdieresis} \item \code{GDK_Greek_omegaaccent} \item \code{GDK_Greek_ALPHA} \item \code{GDK_Greek_BETA} \item \code{GDK_Greek_GAMMA} \item \code{GDK_Greek_DELTA} \item \code{GDK_Greek_EPSILON} \item \code{GDK_Greek_ZETA} \item \code{GDK_Greek_ETA} \item \code{GDK_Greek_THETA} \item \code{GDK_Greek_IOTA} \item \code{GDK_Greek_KAPPA} \item \code{GDK_Greek_LAMDA} \item \code{GDK_Greek_LAMBDA} \item \code{GDK_Greek_MU} \item \code{GDK_Greek_NU} \item \code{GDK_Greek_XI} \item \code{GDK_Greek_OMICRON} \item \code{GDK_Greek_PI} \item \code{GDK_Greek_RHO} \item \code{GDK_Greek_SIGMA} \item \code{GDK_Greek_TAU} \item \code{GDK_Greek_UPSILON} \item \code{GDK_Greek_PHI} \item \code{GDK_Greek_CHI} \item \code{GDK_Greek_PSI} \item \code{GDK_Greek_OMEGA} \item \code{GDK_Greek_alpha} \item \code{GDK_Greek_beta} \item \code{GDK_Greek_gamma} \item \code{GDK_Greek_delta} \item \code{GDK_Greek_epsilon} \item \code{GDK_Greek_zeta} \item \code{GDK_Greek_eta} \item \code{GDK_Greek_theta} \item \code{GDK_Greek_iota} \item \code{GDK_Greek_kappa} \item \code{GDK_Greek_lamda} \item \code{GDK_Greek_lambda} \item \code{GDK_Greek_mu} \item \code{GDK_Greek_nu} \item \code{GDK_Greek_xi} \item \code{GDK_Greek_omicron} \item \code{GDK_Greek_pi} \item \code{GDK_Greek_rho} \item \code{GDK_Greek_sigma} \item \code{GDK_Greek_finalsmallsigma} \item \code{GDK_Greek_tau} \item \code{GDK_Greek_upsilon} \item \code{GDK_Greek_phi} \item \code{GDK_Greek_chi} \item \code{GDK_Greek_psi} \item \code{GDK_Greek_omega} \item \code{GDK_Greek_switch} \item \code{GDK_leftradical} \item \code{GDK_topleftradical} \item \code{GDK_horizconnector} \item \code{GDK_topintegral} \item \code{GDK_botintegral} \item \code{GDK_vertconnector} \item \code{GDK_topleftsqbracket} \item \code{GDK_botleftsqbracket} \item \code{GDK_toprightsqbracket} \item \code{GDK_botrightsqbracket} \item \code{GDK_topleftparens} \item \code{GDK_botleftparens} \item \code{GDK_toprightparens} \item \code{GDK_botrightparens} \item \code{GDK_leftmiddlecurlybrace} \item \code{GDK_rightmiddlecurlybrace} \item \code{GDK_topleftsummation} \item \code{GDK_botleftsummation} \item \code{GDK_topvertsummationconnector} \item \code{GDK_botvertsummationconnector} \item \code{GDK_toprightsummation} \item \code{GDK_botrightsummation} \item \code{GDK_rightmiddlesummation} \item \code{GDK_lessthanequal} \item \code{GDK_notequal} \item \code{GDK_greaterthanequal} \item \code{GDK_integral} \item \code{GDK_therefore} \item \code{GDK_variation} \item \code{GDK_infinity} \item \code{GDK_nabla} \item \code{GDK_approximate} \item \code{GDK_similarequal} \item \code{GDK_ifonlyif} \item \code{GDK_implies} \item \code{GDK_identical} \item \code{GDK_radical} \item \code{GDK_includedin} \item \code{GDK_includes} \item \code{GDK_intersection} \item \code{GDK_union} \item \code{GDK_logicaland} \item \code{GDK_logicalor} \item \code{GDK_partialderivative} \item \code{GDK_function} \item \code{GDK_leftarrow} \item \code{GDK_uparrow} \item \code{GDK_rightarrow} \item \code{GDK_downarrow} \item \code{GDK_blank} \item \code{GDK_soliddiamond} \item \code{GDK_checkerboard} \item \code{GDK_ht} \item \code{GDK_ff} \item \code{GDK_cr} \item \code{GDK_lf} \item \code{GDK_nl} \item \code{GDK_vt} \item \code{GDK_lowrightcorner} \item \code{GDK_uprightcorner} \item \code{GDK_upleftcorner} \item \code{GDK_lowleftcorner} \item \code{GDK_crossinglines} \item \code{GDK_horizlinescan1} \item \code{GDK_horizlinescan3} \item \code{GDK_horizlinescan5} \item \code{GDK_horizlinescan7} \item \code{GDK_horizlinescan9} \item \code{GDK_leftt} \item \code{GDK_rightt} \item \code{GDK_bott} \item \code{GDK_topt} \item \code{GDK_vertbar} \item \code{GDK_emspace} \item \code{GDK_enspace} \item \code{GDK_em3space} \item \code{GDK_em4space} \item \code{GDK_digitspace} \item \code{GDK_punctspace} \item \code{GDK_thinspace} \item \code{GDK_hairspace} \item \code{GDK_emdash} \item \code{GDK_endash} \item \code{GDK_signifblank} \item \code{GDK_ellipsis} \item \code{GDK_doubbaselinedot} \item \code{GDK_onethird} \item \code{GDK_twothirds} \item \code{GDK_onefifth} \item \code{GDK_twofifths} \item \code{GDK_threefifths} \item \code{GDK_fourfifths} \item \code{GDK_onesixth} \item \code{GDK_fivesixths} \item \code{GDK_careof} \item \code{GDK_figdash} \item \code{GDK_leftanglebracket} \item \code{GDK_decimalpoint} \item \code{GDK_rightanglebracket} \item \code{GDK_marker} \item \code{GDK_oneeighth} \item \code{GDK_threeeighths} \item \code{GDK_fiveeighths} \item \code{GDK_seveneighths} \item \code{GDK_trademark} \item \code{GDK_signaturemark} \item \code{GDK_trademarkincircle} \item \code{GDK_leftopentriangle} \item \code{GDK_rightopentriangle} \item \code{GDK_emopencircle} \item \code{GDK_emopenrectangle} \item \code{GDK_leftsinglequotemark} \item \code{GDK_rightsinglequotemark} \item \code{GDK_leftdoublequotemark} \item \code{GDK_rightdoublequotemark} \item \code{GDK_prescription} \item \code{GDK_minutes} \item \code{GDK_seconds} \item \code{GDK_latincross} \item \code{GDK_hexagram} \item \code{GDK_filledrectbullet} \item \code{GDK_filledlefttribullet} \item \code{GDK_filledrighttribullet} \item \code{GDK_emfilledcircle} \item \code{GDK_emfilledrect} \item \code{GDK_enopencircbullet} \item \code{GDK_enopensquarebullet} \item \code{GDK_openrectbullet} \item \code{GDK_opentribulletup} \item \code{GDK_opentribulletdown} \item \code{GDK_openstar} \item \code{GDK_enfilledcircbullet} \item \code{GDK_enfilledsqbullet} \item \code{GDK_filledtribulletup} \item \code{GDK_filledtribulletdown} \item \code{GDK_leftpointer} \item \code{GDK_rightpointer} \item \code{GDK_club} \item \code{GDK_diamond} \item \code{GDK_heart} \item \code{GDK_maltesecross} \item \code{GDK_dagger} \item \code{GDK_doubledagger} \item \code{GDK_checkmark} \item \code{GDK_ballotcross} \item \code{GDK_musicalsharp} \item \code{GDK_musicalflat} \item \code{GDK_malesymbol} \item \code{GDK_femalesymbol} \item \code{GDK_telephone} \item \code{GDK_telephonerecorder} \item \code{GDK_phonographcopyright} \item \code{GDK_caret} \item \code{GDK_singlelowquotemark} \item \code{GDK_doublelowquotemark} \item \code{GDK_cursor} \item \code{GDK_leftcaret} \item \code{GDK_rightcaret} \item \code{GDK_downcaret} \item \code{GDK_upcaret} \item \code{GDK_overbar} \item \code{GDK_downtack} \item \code{GDK_upshoe} \item \code{GDK_downstile} \item \code{GDK_underbar} \item \code{GDK_jot} \item \code{GDK_quad} \item \code{GDK_uptack} \item \code{GDK_circle} \item \code{GDK_upstile} \item \code{GDK_downshoe} \item \code{GDK_rightshoe} \item \code{GDK_leftshoe} \item \code{GDK_lefttack} \item \code{GDK_righttack} \item \code{GDK_hebrew_doublelowline} \item \code{GDK_hebrew_aleph} \item \code{GDK_hebrew_bet} \item \code{GDK_hebrew_beth} \item \code{GDK_hebrew_gimel} \item \code{GDK_hebrew_gimmel} \item \code{GDK_hebrew_dalet} \item \code{GDK_hebrew_daleth} \item \code{GDK_hebrew_he} \item \code{GDK_hebrew_waw} \item \code{GDK_hebrew_zain} \item \code{GDK_hebrew_zayin} \item \code{GDK_hebrew_chet} \item \code{GDK_hebrew_het} \item \code{GDK_hebrew_tet} \item \code{GDK_hebrew_teth} \item \code{GDK_hebrew_yod} \item \code{GDK_hebrew_finalkaph} \item \code{GDK_hebrew_kaph} \item \code{GDK_hebrew_lamed} \item \code{GDK_hebrew_finalmem} \item \code{GDK_hebrew_mem} \item \code{GDK_hebrew_finalnun} \item \code{GDK_hebrew_nun} \item \code{GDK_hebrew_samech} \item \code{GDK_hebrew_samekh} \item \code{GDK_hebrew_ayin} \item \code{GDK_hebrew_finalpe} \item \code{GDK_hebrew_pe} \item \code{GDK_hebrew_finalzade} \item \code{GDK_hebrew_finalzadi} \item \code{GDK_hebrew_zade} \item \code{GDK_hebrew_zadi} \item \code{GDK_hebrew_qoph} \item \code{GDK_hebrew_kuf} \item \code{GDK_hebrew_resh} \item \code{GDK_hebrew_shin} \item \code{GDK_hebrew_taw} \item \code{GDK_hebrew_taf} \item \code{GDK_Hebrew_switch} \item \code{GDK_Thai_kokai} \item \code{GDK_Thai_khokhai} \item \code{GDK_Thai_khokhuat} \item \code{GDK_Thai_khokhwai} \item \code{GDK_Thai_khokhon} \item \code{GDK_Thai_khorakhang} \item \code{GDK_Thai_ngongu} \item \code{GDK_Thai_chochan} \item \code{GDK_Thai_choching} \item \code{GDK_Thai_chochang} \item \code{GDK_Thai_soso} \item \code{GDK_Thai_chochoe} \item \code{GDK_Thai_yoying} \item \code{GDK_Thai_dochada} \item \code{GDK_Thai_topatak} \item \code{GDK_Thai_thothan} \item \code{GDK_Thai_thonangmontho} \item \code{GDK_Thai_thophuthao} \item \code{GDK_Thai_nonen} \item \code{GDK_Thai_dodek} \item \code{GDK_Thai_totao} \item \code{GDK_Thai_thothung} \item \code{GDK_Thai_thothahan} \item \code{GDK_Thai_thothong} \item \code{GDK_Thai_nonu} \item \code{GDK_Thai_bobaimai} \item \code{GDK_Thai_popla} \item \code{GDK_Thai_phophung} \item \code{GDK_Thai_fofa} \item \code{GDK_Thai_phophan} \item \code{GDK_Thai_fofan} \item \code{GDK_Thai_phosamphao} \item \code{GDK_Thai_moma} \item \code{GDK_Thai_yoyak} \item \code{GDK_Thai_rorua} \item \code{GDK_Thai_ru} \item \code{GDK_Thai_loling} \item \code{GDK_Thai_lu} \item \code{GDK_Thai_wowaen} \item \code{GDK_Thai_sosala} \item \code{GDK_Thai_sorusi} \item \code{GDK_Thai_sosua} \item \code{GDK_Thai_hohip} \item \code{GDK_Thai_lochula} \item \code{GDK_Thai_oang} \item \code{GDK_Thai_honokhuk} \item \code{GDK_Thai_paiyannoi} \item \code{GDK_Thai_saraa} \item \code{GDK_Thai_maihanakat} \item \code{GDK_Thai_saraaa} \item \code{GDK_Thai_saraam} \item \code{GDK_Thai_sarai} \item \code{GDK_Thai_saraii} \item \code{GDK_Thai_saraue} \item \code{GDK_Thai_sarauee} \item \code{GDK_Thai_sarau} \item \code{GDK_Thai_sarauu} \item \code{GDK_Thai_phinthu} \item \code{GDK_Thai_maihanakat_maitho} \item \code{GDK_Thai_baht} \item \code{GDK_Thai_sarae} \item \code{GDK_Thai_saraae} \item \code{GDK_Thai_sarao} \item \code{GDK_Thai_saraaimaimuan} \item \code{GDK_Thai_saraaimaimalai} \item \code{GDK_Thai_lakkhangyao} \item \code{GDK_Thai_maiyamok} \item \code{GDK_Thai_maitaikhu} \item \code{GDK_Thai_maiek} \item \code{GDK_Thai_maitho} \item \code{GDK_Thai_maitri} \item \code{GDK_Thai_maichattawa} \item \code{GDK_Thai_thanthakhat} \item \code{GDK_Thai_nikhahit} \item \code{GDK_Thai_leksun} \item \code{GDK_Thai_leknung} \item \code{GDK_Thai_leksong} \item \code{GDK_Thai_leksam} \item \code{GDK_Thai_leksi} \item \code{GDK_Thai_lekha} \item \code{GDK_Thai_lekhok} \item \code{GDK_Thai_lekchet} \item \code{GDK_Thai_lekpaet} \item \code{GDK_Thai_lekkao} \item \code{GDK_Hangul} \item \code{GDK_Hangul_Start} \item \code{GDK_Hangul_End} \item \code{GDK_Hangul_Hanja} \item \code{GDK_Hangul_Jamo} \item \code{GDK_Hangul_Romaja} \item \code{GDK_Hangul_Codeinput} \item \code{GDK_Hangul_Jeonja} \item \code{GDK_Hangul_Banja} \item \code{GDK_Hangul_PreHanja} \item \code{GDK_Hangul_PostHanja} \item \code{GDK_Hangul_SingleCandidate} \item \code{GDK_Hangul_MultipleCandidate} \item \code{GDK_Hangul_PreviousCandidate} \item \code{GDK_Hangul_Special} \item \code{GDK_Hangul_switch} \item \code{GDK_Hangul_Kiyeog} \item \code{GDK_Hangul_SsangKiyeog} \item \code{GDK_Hangul_KiyeogSios} \item \code{GDK_Hangul_Nieun} \item \code{GDK_Hangul_NieunJieuj} \item \code{GDK_Hangul_NieunHieuh} \item \code{GDK_Hangul_Dikeud} \item \code{GDK_Hangul_SsangDikeud} \item \code{GDK_Hangul_Rieul} \item \code{GDK_Hangul_RieulKiyeog} \item \code{GDK_Hangul_RieulMieum} \item \code{GDK_Hangul_RieulPieub} \item \code{GDK_Hangul_RieulSios} \item \code{GDK_Hangul_RieulTieut} \item \code{GDK_Hangul_RieulPhieuf} \item \code{GDK_Hangul_RieulHieuh} \item \code{GDK_Hangul_Mieum} \item \code{GDK_Hangul_Pieub} \item \code{GDK_Hangul_SsangPieub} \item \code{GDK_Hangul_PieubSios} \item \code{GDK_Hangul_Sios} \item \code{GDK_Hangul_SsangSios} \item \code{GDK_Hangul_Ieung} \item \code{GDK_Hangul_Jieuj} \item \code{GDK_Hangul_SsangJieuj} \item \code{GDK_Hangul_Cieuc} \item \code{GDK_Hangul_Khieuq} \item \code{GDK_Hangul_Tieut} \item \code{GDK_Hangul_Phieuf} \item \code{GDK_Hangul_Hieuh} \item \code{GDK_Hangul_A} \item \code{GDK_Hangul_AE} \item \code{GDK_Hangul_YA} \item \code{GDK_Hangul_YAE} \item \code{GDK_Hangul_EO} \item \code{GDK_Hangul_E} \item \code{GDK_Hangul_YEO} \item \code{GDK_Hangul_YE} \item \code{GDK_Hangul_O} \item \code{GDK_Hangul_WA} \item \code{GDK_Hangul_WAE} \item \code{GDK_Hangul_OE} \item \code{GDK_Hangul_YO} \item \code{GDK_Hangul_U} \item \code{GDK_Hangul_WEO} \item \code{GDK_Hangul_WE} \item \code{GDK_Hangul_WI} \item \code{GDK_Hangul_YU} \item \code{GDK_Hangul_EU} \item \code{GDK_Hangul_YI} \item \code{GDK_Hangul_I} \item \code{GDK_Hangul_J_Kiyeog} \item \code{GDK_Hangul_J_SsangKiyeog} \item \code{GDK_Hangul_J_KiyeogSios} \item \code{GDK_Hangul_J_Nieun} \item \code{GDK_Hangul_J_NieunJieuj} \item \code{GDK_Hangul_J_NieunHieuh} \item \code{GDK_Hangul_J_Dikeud} \item \code{GDK_Hangul_J_Rieul} \item \code{GDK_Hangul_J_RieulKiyeog} \item \code{GDK_Hangul_J_RieulMieum} \item \code{GDK_Hangul_J_RieulPieub} \item \code{GDK_Hangul_J_RieulSios} \item \code{GDK_Hangul_J_RieulTieut} \item \code{GDK_Hangul_J_RieulPhieuf} \item \code{GDK_Hangul_J_RieulHieuh} \item \code{GDK_Hangul_J_Mieum} \item \code{GDK_Hangul_J_Pieub} \item \code{GDK_Hangul_J_PieubSios} \item \code{GDK_Hangul_J_Sios} \item \code{GDK_Hangul_J_SsangSios} \item \code{GDK_Hangul_J_Ieung} \item \code{GDK_Hangul_J_Jieuj} \item \code{GDK_Hangul_J_Cieuc} \item \code{GDK_Hangul_J_Khieuq} \item \code{GDK_Hangul_J_Tieut} \item \code{GDK_Hangul_J_Phieuf} \item \code{GDK_Hangul_J_Hieuh} \item \code{GDK_Hangul_RieulYeorinHieuh} \item \code{GDK_Hangul_SunkyeongeumMieum} \item \code{GDK_Hangul_SunkyeongeumPieub} \item \code{GDK_Hangul_PanSios} \item \code{GDK_Hangul_KkogjiDalrinIeung} \item \code{GDK_Hangul_SunkyeongeumPhieuf} \item \code{GDK_Hangul_YeorinHieuh} \item \code{GDK_Hangul_AraeA} \item \code{GDK_Hangul_AraeAE} \item \code{GDK_Hangul_J_PanSios} \item \code{GDK_Hangul_J_KkogjiDalrinIeung} \item \code{GDK_Hangul_J_YeorinHieuh} \item \code{GDK_Korean_Won} \item \code{GDK_EcuSign} \item \code{GDK_ColonSign} \item \code{GDK_CruzeiroSign} \item \code{GDK_FFrancSign} \item \code{GDK_LiraSign} \item \code{GDK_MillSign} \item \code{GDK_NairaSign} \item \code{GDK_PesetaSign} \item \code{GDK_RupeeSign} \item \code{GDK_WonSign} \item \code{GDK_NewSheqelSign} \item \code{GDK_DongSign} \item \code{GDK_EuroSign} } } \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gtkTreeModelGet.Rd0000644000176000001440000000153212362217677015341 0ustar ripleyusers\alias{gtkTreeModelGet} \name{gtkTreeModelGet} \title{gtkTreeModelGet} \description{Gets the value of one or more cells in the row referenced by \code{iter}. The variable argument list should contain integer column numbers, each column number followed by a place to store the value being retrieved. The list is terminated by a -1. For example, to get a value from column 0 with type \code{G_TYPE_STRING}, you would write: \code{gtk_tree_model_get (model, iter, 0, &place_string_here, -1)}, where \code{place_string_here} is a \verb{character} to be filled with the string. If appropriate,} \usage{gtkTreeModelGet(object, iter, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeModel}}} \item{\verb{iter}}{a row in \code{tree.model}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetTolerance.Rd0000644000176000001440000000173412362217677015725 0ustar ripleyusers\alias{cairoSetTolerance} \name{cairoSetTolerance} \title{cairoSetTolerance} \description{Sets the tolerance used when converting paths into trapezoids. Curved segments of the path will be subdivided until the maximum deviation between the original path and the polygonal approximation is less than \code{tolerance}. The default value is 0.1. A larger value will give better performance, a smaller value, better appearance. (Reducing the value from the default value of 0.1 is unlikely to improve appearance significantly.) The accuracy of paths within Cairo is limited by the precision of its internal arithmetic, and the prescribed \code{tolerance} is restricted to the smallest representable internal value.} \usage{cairoSetTolerance(cr, tolerance)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{tolerance}}{[numeric] the tolerance, in device units (typically pixels)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointImplement.Rd0000644000176000001440000000160212362217677017611 0ustar ripleyusers\alias{gIoExtensionPointImplement} \name{gIoExtensionPointImplement} \title{gIoExtensionPointImplement} \description{Registers \code{type} as extension for the extension point with name \code{extension.point.name}. } \usage{gIoExtensionPointImplement(extension.point.name, type, extension.name, priority)} \arguments{ \item{\verb{extension.point.name}}{the name of the extension point} \item{\verb{type}}{the \code{\link{GType}} to register as extension} \item{\verb{extension.name}}{the name for the extension} \item{\verb{priority}}{the priority for the extension} } \details{If \code{type} has already been registered as an extension for this extension point, the existing \code{\link{GIOExtension}} object is returned.} \value{[\code{\link{GIOExtension}}] a \code{\link{GIOExtension}} object for \code{\link{GType}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySelectRegion.Rd0000644000176000001440000000151112362217677016423 0ustar ripleyusers\alias{gtkEntrySelectRegion} \name{gtkEntrySelectRegion} \title{gtkEntrySelectRegion} \description{ Selects a region of text. The characters that are selected are those characters at positions from \code{start.pos} up to, but not including \code{end.pos}. If \code{end.pos} is negative, then the the characters selected will be those characters from \code{start.pos} to the end of the text. \strong{WARNING: \code{gtk_entry_select_region} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEditableSelectRegion}} instead.} } \usage{gtkEntrySelectRegion(object, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{start}}{the starting position} \item{\verb{end}}{the end position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetRgba.Rd0000644000176000001440000000165112362217677016204 0ustar ripleyusers\alias{cairoPatternGetRgba} \name{cairoPatternGetRgba} \title{cairoPatternGetRgba} \description{Gets the solid color for a solid color pattern.} \usage{cairoPatternGetRgba(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} if the pattern is not a solid color pattern.} \item{\verb{red}}{[numeric] return value for red component of color, or \code{NULL}} \item{\verb{green}}{[numeric] return value for green component of color, or \code{NULL}} \item{\verb{blue}}{[numeric] return value for blue component of color, or \code{NULL}} \item{\verb{alpha}}{[numeric] return value for alpha component of color, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageFromBytes.Rd0000644000176000001440000000104312362217677016723 0ustar ripleyusers\alias{pangoCoverageFromBytes} \name{pangoCoverageFromBytes} \title{pangoCoverageFromBytes} \description{Convert data generated from \code{pangoConverageToBytes()} back to a \code{\link{PangoCoverage}}} \usage{pangoCoverageFromBytes(bytes)} \arguments{\item{\verb{bytes}}{[raw] binary data representing a \code{\link{PangoCoverage}}}} \value{[\code{\link{PangoCoverage}}] a newly allocated \code{\link{PangoCoverage}}, or \code{NULL} if the data was invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLayout.Rd0000644000176000001440000000161212362217677015073 0ustar ripleyusers\alias{gdkDrawLayout} \name{gdkDrawLayout} \title{gdkDrawLayout} \description{Render a \code{\link{PangoLayout}} onto a GDK drawable} \usage{gdkDrawLayout(object, gc, x, y, layout)} \arguments{ \item{\verb{object}}{the drawable on which to draw string} \item{\verb{gc}}{base graphics context to use} \item{\verb{x}}{the X position of the left of the layout (in pixels)} \item{\verb{y}}{the Y position of the top of the layout (in pixels)} \item{\verb{layout}}{a \code{\link{PangoLayout}}} } \details{If the layout's \code{\link{PangoContext}} has a transformation matrix set, then \code{x} and \code{y} specify the position of the top left corner of the bounding box (in device space) of the transformed layout. If you're using GTK+, the usual way to obtain a \code{\link{PangoLayout}} is \code{\link{gtkWidgetCreatePangoLayout}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceGetUnicodeToGlyphFunc.Rd0000644000176000001440000000114112362217677021743 0ustar ripleyusers\alias{cairoUserFontFaceGetUnicodeToGlyphFunc} \name{cairoUserFontFaceGetUnicodeToGlyphFunc} \title{cairoUserFontFaceGetUnicodeToGlyphFunc} \description{Gets the unicode-to-glyph conversion function of a user-font.} \usage{cairoUserFontFaceGetUnicodeToGlyphFunc(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face}} \details{ Since 1.8} \value{[cairo_user_scaled_font_unicode_to_glyph_func_t] The unicode_to_glyph callback of \code{font.face} or \code{NULL} if none set or an error occurred.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentActionNew.Rd0000644000176000001440000000161512362217677016053 0ustar ripleyusers\alias{gtkRecentActionNew} \name{gtkRecentActionNew} \title{gtkRecentActionNew} \description{Creates a new \code{\link{GtkRecentAction}} object. To add the action to a \code{\link{GtkActionGroup}} and set the accelerator for the action, call \code{\link{gtkActionGroupAddActionWithAccel}}.} \usage{gtkRecentActionNew(name, label, tooltip, stock.id)} \arguments{ \item{\verb{name}}{a unique name for the action} \item{\verb{label}}{the label displayed in menu items and on buttons, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip}}{a tooltip for the action, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{the stock icon to display in widgets representing the action, or \code{NULL}} } \details{Since 2.12} \value{[\code{\link{GtkAction}}] the newly created \code{\link{GtkRecentAction}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/findWidgetByType.Rd0000644000176000001440000000277011766145227015537 0ustar ripleyusers\name{findWidgetByType} \alias{findWidgetByType} \title{Find widget in hierarchy by type} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This function recursively descends the widget hierarchy identified by the root node \code{win} and finds the first widget that matches the specified target type. } \usage{ findWidgetByType(win, gtkType = "GtkMenuBar", verbose = FALSE) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{win}{the root node of the widget hierarchy whose children and descendants are to be searced.} \item{gtkType}{the name of the Gtk type we are looking for. If this is a function, it is called for each widget in the hierarchy until it returns \code{TRUE}. Each call is given the widget as its only argument and expected to return a logical value indicating whether the widget matches or not. One can use a closure and always return \code{FALSE} if one wants to iterate over all the widgets and collect the matching ones. } \item{verbose}{a logical value indicating whether to print information to the console as we recurse.} } \value{ The widget that matched or \code{NULL}. } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \seealso{ \code{\link{gtkContainerGetChildren}} } \keyword{interface} \keyword{internal} RGtk2/man/gtkIconInfoGetBuiltinPixbuf.Rd0000644000176000001440000000136112362217677017672 0ustar ripleyusers\alias{gtkIconInfoGetBuiltinPixbuf} \name{gtkIconInfoGetBuiltinPixbuf} \title{gtkIconInfoGetBuiltinPixbuf} \description{Gets the built-in image for this icon, if any. To allow GTK+ to use built in icon images, you must pass the \code{GTK_ICON_LOOKUP_USE_BUILTIN} to \code{\link{gtkIconThemeLookupIcon}}.} \usage{gtkIconInfoGetBuiltinPixbuf(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}} structure}} \details{Since 2.4} \value{[\code{\link{GdkPixbuf}}] the built-in image pixbuf, or \code{NULL}. No extra reference is added to the returned pixbuf, so if you want to keep it around, The returned image must not be modified. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetStipple.Rd0000644000176000001440000000070312362217677015306 0ustar ripleyusers\alias{gdkGCSetStipple} \name{gdkGCSetStipple} \title{gdkGCSetStipple} \description{Set the stipple bitmap for a graphics context. The stipple will only be used if the fill mode is \code{GDK_STIPPLED} or \code{GDK_OPAQUE_STIPPLED}.} \usage{gdkGCSetStipple(object, stipple)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{stipple}}{the new stipple bitmap.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTable.Rd0000644000176000001440000001014312362217677014006 0ustar ripleyusers\alias{GtkTable} \alias{gtkTable} \name{GtkTable} \title{GtkTable} \description{Pack widgets in regular patterns} \section{Methods and Functions}{ \code{\link{gtkTableNew}(rows = NULL, columns = NULL, homogeneous = NULL, show = TRUE)}\cr \code{\link{gtkTableResize}(object, rows, columns)}\cr \code{\link{gtkTableAttach}(object, child, left.attach, right.attach, top.attach, bottom.attach, xoptions = 5, yoptions = 5, xpadding = 0, ypadding = 0)}\cr \code{\link{gtkTableAttachDefaults}(object, widget, left.attach, right.attach, top.attach, bottom.attach)}\cr \code{\link{gtkTableSetRowSpacing}(object, row, spacing)}\cr \code{\link{gtkTableSetColSpacing}(object, column, spacing)}\cr \code{\link{gtkTableSetRowSpacings}(object, spacing)}\cr \code{\link{gtkTableSetColSpacings}(object, spacing)}\cr \code{\link{gtkTableSetHomogeneous}(object, homogeneous)}\cr \code{\link{gtkTableGetDefaultRowSpacing}(object)}\cr \code{\link{gtkTableGetHomogeneous}(object)}\cr \code{\link{gtkTableGetRowSpacing}(object, row)}\cr \code{\link{gtkTableGetColSpacing}(object, column)}\cr \code{\link{gtkTableGetDefaultColSpacing}(object)}\cr \code{gtkTable(rows = NULL, columns = NULL, homogeneous = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTable}} \section{Interfaces}{GtkTable implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkTable}} functions allow the programmer to arrange widgets in rows and columns, making it easy to align many widgets next to each other, horizontally and vertically. Tables are created with a call to \code{\link{gtkTableNew}}, the size of which can later be changed with \code{\link{gtkTableResize}}. Widgets can be added to a table using \code{\link{gtkTableAttach}} or the more convenient (but slightly less flexible) \code{\link{gtkTableAttachDefaults}}. To alter the space next to a specific row, use \code{\link{gtkTableSetRowSpacing}}, and for a column, \code{\link{gtkTableSetColSpacing}}. The gaps between \emph{all} rows or columns can be changed by calling \code{\link{gtkTableSetRowSpacings}} or \code{\link{gtkTableSetColSpacings}} respectively. \code{\link{gtkTableSetHomogeneous}}, can be used to set whether all cells in the table will resize themselves to the size of the largest widget in the table.} \section{Structures}{\describe{\item{\verb{GtkTable}}{ The \code{GtkTable} structure holds the data for the actual table itself. \code{children} is a \verb{list} of all the widgets the table contains. \code{rows} and \code{columns} are pointers to \code{\link{GtkTableRowCol}} structures, which contain the default spacing and expansion details for the \code{\link{GtkTable}}'s rows and columns, respectively. \code{nrows} and \code{ncols} are 16bit integers storing the number of rows and columns the table has. \describe{ \item{\verb{children}}{[list] } \item{\verb{rows}}{[\code{\link{GtkTableRowCol}}] } \item{\verb{cols}}{[\code{\link{GtkTableRowCol}}] } \item{\verb{nrows}}{[integer] } \item{\verb{ncols}}{[integer] } } }}} \section{Convenient Construction}{\code{gtkTable} is the equivalent of \code{\link{gtkTableNew}}.} \section{Properties}{\describe{ \item{\verb{column-spacing} [numeric : Read / Write]}{ The amount of space between two consecutive columns. Allowed values: <= 65535 Default value: 0 } \item{\verb{homogeneous} [logical : Read / Write]}{ If TRUE, the table cells are all the same width/height. Default value: FALSE } \item{\verb{n-columns} [numeric : Read / Write]}{ The number of columns in the table. Allowed values: [1,65535] Default value: 1 } \item{\verb{n-rows} [numeric : Read / Write]}{ The number of rows in the table. Allowed values: [1,65535] Default value: 1 } \item{\verb{row-spacing} [numeric : Read / Write]}{ The amount of space between two consecutive rows. Allowed values: <= 65535 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetTextSizeGroup.Rd0000644000176000001440000000105112362217677017726 0ustar ripleyusers\alias{gtkToolItemGetTextSizeGroup} \name{gtkToolItemGetTextSizeGroup} \title{gtkToolItemGetTextSizeGroup} \description{Returns the size group used for labels in \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function and use the size group for labels.} \usage{gtkToolItemGetTextSizeGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.20} \value{[\code{\link{GtkSizeGroup}}] a \code{\link{GtkSizeGroup}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGuessContentType.Rd0000644000176000001440000000246712362217677017000 0ustar ripleyusers\alias{gMountGuessContentType} \name{gMountGuessContentType} \title{gMountGuessContentType} \description{Tries to guess the type of content stored on \code{mount}. Returns one or more textual identifiers of well-known content types (typically prefixed with "x-content/"), e.g. x-content/image-dcf for camera memory cards. See the shared-mime-info (\url{http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec}) specification for more on x-content types.} \usage{gMountGuessContentType(object, force.rescan, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}} \item{\verb{force.rescan}}{Whether to force a rescan of the content. Otherwise a cached result will be used if available} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data passed to \code{callback}} } \details{This is an asynchronous operation (see \code{\link{gMountGuessContentTypeSync}} for the synchronous version), and is finished by calling \code{\link{gMountGuessContentTypeFinish}} with the \code{mount} and \code{\link{GAsyncResult}} data returned in the \code{callback}. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileUnmountMountableWithOperationFinish.Rd0000644000176000001440000000166012362217677022456 0ustar ripleyusers\alias{gFileUnmountMountableWithOperationFinish} \name{gFileUnmountMountableWithOperationFinish} \title{gFileUnmountMountableWithOperationFinish} \description{Finishes an unmount operation, see \code{\link{gFileUnmountMountableWithOperation}} for details.} \usage{gFileUnmountMountableWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous unmount operation that was started with \code{\link{gFileUnmountMountableWithOperation}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation finished successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttribute.Rd0000644000176000001440000000245012362217677015701 0ustar ripleyusers\alias{gFileSetAttribute} \name{gFileSetAttribute} \title{gFileSetAttribute} \description{Sets an attribute in the file with attribute name \code{attribute} to \code{value}.} \usage{gFileSetAttribute(object, attribute, type, value.p, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{type}}{The type of the attribute} \item{\verb{value.p}}{a pointer to the value (or the pointer itself if the type is a pointer type)} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the attribute was set, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorParse.Rd0000644000176000001440000000152612362217677016243 0ustar ripleyusers\alias{gtkAcceleratorParse} \name{gtkAcceleratorParse} \title{gtkAcceleratorParse} \description{Parses a string representing an accelerator. The format looks like "a" or "F1" or "z" (the last one is for key release). The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "" and "".} \usage{gtkAcceleratorParse(accelerator)} \arguments{\item{\verb{accelerator}}{string representing an accelerator}} \details{If the parse fails, \code{accelerator.key} and \code{accelerator.mods} will be set to 0 (zero).} \value{ A list containing the following elements: \item{\verb{accelerator.key}}{return location for accelerator keyval} \item{\verb{accelerator.mods}}{return location for accelerator modifier mask} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextBuffer.Rd0000644000176000001440000004227312362217677015046 0ustar ripleyusers\alias{GtkTextBuffer} \alias{gtkTextBuffer} \alias{GtkTextBufferDeserializeFunc} \alias{GtkTextBufferSerializeFunc} \alias{GtkTextBufferTargetInfo} \name{GtkTextBuffer} \title{GtkTextBuffer} \description{Stores attributed text for display in a GtkTextView} \section{Methods and Functions}{ \code{\link{gtkTextBufferNew}(table = NULL)}\cr \code{\link{gtkTextBufferGetLineCount}(object)}\cr \code{\link{gtkTextBufferGetCharCount}(object)}\cr \code{\link{gtkTextBufferGetTagTable}(object)}\cr \code{\link{gtkTextBufferInsert}(object, iter, text, len = -1)}\cr \code{\link{gtkTextBufferInsertAtCursor}(object, text, len = -1)}\cr \code{\link{gtkTextBufferInsertInteractive}(object, iter, text, default.editable)}\cr \code{\link{gtkTextBufferInsertInteractiveAtCursor}(object, text, default.editable)}\cr \code{\link{gtkTextBufferInsertRange}(object, iter, start, end)}\cr \code{\link{gtkTextBufferInsertRangeInteractive}(object, iter, start, end, default.editable)}\cr \code{\link{gtkTextBufferInsertWithTags}(object, iter, text, ...)}\cr \code{\link{gtkTextBufferInsertWithTagsByName}(object, iter, text, ...)}\cr \code{\link{gtkTextBufferDelete}(object, start, end)}\cr \code{\link{gtkTextBufferDeleteInteractive}(object, start.iter, end.iter, default.editable)}\cr \code{\link{gtkTextBufferBackspace}(object, iter, interactive, default.editable)}\cr \code{\link{gtkTextBufferSetText}(object, text, len = -1)}\cr \code{\link{gtkTextBufferGetText}(object, start, end, include.hidden.chars = TRUE)}\cr \code{\link{gtkTextBufferGetSlice}(object, start, end, include.hidden.chars = TRUE)}\cr \code{\link{gtkTextBufferInsertPixbuf}(object, iter, pixbuf)}\cr \code{\link{gtkTextBufferInsertChildAnchor}(object, iter, anchor)}\cr \code{\link{gtkTextBufferCreateChildAnchor}(object, iter)}\cr \code{\link{gtkTextBufferCreateMark}(object, mark.name = NULL, where, left.gravity = FALSE)}\cr \code{\link{gtkTextBufferMoveMark}(object, mark, where)}\cr \code{\link{gtkTextBufferMoveMarkByName}(object, name, where)}\cr \code{\link{gtkTextBufferAddMark}(object, mark, where)}\cr \code{\link{gtkTextBufferDeleteMark}(object, mark)}\cr \code{\link{gtkTextBufferDeleteMarkByName}(object, name)}\cr \code{\link{gtkTextBufferGetMark}(object, name)}\cr \code{\link{gtkTextBufferGetInsert}(object)}\cr \code{\link{gtkTextBufferGetSelectionBound}(object)}\cr \code{\link{gtkTextBufferGetHasSelection}(object)}\cr \code{\link{gtkTextBufferPlaceCursor}(object, where)}\cr \code{\link{gtkTextBufferSelectRange}(object, ins, bound)}\cr \code{\link{gtkTextBufferApplyTag}(object, tag, start, end)}\cr \code{\link{gtkTextBufferRemoveTag}(object, tag, start, end)}\cr \code{\link{gtkTextBufferApplyTagByName}(object, name, start, end)}\cr \code{\link{gtkTextBufferRemoveTagByName}(object, name, start, end)}\cr \code{\link{gtkTextBufferRemoveAllTags}(object, start, end)}\cr \code{\link{gtkTextBufferCreateTag}(object, tag.name, ...)}\cr \code{\link{gtkTextBufferGetIterAtLineOffset}(object, line.number, char.offset)}\cr \code{\link{gtkTextBufferGetIterAtOffset}(object, char.offset)}\cr \code{\link{gtkTextBufferGetIterAtLine}(object, line.number)}\cr \code{\link{gtkTextBufferGetIterAtLineIndex}(object, line.number, byte.index)}\cr \code{\link{gtkTextBufferGetIterAtMark}(object, mark)}\cr \code{\link{gtkTextBufferGetIterAtChildAnchor}(object, anchor)}\cr \code{\link{gtkTextBufferGetStartIter}(object)}\cr \code{\link{gtkTextBufferGetEndIter}(object)}\cr \code{\link{gtkTextBufferGetBounds}(object)}\cr \code{\link{gtkTextBufferGetModified}(object)}\cr \code{\link{gtkTextBufferSetModified}(object, setting)}\cr \code{\link{gtkTextBufferDeleteSelection}(object, interactive, default.editable)}\cr \code{\link{gtkTextBufferPasteClipboard}(object, clipboard, override.location = NULL, default.editable)}\cr \code{\link{gtkTextBufferCopyClipboard}(object, clipboard)}\cr \code{\link{gtkTextBufferCutClipboard}(object, clipboard, default.editable)}\cr \code{\link{gtkTextBufferGetSelectionBounds}(object)}\cr \code{\link{gtkTextBufferBeginUserAction}(object)}\cr \code{\link{gtkTextBufferEndUserAction}(object)}\cr \code{\link{gtkTextBufferAddSelectionClipboard}(object, clipboard)}\cr \code{\link{gtkTextBufferRemoveSelectionClipboard}(object, clipboard)}\cr \code{\link{gtkTextBufferDeserialize}(object, content.buffer, format, iter, data, .errwarn = TRUE)}\cr \code{\link{gtkTextBufferDeserializeGetCanCreateTags}(object, format)}\cr \code{\link{gtkTextBufferDeserializeSetCanCreateTags}(object, format, can.create.tags)}\cr \code{\link{gtkTextBufferGetCopyTargetList}(object)}\cr \code{\link{gtkTextBufferGetDeserializeFormats}(object)}\cr \code{\link{gtkTextBufferGetPasteTargetList}(object)}\cr \code{\link{gtkTextBufferGetSerializeFormats}(object)}\cr \code{\link{gtkTextBufferRegisterDeserializeFormat}(object, mime.type, fun, user.data)}\cr \code{\link{gtkTextBufferRegisterDeserializeTagset}(object, tagset.name = NULL)}\cr \code{\link{gtkTextBufferRegisterSerializeFormat}(object, mime.type, fun, user.data)}\cr \code{\link{gtkTextBufferRegisterSerializeTagset}(object, tagset.name = NULL)}\cr \code{\link{gtkTextBufferSerialize}(object, content.buffer, format, start, end)}\cr \code{\link{gtkTextBufferUnregisterDeserializeFormat}(object, format)}\cr \code{\link{gtkTextBufferUnregisterSerializeFormat}(object, format)}\cr \code{gtkTextBuffer(table = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkTextBuffer}} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. } \section{Structures}{\describe{\item{\verb{GtkTextBuffer}}{ \emph{undocumented } \describe{\item{\verb{tagTable}}{[\code{\link{GtkTextTagTable}}] }} }}} \section{Convenient Construction}{\code{gtkTextBuffer} is the equivalent of \code{\link{gtkTextBufferNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkTextBufferTargetInfo}}{ \emph{undocumented } \describe{ \item{\verb{buffer-contents}}{\emph{undocumented }} \item{\verb{rich-text}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} } }}} \section{User Functions}{\describe{ \item{\code{GtkTextBufferDeserializeFunc(register.buffer, content.buffer, iter, data, length, create.tags, user.data, error)}}{ A function that is called to deserialize rich text that has been serialized with \code{\link{gtkTextBufferSerialize}}, and insert it at \code{iter}. \describe{ \item{\code{register.buffer}}{the \code{\link{GtkTextBuffer}} the format is registered with} \item{\code{content.buffer}}{the \code{\link{GtkTextBuffer}} to deserialize into} \item{\code{iter}}{insertion point for the deserialized text} \item{\code{data}}{data to deserialize} \item{\code{length}}{length of \code{data}} \item{\code{create.tags}}{\code{TRUE} if deserializing may create tags} \item{\code{user.data}}{user data that was specified when registering the format} \item{\code{error}}{return location for a \code{\link{GError}}} } \emph{Returns:} [logical] \code{TRUE} on success, \code{FALSE} otherwise } \item{\code{GtkTextBufferSerializeFunc(register.buffer, content.buffer, start, end, length, user.data)}}{ A function that is called to serialize the content of a text buffer. It must return the serialized form of the content. \describe{ \item{\code{register.buffer}}{the \code{\link{GtkTextBuffer}} for which the format is registered} \item{\code{content.buffer}}{the \verb{GtkTextsBuffer} to serialize} \item{\code{start}}{start of the block of text to serialize} \item{\code{end}}{end of the block of text to serialize} \item{\code{length}}{Return location for the length of the serialized data} \item{\code{user.data}}{user data that was specified when registering the format} } \emph{Returns:} [raw] a newly-allocated list of guint8 which contains the serialized data, or \code{NULL} if an error occurred } }} \section{Signals}{\describe{ \item{\code{apply-tag(textbuffer, tag, start, end, user.data)}}{ The ::apply-tag signal is emitted to apply a tag to a range of text in a \code{\link{GtkTextBuffer}}. Applying actually occurs in the default handler. Note that if your handler runs before the default handler it must not invalidate the \code{start} and \code{end} iters (or has to revalidate them). See also: \code{\link{gtkTextBufferApplyTag}}, \code{\link{gtkTextBufferInsertWithTags}}, \code{\link{gtkTextBufferInsertRange}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{tag}}{the applied tag} \item{\code{start}}{the start of the range the tag is applied to} \item{\code{end}}{the end of the range the tag is applied to} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{begin-user-action(textbuffer, user.data)}}{ The ::begin-user-action signal is emitted at the beginning of a single user-visible operation on a \code{\link{GtkTextBuffer}}. See also: \code{\link{gtkTextBufferBeginUserAction}}, \code{\link{gtkTextBufferInsertInteractive}}, \code{\link{gtkTextBufferInsertRangeInteractive}}, \code{\link{gtkTextBufferDeleteInteractive}}, \code{\link{gtkTextBufferBackspace}}, \code{\link{gtkTextBufferDeleteSelection}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{changed(textbuffer, user.data)}}{ The ::changed signal is emitted when the content of a \code{\link{GtkTextBuffer}} has changed. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{delete-range(textbuffer, start, end, user.data)}}{ The ::delete-range signal is emitted to delete a range from a \code{\link{GtkTextBuffer}}. Note that if your handler runs before the default handler it must not invalidate the \code{start} and \code{end} iters (or has to revalidate them). The default signal handler revalidates the \code{start} and \code{end} iters to both point point to the location where text was deleted. Handlers which run after the default handler (see \code{gSignalConnectAfter()}) do not have access to the deleted text. See also: \code{\link{gtkTextBufferDelete}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{start}}{the start of the range to be deleted} \item{\code{end}}{the end of the range to be deleted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{end-user-action(textbuffer, user.data)}}{ The ::end-user-action signal is emitted at the end of a single user-visible operation on the \code{\link{GtkTextBuffer}}. See also: \code{\link{gtkTextBufferEndUserAction}}, \code{\link{gtkTextBufferInsertInteractive}}, \code{\link{gtkTextBufferInsertRangeInteractive}}, \code{\link{gtkTextBufferDeleteInteractive}}, \code{\link{gtkTextBufferBackspace}}, \code{\link{gtkTextBufferDeleteSelection}}, \code{\link{gtkTextBufferBackspace}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-child-anchor(textbuffer, location, anchor, user.data)}}{ The ::insert-child-anchor signal is emitted to insert a \code{\link{GtkTextChildAnchor}} in a \code{\link{GtkTextBuffer}}. Insertion actually occurs in the default handler. Note that if your handler runs before the default handler it must not invalidate the \code{location} iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted \code{anchor}. See also: \code{\link{gtkTextBufferInsertChildAnchor}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{location}}{position to insert \code{anchor} in \code{textbuffer}} \item{\code{anchor}}{the \code{\link{GtkTextChildAnchor}} to be inserted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-pixbuf(textbuffer, location, pixbuf, user.data)}}{ The ::insert-pixbuf signal is emitted to insert a \code{\link{GdkPixbuf}} in a \code{\link{GtkTextBuffer}}. Insertion actually occurs in the default handler. Note that if your handler runs before the default handler it must not invalidate the \code{location} iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted \code{pixbuf}. See also: \code{\link{gtkTextBufferInsertPixbuf}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{location}}{position to insert \code{pixbuf} in \code{textbuffer}} \item{\code{pixbuf}}{the \code{\link{GdkPixbuf}} to be inserted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-text(textbuffer, location, text, len, user.data)}}{ The ::insert-text signal is emitted to insert text in a \code{\link{GtkTextBuffer}}. Insertion actually occurs in the default handler. Note that if your handler runs before the default handler it must not invalidate the \code{location} iter (or has to revalidate it). The default signal handler revalidates it to point to the end of the inserted text. See also: \code{\link{gtkTextBufferInsert}}, \code{\link{gtkTextBufferInsertRange}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{location}}{position to insert \code{text} in \code{textbuffer}} \item{\code{text}}{the UTF-8 text to be inserted} \item{\code{len}}{length of the inserted text in bytes} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mark-deleted(textbuffer, mark, user.data)}}{ The ::mark-deleted signal is emitted as notification after a \code{\link{GtkTextMark}} is deleted. See also: \code{\link{gtkTextBufferDeleteMark}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{mark}}{The mark that was deleted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mark-set(textbuffer, location, mark, user.data)}}{ The ::mark-set signal is emitted as notification after a \code{\link{GtkTextMark}} is set. See also: \code{\link{gtkTextBufferCreateMark}}, \code{\link{gtkTextBufferMoveMark}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{location}}{The location of \code{mark} in \code{textbuffer}} \item{\code{mark}}{The mark that is set} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{modified-changed(textbuffer, user.data)}}{ The ::modified-changed signal is emitted when the modified bit of a \code{\link{GtkTextBuffer}} flips. See also: \code{\link{gtkTextBufferSetModified}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{paste-done(textbuffer, user.data)}}{ The paste-done signal is emitted after paste operation has been completed. This is useful to properly scroll the view to the end of the pasted text. See \code{\link{gtkTextBufferPasteClipboard}} for more details. Since 2.16 \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{remove-tag(textbuffer, tag, start, end, user.data)}}{ The ::remove-tag signal is emitted to remove all occurrences of \code{tag} from a range of text in a \code{\link{GtkTextBuffer}}. Removal actually occurs in the default handler. Note that if your handler runs before the default handler it must not invalidate the \code{start} and \code{end} iters (or has to revalidate them). See also: \code{\link{gtkTextBufferRemoveTag}}. \describe{ \item{\code{textbuffer}}{the object which received the signal} \item{\code{tag}}{the tag to be removed} \item{\code{start}}{the start of the range the tag is removed from} \item{\code{end}}{the end of the range the tag is removed from} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{copy-target-list} [\code{\link{GtkTargetList}} : * : Read]}{ The list of targets this buffer supports for clipboard copying and as DND source. Since 2.10 } \item{\verb{cursor-position} [integer : Read]}{ The position of the insert mark (as offset from the beginning of the buffer). It is useful for getting notified when the cursor moves. Allowed values: >= 0 Default value: 0 Since 2.10 } \item{\verb{has-selection} [logical : Read]}{ Whether the buffer has some text currently selected. Default value: FALSE Since 2.10 } \item{\verb{paste-target-list} [\code{\link{GtkTargetList}} : * : Read]}{ The list of targets this buffer supports for clipboard pasting and as DND destination. Since 2.10 } \item{\verb{tag-table} [\code{\link{GtkTextTagTable}} : * : Read / Write / Construct Only]}{ Text Tag Table. } \item{\verb{text} [character : * : Read / Write]}{ The text content of the buffer. Without child widgets and images, see \code{\link{gtkTextBufferGetText}} for more information. Default value: "" Since 2.8 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTextBuffer.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTextView}} \code{\link{GtkTextIter}} \code{\link{GtkTextMark}} } \keyword{internal} RGtk2/man/gtkStatusIconGetX11WindowId.Rd0000644000176000001440000000163212362217677017515 0ustar ripleyusers\alias{gtkStatusIconGetX11WindowId} \name{gtkStatusIconGetX11WindowId} \title{gtkStatusIconGetX11WindowId} \description{This function is only useful on the X11/freedesktop.org platform. It returns a window ID for the widget in the underlying status icon implementation. This is useful for the Galago notification service, which can send a window ID in the protocol in order for the server to position notification windows pointing to a status icon reliably.} \usage{gtkStatusIconGetX11WindowId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{This function is not intended for other use cases which are more likely to be met by one of the non-X11 specific methods, such as \code{\link{gtkStatusIconPositionMenu}}. Since 2.14} \value{[numeric] An 32 bit unsigned integer identifier for the underlying X11 Window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferCopyClipboard.Rd0000644000176000001440000000066212362217677017555 0ustar ripleyusers\alias{gtkTextBufferCopyClipboard} \name{gtkTextBufferCopyClipboard} \title{gtkTextBufferCopyClipboard} \description{Copies the currently-selected text to a clipboard.} \usage{gtkTextBufferCopyClipboard(object, clipboard)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{clipboard}}{the \code{\link{GtkClipboard}} object to copy to} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeToggleExpansionRecursive.Rd0000644000176000001440000000103112362217677020734 0ustar ripleyusers\alias{gtkCTreeToggleExpansionRecursive} \name{gtkCTreeToggleExpansionRecursive} \title{gtkCTreeToggleExpansionRecursive} \description{ Toggle the expansion of a node and all its children. \strong{WARNING: \code{gtk_ctree_toggle_expansion_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeToggleExpansionRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortNewWithModel.Rd0000644000176000001440000000073512362217677020044 0ustar ripleyusers\alias{gtkTreeModelSortNewWithModel} \name{gtkTreeModelSortNewWithModel} \title{gtkTreeModelSortNewWithModel} \description{Creates a new \code{\link{GtkTreeModel}}, with \code{child.model} as the child model.} \usage{gtkTreeModelSortNewWithModel(child.model = NULL)} \arguments{\item{\verb{child.model}}{A \code{\link{GtkTreeModel}}}} \value{[\code{\link{GtkTreeModel}}] A new \code{\link{GtkTreeModel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetLayout.Rd0000644000176000001440000000147312362217677015764 0ustar ripleyusers\alias{gtkEntryGetLayout} \name{gtkEntryGetLayout} \title{gtkEntryGetLayout} \description{Gets the \code{\link{PangoLayout}} used to display the entry. The layout is useful to e.g. convert text positions to pixel positions, in combination with \code{\link{gtkEntryGetLayoutOffsets}}.} \usage{gtkEntryGetLayout(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Keep in mind that the layout text may contain a preedit string, so \code{\link{gtkEntryLayoutIndexToTextIndex}} and \code{\link{gtkEntryTextIndexToLayoutIndex}} are needed to convert byte indices in the layout to byte indices in the entry contents.} \value{[\code{\link{PangoLayout}}] the \code{\link{PangoLayout}} for this entry. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadByte.Rd0000644000176000001440000000142312362217677017146 0ustar ripleyusers\alias{gDataInputStreamReadByte} \name{gDataInputStreamReadByte} \title{gDataInputStreamReadByte} \description{Reads an unsigned 8-bit/1-byte value from \code{stream}.} \usage{gDataInputStreamReadByte(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[raw] an unsigned 8-bit/1-byte value read from the \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabLabelPacking.Rd0000644000176000001440000000204212362217677020136 0ustar ripleyusers\alias{gtkNotebookSetTabLabelPacking} \name{gtkNotebookSetTabLabelPacking} \title{gtkNotebookSetTabLabelPacking} \description{ Sets the packing parameters for the tab label of the page containing \code{child}. See \code{\link{gtkBoxPackStart}} for the exact meaning of the parameters. \strong{WARNING: \code{gtk_notebook_set_tab_label_packing} has been deprecated since version 2.20 and should not be used in newly-written code. Modify the \verb{"tab-expand"} and \verb{"tab-fill"} child properties instead. Modifying the packing of the tab label is a deprecated feature and shouldn't be done anymore.} } \usage{gtkNotebookSetTabLabelPacking(object, child, expand, fill, pack.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the child widget} \item{\verb{expand}}{whether to expand the tab label or not} \item{\verb{fill}}{whether the tab label should fill the allocated area or not} \item{\verb{pack.type}}{the position of the tab label} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeStatus.Rd0000644000176000001440000000147112362217677017723 0ustar ripleyusers\alias{gFileInfoSetAttributeStatus} \name{gFileInfoSetAttributeStatus} \title{gFileInfoSetAttributeStatus} \description{Sets the attribute status for an attribute key. This is only needed by external code that implement \code{\link{gFileSetAttributesFromInfo}} or similar functions.} \usage{gFileInfoSetAttributeStatus(object, attribute, status)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}} \item{\verb{attribute}}{a file attribute key} \item{\verb{status}}{a \code{\link{GFileAttributeStatus}}} } \details{The attribute must exist in \code{info} for this to work. Otherwise \code{FALSE} is returned and \code{info} is unchanged. Since 2.22} \value{[logical] \code{TRUE} if the status was changed, \code{FALSE} if the key was not set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnsAutosize.Rd0000644000176000001440000000102412362217677017120 0ustar ripleyusers\alias{gtkCListColumnsAutosize} \name{gtkCListColumnsAutosize} \title{gtkCListColumnsAutosize} \description{ Auto-sizes all columns in the CList and returns the total width of the CList. \strong{WARNING: \code{gtk_clist_columns_autosize} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnsAutosize(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \value{[integer] The total width of the CList.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatIsWritable.Rd0000644000176000001440000000067012362217677017377 0ustar ripleyusers\alias{gdkPixbufFormatIsWritable} \name{gdkPixbufFormatIsWritable} \title{gdkPixbufFormatIsWritable} \description{Returns whether pixbufs can be saved in the given format.} \usage{gdkPixbufFormatIsWritable(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.2} \value{[logical] whether pixbufs can be saved in the given format.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleSetDrawValue.Rd0000644000176000001440000000064312362217677016341 0ustar ripleyusers\alias{gtkScaleSetDrawValue} \name{gtkScaleSetDrawValue} \title{gtkScaleSetDrawValue} \description{Specifies whether the current value is displayed as a string next to the slider.} \usage{gtkScaleSetDrawValue(object, draw.value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScale}}} \item{\verb{draw.value}}{\code{TRUE} to draw the value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoShowPage.Rd0000644000176000001440000000077612362217677015057 0ustar ripleyusers\alias{cairoShowPage} \name{cairoShowPage} \title{cairoShowPage} \description{Emits and clears the current page for backends that support multiple pages. Use \code{\link{cairoCopyPage}} if you don't want to clear the page.} \usage{cairoShowPage(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This is a convenience function that simply calls \code{\link{cairoSurfaceShowPage}} on \code{cr}'s target. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionGetActive.Rd0000644000176000001440000000062112362217677017172 0ustar ripleyusers\alias{gtkToggleActionGetActive} \name{gtkToggleActionGetActive} \title{gtkToggleActionGetActive} \description{Returns the checked state of the toggle action.} \usage{gtkToggleActionGetActive(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] the checked state of the toggle action} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetSerializeFormats.Rd0000644000176000001440000000137412362217677020747 0ustar ripleyusers\alias{gtkTextBufferGetSerializeFormats} \name{gtkTextBufferGetSerializeFormats} \title{gtkTextBufferGetSerializeFormats} \description{This function returns the rich text serialize formats registered with \code{buffer} using \code{\link{gtkTextBufferRegisterSerializeFormat}} or \code{\link{gtkTextBufferRegisterSerializeTagset}}} \usage{gtkTextBufferGetSerializeFormats(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkAtom}}] a list of \code{\link{GdkAtom}}s representing the registered formats.} \item{\verb{n.formats}}{return location for the number of formats} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFontName.Rd0000644000176000001440000000152712362217677017671 0ustar ripleyusers\alias{gtkFontSelectionGetFontName} \name{gtkFontSelectionGetFontName} \title{gtkFontSelectionGetFontName} \description{Gets the currently-selected font name. } \usage{gtkFontSelectionGetFontName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Note that this can be a different string than what you set with \code{\link{gtkFontSelectionSetFontName}}, as the font selection widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use \code{\link{pangoFontDescriptionEqual}} if you want to compare two font descriptions.} \value{[character] A string with the name of the current font, or \code{NULL} if no font is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionHash.Rd0000644000176000001440000000106212362217677017254 0ustar ripleyusers\alias{pangoFontDescriptionHash} \name{pangoFontDescriptionHash} \title{pangoFontDescriptionHash} \description{Computes a hash of a \code{\link{PangoFontDescription}} structure suitable to be used, for example, as an argument to \code{gHashTableNew()}. The hash value is independent of \code{desc->mask}.} \usage{pangoFontDescriptionHash(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \value{[numeric] the hash value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSeparatorToolItem.Rd0000644000176000001440000000406112362217677016376 0ustar ripleyusers\alias{GtkSeparatorToolItem} \alias{gtkSeparatorToolItem} \name{GtkSeparatorToolItem} \title{GtkSeparatorToolItem} \description{A toolbar item that separates groups of other toolbar items} \section{Methods and Functions}{ \code{\link{gtkSeparatorToolItemNew}(show = TRUE)}\cr \code{\link{gtkSeparatorToolItemSetDraw}(object, draw)}\cr \code{\link{gtkSeparatorToolItemGetDraw}(object)}\cr \code{gtkSeparatorToolItem(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkSeparatorToolItem}} \section{Interfaces}{GtkSeparatorToolItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{ A \verb{GtkSeparatorItem} is a \code{\link{GtkToolItem}} that separates groups of other \verb{GtkToolItems}. Depending on the theme, a \code{\link{GtkSeparatorToolItem}} will often look like a vertical line on horizontally docked toolbars. If the property "expand" is \verb{TRUE} and the property "draw" is \verb{FALSE}, a \code{\link{GtkSeparatorToolItem}} will act as a "spring" that forces other items to the ends of the toolbar. Use \code{\link{gtkSeparatorToolItemNew}} to create a new \code{\link{GtkSeparatorToolItem}}.} \section{Structures}{\describe{\item{\verb{GtkSeparatorToolItem}}{ The \code{\link{GtkSeparatorToolItem}} struct contains only private data and should only be accessed through the functions described below. }}} \section{Convenient Construction}{\code{gtkSeparatorToolItem} is the equivalent of \code{\link{gtkSeparatorToolItemNew}}.} \section{Properties}{\describe{\item{\verb{draw} [logical : Read / Write]}{ Whether the separator is drawn, or just blank. Default value: TRUE }}} \references{\url{http://library.gnome.org/devel//gtk/GtkSeparatorToolItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemGetOrigin.Rd0000644000176000001440000000055512362217677015477 0ustar ripleyusers\alias{gEmblemGetOrigin} \name{gEmblemGetOrigin} \title{gEmblemGetOrigin} \description{Gets the origin of the emblem.} \usage{gEmblemGetOrigin(object)} \arguments{\item{\verb{object}}{a \code{\link{GEmblem}}}} \details{Since 2.18} \value{[\code{\link{GEmblemOrigin}}] the origin of the emblem} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetParent.Rd0000644000176000001440000000126112362217677016061 0ustar ripleyusers\alias{gdkWindowGetParent} \name{gdkWindowGetParent} \title{gdkWindowGetParent} \description{Obtains the parent of \code{window}, as known to GDK. Does not query the X server; thus this returns the parent as passed to \code{\link{gdkWindowNew}}, not the actual parent. This should never matter unless you're using Xlib calls mixed with GDK calls on the X11 platform. It may also matter for toplevel windows, because the window manager may choose to reparent them.} \usage{gdkWindowGetParent(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkWindow}}] parent of \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionCreateMenuItem.Rd0000644000176000001440000000065112362217677017027 0ustar ripleyusers\alias{gtkActionCreateMenuItem} \name{gtkActionCreateMenuItem} \title{gtkActionCreateMenuItem} \description{Creates a menu item widget that proxies for the given action.} \usage{gtkActionCreateMenuItem(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a menu item connected to the action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreMoveBefore.Rd0000644000176000001440000000126512362217677016726 0ustar ripleyusers\alias{gtkListStoreMoveBefore} \name{gtkListStoreMoveBefore} \title{gtkListStoreMoveBefore} \description{Moves \code{iter} in \code{store} to the position before \code{position}. Note that this function only works with unsorted stores. If \code{position} is \code{NULL}, \code{iter} will be moved to the end of the list.} \usage{gtkListStoreMoveBefore(object, iter, position = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} \item{\verb{position}}{A \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetAdd.Rd0000644000176000001440000000115612362217677015657 0ustar ripleyusers\alias{atkRelationSetAdd} \name{atkRelationSetAdd} \title{atkRelationSetAdd} \description{Add a new relation to the current relation set if it is not already present. This function ref's the AtkRelation so the caller of this function should unref it to ensure that it will be destroyed when the AtkRelationSet is destroyed.} \usage{atkRelationSetAdd(object, relation)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{relation}}{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryCreateMenuEntries.Rd0000644000176000001440000000105312362217677020550 0ustar ripleyusers\alias{gtkItemFactoryCreateMenuEntries} \name{gtkItemFactoryCreateMenuEntries} \title{gtkItemFactoryCreateMenuEntries} \description{ Creates the menu items from the \code{entries}. \strong{WARNING: \code{gtk_item_factory_create_menu_entries} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryCreateMenuEntries(entries)} \arguments{\item{\verb{entries}}{a list of \verb{GtkMenuEntry}s}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetDestItemAtPos.Rd0000644000176000001440000000156112362217677017614 0ustar ripleyusers\alias{gtkIconViewGetDestItemAtPos} \name{gtkIconViewGetDestItemAtPos} \title{gtkIconViewGetDestItemAtPos} \description{Determines the destination item for a given position.} \usage{gtkIconViewGetDestItemAtPos(object, drag.x, drag.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{drag.x}}{the position to determine the destination item for} \item{\verb{drag.y}}{the position to determine the destination item for} } \details{Since 2.8} \value{ A list containing the following elements: \item{retval}{[logical] whether there is an item at the given position.} \item{\verb{path}}{Return location for the path of the item, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pos}}{Return location for the drop position, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderSetSize.Rd0000644000176000001440000000141312362217677016672 0ustar ripleyusers\alias{gdkPixbufLoaderSetSize} \name{gdkPixbufLoaderSetSize} \title{gdkPixbufLoaderSetSize} \description{Causes the image to be scaled while it is loaded. The desired image size can be determined relative to the original size of the image by calling \code{\link{gdkPixbufLoaderSetSize}} from a signal handler for the ::size-prepared signal.} \usage{gdkPixbufLoaderSetSize(object, width, height)} \arguments{ \item{\verb{object}}{A pixbuf loader.} \item{\verb{width}}{The desired width of the image being loaded.} \item{\verb{height}}{The desired height of the image being loaded.} } \details{Attempts to set the desired image size are ignored after the emission of the ::size-prepared signal. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetShowFillLevel.Rd0000644000176000001440000000105312362217677017167 0ustar ripleyusers\alias{gtkRangeSetShowFillLevel} \name{gtkRangeSetShowFillLevel} \title{gtkRangeSetShowFillLevel} \description{Sets whether a graphical fill level is show on the trough. See \code{\link{gtkRangeSetFillLevel}} for a general description of the fill level concept.} \usage{gtkRangeSetShowFillLevel(object, show.fill.level)} \arguments{ \item{\verb{object}}{A \code{\link{GtkRange}}} \item{\verb{show.fill.level}}{Whether a fill level indicator graphics is shown.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceGetStride.Rd0000644000176000001440000000116012362217677017474 0ustar ripleyusers\alias{cairoImageSurfaceGetStride} \name{cairoImageSurfaceGetStride} \title{cairoImageSurfaceGetStride} \description{Get the stride of the image surface in bytes} \usage{cairoImageSurfaceGetStride(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_image_surface_t}}} \details{ Since 1.2} \value{[integer] the stride of the image surface in bytes (or 0 if \code{surface} is not an image surface). The stride is the distance in bytes from the beginning of one row of the image data to the beginning of the next row.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarGetContentArea.Rd0000644000176000001440000000062312362217677017125 0ustar ripleyusers\alias{gtkInfoBarGetContentArea} \name{gtkInfoBarGetContentArea} \title{gtkInfoBarGetContentArea} \description{Returns the content area of \code{info.bar}.} \usage{gtkInfoBarGetContentArea(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkInfoBar}}}} \details{Since 2.18} \value{[\code{\link{GtkWidget}}] the content area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromPixbuf.Rd0000644000176000001440000000066712362217677016531 0ustar ripleyusers\alias{gtkImageSetFromPixbuf} \name{gtkImageSetFromPixbuf} \title{gtkImageSetFromPixbuf} \description{See \code{\link{gtkImageNewFromPixbuf}} for details.} \usage{gtkImageSetFromPixbuf(object, pixbuf = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetRole.Rd0000644000176000001440000000062712362217677015507 0ustar ripleyusers\alias{atkObjectGetRole} \name{atkObjectGetRole} \title{atkObjectGetRole} \description{Gets the role of the accessible.} \usage{atkObjectGetRole(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[\code{\link{AtkRole}}] an \code{\link{AtkRole}} which is the role of the accessible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixMultiply.Rd0000644000176000001440000000153712362217677016342 0ustar ripleyusers\alias{cairoMatrixMultiply} \name{cairoMatrixMultiply} \title{cairoMatrixMultiply} \description{Multiplies the affine transformations in \code{a} and \code{b} together and stores the result in \code{result}. The effect of the resulting transformation is to first apply the transformation in \code{a} to the coordinates and then apply the transformation in \code{b} to the coordinates.} \usage{cairoMatrixMultiply(result, a, b)} \arguments{ \item{\verb{result}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}} in which to store the result} \item{\verb{a}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{b}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \details{It is allowable for \code{result} to be identical to either \code{a} or \code{b}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkStateSet.Rd0000644000176000001440000000240512362217677014507 0ustar ripleyusers\alias{AtkStateSet} \alias{atkStateSet} \name{AtkStateSet} \title{AtkStateSet} \description{An AtkStateSet determines a component's state set.} \section{Methods and Functions}{ \code{\link{atkStateSetNew}()}\cr \code{\link{atkStateSetIsEmpty}(object)}\cr \code{\link{atkStateSetAddState}(object, type)}\cr \code{\link{atkStateSetAddStates}(object, types)}\cr \code{\link{atkStateSetClearStates}(object)}\cr \code{\link{atkStateSetContainsState}(object, type)}\cr \code{\link{atkStateSetContainsStates}(object, types)}\cr \code{\link{atkStateSetRemoveState}(object, type)}\cr \code{\link{atkStateSetAndSets}(object, compare.set)}\cr \code{\link{atkStateSetOrSets}(object, compare.set)}\cr \code{\link{atkStateSetXorSets}(object, compare.set)}\cr \code{atkStateSet()} } \section{Hierarchy}{\preformatted{GObject +----AtkStateSet}} \section{Detailed Description}{An AtkStateSet determines a component's state set. It is composed of a set of AtkStates.} \section{Structures}{\describe{\item{\verb{AtkStateSet}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{atkStateSet} is the equivalent of \code{\link{atkStateSetNew}}.} \references{\url{http://library.gnome.org/devel//atk/AtkStateSet.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterStartsSentence.Rd0000644000176000001440000000110512362217677017453 0ustar ripleyusers\alias{gtkTextIterStartsSentence} \name{gtkTextIterStartsSentence} \title{gtkTextIterStartsSentence} \description{Determines whether \code{iter} begins a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).} \usage{gtkTextIterStartsSentence(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is at the start of a sentence.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxEntryNewText.Rd0000644000176000001440000000134212362217677017071 0ustar ripleyusers\alias{gtkComboBoxEntryNewText} \name{gtkComboBoxEntryNewText} \title{gtkComboBoxEntryNewText} \description{Convenience function which constructs a new editable text combo box, which is a \code{\link{GtkComboBoxEntry}} just displaying strings. If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: \code{\link{gtkComboBoxAppendText}}, \code{\link{gtkComboBoxInsertText}}, \code{\link{gtkComboBoxPrependText}} and \code{\link{gtkComboBoxRemoveText}}.} \usage{gtkComboBoxEntryNewText()} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new text \code{\link{GtkComboBoxEntry}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoArc.Rd0000644000176000001440000000426412362217677014043 0ustar ripleyusers\alias{cairoArc} \name{cairoArc} \title{cairoArc} \description{Adds a circular arc of the given \code{radius} to the current path. The arc is centered at (\code{xc}, \code{yc}), begins at \code{angle1} and proceeds in the direction of increasing angles to end at \code{angle2}. If \code{angle2} is less than \code{angle1} it will be progressively increased by 2*M_PI until it is greater than \code{angle1}.} \usage{cairoArc(cr, xc, yc, radius, angle1, angle2)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{xc}}{[numeric] X position of the center of the arc} \item{\verb{yc}}{[numeric] Y position of the center of the arc} \item{\verb{radius}}{[numeric] the radius of the arc} \item{\verb{angle1}}{[numeric] the start angle, in radians} \item{\verb{angle2}}{[numeric] the end angle, in radians} } \details{If there is a current point, an initial line segment will be added to the path to connect the current point to the beginning of the arc. If this initial line is undesired, it can be avoided by calling \code{\link{cairoNewSubPath}} before calling \code{\link{cairoArc}}. Angles are measured in radians. An angle of 0.0 is in the direction of the positive X axis (in user space). An angle of \code{M_PI}/2.0 radians (90 degrees) is in the direction of the positive Y axis (in user space). Angles increase in the direction from the positive X axis toward the positive Y axis. So with the default transformation matrix, angles increase in a clockwise direction. (To convert from degrees to radians, use \code{degrees * (M_PI / 180.)}.) This function gives the arc in the direction of increasing angles; see \code{\link{cairoArcNegative}} to get the arc in the direction of decreasing angles. The arc is circular in user space. To achieve an elliptical arc, you can scale the current transformation matrix by different amounts in the X and Y directions. For example, to draw an ellipse in the box given by \code{x}, \code{y}, \code{width}, \code{height}: \preformatted{ cr$save() cr$translate(x + width / 2, y + height / 2) cr$scale(width / 2, height / 2) cr$arc(0, 0, 1, 0, 2 * pi) cr$restore() } } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetLabelWidget.Rd0000644000176000001440000000074212362217677017335 0ustar ripleyusers\alias{gtkExpanderGetLabelWidget} \name{gtkExpanderGetLabelWidget} \title{gtkExpanderGetLabelWidget} \description{Retrieves the label widget for the frame. See \code{\link{gtkExpanderSetLabelWidget}}.} \usage{gtkExpanderGetLabelWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] the label widget, or \code{NULL} if there is none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableSetColSpacing.Rd0000644000176000001440000000100012362217677016455 0ustar ripleyusers\alias{gtkTableSetColSpacing} \name{gtkTableSetColSpacing} \title{gtkTableSetColSpacing} \description{Alters the amount of space between a given table column and the following column.} \usage{gtkTableSetColSpacing(object, column, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}}.} \item{\verb{column}}{the column whose spacing should be changed.} \item{\verb{spacing}}{number of pixels that the spacing should take up.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListUnselectAll.Rd0000644000176000001440000000064312362217677016175 0ustar ripleyusers\alias{gtkCListUnselectAll} \name{gtkCListUnselectAll} \title{gtkCListUnselectAll} \description{ Unselects all rows in the CList. \strong{WARNING: \code{gtk_clist_unselect_all} is deprecated and should not be used in newly-written code.} } \usage{gtkCListUnselectAll(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyboardUngrab.Rd0000644000176000001440000000065712362217677015707 0ustar ripleyusers\alias{gdkKeyboardUngrab} \name{gdkKeyboardUngrab} \title{gdkKeyboardUngrab} \description{Ungrabs the keyboard on the default display, if it is grabbed by this application.} \usage{gdkKeyboardUngrab(time = "GDK_CURRENT_TIME")} \arguments{\item{\verb{time}}{a timestamp from a \code{\link{GdkEvent}}, or \code{GDK_CURRENT_TIME} if no timestamp is available.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbSetInstall.Rd0000644000176000001440000000121712362217677015516 0ustar ripleyusers\alias{gdkRgbSetInstall} \name{gdkRgbSetInstall} \title{gdkRgbSetInstall} \description{If \code{install} is \code{TRUE}, directs GdkRGB to always install a new "private" colormap rather than trying to find a best fit with the colors already allocated. Ordinarily, GdkRGB will install a colormap only if a sufficient cube cannot be allocated.} \usage{gdkRgbSetInstall(install)} \arguments{\item{\verb{install}}{\code{TRUE} to set install mode.}} \details{A private colormap has more colors, leading to better quality display, but also leads to the dreaded "colormap flashing" effect.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewUnselectPath.Rd0000644000176000001440000000063512362217677017067 0ustar ripleyusers\alias{gtkIconViewUnselectPath} \name{gtkIconViewUnselectPath} \title{gtkIconViewUnselectPath} \description{Unselects the row at \code{path}.} \usage{gtkIconViewUnselectPath(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be unselected.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringGetLogicalWidths.Rd0000644000176000001440000000226012362217677020727 0ustar ripleyusers\alias{pangoGlyphStringGetLogicalWidths} \name{pangoGlyphStringGetLogicalWidths} \title{pangoGlyphStringGetLogicalWidths} \description{Given a \code{\link{PangoGlyphString}} resulting from \code{\link{pangoShape}} and the corresponding text, determine the screen width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.} \usage{pangoGlyphStringGetLogicalWidths(object, text, embedding.level)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} \item{\verb{text}}{[char] the text corresponding to the glyphs} \item{\verb{embedding.level}}{[integer] the embedding level of the string} } \details{See also \code{\link{pangoGlyphItemGetLogicalWidths}}. } \value{ A list containing the following elements: \item{\verb{logical.widths}}{[integer] a list whose length is the number of characters in text (equal to g_utf8_strlen (text, length) unless text has NUL bytes) to be filled in with the resulting character widths.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRelLineTo.Rd0000644000176000001440000000175712362217677015177 0ustar ripleyusers\alias{cairoRelLineTo} \name{cairoRelLineTo} \title{cairoRelLineTo} \description{Relative-coordinate version of \code{\link{cairoLineTo}}. Adds a line to the path from the current point to a point that is offset from the current point by (\code{dx}, \code{dy}) in user space. After this call the current point will be offset by (\code{dx}, \code{dy}).} \usage{cairoRelLineTo(cr, dx, dy)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dx}}{[numeric] the X offset to the end of the new line} \item{\verb{dy}}{[numeric] the Y offset to the end of the new line} } \details{Given a current point of (x, y), cairo_rel_line_to(\code{cr}, \code{dx}, \code{dy}) is logically equivalent to cairo_line_to(\code{cr}, x + \code{dx}, y + \code{dy}). It is an error to call this function with no current point. Doing so will cause \code{cr} to shutdown with a status of \code{CAIRO_STATUS_NO_CURRENT_POINT}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoLayoutLinePath.Rd0000644000176000001440000000114112362217677017214 0ustar ripleyusers\alias{pangoCairoLayoutLinePath} \name{pangoCairoLayoutLinePath} \title{pangoCairoLayoutLinePath} \description{Adds the text in \code{\link{PangoLayoutLine}} to the current path in the specified cairo context. The origin of the glyphs (the left edge of the line) will be at the current point of the cairo context.} \usage{pangoCairoLayoutLinePath(cr, line)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{line}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarDisplayOptions.Rd0000644000176000001440000000115612362217677017436 0ustar ripleyusers\alias{gtkCalendarDisplayOptions} \name{gtkCalendarDisplayOptions} \title{gtkCalendarDisplayOptions} \description{ Sets display options (whether to display the heading and the month headings). \strong{WARNING: \code{gtk_calendar_display_options} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkCalendarSetDisplayOptions}} instead} } \usage{gtkCalendarDisplayOptions(object, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{flags}}{the display options to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetExclusive.Rd0000644000176000001440000000113712362217677017622 0ustar ripleyusers\alias{gtkToolPaletteSetExclusive} \name{gtkToolPaletteSetExclusive} \title{gtkToolPaletteSetExclusive} \description{Sets whether the group should be exclusive or not. If an exclusive group is expanded all other groups are collapsed.} \usage{gtkToolPaletteSetExclusive(object, group, exclusive)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}} which is a child of palette} \item{\verb{exclusive}}{whether the group should be exclusive or not} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetFallbackResolution.Rd0000644000176000001440000000132512362217677021065 0ustar ripleyusers\alias{cairoSurfaceGetFallbackResolution} \name{cairoSurfaceGetFallbackResolution} \title{cairoSurfaceGetFallbackResolution} \description{This function returns the previous fallback resolution set by \code{\link{cairoSurfaceSetFallbackResolution}}, or default fallback resolution if never set.} \usage{cairoSurfaceGetFallbackResolution(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{ Since 1.8} \value{ A list containing the following elements: \item{\verb{x.pixels.per.inch}}{[numeric] horizontal pixels per inch} \item{\verb{y.pixels.per.inch}}{[numeric] vertical pixels per inch} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxSetChildPacking.Rd0000644000176000001440000000133612362217677016470 0ustar ripleyusers\alias{gtkBoxSetChildPacking} \name{gtkBoxSetChildPacking} \title{gtkBoxSetChildPacking} \description{Sets the way \code{child} is packed into \code{box}.} \usage{gtkBoxSetChildPacking(object, child, expand, fill, padding, pack.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{child}}{the \code{\link{GtkWidget}} of the child to set} \item{\verb{expand}}{the new value of the \verb{"expand"} child property} \item{\verb{fill}}{the new value of the \verb{"fill"} child property} \item{\verb{padding}}{the new value of the \verb{"padding"} child property} \item{\verb{pack.type}}{the new value of the \verb{"pack-type"} child property} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIsEllipsized.Rd0000644000176000001440000000130712362217677017136 0ustar ripleyusers\alias{pangoLayoutIsEllipsized} \name{pangoLayoutIsEllipsized} \title{pangoLayoutIsEllipsized} \description{Queries whether the layout had to ellipsize any paragraphs.} \usage{pangoLayoutIsEllipsized(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{This returns \code{TRUE} if the ellipsization mode for \code{layout} is not \code{PANGO_ELLIPSIZE_NONE}, a positive width is set on \code{layout}, and there are paragraphs exceeding that width that have to be ellipsized. Since 1.16} \value{[logical] \code{TRUE} if any paragraphs had to be ellipsized, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetSlice.Rd0000644000176000001440000000210412362217677016513 0ustar ripleyusers\alias{gtkTextBufferGetSlice} \name{gtkTextBufferGetSlice} \title{gtkTextBufferGetSlice} \description{Returns the text in the range [\code{start},\code{end}). Excludes undisplayed text (text marked with tags that set the invisibility attribute) if \code{include.hidden.chars} is \code{FALSE}. The returned string includes a 0xFFFC character whenever the buffer contains embedded images, so byte and character indexes into the returned string \emph{do} correspond to byte and character indexes into the buffer. Contrast with \code{\link{gtkTextBufferGetText}}. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer.} \usage{gtkTextBufferGetSlice(object, start, end, include.hidden.chars = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{start}}{start of a range} \item{\verb{end}}{end of a range} \item{\verb{include.hidden.chars}}{whether to include invisible text} } \value{[character] an allocated UTF-8 string} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalIsLower.Rd0000644000176000001440000000064412362217677015544 0ustar ripleyusers\alias{gdkKeyvalIsLower} \name{gdkKeyvalIsLower} \title{gdkKeyvalIsLower} \description{Returns \code{TRUE} if the given key value is in lower case.} \usage{gdkKeyvalIsLower(keyval)} \arguments{\item{\verb{keyval}}{a key value.}} \value{[logical] \code{TRUE} if \code{keyval} is in lower case, or if \code{keyval} is not subject to case conversion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetLabel.Rd0000644000176000001440000000142112362217677016543 0ustar ripleyusers\alias{gtkToolButtonSetLabel} \name{gtkToolButtonSetLabel} \title{gtkToolButtonSetLabel} \description{Sets \code{label} as the label used for the tool button. The "label" property only has an effect if not overridden by a non-\code{NULL} "label_widget" property. If both the "label_widget" and "label" properties are \code{NULL}, the label is determined by the "stock_id" property. If the "stock_id" property is also \code{NULL}, \code{button} will not have a label.} \usage{gtkToolButtonSetLabel(object, label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{label}}{a string that will be used as label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetExportFilename.Rd0000644000176000001440000000144412362217677021317 0ustar ripleyusers\alias{gtkPrintOperationSetExportFilename} \name{gtkPrintOperationSetExportFilename} \title{gtkPrintOperationSetExportFilename} \description{Sets up the \code{\link{GtkPrintOperation}} to generate a file instead of showing the print dialog. The indended use of this function is for implementing "Export to PDF" actions. Currently, PDF is the only supported format.} \usage{gtkPrintOperationSetExportFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{filename}}{the filename for the exported file} } \details{"Print to PDF" support is independent of this and is done by letting the user pick the "Print to PDF" item from the list of printers in the print dialog. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetFontMatrix.Rd0000644000176000001440000000141312362217677016076 0ustar ripleyusers\alias{cairoSetFontMatrix} \name{cairoSetFontMatrix} \title{cairoSetFontMatrix} \description{Sets the current font matrix to \code{matrix}. The font matrix gives a transformation from the design space of the font (in this space, the em-square is 1 unit by 1 unit) to user space. Normally, a simple scale is used (see \code{\link{cairoSetFontSize}}), but a more complex font matrix can be used to shear the font or stretch it unequally along the two axes} \usage{cairoSetFontMatrix(cr, matrix)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}} describing a transform to be applied to the current font.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemNewWithMnemonic.Rd0000644000176000001440000000122112362217677020476 0ustar ripleyusers\alias{gtkImageMenuItemNewWithMnemonic} \name{gtkImageMenuItemNewWithMnemonic} \title{gtkImageMenuItemNewWithMnemonic} \description{Creates a new \code{\link{GtkImageMenuItem}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the menu item.} \usage{gtkImageMenuItemNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{the text of the menu item, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImageMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionGetSelectMultiple.Rd0000644000176000001440000000126212362217677021062 0ustar ripleyusers\alias{gtkFileSelectionGetSelectMultiple} \name{gtkFileSelectionGetSelectMultiple} \title{gtkFileSelectionGetSelectMultiple} \description{ Determines whether or not the user is allowed to select multiple files in the file list. See \code{\link{gtkFileSelectionSetSelectMultiple}}. \strong{WARNING: \code{gtk_file_selection_get_select_multiple} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionGetSelectMultiple(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileSelection}}}} \value{[logical] \code{TRUE} if the user is allowed to select multiple files in the file list} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAboutDialog.Rd0000644000176000001440000002243712362217677015162 0ustar ripleyusers\alias{GtkAboutDialog} \alias{gtkAboutDialog} \alias{GtkAboutDialogActivateLinkFunc} \name{GtkAboutDialog} \title{GtkAboutDialog} \description{Display information about an application} \section{Methods and Functions}{ \code{\link{gtkAboutDialogNew}(show = TRUE)}\cr \code{\link{gtkAboutDialogGetName}(object)}\cr \code{\link{gtkAboutDialogGetName}(object)}\cr \code{\link{gtkAboutDialogSetName}(object, name = NULL)}\cr \code{\link{gtkAboutDialogSetName}(object, name = NULL)}\cr \code{\link{gtkAboutDialogGetProgramName}(object)}\cr \code{\link{gtkAboutDialogSetProgramName}(object, name)}\cr \code{\link{gtkAboutDialogGetVersion}(object)}\cr \code{\link{gtkAboutDialogSetVersion}(object, version = NULL)}\cr \code{\link{gtkAboutDialogGetCopyright}(object)}\cr \code{\link{gtkAboutDialogSetCopyright}(object, copyright = NULL)}\cr \code{\link{gtkAboutDialogGetComments}(object)}\cr \code{\link{gtkAboutDialogSetComments}(object, comments = NULL)}\cr \code{\link{gtkAboutDialogGetLicense}(object)}\cr \code{\link{gtkAboutDialogSetLicense}(object, license = NULL)}\cr \code{\link{gtkAboutDialogGetWrapLicense}(object)}\cr \code{\link{gtkAboutDialogSetWrapLicense}(object, wrap.license)}\cr \code{\link{gtkAboutDialogGetWebsite}(object)}\cr \code{\link{gtkAboutDialogSetWebsite}(object, website = NULL)}\cr \code{\link{gtkAboutDialogGetWebsiteLabel}(object)}\cr \code{\link{gtkAboutDialogSetWebsiteLabel}(object, website.label = NULL)}\cr \code{\link{gtkAboutDialogGetAuthors}(object)}\cr \code{\link{gtkAboutDialogSetAuthors}(object, authors)}\cr \code{\link{gtkAboutDialogGetArtists}(object)}\cr \code{\link{gtkAboutDialogSetArtists}(object, artists)}\cr \code{\link{gtkAboutDialogGetDocumenters}(object)}\cr \code{\link{gtkAboutDialogSetDocumenters}(object, documenters)}\cr \code{\link{gtkAboutDialogGetTranslatorCredits}(object)}\cr \code{\link{gtkAboutDialogSetTranslatorCredits}(object, translator.credits = NULL)}\cr \code{\link{gtkAboutDialogGetLogo}(object)}\cr \code{\link{gtkAboutDialogSetLogo}(object, logo = NULL)}\cr \code{\link{gtkAboutDialogGetLogoIconName}(object)}\cr \code{\link{gtkAboutDialogSetLogoIconName}(object, icon.name = NULL)}\cr \code{\link{gtkAboutDialogSetEmailHook}(func, data = NULL)}\cr \code{\link{gtkAboutDialogSetUrlHook}(func, data = NULL)}\cr \code{\link{gtkShowAboutDialog}(parent, ...)}\cr \code{gtkAboutDialog(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkAboutDialog}} \section{Interfaces}{GtkAboutDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkAboutDialog}} offers a simple way to display information about a program like its logo, name, copyright, website and license. It is also possible to give credits to the authors, documenters, translators and artists who have worked on the program. An about dialog is typically opened when the user selects the \code{About} option from the \code{Help} menu. All parts of the dialog are optional. About dialog often contain links and email addresses. \code{\link{GtkAboutDialog}} supports this by offering global hooks, which are called when the user clicks on a link or email address, see \code{\link{gtkAboutDialogSetEmailHook}} and \code{\link{gtkAboutDialogSetUrlHook}}. Email addresses in the authors, documenters and artists properties are recognized by looking for \code{}, URLs are recognized by looking for \code{http://url}, with \code{url} extending to the next space, tab or line break. Since 2.18 \code{\link{GtkAboutDialog}} provides default website and email hooks that use \code{\link{gtkShowUri}}. If you want provide your own hooks overriding the default ones, it is important to do so before setting the website and email URL properties, like this: \preformatted{ gtkShowAboutDialog(NULL, "name" = "ExampleCode", "logo" = example_logo, "title" = "About ExampleCode") } To disable the default hooks, you can pass \code{NULL} as the hook func. Then, the \code{\link{GtkAboutDialog}} widget will not display the website or the email addresses as clickable. To make constructing a \code{\link{GtkAboutDialog}} as convenient as possible, you can use the function \code{\link{gtkShowAboutDialog}} which constructs and shows a dialog and keeps it around so that it can be shown again. Note that GTK+ sets a default title of \code{_("About \%s")} on the dialog window (where \%s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a \code{\link{GtkAboutDialog}}, as shown in the following example: \preformatted{about$setTranslatorCredits(gettext("translator-credits"))} Note that prior to GTK+ 2.12, the \verb{"program-name"} property was called "name". This was changed to avoid the conflict with the \verb{"name"} property.} \section{Structures}{\describe{\item{\verb{GtkAboutDialog}}{ The \code{GtkAboutDialog} struct contains only private fields and should not be directly accessed. }}} \section{Convenient Construction}{\code{gtkAboutDialog} is the equivalent of \code{\link{gtkAboutDialogNew}}.} \section{User Functions}{\describe{\item{\code{GtkAboutDialogActivateLinkFunc(about, link., data)}}{ The type of a function which is called when a URL or email link is activated. \describe{ \item{\code{about}}{the \code{\link{GtkAboutDialog}} in which the link was activated} \item{\code{link.}}{the URL or email address to which the activated link points} \item{\code{data}}{user data that was passed when the function was registered with \code{\link{gtkAboutDialogSetEmailHook}} or \code{\link{gtkAboutDialogSetUrlHook}}} } }}} \section{Properties}{\describe{ \item{\verb{artists} [character list : Read / Write]}{ The people who contributed artwork to the program, as a \code{NULL}-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details. Since 2.6 } \item{\verb{authors} [character list : Read / Write]}{ The authors of the program, as a list of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details. Since 2.6 } \item{\verb{comments} [character : * : Read / Write]}{ Comments about the program. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features. Default value: NULL Since 2.6 } \item{\verb{copyright} [character : * : Read / Write]}{ Copyright information for the program. Default value: NULL Since 2.6 } \item{\verb{documenters} [character list : Read / Write]}{ The people documenting the program, as a list of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details. Since 2.6 } \item{\verb{license} [character : * : Read / Write]}{ The license of the program. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that the text is only wrapped in the text view if the "wrap-license" property is set to \code{TRUE}; otherwise the text itself must contain the intended linebreaks. Default value: NULL Since 2.6 } \item{\verb{logo} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ A logo for the about box. If this is not set, it defaults to \code{\link{gtkWindowGetDefaultIconList}}. Since 2.6 } \item{\verb{logo-icon-name} [character : * : Read / Write]}{ A named icon to use as the logo for the about box. This property overrides the \verb{"logo"} property. Default value: NULL Since 2.6 } \item{\verb{program-name} [character : * : Read / Write]}{ The name of the program. If this is not set, it defaults to \code{gGetApplicationName()}. Default value: NULL Since 2.12 } \item{\verb{translator-credits} [character : * : Read / Write]}{ Credits to the translators. This string should be marked as translatable. The string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details. Default value: NULL Since 2.6 } \item{\verb{version} [character : * : Read / Write]}{ The version of the program. Default value: NULL Since 2.6 } \item{\verb{website} [character : * : Read / Write]}{ The URL for the link to the website of the program. This should be a string starting with "http://. Default value: NULL Since 2.6 } \item{\verb{website-label} [character : * : Read / Write]}{ The label for the link to the website of the program. If this is not set, it defaults to the URL specified in the \verb{"website"} property. Default value: NULL Since 2.6 } \item{\verb{wrap-license} [logical : Read / Write]}{ Whether to wrap the text in the license dialog. Default value: FALSE Since 2.8 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAboutDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowUnstick.Rd0000644000176000001440000000057712362217677015621 0ustar ripleyusers\alias{gdkWindowUnstick} \name{gdkWindowUnstick} \title{gdkWindowUnstick} \description{Reverse operation for \code{\link{gdkWindowStick}}; see \code{\link{gdkWindowStick}}, and \code{\link{gtkWindowUnstick}}.} \usage{gdkWindowUnstick(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetUpper.Rd0000644000176000001440000000121012362217677016620 0ustar ripleyusers\alias{gtkAdjustmentSetUpper} \name{gtkAdjustmentSetUpper} \title{gtkAdjustmentSetUpper} \description{Sets the maximum value of the adjustment.} \usage{gtkAdjustmentSetUpper(object, upper)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{upper}}{the new maximum value} } \details{Note that values will be restricted by \code{upper - page-size} if the page-size property is nonzero. See \code{\link{gtkAdjustmentSetLower}} about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetSize.Rd0000644000176000001440000000146712362217677017754 0ustar ripleyusers\alias{pangoFontDescriptionGetSize} \name{pangoFontDescriptionGetSize} \title{pangoFontDescriptionGetSize} \description{Gets the size field of a font description. See \code{\link{pangoFontDescriptionSetSize}}.} \usage{pangoFontDescriptionGetSize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \value{[integer] the size field for the font description in points or device units. You must call \code{\link{pangoFontDescriptionGetSizeIsAbsolute}} to find out which is the case. Returns 0 if the size field has not previously been set or it has been set to 0 explicitly. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetAllocation.Rd0000644000176000001440000000075412362217677016717 0ustar ripleyusers\alias{gtkWidgetGetAllocation} \name{gtkWidgetGetAllocation} \title{gtkWidgetGetAllocation} \description{Retrieves the widget's allocation.} \usage{gtkWidgetGetAllocation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{ A list containing the following elements: \item{\verb{allocation}}{a pointer to a \code{\link{GtkAllocation}} to copy to. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionSpansIntersectForeach.Rd0000644000176000001440000000113212362217677020376 0ustar ripleyusers\alias{gdkRegionSpansIntersectForeach} \name{gdkRegionSpansIntersectForeach} \title{gdkRegionSpansIntersectForeach} \description{Calls a function on each span in the intersection of \code{region} and \code{spans}.} \usage{gdkRegionSpansIntersectForeach(object, spans, sorted, fun, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{spans}}{a list of \verb{GdkSpans}} \item{\verb{sorted}}{\code{TRUE} if \code{spans} is sorted wrt. the y coordinate} \item{\verb{data}}{data to pass to \code{function}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetStorageType.Rd0000644000176000001440000000112412362217677017741 0ustar ripleyusers\alias{gtkStatusIconGetStorageType} \name{gtkStatusIconGetStorageType} \title{gtkStatusIconGetStorageType} \description{Gets the type of representation being used by the \code{\link{GtkStatusIcon}} to store image data. If the \code{\link{GtkStatusIcon}} has no image data, the return value will be \code{GTK_IMAGE_EMPTY}.} \usage{gtkStatusIconGetStorageType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[\code{\link{GtkImageType}}] the image representation being used} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetCharacterCount.Rd0000644000176000001440000000057312362217677017231 0ustar ripleyusers\alias{atkTextGetCharacterCount} \name{atkTextGetCharacterCount} \title{atkTextGetCharacterCount} \description{Gets the character count.} \usage{atkTextGetCharacterCount(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}}} \value{[integer] the number of characters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketAddress.Rd0000644000176000001440000000350312362217677015160 0ustar ripleyusers\alias{GSocketAddress} \alias{GSocketFamily} \name{GSocketAddress} \title{GSocketAddress} \description{Abstract base class representing endpoints for socket communication} \section{Methods and Functions}{ \code{\link{gSocketAddressNewFromNative}(native, len)}\cr \code{\link{gSocketAddressGetFamily}(object)}\cr \code{\link{gSocketAddressToNative}(object, dest, destlen, .errwarn = TRUE)}\cr \code{\link{gSocketAddressGetNativeSize}(object)}\cr } \section{Hierarchy}{\preformatted{ GObject +----GSocketAddress +----GInetSocketAddress +----GUnixSocketAddress GEnum +----GSocketFamily }} \section{Interfaces}{GSocketAddress implements \code{\link{GSocketConnectable}}.} \section{Detailed Description}{\code{\link{GSocketAddress}} is the equivalent of \verb{structsockaddr} in the BSD sockets API. This is an abstract class; use \code{\link{GInetSocketAddress}} for internet sockets, or \verb{GUnixSocketAddress} for UNIX domain sockets.} \section{Structures}{\describe{\item{\verb{GSocketAddress}}{ A socket endpoint address, corresponding to \verb{structsockaddr} or one of its subtypes. }}} \section{Enums and Flags}{\describe{\item{\verb{GSocketFamily}}{ The protocol family of a \code{\link{GSocketAddress}}. (These values are identical to the system defines \code{AF_INET}, \code{AF_INET6} and \code{AF_UNIX}, if available.) Since 2.22 \describe{ \item{\verb{invalid}}{no address family} \item{\verb{unix}}{the UNIX domain family} \item{\verb{ipv4}}{the IPv4 family} \item{\verb{ipv6}}{the IPv6 family} } }}} \section{Properties}{\describe{\item{\verb{family} [\code{\link{GSocketFamily}} : Read]}{ The family of the socket address. Default value: G_SOCKET_FAMILY_INVALID }}} \references{\url{http://library.gnome.org/devel//gio/GSocketAddress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetDoOverwriteConfirmation.Rd0000644000176000001440000000113112362217677022421 0ustar ripleyusers\alias{gtkFileChooserGetDoOverwriteConfirmation} \name{gtkFileChooserGetDoOverwriteConfirmation} \title{gtkFileChooserGetDoOverwriteConfirmation} \description{Queries whether a file chooser is set to confirm for overwriting when the user types a file name that already exists.} \usage{gtkFileChooserGetDoOverwriteConfirmation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the file chooser will present a confirmation dialog; \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetWindowType.Rd0000644000176000001440000000064412362217677016765 0ustar ripleyusers\alias{gtkWindowGetWindowType} \name{gtkWindowGetWindowType} \title{gtkWindowGetWindowType} \description{Gets the type of the window. See \code{\link{GtkWindowType}}.} \usage{gtkWindowGetWindowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.20} \value{[\code{\link{GtkWindowType}}] the type of the window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetHasOpacityControl.Rd0000644000176000001440000000100312362217677021740 0ustar ripleyusers\alias{gtkColorSelectionSetHasOpacityControl} \name{gtkColorSelectionSetHasOpacityControl} \title{gtkColorSelectionSetHasOpacityControl} \description{Sets the \code{colorsel} to use or not use opacity.} \usage{gtkColorSelectionSetHasOpacityControl(object, has.opacity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{has.opacity}}{\code{TRUE} if \code{colorsel} can set the opacity, \code{FALSE} otherwise.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromIconSet.Rd0000644000176000001440000000217312362217677016630 0ustar ripleyusers\alias{gtkImageNewFromIconSet} \name{gtkImageNewFromIconSet} \title{gtkImageNewFromIconSet} \description{Creates a \code{\link{GtkImage}} displaying an icon set. Sample stock sizes are \verb{GTK_ICON_SIZE_MENU}, \verb{GTK_ICON_SIZE_SMALL_TOOLBAR}. Instead of using this function, usually it's better to create a \code{\link{GtkIconFactory}}, put your icon sets in the icon factory, add the icon factory to the list of default factories with \code{\link{gtkIconFactoryAddDefault}}, and then use \code{\link{gtkImageNewFromStock}}. This will allow themes to override the icon you ship with your application.} \usage{gtkImageNewFromIconSet(icon.set, size, show = TRUE)} \arguments{ \item{\verb{icon.set}}{a \code{\link{GtkIconSet}}} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{The \code{\link{GtkImage}} does not assume a reference to the icon set; you still need to unref it if you own references. \code{\link{GtkImage}} will add its own reference rather than adopting yours.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeMove.Rd0000644000176000001440000000112012362217677014643 0ustar ripleyusers\alias{gtkCTreeMove} \name{gtkCTreeMove} \title{gtkCTreeMove} \description{ Move a node in the tree to another location. \strong{WARNING: \code{gtk_ctree_move} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeMove(object, node, new.parent = NULL, new.sibling = NULL)} \arguments{ \item{\verb{object}}{The node to be moved.} \item{\verb{node}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{new.parent}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{new.sibling}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketServiceIsActive.Rd0000644000176000001440000000107712362217677016667 0ustar ripleyusers\alias{gSocketServiceIsActive} \name{gSocketServiceIsActive} \title{gSocketServiceIsActive} \description{Check whether the service is active or not. An active service will accept new clients that connect, while a non-active service will let connecting clients queue up until the service is started.} \usage{gSocketServiceIsActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketService}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if the service is active, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetComments.Rd0000644000176000001440000000057012362217677017362 0ustar ripleyusers\alias{gtkAboutDialogGetComments} \name{gtkAboutDialogGetComments} \title{gtkAboutDialogGetComments} \description{Returns the comments string.} \usage{gtkAboutDialogGetComments(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The comments.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetTooltipMarkup.Rd0000644000176000001440000000141612362217677017454 0ustar ripleyusers\alias{gtkWidgetSetTooltipMarkup} \name{gtkWidgetSetTooltipMarkup} \title{gtkWidgetSetTooltipMarkup} \description{Sets \code{markup} as the contents of the tooltip, which is marked up with the Pango text markup language.} \usage{gtkWidgetSetTooltipMarkup(object, markup)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{markup}}{the contents of the tooltip for \code{widget}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{This function will take care of setting GtkWidget:has-tooltip to \code{TRUE} and of the default handler for the GtkWidget::query-tooltip signal. See also the GtkWidget:tooltip-markup property and \code{\link{gtkTooltipSetMarkup}}. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetPreviewWidgetActive.Rd0000644000176000001440000000142512362217677021542 0ustar ripleyusers\alias{gtkFileChooserSetPreviewWidgetActive} \name{gtkFileChooserSetPreviewWidgetActive} \title{gtkFileChooserSetPreviewWidgetActive} \description{Sets whether the preview widget set by \code{\link{gtkFileChooserSetPreviewWidget}} should be shown for the current filename. When \code{active} is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. See \code{\link{gtkFileChooserSetPreviewWidget}} for more details.} \usage{gtkFileChooserSetPreviewWidgetActive(object, active)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{active}}{whether to display the user-specified preview widget} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetReserved.Rd0000644000176000001440000000064312362217677016620 0ustar ripleyusers\alias{gtkPreviewSetReserved} \name{gtkPreviewSetReserved} \title{gtkPreviewSetReserved} \description{ This function is deprecated and does nothing. \strong{WARNING: \code{gtk_preview_set_reserved} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetReserved(nreserved)} \arguments{\item{\verb{nreserved}}{ignored.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetMonitorGeometry.Rd0000644000176000001440000000150612362217677017745 0ustar ripleyusers\alias{gdkScreenGetMonitorGeometry} \name{gdkScreenGetMonitorGeometry} \title{gdkScreenGetMonitorGeometry} \description{Retrieves the \code{\link{GdkRectangle}} representing the size and position of the individual monitor within the entire screen area.} \usage{gdkScreenGetMonitorGeometry(object, monitor.num)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{monitor.num}}{the monitor number, between 0 and gdk_screen_get_n_monitors (screen)} } \details{Note that the size of the entire screen area can be retrieved via \code{\link{gdkScreenGetWidth}} and \code{\link{gdkScreenGetHeight}}. Since 2.2} \value{ A list containing the following elements: \item{\verb{dest}}{a \code{\link{GdkRectangle}} to be filled with the monitor geometry} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImageSetColormap.Rd0000644000176000001440000000115312362217677016173 0ustar ripleyusers\alias{gdkImageSetColormap} \name{gdkImageSetColormap} \title{gdkImageSetColormap} \description{Sets the colormap for the image to the given colormap. Normally there's no need to use this function, images are created with the correct colormap if you get the image from a drawable. If you create the image from scratch, use the colormap of the drawable you intend to render the image to.} \usage{gdkImageSetColormap(object, colormap)} \arguments{ \item{\verb{object}}{a \code{\link{GdkImage}}} \item{\verb{colormap}}{a \code{\link{GdkColormap}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorIsClosed.Rd0000644000176000001440000000062012362217677017026 0ustar ripleyusers\alias{gFileEnumeratorIsClosed} \name{gFileEnumeratorIsClosed} \title{gFileEnumeratorIsClosed} \description{Checks if the file enumerator has been closed.} \usage{gFileEnumeratorIsClosed(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileEnumerator}}.}} \value{[logical] \code{TRUE} if the \code{enumerator} is closed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListToggleFocusRow.Rd0000644000176000001440000000116312362217677016566 0ustar ripleyusers\alias{gtkListToggleFocusRow} \name{gtkListToggleFocusRow} \title{gtkListToggleFocusRow} \description{ Toggles the focus row. If the focus row is selected, it's unselected. If the focus row is unselected, it's selected. If the selection mode of \code{list} is \verb{GTK_SELECTION_BROWSE}, this has no effect, as the selection is always at the focus row. \strong{WARNING: \code{gtk_list_toggle_focus_row} is deprecated and should not be used in newly-written code.} } \usage{gtkListToggleFocusRow(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetOkButton.Rd0000644000176000001440000000073612362217677021050 0ustar ripleyusers\alias{gtkFontSelectionDialogGetOkButton} \name{gtkFontSelectionDialogGetOkButton} \title{gtkFontSelectionDialogGetOkButton} \description{Gets the 'OK' button.} \usage{gtkFontSelectionDialogGetOkButton(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkWidget}} used in the dialog for the 'OK' button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetCurrentAlpha.Rd0000644000176000001440000000063012362217677020714 0ustar ripleyusers\alias{gtkColorSelectionGetCurrentAlpha} \name{gtkColorSelectionGetCurrentAlpha} \title{gtkColorSelectionGetCurrentAlpha} \description{Returns the current alpha value.} \usage{gtkColorSelectionGetCurrentAlpha(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{[integer] an integer between 0 and 65535.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetText.Rd0000644000176000001440000000073312362217677015363 0ustar ripleyusers\alias{gtkLabelSetText} \name{gtkLabelSetText} \title{gtkLabelSetText} \description{Sets the text within the \code{\link{GtkLabel}} widget. It overwrites any text that was there before. } \usage{gtkLabelSetText(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{str}}{The text you want to set} } \details{This will also clear any previously set mnemonic accelerators.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceSetAxisUse.Rd0000644000176000001440000000064112362217677016156 0ustar ripleyusers\alias{gdkDeviceSetAxisUse} \name{gdkDeviceSetAxisUse} \title{gdkDeviceSetAxisUse} \description{Specifies how an axis of a device is used.} \usage{gdkDeviceSetAxisUse(object, index, use)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}.} \item{\verb{index}}{the index of the axis.} \item{\verb{use}}{specifies how the axis is used.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetRowSeparatorFunc.Rd0000644000176000001440000000132312362217677020412 0ustar ripleyusers\alias{gtkTreeViewSetRowSeparatorFunc} \name{gtkTreeViewSetRowSeparatorFunc} \title{gtkTreeViewSetRowSeparatorFunc} \description{Sets the row separator function, which is used to determine whether a row should be drawn as a separator. If the row separator function is \code{NULL}, no separators are drawn. This is the default value.} \usage{gtkTreeViewSetRowSeparatorFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{func}}{a \code{\link{GtkTreeViewRowSeparatorFunc}}} \item{\verb{data}}{user data to pass to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardGetDisplay.Rd0000644000176000001440000000071712362217677016712 0ustar ripleyusers\alias{gtkClipboardGetDisplay} \name{gtkClipboardGetDisplay} \title{gtkClipboardGetDisplay} \description{Gets the \code{\link{GdkDisplay}} associated with \code{clipboard}} \usage{gtkClipboardGetDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] the \code{\link{GdkDisplay}} associated with \code{clipboard}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetSearchColumn.Rd0000644000176000001440000000152412362217677017534 0ustar ripleyusers\alias{gtkTreeViewSetSearchColumn} \name{gtkTreeViewSetSearchColumn} \title{gtkTreeViewSetSearchColumn} \description{Sets \code{column} as the column where the interactive search code should search in for the current model. } \usage{gtkTreeViewSetSearchColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{column}}{the column of the model to search in, or -1 to disable searching} } \details{If the search column is set, users can use the "start-interactive-search" key binding to bring up search popup. The enable-search property controls whether simply typing text will also start an interactive search. Note that \code{column} refers to a column of the current model. The search column is reset to -1 when the model is changed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeShouldAutomount.Rd0000644000176000001440000000063312362217677017025 0ustar ripleyusers\alias{gVolumeShouldAutomount} \name{gVolumeShouldAutomount} \title{gVolumeShouldAutomount} \description{Returns whether the volume should be automatically mounted.} \usage{gVolumeShouldAutomount(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}}} \value{[logical] \code{TRUE} if the volume should be automatically mounted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestWidgetClick.Rd0000644000176000001440000000207612362217677016056 0ustar ripleyusers\alias{gtkTestWidgetClick} \name{gtkTestWidgetClick} \title{gtkTestWidgetClick} \description{This function will generate a \code{button} click (button press and button release event) in the middle of the first GdkWindow found that belongs to \code{widget}. For \code{GTK_NO_WINDOW} widgets like GtkButton, this will often be an input-only event window. For other widgets, this is usually widget->window. Certain caveats should be considered when using this function, in particular because the mouse pointer is warped to the button click location, see \code{\link{gdkTestSimulateButton}} for details.} \usage{gtkTestWidgetClick(widget, button, modifiers)} \arguments{ \item{\verb{widget}}{Widget to generate a button click on.} \item{\verb{button}}{Number of the pointer button for the event, usually 1, 2 or 3.} \item{\verb{modifiers}}{Keyboard modifiers the event is setup with.} } \details{Since 2.14} \value{[logical] wether all actions neccessary for the button click simulation were carried out successfully.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetCurrentFolder.Rd0000644000176000001440000000127411766145227020377 0ustar ripleyusers\alias{gtkFileChooserSetCurrentFolder} \name{gtkFileChooserSetCurrentFolder} \title{gtkFileChooserSetCurrentFolder} \description{Sets the current folder for \code{chooser} from a local filename. The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders.} \usage{gtkFileChooserSetCurrentFolder(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filename}}{the full path of the new current folder} } \details{Since 2.4} \value{[logical] \code{TRUE} if the folder could be changed successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRelCurveTo.Rd0000644000176000001440000000304112362217677015360 0ustar ripleyusers\alias{cairoRelCurveTo} \name{cairoRelCurveTo} \title{cairoRelCurveTo} \description{Relative-coordinate version of \code{\link{cairoCurveTo}}. All offsets are relative to the current point. Adds a cubic Bzier spline to the path from the current point to a point offset from the current point by (\code{dx3}, \code{dy3}), using points offset by (\code{dx1}, \code{dy1}) and (\code{dx2}, \code{dy2}) as the control points. After this call the current point will be offset by (\code{dx3}, \code{dy3}).} \usage{cairoRelCurveTo(cr, dx1, dy1, dx2, dy2, dx3, dy3)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dx1}}{[numeric] the X offset to the first control point} \item{\verb{dy1}}{[numeric] the Y offset to the first control point} \item{\verb{dx2}}{[numeric] the X offset to the second control point} \item{\verb{dy2}}{[numeric] the Y offset to the second control point} \item{\verb{dx3}}{[numeric] the X offset to the end of the curve} \item{\verb{dy3}}{[numeric] the Y offset to the end of the curve} } \details{Given a current point of (x, y), cairo_rel_curve_to(\code{cr}, \code{dx1}, \code{dy1}, \code{dx2}, \code{dy2}, \code{dx3}, \code{dy3}) is logically equivalent to cairo_curve_to(\code{cr}, x+\code{dx1}, y+\code{dy1}, x+\code{dx2}, y+\code{dy2}, x+\code{dx3}, y+\code{dy3}). It is an error to call this function with no current point. Doing so will cause \code{cr} to shutdown with a status of \code{CAIRO_STATUS_NO_CURRENT_POINT}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFaceListSizes.Rd0000644000176000001440000000157712362217677016710 0ustar ripleyusers\alias{pangoFontFaceListSizes} \name{pangoFontFaceListSizes} \title{pangoFontFaceListSizes} \description{List the available sizes for a font. This is only applicable to bitmap fonts. For scalable fonts, stores \code{NULL} at the location pointed to by \code{sizes} and 0 at the location pointed to by \code{n.sizes}. The sizes returned are in Pango units and are sorted in ascending order.} \usage{pangoFontFaceListSizes(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFace}}] a \code{\link{PangoFontFace}}.}} \details{ Since 1.4} \value{ A list containing the following elements: \item{\verb{sizes}}{[integer] location to store a pointer to a list of int. This list should be freed with \code{gFree()}.} \item{\verb{n.sizes}}{[integer] location to store the number of elements in \code{sizes}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookAppendPageMenu.Rd0000644000176000001440000000232312362217677017352 0ustar ripleyusers\alias{gtkNotebookAppendPageMenu} \name{gtkNotebookAppendPageMenu} \title{gtkNotebookAppendPageMenu} \description{Appends a page to \code{notebook}, specifying the widget to use as the label in the popup menu.} \usage{gtkNotebookAppendPageMenu(object, child, tab.label = NULL, menu.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} \item{\verb{menu.label}}{the widget to use as a label for the page-switch menu, if that is enabled. If \code{NULL}, and \code{tab.label} is a \code{\link{GtkLabel}} or \code{NULL}, then the menu label will be a newly created label with the same text as \code{tab.label}; If \code{tab.label} is not a \code{\link{GtkLabel}}, \code{menu.label} must be specified if the page-switch menu is to be used. \emph{[ \acronym{allow-none} ]}} } \value{[integer] the index (starting from 0) of the appended page in the notebook, or -1 if function fails} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetRunReadonly.Rd0000644000176000001440000000156712362217677020274 0ustar ripleyusers\alias{pangoLayoutIterGetRunReadonly} \name{pangoLayoutIterGetRunReadonly} \title{pangoLayoutIterGetRunReadonly} \description{Gets the current run. When iterating by run, at the end of each line, there's a position with a \code{NULL} run, so this function can return \code{NULL}. The \code{NULL} run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline.} \usage{pangoLayoutIterGetRunReadonly(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \details{This is a faster alternative to \code{\link{pangoLayoutIterGetRun}}, but the user is not expected to modify the contents of the run (glyphs, glyph widths, etc.). Since 1.16} \value{[PangoLayoutRun] the current run, that should not be modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetPixelSize.Rd0000644000176000001440000000060012362217677016333 0ustar ripleyusers\alias{gtkImageGetPixelSize} \name{gtkImageGetPixelSize} \title{gtkImageGetPixelSize} \description{Gets the pixel size used for named icons.} \usage{gtkImageGetPixelSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \details{Since 2.6} \value{[integer] the pixel size used for named icons.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitIsTargetAvailable.Rd0000644000176000001440000000143312362217677021011 0ustar ripleyusers\alias{gtkClipboardWaitIsTargetAvailable} \name{gtkClipboardWaitIsTargetAvailable} \title{gtkClipboardWaitIsTargetAvailable} \description{Checks if a clipboard supports pasting data of a given type. This function can be used to determine if a "Paste" menu item should be insensitive or not.} \usage{gtkClipboardWaitIsTargetAvailable(object, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{target}}{A \code{\link{GdkAtom}} indicating which target to look for.} } \details{If you want to see if there's text available on the clipboard, use \code{\link{gtkClipboardWaitIsTextAvailable}} instead. Since 2.6} \value{[logical] \code{TRUE} if the target is available, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetStyle.Rd0000644000176000001440000000164012362217677020147 0ustar ripleyusers\alias{pangoFontDescriptionSetStyle} \name{pangoFontDescriptionSetStyle} \title{pangoFontDescriptionSetStyle} \description{Sets the style field of a \code{\link{PangoFontDescription}}. The \code{\link{PangoStyle}} enumeration describes whether the font is slanted and the manner in which it is slanted; it can be either \verb{PANGO_STYLE_NORMAL}, \verb{PANGO_STYLE_ITALIC}, or \verb{PANGO_STYLE_OBLIQUE}. Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.} \usage{pangoFontDescriptionSetStyle(object, style)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{style}}{[\code{\link{PangoStyle}}] the style for the font description} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonGetMode.Rd0000644000176000001440000000075712362217677016713 0ustar ripleyusers\alias{gtkToggleButtonGetMode} \name{gtkToggleButtonGetMode} \title{gtkToggleButtonGetMode} \description{Retrieves whether the button is displayed as a separate indicator and label. See \code{\link{gtkToggleButtonSetMode}}.} \usage{gtkToggleButtonGetMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToggleButton}}}} \value{[logical] \code{TRUE} if the togglebutton is drawn as a separate indicator and label.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemGetSubmenu.Rd0000644000176000001440000000070512362217677016544 0ustar ripleyusers\alias{gtkMenuItemGetSubmenu} \name{gtkMenuItemGetSubmenu} \title{gtkMenuItemGetSubmenu} \description{Gets the submenu underneath this menu item, if any. See \code{\link{gtkMenuItemSetSubmenu}}.} \usage{gtkMenuItemGetSubmenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuItem}}}} \value{[\code{\link{GtkWidget}}] submenu for this menu item, or \code{NULL} if none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImageGetImageLocale.Rd0000644000176000001440000000073012362217677016557 0ustar ripleyusers\alias{atkImageGetImageLocale} \name{atkImageGetImageLocale} \title{atkImageGetImageLocale} \description{Since ATK 1.12} \usage{atkImageGetImageLocale(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkImage}}] An \code{\link{AtkImage}}}} \value{[character] a string corresponding to the POSIX LC_MESSAGES locale used by the image description, or NULL if the image does not specify a locale. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternCreateRadial.Rd0000644000176000001440000000302612362217677017207 0ustar ripleyusers\alias{cairoPatternCreateRadial} \name{cairoPatternCreateRadial} \title{cairoPatternCreateRadial} \description{Creates a new radial gradient \code{\link{CairoPattern}} between the two circles defined by (cx0, cy0, radius0) and (cx1, cy1, radius1). Before using the gradient pattern, a number of color stops should be defined using \code{\link{cairoPatternAddColorStopRgb}} or \code{\link{cairoPatternAddColorStopRgba}}.} \usage{cairoPatternCreateRadial(cx0, cy0, radius0, cx1, cy1, radius1)} \arguments{ \item{\verb{cx0}}{[numeric] x coordinate for the center of the start circle} \item{\verb{cy0}}{[numeric] y coordinate for the center of the start circle} \item{\verb{radius0}}{[numeric] radius of the start circle} \item{\verb{cx1}}{[numeric] x coordinate for the center of the end circle} \item{\verb{cy1}}{[numeric] y coordinate for the center of the end circle} \item{\verb{radius1}}{[numeric] radius of the end circle} } \details{Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with \code{\link{cairoPatternSetMatrix}}. } \value{[\code{\link{CairoPattern}}] the newly created \code{\link{CairoPattern}} if successful, or an error pattern in case of no memory. This function will always return a valid pointer, but if an error occurred the pattern status will be set to an error. To inspect the status of a pattern use \code{\link{cairoPatternStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderValueFromStringType.Rd0000644000176000001440000000232012362217677020255 0ustar ripleyusers\alias{gtkBuilderValueFromStringType} \name{gtkBuilderValueFromStringType} \title{gtkBuilderValueFromStringType} \description{Like \code{\link{gtkBuilderValueFromString}}, this function demarshals a value from a string, but takes a \code{\link{GType}} instead of \code{\link{GParamSpec}}. This function calls \code{gValueInit()} on the \code{value} argument, so it need not be initialised beforehand.} \usage{gtkBuilderValueFromStringType(object, type, string, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{type}}{the \code{\link{GType}} of the value} \item{\verb{string}}{the string representation of the value} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon errors \code{FALSE} will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR} domain. Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{value}}{the \verb{R object} to store the result in} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetShowNotFound.Rd0000644000176000001440000000103412362217677020537 0ustar ripleyusers\alias{gtkRecentChooserGetShowNotFound} \name{gtkRecentChooserGetShowNotFound} \title{gtkRecentChooserGetShowNotFound} \description{Retrieves whether \code{chooser} should show the recently used resources that were not found.} \usage{gtkRecentChooserGetShowNotFound(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the resources not found should be displayed, and \code{FALSE} otheriwse.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHBoxNew.Rd0000644000176000001440000000073012362217677014332 0ustar ripleyusers\alias{gtkHBoxNew} \name{gtkHBoxNew} \title{gtkHBoxNew} \description{Creates a new GtkHBox.} \usage{gtkHBoxNew(homogeneous = NULL, spacing = NULL, show = TRUE)} \arguments{ \item{\verb{homogeneous}}{\code{TRUE} if all children are to be given equal space allotments.} \item{\verb{spacing}}{the number of pixels to place by default between children.} } \value{[\code{\link{GtkWidget}}] a new GtkHBox.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetDropHighlightItem.Rd0000644000176000001440000000176112362217677020377 0ustar ripleyusers\alias{gtkToolbarSetDropHighlightItem} \name{gtkToolbarSetDropHighlightItem} \title{gtkToolbarSetDropHighlightItem} \description{Highlights \code{toolbar} to give an idea of what it would look like if \code{item} was added to \code{toolbar} at the position indicated by \code{index.}. If \code{item} is \code{NULL}, highlighting is turned off. In that case \code{index.} is ignored.} \usage{gtkToolbarSetDropHighlightItem(object, tool.item = NULL, index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{tool.item}}{a \code{\link{GtkToolItem}}, or \code{NULL} to turn of highlighting. \emph{[ \acronym{allow-none} ]}} \item{\verb{index}}{a position on \code{toolbar}} } \details{The \code{tool.item} passed to this function must not be part of any widget hierarchy. When an item is set as drop highlight item it can not added to any widget hierarchy or used as highlight item for another toolbar. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontGetCoverage.Rd0000644000176000001440000000102512362217677016357 0ustar ripleyusers\alias{pangoFontGetCoverage} \name{pangoFontGetCoverage} \title{pangoFontGetCoverage} \description{Computes the coverage map for a given font and language tag.} \usage{pangoFontGetCoverage(object, language)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} \item{\verb{language}}{[\code{\link{PangoLanguage}}] the language tag} } \value{[\code{\link{PangoCoverage}}] a newly-allocated \code{\link{PangoCoverage}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetName.Rd0000644000176000001440000000050112362217677015020 0ustar ripleyusers\alias{gMountGetName} \name{gMountGetName} \title{gMountGetName} \description{Gets the name of \code{mount}.} \usage{gMountGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[char] the name for the given \code{mount}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoStrokeExtents.Rd0000644000176000001440000000310712362217677016153 0ustar ripleyusers\alias{cairoStrokeExtents} \name{cairoStrokeExtents} \title{cairoStrokeExtents} \description{Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a \code{\link{cairoStroke}} operation given the current path and stroke parameters. If the current path is empty, returns an empty rectangle ((0,0), (0,0)). Surface dimensions and clipping are not taken into account.} \usage{cairoStrokeExtents(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Note that if the line width is set to exactly zero, then \code{\link{cairoStrokeExtents}} will return an empty rectangle. Contrast with \code{\link{cairoPathExtents}} which can be used to compute the non-empty bounds as the line width approaches zero. Note that \code{\link{cairoStrokeExtents}} must necessarily do more work to compute the precise inked areas in light of the stroke parameters, so \code{\link{cairoPathExtents}} may be more desirable for sake of performance if non-inked path extents are desired. See \code{\link{cairoStroke}}, \code{\link{cairoSetLineWidth}}, \code{\link{cairoSetLineJoin}}, \code{\link{cairoSetLineCap}}, \code{\link{cairoSetDash}}, and \code{\link{cairoStrokePreserve}}. } \value{ A list containing the following elements: \item{\verb{x1}}{[numeric] left of the resulting extents} \item{\verb{y1}}{[numeric] top of the resulting extents} \item{\verb{x2}}{[numeric] right of the resulting extents} \item{\verb{y2}}{[numeric] bottom of the resulting extents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnAddAttribute.Rd0000644000176000001440000000167512362217677020236 0ustar ripleyusers\alias{gtkTreeViewColumnAddAttribute} \name{gtkTreeViewColumnAddAttribute} \title{gtkTreeViewColumnAddAttribute} \description{Adds an attribute mapping to the list in \code{tree.column}. The \code{column} is the column of the model to get a value from, and the \code{attribute} is the parameter on \code{cell.renderer} to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a \code{\link{GtkCellRendererText}} get its values from column 2.} \usage{gtkTreeViewColumnAddAttribute(object, cell.renderer, attribute, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{cell.renderer}}{the \code{\link{GtkCellRenderer}} to set attributes on} \item{\verb{attribute}}{An attribute on the renderer} \item{\verb{column}}{The column position on the model to get the attribute from.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogGetImage.Rd0000644000176000001440000000060612362217677017131 0ustar ripleyusers\alias{gtkMessageDialogGetImage} \name{gtkMessageDialogGetImage} \title{gtkMessageDialogGetImage} \description{Gets the dialog's image.} \usage{gtkMessageDialogGetImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMessageDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the dialog's image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrFallbackNew.Rd0000644000176000001440000000132012362217677016337 0ustar ripleyusers\alias{pangoAttrFallbackNew} \name{pangoAttrFallbackNew} \title{pangoAttrFallbackNew} \description{Create a new font fallback attribute.} \usage{pangoAttrFallbackNew(fallback)} \arguments{\item{\verb{fallback}}{[logical] \code{TRUE} if we should fall back on other fonts for characters the active font is missing.}} \details{If fallback is disabled, characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text. Since 1.4} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionOwnerSet.Rd0000644000176000001440000000126612362217677016441 0ustar ripleyusers\alias{gtkSelectionOwnerSet} \name{gtkSelectionOwnerSet} \title{gtkSelectionOwnerSet} \description{Claims ownership of a given selection for a particular widget, or, if \code{widget} is \code{NULL}, release ownership of the selection.} \usage{gtkSelectionOwnerSet(object, selection, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{selection}}{an interned atom representing the selection to claim} \item{\verb{time}}{timestamp with which to claim the selection} } \value{[logical] \code{TRUE} if the operation succeeded} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetExpand.Rd0000644000176000001440000000072112362217677016354 0ustar ripleyusers\alias{gtkToolItemGetExpand} \name{gtkToolItemGetExpand} \title{gtkToolItemGetExpand} \description{Returns whether \code{tool.item} is allocated extra space. See \code{\link{gtkToolItemSetExpand}}.} \usage{gtkToolItemGetExpand(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{tool.item} is allocated extra space.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSetDetailHeightRows.Rd0000644000176000001440000000070412362217677020335 0ustar ripleyusers\alias{gtkCalendarSetDetailHeightRows} \name{gtkCalendarSetDetailHeightRows} \title{gtkCalendarSetDetailHeightRows} \description{Updates the height of detail cells. See \verb{"detail-height-rows"}.} \usage{gtkCalendarSetDetailHeightRows(object, rows)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{rows}}{detail height in rows.} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetIter.Rd0000644000176000001440000000055112362217677016101 0ustar ripleyusers\alias{pangoLayoutGetIter} \name{pangoLayoutGetIter} \title{pangoLayoutGetIter} \description{Returns an iterator to iterate over the visual extents of the layout.} \usage{pangoLayoutGetIter(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportSetHadjustment.Rd0000644000176000001440000000070312362217677017522 0ustar ripleyusers\alias{gtkViewportSetHadjustment} \name{gtkViewportSetHadjustment} \title{gtkViewportSetHadjustment} \description{Sets the horizontal adjustment of the viewport.} \usage{gtkViewportSetHadjustment(object, adjustment = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkViewport}}.} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveStopFinish.Rd0000644000176000001440000000123012362217677015535 0ustar ripleyusers\alias{gDriveStopFinish} \name{gDriveStopFinish} \title{gDriveStopFinish} \description{Finishes stopping a drive.} \usage{gDriveStopFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the drive has been stopped successfully, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetUri.Rd0000644000176000001440000000060512362217677016175 0ustar ripleyusers\alias{gtkRecentInfoGetUri} \name{gtkRecentInfoGetUri} \title{gtkRecentInfoGetUri} \description{Gets the URI of the resource.} \usage{gtkRecentInfoGetUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] the URI of the resource. and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleCursorPositions.Rd0000644000176000001440000000116112362217677022540 0ustar ripleyusers\alias{gtkTextIterForwardVisibleCursorPositions} \name{gtkTextIterForwardVisibleCursorPositions} \title{gtkTextIterForwardVisibleCursorPositions} \description{Moves up to \code{count} visible cursor positions. See \code{\link{gtkTextIterForwardCursorPosition}} for details.} \usage{gtkTextIterForwardVisibleCursorPositions(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of positions to move} } \details{Since 2.4} \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkFocusTrackerInit.Rd0000644000176000001440000000103012362217677016223 0ustar ripleyusers\alias{atkFocusTrackerInit} \name{atkFocusTrackerInit} \title{atkFocusTrackerInit} \description{Specifies the function to be called for focus tracker initialization. This function should be called by an implementation of the ATK interface if any specific work needs to be done to enable focus tracking.} \usage{atkFocusTrackerInit(add.function)} \arguments{\item{\verb{add.function}}{[AtkEventListenerInit] Function to be called for focus tracker initialization}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSvgSurfaceCreate.Rd0000644000176000001440000000230512362217677016524 0ustar ripleyusers\alias{cairoSvgSurfaceCreate} \name{cairoSvgSurfaceCreate} \title{cairoSvgSurfaceCreate} \description{Creates a SVG surface of the specified size in points to be written to \code{filename}.} \usage{cairoSvgSurfaceCreate(filename, width.in.points, height.in.points)} \arguments{ \item{\verb{filename}}{[char] a filename for the SVG output (must be writable), \code{NULL} may be used to specify no output. This will generate a SVG surface that may be queried and used as a source, without generating a temporary file.} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{ Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetVisibleHorizontal.Rd0000644000176000001440000000073612362217677020307 0ustar ripleyusers\alias{gtkActionSetVisibleHorizontal} \name{gtkActionSetVisibleHorizontal} \title{gtkActionSetVisibleHorizontal} \description{Sets whether \code{action} is visible when horizontal} \usage{gtkActionSetVisibleHorizontal(object, visible.horizontal)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{visible.horizontal}}{whether the action is visible horizontally} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetSensitive.Rd0000644000176000001440000000065412362217677017725 0ustar ripleyusers\alias{gtkCellRendererGetSensitive} \name{gtkCellRendererGetSensitive} \title{gtkCellRendererGetSensitive} \description{Returns the cell renderer's sensitivity.} \usage{gtkCellRendererGetSensitive(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkCellRenderer}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the cell renderer is sensitive} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGetFocusObject.Rd0000644000176000001440000000052312362217677015660 0ustar ripleyusers\alias{atkGetFocusObject} \name{atkGetFocusObject} \title{atkGetFocusObject} \description{Gets the currently focused object.} \usage{atkGetFocusObject()} \details{ Since 1.6} \value{[\code{\link{AtkObject}}] the currently focused object for the current application} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetFocus.Rd0000644000176000001440000000137512362217677015751 0ustar ripleyusers\alias{gtkWindowSetFocus} \name{gtkWindowSetFocus} \title{gtkWindowSetFocus} \description{If \code{focus} is not the current focus widget, and is focusable, sets it as the focus widget for the window. If \code{focus} is \code{NULL}, unsets the focus widget for this window. To set the focus to a particular widget in the toplevel, it is usually more convenient to use \code{\link{gtkWidgetGrabFocus}} instead of this function.} \usage{gtkWindowSetFocus(object, focus = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{focus}}{widget to be the new focus widget, or \code{NULL} to unset any focus widget for the toplevel window. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkServiceGetService.Rd0000644000176000001440000000062612362217677017420 0ustar ripleyusers\alias{gNetworkServiceGetService} \name{gNetworkServiceGetService} \title{gNetworkServiceGetService} \description{Gets \code{srv}'s service name (eg, "ldap").} \usage{gNetworkServiceGetService(object)} \arguments{\item{\verb{object}}{a \code{\link{GNetworkService}}}} \details{Since 2.22} \value{[character] \code{srv}'s service name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAlternativeDialogButtonOrder.Rd0000644000176000001440000000165112362217677020611 0ustar ripleyusers\alias{gtkAlternativeDialogButtonOrder} \name{gtkAlternativeDialogButtonOrder} \title{gtkAlternativeDialogButtonOrder} \description{Returns \code{TRUE} if dialogs are expected to use an alternative button order on the screen \code{screen}. See \code{\link{gtkDialogSetAlternativeButtonOrder}} for more details about alternative button order. } \usage{gtkAlternativeDialogButtonOrder(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}, or \code{NULL} to use the default screen. \emph{[ \acronym{allow-none} ]}}} \details{If you need to use this function, you should probably connect to the ::notify:gtk-alternative-button-order signal on the \code{\link{GtkSettings}} object associated to \code{screen}, in order to be notified if the button order setting changes. Since 2.6} \value{[logical] Whether the alternative button order should be used} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDefaultStyle.Rd0000644000176000001440000000070512362217677017233 0ustar ripleyusers\alias{gtkWidgetGetDefaultStyle} \name{gtkWidgetGetDefaultStyle} \title{gtkWidgetGetDefaultStyle} \description{Returns the default style used by all widgets initially.} \usage{gtkWidgetGetDefaultStyle()} \value{[\code{\link{GtkStyle}}] the default style. This \code{\link{GtkStyle}} object is owned by GTK+ and should not be modified or freed. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterConvertChildIterToIter.Rd0000644000176000001440000000167212362217677022334 0ustar ripleyusers\alias{gtkTreeModelFilterConvertChildIterToIter} \name{gtkTreeModelFilterConvertChildIterToIter} \title{gtkTreeModelFilterConvertChildIterToIter} \description{Sets \code{filter.iter} to point to the row in \code{filter} that corresponds to the row pointed at by \code{child.iter}. If \code{filter.iter} was not set, \code{FALSE} is returned.} \usage{gtkTreeModelFilterConvertChildIterToIter(object, child.iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{child.iter}}{A valid \code{\link{GtkTreeIter}} pointing to a row on the child model.} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{filter.iter} was set, i.e. if \code{child.iter} is a valid iterator pointing to a visible row in child model.} \item{\verb{filter.iter}}{An uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetIcon.Rd0000644000176000001440000000054412362217677015430 0ustar ripleyusers\alias{gFileInfoGetIcon} \name{gFileInfoGetIcon} \title{gFileInfoGetIcon} \description{Gets the icon for a file.} \usage{gFileInfoGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[\code{\link{GIcon}}] \code{\link{GIcon}} for the given \code{info}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarFreeze.Rd0000644000176000001440000000077212362217677015700 0ustar ripleyusers\alias{gtkCalendarFreeze} \name{gtkCalendarFreeze} \title{gtkCalendarFreeze} \description{ Does nothing. Previously locked the display of the calendar until it was thawed with \code{\link{gtkCalendarThaw}}. \strong{WARNING: \code{gtk_calendar_freeze} has been deprecated since version 2.8 and should not be used in newly-written code. } } \usage{gtkCalendarFreeze(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeToggleExpansion.Rd0000644000176000001440000000077012362217677017055 0ustar ripleyusers\alias{gtkCTreeToggleExpansion} \name{gtkCTreeToggleExpansion} \title{gtkCTreeToggleExpansion} \description{ Toggle a node, i.e. if it is collapsed, expand it and vice versa. \strong{WARNING: \code{gtk_ctree_toggle_expansion} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeToggleExpansion(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewNew.Rd0000644000176000001440000000052512362217677015206 0ustar ripleyusers\alias{gtkCellViewNew} \name{gtkCellViewNew} \title{gtkCellViewNew} \description{Creates a new \code{\link{GtkCellView}} widget.} \usage{gtkCellViewNew(show = TRUE)} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkCellView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSetUseUnderline.Rd0000644000176000001440000000100612362217677017537 0ustar ripleyusers\alias{gtkMenuItemSetUseUnderline} \name{gtkMenuItemSetUseUnderline} \title{gtkMenuItemSetUseUnderline} \description{If true, an underline in the text indicates the next character should be used for the mnemonic accelerator key.} \usage{gtkMenuItemSetUseUnderline(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuItem}}} \item{\verb{setting}}{\code{TRUE} if underlines in the text indicate mnemonics} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPageRanges.Rd0000644000176000001440000000105512362217677020233 0ustar ripleyusers\alias{gtkPrintSettingsGetPageRanges} \name{gtkPrintSettingsGetPageRanges} \title{gtkPrintSettingsGetPageRanges} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PAGE_RANGES}.} \usage{gtkPrintSettingsGetPageRanges(object, num.ranges)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{num.ranges}}{return location for the length of the returned list} } \details{Since 2.10} \value{[\code{\link{GtkPageRange}}] a list of \code{\link{GtkPageRange}}s.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGetMountForUuid.Rd0000644000176000001440000000103512362217677020260 0ustar ripleyusers\alias{gVolumeMonitorGetMountForUuid} \name{gVolumeMonitorGetMountForUuid} \title{gVolumeMonitorGetMountForUuid} \description{Finds a \code{\link{GMount}} object by its UUID (see \code{\link{gMountGetUuid}})} \usage{gVolumeMonitorGetMountForUuid(object, uuid)} \arguments{ \item{\verb{object}}{a \code{\link{GVolumeMonitor}}.} \item{\verb{uuid}}{the UUID to look for} } \value{[\code{\link{GMount}}] a \code{\link{GMount}} or \code{NULL} if no such mount is available.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactorySetTranslateFunc.Rd0000644000176000001440000000141112362217677020411 0ustar ripleyusers\alias{gtkItemFactorySetTranslateFunc} \name{gtkItemFactorySetTranslateFunc} \title{gtkItemFactorySetTranslateFunc} \description{ Sets a function to be used for translating the path elements before they are displayed. \strong{WARNING: \code{gtk_item_factory_set_translate_func} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactorySetTranslateFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{func}}{the \code{\link{GtkTranslateFunc}} function to be used to translate path elements} \item{\verb{data}}{data to pass to \code{func} and \code{notify}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetVadjustment.Rd0000644000176000001440000000071012362217677020137 0ustar ripleyusers\alias{gtkToolPaletteGetVadjustment} \name{gtkToolPaletteGetVadjustment} \title{gtkToolPaletteGetVadjustment} \description{Gets the vertical adjustment of the tool palette.} \usage{gtkToolPaletteGetVadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \value{[\code{\link{GtkAdjustment}}] the vertical adjustment of \code{palette}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetIconName.Rd0000644000176000001440000000115312362217677017166 0ustar ripleyusers\alias{gtkStatusIconGetIconName} \name{gtkStatusIconGetIconName} \title{gtkStatusIconGetIconName} \description{Gets the name of the icon being displayed by the \code{\link{GtkStatusIcon}}. The storage type of the status icon must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_ICON_NAME} (see \code{\link{gtkStatusIconGetStorageType}}).} \usage{gtkStatusIconGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[character] name of the displayed icon, or \code{NULL} if the image is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetExpand.Rd0000644000176000001440000000113512362217677016370 0ustar ripleyusers\alias{gtkToolItemSetExpand} \name{gtkToolItemSetExpand} \title{gtkToolItemSetExpand} \description{Sets whether \code{tool.item} is allocated extra space when there is more room on the toolbar then needed for the items. The effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller.} \usage{gtkToolItemSetExpand(object, expand)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{expand}}{Whether \code{tool.item} is allocated extra space} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreMoveAfter.Rd0000644000176000001440000000126112362217677016561 0ustar ripleyusers\alias{gtkListStoreMoveAfter} \name{gtkListStoreMoveAfter} \title{gtkListStoreMoveAfter} \description{Moves \code{iter} in \code{store} to the position after \code{position}. Note that this function only works with unsorted stores. If \code{position} is \code{NULL}, \code{iter} will be moved to the start of the list.} \usage{gtkListStoreMoveAfter(object, iter, position = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} \item{\verb{position}}{A \code{\link{GtkTreeIter}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertPixbuf.Rd0000644000176000001440000000156312362217677017446 0ustar ripleyusers\alias{gtkTextBufferInsertPixbuf} \name{gtkTextBufferInsertPixbuf} \title{gtkTextBufferInsertPixbuf} \description{Inserts an image into the text buffer at \code{iter}. The image will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see \code{\link{gtkTextBufferGetSlice}} and \code{\link{gtkTextBufferGetText}}.} \usage{gtkTextBufferInsertPixbuf(object, iter, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{location to insert the pixbuf} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetDropGroup.Rd0000644000176000001440000000105212362217677017554 0ustar ripleyusers\alias{gtkToolPaletteGetDropGroup} \name{gtkToolPaletteGetDropGroup} \title{gtkToolPaletteGetDropGroup} \description{Gets the group at position (x, y).} \usage{gtkToolPaletteGetDropGroup(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{x}}{the x position} \item{\verb{y}}{the y position} } \details{Since 2.20} \value{[\code{\link{GtkToolItemGroup}}] the \code{\link{GtkToolItemGroup}} at position or \code{NULL} if there is no such group} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoColorParse.Rd0000644000176000001440000000171112362217677015410 0ustar ripleyusers\alias{pangoColorParse} \name{pangoColorParse} \title{pangoColorParse} \description{Fill in the fields of a color from a string specification. The string can either one of a large set of standard names. (Taken from the X11 \file{rgb.txt} file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')} \usage{pangoColorParse(spec)} \arguments{\item{\verb{spec}}{[char] a string specifying the new color}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if parsing of the specifier succeeded, otherwise false.} \item{\verb{color}}{[\code{\link{PangoColor}}] a \code{\link{PangoColor}} structure in which to store the result, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableSortColumnChanged.Rd0000644000176000001440000000062412362217677020715 0ustar ripleyusers\alias{gtkTreeSortableSortColumnChanged} \name{gtkTreeSortableSortColumnChanged} \title{gtkTreeSortableSortColumnChanged} \description{Emits a \code{\link{gtkTreeSortableSortColumnChanged}} signal on \code{sortable}.} \usage{gtkTreeSortableSortColumnChanged(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSortable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddGroup.Rd0000644000176000001440000000066412362217677017042 0ustar ripleyusers\alias{gtkRecentFilterAddGroup} \name{gtkRecentFilterAddGroup} \title{gtkRecentFilterAddGroup} \description{Adds a rule that allows resources based on the name of the group to which they belong} \usage{gtkRecentFilterAddGroup(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{group}}{a group name} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetBaseDir.Rd0000644000176000001440000000073112362217677016656 0ustar ripleyusers\alias{pangoContextGetBaseDir} \name{pangoContextGetBaseDir} \title{pangoContextGetBaseDir} \description{Retrieves the base direction for the context. See \code{\link{pangoContextSetBaseDir}}.} \usage{pangoContextGetBaseDir(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \value{[\code{\link{PangoDirection}}] the base direction for the context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererGetLayout.Rd0000644000176000001440000000131612362217677016744 0ustar ripleyusers\alias{pangoRendererGetLayout} \name{pangoRendererGetLayout} \title{pangoRendererGetLayout} \description{Gets the layout currently being rendered using \code{renderer}. Calling this function only makes sense from inside a subclass's methods, like in its draw_shape() for example.} \usage{pangoRendererGetLayout(renderer)} \arguments{\item{\verb{renderer}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}}} \details{The returned layout should not be modified while still being rendered. Since 1.20} \value{[\code{\link{PangoLayout}}] the layout, or \code{NULL} if no layout is being rendered using \code{renderer} at this time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataTargetsIncludeRichText.Rd0000644000176000001440000000135412362217677022053 0ustar ripleyusers\alias{gtkSelectionDataTargetsIncludeRichText} \name{gtkSelectionDataTargetsIncludeRichText} \title{gtkSelectionDataTargetsIncludeRichText} \description{Given a \code{\link{GtkSelectionData}} object holding a list of targets, determines if any of the targets in \code{targets} can be used to provide rich text.} \usage{gtkSelectionDataTargetsIncludeRichText(object, buffer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSelectionData}} object} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}} } \details{Since 2.10} \value{[logical] \code{TRUE} if \code{selection.data} holds a list of targets, and a suitable target for rich text is included, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamReadAsync.Rd0000644000176000001440000000410512362217677016526 0ustar ripleyusers\alias{gInputStreamReadAsync} \name{gInputStreamReadAsync} \title{gInputStreamReadAsync} \description{Request an asynchronous read of \code{count} bytes from the stream into the buffer starting at \code{buffer}. When the operation is finished \code{callback} will be called. You can then call \code{\link{gInputStreamReadFinish}} to get the result of the operation.} \usage{gInputStreamReadAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GInputStream}}.} \item{\verb{count}}{the number of bytes that will be read from the stream} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{During an async request no other sync and async calls are allowed on \code{stream}, and will result in \code{G_IO_ERROR_PENDING} errors. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes read into the buffer will be passed to the callback. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file, but generally we try to read as many bytes as requested. Zero is returned on end of file (or if \code{count} is zero), but never otherwise. Any outstanding i/o request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is \code{G_PRIORITY_DEFAULT}. The asyncronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all.} \value{ A list containing the following elements: \item{\verb{buffer}}{a buffer to read data into (which should be at least count bytes long).} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoToyFontFaceCreate.Rd0000644000176000001440000000203112362217677016631 0ustar ripleyusers\alias{cairoToyFontFaceCreate} \name{cairoToyFontFaceCreate} \title{cairoToyFontFaceCreate} \description{Creates a font face from a triplet of family, slant, and weight. These font faces are used in implementation of the the \code{\link{Cairo}} "toy" font API.} \usage{cairoToyFontFaceCreate(family, slant, weight)} \arguments{ \item{\verb{family}}{[char] a font family name, encoded in UTF-8} \item{\verb{slant}}{[\code{\link{CairoFontSlant}}] the slant for the font} \item{\verb{weight}}{[\code{\link{CairoFontWeight}}] the weight for the font} } \details{If \code{family} is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using \code{\link{cairoToyFontFaceGetFamily}}. The \code{\link{cairoSelectFontFace}} function uses this to create font faces. See that function for limitations of toy font faces. Since 1.8} \value{[\code{\link{CairoFontFace}}] a newly created \code{\link{CairoFontFace}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsNew.Rd0000644000176000001440000000054512362217677016313 0ustar ripleyusers\alias{gtkPrintSettingsNew} \name{gtkPrintSettingsNew} \title{gtkPrintSettingsNew} \description{Creates a new \code{\link{GtkPrintSettings}} object.} \usage{gtkPrintSettingsNew()} \details{Since 2.10} \value{[\code{\link{GtkPrintSettings}}] a new \code{\link{GtkPrintSettings}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRulerSetRange.Rd0000644000176000001440000000106312362217677015542 0ustar ripleyusers\alias{gtkRulerSetRange} \name{gtkRulerSetRange} \title{gtkRulerSetRange} \description{This sets the range of the ruler.} \usage{gtkRulerSetRange(object, lower, upper, position, max.size)} \arguments{ \item{\verb{object}}{the gtkruler} \item{\verb{lower}}{the lower limit of the ruler} \item{\verb{upper}}{the upper limit of the ruler} \item{\verb{position}}{the mark on the ruler} \item{\verb{max.size}}{the maximum size of the ruler used when calculating the space to leave for the text} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetOrigin.Rd0000644000176000001440000000124712362217677016063 0ustar ripleyusers\alias{gdkWindowGetOrigin} \name{gdkWindowGetOrigin} \title{gdkWindowGetOrigin} \description{Obtains the position of a window in root window coordinates. (Compare with \code{\link{gdkWindowGetPosition}} and \code{\link{gdkWindowGetGeometry}} which return the position of a window relative to its parent window.)} \usage{gdkWindowGetOrigin(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{retval}{[integer] not meaningful, ignore} \item{\verb{x}}{return location for X coordinate} \item{\verb{y}}{return location for Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVSetMetrics.Rd0000644000176000001440000000066612362217677015473 0ustar ripleyusers\alias{gtkHSVSetMetrics} \name{gtkHSVSetMetrics} \title{gtkHSVSetMetrics} \description{Sets the size and ring width of an HSV color selector.} \usage{gtkHSVSetMetrics(object, size, ring.width)} \arguments{ \item{\verb{object}}{An HSV color selector} \item{\verb{size}}{Diameter for the hue ring} \item{\verb{ring.width}}{Width of the hue ring} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatGetName.Rd0000644000176000001440000000057212362217677016653 0ustar ripleyusers\alias{gdkPixbufFormatGetName} \name{gdkPixbufFormatGetName} \title{gdkPixbufFormatGetName} \description{Returns the name of the format.} \usage{gdkPixbufFormatGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.2} \value{[character] the name of the format.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetIconFromFile.Rd0000644000176000001440000000156511766145227017205 0ustar ripleyusers\alias{gtkWindowSetIconFromFile} \name{gtkWindowSetIconFromFile} \title{gtkWindowSetIconFromFile} \description{Sets the icon for \code{window}. Warns on failure if \code{err} is \code{NULL}.} \usage{gtkWindowSetIconFromFile(object, filename, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{filename}}{location of icon file} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function is equivalent to calling \code{\link{gtkWindowSetIcon}} with a pixbuf created by loading the image from \code{filename}. Since 2.2} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if setting the icon succeeded.} \item{\verb{error}}{ location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVGetMetrics.Rd0000644000176000001440000000074212362217677015452 0ustar ripleyusers\alias{gtkHSVGetMetrics} \name{gtkHSVGetMetrics} \title{gtkHSVGetMetrics} \description{Queries the size and ring width of an HSV color selector.} \usage{gtkHSVGetMetrics(object, size, ring.width)} \arguments{ \item{\verb{object}}{An HSV color selector} \item{\verb{size}}{Return value for the diameter of the hue ring} \item{\verb{ring.width}}{Return value for the width of the hue ring} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetLocalOnly.Rd0000644000176000001440000000075212362217677017503 0ustar ripleyusers\alias{gtkFileChooserGetLocalOnly} \name{gtkFileChooserGetLocalOnly} \title{gtkFileChooserGetLocalOnly} \description{Gets whether only local files can be selected in the file selector. See \code{\link{gtkFileChooserSetLocalOnly}}} \usage{gtkFileChooserGetLocalOnly(object)} \arguments{\item{\verb{object}}{a \verb{GtkFileChoosre}}} \details{Since 2.4} \value{[logical] \code{TRUE} if only local files can be selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetTitle.Rd0000644000176000001440000000061112362217677016204 0ustar ripleyusers\alias{gtkComboBoxSetTitle} \name{gtkComboBoxSetTitle} \title{gtkComboBoxSetTitle} \description{Sets the menu's title in tearoff mode.} \usage{gtkComboBoxSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkComboBox}}} \item{\verb{title}}{a title for the menu in tearoff mode} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCreate.Rd0000644000176000001440000000215612362217677014537 0ustar ripleyusers\alias{cairoCreate} \name{cairoCreate} \title{cairoCreate} \description{Creates a new \code{\link{Cairo}} with all graphics state parameters set to default values and with \code{target} as a target surface. The target surface should be constructed with a backend-specific function such as \code{\link{cairoImageSurfaceCreate}} (or any other cairo_\emph{backend}\code{surfaceCreate()} variant).} \usage{cairoCreate(target)} \arguments{\item{\verb{target}}{[\code{\link{CairoSurface}}] target surface for the context}} \details{This function references \code{target}, so you can immediately call \code{\link{cairoSurfaceDestroy}} on it if you don't need to maintain a separate reference to it. } \value{[\code{\link{Cairo}}] a newly allocated \code{\link{Cairo}} with a reference count of 1. This function never returns \code{NULL}. If memory cannot be allocated, a special \code{\link{Cairo}} object will be returned on which \code{\link{cairoStatus}} returns \code{CAIRO_STATUS_NO_MEMORY}. You can use this object normally, but no drawing will be done.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountCanEject.Rd0000644000176000001440000000053112362217677015157 0ustar ripleyusers\alias{gMountCanEject} \name{gMountCanEject} \title{gMountCanEject} \description{Checks if \code{mount} can be eject.} \usage{gMountCanEject(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[logical] \code{TRUE} if the \code{mount} can be ejected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetAdded.Rd0000644000176000001440000000103212362217677016432 0ustar ripleyusers\alias{gtkRecentInfoGetAdded} \name{gtkRecentInfoGetAdded} \title{gtkRecentInfoGetAdded} \description{Gets the timestamp (seconds from system's Epoch) when the resource was added to the recently used resources list.} \usage{gtkRecentInfoGetAdded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[integer] the number of seconds elapsed from system's Epoch when the resource was added to the list, or -1 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GIOStream.Rd0000644000176000001440000000545512362217677014115 0ustar ripleyusers\alias{GIOStream} \name{GIOStream} \title{GIOStream} \description{Base class for implementing read/write streams} \section{Methods and Functions}{ \code{\link{gIOStreamGetInputStream}(object)}\cr \code{\link{gIOStreamGetOutputStream}(object)}\cr \code{\link{gIOStreamClose}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gIOStreamCloseAsync}(object, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gIOStreamCloseFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gIOStreamIsClosed}(object)}\cr \code{\link{gIOStreamHasPending}(object)}\cr \code{\link{gIOStreamSetPending}(object, .errwarn = TRUE)}\cr \code{\link{gIOStreamClearPending}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GIOStream +----GFileIOStream +----GSocketConnection}} \section{Detailed Description}{GIOStream represents an object that has both read and write streams. Generally the two streams acts as separate input and output streams, but they share some common resources and state. For instance, for seekable streams they may use the same position in both streams. Examples of \code{\link{GIOStream}} objects are \code{\link{GSocketConnection}} which represents a two-way network connection, and \code{\link{GFileIOStream}} which represent a file handle opened in read-write mode. To do the actual reading and writing you need to get the substreams with \code{\link{gIOStreamGetInputStream}} and \code{\link{gIOStreamGetOutputStream}}. The \code{\link{GIOStream}} object owns the input and the output streams, not the other way around, so keeping the substreams alive will not keep the \code{\link{GIOStream}} object alive. If the \code{\link{GIOStream}} object is freed it will be closed, thus closing the substream, so even if the substreams stay alive they will always just return a \code{G_IO_ERROR_CLOSED} for all operations. To close a stream use \code{\link{gIOStreamClose}} which will close the common stream object and also the individual substreams. You can also close the substreams themselves. In most cases this only marks the substream as closed, so further I/O on it fails. However, some streams may support "half-closed" states where one direction of the stream is actually shut down.} \section{Structures}{\describe{\item{\verb{GIOStream}}{ Base class for read-write streams. }}} \section{Properties}{\describe{ \item{\verb{closed} [logical : Read / Write]}{ Is the stream closed. Default value: FALSE } \item{\verb{input-stream} [\code{\link{GInputStream}} : * : Read]}{ The GInputStream to read from. } \item{\verb{output-stream} [\code{\link{GOutputStream}} : * : Read]}{ The GOutputStream to write to. } }} \references{\url{http://library.gnome.org/devel//gio/GIOStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GAppInfo.Rd0000644000176000001440000001236112362217677013760 0ustar ripleyusers\alias{GAppInfo} \alias{GAppLaunchContext} \alias{gAppLaunchContext} \alias{GAppInfoCreateFlags} \name{GAppInfo} \title{GAppInfo} \description{Application information and launch contexts} \section{Methods and Functions}{ \code{\link{gAppInfoCreateFromCommandline}(commandline, application.name = NULL, flags = "G_APP_INFO_CREATE_NONE", .errwarn = TRUE)}\cr \code{\link{gAppInfoDup}(object)}\cr \code{\link{gAppInfoEqual}(object, appinfo2)}\cr \code{\link{gAppInfoGetId}(object)}\cr \code{\link{gAppInfoGetName}(object)}\cr \code{\link{gAppInfoGetDescription}(object)}\cr \code{\link{gAppInfoGetExecutable}(object)}\cr \code{\link{gAppInfoGetCommandline}(object)}\cr \code{\link{gAppInfoGetIcon}(object)}\cr \code{\link{gAppInfoLaunch}(object, files, launch.context, .errwarn = TRUE)}\cr \code{\link{gAppInfoSupportsFiles}(object)}\cr \code{\link{gAppInfoSupportsUris}(object)}\cr \code{\link{gAppInfoLaunchUris}(object, uris, launch.context, .errwarn = TRUE)}\cr \code{\link{gAppInfoShouldShow}(object)}\cr \code{\link{gAppInfoCanDelete}(object)}\cr \code{\link{gAppInfoDelete}(object)}\cr \code{\link{gAppInfoResetTypeAssociations}(content.type)}\cr \code{\link{gAppInfoSetAsDefaultForType}(object, content.type, .errwarn = TRUE)}\cr \code{\link{gAppInfoSetAsDefaultForExtension}(object, extension, .errwarn = TRUE)}\cr \code{\link{gAppInfoAddSupportsType}(object, content.type, .errwarn = TRUE)}\cr \code{\link{gAppInfoCanRemoveSupportsType}(object)}\cr \code{\link{gAppInfoRemoveSupportsType}(object, content.type, .errwarn = TRUE)}\cr \code{\link{gAppInfoGetAll}()}\cr \code{\link{gAppInfoGetAllForType}(content.type)}\cr \code{\link{gAppInfoGetDefaultForType}(content.type, must.support.uris)}\cr \code{\link{gAppInfoGetDefaultForUriScheme}(uri.scheme)}\cr \code{\link{gAppInfoLaunchDefaultForUri}(uri, launch.context, .errwarn = TRUE)}\cr \code{\link{gAppLaunchContextGetDisplay}(object, info, files)}\cr \code{\link{gAppLaunchContextGetStartupNotifyId}(object, info, files)}\cr \code{\link{gAppLaunchContextLaunchFailed}(object, startup.notify.id)}\cr \code{\link{gAppLaunchContextNew}()}\cr \code{gAppLaunchContext()} } \section{Hierarchy}{\preformatted{ GFlags +----GAppInfoCreateFlags GInterface +----GAppInfo GObject +----GAppLaunchContext }} \section{Implementations}{GAppInfo is implemented by GDesktopAppInfo.} \section{Detailed Description}{\code{\link{GAppInfo}} and \code{\link{GAppLaunchContext}} are used for describing and launching applications installed on the system. As of GLib 2.20, URIs will always be converted to POSIX paths (using \code{\link{gFileGetPath}}) when using \code{\link{gAppInfoLaunch}} even if the application requested an URI and not a POSIX path. For example for an desktop-file based application with Exec key \code{totem \% U} and a single URI, \code{sftp://foo/file.avi}, then \code{/home/user/.gvfs/sftp on foo/file.avi} will be passed. This will only work if a set of suitable GIO extensions (such as gvfs 2.26 compiled with FUSE support), is available and operational; if this is not the case, the URI will be passed unmodified to the application. Some URIs, such as \code{mailto:}, of course cannot be mapped to a POSIX path (in gvfs there's no FUSE mount for it); such URIs will be passed unmodified to the application. Specifically for gvfs 2.26 and later, the POSIX URI will be mapped back to the GIO URI in the \code{\link{GFile}} constructors (since gvfs implements the \code{\link{GVfs}} extension point). As such, if the application needs to examine the URI, it needs to use \code{\link{gFileGetUri}} or similar on \code{\link{GFile}}. In other words, an application cannot assume that the URI passed to e.g. \code{\link{gFileNewForCommandlineArg}} is equal to the result of \code{\link{gFileGetUri}}. The following snippet illustrates this: \preformatted{GFile *f; char *uri; file = g_file_new_for_commandline_arg (uri_from_commandline); uri = g_file_get_uri (file); strcmp (uri, uri_from_commandline) == 0; // FALSE g_free (uri); if (g_file_has_uri_scheme (file, "cdda")) { // do something special with uri } g_object_unref (file); } This code will work when both \code{cdda://sr0/Track 1.wav} and \code{/home/user/.gvfs/cdda on sr0/Track 1.wav} is passed to the application. It should be noted that it's generally not safe for applications to rely on the format of a particular URIs. Different launcher applications (e.g. file managers) may have different ideas of what a given URI means.} \section{Structures}{\describe{ \item{\verb{GAppInfo}}{ Information about an installed application and methods to launch it (with file arguments). } \item{\verb{GAppLaunchContext}}{ Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new application on the same screen as the launching window. } }} \section{Convenient Construction}{\code{gAppLaunchContext} is the equivalent of \code{\link{gAppLaunchContextNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GAppInfoCreateFlags}}{ Flags used when creating a \code{\link{GAppInfo}}. \describe{ \item{\verb{one}}{No flags.} \item{\verb{eeds-terminal}}{Application opens in a terminal window.} } }}} \references{\url{http://library.gnome.org/devel//gio/GAppInfo.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkIconTheme.Rd0000644000176000001440000001445012362217677014637 0ustar ripleyusers\alias{GtkIconTheme} \alias{GtkIconInfo} \alias{gtkIconTheme} \alias{GtkIconLookupFlags} \alias{GtkIconThemeError} \name{GtkIconTheme} \title{GtkIconTheme} \description{Looking up icons by name} \section{Methods and Functions}{ \code{\link{gtkIconThemeNew}()}\cr \code{\link{gtkIconThemeGetDefault}()}\cr \code{\link{gtkIconThemeGetForScreen}(screen)}\cr \code{\link{gtkIconThemeSetScreen}(object, screen)}\cr \code{\link{gtkIconThemeSetCustomTheme}(object, theme.name)}\cr \code{\link{gtkIconThemeHasIcon}(object, icon.name)}\cr \code{\link{gtkIconThemeLookupIcon}(object, icon.name, size, flags)}\cr \code{\link{gtkIconThemeChooseIcon}(object, icon.names, size, flags)}\cr \code{\link{gtkIconThemeLookupByGicon}(object, icon, size, flags)}\cr \code{\link{gtkIconThemeLoadIcon}(object, icon.name, size, flags, .errwarn = TRUE)}\cr \code{\link{gtkIconThemeListContexts}(object)}\cr \code{\link{gtkIconThemeListIcons}(object, context = NULL)}\cr \code{\link{gtkIconThemeGetIconSizes}(object, icon.name)}\cr \code{\link{gtkIconThemeGetExampleIconName}(object)}\cr \code{\link{gtkIconThemeRescanIfNeeded}(object)}\cr \code{\link{gtkIconThemeAddBuiltinIcon}(icon.name, size, pixbuf)}\cr \code{\link{gtkIconInfoCopy}(object)}\cr \code{\link{gtkIconInfoNewForPixbuf}(icon.theme, pixbuf)}\cr \code{\link{gtkIconInfoGetBaseSize}(object)}\cr \code{\link{gtkIconInfoGetBuiltinPixbuf}(object)}\cr \code{\link{gtkIconInfoLoadIcon}(object, .errwarn = TRUE)}\cr \code{\link{gtkIconInfoSetRawCoordinates}(object, raw.coordinates)}\cr \code{\link{gtkIconInfoGetEmbeddedRect}(object)}\cr \code{\link{gtkIconInfoGetAttachPoints}(object)}\cr \code{\link{gtkIconInfoGetDisplayName}(object)}\cr \code{gtkIconTheme()} } \section{Hierarchy}{\preformatted{GObject +----GtkIconTheme}} \section{Detailed Description}{\code{\link{GtkIconTheme}} provides a facility for looking up icons by name and size. The main reason for using a name rather than simply providing a filename is to allow different icons to be used depending on what \dfn{icon theme} is selected by the user. The operation of icon themes on Linux and Unix follows the Icon Theme Specification (\url{http://www.freedesktop.org/Standards/icon-theme-spec}). There is a default icon theme, named \code{hicolor} where applications should install their icons, but more additional application themes can be installed as operating system vendors and users choose. Named icons are similar to the facility, and the distinction between the two may be a bit confusing. A few things to keep in mind: \itemize{ \item Stock images usually are used in conjunction with ., such as \code{GTK_STOCK_OK} or \code{GTK_STOCK_OPEN}. Named icons are easier to set up and therefore are more useful for new icons that an application wants to add, such as application icons or window icons. \item Stock images can only be loaded at the symbolic sizes defined by the \code{\link{GtkIconSize}} enumeration, or by custom sizes defined by \code{\link{gtkIconSizeRegister}}, while named icons are more flexible and any pixel size can be specified. \item Because stock images are closely tied to stock items, and thus to actions in the user interface, stock images may come in multiple variants for different widget states or writing directions. } A good rule of thumb is that if there is a stock image for what you want to use, use it, otherwise use a named icon. It turns out that internally stock images are generally defined in terms of one or more named icons. (An example of the more than one case is icons that depend on writing direction; GTK_STOCK_GO_FORWARD uses the two themed icons "gtk-stock-go-forward-ltr" and "gtk-stock-go-forward-rtl".) In many cases, named themes are used indirectly, via \code{\link{GtkImage}} or stock items, rather than directly, but looking up icons directly is also simple. The \code{\link{GtkIconTheme}} object acts as a database of all the icons in the current theme. You can create new \code{\link{GtkIconTheme}} objects, but its much more efficient to use the standard icon theme for the \code{\link{GdkScreen}} so that the icon information is shared with other people looking up icons. In the case where the default screen is being used, looking up an icon can be as simple as: \preformatted{ icon_theme <- gtkIconThemeGetDefault() result <- icon_theme$loadIcon("my-icon-name", 48, 0) if (!result[[1]]) { warning("Couldn't load icon: ", result$error$message) } else { pixbuf <- result[[1]] ## Use the pixbuf } }} \section{Structures}{\describe{ \item{\verb{GtkIconInfo}}{ Contains information found when looking up an icon in an icon theme. } \item{\verb{GtkIconTheme}}{ Acts as a database of information about an icon theme. Normally, you retrieve the icon theme for a particular screen using \code{\link{gtkIconThemeGetForScreen}} and it will contain information about current icon theme for that screen, but you can also create a new \code{\link{GtkIconTheme}} object and set the icon theme name explicitely using \code{\link{gtkIconThemeSetCustomTheme}}. } }} \section{Convenient Construction}{\code{gtkIconTheme} is the equivalent of \code{\link{gtkIconThemeNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GtkIconLookupFlags}}{ \emph{undocumented } \describe{ \item{\verb{no-svg}}{Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with \code{GTK_ICON_LOOKUP_FORCE_SVG}.} \item{\verb{force-svg}}{Return SVG icons, even if gdk-pixbuf doesn't support them. Cannot be used together with \code{GTK_ICON_LOOKUP_NO_SVG}.} \item{\verb{use-builtin}}{When passed to \code{\link{gtkIconThemeLookupIcon}} includes builtin icons as well as files. For a builtin icon, \code{\link{gtkIconInfoGetFilename}}} } } \item{\verb{GtkIconThemeError}}{ Error codes for GtkIconTheme operations. \describe{ \item{\verb{not-found}}{The icon specified does not exist in the theme} \item{\verb{failed}}{An unspecified error occurred.} } } }} \section{Signals}{\describe{\item{\code{changed(icon.theme, user.data)}}{ Emitted when the current icon theme is switched or GTK+ detects that a change has occurred in the contents of the current icon theme. \describe{ \item{\code{icon.theme}}{the icon theme} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkIconTheme.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetDragSource.Rd0000644000176000001440000000116112362217677017706 0ustar ripleyusers\alias{gtkToolPaletteSetDragSource} \name{gtkToolPaletteSetDragSource} \title{gtkToolPaletteSetDragSource} \description{Sets the tool palette as a drag source. Enables all groups and items in the tool palette as drag sources on button 1 and button 3 press with copy and move actions. See \code{\link{gtkDragSourceSet}}.} \usage{gtkToolPaletteSetDragSource(object, targets)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{targets}}{the \verb{GtkToolPaletteDragTarget}s which the widget should support} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryFromWidget.Rd0000644000176000001440000000121112362217677017231 0ustar ripleyusers\alias{gtkItemFactoryFromWidget} \name{gtkItemFactoryFromWidget} \title{gtkItemFactoryFromWidget} \description{ Obtains the item factory from which a widget was created. \strong{WARNING: \code{gtk_item_factory_from_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryFromWidget(widget)} \arguments{\item{\verb{widget}}{a widget}} \value{[\code{\link{GtkItemFactory}}] the item factory from which \code{widget} was created, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconPixbuf.Rd0000644000176000001440000000127712362217677016557 0ustar ripleyusers\alias{gtkEntryGetIconPixbuf} \name{gtkEntryGetIconPixbuf} \title{gtkEntryGetIconPixbuf} \description{Retrieves the image used for the icon.} \usage{gtkEntryGetIconPixbuf(object, icon.pos)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using a \code{\link{GdkPixbuf}}, a \code{\link{GIcon}}, a stock item, or an icon name. Since 2.16} \value{[\code{\link{GdkPixbuf}}] A \code{\link{GdkPixbuf}}, or \code{NULL} if no icon is set for this position.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowShapeCombineMask.Rd0000644000176000001440000000232312362217677017341 0ustar ripleyusers\alias{gdkWindowShapeCombineMask} \name{gdkWindowShapeCombineMask} \title{gdkWindowShapeCombineMask} \description{Applies a shape mask to \code{window}. Pixels in \code{window} corresponding to set bits in the \code{mask} will be visible; pixels in \code{window} corresponding to unset bits in the \code{mask} will be transparent. This gives a non-rectangular window.} \usage{gdkWindowShapeCombineMask(object, shape.mask = NULL, offset.x, offset.y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{shape.mask}}{shape mask} \item{\verb{offset.x}}{X position of shape mask with respect to \code{window}} \item{\verb{offset.y}}{Y position of shape mask with respect to \code{window}} } \details{If \code{mask} is \code{NULL}, the shape mask will be unset, and the \code{x}/\code{y} parameters are not used. On the X11 platform, this uses an X server extension which is widely available on most common platforms, but not available on very old X servers, and occasionally the implementation will be buggy. On servers without the shape extension, this function will do nothing. This function works on both toplevel and child windows.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/rgtk2_bindtextdomain.Rd0000644000176000001440000000160511766145227016434 0ustar ripleyusers\name{rgtk2_bindtextdomain} \alias{rgtk2_bindtextdomain} %- Also NEED an '\alias' for EACH other topic documented here. \title{ RGtk2 gettext support } \description{ Binds a gettext domain using the libintl linked to RGtk2. A workaround for Windows where R and RGtk2 link to different builds of libintl. } \usage{ rgtk2_bindtextdomain(domain, dirname = NULL) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{domain}{ The name of the gettext domain. } \item{dirname}{ The directory containing the catalogs for the domain. } } \value{ \code{domain} or \code{NULL} if unsuccessful. } \author{ Michael Lawrence } \seealso{ \code{\link[base:gettext]{bindtextdomain}} in the base package. } % Add one or more standard keywords, see file 'KEYWORDS' in the % R documentation directory. \keyword{ internal } \keyword{ interface }% __ONLY ONE__ keyword per line RGtk2/man/pangoCairoShowGlyphItem.Rd0000644000176000001440000000172512362217677017065 0ustar ripleyusers\alias{pangoCairoShowGlyphItem} \name{pangoCairoShowGlyphItem} \title{pangoCairoShowGlyphItem} \description{Draws the glyphs in \code{glyph.item} in the specified cairo context, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to \code{\link{pangoCairoShowGlyphString}}.} \usage{pangoCairoShowGlyphItem(cr, text, glyph.item)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{text}}{[char] the UTF-8 text that \code{glyph.item} refers to} \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] a \code{\link{PangoGlyphItem}}} } \details{The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context. Note that \code{text} is the start of the text for layout, which is then indexed by \code{glyph_item->item->offset}. Since 1.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapSetDefault.Rd0000644000176000001440000000143512362217677017645 0ustar ripleyusers\alias{pangoCairoFontMapSetDefault} \name{pangoCairoFontMapSetDefault} \title{pangoCairoFontMapSetDefault} \description{Sets a default \code{\link{PangoCairoFontMap}} to use with Cairo.} \usage{pangoCairoFontMapSetDefault(fontmap)} \arguments{\item{\verb{fontmap}}{[\code{\link{PangoCairoFontMap}}] The new default font map, or \code{NULL}}} \details{This can be used to change the Cairo font backend that the default fontmap uses for example. The old default font map is unreffed and the new font map referenced. A value of \code{NULL} for \code{fontmap} will cause the current default font map to be released and a new default font map to be created on demand, using \code{\link{pangoCairoFontMapNew}}. Since 1.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountEjectFinish.Rd0000644000176000001440000000176112362217677015704 0ustar ripleyusers\alias{gMountEjectFinish} \name{gMountEjectFinish} \title{gMountEjectFinish} \description{ Finishes ejecting a mount. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned. \strong{WARNING: \code{g_mount_eject_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gMountEjectWithOperationFinish}} instead.} } \usage{gMountEjectFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mount was successfully ejected. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetNoShowAll.Rd0000644000176000001440000000104712362217677016474 0ustar ripleyusers\alias{gtkWidgetGetNoShowAll} \name{gtkWidgetGetNoShowAll} \title{gtkWidgetGetNoShowAll} \description{Returns the current value of the GtkWidget:no-show-all property, which determines whether calls to \code{\link{gtkWidgetShowAll}} and \code{\link{gtkWidgetHideAll}} will affect this widget.} \usage{gtkWidgetGetNoShowAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.4} \value{[logical] the current value of the "no-show-all" property.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererSetColor.Rd0000644000176000001440000000110012362217677016550 0ustar ripleyusers\alias{pangoRendererSetColor} \name{pangoRendererSetColor} \title{pangoRendererSetColor} \description{Sets the color for part of the rendering.} \usage{pangoRendererSetColor(object, part, color)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{part}}{[\code{\link{PangoRenderPart}}] the part to change the color of} \item{\verb{color}}{[\code{\link{PangoColor}}] the new color or \code{NULL} to unset the current color} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorFile.Rd0000644000176000001440000000220212362217677015504 0ustar ripleyusers\alias{gFileMonitorFile} \name{gFileMonitorFile} \title{gFileMonitorFile} \description{Obtains a file monitor for the given file. If no file notification mechanism exists, then regular polling of the file is used.} \usage{gFileMonitorFile(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileMonitorFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileMonitor}}] a \code{\link{GFileMonitor}} for the given \code{file}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRowHasChildToggled.Rd0000644000176000001440000000115412362217677020277 0ustar ripleyusers\alias{gtkTreeModelRowHasChildToggled} \name{gtkTreeModelRowHasChildToggled} \title{gtkTreeModelRowHasChildToggled} \description{Emits the "row-has-child-toggled" signal on \code{tree.model}. This should be called by models after the child state of a node changes.} \usage{gtkTreeModelRowHasChildToggled(object, path, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A \code{\link{GtkTreePath}} pointing to the changed row} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} pointing to the changed row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemGetDrawAsRadio.Rd0000644000176000001440000000077712362217677020235 0ustar ripleyusers\alias{gtkCheckMenuItemGetDrawAsRadio} \name{gtkCheckMenuItemGetDrawAsRadio} \title{gtkCheckMenuItemGetDrawAsRadio} \description{Returns whether \code{check.menu.item} looks like a \code{\link{GtkRadioMenuItem}}} \usage{gtkCheckMenuItemGetDrawAsRadio(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}}} \details{Since 2.4} \value{[logical] Whether \code{check.menu.item} looks like a \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetValue.Rd0000644000176000001440000000116712362217677016302 0ustar ripleyusers\alias{gtkProgressSetValue} \name{gtkProgressSetValue} \title{gtkProgressSetValue} \description{ Sets the value within the \code{\link{GtkProgress}} to an absolute value. The value must be within the valid range of values for the underlying \code{\link{GtkAdjustment}}. \strong{WARNING: \code{gtk_progress_set_value} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{value}}{the value indicating the current completed amount.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetMediaType.Rd0000644000176000001440000000074012362217677020100 0ustar ripleyusers\alias{gtkPrintSettingsGetMediaType} \name{gtkPrintSettingsGetMediaType} \title{gtkPrintSettingsGetMediaType} \description{Gets the value of \code{GTK_PRINT_SETTINGS_MEDIA_TYPE}.} \usage{gtkPrintSettingsGetMediaType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{The set of media types is defined in PWG 5101.1-2002 PWG. Since 2.10} \value{[character] the media type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAddImageTargets.Rd0000644000176000001440000000121112362217677020003 0ustar ripleyusers\alias{gtkTargetListAddImageTargets} \name{gtkTargetListAddImageTargets} \title{gtkTargetListAddImageTargets} \description{Appends the image targets supported by \verb{GtkSelection} to the target list. All targets are added with the same \code{info}.} \usage{gtkTargetListAddImageTargets(list, info, writable)} \arguments{ \item{\verb{list}}{a \code{\link{GtkTargetList}}} \item{\verb{info}}{an ID that will be passed back to the application} \item{\verb{writable}}{whether to add only targets for which GTK+ knows how to convert a pixbuf into the format} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPopGroupToSource.Rd0000644000176000001440000000172712362217677016576 0ustar ripleyusers\alias{cairoPopGroupToSource} \name{cairoPopGroupToSource} \title{cairoPopGroupToSource} \description{Terminates the redirection begun by a call to \code{\link{cairoPushGroup}} or \code{\link{cairoPushGroupWithContent}} and installs the resulting pattern as the source pattern in the given cairo context.} \usage{cairoPopGroupToSource(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{The behavior of this function is equivalent to the sequence of operations: \preformatted{ group <- cr$popGroup() cr$setSource(group) } but is more convenient as their is no need for a variable to store the short-lived pointer to the pattern. The \code{\link{cairoPopGroup}} function calls \code{\link{cairoRestore}}, (balancing a call to \code{\link{cairoSave}} by the push_group function), so that any changes to the graphics state will not be visible outside the group. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnClearAttributes.Rd0000644000176000001440000000102612362217677020745 0ustar ripleyusers\alias{gtkTreeViewColumnClearAttributes} \name{gtkTreeViewColumnClearAttributes} \title{gtkTreeViewColumnClearAttributes} \description{Clears all existing attributes previously set with \code{\link{gtkTreeViewColumnSetAttributes}}.} \usage{gtkTreeViewColumnClearAttributes(object, cell.renderer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}} \item{\verb{cell.renderer}}{a \code{\link{GtkCellRenderer}} to clear the attribute mapping on.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryDeleteEntries.Rd0000644000176000001440000000122012362217677017716 0ustar ripleyusers\alias{gtkItemFactoryDeleteEntries} \name{gtkItemFactoryDeleteEntries} \title{gtkItemFactoryDeleteEntries} \description{ Deletes the menu items which were created from the \code{entries} by the given item factory. \strong{WARNING: \code{gtk_item_factory_delete_entries} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryDeleteEntries(object, entries)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{entries}}{a list of \code{\link{GtkItemFactoryEntry}}s} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsGetForScreen.Rd0000644000176000001440000000071412362217677017071 0ustar ripleyusers\alias{gtkSettingsGetForScreen} \name{gtkSettingsGetForScreen} \title{gtkSettingsGetForScreen} \description{Gets the \code{\link{GtkSettings}} object for \code{screen}, creating it if necessary.} \usage{gtkSettingsGetForScreen(screen)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}}.}} \details{Since 2.2} \value{[\code{\link{GtkSettings}}] a \code{\link{GtkSettings}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCopyPage.Rd0000644000176000001440000000114612362217677015041 0ustar ripleyusers\alias{cairoCopyPage} \name{cairoCopyPage} \title{cairoCopyPage} \description{Emits the current page for backends that support multiple pages, but doesn't clear it, so, the contents of the current page will be retained for the next page too. Use \code{\link{cairoShowPage}} if you want to get an empty page after the emission.} \usage{cairoCopyPage(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This is a convenience function that simply calls \code{\link{cairoSurfaceCopyPage}} on \code{cr}'s target. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoIdentityMatrix.Rd0000644000176000001440000000074712362217677016316 0ustar ripleyusers\alias{cairoIdentityMatrix} \name{cairoIdentityMatrix} \title{cairoIdentityMatrix} \description{Resets the current transformation matrix (CTM) by setting it equal to the identity matrix. That is, the user-space and device-space axes will be aligned and one user-space unit will transform to one device-space unit.} \usage{cairoIdentityMatrix(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetExecutable.Rd0000644000176000001440000000063312362217677016461 0ustar ripleyusers\alias{gAppInfoGetExecutable} \name{gAppInfoGetExecutable} \title{gAppInfoGetExecutable} \description{Gets the executable's name for the installed application.} \usage{gAppInfoGetExecutable(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}}} \value{[char] a string containing the \code{appinfo}'s application binaries name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetUserData.Rd0000644000176000001440000000100612362217677016335 0ustar ripleyusers\alias{gdkWindowGetUserData} \name{gdkWindowGetUserData} \title{gdkWindowGetUserData} \description{Retrieves the user data for \code{window}, which is normally the widget that \code{window} belongs to. See \code{\link{gdkWindowSetUserData}}.} \usage{gdkWindowGetUserData(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{\verb{user.data}}{return location for user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertAtCursor.Rd0000644000176000001440000000100212362217677017737 0ustar ripleyusers\alias{gtkTextBufferInsertAtCursor} \name{gtkTextBufferInsertAtCursor} \title{gtkTextBufferInsertAtCursor} \description{Simply calls \code{\link{gtkTextBufferInsert}}, using the current cursor position as the insertion point.} \usage{gtkTextBufferInsertAtCursor(object, text, len = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{text}}{some text in UTF-8 format} \item{\verb{len}}{length of text, in bytes} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageFromString.Rd0000644000176000001440000000210212362217677017070 0ustar ripleyusers\alias{pangoLanguageFromString} \name{pangoLanguageFromString} \title{pangoLanguageFromString} \description{Take a RFC-3066 format language tag as a string and convert it to a \code{\link{PangoLanguage}} pointer that can be efficiently copied (copy the pointer) and compared with other language tags (compare the pointer.)} \usage{pangoLanguageFromString(language)} \arguments{\item{\verb{language}}{[char] a string representing a language tag, or \code{NULL}}} \details{This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'. Use \code{\link{pangoLanguageGetDefault}} if you want to get the \code{\link{PangoLanguage}} for the current locale of the process. } \value{[\code{\link{PangoLanguage}}] an opaque pointer to a \code{\link{PangoLanguage}} structure, or \code{NULL} if \code{language} was \code{NULL}. The returned pointer will be valid forever after, and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkStringHeight.Rd0000644000176000001440000000126012362217677015376 0ustar ripleyusers\alias{gdkStringHeight} \name{gdkStringHeight} \title{gdkStringHeight} \description{ Determines the total height of a given nul-terminated string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See \code{\link{gdkStringExtents}}. \strong{WARNING: \code{gdk_string_height} is deprecated and should not be used in newly-written code.} } \usage{gdkStringHeight(object, string)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{string}}{the string to measure.} } \value{[integer] the height of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnWidth.Rd0000644000176000001440000000113412362217677016667 0ustar ripleyusers\alias{gtkCListSetColumnWidth} \name{gtkCListSetColumnWidth} \title{gtkCListSetColumnWidth} \description{ Causes the column specified for the \code{\link{GtkCList}} to be set to a specified width. \strong{WARNING: \code{gtk_clist_set_column_width} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnWidth(object, column, width)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to set the width.} \item{\verb{width}}{The width, in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoShape.Rd0000644000176000001440000000132312362217677014376 0ustar ripleyusers\alias{pangoShape} \name{pangoShape} \title{pangoShape} \description{Given a segment of text and the corresponding \code{\link{PangoAnalysis}} structure returned from \code{\link{pangoItemize}}, convert the characters into glyphs. You may also pass in only a substring of the item from \code{\link{pangoItemize}}.} \usage{pangoShape(text, analysis, glyphs)} \arguments{ \item{\verb{text}}{[character] the text to process} \item{\verb{analysis}}{[\code{\link{PangoAnalysis}}] \code{\link{PangoAnalysis}} structure from \code{\link{pangoItemize}}} \item{\verb{glyphs}}{[\code{\link{PangoGlyphString}}] glyph string in which to store results} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitlesActive.Rd0000644000176000001440000000105612362217677017537 0ustar ripleyusers\alias{gtkCListColumnTitlesActive} \name{gtkCListColumnTitlesActive} \title{gtkCListColumnTitlesActive} \description{ Causes all column title buttons to become active. This is the same as calling \code{\link{gtkCListColumnTitleActive}} for each column. \strong{WARNING: \code{gtk_clist_column_titles_active} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitlesActive(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetBarStyle.Rd0000644000176000001440000000115412362217677017374 0ustar ripleyusers\alias{gtkProgressBarSetBarStyle} \name{gtkProgressBarSetBarStyle} \title{gtkProgressBarSetBarStyle} \description{ Sets the style of the \code{\link{GtkProgressBar}}. The default style is \code{GTK_PROGRESS_CONTINUOUS}. \strong{WARNING: \code{gtk_progress_bar_set_bar_style} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarSetBarStyle(object, style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}.} \item{\verb{style}}{a \code{\link{GtkProgressBarStyle}} value indicating the desired style.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetHasSelection.Rd0000644000176000001440000000067312362217677020745 0ustar ripleyusers\alias{gtkPrintOperationGetHasSelection} \name{gtkPrintOperationGetHasSelection} \title{gtkPrintOperationGetHasSelection} \description{Gets the value of \verb{"has-selection"} property.} \usage{gtkPrintOperationGetHasSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.18} \value{[logical] whether there is a selection} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceCreateFromPng.Rd0000644000176000001440000000164612362217677020307 0ustar ripleyusers\alias{cairoImageSurfaceCreateFromPng} \name{cairoImageSurfaceCreateFromPng} \title{cairoImageSurfaceCreateFromPng} \description{Creates a new image surface and initializes the contents to the given PNG file.} \usage{cairoImageSurfaceCreateFromPng(filename)} \arguments{\item{\verb{filename}}{[char] name of PNG file to load}} \value{[\code{\link{CairoSurface}}] a new \code{\link{CairoSurface}} initialized with the contents of the PNG file, or a "nil" surface if any error occurred. A nil surface can be checked for with cairo_surface_status(surface) which may return one of the following values: \code{CAIRO_STATUS_NO_MEMORY} \code{CAIRO_STATUS_FILE_NOT_FOUND} \code{CAIRO_STATUS_READ_ERROR} Alternatively, you can allow errors to propagate through the drawing operations and check the status on the context upon completion using \code{\link{cairoStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryExists.Rd0000644000176000001440000000344412362217677015573 0ustar ripleyusers\alias{gFileQueryExists} \name{gFileQueryExists} \title{gFileQueryExists} \description{Utility function to check if a particular file exists. This is implemented using \code{\link{gFileQueryInfo}} and as such does blocking I/O.} \usage{gFileQueryExists(object, cancellable = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} } \details{Note that in many cases it is racy to first check for file existence and then execute something based on the outcome of that, because the file might have been created or removed in between the operations. The general approach to handling that is to not check, but just do the operation and handle the errors as they come. As an example of race-free checking, take the case of reading a file, and if it doesn't exist, creating it. There are two racy versions: read it, and on error create it; and: check if it exists, if not create it. These can both result in two processes creating the file (with perhaps a partially written file as the result). The correct approach is to always try to create the file with \code{\link{gFileCreate}} which will either atomically create the file or fail with a G_IO_ERROR_EXISTS error. However, in many cases an existence check is useful in a user interface, for instance to make a menu item sensitive/insensitive, so that you don't have to fool users that something is possible and then just show and error dialog. If you do this, you should make sure to also handle the errors that can happen due to races when you execute the operation.} \value{[logical] \code{TRUE} if the file exists (and can be detected without error), \code{FALSE} otherwise (or if cancelled).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetCurrentFolderFile.Rd0000644000176000001440000000161112362217677021174 0ustar ripleyusers\alias{gtkFileChooserSetCurrentFolderFile} \name{gtkFileChooserSetCurrentFolderFile} \title{gtkFileChooserSetCurrentFolderFile} \description{Sets the current folder for \code{chooser} from a \code{\link{GFile}}. Internal function, see \code{\link{gtkFileChooserSetCurrentFolderUri}}.} \usage{gtkFileChooserSetCurrentFolderFile(object, file, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{file}}{the \code{\link{GFile}} for the new folder} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the folder could be changed successfully, \code{FALSE} otherwise.} \item{\verb{error}}{location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreInsertAfter.Rd0000644000176000001440000000237012362217677017105 0ustar ripleyusers\alias{gtkTreeStoreInsertAfter} \name{gtkTreeStoreInsertAfter} \title{gtkTreeStoreInsertAfter} \description{Inserts a new row after \code{sibling}. If \code{sibling} is \code{NULL}, then the row will be prepended to \code{parent} 's children. If \code{parent} and \code{sibling} are \code{NULL}, then the row will be prepended to the toplevel. If both \code{sibling} and \code{parent} are set, then \code{parent} must be the parent of \code{sibling}. When \code{sibling} is set, \code{parent} is optional.} \usage{gtkTreeStoreInsertAfter(object, parent, sibling)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{sibling}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{\code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkTreeStoreSet}} or \code{\link{gtkTreeStoreSetValue}}.} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetWidthMm.Rd0000644000176000001440000000070612362217677016154 0ustar ripleyusers\alias{gdkScreenGetWidthMm} \name{gdkScreenGetWidthMm} \title{gdkScreenGetWidthMm} \description{Gets the width of \code{screen} in millimeters. Note that on some X servers this value will not be correct.} \usage{gdkScreenGetWidthMm(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] the width of \code{screen} in millimeters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetEvents.Rd0000644000176000001440000000062312362217677016075 0ustar ripleyusers\alias{gdkWindowGetEvents} \name{gdkWindowGetEvents} \title{gdkWindowGetEvents} \description{Gets the event mask for \code{window}. See \code{\link{gdkWindowSetEvents}}.} \usage{gdkWindowGetEvents(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkEventMask}}] event mask for \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetStartupId.Rd0000644000176000001440000000076612362217677016574 0ustar ripleyusers\alias{gdkWindowSetStartupId} \name{gdkWindowSetStartupId} \title{gdkWindowSetStartupId} \description{When using GTK+, typically you should use \code{\link{gtkWindowSetStartupId}} instead of this low-level function.} \usage{gdkWindowSetStartupId(object, startup.id)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{startup.id}}{a string with startup-notification identifier} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintHline.Rd0000644000176000001440000000165012362217677015055 0ustar ripleyusers\alias{gtkPaintHline} \name{gtkPaintHline} \title{gtkPaintHline} \description{Draws a horizontal line from (\code{x1}, \code{y}) to (\code{x2}, \code{y}) in \code{window} using the given style and state.} \usage{gtkPaintHline(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x1, x2, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{rectangle to which the output is clipped, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x1}}{the starting x coordinate} \item{\verb{x2}}{the ending x coordinate} \item{\verb{y}}{the y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageMax.Rd0000644000176000001440000000106412362217677015541 0ustar ripleyusers\alias{pangoCoverageMax} \name{pangoCoverageMax} \title{pangoCoverageMax} \description{Set the coverage for each index in \code{coverage} to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in \code{other}.} \usage{pangoCoverageMax(object, other)} \arguments{ \item{\verb{object}}{[\code{\link{PangoCoverage}}] a \code{\link{PangoCoverage}}} \item{\verb{other}}{[\code{\link{PangoCoverage}}] another \code{\link{PangoCoverage}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GVfs.Rd0000644000176000001440000000137312362217677013163 0ustar ripleyusers\alias{GVfs} \name{GVfs} \title{GVfs} \description{Virtual File System} \section{Methods and Functions}{ \code{\link{gVfsGetFileForPath}(object, path)}\cr \code{\link{gVfsGetFileForUri}(object, uri)}\cr \code{\link{gVfsParseName}(object, parse.name)}\cr \code{\link{gVfsGetDefault}()}\cr \code{\link{gVfsGetLocal}()}\cr \code{\link{gVfsIsActive}(object)}\cr \code{\link{gVfsGetSupportedUriSchemes}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GVfs}} \section{Detailed Description}{Entry point for using GIO functionality.} \section{Structures}{\describe{\item{\verb{GVfs}}{ Virtual File System object. }}} \references{\url{http://library.gnome.org/devel//gio/GVfs.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamClose.Rd0000644000176000001440000000425212362217677015135 0ustar ripleyusers\alias{gIOStreamClose} \name{gIOStreamClose} \title{gIOStreamClose} \description{Closes the stream, releasing resources related to it. This will also closes the individual input and output streams, if they are not already closed.} \usage{gIOStreamClose(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GIOStream}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Once the stream is closed, all other operations will return \code{G_IO_ERROR_CLOSED}. Closing a stream multiple times will not return an error. Closing a stream will automatically flush any outstanding buffers in the stream. Streams will be automatically closed when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible. Some streams might keep the backing store of the stream (e.g. a file descriptor) open after the stream is closed. See the documentation for the individual stream for details. On failure the first error that happened will be reported, but the close operation will finish as much as possible. A stream that failed to close will still return \code{G_IO_ERROR_CLOSED} for all operations. Still, it is important to check and report the error to the user, otherwise there might be a loss of data as all data might not be written. If \code{cancellable} is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Cancelling a close will still leave the stream closed, but some streams can use a faster close that doesn't block to e.g. check errors. The default implementation of this method just calls close on the individual input/output streams. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on failure} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoIsLocal.Rd0000644000176000001440000000065612362217677016332 0ustar ripleyusers\alias{gtkRecentInfoIsLocal} \name{gtkRecentInfoIsLocal} \title{gtkRecentInfoIsLocal} \description{Checks whether the resource is local or not by looking at the scheme of its URI.} \usage{gtkRecentInfoIsLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the resource is local.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewUnselectAll.Rd0000644000176000001440000000050412362217677016676 0ustar ripleyusers\alias{gtkIconViewUnselectAll} \name{gtkIconViewUnselectAll} \title{gtkIconViewUnselectAll} \description{Unselects all the icons.} \usage{gtkIconViewUnselectAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPopupEnable.Rd0000644000176000001440000000063512362217677016737 0ustar ripleyusers\alias{gtkNotebookPopupEnable} \name{gtkNotebookPopupEnable} \title{gtkNotebookPopupEnable} \description{Enables the popup menu: if the user clicks with the right mouse button on the tab labels, a menu with all the pages will be popped up.} \usage{gtkNotebookPopupEnable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestRichText.Rd0000644000176000001440000000211312362217677017740 0ustar ripleyusers\alias{gtkClipboardRequestRichText} \name{gtkClipboardRequestRichText} \title{gtkClipboardRequestRichText} \description{Requests the contents of the clipboard as rich text. When the rich text is later received, \code{callback} will be called.} \usage{gtkClipboardRequestRichText(object, buffer, callback, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}} \item{\verb{callback}}{a function to call when the text is received, or the retrieval fails. (It will always be called one way or the other.)} \item{\verb{user.data}}{user data to pass to \code{callback}.} } \details{The \code{text} parameter to \code{callback} will contain the resulting rich text if the request succeeded, or \code{NULL} if it failed. The \code{length} parameter will contain \code{text}'s length. This function can fail for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into rich text form. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryNew.Rd0000644000176000001440000000220612362217677015712 0ustar ripleyusers\alias{gtkIconFactoryNew} \name{gtkIconFactoryNew} \title{gtkIconFactoryNew} \description{Creates a new \code{\link{GtkIconFactory}}. An icon factory manages a collection of \code{\link{GtkIconSet}}s; a \code{\link{GtkIconSet}} manages a set of variants of a particular icon (i.e. a \code{\link{GtkIconSet}} contains variants for different sizes and widget states). Icons in an icon factory are named by a stock ID, which is a simple string identifying the icon. Each \code{\link{GtkStyle}} has a list of \code{\link{GtkIconFactory}}s derived from the current theme; those icon factories are consulted first when searching for an icon. If the theme doesn't set a particular icon, GTK+ looks for the icon in a list of default icon factories, maintained by \code{\link{gtkIconFactoryAddDefault}} and \code{\link{gtkIconFactoryRemoveDefault}}. Applications with icons should add a default icon factory with their icons, which will allow themes to override the icons for the application.} \usage{gtkIconFactoryNew()} \value{[\code{\link{GtkIconFactory}}] a new \code{\link{GtkIconFactory}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetColumnHeader.Rd0000644000176000001440000000120212362217677016763 0ustar ripleyusers\alias{atkTableGetColumnHeader} \name{atkTableGetColumnHeader} \title{atkTableGetColumnHeader} \description{Gets the column header of a specified column in an accessible table.} \usage{atkTableGetColumnHeader(object, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in the table} } \value{[\code{\link{AtkObject}}] a AtkObject* representing the specified column header, or \code{NULL} if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSocket.Rd0000644000176000001440000001077712362217677014224 0ustar ripleyusers\alias{GtkSocket} \alias{gtkSocket} \name{GtkSocket} \title{GtkSocket} \description{Container for widgets from other processes} \section{Methods and Functions}{ \code{\link{gtkSocketNew}(show = TRUE)}\cr \code{\link{gtkSocketSteal}(object, wid)}\cr \code{\link{gtkSocketAddId}(object, window.id)}\cr \code{\link{gtkSocketGetId}(object)}\cr \code{\link{gtkSocketGetPlugWindow}(object)}\cr \code{gtkSocket(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkSocket}} \section{Interfaces}{GtkSocket implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{Together with \code{\link{GtkPlug}}, \code{\link{GtkSocket}} provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a \code{\link{GtkSocket}} widget and, passes the that widget's window ID to the other process, which then creates a \code{\link{GtkPlug}} with that window ID. Any widgets contained in the \code{\link{GtkPlug}} then will appear inside the first applications window. The socket's window ID is obtained by using \code{\link{gtkSocketGetId}}. Before using this function, the socket must have been realized, and for hence, have been added to its parent. \emph{Obtaining the window ID of a socket.} \preformatted{ socket <- gtkSocket() parent$add(socket) ## The following call is only necessary if one of ## the ancestors of the socket is not yet visible. socket$realize() print(paste("The ID of the sockets window is", socket$getId())) } Note that if you pass the window ID of the socket to another process that will create a plug in the socket, you must make sure that the socket widget is not destroyed until that plug is created. Violating this rule will cause unpredictable consequences, the most likely consequence being that the plug will appear as a separate toplevel window. You can check if the plug has been created by examining the \code{plug_window} field of the \code{\link{GtkSocket}} structure. If this field is non-\code{NULL}, then the plug has been successfully created inside of the socket. When GTK+ is notified that the embedded window has been destroyed, then it will destroy the socket as well. You should always, therefore, be prepared for your sockets to be destroyed at any time when the main event loop is running. To prevent this from happening, you can connect to the \verb{"plug-removed"} signal. The communication between a \code{\link{GtkSocket}} and a \code{\link{GtkPlug}} follows the XEmbed (\url{http://www.freedesktop.org/standards/xembed-spec}) protocol. This protocol has also been implemented in other toolkits, e.g. \command{Qt}, allowing the same level of integration when embedding a \command{Qt} widget in GTK or vice versa. A socket can also be used to swallow arbitrary pre-existing top-level windows using \code{\link{gtkSocketSteal}}, though the integration when this is done will not be as close as between a \code{\link{GtkPlug}} and a \code{\link{GtkSocket}}. \strong{PLEASE NOTE:} The \code{\link{GtkPlug}} and \code{\link{GtkSocket}} widgets are currently not available on all platforms supported by GTK+.} \section{Structures}{\describe{\item{\verb{GtkSocket}}{ The \code{\link{GtkSocket}} structure contains the \code{plug_window} field. (This field should be considered read-only. It should never be set by an application.) }}} \section{Convenient Construction}{\code{gtkSocket} is the equivalent of \code{\link{gtkSocketNew}}.} \section{Signals}{\describe{ \item{\code{plug-added(socket., user.data)}}{ This signal is emitted when a client is successfully added to the socket. \describe{ \item{\code{socket.}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{plug-removed(socket., user.data)}}{ This signal is emitted when a client is removed from the socket. The default action is to destroy the \code{\link{GtkSocket}} widget, so if you want to reuse it you must add a signal handler that returns \code{TRUE}. \describe{ \item{\code{socket.}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkSocket.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationTypeGetName.Rd0000644000176000001440000000074512362217677016700 0ustar ripleyusers\alias{atkRelationTypeGetName} \name{atkRelationTypeGetName} \title{atkRelationTypeGetName} \description{Gets the description string describing the \code{\link{AtkRelationType}} \code{type}.} \usage{atkRelationTypeGetName(type)} \arguments{\item{\verb{type}}{[\code{\link{AtkRelationType}}] The \code{\link{AtkRelationType}} whose name is required}} \value{[character] the string describing the AtkRelationType} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowUnmaximize.Rd0000644000176000001440000000144212362217677016317 0ustar ripleyusers\alias{gdkWindowUnmaximize} \name{gdkWindowUnmaximize} \title{gdkWindowUnmaximize} \description{Unmaximizes the window. If the window wasn't maximized, then this function does nothing.} \usage{gdkWindowUnmaximize(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{On X11, asks the window manager to unmaximize \code{window}, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "maximized"; so you can't rely on the unmaximization actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. On Windows, reliably unmaximizes the window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkImageMenuItem.Rd0000644000176000001440000000607412362217677015455 0ustar ripleyusers\alias{GtkImageMenuItem} \alias{gtkImageMenuItem} \name{GtkImageMenuItem} \title{GtkImageMenuItem} \description{A menu item with an icon} \section{Methods and Functions}{ \code{\link{gtkImageMenuItemSetImage}(object, image = NULL)}\cr \code{\link{gtkImageMenuItemGetImage}(object)}\cr \code{\link{gtkImageMenuItemNew}(show = TRUE)}\cr \code{\link{gtkImageMenuItemNewFromStock}(stock.id, accel.group, show = TRUE)}\cr \code{\link{gtkImageMenuItemNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkImageMenuItemNewWithMnemonic}(label, show = TRUE)}\cr \code{\link{gtkImageMenuItemGetUseStock}(object)}\cr \code{\link{gtkImageMenuItemSetUseStock}(object, use.stock)}\cr \code{\link{gtkImageMenuItemGetAlwaysShowImage}(object)}\cr \code{\link{gtkImageMenuItemSetAlwaysShowImage}(object, always.show)}\cr \code{\link{gtkImageMenuItemSetAccelGroup}(object, accel.group)}\cr \code{gtkImageMenuItem(label, stock.id, accel.group, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkImageMenuItem}} \section{Interfaces}{GtkImageMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A GtkImageMenuItem is a menu item which has an icon next to the text label. Note that the user can disable display of menu icons, so make sure to still fill in the text label.} \section{Structures}{\describe{\item{\verb{GtkImageMenuItem}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkImageMenuItem} is the result of collapsing the constructors of \code{GtkImageMenuItem} (\code{\link{gtkImageMenuItemNew}}, \code{\link{gtkImageMenuItemNewWithLabel}}, \code{\link{gtkImageMenuItemNewWithMnemonic}}, \code{\link{gtkImageMenuItemNewFromStock}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{ \item{\verb{accel-group} [\code{\link{GtkAccelGroup}} : * : Write]}{ The Accel Group to use for stock accelerator keys Since 2.16 } \item{\verb{always-show-image} [logical : Read / Write / Construct]}{ If \code{TRUE}, the menu item will ignore the \verb{"gtk-menu-images"} setting and always show the image, if available. Use this property if the menuitem would be useless or hard to use without the image. Default value: FALSE Since 2.16 } \item{\verb{image} [\code{\link{GtkWidget}} : * : Read / Write]}{ Child widget to appear next to the menu text. } \item{\verb{use-stock} [logical : Read / Write / Construct]}{ If \code{TRUE}, the label set in the menuitem is used as a stock id to select the stock item for the item. Default value: FALSE Since 2.16 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkImageMenuItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetPasswordSave.Rd0000644000176000001440000000067712362217677020474 0ustar ripleyusers\alias{gMountOperationSetPasswordSave} \name{gMountOperationSetPasswordSave} \title{gMountOperationSetPasswordSave} \description{Sets the state of saving passwords for the mount operation.} \usage{gMountOperationSetPasswordSave(object, save)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{save}}{a set of \code{\link{GPasswordSave}} flags.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveEjectWithOperation.Rd0000644000176000001440000000175512362217677017232 0ustar ripleyusers\alias{gDriveEjectWithOperation} \name{gDriveEjectWithOperation} \title{gDriveEjectWithOperation} \description{Ejects a drive. This is an asynchronous operation, and is finished by calling \code{\link{gDriveEjectWithOperationFinish}} with the \code{drive} and \code{\link{GAsyncResult}} data returned in the \code{callback}.} \usage{gDriveEjectWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextSetCursorLocation.Rd0000644000176000001440000000072412362217677020240 0ustar ripleyusers\alias{gtkIMContextSetCursorLocation} \name{gtkIMContextSetCursorLocation} \title{gtkIMContextSetCursorLocation} \description{Notify the input method that a change in cursor position has been made. The location is relative to the client window.} \usage{gtkIMContextSetCursorLocation(object, area)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{area}}{new location} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetClearStates.Rd0000644000176000001440000000053312362217677016702 0ustar ripleyusers\alias{atkStateSetClearStates} \name{atkStateSetClearStates} \title{atkStateSetClearStates} \description{Removes all states from the state set.} \usage{atkStateSetClearStates(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupFind.Rd0000644000176000001440000000121212362217677015641 0ustar ripleyusers\alias{gtkAccelGroupFind} \name{gtkAccelGroupFind} \title{gtkAccelGroupFind} \description{Finds the first entry in an accelerator group for which \code{find.func} returns \code{TRUE} and returns its \code{\link{GtkAccelKey}}.} \usage{gtkAccelGroupFind(object, find.func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAccelGroup}}} \item{\verb{find.func}}{a function to filter the entries of \code{accel.group} with} \item{\verb{data}}{data to pass to \code{find.func}} } \value{[\code{\link{GtkAccelKey}}] the key of the first entry passing \code{find.func}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImageGetImageSize.Rd0000644000176000001440000000142512362217677016274 0ustar ripleyusers\alias{atkImageGetImageSize} \name{atkImageGetImageSize} \title{atkImageGetImageSize} \description{Get the width and height in pixels for the specified image. The values of \code{width} and \code{height} are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).} \usage{atkImageGetImageSize(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkImage}}] a \code{\link{GObject}} instance that implements AtkImageIface}} \value{ A list containing the following elements: \item{\verb{width}}{[integer] filled with the image width, or -1 if the value cannot be obtained.} \item{\verb{height}}{[integer] filled with the image height, or -1 if the value cannot be obtained.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExit.Rd0000644000176000001440000000115512362217677013733 0ustar ripleyusers\alias{gtkExit} \name{gtkExit} \title{gtkExit} \description{ Terminates the program and returns the given exit code to the caller. This function will shut down the GUI and free all resources allocated for GTK+. \strong{WARNING: \code{gtk_exit} is deprecated and should not be used in newly-written code. Use the standard \code{exit()} function instead.} } \usage{gtkExit(error.code)} \arguments{\item{\verb{error.code}}{Return value to pass to the caller. This is dependent on the target system but at least on Unix systems \code{0} means success.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreMoveBefore.Rd0000644000176000001440000000136712362217677016715 0ustar ripleyusers\alias{gtkTreeStoreMoveBefore} \name{gtkTreeStoreMoveBefore} \title{gtkTreeStoreMoveBefore} \description{Moves \code{iter} in \code{tree.store} to the position before \code{position}. \code{iter} and \code{position} should be in the same level. Note that this function only works with unsorted stores. If \code{position} is \code{NULL}, \code{iter} will be moved to the end of the level.} \usage{gtkTreeStoreMoveBefore(object, iter, position = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} \item{\verb{position}}{A \code{\link{GtkTreeIter}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoResetTypeAssociations.Rd0000644000176000001440000000105312362217677020241 0ustar ripleyusers\alias{gAppInfoResetTypeAssociations} \name{gAppInfoResetTypeAssociations} \title{gAppInfoResetTypeAssociations} \description{Removes all changes to the type associations done by \code{\link{gAppInfoSetAsDefaultForType}}, \code{\link{gAppInfoSetAsDefaultForExtension}}, \code{\link{gAppInfoAddSupportsType}} or \code{\link{gAppInfoRemoveSupportsType}}.} \usage{gAppInfoResetTypeAssociations(content.type)} \arguments{\item{\verb{content.type}}{a content type}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRemoveAllTags.Rd0000644000176000001440000000131512362217677017524 0ustar ripleyusers\alias{gtkTextBufferRemoveAllTags} \name{gtkTextBufferRemoveAllTags} \title{gtkTextBufferRemoveAllTags} \description{Removes all tags in the range between \code{start} and \code{end}. Be careful with this function; it could remove tags added in code unrelated to the code you're currently writing. That is, using this function is probably a bad idea if you have two or more unrelated code sections that add tags.} \usage{gtkTextBufferRemoveAllTags(object, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{start}}{one bound of range to be untagged} \item{\verb{end}}{other bound of range to be untagged} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserUnselectUri.Rd0000644000176000001440000000062012362217677017744 0ustar ripleyusers\alias{gtkRecentChooserUnselectUri} \name{gtkRecentChooserUnselectUri} \title{gtkRecentChooserUnselectUri} \description{Unselects \code{uri} inside \code{chooser}.} \usage{gtkRecentChooserUnselectUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{uri}}{a URI} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeleteMarkByName.Rd0000644000176000001440000000074012362217677020131 0ustar ripleyusers\alias{gtkTextBufferDeleteMarkByName} \name{gtkTextBufferDeleteMarkByName} \title{gtkTextBufferDeleteMarkByName} \description{Deletes the mark named \code{name}; the mark must exist. See \code{\link{gtkTextBufferDeleteMark}} for details.} \usage{gtkTextBufferDeleteMarkByName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{name}}{name of a mark in \code{buffer}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetFree.Rd0000644000176000001440000000043612362217677015207 0ustar ripleyusers\alias{gSrvTargetFree} \name{gSrvTargetFree} \title{gSrvTargetFree} \description{Frees \code{target}} \usage{gSrvTargetFree(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetStockId.Rd0000644000176000001440000000054212362217677016157 0ustar ripleyusers\alias{gtkActionGetStockId} \name{gtkActionGetStockId} \title{gtkActionGetStockId} \description{Gets the stock id of \code{action}.} \usage{gtkActionGetStockId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[character] the stock id} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIconHash.Rd0000644000176000001440000000061312362217677014155 0ustar ripleyusers\alias{gIconHash} \name{gIconHash} \title{gIconHash} \description{Gets a hash for an icon.} \usage{gIconHash(icon)} \arguments{\item{\verb{icon}}{\verb{R object} to an icon object.}} \value{[numeric] a \verb{numeric} containing a hash for the \code{icon}, suitable for use in a \verb{GHashTable} or similar data structure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListUnselectChild.Rd0000644000176000001440000000077512362217677016413 0ustar ripleyusers\alias{gtkListUnselectChild} \name{gtkListUnselectChild} \title{gtkListUnselectChild} \description{ Unselects the given \code{child}. The signal GtkList::unselect-child will be emitted. \strong{WARNING: \code{gtk_list_unselect_child} is deprecated and should not be used in newly-written code.} } \usage{gtkListUnselectChild(object, child)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{child}}{the child to unselect.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertRangeInteractive.Rd0000644000176000001440000000177712362217677021452 0ustar ripleyusers\alias{gtkTextBufferInsertRangeInteractive} \name{gtkTextBufferInsertRangeInteractive} \title{gtkTextBufferInsertRangeInteractive} \description{Same as \code{\link{gtkTextBufferInsertRange}}, but does nothing if the insertion point isn't editable. The \code{default.editable} parameter indicates whether the text is editable at \code{iter} if no tags enclosing \code{iter} affect editability. Typically the result of \code{\link{gtkTextViewGetEditable}} is appropriate here.} \usage{gtkTextBufferInsertRangeInteractive(object, iter, start, end, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{a position in \code{buffer}} \item{\verb{start}}{a position in a \code{\link{GtkTextBuffer}}} \item{\verb{end}}{another position in the same buffer as \code{start}} \item{\verb{default.editable}}{default editability of the buffer} } \value{[logical] whether an insertion was possible at \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenWidth.Rd0000644000176000001440000000044212362217677015217 0ustar ripleyusers\alias{gdkScreenWidth} \name{gdkScreenWidth} \title{gdkScreenWidth} \description{Returns the width of the default screen in pixels.} \usage{gdkScreenWidth()} \value{[integer] the width of the default screen in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkButton.Rd0000644000176000001440000002001612362217677014232 0ustar ripleyusers\alias{GtkButton} \alias{gtkButton} \name{GtkButton} \title{GtkButton} \description{A widget that creates a signal when clicked on} \section{Methods and Functions}{ \code{\link{gtkButtonNew}(show = TRUE)}\cr \code{\link{gtkButtonNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkButtonNewWithMnemonic}(label, show = TRUE)}\cr \code{\link{gtkButtonNewFromStock}(stock.id, show = TRUE)}\cr \code{\link{gtkButtonPressed}(object)}\cr \code{\link{gtkButtonReleased}(object)}\cr \code{\link{gtkButtonClicked}(object)}\cr \code{\link{gtkButtonEnter}(object)}\cr \code{\link{gtkButtonLeave}(object)}\cr \code{\link{gtkButtonSetRelief}(object, newstyle)}\cr \code{\link{gtkButtonGetRelief}(object)}\cr \code{\link{gtkButtonGetLabel}(object)}\cr \code{\link{gtkButtonSetLabel}(object, label)}\cr \code{\link{gtkButtonGetUseStock}(object)}\cr \code{\link{gtkButtonSetUseStock}(object, use.stock)}\cr \code{\link{gtkButtonGetUseUnderline}(object)}\cr \code{\link{gtkButtonSetUseUnderline}(object, use.underline)}\cr \code{\link{gtkButtonSetFocusOnClick}(object, focus.on.click)}\cr \code{\link{gtkButtonGetFocusOnClick}(object)}\cr \code{\link{gtkButtonSetAlignment}(object, xalign, yalign)}\cr \code{\link{gtkButtonGetAlignment}(object)}\cr \code{\link{gtkButtonSetImage}(object, image)}\cr \code{\link{gtkButtonGetImage}(object)}\cr \code{\link{gtkButtonSetImagePosition}(object, position)}\cr \code{\link{gtkButtonGetImagePosition}(object)}\cr \code{gtkButton(label, stock.id, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkToggleButton +----GtkColorButton +----GtkFontButton +----GtkLinkButton +----GtkOptionMenu +----GtkScaleButton}} \section{Interfaces}{GtkButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{The \code{\link{GtkButton}} widget is generally used to attach a function to that is called when the button is pressed. The various signals and how to use them are outlined below. The \code{\link{GtkButton}} widget can hold any valid child widget. That is it can hold most any other standard \code{\link{GtkWidget}}. The most commonly used child is the \code{\link{GtkLabel}}.} \section{Structures}{\describe{\item{\verb{GtkButton}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkButton} is the result of collapsing the constructors of \code{GtkButton} (\code{\link{gtkButtonNew}}, \code{\link{gtkButtonNewWithLabel}}, \code{\link{gtkButtonNewFromStock}}, \code{\link{gtkButtonNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{activate(widget, user.data)}}{ The ::activate signal on GtkButton is an action signal and emitting it causes the button to animate press then release. Applications should never connect to this signal, but use the \code{\link{gtkButtonClicked}} signal. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{clicked(button, user.data)}}{ Emitted when the button has been activated (pressed and released). \describe{ \item{\code{button}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{enter(button, user.data)}}{ Emitted when the pointer enters the button. \describe{ \item{\code{button}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{leave(button, user.data)}}{ Emitted when the pointer leaves the button. \describe{ \item{\code{button}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{pressed(button, user.data)}}{ Emitted when the button is pressed. \describe{ \item{\code{button}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{released(button, user.data)}}{ Emitted when the button is released. \describe{ \item{\code{button}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{focus-on-click} [logical : Read / Write]}{ Whether the button grabs focus when it is clicked with the mouse. Default value: TRUE } \item{\verb{image} [\code{\link{GtkWidget}} : * : Read / Write]}{ Child widget to appear next to the button text. } \item{\verb{image-position} [\code{\link{GtkPositionType}} : Read / Write]}{ The position of the image relative to the text inside the button. Default value: GTK_POS_LEFT Since 2.10 } \item{\verb{label} [character : * : Read / Write / Construct]}{ Text of the label widget inside the button, if the button contains a label widget. Default value: NULL } \item{\verb{relief} [\code{\link{GtkReliefStyle}} : Read / Write]}{ The border relief style. Default value: GTK_RELIEF_NORMAL } \item{\verb{use-stock} [logical : Read / Write / Construct]}{ If set, the label is used to pick a stock item instead of being displayed. Default value: FALSE } \item{\verb{use-underline} [logical : Read / Write / Construct]}{ If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Default value: FALSE } \item{\verb{xalign} [numeric : Read / Write]}{ If the child of the button is a \code{\link{GtkMisc}} or \code{\link{GtkAlignment}}, this property can be used to control it's horizontal alignment. 0.0 is left aligned, 1.0 is right aligned. Allowed values: [0,1] Default value: 0.5 Since 2.4 } \item{\verb{yalign} [numeric : Read / Write]}{ If the child of the button is a \code{\link{GtkMisc}} or \code{\link{GtkAlignment}}, this property can be used to control it's vertical alignment. 0.0 is top aligned, 1.0 is bottom aligned. Allowed values: [0,1] Default value: 0.5 Since 2.4 } }} \section{Style Properties}{\describe{ \item{\verb{child-displacement-x} [integer : Read]}{ How far in the x direction to move the child when the button is depressed. Default value: 0 } \item{\verb{child-displacement-y} [integer : Read]}{ How far in the y direction to move the child when the button is depressed. Default value: 0 } \item{\verb{default-border} [\code{\link{GtkBorder}} : * : Read]}{ The "default-border" style property defines the extra space to add around a button that can become the default widget of its window. For more information about default widgets, see \code{\link{gtkWidgetGrabDefault}}. } \item{\verb{default-outside-border} [\code{\link{GtkBorder}} : * : Read]}{ The "default-outside-border" style property defines the extra outside space to add around a button that can become the default widget of its window. Extra outside space is always drawn outside the button border. For more information about default widgets, see \code{\link{gtkWidgetGrabDefault}}. } \item{\verb{displace-focus} [logical : Read]}{ Whether the child_displacement_x/child_displacement_y properties should also affect the focus rectangle. Default value: FALSE Since 2.6 } \item{\verb{image-spacing} [integer : Read]}{ Spacing in pixels between the image and label. Allowed values: >= 0 Default value: 2 } \item{\verb{inner-border} [\code{\link{GtkBorder}} : * : Read]}{ Sets the border between the button edges and child. Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconPositionMenu.Rd0000644000176000001440000000147512362217677017475 0ustar ripleyusers\alias{gtkStatusIconPositionMenu} \name{gtkStatusIconPositionMenu} \title{gtkStatusIconPositionMenu} \description{Menu positioning function to use with \code{\link{gtkMenuPopup}} to position \code{menu} aligned to the status icon \code{user.data}.} \usage{gtkStatusIconPositionMenu(menu, user.data)} \arguments{ \item{\verb{menu}}{the \code{\link{GtkMenu}}} \item{\verb{user.data}}{the status icon to position the menu on} } \details{Since 2.10} \value{ A list containing the following elements: \item{\verb{x}}{return location for the x position} \item{\verb{y}}{return location for the y position} \item{\verb{push.in}}{whether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-version-info.Rd0000644000176000001440000000635412362217677016033 0ustar ripleyusers\alias{cairo-version-info} \name{cairo-version-info} \title{Version Information} \description{Compile-time and run-time version checks.} \section{Methods and Functions}{ \code{\link{cairoVersion}()}\cr \code{\link{cairoVersionString}()}\cr } \section{Detailed Description}{Cairo has a three-part version number scheme. In this scheme, we use even vs. odd numbers to distinguish fixed points in the software vs. in-progress development, (such as from git instead of a tar file, or as a "snapshot" tar file as opposed to a "release" tar file). \preformatted{ _____ Major. Always 1, until we invent a new scheme. / ___ Minor. Even/Odd = Release/Snapshot (tar files) or Branch/Head (git) | / _ Micro. Even/Odd = Tar-file/git | | / 1.0.0 } Here are a few examples of versions that one might see. \preformatted{Releases -------- 1.0.0 - A major release 1.0.2 - A subsequent maintenance release 1.2.0 - Another major release Snapshots --------- 1.1.2 - A snapshot (working toward the 1.2.0 release) In-progress development (eg. from git) -------------------------------------- 1.0.1 - Development on a maintenance branch (toward 1.0.2 release) 1.1.1 - Development on head (toward 1.1.2 snapshot and 1.2.0 release) }} \section{Compatibility}{The API/ABI compatibility guarantees for various versions are as follows. First, let's assume some cairo-using application code that is successfully using the API/ABI "from" one version of cairo. Then let's ask the question whether this same code can be moved "to" the API/ABI of another version of cairo. Moving from a release to any later version (release, snapshot, development) is always guaranteed to provide compatibility. Moving from a snapshot to any later version is not guaranteed to provide compatibility, since snapshots may introduce new API that ends up being removed before the next release. Moving from an in-development version (odd micro component) to any later version is not guaranteed to provide compatibility. In fact, there's not even a guarantee that the code will even continue to work with the same in-development version number. This is because these numbers don't correspond to any fixed state of the software, but rather the many states between snapshots and releases.} \section{Examining the version}{Cairo provides the ability to examine the version at either compile-time or run-time and in both a human-readable form as well as an encoded form suitable for direct comparison. Cairo also provides the function \code{cairoVersionEncode()} to perform the encoding. \preformatted{ Compile-time -------- R users should not be concerned with compile-time version checking. Run-time -------- cairoVersionString() Human-readable, use compareVersion() for comparison cairoVersion() Encoded, not very useful in R } For example, checking that the cairo version is greater than or equal to 1.0.0 could be achieved at compile-time or run-time as follows: \preformatted{ # R users should not be concerned with compile-time checking, but at runtime: if (compareVersion(cairoVersionString(), "1.0.0") == 1) cat("Running with suitable cairo version:", cairoVersionString(), "\n") }} \references{\url{http://www.cairographics.org/manual/cairo-version-info.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintBoxGap.Rd0000644000176000001440000000226212362217677015176 0ustar ripleyusers\alias{gtkPaintBoxGap} \name{gtkPaintBoxGap} \title{gtkPaintBoxGap} \description{Draws a box in \code{window} using the given style and state and shadow type, leaving a gap in one side.} \usage{gtkPaintBoxGap(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} \item{\verb{gap.side}}{side in which to leave the gap} \item{\verb{gap.x}}{starting position of the gap} \item{\verb{gap.width}}{width of the gap} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHasFocus.Rd0000644000176000001440000000103412362217677015675 0ustar ripleyusers\alias{gtkWidgetHasFocus} \name{gtkWidgetHasFocus} \title{gtkWidgetHasFocus} \description{Determines if the widget has the global input focus. See \code{\link{gtkWidgetIsFocus}} for the difference between having the global input focus, and only having the focus within a toplevel.} \usage{gtkWidgetHasFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the widget has the global input focus.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardFindChar.Rd0000644000176000001440000000123212362217677017624 0ustar ripleyusers\alias{gtkTextIterBackwardFindChar} \name{gtkTextIterBackwardFindChar} \title{gtkTextIterBackwardFindChar} \description{Same as \code{\link{gtkTextIterForwardFindChar}}, but goes backward from \code{iter}.} \usage{gtkTextIterBackwardFindChar(object, pred, user.data = NULL, limit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{pred}}{function to be called on each character} \item{\verb{user.data}}{user data for \code{pred}} \item{\verb{limit}}{search limit, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether a match was found} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkShowUri.Rd0000644000176000001440000000234712362217677014426 0ustar ripleyusers\alias{gtkShowUri} \name{gtkShowUri} \title{gtkShowUri} \description{This is a convenience function for launching the default application to show the uri. The uri must be of a form understood by GIO. Typical examples are \itemize{ \item \file{file:///home/gnome/pict.jpg} \item \file{http://www.gnome.org} \item \file{mailto:me} } Ideally the timestamp is taken from the event triggering the \code{\link{gtkShowUri}} call. If timestamp is not known you can take \code{GDK_CURRENT_TIME}.} \usage{gtkShowUri(screen = NULL, uri, timestamp, .errwarn = TRUE)} \arguments{ \item{\verb{screen}}{screen to show the uri on or \code{NULL} for the default screen. \emph{[ \acronym{allow-none} ]}} \item{\verb{uri}}{the uri to show} \item{\verb{timestamp}}{a timestamp to prevent focus stealing.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function can be used as a replacement for \code{gnomeVfsUrlShow()} and \code{gnomeUrlShow()}. Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}} that is returned in case of errors} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockSetTranslateFunc.Rd0000644000176000001440000000306712362217677017257 0ustar ripleyusers\alias{gtkStockSetTranslateFunc} \name{gtkStockSetTranslateFunc} \title{gtkStockSetTranslateFunc} \description{Sets a function to be used for translating the \code{label} of a stock item.} \usage{gtkStockSetTranslateFunc(domain, func, data)} \arguments{ \item{\verb{domain}}{the translation domain for which \code{func} shall be used} \item{\verb{func}}{a \code{\link{GtkTranslateFunc}}} \item{\verb{data}}{data to pass to \code{func}} } \details{If no function is registered for a translation domain, \code{gDgettext()} is used. The function is used for all stock items whose \code{translation.domain} matches \code{domain}. Note that it is possible to use strings different from the actual gettext translation domain of your application for this, as long as your \code{\link{GtkTranslateFunc}} uses the correct domain when calling \code{dgettext()}. This can be useful, e.g. when dealing with message contexts: \preformatted{GtkStockItem items[] = { { MY_ITEM1, NC_("odd items", "Item 1"), 0, 0, "odd-item-domain" }, { MY_ITEM2, NC_("even items", "Item 2"), 0, 0, "even-item-domain" }, }; gchar * my_translate_func (const gchar *msgid, gpointer data) { gchar *msgctxt = data; return (gchar*)g_dpgettext2 (GETTEXT_PACKAGE, msgctxt, msgid); } /* ... */ gtk_stock_add (items, G_N_ELEMENTS (items)); gtk_stock_set_translate_func ("odd-item-domain", my_translate_func, "odd items"); gtk_stock_set_translate_func ("even-item-domain", my_translate_func, "even items"); } Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamSpliceFinish.Rd0000644000176000001440000000132612362217677017440 0ustar ripleyusers\alias{gOutputStreamSpliceFinish} \name{gOutputStreamSpliceFinish} \title{gOutputStreamSpliceFinish} \description{Finishes an asynchronous stream splice operation.} \usage{gOutputStreamSpliceFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] a \verb{integer} of the number of bytes spliced.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Coverage-Maps.Rd0000644000176000001440000000412412362217677016046 0ustar ripleyusers\alias{pango-Coverage-Maps} \alias{PangoCoverage} \alias{PangoCoverageLevel} \name{pango-Coverage-Maps} \title{Coverage Maps} \description{Unicode character range coverage storage} \section{Methods and Functions}{ \code{\link{pangoCoverageNew}()}\cr \code{\link{pangoCoverageCopy}(object)}\cr \code{\link{pangoCoverageGet}(object, index)}\cr \code{\link{pangoCoverageMax}(object, other)}\cr \code{\link{pangoCoverageSet}(object, index, level)}\cr \code{\link{pangoCoverageToBytes}(object)}\cr \code{\link{pangoCoverageFromBytes}(bytes)}\cr } \section{Detailed Description}{It is often necessary in Pango to determine if a particular font can represent a particular character, and also how well it can represent that character. The \code{\link{PangoCoverage}} is a data structure that is used to represent that information.} \section{Structures}{\describe{\item{\verb{PangoCoverage}}{ The \code{\link{PangoCoverage}} structure represents a map from Unicode characters to \code{\link{PangoCoverageLevel}}. It is an opaque structure with no public fields. }}} \section{Enums and Flags}{\describe{\item{\verb{PangoCoverageLevel}}{ Used to indicate how well a font can represent a particular Unicode character point for a particular script. \describe{ \item{\verb{none}}{The character is not representable with the font.} \item{\verb{fallback}}{The character is represented in a way that may be comprehensible but is not the correct graphical form. For instance, a Hangul character represented as a a sequence of Jamos, or a Latin transliteration of a Cyrillic word.} \item{\verb{approximate}}{The character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script.} \item{\verb{exact}}{The character is represented as the correct graphical form.} } }}} \references{\url{http://library.gnome.org/devel//pango/pango-Coverage-Maps.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowThawUpdates.Rd0000644000176000001440000000051512362217677016422 0ustar ripleyusers\alias{gdkWindowThawUpdates} \name{gdkWindowThawUpdates} \title{gdkWindowThawUpdates} \description{Thaws a window frozen with \code{\link{gdkWindowFreezeUpdates}}.} \usage{gdkWindowThawUpdates(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetForAttachWidget.Rd0000644000176000001440000000076712362217677017336 0ustar ripleyusers\alias{gtkMenuGetForAttachWidget} \name{gtkMenuGetForAttachWidget} \title{gtkMenuGetForAttachWidget} \description{Returns a list of the menus which are attached to this widget.} \usage{gtkMenuGetForAttachWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.6} \value{[list] the list of menus attached to his widget. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugGetSocketWindow.Rd0000644000176000001440000000064012362217677016730 0ustar ripleyusers\alias{gtkPlugGetSocketWindow} \name{gtkPlugGetSocketWindow} \title{gtkPlugGetSocketWindow} \description{Retrieves the socket the plug is embedded in.} \usage{gtkPlugGetSocketWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPlug}}}} \details{Since 2.14} \value{[\code{\link{GdkWindow}}] the window of the socket, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GMemoryOutputStream.Rd0000644000176000001440000000312712362217677016271 0ustar ripleyusers\alias{GMemoryOutputStream} \alias{gMemoryOutputStream} \alias{GReallocFunc} \name{GMemoryOutputStream} \title{GMemoryOutputStream} \description{Streaming output operations on memory chunks} \section{Methods and Functions}{ \code{\link{gMemoryOutputStreamNew}(len)}\cr \code{\link{gMemoryOutputStreamGetData}(object)}\cr \code{\link{gMemoryOutputStreamGetSize}(object)}\cr \code{\link{gMemoryOutputStreamGetDataSize}(object)}\cr \code{gMemoryOutputStream(len)} } \section{Hierarchy}{\preformatted{GObject +----GOutputStream +----GMemoryOutputStream}} \section{Interfaces}{GMemoryOutputStream implements \code{\link{GSeekable}}.} \section{Detailed Description}{\code{\link{GMemoryOutputStream}} is a class for using arbitrary memory chunks as output for GIO streaming output operations.} \section{Structures}{\describe{\item{\verb{GMemoryOutputStream}}{ Implements \code{\link{GOutputStream}} for arbitrary memory chunks. }}} \section{Convenient Construction}{\code{gMemoryOutputStream} is the equivalent of \code{\link{gMemoryOutputStreamNew}}.} \section{User Functions}{\describe{\item{\code{GReallocFunc(data, size)}}{ Changes the size of the memory block pointed to by \code{data} to \code{size} bytes. The function should have the same semantics as \code{realloc()}. \describe{ \item{\code{data}}{memory block to reallocate} \item{\code{size}}{size to reallocate \code{data} to} } \emph{Returns:} [R object] a pointer to the reallocated memory }}} \references{\url{http://library.gnome.org/devel//gio/GMemoryOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetThawChildNotify.Rd0000644000176000001440000000072212362217677017225 0ustar ripleyusers\alias{gtkWidgetThawChildNotify} \name{gtkWidgetThawChildNotify} \title{gtkWidgetThawChildNotify} \description{Reverts the effect of a previous call to \code{\link{gtkWidgetFreezeChildNotify}}. This causes all queued \code{\link{gtkWidgetChildNotify}} signals on \code{widget} to be emitted.} \usage{gtkWidgetThawChildNotify(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetSupportSelection.Rd0000644000176000001440000000074612362217677021707 0ustar ripleyusers\alias{gtkPrintOperationGetSupportSelection} \name{gtkPrintOperationGetSupportSelection} \title{gtkPrintOperationGetSupportSelection} \description{Gets the value of \verb{"support-selection"} property.} \usage{gtkPrintOperationGetSupportSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.18} \value{[logical] whether the application supports print of selection} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetAnimation.Rd0000644000176000001440000000131212362217677016337 0ustar ripleyusers\alias{gtkImageGetAnimation} \name{gtkImageGetAnimation} \title{gtkImageGetAnimation} \description{Gets the \code{\link{GdkPixbufAnimation}} being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_ANIMATION} (see \code{\link{gtkImageGetStorageType}}). The caller of this function does not own a reference to the returned animation.} \usage{gtkImageGetAnimation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{[\code{\link{GdkPixbufAnimation}}] the displayed animation, or \code{NULL} if the image is empty. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewSetModel.Rd0000644000176000001440000000111112362217677016161 0ustar ripleyusers\alias{gtkCellViewSetModel} \name{gtkCellViewSetModel} \title{gtkCellViewSetModel} \description{Sets the model for \code{cell.view}. If \code{cell.view} already has a model set, it will remove it before setting the new model. If \code{model} is \code{NULL}, then it will unset the old model.} \usage{gtkCellViewSetModel(object, model = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellView}}} \item{\verb{model}}{a \code{\link{GtkTreeModel}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayStoreClipboard.Rd0000644000176000001440000000153212362217677017243 0ustar ripleyusers\alias{gdkDisplayStoreClipboard} \name{gdkDisplayStoreClipboard} \title{gdkDisplayStoreClipboard} \description{Issues a request to the clipboard manager to store the clipboard data. On X11, this is a special program that works according to the freedesktop clipboard specification, available at http://www.freedesktop.org/Standards/clipboard-manager-spec (\url{http://www.freedesktop.org/Standards/clipboard-manager-spec}).} \usage{gdkDisplayStoreClipboard(object, clipboard.window, targets)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{clipboard.window}}{a \code{\link{GdkWindow}} belonging to the clipboard owner} \item{\verb{targets}}{a list of targets that should be saved, or \code{NULL} if all available targets should be saved.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetRadialCircles.Rd0000644000176000001440000000246112362217677020032 0ustar ripleyusers\alias{cairoPatternGetRadialCircles} \name{cairoPatternGetRadialCircles} \title{cairoPatternGetRadialCircles} \description{Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.} \usage{cairoPatternGetRadialCircles(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} if \code{pattern} is not a radial gradient pattern.} \item{\verb{x0}}{[numeric] return value for the x coordinate of the center of the first circle, or \code{NULL}} \item{\verb{y0}}{[numeric] return value for the y coordinate of the center of the first circle, or \code{NULL}} \item{\verb{r0}}{[numeric] return value for the radius of the first circle, or \code{NULL}} \item{\verb{x1}}{[numeric] return value for the x coordinate of the center of the second circle, or \code{NULL}} \item{\verb{y1}}{[numeric] return value for the y coordinate of the center of the second circle, or \code{NULL}} \item{\verb{r1}}{[numeric] return value for the radius of the second circle, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplace.Rd0000644000176000001440000000606112362217677014637 0ustar ripleyusers\alias{gFileReplace} \name{gFileReplace} \title{gFileReplace} \description{Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. If the file doesn't exist, it will be created.} \usage{gFileReplace(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{etag}}{an optional entity tag for the current \code{\link{GFile}}, or \verb{NULL} to ignore.} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This will try to replace the file in the safest way possible so that any errors during the writing will not affect an already existing copy of the file. For instance, for local files it may write to a temporary file and then atomically rename over the destination when the stream is closed. By default files created are generally readable by everyone, but if you pass \verb{G_FILE_CREATE_PRIVATE} in \code{flags} the file will be made readable only to the current user, to the level that is supported on the target filesystem. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If you pass in a non-\verb{NULL} \code{etag} value, then this value is compared to the current entity tag of the file, and if they differ an G_IO_ERROR_WRONG_ETAG error is returned. This generally means that the file has been changed since you last read it. You can get the new etag from \code{\link{gFileOutputStreamGetEtag}} after you've finished writing and closed the \code{\link{GFileOutputStream}}. When you load a new file you can use \code{\link{gFileInputStreamQueryInfo}} to get the etag of the file. If \code{make.backup} is \code{TRUE}, this function will attempt to make a backup of the current file before overwriting it. If this fails a G_IO_ERROR_CANT_CREATE_BACKUP error will be returned. If you want to replace anyway, try again with \code{make.backup} set to \code{FALSE}. If the file is a directory the G_IO_ERROR_IS_DIRECTORY error will be returned, and if the file is some other form of non-regular file then a G_IO_ERROR_NOT_REGULAR_FILE error will be returned. Some file systems don't allow all file names, and may return an G_IO_ERROR_INVALID_FILENAME error, and if the name is to long G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a \code{\link{GFileOutputStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportNew.Rd0000644000176000001440000000073412362217677015315 0ustar ripleyusers\alias{gtkViewportNew} \name{gtkViewportNew} \title{gtkViewportNew} \description{Creates a new \code{\link{GtkViewport}} with the given adjustments.} \usage{gtkViewportNew(hadjustment = NULL, vadjustment = NULL, show = TRUE)} \arguments{ \item{\verb{hadjustment}}{horizontal adjustment.} \item{\verb{vadjustment}}{vertical adjustment.} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkViewport}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetIndent.Rd0000644000176000001440000000132712362217677016435 0ustar ripleyusers\alias{pangoLayoutSetIndent} \name{pangoLayoutSetIndent} \title{pangoLayoutSetIndent} \description{Sets the width in Pango units to indent each paragraph. A negative value of \code{indent} will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of \code{indent}.} \usage{pangoLayoutSetIndent(object, indent)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}.} \item{\verb{indent}}{[integer] the amount by which to indent.} } \details{The indent setting is ignored if layout alignment is set to \code{PANGO_ALIGN_CENTER}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetPreviewWidget.Rd0000644000176000001440000000075512362217677020377 0ustar ripleyusers\alias{gtkFileChooserGetPreviewWidget} \name{gtkFileChooserGetPreviewWidget} \title{gtkFileChooserGetPreviewWidget} \description{Gets the current preview widget; see \code{\link{gtkFileChooserSetPreviewWidget}}.} \usage{gtkFileChooserGetPreviewWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] the current preview widget, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkAddressGetHostname.Rd0000644000176000001440000000074412362217677017564 0ustar ripleyusers\alias{gNetworkAddressGetHostname} \name{gNetworkAddressGetHostname} \title{gNetworkAddressGetHostname} \description{Gets \code{addr}'s hostname. This might be either UTF-8 or ASCII-encoded, depending on what \code{addr} was created with.} \usage{gNetworkAddressGetHostname(object)} \arguments{\item{\verb{object}}{a \code{\link{GNetworkAddress}}}} \details{Since 2.22} \value{[character] \code{addr}'s hostname} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarGetEllipsize.Rd0000644000176000001440000000075512362217677017601 0ustar ripleyusers\alias{gtkProgressBarGetEllipsize} \name{gtkProgressBarGetEllipsize} \title{gtkProgressBarGetEllipsize} \description{Returns the ellipsizing position of the progressbar. See \code{\link{gtkProgressBarSetEllipsize}}.} \usage{gtkProgressBarGetEllipsize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \details{Since 2.6} \value{[\code{\link{PangoEllipsizeMode}}] \code{\link{PangoEllipsizeMode}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetRowDescription.Rd0000644000176000001440000000122012362217677017404 0ustar ripleyusers\alias{atkTableSetRowDescription} \name{atkTableSetRowDescription} \title{atkTableSetRowDescription} \description{Sets the description text for the specified \code{row} of \code{table}.} \usage{atkTableSetRowDescription(object, row, description)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{description}}{[character] a \verb{character} representing the description text to set for the specified \code{row} of \code{table}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPaperSize.Rd0000644000176000001440000000101112362217677020125 0ustar ripleyusers\alias{gtkPrintSettingsSetPaperSize} \name{gtkPrintSettingsSetPaperSize} \title{gtkPrintSettingsSetPaperSize} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PAPER_FORMAT}, \code{GTK_PRINT_SETTINGS_PAPER_WIDTH} and \code{GTK_PRINT_SETTINGS_PAPER_HEIGHT}.} \usage{gtkPrintSettingsSetPaperSize(object, paper.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{paper.size}}{a paper size} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetWindowType.Rd0000644000176000001440000000112012362217677017263 0ustar ripleyusers\alias{gtkTextViewGetWindowType} \name{gtkTextViewGetWindowType} \title{gtkTextViewGetWindowType} \description{Usually used to find out which window an event corresponds to. If you connect to an event signal on \code{text.view}, this function should be called on \code{event->window} to see which window it was.} \usage{gtkTextViewGetWindowType(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{window}}{a window type} } \value{[\code{\link{GtkTextWindowType}}] the window type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemGetAlwaysShowImage.Rd0000644000176000001440000000104212362217677021130 0ustar ripleyusers\alias{gtkImageMenuItemGetAlwaysShowImage} \name{gtkImageMenuItemGetAlwaysShowImage} \title{gtkImageMenuItemGetAlwaysShowImage} \description{Returns whether the menu item will ignore the \verb{"gtk-menu-images"} setting and always show the image, if available.} \usage{gtkImageMenuItemGetAlwaysShowImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImageMenuItem}}}} \details{Since 2.16} \value{[logical] \code{TRUE} if the menu item will always show the image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetFunctions.Rd0000644000176000001440000000172112362217677016615 0ustar ripleyusers\alias{gdkWindowSetFunctions} \name{gdkWindowSetFunctions} \title{gdkWindowSetFunctions} \description{Sets hints about the window management functions to make available via buttons on the window frame.} \usage{gdkWindowSetFunctions(object, functions)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{functions}}{bitmask of operations to allow on \code{window}} } \details{On the X backend, this function sets the traditional Motif window manager hint for this purpose. However, few window managers do anything reliable or interesting with this hint. Many ignore it entirely. The \code{functions} argument is the logical OR of values from the \code{\link{GdkWMFunction}} enumeration. If the bitmask includes \verb{GDK_FUNC_ALL}, then the other bits indicate which functions to disable; if it doesn't include \verb{GDK_FUNC_ALL}, it indicates which functions to enable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetFocusChain.Rd0000644000176000001440000000210512362217677017343 0ustar ripleyusers\alias{gtkContainerGetFocusChain} \name{gtkContainerGetFocusChain} \title{gtkContainerGetFocusChain} \description{Retrieves the focus chain of the container, if one has been set explicitly. If no focus chain has been explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores \code{NULL} in \code{focusable.widgets} and returns \code{FALSE}.} \usage{gtkContainerGetFocusChain(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the focus chain of the container has been set explicitly.} \item{\verb{focusable.widgets}}{location to store the focus chain of the container, or \code{NULL}. You should free this list using \code{gListFree()} when you are done with it, however no additional reference count is added to the individual widgets in the focus chain. \emph{[ \acronym{element-type} GtkWidget][ \acronym{out} ][ \acronym{transfer container} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconTooltipMarkup.Rd0000644000176000001440000000100512362217677020121 0ustar ripleyusers\alias{gtkEntryGetIconTooltipMarkup} \name{gtkEntryGetIconTooltipMarkup} \title{gtkEntryGetIconTooltipMarkup} \description{Gets the contents of the tooltip on the icon at the specified position in \code{entry}.} \usage{gtkEntryGetIconTooltipMarkup(object, icon.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{the icon position} } \details{Since 2.16} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRemoveRedirection.Rd0000644000176000001440000000061612362217677017620 0ustar ripleyusers\alias{gdkWindowRemoveRedirection} \name{gdkWindowRemoveRedirection} \title{gdkWindowRemoveRedirection} \description{Removes any active redirection started by \code{\link{gdkWindowRedirectToDrawable}}.} \usage{gdkWindowRemoveRedirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarGetPulseStep.Rd0000644000176000001440000000064112362217677017557 0ustar ripleyusers\alias{gtkProgressBarGetPulseStep} \name{gtkProgressBarGetPulseStep} \title{gtkProgressBarGetPulseStep} \description{Retrieves the pulse step set with \code{\link{gtkProgressBarSetPulseStep}}} \usage{gtkProgressBarGetPulseStep(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \value{[numeric] a fraction from 0.0 to 1.0} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetEntriesForKeyval.Rd0000644000176000001440000000245512362217677020051 0ustar ripleyusers\alias{gdkKeymapGetEntriesForKeyval} \name{gdkKeymapGetEntriesForKeyval} \title{gdkKeymapGetEntriesForKeyval} \description{Obtains a list of keycode/group/level combinations that will generate \code{keyval}. Groups and levels are two kinds of keyboard mode; in general, the level determines whether the top or bottom symbol on a key is used, and the group determines whether the left or right symbol is used. On US keyboards, the shift key changes the keyboard level, and there are no groups. A group switch key might convert a keyboard between Hebrew to English modes, for example. \code{\link{GdkEventKey}} contains a \code{group} field that indicates the active keyboard group. The level is computed from the modifier mask.} \usage{gdkKeymapGetEntriesForKeyval(object, keyval)} \arguments{ \item{\verb{object}}{a \code{\link{GdkKeymap}}, or \code{NULL} to use the default keymap} \item{\verb{keyval}}{a keyval, such as \code{GDK_a}, \code{GDK_Up}, \code{GDK_Return}, etc.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if keys were found and returned} \item{\verb{keys}}{return location for a list of \code{\link{GdkKeymapKey}}} \item{\verb{n.keys}}{return location for number of elements in returned list} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceNew.Rd0000644000176000001440000000345412362217677015551 0ustar ripleyusers\alias{gtkIconSourceNew} \name{gtkIconSourceNew} \title{gtkIconSourceNew} \description{Creates a new \code{\link{GtkIconSource}}. A \code{\link{GtkIconSource}} contains a \code{\link{GdkPixbuf}} (or image filename) that serves as the base image for one or more of the icons in a \code{\link{GtkIconSet}}, along with a specification for which icons in the icon set will be based on that pixbuf or image file. An icon set contains a set of icons that represent "the same" logical concept in different states, different global text directions, and different sizes.} \usage{gtkIconSourceNew()} \details{So for example a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon. \code{\link{GtkIconSet}} contains a list of \code{\link{GtkIconSource}} from which it can derive specific icon variants in the set. In the simplest case, \code{\link{GtkIconSet}} contains one source pixbuf from which it derives all variants. The convenience function \code{\link{gtkIconSetNewFromPixbuf}} handles this case; if you only have one source pixbuf, just use that function. If you want to use a different base pixbuf for different icon variants, you create multiple icon sources, mark which variants they'll be used to create, and add them to the icon set with \code{\link{gtkIconSetAddSource}}. By default, the icon source has all parameters wildcarded. That is, the icon source will be used as the base icon for any desired text direction, widget state, or icon size.} \value{[\code{\link{GtkIconSource}}] a new \code{\link{GtkIconSource}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetFocusChild.Rd0000644000176000001440000000130212362217677017356 0ustar ripleyusers\alias{gtkContainerSetFocusChild} \name{gtkContainerSetFocusChild} \title{gtkContainerSetFocusChild} \description{Sets, or unsets if \code{child} is \code{NULL}, the focused child of \code{container}.} \usage{gtkContainerSetFocusChild(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{This function emits the GtkContainer::set_focus_child signal of \code{container}. Implementations of \code{\link{GtkContainer}} can override the default behaviour by overriding the class closure of this signal.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceCopyPage.Rd0000644000176000001440000000126712362217677016356 0ustar ripleyusers\alias{cairoSurfaceCopyPage} \name{cairoSurfaceCopyPage} \title{cairoSurfaceCopyPage} \description{Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. Use \code{\link{cairoSurfaceShowPage}} if you want to get an empty page after the emission.} \usage{cairoSurfaceCopyPage(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{There is a convenience function for this that takes a \code{\link{Cairo}}, namely \code{\link{cairoCopyPage}}. Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontStatus.Rd0000644000176000001440000000100112362217677016546 0ustar ripleyusers\alias{cairoScaledFontStatus} \name{cairoScaledFontStatus} \title{cairoScaledFontStatus} \description{Checks whether an error has previously occurred for this scaled_font.} \usage{cairoScaledFontStatus(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or another error such as \code{CAIRO_STATUS_NO_MEMORY}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupTranslateString.Rd0000644000176000001440000000102612362217677020316 0ustar ripleyusers\alias{gtkActionGroupTranslateString} \name{gtkActionGroupTranslateString} \title{gtkActionGroupTranslateString} \description{Translates a string using the specified \code{translateFunc()}. This is mainly intended for language bindings.} \usage{gtkActionGroupTranslateString(object, string)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActionGroup}}} \item{\verb{string}}{a string} } \details{Since 2.6} \value{[character] the translation of \code{string}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemSelect.Rd0000644000176000001440000000043412362217677015057 0ustar ripleyusers\alias{gtkItemSelect} \name{gtkItemSelect} \title{gtkItemSelect} \description{Emits the "select" signal on the given item.} \usage{gtkItemSelect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetOrientation.Rd0000644000176000001440000000077312362217677017442 0ustar ripleyusers\alias{gtkIconViewSetOrientation} \name{gtkIconViewSetOrientation} \title{gtkIconViewSetOrientation} \description{Sets the ::orientation property which determines whether the labels are drawn beside the icons instead of below.} \usage{gtkIconViewSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{orientation}}{the relative position of texts and icons} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetItemPosition.Rd0000644000176000001440000000123512362217677020612 0ustar ripleyusers\alias{gtkToolItemGroupSetItemPosition} \name{gtkToolItemGroupSetItemPosition} \title{gtkToolItemGroupSetItemPosition} \description{Sets the position of \code{item} in the list of children of \code{group}.} \usage{gtkToolItemGroupSetItemPosition(object, item, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{item}}{the \code{\link{GtkToolItem}} to move to a new position, should be a child of \code{group}.} \item{\verb{position}}{the new position of \code{item} in \code{group}, starting with 0. The position -1 means end of list.} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetActivityMode.Rd0000644000176000001440000000131612362217677017623 0ustar ripleyusers\alias{gtkProgressSetActivityMode} \name{gtkProgressSetActivityMode} \title{gtkProgressSetActivityMode} \description{ A \code{\link{GtkProgress}} can be in one of two different modes: percentage mode (the default) and activity mode. In activity mode, the progress is simply indicated as activity rather than as a percentage complete. \strong{WARNING: \code{gtk_progress_set_activity_mode} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetActivityMode(object, activity.mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{activity.mode}}{a boolean, \code{TRUE} for activity mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsParseName.Rd0000644000176000001440000000107112362217677015012 0ustar ripleyusers\alias{gVfsParseName} \name{gVfsParseName} \title{gVfsParseName} \description{This operation never fails, but the returned object might not support any I/O operations if the \code{parse.name} cannot be parsed by the \code{\link{GVfs}} module.} \usage{gVfsParseName(object, parse.name)} \arguments{ \item{\verb{object}}{a \code{\link{GVfs}}.} \item{\verb{parse.name}}{a string to be parsed by the VFS module.} } \value{[\code{\link{GFile}}] a \code{\link{GFile}} for the given \code{parse.name}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSelectedForeach.Rd0000644000176000001440000000107712362217677017511 0ustar ripleyusers\alias{gtkIconViewSelectedForeach} \name{gtkIconViewSelectedForeach} \title{gtkIconViewSelectedForeach} \description{Calls a function for each selected icon. Note that the model or selection cannot be modified from within this function.} \usage{gtkIconViewSelectedForeach(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{func}}{The funcion to call for each selected icon.} \item{\verb{data}}{User data to pass to the function.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFamilyListFaces.Rd0000644000176000001440000000151512362217677017207 0ustar ripleyusers\alias{pangoFontFamilyListFaces} \name{pangoFontFamilyListFaces} \title{pangoFontFamilyListFaces} \description{Lists the different font faces that make up \code{family}. The faces in a family share a common design, but differ in slant, weight, width and other aspects.} \usage{pangoFontFamilyListFaces(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFamily}}] a \code{\link{PangoFontFamily}}}} \value{ A list containing the following elements: \item{\verb{faces}}{[\code{\link{PangoFontFace}}] location to store a list of pointers to \code{\link{PangoFontFace}} objects, or \code{NULL}. This list should be freed with \code{gFree()} when it is no longer needed.} \item{\verb{n.faces}}{[integer] location to store number of elements in \code{faces}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreSetColumnTypes.Rd0000644000176000001440000000127212362217677017631 0ustar ripleyusers\alias{gtkListStoreSetColumnTypes} \name{gtkListStoreSetColumnTypes} \title{gtkListStoreSetColumnTypes} \description{This function is meant primarily for \verb{GObjects} that inherit from \code{\link{GtkListStore}}, and should only be used when constructing a new \code{\link{GtkListStore}}. It will not function after a row has been added, or a method on the \code{\link{GtkTreeModel}} interface is called.} \usage{gtkListStoreSetColumnTypes(object, types)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{types}}{An list length n of \verb{GTypes}. \emph{[ \acronym{array} length=n_columns]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMainIteration.Rd0000644000176000001440000000106612362217677015566 0ustar ripleyusers\alias{gtkMainIteration} \name{gtkMainIteration} \title{gtkMainIteration} \description{Runs a single iteration of the mainloop. If no events are waiting to be processed GTK+ will block until the next event is noticed. If you don't want to block look at \code{\link{gtkMainIterationDo}} or check if any events are pending with \code{\link{gtkEventsPending}} first.} \usage{gtkMainIteration()} \value{[logical] \code{TRUE} if \code{\link{gtkMainQuit}} has been called for the innermost mainloop.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetModified.Rd0000644000176000001440000000106512362217677017201 0ustar ripleyusers\alias{gtkTextBufferGetModified} \name{gtkTextBufferGetModified} \title{gtkTextBufferGetModified} \description{Indicates whether the buffer has been modified since the last call to \code{\link{gtkTextBufferSetModified}} set the modification flag to \code{FALSE}. Used for example to enable a "save" function in a text editor.} \usage{gtkTextBufferGetModified(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{[logical] \code{TRUE} if the buffer has been modified} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetCharacterExtents.Rd0000644000176000001440000000200212362217677017560 0ustar ripleyusers\alias{atkTextGetCharacterExtents} \name{atkTextGetCharacterExtents} \title{atkTextGetCharacterExtents} \description{Get the bounding box containing the glyph representing the character at a particular text offset.} \usage{atkTextGetCharacterExtents(object, offset, coords)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] The offset of the text character for which bounding information is required.} \item{\verb{coords}}{[\code{\link{AtkCoordType}}] specify whether coordinates are relative to the screen or widget window } } \value{ A list containing the following elements: \item{\verb{x}}{[integer] Pointer for the x cordinate of the bounding box} \item{\verb{y}}{[integer] Pointer for the y cordinate of the bounding box} \item{\verb{width}}{[integer] Pointer for the width of the bounding box} \item{\verb{height}}{[integer] Pointer for the height of the bounding box} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetVisibleLineIndex.Rd0000644000176000001440000000100412362217677020355 0ustar ripleyusers\alias{gtkTextIterSetVisibleLineIndex} \name{gtkTextIterSetVisibleLineIndex} \title{gtkTextIterSetVisibleLineIndex} \description{Like \code{\link{gtkTextIterSetLineIndex}}, but the index is in visible bytes, i.e. text with a tag making it invisible is not counted in the index.} \usage{gtkTextIterSetVisibleLineIndex(object, byte.on.line)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{byte.on.line}}{a byte index} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPixmap.Rd0000644000176000001440000000365612362217677014230 0ustar ripleyusers\alias{GtkPixmap} \alias{gtkPixmap} \name{GtkPixmap} \title{GtkPixmap} \description{A widget displaying a graphical image or icon} \section{Methods and Functions}{ \code{\link{gtkPixmapNew}(pixmap, mask = NULL, show = TRUE)}\cr \code{\link{gtkPixmapSet}(object, val, mask = NULL)}\cr \code{\link{gtkPixmapGet}(object)}\cr \code{\link{gtkPixmapSetBuildInsensitive}(object, build)}\cr \code{gtkPixmap(pixmap, mask = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkPixmap}} \section{Interfaces}{GtkPixmap implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkPixmap}} widget displays a graphical image or icon. The icon is typically created using \code{\link{gdkPixmapColormapCreateFromXpm}} or \code{\link{gdkPixmapColormapCreateFromXpmD}}. The pixels in a \code{\link{GtkPixmap}} cannot be manipulated by the application after creation, since under the X Window system the pixel data is stored on the X server and so is not available to the client application. If you want to create graphical images which can be manipulated by the application, look at \code{\link{GtkImage}} and \verb{GdkRGB}. GtkPixmap has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use \code{\link{GtkImage}} instead.} \section{Structures}{\describe{\item{\verb{GtkPixmap}}{ \strong{WARNING: \code{GtkPixmap} is deprecated and should not be used in newly-written code.} The \code{\link{GtkPixmap}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkPixmap} is the equivalent of \code{\link{gtkPixmapNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkPixmap.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetActionWidget.Rd0000644000176000001440000000114512362217677017543 0ustar ripleyusers\alias{gtkNotebookGetActionWidget} \name{gtkNotebookGetActionWidget} \title{gtkNotebookGetActionWidget} \description{Gets one of the action widgets. See \code{\link{gtkNotebookSetActionWidget}}.} \usage{gtkNotebookGetActionWidget(object, pack.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{pack.type}}{pack type of the action widget to receive} } \details{Since 2.20} \value{[\code{\link{GtkWidget}}] The action widget with the given \code{pack.type} or \code{NULL} when this action widget has not been set} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetTabs.Rd0000644000176000001440000000075512362217677016060 0ustar ripleyusers\alias{gtkTextViewGetTabs} \name{gtkTextViewGetTabs} \title{gtkTextViewGetTabs} \description{Gets the default tabs for \code{text.view}. Tags in the buffer may override the defaults. The returned list will be \code{NULL} if "standard" (8-space) tabs are used.} \usage{gtkTextViewGetTabs(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[\code{\link{PangoTabArray}}] copy of default tab list,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarNew.Rd0000644000176000001440000000041512362217677015074 0ustar ripleyusers\alias{gtkToolbarNew} \name{gtkToolbarNew} \title{gtkToolbarNew} \description{Creates a new toolbar.} \usage{gtkToolbarNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the newly-created toolbar.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPrinter.Rd0000644000176000001440000000066512362217677017650 0ustar ripleyusers\alias{gtkPrintSettingsGetPrinter} \name{gtkPrintSettingsGetPrinter} \title{gtkPrintSettingsGetPrinter} \description{Convenience function to obtain the value of \code{GTK_PRINT_SETTINGS_PRINTER}.} \usage{gtkPrintSettingsGetPrinter(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[character] the printer name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSelectAll.Rd0000644000176000001440000000063412362217677017357 0ustar ripleyusers\alias{gtkRecentChooserSelectAll} \name{gtkRecentChooserSelectAll} \title{gtkRecentChooserSelectAll} \description{Selects all the items inside \code{chooser}, if the \code{chooser} supports multiple selection.} \usage{gtkRecentChooserSelectAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gLoadableIconLoadFinish.Rd0000644000176000001440000000154212362217677016740 0ustar ripleyusers\alias{gLoadableIconLoadFinish} \name{gLoadableIconLoadFinish} \title{gLoadableIconLoadFinish} \description{Finishes an asynchronous icon load started in \code{\link{gLoadableIconLoadAsync}}.} \usage{gLoadableIconLoadFinish(object, res, type, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GLoadableIcon}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{\verb{type}}{a location to store the type of the loaded icon, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GInputStream}}] a \code{\link{GInputStream}} to read the icon from.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSavev.Rd0000644000176000001440000000211112362217677015235 0ustar ripleyusers\alias{gdkPixbufSavev} \name{gdkPixbufSavev} \title{gdkPixbufSavev} \description{Saves pixbuf to a file in \code{type}, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If \code{error} is set, \code{FALSE} will be returned. See \code{\link{gdkPixbufSave}} for more details.} \usage{gdkPixbufSavev(object, filename, type, option.keys, option.values, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{filename}}{name of file to save.} \item{\verb{type}}{name of file format.} \item{\verb{option.keys}}{name of options to set, \code{NULL}-terminated. \emph{[ \acronym{array} zero-terminated=1]}} \item{\verb{option.values}}{values for named options. \emph{[ \acronym{array} zero-terminated=1]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameGetLabelAlign.Rd0000644000176000001440000000122212362217677016422 0ustar ripleyusers\alias{gtkFrameGetLabelAlign} \name{gtkFrameGetLabelAlign} \title{gtkFrameGetLabelAlign} \description{Retrieves the X and Y alignment of the frame's label. See \code{\link{gtkFrameSetLabelAlign}}.} \usage{gtkFrameGetLabelAlign(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFrame}}}} \value{ A list containing the following elements: \item{\verb{xalign}}{location to store X alignment of frame's label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{yalign}}{location to store X alignment of frame's label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceCreate.Rd0000644000176000001440000000137412362217677017005 0ustar ripleyusers\alias{cairoUserFontFaceCreate} \name{cairoUserFontFaceCreate} \title{cairoUserFontFaceCreate} \description{Creates a new user font-face.} \usage{cairoUserFontFaceCreate()} \details{Use the setter functions to associate callbacks with the returned user font. The only mandatory callback is render_glyph. After the font-face is created, the user can attach arbitrary data (the actual font data) to it using \code{\link{cairoFontFaceSetUserData}} and access it from the user-font callbacks by using \code{\link{cairoScaledFontGetFontFace}} followed by \code{\link{cairoFontFaceGetUserData}}. Since 1.8} \value{[\code{\link{CairoFontFace}}] a newly created \code{\link{CairoFontFace}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOModuleNew.Rd0000644000176000001440000000067612362217677014621 0ustar ripleyusers\alias{gIOModuleNew} \name{gIOModuleNew} \title{gIOModuleNew} \description{Creates a new GIOModule that will load the specific shared library when in use.} \usage{gIOModuleNew(filename)} \arguments{\item{\verb{filename}}{filename of the shared library module.}} \value{[\code{\link{GIOModule}}] a \code{\link{GIOModule}} from given \code{filename}, or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVSeparator.Rd0000644000176000001440000000233012362217677015044 0ustar ripleyusers\alias{GtkVSeparator} \alias{gtkVSeparator} \name{GtkVSeparator} \title{GtkVSeparator} \description{A vertical separator} \section{Methods and Functions}{ \code{\link{gtkVSeparatorNew}(show = TRUE)}\cr \code{gtkVSeparator(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkSeparator +----GtkVSeparator}} \section{Interfaces}{GtkVSeparator implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkVSeparator}} widget is a vertical separator, used to group the widgets within a window. It displays a vertical line with a shadow to make it appear sunken into the interface.} \section{Structures}{\describe{\item{\verb{GtkVSeparator}}{ The \code{\link{GtkVSeparator}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkVSeparator} is the equivalent of \code{\link{gtkVSeparatorNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVSeparator.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetState.Rd0000644000176000001440000000063611766145227015247 0ustar ripleyusers\alias{gtkWidgetSavedState} \alias{gtkWidgetState} \name{gtkWidgetState} \title{gtkWidgetState} \description{Get the states of a widget.} \usage{ gtkWidgetState(wid) gtkWidgetSavedState(wid) } \arguments{ \item{wid}{The widget to query for its (saved) state.} } \value{ A state (\code{\link{GtkStateType}}) of the widget, either saved or current. } \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gtkIconViewSetItemPadding.Rd0000644000176000001440000000073612362217677017333 0ustar ripleyusers\alias{gtkIconViewSetItemPadding} \name{gtkIconViewSetItemPadding} \title{gtkIconViewSetItemPadding} \description{Sets the \verb{"item-padding"} property which specifies the padding around each of the icon view's items.} \usage{gtkIconViewSetItemPadding(object, item.padding)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{item.padding}}{the item padding} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetIcon.Rd0000644000176000001440000000050312362217677015032 0ustar ripleyusers\alias{gMountGetIcon} \name{gMountGetIcon} \title{gMountGetIcon} \description{Gets the icon for \code{mount}.} \usage{gMountGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[\code{\link{GIcon}}] a \code{\link{GIcon}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapSetResolution.Rd0000644000176000001440000000140112362217677020415 0ustar ripleyusers\alias{pangoCairoFontMapSetResolution} \name{pangoCairoFontMapSetResolution} \title{pangoCairoFontMapSetResolution} \description{Sets the resolution for the fontmap. This is a scale factor between points specified in a \code{\link{PangoFontDescription}} and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).} \usage{pangoCairoFontMapSetResolution(object, dpi)} \arguments{ \item{\verb{object}}{[\code{\link{PangoCairoFontMap}}] a \code{\link{PangoCairoFontMap}}} \item{\verb{dpi}}{[numeric] the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayNew.Rd0000644000176000001440000000126412362217677015521 0ustar ripleyusers\alias{pangoTabArrayNew} \name{pangoTabArrayNew} \title{pangoTabArrayNew} \description{Creates a list of \code{initial.size} tab stops. Tab stops are specified in pixel units if \code{positions.in.pixels} is \code{TRUE}, otherwise in Pango units. All stops are initially at position 0.} \usage{pangoTabArrayNew(initial.size, positions.in.pixels)} \arguments{ \item{\verb{initial.size}}{[integer] Initial number of tab stops to allocate, can be 0} \item{\verb{positions.in.pixels}}{[logical] whether positions are in pixel units} } \value{[\code{\link{PangoTabArray}}] the newly allocated \code{\link{PangoTabArray}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetName.Rd0000644000176000001440000000126112362217677016467 0ustar ripleyusers\alias{gtkAboutDialogSetName} \name{gtkAboutDialogSetName} \title{gtkAboutDialogSetName} \description{ Sets the name to display in the about dialog. If this is not set, it defaults to \code{gGetApplicationName()}. \strong{WARNING: \code{gtk_about_dialog_set_name} has been deprecated since version 2.12 and should not be used in newly-written code. Use \code{\link{gtkAboutDialogSetProgramName}} instead.} } \usage{gtkAboutDialogSetName(object, name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{name}}{the program name. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserListFilters.Rd0000644000176000001440000000113712362217677017411 0ustar ripleyusers\alias{gtkFileChooserListFilters} \name{gtkFileChooserListFilters} \title{gtkFileChooserListFilters} \description{Lists the current set of user-selectable filters; see \code{\link{gtkFileChooserAddFilter}}, \code{\link{gtkFileChooserRemoveFilter}}.} \usage{gtkFileChooserListFilters(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[list] a \verb{list} containing the current set of user selectable filters. \emph{[ \acronym{element-type} utf8][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferEndUserAction.Rd0000644000176000001440000000063612362217677017527 0ustar ripleyusers\alias{gtkTextBufferEndUserAction} \name{gtkTextBufferEndUserAction} \title{gtkTextBufferEndUserAction} \description{Should be paired with a call to \code{\link{gtkTextBufferBeginUserAction}}. See that function for a full explanation.} \usage{gtkTextBufferEndUserAction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetProxyMenuItem.Rd0000644000176000001440000000174212362217677017726 0ustar ripleyusers\alias{gtkToolItemGetProxyMenuItem} \name{gtkToolItemGetProxyMenuItem} \title{gtkToolItemGetProxyMenuItem} \description{If \code{menu.item.id} matches the string passed to \code{\link{gtkToolItemSetProxyMenuItem}} return the corresponding \code{\link{GtkMenuItem}}.} \usage{gtkToolItemGetProxyMenuItem(object, menu.item.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{menu.item.id}}{a string used to identify the menu item} } \details{Custom subclasses of \code{\link{GtkToolItem}} should use this function to update their menu item when the \code{\link{GtkToolItem}} changes. That the \code{menu.item.id}s must match ensures that a \code{\link{GtkToolItem}} will not inadvertently change a menu item that they did not create. Since 2.4} \value{[\code{\link{GtkWidget}}] The \code{\link{GtkMenuItem}} passed to \code{\link{gtkToolItemSetProxyMenuItem}}, if the \code{menu.item.id}s match.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetShowHidden.Rd0000644000176000001440000000076212362217677017660 0ustar ripleyusers\alias{gtkFileChooserSetShowHidden} \name{gtkFileChooserSetShowHidden} \title{gtkFileChooserSetShowHidden} \description{Sets whether hidden files and folders are displayed in the file selector.} \usage{gtkFileChooserSetShowHidden(object, show.hidden)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{show.hidden}}{\code{TRUE} if hidden files and folders should be displayed.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleGetActivatable.Rd0000644000176000001440000000102512362217677021326 0ustar ripleyusers\alias{gtkCellRendererToggleGetActivatable} \name{gtkCellRendererToggleGetActivatable} \title{gtkCellRendererToggleGetActivatable} \description{Returns whether the cell renderer is activatable. See \code{\link{gtkCellRendererToggleSetActivatable}}.} \usage{gtkCellRendererToggleGetActivatable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the cell renderer is activatable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountCanUnmount.Rd0000644000176000001440000000054512362217677015577 0ustar ripleyusers\alias{gMountCanUnmount} \name{gMountCanUnmount} \title{gMountCanUnmount} \description{Checks if \code{mount} can be mounted.} \usage{gMountCanUnmount(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[logical] \code{TRUE} if the \code{mount} can be unmounted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNew.Rd0000644000176000001440000000077612362217677015736 0ustar ripleyusers\alias{gtkRadioButtonNew} \name{gtkRadioButtonNew} \title{gtkRadioButtonNew} \description{Creates a new \code{\link{GtkRadioButton}}. To be of any practical value, a widget should then be packed into the radio button.} \usage{gtkRadioButtonNew(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{an existing radio button group, or \code{NULL} if you are creating a new group.}} \value{[\code{\link{GtkWidget}}] a new radio button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetSortColumn.Rd0000644000176000001440000000110412362217677016534 0ustar ripleyusers\alias{gtkCListSetSortColumn} \name{gtkCListSetSortColumn} \title{gtkCListSetSortColumn} \description{ Sets the sort column of the clist. The sort column is used by the default compare function to determine which column to sort by. \strong{WARNING: \code{gtk_clist_set_sort_column} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetSortColumn(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to sort by} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNewFromStock.Rd0000644000176000001440000000115612362217677017421 0ustar ripleyusers\alias{gtkStatusIconNewFromStock} \name{gtkStatusIconNewFromStock} \title{gtkStatusIconNewFromStock} \description{Creates a status icon displaying a stock icon. Sample stock icon names are \verb{GTK_STOCK_OPEN}, \verb{GTK_STOCK_QUIT}. You can register your own stock icon names, see \code{\link{gtkIconFactoryAddDefault}} and \code{\link{gtkIconFactoryAdd}}.} \usage{gtkStatusIconNewFromStock(stock.id)} \arguments{\item{\verb{stock.id}}{a stock icon id}} \details{Since 2.10} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeEject.Rd0000644000176000001440000000176612362217677014715 0ustar ripleyusers\alias{gVolumeEject} \name{gVolumeEject} \title{gVolumeEject} \description{ Ejects a volume. This is an asynchronous operation, and is finished by calling \code{\link{gVolumeEjectFinish}} with the \code{volume} and \code{\link{GAsyncResult}} returned in the \code{callback}. \strong{WARNING: \code{g_volume_eject} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gVolumeEjectWithOperation}} instead.} } \usage{gVolumeEject(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data that gets passed to \code{callback}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutThaw.Rd0000644000176000001440000000062512362217677015124 0ustar ripleyusers\alias{gtkLayoutThaw} \name{gtkLayoutThaw} \title{gtkLayoutThaw} \description{ This is a deprecated function, it doesn't do anything useful. \strong{WARNING: \code{gtk_layout_thaw} is deprecated and should not be used in newly-written code.} } \usage{gtkLayoutThaw(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationGetTarget.Rd0000644000176000001440000000061412362217677016377 0ustar ripleyusers\alias{atkRelationGetTarget} \name{atkRelationGetTarget} \title{atkRelationGetTarget} \description{Gets the target list of \code{relation}} \usage{atkRelationGetTarget(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}}}} \value{[GPtrArray] the target list of \code{relation}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowInputShapeCombineRegion.Rd0000644000176000001440000000233712362217677020716 0ustar ripleyusers\alias{gdkWindowInputShapeCombineRegion} \name{gdkWindowInputShapeCombineRegion} \title{gdkWindowInputShapeCombineRegion} \description{Like \code{\link{gdkWindowShapeCombineRegion}}, but the shape applies only to event handling. Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passed on the window below \code{window}.} \usage{gdkWindowInputShapeCombineRegion(object, shape.region, offset.x, offset.y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{shape.region}}{region of window to be non-transparent} \item{\verb{offset.x}}{X position of \code{shape.region} in \code{window} coordinates} \item{\verb{offset.y}}{Y position of \code{shape.region} in \code{window} coordinates} } \details{An input shape is typically used with RGBA windows. The alpha channel of the window defines which pixels are invisible and allows for nicely antialiased borders, and the input shape controls where the window is "clickable". On the X11 platform, this requires version 1.1 of the shape extension. On the Win32 platform, this functionality is not present and the function does nothing. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeModelSort.Rd0000644000176000001440000001071612362217677015515 0ustar ripleyusers\alias{GtkTreeModelSort} \alias{gtkTreeModelSort} \name{GtkTreeModelSort} \title{GtkTreeModelSort} \description{A GtkTreeModel which makes an underlying tree model sortable} \section{Methods and Functions}{ \code{\link{gtkTreeModelSortNewWithModel}(child.model = NULL)}\cr \code{\link{gtkTreeModelSortGetModel}(object)}\cr \code{\link{gtkTreeModelSortConvertChildPathToPath}(object, child.path)}\cr \code{\link{gtkTreeModelSortConvertChildIterToIter}(object, child.iter)}\cr \code{\link{gtkTreeModelSortConvertPathToChildPath}(object, sorted.path)}\cr \code{\link{gtkTreeModelSortConvertIterToChildIter}(object, sorted.iter)}\cr \code{\link{gtkTreeModelSortResetDefaultSortFunc}(object)}\cr \code{\link{gtkTreeModelSortClearCache}(object)}\cr \code{\link{gtkTreeModelSortIterIsValid}(object, iter)}\cr \code{gtkTreeModelSort(child.model = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkTreeModelSort}} \section{Interfaces}{GtkTreeModelSort implements \code{\link{GtkTreeModel}}, \code{\link{GtkTreeSortable}} and \code{\link{GtkTreeDragSource}}.} \section{Detailed Description}{The \code{\link{GtkTreeModelSort}} is a model which implements the \code{\link{GtkTreeSortable}} interface. It does not hold any data itself, but rather is created with a child model and proxies its data. It has identical column types to this child model, and the changes in the child are propagated. The primary purpose of this model is to provide a way to sort a different model without modifying it. Note that the sort function used by \code{\link{GtkTreeModelSort}} is not guaranteed to be stable. The use of this is best demonstrated through an example. In the following sample code we create two \code{\link{GtkTreeView}} widgets each with a view of the same data. As the model is wrapped here by a \code{\link{GtkTreeModelSort}}, the two \code{\link{GtkTreeView}}s can each sort their view of the data without affecting the other. By contrast, if we simply put the same model in each widget, then sorting the first would sort the second. \emph{Using a \code{GtkTreeModelSort}} \preformatted{ ## Using a GtkTreeModel sort ## get the child model child_model <- get_my_model() ## Create the first tree sort_model1 <- gtkTreeModelSort(child_model) tree_view1 <- gtkTreeView(sort_model1) ## Create the second tree sort_model2 <- gtkTreeModelSort(child_model) tree_view2 <- gtkTreeView(sort_model2) ## Now we can sort the two models independently sort_model1$setSortColumnId(0, "ascending") sort_model2$setSortColumnId(0, "descending") } To demonstrate how to access the underlying child model from the sort model, the next example will be a callback for the \code{\link{GtkTreeSelection}} "changed" signal. In this callback, we get a string from COLUMN_1 of the model. We then modify the string, find the same selected row on the child model, and change the row there. \emph{Accessing the child model of in a selection changed callback} \preformatted{ # Accessing the child model in a selection changed callback selection_changed <- function(selection, data) { # Get the current selected row and the model. selected <- selection$getSelected() if (!selected[[1]]) return() ## Look up the current value on the selected row and get a new value ## to change it to. some_data <- selected$model$get(selected$iter, COLUMN_1) modified_data <- change_the_data(some_data) ## Get an iterator on the child model, instead of the sort model. child_iter <- sort_model$convertIterToChildIter(selected$iter)$iter ## Get the child model and change the value of the row. In this ## example, the child model is a GtkListStore. It could be any other ## type of model, though. child_model <- sort_model$getModel() child_model$set(child_iter, COLUMN_1, modified_data) } }} \section{Structures}{\describe{\item{\verb{GtkTreeModelSort}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkTreeModelSort} is the equivalent of \code{\link{gtkTreeModelSortNewWithModel}}.} \section{Properties}{\describe{\item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write / Construct Only]}{ The model for the TreeModelSort to sort. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeModelSort.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeModel}} \code{\link{GtkListStore}} \code{\link{GtkTreeStore}} \code{\link{GtkTreeSortable}} \code{\link{GtkTreeModelFilter}} } \keyword{internal} RGtk2/man/gtkRecentChooserMenuNew.Rd0000644000176000001440000000161412362217677017064 0ustar ripleyusers\alias{gtkRecentChooserMenuNew} \name{gtkRecentChooserMenuNew} \title{gtkRecentChooserMenuNew} \description{Creates a new \code{\link{GtkRecentChooserMenu}} widget.} \usage{gtkRecentChooserMenuNew()} \details{This kind of widget shows the list of recently used resources as a menu, each item as a menu item. Each item inside the menu might have an icon, representing its MIME type, and a number, for mnemonic access. This widget implements the \code{\link{GtkRecentChooser}} interface. This widget creates its own \code{\link{GtkRecentManager}} object. See the \code{\link{gtkRecentChooserMenuNewForManager}} function to know how to create a \code{\link{GtkRecentChooserMenu}} widget bound to another \code{\link{GtkRecentManager}} object. Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserMenu}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetRowSpacing.Rd0000644000176000001440000000073412362217677017220 0ustar ripleyusers\alias{gtkIconViewSetRowSpacing} \name{gtkIconViewSetRowSpacing} \title{gtkIconViewSetRowSpacing} \description{Sets the ::row-spacing property which specifies the space which is inserted between the rows of the icon view.} \usage{gtkIconViewSetRowSpacing(object, row.spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{row.spacing}}{the row spacing} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferCutClipboard.Rd0000644000176000001440000000105212362217677017370 0ustar ripleyusers\alias{gtkTextBufferCutClipboard} \name{gtkTextBufferCutClipboard} \title{gtkTextBufferCutClipboard} \description{Copies the currently-selected text to a clipboard, then deletes said text if it's editable.} \usage{gtkTextBufferCutClipboard(object, clipboard, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{clipboard}}{the \code{\link{GtkClipboard}} object to cut to} \item{\verb{default.editable}}{default editability of the buffer} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIsWrapped.Rd0000644000176000001440000000126412362217677016436 0ustar ripleyusers\alias{pangoLayoutIsWrapped} \name{pangoLayoutIsWrapped} \title{pangoLayoutIsWrapped} \description{Queries whether the layout had to wrap any paragraphs.} \usage{pangoLayoutIsWrapped(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{This returns \code{TRUE} if a positive width is set on \code{layout}, ellipsization mode of \code{layout} is set to \code{PANGO_ELLIPSIZE_NONE}, and there are paragraphs exceeding the layout width that have to be wrapped. Since 1.16} \value{[logical] \code{TRUE} if any paragraphs had to be wrapped, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientGetFamily.Rd0000644000176000001440000000072712362217677016660 0ustar ripleyusers\alias{gSocketClientGetFamily} \name{gSocketClientGetFamily} \title{gSocketClientGetFamily} \description{Gets the socket family of the socket client.} \usage{gSocketClientGetFamily(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketClient}}.}} \details{See \code{\link{gSocketClientSetFamily}} for details. Since 2.22} \value{[\code{\link{GSocketFamily}}] a \code{\link{GSocketFamily}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetTooltipMarkup.Rd0000644000176000001440000000100012362217677017752 0ustar ripleyusers\alias{gtkToolItemSetTooltipMarkup} \name{gtkToolItemSetTooltipMarkup} \title{gtkToolItemSetTooltipMarkup} \description{Sets the markup text to be displayed as tooltip on the item. See \code{\link{gtkWidgetSetTooltipMarkup}}.} \usage{gtkToolItemSetTooltipMarkup(object, markup)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{markup}}{markup text to be used as tooltip for \code{tool.item}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetPlusButton.Rd0000644000176000001440000000073012362217677017743 0ustar ripleyusers\alias{gtkScaleButtonGetPlusButton} \name{gtkScaleButtonGetPlusButton} \title{gtkScaleButtonGetPlusButton} \description{Retrieves the plus button of the \code{\link{GtkScaleButton}}.} \usage{gtkScaleButtonGetPlusButton(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the plus button of the \code{\link{GtkScaleButton}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetGamma.Rd0000644000176000001440000000141112362217677016055 0ustar ripleyusers\alias{gtkPreviewSetGamma} \name{gtkPreviewSetGamma} \title{gtkPreviewSetGamma} \description{ Set the gamma-correction value for all preview widgets. (This function will eventually be replaced with a function that sets a per-preview-widget gamma value). The resulting intensity is given by: \code{destination_value * pow (source_value/255, 1/gamma)}. The gamma value is applied when the data is set with \code{\link{gtkPreviewDrawRow}} so changing this value will not affect existing data in preview widgets. \strong{WARNING: \code{gtk_preview_set_gamma} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetGamma(gamma)} \arguments{\item{\verb{gamma}}{the new gamma value.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetDpiY.Rd0000644000176000001440000000070312362217677016707 0ustar ripleyusers\alias{gtkPrintContextGetDpiY} \name{gtkPrintContextGetDpiY} \title{gtkPrintContextGetDpiY} \description{Obtains the vertical resolution of the \code{\link{GtkPrintContext}}, in dots per inch.} \usage{gtkPrintContextGetDpiY(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[numeric] the vertical resolution of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetPageTitle.Rd0000644000176000001440000000067212362217677017235 0ustar ripleyusers\alias{gtkAssistantGetPageTitle} \name{gtkAssistantGetPageTitle} \title{gtkAssistantGetPageTitle} \description{Gets the title for \code{page}.} \usage{gtkAssistantGetPageTitle(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} } \details{Since 2.10} \value{[character] the title for \code{page}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawPixbuf.Rd0000644000176000001440000000351312362217677015055 0ustar ripleyusers\alias{gdkDrawPixbuf} \name{gdkDrawPixbuf} \title{gdkDrawPixbuf} \description{Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-\code{NULL} window argument. Otherwise a colormap must be set on them with \code{\link{gdkDrawableSetColormap}}.} \usage{gdkDrawPixbuf(object, gc = NULL, pixbuf, src.x, src.y, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)} \arguments{ \item{\verb{object}}{Destination drawable.} \item{\verb{gc}}{a \code{\link{GdkGC}}, used for clipping, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}} \item{\verb{src.x}}{Source X coordinate within pixbuf.} \item{\verb{src.y}}{Source Y coordinates within pixbuf.} \item{\verb{dest.x}}{Destination X coordinate within drawable.} \item{\verb{dest.y}}{Destination Y coordinate within drawable.} \item{\verb{width}}{Width of region to render, in pixels, or -1 to use pixbuf width.} \item{\verb{height}}{Height of region to render, in pixels, or -1 to use pixbuf height.} \item{\verb{dither}}{Dithering mode for \verb{GdkRGB}.} \item{\verb{x.dither}}{X offset for dither.} \item{\verb{y.dither}}{Y offset for dither.} } \details{On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow. If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImplementorRefAccessible.Rd0000644000176000001440000000120712362217677017720 0ustar ripleyusers\alias{atkImplementorRefAccessible} \name{atkImplementorRefAccessible} \title{atkImplementorRefAccessible} \description{Gets a reference to an object's \code{\link{AtkObject}} implementation, if the object implements \verb{AtkObjectIface}} \usage{atkImplementorRefAccessible(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkImplementor}}] The \code{\link{GObject}} instance which should implement \verb{AtkImplementorIface} if a non-null return value is required.}} \value{[\code{\link{AtkObject}}] a reference to an object's \code{\link{AtkObject}} implementation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowListToplevels.Rd0000644000176000001440000000124612362217677017024 0ustar ripleyusers\alias{gtkWindowListToplevels} \name{gtkWindowListToplevels} \title{gtkWindowListToplevels} \description{Returns a list of all existing toplevel windows. The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you \emph{must} call \code{g_list_foreach (result, (GFunc)g_object_ref, NULL)} first, and then unref all the widgets afterwards.} \usage{gtkWindowListToplevels()} \value{[list] list of toplevel widgets. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkOptionMenu.Rd0000644000176000001440000000610012362217677015052 0ustar ripleyusers\alias{GtkOptionMenu} \alias{gtkOptionMenu} \name{GtkOptionMenu} \title{GtkOptionMenu} \description{A widget used to choose from a list of valid choices} \section{Methods and Functions}{ \code{\link{gtkOptionMenuNew}(show = TRUE)}\cr \code{\link{gtkOptionMenuGetMenu}(object)}\cr \code{\link{gtkOptionMenuSetMenu}(object, menu)}\cr \code{\link{gtkOptionMenuRemoveMenu}(object)}\cr \code{\link{gtkOptionMenuSetHistory}(object, index)}\cr \code{\link{gtkOptionMenuGetHistory}(object)}\cr \code{gtkOptionMenu(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkOptionMenu}} \section{Interfaces}{GtkOptionMenu implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkOptionMenu}} is a widget that allows the user to choose from a list of valid choices. The \code{\link{GtkOptionMenu}} displays the selected choice. When activated the \code{\link{GtkOptionMenu}} displays a popup \code{\link{GtkMenu}} which allows the user to make a new choice. Using a \code{\link{GtkOptionMenu}} is simple; build a \code{\link{GtkMenu}}, by calling \code{\link{gtkMenuNew}}, then appending menu items to it with \code{\link{gtkMenuShellAppend}}. Set that menu on the option menu with \code{\link{gtkOptionMenuSetMenu}}. Set the selected menu item with \code{\link{gtkOptionMenuSetHistory}}; connect to the "changed" signal on the option menu; in the "changed" signal, check the new selected menu item with \code{\link{gtkOptionMenuGetHistory}}. As of GTK+ 2.4, \code{\link{GtkOptionMenu}} has been deprecated in favor of \code{\link{GtkComboBox}}.} \section{Structures}{\describe{\item{\verb{GtkOptionMenu}}{ \strong{WARNING: \code{GtkOptionMenu} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} The \code{\link{GtkOptionMenu}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkOptionMenu} is the equivalent of \code{\link{gtkOptionMenuNew}}.} \section{Signals}{\describe{\item{\code{changed(optionmenu, user.data)}}{ \emph{undocumented } \describe{ \item{\code{optionmenu}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{menu} [\code{\link{GtkMenu}} : * : Read / Write]}{ The menu of options. }}} \section{Style Properties}{\describe{ \item{\verb{indicator-size} [\code{\link{GtkRequisition}} : * : Read]}{ Size of dropdown indicator. } \item{\verb{indicator-spacing} [\code{\link{GtkBorder}} : * : Read]}{ Spacing around indicator. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkOptionMenu.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportGetVadjustment.Rd0000644000176000001440000000064612362217677017532 0ustar ripleyusers\alias{gtkViewportGetVadjustment} \name{gtkViewportGetVadjustment} \title{gtkViewportGetVadjustment} \description{Returns the vertical adjustment of the viewport.} \usage{gtkViewportGetVadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkViewport}}.}} \value{[\code{\link{GtkAdjustment}}] the vertical adjustment of \code{viewport}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerClassFindChildProperty.Rd0000644000176000001440000000122312362217677021240 0ustar ripleyusers\alias{gtkContainerClassFindChildProperty} \name{gtkContainerClassFindChildProperty} \title{gtkContainerClassFindChildProperty} \description{Finds a child property of a container class by name.} \usage{gtkContainerClassFindChildProperty(cclass, property.name)} \arguments{ \item{\verb{cclass}}{a \code{\link{GtkContainerClass}}} \item{\verb{property.name}}{the name of the child property to find} } \value{[\code{\link{GParamSpec}}] the \code{\link{GParamSpec}} of the child property or \code{NULL} if \code{class} has no child property with that name. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkComboBoxEntry.Rd0000644000176000001440000000667212362217677015525 0ustar ripleyusers\alias{GtkComboBoxEntry} \alias{gtkComboBoxEntry} \name{GtkComboBoxEntry} \title{GtkComboBoxEntry} \description{A text entry field with a dropdown list} \section{Methods and Functions}{ \code{\link{gtkComboBoxEntryNew}(show = TRUE)}\cr \code{\link{gtkComboBoxEntryNewWithModel}(model, text.column, show = TRUE)}\cr \code{\link{gtkComboBoxEntryNewText}()}\cr \code{\link{gtkComboBoxEntrySetTextColumn}(object, text.column)}\cr \code{\link{gtkComboBoxEntryGetTextColumn}(object)}\cr \code{gtkComboBoxEntry(model, text.column, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----GtkComboBoxEntry}} \section{Interfaces}{GtkComboBoxEntry implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkCellLayout}} and \code{\link{GtkCellEditable}}.} \section{Detailed Description}{A \code{\link{GtkComboBoxEntry}} is a widget that allows the user to choose from a list of valid choices or enter a different value. It is very similar to a \code{\link{GtkComboBox}}, but it displays the selected value in an entry to allow modifying it. In contrast to a \code{\link{GtkComboBox}}, the underlying model of a \code{\link{GtkComboBoxEntry}} must always have a text column (see \code{\link{gtkComboBoxEntrySetTextColumn}}), and the entry will show the content of the text column in the selected row. To get the text from the entry, use \code{\link{gtkComboBoxGetActiveText}}. The changed signal will be emitted while typing into a GtkComboBoxEntry, as well as when selecting an item from the GtkComboBoxEntry's list. Use \code{\link{gtkComboBoxGetActive}} or \code{\link{gtkComboBoxGetActiveIter}} to discover whether an item was actually selected from the list. Connect to the activate signal of the GtkEntry (use \code{\link{gtkBinGetChild}}) to detect when the user actually finishes entering text. The convenience API to construct simple text-only \code{\link{GtkComboBox}}es can also be used with \code{\link{GtkComboBoxEntry}}s which have been constructed with \code{\link{gtkComboBoxEntryNewText}}. If you have special needs that go beyond a simple entry (e.g. input validation), it is possible to replace the child entry by a different widget using \code{\link{gtkContainerRemove}} and \code{\link{gtkContainerAdd}}.} \section{GtkComboBoxEntry as GtkBuildable}{Beyond the support that is shared by all GtkCellLayout implementation, GtkComboBoxEntry makes the entry available in UI definitions as an internal child with name "entry".} \section{Structures}{\describe{\item{\verb{GtkComboBoxEntry}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkComboBoxEntry} is the result of collapsing the constructors of \code{GtkComboBoxEntry} (\code{\link{gtkComboBoxEntryNew}}, \code{\link{gtkComboBoxEntryNewWithModel}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{\item{\verb{text-column} [integer : Read / Write]}{ A column in the data source model to get the strings from. Allowed values: >= -1 Default value: -1 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkComboBoxEntry.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkComboBox}}} \keyword{internal} RGtk2/man/gtkRcPropertyParseRequisition.Rd0000644000176000001440000000162512362217677020364 0ustar ripleyusers\alias{gtkRcPropertyParseRequisition} \name{gtkRcPropertyParseRequisition} \title{gtkRcPropertyParseRequisition} \description{A \verb{GtkRcPropertyParser} for use with \code{\link{gtkSettingsInstallPropertyParser}} or \code{\link{gtkWidgetClassInstallStylePropertyParser}} which parses a requisition in the form \code{"{ width, height }"} for integers \code{width} and \code{height}.} \usage{gtkRcPropertyParseRequisition(pspec, gstring)} \arguments{ \item{\verb{pspec}}{a \code{\link{GParamSpec}}} \item{\verb{gstring}}{the \verb{character} to be parsed} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{gstring} could be parsed and \code{property.value} has been set to the resulting \code{\link{GtkRequisition}}.} \item{\verb{property.value}}{a \verb{R object} which must hold boxed values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetDisplayName.Rd0000644000176000001440000000073312362217677016762 0ustar ripleyusers\alias{gFileInfoSetDisplayName} \name{gFileInfoSetDisplayName} \title{gFileInfoSetDisplayName} \description{Sets the display name for the current \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME}.} \usage{gFileInfoSetDisplayName(object, display.name)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{display.name}}{a string containing a display name.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHScaleNewWithRange.Rd0000644000176000001440000000170412362217677016444 0ustar ripleyusers\alias{gtkHScaleNewWithRange} \name{gtkHScaleNewWithRange} \title{gtkHScaleNewWithRange} \description{Creates a new horizontal scale widget that lets the user input a number between \code{min} and \code{max} (including \code{min} and \code{max}) with the increment \code{step}. \code{step} must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value.} \usage{gtkHScaleNewWithRange(min, max, step, show = TRUE)} \arguments{ \item{\verb{min}}{minimum value} \item{\verb{max}}{maximum value} \item{\verb{step}}{step increment (tick size) used with keyboard shortcuts} } \details{Note that the way in which the precision is derived works best if \code{step} is a power of ten. If the resulting precision is not suitable for your needs, use \code{\link{gtkScaleSetDigits}} to correct it.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkHScale}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeIsUnknown.Rd0000644000176000001440000000072512362217677016615 0ustar ripleyusers\alias{gContentTypeIsUnknown} \name{gContentTypeIsUnknown} \title{gContentTypeIsUnknown} \description{Checks if the content type is the generic "unknown" type. On unix this is the "application/octet-stream" mimetype, while on win32 it is "*".} \usage{gContentTypeIsUnknown(type)} \arguments{\item{\verb{type}}{a content type string.}} \value{[logical] \code{TRUE} if the type is the unknown type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetNew.Rd0000644000176000001440000000140112362217677014711 0ustar ripleyusers\alias{gtkWidgetNew} \name{gtkWidgetNew} \title{gtkWidgetNew} \description{This is a convenience function for creating a widget and setting its properties in one go. For example you might write: \code{gtk_widget_new (GTK_TYPE_LABEL, "label", "Hello World", "xalign", 0.0, NULL)} to create a left-aligned label. Equivalent to \code{\link{gObjectNew}}, but returns a widget so you don't have to cast the object yourself.} \usage{gtkWidgetNew(type, ..., show = TRUE)} \arguments{ \item{\verb{type}}{type ID of the widget to create} \item{\verb{...}}{a new \code{\link{GtkWidget}} of type \code{widget.type}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkWidget}} of type \code{widget.type}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoNewPath.Rd0000644000176000001440000000050612362217677014677 0ustar ripleyusers\alias{cairoNewPath} \name{cairoNewPath} \title{cairoNewPath} \description{Clears the current path. After this call there will be no path and no current point.} \usage{cairoNewPath(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetVisible.Rd0000644000176000001440000000076212362217677016220 0ustar ripleyusers\alias{gtkActionGetVisible} \name{gtkActionGetVisible} \title{gtkActionGetVisible} \description{Returns whether the action itself is visible. Note that this doesn't necessarily mean effective visibility. See \code{\link{gtkActionIsSensitive}} for that.} \usage{gtkActionGetVisible(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] \code{TRUE} if the action itself is visible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetCustomTabLabel.Rd0000644000176000001440000000101712362217677021232 0ustar ripleyusers\alias{gtkPrintOperationSetCustomTabLabel} \name{gtkPrintOperationSetCustomTabLabel} \title{gtkPrintOperationSetCustomTabLabel} \description{Sets the label for the tab holding custom widgets.} \usage{gtkPrintOperationSetCustomTabLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{label}}{the label to use, or \code{NULL} to use the default label. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogGetContentArea.Rd0000644000176000001440000000070712362217677017007 0ustar ripleyusers\alias{gtkDialogGetContentArea} \name{gtkDialogGetContentArea} \title{gtkDialogGetContentArea} \description{Returns the content area of \code{dialog}.} \usage{gtkDialogGetContentArea(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the content area \code{\link{GtkVBox}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupGetModifierMask.Rd0000644000176000001440000000105712362217677020002 0ustar ripleyusers\alias{gtkAccelGroupGetModifierMask} \name{gtkAccelGroupGetModifierMask} \title{gtkAccelGroupGetModifierMask} \description{Gets a \code{\link{GdkModifierType}} representing the mask for this \code{accel.group}. For example, \verb{GDK_CONTROL_MASK}, \verb{GDK_SHIFT_MASK}, etc.} \usage{gtkAccelGroupGetModifierMask(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelGroup}}}} \details{Since 2.14} \value{[\code{\link{GdkModifierType}}] the modifier mask for this accel group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetCanDefault.Rd0000644000176000001440000000102512362217677016644 0ustar ripleyusers\alias{gtkWidgetSetCanDefault} \name{gtkWidgetSetCanDefault} \title{gtkWidgetSetCanDefault} \description{Specifies whether \code{widget} can be a default widget. See \code{\link{gtkWidgetGrabDefault}} for details about the meaning of "default".} \usage{gtkWidgetSetCanDefault(object, can.default)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{can.default}}{whether or not \code{widget} can be a default widget.} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSet.Rd0000644000176000001440000000066112362217677014722 0ustar ripleyusers\alias{gtkWidgetSet} \name{gtkWidgetSet} \title{gtkWidgetSet} \description{ Precursor of \code{\link{gObjectSet}}. \strong{WARNING: \code{gtk_widget_set} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gObjectSet}} instead.} } \usage{gtkWidgetSet(obj, ...)} \arguments{\item{\verb{...}}{\emph{undocumented }}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncInitableInitFinish.Rd0000644000176000001440000000156212362217677017177 0ustar ripleyusers\alias{gAsyncInitableInitFinish} \name{gAsyncInitableInitFinish} \title{gAsyncInitableInitFinish} \description{Finishes asynchronous initialization and returns the result. See \code{\link{gAsyncInitableInitAsync}}.} \usage{gAsyncInitableInitFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAsyncInitable}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetPreviewUri.Rd0000644000176000001440000000101412362217677017700 0ustar ripleyusers\alias{gtkFileChooserGetPreviewUri} \name{gtkFileChooserGetPreviewUri} \title{gtkFileChooserGetPreviewUri} \description{Gets the URI that should be previewed in a custom preview widget. See \code{\link{gtkFileChooserSetPreviewWidget}}.} \usage{gtkFileChooserGetPreviewUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[char] the URI for the file to preview, or \code{NULL} if no file is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutInt16.Rd0000644000176000001440000000145612362217677017250 0ustar ripleyusers\alias{gDataOutputStreamPutInt16} \name{gDataOutputStreamPutInt16} \title{gDataOutputStreamPutInt16} \description{Puts a signed 16-bit integer into the output stream.} \usage{gDataOutputStreamPutInt16(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{integer}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromImage.Rd0000644000176000001440000000104412362217677016304 0ustar ripleyusers\alias{gtkImageSetFromImage} \name{gtkImageSetFromImage} \title{gtkImageSetFromImage} \description{See \code{\link{gtkImageNewFromImage}} for details.} \usage{gtkImageSetFromImage(object, gdk.image = NULL, mask = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{gdk.image}}{a \code{\link{GdkImage}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask}}{a \code{\link{GdkBitmap}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetColumnHeader.Rd0000644000176000001440000000106112362217677017002 0ustar ripleyusers\alias{atkTableSetColumnHeader} \name{atkTableSetColumnHeader} \title{atkTableSetColumnHeader} \description{Sets the specified column header to \code{header}.} \usage{atkTableSetColumnHeader(object, column, header)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} \item{\verb{header}}{[\code{\link{AtkObject}}] an \code{\link{AtkTable}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryAddForeign.Rd0000644000176000001440000000256312362217677017177 0ustar ripleyusers\alias{gtkItemFactoryAddForeign} \name{gtkItemFactoryAddForeign} \title{gtkItemFactoryAddForeign} \description{ Installs an accelerator for \code{accel.widget} in \code{accel.group}, that causes the ::activate signal to be emitted if the accelerator is activated. \strong{WARNING: \code{gtk_item_factory_add_foreign} has been deprecated since version 2.4 and should not be used in newly-written code. The recommended API for this purpose are the functions \code{\link{gtkMenuItemSetAccelPath}} and \code{\link{gtkWidgetSetAccelPath}}; don't use \code{\link{gtkItemFactoryAddForeign}} in new code, since it is likely to be removed in the future.} } \usage{gtkItemFactoryAddForeign(accel.widget, full.path, accel.group, keyval, modifiers)} \arguments{ \item{\verb{accel.widget}}{widget to install an accelerator on} \item{\verb{full.path}}{the full path for the \code{accel.widget}} \item{\verb{accel.group}}{the accelerator group to install the accelerator in} \item{\verb{keyval}}{key value of the accelerator} \item{\verb{modifiers}}{modifier combination of the accelerator} } \details{This function can be used to make widgets participate in the accel saving/restoring functionality provided by \code{\link{gtkAccelMapSave}} and \code{\link{gtkAccelMapLoad}}, even if they haven't been created by an item factory.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetSupportSelection.Rd0000644000176000001440000000101012362217677021704 0ustar ripleyusers\alias{gtkPrintOperationSetSupportSelection} \name{gtkPrintOperationSetSupportSelection} \title{gtkPrintOperationSetSupportSelection} \description{Sets whether selection is supported by \code{\link{GtkPrintOperation}}.} \usage{gtkPrintOperationSetSupportSelection(object, support.selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{support.selection}}{\code{TRUE} to support selection} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetGravity.Rd0000644000176000001440000000145512362217677020500 0ustar ripleyusers\alias{pangoFontDescriptionSetGravity} \name{pangoFontDescriptionSetGravity} \title{pangoFontDescriptionSetGravity} \description{Sets the gravity field of a font description. The gravity field specifies how the glyphs should be rotated. If \code{gravity} is \code{PANGO_GRAVITY_AUTO}, this actually unsets the gravity mask on the font description.} \usage{pangoFontDescriptionSetGravity(object, gravity)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{gravity}}{[\code{\link{PangoGravity}}] the gravity for the font description.} } \details{This function is seldom useful to the user. Gravity should normally be set on a \code{\link{PangoContext}}. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetResizeMode.Rd0000644000176000001440000000106512362217677017407 0ustar ripleyusers\alias{gtkContainerSetResizeMode} \name{gtkContainerSetResizeMode} \title{gtkContainerSetResizeMode} \description{Sets the resize mode for the container.} \usage{gtkContainerSetResizeMode(object, resize.mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{resize.mode}}{the new resize mode} } \details{The resize mode of a container determines whether a resize request will be passed to the container's parent, queued for later execution or executed immediately.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetRemoteAddress.Rd0000644000176000001440000000136012362217677017033 0ustar ripleyusers\alias{gSocketGetRemoteAddress} \name{gSocketGetRemoteAddress} \title{gSocketGetRemoteAddress} \description{Try to get the remove a connected socket. This is only useful for connection oriented sockets that have been connected.} \usage{gSocketGetRemoteAddress(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] a \code{\link{GSocketAddress}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddAction.Rd0000644000176000001440000000132012362217677017015 0ustar ripleyusers\alias{gtkActionGroupAddAction} \name{gtkActionGroupAddAction} \title{gtkActionGroupAddAction} \description{Adds an action object to the action group. Note that this function does not set up the accel path of the action, which can lead to problems if a user tries to modify the accelerator of a menuitem associated with the action. Therefore you must either set the accel path yourself with \code{\link{gtkActionSetAccelPath}}, or use \code{gtk_action_group_add_action_with_accel (..., NULL)}.} \usage{gtkActionGroupAddAction(object, action)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{action}}{an action} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetBackground.Rd0000644000176000001440000000100412362217677015740 0ustar ripleyusers\alias{gdkGCSetBackground} \name{gdkGCSetBackground} \title{gdkGCSetBackground} \description{Sets the background color for a graphics context. Note that this function uses \code{color->pixel}, use \code{\link{gdkGCSetRgbBgColor}} to specify the background color as red, green, blue components.} \usage{gdkGCSetBackground(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{color}}{the new background color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetCurrentIconDragSource.Rd0000644000176000001440000000111312362217677020710 0ustar ripleyusers\alias{gtkEntryGetCurrentIconDragSource} \name{gtkEntryGetCurrentIconDragSource} \title{gtkEntryGetCurrentIconDragSource} \description{Returns the index of the icon which is the source of the current DND operation, or -1.} \usage{gtkEntryGetCurrentIconDragSource(object)} \arguments{\item{\verb{object}}{a \verb{GtkIconEntry}}} \details{This function is meant to be used in a \verb{"drag-data-get"} callback. Since 2.16} \value{[integer] index of the icon which is the source of the current DND operation, or -1.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationIterOnCurrentlyLoadingFrame.Rd0000644000176000001440000000141012362217677023373 0ustar ripleyusers\alias{gdkPixbufAnimationIterOnCurrentlyLoadingFrame} \name{gdkPixbufAnimationIterOnCurrentlyLoadingFrame} \title{gdkPixbufAnimationIterOnCurrentlyLoadingFrame} \description{Used to determine how to respond to the area_updated signal on \code{\link{GdkPixbufLoader}} when loading an animation. area_updated is emitted for an area of the frame currently streaming in to the loader. So if you're on the currently loading frame, you need to redraw the screen for the updated area.} \usage{gdkPixbufAnimationIterOnCurrentlyLoadingFrame(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufAnimationIter}}}} \value{[logical] \code{TRUE} if the frame we're on is partially loaded, or the last frame} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventCopy.Rd0000644000176000001440000000070312362217677014714 0ustar ripleyusers\alias{gdkEventCopy} \name{gdkEventCopy} \title{gdkEventCopy} \description{Copies a \code{\link{GdkEvent}}, copying or incrementing the reference count of the resources associated with it (e.g. \code{\link{GdkWindow}}'s and strings).} \usage{gdkEventCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}}} \value{[\code{\link{GdkEvent}}] a copy of \code{event}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveNew.Rd0000644000176000001440000000066412362217677014564 0ustar ripleyusers\alias{gtkCurveNew} \name{gtkCurveNew} \title{gtkCurveNew} \description{ Creates a new \code{\link{GtkCurve}}. \strong{WARNING: \code{gtk_curve_new} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCurve}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnWidget.Rd0000644000176000001440000000131412362217677017033 0ustar ripleyusers\alias{gtkCListSetColumnWidget} \name{gtkCListSetColumnWidget} \title{gtkCListSetColumnWidget} \description{ Sets a widget to be used as the specified column's title. This can be used to place a pixmap or something else as the column title, instead of the standard text. \strong{WARNING: \code{gtk_clist_set_column_widget} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnWidget(object, column, widget)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column whose title should be a widget.} \item{\verb{widget}}{A pointer to a previously create widget.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTearoffMenuItem.Rd0000644000176000001440000000357112362217677016020 0ustar ripleyusers\alias{GtkTearoffMenuItem} \alias{gtkTearoffMenuItem} \name{GtkTearoffMenuItem} \title{GtkTearoffMenuItem} \description{A menu item used to tear off and reattach its menu} \section{Methods and Functions}{ \code{\link{gtkTearoffMenuItemNew}(show = TRUE)}\cr \code{gtkTearoffMenuItem(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkTearoffMenuItem}} \section{Interfaces}{GtkTearoffMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkTearoffMenuItem}} is a special \code{\link{GtkMenuItem}} which is used to tear off and reattach its menu. When its menu is shown normally, the \code{\link{GtkTearoffMenuItem}} is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu. When its menu is shown as a tearoff menu, the \code{\link{GtkTearoffMenuItem}} is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window.} \section{Structures}{\describe{\item{\verb{GtkTearoffMenuItem}}{ The \code{\link{GtkTearoffMenuItem}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkTearoffMenuItem} is the equivalent of \code{\link{gtkTearoffMenuItemNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkTearoffMenuItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixTransformDistance.Rd0000644000176000001440000000222112362217677020147 0ustar ripleyusers\alias{pangoMatrixTransformDistance} \name{pangoMatrixTransformDistance} \title{pangoMatrixTransformDistance} \description{Transforms the distance vector (\code{dx},\code{dy}) by \code{matrix}. This is similar to \code{\link{pangoMatrixTransformPoint}} except that the translation components of the transformation are ignored. The calculation of the returned vector is as follows:} \usage{pangoMatrixTransformDistance(object, dx, dy)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL}} \item{\verb{dx}}{[numeric] in/out X component of a distance vector} \item{\verb{dy}}{[numeric] yn/out Y component of a distance vector} } \details{\preformatted{dx2 = dx1 * xx + dy1 * xy; dy2 = dx1 * yx + dy1 * yy; } Affine transformations are position invariant, so the same vector always transforms to the same vector. If (\code{x1},\code{y1}) transforms to (\code{x2},\code{y2}) then (\code{x1}+\code{dx1},\code{y1}+\code{dy1}) will transform to (\code{x1}+\code{dx2},\code{y1}+\code{dy2}) for all values of \code{x1} and \code{x2}. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontTextToGlyphs.Rd0000644000176000001440000001042212362217677017710 0ustar ripleyusers\alias{cairoScaledFontTextToGlyphs} \name{cairoScaledFontTextToGlyphs} \title{cairoScaledFontTextToGlyphs} \description{Converts UTF-8 text to a list of glyphs, optionally with cluster mapping, that can be used to render later using \code{scaled.font}.} \usage{cairoScaledFontTextToGlyphs(scaled.font, x, y, utf8, utf8.len = -1)} \arguments{ \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} \item{\verb{x}}{[numeric] X position to place first glyph} \item{\verb{y}}{[numeric] Y position to place first glyph} \item{\verb{utf8}}{[char] a string of text encoded in UTF-8} \item{\verb{utf8.len}}{[integer] length of \code{utf8} in bytes, or -1 if it is NUL-terminated} } \details{If \code{glyphs} initially points to a non-\code{NULL} value, that list is used as a glyph buffer, and \code{num.glyphs} should point to the number of glyph entries available there. If the provided glyph list is too short for the conversion, Upon return, \code{num.glyphs} always contains the number of generated glyphs. If the value \code{glyphs} points to has changed after the call, This may happen even if the provided array was large enough. If \code{clusters} is not \code{NULL}, \code{num.clusters} and \code{cluster.flags} should not be \code{NULL}, and cluster mapping will be computed. The semantics of how cluster list allocation works is similar to the glyph array. That is, if \code{clusters} initially points to a non-\code{NULL} value, that list is used as a cluster buffer, and \code{num.clusters} should point to the number of cluster entries available there. If the provided cluster list is too short for the conversion, Upon return, \code{num.clusters} always contains the number of generated clusters. If the value \code{clusters} points at has changed after the call, This may happen even if the provided array was large enough. In the simplest case, \code{glyphs} and \code{clusters} can point to \code{NULL} initially and a suitable list will be allocated. In code: \preformatted{ glyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) cr$showTextGlyphs(utf8, utf8_len, glyphs$glyphs, glyphs$num_glyphs, glyphs$clusters, glyphs$num_clusters, glyphs$cluster_flags) } If no cluster mapping is needed: \preformatted{ glyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) { cr$showGlyphs(glyphs$glyphs, glyphs$num_glyphs) } } If stack-based glyph and cluster lists are to be used for small arrays: \preformatted{ ## R user obviously does not allocate things on the stack. ## This is the same as the first example. glyphs <- scaled_font$textToGlyphs(x, y, utf8, utf8_len) if (glyphs$retval == CairoStatus["success"]) cr$showTextGlyphs(utf8, utf8_len, glyphs$glyphs, glyphs$num_glyphs, glyphs$clusters, glyphs$num_clusters, glyphs$cluster_flags) } For details of how \code{clusters}, \code{num.clusters}, and \code{cluster.flags} map input UTF-8 text to the output glyphs see \code{\link{cairoShowTextGlyphs}}. The output values can be readily passed to \code{\link{cairoShowTextGlyphs}} \code{\link{cairoShowGlyphs}}, or related functions, assuming that the exact same \code{scaled.font} is used for the operation. Since 1.8} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} upon success, or an error status if the input values are wrong or if conversion failed. If the input values are correct but the conversion failed, the error status is also set on \code{scaled.font}.} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] pointer to list of glyphs to fill} \item{\verb{num.glyphs}}{[integer] pointer to number of glyphs} \item{\verb{clusters}}{[\code{\link{CairoTextCluster}}] pointer to list of cluster mapping information to fill, or \code{NULL}} \item{\verb{num.clusters}}{[integer] pointer to number of clusters, or \code{NULL}} \item{\verb{cluster.flags}}{[\code{\link{CairoTextClusterFlags}}] pointer to location to store cluster flags corresponding to the output \code{clusters}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSort.Rd0000644000176000001440000000075212362217677014712 0ustar ripleyusers\alias{gtkCListSort} \name{gtkCListSort} \title{gtkCListSort} \description{ Sorts the \verb{GtkClist} according to the current compare function, which can be set with the \code{\link{gtkCListSetCompareFunc}} function. \strong{WARNING: \code{gtk_clist_sort} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSort(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to sort.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPointerUngrab.Rd0000644000176000001440000000065212362217677015562 0ustar ripleyusers\alias{gdkPointerUngrab} \name{gdkPointerUngrab} \title{gdkPointerUngrab} \description{Ungrabs the pointer on the default display, if it is grabbed by this application.} \usage{gdkPointerUngrab(time = "GDK_CURRENT_TIME")} \arguments{\item{\verb{time}}{a timestamp from a \code{\link{GdkEvent}}, or \code{GDK_CURRENT_TIME} if no timestamp is available.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetDraw.Rd0000644000176000001440000000161212362217677015061 0ustar ripleyusers\alias{gtkWidgetDraw} \name{gtkWidgetDraw} \title{gtkWidgetDraw} \description{ In GTK+ 1.2, this function would immediately render the region \code{area} of a widget, by invoking the virtual draw method of a widget. In GTK+ 2.0, the draw method is gone, and instead \code{\link{gtkWidgetDraw}} simply invalidates the specified region of the widget, then updates the invalid region of the widget immediately. Usually you don't want to update the region immediately for performance reasons, so in general \code{\link{gtkWidgetQueueDrawArea}} is a better choice if you want to draw a region of a widget. \strong{WARNING: \code{gtk_widget_draw} is deprecated and should not be used in newly-written code.} } \usage{gtkWidgetDraw(object, area)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{area}}{area to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListAppendItems.Rd0000644000176000001440000000070212362217677016064 0ustar ripleyusers\alias{gtkListAppendItems} \name{gtkListAppendItems} \title{gtkListAppendItems} \description{ Adds \code{items} to the end of the \code{list}. \strong{WARNING: \code{gtk_list_append_items} is deprecated and should not be used in newly-written code.} } \usage{gtkListAppendItems(object, items)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{items}}{the items.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragDropSucceeded.Rd0000644000176000001440000000105312362217677016306 0ustar ripleyusers\alias{gdkDragDropSucceeded} \name{gdkDragDropSucceeded} \title{gdkDragDropSucceeded} \description{Returns whether the dropped data has been successfully transferred. This function is intended to be used while handling a \code{GDK_DROP_FINISHED} event, its return value is meaningless at other times.} \usage{gdkDragDropSucceeded(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDragContext}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if the drop was successful.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPaned.Rd0000644000176000001440000001542612362217677014017 0ustar ripleyusers\alias{GtkPaned} \name{GtkPaned} \title{GtkPaned} \description{Base class for widgets with two adjustable panes} \section{Methods and Functions}{ \code{\link{gtkPanedAdd1}(object, child)}\cr \code{\link{gtkPanedAdd2}(object, child)}\cr \code{\link{gtkPanedPack1}(object, child, resize = FALSE, shrink = TRUE)}\cr \code{\link{gtkPanedPack2}(object, child, resize = TRUE, shrink = TRUE)}\cr \code{\link{gtkPanedGetChild1}(object)}\cr \code{\link{gtkPanedGetChild2}(object)}\cr \code{\link{gtkPanedSetPosition}(object, position)}\cr \code{\link{gtkPanedGetPosition}(object)}\cr \code{\link{gtkPanedGetHandleWindow}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkPaned +----GtkHPaned +----GtkVPaned}} \section{Interfaces}{GtkPaned implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\code{\link{GtkPaned}} is the base class for widgets with two panes, arranged either horizontally (\code{\link{GtkHPaned}}) or vertically (\code{\link{GtkVPaned}}). Child widgets are added to the panes of the widget with \code{\link{gtkPanedPack1}} and \code{\link{gtkPanedPack2}}. The division beween the two children is set by default from the size requests of the children, but it can be adjusted by the user. A paned widget draws a separator between the two child widgets and a small handle that the user can drag to adjust the division. It does not draw any relief around the children or around the separator. (The space in which the separator is called the gutter.) Often, it is useful to put each child inside a \code{\link{GtkFrame}} with the shadow type set to \code{GTK_SHADOW_IN} so that the gutter appears as a ridge. No separator is drawn if one of the children is missing. Each child has two options that can be set, \code{resize} and \code{shrink}. If \code{resize} is true, then when the \code{\link{GtkPaned}} is resized, that child will expand or shrink along with the paned widget. If \code{shrink} is true, then when that child can be made smaller than its requisition by the user. Setting \code{shrink} to \code{FALSE} allows the application to set a minimum size. If \code{resize} is false for both children, then this is treated as if \code{resize} is true for both children. The application can set the position of the slider as if it were set by the user, by calling \code{\link{gtkPanedSetPosition}}. \emph{Creating a paned widget with minimum sizes.} \preformatted{ hpaned <- gtkHPaned() frame1 <- gtkFrame() frame2 <- gtkFrame() frame1$setShadowType("in") frame2$setShadowType("in") hpaned$setSizeRequest(200 + hpaned$styleGet("handle-size"), -1) hpaned$pack1(frame1, TRUE, FALSE) frame1$setSizeRequest(50, -1) hpaned$pack2(frame2, FALSE, FALSE) frame2$setSizeRequest(50, -1) }} \section{Structures}{\describe{\item{\verb{GtkPaned}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{accept-position(widget, user.data)}}{ The ::accept-position signal is a keybinding signal which gets emitted to accept the current position of the handle when moving it using key bindings. The default binding for this signal is Return or Space. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cancel-position(widget, user.data)}}{ The ::cancel-position signal is a keybinding signal which gets emitted to cancel moving the position of the handle using key bindings. The position of the handle will be reset to the value prior to moving it. The default binding for this signal is Escape. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cycle-child-focus(widget, reversed, user.data)}}{ The ::cycle-child-focus signal is a keybinding signal which gets emitted to cycle the focus between the children of the paned. The default binding is f6. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{reversed}}{whether cycling backward or forward} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cycle-handle-focus(widget, reversed, user.data)}}{ The ::cycle-handle-focus signal is a keybinding signal which gets emitted to cycle whether the paned should grab focus to allow the user to change position of the handle by using key bindings. The default binding for this signal is f8. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{reversed}}{whether cycling backward or forward} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-handle(widget, scroll.type, user.data)}}{ The ::move-handle signal is a keybinding signal which gets emitted to move the handle when the user is using key bindings to move it. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{scroll.type}}{a \code{\link{GtkScrollType}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-handle-focus(widget, user.data)}}{ The ::toggle-handle-focus is a keybinding signal which gets emitted to accept the current position of the handle and then move focus to the next widget in the focus chain. The default binding is Tab. Since 2.0 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{max-position} [integer : Read]}{ The largest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. Allowed values: >= 0 Default value: 2147483647 Since 2.4 } \item{\verb{min-position} [integer : Read]}{ The smallest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. Allowed values: >= 0 Default value: 0 Since 2.4 } \item{\verb{position} [integer : Read / Write]}{ Position of paned separator in pixels (0 means all the way to the left/top). Allowed values: >= 0 Default value: 0 } \item{\verb{position-set} [logical : Read / Write]}{ TRUE if the Position property should be used. Default value: FALSE } }} \section{Style Properties}{\describe{\item{\verb{handle-size} [integer : Read]}{ Width of handle. Allowed values: >= 0 Default value: 5 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkPaned.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaveToCallback.Rd0000644000176000001440000000243312362217677016776 0ustar ripleyusers\alias{gdkPixbufSaveToCallback} \name{gdkPixbufSaveToCallback} \title{gdkPixbufSaveToCallback} \description{Saves pixbuf in format \code{type} by feeding the produced data to a callback. Can be used when you want to store the image to something other than a file, such as an in-memory buffer or a socket. If \code{error} is set, \code{FALSE} will be returned. Possible errors include those in the \verb{GDK_PIXBUF_ERROR} domain and whatever the save function generates.} \usage{gdkPixbufSaveToCallback(object, save.func, user.data, type, ..., .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{save.func}}{a function that is called to save each block of data that the save routine generates.} \item{\verb{user.data}}{user data to pass to the save function.} \item{\verb{type}}{name of file format.} \item{\verb{...}}{whether an error was set} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{See \code{\link{gdkPixbufSave}} for more details. Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetTooltip.Rd0000644000176000001440000000121112362217677017136 0ustar ripleyusers\alias{gtkStatusIconSetTooltip} \name{gtkStatusIconSetTooltip} \title{gtkStatusIconSetTooltip} \description{ Sets the tooltip of the status icon. \strong{WARNING: \code{gtk_status_icon_set_tooltip} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkStatusIconSetTooltipText}} instead.} } \usage{gtkStatusIconSetTooltip(object, tooltip.text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{tooltip.text}}{the tooltip text, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkStatusbar.Rd0000644000176000001440000001061012362217677014726 0ustar ripleyusers\alias{GtkStatusbar} \alias{gtkStatusbar} \name{GtkStatusbar} \title{GtkStatusbar} \description{Report messages of minor importance to the user} \section{Methods and Functions}{ \code{\link{gtkStatusbarNew}(show = TRUE)}\cr \code{\link{gtkStatusbarGetContextId}(object, context.description)}\cr \code{\link{gtkStatusbarPush}(object, context.id, text)}\cr \code{\link{gtkStatusbarPop}(object, context.id)}\cr \code{\link{gtkStatusbarRemove}(object, context.id, message.id)}\cr \code{\link{gtkStatusbarSetHasResizeGrip}(object, setting)}\cr \code{\link{gtkStatusbarGetHasResizeGrip}(object)}\cr \code{\link{gtkStatusbarGetMessageArea}(object)}\cr \code{gtkStatusbar(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkStatusbar}} \section{Interfaces}{GtkStatusbar implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A \code{\link{GtkStatusbar}} is usually placed along the bottom of an application's main \code{\link{GtkWindow}}. It may provide a regular commentary of the application's status (as is usually the case in a web browser, for example), or may be used to simply output a message when the status changes, (when an upload is complete in an FTP client, for example). It may also have a resize grip (a triangular area in the lower right corner) which can be clicked on to resize the window containing the statusbar. Status bars in GTK+ maintain a stack of messages. The message at the top of the each bar's stack is the one that will currently be displayed. Any messages added to a statusbar's stack must specify a \emph{context id} that is used to uniquely identify the source of a message. This context id can be generated by \code{\link{gtkStatusbarGetContextId}}, given a message and the statusbar that it will be added to. Note that messages are stored in a stack, and when choosing which message to display, the stack structure is adhered to, regardless of the context identifier of a message. One could say that a statusbar maintains one stack of messages for display purposes, but allows multiple message producers to maintain sub-stacks of the messages they produced (via context ids). Status bars are created using \code{\link{gtkStatusbarNew}}. Messages are added to the bar's stack with \code{\link{gtkStatusbarPush}}. The message at the top of the stack can be removed using \code{\link{gtkStatusbarPop}}. A message can be removed from anywhere in the stack if its message_id was recorded at the time it was added. This is done using \code{\link{gtkStatusbarRemove}}.} \section{Structures}{\describe{\item{\verb{GtkStatusbar}}{ Contains private data that should be modified with the functions described below. }}} \section{Convenient Construction}{\code{gtkStatusbar} is the equivalent of \code{\link{gtkStatusbarNew}}.} \section{Signals}{\describe{ \item{\code{text-popped(statusbar, context.id, text, user.data)}}{ Is emitted whenever a new message is popped off a statusbar's stack. \describe{ \item{\code{statusbar}}{the object which received the signal.} \item{\code{context.id}}{the context id of the relevant message/statusbar.} \item{\code{text}}{the message that was just popped.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{text-pushed(statusbar, context.id, text, user.data)}}{ Is emitted whenever a new message gets pushed onto a statusbar's stack. \describe{ \item{\code{statusbar}}{the object which received the signal.} \item{\code{context.id}}{the context id of the relevant message/statusbar.} \item{\code{text}}{the message that was pushed.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{has-resize-grip} [logical : Read / Write]}{ Whether the statusbar has a grip for resizing the toplevel window. Default value: TRUE Since 2.4 }}} \section{Style Properties}{\describe{\item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read]}{ Style of bevel around the statusbar text. Default value: GTK_SHADOW_IN }}} \references{\url{http://library.gnome.org/devel//gtk/GtkStatusbar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetIndex.Rd0000644000176000001440000000117612362217677017075 0ustar ripleyusers\alias{pangoLayoutIterGetIndex} \name{pangoLayoutIterGetIndex} \title{pangoLayoutIterGetIndex} \description{Gets the current byte index. Note that iterating forward by char moves in visual order, not logical order, so indexes may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the \code{NULL} run (see \code{\link{pangoLayoutIterGetRun}}).} \usage{pangoLayoutIterGetIndex(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[integer] current byte index.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogSetResponseSensitive.Rd0000644000176000001440000000115012362217677020301 0ustar ripleyusers\alias{gtkDialogSetResponseSensitive} \name{gtkDialogSetResponseSensitive} \title{gtkDialogSetResponseSensitive} \description{Calls \code{gtk_widget_set_sensitive (widget, setting )} for each widget in the dialog's action area with the given \code{response.id}. A convenient way to sensitize/desensitize dialog buttons.} \usage{gtkDialogSetResponseSensitive(object, response.id, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{response.id}}{a response ID} \item{\verb{setting}}{\code{TRUE} for sensitive} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSeparator.Rd0000644000176000001440000000171512362217677014724 0ustar ripleyusers\alias{GtkSeparator} \name{GtkSeparator} \title{GtkSeparator} \description{Base class for GtkHSeparator and GtkVSeparator} \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkSeparator +----GtkHSeparator +----GtkVSeparator}} \section{Interfaces}{GtkSeparator implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkSeparator}} widget is an abstract class, used only for deriving the subclasses \code{\link{GtkHSeparator}} and \code{\link{GtkVSeparator}}.} \section{Structures}{\describe{\item{\verb{GtkSeparator}}{ The \code{\link{GtkSeparator}} struct contains private data only. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkSeparator.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetVisible.Rd0000644000176000001440000000066012362217677017724 0ustar ripleyusers\alias{gtkTreeViewColumnSetVisible} \name{gtkTreeViewColumnSetVisible} \title{gtkTreeViewColumnSetVisible} \description{Sets the visibility of \code{tree.column}.} \usage{gtkTreeViewColumnSetVisible(object, visible)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{visible}}{\code{TRUE} if the \code{tree.column} is visible.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/stock-items.Rd0000644000176000001440000000532011766145227014552 0ustar ripleyusers\name{stock-items} \alias{stock-items} \title{GTK Stock Items} \alias{GTK_STOCK_ABOUT} \alias{GTK_STOCK_ADD} \alias{GTK_STOCK_APPLY} \alias{GTK_STOCK_BOLD} \alias{GTK_STOCK_CANCEL} \alias{GTK_STOCK_CDROM} \alias{GTK_STOCK_CLEAR} \alias{GTK_STOCK_CLOSE} \alias{GTK_STOCK_COLOR_PICKER} \alias{GTK_STOCK_CONNECT} \alias{GTK_STOCK_CONVERT} \alias{GTK_STOCK_COPY} \alias{GTK_STOCK_CUT} \alias{GTK_STOCK_DELETE} \alias{GTK_STOCK_DIALOG_AUTHENTICATION} \alias{GTK_STOCK_DIALOG_ERROR} \alias{GTK_STOCK_DIALOG_INFO} \alias{GTK_STOCK_DIALOG_QUESTION} \alias{GTK_STOCK_DIALOG_WARNING} \alias{GTK_STOCK_DIRECTORY} \alias{GTK_STOCK_DISCONNECT} \alias{GTK_STOCK_DND} \alias{GTK_STOCK_DND_MULTIPLE} \alias{GTK_STOCK_EDIT} \alias{GTK_STOCK_EXECUTE} \alias{GTK_STOCK_FILE} \alias{GTK_STOCK_FIND} \alias{GTK_STOCK_FIND_AND_REPLACE} \alias{GTK_STOCK_FLOPPY} \alias{GTK_STOCK_FULLSCREEN} \alias{GTK_STOCK_GOTO_BOTTOM} \alias{GTK_STOCK_GOTO_FIRST} \alias{GTK_STOCK_GOTO_LAST} \alias{GTK_STOCK_GOTO_TOP} \alias{GTK_STOCK_GO_BACK} \alias{GTK_STOCK_GO_DOWN} \alias{GTK_STOCK_GO_FORWARD} \alias{GTK_STOCK_GO_UP} \alias{GTK_STOCK_HARDDISK} \alias{GTK_STOCK_HELP} \alias{GTK_STOCK_HOME} \alias{GTK_STOCK_INDENT} \alias{GTK_STOCK_INDEX} \alias{GTK_STOCK_INFO} \alias{GTK_STOCK_ITALIC} \alias{GTK_STOCK_JUMP_TO} \alias{GTK_STOCK_JUSTIFY_CENTER} \alias{GTK_STOCK_JUSTIFY_FILL} \alias{GTK_STOCK_JUSTIFY_LEFT} \alias{GTK_STOCK_JUSTIFY_RIGHT} \alias{GTK_STOCK_LEAVE_FULLSCREEN} \alias{GTK_STOCK_MEDIA_FORWARD} \alias{GTK_STOCK_MEDIA_NEXT} \alias{GTK_STOCK_MEDIA_PAUSE} \alias{GTK_STOCK_MEDIA_PLAY} \alias{GTK_STOCK_MEDIA_PREVIOUS} \alias{GTK_STOCK_MEDIA_RECORD} \alias{GTK_STOCK_MEDIA_REWIND} \alias{GTK_STOCK_MEDIA_STOP} \alias{GTK_STOCK_MISSING_IMAGE} \alias{GTK_STOCK_NETWORK} \alias{GTK_STOCK_NEW} \alias{GTK_STOCK_NO} \alias{GTK_STOCK_OK} \alias{GTK_STOCK_OPEN} \alias{GTK_STOCK_PASTE} \alias{GTK_STOCK_PREFERENCES} \alias{GTK_STOCK_PRINT} \alias{GTK_STOCK_PRINT_PREVIEW} \alias{GTK_STOCK_PROPERTIES} \alias{GTK_STOCK_QUIT} \alias{GTK_STOCK_REDO} \alias{GTK_STOCK_REFRESH} \alias{GTK_STOCK_REMOVE} \alias{GTK_STOCK_REVERT_TO_SAVED} \alias{GTK_STOCK_SAVE} \alias{GTK_STOCK_SAVE_AS} \alias{GTK_STOCK_SELECT_COLOR} \alias{GTK_STOCK_SELECT_FONT} \alias{GTK_STOCK_SORT_ASCENDING} \alias{GTK_STOCK_SORT_DESCENDING} \alias{GTK_STOCK_SPELL_CHECK} \alias{GTK_STOCK_STOP} \alias{GTK_STOCK_STRIKETHROUGH} \alias{GTK_STOCK_UNDELETE} \alias{GTK_STOCK_UNDERLINE} \alias{GTK_STOCK_UNDO} \alias{GTK_STOCK_UNINDENT} \alias{GTK_STOCK_YES} \alias{GTK_STOCK_ZOOM_100} \alias{GTK_STOCK_ZOOM_FIT} \alias{GTK_STOCK_ZOOM_IN} \alias{GTK_STOCK_ZOOM_OUT} \description{Please see \url{http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html} for details on stock items.} \author{Michael Lawrence} \keyword{internal} RGtk2/man/gdkStringExtents.Rd0000644000176000001440000000135712362217677015627 0ustar ripleyusers\alias{gdkStringExtents} \name{gdkStringExtents} \title{gdkStringExtents} \description{ Gets the metrics of a string. \strong{WARNING: \code{gdk_string_extents} is deprecated and should not be used in newly-written code.} } \usage{gdkStringExtents(object, string)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}.} \item{\verb{string}}{the string to measure.} } \value{ A list containing the following elements: \item{\verb{lbearing}}{the left bearing of the string.} \item{\verb{rbearing}}{the right bearing of the string.} \item{\verb{width}}{the width of the string.} \item{\verb{ascent}}{the ascent of the string.} \item{\verb{descent}}{the descent of the string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternAddColorStopRgb.Rd0000644000176000001440000000273212362217677017662 0ustar ripleyusers\alias{cairoPatternAddColorStopRgb} \name{cairoPatternAddColorStopRgb} \title{cairoPatternAddColorStopRgb} \description{Adds an opaque color stop to a gradient pattern. The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.} \usage{cairoPatternAddColorStopRgb(pattern, offset, red, green, blue)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{offset}}{[numeric] an offset in the range [0.0 .. 1.0]} \item{\verb{red}}{[numeric] red component of color} \item{\verb{green}}{[numeric] green component of color} \item{\verb{blue}}{[numeric] blue component of color} } \details{The color is specified in the same way as in \code{\link{cairoSetSourceRgb}}. If two (or more) stops are specified with identical offset values, they will be sorted according to the order in which the stops are added, (stops added earlier will compare less than stops added later). This can be useful for reliably making sharp color transitions instead of the typical blend. Note: If the pattern is not a gradient pattern, (eg. a linear or radial pattern), then the pattern will be put into an error status with a status of \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTimeoutAdd.Rd0000644000176000001440000000145512362217677015064 0ustar ripleyusers\alias{gtkTimeoutAdd} \name{gtkTimeoutAdd} \title{gtkTimeoutAdd} \description{ Registers a function to be called periodically. The function will be called repeatedly after \code{interval} milliseconds until it returns \code{FALSE} at which point the timeout is destroyed and will not be called again. \strong{WARNING: \code{gtk_timeout_add} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gTimeoutAdd}} instead.} } \usage{gtkTimeoutAdd(interval, fun, data = NULL)} \arguments{ \item{\verb{interval}}{The time between calls to the function, in milliseconds (1/1000ths of a second.)} \item{\verb{data}}{The data to pass to the function.} } \value{[numeric] A unique id for the event source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconGicon.Rd0000644000176000001440000000120012362217677016343 0ustar ripleyusers\alias{gtkEntryGetIconGicon} \name{gtkEntryGetIconGicon} \title{gtkEntryGetIconGicon} \description{Retrieves the \code{\link{GIcon}} used for the icon, or \code{NULL} if there is no icon or if the icon was set by some other method (e.g., by stock, pixbuf, or icon name).} \usage{gtkEntryGetIconGicon(object, icon.pos)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[\code{\link{GIcon}}] A \code{\link{GIcon}}, or \code{NULL} if no icon is set or if the icon is not a \code{\link{GIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Input-Devices.Rd0000644000176000001440000002117412362217677015541 0ustar ripleyusers\alias{gdk-Input-Devices} \alias{GdkDevice} \alias{GdkDeviceKey} \alias{GdkDeviceAxis} \alias{GdkTimeCoord} \alias{GdkInputSource} \alias{GdkInputMode} \alias{GdkAxisUse} \alias{GdkExtensionMode} \name{gdk-Input-Devices} \title{Input Devices} \description{Functions for handling extended input devices} \section{Methods and Functions}{ \code{\link{gdkDevicesList}()}\cr \code{\link{gdkDeviceSetSource}(object, source)}\cr \code{\link{gdkDeviceSetMode}(object, mode)}\cr \code{\link{gdkDeviceSetKey}(object, index, keyval, modifiers)}\cr \code{\link{gdkDeviceSetAxisUse}(object, index, use)}\cr \code{\link{gdkDeviceGetCorePointer}()}\cr \code{\link{gdkDeviceGetState}(object, window)}\cr \code{\link{gdkDeviceGetHistory}(object, window, start, stop)}\cr \code{\link{gdkDeviceGetAxis}(object, axes, use)}\cr \code{\link{gdkInputSetExtensionEvents}(object, mask, mode)}\cr } \section{Detailed Description}{In addition to the normal keyboard and mouse input devices, GTK+ also contains support for \dfn{extended input devices}. In particular, this support is targeted at graphics tablets. Graphics tablets typically return sub-pixel positioning information and possibly information about the pressure and tilt of the stylus. Under X, the support for extended devices is done through the \dfn{XInput} extension. Because handling extended input devices may involve considerable overhead, they need to be turned on for each \code{\link{GdkWindow}} individually using \code{\link{gdkInputSetExtensionEvents}}. (Or, more typically, for GtkWidgets, using \code{\link{gtkWidgetSetExtensionEvents}}). As an additional complication, depending on the support from the windowing system, its possible that a normal mouse cursor will not be displayed for a particular extension device. If an application does not want to deal with displaying a cursor itself, it can ask only to get extension events from devices that will display a cursor, by passing the \code{GDK_EXTENSION_EVENTS_CURSOR} value to \code{\link{gdkInputSetExtensionEvents}}. Otherwise, the application must retrieve the device information using \code{\link{gdkDevicesList}}, check the \code{has_cursor} field, and, if it is \code{FALSE}, draw a cursor itself when it receives motion events. Each pointing device is assigned a unique integer ID; events from a particular device can be identified by the \code{deviceid} field in the event structure. The events generated by pointer devices have also been extended to contain \code{pressure}, \code{xtilt} and \code{ytilt} fields which contain the extended information reported as additional \dfn{valuators} from the device. The \code{pressure} field is a a double value ranging from 0.0 to 1.0, while the tilt fields are double values ranging from -1.0 to 1.0. (With -1.0 representing the maximum tilt to the left or up, and 1.0 representing the maximum tilt to the right or down.) One additional field in each event is the \code{source} field, which contains an enumeration value describing the type of device; this currently can be one of \code{GDK_SOURCE_MOUSE}, \code{GDK_SOURCE_PEN}, \code{GDK_SOURCE_ERASER}, or \code{GDK_SOURCE_CURSOR}. This field is present to allow simple applications to (for instance) delete when they detect eraser devices without having to keep track of complicated per-device settings. Various aspects of each device may be configured. The configuration of devices is queried using \code{\link{gdkDevicesList}}. Each device must be activated using \code{\link{gdkDeviceSetMode}}, which also controls whether the device's range is mapped to the entire screen or to a single window. The mapping of the valuators of the device onto the predefined valuator types is set using \code{\link{gdkDeviceSetAxisUse}}. And the source type for each device can be set with \code{\link{gdkDeviceSetSource}}. Devices may also have associated \dfn{keys} or function buttons. Such keys can be globally set to map into normal X keyboard events. The mapping is set using \code{\link{gdkDeviceSetKey}}. The interfaces in this section will most likely be considerably modified in the future to accomodate devices that may have different sets of additional valuators than the pressure \code{xtilt} and \code{ytilt}.} \section{Structures}{\describe{ \item{\verb{GdkDevice}}{ A \code{GdkDevice} structure contains a detailed description of an extended input device. All fields are read-only; but you can use \code{\link{gdkDeviceSetSource}}, \code{\link{gdkDeviceSetMode}}, \code{\link{gdkDeviceSetKey}} and \code{\link{gdkDeviceSetAxisUse}} to configure various aspects of the device. \describe{ \item{\verb{name}}{[character] the parent instance} \item{\verb{source}}{[\code{\link{GdkInputSource}}] the name of this device.} \item{\verb{mode}}{[\code{\link{GdkInputMode}}] the type of this device.} \item{\verb{hasCursor}}{[logical] the mode of this device} \item{\verb{numAxes}}{[integer] \code{TRUE} if the pointer follows device motion.} \item{\verb{axes}}{[\code{\link{GdkDeviceAxis}}] the length of the \code{axes} list.} \item{\verb{numKeys}}{[integer] a list of \code{\link{GdkDeviceAxis}}, describing the axes of this device.} \item{\verb{keys}}{[\code{\link{GdkDeviceKey}}] the length of the \code{keys} list.} } } \item{\verb{GdkDeviceKey}}{ The \code{GdkDeviceKey} structure contains information about the mapping of one device function button onto a normal X key event. It has the following fields: \describe{ \item{\verb{keyval}}{[numeric] the keyval to generate when the function button is pressed. If this is 0, no keypress will be generated.} \item{\verb{modifiers}}{[\code{\link{GdkModifierType}}] the modifiers set for the generated key event.} } } \item{\verb{GdkDeviceAxis}}{ The \code{GdkDeviceAxis} structure contains information about the range and mapping of a device axis. \describe{ \item{\verb{use}}{[\code{\link{GdkAxisUse}}] specifies how the axis is used.} \item{\verb{min}}{[numeric] the minimal value that will be reported by this axis.} \item{\verb{max}}{[numeric] the maximal value that will be reported by this axis.} } } \item{\verb{GdkTimeCoord}}{ The \code{\link{GdkTimeCoord}} structure stores a single event in a motion history. It contains the following fields: \strong{\verb{GdkTimeCoord} is a \link{transparent-type}.} \describe{ \item{\code{time}}{The timestamp for this event.} \item{\code{axes}}{the values of the device's axes.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{GdkInputSource}}{ An enumeration describing the type of an input device in general terms. \describe{ \item{\verb{mouse}}{the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.)} \item{\verb{pen}}{the device is a stylus of a graphics tablet or similar device.} \item{\verb{eraser}}{the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.} \item{\verb{cursor}}{the device is a graphics tablet "puck" or similar device.} } } \item{\verb{GdkInputMode}}{ An enumeration that describes the mode of an input device. \describe{ \item{\verb{disabled}}{the device is disabled and will not report any events.} \item{\verb{screen}}{the device is enabled. The device's coordinate space maps to the entire screen.} \item{\verb{window}}{the device is enabled. The device's coordinate space is mapped to a single window. The manner in which this window is chosen is undefined, but it will typically be the same way in which the focus window for key events is determined.} } } \item{\verb{GdkAxisUse}}{ An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands. \describe{ \item{\verb{ignore}}{the axis is ignored.} \item{\verb{x}}{the axis is used as the x axis.} \item{\verb{y}}{the axis is used as the y axis.} \item{\verb{pressure}}{the axis is used for pressure information.} \item{\verb{xtilt}}{the axis is used for x tilt information.} \item{\verb{ytilt}}{the axis is used for x tilt information.} \item{\verb{wheel}}{the axis is used for wheel information.} \item{\verb{last}}{a constant equal to the numerically highest axis value.} } } \item{\verb{GdkExtensionMode}}{ An enumeration used to specify which extension events are desired for a particular widget. \describe{ \item{\verb{none}}{no extension events are desired.} \item{\verb{all}}{all extension events are desired.} \item{\verb{cursor}}{extension events are desired only if a cursor will be displayed for the device.} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Input-Devices.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxQueryChildPacking.Rd0000644000176000001440000000146312362217677017043 0ustar ripleyusers\alias{gtkBoxQueryChildPacking} \name{gtkBoxQueryChildPacking} \title{gtkBoxQueryChildPacking} \description{Obtains information about how \code{child} is packed into \code{box}.} \usage{gtkBoxQueryChildPacking(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{child}}{the \code{\link{GtkWidget}} of the child to query} } \value{ A list containing the following elements: \item{\verb{expand}}{pointer to return location for \verb{"expand"} child property} \item{\verb{fill}}{pointer to return location for \verb{"fill"} child property} \item{\verb{padding}}{pointer to return location for \verb{"padding"} child property} \item{\verb{pack.type}}{pointer to return location for \verb{"pack-type"} child property} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentFilter.Rd0000644000176000001440000001114212362217677015345 0ustar ripleyusers\alias{GtkRecentFilter} \alias{GtkRecentFilterInfo} \alias{gtkRecentFilter} \alias{GtkRecentFilterFunc} \alias{GtkRecentFilterFlags} \name{GtkRecentFilter} \title{GtkRecentFilter} \description{A filter for selecting a subset of recently used files} \section{Methods and Functions}{ \code{\link{gtkRecentFilterNew}()}\cr \code{\link{gtkRecentFilterGetName}(object)}\cr \code{\link{gtkRecentFilterSetName}(object, name)}\cr \code{\link{gtkRecentFilterAddMimeType}(object, mime.type)}\cr \code{\link{gtkRecentFilterAddPattern}(object, pattern)}\cr \code{\link{gtkRecentFilterAddPixbufFormats}(object)}\cr \code{\link{gtkRecentFilterAddApplication}(object, application)}\cr \code{\link{gtkRecentFilterAddGroup}(object, group)}\cr \code{\link{gtkRecentFilterAddAge}(object, days)}\cr \code{\link{gtkRecentFilterAddCustom}(object, needed, func, data)}\cr \code{\link{gtkRecentFilterGetNeeded}(object)}\cr \code{\link{gtkRecentFilterFilter}(object, filter.info)}\cr \code{gtkRecentFilter()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkRecentFilter}} \section{Detailed Description}{A \code{\link{GtkRecentFilter}} can be used to restrict the files being shown in a \code{\link{GtkRecentChooser}}. Files can be filtered based on their name (with \code{\link{gtkRecentFilterAddPattern}}), on their mime type (with \code{\link{gtkFileFilterAddMimeType}}), on the application that has registered them (with \code{\link{gtkRecentFilterAddApplication}}), or by a custom filter function (with \code{\link{gtkRecentFilterAddCustom}}). Filtering by mime type handles aliasing and subclassing of mime types; e.g. a filter for text/plain also matches a file with mime type application/rtf, since application/rtf is a subclass of text/plain. Note that \code{\link{GtkRecentFilter}} allows wildcards for the subtype of a mime type, so you can e.g. filter for image/*. Normally, filters are used by adding them to a \code{\link{GtkRecentChooser}}, see \code{\link{gtkRecentChooserAddFilter}}, but it is also possible to manually use a filter on a file with \code{\link{gtkRecentFilterFilter}}. Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{ \item{\verb{GtkRecentFilter}}{ The \code{GtkRecentFilter} struct contains only private fields and should not be directly accessed. } \item{\verb{GtkRecentFilterInfo}}{ A \code{GtkRecentFilterInfo} struct is used to pass information about the tested file to \code{\link{gtkRecentFilterFilter}}. \strong{\verb{GtkRecentFilterInfo} is a \link{transparent-type}.} \describe{ \item{\verb{contains}}{[\code{\link{GtkRecentFilterFlags}}] Flags indicating which of the following fields need are filled} \item{\verb{uri}}{[character] the URI of the file being tested} \item{\verb{displayName}}{[character] the string that will be used to display the file in the recent chooser} \item{\verb{mimeType}}{[character] the mime type of the file} \item{\verb{applications}}{[character] the list of applications that have registered the file} \item{\verb{groups}}{[character] the groups to which the file belongs to} \item{\verb{age}}{[integer] the number of days elapsed since the file has been registered} } } }} \section{Convenient Construction}{\code{gtkRecentFilter} is the equivalent of \code{\link{gtkRecentFilterNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkRecentFilterFlags}}{ These flags indicate what parts of a \code{\link{GtkRecentFilterInfo}} struct are filled or need to be filled. \describe{ \item{\verb{uri}}{the URI of the file being tested} \item{\verb{display-name}}{the string that will be used to display the file in the recent chooser} \item{\verb{mime-type}}{the mime type of the file} \item{\verb{application}}{the list of applications that have registered the file} \item{\verb{group}}{the groups to which the file belongs to} \item{\verb{age}}{the number of days elapsed since the file has been registered} } }}} \section{User Functions}{\describe{\item{\code{GtkRecentFilterFunc(filter.info, user.data)}}{ The type of function that is used with custom filters, see \code{\link{gtkRecentFilterAddCustom}}. \describe{ \item{\code{filter.info}}{a \code{\link{GtkRecentFilterInfo}} that is filled according to the \code{needed} flags passed to \code{\link{gtkRecentFilterAddCustom}}} \item{\code{user.data}}{user data passed to \code{\link{gtkRecentFilterAddCustom}}} } \emph{Returns:} [logical] \code{TRUE} if the file should be displayed }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentFilter.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkRecentChooser}}} \keyword{internal} RGtk2/man/gtkRangeSetRestrictToFillLevel.Rd0000644000176000001440000000111712362217677020352 0ustar ripleyusers\alias{gtkRangeSetRestrictToFillLevel} \name{gtkRangeSetRestrictToFillLevel} \title{gtkRangeSetRestrictToFillLevel} \description{Sets whether the slider is restricted to the fill level. See \code{\link{gtkRangeSetFillLevel}} for a general description of the fill level concept.} \usage{gtkRangeSetRestrictToFillLevel(object, restrict.to.fill.level)} \arguments{ \item{\verb{object}}{A \code{\link{GtkRange}}} \item{\verb{restrict.to.fill.level}}{Whether the fill level restricts slider movement.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectRefAccessibleChild.Rd0000644000176000001440000000132512362217677017600 0ustar ripleyusers\alias{atkObjectRefAccessibleChild} \name{atkObjectRefAccessibleChild} \title{atkObjectRefAccessibleChild} \description{Gets a reference to the specified accessible child of the object. The accessible children are 0-based so the first accessible child is at index 0, the second at index 1 and so on.} \usage{atkObjectRefAccessibleChild(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{i}}{[integer] a gint representing the position of the child, starting from 0} } \value{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} representing the specified accessible child of the accessible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeInt32.Rd0000644000176000001440000000254312362217677016524 0ustar ripleyusers\alias{gFileSetAttributeInt32} \name{gFileSetAttributeInt32} \title{gFileSetAttributeInt32} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_INT32} to \code{value}. If \code{attribute} is of a different type, this operation will fail.} \usage{gFileSetAttributeInt32(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a \verb{integer} containing the attribute's new value.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set to \code{value} in the \code{file}, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetModified.Rd0000644000176000001440000000100612362217677017152 0ustar ripleyusers\alias{gtkRecentInfoGetModified} \name{gtkRecentInfoGetModified} \title{gtkRecentInfoGetModified} \description{Gets the timestamp (seconds from system's Epoch) when the resource was last modified.} \usage{gtkRecentInfoGetModified(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[integer] the number of seconds elapsed from system's Epoch when the resource was last modified, or -1 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerChildGetProperty.Rd0000644000176000001440000000117112362217677020113 0ustar ripleyusers\alias{gtkContainerChildGetProperty} \name{gtkContainerChildGetProperty} \title{gtkContainerChildGetProperty} \description{Gets the value of a child property for \code{child} and \code{container}.} \usage{gtkContainerChildGetProperty(object, child, property.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a widget which is a child of \code{container}} \item{\verb{property.name}}{the name of the property to get} } \value{ A list containing the following elements: \item{\verb{value}}{a location to return the value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelLabelRefetch.Rd0000644000176000001440000000100312362217677016262 0ustar ripleyusers\alias{gtkAccelLabelRefetch} \name{gtkAccelLabelRefetch} \title{gtkAccelLabelRefetch} \description{Recreates the string representing the accelerator keys. This should not be needed since the string is automatically updated whenever accelerators are added or removed from the associated widget.} \usage{gtkAccelLabelRefetch(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelLabel}}.}} \value{[logical] always returns \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyFont.Rd0000644000176000001440000000111212362217677016235 0ustar ripleyusers\alias{gtkWidgetModifyFont} \name{gtkWidgetModifyFont} \title{gtkWidgetModifyFont} \description{Sets the font to use for a widget. All other style values are left untouched. See also \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetModifyFont(object, font.desc = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{font.desc}}{the font description to use, or \code{NULL} to undo the effect of previous calls to \code{\link{gtkWidgetModifyFont}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetSpacing.Rd0000644000176000001440000000073112362217677016525 0ustar ripleyusers\alias{gtkIconViewSetSpacing} \name{gtkIconViewSetSpacing} \title{gtkIconViewSetSpacing} \description{Sets the ::spacing property which specifies the space which is inserted between the cells (i.e. the icon and the text) of an item.} \usage{gtkIconViewSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{spacing}}{the spacing} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetGicon.Rd0000644000176000001440000000060412362217677015655 0ustar ripleyusers\alias{gtkActionGetGicon} \name{gtkActionGetGicon} \title{gtkActionGetGicon} \description{Gets the gicon of \code{action}.} \usage{gtkActionGetGicon(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[\code{\link{GIcon}}] The action's \code{\link{GIcon}} if one is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonGetTitle.Rd0000644000176000001440000000076412362217677020067 0ustar ripleyusers\alias{gtkFileChooserButtonGetTitle} \name{gtkFileChooserButtonGetTitle} \title{gtkFileChooserButtonGetTitle} \description{Retrieves the title of the browse dialog used by \code{button}. The returned value should not be modified or freed.} \usage{gtkFileChooserButtonGetTitle(object)} \arguments{\item{\verb{object}}{the button widget to examine.}} \details{Since 2.6} \value{[character] a pointer to the browse dialog's title.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetTooltipText.Rd0000644000176000001440000000062712362217677017130 0ustar ripleyusers\alias{gtkWidgetGetTooltipText} \name{gtkWidgetGetTooltipText} \title{gtkWidgetGetTooltipText} \description{Gets the contents of the tooltip for \code{widget}.} \usage{gtkWidgetGetTooltipText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.12} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkNotifyStartupComplete.Rd0000644000176000001440000000116012362217677017322 0ustar ripleyusers\alias{gdkNotifyStartupComplete} \name{gdkNotifyStartupComplete} \title{gdkNotifyStartupComplete} \description{Indicates to the GUI environment that the application has finished loading. If the applications opens windows, this function is normally called after opening the application's initial set of windows.} \usage{gdkNotifyStartupComplete()} \details{GTK+ will call this function automatically after opening the first \code{\link{GtkWindow}} unless \code{\link{gtkWindowSetAutoStartupNotification}} is called to disable that feature. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForText.Rd0000644000176000001440000000134512362217677017063 0ustar ripleyusers\alias{gtkClipboardWaitForText} \name{gtkClipboardWaitForText} \title{gtkClipboardWaitForText} \description{Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \value{[character] or \code{NULL} if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into text form.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryInputStreamNew.Rd0000644000176000001440000000051212362217677016575 0ustar ripleyusers\alias{gMemoryInputStreamNew} \name{gMemoryInputStreamNew} \title{gMemoryInputStreamNew} \description{Creates a new empty \code{\link{GMemoryInputStream}}.} \usage{gMemoryInputStreamNew()} \value{[\code{\link{GInputStream}}] a new \code{\link{GInputStream}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetId.Rd0000644000176000001440000000116212362217677014732 0ustar ripleyusers\alias{gAppInfoGetId} \name{gAppInfoGetId} \title{gAppInfoGetId} \description{Gets the ID of an application. An id is a string that identifies the application. The exact format of the id is platform dependent. For instance, on Unix this is the desktop file id from the xdg menu specification.} \usage{gAppInfoGetId(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \details{Note that the returned ID may be \code{NULL}, depending on how the \code{appinfo} has been constructed.} \value{[char] a string containing the application's ID.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeCollapse.Rd0000644000176000001440000000064512362217677015512 0ustar ripleyusers\alias{gtkCTreeCollapse} \name{gtkCTreeCollapse} \title{gtkCTreeCollapse} \description{ Collapse one node. \strong{WARNING: \code{gtk_ctree_collapse} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeCollapse(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetPageHeaderImage.Rd0000644000176000001440000000104612362217677020303 0ustar ripleyusers\alias{gtkAssistantGetPageHeaderImage} \name{gtkAssistantGetPageHeaderImage} \title{gtkAssistantGetPageHeaderImage} \description{Gets the header image for \code{page}.} \usage{gtkAssistantGetPageHeaderImage(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} } \details{Since 2.10} \value{[\code{\link{GdkPixbuf}}] the header image for \code{page}, or \code{NULL} if there's no header image for the page.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetPaperHeight.Rd0000644000176000001440000000111312362217677017472 0ustar ripleyusers\alias{gtkPageSetupGetPaperHeight} \name{gtkPageSetupGetPaperHeight} \title{gtkPageSetupGetPaperHeight} \description{Returns the paper height in units of \code{unit}.} \usage{gtkPageSetupGetPaperHeight(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Note that this function takes orientation, but not margins into consideration. See \code{\link{gtkPageSetupGetPageHeight}}. Since 2.10} \value{[numeric] the paper height.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowSetHadjustment.Rd0000644000176000001440000000071212362217677020642 0ustar ripleyusers\alias{gtkScrolledWindowSetHadjustment} \name{gtkScrolledWindowSetHadjustment} \title{gtkScrolledWindowSetHadjustment} \description{Sets the \code{\link{GtkAdjustment}} for the horizontal scrollbar.} \usage{gtkScrolledWindowSetHadjustment(object, hadjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{hadjustment}}{horizontal scroll adjustment} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActivatableDoSetRelatedAction.Rd0000644000176000001440000000252412362217677020640 0ustar ripleyusers\alias{gtkActivatableDoSetRelatedAction} \name{gtkActivatableDoSetRelatedAction} \title{gtkActivatableDoSetRelatedAction} \description{This is a utility function for \code{\link{GtkActivatable}} implementors.} \usage{gtkActivatableDoSetRelatedAction(object, action)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActivatable}}} \item{\verb{action}}{the \code{\link{GtkAction}} to set} } \details{When implementing \code{\link{GtkActivatable}} you must call this when handling changes of the \verb{"related-action"}, and you must also use this to break references in \code{\link{GObject}}->\code{dispose()}. This function adds a reference to the currently set related action for you, it also makes sure the \code{\link{GtkActivatable}}->\code{update()} method is called when the related \code{\link{GtkAction}} properties change and registers to the action's proxy list. \strong{PLEASE NOTE:} Be careful to call this before setting the local copy of the \code{\link{GtkAction}} property, since this function uses \code{gtkActivatableGetAction()} to retrieve the previous action Since 2.16} \note{Be careful to call this before setting the local copy of the \code{\link{GtkAction}} property, since this function uses \code{gtkActivatableGetAction()} to retrieve the previous action} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableGetChars.Rd0000644000176000001440000000144712362217677016160 0ustar ripleyusers\alias{gtkEditableGetChars} \name{gtkEditableGetChars} \title{gtkEditableGetChars} \description{Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from \code{start.pos} up to, but not including \code{end.pos}. If \code{end.pos} is negative, then the the characters retrieved are those characters from \code{start.pos} to the end of the text.} \usage{gtkEditableGetChars(object, start.pos, end.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{start.pos}}{start of text} \item{\verb{end.pos}}{end of text} } \details{Note that positions are specified in characters, not bytes.} \value{[character] a pointer to the contents of the widget as a string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetGetRelationByType.Rd0000644000176000001440000000116212362217677020536 0ustar ripleyusers\alias{atkRelationSetGetRelationByType} \name{atkRelationSetGetRelationByType} \title{atkRelationSetGetRelationByType} \description{Finds a relation that matches the specified type.} \usage{atkRelationSetGetRelationByType(object, relationship)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] an \code{\link{AtkRelationType}}} } \value{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}}, which is a relation matching the specified type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableGetHomogeneous.Rd0000644000176000001440000000073212362217677016722 0ustar ripleyusers\alias{gtkTableGetHomogeneous} \name{gtkTableGetHomogeneous} \title{gtkTableGetHomogeneous} \description{Returns whether the table cells are all constrained to the same width and height. (See \code{gtkTableSetHomogenous()})} \usage{gtkTableGetHomogeneous(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTable}}}} \value{[logical] \code{TRUE} if the cells are all constrained to the same size} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemGetUseUnderline.Rd0000644000176000001440000000103012362217677017520 0ustar ripleyusers\alias{gtkMenuItemGetUseUnderline} \name{gtkMenuItemGetUseUnderline} \title{gtkMenuItemGetUseUnderline} \description{Checks if an underline in the text indicates the next character should be used for the mnemonic accelerator key.} \usage{gtkMenuItemGetUseUnderline(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuItem}}}} \details{Since 2.16} \value{[logical] \code{TRUE} if an embedded underline in the label indicates the mnemonic accelerator key.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonGetTitle.Rd0000644000176000001440000000064012362217677016734 0ustar ripleyusers\alias{gtkColorButtonGetTitle} \name{gtkColorButtonGetTitle} \title{gtkColorButtonGetTitle} \description{Gets the title of the color selection dialog.} \usage{gtkColorButtonGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorButton}}}} \details{Since 2.4} \value{[character] An internal string, do not free the return value} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetRowSeparatorFunc.Rd0000644000176000001440000000071612362217677020403 0ustar ripleyusers\alias{gtkTreeViewGetRowSeparatorFunc} \name{gtkTreeViewGetRowSeparatorFunc} \title{gtkTreeViewGetRowSeparatorFunc} \description{Returns the current row separator function.} \usage{gtkTreeViewGetRowSeparatorFunc(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.6} \value{[\code{\link{GtkTreeViewRowSeparatorFunc}}] the current row separator function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceGetHeight.Rd0000644000176000001440000000066012362217677017456 0ustar ripleyusers\alias{cairoImageSurfaceGetHeight} \name{cairoImageSurfaceGetHeight} \title{cairoImageSurfaceGetHeight} \description{Get the height of the image surface in pixels.} \usage{cairoImageSurfaceGetHeight(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_image_surface_t}}} \value{[integer] the height of the surface in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentGetDocument.Rd0000644000176000001440000000110212362217677016721 0ustar ripleyusers\alias{atkDocumentGetDocument} \name{atkDocumentGetDocument} \title{atkDocumentGetDocument} \description{Gets a \code{gpointer} that points to an instance of the DOM. It is up to the caller to check atk_document_get_type to determine how to cast this pointer.} \usage{atkDocumentGetDocument(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface}} \value{[R object] a \code{gpointer} that points to an instance of the DOM.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawDiamond.Rd0000644000176000001440000000170312362217677015212 0ustar ripleyusers\alias{gtkDrawDiamond} \name{gtkDrawDiamond} \title{gtkDrawDiamond} \description{ Draws a diamond in the given rectangle on \code{window} using the given parameters. \strong{WARNING: \code{gtk_draw_diamond} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintDiamond}} instead.} } \usage{gtkDrawDiamond(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the rectangle to draw the diamond in} \item{\verb{y}}{y origin of the rectangle to draw the diamond in} \item{\verb{width}}{width of the rectangle to draw the diamond in} \item{\verb{height}}{height of the rectangle to draw the diamond in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkOldEditable.Rd0000644000176000001440000001063412362217677015134 0ustar ripleyusers\alias{GtkOldEditable} \alias{GtkTextFunction} \name{GtkOldEditable} \title{GtkOldEditable} \description{Base class for text-editing widgets} \section{Methods and Functions}{ \code{\link{gtkOldEditableClaimSelection}(object, claim, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkOldEditableChanged}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkOldEditable +----GtkText}} \section{Interfaces}{GtkOldEditable implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkEditable}}.} \section{Detailed Description}{GtkOldEditable has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use the \code{\link{GtkEditable}} interface instead.} \section{Structures}{\describe{\item{\verb{GtkOldEditable}}{ \strong{WARNING: \code{GtkOldEditable} is deprecated and should not be used in newly-written code.} \emph{undocumented } }}} \section{User Functions}{\describe{\item{\code{GtkTextFunction()}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{activate(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{copy-clipboard(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cut-clipboard(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{kill-char(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{kill-line(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{kill-word(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-page(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-to-column(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-to-row(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-word(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{paste-clipboard(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-editable(oldeditable, user.data)}}{ \emph{undocumented } \describe{ \item{\code{oldeditable}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{editable} [logical : Read / Write]}{ Default value: FALSE } \item{\verb{text-position} [integer : Read / Write]}{ Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkOldEditable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTipsQuerySetLabels.Rd0000644000176000001440000000142412362217677016565 0ustar ripleyusers\alias{gtkTipsQuerySetLabels} \name{gtkTipsQuerySetLabels} \title{gtkTipsQuerySetLabels} \description{ Sets the text to display when the query is not in effect, and the text to display when the query is in effect but the widget beneath the pointer has no tooltip. \strong{WARNING: \code{gtk_tips_query_set_labels} is deprecated and should not be used in newly-written code.} } \usage{gtkTipsQuerySetLabels(object, label.inactive, label.no.tip)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTipsQuery}}.} \item{\verb{label.inactive}}{the text to display when the query is not running.} \item{\verb{label.no.tip}}{the text to display when the query is running but the widget beneath the pointer has no tooltip.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleGetLayout.Rd0000644000176000001440000000074712362217677015715 0ustar ripleyusers\alias{gtkScaleGetLayout} \name{gtkScaleGetLayout} \title{gtkScaleGetLayout} \description{Gets the \code{\link{PangoLayout}} used to display the scale.} \usage{gtkScaleGetLayout(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkScale}}}} \details{Since 2.4} \value{[\code{\link{PangoLayout}}] the \code{\link{PangoLayout}} for this scale, or \code{NULL} if the \verb{"draw-value"} property is \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarUnsetIconSize.Rd0000644000176000001440000000064212362217677017107 0ustar ripleyusers\alias{gtkToolbarUnsetIconSize} \name{gtkToolbarUnsetIconSize} \title{gtkToolbarUnsetIconSize} \description{Unsets toolbar icon size set with \code{\link{gtkToolbarSetIconSize}}, so that user preferences will be used to determine the icon size.} \usage{gtkToolbarUnsetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatGetDescription.Rd0000644000176000001440000000064012362217677020252 0ustar ripleyusers\alias{gdkPixbufFormatGetDescription} \name{gdkPixbufFormatGetDescription} \title{gdkPixbufFormatGetDescription} \description{Returns a description of the format.} \usage{gdkPixbufFormatGetDescription(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.2} \value{[character] a description of the format.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowIsViewable.Rd0000644000176000001440000000100712362217677016220 0ustar ripleyusers\alias{gdkWindowIsViewable} \name{gdkWindowIsViewable} \title{gdkWindowIsViewable} \description{Check if the window and all ancestors of the window are mapped. (This is not necessarily "viewable" in the X sense, since we only check as far as we have GDK window parents, not to the root window.)} \usage{gdkWindowIsViewable(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[logical] \code{TRUE} if the window is viewable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionUnselectAll.Rd0000644000176000001440000000051112362217677017716 0ustar ripleyusers\alias{gtkTreeSelectionUnselectAll} \name{gtkTreeSelectionUnselectAll} \title{gtkTreeSelectionUnselectAll} \description{Unselects all the nodes.} \usage{gtkTreeSelectionUnselectAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextWidth.Rd0000644000176000001440000000105412362217677014724 0ustar ripleyusers\alias{gdkTextWidth} \name{gdkTextWidth} \title{gdkTextWidth} \description{ Determines the width of a given string. \strong{WARNING: \code{gdk_text_width} is deprecated and should not be used in newly-written code.} } \usage{gdkTextWidth(object, text, text.length = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{text}}{the text to measure.} \item{\verb{text.length}}{the length of the text in bytes.} } \value{[integer] the width of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetWindow.Rd0000644000176000001440000000150012362217677016103 0ustar ripleyusers\alias{gtkWidgetSetWindow} \name{gtkWidgetSetWindow} \title{gtkWidgetSetWindow} \description{Sets a widget's window. This function should only be used in a widget's GtkWidget::\code{realize()} implementation. The \code{window} passed is usually either new window created with \code{\link{gdkWindowNew}}, or the window of its parent widget as returned by \code{\link{gtkWidgetGetParentWindow}}.} \usage{gtkWidgetSetWindow(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} } \details{Widgets must indicate whether they will create their own \code{\link{GdkWindow}} by calling \code{\link{gtkWidgetSetHasWindow}}. This is usually done in the widget's \code{init()} function. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeStringv.Rd0000644000176000001440000000113712362217677020057 0ustar ripleyusers\alias{gFileInfoGetAttributeStringv} \name{gFileInfoGetAttributeStringv} \title{gFileInfoGetAttributeStringv} \description{Gets the value of a stringv attribute. If the attribute does not contain a stringv, \code{NULL} will be returned.} \usage{gFileInfoGetAttributeStringv(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \details{Since 2.22} \value{[char] the contents of the \code{attribute} value as a stringv, or \code{NULL} otherwise. Do not free.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnCellGetPosition.Rd0000644000176000001440000000165112362217677020720 0ustar ripleyusers\alias{gtkTreeViewColumnCellGetPosition} \name{gtkTreeViewColumnCellGetPosition} \title{gtkTreeViewColumnCellGetPosition} \description{Obtains the horizontal position and size of a cell in a column. If the cell is not found in the column, \code{start.pos} and \code{width} are not changed and \code{FALSE} is returned.} \usage{gtkTreeViewColumnCellGetPosition(object, cell.renderer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}} \item{\verb{cell.renderer}}{a \code{\link{GtkCellRenderer}}} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{cell} belongs to \code{tree.column}.} \item{\verb{start.pos}}{return location for the horizontal position of \code{cell} within \code{tree.column}, may be \code{NULL}} \item{\verb{width}}{return location for the width of \code{cell}, may be \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetOverwrite.Rd0000644000176000001440000000071512362217677017165 0ustar ripleyusers\alias{gtkTextViewSetOverwrite} \name{gtkTextViewSetOverwrite} \title{gtkTextViewSetOverwrite} \description{Changes the \code{\link{GtkTextView}} overwrite mode.} \usage{gtkTextViewSetOverwrite(object, overwrite)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{overwrite}}{\code{TRUE} to turn on overwrite mode, \code{FALSE} to turn it off} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcSetDefaultFiles.Rd0000644000176000001440000000053511766145227016331 0ustar ripleyusers\alias{gtkRcSetDefaultFiles} \name{gtkRcSetDefaultFiles} \title{gtkRcSetDefaultFiles} \description{Sets the list of files that GTK+ will read at the end of \code{\link{gtkInit}}.} \usage{gtkRcSetDefaultFiles(filenames)} \arguments{\item{\verb{filenames}}{A list of filenames.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewInsertColumn.Rd0000644000176000001440000000144512362217677017121 0ustar ripleyusers\alias{gtkTreeViewInsertColumn} \name{gtkTreeViewInsertColumn} \title{gtkTreeViewInsertColumn} \description{This inserts the \code{column} into the \code{tree.view} at \code{position}. If \code{position} is -1, then the column is inserted at the end. If \code{tree.view} has "fixed_height" mode enabled, then \code{column} must have its "sizing" property set to be GTK_TREE_VIEW_COLUMN_FIXED.} \usage{gtkTreeViewInsertColumn(object, column, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to be inserted.} \item{\verb{position}}{The position to insert \code{column} in.} } \value{[integer] The number of columns in \code{tree.view} after insertion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEjectMountableWithOperationFinish.Rd0000644000176000001440000000147512362217677022047 0ustar ripleyusers\alias{gFileEjectMountableWithOperationFinish} \name{gFileEjectMountableWithOperationFinish} \title{gFileEjectMountableWithOperationFinish} \description{Finishes an asynchronous eject operation started by \code{\link{gFileEjectMountableWithOperation}}.} \usage{gFileEjectMountableWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{file} was ejected successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreSetValuesv.Rd0000644000176000001440000000147312362217677016763 0ustar ripleyusers\alias{gtkTreeStoreSetValuesv} \name{gtkTreeStoreSetValuesv} \title{gtkTreeStoreSetValuesv} \description{A variant of \code{gtkTreeStoreSetValist()} which takes the columns and values as two lists, instead of varargs. This function is mainly intended for language bindings or in case the number of columns to change is not known until run-time.} \usage{gtkTreeStoreSetValuesv(object, iter, columns, values)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} for the row being modified} \item{\verb{columns}}{a list of column numbers. \emph{[ \acronym{array} length=n_values]}} \item{\verb{values}}{a list of GValues. \emph{[ \acronym{array} length=n_values]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetGraphicsExpose.Rd0000644000176000001440000000150012362217677017362 0ustar ripleyusers\alias{gdkEventGetGraphicsExpose} \name{gdkEventGetGraphicsExpose} \title{gdkEventGetGraphicsExpose} \description{ Waits for a GraphicsExpose or NoExpose event from the X server. This is used in the \verb{GtkText} and \code{\link{GtkCList}} widgets in GTK+ to make sure any GraphicsExpose events are handled before the widget is scrolled. \strong{WARNING: \code{gdk_event_get_graphics_expose} has been deprecated since version 2.18 and should not be used in newly-written code. } } \usage{gdkEventGetGraphicsExpose(window)} \arguments{\item{\verb{window}}{the \code{\link{GdkWindow}} to wait for the events for.}} \value{[\code{\link{GdkEvent}}] a \code{\link{GdkEventExpose}} if a GraphicsExpose was received, or \code{NULL} if a NoExpose event was received.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPrevPage.Rd0000644000176000001440000000054012362217677016231 0ustar ripleyusers\alias{gtkNotebookPrevPage} \name{gtkNotebookPrevPage} \title{gtkNotebookPrevPage} \description{Switches to the previous page. Nothing happens if the current page is the first page.} \usage{gtkNotebookPrevPage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreIsAncestor.Rd0000644000176000001440000000122712362217677016731 0ustar ripleyusers\alias{gtkTreeStoreIsAncestor} \name{gtkTreeStoreIsAncestor} \title{gtkTreeStoreIsAncestor} \description{Returns \code{TRUE} if \code{iter} is an ancestor of \code{descendant}. That is, \code{iter} is the parent (or grandparent or great-grandparent) of \code{descendant}.} \usage{gtkTreeStoreIsAncestor(object, iter, descendant)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}}} \item{\verb{descendant}}{A valid \code{\link{GtkTreeIter}}} } \value{[logical] \code{TRUE}, if \code{iter} is an ancestor of \code{descendant}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageToBytes.Rd0000644000176000001440000000111112362217677016376 0ustar ripleyusers\alias{pangoCoverageToBytes} \name{pangoCoverageToBytes} \title{pangoCoverageToBytes} \description{Convert a \code{\link{PangoCoverage}} structure into a flat binary format} \usage{pangoCoverageToBytes(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCoverage}}] a \code{\link{PangoCoverage}}}} \value{ A list containing the following elements: \item{\verb{bytes}}{[raw] location to store result (must be freed with \code{gFree()})} \item{\verb{n.bytes}}{[integer] location to store size of result} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSelectAll.Rd0000644000176000001440000000060312362217677017355 0ustar ripleyusers\alias{gtkTreeSelectionSelectAll} \name{gtkTreeSelectionSelectAll} \title{gtkTreeSelectionSelectAll} \description{Selects all the nodes. \code{selection} must be set to \verb{GTK_SELECTION_MULTIPLE} mode.} \usage{gtkTreeSelectionSelectAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFindParagraphBoundary.Rd0000644000176000001440000000225712362217677017557 0ustar ripleyusers\alias{pangoFindParagraphBoundary} \name{pangoFindParagraphBoundary} \title{pangoFindParagraphBoundary} \description{Locates a paragraph boundary in \code{text}. A boundary is caused by delimiter characters, such as a newline, carriage return, carriage return-newline pair, or Unicode paragraph separator character. The index of the run of delimiters is returned in \code{paragraph.delimiter.index}. The index of the start of the paragraph (index after all delimiters) is stored in \code{next.paragraph.start}.} \usage{pangoFindParagraphBoundary(text, length = -1)} \arguments{ \item{\verb{text}}{[character] UTF-8 text} \item{\verb{length}}{[integer] length of \code{text} in bytes, or -1 if nul-terminated} } \details{If no delimiters are found, both \code{paragraph.delimiter.index} and \code{next.paragraph.start} are filled with the length of \code{text} (an index one off the end). } \value{ A list containing the following elements: \item{\verb{paragraph.delimiter.index}}{[integer] return location for index of delimiter} \item{\verb{next.paragraph.start}}{[integer] return location for start of next paragraph} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewForwardDisplayLineEnd.Rd0000644000176000001440000000172412362217677020715 0ustar ripleyusers\alias{gtkTextViewForwardDisplayLineEnd} \name{gtkTextViewForwardDisplayLineEnd} \title{gtkTextViewForwardDisplayLineEnd} \description{Moves the given \code{iter} forward to the next display line end. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the \code{\link{GtkTextBuffer}}.} \usage{gtkTextViewForwardDisplayLineEnd(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if \code{iter} was moved and is not on the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetAccessible.Rd0000644000176000001440000000217412362217677016665 0ustar ripleyusers\alias{gtkWidgetGetAccessible} \name{gtkWidgetGetAccessible} \title{gtkWidgetGetAccessible} \description{Returns the accessible object that describes the widget to an assistive technology. } \usage{gtkWidgetGetAccessible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{If no accessibility library is loaded (i.e. no ATK implementation library is loaded via \env{GTK_MODULES} or via another application library, such as libgnome), then this \code{\link{AtkObject}} instance may be a no-op. Likewise, if no class-specific \code{\link{AtkObject}} implementation is available for the widget instance in question, it will inherit an \code{\link{AtkObject}} implementation from the first ancestor class for which such an implementation is defined. The documentation of the ATK (\url{http://developer.gnome.org/doc/API/2.0/atk/index.html}) library contains more information about accessible objects and their uses.} \value{[\code{\link{AtkObject}}] the \code{\link{AtkObject}} associated with \code{widget}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetListSort.Rd0000644000176000001440000000063512362217677016112 0ustar ripleyusers\alias{gSrvTargetListSort} \name{gSrvTargetListSort} \title{gSrvTargetListSort} \description{Sorts \code{targets} in place according to the algorithm in RFC 2782.} \usage{gSrvTargetListSort(targets)} \arguments{\item{\verb{targets}}{a \verb{list} of \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[list] the head of the sorted list.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetModel.Rd0000644000176000001440000000077212362217677016172 0ustar ripleyusers\alias{gtkIconViewGetModel} \name{gtkIconViewGetModel} \title{gtkIconViewGetModel} \description{Returns the model the \code{\link{GtkIconView}} is based on. Returns \code{NULL} if the model is unset.} \usage{gtkIconViewGetModel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[\code{\link{GtkTreeModel}}] A \code{\link{GtkTreeModel}}, or \code{NULL} if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetUsername.Rd0000644000176000001440000000062712362217677017625 0ustar ripleyusers\alias{gMountOperationSetUsername} \name{gMountOperationSetUsername} \title{gMountOperationSetUsername} \description{Sets the user name within \code{op} to \code{username}.} \usage{gMountOperationSetUsername(object, username)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{username}}{input username.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountRemountFinish.Rd0000644000176000001440000000147612362217677016306 0ustar ripleyusers\alias{gMountRemountFinish} \name{gMountRemountFinish} \title{gMountRemountFinish} \description{Finishes remounting a mount. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gMountRemountFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mount was successfully remounted. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFlip.Rd0000644000176000001440000000110212362217677015042 0ustar ripleyusers\alias{gdkPixbufFlip} \name{gdkPixbufFlip} \title{gdkPixbufFlip} \description{Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf.} \usage{gdkPixbufFlip(object, horizontal)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{horizontal}}{\code{TRUE} to flip horizontally, \code{FALSE} to flip vertically} } \details{Since 2.6} \value{[\code{\link{GdkPixbuf}}] the new \code{\link{GdkPixbuf}}, or \code{NULL} if not enough memory could be allocated for it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetName.Rd0000644000176000001440000000061012362217677015473 0ustar ripleyusers\alias{gtkActionGetName} \name{gtkActionGetName} \title{gtkActionGetName} \description{Returns the name of the action.} \usage{gtkActionGetName(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[character] the name of the action. The string belongs to GTK+ and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetTableNewFromList.Rd0000644000176000001440000000115312362217677017350 0ustar ripleyusers\alias{gtkTargetTableNewFromList} \name{gtkTargetTableNewFromList} \title{gtkTargetTableNewFromList} \description{This function creates an \code{\link{GtkTargetEntry}} list that contains the same targets as the passed \code{list}.} \usage{gtkTargetTableNewFromList(list)} \arguments{\item{\verb{list}}{a \code{\link{GtkTargetList}}}} \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkTargetEntry}}] the new table.} \item{\verb{n.targets}}{return location for the number ot targets in the table} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewEnableModelDragDest.Rd0000644000176000001440000000116712362217677020256 0ustar ripleyusers\alias{gtkIconViewEnableModelDragDest} \name{gtkIconViewEnableModelDragDest} \title{gtkIconViewEnableModelDragDest} \description{Turns \code{icon.view} into a drop destination for automatic DND. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkIconViewEnableModelDragDest(object, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{targets}}{the table of targets that the drag will support} \item{\verb{actions}}{the bitmask of possible actions for a drag to this widget} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGObjectAccessibleForObject.Rd0000644000176000001440000000075112362217677020106 0ustar ripleyusers\alias{atkGObjectAccessibleForObject} \name{atkGObjectAccessibleForObject} \title{atkGObjectAccessibleForObject} \description{Gets the accessible object for the specified \code{obj}.} \usage{atkGObjectAccessibleForObject(obj)} \arguments{\item{\verb{obj}}{[\code{\link{GObject}}] a \code{\link{GObject}}}} \value{[\code{\link{AtkObject}}] a \code{\link{AtkObject}} which is the accessible object for the \code{obj}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeMask.Rd0000644000176000001440000000064712362217677017337 0ustar ripleyusers\alias{gFileInfoSetAttributeMask} \name{gFileInfoSetAttributeMask} \title{gFileInfoSetAttributeMask} \description{Sets \code{mask} on \code{info} to match specific attribute types.} \usage{gFileInfoSetAttributeMask(object, mask)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{mask}}{a \code{\link{GFileAttributeMatcher}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewMapExpandedRows.Rd0000644000176000001440000000071312362217677017535 0ustar ripleyusers\alias{gtkTreeViewMapExpandedRows} \name{gtkTreeViewMapExpandedRows} \title{gtkTreeViewMapExpandedRows} \description{Calls \code{func} on all expanded rows.} \usage{gtkTreeViewMapExpandedRows(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{func}}{A function to be called} \item{\verb{data}}{User data to be passed to the function.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GLoadableIcon.Rd0000644000176000001440000000166612362217677014746 0ustar ripleyusers\alias{GLoadableIcon} \name{GLoadableIcon} \title{GLoadableIcon} \description{Loadable Icons} \section{Methods and Functions}{ \code{\link{gLoadableIconLoad}(object, size, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gLoadableIconLoadAsync}(object, size, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gLoadableIconLoadFinish}(object, res, type, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GLoadableIcon}} \section{Implementations}{GLoadableIcon is implemented by \code{\link{GFileIcon}}.} \section{Detailed Description}{Extends the \code{\link{GIcon}} interface and adds the ability to load icons from streams.} \section{Structures}{\describe{\item{\verb{GLoadableIcon}}{ Generic type for all kinds of icons that can be loaded as a stream. }}} \references{\url{http://library.gnome.org/devel//gio/GLoadableIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupFromAccelClosure.Rd0000644000176000001440000000110412362217677020151 0ustar ripleyusers\alias{gtkAccelGroupFromAccelClosure} \name{gtkAccelGroupFromAccelClosure} \title{gtkAccelGroupFromAccelClosure} \description{Finds the \code{\link{GtkAccelGroup}} to which \code{closure} is connected; see \code{\link{gtkAccelGroupConnect}}.} \usage{gtkAccelGroupFromAccelClosure(closure)} \arguments{\item{\verb{closure}}{a \code{\link{GClosure}}}} \value{[\code{\link{GtkAccelGroup}}] the \code{\link{GtkAccelGroup}} to which \code{closure} is connected, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDoubleBuffered.Rd0000644000176000001440000000073112362217677017502 0ustar ripleyusers\alias{gtkWidgetGetDoubleBuffered} \name{gtkWidgetGetDoubleBuffered} \title{gtkWidgetGetDoubleBuffered} \description{Determines whether the widget is double buffered.} \usage{gtkWidgetGetDoubleBuffered(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{See \code{\link{gtkWidgetSetDoubleBuffered}} Since 2.18} \value{[logical] \code{TRUE} if the widget is double buffered} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorClose.Rd0000644000176000001440000000173012362217677016371 0ustar ripleyusers\alias{gFileEnumeratorClose} \name{gFileEnumeratorClose} \title{gFileEnumeratorClose} \description{Releases all resources used by this enumerator, making the enumerator return \code{G_IO_ERROR_CLOSED} on all calls.} \usage{gFileEnumeratorClose(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This will be automatically called when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible.} \value{ A list containing the following elements: \item{retval}{[logical] \verb{TRUE} on success or \verb{FALSE} on error.} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetSize.Rd0000644000176000001440000000123012362217677016374 0ustar ripleyusers\alias{gtkIconSourceSetSize} \name{gtkIconSourceSetSize} \title{gtkIconSourceSetSize} \description{Sets the icon size this icon source is intended to be used with.} \usage{gtkIconSourceSetSize(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{size}}{icon size this source applies to. \emph{[ \acronym{type} int]}} } \details{Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually call \code{\link{gtkIconSourceSetSizeWildcarded}} to un-wildcard it in addition to calling this function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIOStreamQueryInfoFinish.Rd0000644000176000001440000000140512362217677017747 0ustar ripleyusers\alias{gFileIOStreamQueryInfoFinish} \name{gFileIOStreamQueryInfoFinish} \title{gFileIOStreamQueryInfoFinish} \description{Finalizes the asynchronous query started by \code{\link{gFileIOStreamQueryInfoAsync}}.} \usage{gFileIOStreamQueryInfoFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileIOStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] A \code{\link{GFileInfo}} for the finished query.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeMoveto.Rd0000644000176000001440000000132012362217677016016 0ustar ripleyusers\alias{gtkCTreeNodeMoveto} \name{gtkCTreeNodeMoveto} \title{gtkCTreeNodeMoveto} \description{ This function makes the given column of the given node visible by scrolling. \strong{WARNING: \code{gtk_ctree_node_moveto} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeMoveto(object, node, column, row.align, col.align)} \arguments{ \item{\verb{object}}{The node to be made visible.} \item{\verb{node}}{The column to be made visible.} \item{\verb{column}}{Where in the window the row should appear.} \item{\verb{row.align}}{Where in the window the column should appear.} \item{\verb{col.align}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowBeginPaintRect.Rd0000644000176000001440000000101012362217677017016 0ustar ripleyusers\alias{gdkWindowBeginPaintRect} \name{gdkWindowBeginPaintRect} \title{gdkWindowBeginPaintRect} \description{A convenience wrapper around \code{\link{gdkWindowBeginPaintRegion}} which creates a rectangular region for you. See \code{\link{gdkWindowBeginPaintRegion}} for details.} \usage{gdkWindowBeginPaintRect(object, rectangle)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{rectangle}}{rectangle you intend to draw to} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableNew.Rd0000644000176000001440000000054212362217677016023 0ustar ripleyusers\alias{gtkTextTagTableNew} \name{gtkTextTagTableNew} \title{gtkTextTagTableNew} \description{Creates a new \code{\link{GtkTextTagTable}}. The table contains no tags by default.} \usage{gtkTextTagTableNew()} \value{[\code{\link{GtkTextTagTable}}] a new \code{\link{GtkTextTagTable}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintString.Rd0000644000176000001440000000174612362217677015272 0ustar ripleyusers\alias{gtkPaintString} \name{gtkPaintString} \title{gtkPaintString} \description{ Draws a text string on \code{window} with the given parameters. \strong{WARNING: \code{gtk_paint_string} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintLayout}} instead.} } \usage{gtkPaintString(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, string)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin} \item{\verb{y}}{y origin} \item{\verb{string}}{the string to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileNewForPath.Rd0000644000176000001440000000100612362217677015273 0ustar ripleyusers\alias{gFileNewForPath} \name{gFileNewForPath} \title{gFileNewForPath} \description{Constructs a \code{\link{GFile}} for a given path. This operation never fails, but the returned object might not support any I/O operation if \code{path} is malformed.} \usage{gFileNewForPath(path)} \arguments{\item{\verb{path}}{a string containing a relative or absolute path.}} \value{[\code{\link{GFile}}] a new \code{\link{GFile}} for the given \code{path}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetFont.Rd0000644000176000001440000000105112362217677014571 0ustar ripleyusers\alias{gdkGCSetFont} \name{gdkGCSetFont} \title{gdkGCSetFont} \description{ Sets the font for a graphics context. (Note that all text-drawing functions in GDK take a \code{font} argument; the value set here is used when that argument is \code{NULL}.) \strong{WARNING: \code{gdk_gc_set_font} is deprecated and should not be used in newly-written code.} } \usage{gdkGCSetFont(object, font)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{font}}{the new font.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetStyle.Rd0000644000176000001440000000065212362217677015727 0ustar ripleyusers\alias{gtkWidgetGetStyle} \name{gtkWidgetGetStyle} \title{gtkWidgetGetStyle} \description{Simply an accessor function that returns \code{widget->style}.} \usage{gtkWidgetGetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GtkStyle}}] the widget's \code{\link{GtkStyle}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutPut.Rd0000644000176000001440000000102612362217677014765 0ustar ripleyusers\alias{gtkLayoutPut} \name{gtkLayoutPut} \title{gtkLayoutPut} \description{Adds \code{child.widget} to \code{layout}, at position (\code{x},\code{y}). \code{layout} becomes the new parent container of \code{child.widget}.} \usage{gtkLayoutPut(object, child.widget, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLayout}}} \item{\verb{child.widget}}{child widget} \item{\verb{x}}{X position of child widget} \item{\verb{y}}{Y position of child widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImageNew.Rd0000644000176000001440000000154312362217677014477 0ustar ripleyusers\alias{gdkImageNew} \name{gdkImageNew} \title{gdkImageNew} \description{Creates a new \code{\link{GdkImage}}.} \usage{gdkImageNew(type, visual, width, height)} \arguments{ \item{\verb{type}}{the type of the \code{\link{GdkImage}}, one of \code{GDK_IMAGE_NORMAL}, \code{GDK_IMAGE_SHARED} and \code{GDK_IMAGE_FASTEST}. \code{GDK_IMAGE_FASTEST} is probably the best choice, since it will try creating a \code{GDK_IMAGE_SHARED} image first and if that fails it will then use \code{GDK_IMAGE_NORMAL}.} \item{\verb{visual}}{the \code{\link{GdkVisual}} to use for the image.} \item{\verb{width}}{the width of the image in pixels.} \item{\verb{height}}{the height of the image in pixels.} } \value{[\code{\link{GdkImage}}] a new \code{\link{GdkImage}}, or \code{NULL} if the image could not be created.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientGetSocketType.Rd0000644000176000001440000000074712362217677017533 0ustar ripleyusers\alias{gSocketClientGetSocketType} \name{gSocketClientGetSocketType} \title{gSocketClientGetSocketType} \description{Gets the socket type of the socket client.} \usage{gSocketClientGetSocketType(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketClient}}.}} \details{See \code{\link{gSocketClientSetSocketType}} for details. Since 2.22} \value{[\code{\link{GSocketType}}] a \code{\link{GSocketFamily}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetScreen.Rd0000644000176000001440000000076612362217677016114 0ustar ripleyusers\alias{gtkWindowSetScreen} \name{gtkWindowSetScreen} \title{gtkWindowSetScreen} \description{Sets the \code{\link{GdkScreen}} where the \code{window} is displayed; if the window is already mapped, it will be unmapped, and then remapped on the new screen.} \usage{gtkWindowSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}.} \item{\verb{screen}}{a \code{\link{GdkScreen}}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttributeCopy.Rd0000644000176000001440000000064012362217677016135 0ustar ripleyusers\alias{pangoAttributeCopy} \name{pangoAttributeCopy} \title{pangoAttributeCopy} \description{Make a copy of an attribute.} \usage{pangoAttributeCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttribute}}] a \code{\link{PangoAttribute}}}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetMetrics.Rd0000644000176000001440000000314712362217677016757 0ustar ripleyusers\alias{pangoContextGetMetrics} \name{pangoContextGetMetrics} \title{pangoContextGetMetrics} \description{Get overall metric information for a particular font description. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.} \usage{pangoContextGetMetrics(object, desc, language = NULL)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} structure. \code{NULL} means that the font description from the context will be used.} \item{\verb{language}}{[\code{\link{PangoLanguage}}] language tag used to determine which script to get the metrics for. \code{NULL} means that the language tag from the context will be used. If no language tag is set on the context, metrics for the default language (as determined by \code{\link{pangoLanguageGetDefault}}) will be returned.} } \details{The \code{\link{PangoFontDescription}} is interpreted in the same way as by \code{\link{pangoItemize}}, and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. } \value{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GLibIOEnums.Rd0000644000176000001440000000433711766145227014374 0ustar ripleyusers\name{GLibIOEnums} \alias{GSeekType} \alias{GIOCondition} \alias{GPriority} \title{GLib IO Symbols} \description{ Enumerations from GLib used by GIO } \details{ \describe{ \item{\verb{GSeekType}}{ An enumeration specifying the base position for a seek operation \describe{ \item{\verb{cur}}{The current position in the file. } \item{\verb{set}}{The start of the file.} \item{\verb{end}}{The end of the file.} } } \item{\verb{GIOCondition}}{ A bitwise combination representing a condition to watch for on an event source. \describe{ \item{\verb{in}}{There is data to read. } \item{\verb{out}}{Data can be written (unblocked).} \item{\verb{pri}}{There is urgent data to read.} \item{\verb{err}}{Error condition.} \item{\verb{hup}}{Hung up (the connection has been broken, usually for pipes and sockets). } \item{\verb{nval}}{Invalid request. The file descriptor is not open.} } } \item{\verb{GPriority}}{ Convenient constants for indicating the priority of I/O operations. \describe{ \item{\verb{high}}{Use this for high priority event sources. It is not used within GLib or GTK+.} \item{\verb{default}}{Use this for default priority event sources. In GLib this priority is used when adding timeout functions with g_timeout_add(). In GDK this priority is used for events from the X server. } \item{\verb{high-idle}}{Use this for high priority idle functions. GTK+ uses G_PRIORITY_HIGH_IDLE + 10 for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is done to ensure that any pending resizes are processed before any pending redraws, so that widgets are not redrawn twice unnecessarily.) } \item{\verb{default-idle}}{Use this for default priority idle functions. In GLib this priority is used when adding idle functions with g_idle_add(). } \item{\verb{low}}{Use this for very low priority background tasks. It is not used within GLib or GTK+. } } } } } \keyword{internal} \author{Michael Lawrence}RGtk2/man/RGtkDataFrame.Rd0000644000176000001440000000723611766145227014734 0ustar ripleyusers\name{RGtkDataFrame} \alias{RGtkDataFrame} \alias{[.RGtkDataFrame} \alias{[<-.RGtkDataFrame} \alias{as.data.frame.RGtkDataFrame} \alias{rGtkDataFrameAppendColumns} \alias{rGtkDataFrameAppendRows} \alias{rGtkDataFrame} \alias{rGtkDataFrameNew} \alias{dim.RGtkDataFrame} \alias{dimnames.RGtkDataFrame} \alias{dimnames<-.RGtkDataFrame} \alias{rGtkDataFrameSetFrame} \title{The RGtkDataFrame model} \description{A \code{\link{GtkTreeModel}} implementation backed by an R data frame} \usage{ rGtkDataFrame(frame = data.frame()) rGtkDataFrameNew(frame = data.frame()) rGtkDataFrameAppendColumns(x, ...) rGtkDataFrameAppendRows(x, ...) \method{as.data.frame}{RGtkDataFrame}(x, ...) rGtkDataFrameSetFrame(x, frame = data.frame()) \method{[}{RGtkDataFrame}(x, i, j, drop = T) \method{[}{RGtkDataFrame}(x, i, j) <- value \method{dim}{RGtkDataFrame}(x, ...) \method{dimnames}{RGtkDataFrame}(x, ...) \method{dimnames}{RGtkDataFrame}(x) <- value } \arguments{ \item{frame}{The frame to use as the backing store of the model} \item{x}{An \code{RGtkDataFrame} object} \item{i}{Row index} \item{j}{Column index} \item{value}{An R object similar to that accepted by \code{[<-.data.frame} or the dimnames for the data frame} \item{drop}{Whether to 'drop' the result to the simplest structure} \item{...}{Items to append as columns or rows or just additional arguments} } \value{ The constructors return instances of \code{RGtkDataFrame}. \code{as.data.frame.RGtkDataFrame} returns the data frame backing the model. \code{[.RGtkDataFrame} returns the result of the \code{[} method on the backing frame. } \details{ The RGtk2 interface carries a lot of overhead, slowing down operations that require large numbers of function calls, such as loading a GtkTreeModel. Under the assumption that R programmers will store large datasets as data frames, a new \code{\link{GtkTreeModel}} was implemented that draws data directly from an R data frame. This offers not only a dramatic performance gain but also allows efficient addition of columns to a model, which the default GTK implementations do not allow. The \code{RGtkDataFrame} is constructed with a delegate data frame, which can be empty, via either \code{rGtkDataFrameNew} or \code{rGtkDataFrame} for short. The subset and replacement methods work much the same as for normal data frames, except one should note that removing columns (ie by replacing columns with \code{NULL}s) is not supported. Note that even if the initial data frame is empty, one should ensure that the empty vectors representing the column are of the desired types. If one wants to simply replace the backing frame with a new one, then there are two options: create a new RGtkDataFrame and connect it to the views of the old model, or use \code{rGtkDataFrameSetFrame}. The \code{rGtkDataFrameAppendColumns} and \code{rGtkDataFrameAppendRows} methods allow appending columns and rows, respectively. Note that these are a lot shorter if using the \code{object$appendColumns(...)} syntax. The \code{as.data.frame} method retrieves the backing data frame from the model, so that one can perform any data frame operation on the data. Of course, any changes are \emph{not} propagated back to the model, so it may take some work to efficiently merge any changes, if necessary. For convenience, one can access the dimensions and dimension names using \code{dim.RGtkDataframe} and \code{dimnames.RGtkDataFrame}, respectively. It is possible to set the dimension names using the conventional replacement function. Note that rownames mean nothing to GTK. } \note{It is not yet clear how to encode a tree structure with a data frame, so this is only currently useful for flat tables.} \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkRecentChooserGetFilter.Rd0000644000176000001440000000102112362217677017363 0ustar ripleyusers\alias{gtkRecentChooserGetFilter} \name{gtkRecentChooserGetFilter} \title{gtkRecentChooserGetFilter} \description{Gets the \code{\link{GtkRecentFilter}} object currently used by \code{chooser} to affect the display of the recently used resources.} \usage{gtkRecentChooserGetFilter(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[\code{\link{GtkRecentFilter}}] a \code{\link{GtkRecentFilter}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHRulerNew.Rd0000644000176000001440000000042612362217677014675 0ustar ripleyusers\alias{gtkHRulerNew} \name{gtkHRulerNew} \title{gtkHRulerNew} \description{Creates a new horizontal ruler.} \usage{gtkHRulerNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkHRuler}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterSetVisibleFunc.Rd0000644000176000001440000000261312362217677020656 0ustar ripleyusers\alias{gtkTreeModelFilterSetVisibleFunc} \name{gtkTreeModelFilterSetVisibleFunc} \title{gtkTreeModelFilterSetVisibleFunc} \description{Sets the visible function used when filtering the \code{filter} to be \code{func}. The function should return \code{TRUE} if the given row should be visible and \code{FALSE} otherwise.} \usage{gtkTreeModelFilterSetVisibleFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{func}}{A \code{\link{GtkTreeModelFilterVisibleFunc}}, the visible function.} \item{\verb{data}}{User data to pass to the visible function, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If the condition calculated by the function changes over time (e.g. because it depends on some global parameters), you must call \code{\link{gtkTreeModelFilterRefilter}} to keep the visibility information of the model uptodate. Note that \code{func} is called whenever a row is inserted, when it may still be empty. The visible function should therefore take special care of empty rows, like in the example below. \preformatted{ visible_func <- function(model, iter, data) { ## Visible if row is non-empty and first column is "HI" visible <- FALSE str <- model$get(iter, 0)[[1]] if (identical(str, "HI")) visible <- TRUE return(visible) } } Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetShowTips.Rd0000644000176000001440000000102612362217677017737 0ustar ripleyusers\alias{gtkRecentChooserSetShowTips} \name{gtkRecentChooserSetShowTips} \title{gtkRecentChooserSetShowTips} \description{Sets whether to show a tooltips containing the full path of each recently used resource in a \code{\link{GtkRecentChooser}} widget.} \usage{gtkRecentChooserSetShowTips(object, show.tips)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{show.tips}}{\code{TRUE} if tooltips should be shown} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetAutoDir.Rd0000644000176000001440000000114512362217677016545 0ustar ripleyusers\alias{pangoLayoutGetAutoDir} \name{pangoLayoutGetAutoDir} \title{pangoLayoutGetAutoDir} \description{Gets whether to calculate the bidirectional base direction for the layout according to the contents of the layout. See \code{\link{pangoLayoutSetAutoDir}}.} \usage{pangoLayoutGetAutoDir(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{ Since 1.4} \value{[logical] \code{TRUE} if the bidirectional base direction is computed from the layout's contents, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuAttachToWidget.Rd0000644000176000001440000000113112362217677016514 0ustar ripleyusers\alias{gtkMenuAttachToWidget} \name{gtkMenuAttachToWidget} \title{gtkMenuAttachToWidget} \description{Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls \code{\link{gtkMenuDetach}} during its destruction.} \usage{gtkMenuAttachToWidget(object, attach.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{attach.widget}}{the \code{\link{GtkWidget}} that the menu will be attached to.} } \note{This does not yet support the callback function, sorry.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetReorderable.Rd0000644000176000001440000000074312362217677017356 0ustar ripleyusers\alias{gtkIconViewGetReorderable} \name{gtkIconViewGetReorderable} \title{gtkIconViewGetReorderable} \description{Retrieves whether the user can reorder the list via drag-and-drop. See \code{\link{gtkIconViewSetReorderable}}.} \usage{gtkIconViewGetReorderable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the list can be reordered.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestSet.Rd0000644000176000001440000000473212362217677015177 0ustar ripleyusers\alias{gtkDragDestSet} \name{gtkDragDestSet} \title{gtkDragDestSet} \description{Sets a widget as a potential drop destination, and adds default behaviors.} \usage{gtkDragDestSet(object, flags, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{flags}}{which types of default drag behavior to use} \item{\verb{targets}}{a pointer to a list of \code{\link{GtkTargetEntry}}s indicating the drop types that this \code{widget} will accept, or \code{NULL}. Later you can access the list with \code{\link{gtkDragDestGetTargetList}} and \code{\link{gtkDragDestFindTarget}}. \emph{[ \acronym{allow-none} ][ \acronym{array} length=n_targets]}} \item{\verb{actions}}{a bitmask of possible actions for a drop onto this \code{widget}.} } \details{The default behaviors listed in \code{flags} have an effect similar to installing default handlers for the widget's drag-and-drop signals (\verb{"drag-motion"}, \verb{"drag-drop"}, ...). They all exist for convenience. When passing \verb{GTK_DEST_DEFAULT_ALL} for instance it is sufficient to connect to the widget's \verb{"drag-data-received"} signal to get primitive, but consistent drag-and-drop support. Things become more complicated when you try to preview the dragged data, as described in the documentation for \verb{"drag-motion"}. The default behaviors described by \code{flags} make some assumptions, that can conflict with your own signal handlers. For instance \verb{GTK_DEST_DEFAULT_DROP} causes invokations of \code{\link{gdkDragStatus}} in the context of \verb{"drag-motion"}, and invokations of \code{\link{gtkDragFinish}} in \verb{"drag-data-received"}. Especially the later is dramatic, when your own \verb{"drag-motion"} handler calls \code{\link{gtkDragGetData}} to inspect the dragged data. There's no way to set a default action here, you can use the \verb{"drag-motion"} callback for that. Here's an example which selects the action to use depending on whether the control key is pressed or not: \preformatted{static void drag_motion (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) { GdkModifierType mask; gdk_window_get_pointer (gtk_widget_get_window (widget), NULL, NULL, &mask); if (mask & GDK_CONTROL_MASK) gdk_drag_status (context, GDK_ACTION_COPY, time); else gdk_drag_status (context, GDK_ACTION_MOVE, time); } }} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowSetPlacement.Rd0000644000176000001440000000155312362217677020270 0ustar ripleyusers\alias{gtkScrolledWindowSetPlacement} \name{gtkScrolledWindowSetPlacement} \title{gtkScrolledWindowSetPlacement} \description{Sets the placement of the contents with respect to the scrollbars for the scrolled window.} \usage{gtkScrolledWindowSetPlacement(object, window.placement)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{window.placement}}{position of the child window} } \details{The default is \code{GTK_CORNER_TOP_LEFT}, meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in \code{\link{GtkCornerType}} are \code{GTK_CORNER_TOP_RIGHT}, \code{GTK_CORNER_BOTTOM_LEFT}, and \code{GTK_CORNER_BOTTOM_RIGHT}. See also \code{\link{gtkScrolledWindowGetPlacement}} and \code{\link{gtkScrolledWindowUnsetPlacement}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetColumnExtentAt.Rd0000644000176000001440000000141312362217677017333 0ustar ripleyusers\alias{atkTableGetColumnExtentAt} \name{atkTableGetColumnExtentAt} \title{atkTableGetColumnExtentAt} \description{Gets the number of columns occupied by the accessible object at the specified \code{row} and \code{column} in the \code{table}.} \usage{atkTableGetColumnExtentAt(object, row, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[integer] a gint representing the column extent at specified position, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRectangleUnion.Rd0000644000176000001440000000130112362217677015710 0ustar ripleyusers\alias{gdkRectangleUnion} \name{gdkRectangleUnion} \title{gdkRectangleUnion} \description{Calculates the union of two rectangles. The union of rectangles \code{src1} and \code{src2} is the smallest rectangle which includes both \code{src1} and \code{src2} within it. It is allowed for \code{dest} to be the same as either \code{src1} or \code{src2}.} \usage{gdkRectangleUnion(src1, src2)} \arguments{ \item{\verb{src1}}{a \code{\link{GdkRectangle}}} \item{\verb{src2}}{a \code{\link{GdkRectangle}}} } \value{ A list containing the following elements: \item{\verb{dest}}{return location for the union of \code{src1} and \code{src2}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/custom-tree-models.Rd0000644000176000001440000000354211766145227016044 0ustar ripleyusers\alias{gtkTreeIterGetId} \alias{gtkTreeIterSetId} \alias{gtkTreeIterGetStamp} \alias{gtkTreeIterSetStamp} \alias{gtkTreeIter} \name{custom-tree-models} \title{Custom GtkTreeModel implementations} \description{Functions that allow one to implement a custom \code{\link{GtkTreeModel}}} \usage{ gtkTreeIter(id, stamp) gtkTreeIterGetId(iter) gtkTreeIterSetId(iter, id) gtkTreeIterGetStamp(iter) gtkTreeIterSetStamp(iter, stamp) } \arguments{ \item{iter}{The \code{\link{GtkTreeIter}} of a custom model} \item{id}{The integer code identifying \code{iter}} \item{stamp}{The integer code for tracking the version of \code{iter}} } \details{ These functions allow one to create and access \code{\link{GtkTreeIter}} structures when implementing a \code{\link{GtkTreeModel}}. \code{gtkTreeIter} creates an iter from scratch, given an id and stamp. \code{gtkTreeIterGetId} and \code{gtkTreeIterSetId} access the integer that identifies the data element referred to by \code{iter}. \code{gtkTreeIterGetStamp} and \code{gtkTreeIterSetStamp} access the integer that serves as a version stamp. After the model changes, the model version should be incremented, so that all existing iters are invalidated, as evidenced by their stamp. } \value{ For \code{gtkTreeIter}, an external pointer to the underlying C structure. For \code{gtkTreeIterGetId}, the integer code identifying the element referred to by \code{iter}. For \code{gtkTreeIterGetStamp}, the integer code identifying the version of \code{iter}. } \note{ These functions are for implementing \code{\link{GtkTreeModel}}s only! Most of the time, one can use one of the implementations included with GTK+ (\code{\link{GtkListStore}} or \code{\link{GtkTreeStore}}) or \code{\link{RGtkDataFrame}}. } \seealso{gClass} \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gtkAccelLabelSetAccelWidget.Rd0000644000176000001440000000065712362217677017547 0ustar ripleyusers\alias{gtkAccelLabelSetAccelWidget} \name{gtkAccelLabelSetAccelWidget} \title{gtkAccelLabelSetAccelWidget} \description{Sets the widget to be monitored by this accelerator label.} \usage{gtkAccelLabelSetAccelWidget(object, accel.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAccelLabel}}} \item{\verb{accel.widget}}{the widget to be monitored.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionNew.Rd0000644000176000001440000000047612362217677016425 0ustar ripleyusers\alias{gtkColorSelectionNew} \name{gtkColorSelectionNew} \title{gtkColorSelectionNew} \description{Creates a new GtkColorSelection.} \usage{gtkColorSelectionNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkColorSelection}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetMinSliderSize.Rd0000644000176000001440000000073612362217677017164 0ustar ripleyusers\alias{gtkRangeGetMinSliderSize} \name{gtkRangeGetMinSliderSize} \title{gtkRangeGetMinSliderSize} \description{This function is useful mainly for \code{\link{GtkRange}} subclasses.} \usage{gtkRangeGetMinSliderSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{See \code{\link{gtkRangeSetMinSliderSize}}. Since 2.20} \value{[integer] The minimum size of the range's slider.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkSetVisible.Rd0000644000176000001440000000115612362217677016554 0ustar ripleyusers\alias{gtkTextMarkSetVisible} \name{gtkTextMarkSetVisible} \title{gtkTextMarkSetVisible} \description{Sets the visibility of \code{mark}; the insertion point is normally visible, i.e. you can see it as a vertical bar. Also, the text widget uses a visible mark to indicate where a drop will occur when dragging-and-dropping text. Most other marks are not visible. Marks are not visible by default.} \usage{gtkTextMarkSetVisible(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextMark}}} \item{\verb{setting}}{visibility of mark} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetUpdatePolicy.Rd0000644000176000001440000000072712362217677020116 0ustar ripleyusers\alias{gtkSpinButtonGetUpdatePolicy} \name{gtkSpinButtonGetUpdatePolicy} \title{gtkSpinButtonGetUpdatePolicy} \description{Gets the update behavior of a spin button. See \code{\link{gtkSpinButtonSetUpdatePolicy}}.} \usage{gtkSpinButtonGetUpdatePolicy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[\code{\link{GtkSpinButtonUpdatePolicy}}] the current update policy} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererSetMatrix.Rd0000644000176000001440000000112512362217677016745 0ustar ripleyusers\alias{pangoRendererSetMatrix} \name{pangoRendererSetMatrix} \title{pangoRendererSetMatrix} \description{Sets the transformation matrix that will be applied when rendering.} \usage{pangoRendererSetMatrix(object, matrix)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{matrix}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL} to unset any existing matrix. (No matrix set is the same as setting the identity matrix.)} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertWidgetToBinWindowCoords.Rd0000644000176000001440000000141012362217677022551 0ustar ripleyusers\alias{gtkTreeViewConvertWidgetToBinWindowCoords} \name{gtkTreeViewConvertWidgetToBinWindowCoords} \title{gtkTreeViewConvertWidgetToBinWindowCoords} \description{Converts widget coordinates to coordinates for the bin_window (see \code{\link{gtkTreeViewGetBinWindow}}).} \usage{gtkTreeViewConvertWidgetToBinWindowCoords(object, wx, wy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{wx}}{X coordinate relative to the widget} \item{\verb{wy}}{Y coordinate relative to the widget} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{bx}}{return location for bin_window X coordinate} \item{\verb{by}}{return location for bin_window Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestAddTextTargets.Rd0000644000176000001440000000112212362217677017321 0ustar ripleyusers\alias{gtkDragDestAddTextTargets} \name{gtkDragDestAddTextTargets} \title{gtkDragDestAddTextTargets} \description{Add the text targets supported by \verb{GtkSelection} to the target list of the drag destination. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddTextTargets}} and \code{\link{gtkDragDestSetTargetList}}.} \usage{gtkDragDestAddTextTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationIsShowing.Rd0000644000176000001440000000074312362217677017642 0ustar ripleyusers\alias{gtkMountOperationIsShowing} \name{gtkMountOperationIsShowing} \title{gtkMountOperationIsShowing} \description{Returns whether the \code{\link{GtkMountOperation}} is currently displaying a window.} \usage{gtkMountOperationIsShowing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMountOperation}}}} \details{Since 2.14} \value{[logical] \code{TRUE} if \code{op} is currently displaying a window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileIOStream.Rd0000644000176000001440000000363112362217677014707 0ustar ripleyusers\alias{GFileIOStream} \name{GFileIOStream} \title{GFileIOStream} \description{File read and write streaming operations} \section{Methods and Functions}{ \code{\link{gFileIOStreamGetEtag}(object)}\cr \code{\link{gFileIOStreamQueryInfo}(object, attributes, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileIOStreamQueryInfoAsync}(object, attributes, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileIOStreamQueryInfoFinish}(object, result, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GObject +----GIOStream +----GFileIOStream}} \section{Interfaces}{GFileIOStream implements \code{\link{GSeekable}}.} \section{Detailed Description}{GFileIOStream provides io streams that both read and write to the same file handle. GFileIOStream implements \code{\link{GSeekable}}, which allows the io stream to jump to arbitrary positions in the file and to truncate the file, provided the filesystem of the file supports these operations. To find the position of a file io stream, use \code{\link{gSeekableTell}}. To find out if a file io stream supports seeking, use \code{\link{gSeekableCanSeek}}. To position a file io stream, use \code{\link{gSeekableSeek}}. To find out if a file io stream supports truncating, use \code{\link{gSeekableCanTruncate}}. To truncate a file io stream, use \code{\link{gSeekableTruncate}}. The default implementation of all the \code{\link{GFileIOStream}} operations and the implementation of \code{\link{GSeekable}} just call into the same operations on the output stream.} \section{Structures}{\describe{\item{\verb{GFileIOStream}}{ A subclass of GIOStream for opened files. This adds a few file-specific operations and seeking and truncating. \code{\link{GFileIOStream}} implements GSeekable. }}} \references{\url{http://library.gnome.org/devel//gio/GFileIOStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditablePasteClipboard.Rd0000644000176000001440000000057512362217677017355 0ustar ripleyusers\alias{gtkEditablePasteClipboard} \name{gtkEditablePasteClipboard} \title{gtkEditablePasteClipboard} \description{Pastes the content of the clipboard to the current position of the cursor in the editable.} \usage{gtkEditablePasteClipboard(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentSetExtents.Rd0000644000176000001440000000150412362217677017003 0ustar ripleyusers\alias{atkComponentSetExtents} \name{atkComponentSetExtents} \title{atkComponentSetExtents} \description{Sets the extents of \code{component}.} \usage{atkComponentSetExtents(object, x, y, width, height, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}} \item{\verb{x}}{[integer] x coordinate} \item{\verb{y}}{[integer] y coordinate} \item{\verb{width}}{[integer] width to set for \code{component}} \item{\verb{height}}{[integer] height to set for \code{component}} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{[logical] \code{TRUE} or \code{FALSE} whether the extents were set or not} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferBackspace.Rd0000644000176000001440000000222012362217677016667 0ustar ripleyusers\alias{gtkTextBufferBackspace} \name{gtkTextBufferBackspace} \title{gtkTextBufferBackspace} \description{Performs the appropriate action as if the user hit the delete key with the cursor at the position specified by \code{iter}. In the normal case a single character will be deleted, but when combining accents are involved, more than one character can be deleted, and when precomposed character and accent combinations are involved, less than one character will be deleted.} \usage{gtkTextBufferBackspace(object, iter, interactive, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{a position in \code{buffer}} \item{\verb{interactive}}{whether the deletion is caused by user interaction} \item{\verb{default.editable}}{whether the buffer is editable by default} } \details{Because the buffer is modified, all outstanding iterators become invalid after calling this function; however, the \code{iter} will be re-initialized to point to the location where text was deleted. Since 2.6} \value{[logical] \code{TRUE} if the buffer was modified} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsDataGet.Rd0000644000176000001440000000114212362217677016065 0ustar ripleyusers\alias{gtkTooltipsDataGet} \name{gtkTooltipsDataGet} \title{gtkTooltipsDataGet} \description{ Retrieves any \code{\link{GtkTooltipsData}} previously associated with the given widget. \strong{WARNING: \code{gtk_tooltips_data_get} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsDataGet(widget)} \arguments{\item{\verb{widget}}{a \code{\link{GtkWidget}}.}} \value{[\code{\link{GtkTooltipsData}}] a \code{\link{GtkTooltipsData}} struct, or \code{NULL} if the widget has no tooltip.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetGroupTarget.Rd0000644000176000001440000000171512362217677016237 0ustar ripleyusers\alias{cairoGetGroupTarget} \name{cairoGetGroupTarget} \title{cairoGetGroupTarget} \description{Gets the current destination surface for the context. This is either the original target surface as passed to \code{\link{cairoCreate}} or the target surface for the current group as started by the most recent call to \code{\link{cairoPushGroup}} or \code{\link{cairoPushGroupWithContent}}.} \usage{cairoGetGroupTarget(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This function will always return a valid pointer, but the result can be a "nil" surface if \code{cr} is already in an error state, (ie. \code{\link{cairoStatus}} \code{!=} \code{CAIRO_STATUS_SUCCESS}). A nil surface is indicated by \code{\link{cairoSurfaceStatus}} \code{!=} \code{CAIRO_STATUS_SUCCESS}. Since 1.2} \value{[\code{\link{CairoSurface}}] the target surface. To keep a reference to it,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapAddEntry.Rd0000644000176000001440000000275012362217677016124 0ustar ripleyusers\alias{gtkAccelMapAddEntry} \name{gtkAccelMapAddEntry} \title{gtkAccelMapAddEntry} \description{Registers a new accelerator with the global accelerator map. This function should only be called once per \code{accel.path} with the canonical \code{accel.key} and \code{accel.mods} for this path. To change the accelerator during runtime programatically, use \code{\link{gtkAccelMapChangeEntry}}. The accelerator path must consist of "/Category1/Category2/.../Action", where should be a unique application-specific identifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the item's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a full valid accelerator path may look like: "/File/Dialogs/Tool Options...".} \usage{gtkAccelMapAddEntry(accel.path, accel.key, accel.mods)} \arguments{ \item{\verb{accel.path}}{valid accelerator path} \item{\verb{accel.key}}{the accelerator key} \item{\verb{accel.mods}}{the accelerator modifiers} } \details{Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellEditableEditingDone.Rd0000644000176000001440000000053612362217677017447 0ustar ripleyusers\alias{gtkCellEditableEditingDone} \name{gtkCellEditableEditingDone} \title{gtkCellEditableEditingDone} \description{Emits the \code{\link{gtkCellEditableEditingDone}} signal.} \usage{gtkCellEditableEditingDone(object)} \arguments{\item{\verb{object}}{A \verb{GtkTreeEditable}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonGetActive.Rd0000644000176000001440000000075512362217677017240 0ustar ripleyusers\alias{gtkToggleButtonGetActive} \name{gtkToggleButtonGetActive} \title{gtkToggleButtonGetActive} \description{Queries a \code{\link{GtkToggleButton}} and returns its current state. Returns \code{TRUE} if the toggle button is pressed in and \code{FALSE} if it is raised.} \usage{gtkToggleButtonGetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToggleButton}}.}} \value{[logical] a \verb{logical} value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetBuffer.Rd0000644000176000001440000000106012362217677016366 0ustar ripleyusers\alias{gtkTextViewGetBuffer} \name{gtkTextViewGetBuffer} \title{gtkTextViewGetBuffer} \description{Returns the \code{\link{GtkTextBuffer}} being displayed by this text view. The reference count on the buffer is not incremented; the caller of this function won't own a new reference.} \usage{gtkTextViewGetBuffer(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[\code{\link{GtkTextBuffer}}] a \code{\link{GtkTextBuffer}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetDouble.Rd0000644000176000001440000000071012362217677017426 0ustar ripleyusers\alias{gtkPrintSettingsGetDouble} \name{gtkPrintSettingsGetDouble} \title{gtkPrintSettingsGetDouble} \description{Returns the double value associated with \code{key}, or 0.} \usage{gtkPrintSettingsGetDouble(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{Since 2.10} \value{[numeric] the double value of \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceSetRenderGlyphFunc.Rd0000644000176000001440000000204312362217677021307 0ustar ripleyusers\alias{cairoUserFontFaceSetRenderGlyphFunc} \name{cairoUserFontFaceSetRenderGlyphFunc} \title{cairoUserFontFaceSetRenderGlyphFunc} \description{Sets the glyph rendering function of a user-font. See \verb{cairo_user_scaled_font_render_glyph_func_t} for details of how the callback works.} \usage{cairoUserFontFaceSetRenderGlyphFunc(font.face, render.glyph.func)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face} \item{\verb{render.glyph.func}}{[cairo_user_scaled_font_render_glyph_func_t] The render_glyph callback, or \code{NULL}} } \details{The font-face should not be immutable or a \code{CAIRO_STATUS_USER_FONT_IMMUTABLE} error will occur. A user font-face is immutable as soon as a scaled-font is created from it. The render_glyph callback is the only mandatory callback of a user-font. If the callback is \code{NULL} and a glyph is tried to be rendered using \code{font.face}, a \code{CAIRO_STATUS_USER_FONT_ERROR} will occur. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSetRowDragData.Rd0000644000176000001440000000117112362217677016453 0ustar ripleyusers\alias{gtkTreeSetRowDragData} \name{gtkTreeSetRowDragData} \title{gtkTreeSetRowDragData} \description{Sets selection data of target type \code{GTK_TREE_MODEL_ROW}. Normally used in a drag_data_get handler.} \usage{gtkTreeSetRowDragData(object, tree.model, path)} \arguments{ \item{\verb{object}}{some \code{\link{GtkSelectionData}}} \item{\verb{tree.model}}{a \code{\link{GtkTreeModel}}} \item{\verb{path}}{a row in \code{tree.model}} } \value{[logical] \code{TRUE} if the \code{\link{GtkSelectionData}} had the proper target type to allow us to set a tree row} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetCellType.Rd0000644000176000001440000000116612362217677016144 0ustar ripleyusers\alias{gtkCListGetCellType} \name{gtkCListGetCellType} \title{gtkCListGetCellType} \description{ Checks the type of cell at the location specified. \strong{WARNING: \code{gtk_clist_get_cell_type} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetCellType(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} } \value{[\code{\link{GtkCellType}}] A \code{\link{GtkCellType}} value describing the cell.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkIMContext.Rd0000644000176000001440000001573712362217677014647 0ustar ripleyusers\alias{GtkIMContext} \name{GtkIMContext} \title{GtkIMContext} \description{Base class for input method contexts} \section{Methods and Functions}{ \code{\link{gtkIMContextSetClientWindow}(object, window)}\cr \code{\link{gtkIMContextGetPreeditString}(object)}\cr \code{\link{gtkIMContextFilterKeypress}(object, event)}\cr \code{\link{gtkIMContextFocusIn}(object)}\cr \code{\link{gtkIMContextFocusOut}(object)}\cr \code{\link{gtkIMContextReset}(object)}\cr \code{\link{gtkIMContextSetCursorLocation}(object, area)}\cr \code{\link{gtkIMContextSetUsePreedit}(object, use.preedit)}\cr \code{\link{gtkIMContextSetSurrounding}(object, text, cursor.index)}\cr \code{\link{gtkIMContextGetSurrounding}(object)}\cr \code{\link{gtkIMContextDeleteSurrounding}(object, offset, n.chars)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkIMContext +----GtkIMContextSimple +----GtkIMMulticontext}} \section{Detailed Description}{\code{\link{GtkIMContext}} defines the interface for GTK+ input methods. An input method is used by GTK+ text input widgets like \code{\link{GtkEntry}} to map from key events to Unicode character strings. The user may change the current input method via a context menu, unless the \verb{"gtk-show-input-method-menu"} GtkSettings property is set to FALSE. The default input method can be set programmatically via the \verb{"gtk-im-module"} GtkSettings property. Alternatively, you may set the GTK_IM_MODULE environment variable as documented in \verb{gtk-running}. The \code{\link{GtkEntry}} \verb{"im-module"} and \code{\link{GtkTextView}} \verb{"im-module"} properties may also be used to set input methods for specific widget instances. For instance, a certain entry widget might be expected to contain certain characters which would be easier to input with a certain input method. An input method may consume multiple key events in sequence and finally output the composed result. This is called preediting, and an input method may provide feedback about this process by displaying the intermediate composition states as preedit text. For instance, the default GTK+ input method implements the input of arbitrary Unicode code points by holding down the Control and Shift keys and then typing "U" followed by the hexadecimal digits of the code point. When releasing the Control and Shift keys, preediting ends and the character is inserted as text. Ctrl+Shift+u20AC for example results in the € sign. Additional input methods can be made available for use by GTK+ widgets as loadable modules. An input method module is a small shared library which implements a subclass of \code{\link{GtkIMContext}} or \code{\link{GtkIMContextSimple}} and exports these four functions: \preformatted{void im_module_init( GTypeModule *module); } This function should register the \code{\link{GType}} of the \code{\link{GtkIMContext}} subclass which implements the input method by means of \code{gTypeModuleRegisterType()}. Note that \code{gTypeRegisterStatic()} cannot be used as the type needs to be registered dynamically. \preformatted{void im_module_exit(void); } Here goes any cleanup code your input method might require on module unload. \preformatted{void im_module_list(const GtkIMContextInfo ***contexts, int *n_contexts) { *contexts = info_list; *n_contexts = G_N_ELEMENTS (info_list); } } This function returns the list of input methods provided by the module. The example implementation above shows a common solution and simply returns a pointer to statically defined list of \verb{GtkIMContextInfo} items for each provided input method. \preformatted{GtkIMContext * im_module_create(const gchar *context_id); } This function should return a pointer to a newly created instance of the \code{\link{GtkIMContext}} subclass identified by \code{context.id}. The context ID is the same as specified in the \verb{GtkIMContextInfo} list returned by \code{imModuleList()}. After a new loadable input method module has been installed on the system, the configuration file \file{gtk.immodules} needs to be regenerated by gtk-query-immodules-2.0, in order for the new input method to become available to GTK+ applications.} \section{Structures}{\describe{\item{\verb{GtkIMContext}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{commit(context, str, user.data)}}{ The ::commit signal is emitted when a complete input sequence has been entered by the user. This can be a single character immediately after a key press or the final result of preediting. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{str}}{the completed character(s) entered by the user} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{delete-surrounding(context, offset, n.chars, user.data)}}{ The ::delete-surrounding signal is emitted when the input method needs to delete all or part of the context surrounding the cursor. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{offset}}{the character offset from the cursor position of the text to be deleted. A negative value indicates a position before the cursor.} \item{\code{n.chars}}{the number of characters to be deleted} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal was handled. } \item{\code{preedit-changed(context, user.data)}}{ The ::preedit-changed signal is emitted whenever the preedit sequence currently being entered has changed. It is also emitted at the end of a preedit sequence, in which case \code{\link{gtkIMContextGetPreeditString}} returns the empty string. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{preedit-end(context, user.data)}}{ The ::preedit-end signal is emitted when a preediting sequence has been completed or canceled. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{preedit-start(context, user.data)}}{ The ::preedit-start signal is emitted when a new preediting sequence starts. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{retrieve-surrounding(context, user.data)}}{ The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor. The callback should set the input method surrounding context by calling the \code{\link{gtkIMContextSetSurrounding}} method. \describe{ \item{\code{context}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal was handled. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkIMContext.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOutputStreamQueryInfo.Rd0000644000176000001440000000345212362217677017603 0ustar ripleyusers\alias{gFileOutputStreamQueryInfo} \name{gFileOutputStreamQueryInfo} \title{gFileOutputStreamQueryInfo} \description{Queries a file output stream for the given \code{attributes}. This function blocks while querying the stream. For the asynchronous version of this function, see \code{\link{gFileOutputStreamQueryInfoAsync}}. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will fail with \code{G_IO_ERROR_PENDING}.} \usage{gFileOutputStreamQueryInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileOutputStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Can fail if the stream was already closed (with \code{error} being set to \code{G_IO_ERROR_CLOSED}), the stream has pending operations (with \code{error} being set to \code{G_IO_ERROR_PENDING}), or if querying info is not supported for the stream's interface (with \code{error} being set to \code{G_IO_ERROR_NOT_SUPPORTED}). In all cases of failure, \code{NULL} will be returned. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be set, and \code{NULL} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}} for the \code{stream}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetUuid.Rd0000644000176000001440000000102712362217677015052 0ustar ripleyusers\alias{gMountGetUuid} \name{gMountGetUuid} \title{gMountGetUuid} \description{Gets the UUID for the \code{mount}. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns \code{NULL} if there is no UUID available.} \usage{gMountGetUuid(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[char] the UUID for \code{mount} or \code{NULL} if no UUID can be computed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectFactoryCreateAccessible.Rd0000644000176000001440000000130512362217677020651 0ustar ripleyusers\alias{atkObjectFactoryCreateAccessible} \name{atkObjectFactoryCreateAccessible} \title{atkObjectFactoryCreateAccessible} \description{Provides an \code{\link{AtkObject}} that implements an accessibility interface on behalf of \code{obj}} \usage{atkObjectFactoryCreateAccessible(object, obj)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObjectFactory}}] The \code{\link{AtkObjectFactory}} associated with \code{obj}'s object type} \item{\verb{obj}}{[\code{\link{GObject}}] a \code{\link{GObject}} } } \value{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} that implements an accessibility interface on behalf of \code{obj}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSendExpose.Rd0000644000176000001440000000175012362217677016244 0ustar ripleyusers\alias{gtkWidgetSendExpose} \name{gtkWidgetSendExpose} \title{gtkWidgetSendExpose} \description{Very rarely-used function. This function is used to emit an expose event signals on a widget. This function is not normally used directly. The only time it is used is when propagating an expose event to a child \code{NO_WINDOW} widget, and that is normally done using \code{\link{gtkContainerPropagateExpose}}.} \usage{gtkWidgetSendExpose(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{event}}{a expose \code{\link{GdkEvent}}} } \details{If you want to force an area of a window to be redrawn, use \code{\link{gdkWindowInvalidateRect}} or \code{\link{gdkWindowInvalidateRegion}}. To cause the redraw to be done immediately, follow that call with a call to \code{\link{gdkWindowProcessUpdates}}.} \value{[integer] return from the event signal emission (\code{TRUE} if the event was handled)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorNextFilesFinish.Rd0000644000176000001440000000141712362217677020370 0ustar ripleyusers\alias{gFileEnumeratorNextFilesFinish} \name{gFileEnumeratorNextFilesFinish} \title{gFileEnumeratorNextFilesFinish} \description{Finishes the asynchronous operation started with \code{\link{gFileEnumeratorNextFilesAsync}}.} \usage{gFileEnumeratorNextFilesFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[list] a \verb{list} of \code{\link{GFileInfo}}s.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetTooltipCell.Rd0000644000176000001440000000252512362217677017405 0ustar ripleyusers\alias{gtkTreeViewSetTooltipCell} \name{gtkTreeViewSetTooltipCell} \title{gtkTreeViewSetTooltipCell} \description{Sets the tip area of \code{tooltip} to the area \code{path}, \code{column} and \code{cell} have in common. For example if \code{path} is \code{NULL} and \code{column} is set, the tip area will be set to the full area covered by \code{column}. See also \code{\link{gtkTooltipSetTipArea}}.} \usage{gtkTreeViewSetTooltipCell(object, tooltip, path, column, cell)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tooltip}}{a \code{\link{GtkTooltip}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{column}}{a \code{\link{GtkTreeViewColumn}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{cell}}{a \code{\link{GtkCellRenderer}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Note that if \code{path} is not specified and \code{cell} is set and part of a column containing the expander, the tooltip might not show and hide at the correct position. In such cases \code{path} must be set to the current node under the mouse cursor for this function to operate correctly. See also \code{\link{gtkTreeViewSetTooltipColumn}} for a simpler alternative. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListRowIsVisible.Rd0000644000176000001440000000111612362217677016337 0ustar ripleyusers\alias{gtkCListRowIsVisible} \name{gtkCListRowIsVisible} \title{gtkCListRowIsVisible} \description{ Checks how the specified row is visible. \strong{WARNING: \code{gtk_clist_row_is_visible} is deprecated and should not be used in newly-written code.} } \usage{gtkCListRowIsVisible(object, row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to query.} } \value{[\code{\link{GtkVisibility}}] A \code{\link{GtkVisibility}} value that tells you how the row is visible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetScrollAdjustments.Rd0000644000176000001440000000165712362217677020331 0ustar ripleyusers\alias{gtkWidgetSetScrollAdjustments} \name{gtkWidgetSetScrollAdjustments} \title{gtkWidgetSetScrollAdjustments} \description{For widgets that support scrolling, sets the scroll adjustments and returns \code{TRUE}. For widgets that don't support scrolling, does nothing and returns \code{FALSE}. Widgets that don't support scrolling can be scrolled by placing them in a \code{\link{GtkViewport}}, which does support scrolling.} \usage{gtkWidgetSetScrollAdjustments(object, hadjustment = NULL, vadjustment = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{hadjustment}}{an adjustment for horizontal scrolling, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{vadjustment}}{an adjustment for vertical scrolling, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] \code{TRUE} if the widget supports scrolling} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetDefaultPageSetup.Rd0000644000176000001440000000135212362217677021575 0ustar ripleyusers\alias{gtkPrintOperationSetDefaultPageSetup} \name{gtkPrintOperationSetDefaultPageSetup} \title{gtkPrintOperationSetDefaultPageSetup} \description{Makes \code{default.page.setup} the default page setup for \code{op}.} \usage{gtkPrintOperationSetDefaultPageSetup(object, default.page.setup = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{default.page.setup}}{a \code{\link{GtkPageSetup}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{This page setup will be used by \code{\link{gtkPrintOperationRun}}, but it can be overridden on a per-page basis by connecting to the \verb{"request-page-setup"} signal. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedOutputStreamSetAutoGrow.Rd0000644000176000001440000000117212362217677020745 0ustar ripleyusers\alias{gBufferedOutputStreamSetAutoGrow} \name{gBufferedOutputStreamSetAutoGrow} \title{gBufferedOutputStreamSetAutoGrow} \description{Sets whether or not the \code{stream}'s buffer should automatically grow. If \code{auto.grow} is true, then each write will just make the buffer larger, and you must manually flush the buffer to actually write out the data to the underlying stream.} \usage{gBufferedOutputStreamSetAutoGrow(object, auto.grow)} \arguments{ \item{\verb{object}}{a \code{\link{GBufferedOutputStream}}.} \item{\verb{auto.grow}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoLineTo.Rd0000644000176000001440000000132112362217677014517 0ustar ripleyusers\alias{cairoLineTo} \name{cairoLineTo} \title{cairoLineTo} \description{Adds a line to the path from the current point to position (\code{x}, \code{y}) in user-space coordinates. After this call the current point will be (\code{x}, \code{y}).} \usage{cairoLineTo(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] the X coordinate of the end of the new line} \item{\verb{y}}{[numeric] the Y coordinate of the end of the new line} } \details{If there is no current point before the call to \code{\link{cairoLineTo}} this function will behave as cairo_move_to(\code{cr}, \code{x}, \code{y}). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoLastApplication.Rd0000644000176000001440000000074012362217677020065 0ustar ripleyusers\alias{gtkRecentInfoLastApplication} \name{gtkRecentInfoLastApplication} \title{gtkRecentInfoLastApplication} \description{Gets the name of the last application that have registered the recently used resource represented by \code{info}.} \usage{gtkRecentInfoLastApplication(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] an application name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetAttributes.Rd0000644000176000001440000000225312362217677016564 0ustar ripleyusers\alias{gtkLabelSetAttributes} \name{gtkLabelSetAttributes} \title{gtkLabelSetAttributes} \description{Sets a \code{\link{PangoAttrList}}; the attributes in the list are applied to the label text. } \usage{gtkLabelSetAttributes(object, attrs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{attrs}}{a \code{\link{PangoAttrList}}} } \details{\strong{PLEASE NOTE:} The attributes set with this function will be applied and merged with any other attributes previously effected by way of the \verb{"use-underline"} or \verb{"use-markup"} properties. While it is not recommended to mix markup strings with manually set attributes, if you must; know that the attributes will be applied to the label after the markup string is parsed.} \note{The attributes set with this function will be applied and merged with any other attributes previously effected by way of the \verb{"use-underline"} or \verb{"use-markup"} properties. While it is not recommended to mix markup strings with manually set attributes, if you must; know that the attributes will be applied to the label after the markup string is parsed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetIconWidget.Rd0000644000176000001440000000135212362217677016327 0ustar ripleyusers\alias{gtkDragSetIconWidget} \name{gtkDragSetIconWidget} \title{gtkDragSetIconWidget} \description{Changes the icon for a widget to a given widget. GTK+ will not destroy the icon, so if you don't want it to persist, you should connect to the "drag-end" signal and destroy it yourself.} \usage{gtkDragSetIconWidget(object, widget, hot.x, hot.y)} \arguments{ \item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)} \item{\verb{widget}}{a toplevel window to use as an icon.} \item{\verb{hot.x}}{the X offset within \code{widget} of the hotspot.} \item{\verb{hot.y}}{the Y offset within \code{widget} of the hotspot.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextCopyText.Rd0000644000176000001440000000102312362217677017064 0ustar ripleyusers\alias{atkEditableTextCopyText} \name{atkEditableTextCopyText} \title{atkEditableTextCopyText} \description{Copy text from \code{start.pos} up to, but not including \code{end.pos} to the clipboard.} \usage{atkEditableTextCopyText(object, start.pos, end.pos)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{start.pos}}{[integer] start position} \item{\verb{end.pos}}{[integer] end position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogSetPreviewText.Rd0000644000176000001440000000071212362217677021577 0ustar ripleyusers\alias{gtkFontSelectionDialogSetPreviewText} \name{gtkFontSelectionDialogSetPreviewText} \title{gtkFontSelectionDialogSetPreviewText} \description{Sets the text displayed in the preview area.} \usage{gtkFontSelectionDialogSetPreviewText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}} \item{\verb{text}}{the text to display in the preview area} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeExpandToDepth.Rd0000644000176000001440000000106112362217677016450 0ustar ripleyusers\alias{gtkCTreeExpandToDepth} \name{gtkCTreeExpandToDepth} \title{gtkCTreeExpandToDepth} \description{ Expand a node and its children up to the depth given. \strong{WARNING: \code{gtk_ctree_expand_to_depth} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeExpandToDepth(object, node, depth)} \arguments{ \item{\verb{object}}{The (absolute) depth up to which to expand nodes.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{depth}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentSetSize.Rd0000644000176000001440000000112212362217677016257 0ustar ripleyusers\alias{atkComponentSetSize} \name{atkComponentSetSize} \title{atkComponentSetSize} \description{Set the size of the \code{component} in terms of width and height.} \usage{atkComponentSetSize(object, width, height)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}} \item{\verb{width}}{[integer] width to set for \code{component}} \item{\verb{height}}{[integer] height to set for \code{component}} } \value{[logical] \code{TRUE} or \code{FALSE} whether the size was set or not} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetMonitorWidthMm.Rd0000644000176000001440000000106412362217677017522 0ustar ripleyusers\alias{gdkScreenGetMonitorWidthMm} \name{gdkScreenGetMonitorWidthMm} \title{gdkScreenGetMonitorWidthMm} \description{Gets the width in millimeters of the specified monitor, if available.} \usage{gdkScreenGetMonitorWidthMm(object, monitor.num)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{monitor.num}}{number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)} } \details{Since 2.14} \value{[integer] the width of the monitor, or -1 if not available} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnQueueResize.Rd0000644000176000001440000000065112362217677020121 0ustar ripleyusers\alias{gtkTreeViewColumnQueueResize} \name{gtkTreeViewColumnQueueResize} \title{gtkTreeViewColumnQueueResize} \description{Flags the column, and the cell renderers added to this column, to have their sizes renegotiated.} \usage{gtkTreeViewColumnQueueResize(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetMatrix.Rd0000644000176000001440000000163012362217677016624 0ustar ripleyusers\alias{pangoContextSetMatrix} \name{pangoContextSetMatrix} \title{pangoContextSetMatrix} \description{Sets the transformation matrix that will be applied when rendering with this context. Note that reported metrics are in the user space coordinates before the application of the matrix, not device-space coordinates after the application of the matrix. So, they don't scale with the matrix, though they may change slightly for different matrices, depending on how the text is fit to the pixel grid.} \usage{pangoContextSetMatrix(object, matrix)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{matrix}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL} to unset any existing matrix. (No matrix set is the same as setting the identity matrix.)} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetPrintSettings.Rd0000644000176000001440000000116712362217677021200 0ustar ripleyusers\alias{gtkPrintOperationGetPrintSettings} \name{gtkPrintOperationGetPrintSettings} \title{gtkPrintOperationGetPrintSettings} \description{Returns the current print settings. } \usage{gtkPrintOperationGetPrintSettings(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Note that the return value is \code{NULL} until either \code{\link{gtkPrintOperationSetPrintSettings}} or \code{\link{gtkPrintOperationRun}} have been called. Since 2.10} \value{[\code{\link{GtkPrintSettings}}] the current print settings of \code{op}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoSetAsDefaultForExtension.Rd0000644000176000001440000000134612362217677020632 0ustar ripleyusers\alias{gAppInfoSetAsDefaultForExtension} \name{gAppInfoSetAsDefaultForExtension} \title{gAppInfoSetAsDefaultForExtension} \description{Sets the application as the default handler for the given file extension.} \usage{gAppInfoSetAsDefaultForExtension(object, extension, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}.} \item{\verb{extension}}{a string containing the file extension (without the dot).} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetFamilyStatic.Rd0000644000176000001440000000145412362217677021443 0ustar ripleyusers\alias{pangoFontDescriptionSetFamilyStatic} \name{pangoFontDescriptionSetFamilyStatic} \title{pangoFontDescriptionSetFamilyStatic} \description{Like \code{\link{pangoFontDescriptionSetFamily}}, except that no copy of \code{family} is made. The caller must make sure that the string passed in stays around until \code{desc} has been freed or the name is set again. This function can be used if \code{family} is a static string such as a C string literal, or if \code{desc} is only needed temporarily.} \usage{pangoFontDescriptionSetFamilyStatic(object, family)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{family}}{[char] a string representing the family name.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListScrollVertical.Rd0000644000176000001440000000204612362217677016606 0ustar ripleyusers\alias{gtkListScrollVertical} \name{gtkListScrollVertical} \title{gtkListScrollVertical} \description{ Scrolls \code{list} vertically. This supposes that the list is packed into a scrolled window or something similar, and adjustments are well set. Step and page increment are those from the vertical adjustment of \code{list}. Backward means up, and forward down. Out of bounds values are truncated. \code{scroll.type} may be any valid \code{\link{GtkScrollType}}. If \code{scroll.type} is \verb{GTK_SCROLL_NONE}, nothing is done. If it's \verb{GTK_SCROLL_JUMP}, the list scrolls to the ratio \code{position}: 0 is top, 1 is bottom. \strong{WARNING: \code{gtk_list_scroll_vertical} is deprecated and should not be used in newly-written code.} } \usage{gtkListScrollVertical(object, scroll.type, position)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{scroll.type}}{the scrolling type.} \item{\verb{position}}{the position if \code{scroll.type} is \verb{GTK_SCROLL_JUMP}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarThaw.Rd0000644000176000001440000000077712362217677015370 0ustar ripleyusers\alias{gtkCalendarThaw} \name{gtkCalendarThaw} \title{gtkCalendarThaw} \description{ Does nothing. Previously defrosted a calendar; all the changes made since the last \code{\link{gtkCalendarFreeze}} were displayed. \strong{WARNING: \code{gtk_calendar_thaw} has been deprecated since version 2.8 and should not be used in newly-written code. } } \usage{gtkCalendarThaw(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetItemWidth.Rd0000644000176000001440000000102412362217677017033 0ustar ripleyusers\alias{gtkIconViewSetItemWidth} \name{gtkIconViewSetItemWidth} \title{gtkIconViewSetItemWidth} \description{Sets the ::item-width property which specifies the width to use for each item. If it is set to -1, the icon view will automatically determine a suitable item size.} \usage{gtkIconViewSetItemWidth(object, item.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{item.width}}{the width for each item} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterSetName.Rd0000644000176000001440000000113212362217677016317 0ustar ripleyusers\alias{gtkFileFilterSetName} \name{gtkFileFilterSetName} \title{gtkFileFilterSetName} \description{Sets the human-readable name of the filter; this is the string that will be displayed in the file selector user interface if there is a selectable list of filters.} \usage{gtkFileFilterSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileFilter}}} \item{\verb{name}}{the human-readable-name for the filter, or \code{NULL} to remove any existing name. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetBuffer.Rd0000644000176000001440000000130612362217677016405 0ustar ripleyusers\alias{gtkTextViewSetBuffer} \name{gtkTextViewSetBuffer} \title{gtkTextViewSetBuffer} \description{Sets \code{buffer} as the buffer being displayed by \code{text.view}. The previous buffer displayed by the text view is unreferenced, and a reference is added to \code{buffer}. If you owned a reference to \code{buffer} before passing it to this function, you must remove that reference yourself; \code{\link{GtkTextView}} will not "adopt" it.} \usage{gtkTextViewSetBuffer(object, buffer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionCopy.Rd0000644000176000001440000000107112362217677017303 0ustar ripleyusers\alias{pangoFontDescriptionCopy} \name{pangoFontDescriptionCopy} \title{pangoFontDescriptionCopy} \description{Make a copy of a \code{\link{PangoFontDescription}}.} \usage{pangoFontDescriptionCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}, may be \code{NULL}}} \value{[\code{\link{PangoFontDescription}}] the newly allocated \code{\link{PangoFontDescription}}, or \code{NULL} if \code{desc} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSpawnCommandLineOnScreen.Rd0000644000176000001440000000170512362217677017637 0ustar ripleyusers\alias{gdkSpawnCommandLineOnScreen} \name{gdkSpawnCommandLineOnScreen} \title{gdkSpawnCommandLineOnScreen} \description{Like \code{gSpawnCommandLineAsync()}, except the child process is spawned in such an environment that on calling \code{\link{gdkDisplayOpen}} it would be returned a \code{\link{GdkDisplay}} with \code{screen} as the default screen.} \usage{gdkSpawnCommandLineOnScreen(screen, command.line, .errwarn = TRUE)} \arguments{ \item{\verb{screen}}{a \code{\link{GdkScreen}}} \item{\verb{command.line}}{a command line} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This is useful for applications which wish to launch an application on a specific screen. Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} if error is set.} \item{\verb{error}}{return location for errors} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardChars.Rd0000644000176000001440000000146212362217677017101 0ustar ripleyusers\alias{gtkTextIterForwardChars} \name{gtkTextIterForwardChars} \title{gtkTextIterForwardChars} \description{Moves \code{count} characters if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the new position of \code{iter} is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If \code{count} is 0, the function does nothing and returns \code{FALSE}.} \usage{gtkTextIterForwardChars(object, count)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{count}}{number of characters to move, may be negative} } \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionAddSelection.Rd0000644000176000001440000000106312362217677017216 0ustar ripleyusers\alias{atkSelectionAddSelection} \name{atkSelectionAddSelection} \title{atkSelectionAddSelection} \description{Adds the specified accessible child of the object to the object's selection.} \usage{atkSelectionAddSelection(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface} \item{\verb{i}}{[integer] a \verb{integer} specifying the child index.} } \value{[logical] TRUE if success, FALSE otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutXyToIndex.Rd0000644000176000001440000000300212362217677016423 0ustar ripleyusers\alias{pangoLayoutXyToIndex} \name{pangoLayoutXyToIndex} \title{pangoLayoutXyToIndex} \description{Converts from X and Y position within a layout to the byte index to the character at that logical position. If the Y position is not inside the layout, the closest position is chosen (the position will be clamped inside the layout). If the X position is not within the layout, then the start or the end of the line is chosen as described for \code{pangoLayoutXToIndex()}. If either the X or Y positions were not inside the layout, then the function returns \code{FALSE}; on an exact hit, it returns \code{TRUE}.} \usage{pangoLayoutXyToIndex(object, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{x}}{[integer] the X offset (in Pango units) from the left edge of the layout.} \item{\verb{y}}{[integer] the Y offset (in Pango units) from the top edge of the layout} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the coordinates were inside text, \code{FALSE} otherwise.} \item{\verb{index}}{[integer] location to store calculated byte index} \item{\verb{trailing}}{[integer] location to store a integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the trailing edge of the grapheme.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemedIconGetEmblems.Rd0000644000176000001440000000053712362217677016756 0ustar ripleyusers\alias{gEmblemedIconGetEmblems} \name{gEmblemedIconGetEmblems} \title{gEmblemedIconGetEmblems} \description{Gets the list of emblems for the \code{icon}.} \usage{gEmblemedIconGetEmblems(object)} \arguments{\item{\verb{object}}{a \code{\link{GEmblemedIcon}}}} \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterSetModifyFunc.Rd0000644000176000001440000000206612362217677020512 0ustar ripleyusers\alias{gtkTreeModelFilterSetModifyFunc} \name{gtkTreeModelFilterSetModifyFunc} \title{gtkTreeModelFilterSetModifyFunc} \description{With the \code{n.columns} and \code{types} parameters, you give a list of column types for this model (which will be exposed to the parent model/view). The \code{func}, \code{data} and \code{destroy} parameters are for specifying the modify function. The modify function will get called for \emph{each} data access, the goal of the modify function is to return the data which should be displayed at the location specified using the parameters of the modify function.} \usage{gtkTreeModelFilterSetModifyFunc(object, types, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{types}}{The \code{\link{GType}}s of the columns.} \item{\verb{func}}{A \code{\link{GtkTreeModelFilterModifyFunc}}} \item{\verb{data}}{User data to pass to the modify function, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-gtkbuildable.Rd0000644000176000001440000001315612362217677015534 0ustar ripleyusers\alias{gtk-gtkbuildable} \alias{GtkBuildable} \name{gtk-gtkbuildable} \title{GtkBuildable} \description{Interface for objects that can be built by GtkBuilder} \section{Methods and Functions}{ \code{\link{gtkBuildableSetName}(object, name)}\cr \code{\link{gtkBuildableGetName}(object)}\cr \code{\link{gtkBuildableAddChild}(object, builder, child, type)}\cr \code{\link{gtkBuildableSetBuildableProperty}(object, builder, name, value)}\cr \code{\link{gtkBuildableConstructChild}(object, builder, name)}\cr \code{\link{gtkBuildableCustomTagStart}(object, builder, child, tagname, parser, data)}\cr \code{\link{gtkBuildableCustomTagEnd}(object, builder, child, tagname, data)}\cr \code{\link{gtkBuildableCustomFinished}(object, builder, child, tagname, data)}\cr \code{\link{gtkBuildableParserFinished}(object, builder)}\cr \code{\link{gtkBuildableGetInternalChild}(object, builder, childname)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkBuildable}} \section{Implementations}{GtkBuildable is implemented by \code{\link{GtkAboutDialog}}, \code{\link{GtkAccelLabel}}, \code{\link{GtkAction}}, \code{\link{GtkActionGroup}}, \code{\link{GtkAlignment}}, \code{\link{GtkArrow}}, \code{\link{GtkAspectFrame}}, \code{\link{GtkAssistant}}, \code{\link{GtkBin}}, \code{\link{GtkBox}}, \code{\link{GtkButton}}, \code{\link{GtkButtonBox}}, \code{\link{GtkCList}}, \code{\link{GtkCTree}}, \code{\link{GtkCalendar}}, \code{\link{GtkCellView}}, \code{\link{GtkCheckButton}}, \code{\link{GtkCheckMenuItem}}, \code{\link{GtkColorButton}}, \code{\link{GtkColorSelection}}, \code{\link{GtkColorSelectionDialog}}, \code{\link{GtkCombo}}, \code{\link{GtkComboBox}}, \code{\link{GtkComboBoxEntry}}, \code{\link{GtkContainer}}, \code{\link{GtkCurve}}, \code{\link{GtkDialog}}, \code{\link{GtkDrawingArea}}, \code{\link{GtkEntry}}, \code{\link{GtkEntryCompletion}}, \code{\link{GtkEventBox}}, \code{\link{GtkExpander}}, \code{\link{GtkFileChooserButton}}, \code{\link{GtkFileChooserDialog}}, \code{\link{GtkFileChooserWidget}}, \code{\link{GtkFileSelection}}, \code{\link{GtkFixed}}, \code{\link{GtkFontButton}}, \code{\link{GtkFontSelection}}, \code{\link{GtkFontSelectionDialog}}, \code{\link{GtkFrame}}, \code{\link{GtkGammaCurve}}, \code{\link{GtkHBox}}, \code{\link{GtkHButtonBox}}, \code{\link{GtkHPaned}}, \code{\link{GtkHRuler}}, \code{\link{GtkHSV}}, \code{\link{GtkHScale}}, \code{\link{GtkHScrollbar}}, \code{\link{GtkHSeparator}}, \code{\link{GtkHandleBox}}, \code{\link{GtkIconFactory}}, \code{\link{GtkIconView}}, \code{\link{GtkImage}}, \code{\link{GtkImageMenuItem}}, \code{\link{GtkInfoBar}}, \code{\link{GtkInputDialog}}, \code{\link{GtkInvisible}}, \code{\link{GtkItem}}, \code{\link{GtkLabel}}, \code{\link{GtkLayout}}, \code{\link{GtkLinkButton}}, \code{\link{GtkList}}, \code{\link{GtkListItem}}, \code{\link{GtkListStore}}, \code{\link{GtkMenu}}, \code{\link{GtkMenuBar}}, \code{\link{GtkMenuItem}}, \code{\link{GtkMenuShell}}, \code{\link{GtkMenuToolButton}}, \code{\link{GtkMessageDialog}}, \code{\link{GtkMisc}}, \code{\link{GtkNotebook}}, \code{\link{GtkOffscreenWindow}}, \code{\link{GtkOldEditable}}, \code{\link{GtkOptionMenu}}, GtkPageSetupUnixDialog, \code{\link{GtkPaned}}, \code{\link{GtkPixmap}}, \code{\link{GtkPlug}}, \code{\link{GtkPreview}}, GtkPrintUnixDialog, \code{\link{GtkProgress}}, \code{\link{GtkProgressBar}}, \code{\link{GtkRadioAction}}, \code{\link{GtkRadioButton}}, \code{\link{GtkRadioMenuItem}}, \code{\link{GtkRadioToolButton}}, \code{\link{GtkRange}}, \code{\link{GtkRecentAction}}, \code{\link{GtkRecentChooserDialog}}, \code{\link{GtkRecentChooserMenu}}, \code{\link{GtkRecentChooserWidget}}, \code{\link{GtkRuler}}, \code{\link{GtkScale}}, \code{\link{GtkScaleButton}}, \code{\link{GtkScrollbar}}, \code{\link{GtkScrolledWindow}}, \code{\link{GtkSeparator}}, \code{\link{GtkSeparatorMenuItem}}, \code{\link{GtkSeparatorToolItem}}, \code{\link{GtkSizeGroup}}, \code{\link{GtkSocket}}, \code{\link{GtkSpinButton}}, \code{\link{GtkSpinner}}, \code{\link{GtkStatusbar}}, \code{\link{GtkTable}}, \code{\link{GtkTearoffMenuItem}}, GtkText, \code{\link{GtkTextView}}, \code{\link{GtkTipsQuery}}, \code{\link{GtkToggleAction}}, \code{\link{GtkToggleButton}}, \code{\link{GtkToggleToolButton}}, \code{\link{GtkToolButton}}, \code{\link{GtkToolItem}}, \code{\link{GtkToolItemGroup}}, \code{\link{GtkToolPalette}}, \code{\link{GtkToolbar}}, GtkTree, GtkTreeItem, \code{\link{GtkTreeStore}}, \code{\link{GtkTreeView}}, \code{\link{GtkTreeViewColumn}}, \code{\link{GtkUIManager}}, \code{\link{GtkVBox}}, \code{\link{GtkVButtonBox}}, \code{\link{GtkVPaned}}, \code{\link{GtkVRuler}}, \code{\link{GtkVScale}}, \code{\link{GtkVScrollbar}}, \code{\link{GtkVSeparator}}, \code{\link{GtkViewport}}, \code{\link{GtkVolumeButton}}, \code{\link{GtkWidget}} and \code{\link{GtkWindow}}.} \section{Detailed Description}{In order to allow construction from a GtkBuilder UI description, an object class must implement the GtkBuildable interface. The interface includes methods for setting names and properties of objects, parsing custom tags, constructing child objects. The GtkBuildable interface is implemented by all widgets and many of the non-widget objects that are provided by GTK+. The main user of this interface is \code{\link{GtkBuilder}}, there should be very little need for applications to call any \code{gtkBuildable...} functions.} \section{Structures}{\describe{\item{\verb{GtkBuildable}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-gtkbuildable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetSelected.Rd0000644000176000001440000000201112362217677017670 0ustar ripleyusers\alias{gtkTreeSelectionGetSelected} \name{gtkTreeSelectionGetSelected} \title{gtkTreeSelectionGetSelected} \description{Sets \code{iter} to the currently selected node if \code{selection} is set to \verb{GTK_SELECTION_SINGLE} or \verb{GTK_SELECTION_BROWSE}. \code{iter} may be NULL if you just want to test if \code{selection} has any selected nodes. \code{model} is filled with the current model as a convenience. This function will not work if you use \code{selection} is \verb{GTK_SELECTION_MULTIPLE}.} \usage{gtkTreeSelectionGetSelected(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \value{ A list containing the following elements: \item{retval}{[logical] TRUE, if there is a selected node.} \item{\verb{model}}{A pointer to set to the \code{\link{GtkTreeModel}}, or NULL. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}, or NULL. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrStretchNew.Rd0000644000176000001440000000063012362217677016257 0ustar ripleyusers\alias{pangoAttrStretchNew} \name{pangoAttrStretchNew} \title{pangoAttrStretchNew} \description{Create a new font stretch attribute} \usage{pangoAttrStretchNew(stretch)} \arguments{\item{\verb{stretch}}{[\code{\link{PangoStretch}}] the stretch}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetVisible.Rd0000644000176000001440000000127112362217677016236 0ustar ripleyusers\alias{gtkWidgetSetVisible} \name{gtkWidgetSetVisible} \title{gtkWidgetSetVisible} \description{Sets the visibility state of \code{widget}. Note that setting this to \code{TRUE} doesn't mean the widget is actually viewable, see \code{\link{gtkWidgetGetVisible}}.} \usage{gtkWidgetSetVisible(object, visible)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{visible}}{whether the widget should be shown or not} } \details{This function simply calls \code{\link{gtkWidgetShow}} or \code{\link{gtkWidgetHide}} but is nicer to use when the visibility of the widget depends on some condition. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceGetTextToGlyphsFunc.Rd0000644000176000001440000000112312362217677021464 0ustar ripleyusers\alias{cairoUserFontFaceGetTextToGlyphsFunc} \name{cairoUserFontFaceGetTextToGlyphsFunc} \title{cairoUserFontFaceGetTextToGlyphsFunc} \description{Gets the text-to-glyphs conversion function of a user-font.} \usage{cairoUserFontFaceGetTextToGlyphsFunc(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face}} \details{ Since 1.8} \value{[cairo_user_scaled_font_text_to_glyphs_func_t] The text_to_glyphs callback of \code{font.face} or \code{NULL} if none set or an error occurred.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGroupRemoveWindow.Rd0000644000176000001440000000064512362217677017657 0ustar ripleyusers\alias{gtkWindowGroupRemoveWindow} \name{gtkWindowGroupRemoveWindow} \title{gtkWindowGroupRemoveWindow} \description{Removes a window from a \code{\link{GtkWindowGroup}}.} \usage{gtkWindowGroupRemoveWindow(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindowGroup}}} \item{\verb{window}}{the \code{\link{GtkWindow}} to remove} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameSetLabelWidget.Rd0000644000176000001440000000071712362217677016637 0ustar ripleyusers\alias{gtkFrameSetLabelWidget} \name{gtkFrameSetLabelWidget} \title{gtkFrameSetLabelWidget} \description{Sets the label widget for the frame. This is the widget that will appear embedded in the top edge of the frame as a title.} \usage{gtkFrameSetLabelWidget(object, label.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFrame}}} \item{\verb{label.widget}}{the new label widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetUserData.Rd0000644000176000001440000000121012362217677015472 0ustar ripleyusers\alias{cairoGetUserData} \name{cairoGetUserData} \title{cairoGetUserData} \description{Return user data previously attached to \code{cr} using the specified key. If no user data has been attached with the given key this function returns \code{NULL}.} \usage{cairoGetUserData(cr, key)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the the \code{\link{CairoUserDataKey}} the user data was attached to} } \details{ Since 1.4} \value{[R object] the user data previously attached or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetSearchPositionFunc.Rd0000644000176000001440000000077312362217677020710 0ustar ripleyusers\alias{gtkTreeViewGetSearchPositionFunc} \name{gtkTreeViewGetSearchPositionFunc} \title{gtkTreeViewGetSearchPositionFunc} \description{Returns the positioning function currently in use.} \usage{gtkTreeViewGetSearchPositionFunc(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \details{Since 2.10} \value{[\code{\link{GtkTreeViewSearchPositionFunc}}] the currently used function for positioning the search dialog.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCharMeasure.Rd0000644000176000001440000000125112362217677015176 0ustar ripleyusers\alias{gdkCharMeasure} \name{gdkCharMeasure} \title{gdkCharMeasure} \description{ Determines the distance from the origin to the rightmost portion of a character when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. \strong{WARNING: \code{gdk_char_measure} is deprecated and should not be used in newly-written code.} } \usage{gdkCharMeasure(object, character)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{character}}{the character to measure.} } \value{[integer] the right bearing of the character in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkEntryBuffer.Rd0000644000176000001440000000563312362217677015222 0ustar ripleyusers\alias{GtkEntryBuffer} \alias{gtkEntryBuffer} \name{GtkEntryBuffer} \title{GtkEntryBuffer} \description{Text buffer for GtkEntry} \section{Methods and Functions}{ \code{\link{gtkEntryBufferNew}(initial.chars = NULL, n.initial.chars = -1)}\cr \code{\link{gtkEntryBufferGetText}(object)}\cr \code{\link{gtkEntryBufferSetText}(object, chars, n.chars)}\cr \code{\link{gtkEntryBufferGetBytes}(object)}\cr \code{\link{gtkEntryBufferGetLength}(object)}\cr \code{\link{gtkEntryBufferGetMaxLength}(object)}\cr \code{\link{gtkEntryBufferSetMaxLength}(object, max.length)}\cr \code{\link{gtkEntryBufferInsertText}(object, position, chars, n.chars)}\cr \code{\link{gtkEntryBufferDeleteText}(object, position, n.chars)}\cr \code{\link{gtkEntryBufferEmitDeletedText}(object, position, n.chars)}\cr \code{\link{gtkEntryBufferEmitInsertedText}(object, position, chars, n.chars)}\cr \code{gtkEntryBuffer(initial.chars = NULL, n.initial.chars = -1)} } \section{Hierarchy}{\preformatted{GObject +----GtkEntryBuffer}} \section{Detailed Description}{The \code{\link{GtkEntryBuffer}} class contains the actual text displayed in a \code{\link{GtkEntry}} widget. A single \code{\link{GtkEntryBuffer}} object can be shared by multiple \code{\link{GtkEntry}} widgets which will then share the same text content, but not the cursor position, visibility attributes, icon etc. \code{\link{GtkEntryBuffer}} may be derived from. Such a derived class might allow text to be stored in an alternate location, such as non-pageable memory, useful in the case of important passwords. Or a derived class could integrate with an application's concept of undo/redo.} \section{Structures}{\describe{\item{\verb{GtkEntryBuffer}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkEntryBuffer} is the equivalent of \code{\link{gtkEntryBufferNew}}.} \section{Signals}{\describe{ \item{\code{deleted-text(entrybuffer, user.data)}}{ \emph{undocumented } \describe{ \item{\code{entrybuffer}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{inserted-text(entrybuffer, user.data)}}{ \emph{undocumented } \describe{ \item{\code{entrybuffer}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{length} [numeric : Read]}{ The length (in characters) of the text in buffer. Allowed values: <= 65535 Default value: 0 Since 2.18 } \item{\verb{max-length} [integer : Read / Write]}{ The maximum length (in characters) of the text in the buffer. Allowed values: [0,65535] Default value: 0 Since 2.18 } \item{\verb{text} [character : * : Read / Write]}{ The contents of the buffer. Default value: "" Since 2.18 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkEntryBuffer.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamWriteAll.Rd0000644000176000001440000000273112362217677016604 0ustar ripleyusers\alias{gOutputStreamWriteAll} \name{gOutputStreamWriteAll} \title{gOutputStreamWriteAll} \description{Tries to write \code{count} bytes from \code{buffer} into the stream. Will block during the operation.} \usage{gOutputStreamWriteAll(object, buffer, bytes.written, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{buffer}}{the buffer containing the data to write.} \item{\verb{bytes.written}}{location to store the number of bytes that was written to the stream} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function is similar to \code{\link{gOutputStreamWrite}}, except it tries to write as many bytes as requested, only stopping on an error. On a successful write of \code{count} bytes, \code{TRUE} is returned, and \code{bytes.written} is set to \code{count}. If there is an error during the operation FALSE is returned and \code{error} is set to indicate the error status, \code{bytes.written} is updated to contain the number of bytes written into the stream before the error occurred.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} if there was an error} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxEntryNew.Rd0000644000176000001440000000103712362217677016225 0ustar ripleyusers\alias{gtkComboBoxEntryNew} \name{gtkComboBoxEntryNew} \title{gtkComboBoxEntryNew} \description{Creates a new \code{\link{GtkComboBoxEntry}} which has a \code{\link{GtkEntry}} as child. After construction, you should set a model using \code{\link{gtkComboBoxSetModel}} and a text column using \code{\link{gtkComboBoxEntrySetTextColumn}}.} \usage{gtkComboBoxEntryNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new \code{\link{GtkComboBoxEntry}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFilterInputStream.Rd0000644000176000001440000000216612362217677016047 0ustar ripleyusers\alias{GFilterInputStream} \name{GFilterInputStream} \title{GFilterInputStream} \description{Filter Input Stream} \section{Methods and Functions}{ \code{\link{gFilterInputStreamGetBaseStream}(object)}\cr \code{\link{gFilterInputStreamGetCloseBaseStream}(object)}\cr \code{\link{gFilterInputStreamSetCloseBaseStream}(object, close.base)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GFilterInputStream +----GBufferedInputStream}} \section{Structures}{\describe{\item{\verb{GFilterInputStream}}{ A base class for all input streams that work on an underlying stream. }}} \section{Properties}{\describe{ \item{\verb{base-stream} [\code{\link{GInputStream}} : * : Read / Write / Construct Only]}{ The underlying base stream on which the io ops will be done. } \item{\verb{close-base-stream} [logical : Read / Write / Construct Only]}{ If the base stream should be closed when the filter stream is closed. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gio/GFilterInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenSetFontOptions.Rd0000644000176000001440000000134012362217677017074 0ustar ripleyusers\alias{gdkScreenSetFontOptions} \name{gdkScreenSetFontOptions} \title{gdkScreenSetFontOptions} \description{Sets the default font options for the screen. These options will be set on any \code{\link{PangoContext}}'s newly created with \code{\link{gdkPangoContextGetForScreen}}. Changing the default set of font options does not affect contexts that have already been created.} \usage{gdkScreenSetFontOptions(object, options)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{options}}{a \code{\link{CairoFontOptions}}, or \code{NULL} to unset any previously set default font options. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragContextNew.Rd0000644000176000001440000000050112362217677015670 0ustar ripleyusers\alias{gdkDragContextNew} \name{gdkDragContextNew} \title{gdkDragContextNew} \description{Creates a new \code{\link{GdkDragContext}}.} \usage{gdkDragContextNew()} \value{[\code{\link{GdkDragContext}}] the newly created \code{\link{GdkDragContext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupServiceFinish.Rd0000644000176000001440000000206112362217677020135 0ustar ripleyusers\alias{gResolverLookupServiceFinish} \name{gResolverLookupServiceFinish} \title{gResolverLookupServiceFinish} \description{Retrieves the result of a previous call to \code{\link{gResolverLookupServiceAsync}}.} \usage{gResolverLookupServiceFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{result}}{the result passed to your \code{\link{GAsyncReadyCallback}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the DNS resolution failed, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If the operation was cancelled, \code{error} will be set to \code{G_IO_ERROR_CANCELLED}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[list] a \verb{list} of \code{\link{GSrvTarget}}, or \code{NULL} on error. See \code{\link{gResolverLookupService}} for more details.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetAccelGroup.Rd0000644000176000001440000000120712362217677016345 0ustar ripleyusers\alias{gtkMenuSetAccelGroup} \name{gtkMenuSetAccelGroup} \title{gtkMenuSetAccelGroup} \description{Set the \code{\link{GtkAccelGroup}} which holds global accelerators for the menu. This accelerator group needs to also be added to all windows that this menu is being used in with \code{\link{gtkWindowAddAccelGroup}}, in order for those windows to support all the accelerators contained in this group.} \usage{gtkMenuSetAccelGroup(object, accel.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{accel.group}}{. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetSizeWildcarded.Rd0000644000176000001440000000175712362217677020375 0ustar ripleyusers\alias{gtkIconSourceSetSizeWildcarded} \name{gtkIconSourceSetSizeWildcarded} \title{gtkIconSourceSetSizeWildcarded} \description{If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with \code{\link{gtkIconSourceSetSize}} and the icon source will only be used with that specific size.} \usage{gtkIconSourceSetSizeWildcarded(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{setting}}{\code{TRUE} to wildcard the widget state} } \details{\code{\link{GtkIconSet}} prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. \code{\link{GtkIconSet}} will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragGetProtocolForDisplay.Rd0000644000176000001440000000151012362217677020031 0ustar ripleyusers\alias{gdkDragGetProtocolForDisplay} \name{gdkDragGetProtocolForDisplay} \title{gdkDragGetProtocolForDisplay} \description{Finds out the DND protocol supported by a window.} \usage{gdkDragGetProtocolForDisplay(display, xid)} \arguments{ \item{\verb{display}}{the \code{\link{GdkDisplay}} where the destination window resides} \item{\verb{xid}}{the windowing system id of the destination window.} } \details{Since 2.2} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkNativeWindow}}] the windowing system id of the window where the drop should happen. This may be \code{xid} or the id of a proxy window, or zero if \code{xid} doesn't support Drag and Drop.} \item{\verb{protocol}}{location where the supported DND protocol is returned.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetUi.Rd0000644000176000001440000000064112362217677015567 0ustar ripleyusers\alias{gtkUIManagerGetUi} \name{gtkUIManagerGetUi} \title{gtkUIManagerGetUi} \description{Creates a UI definition of the merged UI.} \usage{gtkUIManagerGetUi(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}}}} \details{Since 2.4} \value{[character] A newly allocated string containing an XML representation of the merged UI.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetLineOffset.Rd0000644000176000001440000000067112362217677017213 0ustar ripleyusers\alias{gtkTextIterGetLineOffset} \name{gtkTextIterGetLineOffset} \title{gtkTextIterGetLineOffset} \description{Returns the character offset of the iterator, counting from the start of a line. The first character on the line has offset 0.} \usage{gtkTextIterGetLineOffset(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] offset from start of line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetVisible.Rd0000644000176000001440000000104712362217677017074 0ustar ripleyusers\alias{gtkStatusIconGetVisible} \name{gtkStatusIconGetVisible} \title{gtkStatusIconGetVisible} \description{Returns whether the status icon is visible or not. Note that being visible does not guarantee that the user can actually see the icon, see also \code{\link{gtkStatusIconIsEmbedded}}.} \usage{gtkStatusIconGetVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the status icon is visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantUpdateButtonsState.Rd0000644000176000001440000000130512362217677020513 0ustar ripleyusers\alias{gtkAssistantUpdateButtonsState} \name{gtkAssistantUpdateButtonsState} \title{gtkAssistantUpdateButtonsState} \description{Forces \code{assistant} to recompute the buttons state.} \usage{gtkAssistantUpdateButtonsState(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAssistant}}}} \details{GTK+ automatically takes care of this in most situations, e.g. when the user goes to a different page, or when the visibility or completeness of a page changes. One situation where it can be necessary to call this function is when changing a value on the current page affects the future page flow of the assistant. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutFreeze.Rd0000644000176000001440000000063712362217677015444 0ustar ripleyusers\alias{gtkLayoutFreeze} \name{gtkLayoutFreeze} \title{gtkLayoutFreeze} \description{ This is a deprecated function, it doesn't do anything useful. \strong{WARNING: \code{gtk_layout_freeze} is deprecated and should not be used in newly-written code.} } \usage{gtkLayoutFreeze(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSeekableCanTruncate.Rd0000644000176000001440000000061112362217677016322 0ustar ripleyusers\alias{gSeekableCanTruncate} \name{gSeekableCanTruncate} \title{gSeekableCanTruncate} \description{Tests if the stream can be truncated.} \usage{gSeekableCanTruncate(object)} \arguments{\item{\verb{object}}{a \code{\link{GSeekable}}.}} \value{[logical] \code{TRUE} if the stream can be truncated, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetSkipPagerHint.Rd0000644000176000001440000000066112362217677017363 0ustar ripleyusers\alias{gtkWindowGetSkipPagerHint} \name{gtkWindowGetSkipPagerHint} \title{gtkWindowGetSkipPagerHint} \description{Gets the value set by \code{\link{gtkWindowSetSkipPagerHint}}.} \usage{gtkWindowGetSkipPagerHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.2} \value{[logical] \code{TRUE} if window shouldn't be in pager} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetMonitorHeightMm.Rd0000644000176000001440000000105412362217677017652 0ustar ripleyusers\alias{gdkScreenGetMonitorHeightMm} \name{gdkScreenGetMonitorHeightMm} \title{gdkScreenGetMonitorHeightMm} \description{Gets the height in millimeters of the specified monitor.} \usage{gdkScreenGetMonitorHeightMm(object, monitor.num)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{monitor.num}}{number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)} } \details{Since 2.14} \value{[integer] the height of the monitor, or -1 if not available} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrForegroundNew.Rd0000644000176000001440000000102712362217677016756 0ustar ripleyusers\alias{pangoAttrForegroundNew} \name{pangoAttrForegroundNew} \title{pangoAttrForegroundNew} \description{Create a new foreground color attribute.} \usage{pangoAttrForegroundNew(red, green, blue)} \arguments{ \item{\verb{red}}{[integer] the red value (ranging from 0 to 65535)} \item{\verb{green}}{[integer] the green value} \item{\verb{blue}}{[integer] the blue value} } \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetNumberUpLayout.Rd0000644000176000001440000000076612362217677021176 0ustar ripleyusers\alias{gtkPrintSettingsSetNumberUpLayout} \name{gtkPrintSettingsSetNumberUpLayout} \title{gtkPrintSettingsSetNumberUpLayout} \description{Sets the value of \code{GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT}.} \usage{gtkPrintSettingsSetNumberUpLayout(object, number.up.layout)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{number.up.layout}}{a \code{\link{GtkNumberUpLayout}} value} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetCellStyle.Rd0000644000176000001440000000114112362217677016330 0ustar ripleyusers\alias{gtkCListSetCellStyle} \name{gtkCListSetCellStyle} \title{gtkCListSetCellStyle} \description{ Sets the style for the specified cell. \strong{WARNING: \code{gtk_clist_set_cell_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetCellStyle(object, row, column, style)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} \item{\verb{style}}{A pointer to a \code{\link{GtkStyle}} structure.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragMotion.Rd0000644000176000001440000000174212362217677015047 0ustar ripleyusers\alias{gdkDragMotion} \name{gdkDragMotion} \title{gdkDragMotion} \description{Updates the drag context when the pointer moves or the set of actions changes.} \usage{gdkDragMotion(object, dest.window, protocol, x.root, y.root, suggested.action, possible.actions, time)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{dest.window}}{the new destination window, obtained by \code{\link{gdkDragFindWindow}}.} \item{\verb{protocol}}{the DND protocol in use, obtained by \code{\link{gdkDragFindWindow}}.} \item{\verb{x.root}}{the x position of the pointer in root coordinates.} \item{\verb{y.root}}{the y position of the pointer in root coordinates.} \item{\verb{suggested.action}}{the suggested action.} \item{\verb{possible.actions}}{the possible actions.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag source.} \value{[logical] FIXME} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarNew.Rd0000644000176000001440000000046712362217677015732 0ustar ripleyusers\alias{gtkProgressBarNew} \name{gtkProgressBarNew} \title{gtkProgressBarNew} \description{Creates a new \code{\link{GtkProgressBar}}.} \usage{gtkProgressBarNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkProgressBar}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutClear.Rd0000644000176000001440000000061712362217677016050 0ustar ripleyusers\alias{gtkCellLayoutClear} \name{gtkCellLayoutClear} \title{gtkCellLayoutClear} \description{Unsets all the mappings on all renderers on \code{cell.layout} and removes all renderers from \code{cell.layout}.} \usage{gtkCellLayoutClear(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkCellLayout}}.}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListUnselectItem.Rd0000644000176000001440000000111512362217677016253 0ustar ripleyusers\alias{gtkListUnselectItem} \name{gtkListUnselectItem} \title{gtkListUnselectItem} \description{ Unselects the child number \code{item} of the \code{list}. Nothing happens if \code{item} is out of bounds. The signal GtkList::unselect-child will be emitted. \strong{WARNING: \code{gtk_list_unselect_item} is deprecated and should not be used in newly-written code.} } \usage{gtkListUnselectItem(object, item)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{item}}{the index of the child to unselect.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetMnemonicsVisible.Rd0000644000176000001440000000047412362217677020123 0ustar ripleyusers\alias{gtkWindowGetMnemonicsVisible} \name{gtkWindowGetMnemonicsVisible} \title{gtkWindowGetMnemonicsVisible} \description{\emph{undocumented }} \usage{gtkWindowGetMnemonicsVisible(object)} \arguments{\item{\verb{object}}{\emph{undocumented }}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemToggled.Rd0000644000176000001440000000051412362217677017007 0ustar ripleyusers\alias{gtkCheckMenuItemToggled} \name{gtkCheckMenuItemToggled} \title{gtkCheckMenuItemToggled} \description{Emits the GtkCheckMenuItem::toggled signal.} \usage{gtkCheckMenuItemToggled(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupServiceAsync.Rd0000644000176000001440000000212612362217677017774 0ustar ripleyusers\alias{gResolverLookupServiceAsync} \name{gResolverLookupServiceAsync} \title{gResolverLookupServiceAsync} \description{Begins asynchronously performing a DNS SRV lookup for the given \code{service} and \code{protocol} in the given \code{domain}, and eventually calls \code{callback}, which must call \code{\link{gResolverLookupServiceFinish}} to get the final result. See \code{\link{gResolverLookupService}} for more details.} \usage{gResolverLookupServiceAsync(object, service, protocol, domain, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{service}}{the service type to look up (eg, "ldap")} \item{\verb{protocol}}{the networking protocol to use for \code{service} (eg, "tcp")} \item{\verb{domain}}{the DNS domain to look up the service in} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{callback to call after resolution completes} \item{\verb{user.data}}{data for \code{callback}} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetSelectionBounds.Rd0000644000176000001440000000174012362217677020561 0ustar ripleyusers\alias{gtkTextBufferGetSelectionBounds} \name{gtkTextBufferGetSelectionBounds} \title{gtkTextBufferGetSelectionBounds} \description{Returns \code{TRUE} if some text is selected; places the bounds of the selection in \code{start} and \code{end} (if the selection has length 0, then \code{start} and \code{end} are filled in with the same value). \code{start} and \code{end} will be in ascending order. If \code{start} and \code{end} are NULL, then they are not filled in, but the return value still indicates whether text is selected.} \usage{gtkTextBufferGetSelectionBounds(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}} a \code{\link{GtkTextBuffer}}}} \value{ A list containing the following elements: \item{retval}{[logical] whether the selection has nonzero length} \item{\verb{start}}{iterator to initialize with selection start} \item{\verb{end}}{iterator to initialize with selection end} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarSetResponseSensitive.Rd0000644000176000001440000000115312362217677020425 0ustar ripleyusers\alias{gtkInfoBarSetResponseSensitive} \name{gtkInfoBarSetResponseSensitive} \title{gtkInfoBarSetResponseSensitive} \description{Calls gtk_widget_set_sensitive (widget, setting) for each widget in the info bars's action area with the given response_id. A convenient way to sensitize/desensitize dialog buttons.} \usage{gtkInfoBarSetResponseSensitive(object, response.id, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{response.id}}{a response ID} \item{\verb{setting}}{TRUE for sensitive} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewNewWithModel.Rd0000644000176000001440000000071712362217677017037 0ustar ripleyusers\alias{gtkIconViewNewWithModel} \name{gtkIconViewNewWithModel} \title{gtkIconViewNewWithModel} \description{Creates a new \code{\link{GtkIconView}} widget with the model \code{model}.} \usage{gtkIconViewNewWithModel(model = NULL, show = TRUE)} \arguments{\item{\verb{model}}{The model.}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkIconView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetSizeWildcarded.Rd0000644000176000001440000000072212362217677020350 0ustar ripleyusers\alias{gtkIconSourceGetSizeWildcarded} \name{gtkIconSourceGetSizeWildcarded} \title{gtkIconSourceGetSizeWildcarded} \description{Gets the value set by \code{\link{gtkIconSourceSetSizeWildcarded}}.} \usage{gtkIconSourceGetSizeWildcarded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[logical] \code{TRUE} if this icon source is a base for any icon size variant} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDirection.Rd0000644000176000001440000000067412362217677016553 0ustar ripleyusers\alias{gtkWidgetGetDirection} \name{gtkWidgetGetDirection} \title{gtkWidgetGetDirection} \description{Gets the reading direction for a particular widget. See \code{\link{gtkWidgetSetDirection}}.} \usage{gtkWidgetGetDirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GtkTextDirection}}] the reading direction for the widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterTogglesTag.Rd0000644000176000001440000000120012362217677016542 0ustar ripleyusers\alias{gtkTextIterTogglesTag} \name{gtkTextIterTogglesTag} \title{gtkTextIterTogglesTag} \description{This is equivalent to (\code{\link{gtkTextIterBeginsTag}} || \code{\link{gtkTextIterEndsTag}}), i.e. it tells you whether a range with \code{tag} applied to it begins \emph{or} ends at \code{iter}.} \usage{gtkTextIterTogglesTag(object, tag = NULL)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{tag}}{a \code{\link{GtkTextTag}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether \code{tag} is toggled on or off at \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetActive.Rd0000644000176000001440000000073012362217677016340 0ustar ripleyusers\alias{gtkComboBoxSetActive} \name{gtkComboBoxSetActive} \title{gtkComboBoxSetActive} \description{Sets the active item of \code{combo.box} to be the item at \code{index}.} \usage{gtkComboBoxSetActive(object, index)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}} \item{\verb{index}}{An index in the model passed during construction, or -1 to have no active item} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetCreateFolders.Rd0000644000176000001440000000111512362217677020337 0ustar ripleyusers\alias{gtkFileChooserSetCreateFolders} \name{gtkFileChooserSetCreateFolders} \title{gtkFileChooserSetCreateFolders} \description{Sets whether file choser will offer to create new folders. This is only relevant if the action is not set to be \code{GTK_FILE_CHOOSER_ACTION_OPEN}.} \usage{gtkFileChooserSetCreateFolders(object, create.folders)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{create.folders}}{\code{TRUE} if the New Folder button should be displayed} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewPathIsSelected.Rd0000644000176000001440000000113612362217677017326 0ustar ripleyusers\alias{gtkIconViewPathIsSelected} \name{gtkIconViewPathIsSelected} \title{gtkIconViewPathIsSelected} \description{Returns \code{TRUE} if the icon pointed to by \code{path} is currently selected. If \code{path} does not point to a valid location, \code{FALSE} is returned.} \usage{gtkIconViewPathIsSelected(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{path}}{A \code{\link{GtkTreePath}} to check selection on.} } \details{Since 2.6} \value{[logical] \code{TRUE} if \code{path} is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributesFromInfo.Rd0000644000176000001440000000270512362217677017527 0ustar ripleyusers\alias{gFileSetAttributesFromInfo} \name{gFileSetAttributesFromInfo} \title{gFileSetAttributesFromInfo} \description{Tries to set all attributes in the \code{\link{GFileInfo}} on the target values, not stopping on the first error.} \usage{gFileSetAttributesFromInfo(object, info, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{info}}{a \code{\link{GFileInfo}}.} \item{\verb{flags}}{\code{\link{GFileQueryInfoFlags}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If there is any error during this operation then \code{error} will be set to the first error. Error on particular fields are flagged by setting the "status" field in the attribute value to \code{G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING}, which means you can also detect further errors. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there was any error, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternSetExtend.Rd0000644000176000001440000000135112362217677016571 0ustar ripleyusers\alias{cairoPatternSetExtend} \name{cairoPatternSetExtend} \title{cairoPatternSetExtend} \description{Sets the mode to be used for drawing outside the area of a pattern. See \code{\link{CairoExtend}} for details on the semantics of each extend strategy.} \usage{cairoPatternSetExtend(pattern, extend)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{extend}}{[\code{\link{CairoExtend}}] a \code{\link{CairoExtend}} describing how the area outside of the pattern will be drawn} } \details{The default extend mode is \code{CAIRO_EXTEND_NONE} for surface patterns and \code{CAIRO_EXTEND_PAD} for gradient patterns. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoSetSourceColor.Rd0000644000176000001440000000063712362217677016677 0ustar ripleyusers\alias{gdkCairoSetSourceColor} \name{gdkCairoSetSourceColor} \title{gdkCairoSetSourceColor} \description{Sets the specified \code{\link{GdkColor}} as the source color of \code{cr}.} \usage{gdkCairoSetSourceColor(cr, color)} \arguments{ \item{\verb{cr}}{a \code{\link{Cairo}}} \item{\verb{color}}{a \code{\link{GdkColor}}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncInitableNewAsync.Rd0000644000176000001440000000222612362217677016660 0ustar ripleyusers\alias{gAsyncInitableNewAsync} \name{gAsyncInitableNewAsync} \title{gAsyncInitableNewAsync} \description{Helper function for constructing \verb{GAsyncInitiable} object. This is similar to \code{\link{gObjectNew}} but also initializes the object asyncronously.} \usage{gAsyncInitableNewAsync(object.type, io.priority, cancellable, callback, user.data, ...)} \arguments{ \item{\verb{object.type}}{a \code{\link{GType}} supporting \code{\link{GAsyncInitable}}.} \item{\verb{io.priority}}{the I/O priority of the operation.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the initialization is finished} \item{\verb{user.data}}{the data to pass to callback function} \item{\verb{...}}{the value if the first property, followed by and other property value pairs, and ended by \code{NULL}.} } \details{When the initialization is finished, \code{callback} will be called. You can then call \code{\link{gAsyncInitableNewFinish}} to get new object and check for any errors. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternCreateForSurface.Rd0000644000176000001440000000131212362217677020046 0ustar ripleyusers\alias{cairoPatternCreateForSurface} \name{cairoPatternCreateForSurface} \title{cairoPatternCreateForSurface} \description{Create a new \code{\link{CairoPattern}} for the given surface.} \usage{cairoPatternCreateForSurface(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] the surface}} \value{[\code{\link{CairoPattern}}] the newly created \code{\link{CairoPattern}} if successful, or an error pattern in case of no memory. This function will always return a valid pointer, but if an error occurred the pattern status will be set to an error. To inspect the status of a pattern use \code{\link{cairoPatternStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileUnmountMountable.Rd0000644000176000001440000000245612362217677016604 0ustar ripleyusers\alias{gFileUnmountMountable} \name{gFileUnmountMountable} \title{gFileUnmountMountable} \description{ Unmounts a file of type G_FILE_TYPE_MOUNTABLE. \strong{WARNING: \code{g_file_unmount_mountable} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gFileUnmountMountableWithOperation}} instead.} } \usage{gFileUnmountMountable(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileUnmountMountableFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetRgbBgColor.Rd0000644000176000001440000000133212362217677015647 0ustar ripleyusers\alias{gdkGCSetRgbBgColor} \name{gdkGCSetRgbBgColor} \title{gdkGCSetRgbBgColor} \description{Set the background color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap.} \usage{gdkGCSetRgbBgColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}} \item{\verb{color}}{an unallocated \code{\link{GdkColor}}.} } \details{Calling this function for a GC without a colormap is an error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetPageHeight.Rd0000644000176000001440000000110112362217677017274 0ustar ripleyusers\alias{gtkPageSetupGetPageHeight} \name{gtkPageSetupGetPageHeight} \title{gtkPageSetupGetPageHeight} \description{Returns the page height in units of \code{unit}.} \usage{gtkPageSetupGetPageHeight(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Note that this function takes orientation and margins into consideration. See \code{\link{gtkPageSetupGetPaperHeight}}. Since 2.10} \value{[numeric] the page height.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFalse.Rd0000644000176000001440000000043112362217677014050 0ustar ripleyusers\alias{gtkFalse} \name{gtkFalse} \title{gtkFalse} \description{Analogical to \code{\link{gtkTrue}} this function does nothing but always returns \code{FALSE}.} \usage{gtkFalse()} \value{[logical] \code{FALSE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkIsSelectedLink.Rd0000644000176000001440000000126112362217677017542 0ustar ripleyusers\alias{atkHyperlinkIsSelectedLink} \name{atkHyperlinkIsSelectedLink} \title{atkHyperlinkIsSelectedLink} \description{ Determines whether this AtkHyperlink is selected \strong{WARNING: \code{atk_hyperlink_is_selected_link} is deprecated and should not be used in newly-written code. Please use ATK_STATE_SELECTED to indicate when a hyperlink within a Hypertext container is selected.} } \usage{atkHyperlinkIsSelectedLink(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \details{ Since 1.4} \value{[logical] True is the AtkHyperlink is selected, False otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetClassFindStyleProperty.Rd0000644000176000001440000000122312362217677020616 0ustar ripleyusers\alias{gtkWidgetClassFindStyleProperty} \name{gtkWidgetClassFindStyleProperty} \title{gtkWidgetClassFindStyleProperty} \description{Finds a style property of a widget class by name.} \usage{gtkWidgetClassFindStyleProperty(klass, property.name)} \arguments{ \item{\verb{klass}}{a \code{\link{GtkWidgetClass}}} \item{\verb{property.name}}{the name of the style property to find} } \details{Since 2.2} \value{[\code{\link{GParamSpec}}] the \code{\link{GParamSpec}} of the style property or \code{NULL} if \code{class} has no style property with that name. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetPopupCompletion.Rd0000644000176000001440000000100412362217677021700 0ustar ripleyusers\alias{gtkEntryCompletionSetPopupCompletion} \name{gtkEntryCompletionSetPopupCompletion} \title{gtkEntryCompletionSetPopupCompletion} \description{Sets whether the completions should be presented in a popup window.} \usage{gtkEntryCompletionSetPopupCompletion(object, popup.completion)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryCompletion}}} \item{\verb{popup.completion}}{\code{TRUE} to do popup completion} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGrabRemove.Rd0000644000176000001440000000070512362217677015053 0ustar ripleyusers\alias{gtkGrabRemove} \name{gtkGrabRemove} \title{gtkGrabRemove} \description{Removes the grab from the given widget. You have to pair calls to \code{\link{gtkGrabAdd}} and \code{\link{gtkGrabRemove}}.} \usage{gtkGrabRemove(object)} \arguments{\item{\verb{object}}{The widget which gives up the grab.}} \details{If \code{widget} does not have the grab, this function does nothing.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressGetCurrentText.Rd0000644000176000001440000000117012362217677017473 0ustar ripleyusers\alias{gtkProgressGetCurrentText} \name{gtkProgressGetCurrentText} \title{gtkProgressGetCurrentText} \description{ Returns the current text associated with the \code{\link{GtkProgress}}. This text is the based on the underlying format string after any substitutions are made. \strong{WARNING: \code{gtk_progress_get_current_text} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressGetCurrentText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgress}}.}} \value{[character] the text indicating the current progress.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetRun.Rd0000644000176000001440000000143112362217677016564 0ustar ripleyusers\alias{pangoLayoutIterGetRun} \name{pangoLayoutIterGetRun} \title{pangoLayoutIterGetRun} \description{Gets the current run. When iterating by run, at the end of each line, there's a position with a \code{NULL} run, so this function can return \code{NULL}. The \code{NULL} run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline.} \usage{pangoLayoutIterGetRun(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \details{Use the faster \code{\link{pangoLayoutIterGetRunReadonly}} if you do not plan to modify the contents of the run (glyphs, glyph widths, etc.). } \value{[PangoLayoutRun] the current run.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemIterNextCluster.Rd0000644000176000001440000000114712362217677020271 0ustar ripleyusers\alias{pangoGlyphItemIterNextCluster} \name{pangoGlyphItemIterNextCluster} \title{pangoGlyphItemIterNextCluster} \description{Advances the iterator to the next cluster in the glyph item. See \code{\link{PangoGlyphItemIter}} for details of cluster orders.} \usage{pangoGlyphItemIterNextCluster(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoGlyphItemIter}}] a \code{\link{PangoGlyphItemIter}}}} \details{ Since 1.22} \value{[logical] \code{TRUE} if the iterator was advanced, \code{FALSE} if we were already on the last cluster.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetSelection.Rd0000644000176000001440000000100012362217677020034 0ustar ripleyusers\alias{gtkSelectionDataGetSelection} \name{gtkSelectionDataGetSelection} \title{gtkSelectionDataGetSelection} \description{Retrieves the selection \code{\link{GdkAtom}} of the selection data.} \usage{gtkSelectionDataGetSelection(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.16} \value{[\code{\link{GdkAtom}}] the selection \code{\link{GdkAtom}} of the selection data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoClipPreserve.Rd0000644000176000001440000000222112362217677015730 0ustar ripleyusers\alias{cairoClipPreserve} \name{cairoClipPreserve} \title{cairoClipPreserve} \description{Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by \code{\link{cairoFill}} and according to the current fill rule (see \code{\link{cairoSetFillRule}}).} \usage{cairoClipPreserve(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Unlike \code{\link{cairoClip}}, \code{\link{cairoClipPreserve}} preserves the path within the cairo context. The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region. Calling \code{\link{cairoClipPreserve}} can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling \code{\link{cairoClipPreserve}} within a \code{\link{cairoSave}}/\code{\link{cairoRestore}} pair. The only other means of increasing the size of the clip region is \code{\link{cairoResetClip}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Themeable-Stock-Images.Rd0000644000176000001440000001325012362217677017250 0ustar ripleyusers\alias{gtk-Themeable-Stock-Images} \alias{GtkIconSource} \alias{GtkIconFactory} \alias{GtkIconSet} \alias{gtkIconFactory} \alias{GtkIconSize} \name{gtk-Themeable-Stock-Images} \title{Themeable Stock Images} \description{Manipulating stock icons} \section{Methods and Functions}{ \code{\link{gtkIconSourceCopy}(object)}\cr \code{\link{gtkIconFactoryAdd}(object, stock.id, icon.set)}\cr \code{\link{gtkIconFactoryAddDefault}(object)}\cr \code{\link{gtkIconFactoryLookup}(object, stock.id)}\cr \code{\link{gtkIconFactoryLookupDefault}(stock.id)}\cr \code{\link{gtkIconFactoryNew}()}\cr \code{\link{gtkIconFactoryRemoveDefault}(object)}\cr \code{\link{gtkIconSetAddSource}(object, source)}\cr \code{\link{gtkIconSetCopy}(object)}\cr \code{\link{gtkIconSetNew}()}\cr \code{\link{gtkIconSetNewFromPixbuf}(pixbuf)}\cr \code{\link{gtkIconSetRenderIcon}(object, style, direction, state, size, widget = NULL, detail = NULL)}\cr \code{\link{gtkIconSizeLookup}(size)}\cr \code{\link{gtkIconSizeLookupForSettings}(settings, size)}\cr \code{\link{gtkIconSizeRegister}(name, width, height)}\cr \code{\link{gtkIconSizeRegisterAlias}(alias, target)}\cr \code{\link{gtkIconSizeFromName}(name)}\cr \code{\link{gtkIconSizeGetName}(size)}\cr \code{\link{gtkIconSetGetSizes}(object)}\cr \code{\link{gtkIconSourceGetDirection}(object)}\cr \code{\link{gtkIconSourceGetDirectionWildcarded}(object)}\cr \code{\link{gtkIconSourceGetPixbuf}(object)}\cr \code{\link{gtkIconSourceGetIconName}(object)}\cr \code{\link{gtkIconSourceGetSize}(object)}\cr \code{\link{gtkIconSourceGetSizeWildcarded}(object)}\cr \code{\link{gtkIconSourceGetState}(object)}\cr \code{\link{gtkIconSourceGetStateWildcarded}(object)}\cr \code{\link{gtkIconSourceNew}()}\cr \code{\link{gtkIconSourceSetDirection}(object, direction)}\cr \code{\link{gtkIconSourceSetDirectionWildcarded}(object, setting)}\cr \code{\link{gtkIconSourceSetPixbuf}(object, pixbuf)}\cr \code{\link{gtkIconSourceSetIconName}(object, icon.name)}\cr \code{\link{gtkIconSourceSetSize}(object, size)}\cr \code{\link{gtkIconSourceSetSizeWildcarded}(object, setting)}\cr \code{\link{gtkIconSourceSetState}(object, state)}\cr \code{\link{gtkIconSourceSetStateWildcarded}(object, setting)}\cr \code{gtkIconFactory()} } \section{Hierarchy}{\preformatted{ GObject +----GtkIconFactory GBoxed +----GtkIconSet }} \section{Interfaces}{GtkIconFactory implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{Browse the available stock icons in the list of stock IDs found here. You can also use the \command{gtk-demo} application for this purpose. An icon factory manages a collection of \code{\link{GtkIconSet}}; a \code{\link{GtkIconSet}} manages a set of variants of a particular icon (i.e. a \code{\link{GtkIconSet}} contains variants for different sizes and widget states). Icons in an icon factory are named by a stock ID, which is a simple string identifying the icon. Each \code{\link{GtkStyle}} has a list of \code{\link{GtkIconFactory}} derived from the current theme; those icon factories are consulted first when searching for an icon. If the theme doesn't set a particular icon, GTK+ looks for the icon in a list of default icon factories, maintained by \code{\link{gtkIconFactoryAddDefault}} and \code{\link{gtkIconFactoryRemoveDefault}}. Applications with icons should add a default icon factory with their icons, which will allow themes to override the icons for the application. To display an icon, always use \code{\link{gtkStyleLookupIconSet}} on the widget that will display the icon, or the convenience function \code{\link{gtkWidgetRenderIcon}}. These functions take the theme into account when looking up the icon to use for a given stock ID.} \section{GtkIconFactory as GtkBuildable}{GtkIconFactory supports a custom element, which can contain multiple elements. The following attributes are allowed: \describe{ \item{stock-id}{The stock id of the source, a string. This attribute is mandatory} \item{filename}{The filename of the source, a string. This attribute is optional} \item{icon-name}{The icon name for the source, a string. This attribute is optional.} \item{size}{Size of the icon, a \code{\link{GtkIconSize}} enum value. This attribute is optional.} \item{direction}{Direction of the source, a \code{\link{GtkTextDirection}} enum value. This attribute is optional.} \item{state}{State of the source, a \code{\link{GtkStateType}} enum value. This attribute is optional.} } \emph{A \code{GtkIconFactory} UI definition fragment.}\preformatted{ apple-red True }} \section{Structures}{\describe{ \item{\verb{GtkIconSource}}{ \emph{undocumented } } \item{\verb{GtkIconFactory}}{ \emph{undocumented } } \item{\verb{GtkIconSet}}{ \emph{undocumented } } }} \section{Convenient Construction}{\code{gtkIconFactory} is the equivalent of \code{\link{gtkIconFactoryNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkIconSize}}{ \emph{undocumented } \describe{ \item{\verb{invalid}}{\emph{undocumented }} \item{\verb{menu}}{\emph{undocumented }} \item{\verb{small-toolbar}}{\emph{undocumented }} \item{\verb{large-toolbar}}{\emph{undocumented }} \item{\verb{button}}{\emph{undocumented }} \item{\verb{dnd}}{\emph{undocumented }} \item{\verb{dialog}}{\emph{undocumented }} } }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-Themeable-Stock-Images.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetColormap.Rd0000644000176000001440000000065412362217677016663 0ustar ripleyusers\alias{gdkDrawableGetColormap} \name{gdkDrawableGetColormap} \title{gdkDrawableGetColormap} \description{Gets the colormap for \code{drawable}, if one is set; returns \code{NULL} otherwise.} \usage{gdkDrawableGetColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \value{[\code{\link{GdkColormap}}] the colormap, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetAutoSort.Rd0000644000176000001440000000114312362217677016212 0ustar ripleyusers\alias{gtkCListSetAutoSort} \name{gtkCListSetAutoSort} \title{gtkCListSetAutoSort} \description{ Turns on or off auto sort of the \code{\link{GtkCList}}. If auto sort is on, then the CList will be resorted when a row is inserted into the CList. \strong{WARNING: \code{gtk_clist_set_auto_sort} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetAutoSort(object, auto.sort)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{auto.sort}}{whether auto sort should be on or off} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileLoadContentsFinish.Rd0000644000176000001440000000236012362217677017020 0ustar ripleyusers\alias{gFileLoadContentsFinish} \name{gFileLoadContentsFinish} \title{gFileLoadContentsFinish} \description{Finishes an asynchronous load of the \code{file}'s contents. The contents are placed in \code{contents}, and \code{length} is set to the size of the \code{contents} string. If \code{etag.out} is present, it will be set to the new entity tag for the \code{file}.} \usage{gFileLoadContentsFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the load was successful. If \code{FALSE} and \code{error} is present, it will be set appropriately.} \item{\verb{contents}}{a location to place the contents of the file.} \item{\verb{length}}{a location to place the length of the contents of the file, or \code{NULL} if the length is not needed} \item{\verb{etag.out}}{a location to place the current entity tag for the file, or \code{NULL} if the entity tag is not needed} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeNewFromPpd.Rd0000644000176000001440000000146612362217677016673 0ustar ripleyusers\alias{gtkPaperSizeNewFromPpd} \name{gtkPaperSizeNewFromPpd} \title{gtkPaperSizeNewFromPpd} \description{Creates a new \code{\link{GtkPaperSize}} object by using PPD information. } \usage{gtkPaperSizeNewFromPpd(ppd.name, ppd.display.name, width, height)} \arguments{ \item{\verb{ppd.name}}{a PPD paper name} \item{\verb{ppd.display.name}}{the corresponding human-readable name} \item{\verb{width}}{the paper width, in points} \item{\verb{height}}{the paper height in points} } \details{If \code{ppd.name} is not a recognized PPD paper name, \code{ppd.display.name}, \code{width} and \code{height} are used to construct a custom \code{\link{GtkPaperSize}} object. Since 2.10} \value{[\code{\link{GtkPaperSize}}] a new \code{\link{GtkPaperSize}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathDown.Rd0000644000176000001440000000047612362217677015373 0ustar ripleyusers\alias{gtkTreePathDown} \name{gtkTreePathDown} \title{gtkTreePathDown} \description{Moves \code{path} to point to the first child of the current path.} \usage{gtkTreePathDown(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxSetSnapEdge.Rd0000644000176000001440000000201112362217677016741 0ustar ripleyusers\alias{gtkHandleBoxSetSnapEdge} \name{gtkHandleBoxSetSnapEdge} \title{gtkHandleBoxSetSnapEdge} \description{Sets the snap edge of a handlebox. The snap edge is the edge of the detached child that must be aligned with the corresponding edge of the "ghost" left behind when the child was detached to reattach the torn-off window. Usually, the snap edge should be chosen so that it stays in the same place on the screen when the handlebox is torn off.} \usage{gtkHandleBoxSetSnapEdge(object, edge)} \arguments{ \item{\verb{object}}{a \code{\link{GtkHandleBox}}} \item{\verb{edge}}{the snap edge, or -1 to unset the value; in which case GTK+ will try to guess an appropriate value in the future.} } \details{If the snap edge is not set, then an appropriate value will be guessed from the handle position. If the handle position is \code{GTK_POS_RIGHT} or \code{GTK_POS_LEFT}, then the snap edge will be \code{GTK_POS_TOP}, otherwise it will be \code{GTK_POS_LEFT}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVScrollbarNew.Rd0000644000176000001440000000073312362217677015546 0ustar ripleyusers\alias{gtkVScrollbarNew} \name{gtkVScrollbarNew} \title{gtkVScrollbarNew} \description{Creates a new vertical scrollbar.} \usage{gtkVScrollbarNew(adjustment = NULL, show = TRUE)} \arguments{\item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} to use, or \code{NULL} to create a new adjustment. \emph{[ \acronym{allow-none} ]}}} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkVScrollbar}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteAddDragDest.Rd0000644000176000001440000000163412362217677017307 0ustar ripleyusers\alias{gtkToolPaletteAddDragDest} \name{gtkToolPaletteAddDragDest} \title{gtkToolPaletteAddDragDest} \description{Sets \code{palette} as drag source (see \code{\link{gtkToolPaletteSetDragSource}}) and sets \code{widget} as a drag destination for drags from \code{palette}. See \code{\link{gtkDragDestSet}}.} \usage{gtkToolPaletteAddDragDest(object, widget, flags, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{widget}}{a \code{\link{GtkWidget}} which should be a drag destination for \code{palette}} \item{\verb{flags}}{the flags that specify what actions GTK+ should take for drops on that widget} \item{\verb{targets}}{the \verb{GtkToolPaletteDragTarget}s which the widget should support} \item{\verb{actions}}{the \code{\link{GdkDragAction}}s which the widget should suppport} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveSetCurveType.Rd0000644000176000001440000000124612362217677016432 0ustar ripleyusers\alias{gtkCurveSetCurveType} \name{gtkCurveSetCurveType} \title{gtkCurveSetCurveType} \description{ Sets the type of the curve. The curve will remain unchanged except when changing from a free curve to a linear or spline curve, in which case the curve will be changed as little as possible. \strong{WARNING: \code{gtk_curve_set_curve_type} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveSetCurveType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCurve}}.} \item{\verb{type}}{the type of the curve.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetFinishings.Rd0000644000176000001440000000067312362217677020341 0ustar ripleyusers\alias{gtkPrintSettingsSetFinishings} \name{gtkPrintSettingsSetFinishings} \title{gtkPrintSettingsSetFinishings} \description{Sets the value of \code{GTK_PRINT_SETTINGS_FINISHINGS}.} \usage{gtkPrintSettingsSetFinishings(object, finishings)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{finishings}}{the finishings} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreClear.Rd0000644000176000001440000000045312362217677015705 0ustar ripleyusers\alias{gtkTreeStoreClear} \name{gtkTreeStoreClear} \title{gtkTreeStoreClear} \description{Removes all rows from \code{tree.store}} \usage{gtkTreeStoreClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeStore}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableRemoveRowSelection.Rd0000644000176000001440000000116712362217677017562 0ustar ripleyusers\alias{atkTableRemoveRowSelection} \name{atkTableRemoveRowSelection} \title{atkTableRemoveRowSelection} \description{Removes the specified \code{row} from the selection.} \usage{atkTableRemoveRowSelection(object, row)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} } \value{[logical] a gboolean representing if the row was successfully removed from the selection, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionGetPriority.Rd0000644000176000001440000000061412362217677017130 0ustar ripleyusers\alias{gIoExtensionGetPriority} \name{gIoExtensionGetPriority} \title{gIoExtensionGetPriority} \description{Gets the priority with which \code{extension} was registered.} \usage{gIoExtensionGetPriority(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtension}}}} \value{[integer] the priority of \code{extension}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreInsertBefore.Rd0000644000176000001440000000155712362217677017270 0ustar ripleyusers\alias{gtkListStoreInsertBefore} \name{gtkListStoreInsertBefore} \title{gtkListStoreInsertBefore} \description{Inserts a new row before \code{sibling}. If \code{sibling} is \code{NULL}, then the row will be appended to the end of the list. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkListStoreSet}} or \code{\link{gtkListStoreSetValue}}.} \usage{gtkListStoreInsertBefore(object, sibling)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{sibling}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetLevelIndentation.Rd0000644000176000001440000000135212362217677020414 0ustar ripleyusers\alias{gtkTreeViewSetLevelIndentation} \name{gtkTreeViewSetLevelIndentation} \title{gtkTreeViewSetLevelIndentation} \description{Sets the amount of extra indentation for child levels to use in \code{tree.view} in addition to the default indentation. The value should be specified in pixels, a value of 0 disables this feature and in this case only the default indentation will be used. This does not have any visible effects for lists.} \usage{gtkTreeViewSetLevelIndentation(object, indentation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{indentation}}{the amount, in pixels, of extra indentation in \code{tree.view}.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderNewWithType.Rd0000644000176000001440000000263112362217677017536 0ustar ripleyusers\alias{gdkPixbufLoaderNewWithType} \name{gdkPixbufLoaderNewWithType} \title{gdkPixbufLoaderNewWithType} \description{Creates a new pixbuf loader object that always attempts to parse image data as if it were an image of type \code{image.type}, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.} \usage{gdkPixbufLoaderNewWithType(image.type, .errwarn = TRUE)} \arguments{ \item{\verb{image.type}}{name of the image format to be loaded with the image} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The list of supported image formats depends on what image loaders are installed, but typically "png", "jpeg", "gif", "tiff" and "xpm" are among the supported formats. To obtain the full list of supported image formats, call \code{\link{gdkPixbufFormatGetName}} on each of the \code{\link{GdkPixbufFormat}} structs returned by \code{\link{gdkPixbufGetFormats}}.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbufLoader}}] A newly-created pixbuf loader.} \item{\verb{error}}{return location for an allocated \code{\link{GError}}, or \code{NULL} to ignore errors. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewNewWithText.Rd0000644000176000001440000000100412362217677016700 0ustar ripleyusers\alias{gtkCellViewNewWithText} \name{gtkCellViewNewWithText} \title{gtkCellViewNewWithText} \description{Creates a new \code{\link{GtkCellView}} widget, adds a \code{\link{GtkCellRendererText}} to it, and makes its show \code{text}.} \usage{gtkCellViewNewWithText(text)} \arguments{\item{\verb{text}}{the text to display in the cell view}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkCellView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListItemNew.Rd0000644000176000001440000000061312362217677015224 0ustar ripleyusers\alias{gtkListItemNew} \name{gtkListItemNew} \title{gtkListItemNew} \description{ Creates a new \verb{GtkListitem}. \strong{WARNING: \code{gtk_list_item_new} is deprecated and should not be used in newly-written code.} } \usage{gtkListItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkListItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributesAsync.Rd0000644000176000001440000000212112362217677017055 0ustar ripleyusers\alias{gFileSetAttributesAsync} \name{gFileSetAttributesAsync} \title{gFileSetAttributesAsync} \description{Asynchronously sets the attributes of \code{file} with \code{info}.} \usage{gFileSetAttributesAsync(object, info, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{info}}{a \code{\link{GFileInfo}}.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{a \verb{R object}.} } \details{For more details, see \code{\link{gFileSetAttributesFromInfo}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileSetAttributesFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTestSimulateButton.Rd0000644000176000001440000000274612362217677016630 0ustar ripleyusers\alias{gdkTestSimulateButton} \name{gdkTestSimulateButton} \title{gdkTestSimulateButton} \description{This function is intended to be used in Gtk+ test programs. It will warp the mouse pointer to the given (\code{x},\code{y}) corrdinates within \code{window} and simulate a button press or release event. Because the mouse pointer needs to be warped to the target location, use of this function outside of test programs that run in their own virtual windowing system (e.g. Xvfb) is not recommended. Also, \code{gtkTestSimulateButton()} is a fairly low level function, for most testing purposes, \code{\link{gtkTestWidgetClick}} is the right function to call which will generate a button press event followed by its accompanying button release event.} \usage{gdkTestSimulateButton(window, x, y, button, modifiers, button.pressrelease)} \arguments{ \item{\verb{window}}{Gdk window to simulate a button event for.} \item{\verb{x}}{x coordinate within \code{window} for the button event.} \item{\verb{y}}{y coordinate within \code{window} for the button event.} \item{\verb{button}}{Number of the pointer button for the event, usually 1, 2 or 3.} \item{\verb{modifiers}}{Keyboard modifiers the event is setup with.} \item{\verb{button.pressrelease}}{either \code{GDK_BUTTON_PRESS} or \code{GDK_BUTTON_RELEASE}} } \details{Since 2.14} \value{[logical] wether all actions neccessary for a button event simulation were carried out successfully.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableNew.Rd0000644000176000001440000000154312362217677014524 0ustar ripleyusers\alias{gtkTableNew} \name{gtkTableNew} \title{gtkTableNew} \description{Used to create a new table widget. An initial size must be given by specifying how many rows and columns the table should have, although this can be changed later with \code{\link{gtkTableResize}}. \code{rows} and \code{columns} must both be in the range 0 .. 65535.} \usage{gtkTableNew(rows = NULL, columns = NULL, homogeneous = NULL, show = TRUE)} \arguments{ \item{\verb{rows}}{The number of rows the new table should have.} \item{\verb{columns}}{The number of columns the new table should have.} \item{\verb{homogeneous}}{If set to \code{TRUE}, all table cells are resized to the size of the cell containing the largest widget.} } \value{[\code{\link{GtkWidget}}] A pointer to the the newly created table widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetSelectionBound.Rd0000644000176000001440000000176712362217677020407 0ustar ripleyusers\alias{gtkTextBufferGetSelectionBound} \name{gtkTextBufferGetSelectionBound} \title{gtkTextBufferGetSelectionBound} \description{Returns the mark that represents the selection bound. Equivalent to calling \code{\link{gtkTextBufferGetMark}} to get the mark named "selection_bound", but very slightly more efficient, and involves less typing.} \usage{gtkTextBufferGetSelectionBound(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{The currently-selected text in \code{buffer} is the region between the "selection_bound" and "insert" marks. If "selection_bound" and "insert" are in the same place, then there is no current selection. \code{\link{gtkTextBufferGetSelectionBounds}} is another convenient function for handling the selection, if you just want to know whether there's a selection and what its bounds are.} \value{[\code{\link{GtkTextMark}}] selection bound mark. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFill.Rd0000644000176000001440000000101212362217677015036 0ustar ripleyusers\alias{gdkPixbufFill} \name{gdkPixbufFill} \title{gdkPixbufFill} \description{Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format. The alpha will be ignored if the pixbuf doesn't have an alpha channel.} \usage{gdkPixbufFill(object, pixel)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{pixel}}{RGBA pixel to clear to (0xffffffff is opaque white, 0x00000000 transparent black)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxSetChildSecondary.Rd0000644000176000001440000000232412362217677020235 0ustar ripleyusers\alias{gtkButtonBoxSetChildSecondary} \name{gtkButtonBoxSetChildSecondary} \title{gtkButtonBoxSetChildSecondary} \description{Sets whether \code{child} should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.} \usage{gtkButtonBoxSetChildSecondary(object, child, is.secondary)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButtonBox}}} \item{\verb{child}}{a child of \code{widget}} \item{\verb{is.secondary}}{if \code{TRUE}, the \code{child} appears in a secondary group of the button box.} } \details{This group appears after the other children if the style is \code{GTK_BUTTONBOX_START}, \code{GTK_BUTTONBOX_SPREAD} or \code{GTK_BUTTONBOX_EDGE}, and before the other children if the style is \code{GTK_BUTTONBOX_END}. For horizontal button boxes, the definition of before/after depends on direction of the widget (see \code{\link{gtkWidgetSetDirection}}). If the style is \code{GTK_BUTTONBOX_START} or \code{GTK_BUTTONBOX_END}, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeRegisterAlias.Rd0000644000176000001440000000102212362217677017215 0ustar ripleyusers\alias{gtkIconSizeRegisterAlias} \name{gtkIconSizeRegisterAlias} \title{gtkIconSizeRegisterAlias} \description{Registers \code{alias} as another name for \code{target}. So calling \code{\link{gtkIconSizeFromName}} with \code{alias} as argument will return \code{target}.} \usage{gtkIconSizeRegisterAlias(alias, target)} \arguments{ \item{\verb{alias}}{an alias for \code{target}} \item{\verb{target}}{an existing icon size. \emph{[ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnAutoResize.Rd0000644000176000001440000000137512362217677017711 0ustar ripleyusers\alias{gtkCListSetColumnAutoResize} \name{gtkCListSetColumnAutoResize} \title{gtkCListSetColumnAutoResize} \description{ Lets you specify whether a column should be automatically resized by the widget when data is added or removed. Enabling auto-resize on a column explicity disallows user-resizing of the column. \strong{WARNING: \code{gtk_clist_set_column_auto_resize} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnAutoResize(object, column, auto.resize)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column on which to set auto-resizing.} \item{\verb{auto.resize}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeSelection.Rd0000644000176000001440000001233412362217677015530 0ustar ripleyusers\alias{GtkTreeSelection} \alias{GtkTreeSelectionFunc} \alias{GtkTreeSelectionForeachFunc} \name{GtkTreeSelection} \title{GtkTreeSelection} \description{The selection object for GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkTreeSelectionSetMode}(object, type)}\cr \code{\link{gtkTreeSelectionGetMode}(object)}\cr \code{\link{gtkTreeSelectionSetSelectFunction}(object, func, data = NULL)}\cr \code{\link{gtkTreeSelectionGetSelectFunction}(object)}\cr \code{\link{gtkTreeSelectionGetUserData}(object)}\cr \code{\link{gtkTreeSelectionGetTreeView}(object)}\cr \code{\link{gtkTreeSelectionGetSelected}(object)}\cr \code{\link{gtkTreeSelectionSelectedForeach}(object, func, data = NULL)}\cr \code{\link{gtkTreeSelectionGetSelectedRows}(object)}\cr \code{\link{gtkTreeSelectionCountSelectedRows}(object)}\cr \code{\link{gtkTreeSelectionSelectPath}(object, path)}\cr \code{\link{gtkTreeSelectionUnselectPath}(object, path)}\cr \code{\link{gtkTreeSelectionPathIsSelected}(object, path)}\cr \code{\link{gtkTreeSelectionSelectIter}(object, iter)}\cr \code{\link{gtkTreeSelectionUnselectIter}(object, iter)}\cr \code{\link{gtkTreeSelectionIterIsSelected}(object, iter)}\cr \code{\link{gtkTreeSelectionSelectAll}(object)}\cr \code{\link{gtkTreeSelectionUnselectAll}(object)}\cr \code{\link{gtkTreeSelectionSelectRange}(object, start.path, end.path)}\cr \code{\link{gtkTreeSelectionUnselectRange}(object, start.path, end.path)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkTreeSelection}} \section{Detailed Description}{The \code{\link{GtkTreeSelection}} object is a helper object to manage the selection for a \code{\link{GtkTreeView}} widget. The \code{\link{GtkTreeSelection}} object is automatically created when a new \code{\link{GtkTreeView}} widget is created, and cannot exist independentally of this widget. The primary reason the \code{\link{GtkTreeSelection}} objects exists is for cleanliness of code and API. That is, there is no conceptual reason all these functions could not be methods on the \code{\link{GtkTreeView}} widget instead of a separate function. The \code{\link{GtkTreeSelection}} object is gotten from a \code{\link{GtkTreeView}} by calling \code{\link{gtkTreeViewGetSelection}}. It can be manipulated to check the selection status of the tree, as well as select and deselect individual rows. Selection is done completely view side. As a result, multiple views of the same model can have completely different selections. Additionally, you cannot change the selection of a row on the model that is not currently displayed by the view without expanding its parents first. One of the important things to remember when monitoring the selection of a view is that the \verb{"changed"} signal is mostly a hint. That is, it may only emit one signal when a range of rows is selected. Additionally, it may on occasion emit a ::changed signal when nothing has happened (mostly as a result of programmers calling select_row on an already selected row).} \section{Structures}{\describe{\item{\verb{GtkTreeSelection}}{ \emph{undocumented } }}} \section{User Functions}{\describe{ \item{\code{GtkTreeSelectionFunc(selection, model, path, path.currently.selected, data)}}{ A function used by \code{\link{gtkTreeSelectionSetSelectFunction}} to filter whether or not a row may be selected. It is called whenever a row's state might change. A return value of \code{TRUE} indicates to \code{selection} that it is okay to change the selection. \describe{ \item{\code{selection}}{A \code{\link{GtkTreeSelection}}} \item{\code{model}}{A \code{\link{GtkTreeModel}} being viewed} \item{\code{path}}{The \code{\link{GtkTreePath}} of the row in question} \item{\code{path.currently.selected}}{\code{TRUE}, if the path is currently selected} \item{\code{data}}{user data} } \emph{Returns:} [logical] \code{TRUE}, if the selection state of the row can be toggled } \item{\code{GtkTreeSelectionForeachFunc(model, path, iter, data)}}{ A function used by \code{\link{gtkTreeSelectionSelectedForeach}} to map all selected rows. It will be called on every selected row in the view. \describe{ \item{\code{model}}{The \code{\link{GtkTreeModel}} being viewed} \item{\code{path}}{The \code{\link{GtkTreePath}} of a selected row} \item{\code{iter}}{A \code{\link{GtkTreeIter}} pointing to a selected row} \item{\code{data}}{user data} } } }} \section{Signals}{\describe{\item{\code{changed(treeselection, user.data)}}{ Emitted whenever the selection has (possibly) changed. Please note that this signal is mostly a hint. It may only be emitted once when a range of rows are selected, and it may occasionally be emitted when nothing has happened. \describe{ \item{\code{treeselection}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeSelection.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeView}} \code{\link{GtkTreeViewColumn}} \code{\link{GtkTreeSortable}} \code{\link{GtkTreeModelSort}} \code{\link{GtkListStore}} \code{\link{GtkTreeStore}} \code{\link{GtkCellRenderer}} \code{\link{GtkCellEditable}} \code{\link{GtkCellRendererPixbuf}} \code{\link{GtkCellRendererText}} \code{\link{GtkCellRendererToggle}} } \keyword{internal} RGtk2/man/gdkWindowGetGeometry.Rd0000644000176000001440000000345312362217677016430 0ustar ripleyusers\alias{gdkWindowGetGeometry} \name{gdkWindowGetGeometry} \title{gdkWindowGetGeometry} \description{Any of the return location arguments to this function may be \code{NULL}, if you aren't interested in getting the value of that field.} \usage{gdkWindowGetGeometry(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{The X and Y coordinates returned are relative to the parent window of \code{window}, which for toplevels usually means relative to the window decorations (titlebar, etc.) rather than relative to the root window (screen-size background window). On the X11 platform, the geometry is obtained from the X server, so reflects the latest position of \code{window}; this may be out-of-sync with the position of \code{window} delivered in the most-recently-processed \code{\link{GdkEventConfigure}}. \code{\link{gdkWindowGetPosition}} in contrast gets the position from the most recent configure event. \strong{PLEASE NOTE:} If \code{window} is not a toplevel, it is \emph{much} better to call \code{\link{gdkWindowGetPosition}} and \code{\link{gdkDrawableGetSize}} instead, because it avoids the roundtrip to the X server and because \code{\link{gdkDrawableGetSize}} supports the full 32-bit coordinate space, whereas \code{\link{gdkWindowGetGeometry}} is restricted to the 16-bit coordinates of X11.} \value{ A list containing the following elements: \item{\verb{x}}{return location for X coordinate of window (relative to its parent)} \item{\verb{y}}{return location for Y coordinate of window (relative to its parent)} \item{\verb{width}}{return location for width of window} \item{\verb{height}}{return location for height of window} \item{\verb{depth}}{return location for bit depth of window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextMeasure.Rd0000644000176000001440000000140312362217677015244 0ustar ripleyusers\alias{gdkTextMeasure} \name{gdkTextMeasure} \title{gdkTextMeasure} \description{ Determines the distance from the origin to the rightmost portion of a string when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. See \code{\link{gdkTextWidth}}. \strong{WARNING: \code{gdk_text_measure} is deprecated and should not be used in newly-written code.} } \usage{gdkTextMeasure(object, text, text.length = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{text}}{the text to measure.} \item{\verb{text.length}}{the length of the text in bytes.} } \value{[integer] the right bearing of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupDisconnectKey.Rd0000644000176000001440000000121712362217677017530 0ustar ripleyusers\alias{gtkAccelGroupDisconnectKey} \name{gtkAccelGroupDisconnectKey} \title{gtkAccelGroupDisconnectKey} \description{Removes an accelerator previously installed through \code{\link{gtkAccelGroupConnect}}.} \usage{gtkAccelGroupDisconnectKey(object, accel.key, accel.mods)} \arguments{ \item{\verb{object}}{the accelerator group to install an accelerator in} \item{\verb{accel.key}}{key value of the accelerator} \item{\verb{accel.mods}}{modifier combination of the accelerator} } \value{[logical] \code{TRUE} if there was an accelerator which could be removed, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentChooserDialog.Rd0000644000176000001440000000467112362217677016653 0ustar ripleyusers\alias{GtkRecentChooserDialog} \alias{gtkRecentChooserDialog} \name{GtkRecentChooserDialog} \title{GtkRecentChooserDialog} \description{Displays recently used files in a dialog} \section{Methods and Functions}{ \code{\link{gtkRecentChooserDialogNew}(title = NULL, parent = NULL, ..., show = TRUE)}\cr \code{\link{gtkRecentChooserDialogNewForManager}(title = NULL, parent = NULL, manager, ..., show = TRUE)}\cr \code{gtkRecentChooserDialog(title = NULL, parent = NULL, ..., show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkRecentChooserDialog}} \section{Interfaces}{GtkRecentChooserDialog implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkRecentChooser}}.} \section{Detailed Description}{\code{\link{GtkRecentChooserDialog}} is a dialog box suitable for displaying the recently used documents. This widgets works by putting a \code{\link{GtkRecentChooserWidget}} inside a \code{\link{GtkDialog}}. It exposes the \verb{GtkRecentChooserIface} interface, so you can use all the \code{\link{GtkRecentChooser}} functions on the recent chooser dialog as well as those for \code{\link{GtkDialog}}. Note that \code{\link{GtkRecentChooserDialog}} does not have any methods of its own. Instead, you should use the functions that work on a \code{\link{GtkRecentChooser}}. \emph{Typical usage} \preformatted{ dialog <- gtkRecentChooserDialog("Recent Documents", parent_window, "gtk-cancel", GtkResponseType["cancel"], "gtk-open", GtkResponseType["accept"]) if (dialog$run() == GtkResponseType["accept"]) { info <- dialog$getCurrentItem() open_file(info$getUri()) } } Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkRecentChooserDialog}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkRecentChooserDialog} is the equivalent of \code{\link{gtkRecentChooserDialogNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentChooserDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkRecentChooser}} \code{\link{GtkDialog}} } \keyword{internal} RGtk2/man/gtkTextViewGetIndent.Rd0000644000176000001440000000072512362217677016405 0ustar ripleyusers\alias{gtkTextViewGetIndent} \name{gtkTextViewGetIndent} \title{gtkTextViewGetIndent} \description{Gets the default indentation of paragraphs in \code{text.view}. Tags in the view's buffer may override the default. The indentation may be negative.} \usage{gtkTextViewGetIndent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] number of pixels of indentation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemGetImage.Rd0000644000176000001440000000076312362217677017117 0ustar ripleyusers\alias{gtkImageMenuItemGetImage} \name{gtkImageMenuItemGetImage} \title{gtkImageMenuItemGetImage} \description{Gets the widget that is currently set as the image of \code{image.menu.item}. See \code{\link{gtkImageMenuItemSetImage}}.} \usage{gtkImageMenuItemGetImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImageMenuItem}}.}} \value{[\code{\link{GtkWidget}}] the widget set as image of \code{image.menu.item}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetTreeView.Rd0000644000176000001440000000115312362217677020043 0ustar ripleyusers\alias{gtkTreeViewColumnGetTreeView} \name{gtkTreeViewColumnGetTreeView} \title{gtkTreeViewColumnGetTreeView} \description{Returns the \code{\link{GtkTreeView}} wherein \code{tree.column} has been inserted. If \code{column} is currently not inserted in any tree view, \code{NULL} is returned.} \usage{gtkTreeViewColumnGetTreeView(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \details{Since 2.12} \value{[\code{\link{GtkWidget}}] The tree view wherein \code{column} has been inserted if any, \code{NULL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetUseUnderline.Rd0000644000176000001440000000104712362217677017567 0ustar ripleyusers\alias{gtkExpanderSetUseUnderline} \name{gtkExpanderSetUseUnderline} \title{gtkExpanderSetUseUnderline} \description{If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key.} \usage{gtkExpanderSetUseUnderline(object, use.underline)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{use.underline}}{\code{TRUE} if underlines in the text indicate mnemonics} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetIconFromIconName.Rd0000644000176000001440000000132112362217677020172 0ustar ripleyusers\alias{gtkTooltipSetIconFromIconName} \name{gtkTooltipSetIconFromIconName} \title{gtkTooltipSetIconFromIconName} \description{Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by \code{icon.name} with the size indicated by \code{size}. If \code{icon.name} is \code{NULL}, the image will be hidden.} \usage{gtkTooltipSetIconFromIconName(object, icon.name = NULL, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{icon.name}}{an icon name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetLocalOnly.Rd0000644000176000001440000000130612362217677020054 0ustar ripleyusers\alias{gtkRecentChooserSetLocalOnly} \name{gtkRecentChooserSetLocalOnly} \title{gtkRecentChooserSetLocalOnly} \description{Sets whether only local resources, that is resources using the file:// URI scheme, should be shown in the recently used resources selector. If \code{local.only} is \code{TRUE} (the default) then the shown resources are guaranteed to be accessible through the operating system native file system.} \usage{gtkRecentChooserSetLocalOnly(object, local.only)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{local.only}}{\code{TRUE} if only local files can be shown} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionOwnerSetForDisplay.Rd0000644000176000001440000000152712362217677020436 0ustar ripleyusers\alias{gtkSelectionOwnerSetForDisplay} \name{gtkSelectionOwnerSetForDisplay} \title{gtkSelectionOwnerSetForDisplay} \description{Claim ownership of a given selection for a particular widget, or, if \code{widget} is \code{NULL}, release ownership of the selection.} \usage{gtkSelectionOwnerSetForDisplay(display, widget = NULL, selection, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{display}}{the \verb{Gdkdisplay} where the selection is set} \item{\verb{widget}}{new selection owner (a \verb{GdkWidget}), or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{selection}}{an interned atom representing the selection to claim.} \item{\verb{time}}{timestamp with which to claim the selection} } \details{Since 2.2} \value{[logical] TRUE if the operation succeeded} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardGetForDisplay.Rd0000644000176000001440000000406312362217677017357 0ustar ripleyusers\alias{gtkClipboardGetForDisplay} \name{gtkClipboardGetForDisplay} \title{gtkClipboardGetForDisplay} \description{Returns the clipboard object for the given selection. Cut/copy/paste menu items and keyboard shortcuts should use the default clipboard, returned by passing \code{GDK_SELECTION_CLIPBOARD} for \code{selection}. (\code{GDK_NONE} is supported as a synonym for GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The currently-selected object or text should be provided on the clipboard identified by \verb{GDK_SELECTION_PRIMARY}. Cut/copy/paste menu items conceptually copy the contents of the \verb{GDK_SELECTION_PRIMARY} clipboard to the default clipboard, i.e. they copy the selection to what the user sees as the clipboard.} \usage{gtkClipboardGetForDisplay(display, selection = "GDK_SELECTION_CLIPBOARD")} \arguments{ \item{\verb{display}}{the display for which the clipboard is to be retrieved or created} \item{\verb{selection}}{a \code{\link{GdkAtom}} which identifies the clipboard to use.} } \details{(Passing \verb{GDK_NONE} is the same as using \code{gdk_atom_intern ("CLIPBOARD", FALSE)}. See http://www.freedesktop.org/Standards/clipboards-spec (\url{http://www.freedesktop.org/Standards/clipboards-spec}) for a detailed discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X window system. On Win32 the \verb{GDK_SELECTION_PRIMARY} clipboard is essentially ignored.) It's possible to have arbitrary named clipboards; if you do invent new clipboards, you should prefix the selection name with an underscore (because the ICCCM requires that nonstandard atoms are underscore-prefixed), and namespace it as well. For example, if your application called "Foo" has a special-purpose clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD". Since 2.2} \value{[\code{\link{GtkClipboard}}] the appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent and, \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetUserData.Rd0000644000176000001440000000145612362217677015522 0ustar ripleyusers\alias{cairoSetUserData} \name{cairoSetUserData} \title{cairoSetUserData} \description{Attach user data to \code{cr}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoSetUserData(cr, key, user.data)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the a \code{\link{CairoUserDataKey}} to attach the user data to} \item{\verb{user.data}}{[R object] the user data to attach to the \code{\link{Cairo}}} } \details{ Since 1.4} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY} if a slot could not be allocated for the user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoVersionCheck.Rd0000644000176000001440000000255512362217677015731 0ustar ripleyusers\alias{pangoVersionCheck} \name{pangoVersionCheck} \title{pangoVersionCheck} \description{Checks that the Pango library in use is compatible with the given version. Generally you would pass in the constants \code{PANGO_VERSION_MAJOR}, \code{PANGO_VERSION_MINOR}, \code{PANGO_VERSION_MICRO} as the three arguments to this function; that produces a check that the library in use at run-time is compatible with the version of Pango the application or module was compiled against.} \usage{pangoVersionCheck(required.major, required.minor, required.micro)} \arguments{ \item{\verb{required.major}}{[integer] the required major version.} \item{\verb{required.minor}}{[integer] the required minor version.} \item{\verb{required.micro}}{[integer] the required major version.} } \details{Compatibility is defined by two things: first the version of the running library is newer than the version \code{required.major.required.minor}.\code{required.micro}. Second the running library must be binary compatible with the version \code{required.major.required.minor}.\code{required.micro} (same major version.) For compile-time version checking use \code{pangoVersionCheck()}. Since 1.16} \value{[char] \code{NULL} if the Pango library is compatible with the given version, or a string describing the version mismatch.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagNew.Rd0000644000176000001440000000071212362217677015052 0ustar ripleyusers\alias{gtkTextTagNew} \name{gtkTextTagNew} \title{gtkTextTagNew} \description{Creates a \code{\link{GtkTextTag}}. Configure the tag using object arguments, i.e. using \code{\link{gObjectSet}}.} \usage{gtkTextTagNew(name = NULL)} \arguments{\item{\verb{name}}{tag name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \value{[\code{\link{GtkTextTag}}] a new \code{\link{GtkTextTag}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetSource.Rd0000644000176000001440000000174712362217677015255 0ustar ripleyusers\alias{cairoSetSource} \name{cairoSetSource} \title{cairoSetSource} \description{Sets the source pattern within \code{cr} to \code{source}. This pattern will then be used for any subsequent drawing operation until a new source pattern is set.} \usage{cairoSetSource(cr, source)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{source}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}} to be used as the source for subsequent drawing operations.} } \details{Note: The pattern's transformation matrix will be locked to the user space in effect at the time of \code{\link{cairoSetSource}}. This means that further modifications of the current transformation matrix will not affect the source pattern. See \code{\link{cairoPatternSetMatrix}}. The default source pattern is a solid pattern that is opaque black, (that is, it is equivalent to cairo_set_source_rgb(cr, 0.0, 0.0, 0.0)). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetHints.Rd0000644000176000001440000000223312362217677015731 0ustar ripleyusers\alias{gdkWindowSetHints} \name{gdkWindowSetHints} \title{gdkWindowSetHints} \description{ This function is broken and useless and you should ignore it. If using GTK+, use functions such as \code{\link{gtkWindowResize}}, \code{gtkWindowSetSizeRequest()}, \code{\link{gtkWindowMove}}, \code{gtkWindowParseGeometry()}, and \code{\link{gtkWindowSetGeometryHints}}, depending on what you're trying to do. \strong{WARNING: \code{gdk_window_set_hints} is deprecated and should not be used in newly-written code.} } \usage{gdkWindowSetHints(object, x, y, min.width, min.height, max.width, max.height, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{ignored field, does not matter} \item{\verb{y}}{ignored field, does not matter} \item{\verb{min.width}}{minimum width hint} \item{\verb{min.height}}{minimum height hint} \item{\verb{max.width}}{max width hint} \item{\verb{max.height}}{max height hint} \item{\verb{flags}}{logical OR of GDK_HINT_POS, GDK_HINT_MIN_SIZE, and/or GDK_HINT_MAX_SIZE} } \details{If using GDK directly, use \code{\link{gdkWindowSetGeometryHints}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHasRcStyle.Rd0000644000176000001440000000073212362217677016207 0ustar ripleyusers\alias{gtkWidgetHasRcStyle} \name{gtkWidgetHasRcStyle} \title{gtkWidgetHasRcStyle} \description{Determines if the widget style has been looked up through the rc mechanism.} \usage{gtkWidgetHasRcStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.20} \value{[logical] \code{TRUE} if the widget has been looked up through the rc mechanism, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetStepIncrement.Rd0000644000176000001440000000067112362217677020303 0ustar ripleyusers\alias{gtkAdjustmentGetStepIncrement} \name{gtkAdjustmentGetStepIncrement} \title{gtkAdjustmentGetStepIncrement} \description{Retrieves the step increment of the adjustment.} \usage{gtkAdjustmentGetStepIncrement(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \details{Since 2.14} \value{[numeric] The current step increment of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetIconName.Rd0000644000176000001440000000071612362217677016345 0ustar ripleyusers\alias{gtkWindowGetIconName} \name{gtkWindowGetIconName} \title{gtkWindowGetIconName} \description{Returns the name of the themed icon for the window, see \code{\link{gtkWindowSetIconName}}.} \usage{gtkWindowGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.6} \value{[character] the icon name or \code{NULL} if the window has no themed icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableIsColumnSelected.Rd0000644000176000001440000000116612362217677017170 0ustar ripleyusers\alias{atkTableIsColumnSelected} \name{atkTableIsColumnSelected} \title{atkTableIsColumnSelected} \description{Gets a boolean value indicating whether the specified \code{column} is selected} \usage{atkTableIsColumnSelected(object, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[logical] a gboolean representing if the column is selected, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMMulticontextNew.Rd0000644000176000001440000000050512362217677016417 0ustar ripleyusers\alias{gtkIMMulticontextNew} \name{gtkIMMulticontextNew} \title{gtkIMMulticontextNew} \description{Creates a new \code{\link{GtkIMMulticontext}}.} \usage{gtkIMMulticontextNew()} \value{[\code{\link{GtkIMContext}}] a new \code{\link{GtkIMMulticontext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileResolveRelativePath.Rd0000644000176000001440000000115212362217677017210 0ustar ripleyusers\alias{gFileResolveRelativePath} \name{gFileResolveRelativePath} \title{gFileResolveRelativePath} \description{Resolves a relative path for \code{file} to an absolute path.} \usage{gFileResolveRelativePath(object, relative.path)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{relative.path}}{a given relative path string.} } \details{This call does no blocking i/o.} \value{[\code{\link{GFile}}] \code{\link{GFile}} to the resolved path. \code{NULL} if \code{relative.path} is \code{NULL} or if \code{file} is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetGetPriority.Rd0000644000176000001440000000075712362217677016615 0ustar ripleyusers\alias{gSrvTargetGetPriority} \name{gSrvTargetGetPriority} \title{gSrvTargetGetPriority} \description{Gets \code{target}'s priority. You should not need to look at this; \code{\link{GResolver}} already sorts the targets according to the algorithm in RFC 2782.} \usage{gSrvTargetGetPriority(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[integer] \code{target}'s priority} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrFamilyNew.Rd0000644000176000001440000000063712362217677016073 0ustar ripleyusers\alias{pangoAttrFamilyNew} \name{pangoAttrFamilyNew} \title{pangoAttrFamilyNew} \description{Create a new font family attribute.} \usage{pangoAttrFamilyNew(family)} \arguments{\item{\verb{family}}{[char] the family or comma separated list of families}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAlignmentNew.Rd0000644000176000001440000000201312362217677015404 0ustar ripleyusers\alias{gtkAlignmentNew} \name{gtkAlignmentNew} \title{gtkAlignmentNew} \description{Creates a new \code{\link{GtkAlignment}}.} \usage{gtkAlignmentNew(xalign = NULL, yalign = NULL, xscale = NULL, yscale = NULL, show = TRUE)} \arguments{ \item{\verb{xalign}}{the horizontal alignment of the child widget, from 0 (left) to 1 (right).} \item{\verb{yalign}}{the vertical alignment of the child widget, from 0 (top) to 1 (bottom).} \item{\verb{xscale}}{the amount that the child widget expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the \code{\link{GtkAlignment}}.} \item{\verb{yscale}}{the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to \code{xscale}.} } \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkAlignment}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardToTagToggle.Rd0000644000176000001440000000160712362217677020334 0ustar ripleyusers\alias{gtkTextIterBackwardToTagToggle} \name{gtkTextIterBackwardToTagToggle} \title{gtkTextIterBackwardToTagToggle} \description{Moves backward to the next toggle (on or off) of the \code{\link{GtkTextTag}} \code{tag}, or to the next toggle of any tag if \code{tag} is \code{NULL}. If no matching tag toggles are found, returns \code{FALSE}, otherwise \code{TRUE}. Does not return toggles located at \code{iter}, only toggles before \code{iter}. Sets \code{iter} to the location of the toggle, or the start of the buffer if no toggle is found.} \usage{gtkTextIterBackwardToTagToggle(object, tag = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether we found a tag toggle before \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetResolution.Rd0000644000176000001440000000075012362217677016745 0ustar ripleyusers\alias{gdkScreenGetResolution} \name{gdkScreenGetResolution} \title{gdkScreenGetResolution} \description{Gets the resolution for font handling on the screen; see \code{\link{gdkScreenSetResolution}} for full details.} \usage{gdkScreenGetResolution(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.10} \value{[numeric] the current resolution, or -1 if no resolution has been set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetKeepAbove.Rd0000644000176000001440000000156112362217677016510 0ustar ripleyusers\alias{gdkWindowSetKeepAbove} \name{gdkWindowSetKeepAbove} \title{gdkWindowSetKeepAbove} \description{Set if \code{window} must be kept above other windows. If the window was already above, then this function does nothing.} \usage{gdkWindowSetKeepAbove(object, setting)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{setting}}{whether to keep \code{window} above other windows} } \details{On X11, asks the window manager to keep \code{window} above, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "keep above"; so you can't rely on the window being kept above. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetAccelPath.Rd0000644000176000001440000000061312362217677016131 0ustar ripleyusers\alias{gtkMenuGetAccelPath} \name{gtkMenuGetAccelPath} \title{gtkMenuGetAccelPath} \description{Retrieves the accelerator path set on the menu.} \usage{gtkMenuGetAccelPath(object)} \arguments{\item{\verb{object}}{a valid \code{\link{GtkMenu}}}} \details{Since 2.14} \value{[character] the accelerator path set on the menu.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNewFromPixbuf.Rd0000644000176000001440000000103112362217677017563 0ustar ripleyusers\alias{gtkStatusIconNewFromPixbuf} \name{gtkStatusIconNewFromPixbuf} \title{gtkStatusIconNewFromPixbuf} \description{Creates a status icon displaying \code{pixbuf}. } \usage{gtkStatusIconNewFromPixbuf(pixbuf)} \arguments{\item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}}} \details{The image will be scaled down to fit in the available space in the notification area, if necessary. Since 2.10} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetTopMargin.Rd0000644000176000001440000000075412362217677017220 0ustar ripleyusers\alias{gtkPageSetupSetTopMargin} \name{gtkPageSetupSetTopMargin} \title{gtkPageSetupSetTopMargin} \description{Sets the top margin of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupSetTopMargin(object, margin, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{margin}}{the new top margin in units of \code{unit}} \item{\verb{unit}}{the units for \code{margin}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkEditableText.Rd0000644000176000001440000000311312362217677015326 0ustar ripleyusers\alias{AtkEditableText} \name{AtkEditableText} \title{AtkEditableText} \description{The ATK interface implemented by components containing user-editable text content.} \section{Methods and Functions}{ \code{\link{atkEditableTextSetRunAttributes}(object, attrib.set, start.offset, end.offset)}\cr \code{\link{atkEditableTextSetTextContents}(object, string)}\cr \code{\link{atkEditableTextInsertText}(object, string, position)}\cr \code{\link{atkEditableTextCopyText}(object, start.pos, end.pos)}\cr \code{\link{atkEditableTextCutText}(object, start.pos, end.pos)}\cr \code{\link{atkEditableTextDeleteText}(object, start.pos, end.pos)}\cr \code{\link{atkEditableTextPasteText}(object, position)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkEditableText}} \section{Implementations}{AtkEditableText is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkEditableText}} should be implemented by UI components which contain text which the user can edit, via the \code{\link{AtkObject}} corresponding to that component (see \code{\link{AtkObject}}). \code{\link{AtkEditableText}} is a subclass of \code{\link{AtkText}}, and as such, an object which implements \code{\link{AtkEditableText}} is by definition an \code{\link{AtkText}} implementor as well.} \section{Structures}{\describe{\item{\verb{AtkEditableText}}{ The AtkEditableText structure does not contain any fields. }}} \references{\url{http://library.gnome.org/devel//atk/AtkEditableText.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{AtkText}}} \keyword{internal} RGtk2/man/gtkEntrySetBuffer.Rd0000644000176000001440000000064512362217677015734 0ustar ripleyusers\alias{gtkEntrySetBuffer} \name{gtkEntrySetBuffer} \title{gtkEntrySetBuffer} \description{Set the \code{\link{GtkEntryBuffer}} object which holds the text for this widget.} \usage{gtkEntrySetBuffer(object, buffer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{buffer}}{a \code{\link{GtkEntryBuffer}}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetUserData.Rd0000644000176000001440000000133712362217677017447 0ustar ripleyusers\alias{cairoScaledFontGetUserData} \name{cairoScaledFontGetUserData} \title{cairoScaledFontGetUserData} \description{Return user data previously attached to \code{scaled.font} using the specified key. If no user data has been attached with the given key this function returns \code{NULL}.} \usage{cairoScaledFontGetUserData(scaled.font, key)} \arguments{ \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the the \code{\link{CairoUserDataKey}} the user data was attached to} } \details{ Since 1.4} \value{[R object] the user data previously attached or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoLayoutPath.Rd0000644000176000001440000000107612362217677016413 0ustar ripleyusers\alias{pangoCairoLayoutPath} \name{pangoCairoLayoutPath} \title{pangoCairoLayoutPath} \description{Adds the text in a \code{\link{PangoLayout}} to the current path in the specified cairo context. The top-left corner of the \code{\link{PangoLayout}} will be at the current point of the cairo context.} \usage{pangoCairoLayoutPath(cr, layout)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{layout}}{[\code{\link{PangoLayout}}] a Pango layout} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetMinusButton.Rd0000644000176000001440000000073612362217677020121 0ustar ripleyusers\alias{gtkScaleButtonGetMinusButton} \name{gtkScaleButtonGetMinusButton} \title{gtkScaleButtonGetMinusButton} \description{Retrieves the minus button of the \code{\link{GtkScaleButton}}.} \usage{gtkScaleButtonGetMinusButton(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the minus button of the \code{\link{GtkScaleButton}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetStock.Rd0000644000176000001440000000146212362217677015511 0ustar ripleyusers\alias{gtkImageGetStock} \name{gtkImageGetStock} \title{gtkImageGetStock} \description{Gets the stock icon name and size being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_STOCK} (see \code{\link{gtkImageGetStorageType}}).} \usage{gtkImageGetStock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{ A list containing the following elements: \item{\verb{stock.id}}{place to store a stock icon name, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{size}}{place to store a stock icon size, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ][ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GObject.Rd0000644000176000001440000001516211766145227013632 0ustar ripleyusers\name{GObject} \title{The GObject system in RGtk2} \alias{GObject} \alias{gObjectGetPropInfo} \alias{names.GObject} \alias{gObjectGet} \alias{gObjectSet} \alias{gObjectGetData} \alias{gObjectSetData} \alias{gObject} \alias{gObjectNew} \alias{gtkObject} \alias{gtkObjectNew} \alias{gObjectGetSignals} \alias{[.GObject} \alias{[<-.GObject} \alias{$.GObject} \alias{$<-.GObject} \alias{[[.GObject} \alias{[[<-.GObject} \alias{interface} \alias{gObjectParentClass} \alias{gTypeGetPropInfo} \description{ GObject is the fundamental type providing the common attributes and methods for all object types in GTK+, Pango and other libraries based on GObject. It provides facilities for object construction, properties, and signals. } \usage{ gObjectGet(obj, ..., drop = T) \method{[}{GObject}(obj, value, ...) gObjectSet(obj, ...) \method{[}{GObject}(obj, propNames) <- value \method{[[}{GObject}(obj, member, where = parent.frame()) \method{[[}{GObject}(obj, member) <- value \method{$}{GObject}(x, member) \method{$}{GObject}(obj, member) <- value gObject(type, ...) gObjectNew(type, ...) gObjectSetData(obj, key, data = NULL) gObjectGetData(obj, key) gObjectGetSignals(obj) gObjectGetPropInfo(obj, parents = TRUE, collapse = TRUE) gTypeGetPropInfo(type) \method{names}{GObject}(x) interface(obj) gObjectParentClass(obj) } \arguments{ \item{obj}{an instance of a \code{GObject}} \item{drop}{when retrieving the value of a single property, \code{TRUE} to return the element from the list, instead of the list with just that element.} \item{member}{the name of a member in an R-defined (custom) GObject class} \item{type}{the type of \code{GObject}} \item{key}{the unique identifier under which the data is stored} \item{data}{the data to store with the \code{GObject}} \item{...}{named arguments of properties to set or names of properties to retrieve} \item{propNames}{the names properties to set or get} \item{value}{a value with which to set a proprety} \item{parents}{whether to include the parents when retrieving property info} \item{collapse}{whether to collapse the properties over the parents} \item{x}{The \code{GObject} for which the property names are to be retrieved} \item{where}{The environment in which to look for the field accessor function} } \value{ Properties and data for \code{gObjectGet} and \code{gObjectGetData}, respectively. \code{gObjectNew} returns a new instance of the specified \code{type}. \code{gObjectGetPropInfo} and \code{gTypeGetPropInfo} return a named list (or list of lists if \code{collapse} is \code{FALSE}) of properties (\code{\link{GParamSpec}}s) belonging to the \code{GObject} type and its parents (unless \code{parents} is \code{FALSE}). \code{gObjectGetSignals} gets a list of signal ids with names for the signals supported by the object. \code{gObjectParentClass} returns a pointer to the parent class of the object. } \details{ Every \code{GObject} has a type, known as a \code{\link{GType}}. Like all object-oriented paradigms, types may be (in this case singly) inherited. Thus, every \code{GObject} has a type that descends from the common \code{GObject} type. \code{GObject}s may also implement interfaces. The interfaces implemented by a particular object may be found in the \code{interfaces} attribute of an R object representing a \code{GObject}, for which, as you might expect, \code{inherits("GObject")} returns \code{TRUE}. To conveniently access this attribute, use \code{interface}. A \code{GObject} is usually constructed with the constructor belonging to a particular subtype (for example, \code{\link{gtkWindowNew}} constructs a \code{\link{GtkWindow}}). It is also possible to use \code{\link{gObjectNew}} to construct an instance of \code{GObject} with the given type and properties. The properties of a \code{GObject} are name-value pairs that may be retrieved and set using \code{gObjectGet} and \code{gObjectSet}, respectively. Whenever specifying properties as arguments in RGtk2, name the arguments with the property name and give the desired property value as the actual argument. For example, \code{gObjectSet(window, modal = T)} to make a window modal. For convenience, the \code{[.GObject} and \code{[<-.GObject} functions may be used to get and set properties, respectively. For example, \code{window["modal"] <- T}. Properties help describe the state of an object and are convenient for many reasons, including the ability to register handlers that are invoked when a property changes. They are also associated with metadata that describe their purpose and allow runtime checking of constraints, such as the data type or range in the case of a numeric type. This notification occurs via \code{GObject} signals, which are named hooks for which callbacks may be registered. The event driven system of GTK+ depends on signals for coordinating objects in response to both user and programmatic events. You can use \code{\link{gSignalConnect}} to connect an R function to a signal. When new GObject classes are defined in R, they may provide additional fields and methods. \code{[[.GObject} and \code{[[<-.GObject} get and set, respectively, those members, depending on permissions: private members are only available to methods of the defining class, and protected only to subclasses of the defining class. If \code{[[} fails to find an R-defined member, it searches for a C field and then a GObject property. \code{[[<-} first tries to set a GObject property before looking for an R member to ensure that properties are set through the proper channel. Note that the bindings of public fields and public and protected methods are locked, so they cannot be changed using \code{[[<-}. \code{$<-.GObject} serves as a synonym of \code{[[<-.GObject}, but \code{$.GObject} first checks for a function (see \code{\link{$.RGtkObject}}) before falling back to the behavior of \code{[[.GObject}. Finally, arbitrary R objects can be stored in a \code{GObject} under a specific key for later retrieval. This can be achieved with \code{gObjectSetData} and \code{gObjectGetData}, respectively. This is similar to attributes in R, with a major difference being that changes occur in the external \code{GObject}, transcending the local R object. \code{GObject}s also offer some introspection capabilities. \code{gObjectGetPropInfo} and \code{gObjectGetSignals} provide a list of supported properties and signals, respectively. \code{names.GObject} lists the available properties for an object. It is hoped that in the future methods and fields may also be introspected. } \seealso{ \code{\link{GType}} \code{\link{GSignal}} } \references{\url{http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html}} \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkRangeGetFlippable.Rd0000644000176000001440000000062212362217677016333 0ustar ripleyusers\alias{gtkRangeGetFlippable} \name{gtkRangeGetFlippable} \title{gtkRangeGetFlippable} \description{Gets the value set by \code{\link{gtkRangeSetFlippable}}.} \usage{gtkRangeGetFlippable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the range is flippable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleGetDrawValue.Rd0000644000176000001440000000064012362217677016322 0ustar ripleyusers\alias{gtkScaleGetDrawValue} \name{gtkScaleGetDrawValue} \title{gtkScaleGetDrawValue} \description{Returns whether the current value is displayed as a string next to the slider.} \usage{gtkScaleGetDrawValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScale}}}} \value{[logical] whether the current value is displayed as a string} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayNewWithPositions.Rd0000644000176000001440000000143212362217677020262 0ustar ripleyusers\alias{pangoTabArrayNewWithPositions} \name{pangoTabArrayNewWithPositions} \title{pangoTabArrayNewWithPositions} \description{This is a convenience function that creates a \code{\link{PangoTabArray}} and allows you to specify the alignment and position of each tab stop. You \emph{must} provide an alignment and position for \code{size} tab stops.} \usage{pangoTabArrayNewWithPositions(size, positions.in.pixels, ...)} \arguments{ \item{\verb{size}}{[integer] number of tab stops in the list} \item{\verb{positions.in.pixels}}{[logical] whether positions are in pixel units} \item{\verb{...}}{ additional alignment/position pairs} } \value{[\code{\link{PangoTabArray}}] the newly allocated \code{\link{PangoTabArray}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetData.Rd0000644000176000001440000000110312362217677015746 0ustar ripleyusers\alias{gdkDrawableGetData} \name{gdkDrawableGetData} \title{gdkDrawableGetData} \description{ Equivalent to \code{\link{gObjectGetData}}; the \code{\link{GObject}} variant should be used instead. \strong{WARNING: \code{gdk_drawable_get_data} is deprecated and should not be used in newly-written code.} } \usage{gdkDrawableGetData(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{key}}{name the data was stored under} } \value{[R object] the data stored at \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveGetIcon.Rd0000644000176000001440000000052612362217677015006 0ustar ripleyusers\alias{gDriveGetIcon} \name{gDriveGetIcon} \title{gDriveGetIcon} \description{Gets the icon for \code{drive}.} \usage{gDriveGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[\code{\link{GIcon}}] \code{\link{GIcon}} for the \code{drive}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetMargin.Rd0000644000176000001440000000071312362217677016356 0ustar ripleyusers\alias{gtkIconViewSetMargin} \name{gtkIconViewSetMargin} \title{gtkIconViewSetMargin} \description{Sets the ::margin property which specifies the space which is inserted at the top, bottom, left and right of the icon view.} \usage{gtkIconViewSetMargin(object, margin)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{margin}}{the margin} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapForeachUnfiltered.Rd0000644000176000001440000000133412362217677020000 0ustar ripleyusers\alias{gtkAccelMapForeachUnfiltered} \name{gtkAccelMapForeachUnfiltered} \title{gtkAccelMapForeachUnfiltered} \description{Loops over all entries in the accelerator map, and execute \code{foreach.func} on each. The signature of \code{foreach.func} is that of \code{\link{GtkAccelMapForeach}}, the \code{changed} parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump).} \usage{gtkAccelMapForeachUnfiltered(data = NULL, foreach.func)} \arguments{ \item{\verb{data}}{data to be passed into \code{foreach.func}} \item{\verb{foreach.func}}{function to be executed for each accel map entry} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestSliderSetPerc.Rd0000644000176000001440000000116212362217677016370 0ustar ripleyusers\alias{gtkTestSliderSetPerc} \name{gtkTestSliderSetPerc} \title{gtkTestSliderSetPerc} \description{This function will adjust the slider position of all GtkRange based widgets, such as scrollbars or scales, it'll also adjust spin buttons. The adjustment value of these widgets is set to a value between the lower and upper limits, according to the \code{percentage} argument.} \usage{gtkTestSliderSetPerc(widget, percentage)} \arguments{ \item{\verb{widget}}{valid widget pointer.} \item{\verb{percentage}}{value between 0 and 100.} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoScriptForUnichar.Rd0000644000176000001440000000131112362217677016560 0ustar ripleyusers\alias{pangoScriptForUnichar} \name{pangoScriptForUnichar} \title{pangoScriptForUnichar} \description{Looks up the \code{\link{PangoScript}} for a particular character (as defined by Unicode Standard Annex \verb{24}). No check is made for \code{ch} being a valid Unicode character; if you pass in invalid character, the result is undefined.} \usage{pangoScriptForUnichar(ch)} \arguments{\item{\verb{ch}}{[numeric] a Unicode character}} \details{As of Pango 1.18, this function simply returns the return value of \code{gUnicharGetScript()}. Since 1.4} \value{[\code{\link{PangoScript}}] the \code{\link{PangoScript}} for the character.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetLower.Rd0000644000176000001440000000176512362217677016634 0ustar ripleyusers\alias{gtkAdjustmentSetLower} \name{gtkAdjustmentSetLower} \title{gtkAdjustmentSetLower} \description{Sets the minimum value of the adjustment.} \usage{gtkAdjustmentSetLower(object, lower)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{lower}}{the new minimum value} } \details{When setting multiple adjustment properties via their individual setters, multiple "changed" signals will be emitted. However, since the emission of the "changed" signal is tied to the emission of the "GObject::notify" signals of the changed properties, it's possible to compress the "changed" signals into one by calling \code{gObjectFreezeNotify()} and \code{gObjectThawNotify()} around the calls to the individual setters. Alternatively, using a single \code{\link{gObjectSet}} for all the properties to change, or using \code{\link{gtkAdjustmentConfigure}} has the same effect of compressing "changed" emissions. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkOffscreenWindowGetEmbedder.Rd0000644000176000001440000000100512362217677020166 0ustar ripleyusers\alias{gdkOffscreenWindowGetEmbedder} \name{gdkOffscreenWindowGetEmbedder} \title{gdkOffscreenWindowGetEmbedder} \description{Gets the window that \code{window} is embedded in.} \usage{gdkOffscreenWindowGetEmbedder(window)} \arguments{\item{\verb{window}}{a \code{\link{GdkWindow}}}} \details{Since 2.18} \value{[\code{\link{GdkWindow}}] the embedding \code{\link{GdkWindow}}, or \code{NULL} if \code{window} is not an embedded offscreen window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoShowLayout.Rd0000644000176000001440000000104412362217677016432 0ustar ripleyusers\alias{pangoCairoShowLayout} \name{pangoCairoShowLayout} \title{pangoCairoShowLayout} \description{Draws a \code{\link{PangoLayout}} in the specified cairo context. The top-left corner of the \code{\link{PangoLayout}} will be drawn at the current point of the cairo context.} \usage{pangoCairoShowLayout(cr, layout)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{layout}}{[\code{\link{PangoLayout}}] a Pango layout} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetContainsStates.Rd0000644000176000001440000000110512362217677017426 0ustar ripleyusers\alias{atkStateSetContainsStates} \name{atkStateSetContainsStates} \title{atkStateSetContainsStates} \description{Checks whether the states for all the specified types are in the specified set.} \usage{atkStateSetContainsStates(object, types)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{types}}{[\code{\link{AtkStateType}}] a list of \code{\link{AtkStateType}}} } \value{[logical] \code{TRUE} if all the states for \code{type} are in \code{set}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOffscreenWindowNew.Rd0000644000176000001440000000106012362217677016571 0ustar ripleyusers\alias{gtkOffscreenWindowNew} \name{gtkOffscreenWindowNew} \title{gtkOffscreenWindowNew} \description{Creates a toplevel container widget that is used to retrieve snapshots of widgets without showing them on the screen. For widgets that are on the screen and part of a normal widget hierarchy, \code{\link{gtkWidgetGetSnapshot}} can be used instead.} \usage{gtkOffscreenWindowNew(show = TRUE)} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] A pointer to a \code{\link{GtkWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetFormat.Rd0000644000176000001440000000065212362217677017353 0ustar ripleyusers\alias{gtkSelectionDataGetFormat} \name{gtkSelectionDataGetFormat} \title{gtkSelectionDataGetFormat} \description{Retrieves the format of the selection.} \usage{gtkSelectionDataGetFormat(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[integer] the format of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrSizeNew.Rd0000644000176000001440000000065612362217677015565 0ustar ripleyusers\alias{pangoAttrSizeNew} \name{pangoAttrSizeNew} \title{pangoAttrSizeNew} \description{Create a new font-size attribute in fractional points.} \usage{pangoAttrSizeNew(size)} \arguments{\item{\verb{size}}{[integer] the font size, in \code{PANGO_SCALE}ths of a point.}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetCompareFunc.Rd0000644000176000001440000000141112362217677016632 0ustar ripleyusers\alias{gtkCListSetCompareFunc} \name{gtkCListSetCompareFunc} \title{gtkCListSetCompareFunc} \description{ Sets the compare function of the \verb{GtkClist} to \code{cmp.func}. If \code{cmp.func} is NULL, then the default compare function is used. The default compare function sorts ascending or with the type set by \code{\link{gtkCListSetSortType}} by the column set by \code{\link{gtkCListSetSortColumn}}. \strong{WARNING: \code{gtk_clist_set_compare_func} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetCompareFunc(object, cmp.func)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{cmp.func}}{The \verb{GtkCompareFunction} to use.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAccept.Rd0000644000176000001440000000261412362217677016542 0ustar ripleyusers\alias{gSocketListenerAccept} \name{gSocketListenerAccept} \title{gSocketListenerAccept} \description{Blocks waiting for a client to connect to any of the sockets added to the listener. Returns a \code{\link{GSocketConnection}} for the socket that was accepted.} \usage{gSocketListenerAccept(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{source.object} is not \code{NULL} it will be filled out with the source object specified when the corresponding socket or address was added to the listener. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{source.object}}{location where \code{\link{GObject}} pointer will be stored, or \code{NULL}} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBinGetChild.Rd0000644000176000001440000000103312362217677015131 0ustar ripleyusers\alias{gtkBinGetChild} \name{gtkBinGetChild} \title{gtkBinGetChild} \description{Gets the child of the \code{\link{GtkBin}}, or \code{NULL} if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.} \usage{gtkBinGetChild(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBin}}}} \value{[\code{\link{GtkWidget}}] pointer to child of the \code{\link{GtkBin}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonNewWithMnemonic.Rd0000644000176000001440000000140012362217677017262 0ustar ripleyusers\alias{gtkButtonNewWithMnemonic} \name{gtkButtonNewWithMnemonic} \title{gtkButtonNewWithMnemonic} \description{Creates a new \code{\link{GtkButton}} containing a label. If characters in \code{label} are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the button.} \usage{gtkButtonNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{The text of the button, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemSetInconsistent.Rd0000644000176000001440000000167112362217677020563 0ustar ripleyusers\alias{gtkCheckMenuItemSetInconsistent} \name{gtkCheckMenuItemSetInconsistent} \title{gtkCheckMenuItemSetInconsistent} \description{If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an "in between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user explicitly selects a setting. This has to be done manually, \code{\link{gtkCheckMenuItemSetInconsistent}} only affects visual appearance, it doesn't affect the semantics of the widget.} \usage{gtkCheckMenuItemSetInconsistent(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}} \item{\verb{setting}}{\code{TRUE} to display an "inconsistent" third state check} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetDisplayName.Rd0000644000176000001440000000067612362217677017522 0ustar ripleyusers\alias{gtkPaperSizeGetDisplayName} \name{gtkPaperSizeGetDisplayName} \title{gtkPaperSizeGetDisplayName} \description{Gets the human-readable name of the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetDisplayName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaperSize}} object}} \details{Since 2.10} \value{[character] the human-readable name of \code{size}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetShowExpanders.Rd0000644000176000001440000000074212362217677017730 0ustar ripleyusers\alias{gtkTreeViewGetShowExpanders} \name{gtkTreeViewGetShowExpanders} \title{gtkTreeViewGetShowExpanders} \description{Returns whether or not expanders are drawn in \code{tree.view}.} \usage{gtkTreeViewGetShowExpanders(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}.}} \details{Since 2.12} \value{[logical] \code{TRUE} if expanders are drawn in \code{tree.view}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionRefClass.Rd0000644000176000001440000000066112362217677016353 0ustar ripleyusers\alias{gIoExtensionRefClass} \name{gIoExtensionRefClass} \title{gIoExtensionRefClass} \description{Gets a reference to the class for the type that is associated with \code{extension}.} \usage{gIoExtensionRefClass(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtension}}}} \value{[GTypeClass] the \verb{GTypeClass} for the type of \code{extension}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawTrapezoids.Rd0000644000176000001440000000131512362217677015742 0ustar ripleyusers\alias{gdkDrawTrapezoids} \name{gdkDrawTrapezoids} \title{gdkDrawTrapezoids} \description{Draws a set of anti-aliased trapezoids. The trapezoids are combined using saturation addition, then drawn over the background as a set. This is low level functionality used internally to implement rotated underlines and backgrouds when rendering a PangoLayout and is likely not useful for applications.} \usage{gdkDrawTrapezoids(drawable, gc, trapezoids)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}} \item{\verb{gc}}{a \code{\link{GdkGC}}} \item{\verb{trapezoids}}{a list of \code{\link{GdkTrapezoid}} structures} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetData.Rd0000644000176000001440000000064212362217677016773 0ustar ripleyusers\alias{gtkSelectionDataGetData} \name{gtkSelectionDataGetData} \title{gtkSelectionDataGetData} \description{Retrieves the raw data of the selection.} \usage{gtkSelectionDataGetData(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[raw] the raw data of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxSetHandlePosition.Rd0000644000176000001440000000071512362217677020204 0ustar ripleyusers\alias{gtkHandleBoxSetHandlePosition} \name{gtkHandleBoxSetHandlePosition} \title{gtkHandleBoxSetHandlePosition} \description{Sets the side of the handlebox where the handle is drawn.} \usage{gtkHandleBoxSetHandlePosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkHandleBox}}} \item{\verb{position}}{the side of the handlebox where the handle should be drawn.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetSelectionMode.Rd0000644000176000001440000000146512362217677017173 0ustar ripleyusers\alias{gtkCListSetSelectionMode} \name{gtkCListSetSelectionMode} \title{gtkCListSetSelectionMode} \description{ Sets the selection mode for the specified CList. This allows you to set whether only one or more than one item can be selected at a time in the widget. Note that setting the widget's selection mode to one of GTK_SELECTION_BROWSE or GTK_SELECTION_SINGLE will cause all the items in the \code{\link{GtkCList}} to become deselected. \strong{WARNING: \code{gtk_clist_set_selection_mode} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetSelectionMode(object, mode)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{mode}}{The GtkSelectionMode type to set for this CList.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuRemoveMenu.Rd0000644000176000001440000000076612362217677017131 0ustar ripleyusers\alias{gtkOptionMenuRemoveMenu} \name{gtkOptionMenuRemoveMenu} \title{gtkOptionMenuRemoveMenu} \description{ Removes the menu from the option menu. \strong{WARNING: \code{gtk_option_menu_remove_menu} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuRemoveMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkOptionMenu}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Text-Attributes.Rd0000644000176000001440000002743612362221634016464 0ustar ripleyusers\alias{pango-Text-Attributes} \alias{PangoAttrClass} \alias{PangoAttribute} \alias{PangoAttrString} \alias{PangoAttrLanguage} \alias{PangoAttrColor} \alias{PangoAttrInt} \alias{PangoAttrFloat} \alias{PangoAttrFontDesc} \alias{PangoAttrShape} \alias{PangoAttrSize} \alias{PangoColor} \alias{PangoAttrList} \alias{PangoAttrIterator} \alias{PangoAttrDataCopyFunc} \alias{PangoAttrFilterFunc} \alias{PangoAttrType} \alias{PangoUnderline} \name{pango-Text-Attributes} \title{Text Attributes} \description{Font and other attributes for annotating text} \section{Methods and Functions}{ \code{\link{pangoParseMarkup}(markup.text, accel.marker, .errwarn = TRUE)}\cr \code{\link{pangoAttrTypeRegister}(name)}\cr \code{\link{pangoAttrTypeGetName}(type)}\cr \code{\link{pangoAttributeInit}(attr, klass)}\cr \code{\link{pangoAttributeCopy}(object)}\cr \code{\link{pangoAttributeEqual}(object, attr2)}\cr \code{\link{pangoAttrLanguageNew}(language)}\cr \code{\link{pangoAttrFamilyNew}(family)}\cr \code{\link{pangoAttrStyleNew}(style)}\cr \code{\link{pangoAttrVariantNew}(variant)}\cr \code{\link{pangoAttrStretchNew}(stretch)}\cr \code{\link{pangoAttrWeightNew}(weight)}\cr \code{\link{pangoAttrSizeNew}(size)}\cr \code{\link{pangoAttrSizeNewAbsolute}(size)}\cr \code{\link{pangoAttrFontDescNew}(desc)}\cr \code{\link{pangoAttrForegroundNew}(red, green, blue)}\cr \code{\link{pangoAttrBackgroundNew}(red, green, blue)}\cr \code{\link{pangoAttrStrikethroughNew}(strikethrough)}\cr \code{\link{pangoAttrStrikethroughColorNew}(red, green, blue)}\cr \code{\link{pangoAttrUnderlineNew}(underline)}\cr \code{\link{pangoAttrUnderlineColorNew}(red, green, blue)}\cr \code{\link{pangoAttrShapeNew}(ink.rect, logical.rect)}\cr \code{\link{pangoAttrShapeNewWithData}(ink.rect, logical.rect, data)}\cr \code{\link{pangoAttrScaleNew}(scale.factor)}\cr \code{\link{pangoAttrRiseNew}(rise)}\cr \code{\link{pangoAttrLetterSpacingNew}(letter.spacing)}\cr \code{\link{pangoAttrFallbackNew}(fallback)}\cr \code{\link{pangoAttrGravityNew}(gravity)}\cr \code{\link{pangoAttrGravityHintNew}(hint)}\cr \code{\link{pangoColorParse}(spec)}\cr \code{\link{pangoColorCopy}(object)}\cr \code{\link{pangoColorFree}(object)}\cr \code{\link{pangoColorToString}(object)}\cr \code{\link{pangoAttrListNew}()}\cr \code{\link{pangoAttrListCopy}(object)}\cr \code{\link{pangoAttrListInsert}(object, attr)}\cr \code{\link{pangoAttrListInsertBefore}(object, attr)}\cr \code{\link{pangoAttrListChange}(object, attr)}\cr \code{\link{pangoAttrListSplice}(object, other, pos, len)}\cr \code{\link{pangoAttrListFilter}(object, func, data)}\cr \code{\link{pangoAttrListGetIterator}(object)}\cr \code{\link{pangoAttrIteratorCopy}(object)}\cr \code{\link{pangoAttrIteratorNext}(object)}\cr \code{\link{pangoAttrIteratorRange}(object)}\cr \code{\link{pangoAttrIteratorGet}(object, type)}\cr \code{\link{pangoAttrIteratorGetFont}(object)}\cr \code{\link{pangoAttrIteratorGetAttrs}(object)}\cr } \section{Detailed Description}{Attributed text is used in a number of places in Pango. It is used as the input to the itemization process and also when creating a \code{\link{PangoLayout}}. The data types and functions in this section are used to represent and manipulate sets of attributes applied to a portion of text.} \section{Structures}{\describe{ \item{\verb{PangoAttrClass}}{ The \code{\link{PangoAttrClass}} structure stores the type and operations for a particular type of attribute. The functions in this structure should not be called directly. Instead, one should use the wrapper functions provided for \code{\link{PangoAttribute}}. \describe{\item{\verb{type}}{[\code{\link{PangoAttrType}}] the type ID for this attribute}} } \item{\verb{PangoAttribute}}{ The \code{\link{PangoAttribute}} structure represents the common portions of all attributes. Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies and should be initialized using \code{\link{pangoAttributeInit}}. By default an attribute will have an all-inclusive range of [0,\code{G_MAXUINT}]. \describe{ \item{\verb{klass}}{[\code{\link{PangoAttrClass}}] the class structure holding information about the type of the attribute} \item{\verb{startIndex}}{[numeric] the start index of the range (in bytes).} \item{\verb{endIndex}}{[numeric] end index of the range (in bytes). The character at this index is not included in the range.} } } \item{\verb{PangoAttrString}}{ The \code{\link{PangoAttrString}} structure is used to represent attributes with a string value. \describe{\item{\verb{value}}{[char] the common portion of the attribute}} } \item{\verb{PangoAttrLanguage}}{ The \code{\link{PangoAttrLanguage}} structure is used to represent attributes that are languages. \describe{\item{\verb{value}}{[\code{\link{PangoLanguage}}] the common portion of the attribute}} } \item{\verb{PangoAttrColor}}{ The \code{\link{PangoAttrColor}} structure is used to represent attributes that are colors. \describe{\item{\verb{color}}{[\code{\link{PangoColor}}] the common portion of the attribute}} } \item{\verb{PangoAttrInt}}{ The \code{\link{PangoAttrInt}} structure is used to represent attributes with an integer or enumeration value. \describe{\item{\verb{value}}{[integer] the common portion of the attribute}} } \item{\verb{PangoAttrFloat}}{ The \code{\link{PangoAttrFloat}} structure is used to represent attributes with a float or double value. \describe{\item{\verb{value}}{[numeric] the common portion of the attribute}} } \item{\verb{PangoAttrFontDesc}}{ The \code{\link{PangoAttrFontDesc}} structure is used to store an attribute that sets all aspects of the font description at once. \describe{\item{\verb{desc}}{[\code{\link{PangoFontDescription}}] the common portion of the attribute}} } \item{\verb{PangoAttrShape}}{ The \code{\link{PangoAttrShape}} structure is used to represent attributes which impose shape restrictions. \describe{ \item{\verb{inkRect}}{[\code{\link{PangoRectangle}}] the common portion of the attribute} \item{\verb{logicalRect}}{[\code{\link{PangoRectangle}}] the ink rectangle to restrict to} } } \item{\verb{PangoAttrSize}}{ The \code{\link{PangoAttrShape}} structure is used to represent attributes which set font size. \describe{ \item{\verb{size}}{[integer] the common portion of the attribute} \item{\verb{absolute}}{[numeric] size of font, in units of 1/\code{PANGO_SCALE} of a point (for \code{PANGO_ATTR_SIZE}) or of a device uni (for \code{PANGO_ATTR_ABSOLUTE_SIZE})} } } \item{\verb{PangoColor}}{ The \code{\link{PangoColor}} structure is used to represent a color in an uncalibrated RGB color-space. \describe{ \item{\verb{red}}{[integer] The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity.} \item{\verb{green}}{[integer] The green component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity.} \item{\verb{blue}}{[integer] The blue component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity.} } } \item{\verb{PangoAttrList}}{ The \code{\link{PangoAttrList}} structure represents a list of attributes that apply to a section of text. The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through \code{\link{pangoAttrListChange}}, the overlap between properties will meet stricter criteria. Since the \code{\link{PangoAttrList}} structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single \code{\link{PangoAttrList}} for more than one paragraph of text. } \item{\verb{PangoAttrIterator}}{ The \code{\link{PangoAttrIterator}} structure is used to represent an iterator through a \code{\link{PangoAttrList}}. A new iterator is created with \code{\link{pangoAttrListGetIterator}}. Once the iterator is created, it can be advanced through the style changes in the text using \code{\link{pangoAttrIteratorNext}}. At each style change, the range of the current style segment and the attributes currently in effect can be queried. } }} \section{Enums and Flags}{\describe{ \item{\verb{PangoAttrType}}{ The \code{\link{PangoAttrType}} distinguishes between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using \code{\link{pangoAttrTypeRegister}}. The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description. \describe{ \item{\verb{invalid}}{does not happen} \item{\verb{language}}{language (\code{\link{PangoAttrLanguage}})} \item{\verb{family}}{font family name list (\code{\link{PangoAttrString}})} \item{\verb{style}}{font slant style (\code{\link{PangoAttrInt}})} \item{\verb{weight}}{font weight (\code{\link{PangoAttrInt}})} \item{\verb{variant}}{font variant (normal or small caps) (\code{\link{PangoAttrInt}})} \item{\verb{stretch}}{font stretch (\code{\link{PangoAttrInt}})} \item{\verb{size}}{font size in points scaled by \code{PANGO_SCALE} (\code{\link{PangoAttrInt}})} \item{\verb{font-desc}}{font description (\code{\link{PangoAttrFontDesc}})} \item{\verb{foreground}}{foreground color (\code{\link{PangoAttrColor}})} \item{\verb{background}}{background color (\code{\link{PangoAttrColor}})} \item{\verb{underline}}{whether the text has an underline (\code{\link{PangoAttrInt}})} \item{\verb{strikethrough}}{whether the text is struck-through (\code{\link{PangoAttrInt}})} \item{\verb{rise}}{baseline displacement (\code{\link{PangoAttrInt}})} \item{\verb{shape}}{shape (\code{\link{PangoAttrShape}})} \item{\verb{scale}}{font size scale factor (\code{\link{PangoAttrFloat}})} \item{\verb{fallback}}{whether fallback is enabled (\code{\link{PangoAttrInt}})} \item{\verb{letter-spacing}}{letter spacing (\code{\link{PangoAttrInt}})} \item{\verb{underline-color}}{underline color (\code{\link{PangoAttrColor}})} \item{\verb{strikethrough-color}}{strikethrough color (\code{\link{PangoAttrColor}})} \item{\verb{absolute-size}}{font size in pixels scaled by \code{PANGO_SCALE} (\code{\link{PangoAttrInt}})} \item{\verb{gravity}}{base text gravity (\code{\link{PangoAttrInt}})} \item{\verb{gravity-hint}}{gravity hint (\code{\link{PangoAttrInt}})} } } \item{\verb{PangoUnderline}}{ the \code{\link{PangoUnderline}} enumeration is used to specify whether text should be underlined, and if so, the type of underlining. \describe{ \item{\verb{none}}{no underline should be drawn} \item{\verb{single}}{a single underline should be drawn} \item{\verb{double}}{a double underline should be drawn} \item{\verb{low}}{a single underline should be drawn at a position beneath the ink extents of the text being underlined. This should be used only for underlining single characters, such as for keyboard accelerators. \code{PANGO_UNDERLINE_SINGLE} should be used for extended portions of text.} } } }} \section{User Functions}{\describe{ \item{\code{PangoAttrDataCopyFunc(data)}}{ A copy function passed to attribute new functions that take user data. \describe{\item{\code{data}}{[R object] the user data}} \emph{Returns:} [R object] a new copy of \code{data}. } \item{\code{PangoAttrFilterFunc(attribute, data)}}{ A predicate function used by \code{\link{pangoAttrListFilter}} to filter out a subset of attributes for a list. \describe{ \item{\code{attribute}}{[\code{\link{PangoAttribute}}] a \code{\link{PangoAttribute}}} \item{\code{data}}{[R object] callback data passed to \code{\link{pangoAttrListFilter}}} } \emph{Returns:} [logical] \code{TRUE} if the attribute should be filtered out } }} \references{\url{http://library.gnome.org/devel//pango/pango-Text-Attributes.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPropertyChange.Rd0000644000176000001440000000177612362217677015745 0ustar ripleyusers\alias{gdkPropertyChange} \name{gdkPropertyChange} \title{gdkPropertyChange} \description{Changes the contents of a property on a window.} \usage{gdkPropertyChange(object, property, type, format, mode, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}.} \item{\verb{property}}{the property to change.} \item{\verb{type}}{the new type for the property. If \code{mode} is \code{GDK_PROP_MODE_PREPEND} or \code{GDK_PROP_MODE_APPEND}, then this must match the existing type or an error will occur.} \item{\verb{format}}{the new format for the property. If \code{mode} is \code{GDK_PROP_MODE_PREPEND} or \code{GDK_PROP_MODE_APPEND}, then this must match the existing format or an error will occur.} \item{\verb{mode}}{a value describing how the new data is to be combined with the current data.} \item{\verb{data}}{the data (a \code{guchar *} \code{gushort *}, or \code{gulong *}, depending on \code{format}), cast to a \code{guchar *}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrIteratorGetFont.Rd0000644000176000001440000000234212362217677017253 0ustar ripleyusers\alias{pangoAttrIteratorGetFont} \name{pangoAttrIteratorGetFont} \title{pangoAttrIteratorGetFont} \description{Get the font and other attributes at the current iterator position.} \usage{pangoAttrIteratorGetFont(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}}} \value{ A list containing the following elements: \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} to fill in with the current values. The family name in this structure will be set using \code{\link{pangoFontDescriptionSetFamilyStatic}} using values from an attribute in the \code{\link{PangoAttrList}} associated with the iterator, so if you plan to keep it around, you must call: \code{pango_font_description_set_family (desc, pango_font_description_get_family (desc))}.} \item{\verb{language}}{[\code{\link{PangoLanguage}}] if non-\code{NULL}, location to store language tag for item, or \code{NULL} if none is found.} \item{\verb{extra.attrs}}{[list] element type Pango.Attribute): (transfer full. \acronym{element type Pango.Attribute): (transfer} full. } } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetOrientation.Rd0000644000176000001440000000113212362217677017425 0ustar ripleyusers\alias{gtkToolItemGetOrientation} \name{gtkToolItemGetOrientation} \title{gtkToolItemGetOrientation} \description{Returns the orientation used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function to find out what size icons they should use.} \usage{gtkToolItemGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[\code{\link{GtkOrientation}}] a \code{\link{GtkOrientation}} indicating the orientation used for \code{tool.item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMapLoadFont.Rd0000644000176000001440000000130712362217677016333 0ustar ripleyusers\alias{pangoFontMapLoadFont} \name{pangoFontMapLoadFont} \title{pangoFontMapLoadFont} \description{Load the font in the fontmap that is the closest match for \code{desc}.} \usage{pangoFontMapLoadFont(object, context, desc)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontMap}}] a \code{\link{PangoFontMap}}} \item{\verb{context}}{[\code{\link{PangoContext}}] the \code{\link{PangoContext}} the font will be used with} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} describing the font to load} } \value{[\code{\link{PangoFont}}] the font loaded, or \code{NULL} if no font matched.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferSerialize.Rd0000644000176000001440000000215212362217677016746 0ustar ripleyusers\alias{gtkTextBufferSerialize} \name{gtkTextBufferSerialize} \title{gtkTextBufferSerialize} \description{This function serializes the portion of text between \code{start} and \code{end} in the rich text format represented by \code{format}.} \usage{gtkTextBufferSerialize(object, content.buffer, format, start, end)} \arguments{ \item{\verb{object}}{the \code{\link{GtkTextBuffer}} \code{format} is registered with} \item{\verb{content.buffer}}{the \code{\link{GtkTextBuffer}} to serialize} \item{\verb{format}}{the rich text format to use for serializing} \item{\verb{start}}{start of block of text to serialize} \item{\verb{end}}{end of block of test to serialize} } \details{\code{format}s to be used must be registered using \code{\link{gtkTextBufferRegisterSerializeFormat}} or \code{\link{gtkTextBufferRegisterSerializeTagset}} beforehand. Since 2.10} \value{ A list containing the following elements: \item{retval}{[raw] the serialized data, encoded as \code{format}} \item{\verb{length}}{return location for the length of the serialized data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetColorspace.Rd0000644000176000001440000000053412362217677016712 0ustar ripleyusers\alias{gdkPixbufGetColorspace} \name{gdkPixbufGetColorspace} \title{gdkPixbufGetColorspace} \description{Queries the color space of a pixbuf.} \usage{gdkPixbufGetColorspace(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[\code{\link{GdkColorspace}}] Color space.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutGetVadjustment.Rd0000644000176000001440000000132212362217677017160 0ustar ripleyusers\alias{gtkLayoutGetVadjustment} \name{gtkLayoutGetVadjustment} \title{gtkLayoutGetVadjustment} \description{This function should only be called after the layout has been placed in a \code{\link{GtkScrolledWindow}} or otherwise configured for scrolling. It returns the \code{\link{GtkAdjustment}} used for communication between the vertical scrollbar and \code{layout}.} \usage{gtkLayoutGetVadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \details{See \code{\link{GtkScrolledWindow}}, \code{\link{GtkScrollbar}}, \code{\link{GtkAdjustment}} for details.} \value{[\code{\link{GtkAdjustment}}] vertical scroll adjustment} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAccessible.Rd0000644000176000001440000000102312362217677015011 0ustar ripleyusers\alias{GtkAccessible} \name{GtkAccessible} \title{GtkAccessible} \description{Accessibility support for widgets} \section{Methods and Functions}{ \code{\link{gtkAccessibleConnectWidgetDestroyed}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkObject +----GtkAccessible}} \section{Structures}{\describe{\item{\verb{GtkAccessible}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkAccessible.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertTreeToWidgetCoords.Rd0000644000176000001440000000134012362217677021552 0ustar ripleyusers\alias{gtkTreeViewConvertTreeToWidgetCoords} \name{gtkTreeViewConvertTreeToWidgetCoords} \title{gtkTreeViewConvertTreeToWidgetCoords} \description{Converts tree coordinates (coordinates in full scrollable area of the tree) to widget coordinates.} \usage{gtkTreeViewConvertTreeToWidgetCoords(object, tx, ty)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tx}}{X coordinate relative to the tree} \item{\verb{ty}}{Y coordinate relative to the tree} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{wx}}{return location for widget X coordinate} \item{\verb{wy}}{return location for widget Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuPopup.Rd0000644000176000001440000000370212362217677014752 0ustar ripleyusers\alias{gtkMenuPopup} \name{gtkMenuPopup} \title{gtkMenuPopup} \description{Displays a menu and makes it available for selection. Applications can use this function to display context-sensitive menus, and will typically supply \code{NULL} for the \code{parent.menu.shell}, \code{parent.menu.item}, \code{func} and \code{data} parameters. The default menu positioning function will position the menu at the current mouse cursor position.} \usage{gtkMenuPopup(object, parent.menu.shell = NULL, parent.menu.item = NULL, func = NULL, data = NULL, button, activate.time)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{parent.menu.shell}}{the menu shell containing the triggering menu item, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent.menu.item}}{the menu item whose activation triggered the popup, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{func}}{a user supplied function used to position the menu, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{user supplied data to be passed to \code{func}. \emph{[ \acronym{allow-none} ]}} \item{\verb{button}}{the mouse button which was pressed to initiate the event.} \item{\verb{activate.time}}{the time at which the activation event occurred.} } \details{The \code{button} parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, \code{button} should be 0. The \code{activate.time} parameter is used to conflict-resolve initiation of concurrent requests for mouse/keyboard grab requests. To function properly, this needs to be the time stamp of the user event (such as a mouse click or key press) that caused the initiation of the popup. Only if no such event is available, \code{\link{gtkGetCurrentEventTime}} can be used instead.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddActionWithAccel.Rd0000644000176000001440000000160412362217677020606 0ustar ripleyusers\alias{gtkActionGroupAddActionWithAccel} \name{gtkActionGroupAddActionWithAccel} \title{gtkActionGroupAddActionWithAccel} \description{Adds an action object to the action group and sets up the accelerator.} \usage{gtkActionGroupAddActionWithAccel(object, action, accelerator = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{action}}{the action to add} \item{\verb{accelerator}}{the accelerator for the action, in the format understood by \code{\link{gtkAcceleratorParse}}, or "" for no accelerator, or \code{NULL} to use the stock accelerator. \emph{[ \acronym{allow-none} ]}} } \details{If \code{accelerator} is \code{NULL}, attempts to use the accelerator associated with the stock_id of the action. Accel paths are set to \code{/ \\var{group-name} / \\var{action-name}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Events.Rd0000644000176000001440000001762112362217677014330 0ustar ripleyusers\alias{gdk-Events} \alias{GdkEventFunc} \alias{GdkEventType} \alias{GdkEventMask} \name{gdk-Events} \title{Events} \description{Functions for handling events from the window system} \section{Methods and Functions}{ \code{\link{gdkEventsPending}()}\cr \code{\link{gdkEventPeek}()}\cr \code{\link{gdkEventGet}()}\cr \code{\link{gdkEventGetGraphicsExpose}(window)}\cr \code{\link{gdkEventPut}(object)}\cr \code{\link{gdkEventNew}(type)}\cr \code{\link{gdkEventCopy}(object)}\cr \code{\link{gdkEventGetTime}(object)}\cr \code{\link{gdkEventGetState}(object)}\cr \code{\link{gdkEventGetAxis}(object, axis.use)}\cr \code{\link{gdkEventGetCoords}(object)}\cr \code{\link{gdkEventGetRootCoords}(object)}\cr \code{\link{gdkEventRequestMotions}(event)}\cr \code{\link{gdkEventHandlerSet}(func, data)}\cr \code{\link{gdkAddClientMessageFilter}(message.type, func, data)}\cr \code{\link{gdkGetShowEvents}()}\cr \code{\link{gdkSetShowEvents}(show.events)}\cr \code{\link{gdkEventSetScreen}(object, screen)}\cr \code{\link{gdkEventGetScreen}(object)}\cr \code{\link{gdkSettingGet}(name)}\cr } \section{Detailed Description}{This section describes functions dealing with events from the window system. In GTK+ applications the events are handled automatically in \code{\link{gtkMainDoEvent}} and passed on to the appropriate widgets, so these functions are rarely needed. Though some of the fields in the Event Structures are useful.} \section{Enums and Flags}{\describe{ \item{\verb{GdkEventType}}{ Specifies the type of the event. Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way. \describe{ \item{\verb{nothing}}{a special code to indicate a null event.} \item{\verb{delete}}{the window manager has requested that the toplevel window be hidden or destroyed, usually when the user clicks on a special icon in the title bar.} \item{\verb{destroy}}{the window has been destroyed.} \item{\verb{expose}}{all or part of the window has become visible and needs to be redrawn.} \item{\verb{motion-notify}}{the pointer (usually a mouse) has moved.} \item{\verb{button-press}}{a mouse button has been pressed.} \item{\verb{2button-press}}{a mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a \code{GDK_BUTTON_PRESS} event.} \item{\verb{3button-press}}{a mouse button has been clicked 3 times in a short period of time. Note that each click also generates a \code{GDK_BUTTON_PRESS} event.} \item{\verb{button-release}}{a mouse button has been released.} \item{\verb{key-press}}{a key has been pressed.} \item{\verb{key-release}}{a key has been released.} \item{\verb{enter-notify}}{the pointer has entered the window.} \item{\verb{leave-notify}}{the pointer has left the window.} \item{\verb{focus-change}}{the keyboard focus has entered or left the window.} \item{\verb{configure}}{the size, position or stacking order of the window has changed. Note that GTK+ discards these events for \code{GDK_WINDOW_CHILD} windows.} \item{\verb{map}}{the window has been mapped.} \item{\verb{unmap}}{the window has been unmapped.} \item{\verb{property-notify}}{a property on the window has been changed or deleted.} \item{\verb{selection-clear}}{the application has lost ownership of a selection.} \item{\verb{selection-request}}{another application has requested a selection.} \item{\verb{selection-notify}}{a selection has been received.} \item{\verb{proximity-in}}{an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).} \item{\verb{proximity-out}}{an input device has moved out of contact with a sensing surface.} \item{\verb{drag-enter}}{the mouse has entered the window while a drag is in progress.} \item{\verb{drag-leave}}{the mouse has left the window while a drag is in progress.} \item{\verb{drag-motion}}{the mouse has moved in the window while a drag is in progress.} \item{\verb{drag-status}}{the status of the drag operation initiated by the window has changed.} \item{\verb{drop-start}}{a drop operation onto the window has started.} \item{\verb{drop-finished}}{the drop operation initiated by the window has completed.} \item{\verb{client-event}}{a message has been received from another application.} \item{\verb{visibility-notify}}{the window visibility status has changed.} \item{\verb{no-expose}}{indicates that the source region was completely available when parts of a drawable were copied. This is not very useful.} \item{\verb{scroll}}{the scroll wheel was turned} \item{\verb{window-state}}{the state of a window has changed. See \code{\link{GdkWindowState}} for the possible window states} \item{\verb{setting}}{a setting has been modified.} \item{\verb{owner-change}}{the owner of a selection has changed. This event type was added in 2.6} \item{\verb{grab-broken}}{a pointer or keyboard grab was broken. This event type was added in 2.8.} \item{\verb{gdk-damage}}{the content of the window has been changed. This event type was added in 2.14.} } } \item{\verb{GdkEventMask}}{ A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the \code{\link{GdkEventType}} event types above. \code{GDK_POINTER_MOTION_HINT_MASK} is a special mask which is used to reduce the number of \code{GDK_MOTION_NOTIFY} events received. Normally a \code{GDK_MOTION_NOTIFY} event is received each time the mouse moves. However, if the application spends a lot of time processing the event (updating the display, for example), it can lag behind the position of the mouse. When using \code{GDK_POINTER_MOTION_HINT_MASK}, fewer \code{GDK_MOTION_NOTIFY} events will be sent, some of which are marked as a hint (the is_hint member is \code{TRUE}). To receive more motion events after a motion hint event, the application needs to asks for more, by calling \code{\link{gdkEventRequestMotions}}. \describe{ \item{\verb{exposure-mask}}{receive expose events} \item{\verb{pointer-motion-mask}}{receive all pointer motion events} \item{\verb{pointer-motion-hint-mask}}{see the explanation above} \item{\verb{button-motion-mask}}{receive pointer motion events while any button is pressed} \item{\verb{button1-motion-mask}}{receive pointer motion events while 1 button is pressed} \item{\verb{button2-motion-mask}}{receive pointer motion events while 2 button is pressed} \item{\verb{button3-motion-mask}}{receive pointer motion events while 3 button is pressed} \item{\verb{button-press-mask}}{receive button press events} \item{\verb{button-release-mask}}{receive button release events} \item{\verb{key-press-mask}}{receive key press events} \item{\verb{key-release-mask}}{receive key release events} \item{\verb{enter-notify-mask}}{receive window enter events} \item{\verb{leave-notify-mask}}{receive window leave events} \item{\verb{focus-change-mask}}{receive focus change events} \item{\verb{structure-mask}}{receive events about window configuration change} \item{\verb{property-change-mask}}{receive property change events} \item{\verb{visibility-notify-mask}}{receive visibility change events} \item{\verb{proximity-in-mask}}{receive proximity in events} \item{\verb{proximity-out-mask}}{receive proximity out events} \item{\verb{substructure-mask}}{receive events about window configuration changes of child windows} \item{\verb{scroll-mask}}{receive scroll events} \item{\verb{all-events-mask}}{the combination of all the above event masks.} } } }} \section{User Functions}{\describe{\item{\code{GdkEventFunc(event, data)}}{ Specifies the type of function passed to \code{\link{gdkEventHandlerSet}} to handle all GDK events. \describe{ \item{\code{event}}{the \code{\link{GdkEvent}} to process.} \item{\code{data}}{user data set when the event handler was installed with \code{\link{gdkEventHandlerSet}}.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Events.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawRgbImage.Rd0000644000176000001440000000347212362217677015301 0ustar ripleyusers\alias{gdkDrawRgbImage} \name{gdkDrawRgbImage} \title{gdkDrawRgbImage} \description{Draws an RGB image in the drawable. This is the core GdkRGB function, and likely the only one you will need to use.} \usage{gdkDrawRgbImage(object, gc, x, y, width, height, dith, rgb.buf, rowstride)} \arguments{ \item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).} \item{\verb{gc}}{The graphics context (all GDK drawing operations require one; its contents are ignored).} \item{\verb{x}}{The x coordinate of the top-left corner in the drawable.} \item{\verb{y}}{The y coordinate of the top-left corner in the drawable.} \item{\verb{width}}{The width of the rectangle to be drawn.} \item{\verb{height}}{The height of the rectangle to be drawn.} \item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.} \item{\verb{rgb.buf}}{The pixel data, represented as packed 24-bit data.} \item{\verb{rowstride}}{The number of bytes from the start of one row in \code{rgb.buf} to the start of the next.} } \details{The \code{rowstride} parameter allows for lines to be aligned more flexibly. For example, lines may be allocated to begin on 32-bit boundaries, even if the width of the rectangle is odd. Rowstride is also useful when drawing a subrectangle of a larger image in memory. Finally, to replicate the same line a number of times, the trick of setting \code{rowstride} to 0 is allowed. In general, for 0 <= i < \code{width} and 0 <= j < height, the pixel (x + i, y + j) is colored with red value \code{rgb.buf}[\code{j} * \code{rowstride} + \code{i} * 3], green value \code{rgb.buf}[\code{j} * \code{rowstride} + \code{i} * 3 + 1], and blue value \code{rgb.buf}[\code{j} * \code{rowstride} + \code{i} * 3 + 2].} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLayoutWithColors.Rd0000644000176000001440000000253012362217677017111 0ustar ripleyusers\alias{gdkDrawLayoutWithColors} \name{gdkDrawLayoutWithColors} \title{gdkDrawLayoutWithColors} \description{Render a \code{\link{PangoLayout}} onto a \code{\link{GdkDrawable}}, overriding the layout's normal colors with \code{foreground} and/or \code{background}. \code{foreground} and \code{background} need not be allocated.} \usage{gdkDrawLayoutWithColors(drawable, gc, x, y, layout, foreground, background)} \arguments{ \item{\verb{drawable}}{the drawable on which to draw string} \item{\verb{gc}}{base graphics context to use} \item{\verb{x}}{the X position of the left of the layout (in pixels)} \item{\verb{y}}{the Y position of the top of the layout (in pixels)} \item{\verb{layout}}{a \code{\link{PangoLayout}}} \item{\verb{foreground}}{foreground override color, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{background}}{background override color, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \details{If the layout's \code{\link{PangoContext}} has a transformation matrix set, then \code{x} and \code{y} specify the position of the top left corner of the bounding box (in device space) of the transformed layout. If you're using GTK+, the ususal way to obtain a \code{\link{PangoLayout}} is \code{\link{gtkWidgetCreatePangoLayout}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRuler.Rd0000644000176000001440000000501512362217677014052 0ustar ripleyusers\alias{GtkRuler} \name{GtkRuler} \title{GtkRuler} \description{Base class for horizontal or vertical rulers} \section{Methods and Functions}{ \code{\link{gtkRulerSetMetric}(object, metric)}\cr \code{\link{gtkRulerSetRange}(object, lower, upper, position, max.size)}\cr \code{\link{gtkRulerGetMetric}(object)}\cr \code{\link{gtkRulerGetRange}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRuler +----GtkHRuler +----GtkVRuler}} \section{Interfaces}{GtkRuler implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\strong{PLEASE NOTE:} This widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. The GTKRuler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. The ruler can either be horizontal or vertical on the window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. See \code{\link{GtkHRuler}} to learn how to create a new horizontal ruler. See \code{\link{GtkVRuler}} to learn how to create a new vertical ruler.} \section{Structures}{\describe{\item{\verb{GtkRuler}}{ All distances are in 1/72nd's of an inch. (According to Adobe thats a point, but points are really 1/72.27 in.) }}} \section{Properties}{\describe{ \item{\verb{lower} [numeric : Read / Write]}{ Lower limit of ruler. Default value: 0 } \item{\verb{max-size} [numeric : Read / Write]}{ Maximum size of the ruler. Default value: 0 } \item{\verb{metric} [\code{\link{GtkMetricType}} : Read / Write]}{ The metric used for the ruler. Default value: GTK_PIXELS Since 2.8 } \item{\verb{position} [numeric : Read / Write]}{ Position of mark on the ruler. Default value: 0 } \item{\verb{upper} [numeric : Read / Write]}{ Upper limit of ruler. Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkRuler.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkHRuler}} \code{\link{GtkVRuler}} } \keyword{internal} RGtk2/man/gtkPaperSizeGetPpdName.Rd0000644000176000001440000000066212362217677016633 0ustar ripleyusers\alias{gtkPaperSizeGetPpdName} \name{gtkPaperSizeGetPpdName} \title{gtkPaperSizeGetPpdName} \description{Gets the PPD name of the \code{\link{GtkPaperSize}}, which may be \code{NULL}.} \usage{gtkPaperSizeGetPpdName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaperSize}} object}} \details{Since 2.10} \value{[character] the PPD name of \code{size}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/argInfo.Rd0000644000176000001440000000525011766145227013677 0ustar ripleyusers\name{argInfo} \alias{gtkObjectGetArgInfo} \alias{names.GtkObject} \title{Access information about properties of a GtkObject} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These allow one to discover what ``properties'' or variables a Gtk object supports and the details of each property such as its type and whether it can be set or only read. } \usage{ \method{names}{GtkObject}(x) gtkObjectGetArgInfo(obj, parents=TRUE, collapse=TRUE) } \arguments{ \item{x}{the Gtk object the names of whose properties are to be queried} \item{obj}{the Gtk object for which the property information is to be retrieved} \item{parents}{a logical value indicating whether to get the properties of the parent classes as well as the specific class of the Gtk object \code{obj}. If this is true, we iterate over the successive super-classes of \code{obj}. } \item{collapse}{a logical value indicating whether the information about parent classes should be collapsed into a single list (\code{TRUE}) or maintained as separate elements in a top-level list that allows one to determine to which class each property originates. The names of a property contains the class for which it is defined. } } \details{ A regular user will probably want to call \code{gtkObjectGetArgInfo} with \code{parents = TRUE}, \code{collapse=TRUE} to find all the available properties in the most convenient format. Tool writers using the reflectance may want to get the associated classes and process the properties hierarchically. } \value{ \code{names} returns a character vector giving the names of the available properties with the class prefix removed. \code{gtkObjectGetArgInfo} returns a list giving details of the properties. At the lowest level, each property is described by a list containing \item{type}{an object of class \code{GtkType} which identifies the type (!) of the value of the property.} \item{flag}{an object which specifies whether the property is read-only or read-write and when it can be specified, etc.} Each property is indexed by its name in the list. The precise form of the returned value depends on the different arguments. If \code{parents} is \code{FALSE}, then a simple list giving each property for the class of \code{obj} is returned. If \code{parents} is \code{TRUE} and \code{collapse} is \code{FALSE}, then a list indexed by class is returned. Each element is a list containing the property information. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) } \keyword{interface} \keyword{internal} RGtk2/man/gtkCTreeNodeIsVisible.Rd0000644000176000001440000000142712362217677016446 0ustar ripleyusers\alias{gtkCTreeNodeIsVisible} \name{gtkCTreeNodeIsVisible} \title{gtkCTreeNodeIsVisible} \description{ \strong{WARNING: \code{gtk_ctree_node_is_visible} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeIsVisible(object, node)} \arguments{ \item{\verb{object}}{True if the node is currently inside the bounds of the window. Note that this function can return true even if the node is not viewable, if the node's ancestor is visible.} \item{\verb{node}}{\emph{undocumented }} } \value{[\code{\link{GtkVisibility}}] True if the node is currently inside the bounds of the window. Note that this function can return true even if the node is not viewable, if the node's ancestor is visible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewMoveChild.Rd0000644000176000001440000000105112362217677016367 0ustar ripleyusers\alias{gtkTextViewMoveChild} \name{gtkTextViewMoveChild} \title{gtkTextViewMoveChild} \description{Updates the position of a child, as for \code{\link{gtkTextViewAddChildInWindow}}.} \usage{gtkTextViewMoveChild(object, child, xpos, ypos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{child}}{child widget already added to the text view} \item{\verb{xpos}}{new X position in window coordinates} \item{\verb{ypos}}{new Y position in window coordinates} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardSetWithData.Rd0000644000176000001440000000163612362217677017027 0ustar ripleyusers\alias{gtkClipboardSetWithData} \name{gtkClipboardSetWithData} \title{gtkClipboardSetWithData} \description{Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.} \usage{gtkClipboardSetWithData(object, targets, get.func, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{targets}}{array containing information about the available forms for the clipboard data} \item{\verb{get.func}}{function to call to get the actual clipboard data} \item{\verb{user.data}}{user data to pass to \code{get.func} and \code{clear.func}.} } \value{[logical] \code{TRUE} if setting the clipboard data succeeded. If setting the clipboard data failed the provided callback functions will be ignored.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorHasPending.Rd0000644000176000001440000000065412362217677017350 0ustar ripleyusers\alias{gFileEnumeratorHasPending} \name{gFileEnumeratorHasPending} \title{gFileEnumeratorHasPending} \description{Checks if the file enumerator has pending operations.} \usage{gFileEnumeratorHasPending(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileEnumerator}}.}} \value{[logical] \code{TRUE} if the \code{enumerator} has pending operations.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonSetArrowTooltipMarkup.Rd0000644000176000001440000000123712362217677022203 0ustar ripleyusers\alias{gtkMenuToolButtonSetArrowTooltipMarkup} \name{gtkMenuToolButtonSetArrowTooltipMarkup} \title{gtkMenuToolButtonSetArrowTooltipMarkup} \description{Sets the tooltip markup text to be used as tooltip for the arrow button which pops up the menu. See \code{\link{gtkToolItemSetTooltip}} for setting a tooltip on the whole \code{\link{GtkMenuToolButton}}.} \usage{gtkMenuToolButtonSetArrowTooltipMarkup(object, markup)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuToolButton}}} \item{\verb{markup}}{markup text to be used as tooltip text for button's arrow button} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetPageIncrement.Rd0000644000176000001440000000112312362217677020251 0ustar ripleyusers\alias{gtkAdjustmentSetPageIncrement} \name{gtkAdjustmentSetPageIncrement} \title{gtkAdjustmentSetPageIncrement} \description{Sets the page increment of the adjustment.} \usage{gtkAdjustmentSetPageIncrement(object, page.increment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{page.increment}}{the new page increment} } \details{See \code{\link{gtkAdjustmentSetLower}} about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetLowerStepperSensitivity.Rd0000644000176000001440000000102412362217677021340 0ustar ripleyusers\alias{gtkRangeGetLowerStepperSensitivity} \name{gtkRangeGetLowerStepperSensitivity} \title{gtkRangeGetLowerStepperSensitivity} \description{Gets the sensitivity policy for the stepper that points to the 'lower' end of the GtkRange's adjustment.} \usage{gtkRangeGetLowerStepperSensitivity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{Since 2.10} \value{[\code{\link{GtkSensitivityType}}] The lower stepper's sensitivity policy.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemNew.Rd0000644000176000001440000000050712362217677016155 0ustar ripleyusers\alias{gtkCheckMenuItemNew} \name{gtkCheckMenuItemNew} \title{gtkCheckMenuItemNew} \description{Creates a new \code{\link{GtkCheckMenuItem}}.} \usage{gtkCheckMenuItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCheckMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapCreateFromXpmD.Rd0000644000176000001440000000175712362217677017011 0ustar ripleyusers\alias{gdkPixmapCreateFromXpmD} \name{gdkPixmapCreateFromXpmD} \title{gdkPixmapCreateFromXpmD} \description{Create a pixmap from data in XPM format.} \usage{gdkPixmapCreateFromXpmD(drawable, transparent.color, data)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap.} \item{\verb{transparent.color}}{This color will be used for the pixels that are transparent in the input file. Can be \code{NULL} in which case a default color will be used.} \item{\verb{data}}{Pointer to a string containing the XPM data.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}. \emph{[ \acronym{transfer none} ]}} \item{\verb{mask}}{Pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be \code{NULL}, in which case transparency will be ignored. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawTrapezoid.Rd0000644000176000001440000000205112362217677017603 0ustar ripleyusers\alias{pangoRendererDrawTrapezoid} \name{pangoRendererDrawTrapezoid} \title{pangoRendererDrawTrapezoid} \description{Draws a trapezoid with the parallel sides aligned with the X axis using the given \code{\link{PangoRenderer}}; coordinates are in device space.} \usage{pangoRendererDrawTrapezoid(object, part, y1., x11, x21, y2, x12, x22)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{part}}{[\code{\link{PangoRenderPart}}] type of object this trapezoid is part of} \item{\verb{y1.}}{[numeric] Y coordinate of top of trapezoid} \item{\verb{x11}}{[numeric] X coordinate of left end of top of trapezoid} \item{\verb{x21}}{[numeric] X coordinate of right end of top of trapezoid} \item{\verb{y2}}{[numeric] Y coordinate of bottom of trapezoid} \item{\verb{x12}}{[numeric] X coordinate of left end of bottom of trapezoid} \item{\verb{x22}}{[numeric] X coordinate of right end of bottom of trapezoid} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetWidthChars.Rd0000644000176000001440000000066312362217677016501 0ustar ripleyusers\alias{gtkLabelSetWidthChars} \name{gtkLabelSetWidthChars} \title{gtkLabelSetWidthChars} \description{Sets the desired width in characters of \code{label} to \code{n.chars}.} \usage{gtkLabelSetWidthChars(object, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{n.chars}}{the new desired width, in characters.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetLabelWidget.Rd0000644000176000001440000000106112362217677020347 0ustar ripleyusers\alias{gtkToolItemGroupSetLabelWidget} \name{gtkToolItemGroupSetLabelWidget} \title{gtkToolItemGroupSetLabelWidget} \description{Sets the label of the tool item group. The label widget is displayed in the header of the group, in place of the usual label.} \usage{gtkToolItemGroupSetLabelWidget(object, label.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{label.widget}}{the widget to be displayed in place of the usual label} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewNew.Rd0000644000176000001440000000052312362217677015215 0ustar ripleyusers\alias{gtkIconViewNew} \name{gtkIconViewNew} \title{gtkIconViewNew} \description{Creates a new \code{\link{GtkIconView}} widget} \usage{gtkIconViewNew(show = TRUE)} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkIconView}} widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetFlags.Rd0000644000176000001440000000106412362217677016316 0ustar ripleyusers\alias{gtkTreeModelGetFlags} \name{gtkTreeModelGetFlags} \title{gtkTreeModelGetFlags} \description{Returns a set of flags supported by this interface. The flags are a bitwise combination of \code{\link{GtkTreeModelFlags}}. The flags supported should not change during the lifecycle of the \code{tree.model}.} \usage{gtkTreeModelGetFlags(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModel}}.}} \value{[\code{\link{GtkTreeModelFlags}}] The flags supported by this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamGetOutputStream.Rd0000644000176000001440000000070512362217677017203 0ustar ripleyusers\alias{gIOStreamGetOutputStream} \name{gIOStreamGetOutputStream} \title{gIOStreamGetOutputStream} \description{Gets the output stream for this object. This is used for writing.} \usage{gIOStreamGetOutputStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOStream}}}} \details{Since 2.22} \value{[\code{\link{GOutputStream}}] a \code{\link{GOutputStream}}, Do not free.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetUriScheme.Rd0000644000176000001440000000111612362217677015604 0ustar ripleyusers\alias{gFileGetUriScheme} \name{gFileGetUriScheme} \title{gFileGetUriScheme} \description{Gets the URI scheme for a \code{\link{GFile}}. RFC 3986 decodes the scheme as: \preformatted{URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] } Common schemes include "file", "http", "ftp", etc. } \usage{gFileGetUriScheme(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[char] a string containing the URI scheme for the given \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetDescent.Rd0000644000176000001440000000124212362217677017541 0ustar ripleyusers\alias{pangoFontMetricsGetDescent} \name{pangoFontMetricsGetDescent} \title{pangoFontMetricsGetDescent} \description{Gets the descent from a font metrics structure. The descent is the distance from the baseline to the logical bottom of a line of text. (The logical bottom may be above or below the bottom of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.)} \usage{pangoFontMetricsGetDescent(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \value{[integer] the descent, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetDirectionWildcarded.Rd0000644000176000001440000000076012362217677021360 0ustar ripleyusers\alias{gtkIconSourceGetDirectionWildcarded} \name{gtkIconSourceGetDirectionWildcarded} \title{gtkIconSourceGetDirectionWildcarded} \description{Gets the value set by \code{\link{gtkIconSourceSetDirectionWildcarded}}.} \usage{gtkIconSourceGetDirectionWildcarded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[logical] \code{TRUE} if this icon source is a base for any text direction variant} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetGetNRelations.Rd0000644000176000001440000000072312362217677017704 0ustar ripleyusers\alias{atkRelationSetGetNRelations} \name{atkRelationSetGetNRelations} \title{atkRelationSetGetNRelations} \description{Determines the number of relations in a relation set.} \usage{atkRelationSetGetNRelations(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}}} \value{[integer] an integer representing the number of relations in the set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentRemoveFocusHandler.Rd0000644000176000001440000000120412362217677020425 0ustar ripleyusers\alias{atkComponentRemoveFocusHandler} \name{atkComponentRemoveFocusHandler} \title{atkComponentRemoveFocusHandler} \description{Remove the handler specified by \code{handler.id} from the list of functions to be executed when this object receives focus events (in or out).} \usage{atkComponentRemoveFocusHandler(object, handler.id)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] the \code{\link{AtkComponent}} to remove the focus handler from} \item{\verb{handler.id}}{[numeric] the handler id of the focus handler to be removed from \code{component}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketReceiveMessage.Rd0000644000176000001440000000755012362217677016530 0ustar ripleyusers\alias{gSocketReceiveMessage} \name{gSocketReceiveMessage} \title{gSocketReceiveMessage} \description{Receive data from a socket. This is the most complicated and fully-featured version of this call. For easier use, see \code{\link{gSocketReceive}} and \code{\link{gSocketReceiveFrom}}.} \usage{gSocketReceiveMessage(object, flags = 0, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{flags}}{a pointer to an int containing \verb{GSocketMsgFlags} flags} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{address} is non-\code{NULL} then \code{address} will be set equal to the source the received packet. \code{vector} must point to a list of \verb{GInputVector} structs and \code{num.vectors} must be the length of this list. These structs describe the buffers that received data will be scattered into. If \code{num.vectors} is -1, then \code{vectors} is assumed to be terminated by a \verb{GInputVector} with a \code{NULL} buffer pointer. As a special case, if \code{num.vectors} is 0 (in which case, \code{vectors} may of course be \code{NULL}), then a single byte is received and discarded. This is to facilitate the common practice of sending a single '\\0' byte for the purposes of transferring ancillary data. \code{messages}, if non-\code{NULL}, will be set to point to a newly-allocated array of \code{\link{GSocketControlMessage}} instances. These correspond to the control messages received from the kernel, one \code{\link{GSocketControlMessage}} per message from the kernel. If \code{messages} is \code{NULL}, any control messages received will be discarded. \code{num.messages}, if non-\code{NULL}, will be set to the number of control messages received. If both \code{messages} and \code{num.messages} are non-\code{NULL}, then \code{num.messages} gives the number of \code{\link{GSocketControlMessage}} instances in \code{messages} (ie: not including the \code{NULL} terminator). \code{flags} is an in/out parameter. The commonly available arguments for this are available in the \verb{GSocketMsgFlags} enum, but the values there are the same as the system values, and the flags are passed in as-is, so you can pass in system-specific flags too (and \code{\link{gSocketReceiveMessage}} may pass system-specific flags out). As with \code{\link{gSocketReceive}}, data may be discarded if \code{socket} is \code{G_SOCKET_TYPE_DATAGRAM} or \code{G_SOCKET_TYPE_SEQPACKET} and you do not provide enough buffer space to read a complete message. You can pass \code{G_SOCKET_MSG_PEEK} in \code{flags} to peek at the current message without removing it from the receive queue, but there is no portable way to find out the length of the message other than by reading it into a sufficiently-large buffer. If the socket is in blocking mode the call will block until there is some data to receive or there is an error. If there is no data available and the socket is in non-blocking mode, a \code{G_IO_ERROR_WOULD_BLOCK} error will be returned. To be notified when data is available, wait for the \code{G_IO_IN} condition. On error -1 is returned and \code{error} is set accordingly. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes read, or -1 on error} \item{\verb{address}}{a pointer to a \code{\link{GSocketAddress}} pointer, or \code{NULL}} \item{\verb{vectors}}{a list of \verb{GInputVector} structs} \item{\verb{messages}}{a pointer which will be filled with a list of \verb{GSocketControlMessages}, or \code{NULL}} \item{\verb{num.messages}}{a pointer which will be filled with the number of elements in \code{messages}, or \code{NULL}} \item{\verb{error}}{a \code{\link{GError}} pointer, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutUint16.Rd0000644000176000001440000000147212362217677017433 0ustar ripleyusers\alias{gDataOutputStreamPutUint16} \name{gDataOutputStreamPutUint16} \title{gDataOutputStreamPutUint16} \description{Puts an unsigned 16-bit integer into the output stream.} \usage{gDataOutputStreamPutUint16(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{integer}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetTextAlignment.Rd0000644000176000001440000000143312362217677020005 0ustar ripleyusers\alias{gtkProgressSetTextAlignment} \name{gtkProgressSetTextAlignment} \title{gtkProgressSetTextAlignment} \description{ Controls the alignment of the text within the progress bar area. \strong{WARNING: \code{gtk_progress_set_text_alignment} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetTextAlignment(object, x.align, y.align)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{x.align}}{a number between 0.0 and 1.0 indicating the horizontal alignment of the progress text within the \code{\link{GtkProgress}}.} \item{\verb{y.align}}{a number between 0.0 and 1.0 indicating the vertical alignment of the progress text within the \code{\link{GtkProgress}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListInsertBefore.Rd0000644000176000001440000000114412362217677017415 0ustar ripleyusers\alias{pangoAttrListInsertBefore} \name{pangoAttrListInsertBefore} \title{pangoAttrListInsertBefore} \description{Insert the given attribute into the \code{\link{PangoAttrList}}. It will be inserted before all other attributes with a matching \code{start.index}.} \usage{pangoAttrListInsertBefore(object, attr)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} \item{\verb{attr}}{[\code{\link{PangoAttribute}}] the attribute to insert. Ownership of this value is assumed by the list.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetClipMask.Rd0000644000176000001440000000067412362217677015400 0ustar ripleyusers\alias{gdkGCSetClipMask} \name{gdkGCSetClipMask} \title{gdkGCSetClipMask} \description{Sets the clip mask for a graphics context from a bitmap. The clip mask is interpreted relative to the clip origin. (See \code{\link{gdkGCSetClipOrigin}}).} \usage{gdkGCSetClipMask(object, mask)} \arguments{ \item{\verb{object}}{the \code{\link{GdkGC}}.} \item{\verb{mask}}{a bitmap.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetPreviewWidgetActive.Rd0000644000176000001440000000116312362217677021525 0ustar ripleyusers\alias{gtkFileChooserGetPreviewWidgetActive} \name{gtkFileChooserGetPreviewWidgetActive} \title{gtkFileChooserGetPreviewWidgetActive} \description{Gets whether the preview widget set by \code{\link{gtkFileChooserSetPreviewWidget}} should be shown for the current filename. See \code{\link{gtkFileChooserSetPreviewWidgetActive}}.} \usage{gtkFileChooserGetPreviewWidgetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the preview widget is active for the current filename.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetToplevels.Rd0000644000176000001440000000127612362217677016613 0ustar ripleyusers\alias{gdkWindowGetToplevels} \name{gdkWindowGetToplevels} \title{gdkWindowGetToplevels} \description{ Obtains a list of all toplevel windows known to GDK on the default screen (see \code{\link{gdkScreenGetToplevelWindows}}). A toplevel window is a child of the root window (see \code{\link{gdkGetDefaultRootWindow}}). \strong{WARNING: \code{gdk_window_get_toplevels} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gdkScreenGetToplevelWindows}} instead.} } \usage{gdkWindowGetToplevels()} \details{ but its elements need not be freed.} \value{[list] list of toplevel windows,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetSize.Rd0000644000176000001440000000202012362217677017752 0ustar ripleyusers\alias{pangoFontDescriptionSetSize} \name{pangoFontDescriptionSetSize} \title{pangoFontDescriptionSetSize} \description{Sets the size field of a font description in fractional points. This is mutually exclusive with \code{\link{pangoFontDescriptionSetAbsoluteSize}}.} \usage{pangoFontDescriptionSetSize(object, size)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{size}}{[integer] the size of the font in points, scaled by PANGO_SCALE. (That is, a \code{size} value of 10 * PANGO_SCALE is a 10 point font. The conversion factor between points and device units depends on system configuration and the output device. For screen display, a logical DPI of 96 is common, in which case a 10 point font corresponds to a 10 * (96 / 72) = 13.3 pixel font. Use \code{\link{pangoFontDescriptionSetAbsoluteSize}} if you need a particular size in device units.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetNumeric.Rd0000644000176000001440000000071512362217677017113 0ustar ripleyusers\alias{gtkSpinButtonGetNumeric} \name{gtkSpinButtonGetNumeric} \title{gtkSpinButtonGetNumeric} \description{Returns whether non-numeric text can be typed into the spin button. See \code{\link{gtkSpinButtonSetNumeric}}.} \usage{gtkSpinButtonGetNumeric(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[logical] \code{TRUE} if only numeric text can be entered} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowShowUnraised.Rd0000644000176000001440000000122612362217677016604 0ustar ripleyusers\alias{gdkWindowShowUnraised} \name{gdkWindowShowUnraised} \title{gdkWindowShowUnraised} \description{Shows a \code{\link{GdkWindow}} onscreen, but does not modify its stacking order. In contrast, \code{\link{gdkWindowShow}} will raise the window to the top of the window stack.} \usage{gdkWindowShowUnraised(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{On the X11 platform, in Xlib terms, this function calls \code{xmapwindow()} (it also updates some internal GDK state, which means that you can't really use \code{xmapwindow()} directly on a GDK window).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkQuitRemoveByData.Rd0000644000176000001440000000060512362217677016206 0ustar ripleyusers\alias{gtkQuitRemoveByData} \name{gtkQuitRemoveByData} \title{gtkQuitRemoveByData} \description{Removes a quit handler identified by its \code{data} field.} \usage{gtkQuitRemoveByData(data)} \arguments{\item{\verb{data}}{The pointer passed as \code{data} to \code{\link{gtkQuitAdd}} or \code{\link{gtkQuitAddFull}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceStatus.Rd0000644000176000001440000000117312362217677016126 0ustar ripleyusers\alias{cairoSurfaceStatus} \name{cairoSurfaceStatus} \title{cairoSurfaceStatus} \description{Checks whether an error has previously occurred for this surface.} \usage{cairoSurfaceStatus(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, \code{CAIRO_STATUS_NULL_POINTER}, \code{CAIRO_STATUS_NO_MEMORY}, \code{CAIRO_STATUS_READ_ERROR}, \code{CAIRO_STATUS_INVALID_CONTENT}, \code{CAIRO_STATUS_INVALID_FORMAT}, or \code{CAIRO_STATUS_INVALID_VISUAL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarNew.Rd0000644000176000001440000000050312362217677015440 0ustar ripleyusers\alias{gtkStatusbarNew} \name{gtkStatusbarNew} \title{gtkStatusbarNew} \description{Creates a new \code{\link{GtkStatusbar}} ready for messages.} \usage{gtkStatusbarNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkStatusbar}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetDefaultForUriScheme.Rd0000644000176000001440000000115612362217677020241 0ustar ripleyusers\alias{gAppInfoGetDefaultForUriScheme} \name{gAppInfoGetDefaultForUriScheme} \title{gAppInfoGetDefaultForUriScheme} \description{Gets the default application for launching applications using this URI scheme. A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".} \usage{gAppInfoGetDefaultForUriScheme(uri.scheme)} \arguments{\item{\verb{uri.scheme}}{a string containing a URI scheme.}} \value{[\code{\link{GAppInfo}}] \code{\link{GAppInfo}} for given \code{uri.scheme} or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRoleGetLocalizedName.Rd0000644000176000001440000000074712362217677017013 0ustar ripleyusers\alias{atkRoleGetLocalizedName} \name{atkRoleGetLocalizedName} \title{atkRoleGetLocalizedName} \description{Gets the localized description string describing the \code{\link{AtkRole}} \code{role}.} \usage{atkRoleGetLocalizedName(role)} \arguments{\item{\verb{role}}{[\code{\link{AtkRole}}] The \code{\link{AtkRole}} whose localized name is required}} \value{[character] the localized string describing the AtkRole} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetLayoutOffsets.Rd0000644000176000001440000000214212362217677017226 0ustar ripleyusers\alias{gtkLabelGetLayoutOffsets} \name{gtkLabelGetLayoutOffsets} \title{gtkLabelGetLayoutOffsets} \description{Obtains the coordinates where the label will draw the \code{\link{PangoLayout}} representing the text in the label; useful to convert mouse events into coordinates inside the \code{\link{PangoLayout}}, e.g. to take some action if some part of the label is clicked. Of course you will need to create a \code{\link{GtkEventBox}} to receive the events, and pack the label inside it, since labels are a \verb{GTK_NO_WINDOW} widget. Remember when using the \code{\link{PangoLayout}} functions you need to convert to and from pixels using \code{pangoPixels()} or \verb{PANGO_SCALE}.} \usage{gtkLabelGetLayoutOffsets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{ A list containing the following elements: \item{\verb{x}}{location to store X offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y}}{location to store Y offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowConfigureFinished.Rd0000644000176000001440000000127712362217677017572 0ustar ripleyusers\alias{gdkWindowConfigureFinished} \name{gdkWindowConfigureFinished} \title{gdkWindowConfigureFinished} \description{Signal to the window system that the application has finished handling Configure events it has received. Window Managers can use this to better synchronize the frame repaint with the application. GTK+ applications will automatically call this function when appropriate.} \usage{gdkWindowConfigureFinished(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{This function can only be called if \code{\link{gdkWindowEnableSynchronizedConfigure}} was called previously. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleSetValuePos.Rd0000644000176000001440000000062112362217677016201 0ustar ripleyusers\alias{gtkScaleSetValuePos} \name{gtkScaleSetValuePos} \title{gtkScaleSetValuePos} \description{Sets the position in which the current value is displayed.} \usage{gtkScaleSetValuePos(object, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScale}}} \item{\verb{pos}}{the position in which the current value is displayed} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHButtonBoxGetLayoutDefault.Rd0000644000176000001440000000101312362217677020212 0ustar ripleyusers\alias{gtkHButtonBoxGetLayoutDefault} \name{gtkHButtonBoxGetLayoutDefault} \title{gtkHButtonBoxGetLayoutDefault} \description{ Retrieves the current layout used to arrange buttons in button box widgets. \strong{WARNING: \code{gtk_hbutton_box_get_layout_default} is deprecated and should not be used in newly-written code.} } \usage{gtkHButtonBoxGetLayoutDefault()} \value{[\code{\link{GtkButtonBoxStyle}}] the current \code{\link{GtkButtonBoxStyle}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetStockId.Rd0000644000176000001440000000114712362217677017071 0ustar ripleyusers\alias{gtkToolButtonSetStockId} \name{gtkToolButtonSetStockId} \title{gtkToolButtonSetStockId} \description{Sets the name of the stock item. See \code{\link{gtkToolButtonNewFromStock}}. The stock_id property only has an effect if not overridden by non-\code{NULL} "label" and "icon_widget" properties.} \usage{gtkToolButtonSetStockId(object, stock.id = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{stock.id}}{a name of a stock item, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterInputStreamSetCloseBaseStream.Rd0000644000176000001440000000075612362217677021523 0ustar ripleyusers\alias{gFilterInputStreamSetCloseBaseStream} \name{gFilterInputStreamSetCloseBaseStream} \title{gFilterInputStreamSetCloseBaseStream} \description{Sets whether the base stream will be closed when \code{stream} is closed.} \usage{gFilterInputStreamSetCloseBaseStream(object, close.base)} \arguments{ \item{\verb{object}}{a \code{\link{GFilterInputStream}}.} \item{\verb{close.base}}{\code{TRUE} to close the base stream.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMountEnclosingVolumeFinish.Rd0000644000176000001440000000146112362217677020560 0ustar ripleyusers\alias{gFileMountEnclosingVolumeFinish} \name{gFileMountEnclosingVolumeFinish} \title{gFileMountEnclosingVolumeFinish} \description{Finishes a mount operation started by \code{\link{gFileMountEnclosingVolume}}.} \usage{gFileMountEnclosingVolumeFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetCursorVisible.Rd0000644000176000001440000000062212362217677017753 0ustar ripleyusers\alias{gtkTextViewGetCursorVisible} \name{gtkTextViewGetCursorVisible} \title{gtkTextViewGetCursorVisible} \description{Find out whether the cursor is being displayed.} \usage{gtkTextViewGetCursorVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[logical] whether the insertion mark is visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetKeepBelow.Rd0000644000176000001440000000156112362217677016524 0ustar ripleyusers\alias{gdkWindowSetKeepBelow} \name{gdkWindowSetKeepBelow} \title{gdkWindowSetKeepBelow} \description{Set if \code{window} must be kept below other windows. If the window was already below, then this function does nothing.} \usage{gdkWindowSetKeepBelow(object, setting)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{setting}}{whether to keep \code{window} below other windows} } \details{On X11, asks the window manager to keep \code{window} below, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "keep below"; so you can't rely on the window being kept below. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetExpand.Rd0000644000176000001440000000175312362217677016263 0ustar ripleyusers\alias{gtkPreviewSetExpand} \name{gtkPreviewSetExpand} \title{gtkPreviewSetExpand} \description{ Determines the way that the the preview widget behaves when the size it is allocated is larger than the requested size. If \code{expand} is \code{FALSE}, then the preview's window and buffer will be no larger than the size set with \code{\link{gtkPreviewSize}}, and the data set will be centered in the allocation if it is larger. If \code{expand} is \code{TRUE} then the window and buffer will expand with the allocation; the application is responsible for catching the "size_allocate" signal and providing the data appropriate for this size. \strong{WARNING: \code{gtk_preview_set_expand} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetExpand(object, expand)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPreview}}.} \item{\verb{expand}}{whether the preview's window should expand or not.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxGetChildSize.Rd0000644000176000001440000000151212362217677017202 0ustar ripleyusers\alias{gtkButtonBoxGetChildSize} \name{gtkButtonBoxGetChildSize} \title{gtkButtonBoxGetChildSize} \description{ Retrieves the current width and height of all child widgets in a button box. \code{min.width} and \code{min.height} are filled with those values, respectively. \strong{WARNING: \code{gtk_button_box_get_child_size} is deprecated and should not be used in newly-written code. Use the style properties \code{"child-min-width/-height"} instead.} } \usage{gtkButtonBoxGetChildSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButtonBox}}.}} \value{ A list containing the following elements: \item{\verb{min.width}}{the width of the buttons contained by \code{widget}.} \item{\verb{min.height}}{the height of the buttons contained by \code{widget}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetRealized.Rd0000644000176000001440000000064212362217677016365 0ustar ripleyusers\alias{gtkWidgetGetRealized} \name{gtkWidgetGetRealized} \title{gtkWidgetGetRealized} \description{Determines whether \code{widget} is realized.} \usage{gtkWidgetGetRealized(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.20} \value{[logical] \code{TRUE} if \code{widget} is realized, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetInlineCompletion.Rd0000644000176000001440000000103212362217677022000 0ustar ripleyusers\alias{gtkEntryCompletionGetInlineCompletion} \name{gtkEntryCompletionGetInlineCompletion} \title{gtkEntryCompletionGetInlineCompletion} \description{Returns whether the common prefix of the possible completions should be automatically inserted in the entry.} \usage{gtkEntryCompletionGetInlineCompletion(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if inline completion is turned on} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringGetWidth.Rd0000644000176000001440000000130612362217677017251 0ustar ripleyusers\alias{pangoGlyphStringGetWidth} \name{pangoGlyphStringGetWidth} \title{pangoGlyphStringGetWidth} \description{Computes the logical width of the glyph string as can also be computed using \code{\link{pangoGlyphStringExtents}}. However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of geometry.width for each glyph in the \code{glyphs}.} \usage{pangoGlyphStringGetWidth(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}}} \details{ Since 1.14} \value{[integer] the logical width of the glyph string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowPresentWithTime.Rd0000644000176000001440000000121112362217677017276 0ustar ripleyusers\alias{gtkWindowPresentWithTime} \name{gtkWindowPresentWithTime} \title{gtkWindowPresentWithTime} \description{Presents a window to the user in response to a user interaction. If you need to present a window without a timestamp, use \code{\link{gtkWindowPresent}}. See \code{\link{gtkWindowPresent}} for details.} \usage{gtkWindowPresentWithTime(object, timestamp)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{timestamp}}{the timestamp of the user interaction (typically a button or key press event) which triggered this call} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetSkipTaskbarHint.Rd0000644000176000001440000000133512362217677017707 0ustar ripleyusers\alias{gdkWindowSetSkipTaskbarHint} \name{gdkWindowSetSkipTaskbarHint} \title{gdkWindowSetSkipTaskbarHint} \description{Toggles whether a window should appear in a task list or window list. If a window's semantic type as specified with \code{\link{gdkWindowSetTypeHint}} already fully describes the window, this function should \emph{not} be called in addition, instead you should allow the window to be treated according to standard policy for its semantic type.} \usage{gdkWindowSetSkipTaskbarHint(object, modal)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{modal}}{\code{TRUE} to skip the taskbar} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrStyleNew.Rd0000644000176000001440000000062312362217677015745 0ustar ripleyusers\alias{pangoAttrStyleNew} \name{pangoAttrStyleNew} \title{pangoAttrStyleNew} \description{Create a new font slant style attribute.} \usage{pangoAttrStyleNew(style)} \arguments{\item{\verb{style}}{[\code{\link{PangoStyle}}] the slant style}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMakeSymbolicLink.Rd0000644000176000001440000000177412362217677016467 0ustar ripleyusers\alias{gFileMakeSymbolicLink} \name{gFileMakeSymbolicLink} \title{gFileMakeSymbolicLink} \description{Creates a symbolic link.} \usage{gFileMakeSymbolicLink(object, symlink.value, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{symlink.value}}{a string with the value of the new symlink.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on the creation of a new symlink, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetIncrements.Rd0000644000176000001440000000107312362217677017632 0ustar ripleyusers\alias{gtkSpinButtonSetIncrements} \name{gtkSpinButtonSetIncrements} \title{gtkSpinButtonSetIncrements} \description{Sets the step and page increments for spin_button. This affects how quickly the value changes when the spin button's arrows are activated.} \usage{gtkSpinButtonSetIncrements(object, step, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{step}}{increment applied for a button 1 press.} \item{\verb{page}}{increment applied for a button 2 press.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderGetObjects.Rd0000644000176000001440000000120712362217677016360 0ustar ripleyusers\alias{gtkBuilderGetObjects} \name{gtkBuilderGetObjects} \title{gtkBuilderGetObjects} \description{Gets all objects that have been constructed by \code{builder}. Note that this function does not increment the reference counts of the returned objects.} \usage{gtkBuilderGetObjects(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBuilder}}}} \details{Since 2.12} \value{[list] a newly-allocated \verb{list} containing all the objects constructed by the \code{\link{GtkBuilder}} instance. \emph{[ \acronym{element-type} GObject][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceCreate.Rd0000644000176000001440000000272412362217677016354 0ustar ripleyusers\alias{cairoPsSurfaceCreate} \name{cairoPsSurfaceCreate} \title{cairoPsSurfaceCreate} \description{Creates a PostScript surface of the specified size in points to be written to \code{filename}. See \code{\link{cairoPsSurfaceCreateForStream}} for a more flexible mechanism for handling the PostScript output than simply writing it to a named file.} \usage{cairoPsSurfaceCreate(filename, width.in.points, height.in.points)} \arguments{ \item{\verb{filename}}{[char] a filename for the PS output (must be writable), \code{NULL} may be used to specify no output. This will generate a PS surface that may be queried and used as a source, without generating a temporary file.} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{Note that the size of individual pages of the PostScript output can vary. See \code{\link{cairoPsSurfaceSetSize}}. Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardSentenceStart.Rd0000644000176000001440000000126712362217677020740 0ustar ripleyusers\alias{gtkTextIterBackwardSentenceStart} \name{gtkTextIterBackwardSentenceStart} \title{gtkTextIterBackwardSentenceStart} \description{Moves backward to the previous sentence start; if \code{iter} is already at the start of a sentence, moves backward to the next one. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).} \usage{gtkTextIterBackwardSentenceStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetShapeCombineMask.Rd0000644000176000001440000000136212362217677017337 0ustar ripleyusers\alias{gtkWidgetShapeCombineMask} \name{gtkWidgetShapeCombineMask} \title{gtkWidgetShapeCombineMask} \description{Sets a shape for this widget's GDK window. This allows for transparent windows etc., see \code{\link{gdkWindowShapeCombineMask}} for more information.} \usage{gtkWidgetShapeCombineMask(object, shape.mask, offset.x, offset.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{shape.mask}}{shape to be added, or \code{NULL} to remove an existing shape. \emph{[ \acronym{allow-none} ]}} \item{\verb{offset.x}}{X position of shape mask with respect to \code{window}} \item{\verb{offset.y}}{Y position of shape mask with respect to \code{window}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererAccelNew.Rd0000644000176000001440000000053312362217677016771 0ustar ripleyusers\alias{gtkCellRendererAccelNew} \name{gtkCellRendererAccelNew} \title{gtkCellRendererAccelNew} \description{Creates a new \code{\link{GtkCellRendererAccel}}.} \usage{gtkCellRendererAccelNew()} \details{Since 2.10} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupInsert.Rd0000644000176000001440000000113112362217677016752 0ustar ripleyusers\alias{gtkToolItemGroupInsert} \name{gtkToolItemGroupInsert} \title{gtkToolItemGroupInsert} \description{Inserts \code{item} at \code{position} in the list of children of \code{group}.} \usage{gtkToolItemGroupInsert(object, item, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{item}}{the \code{\link{GtkToolItem}} to insert into \code{group}} \item{\verb{position}}{the position of \code{item} in \code{group}, starting with 0. The position -1 means end of list.} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetStockId.Rd0000644000176000001440000000056112362217677016174 0ustar ripleyusers\alias{gtkActionSetStockId} \name{gtkActionSetStockId} \title{gtkActionSetStockId} \description{Sets the stock id on \code{action}} \usage{gtkActionSetStockId(object, stock.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{stock.id}}{the stock id} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIOStreamGetEtag.Rd0000644000176000001440000000076712362217677016217 0ustar ripleyusers\alias{gFileIOStreamGetEtag} \name{gFileIOStreamGetEtag} \title{gFileIOStreamGetEtag} \description{Gets the entity tag for the file when it has been written. This must be called after the stream has been written and closed, as the etag can change while writing.} \usage{gFileIOStreamGetEtag(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileIOStream}}.}} \details{Since 2.22} \value{[char] the entity tag for the stream.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewEnableModelDragSource.Rd0000644000176000001440000000133012362217677020607 0ustar ripleyusers\alias{gtkIconViewEnableModelDragSource} \name{gtkIconViewEnableModelDragSource} \title{gtkIconViewEnableModelDragSource} \description{Turns \code{icon.view} into a drag source for automatic DND. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkIconViewEnableModelDragSource(object, start.button.mask, targets, actions)} \arguments{ \item{\verb{object}}{a \verb{GtkIconTreeView}} \item{\verb{start.button.mask}}{Mask of allowed buttons to start drag} \item{\verb{targets}}{the table of targets that the drag will support} \item{\verb{actions}}{the bitmask of possible actions for a drag from this widget} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetCanFocus.Rd0000644000176000001440000000074212362217677016330 0ustar ripleyusers\alias{gtkWidgetGetCanFocus} \name{gtkWidgetGetCanFocus} \title{gtkWidgetGetCanFocus} \description{Determines whether \code{widget} can own the input focus. See \code{\link{gtkWidgetSetCanFocus}}.} \usage{gtkWidgetGetCanFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} can own the input focus, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSeekable.Rd0000644000176000001440000000221212362217677014131 0ustar ripleyusers\alias{GSeekable} \name{GSeekable} \title{GSeekable} \description{Stream seeking interface} \section{Methods and Functions}{ \code{\link{gSeekableTell}(object)}\cr \code{\link{gSeekableCanSeek}(object)}\cr \code{\link{gSeekableSeek}(object, offset, type = "G_SEEK_SET", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSeekableCanTruncate}(object)}\cr \code{\link{gSeekableTruncate}(object, offset, cancellable = NULL, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GSeekable}} \section{Implementations}{GSeekable is implemented by \code{\link{GFileIOStream}}, \code{\link{GFileInputStream}}, \code{\link{GFileOutputStream}}, \code{\link{GMemoryInputStream}} and \code{\link{GMemoryOutputStream}}.} \section{Detailed Description}{\code{\link{GSeekable}} is implemented by streams (implementations of \code{\link{GInputStream}} or \code{\link{GOutputStream}}) that support seeking.} \section{Structures}{\describe{\item{\verb{GSeekable}}{ Seek object for streaming operations. }}} \references{\url{http://library.gnome.org/devel//gio/GSeekable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarGetFraction.Rd0000644000176000001440000000062212362217677017377 0ustar ripleyusers\alias{gtkProgressBarGetFraction} \name{gtkProgressBarGetFraction} \title{gtkProgressBarGetFraction} \description{Returns the current fraction of the task that's been completed.} \usage{gtkProgressBarGetFraction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \value{[numeric] a fraction from 0.0 to 1.0} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountUnmountWithOperation.Rd0000644000176000001440000000174612362217677017676 0ustar ripleyusers\alias{gMountUnmountWithOperation} \name{gMountUnmountWithOperation} \title{gMountUnmountWithOperation} \description{Unmounts a mount. This is an asynchronous operation, and is finished by calling \code{\link{gMountUnmountWithOperationFinish}} with the \code{mount} and \code{\link{GAsyncResult}} data returned in the \code{callback}.} \usage{gMountUnmountWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontGetGlyphExtents.Rd0000644000176000001440000000260112362217677017263 0ustar ripleyusers\alias{pangoFontGetGlyphExtents} \name{pangoFontGetGlyphExtents} \title{pangoFontGetGlyphExtents} \description{Gets the logical and ink extents of a glyph within a font. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The functions \code{pangoAscent()}, \code{pangoDescent()}, \code{pangoLbearing()}, and \code{pangoRbearing()} can be used to convert from the extents rectangle to more traditional font metrics. The units of the rectangles are in 1/PANGO_SCALE of a device unit.} \usage{pangoFontGetGlyphExtents(object, glyph)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} \item{\verb{glyph}}{[numeric] the glyph index} } \details{If \code{font} is \code{NULL}, this function gracefully sets some sane values in the output variables and returns. } \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the glyph as drawn or \code{NULL} to indicate that the result is not needed.} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the glyph or \code{NULL} to indicate that the result is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetOrientation.Rd0000644000176000001440000000067112362217677017575 0ustar ripleyusers\alias{gtkPageSetupGetOrientation} \name{gtkPageSetupGetOrientation} \title{gtkPageSetupGetOrientation} \description{Gets the page orientation of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPageSetup}}}} \details{Since 2.10} \value{[\code{\link{GtkPageOrientation}}] the page orientation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionGetType.Rd0000644000176000001440000000056612362217677016236 0ustar ripleyusers\alias{gIoExtensionGetType} \name{gIoExtensionGetType} \title{gIoExtensionGetType} \description{Gets the type associated with \code{extension}.} \usage{gIoExtensionGetType(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtension}}}} \value{[\code{\link{GType}}] the type of \code{extension}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPageSet.Rd0000644000176000001440000000066312362217677017553 0ustar ripleyusers\alias{gtkPrintSettingsGetPageSet} \name{gtkPrintSettingsGetPageSet} \title{gtkPrintSettingsGetPageSet} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PAGE_SET}.} \usage{gtkPrintSettingsGetPageSet(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPageSet}}] the set of pages to print} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestText.Rd0000644000176000001440000000172212362217677017137 0ustar ripleyusers\alias{gtkClipboardRequestText} \name{gtkClipboardRequestText} \title{gtkClipboardRequestText} \description{Requests the contents of the clipboard as text. When the text is later received, it will be converted to UTF-8 if necessary, and \code{callback} will be called. } \usage{gtkClipboardRequestText(object, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{callback}}{a function to call when the text is received, or the retrieval fails. (It will always be called one way or the other.)} \item{\verb{user.data}}{user data to pass to \code{callback}.} } \details{The \code{text} parameter to \code{callback} will contain the resulting text if the request succeeded, or \code{NULL} if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into text form.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetTooltipColumn.Rd0000644000176000001440000000153112362217677017750 0ustar ripleyusers\alias{gtkIconViewSetTooltipColumn} \name{gtkIconViewSetTooltipColumn} \title{gtkIconViewSetTooltipColumn} \description{If you only plan to have simple (text-only) tooltips on full items, you can use this function to have \code{\link{GtkIconView}} handle these automatically for you. \code{column} should be set to the column in \code{icon.view}'s model containing the tooltip texts, or -1 to disable this feature.} \usage{gtkIconViewSetTooltipColumn(object, column)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{column}}{an integer, which is a valid column number for \code{icon.view}'s model} } \details{When enabled, \verb{"has-tooltip"} will be set to \code{TRUE} and \code{icon.view} will connect a \verb{"query-tooltip"} signal handler. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeCollapseRecursive.Rd0000644000176000001440000000075012362217677017377 0ustar ripleyusers\alias{gtkCTreeCollapseRecursive} \name{gtkCTreeCollapseRecursive} \title{gtkCTreeCollapseRecursive} \description{ Collapse one node and all its subnodes. \strong{WARNING: \code{gtk_ctree_collapse_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeCollapseRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetParentWindow.Rd0000644000176000001440000000062612362217677017265 0ustar ripleyusers\alias{gtkWidgetSetParentWindow} \name{gtkWidgetSetParentWindow} \title{gtkWidgetSetParentWindow} \description{Sets a non default parent window for \code{widget}.} \usage{gtkWidgetSetParentWindow(object, parent.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}.} \item{\verb{parent.window}}{the new parent window.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetUrgencyHint.Rd0000644000176000001440000000063212362217677017110 0ustar ripleyusers\alias{gtkWindowGetUrgencyHint} \name{gtkWindowGetUrgencyHint} \title{gtkWindowGetUrgencyHint} \description{Gets the value set by \code{\link{gtkWindowSetUrgencyHint}}} \usage{gtkWindowGetUrgencyHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if window is urgent} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetPixbufColumn.Rd0000644000176000001440000000065312362217677017543 0ustar ripleyusers\alias{gtkIconViewGetPixbufColumn} \name{gtkIconViewGetPixbufColumn} \title{gtkIconViewGetPixbufColumn} \description{Returns the column with pixbufs for \code{icon.view}.} \usage{gtkIconViewGetPixbufColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \value{[integer] the pixbuf column, or -1 if it's unset.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPdfSurfaceCreateForStream.Rd0000644000176000001440000000267712362217677020335 0ustar ripleyusers\alias{cairoPdfSurfaceCreateForStream} \name{cairoPdfSurfaceCreateForStream} \title{cairoPdfSurfaceCreateForStream} \description{Creates a PDF surface of the specified size in points to be written incrementally to the stream represented by \code{write.func} and \code{closure}.} \usage{cairoPdfSurfaceCreateForStream(write.func, closure, width.in.points, height.in.points)} \arguments{ \item{\verb{write.func}}{[\code{\link{CairoWriteFunc}}] a \code{\link{CairoWriteFunc}} to accept the output data, may be \code{NULL} to indicate a no-op \code{write.func}. With a no-op \code{write.func}, the surface may be queried or used as a source without generating any temporary files.} \item{\verb{closure}}{[R object] the closure argument for \code{write.func}} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{ Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutSetVadjustment.Rd0000644000176000001440000000105012362217677017172 0ustar ripleyusers\alias{gtkLayoutSetVadjustment} \name{gtkLayoutSetVadjustment} \title{gtkLayoutSetVadjustment} \description{Sets the vertical scroll adjustment for the layout.} \usage{gtkLayoutSetVadjustment(object, adjustment = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLayout}}} \item{\verb{adjustment}}{new scroll adjustment. \emph{[ \acronym{allow-none} ]}} } \details{See \code{\link{GtkScrolledWindow}}, \code{\link{GtkScrollbar}}, \code{\link{GtkAdjustment}} for details.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetTitle.Rd0000644000176000001440000000064412362217677017376 0ustar ripleyusers\alias{gtkTreeViewColumnGetTitle} \name{gtkTreeViewColumnGetTitle} \title{gtkTreeViewColumnGetTitle} \description{Returns the title of the widget.} \usage{gtkTreeViewColumnGetTitle(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[character] the title of the column. This string should not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketShutdown.Rd0000644000176000001440000000250312362217677015445 0ustar ripleyusers\alias{gSocketShutdown} \name{gSocketShutdown} \title{gSocketShutdown} \description{Shut down part of a full-duplex connection.} \usage{gSocketShutdown(object, shutdown.read, shutdown.write, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{shutdown.read}}{whether to shut down the read side} \item{\verb{shutdown.write}}{whether to shut down the write side} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{shutdown.read} is \code{TRUE} then the recieving side of the connection is shut down, and further reading is disallowed. If \code{shutdown.write} is \code{TRUE} then the sending side of the connection is shut down, and further writing is disallowed. It is allowed for both \code{shutdown.read} and \code{shutdown.write} to be \code{TRUE}. One example where this is used is graceful disconnect for TCP connections where you close the sending side, then wait for the other side to close the connection, thus ensuring that the other side saw all sent data. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSetProgramClass.Rd0000644000176000001440000000064012362217677016051 0ustar ripleyusers\alias{gdkSetProgramClass} \name{gdkSetProgramClass} \title{gdkSetProgramClass} \description{Sets the program class. The X11 backend uses the program class to set the class name part of the \code{WM_CLASS} property on toplevel windows; see the ICCCM.} \usage{gdkSetProgramClass(program.class)} \arguments{\item{\verb{program.class}}{a string.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetSelectable.Rd0000644000176000001440000000103512362217677017253 0ustar ripleyusers\alias{gtkCTreeNodeGetSelectable} \name{gtkCTreeNodeGetSelectable} \title{gtkCTreeNodeGetSelectable} \description{ \strong{WARNING: \code{gtk_ctree_node_get_selectable} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetSelectable(object, node)} \arguments{ \item{\verb{object}}{Whether this node can be selected by the user.} \item{\verb{node}}{\emph{undocumented }} } \value{[logical] Whether this node can be selected by the user.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewUnsetModelDragDest.Rd0000644000176000001440000000071012362217677020157 0ustar ripleyusers\alias{gtkIconViewUnsetModelDragDest} \name{gtkIconViewUnsetModelDragDest} \title{gtkIconViewUnsetModelDragDest} \description{Undoes the effect of \code{\link{gtkIconViewEnableModelDragDest}}. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkIconViewUnsetModelDragDest(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Points-Rectangles-and-Regions.Rd0000644000176000001440000001151212362217677020562 0ustar ripleyusers\alias{gdk-Points-Rectangles-and-Regions} \alias{GdkPoint} \alias{GdkRectangle} \alias{GdkRegion} \alias{GdkSpan} \alias{GdkSpanFunc} \alias{GdkFillRule} \alias{GdkOverlapType} \name{gdk-Points-Rectangles-and-Regions} \title{Points, Rectangles and Regions} \description{Simple graphical data types} \section{Methods and Functions}{ \code{\link{gdkRectangleIntersect}(src1, src2)}\cr \code{\link{gdkRectangleUnion}(src1, src2)}\cr \code{\link{gdkRegionNew}()}\cr \code{\link{gdkRegionPolygon}(points, fill.rule)}\cr \code{\link{gdkRegionCopy}(object)}\cr \code{\link{gdkRegionRectangle}(rectangle)}\cr \code{\link{gdkRegionGetClipbox}(object)}\cr \code{\link{gdkRegionGetRectangles}(object)}\cr \code{\link{gdkRegionEmpty}(object)}\cr \code{\link{gdkRegionEqual}(object, region2)}\cr \code{\link{gdkRegionRectEqual}(object, rectangle)}\cr \code{\link{gdkRegionPointIn}(object, x, y)}\cr \code{\link{gdkRegionRectIn}(object, rect)}\cr \code{\link{gdkRegionOffset}(object, dx, dy)}\cr \code{\link{gdkRegionShrink}(object, dx, dy)}\cr \code{\link{gdkRegionUnionWithRect}(object, rect)}\cr \code{\link{gdkRegionIntersect}(object, source2)}\cr \code{\link{gdkRegionUnion}(object, source2)}\cr \code{\link{gdkRegionSubtract}(object, source2)}\cr \code{\link{gdkRegionXor}(object, source2)}\cr \code{\link{gdkRegionSpansIntersectForeach}(object, spans, sorted, fun, data)}\cr } \section{Detailed Description}{GDK provides the \code{\link{GdkPoint}}, \code{\link{GdkRectangle}}, \code{\link{GdkRegion}} and \code{\link{GdkSpan}} data types for representing pixels and sets of pixels on the screen. \code{\link{GdkPoint}} is a simple structure containing an x and y coordinate of a point. \code{\link{GdkRectangle}} is a structure holding the position and size of a rectangle. The intersection of two rectangles can be computed with \code{\link{gdkRectangleIntersect}}. To find the union of two rectangles use \code{\link{gdkRectangleUnion}}. \code{\link{GdkRegion}} is an opaque data type holding a set of arbitrary pixels, and is usually used for clipping graphical operations (see \code{\link{gdkGCSetClipRegion}}). \code{\link{GdkSpan}} is a structure holding a spanline. A spanline is a horizontal line that is one pixel wide. It is mainly used when rasterizing other graphics primitives. It can be intersected to regions by using \code{\link{gdkRegionSpansIntersectForeach}}.} \section{Structures}{\describe{ \item{\verb{GdkPoint}}{ Defines the x and y coordinates of a point. \strong{\verb{GdkPoint} is a \link{transparent-type}.} \describe{ \item{\code{x}}{the x coordinate of the point.} \item{\code{y}}{the y coordinate of the point.} } } \item{\verb{GdkRectangle}}{ Defines the position and size of a rectangle. \strong{\verb{GdkRectangle} is a \link{transparent-type}.} \describe{ \item{\verb{x}}{[integer] the x coordinate of the left edge of the rectangle.} \item{\verb{y}}{[integer] the y coordinate of the top of the rectangle.} \item{\verb{width}}{[integer] the width of the rectangle.} \item{\verb{height}}{[integer] the height of the rectangle.} } } \item{\verb{GdkRegion}}{ A GdkRegion represents a set of pixels on the screen. } \item{\verb{GdkSpan}}{ A GdkSpan represents a horizontal line of pixels starting at the pixel with coordinates \code{x}, \code{y} and ending before \code{x} + \code{width}, \code{y}. \strong{\verb{GdkSpan} is a \link{transparent-type}.} \describe{ \item{\verb{x}}{[integer] x coordinate of the first pixel.} \item{\verb{y}}{[integer] y coordinate of the first pixel.} \item{\verb{width}}{[integer] number of pixels in the span.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{GdkFillRule}}{ The method for determining which pixels are included in a region, when creating a \code{\link{GdkRegion}} from a polygon. The fill rule is only relevant for polygons which overlap themselves. \describe{ \item{\verb{even-odd-rule}}{areas which are overlapped an odd number of times are included in the region, while areas overlapped an even number of times are not.} \item{\verb{winding-rule}}{overlapping areas are always included.} } } \item{\verb{GdkOverlapType}}{ Specifies the possible values returned by \code{\link{gdkRegionRectIn}}. \describe{ \item{\verb{in}}{if the rectangle is inside the \code{\link{GdkRegion}}.} \item{\verb{out}}{if the rectangle is outside the \code{\link{GdkRegion}}.} \item{\verb{part}}{if the rectangle is partly inside the \code{\link{GdkRegion}}.} } } }} \section{User Functions}{\describe{\item{\code{GdkSpanFunc(span, data)}}{ This defines the type of the function passed to \code{\link{gdkRegionSpansIntersectForeach}}. \describe{ \item{\code{span}}{a \code{\link{GdkSpan}}.} \item{\code{data}}{the user data passed to \code{\link{gdkRegionSpansIntersectForeach}}.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Points-Rectangles-and-Regions.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontTextExtents.Rd0000644000176000001440000000266112362217677017577 0ustar ripleyusers\alias{cairoScaledFontTextExtents} \name{cairoScaledFontTextExtents} \title{cairoScaledFontTextExtents} \description{Gets the extents for a string of text. The extents describe a user-space rectangle that encloses the "inked" portion of the text drawn at the origin (0,0) (as it would be drawn by \code{\link{cairoShowText}} if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as \code{scaled.font}). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by \code{\link{cairoShowText}}.} \usage{cairoScaledFontTextExtents(scaled.font, utf8)} \arguments{ \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} \item{\verb{utf8}}{[char] a string of text, encoded in UTF-8} } \details{Note that whitespace characters do not directly contribute to the size of the rectangle (extents.width and extents.height). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the x_advance and y_advance values. Since 1.2} \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoTextExtents}}] a \code{\link{CairoTextExtents}} which to store the retrieved extents.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetGravity.Rd0000644000176000001440000000112012362217677016303 0ustar ripleyusers\alias{gtkWindowSetGravity} \name{gtkWindowSetGravity} \title{gtkWindowSetGravity} \description{Window gravity defines the meaning of coordinates passed to \code{\link{gtkWindowMove}}. See \code{\link{gtkWindowMove}} and \code{\link{GdkGravity}} for more details.} \usage{gtkWindowSetGravity(object, gravity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{gravity}}{window gravity} } \details{The default window gravity is \verb{GDK_GRAVITY_NORTH_WEST} which will typically "do what you mean."} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketIsClosed.Rd0000644000176000001440000000057012362217677015341 0ustar ripleyusers\alias{gSocketIsClosed} \name{gSocketIsClosed} \title{gSocketIsClosed} \description{Checks whether a socket is closed.} \usage{gSocketIsClosed(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if socket is closed, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufRenderToDrawableAlpha.Rd0000644000176000001440000000355412362217677020317 0ustar ripleyusers\alias{gdkPixbufRenderToDrawableAlpha} \name{gdkPixbufRenderToDrawableAlpha} \title{gdkPixbufRenderToDrawableAlpha} \description{ Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-\code{NULL} window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap. \strong{WARNING: \code{gdk_pixbuf_render_to_drawable_alpha} has been deprecated since version 2.4 and should not be used in newly-written code. This function is obsolete. Use \code{\link{gdkDrawPixbuf}} instead.} } \usage{gdkPixbufRenderToDrawableAlpha(object, drawable, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, alpha.mode = NULL, alpha.threshold = NULL, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)} \arguments{ \item{\verb{object}}{A pixbuf.} \item{\verb{drawable}}{Destination drawable.} \item{\verb{src.x}}{Source X coordinate within pixbuf.} \item{\verb{src.y}}{Source Y coordinates within pixbuf.} \item{\verb{dest.x}}{Destination X coordinate within drawable.} \item{\verb{dest.y}}{Destination Y coordinate within drawable.} \item{\verb{width}}{Width of region to render, in pixels, or -1 to use pixbuf width.} \item{\verb{height}}{Height of region to render, in pixels, or -1 to use pixbuf height.} \item{\verb{alpha.mode}}{Ignored. Present for backwards compatibility.} \item{\verb{alpha.threshold}}{Ignored. Present for backwards compatibility} \item{\verb{dither}}{Dithering mode for GdkRGB.} \item{\verb{x.dither}}{X offset for dither.} \item{\verb{y.dither}}{Y offset for dither.} } \details{On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetDisplayNameFinish.Rd0000644000176000001440000000131212362217677017301 0ustar ripleyusers\alias{gFileSetDisplayNameFinish} \name{gFileSetDisplayNameFinish} \title{gFileSetDisplayNameFinish} \description{Finishes setting a display name started with \code{\link{gFileSetDisplayNameAsync}}.} \usage{gFileSetDisplayNameFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFile}}] a \code{\link{GFile}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetIconName.Rd0000644000176000001440000000152612362217677015767 0ustar ripleyusers\alias{gtkDragSetIconName} \name{gtkDragSetIconName} \title{gtkDragSetIconName} \description{Sets the icon for a given drag from a named themed icon. See the docs for \code{\link{GtkIconTheme}} for more details. Note that the size of the icon depends on the icon theme (the icon is loaded at the symbolic size \verb{GTK_ICON_SIZE_DND}), thus \code{hot.x} and \code{hot.y} have to be used with care.} \usage{gtkDragSetIconName(object, icon.name, hot.x, hot.y)} \arguments{ \item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)} \item{\verb{icon.name}}{name of icon to use} \item{\verb{hot.x}}{the X offset of the hotspot within the icon} \item{\verb{hot.y}}{the Y offset of the hotspot within the icon} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardWordStart.Rd0000644000176000001440000000123312362217677020100 0ustar ripleyusers\alias{gtkTextIterBackwardWordStart} \name{gtkTextIterBackwardWordStart} \title{gtkTextIterBackwardWordStart} \description{Moves backward to the previous word start. (If \code{iter} is currently on a word start, moves backward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterBackwardWordStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuDetach.Rd0000644000176000001440000000067312362217677015043 0ustar ripleyusers\alias{gtkMenuDetach} \name{gtkMenuDetach} \title{gtkMenuDetach} \description{Detaches the menu from the widget to which it had been attached. This function will call the callback function, \code{detacher}, provided when the \code{\link{gtkMenuAttachToWidget}} function was called.} \usage{gtkMenuDetach(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetMonitorPlugName.Rd0000644000176000001440000000127512362217677017665 0ustar ripleyusers\alias{gdkScreenGetMonitorPlugName} \name{gdkScreenGetMonitorPlugName} \title{gdkScreenGetMonitorPlugName} \description{Returns the output name of the specified monitor. Usually something like VGA, DVI, or TV, not the actual product name of the display device.} \usage{gdkScreenGetMonitorPlugName(object, monitor.num)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{monitor.num}}{number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)} } \details{Since 2.14} \value{[character] a newly-allocated string containing the name of the monitor, or \code{NULL} if the name cannot be determined} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonGetFocusOnClick.Rd0000644000176000001440000000110412362217677021315 0ustar ripleyusers\alias{gtkFileChooserButtonGetFocusOnClick} \name{gtkFileChooserButtonGetFocusOnClick} \title{gtkFileChooserButtonGetFocusOnClick} \description{Returns whether the button grabs focus when it is clicked with the mouse. See \code{\link{gtkFileChooserButtonSetFocusOnClick}}.} \usage{gtkFileChooserButtonGetFocusOnClick(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooserButton}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the button grabs focus when it is clicked with the mouse.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSelectIter.Rd0000644000176000001440000000062612362217677017555 0ustar ripleyusers\alias{gtkTreeSelectionSelectIter} \name{gtkTreeSelectionSelectIter} \title{gtkTreeSelectionSelectIter} \description{Selects the specified iterator.} \usage{gtkTreeSelectionSelectIter(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}} to be selected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkGetEndIndex.Rd0000644000176000001440000000071712362217677017043 0ustar ripleyusers\alias{atkHyperlinkGetEndIndex} \name{atkHyperlinkGetEndIndex} \title{atkHyperlinkGetEndIndex} \description{Gets the index with the hypertext document at which this link ends.} \usage{atkHyperlinkGetEndIndex(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \value{[integer] the index with the hypertext document at which this link ends} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetJustify.Rd0000644000176000001440000000140112362217677016642 0ustar ripleyusers\alias{pangoLayoutSetJustify} \name{pangoLayoutSetJustify} \title{pangoLayoutSetJustify} \description{Sets whether each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification may be done in more complex ways, like extending the characters.} \usage{pangoLayoutSetJustify(object, justify)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{justify}}{[logical] whether the lines in the layout should be justified.} } \details{Note that this setting is not implemented and so is ignored in Pango older than 1.18. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-context.Rd0000644000176000001440000002216512362217677015077 0ustar ripleyusers\alias{cairo-context} \alias{Cairo} \alias{CairoRectangle} \alias{CairoRectangleList} \alias{cairo} \alias{CairoAntialias} \alias{CairoFillRule} \alias{CairoLineCap} \alias{CairoLineJoin} \alias{CairoOperator} \name{cairo-context} \title{cairo_t} \description{The cairo drawing context} \section{Methods and Functions}{ \code{\link{cairoCreate}(target)}\cr \code{\link{cairoStatus}(cr)}\cr \code{\link{cairoSave}(cr)}\cr \code{\link{cairoRestore}(cr)}\cr \code{\link{cairoGetTarget}(cr)}\cr \code{\link{cairoPushGroup}(cr)}\cr \code{\link{cairoPushGroupWithContent}(cr, content)}\cr \code{\link{cairoPopGroup}(cr)}\cr \code{\link{cairoPopGroupToSource}(cr)}\cr \code{\link{cairoGetGroupTarget}(cr)}\cr \code{\link{cairoSetSourceRgb}(cr, red, green, blue)}\cr \code{\link{cairoSetSourceRgba}(cr, red, green, blue, alpha)}\cr \code{\link{cairoSetSource}(cr, source)}\cr \code{\link{cairoSetSourceSurface}(cr, surface, x, y)}\cr \code{\link{cairoGetSource}(cr)}\cr \code{\link{cairoSetAntialias}(cr, antialias)}\cr \code{\link{cairoGetAntialias}(cr)}\cr \code{\link{cairoSetDash}(cr, dashes, offset)}\cr \code{\link{cairoGetDashCount}(cr)}\cr \code{\link{cairoGetDash}(cr)}\cr \code{\link{cairoSetFillRule}(cr, fill.rule)}\cr \code{\link{cairoGetFillRule}(cr)}\cr \code{\link{cairoSetLineCap}(cr, line.cap)}\cr \code{\link{cairoGetLineCap}(cr)}\cr \code{\link{cairoSetLineJoin}(cr, line.join)}\cr \code{\link{cairoGetLineJoin}(cr)}\cr \code{\link{cairoSetLineWidth}(cr, width)}\cr \code{\link{cairoGetLineWidth}(cr)}\cr \code{\link{cairoSetMiterLimit}(cr, limit)}\cr \code{\link{cairoGetMiterLimit}(cr)}\cr \code{\link{cairoSetOperator}(cr, op)}\cr \code{\link{cairoGetOperator}(cr)}\cr \code{\link{cairoSetTolerance}(cr, tolerance)}\cr \code{\link{cairoGetTolerance}(cr)}\cr \code{\link{cairoClip}(cr)}\cr \code{\link{cairoClipPreserve}(cr)}\cr \code{\link{cairoClipExtents}(cr)}\cr \code{\link{cairoResetClip}(cr)}\cr \code{\link{cairoCopyClipRectangleList}(cr)}\cr \code{\link{cairoFill}(cr)}\cr \code{\link{cairoFillPreserve}(cr)}\cr \code{\link{cairoFillExtents}(cr)}\cr \code{\link{cairoInFill}(cr, x, y)}\cr \code{\link{cairoMask}(cr, pattern)}\cr \code{\link{cairoMaskSurface}(cr, surface, surface.x, surface.y)}\cr \code{\link{cairoPaint}(cr)}\cr \code{\link{cairoPaintWithAlpha}(cr, alpha)}\cr \code{\link{cairoStroke}(cr)}\cr \code{\link{cairoStrokePreserve}(cr)}\cr \code{\link{cairoStrokeExtents}(cr)}\cr \code{\link{cairoInStroke}(cr, x, y)}\cr \code{\link{cairoCopyPage}(cr)}\cr \code{\link{cairoShowPage}(cr)}\cr \code{\link{cairoSetUserData}(cr, key, user.data)}\cr \code{\link{cairoGetUserData}(cr, key)}\cr \code{cairo(target)} } \section{Detailed Description}{\code{\link{Cairo}} is the main object used when drawing with cairo. To draw with cairo, you create a \code{\link{Cairo}}, set the target surface, and drawing options for the \code{\link{Cairo}}, create shapes with functions like \code{\link{cairoMoveTo}} and \code{\link{cairoLineTo}}, and then draw shapes with \code{\link{cairoStroke}} or \code{\link{cairoFill}}. \code{\link{Cairo}}'s can be pushed to a stack via \code{\link{cairoSave}}. They may then safely be changed, without loosing the current state. Use \code{\link{cairoRestore}} to restore to the saved state. } \section{Structures}{\describe{ \item{\verb{Cairo}}{ A \code{\link{Cairo}} contains the current state of the rendering device, including coordinates of yet to be drawn shapes. Cairo contexts, as \code{\link{Cairo}} objects are named, are central to cairo and all drawing with cairo is always done to a \code{\link{Cairo}} object. Memory management of \code{\link{Cairo}} is done with \code{cairoReference()} and \code{cairoDestroy()}. } \item{\verb{CairoRectangle}}{ A data structure for holding a rectangle. Since 1.4 \strong{\verb{CairoRectangle} is a \link{transparent-type}.} \describe{ \item{\verb{x}}{[numeric] X coordinate of the left side of the rectangle} \item{\verb{y}}{[numeric] Y coordinate of the the top side of the rectangle} \item{\verb{width}}{[numeric] width of the rectangle} \item{\verb{height}}{[numeric] height of the rectangle} } } \item{\verb{CairoRectangleList}}{ A data structure for holding a dynamically allocated array of rectangles. Since 1.4 \strong{\verb{CairoRectangleList} is a \link{transparent-type}.} \describe{ \item{\code{status}}{[\code{\link{CairoStatus}}] Error status of the rectangle list} \item{\code{rectangles}}{[\code{\link{CairoRectangle}}] list containing the rectangles} \item{\code{num_rectangles}}{[integer] Number of rectangles in this list} } } }} \section{Convenient Construction}{\code{cairo} is the equivalent of \code{\link{cairoCreate}}.} \section{Enums and Flags}{\describe{ \item{\verb{CairoAntialias}}{ Specifies the type of antialiasing to do when rendering text or shapes. \describe{ \item{\verb{default}}{ Use the default antialiasing for the subsystem and target device} \item{\verb{none}}{ Use a bilevel alpha mask} \item{\verb{gray}}{ Perform single-color antialiasing (using shades of gray for black text on a white background, for example).} \item{\verb{subpixel}}{ Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels} } } \item{\verb{CairoFillRule}}{ \code{\link{CairoFillRule}} is used to select how paths are filled. For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.) The default fill rule is \code{CAIRO_FILL_RULE_WINDING}. New entries may be added in future versions. \describe{ \item{\verb{winding}}{ If the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled.} \item{\verb{even-odd}}{ Counts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled.} } } \item{\verb{CairoLineCap}}{ Specifies how to render the endpoints of the path when stroking. The default line cap style is \code{CAIRO_LINE_CAP_BUTT}. \describe{ \item{\verb{butt}}{ start(stop) the line exactly at the start(end) point} \item{\verb{round}}{ use a round ending, the center of the circle is the end point} \item{\verb{square}}{ use squared ending, the center of the square is the end point} } } \item{\verb{CairoLineJoin}}{ Specifies how to render the junction of two lines when stroking. The default line join style is \code{CAIRO_LINE_JOIN_MITER}. \describe{ \item{\verb{miter}}{ use a sharp (angled) corner, see \code{\link{cairoSetMiterLimit}}} \item{\verb{round}}{ use a rounded join, the center of the circle is the joint point} \item{\verb{bevel}}{ use a cut-off join, the join is cut off at half the line width from the joint point} } } \item{\verb{CairoOperator}}{ \code{\link{CairoOperator}} is used to set the compositing operator for all cairo drawing operations. The default operator is \code{CAIRO_OPERATOR_OVER}. The operators marked as \dfn{unbounded} modify their destination even outside of the mask layer (that is, their effect is not bound by the mask layer). However, their effect can still be limited by way of clipping. To keep things simple, the operator descriptions here document the behavior for when both source and destination are either fully transparent or fully opaque. The actual implementation works for translucent layers too. For a more detailed explanation of the effects of each operator, including the mathematical definitions, see http://cairographics.org/operators/ (\url{http://cairographics.org/operators/}). \describe{ \item{\verb{clear}}{ clear destination layer (bounded)} \item{\verb{source}}{ replace destination layer (bounded)} \item{\verb{over}}{ draw source layer on top of destination layer (bounded)} \item{\verb{in}}{ draw source where there was destination content (unbounded)} \item{\verb{out}}{ draw source where there was no destination content (unbounded)} \item{\verb{atop}}{ draw source on top of destination content and only there} \item{\verb{dest}}{ ignore the source} \item{\verb{dest-over}}{ draw destination on top of source} \item{\verb{dest-in}}{ leave destination only where there was source content (unbounded)} \item{\verb{dest-out}}{ leave destination only where there was no source content} \item{\verb{dest-atop}}{ leave destination on top of source content and only there (unbounded)} \item{\verb{xor}}{ source and destination are shown where there is only one of them} \item{\verb{add}}{ source and destination layers are accumulated} \item{\verb{saturate}}{ like over, but assuming source and dest are disjoint geometries} } } }} \references{\url{http://www.cairographics.org/manual/cairo-context.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetCharCount.Rd0000644000176000001440000000112112362217677017340 0ustar ripleyusers\alias{gtkTextBufferGetCharCount} \name{gtkTextBufferGetCharCount} \title{gtkTextBufferGetCharCount} \description{Gets the number of characters in the buffer; note that characters and bytes are not the same, you can't e.g. expect the contents of the buffer in string form to be this many bytes long. The character count is cached, so this function is very fast.} \usage{gtkTextBufferGetCharCount(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{[integer] number of characters in the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/getters.Rd0000644000176000001440000003042011766145227013764 0ustar ripleyusers\alias{atkKeyEventStructGetKeycode} \alias{atkKeyEventStructGetKeyval} \alias{atkKeyEventStructGetLength} \alias{atkKeyEventStructGetState} \alias{atkKeyEventStructGetString} \alias{atkKeyEventStructGetTimestamp} \alias{cairoFontExtentsGetAscent} \alias{cairoFontExtentsGetDescent} \alias{cairoFontExtentsGetHeight} \alias{cairoFontExtentsGetMaxXAdvance} \alias{cairoFontExtentsGetMaxYAdvance} \alias{cairoMatrixGetX0} \alias{cairoMatrixGetXx} \alias{cairoMatrixGetXy} \alias{cairoMatrixGetY0} \alias{cairoMatrixGetYx} \alias{cairoMatrixGetYy} \alias{cairoTextExtentsGetHeight} \alias{cairoTextExtentsGetWidth} \alias{cairoTextExtentsGetXAdvance} \alias{cairoTextExtentsGetXBearing} \alias{cairoTextExtentsGetYAdvance} \alias{cairoTextExtentsGetYBearing} \alias{gdkDeviceAxisGetMax} \alias{gdkDeviceAxisGetMin} \alias{gdkDeviceAxisGetUse} \alias{gdkDeviceGetAxes} \alias{gdkDeviceGetHasCursor} \alias{gdkDeviceGetKeys} \alias{gdkDeviceGetMode} \alias{gdkDeviceGetName} \alias{gdkDeviceGetNumAxes} \alias{gdkDeviceGetNumKeys} \alias{gdkDeviceGetSource} \alias{gdkDeviceKeyGetKeyval} \alias{gdkDeviceKeyGetModifiers} \alias{gdkDragContextGetAction} \alias{gdkDragContextGetActions} \alias{gdkDragContextGetDestWindow} \alias{gdkDragContextGetIsSource} \alias{gdkDragContextGetProtocol} \alias{gdkDragContextGetSourceWindow} \alias{gdkDragContextGetStartTime} \alias{gdkDragContextGetSuggestedAction} \alias{gdkDragContextGetTargets} \alias{gdkEventAnyGetSendEvent} \alias{gdkEventAnyGetWindow} \alias{gdkEventButtonGetAxes} \alias{gdkEventButtonGetButton} \alias{gdkEventButtonGetDevice} \alias{gdkEventButtonGetState} \alias{gdkEventButtonGetTime} \alias{gdkEventButtonGetX} \alias{gdkEventButtonGetXRoot} \alias{gdkEventButtonGetY} \alias{gdkEventButtonGetYRoot} \alias{gdkEventClientGetMessageType} \alias{gdkEventConfigureGetHeight} \alias{gdkEventConfigureGetWidth} \alias{gdkEventConfigureGetX} \alias{gdkEventConfigureGetY} \alias{gdkEventCrossingGetDetail} \alias{gdkEventCrossingGetFocus} \alias{gdkEventCrossingGetMode} \alias{gdkEventCrossingGetState} \alias{gdkEventCrossingGetTime} \alias{gdkEventCrossingGetX} \alias{gdkEventCrossingGetXRoot} \alias{gdkEventCrossingGetY} \alias{gdkEventCrossingGetYRoot} \alias{gdkEventDNDGetContext} \alias{gdkEventDNDGetTime} \alias{gdkEventDNDGetXRoot} \alias{gdkEventDNDGetYRoot} \alias{gdkEventExposeGetArea} \alias{gdkEventExposeGetCount} \alias{gdkEventExposeGetRegion} \alias{gdkEventFocusGetIn} \alias{gdkEventGrabBrokenGetGrabWindow} \alias{gdkEventGrabBrokenGetImplicit} \alias{gdkEventGrabBrokenGetKeyboard} \alias{gdkEventKeyGetGroup} \alias{gdkEventKeyGetHardwareKeycode} \alias{gdkEventKeyGetKeyval} \alias{gdkEventKeyGetLength} \alias{gdkEventKeyGetState} \alias{gdkEventKeyGetString} \alias{gdkEventKeyGetTime} \alias{gdkEventMotionGetAxes} \alias{gdkEventMotionGetDevice} \alias{gdkEventMotionGetIsHint} \alias{gdkEventMotionGetState} \alias{gdkEventMotionGetTime} \alias{gdkEventMotionGetX} \alias{gdkEventMotionGetXRoot} \alias{gdkEventMotionGetY} \alias{gdkEventMotionGetYRoot} \alias{gdkEventOwnerChangeGetOwner} \alias{gdkEventOwnerChangeGetReason} \alias{gdkEventOwnerChangeGetSelection} \alias{gdkEventOwnerChangeGetSelectionTime} \alias{gdkEventOwnerChangeGetTime} \alias{gdkEventPropertyGetAtom} \alias{gdkEventPropertyGetState} \alias{gdkEventPropertyGetTime} \alias{gdkEventProximityGetDevice} \alias{gdkEventProximityGetTime} \alias{gdkEventScrollGetDevice} \alias{gdkEventScrollGetDirection} \alias{gdkEventScrollGetState} \alias{gdkEventScrollGetTime} \alias{gdkEventScrollGetX} \alias{gdkEventScrollGetXRoot} \alias{gdkEventScrollGetY} \alias{gdkEventScrollGetYRoot} \alias{gdkEventSelectionGetProperty} \alias{gdkEventSelectionGetRequestor} \alias{gdkEventSelectionGetSelection} \alias{gdkEventSelectionGetTarget} \alias{gdkEventSelectionGetTime} \alias{gdkEventSettingGetAction} \alias{gdkEventSettingGetName} \alias{gdkEventVisibilityGetState} \alias{gdkEventWindowStateGetChangedMask} \alias{gdkEventWindowStateGetNewWindowState} \alias{gdkFontGetAscent} \alias{gdkFontGetDescent} \alias{gdkPangoAttrEmbossedGetEmbossed} \alias{gdkPangoAttrStippleGetStipple} \alias{gdkVisualGetBitsPerRgb} \alias{gdkVisualGetBlueMask} \alias{gdkVisualGetBluePrec} \alias{gdkVisualGetBlueShift} \alias{gdkVisualGetByteOrder} \alias{gdkVisualGetColormapSize} \alias{gdkVisualGetDepth} \alias{gdkVisualGetGreenMask} \alias{gdkVisualGetGreenPrec} \alias{gdkVisualGetGreenShift} \alias{gdkVisualGetRedMask} \alias{gdkVisualGetRedPrec} \alias{gdkVisualGetRedShift} \alias{gtkAccelKeyGetAccelFlags} \alias{gtkAccelKeyGetAccelKey} \alias{gtkAccelKeyGetAccelMods} \alias{gtkBoxChildGetExpand} \alias{gtkBoxChildGetFill} \alias{gtkBoxChildGetIsSecondary} \alias{gtkBoxChildGetPack} \alias{gtkBoxChildGetPadding} \alias{gtkBoxChildGetWidget} \alias{gtkCListRowGetBackground} \alias{gtkCListRowGetBgSet} \alias{gtkCListRowGetCell} \alias{gtkCListRowGetData} \alias{gtkCListRowGetDestroy} \alias{gtkCListRowGetFgSet} \alias{gtkCListRowGetForeground} \alias{gtkCListRowGetSelectable} \alias{gtkCListRowGetState} \alias{gtkCListRowGetStyle} \alias{gtkCTreeRowGetChildren} \alias{gtkCTreeRowGetExpanded} \alias{gtkCTreeRowGetIsLeaf} \alias{gtkCTreeRowGetLevel} \alias{gtkCTreeRowGetMaskClosed} \alias{gtkCTreeRowGetMaskOpened} \alias{gtkCTreeRowGetParent} \alias{gtkCTreeRowGetPixmapClosed} \alias{gtkCTreeRowGetPixmapOpened} \alias{gtkCTreeRowGetRow} \alias{gtkCTreeRowGetSibling} \alias{gtkColorSelectionDialogGetCancelButton} \alias{gtkColorSelectionDialogGetColorsel} \alias{gtkColorSelectionDialogGetHelpButton} \alias{gtkColorSelectionDialogGetOkButton} \alias{gtkComboGetEntry} \alias{gtkComboGetList} \alias{gtkContainerGetHasFocusChain} \alias{gtkContainerGetNeedResize} \alias{gtkContainerGetReallocateRedraws} \alias{gtkDialogGetVbox} \alias{gtkFileSelectionGetActionArea} \alias{gtkFileSelectionGetButtonArea} \alias{gtkFileSelectionGetCancelButton} \alias{gtkFileSelectionGetDirList} \alias{gtkFileSelectionGetFileList} \alias{gtkFileSelectionGetFileopCDir} \alias{gtkFileSelectionGetFileopDelFile} \alias{gtkFileSelectionGetFileopDialog} \alias{gtkFileSelectionGetFileopEntry} \alias{gtkFileSelectionGetFileopFile} \alias{gtkFileSelectionGetFileopRenFile} \alias{gtkFileSelectionGetHelpButton} \alias{gtkFileSelectionGetHistoryMenu} \alias{gtkFileSelectionGetHistoryPulldown} \alias{gtkFileSelectionGetMainVbox} \alias{gtkFileSelectionGetOkButton} \alias{gtkFileSelectionGetSelectionEntry} \alias{gtkFileSelectionGetSelectionText} \alias{gtkFixedChildGetWidget} \alias{gtkFixedChildGetX} \alias{gtkFixedChildGetY} \alias{gtkFixedGetChildren} \alias{gtkGammaCurveGetCurve} \alias{gtkGammaCurveGetGamma} \alias{gtkGammaCurveGetGammaDialog} \alias{gtkGammaCurveGetGammaText} \alias{gtkGammaCurveGetTable} \alias{gtkMessageDialogGetLabel} \alias{gtkPreviewInfoGetGamma} \alias{gtkPreviewInfoGetLookup} \alias{gtkRequisitionGetHeight} \alias{gtkRequisitionGetWidth} \alias{gtkStyleGetBase} \alias{gtkStyleGetBaseGc} \alias{gtkStyleGetBg} \alias{gtkStyleGetBgGc} \alias{gtkStyleGetBgPixmap} \alias{gtkStyleGetBlack} \alias{gtkStyleGetBlackGc} \alias{gtkStyleGetDark} \alias{gtkStyleGetDarkGc} \alias{gtkStyleGetFg} \alias{gtkStyleGetFgGc} \alias{gtkStyleGetFontDesc} \alias{gtkStyleGetLight} \alias{gtkStyleGetLightGc} \alias{gtkStyleGetMid} \alias{gtkStyleGetMidGc} \alias{gtkStyleGetText} \alias{gtkStyleGetTextAa} \alias{gtkStyleGetTextAaGc} \alias{gtkStyleGetTextGc} \alias{gtkStyleGetWhite} \alias{gtkStyleGetWhiteGc} \alias{gtkStyleGetXthickness} \alias{gtkStyleGetYthickness} \alias{gtkTableChildGetBottomAttach} \alias{gtkTableChildGetLeftAttach} \alias{gtkTableChildGetRightAttach} \alias{gtkTableChildGetTopAttach} \alias{gtkTableChildGetWidget} \alias{gtkTableChildGetXexpand} \alias{gtkTableChildGetXfill} \alias{gtkTableChildGetXpadding} \alias{gtkTableChildGetXshrink} \alias{gtkTableChildGetYexpand} \alias{gtkTableChildGetYfill} \alias{gtkTableChildGetYpadding} \alias{gtkTableChildGetYshrink} \alias{gtkTableGetChildren} \alias{gtkTableGetCols} \alias{gtkTableGetNcols} \alias{gtkTableGetNrows} \alias{gtkTableGetRows} \alias{gtkTableRowColGetAllocation} \alias{gtkTableRowColGetEmpty} \alias{gtkTableRowColGetExpand} \alias{gtkTableRowColGetNeedExpand} \alias{gtkTableRowColGetNeedShrink} \alias{gtkTableRowColGetRequisition} \alias{gtkTableRowColGetShrink} \alias{gtkTableRowColGetSpacing} \alias{gtkTextAppearanceGetBgColor} \alias{gtkTextAppearanceGetBgStipple} \alias{gtkTextAppearanceGetDrawBg} \alias{gtkTextAppearanceGetFgColor} \alias{gtkTextAppearanceGetFgStipple} \alias{gtkTextAppearanceGetRise} \alias{gtkTextAppearanceGetStrikethrough} \alias{gtkTextAppearanceGetUnderline} \alias{gtkTextAttributesGetAppearance} \alias{gtkTextAttributesGetBgFullHeight} \alias{gtkTextAttributesGetDirection} \alias{gtkTextAttributesGetEditable} \alias{gtkTextAttributesGetFont} \alias{gtkTextAttributesGetFontScale} \alias{gtkTextAttributesGetIndent} \alias{gtkTextAttributesGetInvisible} \alias{gtkTextAttributesGetJustification} \alias{gtkTextAttributesGetLanguage} \alias{gtkTextAttributesGetLeftMargin} \alias{gtkTextAttributesGetPixelsAboveLines} \alias{gtkTextAttributesGetPixelsBelowLines} \alias{gtkTextAttributesGetPixelsInsideWrap} \alias{gtkTextAttributesGetRealized} \alias{gtkTextAttributesGetRightMargin} \alias{gtkTextAttributesGetTabs} \alias{gtkTextAttributesGetWrapMode} \alias{gtkToggleButtonGetDrawIndicator} \alias{gtkWindowGetAllowGrow} \alias{gtkWindowGetAllowShrink} \alias{gtkWindowGetConfigureNotifyReceived} \alias{gtkWindowGetConfigureRequestCount} \alias{gtkWindowGetFocusWidget} \alias{gtkWindowGetFrame} \alias{gtkWindowGetFrameBottom} \alias{gtkWindowGetFrameLeft} \alias{gtkWindowGetFrameRight} \alias{gtkWindowGetFrameTop} \alias{gtkWindowGetHasFocus} \alias{gtkWindowGetHasUserRefCount} \alias{gtkWindowGetIconifyInitially} \alias{gtkWindowGetKeysChangedHandler} \alias{gtkWindowGetMaximizeInitially} \alias{gtkWindowGetNeedDefaultPosition} \alias{gtkWindowGetNeedDefaultSize} \alias{gtkWindowGetStickInitially} \alias{gtkWindowGetTransientParent} \alias{gtkWindowGetWmRole} \alias{gtkWindowGetWmclassClass} \alias{gtkWindowGetWmclassName} \alias{pangoAnalysisGetExtraAttrs} \alias{pangoAnalysisGetFont} \alias{pangoAnalysisGetLanguage} \alias{pangoAnalysisGetLevel} \alias{pangoAttrColorGetColor} \alias{pangoAttrFloatGetValue} \alias{pangoAttrFontDescGetDesc} \alias{pangoAttrIntGetValue} \alias{pangoAttrLanguageGetValue} \alias{pangoAttrShapeGetInkRect} \alias{pangoAttrShapeGetLogicalRect} \alias{pangoAttrSizeGetAbsolute} \alias{pangoAttrSizeGetSize} \alias{pangoAttrStringGetValue} \alias{pangoAttributeGetEndIndex} \alias{pangoAttributeGetKlass} \alias{pangoAttributeGetStartIndex} \alias{pangoColorGetBlue} \alias{pangoColorGetGreen} \alias{pangoColorGetRed} \alias{pangoGlyphGeometryGetWidth} \alias{pangoGlyphGeometryGetXOffset} \alias{pangoGlyphGeometryGetYOffset} \alias{pangoGlyphInfoGetAttr} \alias{pangoGlyphInfoGetGeometry} \alias{pangoGlyphInfoGetGlyph} \alias{pangoGlyphItemGetGlyphs} \alias{pangoGlyphItemGetItem} \alias{pangoGlyphStringGetGlyphs} \alias{pangoGlyphStringGetLogClusters} \alias{pangoGlyphStringGetNumGlyphs} \alias{pangoGlyphVisAttrGetIsClusterStart} \alias{pangoItemGetAnalysis} \alias{pangoItemGetLength} \alias{pangoItemGetNumChars} \alias{pangoItemGetOffset} \alias{pangoLayoutLineGetIsParagraphStart} \alias{pangoLayoutLineGetLayout} \alias{pangoLayoutLineGetLength} \alias{pangoLayoutLineGetResolvedDir} \alias{pangoLayoutLineGetRuns} \alias{pangoLayoutLineGetStartIndex} \alias{pangoLogAttrGetBackspaceDeletesCharacter} \alias{pangoLogAttrGetIsCharBreak} \alias{pangoLogAttrGetIsCursorPosition} \alias{pangoLogAttrGetIsLineBreak} \alias{pangoLogAttrGetIsMandatoryBreak} \alias{pangoLogAttrGetIsSentenceBoundary} \alias{pangoLogAttrGetIsSentenceEnd} \alias{pangoLogAttrGetIsSentenceStart} \alias{pangoLogAttrGetIsWhite} \alias{pangoLogAttrGetIsWordEnd} \alias{pangoLogAttrGetIsWordStart} \alias{gdkImageGetBitsPerPixel} \alias{gdkImageGetBpl} \alias{gdkImageGetBpp} \alias{gdkImageGetByteOrder} \alias{gdkImageGetDepth} \alias{gdkImageGetHeight} \alias{gdkImageGetMem} \alias{gdkImageGetVisual} \alias{gdkImageGetWidth} \alias{gFileAttributeInfoListGetInfos} \alias{gFileAttributeInfoListGetNInfos} \name{getters} \title{Getters} \description{This function gets the \code{Field} from the \code{Structure} in its name, following the format \code{StructureGetField}. You should use the \code{\link{[[.RGtkObject}} function instead of this one.} \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gOutputStreamClose.Rd0000644000176000001440000000406512362217677016130 0ustar ripleyusers\alias{gOutputStreamClose} \name{gOutputStreamClose} \title{gOutputStreamClose} \description{Closes the stream, releasing resources related to it.} \usage{gOutputStreamClose(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GOutputStream}}.} \item{\verb{cancellable}}{optional cancellable object} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Once the stream is closed, all other operations will return \code{G_IO_ERROR_CLOSED}. Closing a stream multiple times will not return an error. Closing a stream will automatically flush any outstanding buffers in the stream. Streams will be automatically closed when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible. Some streams might keep the backing store of the stream (e.g. a file descriptor) open after the stream is closed. See the documentation for the individual stream for details. On failure the first error that happened will be reported, but the close operation will finish as much as possible. A stream that failed to close will still return \code{G_IO_ERROR_CLOSED} for all operations. Still, it is important to check and report the error to the user, otherwise there might be a loss of data as all data might not be written. If \code{cancellable} is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Cancelling a close will still leave the stream closed, but there some streams can use a faster close that doesn't block to e.g. check errors. On cancellation (as with any error) there is no guarantee that all written data will reach the target.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on failure} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRegisterSerializeFormat.Rd0000644000176000001440000000134412362217677021626 0ustar ripleyusers\alias{gtkTextBufferRegisterSerializeFormat} \name{gtkTextBufferRegisterSerializeFormat} \title{gtkTextBufferRegisterSerializeFormat} \description{This function registers a rich text serialization \code{function} along with its \code{mime.type} with the passed \code{buffer}.} \usage{gtkTextBufferRegisterSerializeFormat(object, mime.type, fun, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mime.type}}{the format's mime-type} \item{\verb{user.data}}{\code{function}'s user_data} } \details{Since 2.10} \value{[\code{\link{GdkAtom}}] the \code{\link{GdkAtom}} that corresponds to the newly registered format's mime-type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFixed.Rd0000644000176000001440000000605412362217677014024 0ustar ripleyusers\alias{GtkFixed} \alias{gtkFixed} \name{GtkFixed} \title{GtkFixed} \description{A container which allows you to position widgets at fixed coordinates} \section{Methods and Functions}{ \code{\link{gtkFixedNew}(show = TRUE)}\cr \code{\link{gtkFixedPut}(object, widget, x, y)}\cr \code{\link{gtkFixedMove}(object, widget, x, y)}\cr \code{\link{gtkFixedGetHasWindow}(object)}\cr \code{\link{gtkFixedSetHasWindow}(object, has.window)}\cr \code{gtkFixed(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkFixed}} \section{Interfaces}{GtkFixed implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkFixed}} widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels. \code{\link{GtkFixed}} performs no automatic layout management. For most applications, you should not use this container! It keeps you from having to learn about the other GTK+ containers, but it results in broken applications. With \code{\link{GtkFixed}}, the following things will result in truncated text, overlapping widgets, and other display bugs: \itemize{ \item Themes, which may change widget sizes. \item Fonts other than the one you used to write the app will of course change the size of widgets containing text; keep in mind that users may use a larger font because of difficulty reading the default, or they may be using Windows or the framebuffer port of GTK+, where different fonts are available. \item Translation of text into other languages changes its size. Also, display of non-English text will use a different font in many cases. } In addition, the fixed widget can't properly be mirrored in right-to-left languages such as Hebrew and Arabic. i.e. normally GTK+ will flip the interface to put labels to the right of the thing they label, but it can't do that with \code{\link{GtkFixed}}. So your application will not be usable in right-to-left languages. Finally, fixed positioning makes it kind of annoying to add/remove GUI elements, since you have to reposition all the other elements. This is a long-term maintenance problem for your application. If you know none of these things are an issue for your application, and prefer the simplicity of \code{\link{GtkFixed}}, by all means use the widget. But you should be aware of the tradeoffs.} \section{Structures}{\describe{\item{\verb{GtkFixed}}{ The \code{\link{GtkFixed}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{\verb{list} *children; \tab a list of \code{\link{GtkFixedChild}} elements, containing the child widgets and their positions. \cr} }}} \section{Convenient Construction}{\code{gtkFixed} is the equivalent of \code{\link{gtkFixedNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkFixed.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListUndoSelection.Rd0000644000176000001440000000110712362217677016426 0ustar ripleyusers\alias{gtkListUndoSelection} \name{gtkListUndoSelection} \title{gtkListUndoSelection} \description{ Restores the selection in the last state, only if selection mode is \verb{GTK_SELECTION_EXTENDED}. If this function is called twice, the selection is cleared. This function sometimes gives stranges "last states". \strong{WARNING: \code{gtk_list_undo_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkListUndoSelection(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonConfigure.Rd0000644000176000001440000000130412362217677016765 0ustar ripleyusers\alias{gtkSpinButtonConfigure} \name{gtkSpinButtonConfigure} \title{gtkSpinButtonConfigure} \description{Changes the properties of an existing spin button. The adjustment, climb rate, and number of decimal places are all changed accordingly, after this function call.} \usage{gtkSpinButtonConfigure(object, adjustment = NULL, climb.rate, digits)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}}. \emph{[ \acronym{allow-none} ]}} \item{\verb{climb.rate}}{the new climb rate.} \item{\verb{digits}}{the number of decimal places to display in the spin button.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetComments.Rd0000644000176000001440000000100512362217677017370 0ustar ripleyusers\alias{gtkAboutDialogSetComments} \name{gtkAboutDialogSetComments} \title{gtkAboutDialogSetComments} \description{Sets the comments string to display in the about dialog. This should be a short string of one or two lines.} \usage{gtkAboutDialogSetComments(object, comments = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{comments}}{a comments string. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkUIManager.Rd0000644000176000001440000003237412362217677014601 0ustar ripleyusers\alias{GtkUIManager} \alias{gtkUIManager} \alias{GtkUIManagerItemType} \name{GtkUIManager} \title{GtkUIManager} \description{Constructing menus and toolbars from an XML description} \section{Methods and Functions}{ \code{\link{gtkUIManagerNew}()}\cr \code{\link{gtkUIManagerSetAddTearoffs}(object, add.tearoffs)}\cr \code{\link{gtkUIManagerGetAddTearoffs}(object)}\cr \code{\link{gtkUIManagerInsertActionGroup}(object, action.group, pos)}\cr \code{\link{gtkUIManagerRemoveActionGroup}(object, action.group)}\cr \code{\link{gtkUIManagerGetActionGroups}(object)}\cr \code{\link{gtkUIManagerGetAccelGroup}(object)}\cr \code{\link{gtkUIManagerGetWidget}(object, path)}\cr \code{\link{gtkUIManagerGetToplevels}(object, types)}\cr \code{\link{gtkUIManagerGetAction}(object, path)}\cr \code{\link{gtkUIManagerAddUiFromString}(object, buffer, length = -1, .errwarn = TRUE)}\cr \code{\link{gtkUIManagerNewMergeId}(object)}\cr \code{\link{gtkUIManagerAddUi}(object, merge.id, path, name, action = NULL, type, top)}\cr \code{\link{gtkUIManagerRemoveUi}(object, merge.id)}\cr \code{\link{gtkUIManagerGetUi}(object)}\cr \code{\link{gtkUIManagerEnsureUpdate}(object)}\cr \code{gtkUIManager()} } \section{Hierarchy}{\preformatted{GObject +----GtkUIManager}} \section{Interfaces}{GtkUIManager implements \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkUIManager}} constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups.} \section{UI Definitions}{The UI definitions are specified in an XML format which can be roughly described by the following DTD. Do not confuse the GtkUIManager UI Definitions described here with the similarly named GtkBuilder UI Definitions. \preformatted{ } There are some additional restrictions beyond those specified in the DTD, e.g. every toolitem must have a toolbar in its anchestry and every menuitem must have a menubar or popup in its anchestry. Since a \verb{GMarkup} parser is used to parse the UI description, it must not only be valid XML, but valid \verb{GMarkup}. If a name is not specified, it defaults to the action. If an action is not specified either, the element name is used. The name and action attributes must not contain '/' characters after parsing (since that would mess up path lookup) and must be usable as XML attributes when enclosed in doublequotes, thus they must not '"' characters or references to the " entity. \emph{A UI definition}\preformatted{ } The constructed widget hierarchy is very similar to the element tree of the XML, with the exception that placeholders are merged into their parents. The correspondence of XML elements to widgets should be almost obvious: \describe{ \item{menubar}{a \code{\link{GtkMenuBar}}} \item{toolbar}{a \code{\link{GtkToolbar}}} \item{popup}{a toplevel \code{\link{GtkMenu}}} \item{menu}{a \code{\link{GtkMenu}} attached to a menuitem} \item{menuitem}{a \code{\link{GtkMenuItem}} subclass, the exact type depends on the action} \item{toolitem}{a \code{\link{GtkToolItem}} subclass, the exact type depends on the action. Note that toolitem elements may contain a menu element, but only if their associated action specifies a \code{\link{GtkMenuToolButton}} as proxy.} \item{separator}{a \code{\link{GtkSeparatorMenuItem}} or \code{\link{GtkSeparatorToolItem}}} \item{accelerator}{a keyboard accelerator} } The "position" attribute determines where a constructed widget is positioned wrt. to its siblings in the partially constructed tree. If it is "top", the widget is prepended, otherwise it is appended.} \section{UI Merging}{The most remarkable feature of \code{\link{GtkUIManager}} is that it can overlay a set of menuitems and toolitems over another one, and demerge them later. Merging is done based on the names of the XML elements. Each element is identified by a path which consists of the names of its anchestors, separated by slashes. For example, the menuitem named "Left" in the example above has the path \code{/ui/menubar/JustifyMenu/Left} and the toolitem with the same name has path \code{/ui/toolbar1/JustifyToolItems/Left}.} \section{Accelerators}{Every action has an accelerator path. Accelerators are installed together with menuitem proxies, but they can also be explicitly added with elements in the UI definition. This makes it possible to have accelerators for actions even if they have no visible proxies.} \section{Smart Separators}{The separators created by \code{\link{GtkUIManager}} are "smart", i.e. they do not show up in the UI unless they end up between two visible menu or tool items. Separators which are located at the very beginning or end of the menu or toolbar containing them, or multiple separators next to each other, are hidden. This is a useful feature, since the merging of UI elements from multiple sources can make it hard or impossible to determine in advance whether a separator will end up in such an unfortunate position. For separators in toolbars, you can set \code{expand="true"} to turn them from a small, visible separator to an expanding, invisible one. Toolitems following an expanding separator are effectively right-aligned.} \section{Empty Menus}{Submenus pose similar problems to separators inconnection with merging. It is impossible to know in advance whether they will end up empty after merging. \code{\link{GtkUIManager}} offers two ways to treat empty submenus: \itemize{ \item make them disappear by hiding the menu item they're attached to \item add an insensitive "Empty" item } The behaviour is chosen based on the "hide_if_empty" property of the action to which the submenu is associated.} \section{GtkUIManager as GtkBuildable}{The GtkUIManager implementation of the GtkBuildable interface accepts GtkActionGroup objects as elements in UI definitions. A GtkUIManager UI definition as described above can be embedded in an GtkUIManager element in a GtkBuilder UI definition. The widgets that are constructed by a GtkUIManager can be embedded in other parts of the constructed user interface with the help of the "constructor" attribute. See the example below. \emph{An embedded GtkUIManager UI definition}\preformatted{ _File }} \section{Structures}{\describe{\item{\verb{GtkUIManager}}{ The \code{GtkUIManager} struct contains only private members and should not be accessed directly. }}} \section{Convenient Construction}{\code{gtkUIManager} is the equivalent of \code{\link{gtkUIManagerNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkUIManagerItemType}}{ These enumeration values are used by \code{\link{gtkUIManagerAddUi}} to determine what UI element to create. \describe{ \item{\verb{auto}}{Pick the type of the UI element according to context.} \item{\verb{menubar}}{Create a menubar.} \item{\verb{menu}}{Create a menu.} \item{\verb{toolbar}}{Create a toolbar.} \item{\verb{placeholder}}{Insert a placeholder.} \item{\verb{popup}}{Create a popup menu.} \item{\verb{menuitem}}{Create a menuitem.} \item{\verb{toolitem}}{Create a toolitem.} \item{\verb{separator}}{Create a separator.} \item{\verb{accelerator}}{Install an accelerator.} } }}} \section{Signals}{\describe{ \item{\code{actions-changed(merge, user.data)}}{ The "actions-changed" signal is emitted whenever the set of actions changes. Since 2.4 \describe{ \item{\code{merge}}{a \code{\link{GtkUIManager}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{add-widget(merge, widget, user.data)}}{ The add_widget signal is emitted for each generated menubar and toolbar. It is not emitted for generated popup menus, which can be obtained by \code{\link{gtkUIManagerGetWidget}}. Since 2.4 \describe{ \item{\code{merge}}{a \code{\link{GtkUIManager}}} \item{\code{widget}}{the added widget} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{connect-proxy(uimanager, action, proxy, user.data)}}{ The connect_proxy signal is emitted after connecting a proxy to an action in the group. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. Since 2.4 \describe{ \item{\code{uimanager}}{the ui manager} \item{\code{action}}{the action} \item{\code{proxy}}{the proxy} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{disconnect-proxy(uimanager, action, proxy, user.data)}}{ The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. Since 2.4 \describe{ \item{\code{uimanager}}{the ui manager} \item{\code{action}}{the action} \item{\code{proxy}}{the proxy} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{post-activate(uimanager, action, user.data)}}{ The post_activate signal is emitted just after the \code{action} is activated. This is intended for applications to get notification just after any action is activated. Since 2.4 \describe{ \item{\code{uimanager}}{the ui manager} \item{\code{action}}{the action} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{pre-activate(uimanager, action, user.data)}}{ The pre_activate signal is emitted just before the \code{action} is activated. This is intended for applications to get notification just before any action is activated. Since 2.4 \describe{ \item{\code{uimanager}}{the ui manager} \item{\code{action}}{the action} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{add-tearoffs} [logical : Read / Write]}{ The "add-tearoffs" property controls whether generated menus have tearoff menu items. Note that this only affects regular menus. Generated popup menus never have tearoff menu items. Default value: FALSE Since 2.4 } \item{\verb{ui} [character : * : Read]}{ An XML string describing the merged UI. Default value: "\\n\\n" } }} \references{\url{http://library.gnome.org/devel//gtk/GtkUIManager.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkBuilder}}} \keyword{internal} RGtk2/man/gtkCellRendererToggleGetRadio.Rd0000644000176000001440000000073012362217677020147 0ustar ripleyusers\alias{gtkCellRendererToggleGetRadio} \name{gtkCellRendererToggleGetRadio} \title{gtkCellRendererToggleGetRadio} \description{Returns whether we're rendering radio toggles rather than checkboxes.} \usage{gtkCellRendererToggleGetRadio(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}}} \value{[logical] \code{TRUE} if we're rendering radio toggles rather than checkboxes} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatGetMimeTypes.Rd0000644000176000001440000000056212362217677017706 0ustar ripleyusers\alias{gdkPixbufFormatGetMimeTypes} \name{gdkPixbufFormatGetMimeTypes} \title{gdkPixbufFormatGetMimeTypes} \description{Returns the mime types supported by the format.} \usage{gdkPixbufFormatGetMimeTypes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHideOnDelete.Rd0000644000176000001440000000135012362217677016454 0ustar ripleyusers\alias{gtkWidgetHideOnDelete} \name{gtkWidgetHideOnDelete} \title{gtkWidgetHideOnDelete} \description{Utility function; intended to be connected to the \verb{"delete-event"} signal on a \code{\link{GtkWindow}}. The function calls \code{\link{gtkWidgetHide}} on its argument, then returns \code{TRUE}. If connected to ::delete-event, the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when ::delete-event is received.} \usage{gtkWidgetHideOnDelete(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[logical] \code{TRUE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupNew.Rd0000644000176000001440000000075712362217677015735 0ustar ripleyusers\alias{gtkActionGroupNew} \name{gtkActionGroupNew} \title{gtkActionGroupNew} \description{Creates a new \code{\link{GtkActionGroup}} object. The name of the action group is used when associating keybindings with the actions.} \usage{gtkActionGroupNew(name = NULL)} \arguments{\item{\verb{name}}{the name of the action group.}} \details{Since 2.4} \value{[\code{\link{GtkActionGroup}}] the new \code{\link{GtkActionGroup}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetLabelWidget.Rd0000644000176000001440000000077712362217677017710 0ustar ripleyusers\alias{gtkToolButtonGetLabelWidget} \name{gtkToolButtonGetLabelWidget} \title{gtkToolButtonGetLabelWidget} \description{Returns the widget used as label on \code{button}. See \code{\link{gtkToolButtonSetLabelWidget}}.} \usage{gtkToolButtonGetLabelWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The widget used as label on \code{button}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagEvent.Rd0000644000176000001440000000110212362217677015374 0ustar ripleyusers\alias{gtkTextTagEvent} \name{gtkTextTagEvent} \title{gtkTextTagEvent} \description{Emits the "event" signal on the \code{\link{GtkTextTag}}.} \usage{gtkTextTagEvent(object, event.object, event, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTag}}} \item{\verb{event.object}}{object that received the event, such as a widget} \item{\verb{event}}{the event} \item{\verb{iter}}{location where the event was received} } \value{[logical] result of signal emission (whether the event was handled)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParseString.Rd0000644000176000001440000000045712362217677015554 0ustar ripleyusers\alias{gtkRcParseString} \name{gtkRcParseString} \title{gtkRcParseString} \description{Parses resource information directly from a string.} \usage{gtkRcParseString(rc.string)} \arguments{\item{\verb{rc.string}}{a string to parse.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetHadjustment.Rd0000644000176000001440000000076312362217677017427 0ustar ripleyusers\alias{gtkTreeViewGetHadjustment} \name{gtkTreeViewGetHadjustment} \title{gtkTreeViewGetHadjustment} \description{Gets the \code{\link{GtkAdjustment}} currently being used for the horizontal aspect.} \usage{gtkTreeViewGetHadjustment(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[\code{\link{GtkAdjustment}}] A \code{\link{GtkAdjustment}} object, or \code{NULL} if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetAddTearoffs.Rd0000644000176000001440000000070612362217677017312 0ustar ripleyusers\alias{gtkComboBoxSetAddTearoffs} \name{gtkComboBoxSetAddTearoffs} \title{gtkComboBoxSetAddTearoffs} \description{Sets whether the popup menu should have a tearoff menu item.} \usage{gtkComboBoxSetAddTearoffs(object, add.tearoffs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkComboBox}}} \item{\verb{add.tearoffs}}{\code{TRUE} to add tearoff menu items} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoInStroke.Rd0000644000176000001440000000156412362217677015074 0ustar ripleyusers\alias{cairoInStroke} \name{cairoInStroke} \title{cairoInStroke} \description{Tests whether the given point is inside the area that would be affected by a \code{\link{cairoStroke}} operation given the current path and stroking parameters. Surface dimensions and clipping are not taken into account.} \usage{cairoInStroke(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] X coordinate of the point to test} \item{\verb{y}}{[numeric] Y coordinate of the point to test} } \details{See \code{\link{cairoStroke}}, \code{\link{cairoSetLineWidth}}, \code{\link{cairoSetLineJoin}}, \code{\link{cairoSetLineCap}}, \code{\link{cairoSetDash}}, and \code{\link{cairoStrokePreserve}}. } \value{[logical] A non-zero value if the point is inside, or zero if outside.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuBarSetPackDirection.Rd0000644000176000001440000000066412362217677017473 0ustar ripleyusers\alias{gtkMenuBarSetPackDirection} \name{gtkMenuBarSetPackDirection} \title{gtkMenuBarSetPackDirection} \description{Sets how items should be packed inside a menubar.} \usage{gtkMenuBarSetPackDirection(object, pack.dir)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuBar}}} \item{\verb{pack.dir}}{a new \code{\link{GtkPackDirection}}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetDragDestRow.Rd0000644000176000001440000000102112362217677017326 0ustar ripleyusers\alias{gtkTreeViewSetDragDestRow} \name{gtkTreeViewSetDragDestRow} \title{gtkTreeViewSetDragDestRow} \description{Sets the row that is highlighted for feedback.} \usage{gtkTreeViewSetDragDestRow(object, path, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{The path of the row to highlight, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pos}}{Specifies whether to drop before, after or into the row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIdleAddFull.Rd0000644000176000001440000000157612362217677015142 0ustar ripleyusers\alias{gtkIdleAddFull} \name{gtkIdleAddFull} \title{gtkIdleAddFull} \description{ Like \code{\link{gtkIdleAdd}} this function allows you to have a function called when the event loop is idle. The difference is that you can give a priority different from \code{GTK_PRIORITY_DEFAULT} to the idle function. \strong{WARNING: \code{gtk_idle_add_full} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{gIdleAddFull()} instead.} } \usage{gtkIdleAddFull(priority, fun, data = NULL)} \arguments{ \item{\verb{priority}}{The priority which should not be above \code{G_PRIORITY_HIGH_IDLE}. Note that you will interfere with GTK+ if you use a priority above \code{GTK_PRIORITY_RESIZE}.} \item{\verb{data}}{Data to pass to that function.} } \value{[numeric] A unique id for the event source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererText.Rd0000644000176000001440000002113012362217677016170 0ustar ripleyusers\alias{GtkCellRendererText} \alias{gtkCellRendererText} \name{GtkCellRendererText} \title{GtkCellRendererText} \description{Renders text in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererTextNew}()}\cr \code{\link{gtkCellRendererTextSetFixedHeightFromFont}(object, number.of.rows)}\cr \code{gtkCellRendererText()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererText +----GtkCellRendererAccel +----GtkCellRendererCombo +----GtkCellRendererSpin}} \section{Detailed Description}{A \code{\link{GtkCellRendererText}} renders a given text in its cell, using the font, color and style information provided by its properties. The text will be ellipsized if it is too long and the ellipsize property allows it. If the mode is \code{GTK_CELL_RENDERER_MODE_EDITABLE}, the \code{\link{GtkCellRendererText}} allows to edit its text using an entry.} \section{Structures}{\describe{\item{\verb{GtkCellRendererText}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererText} is the equivalent of \code{\link{gtkCellRendererTextNew}}.} \section{Signals}{\describe{\item{\code{edited(renderer, path, new.text, user.data)}}{ This signal is emitted after \code{renderer} has been edited. It is the responsibility of the application to update the model and store \code{new.text} at the position indicated by \code{path}. \describe{ \item{\code{renderer}}{the object which received the signal} \item{\code{path}}{the path identifying the edited cell} \item{\code{new.text}}{the new text} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{align-set} [logical : Read / Write]}{ Whether this tag affects the alignment mode. Default value: FALSE } \item{\verb{alignment} [\code{\link{PangoAlignment}} : Read / Write]}{ Specifies how to align the lines of text with respect to each other. Note that this property describes how to align the lines of text in case there are several of them. The "xalign" property of \code{\link{GtkCellRenderer}}, on the other hand, sets the horizontal alignment of the whole text. Default value: PANGO_ALIGN_LEFT Since 2.10 } \item{\verb{attributes} [\code{\link{PangoAttrList}} : * : Read / Write]}{ A list of style attributes to apply to the text of the renderer. } \item{\verb{background} [character : * : Write]}{ Background color as a string. Default value: NULL } \item{\verb{background-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Background color as a GdkColor. } \item{\verb{background-set} [logical : Read / Write]}{ Whether this tag affects the background color. Default value: FALSE } \item{\verb{editable} [logical : Read / Write]}{ Whether the text can be modified by the user. Default value: FALSE } \item{\verb{editable-set} [logical : Read / Write]}{ Whether this tag affects text editability. Default value: FALSE } \item{\verb{ellipsize} [\code{\link{PangoEllipsizeMode}} : Read / Write]}{ Specifies the preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string. Setting it to \code{PANGO_ELLIPSIZE_NONE} turns off ellipsizing. See the wrap-width property for another way of making the text fit into a given width. Default value: PANGO_ELLIPSIZE_NONE Since 2.6 } \item{\verb{ellipsize-set} [logical : Read / Write]}{ Whether this tag affects the ellipsize mode. Default value: FALSE } \item{\verb{family} [character : * : Read / Write]}{ Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Default value: NULL } \item{\verb{family-set} [logical : Read / Write]}{ Whether this tag affects the font family. Default value: FALSE } \item{\verb{font} [character : * : Read / Write]}{ Font description as a string, e.g. "Sans Italic 12". Default value: NULL } \item{\verb{font-desc} [\code{\link{PangoFontDescription}} : * : Read / Write]}{ Font description as a PangoFontDescription struct. } \item{\verb{foreground} [character : * : Write]}{ Foreground color as a string. Default value: NULL } \item{\verb{foreground-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Foreground color as a GdkColor. } \item{\verb{foreground-set} [logical : Read / Write]}{ Whether this tag affects the foreground color. Default value: FALSE } \item{\verb{language} [character : * : Read / Write]}{ The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it. Default value: NULL } \item{\verb{language-set} [logical : Read / Write]}{ Whether this tag affects the language the text is rendered as. Default value: FALSE } \item{\verb{markup} [character : * : Write]}{ Marked up text to render. Default value: NULL } \item{\verb{rise} [integer : Read / Write]}{ Offset of text above the baseline (below the baseline if rise is negative). Allowed values: >= -2147483647 Default value: 0 } \item{\verb{rise-set} [logical : Read / Write]}{ Whether this tag affects the rise. Default value: FALSE } \item{\verb{scale} [numeric : Read / Write]}{ Font scaling factor. Allowed values: >= 0 Default value: 1 } \item{\verb{scale-set} [logical : Read / Write]}{ Whether this tag scales the font size by a factor. Default value: FALSE } \item{\verb{single-paragraph-mode} [logical : Read / Write]}{ Whether or not to keep all text in a single paragraph. Default value: FALSE } \item{\verb{size} [integer : Read / Write]}{ Font size. Allowed values: >= 0 Default value: 0 } \item{\verb{size-points} [numeric : Read / Write]}{ Font size in points. Allowed values: >= 0 Default value: 0 } \item{\verb{size-set} [logical : Read / Write]}{ Whether this tag affects the font size. Default value: FALSE } \item{\verb{stretch} [\code{\link{PangoStretch}} : Read / Write]}{ Font stretch. Default value: PANGO_STRETCH_NORMAL } \item{\verb{stretch-set} [logical : Read / Write]}{ Whether this tag affects the font stretch. Default value: FALSE } \item{\verb{strikethrough} [logical : Read / Write]}{ Whether to strike through the text. Default value: FALSE } \item{\verb{strikethrough-set} [logical : Read / Write]}{ Whether this tag affects strikethrough. Default value: FALSE } \item{\verb{style} [\code{\link{PangoStyle}} : Read / Write]}{ Font style. Default value: PANGO_STYLE_NORMAL } \item{\verb{style-set} [logical : Read / Write]}{ Whether this tag affects the font style. Default value: FALSE } \item{\verb{text} [character : * : Read / Write]}{ Text to render. Default value: NULL } \item{\verb{underline} [\code{\link{PangoUnderline}} : Read / Write]}{ Style of underline for this text. Default value: PANGO_UNDERLINE_NONE } \item{\verb{underline-set} [logical : Read / Write]}{ Whether this tag affects underlining. Default value: FALSE } \item{\verb{variant} [\code{\link{PangoVariant}} : Read / Write]}{ Font variant. Default value: PANGO_VARIANT_NORMAL } \item{\verb{variant-set} [logical : Read / Write]}{ Whether this tag affects the font variant. Default value: FALSE } \item{\verb{weight} [integer : Read / Write]}{ Font weight. Allowed values: >= 0 Default value: 400 } \item{\verb{weight-set} [logical : Read / Write]}{ Whether this tag affects the font weight. Default value: FALSE } \item{\verb{width-chars} [integer : Read / Write]}{ The desired width of the cell, in characters. If this property is set to -1, the width will be calculated automatically, otherwise the cell will request either 3 characters or the property value, whichever is greater. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{wrap-mode} [\code{\link{PangoWrapMode}} : Read / Write]}{ Specifies how to break the string into multiple lines, if the cell renderer does not have enough room to display the entire string. This property has no effect unless the wrap-width property is set. Default value: PANGO_WRAP_CHAR Since 2.8 } \item{\verb{wrap-width} [integer : Read / Write]}{ Specifies the width at which the text is wrapped. The wrap-mode property can be used to influence at what character positions the line breaks can be placed. Setting wrap-width to -1 turns wrapping off. Allowed values: >= -1 Default value: -1 Since 2.8 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererText.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketControlMessage.Rd0000644000176000001440000000353112362217677016521 0ustar ripleyusers\alias{GSocketControlMessage} \name{GSocketControlMessage} \title{GSocketControlMessage} \description{A GSocket control message} \section{Methods and Functions}{ \code{\link{gSocketControlMessageDeserialize}(level, type, size, data)}\cr \code{\link{gSocketControlMessageGetLevel}(object)}\cr \code{\link{gSocketControlMessageGetMsgType}(object)}\cr \code{\link{gSocketControlMessageGetSize}(object)}\cr \code{\link{gSocketControlMessageSerialize}(object, data)}\cr } \section{Hierarchy}{\preformatted{GObject +----GSocketControlMessage +----GUnixFDMessage}} \section{Detailed Description}{A \code{\link{GSocketControlMessage}} is a special-purpose utility message that can be sent to or received from a \code{\link{GSocket}}. These types of messages are often called "ancillary data". The message can represent some sort of special instruction to or information from the socket or can represent a special kind of transfer to the peer (for example, sending a file description over a UNIX socket). These messages are sent with \code{\link{gSocketSendMessage}} and received with \code{\link{gSocketReceiveMessage}}. To extend the set of control message that can be sent, subclass this class and override the get_size, get_level, get_type and serialize methods. To extend the set of control messages that can be received, subclass this class and implement the deserialize method. Also, make sure your class is registered with the GType typesystem before calling \code{\link{gSocketReceiveMessage}} to read such a message.} \section{Structures}{\describe{\item{\verb{GSocketControlMessage}}{ Base class for socket-type specific control messages that can be sent and received over \code{\link{GSocket}}. }}} \references{\url{http://library.gnome.org/devel//gio/GSocketControlMessage.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewReset.Rd0000644000176000001440000000061712362217677015450 0ustar ripleyusers\alias{gtkPreviewReset} \name{gtkPreviewReset} \title{gtkPreviewReset} \description{ This function is deprecated and does nothing. It was once used for changing the colormap and visual on the fly. \strong{WARNING: \code{gtk_preview_reset} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewReset()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetLayoutOffsets.Rd0000644000176000001440000000276612362217677017324 0ustar ripleyusers\alias{gtkEntryGetLayoutOffsets} \name{gtkEntryGetLayoutOffsets} \title{gtkEntryGetLayoutOffsets} \description{Obtains the position of the \code{\link{PangoLayout}} used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget.} \usage{gtkEntryGetLayoutOffsets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Also useful to convert mouse events into coordinates inside the \code{\link{PangoLayout}}, e.g. to take some action if some part of the entry text is clicked. Note that as the user scrolls around in the entry the offsets will change; you'll need to connect to the "notify::scroll-offset" signal to track this. Remember when using the \code{\link{PangoLayout}} functions you need to convert to and from pixels using \code{pangoPixels()} or \verb{PANGO_SCALE}. Keep in mind that the layout text may contain a preedit string, so \code{\link{gtkEntryLayoutIndexToTextIndex}} and \code{\link{gtkEntryTextIndexToLayoutIndex}} are needed to convert byte indices in the layout to byte indices in the entry contents.} \value{ A list containing the following elements: \item{\verb{x}}{location to store X offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y}}{location to store Y offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonSetUriHook.Rd0000644000176000001440000000154012362217677017066 0ustar ripleyusers\alias{gtkLinkButtonSetUriHook} \name{gtkLinkButtonSetUriHook} \title{gtkLinkButtonSetUriHook} \description{Sets \code{func} as the function that should be invoked every time a user clicks a \code{\link{GtkLinkButton}}. This function is called before every callback registered for the "clicked" signal.} \usage{gtkLinkButtonSetUriHook(func, data)} \arguments{ \item{\verb{func}}{a function called each time a \code{\link{GtkLinkButton}} is clicked, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{user data to be passed to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If no uri hook has been set, GTK+ defaults to calling \code{\link{gtkShowUri}}. Since 2.10} \value{[\code{\link{GtkLinkButtonUriFunc}}] the previously set hook function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetColumnDescription.Rd0000644000176000001440000000126312362217677020101 0ustar ripleyusers\alias{atkTableSetColumnDescription} \name{atkTableSetColumnDescription} \title{atkTableSetColumnDescription} \description{Sets the description text for the specified \code{column} of the \code{table}.} \usage{atkTableSetColumnDescription(object, column, description)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} \item{\verb{description}}{[character] a \verb{character} representing the description text to set for the specified \code{column} of the \code{table}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioActionGetCurrentValue.Rd0000644000176000001440000000076212362217677020221 0ustar ripleyusers\alias{gtkRadioActionGetCurrentValue} \name{gtkRadioActionGetCurrentValue} \title{gtkRadioActionGetCurrentValue} \description{Obtains the value property of the currently active member of the group to which \code{action} belongs.} \usage{gtkRadioActionGetCurrentValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRadioAction}}}} \details{Since 2.4} \value{[integer] The value of the currently active group member} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewScrollToPath.Rd0000644000176000001440000000275112362217677017047 0ustar ripleyusers\alias{gtkIconViewScrollToPath} \name{gtkIconViewScrollToPath} \title{gtkIconViewScrollToPath} \description{Moves the alignments of \code{icon.view} to the position specified by \code{path}. \code{row.align} determines where the row is placed, and \code{col.align} determines where \code{column} is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center.} \usage{gtkIconViewScrollToPath(object, path, use.align, row.align, col.align)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{path}}{The path of the item to move to.} \item{\verb{use.align}}{whether to use alignment arguments, or \code{FALSE}.} \item{\verb{row.align}}{The vertical alignment of the item specified by \code{path}.} \item{\verb{col.align}}{The horizontal alignment of the item specified by \code{path}.} } \details{If \code{use.align} is \code{FALSE}, then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the item onto the screen. This means that the item will be scrolled to the edge closest to its current position. If the item is currently visible on the screen, nothing is done. This function only works if the model is set, and \code{path} is a valid row on the model. If the model changes before the \code{icon.view} is realized, the centered path will be modified to reflect this change. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionGetSelectionCount.Rd0000644000176000001440000000144412362217677020261 0ustar ripleyusers\alias{atkSelectionGetSelectionCount} \name{atkSelectionGetSelectionCount} \title{atkSelectionGetSelectionCount} \description{Gets the number of accessible children currently selected. Note: callers should not rely on \code{NULL} or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking functions or the \code{atkGetAccessibleValue()} convenience method.} \usage{atkSelectionGetSelectionCount(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface}} \value{[integer] a gint representing the number of items selected, or 0 if \code{selection} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalToUnicode.Rd0000644000176000001440000000066012362217677016047 0ustar ripleyusers\alias{gdkKeyvalToUnicode} \name{gdkKeyvalToUnicode} \title{gdkKeyvalToUnicode} \description{Convert from a GDK key symbol to the corresponding ISO10646 (Unicode) character.} \usage{gdkKeyvalToUnicode(keyval)} \arguments{\item{\verb{keyval}}{a GDK key symbol}} \value{[numeric] the corresponding unicode character, or 0 if there is no corresponding character.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetShowTips.Rd0000644000176000001440000000102012362217677017715 0ustar ripleyusers\alias{gtkRecentChooserGetShowTips} \name{gtkRecentChooserGetShowTips} \title{gtkRecentChooserGetShowTips} \description{Gets whether \code{chooser} should display tooltips containing the full path of a recently user resource.} \usage{gtkRecentChooserGetShowTips(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the recent chooser should show tooltips, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetImage.Rd0000644000176000001440000000107112362217677015675 0ustar ripleyusers\alias{gtkButtonGetImage} \name{gtkButtonGetImage} \title{gtkButtonGetImage} \description{Gets the widget that is currenty set as the image of \code{button}. This may have been explicitly set by \code{\link{gtkButtonSetImage}} or constructed by \code{\link{gtkButtonNewFromStock}}.} \usage{gtkButtonGetImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkWidget}} or \code{NULL} in case there is no image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetNPages.Rd0000644000176000001440000000141412362217677017547 0ustar ripleyusers\alias{gtkPrintOperationSetNPages} \name{gtkPrintOperationSetNPages} \title{gtkPrintOperationSetNPages} \description{Sets the number of pages in the document. } \usage{gtkPrintOperationSetNPages(object, n.pages)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{n.pages}}{the number of pages} } \details{This \emph{must} be set to a positive number before the rendering starts. It may be set in a \verb{"begin-print"} signal hander. Note that the page numbers passed to the \verb{"request-page-setup"} and \verb{"draw-page"} signals are 0-based, i.e. if the user chooses to print all pages, the last ::draw-page signal will be for page \code{n.pages} - 1. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleSetBackground.Rd0000644000176000001440000000075512362217677016603 0ustar ripleyusers\alias{gtkStyleSetBackground} \name{gtkStyleSetBackground} \title{gtkStyleSetBackground} \description{Sets the background of \code{window} to the background color or pixmap specified by \code{style} for the given state.} \usage{gtkStyleSetBackground(object, window, state.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageClear.Rd0000644000176000001440000000044112362217677015010 0ustar ripleyusers\alias{gtkImageClear} \name{gtkImageClear} \title{gtkImageClear} \description{Resets the image to be empty.} \usage{gtkImageClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetUsePreviewLabel.Rd0000644000176000001440000000111712362217677020641 0ustar ripleyusers\alias{gtkFileChooserGetUsePreviewLabel} \name{gtkFileChooserGetUsePreviewLabel} \title{gtkFileChooserGetUsePreviewLabel} \description{Gets whether a stock label should be drawn with the name of the previewed file. See \code{\link{gtkFileChooserSetUsePreviewLabel}}.} \usage{gtkFileChooserGetUsePreviewLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \value{[logical] \code{TRUE} if the file chooser is set to display a label with the name of the previewed file, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetDefaultSource.Rd0000644000176000001440000000067312362217677020771 0ustar ripleyusers\alias{gtkPrintSettingsGetDefaultSource} \name{gtkPrintSettingsGetDefaultSource} \title{gtkPrintSettingsGetDefaultSource} \description{Gets the value of \code{GTK_PRINT_SETTINGS_DEFAULT_SOURCE}.} \usage{gtkPrintSettingsGetDefaultSource(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[character] the default source} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIconNew.Rd0000644000176000001440000000055412362217677014627 0ustar ripleyusers\alias{gFileIconNew} \name{gFileIconNew} \title{gFileIconNew} \description{Creates a new icon for a file.} \usage{gFileIconNew(file)} \arguments{\item{\verb{file}}{a \code{\link{GFile}}.}} \value{[\code{\link{GIcon}}] a \code{\link{GIcon}} for the given \code{file}, or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupNew.Rd0000644000176000001440000000046412362217677015522 0ustar ripleyusers\alias{gtkAccelGroupNew} \name{gtkAccelGroupNew} \title{gtkAccelGroupNew} \description{Creates a new \code{\link{GtkAccelGroup}}.} \usage{gtkAccelGroupNew()} \value{[\code{\link{GtkAccelGroup}}] a new \code{\link{GtkAccelGroup}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetIntWithDefault.Rd0000644000176000001440000000105212362217677021107 0ustar ripleyusers\alias{gtkPrintSettingsGetIntWithDefault} \name{gtkPrintSettingsGetIntWithDefault} \title{gtkPrintSettingsGetIntWithDefault} \description{Returns the value of \code{key}, interpreted as an integer, or the default value.} \usage{gtkPrintSettingsGetIntWithDefault(object, key, def)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{def}}{the default value} } \details{Since 2.10} \value{[integer] the integer value of \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetCanDefault.Rd0000644000176000001440000000075412362217677016640 0ustar ripleyusers\alias{gtkWidgetGetCanDefault} \name{gtkWidgetGetCanDefault} \title{gtkWidgetGetCanDefault} \description{Determines whether \code{widget} can be a default widget. See \code{\link{gtkWidgetSetCanDefault}}.} \usage{gtkWidgetGetCanDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} can be a default widget, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Colormaps-and-Colors.Rd0000644000176000001440000000663412362217677017024 0ustar ripleyusers\alias{gdk-Colormaps-and-Colors} \alias{GdkColor} \alias{GdkColormap} \alias{gdkColormap} \name{gdk-Colormaps-and-Colors} \title{Colormaps and Colors} \description{Manipulation of colors and colormaps} \section{Methods and Functions}{ \code{\link{gdkColormapNew}(visual, allocate)}\cr \code{\link{gdkColormapGetSystem}()}\cr \code{\link{gdkColormapGetSystemSize}()}\cr \code{\link{gdkColormapAllocColors}(colormap, colors, writeable, best.match)}\cr \code{\link{gdkColormapAllocColor}(object, color, writeable, best.match)}\cr \code{\link{gdkColormapFreeColors}(object, colors)}\cr \code{\link{gdkColormapQueryColor}(object, pixel)}\cr \code{\link{gdkColormapGetVisual}(object)}\cr \code{\link{gdkColormapGetScreen}(object)}\cr \code{\link{gdkColorsStore}(object, colors)}\cr \code{\link{gdkColorWhite}(object)}\cr \code{\link{gdkColorBlack}(object)}\cr \code{\link{gdkColorParse}(spec)}\cr \code{\link{gdkColorAlloc}(object, color)}\cr \code{\link{gdkColorChange}(object, color)}\cr \code{\link{gdkColorToString}(object)}\cr \code{gdkColormap(visual, allocate)} } \section{Detailed Description}{These functions are used to modify colormaps. A colormap is an object that contains the mapping between the color values stored in memory and the RGB values that are used to display color values. In general, colormaps only contain significant information for pseudo-color visuals, but even for other visual types, a colormap object is required in some circumstances. There are a couple of special colormaps that can be retrieved. The system colormap (retrieved with \code{\link{gdkColormapGetSystem}}) is the default colormap of the system. If you are using GdkRGB, there is another colormap that is important - the colormap in which GdkRGB works, retrieved with \code{\link{gdkRgbGetColormap}}. However, when using GdkRGB, it is not generally necessary to allocate colors directly. In previous revisions of this interface, a number of functions that take a \code{\link{GdkColormap}} parameter were replaced with functions whose names began with "gdk_colormap_". This process will probably be extended somewhat in the future - \code{\link{gdkColorWhite}}, \code{\link{gdkColorBlack}}, and \code{\link{gdkColorChange}} will probably become aliases.} \section{Structures}{\describe{ \item{\verb{GdkColor}}{ The \code{\link{GdkColor}} structure is used to describe an allocated or unallocated color. \strong{\verb{GdkColor} is a \link{transparent-type}.} \describe{ \item{\verb{pixel}}{[numeric] For allocated colors, the value used to draw this color on the screen.} \item{\verb{red}}{[integer] The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensitiy.} \item{\verb{green}}{[integer] The blue component of the color.} \item{\verb{blue}}{[integer] The green component of the color.} } } \item{\verb{GdkColormap}}{ The colormap structure contains the following public fields. \describe{ \item{\code{size}}{For pseudo-color colormaps, the number of colors in the colormap.} \item{\code{colors}}{An list containing the current values in the colormap. This can be used to map from pixel values back to RGB values. This is only meaningful for pseudo-color colormaps.} } } }} \section{Convenient Construction}{\code{gdkColormap} is the equivalent of \code{\link{gdkColormapNew}}.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Colormaps-and-Colors.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardCursorPositions.Rd0000644000176000001440000000107112362217677021222 0ustar ripleyusers\alias{gtkTextIterForwardCursorPositions} \name{gtkTextIterForwardCursorPositions} \title{gtkTextIterForwardCursorPositions} \description{Moves up to \code{count} cursor positions. See \code{\link{gtkTextIterForwardCursorPosition}} for details.} \usage{gtkTextIterForwardCursorPositions(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of positions to move} } \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeByteString.Rd0000644000176000001440000000261712362217677017721 0ustar ripleyusers\alias{gFileSetAttributeByteString} \name{gFileSetAttributeByteString} \title{gFileSetAttributeByteString} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_BYTE_STRING} to \code{value}. If \code{attribute} is of a different type, this operation will fail, returning \code{FALSE}. } \usage{gFileSetAttributeByteString(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a string containing the attribute's new value.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set to \code{value} in the \code{file}, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsCursorAlpha.Rd0000644000176000001440000000102212362217677020324 0ustar ripleyusers\alias{gdkDisplaySupportsCursorAlpha} \name{gdkDisplaySupportsCursorAlpha} \title{gdkDisplaySupportsCursorAlpha} \description{Returns \code{TRUE} if cursors can use an 8bit alpha channel on \code{display}. Otherwise, cursors are restricted to bilevel alpha (i.e. a mask).} \usage{gdkDisplaySupportsCursorAlpha(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.4} \value{[logical] whether cursors can have alpha channels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoClearStatus.Rd0000644000176000001440000000047512362217677016335 0ustar ripleyusers\alias{gFileInfoClearStatus} \name{gFileInfoClearStatus} \title{gFileInfoClearStatus} \description{Clears the status information from \code{info}.} \usage{gFileInfoClearStatus(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetReverse.Rd0000644000176000001440000000066512362217677017654 0ustar ripleyusers\alias{gtkPrintSettingsSetReverse} \name{gtkPrintSettingsSetReverse} \title{gtkPrintSettingsSetReverse} \description{Sets the value of \code{GTK_PRINT_SETTINGS_REVERSE}.} \usage{gtkPrintSettingsSetReverse(object, reverse)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{reverse}}{whether to reverse the output} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoItemize.Rd0000644000176000001440000000304312362217677014745 0ustar ripleyusers\alias{pangoItemize} \name{pangoItemize} \title{pangoItemize} \description{Breaks a piece of text into segments with consistent directional level and shaping engine. Each byte of \code{text} will be contained in exactly one of the items in the returned list; the generated list of items will be in logical order (the start offsets of the items are ascending).} \usage{pangoItemize(context, text, start.index, length, attrs, cached.iter = NULL)} \arguments{ \item{\verb{context}}{[\code{\link{PangoContext}}] a structure holding information that affects the itemization process.} \item{\verb{text}}{[char] the text to itemize.} \item{\verb{start.index}}{[integer] first byte in \code{text} to process} \item{\verb{length}}{[integer] the number of bytes (not characters) to process after \code{start.index}. This must be >= 0.} \item{\verb{attrs}}{[\code{\link{PangoAttrList}}] the set of attributes that apply to \code{text}.} \item{\verb{cached.iter}}{[\code{\link{PangoAttrIterator}}] Cached attribute iterator, or \code{NULL}} } \details{\code{cached.iter} should be an iterator over \code{attrs} currently positioned at a range before or containing \code{start.index}; \code{cached.iter} will be advanced to the range covering the position just after \code{start.index} + \code{length}. (i.e. if itemizing in a loop, just keep passing in the same \code{cached.iter}). } \value{[list] a \verb{list} of \code{\link{PangoItem}} structures.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitIsUrisAvailable.Rd0000644000176000001440000000152012362217677020502 0ustar ripleyusers\alias{gtkClipboardWaitIsUrisAvailable} \name{gtkClipboardWaitIsUrisAvailable} \title{gtkClipboardWaitIsUrisAvailable} \description{Test to see if there is a list of URIs available to be pasted This is done by requesting the TARGETS atom and checking if it contains the URI targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitIsUrisAvailable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{This function is a little faster than calling \code{\link{gtkClipboardWaitForUris}} since it doesn't need to retrieve the actual URI data. Since 2.14} \value{[logical] \code{TRUE} is there is an URI list available, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetCaption.Rd0000644000176000001440000000075312362217677016024 0ustar ripleyusers\alias{atkTableGetCaption} \name{atkTableGetCaption} \title{atkTableGetCaption} \description{Gets the caption for the \code{table}.} \usage{atkTableGetCaption(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableInterface}} \value{[\code{\link{AtkObject}}] a AtkObject* representing the table caption, or \code{NULL} if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxSetLayout.Rd0000644000176000001440000000061712362217677016622 0ustar ripleyusers\alias{gtkButtonBoxSetLayout} \name{gtkButtonBoxSetLayout} \title{gtkButtonBoxSetLayout} \description{Changes the way buttons are arranged in their container.} \usage{gtkButtonBoxSetLayout(object, layout.style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButtonBox}}.} \item{\verb{layout.style}}{the new layout style.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Windows.Rd0000644000176000001440000007467412362217677014531 0ustar ripleyusers\alias{gdk-Windows} \alias{GdkWindow} \alias{GdkGeometry} \alias{GdkWindowAttr} \alias{GdkFilterReturn} \alias{gdkWindow} \alias{GdkFilterFunc} \alias{GdkWindowType} \alias{GdkWindowClass} \alias{GdkWindowHints} \alias{GdkGravity} \alias{GdkWindowEdge} \alias{GdkWindowTypeHint} \alias{GdkWindowAttributesType} \alias{GdkModifierType} \alias{GdkWMDecoration} \alias{GdkWMFunction} \name{gdk-Windows} \title{Windows} \description{Onscreen display areas in the target window system} \section{Methods and Functions}{ \code{\link{gdkWindowNew}(parent = NULL, attributes)}\cr \code{\link{gdkWindowDestroy}(object)}\cr \code{\link{gdkWindowGetWindowType}(object)}\cr \code{\link{gdkWindowAtPointer}()}\cr \code{\link{gdkWindowShow}(object)}\cr \code{\link{gdkWindowShowUnraised}(object)}\cr \code{\link{gdkWindowHide}(object)}\cr \code{\link{gdkWindowIsDestroyed}(object)}\cr \code{\link{gdkWindowIsVisible}(object)}\cr \code{\link{gdkWindowIsViewable}(object)}\cr \code{\link{gdkWindowGetState}(object)}\cr \code{\link{gdkWindowWithdraw}(object)}\cr \code{\link{gdkWindowIconify}(object)}\cr \code{\link{gdkWindowDeiconify}(object)}\cr \code{\link{gdkWindowStick}(object)}\cr \code{\link{gdkWindowUnstick}(object)}\cr \code{\link{gdkWindowMaximize}(object)}\cr \code{\link{gdkWindowUnmaximize}(object)}\cr \code{\link{gdkWindowFullscreen}(object)}\cr \code{\link{gdkWindowUnfullscreen}(object)}\cr \code{\link{gdkWindowSetKeepAbove}(object, setting)}\cr \code{\link{gdkWindowSetKeepBelow}(object, setting)}\cr \code{\link{gdkWindowSetOpacity}(object, opacity)}\cr \code{\link{gdkWindowSetComposited}(object, composited)}\cr \code{\link{gdkWindowMove}(object, x, y)}\cr \code{\link{gdkWindowResize}(object, width, height)}\cr \code{\link{gdkWindowMoveResize}(object, x, y, width, height)}\cr \code{\link{gdkWindowScroll}(object, dx, dy)}\cr \code{\link{gdkWindowMoveRegion}(object, region, x, y)}\cr \code{\link{gdkWindowFlush}(object)}\cr \code{\link{gdkWindowEnsureNative}(object)}\cr \code{\link{gdkWindowReparent}(object, new.parent, x, y)}\cr \code{\link{gdkWindowClear}(object)}\cr \code{\link{gdkWindowClearArea}(object, x, y, width, height)}\cr \code{\link{gdkWindowClearAreaE}(object, x, y, width, height)}\cr \code{\link{gdkWindowRaise}(object)}\cr \code{\link{gdkWindowLower}(object)}\cr \code{\link{gdkWindowRestack}(object, sibling, above)}\cr \code{\link{gdkWindowFocus}(object, timestamp = "GDK_CURRENT_TIME")}\cr \code{\link{gdkWindowRegisterDnd}(object)}\cr \code{\link{gdkWindowBeginResizeDrag}(object, edge, button, root.x, root.y, timestamp)}\cr \code{\link{gdkWindowBeginMoveDrag}(object, button, root.x, root.y, timestamp)}\cr \code{\link{gdkWindowConstrainSize}(geometry, width, height)}\cr \code{\link{gdkWindowBeep}(object)}\cr \code{\link{gdkWindowBeginPaintRect}(object, rectangle)}\cr \code{\link{gdkWindowBeginPaintRegion}(object, region)}\cr \code{\link{gdkWindowEndPaint}(object)}\cr \code{\link{gdkWindowInvalidateRect}(object, rect = NULL, invalidate.children)}\cr \code{\link{gdkWindowInvalidateRegion}(object, region, invalidate.children)}\cr \code{\link{gdkWindowInvalidateMaybeRecurse}(object, region, child.func, user.data)}\cr \code{\link{gdkWindowGetUpdateArea}(object)}\cr \code{\link{gdkWindowFreezeUpdates}(object)}\cr \code{\link{gdkWindowThawUpdates}(object)}\cr \code{\link{gdkWindowProcessAllUpdates}()}\cr \code{\link{gdkWindowProcessUpdates}(object, update.children)}\cr \code{\link{gdkWindowSetDebugUpdates}(setting)}\cr \code{\link{gdkWindowGetInternalPaintInfo}(object)}\cr \code{\link{gdkWindowEnableSynchronizedConfigure}(object)}\cr \code{\link{gdkWindowConfigureFinished}(object)}\cr \code{\link{gdkWindowSetUserData}(object, user.data = NULL)}\cr \code{\link{gdkWindowSetOverrideRedirect}(object, override.redirect)}\cr \code{\link{gdkWindowSetAcceptFocus}(object, accept.focus)}\cr \code{\link{gdkWindowSetFocusOnMap}(object, focus.on.map)}\cr \code{\link{gdkWindowAddFilter}(object, fun, data)}\cr \code{\link{gdkWindowRemoveFilter}(object, fun, data)}\cr \code{\link{gdkWindowShapeCombineMask}(object, shape.mask = NULL, offset.x, offset.y)}\cr \code{\link{gdkWindowShapeCombineRegion}(object, shape.region = NULL, offset.x, offset.y)}\cr \code{\link{gdkWindowSetChildShapes}(object)}\cr \code{\link{gdkWindowMergeChildShapes}(object)}\cr \code{\link{gdkWindowInputShapeCombineMask}(object, mask, x, y)}\cr \code{\link{gdkWindowInputShapeCombineRegion}(object, shape.region, offset.x, offset.y)}\cr \code{\link{gdkWindowSetChildInputShapes}(object)}\cr \code{\link{gdkWindowMergeChildInputShapes}(object)}\cr \code{\link{gdkWindowSetStaticGravities}(object, use.static)}\cr \code{\link{gdkWindowSetHints}(object, x, y, min.width, min.height, max.width, max.height, flags)}\cr \code{\link{gdkWindowSetTitle}(object, title)}\cr \code{\link{gdkWindowSetBackground}(object, color)}\cr \code{\link{gdkWindowSetBackPixmap}(object, pixmap = NULL, parent.relative)}\cr \code{\link{gdkWindowSetCursor}(object, cursor = NULL)}\cr \code{\link{gdkWindowGetCursor}(object)}\cr \code{\link{gdkWindowGetUserData}(object)}\cr \code{\link{gdkWindowGetGeometry}(object)}\cr \code{\link{gdkWindowSetGeometryHints}(object, geometry)}\cr \code{\link{gdkWindowSetIconList}(object, pixbufs)}\cr \code{\link{gdkWindowSetModalHint}(object, modal)}\cr \code{\link{gdkWindowSetTypeHint}(object, hint)}\cr \code{\link{gdkWindowGetTypeHint}(object)}\cr \code{\link{gdkWindowSetSkipTaskbarHint}(object, modal)}\cr \code{\link{gdkWindowSetSkipPagerHint}(object, modal)}\cr \code{\link{gdkWindowSetUrgencyHint}(object, urgent)}\cr \code{\link{gdkWindowGetPosition}(object)}\cr \code{\link{gdkWindowGetRootOrigin}(object)}\cr \code{\link{gdkWindowGetFrameExtents}(object)}\cr \code{\link{gdkWindowGetOrigin}(object)}\cr \code{\link{gdkWindowGetDeskrelativeOrigin}(object)}\cr \code{\link{gdkWindowGetRootCoords}(object, x, y)}\cr \code{\link{gdkWindowGetPointer}(object)}\cr \code{\link{gdkWindowGetParent}(object)}\cr \code{\link{gdkWindowGetToplevel}(object)}\cr \code{\link{gdkWindowGetChildren}(object)}\cr \code{\link{gdkWindowPeekChildren}(object)}\cr \code{\link{gdkWindowGetEvents}(object)}\cr \code{\link{gdkWindowSetEvents}(object, event.mask)}\cr \code{\link{gdkWindowSetIcon}(object, icon.window, pixmap, mask)}\cr \code{\link{gdkWindowSetIconName}(object, name)}\cr \code{\link{gdkWindowSetTransientFor}(object, leader)}\cr \code{\link{gdkWindowSetRole}(object, role)}\cr \code{\link{gdkWindowSetStartupId}(object, startup.id)}\cr \code{\link{gdkWindowSetGroup}(object, leader)}\cr \code{\link{gdkWindowGetGroup}(object)}\cr \code{\link{gdkWindowSetDecorations}(object, decorations)}\cr \code{\link{gdkWindowGetDecorations}(object)}\cr \code{\link{gdkWindowSetFunctions}(object, functions)}\cr \code{\link{gdkWindowGetToplevels}()}\cr \code{\link{gdkGetDefaultRootWindow}()}\cr \code{\link{gdkSetPointerHooks}(object, new.hooks)}\cr \code{\link{gdkOffscreenWindowGetPixmap}(window)}\cr \code{\link{gdkOffscreenWindowSetEmbedder}(window, embedder)}\cr \code{\link{gdkOffscreenWindowGetEmbedder}(window)}\cr \code{\link{gdkWindowGeometryChanged}(object)}\cr \code{\link{gdkWindowRedirectToDrawable}(object, drawable, src.x, src.y, dest.x, dest.y, width, height)}\cr \code{\link{gdkWindowRemoveRedirection}(object)}\cr \code{gdkWindow(parent = NULL, attributes)} } \section{Hierarchy}{\preformatted{GObject +----GdkDrawable +----GdkWindow}} \section{Detailed Description}{A \code{\link{GdkWindow}} is a rectangular region on the screen. It's a low-level object, used to implement high-level objects such as \code{\link{GtkWidget}} and \code{\link{GtkWindow}} on the GTK+ level. A \code{\link{GtkWindow}} is a toplevel window, the thing a user might think of as a "window" with a titlebar and so on; a \code{\link{GtkWindow}} may contain many \code{\link{GdkWindow}}. For example, each \code{\link{GtkButton}} has a \code{\link{GdkWindow}} associated with it.} \section{Composited Windows}{Normally, the windowing system takes care of rendering the contents of a child window onto its parent window. This mechanism can be intercepted by calling \code{\link{gdkWindowSetComposited}} on the child window. For a \dfn{composited} window it is the responsibility of the application to render the window contents at the right spot. \emph{Composited windows} \preformatted{ # The expose event handler for the event box. # # This function simply draws a transparency onto a widget on the area # for which it receives expose events. This is intended to give the # event box a "transparent" background. # # In order for this to work properly, the widget must have an RGBA # colormap. The widget should also be set as app-paintable since it # doesn't make sense for GTK+ to draw a background if we are drawing it # (and because GTK+ might actually replace our transparency with its # default background color). # transparent_expose <- function(widget, event) { cr <- gdkCairoCreate(widget$window) cr$setOperator("clear") gdkCairoRegion(cr, event$region) cr$fill() return(FALSE) } # The expose event handler for the window. # # This function performs the actual compositing of the event box onto # the already-existing background of the window at 50\% normal opacity. # # In this case we do not want app-paintable to be set on the widget # since we want it to draw its own (red) background. Because of this, # however, we must ensure that we set after = TRUE when connecting to the signal # so that this handler is called after the red has been drawn. If it was # called before then GTK would just blindly paint over our work. # # Note: if the child window has children, then you need a cairo 1.16 # feature to make this work correctly. # window_expose_event <- function(widget, event) { # get our child (in this case, the event box) child <- widget$getChild() # create a cairo context to draw to the window cr <- gdkCairoCreate(widget$window) # the source data is the (composited) event box gdkCairoSetSourcePixmap(cr, child$window, child$allocation$x, child$allocation$y) # draw no more than our expose event intersects our child region <- gdkRegionRectangle(child$allocation) region$intersect(event$region) gdkCairoRegion(cr, region) cr$clip() # composite, with a 50\% opacity cr$setOperator("over") cr$paintWithAlpha(0.5) return(FALSE) } # Make the widgets button <- gtkButton("A Button") event <- gtkEventBox() window <- gtkWindow() # Put a red background on the window red <- gdkColorParse("red")$color window$modifyBg("normal", red) # Set the colormap for the event box. # Must be done before the event box is realized. # screen <- event$getScreen() rgba <- screen$getRgbaColormap() event$setColormap(rgba) # Set our event box to have a fully-transparent background # drawn on it. Currently there is no way to simply tell GTK+ # that "transparency" is the background color for a widget. # event$setAppPaintable(TRUE) gSignalConnect(event, "expose-event", transparent_expose) # Put them inside one another window$setBorderWidth(10) window$add(event) event$add(button) # Set the event box GdkWindow to be composited. # Obviously must be performed after event box is realized. # event$window$setComposited(TRUE) # Set up the compositing handler. # Note that we do _after_ so that the normal (red) background is drawn # by gtk before our compositing occurs. # gSignalConnect(window, "expose-event", window_expose_event, after = TRUE) } In the example , a button is placed inside of an event box inside of a window. The event box is set as composited and therefore is no longer automatically drawn to the screen. When the contents of the event box change, an expose event is generated on its parent window (which, in this case, belongs to the toplevel \code{\link{GtkWindow}}). The expose handler for this widget is responsible for merging the changes back on the screen in the way that it wishes. In our case, we merge the contents with a 50\% transparency. We also set the background colour of the window to red. The effect is that the background shows through the button.} \section{Offscreen Windows}{Offscreen windows are more general than composited windows, since they allow not only to modify the rendering of the child window onto its parent, but also to apply coordinate transformations. To integrate an offscreen window into a window hierarchy, one has to call \code{gdkWindowSetEmbedder()} and handle a number of signals. The \code{\link{gdkOffscreenWindowSetEmbedder}} and handle a number of signals. The \verb{"pick-embedded-child"} signal on the embedder window is used to select an offscreen child at given coordinates, and the \verb{"to-embedder"} and \verb{"from-embedder"} signals on the offscreen window are used to translate coordinates between the embedder and the offscreen window. For rendering an offscreen window onto its embedder, the contents of the offscreen window are available as a pixmap, via \code{\link{gdkOffscreenWindowGetPixmap}}.} \section{Structures}{\describe{ \item{\verb{GdkWindow}}{ An opaque structure representing an onscreen drawable. Pointers to structures of type \code{\link{GdkPixmap}}, \code{\link{GdkBitmap}}, and \code{\link{GdkWindow}}, can often be used interchangeably. The type \code{\link{GdkDrawable}} refers generically to any of these types. } \item{\verb{GdkGeometry}}{ The \code{\link{GdkGeometry}} struct gives the window manager information about a window's geometry constraints. Normally you would set these on the GTK+ level using \code{\link{gtkWindowSetGeometryHints}}. \code{\link{GtkWindow}} then sets the hints on the \code{\link{GdkWindow}} it creates. \code{\link{gdkWindowSetGeometryHints}} expects the hints to be fully valid already and simply passes them to the window manager; in contrast, \code{\link{gtkWindowSetGeometryHints}} performs some interpretation. For example, \code{\link{GtkWindow}} will apply the hints to the geometry widget instead of the toplevel window, if you set a geometry widget. Also, the \code{min.width}/\code{min.height}/\code{max.width}/\code{max.height} fields may be set to -1, and \code{\link{GtkWindow}} will substitute the size request of the window or geometry widget. If the minimum size hint is not provided, \code{\link{GtkWindow}} will use its requisition as the minimum size. If the minimum size is provided and a geometry widget is set, \code{\link{GtkWindow}} will take the minimum size as the minimum size of the geometry widget rather than the entire window. The base size is treated similarly. The canonical use-case for \code{\link{gtkWindowSetGeometryHints}} is to get a terminal widget to resize properly. Here, the terminal text area should be the geometry widget; \code{\link{GtkWindow}} will then automatically set the base size to the size of other widgets in the terminal window, such as the menubar and scrollbar. Then, the \code{width.inc} and \code{height.inc} fields should be set to the size of one character in the terminal. Finally, the base size should be set to the size of one character. The net effect is that the minimum size of the terminal will have a 1x1 character terminal area, and only terminal sizes on the "character grid" will be allowed. Here's an example of how the terminal example would be implemented, assuming a terminal area widget called "terminal" and a toplevel window "toplevel": \preformatted{ fields <- c("base.width", "base.height", "min.width", "min.height", "width.inc", "height.inc") hints[fields] <- char_width toplevel$setGeometryHints(terminal, hints) } The other useful fields are the \code{min.aspect} and \code{max.aspect} fields; these contain a width/height ratio as a floating point number. If a geometry widget is set, the aspect applies to the geometry widget rather than the entire window. The most common use of these hints is probably to set \code{min.aspect} and \code{max.aspect} to the same value, thus forcing the window to keep a constant aspect ratio. \strong{\verb{GdkGeometry} is a \link{transparent-type}.} \describe{ \item{\code{min_width}}{minimum width of window (or -1 to use requisition, with \code{\link{GtkWindow}} only)} \item{\code{min_height}}{minimum height of window (or -1 to use requisition, with \code{\link{GtkWindow}} only)} \item{\code{max_width}}{maximum width of window (or -1 to use requisition, with \code{\link{GtkWindow}} only)} \item{\code{max_height}}{maximum height of window (or -1 to use requisition, with \code{\link{GtkWindow}} only)} \item{\code{base_width}}{allowed window widths are \code{base.width} + \code{width.inc} * N where N is any integer (-1 allowed with \code{\link{GtkWindow}})} \item{\code{base_height}}{allowed window widths are \code{base.height} + \code{height.inc} * N where N is any integer (-1 allowed with \code{\link{GtkWindow}})} \item{\code{width_inc}}{width resize increment} \item{\code{height_inc}}{height resize increment} \item{\code{min_aspect}}{minimum width/height ratio} \item{\code{max_aspect}}{maximum width/height ratio} \item{\code{win_gravity}}{window gravity, see \code{\link{gtkWindowSetGravity}}} } } \item{\verb{GdkWindowAttr}}{ Attributes to use for a newly-created window. \strong{\verb{GdkWindowAttr} is a \link{transparent-type}.} \describe{ \item{\code{title}}{title of the window (for toplevel windows)} \item{\code{event_mask}}{event mask (see \code{\link{gdkWindowSetEvents}})} \item{\code{x}}{X coordinate relative to parent window (see \code{\link{gdkWindowMove}})} \item{\code{y}}{Y coordinate relative to parent window (see \code{\link{gdkWindowMove}})} \item{\code{width}}{width of window} \item{\code{height}}{height of window} \item{\code{wclass}}{\verb{GDK_INPUT_OUTPUT} (normal window) or \verb{GDK_INPUT_ONLY} (invisible window that receives events)} \item{\code{visual}}{\code{\link{GdkVisual}} for window} \item{\code{colormap}}{\code{\link{GdkColormap}} for window} \item{\code{window_type}}{type of window} \item{\code{cursor}}{cursor for the window (see \code{\link{gdkWindowSetCursor}})} \item{\code{wmclass_name}}{don't use (see \code{\link{gtkWindowSetWmclass}})} \item{\code{wmclass_class}}{don't use (see \code{\link{gtkWindowSetWmclass}})} \item{\code{override_redirect}}{\code{TRUE} to bypass the window manager} \item{\code{type_hint}}{a hint of the function of the window} } } \item{\verb{GdkFilterReturn}}{ Specifies the result of applying a \code{\link{GdkFilterFunc}} to a native event. } }} \section{Convenient Construction}{\code{gdkWindow} is the equivalent of \code{\link{gdkWindowNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GdkWindowType}}{ Describes the kind of window. \describe{ \item{\verb{root}}{root window; this window has no parent, covers the entire screen, and is created by the window system} \item{\verb{toplevel}}{toplevel window (used to implement \code{\link{GtkWindow}})} \item{\verb{child}}{child window (used to implement e.g. \code{\link{GtkEntry}})} \item{\verb{dialog}}{useless/deprecated compatibility type} \item{\verb{temp}}{override redirect temporary window (used to implement \code{\link{GtkMenu}})} \item{\verb{foreign}}{foreign window (see \code{gdkWindowForeignNew()})} } } \item{\verb{GdkWindowClass}}{ \code{GDK.INPUT.OUTPUT} windows are the standard kind of window you might expect. \code{GDK.INPUT.ONLY} windows are invisible; they are used to trap events, but you can't draw on them. \describe{ \item{\verb{output}}{window for graphics and events} \item{\verb{only}}{window for events only} } } \item{\verb{GdkWindowHints}}{ Used to indicate which fields of a \code{\link{GdkGeometry}} struct should be paid attention to. Also, the presence/absence of \code{GDK.HINT.POS}, \code{GDK.HINT.USER.POS}, and \code{GDK.HINT.USER.SIZE} is significant, though they don't directly refer to \code{\link{GdkGeometry}} fields. \code{GDK.HINT.USER.POS} will be set automatically by \code{\link{GtkWindow}} if you call \code{\link{gtkWindowMove}}. \code{GDK.HINT.USER.POS} and \code{GDK.HINT.USER.SIZE} should be set if the user specified a size/position using a --geometry command-line argument; \code{gtkWindowParseGeometry()} automatically sets these flags. \describe{ \item{\verb{pos}}{indicates that the program has positioned the window} \item{\verb{min-size}}{min size fields are set} \item{\verb{max-size}}{max size fields are set} \item{\verb{base-size}}{base size fields are set} \item{\verb{aspect}}{aspect ratio fields are set} \item{\verb{resize-inc}}{resize increment fields are set} \item{\verb{win-gravity}}{window gravity field is set} \item{\verb{user-pos}}{indicates that the window's position was explicitly set by the user} \item{\verb{user-size}}{indicates that the window's size was explicitly set by the user} } } \item{\verb{GdkGravity}}{ Defines the reference point of a window and the meaning of coordinates passed to \code{\link{gtkWindowMove}}. See \code{\link{gtkWindowMove}} and the "implementation notes" section of the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}) specification for more details. \describe{ \item{\verb{north-west}}{the reference point is at the top left corner.} \item{\verb{north}}{the reference point is in the middle of the top edge.} \item{\verb{north-east}}{the reference point is at the top right corner.} \item{\verb{west}}{the reference point is at the middle of the left edge.} \item{\verb{center}}{the reference point is at the center of the window.} \item{\verb{east}}{the reference point is at the middle of the right edge.} \item{\verb{south-west}}{the reference point is at the lower left corner.} \item{\verb{south}}{the reference point is at the middle of the lower edge.} \item{\verb{south-east}}{the reference point is at the lower right corner.} \item{\verb{static}}{the reference point is at the top left corner of the window itself, ignoring window manager decorations.} } } \item{\verb{GdkWindowEdge}}{ Determines a window edge or corner. \describe{ \item{\verb{north-west}}{the top left corner.} \item{\verb{north}}{the top edge.} \item{\verb{north-east}}{the top right corner.} \item{\verb{west}}{the left edge.} \item{\verb{east}}{the right edge.} \item{\verb{south-west}}{the lower left corner.} \item{\verb{south}}{the lower edge.} \item{\verb{south-east}}{the lower right corner.} } } \item{\verb{GdkWindowTypeHint}}{ These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window. See the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}) specification for more details about window types. \describe{ \item{\verb{normal}}{Normal toplevel window.} \item{\verb{dialog}}{Dialog window.} \item{\verb{menu}}{Window used to implement a menu; GTK+ uses this hint only for torn-off menus, see \code{\link{GtkTearoffMenuItem}}.} \item{\verb{toolbar}}{Window used to implement toolbars.} \item{\verb{splashscreen}}{Window used to display a splash screen during application startup.} \item{\verb{utility}}{Utility windows which are not detached toolbars or dialogs.} \item{\verb{dock}}{Used for creating dock or panel windows.} \item{\verb{desktop}}{Used for creating the desktop background window.} } } \item{\verb{GdkWindowAttributesType}}{ Used to indicate which fields in the \code{\link{GdkWindowAttr}} struct should be honored. For example, if you filled in the "cursor" and "x" fields of \code{\link{GdkWindowAttr}}, pass "\code{GDK.WA.X} | \code{GDK.WA.CURSOR}" to \code{\link{gdkWindowNew}}. Fields in \code{\link{GdkWindowAttr}} not covered by a bit in this enum are required; for example, the \code{width}/\code{height}, \code{wclass}, and \code{window.type} fields are required, they have no corresponding flag in \code{\link{GdkWindowAttributesType}}. \describe{ \item{\verb{title}}{Honor the title field} \item{\verb{x}}{Honor the X coordinate field} \item{\verb{y}}{Honor the Y coordinate field} \item{\verb{cursor}}{Honor the cursor field} \item{\verb{colormap}}{Honor the colormap field} \item{\verb{visual}}{Honor the visual field} \item{\verb{wmclass}}{Honor the wmclass_class and wmclass_name fields} \item{\verb{noredir}}{Honor the override_redirect field} } } \item{\verb{GdkFilterReturn}}{ Specifies the result of applying a \code{\link{GdkFilterFunc}} to a native event. \describe{ \item{\verb{continue}}{event not handled, continue processing.} \item{\verb{translate}}{native event translated into a GDK event and stored in the \code{event} structure that was passed in.} \item{\verb{remove}}{event handled, terminate processing.} } } \item{\verb{GdkModifierType}}{ A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock. Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped to Mod2 - Mod5, and indicates this by setting \code{GDK_SUPER_MASK}, \code{GDK_HYPER_MASK} or \code{GDK_META_MASK} in the state field of key events. \describe{ \item{\verb{shift-mask}}{the Shift key.} \item{\verb{lock-mask}}{a Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock).} \item{\verb{control-mask}}{the Control key.} \item{\verb{mod1-mask}}{the fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).} \item{\verb{mod2-mask}}{the fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).} \item{\verb{mod3-mask}}{the sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).} \item{\verb{mod4-mask}}{the seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).} \item{\verb{mod5-mask}}{the eighth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).} \item{\verb{button1-mask}}{the first mouse button.} \item{\verb{button2-mask}}{the second mouse button.} \item{\verb{button3-mask}}{the third mouse button.} \item{\verb{button4-mask}}{the fourth mouse button.} \item{\verb{button5-mask}}{the fifth mouse button.} \item{\verb{release-mask}}{the Super modifier. Since 2.10} \item{\verb{modifier-mask}}{the Hyper modifier. Since 2.10} } } \item{\verb{GdkWMDecoration}}{ These are hints originally defined by the Motif toolkit. The window manager can use them when determining how to decorate the window. The hint must be set before mapping the window. \describe{ \item{\verb{all}}{all decorations should be applied.} \item{\verb{border}}{a frame should be drawn around the window.} \item{\verb{resizeh}}{the frame should have resize handles.} \item{\verb{title}}{a titlebar should be placed above the window.} \item{\verb{menu}}{a button for opening a menu should be included.} \item{\verb{minimize}}{a minimize button should be included.} \item{\verb{maximize}}{a maximize button should be included.} } } \item{\verb{GdkWMFunction}}{ These are hints originally defined by the Motif toolkit. The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window. \describe{ \item{\verb{all}}{all functions should be offered.} \item{\verb{resize}}{the window should be resizable.} \item{\verb{move}}{the window should be movable.} \item{\verb{minimize}}{the window should be minimizable.} \item{\verb{maximize}}{the window should be maximizable.} \item{\verb{close}}{the window should be closable.} } } }} \section{User Functions}{\describe{\item{\code{GdkFilterFunc(xevent, event, data)}}{ Specifies the type of function used to filter native events before they are converted to GDK events. When a filter is called, \code{event} is unpopulated, except for \code{event->window}. The filter may translate the native event to a GDK event and store the result in \code{event}, or handle it without translation. If the filter translates the event and processing should continue, it should return \code{GDK_FILTER_TRANSLATE}. \describe{ \item{\code{xevent}}{the native event to filter.} \item{\code{event}}{the GDK event to which the X event will be translated.} \item{\code{data}}{user data set when the filter was installed.} } \emph{Returns:} [\code{\link{GdkFilterReturn}}] a \code{\link{GdkFilterReturn}} value. }}} \section{Signals}{\describe{ \item{\code{from-embedder(window, embedder-x, embedder-y, offscreen-x, offscreen-y, user.data)}}{ The ::from-embedder signal is emitted to translate coordinates in the embedder of an offscreen window to the offscreen window. See also \verb{"to-embedder"}. Since 2.18 \describe{ \item{\code{window}}{the offscreen window on which the signal is emitted} \item{\code{embedder-x}}{x coordinate in the embedder window} \item{\code{embedder-y}}{y coordinate in the embedder window} \item{\code{offscreen-x}}{return location for the x coordinate in the offscreen window} \item{\code{offscreen-y}}{return location for the y coordinate in the offscreen window} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{pick-embedded-child(window, x, y, user.data)}}{ The ::pick-embedded-child signal is emitted to find an embedded child at the given position. Since 2.18 \describe{ \item{\code{window}}{the window on which the signal is emitted} \item{\code{x}}{x coordinate in the window} \item{\code{y}}{y coordinate in the window} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [\code{\link{GdkWindow}}] the \code{\link{GdkWindow}} of the embedded child at \code{x}, \code{y}, or \code{NULL} } \item{\code{to-embedder(window, offscreen-x, offscreen-y, embedder-x, embedder-y, user.data)}}{ The ::to-embedder signal is emitted to translate coordinates in an offscreen window to its embedder. See also \verb{"from-embedder"}. Since 2.18 \describe{ \item{\code{window}}{the offscreen window on which the signal is emitted} \item{\code{offscreen-x}}{x coordinate in the offscreen window} \item{\code{offscreen-y}}{y coordinate in the offscreen window} \item{\code{embedder-x}}{return location for the x coordinate in the embedder window} \item{\code{embedder-y}}{return location for the y coordinate in the embedder window} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{cursor} [\code{\link{GdkCursor}} : * : Read / Write]}{ The mouse pointer for a \code{\link{GdkWindow}}. See \code{\link{gdkWindowSetCursor}} and \code{\link{gdkWindowGetCursor}} for details. Since 2.18 }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Windows.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonSetMenu.Rd0000644000176000001440000000106012362217677017254 0ustar ripleyusers\alias{gtkMenuToolButtonSetMenu} \name{gtkMenuToolButtonSetMenu} \title{gtkMenuToolButtonSetMenu} \description{Sets the \code{\link{GtkMenu}} that is popped up when the user clicks on the arrow. If \code{menu} is NULL, the arrow button becomes insensitive.} \usage{gtkMenuToolButtonSetMenu(object, menu)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuToolButton}}} \item{\verb{menu}}{the \code{\link{GtkMenu}} associated with \code{\link{GtkMenuToolButton}}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCopyPath.Rd0000644000176000001440000000130712362217677015060 0ustar ripleyusers\alias{cairoCopyPath} \name{cairoCopyPath} \title{cairoCopyPath} \description{Creates a copy of the current path and returns it to the user as a \code{\link{CairoPath}}. See \code{\link{CairoPathData}} for hints on how to iterate over the returned data structure.} \usage{cairoCopyPath(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This function will always return a valid pointer, but the result will have no data (\code{data== NULL} and \code{num_data==0}), if either of the following conditions hold: \enumerate{ \item \item } } \value{[\code{\link{CairoPath}}] the copy of the current path.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForTargets.Rd0000644000176000001440000000162312362217677017547 0ustar ripleyusers\alias{gtkClipboardWaitForTargets} \name{gtkClipboardWaitForTargets} \title{gtkClipboardWaitForTargets} \description{Returns a list of targets that are present on the clipboard, or \code{NULL} if there aren't any targets available. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if any targets are present on the clipboard, otherwise \code{FALSE}.} \item{\verb{targets}}{location to store a list of targets. The result stored here must be freed with \code{gFree()}.} \item{\verb{n.targets}}{location to store number of items in \code{targets}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetIconSize.Rd0000644000176000001440000000076512362217677017404 0ustar ripleyusers\alias{gtkToolPaletteSetIconSize} \name{gtkToolPaletteSetIconSize} \title{gtkToolPaletteSetIconSize} \description{Sets the size of icons in the tool palette.} \usage{gtkToolPaletteSetIconSize(object, icon.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{icon.size}}{the \code{\link{GtkIconSize}} that icons in the tool palette shall have. \emph{[ \acronym{type} int]}} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarPush.Rd0000644000176000001440000000107312362217677015631 0ustar ripleyusers\alias{gtkStatusbarPush} \name{gtkStatusbarPush} \title{gtkStatusbarPush} \description{Pushes a new message onto a statusbar's stack.} \usage{gtkStatusbarPush(object, context.id, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusbar}}} \item{\verb{context.id}}{the message's context id, as returned by \code{\link{gtkStatusbarGetContextId}}} \item{\verb{text}}{the message to add to the statusbar} } \value{[numeric] a message id that can be used with \code{\link{gtkStatusbarRemove}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontExtents.Rd0000644000176000001440000000105712362217677016730 0ustar ripleyusers\alias{cairoScaledFontExtents} \name{cairoScaledFontExtents} \title{cairoScaledFontExtents} \description{Gets the metrics for a \code{\link{CairoScaledFont}}.} \usage{cairoScaledFontExtents(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoFontExtents}}] a \code{\link{CairoFontExtents}} which to store the retrieved extents.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInvisibleGetScreen.Rd0000644000176000001440000000067612362217677016555 0ustar ripleyusers\alias{gtkInvisibleGetScreen} \name{gtkInvisibleGetScreen} \title{gtkInvisibleGetScreen} \description{Returns the \code{\link{GdkScreen}} object associated with \code{invisible}} \usage{gtkInvisibleGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkInvisible}}.}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the associated \code{\link{GdkScreen}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHButtonBoxGetSpacingDefault.Rd0000644000176000001440000000110612362217677020324 0ustar ripleyusers\alias{gtkHButtonBoxGetSpacingDefault} \name{gtkHButtonBoxGetSpacingDefault} \title{gtkHButtonBoxGetSpacingDefault} \description{ Retrieves the current default spacing for horizontal button boxes. This is the number of pixels to be placed between the buttons when they are arranged. \strong{WARNING: \code{gtk_hbutton_box_get_spacing_default} is deprecated and should not be used in newly-written code.} } \usage{gtkHButtonBoxGetSpacingDefault()} \value{[integer] the default number of pixels between buttons.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoLayoutLineGetClipRegion.Rd0000644000176000001440000000274612362217677020477 0ustar ripleyusers\alias{gdkPangoLayoutLineGetClipRegion} \name{gdkPangoLayoutLineGetClipRegion} \title{gdkPangoLayoutLineGetClipRegion} \description{Obtains a clip region which contains the areas where the given ranges of text would be drawn. \code{x.origin} and \code{y.origin} are the same position you would pass to \code{\link{gdkDrawLayoutLine}}. \code{index.ranges} should contain ranges of bytes in the layout's text. The clip region will include space to the left or right of the line (to the layout bounding box) if you have indexes above or below the indexes contained inside the line. This is to draw the selection all the way to the side of the layout. However, the clip region is in line coordinates, not layout coordinates.} \usage{gdkPangoLayoutLineGetClipRegion(line, x.origin, index.ranges)} \arguments{ \item{\verb{line}}{a \code{\link{PangoLayoutLine}}} \item{\verb{x.origin}}{X pixel where you intend to draw the layout line with this clip} \item{\verb{index.ranges}}{array of byte indexes into the layout, where even members of list are start indexes and odd elements are end indexes} } \details{Note that the regions returned correspond to logical extents of the text ranges, not ink extents. So the drawn line may in fact touch areas out of the clip region. The clip region is mainly useful for highlightling parts of text, such as when text is selected.} \value{[\code{\link{GdkRegion}}] a clip region containing the given ranges} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Cairo-Interaction.Rd0000644000176000001440000000224512362217677016372 0ustar ripleyusers\alias{gdk-Cairo-Interaction} \name{gdk-Cairo-Interaction} \title{Cairo Interaction} \description{Functions to support using Cairo} \section{Methods and Functions}{ \code{\link{gdkCairoCreate}(drawable)}\cr \code{\link{gdkCairoSetSourceColor}(cr, color)}\cr \code{\link{gdkCairoSetSourcePixbuf}(cr, pixbuf, pixbuf.x, pixbuf.y)}\cr \code{\link{gdkCairoSetSourcePixmap}(cr, pixmap, pixmap.x, pixmap.y)}\cr \code{\link{gdkCairoRectangle}(cr, rectangle)}\cr \code{\link{gdkCairoRegion}(cr, region)}\cr \code{\link{gdkCairoResetClip}(cr, drawable)}\cr } \section{Detailed Description}{Cairo (\url{http://cairographics.org}) is a graphics library that supports vector graphics and image compositing that can be used with GDK. Since 2.8, GTK+ does most of its drawing using Cairo. GDK does not wrap the Cairo API, instead it allows to create Cairo contexts which can be used to draw on GDK drawables. Additional functions allow to convert GDK's rectangles and regions into Cairo paths and to use pixbufs as sources for drawing operations.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Cairo-Interaction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileNewForUri.Rd0000644000176000001440000000101212362217677015133 0ustar ripleyusers\alias{gFileNewForUri} \name{gFileNewForUri} \title{gFileNewForUri} \description{Constructs a \code{\link{GFile}} for a given URI. This operation never fails, but the returned object might not support any I/O operation if \code{uri} is malformed or if the uri type is not supported.} \usage{gFileNewForUri(uri)} \arguments{\item{\verb{uri}}{a string containing a URI.}} \value{[\code{\link{GFile}}] a \code{\link{GFile}} for the given \code{uri}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoToyFontFaceGetFamily.Rd0000644000176000001440000000062712362217677017320 0ustar ripleyusers\alias{cairoToyFontFaceGetFamily} \name{cairoToyFontFaceGetFamily} \title{cairoToyFontFaceGetFamily} \description{Gets the familly name of a toy font.} \usage{cairoToyFontFaceGetFamily(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A toy font face}} \details{ Since 1.8} \value{[char] The family name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetTabLabel.Rd0000644000176000001440000000111412362217677016624 0ustar ripleyusers\alias{gtkNotebookGetTabLabel} \name{gtkNotebookGetTabLabel} \title{gtkNotebookGetTabLabel} \description{Returns the tab label widget for the page \code{child}. \code{NULL} is returned if \code{child} is not in \code{notebook} or if no tab label has specifically been set for \code{child}.} \usage{gtkNotebookGetTabLabel(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the page} } \value{[\code{\link{GtkWidget}}] the tab label. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAssistant.Rd0000644000176000001440000001450612362217677014737 0ustar ripleyusers\alias{GtkAssistant} \alias{gtkAssistant} \alias{GtkAssistantPageFunc} \alias{GtkAssistantPageType} \name{GtkAssistant} \title{GtkAssistant} \description{A widget used to guide users through multi-step operations} \section{Methods and Functions}{ \code{\link{gtkAssistantNew}(show = TRUE)}\cr \code{\link{gtkAssistantGetCurrentPage}(object)}\cr \code{\link{gtkAssistantSetCurrentPage}(object, page.num)}\cr \code{\link{gtkAssistantGetNPages}(object)}\cr \code{\link{gtkAssistantGetNthPage}(object, page.num)}\cr \code{\link{gtkAssistantPrependPage}(object, page)}\cr \code{\link{gtkAssistantAppendPage}(object, page)}\cr \code{\link{gtkAssistantInsertPage}(object, page, position)}\cr \code{\link{gtkAssistantSetForwardPageFunc}(object, page.func, data)}\cr \code{\link{gtkAssistantSetPageType}(object, page, type)}\cr \code{\link{gtkAssistantGetPageType}(object, page)}\cr \code{\link{gtkAssistantSetPageTitle}(object, page, title)}\cr \code{\link{gtkAssistantGetPageTitle}(object, page)}\cr \code{\link{gtkAssistantSetPageHeaderImage}(object, page, pixbuf = NULL)}\cr \code{\link{gtkAssistantGetPageHeaderImage}(object, page)}\cr \code{\link{gtkAssistantSetPageSideImage}(object, page, pixbuf = NULL)}\cr \code{\link{gtkAssistantGetPageSideImage}(object, page)}\cr \code{\link{gtkAssistantSetPageComplete}(object, page, complete)}\cr \code{\link{gtkAssistantGetPageComplete}(object, page)}\cr \code{\link{gtkAssistantAddActionWidget}(object, child)}\cr \code{\link{gtkAssistantRemoveActionWidget}(object, child)}\cr \code{\link{gtkAssistantUpdateButtonsState}(object)}\cr \code{gtkAssistant(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkAssistant}} \section{Interfaces}{GtkAssistant implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkAssistant}} is a widget used to represent a generally complex operation splitted in several steps, guiding the user through its pages and controlling the page flow to collect the necessary data.} \section{GtkAssistant as GtkBuildable}{The GtkAssistant implementation of the GtkBuildable interface exposes the \code{action.area} as internal children with the name "action_area". To add pages to an assistant in GtkBuilder, simply add it as a to the GtkAssistant object, and set its child properties as necessary.} \section{Structures}{\describe{\item{\verb{GtkAssistant}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkAssistant} is the equivalent of \code{\link{gtkAssistantNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkAssistantPageType}}{ An enum for determining the page role inside the \code{\link{GtkAssistant}}. It's used to handle buttons sensitivity and visibility. Note that an assistant needs to end its page flow with a page of type GTK_ASSISTANT_PAGE_CONFIRM or GTK_ASSISTANT_PAGE_SUMMARY to be correct. \describe{ \item{\verb{content}}{The page has regular contents.} \item{\verb{intro}}{The page contains an introduction to the assistant task.} \item{\verb{confirm}}{The page lets the user confirm or deny the changes.} \item{\verb{summary}}{The page informs the user of the changes done.} \item{\verb{progress}}{Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete.} } }}} \section{User Functions}{\describe{\item{\code{GtkAssistantPageFunc(current.page, data)}}{ A function used by \code{\link{gtkAssistantSetForwardPageFunc}} to know which is the next page given a current one. It's called both for computing the next page when the user presses the "forward" button and for handling the behavior of the "last" button. \describe{ \item{\code{current.page}}{The page number used to calculate the next page.} \item{\code{data}}{user data.} } \emph{Returns:} [integer] The next page number. }}} \section{Signals}{\describe{ \item{\code{apply(assistant, user.data)}}{ The ::apply signal is emitted when the apply button is clicked. The default behavior of the \code{\link{GtkAssistant}} is to switch to the page after the current page, unless the current page is the last one. A handler for the ::apply signal should carry out the actions for which the wizard has collected data. If the action takes a long time to complete, you might consider to put a page of type \code{GTK_ASSISTANT_PAGE_PROGRESS} after the confirmation page and handle this operation within the \verb{"prepare"} signal of the progress page. Since 2.10 \describe{ \item{\code{assistant}}{the \code{GtkAssistant}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cancel(assistant, user.data)}}{ The ::cancel signal is emitted when then the cancel button is clicked. Since 2.10 \describe{ \item{\code{assistant}}{the \code{\link{GtkAssistant}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{close(assistant, user.data)}}{ The ::close signal is emitted either when the close button of a summary page is clicked, or when the apply button in the last page in the flow (of type \code{GTK_ASSISTANT_PAGE_CONFIRM}) is clicked. Since 2.10 \describe{ \item{\code{assistant}}{the \code{\link{GtkAssistant}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{prepare(assistant, page, user.data)}}{ The ::prepare signal is emitted when a new page is set as the assistant's current page, before making the new page visible. A handler for this signal can do any preparation which are necessary before showing \code{page}. Since 2.10 \describe{ \item{\code{assistant}}{the \code{\link{GtkAssistant}}} \item{\code{page}}{the current page} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Style Properties}{\describe{ \item{\verb{content-padding} [integer : Read]}{ Number of pixels around the content pages. Allowed values: >= 0 Default value: 1 } \item{\verb{header-padding} [integer : Read]}{ Number of pixels around the header. Allowed values: >= 0 Default value: 6 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAssistant.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetOrientation.Rd0000644000176000001440000000101012362217677017407 0ustar ripleyusers\alias{gtkIconViewGetOrientation} \name{gtkIconViewGetOrientation} \title{gtkIconViewGetOrientation} \description{Returns the value of the ::orientation property which determines whether the labels are drawn beside the icons instead of below.} \usage{gtkIconViewGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[\code{\link{GtkOrientation}}] the relative position of texts and icons} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoStrokePreserve.Rd0000644000176000001440000000125712362217677016320 0ustar ripleyusers\alias{cairoStrokePreserve} \name{cairoStrokePreserve} \title{cairoStrokePreserve} \description{A drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings. Unlike \code{\link{cairoStroke}}, \code{\link{cairoStrokePreserve}} preserves the path within the cairo context.} \usage{cairoStrokePreserve(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{See \code{\link{cairoSetLineWidth}}, \code{\link{cairoSetLineJoin}}, \code{\link{cairoSetLineCap}}, \code{\link{cairoSetDash}}, and \code{\link{cairoStrokePreserve}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefaultIcon.Rd0000644000176000001440000000062512362217677017064 0ustar ripleyusers\alias{gtkWindowSetDefaultIcon} \name{gtkWindowSetDefaultIcon} \title{gtkWindowSetDefaultIcon} \description{Sets an icon to be used as fallback for windows that haven't had \code{\link{gtkWindowSetIcon}} called on them from a pixbuf.} \usage{gtkWindowSetDefaultIcon(icon)} \arguments{\item{\verb{icon}}{the icon}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayWarpPointer.Rd0000644000176000001440000000201512362217677016576 0ustar ripleyusers\alias{gdkDisplayWarpPointer} \name{gdkDisplayWarpPointer} \title{gdkDisplayWarpPointer} \description{Warps the pointer of \code{display} to the point \code{x},\code{y} on the screen \code{screen}, unless the pointer is confined to a window by a grab, in which case it will be moved as far as allowed by the grab. Warping the pointer creates events as if the user had moved the mouse instantaneously to the destination.} \usage{gdkDisplayWarpPointer(object, screen, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{screen}}{the screen of \code{display} to warp the pointer to} \item{\verb{x}}{the x coordinate of the destination} \item{\verb{y}}{the y coordinate of the destination} } \details{Note that the pointer should normally be under the control of the user. This function was added to cover some rare use cases like keyboard navigation support for the color picker in the \code{\link{GtkColorSelectionDialog}}. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoContextGet.Rd0000644000176000001440000000156412362217677016057 0ustar ripleyusers\alias{gdkPangoContextGet} \name{gdkPangoContextGet} \title{gdkPangoContextGet} \description{Creates a \code{\link{PangoContext}} for the default GDK screen.} \usage{gdkPangoContextGet()} \details{ When using GTK+, normally you should use \code{\link{gtkWidgetGetPangoContext}} instead of this function, to get the appropriate context for the widget you intend to render text onto. The newly created context will have the default font options (see \code{\link{CairoFontOptions}}) for the default screen; if these options change it will not be updated. Using \code{\link{gtkWidgetGetPangoContext}} is more convenient if you want to keep a context around and track changes to the screen's font rendering settings.} \value{[\code{\link{PangoContext}}] a new \code{\link{PangoContext}} for the default display} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerMoveItem.Rd0000644000176000001440000000207312362217677017203 0ustar ripleyusers\alias{gtkRecentManagerMoveItem} \name{gtkRecentManagerMoveItem} \title{gtkRecentManagerMoveItem} \description{Changes the location of a recently used resource from \code{uri} to \code{new.uri}.} \usage{gtkRecentManagerMoveItem(object, uri, new.uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{the URI of a recently used resource} \item{\verb{new.uri}}{the new URI of the recently used resource, or \code{NULL} to remove the item pointed by \code{uri} in the list. \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Please note that this function will not affect the resource pointed by the URIs, but only the URI used in the recently used resources list. Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success.} \item{\verb{error}}{a return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Clipboards.Rd0000644000176000001440000002511712362217677015165 0ustar ripleyusers\alias{gtk-Clipboards} \alias{GtkClipboard} \alias{gtkClipboard} \alias{GtkClipboardReceivedFunc} \alias{GtkClipboardTextReceivedFunc} \alias{GtkClipboardImageReceivedFunc} \alias{GtkClipboardTargetsReceivedFunc} \alias{GtkClipboardRichTextReceivedFunc} \alias{GtkClipboardURIReceivedFunc} \alias{GtkClipboardGetFunc} \alias{GtkClipboardClearFunc} \name{gtk-Clipboards} \title{Clipboards} \description{Storing data on clipboards} \section{Methods and Functions}{ \code{\link{gtkClipboardGet}(selection = "GDK_SELECTION_CLIPBOARD")}\cr \code{\link{gtkClipboardGetForDisplay}(display, selection = "GDK_SELECTION_CLIPBOARD")}\cr \code{\link{gtkClipboardGetDisplay}(object)}\cr \code{\link{gtkClipboardSetWithData}(object, targets, get.func, user.data = NULL)}\cr \code{\link{gtkClipboardSetWithOwner}(object, targets, get.func, owner = NULL)}\cr \code{\link{gtkClipboardGetOwner}(object)}\cr \code{\link{gtkClipboardClear}(object)}\cr \code{\link{gtkClipboardSetText}(object, text, len = -1)}\cr \code{\link{gtkClipboardSetImage}(object, pixbuf)}\cr \code{\link{gtkClipboardRequestContents}(object, target, callback, user.data = NULL)}\cr \code{\link{gtkClipboardRequestText}(object, callback, user.data = NULL)}\cr \code{\link{gtkClipboardRequestImage}(object, callback, user.data = NULL)}\cr \code{\link{gtkClipboardRequestTargets}(object, callback, user.data = NULL)}\cr \code{\link{gtkClipboardRequestRichText}(object, buffer, callback, user.data)}\cr \code{\link{gtkClipboardRequestUris}(object, callback, user.data)}\cr \code{\link{gtkClipboardWaitForContents}(object, target)}\cr \code{\link{gtkClipboardWaitForText}(object)}\cr \code{\link{gtkClipboardWaitForImage}(object)}\cr \code{\link{gtkClipboardWaitForRichText}(object, buffer)}\cr \code{\link{gtkClipboardWaitForUris}(object)}\cr \code{\link{gtkClipboardWaitIsTextAvailable}(object)}\cr \code{\link{gtkClipboardWaitIsImageAvailable}(object)}\cr \code{\link{gtkClipboardWaitIsRichTextAvailable}(object, buffer)}\cr \code{\link{gtkClipboardWaitIsUrisAvailable}(object)}\cr \code{\link{gtkClipboardWaitForTargets}(object)}\cr \code{\link{gtkClipboardWaitIsTargetAvailable}(object, target)}\cr \code{\link{gtkClipboardSetCanStore}(object, targets)}\cr \code{\link{gtkClipboardStore}(object)}\cr \code{gtkClipboard(display, selection = "GDK_SELECTION_CLIPBOARD")} } \section{Hierarchy}{\preformatted{GObject +----GtkClipboard}} \section{Detailed Description}{ The \code{\link{GtkClipboard}} object represents a clipboard of data shared between different processes or between different widgets in the same process. Each clipboard is identified by a name encoded as a \code{\link{GdkAtom}}. (Conversion to and from strings can be done with \code{\link{gdkAtomIntern}} and \code{\link{gdkAtomName}}.) The default clipboard corresponds to the "CLIPBOARD" atom; another commonly used clipboard is the "PRIMARY" clipboard, which, in X, traditionally contains the currently selected text. To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (via functions like \code{\link{gtkClipboardSetText}}), or you can supply a callback to be called at a later time when the data is needed (via \code{\link{gtkClipboardSetWithData}} or \code{\link{gtkClipboardSetWithOwner}}.) Providing a callback also avoids having to make copies of the data when it is not needed. \code{\link{gtkClipboardSetWithData}} and \code{\link{gtkClipboardSetWithOwner}} are quite similar; the choice between the two depends mostly on which is more convenient in a particular situation. The former is most useful when you want to have a blob of data with callbacks to convert it into the various data types that you advertise. When the \code{clear.func} you provided is called, you simply free the data blob. The latter is more useful when the contents of clipboard reflect the internal state of a \code{\link{GObject}} (As an example, for the PRIMARY clipboard, when an entry widget provides the clipboard's contents the contents are simply the text within the selected region.) If the contents change, the entry widget can call \code{\link{gtkClipboardSetWithOwner}} to update the timestamp for clipboard ownership, without having to worry about \code{clear.func} being called. Requesting the data from the clipboard is essentially asynchronous. If the contents of the clipboard are provided within the same process, then a direct function call will be made to retrieve the data, but if they are provided by another process, then the data needs to be retrieved from the other process, which may take some time. To avoid blocking the user interface, the call to request the selection, \code{\link{gtkClipboardRequestContents}} takes a callback that will be called when the contents are received (or when the request fails.) If you don't want to deal with providing a separate callback, you can also use \code{\link{gtkClipboardWaitForContents}}. What this does is run the GLib main loop recursively waiting for the contents. This can simplify the code flow, but you still have to be aware that other callbacks in your program can be called while this recursive mainloop is running. Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, \code{\link{gtkClipboardRequestText}} and \code{\link{gtkClipboardWaitForText}}. These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. (The standard form for representing strings in GTK+.) } \section{Structures}{\describe{\item{\verb{GtkClipboard}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkClipboard} is the equivalent of \code{\link{gtkClipboardGetForDisplay}}.} \section{User Functions}{\describe{ \item{\code{GtkClipboardReceivedFunc(clipboard, selection.data, data)}}{ A function to be called when the results of \code{\link{gtkClipboardRequestContents}} are received, or when the request fails. \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{selection.data}}{a \code{\link{GtkSelectionData}} containing the data was received. If retrieving the data failed, then then length field of \code{selection.data} will be negative.} \item{\code{data}}{the \code{user.data} supplied to \code{\link{gtkClipboardRequestContents}}.} } } \item{\code{GtkClipboardTextReceivedFunc(clipboard, text, data)}}{ A function to be called when the results of \code{\link{gtkClipboardRequestText}} are received, or when the request fails. \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{text}}{the text received, as a UTF-8 encoded string, or \code{NULL} if retrieving the data failed.} \item{\code{data}}{the \code{user.data} supplied to \code{\link{gtkClipboardRequestText}}.} } } \item{\code{GtkClipboardImageReceivedFunc(clipboard, pixbuf, data)}}{ A function to be called when the results of \code{\link{gtkClipboardRequestImage}} are received, or when the request fails. Since 2.6 \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{pixbuf}}{the received image} \item{\code{data}}{the \code{user.data} supplied to \code{\link{gtkClipboardRequestImage}}.} } } \item{\code{GtkClipboardTargetsReceivedFunc(clipboard, atoms, n.atoms, data)}}{ A function to be called when the results of \code{\link{gtkClipboardRequestTargets}} are received, or when the request fails. Since 2.4 \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{atoms}}{the supported targets, as list of \code{\link{GdkAtom}}, or \code{NULL} if retrieving the data failed.} \item{\code{n.atoms}}{the length of the \code{atoms} list.} \item{\code{data}}{the \code{user.data} supplied to \code{\link{gtkClipboardRequestTargets}}.} } } \item{\code{GtkClipboardRichTextReceivedFunc()}}{ \emph{undocumented } } \item{\code{GtkClipboardURIReceivedFunc()}}{ \emph{undocumented } } \item{\code{GtkClipboardGetFunc(clipboard, selection.data, info, user.data.or.owner)}}{ A function that will be called to provide the contents of the selection. If multiple types of data were advertised, the requested type can be determined from the \code{info} parameter or by checking the target field of \code{selection.data}. If the data could successfully be converted into then it should be stored into the \code{selection.data} object by calling \code{\link{gtkSelectionDataSet}} (or related functions such as \code{\link{gtkSelectionDataSetText}}). If no data is set, the requestor will be informed that the attempt to get the data failed. \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{selection.data}}{a \code{\link{GtkSelectionData}} argument in which the requested data should be stored.} \item{\code{info}}{the info field corresponding to the requested target from the \code{\link{GtkTargetEntry}} list passed to \code{\link{gtkClipboardSetWithData}} or \code{\link{gtkClipboardSetWithOwner}}.} \item{\code{user.data.or.owner}}{the \code{user.data} argument passed to \code{\link{gtkClipboardSetWithData}}, or the \code{owner} argument passed to \code{\link{gtkClipboardSetWithOwner}}} } } \item{\code{GtkClipboardClearFunc(clipboard, user.data.or.owner)}}{ A function that will be called when the contents of the clipboard are changed or cleared. Once this has called, the \code{user.data.or.owner} argument will not be used again. \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}}} \item{\code{user.data.or.owner}}{the \code{user.data} argument passed to \code{\link{gtkClipboardSetWithData}}, or the \code{owner} argument passed to \code{\link{gtkClipboardSetWithOwner}}} } } }} \section{Signals}{\describe{\item{\code{owner-change(clipboard, event, user.data)}}{ The ::owner-change signal is emitted when GTK+ receives an event that indicates that the ownership of the selection associated with \code{clipboard} has changed. Since 2.6 \describe{ \item{\code{clipboard}}{the \code{\link{GtkClipboard}} on which the signal is emitted} \item{\code{event}}{the \code{GdkEventOwnerChange} event} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-Clipboards.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextAddSelection.Rd0000644000176000001440000000114312362217677016214 0ustar ripleyusers\alias{atkTextAddSelection} \name{atkTextAddSelection} \title{atkTextAddSelection} \description{Adds a selection bounded by the specified offsets.} \usage{atkTextAddSelection(object, start.offset, end.offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{start.offset}}{[integer] the start position of the selected region} \item{\verb{end.offset}}{[integer] the offset of the first character after the selected region.} } \value{[logical] \code{TRUE} if success, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetRowStyle.Rd0000644000176000001440000000105512362217677016224 0ustar ripleyusers\alias{gtkCListSetRowStyle} \name{gtkCListSetRowStyle} \title{gtkCListSetRowStyle} \description{ Sets the style for all cells in the specified row. \strong{WARNING: \code{gtk_clist_set_row_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetRowStyle(object, row, style)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{style}}{A pointer to a \code{\link{GtkStyle}} to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoSetRawCoordinates.Rd0000644000176000001440000000243212362217677020046 0ustar ripleyusers\alias{gtkIconInfoSetRawCoordinates} \name{gtkIconInfoSetRawCoordinates} \title{gtkIconInfoSetRawCoordinates} \description{Sets whether the coordinates returned by \code{\link{gtkIconInfoGetEmbeddedRect}} and \code{\link{gtkIconInfoGetAttachPoints}} should be returned in their original form as specified in the icon theme, instead of scaled appropriately for the pixbuf returned by \code{\link{gtkIconInfoLoadIcon}}.} \usage{gtkIconInfoSetRawCoordinates(object, raw.coordinates)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconInfo}}} \item{\verb{raw.coordinates}}{whether the coordinates of embedded rectangles and attached points should be returned in their original (unscaled) form.} } \details{Raw coordinates are somewhat strange; they are specified to be with respect to the unscaled pixmap for PNG and XPM icons, but for SVG icons, they are in a 1000x1000 coordinate space that is scaled to the final size of the icon. You can determine if the icon is an SVG icon by using \code{\link{gtkIconInfoGetFilename}}, and seeing if it is non-\code{NULL} and ends in '.svg'. This function is provided primarily to allow compatibility wrappers for older API's, and is not expected to be useful for applications. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSet.Rd0000644000176000001440000000136112362217677015533 0ustar ripleyusers\alias{gtkDragSourceSet} \name{gtkDragSourceSet} \title{gtkDragSourceSet} \description{Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget. The widget must have a window.} \usage{gtkDragSourceSet(object, start.button.mask, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{start.button.mask}}{the bitmask of buttons that can start the drag} \item{\verb{targets}}{the table of targets that the drag will support, may be \code{NULL}. \emph{[ \acronym{allow-none} ][ \acronym{array} length=n_targets]}} \item{\verb{actions}}{the bitmask of possible actions for a drag from this widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupsFromObject.Rd0000644000176000001440000000104012362217677017175 0ustar ripleyusers\alias{gtkAccelGroupsFromObject} \name{gtkAccelGroupsFromObject} \title{gtkAccelGroupsFromObject} \description{Gets a list of all accel groups which are attached to \code{object}.} \usage{gtkAccelGroupsFromObject(object)} \arguments{\item{\verb{object}}{a \code{\link{GObject}}, usually a \code{\link{GtkWindow}}}} \value{[list] a list of all accel groups which are attached to \code{object}. \emph{[ \acronym{element-type} GtkAccelGroup][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetBorderWindowSize.Rd0000644000176000001440000000076012362217677020423 0ustar ripleyusers\alias{gtkTextViewGetBorderWindowSize} \name{gtkTextViewGetBorderWindowSize} \title{gtkTextViewGetBorderWindowSize} \description{Gets the width of the specified border window. See \code{\link{gtkTextViewSetBorderWindowSize}}.} \usage{gtkTextViewGetBorderWindowSize(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{type}}{window to return size from} } \value{[integer] width of window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetCursorVisible.Rd0000644000176000001440000000102412362217677017764 0ustar ripleyusers\alias{gtkTextViewSetCursorVisible} \name{gtkTextViewSetCursorVisible} \title{gtkTextViewSetCursorVisible} \description{Toggles whether the insertion point is displayed. A buffer with no editable text probably shouldn't have a visible cursor, so you may want to turn the cursor off.} \usage{gtkTextViewSetCursorVisible(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{setting}}{whether to show the insertion cursor} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarAppendItem.Rd0000644000176000001440000000255412362217677016377 0ustar ripleyusers\alias{gtkToolbarAppendItem} \name{gtkToolbarAppendItem} \title{gtkToolbarAppendItem} \description{ Inserts a new item into the toolbar. You must specify the position in the toolbar where it will be inserted. \strong{WARNING: \code{gtk_toolbar_append_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarAppendItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{text}}{give your toolbar button a label.} \item{\verb{tooltip.text}}{a string that appears when the user holds the mouse over this item.} \item{\verb{tooltip.private.text}}{use with \code{\link{GtkTipsQuery}}.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that should be used as the button's icon.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{a pointer to any data you wish to be passed to the callback.} } \details{\code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the new toolbar item as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPopGroup.Rd0000644000176000001440000000153512362217677015107 0ustar ripleyusers\alias{cairoPopGroup} \name{cairoPopGroup} \title{cairoPopGroup} \description{Terminates the redirection begun by a call to \code{\link{cairoPushGroup}} or \code{\link{cairoPushGroupWithContent}} and returns a new pattern containing the results of all drawing operations performed to the group.} \usage{cairoPopGroup(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{The \code{\link{cairoPopGroup}} function calls \code{\link{cairoRestore}}, (balancing a call to \code{\link{cairoSave}} by the push_group function), so that any changes to the graphics state will not be visible outside the group. Since 1.2} \value{[\code{\link{CairoPattern}}] a newly created (surface) pattern containing the results of all drawing operations performed to the group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentChooserMenu.Rd0000644000176000001440000000554512362217677016361 0ustar ripleyusers\alias{GtkRecentChooserMenu} \alias{gtkRecentChooserMenu} \name{GtkRecentChooserMenu} \title{GtkRecentChooserMenu} \description{Displays recently used files in a menu} \section{Methods and Functions}{ \code{\link{gtkRecentChooserMenuNew}()}\cr \code{\link{gtkRecentChooserMenuNewForManager}(manager = NULL, show = TRUE)}\cr \code{\link{gtkRecentChooserMenuGetShowNumbers}(object)}\cr \code{\link{gtkRecentChooserMenuSetShowNumbers}(object, show.numbers)}\cr \code{gtkRecentChooserMenu(manager = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenu +----GtkRecentChooserMenu}} \section{Interfaces}{GtkRecentChooserMenu implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkRecentChooser}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{\code{\link{GtkRecentChooserMenu}} is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a \code{\link{GtkMenuItem}} using \code{\link{gtkMenuItemSetSubmenu}}, or as the menu of a \code{\link{GtkMenuToolButton}}. Note that \code{\link{GtkRecentChooserMenu}} does not have any methods of its own. Instead, you should use the functions that work on a \code{\link{GtkRecentChooser}}. Note also that \code{\link{GtkRecentChooserMenu}} does not support multiple filters, as it has no way to let the user choose between them as the \code{\link{GtkRecentChooserWidget}} and \code{\link{GtkRecentChooserDialog}} widgets do. Thus using \code{\link{gtkRecentChooserAddFilter}} on a \code{\link{GtkRecentChooserMenu}} widget will yield the same effects as using \code{\link{gtkRecentChooserSetFilter}}, replacing any currently set filter with the supplied filter; \code{\link{gtkRecentChooserRemoveFilter}} will remove any currently set \code{\link{GtkRecentFilter}} object and will unset the current filter; \code{\link{gtkRecentChooserListFilters}} will return a list containing a single \code{\link{GtkRecentFilter}} object. Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkRecentChooserMenu}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkRecentChooserMenu} is the equivalent of \code{\link{gtkRecentChooserMenuNewForManager}}.} \section{Properties}{\describe{\item{\verb{show-numbers} [logical : Read / Write]}{ Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic. Default value: FALSE Since 2.10 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentChooserMenu.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkRecentChooser}}} \keyword{internal} RGtk2/man/gFileEnumeratorNextFile.Rd0000644000176000001440000000226212362217677017043 0ustar ripleyusers\alias{gFileEnumeratorNextFile} \name{gFileEnumeratorNextFile} \title{gFileEnumeratorNextFile} \description{Returns information for the next file in the enumerated object. Will block until the information is available. The \code{\link{GFileInfo}} returned from this function will contain attributes that match the attribute string that was passed when the \code{\link{GFileEnumerator}} was created.} \usage{gFileEnumeratorNextFile(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{On error, returns \code{NULL} and sets \code{error} to the error. If the enumerator is at the end, \code{NULL} will be returned and \code{error} will be unset.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] A \code{\link{GFileInfo}} or \code{NULL} on error or end of enumerator.} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoScriptIterGetRange.Rd0000644000176000001440000000154212362217677017046 0ustar ripleyusers\alias{pangoScriptIterGetRange} \name{pangoScriptIterGetRange} \title{pangoScriptIterGetRange} \description{Gets information about the range to which \code{iter} currently points. The range is the set of locations p where *start <= p < *end. (That is, it doesn't include the character stored at *end)} \usage{pangoScriptIterGetRange(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoScriptIter}}] a \code{\link{PangoScriptIter}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{\verb{start}}{[char] location to store start position of the range, or \code{NULL}} \item{\verb{end}}{[char] location to store end position of the range, or \code{NULL}} \item{\verb{script}}{[\code{\link{PangoScript}}] location to store script for range, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonNewWithMnemonic.Rd0000644000176000001440000000120512362217677020427 0ustar ripleyusers\alias{gtkToggleButtonNewWithMnemonic} \name{gtkToggleButtonNewWithMnemonic} \title{gtkToggleButtonNewWithMnemonic} \description{Creates a new \code{\link{GtkToggleButton}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the button.} \usage{gtkToggleButtonNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{the text of the button, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkToggleButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetPageSideImage.Rd0000644000176000001440000000115112362217677020010 0ustar ripleyusers\alias{gtkAssistantSetPageSideImage} \name{gtkAssistantSetPageSideImage} \title{gtkAssistantSetPageSideImage} \description{Sets a header image for \code{page}. This image is displayed in the side area of the assistant when \code{page} is the current page.} \usage{gtkAssistantSetPageSideImage(object, page, pixbuf = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} \item{\verb{pixbuf}}{the new header image \code{page}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetValue.Rd0000644000176000001440000000100212362217677015516 0ustar ripleyusers\alias{gtkRangeSetValue} \name{gtkRangeSetValue} \title{gtkRangeSetValue} \description{Sets the current value of the range; if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The range emits the \verb{"value-changed"} signal if the value changes.} \usage{gtkRangeSetValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{value}}{new value of the range} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRelMoveTo.Rd0000644000176000001440000000140712362217677015206 0ustar ripleyusers\alias{cairoRelMoveTo} \name{cairoRelMoveTo} \title{cairoRelMoveTo} \description{Begin a new sub-path. After this call the current point will offset by (\code{x}, \code{y}).} \usage{cairoRelMoveTo(cr, dx, dy)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dx}}{[numeric] the X offset} \item{\verb{dy}}{[numeric] the Y offset} } \details{Given a current point of (x, y), cairo_rel_move_to(\code{cr}, \code{dx}, \code{dy}) is logically equivalent to cairo_move_to(\code{cr}, x + \code{dx}, y + \code{dy}). It is an error to call this function with no current point. Doing so will cause \code{cr} to shutdown with a status of \code{CAIRO_STATUS_NO_CURRENT_POINT}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPrinter.Rd0000644000176000001440000000070412362217677017656 0ustar ripleyusers\alias{gtkPrintSettingsSetPrinter} \name{gtkPrintSettingsSetPrinter} \title{gtkPrintSettingsSetPrinter} \description{Convenience function to set \code{GTK_PRINT_SETTINGS_PRINTER} to \code{printer}.} \usage{gtkPrintSettingsSetPrinter(object, printer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{printer}}{the printer name} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetShowBorder.Rd0000644000176000001440000000067712362217677017251 0ustar ripleyusers\alias{gtkNotebookGetShowBorder} \name{gtkNotebookGetShowBorder} \title{gtkNotebookGetShowBorder} \description{Returns whether a bevel will be drawn around the notebook pages. See \code{\link{gtkNotebookSetShowBorder}}.} \usage{gtkNotebookGetShowBorder(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \value{[logical] \code{TRUE} if the bevel is drawn} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetForeground.Rd0000644000176000001440000000100412362217677015773 0ustar ripleyusers\alias{gdkGCSetForeground} \name{gdkGCSetForeground} \title{gdkGCSetForeground} \description{Sets the foreground color for a graphics context. Note that this function uses \code{color->pixel}, use \code{\link{gdkGCSetRgbFgColor}} to specify the foreground color as red, green, blue components.} \usage{gdkGCSetForeground(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{color}}{the new foreground color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceCopy.Rd0000644000176000001440000000062212362217677015724 0ustar ripleyusers\alias{gtkIconSourceCopy} \name{gtkIconSourceCopy} \title{gtkIconSourceCopy} \description{Creates a copy of \code{source}; mostly useful for language bindings.} \usage{gtkIconSourceCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[\code{\link{GtkIconSource}}] a new \code{\link{GtkIconSource}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveSetVector.Rd0000644000176000001440000000107212362217677015743 0ustar ripleyusers\alias{gtkCurveSetVector} \name{gtkCurveSetVector} \title{gtkCurveSetVector} \description{ Sets the vector of points on the curve. The curve type is set to \code{GTK_CURVE_TYPE_FREE}. \strong{WARNING: \code{gtk_curve_set_vector} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveSetVector(object, vector)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCurve}}.} \item{\verb{vector}}{the points on the curve.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSetSensitive.Rd0000644000176000001440000000065312362217677017740 0ustar ripleyusers\alias{gtkCellRendererSetSensitive} \name{gtkCellRendererSetSensitive} \title{gtkCellRendererSetSensitive} \description{Sets the cell renderer's sensitivity.} \usage{gtkCellRendererSetSensitive(object, sensitive)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{sensitive}}{the sensitivity of the cell} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextSetTextContents.Rd0000644000176000001440000000073212362217677020431 0ustar ripleyusers\alias{atkEditableTextSetTextContents} \name{atkEditableTextSetTextContents} \title{atkEditableTextSetTextContents} \description{Set text contents of \code{text}.} \usage{atkEditableTextSetTextContents(object, string)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{string}}{[character] string to set for text contents of \code{text}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathNew.Rd0000644000176000001440000000051312362217677015205 0ustar ripleyusers\alias{gtkTreePathNew} \name{gtkTreePathNew} \title{gtkTreePathNew} \description{Creates a new \code{\link{GtkTreePath}}. This structure refers to a row.} \usage{gtkTreePathNew()} \value{[\code{\link{GtkTreePath}}] A newly created \code{\link{GtkTreePath}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererSpin.Rd0000644000176000001440000000451012362217677016160 0ustar ripleyusers\alias{GtkCellRendererSpin} \alias{gtkCellRendererSpin} \name{GtkCellRendererSpin} \title{GtkCellRendererSpin} \description{Renders a spin button in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererSpinNew}()}\cr \code{gtkCellRendererSpin()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererText +----GtkCellRendererSpin}} \section{Detailed Description}{\code{\link{GtkCellRendererSpin}} renders text in a cell like \code{\link{GtkCellRendererText}} from which it is derived. But while \code{\link{GtkCellRendererText}} offers a simple entry to edit the text, \code{\link{GtkCellRendererSpin}} offers a \code{\link{GtkSpinButton}} widget. Of course, that means that the text has to be parseable as a floating point number. The range of the spinbutton is taken from the adjustment property of the cell renderer, which can be set explicitly or mapped to a column in the tree model, like all properties of cell renders. \code{\link{GtkCellRendererSpin}} also has properties for the climb rate and the number of digits to display. Other \code{\link{GtkSpinButton}} properties can be set in a handler for the start-editing signal. The \code{\link{GtkCellRendererSpin}} cell renderer was added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkCellRendererSpin}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererSpin} is the equivalent of \code{\link{gtkCellRendererSpinNew}}.} \section{Properties}{\describe{ \item{\verb{adjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The adjustment that holds the value of the spinbutton. This must be non-\code{NULL} for the cell renderer to be editable. Since 2.10 } \item{\verb{climb-rate} [numeric : Read / Write]}{ The acceleration rate when you hold down a button. Allowed values: >= 0 Default value: 0 Since 2.10 } \item{\verb{digits} [numeric : Read / Write]}{ The number of decimal places to display. Allowed values: <= 20 Default value: 0 Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererSpin.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkCellRendererText}} \code{\link{GtkSpinButton}} } \keyword{internal} RGtk2/man/gtkScaleButtonSetAdjustment.Rd0000644000176000001440000000104612362217677017757 0ustar ripleyusers\alias{gtkScaleButtonSetAdjustment} \name{gtkScaleButtonSetAdjustment} \title{gtkScaleButtonSetAdjustment} \description{Sets the \code{\link{GtkAdjustment}} to be used as a model for the \code{\link{GtkScaleButton}}'s scale. See \code{\link{gtkRangeSetAdjustment}} for details.} \usage{gtkScaleButtonSetAdjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScaleButton}}} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkScrolledWindow.Rd0000644000176000001440000001524412362217677015725 0ustar ripleyusers\alias{GtkScrolledWindow} \alias{gtkScrolledWindow} \name{GtkScrolledWindow} \title{GtkScrolledWindow} \description{Adds scrollbars to its child widget} \section{Methods and Functions}{ \code{\link{gtkScrolledWindowNew}(hadjustment = NULL, vadjustment = NULL, show = TRUE)}\cr \code{\link{gtkScrolledWindowGetHadjustment}(object)}\cr \code{\link{gtkScrolledWindowGetVadjustment}(object)}\cr \code{\link{gtkScrolledWindowGetHscrollbar}(object)}\cr \code{\link{gtkScrolledWindowGetVscrollbar}(object)}\cr \code{\link{gtkScrolledWindowSetPolicy}(object, hscrollbar.policy, vscrollbar.policy)}\cr \code{\link{gtkScrolledWindowAddWithViewport}(object, child)}\cr \code{\link{gtkScrolledWindowSetPlacement}(object, window.placement)}\cr \code{\link{gtkScrolledWindowUnsetPlacement}(object)}\cr \code{\link{gtkScrolledWindowSetShadowType}(object, type)}\cr \code{\link{gtkScrolledWindowSetHadjustment}(object, hadjustment)}\cr \code{\link{gtkScrolledWindowSetVadjustment}(object, hadjustment)}\cr \code{\link{gtkScrolledWindowGetPlacement}(object)}\cr \code{\link{gtkScrolledWindowGetPolicy}(object)}\cr \code{\link{gtkScrolledWindowGetShadowType}(object)}\cr \code{gtkScrolledWindow(hadjustment = NULL, vadjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow}} \section{Interfaces}{GtkScrolledWindow implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkScrolledWindow}} is a \code{\link{GtkBin}} subclass: it's a container the accepts a single child widget. \code{\link{GtkScrolledWindow}} adds scrollbars to the child widget and optionally draws a beveled frame around the child widget. The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for \code{\link{GtkAdjustment}} objects. \strong{PLEASE NOTE:} The scrolled window installs \code{\link{GtkAdjustment}} objects in the child window's slots using the set_scroll_adjustments_signal, found in \code{\link{GtkWidgetClass}}. (Conceptually, these widgets implement a "Scrollable" interface; because GTK+ 1.2 lacked interface support in the object system, this interface is hackily implemented as a signal in \code{\link{GtkWidgetClass}}. The GTK+ 2.0 object system would allow a clean implementation, but it wasn't worth breaking the API.) Widgets with native scroll support include \code{\link{GtkTreeView}}, \code{\link{GtkTextView}}, and \code{\link{GtkLayout}}. For widgets that lack native scrolling support, the \code{\link{GtkViewport}} widget acts as an adaptor class, implementing scrollability for child widgets that lack their own scrolling capabilities. Use \code{\link{GtkViewport}} to scroll child widgets such as \code{\link{GtkTable}}, \code{\link{GtkBox}}, and so on. If a widget has native scrolling abilities, it can be added to the \code{\link{GtkScrolledWindow}} with \code{\link{gtkContainerAdd}}. If a widget does not, you must first add the widget to a \code{\link{GtkViewport}}, then add the \code{\link{GtkViewport}} to the scrolled window. The convenience function \code{\link{gtkScrolledWindowAddWithViewport}} does exactly this, so you can ignore the presence of the viewport. The position of the scrollbars is controlled by the scroll adjustments. See \code{\link{GtkAdjustment}} for the fields in an adjustment - for \code{\link{GtkScrollbar}}, used by \code{\link{GtkScrolledWindow}}, the "value" field represents the position of the scrollbar, which must be between the "lower" field and "upper - page_size." The "page_size" field represents the size of the visible scrollable area. The "step_increment" and "page_increment" fields are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key). If a \code{\link{GtkScrolledWindow}} doesn't behave quite as you would like, or doesn't have exactly the right layout, it's very possible to set up your own scrolling with \code{\link{GtkScrollbar}} and for example a \code{\link{GtkTable}}.} \section{Structures}{\describe{\item{\verb{GtkScrolledWindow}}{ There are no public fields in the \code{\link{GtkScrolledWindow}} struct; it should only be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkScrolledWindow} is the equivalent of \code{\link{gtkScrolledWindowNew}}.} \section{Signals}{\describe{ \item{\code{move-focus-out(user.data)}}{ \emph{undocumented } \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } \item{\code{scroll-child(user.data)}}{ \emph{undocumented } \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } }} \section{Properties}{\describe{ \item{\verb{hadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write / Construct]}{ The GtkAdjustment for the horizontal position. } \item{\verb{hscrollbar-policy} [\code{\link{GtkPolicyType}} : Read / Write]}{ When the horizontal scrollbar is displayed. Default value: GTK_POLICY_ALWAYS } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Style of bevel around the contents. Default value: GTK_SHADOW_NONE } \item{\verb{vadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write / Construct]}{ The GtkAdjustment for the vertical position. } \item{\verb{vscrollbar-policy} [\code{\link{GtkPolicyType}} : Read / Write]}{ When the vertical scrollbar is displayed. Default value: GTK_POLICY_ALWAYS } \item{\verb{window-placement} [\code{\link{GtkCornerType}} : Read / Write]}{ Where the contents are located with respect to the scrollbars. This property only takes effect if "window-placement-set" is TRUE. Default value: GTK_CORNER_TOP_LEFT } \item{\verb{window-placement-set} [logical : Read / Write]}{ Whether "window-placement" should be used to determine the location of the contents with respect to the scrollbars. Otherwise, the "gtk-scrolled-window-placement" setting is used. Default value: FALSE Since 2.10 } }} \section{Style Properties}{\describe{ \item{\verb{scrollbar-spacing} [integer : Read]}{ Number of pixels between the scrollbars and the scrolled window. Allowed values: >= 0 Default value: 3 } \item{\verb{scrollbars-within-bevel} [logical : Read]}{ Whether to place scrollbars within the scrolled window's bevel. Default value: FALSE Since 2.12 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkScrolledWindow.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkViewport}} \code{\link{GtkAdjustment}} \code{\link{GtkWidgetClass}} } \keyword{internal} RGtk2/man/gtkWidgetPopColormap.Rd0000644000176000001440000000041612362217677016420 0ustar ripleyusers\alias{gtkWidgetPopColormap} \name{gtkWidgetPopColormap} \title{gtkWidgetPopColormap} \description{Removes a colormap pushed with \code{\link{gtkWidgetPushColormap}}.} \usage{gtkWidgetPopColormap()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableGetDefaultColSpacing.Rd0000644000176000001440000000076112362217677017763 0ustar ripleyusers\alias{gtkTableGetDefaultColSpacing} \name{gtkTableGetDefaultColSpacing} \title{gtkTableGetDefaultColSpacing} \description{Gets the default column spacing for the table. This is the spacing that will be used for newly added columns. (See \code{\link{gtkTableSetColSpacings}})} \usage{gtkTableGetDefaultColSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTable}}}} \value{[numeric] the default column spacing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetRightMargin.Rd0000644000176000001440000000071012362217677017507 0ustar ripleyusers\alias{gtkPageSetupGetRightMargin} \name{gtkPageSetupGetRightMargin} \title{gtkPageSetupGetRightMargin} \description{Gets the right margin in units of \code{unit}.} \usage{gtkPageSetupGetRightMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the right margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetAttributes.Rd0000644000176000001440000000103012362217677017331 0ustar ripleyusers\alias{pangoLayoutSetAttributes} \name{pangoLayoutSetAttributes} \title{pangoLayoutSetAttributes} \description{Sets the text attributes for a layout object. References \code{attrs}, so the caller can unref its reference.} \usage{pangoLayoutSetAttributes(object, attrs)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{attrs}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}, can be \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetSizeRequest.Rd0000644000176000001440000000172212362217677017111 0ustar ripleyusers\alias{gtkWidgetGetSizeRequest} \name{gtkWidgetGetSizeRequest} \title{gtkWidgetGetSizeRequest} \description{Gets the size request that was explicitly set for the widget using \code{\link{gtkWidgetSetSizeRequest}}. A value of -1 stored in \code{width} or \code{height} indicates that that dimension has not been set explicitly and the natural requisition of the widget will be used intead. See \code{\link{gtkWidgetSetSizeRequest}}. To get the size a widget will actually use, call \code{\link{gtkWidgetSizeRequest}} instead of this function.} \usage{gtkWidgetGetSizeRequest(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{ A list containing the following elements: \item{\verb{width}}{(out): return location for width, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{(out): return location for height, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemSetActive.Rd0000644000176000001440000000067412362217677017320 0ustar ripleyusers\alias{gtkCheckMenuItemSetActive} \name{gtkCheckMenuItemSetActive} \title{gtkCheckMenuItemSetActive} \description{Sets the active state of the menu item's check box.} \usage{gtkCheckMenuItemSetActive(object, is.active)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}.} \item{\verb{is.active}}{boolean value indicating whether the check box is active.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkServiceGetProtocol.Rd0000644000176000001440000000063312362217677017617 0ustar ripleyusers\alias{gNetworkServiceGetProtocol} \name{gNetworkServiceGetProtocol} \title{gNetworkServiceGetProtocol} \description{Gets \code{srv}'s protocol name (eg, "tcp").} \usage{gNetworkServiceGetProtocol(object)} \arguments{\item{\verb{object}}{a \code{\link{GNetworkService}}}} \details{Since 2.22} \value{[character] \code{srv}'s protocol name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultComplete.Rd0000644000176000001440000000104712362217677017602 0ustar ripleyusers\alias{gSimpleAsyncResultComplete} \name{gSimpleAsyncResultComplete} \title{gSimpleAsyncResultComplete} \description{Completes an asynchronous I/O job immediately. Must be called in the thread where the asynchronous result was to be delivered, as it invokes the callback directly. If you are in a different thread use \code{\link{gSimpleAsyncResultCompleteInIdle}}.} \usage{gSimpleAsyncResultComplete(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetVadjustment.Rd0000644000176000001440000000076112362217677017443 0ustar ripleyusers\alias{gtkTreeViewGetVadjustment} \name{gtkTreeViewGetVadjustment} \title{gtkTreeViewGetVadjustment} \description{Gets the \code{\link{GtkAdjustment}} currently being used for the vertical aspect.} \usage{gtkTreeViewGetVadjustment(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[\code{\link{GtkAdjustment}}] A \code{\link{GtkAdjustment}} object, or \code{NULL} if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableHasDefaultSortFunc.Rd0000644000176000001440000000110512362217677021035 0ustar ripleyusers\alias{gtkTreeSortableHasDefaultSortFunc} \name{gtkTreeSortableHasDefaultSortFunc} \title{gtkTreeSortableHasDefaultSortFunc} \description{Returns \code{TRUE} if the model has a default sort function. This is used primarily by GtkTreeViewColumns in order to determine if a model can go back to the default state, or not.} \usage{gtkTreeSortableHasDefaultSortFunc(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSortable}}}} \value{[logical] \code{TRUE}, if the model has a default sort function} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutString.Rd0000644000176000001440000000143312362217677017610 0ustar ripleyusers\alias{gDataOutputStreamPutString} \name{gDataOutputStreamPutString} \title{gDataOutputStreamPutString} \description{Puts a string into the output stream.} \usage{gDataOutputStreamPutString(object, str, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{str}}{a string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{string} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetTransientFor.Rd0000644000176000001440000000170512362217677017305 0ustar ripleyusers\alias{gtkWindowSetTransientFor} \name{gtkWindowSetTransientFor} \title{gtkWindowSetTransientFor} \description{Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. \code{\link{gtkDialogNewWithButtons}} and other convenience functions in GTK+ will sometimes call \code{\link{gtkWindowSetTransientFor}} on your behalf.} \usage{gtkWindowSetTransientFor(object, parent = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{parent}}{parent window, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Passing \code{NULL} for \code{parent} unsets the current transient window. On Windows, this function puts the child window on top of the parent, much as the window manager would have done on X.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoWriteFunc.Rd0000644000176000001440000000205711766145227015240 0ustar ripleyusers\name{CairoWriteFunc} \alias{CairoWriteFunc} \title{CairoWriteFunc} \description{A callback used by cairo for outputting graphics data in formats like svg and png.} \section{Signature}{ \describe{ \item{}{\code{CairoWriteFunc(data, length, user_data)}: The type of function which is called when a backend needs to write data to an output stream. It is passed the closure which was specified by the user at the time the write function was registered, the data to write and the length of the data in bytes. The write function should return \code{CAIRO_STATUS_SUCCESS} if all the data was successfully written, \code{CAIRO_STATUS_WRITE_ERROR} otherwise. \describe{ \item{\code{data}}{[raw] the buffer containing the data to write} \item{\code{length}}{[numeric] the amount of data to write} \item{\code{user_data}}{[R object] user-supplied data} } } } } \references{\url{http://www.cairographics.org/manual/cairo-PNG-Support.html}} \author{Michael Lawrence} \keyword{internal} \keyword{IO} RGtk2/man/GtkPrintSettings.Rd0000644000176000001440000001767212362217677015612 0ustar ripleyusers\alias{GtkPrintSettings} \alias{GtkPageRange} \alias{gtkPrintSettings} \alias{GtkPrintSettingsFunc} \alias{GtkPageOrientation} \alias{GtkPrintDuplex} \alias{GtkPrintQuality} \alias{GtkNumberUpLayout} \alias{GtkPrintPages} \alias{GtkPageSet} \name{GtkPrintSettings} \title{GtkPrintSettings} \description{Stores print settings} \section{Methods and Functions}{ \code{\link{gtkPrintSettingsNew}()}\cr \code{\link{gtkPrintSettingsCopy}(object)}\cr \code{\link{gtkPrintSettingsHasKey}(object, key)}\cr \code{\link{gtkPrintSettingsGet}(object, key)}\cr \code{\link{gtkPrintSettingsSet}(object, key, value)}\cr \code{\link{gtkPrintSettingsUnset}(object, key)}\cr \code{\link{gtkPrintSettingsForeach}(object, func, user.data = NULL)}\cr \code{\link{gtkPrintSettingsGetBool}(object, key)}\cr \code{\link{gtkPrintSettingsSetBool}(object, key, value)}\cr \code{\link{gtkPrintSettingsGetDouble}(object, key)}\cr \code{\link{gtkPrintSettingsGetDoubleWithDefault}(object, key, def)}\cr \code{\link{gtkPrintSettingsSetDouble}(object, key, value)}\cr \code{\link{gtkPrintSettingsGetLength}(object, key, unit)}\cr \code{\link{gtkPrintSettingsSetLength}(object, key, value, unit)}\cr \code{\link{gtkPrintSettingsGetInt}(object, key)}\cr \code{\link{gtkPrintSettingsGetIntWithDefault}(object, key, def)}\cr \code{\link{gtkPrintSettingsSetInt}(object, key, value)}\cr \code{\link{gtkPrintSettingsGetPrinter}(object)}\cr \code{\link{gtkPrintSettingsSetPrinter}(object, printer)}\cr \code{\link{gtkPrintSettingsGetOrientation}(object)}\cr \code{\link{gtkPrintSettingsSetOrientation}(object, orientation)}\cr \code{\link{gtkPrintSettingsGetPaperSize}(object)}\cr \code{\link{gtkPrintSettingsSetPaperSize}(object, paper.size)}\cr \code{\link{gtkPrintSettingsGetPaperWidth}(object, unit)}\cr \code{\link{gtkPrintSettingsSetPaperWidth}(object, width, unit)}\cr \code{\link{gtkPrintSettingsGetPaperHeight}(object, unit)}\cr \code{\link{gtkPrintSettingsSetPaperHeight}(object, height, unit)}\cr \code{\link{gtkPrintSettingsGetUseColor}(object)}\cr \code{\link{gtkPrintSettingsSetUseColor}(object, use.color)}\cr \code{\link{gtkPrintSettingsGetCollate}(object)}\cr \code{\link{gtkPrintSettingsSetCollate}(object, collate)}\cr \code{\link{gtkPrintSettingsGetReverse}(object)}\cr \code{\link{gtkPrintSettingsSetReverse}(object, reverse)}\cr \code{\link{gtkPrintSettingsGetDuplex}(object)}\cr \code{\link{gtkPrintSettingsSetDuplex}(object, duplex)}\cr \code{\link{gtkPrintSettingsGetQuality}(object)}\cr \code{\link{gtkPrintSettingsSetQuality}(object, quality)}\cr \code{\link{gtkPrintSettingsGetNCopies}(object)}\cr \code{\link{gtkPrintSettingsSetNCopies}(object, num.copies)}\cr \code{\link{gtkPrintSettingsGetNumberUp}(object)}\cr \code{\link{gtkPrintSettingsSetNumberUp}(object, number.up)}\cr \code{\link{gtkPrintSettingsGetNumberUpLayout}(object)}\cr \code{\link{gtkPrintSettingsSetNumberUpLayout}(object, number.up.layout)}\cr \code{\link{gtkPrintSettingsGetResolution}(object)}\cr \code{\link{gtkPrintSettingsSetResolution}(object, resolution)}\cr \code{\link{gtkPrintSettingsSetResolutionXy}(object, resolution.x, resolution.y)}\cr \code{\link{gtkPrintSettingsGetResolutionX}(object)}\cr \code{\link{gtkPrintSettingsGetResolutionY}(object)}\cr \code{\link{gtkPrintSettingsGetPrinterLpi}(object)}\cr \code{\link{gtkPrintSettingsSetPrinterLpi}(object, lpi)}\cr \code{\link{gtkPrintSettingsGetScale}(object)}\cr \code{\link{gtkPrintSettingsSetScale}(object, scale)}\cr \code{\link{gtkPrintSettingsGetPrintPages}(object)}\cr \code{\link{gtkPrintSettingsSetPrintPages}(object, pages)}\cr \code{\link{gtkPrintSettingsGetPageRanges}(object, num.ranges)}\cr \code{\link{gtkPrintSettingsSetPageRanges}(object, page.ranges, num.ranges)}\cr \code{\link{gtkPrintSettingsGetPageSet}(object)}\cr \code{\link{gtkPrintSettingsSetPageSet}(object, page.set)}\cr \code{\link{gtkPrintSettingsGetDefaultSource}(object)}\cr \code{\link{gtkPrintSettingsSetDefaultSource}(object, default.source)}\cr \code{\link{gtkPrintSettingsGetMediaType}(object)}\cr \code{\link{gtkPrintSettingsSetMediaType}(object, media.type)}\cr \code{\link{gtkPrintSettingsGetDither}(object)}\cr \code{\link{gtkPrintSettingsSetDither}(object, dither)}\cr \code{\link{gtkPrintSettingsGetFinishings}(object)}\cr \code{\link{gtkPrintSettingsSetFinishings}(object, finishings)}\cr \code{\link{gtkPrintSettingsGetOutputBin}(object)}\cr \code{\link{gtkPrintSettingsSetOutputBin}(object, output.bin)}\cr \code{\link{gtkPrintSettingsNewFromFile}(file.name, .errwarn = TRUE)}\cr \code{\link{gtkPrintSettingsNewFromKeyFile}(key.file, group.name, .errwarn = TRUE)}\cr \code{\link{gtkPrintSettingsLoadFile}(object, file.name, .errwarn = TRUE)}\cr \code{\link{gtkPrintSettingsLoadKeyFile}(object, key.file, group.name, .errwarn = TRUE)}\cr \code{\link{gtkPrintSettingsToFile}(object, file.name, .errwarn = TRUE)}\cr \code{\link{gtkPrintSettingsToKeyFile}(object, key.file, group.name)}\cr \code{gtkPrintSettings()} } \section{Hierarchy}{\preformatted{GObject +----GtkPrintSettings}} \section{Detailed Description}{A GtkPrintSettings object represents the settings of a print dialog in a system-independent way. The main use for this object is that once you've printed you can get a settings object that represents the settings the user chose, and the next time you print you can pass that object in so that the user doesn't have to re-set all his settings. Its also possible to enumerate the settings so that you can easily save the settings for the next time your app runs, or even store them in a document. The predefined keys try to use shared values as much as possible so that moving such a document between systems still works. Printing support was added in GTK+ 2.10.} \section{Structures}{\describe{ \item{\verb{GtkPrintSettings}}{ \emph{undocumented } } \item{\verb{GtkPageRange}}{ \emph{undocumented } \strong{\verb{GtkPageRange} is a \link{transparent-type}.} \describe{ \item{\verb{start}}{[integer] } \item{\verb{end}}{[integer] } } } }} \section{Convenient Construction}{\code{gtkPrintSettings} is the equivalent of \code{\link{gtkPrintSettingsNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GtkPageOrientation}}{ \emph{undocumented } \describe{ \item{\verb{portrait}}{\emph{undocumented }} \item{\verb{landscape}}{\emph{undocumented }} \item{\verb{reverse-portrait}}{\emph{undocumented }} \item{\verb{reverse-landscape}}{\emph{undocumented }} } } \item{\verb{GtkPrintDuplex}}{ \emph{undocumented } \describe{ \item{\verb{simplex}}{\emph{undocumented }} \item{\verb{horizontal}}{\emph{undocumented }} \item{\verb{vertical}}{\emph{undocumented }} } } \item{\verb{GtkPrintQuality}}{ \emph{undocumented } \describe{ \item{\verb{low}}{\emph{undocumented }} \item{\verb{normal}}{\emph{undocumented }} \item{\verb{high}}{\emph{undocumented }} \item{\verb{draft}}{\emph{undocumented }} } } \item{\verb{GtkNumberUpLayout}}{ Used to determine the layout of pages on a sheet when printing multiple pages per sheet. \describe{ \item{\verb{left-to-right-top-to-bottom}}{\emph{undocumented }} \item{\verb{left-to-right-bottom-to-top}}{\emph{undocumented }} \item{\verb{right-to-left-top-to-bottom}}{\emph{undocumented }} \item{\verb{right-to-left-bottom-to-top}}{\emph{undocumented }} \item{\verb{top-to-bottom-left-to-right}}{\emph{undocumented }} \item{\verb{top-to-bottom-right-to-left}}{\emph{undocumented }} \item{\verb{bottom-to-top-left-to-right}}{\emph{undocumented }} \item{\verb{bottom-to-top-right-to-left}}{\emph{undocumented }} } } \item{\verb{GtkPrintPages}}{ \emph{undocumented } \describe{ \item{\verb{all}}{\emph{undocumented }} \item{\verb{current}}{\emph{undocumented }} \item{\verb{ranges}}{\emph{undocumented }} } } \item{\verb{GtkPageSet}}{ \emph{undocumented } \describe{ \item{\verb{all}}{\emph{undocumented }} \item{\verb{even}}{\emph{undocumented }} \item{\verb{odd}}{\emph{undocumented }} } } }} \section{User Functions}{\describe{\item{\code{GtkPrintSettingsFunc()}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkPrintSettings.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetLineIndex.Rd0000644000176000001440000000102712362217677017030 0ustar ripleyusers\alias{gtkTextIterGetLineIndex} \name{gtkTextIterGetLineIndex} \title{gtkTextIterGetLineIndex} \description{Returns the byte index of the iterator, counting from the start of a line. Remember that \code{\link{GtkTextBuffer}} encodes text in UTF-8, and that characters can require a variable number of bytes to represent.} \usage{gtkTextIterGetLineIndex(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] distance from start of line, in bytes} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowIconify.Rd0000644000176000001440000000157412362217677015617 0ustar ripleyusers\alias{gtkWindowIconify} \name{gtkWindowIconify} \title{gtkWindowIconify} \description{Asks to iconify (i.e. minimize) the specified \code{window}. Note that you shouldn't assume the window is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the window will end up iconified. Just don't write code that crashes if not.} \usage{gtkWindowIconify(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{It's permitted to call this function before showing a window, in which case the window will be iconified before it ever appears onscreen. You can track iconification via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufRenderPixmapAndMaskForColormap.Rd0000644000176000001440000000275212362217677022165 0ustar ripleyusers\alias{gdkPixbufRenderPixmapAndMaskForColormap} \name{gdkPixbufRenderPixmapAndMaskForColormap} \title{gdkPixbufRenderPixmapAndMaskForColormap} \description{Creates a pixmap and a mask bitmap which are returned in the \code{pixmap.return} and \code{mask.return} arguments, respectively, and renders a pixbuf and its corresponding tresholded alpha mask to them. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use \code{\link{gdkDrawPixbuf}}, and \code{\link{gdkPixbufRenderThresholdAlpha}}.} \usage{gdkPixbufRenderPixmapAndMaskForColormap(object, colormap, alpha.threshold = 127)} \arguments{ \item{\verb{object}}{A pixbuf.} \item{\verb{colormap}}{A \code{\link{GdkColormap}}} \item{\verb{alpha.threshold}}{Threshold value for opacity values.} } \details{The pixmap that is created uses the \code{\link{GdkColormap}} specified by \code{colormap}. This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result. If the pixbuf does not have an alpha channel, then *\code{mask.return} will be set to \code{NULL}.} \value{ A list containing the following elements: \item{\verb{pixmap.return}}{Location to store a pointer to the created pixmap, or \code{NULL} if the pixmap is not needed.} \item{\verb{mask.return}}{Location to store a pointer to the created mask, or \code{NULL} if the mask is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNewWithLabelFromWidget.Rd0000644000176000001440000000123512362217677021761 0ustar ripleyusers\alias{gtkRadioMenuItemNewWithLabelFromWidget} \name{gtkRadioMenuItemNewWithLabelFromWidget} \title{gtkRadioMenuItemNewWithLabelFromWidget} \description{Creates a new GtkRadioMenuItem whose child is a simple GtkLabel. The new \code{\link{GtkRadioMenuItem}} is added to the same group as \code{group}.} \usage{gtkRadioMenuItemNewWithLabelFromWidget(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{an existing \code{\link{GtkRadioMenuItem}}} \item{\verb{label}}{the text for the label} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The new \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeSetSearchPath.Rd0000644000176000001440000000215711766145227017315 0ustar ripleyusers\alias{gtkIconThemeSetSearchPath} \name{gtkIconThemeSetSearchPath} \title{gtkIconThemeSetSearchPath} \description{Sets the search path for the icon theme object. When looking for an icon theme, GTK+ will search for a subdirectory of one or more of the directories in \code{path} with the same name as the icon theme. (Themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the user's home directory.)} \usage{gtkIconThemeSetSearchPath(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{path}}{array of directories that are searched for icon themes} } \details{In addition if an icon found isn't found either in the current icon theme or the default icon theme, and an image file with the right name is found directly in one of the elements of \code{path}, then that image will be used for the icon name. (This is legacy feature, and new icons should be put into the default icon theme, which is called DEFAULT_THEME_NAME, rather than directly on the icon path.) Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetOperator.Rd0000644000176000001440000000115312362217677015577 0ustar ripleyusers\alias{cairoSetOperator} \name{cairoSetOperator} \title{cairoSetOperator} \description{Sets the compositing operator to be used for all drawing operations. See \code{\link{CairoOperator}} for details on the semantics of each available compositing operator.} \usage{cairoSetOperator(cr, op)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{op}}{[\code{\link{CairoOperator}}] a compositing operator, specified as a \code{\link{CairoOperator}}} } \details{The default operator is \code{CAIRO_OPERATOR_OVER}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrUnderlineColorNew.Rd0000644000176000001440000000124312362217677017570 0ustar ripleyusers\alias{pangoAttrUnderlineColorNew} \name{pangoAttrUnderlineColorNew} \title{pangoAttrUnderlineColorNew} \description{Create a new underline color attribute. This attribute modifies the color of underlines. If not set, underlines will use the foreground color.} \usage{pangoAttrUnderlineColorNew(red, green, blue)} \arguments{ \item{\verb{red}}{[integer] the red value (ranging from 0 to 65535)} \item{\verb{green}}{[integer] the green value} \item{\verb{blue}}{[integer] the blue value} } \details{ Since 1.8} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetPixbuf.Rd0000644000176000001440000000124312362217677015660 0ustar ripleyusers\alias{gtkImageGetPixbuf} \name{gtkImageGetPixbuf} \title{gtkImageGetPixbuf} \description{Gets the \code{\link{GdkPixbuf}} being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_PIXBUF} (see \code{\link{gtkImageGetStorageType}}). The caller of this function does not own a reference to the returned pixbuf.} \usage{gtkImageGetPixbuf(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{[\code{\link{GdkPixbuf}}] the displayed pixbuf, or \code{NULL} if the image is empty. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMoveRegion.Rd0000644000176000001440000000133412362217677016243 0ustar ripleyusers\alias{gdkWindowMoveRegion} \name{gdkWindowMoveRegion} \title{gdkWindowMoveRegion} \description{Move the part of \code{window} indicated by \code{region} by \code{dy} pixels in the Y direction and \code{dx} pixels in the X direction. The portions of \code{region} that not covered by the new position of \code{region} are invalidated.} \usage{gdkWindowMoveRegion(object, region, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{region}}{The \code{\link{GdkRegion}} to move} \item{\verb{x}}{Amount to move in the X direction} \item{\verb{y}}{Amount to move in the Y direction} } \details{Child windows are not moved. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetCustom.Rd0000644000176000001440000000142412362217677016322 0ustar ripleyusers\alias{gtkTooltipSetCustom} \name{gtkTooltipSetCustom} \title{gtkTooltipSetCustom} \description{Replaces the widget packed into the tooltip with \code{custom.widget}. \code{custom.widget} does not get destroyed when the tooltip goes away. By default a box with a \code{\link{GtkImage}} and \code{\link{GtkLabel}} is embedded in the tooltip, which can be configured using \code{\link{gtkTooltipSetMarkup}} and \code{\link{gtkTooltipSetIcon}}.} \usage{gtkTooltipSetCustom(object, custom.widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{custom.widget}}{a \code{\link{GtkWidget}}, or \code{NULL} to unset the old custom widget. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetFocusOnMap.Rd0000644000176000001440000000154212362217677016660 0ustar ripleyusers\alias{gdkWindowSetFocusOnMap} \name{gdkWindowSetFocusOnMap} \title{gdkWindowSetFocusOnMap} \description{Setting \code{focus.on.map} to \code{FALSE} hints the desktop environment that the window doesn't want to receive input focus when it is mapped. focus_on_map should be turned off for windows that aren't triggered interactively (such as popups from network activity).} \usage{gdkWindowSetFocusOnMap(object, focus.on.map)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{focus.on.map}}{\code{TRUE} if the window should receive input focus when mapped} } \details{On X, it is the responsibility of the window manager to interpret this hint. Window managers following the freedesktop.org window manager extension specification should respect it. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPropertyDelete.Rd0000644000176000001440000000053712362217677015754 0ustar ripleyusers\alias{gdkPropertyDelete} \name{gdkPropertyDelete} \title{gdkPropertyDelete} \description{Deletes a property from a window.} \usage{gdkPropertyDelete(object, property)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}.} \item{\verb{property}}{the property to delete.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRemoveTagByName.Rd0000644000176000001440000000120112362217677017776 0ustar ripleyusers\alias{gtkTextBufferRemoveTagByName} \name{gtkTextBufferRemoveTagByName} \title{gtkTextBufferRemoveTagByName} \description{Calls \code{\link{gtkTextTagTableLookup}} on the buffer's tag table to get a \code{\link{GtkTextTag}}, then calls \code{\link{gtkTextBufferRemoveTag}}.} \usage{gtkTextBufferRemoveTagByName(object, name, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{name}}{name of a \code{\link{GtkTextTag}}} \item{\verb{start}}{one bound of range to be untagged} \item{\verb{end}}{other bound of range to be untagged} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetSnapshot.Rd0000644000176000001440000000366112362217677016431 0ustar ripleyusers\alias{gtkWidgetGetSnapshot} \name{gtkWidgetGetSnapshot} \title{gtkWidgetGetSnapshot} \description{Create a \code{\link{GdkPixmap}} of the contents of the widget and its children.} \usage{gtkWidgetGetSnapshot(object, clip.rect = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{clip.rect}}{a \code{\link{GdkRectangle}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Works even if the widget is obscured. The depth and visual of the resulting pixmap is dependent on the widget being snapshot and likely differs from those of a target widget displaying the pixmap. The function \code{\link{gdkPixbufGetFromDrawable}} can be used to convert the pixmap to a visual independant representation. The snapshot area used by this function is the \code{widget}'s allocation plus any extra space occupied by additional windows belonging to this widget (such as the arrows of a spin button). Thus, the resulting snapshot pixmap is possibly larger than the allocation. If \code{clip.rect} is non-\code{NULL}, the resulting pixmap is shrunken to match the specified clip_rect. The (x,y) coordinates of \code{clip.rect} are interpreted widget relative. If width or height of \code{clip.rect} are 0 or negative, the width or height of the resulting pixmap will be shrunken by the respective amount. For instance a \code{clip.rect} \code{{ +5, +5, -10, -10 }} will chop off 5 pixels at each side of the snapshot pixmap. If non-\code{NULL}, \code{clip.rect} will contain the exact widget-relative snapshot coordinates upon return. A \code{clip.rect} of \code{{ -1, -1, 0, 0 }} can be used to preserve the auto-grown snapshot area and use \code{clip.rect} as a pure output parameter. The returned pixmap can be \code{NULL}, if the resulting \code{clip.area} was empty. Since 2.14} \value{[\code{\link{GdkPixmap}}] \code{\link{GdkPixmap}} snapshot of the widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentChanged.Rd0000644000176000001440000000076112362217677016414 0ustar ripleyusers\alias{gtkAdjustmentChanged} \name{gtkAdjustmentChanged} \title{gtkAdjustmentChanged} \description{Emits a "changed" signal from the \code{\link{GtkAdjustment}}. This is typically called by the owner of the \code{\link{GtkAdjustment}} after it has changed any of the \code{\link{GtkAdjustment}} fields other than the value.} \usage{gtkAdjustmentChanged(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCGetColormap.Rd0000644000176000001440000000105412362217677015426 0ustar ripleyusers\alias{gdkGCGetColormap} \name{gdkGCGetColormap} \title{gdkGCGetColormap} \description{Retrieves the colormap for a given GC, if it exists. A GC will have a colormap if the drawable for which it was created has a colormap, or if a colormap was set explicitely with gdk_gc_set_colormap.} \usage{gdkGCGetColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkGC}}}} \value{[\code{\link{GdkColormap}}] the colormap of \code{gc}, or \code{NULL} if \code{gc} doesn't have one.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetGetSizes.Rd0000644000176000001440000000111412362217677016037 0ustar ripleyusers\alias{gtkIconSetGetSizes} \name{gtkIconSetGetSizes} \title{gtkIconSetGetSizes} \description{Obtains a list of icon sizes this icon set can render.} \usage{gtkIconSetGetSizes(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSet}}}} \value{ A list containing the following elements: \item{\verb{sizes}}{return location for list of sizes. \emph{[ \acronym{array} length=n_sizes][ \acronym{out} ][ \acronym{type} int]}} \item{\verb{n.sizes}}{location to store number of elements in returned list} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromAnimation.Rd0000644000176000001440000000074612362217677017211 0ustar ripleyusers\alias{gtkImageSetFromAnimation} \name{gtkImageSetFromAnimation} \title{gtkImageSetFromAnimation} \description{Causes the \code{\link{GtkImage}} to display the given animation (or display nothing, if you set the animation to \code{NULL}).} \usage{gtkImageSetFromAnimation(object, animation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{animation}}{the \code{\link{GdkPixbufAnimation}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSpeaksIpv4.Rd0000644000176000001440000000126612362217677015630 0ustar ripleyusers\alias{gSocketSpeaksIpv4} \name{gSocketSpeaksIpv4} \title{gSocketSpeaksIpv4} \description{Checks if a socket is capable of speaking IPv4.} \usage{gSocketSpeaksIpv4(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}}} \details{IPv4 sockets are capable of speaking IPv4. On some operating systems and under some combinations of circumstances IPv6 sockets are also capable of speaking IPv4. See RFC 3493 section 3.7 for more information. No other types of sockets are currently considered as being capable of speaking IPv4. Since 2.22.} \value{[logical] \code{TRUE} if this socket can be used with IPv4.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAppendToFinish.Rd0000644000176000001440000000132612362217677016136 0ustar ripleyusers\alias{gFileAppendToFinish} \name{gFileAppendToFinish} \title{gFileAppendToFinish} \description{Finishes an asynchronous file append operation started with \code{\link{gFileAppendToAsync}}.} \usage{gFileAppendToFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{\code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a valid \code{\link{GFileOutputStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFindAllByRowData.Rd0000644000176000001440000000124712362217677017035 0ustar ripleyusers\alias{gtkCTreeFindAllByRowData} \name{gtkCTreeFindAllByRowData} \title{gtkCTreeFindAllByRowData} \description{ Finds all nodes in the tree under \code{node} that have the given user data pointer. \strong{WARNING: \code{gtk_ctree_find_all_by_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFindAllByRowData(object, node, data = NULL)} \arguments{ \item{\verb{object}}{A list of nodes that have the given data pointer.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \value{[list] A list of nodes that have the given data pointer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoriesPathDelete.Rd0000644000176000001440000000122112362217677017512 0ustar ripleyusers\alias{gtkItemFactoriesPathDelete} \name{gtkItemFactoriesPathDelete} \title{gtkItemFactoriesPathDelete} \description{ Deletes all widgets constructed from the specified path. \strong{WARNING: \code{gtk_item_factories_path_delete} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoriesPathDelete(ifactory.path, path)} \arguments{ \item{\verb{ifactory.path}}{a factory path to prepend to \code{path}. May be \code{NULL} if \code{path} starts with a factory path} \item{\verb{path}}{a path} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetPixelSize.Rd0000644000176000001440000000100312362217677016345 0ustar ripleyusers\alias{gtkImageSetPixelSize} \name{gtkImageSetPixelSize} \title{gtkImageSetPixelSize} \description{Sets the pixel size to use for named icons. If the pixel size is set to a value != -1, it is used instead of the icon size set by \code{\link{gtkImageSetFromIconName}}.} \usage{gtkImageSetPixelSize(object, pixel.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{pixel.size}}{the new pixel size} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetDestroy.Rd0000644000176000001440000000166512362217677015625 0ustar ripleyusers\alias{gtkWidgetDestroy} \name{gtkWidgetDestroy} \title{gtkWidgetDestroy} \description{Destroys a widget. except that you don't have to cast the widget to \code{\link{GtkObject}}. When a widget is destroyed, it will break any references it holds to other objects. If the widget is inside a container, the widget will be removed from the container. If the widget is a toplevel (derived from \code{\link{GtkWindow}}), it will be removed from the list of toplevels, and the reference GTK+ holds to it will be removed. Removing a widget from its container or the list of toplevels results in the widget being finalized,} \usage{gtkWidgetDestroy(object, ...)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{In most cases, only toplevel widgets (windows) require explicit destruction, because when you destroy a toplevel its children will be destroyed as well.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkColorSelectionDialog.Rd0000644000176000001440000000627612362217677017037 0ustar ripleyusers\alias{GtkColorSelectionDialog} \alias{gtkColorSelectionDialog} \name{GtkColorSelectionDialog} \title{GtkColorSelectionDialog} \description{A standard dialog box for selecting a color} \section{Methods and Functions}{ \code{\link{gtkColorSelectionDialogNew}(title = NULL, show = TRUE)}\cr \code{\link{gtkColorSelectionDialogGetColorSelection}(object)}\cr \code{gtkColorSelectionDialog(title = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkColorSelectionDialog}} \section{Interfaces}{GtkColorSelectionDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkColorSelectionDialog}} provides a standard dialog which allows the user to select a color much like the \code{\link{GtkFileSelection}} provides a standard dialog for file selection.} \section{GtkColorSelectionDialog as GtkBuildable}{The GtkColorSelectionDialog implementation of the GtkBuildable interface exposes the embedded \code{\link{GtkColorSelection}} as internal child with the name "color_selection". It also exposes the buttons with the names "ok_button", "cancel_button" and "help_button".} \section{Structures}{\describe{\item{\verb{GtkColorSelectionDialog}}{ The \code{\link{GtkColorSelectionDialog}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{ \code{\link{GtkWidget}} *colorsel; \tab The \code{\link{GtkColorSelection}} widget contained within the dialog. Use this widget and its \code{\link{gtkColorSelectionGetCurrentColor}} function to gain access to the selected color. Connect a handler for this widget's color_changed signal to be notified when the color changes. \cr \code{\link{GtkWidget}} *ok_button; \tab The OK button widget contained within the dialog. Connect a handler for the clicked event. \cr \code{\link{GtkWidget}} *cancel_button; \tab The cancel button widget contained within the dialog. Connect a handler for the clicked event. \cr \code{\link{GtkWidget}} *help_button; \tab The help button widget contained within the dialog. Connect a handler for the clicked event. \cr } }}} \section{Convenient Construction}{\code{gtkColorSelectionDialog} is the equivalent of \code{\link{gtkColorSelectionDialogNew}}.} \section{Properties}{\describe{ \item{\verb{cancel-button} [\code{\link{GtkWidget}} : * : Read]}{ The cancel button of the dialog. } \item{\verb{color-selection} [\code{\link{GtkWidget}} : * : Read]}{ The color selection embedded in the dialog. } \item{\verb{help-button} [\code{\link{GtkWidget}} : * : Read]}{ The help button of the dialog. } \item{\verb{ok-button} [\code{\link{GtkWidget}} : * : Read]}{ The OK button of the dialog. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkColorSelectionDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferSetText.Rd0000644000176000001440000000104312362217677016415 0ustar ripleyusers\alias{gtkTextBufferSetText} \name{gtkTextBufferSetText} \title{gtkTextBufferSetText} \description{Deletes current contents of \code{buffer}, and inserts \code{text} instead. If \code{len} is -1, \code{text} must be nul-terminated. \code{text} must be valid UTF-8.} \usage{gtkTextBufferSetText(object, text, len = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{text}}{UTF-8 text to insert} \item{\verb{len}}{length of \code{text} in bytes} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorCancel.Rd0000644000176000001440000000053012362217677016014 0ustar ripleyusers\alias{gFileMonitorCancel} \name{gFileMonitorCancel} \title{gFileMonitorCancel} \description{Cancels a file monitor.} \usage{gFileMonitorCancel(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileMonitor}}.}} \value{[logical] \code{TRUE} if monitor was cancelled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonEnter.Rd0000644000176000001440000000102512362217677015267 0ustar ripleyusers\alias{gtkButtonEnter} \name{gtkButtonEnter} \title{gtkButtonEnter} \description{ Emits a \code{\link{gtkButtonEnter}} signal to the given \code{\link{GtkButton}}. \strong{WARNING: \code{gtk_button_enter} has been deprecated since version 2.20 and should not be used in newly-written code. Use the \verb{"enter-notify-event"} signal.} } \usage{gtkButtonEnter(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want to send the signal to.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionConnectAccelerator.Rd0000644000176000001440000000137712362217677017724 0ustar ripleyusers\alias{gtkActionConnectAccelerator} \name{gtkActionConnectAccelerator} \title{gtkActionConnectAccelerator} \description{Installs the accelerator for \code{action} if \code{action} has an accel path and group. See \code{\link{gtkActionSetAccelPath}} and \code{\link{gtkActionSetAccelGroup}}} \usage{gtkActionConnectAccelerator(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since multiple proxies may independently trigger the installation of the accelerator, the \code{action} counts the number of times this function has been called and doesn't remove the accelerator until \code{\link{gtkActionDisconnectAccelerator}} has been called as many times. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationPreviewIsSelected.Rd0000644000176000001440000000110612362217677021302 0ustar ripleyusers\alias{gtkPrintOperationPreviewIsSelected} \name{gtkPrintOperationPreviewIsSelected} \title{gtkPrintOperationPreviewIsSelected} \description{Returns whether the given page is included in the set of pages that have been selected for printing.} \usage{gtkPrintOperationPreviewIsSelected(object, page.nr)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperationPreview}}} \item{\verb{page.nr}}{a page number} } \details{Since 2.10} \value{[logical] \code{TRUE} if the page has been selected for printing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetVersion.Rd0000644000176000001440000000057112362217677017223 0ustar ripleyusers\alias{gtkAboutDialogGetVersion} \name{gtkAboutDialogGetVersion} \title{gtkAboutDialogGetVersion} \description{Returns the version string.} \usage{gtkAboutDialogGetVersion(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The version string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryNew.Rd0000644000176000001440000000040612362217677014573 0ustar ripleyusers\alias{gtkEntryNew} \name{gtkEntryNew} \title{gtkEntryNew} \description{Creates a new entry.} \usage{gtkEntryNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkEntry}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetTearoffState.Rd0000644000176000001440000000064312362217677016677 0ustar ripleyusers\alias{gtkMenuGetTearoffState} \name{gtkMenuGetTearoffState} \title{gtkMenuGetTearoffState} \description{Returns whether the menu is torn off. See \code{\link{gtkMenuSetTearoffState}}.} \usage{gtkMenuGetTearoffState(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}}} \value{[logical] \code{TRUE} if the menu is currently torn off.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleGetDigits.Rd0000644000176000001440000000060412362217677015653 0ustar ripleyusers\alias{gtkScaleGetDigits} \name{gtkScaleGetDigits} \title{gtkScaleGetDigits} \description{Gets the number of decimal places that are displayed in the value.} \usage{gtkScaleGetDigits(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScale}}}} \value{[integer] the number of decimal places that are displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedGetHandleWindow.Rd0000644000176000001440000000110412362217677017007 0ustar ripleyusers\alias{gtkPanedGetHandleWindow} \name{gtkPanedGetHandleWindow} \title{gtkPanedGetHandleWindow} \description{Returns the \code{\link{GdkWindow}} of the handle. This function is useful when handling button or motion events because it enables the callback to distinguish between the window of the paned, a child and the handle.} \usage{gtkPanedGetHandleWindow(object)} \arguments{\item{\verb{object}}{the paned's handle window.}} \details{Since 2.20} \value{[\code{\link{GdkWindow}}] the paned's handle window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetHeadersClickable.Rd0000644000176000001440000000073012362217677020300 0ustar ripleyusers\alias{gtkTreeViewGetHeadersClickable} \name{gtkTreeViewGetHeadersClickable} \title{gtkTreeViewGetHeadersClickable} \description{Returns whether all header columns are clickable.} \usage{gtkTreeViewGetHeadersClickable(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \details{Since 2.10} \value{[logical] \code{TRUE} if all header columns are clickable, otherwise \code{FALSE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileStopMountableFinish.Rd0000644000176000001440000000151212362217677017215 0ustar ripleyusers\alias{gFileStopMountableFinish} \name{gFileStopMountableFinish} \title{gFileStopMountableFinish} \description{Finishes an stop operation, see \code{\link{gFileStopMountable}} for details.} \usage{gFileStopMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous stop operation that was started with \code{\link{gFileStopMountable}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation finished successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultGetOpResGboolean.Rd0000644000176000001440000000102712362217677021167 0ustar ripleyusers\alias{gSimpleAsyncResultGetOpResGboolean} \name{gSimpleAsyncResultGetOpResGboolean} \title{gSimpleAsyncResultGetOpResGboolean} \description{Gets the operation result boolean from within the asynchronous result.} \usage{gSimpleAsyncResultGetOpResGboolean(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \value{[logical] \code{TRUE} if the operation's result was \code{TRUE}, \code{FALSE} if the operation's result was \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInvisibleSetScreen.Rd0000644000176000001440000000070312362217677016560 0ustar ripleyusers\alias{gtkInvisibleSetScreen} \name{gtkInvisibleSetScreen} \title{gtkInvisibleSetScreen} \description{Sets the \code{\link{GdkScreen}} where the \code{\link{GtkInvisible}} object will be displayed.} \usage{gtkInvisibleSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInvisible}}.} \item{\verb{screen}}{a \code{\link{GdkScreen}}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetScaledFont.Rd0000644000176000001440000000161512362217677016015 0ustar ripleyusers\alias{cairoGetScaledFont} \name{cairoGetScaledFont} \title{cairoGetScaledFont} \description{Gets the current scaled font for a \code{\link{Cairo}}.} \usage{cairoGetScaledFont(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \details{ Since 1.4} \value{[\code{\link{CairoScaledFont}}] the current scaled font. To keep a reference to it, This function never returns \code{NULL}. If memory cannot be allocated, a special "nil" \code{\link{CairoScaledFont}} object will be returned on which \code{\link{cairoScaledFontStatus}} returns \code{CAIRO_STATUS_NO_MEMORY}. Using this nil object will cause its error state to propagate to other objects it is passed to, (for example, calling \code{\link{cairoSetScaledFont}} with a nil font will trigger an error that will shutdown the \code{\link{Cairo}} object).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathIsDescendant.Rd0000644000176000001440000000100012362217677017010 0ustar ripleyusers\alias{gtkTreePathIsDescendant} \name{gtkTreePathIsDescendant} \title{gtkTreePathIsDescendant} \description{Returns \code{TRUE} if \code{path} is a descendant of \code{ancestor}.} \usage{gtkTreePathIsDescendant(object, ancestor)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreePath}}} \item{\verb{ancestor}}{another \code{\link{GtkTreePath}}} } \value{[logical] \code{TRUE} if \code{ancestor} contains \code{path} somewhere below it} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupUnlock.Rd0000644000176000001440000000054012362217677016217 0ustar ripleyusers\alias{gtkAccelGroupUnlock} \name{gtkAccelGroupUnlock} \title{gtkAccelGroupUnlock} \description{Undoes the last call to \code{\link{gtkAccelGroupLock}} on this \code{accel.group}.} \usage{gtkAccelGroupUnlock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelGroup}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardSentenceEnds.Rd0000644000176000001440000000122112362217677020410 0ustar ripleyusers\alias{gtkTextIterForwardSentenceEnds} \name{gtkTextIterForwardSentenceEnds} \title{gtkTextIterForwardSentenceEnds} \description{Calls \code{\link{gtkTextIterForwardSentenceEnd}} \code{count} times (or until \code{\link{gtkTextIterForwardSentenceEnd}} returns \code{FALSE}). If \code{count} is negative, moves backward instead of forward.} \usage{gtkTextIterForwardSentenceEnds(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of sentences to move} } \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetSize.Rd0000644000176000001440000000132612362217677016111 0ustar ripleyusers\alias{pangoLayoutGetSize} \name{pangoLayoutGetSize} \title{pangoLayoutGetSize} \description{Determines the logical width and height of a \code{\link{PangoLayout}} in Pango units (device units scaled by \code{PANGO_SCALE}). This is simply a convenience function around \code{\link{pangoLayoutGetExtents}}.} \usage{pangoLayoutGetSize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{ A list containing the following elements: \item{\verb{width}}{[integer] location to store the logical width, or \code{NULL}} \item{\verb{height}}{[integer] location to store the logical height, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListNewWithTitles.Rd0000644000176000001440000000133712362217677016535 0ustar ripleyusers\alias{gtkCListNewWithTitles} \name{gtkCListNewWithTitles} \title{gtkCListNewWithTitles} \description{ Creates a new \code{\link{GtkCList}} widget with column titles for use. \strong{WARNING: \code{gtk_clist_new_with_titles} is deprecated and should not be used in newly-written code.} } \usage{gtkCListNewWithTitles(columns = 1, titles, show = TRUE)} \arguments{ \item{\verb{columns}}{The number of columns the \code{\link{GtkCList}} should have.} \item{\verb{titles}}{A string list of titles for the widget. There should be enough strings in the list for the specified number of columns.} } \value{[\code{\link{GtkWidget}}] A pointer to a new GtkCList object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragAbort.Rd0000644000176000001440000000060712362217677014650 0ustar ripleyusers\alias{gdkDragAbort} \name{gdkDragAbort} \title{gdkDragAbort} \description{Aborts a drag without dropping. } \usage{gdkDragAbort(object, time)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetProxies.Rd0000644000176000001440000000074212362217677016252 0ustar ripleyusers\alias{gtkActionGetProxies} \name{gtkActionGetProxies} \title{gtkActionGetProxies} \description{Returns the proxy widgets for an action. See also \code{\link{gtkWidgetGetAction}}.} \usage{gtkActionGetProxies(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[list] a \verb{list} of proxy widgets. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowMnemonicActivate.Rd0000644000176000001440000000075212362217677017442 0ustar ripleyusers\alias{gtkWindowMnemonicActivate} \name{gtkWindowMnemonicActivate} \title{gtkWindowMnemonicActivate} \description{Activates the targets associated with the mnemonic.} \usage{gtkWindowMnemonicActivate(object, keyval, modifier)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{keyval}}{the mnemonic} \item{\verb{modifier}}{the modifiers} } \value{[logical] \code{TRUE} if the activation is done.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceSetUnicodeToGlyphFunc.Rd0000644000176000001440000000156612362217677021772 0ustar ripleyusers\alias{cairoUserFontFaceSetUnicodeToGlyphFunc} \name{cairoUserFontFaceSetUnicodeToGlyphFunc} \title{cairoUserFontFaceSetUnicodeToGlyphFunc} \description{Sets the unicode-to-glyph conversion function of a user-font. See \verb{cairo_user_scaled_font_unicode_to_glyph_func_t} for details of how the callback works.} \usage{cairoUserFontFaceSetUnicodeToGlyphFunc(font.face, unicode.to.glyph.func)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face} \item{\verb{unicode.to.glyph.func}}{[cairo_user_scaled_font_unicode_to_glyph_func_t] The unicode_to_glyph callback, or \code{NULL}} } \details{The font-face should not be immutable or a \code{CAIRO_STATUS_USER_FONT_IMMUTABLE} error will occur. A user font-face is immutable as soon as a scaled-font is created from it. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressEnumeratorNext.Rd0000644000176000001440000000272312362217677020124 0ustar ripleyusers\alias{gSocketAddressEnumeratorNext} \name{gSocketAddressEnumeratorNext} \title{gSocketAddressEnumeratorNext} \description{Retrieves the next \code{\link{GSocketAddress}} from \code{enumerator}. Note that this may block for some amount of time. (Eg, a \code{\link{GNetworkAddress}} may need to do a DNS lookup before it can return an address.) Use \code{\link{gSocketAddressEnumeratorNextAsync}} if you need to avoid blocking.} \usage{gSocketAddressEnumeratorNext(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketAddressEnumerator}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{enumerator} is expected to yield addresses, but for some reason is unable to (eg, because of a DNS error), then the first call to \code{\link{gSocketAddressEnumeratorNext}} will return an appropriate error in *\code{error}. However, if the first call to \code{\link{gSocketAddressEnumeratorNext}} succeeds, then any further internal errors (other than \code{cancellable} being triggered) will be ignored.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] or \code{NULL} on error (in which case *\code{error} will be set) or if there are no more addresses.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetVisibleLineOffset.Rd0000644000176000001440000000102612362217677020540 0ustar ripleyusers\alias{gtkTextIterSetVisibleLineOffset} \name{gtkTextIterSetVisibleLineOffset} \title{gtkTextIterSetVisibleLineOffset} \description{Like \code{\link{gtkTextIterSetLineOffset}}, but the offset is in visible characters, i.e. text with a tag making it invisible is not counted in the offset.} \usage{gtkTextIterSetVisibleLineOffset(object, char.on.line)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{char.on.line}}{a character offset} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAddUriTargets.Rd0000644000176000001440000000100412362217677017520 0ustar ripleyusers\alias{gtkTargetListAddUriTargets} \name{gtkTargetListAddUriTargets} \title{gtkTargetListAddUriTargets} \description{Appends the URI targets supported by \verb{GtkSelection} to the target list. All targets are added with the same \code{info}.} \usage{gtkTargetListAddUriTargets(list, info)} \arguments{ \item{\verb{list}}{a \code{\link{GtkTargetList}}} \item{\verb{info}}{an ID that will be passed back to the application} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionCreateIcon.Rd0000644000176000001440000000110612362217677016170 0ustar ripleyusers\alias{gtkActionCreateIcon} \name{gtkActionCreateIcon} \title{gtkActionCreateIcon} \description{This function is intended for use by action implementations to create icons displayed in the proxy widgets.} \usage{gtkActionCreateIcon(object, icon.size)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{icon.size}}{the size of the icon that should be created. \emph{[ \acronym{type} int]}} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a widget that displays the icon for this action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveReset.Rd0000644000176000001440000000110612362217677015105 0ustar ripleyusers\alias{gtkCurveReset} \name{gtkCurveReset} \title{gtkCurveReset} \description{ Resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). The curve type is not changed. \strong{WARNING: \code{gtk_curve_reset} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveReset(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCurve}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetFilenames.Rd0000644000176000001440000000140611766145227017505 0ustar ripleyusers\alias{gtkFileChooserGetFilenames} \name{gtkFileChooserGetFilenames} \title{gtkFileChooserGetFilenames} \description{Lists all the selected files and subfolders in the current folder of \code{chooser}. The returned names are full absolute paths. If files in the current folder cannot be represented as local filenames they will be ignored. (See \code{\link{gtkFileChooserGetUris}})} \usage{gtkFileChooserGetFilenames(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[list] a \verb{list} containing the filenames of all selected files and subfolders in the current folder. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} utf8]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetHasFrame.Rd0000644000176000001440000000055112362217677016205 0ustar ripleyusers\alias{gtkEntrySetHasFrame} \name{gtkEntrySetHasFrame} \title{gtkEntrySetHasFrame} \description{Sets whether the entry has a beveled frame around it.} \usage{gtkEntrySetHasFrame(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{setting}}{new value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetIconPixbuf.Rd0000644000176000001440000000116012362217677016336 0ustar ripleyusers\alias{gtkDragSetIconPixbuf} \name{gtkDragSetIconPixbuf} \title{gtkDragSetIconPixbuf} \description{Sets \code{pixbuf} as the icon for a given drag.} \usage{gtkDragSetIconPixbuf(object, pixbuf, hot.x, hot.y)} \arguments{ \item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)} \item{\verb{pixbuf}}{the \code{\link{GdkPixbuf}} to use as the drag icon.} \item{\verb{hot.x}}{the X offset within \code{widget} of the hotspot.} \item{\verb{hot.y}}{the Y offset within \code{widget} of the hotspot.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceCreateForStream.Rd0000644000176000001440000000326012362217677020173 0ustar ripleyusers\alias{cairoPsSurfaceCreateForStream} \name{cairoPsSurfaceCreateForStream} \title{cairoPsSurfaceCreateForStream} \description{Creates a PostScript surface of the specified size in points to be written incrementally to the stream represented by \code{write.func} and \code{closure}. See \code{\link{cairoPsSurfaceCreate}} for a more convenient way to simply direct the PostScript output to a named file.} \usage{cairoPsSurfaceCreateForStream(write.func, closure, width.in.points, height.in.points)} \arguments{ \item{\verb{write.func}}{[\code{\link{CairoWriteFunc}}] a \code{\link{CairoWriteFunc}} to accept the output data, may be \code{NULL} to indicate a no-op \code{write.func}. With a no-op \code{write.func}, the surface may be queried or used as a source without generating any temporary files.} \item{\verb{closure}}{[R object] the closure argument for \code{write.func}} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{Note that the size of individual pages of the PostScript output can vary. See \code{\link{cairoPsSurfaceSetSize}}. Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetEditName.Rd0000644000176000001440000000065612362217677016246 0ustar ripleyusers\alias{gFileInfoSetEditName} \name{gFileInfoSetEditName} \title{gFileInfoSetEditName} \description{Sets the edit name for the current file. See \code{G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME}.} \usage{gFileInfoSetEditName(object, edit.name)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{edit.name}}{a string containing an edit name.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetJustification.Rd0000644000176000001440000000073012362217677017773 0ustar ripleyusers\alias{gtkTextViewGetJustification} \name{gtkTextViewGetJustification} \title{gtkTextViewGetJustification} \description{Gets the default justification of paragraphs in \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewGetJustification(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[\code{\link{GtkJustification}}] default justification} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetAlignment.Rd0000644000176000001440000000076612362217677017140 0ustar ripleyusers\alias{pangoLayoutSetAlignment} \name{pangoLayoutSetAlignment} \title{pangoLayoutSetAlignment} \description{Sets the alignment for the layout: how partial lines are positioned within the horizontal space available.} \usage{pangoLayoutSetAlignment(object, alignment)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{alignment}}{[\code{\link{PangoAlignment}}] the alignment} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorGetContainer.Rd0000644000176000001440000000072512362217677017711 0ustar ripleyusers\alias{gFileEnumeratorGetContainer} \name{gFileEnumeratorGetContainer} \title{gFileEnumeratorGetContainer} \description{Get the \code{\link{GFile}} container which is being enumerated.} \usage{gFileEnumeratorGetContainer(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileEnumerator}}}} \details{Since 2.18} \value{[\code{\link{GFile}}] the \code{\link{GFile}} which is being enumerated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetDescription.Rd0000644000176000001440000000067712362217677016673 0ustar ripleyusers\alias{gAppInfoGetDescription} \name{gAppInfoGetDescription} \title{gAppInfoGetDescription} \description{Gets a human-readable description of an installed application.} \usage{gAppInfoGetDescription(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[char] a string containing a description of the application \code{appinfo}, or \code{NULL} if none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMMulticontextSetContextId.Rd0000644000176000001440000000104712362217677020245 0ustar ripleyusers\alias{gtkIMMulticontextSetContextId} \name{gtkIMMulticontextSetContextId} \title{gtkIMMulticontextSetContextId} \description{Sets the context id for \code{context}.} \usage{gtkIMMulticontextSetContextId(object, context.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMMulticontext}}} \item{\verb{context.id}}{the id to use} } \details{This causes the currently active slave of \code{context} to be replaced by the slave corresponding to the new context id. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetSpacing.Rd0000644000176000001440000000074512362217677016011 0ustar ripleyusers\alias{gtkCTreeSetSpacing} \name{gtkCTreeSetSpacing} \title{gtkCTreeSetSpacing} \description{ The spacing between the tree graphic and the actual node content. \strong{WARNING: \code{gtk_ctree_set_spacing} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{spacing}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetRowData.Rd0000644000176000001440000000066412362217677016560 0ustar ripleyusers\alias{gtkCTreeNodeGetRowData} \name{gtkCTreeNodeGetRowData} \title{gtkCTreeNodeGetRowData} \description{ \strong{WARNING: \code{gtk_ctree_node_get_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetRowData(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnClicked.Rd0000644000176000001440000000062012362217677017205 0ustar ripleyusers\alias{gtkTreeViewColumnClicked} \name{gtkTreeViewColumnClicked} \title{gtkTreeViewColumnClicked} \description{Emits the "clicked" signal on the column. This function will only work if \code{tree.column} is clickable.} \usage{gtkTreeViewColumnClicked(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetIdentifier.Rd0000644000176000001440000000114212362217677016371 0ustar ripleyusers\alias{gVolumeGetIdentifier} \name{gVolumeGetIdentifier} \title{gVolumeGetIdentifier} \description{Gets the identifier of the given kind for \code{volume}. See the introduction for more information about volume identifiers.} \usage{gVolumeGetIdentifier(object, kind)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}} \item{\verb{kind}}{the kind of identifier to return} } \value{[char] a newly allocated string containing the requested identfier, or \code{NULL} if the \code{\link{GVolume}} doesn't have this kind of identifier} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetModel.Rd0000644000176000001440000000074012362217677017575 0ustar ripleyusers\alias{gtkEntryCompletionGetModel} \name{gtkEntryCompletionGetModel} \title{gtkEntryCompletionGetModel} \description{Returns \code{NULL} if the model is unset.} \usage{gtkEntryCompletionGetModel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.}} \details{Since 2.4} \value{[\code{\link{GtkTreeModel}}] A \code{\link{GtkTreeModel}}, or \code{NULL} if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextFocusIn.Rd0000644000176000001440000000070612362217677016164 0ustar ripleyusers\alias{gtkIMContextFocusIn} \name{gtkIMContextFocusIn} \title{gtkIMContextFocusIn} \description{Notify the input method that the widget to which this input context corresponds has gained focus. The input method may, for example, change the displayed feedback to reflect this change.} \usage{gtkIMContextFocusIn(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMContext}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-Extension-Points.Rd0000644000176000001440000000502712362217677016320 0ustar ripleyusers\alias{gio-Extension-Points} \alias{GIOExtension} \alias{GIOExtensionPoint} \name{gio-Extension-Points} \title{Extension Points} \description{Extension Points} \section{Methods and Functions}{ \code{\link{gIoExtensionGetName}(object)}\cr \code{\link{gIoExtensionGetPriority}(object)}\cr \code{\link{gIoExtensionGetType}(object)}\cr \code{\link{gIoExtensionPointGetExtensionByName}(object, name)}\cr \code{\link{gIoExtensionPointGetExtensions}(object)}\cr \code{\link{gIoExtensionPointGetRequiredType}(object)}\cr \code{\link{gIoExtensionPointImplement}(extension.point.name, type, extension.name, priority)}\cr \code{\link{gIoExtensionPointLookup}(name)}\cr \code{\link{gIoExtensionPointRegister}(name)}\cr \code{\link{gIoExtensionPointSetRequiredType}(object, type)}\cr \code{\link{gIoExtensionRefClass}(object)}\cr } \section{Detailed Description}{\code{\link{GIOExtensionPoint}} provides a mechanism for modules to extend the functionality of the library or application that loaded it in an organized fashion. An extension point is identified by a name, and it may optionally require that any implementation must by of a certain type (or derived thereof). Use \code{\link{gIoExtensionPointRegister}} to register an extension point, and \code{\link{gIoExtensionPointSetRequiredType}} to set a required type. A module can implement an extension point by specifying the \code{\link{GType}} that implements the functionality. Additionally, each implementation of an extension point has a name, and a priority. Use \code{\link{gIoExtensionPointImplement}} to implement an extension point. \preformatted{ ## Register an extension point ep <- gIoExtensionPointRegister("my-extension-point") ep$setRequiredType(MY_TYPE_EXAMPLE) } \preformatted{ ## Implement an extension point myExampleImplType <- gClass("MyExampleImpl", MY_TYPE_EXAMPLE) gIoExtensionPointImplement ("my-extension-point", myExampleImplType, "my-example", 10); } It is up to the code that registered the extension point how it uses the implementations that have been associated with it. Depending on the use case, it may use all implementations, or only the one with the highest priority, or pick a specific one by name.} \section{Structures}{\describe{ \item{\verb{GIOExtension}}{ \emph{undocumented } } \item{\verb{GIOExtensionPoint}}{ \emph{undocumented } } }} \references{\url{http://library.gnome.org/devel//gio/gio-Extension-Points.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddActions.Rd0000644000176000001440000000127612362217677017212 0ustar ripleyusers\alias{gtkActionGroupAddActions} \name{gtkActionGroupAddActions} \title{gtkActionGroupAddActions} \description{This is a convenience function to create a number of actions and add them to the action group.} \usage{gtkActionGroupAddActions(object, entries, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of action descriptions} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{The "activate" signals of the actions are connected to the callbacks and their accel paths are set to \code{/ \\var{group-name} / \\var{action-name}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutUint32.Rd0000644000176000001440000000146312362217677017431 0ustar ripleyusers\alias{gDataOutputStreamPutUint32} \name{gDataOutputStreamPutUint32} \title{gDataOutputStreamPutUint32} \description{Puts an unsigned 32-bit integer into the stream.} \usage{gDataOutputStreamPutUint32(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{numeric}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemGetAccelPath.Rd0000644000176000001440000000105512362217677016751 0ustar ripleyusers\alias{gtkMenuItemGetAccelPath} \name{gtkMenuItemGetAccelPath} \title{gtkMenuItemGetAccelPath} \description{Retrieve the accelerator path that was previously set on \code{menu.item}.} \usage{gtkMenuItemGetAccelPath(object)} \arguments{\item{\verb{object}}{a valid \code{\link{GtkMenuItem}}}} \details{See \code{\link{gtkMenuItemSetAccelPath}} for details. Since 2.14} \value{[character] the accelerator path corresponding to this menu item's functionality, or \code{NULL} if not set} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetStyle.Rd0000644000176000001440000000073312362217677016754 0ustar ripleyusers\alias{gtkToolPaletteSetStyle} \name{gtkToolPaletteSetStyle} \title{gtkToolPaletteSetStyle} \description{Sets the style (text, icons or both) of items in the tool palette.} \usage{gtkToolPaletteSetStyle(object, style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{style}}{the \code{\link{GtkToolbarStyle}} that items in the tool palette shall have} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetForeground.Rd0000644000176000001440000000106712362217677016551 0ustar ripleyusers\alias{gtkCListSetForeground} \name{gtkCListSetForeground} \title{gtkCListSetForeground} \description{ Sets the foreground color for the specified row. \strong{WARNING: \code{gtk_clist_set_foreground} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetForeground(object, row, color)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{color}}{A pointer to a \code{\link{GdkColor}} structure.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryGetWidget.Rd0000644000176000001440000000165012362217677017054 0ustar ripleyusers\alias{gtkItemFactoryGetWidget} \name{gtkItemFactoryGetWidget} \title{gtkItemFactoryGetWidget} \description{ Obtains the widget which corresponds to \code{path}. \strong{WARNING: \code{gtk_item_factory_get_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryGetWidget(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{path}}{the path to the widget} } \details{If the widget corresponding to \code{path} is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use \code{\link{gtkItemFactoryGetItem}} instead.} \value{[\code{\link{GtkWidget}}] the widget for the given path, or \code{NULL} if \code{path} doesn't lead to a widget. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetCursor.Rd0000644000176000001440000000214012362217677016412 0ustar ripleyusers\alias{gtkIconViewSetCursor} \name{gtkIconViewSetCursor} \title{gtkIconViewSetCursor} \description{Sets the current keyboard focus to be at \code{path}, and selects it. This is useful when you want to focus the user's attention on a particular item. If \code{cell} is not \code{NULL}, then focus is given to the cell specified by it. Additionally, if \code{start.editing} is \code{TRUE}, then editing should be started in the specified cell. } \usage{gtkIconViewSetCursor(object, path, cell, start.editing)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}} \item{\verb{path}}{A \code{\link{GtkTreePath}}} \item{\verb{cell}}{One of the cell renderers of \code{icon.view}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{start.editing}}{\code{TRUE} if the specified cell should start being edited.} } \details{This function is often followed by \code{gtk_widget_grab_focus (icon_view)} in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetPixtext.Rd0000644000176000001440000000140212362217677016653 0ustar ripleyusers\alias{gtkCTreeNodeGetPixtext} \name{gtkCTreeNodeGetPixtext} \title{gtkCTreeNodeGetPixtext} \description{ Get the parameters of a cell containing both a pixmap and text. \strong{WARNING: \code{gtk_ctree_node_get_pixtext} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetPixtext(object, node, column)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} } \value{ A list containing the following elements: \item{\verb{text}}{\emph{undocumented }} \item{\verb{spacing}}{\emph{undocumented }} \item{\verb{pixmap}}{\emph{undocumented }} \item{\verb{mask}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetSortIndicator.Rd0000644000176000001440000000120112362217677021103 0ustar ripleyusers\alias{gtkTreeViewColumnSetSortIndicator} \name{gtkTreeViewColumnSetSortIndicator} \title{gtkTreeViewColumnSetSortIndicator} \description{Call this function with a \code{setting} of \code{TRUE} to display an arrow in the header button indicating the column is sorted. Call \code{\link{gtkTreeViewColumnSetSortOrder}} to change the direction of the arrow.} \usage{gtkTreeViewColumnSetSortIndicator(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}} \item{\verb{setting}}{\code{TRUE} to display an indicator that the column is sorted} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugGetId.Rd0000644000176000001440000000072712362217677014652 0ustar ripleyusers\alias{gtkPlugGetId} \name{gtkPlugGetId} \title{gtkPlugGetId} \description{Gets the window ID of a \code{\link{GtkPlug}} widget, which can then be used to embed this window inside another window, for instance with \code{\link{gtkSocketAddId}}.} \usage{gtkPlugGetId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPlug}}.}} \value{[\code{\link{GdkNativeWindow}}] the window ID for the plug} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreNew.Rd0000644000176000001440000000134212362217677015406 0ustar ripleyusers\alias{gtkTreeStoreNew} \name{gtkTreeStoreNew} \title{gtkTreeStoreNew} \description{Creates a new tree store as with \code{n.columns} columns each of the types passed in. Note that only types derived from standard GObject fundamental types are supported. } \usage{gtkTreeStoreNew(...)} \arguments{\item{\verb{...}}{a new \code{\link{GtkTreeStore}}}} \details{As an example, \code{gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING, GDK_TYPE_PIXBUF);} will create a new \code{\link{GtkTreeStore}} with three columns, of type \verb{integer}, \verb{string} and \code{\link{GdkPixbuf}} respectively.} \value{[\code{\link{GtkTreeStore}}] a new \code{\link{GtkTreeStore}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionNew.Rd0000644000176000001440000000057412362217677017131 0ustar ripleyusers\alias{pangoFontDescriptionNew} \name{pangoFontDescriptionNew} \title{pangoFontDescriptionNew} \description{Creates a new font description structure with all fields unset.} \usage{pangoFontDescriptionNew()} \value{[\code{\link{PangoFontDescription}}] the newly allocated \code{\link{PangoFontDescription}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawGlyphsTransformed.Rd0000644000176000001440000000240212362217677017267 0ustar ripleyusers\alias{gdkDrawGlyphsTransformed} \name{gdkDrawGlyphsTransformed} \title{gdkDrawGlyphsTransformed} \description{Renders a \code{\link{PangoGlyphString}} onto a drawable, possibly transforming the layed-out coordinates through a transformation matrix. Note that the transformation matrix for \code{font} is not changed, so to produce correct rendering results, the \code{font} must have been loaded using a \code{\link{PangoContext}} with an identical transformation matrix to that passed in to this function.} \usage{gdkDrawGlyphsTransformed(drawable, gc, matrix, font, x, y, glyphs)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}} \item{\verb{gc}}{a \code{\link{GdkGC}}} \item{\verb{matrix}}{a \code{\link{PangoMatrix}}, or \code{NULL} to use an identity transformation. \emph{[ \acronym{allow-none} ]}} \item{\verb{font}}{the font in which to draw the string} \item{\verb{x}}{the x position of the start of the string (in Pango units in user space coordinates)} \item{\verb{y}}{the y position of the baseline (in Pango units in user space coordinates)} \item{\verb{glyphs}}{the glyph string to draw} } \details{See also \code{\link{gdkDrawGlyphs}}, \code{\link{gdkDrawLayout}}. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetCaption.Rd0000644000176000001440000000073512362217677016040 0ustar ripleyusers\alias{atkTableSetCaption} \name{atkTableSetCaption} \title{atkTableSetCaption} \description{Sets the caption for the table.} \usage{atkTableSetCaption(object, caption)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{caption}}{[\code{\link{AtkObject}}] a \code{\link{AtkObject}} representing the caption to set for \code{table}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowProcessUpdates.Rd0000644000176000001440000000162312362217677017136 0ustar ripleyusers\alias{gdkWindowProcessUpdates} \name{gdkWindowProcessUpdates} \title{gdkWindowProcessUpdates} \description{Sends one or more expose events to \code{window}. The areas in each expose event will cover the entire update area for the window (see \code{\link{gdkWindowInvalidateRegion}} for details). Normally GDK calls \code{\link{gdkWindowProcessAllUpdates}} on your behalf, so there's no need to call this function unless you want to force expose events to be delivered immediately and synchronously (vs. the usual case, where GDK delivers them in an idle handler). Occasionally this is useful to produce nicer scrolling behavior, for example.} \usage{gdkWindowProcessUpdates(object, update.children)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{update.children}}{whether to also process updates for child windows} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetBaseline.Rd0000644000176000001440000000072412362217677016722 0ustar ripleyusers\alias{pangoLayoutGetBaseline} \name{pangoLayoutGetBaseline} \title{pangoLayoutGetBaseline} \description{Gets the Y position of baseline of the first line in \code{layout}.} \usage{pangoLayoutGetBaseline(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{ Since 1.22} \value{[integer] baseline of first line, from top of \code{layout}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLayoutLineWithColors.Rd0000644000176000001440000000236512362217677017727 0ustar ripleyusers\alias{gdkDrawLayoutLineWithColors} \name{gdkDrawLayoutLineWithColors} \title{gdkDrawLayoutLineWithColors} \description{Render a \code{\link{PangoLayoutLine}} onto a \code{\link{GdkDrawable}}, overriding the layout's normal colors with \code{foreground} and/or \code{background}. \code{foreground} and \code{background} need not be allocated.} \usage{gdkDrawLayoutLineWithColors(drawable, gc, x, y, line, foreground, background)} \arguments{ \item{\verb{drawable}}{the drawable on which to draw the line} \item{\verb{gc}}{base graphics to use} \item{\verb{x}}{the x position of start of string (in pixels)} \item{\verb{y}}{the y position of baseline (in pixels)} \item{\verb{line}}{a \code{\link{PangoLayoutLine}}} \item{\verb{foreground}}{foreground override color, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{background}}{background override color, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \details{If the layout's \code{\link{PangoContext}} has a transformation matrix set, then \code{x} and \code{y} specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterNextCluster.Rd0000644000176000001440000000100512362217677017635 0ustar ripleyusers\alias{pangoLayoutIterNextCluster} \name{pangoLayoutIterNextCluster} \title{pangoLayoutIterNextCluster} \description{Moves \code{iter} forward to the next cluster in visual order. If \code{iter} was already at the end of the layout, returns \code{FALSE}.} \usage{pangoLayoutIterNextCluster(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[logical] whether motion was possible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetAdjustment.Rd0000644000176000001440000000136612362217677017345 0ustar ripleyusers\alias{gtkProgressSetAdjustment} \name{gtkProgressSetAdjustment} \title{gtkProgressSetAdjustment} \description{ Associates a \code{\link{GtkAdjustment}} with the \code{\link{GtkProgress}}. A \code{\link{GtkAdjustment}} is used to represent the upper and lower bounds and the step interval of the underlying value for which progress is shown. \strong{WARNING: \code{gtk_progress_set_adjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetAdjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} to be associated with the \code{\link{GtkProgress}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragGetSelection.Rd0000644000176000001440000000057412362217677016171 0ustar ripleyusers\alias{gdkDragGetSelection} \name{gdkDragGetSelection} \title{gdkDragGetSelection} \description{Returns the selection atom for the current source window.} \usage{gdkDragGetSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDragContext}}.}} \value{[\code{\link{GdkAtom}}] the selection atom.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetDefaultAttributes.Rd0000644000176000001440000000127312362217677017755 0ustar ripleyusers\alias{atkTextGetDefaultAttributes} \name{atkTextGetDefaultAttributes} \title{atkTextGetDefaultAttributes} \description{Creates an \code{\link{AtkAttributeSet}} which consists of the default values of attributes for the text. See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned.} \usage{atkTextGetDefaultAttributes(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}}} \value{[\code{\link{AtkAttributeSet}}] an \code{\link{AtkAttributeSet}} which contains the default values of attributes. at \code{offset}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceNewProxy.Rd0000644000176000001440000000336112362217677017745 0ustar ripleyusers\alias{gtkTreeRowReferenceNewProxy} \name{gtkTreeRowReferenceNewProxy} \title{gtkTreeRowReferenceNewProxy} \description{You do not need to use this function. Creates a row reference based on \code{path}. This reference will keep pointing to the node pointed to by \code{path}, so long as it exists. If \code{path} isn't a valid path in \code{model}, then \code{NULL} is returned. However, unlike references created with \code{\link{gtkTreeRowReferenceNew}}, it does not listen to the model for changes. The creator of the row reference must do this explicitly using \code{\link{gtkTreeRowReferenceInserted}}, \code{\link{gtkTreeRowReferenceDeleted}}, \code{\link{gtkTreeRowReferenceReordered}}.} \usage{gtkTreeRowReferenceNewProxy(proxy, model, path)} \arguments{ \item{\verb{proxy}}{A proxy \code{\link{GObject}}} \item{\verb{model}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A valid \code{\link{GtkTreePath}} to monitor} } \details{These functions must be called exactly once per proxy when the corresponding signal on the model is emitted. This single call updates all row references for that proxy. Since built-in GTK+ objects like \code{\link{GtkTreeView}} already use this mechanism internally, using them as the proxy object will produce unpredictable results. Further more, passing the same object as \code{model} and \code{proxy} doesn't work for reasons of internal implementation. This type of row reference is primarily meant by structures that need to carefully monitor exactly when a row reference updates itself, and is not generally needed by most applications.} \value{[\code{\link{GtkTreeRowReference}}] A newly allocated \code{\link{GtkTreeRowReference}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamNewSized.Rd0000644000176000001440000000104212362217677020045 0ustar ripleyusers\alias{gBufferedInputStreamNewSized} \name{gBufferedInputStreamNewSized} \title{gBufferedInputStreamNewSized} \description{Creates a new \code{\link{GBufferedInputStream}} from the given \code{base.stream}, with a buffer set to \code{size}.} \usage{gBufferedInputStreamNewSized(base.stream, size)} \arguments{ \item{\verb{base.stream}}{a \code{\link{GInputStream}}.} \item{\verb{size}}{a \verb{numeric}.} } \value{[\code{\link{GInputStream}}] a \code{\link{GInputStream}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetIconName.Rd0000644000176000001440000000167312362217677020315 0ustar ripleyusers\alias{gdkAppLaunchContextSetIconName} \name{gdkAppLaunchContextSetIconName} \title{gdkAppLaunchContextSetIconName} \description{Sets the icon for applications that are launched with this context. The \code{icon.name} will be interpreted in the same way as the Icon field in desktop files. See also \code{\link{gdkAppLaunchContextSetIcon}}. } \usage{gdkAppLaunchContextSetIconName(object, icon.name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{icon.name}}{an icon name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If both \code{icon} and \code{icon.name} are set, the \code{icon.name} takes priority. If neither \code{icon} or \code{icon.name} is set, the icon is taken from either the file that is passed to launched application or from the \code{\link{GAppInfo}} for the launched application itself. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/containers.Rd0000644000176000001440000000071711766145227014462 0ustar ripleyusers\name{containers} \title{GtkContainer utilities} \alias{[[.GtkContainer} \description{This utility gets the nth child from a \code{\link{GtkContainer}}.} \usage{ "[[.GtkContainer(x, child)" } \arguments{ \item{x}{The GtkContainer object} \item{child}{The index of the child to retrieve from the container} } \value{ The widget at index 'child' in the vector of children in the GtkContainer } \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gdk-pixbuf-Versioning.Rd0000644000176000001440000000065612362217677016502 0ustar ripleyusers\alias{gdk-pixbuf-Versioning} \name{gdk-pixbuf-Versioning} \title{Initialization and Versions} \description{Library version numbers.} \section{Detailed Description}{These functions and variables let you check the version of \command{gdk-pixbuf} you're linking against.} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-Versioning.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathUp.Rd0000644000176000001440000000061412362217677015042 0ustar ripleyusers\alias{gtkTreePathUp} \name{gtkTreePathUp} \title{gtkTreePathUp} \description{Moves the \code{path} to point to its parent node, if it has a parent.} \usage{gtkTreePathUp(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \value{[logical] \code{TRUE} if \code{path} has a parent, and the move was made.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixConcat.Rd0000644000176000001440000000112412362217677015731 0ustar ripleyusers\alias{pangoMatrixConcat} \name{pangoMatrixConcat} \title{pangoMatrixConcat} \description{Changes the transformation represented by \code{matrix} to be the transformation given by first applying transformation given by \code{new.matrix} then applying the original transformation.} \usage{pangoMatrixConcat(object, new.matrix)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}} \item{\verb{new.matrix}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetShowTabs.Rd0000644000176000001440000000065012362217677016714 0ustar ripleyusers\alias{gtkNotebookGetShowTabs} \name{gtkNotebookGetShowTabs} \title{gtkNotebookGetShowTabs} \description{Returns whether the tabs of the notebook are shown. See \code{\link{gtkNotebookSetShowTabs}}.} \usage{gtkNotebookGetShowTabs(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \value{[logical] \code{TRUE} if the tabs are shown} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathGetIndices.Rd0000644000176000001440000000073012362217677016473 0ustar ripleyusers\alias{gtkTreePathGetIndices} \name{gtkTreePathGetIndices} \title{gtkTreePathGetIndices} \description{Returns the current indices of \code{path}. This is a list of integers, each representing a node in a tree. This value should not be freed.} \usage{gtkTreePathGetIndices(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \value{[integer] The current indices, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreInsertWithValues.Rd0000644000176000001440000000305412362217677020137 0ustar ripleyusers\alias{gtkTreeStoreInsertWithValues} \name{gtkTreeStoreInsertWithValues} \title{gtkTreeStoreInsertWithValues} \description{Creates a new row at \code{position}. \code{iter} will be changed to point to this new row. If \code{position} is larger than the number of rows on the list, then the new row will be appended to the list. The row will be filled with the values given to this function.} \usage{gtkTreeStoreInsertWithValues(object, parent, position, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{position to insert the new row} \item{\verb{...}}{\emph{undocumented }} } \details{Calling \code{gtk_tree_store_insert_with_values (tree_store, iter, position, ...)} has the same effect as calling \preformatted{ tree_store$insert(iter, position) tree_store$set(iter, ...) } with the different that the former will only emit a row_inserted signal, while the latter will emit row_inserted, row_changed and if the tree store is sorted, rows_reordered. Since emitting the rows_reordered signal repeatedly can affect the performance of the program, \code{\link{gtkTreeStoreInsertWithValues}} should generally be preferred when inserting rows in a sorted tree store. Since 2.10} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set the new row, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetRenderIcon.Rd0000644000176000001440000000277412362217677016347 0ustar ripleyusers\alias{gtkIconSetRenderIcon} \name{gtkIconSetRenderIcon} \title{gtkIconSetRenderIcon} \description{Renders an icon using \code{\link{gtkStyleRenderIcon}}. In most cases, \code{\link{gtkWidgetRenderIcon}} is better, since it automatically provides most of the arguments from the current widget settings. This function never returns \code{NULL}; if the icon can't be rendered (perhaps because an image file fails to load), a default "missing image" icon will be returned instead.} \usage{gtkIconSetRenderIcon(object, style, direction, state, size, widget = NULL, detail = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSet}}} \item{\verb{style}}{a \code{\link{GtkStyle}} associated with \code{widget}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{direction}}{text direction} \item{\verb{state}}{widget state} \item{\verb{size}}{icon size. A size of (GtkIconSize)-1 means render at the size of the source and don't scale. \emph{[ \acronym{type} int]}} \item{\verb{widget}}{widget that will display the icon, or \code{NULL}. The only use that is typically made of this is to determine the appropriate \code{\link{GdkScreen}}. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{detail to pass to the theme engine, or \code{NULL}. Note that passing a detail of anything but \code{NULL} will disable caching. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GdkPixbuf}}] a \code{\link{GdkPixbuf}} to be displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsNew.Rd0000644000176000001440000000110212362217677015301 0ustar ripleyusers\alias{gtkTooltipsNew} \name{gtkTooltipsNew} \title{gtkTooltipsNew} \description{ Creates an empty group of tooltips. This function initialises a \code{\link{GtkTooltips}} structure. Without at least one such structure, you can not add tips to your application. \strong{WARNING: \code{gtk_tooltips_new} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsNew()} \value{[\code{\link{GtkTooltips}}] a new \code{\link{GtkTooltips}} group for you to use.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCOffset.Rd0000644000176000001440000000112712362217677014441 0ustar ripleyusers\alias{gdkGCOffset} \name{gdkGCOffset} \title{gdkGCOffset} \description{Offset attributes such as the clip and tile-stipple origins of the GC so that drawing at x - x_offset, y - y_offset with the offset GC has the same effect as drawing at x, y with the original GC.} \usage{gdkGCOffset(object, x.offset, y.offset)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}} \item{\verb{x.offset}}{amount by which to offset the GC in the X direction} \item{\verb{y.offset}}{amount by which to offset the GC in the Y direction} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrFontDescNew.Rd0000644000176000001440000000101512362217677016346 0ustar ripleyusers\alias{pangoAttrFontDescNew} \name{pangoAttrFontDescNew} \title{pangoAttrFontDescNew} \description{Create a new font description attribute. This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.} \usage{pangoAttrFontDescNew(desc)} \arguments{\item{\verb{desc}}{[\code{\link{PangoFontDescription}}] the font description}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDeleteSelection.Rd0000644000176000001440000000142712362217677020073 0ustar ripleyusers\alias{gtkTextBufferDeleteSelection} \name{gtkTextBufferDeleteSelection} \title{gtkTextBufferDeleteSelection} \description{Deletes the range between the "insert" and "selection_bound" marks, that is, the currently-selected text. If \code{interactive} is \code{TRUE}, the editability of the selection will be considered (users can't delete uneditable text).} \usage{gtkTextBufferDeleteSelection(object, interactive, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{interactive}}{whether the deletion is caused by user interaction} \item{\verb{default.editable}}{whether the buffer is editable by default} } \value{[logical] whether there was a non-empty selection to delete} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetDigits.Rd0000644000176000001440000000075712362217677016756 0ustar ripleyusers\alias{gtkSpinButtonSetDigits} \name{gtkSpinButtonSetDigits} \title{gtkSpinButtonSetDigits} \description{Set the precision to be displayed by \code{spin.button}. Up to 20 digit precision is allowed.} \usage{gtkSpinButtonSetDigits(object, digits)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{digits}}{the number of digits after the decimal point to be displayed for the spin button's value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderAddFromFile.Rd0000644000176000001440000000171112362217677016443 0ustar ripleyusers\alias{gtkBuilderAddFromFile} \name{gtkBuilderAddFromFile} \title{gtkBuilderAddFromFile} \description{Parses a file containing a GtkBuilder UI definition and merges it with the current contents of \code{builder}. } \usage{gtkBuilderAddFromFile(object, filename, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{filename}}{the name of the file to parse} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon errors 0 will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR}, \verb{G_MARKUP_ERROR} or \verb{G_FILE_ERROR} domain. Since 2.12} \value{ A list containing the following elements: \item{retval}{[numeric] A positive value on success, 0 if an error occurred} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceSetUserData.Rd0000644000176000001440000000150512362217677017026 0ustar ripleyusers\alias{cairoSurfaceSetUserData} \name{cairoSurfaceSetUserData} \title{cairoSurfaceSetUserData} \description{Attach user data to \code{surface}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoSurfaceSetUserData(surface, key, user.data)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the a \code{\link{CairoUserDataKey}} to attach the user data to} \item{\verb{user.data}}{[R object] the user data to attach to the surface} } \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY} if a slot could not be allocated for the user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreInsertAfter.Rd0000644000176000001440000000155612362217677017126 0ustar ripleyusers\alias{gtkListStoreInsertAfter} \name{gtkListStoreInsertAfter} \title{gtkListStoreInsertAfter} \description{Inserts a new row after \code{sibling}. If \code{sibling} is \code{NULL}, then the row will be prepended to the beginning of the list. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkListStoreSet}} or \code{\link{gtkListStoreSetValue}}.} \usage{gtkListStoreInsertAfter(object, sibling)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{sibling}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetCompletionPrefix.Rd0000644000176000001440000000104112362217677022017 0ustar ripleyusers\alias{gtkEntryCompletionGetCompletionPrefix} \name{gtkEntryCompletionGetCompletionPrefix} \title{gtkEntryCompletionGetCompletionPrefix} \description{Get the original text entered by the user that triggered the completion or \code{NULL} if there's no completion ongoing.} \usage{gtkEntryCompletionGetCompletionPrefix(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.12} \value{[character] the prefix for the current completion} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonGetVisited.Rd0000644000176000001440000000124012362217677017076 0ustar ripleyusers\alias{gtkLinkButtonGetVisited} \name{gtkLinkButtonGetVisited} \title{gtkLinkButtonGetVisited} \description{Retrieves the 'visited' state of the URI where the \code{\link{GtkLinkButton}} points. The button becomes visited when it is clicked. If the URI is changed on the button, the 'visited' state is unset again.} \usage{gtkLinkButtonGetVisited(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLinkButton}}}} \details{The state may also be changed using \code{\link{gtkLinkButtonSetVisited}}. Since 2.14} \value{[logical] \code{TRUE} if the link has been visited, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetBackgroundArea.Rd0000644000176000001440000000271512362217677020010 0ustar ripleyusers\alias{gtkTreeViewGetBackgroundArea} \name{gtkTreeViewGetBackgroundArea} \title{gtkTreeViewGetBackgroundArea} \description{Fills the bounding rectangle in bin_window coordinates for the cell at the row specified by \code{path} and the column specified by \code{column}. If \code{path} is \code{NULL}, or points to a node not found in the tree, the \code{y} and \code{height} fields of the rectangle will be filled with 0. If \code{column} is \code{NULL}, the \code{x} and \code{width} fields will be filled with 0. The returned rectangle is equivalent to the \code{background.area} passed to \code{\link{gtkCellRendererRender}}. These background areas tile to cover the entire bin window. Contrast with the \code{cell.area}, returned by \code{\link{gtkTreeViewGetCellArea}}, which returns only the cell itself, excluding surrounding borders and the tree expander area.} \usage{gtkTreeViewGetBackgroundArea(object, path, column)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} for the row, or \code{NULL} to get only horizontal coordinates. \emph{[ \acronym{allow-none} ]}} \item{\verb{column}}{a \code{\link{GtkTreeViewColumn}} for the column, or \code{NULL} to get only vertical coordiantes. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{rect}}{rectangle to fill with cell background rect} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetSortOrder.Rd0000644000176000001440000000067312362217677016502 0ustar ripleyusers\alias{gFileInfoSetSortOrder} \name{gFileInfoSetSortOrder} \title{gFileInfoSetSortOrder} \description{Sets the sort order attribute in the file info structure. See \code{G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER}.} \usage{gFileInfoSetSortOrder(object, sort.order)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{sort.order}}{a sort order integer.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawGlyphs.Rd0000644000176000001440000000146612362217677017121 0ustar ripleyusers\alias{pangoRendererDrawGlyphs} \name{pangoRendererDrawGlyphs} \title{pangoRendererDrawGlyphs} \description{Draws the glyphs in \code{glyphs} with the specified \code{\link{PangoRenderer}}.} \usage{pangoRendererDrawGlyphs(object, font, glyphs, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} \item{\verb{glyphs}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} \item{\verb{x}}{[integer] X position of left edge of baseline, in user space coordinates in Pango units.} \item{\verb{y}}{[integer] Y position of left edge of baseline, in user space coordinates in Pango units.} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetRunExtents.Rd0000644000176000001440000000131612362217677020141 0ustar ripleyusers\alias{pangoLayoutIterGetRunExtents} \name{pangoLayoutIterGetRunExtents} \title{pangoLayoutIterGetRunExtents} \description{Gets the extents of the current run in layout coordinates (origin is the top left of the entire layout).} \usage{pangoLayoutIterGetRunExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with ink extents, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with logical extents, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsertSpace.Rd0000644000176000001440000000114512362217677016564 0ustar ripleyusers\alias{gtkToolbarInsertSpace} \name{gtkToolbarInsertSpace} \title{gtkToolbarInsertSpace} \description{ Inserts a new space in the toolbar at the specified position. \strong{WARNING: \code{gtk_toolbar_insert_space} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarInsertSpace(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{position}}{the number of widgets after which a space should be inserted.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceShowPage.Rd0000644000176000001440000000111312362217677016352 0ustar ripleyusers\alias{cairoSurfaceShowPage} \name{cairoSurfaceShowPage} \title{cairoSurfaceShowPage} \description{Emits and clears the current page for backends that support multiple pages. Use \code{\link{cairoSurfaceCopyPage}} if you don't want to clear the page.} \usage{cairoSurfaceShowPage(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_Surface_t}}} \details{There is a convenience function for this that takes a \code{\link{Cairo}}, namely \code{\link{cairoShowPage}}. Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncReportGerrorInIdle.Rd0000644000176000001440000000133112362217677020350 0ustar ripleyusers\alias{gSimpleAsyncReportGerrorInIdle} \name{gSimpleAsyncReportGerrorInIdle} \title{gSimpleAsyncReportGerrorInIdle} \description{Reports an error in an idle function. Similar to \code{\link{gSimpleAsyncReportErrorInIdle}}, but takes a \code{\link{GError}} rather than building a new one.} \usage{gSimpleAsyncReportGerrorInIdle(object, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GObject}}.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \value{ A list containing the following elements: \item{\verb{error}}{the \code{\link{GError}} to report} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkContainer.Rd0000644000176000001440000002422012362217677014702 0ustar ripleyusers\alias{GtkContainer} \name{GtkContainer} \title{GtkContainer} \description{Base class for widgets which contain other widgets} \section{Methods and Functions}{ \code{\link{gtkContainerAdd}(object, widget)}\cr \code{\link{gtkContainerRemove}(object, widget)}\cr \code{\link{gtkContainerAddWithProperties}(object, widget, ...)}\cr \code{\link{gtkContainerGetResizeMode}(object)}\cr \code{\link{gtkContainerSetResizeMode}(object, resize.mode)}\cr \code{\link{gtkContainerCheckResize}(object)}\cr \code{\link{gtkContainerForeach}(object, callback, callback.data = NULL)}\cr \code{\link{gtkContainerForeachFull}(object, callback, callback.data = NULL)}\cr \code{\link{gtkContainerGetChildren}(object)}\cr \code{\link{gtkContainerSetReallocateRedraws}(object, needs.redraws)}\cr \code{\link{gtkContainerGetFocusChild}(object)}\cr \code{\link{gtkContainerSetFocusChild}(object, child)}\cr \code{\link{gtkContainerGetFocusVadjustment}(object)}\cr \code{\link{gtkContainerSetFocusVadjustment}(object, adjustment)}\cr \code{\link{gtkContainerGetFocusHadjustment}(object)}\cr \code{\link{gtkContainerSetFocusHadjustment}(object, adjustment)}\cr \code{\link{gtkContainerResizeChildren}(object)}\cr \code{\link{gtkContainerChildType}(object)}\cr \code{\link{gtkContainerChildGet}(object, child, ...)}\cr \code{\link{gtkContainerChildSet}(object, child, ...)}\cr \code{\link{gtkContainerChildGetProperty}(object, child, property.name)}\cr \code{\link{gtkContainerChildSetProperty}(object, child, property.name, value)}\cr \code{\link{gtkContainerForall}(object, callback, callback.data = NULL)}\cr \code{\link{gtkContainerGetBorderWidth}(object)}\cr \code{\link{gtkContainerSetBorderWidth}(object, border.width)}\cr \code{\link{gtkContainerPropagateExpose}(object, child, event)}\cr \code{\link{gtkContainerGetFocusChain}(object)}\cr \code{\link{gtkContainerSetFocusChain}(object, focusable.widgets)}\cr \code{\link{gtkContainerUnsetFocusChain}(object)}\cr \code{\link{gtkContainerClassFindChildProperty}(cclass, property.name)}\cr \code{\link{gtkContainerClassInstallChildProperty}(cclass, property.id, pspec)}\cr \code{\link{gtkContainerClassListChildProperties}(cclass)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkBox +----GtkCList +----GtkFixed +----GtkPaned +----GtkIconView +----GtkLayout +----GtkList +----GtkMenuShell +----GtkNotebook +----GtkSocket +----GtkTable +----GtkTextView +----GtkToolbar +----GtkToolItemGroup +----GtkToolPalette +----GtkTree +----GtkTreeView}} \section{Interfaces}{GtkContainer implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A GTK+ user interface is constructed by nesting widgets inside widgets. Container widgets are the inner nodes in the resulting tree of widgets: they contain other widgets. So, for example, you might have a \code{\link{GtkWindow}} containing a \code{\link{GtkFrame}} containing a GtkLabel. If you wanted an image instead of a textual label inside the frame, you might replace the \code{\link{GtkLabel}} widget with a \code{\link{GtkImage}} widget. There are two major kinds of container widgets in GTK+. Both are subclasses of the abstract \code{\link{GtkContainer}} base class. The first type of container widget has a single child widget and derives from \code{\link{GtkBin}}. These containers are \dfn{decorators}, which add some kind of functionality to the child. For example, a \code{\link{GtkButton}} makes its child into a clickable button; a \code{\link{GtkFrame}} draws a frame around its child and a \code{\link{GtkWindow}} places its child widget inside a top-level window. The second type of container can have more than one child; its purpose is to manage \dfn{layout}. This means that these containers assign sizes and positions to their children. For example, a \code{\link{GtkHBox}} arranges its children in a horizontal row, and a \code{\link{GtkTable}} arranges the widgets it contains in a two-dimensional grid. To fulfill its task, a layout container must negotiate the size requirements with its parent and its children. This negotiation is carried out in two phases, \dfn{size requisition} and \dfn{size allocation}.} \section{Size Requisition}{The size requisition of a widget is it's desired width and height. This is represented by a \code{\link{GtkRequisition}}. How a widget determines its desired size depends on the widget. A \code{\link{GtkLabel}}, for example, requests enough space to display all its text. Container widgets generally base their size request on the requisitions of their children. The size requisition phase of the widget layout process operates top-down. It starts at a top-level widget, typically a \code{\link{GtkWindow}}. The top-level widget asks its child for its size requisition by calling \code{\link{gtkWidgetSizeRequest}}. To determine its requisition, the child asks its own children for their requisitions and so on. Finally, the top-level widget will get a requisition back from its child.} \section{Size Allocation}{When the top-level widget has determined how much space its child would like to have, the second phase of the size negotiation, size allocation, begins. Depending on its configuration (see \code{\link{gtkWindowSetResizable}}), the top-level widget may be able to expand in order to satisfy the size request or it may have to ignore the size request and keep its fixed size. It then tells its child widget how much space it gets by calling \code{\link{gtkWidgetSizeAllocate}}. The child widget divides the space among its children and tells each child how much space it got, and so on. Under normal circumstances, a \code{\link{GtkWindow}} will always give its child the amount of space the child requested. A child's size allocation is represented by a \code{\link{GtkAllocation}}. This struct contains not only a width and height, but also a position (i.e. X and Y coordinates), so that containers can tell their children not only how much space they have gotten, but also where they are positioned inside the space available to the container. Widgets are required to honor the size allocation they receive; a size request is only a request, and widgets must be able to cope with any size.} \section{Child properties}{\code{GtkContainer} introduces \dfn{child properties} - these are object properties that are not specific to either the container or the contained widget, but rather to their relation. Typical examples of child properties are the position or pack-type of a widget which is contained in a \code{\link{GtkBox}}. Use \code{\link{gtkContainerClassInstallChildProperty}} to install child properties for a container class and \code{\link{gtkContainerClassFindChildProperty}} or \code{\link{gtkContainerClassListChildProperties}} to get information about existing child properties. To set the value of a child property, use \code{\link{gtkContainerChildSetProperty}}, \code{\link{gtkContainerChildSet}} or \code{gtkContainerChildSetValist()}. To obtain the value of a child property, use \code{\link{gtkContainerChildGetProperty}}, \code{\link{gtkContainerChildGet}} or \code{gtkContainerChildGetValist()}. To emit notification about child property changes, use \code{\link{gtkWidgetChildNotify}}.} \section{GtkContainer as GtkBuildable}{The GtkContainer implementation of the GtkBuildable interface supports a element for children, which can contain multiple elements that specify child properties for the child. \emph{Child properties in UI definitions}\preformatted{ start } Since 2.16, child properties can also be marked as translatable using the same "translatable", "comments" and "context" attributes that are used for regular properties.} \section{Structures}{\describe{\item{\verb{GtkContainer}}{ \emph{undocumented } \describe{ \item{\verb{focusChild}}{[\code{\link{GtkWidget}}] } \item{\verb{borderWidth}}{[numeric] } \item{\verb{needResize}}{[numeric] } \item{\verb{resizeMode}}{[numeric] } \item{\verb{reallocateRedraws}}{[numeric] } \item{\verb{hasFocusChain}}{[numeric] } } }}} \section{Signals}{\describe{ \item{\code{add(container, user.data)}}{ \emph{undocumented } \describe{ \item{\code{container}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{check-resize(container, user.data)}}{ \emph{undocumented } \describe{ \item{\code{container}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{remove(container, user.data)}}{ \emph{undocumented } \describe{ \item{\code{container}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-focus-child(container, user.data)}}{ \emph{undocumented } \describe{ \item{\code{container}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{border-width} [numeric : Read / Write]}{ The width of the empty border outside the containers children. Allowed values: <= 65535 Default value: 0 } \item{\verb{child} [\code{\link{GtkWidget}} : * : Write]}{ Can be used to add a new child to the container. } \item{\verb{resize-mode} [\code{\link{GtkResizeMode}} : Read / Write]}{ Specify how resize events are handled. Default value: GTK_RESIZE_PARENT } }} \references{\url{http://library.gnome.org/devel//gtk/GtkContainer.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderNewWithMimeType.Rd0000644000176000001440000000271712362217677020353 0ustar ripleyusers\alias{gdkPixbufLoaderNewWithMimeType} \name{gdkPixbufLoaderNewWithMimeType} \title{gdkPixbufLoaderNewWithMimeType} \description{Creates a new pixbuf loader object that always attempts to parse image data as if it were an image of mime type \code{mime.type}, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected mime type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific mime type.} \usage{gdkPixbufLoaderNewWithMimeType(mime.type, .errwarn = TRUE)} \arguments{ \item{\verb{mime.type}}{the mime type to be loaded} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The list of supported mime types depends on what image loaders are installed, but typically "image/png", "image/jpeg", "image/gif", "image/tiff" and "image/x-xpixmap" are among the supported mime types. To obtain the full list of supported mime types, call \code{\link{gdkPixbufFormatGetMimeTypes}} on each of the \code{\link{GdkPixbufFormat}} structs returned by \code{\link{gdkPixbufGetFormats}}. Since 2.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbufLoader}}] A newly-created pixbuf loader.} \item{\verb{error}}{return location for an allocated \code{\link{GError}}, or \code{NULL} to ignore errors. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetUposition.Rd0000644000176000001440000000254212362217677016634 0ustar ripleyusers\alias{gtkWidgetSetUposition} \name{gtkWidgetSetUposition} \title{gtkWidgetSetUposition} \description{ Sets the position of a widget. The funny "u" in the name comes from the "user position" hint specified by the X Window System, and exists for legacy reasons. This function doesn't work if a widget is inside a container; it's only really useful on \code{\link{GtkWindow}}. \strong{WARNING: \code{gtk_widget_set_uposition} is deprecated and should not be used in newly-written code.} } \usage{gtkWidgetSetUposition(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{x}}{x position; -1 to unset x; -2 to leave x unchanged} \item{\verb{y}}{y position; -1 to unset y; -2 to leave y unchanged} } \details{Don't use this function to center dialogs over the main application window; most window managers will do the centering on your behalf if you call \code{\link{gtkWindowSetTransientFor}}, and it's really not possible to get the centering to work correctly in all cases from application code. But if you insist, use \code{\link{gtkWindowSetPosition}} to set \verb{GTK_WIN_POS_CENTER_ON_PARENT}, don't do the centering manually. Note that although \code{x} and \code{y} can be individually unset, the position is not honoured unless both \code{x} and \code{y} are set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventBoxGetVisibleWindow.Rd0000644000176000001440000000075612362217677017730 0ustar ripleyusers\alias{gtkEventBoxGetVisibleWindow} \name{gtkEventBoxGetVisibleWindow} \title{gtkEventBoxGetVisibleWindow} \description{Returns whether the event box has a visible window. See \code{\link{gtkEventBoxSetVisibleWindow}} for details.} \usage{gtkEventBoxGetVisibleWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEventBox}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the event box window is visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetRulesHint.Rd0000644000176000001440000000204612362217677017066 0ustar ripleyusers\alias{gtkTreeViewSetRulesHint} \name{gtkTreeViewSetRulesHint} \title{gtkTreeViewSetRulesHint} \description{This function tells GTK+ that the user interface for your application requires users to read across tree rows and associate cells with one another. By default, GTK+ will then render the tree with alternating row colors. Do \emph{not} use it just because you prefer the appearance of the ruled tree; that's a question for the theme. Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. You should call this function only as a \emph{semantic} hint to the theme engine that your tree makes alternating colors useful from a functional standpoint (since it has lots of columns, generally).} \usage{gtkTreeViewSetRulesHint(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{setting}}{\code{TRUE} if the tree requires reading across rows} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableGetSelectionBounds.Rd0000644000176000001440000000172612362217677020220 0ustar ripleyusers\alias{gtkEditableGetSelectionBounds} \name{gtkEditableGetSelectionBounds} \title{gtkEditableGetSelectionBounds} \description{Retrieves the selection bound of the editable. start_pos will be filled with the start of the selection and \code{end.pos} with end. If no text was selected both will be identical and \code{FALSE} will be returned.} \usage{gtkEditableGetSelectionBounds(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \details{Note that positions are specified in characters, not bytes.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if an area is selected, \code{FALSE} otherwise} \item{\verb{start}}{location to store the starting position, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{end}}{location to store the end position, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetMark.Rd0000644000176000001440000000103712362217677016352 0ustar ripleyusers\alias{gtkTextBufferGetMark} \name{gtkTextBufferGetMark} \title{gtkTextBufferGetMark} \description{Returns the mark named \code{name} in buffer \code{buffer}, or \code{NULL} if no such mark exists in the buffer.} \usage{gtkTextBufferGetMark(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{name}}{a mark name} } \value{[\code{\link{GtkTextMark}}] a \code{\link{GtkTextMark}}, or \code{NULL}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleGetValuePos.Rd0000644000176000001440000000063712362217677016174 0ustar ripleyusers\alias{gtkScaleGetValuePos} \name{gtkScaleGetValuePos} \title{gtkScaleGetValuePos} \description{Gets the position in which the current value is displayed.} \usage{gtkScaleGetValuePos(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScale}}}} \value{[\code{\link{GtkPositionType}}] the position in which the current value is displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeData.Rd0000644000176000001440000000145612362303364017265 0ustar ripleyusers\alias{gFileInfoGetAttributeData} \name{gFileInfoGetAttributeData} \title{gFileInfoGetAttributeData} \description{Gets the attribute type, value and status for an attribute key.} \usage{gFileInfoGetAttributeData(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}} \item{\verb{attribute}}{a file attribute key} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{info} has an attribute named \code{attribute}, \code{FALSE} otherwise.} \item{\verb{type}}{return location for the attribute type, or \code{NULL}} \item{\verb{value.pp}}{return location for the attribute value, or \code{NULL}} \item{\verb{status}}{return location for the attribute status, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceWriteToPng.Rd0000644000176000001440000000155012362217677016704 0ustar ripleyusers\alias{cairoSurfaceWriteToPng} \name{cairoSurfaceWriteToPng} \title{cairoSurfaceWriteToPng} \description{Writes the contents of \code{surface} to a new file \code{filename} as a PNG image.} \usage{cairoSurfaceWriteToPng(surface, filename)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}} with pixel contents} \item{\verb{filename}}{[char] the name of a file to write to} } \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} if the PNG file was written successfully. Otherwise, \code{CAIRO_STATUS_NO_MEMORY} if memory could not be allocated for the operation or \code{CAIRO_STATUS_SURFACE_TYPE_MISMATCH} if the surface does not have pixel contents, or \code{CAIRO_STATUS_WRITE_ERROR} if an I/O error occurs while attempting to write the file.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeGetExampleIconName.Rd0000644000176000001440000000102012362217677020252 0ustar ripleyusers\alias{gtkIconThemeGetExampleIconName} \name{gtkIconThemeGetExampleIconName} \title{gtkIconThemeGetExampleIconName} \description{Gets the name of an icon that is representative of the current theme (for instance, to use when presenting a list of themes to the user.)} \usage{gtkIconThemeGetExampleIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconTheme}}}} \details{Since 2.4} \value{[char] the name of an example icon or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableAddRowSelection.Rd0000644000176000001440000000113212362217677017005 0ustar ripleyusers\alias{atkTableAddRowSelection} \name{atkTableAddRowSelection} \title{atkTableAddRowSelection} \description{Adds the specified \code{row} to the selection.} \usage{atkTableAddRowSelection(object, row)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} } \value{[logical] a gboolean representing if row was successfully added to selection, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetWindow.Rd0000644000176000001440000000063012362217677016072 0ustar ripleyusers\alias{gtkWidgetGetWindow} \name{gtkWidgetGetWindow} \title{gtkWidgetGetWindow} \description{Returns the widget's window if it is realized, \code{NULL} otherwise} \usage{gtkWidgetGetWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.14} \value{[\code{\link{GdkWindow}}] \code{widget}'s window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkStatusIcon.Rd0000644000176000001440000003246512362217677015066 0ustar ripleyusers\alias{GtkStatusIcon} \alias{gtkStatusIcon} \name{GtkStatusIcon} \title{GtkStatusIcon} \description{Display an icon in the system tray} \section{Methods and Functions}{ \code{\link{gtkStatusIconNew}()}\cr \code{\link{gtkStatusIconNewFromPixbuf}(pixbuf)}\cr \code{\link{gtkStatusIconNewFromFile}(filename)}\cr \code{\link{gtkStatusIconNewFromStock}(stock.id)}\cr \code{\link{gtkStatusIconNewFromIconName}(icon.name)}\cr \code{\link{gtkStatusIconNewFromGicon}(icon)}\cr \code{\link{gtkStatusIconSetFromPixbuf}(object, pixbuf)}\cr \code{\link{gtkStatusIconSetFromFile}(object, filename)}\cr \code{\link{gtkStatusIconSetFromStock}(object, stock.id)}\cr \code{\link{gtkStatusIconSetFromIconName}(object, icon.name)}\cr \code{\link{gtkStatusIconSetFromGicon}(object, icon)}\cr \code{\link{gtkStatusIconGetStorageType}(object)}\cr \code{\link{gtkStatusIconGetPixbuf}(object)}\cr \code{\link{gtkStatusIconGetStock}(object)}\cr \code{\link{gtkStatusIconGetIconName}(object)}\cr \code{\link{gtkStatusIconGetGicon}(object)}\cr \code{\link{gtkStatusIconGetSize}(object)}\cr \code{\link{gtkStatusIconSetScreen}(object, screen)}\cr \code{\link{gtkStatusIconGetScreen}(object)}\cr \code{\link{gtkStatusIconSetTooltip}(object, tooltip.text)}\cr \code{\link{gtkStatusIconSetTooltip}(object, tooltip.text)}\cr \code{\link{gtkStatusIconSetTooltipText}(object, text)}\cr \code{\link{gtkStatusIconGetTooltipText}(object)}\cr \code{\link{gtkStatusIconSetTooltipMarkup}(object, markup = NULL)}\cr \code{\link{gtkStatusIconGetTooltipMarkup}(object)}\cr \code{\link{gtkStatusIconSetHasTooltip}(object, has.tooltip)}\cr \code{\link{gtkStatusIconGetHasTooltip}(object)}\cr \code{\link{gtkStatusIconSetTitle}(object, title)}\cr \code{\link{gtkStatusIconGetTitle}(object)}\cr \code{\link{gtkStatusIconSetName}(object, name)}\cr \code{\link{gtkStatusIconSetVisible}(object, visible)}\cr \code{\link{gtkStatusIconGetVisible}(object)}\cr \code{\link{gtkStatusIconSetBlinking}(object, blinking)}\cr \code{\link{gtkStatusIconGetBlinking}(object)}\cr \code{\link{gtkStatusIconIsEmbedded}(object)}\cr \code{\link{gtkStatusIconPositionMenu}(menu, user.data)}\cr \code{\link{gtkStatusIconGetGeometry}(object)}\cr \code{\link{gtkStatusIconGetX11WindowId}(object)}\cr \code{gtkStatusIcon(icon)} } \section{Hierarchy}{\preformatted{GObject +----GtkStatusIcon}} \section{Detailed Description}{The "system tray" or notification area is normally used for transient icons that indicate some special state. For example, a system tray icon might appear to tell the user that they have new mail, or have an incoming instant message, or something along those lines. The basic idea is that creating an icon in the notification area is less annoying than popping up a dialog. A \code{\link{GtkStatusIcon}} object can be used to display an icon in a "system tray". The icon can have a tooltip, and the user can interact with it by activating it or popping up a context menu. Critical information should not solely be displayed in a \code{\link{GtkStatusIcon}}, since it may not be visible (e.g. when the user doesn't have a notification area on his panel). This can be checked with \code{\link{gtkStatusIconIsEmbedded}}. On X11, the implementation follows the freedesktop.org "System Tray" specification (\url{http://www.freedesktop.org/wiki/Standards/systemtray-spec}). Implementations of the "tray" side of this specification can be found e.g. in the GNOME and KDE panel applications. Note that a GtkStatusIcon is \emph{not} a widget, but just a \code{\link{GObject}}. Making it a widget would be impractical, since the system tray on Win32 doesn't allow to embed arbitrary widgets.} \section{Structures}{\describe{\item{\verb{GtkStatusIcon}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkStatusIcon} is the result of collapsing the constructors of \code{GtkStatusIcon} (\code{\link{gtkStatusIconNew}}, \code{\link{gtkStatusIconNewFromGicon}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{activate(status.icon, user.data)}}{ Gets emitted when the user activates the status icon. If and how status icons can activated is platform-dependent. Unlike most G_SIGNAL_ACTION signals, this signal is meant to be used by applications and should be wrapped by language bindings. Since 2.10 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{button-press-event(status.icon, event, user.data)}}{ The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed. Whether this event is emitted is platform-dependent. Use the ::activate and ::popup-menu signals in preference. Since 2.14 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventButton}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{button-release-event(status.icon, event, user.data)}}{ The ::button-release-event signal will be emitted when a button (typically from a mouse) is released. Whether this event is emitted is platform-dependent. Use the ::activate and ::popup-menu signals in preference. Since 2.14 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventButton}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{popup-menu(status.icon, button, activate.time, user.data)}}{ Gets emitted when the user brings up the context menu of the status icon. Whether status icons can have context menus and how these are activated is platform-dependent. The \code{button} and \code{activate.time} parameters should be passed as the last to arguments to \code{\link{gtkMenuPopup}}. Unlike most G_SIGNAL_ACTION signals, this signal is meant to be used by applications and should be wrapped by language bindings. Since 2.10 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{button}}{the button that was pressed, or 0 if the signal is not emitted in response to a button press event} \item{\code{activate.time}}{the timestamp of the event that triggered the signal emission} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{query-tooltip(status.icon, x, y, keyboard.mode, tooltip, user.data)}}{ Emitted when the \verb{"gtk-tooltip-timeout"} has expired with the cursor hovering above \code{status.icon}; or emitted when \code{status.icon} got focus in keyboard mode. Using the given coordinates, the signal handler should determine whether a tooltip should be shown for \code{status.icon}. If this is the case \code{TRUE} should be returned, \code{FALSE} otherwise. Note that if \code{keyboard.mode} is \code{TRUE}, the values of \code{x} and \code{y} are undefined and should not be used. The signal handler is free to manipulate \code{tooltip} with the therefore destined function calls. Whether this signal is emitted is platform-dependent. For plain text tooltips, use \verb{"tooltip-text"} in preference. Since 2.16 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{x}}{the x coordinate of the cursor position where the request has been emitted, relative to \code{status.icon}} \item{\code{y}}{the y coordinate of the cursor position where the request has been emitted, relative to \code{status.icon}} \item{\code{keyboard.mode}}{\code{TRUE} if the tooltip was trigged using the keyboard} \item{\code{tooltip}}{a \code{\link{GtkTooltip}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if \code{tooltip} should be shown right now, \code{FALSE} otherwise. } \item{\code{scroll-event(status.icon, event, user.data)}}{ The ::scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. Whether this event is emitted is platform-dependent. \describe{ \item{\code{status.icon}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventScroll}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{size-changed(status.icon, size, user.data)}}{ Gets emitted when the size available for the image changes, e.g. because the notification area got resized. Since 2.10 \describe{ \item{\code{status.icon}}{the object which received the signal} \item{\code{size}}{the new size} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the icon was updated for the new size. Otherwise, GTK+ will scale the icon as necessary. } }} \section{Properties}{\describe{ \item{\verb{blinking} [logical : Read / Write]}{ Whether or not the status icon is blinking. Default value: FALSE } \item{\verb{embedded} [logical : Read]}{ \code{TRUE} if the statusicon is embedded in a notification area. Default value: FALSE Since 2.12 } \item{\verb{file} [character : * : Write]}{ Filename to load and display. Default value: NULL } \item{\verb{gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The \code{\link{GIcon}} displayed in the \code{\link{GtkStatusIcon}}. For themed icons, the image will be updated automatically if the theme changes. Since 2.14 } \item{\verb{has-tooltip} [logical : Read / Write]}{ Enables or disables the emission of \verb{"query-tooltip"} on \code{status.icon}. A value of \code{TRUE} indicates that \code{status.icon} can have a tooltip, in this case the status icon will be queried using \verb{"query-tooltip"} to determine whether it will provide a tooltip or not. Note that setting this property to \code{TRUE} for the first time will change the event masks of the windows of this status icon to include leave-notify and motion-notify events. This will not be undone when the property is set to \code{FALSE} again. Whether this property is respected is platform dependent. For plain text tooltips, use \verb{"tooltip-text"} in preference. Default value: FALSE Since 2.16 } \item{\verb{icon-name} [character : * : Read / Write]}{ The name of the icon from the icon theme. Default value: NULL } \item{\verb{orientation} [\code{\link{GtkOrientation}} : Read]}{ The orientation of the tray in which the statusicon is embedded. Default value: GTK_ORIENTATION_HORIZONTAL Since 2.12 } \item{\verb{pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ A GdkPixbuf to display. } \item{\verb{screen} [\code{\link{GdkScreen}} : * : Read / Write]}{ The screen where this status icon will be displayed. } \item{\verb{size} [integer : Read]}{ The size of the icon. Allowed values: >= 0 Default value: 0 } \item{\verb{stock} [character : * : Read / Write]}{ Stock ID for a stock image to display. Default value: NULL } \item{\verb{storage-type} [\code{\link{GtkImageType}} : Read]}{ The representation being used for image data. Default value: GTK_IMAGE_EMPTY } \item{\verb{title} [character : * : Read / Write]}{ The title of this tray icon. This should be a short, human-readable, localized string describing the tray icon. It may be used by tools like screen readers to render the tray icon. Default value: NULL Since 2.18 } \item{\verb{tooltip-markup} [character : * : Read / Write]}{ Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see \code{\link{gtkTooltipSetMarkup}}. This is a convenience property which will take care of getting the tooltip shown if the given string is not \code{NULL}. \verb{"has-tooltip"} will automatically be set to \code{TRUE} and the default handler for the \verb{"query-tooltip"} signal will take care of displaying the tooltip. On some platforms, embedded markup will be ignored. Default value: NULL Since 2.16 } \item{\verb{tooltip-text} [character : * : Read / Write]}{ Sets the text of tooltip to be the given string. Also see \code{\link{gtkTooltipSetText}}. This is a convenience property which will take care of getting the tooltip shown if the given string is not \code{NULL}. \verb{"has-tooltip"} will automatically be set to \code{TRUE} and the default handler for the \verb{"query-tooltip"} signal will take care of displaying the tooltip. Note that some platforms have limitations on the length of tooltips that they allow on status icons, e.g. Windows only shows the first 64 characters. Default value: NULL Since 2.16 } \item{\verb{visible} [logical : Read / Write]}{ Whether or not the status icon is visible. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkStatusIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoNewSubPath.Rd0000644000176000001440000000143112362217677015347 0ustar ripleyusers\alias{cairoNewSubPath} \name{cairoNewSubPath} \title{cairoNewSubPath} \description{Begin a new sub-path. Note that the existing path is not affected. After this call there will be no current point.} \usage{cairoNewSubPath(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{In many cases, this call is not needed since new sub-paths are frequently started with \code{\link{cairoMoveTo}}. A call to \code{\link{cairoNewSubPath}} is particularly useful when beginning a new sub-path with one of the \code{\link{cairoArc}} calls. This makes things easier as it is no longer necessary to manually compute the arc's initial coordinates for a call to \code{\link{cairoMoveTo}}. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetSpacing.Rd0000644000176000001440000000063212362217677016562 0ustar ripleyusers\alias{pangoLayoutGetSpacing} \name{pangoLayoutGetSpacing} \title{pangoLayoutGetSpacing} \description{Gets the amount of spacing between the lines of the layout.} \usage{pangoLayoutGetSpacing(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[integer] the spacing in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRoleGetName.Rd0000644000176000001440000000064512362217677015161 0ustar ripleyusers\alias{atkRoleGetName} \name{atkRoleGetName} \title{atkRoleGetName} \description{Gets the description string describing the \code{\link{AtkRole}} \code{role}.} \usage{atkRoleGetName(role)} \arguments{\item{\verb{role}}{[\code{\link{AtkRole}}] The \code{\link{AtkRole}} whose name is required}} \value{[character] the string describing the AtkRole} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMountMountableFinish.Rd0000644000176000001440000000146412362217677017400 0ustar ripleyusers\alias{gFileMountMountableFinish} \name{gFileMountMountableFinish} \title{gFileMountMountableFinish} \description{Finishes a mount operation. See \code{\link{gFileMountMountable}} for details.} \usage{gFileMountMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous mount operation that was started with \code{\link{gFileMountMountable}}.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFile}}] a \code{\link{GFile}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetAccelPath.Rd0000644000176000001440000000062712362217677016447 0ustar ripleyusers\alias{gtkActionGetAccelPath} \name{gtkActionGetAccelPath} \title{gtkActionGetAccelPath} \description{Returns the accel path for this action.} \usage{gtkActionGetAccelPath(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.6} \value{[character] the accel path for this action, or \code{NULL} if none is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-font-options.Rd0000644000176000001440000001066312362217677016052 0ustar ripleyusers\alias{cairo-font-options} \alias{CairoFontOptions} \alias{cairoFontOptions} \alias{CairoSubpixelOrder} \alias{CairoHintStyle} \alias{CairoHintMetrics} \name{cairo-font-options} \title{cairo_font_options_t} \description{How a font should be rendered} \section{Methods and Functions}{ \code{\link{cairoFontOptionsCreate}()}\cr \code{\link{cairoFontOptionsCopy}(original)}\cr \code{\link{cairoFontOptionsStatus}(options)}\cr \code{\link{cairoFontOptionsMerge}(options, other)}\cr \code{\link{cairoFontOptionsEqual}(options, other)}\cr \code{\link{cairoFontOptionsSetAntialias}(options, antialias)}\cr \code{\link{cairoFontOptionsGetAntialias}(options)}\cr \code{\link{cairoFontOptionsSetSubpixelOrder}(options, subpixel.order)}\cr \code{\link{cairoFontOptionsGetSubpixelOrder}(options)}\cr \code{\link{cairoFontOptionsSetHintStyle}(options, hint.style)}\cr \code{\link{cairoFontOptionsGetHintStyle}(options)}\cr \code{\link{cairoFontOptionsSetHintMetrics}(options, hint.metrics)}\cr \code{\link{cairoFontOptionsGetHintMetrics}(options)}\cr \code{cairoFontOptions()} } \section{Detailed Description}{The font options specify how fonts should be rendered. Most of the time the font options implied by a surface are just right and do not need any changes, but for pixel-based targets tweaking font options may result in superior output on a particular display.} \section{Structures}{\describe{\item{\verb{CairoFontOptions}}{ An opaque structure holding all options that are used when rendering fonts. Individual features of a \code{\link{CairoFontOptions}} can be set or accessed using functions named cairo_font_options_set_\emph{feature_name} and cairo_font_options_get_\emph{feature_name}, like \code{\link{cairoFontOptionsSetAntialias}} and \code{\link{cairoFontOptionsGetAntialias}}. New features may be added to a \code{\link{CairoFontOptions}} in the future. For this reason, \code{\link{cairoFontOptionsCopy}}, \code{\link{cairoFontOptionsEqual}}, \code{\link{cairoFontOptionsMerge}}, and \code{cairoFontOptionsHash()} should be used to copy, check for equality, merge, or compute a hash value of \code{\link{CairoFontOptions}} objects. }}} \section{Convenient Construction}{\code{cairoFontOptions} is the equivalent of \code{\link{cairoFontOptionsCreate}}.} \section{Enums and Flags}{\describe{ \item{\verb{CairoSubpixelOrder}}{ The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of \code{CAIRO_ANTIALIAS_SUBPIXEL}. \describe{ \item{\verb{default}}{ Use the default subpixel order for for the target device} \item{\verb{rgb}}{ Subpixel elements are arranged horizontally with red at the left} \item{\verb{bgr}}{ Subpixel elements are arranged horizontally with blue at the left} \item{\verb{vrgb}}{ Subpixel elements are arranged vertically with red at the top} \item{\verb{vbgr}}{ Subpixel elements are arranged vertically with blue at the top} } } \item{\verb{CairoHintStyle}}{ Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends. New entries may be added in future versions. \describe{ \item{\verb{default}}{ Use the default hint style for font backend and target device} \item{\verb{none}}{ Do not hint outlines} \item{\verb{slight}}{ Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.} \item{\verb{medium}}{ Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast} \item{\verb{full}}{ Hint outlines to maximize contrast} } } \item{\verb{CairoHintMetrics}}{ Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space. Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors. \describe{ \item{\verb{default}}{ Hint metrics in the default manner for the font backend and target device} \item{\verb{off}}{ Do not hint font metrics} \item{\verb{on}}{ Hint font metrics} } } }} \references{\url{http://www.cairographics.org/manual/cairo-font-options.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamClearPending.Rd0000644000176000001440000000047612362217677017420 0ustar ripleyusers\alias{gOutputStreamClearPending} \name{gOutputStreamClearPending} \title{gOutputStreamClearPending} \description{Clears the pending flag on \code{stream}.} \usage{gOutputStreamClearPending(object)} \arguments{\item{\verb{object}}{output stream}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GParamSpec.Rd0000644000176000001440000000343711766145227014301 0ustar ripleyusers\name{GParamSpec} \alias{GParamSpec} \alias{as.GParamSpec} \alias{gParamSpec} \alias{GParamFlags} \title{Parameter metadata in GObject} \description{ \code{GParamSpec} is an object structure that encapsulates the metadata required to specify parameters, such as e.g. \code{GObject} properties. } \usage{ gParamSpec(type, name, nick = NULL, blurb = NULL, flags = NULL, ...) as.GParamSpec(x) } \arguments{ \item{type}{a string naming the R type (ie 'character', 'numeric', ...) corresponding to the desired \code{GParamSpec} (property) type} \item{name}{the name of the \code{GParamSpec} (property)} \item{nick}{the nickname of the \code{GParamSpec} (property)} \item{blurb}{a short string description of the \code{GParamSpec} (property)} \item{flags}{a vector of values from the \code{GParamFlags} enumeration - please see the GObject documentation for more information} \item{...}{named arguments specific to the type of \code{GParamSpec} - please see the GObject documentation for more information} \item{x}{A list corresponding to a \code{GParamSpec} - the class of the list should be the name of the \code{GParamSpec} type} } \details{ As a transparent type, the various \code{GParamSpec} structures should be returned to R as corresponding lists, and \code{as.GParamSpec} coerces a list to one understandable by the C wrappers, assuming that the class of the list is the name of the \code{GParamSpec} type. \code{gParamSpec} is a more user-friendly wrapper to \code{as.GParamSpec} that constructs the correctly-classed list on the fly from its arguments. } \value{ A list representing a \code{GParamSpec}, ready to be passed to the underlying C libraries } \author{Michael Lawrence} \references{ \url{http://developer.gnome.org/doc/API/2.0/gobject/gobject-GParamSpec.html} } \keyword{interface} \keyword{internal} RGtk2/man/gdkKeymapHaveBidiLayouts.Rd0000644000176000001440000000102612362217677017202 0ustar ripleyusers\alias{gdkKeymapHaveBidiLayouts} \name{gdkKeymapHaveBidiLayouts} \title{gdkKeymapHaveBidiLayouts} \description{Determines if keyboard layouts for both right-to-left and left-to-right languages are in use.} \usage{gdkKeymapHaveBidiLayouts(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkKeymap}} or \code{NULL} to use the default keymap}} \details{Since 2.12} \value{[logical] \code{TRUE} if there are layouts in both directions, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetCompositeName.Rd0000644000176000001440000000067312362217677017375 0ustar ripleyusers\alias{gtkWidgetGetCompositeName} \name{gtkWidgetGetCompositeName} \title{gtkWidgetGetCompositeName} \description{Obtains the composite name of a widget.} \usage{gtkWidgetGetCompositeName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[character] the composite name of \code{widget}, or \code{NULL} if \code{widget} is not a composite child.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetTooltipContext.Rd0000644000176000001440000000343012362217677020123 0ustar ripleyusers\alias{gtkIconViewGetTooltipContext} \name{gtkIconViewGetTooltipContext} \title{gtkIconViewGetTooltipContext} \description{This function is supposed to be used in a \verb{"query-tooltip"} signal handler for \code{\link{GtkIconView}}. The \code{x}, \code{y} and \code{keyboard.tip} values which are received in the signal handler, should be passed to this function without modification.} \usage{gtkIconViewGetTooltipContext(object, x, y, keyboard.tip)} \arguments{ \item{\verb{object}}{an \code{\link{GtkIconView}}} \item{\verb{x}}{the x coordinate (relative to widget coordinates)} \item{\verb{y}}{the y coordinate (relative to widget coordinates)} \item{\verb{keyboard.tip}}{whether this is a keyboard tooltip or not} } \details{The return value indicates whether there is an icon view item at the given coordinates (\code{TRUE}) or not (\code{FALSE}) for mouse tooltips. For keyboard tooltips the item returned will be the cursor item. When \code{TRUE}, then any of \code{model}, \code{path} and \code{iter} which have been provided will be set to point to that row and the corresponding model. \code{x} and \code{y} will always be converted to be relative to \code{icon.view}'s bin_window if \code{keyboard.tooltip} is \code{FALSE}. Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] whether or not the given tooltip context points to a item} \item{\verb{model}}{a pointer to receive a \code{\link{GtkTreeModel}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{path}}{a pointer to receive a \code{\link{GtkTreePath}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{iter}}{a pointer to receive a \code{\link{GtkTreeIter}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetTitle.Rd0000644000176000001440000000065012362217677016601 0ustar ripleyusers\alias{gtkFontButtonSetTitle} \name{gtkFontButtonSetTitle} \title{gtkFontButtonSetTitle} \description{Sets the title for the font selection dialog.} \usage{gtkFontButtonSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{title}}{a string containing the font selection dialog title} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferCreateTag.Rd0000644000176000001440000000176112362217677016663 0ustar ripleyusers\alias{gtkTextBufferCreateTag} \name{gtkTextBufferCreateTag} \title{gtkTextBufferCreateTag} \description{Creates a tag and adds it to the tag table for \code{buffer}. Equivalent to calling \code{\link{gtkTextTagNew}} and then adding the tag to the buffer's tag table. so the ref count will be equal to one.} \usage{gtkTextBufferCreateTag(object, tag.name, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{tag.name}}{name of the new tag, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{...}}{a new tag} } \details{If \code{tag.name} is \code{NULL}, the tag is anonymous. If \code{tag.name} is non-\code{NULL}, a tag called \code{tag.name} must not already exist in the tag table for this buffer. The \code{first.property.name} argument and subsequent arguments are a list of properties to set on the tag, as with \code{\link{gObjectSet}}.} \value{[\code{\link{GtkTextTag}}] a new tag} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetWidth.Rd0000644000176000001440000000063612362217677017375 0ustar ripleyusers\alias{gtkTreeViewColumnGetWidth} \name{gtkTreeViewColumnGetWidth} \title{gtkTreeViewColumnGetWidth} \description{Returns the current size of \code{tree.column} in pixels.} \usage{gtkTreeViewColumnGetWidth(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[integer] The current width of \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetGravityHint.Rd0000644000176000001440000000126012362217677017627 0ustar ripleyusers\alias{pangoContextSetGravityHint} \name{pangoContextSetGravityHint} \title{pangoContextSetGravityHint} \description{Sets the gravity hint for the context.} \usage{pangoContextSetGravityHint(object, hint)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{hint}}{[\code{\link{PangoGravityHint}}] the new gravity hint} } \details{The gravity hint is used in laying vertical text out, and is only relevant if gravity of the context as returned by \code{\link{pangoContextGetGravity}} is set \code{PANGO_GRAVITY_EAST} or \code{PANGO_GRAVITY_WEST}. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetVisibleVertical.Rd0000644000176000001440000000104612362217677020225 0ustar ripleyusers\alias{gtkToolItemGetVisibleVertical} \name{gtkToolItemGetVisibleVertical} \title{gtkToolItemGetVisibleVertical} \description{Returns whether \code{tool.item} is visible when the toolbar is docked vertically. See \code{\link{gtkToolItemSetVisibleVertical}}.} \usage{gtkToolItemGetVisibleVertical(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] Whether \code{tool.item} is visible when the toolbar is docked vertically} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixRotate.Rd0000644000176000001440000000146512362217677015761 0ustar ripleyusers\alias{cairoMatrixRotate} \name{cairoMatrixRotate} \title{cairoMatrixRotate} \description{Applies rotation by \code{radians} to the transformation in \code{matrix}. The effect of the new transformation is to first rotate the coordinates by \code{radians}, then apply the original transformation to the coordinates.} \usage{cairoMatrixRotate(matrix, radians)} \arguments{ \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{radians}}{[numeric] angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationGetHeight.Rd0000644000176000001440000000063112362217677017666 0ustar ripleyusers\alias{gdkPixbufAnimationGetHeight} \name{gdkPixbufAnimationGetHeight} \title{gdkPixbufAnimationGetHeight} \description{Queries the height of the bounding box of a pixbuf animation.} \usage{gdkPixbufAnimationGetHeight(object)} \arguments{\item{\verb{object}}{An animation.}} \value{[integer] Height of the bounding box of the animation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkDrawingArea.Rd0000644000176000001440000000752412362217677015154 0ustar ripleyusers\alias{GtkDrawingArea} \alias{gtkDrawingArea} \name{GtkDrawingArea} \title{GtkDrawingArea} \description{A widget for custom user interface elements} \section{Methods and Functions}{ \code{\link{gtkDrawingAreaNew}(show = TRUE)}\cr \code{\link{gtkDrawingAreaSize}(object, width, height)}\cr \code{gtkDrawingArea(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkDrawingArea +----GtkCurve +----GtkSpinner}} \section{Interfaces}{GtkDrawingArea implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkDrawingArea}} widget is used for creating custom user interface elements. It's essentially a blank widget; you can draw on \code{widget->window}. After creating a drawing area, the application may want to connect to: \itemize{ \item Mouse and button press signals to respond to input from the user. (Use \code{\link{gtkWidgetAddEvents}} to enable events you wish to receive.) \item The "realize" signal to take any necessary actions when the widget is instantiated on a particular display. (Create GDK resources in response to this signal.) \item The "configure_event" signal to take any necessary actions when the widget changes size. \item The "expose_event" signal to handle redrawing the contents of the widget. } The following code portion demonstrates using a drawing area to display a circle in the normal widget foreground color. Note that GDK automatically clears the exposed area to the background color before sending the expose event, and that drawing is implicitly clipped to the exposed area. \emph{Simple \code{GtkDrawingArea} usage.} \preformatted{ expose_event_callback <- function(widget, event, data) { gdkDrawArc(widget[["window"]], widget[["style"]][["fgGc"]][[widget[["state"]]+1]], TRUE, 0, 0, widget[["allocation"]]$width, widget[["allocation"]]$height, 0, 64 * 360) return(TRUE) } [...] drawing_area = gtkDrawingArea() drawing_area$setSizeRequest(100, 100) gSignalConnect(drawing_area, "expose_event", expose_event_callback) } Expose events are normally delivered when a drawing area first comes onscreen, or when it's covered by another window and then uncovered (exposed). You can also force an expose event by adding to the "damage region" of the drawing area's window; \code{\link{gtkWidgetQueueDrawArea}} and \code{\link{gdkWindowInvalidateRect}} are equally good ways to do this. You'll then get an expose event for the invalid region. The available routines for drawing are documented on the GDK Drawing Primitives page. See also \code{\link{gdkDrawPixbuf}} for drawing a \code{\link{GdkPixbuf}}. To receive mouse events on a drawing area, you will need to enable them with \code{\link{gtkWidgetAddEvents}}. To receive keyboard events, you will need to set the \verb{GTK_CAN_FOCUS} flag on the drawing area, and should probably draw some user-visible indication that the drawing area is focused. Use the \code{gtkHasFocus()} function in your expose event handler to decide whether to draw the focus indicator. See \code{\link{gtkPaintFocus}} for one way to draw focus.} \section{Structures}{\describe{\item{\verb{GtkDrawingArea}}{ The \code{\link{GtkDrawingArea}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkDrawingArea} is the equivalent of \code{\link{gtkDrawingAreaNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkDrawingArea.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkImage}} \code{\link{GdkPixmap}} \code{\link{GtkImage}} \code{\link{GdkPixmap}} \code{\link{GtkImage}} } \keyword{internal} RGtk2/man/gtkOffscreenWindowGetPixmap.Rd0000644000176000001440000000117212362217677017742 0ustar ripleyusers\alias{gtkOffscreenWindowGetPixmap} \name{gtkOffscreenWindowGetPixmap} \title{gtkOffscreenWindowGetPixmap} \description{Retrieves a snapshot of the contained widget in the form of a \code{\link{GdkPixmap}}. If you need to keep this around over window resizes then you should add a reference to it.} \usage{gtkOffscreenWindowGetPixmap(object)} \arguments{\item{\verb{object}}{the \code{\link{GtkOffscreenWindow}} contained widget.}} \details{Since 2.20} \value{[\code{\link{GdkPixmap}}] A \code{\link{GdkPixmap}} pointer to the offscreen pixmap, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleGetActive.Rd0000644000176000001440000000073512362217677020331 0ustar ripleyusers\alias{gtkCellRendererToggleGetActive} \name{gtkCellRendererToggleGetActive} \title{gtkCellRendererToggleGetActive} \description{Returns whether the cell renderer is active. See \code{\link{gtkCellRendererToggleSetActive}}.} \usage{gtkCellRendererToggleGetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}}} \value{[logical] \code{TRUE} if the cell renderer is active.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonGetColor.Rd0000644000176000001440000000101112362217677016722 0ustar ripleyusers\alias{gtkColorButtonGetColor} \name{gtkColorButtonGetColor} \title{gtkColorButtonGetColor} \description{Sets \code{color} to be the current color in the \code{\link{GtkColorButton}} widget.} \usage{gtkColorButtonGetColor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorButton}}.}} \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{color}}{a \code{\link{GdkColor}} to fill in with the current color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GNetworkService.Rd0000644000176000001440000000370012362217677015373 0ustar ripleyusers\alias{GNetworkService} \alias{gNetworkService} \name{GNetworkService} \title{GNetworkService} \description{A GSocketConnectable for resolving SRV records} \section{Methods and Functions}{ \code{\link{gNetworkServiceNew}(service, protocol, domain)}\cr \code{\link{gNetworkServiceGetService}(object)}\cr \code{\link{gNetworkServiceGetProtocol}(object)}\cr \code{\link{gNetworkServiceGetDomain}(object)}\cr \code{gNetworkService(service, protocol, domain)} } \section{Hierarchy}{\preformatted{GObject +----GNetworkService}} \section{Interfaces}{GNetworkService implements \code{\link{GSocketConnectable}}.} \section{Detailed Description}{Like \code{\link{GNetworkAddress}} does with hostnames, \code{\link{GNetworkService}} provides an easy way to resolve a SRV record, and then attempt to connect to one of the hosts that implements that service, handling service priority/weighting, multiple IP addresses, and multiple address families. See \code{\link{GSrvTarget}} for more information about SRV records, and see \code{\link{GSocketConnectable}} for and example of using the connectable interface.} \section{Structures}{\describe{\item{\verb{GNetworkService}}{ A \code{\link{GSocketConnectable}} for resolving a SRV record and connecting to that service. }}} \section{Convenient Construction}{\code{gNetworkService} is the equivalent of \code{\link{gNetworkServiceNew}}.} \section{Properties}{\describe{ \item{\verb{domain} [character : * : Read / Write / Construct Only]}{ Network domain, eg, "example.com". Default value: NULL } \item{\verb{protocol} [character : * : Read / Write / Construct Only]}{ Network protocol, eg "tcp". Default value: NULL } \item{\verb{service} [character : * : Read / Write / Construct Only]}{ Service name, eg "ldap". Default value: NULL } }} \references{\url{http://library.gnome.org/devel//gio/GNetworkService.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-pattern.Rd0000644000176000001440000001415712362217677015072 0ustar ripleyusers\alias{cairo-pattern} \alias{CairoPattern} \alias{cairoPattern} \alias{CairoExtend} \alias{CairoFilter} \alias{CairoPatternType} \name{cairo-pattern} \title{cairo_pattern_t} \description{Sources for drawing} \section{Methods and Functions}{ \code{\link{cairoPatternAddColorStopRgb}(pattern, offset, red, green, blue)}\cr \code{\link{cairoPatternAddColorStopRgba}(pattern, offset, red, green, blue, alpha)}\cr \code{\link{cairoPatternGetColorStopCount}(pattern)}\cr \code{\link{cairoPatternGetColorStopRgba}(pattern, index)}\cr \code{\link{cairoPatternCreateRgb}(red, green, blue)}\cr \code{\link{cairoPatternCreateRgba}(red, green, blue, alpha)}\cr \code{\link{cairoPatternGetRgba}(pattern)}\cr \code{\link{cairoPatternCreateForSurface}(surface)}\cr \code{\link{cairoPatternGetSurface}(pattern)}\cr \code{\link{cairoPatternCreateLinear}(x0, y0, x1, y1)}\cr \code{\link{cairoPatternGetLinearPoints}(pattern)}\cr \code{\link{cairoPatternCreateRadial}(cx0, cy0, radius0, cx1, cy1, radius1)}\cr \code{\link{cairoPatternGetRadialCircles}(pattern)}\cr \code{\link{cairoPatternStatus}(pattern)}\cr \code{\link{cairoPatternSetExtend}(pattern, extend)}\cr \code{\link{cairoPatternGetExtend}(pattern)}\cr \code{\link{cairoPatternSetFilter}(pattern, filter)}\cr \code{\link{cairoPatternGetFilter}(pattern)}\cr \code{\link{cairoPatternSetMatrix}(pattern, matrix)}\cr \code{\link{cairoPatternGetMatrix}(pattern, matrix)}\cr \code{\link{cairoPatternGetType}(pattern)}\cr \code{\link{cairoPatternSetUserData}(pattern, key, user.data)}\cr \code{\link{cairoPatternGetUserData}(pattern, key)}\cr \code{cairoPattern(red, green, blue, alpha, surface, x0, y0, x1, y1, cx0, cy0, radius0, cx1, cy1, radius1)} } \section{Detailed Description}{\code{\link{CairoPattern}} is the paint with which cairo draws. The primary use of patterns is as the source for all cairo drawing operations, although they can also be used as masks, that is, as the brush too. A cairo pattern is created by using one of the many constructors, of the form cairo_pattern_create_\emph{type}() or implicitly through cairo_set_source_\emph{type}() functions.} \section{Structures}{\describe{\item{\verb{CairoPattern}}{ A \code{\link{CairoPattern}} represents a source when drawing onto a surface. There are different subtypes of \code{\link{CairoPattern}}, for different types of sources; for example, \code{\link{cairoPatternCreateRgb}} creates a pattern for a solid opaque color. Other than various cairo_pattern_create_\emph{type}() functions, some of the pattern types can be implicitly created using various cairo_set_source_\emph{type}() functions; for example \code{\link{cairoSetSourceRgb}}. The type of a pattern can be queried with \code{\link{cairoPatternGetType}}. Memory management of \code{\link{CairoPattern}} is done with \code{cairoPatternReference()} and \code{cairoPatternDestroy()}. }}} \section{Convenient Construction}{\code{cairoPattern} is the result of collapsing the constructors of \code{cairo_pattern_t} (\code{\link{cairoPatternCreateRgb}}, \code{\link{cairoPatternCreateRgba}}, \code{\link{cairoPatternCreateForSurface}}, \code{\link{cairoPatternCreateLinear}}, \code{\link{cairoPatternCreateRadial}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{CairoExtend}}{ \code{\link{CairoExtend}} is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry). The default extend mode is \code{CAIRO_EXTEND_NONE} for surface patterns and \code{CAIRO_EXTEND_PAD} for gradient patterns. New entries may be added in future versions. \describe{ \item{\verb{none}}{ pixels outside of the source pattern are fully transparent} \item{\verb{repeat}}{ the pattern is tiled by repeating} \item{\verb{reflect}}{ the pattern is tiled by reflecting at the edges (Implemented for surface patterns since 1.6)} } } \item{\verb{CairoFilter}}{ \code{\link{CairoFilter}} is used to indicate what filtering should be applied when reading pixel values from patterns. See \code{cairoPatternSetSource()} for indicating the desired filter to be used with a particular pattern. \describe{ \item{\verb{fast}}{ A high-performance filter, with quality similar to \code{CAIRO_FILTER_NEAREST}} \item{\verb{good}}{ A reasonable-performance filter, with quality similar to \code{CAIRO_FILTER_BILINEAR}} \item{\verb{best}}{ The highest-quality available, performance may not be suitable for interactive use.} \item{\verb{nearest}}{ Nearest-neighbor filtering} \item{\verb{bilinear}}{ Linear interpolation in two dimensions} \item{\verb{gaussian}}{ This filter value is currently unimplemented, and should not be used in current code.} } } \item{\verb{CairoPatternType}}{ \code{\link{CairoPatternType}} is used to describe the type of a given pattern. The type of a pattern is determined by the function used to create it. The \code{\link{cairoPatternCreateRgb}} and \code{\link{cairoPatternCreateRgba}} functions create SOLID patterns. The remaining cairo_pattern_create functions map to pattern types in obvious ways. The pattern type can be queried with \code{\link{cairoPatternGetType}} Most \code{\link{CairoPattern}} functions can be called with a pattern of any type, (though trying to change the extend or filter for a solid pattern will have no effect). A notable exception is \code{\link{cairoPatternAddColorStopRgb}} and \code{\link{cairoPatternAddColorStopRgba}} which must only be called with gradient patterns (either LINEAR or RADIAL). Otherwise the pattern will be shutdown and put into an error state. New entries may be added in future versions. Since 1.2 \describe{ \item{\verb{solid}}{ The pattern is a solid (uniform) color. It may be opaque or translucent.} \item{\verb{surface}}{ The pattern is a based on a surface (an image).} \item{\verb{linear}}{ The pattern is a linear gradient.} \item{\verb{radial}}{ The pattern is a radial gradient.} } } }} \references{\url{http://www.cairographics.org/manual/cairo-pattern.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetAll.Rd0000644000176000001440000000120012362217677015077 0ustar ripleyusers\alias{gAppInfoGetAll} \name{gAppInfoGetAll} \title{gAppInfoGetAll} \description{Gets a list of all of the applications currently registered on this system.} \usage{gAppInfoGetAll()} \details{For desktop files, this includes applications that have \code{NoDisplay=true} set or are excluded from display by means of \code{OnlyShowIn} or \code{NotShowIn}. See \code{\link{gAppInfoShouldShow}}. The returned list does not include applications which have the \code{Hidden} key set.} \value{[list] a newly allocated \verb{list} of references to \code{\link{GAppInfo}}s.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererGetMatrix.Rd0000644000176000001440000000110212362217677016724 0ustar ripleyusers\alias{pangoRendererGetMatrix} \name{pangoRendererGetMatrix} \title{pangoRendererGetMatrix} \description{Gets the transformation matrix that will be applied when rendering. See \code{\link{pangoRendererSetMatrix}}.} \usage{pangoRendererGetMatrix(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}}} \details{ Since 1.8} \value{[\code{\link{PangoMatrix}}] the matrix, or \code{NULL} if no matrix has been set (which is the same as the identity matrix).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterInputStreamGetBaseStream.Rd0000644000176000001440000000066112362217677020514 0ustar ripleyusers\alias{gFilterInputStreamGetBaseStream} \name{gFilterInputStreamGetBaseStream} \title{gFilterInputStreamGetBaseStream} \description{Gets the base stream for the filter stream.} \usage{gFilterInputStreamGetBaseStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GFilterInputStream}}.}} \value{[\code{\link{GInputStream}}] a \code{\link{GInputStream}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetFrameExtents.Rd0000644000176000001440000000126112362217677017235 0ustar ripleyusers\alias{gdkWindowGetFrameExtents} \name{gdkWindowGetFrameExtents} \title{gdkWindowGetFrameExtents} \description{Obtains the bounding box of the window, including window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather than the frame) in root window coordinates, use \code{\link{gdkWindowGetOrigin}}.} \usage{gdkWindowGetFrameExtents(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{\verb{rect}}{rectangle to fill with bounding box of the window frame} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferGetBytes.Rd0000644000176000001440000000066712362217677016733 0ustar ripleyusers\alias{gtkEntryBufferGetBytes} \name{gtkEntryBufferGetBytes} \title{gtkEntryBufferGetBytes} \description{Retrieves the length in bytes of the buffer. See \code{\link{gtkEntryBufferGetLength}}.} \usage{gtkEntryBufferGetBytes(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryBuffer}}}} \details{Since 2.18} \value{[numeric] The byte length of the buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSelectedForeach.Rd0000644000176000001440000000122412362217677020525 0ustar ripleyusers\alias{gtkTreeSelectionSelectedForeach} \name{gtkTreeSelectionSelectedForeach} \title{gtkTreeSelectionSelectedForeach} \description{Calls a function for each selected node. Note that you cannot modify the tree or selection from within this function. As a result, \code{\link{gtkTreeSelectionGetSelectedRows}} might be more useful.} \usage{gtkTreeSelectionSelectedForeach(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{func}}{The function to call for each selected node.} \item{\verb{data}}{user data to pass to the function.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupRemoveWidget.Rd0000644000176000001440000000062112362217677017270 0ustar ripleyusers\alias{gtkSizeGroupRemoveWidget} \name{gtkSizeGroupRemoveWidget} \title{gtkSizeGroupRemoveWidget} \description{Removes a widget from a \code{\link{GtkSizeGroup}}.} \usage{gtkSizeGroupRemoveWidget(object, widget)} \arguments{ \item{\verb{object}}{a \verb{GtkSizeGrup}} \item{\verb{widget}}{the \code{\link{GtkWidget}} to remove} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetDeskrelativeOrigin.Rd0000644000176000001440000000171112362217677020422 0ustar ripleyusers\alias{gdkWindowGetDeskrelativeOrigin} \name{gdkWindowGetDeskrelativeOrigin} \title{gdkWindowGetDeskrelativeOrigin} \description{ This gets the origin of a \code{\link{GdkWindow}} relative to an Enlightenment-window-manager desktop. As long as you don't assume that the user's desktop/workspace covers the entire root window (i.e. you don't assume that the desktop begins at root window coordinate 0,0) this function is not necessary. It's deprecated for that reason. \strong{WARNING: \code{gdk_window_get_deskrelative_origin} is deprecated and should not be used in newly-written code.} } \usage{gdkWindowGetDeskrelativeOrigin(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{retval}{[logical] not meaningful} \item{\verb{x}}{return location for X coordinate} \item{\verb{y}}{return location for Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientSetLocalAddress.Rd0000644000176000001440000000124712362217677020011 0ustar ripleyusers\alias{gSocketClientSetLocalAddress} \name{gSocketClientSetLocalAddress} \title{gSocketClientSetLocalAddress} \description{Sets the local the socket client. The sockets created by this object will bound to the specified address (if not \code{NULL}) before connecting.} \usage{gSocketClientSetLocalAddress(object, address)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{address}}{a \code{\link{GSocketAddress}}, or \code{NULL}} } \details{This is useful if you want to ensure the the local side of the connection is on a specific port, or on a specific interface. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowScroll.Rd0000644000176000001440000000104112362217677015422 0ustar ripleyusers\alias{gdkWindowScroll} \name{gdkWindowScroll} \title{gdkWindowScroll} \description{Scroll the contents of its window, both pixels and children, by the given amount. Portions of the window that the scroll operation brings in from offscreen areas are invalidated.} \usage{gdkWindowScroll(object, dx, dy)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{dx}}{Amount to scroll in the X direction} \item{\verb{dy}}{Amount to scroll in the Y direction} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetShowIcons.Rd0000644000176000001440000000076012362217677020077 0ustar ripleyusers\alias{gtkRecentChooserSetShowIcons} \name{gtkRecentChooserSetShowIcons} \title{gtkRecentChooserSetShowIcons} \description{Sets whether \code{chooser} should show an icon near the resource when displaying it.} \usage{gtkRecentChooserSetShowIcons(object, show.icons)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{show.icons}}{whether to show an icon near the resource} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOModulesLoadAllInDirectory.Rd0000644000176000001440000000113512362217677017726 0ustar ripleyusers\alias{gIOModulesLoadAllInDirectory} \name{gIOModulesLoadAllInDirectory} \title{gIOModulesLoadAllInDirectory} \description{Loads all the modules in the specified directory.} \usage{gIOModulesLoadAllInDirectory(dirname)} \arguments{\item{\verb{dirname}}{pathname for a directory containing modules to load.}} \value{[list] a list of \verb{GIOModules} loaded from the directory, All the modules are loaded into memory, if you want to unload them (enabling on-demand loading) you must call \code{gTypeModuleUnuse()} on all the modules.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByAddressAsync.Rd0000644000176000001440000000152212362217677020253 0ustar ripleyusers\alias{gResolverLookupByAddressAsync} \name{gResolverLookupByAddressAsync} \title{gResolverLookupByAddressAsync} \description{Begins asynchronously reverse-resolving \code{address} to determine its associated hostname, and eventually calls \code{callback}, which must call \code{\link{gResolverLookupByAddressFinish}} to get the final result.} \usage{gResolverLookupByAddressAsync(object, address, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{address}}{the address to reverse-resolve} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{callback to call after resolution completes} \item{\verb{user.data}}{data for \code{callback}} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetLicense.Rd0000644000176000001440000000060312362217677017154 0ustar ripleyusers\alias{gtkAboutDialogGetLicense} \name{gtkAboutDialogGetLicense} \title{gtkAboutDialogGetLicense} \description{Returns the license information.} \usage{gtkAboutDialogGetLicense(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The license information.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamGetByteOrder.Rd0000644000176000001440000000071012362217677020205 0ustar ripleyusers\alias{gDataOutputStreamGetByteOrder} \name{gDataOutputStreamGetByteOrder} \title{gDataOutputStreamGetByteOrder} \description{Gets the byte order for the stream.} \usage{gDataOutputStreamGetByteOrder(object)} \arguments{\item{\verb{object}}{a \code{\link{GDataOutputStream}}.}} \value{[\code{\link{GDataStreamByteOrder}}] the \code{\link{GDataStreamByteOrder}} for the \code{stream}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GdkNativeWindow.Rd0000644000176000001440000000044311766145227015355 0ustar ripleyusers\name{GdkNativeWindow} \alias{GdkNativeWindow} \title{GdkNativeWindow} \description{ This represents a pointer to a native window resource. RGtk2 does not provide this. You'll have to figure out how to get this on your own. } \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gFileInfoSetAttributeStringv.Rd0000644000176000001440000000103112362217677020064 0ustar ripleyusers\alias{gFileInfoSetAttributeStringv} \name{gFileInfoSetAttributeStringv} \title{gFileInfoSetAttributeStringv} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeStringv(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a \code{NULL} terminated string list} } \details{Sinze: 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableSetDefaultSortFunc.Rd0000644000176000001440000000207012362217677021057 0ustar ripleyusers\alias{gtkTreeSortableSetDefaultSortFunc} \name{gtkTreeSortableSetDefaultSortFunc} \title{gtkTreeSortableSetDefaultSortFunc} \description{Sets the default comparison function used when sorting to be \code{sort.func}. If the current sort column id of \code{sortable} is \code{GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID}, then the model will sort using this function.} \usage{gtkTreeSortableSetDefaultSortFunc(object, sort.func, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSortable}}} \item{\verb{sort.func}}{The comparison function} \item{\verb{user.data}}{User data to pass to \code{sort.func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If \code{sort.func} is \code{NULL}, then there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of \code{sortable} is \code{GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID}, the model will be unsorted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionDeleteAction.Rd0000644000176000001440000000073312362217677020437 0ustar ripleyusers\alias{gtkEntryCompletionDeleteAction} \name{gtkEntryCompletionDeleteAction} \title{gtkEntryCompletionDeleteAction} \description{Deletes the action at \code{index.} from \code{completion}'s action list.} \usage{gtkEntryCompletionDeleteAction(object, index)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{index}}{The index of the item to Delete.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonUpdate.Rd0000644000176000001440000000047112362217677016272 0ustar ripleyusers\alias{gtkSpinButtonUpdate} \name{gtkSpinButtonUpdate} \title{gtkSpinButtonUpdate} \description{Manually force an update of the spin button.} \usage{gtkSpinButtonUpdate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogGetHasSeparator.Rd0000644000176000001440000000061112362217677017172 0ustar ripleyusers\alias{gtkDialogGetHasSeparator} \name{gtkDialogGetHasSeparator} \title{gtkDialogGetHasSeparator} \description{Accessor for whether the dialog has a separator.} \usage{gtkDialogGetHasSeparator(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkDialog}}}} \value{[logical] \code{TRUE} if the dialog has a separator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListNew.Rd0000644000176000001440000000067012362217677015557 0ustar ripleyusers\alias{gtkTargetListNew} \name{gtkTargetListNew} \title{gtkTargetListNew} \description{Creates a new \code{\link{GtkTargetList}} from a list of \code{\link{GtkTargetEntry}}.} \usage{gtkTargetListNew(targets)} \arguments{\item{\verb{targets}}{Pointer to a list of \code{\link{GtkTargetEntry}}}} \value{[\code{\link{GtkTargetList}}] the new \code{\link{GtkTargetList}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionGetKeybinding.Rd0000644000176000001440000000225212362217677016674 0ustar ripleyusers\alias{atkActionGetKeybinding} \name{atkActionGetKeybinding} \title{atkActionGetKeybinding} \description{Returns a keybinding associated with this action, if one exists. The returned string is in the format ";;" (i.e. semicolon-delimited), where is the keybinding which activates the object if it is presently enabled onscreen, corresponds to the keybinding or sequence of keys which invokes the action even if the relevant element is not currently posted on screen (for instance, for a menu item it posts the parent menus before invoking). The last token in the above string, if non-empty, represents a keyboard shortcut which invokes the same action without posting the component or its enclosing menus or dialogs.} \usage{atkActionGetKeybinding(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } } \value{[character] a string representing the available keybindings, or \code{NULL} if there is no keybinding for this action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetDisplayNameAsync.Rd0000644000176000001440000000205412362217677017142 0ustar ripleyusers\alias{gFileSetDisplayNameAsync} \name{gFileSetDisplayNameAsync} \title{gFileSetDisplayNameAsync} \description{Asynchronously sets the display name for a given \code{\link{GFile}}.} \usage{gFileSetDisplayNameAsync(object, display.name, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{display.name}}{a string.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileSetDisplayName}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileSetDisplayNameFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetRowSeparatorFunc.Rd0000644000176000001440000000132312362217677020370 0ustar ripleyusers\alias{gtkComboBoxSetRowSeparatorFunc} \name{gtkComboBoxSetRowSeparatorFunc} \title{gtkComboBoxSetRowSeparatorFunc} \description{Sets the row separator function, which is used to determine whether a row should be drawn as a separator. If the row separator function is \code{NULL}, no separators are drawn. This is the default value.} \usage{gtkComboBoxSetRowSeparatorFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkComboBox}}} \item{\verb{func}}{a \code{\link{GtkTreeViewRowSeparatorFunc}}} \item{\verb{data}}{user data to pass to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcAddWidgetClassStyle.Rd0000644000176000001440000000136012362217677017150 0ustar ripleyusers\alias{gtkRcAddWidgetClassStyle} \name{gtkRcAddWidgetClassStyle} \title{gtkRcAddWidgetClassStyle} \description{ Adds a \code{\link{GtkRcStyle}} that will be looked up by a match against the widget's class pathname. This is equivalent to a: \code{widget_class PATTERN style STYLE} statement in a RC file. \strong{WARNING: \code{gtk_rc_add_widget_class_style} is deprecated and should not be used in newly-written code. Use \code{\link{gtkRcParseString}} with a suitable string instead.} } \usage{gtkRcAddWidgetClassStyle(object, pattern)} \arguments{ \item{\verb{object}}{the \code{\link{GtkRcStyle}} to use for widgets matching \code{pattern}} \item{\verb{pattern}}{the pattern} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreIterIsValid.Rd0000644000176000001440000000114512362217677017035 0ustar ripleyusers\alias{gtkTreeStoreIterIsValid} \name{gtkTreeStoreIterIsValid} \title{gtkTreeStoreIterIsValid} \description{WARNING: This function is slow. Only use it for debugging and/or testing purposes.} \usage{gtkTreeStoreIterIsValid(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} } \details{Checks if the given iter is a valid iter for this \code{\link{GtkTreeStore}}. Since 2.2} \value{[logical] \code{TRUE} if the iter is valid, \code{FALSE} if the iter is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetJustify.Rd0000644000176000001440000000065312362217677016636 0ustar ripleyusers\alias{pangoLayoutGetJustify} \name{pangoLayoutGetJustify} \title{pangoLayoutGetJustify} \description{Gets whether each complete line should be stretched to fill the entire width of the layout.} \usage{pangoLayoutGetJustify(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[logical] the justify.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetClickable.Rd0000644000176000001440000000070312362217677020162 0ustar ripleyusers\alias{gtkTreeViewColumnGetClickable} \name{gtkTreeViewColumnGetClickable} \title{gtkTreeViewColumnGetClickable} \description{Returns \code{TRUE} if the user can click on the header for the column.} \usage{gtkTreeViewColumnGetClickable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \value{[logical] \code{TRUE} if user can click the column header.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetLine.Rd0000644000176000001440000000065612362217677016047 0ustar ripleyusers\alias{gtkTextIterGetLine} \name{gtkTextIterGetLine} \title{gtkTextIterGetLine} \description{Returns the line number containing the iterator. Lines in a \code{\link{GtkTextBuffer}} are numbered beginning with 0 for the first line in the buffer.} \usage{gtkTextIterGetLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] a line number} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardLines.Rd0000644000176000001440000000157112362217677017114 0ustar ripleyusers\alias{gtkTextIterForwardLines} \name{gtkTextIterForwardLines} \title{gtkTextIterForwardLines} \description{Moves \code{count} lines forward, if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then \code{FALSE} is returned. If \code{count} is 0, the function does nothing and returns \code{FALSE}. If \code{count} is negative, moves backward by 0 - \code{count} lines.} \usage{gtkTextIterForwardLines(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of lines to move forward} } \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceGetCorePointer.Rd0000644000176000001440000000041712362217677017013 0ustar ripleyusers\alias{gdkDeviceGetCorePointer} \name{gdkDeviceGetCorePointer} \title{gdkDeviceGetCorePointer} \description{Returns the core pointer device for the default display.} \usage{gdkDeviceGetCorePointer()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewMoveMarkOnscreen.Rd0000644000176000001440000000101012362217677017726 0ustar ripleyusers\alias{gtkTextViewMoveMarkOnscreen} \name{gtkTextViewMoveMarkOnscreen} \title{gtkTextViewMoveMarkOnscreen} \description{Moves a mark within the buffer so that it's located within the currently-visible text area.} \usage{gtkTextViewMoveMarkOnscreen(object, mark)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{mark}}{a \code{\link{GtkTextMark}}} } \value{[logical] \code{TRUE} if the mark moved (wasn't already onscreen)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetSizeIsAbsolute.Rd0000644000176000001440000000150012362217677021733 0ustar ripleyusers\alias{pangoFontDescriptionGetSizeIsAbsolute} \name{pangoFontDescriptionGetSizeIsAbsolute} \title{pangoFontDescriptionGetSizeIsAbsolute} \description{Determines whether the size of the font is in points (not absolute) or device units (absolute). See \code{\link{pangoFontDescriptionSetSize}} and \code{\link{pangoFontDescriptionSetAbsoluteSize}}.} \usage{pangoFontDescriptionGetSizeIsAbsolute(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \details{ Since 1.8} \value{[logical] whether the size for the font description is in points or device units. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the size field of the font description was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarRemoveSpace.Rd0000644000176000001440000000107112362217677016553 0ustar ripleyusers\alias{gtkToolbarRemoveSpace} \name{gtkToolbarRemoveSpace} \title{gtkToolbarRemoveSpace} \description{ Removes a space from the specified position. \strong{WARNING: \code{gtk_toolbar_remove_space} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarRemoveSpace(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{position}}{the index of the space to remove.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatSetDisabled.Rd0000644000176000001440000000123412362217677017512 0ustar ripleyusers\alias{gdkPixbufFormatSetDisabled} \name{gdkPixbufFormatSetDisabled} \title{gdkPixbufFormatSetDisabled} \description{Disables or enables an image format. If a format is disabled, gdk-pixbuf won't use the image loader for this format to load images. Applications can use this to avoid using image loaders with an inappropriate license, see \code{\link{gdkPixbufFormatGetLicense}}.} \usage{gdkPixbufFormatSetDisabled(object, disabled)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbufFormat}}} \item{\verb{disabled}}{\code{TRUE} to disable the format \code{format}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetOffset.Rd0000644000176000001440000000072112362217677016413 0ustar ripleyusers\alias{gtkTextIterSetOffset} \name{gtkTextIterSetOffset} \title{gtkTextIterSetOffset} \description{Sets \code{iter} to point to \code{char.offset}. \code{char.offset} counts from the start of the entire text buffer, starting with 0.} \usage{gtkTextIterSetOffset(object, char.offset)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{char.offset}}{a character number} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoSchedulerJobSendToMainloop.Rd0000644000176000001440000000125312362217677020137 0ustar ripleyusers\alias{gIoSchedulerJobSendToMainloop} \name{gIoSchedulerJobSendToMainloop} \title{gIoSchedulerJobSendToMainloop} \description{Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).} \usage{gIoSchedulerJobSendToMainloop(object, func, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GIOSchedulerJob}}} \item{\verb{func}}{a \verb{GSourceFunc} callback that will be called in the original thread} \item{\verb{user.data}}{data to pass to \code{func}} } \value{[logical] The return value of \code{func}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPageSetup.Rd0000644000176000001440000000647512362217677014671 0ustar ripleyusers\alias{GtkPageSetup} \alias{gtkPageSetup} \name{GtkPageSetup} \title{GtkPageSetup} \description{Stores page setup information} \section{Methods and Functions}{ \code{\link{gtkPageSetupNew}()}\cr \code{\link{gtkPageSetupCopy}(object)}\cr \code{\link{gtkPageSetupGetOrientation}(object)}\cr \code{\link{gtkPageSetupSetOrientation}(object, orientation)}\cr \code{\link{gtkPageSetupGetPaperSize}(object)}\cr \code{\link{gtkPageSetupSetPaperSize}(object, size)}\cr \code{\link{gtkPageSetupGetTopMargin}(object, unit)}\cr \code{\link{gtkPageSetupSetTopMargin}(object, margin, unit)}\cr \code{\link{gtkPageSetupGetBottomMargin}(object, unit)}\cr \code{\link{gtkPageSetupSetBottomMargin}(object, margin, unit)}\cr \code{\link{gtkPageSetupGetLeftMargin}(object, unit)}\cr \code{\link{gtkPageSetupSetLeftMargin}(object, margin, unit)}\cr \code{\link{gtkPageSetupGetRightMargin}(object, unit)}\cr \code{\link{gtkPageSetupSetRightMargin}(object, margin, unit)}\cr \code{\link{gtkPageSetupSetPaperSizeAndDefaultMargins}(object, size)}\cr \code{\link{gtkPageSetupGetPaperWidth}(object, unit)}\cr \code{\link{gtkPageSetupGetPaperHeight}(object, unit)}\cr \code{\link{gtkPageSetupGetPageWidth}(object, unit)}\cr \code{\link{gtkPageSetupGetPageHeight}(object, unit)}\cr \code{\link{gtkPageSetupNewFromFile}(file.name, .errwarn = TRUE)}\cr \code{\link{gtkPageSetupNewFromKeyFile}(key.file, group.name, .errwarn = TRUE)}\cr \code{\link{gtkPageSetupLoadFile}(object, file.name, .errwarn = TRUE)}\cr \code{\link{gtkPageSetupLoadKeyFile}(object, key.file, group.name, .errwarn = TRUE)}\cr \code{\link{gtkPageSetupToFile}(object, file.name, .errwarn = TRUE)}\cr \code{\link{gtkPageSetupToKeyFile}(object, key.file, group.name)}\cr \code{gtkPageSetup()} } \section{Hierarchy}{\preformatted{GObject +----GtkPageSetup}} \section{Detailed Description}{A GtkPageSetup object stores the page size, orientation and margins. The idea is that you can get one of these from the page setup dialog and then pass it to the \code{\link{GtkPrintOperation}} when printing. The benefit of splitting this out of the \code{\link{GtkPrintSettings}} is that these affect the actual layout of the page, and thus need to be set long before user prints. The margins specified in this object are the "print margins", i.e. the parts of the page that the printer cannot print on. These are different from the layout margins that a word processor uses; they are typically used to determine the \emph{minimal} size for the layout margins. To obtain a \code{\link{GtkPageSetup}} use \code{\link{gtkPageSetupNew}} to get the defaults, or use \code{\link{gtkPrintRunPageSetupDialog}} to show the page setup dialog and receive the resulting page setup. \emph{A page setup dialog} \preformatted{ do_page_setup <- function() { if (is.null(settings)) settings <- gtkPrintSettings() new_page_setup <- gtkPrintRunPageSetupDialog(main_window, page_setup, settings) page_setup <- new_page_setup } } Printing support was added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkPageSetup}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkPageSetup} is the equivalent of \code{\link{gtkPageSetupNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkPageSetup.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetTypeHint.Rd0000644000176000001440000000064312362217677016417 0ustar ripleyusers\alias{gtkWindowGetTypeHint} \name{gtkWindowGetTypeHint} \title{gtkWindowGetTypeHint} \description{Gets the type hint for this window. See \code{\link{gtkWindowSetTypeHint}}.} \usage{gtkWindowGetTypeHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GdkWindowTypeHint}}] the type hint for \code{window}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetCopy.Rd0000644000176000001440000000053212362217677015235 0ustar ripleyusers\alias{gSrvTargetCopy} \name{gSrvTargetCopy} \title{gSrvTargetCopy} \description{Copies \code{target}} \usage{gSrvTargetCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[\code{\link{GSrvTarget}}] a copy of \code{target}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenListVisuals.Rd0000644000176000001440000000114112362217677016417 0ustar ripleyusers\alias{gdkScreenListVisuals} \name{gdkScreenListVisuals} \title{gdkScreenListVisuals} \description{Lists the available visuals for the specified \code{screen}. A visual describes a hardware image data format. For example, a visual might support 24-bit color, or 8-bit color, and might expect pixels to be in a certain format.} \usage{gdkScreenListVisuals(object)} \arguments{\item{\verb{object}}{the relevant \code{\link{GdkScreen}}.}} \details{ Since 2.2} \value{[list] a list of visuals; the list must be freed, but not its contents} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSelectMonth.Rd0000644000176000001440000000073112362217677016700 0ustar ripleyusers\alias{gtkCalendarSelectMonth} \name{gtkCalendarSelectMonth} \title{gtkCalendarSelectMonth} \description{Shifts the calendar to a different month.} \usage{gtkCalendarSelectMonth(object, month, year)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}} \item{\verb{month}}{a month number between 0 and 11.} \item{\verb{year}}{the year the month is in.} } \value{[logical] \code{TRUE}, always} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByAddressFinish.Rd0000644000176000001440000000202412362217677020414 0ustar ripleyusers\alias{gResolverLookupByAddressFinish} \name{gResolverLookupByAddressFinish} \title{gResolverLookupByAddressFinish} \description{Retrieves the result of a previous call to \code{\link{gResolverLookupByAddressAsync}}.} \usage{gResolverLookupByAddressFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{result}}{the result passed to your \code{\link{GAsyncReadyCallback}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the DNS resolution failed, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If the operation was cancelled, \code{error} will be set to \code{G_IO_ERROR_CANCELLED}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[character] a hostname (either ASCII-only, or in ASCII-encoded form), or \code{NULL} on error.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetIconName.Rd0000644000176000001440000000076012362217677017206 0ustar ripleyusers\alias{gtkToolButtonGetIconName} \name{gtkToolButtonGetIconName} \title{gtkToolButtonGetIconName} \description{Returns the name of the themed icon for the tool button, see \code{\link{gtkToolButtonSetIconName}}.} \usage{gtkToolButtonGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.8} \value{[character] the icon name or \code{NULL} if the tool button has no themed icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboDisableActivate.Rd0000644000176000001440000000130612362217677017024 0ustar ripleyusers\alias{gtkComboDisableActivate} \name{gtkComboDisableActivate} \title{gtkComboDisableActivate} \description{ Stops the \code{\link{GtkCombo}} widget from showing the popup list when the \code{\link{GtkEntry}} emits the "activate" signal, i.e. when the Return key is pressed. This may be useful if, for example, you want the Return key to close a dialog instead. \strong{WARNING: \code{gtk_combo_disable_activate} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboDisableActivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCombo}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetFilename.Rd0000644000176000001440000000104411766145227017167 0ustar ripleyusers\alias{gtkIconSourceGetFilename} \name{gtkIconSourceGetFilename} \title{gtkIconSourceGetFilename} \description{Retrieves the source filename, or \code{NULL} if none is set. The filename is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source.} \usage{gtkIconSourceGetFilename(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[character] image filename. This string must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPropagateEvent.Rd0000644000176000001440000000242312362217677015745 0ustar ripleyusers\alias{gtkPropagateEvent} \name{gtkPropagateEvent} \title{gtkPropagateEvent} \description{Sends an event to a widget, propagating the event to parent widgets if the event remains unhandled. Events received by GTK+ from GDK normally begin in \code{\link{gtkMainDoEvent}}. Depending on the type of event, existence of modal dialogs, grabs, etc., the event may be propagated; if so, this function is used. \code{\link{gtkPropagateEvent}} calls \code{\link{gtkWidgetEvent}} on each widget it decides to send the event to. So \code{\link{gtkWidgetEvent}} is the lowest-level function; it simply emits the "event" and possibly an event-specific signal on a widget. \code{\link{gtkPropagateEvent}} is a bit higher-level, and \code{\link{gtkMainDoEvent}} is the highest level.} \usage{gtkPropagateEvent(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{event}}{an event} } \details{All that said, you most likely don't want to use any of these functions; synthesizing events is rarely needed. Consider asking on the mailing list for better ways to achieve your goals. For example, use \code{\link{gdkWindowInvalidateRect}} or \code{\link{gtkWidgetQueueDraw}} instead of making up expose events.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnCellSetCellData.Rd0000644000176000001440000000200012362217677020566 0ustar ripleyusers\alias{gtkTreeViewColumnCellSetCellData} \name{gtkTreeViewColumnCellSetCellData} \title{gtkTreeViewColumnCellSetCellData} \description{Sets the cell renderer based on the \code{tree.model} and \code{iter}. That is, for every attribute mapping in \code{tree.column}, it will get a value from the set column on the \code{iter}, and use that value to set the attribute on the cell renderer. This is used primarily by the \code{\link{GtkTreeView}}.} \usage{gtkTreeViewColumnCellSetCellData(object, tree.model, iter, is.expander, is.expanded)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{tree.model}}{The \code{\link{GtkTreeModel}} to to get the cell renderers attributes from.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}} to to get the cell renderer's attributes from.} \item{\verb{is.expander}}{\code{TRUE}, if the row has children} \item{\verb{is.expanded}}{\code{TRUE}, if the row has visible children} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowActivateFocus.Rd0000644000176000001440000000060512362217677016751 0ustar ripleyusers\alias{gtkWindowActivateFocus} \name{gtkWindowActivateFocus} \title{gtkWindowActivateFocus} \description{Activates the current focused widget within the window.} \usage{gtkWindowActivateFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if a widget got activated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-animation.Rd0000644000176000001440000000553012362217677016332 0ustar ripleyusers\alias{gdk-pixbuf-animation} \alias{GdkPixbufAnimation} \alias{GdkPixbufAnimationIter} \alias{GdkPixbufSimpleAnim} \alias{gdkPixbufAnimation} \alias{gdkPixbufSimpleAnim} \name{gdk-pixbuf-animation} \title{Animations} \description{Animated images.} \section{Methods and Functions}{ \code{\link{gdkPixbufAnimationGetWidth}(object)}\cr \code{\link{gdkPixbufAnimationGetHeight}(object)}\cr \code{\link{gdkPixbufAnimationGetIter}(object, start.time)}\cr \code{\link{gdkPixbufAnimationIsStaticImage}(object)}\cr \code{\link{gdkPixbufAnimationGetStaticImage}(object)}\cr \code{\link{gdkPixbufAnimationIterAdvance}(object, current.time)}\cr \code{\link{gdkPixbufAnimationIterGetDelayTime}(object)}\cr \code{\link{gdkPixbufAnimationIterOnCurrentlyLoadingFrame}(object)}\cr \code{\link{gdkPixbufAnimationIterGetPixbuf}(object)}\cr \code{\link{gdkPixbufSimpleAnimNew}(width, height, rate)}\cr \code{\link{gdkPixbufSimpleAnimAddFrame}(object, pixbuf)}\cr \code{\link{gdkPixbufSimpleAnimSetLoop}(object, loop)}\cr \code{\link{gdkPixbufSimpleAnimGetLoop}(object)}\cr \code{gdkPixbufAnimation(filename, .errwarn = TRUE)}\cr\code{gdkPixbufSimpleAnim(width, height, rate)} } \section{Hierarchy}{\preformatted{ GObject +----GdkPixbufAnimation +----GdkPixbufSimpleAnim GObject +----GdkPixbufAnimationIter GObject +----GdkPixbufAnimation +----GdkPixbufSimpleAnim }} \section{Detailed Description}{ The \command{gdk-pixbuf} library provides a simple mechanism to load and represent animations. An animation is conceptually a series of frames to be displayed over time. Each frame is the same size. The animation may not be represented as a series of frames internally; for example, it may be stored as a sprite and instructions for moving the sprite around a background. To display an animation you don't need to understand its representation, however; you just ask \command{gdk-pixbuf} what should be displayed at a given point in time. } \section{Structures}{\describe{ \item{\verb{GdkPixbufAnimation}}{ An opaque struct representing an animation. } \item{\verb{GdkPixbufAnimationIter}}{ An opaque struct representing an iterator which points to a certain position in an animation. } \item{\verb{GdkPixbufSimpleAnim}}{ An opaque struct representing a simple animation. } }} \section{Convenient Construction}{ \code{gdkPixbufAnimation} is the equivalent of \code{\link{gdkPixbufAnimationNewFromFile}}. \code{gdkPixbufSimpleAnim} is the equivalent of \code{\link{gdkPixbufSimpleAnimNew}}. } \section{Properties}{\describe{\item{\verb{loop} [logical : Read / Write]}{ Whether the animation should loop when it reaches the end. Default value: FALSE Since 2.18 }}} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-animation.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GdkPixbufLoader}}} \keyword{internal} RGtk2/man/gtkRcReparseAllForSettings.Rd0000644000176000001440000000114512362217677017530 0ustar ripleyusers\alias{gtkRcReparseAllForSettings} \name{gtkRcReparseAllForSettings} \title{gtkRcReparseAllForSettings} \description{If the modification time on any previously read file for the given \code{\link{GtkSettings}} has changed, discard all style information and then reread all previously read RC files.} \usage{gtkRcReparseAllForSettings(settings, force.load)} \arguments{ \item{\verb{settings}}{a \code{\link{GtkSettings}}} \item{\verb{force.load}}{load whether or not anything changed} } \value{[logical] \code{TRUE} if the files were reread.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRegisterSerializeTagset.Rd0000644000176000001440000000300212362217677021616 0ustar ripleyusers\alias{gtkTextBufferRegisterSerializeTagset} \name{gtkTextBufferRegisterSerializeTagset} \title{gtkTextBufferRegisterSerializeTagset} \description{This function registers GTK+'s internal rich text serialization format with the passed \code{buffer}. The internal format does not comply to any standard rich text format and only works between \code{\link{GtkTextBuffer}} instances. It is capable of serializing all of a text buffer's tags and embedded pixbufs.} \usage{gtkTextBufferRegisterSerializeTagset(object, tagset.name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{tagset.name}}{an optional tagset name, on \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{This function is just a wrapper around \code{\link{gtkTextBufferRegisterSerializeFormat}}. The mime type used for registering is "application/x-gtk-text-buffer-rich-text", or "application/x-gtk-text-buffer-rich-text;format=\code{tagset.name}" if a \code{tagset.name} was passed. The \code{tagset.name} can be used to restrict the transfer of rich text to buffers with compatible sets of tags, in order to avoid unknown tags from being pasted. It is probably the common case to pass an identifier != \code{NULL} here, since the \code{NULL} tagset requires the receiving buffer to deal with with pasting of arbitrary tags. Since 2.10} \value{[\code{\link{GdkAtom}}] the \code{\link{GdkAtom}} that corresponds to the newly registered format's mime-type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixScale.Rd0000644000176000001440000000121512362217677015543 0ustar ripleyusers\alias{cairoMatrixScale} \name{cairoMatrixScale} \title{cairoMatrixScale} \description{Applies scaling by \code{sx}, \code{sy} to the transformation in \code{matrix}. The effect of the new transformation is to first scale the coordinates by \code{sx} and \code{sy}, then apply the original transformation to the coordinates.} \usage{cairoMatrixScale(matrix, sx, sy)} \arguments{ \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{sx}}{[numeric] scale factor in the X direction} \item{\verb{sy}}{[numeric] scale factor in the Y direction} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFilenameCompleter.Rd0000644000176000001440000000256112362217677016020 0ustar ripleyusers\alias{GFilenameCompleter} \alias{gFilenameCompleter} \name{GFilenameCompleter} \title{GFilenameCompleter} \description{Filename Completer} \section{Methods and Functions}{ \code{\link{gFilenameCompleterNew}()}\cr \code{\link{gFilenameCompleterGetCompletionSuffix}(object, initial.text)}\cr \code{\link{gFilenameCompleterGetCompletions}(object, initial.text)}\cr \code{\link{gFilenameCompleterSetDirsOnly}(object, dirs.only)}\cr \code{gFilenameCompleter()} } \section{Hierarchy}{\preformatted{GObject +----GFilenameCompleter}} \section{Detailed Description}{Completes partial file and directory names given a partial string by looking in the file system for clues. Can return a list of possible completion strings for widget implementations.} \section{Structures}{\describe{\item{\verb{GFilenameCompleter}}{ Completes filenames based on files that exist within the file system. }}} \section{Convenient Construction}{\code{gFilenameCompleter} is the equivalent of \code{\link{gFilenameCompleterNew}}.} \section{Signals}{\describe{\item{\code{got-completion-data(user.data)}}{ Emitted when the file name completion information comes available. \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} }}} \references{\url{http://library.gnome.org/devel//gio/GFilenameCompleter.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutClearAttributes.Rd0000644000176000001440000000100112362217677020103 0ustar ripleyusers\alias{gtkCellLayoutClearAttributes} \name{gtkCellLayoutClearAttributes} \title{gtkCellLayoutClearAttributes} \description{Clears all existing attributes previously set with \code{\link{gtkCellLayoutSetAttributes}}.} \usage{gtkCellLayoutClearAttributes(object, cell)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}} to clear the attribute mapping on.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParse.Rd0000644000176000001440000000053411766145227014357 0ustar ripleyusers\alias{gtkRcParse} \name{gtkRcParse} \title{gtkRcParse} \description{Parses a given resource file.} \usage{gtkRcParse(filename)} \arguments{\item{\verb{filename}}{the filename of a file to parse. If \code{filename} is not absolute, it is searched in the current directory.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetNItems.Rd0000644000176000001440000000057612362217677016212 0ustar ripleyusers\alias{gtkToolbarGetNItems} \name{gtkToolbarGetNItems} \title{gtkToolbarGetNItems} \description{Returns the number of items on the toolbar.} \usage{gtkToolbarGetNItems(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \details{Since 2.4} \value{[integer] the number of items on the toolbar} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerClassListChildProperties.Rd0000644000176000001440000000115612362217677021610 0ustar ripleyusers\alias{gtkContainerClassListChildProperties} \name{gtkContainerClassListChildProperties} \title{gtkContainerClassListChildProperties} \description{Returns all child properties of a container class.} \usage{gtkContainerClassListChildProperties(cclass)} \arguments{\item{\verb{cclass}}{a \code{\link{GtkContainerClass}}}} \value{ A list containing the following elements: \item{retval}{[\code{\link{GParamSpec}}] a newly allocated list of \code{\link{GParamSpec}}*.} \item{\verb{n.properties}}{location to return the number of child properties found} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTooltip.Rd0000644000176000001440000000574012362217677014420 0ustar ripleyusers\alias{GtkTooltip} \name{GtkTooltip} \title{GtkTooltip} \description{Add tips to your widgets} \section{Methods and Functions}{ \code{\link{gtkTooltipSetMarkup}(object, markup)}\cr \code{\link{gtkTooltipSetText}(object, text)}\cr \code{\link{gtkTooltipSetIcon}(object, pixbuf)}\cr \code{\link{gtkTooltipSetIconFromStock}(object, stock.id, size)}\cr \code{\link{gtkTooltipSetIconFromIconName}(object, icon.name = NULL, size)}\cr \code{\link{gtkTooltipSetIconFromGicon}(object, gicon, size)}\cr \code{\link{gtkTooltipSetCustom}(object, custom.widget)}\cr \code{\link{gtkTooltipTriggerTooltipQuery}(display)}\cr \code{\link{gtkTooltipSetTipArea}(object, area)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkTooltip}} \section{Detailed Description}{\code{\link{GtkTooltip}} belongs to the new tooltips API that was introduced in GTK+ 2.12 and which deprecates the old \code{\link{GtkTooltips}} API. Basic tooltips can be realized simply by using \code{\link{gtkWidgetSetTooltipText}} or \code{\link{gtkWidgetSetTooltipMarkup}} without any explicit tooltip object. When you need a tooltip with a little more fancy contents, like adding an image, or you want the tooltip to have different contents per GtkTreeView row or cell, you will have to do a little more work: \itemize{ \item Set the \verb{"has-tooltip"} property to \code{TRUE}, this will make GTK+ monitor the widget for motion and related events which are needed to determine when and where to show a tooltip. \item Connect to the \verb{"query-tooltip"} signal. This signal will be emitted when a tooltip is supposed to be shown. One of the arguments passed to the signal handler is a \code{\link{GtkTooltip}} object. This is the object that we are about to display as a tooltip, and can be manipulated in your callback using functions like \code{\link{gtkTooltipSetIcon}}. There are functions for setting the tooltip's markup, setting an image from a stock icon, or even putting in a custom widget. \item Return \code{TRUE} from your query-tooltip handler. This causes the tooltip to be show. If you return \code{FALSE}, it will not be shown. } In the probably rare case where you want to have even more control over the tooltip that is about to be shown, you can set your own \code{\link{GtkWindow}} which will be used as tooltip window. This works as follows: \itemize{ \item Set \verb{"has-tooltip"} and connect to \verb{"query-tooltip"} as before. \item Use \code{\link{gtkWidgetSetTooltipWindow}} to set a \code{\link{GtkWindow}} created by you as tooltip window. \item In the ::query-tooltip callback you can access your window using \code{\link{gtkWidgetGetTooltipWindow}} and manipulate as you wish. The semantics of the return value are exactly as before, return \code{TRUE} to show the window, \code{FALSE} to not show it. }} \section{Structures}{\describe{\item{\verb{GtkTooltip}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTooltip.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryPathFromWidget.Rd0000644000176000001440000000156412362217677020061 0ustar ripleyusers\alias{gtkItemFactoryPathFromWidget} \name{gtkItemFactoryPathFromWidget} \title{gtkItemFactoryPathFromWidget} \description{ If \code{widget} has been created by an item factory, returns the full path to it. (The full path of a widget is the concatenation of the factory path specified in \code{\link{gtkItemFactoryNew}} with the path specified in the \code{\link{GtkItemFactoryEntry}} from which the widget was created.) \strong{WARNING: \code{gtk_item_factory_path_from_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryPathFromWidget(widget)} \arguments{\item{\verb{widget}}{a widget}} \value{[character] the full path to \code{widget} if it has been created by an item factory, \code{NULL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressEnumeratorNextFinish.Rd0000644000176000001440000000162212362217677021262 0ustar ripleyusers\alias{gSocketAddressEnumeratorNextFinish} \name{gSocketAddressEnumeratorNextFinish} \title{gSocketAddressEnumeratorNextFinish} \description{Retrieves the result of a completed call to \code{\link{gSocketAddressEnumeratorNextAsync}}. See \code{\link{gSocketAddressEnumeratorNext}} for more information about error handling.} \usage{gSocketAddressEnumeratorNextFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketAddressEnumerator}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] or \code{NULL} on error (in which case *\code{error} will be set) or if there are no more addresses.} \item{\verb{error}}{a \code{\link{GError}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoVersionString.Rd0000644000176000001440000000074712362217677016163 0ustar ripleyusers\alias{pangoVersionString} \name{pangoVersionString} \title{pangoVersionString} \description{This is similar to the function \code{PANGO_VERSION_STRING} except that it returns the version of Pango available at run-time, as opposed to the version available at compile-time.} \usage{pangoVersionString()} \details{ Since 1.16} \value{[char] A string containing the version of Pango library available at run time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetRowStyle.Rd0000644000176000001440000000100112362217677017005 0ustar ripleyusers\alias{gtkCTreeNodeSetRowStyle} \name{gtkCTreeNodeSetRowStyle} \title{gtkCTreeNodeSetRowStyle} \description{ Set the style of a row. \strong{WARNING: \code{gtk_ctree_node_set_row_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetRowStyle(object, node, style)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{style}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetMatchFunc.Rd0000644000176000001440000000122012362217677020413 0ustar ripleyusers\alias{gtkEntryCompletionSetMatchFunc} \name{gtkEntryCompletionSetMatchFunc} \title{gtkEntryCompletionSetMatchFunc} \description{Sets the match function for \code{completion} to be \code{func}. The match function is used to determine if a row should or should not be in the completion list.} \usage{gtkEntryCompletionSetMatchFunc(object, func, func.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{func}}{The \code{\link{GtkEntryCompletionMatchFunc}} to use.} \item{\verb{func.data}}{The user data for \code{func}.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkBuilder.Rd0000644000176000001440000003310412362217677014347 0ustar ripleyusers\alias{GtkBuilder} \alias{gtkBuilder} \alias{GtkBuilderConnectFunc} \alias{GtkBuilderError} \name{GtkBuilder} \title{GtkBuilder} \description{Build an interface from an XML UI definition} \section{Methods and Functions}{ \code{\link{gtkBuilderNew}()}\cr \code{\link{gtkBuilderAddFromFile}(object, filename, .errwarn = TRUE)}\cr \code{\link{gtkBuilderAddFromString}(object, buffer, length, .errwarn = TRUE)}\cr \code{\link{gtkBuilderAddObjectsFromFile}(object, filename, object.ids, .errwarn = TRUE)}\cr \code{\link{gtkBuilderAddObjectsFromString}(object, buffer, length, object.ids, .errwarn = TRUE)}\cr \code{\link{gtkBuilderGetObject}(object, name)}\cr \code{\link{gtkBuilderGetObjects}(object)}\cr \code{\link{gtkBuilderConnectSignals}(object, user.data = NULL)}\cr \code{\link{gtkBuilderConnectSignalsFull}(object, func, user.data)}\cr \code{\link{gtkBuilderSetTranslationDomain}(object, domain)}\cr \code{\link{gtkBuilderGetTranslationDomain}(object)}\cr \code{\link{gtkBuilderGetTypeFromName}(object, type.name)}\cr \code{\link{gtkBuilderValueFromString}(object, pspec, string, .errwarn = TRUE)}\cr \code{\link{gtkBuilderValueFromStringType}(object, type, string, .errwarn = TRUE)}\cr \code{gtkBuilder()} } \section{Hierarchy}{\preformatted{GObject +----GtkBuilder}} \section{Detailed Description}{A GtkBuilder is an auxiliary object that reads textual descriptions of a user interface and instantiates the described objects. To pass a description to a GtkBuilder, call \code{\link{gtkBuilderAddFromFile}} or \code{\link{gtkBuilderAddFromString}}. These functions can be called multiple times; the builder merges the content of all descriptions. A GtkBuilder holds a reference to all objects that it has constructed and drops these references when it is finalized. This finalization can cause the destruction of non-widget objects or widgets which are not contained in a toplevel window. For toplevel windows constructed by a builder, it is the responsibility of the user to call \code{\link{gtkWidgetDestroy}} to get rid of them and all the widgets they contain. The functions \code{\link{gtkBuilderGetObject}} and \code{\link{gtkBuilderGetObjects}} can be used to access the widgets in the interface by the names assigned to them inside the UI description. Toplevel windows returned by these functions will stay around until the user explicitly destroys them with \code{\link{gtkWidgetDestroy}}. Other widgets will either be part of a larger hierarchy constructed by the builder (in which case you should not have to worry about their lifecycle), or without a parent, in which case they have to be added to some container to make use of them. Non-widget objects need to be reffed with \code{gObjectRef()} to keep them beyond the lifespan of the builder. The function \code{\link{gtkBuilderConnectSignals}} and variants thereof can be used to connect handlers to the named signals in the description.} \section{GtkBuilder UI Definitions}{GtkBuilder parses textual descriptions of user interfaces which are specified in an XML format which can be roughly described by the DTD below. We refer to these descriptions as \dfn{GtkBuilder UI definitions} or just \dfn{UI definitions} if the context is clear. Do not confuse GtkBuilder UI Definitions with GtkUIManager UI Definitions, which are more limited in scope. \preformatted{ } The toplevel element is . It optionally takes a "domain" attribute, which will make the builder look for translated strings using \code{dgettext()} in the domain specified. This can also be done by calling \code{\link{gtkBuilderSetTranslationDomain}} on the builder. Objects are described by elements, which can contain elements to set properties, elements which connect signals to handlers, and elements, which describe child objects (most often widgets inside a container, but also e.g. actions in an action group, or columns in a tree model). A element contains an element which describes the child object. The target toolkit version(s) are described by elements, the "lib" attribute specifies the widget library in question (currently the only supported value is "gtk+") and the "version" attribute specifies the target version in the form ".". The builder will error out if the version requirements are not met. Typically, the specific kind of object represented by an element is specified by the "class" attribute. If the type has not been loaded yet, GTK+ tries to find the \code{getType()} from the class name by applying heuristics. This works in most cases, but if necessary, it is possible to specify the name of the \code{getType()} explictly with the "type-func" attribute. As a special case, GtkBuilder allows to use an object that has been constructed by a \code{\link{GtkUIManager}} in another part of the UI definition by specifying the id of the \code{\link{GtkUIManager}} in the "constructor" attribute and the name of the object in the "id" attribute. Objects must be given a name with the "id" attribute, which allows the application to retrieve them from the builder with \code{\link{gtkBuilderGetObject}}. An id is also necessary to use the object as property value in other parts of the UI definition. \strong{PLEASE NOTE:} Prior to 2.20, GtkBuilder was setting the "name" property of constructed widgets to the "id" attribute. In GTK+ 2.20 or newer, you have to use \code{\link{gtkBuildableGetName}} instead of \code{\link{gtkWidgetGetName}} to obtain the "id", or set the "name" property in your UI definition. Setting properties of objects is pretty straightforward with the element: the "name" attribute specifies the name of the property, and the content of the element specifies the value. If the "translatable" attribute is set to a true value, GTK+ uses \code{gettext()} (or \code{dgettext()} if the builder has a translation domain set) to find a translation for the value. This happens before the value is parsed, so it can be used for properties of any type, but it is probably most useful for string properties. It is also possible to specify a context to disambiguate short strings, and comments which may help the translators. GtkBuilder can parse textual representations for the most common property types: characters, strings, integers, floating-point numbers, booleans (strings like "TRUE", "t", "yes", "y", "1" are interpreted as \code{TRUE}, strings like "FALSE, "f", "no", "n", "0" are interpreted as \code{FALSE}), enumerations (can be specified by their name, nick or integer value), flags (can be specified by their name, nick, integer value, optionally combined with "|", e.g. "GTK_VISIBLE|GTK_REALIZED") and colors (in a format understood by \code{\link{gdkColorParse}}). Objects can be referred to by their name. Pixbufs can be specified as a filename of an image file to load. In general, GtkBuilder allows forward references to objects -- an object doesn't have to constructed before it can be referred to. The exception to this rule is that an object has to be constructed before it can be used as the value of a construct-only property. Signal handlers are set up with the element. The "name" attribute specifies the name of the signal, and the "handler" attribute specifies the function to connect to the signal. By default, GTK+ tries to find the handler using \code{gModuleSymbol()}, but this can be changed by passing a custom \code{\link{GtkBuilderConnectFunc}} to \code{\link{gtkBuilderConnectSignalsFull}}. The remaining attributes, "after", "swapped" and "object", have the same meaning as the corresponding parameters of the \code{gSignalConnectObject()} or \code{gSignalConnectData()} functions. A "last_modification_time" attribute is also allowed, but it does not have a meaning to the builder. Sometimes it is necessary to refer to widgets which have implicitly been constructed by GTK+ as part of a composite widget, to set properties on them or to add further children (e.g. the \code{vbox} of a \code{\link{GtkDialog}}). This can be achieved by setting the "internal-child" propery of the element to a true value. Note that GtkBuilder still requires an element for the internal child, even if it has already been constructed. A number of widgets have different places where a child can be added (e.g. tabs vs. page content in notebooks). This can be reflected in a UI definition by specifying the "type" attribute on a The possible values for the "type" attribute are described in the sections describing the widget-specific portions of UI definitions. \emph{A GtkBuilder UI Definition}\preformatted{ 10 20 gtk-ok TRUE } Beyond this general structure, several object classes define their own XML DTD fragments for filling in the ANY placeholders in the DTD above. Note that a custom element in a element gets parsed by the custom tag handler of the parent object, while a custom element in an element gets parsed by the custom tag handler of the object. These XML fragments are explained in the documentation of the respective objects, see GtkWidget, GtkLabel, GtkWindow, GtkContainer, GtkDialog, GtkCellLayout, GtkColorSelectionDialog, GtkFontSelectionDialog, GtkComboBoxEntry, GtkExpander, GtkFrame, GtkListStore, GtkTreeStore, GtkNotebook, GtkSizeGroup, GtkTreeView, GtkUIManager, GtkActionGroup. GtkMenuItem, GtkAssistant, GtkScale.} \section{Structures}{\describe{\item{\verb{GtkBuilder}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkBuilder} is the equivalent of \code{\link{gtkBuilderNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkBuilderError}}{ Error codes that identify various errors that can occur while using \code{\link{GtkBuilder}}. \describe{ \item{\verb{invalid-type-function}}{A type-func attribute didn't name a function that returns a \code{\link{GType}}.} \item{\verb{unhandled-tag}}{The input contained a tag that \code{\link{GtkBuilder}} can't handle.} \item{\verb{missing-attribute}}{An attribute that is required by \code{\link{GtkBuilder}} was missing.} \item{\verb{invalid-attribute}}{\code{\link{GtkBuilder}} found an attribute that it doesn't understand.} \item{\verb{invalid-tag}}{\code{\link{GtkBuilder}} found a tag that it doesn't understand.} \item{\verb{missing-property-value}}{A required property value was missing.} \item{\verb{invalid-value}}{\code{\link{GtkBuilder}} couldn't parse some attribute value.} } }}} \section{User Functions}{\describe{\item{\code{GtkBuilderConnectFunc(builder, object, signal.name, handler.name, connect.object, flags, user.data)}}{ This is the signature of a function used to connect signals. It is used by the \code{\link{gtkBuilderConnectSignals}} and \code{\link{gtkBuilderConnectSignalsFull}} methods. It is mainly intended for interpreted language bindings, but could be useful where the programmer wants more control over the signal connection process. Since 2.12 \describe{ \item{\code{builder}}{a \code{\link{GtkBuilder}}} \item{\code{object}}{object to connect a signal to} \item{\code{signal.name}}{name of the signal} \item{\code{handler.name}}{name of the handler} \item{\code{connect.object}}{a \code{\link{GObject}}, if non-\code{NULL}, use \code{gSignalConnectObject()}} \item{\code{flags}}{\code{\link{GConnectFlags}} to use} \item{\code{user.data}}{user data} } }}} \section{Properties}{\describe{\item{\verb{translation-domain} [character : * : Read / Write]}{ The translation domain used when translating property values that have been marked as translatable in interface descriptions. If the translation domain is \code{NULL}, \code{\link{GtkBuilder}} uses \code{gettext()}, otherwise \code{gDgettext()}. Default value: NULL Since 2.12 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkBuilder.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParseState.Rd0000644000176000001440000000120712362217677015360 0ustar ripleyusers\alias{gtkRcParseState} \name{gtkRcParseState} \title{gtkRcParseState} \description{Parses a \code{\link{GtkStateType}} variable from the format expected in a RC file.} \usage{gtkRcParseState(scanner)} \arguments{\item{\verb{scanner}}{a \verb{GtkScanner} (must be initialized for parsing an RC file)}} \value{ A list containing the following elements: \item{retval}{[numeric] \code{G_TOKEN_NONE} if parsing succeeded, otherwise the token that was expected but not found.} \item{\verb{state}}{A pointer to a \code{\link{GtkStateType}} variable in which to store the result.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoVersion.Rd0000644000176000001440000000103412362217677014762 0ustar ripleyusers\alias{pangoVersion} \name{pangoVersion} \title{pangoVersion} \description{This is similar to the function \code{PANGO_VERSION} except that it returns the encoded version of Pango available at run-time, as opposed to the version available at compile-time.} \usage{pangoVersion()} \details{A version number can be encoded into an integer using \code{pangoVersionEncode()}. Since 1.16} \value{[integer] The encoded version of Pango library available at run time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellEditable.Rd0000644000176000001440000000500212362217677015266 0ustar ripleyusers\alias{GtkCellEditable} \name{GtkCellEditable} \title{GtkCellEditable} \description{Interface for widgets which can are used for editing cells} \section{Methods and Functions}{ \code{\link{gtkCellEditableStartEditing}(object, event = NULL)}\cr \code{\link{gtkCellEditableEditingDone}(object)}\cr \code{\link{gtkCellEditableRemoveWidget}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkCellEditable}} \section{Implementations}{GtkCellEditable is implemented by \code{\link{GtkComboBox}}, \code{\link{GtkComboBoxEntry}}, \code{\link{GtkEntry}} and \code{\link{GtkSpinButton}}.} \section{Detailed Description}{The \code{\link{GtkCellEditable}} interface must be implemented for widgets to be usable when editing the contents of a \code{\link{GtkTreeView}} cell.} \section{Structures}{\describe{\item{\verb{GtkCellEditable}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{editing-done(cell.editable, user.data)}}{ This signal is a sign for the cell renderer to update its value from the \code{cell.editable}. Implementations of \code{\link{GtkCellEditable}} are responsible for emitting this signal when they are done editing, e.g. \code{\link{GtkEntry}} is emitting it when the user presses Enter. \code{\link{gtkCellEditableEditingDone}} is a convenience method for emitting ::editing-done. \describe{ \item{\code{cell.editable}}{the object on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{remove-widget(cell.editable, user.data)}}{ This signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed. Implementations of \code{\link{GtkCellEditable}} are responsible for emitting this signal when they are done editing. It must be emitted after the \code{\link{gtkCellEditableEditingDone}} signal, to give the cell renderer a chance to update the cell's value before the widget is removed. \code{\link{gtkCellEditableRemoveWidget}} is a convenience method for emitting ::remove-widget. \describe{ \item{\code{cell.editable}}{the object on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{editing-canceled} [logical : Read / Write]}{ Indicates whether editing on the cell has been canceled. Default value: FALSE Since 2.20 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkCellEditable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeMatcherEnumerateNamespace.Rd0000644000176000001440000000155312362217677022217 0ustar ripleyusers\alias{gFileAttributeMatcherEnumerateNamespace} \name{gFileAttributeMatcherEnumerateNamespace} \title{gFileAttributeMatcherEnumerateNamespace} \description{Checks if the matcher will match all of the keys in a given namespace. This will always return \code{TRUE} if a wildcard character is in use (e.g. if matcher was created with "standard::*" and \code{ns} is "standard", or if matcher was created using "*" and namespace is anything.) } \usage{gFileAttributeMatcherEnumerateNamespace(object, ns)} \arguments{ \item{\verb{object}}{a \code{\link{GFileAttributeMatcher}}.} \item{\verb{ns}}{a string containing a file attribute namespace.} } \details{TODO: this is awkwardly worded.} \value{[logical] \code{TRUE} if the matcher matches all of the entries in the given \code{ns}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsNewFromKeyFile.Rd0000644000176000001440000000217712362217677020413 0ustar ripleyusers\alias{gtkPrintSettingsNewFromKeyFile} \name{gtkPrintSettingsNewFromKeyFile} \title{gtkPrintSettingsNewFromKeyFile} \description{Reads the print settings from the group \code{group.name} in \code{key.file}. Returns a new \code{\link{GtkPrintSettings}} object with the restored settings, or \code{NULL} if an error occurred. If the file could not be loaded then error is set to either a \code{\link{GFileError}} or \verb{GKeyFileError}.} \usage{gtkPrintSettingsNewFromKeyFile(key.file, group.name, .errwarn = TRUE)} \arguments{ \item{\verb{key.file}}{the \verb{GKeyFile} to retrieve the settings from} \item{\verb{group.name}}{the name of the group to use, or \code{NULL} to use the default "Print Settings". \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPrintSettings}}] the restored \code{\link{GtkPrintSettings}}} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonNew.Rd0000644000176000001440000000163512362217677015722 0ustar ripleyusers\alias{gtkScaleButtonNew} \name{gtkScaleButtonNew} \title{gtkScaleButtonNew} \description{Creates a \code{\link{GtkScaleButton}}, with a range between \code{min} and \code{max}, with a stepping of \code{step}.} \usage{gtkScaleButtonNew(size, min, max, step, icons, show = TRUE)} \arguments{ \item{\verb{size}}{a stock icon size. \emph{[ \acronym{in} ]}} \item{\verb{min}}{the minimum value of the scale (usually 0)} \item{\verb{max}}{the maximum value of the scale (usually 100)} \item{\verb{step}}{the stepping of value when a scroll-wheel event, or up/down arrow event occurs (usually 2)} \item{\verb{icons}}{a list of icon names, or \code{NULL} if you want to set the list later with \code{\link{gtkScaleButtonSetIcons}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkScaleButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetOpResGboolean.Rd0000644000176000001440000000070712362217677021207 0ustar ripleyusers\alias{gSimpleAsyncResultSetOpResGboolean} \name{gSimpleAsyncResultSetOpResGboolean} \title{gSimpleAsyncResultSetOpResGboolean} \description{Sets the operation result to a boolean within the asynchronous result.} \usage{gSimpleAsyncResultSetOpResGboolean(object, op.res)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{\verb{op.res}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetBackground.Rd0000644000176000001440000000136312362217677016726 0ustar ripleyusers\alias{gdkWindowSetBackground} \name{gdkWindowSetBackground} \title{gdkWindowSetBackground} \description{Sets the background color of \code{window}. (However, when using GTK+, set the background of a widget with \code{\link{gtkWidgetModifyBg}} - if you're an application - or \code{\link{gtkStyleSetBackground}} - if you're implementing a custom widget.)} \usage{gdkWindowSetBackground(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{color}}{an allocated \code{\link{GdkColor}}} } \details{The \code{color} must be allocated; \code{\link{gdkRgbFindColor}} is the best way to allocate a color. See also \code{\link{gdkWindowSetBackPixmap}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterSetLineIndex.Rd0000644000176000001440000000111512362217677017042 0ustar ripleyusers\alias{gtkTextIterSetLineIndex} \name{gtkTextIterSetLineIndex} \title{gtkTextIterSetLineIndex} \description{Same as \code{\link{gtkTextIterSetLineOffset}}, but works with a \emph{byte} index. The given byte index must be at the start of a character, it can't be in the middle of a UTF-8 encoded character.} \usage{gtkTextIterSetLineIndex(object, byte.on.line)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{byte.on.line}}{a byte index relative to the start of \code{iter}'s current line} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetNthPage.Rd0000644000176000001440000000110412362217677016674 0ustar ripleyusers\alias{gtkAssistantGetNthPage} \name{gtkAssistantGetNthPage} \title{gtkAssistantGetNthPage} \description{Returns the child widget contained in page number \code{page.num}.} \usage{gtkAssistantGetNthPage(object, page.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page.num}}{The index of a page in the \code{assistant}, or -1 to get the last page;} } \details{Since 2.10} \value{[\code{\link{GtkWidget}}] The child widget, or \code{NULL} if \code{page.num} is out of bounds.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedGetChild1.Rd0000644000176000001440000000062712362217677015541 0ustar ripleyusers\alias{gtkPanedGetChild1} \name{gtkPanedGetChild1} \title{gtkPanedGetChild1} \description{Obtains the first child of the paned widget.} \usage{gtkPanedGetChild1(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaned}} widget}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] first child, or \code{NULL} if it is not set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromPixmap.Rd0000644000176000001440000000103512362217677016520 0ustar ripleyusers\alias{gtkImageSetFromPixmap} \name{gtkImageSetFromPixmap} \title{gtkImageSetFromPixmap} \description{See \code{\link{gtkImageNewFromPixmap}} for details.} \usage{gtkImageSetFromPixmap(object, pixmap, mask = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{pixmap}}{a \code{\link{GdkPixmap}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask}}{a \code{\link{GdkBitmap}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetBuffer.Rd0000644000176000001440000000063712362217677016370 0ustar ripleyusers\alias{gtkTextIterGetBuffer} \name{gtkTextIterGetBuffer} \title{gtkTextIterGetBuffer} \description{Returns the \code{\link{GtkTextBuffer}} this iterator is associated with.} \usage{gtkTextIterGetBuffer(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[\code{\link{GtkTextBuffer}}] the buffer. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeInt64.Rd0000644000176000001440000000250012362217677016522 0ustar ripleyusers\alias{gFileSetAttributeInt64} \name{gFileSetAttributeInt64} \title{gFileSetAttributeInt64} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_INT64} to \code{value}. If \code{attribute} is of a different type, this operation will fail.} \usage{gFileSetAttributeInt64(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a \verb{numeric} containing the attribute's new value.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookQueryTabLabelPacking.Rd0000644000176000001440000000162412362217677020515 0ustar ripleyusers\alias{gtkNotebookQueryTabLabelPacking} \name{gtkNotebookQueryTabLabelPacking} \title{gtkNotebookQueryTabLabelPacking} \description{ Query the packing attributes for the tab label of the page containing \code{child}. \strong{WARNING: \code{gtk_notebook_query_tab_label_packing} has been deprecated since version 2.20 and should not be used in newly-written code. Modify the \verb{"tab-expand"} and \verb{"tab-fill"} child properties instead.} } \usage{gtkNotebookQueryTabLabelPacking(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the page} } \value{ A list containing the following elements: \item{\verb{expand}}{location to store the expand value (or NULL)} \item{\verb{fill}}{location to store the fill value (or NULL)} \item{\verb{pack.type}}{location to store the pack_type (or NULL)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewSubpixbuf.Rd0000644000176000001440000000154112362217677016600 0ustar ripleyusers\alias{gdkPixbufNewSubpixbuf} \name{gdkPixbufNewSubpixbuf} \title{gdkPixbufNewSubpixbuf} \description{Creates a new pixbuf which represents a sub-region of \code{src.pixbuf}. The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to \code{src.pixbuf}, so \code{src.pixbuf} will not be finalized until the new pixbuf is finalized.} \usage{gdkPixbufNewSubpixbuf(object, src.x, src.y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{src.x}}{X coord in \code{src.pixbuf}} \item{\verb{src.y}}{Y coord in \code{src.pixbuf}} \item{\verb{width}}{width of region in \code{src.pixbuf}} \item{\verb{height}}{height of region in \code{src.pixbuf}} } \value{[\code{\link{GdkPixbuf}}] a new pixbuf} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoAddSupportsType.Rd0000644000176000001440000000132712362217677017053 0ustar ripleyusers\alias{gAppInfoAddSupportsType} \name{gAppInfoAddSupportsType} \title{gAppInfoAddSupportsType} \description{Adds a content type to the application information to indicate the application is capable of opening files with the given content type.} \usage{gAppInfoAddSupportsType(object, content.type, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}.} \item{\verb{content.type}}{a string.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetSummary.Rd0000644000176000001440000000077312362217677016102 0ustar ripleyusers\alias{atkTableSetSummary} \name{atkTableSetSummary} \title{atkTableSetSummary} \description{Sets the summary description of the table.} \usage{atkTableSetSummary(object, accessible)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{accessible}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} representing the summary description to set for \code{table}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoToyFontFaceGetWeight.Rd0000644000176000001440000000064712362217677017330 0ustar ripleyusers\alias{cairoToyFontFaceGetWeight} \name{cairoToyFontFaceGetWeight} \title{cairoToyFontFaceGetWeight} \description{Gets the weight a toy font.} \usage{cairoToyFontFaceGetWeight(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A toy font face}} \details{ Since 1.8} \value{[\code{\link{CairoFontWeight}}] The weight value} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerRemoveUi.Rd0000644000176000001440000000073312362217677016307 0ustar ripleyusers\alias{gtkUIManagerRemoveUi} \name{gtkUIManagerRemoveUi} \title{gtkUIManagerRemoveUi} \description{Unmerges the part of \code{self}s content identified by \code{merge.id}.} \usage{gtkUIManagerRemoveUi(object, merge.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}} object} \item{\verb{merge.id}}{a merge id as returned by \code{\link{gtkUIManagerAddUiFromString}}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontGetScaledFont.Rd0000644000176000001440000000113612362217677017627 0ustar ripleyusers\alias{pangoCairoFontGetScaledFont} \name{pangoCairoFontGetScaledFont} \title{pangoCairoFontGetScaledFont} \description{Gets the \code{\link{CairoScaledFont}} used by \code{font}.} \usage{pangoCairoFontGetScaledFont(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCairoFont}}] a \code{\link{PangoFont}} from a \code{\link{PangoCairoFontMap}}}} \details{ Since 1.18} \value{[\code{\link{CairoScaledFont}}] the \code{\link{CairoScaledFont}} used by \code{font}, or \code{NULL} if \code{font} is \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtLineIndex.Rd0000644000176000001440000000145212362217677020451 0ustar ripleyusers\alias{gtkTextBufferGetIterAtLineIndex} \name{gtkTextBufferGetIterAtLineIndex} \title{gtkTextBufferGetIterAtLineIndex} \description{Obtains an iterator pointing to \code{byte.index} within the given line. \code{byte.index} must be the start of a UTF-8 character, and must not be beyond the end of the line. Note \emph{bytes}, not characters; UTF-8 may encode one character as multiple bytes.} \usage{gtkTextBufferGetIterAtLineIndex(object, line.number, byte.index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{line.number}}{line number counting from 0} \item{\verb{byte.index}}{byte index from start of line} } \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPrependPageMenu.Rd0000644000176000001440000000233112362217677017537 0ustar ripleyusers\alias{gtkNotebookPrependPageMenu} \name{gtkNotebookPrependPageMenu} \title{gtkNotebookPrependPageMenu} \description{Prepends a page to \code{notebook}, specifying the widget to use as the label in the popup menu.} \usage{gtkNotebookPrependPageMenu(object, child, tab.label = NULL, menu.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} \item{\verb{menu.label}}{the widget to use as a label for the page-switch menu, if that is enabled. If \code{NULL}, and \code{tab.label} is a \code{\link{GtkLabel}} or \code{NULL}, then the menu label will be a newly created label with the same text as \code{tab.label}; If \code{tab.label} is not a \code{\link{GtkLabel}}, \code{menu.label} must be specified if the page-switch menu is to be used. \emph{[ \acronym{allow-none} ]}} } \value{[integer] the index (starting from 0) of the prepended page in the notebook, or -1 if function fails} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetVisibleVertical.Rd0000644000176000001440000000067012362217677017710 0ustar ripleyusers\alias{gtkActionGetVisibleVertical} \name{gtkActionGetVisibleVertical} \title{gtkActionGetVisibleVertical} \description{Checks whether \code{action} is visible when horizontal} \usage{gtkActionGetVisibleVertical(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[logical] whether \code{action} is visible when horizontal} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetWrapMode.Rd0000644000176000001440000000056512362217677016704 0ustar ripleyusers\alias{gtkTextViewGetWrapMode} \name{gtkTextViewGetWrapMode} \title{gtkTextViewGetWrapMode} \description{Gets the line wrapping for the view.} \usage{gtkTextViewGetWrapMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[\code{\link{GtkWrapMode}}] the line wrap setting} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetFontName.Rd0000644000176000001440000000157212362217677021011 0ustar ripleyusers\alias{gtkFontSelectionDialogGetFontName} \name{gtkFontSelectionDialogGetFontName} \title{gtkFontSelectionDialogGetFontName} \description{Gets the currently-selected font name.} \usage{gtkFontSelectionDialogGetFontName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \details{Note that this can be a different string than what you set with \code{\link{gtkFontSelectionDialogSetFontName}}, as the font selection widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use \code{\link{pangoFontDescriptionEqual}} if you want to compare two font descriptions.} \value{[character] A string with the name of the current font, or \code{NULL} if no font is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewExpandToPath.Rd0000644000176000001440000000067512362217677017042 0ustar ripleyusers\alias{gtkTreeViewExpandToPath} \name{gtkTreeViewExpandToPath} \title{gtkTreeViewExpandToPath} \description{Expands the row at \code{path}. This will also expand all parent rows of \code{path} as necessary.} \usage{gtkTreeViewExpandToPath(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{path}}{path to a row.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufApplyEmbeddedOrientation.Rd0000644000176000001440000000160512362217677021073 0ustar ripleyusers\alias{gdkPixbufApplyEmbeddedOrientation} \name{gdkPixbufApplyEmbeddedOrientation} \title{gdkPixbufApplyEmbeddedOrientation} \description{Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which may be provided by the jpeg loader (which reads the exif orientation tag) or the tiff loader (which reads the tiff orientation tag, and compensates it for the partial transforms performed by libtiff). If an orientation option/tag is present, the appropriate transform will be performed so that the pixbuf is oriented correctly.} \usage{gdkPixbufApplyEmbeddedOrientation(object)} \arguments{\item{\verb{object}}{A \code{\link{GdkPixbuf}}.}} \details{Since 2.12} \value{[\code{\link{GdkPixbuf}}] A newly-created pixbuf, or a reference to the input pixbuf (with an increased reference count).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonNewWithColor.Rd0000644000176000001440000000066312362217677017604 0ustar ripleyusers\alias{gtkColorButtonNewWithColor} \name{gtkColorButtonNewWithColor} \title{gtkColorButtonNewWithColor} \description{Creates a new color button.} \usage{gtkColorButtonNewWithColor(color, show = TRUE)} \arguments{\item{\verb{color}}{A \code{\link{GdkColor}} to set the current color with.}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new color button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionUnionWithRect.Rd0000644000176000001440000000100412362217677016701 0ustar ripleyusers\alias{gdkRegionUnionWithRect} \name{gdkRegionUnionWithRect} \title{gdkRegionUnionWithRect} \description{Sets the area of \code{region} to the union of the areas of \code{region} and \code{rect}. The resulting area is the set of pixels contained in either \code{region} or \code{rect}.} \usage{gdkRegionUnionWithRect(object, rect)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}.} \item{\verb{rect}}{a \code{\link{GdkRectangle}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkOffscreenWindowGetPixmap.Rd0000644000176000001440000000105612362217677017723 0ustar ripleyusers\alias{gdkOffscreenWindowGetPixmap} \name{gdkOffscreenWindowGetPixmap} \title{gdkOffscreenWindowGetPixmap} \description{Gets the offscreen pixmap that an offscreen window renders into. If you need to keep this around over window resizes, you need to add a reference to it.} \usage{gdkOffscreenWindowGetPixmap(window)} \arguments{\item{\verb{window}}{a \code{\link{GdkWindow}}}} \details{Since 2.18} \value{[\code{\link{GdkPixmap}}] The offscreen pixmap, or \code{NULL} if not offscreen} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetForDisplay.Rd0000644000176000001440000000071012362217677016661 0ustar ripleyusers\alias{gdkKeymapGetForDisplay} \name{gdkKeymapGetForDisplay} \title{gdkKeymapGetForDisplay} \description{Returns the \code{\link{GdkKeymap}} attached to \code{display}.} \usage{gdkKeymapGetForDisplay(display)} \arguments{\item{\verb{display}}{the \code{\link{GdkDisplay}}.}} \details{Since 2.2} \value{[\code{\link{GdkKeymap}}] the \code{\link{GdkKeymap}} attached to \code{display}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferEmitDeletedText.Rd0000644000176000001440000000100112362217677020216 0ustar ripleyusers\alias{gtkEntryBufferEmitDeletedText} \name{gtkEntryBufferEmitDeletedText} \title{gtkEntryBufferEmitDeletedText} \description{Used when subclassing \code{\link{GtkEntryBuffer}}} \usage{gtkEntryBufferEmitDeletedText(object, position, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{position}}{position at which text was deleted} \item{\verb{n.chars}}{number of characters deleted} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkKeySnooperInstall.Rd0000644000176000001440000000105712362217677016450 0ustar ripleyusers\alias{gtkKeySnooperInstall} \name{gtkKeySnooperInstall} \title{gtkKeySnooperInstall} \description{Installs a key snooper function, which will get called on all key events before delivering them normally.} \usage{gtkKeySnooperInstall(snooper, func.data = NULL)} \arguments{ \item{\verb{snooper}}{a \code{\link{GtkKeySnoopFunc}}.} \item{\verb{func.data}}{data to pass to \code{snooper}.} } \value{[numeric] a unique id for this key snooper for use with \code{\link{gtkKeySnooperRemove}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDK.Rd0000644000176000001440000000446312362217677012726 0ustar ripleyusers\alias{GDK} \name{GDK} \title{GDK} \description{GDK is the abstraction layer that allows GTK+ to support multiple windowing systems. GDK provides drawing and window system facilities on X11, Windows, and the Linux framebuffer device.} \details{ The RGtk binding to the GDK library consists of the following components: \describe{ \item{\link{gdk-Cairo-Interaction}}{Functions to support using Cairo} \item{\link{gdk-Colormaps-and-Colors}}{Manipulation of colors and colormaps} \item{\link{gdk-Cursors}}{Standard and pixmap cursors} \item{\link{gdk-Drag-and-Drop}}{Functions for controlling drag and drop handling} \item{\link{gdk-Drawing-Primitives}}{Functions for drawing points, lines, arcs, and text} \item{\link{gdk-Event-Structures}}{Data structures specific to each type of event} \item{\link{gdk-Events}}{Functions for handling events from the window system} \item{\link{gdk-Fonts}}{Loading and manipulating fonts} \item{\link{gdk-Graphics-Contexts}}{Objects to encapsulate drawing properties} \item{\link{gdk-Application-launching}}{Startup notification for applications} \item{\link{GdkDisplay}}{Controls the keyboard/mouse pointer grabs and a set of s} \item{\link{GdkDisplayManager}}{Maintains a list of all open s} \item{\link{GdkScreen}}{Object representing a physical screen} \item{\link{gdk-Testing}}{Test utilities} \item{\link{gdk-General}}{Library initialization and miscellaneous functions} \item{\link{gdk-Images}}{A client-side area for bit-mapped graphics} \item{\link{gdk-Input-Devices}}{Functions for handling extended input devices} \item{\link{gdk-Keyboard-Handling}}{Functions for manipulating keyboard codes} \item{\link{gdk-Pango-Interaction}}{Using Pango in GDK} \item{\link{gdk-Pixbufs}}{Functions for rendering pixbufs on drawables} \item{\link{gdk-Bitmaps-and-Pixmaps}}{Offscreen drawables} \item{\link{gdk-Properties-and-Atoms}}{Functions to manipulate properties on windows} \item{\link{gdk-Points-Rectangles-and-Regions}}{Simple graphical data types} \item{\link{gdk-GdkRGB}}{Renders RGB, grayscale, or indexed image data to a GdkDrawable} \item{\link{gdk-Visuals}}{Low-level display hardware information} \item{\link{gdk-Windows}}{Onscreen display areas in the target window system} } } \references{\url{http://library.gnome.org/devel//gdk}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkTextIterEndsWord.Rd0000644000176000001440000000104612362217677016237 0ustar ripleyusers\alias{gtkTextIterEndsWord} \name{gtkTextIterEndsWord} \title{gtkTextIterEndsWord} \description{Determines whether \code{iter} ends a natural-language word. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterEndsWord(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is at the end of a word} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetRootWindow.Rd0000644000176000001440000000064712362217677016722 0ustar ripleyusers\alias{gdkScreenGetRootWindow} \name{gdkScreenGetRootWindow} \title{gdkScreenGetRootWindow} \description{Gets the root window of \code{screen}.} \usage{gdkScreenGetRootWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[\code{\link{GdkWindow}}] the root window. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawInsertionCursor.Rd0000644000176000001440000000220112362217677017001 0ustar ripleyusers\alias{gtkDrawInsertionCursor} \name{gtkDrawInsertionCursor} \title{gtkDrawInsertionCursor} \description{Draws a text caret on \code{drawable} at \code{location}. This is not a style function but merely a convenience function for drawing the standard cursor shape.} \usage{gtkDrawInsertionCursor(widget, drawable, area = NULL, location, is.primary, direction, draw.arrow)} \arguments{ \item{\verb{widget}}{a \code{\link{GtkWidget}}} \item{\verb{drawable}}{a \code{\link{GdkDrawable}}} \item{\verb{area}}{rectangle to which the output is clipped, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{location}}{location where to draw the cursor (\code{location->width} is ignored)} \item{\verb{is.primary}}{if the cursor should be the primary cursor color.} \item{\verb{direction}}{whether the cursor is left-to-right or right-to-left. Should never be \verb{GTK_TEXT_DIR_NONE}} \item{\verb{draw.arrow}}{\code{TRUE} to draw a directional arrow on the cursor. Should be \code{FALSE} unless the cursor is split.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetMaxLength.Rd0000644000176000001440000000132612362217677016407 0ustar ripleyusers\alias{gtkEntrySetMaxLength} \name{gtkEntrySetMaxLength} \title{gtkEntrySetMaxLength} \description{Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit.} \usage{gtkEntrySetMaxLength(object, max)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{max}}{the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.} } \details{This is equivalent to: \preformatted{gtk_entry_buffer_set_max_length (gtk_entry_get_buffer (entry), max); }} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragCheckThreshold.Rd0000644000176000001440000000145312362217677016513 0ustar ripleyusers\alias{gtkDragCheckThreshold} \name{gtkDragCheckThreshold} \title{gtkDragCheckThreshold} \description{Checks to see if a mouse drag starting at (\code{start.x}, \code{start.y}) and ending at (\code{current.x}, \code{current.y}) has passed the GTK+ drag threshold, and thus should trigger the beginning of a drag-and-drop operation.} \usage{gtkDragCheckThreshold(object, start.x, start.y, current.x, current.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{start.x}}{X coordinate of start of drag} \item{\verb{start.y}}{Y coordinate of start of drag} \item{\verb{current.x}}{current X coordinate} \item{\verb{current.y}}{current Y coordinate} } \value{[logical] \code{TRUE} if the drag threshold has been passed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectSetRole.Rd0000644000176000001440000000063512362217677015522 0ustar ripleyusers\alias{atkObjectSetRole} \name{atkObjectSetRole} \title{atkObjectSetRole} \description{Sets the role of the accessible.} \usage{atkObjectSetRole(object, role)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{role}}{[\code{\link{AtkRole}}] an \code{\link{AtkRole}} to be set as the role} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkViewport.Rd0000644000176000001440000000654512362217677014611 0ustar ripleyusers\alias{GtkViewport} \alias{gtkViewport} \name{GtkViewport} \title{GtkViewport} \description{An adapter which makes widgets scrollable} \section{Methods and Functions}{ \code{\link{gtkViewportNew}(hadjustment = NULL, vadjustment = NULL, show = TRUE)}\cr \code{\link{gtkViewportGetHadjustment}(object)}\cr \code{\link{gtkViewportGetVadjustment}(object)}\cr \code{\link{gtkViewportSetHadjustment}(object, adjustment = NULL)}\cr \code{\link{gtkViewportSetVadjustment}(object, adjustment = NULL)}\cr \code{\link{gtkViewportSetShadowType}(object, type)}\cr \code{\link{gtkViewportGetShadowType}(object)}\cr \code{\link{gtkViewportGetBinWindow}(object)}\cr \code{gtkViewport(hadjustment = NULL, vadjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport}} \section{Interfaces}{GtkViewport implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkViewport}} widget acts as an adaptor class, implementing scrollability for child widgets that lack their own scrolling capabilities. Use \code{\link{GtkViewport}} to scroll child widgets such as \code{\link{GtkTable}}, \code{\link{GtkBox}}, and so on. If a widget has native scrolling abilities, such as \code{\link{GtkTextView}}, \code{\link{GtkTreeView}} or \verb{GtkIconview}, it can be added to a \code{\link{GtkScrolledWindow}} with \code{\link{gtkContainerAdd}}. If a widget does not, you must first add the widget to a \code{\link{GtkViewport}}, then add the viewport to the scrolled window. The convenience function \code{\link{gtkScrolledWindowAddWithViewport}} does exactly this, so you can ignore the presence of the viewport.} \section{Structures}{\describe{\item{\verb{GtkViewport}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkViewport} is the equivalent of \code{\link{gtkViewportNew}}.} \section{Signals}{\describe{\item{\code{set-scroll-adjustments(horizontal, vertical, user.data)}}{ Set the scroll adjustments for the viewport. Usually scrolled containers like \code{\link{GtkScrolledWindow}} will emit this signal to connect two instances of \code{\link{GtkScrollbar}} to the scroll directions of the \code{\link{GtkViewport}}. \describe{ \item{\code{horizontal}}{the horizontal \code{\link{GtkAdjustment}}} \item{\code{vertical}}{the vertical \code{\link{GtkAdjustment}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{hadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write / Construct]}{ The GtkAdjustment that determines the values of the horizontal position for this viewport. } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Determines how the shadowed box around the viewport is drawn. Default value: GTK_SHADOW_IN } \item{\verb{vadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write / Construct]}{ The GtkAdjustment that determines the values of the vertical position for this viewport. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkViewport.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkScrolledWindow}} \code{\link{GtkAdjustment}} } \keyword{internal} RGtk2/man/cairoUserToDeviceDistance.Rd0000644000176000001440000000126512362217677017350 0ustar ripleyusers\alias{cairoUserToDeviceDistance} \name{cairoUserToDeviceDistance} \title{cairoUserToDeviceDistance} \description{Transform a distance vector from user space to device space. This function is similar to \code{\link{cairoUserToDevice}} except that the translation components of the CTM will be ignored when transforming (\code{dx},\code{dy}).} \usage{cairoUserToDeviceDistance(cr, dx, dy)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dx}}{[numeric] X component of a distance vector (in/out parameter)} \item{\verb{dy}}{[numeric] Y component of a distance vector (in/out parameter)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueClear.Rd0000644000176000001440000000077512362217677016230 0ustar ripleyusers\alias{gtkWidgetQueueClear} \name{gtkWidgetQueueClear} \title{gtkWidgetQueueClear} \description{ This function does the same as \code{\link{gtkWidgetQueueDraw}}. \strong{WARNING: \code{gtk_widget_queue_clear} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gtkWidgetQueueDraw}} instead.} } \usage{gtkWidgetQueueClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapGet.Rd0000644000176000001440000000076712362217677015137 0ustar ripleyusers\alias{gtkAccelMapGet} \name{gtkAccelMapGet} \title{gtkAccelMapGet} \description{Gets the singleton global \code{\link{GtkAccelMap}} object. This object is useful only for notification of changes to the accelerator map via the ::changed signal; it isn't a parameter to the other accelerator map functions.} \usage{gtkAccelMapGet()} \details{Since 2.4} \value{[\code{\link{GtkAccelMap}}] the global \code{\link{GtkAccelMap}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkNoOpObjectFactory.Rd0000644000176000001440000000201612362217677016303 0ustar ripleyusers\alias{AtkNoOpObjectFactory} \alias{atkNoOpObjectFactory} \name{AtkNoOpObjectFactory} \title{AtkNoOpObjectFactory} \description{The AtkObjectFactory which creates an AtkNoOpObject.} \section{Methods and Functions}{ \code{\link{atkNoOpObjectFactoryNew}()}\cr \code{atkNoOpObjectFactory()} } \section{Hierarchy}{\preformatted{GObject +----AtkObjectFactory +----AtkNoOpObjectFactory}} \section{Detailed Description}{The AtkObjectFactory which creates an AtkNoOpObject. An instance of this is created by an AtkRegistry if no factory type has not been specified to create an accessible object of a particular type.} \section{Structures}{\describe{\item{\verb{AtkNoOpObjectFactory}}{ The AtkNoOpObjectFactory structure should not be accessed directly. }}} \section{Convenient Construction}{\code{atkNoOpObjectFactory} is the equivalent of \code{\link{atkNoOpObjectFactoryNew}}.} \references{\url{http://library.gnome.org/devel//atk/AtkNoOpObjectFactory.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetInverted.Rd0000644000176000001440000000102412362217677016226 0ustar ripleyusers\alias{gtkRangeSetInverted} \name{gtkRangeSetInverted} \title{gtkRangeSetInverted} \description{Ranges normally move from lower to higher values as the slider moves from top to bottom or left to right. Inverted ranges have higher values at the top or on the right rather than on the bottom or left.} \usage{gtkRangeSetInverted(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{setting}}{\code{TRUE} to invert the range} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawPolygon.Rd0000644000176000001440000000124612362217677015250 0ustar ripleyusers\alias{gdkDrawPolygon} \name{gdkDrawPolygon} \title{gdkDrawPolygon} \description{Draws an outlined or filled polygon.} \usage{gdkDrawPolygon(object, gc, filled, points)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{filled}}{\code{TRUE} if the polygon should be filled. The polygon is closed automatically, connecting the last point to the first point if necessary.} \item{\verb{points}}{a list of \code{\link{GdkPoint}} structures specifying the points making up the polygon.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsGetDefault.Rd0000644000176000001440000000043112362217677015162 0ustar ripleyusers\alias{gVfsGetDefault} \name{gVfsGetDefault} \title{gVfsGetDefault} \description{Gets the default \code{\link{GVfs}} for the system.} \usage{gVfsGetDefault()} \value{[\code{\link{GVfs}}] a \code{\link{GVfs}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetPopupAccessible.Rd0000644000176000001440000000113712362217677020174 0ustar ripleyusers\alias{gtkComboBoxGetPopupAccessible} \name{gtkComboBoxGetPopupAccessible} \title{gtkComboBoxGetPopupAccessible} \description{Gets the accessible object corresponding to the combo box's popup.} \usage{gtkComboBoxGetPopupAccessible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since 2.6} \value{[\code{\link{AtkObject}}] the accessible object corresponding to the combo box's popup.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefaultIconFromFile.Rd0000644000176000001440000000146511766145227020511 0ustar ripleyusers\alias{gtkWindowSetDefaultIconFromFile} \name{gtkWindowSetDefaultIconFromFile} \title{gtkWindowSetDefaultIconFromFile} \description{Sets an icon to be used as fallback for windows that haven't had \code{\link{gtkWindowSetIconList}} called on them from a file on disk. Warns on failure if \code{err} is \code{NULL}.} \usage{gtkWindowSetDefaultIconFromFile(filename, .errwarn = TRUE)} \arguments{ \item{\verb{filename}}{location of icon file} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.2} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if setting the icon succeeded.} \item{\verb{error}}{ location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByNameFinish.Rd0000644000176000001440000000204412362217677017711 0ustar ripleyusers\alias{gResolverLookupByNameFinish} \name{gResolverLookupByNameFinish} \title{gResolverLookupByNameFinish} \description{Retrieves the result of a call to \code{\link{gResolverLookupByNameAsync}}.} \usage{gResolverLookupByNameFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{result}}{the result passed to your \code{\link{GAsyncReadyCallback}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the DNS resolution failed, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If the operation was cancelled, \code{error} will be set to \code{G_IO_ERROR_CANCELLED}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[list] a \verb{list} of \code{\link{GInetAddress}}, or \code{NULL} on error. See \code{\link{gResolverLookupByName}} for more details.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRulerGetRange.Rd0000644000176000001440000000165312362217677015533 0ustar ripleyusers\alias{gtkRulerGetRange} \name{gtkRulerGetRange} \title{gtkRulerGetRange} \description{Retrieves values indicating the range and current position of a \code{\link{GtkRuler}}. See \code{\link{gtkRulerSetRange}}.} \usage{gtkRulerGetRange(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRuler}}}} \value{ A list containing the following elements: \item{\verb{lower}}{location to store lower limit of the ruler, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{upper}}{location to store upper limit of the ruler, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{location to store the current position of the mark on the ruler, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{max.size}}{location to store the maximum size of the ruler used when calculating the space to leave for the text, or \code{NULL}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemSetUseStock.Rd0000644000176000001440000000101112362217677017634 0ustar ripleyusers\alias{gtkImageMenuItemSetUseStock} \name{gtkImageMenuItemSetUseStock} \title{gtkImageMenuItemSetUseStock} \description{If \code{TRUE}, the label set in the menuitem is used as a stock id to select the stock item for the item.} \usage{gtkImageMenuItemSetUseStock(object, use.stock)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImageMenuItem}}} \item{\verb{use.stock}}{\code{TRUE} if the menuitem should use a stock item} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetInlineSelection.Rd0000644000176000001440000000103112362217677021627 0ustar ripleyusers\alias{gtkEntryCompletionSetInlineSelection} \name{gtkEntryCompletionSetInlineSelection} \title{gtkEntryCompletionSetInlineSelection} \description{Sets whether it is possible to cycle through the possible completions inside the entry.} \usage{gtkEntryCompletionSetInlineSelection(object, inline.selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryCompletion}}} \item{\verb{inline.selection}}{\code{TRUE} to do inline selection} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionFromString.Rd0000644000176000001440000000225412362217677020467 0ustar ripleyusers\alias{pangoFontDescriptionFromString} \name{pangoFontDescriptionFromString} \title{pangoFontDescriptionFromString} \description{Creates a new font description from a string representation in the form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a comma separated list of families optionally terminated by a comma, STYLE_OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, stretch, or gravity, and SIZE is a decimal number (size in points) or optionally followed by the unit modifier "px" for absolute size. Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to \code{NULL}. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0.} \usage{pangoFontDescriptionFromString(str)} \arguments{\item{\verb{str}}{[char] string representation of a font description.}} \value{[\code{\link{PangoFontDescription}}] a new \code{\link{PangoFontDescription}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetSortColumnId.Rd0000644000176000001440000000112612362217677020673 0ustar ripleyusers\alias{gtkTreeViewColumnGetSortColumnId} \name{gtkTreeViewColumnGetSortColumnId} \title{gtkTreeViewColumnGetSortColumnId} \description{Gets the logical \code{sort.column.id} that the model sorts on when this column is selected for sorting. See \code{\link{gtkTreeViewColumnSetSortColumnId}}.} \usage{gtkTreeViewColumnGetSortColumnId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \value{[integer] the current \code{sort.column.id} for this column, or -1 if this column can't be used for sorting.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentManager.Rd0000644000176000001440000001572312362217677015503 0ustar ripleyusers\alias{GtkRecentManager} \alias{GtkRecentInfo} \alias{GtkRecentData} \alias{gtkRecentManager} \alias{GtkRecentManagerError} \name{GtkRecentManager} \title{GtkRecentManager} \description{Managing Recently Used Files} \section{Methods and Functions}{ \code{\link{gtkRecentManagerNew}()}\cr \code{\link{gtkRecentManagerGetDefault}()}\cr \code{\link{gtkRecentManagerGetForScreen}(screen)}\cr \code{\link{gtkRecentManagerGetForScreen}(screen)}\cr \code{\link{gtkRecentManagerSetScreen}(object, screen)}\cr \code{\link{gtkRecentManagerSetScreen}(object, screen)}\cr \code{\link{gtkRecentManagerAddItem}(object, uri)}\cr \code{\link{gtkRecentManagerAddFull}(object, uri, recent.data)}\cr \code{\link{gtkRecentManagerRemoveItem}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkRecentManagerLookupItem}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkRecentManagerHasItem}(object, uri)}\cr \code{\link{gtkRecentManagerMoveItem}(object, uri, new.uri, .errwarn = TRUE)}\cr \code{\link{gtkRecentManagerGetLimit}(object)}\cr \code{\link{gtkRecentManagerSetLimit}(object, limit)}\cr \code{\link{gtkRecentManagerGetItems}(object)}\cr \code{\link{gtkRecentManagerPurgeItems}(object, .errwarn = TRUE)}\cr \code{\link{gtkRecentInfoRef}(object)}\cr \code{\link{gtkRecentInfoUnref}(object)}\cr \code{\link{gtkRecentInfoGetUri}(object)}\cr \code{\link{gtkRecentInfoGetDisplayName}(object)}\cr \code{\link{gtkRecentInfoGetDescription}(object)}\cr \code{\link{gtkRecentInfoGetMimeType}(object)}\cr \code{\link{gtkRecentInfoGetAdded}(object)}\cr \code{\link{gtkRecentInfoGetModified}(object)}\cr \code{\link{gtkRecentInfoGetVisited}(object)}\cr \code{\link{gtkRecentInfoGetPrivateHint}(object)}\cr \code{\link{gtkRecentInfoGetApplicationInfo}(object, app.name)}\cr \code{\link{gtkRecentInfoGetApplications}(object, length)}\cr \code{\link{gtkRecentInfoLastApplication}(object)}\cr \code{\link{gtkRecentInfoGetGroups}(object)}\cr \code{\link{gtkRecentInfoHasGroup}(object, group.name)}\cr \code{\link{gtkRecentInfoHasApplication}(object, app.name)}\cr \code{\link{gtkRecentInfoGetIcon}(object, size)}\cr \code{\link{gtkRecentInfoGetShortName}(object)}\cr \code{\link{gtkRecentInfoGetUriDisplay}(object)}\cr \code{\link{gtkRecentInfoGetAge}(object)}\cr \code{\link{gtkRecentInfoIsLocal}(object)}\cr \code{\link{gtkRecentInfoExists}(object)}\cr \code{\link{gtkRecentInfoMatch}(object, info.b)}\cr \code{gtkRecentManager()} } \section{Hierarchy}{\preformatted{GObject +----GtkRecentManager}} \section{Detailed Description}{\code{\link{GtkRecentManager}} provides a facility for adding, removing and looking up recently used files. Each recently used file is identified by its URI, and has meta-data associated to it, like the names and command lines of the applications that have registered it, the number of time each application has registered the same file, the mime type of the file and whether the file should be displayed only by the applications that have registered it. The \code{\link{GtkRecentManager}} acts like a database of all the recently used files. You can create new \code{\link{GtkRecentManager}} objects, but it is more efficient to use the standard recent manager for the \code{\link{GdkScreen}} so that informations about the recently used files is shared with other people using them. In case the default screen is being used, adding a new recently used file is as simple as: \preformatted{ manager <- gtkRecentManagerGetDefault() manager$addItem(file_uri) } \preformatted{ manager <- gtkRecentManagerGetDefault() lookup <- manager$lookupItem(file_uri) if (lookup$error) warning("Could not find the file:", lookup$error$message) else use_info_object(lookup$retval) } Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{ \item{\verb{GtkRecentManager}}{ Acts as a database of information about the list of recently used files. Normally, you retrieve the recent manager for a particular screen using \code{\link{gtkRecentManagerGetForScreen}} and it will contain information about current recent manager for that screen. } \item{\verb{GtkRecentInfo}}{ Contains informations found when looking up an entry of the recently used files list. } \item{\verb{GtkRecentData}}{ Meta-data to be passed to \code{\link{gtkRecentManagerAddFull}} when registering a recently used resource. \strong{\verb{GtkRecentData} is a \link{transparent-type}.} \describe{ \item{\verb{displayName}}{[character] a UTF-8 encoded string, containing the name of the recently used resource to be displayed, or \code{NULL};} \item{\verb{description}}{[character] a UTF-8 encoded string, containing a short description of the resource, or \code{NULL};} \item{\verb{mimeType}}{[character] the MIME type of the resource;} \item{\verb{appName}}{[character] the name of the application that is registering this recently used resource;} \item{\verb{appExec}}{[character] command line used to launch this resource; may contain the "\%f" and "\%u" escape characters which will be expanded to the resource file path and URI respectively when the command line is retrieved;} \item{\verb{groups}}{[character] a vector of strings containing groups names;} \item{\verb{isPrivate}}{[logical] whether this resource should be displayed only by the applications that have registered it or not.} } } }} \section{Convenient Construction}{\code{gtkRecentManager} is the equivalent of \code{\link{gtkRecentManagerNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkRecentManagerError}}{ Error codes for GtkRecentManager operations \describe{ \item{\verb{not-found}}{the URI specified does not exists in the recently used resources list.} \item{\verb{invalid-uri}}{the URI specified is not valid.} \item{\verb{invalid-encoding}}{the supplied string is not UTF-8 encoded.} \item{\verb{not-registered}}{no application has registered the specified item.} \item{\verb{read}}{failure while reading the recently used resources file.} \item{\verb{write}}{failure while writing the recently used resources file.} \item{\verb{unknown}}{unspecified error.} } }}} \section{Signals}{\describe{\item{\code{changed(recent.manager, user.data)}}{ Emitted when the current recently used resources manager changes its contents. Since 2.10 \describe{ \item{\code{recent.manager}}{the recent manager} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{filename} [character : * : Read / Write / Construct Only]}{ The full path to the file to be used to store and read the recently used resources list Default value: NULL Since 2.10 } \item{\verb{limit} [integer : Read / Write]}{ The maximum number of items to be returned by the \code{\link{gtkRecentManagerGetItems}} function. Allowed values: >= -1 Default value: -1 Since 2.10 } \item{\verb{size} [integer : Read]}{ The size of the recently used resources list. Allowed values: >= -1 Default value: 0 Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentManager.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoUpdateContext.Rd0000644000176000001440000000130612362217677017104 0ustar ripleyusers\alias{pangoCairoUpdateContext} \name{pangoCairoUpdateContext} \title{pangoCairoUpdateContext} \description{Updates a \code{\link{PangoContext}} previously created for use with Cairo to match the current transformation and target surface of a Cairo context. If any layouts have been created for the context, it's necessary to call \code{\link{pangoLayoutContextChanged}} on those layouts.} \usage{pangoCairoUpdateContext(cr, context)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSvgSurfaceCreateForStream.Rd0000644000176000001440000000267712362217677020363 0ustar ripleyusers\alias{cairoSvgSurfaceCreateForStream} \name{cairoSvgSurfaceCreateForStream} \title{cairoSvgSurfaceCreateForStream} \description{Creates a SVG surface of the specified size in points to be written incrementally to the stream represented by \code{write.func} and \code{closure}.} \usage{cairoSvgSurfaceCreateForStream(write.func, closure, width.in.points, height.in.points)} \arguments{ \item{\verb{write.func}}{[\code{\link{CairoWriteFunc}}] a \code{\link{CairoWriteFunc}} to accept the output data, may be \code{NULL} to indicate a no-op \code{write.func}. With a no-op \code{write.func}, the surface may be queried or used as a source without generating any temporary files.} \item{\verb{closure}}{[R object] the closure argument for \code{write.func}} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{ Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetHeaderRelief.Rd0000644000176000001440000000072712362217677020477 0ustar ripleyusers\alias{gtkToolItemGroupGetHeaderRelief} \name{gtkToolItemGroupGetHeaderRelief} \title{gtkToolItemGroupGetHeaderRelief} \description{Gets the relief mode of the header button of \code{group}.} \usage{gtkToolItemGroupGetHeaderRelief(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItemGroup}}}} \details{Since 2.20} \value{[\code{\link{GtkReliefStyle}}] the \code{\link{GtkReliefStyle}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSetMode.Rd0000644000176000001440000000077212362217677017054 0ustar ripleyusers\alias{gtkTreeSelectionSetMode} \name{gtkTreeSelectionSetMode} \title{gtkTreeSelectionSetMode} \description{Sets the selection mode of the \code{selection}. If the previous type was \verb{GTK_SELECTION_MULTIPLE}, then the anchor is kept selected, if it was previously selected.} \usage{gtkTreeSelectionSetMode(object, type)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{type}}{The selection mode} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSetAlignment.Rd0000644000176000001440000000100512362217677017675 0ustar ripleyusers\alias{gtkCellRendererSetAlignment} \name{gtkCellRendererSetAlignment} \title{gtkCellRendererSetAlignment} \description{Sets the renderer's alignment within its available space.} \usage{gtkCellRendererSetAlignment(object, xalign, yalign)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{xalign}}{the x alignment of the cell renderer} \item{\verb{yalign}}{the y alignment of the cell renderer} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFixedNew.Rd0000644000176000001440000000042712362217677014534 0ustar ripleyusers\alias{gtkFixedNew} \name{gtkFixedNew} \title{gtkFixedNew} \description{Creates a new \code{\link{GtkFixed}}.} \usage{gtkFixedNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFixed}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetTsOrigin.Rd0000644000176000001440000000102612362217677015423 0ustar ripleyusers\alias{gdkGCSetTsOrigin} \name{gdkGCSetTsOrigin} \title{gdkGCSetTsOrigin} \description{Set the origin when using tiles or stipples with the GC. The tile or stipple will be aligned such that the upper left corner of the tile or stipple will coincide with this point.} \usage{gdkGCSetTsOrigin(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x-coordinate of the origin.} \item{\verb{y}}{the y-coordinate of the origin.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRestack.Rd0000644000176000001440000000171412362217677015567 0ustar ripleyusers\alias{gdkWindowRestack} \name{gdkWindowRestack} \title{gdkWindowRestack} \description{Changes the position of \code{window} in the Z-order (stacking order), so that it is above \code{sibling} (if \code{above} is \code{TRUE}) or below \code{sibling} (if \code{above} is \code{FALSE}).} \usage{gdkWindowRestack(object, sibling, above)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{sibling}}{a \code{\link{GdkWindow}} that is a sibling of \code{window}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{above}}{a boolean} } \details{If \code{sibling} is \code{NULL}, then this either raises (if \code{above} is \code{TRUE}) or lowers the window. If \code{window} is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, \code{\link{gdkWindowRestack}} only requests the restack, does not guarantee it. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsGetLevels.Rd0000644000176000001440000000073312362217677015530 0ustar ripleyusers\alias{cairoPsGetLevels} \name{cairoPsGetLevels} \title{cairoPsGetLevels} \description{Used to retrieve the list of supported levels. See \code{\link{cairoPsSurfaceRestrictToLevel}}.} \usage{cairoPsGetLevels()} \details{ Since 1.6} \value{ A list containing the following elements: \item{\verb{levels}}{[\code{\link{CairoPsLevel}}] supported level list} \item{\verb{nlevels}}{[integer] list length} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapNew.Rd0000644000176000001440000000102512362217677015224 0ustar ripleyusers\alias{gdkColormapNew} \name{gdkColormapNew} \title{gdkColormapNew} \description{Creates a new colormap for the given visual.} \usage{gdkColormapNew(visual, allocate)} \arguments{ \item{\verb{visual}}{a \code{\link{GdkVisual}}.} \item{\verb{allocate}}{if \code{TRUE}, the newly created colormap will be a private colormap, and all colors in it will be allocated for the applications use.} } \value{[\code{\link{GdkColormap}}] the new \code{\link{GdkColormap}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetKeepalive.Rd0000644000176000001440000000071512362217677016202 0ustar ripleyusers\alias{gSocketGetKeepalive} \name{gSocketGetKeepalive} \title{gSocketGetKeepalive} \description{Gets the keepalive mode of the socket. For details on this, see \code{\link{gSocketSetKeepalive}}.} \usage{gSocketGetKeepalive(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if keepalive is active, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGravityToRotation.Rd0000644000176000001440000000134212362217677017007 0ustar ripleyusers\alias{pangoGravityToRotation} \name{pangoGravityToRotation} \title{pangoGravityToRotation} \description{Converts a \code{\link{PangoGravity}} value to its natural rotation in radians. \code{gravity} should not be \code{PANGO_GRAVITY_AUTO}.} \usage{pangoGravityToRotation(base.gravity)} \arguments{\item{\verb{base.gravity}}{[\code{\link{PangoGravity}}] gravity to query}} \details{Note that \code{\link{pangoMatrixRotate}} takes angle in degrees, not radians. So, to call \code{\link{pangoMatrixRotate}} with the output of this function you should multiply it by (180. / G_PI). Since 1.16} \value{[numeric] the rotation value corresponding to \code{gravity}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListItemSelect.Rd0000644000176000001440000000100312362217677015704 0ustar ripleyusers\alias{gtkListItemSelect} \name{gtkListItemSelect} \title{gtkListItemSelect} \description{ Selects the item, by emitting the item's "select" signal. Depending on the selection mode of the list, this may cause other items to be deselected. \strong{WARNING: \code{gtk_list_item_select} is deprecated and should not be used in newly-written code.} } \usage{gtkListItemSelect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkListItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoGetDisplayName.Rd0000644000176000001440000000120512362217677017311 0ustar ripleyusers\alias{gtkIconInfoGetDisplayName} \name{gtkIconInfoGetDisplayName} \title{gtkIconInfoGetDisplayName} \description{Gets the display name for an icon. A display name is a string to be used in place of the icon name in a user visible context like a list of icons.} \usage{gtkIconInfoGetDisplayName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{[character] the display name for the icon or \code{NULL}, if the icon doesn't have a specified display name. This value is owned \code{icon.info} and must not be modified or free.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromAnimation.Rd0000644000176000001440000000157412362217677017207 0ustar ripleyusers\alias{gtkImageNewFromAnimation} \name{gtkImageNewFromAnimation} \title{gtkImageNewFromAnimation} \description{Creates a \code{\link{GtkImage}} displaying the given animation. The \code{\link{GtkImage}} does not assume a reference to the animation; you still need to unref it if you own references. \code{\link{GtkImage}} will add its own reference rather than adopting yours.} \usage{gtkImageNewFromAnimation(animation, show = TRUE)} \arguments{\item{\verb{animation}}{an animation}} \details{Note that the animation frames are shown using a timeout with \verb{G_PRIORITY_DEFAULT}. When using animations to indicate busyness, keep in mind that the animation will only be shown if the main loop is not busy with something that has a higher priority.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}} widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeCanEject.Rd0000644000176000001440000000056512362217677015333 0ustar ripleyusers\alias{gVolumeCanEject} \name{gVolumeCanEject} \title{gVolumeCanEject} \description{Checks if a volume can be ejected.} \usage{gVolumeCanEject(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[logical] \code{TRUE} if the \code{volume} can be ejected. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetPixmap.Rd0000644000176000001440000000113612362217677016464 0ustar ripleyusers\alias{gtkCTreeNodeSetPixmap} \name{gtkCTreeNodeSetPixmap} \title{gtkCTreeNodeSetPixmap} \description{ FIXME \strong{WARNING: \code{gtk_ctree_node_set_pixmap} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetPixmap(object, node, column, pixmap, mask = NULL)} \arguments{ \item{\verb{object}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} \item{\verb{pixmap}}{\emph{undocumented }} \item{\verb{mask}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetLogoIconName.Rd0000644000176000001440000000113612362217677020122 0ustar ripleyusers\alias{gtkAboutDialogSetLogoIconName} \name{gtkAboutDialogSetLogoIconName} \title{gtkAboutDialogSetLogoIconName} \description{Sets the pixbuf to be displayed as logo in the about dialog. If it is \code{NULL}, the default window icon set with \code{\link{gtkWindowSetDefaultIcon}} will be used.} \usage{gtkAboutDialogSetLogoIconName(object, icon.name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{icon.name}}{an icon name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeChooseIcon.Rd0000644000176000001440000000206112362217677016644 0ustar ripleyusers\alias{gtkIconThemeChooseIcon} \name{gtkIconThemeChooseIcon} \title{gtkIconThemeChooseIcon} \description{Looks up a named icon and returns a structure containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using \code{\link{gtkIconInfoLoadIcon}}. (\code{\link{gtkIconThemeLoadIcon}} combines these two steps if all you need is the pixbuf.)} \usage{gtkIconThemeChooseIcon(object, icon.names, size, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon.names}}{array of icon names to lookup} \item{\verb{size}}{desired icon size} \item{\verb{flags}}{flags modifying the behavior of the icon lookup} } \details{If \code{icon.names} contains more than one name, this function tries them all in the given order before falling back to inherited icon themes. Since 2.12} \value{[\code{\link{GtkIconInfo}}] a \code{\link{GtkIconInfo}} structure containing information about the icon, or \code{NULL} if the icon wasn't found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetPopupCompletion.Rd0000644000176000001440000000075712362217677021702 0ustar ripleyusers\alias{gtkEntryCompletionGetPopupCompletion} \name{gtkEntryCompletionGetPopupCompletion} \title{gtkEntryCompletionGetPopupCompletion} \description{Returns whether the completions should be presented in a popup window.} \usage{gtkEntryCompletionGetPopupCompletion(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if popup completion is turned on} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarUpdate.Rd0000644000176000001440000000110712362217677016413 0ustar ripleyusers\alias{gtkProgressBarUpdate} \name{gtkProgressBarUpdate} \title{gtkProgressBarUpdate} \description{ This function is deprecated. Please use \code{\link{gtkProgressSetValue}} or \code{\link{gtkProgressSetPercentage}} instead. \strong{WARNING: \code{gtk_progress_bar_update} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarUpdate(object, percentage)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}.} \item{\verb{percentage}}{the new percent complete value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceGetEps.Rd0000644000176000001440000000075412362217677016341 0ustar ripleyusers\alias{cairoPsSurfaceGetEps} \name{cairoPsSurfaceGetEps} \title{cairoPsSurfaceGetEps} \description{Check whether the PostScript surface will output Encapsulated PostScript.} \usage{cairoPsSurfaceGetEps(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}}} \details{ Since 1.6} \value{[logical] \code{TRUE} if the surface will output Encapsulated PostScript.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleSetRadio.Rd0000644000176000001440000000154512362217677020170 0ustar ripleyusers\alias{gtkCellRendererToggleSetRadio} \name{gtkCellRendererToggleSetRadio} \title{gtkCellRendererToggleSetRadio} \description{If \code{radio} is \code{TRUE}, the cell renderer renders a radio toggle (i.e. a toggle in a group of mutually-exclusive toggles). If \code{FALSE}, it renders a check toggle (a standalone boolean option). This can be set globally for the cell renderer, or changed just before rendering each cell in the model (for \code{\link{GtkTreeView}}, you set up a per-row setting using \code{\link{GtkTreeViewColumn}} to associate model columns with cell renderer properties).} \usage{gtkCellRendererToggleSetRadio(object, radio)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}} \item{\verb{radio}}{\code{TRUE} to make the toggle look like a radio button} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetOffsetAtPoint.Rd0000644000176000001440000000156012362217677017046 0ustar ripleyusers\alias{atkTextGetOffsetAtPoint} \name{atkTextGetOffsetAtPoint} \title{atkTextGetOffsetAtPoint} \description{Gets the offset of the character located at coordinates \code{x} and \code{y}. \code{x} and \code{y} are interpreted as being relative to the screen or this widget's window depending on \code{coords}.} \usage{atkTextGetOffsetAtPoint(object, x, y, coords)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{x}}{[integer] screen x-position of character} \item{\verb{y}}{[integer] screen y-position of character} \item{\verb{coords}}{[\code{\link{AtkCoordType}}] specify whether coordinates are relative to the screen or widget window } } \value{[integer] the offset to the character which is located at the specified \code{x} and \code{y} coordinates.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListNew.Rd0000644000176000001440000000060012362217677014401 0ustar ripleyusers\alias{gtkListNew} \name{gtkListNew} \title{gtkListNew} \description{ Creates a new \code{\link{GtkList}}. \strong{WARNING: \code{gtk_list_new} is deprecated and should not be used in newly-written code.} } \usage{gtkListNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the newly-created \code{\link{GtkList}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewUninit.Rd0000644000176000001440000000052212362217677015627 0ustar ripleyusers\alias{gtkPreviewUninit} \name{gtkPreviewUninit} \title{gtkPreviewUninit} \description{ This function is deprecated and does nothing. \strong{WARNING: \code{gtk_preview_uninit} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewUninit()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetButtonActions.Rd0000644000176000001440000000145612362217677017235 0ustar ripleyusers\alias{gtkCListSetButtonActions} \name{gtkCListSetButtonActions} \title{gtkCListSetButtonActions} \description{ Sets the action(s) that the specified mouse button will have on the CList. \strong{WARNING: \code{gtk_clist_set_button_actions} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetButtonActions(object, button, button.actions)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{button}}{The mouse button to set. The values here, unlike in the rest of GTK+ start from 0. For instance, the right mouse button, which is 3 elsewhere, should be given as 2 here.} \item{\verb{button.actions}}{A logically OR'd value of \code{\link{GtkButtonAction}} values for the button.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketIsConnected.Rd0000644000176000001440000000070212362217677016027 0ustar ripleyusers\alias{gSocketIsConnected} \name{gSocketIsConnected} \title{gSocketIsConnected} \description{Check whether the socket is connected. This is only useful for connection-oriented sockets.} \usage{gSocketIsConnected(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if socket is connected, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogFormatSecondaryMarkup.Rd0000644000176000001440000000174212362217677021731 0ustar ripleyusers\alias{gtkMessageDialogFormatSecondaryMarkup} \name{gtkMessageDialogFormatSecondaryMarkup} \title{gtkMessageDialogFormatSecondaryMarkup} \description{Sets the secondary text of the message dialog to be \code{message.format} (with \code{printf()}-style), which is marked up with the Pango text markup language.} \usage{gtkMessageDialogFormatSecondaryMarkup(object, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMessageDialog}}} \item{\verb{...}}{\emph{undocumented }} } \details{Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup. Due to an oversight, this function does not escape special XML characters like \code{\link{gtkMessageDialogNewWithMarkup}} does. Thus, if the arguments may contain special XML characters, you should use \code{gMarkupPrintfEscaped()} to escape it. \preformatted{# GMarkup is not yet supported in RGtk2} Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetDirection.Rd0000644000176000001440000000111612362217677016526 0ustar ripleyusers\alias{gdkKeymapGetDirection} \name{gdkKeymapGetDirection} \title{gdkKeymapGetDirection} \description{Returns the direction of effective layout of the keymap.} \usage{gdkKeymapGetDirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkKeymap}} or \code{NULL} to use the default keymap}} \details{Returns the direction of the keymap.} \value{[\code{\link{PangoDirection}}] \code{PANGO_DIRECTION_LTR} or \code{PANGO_DIRECTION_RTL} if it can determine the direction. \code{PANGO_DIRECTION_NEUTRAL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintShadow.Rd0000644000176000001440000000200012362217677015231 0ustar ripleyusers\alias{gtkPaintShadow} \name{gtkPaintShadow} \title{gtkPaintShadow} \description{Draws a shadow around the given rectangle in \code{window} using the given style and state and shadow type.} \usage{gtkPaintShadow(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypesGetRegistered.Rd0000644000176000001440000000063112362217677017576 0ustar ripleyusers\alias{gContentTypesGetRegistered} \name{gContentTypesGetRegistered} \title{gContentTypesGetRegistered} \description{Gets a list of strings containing all the registered content types known to the system. NULL) and \code{g.list.free}(list)} \usage{gContentTypesGetRegistered()} \value{[list] \verb{list} of the registered content types.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowWithdraw.Rd0000644000176000001440000000072712362217677015767 0ustar ripleyusers\alias{gdkWindowWithdraw} \name{gdkWindowWithdraw} \title{gdkWindowWithdraw} \description{Withdraws a window (unmaps it and asks the window manager to forget about it). This function is not really useful as \code{\link{gdkWindowHide}} automatically withdraws toplevel windows before hiding them.} \usage{gdkWindowWithdraw(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGravityGetForScript.Rd0000644000176000001440000000174112362217677017263 0ustar ripleyusers\alias{pangoGravityGetForScript} \name{pangoGravityGetForScript} \title{pangoGravityGetForScript} \description{Based on the script, base gravity, and hint, returns actual gravity to use in laying out a single \code{\link{PangoItem}}.} \usage{pangoGravityGetForScript(script, base.gravity, hint)} \arguments{ \item{\verb{script}}{[\code{\link{PangoScript}}] \code{\link{PangoScript}} to query} \item{\verb{base.gravity}}{[\code{\link{PangoGravity}}] base gravity of the paragraph} \item{\verb{hint}}{[\code{\link{PangoGravityHint}}] orientation hint} } \details{If \code{base.gravity} is \code{PANGO_GRAVITY_AUTO}, it is first replaced with the preferred gravity of \code{script}. To get the preferred gravity of a script, pass \code{PANGO_GRAVITY_AUTO} and \code{PANGO_GRAVITY_HINT_STRONG} in. Since 1.16} \value{[\code{\link{PangoGravity}}] resolved gravity suitable to use for a run of text with \code{script}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetAlignment.Rd0000644000176000001440000000120312362217677016602 0ustar ripleyusers\alias{gtkButtonSetAlignment} \name{gtkButtonSetAlignment} \title{gtkButtonSetAlignment} \description{Sets the alignment of the child. This property has no effect unless the child is a \code{\link{GtkMisc}} or a \verb{GtkAligment}.} \usage{gtkButtonSetAlignment(object, xalign, yalign)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{xalign}}{the horizontal position of the child, 0.0 is left aligned, 1.0 is right aligned} \item{\verb{yalign}}{the vertical position of the child, 0.0 is top aligned, 1.0 is bottom aligned} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupActivate.Rd0000644000176000001440000000153312362217677016527 0ustar ripleyusers\alias{gtkAccelGroupActivate} \name{gtkAccelGroupActivate} \title{gtkAccelGroupActivate} \description{Finds the first accelerator in \code{accel.group} that matches \code{accel.key} and \code{accel.mods}, and activates it.} \usage{gtkAccelGroupActivate(object, accel.quark, acceleratable, accel.key, accel.mods)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAccelGroup}}} \item{\verb{accel.quark}}{the quark for the accelerator name} \item{\verb{acceleratable}}{the \code{\link{GObject}}, usually a \code{\link{GtkWindow}}, on which to activate the accelerator.} \item{\verb{accel.key}}{accelerator keyval from a key event} \item{\verb{accel.mods}}{keyboard state mask from a key event} } \value{[logical] \code{TRUE} if an accelerator was activated and handled this keypress} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetTitle.Rd0000644000176000001440000000072412362217677017411 0ustar ripleyusers\alias{gtkTreeViewColumnSetTitle} \name{gtkTreeViewColumnSetTitle} \title{gtkTreeViewColumnSetTitle} \description{Sets the title of the \code{tree.column}. If a custom widget has been set, then this value is ignored.} \usage{gtkTreeViewColumnSetTitle(object, title)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{title}}{The title of the \code{tree.column}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetCellRenderers.Rd0000644000176000001440000000125112362217677021041 0ustar ripleyusers\alias{gtkTreeViewColumnGetCellRenderers} \name{gtkTreeViewColumnGetCellRenderers} \title{gtkTreeViewColumnGetCellRenderers} \description{ Returns a newly-allocated \verb{list} of all the cell renderers in the column, in no particular order. \strong{WARNING: \code{gtk_tree_view_column_get_cell_renderers} has been deprecated since version 2.18 and should not be used in newly-written code. use \code{\link{gtkCellLayoutGetCells}} instead.} } \usage{gtkTreeViewColumnGetCellRenderers(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \value{[list] A list of \verb{GtkCellRenderers}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetSpacing.Rd0000644000176000001440000000067512362217677016605 0ustar ripleyusers\alias{pangoLayoutSetSpacing} \name{pangoLayoutSetSpacing} \title{pangoLayoutSetSpacing} \description{Sets the amount of spacing in Pango unit between the lines of the layout.} \usage{pangoLayoutSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}.} \item{\verb{spacing}}{[integer] the amount of spacing} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetSymlinkTarget.Rd0000644000176000001440000000077212362217677017354 0ustar ripleyusers\alias{gFileInfoSetSymlinkTarget} \name{gFileInfoSetSymlinkTarget} \title{gFileInfoSetSymlinkTarget} \description{Sets the \code{G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET} attribute in the file info to the given symlink target.} \usage{gFileInfoSetSymlinkTarget(object, symlink.target)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{symlink.target}}{a static string containing a path to a symlink target.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerHasItem.Rd0000644000176000001440000000101412362217677017002 0ustar ripleyusers\alias{gtkRecentManagerHasItem} \name{gtkRecentManagerHasItem} \title{gtkRecentManagerHasItem} \description{Checks whether there is a recently used resource registered with \code{uri} inside the recent manager.} \usage{gtkRecentManagerHasItem(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{a URI} } \details{Since 2.10} \value{[logical] \code{TRUE} if the resource was found, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-scaled-font.Rd0000644000176000001440000001372712362217677015616 0ustar ripleyusers\alias{cairo-scaled-font} \alias{CairoScaledFont} \alias{CairoFontExtents} \alias{CairoTextExtents} \alias{cairoScaledFont} \name{cairo-scaled-font} \title{cairo_scaled_font_t} \description{Font face at particular size and options} \section{Methods and Functions}{ \code{\link{cairoScaledFontCreate}(font.face, font.matrix, ctm, option)}\cr \code{\link{cairoScaledFontStatus}(scaled.font)}\cr \code{\link{cairoScaledFontExtents}(scaled.font)}\cr \code{\link{cairoScaledFontTextExtents}(scaled.font, utf8)}\cr \code{\link{cairoScaledFontGlyphExtents}(scaled.font, glyphs, num.glyphs)}\cr \code{\link{cairoScaledFontTextToGlyphs}(scaled.font, x, y, utf8, utf8.len = -1)}\cr \code{\link{cairoScaledFontGetFontFace}(scaled.font)}\cr \code{\link{cairoScaledFontGetFontOptions}(scaled.font)}\cr \code{\link{cairoScaledFontGetFontMatrix}(scaled.font)}\cr \code{\link{cairoScaledFontGetCtm}(scaled.font)}\cr \code{\link{cairoScaledFontGetScaleMatrix}(scaled.font)}\cr \code{\link{cairoScaledFontGetType}(scaled.font)}\cr \code{\link{cairoScaledFontSetUserData}(scaled.font, key, user.data)}\cr \code{\link{cairoScaledFontGetUserData}(scaled.font, key)}\cr \code{cairoScaledFont(font.face, font.matrix, ctm, option)} } \section{Detailed Description}{\code{\link{CairoScaledFont}} represents a realization of a font face at a particular size and transformation and a certain set of font options.} \section{Structures}{\describe{ \item{\verb{CairoScaledFont}}{ A \code{\link{CairoScaledFont}} is a font scaled to a particular size and device resolution. A \code{\link{CairoScaledFont}} is most useful for low-level font usage where a library or application wants to cache a reference to a scaled font to speed up the computation of metrics. There are various types of scaled fonts, depending on the \dfn{font backend} they use. The type of a scaled font can be queried using \code{\link{cairoScaledFontGetType}}. Memory management of \code{\link{CairoScaledFont}} is done with \code{cairoScaledFontReference()} and \code{cairoScaledFontDestroy()}. } \item{\verb{CairoFontExtents}}{ The \code{\link{CairoFontExtents}} structure stores metric information for a font. Values are given in the current user-space coordinate system. Because font metrics are in user-space coordinates, they are mostly, but not entirely, independent of the current transformation matrix. If you call \code{cairo_scale(cr, 2.0, 2.0)}, text will be drawn twice as big, but the reported text extents will not be doubled. They will change slightly due to hinting (so you can't assume that metrics are independent of the transformation matrix), but otherwise will remain unchanged. \strong{\verb{CairoFontExtents} is a \link{transparent-type}.} \describe{ \item{\verb{ascent}}{[numeric] the distance that the font extends above the baseline. Note that this is not always exactly equal to the maximum of the extents of all the glyphs in the font, but rather is picked to express the font designer's intent as to how the font should align with elements above it.} \item{\verb{descent}}{[numeric] the distance that the font extends below the baseline. This value is positive for typical fonts that include portions below the baseline. Note that this is not always exactly equal to the maximum of the extents of all the glyphs in the font, but rather is picked to express the font designer's intent as to how the the font should align with elements below it.} \item{\verb{height}}{[numeric] the recommended vertical distance between baselines when setting consecutive lines of text with the font. This is greater than \code{ascent}+\code{descent} by a quantity known as the \dfn{line spacing} or \dfn{external leading}. When space is at a premium, most fonts can be set with only a distance of \code{ascent}+\code{descent} between lines.} \item{\verb{maxXAdvance}}{[numeric] the maximum distance in the X direction that the the origin is advanced for any glyph in the font.} \item{\verb{maxYAdvance}}{[numeric] the maximum distance in the Y direction that the the origin is advanced for any glyph in the font. this will be zero for normal fonts used for horizontal writing. (The scripts of East Asia are sometimes written vertically.)} } } \item{\verb{CairoTextExtents}}{ The \code{\link{CairoTextExtents}} structure stores the extents of a single glyph or a string of glyphs in user-space coordinates. Because text extents are in user-space coordinates, they are mostly, but not entirely, independent of the current transformation matrix. If you call \code{cairo_scale(cr, 2.0, 2.0)}, text will be drawn twice as big, but the reported text extents will not be doubled. They will change slightly due to hinting (so you can't assume that metrics are independent of the transformation matrix), but otherwise will remain unchanged. \describe{ \item{\verb{xBearing}}{[numeric] the horizontal distance from the origin to the leftmost part of the glyphs as drawn. Positive if the glyphs lie entirely to the right of the origin.} \item{\verb{yBearing}}{[numeric] the vertical distance from the origin to the topmost part of the glyphs as drawn. Positive only if the glyphs lie completely below the origin; will usually be negative.} \item{\verb{width}}{[numeric] width of the glyphs as drawn} \item{\verb{height}}{[numeric] height of the glyphs as drawn} \item{\verb{xAdvance}}{[numeric] distance to advance in the X direction after drawing these glyphs} \item{\verb{yAdvance}}{[numeric] distance to advance in the Y direction after drawing these glyphs. Will typically be zero except for vertical text layout as found in East-Asian languages.} } } }} \section{Convenient Construction}{\code{cairoScaledFont} is the equivalent of \code{\link{cairoScaledFontCreate}}.} \references{\url{http://www.cairographics.org/manual/cairo-scaled-font.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerPropagateExpose.Rd0000644000176000001440000000227312362217677017775 0ustar ripleyusers\alias{gtkContainerPropagateExpose} \name{gtkContainerPropagateExpose} \title{gtkContainerPropagateExpose} \description{When a container receives an expose event, it must send synthetic expose events to all children that don't have their own \verb{GdkWindows}. This function provides a convenient way of doing this. A container, when it receives an expose event, calls \code{\link{gtkContainerPropagateExpose}} once for each child, passing in the event the container received.} \usage{gtkContainerPropagateExpose(object, child, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a child of \code{container}} \item{\verb{event}}{a expose event sent to container} } \details{\code{\link{gtkContainerPropagateExpose}} takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event. In most cases, a container can simply either simply inherit the \verb{"expose"} implementation from \code{\link{GtkContainer}}, or, do some drawing and then chain to the ::expose implementation from \code{\link{GtkContainer}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSet.Rd0000644000176000001440000000071312362217677016312 0ustar ripleyusers\alias{gtkPrintSettingsSet} \name{gtkPrintSettingsSet} \title{gtkPrintSettingsSet} \description{Associates \code{value} with \code{key}.} \usage{gtkPrintSettingsSet(object, key, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{value}}{a string value, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDropFinish.Rd0000644000176000001440000000076612362217677015056 0ustar ripleyusers\alias{gdkDropFinish} \name{gdkDropFinish} \title{gdkDropFinish} \description{Ends the drag operation after a drop.} \usage{gdkDropFinish(object, success, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \verb{GtkDragContext}.} \item{\verb{success}}{\code{TRUE} if the data was successfully received.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag destination.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInitableNew.Rd0000644000176000001440000000204612362217677014664 0ustar ripleyusers\alias{gInitableNew} \name{gInitableNew} \title{gInitableNew} \description{Helper function for constructing \verb{GInitiable} object. This is similar to \code{\link{gObjectNew}} but also initializes the object and returns \code{NULL}, setting an error on failure.} \usage{gInitableNew(object.type, cancellable, ..., .errwarn = TRUE)} \arguments{ \item{\verb{object.type}}{a \code{\link{GType}} supporting \code{\link{GInitable}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{...}}{the value if the first property, followed by and other property value pairs, and ended by \code{NULL}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[R object] a newly allocated \code{\link{GObject}}, or \code{NULL} on error} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIsNative.Rd0000644000176000001440000000145712362217677015012 0ustar ripleyusers\alias{gFileIsNative} \name{gFileIsNative} \title{gFileIsNative} \description{Checks to see if a file is native to the platform.} \usage{gFileIsNative(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{A native file s one expressed in the platform-native filename format, e.g. "C:\\Windows" or "/usr/bin/". This does not mean the file is local, as it might be on a locally mounted remote filesystem. On some systems non-native files may be available using the native filesystem via a userspace filesystem (FUSE), in these cases this call will return \code{FALSE}, but \code{\link{gFileGetPath}} will still return a native path. This call does no blocking i/o.} \value{[logical] \code{TRUE} if file is native.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleCursorPosition.Rd0000644000176000001440000000111112362217677022462 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleCursorPosition} \name{gtkTextIterBackwardVisibleCursorPosition} \title{gtkTextIterBackwardVisibleCursorPosition} \description{Moves \code{iter} forward to the previous visible cursor position. See \code{\link{gtkTextIterBackwardCursorPosition}} for details.} \usage{gtkTextIterBackwardVisibleCursorPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Graphics-Contexts.Rd0000644000176000001440000002155012362217677016425 0ustar ripleyusers\alias{gdk-Graphics-Contexts} \alias{GdkGC} \alias{GdkGCValues} \alias{gdkGC} \alias{GdkGCValuesMask} \alias{GdkFunction} \alias{GdkFill} \alias{GdkSubwindowMode} \alias{GdkLineStyle} \alias{GdkCapStyle} \alias{GdkJoinStyle} \name{gdk-Graphics-Contexts} \title{Graphics Contexts} \description{Objects to encapsulate drawing properties} \section{Methods and Functions}{ \code{\link{gdkGCNew}(drawable)}\cr \code{\link{gdkGCNewWithValues}(object, values)}\cr \code{\link{gdkGCGetScreen}(object)}\cr \code{\link{gdkGCSetValues}(object, values)}\cr \code{\link{gdkGCGetValues}(object)}\cr \code{\link{gdkGCSetForeground}(object, color)}\cr \code{\link{gdkGCSetBackground}(object, color)}\cr \code{\link{gdkGCSetRgbFgColor}(object, color)}\cr \code{\link{gdkGCSetRgbBgColor}(object, color)}\cr \code{\link{gdkGCSetFont}(object, font)}\cr \code{\link{gdkGCSetFunction}(object, fun)}\cr \code{\link{gdkGCSetFill}(object, fill)}\cr \code{\link{gdkGCSetTile}(object, tile)}\cr \code{\link{gdkGCSetStipple}(object, stipple)}\cr \code{\link{gdkGCSetTsOrigin}(object, x, y)}\cr \code{\link{gdkGCSetClipOrigin}(object, x, y)}\cr \code{\link{gdkGCSetClipMask}(object, mask)}\cr \code{\link{gdkGCSetClipRectangle}(object, rectangle)}\cr \code{\link{gdkGCSetClipRegion}(object, region)}\cr \code{\link{gdkGCSetSubwindow}(object, mode)}\cr \code{\link{gdkGCSetExposures}(object, exposures)}\cr \code{\link{gdkGCSetLineAttributes}(object, line.width, line.style, cap.style, join.style)}\cr \code{\link{gdkGCSetDashes}(object, dash.list)}\cr \code{\link{gdkGCCopy}(object, src.gc)}\cr \code{\link{gdkGCSetColormap}(object, colormap)}\cr \code{\link{gdkGCGetColormap}(object)}\cr \code{\link{gdkGCOffset}(object, x.offset, y.offset)}\cr \code{gdkGC(drawable)} } \section{Hierarchy}{\preformatted{GObject +----GdkGC}} \section{Detailed Description}{All drawing operations in GDK take a \dfn{graphics context} (GC) argument. A graphics context encapsulates information about the way things are drawn, such as the foreground color or line width. By using graphics contexts, the number of arguments to each drawing call is greatly reduced, and communication overhead is minimized, since identical arguments do not need to be passed repeatedly. Most values of a graphics context can be set at creation time by using \code{\link{gdkGCNewWithValues}}, or can be set one-by-one using functions such as \code{\link{gdkGCSetForeground}}. A few of the values in the GC, such as the dash pattern, can only be set by the latter method.} \section{Structures}{\describe{ \item{\verb{GdkGC}}{ The \code{\link{GdkGC}} structure represents a graphics context. It is an opaque structure with no user-visible elements. } \item{\verb{GdkGCValues}}{ The \code{\link{GdkGCValues}} structure holds a set of values used to create or modify a graphics context. \strong{\verb{GdkGCValues} is a \link{transparent-type}.} \describe{ \item{\code{foreground}}{the foreground color. Note that \code{\link{gdkGCGetValues}} only sets the pixel value.} \item{\code{background}}{the background color. Note that \code{\link{gdkGCGetValues}} only sets the pixel value.} \item{\code{font}}{the default font.} \item{\code{function}}{the bitwise operation used when drawing.} \item{\code{fill}}{the fill style.} \item{\code{tile}}{the tile pixmap.} \item{\code{stipple}}{the stipple bitmap.} \item{\code{clip_mask}}{the clip mask bitmap.} \item{\code{subwindow_mode}}{the subwindow mode.} \item{\code{ts_x_origin}}{the x origin of the tile or stipple.} \item{\code{ts_y_origin}}{the y origin of the tile or stipple.} \item{\code{clip_x_origin}}{the x origin of the clip mask.} \item{\code{clip_y_origin}}{the y origin of the clip mask.} \item{\code{graphics_exposures}}{whether graphics exposures are enabled.} \item{\code{line_width}}{the line width.} \item{\code{line_style}}{the way dashed lines are drawn.} \item{\code{cap_style}}{the way the ends of lines are drawn.} \item{\code{join_style}}{the way joins between lines are drawn.} } } }} \section{Convenient Construction}{\code{gdkGC} is the equivalent of \code{\link{gdkGCNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GdkGCValuesMask}}{ A set of bit flags used to indicate which fields \code{\link{GdkGCValues}} structure are set. \describe{ \item{\verb{foreground}}{the \code{foreground} is set.} \item{\verb{background}}{the \code{background} is set.} \item{\verb{font}}{the \code{font} is set.} \item{\verb{function}}{the \code{function} is set.} \item{\verb{fill}}{the \code{fill} is set.} \item{\verb{tile}}{the \code{tile} is set.} \item{\verb{stipple}}{the \code{stipple} is set.} \item{\verb{clip-mask}}{the \code{clip.mask} is set.} \item{\verb{subwindow}}{the \code{subwindow.mode} is set.} \item{\verb{ts-x-origin}}{the \code{ts.x.origin} is set.} \item{\verb{ts-y-origin}}{the \code{ts.y.origin} is set.} \item{\verb{clip-x-origin}}{the \code{clip.x.origin} is set.} \item{\verb{clip-y-origin}}{the \code{clip.y.origin} is set.} \item{\verb{exposures}}{the \code{graphics.exposures} is set.} \item{\verb{line-width}}{the \code{line.width} is set.} \item{\verb{line-style}}{the \code{line.style} is set.} \item{\verb{cap-style}}{the \code{cap.style} is set.} \item{\verb{join-style}}{the \code{join.style} is set.} } } \item{\verb{GdkFunction}}{ Determines how the bit values for the source pixels are combined with the bit values for destination pixels to produce the final result. The sixteen values here correspond to the 16 different possible 2x2 truth tables. Only a couple of these values are usually useful; for colored images, only \code{GDK_COPY}, \code{GDK_XOR} and \code{GDK_INVERT} are generally useful. For bitmaps, \code{GDK_AND} and \code{GDK_OR} are also useful. \describe{ \item{\verb{copy}}{\code{dst = src}} \item{\verb{invert}}{\code{dst = NOT dst}} \item{\verb{xor}}{\code{dst = src XOR dst}} \item{\verb{clear}}{\code{dst = 0}} \item{\verb{and}}{\code{dst = dst AND src}} \item{\verb{and-reverse}}{\code{dst = src AND (NOT dst)}} \item{\verb{and-invert}}{\code{dst = (NOT src) AND dst}} \item{\verb{noop}}{\code{dst = dst}} \item{\verb{or}}{\code{dst = src OR dst}} \item{\verb{equiv}}{\code{dst = (NOT src) XOR dst}} \item{\verb{or-reverse}}{\code{dst = src OR (NOT dst)}} \item{\verb{copy-invert}}{\code{dst = NOT src}} \item{\verb{or-invert}}{\code{dst = (NOT src) OR dst}} \item{\verb{nand}}{\code{dst = (NOT src) OR (NOT dst)}} \item{\verb{nor}}{\code{dst = (NOT src) AND (NOT dst)}} \item{\verb{set}}{\code{dst = 1}} } } \item{\verb{GdkFill}}{ Determines how primitives are drawn. \describe{ \item{\verb{solid}}{draw with the foreground color.} \item{\verb{tiled}}{draw with a tiled pixmap.} \item{\verb{stippled}}{draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the foreground color; pixels corresponding to bits that are not set will be left untouched.} \item{\verb{opaque-stippled}}{draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the foreground color; pixels corresponding to bits that are not set will be drawn with the background color.} } } \item{\verb{GdkSubwindowMode}}{ Determines how drawing onto a window will affect child windows of that window. \describe{ \item{\verb{clip-by-children}}{only draw onto the window itself.} \item{\verb{include-inferiors}}{draw onto the window and child windows.} } } \item{\verb{GdkLineStyle}}{ Determines how lines are drawn. \describe{ \item{\verb{solid}}{lines are drawn solid.} \item{\verb{on-off-dash}}{even segments are drawn; odd segments are not drawn.} \item{\verb{double-dash}}{even segments are normally. Odd segments are drawn in the background color if the fill style is \code{GDK_SOLID}, or in the background color masked by the stipple if the fill style is \code{GDK_STIPPLED}.} } } \item{\verb{GdkCapStyle}}{ Determines how the end of lines are drawn. \describe{ \item{\verb{not-last}}{the same as \code{GDK_CAP_BUTT} for lines of non-zero width. for zero width lines, the final point on the line will not be drawn.} \item{\verb{butt}}{the ends of the lines are drawn squared off and extending to the coordinates of the end point.} \item{\verb{round}}{the ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point.} \item{\verb{projecting}}{the ends of the lines are drawn squared off and extending half the width of the line beyond the end point.} } } \item{\verb{GdkJoinStyle}}{ Determines how the joins between segments of a polygon are drawn. \describe{ \item{\verb{miter}}{the sides of each line are extended to meet at an angle.} \item{\verb{round}}{the sides of the two lines are joined by a circular arc.} \item{\verb{bevel}}{the sides of the two lines are joined by a straight line which makes an equal angle with each line.} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Graphics-Contexts.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetAddRelationByType.Rd0000644000176000001440000000145012362217677020507 0ustar ripleyusers\alias{atkRelationSetAddRelationByType} \name{atkRelationSetAddRelationByType} \title{atkRelationSetAddRelationByType} \description{Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. If it is does contain a relation of that typea the target is added to the relation.} \usage{atkRelationSetAddRelationByType(object, relationship, target)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] an \code{\link{AtkRelationType}}} \item{\verb{target}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} } \details{ Since 1.9} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConditionCheck.Rd0000644000176000001440000000152712362217677016523 0ustar ripleyusers\alias{gSocketConditionCheck} \name{gSocketConditionCheck} \title{gSocketConditionCheck} \description{Checks on the readiness of \code{socket} to perform operations. The operations specified in \code{condition} are checked for and masked against the currently-satisfied conditions on \code{socket}. The result is returned.} \usage{gSocketConditionCheck(object, condition)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{condition}}{a \code{\link{GIOCondition}} mask to check} } \details{It is meaningless to specify \code{G_IO_ERR} or \code{G_IO_HUP} in condition; these conditions will always be set in the output if they are true. This call never blocks. Since 2.22} \value{[\code{\link{GIOCondition}}] the \code{GIOCondition} mask of the current state} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayPointerIsGrabbed.Rd0000644000176000001440000000064012362217677017511 0ustar ripleyusers\alias{gdkDisplayPointerIsGrabbed} \name{gdkDisplayPointerIsGrabbed} \title{gdkDisplayPointerIsGrabbed} \description{Test if the pointer is grabbed.} \usage{gdkDisplayPointerIsGrabbed(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[logical] \code{TRUE} if an active X pointer grab is in effect} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawLayout.Rd0000644000176000001440000000131612362217677015114 0ustar ripleyusers\alias{gtkDrawLayout} \name{gtkDrawLayout} \title{gtkDrawLayout} \description{ Draws a layout on \code{window} using the given parameters. \strong{WARNING: \code{gtk_draw_layout} is deprecated and should not be used in newly-written code.} } \usage{gtkDrawLayout(object, window, state.type, use.text, x, y, layout)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{use.text}}{whether to use the text or foreground graphics context of \code{style}} \item{\verb{x}}{x origin} \item{\verb{y}}{y origin} \item{\verb{layout}}{the layout to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDeletable.Rd0000644000176000001440000000161612362217677016551 0ustar ripleyusers\alias{gtkWindowSetDeletable} \name{gtkWindowSetDeletable} \title{gtkWindowSetDeletable} \description{By default, windows have a close button in the window frame. Some window managers allow GTK+ to disable this button. If you set the deletable property to \code{FALSE} using this function, GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling \code{gtkWindowShow()}.} \usage{gtkWindowSetDeletable(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to decorate the window as deletable} } \details{On Windows, this function always works, since there's no window manager policy involved. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationGetScreen.Rd0000644000176000001440000000075612362217677017613 0ustar ripleyusers\alias{gtkMountOperationGetScreen} \name{gtkMountOperationGetScreen} \title{gtkMountOperationGetScreen} \description{Gets the screen on which windows of the \code{\link{GtkMountOperation}} will be shown.} \usage{gtkMountOperationGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMountOperation}}}} \details{Since 2.14} \value{[\code{\link{GdkScreen}}] the screen on which windows of \code{op} are shown} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextAttributesCopy.Rd0000644000176000001440000000065112362217677016650 0ustar ripleyusers\alias{gtkTextAttributesCopy} \name{gtkTextAttributesCopy} \title{gtkTextAttributesCopy} \description{Copies \code{src} and returns a new \code{\link{GtkTextAttributes}}.} \usage{gtkTextAttributesCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextAttributes}} to be copied}} \value{[\code{\link{GtkTextAttributes}}] a copy of \code{src}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsSetSubpixelOrder.Rd0000644000176000001440000000140212362217677020773 0ustar ripleyusers\alias{cairoFontOptionsSetSubpixelOrder} \name{cairoFontOptionsSetSubpixelOrder} \title{cairoFontOptionsSetSubpixelOrder} \description{Sets the subpixel order for the font options object. The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of \code{CAIRO_ANTIALIAS_SUBPIXEL}. See the documentation for \code{\link{CairoSubpixelOrder}} for full details.} \usage{cairoFontOptionsSetSubpixelOrder(options, subpixel.order)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{subpixel.order}}{[\code{\link{CairoSubpixelOrder}}] the new subpixel order} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsHasKey.Rd0000644000176000001440000000071012362217677016740 0ustar ripleyusers\alias{gtkPrintSettingsHasKey} \name{gtkPrintSettingsHasKey} \title{gtkPrintSettingsHasKey} \description{Returns \code{TRUE}, if a value is associated with \code{key}.} \usage{gtkPrintSettingsHasKey(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{Since 2.10} \value{[logical] \code{TRUE}, if \code{key} has a value} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetCursor.Rd0000644000176000001440000000244212362217677016426 0ustar ripleyusers\alias{gtkTreeViewSetCursor} \name{gtkTreeViewSetCursor} \title{gtkTreeViewSetCursor} \description{Sets the current keyboard focus to be at \code{path}, and selects it. This is useful when you want to focus the user's attention on a particular row. If \code{focus.column} is not \code{NULL}, then focus is given to the column specified by it. Additionally, if \code{focus.column} is specified, and \code{start.editing} is \code{TRUE}, then editing should be started in the specified cell. This function is often followed by \code{gtk.widget.grab.focus} (\code{tree.view}) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.} \usage{gtkTreeViewSetCursor(object, path, focus.column = NULL, start.editing = FALSE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{path}}{A \code{\link{GtkTreePath}}} \item{\verb{focus.column}}{A \code{\link{GtkTreeViewColumn}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{start.editing}}{\code{TRUE} if the specified cell should start being edited.} } \details{If \code{path} is invalid for \code{model}, the current cursor (if any) will be unset and the function will return without failing.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPixmapSet.Rd0000644000176000001440000000123112362217677014727 0ustar ripleyusers\alias{gtkPixmapSet} \name{gtkPixmapSet} \title{gtkPixmapSet} \description{ Sets the \code{\link{GdkPixmap}} and \code{\link{GdkBitmap}} mask. \strong{WARNING: \code{gtk_pixmap_set} is deprecated and should not be used in newly-written code.} } \usage{gtkPixmapSet(object, val, mask = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPixmap}}.} \item{\verb{val}}{a \code{\link{GdkPixmap}}.} \item{\verb{mask}}{a \code{\link{GdkBitmap}}, which indicates which parts of the \code{pixmap} should be transparent. This can be NULL, in which case none of the \code{pixmap} is transparent.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogSetAlternativeButtonOrderFromArray.Rd0000644000176000001440000000144512362217677023111 0ustar ripleyusers\alias{gtkDialogSetAlternativeButtonOrderFromArray} \name{gtkDialogSetAlternativeButtonOrderFromArray} \title{gtkDialogSetAlternativeButtonOrderFromArray} \description{Sets an alternative button order. If the \verb{"gtk-alternative-button-order"} setting is set to \code{TRUE}, the dialog buttons are reordered according to the order of the response ids in \code{new.order}.} \usage{gtkDialogSetAlternativeButtonOrderFromArray(object, new.order)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{new.order}}{a list of response ids of \code{dialog}'s buttons} } \details{See \code{\link{gtkDialogSetAlternativeButtonOrder}} for more information. This function is for use by language bindings. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetAge.Rd0000644000176000001440000000077212362217677016137 0ustar ripleyusers\alias{gtkRecentInfoGetAge} \name{gtkRecentInfoGetAge} \title{gtkRecentInfoGetAge} \description{Gets the number of days elapsed since the last update of the resource pointed by \code{info}.} \usage{gtkRecentInfoGetAge(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[integer] a positive integer containing the number of days elapsed since the time this resource was last modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutInt32.Rd0000644000176000001440000000145612362217677017246 0ustar ripleyusers\alias{gDataOutputStreamPutInt32} \name{gDataOutputStreamPutInt32} \title{gDataOutputStreamPutInt32} \description{Puts a signed 32-bit integer into the output stream.} \usage{gDataOutputStreamPutInt32(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{integer}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamCloseAsync.Rd0000644000176000001440000000207712362217677016136 0ustar ripleyusers\alias{gIOStreamCloseAsync} \name{gIOStreamCloseAsync} \title{gIOStreamCloseAsync} \description{Requests an asynchronous close of the stream, releasing resources related to it. When the operation is finished \code{callback} will be called. You can then call \code{\link{gIOStreamCloseFinish}} to get the result of the operation.} \usage{gIOStreamCloseAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GIOStream}}} \item{\verb{io.priority}}{the io priority of the request} \item{\verb{cancellable}}{optional cancellable object} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For behaviour details see \code{\link{gIOStreamClose}}. The asynchronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetPaperWidth.Rd0000644000176000001440000000110512362217677017342 0ustar ripleyusers\alias{gtkPageSetupGetPaperWidth} \name{gtkPageSetupGetPaperWidth} \title{gtkPageSetupGetPaperWidth} \description{Returns the paper width in units of \code{unit}.} \usage{gtkPageSetupGetPaperWidth(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Note that this function takes orientation, but not margins into consideration. See \code{\link{gtkPageSetupGetPageWidth}}. Since 2.10} \value{[numeric] the paper width.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetTooltipColumn.Rd0000644000176000001440000000173312362217677017763 0ustar ripleyusers\alias{gtkTreeViewSetTooltipColumn} \name{gtkTreeViewSetTooltipColumn} \title{gtkTreeViewSetTooltipColumn} \description{If you only plan to have simple (text-only) tooltips on full rows, you can use this function to have \code{\link{GtkTreeView}} handle these automatically for you. \code{column} should be set to the column in \code{tree.view}'s model containing the tooltip texts, or -1 to disable this feature.} \usage{gtkTreeViewSetTooltipColumn(object, column)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{column}}{an integer, which is a valid column number for \code{tree.view}'s model} } \details{When enabled, \verb{"has-tooltip"} will be set to \code{TRUE} and \code{tree.view} will connect a \verb{"query-tooltip"} signal handler. Note that the signal handler sets the text with \code{\link{gtkTooltipSetMarkup}}, so &, <, etc have to be escaped in the text. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetStrikethroughPosition.Rd0000644000176000001440000000120312362217677022540 0ustar ripleyusers\alias{pangoFontMetricsGetStrikethroughPosition} \name{pangoFontMetricsGetStrikethroughPosition} \title{pangoFontMetricsGetStrikethroughPosition} \description{Gets the suggested position to draw the strikethrough. The value returned is the distance \emph{above} the baseline of the top of the strikethrough.} \usage{pangoFontMetricsGetStrikethroughPosition(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \details{ Since 1.6} \value{[integer] the suggested strikethrough position, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderValueFromString.Rd0000644000176000001440000000251212362217677017416 0ustar ripleyusers\alias{gtkBuilderValueFromString} \name{gtkBuilderValueFromString} \title{gtkBuilderValueFromString} \description{This function demarshals a value from a string. This function calls \code{gValueInit()} on the \code{value} argument, so it need not be initialised beforehand.} \usage{gtkBuilderValueFromString(object, pspec, string, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{pspec}}{the \code{\link{GParamSpec}} for the property} \item{\verb{string}}{the string representation of the value} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This function can handle char, uchar, boolean, int, uint, long, ulong, enum, flags, float, double, string, \code{\link{GdkColor}} and \code{\link{GtkAdjustment}} type values. Support for \code{\link{GtkWidget}} type values is still to come. Upon errors \code{FALSE} will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR} domain. Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{value}}{the \verb{R object} to store the result in} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetAxis.Rd0000644000176000001440000000110612362217677015344 0ustar ripleyusers\alias{gdkEventGetAxis} \name{gdkEventGetAxis} \title{gdkEventGetAxis} \description{Extract the axis value for a particular axis use from an event structure.} \usage{gdkEventGetAxis(object, axis.use)} \arguments{ \item{\verb{object}}{a \code{\link{GdkEvent}}} \item{\verb{axis.use}}{the axis use to look for} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the specified axis was found, otherwise \code{FALSE}} \item{\verb{value}}{location to store the value found} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsGetAntialias.Rd0000644000176000001440000000071512362217677020103 0ustar ripleyusers\alias{cairoFontOptionsGetAntialias} \name{cairoFontOptionsGetAntialias} \title{cairoFontOptionsGetAntialias} \description{Gets the antialiasing mode for the font options object.} \usage{cairoFontOptionsGetAntialias(options)} \arguments{\item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoAntialias}}] the antialiasing mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListNew.Rd0000644000176000001440000000077712362217677014523 0ustar ripleyusers\alias{gtkCListNew} \name{gtkCListNew} \title{gtkCListNew} \description{ Creates a new \code{\link{GtkCList}} widget for use. \strong{WARNING: \code{gtk_clist_new} is deprecated and should not be used in newly-written code.} } \usage{gtkCListNew(columns = 1, show = TRUE)} \arguments{\item{\verb{columns}}{The number of columns the \code{\link{GtkCList}} should have.}} \value{[\code{\link{GtkWidget}}] A pointer to a new GtkCList object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImageGetColormap.Rd0000644000176000001440000000104012362217677016152 0ustar ripleyusers\alias{gdkImageGetColormap} \name{gdkImageGetColormap} \title{gdkImageGetColormap} \description{Retrieves the colormap for a given image, if it exists. An image will have a colormap if the drawable from which it was created has a colormap, or if a colormap was set explicitely with \code{\link{gdkImageSetColormap}}.} \usage{gdkImageGetColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkImage}}}} \value{[\code{\link{GdkColormap}}] colormap for the image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetUseUnderline.Rd0000644000176000001440000000113512362217677020114 0ustar ripleyusers\alias{gtkToolButtonGetUseUnderline} \name{gtkToolButtonGetUseUnderline} \title{gtkToolButtonGetUseUnderline} \description{Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. See \code{\link{gtkToolButtonSetUseUnderline}}.} \usage{gtkToolButtonGetUseUnderline(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if underscores in the label property are used as mnemonics on menu items on the overflow menu.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetSourceSurface.Rd0000644000176000001440000000261212362217677016556 0ustar ripleyusers\alias{cairoSetSourceSurface} \name{cairoSetSourceSurface} \title{cairoSetSourceSurface} \description{This is a convenience function for creating a pattern from \code{surface} and setting it as the source in \code{cr} with \code{\link{cairoSetSource}}.} \usage{cairoSetSourceSurface(cr, surface, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{surface}}{[\code{\link{CairoSurface}}] a surface to be used to set the source pattern} \item{\verb{x}}{[numeric] User-space X coordinate for surface origin} \item{\verb{y}}{[numeric] User-space Y coordinate for surface origin} } \details{The \code{x} and \code{y} parameters give the user-space coordinate at which the surface origin should appear. (The surface origin is its upper-left corner before any transformation has been applied.) The \code{x} and \code{y} patterns are negated and then set as translation values in the pattern matrix. Other than the initial translation pattern matrix, as described above, all other pattern attributes, (such as its extend mode), are set to the default values as in \code{\link{cairoPatternCreateForSurface}}. The resulting pattern can be queried with \code{\link{cairoGetSource}} so that these attributes can be modified if desired, (eg. to create a repeating pattern with \code{\link{cairoPatternSetExtend}}). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetCursorHadjustment.Rd0000644000176000001440000000107512362217677020171 0ustar ripleyusers\alias{gtkEntryGetCursorHadjustment} \name{gtkEntryGetCursorHadjustment} \title{gtkEntryGetCursorHadjustment} \description{Retrieves the horizontal cursor adjustment for the entry. See \code{\link{gtkEntrySetCursorHadjustment}}.} \usage{gtkEntryGetCursorHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.12} \value{[\code{\link{GtkAdjustment}}] the horizontal cursor adjustment, or \code{NULL} if none has been set. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentActionNewForManager.Rd0000644000176000001440000000214212362217677020011 0ustar ripleyusers\alias{gtkRecentActionNewForManager} \name{gtkRecentActionNewForManager} \title{gtkRecentActionNewForManager} \description{Creates a new \code{\link{GtkRecentAction}} object. To add the action to a \code{\link{GtkActionGroup}} and set the accelerator for the action, call \code{\link{gtkActionGroupAddActionWithAccel}}.} \usage{gtkRecentActionNewForManager(name, label, tooltip, stock.id, manager)} \arguments{ \item{\verb{name}}{a unique name for the action} \item{\verb{label}}{the label displayed in menu items and on buttons, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip}}{a tooltip for the action, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{the stock icon to display in widgets representing the action, or \code{NULL}} \item{\verb{manager}}{a \code{\link{GtkRecentManager}}, or \code{NULL} for using the default \code{\link{GtkRecentManager}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \value{[\code{\link{GtkAction}}] the newly created \code{\link{GtkRecentAction}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListItemDeselect.Rd0000644000176000001440000000066712362217677016234 0ustar ripleyusers\alias{gtkListItemDeselect} \name{gtkListItemDeselect} \title{gtkListItemDeselect} \description{ Deselects the item, by emitting the item's "deselect" signal. \strong{WARNING: \code{gtk_list_item_deselect} is deprecated and should not be used in newly-written code.} } \usage{gtkListItemDeselect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkListItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Graphics-Contexts.Rd0000644000176000001440000000157012362217677016445 0ustar ripleyusers\alias{gtk-Graphics-Contexts} \name{gtk-Graphics-Contexts} \title{Graphics Contexts} \description{A shared pool of GdkGC objects} \section{Methods and Functions}{ \code{\link{gtkGcGet}(depth, colormap, values)}\cr \code{\link{gtkGcRelease}(gc)}\cr } \section{Detailed Description}{These functions provide access to a shared pool of \code{\link{GdkGC}} objects. When a new \code{\link{GdkGC}} is needed, \code{\link{gtkGcGet}} is called with the required depth, colormap and \code{\link{GdkGCValues}}. If a \code{\link{GdkGC}} with the required properties already exists then that is returned. If not, a new \code{\link{GdkGC}} is created. When the \code{\link{GdkGC}} is no longer needed, \code{\link{gtkGcRelease}} should be called.} \references{\url{http://library.gnome.org/devel//gtk/gtk-Graphics-Contexts.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextExtents.Rd0000644000176000001440000000126512362217677015303 0ustar ripleyusers\alias{gdkTextExtents} \name{gdkTextExtents} \title{gdkTextExtents} \description{ Gets the metrics of a string. \strong{WARNING: \code{gdk_text_extents} is deprecated and should not be used in newly-written code.} } \usage{gdkTextExtents(object, string)} \arguments{\item{\verb{object}}{a \code{\link{GdkFont}}}} \value{ A list containing the following elements: \item{\verb{lbearing}}{the left bearing of the string.} \item{\verb{rbearing}}{the right bearing of the string.} \item{\verb{width}}{the width of the string.} \item{\verb{ascent}}{the ascent of the string.} \item{\verb{descent}}{the descent of the string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetClipRegion.Rd0000644000176000001440000000074312362217677015725 0ustar ripleyusers\alias{gdkGCSetClipRegion} \name{gdkGCSetClipRegion} \title{gdkGCSetClipRegion} \description{Sets the clip mask for a graphics context from a region structure. The clip mask is interpreted relative to the clip origin. (See \code{\link{gdkGCSetClipOrigin}}).} \usage{gdkGCSetClipRegion(object, region)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{region}}{the \code{\link{GdkRegion}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableSetSortFunc.Rd0000644000176000001440000000142712362217677017557 0ustar ripleyusers\alias{gtkTreeSortableSetSortFunc} \name{gtkTreeSortableSetSortFunc} \title{gtkTreeSortableSetSortFunc} \description{Sets the comparison function used when sorting to be \code{sort.func}. If the current sort column id of \code{sortable} is the same as \code{sort.column.id}, then the model will sort using this function.} \usage{gtkTreeSortableSetSortFunc(object, sort.column.id, sort.func, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSortable}}} \item{\verb{sort.column.id}}{the sort column id to set the function for} \item{\verb{sort.func}}{The comparison function} \item{\verb{user.data}}{User data to pass to \code{sort.func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDrive.Rd0000644000176000001440000001260412362217677013475 0ustar ripleyusers\alias{GDrive} \alias{GDriveStartFlags} \alias{GDriveStartStopType} \name{GDrive} \title{GDrive} \description{Drive management} \section{Methods and Functions}{ \code{\link{gDriveGetName}(object)}\cr \code{\link{gDriveGetIcon}(object)}\cr \code{\link{gDriveHasVolumes}(object)}\cr \code{\link{gDriveGetVolumes}(object)}\cr \code{\link{gDriveCanEject}(object)}\cr \code{\link{gDriveGetStartStopType}(object)}\cr \code{\link{gDriveCanStart}(object)}\cr \code{\link{gDriveCanStartDegraded}(object)}\cr \code{\link{gDriveCanStop}(object)}\cr \code{\link{gDriveCanPollForMedia}(object)}\cr \code{\link{gDrivePollForMedia}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDrivePollForMediaFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDriveHasMedia}(object)}\cr \code{\link{gDriveIsMediaCheckAutomatic}(object)}\cr \code{\link{gDriveIsMediaRemovable}(object)}\cr \code{\link{gDriveEject}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDriveEjectFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDriveEjectWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDriveEjectWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDriveStart}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDriveStartFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDriveStop}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDriveStopFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDriveEnumerateIdentifiers}(object)}\cr \code{\link{gDriveGetIdentifier}(object, kind)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GDrive}} \section{Detailed Description}{\code{\link{GDrive}} - this represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media. \code{\link{GDrive}} is a container class for \code{\link{GVolume}} objects that stem from the same piece of media. As such, \code{\link{GDrive}} abstracts a drive with (or without) removable media and provides operations for querying whether media is available, determing whether media change is automatically detected and ejecting the media. If the \code{\link{GDrive}} reports that media isn't automatically detected, one can poll for media; typically one should not do this periodically as a poll for media operation is potententially expensive and may spin up the drive creating noise. \code{\link{GDrive}} supports starting and stopping drives with authentication support for the former. This can be used to support a diverse set of use cases including connecting/disconnecting iSCSI devices, powering down external disk enclosures and starting/stopping multi-disk devices such as RAID devices. Note that the actual semantics and side-effects of starting/stopping a \code{\link{GDrive}} may vary according to implementation. To choose the correct verbs in e.g. a file manager, use \code{\link{gDriveGetStartStopType}}. For porting from GnomeVFS note that there is no equivalent of \code{\link{GDrive}} in that API.} \section{Structures}{\describe{\item{\verb{GDrive}}{ Opaque drive object. }}} \section{Enums and Flags}{\describe{ \item{\verb{GDriveStartFlags}}{ Flags used when starting a drive. Since 2.22 \describe{\item{\verb{none}}{No flags set.}} } \item{\verb{GDriveStartStopType}}{ Enumeration describing how a drive can be started/stopped. Since 2.22 \describe{ \item{\verb{unknown}}{Unknown or drive doesn't support start/stop.} \item{\verb{shutdown}}{The stop method will physically shut down the drive and e.g. power down the port the drive is attached to.} \item{\verb{network}}{The start/stop methods are used for connecting/disconnect to the drive over the network.} \item{\verb{multidisk}}{The start/stop methods will assemble/disassemble a virtual drive from several physical drives.} \item{\verb{password}}{The start/stop methods will unlock/lock the disk (for example using the ATA \dQuote{SECURITY UNLOCK DEVICE} command)} } } }} \section{Signals}{\describe{ \item{\code{changed(drive, user.data)}}{ Emitted when the drive's state has changed. \describe{ \item{\code{drive}}{a \code{\link{GDrive}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{disconnected(drive, user.data)}}{ This signal is emitted when the \code{\link{GDrive}} have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized. \describe{ \item{\code{drive}}{a \code{\link{GDrive}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{eject-button(drive, user.data)}}{ Emitted when the physical eject button (if any) of a drive has been pressed. \describe{ \item{\code{drive}}{a \code{\link{GDrive}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{stop-button(drive, user.data)}}{ Emitted when the physical stop button (if any) of a drive has been pressed. Since 2.22 \describe{ \item{\code{drive}}{a \code{\link{GDrive}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gio/GDrive.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetDeferDrawing.Rd0000644000176000001440000000112512362217677020732 0ustar ripleyusers\alias{gtkPrintOperationSetDeferDrawing} \name{gtkPrintOperationSetDeferDrawing} \title{gtkPrintOperationSetDeferDrawing} \description{Sets up the \code{\link{GtkPrintOperation}} to wait for calling of \code{\link{gtkPrintOperationDrawPageFinish}} from application. It can be used for drawing page in another thread.} \usage{gtkPrintOperationSetDeferDrawing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{This function must be called in the callback of "draw-page" signal. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerForeach.Rd0000644000176000001440000000122112362217677016226 0ustar ripleyusers\alias{gtkContainerForeach} \name{gtkContainerForeach} \title{gtkContainerForeach} \description{Invokes \code{callback} on each non-internal child of \code{container}. See \code{\link{gtkContainerForall}} for details on what constitutes an "internal" child. Most applications should use \code{\link{gtkContainerForeach}}, rather than \code{\link{gtkContainerForall}}.} \usage{gtkContainerForeach(object, callback, callback.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{callback}}{a callback} \item{\verb{callback.data}}{callback user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSvgGetVersions.Rd0000644000176000001440000000077012362303325016246 0ustar ripleyusers\alias{cairoSvgGetVersions} \name{cairoSvgGetVersions} \title{cairoSvgGetVersions} \description{Used to retrieve the list of supported versions. See \code{\link{cairoSvgSurfaceRestrictToVersion}}.} \usage{cairoSvgGetVersions()} \details{ Since 1.2} \value{ A list containing the following elements: \item{\verb{versions}}{[\code{\link{CairoSvgVersion}}] supported version list} \item{\verb{num.versions}}{[integer] list length} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoCreateLayout.Rd0000644000176000001440000000202612362217677016716 0ustar ripleyusers\alias{pangoCairoCreateLayout} \name{pangoCairoCreateLayout} \title{pangoCairoCreateLayout} \description{Creates a layout object set up to match the current transformation and target surface of the Cairo context. This layout can then be used for text measurement with functions like \code{\link{pangoLayoutGetSize}} or drawing with functions like \code{\link{pangoCairoShowLayout}}. If you change the transformation or target surface for \code{cr}, you need to call \code{\link{pangoCairoUpdateLayout}}} \usage{pangoCairoCreateLayout(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context}} \details{This function is the most convenient way to use Cairo with Pango, however it is slightly inefficient since it creates a separate \code{\link{PangoContext}} object for each layout. This might matter in an application that was laying out large amounts of text. Since 1.10} \value{[\code{\link{PangoLayout}}] the newly created \code{\link{PangoLayout}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilenameCompleterGetCompletions.Rd0000644000176000001440000000101312362217677020724 0ustar ripleyusers\alias{gFilenameCompleterGetCompletions} \name{gFilenameCompleterGetCompletions} \title{gFilenameCompleterGetCompletions} \description{Gets a list of completion strings for a given initial text.} \usage{gFilenameCompleterGetCompletions(object, initial.text)} \arguments{ \item{\verb{object}}{the filename completer.} \item{\verb{initial.text}}{text to be completed.} } \value{[char] array of strings with possible completions for \code{initial.text}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetValues.Rd0000644000176000001440000000113412362217677015124 0ustar ripleyusers\alias{gdkGCSetValues} \name{gdkGCSetValues} \title{gdkGCSetValues} \description{Sets attributes of a graphics context in bulk. For each flag set in \code{values.mask}, the corresponding field will be read from \code{values} and set as the new value for \code{gc}. If you're only setting a few values on \code{gc}, calling individual "setter" functions is likely more convenient.} \usage{gdkGCSetValues(object, values)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}} \item{\verb{values}}{struct containing the new values} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapGetVisual.Rd0000644000176000001440000000061012362217677016375 0ustar ripleyusers\alias{gdkColormapGetVisual} \name{gdkColormapGetVisual} \title{gdkColormapGetVisual} \description{Returns the visual for which a given colormap was created.} \usage{gdkColormapGetVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkColormap}}.}} \value{[\code{\link{GdkVisual}}] the visual of the colormap.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewRowExpanded.Rd0000644000176000001440000000077512362217677016724 0ustar ripleyusers\alias{gtkTreeViewRowExpanded} \name{gtkTreeViewRowExpanded} \title{gtkTreeViewRowExpanded} \description{Returns \code{TRUE} if the node pointed to by \code{path} is expanded in \code{tree.view}.} \usage{gtkTreeViewRowExpanded(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{path}}{A \code{\link{GtkTreePath}} to test expansion state.} } \value{[logical] \code{TRUE} if \verb{path} is expanded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamSetByteOrder.Rd0000644000176000001440000000103012362217677020014 0ustar ripleyusers\alias{gDataInputStreamSetByteOrder} \name{gDataInputStreamSetByteOrder} \title{gDataInputStreamSetByteOrder} \description{This function sets the byte order for the given \code{stream}. All subsequent reads from the \code{stream} will be read in the given \code{order}.} \usage{gDataInputStreamSetByteOrder(object, order)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{order}}{a \code{\link{GDataStreamByteOrder}} to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPaperSize.Rd0000644000176000001440000000074212362217677020123 0ustar ripleyusers\alias{gtkPrintSettingsGetPaperSize} \name{gtkPrintSettingsGetPaperSize} \title{gtkPrintSettingsGetPaperSize} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PAPER_FORMAT}, converted to a \code{\link{GtkPaperSize}}.} \usage{gtkPrintSettingsGetPaperSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPaperSize}}] the paper size} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetMnemonicKeyval.Rd0000644000176000001440000000105412362217677017341 0ustar ripleyusers\alias{gtkLabelGetMnemonicKeyval} \name{gtkLabelGetMnemonicKeyval} \title{gtkLabelGetMnemonicKeyval} \description{If the label has been set so that it has an mnemonic key this function returns the keyval used for the mnemonic accelerator. If there is no mnemonic set up it returns \verb{GDK_VoidSymbol}.} \usage{gtkLabelGetMnemonicKeyval(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[numeric] GDK keyval usable for accelerators, or \verb{GDK_VoidSymbol}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDefaultDirection.Rd0000644000176000001440000000062112362217677020050 0ustar ripleyusers\alias{gtkWidgetGetDefaultDirection} \name{gtkWidgetGetDefaultDirection} \title{gtkWidgetGetDefaultDirection} \description{Obtains the current default reading direction. See \code{\link{gtkWidgetSetDefaultDirection}}.} \usage{gtkWidgetGetDefaultDirection()} \value{[\code{\link{GtkTextDirection}}] the current default direction.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/timeout.Rd0000644000176000001440000000371111766145227014000 0ustar ripleyusers\name{gtkAddTimeout} \alias{gtkAddTimeout} \alias{gtkRemoveTimeout} \title{Control a periodic/timer function} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions allow one to register and remove a function that is called periodically at a fixed interval. } \usage{ gtkAddTimeout(interval, f, data=NULL) gtkRemoveTimeout(id) } \arguments{ \item{interval}{ the number of milliseconds to wait before invoking the call.} \item{f}{ the function should take one or zero arguments depending on whether the argument \code{data} is given. The function should return a logical value. If it returns \code{FALSE}, the timer is removed. If it returns \code{TRUE}, the timer is re-registered and will be called after \code{interval} milliseconds. } \item{data}{a value, which if specified, will be passed to the function \code{f} when it is invoked. This can be used to parameterize the function to have different functions. The same effect can be obtained using closures. } \item{id}{the object identifying the timer function in Gtk that was returned by a call to \code{gtkAddTimeout}.} } \value{ \code{gtkAddTimeout} returns an object of class \code{"GtkTimeoutId"}. This is an integer giving the identifier returned by the low-level Gtk interface. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) This does not currently work when running directly in R. However, when running R inside another application such as GGobi, Gnumeric, etc. it and other event-loop facilities will work. If one wanted to reset the timeout but with a different interval, one should register a new timeout within the function and return \code{FALSE}. } \seealso{ \code{\link{gtkAddIdle}} \code{\link{gtkRemoveIdle}} \code{\link{gtkAddCallback}} } \keyword{interface} \keyword{internal} RGtk2/man/gdkWindowGetCursor.Rd0000644000176000001440000000144712362217677016113 0ustar ripleyusers\alias{gdkWindowGetCursor} \name{gdkWindowGetCursor} \title{gdkWindowGetCursor} \description{Retrieves a \code{\link{GdkCursor}} pointer for the cursor currently set on the specified \code{\link{GdkWindow}}, or \code{NULL}. If the return value is \code{NULL} then there is no custom cursor set on the specified window, and it is using the cursor for its parent window.} \usage{gdkWindowGetCursor(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Since 2.18} \value{[\code{\link{GdkCursor}}] a \code{\link{GdkCursor}}, or \code{NULL}. The returned object is owned by the \code{\link{GdkWindow}} and should not be unreferenced directly. Use \code{\link{gdkWindowSetCursor}} to unset the cursor of the window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeUint64.Rd0000644000176000001440000000076712362217677017540 0ustar ripleyusers\alias{gFileInfoSetAttributeUint64} \name{gFileInfoSetAttributeUint64} \title{gFileInfoSetAttributeUint64} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeUint64(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{an unsigned 64-bit integer.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsertElement.Rd0000644000176000001440000000360012362217677017120 0ustar ripleyusers\alias{gtkToolbarInsertElement} \name{gtkToolbarInsertElement} \title{gtkToolbarInsertElement} \description{ Inserts a new element in the toolbar at the given position. \strong{WARNING: \code{gtk_toolbar_insert_element} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarInsertElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{type}}{a value of type \code{\link{GtkToolbarChildType}} that determines what \code{widget} will be.} \item{\verb{widget}}{a \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{text}}{the element's label.} \item{\verb{tooltip.text}}{the element's tooltip.} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that provides pictorial representation of the element's function.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{any data you wish to pass to the callback.} \item{\verb{position}}{the number of widgets to insert this element after.} } \details{If \code{type} == \code{GTK_TOOLBAR_CHILD_WIDGET}, \code{widget} is used as the new element. If \code{type} == \code{GTK_TOOLBAR_CHILD_RADIOBUTTON}, \code{widget} is used to determine the radio group for the new element. In all other cases, \code{widget} must be \code{NULL}. \code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the new toolbar element as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconIsEmbedded.Rd0000644000176000001440000000071212362217677017022 0ustar ripleyusers\alias{gtkStatusIconIsEmbedded} \name{gtkStatusIconIsEmbedded} \title{gtkStatusIconIsEmbedded} \description{Returns whether the status icon is embedded in a notification area.} \usage{gtkStatusIconIsEmbedded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the status icon is embedded in a notification area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetDropIndex.Rd0000644000176000001440000000137512362217677016705 0ustar ripleyusers\alias{gtkToolbarGetDropIndex} \name{gtkToolbarGetDropIndex} \title{gtkToolbarGetDropIndex} \description{Returns the position corresponding to the indicated point on \code{toolbar}. This is useful when dragging items to the toolbar: this function returns the position a new item should be inserted.} \usage{gtkToolbarGetDropIndex(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{x}}{x coordinate of a point on the toolbar} \item{\verb{y}}{y coordinate of a point on the toolbar} } \details{\code{x} and \code{y} are in \code{toolbar} coordinates. Since 2.4} \value{[integer] The position corresponding to the point (\code{x}, \code{y}) on the toolbar.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetIsSymlink.Rd0000644000176000001440000000073112362217677016474 0ustar ripleyusers\alias{gFileInfoSetIsSymlink} \name{gFileInfoSetIsSymlink} \title{gFileInfoSetIsSymlink} \description{Sets the "is_symlink" attribute in a \code{\link{GFileInfo}} according to \code{is.symlink}. See \code{G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK}.} \usage{gFileInfoSetIsSymlink(object, is.symlink)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{is.symlink}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowClear.Rd0000644000176000001440000000050112362217677015212 0ustar ripleyusers\alias{gdkWindowClear} \name{gdkWindowClear} \title{gdkWindowClear} \description{Clears an entire \code{window} to the background color or background pixmap.} \usage{gdkWindowClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowReparent.Rd0000644000176000001440000000106112362217677015746 0ustar ripleyusers\alias{gdkWindowReparent} \name{gdkWindowReparent} \title{gdkWindowReparent} \description{Reparents \code{window} into the given \code{new.parent}. The window being reparented will be unmapped as a side effect.} \usage{gdkWindowReparent(object, new.parent, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{new.parent}}{new parent to move \code{window} into} \item{\verb{x}}{X location inside the new parent} \item{\verb{y}}{Y location inside the new parent} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoLaunchUris.Rd0000644000176000001440000000226012362217677016013 0ustar ripleyusers\alias{gAppInfoLaunchUris} \name{gAppInfoLaunchUris} \title{gAppInfoLaunchUris} \description{Launches the application. Passes \code{uris} to the launched application as arguments, using the optional \code{launch.context} to get information about the details of the launcher (like what screen it is on). On error, \code{error} will be set accordingly.} \usage{gAppInfoLaunchUris(object, uris, launch.context, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}} \item{\verb{uris}}{a \verb{list} containing URIs to launch.} \item{\verb{launch.context}}{a \code{\link{GAppLaunchContext}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{To lauch the application without arguments pass a \code{NULL} \code{uris} list. Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on successful launch, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetLowerStepperSensitivity.Rd0000644000176000001440000000102312362217677021353 0ustar ripleyusers\alias{gtkRangeSetLowerStepperSensitivity} \name{gtkRangeSetLowerStepperSensitivity} \title{gtkRangeSetLowerStepperSensitivity} \description{Sets the sensitivity policy for the stepper that points to the 'lower' end of the GtkRange's adjustment.} \usage{gtkRangeSetLowerStepperSensitivity(object, sensitivity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{sensitivity}}{the lower stepper's sensitivity policy.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetReorderable.Rd0000644000176000001440000000100312362217677020545 0ustar ripleyusers\alias{gtkTreeViewColumnSetReorderable} \name{gtkTreeViewColumnSetReorderable} \title{gtkTreeViewColumnSetReorderable} \description{If \code{reorderable} is \code{TRUE}, then the column can be reordered by the end user dragging the header.} \usage{gtkTreeViewColumnSetReorderable(object, reorderable)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}} \item{\verb{reorderable}}{\code{TRUE}, if the column can be reordered.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxGetChildIpadding.Rd0000644000176000001440000000144312362217677020012 0ustar ripleyusers\alias{gtkButtonBoxGetChildIpadding} \name{gtkButtonBoxGetChildIpadding} \title{gtkButtonBoxGetChildIpadding} \description{ Gets the default number of pixels that pad the buttons in a given button box. \strong{WARNING: \code{gtk_button_box_get_child_ipadding} is deprecated and should not be used in newly-written code. Use the style properties "child-internal-pad-x" and "child-internal-pad-y" instead.} } \usage{gtkButtonBoxGetChildIpadding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButtonBox}}.}} \value{ A list containing the following elements: \item{\verb{ipad.x}}{the horizontal padding used by buttons in \code{widget}.} \item{\verb{ipad.y}}{the vertical padding used by buttons in \code{widget}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerInsertActionGroup.Rd0000644000176000001440000000120512362217677020166 0ustar ripleyusers\alias{gtkUIManagerInsertActionGroup} \name{gtkUIManagerInsertActionGroup} \title{gtkUIManagerInsertActionGroup} \description{Inserts an action group into the list of action groups associated with \code{self}. Actions in earlier groups hide actions with the same name in later groups.} \usage{gtkUIManagerInsertActionGroup(object, action.group, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}} object} \item{\verb{action.group}}{the action group to be inserted} \item{\verb{pos}}{the position at which the group will be inserted.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogGetResponseForWidget.Rd0000644000176000001440000000112312362217677020206 0ustar ripleyusers\alias{gtkDialogGetResponseForWidget} \name{gtkDialogGetResponseForWidget} \title{gtkDialogGetResponseForWidget} \description{Gets the response id of a widget in the action area of a dialog.} \usage{gtkDialogGetResponseForWidget(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{widget}}{a widget in the action area of \code{dialog}} } \details{Since 2.8} \value{[integer] the response id of \code{widget}, or \code{GTK_RESPONSE_NONE} if \code{widget} doesn't have a response id set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterAddCustom.Rd0000644000176000001440000000157712362217677016663 0ustar ripleyusers\alias{gtkFileFilterAddCustom} \name{gtkFileFilterAddCustom} \title{gtkFileFilterAddCustom} \description{Adds rule to a filter that allows files based on a custom callback function. The bitfield \code{needed} which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter.} \usage{gtkFileFilterAddCustom(object, needed, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileFilter}}} \item{\verb{needed}}{bitfield of flags indicating the information that the custom filter function needs.} \item{\verb{func}}{callback function; if the function returns \code{TRUE}, then the file will be displayed.} \item{\verb{data}}{data to pass to \code{func}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetCharsInLine.Rd0000644000176000001440000000065612362217677017317 0ustar ripleyusers\alias{gtkTextIterGetCharsInLine} \name{gtkTextIterGetCharsInLine} \title{gtkTextIterGetCharsInLine} \description{Returns the number of characters in the line containing \code{iter}, including the paragraph delimiters.} \usage{gtkTextIterGetCharsInLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] number of characters in the line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetInlineCompletion.Rd0000644000176000001440000000106112362217677022016 0ustar ripleyusers\alias{gtkEntryCompletionSetInlineCompletion} \name{gtkEntryCompletionSetInlineCompletion} \title{gtkEntryCompletionSetInlineCompletion} \description{Sets whether the common prefix of the possible completions should be automatically inserted in the entry.} \usage{gtkEntryCompletionSetInlineCompletion(object, inline.completion)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryCompletion}}} \item{\verb{inline.completion}}{\code{TRUE} to do inline completion} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceMarkDirty.Rd0000644000176000001440000000100512362217677016543 0ustar ripleyusers\alias{cairoSurfaceMarkDirty} \name{cairoSurfaceMarkDirty} \title{cairoSurfaceMarkDirty} \description{Tells cairo that drawing has been done to surface using means other than cairo, and that cairo should reread any cached areas. Note that you must call \code{\link{cairoSurfaceFlush}} before doing such drawing.} \usage{cairoSurfaceMarkDirty(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableRefAt.Rd0000644000176000001440000000116212362217677014763 0ustar ripleyusers\alias{atkTableRefAt} \name{atkTableRefAt} \title{atkTableRefAt} \description{Get a reference to the table cell at \code{row}, \code{column}.} \usage{atkTableRefAt(object, row, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[\code{\link{AtkObject}}] a AtkObject* representing the referred to accessible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetAccelPath.Rd0000644000176000001440000000306612362217677016152 0ustar ripleyusers\alias{gtkMenuSetAccelPath} \name{gtkMenuSetAccelPath} \title{gtkMenuSetAccelPath} \description{Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. The main purpose of this function is to spare the programmer the inconvenience of having to call \code{\link{gtkMenuItemSetAccelPath}} on each menu item that should support runtime user changable accelerators. Instead, by just calling \code{\link{gtkMenuSetAccelPath}} on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned. For example, a menu containing menu items "New" and "Exit", will, after \code{gtk_menu_set_accel_path (menu, "/File");} has been called, assign its items the accel paths: \code{"/File/New"} and \code{"/File/Exit"}. Assigning accel paths to menu items then enables the user to change their accelerators at runtime. More details about accelerator paths and their default setups can be found at \code{\link{gtkAccelMapAddEntry}}.} \usage{gtkMenuSetAccelPath(object, accel.path)} \arguments{ \item{\verb{object}}{a valid \code{\link{GtkMenu}}} \item{\verb{accel.path}}{a valid accelerator path. \emph{[ \acronym{allow-none} ]}} } \details{Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemRebuildMenu.Rd0000644000176000001440000000115412362217677016711 0ustar ripleyusers\alias{gtkToolItemRebuildMenu} \name{gtkToolItemRebuildMenu} \title{gtkToolItemRebuildMenu} \description{Calling this function signals to the toolbar that the overflow menu item for \code{tool.item} has changed. If the overflow menu is visible when this function it called, the menu will be rebuilt.} \usage{gtkToolItemRebuildMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{The function must be called when the tool item changes what it will do in response to the \verb{"create-menu-proxy"} signal. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetProgramName.Rd0000644000176000001440000000064412362217677020007 0ustar ripleyusers\alias{gtkAboutDialogGetProgramName} \name{gtkAboutDialogGetProgramName} \title{gtkAboutDialogGetProgramName} \description{Returns the program name displayed in the about dialog.} \usage{gtkAboutDialogGetProgramName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.12} \value{[character] The program name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetSettings.Rd0000644000176000001440000000127512362217677016431 0ustar ripleyusers\alias{gtkWidgetGetSettings} \name{gtkWidgetGetSettings} \title{gtkWidgetGetSettings} \description{Gets the settings object holding the settings (global property settings, RC file information, etc) used for this widget.} \usage{gtkWidgetGetSettings(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Note that this function can only be called when the \code{\link{GtkWidget}} is attached to a toplevel, since the settings object is specific to a particular \code{\link{GdkScreen}}.} \value{[\code{\link{GtkSettings}}] the relevant \code{\link{GtkSettings}} object. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamSetNewlineType.Rd0000644000176000001440000000126112362217677020366 0ustar ripleyusers\alias{gDataInputStreamSetNewlineType} \name{gDataInputStreamSetNewlineType} \title{gDataInputStreamSetNewlineType} \description{Sets the newline type for the \code{stream}.} \usage{gDataInputStreamSetNewlineType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GDataInputStream}}.} \item{\verb{type}}{the type of new line return as \code{\link{GDataStreamNewlineType}}.} } \details{Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read chunk ends in "CR" we must read an additional byte to know if this is "CR" or "CR LF", and this might block if there is no more data availible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterNextLine.Rd0000644000176000001440000000075212362217677017113 0ustar ripleyusers\alias{pangoLayoutIterNextLine} \name{pangoLayoutIterNextLine} \title{pangoLayoutIterNextLine} \description{Moves \code{iter} forward to the start of the next line. If \code{iter} is already on the last line, returns \code{FALSE}.} \usage{pangoLayoutIterNextLine(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[logical] whether motion was possible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerAddUiFromString.Rd0000644000176000001440000000177112362217677017560 0ustar ripleyusers\alias{gtkUIManagerAddUiFromString} \name{gtkUIManagerAddUiFromString} \title{gtkUIManagerAddUiFromString} \description{Parses a string containing a UI definition and merges it with the current contents of \code{self}. An enclosing element is added if it is missing.} \usage{gtkUIManagerAddUiFromString(object, buffer, length = -1, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}} object} \item{\verb{buffer}}{the string to parse} \item{\verb{length}}{the length of \code{buffer} (may be -1 if \code{buffer} is nul-terminated)} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[numeric] The merge id for the merged UI. The merge id can be used to unmerge the UI with \code{\link{gtkUIManagerRemoveUi}}. If an error occurred, the return value is 0.} \item{\verb{error}}{return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionConnectProxy.Rd0000644000176000001440000000151712362217677016615 0ustar ripleyusers\alias{gtkActionConnectProxy} \name{gtkActionConnectProxy} \title{gtkActionConnectProxy} \description{ Connects a widget to an action object as a proxy. Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. \strong{WARNING: \code{gtk_action_connect_proxy} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkActivatableSetRelatedAction}} instead.} } \usage{gtkActionConnectProxy(object, proxy)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{proxy}}{the proxy widget} } \details{If the widget is already connected to an action, it is disconnected first. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetVisibleVertical.Rd0000644000176000001440000000135012362217677020237 0ustar ripleyusers\alias{gtkToolItemSetVisibleVertical} \name{gtkToolItemSetVisibleVertical} \title{gtkToolItemSetVisibleVertical} \description{Sets whether \code{tool.item} is visible when the toolbar is docked vertically. Some tool items, such as text entries, are too wide to be useful on a vertically docked toolbar. If \code{visible.vertical} is \code{FALSE} \code{tool.item} will not appear on toolbars that are docked vertically.} \usage{gtkToolItemSetVisibleVertical(object, visible.vertical)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{visible.vertical}}{whether \code{tool.item} is visible when the toolbar is in vertical mode} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMountFinish.Rd0000644000176000001440000000200512362217677016111 0ustar ripleyusers\alias{gVolumeMountFinish} \name{gVolumeMountFinish} \title{gVolumeMountFinish} \description{Finishes mounting a volume. If any errors occured during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gVolumeMountFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the mount operation succeeded, \code{\link{gVolumeGetMount}} on \code{volume} is guaranteed to return the mount right after calling this function; there's no need to listen for the 'mount-added' signal on \code{\link{GVolumeMonitor}}.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, \code{FALSE} if operation failed.} \item{\verb{error}}{a \code{\link{GError}} location to store an error, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxSetChildIpadding.Rd0000644000176000001440000000142212362217677020023 0ustar ripleyusers\alias{gtkButtonBoxSetChildIpadding} \name{gtkButtonBoxSetChildIpadding} \title{gtkButtonBoxSetChildIpadding} \description{ Changes the amount of internal padding used by all buttons in a given button box. \strong{WARNING: \code{gtk_button_box_set_child_ipadding} is deprecated and should not be used in newly-written code. Use the style properties \code{"child-internal-pad-x/-y"} instead.} } \usage{gtkButtonBoxSetChildIpadding(object, ipad.x, ipad.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButtonBox}}.} \item{\verb{ipad.x}}{the horizontal padding that should be used by each button in \code{widget}.} \item{\verb{ipad.y}}{the vertical padding that should be used by each button in \code{widget}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInitScale.Rd0000644000176000001440000000113112362217677016364 0ustar ripleyusers\alias{cairoMatrixInitScale} \name{cairoMatrixInitScale} \title{cairoMatrixInitScale} \description{Initializes \code{matrix} to a transformation that scales by \code{sx} and \code{sy} in the X and Y dimensions, respectively.} \usage{cairoMatrixInitScale(sx, sy)} \arguments{ \item{\verb{sx}}{[numeric] scale factor in the X direction} \item{\verb{sy}}{[numeric] scale factor in the Y direction} } \value{ A list containing the following elements: \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetTransientFor.Rd0000644000176000001440000000102712362217677017266 0ustar ripleyusers\alias{gtkWindowGetTransientFor} \name{gtkWindowGetTransientFor} \title{gtkWindowGetTransientFor} \description{Fetches the transient parent for this window. See \code{\link{gtkWindowSetTransientFor}}.} \usage{gtkWindowGetTransientFor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GtkWindow}}] the transient parent for this window, or \code{NULL} if no transient parent has been set. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionClearTargets.Rd0000644000176000001440000000065112362217677017250 0ustar ripleyusers\alias{gtkSelectionClearTargets} \name{gtkSelectionClearTargets} \title{gtkSelectionClearTargets} \description{Remove all targets registered for the given selection for the widget.} \usage{gtkSelectionClearTargets(object, selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{selection}}{an atom representing a selection} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionBlockActivateFrom.Rd0000644000176000001440000000150412362217677017515 0ustar ripleyusers\alias{gtkActionBlockActivateFrom} \name{gtkActionBlockActivateFrom} \title{gtkActionBlockActivateFrom} \description{ Disables calls to the \code{\link{gtkActionActivate}} function by signals on the given proxy widget. This is used to break notification loops for things like check or radio actions. \strong{WARNING: \code{gtk_action_block_activate_from} has been deprecated since version 2.16 and should not be used in newly-written code. activatables are now responsible for activating the action directly so this doesnt apply anymore.} } \usage{gtkActionBlockActivateFrom(object, proxy)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{proxy}}{a proxy widget} } \details{This function is intended for use by action implementations. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetGetHostname.Rd0000644000176000001440000000112012362217677016533 0ustar ripleyusers\alias{gSrvTargetGetHostname} \name{gSrvTargetGetHostname} \title{gSrvTargetGetHostname} \description{Gets \code{target}'s hostname (in ASCII form; if you are going to present this to the user, you should use \code{gHostnameIsAsciiEncoded()} to check if it contains encoded Unicode segments, and use \code{gHostnameToUnicode()} to convert it if it does.)} \usage{gSrvTargetGetHostname(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[character] \code{target}'s hostname} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnResizeable.Rd0000644000176000001440000000156712362217677017707 0ustar ripleyusers\alias{gtkCListSetColumnResizeable} \name{gtkCListSetColumnResizeable} \title{gtkCListSetColumnResizeable} \description{ Lets you specify whether a specified column should be resizeable by the user. Note that turning on resizeability for the column will automatically shut off auto-resizing, but turning off resizeability will NOT turn on auto-resizing. This must be done manually via a call to \code{\link{gtkCListSetColumnAutoResize}}. \strong{WARNING: \code{gtk_clist_set_column_resizeable} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnResizeable(object, column, resizeable)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column on which to set resizeability.} \item{\verb{resizeable}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetResizable.Rd0000644000176000001440000000071712362217677020236 0ustar ripleyusers\alias{gtkTreeViewColumnGetResizable} \name{gtkTreeViewColumnGetResizable} \title{gtkTreeViewColumnGetResizable} \description{Returns \code{TRUE} if the \code{tree.column} can be resized by the end user.} \usage{gtkTreeViewColumnGetResizable(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \value{[logical] \code{TRUE}, if the \code{tree.column} can be resized.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetFontOptions.Rd0000644000176000001440000000124012362217677016263 0ustar ripleyusers\alias{cairoSetFontOptions} \name{cairoSetFontOptions} \title{cairoSetFontOptions} \description{Sets a set of custom font rendering options for the \code{\link{Cairo}}. Rendering options are derived by merging these options with the options derived from underlying surface; if the value in \code{options} has a default value (like \code{CAIRO_ANTIALIAS_DEFAULT}), then the value from the surface is used.} \usage{cairoSetFontOptions(cr, options)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{options}}{[\code{\link{CairoFontOptions}}] font options to use} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetOpResGpointer.Rd0000644000176000001440000000074512362217677021252 0ustar ripleyusers\alias{gSimpleAsyncResultSetOpResGpointer} \name{gSimpleAsyncResultSetOpResGpointer} \title{gSimpleAsyncResultSetOpResGpointer} \description{Sets the operation result within the asynchronous result to a pointer.} \usage{gSimpleAsyncResultSetOpResGpointer(object, op.res)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{\verb{op.res}}{a pointer result from an asynchronous function.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoItemizeWithBaseDir.Rd0000644000176000001440000000251312362217677017034 0ustar ripleyusers\alias{pangoItemizeWithBaseDir} \name{pangoItemizeWithBaseDir} \title{pangoItemizeWithBaseDir} \description{Like \code{\link{pangoItemize}}, but the base direction to use when computing bidirectional levels (see \code{\link{pangoContextSetBaseDir}}), is specified explicitly rather than gotten from the \code{\link{PangoContext}}.} \usage{pangoItemizeWithBaseDir(context, base.dir, text, start.index, length, attrs, cached.iter = NULL)} \arguments{ \item{\verb{context}}{[\code{\link{PangoContext}}] a structure holding information that affects the itemization process.} \item{\verb{base.dir}}{[\code{\link{PangoDirection}}] base direction to use for bidirectional processing} \item{\verb{text}}{[char] the text to itemize.} \item{\verb{start.index}}{[integer] first byte in \code{text} to process} \item{\verb{length}}{[integer] the number of bytes (not characters) to process after \code{start.index}. This must be >= 0.} \item{\verb{attrs}}{[\code{\link{PangoAttrList}}] the set of attributes that apply to \code{text}.} \item{\verb{cached.iter}}{[\code{\link{PangoAttrIterator}}] Cached attribute iterator, or \code{NULL}} } \details{ Since 1.4} \value{[list] a \verb{list} of \code{\link{PangoItem}} structures.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetFunction.Rd0000644000176000001440000000056712362217677015463 0ustar ripleyusers\alias{gdkGCSetFunction} \name{gdkGCSetFunction} \title{gdkGCSetFunction} \description{Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values.} \usage{gdkGCSetFunction(object, fun)} \arguments{\item{\verb{object}}{a \code{\link{GdkGC}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkFocusTrackerNotify.Rd0000644000176000001440000000060712362217677016601 0ustar ripleyusers\alias{atkFocusTrackerNotify} \name{atkFocusTrackerNotify} \title{atkFocusTrackerNotify} \description{Cause the focus tracker functions which have been specified to be executed for the object.} \usage{atkFocusTrackerNotify(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawOption.Rd0000644000176000001440000000172012362217677015106 0ustar ripleyusers\alias{gtkDrawOption} \name{gtkDrawOption} \title{gtkDrawOption} \description{ Draws a radio button indicator in the given rectangle on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_option} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintOption}} instead.} } \usage{gtkDrawOption(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the rectangle to draw the option in} \item{\verb{y}}{y origin of the rectangle to draw the option in} \item{\verb{width}}{the width of the rectangle to draw the option in} \item{\verb{height}}{the height of the rectangle to draw the option in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteUnsetIconSize.Rd0000644000176000001440000000073012362217677017737 0ustar ripleyusers\alias{gtkToolPaletteUnsetIconSize} \name{gtkToolPaletteUnsetIconSize} \title{gtkToolPaletteUnsetIconSize} \description{Unsets the tool palette icon size set with \code{\link{gtkToolPaletteSetIconSize}}, so that user preferences will be used to determine the icon size.} \usage{gtkToolPaletteUnsetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetEntry.Rd0000644000176000001440000000071512362217677017640 0ustar ripleyusers\alias{gtkEntryCompletionGetEntry} \name{gtkEntryCompletionGetEntry} \title{gtkEntryCompletionGetEntry} \description{Gets the entry \code{completion} has been attached to.} \usage{gtkEntryCompletionGetEntry(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The entry \code{completion} has been attached to.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFontButton.Rd0000644000176000001440000000755112362217677015072 0ustar ripleyusers\alias{GtkFontButton} \alias{gtkFontButton} \name{GtkFontButton} \title{GtkFontButton} \description{A button to launch a font selection dialog} \section{Methods and Functions}{ \code{\link{gtkFontButtonNew}(show = TRUE)}\cr \code{\link{gtkFontButtonNewWithFont}(fontname)}\cr \code{\link{gtkFontButtonSetFontName}(object, fontname)}\cr \code{\link{gtkFontButtonGetFontName}(object)}\cr \code{\link{gtkFontButtonSetShowStyle}(object, show.style)}\cr \code{\link{gtkFontButtonGetShowStyle}(object)}\cr \code{\link{gtkFontButtonSetShowSize}(object, show.size)}\cr \code{\link{gtkFontButtonGetShowSize}(object)}\cr \code{\link{gtkFontButtonSetUseFont}(object, use.font)}\cr \code{\link{gtkFontButtonGetUseFont}(object)}\cr \code{\link{gtkFontButtonSetUseSize}(object, use.size)}\cr \code{\link{gtkFontButtonGetUseSize}(object)}\cr \code{\link{gtkFontButtonSetTitle}(object, title)}\cr \code{\link{gtkFontButtonGetTitle}(object)}\cr \code{gtkFontButton(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkFontButton}} \section{Interfaces}{GtkFontButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{The \code{\link{GtkFontButton}} is a button which displays the currently selected font an allows to open a font selection dialog to change the font. It is suitable widget for selecting a font in a preference dialog.} \section{Structures}{\describe{\item{\verb{GtkFontButton}}{ The GtkFontButton struct has only private members and should not be used directly. }}} \section{Convenient Construction}{\code{gtkFontButton} is the equivalent of \code{\link{gtkFontButtonNew}}.} \section{Signals}{\describe{\item{\code{font-set(widget, user.data)}}{ The ::font-set signal is emitted when the user selects a font. When handling this signal, use \code{\link{gtkFontButtonGetFontName}} to find out which font was just selected. Note that this signal is only emitted when the \emph{user} changes the font. If you need to react to programmatic font changes as well, use the notify::font-name signal. Since 2.4 \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{font-name} [character : * : Read / Write]}{ The name of the currently selected font. Default value: "Sans 12" Since 2.4 } \item{\verb{show-size} [logical : Read / Write]}{ If this property is set to \code{TRUE}, the selected font size will be shown in the label. For a more WYSIWYG way to show the selected size, see the ::use-size property. Default value: TRUE Since 2.4 } \item{\verb{show-style} [logical : Read / Write]}{ If this property is set to \code{TRUE}, the name of the selected font style will be shown in the label. For a more WYSIWYG way to show the selected style, see the ::use-font property. Default value: TRUE Since 2.4 } \item{\verb{title} [character : * : Read / Write]}{ The title of the font selection dialog. Default value: "Pick a Font" Since 2.4 } \item{\verb{use-font} [logical : Read / Write]}{ If this property is set to \code{TRUE}, the label will be drawn in the selected font. Default value: FALSE Since 2.4 } \item{\verb{use-size} [logical : Read / Write]}{ If this property is set to \code{TRUE}, the label will be drawn with the selected font size. Default value: FALSE Since 2.4 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFontButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkFontSelectionDialog}} \code{\link{GtkColorButton}} } \keyword{internal} RGtk2/man/gtkActivatableSetUseActionAppearance.Rd0000644000176000001440000000176312362217677021515 0ustar ripleyusers\alias{gtkActivatableSetUseActionAppearance} \name{gtkActivatableSetUseActionAppearance} \title{gtkActivatableSetUseActionAppearance} \description{Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance} \usage{gtkActivatableSetUseActionAppearance(object, use.appearance)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActivatable}}} \item{\verb{use.appearance}}{whether to use the actions appearance} } \details{\strong{PLEASE NOTE:} \code{\link{GtkActivatable}} implementors need to handle the \verb{"use-action-appearance"} property and call \code{\link{gtkActivatableSyncActionProperties}} to update \code{activatable} if needed. Since 2.16} \note{\code{\link{GtkActivatable}} implementors need to handle the \verb{"use-action-appearance"} property and call \code{\link{gtkActivatableSyncActionProperties}} to update \code{activatable} if needed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonNewFromStock.Rd0000644000176000001440000000137112362217677020414 0ustar ripleyusers\alias{gtkRadioToolButtonNewFromStock} \name{gtkRadioToolButtonNewFromStock} \title{gtkRadioToolButtonNewFromStock} \description{Creates a new \code{\link{GtkRadioToolButton}}, adding it to \code{group}. The new \code{\link{GtkRadioToolButton}} will contain an icon and label from the stock item indicated by \code{stock.id}.} \usage{gtkRadioToolButtonNewFromStock(group = NULL, stock.id, show = TRUE)} \arguments{ \item{\verb{group}}{an existing radio button group, or \code{NULL} if you are creating a new group. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{the name of a stock item} } \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] The new \verb{GtkRadioToolItem}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetRowStyle.Rd0000644000176000001440000000072012362217677017000 0ustar ripleyusers\alias{gtkCTreeNodeGetRowStyle} \name{gtkCTreeNodeGetRowStyle} \title{gtkCTreeNodeGetRowStyle} \description{ Get the style of a row. \strong{WARNING: \code{gtk_ctree_node_get_row_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetRowStyle(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetIcon.Rd0000644000176000001440000000051112362217677015176 0ustar ripleyusers\alias{gVolumeGetIcon} \name{gVolumeGetIcon} \title{gVolumeGetIcon} \description{Gets the icon for \code{volume}.} \usage{gVolumeGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[\code{\link{GIcon}}] a \code{\link{GIcon}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetTextColumn.Rd0000644000176000001440000000172612362217677020660 0ustar ripleyusers\alias{gtkEntryCompletionSetTextColumn} \name{gtkEntryCompletionSetTextColumn} \title{gtkEntryCompletionSetTextColumn} \description{Convenience function for setting up the most used case of this code: a completion list with just strings. This function will set up \code{completion} to have a list displaying all (and just) strings in the completion list, and to get those strings from \code{column} in the model of \code{completion}.} \usage{gtkEntryCompletionSetTextColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{column}}{The column in the model of \code{completion} to get strings from.} } \details{This functions creates and adds a \code{\link{GtkCellRendererText}} for the selected column. If you need to set the text column, but don't want the cell renderer, use \code{\link{gObjectSet}} to set the ::text_column property directly. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSpinnerNew.Rd0000644000176000001440000000061312362217677017377 0ustar ripleyusers\alias{gtkCellRendererSpinnerNew} \name{gtkCellRendererSpinnerNew} \title{gtkCellRendererSpinnerNew} \description{Returns a new cell renderer which will show a spinner to indicate activity.} \usage{gtkCellRendererSpinnerNew()} \details{Since 2.20} \value{[\code{\link{GtkCellRenderer}}] a new \code{\link{GtkCellRenderer}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTipsQueryNew.Rd0000644000176000001440000000063112362217677015437 0ustar ripleyusers\alias{gtkTipsQueryNew} \name{gtkTipsQueryNew} \title{gtkTipsQueryNew} \description{ Creates a new \code{\link{GtkTipsQuery}}. \strong{WARNING: \code{gtk_tips_query_new} is deprecated and should not be used in newly-written code.} } \usage{gtkTipsQueryNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkTipsQuery}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowBeginMoveDrag.Rd0000644000176000001440000000166512362217677016651 0ustar ripleyusers\alias{gdkWindowBeginMoveDrag} \name{gdkWindowBeginMoveDrag} \title{gdkWindowBeginMoveDrag} \description{Begins a window move operation (for a toplevel window). You might use this function to implement a "window move grip," for example. The function works best with window managers that support the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}), but has a fallback implementation for other window managers.} \usage{gdkWindowBeginMoveDrag(object, button, root.x, root.y, timestamp)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{button}}{the button being used to drag} \item{\verb{root.x}}{root window X coordinate of mouse click that began the drag} \item{\verb{root.y}}{root window Y coordinate of mouse click that began the drag} \item{\verb{timestamp}}{timestamp of mouse click that began the drag} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetDuplex.Rd0000644000176000001440000000066512362217677017502 0ustar ripleyusers\alias{gtkPrintSettingsSetDuplex} \name{gtkPrintSettingsSetDuplex} \title{gtkPrintSettingsSetDuplex} \description{Sets the value of \code{GTK_PRINT_SETTINGS_DUPLEX}.} \usage{gtkPrintSettingsSetDuplex(object, duplex)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{duplex}}{a \code{\link{GtkPrintDuplex}} value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetIterAtPosition.Rd0000644000176000001440000000250212362217677020074 0ustar ripleyusers\alias{gtkTextViewGetIterAtPosition} \name{gtkTextViewGetIterAtPosition} \title{gtkTextViewGetIterAtPosition} \description{Retrieves the iterator pointing to the character at buffer coordinates \code{x} and \code{y}. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with \code{\link{gtkTextViewWindowToBufferCoords}}.} \usage{gtkTextViewGetIterAtPosition(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{x}}{x position, in buffer coordinates} \item{\verb{y}}{y position, in buffer coordinates} } \details{Note that this is different from \code{\link{gtkTextViewGetIterAtLocation}}, which returns cursor locations, i.e. positions \emph{between} characters. Since 2.6} \value{ A list containing the following elements: \item{\verb{iter}}{a \code{\link{GtkTextIter}}. \emph{[ \acronym{out} ]}} \item{\verb{trailing}}{if non-\code{NULL}, location to store an integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the trailing edge of the grapheme. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetSize.Rd0000644000176000001440000000133312362217677016407 0ustar ripleyusers\alias{gtkStatusIconGetSize} \name{gtkStatusIconGetSize} \title{gtkStatusIconGetSize} \description{Gets the size in pixels that is available for the image. Stock icons and named icons adapt their size automatically if the size of the notification area changes. For other storage types, the size-changed signal can be used to react to size changes.} \usage{gtkStatusIconGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Note that the returned size is only meaningful while the status icon is embedded (see \code{\link{gtkStatusIconIsEmbedded}}). Since 2.10} \value{[integer] the size that is available for the image} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetPadding.Rd0000644000176000001440000000121612362217677017315 0ustar ripleyusers\alias{gtkCellRendererGetPadding} \name{gtkCellRendererGetPadding} \title{gtkCellRendererGetPadding} \description{Fills in \code{xpad} and \code{ypad} with the appropriate values of \code{cell}.} \usage{gtkCellRendererGetPadding(object, xpad, ypad)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{xpad}}{location to fill in with the x padding of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{ypad}}{location to fill in with the y padding of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GTimeVal.Rd0000644000176000001440000000054711766145227013766 0ustar ripleyusers\name{GTimeVal} \alias{GTimeVal} \title{The GTimeVal structure} \description{Represents a precise time, with seconds and microseconds.} \details{ This is a transparent type, represented by a list with the following fields: \describe{ \item{tv\_secs}{seconds} \item{tv\_usecs}{microseconds} } } \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/pangoUnitsToDouble.Rd0000644000176000001440000000062212362217677016077 0ustar ripleyusers\alias{pangoUnitsToDouble} \name{pangoUnitsToDouble} \title{pangoUnitsToDouble} \description{Converts a number in Pango units to floating-point: divides it by \code{PANGO_SCALE}.} \usage{pangoUnitsToDouble(i)} \arguments{\item{\verb{i}}{[integer] value in Pango units}} \details{ Since 1.16} \value{[numeric] the double value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowBeginMoveDrag.Rd0000644000176000001440000000171612362217677016666 0ustar ripleyusers\alias{gtkWindowBeginMoveDrag} \name{gtkWindowBeginMoveDrag} \title{gtkWindowBeginMoveDrag} \description{Starts moving a window. This function is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system.} \usage{gtkWindowBeginMoveDrag(object, button, root.x, root.y, timestamp)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{button}}{mouse button that initiated the drag} \item{\verb{root.x}}{X position where the user clicked to initiate the drag, in root window coordinates} \item{\verb{root.y}}{Y position where the user clicked to initiate the drag} \item{\verb{timestamp}}{timestamp from the click event that initiated the drag} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorNextFilesAsync.Rd0000644000176000001440000000315012362217677020221 0ustar ripleyusers\alias{gFileEnumeratorNextFilesAsync} \name{gFileEnumeratorNextFilesAsync} \title{gFileEnumeratorNextFilesAsync} \description{Request information for a number of files from the enumerator asynchronously. When all i/o for the operation is finished the \code{callback} will be called with the requested information. } \usage{gFileEnumeratorNextFilesAsync(object, num.files, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{num.files}}{the number of file info objects to request} \item{\verb{io.priority}}{the io priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{The callback can be called with less than \code{num.files} files in case of error or at the end of the enumerator. In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. If a request is cancelled the callback will be called with \code{G_IO_ERROR_CANCELLED}. During an async request no other sync and async calls are allowed, and will result in \code{G_IO_ERROR_PENDING} errors. Any outstanding i/o request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is \code{G_PRIORITY_DEFAULT}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionGetDescription.Rd0000644000176000001440000000114212362217677017071 0ustar ripleyusers\alias{atkActionGetDescription} \name{atkActionGetDescription} \title{atkActionGetDescription} \description{Returns a description of the specified action of the object.} \usage{atkActionGetDescription(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } } \value{[character] a description string, or \code{NULL} if \code{action} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceGetInitFunc.Rd0000644000176000001440000000104412362217677017753 0ustar ripleyusers\alias{cairoUserFontFaceGetInitFunc} \name{cairoUserFontFaceGetInitFunc} \title{cairoUserFontFaceGetInitFunc} \description{Gets the scaled-font initialization function of a user-font.} \usage{cairoUserFontFaceGetInitFunc(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face}} \details{ Since 1.8} \value{[cairo_user_scaled_font_init_func_t] The init callback of \code{font.face} or \code{NULL} if none set or an error has occurred.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetSingleLineMode.Rd0000644000176000001440000000065212362217677017261 0ustar ripleyusers\alias{gtkLabelGetSingleLineMode} \name{gtkLabelGetSingleLineMode} \title{gtkLabelGetSingleLineMode} \description{Returns whether the label is in single line mode.} \usage{gtkLabelGetSingleLineMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.6} \value{[logical] \code{TRUE} when the label is in single line mode.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternStatus.Rd0000644000176000001440000000076712362217677016163 0ustar ripleyusers\alias{cairoPatternStatus} \name{cairoPatternStatus} \title{cairoPatternStatus} \description{Checks whether an error has previously occurred for this pattern.} \usage{cairoPatternStatus(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, \code{CAIRO_STATUS_NO_MEMORY}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapMapVirtualModifiers.Rd0000644000176000001440000000165112362217677020100 0ustar ripleyusers\alias{gdkKeymapMapVirtualModifiers} \name{gdkKeymapMapVirtualModifiers} \title{gdkKeymapMapVirtualModifiers} \description{Maps the virtual modifiers (i.e. Super, Hyper and Meta) which are set in \code{state} to their non-virtual counterparts (i.e. Mod2, Mod3,...) and set the corresponding bits in \code{state}.} \usage{gdkKeymapMapVirtualModifiers(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkKeymap}}}} \details{This function is useful when matching key events against accelerators. Since 2.20} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if no virtual modifiers were mapped to the same non-virtual modifier. Note that \code{FALSE} is also returned if a virtual modifier is mapped to a non-virtual modifier that was already set in \code{state}.} \item{\verb{state}}{pointer to the modifier state to map} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxNew.Rd0000644000176000001440000000050312362217677015200 0ustar ripleyusers\alias{gtkComboBoxNew} \name{gtkComboBoxNew} \title{gtkComboBoxNew} \description{Creates a new empty \code{\link{GtkComboBox}}.} \usage{gtkComboBoxNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new \code{\link{GtkComboBox}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewCollapseRow.Rd0000644000176000001440000000070712362217677016731 0ustar ripleyusers\alias{gtkTreeViewCollapseRow} \name{gtkTreeViewCollapseRow} \title{gtkTreeViewCollapseRow} \description{Collapses a row (hides its child rows, if they exist).} \usage{gtkTreeViewCollapseRow(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{path to a row in the \code{tree.view}} } \value{[logical] \code{TRUE} if the row was collapsed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetMediaType.Rd0000644000176000001440000000076412362217677020122 0ustar ripleyusers\alias{gtkPrintSettingsSetMediaType} \name{gtkPrintSettingsSetMediaType} \title{gtkPrintSettingsSetMediaType} \description{Sets the value of \code{GTK_PRINT_SETTINGS_MEDIA_TYPE}.} \usage{gtkPrintSettingsSetMediaType(object, media.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{media.type}}{the media type} } \details{The set of media types is defined in PWG 5101.1-2002 PWG. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookNextPage.Rd0000644000176000001440000000053312362217677016235 0ustar ripleyusers\alias{gtkNotebookNextPage} \name{gtkNotebookNextPage} \title{gtkNotebookNextPage} \description{Switches to the next page. Nothing happens if the current page is the last page.} \usage{gtkNotebookNextPage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetUseDragWindow.Rd0000644000176000001440000000127612362217677017701 0ustar ripleyusers\alias{gtkToolItemSetUseDragWindow} \name{gtkToolItemSetUseDragWindow} \title{gtkToolItemSetUseDragWindow} \description{Sets whether \code{tool.item} has a drag window. When \code{TRUE} the toolitem can be used as a drag source through \code{\link{gtkDragSourceSet}}. When \code{tool.item} has a drag window it will intercept all events, even those that would otherwise be sent to a child of \code{tool.item}.} \usage{gtkToolItemSetUseDragWindow(object, use.drag.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{use.drag.window}}{Whether \code{tool.item} has a drag window.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetIcon.Rd0000644000176000001440000000224112362217677015553 0ustar ripleyusers\alias{gtkWindowSetIcon} \name{gtkWindowSetIcon} \title{gtkWindowSetIcon} \description{Sets up the icon representing a \code{\link{GtkWindow}}. This icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.} \usage{gtkWindowSetIcon(object, icon = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{icon}}{icon image, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{The icon should be provided in whatever size it was naturally drawn; that is, don't scale the image before passing it to GTK+. Scaling is postponed until the last minute, when the desired final size is known, to allow best quality. If you have your icon hand-drawn in multiple sizes, use \code{\link{gtkWindowSetIconList}}. Then the best size will be used. This function is equivalent to calling \code{\link{gtkWindowSetIconList}} with a 1-element list. See also \code{\link{gtkWindowSetDefaultIconList}} to set the icon for all windows in your application in one go.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileLoadContents.Rd0000644000176000001440000000256212362217677015663 0ustar ripleyusers\alias{gFileLoadContents} \name{gFileLoadContents} \title{gFileLoadContents} \description{Loads the content of the file into memory. The data is always zero-terminated, but this is not included in the resultant \code{length}.} \usage{gFileLoadContents(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{file}'s contents were successfully loaded. \code{FALSE} if there were errors.} \item{\verb{contents}}{a location to place the contents of the file.} \item{\verb{length}}{a location to place the length of the contents of the file, or \code{NULL} if the length is not needed} \item{\verb{etag.out}}{a location to place the current entity tag for the file, or \code{NULL} if the entity tag is not needed} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetShowExpanders.Rd0000644000176000001440000000152212362217677017741 0ustar ripleyusers\alias{gtkTreeViewSetShowExpanders} \name{gtkTreeViewSetShowExpanders} \title{gtkTreeViewSetShowExpanders} \description{Sets whether to draw and enable expanders and indent child rows in \code{tree.view}. When disabled there will be no expanders visible in trees and there will be no way to expand and collapse rows by default. Also note that hiding the expanders will disable the default indentation. You can set a custom indentation in this case using \code{\link{gtkTreeViewSetLevelIndentation}}. This does not have any visible effects for lists.} \usage{gtkTreeViewSetShowExpanders(object, enabled)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{enabled}}{\code{TRUE} to enable expander drawing, \code{FALSE} otherwise.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetTitle.Rd0000644000176000001440000000064612362217677015737 0ustar ripleyusers\alias{gtkWindowGetTitle} \name{gtkWindowGetTitle} \title{gtkWindowGetTitle} \description{Retrieves the title of the window. See \code{\link{gtkWindowSetTitle}}.} \usage{gtkWindowGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[character] the title of the window, or \code{NULL} if none has been set explicitely.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeHasIcon.Rd0000644000176000001440000000077012362217677016144 0ustar ripleyusers\alias{gtkIconThemeHasIcon} \name{gtkIconThemeHasIcon} \title{gtkIconThemeHasIcon} \description{Checks whether an icon theme includes an icon for a particular name.} \usage{gtkIconThemeHasIcon(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon.name}}{the name of an icon} } \details{Since 2.4} \value{[logical] \code{TRUE} if \code{icon.theme} includes an icon for \code{icon.name}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-Unix-Mounts.Rd0000644000176000001440000000213611766145227015274 0ustar ripleyusers\alias{gio-Unix-Mounts} \name{gio-Unix-Mounts} \title{Unix Mounts} \description{Unix Mounts} \section{Hierarchy}{\preformatted{GObject +----GUnixMountMonitor}} \section{Detailed Description}{Routines for managing mounted UNIX mount points and paths. Note that \file{} belongs to the UNIX-specific GIO interfaces, thus you have to use the \file{gio-unix-2.0.pc} pkg-config file when using it.} \section{Signals}{\describe{ \item{\code{mountpoints-changed(monitor, user.data)}}{ Emitted when the unix mount points have changed. \describe{ \item{\code{monitor}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mounts-changed(monitor, user.data)}}{ Emitted when the unix mounts have changed. \describe{ \item{\code{monitor}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gio/gio-Unix-Mounts.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontsetGetMetrics.Rd0000644000176000001440000000070512362217677016752 0ustar ripleyusers\alias{pangoFontsetGetMetrics} \name{pangoFontsetGetMetrics} \title{pangoFontsetGetMetrics} \description{Get overall metric information for the fonts in the fontset.} \usage{pangoFontsetGetMetrics(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontset}}] a \code{\link{PangoFontset}}}} \value{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayGetSize.Rd0000644000176000001440000000063112362217677016337 0ustar ripleyusers\alias{pangoTabArrayGetSize} \name{pangoTabArrayGetSize} \title{pangoTabArrayGetSize} \description{Gets the number of tab stops in \code{tab.array}.} \usage{pangoTabArrayGetSize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}}} \value{[integer] the number of tab stops in the list.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveGetName.Rd0000644000176000001440000000050512362217677014773 0ustar ripleyusers\alias{gDriveGetName} \name{gDriveGetName} \title{gDriveGetName} \description{Gets the name of \code{drive}.} \usage{gDriveGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[char] a string containing \code{drive}'s name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVButtonBoxGetSpacingDefault.Rd0000644000176000001440000000110412362217677020340 0ustar ripleyusers\alias{gtkVButtonBoxGetSpacingDefault} \name{gtkVButtonBoxGetSpacingDefault} \title{gtkVButtonBoxGetSpacingDefault} \description{ Retrieves the current default spacing for vertical button boxes. This is the number of pixels to be placed between the buttons when they are arranged. \strong{WARNING: \code{gtk_vbutton_box_get_spacing_default} is deprecated and should not be used in newly-written code.} } \usage{gtkVButtonBoxGetSpacingDefault()} \value{[integer] the default number of pixels between buttons.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetFromStock.Rd0000644000176000001440000000076312362217677017426 0ustar ripleyusers\alias{gtkStatusIconSetFromStock} \name{gtkStatusIconSetFromStock} \title{gtkStatusIconSetFromStock} \description{Makes \code{status.icon} display the stock icon with the id \code{stock.id}. See \code{\link{gtkStatusIconNewFromStock}} for details.} \usage{gtkStatusIconSetFromStock(object, stock.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{stock.id}}{a stock icon id} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetSensitive.Rd0000644000176000001440000000103712362217677016604 0ustar ripleyusers\alias{gtkActionSetSensitive} \name{gtkActionSetSensitive} \title{gtkActionSetSensitive} \description{Sets the ::sensitive property of the action to \code{sensitive}. Note that this doesn't necessarily mean effective sensitivity. See \code{\link{gtkActionIsSensitive}} for that.} \usage{gtkActionSetSensitive(object, sensitive)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{sensitive}}{\code{TRUE} to make the action sensitive} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetIterFromString.Rd0000644000176000001440000000134012362217677020175 0ustar ripleyusers\alias{gtkTreeModelGetIterFromString} \name{gtkTreeModelGetIterFromString} \title{gtkTreeModelGetIterFromString} \description{Sets \code{iter} to a valid iterator pointing to \code{path.string}, if it exists. Otherwise, \code{iter} is left invalid and \code{FALSE} is returned.} \usage{gtkTreeModelGetIterFromString(object, path.string)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{path.string}}{A string representation of a \code{\link{GtkTreePath}}.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{iter} was set.} \item{\verb{iter}}{An uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceFlush.Rd0000644000176000001440000000115712362217677015726 0ustar ripleyusers\alias{cairoSurfaceFlush} \name{cairoSurfaceFlush} \title{cairoSurfaceFlush} \description{Do any pending drawing for the surface and also restore any temporary modification's cairo has made to the surface's state. This function must be called before switching from drawing on the surface with cairo to drawing on it directly with native APIs. If the surface doesn't support direct access, then this function does nothing.} \usage{cairoSurfaceFlush(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetUseSize.Rd0000644000176000001440000000076112362217677017112 0ustar ripleyusers\alias{gtkFontButtonSetUseSize} \name{gtkFontButtonSetUseSize} \title{gtkFontButtonSetUseSize} \description{If \code{use.size} is \code{TRUE}, the font name will be written using the selected size.} \usage{gtkFontButtonSetUseSize(object, use.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{use.size}}{If \code{TRUE}, font name will be written using the selected size.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewTreeToWidgetCoords.Rd0000644000176000001440000000203212362217677020210 0ustar ripleyusers\alias{gtkTreeViewTreeToWidgetCoords} \name{gtkTreeViewTreeToWidgetCoords} \title{gtkTreeViewTreeToWidgetCoords} \description{ Converts tree coordinates (coordinates in full scrollable area of the tree) to bin_window coordinates. \strong{WARNING: \code{gtk_tree_view_tree_to_widget_coords} has been deprecated since version 2.12 and should not be used in newly-written code. Due to historial reasons the name of this function is incorrect. For converting bin_window coordinates to coordinates relative to bin_window, please see \code{\link{gtkTreeViewConvertBinWindowToWidgetCoords}}.} } \usage{gtkTreeViewTreeToWidgetCoords(object, tx, ty)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tx}}{tree X coordinate} \item{\verb{ty}}{tree Y coordinate} } \value{ A list containing the following elements: \item{\verb{wx}}{return location for X coordinate relative to bin_window} \item{\verb{wy}}{return location for Y coordinate relative to bin_window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardChar.Rd0000644000176000001440000000106012362217677017022 0ustar ripleyusers\alias{gtkTextIterBackwardChar} \name{gtkTextIterBackwardChar} \title{gtkTextIterBackwardChar} \description{Moves backward by one character offset. Returns \code{TRUE} if movement was possible; if \code{iter} was the first in the buffer (character offset 0), \code{\link{gtkTextIterBackwardChar}} returns \code{FALSE} for convenience when writing loops.} \usage{gtkTextIterBackwardChar(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether movement was possible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetExtents.Rd0000644000176000001440000000232312362217677016627 0ustar ripleyusers\alias{pangoLayoutGetExtents} \name{pangoLayoutGetExtents} \title{pangoLayoutGetExtents} \description{Computes the logical and ink extents of \code{layout}. Logical extents are usually what you want for positioning things. Note that both extents may have non-zero x and y. You may want to use those to offset where you render the layout. Not doing that is a very typical bug that shows up as right-to-left layouts not being correctly positioned in a layout with a set width.} \usage{pangoLayoutGetExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{The extents are given in layout coordinates and in Pango units; layout coordinates begin at the top left corner of the layout. } \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the layout as drawn or \code{NULL} to indicate that the result is not needed.} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the layout or \code{NULL} to indicate that the result is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapChangeEntry.Rd0000644000176000001440000000237012362217677016617 0ustar ripleyusers\alias{gtkAccelMapChangeEntry} \name{gtkAccelMapChangeEntry} \title{gtkAccelMapChangeEntry} \description{Changes the \code{accel.key} and \code{accel.mods} currently associated with \code{accel.path}. Due to conflicts with other accelerators, a change may not always be possible, \code{replace} indicates whether other accelerators may be deleted to resolve such conflicts. A change will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Successful changes are indicated by a \code{TRUE} return value.} \usage{gtkAccelMapChangeEntry(accel.path, accel.key, accel.mods, replace)} \arguments{ \item{\verb{accel.path}}{a valid accelerator path} \item{\verb{accel.key}}{the new accelerator key} \item{\verb{accel.mods}}{the new accelerator modifiers} \item{\verb{replace}}{\code{TRUE} if other accelerators may be deleted upon conflicts} } \details{Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \value{[logical] \code{TRUE} if the accelerator could be changed, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThreadedSocketServiceNew.Rd0000644000176000001440000000113312362217677017343 0ustar ripleyusers\alias{gThreadedSocketServiceNew} \name{gThreadedSocketServiceNew} \title{gThreadedSocketServiceNew} \description{Creates a new \code{\link{GThreadedSocketService}} with no listeners. Listeners must be added with \code{gSocketServiceAddListeners()}.} \usage{gThreadedSocketServiceNew(max.threads)} \arguments{\item{\verb{max.threads}}{the maximal number of threads to execute concurrently handling incoming clients, -1 means no limit}} \details{Since 2.22} \value{[\code{\link{GSocketService}}] a new \code{\link{GSocketService}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/utils.Rd0000644000176000001440000000056111766145227013452 0ustar ripleyusers\name{utils} \alias{imagefile} \title{RGtk2 Utilities} \description{Some simple RGtk2 utilities that you probably don't need.} \usage{ imagefile(name) } \arguments{ \item{name}{The file name to which to append the path.} } \details{ \code{imagefile} appends the path to the RGtk2 images directory onto the given filename. } \author{Michael Lawrence} \keyword{internal} RGtk2/man/gtkHButtonBoxSetSpacingDefault.Rd0000644000176000001440000000100112362217677020332 0ustar ripleyusers\alias{gtkHButtonBoxSetSpacingDefault} \name{gtkHButtonBoxSetSpacingDefault} \title{gtkHButtonBoxSetSpacingDefault} \description{ Changes the default spacing that is placed between widgets in an horizontal button box. \strong{WARNING: \code{gtk_hbutton_box_set_spacing_default} is deprecated and should not be used in newly-written code.} } \usage{gtkHButtonBoxSetSpacingDefault(spacing)} \arguments{\item{\verb{spacing}}{an integer value.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeAppendSearchPath.Rd0000644000176000001440000000073711766145227017773 0ustar ripleyusers\alias{gtkIconThemeAppendSearchPath} \name{gtkIconThemeAppendSearchPath} \title{gtkIconThemeAppendSearchPath} \description{Appends a directory to the search path. See \code{\link{gtkIconThemeSetSearchPath}}.} \usage{gtkIconThemeAppendSearchPath(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{path}}{directory name to append to the icon path} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetStatusString.Rd0000644000176000001440000000131412362217677021027 0ustar ripleyusers\alias{gtkPrintOperationGetStatusString} \name{gtkPrintOperationGetStatusString} \title{gtkPrintOperationGetStatusString} \description{Returns a string representation of the status of the print operation. The string is translated and suitable for displaying the print status e.g. in a \code{\link{GtkStatusbar}}.} \usage{gtkPrintOperationGetStatusString(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Use \code{\link{gtkPrintOperationGetStatus}} to obtain a status value that is suitable for programmatic use. Since 2.10} \value{[character] a string representation of the status of the print operation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSelectRange.Rd0000644000176000001440000000112312362217677017677 0ustar ripleyusers\alias{gtkTreeSelectionSelectRange} \name{gtkTreeSelectionSelectRange} \title{gtkTreeSelectionSelectRange} \description{Selects a range of nodes, determined by \code{start.path} and \code{end.path} inclusive. \code{selection} must be set to \verb{GTK_SELECTION_MULTIPLE} mode.} \usage{gtkTreeSelectionSelectRange(object, start.path, end.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{start.path}}{The initial node of the range.} \item{\verb{end.path}}{The final node of the range.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterRefilter.Rd0000644000176000001440000000067712362217677017555 0ustar ripleyusers\alias{gtkTreeModelFilterRefilter} \name{gtkTreeModelFilterRefilter} \title{gtkTreeModelFilterRefilter} \description{Emits ::row_changed for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not.} \usage{gtkTreeModelFilterRefilter(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAspectFrame.Rd0000644000176000001440000000431012362217677015150 0ustar ripleyusers\alias{GtkAspectFrame} \alias{gtkAspectFrame} \name{GtkAspectFrame} \title{GtkAspectFrame} \description{A frame that constrains its child to a particular aspect ratio} \section{Methods and Functions}{ \code{\link{gtkAspectFrameNew}(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)}\cr \code{\link{gtkAspectFrameSet}(object, xalign = 0, yalign = 0, ratio = 1, obey.child = 1)}\cr \code{gtkAspectFrame(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkFrame +----GtkAspectFrame}} \section{Interfaces}{GtkAspectFrame implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkAspectFrame}} is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. \code{\link{GtkAspectFrame}} derives from \code{\link{GtkFrame}}, so it can draw a label and a frame around the child. The frame will be "shrink-wrapped" to the size of the child.} \section{Structures}{\describe{\item{\verb{GtkAspectFrame}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkAspectFrame} is the equivalent of \code{\link{gtkAspectFrameNew}}.} \section{Properties}{\describe{ \item{\verb{obey-child} [logical : Read / Write]}{ Force aspect ratio to match that of the frame's child. Default value: TRUE } \item{\verb{ratio} [numeric : Read / Write]}{ Aspect ratio if obey_child is FALSE. Allowed values: [0.0001,10000] Default value: 1 } \item{\verb{xalign} [numeric : Read / Write]}{ X alignment of the child. Allowed values: [0,1] Default value: 0.5 } \item{\verb{yalign} [numeric : Read / Write]}{ Y alignment of the child. Allowed values: [0,1] Default value: 0.5 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAspectFrame.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcPropertyParseFlags.Rd0000644000176000001440000000165712362217677017112 0ustar ripleyusers\alias{gtkRcPropertyParseFlags} \name{gtkRcPropertyParseFlags} \title{gtkRcPropertyParseFlags} \description{A \verb{GtkRcPropertyParser} for use with \code{\link{gtkSettingsInstallPropertyParser}} or \code{\link{gtkWidgetClassInstallStylePropertyParser}} which parses flags. } \usage{gtkRcPropertyParseFlags(pspec, gstring)} \arguments{ \item{\verb{pspec}}{a \code{\link{GParamSpec}}} \item{\verb{gstring}}{the \verb{character} to be parsed} } \details{Flags can be specified by their name, their nickname or numerically. Multiple flags can be specified in the form \code{"( flag1 | flag2 | ... )"}.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{gstring} could be parsed and \code{property.value} has been set to the resulting flags value.} \item{\verb{property.value}}{a \verb{R object} which must hold flags values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoContextGetResolution.Rd0000644000176000001440000000114312362217677020464 0ustar ripleyusers\alias{pangoCairoContextGetResolution} \name{pangoCairoContextGetResolution} \title{pangoCairoContextGetResolution} \description{Gets the resolution for the context. See \code{\link{pangoCairoContextSetResolution}}} \usage{pangoCairoContextGetResolution(context)} \arguments{\item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map}} \details{ Since 1.10} \value{[numeric] the resolution in "dots per inch". A negative value will be returned if no resolution has previously been set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererActivate.Rd0000644000176000001440000000210412362217677017044 0ustar ripleyusers\alias{gtkCellRendererActivate} \name{gtkCellRendererActivate} \title{gtkCellRendererActivate} \description{Passes an activate event to the cell renderer for possible processing. Some cell renderers may use events; for example, \code{\link{GtkCellRendererToggle}} toggles when it gets a mouse click.} \usage{gtkCellRendererActivate(object, event, widget, path, background.area, cell.area, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRenderer}}} \item{\verb{event}}{a \code{\link{GdkEvent}}} \item{\verb{widget}}{widget that received the event} \item{\verb{path}}{widget-dependent string representation of the event location; e.g. for \code{\link{GtkTreeView}}, a string representation of \code{\link{GtkTreePath}}} \item{\verb{background.area}}{background area as passed to \code{\link{gtkCellRendererRender}}} \item{\verb{cell.area}}{cell area as passed to \code{\link{gtkCellRendererRender}}} \item{\verb{flags}}{render flags} } \value{[logical] \code{TRUE} if the event was consumed/handled} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetSearchColumn.Rd0000644000176000001440000000065012362217677017517 0ustar ripleyusers\alias{gtkTreeViewGetSearchColumn} \name{gtkTreeViewGetSearchColumn} \title{gtkTreeViewGetSearchColumn} \description{Gets the column searched on by the interactive search code.} \usage{gtkTreeViewGetSearchColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[integer] the column the interactive search code searches in.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetPasteTargetList.Rd0000644000176000001440000000132112362217677020533 0ustar ripleyusers\alias{gtkTextBufferGetPasteTargetList} \name{gtkTextBufferGetPasteTargetList} \title{gtkTextBufferGetPasteTargetList} \description{This function returns the list of targets this text buffer supports for pasting and as DND destination. The targets in the list are added with \code{info} values from the \code{\link{GtkTextBufferTargetInfo}} enum, using \code{\link{gtkTargetListAddRichTextTargets}} and \code{\link{gtkTargetListAddTextTargets}}.} \usage{gtkTextBufferGetPasteTargetList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{Since 2.10} \value{[\code{\link{GtkTargetList}}] the \code{\link{GtkTargetList}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMergeChildShapes.Rd0000644000176000001440000000125512362217677017342 0ustar ripleyusers\alias{gdkWindowMergeChildShapes} \name{gdkWindowMergeChildShapes} \title{gdkWindowMergeChildShapes} \description{Merges the shape masks for any child windows into the shape mask for \code{window}. i.e. the union of all masks for \code{window} and its children will become the new mask for \code{window}. See \code{\link{gdkWindowShapeCombineMask}}.} \usage{gdkWindowMergeChildShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{This function is distinct from \code{\link{gdkWindowSetChildShapes}} because it includes \code{window}'s shape mask in the set of shapes to be merged.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsertItem.Rd0000644000176000001440000000267012362217677016433 0ustar ripleyusers\alias{gtkToolbarInsertItem} \name{gtkToolbarInsertItem} \title{gtkToolbarInsertItem} \description{ Inserts a new item into the toolbar. You must specify the position in the toolbar where it will be inserted. \strong{WARNING: \code{gtk_toolbar_insert_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarInsertItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{text}}{give your toolbar button a label.} \item{\verb{tooltip.text}}{a string that appears when the user holds the mouse over this item.} \item{\verb{tooltip.private.text}}{use with \code{\link{GtkTipsQuery}}.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that should be used as the button's icon.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{a pointer to any data you wish to be passed to the callback.} \item{\verb{position}}{the number of widgets to insert this item after.} } \details{\code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the new toolbar item as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetInnerBorder.Rd0000644000176000001440000000106512362217677016715 0ustar ripleyusers\alias{gtkEntryGetInnerBorder} \name{gtkEntryGetInnerBorder} \title{gtkEntryGetInnerBorder} \description{This function returns the entry's \verb{"inner-border"} property. See \code{\link{gtkEntrySetInnerBorder}} for more information.} \usage{gtkEntryGetInnerBorder(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.10} \value{[\code{\link{GtkBorder}}] the entry's \code{\link{GtkBorder}}, or \code{NULL} if none was set. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextTag.Rd0000644000176000001440000003414212362217677014344 0ustar ripleyusers\alias{GtkTextTag} \alias{GtkTextAttributes} \alias{GtkTextAppearance} \alias{gtkTextTag} \alias{GtkWrapMode} \name{GtkTextTag} \title{GtkTextTag} \description{A tag that can be applied to text in a GtkTextBuffer} \section{Methods and Functions}{ \code{\link{gtkTextTagNew}(name = NULL)}\cr \code{\link{gtkTextTagGetPriority}(object)}\cr \code{\link{gtkTextTagSetPriority}(object, priority)}\cr \code{\link{gtkTextTagEvent}(object, event.object, event, iter)}\cr \code{\link{gtkTextAttributesNew}()}\cr \code{\link{gtkTextAttributesCopy}(object)}\cr \code{\link{gtkTextAttributesCopyValues}(object, dest)}\cr \code{gtkTextTag(name = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkTextTag}} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. Tags should be in the \code{\link{GtkTextTagTable}} for a given \code{\link{GtkTextBuffer}} before using them with that buffer. \code{\link{gtkTextBufferCreateTag}} is the best way to create tags. See \command{gtk-demo} for numerous examples. The "invisible" property was not implemented for GTK+ 2.0. It is working (with minor issues) since 2.8.} \section{Structures}{\describe{ \item{\verb{GtkTextTag}}{ \emph{undocumented } } \item{\verb{GtkTextAttributes}}{ Using \code{\link{GtkTextAttributes}} directly should rarely be necessary. It's primarily useful with \code{\link{gtkTextIterGetAttributes}}. As with most GTK+ structs, the fields in this struct should only be read, never modified directly. \describe{ \item{\verb{appearance}}{[\code{\link{GtkTextAppearance}}] pointer to sub-struct containing certain attributes} \item{\verb{justification}}{[\code{\link{GtkJustification}}] } \item{\verb{direction}}{[\code{\link{GtkTextDirection}}] } \item{\verb{font}}{[\code{\link{PangoFontDescription}}] } \item{\verb{fontScale}}{[numeric] } \item{\verb{leftMargin}}{[integer] } \item{\verb{indent}}{[integer] } \item{\verb{rightMargin}}{[integer] } \item{\verb{pixelsAboveLines}}{[integer] } \item{\verb{pixelsBelowLines}}{[integer] } \item{\verb{pixelsInsideWrap}}{[integer] } \item{\verb{tabs}}{[\code{\link{PangoTabArray}}] } \item{\verb{wrapMode}}{[\code{\link{GtkWrapMode}}] } \item{\verb{language}}{[\code{\link{PangoLanguage}}] } \item{\verb{invisible}}{[numeric] } \item{\verb{bgFullHeight}}{[numeric] } \item{\verb{editable}}{[numeric] } \item{\verb{realized}}{[numeric] } } } \item{\verb{GtkTextAppearance}}{ \emph{undocumented } \describe{ \item{\verb{bgColor}}{[\code{\link{GdkColor}}] } \item{\verb{fgColor}}{[\code{\link{GdkColor}}] } \item{\verb{bgStipple}}{[\code{\link{GdkBitmap}}] } \item{\verb{fgStipple}}{[\code{\link{GdkBitmap}}] } \item{\verb{rise}}{[integer] } \item{\verb{underline}}{[numeric] } \item{\verb{strikethrough}}{[numeric] } \item{\verb{drawBg}}{[numeric] } } } }} \section{Convenient Construction}{\code{gtkTextTag} is the equivalent of \code{\link{gtkTextTagNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkWrapMode}}{ Describes a type of line wrapping. \describe{ \item{\verb{none}}{do not wrap lines; just make the text area wider} \item{\verb{char}}{wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see \code{\link{pangoGetLogAttrs}})} \item{\verb{word}}{wrap text, breaking lines in between words} \item{\verb{word_char}}{wrap text, breaking lines in between words, or if that is not enough, also between graphemes.} } }}} \section{Signals}{\describe{\item{\code{event(tag, object, event, iter, user.data)}}{ The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag. \describe{ \item{\code{tag}}{the \code{\link{GtkTextTag}} on which the signal is emitted} \item{\code{object}}{the object the event was fired from (typically a \code{\link{GtkTextView}})} \item{\code{event}}{the event which triggered the signal} \item{\code{iter}}{a \code{\link{GtkTextIter}} pointing at the location the event occured} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. }}} \section{Properties}{\describe{ \item{\verb{accumulative-margin} [logical : Read / Write]}{ Whether the margins accumulate or override each other. When set to \code{TRUE} the margins of this tag are added to the margins of any other non-accumulative margins present. When set to \code{FALSE} the margins override one another (the default). Default value: FALSE Since 2.12 } \item{\verb{background} [character : * : Write]}{ Background color as a string. Default value: NULL } \item{\verb{background-full-height} [logical : Read / Write]}{ Whether the background color fills the entire line height or only the height of the tagged characters. Default value: FALSE } \item{\verb{background-full-height-set} [logical : Read / Write]}{ Whether this tag affects background height. Default value: FALSE } \item{\verb{background-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Background color as a (possibly unallocated) GdkColor. } \item{\verb{background-set} [logical : Read / Write]}{ Whether this tag affects the background color. Default value: FALSE } \item{\verb{background-stipple} [\code{\link{GdkPixmap}} : * : Read / Write]}{ Bitmap to use as a mask when drawing the text background. } \item{\verb{background-stipple-set} [logical : Read / Write]}{ Whether this tag affects the background stipple. Default value: FALSE } \item{\verb{direction} [\code{\link{GtkTextDirection}} : Read / Write]}{ Text direction, e.g. right-to-left or left-to-right. Default value: GTK_TEXT_DIR_NONE } \item{\verb{editable} [logical : Read / Write]}{ Whether the text can be modified by the user. Default value: TRUE } \item{\verb{editable-set} [logical : Read / Write]}{ Whether this tag affects text editability. Default value: FALSE } \item{\verb{family} [character : * : Read / Write]}{ Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Default value: NULL } \item{\verb{family-set} [logical : Read / Write]}{ Whether this tag affects the font family. Default value: FALSE } \item{\verb{font} [character : * : Read / Write]}{ Font description as string, e.g. \\"Sans Italic 12\\". Note that the initial value of this property depends on the internals of \code{\link{PangoFontDescription}}. Default value: NULL } \item{\verb{font-desc} [\code{\link{PangoFontDescription}} : * : Read / Write]}{ Font description as a PangoFontDescription struct. } \item{\verb{foreground} [character : * : Write]}{ Foreground color as a string. Default value: NULL } \item{\verb{foreground-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Foreground color as a (possibly unallocated) GdkColor. } \item{\verb{foreground-set} [logical : Read / Write]}{ Whether this tag affects the foreground color. Default value: FALSE } \item{\verb{foreground-stipple} [\code{\link{GdkPixmap}} : * : Read / Write]}{ Bitmap to use as a mask when drawing the text foreground. } \item{\verb{foreground-stipple-set} [logical : Read / Write]}{ Whether this tag affects the foreground stipple. Default value: FALSE } \item{\verb{indent} [integer : Read / Write]}{ Amount to indent the paragraph, in pixels. Default value: 0 } \item{\verb{indent-set} [logical : Read / Write]}{ Whether this tag affects indentation. Default value: FALSE } \item{\verb{invisible} [logical : Read / Write]}{ Whether this text is hidden. Note that there may still be problems with the support for invisible text, in particular when navigating programmatically inside a buffer containing invisible segments. Default value: FALSE Since 2.8 } \item{\verb{invisible-set} [logical : Read / Write]}{ Whether this tag affects text visibility. Default value: FALSE } \item{\verb{justification} [\code{\link{GtkJustification}} : Read / Write]}{ Left, right, or center justification. Default value: GTK_JUSTIFY_LEFT } \item{\verb{justification-set} [logical : Read / Write]}{ Whether this tag affects paragraph justification. Default value: FALSE } \item{\verb{language} [character : * : Read / Write]}{ The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used. Note that the initial value of this property depends on the current locale, see also \code{\link{gtkGetDefaultLanguage}}. Default value: NULL } \item{\verb{language-set} [logical : Read / Write]}{ Whether this tag affects the language the text is rendered as. Default value: FALSE } \item{\verb{left-margin} [integer : Read / Write]}{ Width of the left margin in pixels. Allowed values: >= 0 Default value: 0 } \item{\verb{left-margin-set} [logical : Read / Write]}{ Whether this tag affects the left margin. Default value: FALSE } \item{\verb{name} [character : * : Read / Write / Construct Only]}{ Name used to refer to the text tag. NULL for anonymous tags. Default value: NULL } \item{\verb{paragraph-background} [character : * : Write]}{ The paragraph background color as a string. Default value: NULL Since 2.8 } \item{\verb{paragraph-background-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ The paragraph background color as a as a (possibly unallocated) \code{\link{GdkColor}}. Since 2.8 } \item{\verb{paragraph-background-set} [logical : Read / Write]}{ Whether this tag affects the paragraph background color. Default value: FALSE } \item{\verb{pixels-above-lines} [integer : Read / Write]}{ Pixels of blank space above paragraphs. Allowed values: >= 0 Default value: 0 } \item{\verb{pixels-above-lines-set} [logical : Read / Write]}{ Whether this tag affects the number of pixels above lines. Default value: FALSE } \item{\verb{pixels-below-lines} [integer : Read / Write]}{ Pixels of blank space below paragraphs. Allowed values: >= 0 Default value: 0 } \item{\verb{pixels-below-lines-set} [logical : Read / Write]}{ Whether this tag affects the number of pixels above lines. Default value: FALSE } \item{\verb{pixels-inside-wrap} [integer : Read / Write]}{ Pixels of blank space between wrapped lines in a paragraph. Allowed values: >= 0 Default value: 0 } \item{\verb{pixels-inside-wrap-set} [logical : Read / Write]}{ Whether this tag affects the number of pixels between wrapped lines. Default value: FALSE } \item{\verb{right-margin} [integer : Read / Write]}{ Width of the right margin in pixels. Allowed values: >= 0 Default value: 0 } \item{\verb{right-margin-set} [logical : Read / Write]}{ Whether this tag affects the right margin. Default value: FALSE } \item{\verb{rise} [integer : Read / Write]}{ Offset of text above the baseline (below the baseline if rise is negative) in Pango units. Default value: 0 } \item{\verb{rise-set} [logical : Read / Write]}{ Whether this tag affects the rise. Default value: FALSE } \item{\verb{scale} [numeric : Read / Write]}{ Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE. Allowed values: >= 0 Default value: 1 } \item{\verb{scale-set} [logical : Read / Write]}{ Whether this tag scales the font size by a factor. Default value: FALSE } \item{\verb{size} [integer : Read / Write]}{ Font size in Pango units. Allowed values: >= 0 Default value: 0 } \item{\verb{size-points} [numeric : Read / Write]}{ Font size in points. Allowed values: >= 0 Default value: 0 } \item{\verb{size-set} [logical : Read / Write]}{ Whether this tag affects the font size. Default value: FALSE } \item{\verb{stretch} [\code{\link{PangoStretch}} : Read / Write]}{ Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED. Default value: PANGO_STRETCH_NORMAL } \item{\verb{stretch-set} [logical : Read / Write]}{ Whether this tag affects the font stretch. Default value: FALSE } \item{\verb{strikethrough} [logical : Read / Write]}{ Whether to strike through the text. Default value: FALSE } \item{\verb{strikethrough-set} [logical : Read / Write]}{ Whether this tag affects strikethrough. Default value: FALSE } \item{\verb{style} [\code{\link{PangoStyle}} : Read / Write]}{ Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC. Default value: PANGO_STYLE_NORMAL } \item{\verb{style-set} [logical : Read / Write]}{ Whether this tag affects the font style. Default value: FALSE } \item{\verb{tabs} [\code{\link{PangoTabArray}} : * : Read / Write]}{ Custom tabs for this text. } \item{\verb{tabs-set} [logical : Read / Write]}{ Whether this tag affects tabs. Default value: FALSE } \item{\verb{underline} [\code{\link{PangoUnderline}} : Read / Write]}{ Style of underline for this text. Default value: PANGO_UNDERLINE_NONE } \item{\verb{underline-set} [logical : Read / Write]}{ Whether this tag affects underlining. Default value: FALSE } \item{\verb{variant} [\code{\link{PangoVariant}} : Read / Write]}{ Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS. Default value: PANGO_VARIANT_NORMAL } \item{\verb{variant-set} [logical : Read / Write]}{ Whether this tag affects the font variant. Default value: FALSE } \item{\verb{weight} [integer : Read / Write]}{ Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD. Allowed values: >= 0 Default value: 400 } \item{\verb{weight-set} [logical : Read / Write]}{ Whether this tag affects the font weight. Default value: FALSE } \item{\verb{wrap-mode} [\code{\link{GtkWrapMode}} : Read / Write]}{ Whether to wrap lines never, at word boundaries, or at character boundaries. Default value: GTK_WRAP_NONE } \item{\verb{wrap-mode-set} [logical : Read / Write]}{ Whether this tag affects line wrap mode. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTextTag.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetTitle.Rd0000644000176000001440000000064512362217677016563 0ustar ripleyusers\alias{gtkStatusIconGetTitle} \name{gtkStatusIconGetTitle} \title{gtkStatusIconGetTitle} \description{Gets the title of this tray icon. See \code{\link{gtkStatusIconSetTitle}}.} \usage{gtkStatusIconGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.18} \value{[character] the title of the status icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetStrikethroughThickness.Rd0000644000176000001440000000105712362217677022676 0ustar ripleyusers\alias{pangoFontMetricsGetStrikethroughThickness} \name{pangoFontMetricsGetStrikethroughThickness} \title{pangoFontMetricsGetStrikethroughThickness} \description{Gets the suggested thickness to draw for the strikethrough.} \usage{pangoFontMetricsGetStrikethroughThickness(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \details{ Since 1.6} \value{[integer] the suggested strikethrough thickness, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetMode.Rd0000644000176000001440000000067412362217677017041 0ustar ripleyusers\alias{gtkTreeSelectionGetMode} \name{gtkTreeSelectionGetMode} \title{gtkTreeSelectionGetMode} \description{Gets the selection mode for \code{selection}. See \code{\link{gtkTreeSelectionSetMode}}.} \usage{gtkTreeSelectionGetMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeSelection}}}} \value{[\code{\link{GtkSelectionMode}}] the current selection mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetNumberUp.Rd0000644000176000001440000000065312362217677017757 0ustar ripleyusers\alias{gtkPrintSettingsGetNumberUp} \name{gtkPrintSettingsGetNumberUp} \title{gtkPrintSettingsGetNumberUp} \description{Gets the value of \code{GTK_PRINT_SETTINGS_NUMBER_UP}.} \usage{gtkPrintSettingsGetNumberUp(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[integer] the number of pages per sheet} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetIconName.Rd0000644000176000001440000000104012362217677017136 0ustar ripleyusers\alias{gtkIconSourceGetIconName} \name{gtkIconSourceGetIconName} \title{gtkIconSourceGetIconName} \description{Retrieves the source icon name, or \code{NULL} if none is set. The icon_name is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source.} \usage{gtkIconSourceGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[character] icon name. This string must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetCursor.Rd0000644000176000001440000000152512362217677016404 0ustar ripleyusers\alias{gtkIconViewGetCursor} \name{gtkIconViewGetCursor} \title{gtkIconViewGetCursor} \description{Fills in \code{path} and \code{cell} with the current cursor path and cell. If the cursor isn't currently set, then *\code{path} will be \code{NULL}. If no cell currently has focus, then *\code{cell} will be \code{NULL}.} \usage{gtkIconViewGetCursor(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}}} \details{ Since 2.8} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the cursor is set.} \item{\verb{path}}{Return location for the current cursor path, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{cell}}{Return location the current focus cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetNthItem.Rd0000644000176000001440000000074012362217677017523 0ustar ripleyusers\alias{gtkToolItemGroupGetNthItem} \name{gtkToolItemGroupGetNthItem} \title{gtkToolItemGroupGetNthItem} \description{Gets the tool item at \code{index} in group.} \usage{gtkToolItemGroupGetNthItem(object, index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{index}}{the index} } \details{Since 2.20} \value{[\code{\link{GtkToolItem}}] the \code{\link{GtkToolItem}} at index} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySetPointerHooks.Rd0000644000176000001440000000145112362217677017427 0ustar ripleyusers\alias{gdkDisplaySetPointerHooks} \name{gdkDisplaySetPointerHooks} \title{gdkDisplaySetPointerHooks} \description{This function allows for hooking into the operation of getting the current location of the pointer on a particular display. This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility.} \usage{gdkDisplaySetPointerHooks(object, new.hooks)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{new.hooks}}{a table of pointers to functions for getting quantities related to the current pointer position, or \code{NULL} to restore the default table.} } \details{Since 2.2} \value{[GdkDisplayPointerHooks] the previous pointer hook table} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetDepth.Rd0000644000176000001440000000073612362217677016154 0ustar ripleyusers\alias{gdkDrawableGetDepth} \name{gdkDrawableGetDepth} \title{gdkDrawableGetDepth} \description{Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. Examples are 8 bits per pixel, 24 bits per pixel, etc.} \usage{gdkDrawableGetDepth(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \value{[integer] number of bits per pixel} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetTextColumn.Rd0000644000176000001440000000072312362217677020640 0ustar ripleyusers\alias{gtkEntryCompletionGetTextColumn} \name{gtkEntryCompletionGetTextColumn} \title{gtkEntryCompletionGetTextColumn} \description{Returns the column in the model of \code{completion} to get strings from.} \usage{gtkEntryCompletionGetTextColumn(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.6} \value{[integer] the column containing the strings} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowUnstick.Rd0000644000176000001440000000126212362217677015631 0ustar ripleyusers\alias{gtkWindowUnstick} \name{gtkWindowUnstick} \title{gtkWindowUnstick} \description{Asks to unstick \code{window}, which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the window is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the window will end up stuck. Just don't write code that crashes if not.} \usage{gtkWindowUnstick(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{You can track stickiness via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintRunPageSetupDialogAsync.Rd0000644000176000001440000000204412362217677020535 0ustar ripleyusers\alias{gtkPrintRunPageSetupDialogAsync} \name{gtkPrintRunPageSetupDialogAsync} \title{gtkPrintRunPageSetupDialogAsync} \description{Runs a page setup dialog, letting the user modify the values from \code{page.setup}. } \usage{gtkPrintRunPageSetupDialogAsync(parent, page.setup, settings, done.cb, data)} \arguments{ \item{\verb{parent}}{transient parent, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{page.setup}}{an existing \code{\link{GtkPageSetup}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{settings}}{a \code{\link{GtkPrintSettings}}} \item{\verb{done.cb}}{a function to call when the user saves the modified page setup} \item{\verb{data}}{user data to pass to \code{done.cb}} } \details{In contrast to \code{\link{gtkPrintRunPageSetupDialog}}, this function returns after showing the page setup dialog on platforms that support this, and calls \code{done.cb} from a signal handler for the ::response signal of the dialog. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddToggleActions.Rd0000644000176000001440000000134412362217677020350 0ustar ripleyusers\alias{gtkActionGroupAddToggleActions} \name{gtkActionGroupAddToggleActions} \title{gtkActionGroupAddToggleActions} \description{This is a convenience function to create a number of toggle actions and add them to the action group.} \usage{gtkActionGroupAddToggleActions(object, entries, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of toggle action descriptions} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{The "activate" signals of the actions are connected to the callbacks and their accel paths are set to \code{/ \\var{group-name} / \\var{action-name}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncResultGetSourceObject.Rd0000644000176000001440000000073712362217677017714 0ustar ripleyusers\alias{gAsyncResultGetSourceObject} \name{gAsyncResultGetSourceObject} \title{gAsyncResultGetSourceObject} \description{Gets the source object from a \code{\link{GAsyncResult}}.} \usage{gAsyncResultGetSourceObject(object)} \arguments{\item{\verb{object}}{a \code{\link{GAsyncResult}}}} \value{[\code{\link{GObject}}] a new reference to the source object for the \code{res}, or \code{NULL} if there is none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableGetRowSpacing.Rd0000644000176000001440000000075312362217677016511 0ustar ripleyusers\alias{gtkTableGetRowSpacing} \name{gtkTableGetRowSpacing} \title{gtkTableGetRowSpacing} \description{Gets the amount of space between row \code{row}, and row \code{row} + 1. See \code{\link{gtkTableSetRowSpacing}}.} \usage{gtkTableGetRowSpacing(object, row)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}}} \item{\verb{row}}{a row in the table, 0 indicates the first row} } \value{[numeric] the row spacing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkIMContextSimple.Rd0000644000176000001440000000146712362217677016014 0ustar ripleyusers\alias{GtkIMContextSimple} \alias{gtkIMContextSimple} \name{GtkIMContextSimple} \title{GtkIMContextSimple} \description{An input method context supporting table-based input methods} \section{Methods and Functions}{ \code{\link{gtkIMContextSimpleNew}()}\cr \code{\link{gtkIMContextSimpleAddTable}(object, data, max.seq.len, n.seqs)}\cr \code{gtkIMContextSimple()} } \section{Hierarchy}{\preformatted{GObject +----GtkIMContext +----GtkIMContextSimple}} \section{Structures}{\describe{\item{\verb{GtkIMContextSimple}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkIMContextSimple} is the equivalent of \code{\link{gtkIMContextSimpleNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkIMContextSimple.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetBaseDir.Rd0000644000176000001440000000155012362217677016672 0ustar ripleyusers\alias{pangoContextSetBaseDir} \name{pangoContextSetBaseDir} \title{pangoContextSetBaseDir} \description{Sets the base direction for the context.} \usage{pangoContextSetBaseDir(object, direction)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{direction}}{[\code{\link{PangoDirection}}] the new base direction} } \details{The base direction is used in applying the Unicode bidirectional algorithm; if the \code{direction} is \code{PANGO_DIRECTION_LTR} or \code{PANGO_DIRECTION_RTL}, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of \code{PANGO_DIRECTION_WEAK_LTR} or \code{PANGO_DIRECTION_WEAK_RTL} is used only for paragraphs that do not contain any strong characters themselves. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterNew.Rd0000644000176000001440000000140412362217677016057 0ustar ripleyusers\alias{gtkRecentFilterNew} \name{gtkRecentFilterNew} \title{gtkRecentFilterNew} \description{Creates a new \code{\link{GtkRecentFilter}} with no rules added to it. Such filter does not accept any recently used resources, so is not particularly useful until you add rules with \code{\link{gtkRecentFilterAddPattern}}, \code{\link{gtkRecentFilterAddMimeType}}, \code{\link{gtkRecentFilterAddApplication}}, \code{\link{gtkRecentFilterAddAge}}. To create a filter that accepts any recently used resource, use: \preformatted{ filter <- gtkRecentFilter() filter$addPattern("*") }} \usage{gtkRecentFilterNew()} \details{Since 2.10} \value{[\code{\link{GtkRecentFilter}}] a new \code{\link{GtkRecentFilter}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceSetInitFunc.Rd0000644000176000001440000000142112362217677017766 0ustar ripleyusers\alias{cairoUserFontFaceSetInitFunc} \name{cairoUserFontFaceSetInitFunc} \title{cairoUserFontFaceSetInitFunc} \description{Sets the scaled-font initialization function of a user-font. See \verb{cairo_user_scaled_font_init_func_t} for details of how the callback works.} \usage{cairoUserFontFaceSetInitFunc(font.face, init.func)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face} \item{\verb{init.func}}{[cairo_user_scaled_font_init_func_t] The init callback, or \code{NULL}} } \details{The font-face should not be immutable or a \code{CAIRO_STATUS_USER_FONT_IMMUTABLE} error will occur. A user font-face is immutable as soon as a scaled-font is created from it. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkAddKeyEventListener.Rd0000644000176000001440000000146112362217677016665 0ustar ripleyusers\alias{atkAddKeyEventListener} \name{atkAddKeyEventListener} \title{atkAddKeyEventListener} \description{Adds the specified function to the list of functions to be called when a key event occurs. The \code{data} element will be passed to the \code{\link{AtkKeySnoopFunc}} (\code{listener}) as the \code{func.data} param, on notification.} \usage{atkAddKeyEventListener(listener, data)} \arguments{ \item{\verb{listener}}{[\code{\link{AtkKeySnoopFunc}}] the listener to notify} \item{\verb{data}}{[R object] a \verb{R object} that points to a block of data that should be sent to the registered listeners, along with the event notification, when it occurs. } } \value{[numeric] added event listener id, or 0 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOrientableSetOrientation.Rd0000644000176000001440000000067412362217677020003 0ustar ripleyusers\alias{gtkOrientableSetOrientation} \name{gtkOrientableSetOrientation} \title{gtkOrientableSetOrientation} \description{Sets the orientation of the \code{orientable}.} \usage{gtkOrientableSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkOrientable}}} \item{\verb{orientation}}{the orientable's new orientation.} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsToplevel.Rd0000644000176000001440000000105512362217677016253 0ustar ripleyusers\alias{gtkWidgetIsToplevel} \name{gtkWidgetIsToplevel} \title{gtkWidgetIsToplevel} \description{Determines whether \code{widget} is a toplevel widget. Currently only \code{\link{GtkWindow}} and \code{\link{GtkInvisible}} are toplevel widgets. Toplevel widgets have no parent widget.} \usage{gtkWidgetIsToplevel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} is a toplevel, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketNew.Rd0000644000176000001440000000261612362217677014370 0ustar ripleyusers\alias{gSocketNew} \name{gSocketNew} \title{gSocketNew} \description{Creates a new \code{\link{GSocket}} with the defined family, type and protocol. If \code{protocol} is 0 (\code{G_SOCKET_PROTOCOL_DEFAULT}) the default protocol type for the family and type is used.} \usage{gSocketNew(family, type, protocol, .errwarn = TRUE)} \arguments{ \item{\verb{family}}{the socket family to use, e.g. \code{G_SOCKET_FAMILY_IPV4}.} \item{\verb{type}}{the socket type to use.} \item{\verb{protocol}}{the id of the protocol to use, or 0 for default.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The \code{protocol} is a family and type specific int that specifies what kind of protocol to use. \code{\link{GSocketProtocol}} lists several common ones. Many families only support one protocol, and use 0 for this, others support several and using 0 means to use the default protocol for the family and type. The protocol id is passed directly to the operating system, so you can use protocols not listed in \code{\link{GSocketProtocol}} if you know the protocol number used for it. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocket}}] a \code{\link{GSocket}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockItemCopy.Rd0000644000176000001440000000062712362217677015562 0ustar ripleyusers\alias{gtkStockItemCopy} \name{gtkStockItemCopy} \title{gtkStockItemCopy} \description{Copies a stock item, mostly useful for language bindings and not in applications.} \usage{gtkStockItemCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStockItem}}}} \value{[\code{\link{GtkStockItem}}] a new \code{\link{GtkStockItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetRightMargin.Rd0000644000176000001440000000071312362217677017410 0ustar ripleyusers\alias{gtkTextViewSetRightMargin} \name{gtkTextViewSetRightMargin} \title{gtkTextViewSetRightMargin} \description{Sets the default right margin for text in the text view. Tags in the buffer may override the default.} \usage{gtkTextViewSetRightMargin(object, right.margin)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{right.margin}}{right margin in pixels} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetPreviewFilename.Rd0000644000176000001440000000114311766145227020662 0ustar ripleyusers\alias{gtkFileChooserGetPreviewFilename} \name{gtkFileChooserGetPreviewFilename} \title{gtkFileChooserGetPreviewFilename} \description{Gets the filename that should be previewed in a custom preview widget. See \code{\link{gtkFileChooserSetPreviewWidget}}.} \usage{gtkFileChooserGetPreviewFilename(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[char] the filename to preview, or \code{NULL} if no file is selected, or if the selected file cannot be represented as a local filename.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDrivePollForMediaFinish.Rd0000644000176000001440000000134112362217677017130 0ustar ripleyusers\alias{gDrivePollForMediaFinish} \name{gDrivePollForMediaFinish} \title{gDrivePollForMediaFinish} \description{Finishes an operation started with \code{\link{gDrivePollForMedia}} on a drive.} \usage{gDrivePollForMediaFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the drive has been poll_for_mediaed successfully, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetMatrix.Rd0000644000176000001440000000071312362217677016573 0ustar ripleyusers\alias{cairoPatternGetMatrix} \name{cairoPatternGetMatrix} \title{cairoPatternGetMatrix} \description{Stores the pattern's transformation matrix into \code{matrix}.} \usage{cairoPatternGetMatrix(pattern, matrix)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] return value for the matrix} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkTable.Rd0000644000176000001440000001462612362217677014012 0ustar ripleyusers\alias{AtkTable} \name{AtkTable} \title{AtkTable} \description{The ATK interface implemented for UI components which contain tabular or row/column information.} \section{Methods and Functions}{ \code{\link{atkTableRefAt}(object, row, column)}\cr \code{\link{atkTableGetIndexAt}(object, row, column)}\cr \code{\link{atkTableGetColumnAtIndex}(object, index)}\cr \code{\link{atkTableGetRowAtIndex}(object, index)}\cr \code{\link{atkTableGetNColumns}(object)}\cr \code{\link{atkTableGetNRows}(object)}\cr \code{\link{atkTableGetColumnExtentAt}(object, row, column)}\cr \code{\link{atkTableGetRowExtentAt}(object, row, column)}\cr \code{\link{atkTableGetCaption}(object)}\cr \code{\link{atkTableGetColumnDescription}(object, column)}\cr \code{\link{atkTableGetRowDescription}(object, row)}\cr \code{\link{atkTableGetColumnHeader}(object, column)}\cr \code{\link{atkTableGetRowHeader}(object, row)}\cr \code{\link{atkTableGetSummary}(object)}\cr \code{\link{atkTableSetCaption}(object, caption)}\cr \code{\link{atkTableSetRowDescription}(object, row, description)}\cr \code{\link{atkTableSetColumnDescription}(object, column, description)}\cr \code{\link{atkTableSetRowHeader}(object, row, header)}\cr \code{\link{atkTableSetColumnHeader}(object, column, header)}\cr \code{\link{atkTableSetSummary}(object, accessible)}\cr \code{\link{atkTableGetSelectedColumns}(object)}\cr \code{\link{atkTableGetSelectedRows}(object)}\cr \code{\link{atkTableIsColumnSelected}(object, column)}\cr \code{\link{atkTableIsRowSelected}(object, row)}\cr \code{\link{atkTableIsSelected}(object, row, column)}\cr \code{\link{atkTableAddColumnSelection}(object, column)}\cr \code{\link{atkTableAddRowSelection}(object, row)}\cr \code{\link{atkTableRemoveColumnSelection}(object, column)}\cr \code{\link{atkTableRemoveRowSelection}(object, row)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkTable}} \section{Implementations}{AtkTable is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkTable}} should be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple "columns". Individual elements of an \code{\link{AtkTable}} are typically referred to as "cells", and these cells are exposed by \code{\link{AtkTable}} as child \verb{AtkObjects} of the \code{\link{AtkTable}}. Both row/column and child-index-based access to these children is provided. Children of \code{\link{AtkTable}} are frequently "lightweight" objects, that is, they may not have backing widgets in the host UI toolkit. They are therefore often transient. Since tables are often very complex, \code{\link{AtkTable}} includes provision for offering simplified summary information, as well as row and column headers and captions. Headers and captions are \verb{AtkObjects} which may implement other interfaces (\code{\link{AtkText}}, \code{\link{AtkImage}}, etc.) as appropriate. \code{\link{AtkTable}} summaries may themselves be (simplified) \verb{AtkTables}, etc.} \section{Structures}{\describe{\item{\verb{AtkTable}}{ The AtkTable structure does not contain any fields. }}} \section{Signals}{\describe{ \item{\code{column-deleted(atktable, arg1, arg2, user.data)}}{ The "column-deleted" signal is emitted by an object which implements the AtkTable interface when a column is deleted. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{arg1}}{[integer] The index of the first column deleted.} \item{\code{arg2}}{[integer] The number of columns deleted.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{column-inserted(atktable, arg1, arg2, user.data)}}{ The "column-inserted" signal is emitted by an object which implements the AtkTable interface when a column is inserted. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{arg1}}{[integer] The index of the column inserted.} \item{\code{arg2}}{[integer] The number of colums inserted.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{column-reordered(atktable, user.data)}}{ The "column-reordered" signal is emitted by an object which implements the AtkTable interface when the columns are reordered. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{model-changed(atktable, user.data)}}{ The "model-changed" signal is emitted by an object which implements the AtkTable interface when the model displayed by the table changes. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{row-deleted(atktable, arg1, arg2, user.data)}}{ The "row-deleted" signal is emitted by an object which implements the AtkTable interface when a column is inserted. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{arg1}}{[integer] The index of the first row deleted.} \item{\code{arg2}}{[integer] The number of rows deleted.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{row-inserted(atktable, arg1, arg2, user.data)}}{ The "row-inserted" signal is emitted by an object which implements the AtkTable interface when a column is inserted. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{arg1}}{[integer] The index of the first row deleted.} \item{\code{arg2}}{[integer] The number of rows deleted.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{row-reordered(atktable, user.data)}}{ The "row-reordered" signal is emitted by an object which implements the AtkTable interface when the columns are reordered. \describe{ \item{\code{atktable}}{[\code{\link{AtkTable}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//atk/AtkTable.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{AtkObject}}} \keyword{internal} RGtk2/man/cairoFontOptionsGetHintStyle.Rd0000644000176000001440000000106612362217677020121 0ustar ripleyusers\alias{cairoFontOptionsGetHintStyle} \name{cairoFontOptionsGetHintStyle} \title{cairoFontOptionsGetHintStyle} \description{Gets the hint style for font outlines for the font options object. See the documentation for \code{\link{CairoHintStyle}} for full details.} \usage{cairoFontOptionsGetHintStyle(options)} \arguments{\item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoHintStyle}}] the hint style for the font options object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderAddObjectsFromString.Rd0000644000176000001440000000321512362217677020345 0ustar ripleyusers\alias{gtkBuilderAddObjectsFromString} \name{gtkBuilderAddObjectsFromString} \title{gtkBuilderAddObjectsFromString} \description{Parses a string containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of \code{builder}. } \usage{gtkBuilderAddObjectsFromString(object, buffer, length, object.ids, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{buffer}}{the string to parse} \item{\verb{length}}{the length of \code{buffer} (may be -1 if \code{buffer} is nul-terminated)} \item{\verb{object.ids}}{array of objects to build} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon errors 0 will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR} or \verb{G_MARKUP_ERROR} domain. \strong{PLEASE NOTE:} If you are adding an object that depends on an object that is not its child (for instance a \code{\link{GtkTreeView}} that depends on its \code{\link{GtkTreeModel}}), you have to explicitely list all of them in \code{object.ids}. Since 2.14} \value{ A list containing the following elements: \item{retval}{[numeric] A positive value on success, 0 if an error occurred} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \note{If you are adding an object that depends on an object that is not its child (for instance a \code{\link{GtkTreeView}} that depends on its \code{\link{GtkTreeModel}}), you have to explicitely list all of them in \code{object.ids}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRowsReordered.Rd0000644000176000001440000000157112362217677017413 0ustar ripleyusers\alias{gtkTreeModelRowsReordered} \name{gtkTreeModelRowsReordered} \title{gtkTreeModelRowsReordered} \description{Emits the "rows-reordered" signal on \code{tree.model}. This should be called by models when their rows have been reordered.} \usage{gtkTreeModelRowsReordered(object, path, iter, new.order)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A \code{\link{GtkTreePath}} pointing to the tree node whose children have been reordered} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} pointing to the node whose children have been reordered, or \code{NULL} if the depth of \code{path} is 0.} \item{\verb{new.order}}{a list of integers mapping the current position of each child to its old position before the re-ordering, i.e. \code{new.order}\code{[newpos] = oldpos}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/virtuals.Rd0000644000176000001440000010743511766145227014173 0ustar ripleyusers\alias{atkActionIfaceDoAction} \alias{atkActionIfaceGetDescription} \alias{atkActionIfaceGetKeybinding} \alias{atkActionIfaceGetLocalizedName} \alias{atkActionIfaceGetNActions} \alias{atkActionIfaceGetName} \alias{atkActionIfaceSetDescription} \alias{atkComponentIfaceBoundsChanged} \alias{atkComponentIfaceContains} \alias{atkComponentIfaceGetExtents} \alias{atkComponentIfaceGetLayer} \alias{atkComponentIfaceGetMdiZorder} \alias{atkComponentIfaceGetPosition} \alias{atkComponentIfaceGetSize} \alias{atkComponentIfaceGrabFocus} \alias{atkComponentIfaceRefAccessibleAtPoint} \alias{atkComponentIfaceRemoveFocusHandler} \alias{atkComponentIfaceSetExtents} \alias{atkComponentIfaceSetPosition} \alias{atkComponentIfaceSetSize} \alias{atkDocumentIfaceGetDocument} \alias{atkDocumentIfaceGetDocumentType} \alias{atkEditableTextIfaceCopyText} \alias{atkEditableTextIfaceCutText} \alias{atkEditableTextIfaceDeleteText} \alias{atkEditableTextIfaceInsertText} \alias{atkEditableTextIfacePasteText} \alias{atkEditableTextIfaceSetRunAttributes} \alias{atkEditableTextIfaceSetTextContents} \alias{atkHyperlinkClassGetEndIndex} \alias{atkHyperlinkClassGetNAnchors} \alias{atkHyperlinkClassGetObject} \alias{atkHyperlinkClassGetStartIndex} \alias{atkHyperlinkClassGetUri} \alias{atkHyperlinkClassIsSelectedLink} \alias{atkHyperlinkClassIsValid} \alias{atkHyperlinkClassLinkActivated} \alias{atkHyperlinkClassLinkState} \alias{atkHyperlinkImplIfaceGetHyperlink} \alias{atkHypertextIfaceGetLink} \alias{atkHypertextIfaceGetLinkIndex} \alias{atkHypertextIfaceGetNLinks} \alias{atkHypertextIfaceLinkSelected} \alias{atkImageIfaceGetImageDescription} \alias{atkImageIfaceGetImagePosition} \alias{atkImageIfaceGetImageSize} \alias{atkImageIfaceSetImageDescription} \alias{atkImplementorIfaceRefAccessible} \alias{atkObjectClassActiveDescendantChanged} \alias{atkObjectClassChildrenChanged} \alias{atkObjectClassFocusEvent} \alias{atkObjectClassGetDescription} \alias{atkObjectClassGetIndexInParent} \alias{atkObjectClassGetLayer} \alias{atkObjectClassGetMdiZorder} \alias{atkObjectClassGetNChildren} \alias{atkObjectClassGetName} \alias{atkObjectClassGetParent} \alias{atkObjectClassGetRole} \alias{atkObjectClassInitialize} \alias{atkObjectClassRefChild} \alias{atkObjectClassRefRelationSet} \alias{atkObjectClassRefStateSet} \alias{atkObjectClassRemovePropertyChangeHandler} \alias{atkObjectClassSetDescription} \alias{atkObjectClassSetName} \alias{atkObjectClassSetParent} \alias{atkObjectClassSetRole} \alias{atkObjectClassStateChange} \alias{atkObjectClassVisibleDataChanged} \alias{atkObjectFactoryClassInvalidate} \alias{atkSelectionIfaceAddSelection} \alias{atkSelectionIfaceClearSelection} \alias{atkSelectionIfaceGetSelectionCount} \alias{atkSelectionIfaceIsChildSelected} \alias{atkSelectionIfaceRefSelection} \alias{atkSelectionIfaceRemoveSelection} \alias{atkSelectionIfaceSelectAllSelection} \alias{atkSelectionIfaceSelectionChanged} \alias{atkStreamableContentIfaceGetMimeType} \alias{atkStreamableContentIfaceGetNMimeTypes} \alias{atkTableIfaceAddColumnSelection} \alias{atkTableIfaceAddRowSelection} \alias{atkTableIfaceColumnDeleted} \alias{atkTableIfaceColumnInserted} \alias{atkTableIfaceColumnReordered} \alias{atkTableIfaceGetCaption} \alias{atkTableIfaceGetColumnAtIndex} \alias{atkTableIfaceGetColumnDescription} \alias{atkTableIfaceGetColumnExtentAt} \alias{atkTableIfaceGetColumnHeader} \alias{atkTableIfaceGetIndexAt} \alias{atkTableIfaceGetNColumns} \alias{atkTableIfaceGetNRows} \alias{atkTableIfaceGetRowAtIndex} \alias{atkTableIfaceGetRowDescription} \alias{atkTableIfaceGetRowExtentAt} \alias{atkTableIfaceGetRowHeader} \alias{atkTableIfaceGetSelectedColumns} \alias{atkTableIfaceGetSelectedRows} \alias{atkTableIfaceGetSummary} \alias{atkTableIfaceIsColumnSelected} \alias{atkTableIfaceIsRowSelected} \alias{atkTableIfaceIsSelected} \alias{atkTableIfaceModelChanged} \alias{atkTableIfaceRefAt} \alias{atkTableIfaceRemoveColumnSelection} \alias{atkTableIfaceRemoveRowSelection} \alias{atkTableIfaceRowDeleted} \alias{atkTableIfaceRowInserted} \alias{atkTableIfaceRowReordered} \alias{atkTableIfaceSetCaption} \alias{atkTableIfaceSetColumnDescription} \alias{atkTableIfaceSetColumnHeader} \alias{atkTableIfaceSetRowDescription} \alias{atkTableIfaceSetRowHeader} \alias{atkTableIfaceSetSummary} \alias{atkTextIfaceAddSelection} \alias{atkTextIfaceGetBoundedRanges} \alias{atkTextIfaceGetCaretOffset} \alias{atkTextIfaceGetCharacterAtOffset} \alias{atkTextIfaceGetCharacterCount} \alias{atkTextIfaceGetCharacterExtents} \alias{atkTextIfaceGetDefaultAttributes} \alias{atkTextIfaceGetNSelections} \alias{atkTextIfaceGetOffsetAtPoint} \alias{atkTextIfaceGetRangeExtents} \alias{atkTextIfaceGetRunAttributes} \alias{atkTextIfaceGetSelection} \alias{atkTextIfaceGetText} \alias{atkTextIfaceGetTextAfterOffset} \alias{atkTextIfaceGetTextAtOffset} \alias{atkTextIfaceGetTextBeforeOffset} \alias{atkTextIfaceRemoveSelection} \alias{atkTextIfaceSetCaretOffset} \alias{atkTextIfaceSetSelection} \alias{atkTextIfaceTextAttributesChanged} \alias{atkTextIfaceTextCaretMoved} \alias{atkTextIfaceTextChanged} \alias{atkTextIfaceTextSelectionChanged} \alias{atkValueIfaceGetCurrentValue} \alias{atkValueIfaceGetMaximumValue} \alias{atkValueIfaceGetMinimumIncrement} \alias{atkValueIfaceGetMinimumValue} \alias{atkValueIfaceSetCurrentValue} \alias{gdkDisplayClassClosed} \alias{gdkDisplayClassGetDefaultScreen} \alias{gdkDisplayClassGetDisplayName} \alias{gdkDisplayClassGetNScreens} \alias{gdkDisplayClassGetScreen} \alias{gdkDisplayManagerClassDisplayOpened} \alias{gdkDrawableClassCreateGc} \alias{gdkDrawableClassDrawArc} \alias{gdkDrawableClassDrawDrawable} \alias{gdkDrawableClassDrawGlyphs} \alias{gdkDrawableClassDrawGlyphsTransformed} \alias{gdkDrawableClassDrawImage} \alias{gdkDrawableClassDrawLines} \alias{gdkDrawableClassDrawPixbuf} \alias{gdkDrawableClassDrawPoints} \alias{gdkDrawableClassDrawPolygon} \alias{gdkDrawableClassDrawRectangle} \alias{gdkDrawableClassDrawSegments} \alias{gdkDrawableClassDrawText} \alias{gdkDrawableClassDrawTextWc} \alias{gdkDrawableClassDrawTrapezoids} \alias{gdkDrawableClassGetClipRegion} \alias{gdkDrawableClassGetColormap} \alias{gdkDrawableClassGetCompositeDrawable} \alias{gdkDrawableClassGetDepth} \alias{gdkDrawableClassGetImage} \alias{gdkDrawableClassGetScreen} \alias{gdkDrawableClassGetSize} \alias{gdkDrawableClassGetVisibleRegion} \alias{gdkDrawableClassGetVisual} \alias{gdkDrawableClassRefCairoSurface} \alias{gdkDrawableClassSetColormap} \alias{gdkGCClassGetValues} \alias{gdkGCClassSetDashes} \alias{gdkGCClassSetValues} \alias{gdkKeymapClassDirectionChanged} \alias{gdkKeymapClassKeysChanged} \alias{gdkPixbufAnimationClassGetIter} \alias{gdkPixbufAnimationClassGetSize} \alias{gdkPixbufAnimationClassGetStaticImage} \alias{gdkPixbufAnimationClassIsStaticImage} \alias{gdkPixbufAnimationIterClassAdvance} \alias{gdkPixbufAnimationIterClassGetDelayTime} \alias{gdkPixbufAnimationIterClassGetPixbuf} \alias{gdkPixbufAnimationIterClassOnCurrentlyLoadingFrame} \alias{gdkPixbufLoaderClassAreaPrepared} \alias{gdkPixbufLoaderClassAreaUpdated} \alias{gdkPixbufLoaderClassClosed} \alias{gdkPixbufLoaderClassSizePrepared} \alias{gdkScreenClassCompositedChanged} \alias{gdkScreenClassSizeChanged} \alias{gtkAccelGroupClassAccelChanged} \alias{gtkAccessibleClassConnectWidgetDestroyed} \alias{gtkActionClassActivate} \alias{gtkActionClassConnectProxy} \alias{gtkActionClassCreateMenuItem} \alias{gtkActionClassCreateToolItem} \alias{gtkActionClassDisconnectProxy} \alias{gtkActionGroupClassGetAction} \alias{gtkAdjustmentClassChanged} \alias{gtkAdjustmentClassValueChanged} \alias{gtkAssistantClassApply} \alias{gtkAssistantClassCancel} \alias{gtkAssistantClassClose} \alias{gtkAssistantClassPrepare} \alias{gtkButtonClassActivate} \alias{gtkButtonClassClicked} \alias{gtkButtonClassEnter} \alias{gtkButtonClassLeave} \alias{gtkButtonClassPressed} \alias{gtkButtonClassReleased} \alias{gtkCListClassAbortColumnResize} \alias{gtkCListClassCellSizeRequest} \alias{gtkCListClassClear} \alias{gtkCListClassClickColumn} \alias{gtkCListClassDrawDragHighlight} \alias{gtkCListClassDrawRow} \alias{gtkCListClassEndSelection} \alias{gtkCListClassExtendSelection} \alias{gtkCListClassFakeUnselectAll} \alias{gtkCListClassInsertRow} \alias{gtkCListClassRefresh} \alias{gtkCListClassRemoveRow} \alias{gtkCListClassResizeColumn} \alias{gtkCListClassResyncSelection} \alias{gtkCListClassRowMove} \alias{gtkCListClassScrollHorizontal} \alias{gtkCListClassScrollVertical} \alias{gtkCListClassSelectAll} \alias{gtkCListClassSelectRow} \alias{gtkCListClassSelectionFind} \alias{gtkCListClassSetCellContents} \alias{gtkCListClassSetScrollAdjustments} \alias{gtkCListClassSortList} \alias{gtkCListClassStartSelection} \alias{gtkCListClassToggleAddMode} \alias{gtkCListClassToggleFocusRow} \alias{gtkCListClassUndoSelection} \alias{gtkCListClassUnselectAll} \alias{gtkCListClassUnselectRow} \alias{gtkCTreeClassChangeFocusRowExpansion} \alias{gtkCTreeClassTreeCollapse} \alias{gtkCTreeClassTreeExpand} \alias{gtkCTreeClassTreeMove} \alias{gtkCTreeClassTreeSelectRow} \alias{gtkCTreeClassTreeUnselectRow} \alias{gtkCalendarClassDaySelected} \alias{gtkCalendarClassDaySelectedDoubleClick} \alias{gtkCalendarClassMonthChanged} \alias{gtkCalendarClassNextMonth} \alias{gtkCalendarClassNextYear} \alias{gtkCalendarClassPrevMonth} \alias{gtkCalendarClassPrevYear} \alias{gtkCellEditableIfaceEditingDone} \alias{gtkCellEditableIfaceRemoveWidget} \alias{gtkCellEditableIfaceStartEditing} \alias{gtkCellLayoutIfaceAddAttribute} \alias{gtkCellLayoutIfaceClear} \alias{gtkCellLayoutIfaceClearAttributes} \alias{gtkCellLayoutIfacePackEnd} \alias{gtkCellLayoutIfacePackStart} \alias{gtkCellLayoutIfaceReorder} \alias{gtkCellLayoutIfaceSetCellDataFunc} \alias{gtkCellRendererAccelClassAccelCleared} \alias{gtkCellRendererAccelClassAccelEdited} \alias{gtkCellRendererClassActivate} \alias{gtkCellRendererClassEditingCanceled} \alias{gtkCellRendererClassEditingStarted} \alias{gtkCellRendererClassGetSize} \alias{gtkCellRendererClassRender} \alias{gtkCellRendererClassStartEditing} \alias{gtkCellRendererTextClassEdited} \alias{gtkCellRendererToggleClassToggled} \alias{gtkCheckButtonClassDrawIndicator} \alias{gtkCheckMenuItemClassDrawIndicator} \alias{gtkCheckMenuItemClassToggled} \alias{gtkColorButtonClassColorSet} \alias{gtkColorSelectionClassColorChanged} \alias{gtkComboBoxClassChanged} \alias{gtkComboBoxClassGetActiveText} \alias{gtkContainerClassAdd} \alias{gtkContainerClassCheckResize} \alias{gtkContainerClassChildType} \alias{gtkContainerClassCompositeName} \alias{gtkContainerClassForall} \alias{gtkContainerClassGetChildProperty} \alias{gtkContainerClassRemove} \alias{gtkContainerClassSetChildProperty} \alias{gtkContainerClassSetFocusChild} \alias{gtkCurveClassCurveTypeChanged} \alias{gtkDialogClassClose} \alias{gtkDialogClassResponse} \alias{gtkEditableIfaceChanged} \alias{gtkEditableIfaceDeleteText} \alias{gtkEditableIfaceDoDeleteText} \alias{gtkEditableIfaceDoInsertText} \alias{gtkEditableIfaceGetChars} \alias{gtkEditableIfaceGetPosition} \alias{gtkEditableIfaceGetSelectionBounds} \alias{gtkEditableIfaceInsertText} \alias{gtkEditableIfaceSetPosition} \alias{gtkEditableIfaceSetSelectionBounds} \alias{gtkEntryClassActivate} \alias{gtkEntryClassBackspace} \alias{gtkEntryClassCopyClipboard} \alias{gtkEntryClassCutClipboard} \alias{gtkEntryClassDeleteFromCursor} \alias{gtkEntryClassInsertAtCursor} \alias{gtkEntryClassMoveCursor} \alias{gtkEntryClassPasteClipboard} \alias{gtkEntryClassPopulatePopup} \alias{gtkEntryClassToggleOverwrite} \alias{gtkEntryCompletionClassActionActivated} \alias{gtkEntryCompletionClassInsertPrefix} \alias{gtkEntryCompletionClassMatchSelected} \alias{gtkExpanderClassActivate} \alias{gtkFontButtonClassFontSet} \alias{gtkFrameClassComputeChildAllocation} \alias{gtkHandleBoxClassChildAttached} \alias{gtkHandleBoxClassChildDetached} \alias{gtkIMContextClassCommit} \alias{gtkIMContextClassDeleteSurrounding} \alias{gtkIMContextClassFilterKeypress} \alias{gtkIMContextClassFocusIn} \alias{gtkIMContextClassFocusOut} \alias{gtkIMContextClassGetPreeditString} \alias{gtkIMContextClassGetSurrounding} \alias{gtkIMContextClassPreeditChanged} \alias{gtkIMContextClassPreeditEnd} \alias{gtkIMContextClassPreeditStart} \alias{gtkIMContextClassReset} \alias{gtkIMContextClassRetrieveSurrounding} \alias{gtkIMContextClassSetClientWindow} \alias{gtkIMContextClassSetCursorLocation} \alias{gtkIMContextClassSetSurrounding} \alias{gtkIMContextClassSetUsePreedit} \alias{gtkIconThemeClassChanged} \alias{gtkIconViewClassActivateCursorItem} \alias{gtkIconViewClassItemActivated} \alias{gtkIconViewClassMoveCursor} \alias{gtkIconViewClassSelectAll} \alias{gtkIconViewClassSelectCursorItem} \alias{gtkIconViewClassSelectionChanged} \alias{gtkIconViewClassSetScrollAdjustments} \alias{gtkIconViewClassToggleCursorItem} \alias{gtkIconViewClassUnselectAll} \alias{gtkInputDialogClassDisableDevice} \alias{gtkInputDialogClassEnableDevice} \alias{gtkItemClassDeselect} \alias{gtkItemClassSelect} \alias{gtkItemClassToggle} \alias{gtkLabelClassCopyClipboard} \alias{gtkLabelClassMoveCursor} \alias{gtkLabelClassPopulatePopup} \alias{gtkLayoutClassSetScrollAdjustments} \alias{gtkListClassSelectChild} \alias{gtkListClassSelectionChanged} \alias{gtkListClassUnselectChild} \alias{gtkListItemClassEndSelection} \alias{gtkListItemClassExtendSelection} \alias{gtkListItemClassScrollHorizontal} \alias{gtkListItemClassScrollVertical} \alias{gtkListItemClassSelectAll} \alias{gtkListItemClassStartSelection} \alias{gtkListItemClassToggleAddMode} \alias{gtkListItemClassToggleFocusRow} \alias{gtkListItemClassUndoSelection} \alias{gtkListItemClassUnselectAll} \alias{gtkMenuItemClassActivate} \alias{gtkMenuItemClassActivateItem} \alias{gtkMenuItemClassToggleSizeAllocate} \alias{gtkMenuItemClassToggleSizeRequest} \alias{gtkMenuShellClassActivateCurrent} \alias{gtkMenuShellClassCancel} \alias{gtkMenuShellClassDeactivate} \alias{gtkMenuShellClassGetPopupDelay} \alias{gtkMenuShellClassInsert} \alias{gtkMenuShellClassMoveCurrent} \alias{gtkMenuShellClassSelectItem} \alias{gtkMenuShellClassSelectionDone} \alias{gtkMenuToolButtonClassShowMenu} \alias{gtkNotebookClassChangeCurrentPage} \alias{gtkNotebookClassFocusTab} \alias{gtkNotebookClassInsertPage} \alias{gtkNotebookClassMoveFocusOut} \alias{gtkNotebookClassReorderTab} \alias{gtkNotebookClassSelectPage} \alias{gtkNotebookClassSwitchPage} \alias{gtkOldEditableClassActivate} \alias{gtkOldEditableClassCopyClipboard} \alias{gtkOldEditableClassCutClipboard} \alias{gtkOldEditableClassGetChars} \alias{gtkOldEditableClassKillChar} \alias{gtkOldEditableClassKillLine} \alias{gtkOldEditableClassKillWord} \alias{gtkOldEditableClassMoveCursor} \alias{gtkOldEditableClassMovePage} \alias{gtkOldEditableClassMoveToColumn} \alias{gtkOldEditableClassMoveToRow} \alias{gtkOldEditableClassMoveWord} \alias{gtkOldEditableClassPasteClipboard} \alias{gtkOldEditableClassSetEditable} \alias{gtkOldEditableClassSetPosition} \alias{gtkOldEditableClassSetSelection} \alias{gtkOldEditableClassUpdateText} \alias{gtkOptionMenuClassChanged} \alias{gtkPanedClassAcceptPosition} \alias{gtkPanedClassCancelPosition} \alias{gtkPanedClassCycleChildFocus} \alias{gtkPanedClassCycleHandleFocus} \alias{gtkPanedClassMoveHandle} \alias{gtkPanedClassToggleHandleFocus} \alias{gtkPlugClassEmbedded} \alias{gtkPrintOperationClassBeginPrint} \alias{gtkPrintOperationClassCreateCustomWidget} \alias{gtkPrintOperationClassCustomWidgetApply} \alias{gtkPrintOperationClassDone} \alias{gtkPrintOperationClassDrawPage} \alias{gtkPrintOperationClassEndPrint} \alias{gtkPrintOperationClassPaginate} \alias{gtkPrintOperationClassPreview} \alias{gtkPrintOperationClassRequestPageSetup} \alias{gtkPrintOperationClassStatusChanged} \alias{gtkPrintOperationPreviewClassEndPreview} \alias{gtkPrintOperationPreviewClassGotPageSize} \alias{gtkPrintOperationPreviewClassIsSelected} \alias{gtkPrintOperationPreviewClassReady} \alias{gtkPrintOperationPreviewClassRenderPage} \alias{gtkProgressClassActModeEnter} \alias{gtkProgressClassPaint} \alias{gtkProgressClassUpdate} \alias{gtkRadioActionClassChanged} \alias{gtkRadioButtonClassGroupChanged} \alias{gtkRadioMenuItemClassGroupChanged} \alias{gtkRangeClassAdjustBounds} \alias{gtkRangeClassChangeValue} \alias{gtkRangeClassGetRangeBorder} \alias{gtkRangeClassMoveSlider} \alias{gtkRangeClassValueChanged} \alias{gtkRcStyleClassCreateRcStyle} \alias{gtkRcStyleClassCreateStyle} \alias{gtkRcStyleClassMerge} \alias{gtkRcStyleClassParse} \alias{gtkRecentChooserClassAddFilter} \alias{gtkRecentChooserClassGetCurrentUri} \alias{gtkRecentChooserClassGetItems} \alias{gtkRecentChooserClassGetRecentManager} \alias{gtkRecentChooserClassItemActivated} \alias{gtkRecentChooserClassListFilters} \alias{gtkRecentChooserClassRemoveFilter} \alias{gtkRecentChooserClassSelectAll} \alias{gtkRecentChooserClassSelectUri} \alias{gtkRecentChooserClassSelectionChanged} \alias{gtkRecentChooserClassSetCurrentUri} \alias{gtkRecentChooserClassSetSortFunc} \alias{gtkRecentChooserClassUnselectAll} \alias{gtkRecentChooserClassUnselectUri} \alias{gtkRecentManagerClassChanged} \alias{gtkRulerClassDrawPos} \alias{gtkRulerClassDrawTicks} \alias{gtkScaleClassDrawValue} \alias{gtkScaleClassFormatValue} \alias{gtkScaleClassGetLayoutOffsets} \alias{gtkScrolledWindowClassMoveFocusOut} \alias{gtkScrolledWindowClassScrollChild} \alias{gtkSocketClassPlugAdded} \alias{gtkSocketClassPlugRemoved} \alias{gtkSpinButtonClassChangeValue} \alias{gtkSpinButtonClassInput} \alias{gtkSpinButtonClassOutput} \alias{gtkSpinButtonClassValueChanged} \alias{gtkSpinButtonClassWrapped} \alias{gtkStatusIconClassActivate} \alias{gtkStatusIconClassPopupMenu} \alias{gtkStatusIconClassSizeChanged} \alias{gtkStatusbarClassTextPopped} \alias{gtkStatusbarClassTextPushed} \alias{gtkStyleClassClone} \alias{gtkStyleClassCopy} \alias{gtkStyleClassDrawArrow} \alias{gtkStyleClassDrawBox} \alias{gtkStyleClassDrawBoxGap} \alias{gtkStyleClassDrawCheck} \alias{gtkStyleClassDrawDiamond} \alias{gtkStyleClassDrawExpander} \alias{gtkStyleClassDrawExtension} \alias{gtkStyleClassDrawFlatBox} \alias{gtkStyleClassDrawFocus} \alias{gtkStyleClassDrawHandle} \alias{gtkStyleClassDrawHline} \alias{gtkStyleClassDrawLayout} \alias{gtkStyleClassDrawOption} \alias{gtkStyleClassDrawPolygon} \alias{gtkStyleClassDrawResizeGrip} \alias{gtkStyleClassDrawShadow} \alias{gtkStyleClassDrawShadowGap} \alias{gtkStyleClassDrawSlider} \alias{gtkStyleClassDrawString} \alias{gtkStyleClassDrawTab} \alias{gtkStyleClassDrawVline} \alias{gtkStyleClassInitFromRc} \alias{gtkStyleClassRealize} \alias{gtkStyleClassRenderIcon} \alias{gtkStyleClassSetBackground} \alias{gtkStyleClassUnrealize} \alias{gtkTextBufferClassApplyTag} \alias{gtkTextBufferClassBeginUserAction} \alias{gtkTextBufferClassChanged} \alias{gtkTextBufferClassDeleteRange} \alias{gtkTextBufferClassEndUserAction} \alias{gtkTextBufferClassInsertChildAnchor} \alias{gtkTextBufferClassInsertPixbuf} \alias{gtkTextBufferClassInsertText} \alias{gtkTextBufferClassMarkDeleted} \alias{gtkTextBufferClassMarkSet} \alias{gtkTextBufferClassModifiedChanged} \alias{gtkTextBufferClassRemoveTag} \alias{gtkTextClassSetScrollAdjustments} \alias{gtkTextTagClassEvent} \alias{gtkTextTagTableClassTagAdded} \alias{gtkTextTagTableClassTagChanged} \alias{gtkTextTagTableClassTagRemoved} \alias{gtkTextViewClassBackspace} \alias{gtkTextViewClassCopyClipboard} \alias{gtkTextViewClassCutClipboard} \alias{gtkTextViewClassDeleteFromCursor} \alias{gtkTextViewClassInsertAtCursor} \alias{gtkTextViewClassMoveCursor} \alias{gtkTextViewClassMoveFocus} \alias{gtkTextViewClassPageHorizontally} \alias{gtkTextViewClassPasteClipboard} \alias{gtkTextViewClassPopulatePopup} \alias{gtkTextViewClassSetAnchor} \alias{gtkTextViewClassSetScrollAdjustments} \alias{gtkTextViewClassToggleOverwrite} \alias{gtkTipsQueryClassStartQuery} \alias{gtkTipsQueryClassStopQuery} \alias{gtkTipsQueryClassWidgetEntered} \alias{gtkTipsQueryClassWidgetSelected} \alias{gtkToggleActionClassToggled} \alias{gtkToggleButtonClassToggled} \alias{gtkToggleToolButtonClassToggled} \alias{gtkToolButtonClassClicked} \alias{gtkToolItemClassCreateMenuProxy} \alias{gtkToolItemClassSetTooltip} \alias{gtkToolItemClassToolbarReconfigured} \alias{gtkToolbarClassOrientationChanged} \alias{gtkToolbarClassPopupContextMenu} \alias{gtkToolbarClassStyleChanged} \alias{gtkTreeClassSelectChild} \alias{gtkTreeClassUnselectChild} \alias{gtkTreeDragDestIfaceDragDataReceived} \alias{gtkTreeDragDestIfaceRowDropPossible} \alias{gtkTreeDragSourceIfaceDragDataDelete} \alias{gtkTreeDragSourceIfaceDragDataGet} \alias{gtkTreeDragSourceIfaceRowDraggable} \alias{gtkTreeItemClassCollapse} \alias{gtkTreeItemClassExpand} \alias{gtkTreeModelIfaceGetColumnType} \alias{gtkTreeModelIfaceGetFlags} \alias{gtkTreeModelIfaceGetIter} \alias{gtkTreeModelIfaceGetNColumns} \alias{gtkTreeModelIfaceGetPath} \alias{gtkTreeModelIfaceGetValue} \alias{gtkTreeModelIfaceIterChildren} \alias{gtkTreeModelIfaceIterHasChild} \alias{gtkTreeModelIfaceIterNChildren} \alias{gtkTreeModelIfaceIterNext} \alias{gtkTreeModelIfaceIterNthChild} \alias{gtkTreeModelIfaceIterParent} \alias{gtkTreeModelIfaceRefNode} \alias{gtkTreeModelIfaceRowChanged} \alias{gtkTreeModelIfaceRowDeleted} \alias{gtkTreeModelIfaceRowHasChildToggled} \alias{gtkTreeModelIfaceRowInserted} \alias{gtkTreeModelIfaceRowsReordered} \alias{gtkTreeModelIfaceUnrefNode} \alias{gtkTreeSelectionClassChanged} \alias{gtkTreeSortableIfaceGetSortColumnId} \alias{gtkTreeSortableIfaceHasDefaultSortFunc} \alias{gtkTreeSortableIfaceSetDefaultSortFunc} \alias{gtkTreeSortableIfaceSetSortColumnId} \alias{gtkTreeSortableIfaceSetSortFunc} \alias{gtkTreeSortableIfaceSortColumnChanged} \alias{gtkTreeViewClassColumnsChanged} \alias{gtkTreeViewClassCursorChanged} \alias{gtkTreeViewClassExpandCollapseCursorRow} \alias{gtkTreeViewClassMoveCursor} \alias{gtkTreeViewClassRowActivated} \alias{gtkTreeViewClassRowCollapsed} \alias{gtkTreeViewClassRowExpanded} \alias{gtkTreeViewClassSelectAll} \alias{gtkTreeViewClassSelectCursorParent} \alias{gtkTreeViewClassSelectCursorRow} \alias{gtkTreeViewClassSetScrollAdjustments} \alias{gtkTreeViewClassStartInteractiveSearch} \alias{gtkTreeViewClassTestCollapseRow} \alias{gtkTreeViewClassTestExpandRow} \alias{gtkTreeViewClassToggleCursorRow} \alias{gtkTreeViewClassUnselectAll} \alias{gtkTreeViewColumnClassClicked} \alias{gtkUIManagerClassActionsChanged} \alias{gtkUIManagerClassAddWidget} \alias{gtkUIManagerClassConnectProxy} \alias{gtkUIManagerClassDisconnectProxy} \alias{gtkUIManagerClassGetAction} \alias{gtkUIManagerClassGetWidget} \alias{gtkUIManagerClassPostActivate} \alias{gtkUIManagerClassPreActivate} \alias{gtkViewportClassSetScrollAdjustments} \alias{gtkWidgetClassButtonPressEvent} \alias{gtkWidgetClassButtonReleaseEvent} \alias{gtkWidgetClassCanActivateAccel} \alias{gtkWidgetClassChildNotify} \alias{gtkWidgetClassClientEvent} \alias{gtkWidgetClassCompositedChanged} \alias{gtkWidgetClassConfigureEvent} \alias{gtkWidgetClassDeleteEvent} \alias{gtkWidgetClassDestroyEvent} \alias{gtkWidgetClassDirectionChanged} \alias{gtkWidgetClassDispatchChildPropertiesChanged} \alias{gtkWidgetClassDragBegin} \alias{gtkWidgetClassDragDataDelete} \alias{gtkWidgetClassDragDataGet} \alias{gtkWidgetClassDragDataReceived} \alias{gtkWidgetClassDragDrop} \alias{gtkWidgetClassDragEnd} \alias{gtkWidgetClassDragLeave} \alias{gtkWidgetClassDragMotion} \alias{gtkWidgetClassEnterNotifyEvent} \alias{gtkWidgetClassEvent} \alias{gtkWidgetClassExposeEvent} \alias{gtkWidgetClassFocus} \alias{gtkWidgetClassFocusInEvent} \alias{gtkWidgetClassFocusOutEvent} \alias{gtkWidgetClassGetAccessible} \alias{gtkWidgetClassGrabBrokenEvent} \alias{gtkWidgetClassGrabFocus} \alias{gtkWidgetClassGrabNotify} \alias{gtkWidgetClassHide} \alias{gtkWidgetClassHideAll} \alias{gtkWidgetClassHierarchyChanged} \alias{gtkWidgetClassKeyPressEvent} \alias{gtkWidgetClassKeyReleaseEvent} \alias{gtkWidgetClassLeaveNotifyEvent} \alias{gtkWidgetClassMap} \alias{gtkWidgetClassMapEvent} \alias{gtkWidgetClassMnemonicActivate} \alias{gtkWidgetClassMotionNotifyEvent} \alias{gtkWidgetClassNoExposeEvent} \alias{gtkWidgetClassParentSet} \alias{gtkWidgetClassPopupMenu} \alias{gtkWidgetClassPropertyNotifyEvent} \alias{gtkWidgetClassProximityInEvent} \alias{gtkWidgetClassProximityOutEvent} \alias{gtkWidgetClassRealize} \alias{gtkWidgetClassScreenChanged} \alias{gtkWidgetClassScrollEvent} \alias{gtkWidgetClassSelectionClearEvent} \alias{gtkWidgetClassSelectionGet} \alias{gtkWidgetClassSelectionNotifyEvent} \alias{gtkWidgetClassSelectionReceived} \alias{gtkWidgetClassSelectionRequestEvent} \alias{gtkWidgetClassShow} \alias{gtkWidgetClassShowAll} \alias{gtkWidgetClassShowHelp} \alias{gtkWidgetClassSizeAllocate} \alias{gtkWidgetClassSizeRequest} \alias{gtkWidgetClassStateChanged} \alias{gtkWidgetClassStyleSet} \alias{gtkWidgetClassUnmap} \alias{gtkWidgetClassUnmapEvent} \alias{gtkWidgetClassUnrealize} \alias{gtkWidgetClassVisibilityNotifyEvent} \alias{gtkWidgetClassWindowStateEvent} \alias{gtkWindowClassActivateDefault} \alias{gtkWindowClassActivateFocus} \alias{gtkWindowClassFrameEvent} \alias{gtkWindowClassKeysChanged} \alias{gtkWindowClassMoveFocus} \alias{gtkWindowClassSetFocus} \alias{pangoAttrClassCopy} \alias{pangoAttrClassDestroy} \alias{pangoAttrClassEqual} \alias{pangoFontClassDescribe} \alias{pangoFontClassGetCoverage} \alias{pangoFontClassGetFontMap} \alias{pangoFontClassGetGlyphExtents} \alias{pangoFontClassGetMetrics} \alias{pangoFontFaceClassDescribe} \alias{pangoFontFaceClassGetFaceName} \alias{pangoFontFaceClassListSizes} \alias{pangoFontFamilyClassGetName} \alias{pangoFontFamilyClassIsMonospace} \alias{pangoFontFamilyClassListFaces} \alias{pangoFontMapClassListFamilies} \alias{pangoFontMapClassLoadFont} \alias{pangoFontMapClassLoadFontset} \alias{pangoFontsetClassForeach} \alias{pangoFontsetClassGetFont} \alias{pangoFontsetClassGetLanguage} \alias{pangoFontsetClassGetMetrics} \alias{pangoRendererClassBegin} \alias{pangoRendererClassDrawErrorUnderline} \alias{pangoRendererClassDrawGlyph} \alias{pangoRendererClassDrawGlyphs} \alias{pangoRendererClassDrawRectangle} \alias{pangoRendererClassDrawShape} \alias{pangoRendererClassDrawTrapezoid} \alias{pangoRendererClassEnd} \alias{pangoRendererClassPartChanged} \alias{pangoRendererClassPrepareRun} \alias{gdkGCclassGetValues} \alias{gdkGCclassSetDashes} \alias{gdkGCclassSetValues} \alias{gtkBuildableIfaceAddChild} \alias{gtkBuildableIfaceConstructChild} \alias{gtkBuildableIfaceCustomFinished} \alias{gtkBuildableIfaceCustomTagEnd} \alias{gtkBuildableIfaceCustomTagStart} \alias{gtkBuildableIfaceGetInternalChild} \alias{gtkBuildableIfaceGetName} \alias{gtkBuildableIfaceParserFinished} \alias{gtkBuildableIfaceSetBuildableProperty} \alias{gtkBuildableIfaceSetName} \alias{gtkBuilderClassGetTypeFromName} \alias{gAppInfoIfaceAddSupportsType} \alias{gAppInfoIfaceCanRemoveSupportsType} \alias{gAppInfoIfaceDup} \alias{gAppInfoIfaceEqual} \alias{gAppInfoIfaceGetCommandline} \alias{gAppInfoIfaceGetDescription} \alias{gAppInfoIfaceGetExecutable} \alias{gAppInfoIfaceGetIcon} \alias{gAppInfoIfaceGetId} \alias{gAppInfoIfaceGetName} \alias{gAppInfoIfaceLaunch} \alias{gAppInfoIfaceLaunchUris} \alias{gAppInfoIfaceRemoveSupportsType} \alias{gAppInfoIfaceSetAsDefaultForExtension} \alias{gAppInfoIfaceSetAsDefaultForType} \alias{gAppInfoIfaceShouldShow} \alias{gAppInfoIfaceSupportsFiles} \alias{gAppInfoIfaceSupportsUris} \alias{gAppLaunchContextClassGetDisplay} \alias{gAppLaunchContextClassGetStartupNotifyId} \alias{gAppLaunchContextClassLaunchFailed} \alias{gAsyncInitableIfaceInitAsync} \alias{gAsyncInitableIfaceInitFinish} \alias{gAsyncResultIfaceGetSourceObject} \alias{gAsyncResultIfaceGetUserData} \alias{gBufferedInputStreamClassFill} \alias{gBufferedInputStreamClassFillAsync} \alias{gBufferedInputStreamClassFillFinish} \alias{gDriveIfaceCanEject} \alias{gDriveIfaceCanPollForMedia} \alias{gDriveIfaceCanStart} \alias{gDriveIfaceCanStartDegraded} \alias{gDriveIfaceCanStop} \alias{gDriveIfaceEject} \alias{gDriveIfaceEjectFinish} \alias{gDriveIfaceEjectWithOperation} \alias{gDriveIfaceEjectWithOperationFinish} \alias{gDriveIfaceEnumerateIdentifiers} \alias{gDriveIfaceGetIcon} \alias{gDriveIfaceGetIdentifier} \alias{gDriveIfaceGetName} \alias{gDriveIfaceGetStartStopType} \alias{gDriveIfaceGetVolumes} \alias{gDriveIfaceHasMedia} \alias{gDriveIfaceHasVolumes} \alias{gDriveIfaceIsMediaCheckAutomatic} \alias{gDriveIfaceIsMediaRemovable} \alias{gDriveIfacePollForMedia} \alias{gDriveIfacePollForMediaFinish} \alias{gDriveIfaceStart} \alias{gDriveIfaceStartFinish} \alias{gDriveIfaceStop} \alias{gDriveIfaceStopFinish} \alias{gFileEnumeratorClassCloseAsync} \alias{gFileEnumeratorClassCloseFinish} \alias{gFileEnumeratorClassCloseFn} \alias{gFileEnumeratorClassNextFile} \alias{gFileEnumeratorClassNextFilesAsync} \alias{gFileEnumeratorClassNextFilesFinish} \alias{gFileIOStreamClassGetEtag} \alias{gFileIOStreamClassQueryInfo} \alias{gFileIOStreamClassQueryInfoAsync} \alias{gFileIOStreamClassQueryInfoFinish} \alias{gFileIfaceAppendTo} \alias{gFileIfaceAppendToAsync} \alias{gFileIfaceAppendToFinish} \alias{gFileIfaceCopy} \alias{gFileIfaceCopyAsync} \alias{gFileIfaceCopyFinish} \alias{gFileIfaceCreate} \alias{gFileIfaceCreateAsync} \alias{gFileIfaceCreateFinish} \alias{gFileIfaceCreateReadwrite} \alias{gFileIfaceCreateReadwriteAsync} \alias{gFileIfaceCreateReadwriteFinish} \alias{gFileIfaceDeleteFile} \alias{gFileIfaceDup} \alias{gFileIfaceEjectMountable} \alias{gFileIfaceEjectMountableFinish} \alias{gFileIfaceEjectMountableWithOperation} \alias{gFileIfaceEjectMountableWithOperationFinish} \alias{gFileIfaceEnumerateChildren} \alias{gFileIfaceEnumerateChildrenAsync} \alias{gFileIfaceEnumerateChildrenFinish} \alias{gFileIfaceEqual} \alias{gFileIfaceFindEnclosingMount} \alias{gFileIfaceFindEnclosingMountAsync} \alias{gFileIfaceFindEnclosingMountFinish} \alias{gFileIfaceGetBasename} \alias{gFileIfaceGetChildForDisplayName} \alias{gFileIfaceGetParent} \alias{gFileIfaceGetParseName} \alias{gFileIfaceGetPath} \alias{gFileIfaceGetRelativePath} \alias{gFileIfaceGetUri} \alias{gFileIfaceGetUriScheme} \alias{gFileIfaceHasUriScheme} \alias{gFileIfaceIsNative} \alias{gFileIfaceMakeDirectory} \alias{gFileIfaceMakeSymbolicLink} \alias{gFileIfaceMonitorDir} \alias{gFileIfaceMonitorFile} \alias{gFileIfaceMountEnclosingVolume} \alias{gFileIfaceMountEnclosingVolumeFinish} \alias{gFileIfaceMountMountable} \alias{gFileIfaceMountMountableFinish} \alias{gFileIfaceMove} \alias{gFileIfaceOpenReadwrite} \alias{gFileIfaceOpenReadwriteAsync} \alias{gFileIfaceOpenReadwriteFinish} \alias{gFileIfacePollMountable} \alias{gFileIfacePollMountableFinish} \alias{gFileIfacePrefixMatches} \alias{gFileIfaceQueryFilesystemInfo} \alias{gFileIfaceQueryFilesystemInfoAsync} \alias{gFileIfaceQueryFilesystemInfoFinish} \alias{gFileIfaceQueryInfo} \alias{gFileIfaceQueryInfoAsync} \alias{gFileIfaceQueryInfoFinish} \alias{gFileIfaceQuerySettableAttributes} \alias{gFileIfaceQueryWritableNamespaces} \alias{gFileIfaceReadAsync} \alias{gFileIfaceReadFinish} \alias{gFileIfaceReadFn} \alias{gFileIfaceReplace} \alias{gFileIfaceReplaceAsync} \alias{gFileIfaceReplaceFinish} \alias{gFileIfaceReplaceReadwrite} \alias{gFileIfaceReplaceReadwriteAsync} \alias{gFileIfaceReplaceReadwriteFinish} \alias{gFileIfaceResolveRelativePath} \alias{gFileIfaceSetAttribute} \alias{gFileIfaceSetAttributesAsync} \alias{gFileIfaceSetAttributesFinish} \alias{gFileIfaceSetAttributesFromInfo} \alias{gFileIfaceSetDisplayName} \alias{gFileIfaceSetDisplayNameAsync} \alias{gFileIfaceSetDisplayNameFinish} \alias{gFileIfaceStartMountable} \alias{gFileIfaceStartMountableFinish} \alias{gFileIfaceStopMountable} \alias{gFileIfaceStopMountableFinish} \alias{gFileIfaceTrash} \alias{gFileIfaceUnmountMountable} \alias{gFileIfaceUnmountMountableFinish} \alias{gFileIfaceUnmountMountableWithOperation} \alias{gFileIfaceUnmountMountableWithOperationFinish} \alias{gFileInputStreamClassQueryInfo} \alias{gFileInputStreamClassQueryInfoAsync} \alias{gFileInputStreamClassQueryInfoFinish} \alias{gFileMonitorClassCancel} \alias{gFileOutputStreamClassGetEtag} \alias{gFileOutputStreamClassQueryInfo} \alias{gFileOutputStreamClassQueryInfoAsync} \alias{gFileOutputStreamClassQueryInfoFinish} \alias{gIOStreamClassCloseAsync} \alias{gIOStreamClassCloseFinish} \alias{gIOStreamClassCloseFn} \alias{gIOStreamClassGetInputStream} \alias{gIOStreamClassGetOutputStream} \alias{gIconIfaceEqual} \alias{gIconIfaceHash} \alias{gInetAddressClassToBytes} \alias{gInetAddressClassToString} \alias{gInitableIfaceInit} \alias{gInputStreamClassCloseAsync} \alias{gInputStreamClassCloseFinish} \alias{gInputStreamClassCloseFn} \alias{gInputStreamClassReadFinish} \alias{gInputStreamClassSkip} \alias{gInputStreamClassSkipAsync} \alias{gInputStreamClassSkipFinish} \alias{gLoadableIconIfaceLoad} \alias{gLoadableIconIfaceLoadAsync} \alias{gLoadableIconIfaceLoadFinish} \alias{gMountIfaceCanEject} \alias{gMountIfaceCanUnmount} \alias{gMountIfaceEject} \alias{gMountIfaceEjectFinish} \alias{gMountIfaceEjectWithOperation} \alias{gMountIfaceEjectWithOperationFinish} \alias{gMountIfaceGetDrive} \alias{gMountIfaceGetIcon} \alias{gMountIfaceGetName} \alias{gMountIfaceGetRoot} \alias{gMountIfaceGetUuid} \alias{gMountIfaceGetVolume} \alias{gMountIfaceGuessContentType} \alias{gMountIfaceGuessContentTypeFinish} \alias{gMountIfaceGuessContentTypeSync} \alias{gMountIfaceRemount} \alias{gMountIfaceRemountFinish} \alias{gMountIfaceUnmount} \alias{gMountIfaceUnmountFinish} \alias{gMountIfaceUnmountWithOperation} \alias{gMountIfaceUnmountWithOperationFinish} \alias{gOutputStreamClassCloseAsync} \alias{gOutputStreamClassCloseFinish} \alias{gOutputStreamClassCloseFn} \alias{gOutputStreamClassFlush} \alias{gOutputStreamClassFlushAsync} \alias{gOutputStreamClassFlushFinish} \alias{gOutputStreamClassSplice} \alias{gOutputStreamClassSpliceAsync} \alias{gOutputStreamClassSpliceFinish} \alias{gOutputStreamClassWriteAsync} \alias{gOutputStreamClassWriteFinish} \alias{gOutputStreamClassWriteFn} \alias{gResolverClassLookupByAddress} \alias{gResolverClassLookupByAddressAsync} \alias{gResolverClassLookupByAddressFinish} \alias{gResolverClassLookupByName} \alias{gResolverClassLookupByNameAsync} \alias{gResolverClassLookupByNameFinish} \alias{gResolverClassLookupService} \alias{gResolverClassLookupServiceAsync} \alias{gResolverClassLookupServiceFinish} \alias{gSeekableIfaceCanSeek} \alias{gSeekableIfaceCanTruncate} \alias{gSeekableIfaceSeek} \alias{gSeekableIfaceTell} \alias{gSeekableIfaceTruncateFn} \alias{gSocketAddressClassGetFamily} \alias{gSocketAddressClassGetNativeSize} \alias{gSocketAddressClassToNative} \alias{gSocketAddressEnumeratorClassNext} \alias{gSocketAddressEnumeratorClassNextAsync} \alias{gSocketAddressEnumeratorClassNextFinish} \alias{gSocketConnectableIfaceEnumerate} \alias{gSocketControlMessageClassGetLevel} \alias{gSocketControlMessageClassGetSize} \alias{gSocketControlMessageClassSerialize} \alias{gSocketListenerClassChanged} \alias{gVfsClassGetFileForPath} \alias{gVfsClassGetFileForUri} \alias{gVfsClassGetSupportedUriSchemes} \alias{gVfsClassIsActive} \alias{gVfsClassParseName} \alias{gVolumeIfaceCanEject} \alias{gVolumeIfaceCanMount} \alias{gVolumeIfaceEject} \alias{gVolumeIfaceEjectFinish} \alias{gVolumeIfaceEjectWithOperation} \alias{gVolumeIfaceEjectWithOperationFinish} \alias{gVolumeIfaceEnumerateIdentifiers} \alias{gVolumeIfaceGetActivationRoot} \alias{gVolumeIfaceGetDrive} \alias{gVolumeIfaceGetIcon} \alias{gVolumeIfaceGetIdentifier} \alias{gVolumeIfaceGetMount} \alias{gVolumeIfaceGetName} \alias{gVolumeIfaceGetUuid} \alias{gVolumeIfaceMountFinish} \alias{gVolumeIfaceMountFn} \alias{gVolumeIfaceShouldAutomount} \alias{gVolumeMonitorClassGetConnectedDrives} \alias{gVolumeMonitorClassGetMountForUuid} \alias{gVolumeMonitorClassGetMounts} \alias{gVolumeMonitorClassGetVolumeForUuid} \alias{gVolumeMonitorClassGetVolumes} \alias{gtkActivatableIfaceSyncActionProperties} \alias{gtkActivatableIfaceUpdate} \alias{gtkToolShellIfaceGetIconSize} \alias{gtkToolShellIfaceGetOrientation} \alias{gtkToolShellIfaceGetReliefStyle} \alias{gtkToolShellIfaceGetStyle} \alias{gtkToolShellIfaceRebuildMenu} \alias{pangoRendererClassDrawGlyphItem} \name{virtuals} \title{Virtual Methods} \description{This function is a wrapper for a virtual method in a \code{GObject} class structure. The wrapper is normally only useful for calling virtuals in a parent class inside implementations of new \code{GObject} classes. } \author{Michael Lawrence} \seealso{gClass} \keyword{internal} \keyword{interface} RGtk2/man/GtkToolbar.Rd0000644000176000001440000002207712362217677014372 0ustar ripleyusers\alias{GtkToolbar} \alias{gtkToolbar} \alias{GtkToolbarChildType} \alias{GtkToolbarSpaceStyle} \name{GtkToolbar} \title{GtkToolbar} \description{Create bars of buttons and other widgets} \section{Methods and Functions}{ \code{\link{gtkToolbarNew}(show = TRUE)}\cr \code{\link{gtkToolbarInsert}(object, item, pos)}\cr \code{\link{gtkToolbarGetItemIndex}(object, item)}\cr \code{\link{gtkToolbarGetNItems}(object)}\cr \code{\link{gtkToolbarGetNthItem}(object, n)}\cr \code{\link{gtkToolbarGetDropIndex}(object, x, y)}\cr \code{\link{gtkToolbarSetDropHighlightItem}(object, tool.item = NULL, index)}\cr \code{\link{gtkToolbarSetShowArrow}(object, show.arrow)}\cr \code{\link{gtkToolbarSetOrientation}(object, orientation)}\cr \code{\link{gtkToolbarSetTooltips}(object, enable)}\cr \code{\link{gtkToolbarUnsetIconSize}(object)}\cr \code{\link{gtkToolbarGetShowArrow}(object)}\cr \code{\link{gtkToolbarGetOrientation}(object)}\cr \code{\link{gtkToolbarGetStyle}(object)}\cr \code{\link{gtkToolbarGetIconSize}(object)}\cr \code{\link{gtkToolbarGetTooltips}(object)}\cr \code{\link{gtkToolbarGetReliefStyle}(object)}\cr \code{\link{gtkToolbarAppendItem}(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)}\cr \code{\link{gtkToolbarPrependItem}(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data)}\cr \code{\link{gtkToolbarInsertItem}(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data, position)}\cr \code{\link{gtkToolbarAppendSpace}(object)}\cr \code{\link{gtkToolbarPrependSpace}(object)}\cr \code{\link{gtkToolbarInsertSpace}(object, position)}\cr \code{\link{gtkToolbarAppendElement}(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)}\cr \code{\link{gtkToolbarPrependElement}(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)}\cr \code{\link{gtkToolbarInsertElement}(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL, position)}\cr \code{\link{gtkToolbarAppendWidget}(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)}\cr \code{\link{gtkToolbarPrependWidget}(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)}\cr \code{\link{gtkToolbarInsertWidget}(object, widget, tooltip.text = NULL, tooltip.private.text = NULL, position)}\cr \code{\link{gtkToolbarSetStyle}(object, style)}\cr \code{\link{gtkToolbarInsertStock}(object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position)}\cr \code{\link{gtkToolbarSetIconSize}(object, icon.size)}\cr \code{\link{gtkToolbarRemoveSpace}(object, position)}\cr \code{\link{gtkToolbarUnsetStyle}(object)}\cr \code{gtkToolbar(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkToolbar}} \section{Interfaces}{GtkToolbar implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkToolShell}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A toolbar is created with a call to \code{\link{gtkToolbarNew}}. A toolbar can contain instances of a subclass of \code{\link{GtkToolItem}}. To add a \code{\link{GtkToolItem}} to the a toolbar, use \code{\link{gtkToolbarInsert}}. To remove an item from the toolbar use \code{\link{gtkContainerRemove}}. To add a button to the toolbar, add an instance of \code{\link{GtkToolButton}}. Toolbar items can be visually grouped by adding instances of \code{\link{GtkSeparatorToolItem}} to the toolbar. If a \code{\link{GtkSeparatorToolItem}} has the "expand" property set to \verb{TRUE} and the "draw" property set to \verb{FALSE} the effect is to force all following items to the end of the toolbar. Creating a context menu for the toolbar can be done by connecting to the \verb{"popup-context-menu"} signal.} \section{Structures}{\describe{\item{\verb{GtkToolbar}}{ The \code{\link{GtkToolbar}} struct only contains private data and should only be accessed through the function described below. }}} \section{Convenient Construction}{\code{gtkToolbar} is the equivalent of \code{\link{gtkToolbarNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GtkToolbarChildType}}{ \strong{WARNING: \code{GtkToolbarChildType} is deprecated and should not be used in newly-written code.} \code{\link{GtkToolbarChildType}} is used to set the type of new elements that are added to a \code{\link{GtkToolbar}}. \describe{ \item{\verb{space}}{a space in the style of the toolbar's \code{\link{GtkToolbarSpaceStyle}}.} \item{\verb{button}}{a \code{\link{GtkButton}}.} \item{\verb{togglebutton}}{a \code{\link{GtkToggleButton}}.} \item{\verb{radiobutton}}{a \code{\link{GtkRadioButton}}.} \item{\verb{widget}}{a standard \code{\link{GtkWidget}}.} } } \item{\verb{GtkToolbarSpaceStyle}}{ \emph{undocumented } \describe{ \item{\verb{empty}}{\emph{undocumented }} \item{\verb{line}}{\emph{undocumented }} } } }} \section{Signals}{\describe{ \item{\code{focus-home-or-end(toolbar, focus.home, user.data)}}{ A keybinding signal used internally by GTK+. This signal can't be used in application code \describe{ \item{\code{toolbar}}{the \code{\link{GtkToolbar}} which emitted the signal} \item{\code{focus.home}}{\code{TRUE} if the first item should be focused} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal was handled, \code{FALSE} if not } \item{\code{orientation-changed(toolbar, orientation, user.data)}}{ Emitted when the orientation of the toolbar changes. \describe{ \item{\code{toolbar}}{the object which emitted the signal} \item{\code{orientation}}{the new \code{\link{GtkOrientation}} of the toolbar} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{popup-context-menu(toolbar, x, y, button, user.data)}}{ Emitted when the user right-clicks the toolbar or uses the keybinding to display a popup menu. Application developers should handle this signal if they want to display a context menu on the toolbar. The context-menu should appear at the coordinates given by \code{x} and \code{y}. The mouse button number is given by the \code{button} parameter. If the menu was popped up using the keybaord, \code{button} is -1. \describe{ \item{\code{toolbar}}{the \code{\link{GtkToolbar}} which emitted the signal} \item{\code{x}}{the x coordinate of the point where the menu should appear} \item{\code{y}}{the y coordinate of the point where the menu should appear} \item{\code{button}}{the mouse button the user pressed, or -1} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] return \code{TRUE} if the signal was handled, \code{FALSE} if not } \item{\code{style-changed(toolbar, style, user.data)}}{ Emitted when the style of the toolbar changes. \describe{ \item{\code{toolbar}}{The \code{\link{GtkToolbar}} which emitted the signal} \item{\code{style}}{the new \code{\link{GtkToolbarStyle}} of the toolbar} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{icon-size} [integer : Read / Write]}{ The size of the icons in a toolbar is normally determined by the toolbar-icon-size setting. When this property is set, it overrides the setting. This should only be used for special-purpose toolbars, normal application toolbars should respect the user preferences for the size of icons. Allowed values: >= 0 Default value: 3 Since 2.10 } \item{\verb{icon-size-set} [logical : Read / Write]}{ Is \code{TRUE} if the icon-size property has been set. Default value: FALSE Since 2.10 } \item{\verb{show-arrow} [logical : Read / Write]}{ If an arrow should be shown if the toolbar doesn't fit. Default value: TRUE } \item{\verb{toolbar-style} [\code{\link{GtkToolbarStyle}} : Read / Write]}{ How to draw the toolbar. Default value: GTK_TOOLBAR_BOTH } \item{\verb{tooltips} [logical : Read / Write]}{ If the tooltips of the toolbar should be active or not. Default value: TRUE Since 2.8 } }} \section{Style Properties}{\describe{ \item{\verb{button-relief} [\code{\link{GtkReliefStyle}} : Read]}{ Type of bevel around toolbar buttons. Default value: GTK_RELIEF_NONE } \item{\verb{internal-padding} [integer : Read]}{ Amount of border space between the toolbar shadow and the buttons. Allowed values: >= 0 Default value: 0 } \item{\verb{max-child-expand} [integer : Read]}{ Maximum amount of space an expandable item will be given. Allowed values: >= 0 Default value: 2147483647 } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read]}{ Style of bevel around the toolbar. Default value: GTK_SHADOW_OUT } \item{\verb{space-size} [integer : Read]}{ Size of spacers. Allowed values: >= 0 Default value: 12 } \item{\verb{space-style} [\code{\link{GtkToolbarSpaceStyle}} : Read]}{ Whether spacers are vertical lines or just blank. Default value: GTK_TOOLBAR_SPACE_LINE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToolbar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverSetDefault.Rd0000644000176000001440000000151512362217677016245 0ustar ripleyusers\alias{gResolverSetDefault} \name{gResolverSetDefault} \title{gResolverSetDefault} \description{Sets \code{resolver} to be the application's default resolver (reffing \code{resolver}, and unreffing the previous default resolver, if any). Future calls to \code{\link{gResolverGetDefault}} will return this resolver.} \usage{gResolverSetDefault(object)} \arguments{\item{\verb{object}}{the new default \code{\link{GResolver}}}} \details{This can be used if an application wants to perform any sort of DNS caching or "pinning"; it can implement its own \code{\link{GResolver}} that calls the original default resolver for DNS operations, and implements its own cache policies on top of that, and then set itself as the default resolver for all later code to use. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventHandlerSet.Rd0000644000176000001440000000116612362217677016037 0ustar ripleyusers\alias{gdkEventHandlerSet} \name{gdkEventHandlerSet} \title{gdkEventHandlerSet} \description{Sets the function to call to handle all events from GDK.} \usage{gdkEventHandlerSet(func, data)} \arguments{ \item{\verb{func}}{the function to call to handle events from GDK.} \item{\verb{data}}{user data to pass to the function.} } \details{Note that GTK+ uses this to install its own event handler, so it is usually not useful for GTK+ applications. (Although an application can call this function then call \code{\link{gtkMainDoEvent}} to pass events to GTK+.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetValueInList.Rd0000644000176000001440000000167712362217677016666 0ustar ripleyusers\alias{gtkComboSetValueInList} \name{gtkComboSetValueInList} \title{gtkComboSetValueInList} \description{ Specifies whether the value entered in the text entry field must match one of the values in the list. If this is set then the user will not be able to perform any other action until a valid value has been entered. \strong{WARNING: \code{gtk_combo_set_value_in_list} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetValueInList(object, val, ok.if.empty)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{val}}{\code{TRUE} if the value entered must match one of the values in the list.} \item{\verb{ok.if.empty}}{\code{TRUE} if an empty value is considered valid.} } \details{If an empty field is acceptable, the \code{ok.if.empty} parameter should be \code{TRUE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDropReply.Rd0000644000176000001440000000101212362217677014712 0ustar ripleyusers\alias{gdkDropReply} \name{gdkDropReply} \title{gdkDropReply} \description{Accepts or rejects a drop. } \usage{gdkDropReply(object, ok, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{ok}}{\code{TRUE} if the drop is accepted.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag destination in response to a drop initiated by the drag source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetHeaderRelief.Rd0000644000176000001440000000076012362217677020510 0ustar ripleyusers\alias{gtkToolItemGroupSetHeaderRelief} \name{gtkToolItemGroupSetHeaderRelief} \title{gtkToolItemGroupSetHeaderRelief} \description{Set the button relief of the group header. See \code{\link{gtkButtonSetRelief}} for details.} \usage{gtkToolItemGroupSetHeaderRelief(object, style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{style}}{the \code{\link{GtkReliefStyle}}} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetColor.Rd0000644000176000001440000000130412362217677017401 0ustar ripleyusers\alias{gtkColorSelectionGetColor} \name{gtkColorSelectionGetColor} \title{gtkColorSelectionGetColor} \description{ Sets \code{color} to be the current color in the GtkColorSelection widget. \strong{WARNING: \code{gtk_color_selection_get_color} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkColorSelectionGetCurrentColor}} instead.} } \usage{gtkColorSelectionGetColor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{ A list containing the following elements: \item{\verb{color}}{a list of 4 \verb{numeric} to fill in with the current color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/signalInfo.Rd0000644000176000001440000000524411766145227014406 0ustar ripleyusers\name{gtkSignalGetInfo} \alias{gtkSignalGetInfo} \title{Reflectance information about a Gtk signal} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This returns information about the Gtk signal of interest, giving details such as the number and type of parameters that are passed to a signal handler function registered for an event associated with this signal; the type of the return value expected from the handler; the class for which it is defined; the flags indicating how and when handlers for this signal are invoked when an event occurs; } \usage{ gtkSignalGetInfo(sig) } \arguments{ \item{sig}{an object of class \code{GtkSignalId}, typically obtained from a call to \code{\link{gtkTypeGetSignals}}} } \details{ This uses the C-level reflectance mechanism provided by Gtk to obtain information about a particular signal registered via the class mechanism. This information is then converted to an S object. } \value{ A list with 6 elements \item{signal}{the \code{GtkSignalId} object (\code{sig}) used to identify the signal in the call} \item{parameters}{a named list of parameter types that are passed to a callback/signal handler for this signal. Each element is a \code{GtkType} object identifying the particular type of that argument. The names are intended to give some indication of their meaning. Note that this list does not include the object for which the event is generated and which is included in all signal handler calls.} \item{returnType}{the \code{GtkType} object identifying the type of the value a handler should return.} \item{isUserSignal}{a logical value indicating whether this is a user-defined signal or built-in signal} \item{runFlags}{a value giving information about how and when the handlers are invoked in response to this signal. This is a single value made up of OR'ing values from the \code{.GtkSignalRunType} vector. See the possible values there. One rarely needs to understand this information to use a signal handler function. } \item{objectType}{an object of class \code{GtkType} identifying the Gtk class/type for which the signal is defined.} } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \seealso{ \code{\link{gtkTypeGetSignals}} \code{\link{getSignalInfo}} } \examples{ if (gtkInit()) { gtkButton() sigs <- gtkTypeGetSignals("GtkButton") gtkSignalGetInfo(sigs[["clicked"]]) } } \keyword{interface} \keyword{internal} RGtk2/man/pangoAttrGravityNew.Rd0000644000176000001440000000073312362217677016274 0ustar ripleyusers\alias{pangoAttrGravityNew} \name{pangoAttrGravityNew} \title{pangoAttrGravityNew} \description{Create a new gravity attribute.} \usage{pangoAttrGravityNew(gravity)} \arguments{\item{\verb{gravity}}{[\code{\link{PangoGravity}}] the gravity value; should not be \code{PANGO_GRAVITY_AUTO}.}} \details{ Since 1.16} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextDeleteSurrounding.Rd0000644000176000001440000000257712362217677020270 0ustar ripleyusers\alias{gtkIMContextDeleteSurrounding} \name{gtkIMContextDeleteSurrounding} \title{gtkIMContextDeleteSurrounding} \description{Asks the widget that the input context is attached to to delete characters around the cursor position by emitting the GtkIMContext::delete_surrounding signal. Note that \code{offset} and \code{n.chars} are in characters not in bytes which differs from the usage other places in \code{\link{GtkIMContext}}.} \usage{gtkIMContextDeleteSurrounding(object, offset, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{offset}}{offset from cursor position in chars; a negative value means start before the cursor.} \item{\verb{n.chars}}{number of characters to delete.} } \details{In order to use this function, you should first call \code{\link{gtkIMContextGetSurrounding}} to get the current context, and call this function immediately afterwards to make sure that you know what you are deleting. You should also account for the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted. This function is used by an input method that wants to make subsitutions in the existing text in response to new input. It is not useful for applications.} \value{[logical] \code{TRUE} if the signal was handled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFormatStrideForWidth.Rd0000644000176000001440000000163612362217677017410 0ustar ripleyusers\alias{cairoFormatStrideForWidth} \name{cairoFormatStrideForWidth} \title{cairoFormatStrideForWidth} \description{This function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code within cairo. Typical usage will be of the form:} \usage{cairoFormatStrideForWidth(format, width)} \arguments{ \item{\verb{format}}{[\code{\link{CairoFormat}}] A \code{\link{CairoFormat}} value} \item{\verb{width}}{[integer] The desired width of an image surface to be created.} } \details{\preformatted{ stride <- format$strideForWidth(width) data <- raw(stride * height) surface <- cairoImageSurfaceCreateForData(data, format, width, height, stride) } Since 1.6} \value{[integer] the appropriate stride to use given the desired format and width, or -1 if either the format is invalid or the width too large.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellLayout.Rd0000644000176000001440000000701012362217677015033 0ustar ripleyusers\alias{GtkCellLayout} \alias{GtkCellLayoutDataFunc} \name{GtkCellLayout} \title{GtkCellLayout} \description{An interface for packing cells} \section{Methods and Functions}{ \code{\link{gtkCellLayoutPackStart}(object, cell, expand = TRUE)}\cr \code{\link{gtkCellLayoutPackEnd}(object, cell, expand = TRUE)}\cr \code{\link{gtkCellLayoutGetCells}(object)}\cr \code{\link{gtkCellLayoutReorder}(object, cell, position)}\cr \code{\link{gtkCellLayoutClear}(object)}\cr \code{\link{gtkCellLayoutSetAttributes}(object, cell, ...)}\cr \code{\link{gtkCellLayoutAddAttribute}(object, cell, attribute, column)}\cr \code{\link{gtkCellLayoutSetCellDataFunc}(object, cell, func, func.data = NULL)}\cr \code{\link{gtkCellLayoutClearAttributes}(object, cell)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkCellLayout}} \section{Implementations}{GtkCellLayout is implemented by \code{\link{GtkCellView}}, \code{\link{GtkComboBox}}, \code{\link{GtkComboBoxEntry}}, \code{\link{GtkEntryCompletion}}, \code{\link{GtkIconView}} and \code{\link{GtkTreeViewColumn}}.} \section{Detailed Description}{\code{\link{GtkCellLayout}} is an interface to be implemented by all objects which want to provide a \verb{GtkTreeViewColumn-like} API for packing cells, setting attributes and data funcs. One of the notable features provided by implementations of GtkCellLayout are \emph{attributes}. Attributes let you set the properties in flexible ways. They can just be set to constant values like regular properties. But they can also be mapped to a column of the underlying tree model with \code{\link{gtkCellLayoutSetAttributes}}, which means that the value of the attribute can change from cell to cell as they are rendered by the cell renderer. Finally, it is possible to specify a function with \code{\link{gtkCellLayoutSetCellDataFunc}} that is called to determine the value of the attribute for each cell that is rendered.} \section{GtkCellLayouts as GtkBuildable}{Implementations of GtkCellLayout which also implement the GtkBuildable interface (\code{\link{GtkCellView}}, \code{\link{GtkIconView}}, \code{\link{GtkComboBox}}, \code{\link{GtkComboBoxEntry}}, \code{\link{GtkEntryCompletion}}, \code{\link{GtkTreeViewColumn}}) accept GtkCellRenderer objects as elements in UI definitions. They support a custom element for their children, which can contain multiple elements. Each element has a name attribute which specifies a property of the cell renderer; the content of the element is the attribute value. \emph{A UI definition fragment specifying attributes}\preformatted{ 0 " }} \section{Structures}{\describe{\item{\verb{GtkCellLayout}}{ \emph{undocumented } }}} \section{User Functions}{\describe{\item{\code{GtkCellLayoutDataFunc(cell.layout, cell, tree.model, iter, data)}}{ A function which should set the value of \code{cell.layout}'s cell renderer(s) as appropriate. \describe{ \item{\code{cell.layout}}{a \code{\link{GtkCellLayout}}} \item{\code{cell}}{the cell renderer whose value is to be set} \item{\code{tree.model}}{the model} \item{\code{iter}}{a \code{\link{GtkTreeIter}} indicating the row to set the value for} \item{\code{data}}{user data passed to \code{\link{gtkCellLayoutSetCellDataFunc}}} } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkCellLayout.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportGetShadowType.Rd0000644000176000001440000000066712362217677017320 0ustar ripleyusers\alias{gtkViewportGetShadowType} \name{gtkViewportGetShadowType} \title{gtkViewportGetShadowType} \description{Gets the shadow type of the \code{\link{GtkViewport}}. See \code{\link{gtkViewportSetShadowType}}.} \usage{gtkViewportGetShadowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkViewport}}}} \value{[\code{\link{GtkShadowType}}] the shadow type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemSetAccelGroup.Rd0000644000176000001440000000145712362217677020136 0ustar ripleyusers\alias{gtkImageMenuItemSetAccelGroup} \name{gtkImageMenuItemSetAccelGroup} \title{gtkImageMenuItemSetAccelGroup} \description{Specifies an \code{accel.group} to add the menu items accelerator to (this only applies to stock items so a stock item must already be set, make sure to call \code{\link{gtkImageMenuItemSetUseStock}} and \code{\link{gtkMenuItemSetLabel}} with a valid stock item first).} \usage{gtkImageMenuItemSetAccelGroup(object, accel.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImageMenuItem}}} \item{\verb{accel.group}}{the \code{\link{GtkAccelGroup}}} } \details{If you want this menu item to have changeable accelerators then you shouldnt need this (see \code{\link{gtkImageMenuItemNewFromStock}}). Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListFilter.Rd0000644000176000001440000000152512362217677016256 0ustar ripleyusers\alias{pangoAttrListFilter} \name{pangoAttrListFilter} \title{pangoAttrListFilter} \description{Given a \code{\link{PangoAttrList}} and callback function, removes any elements of \code{list} for which \code{func} returns \code{TRUE} and inserts them into a new list.} \usage{pangoAttrListFilter(object, func, data)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} \item{\verb{func}}{[\code{\link{PangoAttrFilterFunc}}] callback function; returns \code{TRUE} if an attribute should be filtered out.} \item{\verb{data}}{[R object] Data to be passed to \code{func}} } \details{ Since 1.2} \value{[\code{\link{PangoAttrList}}] the new \code{\link{PangoAttrList}} or \code{NULL} if no attributes of the given types were found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetIterFirst.Rd0000644000176000001440000000115612362217677017177 0ustar ripleyusers\alias{gtkTreeModelGetIterFirst} \name{gtkTreeModelGetIterFirst} \title{gtkTreeModelGetIterFirst} \description{Initializes \code{iter} with the first iterator in the tree (the one at the path "0") and returns \code{TRUE}. Returns \code{FALSE} if the tree is empty.} \usage{gtkTreeModelGetIterFirst(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModel}}.}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{iter} was set.} \item{\verb{iter}}{The uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupGetIgnoreHidden.Rd0000644000176000001440000000070312362217677017667 0ustar ripleyusers\alias{gtkSizeGroupGetIgnoreHidden} \name{gtkSizeGroupGetIgnoreHidden} \title{gtkSizeGroupGetIgnoreHidden} \description{Returns if invisible widgets are ignored when calculating the size.} \usage{gtkSizeGroupGetIgnoreHidden(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSizeGroup}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if invisible widgets are ignored.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxRemoveText.Rd0000644000176000001440000000110212362217677016545 0ustar ripleyusers\alias{gtkComboBoxRemoveText} \name{gtkComboBoxRemoveText} \title{gtkComboBoxRemoveText} \description{Removes the string at \code{position} from \code{combo.box}. Note that you can only use this function with combo boxes constructed with \code{\link{gtkComboBoxNewText}}.} \usage{gtkComboBoxRemoveText(object, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}} constructed with \code{\link{gtkComboBoxNewText}}} \item{\verb{position}}{Index of the item to remove} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetCurrentPage.Rd0000644000176000001440000000073212362217677017402 0ustar ripleyusers\alias{gtkNotebookGetCurrentPage} \name{gtkNotebookGetCurrentPage} \title{gtkNotebookGetCurrentPage} \description{Returns the page number of the current page.} \usage{gtkNotebookGetCurrentPage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \value{[integer] the index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowBeginResizeDrag.Rd0000644000176000001440000000202012362217677017206 0ustar ripleyusers\alias{gtkWindowBeginResizeDrag} \name{gtkWindowBeginResizeDrag} \title{gtkWindowBeginResizeDrag} \description{Starts resizing a window. This function is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system.} \usage{gtkWindowBeginResizeDrag(object, edge, button, root.x, root.y, timestamp)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{edge}}{position of the resize control} \item{\verb{button}}{mouse button that initiated the drag} \item{\verb{root.x}}{X position where the user clicked to initiate the drag, in root window coordinates} \item{\verb{root.y}}{Y position where the user clicked to initiate the drag} \item{\verb{timestamp}}{timestamp from the click event that initiated the drag} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemIterPrevCluster.Rd0000644000176000001440000000114712362217677020267 0ustar ripleyusers\alias{pangoGlyphItemIterPrevCluster} \name{pangoGlyphItemIterPrevCluster} \title{pangoGlyphItemIterPrevCluster} \description{Moves the iterator to the preceding cluster in the glyph item. See \code{\link{PangoGlyphItemIter}} for details of cluster orders.} \usage{pangoGlyphItemIterPrevCluster(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoGlyphItemIter}}] a \code{\link{PangoGlyphItemIter}}}} \details{ Since 1.22} \value{[logical] \code{TRUE} if the iterator was moved, \code{FALSE} if we were already on the first cluster.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterSetName.Rd0000644000176000001440000000105412362217677016663 0ustar ripleyusers\alias{gtkRecentFilterSetName} \name{gtkRecentFilterSetName} \title{gtkRecentFilterSetName} \description{Sets the human-readable name of the filter; this is the string that will be displayed in the recently used resources selector user interface if there is a selectable list of filters.} \usage{gtkRecentFilterSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{name}}{then human readable name of \code{filter}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsCopy.Rd0000644000176000001440000000132612362217677016447 0ustar ripleyusers\alias{cairoFontOptionsCopy} \name{cairoFontOptionsCopy} \title{cairoFontOptionsCopy} \description{Allocates a new font options object copying the option values from \code{original}.} \usage{cairoFontOptionsCopy(original)} \arguments{\item{\verb{original}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoFontOptions}}] a newly allocated \code{\link{CairoFontOptions}}. This function always returns a valid pointer; if memory cannot be allocated, then a special error object is returned where all operations on the object do nothing. You can check for this with \code{\link{cairoFontOptionsStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetsIncludeRichText.Rd0000644000176000001440000000110212362217677017402 0ustar ripleyusers\alias{gtkTargetsIncludeRichText} \name{gtkTargetsIncludeRichText} \title{gtkTargetsIncludeRichText} \description{Determines if any of the targets in \code{targets} can be used to provide rich text.} \usage{gtkTargetsIncludeRichText(targets, buffer)} \arguments{ \item{\verb{targets}}{a list of \code{\link{GdkAtom}}s} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}} } \details{Since 2.10} \value{[logical] \code{TRUE} if \code{targets} include a suitable target for rich text, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetPixtext.Rd0000644000176000001440000000151212362217677016077 0ustar ripleyusers\alias{gtkCListSetPixtext} \name{gtkCListSetPixtext} \title{gtkCListSetPixtext} \description{ Sets text and a pixmap/bitmap on the specified cell. \strong{WARNING: \code{gtk_clist_set_pixtext} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetPixtext(object, row, column, text, spacing, pixmap, mask)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} \item{\verb{text}}{The text to set in the cell.} \item{\verb{spacing}}{The spacing between the cell's text and pixmap.} \item{\verb{pixmap}}{A pointer to a \code{\link{GdkPixmap}} for the cell.} \item{\verb{mask}}{A pointer to a \code{\link{GdkBitmap}} mask for the cell.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileOutputStream.Rd0000644000176000001440000000344612362217677015704 0ustar ripleyusers\alias{GFileOutputStream} \name{GFileOutputStream} \title{GFileOutputStream} \description{File output streaming operations} \section{Methods and Functions}{ \code{\link{gFileOutputStreamQueryInfo}(object, attributes, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileOutputStreamQueryInfoAsync}(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileOutputStreamQueryInfoFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileOutputStreamGetEtag}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GOutputStream +----GFileOutputStream}} \section{Interfaces}{GFileOutputStream implements \code{\link{GSeekable}}.} \section{Detailed Description}{GFileOutputStream provides output streams that write their content to a file. GFileOutputStream implements \code{\link{GSeekable}}, which allows the output stream to jump to arbitrary positions in the file and to truncate the file, provided the filesystem of the file supports these operations. To find the position of a file output stream, use \code{\link{gSeekableTell}}. To find out if a file output stream supports seeking, use \code{\link{gSeekableCanSeek}}.To position a file output stream, use \code{\link{gSeekableSeek}}. To find out if a file output stream supports truncating, use \code{\link{gSeekableCanTruncate}}. To truncate a file output stream, use \code{\link{gSeekableTruncate}}.} \section{Structures}{\describe{\item{\verb{GFileOutputStream}}{ A subclass of GOutputStream for opened files. This adds a few file-specific operations and seeking and truncating. \code{\link{GFileOutputStream}} implements GSeekable. }}} \references{\url{http://library.gnome.org/devel//gio/GFileOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetHomogeneousTabs.Rd0000644000176000001440000000110012362217677020267 0ustar ripleyusers\alias{gtkNotebookSetHomogeneousTabs} \name{gtkNotebookSetHomogeneousTabs} \title{gtkNotebookSetHomogeneousTabs} \description{ Sets whether the tabs must have all the same size or not. \strong{WARNING: \code{gtk_notebook_set_homogeneous_tabs} is deprecated and should not be used in newly-written code.} } \usage{gtkNotebookSetHomogeneousTabs(object, homogeneous)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{homogeneous}}{\code{TRUE} if all tabs should be the same size.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionIsChildSelected.Rd0000644000176000001440000000156112362217677017653 0ustar ripleyusers\alias{atkSelectionIsChildSelected} \name{atkSelectionIsChildSelected} \title{atkSelectionIsChildSelected} \description{Determines if the current child of this object is selected Note: callers should not rely on \code{NULL} or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking functions or the \code{atkGetAccessibleValue()} convenience method.} \usage{atkSelectionIsChildSelected(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface} \item{\verb{i}}{[integer] a \verb{integer} specifying the child index.} } \value{[logical] a gboolean representing the specified child is selected, or 0 if \code{selection} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportSetShadowType.Rd0000644000176000001440000000056612362217677017332 0ustar ripleyusers\alias{gtkViewportSetShadowType} \name{gtkViewportSetShadowType} \title{gtkViewportSetShadowType} \description{Sets the shadow type of the viewport.} \usage{gtkViewportSetShadowType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkViewport}}.} \item{\verb{type}}{the new shadow type.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetStyle.Rd0000644000176000001440000000101412362217677016402 0ustar ripleyusers\alias{gtkToolShellGetStyle} \name{gtkToolShellGetStyle} \title{gtkToolShellGetStyle} \description{Retrieves whether the tool shell has text, icons, or both. Tool items must not call this function directly, but rely on \code{gtkToolItemGetStyle()} instead.} \usage{gtkToolShellGetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkToolbarStyle}}] the current style of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetUnparent.Rd0000644000176000001440000000067312362217677015766 0ustar ripleyusers\alias{gtkWidgetUnparent} \name{gtkWidgetUnparent} \title{gtkWidgetUnparent} \description{This function is only for use in widget implementations. Should be called by implementations of the remove method on \code{\link{GtkContainer}}, to dissociate a child from the container.} \usage{gtkWidgetUnparent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetGicon.Rd0000644000176000001440000000164112362217677015464 0ustar ripleyusers\alias{gtkImageGetGicon} \name{gtkImageGetGicon} \title{gtkImageGetGicon} \description{Gets the \code{\link{GIcon}} and size being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_GICON} (see \code{\link{gtkImageGetStorageType}}). The caller of this function does not own a reference to the returned \code{\link{GIcon}}.} \usage{gtkImageGetGicon(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \details{Since 2.14} \value{ A list containing the following elements: \item{\verb{gicon}}{place to store a \code{\link{GIcon}}, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{size}}{place to store an icon size, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ][ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetMdiZorder.Rd0000644000176000001440000000116512362217677017237 0ustar ripleyusers\alias{atkComponentGetMdiZorder} \name{atkComponentGetMdiZorder} \title{atkComponentGetMdiZorder} \description{Gets the zorder of the component. The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.} \usage{atkComponentGetMdiZorder(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}}} \value{[integer] a gint which is the zorder of the component, i.e. the depth at which the component is shown in relation to other components in the same container.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemRetrieveProxyMenuItem.Rd0000644000176000001440000000126012362217677020767 0ustar ripleyusers\alias{gtkToolItemRetrieveProxyMenuItem} \name{gtkToolItemRetrieveProxyMenuItem} \title{gtkToolItemRetrieveProxyMenuItem} \description{Returns the \code{\link{GtkMenuItem}} that was last set by \code{\link{gtkToolItemSetProxyMenuItem}}, ie. the \code{\link{GtkMenuItem}} that is going to appear in the overflow menu.} \usage{gtkToolItemRetrieveProxyMenuItem(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The \code{\link{GtkMenuItem}} that is going to appear in the overflow menu for \code{tool.item}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryCreateItem.Rd0000644000176000001440000000160012362217677017206 0ustar ripleyusers\alias{gtkItemFactoryCreateItem} \name{gtkItemFactoryCreateItem} \title{gtkItemFactoryCreateItem} \description{ Creates an item for \code{entry}. \strong{WARNING: \code{gtk_item_factory_create_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryCreateItem(object, entry, callback.data = NULL, callback.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{entry}}{the \code{\link{GtkItemFactoryEntry}} to create an item for} \item{\verb{callback.data}}{data passed to the callback function of \code{entry}} \item{\verb{callback.type}}{1 if the callback function of \code{entry} is of type \code{\link{GtkItemFactoryCallback1}}, 2 if it is of type \code{\link{GtkItemFactoryCallback2}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSetFixedSize.Rd0000644000176000001440000000100112362217677017645 0ustar ripleyusers\alias{gtkCellRendererSetFixedSize} \name{gtkCellRendererSetFixedSize} \title{gtkCellRendererSetFixedSize} \description{Sets the renderer size to be explicit, independent of the properties set.} \usage{gtkCellRendererSetFixedSize(object, width, height)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{width}}{the width of the cell renderer, or -1} \item{\verb{height}}{the height of the cell renderer, or -1} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetExpand.Rd0000644000176000001440000000130612362217677017544 0ustar ripleyusers\alias{gtkTreeViewColumnSetExpand} \name{gtkTreeViewColumnSetExpand} \title{gtkTreeViewColumnSetExpand} \description{Sets the column to take available extra space. This space is shared equally amongst all columns that have the expand set to \code{TRUE}. If no column has this option set, then the last column gets all extra space. By default, every column is created with this \code{FALSE}.} \usage{gtkTreeViewColumnSetExpand(object, expand)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}} \item{\verb{expand}}{\code{TRUE} if the column should take available extra space, \code{FALSE} if not} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawString.Rd0000644000176000001440000000146612362217677015073 0ustar ripleyusers\alias{gdkDrawString} \name{gdkDrawString} \title{gdkDrawString} \description{ Draws a string of characters in the given font or fontset. \strong{WARNING: \code{gdk_draw_string} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gdkDrawLayout}} instead.} } \usage{gdkDrawString(object, font, gc, x, y, string)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{font}}{a \code{\link{GdkFont}}.} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x coordinate of the left edge of the text.} \item{\verb{y}}{the y coordinate of the baseline of the text.} \item{\verb{string}}{the string of characters to draw.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetShowIcons.Rd0000644000176000001440000000075012362217677020062 0ustar ripleyusers\alias{gtkRecentChooserGetShowIcons} \name{gtkRecentChooserGetShowIcons} \title{gtkRecentChooserGetShowIcons} \description{Retrieves whether \code{chooser} should show an icon near the resource.} \usage{gtkRecentChooserGetShowIcons(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the icons should be displayed, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionUnselectRange.Rd0000644000176000001440000000105712362217677020250 0ustar ripleyusers\alias{gtkTreeSelectionUnselectRange} \name{gtkTreeSelectionUnselectRange} \title{gtkTreeSelectionUnselectRange} \description{Unselects a range of nodes, determined by \code{start.path} and \code{end.path} inclusive.} \usage{gtkTreeSelectionUnselectRange(object, start.path, end.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{start.path}}{The initial node of the range.} \item{\verb{end.path}}{The initial node of the range.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetDropItem.Rd0000644000176000001440000000111012362217677017351 0ustar ripleyusers\alias{gtkToolPaletteGetDropItem} \name{gtkToolPaletteGetDropItem} \title{gtkToolPaletteGetDropItem} \description{Gets the item at position (x, y). See \code{\link{gtkToolPaletteGetDropGroup}}.} \usage{gtkToolPaletteGetDropItem(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{x}}{the x position} \item{\verb{y}}{the y position} } \details{Since 2.20} \value{[\code{\link{GtkToolItem}}] the \code{\link{GtkToolItem}} at position or \code{NULL} if there is no such item} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionNew.Rd0000644000176000001440000000164612362217677016060 0ustar ripleyusers\alias{gtkToggleActionNew} \name{gtkToggleActionNew} \title{gtkToggleActionNew} \description{Creates a new \code{\link{GtkToggleAction}} object. To add the action to a \code{\link{GtkActionGroup}} and set the accelerator for the action, call \code{\link{gtkActionGroupAddActionWithAccel}}.} \usage{gtkToggleActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)} \arguments{ \item{\verb{name}}{A unique name for the action} \item{\verb{label}}{The label displayed in menu items and on buttons, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip}}{A tooltip for the action, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{The stock icon to display in widgets representing the action, or \code{NULL}} } \details{Since 2.4} \value{[\code{\link{GtkToggleAction}}] a new \code{\link{GtkToggleAction}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamRead.Rd0000644000176000001440000000337612362217677015541 0ustar ripleyusers\alias{gInputStreamRead} \name{gInputStreamRead} \title{gInputStreamRead} \description{Tries to read \code{count} bytes from the stream into the buffer starting at \code{buffer}. Will block during this read.} \usage{gInputStreamRead(object, count, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{count}}{the number of bytes that will be read from the stream} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If count is zero returns zero and does nothing. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes read into the buffer is returned. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file. Zero is returned on end of file (or if \code{count} is zero), but never otherwise. If \code{cancellable} is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error. On error -1 is returned and \code{error} is set accordingly.} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes read, or -1 on error} \item{\verb{buffer}}{a buffer to read data into (which should be at least count bytes long).} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCopyClipRectangleList.Rd0000644000176000001440000000136612362217677017541 0ustar ripleyusers\alias{cairoCopyClipRectangleList} \name{cairoCopyClipRectangleList} \title{cairoCopyClipRectangleList} \description{Gets the current clip region as a list of rectangles in user coordinates. Never returns \code{NULL}.} \usage{cairoCopyClipRectangleList(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{The status in the list may be \code{CAIRO_STATUS_CLIP_NOT_REPRESENTABLE} to indicate that the clip region cannot be represented as a list of user-space rectangles. The status may have other values to indicate other errors. Since 1.4} \value{[\code{\link{CairoRectangleList}}] the current clip region as a list of rectangles in user coordinates,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetSelectable.Rd0000644000176000001440000000062112362217677016462 0ustar ripleyusers\alias{gtkLabelGetSelectable} \name{gtkLabelGetSelectable} \title{gtkLabelGetSelectable} \description{Gets the value set by \code{\link{gtkLabelSetSelectable}}.} \usage{gtkLabelGetSelectable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[logical] \code{TRUE} if the user can copy text from the label} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterNew.Rd0000644000176000001440000000124312362217677015517 0ustar ripleyusers\alias{gtkFileFilterNew} \name{gtkFileFilterNew} \title{gtkFileFilterNew} \description{Creates a new \code{\link{GtkFileFilter}} with no rules added to it. Such a filter doesn't accept any files, so is not particularly useful until you add rules with \code{\link{gtkFileFilterAddMimeType}}, \code{\link{gtkFileFilterAddPattern}}, or \code{\link{gtkFileFilterAddCustom}}. To create a filter that accepts any file, use: \preformatted{ filter <- gtkFileFilter() filter$addPattern("*") }} \usage{gtkFileFilterNew()} \details{Since 2.4} \value{[\code{\link{GtkFileFilter}}] a new \code{\link{GtkFileFilter}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardToTagToggle.Rd0000644000176000001440000000160112362217677020214 0ustar ripleyusers\alias{gtkTextIterForwardToTagToggle} \name{gtkTextIterForwardToTagToggle} \title{gtkTextIterForwardToTagToggle} \description{Moves forward to the next toggle (on or off) of the \code{\link{GtkTextTag}} \code{tag}, or to the next toggle of any tag if \code{tag} is \code{NULL}. If no matching tag toggles are found, returns \code{FALSE}, otherwise \code{TRUE}. Does not return toggles located at \code{iter}, only toggles after \code{iter}. Sets \code{iter} to the location of the toggle, or to the end of the buffer if no toggle is found.} \usage{gtkTextIterForwardToTagToggle(object, tag = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether we found a tag toggle after \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionAddTarget.Rd0000644000176000001440000000104412362217677016524 0ustar ripleyusers\alias{gtkSelectionAddTarget} \name{gtkSelectionAddTarget} \title{gtkSelectionAddTarget} \description{Appends a specified target to the list of supported targets for a given widget and selection.} \usage{gtkSelectionAddTarget(object, selection, target, info)} \arguments{ \item{\verb{object}}{a \verb{GtkTarget}} \item{\verb{selection}}{the selection} \item{\verb{target}}{target to add.} \item{\verb{info}}{A unsigned integer which will be passed back to the application.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSelectAll.Rd0000644000176000001440000000075012362217677015631 0ustar ripleyusers\alias{gtkCListSelectAll} \name{gtkCListSelectAll} \title{gtkCListSelectAll} \description{ Selects all rows in the CList. This function has no affect for a CList in "single" or "browse" selection mode. \strong{WARNING: \code{gtk_clist_select_all} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSelectAll(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetHoverExpand.Rd0000644000176000001440000000102212362217677017365 0ustar ripleyusers\alias{gtkTreeViewSetHoverExpand} \name{gtkTreeViewSetHoverExpand} \title{gtkTreeViewSetHoverExpand} \description{Enables of disables the hover expansion mode of \code{tree.view}. Hover expansion makes rows expand or collapse if the pointer moves over them.} \usage{gtkTreeViewSetHoverExpand(object, expand)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{expand}}{\code{TRUE} to enable hover selection mode} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVIsAdjusting.Rd0000644000176000001440000000131012362217677015620 0ustar ripleyusers\alias{gtkHSVIsAdjusting} \name{gtkHSVIsAdjusting} \title{gtkHSVIsAdjusting} \description{An HSV color selector can be said to be adjusting if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse. This function queries whether the HSV color selector is being adjusted or not.} \usage{gtkHSVIsAdjusting(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkHSV}}}} \details{Since 2.14} \value{[logical] \code{TRUE} if clients can ignore changes to the color value, since they may be transitory, or \code{FALSE} if they should consider the color value status to be final.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowActivateDefault.Rd0000644000176000001440000000107012362217677017253 0ustar ripleyusers\alias{gtkWindowActivateDefault} \name{gtkWindowActivateDefault} \title{gtkWindowActivateDefault} \description{Activates the default widget for the window, unless the current focused widget has been configured to receive the default action (see \code{\link{gtkWidgetSetReceivesDefault}}), in which case the focused widget is activated.} \usage{gtkWindowActivateDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if a widget got activated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkDialog.Rd0000644000176000001440000002573212362217677014170 0ustar ripleyusers\alias{GtkDialog} \alias{gtkDialog} \alias{GtkDialogFlags} \alias{GtkResponseType} \name{GtkDialog} \title{GtkDialog} \description{Create popup windows} \section{Methods and Functions}{ \code{\link{gtkDialogNew}(show = TRUE)}\cr \code{\link{gtkDialogNewWithButtons}(title = NULL, parent = NULL, flags = 0, ..., show = TRUE)}\cr \code{\link{gtkDialogRun}(object)}\cr \code{\link{gtkDialogResponse}(object, response.id)}\cr \code{\link{gtkDialogAddButton}(object, button.text, response.id)}\cr \code{\link{gtkDialogAddButtons}(object, ...)}\cr \code{\link{gtkDialogAddActionWidget}(object, child, response.id)}\cr \code{\link{gtkDialogGetHasSeparator}(object)}\cr \code{\link{gtkDialogSetDefaultResponse}(object, response.id)}\cr \code{\link{gtkDialogSetHasSeparator}(object, setting)}\cr \code{\link{gtkDialogSetResponseSensitive}(object, response.id, setting)}\cr \code{\link{gtkDialogGetResponseForWidget}(object, widget)}\cr \code{\link{gtkDialogGetWidgetForResponse}(object, response.id)}\cr \code{\link{gtkDialogGetActionArea}(object)}\cr \code{\link{gtkDialogGetContentArea}(object)}\cr \code{\link{gtkAlternativeDialogButtonOrder}(object)}\cr \code{\link{gtkDialogSetAlternativeButtonOrder}(object, ...)}\cr \code{\link{gtkDialogSetAlternativeButtonOrderFromArray}(object, new.order)}\cr \code{gtkDialog(title = NULL, parent = NULL, flags = 0, ..., show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkAboutDialog +----GtkColorSelectionDialog +----GtkFileChooserDialog +----GtkFileSelection +----GtkFontSelectionDialog +----GtkInputDialog +----GtkMessageDialog +----GtkPageSetupUnixDialog +----GtkPrintUnixDialog +----GtkRecentChooserDialog}} \section{Interfaces}{GtkDialog implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{Dialog boxes are a convenient way to prompt the user for a small amount of input, e.g. to display a message, ask a question, or anything else that does not require extensive effort on the user's part. GTK+ treats a dialog as a window split vertically. The top section is a \code{\link{GtkVBox}}, and is where widgets such as a \code{\link{GtkLabel}} or a \code{\link{GtkEntry}} should be packed. The bottom area is known as the \code{action_area}. This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a \code{\link{GtkHSeparator}}. \code{\link{GtkDialog}} boxes are created with a call to \code{\link{gtkDialogNew}} or \code{\link{gtkDialogNewWithButtons}}. \code{\link{gtkDialogNewWithButtons}} is recommended; it allows you to set the dialog title, some convenient flags, and add simple buttons. If 'dialog' is a newly created dialog, the two primary areas of the window can be accessed through \code{\link{gtkDialogGetContentArea}} and \code{\link{gtkDialogGetActionArea}}, as can be seen from the example, below. A 'modal' dialog (that is, one which freezes the rest of the application from user input), can be created by calling \code{\link{gtkWindowSetModal}} on the dialog. Use the \code{gtkWindow()} function to cast the widget returned from \code{\link{gtkDialogNew}} into a \code{\link{GtkWindow}}. When using \code{\link{gtkDialogNewWithButtons}} you can also pass the \verb{GTK_DIALOG_MODAL} flag to make a dialog modal. If you add buttons to \code{\link{GtkDialog}} using \code{\link{gtkDialogNewWithButtons}}, \code{\link{gtkDialogAddButton}}, \code{\link{gtkDialogAddButtons}}, or \code{\link{gtkDialogAddActionWidget}}, clicking the button will emit a signal called "response" with a response ID that you specified. GTK+ will never assign a meaning to positive response IDs; these are entirely user-defined. But for convenience, you can use the response IDs in the \code{\link{GtkResponseType}} enumeration (these all have values less than zero). If a dialog receives a delete event, the "response" signal will be emitted with a response ID of \verb{GTK_RESPONSE_DELETE_EVENT}. If you want to block waiting for a dialog to return before returning control flow to your code, you can call \code{\link{gtkDialogRun}}. This function enters a recursive main loop and waits for the user to respond to the dialog, returning the response ID corresponding to the button the user clicked. For the simple dialog in the following example, in reality you'd probably use \code{\link{GtkMessageDialog}} to save yourself some effort. But you'd need to create the dialog contents manually if you had more than a simple message in the dialog. \emph{Simple \code{GtkDialog} usage.} \preformatted{ # Function to open a dialog box displaying the message provided. quick_message <- function(message) { ## Create the widgets dialog <- gtkDialog("Message", NULL, "destroy-with-parent", "gtk-ok", GtkResponseType["none"], show = FALSE) label <- gtkLabel(message) ## Ensure that the dialog box is destroyed when the user responds. gSignalConnect(dialog, "response", gtkWidgetDestroy) ## Add the label, and show everything we've added to the dialog. dialog[["vbox"]]$add(label) dialog$showAll() } }} \section{GtkDialog as GtkBuildable}{The GtkDialog implementation of the GtkBuildable interface exposes the \code{vbox} and \code{action.area} as internal children with the names "vbox" and "action_area". GtkDialog supports a custom element, which can contain multiple elements. The "response" attribute specifies a numeric response, and the content of the element is the id of widget (which should be a child of the dialogs \code{action.area}). \emph{A \code{GtkDialog} UI definition fragment.}\preformatted{ " button_ok button_cancel }} \section{Structures}{\describe{\item{\verb{GtkDialog}}{ \code{vbox} is a \code{\link{GtkVBox}} - the main part of the dialog box. \code{action_area} is a \code{\link{GtkHButtonBox}} packed below the dividing \code{\link{GtkHSeparator}} in the dialog. It is treated exactly the same as any other \code{\link{GtkHButtonBox}}. \describe{ \item{\verb{vbox}}{[\code{\link{GtkWidget}}] } \item{\verb{actionArea}}{[\code{\link{GtkWidget}}] } } }}} \section{Convenient Construction}{\code{gtkDialog} is the result of collapsing the constructors of \code{GtkDialog} (\code{\link{gtkDialogNew}}, \code{\link{gtkDialogNewWithButtons}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkDialogFlags}}{ Flags used to influence dialog construction. \describe{ \item{\verb{modal}}{Make the constructed dialog modal, see \code{\link{gtkWindowSetModal}}.} \item{\verb{destroy-with-parent}}{Destroy the dialog when its parent is destroyed, see \code{\link{gtkWindowSetDestroyWithParent}}.} \item{\verb{no-separator}}{Don't put a separator between the action area and the dialog content.} } } \item{\verb{GtkResponseType}}{ Predefined values for use as response ids in \code{\link{gtkDialogAddButton}}. All predefined values are negative, GTK+ leaves positive values for application-defined response ids. \describe{ \item{\verb{none}}{Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.} \item{\verb{reject}}{Generic response id, not used by GTK+ dialogs.} \item{\verb{accept}}{Generic response id, not used by GTK+ dialogs.} \item{\verb{delete-event}}{Returned if the dialog is deleted.} \item{\verb{ok}}{Returned by OK buttons in GTK+ dialogs.} \item{\verb{cancel}}{Returned by Cancel buttons in GTK+ dialogs.} \item{\verb{close}}{Returned by Close buttons in GTK+ dialogs.} \item{\verb{yes}}{Returned by Yes buttons in GTK+ dialogs.} \item{\verb{no}}{Returned by No buttons in GTK+ dialogs.} \item{\verb{apply}}{Returned by Apply buttons in GTK+ dialogs.} \item{\verb{help}}{Returned by Help buttons in GTK+ dialogs.} } } }} \section{Signals}{\describe{ \item{\code{close(user.data)}}{ The ::close signal is a keybinding signal which gets emitted when the user uses a keybinding to close the dialog. The default binding for this signal is the Escape key. \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } \item{\code{response(dialog, response.id, user.data)}}{ Emitted when an action widget is clicked, the dialog receives a delete event, or the application programmer calls \code{\link{gtkDialogResponse}}. On a delete event, the response ID is \verb{GTK_RESPONSE_DELETE_EVENT}. Otherwise, it depends on which action widget was clicked. \describe{ \item{\code{dialog}}{the object on which the signal is emitted} \item{\code{response.id}}{the response ID} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{has-separator} [logical : Read / Write]}{ When \code{TRUE}, the dialog has a separator bar above its buttons. Default value: TRUE }}} \section{Style Properties}{\describe{ \item{\verb{action-area-border} [integer : Read]}{ Width of border around the button area at the bottom of the dialog. Allowed values: >= 0 Default value: 5 } \item{\verb{button-spacing} [integer : Read]}{ Spacing between buttons. Allowed values: >= 0 Default value: 6 } \item{\verb{content-area-border} [integer : Read]}{ Width of border around the main dialog area. Allowed values: >= 0 Default value: 2 } \item{\verb{content-area-spacing} [integer : Read]}{ The default spacing used between elements of the content area of the dialog, as returned by \code{\link{gtkDialogGetContentArea}}, unless \code{\link{gtkBoxSetSpacing}} was called on that widget directly. Allowed values: >= 0 Default value: 0 Since 2.16 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionIsVisible.Rd0000644000176000001440000000064112362217677016050 0ustar ripleyusers\alias{gtkActionIsVisible} \name{gtkActionIsVisible} \title{gtkActionIsVisible} \description{Returns whether the action is effectively visible.} \usage{gtkActionIsVisible(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] \code{TRUE} if the action and its associated action group are both visible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemActivate.Rd0000644000176000001440000000045212362217677016225 0ustar ripleyusers\alias{gtkMenuItemActivate} \name{gtkMenuItemActivate} \title{gtkMenuItemActivate} \description{Emits the "activate" signal on the given item} \usage{gtkMenuItemActivate(object)} \arguments{\item{\verb{object}}{the menu item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListRowMove.Rd0000644000176000001440000000112412362217677015353 0ustar ripleyusers\alias{gtkCListRowMove} \name{gtkCListRowMove} \title{gtkCListRowMove} \description{ Allows you to move a row from one position to another in the list. \strong{WARNING: \code{gtk_clist_row_move} is deprecated and should not be used in newly-written code.} } \usage{gtkCListRowMove(object, source.row, dest.row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{source.row}}{The original position of the row to move.} \item{\verb{dest.row}}{The position to which the row should be moved.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-error-status.Rd0000644000176000001440000000610712362217677016063 0ustar ripleyusers\alias{cairo-error-status} \alias{CairoStatus} \name{cairo-error-status} \title{Error handling} \description{Decoding cairo's status} \section{Methods and Functions}{\code{\link{cairoStatusToString}(status)}\cr} \section{Detailed Description}{Cairo uses a single status type to represent all kinds of errors. A status value of \code{CAIRO_STATUS_SUCCESS} represents no error and has an integer value of zero. All other status values represent an error. Cairo's error handling is designed to be easy to use and safe. All major cairo objects \dfn{retain} an error status internally which can be queried anytime by the users using cairo*\code{status()} calls. In the mean time, it is safe to call all cairo functions normally even if the underlying object is in an error status. This means that no error handling code is required before or after each individual cairo function call.} \section{Enums and Flags}{\describe{\item{\verb{CairoStatus}}{ \code{\link{CairoStatus}} is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. but when using \code{\link{Cairo}}, the last error, if any, is stored in the context and can be retrieved with \code{\link{cairoStatus}}. New entries may be added in future versions. Use \code{\link{cairoStatusToString}} to get a human-readable representation of an error message. \describe{ \item{\verb{success}}{ no error has occurred} \item{\verb{no-memory}}{ out of memory} \item{\verb{invalid-restore}}{\code{\link{cairoRestore}} called without matching \code{\link{cairoSave}}} \item{\verb{invalid-pop-group}}{ no saved group to pop} \item{\verb{no-current-point}}{ no current point defined} \item{\verb{invalid-matrix}}{ invalid matrix (not invertible)} \item{\verb{invalid-status}}{ invalid value for an input \code{\link{CairoStatus}}} \item{\verb{null-pointer}}{\code{NULL} pointer} \item{\verb{invalid-string}}{ input string not valid UTF-8} \item{\verb{invalid-path-data}}{ input path data not valid} \item{\verb{read-error}}{ error while reading from input stream} \item{\verb{write-error}}{ error while writing to output stream} \item{\verb{surface-finished}}{ target surface has been finished} \item{\verb{surface-type-mismatch}}{ the surface type is not appropriate for the operation} \item{\verb{pattern-type-mismatch}}{ the pattern type is not appropriate for the operation} \item{\verb{invalid-content}}{ invalid value for an input \code{\link{CairoContent}}} \item{\verb{invalid-format}}{ invalid value for an input \code{\link{CairoFormat}}} \item{\verb{invalid-visual}}{ invalid value for an input Visual*} \item{\verb{file-not-found}}{ file not found} \item{\verb{invalid-dash}}{ invalid value for a dash setting} \item{\verb{invalid-dsc-comment}}{ invalid value for a DSC comment (Since 1.2)} \item{\verb{invalid-index}}{ invalid index passed to getter (Since 1.4)} \item{\verb{clip-not-representable}}{ clip region not representable in desired format (Since 1.4)} } }}} \references{\url{http://www.cairographics.org/manual/cairo-error-status.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParseColor.Rd0000644000176000001440000000116712362217677015363 0ustar ripleyusers\alias{gtkRcParseColor} \name{gtkRcParseColor} \title{gtkRcParseColor} \description{Parses a color in the format expected in a RC file. } \usage{gtkRcParseColor(scanner, color)} \arguments{ \item{\verb{scanner}}{a \verb{GScanner}} \item{\verb{color}}{a pointer to a \code{\link{GdkColor}} structure in which to store the result} } \details{Note that theme engines should use \code{\link{gtkRcParseColorFull}} in order to support symbolic colors.} \value{[numeric] \code{G_TOKEN_NONE} if parsing succeeded, otherwise the token that was expected but not found} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetAddAccelerator.Rd0000644000176000001440000000242512362217677017024 0ustar ripleyusers\alias{gtkWidgetAddAccelerator} \name{gtkWidgetAddAccelerator} \title{gtkWidgetAddAccelerator} \description{Installs an accelerator for this \code{widget} in \code{accel.group} that causes \code{accel.signal} to be emitted if the accelerator is activated. The \code{accel.group} needs to be added to the widget's toplevel via \code{\link{gtkWindowAddAccelGroup}}, and the signal must be of type \code{G_RUN_ACTION}. Accelerators added through this function are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use \code{\link{gtkAccelMapAddEntry}} and \code{\link{gtkWidgetSetAccelPath}} or \code{\link{gtkMenuItemSetAccelPath}} instead.} \usage{gtkWidgetAddAccelerator(object, accel.signal, accel.group, accel.key, accel.mods, accel.flags)} \arguments{ \item{\verb{object}}{widget to install an accelerator on} \item{\verb{accel.signal}}{widget signal to emit on accelerator activation} \item{\verb{accel.group}}{accel group for this widget, added to its toplevel} \item{\verb{accel.key}}{GDK keyval of the accelerator} \item{\verb{accel.mods}}{modifier key combination of the accelerator} \item{\verb{accel.flags}}{flag accelerators, e.g. \code{GTK_ACCEL_VISIBLE}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeMatcherEnumerateNext.Rd0000644000176000001440000000077612362217677021247 0ustar ripleyusers\alias{gFileAttributeMatcherEnumerateNext} \name{gFileAttributeMatcherEnumerateNext} \title{gFileAttributeMatcherEnumerateNext} \description{Gets the next matched attribute from a \code{\link{GFileAttributeMatcher}}.} \usage{gFileAttributeMatcherEnumerateNext(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileAttributeMatcher}}.}} \value{[char] a string containing the next attribute or \code{NULL} if no more attribute exist.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetTransientFor.Rd0000644000176000001440000000135112362217677017262 0ustar ripleyusers\alias{gdkWindowSetTransientFor} \name{gdkWindowSetTransientFor} \title{gdkWindowSetTransientFor} \description{Indicates to the window manager that \code{window} is a transient dialog associated with the application window \code{parent}. This allows the window manager to do things like center \code{window} on \code{parent} and keep \code{window} above \code{parent}.} \usage{gdkWindowSetTransientFor(object, leader)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{leader}}{another toplevel \code{\link{GdkWindow}}} } \details{See \code{\link{gtkWindowSetTransientFor}} if you're using \code{\link{GtkWindow}} or \code{\link{GtkDialog}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderGetFormat.Rd0000644000176000001440000000103012362217677017167 0ustar ripleyusers\alias{gdkPixbufLoaderGetFormat} \name{gdkPixbufLoaderGetFormat} \title{gdkPixbufLoaderGetFormat} \description{Obtains the available information about the format of the currently loading image file.} \usage{gdkPixbufLoaderGetFormat(object)} \arguments{\item{\verb{object}}{A pixbuf loader.}} \details{Since 2.2} \value{[\code{\link{GdkPixbufFormat}}] A \code{\link{GdkPixbufFormat}} or \code{NULL}. The return value is owned by GdkPixbuf and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertTreeToBinWindowCoords.Rd0000644000176000001440000000136012362217677022231 0ustar ripleyusers\alias{gtkTreeViewConvertTreeToBinWindowCoords} \name{gtkTreeViewConvertTreeToBinWindowCoords} \title{gtkTreeViewConvertTreeToBinWindowCoords} \description{Converts tree coordinates (coordinates in full scrollable area of the tree) to bin_window coordinates.} \usage{gtkTreeViewConvertTreeToBinWindowCoords(object, tx, ty)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tx}}{tree X coordinate} \item{\verb{ty}}{tree Y coordinate} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{bx}}{return location for X coordinate relative to bin_window} \item{\verb{by}}{return location for Y coordinate relative to bin_window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFamilyIsMonospace.Rd0000644000176000001440000000207612362217677017555 0ustar ripleyusers\alias{pangoFontFamilyIsMonospace} \name{pangoFontFamilyIsMonospace} \title{pangoFontFamilyIsMonospace} \description{A monospace font is a font designed for text display where the the characters form a regular grid. For Western languages this would mean that the advance width of all characters are the same, but this categorization also includes Asian fonts which include double-width characters: characters that occupy two grid cells. \code{gUnicharIswide()} returns a result that indicates whether a character is typically double-width in a monospace font.} \usage{pangoFontFamilyIsMonospace(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFamily}}] a \code{\link{PangoFontFamily}}}} \details{The best way to find out the grid-cell size is to call \code{\link{pangoFontMetricsGetApproximateDigitWidth}}, since the results of \code{\link{pangoFontMetricsGetApproximateCharWidth}} may be affected by double-width characters. Since 1.4} \value{[logical] \code{TRUE} if the family is monospace.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetStateWildcarded.Rd0000644000176000001440000000207612362217677020536 0ustar ripleyusers\alias{gtkIconSourceSetStateWildcarded} \name{gtkIconSourceSetStateWildcarded} \title{gtkIconSourceSetStateWildcarded} \description{If the widget state is wildcarded, this source can be used as the base image for an icon in any \code{\link{GtkStateType}}. If the widget state is not wildcarded, then the state the source applies to should be set with \code{\link{gtkIconSourceSetState}} and the icon source will only be used with that specific state.} \usage{gtkIconSourceSetStateWildcarded(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{setting}}{\code{TRUE} to wildcard the widget state} } \details{\code{\link{GtkIconSet}} prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. \code{\link{GtkIconSet}} will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetEllipsize.Rd0000644000176000001440000000204212362217677017147 0ustar ripleyusers\alias{pangoLayoutSetEllipsize} \name{pangoLayoutSetEllipsize} \title{pangoLayoutSetEllipsize} \description{Sets the type of ellipsization being performed for \code{layout}. Depending on the ellipsization mode \code{ellipsize} text is removed from the start, middle, or end of text so they fit within the width and height of layout set with \code{\link{pangoLayoutSetWidth}} and \code{\link{pangoLayoutSetHeight}}.} \usage{pangoLayoutSetEllipsize(object, ellipsize)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{ellipsize}}{[\code{\link{PangoEllipsizeMode}}] the new ellipsization mode for \code{layout}} } \details{If the layout contains characters such as newlines that force it to be layed out in multiple paragraphs, then whether each paragraph is ellipsized separately or the entire layout is ellipsized as a whole depends on the set height of the layout. See \code{\link{pangoLayoutSetHeight}} for details. Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutLineGetPixelExtents.Rd0000644000176000001440000000211412362217677020437 0ustar ripleyusers\alias{pangoLayoutLineGetPixelExtents} \name{pangoLayoutLineGetPixelExtents} \title{pangoLayoutLineGetPixelExtents} \description{Computes the logical and ink extents of \code{layout.line} in device units. This function just calls \code{\link{pangoLayoutLineGetExtents}} followed by two \code{\link{pangoExtentsToPixels}} calls, rounding \code{ink.rect} and \code{logical.rect} such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to \code{\link{pangoExtentsToPixels}}).} \usage{pangoLayoutLineGetPixelExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the glyph string as drawn, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the glyph string, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentConfigure.Rd0000644000176000001440000000156212362217677017004 0ustar ripleyusers\alias{gtkAdjustmentConfigure} \name{gtkAdjustmentConfigure} \title{gtkAdjustmentConfigure} \description{Sets all properties of the adjustment at once.} \usage{gtkAdjustmentConfigure(object, value, lower, upper, step.increment, page.increment, page.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{value}}{the new value} \item{\verb{lower}}{the new minimum value} \item{\verb{upper}}{the new maximum value} \item{\verb{step.increment}}{the new step increment} \item{\verb{page.increment}}{the new page increment} \item{\verb{page.size}}{the new page size} } \details{Use this function to avoid multiple emissions of the "changed" signal. See \code{\link{gtkAdjustmentSetLower}} for an alternative way of compressing multiple emissions of "changed" into one. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererStartEditing.Rd0000644000176000001440000000176412362217677017720 0ustar ripleyusers\alias{gtkCellRendererStartEditing} \name{gtkCellRendererStartEditing} \title{gtkCellRendererStartEditing} \description{Passes an activate event to the cell renderer for possible processing.} \usage{gtkCellRendererStartEditing(object, event, widget, path, background.area, cell.area, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRenderer}}} \item{\verb{event}}{a \code{\link{GdkEvent}}} \item{\verb{widget}}{widget that received the event} \item{\verb{path}}{widget-dependent string representation of the event location; e.g. for \code{\link{GtkTreeView}}, a string representation of \code{\link{GtkTreePath}}} \item{\verb{background.area}}{background area as passed to \code{\link{gtkCellRendererRender}}} \item{\verb{cell.area}}{cell area as passed to \code{\link{gtkCellRendererRender}}} \item{\verb{flags}}{render flags} } \value{[\code{\link{GtkCellEditable}}] A new \code{\link{GtkCellEditable}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetUpdatePolicy.Rd0000644000176000001440000000175212362217677020750 0ustar ripleyusers\alias{gtkColorSelectionSetUpdatePolicy} \name{gtkColorSelectionSetUpdatePolicy} \title{gtkColorSelectionSetUpdatePolicy} \description{ Sets the policy controlling when the color_changed signals are emitted. The available policies are: \itemize{ \item \code{GTK_UPDATE_CONTINUOUS} - signals are sent continuously as the color selection changes. \item \code{GTK_UPDATE_DISCONTINUOUS} - signals are sent only when the mouse button is released. \item \code{GTK_UPDATE_DELAYED} - signals are sent when the mouse button is released or when the mouse has been motionless for a period of time. } \strong{WARNING: \code{gtk_color_selection_set_update_policy} is deprecated and should not be used in newly-written code.} } \usage{gtkColorSelectionSetUpdatePolicy(object, policy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{policy}}{a \code{\link{GtkUpdateType}} value indicating the desired policy.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoColorCopy.Rd0000644000176000001440000000107112362217677015247 0ustar ripleyusers\alias{pangoColorCopy} \name{pangoColorCopy} \title{pangoColorCopy} \description{Creates a copy of \code{src}, Primarily used by language bindings, not that useful otherwise (since colors can just be copied by assignment in C).} \usage{pangoColorCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoColor}}] color to copy, may be \code{NULL}}} \value{[\code{\link{PangoColor}}] the newly allocated \code{\link{PangoColor}}, or \code{NULL} if \code{src} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetDisplay.Rd0000644000176000001440000000072512362217677016513 0ustar ripleyusers\alias{gdkDrawableGetDisplay} \name{gdkDrawableGetDisplay} \title{gdkDrawableGetDisplay} \description{Gets the \code{\link{GdkDisplay}} associated with a \code{\link{GdkDrawable}}.} \usage{gdkDrawableGetDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] the \code{\link{GdkDisplay}} associated with \code{drawable}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetOffset.Rd0000644000176000001440000000104112362217677016373 0ustar ripleyusers\alias{gtkTextIterGetOffset} \name{gtkTextIterGetOffset} \title{gtkTextIterGetOffset} \description{Returns the character offset of an iterator. Each character in a \code{\link{GtkTextBuffer}} has an offset, starting with 0 for the first character in the buffer. Use \code{\link{gtkTextBufferGetIterAtOffset}} to convert an offset back into an iterator.} \usage{gtkTextIterGetOffset(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] a character offset} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonPressed.Rd0000644000176000001440000000104112362217677015615 0ustar ripleyusers\alias{gtkButtonPressed} \name{gtkButtonPressed} \title{gtkButtonPressed} \description{ Emits a \code{\link{gtkButtonPressed}} signal to the given \code{\link{GtkButton}}. \strong{WARNING: \code{gtk_button_pressed} has been deprecated since version 2.20 and should not be used in newly-written code. Use the \verb{"button-press-event"} signal.} } \usage{gtkButtonPressed(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want to send the signal to.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamClearPending.Rd0000644000176000001440000000047112362217677017212 0ustar ripleyusers\alias{gInputStreamClearPending} \name{gInputStreamClearPending} \title{gInputStreamClearPending} \description{Clears the pending flag on \code{stream}.} \usage{gInputStreamClearPending(object)} \arguments{\item{\verb{object}}{input stream}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetAnonymous.Rd0000644000176000001440000000067512362217677020025 0ustar ripleyusers\alias{gMountOperationGetAnonymous} \name{gMountOperationGetAnonymous} \title{gMountOperationGetAnonymous} \description{Check to see whether the mount operation is being used for an anonymous user.} \usage{gMountOperationGetAnonymous(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[logical] \code{TRUE} if mount operation is anonymous.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GVolumeMonitor.Rd0000644000176000001440000001232012362217677015236 0ustar ripleyusers\alias{GVolumeMonitor} \name{GVolumeMonitor} \title{GVolumeMonitor} \description{Volume Monitor} \section{Methods and Functions}{ \code{\link{gVolumeMonitorGet}()}\cr \code{\link{gVolumeMonitorGetConnectedDrives}(object)}\cr \code{\link{gVolumeMonitorGetVolumes}(object)}\cr \code{\link{gVolumeMonitorGetMounts}(object)}\cr \code{\link{gVolumeMonitorAdoptOrphanMount}(mount)}\cr \code{\link{gVolumeMonitorGetMountForUuid}(object, uuid)}\cr \code{\link{gVolumeMonitorGetVolumeForUuid}(object, uuid)}\cr } \section{Hierarchy}{\preformatted{GObject +----GVolumeMonitor}} \section{Detailed Description}{\code{\link{GVolumeMonitor}} is for listing the user interesting devices and volumes on the computer. In other words, what a file selector or file manager would show in a sidebar. \code{\link{GVolumeMonitor}} is not thread-default-context aware, and so should not be used other than from the main thread, with no thread-default-context active.} \section{Structures}{\describe{\item{\verb{GVolumeMonitor}}{ A Volume Monitor that watches for volume events. }}} \section{Signals}{\describe{ \item{\code{drive-changed(volume.monitor, drive, user.data)}}{ Emitted when a drive changes. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{drive}}{the drive that changed} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drive-connected(volume.monitor, drive, user.data)}}{ Emitted when a drive is connected to the system. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{drive}}{a \code{\link{GDrive}} that was connected.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drive-disconnected(volume.monitor, drive, user.data)}}{ Emitted when a drive is disconnected from the system. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{drive}}{a \code{\link{GDrive}} that was disconnected.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drive-eject-button(volume.monitor, drive, user.data)}}{ Emitted when the eject button is pressed on \code{drive}. Since 2.18 \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{drive}}{the drive where the eject button was pressed} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drive-stop-button(volume.monitor, drive, user.data)}}{ Emitted when the stop button is pressed on \code{drive}. Since 2.22 \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{drive}}{the drive where the stop button was pressed} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mount-added(volume.monitor, mount, user.data)}}{ Emitted when a mount is added. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{mount}}{a \code{\link{GMount}} that was added.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mount-changed(volume.monitor, mount, user.data)}}{ Emitted when a mount changes. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{mount}}{a \code{\link{GMount}} that changed.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mount-pre-unmount(volume.monitor, mount, user.data)}}{ Emitted when a mount is about to be removed. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{mount}}{a \code{\link{GMount}} that is being unmounted.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{mount-removed(volume.monitor, mount, user.data)}}{ Emitted when a mount is removed. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{mount}}{a \code{\link{GMount}} that was removed.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{volume-added(volume.monitor, volume, user.data)}}{ Emitted when a mountable volume is added to the system. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{volume}}{a \code{\link{GVolume}} that was added.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{volume-changed(volume.monitor, volume, user.data)}}{ Emitted when mountable volume is changed. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{volume}}{a \code{\link{GVolume}} that changed.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{volume-removed(volume.monitor, volume, user.data)}}{ Emitted when a mountable volume is removed from the system. \describe{ \item{\code{volume.monitor}}{The volume monitor emitting the signal.} \item{\code{volume}}{a \code{\link{GVolume}} that was removed.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gio/GVolumeMonitor.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetFileType.Rd0000644000176000001440000000065712362217677016302 0ustar ripleyusers\alias{gFileInfoSetFileType} \name{gFileInfoSetFileType} \title{gFileInfoSetFileType} \description{Sets the file type in a \code{\link{GFileInfo}} to \code{type}. See \code{G_FILE_ATTRIBUTE_STANDARD_TYPE}.} \usage{gFileInfoSetFileType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{type}}{a \code{\link{GFileType}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryCreateItemsAc.Rd0000644000176000001440000000161612362217677017644 0ustar ripleyusers\alias{gtkItemFactoryCreateItemsAc} \name{gtkItemFactoryCreateItemsAc} \title{gtkItemFactoryCreateItemsAc} \description{ Creates the menu items from the \code{entries}. \strong{WARNING: \code{gtk_item_factory_create_items_ac} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryCreateItemsAc(object, entries, callback.data, callback.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{entries}}{a list of \code{\link{GtkItemFactoryEntry}}s} \item{\verb{callback.data}}{data passed to the callback functions of all entries} \item{\verb{callback.type}}{1 if the callback functions in \code{entries} are of type \code{\link{GtkItemFactoryCallback1}}, 2 if they are of type \code{\link{GtkItemFactoryCallback2}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabDetachable.Rd0000644000176000001440000000317112362217677017642 0ustar ripleyusers\alias{gtkNotebookSetTabDetachable} \name{gtkNotebookSetTabDetachable} \title{gtkNotebookSetTabDetachable} \description{Sets whether the tab can be detached from \code{notebook} to another notebook or widget.} \usage{gtkNotebookSetTabDetachable(object, child, detachable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a child \code{\link{GtkWidget}}} \item{\verb{detachable}}{whether the tab is detachable or not} } \details{Note that 2 notebooks must share a common group identificator (see \code{\link{gtkNotebookSetGroupId}}) to allow automatic tabs interchange between them. If you want a widget to interact with a notebook through DnD (i.e.: accept dragged tabs from it) it must be set as a drop destination and accept the target "GTK_NOTEBOOK_TAB". The notebook will fill the selection with a GtkWidget** pointing to the child widget that corresponds to the dropped tab. \preformatted{ on_drop_zone_drag_data_received <- function(widget, context, x, y, selection_data, info, time, user_data) { notebook <- context$getWidget() child <- selection_data$data # unfortunately, it's not possible to actually use 'child' - there # would need to be a way to derefernce it and make an externalptr # if you need this functionality, please let the RGtk2 maintainer know. # process_widget(child) # notebook$remove(child) } } If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbGcSetForeground.Rd0000644000176000001440000000111612362217677016472 0ustar ripleyusers\alias{gdkRgbGcSetForeground} \name{gdkRgbGcSetForeground} \title{gdkRgbGcSetForeground} \description{ Sets the foreground color in \code{gc} to the specified color (or the closest approximation, in the case of limited visuals). \strong{WARNING: \code{gdk_rgb_gc_set_foreground} is deprecated and should not be used in newly-written code.} } \usage{gdkRgbGcSetForeground(gc, rgb)} \arguments{ \item{\verb{gc}}{The \code{\link{GdkGC}} to modify.} \item{\verb{rgb}}{The color, represented as a 0xRRGGBB integer value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetDragTargetItem.Rd0000644000176000001440000000064612362217677020506 0ustar ripleyusers\alias{gtkToolPaletteGetDragTargetItem} \name{gtkToolPaletteGetDragTargetItem} \title{gtkToolPaletteGetDragTargetItem} \description{Gets the target entry for a dragged \code{\link{GtkToolItem}}.} \usage{gtkToolPaletteGetDragTargetItem()} \details{Since 2.20} \value{[\code{\link{GtkTargetEntry}}] the \code{\link{GtkTargetEntry}} for a dragged item.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromFile.Rd0000644000176000001440000000211611766145227016136 0ustar ripleyusers\alias{gtkImageNewFromFile} \name{gtkImageNewFromFile} \title{gtkImageNewFromFile} \description{Creates a new \code{\link{GtkImage}} displaying the file \code{filename}. If the file isn't found or can't be loaded, the resulting \code{\link{GtkImage}} will display a "broken image" icon. This function never returns \code{NULL}, it always returns a valid \code{\link{GtkImage}} widget.} \usage{gtkImageNewFromFile(filename, show = TRUE)} \arguments{\item{\verb{filename}}{a filename}} \details{If the file contains an animation, the image will contain an animation. If you need to detect failures to load the file, use \code{\link{gdkPixbufNewFromFile}} to load the file yourself, then create the \code{\link{GtkImage}} from the pixbuf. (Or for animations, use \code{\link{gdkPixbufAnimationNewFromFile}}). The storage type (\code{\link{gtkImageGetStorageType}}) of the returned image is not defined, it will be whatever is appropriate for displaying the file.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderNewWithMnemonic.Rd0000644000176000001440000000151312362217677017562 0ustar ripleyusers\alias{gtkExpanderNewWithMnemonic} \name{gtkExpanderNewWithMnemonic} \title{gtkExpanderNewWithMnemonic} \description{Creates a new expander using \code{label} as the text of the label. If characters in \code{label} are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the button.} \usage{gtkExpanderNewWithMnemonic(label = NULL)} \arguments{\item{\verb{label}}{the text of the label with an underscore in front of the mnemonic character. \emph{[ \acronym{allow-none} ]}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkExpander}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkArrowSet.Rd0000644000176000001440000000073212362217677014570 0ustar ripleyusers\alias{gtkArrowSet} \name{gtkArrowSet} \title{gtkArrowSet} \description{Sets the direction and style of the \code{\link{GtkArrow}}, \code{arrow}.} \usage{gtkArrowSet(object, arrow.type, shadow.type)} \arguments{ \item{\verb{object}}{a widget of type \code{\link{GtkArrow}}.} \item{\verb{arrow.type}}{a valid \code{\link{GtkArrowType}}.} \item{\verb{shadow.type}}{a valid \code{\link{GtkShadowType}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufRotateSimple.Rd0000644000176000001440000000106112362217677016564 0ustar ripleyusers\alias{gdkPixbufRotateSimple} \name{gdkPixbufRotateSimple} \title{gdkPixbufRotateSimple} \description{Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.} \usage{gdkPixbufRotateSimple(object, angle)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{angle}}{the angle to rotate by} } \details{Since 2.6} \value{[\code{\link{GdkPixbuf}}] the new \code{\link{GdkPixbuf}}, or \code{NULL} if not enough memory could be allocated for it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetStorageType.Rd0000644000176000001440000000103012362217677016663 0ustar ripleyusers\alias{gtkImageGetStorageType} \name{gtkImageGetStorageType} \title{gtkImageGetStorageType} \description{Gets the type of representation being used by the \code{\link{GtkImage}} to store image data. If the \code{\link{GtkImage}} has no image data, the return value will be \code{GTK_IMAGE_EMPTY}.} \usage{gtkImageGetStorageType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{[\code{\link{GtkImageType}}] image representation being used} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetActionWidget.Rd0000644000176000001440000000145412362217677017562 0ustar ripleyusers\alias{gtkNotebookSetActionWidget} \name{gtkNotebookSetActionWidget} \title{gtkNotebookSetActionWidget} \description{Sets \code{widget} as one of the action widgets. Depending on the pack type the widget will be placed before or after the tabs. You can use a \code{\link{GtkBox}} if you need to pack more than one widget on the same side.} \usage{gtkNotebookSetActionWidget(object, widget, pack.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{widget}}{a \code{\link{GtkWidget}}} \item{\verb{pack.type}}{pack type of the action widget} } \details{Note that action widgets are "internal" children of the notebook and thus not included in the list returned from \code{\link{gtkContainerForeach}}. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportGetHadjustment.Rd0000644000176000001440000000065212362217677017511 0ustar ripleyusers\alias{gtkViewportGetHadjustment} \name{gtkViewportGetHadjustment} \title{gtkViewportGetHadjustment} \description{Returns the horizontal adjustment of the viewport.} \usage{gtkViewportGetHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkViewport}}.}} \value{[\code{\link{GtkAdjustment}}] the horizontal adjustment of \code{viewport}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetChildShapes.Rd0000644000176000001440000000105512362217677017034 0ustar ripleyusers\alias{gdkWindowSetChildShapes} \name{gdkWindowSetChildShapes} \title{gdkWindowSetChildShapes} \description{Sets the shape mask of \code{window} to the union of shape masks for all children of \code{window}, ignoring the shape mask of \code{window} itself. Contrast with \code{\link{gdkWindowMergeChildShapes}} which includes the shape mask of \code{window} in the masks to be merged.} \usage{gdkWindowSetChildShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetWrapWidth.Rd0000644000176000001440000000102412362217677017033 0ustar ripleyusers\alias{gtkComboBoxSetWrapWidth} \name{gtkComboBoxSetWrapWidth} \title{gtkComboBoxSetWrapWidth} \description{Sets the wrap width of \code{combo.box} to be \code{width}. The wrap width is basically the preferred number of columns when you want the popup to be layed out in a table.} \usage{gtkComboBoxSetWrapWidth(object, width)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}} \item{\verb{width}}{Preferred number of columns} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableIsRowSelected.Rd0000644000176000001440000000113312362217677016474 0ustar ripleyusers\alias{atkTableIsRowSelected} \name{atkTableIsRowSelected} \title{atkTableIsRowSelected} \description{Gets a boolean value indicating whether the specified \code{row} is selected} \usage{atkTableIsRowSelected(object, row)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} } \value{[logical] a gboolean representing if the row is selected, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetPageType.Rd0000644000176000001440000000072512362217677017074 0ustar ripleyusers\alias{gtkAssistantGetPageType} \name{gtkAssistantGetPageType} \title{gtkAssistantGetPageType} \description{Gets the page type of \code{page}.} \usage{gtkAssistantGetPageType(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} } \details{Since 2.10} \value{[\code{\link{GtkAssistantPageType}}] the page type of \code{page}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GOutputStream.Rd0000644000176000001440000000610612362217677015100 0ustar ripleyusers\alias{GOutputStream} \alias{GOutputStreamSpliceFlags} \name{GOutputStream} \title{GOutputStream} \description{Base class for implementing streaming output} \section{Methods and Functions}{ \code{\link{gOutputStreamWrite}(object, buffer, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gOutputStreamWriteAll}(object, buffer, bytes.written, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gOutputStreamSplice}(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gOutputStreamFlush}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gOutputStreamClose}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gOutputStreamWriteAsync}(object, buffer, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gOutputStreamWriteFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gOutputStreamSpliceAsync}(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gOutputStreamSpliceFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gOutputStreamFlushAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gOutputStreamFlushFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gOutputStreamCloseAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gOutputStreamCloseFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gOutputStreamIsClosed}(object)}\cr \code{\link{gOutputStreamHasPending}(object)}\cr \code{\link{gOutputStreamSetPending}(object, .errwarn = TRUE)}\cr \code{\link{gOutputStreamClearPending}(object)}\cr } \section{Hierarchy}{\preformatted{ GFlags +----GOutputStreamSpliceFlags GObject +----GOutputStream +----GFilterOutputStream +----GFileOutputStream +----GMemoryOutputStream +----GUnixOutputStream }} \section{Detailed Description}{GOutputStream has functions to write to a stream (\code{\link{gOutputStreamWrite}}), to close a stream (\code{\link{gOutputStreamClose}}) and to flush pending writes (\code{\link{gOutputStreamFlush}}). To copy the content of an input stream to an output stream without manually handling the reads and writes, use \code{\link{gOutputStreamSplice}}. All of these functions have async variants too.} \section{Structures}{\describe{\item{\verb{GOutputStream}}{ Base class for writing output. All classes derived from GOutputStream should implement synchronous writing, splicing, flushing and closing streams, but may implement asynchronous versions. }}} \section{Enums and Flags}{\describe{\item{\verb{GOutputStreamSpliceFlags}}{ GOutputStreamSpliceFlags determine how streams should be spliced. \describe{ \item{\verb{none}}{Do not close either stream.} \item{\verb{close-source}}{Close the source stream after the splice.} \item{\verb{close-target}}{Close the target stream after the splice.} } }}} \references{\url{http://library.gnome.org/devel//gio/GOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetReorderable.Rd0000644000176000001440000000074212362217677020542 0ustar ripleyusers\alias{gtkTreeViewColumnGetReorderable} \name{gtkTreeViewColumnGetReorderable} \title{gtkTreeViewColumnGetReorderable} \description{Returns \code{TRUE} if the \code{tree.column} can be reordered by the user.} \usage{gtkTreeViewColumnGetReorderable(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \value{[logical] \code{TRUE} if the \code{tree.column} can be reordered by the user.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarGetMessageArea.Rd0000644000176000001440000000063512362217677017532 0ustar ripleyusers\alias{gtkStatusbarGetMessageArea} \name{gtkStatusbarGetMessageArea} \title{gtkStatusbarGetMessageArea} \description{Retrieves the box containing the label widget.} \usage{gtkStatusbarGetMessageArea(object)} \arguments{\item{\verb{object}}{a \verb{GtkStatusBar}}} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkBox}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapForeach.Rd0000644000176000001440000000146112362217677015757 0ustar ripleyusers\alias{gtkAccelMapForeach} \name{gtkAccelMapForeach} \title{gtkAccelMapForeach} \description{Loops over the entries in the accelerator map whose accel path doesn't match any of the filters added with \code{\link{gtkAccelMapAddFilter}}, and execute \code{foreach.func} on each. The signature of \code{foreach.func} is that of \code{\link{GtkAccelMapForeach}}, the \code{changed} parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump).} \usage{gtkAccelMapForeach(data = NULL, foreach.func)} \arguments{ \item{\verb{data}}{data to be passed into \code{foreach.func}} \item{\verb{foreach.func}}{function to be executed for each accel map entry which is not filtered out} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalIsUpper.Rd0000644000176000001440000000064412362217677015547 0ustar ripleyusers\alias{gdkKeyvalIsUpper} \name{gdkKeyvalIsUpper} \title{gdkKeyvalIsUpper} \description{Returns \code{TRUE} if the given key value is in upper case.} \usage{gdkKeyvalIsUpper(keyval)} \arguments{\item{\verb{keyval}}{a key value.}} \value{[logical] \code{TRUE} if \code{keyval} is in upper case, or if \code{keyval} is not subject to case conversion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentChooserWidget.Rd0000644000176000001440000000360312362217677016671 0ustar ripleyusers\alias{GtkRecentChooserWidget} \alias{gtkRecentChooserWidget} \name{GtkRecentChooserWidget} \title{GtkRecentChooserWidget} \description{Displays recently used files} \section{Methods and Functions}{ \code{\link{gtkRecentChooserWidgetNew}()}\cr \code{\link{gtkRecentChooserWidgetNewForManager}(manager = NULL, show = TRUE)}\cr \code{gtkRecentChooserWidget(manager = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkRecentChooserWidget}} \section{Interfaces}{GtkRecentChooserWidget implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkOrientable}} and \code{\link{GtkRecentChooser}}.} \section{Detailed Description}{\code{\link{GtkRecentChooserWidget}} is a widget suitable for selecting recently used files. It is the main building block of a \code{\link{GtkRecentChooserDialog}}. Most applications will only need to use the latter; you can use \code{\link{GtkRecentChooserWidget}} as part of a larger window if you have special needs. Note that \code{\link{GtkRecentChooserWidget}} does not have any methods of its own. Instead, you should use the functions that work on a \code{\link{GtkRecentChooser}}. Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkRecentChooserWidget}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkRecentChooserWidget} is the equivalent of \code{\link{gtkRecentChooserWidgetNewForManager}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentChooserWidget.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkRecentChooser}} \code{\link{GtkRecentChooserDialog}} } \keyword{internal} RGtk2/man/gtkRecentChooserSetSortFunc.Rd0000644000176000001440000000175512362217677017733 0ustar ripleyusers\alias{gtkRecentChooserSetSortFunc} \name{gtkRecentChooserSetSortFunc} \title{gtkRecentChooserSetSortFunc} \description{Sets the comparison function used when sorting to be \code{sort.func}. If the \code{chooser} has the sort type set to \verb{GTK_RECENT_SORT_CUSTOM} then the chooser will sort using this function.} \usage{gtkRecentChooserSetSortFunc(object, sort.func, sort.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{sort.func}}{the comparison function} \item{\verb{sort.data}}{user data to pass to \code{sort.func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{To the comparison function will be passed two \code{\link{GtkRecentInfo}} structs and \code{sort.data}; \code{sort.func} should return a positive integer if the first item comes before the second, zero if the two items are equal and a negative integer if the first item comes after the second. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLineReadonly.Rd0000644000176000001440000000123412362217677020406 0ustar ripleyusers\alias{pangoLayoutIterGetLineReadonly} \name{pangoLayoutIterGetLineReadonly} \title{pangoLayoutIterGetLineReadonly} \description{Gets the current line for read-only access.} \usage{pangoLayoutIterGetLineReadonly(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \details{This is a faster alternative to \code{\link{pangoLayoutIterGetLine}}, but the user is not expected to modify the contents of the line (glyphs, glyph widths, etc.). Since 1.16} \value{[\code{\link{PangoLayoutLine}}] the current line, that should not be modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetDragDestItem.Rd0000644000176000001440000000104112362217677017450 0ustar ripleyusers\alias{gtkIconViewSetDragDestItem} \name{gtkIconViewSetDragDestItem} \title{gtkIconViewSetDragDestItem} \description{Sets the item that is highlighted for feedback.} \usage{gtkIconViewSetDragDestItem(object, path, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{path}}{The path of the item to highlight, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pos}}{Specifies where to drop, relative to the item} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoCopyInto.Rd0000644000176000001440000000064212362217677015643 0ustar ripleyusers\alias{gFileInfoCopyInto} \name{gFileInfoCopyInto} \title{gFileInfoCopyInto} \description{Copies all of the \verb{GFileAttribute}s from \code{src.info} to \code{dest.info}.} \usage{gFileInfoCopyInto(object, dest.info)} \arguments{ \item{\verb{object}}{source to copy attributes from.} \item{\verb{dest.info}}{destination to copy attributes to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetActive.Rd0000644000176000001440000000100712362217677015516 0ustar ripleyusers\alias{gtkMenuGetActive} \name{gtkMenuGetActive} \title{gtkMenuGetActive} \description{Returns the selected menu item from the menu. This is used by the \code{\link{GtkOptionMenu}}.} \usage{gtkMenuGetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkMenuItem}} that was last selected in the menu. If a selection has not yet been made, the first menu item is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFileChooserDialog.Rd0000644000176000001440000001116312362217677016304 0ustar ripleyusers\alias{GtkFileChooserDialog} \alias{gtkFileChooserDialog} \name{GtkFileChooserDialog} \title{GtkFileChooserDialog} \description{A file chooser dialog, suitable for "File/Open" or "File/Save" commands} \section{Methods and Functions}{ \code{\link{gtkFileChooserDialogNew}(title = NULL, parent = NULL, action, ..., show = TRUE)}\cr \code{\link{gtkFileChooserDialogNewWithBackend}(title = NULL, parent = NULL, action, backend, ..., show = TRUE)}\cr \code{\link{gtkFileChooserDialogNewWithBackend}(title = NULL, parent = NULL, action, backend, ..., show = TRUE)}\cr \code{gtkFileChooserDialog(title = NULL, parent = NULL, action, ..., backend, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFileChooserDialog}} \section{Interfaces}{GtkFileChooserDialog implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkFileChooser}}.} \section{Detailed Description}{\code{\link{GtkFileChooserDialog}} is a dialog box suitable for use with "File/Open" or "File/Save as" commands. This widget works by putting a \code{\link{GtkFileChooserWidget}} inside a \code{\link{GtkDialog}}. It exposes the \verb{GtkFileChooserIface} interface, so you can use all of the \code{\link{GtkFileChooser}} functions on the file chooser dialog as well as those for \code{\link{GtkDialog}}. Note that \code{\link{GtkFileChooserDialog}} does not have any methods of its own. Instead, you should use the functions that work on a \code{\link{GtkFileChooser}}. \emph{Typical usage} \preformatted{ ###### # Request a file from the user and open it ###### # This is how one creates a dialog with buttons and associated response codes. # (Please ignore the C "Response Code" example in the next section) dialog <- gtkFileChooserDialog("Open File", parent_window, "open", "gtk-cancel", GtkResponseType["cancel"], "gtk-open", GtkResponseType["accept"]) if (dialog$run() == GtkResponseType["accept"]) { filename <- dialog$getFilename() f <- file(filename) } dialog$destroy() }} \section{Response Codes}{\code{\link{GtkFileChooserDialog}} inherits from \code{\link{GtkDialog}}, so buttons that go in its action area have response codes such as \verb{GTK_RESPONSE_ACCEPT} and \verb{GTK_RESPONSE_CANCEL}. For example, you could call \code{\link{gtkFileChooserDialogNew}} as follows: \preformatted{GtkWidget *dialog; dialog = gtk_file_chooser_dialog_new ("Open File", parent_window, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); } This will create buttons for "Cancel" and "Open" that use stock response identifiers from \code{\link{GtkResponseType}}. For most dialog boxes you can use your own custom response codes rather than the ones in \code{\link{GtkResponseType}}, but \code{\link{GtkFileChooserDialog}} assumes that its "accept"-type action, e.g. an "Open" or "Save" button, \emph{will} have one of the following response codes: \itemize{ \item \verb{GTK_RESPONSE_ACCEPT} \item \verb{GTK_RESPONSE_OK} \item \verb{GTK_RESPONSE_YES} \item \verb{GTK_RESPONSE_APPLY} } This is because \code{\link{GtkFileChooserDialog}} must intercept responses and switch to folders if appropriate, rather than letting the dialog terminate -- the implementation uses these known response codes to know which responses can be blocked if appropriate. \strong{PLEASE NOTE:} To summarize, make sure you use a stock response code when you use \code{\link{GtkFileChooserDialog}} to ensure proper operation. } \section{Structures}{\describe{\item{\verb{GtkFileChooserDialog}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkFileChooserDialog} is the result of collapsing the constructors of \code{GtkFileChooserDialog} (\code{\link{gtkFileChooserDialogNew}}, \code{\link{gtkFileChooserDialogNewWithBackend}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkFileChooserDialog.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkFileChooser}} \code{\link{GtkDialog}} } \keyword{internal} RGtk2/man/gtkWindowGetGroup.Rd0000644000176000001440000000115612362217677015747 0ustar ripleyusers\alias{gtkWindowGetGroup} \name{gtkWindowGetGroup} \title{gtkWindowGetGroup} \description{Returns the group for \code{window} or the default group, if \code{window} is \code{NULL} or if \code{window} does not have an explicit window group.} \usage{gtkWindowGetGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \details{Since 2.10} \value{[\code{\link{GtkWindowGroup}}] the \code{\link{GtkWindowGroup}} for a window or the default group. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetFocusOnMap.Rd0000644000176000001440000000067012362217677016665 0ustar ripleyusers\alias{gtkWindowGetFocusOnMap} \name{gtkWindowGetFocusOnMap} \title{gtkWindowGetFocusOnMap} \description{Gets the value set by \code{\link{gtkWindowSetFocusOnMap}}.} \usage{gtkWindowGetFocusOnMap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if window should receive the input focus when mapped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetCtm.Rd0000644000176000001440000000103612362217677016456 0ustar ripleyusers\alias{cairoScaledFontGetCtm} \name{cairoScaledFontGetCtm} \title{cairoScaledFontGetCtm} \description{Stores the CTM with which \code{scaled.font} was created into \code{ctm}.} \usage{cairoScaledFontGetCtm(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.2} \value{ A list containing the following elements: \item{\verb{ctm}}{[\code{\link{CairoMatrix}}] return value for the CTM} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetNItems.Rd0000644000176000001440000000064612362217677017357 0ustar ripleyusers\alias{gtkToolItemGroupGetNItems} \name{gtkToolItemGroupGetNItems} \title{gtkToolItemGroupGetNItems} \description{Gets the number of tool items in \code{group}.} \usage{gtkToolItemGroupGetNItems(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItemGroup}}}} \details{Since 2.20} \value{[numeric] the number of tool items in \code{group}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelParseUline.Rd0000644000176000001440000000162512362217677016033 0ustar ripleyusers\alias{gtkLabelParseUline} \name{gtkLabelParseUline} \title{gtkLabelParseUline} \description{ Parses the given string for underscores and converts the next character to an underlined character. The last character that was underlined will have its lower-cased accelerator keyval returned (i.e. "_File" would return the keyval for "f". This is probably only used within the GTK+ library itself for menu items and such. \strong{WARNING: \code{gtk_label_parse_uline} is deprecated and should not be used in newly-written code. Use \code{\link{gtkLabelSetUseUnderline}} instead.} } \usage{gtkLabelParseUline(object, string)} \arguments{ \item{\verb{object}}{The \code{\link{GtkLabel}} you want to affect.} \item{\verb{string}}{The string you want to parse for underlines.} } \value{[numeric] The lowercase keyval of the last character underlined.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageCopy.Rd0000644000176000001440000000107012362217677015723 0ustar ripleyusers\alias{pangoCoverageCopy} \name{pangoCoverageCopy} \title{pangoCoverageCopy} \description{Copy an existing \code{\link{PangoCoverage}}. (This function may now be unnecessary since we refcount the structure. File a bug if you use it.)} \usage{pangoCoverageCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCoverage}}] a \code{\link{PangoCoverage}}}} \value{[\code{\link{PangoCoverage}}] the newly allocated \code{\link{PangoCoverage}}, with a reference count of one,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAppendTo.Rd0000644000176000001440000000312312362217677014772 0ustar ripleyusers\alias{gFileAppendTo} \name{gFileAppendTo} \title{gFileAppendTo} \description{Gets an output stream for appending data to the file. If the file doesn't already exist it is created.} \usage{gFileAppendTo(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{By default files created are generally readable by everyone, but if you pass \verb{G_FILE_CREATE_PRIVATE} in \code{flags} the file will be made readable only to the current user, to the level that is supported on the target filesystem. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Some file systems don't allow all file names, and may return an \code{G_IO_ERROR_INVALID_FILENAME} error. If the file is a directory the \code{G_IO_ERROR_IS_DIRECTORY} error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a \code{\link{GFileOutputStream}}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceSetMode.Rd0000644000176000001440000000102012362217677015451 0ustar ripleyusers\alias{gdkDeviceSetMode} \name{gdkDeviceSetMode} \title{gdkDeviceSetMode} \description{Sets a the mode of an input device. The mode controls if the device is active and whether the device's range is mapped to the entire screen or to a single window.} \usage{gdkDeviceSetMode(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}.} \item{\verb{mode}}{the input mode.} } \value{[logical] \code{TRUE} if the mode was successfully changed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewExpandAll.Rd0000644000176000001440000000050612362217677016344 0ustar ripleyusers\alias{gtkTreeViewExpandAll} \name{gtkTreeViewExpandAll} \title{gtkTreeViewExpandAll} \description{Recursively expands all nodes in the \code{tree.view}.} \usage{gtkTreeViewExpandAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinnerNew.Rd0000644000176000001440000000047612362217677015117 0ustar ripleyusers\alias{gtkSpinnerNew} \name{gtkSpinnerNew} \title{gtkSpinnerNew} \description{Returns a new spinner widget. Not yet started.} \usage{gtkSpinnerNew(show = TRUE)} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkSpinner}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkOffscreenWindowSetEmbedder.Rd0000644000176000001440000000133312362217677020206 0ustar ripleyusers\alias{gdkOffscreenWindowSetEmbedder} \name{gdkOffscreenWindowSetEmbedder} \title{gdkOffscreenWindowSetEmbedder} \description{Sets \code{window} to be embedded in \code{embedder}.} \usage{gdkOffscreenWindowSetEmbedder(window, embedder)} \arguments{ \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{embedder}}{the \code{\link{GdkWindow}} that \code{window} gets embedded in} } \details{To fully embed an offscreen window, in addition to calling this function, it is also necessary to handle the \verb{"pick-embedded-child"} signal on the \code{embedder} and the \verb{"to-embedder"} and \verb{"from-embedder"} signals on \code{window}. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionGetLocalAddress.Rd0000644000176000001440000000131712362217677020654 0ustar ripleyusers\alias{gSocketConnectionGetLocalAddress} \name{gSocketConnectionGetLocalAddress} \title{gSocketConnectionGetLocalAddress} \description{Try to get the local a socket connection.} \usage{gSocketConnectionGetLocalAddress(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketConnection}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] a \code{\link{GSocketAddress}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSeekableSeek.Rd0000644000176000001440000000225412362217677015007 0ustar ripleyusers\alias{gSeekableSeek} \name{gSeekableSeek} \title{gSeekableSeek} \description{Seeks in the stream by the given \code{offset}, modified by \code{type}.} \usage{gSeekableSeek(object, offset, type = "G_SEEK_SET", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSeekable}}.} \item{\verb{offset}}{a \verb{numeric}.} \item{\verb{type}}{a \code{\link{GSeekType}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetValueAsInt.Rd0000644000176000001440000000062612362217677017525 0ustar ripleyusers\alias{gtkSpinButtonGetValueAsInt} \name{gtkSpinButtonGetValueAsInt} \title{gtkSpinButtonGetValueAsInt} \description{Get the value \code{spin.button} represented as an integer.} \usage{gtkSpinButtonGetValueAsInt(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[integer] the value of \code{spin.button}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetAntialias.Rd0000644000176000001440000000134312362217677015712 0ustar ripleyusers\alias{cairoSetAntialias} \name{cairoSetAntialias} \title{cairoSetAntialias} \description{Set the antialiasing mode of the rasterizer used for drawing shapes. This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports \code{CAIRO_ANTIALIAS_SUBPIXEL} when drawing shapes.} \usage{cairoSetAntialias(cr, antialias)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{antialias}}{[\code{\link{CairoAntialias}}] the new antialiasing mode} } \details{Note that this option does not affect text rendering, instead see \code{\link{cairoFontOptionsSetAntialias}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetClipRegion.Rd0000644000176000001440000000125212362217677017135 0ustar ripleyusers\alias{gdkDrawableGetClipRegion} \name{gdkDrawableGetClipRegion} \title{gdkDrawableGetClipRegion} \description{Computes the region of a drawable that potentially can be written to by drawing primitives. This region will not take into account the clip region for the GC, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives.} \usage{gdkDrawableGetClipRegion(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \value{[\code{\link{GdkRegion}}] a \code{\link{GdkRegion}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextFocusOut.Rd0000644000176000001440000000074412362217677016367 0ustar ripleyusers\alias{gtkIMContextFocusOut} \name{gtkIMContextFocusOut} \title{gtkIMContextFocusOut} \description{Notify the input method that the widget to which this input context corresponds has lost focus. The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change.} \usage{gtkIMContextFocusOut(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMContext}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetHasFrame.Rd0000644000176000001440000000057012362217677016172 0ustar ripleyusers\alias{gtkEntryGetHasFrame} \name{gtkEntryGetHasFrame} \title{gtkEntryGetHasFrame} \description{Gets the value set by \code{\link{gtkEntrySetHasFrame}}.} \usage{gtkEntryGetHasFrame(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \value{[logical] whether the entry has a beveled frame} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetBlinking.Rd0000644000176000001440000000067612362217677017243 0ustar ripleyusers\alias{gtkStatusIconGetBlinking} \name{gtkStatusIconGetBlinking} \title{gtkStatusIconGetBlinking} \description{Returns whether the icon is blinking, see \code{\link{gtkStatusIconSetBlinking}}.} \usage{gtkStatusIconGetBlinking(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the icon is blinking} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterIsCursorPosition.Rd0000644000176000001440000000101212362217677020001 0ustar ripleyusers\alias{gtkTextIterIsCursorPosition} \name{gtkTextIterIsCursorPosition} \title{gtkTextIterIsCursorPosition} \description{See \code{\link{gtkTextIterForwardCursorPosition}} or \code{\link{PangoLogAttr}} or \code{\link{pangoBreak}} for details on what a cursor position is.} \usage{gtkTextIterIsCursorPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if the cursor can be placed at \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetDisplay.Rd0000644000176000001440000000063712362217677016213 0ustar ripleyusers\alias{gdkScreenGetDisplay} \name{gdkScreenGetDisplay} \title{gdkScreenGetDisplay} \description{Gets the display to which the \code{screen} belongs.} \usage{gdkScreenGetDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] the display to which \code{screen} belongs} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerAddItem.Rd0000644000176000001440000000152312362217677016764 0ustar ripleyusers\alias{gtkRecentManagerAddItem} \name{gtkRecentManagerAddItem} \title{gtkRecentManagerAddItem} \description{Adds a new resource, pointed by \code{uri}, into the recently used resources list.} \usage{gtkRecentManagerAddItem(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{a valid URI} } \details{This function automatically retrieves some of the needed metadata and setting other metadata to common default values; it then feeds the data to \code{\link{gtkRecentManagerAddFull}}. See \code{\link{gtkRecentManagerAddFull}} if you want to explicitly define the metadata for the resource pointed by \code{uri}. Since 2.10} \value{[logical] \code{TRUE} if the new item was successfully added to the recently used resources list} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuPopdown.Rd0000644000176000001440000000042512362217677015274 0ustar ripleyusers\alias{gtkMenuPopdown} \name{gtkMenuPopdown} \title{gtkMenuPopdown} \description{Removes the menu from the screen.} \usage{gtkMenuPopdown(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryInfo.Rd0000644000176000001440000000451412362217677015206 0ustar ripleyusers\alias{gFileQueryInfo} \name{gFileQueryInfo} \title{gFileQueryInfo} \description{Gets the requested information about specified \code{file}. The result is a \code{\link{GFileInfo}} object that contains key-value attributes (such as the type or size of the file).} \usage{gFileQueryInfo(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The \code{attribute} value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. \code{attribute} should be a comma-separated list of attribute or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the standard namespace. An example attribute query be "standard::*,owner::user". The standard attributes are available as defines, like \verb{G_FILE_ATTRIBUTE_STANDARD_NAME}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. For symlinks, normally the information about the target of the symlink is returned, rather than information about the symlink itself. However if you pass \verb{G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS} in \code{flags} the information about the symlink itself will be returned. Also, for symlinks that point to non-existing files the information about the symlink itself will be returned. If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}} for the given \code{file}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowSetPolicy.Rd0000644000176000001440000000171012362217677017612 0ustar ripleyusers\alias{gtkScrolledWindowSetPolicy} \name{gtkScrolledWindowSetPolicy} \title{gtkScrolledWindowSetPolicy} \description{Sets the scrollbar policy for the horizontal and vertical scrollbars.} \usage{gtkScrolledWindowSetPolicy(object, hscrollbar.policy, vscrollbar.policy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{hscrollbar.policy}}{policy for horizontal bar} \item{\verb{vscrollbar.policy}}{policy for vertical bar} } \details{The policy determines when the scrollbar should appear; it is a value from the \code{\link{GtkPolicyType}} enumeration. If \code{GTK_POLICY_ALWAYS}, the scrollbar is always present; if \code{GTK_POLICY_NEVER}, the scrollbar is never present; if \code{GTK_POLICY_AUTOMATIC}, the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetRoot.Rd0000644000176000001440000000051412362217677015067 0ustar ripleyusers\alias{gMountGetRoot} \name{gMountGetRoot} \title{gMountGetRoot} \description{Gets the root directory on \code{mount}.} \usage{gMountGetRoot(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[\code{\link{GFile}}] a \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetBool.Rd0000644000176000001440000000106512362217677017113 0ustar ripleyusers\alias{gtkPrintSettingsGetBool} \name{gtkPrintSettingsGetBool} \title{gtkPrintSettingsGetBool} \description{Returns the boolean represented by the value that is associated with \code{key}. } \usage{gtkPrintSettingsGetBool(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{The string "true" represents \code{TRUE}, any other string \code{FALSE}. Since 2.10} \value{[logical] \code{TRUE}, if \code{key} maps to a true value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryRemoveDefault.Rd0000644000176000001440000000100012362217677017712 0ustar ripleyusers\alias{gtkIconFactoryRemoveDefault} \name{gtkIconFactoryRemoveDefault} \title{gtkIconFactoryRemoveDefault} \description{Removes an icon factory from the list of default icon factories. Not normally used; you might use it for a library that can be unloaded or shut down.} \usage{gtkIconFactoryRemoveDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconFactory}} previously added with \code{\link{gtkIconFactoryAddDefault}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetTextAtOffset.Rd0000644000176000001440000000506312362217677016703 0ustar ripleyusers\alias{atkTextGetTextAtOffset} \name{atkTextGetTextAtOffset} \title{atkTextGetTextAtOffset} \description{Gets the specified text.} \usage{atkTextGetTextAtOffset(object, offset, boundary.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] position} \item{\verb{boundary.type}}{[\code{\link{AtkTextBoundary}}] An \code{\link{AtkTextBoundary}}} } \details{If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character at the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start at or before the offset to the word start after the offset. The returned string will contain the word at the offset if the offset is inside a word and will contain the word before the offset if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the offset to the word end at or after the offset. The returned string will contain the word at the offset if the offset is inside a word and will contain the word after to the offset if the offset is not inside a word. If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start at or before the offset to the sentence start after the offset. The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence before the offset if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the offset to the sentence end at or after the offset. The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence after the offset if the offset is not inside a sentence. If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start at or before the offset to the line start after the offset. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the offset to the line end at or after the offset. } \value{ A list containing the following elements: \item{retval}{[character] the text at \code{offset} bounded by the specified \code{boundary.type}.} \item{\verb{start.offset}}{[integer] the start offset of the returned string} \item{\verb{end.offset}}{[integer] the offset of the first character after the returned substring} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarUnsetStyle.Rd0000644000176000001440000000062512362217677016465 0ustar ripleyusers\alias{gtkToolbarUnsetStyle} \name{gtkToolbarUnsetStyle} \title{gtkToolbarUnsetStyle} \description{Unsets a toolbar style set with \code{\link{gtkToolbarSetStyle}}, so that user preferences will be used to determine the toolbar style.} \usage{gtkToolbarUnsetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetUserData.Rd0000644000176000001440000000130112362217677017031 0ustar ripleyusers\alias{cairoPatternGetUserData} \name{cairoPatternGetUserData} \title{cairoPatternGetUserData} \description{Return user data previously attached to \code{pattern} using the specified key. If no user data has been attached with the given key this function returns \code{NULL}.} \usage{cairoPatternGetUserData(pattern, key)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the the \code{\link{CairoUserDataKey}} the user data was attached to} } \details{ Since 1.4} \value{[R object] the user data previously attached or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetShift.Rd0000644000176000001440000000126012362217677015507 0ustar ripleyusers\alias{gtkCListSetShift} \name{gtkCListSetShift} \title{gtkCListSetShift} \description{ Sets the vertical and horizontal shift of the specified cell. \strong{WARNING: \code{gtk_clist_set_shift} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetShift(object, row, column, vertical, horizontal)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} \item{\verb{vertical}}{The value to set for the vertical shift.} \item{\verb{horizontal}}{The value to set for the vertical shift.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetTextWithMnemonic.Rd0000644000176000001440000000124112362217677017700 0ustar ripleyusers\alias{gtkLabelSetTextWithMnemonic} \name{gtkLabelSetTextWithMnemonic} \title{gtkLabelSetTextWithMnemonic} \description{Sets the label's text from the string \code{str}. If characters in \code{str} are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using \code{\link{gtkLabelSetMnemonicWidget}}.} \usage{gtkLabelSetTextWithMnemonic(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{str}}{a string} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetGravity.Rd0000644000176000001440000000123112362217677020454 0ustar ripleyusers\alias{pangoFontDescriptionGetGravity} \name{pangoFontDescriptionGetGravity} \title{pangoFontDescriptionGetGravity} \description{Gets the gravity field of a font description. See \code{\link{pangoFontDescriptionSetGravity}}.} \usage{pangoFontDescriptionGetGravity(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \details{ Since 1.16} \value{[\code{\link{PangoGravity}}] the gravity field for the font description. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTipsQueryStartQuery.Rd0000644000176000001440000000106312362217677017031 0ustar ripleyusers\alias{gtkTipsQueryStartQuery} \name{gtkTipsQueryStartQuery} \title{gtkTipsQueryStartQuery} \description{ Starts a query. The \code{\link{GtkTipsQuery}} widget will take control of the mouse and as the mouse moves it will display the tooltip of the widget beneath the mouse. \strong{WARNING: \code{gtk_tips_query_start_query} is deprecated and should not be used in newly-written code.} } \usage{gtkTipsQueryStartQuery(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTipsQuery}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewGetSizeOfRow.Rd0000644000176000001440000000115312362217677017002 0ustar ripleyusers\alias{gtkCellViewGetSizeOfRow} \name{gtkCellViewGetSizeOfRow} \title{gtkCellViewGetSizeOfRow} \description{Sets \code{requisition} to the size needed by \code{cell.view} to display the model row pointed to by \code{path}.} \usage{gtkCellViewGetSizeOfRow(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}}} } \details{Since 2.6} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}} \item{\verb{requisition}}{return location for the size} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableCustomTagEnd.Rd0000644000176000001440000000130212362217677017155 0ustar ripleyusers\alias{gtkBuildableCustomTagEnd} \name{gtkBuildableCustomTagEnd} \title{gtkBuildableCustomTagEnd} \description{This is called at the end of each custom element handled by the buildable.} \usage{gtkBuildableCustomTagEnd(object, builder, child, tagname, data)} \arguments{ \item{\verb{object}}{A \code{\link{GtkBuildable}}} \item{\verb{builder}}{\code{\link{GtkBuilder}} used to construct this object} \item{\verb{child}}{child object or \code{NULL} for non-child tags. \emph{[ \acronym{allow-none} ]}} \item{\verb{tagname}}{name of tag} \item{\verb{data}}{user data that will be passed in to parser functions} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveStart.Rd0000644000176000001440000000162012362217677014547 0ustar ripleyusers\alias{gDriveStart} \name{gDriveStart} \title{gDriveStart} \description{Asynchronously starts a drive.} \usage{gDriveStart(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{flags}}{flags affecting the start operation.} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data to pass to \code{callback}} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDriveStartFinish}} to obtain the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSpinButton.Rd0000644000176000001440000002230012362217677015062 0ustar ripleyusers\alias{GtkSpinButton} \alias{gtkSpinButton} \alias{GtkSpinButtonUpdatePolicy} \alias{GtkSpinType} \name{GtkSpinButton} \title{GtkSpinButton} \description{Retrieve an integer or floating-point number from the user} \section{Methods and Functions}{ \code{\link{gtkSpinButtonConfigure}(object, adjustment = NULL, climb.rate, digits)}\cr \code{\link{gtkSpinButtonNew}(adjustment = NULL, climb.rate = NULL, digits = NULL, show = TRUE)}\cr \code{\link{gtkSpinButtonNewWithRange}(min, max, step, show = TRUE)}\cr \code{\link{gtkSpinButtonSetAdjustment}(object, adjustment)}\cr \code{\link{gtkSpinButtonGetAdjustment}(object)}\cr \code{\link{gtkSpinButtonSetDigits}(object, digits)}\cr \code{\link{gtkSpinButtonSetIncrements}(object, step, page)}\cr \code{\link{gtkSpinButtonSetRange}(object, min, max)}\cr \code{\link{gtkSpinButtonGetValueAsInt}(object)}\cr \code{\link{gtkSpinButtonSetValue}(object, value)}\cr \code{\link{gtkSpinButtonSetUpdatePolicy}(object, policy)}\cr \code{\link{gtkSpinButtonSetNumeric}(object, numeric)}\cr \code{\link{gtkSpinButtonSpin}(object, direction, increment)}\cr \code{\link{gtkSpinButtonSetWrap}(object, wrap)}\cr \code{\link{gtkSpinButtonSetSnapToTicks}(object, snap.to.ticks)}\cr \code{\link{gtkSpinButtonUpdate}(object)}\cr \code{\link{gtkSpinButtonGetDigits}(object)}\cr \code{\link{gtkSpinButtonGetIncrements}(object)}\cr \code{\link{gtkSpinButtonGetNumeric}(object)}\cr \code{\link{gtkSpinButtonGetRange}(object)}\cr \code{\link{gtkSpinButtonGetSnapToTicks}(object)}\cr \code{\link{gtkSpinButtonGetUpdatePolicy}(object)}\cr \code{\link{gtkSpinButtonGetValue}(object)}\cr \code{\link{gtkSpinButtonGetWrap}(object)}\cr \code{gtkSpinButton(adjustment = NULL, climb.rate = NULL, digits = NULL, min, max, step, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkEntry +----GtkSpinButton}} \section{Interfaces}{GtkSpinButton implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkEditable}} and \code{\link{GtkCellEditable}}.} \section{Detailed Description}{A \code{\link{GtkSpinButton}} is an ideal way to allow the user to set the value of some attribute. Rather than having to directly type a number into a \code{\link{GtkEntry}}, \code{\link{GtkSpinButton}} allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the bonus that it can be checked to ensure it is in a given range. The main properties of a \code{\link{GtkSpinButton}} are through a \code{\link{GtkAdjustment}}. See the \code{\link{GtkAdjustment}} section for more details about an adjustment's properties. \emph{Using a \code{GtkSpinButton} to get an integer.} \preformatted{ ## Provides a function to retrieve an integer value from a GtkSpinButton ## and creates a spin button to model percentage values. grab_int_value <- function(a_spinner, user_data) { return(a_spinner$getValueAsInt()) } create_integer_spin_button <- function() { spinner_adj <- gtkAdjustment(50.0, 0.0, 100.0, 1.0, 5.0, 5.0) window <- gtkWindow("toplevel", show = F) window$setBorderWidth(5) ## creates the spinner, with no decimal places spinner <- gtkSpinner(spinner_adj, 1.0, 0) window$add(spinner) window$showAll() } } \emph{Using a \code{GtkSpinButton} to get a floating point value.} \preformatted{ # Provides a function to retrieve a floating point value from a # GtkSpinButton, and creates a high precision spin button. grab_value <- function(a_spinner, user_data) { return(a_spinner$getValue()) } create_floating_spin_button <- function() { spinner_adj <- gtkAdjustment(2.500, 0.0, 5.0, 0.001, 0.1, 0.1) window <- gtkWindow("toplevel", show = F) window$setBorderWidth(5) ## creates the spinner, with three decimal places spinner <- gtkSpinner(spinner_adj, 0.001, 3) window$add(spinner) window$showAll() } }} \section{Structures}{\describe{\item{\verb{GtkSpinButton}}{ \code{entry} is the \code{\link{GtkEntry}} part of the \code{\link{GtkSpinButton}} widget, and can be used accordingly. All other fields contain private data and should only be modified using the functions below. }}} \section{Convenient Construction}{\code{gtkSpinButton} is the result of collapsing the constructors of \code{GtkSpinButton} (\code{\link{gtkSpinButtonNew}}, \code{\link{gtkSpinButtonNewWithRange}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkSpinButtonUpdatePolicy}}{ \tabular{ll}{ GTK_UPDATE_ALWAYS \tab When refreshing your \code{\link{GtkSpinButton}} , the value is always displayed. \cr GTK_UPDATE_IF_VALID \tab When refreshing your \code{\link{GtkSpinButton}} , the value is only displayed if it is valid within the bounds of the spin button's \code{\link{GtkAdjustment}} . \cr } \describe{ \item{\verb{always}}{\emph{undocumented }} \item{\verb{if-valid}}{\emph{undocumented }} } } \item{\verb{GtkSpinType}}{ \tabular{ll}{ GTK_SPIN_STEP_FORWARD, GTK_SPIN_STEP_BACKWARD, GTK_SPIN_PAGE_FORWARD, GTK_SPIN_PAGE_BACKWARD \tab These values spin a \code{\link{GtkSpinButton}} by the relevant values of the spin button's \code{\link{GtkAdjustment}} . \cr GTK_SPIN_HOME, GTK_SPIN_END \tab These set the spin button's value to the minimum or maxmimum possible values, (set by its \code{\link{GtkAdjustment}} ), respectively. \cr GTK_SPIN_USER_DEFINED \tab The programmer must specify the exact amount to spin the \code{\link{GtkSpinButton}} . \cr } \describe{ \item{\verb{step-forward}}{\emph{undocumented }} \item{\verb{step-backward}}{\emph{undocumented }} \item{\verb{page-forward}}{\emph{undocumented }} \item{\verb{page-backward}}{\emph{undocumented }} \item{\verb{home}}{\emph{undocumented }} \item{\verb{end}}{\emph{undocumented }} \item{\verb{user-defined}}{\emph{undocumented }} } } }} \section{Signals}{\describe{ \item{\code{change-value(spinbutton, user.data)}}{ \emph{undocumented } \describe{ \item{\code{spinbutton}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{input(spinbutton, user.data)}}{ \emph{undocumented } \describe{ \item{\code{spinbutton}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{output(spin.button, user.data)}}{ The ::output signal can be used to change to formatting of the value that is displayed in the spin buttons entry. \preformatted{/* show leading zeros */ static gboolean on_output (GtkSpinButton *spin, gpointer data) { GtkAdjustment *adj; gchar *text; int value; adj = gtk_spin_button_get_adjustment (spin); value = (int)gtk_adjustment_get_value (adj); text = g_strdup_printf ("\%02d", value); gtk_entry_set_text (GTK_ENTRY (spin), text); g_free (text); return TRUE; } } \describe{ \item{\code{spin.button}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the value has been displayed. } \item{\code{value-changed(spinbutton, user.data)}}{ \emph{undocumented } \describe{ \item{\code{spinbutton}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{wrapped(spinbutton, user.data)}}{ The wrapped signal is emitted right after the spinbutton wraps from its maximum to minimum value or vice-versa. Since 2.10 \describe{ \item{\code{spinbutton}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{adjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The adjustment that holds the value of the spinbutton. } \item{\verb{climb-rate} [numeric : Read / Write]}{ The acceleration rate when you hold down a button. Allowed values: >= 0 Default value: 0 } \item{\verb{digits} [numeric : Read / Write]}{ The number of decimal places to display. Allowed values: <= 20 Default value: 0 } \item{\verb{numeric} [logical : Read / Write]}{ Whether non-numeric characters should be ignored. Default value: FALSE } \item{\verb{snap-to-ticks} [logical : Read / Write]}{ Whether erroneous values are automatically changed to a spin button's nearest step increment. Default value: FALSE } \item{\verb{update-policy} [\code{\link{GtkSpinButtonUpdatePolicy}} : Read / Write]}{ Whether the spin button should update always, or only when the value is legal. Default value: GTK_UPDATE_ALWAYS } \item{\verb{value} [numeric : Read / Write]}{ Reads the current value, or sets a new value. Default value: 0 } \item{\verb{wrap} [logical : Read / Write]}{ Whether a spin button should wrap upon reaching its limits. Default value: FALSE } }} \section{Style Properties}{\describe{\item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read]}{ the type of border that surrounds the arrows of a spin button. Default value: GTK_SHADOW_IN }}} \references{\url{http://library.gnome.org/devel//gtk/GtkSpinButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetFocusHadjustment.Rd0000644000176000001440000000107412362217677020613 0ustar ripleyusers\alias{gtkContainerGetFocusHadjustment} \name{gtkContainerGetFocusHadjustment} \title{gtkContainerGetFocusHadjustment} \description{Retrieves the horizontal focus adjustment for the container. See \code{\link{gtkContainerSetFocusHadjustment}}.} \usage{gtkContainerGetFocusHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{[\code{\link{GtkAdjustment}}] the horizontal focus adjustment, or \code{NULL} if none has been set. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetShowBorder.Rd0000644000176000001440000000104712362217677017255 0ustar ripleyusers\alias{gtkNotebookSetShowBorder} \name{gtkNotebookSetShowBorder} \title{gtkNotebookSetShowBorder} \description{Sets whether a bevel will be drawn around the notebook pages. This only has a visual effect when the tabs are not shown. See \code{\link{gtkNotebookSetShowTabs}}.} \usage{gtkNotebookSetShowBorder(object, show.border)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{show.border}}{\code{TRUE} if a bevel should be drawn around the notebook.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetLanguage.Rd0000644000176000001440000000111212362217677016667 0ustar ripleyusers\alias{gtkTextIterGetLanguage} \name{gtkTextIterGetLanguage} \title{gtkTextIterGetLanguage} \description{A convenience wrapper around \code{\link{gtkTextIterGetAttributes}}, which returns the language in effect at \code{iter}. If no tags affecting language apply to \code{iter}, the return value is identical to that of \code{\link{gtkGetDefaultLanguage}}.} \usage{gtkTextIterGetLanguage(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[\code{\link{PangoLanguage}}] language in effect at \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atk-AtkMisc.Rd0000644000176000001440000000035112362217677014421 0ustar ripleyusers\alias{atk-AtkMisc} \name{atk-AtkMisc} \title{AtkMisc} \description{\emph{undocumented }} \references{\url{http://library.gnome.org/devel//atk/atk-AtkMisc.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceSetSize.Rd0000644000176000001440000000170412362217677016534 0ustar ripleyusers\alias{cairoPsSurfaceSetSize} \name{cairoPsSurfaceSetSize} \title{cairoPsSurfaceSetSize} \description{Changes the size of a PostScript surface for the current (and subsequent) pages.} \usage{cairoPsSurfaceSetSize(surface, width.in.points, height.in.points)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}} \item{\verb{width.in.points}}{[numeric] new surface width, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] new surface height, in points (1 point == 1/72.0 inch)} } \details{This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either \code{\link{cairoShowPage}} or \code{\link{cairoCopyPage}}. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetNewFromPixbuf.Rd0000644000176000001440000000126612362217677017045 0ustar ripleyusers\alias{gtkIconSetNewFromPixbuf} \name{gtkIconSetNewFromPixbuf} \title{gtkIconSetNewFromPixbuf} \description{Creates a new \code{\link{GtkIconSet}} with \code{pixbuf} as the default/fallback source image. If you don't add any additional \code{\link{GtkIconSource}} to the icon set, all variants of the icon will be created from \code{pixbuf}, using scaling, pixelation, etc. as required to adjust the icon size or make the icon look insensitive/prelighted.} \usage{gtkIconSetNewFromPixbuf(pixbuf)} \arguments{\item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}}} \value{[\code{\link{GtkIconSet}}] a new \code{\link{GtkIconSet}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixTransformPoint.Rd0000644000176000001440000000100612362217677017506 0ustar ripleyusers\alias{pangoMatrixTransformPoint} \name{pangoMatrixTransformPoint} \title{pangoMatrixTransformPoint} \description{Transforms the point (\code{x}, \code{y}) by \code{matrix}.} \usage{pangoMatrixTransformPoint(object, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL}} \item{\verb{x}}{[numeric] in/out X position} \item{\verb{y}}{[numeric] in/out Y position} } \details{ Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atk-AtkState.Rd0000644000176000001440000002167112362217677014616 0ustar ripleyusers\alias{atk-AtkState} \alias{AtkStateType} \name{atk-AtkState} \title{AtkState} \description{An AtkState describes a component's particular state.} \section{Methods and Functions}{ \code{\link{atkStateTypeRegister}(name)}\cr \code{\link{atkStateTypeGetName}(type)}\cr \code{\link{atkStateTypeForName}(name)}\cr } \section{Detailed Description}{An AtkState describes a component's particular state. The actual state of an component is described by its AtkStateSet, which is a set of AtkStates.} \section{Enums and Flags}{\describe{\item{\verb{AtkStateType}}{ The possible types of states of an object \describe{ \item{\verb{invalid}}{ Indicates an invalid state - probably an error condition.} \item{\verb{active}}{ Indicates a window is currently the active window, or is an active subelement within a container or table} \item{\verb{armed}}{ Indicates that the object is 'armed', i.e. will be activated by if a pointer button-release event occurs within its bounds. Buttons often enter this state when a pointer click occurs within their bounds, as a precursor to activation.} \item{\verb{busy}}{ Indicates the current object is busy, i.e. onscreen representation is in the process of changing, or the object is temporarily unavailable for interaction due to activity already in progress. This state may be used by implementors of Document to indicate that content loading is underway. It also may indicate other 'pending' conditions; clients may wish to interrogate this object when the ATK_STATE_BUSY flag is removed.} \item{\verb{checked}}{ Indicates this object is currently checked, for instance a checkbox is 'non-empty'.} \item{\verb{defunct}}{ Indicates that this object no longer has a valid backing widget (for instance, if its peer object has been destroyed)} \item{\verb{editable}}{ Indicates the user can change the contents of this object} \item{\verb{enabled}}{ Indicates that this object is enabled, i.e. that it currently reflects some application state. Objects that are "greyed out" may lack this state, and may lack the STATE_SENSITIVE if direct user interaction cannot cause them to acquire STATE_ENABLED. See also: ATK_STATE_SENSITIVE} \item{\verb{expandable}}{ Indicates this object allows progressive disclosure of its children} \item{\verb{expanded}}{ Indicates this object its expanded - see ATK_STATE_EXPANDABLE above} \item{\verb{focusable}}{ Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus} \item{\verb{focused}}{ Indicates this object currently has the keyboard focus} \item{\verb{horizontal}}{ Indicates the orientation of this object is horizontal; used, for instance, by objects of ATK_ROLE_SCROLL_BAR. For objects where vertical/horizontal orientation is especially meaningful.} \item{\verb{iconified}}{ Indicates this object is minimized and is represented only by an icon} \item{\verb{modal}}{ Indicates something must be done with this object before the user can interact with an object in a different window} \item{\verb{multi-line}}{ Indicates this (text) object can contain multiple lines of text} \item{\verb{multiselectable}}{ Indicates this object allows more than one of its children to be selected at the same time, or in the case of text objects, that the object supports non-contiguous text selections.} \item{\verb{opaque}}{ Indicates this object paints every pixel within its rectangular region.} \item{\verb{pressed}}{ Indicates this object is currently pressed; c.f. ATK_STATE_ARMED} \item{\verb{resizable}}{ Indicates the size of this object is not fixed} \item{\verb{selectable}}{ Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected} \item{\verb{selected}}{ Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected} \item{\verb{sensitive}}{ Indicates this object is sensitive, e.g. to user interaction. STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls, but may be found in the absence of STATE_ENABLED if the current visible state of the control is "disconnected" from the application state. In such cases, direct user interaction can often result in the object gaining STATE_SENSITIVE, for instance if a user makes an explicit selection using an object whose current state is ambiguous or undefined. \code{see} STATE_ENABLED, STATE_INDETERMINATE.} \item{\verb{showing}}{ Indicates this object, the object's parent, the object's parent's parent, and so on, are all 'shown' to the end-user, i.e. subject to "exposure" if blocking or obscuring objects do not interpose between this object and the top of the window stack.} \item{\verb{single-line}}{ Indicates this (text) object can contain only a single line of text} \item{\verb{stale}}{ Indicates that the information returned for this object may no longer be synchronized with the application state. This is implied if the object has STATE_TRANSIENT, and can also occur towards the end of the object peer's lifecycle. It can also be used to indicate that the index associated with this object has changed since the user accessed the object (in lieu of "index-in-parent-changed" events).} \item{\verb{transient}}{ Indicates this object is transient, i.e. a snapshot which may not emit events when its state changes. Data from objects with ATK_STATE_TRANSIENT should not be cached, since there may be no notification given when the cached data becomes obsolete.} \item{\verb{vertical}}{ Indicates the orientation of this object is vertical} \item{\verb{visible}}{ Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.} \item{\verb{manages-descendants}}{ Indicates that "active-descendant-changed" event is sent when children become 'active' (i.e. are selected or navigated to onscreen). Used to prevent need to enumerate all children in very large containers, like tables. The presence of STATE_MANAGES_DESCENDANTS is an indication to the client. that the children should not, and need not, be enumerated by the client. Objects implementing this state are expected to provide relevant state notifications to listening clients, for instance notifications of visibility changes and activation of their contained child objects, without the client having previously requested references to those children.} \item{\verb{indeterminate}}{ Indicates that a check box is in a state other than checked or not checked. This usually means that the boolean value reflected or controlled by the object does not apply consistently to the entire current context. For example, a checkbox for the "Bold" attribute of text may have STATE_INDETERMINATE if the currently selected text contains a mixture of weight attributes. In many cases interacting with a STATE_INDETERMINATE object will cause the context's corresponding boolean attribute to be homogenized, whereupon the object will lose STATE_INDETERMINATE and a corresponding state-changed event will be fired.} \item{\verb{truncated}}{ Indicates that an object is truncated, e.g. a text value in a speradsheet cell.} \item{\verb{required}}{ Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface.} \item{\verb{animated}}{ Indicates that the object has encountered an error condition due to failure of input validation. For instance, a form control may acquire this state in response to invalid or malformed user input.} \item{\verb{visited}}{ Indicates that the object in question implements some form of ¨typeahead¨ or pre-selection behavior whereby entering the first character of one or more sub-elements causes those elements to scroll into view or become selected. Subsequent character input may narrow the selection further as long as one or more sub-elements match the string. This state is normally only useful and encountered on objects that implement Selection. In some cases the typeahead behavior may result in full or partial ¨completion¨ of the data in the input field, in which case these input events may trigger text-changed events from the AtkText interface. This state supplants \code{ATK.ROLE.AUTOCOMPLETE}.} \item{\verb{default}}{Indicates that the object in question supports text selection. It should only be exposed on objects which implement the Text interface, in order to distinguish this state from \code{ATK.STATE.SELECTABLE}, which infers that the object in question is a selectable child of an object which implements Selection. While similar, text selection and subelement selection are distinct operations.} \item{\verb{last-defined}}{ Indicates that the object is the "default" active component, i.e. the object which is activated by an end-user press of the "Enter" or "Return" key. Typically a "close" or "submit" button.} } }}} \references{\url{http://library.gnome.org/devel//atk/atk-AtkState.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetStretch.Rd0000644000176000001440000000120312362217677020442 0ustar ripleyusers\alias{pangoFontDescriptionGetStretch} \name{pangoFontDescriptionGetStretch} \title{pangoFontDescriptionGetStretch} \description{Gets the stretch field of a font description. See \code{\link{pangoFontDescriptionSetStretch}}.} \usage{pangoFontDescriptionGetStretch(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}.}} \value{[\code{\link{PangoStretch}}] the stretch field for the font description. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMenuShell.Rd0000644000176000001440000001215512362217677014660 0ustar ripleyusers\alias{GtkMenuShell} \alias{GtkMenuDirectionType} \name{GtkMenuShell} \title{GtkMenuShell} \description{A base class for menu objects} \section{Methods and Functions}{ \code{\link{gtkMenuShellAppend}(object, child)}\cr \code{\link{gtkMenuShellPrepend}(object, child)}\cr \code{\link{gtkMenuShellInsert}(object, child, position)}\cr \code{\link{gtkMenuShellDeactivate}(object)}\cr \code{\link{gtkMenuShellSelectItem}(object, menu.item)}\cr \code{\link{gtkMenuShellSelectFirst}(object, search.sensitive)}\cr \code{\link{gtkMenuShellDeselect}(object)}\cr \code{\link{gtkMenuShellActivateItem}(object, menu.item, force.deactivate)}\cr \code{\link{gtkMenuShellCancel}(object)}\cr \code{\link{gtkMenuShellSetTakeFocus}(object, take.focus)}\cr \code{\link{gtkMenuShellGetTakeFocus}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenuBar +----GtkMenu}} \section{Interfaces}{GtkMenuShell implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkMenuShell}} is the abstract base class used to derive the \code{\link{GtkMenu}} and \code{\link{GtkMenuBar}} subclasses. A \code{\link{GtkMenuShell}} is a container of \code{\link{GtkMenuItem}} objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A \code{\link{GtkMenuItem}} can have a submenu associated with it, allowing for nested hierarchical menus.} \section{Structures}{\describe{\item{\verb{GtkMenuShell}}{ The \code{\link{GtkMenuShell}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{\verb{list} *children; \tab The list of \code{\link{GtkMenuItem}} objects contained by this \code{\link{GtkMenuShell}} . \cr} }}} \section{Enums and Flags}{\describe{\item{\verb{GtkMenuDirectionType}}{ An enumeration representing directional movements within a menu. \describe{ \item{\verb{parent}}{To the parent menu shell.} \item{\verb{child}}{To the submenu, if any, associated with the item.} \item{\verb{next}}{To the next menu item.} \item{\verb{prev}}{To the previous menu item.} } }}} \section{Signals}{\describe{ \item{\code{activate-current(menushell, force.hide, user.data)}}{ An action signal that activates the current menu item within the menu shell. \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{force.hide}}{if TRUE, hide the menu after activating the menu item.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cancel(menushell, user.data)}}{ An action signal which cancels the selection within the menu shell. Causes the GtkMenuShell::selection-done signal to be emitted. \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cycle-focus(menushell, user.data)}}{ \emph{undocumented } \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{deactivate(menushell, user.data)}}{ This signal is emitted when a menu shell is deactivated. \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-current(menushell, direction, user.data)}}{ An action signal which moves the current menu item in the direction specified by \code{direction}. \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{direction}}{the direction to move.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-selected(menu.shell, distance, user.data)}}{ The ::move-selected signal is emitted to move the selection to another item. Since 2.12 \describe{ \item{\code{menu.shell}}{the object on which the signal is emitted} \item{\code{distance}}{+1 to move to the next item, -1 to move to the previous} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop the signal emission, \code{FALSE} to continue } \item{\code{selection-done(menushell, user.data)}}{ This signal is emitted when a selection has been completed within a menu shell. \describe{ \item{\code{menushell}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{take-focus} [logical : Read / Write]}{ A boolean that determines whether the menu and its submenus grab the keyboard focus. See \code{\link{gtkMenuShellSetTakeFocus}} and \code{\link{gtkMenuShellGetTakeFocus}}. Default value: TRUE Since 2.8 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkMenuShell.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveEnumerateIdentifiers.Rd0000644000176000001440000000073712362217677017575 0ustar ripleyusers\alias{gDriveEnumerateIdentifiers} \name{gDriveEnumerateIdentifiers} \title{gDriveEnumerateIdentifiers} \description{Gets the kinds of identifiers that \code{drive} has. Use \code{gDriveGetIdentifer()} to obtain the identifiers themselves.} \usage{gDriveEnumerateIdentifiers(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}}} \value{[char] a list of strings containing kinds of identifiers.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonNew.Rd0000644000176000001440000000046712362217677015603 0ustar ripleyusers\alias{gtkFontButtonNew} \name{gtkFontButtonNew} \title{gtkFontButtonNew} \description{Creates a new font picker widget.} \usage{gtkFontButtonNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new font picker widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveHasMedia.Rd0000644000176000001440000000075212362217677015132 0ustar ripleyusers\alias{gDriveHasMedia} \name{gDriveHasMedia} \title{gDriveHasMedia} \description{Checks if the \code{drive} has media. Note that the OS may not be polling the drive for media changes; see \code{\link{gDriveIsMediaCheckAutomatic}} for more details.} \usage{gDriveHasMedia(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if \code{drive} has media, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetEntry.Rd0000644000176000001440000000177411766145227015277 0ustar ripleyusers\name{gtkTargetEntry} \alias{gtkTargetEntry} \alias{gtkTargetEntryNew} \title{Create a new target for drag-n-drop(?)} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This creates a new GtkTarget object. This is used in transferring data in the form of selections between processes or widgets. } \usage{ gtkTargetEntry(target, flags, info) gtkTargetEntryNew(target, flags, info) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{target}{a string} \item{flags}{an integer value} \item{info}{an integer value} } \details{ This allocates a new GtkTargetEntry object in C and fills in the targer, flags and info fields. } \value{ A reference to the newly creatd GtkTargetEntry. } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \keyword{interface} \keyword{internal} RGtk2/man/gtkMenuReorderChild.Rd0000644000176000001440000000102312362217677016207 0ustar ripleyusers\alias{gtkMenuReorderChild} \name{gtkMenuReorderChild} \title{gtkMenuReorderChild} \description{Moves a \code{\link{GtkMenuItem}} to a new position within the \code{\link{GtkMenu}}.} \usage{gtkMenuReorderChild(object, child, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{child}}{the \code{\link{GtkMenuItem}} to move.} \item{\verb{position}}{the new position to place \code{child}. Positions are numbered from 0 to n-1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionEqual.Rd0000644000176000001440000000155712362217677017451 0ustar ripleyusers\alias{pangoFontDescriptionEqual} \name{pangoFontDescriptionEqual} \title{pangoFontDescriptionEqual} \description{Compares two font descriptions for equality. Two font descriptions are considered equal if the fonts they describe are provably identical. This means that their masks do not have to match, as long as other fields are all the same. (Two font descriptions may result in identical fonts being loaded, but still compare \code{FALSE}.)} \usage{pangoFontDescriptionEqual(object, desc2)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{desc2}}{[\code{\link{PangoFontDescription}}] another \code{\link{PangoFontDescription}}} } \value{[logical] \code{TRUE} if the two font descriptions are identical, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileParseName.Rd0000644000176000001440000000107512362217677015137 0ustar ripleyusers\alias{gFileParseName} \name{gFileParseName} \title{gFileParseName} \description{Constructs a \code{\link{GFile}} with the given \code{parse.name} (i.e. something given by \code{\link{gFileGetParseName}}). This operation never fails, but the returned object might not support any I/O operation if the \code{parse.name} cannot be parsed.} \usage{gFileParseName(parse.name)} \arguments{\item{\verb{parse.name}}{a file name or path to be parsed.}} \value{[\code{\link{GFile}}] a new \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetHeadersVisible.Rd0000644000176000001440000000066212362217677020044 0ustar ripleyusers\alias{gtkTreeViewSetHeadersVisible} \name{gtkTreeViewSetHeadersVisible} \title{gtkTreeViewSetHeadersVisible} \description{Sets the visibility state of the headers.} \usage{gtkTreeViewSetHeadersVisible(object, headers.visible)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{headers.visible}}{\code{TRUE} if the headers are visible} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeInsertNode.Rd0000644000176000001440000000241112362217677016013 0ustar ripleyusers\alias{gtkCTreeInsertNode} \name{gtkCTreeInsertNode} \title{gtkCTreeInsertNode} \description{ Insert a new node to the tree. The position is specified through the parent-sibling notation, as explained in the introduction above. \strong{WARNING: \code{gtk_ctree_insert_node} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeInsertNode(object, parent, sibling, text, spacing = 5, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf = 1, expanded = 0)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCTree}} widget.} \item{\verb{parent}}{The parent node to be.} \item{\verb{sibling}}{The sibling node to be.} \item{\verb{text}}{The texts to be shown in each column.} \item{\verb{spacing}}{The extra space between the pixmap and the text.} \item{\verb{pixmap.closed}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask.closed}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{pixmap.opened}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask.opened}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{is.leaf}}{Whether this node is going to be a leaf.} \item{\verb{expanded}}{Whether this node should start out expanded or not.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMain.Rd0000644000176000001440000000054412362217677013707 0ustar ripleyusers\alias{gtkMain} \name{gtkMain} \title{gtkMain} \description{Runs the main loop until \code{\link{gtkMainQuit}} is called. You can nest calls to \code{\link{gtkMain}}. In that case \code{\link{gtkMainQuit}} will make the innermost invocation of the main loop return.} \usage{gtkMain()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetHasFrame.Rd0000644000176000001440000000101212362217677016330 0ustar ripleyusers\alias{gtkWindowGetHasFrame} \name{gtkWindowGetHasFrame} \title{gtkWindowGetHasFrame} \description{Accessor for whether the window has a frame window exterior to \code{window->window}. Gets the value set by \code{\link{gtkWindowSetHasFrame}}.} \usage{gtkWindowGetHasFrame(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if a frame has been added to the window via \code{\link{gtkWindowSetHasFrame}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Scripts-and-Languages.Rd0000644000176000001440000001104112362217677017504 0ustar ripleyusers\alias{pango-Scripts-and-Languages} \alias{PangoScriptIter} \alias{PangoLanguage} \alias{PangoScript} \name{pango-Scripts-and-Languages} \title{Scripts and Languages} \description{Identifying writing systems and languages} \section{Methods and Functions}{ \code{\link{pangoScriptForUnichar}(ch)}\cr \code{\link{pangoScriptGetSampleLanguage}(script)}\cr \code{\link{pangoScriptIterNew}(text, length)}\cr \code{\link{pangoScriptIterGetRange}(object)}\cr \code{\link{pangoScriptIterNext}(object)}\cr \code{\link{pangoLanguageFromString}(language)}\cr \code{\link{pangoLanguageToString}(object)}\cr \code{\link{pangoLanguageMatches}(object, range.list)}\cr \code{\link{pangoLanguageIncludesScript}(object, script)}\cr \code{\link{pangoLanguageGetScripts}(object)}\cr \code{\link{pangoLanguageGetDefault}()}\cr \code{\link{pangoLanguageGetSampleString}(object)}\cr } \section{Detailed Description}{The functions in this section are used to identify the writing system, or \dfn{script} of individual characters and of ranges within a larger text string.} \section{Structures}{\describe{ \item{\verb{PangoScriptIter}}{ A \code{\link{PangoScriptIter}} is used to iterate through a string and identify ranges in different scripts. } \item{\verb{PangoLanguage}}{ The \code{\link{PangoLanguage}} structure is used to represent a language. \code{\link{PangoLanguage}} pointers can be efficiently copied and compared with each other. } }} \section{Enums and Flags}{\describe{\item{\verb{PangoScript}}{ The \code{\link{PangoScript}} enumeration identifies different writing systems. The values correspond to the names as defined in the Unicode standard. Note that new types may be added in the future. Applications should be ready to handle unknown values. This enumeration is interchangeable with \verb{GUnicodeScript}. See Unicode Standard Annex #24: Script names (\url{http://www.unicode.org/reports/tr24/}). \describe{ \item{\verb{invalid-code}}{a value never returned from \code{\link{pangoScriptForUnichar}}} \item{\verb{common}}{a character used by multiple different scripts} \item{\verb{inherited}}{a mark glyph that takes its script from the base glyph to which it is attached} \item{\verb{arabic}}{ Arabic} \item{\verb{armenian}}{Armenian} \item{\verb{bengali}}{ Bengali} \item{\verb{bopomofo}}{Bopomofo} \item{\verb{cherokee}}{ Cherokee} \item{\verb{coptic}}{ Coptic} \item{\verb{cyrillic}}{ Cyrillic} \item{\verb{deseret}}{ Deseret} \item{\verb{devanagari}}{ Devanagari} \item{\verb{ethiopic}}{ Ethiopic} \item{\verb{georgian}}{ Georgian} \item{\verb{gothic}}{ Gothic} \item{\verb{greek}}{ Greek} \item{\verb{gujarati}}{ Gujarati} \item{\verb{gurmukhi}}{ Gurmukhi} \item{\verb{han}}{ Han} \item{\verb{hangul}}{ Hangul} \item{\verb{hebrew}}{ Hebrew} \item{\verb{hiragana}}{ Hiragana} \item{\verb{kannada}}{ Kannada} \item{\verb{katakana}}{ Katakana} \item{\verb{khmer}}{ Khmer} \item{\verb{lao}}{ Lao} \item{\verb{latin}}{ Latin} \item{\verb{malayalam}}{ Malayalam} \item{\verb{mongolian}}{ Mongolian} \item{\verb{myanmar}}{ Myanmar} \item{\verb{ogham}}{ Ogham} \item{\verb{old-italic}}{ Old Italic} \item{\verb{oriya}}{ Oriya} \item{\verb{runic}}{ Runic} \item{\verb{sinhala}}{ Sinhala} \item{\verb{syriac}}{ Syriac} \item{\verb{tamil}}{ Tamil} \item{\verb{telugu}}{ Telugu} \item{\verb{thaana}}{ Thaana} \item{\verb{thai}}{ Thai} \item{\verb{tibetan}}{ Tibetan} \item{\verb{canadian-aboriginal}}{ Canadian Aboriginal} \item{\verb{yi}}{ Yi} \item{\verb{tagalog}}{ Tagalog} \item{\verb{hanunoo}}{ Hanunoo} \item{\verb{buhid}}{ Buhid} \item{\verb{tagbanwa}}{ Tagbanwa} \item{\verb{braille}}{ Braille} \item{\verb{cypriot}}{ Cypriot} \item{\verb{limbu}}{ Limbu} \item{\verb{osmanya}}{ Osmanya} \item{\verb{shavian}}{ Shavian} \item{\verb{linear-b}}{ Linear B} \item{\verb{tai-le}}{ Tai Le} \item{\verb{ugaritic}}{ Ugaritic} \item{\verb{new-tai-lue}}{ New Tai Lue. Since 1.10} \item{\verb{buginese}}{ Buginese. Since 1.10} \item{\verb{glagolitic}}{ Glagolitic. Since 1.10} \item{\verb{tifinagh}}{ Tifinagh. Since 1.10} \item{\verb{syloti-nagri}}{ Syloti Nagri. Since 1.10} \item{\verb{old-persian}}{ Old Persian. Since 1.10} \item{\verb{kharoshthi}}{ Kharoshthi. Since 1.10} \item{\verb{unknown}}{ an unassigned code point. Since 1.14} \item{\verb{balinese}}{ Balinese. Since 1.14} \item{\verb{cuneiform}}{ Cuneiform. Since 1.14} \item{\verb{phoenician}}{ Phoenician. Since 1.14} \item{\verb{phags-pa}}{ Phags-pa. Since 1.14} \item{\verb{nko}}{ N'Ko. Since 1.14} } }}} \references{\url{http://library.gnome.org/devel//pango/pango-Scripts-and-Languages.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuSetHistory.Rd0000644000176000001440000000123512362217677017154 0ustar ripleyusers\alias{gtkOptionMenuSetHistory} \name{gtkOptionMenuSetHistory} \title{gtkOptionMenuSetHistory} \description{ Selects the menu item specified by \code{index.} making it the newly selected value for the option menu. \strong{WARNING: \code{gtk_option_menu_set_history} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuSetHistory(object, index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkOptionMenu}}.} \item{\verb{index}}{the index of the menu item to select. Index values are from 0 to n-1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileLoadPartialContentsFinish.Rd0000644000176000001440000000231712362217677020337 0ustar ripleyusers\alias{gFileLoadPartialContentsFinish} \name{gFileLoadPartialContentsFinish} \title{gFileLoadPartialContentsFinish} \description{Finishes an asynchronous partial load operation that was started with \code{gFileLoadPartialContentsAsync()}. The data is always zero-terminated, but this is not included in the resultant \code{length}.} \usage{gFileLoadPartialContentsFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the load was successful. If \code{FALSE} and \code{error} is present, it will be set appropriately.} \item{\verb{contents}}{a location to place the contents of the file.} \item{\verb{length}}{a location to place the length of the contents of the file, or \code{NULL} if the length is not needed} \item{\verb{etag.out}}{a location to place the current entity tag for the file, or \code{NULL} if the entity tag is not needed} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeGuessForTree.Rd0000644000176000001440000000165112362217677017236 0ustar ripleyusers\alias{gContentTypeGuessForTree} \name{gContentTypeGuessForTree} \title{gContentTypeGuessForTree} \description{Tries to guess the type of the tree with root \code{root}, by looking at the files it contains. The result is a list of content types, with the best guess coming first.} \usage{gContentTypeGuessForTree(root)} \arguments{\item{\verb{root}}{the root of the tree to guess a type for}} \details{The types returned all have the form x-content/foo, e.g. x-content/audio-cdda (for audio CDs) or x-content/image-dcf (for a camera memory card). See the shared-mime-info (\url{http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec}) specification for more on x-content types. This function is useful in the implementation of \code{\link{gMountGuessContentType}}. Since 2.18} \value{[char] a list of zero or more content types, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetStyleAttach.Rd0000644000176000001440000000134612362217677016415 0ustar ripleyusers\alias{gtkWidgetStyleAttach} \name{gtkWidgetStyleAttach} \title{gtkWidgetStyleAttach} \description{This function attaches the widget's \code{\link{GtkStyle}} to the widget's \code{\link{GdkWindow}}. It is a replacement for} \usage{gtkWidgetStyleAttach(object)} \arguments{\item{\verb{object}}{\emph{undocumented }}} \details{\preformatted{widget->style = gtk_style_attach (widget->style, widget->window); } and should only ever be called in a derived widget's "realize" implementation which does not chain up to its parent class' "realize" implementation, because one of the parent classes (finally \code{\link{GtkWidget}}) would attach the style itself. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetTextAlignment.Rd0000644000176000001440000000111512362217677017716 0ustar ripleyusers\alias{gtkToolItemGetTextAlignment} \name{gtkToolItemGetTextAlignment} \title{gtkToolItemGetTextAlignment} \description{Returns the text alignment used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function to find out how text should be aligned.} \usage{gtkToolItemGetTextAlignment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}:}} \details{Since 2.20} \value{[numeric] a \verb{numeric} indicating the horizontal text alignment used for \code{tool.item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetBaseline.Rd0000644000176000001440000000075512362217677017552 0ustar ripleyusers\alias{pangoLayoutIterGetBaseline} \name{pangoLayoutIterGetBaseline} \title{pangoLayoutIterGetBaseline} \description{Gets the Y position of the current line's baseline, in layout coordinates (origin at top left of the entire layout).} \usage{pangoLayoutIterGetBaseline(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[integer] baseline of current line.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowIconify.Rd0000644000176000001440000000106312362217677015570 0ustar ripleyusers\alias{gdkWindowIconify} \name{gdkWindowIconify} \title{gdkWindowIconify} \description{Asks to iconify (minimize) \code{window}. The window manager may choose to ignore the request, but normally will honor it. Using \code{\link{gtkWindowIconify}} is preferred, if you have a \code{\link{GtkWindow}} widget.} \usage{gdkWindowIconify(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{This function only makes sense when \code{window} is a toplevel window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetShowHidden.Rd0000644000176000001440000000100612362217677017634 0ustar ripleyusers\alias{gtkFileChooserGetShowHidden} \name{gtkFileChooserGetShowHidden} \title{gtkFileChooserGetShowHidden} \description{Gets whether hidden files and folders are displayed in the file selector. See \code{\link{gtkFileChooserSetShowHidden}}.} \usage{gtkFileChooserGetShowHidden(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if hidden files and folders are displayed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMiscSetPadding.Rd0000644000176000001440000000077612362217677015670 0ustar ripleyusers\alias{gtkMiscSetPadding} \name{gtkMiscSetPadding} \title{gtkMiscSetPadding} \description{Sets the amount of space to add around the widget.} \usage{gtkMiscSetPadding(object, xpad, ypad)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMisc}}.} \item{\verb{xpad}}{the amount of space to add on the left and right of the widget, in pixels.} \item{\verb{ypad}}{the amount of space to add on the top and bottom of the widget, in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkRelationSet.Rd0000644000176000001440000000315112362217677015203 0ustar ripleyusers\alias{AtkRelationSet} \alias{atkRelationSet} \name{AtkRelationSet} \title{AtkRelationSet} \description{A set of AtkRelations, normally the set of AtkRelations which an AtkObject has.} \section{Methods and Functions}{ \code{\link{atkRelationSetNew}()}\cr \code{\link{atkRelationSetContains}(object, relationship)}\cr \code{\link{atkRelationSetRemove}(object, relation)}\cr \code{\link{atkRelationSetAdd}(object, relation)}\cr \code{\link{atkRelationSetGetNRelations}(object)}\cr \code{\link{atkRelationSetGetRelation}(object, i)}\cr \code{\link{atkRelationSetGetRelationByType}(object, relationship)}\cr \code{\link{atkRelationSetAddRelationByType}(object, relationship, target)}\cr \code{atkRelationSet()} } \section{Hierarchy}{\preformatted{GObject +----AtkRelationSet}} \section{Detailed Description}{The AtkRelationSet held by an object establishes its relationships with objects beyond the normal "parent/child" hierarchical relationships that all user interface objects have. AtkRelationSets establish whether objects are labelled or controlled by other components, share group membership with other components (for instance within a radio-button group), or share content which "flows" between them, among other types of possible relationships.} \section{Structures}{\describe{\item{\verb{AtkRelationSet}}{ The AtkRelationSet structure should not be accessed directly. }}} \section{Convenient Construction}{\code{atkRelationSet} is the equivalent of \code{\link{atkRelationSetNew}}.} \references{\url{http://library.gnome.org/devel//atk/AtkRelationSet.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinnerStart.Rd0000644000176000001440000000046312362217677015457 0ustar ripleyusers\alias{gtkSpinnerStart} \name{gtkSpinnerStart} \title{gtkSpinnerStart} \description{Starts the animation of the spinner.} \usage{gtkSpinnerStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinner}}}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageGet.Rd0000644000176000001440000000101512362217677015527 0ustar ripleyusers\alias{pangoCoverageGet} \name{pangoCoverageGet} \title{pangoCoverageGet} \description{Determine whether a particular index is covered by \code{coverage}} \usage{pangoCoverageGet(object, index)} \arguments{ \item{\verb{object}}{[\code{\link{PangoCoverage}}] a \code{\link{PangoCoverage}}} \item{\verb{index}}{[integer] the index to check} } \value{[\code{\link{PangoCoverageLevel}}] the coverage level of \code{coverage} for character \code{index.}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIconNewForString.Rd0000644000176000001440000000174712362217677015672 0ustar ripleyusers\alias{gIconNewForString} \name{gIconNewForString} \title{gIconNewForString} \description{Generate a \code{\link{GIcon}} instance from \code{str}. This function can fail if \code{str} is not valid - see \code{\link{gIconToString}} for discussion.} \usage{gIconNewForString(str, .errwarn = TRUE)} \arguments{ \item{\verb{str}}{A string obtained via \code{\link{gIconToString}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If your application or library provides one or more \code{\link{GIcon}} implementations you need to ensure that each \code{\link{GType}} is registered with the type system prior to calling \code{\link{gIconNewForString}}. Since 2.20} \value{ A list containing the following elements: \item{retval}{[\code{\link{GIcon}}] An object implementing the \code{\link{GIcon}} interface or \code{NULL} if \code{error} is set.} \item{\verb{error}}{Return location for error.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetText.Rd0000644000176000001440000000101412362217677015237 0ustar ripleyusers\alias{atkTextGetText} \name{atkTextGetText} \title{atkTextGetText} \description{Gets the specified text.} \usage{atkTextGetText(object, start.offset, end.offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{start.offset}}{[integer] start position} \item{\verb{end.offset}}{[integer] end position} } \value{[character] the text from \code{start.offset} up to, but not including \code{end.offset}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetCharacterAtOffset.Rd0000644000176000001440000000070012362217677017644 0ustar ripleyusers\alias{atkTextGetCharacterAtOffset} \name{atkTextGetCharacterAtOffset} \title{atkTextGetCharacterAtOffset} \description{Gets the specified text.} \usage{atkTextGetCharacterAtOffset(object, offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] position} } \value{[numeric] the character at \code{offset}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeString.Rd0000644000176000001440000000074512362217677017711 0ustar ripleyusers\alias{gFileInfoSetAttributeString} \name{gFileInfoSetAttributeString} \title{gFileInfoSetAttributeString} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeString(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonGetMenu.Rd0000644000176000001440000000076412362217677017252 0ustar ripleyusers\alias{gtkMenuToolButtonGetMenu} \name{gtkMenuToolButtonGetMenu} \title{gtkMenuToolButtonGetMenu} \description{Gets the \code{\link{GtkMenu}} associated with \code{\link{GtkMenuToolButton}}.} \usage{gtkMenuToolButtonGetMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuToolButton}}}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkMenu}} associated with \code{\link{GtkMenuToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionCountSelectedRows.Rd0000644000176000001440000000071612362217677021126 0ustar ripleyusers\alias{gtkTreeSelectionCountSelectedRows} \name{gtkTreeSelectionCountSelectedRows} \title{gtkTreeSelectionCountSelectedRows} \description{Returns the number of rows that have been selected in \code{tree}.} \usage{gtkTreeSelectionCountSelectedRows(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \details{Since 2.2} \value{[integer] The number of rows selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetPreviewEntry.Rd0000644000176000001440000000077612362217677020632 0ustar ripleyusers\alias{gtkFontSelectionGetPreviewEntry} \name{gtkFontSelectionGetPreviewEntry} \title{gtkFontSelectionGetPreviewEntry} \description{This returns the \code{\link{GtkEntry}} used to display the font as a preview.} \usage{gtkFontSelectionGetPreviewEntry(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A \code{\link{GtkWidget}} that is part of \code{fontsel}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetCollate.Rd0000644000176000001440000000065412362217677017606 0ustar ripleyusers\alias{gtkPrintSettingsGetCollate} \name{gtkPrintSettingsGetCollate} \title{gtkPrintSettingsGetCollate} \description{Gets the value of \code{GTK_PRINT_SETTINGS_COLLATE}.} \usage{gtkPrintSettingsGetCollate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[logical] whether to collate the printed pages} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryDeleteEntry.Rd0000644000176000001440000000116112362217677017412 0ustar ripleyusers\alias{gtkItemFactoryDeleteEntry} \name{gtkItemFactoryDeleteEntry} \title{gtkItemFactoryDeleteEntry} \description{ Deletes the menu item which was created from \code{entry} by the given item factory. \strong{WARNING: \code{gtk_item_factory_delete_entry} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryDeleteEntry(object, entry)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{entry}}{a \code{\link{GtkItemFactoryEntry}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetWidget.Rd0000644000176000001440000000103312362217677017531 0ustar ripleyusers\alias{gtkTreeViewColumnGetWidget} \name{gtkTreeViewColumnGetWidget} \title{gtkTreeViewColumnGetWidget} \description{Returns the \code{\link{GtkWidget}} in the button on the column header. If a custom widget has not been set then \code{NULL} is returned.} \usage{gtkTreeViewColumnGetWidget(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[\code{\link{GtkWidget}}] The \code{\link{GtkWidget}} in the column header, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetSingleParagraphMode.Rd0000644000176000001440000000105212362217677021047 0ustar ripleyusers\alias{pangoLayoutGetSingleParagraphMode} \name{pangoLayoutGetSingleParagraphMode} \title{pangoLayoutGetSingleParagraphMode} \description{Obtains the value set by \code{\link{pangoLayoutSetSingleParagraphMode}}.} \usage{pangoLayoutGetSingleParagraphMode(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[logical] \code{TRUE} if the layout does not break paragraphs at paragraph separator characters, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeLookupByGicon.Rd0000644000176000001440000000150112362217677017335 0ustar ripleyusers\alias{gtkIconThemeLookupByGicon} \name{gtkIconThemeLookupByGicon} \title{gtkIconThemeLookupByGicon} \description{Looks up an icon and returns a structure containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using \code{\link{gtkIconInfoLoadIcon}}.} \usage{gtkIconThemeLookupByGicon(object, icon, size, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon}}{the \code{\link{GIcon}} to look up} \item{\verb{size}}{desired icon size} \item{\verb{flags}}{flags modifying the behavior of the icon lookup} } \details{Since 2.14} \value{[\code{\link{GtkIconInfo}}] a \code{\link{GtkIconInfo}} structure containing information about the icon, or \code{NULL} if the icon wasn't found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetValue.Rd0000644000176000001440000000063612362217677016600 0ustar ripleyusers\alias{gtkAdjustmentGetValue} \name{gtkAdjustmentGetValue} \title{gtkAdjustmentGetValue} \description{Gets the current value of the adjustment. See \code{\link{gtkAdjustmentSetValue}}.} \usage{gtkAdjustmentGetValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \value{[numeric] The current value of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetParentWindow.Rd0000644000176000001440000000065412362217677017252 0ustar ripleyusers\alias{gtkWidgetGetParentWindow} \name{gtkWidgetGetParentWindow} \title{gtkWidgetGetParentWindow} \description{Gets \code{widget}'s parent window.} \usage{gtkWidgetGetParentWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}.}} \value{[\code{\link{GdkWindow}}] the parent window of \code{widget}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetEvents.Rd0000644000176000001440000000116112362217677016107 0ustar ripleyusers\alias{gdkWindowSetEvents} \name{gdkWindowSetEvents} \title{gdkWindowSetEvents} \description{The event mask for a window determines which events will be reported for that window. For example, an event mask including \verb{GDK_BUTTON_PRESS_MASK} means the window should report button press events. The event mask is the bitwise OR of values from the \code{\link{GdkEventMask}} enumeration.} \usage{gdkWindowSetEvents(object, event.mask)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{event.mask}}{event mask for \code{window}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugGetEmbedded.Rd0000644000176000001440000000061612362217677016004 0ustar ripleyusers\alias{gtkPlugGetEmbedded} \name{gtkPlugGetEmbedded} \title{gtkPlugGetEmbedded} \description{Determines whether the plug is embedded in a socket.} \usage{gtkPlugGetEmbedded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPlug}}}} \details{Since 2.14} \value{[logical] \code{TRUE} if the plug is embedded in a socket} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeUint32.Rd0000644000176000001440000000255012362217677016707 0ustar ripleyusers\alias{gFileSetAttributeUint32} \name{gFileSetAttributeUint32} \title{gFileSetAttributeUint32} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_UINT32} to \code{value}. If \code{attribute} is of a different type, this operation will fail.} \usage{gFileSetAttributeUint32(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a \verb{numeric} containing the attribute's new value.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set to \code{value} in the \code{file}, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconNewWithDefaultFallbacks.Rd0000644000176000001440000000146212362217677021121 0ustar ripleyusers\alias{gThemedIconNewWithDefaultFallbacks} \name{gThemedIconNewWithDefaultFallbacks} \title{gThemedIconNewWithDefaultFallbacks} \description{Creates a new themed icon for \code{iconname}, and all the names that can be created by shortening \code{iconname} at '-' characters.} \usage{gThemedIconNewWithDefaultFallbacks(iconname)} \arguments{\item{\verb{iconname}}{a string containing an icon name}} \details{In the following example, \code{icon1} and \code{icon2} are equivalent: \preformatted{ names <- c("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome") icon1 <- gThemedIconNewFromNames(names) icon2 <- gThemedIconNewWithDefaultCallbacks("gnome-dev-cdrom-audio") }} \value{[\code{\link{GIcon}}] a new \code{\link{GThemedIcon}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSettings.Rd0000644000176000001440000004365512362217677014575 0ustar ripleyusers\alias{GtkSettings} \alias{GtkSettingsValue} \name{GtkSettings} \title{Settings} \description{Sharing settings between applications} \section{Methods and Functions}{ \code{\link{gtkSettingsGetDefault}()}\cr \code{\link{gtkSettingsGetForScreen}(screen)}\cr \code{\link{gtkSettingsInstallProperty}(pspec)}\cr \code{\link{gtkSettingsInstallPropertyParser}(pspec, parser)}\cr \code{\link{gtkRcPropertyParseColor}(pspec, gstring)}\cr \code{\link{gtkRcPropertyParseEnum}(pspec, gstring)}\cr \code{\link{gtkRcPropertyParseFlags}(pspec, gstring)}\cr \code{\link{gtkRcPropertyParseRequisition}(pspec, gstring)}\cr \code{\link{gtkRcPropertyParseBorder}(pspec, gstring)}\cr \code{\link{gtkSettingsSetPropertyValue}(object, name, svalue)}\cr \code{\link{gtkSettingsSetStringProperty}(object, name, v.string, origin)}\cr \code{\link{gtkSettingsSetLongProperty}(object, name, v.long, origin)}\cr \code{\link{gtkSettingsSetDoubleProperty}(object, name, v.double, origin)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkSettings}} \section{Detailed Description}{GtkSettings provide a mechanism to share global settings between applications. On the X window system, this sharing is realized by an XSettings (\url{\emph{undocumented }}) manager that is usually part of the desktop environment, along with utilities that let the user change these settings. In the absence of an Xsettings manager, settings can also be specified in RC files. Applications can override system-wide settings with \code{\link{gtkSettingsSetStringProperty}}, \code{\link{gtkSettingsSetLongProperty}}, etc. This should be restricted to special cases though; GtkSettings are not meant as an application configuration facility. When doing so, you need to be aware that settings that are specific to individual widgets may not be available before the widget type has been realized at least once. The following example demonstrates a way to do this: \preformatted{ gtk_init (&argc, &argv); /* make sure the type is realized */ g_type_class_unref (g_type_class_ref (GTK_TYPE_IMAGE_MENU_ITEM)); g_object_set (gtk_settings_get_default (), "gtk-menu-images", FALSE, NULL); } There is one GtkSettings instance per screen. It can be obtained with \code{\link{gtkSettingsGetForScreen}}, but in many cases, it is more convenient to use \code{\link{gtkWidgetGetSettings}}. \code{\link{gtkSettingsGetDefault}} returns the GtkSettings instance for the default screen.} \section{Structures}{\describe{ \item{\verb{GtkSettings}}{ \emph{undocumented } } \item{\verb{GtkSettingsValue}}{ \emph{undocumented } \strong{\verb{GtkSettingsValue} is a \link{transparent-type}.} } }} \section{Properties}{\describe{ \item{\verb{color-hash} [GHashTable : * : Read]}{ Holds a hash table representation of the \verb{"gtk-color-scheme"} setting, mapping color names to \code{\link{GdkColor}}s. Since 2.10 } \item{\verb{gtk-alternative-button-order} [logical : Read / Write]}{ Whether buttons in dialogs should use the alternative button order. Default value: FALSE } \item{\verb{gtk-alternative-sort-arrows} [logical : Read / Write]}{ Controls the direction of the sort indicators in sorted list and tree views. By default an arrow pointing down means the column is sorted in ascending order. When set to \code{TRUE}, this order will be inverted. Default value: FALSE Since 2.12 } \item{\verb{gtk-auto-mnemonics} [logical : Read / Write]}{ Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator. Default value: FALSE Since 2.20 } \item{\verb{gtk-button-images} [logical : Read / Write]}{ Whether images should be shown on buttons. Default value: TRUE } \item{\verb{gtk-can-change-accels} [logical : Read / Write]}{ Whether menu accelerators can be changed by pressing a key over the menu item. Default value: FALSE } \item{\verb{gtk-color-palette} [character : * : Read / Write]}{ Palette to use in the color selector. Default value: "black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90" } \item{\verb{gtk-color-scheme} [character : * : Read / Write]}{ A palette of named colors for use in themes. The format of the string is \preformatted{name1: color1 name2: color2 ... } Color names must be acceptable as identifiers in the gtkrc syntax, and color specifications must be in the format accepted by \code{\link{gdkColorParse}}. Note that due to the way the color tables from different sources are merged, color specifications will be converted to hexadecimal form when getting this property. Starting with GTK+ 2.12, the entries can alternatively be separated by ';' instead of newlines: \preformatted{name1: color1; name2: color2; ... } Default value: "" Since 2.10 } \item{\verb{gtk-cursor-blink} [logical : Read / Write]}{ Whether the cursor should blink. Also see the \verb{"gtk-cursor-blink-timeout"} setting, which allows more flexible control over cursor blinking. Default value: TRUE } \item{\verb{gtk-cursor-blink-time} [integer : Read / Write]}{ Length of the cursor blink cycle, in milliseconds. Allowed values: >= 100 Default value: 1200 } \item{\verb{gtk-cursor-blink-timeout} [integer : Read / Write]}{ Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction. Setting this to zero has the same effect as setting \verb{"gtk-cursor-blink"} to \code{FALSE}. Allowed values: >= 1 Default value: 2147483647 Since 2.12 } \item{\verb{gtk-cursor-theme-name} [character : * : Read / Write]}{ Name of the cursor theme to use, or NULL to use the default theme. Default value: NULL } \item{\verb{gtk-cursor-theme-size} [integer : Read / Write]}{ Size to use for cursors, or 0 to use the default size. Allowed values: [0,128] Default value: 0 } \item{\verb{gtk-dnd-drag-threshold} [integer : Read / Write]}{ Number of pixels the cursor can move before dragging. Allowed values: >= 1 Default value: 8 } \item{\verb{gtk-double-click-distance} [integer : Read / Write]}{ Maximum distance allowed between two clicks for them to be considered a double click (in pixels). Allowed values: >= 0 Default value: 5 } \item{\verb{gtk-double-click-time} [integer : Read / Write]}{ Maximum time allowed between two clicks for them to be considered a double click (in milliseconds). Allowed values: >= 0 Default value: 250 } \item{\verb{gtk-enable-accels} [logical : Read / Write]}{ Whether menu items should have visible accelerators which can be activated. Default value: TRUE Since 2.12 } \item{\verb{gtk-enable-animations} [logical : Read / Write]}{ Whether to enable toolkit-wide animations. Default value: TRUE } \item{\verb{gtk-enable-event-sounds} [logical : Read / Write]}{ Whether to play any event sounds at all. See the Sound Theme spec (\url{http://www.freedesktop.org/wiki/Specifications/sound-theme-spec}) for more information on event sounds and sound themes. GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra. Default value: TRUE Since 2.14 } \item{\verb{gtk-enable-input-feedback-sounds} [logical : Read / Write]}{ Whether to play event sounds as feedback to user input. See the Sound Theme spec (\url{http://www.freedesktop.org/wiki/Specifications/sound-theme-spec}) for more information on event sounds and sound themes. GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra. Default value: TRUE Since 2.14 } \item{\verb{gtk-enable-mnemonics} [logical : Read / Write]}{ Whether labels and menu items should have visible mnemonics which can be activated. Default value: TRUE Since 2.12 } \item{\verb{gtk-enable-tooltips} [logical : Read / Write]}{ Whether tooltips should be shown on widgets. Default value: TRUE Since 2.14 } \item{\verb{gtk-entry-password-hint-timeout} [numeric : Read / Write]}{ How long to show the last input character in hidden entries. This value is in milliseconds. 0 disables showing the last char. 600 is a good value for enabling it. Default value: 0 Since 2.10 } \item{\verb{gtk-entry-select-on-focus} [logical : Read / Write]}{ Whether to select the contents of an entry when it is focused. Default value: TRUE } \item{\verb{gtk-error-bell} [logical : Read / Write]}{ When \code{TRUE}, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using \code{\link{gdkWindowBeep}}, the windowing system may offer ways to configure the error bell in many ways, such as flashing the window or similar visual effects. Default value: TRUE Since 2.12 } \item{\verb{gtk-fallback-icon-theme} [character : * : Read / Write]}{ Name of a icon theme to fall back to. Default value: NULL } \item{\verb{gtk-file-chooser-backend} [character : * : Read / Write]}{ Name of the GtkFileChooser backend to use by default. Default value: NULL } \item{\verb{gtk-font-name} [character : * : Read / Write]}{ Name of default font to use. Default value: "Sans 10" } \item{\verb{gtk-fontconfig-timestamp} [numeric : Read / Write]}{ Timestamp of current fontconfig configuration. Default value: 0 } \item{\verb{gtk-icon-sizes} [character : * : Read / Write]}{ A list of icon sizes. The list is separated by colons, and item has the form: \\var{size-name} = \\var{width} , \\var{height} E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48". GTK+ itself use the following named icon sizes: gtk-menu, gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd, gtk-dialog. Applications can register their own named icon sizes with \code{\link{gtkIconSizeRegister}}. Default value: NULL } \item{\verb{gtk-icon-theme-name} [character : * : Read / Write]}{ Name of icon theme to use. Default value: "hicolor" } \item{\verb{gtk-im-module} [character : * : Read / Write]}{ Which IM (input method) module should be used by default. This is the input method that will be used if the user has not explicitly chosen another input method from the IM context menu. See \code{\link{GtkIMContext}} and see the \verb{"gtk-show-input-method-menu"} property. Default value: NULL } \item{\verb{gtk-key-theme-name} [character : * : Read / Write]}{ Name of key theme RC file to load. Default value: NULL } \item{\verb{gtk-keynav-cursor-only} [logical : Read / Write]}{ When \code{TRUE}, keyboard navigation should be able to reach all widgets by using the cursor keys only. Tab, Shift etc. keys can't be expected to be present on the used input device. Default value: FALSE Since 2.12 } \item{\verb{gtk-keynav-wrap-around} [logical : Read / Write]}{ When \code{TRUE}, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks. Default value: TRUE Since 2.12 } \item{\verb{gtk-label-select-on-focus} [logical : Read / Write]}{ Whether to select the contents of a selectable label when it is focused. Default value: TRUE } \item{\verb{gtk-menu-bar-accel} [character : * : Read / Write]}{ Keybinding to activate the menu bar. Default value: "F10" } \item{\verb{gtk-menu-bar-popup-delay} [integer : Read / Write]}{ Delay before the submenus of a menu bar appear. Allowed values: >= 0 Default value: 0 } \item{\verb{gtk-menu-images} [logical : Read / Write]}{ Whether images should be shown in menus. Default value: TRUE } \item{\verb{gtk-menu-popdown-delay} [integer : Read / Write]}{ The time before hiding a submenu when the pointer is moving towards the submenu. Allowed values: >= 0 Default value: 1000 } \item{\verb{gtk-menu-popup-delay} [integer : Read / Write]}{ Minimum time the pointer must stay over a menu item before the submenu appear. Allowed values: >= 0 Default value: 225 } \item{\verb{gtk-modules} [character : * : Read / Write]}{ List of currently active GTK modules. Default value: NULL } \item{\verb{gtk-print-backends} [character : * : Read / Write]}{ A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "file", "cups", "lpr" or "papi". Default value: "file,lpr" Since 2.10 } \item{\verb{gtk-print-preview-command} [character : * : Read / Write]}{ A command to run for displaying the print preview. The command should contain a \code{f} placeholder, which will get replaced by the path to the pdf file. The command may also contain a \code{s} placeholder, which will get replaced by the path to a file containing the print settings in the format produced by \code{\link{gtkPrintSettingsToFile}}. The preview application is responsible for removing the pdf file and the print settings file when it is done. Default value: "evince --unlink-tempfile --preview --print-settings \%s \%f" Since 2.10 } \item{\verb{gtk-recent-files-limit} [integer : Read / Write]}{ The number of recently used files that should be displayed by default by \code{\link{GtkRecentChooser}} implementations and by the \code{\link{GtkFileChooser}}. A value of -1 means every recently used file stored. Allowed values: >= -1 Default value: 50 Since 2.12 } \item{\verb{gtk-recent-files-max-age} [integer : Read / Write]}{ The maximum age, in days, of the items inside the recently used resources list. Items older than this setting will be excised from the list. If set to 0, the list will always be empty; if set to -1, no item will be removed. Allowed values: >= -1 Default value: 30 Since 2.14 } \item{\verb{gtk-scrolled-window-placement} [\code{\link{GtkCornerType}} : Read / Write]}{ Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement. Default value: GTK_CORNER_TOP_LEFT Since 2.10 } \item{\verb{gtk-show-input-method-menu} [logical : Read / Write]}{ Whether the context menus of entries and text views should offer to change the input method. Default value: TRUE } \item{\verb{gtk-show-unicode-menu} [logical : Read / Write]}{ Whether the context menus of entries and text views should offer to insert control characters. Default value: TRUE } \item{\verb{gtk-sound-theme-name} [character : * : Read / Write]}{ The XDG sound theme to use for event sounds. See the Sound Theme spec (\url{http://www.freedesktop.org/wiki/Specifications/sound-theme-spec}) for more information on event sounds and sound themes. GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra. Default value: "freedesktop" Since 2.14 } \item{\verb{gtk-split-cursor} [logical : Read / Write]}{ Whether two cursors should be displayed for mixed left-to-right and right-to-left text. Default value: TRUE } \item{\verb{gtk-theme-name} [character : * : Read / Write]}{ Name of theme RC file to load. Default value: "Raleigh" } \item{\verb{gtk-timeout-expand} [integer : Read / Write]}{ Expand value for timeouts, when a widget is expanding a new region. Allowed values: >= 0 Default value: 500 } \item{\verb{gtk-timeout-initial} [integer : Read / Write]}{ Starting value for timeouts, when button is pressed. Allowed values: >= 0 Default value: 200 } \item{\verb{gtk-timeout-repeat} [integer : Read / Write]}{ Repeat value for timeouts, when button is pressed. Allowed values: >= 0 Default value: 20 } \item{\verb{gtk-toolbar-icon-size} [\code{\link{GtkIconSize}} : Read / Write]}{ The size of icons in default toolbars. Default value: GTK_ICON_SIZE_LARGE_TOOLBAR } \item{\verb{gtk-toolbar-style} [\code{\link{GtkToolbarStyle}} : Read / Write]}{ Whether default toolbars have text only, text and icons, icons only, etc. Default value: GTK_TOOLBAR_BOTH } \item{\verb{gtk-tooltip-browse-mode-timeout} [integer : Read / Write]}{ Amount of time, in milliseconds, after which the browse mode will be disabled. See \verb{"gtk-tooltip-browse-timeout"} for more information about browse mode. Allowed values: >= 0 Default value: 500 Since 2.12 } \item{\verb{gtk-tooltip-browse-timeout} [integer : Read / Write]}{ Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds. Browse mode is enabled when the mouse pointer moves off an object where a tooltip was currently being displayed. If the mouse pointer hits another object before the browse mode timeout expires (see \verb{"gtk-tooltip-browse-mode-timeout"}), it will take the amount of milliseconds specified by this setting to popup the tooltip for the new object. Allowed values: >= 0 Default value: 60 Since 2.12 } \item{\verb{gtk-tooltip-timeout} [integer : Read / Write]}{ Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget. Allowed values: >= 0 Default value: 500 Since 2.12 } \item{\verb{gtk-touchscreen-mode} [logical : Read / Write]}{ When \code{TRUE}, there are no motion notify events delivered on this screen, and widgets can't use the pointer hovering them for any essential functionality. Default value: FALSE Since 2.10 } \item{\verb{gtk-xft-antialias} [integer : Read / Write]}{ Whether to antialias Xft fonts; 0=no, 1=yes, -1=default. Allowed values: [-1,1] Default value: -1 } \item{\verb{gtk-xft-dpi} [integer : Read / Write]}{ Resolution for Xft, in 1024 * dots/inch. -1 to use default value. Allowed values: [-1,1048576] Default value: -1 } \item{\verb{gtk-xft-hinting} [integer : Read / Write]}{ Whether to hint Xft fonts; 0=no, 1=yes, -1=default. Allowed values: [-1,1] Default value: -1 } \item{\verb{gtk-xft-hintstyle} [character : * : Read / Write]}{ What degree of hinting to use; hintnone, hintslight, hintmedium, or hintfull. Default value: NULL } \item{\verb{gtk-xft-rgba} [character : * : Read / Write]}{ Type of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr. Default value: NULL } }} \references{\url{http://library.gnome.org/devel//gtk/GtkSettings.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetPopdownStrings.Rd0000644000176000001440000000121112362217677017447 0ustar ripleyusers\alias{gtkComboSetPopdownStrings} \name{gtkComboSetPopdownStrings} \title{gtkComboSetPopdownStrings} \description{ Convenience function to set all of the items in the popup list. (See the example above.) \strong{WARNING: \code{gtk_combo_set_popdown_strings} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetPopdownStrings(object, strings)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{strings}}{a list of strings, or \code{NULL} to clear the popup list} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathPrependIndex.Rd0000644000176000001440000000062612362217677017046 0ustar ripleyusers\alias{gtkTreePathPrependIndex} \name{gtkTreePathPrependIndex} \title{gtkTreePathPrependIndex} \description{Prepends a new index to a path. As a result, the depth of the path is increased.} \usage{gtkTreePathPrependIndex(object, index)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreePath}}.} \item{\verb{index}}{The index.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetIconWidget.Rd0000644000176000001440000000077612362217677017560 0ustar ripleyusers\alias{gtkToolButtonGetIconWidget} \name{gtkToolButtonGetIconWidget} \title{gtkToolButtonGetIconWidget} \description{Return the widget used as icon widget on \code{button}. See \code{\link{gtkToolButtonSetIconWidget}}.} \usage{gtkToolButtonGetIconWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The widget used as icon on \code{button}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetModuleDir.Rd0000644000176000001440000000057212362217677015635 0ustar ripleyusers\alias{gtkRcGetModuleDir} \name{gtkRcGetModuleDir} \title{gtkRcGetModuleDir} \description{Returns a directory in which GTK+ looks for theme engines. For full information about the search for theme engines, see the docs for \env{GTK_PATH} in .} \usage{gtkRcGetModuleDir()} \value{[character] the directory.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterEqual.Rd0000644000176000001440000000127012362217677015560 0ustar ripleyusers\alias{gtkTextIterEqual} \name{gtkTextIterEqual} \title{gtkTextIterEqual} \description{Tests whether two iterators are equal, using the fastest possible mechanism. This function is very fast; you can expect it to perform better than e.g. getting the character offset for each iterator and comparing the offsets yourself. Also, it's a bit faster than \code{\link{gtkTextIterCompare}}.} \usage{gtkTextIterEqual(object, rhs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{rhs}}{another \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if the iterators point to the same place in the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetFormatString.Rd0000644000176000001440000000155112362217677017642 0ustar ripleyusers\alias{gtkProgressSetFormatString} \name{gtkProgressSetFormatString} \title{gtkProgressSetFormatString} \description{ Sets a format string used to display text indicating the current progress. The string can contain the following substitution characters: \itemize{ \item \%v - the current progress value. \item \%l - the lower bound for the progress value. \item \%u - the upper bound for the progress value. \item \%p - the current progress percentage. } \strong{WARNING: \code{gtk_progress_set_format_string} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetFormatString(object, format)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{format}}{a string used to display progress text, or \code{NULL} to restore to the default format.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkIsInline.Rd0000644000176000001440000000114112362217677016407 0ustar ripleyusers\alias{atkHyperlinkIsInline} \name{atkHyperlinkIsInline} \title{atkHyperlinkIsInline} \description{Indicates whether the link currently displays some or all of its content inline. Ordinary HTML links will usually return \code{FALSE}, but an inline <src> HTML element will return \code{TRUE}. a *} \usage{atkHyperlinkIsInline(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \value{[logical] whether or not this link displays its content inline.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActivatableGetUseActionAppearance.Rd0000644000176000001440000000107412362217677021474 0ustar ripleyusers\alias{gtkActivatableGetUseActionAppearance} \name{gtkActivatableGetUseActionAppearance} \title{gtkActivatableGetUseActionAppearance} \description{Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance.} \usage{gtkActivatableGetUseActionAppearance(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkActivatable}}}} \details{Since 2.16} \value{[logical] whether \code{activatable} uses its actions appearance.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetShowFillLevel.Rd0000644000176000001440000000066012362217677017156 0ustar ripleyusers\alias{gtkRangeGetShowFillLevel} \name{gtkRangeGetShowFillLevel} \title{gtkRangeGetShowFillLevel} \description{Gets whether the range displays the fill level graphically.} \usage{gtkRangeGetShowFillLevel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkRange}}}} \details{Since 2.12} \value{[logical] \code{TRUE} if \code{range} shows the fill level.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathNewFromString.Rd0000644000176000001440000000137612362217677017230 0ustar ripleyusers\alias{gtkTreePathNewFromString} \name{gtkTreePathNewFromString} \title{gtkTreePathNewFromString} \description{Creates a new \code{\link{GtkTreePath}} initialized to \code{path}. \code{path} is expected to be a colon separated list of numbers. For example, the string "10:4:0" would create a path of depth 3 pointing to the 11th child of the root node, the 5th child of that 11th child, and the 1st child of that 5th child. If an invalid path string is passed in, \code{NULL} is returned.} \usage{gtkTreePathNewFromString(path)} \arguments{\item{\verb{path}}{The string representation of a path.}} \value{[\code{\link{GtkTreePath}}] A newly-created \code{\link{GtkTreePath}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetFromPixbuf.Rd0000644000176000001440000000102312362217677017566 0ustar ripleyusers\alias{gtkStatusIconSetFromPixbuf} \name{gtkStatusIconSetFromPixbuf} \title{gtkStatusIconSetFromPixbuf} \description{Makes \code{status.icon} display \code{pixbuf}. See \code{\link{gtkStatusIconNewFromPixbuf}} for details.} \usage{gtkStatusIconSetFromPixbuf(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkLinkButton.Rd0000644000176000001440000000615112362217677015054 0ustar ripleyusers\alias{GtkLinkButton} \alias{gtkLinkButton} \alias{GtkLinkButtonUriFunc} \name{GtkLinkButton} \title{GtkLinkButton} \description{Create buttons bound to a URL} \section{Methods and Functions}{ \code{\link{gtkLinkButtonNew}(uri)}\cr \code{\link{gtkLinkButtonNewWithLabel}(uri, label = NULL, show = TRUE)}\cr \code{\link{gtkLinkButtonGetUri}(object)}\cr \code{\link{gtkLinkButtonSetUri}(object, uri)}\cr \code{\link{gtkLinkButtonSetUriHook}(func, data)}\cr \code{\link{gtkLinkButtonGetVisited}(object)}\cr \code{\link{gtkLinkButtonSetVisited}(object, visited)}\cr \code{gtkLinkButton(uri, label = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkLinkButton}} \section{Interfaces}{GtkLinkButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkLinkButton}} is a \code{\link{GtkButton}} with a hyperlink, similar to the one used by web browsers, which triggers an action when clicked. It is useful to show quick links to resources. A link button is created by calling either \code{\link{gtkLinkButtonNew}} or \code{\link{gtkLinkButtonNewWithLabel}}. If using the former, the URI you pass to the constructor is used as a label for the widget. The URI bound to a \code{\link{GtkLinkButton}} can be set specifically using \code{\link{gtkLinkButtonSetUri}}, and retrieved using \code{\link{gtkLinkButtonGetUri}}. \code{\link{GtkLinkButton}} offers a global hook, which is called when the used clicks on it: see \code{\link{gtkLinkButtonSetUriHook}}. \code{\link{GtkLinkButton}} was added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkLinkButton}}{ The \code{\link{GtkLinkButton}} struct contains private data only, and should be manipulated using the functions below. }}} \section{Convenient Construction}{\code{gtkLinkButton} is the equivalent of \code{\link{gtkLinkButtonNewWithLabel}}.} \section{User Functions}{\describe{\item{\code{GtkLinkButtonUriFunc(button, link., user.data)}}{ The type of a function which is called when the \code{\link{GtkLinkButton}} is clicked. \describe{ \item{\code{button}}{the \code{\link{GtkLinkButton}} which was clicked} \item{\code{link.}}{the URI to which the clicked \code{\link{GtkLinkButton}} points} \item{\code{user.data}}{user data that was passed when the function was registered with \code{\link{gtkLinkButtonSetUriHook}}} } }}} \section{Properties}{\describe{ \item{\verb{uri} [character : * : Read / Write]}{ The URI bound to this button. Default value: NULL Since 2.10 } \item{\verb{visited} [logical : Read / Write]}{ The 'visited' state of this button. A visited link is drawn in a different color. Default value: FALSE Since 2.14 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkLinkButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkButton}}} \keyword{internal} RGtk2/man/gtkDragDestGetTrackMotion.Rd0000644000176000001440000000076212362217677017335 0ustar ripleyusers\alias{gtkDragDestGetTrackMotion} \name{gtkDragDestGetTrackMotion} \title{gtkDragDestGetTrackMotion} \description{Returns whether the widget has been configured to always emit ::drag-motion signals.} \usage{gtkDragDestGetTrackMotion(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination}} \details{Since 2.10} \value{[logical] \code{TRUE} if the widget always emits ::drag-motion events} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleClearMarks.Rd0000644000176000001440000000054312362217677016016 0ustar ripleyusers\alias{gtkScaleClearMarks} \name{gtkScaleClearMarks} \title{gtkScaleClearMarks} \description{Removes any marks that have been added with \code{\link{gtkScaleAddMark}}.} \usage{gtkScaleClearMarks(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScale}}}} \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetPageHeaderImage.Rd0000644000176000001440000000116312362217677020317 0ustar ripleyusers\alias{gtkAssistantSetPageHeaderImage} \name{gtkAssistantSetPageHeaderImage} \title{gtkAssistantSetPageHeaderImage} \description{Sets a header image for \code{page}. This image is displayed in the header area of the assistant when \code{page} is the current page.} \usage{gtkAssistantSetPageHeaderImage(object, page, pixbuf = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} \item{\verb{pixbuf}}{the new header image \code{page}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapGetFontType.Rd0000644000176000001440000000101312362217677020005 0ustar ripleyusers\alias{pangoCairoFontMapGetFontType} \name{pangoCairoFontMapGetFontType} \title{pangoCairoFontMapGetFontType} \description{Gets the type of Cairo font backend that \code{fontmap} uses.} \usage{pangoCairoFontMapGetFontType(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCairoFontMap}}] a \code{\link{PangoCairoFontMap}}}} \details{ Since 1.18} \value{[\code{\link{CairoFontType}}] the \code{\link{CairoFontType}} cairo font backend type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxGetChildSecondary.Rd0000644000176000001440000000104212362217677020215 0ustar ripleyusers\alias{gtkButtonBoxGetChildSecondary} \name{gtkButtonBoxGetChildSecondary} \title{gtkButtonBoxGetChildSecondary} \description{Returns whether \code{child} should appear in a secondary group of children.} \usage{gtkButtonBoxGetChildSecondary(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButtonBox}}} \item{\verb{child}}{a child of \code{widget}} } \details{Since 2.4} \value{[logical] whether \code{child} should appear in a secondary group of children.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorNewFromPixmap.Rd0000644000176000001440000000441112362217677016732 0ustar ripleyusers\alias{gdkCursorNewFromPixmap} \name{gdkCursorNewFromPixmap} \title{gdkCursorNewFromPixmap} \description{Creates a new cursor from a given pixmap and mask. Both the pixmap and mask must have a depth of 1 (i.e. each pixel has only 2 values - on or off). The standard cursor size is 16 by 16 pixels. You can create a bitmap from inline data as in the below example.} \usage{gdkCursorNewFromPixmap(source, mask, fg, bg, x, y)} \arguments{ \item{\verb{source}}{the pixmap specifying the cursor.} \item{\verb{mask}}{the pixmap specifying the mask, which must be the same size as \code{source}.} \item{\verb{fg}}{the foreground color, used for the bits in the source which are 1. The color does not have to be allocated first.} \item{\verb{bg}}{the background color, used for the bits in the source which are 0. The color does not have to be allocated first.} \item{\verb{x}}{the horizontal offset of the 'hotspot' of the cursor.} \item{\verb{y}}{the vertical offset of the 'hotspot' of the cursor.} } \details{ \emph{Creating a custom cursor} \preformatted{ ###### # Creating a custom cursor ###### ## This data is in X bitmap format, and can be created with the 'bitmap' ## utility in X11 cursor1_width <- 16 cursor1_height <- 16 cursor1_bits <- c(0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20, 0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10, 0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01) cursor1mask_bits <- c(0x80, 0x01, 0xc0, 0x03, 0x60, 0x06, 0x30, 0x0c, 0x18, 0x18, 0x8c, 0x31, 0xc6, 0x63, 0x63, 0xc6, 0x63, 0xc6, 0xc6, 0x63, 0x8c, 0x31, 0x18, 0x18, 0x30, 0x0c, 0x60, 0x06, 0xc0, 0x03, 0x80, 0x01) fg <- c(65535, 0, 0) # Red. bg <- c(0, 0, 65535) # Blue. source <- gdkBitmapCreateFromData(NULL, cursor1_bits, cursor1_width, cursor1_height) mask <- gdkBitmapCreateFromData(NULL, cursor1mask_bits, cursor1_width, cursor1_height) cursor <- gdkCursorNewFromPixmap(source, mask, fg, bg, 8, 8) widget[["window"]]$setCursor(cursor) }} \value{[\code{\link{GdkCursor}}] a new \code{\link{GdkCursor}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPopupDisable.Rd0000644000176000001440000000046312362217677017113 0ustar ripleyusers\alias{gtkNotebookPopupDisable} \name{gtkNotebookPopupDisable} \title{gtkNotebookPopupDisable} \description{Disables the popup menu.} \usage{gtkNotebookPopupDisable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawHandle.Rd0000644000176000001440000000162312362217677015033 0ustar ripleyusers\alias{gtkDrawHandle} \name{gtkDrawHandle} \title{gtkDrawHandle} \description{ Draws a handle as used in \code{\link{GtkHandleBox}} and \code{\link{GtkPaned}}. \strong{WARNING: \code{gtk_draw_handle} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintHandle}} instead.} } \usage{gtkDrawHandle(object, window, state.type, shadow.type, x, y, width, height, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{x}}{x origin of the handle} \item{\verb{y}}{y origin of the handle} \item{\verb{width}}{with of the handle} \item{\verb{height}}{height of the handle} \item{\verb{orientation}}{the orientation of the handle} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetAuthors.Rd0000644000176000001440000000070212362217677017233 0ustar ripleyusers\alias{gtkAboutDialogSetAuthors} \name{gtkAboutDialogSetAuthors} \title{gtkAboutDialogSetAuthors} \description{Sets the strings which are displayed in the authors tab of the secondary credits dialog.} \usage{gtkAboutDialogSetAuthors(object, authors)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{authors}}{a list of strings} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextSetSurrounding.Rd0000644000176000001440000000137412362217677017613 0ustar ripleyusers\alias{gtkIMContextSetSurrounding} \name{gtkIMContextSetSurrounding} \title{gtkIMContextSetSurrounding} \description{Sets surrounding context around the insertion point and preedit string. This function is expected to be called in response to the GtkIMContext::retrieve_surrounding signal, and will likely have no effect if called at other times.} \usage{gtkIMContextSetSurrounding(object, text, cursor.index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{text}}{text surrounding the insertion point, as UTF-8. the preedit string should not be included within \code{text}.} \item{\verb{cursor.index}}{the byte index of the insertion cursor within \code{text}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryAppendText.Rd0000644000176000001440000000103612362217677016116 0ustar ripleyusers\alias{gtkEntryAppendText} \name{gtkEntryAppendText} \title{gtkEntryAppendText} \description{ Appends the given text to the contents of the widget. \strong{WARNING: \code{gtk_entry_append_text} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEditableInsertText}} instead.} } \usage{gtkEntryAppendText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{text}}{the text to append} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetColor.Rd0000644000176000001440000000136412362217677017423 0ustar ripleyusers\alias{gtkColorSelectionSetColor} \name{gtkColorSelectionSetColor} \title{gtkColorSelectionSetColor} \description{ Sets the current color to be \code{color}. The first time this is called, it will also set the original color to be \code{color} too. \strong{WARNING: \code{gtk_color_selection_set_color} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkColorSelectionSetCurrentColor}} instead.} } \usage{gtkColorSelectionSetColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{color}}{a list of 4 doubles specifying the red, green, blue and opacity to set the current color to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryDefaultHandler.Rd0000644000176000001440000000213312362217677017170 0ustar ripleyusers\alias{gFileQueryDefaultHandler} \name{gFileQueryDefaultHandler} \title{gFileQueryDefaultHandler} \description{Returns the \code{\link{GAppInfo}} that is registered as the default application to handle the file specified by \code{file}.} \usage{gFileQueryDefaultHandler(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}} to open.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GAppInfo}}] a \code{\link{GAppInfo}} if the handle was found, \code{NULL} if there were errors. When you are done with it,} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutMoveCursorVisually.Rd0000644000176000001440000000516312362217677020377 0ustar ripleyusers\alias{pangoLayoutMoveCursorVisually} \name{pangoLayoutMoveCursorVisually} \title{pangoLayoutMoveCursorVisually} \description{Computes a new cursor position from an old position and a count of positions to move visually. If \code{direction} is positive, then the new strong cursor position will be one position to the right of the old cursor position. If \code{direction} is negative, then the new strong cursor position will be one position to the left of the old cursor position.} \usage{pangoLayoutMoveCursorVisually(object, strong, old.index, old.trailing, direction)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}.} \item{\verb{strong}}{[logical] whether the moving cursor is the strong cursor or the weak cursor. The strong cursor is the cursor corresponding to text insertion in the base direction for the layout.} \item{\verb{old.index}}{[integer] the byte index of the grapheme for the old index} \item{\verb{old.trailing}}{[integer] if 0, the cursor was at the trailing edge of the grapheme indicated by \code{old.index}, if > 0, the cursor was at the leading edge.} \item{\verb{direction}}{[integer] direction to move cursor. A negative value indicates motion to the left.} } \details{In the presence of bidirectional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run. Motion here is in cursor positions, not in characters, so a single call to \code{\link{pangoLayoutMoveCursorVisually}} may move the cursor over multiple characters when multiple characters combine to form a single grapheme. } \value{ A list containing the following elements: \item{\verb{new.index}}{[integer] location to store the new cursor byte index. A value of -1 indicates that the cursor has been moved off the beginning of the layout. A value of \code{G_MAXINT} indicates that the cursor has been moved off the end of the layout.} \item{\verb{new.trailing}}{[integer] number of characters to move forward from the location returned for \code{new.index} to get the position where the cursor should be displayed. This allows distinguishing the position at the beginning of one line from the position at the end of the preceding line. \code{new.index} is always on the line where the cursor should be displayed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueDraw.Rd0000644000176000001440000000054012362217677016065 0ustar ripleyusers\alias{gtkWidgetQueueDraw} \name{gtkWidgetQueueDraw} \title{gtkWidgetQueueDraw} \description{Equivalent to calling \code{\link{gtkWidgetQueueDrawArea}} for the entire area of a widget.} \usage{gtkWidgetQueueDraw(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUntilAsync.Rd0000644000176000001440000000205712362217677020340 0ustar ripleyusers\alias{gDataInputStreamReadUntilAsync} \name{gDataInputStreamReadUntilAsync} \title{gDataInputStreamReadUntilAsync} \description{The asynchronous version of \code{\link{gDataInputStreamReadUntil}}. It is an error to have two outstanding calls to this function.} \usage{gDataInputStreamReadUntilAsync(object, stop.chars, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{stop.chars}}{characters to terminate the read.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied.} \item{\verb{user.data}}{the data to pass to callback function.} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDataInputStreamReadUntilFinish}} to get the result of the operation. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetDashCount.Rd0000644000176000001440000000103312362217677015655 0ustar ripleyusers\alias{cairoGetDashCount} \name{cairoGetDashCount} \title{cairoGetDashCount} \description{This function returns the length of the dash list in \code{cr} (0 if dashing is not currently in effect).} \usage{cairoGetDashCount(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \details{See also \code{\link{cairoSetDash}} and \code{\link{cairoGetDash}}. Since 1.4} \value{[integer] the length of the dash list, or 0 if no dash list set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoResetClip.Rd0000644000176000001440000000154012362217677015650 0ustar ripleyusers\alias{gdkCairoResetClip} \name{gdkCairoResetClip} \title{gdkCairoResetClip} \description{Resets the clip region for a Cairo context created by \code{\link{gdkCairoCreate}}.} \usage{gdkCairoResetClip(cr, drawable)} \arguments{ \item{\verb{cr}}{a \code{\link{Cairo}}} \item{\verb{drawable}}{a \code{\link{GdkDrawable}}} } \details{This resets the clip region to the "empty" state for the given drawable. This is required for non-native windows since a direct call to \code{\link{cairoResetClip}} would unset the clip region inherited from the drawable (i.e. the window clip region), and thus let you e.g. draw outside your window. This is rarely needed though, since most code just create a new cairo_t using \code{\link{gdkCairoCreate}} each time they want to draw something. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoUnref.Rd0000644000176000001440000000065212362217677016057 0ustar ripleyusers\alias{gtkRecentInfoUnref} \name{gtkRecentInfoUnref} \title{gtkRecentInfoUnref} \description{Decreases the reference count of \code{info} by one. If the reference count reaches zero, \code{info} is deallocated, and the memory freed.} \usage{gtkRecentInfoUnref(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamFlushAsync.Rd0000644000176000001440000000164412362217677017142 0ustar ripleyusers\alias{gOutputStreamFlushAsync} \name{gOutputStreamFlushAsync} \title{gOutputStreamFlushAsync} \description{Flushes a stream asynchronously. For behaviour details see \code{\link{gOutputStreamFlush}}.} \usage{gOutputStreamFlushAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{io.priority}}{the io priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{When the operation is finished \code{callback} will be called. You can then call \code{\link{gOutputStreamFlushFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetIndent.Rd0000644000176000001440000000067612362217677015651 0ustar ripleyusers\alias{gtkCTreeSetIndent} \name{gtkCTreeSetIndent} \title{gtkCTreeSetIndent} \description{ \strong{WARNING: \code{gtk_ctree_set_indent} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetIndent(object, indent)} \arguments{ \item{\verb{object}}{The number of pixels to shift the levels of the tree.} \item{\verb{indent}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMcOrgLocal.Rd0000644000176000001440000000074512362217677017533 0ustar ripleyusers\alias{gInetAddressGetIsMcOrgLocal} \name{gInetAddressGetIsMcOrgLocal} \title{gInetAddressGetIsMcOrgLocal} \description{Tests whether \code{address} is an organization-local multicast address.} \usage{gInetAddressGetIsMcOrgLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is an organization-local multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConditionWait.Rd0000644000176000001440000000202012362217677016377 0ustar ripleyusers\alias{gSocketConditionWait} \name{gSocketConditionWait} \title{gSocketConditionWait} \description{Waits for \code{condition} to become true on \code{socket}. When the condition is met, \code{TRUE} is returned.} \usage{gSocketConditionWait(object, condition, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{condition}}{a \code{\link{GIOCondition}} mask to wait for} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is cancelled before the condition is met then \code{FALSE} is returned and \code{error}, if non-\code{NULL}, is set to \code{G_IO_ERROR_CANCELLED}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the condition was met, \code{FALSE} otherwise} \item{\verb{error}}{a \code{\link{GError}} pointer, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByAddress.Rd0000644000176000001440000000222512362217677017256 0ustar ripleyusers\alias{gResolverLookupByAddress} \name{gResolverLookupByAddress} \title{gResolverLookupByAddress} \description{Synchronously reverse-resolves \code{address} to determine its associated hostname.} \usage{gResolverLookupByAddress(object, address, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{address}}{the address to reverse-resolve} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the DNS resolution fails, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If \code{cancellable} is non-\code{NULL}, it can be used to cancel the operation, in which case \code{error} (if non-\code{NULL}) will be set to \code{G_IO_ERROR_CANCELLED}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[character] a hostname (either ASCII-only, or in ASCII-encoded form), or \code{NULL} on error.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetGeometryHints.Rd0000644000176000001440000000260612362217677017451 0ustar ripleyusers\alias{gdkWindowSetGeometryHints} \name{gdkWindowSetGeometryHints} \title{gdkWindowSetGeometryHints} \description{Sets the geometry hints for \code{window}. Hints flagged in \code{geom.mask} are set, hints not flagged in \code{geom.mask} are unset. To unset all hints, use a \code{geom.mask} of 0 and a \code{geometry} of \code{NULL}.} \usage{gdkWindowSetGeometryHints(object, geometry)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{geometry}}{geometry hints} } \details{This function provides hints to the windowing system about acceptable sizes for a toplevel window. The purpose of this is to constrain user resizing, but the windowing system will typically (but is not required to) also constrain the current size of the window to the provided values and constrain programatic resizing via \code{\link{gdkWindowResize}} or \code{\link{gdkWindowMoveResize}}. Note that on X11, this effect has no effect on windows of type \code{GDK_WINDOW_TEMP} or windows where override redirect has been turned on via \code{\link{gdkWindowSetOverrideRedirect}} since these windows are not resizable by the user. Since you can't count on the windowing system doing the constraints for programmatic resizes, you should generally call \code{\link{gdkWindowConstrainSize}} yourself to determine appropriate sizes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIdleRemoveByData.Rd0000644000176000001440000000102312362217677016134 0ustar ripleyusers\alias{gtkIdleRemoveByData} \name{gtkIdleRemoveByData} \title{gtkIdleRemoveByData} \description{ Removes the idle function identified by the user data. \strong{WARNING: \code{gtk_idle_remove_by_data} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{gIdleRemoveByData()} instead.} } \usage{gtkIdleRemoveByData(data)} \arguments{\item{\verb{data}}{remove the idle function which was registered with this user data.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserMenuSetShowNumbers.Rd0000644000176000001440000000122112362217677021255 0ustar ripleyusers\alias{gtkRecentChooserMenuSetShowNumbers} \name{gtkRecentChooserMenuSetShowNumbers} \title{gtkRecentChooserMenuSetShowNumbers} \description{Sets whether a number should be added to the items of \code{menu}. The numbers are shown to provide a unique character for a mnemonic to be used inside ten menu item's label. Only the first the items get a number to avoid clashes.} \usage{gtkRecentChooserMenuSetShowNumbers(object, show.numbers)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooserMenu}}} \item{\verb{show.numbers}}{whether to show numbers} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceDscBeginPageSetup.Rd0000644000176000001440000000144712362217677020446 0ustar ripleyusers\alias{cairoPsSurfaceDscBeginPageSetup} \name{cairoPsSurfaceDscBeginPageSetup} \title{cairoPsSurfaceDscBeginPageSetup} \description{This function indicates that subsequent calls to \code{\link{cairoPsSurfaceDscComment}} should direct comments to the PageSetup section of the PostScript output.} \usage{cairoPsSurfaceDscBeginPageSetup(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}}} \details{This function call is only needed for the first page of a surface. It should be called after any call to \code{\link{cairoPsSurfaceDscBeginSetup}} and before any drawing is performed to the surface. See \code{\link{cairoPsSurfaceDscComment}} for more details. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeInfoListAdd.Rd0000644000176000001440000000122612362217677017306 0ustar ripleyusers\alias{gFileAttributeInfoListAdd} \name{gFileAttributeInfoListAdd} \title{gFileAttributeInfoListAdd} \description{Adds a new attribute with \code{name} to the \code{list}, setting its \code{type} and \code{flags}.} \usage{gFileAttributeInfoListAdd(object, name, type, flags = "G_FILE_ATTRIBUTE_INFO_NONE")} \arguments{ \item{\verb{object}}{a \code{\link{GFileAttributeInfoList}}.} \item{\verb{name}}{the name of the attribute to add.} \item{\verb{type}}{the \code{\link{GFileAttributeType}} for the attribute.} \item{\verb{flags}}{\code{\link{GFileAttributeInfoFlags}} for the attribute.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceGetRenderGlyphFunc.Rd0000644000176000001440000000110512362217677021271 0ustar ripleyusers\alias{cairoUserFontFaceGetRenderGlyphFunc} \name{cairoUserFontFaceGetRenderGlyphFunc} \title{cairoUserFontFaceGetRenderGlyphFunc} \description{Gets the glyph rendering function of a user-font.} \usage{cairoUserFontFaceGetRenderGlyphFunc(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face}} \details{ Since 1.8} \value{[cairo_user_scaled_font_render_glyph_func_t] The render_glyph callback of \code{font.face} or \code{NULL} if none set or an error has occurred.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMapListFamilies.Rd0000644000176000001440000000126012362217677017210 0ustar ripleyusers\alias{pangoFontMapListFamilies} \name{pangoFontMapListFamilies} \title{pangoFontMapListFamilies} \description{List all families for a fontmap.} \usage{pangoFontMapListFamilies(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMap}}] a \code{\link{PangoFontMap}}}} \value{ A list containing the following elements: \item{\verb{families}}{[\code{\link{PangoFontFamily}}] location to store a pointer to a list of \code{\link{PangoFontFamily}} *. This list should be freed with \code{gFree()}.} \item{\verb{n.families}}{[integer] location to store the number of elements in \code{families}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOpenReadwriteFinish.Rd0000644000176000001440000000136612362217677017200 0ustar ripleyusers\alias{gFileOpenReadwriteFinish} \name{gFileOpenReadwriteFinish} \title{gFileOpenReadwriteFinish} \description{Finishes an asynchronous file read operation started with \code{\link{gFileOpenReadwriteAsync}}.} \usage{gFileOpenReadwriteFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] a \code{\link{GFileIOStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetOverwrite.Rd0000644000176000001440000000070112362217677017144 0ustar ripleyusers\alias{gtkTextViewGetOverwrite} \name{gtkTextViewGetOverwrite} \title{gtkTextViewGetOverwrite} \description{Returns whether the \code{\link{GtkTextView}} is in overwrite mode or not.} \usage{gtkTextViewGetOverwrite(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \details{Since 2.4} \value{[logical] whether \code{text.view} is in overwrite mode or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextAttributesCopyValues.Rd0000644000176000001440000000100212362217677020017 0ustar ripleyusers\alias{gtkTextAttributesCopyValues} \name{gtkTextAttributesCopyValues} \title{gtkTextAttributesCopyValues} \description{Copies the values from \code{src} to \code{dest} so that \code{dest} has the same values as \code{src}. Frees existing values in \code{dest}.} \usage{gtkTextAttributesCopyValues(object, dest)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextAttributes}}} \item{\verb{dest}}{another \code{\link{GtkTextAttributes}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoRef.Rd0000644000176000001440000000067112362217677015515 0ustar ripleyusers\alias{gtkRecentInfoRef} \name{gtkRecentInfoRef} \title{gtkRecentInfoRef} \description{Increases the reference count of \code{recent.info} by one.} \usage{gtkRecentInfoRef(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[\code{\link{GtkRecentInfo}}] the recent info object with its reference count increased by one.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowPresent.Rd0000644000176000001440000000201512362217677015626 0ustar ripleyusers\alias{gtkWindowPresent} \name{gtkWindowPresent} \title{gtkWindowPresent} \description{Presents a window to the user. This may mean raising the window in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences.} \usage{gtkWindowPresent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{If \code{window} is hidden, this function calls \code{\link{gtkWidgetShow}} as well. This function should be used when the user tries to open a window that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use \code{\link{gtkWindowPresent}} to move the already-open dialog where the user can see it. If you are calling this function in response to a user interaction, it is preferable to use \code{\link{gtkWindowPresentWithTime}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkAddGlobalEventListener.Rd0000644000176000001440000000111312362217677017327 0ustar ripleyusers\alias{atkAddGlobalEventListener} \name{atkAddGlobalEventListener} \title{atkAddGlobalEventListener} \description{Adds the specified function to the list of functions to be called when an event of type event_type occurs.} \usage{atkAddGlobalEventListener(listener, event.type)} \arguments{ \item{\verb{listener}}{[GSignalEmissionHook] the listener to notify} \item{\verb{event.type}}{[character] the type of event for which notification is requested} } \value{[numeric] added event listener id, or 0 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetSelectFunction.Rd0000644000176000001440000000070012362217677021070 0ustar ripleyusers\alias{gtkTreeSelectionGetSelectFunction} \name{gtkTreeSelectionGetSelectFunction} \title{gtkTreeSelectionGetSelectFunction} \description{Returns the current selection function.} \usage{gtkTreeSelectionGetSelectFunction(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \details{Since 2.14} \value{[\code{\link{GtkTreeSelectionFunc}}] The function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGetDefaultRootWindow.Rd0000644000176000001440000000056212362217677017063 0ustar ripleyusers\alias{gdkGetDefaultRootWindow} \name{gdkGetDefaultRootWindow} \title{gdkGetDefaultRootWindow} \description{Obtains the root window (parent all other windows are inside) for the default display and screen.} \usage{gdkGetDefaultRootWindow()} \value{[\code{\link{GdkWindow}}] the default root window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetTooltipMarkup.Rd0000644000176000001440000000063712362217677017444 0ustar ripleyusers\alias{gtkWidgetGetTooltipMarkup} \name{gtkWidgetGetTooltipMarkup} \title{gtkWidgetGetTooltipMarkup} \description{Gets the contents of the tooltip for \code{widget}.} \usage{gtkWidgetGetTooltipMarkup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.12} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryAdd.Rd0000644000176000001440000000200012362217677015641 0ustar ripleyusers\alias{gtkIconFactoryAdd} \name{gtkIconFactoryAdd} \title{gtkIconFactoryAdd} \description{Adds the given \code{icon.set} to the icon factory, under the name \code{stock.id}. \code{stock.id} should be namespaced for your application, e.g. "myapp-whatever-icon". Normally applications create a \code{\link{GtkIconFactory}}, then add it to the list of default factories with \code{\link{gtkIconFactoryAddDefault}}. Then they pass the \code{stock.id} to widgets such as \code{\link{GtkImage}} to display the icon. Themes can provide an icon with the same name (such as "myapp-whatever-icon") to override your application's default icons. If an icon already existed in \code{factory} for \code{stock.id}, it is unreferenced and replaced with the new \code{icon.set}.} \usage{gtkIconFactoryAdd(object, stock.id, icon.set)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconFactory}}} \item{\verb{stock.id}}{icon name} \item{\verb{icon.set}}{icon set} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetPopup.Rd0000644000176000001440000000066712362217677016740 0ustar ripleyusers\alias{gtkScaleButtonGetPopup} \name{gtkScaleButtonGetPopup} \title{gtkScaleButtonGetPopup} \description{Retrieves the popup of the \code{\link{GtkScaleButton}}.} \usage{gtkScaleButtonGetPopup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the popup of the \code{\link{GtkScaleButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetChar.Rd0000644000176000001440000000052312362217677016026 0ustar ripleyusers\alias{gtkTextIterGetChar} \name{gtkTextIterGetChar} \title{gtkTextIterGetChar} \description{returns 0.} \usage{gtkTextIterGetChar(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[numeric] a Unicode character, or 0 if \code{iter} is not dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/typeClass.Rd0000644000176000001440000000551211766145227014262 0ustar ripleyusers\name{gtkObjectGetClasses} \alias{gtkObjectGetClasses} \alias{gtkTypeGetClasses} \alias{gtkObjectGetTypeName} \title{Dynamically Computes class information} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions dynamically compute information about the class hierarchy for a given Gtk object or a type. The class hierarchy is defined by the C-level Gtk code and is ``reflected'' to S via these functions. Most S-level Gtk objects will be created in the RGtk package with the appropriate class. In cases where this is not true, \code{gtkObjectGetClass} can be used to compute and assign the appropriate class so that the regular S interface for that object will work. } \usage{ gtkObjectGetClasses(w, check=TRUE) gtkObjectGetTypeName(w) gtkTypeGetClasses(type) } %- maybe also `usage' for other objects documented here. \arguments{ \item{w}{the Gtk object whose class information is to be computed.} \item{type}{an S object identifying the Gtk type of interest. This can be either a character string giving the name of the type or an object of class \code{GtkType}} \item{check}{a logical value that can be used to bypass a check that the argument \code{w} is of class \code{GtkObject}. If the object has not class information but the caller knows that it is a pointer to a Gtk object, then to compute the class conveniently, \code{check} can be passed as \code{FALSE}.} } \details{ This uses C code to query the internal Gtk class hierarchy. The class information is not (only) S class information, but mirrors the real Gtk class hieararchy. } \value{ A character vector. \code{gtkObjectGetTypeName} returns the name of the class/type of the given object. \code{gtkObjectGetClasses} and \code{gtkTypeGetClasses} return the names of the object class/type and its successive parent classes, up to \code{GtkObject}. } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) Type information about a particular class is not available until that class has been initialized. One can call the C routine \code{gtk__get_type} to initialize it or, more commonly and completely, create an instance of that class. So \code{.C("gtk_button_get_type", PACKAGE = "RGtk")} or \code{gtkButton()} should preceed \code{gtkTypeGetClasses("GtkButton")} } \seealso{ \code{\link{gtkObjectGetSignals}} \code{\link{gtkTypeGetSignals}} } \examples{ if (gtkInit()) { b <- gtkButton() class(b) # Should be true class(b) == gtkObjectGetClasses(b) } } \keyword{interface} \keyword{internal} RGtk2/man/gdkDrawImage.Rd0000644000176000001440000000220512362217677014637 0ustar ripleyusers\alias{gdkDrawImage} \name{gdkDrawImage} \title{gdkDrawImage} \description{Draws a \code{\link{GdkImage}} onto a drawable. The depth of the \code{\link{GdkImage}} must match the depth of the \code{\link{GdkDrawable}}.} \usage{gdkDrawImage(object, gc, image, xsrc, ysrc, xdest, ydest, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{image}}{the \code{\link{GdkImage}} to draw.} \item{\verb{xsrc}}{the left edge of the source rectangle within \code{image}.} \item{\verb{ysrc}}{the top of the source rectangle within \code{image}.} \item{\verb{xdest}}{the x coordinate of the destination within \code{drawable}.} \item{\verb{ydest}}{the y coordinate of the destination within \code{drawable}.} \item{\verb{width}}{the width of the area to be copied, or -1 to make the area extend to the right edge of \code{image}.} \item{\verb{height}}{the height of the area to be copied, or -1 to make the area extend to the bottom edge of \code{image}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionSetDescription.Rd0000644000176000001440000000123312362217677017106 0ustar ripleyusers\alias{atkActionSetDescription} \name{atkActionSetDescription} \title{atkActionSetDescription} \description{Sets a description of the specified action of the object.} \usage{atkActionSetDescription(object, i, desc)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } \item{\verb{desc}}{[character] the description to be assigned to this action} } \value{[logical] a gboolean representing if the description was successfully set;} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterOutputStreamGetBaseStream.Rd0000644000176000001440000000067012362217677020715 0ustar ripleyusers\alias{gFilterOutputStreamGetBaseStream} \name{gFilterOutputStreamGetBaseStream} \title{gFilterOutputStreamGetBaseStream} \description{Gets the base stream for the filter stream.} \usage{gFilterOutputStreamGetBaseStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GFilterOutputStream}}.}} \value{[\code{\link{GOutputStream}}] a \code{\link{GOutputStream}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetQuality.Rd0000644000176000001440000000065712362217677017656 0ustar ripleyusers\alias{gtkPrintSettingsGetQuality} \name{gtkPrintSettingsGetQuality} \title{gtkPrintSettingsGetQuality} \description{Gets the value of \code{GTK_PRINT_SETTINGS_QUALITY}.} \usage{gtkPrintSettingsGetQuality(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPrintQuality}}] the print quality} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionRectangle.Rd0000644000176000001440000000056712362217677016060 0ustar ripleyusers\alias{gdkRegionRectangle} \name{gdkRegionRectangle} \title{gdkRegionRectangle} \description{Creates a new region containing the area \code{rectangle}.} \usage{gdkRegionRectangle(rectangle)} \arguments{\item{\verb{rectangle}}{a \code{\link{GdkRectangle}}}} \value{[\code{\link{GdkRegion}}] a new region} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetImage.Rd0000644000176000001440000000111212362217677015705 0ustar ripleyusers\alias{gtkButtonSetImage} \name{gtkButtonSetImage} \title{gtkButtonSetImage} \description{Set the image of \code{button} to the given widget. Note that it depends on the \verb{"gtk-button-images"} setting whether the image will be displayed or not, you don't have to call \code{\link{gtkWidgetShow}} on \code{image} yourself.} \usage{gtkButtonSetImage(object, image)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{image}}{a widget to set as the image for the button} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetLimit.Rd0000644000176000001440000000100012362217677017211 0ustar ripleyusers\alias{gtkRecentChooserGetLimit} \name{gtkRecentChooserGetLimit} \title{gtkRecentChooserGetLimit} \description{Gets the number of items returned by \code{\link{gtkRecentChooserGetItems}} and \code{\link{gtkRecentChooserGetUris}}.} \usage{gtkRecentChooserGetLimit(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[integer] A positive integer, or -1 meaning that all items are returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/RGtk.Rd0000644000176000001440000000521011766145227013155 0ustar ripleyusers\name{RGtk} \alias{RGtk} \title{The RGtk2 package} \description{ RGtk2 provides a set of bindings between R and the GTK+ library and several of its dependent libraries. It allows the user to construct full-featured GUI's completely from within R. } \details{ RGtk2 binds to the following libraries: \describe{ \item{\link{ATK}}{ATK is the Accessibility Toolkit. It provides a set of generic interfaces allowing accessibility technologies to interact with a graphical user interface. For example, a screen reader uses ATK to discover the text in an interface and read it to blind users. GTK+ widgets have built-in support for accessibility using the ATK framework.} \item{\link{Pango}}{Pango is a library for internationalized text handling. It centers around the \code{\link{PangoLayout}} object, representing a paragraph of text. Pango provides the engine for \code{\link{GtkTextView}}, \code{\link{GtkLabel}}, \code{\link{GtkEntry}}, and other widgets that display text.} \item{\link{GDK}}{GDK is the abstraction layer that allows GTK+ to support multiple windowing systems. GDK provides drawing and window system facilities on X11, Windows, and the Linux framebuffer device.} \item{\link{GTK}}{The GTK+ library itself contains widgets, that is, GUI components such as \code{\link{GtkButton}} or \code{\link{GtkTextView}}.} \item{\link{GDK-Pixbuf}}{This is a small library which allows you to create GdkPixbuf ('pixel buffer') objects from image data or image files. Use a \code{\link{GdkPixbuf}} in combination with \code{\link{GtkImage}} to display images.} \item{\link{Cairo}}{Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, and image buffers.} } RGtk2 also partially binds some lower-level libraries in order to support the bindings to the others. These include \link{GObject} and \link{GMainLoop}. R objects passed between the user and RGtk2 are either primitive types (\code{character}, \code{logical}, etc) or external objects (\code{externalptr}). All R objects wrapping external objects extend the \code{\link{RGtkObject}} class. } \note{ As described above, RGtk2 binds many libraries beyond GTK+ itself. Thus, it can serve many purposes besides GUI construction. For example, \link{GDKPixbuf} and \link{Cairo} allow the R user to produce arbitary high-quality graphics. } \references{ Michael Lawrence, Duncan Temple Lang (2010). RGtk2: A Graphical User Interface Toolkit for R. Journal of Statistical Software, 37(8), 1-52. \url{http://www.jstatsoft.org/v37/i08/}. } \author{Michael Lawrence, with excerpts from library documentation} \keyword{interface} RGtk2/man/gdkScreenGetMonitorAtWindow.Rd0000644000176000001440000000122012362217677017677 0ustar ripleyusers\alias{gdkScreenGetMonitorAtWindow} \name{gdkScreenGetMonitorAtWindow} \title{gdkScreenGetMonitorAtWindow} \description{Returns the number of the monitor in which the largest area of the bounding rectangle of \code{window} resides.} \usage{gdkScreenGetMonitorAtWindow(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}.} \item{\verb{window}}{a \code{\link{GdkWindow}}} } \details{Since 2.2} \value{[integer] the monitor number in which most of \code{window} is located, or if \code{window} does not intersect any monitors, a monitor, close to \code{window}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeSortable.Rd0000644000176000001440000000576712362217677015372 0ustar ripleyusers\alias{GtkTreeSortable} \alias{GtkTreeIterCompareFunc} \name{GtkTreeSortable} \title{GtkTreeSortable} \description{The interface for sortable models used by GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkTreeSortableSortColumnChanged}(object)}\cr \code{\link{gtkTreeSortableGetSortColumnId}(object)}\cr \code{\link{gtkTreeSortableSetSortColumnId}(object, sort.column.id, order)}\cr \code{\link{gtkTreeSortableSetSortFunc}(object, sort.column.id, sort.func, user.data = NULL)}\cr \code{\link{gtkTreeSortableSetDefaultSortFunc}(object, sort.func, user.data = NULL)}\cr \code{\link{gtkTreeSortableHasDefaultSortFunc}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkTreeSortable}} \section{Implementations}{GtkTreeSortable is implemented by \code{\link{GtkListStore}}, \code{\link{GtkTreeModelSort}} and \code{\link{GtkTreeStore}}.} \section{Detailed Description}{\code{\link{GtkTreeSortable}} is an interface to be implemented by tree models which support sorting. The \code{\link{GtkTreeView}} uses the methods provided by this interface to sort the model.} \section{Structures}{\describe{\item{\verb{GtkTreeSortable}}{ \emph{undocumented } }}} \section{User Functions}{\describe{\item{\code{GtkTreeIterCompareFunc(model, a, b, user.data)}}{ A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive integer if \code{a} sorts before \code{b}, \code{a} sorts with \code{b}, or \code{a} sorts after \code{b} respectively. If two iters compare as equal, their order in the sorted model is undefined. In order to ensure that the \code{\link{GtkTreeSortable}} behaves as expected, the GtkTreeIterCompareFunc must define a partial order on the model, i.e. it must be reflexive, antisymmetric and transitive. For example, if \code{model} is a product catalogue, then a compare function for the "price" column could be one which returns \code{price_of( a ) - price_of( b )}. \describe{ \item{\code{model}}{The \code{\link{GtkTreeModel}} the comparison is within} \item{\code{a}}{A \code{\link{GtkTreeIter}} in \code{model}} \item{\code{b}}{Another \code{\link{GtkTreeIter}} in \code{model}} \item{\code{user.data}}{Data passed when the compare func is assigned e.g. by \code{\link{gtkTreeSortableSetSortFunc}}} } \emph{Returns:} [integer] a negative integer, zero or a positive integer depending on whether \code{a} sorts before, with or after \code{b} }}} \section{Signals}{\describe{\item{\code{sort-column-changed(sortable, user.data)}}{ The ::sort-column-changed signal is emitted when the sort column or sort order of \code{sortable} is changed. The signal is emitted before the contents of \code{sortable} are resorted. \describe{ \item{\code{sortable}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeSortable.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeModel}} \code{\link{GtkTreeView}} } \keyword{internal} RGtk2/man/gtkTestRegisterAllTypes.Rd0000644000176000001440000000062512362217677017125 0ustar ripleyusers\alias{gtkTestRegisterAllTypes} \name{gtkTestRegisterAllTypes} \title{gtkTestRegisterAllTypes} \description{Force registration of all core Gtk+ and Gdk object types. This allowes to refer to any of those object types via \code{\link{gTypeFromName}} after calling this function.} \usage{gtkTestRegisterAllTypes()} \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSetPadding.Rd0000644000176000001440000000072412362217677017334 0ustar ripleyusers\alias{gtkCellRendererSetPadding} \name{gtkCellRendererSetPadding} \title{gtkCellRendererSetPadding} \description{Sets the renderer's padding.} \usage{gtkCellRendererSetPadding(object, xpad, ypad)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{xpad}}{the x padding of the cell renderer} \item{\verb{ypad}}{the y padding of the cell renderer} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetVisual.Rd0000644000176000001440000000063312362217677016347 0ustar ripleyusers\alias{gdkDrawableGetVisual} \name{gdkDrawableGetVisual} \title{gdkDrawableGetVisual} \description{Gets the \code{\link{GdkVisual}} describing the pixel format of \code{drawable}.} \usage{gdkDrawableGetVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \value{[\code{\link{GdkVisual}}] a \code{\link{GdkVisual}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetItemIndex.Rd0000644000176000001440000000107412362217677016673 0ustar ripleyusers\alias{gtkToolbarGetItemIndex} \name{gtkToolbarGetItemIndex} \title{gtkToolbarGetItemIndex} \description{Returns the position of \code{item} on the toolbar, starting from 0. It is an error if \code{item} is not a child of the toolbar.} \usage{gtkToolbarGetItemIndex(object, item)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{item}}{a \code{\link{GtkToolItem}} that is a child of \code{toolbar}} } \details{Since 2.4} \value{[integer] the position of item on the toolbar.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectFactoryInvalidate.Rd0000644000176000001440000000120412362217677017546 0ustar ripleyusers\alias{atkObjectFactoryInvalidate} \name{atkObjectFactoryInvalidate} \title{atkObjectFactoryInvalidate} \description{Inform \code{factory} that it is no longer being used to create accessibles. When called, \code{factory} may need to inform \verb{AtkObjects} which it has created that they need to be re-instantiated. Note: primarily used for runtime replacement of \verb{AtkObjectFactorys} in object registries.} \usage{atkObjectFactoryInvalidate(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObjectFactory}}] an \code{\link{AtkObjectFactory}} to invalidate}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarGetText.Rd0000644000176000001440000000101712362217677016555 0ustar ripleyusers\alias{gtkProgressBarGetText} \name{gtkProgressBarGetText} \title{gtkProgressBarGetText} \description{Retrieves the text displayed superimposed on the progress bar, if any, otherwise \code{NULL}. The return value is a reference to the text, not a copy of it, so will become invalid if you change the text in the progress bar.} \usage{gtkProgressBarGetText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \value{[character] text,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-image-surface.Rd0000644000176000001440000000411212362217677016113 0ustar ripleyusers\alias{cairo-image-surface} \alias{CairoFormat} \name{cairo-image-surface} \title{Image Surfaces} \description{Rendering to memory buffers} \section{Methods and Functions}{ \code{\link{cairoFormatStrideForWidth}(format, width)}\cr \code{\link{cairoImageSurfaceCreate}(format, width, height)}\cr \code{\link{cairoImageSurfaceCreateForData}(data, format, width, height, stride)}\cr \code{\link{cairoImageSurfaceGetData}(surface)}\cr \code{\link{cairoImageSurfaceGetFormat}(surface)}\cr \code{\link{cairoImageSurfaceGetWidth}(surface)}\cr \code{\link{cairoImageSurfaceGetHeight}(surface)}\cr \code{\link{cairoImageSurfaceGetStride}(surface)}\cr } \section{Detailed Description}{Image surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code. The supported image formats are those defined in \code{\link{CairoFormat}}.} \section{Enums and Flags}{\describe{\item{\verb{CairoFormat}}{ \code{\link{CairoFormat}} is used to identify the memory format of image data. New entries may be added in future versions. \describe{ \item{\verb{argb32}}{ each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then blue. The 32-bit quantities are stored native-endian. Pre-multiplied alpha is used. (That is, 50\% transparent red is 0x80800000, not 0x80ff0000.)} \item{\verb{rgb24}}{ each pixel is a 32-bit quantity, with the upper 8 bits unused. Red, Green, and Blue are stored in the remaining 24 bits in that order.} \item{\verb{a8}}{ each pixel is a 8-bit quantity holding an alpha value.} \item{\verb{a1}}{ each pixel is a 1-bit quantity holding an alpha value. Pixels are packed together into 32-bit quantities. The ordering of the bits matches the endianess of the platform. On a big-endian machine, the first pixel is in the uppermost bit, on a little-endian machine the first pixel is in the least-significant bit.} \item{\verb{rgb16-565}}{\emph{undocumented }} } }}} \references{\url{http://www.cairographics.org/manual/cairo-image-surface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetFontSize.Rd0000644000176000001440000000157612362217677015556 0ustar ripleyusers\alias{cairoSetFontSize} \name{cairoSetFontSize} \title{cairoSetFontSize} \description{Sets the current font matrix to a scale by a factor of \code{size}, replacing any font matrix previously set with \code{\link{cairoSetFontSize}} or \code{\link{cairoSetFontMatrix}}. This results in a font size of \code{size} user space units. (More precisely, this matrix will result in the font's em-square being a \code{size} by \code{size} square in user space.)} \usage{cairoSetFontSize(cr, size)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{size}}{[numeric] the new font size, in user space units} } \details{If text is drawn without a call to \code{\link{cairoSetFontSize}}, (nor \code{\link{cairoSetFontMatrix}} nor \code{\link{cairoSetScaledFont}}), the default font size is 10.0. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSelect.Rd0000644000176000001440000000052312362217677015703 0ustar ripleyusers\alias{gtkMenuItemSelect} \name{gtkMenuItemSelect} \title{gtkMenuItemSelect} \description{Emits the "select" signal on the given item. Behaves exactly like \code{\link{gtkItemSelect}}.} \usage{gtkMenuItemSelect(object)} \arguments{\item{\verb{object}}{the menu item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetExpanderColumn.Rd0000644000176000001440000000125312362217677020074 0ustar ripleyusers\alias{gtkTreeViewSetExpanderColumn} \name{gtkTreeViewSetExpanderColumn} \title{gtkTreeViewSetExpanderColumn} \description{Sets the column to draw the expander arrow at. It must be in \code{tree.view}. If \code{column} is \code{NULL}, then the expander arrow is always at the first visible column.} \usage{gtkTreeViewSetExpanderColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{column}}{\code{NULL}, or the column to draw the expander arrow at.} } \details{If you do not want expander arrow to appear in your tree, set the expander column to a hidden column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTimeoutAddFull.Rd0000644000176000001440000000150112362217677015677 0ustar ripleyusers\alias{gtkTimeoutAddFull} \name{gtkTimeoutAddFull} \title{gtkTimeoutAddFull} \description{ Registers a function to be called periodically. The function will be called repeatedly after \code{interval} milliseconds until it returns \code{FALSE} at which point the timeout is destroyed and will not be called again. \strong{WARNING: \code{gtk_timeout_add_full} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{gTimeoutAddFull()} instead.} } \usage{gtkTimeoutAddFull(interval, fun, data = NULL)} \arguments{ \item{\verb{interval}}{The time between calls to the function, in milliseconds (1/1000ths of a second.)} \item{\verb{data}}{The data to pass to the function.} } \value{[numeric] A unique id for the event source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMoveTo.Rd0000644000176000001440000000071512362217677014544 0ustar ripleyusers\alias{cairoMoveTo} \name{cairoMoveTo} \title{cairoMoveTo} \description{Begin a new sub-path. After this call the current point will be (\code{x}, \code{y}).} \usage{cairoMoveTo(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] the X coordinate of the new position} \item{\verb{y}}{[numeric] the Y coordinate of the new position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeAsString.Rd0000644000176000001440000000105112362217677020150 0ustar ripleyusers\alias{gFileInfoGetAttributeAsString} \name{gFileInfoGetAttributeAsString} \title{gFileInfoGetAttributeAsString} \description{Gets the value of a attribute, formated as a string. This escapes things as needed to make the string valid utf8.} \usage{gFileInfoGetAttributeAsString(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[char] a UTF-8 string associated with the given \code{attribute}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoNewForPixbuf.Rd0000644000176000001440000000101512362217677017020 0ustar ripleyusers\alias{gtkIconInfoNewForPixbuf} \name{gtkIconInfoNewForPixbuf} \title{gtkIconInfoNewForPixbuf} \description{Creates a \code{\link{GtkIconInfo}} for a \code{\link{GdkPixbuf}}.} \usage{gtkIconInfoNewForPixbuf(icon.theme, pixbuf)} \arguments{ \item{\verb{icon.theme}}{a \code{\link{GtkIconTheme}}} \item{\verb{pixbuf}}{the pixbuf to wrap in a \code{\link{GtkIconInfo}}} } \details{Since 2.14} \value{[\code{\link{GtkIconInfo}}] a \code{\link{GtkIconInfo}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetGridLines.Rd0000644000176000001440000000075212362217677017017 0ustar ripleyusers\alias{gtkTreeViewGetGridLines} \name{gtkTreeViewGetGridLines} \title{gtkTreeViewGetGridLines} \description{Returns which grid lines are enabled in \code{tree.view}.} \usage{gtkTreeViewGetGridLines(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.10} \value{[\code{\link{GtkTreeViewGridLines}}] a \code{\link{GtkTreeViewGridLines}} value indicating which grid lines are enabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetCellDataFunc.Rd0000644000176000001440000000151012362217677020607 0ustar ripleyusers\alias{gtkTreeViewColumnSetCellDataFunc} \name{gtkTreeViewColumnSetCellDataFunc} \title{gtkTreeViewColumnSetCellDataFunc} \description{Sets the \verb{GtkTreeViewColumnFunc} to use for the column. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of \code{tree.column}'s cell renderer as appropriate. \code{func} may be \code{NULL} to remove an older one.} \usage{gtkTreeViewColumnSetCellDataFunc(object, cell.renderer, func, func.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}} \item{\verb{cell.renderer}}{A \code{\link{GtkCellRenderer}}} \item{\verb{func}}{The \verb{GtkTreeViewColumnFunc} to use.} \item{\verb{func.data}}{The user data for \code{func}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHide.Rd0000644000176000001440000000053612362217677015041 0ustar ripleyusers\alias{gtkWidgetHide} \name{gtkWidgetHide} \title{gtkWidgetHide} \description{Reverses the effects of \code{\link{gtkWidgetShow}}, causing the widget to be hidden (invisible to the user).} \usage{gtkWidgetHide(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetVisible.Rd0000644000176000001440000000064112362217677017345 0ustar ripleyusers\alias{gtkCellRendererGetVisible} \name{gtkCellRendererGetVisible} \title{gtkCellRendererGetVisible} \description{Returns the cell renderer's visibility.} \usage{gtkCellRendererGetVisible(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkCellRenderer}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the cell renderer is visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetRange.Rd0000644000176000001440000000117412362217677016545 0ustar ripleyusers\alias{gtkSpinButtonGetRange} \name{gtkSpinButtonGetRange} \title{gtkSpinButtonGetRange} \description{Gets the range allowed for \code{spin.button}. See \code{\link{gtkSpinButtonSetRange}}.} \usage{gtkSpinButtonGetRange(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{ A list containing the following elements: \item{\verb{min}}{location to store minimum allowed value, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{max}}{location to store maximum allowed value, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetShadowType.Rd0000644000176000001440000000110412362217677016516 0ustar ripleyusers\alias{gtkCListSetShadowType} \name{gtkCListSetShadowType} \title{gtkCListSetShadowType} \description{ Sets the shadow type for the specified CList. Changing this value will cause the \code{\link{GtkCList}} to update its visuals. \strong{WARNING: \code{gtk_clist_set_shadow_type} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetShadowType(object, type)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{type}}{The GtkShadowType desired.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetSetFields.Rd0000644000176000001440000000105212362217677020712 0ustar ripleyusers\alias{pangoFontDescriptionGetSetFields} \name{pangoFontDescriptionGetSetFields} \title{pangoFontDescriptionGetSetFields} \description{Determines which fields in a font description have been set.} \usage{pangoFontDescriptionGetSetFields(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \value{[\code{\link{PangoFontMask}}] a bitmask with bits set corresponding to the fields in \code{desc} that have been set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetPasswordSave.Rd0000644000176000001440000000070112362217677020444 0ustar ripleyusers\alias{gMountOperationGetPasswordSave} \name{gMountOperationGetPasswordSave} \title{gMountOperationGetPasswordSave} \description{Gets the state of saving passwords for the mount operation.} \usage{gMountOperationGetPasswordSave(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[\code{\link{GPasswordSave}}] a \code{\link{GPasswordSave}} flag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowNew.Rd0000644000176000001440000000200112362217677014732 0ustar ripleyusers\alias{gtkWindowNew} \name{gtkWindowNew} \title{gtkWindowNew} \description{Creates a new \code{\link{GtkWindow}}, which is a toplevel window that can contain other widgets. Nearly always, the type of the window should be \verb{GTK_WINDOW_TOPLEVEL}. If you're implementing something like a popup menu from scratch (which is a bad idea, just use \code{\link{GtkMenu}}), you might use \verb{GTK_WINDOW_POPUP}. \verb{GTK_WINDOW_POPUP} is not for dialogs, though in some other toolkits dialogs are called "popups". In GTK+, \verb{GTK_WINDOW_POPUP} means a pop-up menu or pop-up tooltip. On X11, popup windows are not controlled by the window manager.} \usage{gtkWindowNew(type = NULL, show = TRUE)} \arguments{\item{\verb{type}}{type of window}} \details{If you simply want an undecorated window (no window borders), use \code{\link{gtkWindowSetDecorated}}, don't use \verb{GTK_WINDOW_POPUP}.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkWindow}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetChildRequisition.Rd0000644000176000001440000000271112362217677020104 0ustar ripleyusers\alias{gtkWidgetGetChildRequisition} \name{gtkWidgetGetChildRequisition} \title{gtkWidgetGetChildRequisition} \description{This function is only for use in widget implementations. Obtains \code{widget->requisition}, unless someone has forced a particular geometry on the widget (e.g. with \code{\link{gtkWidgetSetSizeRequest}}), in which case it returns that geometry instead of the widget's requisition.} \usage{gtkWidgetGetChildRequisition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{This function differs from \code{\link{gtkWidgetSizeRequest}} in that it retrieves the last size request value from \code{widget->requisition}, while \code{\link{gtkWidgetSizeRequest}} actually calls the "size_request" method on \code{widget} to compute the size request and fill in \code{widget->requisition}, and only then returns \code{widget->requisition}. Because this function does not call the "size_request" method, it can only be used when you know that \code{widget->requisition} is up-to-date, that is, \code{\link{gtkWidgetSizeRequest}} has been called since the last time a resize was queued. In general, only container implementations have this information; applications should use \code{\link{gtkWidgetSizeRequest}}.} \value{ A list containing the following elements: \item{\verb{requisition}}{a \code{\link{GtkRequisition}} to be filled in. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSetBlocking.Rd0000644000176000001440000000134112362217677016035 0ustar ripleyusers\alias{gSocketSetBlocking} \name{gSocketSetBlocking} \title{gSocketSetBlocking} \description{Sets the blocking mode of the socket. In blocking mode all operations block until they succeed or there is an error. In non-blocking mode all functions return results immediately or with a \code{G_IO_ERROR_WOULD_BLOCK} error.} \usage{gSocketSetBlocking(object, blocking)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{blocking}}{Whether to use blocking I/O or not.} } \details{All sockets are created in blocking mode. However, note that the platform level socket is always non-blocking, and blocking mode is a GSocket level feature. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetUseArrows.Rd0000644000176000001440000000122512362217677016406 0ustar ripleyusers\alias{gtkComboSetUseArrows} \name{gtkComboSetUseArrows} \title{gtkComboSetUseArrows} \description{ Specifies if the arrow (cursor) keys can be used to step through the items in the list. This is on by default. \strong{WARNING: \code{gtk_combo_set_use_arrows} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetUseArrows(object, val)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{val}}{\code{TRUE} if the arrow keys can be used to step through the items in the list.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetAppPaintable.Rd0000644000176000001440000000231012362217677017174 0ustar ripleyusers\alias{gtkWidgetSetAppPaintable} \name{gtkWidgetSetAppPaintable} \title{gtkWidgetSetAppPaintable} \description{Sets whether the application intends to draw on the widget in an \verb{"expose-event"} handler. } \usage{gtkWidgetSetAppPaintable(object, app.paintable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{app.paintable}}{\code{TRUE} if the application will paint on the widget} } \details{This is a hint to the widget and does not affect the behavior of the GTK+ core; many widgets ignore this flag entirely. For widgets that do pay attention to the flag, such as \code{\link{GtkEventBox}} and \code{\link{GtkWindow}}, the effect is to suppress default themed drawing of the widget's background. (Children of the widget will still be drawn.) The application is then entirely responsible for drawing the widget background. Note that the background is still drawn when the widget is mapped. If this is not suitable (e.g. because you want to make a transparent window using an RGBA visual), you can work around this by doing: \preformatted{ window$realize() window$window$setBackPixmap(NULL, FALSE) window$show() }} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverGetDefault.Rd0000644000176000001440000000102212362217677016222 0ustar ripleyusers\alias{gResolverGetDefault} \name{gResolverGetDefault} \title{gResolverGetDefault} \description{Gets the default \code{\link{GResolver}}. You should unref it when you are done with it. \code{\link{GResolver}} may use its reference count as a hint about how many threads/processes, etc it should allocate for concurrent DNS resolutions.} \usage{gResolverGetDefault()} \details{Since 2.22} \value{[\code{\link{GResolver}}] the default \code{\link{GResolver}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceAsync.Rd0000644000176000001440000000240612362217677015634 0ustar ripleyusers\alias{gFileReplaceAsync} \name{gFileReplaceAsync} \title{gFileReplaceAsync} \description{Asynchronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first.} \usage{gFileReplaceAsync(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{etag}}{an entity tag for the current \code{\link{GFile}}, or NULL to ignore.} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileReplace}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileReplaceFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioActionSetCurrentValue.Rd0000644000176000001440000000074512362217677020236 0ustar ripleyusers\alias{gtkRadioActionSetCurrentValue} \name{gtkRadioActionSetCurrentValue} \title{gtkRadioActionSetCurrentValue} \description{Sets the currently active group member to the member with value property \code{current.value}.} \usage{gtkRadioActionSetCurrentValue(object, current.value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRadioAction}}} \item{\verb{current.value}}{the new value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewWindowToBufferCoords.Rd0000644000176000001440000000211212362217677020572 0ustar ripleyusers\alias{gtkTextViewWindowToBufferCoords} \name{gtkTextViewWindowToBufferCoords} \title{gtkTextViewWindowToBufferCoords} \description{Converts coordinates on the window identified by \code{win} to buffer coordinates, storing the result in (\code{buffer.x},\code{buffer.y}).} \usage{gtkTextViewWindowToBufferCoords(object, win, window.x, window.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{win}}{a \code{\link{GtkTextWindowType}} except \verb{GTK_TEXT_WINDOW_PRIVATE}} \item{\verb{window.x}}{window x coordinate} \item{\verb{window.y}}{window y coordinate} } \details{Note that you can't convert coordinates for a nonexisting window (see \code{\link{gtkTextViewSetBorderWindowSize}}).} \value{ A list containing the following elements: \item{\verb{buffer.x}}{buffer x coordinate return location or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{buffer.y}}{buffer y coordinate return location or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionGetSocket.Rd0000644000176000001440000000112512362217677017541 0ustar ripleyusers\alias{gSocketConnectionGetSocket} \name{gSocketConnectionGetSocket} \title{gSocketConnectionGetSocket} \description{Gets the underlying \code{\link{GSocket}} object of the connection. This can be useful if you want to do something unusual on it not supported by the \code{\link{GSocketConnection}} APIs.} \usage{gSocketConnectionGetSocket(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketConnection}}}} \details{Since 2.22} \value{[\code{\link{GSocket}}] a \code{\link{GSocketAddress}} or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFind.Rd0000644000176000001440000000116212362217677014623 0ustar ripleyusers\alias{gtkCTreeFind} \name{gtkCTreeFind} \title{gtkCTreeFind} \description{ \strong{WARNING: \code{gtk_ctree_find} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFind(object, node, child)} \arguments{ \item{\verb{object}}{The node to start searching from. May be \code{NULL}.} \item{\verb{node}}{True if \code{child} is on some level a child (grandchild...) of the \code{node}.} \item{\verb{child}}{\emph{undocumented }} } \value{[logical] True if \code{child} is on some level a child (grandchild...) of the \code{node}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardSetCanStore.Rd0000644000176000001440000000140712362217677017034 0ustar ripleyusers\alias{gtkClipboardSetCanStore} \name{gtkClipboardSetCanStore} \title{gtkClipboardSetCanStore} \description{Hints that the clipboard data should be stored somewhere when the application exits or when \code{\link{gtkClipboardStore}} is called.} \usage{gtkClipboardSetCanStore(object, targets)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{targets}}{array containing information about which forms should be stored or \code{NULL} to indicate that all forms should be stored.} } \details{This value is reset when the clipboard owner changes. Where the clipboard data is stored is platform dependent, see \code{\link{gdkDisplayStoreClipboard}} for more information. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCoverageSet.Rd0000644000176000001440000000075512362217677015555 0ustar ripleyusers\alias{pangoCoverageSet} \name{pangoCoverageSet} \title{pangoCoverageSet} \description{Modify a particular index within \code{coverage}} \usage{pangoCoverageSet(object, index, level)} \arguments{ \item{\verb{object}}{[\code{\link{PangoCoverage}}] a \code{\link{PangoCoverage}}} \item{\verb{index}}{[integer] the index to modify} \item{\verb{level}}{[\code{\link{PangoCoverageLevel}}] the new level for \code{index.}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowClearArea.Rd0000644000176000001440000000106512362217677016011 0ustar ripleyusers\alias{gdkWindowClearArea} \name{gdkWindowClearArea} \title{gdkWindowClearArea} \description{Clears an area of \code{window} to the background color or background pixmap.} \usage{gdkWindowClearArea(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{x coordinate of rectangle to clear} \item{\verb{y}}{y coordinate of rectangle to clear} \item{\verb{width}}{width of rectangle to clear} \item{\verb{height}}{height of rectangle to clear} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkGetObject.Rd0000644000176000001440000000147212362217677016552 0ustar ripleyusers\alias{atkHyperlinkGetObject} \name{atkHyperlinkGetObject} \title{atkHyperlinkGetObject} \description{Returns the item associated with this hyperlinks nth anchor. For instance, the returned \code{\link{AtkObject}} will implement \code{\link{AtkText}} if \code{link.} is a text hyperlink, \code{\link{AtkImage}} if \code{link.} is an image hyperlink etc. } \usage{atkHyperlinkGetObject(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}} \item{\verb{i}}{[integer] a (zero-index) integer specifying the desired anchor} } \details{Multiple anchors are primarily used by client-side image maps. } \value{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} associated with this hyperlinks i-th anchor} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationDrawPageFinish.Rd0000644000176000001440000000121312362217677020546 0ustar ripleyusers\alias{gtkPrintOperationDrawPageFinish} \name{gtkPrintOperationDrawPageFinish} \title{gtkPrintOperationDrawPageFinish} \description{Signalize that drawing of particular page is complete.} \usage{gtkPrintOperationDrawPageFinish(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{It is called after completion of page drawing (e.g. drawing in another thread). If \code{\link{gtkPrintOperationSetDeferDrawing}} was called before, then this function has to be called by application. In another case it is called by the library itself. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMergeChildInputShapes.Rd0000644000176000001440000000136612362217677020365 0ustar ripleyusers\alias{gdkWindowMergeChildInputShapes} \name{gdkWindowMergeChildInputShapes} \title{gdkWindowMergeChildInputShapes} \description{Merges the input shape masks for any child windows into the input shape mask for \code{window}. i.e. the union of all input masks for \code{window} and its children will become the new input mask for \code{window}. See \code{\link{gdkWindowInputShapeCombineMask}}.} \usage{gdkWindowMergeChildInputShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{This function is distinct from \code{\link{gdkWindowSetChildInputShapes}} because it includes \code{window}'s input shape mask in the set of shapes to be merged. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListFind.Rd0000644000176000001440000000120112362217677015675 0ustar ripleyusers\alias{gtkTargetListFind} \name{gtkTargetListFind} \title{gtkTargetListFind} \description{Looks up a given target in a \code{\link{GtkTargetList}}.} \usage{gtkTargetListFind(object, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTargetList}}} \item{\verb{target}}{an interned atom representing the target to search for} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the target was found, otherwise \code{FALSE}} \item{\verb{info}}{a pointer to the location to store application info for target, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetXorSets.Rd0000644000176000001440000000127312362217677016101 0ustar ripleyusers\alias{atkStateSetXorSets} \name{atkStateSetXorSets} \title{atkStateSetXorSets} \description{Constructs the exclusive-or of the two sets, returning \code{NULL} is empty. The set returned by this operation contains the states in exactly one of the two sets.} \usage{atkStateSetXorSets(object, compare.set)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{compare.set}}{[\code{\link{AtkStateSet}}] another \code{\link{AtkStateSet}}} } \value{[\code{\link{AtkStateSet}}] a new \code{\link{AtkStateSet}} which contains the states which are in exactly one of the two sets.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountUnmountWithOperationFinish.Rd0000644000176000001440000000160612362217677021032 0ustar ripleyusers\alias{gMountUnmountWithOperationFinish} \name{gMountUnmountWithOperationFinish} \title{gMountUnmountWithOperationFinish} \description{Finishes unmounting a mount. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gMountUnmountWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mount was successfully unmounted. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributesFinish.Rd0000644000176000001440000000140412362217677017223 0ustar ripleyusers\alias{gFileSetAttributesFinish} \name{gFileSetAttributesFinish} \title{gFileSetAttributesFinish} \description{Finishes setting an attribute started in \code{\link{gFileSetAttributesAsync}}.} \usage{gFileSetAttributesFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the attributes were set correctly, \code{FALSE} otherwise.} \item{\verb{info}}{a \code{\link{GFileInfo}}.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewGetCellRenderers.Rd0000644000176000001440000000117112362217677017644 0ustar ripleyusers\alias{gtkCellViewGetCellRenderers} \name{gtkCellViewGetCellRenderers} \title{gtkCellViewGetCellRenderers} \description{ Returns the cell renderers which have been added to \code{cell.view}. \strong{WARNING: \code{gtk_cell_view_get_cell_renderers} has been deprecated since version 2.18 and should not be used in newly-written code. use \code{\link{gtkCellLayoutGetCells}} instead.} } \usage{gtkCellViewGetCellRenderers(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellView}}}} \details{Since 2.6} \value{[list] a list of cell renderers. The list,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListSelectItem.Rd0000644000176000001440000000107512362217677015715 0ustar ripleyusers\alias{gtkListSelectItem} \name{gtkListSelectItem} \title{gtkListSelectItem} \description{ Selects the child number \code{item} of the \code{list}. Nothing happens if \code{item} is out of bounds. The signal GtkList::select-child will be emitted. \strong{WARNING: \code{gtk_list_select_item} is deprecated and should not be used in newly-written code.} } \usage{gtkListSelectItem(object, item)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{item}}{the index of the child to select.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableSetSortColumnId.Rd0000644000176000001440000000160212362217677020371 0ustar ripleyusers\alias{gtkTreeSortableSetSortColumnId} \name{gtkTreeSortableSetSortColumnId} \title{gtkTreeSortableSetSortColumnId} \description{Sets the current sort column to be \code{sort.column.id}. The \code{sortable} will resort itself to reflect this change, after emitting a \code{\link{gtkTreeSortableSortColumnChanged}} signal. \code{sortable} may either be a regular column id, or one of the following special values: \describe{ \item{\code{GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID}}{\emph{undocumented }} \item{\code{GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID}}{\emph{undocumented }} }} \usage{gtkTreeSortableSetSortColumnId(object, sort.column.id, order)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSortable}}} \item{\verb{sort.column.id}}{the sort column id to set} \item{\verb{order}}{The sort order of the column} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetAction.Rd0000644000176000001440000000077112362217677017025 0ustar ripleyusers\alias{gtkFileChooserGetAction} \name{gtkFileChooserGetAction} \title{gtkFileChooserGetAction} \description{Gets the type of operation that the file chooser is performing; see \code{\link{gtkFileChooserSetAction}}.} \usage{gtkFileChooserGetAction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[\code{\link{GtkFileChooserAction}}] the action that the file selector is performing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAddClientMessageFilter.Rd0000644000176000001440000000126112362217677017302 0ustar ripleyusers\alias{gdkAddClientMessageFilter} \name{gdkAddClientMessageFilter} \title{gdkAddClientMessageFilter} \description{Adds a filter to the default display to be called when X ClientMessage events are received. See \code{\link{gdkDisplayAddClientMessageFilter}}.} \usage{gdkAddClientMessageFilter(message.type, func, data)} \arguments{ \item{\verb{message.type}}{the type of ClientMessage events to receive. This will be checked against the \code{message_type} field of the XClientMessage event struct.} \item{\verb{func}}{the function to call to process the event.} \item{\verb{data}}{user data to pass to \code{func}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverFreeTargets.Rd0000644000176000001440000000102212362217677016411 0ustar ripleyusers\alias{gResolverFreeTargets} \name{gResolverFreeTargets} \title{gResolverFreeTargets} \description{Frees \code{targets} (which should be the return value from \code{\link{gResolverLookupService}} or \code{\link{gResolverLookupServiceFinish}}). (This is a convenience method; you can also simply free the results by hand.)} \usage{gResolverFreeTargets(targets)} \arguments{\item{\verb{targets}}{a \verb{list} of \code{\link{GSrvTarget}}}} \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetVisibleHorizontal.Rd0000644000176000001440000000102412362217677020615 0ustar ripleyusers\alias{gtkToolItemSetVisibleHorizontal} \name{gtkToolItemSetVisibleHorizontal} \title{gtkToolItemSetVisibleHorizontal} \description{Sets whether \code{tool.item} is visible when the toolbar is docked horizontally.} \usage{gtkToolItemSetVisibleHorizontal(object, visible.horizontal)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{visible.horizontal}}{Whether \code{tool.item} is visible when in horizontal mode} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleDetach.Rd0000644000176000001440000000057412362217677015237 0ustar ripleyusers\alias{gtkStyleDetach} \name{gtkStyleDetach} \title{gtkStyleDetach} \description{Detaches a style from a window. If the style is not attached to any windows anymore, it is unrealized. See \code{\link{gtkStyleAttach}}.} \usage{gtkStyleDetach(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStyle}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetActiveText.Rd0000644000176000001440000000125212362217677017171 0ustar ripleyusers\alias{gtkComboBoxGetActiveText} \name{gtkComboBoxGetActiveText} \title{gtkComboBoxGetActiveText} \description{Returns the currently active string in \code{combo.box} or \code{NULL} if none is selected. Note that you can only use this function with combo boxes constructed with \code{\link{gtkComboBoxNewText}} and with \code{\link{GtkComboBoxEntry}}s.} \usage{gtkComboBoxGetActiveText(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}} constructed with \code{\link{gtkComboBoxNewText}}}} \details{Since 2.6} \value{[character] a newly allocated string containing the currently active text.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupSetVisible.Rd0000644000176000001440000000060312362217677017243 0ustar ripleyusers\alias{gtkActionGroupSetVisible} \name{gtkActionGroupSetVisible} \title{gtkActionGroupSetVisible} \description{Changes the visible of \code{action.group}.} \usage{gtkActionGroupSetVisible(object, visible)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{visible}}{new visiblity} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowInvalidateMaybeRecurse.Rd0000644000176000001440000000244312362217677020562 0ustar ripleyusers\alias{gdkWindowInvalidateMaybeRecurse} \name{gdkWindowInvalidateMaybeRecurse} \title{gdkWindowInvalidateMaybeRecurse} \description{Adds \code{region} to the update area for \code{window}. The update area is the region that needs to be redrawn, or "dirty region." The call \code{\link{gdkWindowProcessUpdates}} sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of \code{window} in response to those expose events.} \usage{gdkWindowInvalidateMaybeRecurse(object, region, child.func, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{region}}{a \code{\link{GdkRegion}}} \item{\verb{user.data}}{data passed to \code{child.func}} } \details{GDK will call \code{\link{gdkWindowProcessAllUpdates}} on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn. The \code{child.func} parameter controls whether the region of each child window that intersects \code{region} will also be invalidated. Only children for which \code{child.func} returns TRUE will have the area invalidated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetModificationTime.Rd0000644000176000001440000000067312362217677017767 0ustar ripleyusers\alias{gFileInfoGetModificationTime} \name{gFileInfoGetModificationTime} \title{gFileInfoGetModificationTime} \description{Gets the modification time of the current \code{info} and sets it in \code{result}.} \usage{gFileInfoGetModificationTime(object, result)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{result}}{a \code{\link{GTimeVal}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeLookupIcon.Rd0000644000176000001440000000163312362217677016701 0ustar ripleyusers\alias{gtkIconThemeLookupIcon} \name{gtkIconThemeLookupIcon} \title{gtkIconThemeLookupIcon} \description{Looks up a named icon and returns a structure containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using \code{\link{gtkIconInfoLoadIcon}}. (\code{\link{gtkIconThemeLoadIcon}} combines these two steps if all you need is the pixbuf.)} \usage{gtkIconThemeLookupIcon(object, icon.name, size, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon.name}}{the name of the icon to lookup} \item{\verb{size}}{desired icon size} \item{\verb{flags}}{flags modifying the behavior of the icon lookup} } \details{Since 2.4} \value{[\code{\link{GtkIconInfo}}] a \code{\link{GtkIconInfo}} structure containing information about the icon, or \code{NULL} if the icon wasn't found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Testing.Rd0000644000176000001440000000116512362217677014475 0ustar ripleyusers\alias{gdk-Testing} \name{gdk-Testing} \title{Testing} \description{Test utilities} \section{Methods and Functions}{ \code{\link{gdkTestRenderSync}(window)}\cr \code{\link{gdkTestSimulateButton}(window, x, y, button, modifiers, button.pressrelease)}\cr \code{\link{gdkTestSimulateKey}(window, x, y, keyval, modifiers, key.pressrelease)}\cr } \section{Detailed Description}{The functions in this section are intended to be used in test programs. They allow to simulate some user input.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Testing.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererProgressNew.Rd0000644000176000001440000000055112362217677017566 0ustar ripleyusers\alias{gtkCellRendererProgressNew} \name{gtkCellRendererProgressNew} \title{gtkCellRendererProgressNew} \description{Creates a new \code{\link{GtkCellRendererProgress}}.} \usage{gtkCellRendererProgressNew()} \details{Since 2.6} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultGetSourceTag.Rd0000644000176000001440000000074012362217677020365 0ustar ripleyusers\alias{gSimpleAsyncResultGetSourceTag} \name{gSimpleAsyncResultGetSourceTag} \title{gSimpleAsyncResultGetSourceTag} \description{Gets the source tag for the \code{\link{GSimpleAsyncResult}}.} \usage{gSimpleAsyncResultGetSourceTag(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \value{[R object] a \verb{R object} to the source object for the \code{\link{GSimpleAsyncResult}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererGetLayoutLine.Rd0000644000176000001440000000136612362217677017561 0ustar ripleyusers\alias{pangoRendererGetLayoutLine} \name{pangoRendererGetLayoutLine} \title{pangoRendererGetLayoutLine} \description{Gets the layout line currently being rendered using \code{renderer}. Calling this function only makes sense from inside a subclass's methods, like in its draw_shape() for example.} \usage{pangoRendererGetLayoutLine(renderer)} \arguments{\item{\verb{renderer}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}}} \details{The returned layout line should not be modified while still being rendered. Since 1.20} \value{[\code{\link{PangoLayoutLine}}] the layout line, or \code{NULL} if no layout line is being rendered using \code{renderer} at this time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetLocalOnly.Rd0000644000176000001440000000103212362217677020034 0ustar ripleyusers\alias{gtkRecentChooserGetLocalOnly} \name{gtkRecentChooserGetLocalOnly} \title{gtkRecentChooserGetLocalOnly} \description{Gets whether only local resources should be shown in the recently used resources selector. See \code{\link{gtkRecentChooserSetLocalOnly}}} \usage{gtkRecentChooserGetLocalOnly(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if only local resources should be shown.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupLoadFile.Rd0000644000176000001440000000135612362217677016322 0ustar ripleyusers\alias{gtkPageSetupLoadFile} \name{gtkPageSetupLoadFile} \title{gtkPageSetupLoadFile} \description{Reads the page setup from the file \code{file.name}. See \code{\link{gtkPageSetupToFile}}.} \usage{gtkPageSetupLoadFile(object, file.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{file.name}}{the filename to read the page setup from} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoGlyphStringPath.Rd0000644000176000001440000000132612362217677017406 0ustar ripleyusers\alias{pangoCairoGlyphStringPath} \name{pangoCairoGlyphStringPath} \title{pangoCairoGlyphStringPath} \description{Adds the glyphs in \code{glyphs} to the current path in the specified cairo context. The origin of the glyphs (the left edge of the baseline) will be at the current point of the cairo context.} \usage{pangoCairoGlyphStringPath(cr, font, glyphs)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}} from a \code{\link{PangoCairoFontMap}}} \item{\verb{glyphs}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckVersion.Rd0000644000176000001440000000104211766145227015376 0ustar ripleyusers\alias{gtkCheckVersion} \name{gtkCheckVersion} \title{gtkCheckVersion} \description{Checks if the GTK+ version is at least at some value.} \usage{ gtkCheckVersion(required.major, required.minor, required.micro) } \arguments{ \item{required.major}{The major version (n.x.x)} \item{required.minor}{The minor version (x.n.x)} \item{required.micro}{The micro version (x.x.n)} } \value{ \code{NULL} if the version requirement is satisfied, otherwise a string describing the mismatch. } \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gtkTextMarkGetVisible.Rd0000644000176000001440000000061312362217677016535 0ustar ripleyusers\alias{gtkTextMarkGetVisible} \name{gtkTextMarkGetVisible} \title{gtkTextMarkGetVisible} \description{Returns \code{TRUE} if the mark is visible (i.e. a cursor is displayed for it).} \usage{gtkTextMarkGetVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextMark}}}} \value{[logical] \code{TRUE} if visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetCompletion.Rd0000644000176000001440000000073212362217677016615 0ustar ripleyusers\alias{gtkEntryGetCompletion} \name{gtkEntryGetCompletion} \title{gtkEntryGetCompletion} \description{Returns the auxiliary completion object currently in use by \code{entry}.} \usage{gtkEntryGetCompletion(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkEntry}}}} \details{Since 2.4} \value{[\code{\link{GtkEntryCompletion}}] The auxiliary completion object currently in use by \code{entry}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionDialogNew.Rd0000644000176000001440000000071712362217677017543 0ustar ripleyusers\alias{gtkColorSelectionDialogNew} \name{gtkColorSelectionDialogNew} \title{gtkColorSelectionDialogNew} \description{Creates a new \code{\link{GtkColorSelectionDialog}}.} \usage{gtkColorSelectionDialogNew(title = NULL, show = TRUE)} \arguments{\item{\verb{title}}{a string containing the title text for the dialog.}} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkColorSelectionDialog}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListScrollHorizontal.Rd0000644000176000001440000000211612362217677017164 0ustar ripleyusers\alias{gtkListScrollHorizontal} \name{gtkListScrollHorizontal} \title{gtkListScrollHorizontal} \description{ Scrolls \code{list} horizontaly. This supposes that the list is packed into a scrolled window or something similar, and adjustments are well set. Step and page increment are those from the horizontal adjustment of \code{list}. Backward means to the left, and forward to the right. Out of bounds values are truncated. \code{scroll.type} may be any valid \code{\link{GtkScrollType}}. If \code{scroll.type} is \verb{GTK_SCROLL_NONE}, nothing is done. If it's \verb{GTK_SCROLL_JUMP}, the list scrolls to the ratio \code{position}: 0 is full left, 1 is full right. \strong{WARNING: \code{gtk_list_scroll_horizontal} is deprecated and should not be used in newly-written code.} } \usage{gtkListScrollHorizontal(object, scroll.type, position)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{scroll.type}}{the scrolling type.} \item{\verb{position}}{the position if \code{scroll.type} is \verb{GTK_SCROLL_JUMP}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataTargetsIncludeText.Rd0000644000176000001440000000117712362217677021250 0ustar ripleyusers\alias{gtkSelectionDataTargetsIncludeText} \name{gtkSelectionDataTargetsIncludeText} \title{gtkSelectionDataTargetsIncludeText} \description{Given a \code{\link{GtkSelectionData}} object holding a list of targets, determines if any of the targets in \code{targets} can be used to provide text.} \usage{gtkSelectionDataTargetsIncludeText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}} object}} \value{[logical] \code{TRUE} if \code{selection.data} holds a list of targets, and a suitable target for text is included, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderClose.Rd0000644000176000001440000000227312362217677016356 0ustar ripleyusers\alias{gdkPixbufLoaderClose} \name{gdkPixbufLoaderClose} \title{gdkPixbufLoaderClose} \description{Informs a pixbuf loader that no further writes with \code{\link{gdkPixbufLoaderWrite}} will occur, so that it can free its internal loading structures. Also, tries to parse any data that hasn't yet been parsed; if the remaining data is partial or corrupt, an error will be returned. If \code{FALSE} is returned, \code{error} will be set to an error from the \verb{GDK_PIXBUF_ERROR} or \verb{G_FILE_ERROR} domains. If you're just cancelling a load rather than expecting it to be finished, passing \code{NULL} for \code{error} to ignore it is reasonable.} \usage{gdkPixbufLoaderClose(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{A pixbuf loader.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if all image data written so far was successfully passed out via the update_area signal} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL} to ignore errors. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetPageTitle.Rd0000644000176000001440000000104412362217677017243 0ustar ripleyusers\alias{gtkAssistantSetPageTitle} \name{gtkAssistantSetPageTitle} \title{gtkAssistantSetPageTitle} \description{Sets a title for \code{page}. The title is displayed in the header area of the assistant when \code{page} is the current page.} \usage{gtkAssistantSetPageTitle(object, page, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} \item{\verb{title}}{the new title for \code{page}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkComboBox.Rd0000644000176000001440000002306012362217677014471 0ustar ripleyusers\alias{GtkComboBox} \alias{gtkComboBox} \name{GtkComboBox} \title{GtkComboBox} \description{A widget used to choose from a list of items} \section{Methods and Functions}{ \code{\link{gtkComboBoxNew}(show = TRUE)}\cr \code{\link{gtkComboBoxNewWithModel}(model, show = TRUE)}\cr \code{\link{gtkComboBoxGetWrapWidth}(object)}\cr \code{\link{gtkComboBoxSetWrapWidth}(object, width)}\cr \code{\link{gtkComboBoxGetRowSpanColumn}(object)}\cr \code{\link{gtkComboBoxSetRowSpanColumn}(object, row.span)}\cr \code{\link{gtkComboBoxGetColumnSpanColumn}(object)}\cr \code{\link{gtkComboBoxSetColumnSpanColumn}(object, column.span)}\cr \code{\link{gtkComboBoxGetActive}(object)}\cr \code{\link{gtkComboBoxSetActive}(object, index)}\cr \code{\link{gtkComboBoxGetActiveIter}(object)}\cr \code{\link{gtkComboBoxSetActiveIter}(object, iter)}\cr \code{\link{gtkComboBoxGetModel}(object)}\cr \code{\link{gtkComboBoxSetModel}(object, model = NULL)}\cr \code{\link{gtkComboBoxNewText}(show = TRUE)}\cr \code{\link{gtkComboBoxAppendText}(object, text)}\cr \code{\link{gtkComboBoxInsertText}(object, position, text)}\cr \code{\link{gtkComboBoxPrependText}(object, text)}\cr \code{\link{gtkComboBoxRemoveText}(object, position)}\cr \code{\link{gtkComboBoxGetActiveText}(object)}\cr \code{\link{gtkComboBoxPopup}(object)}\cr \code{\link{gtkComboBoxPopdown}(object)}\cr \code{\link{gtkComboBoxGetPopupAccessible}(object)}\cr \code{\link{gtkComboBoxGetRowSeparatorFunc}(object)}\cr \code{\link{gtkComboBoxSetRowSeparatorFunc}(object, func, data = NULL)}\cr \code{\link{gtkComboBoxSetAddTearoffs}(object, add.tearoffs)}\cr \code{\link{gtkComboBoxGetAddTearoffs}(object)}\cr \code{\link{gtkComboBoxSetTitle}(object, title)}\cr \code{\link{gtkComboBoxGetTitle}(object)}\cr \code{\link{gtkComboBoxSetFocusOnClick}(object, focus.on.click)}\cr \code{\link{gtkComboBoxGetFocusOnClick}(object)}\cr \code{\link{gtkComboBoxSetButtonSensitivity}(object, sensitivity)}\cr \code{\link{gtkComboBoxGetButtonSensitivity}(object)}\cr \code{gtkComboBox(model, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----GtkComboBoxEntry}} \section{Interfaces}{GtkComboBox implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkCellLayout}} and \code{\link{GtkCellEditable}}.} \section{Detailed Description}{A \code{\link{GtkComboBox}} is a widget that allows the user to choose from a list of valid choices. The \code{\link{GtkComboBox}} displays the selected choice. When activated, the \code{\link{GtkComboBox}} displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a \code{\link{GtkOptionMenu}}, or similar to a Windows-style combo box. Unlike its predecessors \code{\link{GtkCombo}} and \code{\link{GtkOptionMenu}}, the \code{\link{GtkComboBox}} uses the model-view pattern; the list of valid choices is specified in the form of a tree model, and the display of the choices can be adapted to the data in the model by using cell renderers, as you would in a tree view. This is possible since \code{\link{GtkComboBox}} implements the \code{\link{GtkCellLayout}} interface. The tree model holding the valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree structure. In addition to the model-view API, \code{\link{GtkComboBox}} offers a simple API which is suitable for text-only combo boxes, and hides the complexity of managing the data in a model. It consists of the functions \code{\link{gtkComboBoxNewText}}, \code{\link{gtkComboBoxAppendText}}, \code{\link{gtkComboBoxInsertText}}, \code{\link{gtkComboBoxPrependText}}, \code{\link{gtkComboBoxRemoveText}} and \code{\link{gtkComboBoxGetActiveText}}.} \section{Structures}{\describe{\item{\verb{GtkComboBox}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkComboBox} is the result of collapsing the constructors of \code{GtkComboBox} (\code{\link{gtkComboBoxNew}}, \code{\link{gtkComboBoxNewWithModel}}, \code{\link{gtkComboBoxNewText}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{changed(widget, user.data)}}{ The changed signal is emitted when the active item is changed. The can be due to the user selecting a different item from the list, or due to a call to \code{\link{gtkComboBoxSetActiveIter}}. It will also be emitted while typing into a GtkComboBoxEntry, as well as when selecting an item from the GtkComboBoxEntry's list. Since 2.4 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-active(widget, scroll.type, user.data)}}{ The ::move-active signal is a keybinding signal which gets emitted to move the active selection. Since 2.12 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{scroll.type}}{a \code{\link{GtkScrollType}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{popdown(button, user.data)}}{ The ::popdown signal is a keybinding signal which gets emitted to popdown the combo box list. The default bindings for this signal are Alt+Up and Escape. Since 2.12 \describe{ \item{\code{button}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{popup(widget, user.data)}}{ The ::popup signal is a keybinding signal which gets emitted to popup the combo box list. The default binding for this signal is Alt+Down. Since 2.12 \describe{ \item{\code{widget}}{the object that received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{active} [integer : Read / Write]}{ The item which is currently active. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this property has the value \code{gtk_tree_path_get_indices (path)[0]}, where \code{path} is the \code{\link{GtkTreePath}} of the active item. Allowed values: >= -1 Default value: -1 Since 2.4 } \item{\verb{add-tearoffs} [logical : Read / Write]}{ The add-tearoffs property controls whether generated menus have tearoff menu items. Note that this only affects menu style combo boxes. Default value: FALSE Since 2.6 } \item{\verb{button-sensitivity} [\code{\link{GtkSensitivityType}} : Read / Write]}{ Whether the dropdown button is sensitive when the model is empty. Default value: GTK_SENSITIVITY_AUTO Since 2.14 } \item{\verb{column-span-column} [integer : Read / Write]}{ If this is set to a non-negative value, it must be the index of a column of type \code{G_TYPE_INT} in the model. The values of that column are used to determine how many columns a value in the list will span. Allowed values: >= -1 Default value: -1 Since 2.4 } \item{\verb{focus-on-click} [logical : Read / Write]}{ Whether the combo box grabs focus when it is clicked with the mouse. Default value: TRUE } \item{\verb{has-frame} [logical : Read / Write]}{ The has-frame property controls whether a frame is drawn around the entry. Default value: TRUE Since 2.6 } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ The model from which the combo box takes the values shown in the list. Since 2.4 } \item{\verb{popup-shown} [logical : Read]}{ Whether the combo boxes dropdown is popped up. Note that this property is mainly useful, because it allows you to connect to notify::popup-shown. Default value: FALSE Since 2.10 } \item{\verb{row-span-column} [integer : Read / Write]}{ If this is set to a non-negative value, it must be the index of a column of type \code{G_TYPE_INT} in the model. The values of that column are used to determine how many rows a value in the list will span. Therefore, the values in the model column pointed to by this property must be greater than zero and not larger than wrap-width. Allowed values: >= -1 Default value: -1 Since 2.4 } \item{\verb{tearoff-title} [character : * : Read / Write]}{ A title that may be displayed by the window manager when the popup is torn-off. Default value: NULL Since 2.10 } \item{\verb{wrap-width} [integer : Read / Write]}{ If wrap-width is set to a positive value, the list will be displayed in multiple columns, the number of columns is determined by wrap-width. Allowed values: >= 0 Default value: 0 Since 2.4 } }} \section{Style Properties}{\describe{ \item{\verb{appears-as-list} [logical : Read]}{ Whether dropdowns should look like lists rather than menus. Default value: FALSE } \item{\verb{arrow-size} [integer : Read]}{ Sets the minimum size of the arrow in the combo box. Note that the arrow size is coupled to the font size, so in case a larger font is used, the arrow will be larger than set by arrow size. Allowed values: >= 0 Default value: 15 Since 2.12 } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read]}{ Which kind of shadow to draw around the combo box. Default value: GTK_SHADOW_NONE Since 2.12 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkComboBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkComboBoxEntry}} \code{\link{GtkTreeModel}} \code{\link{GtkCellRenderer}} } \keyword{internal} RGtk2/man/pangoCairoContextGetFontOptions.Rd0000644000176000001440000000136112362217677020605 0ustar ripleyusers\alias{pangoCairoContextGetFontOptions} \name{pangoCairoContextGetFontOptions} \title{pangoCairoContextGetFontOptions} \description{Retrieves any font rendering options previously set with \code{pangoCairoFontMapSetFontOptions()}. This function does not report options that are derived from the target surface by \code{\link{pangoCairoUpdateContext}}} \usage{pangoCairoContextGetFontOptions(context)} \arguments{\item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map}} \details{ Since 1.10} \value{[\code{\link{CairoFontOptions}}] the font options previously set on the context, or \code{NULL} if no options have been set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetHasPalette.Rd0000644000176000001440000000076012362217677020376 0ustar ripleyusers\alias{gtkColorSelectionSetHasPalette} \name{gtkColorSelectionSetHasPalette} \title{gtkColorSelectionSetHasPalette} \description{Shows and hides the palette based upon the value of \code{has.palette}.} \usage{gtkColorSelectionSetHasPalette(object, has.palette)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{has.palette}}{\code{TRUE} if palette is to be visible, \code{FALSE} otherwise.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRegistrySetFactoryType.Rd0000644000176000001440000000160112362217677017466 0ustar ripleyusers\alias{atkRegistrySetFactoryType} \name{atkRegistrySetFactoryType} \title{atkRegistrySetFactoryType} \description{Associate an \code{\link{AtkObjectFactory}} subclass with a \code{\link{GType}}. Note: The associated \code{factory.type} will thereafter be responsible for the creation of new \code{\link{AtkObject}} implementations for instances appropriate for \code{type}.} \usage{atkRegistrySetFactoryType(object, type, factory.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRegistry}}] the \code{\link{AtkRegistry}} in which to register the type association} \item{\verb{type}}{[\code{\link{GType}}] an \code{\link{AtkObject}} type } \item{\verb{factory.type}}{[\code{\link{GType}}] an \code{\link{AtkObjectFactory}} type to associate with \code{type}. Must implement AtkObject appropriate for \code{type}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconTooltipText.Rd0000644000176000001440000000136312362217677017631 0ustar ripleyusers\alias{gtkEntrySetIconTooltipText} \name{gtkEntrySetIconTooltipText} \title{gtkEntrySetIconTooltipText} \description{Sets \code{tooltip} as the contents of the tooltip for the icon at the specified position.} \usage{gtkEntrySetIconTooltipText(object, icon.pos, tooltip = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{the icon position} \item{\verb{tooltip}}{the contents of the tooltip for the icon, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Use \code{NULL} for \code{tooltip} to remove an existing tooltip. See also \code{\link{gtkWidgetSetTooltipText}} and \code{\link{gtkEntrySetIconTooltipMarkup}}. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemGetUseStock.Rd0000644000176000001440000000105112362217677017624 0ustar ripleyusers\alias{gtkImageMenuItemGetUseStock} \name{gtkImageMenuItemGetUseStock} \title{gtkImageMenuItemGetUseStock} \description{Checks whether the label set in the menuitem is used as a stock id to select the stock item for the item.} \usage{gtkImageMenuItemGetUseStock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImageMenuItem}}}} \details{Since 2.16} \value{[logical] \code{TRUE} if the label set in the menuitem is used as a stock id to select the stock item for the item} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerAddUiFromFile.Rd0000644000176000001440000000153711766145227017167 0ustar ripleyusers\alias{gtkUIManagerAddUiFromFile} \name{gtkUIManagerAddUiFromFile} \title{gtkUIManagerAddUiFromFile} \description{Parses a file containing a UI definition and merges it with the current contents of \code{self}.} \usage{gtkUIManagerAddUiFromFile(object, filename, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}} object} \item{\verb{filename}}{the name of the file to parse } \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[numeric] The merge id for the merged UI. The merge id can be used to unmerge the UI with \code{\link{gtkUIManagerRemoveUi}}. If an error occurred, the return value is 0.} \item{\verb{error}}{return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleGetFont.Rd0000644000176000001440000000131612362217677015410 0ustar ripleyusers\alias{gtkStyleGetFont} \name{gtkStyleGetFont} \title{gtkStyleGetFont} \description{ Gets the \code{\link{GdkFont}} to use for the given style. This is meant only as a replacement for direct access to \code{style->font} and should not be used in new code. New code should use \code{style->font.desc} instead. \strong{WARNING: \code{gtk_style_get_font} is deprecated and should not be used in newly-written code.} } \usage{gtkStyleGetFont(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStyle}}}} \value{[\code{\link{GdkFont}}] the \code{\link{GdkFont}} for the style. This font is owned by the style; if you want to keep around a copy,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketControlMessageGetLevel.Rd0000644000176000001440000000075112362217677020212 0ustar ripleyusers\alias{gSocketControlMessageGetLevel} \name{gSocketControlMessageGetLevel} \title{gSocketControlMessageGetLevel} \description{Returns the "level" (i.e. the originating protocol) of the control message. This is often SOL_SOCKET.} \usage{gSocketControlMessageGetLevel(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketControlMessage}}}} \details{Since 2.22} \value{[integer] an integer describing the level} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionSelectAllSelection.Rd0000644000176000001440000000101412362217677020372 0ustar ripleyusers\alias{atkSelectionSelectAllSelection} \name{atkSelectionSelectAllSelection} \title{atkSelectionSelectAllSelection} \description{Causes every child of the object to be selected if the object supports multiple selections.} \usage{atkSelectionSelectAllSelection(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface}} \value{[logical] TRUE if success, FALSE otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetMonitorAtPoint.Rd0000644000176000001440000000124112362217677017524 0ustar ripleyusers\alias{gdkScreenGetMonitorAtPoint} \name{gdkScreenGetMonitorAtPoint} \title{gdkScreenGetMonitorAtPoint} \description{Returns the monitor number in which the point (\code{x},\code{y}) is located.} \usage{gdkScreenGetMonitorAtPoint(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}.} \item{\verb{x}}{the x coordinate in the virtual screen.} \item{\verb{y}}{the y coordinate in the virtual screen.} } \details{Since 2.2} \value{[integer] the monitor number in which the point (\code{x},\code{y}) lies, or a monitor close to (\code{x},\code{y}) if the point is not in any monitor.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetReserveToggleSize.Rd0000644000176000001440000000101012362217677017721 0ustar ripleyusers\alias{gtkMenuSetReserveToggleSize} \name{gtkMenuSetReserveToggleSize} \title{gtkMenuSetReserveToggleSize} \description{Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence.} \usage{gtkMenuSetReserveToggleSize(object, reserve.toggle.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}} \item{\verb{reserve.toggle.size}}{whether to reserve size for toggles} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarGetDetailHeightRows.Rd0000644000176000001440000000072112362217677020320 0ustar ripleyusers\alias{gtkCalendarGetDetailHeightRows} \name{gtkCalendarGetDetailHeightRows} \title{gtkCalendarGetDetailHeightRows} \description{Queries the height of detail cells, in rows. See \verb{"detail-width-chars"}.} \usage{gtkCalendarGetDetailHeightRows(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}.}} \details{Since 2.14} \value{[integer] The height of detail cells, in rows.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInit.Rd0000644000176000001440000000201112362217677015412 0ustar ripleyusers\alias{cairoMatrixInit} \name{cairoMatrixInit} \title{cairoMatrixInit} \description{Sets \code{matrix} to be the affine transformation given by \code{xx}, \code{yx}, \code{xy}, \code{yy}, \code{x0}, \code{y0}. The transformation is given by: \preformatted{ x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; }} \usage{cairoMatrixInit(xx, yx, xy, yy, x0, y0)} \arguments{ \item{\verb{xx}}{[numeric] xx component of the affine transformation} \item{\verb{yx}}{[numeric] yx component of the affine transformation} \item{\verb{xy}}{[numeric] xy component of the affine transformation} \item{\verb{yy}}{[numeric] yy component of the affine transformation} \item{\verb{x0}}{[numeric] X translation component of the affine transformation} \item{\verb{y0}}{[numeric] Y translation component of the affine transformation} } \value{ A list containing the following elements: \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressToNative.Rd0000644000176000001440000000226712362217677016700 0ustar ripleyusers\alias{gSocketAddressToNative} \name{gSocketAddressToNative} \title{gSocketAddressToNative} \description{Converts a \code{\link{GSocketAddress}} to a native \verb{struct sockaddr}, which can be passed to low-level functions like \code{connect()} or \code{bind()}.} \usage{gSocketAddressToNative(object, dest, destlen, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketAddress}}} \item{\verb{dest}}{a pointer to a memory location that will contain the native \verb{structsockaddr}.} \item{\verb{destlen}}{the size of \code{dest}. Must be at least as large as \code{\link{gSocketAddressGetNativeSize}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If not enough space is availible, a \code{G_IO_ERROR_NO_SPACE} error is returned. If the address type is not known on the system then a \code{G_IO_ERROR_NOT_SUPPORTED} error is returned. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{dest} was filled in, \code{FALSE} on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetUseColor.Rd0000644000176000001440000000064212362217677017753 0ustar ripleyusers\alias{gtkPrintSettingsGetUseColor} \name{gtkPrintSettingsGetUseColor} \title{gtkPrintSettingsGetUseColor} \description{Gets the value of \code{GTK_PRINT_SETTINGS_USE_COLOR}.} \usage{gtkPrintSettingsGetUseColor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[logical] whether to use color} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxPackEnd.Rd0000644000176000001440000000271412362217677015002 0ustar ripleyusers\alias{gtkBoxPackEnd} \name{gtkBoxPackEnd} \title{gtkBoxPackEnd} \description{Adds \code{child} to \code{box}, packed with reference to the end of \code{box}. The \code{child} is packed after (away from end of) any other child packed with reference to the end of \code{box}.} \usage{gtkBoxPackEnd(object, child, expand = TRUE, fill = TRUE, padding = 0)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to be added to \code{box}} \item{\verb{expand}}{\code{TRUE} if the new child is to be given extra space allocated to \code{box}. The extra space will be divided evenly between all children of \code{box} that use this option} \item{\verb{fill}}{\code{TRUE} if space given to \code{child} by the \code{expand} option is actually allocated to \code{child}, rather than just padding it. This parameter has no effect if \code{expand} is set to \code{FALSE}. A child is always allocated the full height of a \code{\link{GtkHBox}} and the full width of a \code{\link{GtkVBox}}. This option affects the other dimension} \item{\verb{padding}}{extra space in pixels to put between this child and its neighbors, over and above the global amount specified by \verb{"spacing"} property. If \code{child} is a widget at one of the reference ends of \code{box}, then \code{padding} pixels are also put between \code{child} and the reference edge of \code{box}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantNew.Rd0000644000176000001440000000051512362217677015444 0ustar ripleyusers\alias{gtkAssistantNew} \name{gtkAssistantNew} \title{gtkAssistantNew} \description{Creates a new \code{\link{GtkAssistant}}.} \usage{gtkAssistantNew(show = TRUE)} \details{Since 2.10} \value{[\code{\link{GtkWidget}}] a newly created \code{\link{GtkAssistant}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileStartMountableFinish.Rd0000644000176000001440000000152112362217677017365 0ustar ripleyusers\alias{gFileStartMountableFinish} \name{gFileStartMountableFinish} \title{gFileStartMountableFinish} \description{Finishes a start operation. See \code{\link{gFileStartMountable}} for details.} \usage{gFileStartMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous start operation that was started with \code{\link{gFileStartMountable}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation finished successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathCompare.Rd0000644000176000001440000000111712362217677016043 0ustar ripleyusers\alias{gtkTreePathCompare} \name{gtkTreePathCompare} \title{gtkTreePathCompare} \description{Compares two paths. If \code{a} appears before \code{b} in a tree, then -1 is returned. If \code{b} appears before \code{a}, then 1 is returned. If the two nodes are equal, then 0 is returned.} \usage{gtkTreePathCompare(object, b)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreePath}}.} \item{\verb{b}}{A \code{\link{GtkTreePath}} to compare with.} } \value{[integer] The relative positions of \code{a} and \code{b}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetCompositeName.Rd0000644000176000001440000000071712362217677017410 0ustar ripleyusers\alias{gtkWidgetSetCompositeName} \name{gtkWidgetSetCompositeName} \title{gtkWidgetSetCompositeName} \description{Sets a widgets composite name. The widget must be a composite child of its parent; see \code{\link{gtkWidgetPushCompositeChild}}.} \usage{gtkWidgetSetCompositeName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}.} \item{\verb{name}}{the name to set} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertBinWindowToWidgetCoords.Rd0000644000176000001440000000135112362217677022555 0ustar ripleyusers\alias{gtkTreeViewConvertBinWindowToWidgetCoords} \name{gtkTreeViewConvertBinWindowToWidgetCoords} \title{gtkTreeViewConvertBinWindowToWidgetCoords} \description{Converts bin_window coordinates (see \code{\link{gtkTreeViewGetBinWindow}}) to widget relative coordinates.} \usage{gtkTreeViewConvertBinWindowToWidgetCoords(object, bx, by)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{bx}}{bin_window X coordinate} \item{\verb{by}}{bin_window Y coordinate} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{wx}}{return location for widget X coordinate} \item{\verb{wy}}{return location for widget Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromIconName.Rd0000644000176000001440000000073512362217677016761 0ustar ripleyusers\alias{gtkImageSetFromIconName} \name{gtkImageSetFromIconName} \title{gtkImageSetFromIconName} \description{See \code{\link{gtkImageNewFromIconName}} for details.} \usage{gtkImageSetFromIconName(object, icon.name, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{icon.name}}{an icon name} \item{\verb{size}}{an icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableSetColSpacings.Rd0000644000176000001440000000071512362217677016654 0ustar ripleyusers\alias{gtkTableSetColSpacings} \name{gtkTableSetColSpacings} \title{gtkTableSetColSpacings} \description{Sets the space between every column in \code{table} equal to \code{spacing}.} \usage{gtkTableSetColSpacings(object, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}}.} \item{\verb{spacing}}{the number of pixels of space to place between every column in the table.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetWebsiteLabel.Rd0000644000176000001440000000065712362217677020145 0ustar ripleyusers\alias{gtkAboutDialogGetWebsiteLabel} \name{gtkAboutDialogGetWebsiteLabel} \title{gtkAboutDialogGetWebsiteLabel} \description{Returns the label used for the website link.} \usage{gtkAboutDialogGetWebsiteLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The label used for the website link.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetListMnemonicLabels.Rd0000644000176000001440000000157212362217677017715 0ustar ripleyusers\alias{gtkWidgetListMnemonicLabels} \name{gtkWidgetListMnemonicLabels} \title{gtkWidgetListMnemonicLabels} \description{Returns a newly allocated list of the widgets, normally labels, for which this widget is a the target of a mnemonic (see for example, \code{\link{gtkLabelSetMnemonicWidget}}).} \usage{gtkWidgetListMnemonicLabels(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you \emph{must} call \code{g_list_foreach (result, (GFunc)g_object_ref, NULL)} first, and then unref all the widgets afterwards. Since 2.4} \value{[list] \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupNew.Rd0000644000176000001440000000057312362217677015426 0ustar ripleyusers\alias{gtkSizeGroupNew} \name{gtkSizeGroupNew} \title{gtkSizeGroupNew} \description{Create a new \code{\link{GtkSizeGroup}}.} \usage{gtkSizeGroupNew(mode = NULL)} \arguments{\item{\verb{mode}}{the mode for the new size group.}} \value{[\code{\link{GtkSizeGroup}}] a newly created \code{\link{GtkSizeGroup}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionBlockActivate.Rd0000644000176000001440000000112012362217677016663 0ustar ripleyusers\alias{gtkActionBlockActivate} \name{gtkActionBlockActivate} \title{gtkActionBlockActivate} \description{Disable activation signals from the action } \usage{gtkActionBlockActivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{This is needed when updating the state of your proxy \code{\link{GtkActivatable}} widget could result in calling \code{\link{gtkActionActivate}}, this is a convenience function to avoid recursing in those cases (updating toggle state for instance). Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetIconName.Rd0000644000176000001440000000113312362217677016353 0ustar ripleyusers\alias{gtkWindowSetIconName} \name{gtkWindowSetIconName} \title{gtkWindowSetIconName} \description{Sets the icon for the window from a named themed icon. See the docs for \code{\link{GtkIconTheme}} for more details.} \usage{gtkWindowSetIconName(object, name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{name}}{the name of the themed icon. \emph{[ \acronym{allow-none} ]}} } \details{Note that this has nothing to do with the WM_ICON_NAME property which is mentioned in the ICCCM. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketServiceStop.Rd0000644000176000001440000000074412362217677016105 0ustar ripleyusers\alias{gSocketServiceStop} \name{gSocketServiceStop} \title{gSocketServiceStop} \description{Stops the service, i.e. stops accepting connections from the added sockets when the mainloop runs.} \usage{gSocketServiceStop(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketService}}}} \details{This call is threadsafe, so it may be called from a thread handling an incomming client request. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetMaxWidth.Rd0000644000176000001440000000122112362217677020046 0ustar ripleyusers\alias{gtkTreeViewColumnSetMaxWidth} \name{gtkTreeViewColumnSetMaxWidth} \title{gtkTreeViewColumnSetMaxWidth} \description{Sets the maximum width of the \code{tree.column}. If \code{max.width} is -1, then the maximum width is unset. Note, the column can actually be wider than max width if it's the last column in a view. In this case, the column expands to fill any extra space.} \usage{gtkTreeViewColumnSetMaxWidth(object, max.width)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{max.width}}{The maximum width of the column in pixels, or -1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetRowAtIndex.Rd0000644000176000001440000000115412362217677016447 0ustar ripleyusers\alias{atkTableGetRowAtIndex} \name{atkTableGetRowAtIndex} \title{atkTableGetRowAtIndex} \description{Gets a \verb{integer} representing the row at the specified \code{index.}.} \usage{atkTableGetRowAtIndex(object, index)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableInterface} \item{\verb{index}}{[integer] a \verb{integer} representing an index in \code{table}} } \value{[integer] a gint representing the row at the specified index, or -1 if the table does not implement this interface} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferGetLength.Rd0000644000176000001440000000063612362217677017062 0ustar ripleyusers\alias{gtkEntryBufferGetLength} \name{gtkEntryBufferGetLength} \title{gtkEntryBufferGetLength} \description{Retrieves the length in characters of the buffer.} \usage{gtkEntryBufferGetLength(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryBuffer}}}} \details{Since 2.18} \value{[numeric] The number of characters in the buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonSetVisited.Rd0000644000176000001440000000077212362217677017123 0ustar ripleyusers\alias{gtkLinkButtonSetVisited} \name{gtkLinkButtonSetVisited} \title{gtkLinkButtonSetVisited} \description{Sets the 'visited' state of the URI where the \code{\link{GtkLinkButton}} points. See \code{\link{gtkLinkButtonGetVisited}} for more details.} \usage{gtkLinkButtonSetVisited(object, visited)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLinkButton}}} \item{\verb{visited}}{the new 'visited' state} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArraySetTab.Rd0000644000176000001440000000122212362217677016144 0ustar ripleyusers\alias{pangoTabArraySetTab} \name{pangoTabArraySetTab} \title{pangoTabArraySetTab} \description{Sets the alignment and location of a tab stop. \code{alignment} must always be \verb{PANGO_TAB_LEFT} in the current implementation.} \usage{pangoTabArraySetTab(object, tab.index, alignment, location)} \arguments{ \item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}} \item{\verb{tab.index}}{[integer] the index of a tab stop} \item{\verb{alignment}}{[\code{\link{PangoTabAlign}}] tab alignment} \item{\verb{location}}{[integer] tab location in Pango units} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnPackStart.Rd0000644000176000001440000000133212362217677017544 0ustar ripleyusers\alias{gtkTreeViewColumnPackStart} \name{gtkTreeViewColumnPackStart} \title{gtkTreeViewColumnPackStart} \description{Packs the \code{cell} into the beginning of the column. If \code{expand} is \code{FALSE}, then the \code{cell} is allocated no more space than it needs. Any unused space is divided evenly between cells for which \code{expand} is \code{TRUE}.} \usage{gtkTreeViewColumnPackStart(object, cell, expand = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{cell}}{The \code{\link{GtkCellRenderer}}.} \item{\verb{expand}}{\code{TRUE} if \code{cell} is to be given extra space allocated to \code{tree.column}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetInt.Rd0000644000176000001440000000063412362217677016767 0ustar ripleyusers\alias{gtkPrintSettingsSetInt} \name{gtkPrintSettingsSetInt} \title{gtkPrintSettingsSetInt} \description{Sets \code{key} to an integer value.} \usage{gtkPrintSettingsSetInt(object, key, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{value}}{an integer} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextSetUsePreedit.Rd0000644000176000001440000000117412362217677017343 0ustar ripleyusers\alias{gtkIMContextSetUsePreedit} \name{gtkIMContextSetUsePreedit} \title{gtkIMContextSetUsePreedit} \description{Sets whether the IM context should use the preedit string to display feedback. If \code{use.preedit} is FALSE (default is TRUE), then the IM context may use some other method to display feedback, such as displaying it in a child of the root window.} \usage{gtkIMContextSetUsePreedit(object, use.preedit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{use.preedit}}{whether the IM context should use the preedit string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugNew.Rd0000644000176000001440000000106612362217677014404 0ustar ripleyusers\alias{gtkPlugNew} \name{gtkPlugNew} \title{gtkPlugNew} \description{Creates a new plug widget inside the \code{\link{GtkSocket}} identified by \code{socket.id}. If \code{socket.id} is 0, the plug is left "unplugged" and can later be plugged into a \code{\link{GtkSocket}} by \code{\link{gtkSocketAddId}}.} \usage{gtkPlugNew(socket.id, show = TRUE)} \arguments{\item{\verb{socket.id}}{the window ID of the socket, or 0.}} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkPlug}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserWidgetNewWithBackend.Rd0000644000176000001440000000204112362217677021141 0ustar ripleyusers\alias{gtkFileChooserWidgetNewWithBackend} \name{gtkFileChooserWidgetNewWithBackend} \title{gtkFileChooserWidgetNewWithBackend} \description{ Creates a new \code{\link{GtkFileChooserWidget}} with a specified backend. This is especially useful if you use \code{\link{gtkFileChooserSetLocalOnly}} to allow non-local files. This is a file chooser widget that can be embedded in custom windows and it is the same widget that is used by \code{\link{GtkFileChooserDialog}}. \strong{WARNING: \code{gtk_file_chooser_widget_new_with_backend} has been deprecated since version 2.14 and should not be used in newly-written code. Use \code{\link{gtkFileChooserWidgetNew}} instead.} } \usage{gtkFileChooserWidgetNewWithBackend(action, backend, show = TRUE)} \arguments{ \item{\verb{action}}{Open or save mode for the widget} \item{\verb{backend}}{The name of the specific filesystem backend to use.} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFileChooserWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionFactoryLookupType.Rd0000644000176000001440000000136312362217677021320 0ustar ripleyusers\alias{gSocketConnectionFactoryLookupType} \name{gSocketConnectionFactoryLookupType} \title{gSocketConnectionFactoryLookupType} \description{Looks up the \code{\link{GType}} to be used when creating socket connections on sockets with the specified \code{family},\code{type} and \code{protocol.id}.} \usage{gSocketConnectionFactoryLookupType(family, type, protocol.id)} \arguments{ \item{\verb{family}}{a \code{\link{GSocketFamily}}} \item{\verb{type}}{a \code{\link{GSocketType}}} \item{\verb{protocol.id}}{a protocol id} } \details{If no type is registered, the \code{\link{GSocketConnection}} base type is returned. Since 2.22} \value{[\code{\link{GType}}] a \code{\link{GType}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellablePopCurrent.Rd0000644000176000001440000000062012362217677016666 0ustar ripleyusers\alias{gCancellablePopCurrent} \name{gCancellablePopCurrent} \title{gCancellablePopCurrent} \description{Pops \code{cancellable} off the cancellable stack (verifying that \code{cancellable} is on the top of the stack).} \usage{gCancellablePopCurrent(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}} object}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoUnitsFromDouble.Rd0000644000176000001440000000070712362217677016424 0ustar ripleyusers\alias{pangoUnitsFromDouble} \name{pangoUnitsFromDouble} \title{pangoUnitsFromDouble} \description{Converts a floating-point number to Pango units: multiplies it by \code{PANGO_SCALE} and rounds to nearest integer.} \usage{pangoUnitsFromDouble(d)} \arguments{\item{\verb{d}}{[numeric] double floating-point value}} \details{ Since 1.16} \value{[integer] the value in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPaperSize.Rd0000644000176000001440000000465312362217677014672 0ustar ripleyusers\alias{GtkPaperSize} \alias{GtkUnit} \name{GtkPaperSize} \title{GtkPaperSize} \description{Support for named paper sizes} \section{Methods and Functions}{ \code{\link{gtkPaperSizeNew}(name = NULL)}\cr \code{\link{gtkPaperSizeNewFromPpd}(ppd.name, ppd.display.name, width, height)}\cr \code{\link{gtkPaperSizeNewCustom}(name, display.name, width, height, unit)}\cr \code{\link{gtkPaperSizeCopy}(object)}\cr \code{\link{gtkPaperSizeIsEqual}(object, size2)}\cr \code{\link{gtkPaperSizeGetPaperSizes}(include.custom)}\cr \code{\link{gtkPaperSizeGetName}(object)}\cr \code{\link{gtkPaperSizeGetDisplayName}(object)}\cr \code{\link{gtkPaperSizeGetPpdName}(object)}\cr \code{\link{gtkPaperSizeGetWidth}(object, unit)}\cr \code{\link{gtkPaperSizeGetHeight}(object, unit)}\cr \code{\link{gtkPaperSizeIsCustom}(object)}\cr \code{\link{gtkPaperSizeSetSize}(object, width, height, unit)}\cr \code{\link{gtkPaperSizeGetDefaultTopMargin}(object, unit)}\cr \code{\link{gtkPaperSizeGetDefaultBottomMargin}(object, unit)}\cr \code{\link{gtkPaperSizeGetDefaultLeftMargin}(object, unit)}\cr \code{\link{gtkPaperSizeGetDefaultRightMargin}(object, unit)}\cr \code{\link{gtkPaperSizeGetDefault}()}\cr \code{\link{gtkPaperSizeNewFromKeyFile}(key.file, group.name, .errwarn = TRUE)}\cr \code{\link{gtkPaperSizeToKeyFile}(object, key.file, group.name)}\cr } \section{Hierarchy}{\preformatted{GBoxed +----GtkPaperSize}} \section{Detailed Description}{GtkPaperSize handles paper sizes. It uses the standard called "PWG 5101.1-2002 PWG: Standard for Media Standardized Names" to name the paper sizes (and to get the data for the page sizes). In addition to standard paper sizes, GtkPaperSize allows to construct custom paper sizes with arbitrary dimensions. The \code{\link{GtkPaperSize}} object stores not only the dimensions (width and height) of a paper size and its name, it also provides default print margins. Printing support has been added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkPaperSize}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{\item{\verb{GtkUnit}}{ \emph{undocumented } \describe{ \item{\verb{pixel}}{\emph{undocumented }} \item{\verb{points}}{\emph{undocumented }} \item{\verb{inch}}{\emph{undocumented }} \item{\verb{mm}}{\emph{undocumented }} } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkPaperSize.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkPageSetup}}} \keyword{internal} RGtk2/man/gtkDrawExtension.Rd0000644000176000001440000000162412362217677015615 0ustar ripleyusers\alias{gtkDrawExtension} \name{gtkDrawExtension} \title{gtkDrawExtension} \description{ Draws an extension, i.e. a notebook tab. \strong{WARNING: \code{gtk_draw_extension} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintExtension}} instead.} } \usage{gtkDrawExtension(object, window, state.type, shadow.type, x, y, width, height, gap.side)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{x}}{x origin of the extension} \item{\verb{y}}{y origin of the extension} \item{\verb{width}}{width of the extension} \item{\verb{height}}{width of the extension} \item{\verb{gap.side}}{the side on to which the extension is attached} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetMatrix.Rd0000644000176000001440000000070512362217677015252 0ustar ripleyusers\alias{cairoSetMatrix} \name{cairoSetMatrix} \title{cairoSetMatrix} \description{Modifies the current transformation matrix (CTM) by setting it equal to \code{matrix}.} \usage{cairoSetMatrix(cr, matrix)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a transformation matrix from user space to device space} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileDelete.Rd0000644000176000001440000000170012362217677014461 0ustar ripleyusers\alias{gFileDelete} \name{gFileDelete} \title{gFileDelete} \description{Deletes a file. If the \code{file} is a directory, it will only be deleted if it is empty.} \usage{gFileDelete(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the file was deleted. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogSetHasSeparator.Rd0000644000176000001440000000066112362217677017213 0ustar ripleyusers\alias{gtkDialogSetHasSeparator} \name{gtkDialogSetHasSeparator} \title{gtkDialogSetHasSeparator} \description{Sets whether the dialog has a separator above the buttons. \code{TRUE} by default.} \usage{gtkDialogSetHasSeparator(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{setting}}{\code{TRUE} to have a separator} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetRowSpanColumn.Rd0000644000176000001440000000065012362217677017661 0ustar ripleyusers\alias{gtkComboBoxGetRowSpanColumn} \name{gtkComboBoxGetRowSpanColumn} \title{gtkComboBoxGetRowSpanColumn} \description{Returns the column with row span information for \code{combo.box}.} \usage{gtkComboBoxGetRowSpanColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.6} \value{[integer] the row span column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextHeight.Rd0000644000176000001440000000133512362217677015057 0ustar ripleyusers\alias{gdkTextHeight} \name{gdkTextHeight} \title{gdkTextHeight} \description{ Determines the total height of a given string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See \code{\link{gdkTextExtents}}. \strong{WARNING: \code{gdk_text_height} is deprecated and should not be used in newly-written code.} } \usage{gdkTextHeight(object, text, text.length = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{text}}{the text to measure.} \item{\verb{text.length}}{the length of the text in bytes.} } \value{[integer] the height of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferBeginUserAction.Rd0000644000176000001440000000240512362217677020041 0ustar ripleyusers\alias{gtkTextBufferBeginUserAction} \name{gtkTextBufferBeginUserAction} \title{gtkTextBufferBeginUserAction} \description{Called to indicate that the buffer operations between here and a call to \code{\link{gtkTextBufferEndUserAction}} are part of a single user-visible operation. The operations between \code{\link{gtkTextBufferBeginUserAction}} and \code{\link{gtkTextBufferEndUserAction}} can then be grouped when creating an undo stack. \code{\link{GtkTextBuffer}} maintains a count of calls to \code{\link{gtkTextBufferBeginUserAction}} that have not been closed with a call to \code{\link{gtkTextBufferEndUserAction}}, and emits the "begin-user-action" and "end-user-action" signals only for the outermost pair of calls. This allows you to build user actions from other user actions.} \usage{gtkTextBufferBeginUserAction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{The "interactive" buffer mutation functions, such as \code{\link{gtkTextBufferInsertInteractive}}, automatically call begin/end user action around the buffer operations they perform, so there's no need to add extra calls if you user action consists solely of a single call to one of those functions.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetVisible.Rd0000644000176000001440000000101212362217677016221 0ustar ripleyusers\alias{gtkActionSetVisible} \name{gtkActionSetVisible} \title{gtkActionSetVisible} \description{Sets the ::visible property of the action to \code{visible}. Note that this doesn't necessarily mean effective visibility. See \code{\link{gtkActionIsVisible}} for that.} \usage{gtkActionSetVisible(object, visible)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{visible}}{\code{TRUE} to make the action visible} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-Image-Data-in-Memory.Rd0000644000176000001440000000415012362217677020113 0ustar ripleyusers\alias{gdk-pixbuf-Image-Data-in-Memory} \name{gdk-pixbuf-Image-Data-in-Memory} \title{Image Data in Memory} \description{Creating a pixbuf from image data that is already in memory.} \section{Methods and Functions}{ \code{\link{gdkPixbufNew}(colorspace, has.alpha, bits.per.sample, width, height)}\cr \code{\link{gdkPixbufNewFromData}(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride)}\cr \code{\link{gdkPixbufNewFromXpmData}(data)}\cr \code{\link{gdkPixbufNewSubpixbuf}(object, src.x, src.y, width, height)}\cr \code{\link{gdkPixbufCopy}(object)}\cr } \section{Detailed Description}{The most basic way to create a pixbuf is to wrap an existing pixel buffer with a \code{\link{GdkPixbuf}} structure. You can use the \code{\link{gdkPixbufNewFromData}} function to do this You need to specify the destroy notification function that will be called when the data buffer needs to be freed; this will happen when a \code{\link{GdkPixbuf}} is finalized by the reference counting functions If you have a chunk of static data compiled into your application, you can pass in \code{NULL} as the destroy notification function so that the data will not be freed. The \code{\link{gdkPixbufNew}} function can be used as a convenience to create a pixbuf with an empty buffer. This is equivalent to allocating a data buffer using \code{malloc()} and then wrapping it with \code{\link{gdkPixbufNewFromData}}. The \code{\link{gdkPixbufNew}} function will compute an optimal rowstride so that rendering can be performed with an efficient algorithm. As a special case, you can use the \code{\link{gdkPixbufNewFromXpmData}} function to create a pixbuf from inline XPM image data. You can also copy an existing pixbuf with the \code{\link{gdkPixbufCopy}} function. This is not the same as just doing a \code{gObjectRef()} on the old pixbuf; the copy function will actually duplicate the pixel data in memory and create a new \code{\link{GdkPixbuf}} structure for it.} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoStatusToString.Rd0000644000176000001440000000062612362217677016311 0ustar ripleyusers\alias{cairoStatusToString} \name{cairoStatusToString} \title{cairoStatusToString} \description{Provides a human-readable description of a \code{\link{CairoStatus}}.} \usage{cairoStatusToString(status)} \arguments{\item{\verb{status}}{[\code{\link{CairoStatus}}] a cairo status}} \value{[char] a string representation of the status} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAccept.Rd0000644000176000001440000000234312362217677015033 0ustar ripleyusers\alias{gSocketAccept} \name{gSocketAccept} \title{gSocketAccept} \description{Accept incoming connections on a connection-based socket. This removes the first outstanding connection request from the listening socket and creates a \code{\link{GSocket}} object for it.} \usage{gSocketAccept(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The \code{socket} must be bound to a local address with \code{\link{gSocketBind}} and must be listening for incoming connections (\code{\link{gSocketListen}}). If there are no outstanding connections then the operation will block or return \code{G_IO_ERROR_WOULD_BLOCK} if non-blocking I/O is enabled. To be notified of an incoming connection, wait for the \code{G_IO_IN} condition. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocket}}] a new \code{\link{GSocket}}, or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNewFromWidget.Rd0000644000176000001440000000110012362217677017704 0ustar ripleyusers\alias{gtkRadioButtonNewFromWidget} \name{gtkRadioButtonNewFromWidget} \title{gtkRadioButtonNewFromWidget} \description{Creates a new \code{\link{GtkRadioButton}}, adding it to the same group as \code{radio.group.member}. As with \code{\link{gtkRadioButtonNew}}, a widget should be packed into the radio button.} \usage{gtkRadioButtonNewFromWidget(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{an existing \code{\link{GtkRadioButton}}.}} \value{[\code{\link{GtkWidget}}] a new radio button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gLoadableIconLoad.Rd0000644000176000001440000000170312362217677015576 0ustar ripleyusers\alias{gLoadableIconLoad} \name{gLoadableIconLoad} \title{gLoadableIconLoad} \description{Loads a loadable icon. For the asynchronous version of this function, see \code{\link{gLoadableIconLoadAsync}}.} \usage{gLoadableIconLoad(object, size, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GLoadableIcon}}.} \item{\verb{size}}{an integer.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GInputStream}}] a \code{\link{GInputStream}} to read the icon from.} \item{\verb{type}}{a location to store the type of the loaded icon, \code{NULL} to ignore.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccessibleConnectWidgetDestroyed.Rd0000644000176000001440000000070612362217677021421 0ustar ripleyusers\alias{gtkAccessibleConnectWidgetDestroyed} \name{gtkAccessibleConnectWidgetDestroyed} \title{gtkAccessibleConnectWidgetDestroyed} \description{This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.} \usage{gtkAccessibleConnectWidgetDestroyed(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccessible}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGetLogAttrs.Rd0000644000176000001440000000207212362217677015537 0ustar ripleyusers\alias{pangoGetLogAttrs} \name{pangoGetLogAttrs} \title{pangoGetLogAttrs} \description{Computes a \code{\link{PangoLogAttr}} for each character in \code{text}. The \code{log.attrs} array must have one \code{\link{PangoLogAttr}} for each position in \code{text}; if \code{text} contains N characters, it has N+1 positions, including the last position at the end of the text. \code{text} should be an entire paragraph; logical attributes can't be computed without context (for example you need to see spaces on either side of a word to know the word is a word).} \usage{pangoGetLogAttrs(text, level, language)} \arguments{ \item{\verb{text}}{[char] text to process} \item{\verb{level}}{[integer] embedding level, or -1 if unknown} \item{\verb{language}}{[\code{\link{PangoLanguage}}] language tag} } \value{ A list containing the following elements: \item{\verb{log.attrs}}{[\code{\link{PangoLogAttr}}] list with one \code{\link{PangoLogAttr}} per character in \code{text}, plus one extra, to be filled in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetFrameDimensions.Rd0000644000176000001440000000164712362217677017757 0ustar ripleyusers\alias{gtkWindowSetFrameDimensions} \name{gtkWindowSetFrameDimensions} \title{gtkWindowSetFrameDimensions} \description{(Note: this is a special-purpose function intended for the framebuffer port; see \code{\link{gtkWindowSetHasFrame}}. It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system.)} \usage{gtkWindowSetFrameDimensions(object, left, top, right, bottom)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}} that has a frame} \item{\verb{left}}{The width of the left border} \item{\verb{top}}{The height of the top border} \item{\verb{right}}{The width of the right border} \item{\verb{bottom}}{The height of the bottom border} } \details{For windows with frames (see \code{\link{gtkWindowSetHasFrame}}) this function can be used to change the size of the frame border.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetActivityBlocks.Rd0000644000176000001440000000122112362217677020574 0ustar ripleyusers\alias{gtkProgressBarSetActivityBlocks} \name{gtkProgressBarSetActivityBlocks} \title{gtkProgressBarSetActivityBlocks} \description{ Sets the number of blocks used when the progress bar is in activity mode. Larger numbers make the visible block smaller. \strong{WARNING: \code{gtk_progress_bar_set_activity_blocks} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarSetActivityBlocks(object, blocks)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}.} \item{\verb{blocks}}{number of blocks which can fit within the progress bar area.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetInputShapeCombineMask.Rd0000644000176000001440000000153112362217677020355 0ustar ripleyusers\alias{gtkWidgetInputShapeCombineMask} \name{gtkWidgetInputShapeCombineMask} \title{gtkWidgetInputShapeCombineMask} \description{Sets an input shape for this widget's GDK window. This allows for windows which react to mouse click in a nonrectangular region, see \code{\link{gdkWindowInputShapeCombineMask}} for more information.} \usage{gtkWidgetInputShapeCombineMask(object, shape.mask = NULL, offset.x, offset.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{shape.mask}}{shape to be added, or \code{NULL} to remove an existing shape. \emph{[ \acronym{allow-none} ]}} \item{\verb{offset.x}}{X position of shape mask with respect to \code{window}} \item{\verb{offset.y}}{Y position of shape mask with respect to \code{window}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetNoShowAll.Rd0000644000176000001440000000124612362217677016511 0ustar ripleyusers\alias{gtkWidgetSetNoShowAll} \name{gtkWidgetSetNoShowAll} \title{gtkWidgetSetNoShowAll} \description{Sets the \verb{"no-show-all"} property, which determines whether calls to \code{\link{gtkWidgetShowAll}} and \code{\link{gtkWidgetHideAll}} will affect this widget. } \usage{gtkWidgetSetNoShowAll(object, no.show.all)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{no.show.all}}{the new value for the "no-show-all" property} } \details{This is mostly for use in constructing widget hierarchies with externally controlled visibility, see \code{\link{GtkUIManager}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetVariant.Rd0000644000176000001440000000122512362217677020436 0ustar ripleyusers\alias{pangoFontDescriptionGetVariant} \name{pangoFontDescriptionGetVariant} \title{pangoFontDescriptionGetVariant} \description{Gets the variant field of a \code{\link{PangoFontDescription}}. See \code{\link{pangoFontDescriptionSetVariant}}.} \usage{pangoFontDescriptionGetVariant(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}.}} \value{[\code{\link{PangoVariant}}] the variant field for the font description. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHScale.Rd0000644000176000001440000000324712362217677014125 0ustar ripleyusers\alias{GtkHScale} \alias{gtkHScale} \name{GtkHScale} \title{GtkHScale} \description{A horizontal slider widget for selecting a value from a range} \section{Methods and Functions}{ \code{\link{gtkHScaleNew}(adjustment = NULL, show = TRUE)}\cr \code{\link{gtkHScaleNewWithRange}(min, max, step, show = TRUE)}\cr \code{gtkHScale(adjustment = NULL, min, max, step, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GtkHScale}} \section{Interfaces}{GtkHScale implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkHScale}} widget is used to allow the user to select a value using a horizontal slider. To create one, use \code{\link{gtkHScaleNewWithRange}}. The position to show the current value, and the number of decimal places shown can be set using the parent \code{\link{GtkScale}} class's functions.} \section{Structures}{\describe{\item{\verb{GtkHScale}}{ The \code{\link{GtkHScale}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkHScale} is the result of collapsing the constructors of \code{GtkHScale} (\code{\link{gtkHScaleNew}}, \code{\link{gtkHScaleNewWithRange}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkHScale.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertRange.Rd0000644000176000001440000000167512362217677017251 0ustar ripleyusers\alias{gtkTextBufferInsertRange} \name{gtkTextBufferInsertRange} \title{gtkTextBufferInsertRange} \description{Copies text, tags, and pixbufs between \code{start} and \code{end} (the order of \code{start} and \code{end} doesn't matter) and inserts the copy at \code{iter}. Used instead of simply getting/inserting text because it preserves images and tags. If \code{start} and \code{end} are in a different buffer from \code{buffer}, the two buffers must share the same tag table.} \usage{gtkTextBufferInsertRange(object, iter, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{a position in \code{buffer}} \item{\verb{start}}{a position in a \code{\link{GtkTextBuffer}}} \item{\verb{end}}{another position in the same buffer as \code{start}} } \details{Implemented via emissions of the insert_text and apply_tag signals, so expect those.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkInputSetExtensionEvents.Rd0000644000176000001440000000100612362217677017632 0ustar ripleyusers\alias{gdkInputSetExtensionEvents} \name{gdkInputSetExtensionEvents} \title{gdkInputSetExtensionEvents} \description{Turns extension events on or off for a particular window, and specifies the event mask for extension events.} \usage{gdkInputSetExtensionEvents(object, mask, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}.} \item{\verb{mask}}{the event mask} \item{\verb{mode}}{the type of extension events that are desired.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionIsAdjusting.Rd0000644000176000001440000000074312362217677020115 0ustar ripleyusers\alias{gtkColorSelectionIsAdjusting} \name{gtkColorSelectionIsAdjusting} \title{gtkColorSelectionIsAdjusting} \description{Gets the current state of the \code{colorsel}.} \usage{gtkColorSelectionIsAdjusting(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{[logical] \code{TRUE} if the user is currently dragging a color around, and \code{FALSE} if the selection has stopped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceRestrictToLevel.Rd0000644000176000001440000000144312362217677020240 0ustar ripleyusers\alias{cairoPsSurfaceRestrictToLevel} \name{cairoPsSurfaceRestrictToLevel} \title{cairoPsSurfaceRestrictToLevel} \description{Restricts the generated PostSript file to \code{level}. See \code{\link{cairoPsGetLevels}} for a list of available level values that can be used here.} \usage{cairoPsSurfaceRestrictToLevel(surface, level)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}} \item{\verb{level}}{[\code{\link{CairoPsLevel}}] PostScript level} } \details{This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface. Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellActivateItem.Rd0000644000176000001440000000104612362217677017215 0ustar ripleyusers\alias{gtkMenuShellActivateItem} \name{gtkMenuShellActivateItem} \title{gtkMenuShellActivateItem} \description{Activates the menu item within the menu shell.} \usage{gtkMenuShellActivateItem(object, menu.item, force.deactivate)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}.} \item{\verb{menu.item}}{The \code{\link{GtkMenuItem}} to activate.} \item{\verb{force.deactivate}}{If TRUE, force the deactivation of the menu shell after the menu item is activated.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetDocumenters.Rd0000644000176000001440000000074212362217677020066 0ustar ripleyusers\alias{gtkAboutDialogGetDocumenters} \name{gtkAboutDialogGetDocumenters} \title{gtkAboutDialogGetDocumenters} \description{Returns the string which are displayed in the documenters tab of the secondary credits dialog.} \usage{gtkAboutDialogGetDocumenters(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] A string list containing the documenters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetClipRectangle.Rd0000644000176000001440000000075312362217677016407 0ustar ripleyusers\alias{gdkGCSetClipRectangle} \name{gdkGCSetClipRectangle} \title{gdkGCSetClipRectangle} \description{Sets the clip mask for a graphics context from a rectangle. The clip mask is interpreted relative to the clip origin. (See \code{\link{gdkGCSetClipOrigin}}).} \usage{gdkGCSetClipRectangle(object, rectangle)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{rectangle}}{the rectangle to clip to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountEjectWithOperationFinish.Rd0000644000176000001440000000157212362217677020421 0ustar ripleyusers\alias{gMountEjectWithOperationFinish} \name{gMountEjectWithOperationFinish} \title{gMountEjectWithOperationFinish} \description{Finishes ejecting a mount. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gMountEjectWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mount was successfully ejected. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragBegin.Rd0000644000176000001440000000101412362217677014616 0ustar ripleyusers\alias{gdkDragBegin} \name{gdkDragBegin} \title{gdkDragBegin} \description{Starts a drag and creates a new drag context for it.} \usage{gdkDragBegin(object, targets)} \arguments{ \item{\verb{object}}{the source window for this drag.} \item{\verb{targets}}{the offered targets, as list of \code{\link{GdkAtom}}s} } \details{This function is called by the drag source.} \value{[\code{\link{GdkDragContext}}] a newly created \code{\link{GdkDragContext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageToString.Rd0000644000176000001440000000064212362217677016556 0ustar ripleyusers\alias{pangoLanguageToString} \name{pangoLanguageToString} \title{pangoLanguageToString} \description{Gets the RFC-3066 format string representing the given language tag.} \usage{pangoLanguageToString(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLanguage}}] a language tag.}} \value{[char] a string representing the language tag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetEnableSearch.Rd0000644000176000001440000000124512362217677017465 0ustar ripleyusers\alias{gtkTreeViewSetEnableSearch} \name{gtkTreeViewSetEnableSearch} \title{gtkTreeViewSetEnableSearch} \description{If \code{enable.search} is set, then the user can type in text to search through the tree interactively (this is sometimes called "typeahead find").} \usage{gtkTreeViewSetEnableSearch(object, enable.search)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{enable.search}}{\code{TRUE}, if the user can search interactively} } \details{Note that even if this is \code{FALSE}, the user can still initiate a search using the "start-interactive-search" key binding.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerChildGet.Rd0000644000176000001440000000073712362217677016355 0ustar ripleyusers\alias{gtkContainerChildGet} \name{gtkContainerChildGet} \title{gtkContainerChildGet} \description{Gets the values of one or more child properties for \code{child} and \code{container}.} \usage{gtkContainerChildGet(object, child, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a widget which is a child of \code{container}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSpinner.Rd0000644000176000001440000000356412362217677014406 0ustar ripleyusers\alias{GtkSpinner} \alias{gtkSpinner} \name{GtkSpinner} \title{GtkSpinner} \description{Show a spinner animation} \section{Methods and Functions}{ \code{\link{gtkSpinnerNew}(show = TRUE)}\cr \code{\link{gtkSpinnerStart}(object)}\cr \code{\link{gtkSpinnerStop}(object)}\cr \code{gtkSpinner(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkDrawingArea +----GtkSpinner}} \section{Interfaces}{GtkSpinner implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A GtkSpinner widget displays an icon-size spinning animation. It is often used as an alternative to a \code{\link{GtkProgressBar}} for displaying indefinite activity, instead of actual progress. To start the animation, use \code{\link{gtkSpinnerStart}}, to stop it use \code{\link{gtkSpinnerStop}}.} \section{Structures}{\describe{\item{\verb{GtkSpinner}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkSpinner} is the equivalent of \code{\link{gtkSpinnerNew}}.} \section{Properties}{\describe{\item{\verb{active} [logical : Read / Write]}{ Whether the spinner is active. Default value: FALSE }}} \section{Style Properties}{\describe{ \item{\verb{cycle-duration} [numeric : Read]}{ The duration in milliseconds for the spinner to complete a full cycle. Allowed values: >= 500 Default value: 1000 Since 2.20 } \item{\verb{num-steps} [numeric : Read]}{ The number of steps for the spinner to complete a full loop. The animation will complete a full cycle in one second by default (see the \verb{"cycle-duration"} style property). Allowed values: >= 1 Default value: 12 Since 2.20 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkSpinner.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetStockId.Rd0000644000176000001440000000070112362217677017050 0ustar ripleyusers\alias{gtkToolButtonGetStockId} \name{gtkToolButtonGetStockId} \title{gtkToolButtonGetStockId} \description{Returns the name of the stock item. See \code{\link{gtkToolButtonSetStockId}}.} \usage{gtkToolButtonGetStockId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.4} \value{[character] the name of the stock item for \code{button}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListen.Rd0000644000176000001440000000156412362217677015076 0ustar ripleyusers\alias{gSocketListen} \name{gSocketListen} \title{gSocketListen} \description{Marks the socket as a server socket, i.e. a socket that is used to accept incoming requests using \code{\link{gSocketAccept}}.} \usage{gSocketListen(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Before calling this the socket must be bound to a local address using \code{\link{gSocketBind}}. To set the maximum amount of outstanding clients, use \code{\link{gSocketSetListenBacklog}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetSensitive.Rd0000644000176000001440000000117512362217677016601 0ustar ripleyusers\alias{gtkWidgetGetSensitive} \name{gtkWidgetGetSensitive} \title{gtkWidgetGetSensitive} \description{Returns the widget's sensitivity (in the sense of returning the value that has been set using \code{\link{gtkWidgetSetSensitive}}).} \usage{gtkWidgetGetSensitive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{The effective sensitivity of a widget is however determined by both its own and its parent widget's sensitivity. See \code{\link{gtkWidgetIsSensitive}}. Since 2.18} \value{[logical] \code{TRUE} if the widget is sensitive} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListInsert.Rd0000644000176000001440000000111312362217677015217 0ustar ripleyusers\alias{gtkCListInsert} \name{gtkCListInsert} \title{gtkCListInsert} \description{ Adds a row of text to the CList at the specified position. \strong{WARNING: \code{gtk_clist_insert} is deprecated and should not be used in newly-written code.} } \usage{gtkCListInsert(object, row, text)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row where the text should be inserted.} \item{\verb{text}}{An list of string to add.} } \value{[integer] The number of the row added.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetFocusChain.Rd0000644000176000001440000000140312362217677017357 0ustar ripleyusers\alias{gtkContainerSetFocusChain} \name{gtkContainerSetFocusChain} \title{gtkContainerSetFocusChain} \description{Sets a focus chain, overriding the one computed automatically by GTK+.} \usage{gtkContainerSetFocusChain(object, focusable.widgets)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{focusable.widgets}}{the new focus chain} } \details{In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it's allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn't always packed. The necessary checks are done when the focus chain is actually traversed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionPointIn.Rd0000644000176000001440000000070312362217677015524 0ustar ripleyusers\alias{gdkRegionPointIn} \name{gdkRegionPointIn} \title{gdkRegionPointIn} \description{Finds out if a point is in a region.} \usage{gdkRegionPointIn(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{x}}{the x coordinate of a point} \item{\verb{y}}{the y coordinate of a point} } \value{[logical] \code{TRUE} if the point is in \code{region}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetLabelWidget.Rd0000644000176000001440000000075412362217677020343 0ustar ripleyusers\alias{gtkToolItemGroupGetLabelWidget} \name{gtkToolItemGroupGetLabelWidget} \title{gtkToolItemGroupGetLabelWidget} \description{Gets the label widget of \code{group}. See \code{\link{gtkToolItemGroupSetLabelWidget}}.} \usage{gtkToolItemGroupGetLabelWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItemGroup}}}} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] the label widget of \code{group}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetDefaultPageSetup.Rd0000644000176000001440000000077612362217677021572 0ustar ripleyusers\alias{gtkPrintOperationGetDefaultPageSetup} \name{gtkPrintOperationGetDefaultPageSetup} \title{gtkPrintOperationGetDefaultPageSetup} \description{Returns the default page setup, see \code{\link{gtkPrintOperationSetDefaultPageSetup}}.} \usage{gtkPrintOperationGetDefaultPageSetup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.10} \value{[\code{\link{GtkPageSetup}}] the default page setup} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoAttrEmbossColorNew.Rd0000644000176000001440000000073012362217677017521 0ustar ripleyusers\alias{gdkPangoAttrEmbossColorNew} \name{gdkPangoAttrEmbossColorNew} \title{gdkPangoAttrEmbossColorNew} \description{Creates a new attribute specifying the color to emboss text with.} \usage{gdkPangoAttrEmbossColorNew(color)} \arguments{\item{\verb{color}}{a GdkColor representing the color to emboss with}} \details{Since 2.12} \value{[\code{\link{PangoAttribute}}] new \code{\link{PangoAttribute}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetTextOrientation.Rd0000644000176000001440000000111512362217677020444 0ustar ripleyusers\alias{gtkToolShellGetTextOrientation} \name{gtkToolShellGetTextOrientation} \title{gtkToolShellGetTextOrientation} \description{Retrieves the current text orientation for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetTextOrientation}} instead.} \usage{gtkToolShellGetTextOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkOrientation}}] the current text orientation of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSortNode.Rd0000644000176000001440000000076412362217677015507 0ustar ripleyusers\alias{gtkCTreeSortNode} \name{gtkCTreeSortNode} \title{gtkCTreeSortNode} \description{ Sort the children of a node. See \code{\link{GtkCList}} for how to set the sorting criteria etc. \strong{WARNING: \code{gtk_ctree_sort_node} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSortNode(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetEvents.Rd0000644000176000001440000000170212362217677016104 0ustar ripleyusers\alias{gtkWidgetSetEvents} \name{gtkWidgetSetEvents} \title{gtkWidgetSetEvents} \description{Sets the event mask (see \code{\link{GdkEventMask}}) for a widget. The event mask determines which events a widget will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a widget's functionality, so be careful. This function must be called while a widget is unrealized. Consider \code{\link{gtkWidgetAddEvents}} for widgets that are already realized, or if you want to preserve the existing event mask. This function can't be used with \verb{GTK_NO_WINDOW} widgets; to get events on those widgets, place them inside a \code{\link{GtkEventBox}} and receive events on the event box.} \usage{gtkWidgetSetEvents(object, events)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{events}}{event mask} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestListAllTypes.Rd0000644000176000001440000000074212362217677016254 0ustar ripleyusers\alias{gtkTestListAllTypes} \name{gtkTestListAllTypes} \title{gtkTestListAllTypes} \description{Return the type ids that have been registered after calling \code{\link{gtkTestRegisterAllTypes}}.} \usage{gtkTestListAllTypes()} \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[\code{\link{GType}}] array of type ids} \item{\verb{n.types}}{location to store number of types} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetLogo.Rd0000644000176000001440000000071212362217677016473 0ustar ripleyusers\alias{gtkAboutDialogGetLogo} \name{gtkAboutDialogGetLogo} \title{gtkAboutDialogGetLogo} \description{Returns the pixbuf displayed as logo in the about dialog.} \usage{gtkAboutDialogGetLogo(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[\code{\link{GdkPixbuf}}] the pixbuf displayed as logo. If you want to keep a reference to it,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDeviceGetHistory.Rd0000644000176000001440000000251312362217677016222 0ustar ripleyusers\alias{gdkDeviceGetHistory} \name{gdkDeviceGetHistory} \title{gdkDeviceGetHistory} \description{Obtains the motion history for a device; given a starting and ending timestamp, return all events in the motion history for the device in the given range of time. Some windowing systems do not support motion history, in which case, \code{FALSE} will be returned. (This is not distinguishable from the case where motion history is supported and no events were found.)} \usage{gdkDeviceGetHistory(object, window, start, stop)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDevice}}} \item{\verb{window}}{the window with respect to which which the event coordinates will be reported} \item{\verb{start}}{starting timestamp for range of events to return} \item{\verb{stop}}{ending timestamp for the range of events to return} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the windowing system supports motion history and at least one event was found.} \item{\verb{events}}{location to store a newly-allocated list of \code{\link{GdkTimeCoord}}, or \code{NULL}. \emph{[ \acronym{array} length=n_events][ \acronym{out} ][ \acronym{transfer none} ]}} \item{\verb{n.events}}{location to store the length of \code{events}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetFontOptions.Rd0000644000176000001440000000150512362217677017564 0ustar ripleyusers\alias{cairoSurfaceGetFontOptions} \name{cairoSurfaceGetFontOptions} \title{cairoSurfaceGetFontOptions} \description{Retrieves the default font rendering options for the surface. This allows display surfaces to report the correct subpixel order for rendering on them, print surfaces to disable hinting of metrics and so forth. The result can then be used with \code{\link{cairoScaledFontCreate}}.} \usage{cairoSurfaceGetFontOptions(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \value{ A list containing the following elements: \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}} object into which to store the retrieved options. All existing values are overwritten} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleLine.Rd0000644000176000001440000000120412362217677020240 0ustar ripleyusers\alias{gtkTextIterForwardVisibleLine} \name{gtkTextIterForwardVisibleLine} \title{gtkTextIterForwardVisibleLine} \description{Moves \code{iter} to the start of the next visible line. Returns \code{TRUE} if there was a next line to move to, and \code{FALSE} if \code{iter} was simply moved to the end of the buffer and is now not dereferenceable, or if \code{iter} was already at the end of the buffer.} \usage{gtkTextIterForwardVisibleLine(object)} \arguments{\item{\verb{object}}{an iterator}} \details{Since 2.8} \value{[logical] whether \code{iter} can be dereferenced} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapCreateFromData.Rd0000644000176000001440000000143712362217677017005 0ustar ripleyusers\alias{gdkPixmapCreateFromData} \name{gdkPixmapCreateFromData} \title{gdkPixmapCreateFromData} \description{Create a two-color pixmap from data in XBM data.} \usage{gdkPixmapCreateFromData(drawable = NULL, data, height, depth, fg, bg)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap. Can be \code{NULL}, if the depth is given.} \item{\verb{data}}{a pointer to the data.} \item{\verb{height}}{the height of the new pixmap in pixels.} \item{\verb{depth}}{the depth (number of bits per pixel) of the new pixmap.} \item{\verb{fg}}{the foreground color.} \item{\verb{bg}}{the background color.} } \value{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontFaceSetUserData.Rd0000644000176000001440000000152512362217677017125 0ustar ripleyusers\alias{cairoFontFaceSetUserData} \name{cairoFontFaceSetUserData} \title{cairoFontFaceSetUserData} \description{Attach user data to \code{font.face}. To remove user data from a font face, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoFontFaceSetUserData(font.face, key, user.data)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a \code{\link{CairoFontFace}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the a \code{\link{CairoUserDataKey}} to attach the user data to} \item{\verb{user.data}}{[R object] the user data to attach to the font face} } \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY} if a slot could not be allocated for the user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextCreatePangoLayout.Rd0000644000176000001440000000101212362217677020762 0ustar ripleyusers\alias{gtkPrintContextCreatePangoLayout} \name{gtkPrintContextCreatePangoLayout} \title{gtkPrintContextCreatePangoLayout} \description{Creates a new \code{\link{PangoLayout}} that is suitable for use with the \code{\link{GtkPrintContext}}.} \usage{gtkPrintContextCreatePangoLayout(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[\code{\link{PangoLayout}}] a new Pango layout for \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GCancellable.Rd0000644000176000001440000000616512362217677014616 0ustar ripleyusers\alias{GCancellable} \alias{gCancellable} \name{GCancellable} \title{GCancellable} \description{Thread-safe Operation Cancellation Stack} \section{Methods and Functions}{ \code{\link{gCancellableNew}()}\cr \code{\link{gCancellableIsCancelled}(object)}\cr \code{\link{gCancellableSetErrorIfCancelled}(object, .errwarn = TRUE)}\cr \code{\link{gCancellableGetFd}(object)}\cr \code{\link{gCancellableReleaseFd}(object)}\cr \code{\link{gCancellableGetCurrent}()}\cr \code{\link{gCancellablePopCurrent}(object)}\cr \code{\link{gCancellablePushCurrent}(object)}\cr \code{\link{gCancellableReset}(object)}\cr \code{\link{gCancellableDisconnect}(object, handler.id)}\cr \code{\link{gCancellableCancel}(object)}\cr \code{gCancellable()} } \section{Hierarchy}{\preformatted{GObject +----GCancellable}} \section{Detailed Description}{GCancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations.} \section{Structures}{\describe{\item{\verb{GCancellable}}{ Allows actions to be cancelled. }}} \section{Convenient Construction}{\code{gCancellable} is the equivalent of \code{\link{gCancellableNew}}.} \section{Signals}{\describe{\item{\code{cancelled(cancellable, user.data)}}{ Emitted when the operation has been cancelled. Can be used by implementations of cancellable operations. If the operation is cancelled from another thread, the signal will be emitted in the thread that cancelled the operation, not the thread that is running the operation. Note that disconnecting from this signal (or any signal) in a multi-threaded program is prone to race conditions. For instance it is possible that a signal handler may be invoked even \emph{after} a call to \code{\link{gSignalHandlerDisconnect}} for that handler has already returned. There is also a problem when cancellation happen right before connecting to the signal. If this happens the signal will unexpectedly not be emitted, and checking before connecting to the signal leaves a race condition where this is still happening. In order to make it safe and easy to connect handlers there are two helper functions: \code{gCancellableConnect()} and \code{\link{gCancellableDisconnect}} which protect against problems like this. An example of how to us this: \preformatted{ ## Make sure we don't do any unnecessary work if already cancelled if (cancellable$setErrorIfCancelled()) return() ## Set up all the data needed to be able to ## handle cancellation of the operation my_data <- myData(...) id <- 0 if (!is.null(cancellable)) id <- cancellable$connect(cancelled_handler, data, NULL) ## cancellable operation here... cancellable$disconnect(id) } Note that the cancelled signal is emitted in the thread that the user cancelled from, which may be the main thread. So, the cancellable signal should not do something that can block. \describe{ \item{\code{cancellable}}{a \code{\link{GCancellable}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gio/GCancellable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioActionSetGroup.Rd0000644000176000001440000000062212362217677016705 0ustar ripleyusers\alias{gtkRadioActionSetGroup} \name{gtkRadioActionSetGroup} \title{gtkRadioActionSetGroup} \description{Sets the radio group for the radio action object.} \usage{gtkRadioActionSetGroup(object, group)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{group}}{a list representing a radio group} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetContent.Rd0000644000176000001440000000107512362217677016716 0ustar ripleyusers\alias{cairoSurfaceGetContent} \name{cairoSurfaceGetContent} \title{cairoSurfaceGetContent} \description{This function returns the content type of \code{surface} which indicates whether the surface contains color and/or alpha information. See \code{\link{CairoContent}}.} \usage{cairoSurfaceGetContent(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{ Since 1.2} \value{[\code{\link{CairoContent}}] The content type of \code{surface}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonNewWithLabel.Rd0000644000176000001440000000076312362217677016547 0ustar ripleyusers\alias{gtkButtonNewWithLabel} \name{gtkButtonNewWithLabel} \title{gtkButtonNewWithLabel} \description{Creates a \code{\link{GtkButton}} widget with a \code{\link{GtkLabel}} child containing the given text.} \usage{gtkButtonNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{The text you want the \code{\link{GtkLabel}} to hold.}} \value{[\code{\link{GtkWidget}}] The newly created \code{\link{GtkButton}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowShow.Rd0000644000176000001440000000120412362217677015105 0ustar ripleyusers\alias{gdkWindowShow} \name{gdkWindowShow} \title{gdkWindowShow} \description{Like \code{\link{gdkWindowShowUnraised}}, but also raises the window to the top of the window stack (moves the window to the front of the Z-order).} \usage{gdkWindowShow(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{This function maps a window so it's visible onscreen. Its opposite is \code{\link{gdkWindowHide}}. When implementing a \code{\link{GtkWidget}}, you should call this function on the widget's \code{\link{GdkWindow}} as part of the "map" method.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupLock.Rd0000644000176000001440000000120012362217677015646 0ustar ripleyusers\alias{gtkAccelGroupLock} \name{gtkAccelGroupLock} \title{gtkAccelGroupLock} \description{Locks the given accelerator group.} \usage{gtkAccelGroupLock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelGroup}}}} \details{Locking an acelerator group prevents the accelerators contained within it to be changed during runtime. Refer to \code{\link{gtkAccelMapChangeEntry}} about runtime accelerator changes. If called more than once, \code{accel.group} remains locked until \code{\link{gtkAccelGroupUnlock}} has been called an equivalent number of times.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetLineWrap.Rd0000644000176000001440000000070012362217677016136 0ustar ripleyusers\alias{gtkLabelGetLineWrap} \name{gtkLabelGetLineWrap} \title{gtkLabelGetLineWrap} \description{Returns whether lines in the label are automatically wrapped. See \code{\link{gtkLabelSetLineWrap}}.} \usage{gtkLabelGetLineWrap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[logical] \code{TRUE} if the lines of the label are automatically wrapped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetAddTearoffs.Rd0000644000176000001440000000063312362217677017275 0ustar ripleyusers\alias{gtkComboBoxGetAddTearoffs} \name{gtkComboBoxGetAddTearoffs} \title{gtkComboBoxGetAddTearoffs} \description{Gets the current value of the :add-tearoffs property.} \usage{gtkComboBoxGetAddTearoffs(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \value{[logical] the current value of the :add-tearoffs property.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIntersect.Rd0000644000176000001440000000134612362217677016130 0ustar ripleyusers\alias{gtkWidgetIntersect} \name{gtkWidgetIntersect} \title{gtkWidgetIntersect} \description{Computes the intersection of a \code{widget}'s area and \code{area}, storing the intersection in \code{intersection}, and returns \code{TRUE} if there was an intersection. \code{intersection} may be \code{NULL} if you're only interested in whether there was an intersection.} \usage{gtkWidgetIntersect(object, area, intersection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{area}}{a rectangle} \item{\verb{intersection}}{rectangle to store intersection of \code{widget} and \code{area}} } \value{[logical] \code{TRUE} if there was an intersection} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAcceptAsync.Rd0000644000176000001440000000143012362217677017533 0ustar ripleyusers\alias{gSocketListenerAcceptAsync} \name{gSocketListenerAcceptAsync} \title{gSocketListenerAcceptAsync} \description{This is the asynchronous version of \code{\link{gSocketListenerAccept}}.} \usage{gSocketListenerAcceptAsync(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data for the callback} } \details{When the operation is finished \code{callback} will be called. You can then call \code{\link{gSocketListenerAcceptSocket}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetCursorPos.Rd0000644000176000001440000000220212362217677017130 0ustar ripleyusers\alias{pangoLayoutGetCursorPos} \name{pangoLayoutGetCursorPos} \title{pangoLayoutGetCursorPos} \description{Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the layout are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the layout are inserted.} \usage{pangoLayoutGetCursorPos(object, index)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{index}}{[integer] the byte index of the cursor} } \value{ A list containing the following elements: \item{\verb{strong.pos}}{[\code{\link{PangoRectangle}}] location to store the strong cursor position (may be \code{NULL})} \item{\verb{weak.pos}}{[\code{\link{PangoRectangle}}] location to store the weak cursor position (may be \code{NULL})} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxEntryNewWithModel.Rd0000644000176000001440000000152012362217677020037 0ustar ripleyusers\alias{gtkComboBoxEntryNewWithModel} \name{gtkComboBoxEntryNewWithModel} \title{gtkComboBoxEntryNewWithModel} \description{Creates a new \code{\link{GtkComboBoxEntry}} which has a \code{\link{GtkEntry}} as child and a list of strings as popup. You can get the \code{\link{GtkEntry}} from a \code{\link{GtkComboBoxEntry}} using GTK_ENTRY (GTK_BIN (combo_box_entry)->child). To add and remove strings from the list, just modify \code{model} using its data manipulation API.} \usage{gtkComboBoxEntryNewWithModel(model, text.column, show = TRUE)} \arguments{ \item{\verb{model}}{A \code{\link{GtkTreeModel}}.} \item{\verb{text.column}}{A column in \code{model} to get the strings from.} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new \code{\link{GtkComboBoxEntry}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceHasShowTextGlyphs.Rd0000644000176000001440000000200712362217677020250 0ustar ripleyusers\alias{cairoSurfaceHasShowTextGlyphs} \name{cairoSurfaceHasShowTextGlyphs} \title{cairoSurfaceHasShowTextGlyphs} \description{Returns whether the surface supports sophisticated \code{\link{cairoShowTextGlyphs}} operations. That is, whether it actually uses the provided text and cluster data to a \code{\link{cairoShowTextGlyphs}} call.} \usage{cairoSurfaceHasShowTextGlyphs(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{Note: Even if this function returns \code{FALSE}, a \code{\link{cairoShowTextGlyphs}} operation targeted at \code{surface} will still succeed. It just will act like a \code{\link{cairoShowGlyphs}} operation. Users can use this function to avoid computing UTF-8 text and cluster mapping if the target surface does not use it. Since 1.8} \value{[logical] \code{TRUE} if \code{surface} supports \code{\link{cairoShowTextGlyphs}}, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowFlush.Rd0000644000176000001440000000204612362217677015253 0ustar ripleyusers\alias{gdkWindowFlush} \name{gdkWindowFlush} \title{gdkWindowFlush} \description{Flush all outstanding cached operations on a window, leaving the window in a state which reflects all that has been drawn before.} \usage{gdkWindowFlush(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Gdk uses multiple kinds of caching to get better performance and nicer drawing. For instance, during exposes all paints to a window using double buffered rendering are keep on a pixmap until the last window has been exposed. It also delays window moves/scrolls until as long as possible until next update to avoid tearing when moving windows. Normally this should be completely invisible to applications, as we automatically flush the windows when required, but this might be needed if you for instance mix direct native drawing with gdk drawing. For Gtk widgets that don't use double buffering this will be called automatically before sending the expose event. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHPaned.Rd0000644000176000001440000000223512362217677014121 0ustar ripleyusers\alias{GtkHPaned} \alias{gtkHPaned} \name{GtkHPaned} \title{GtkHPaned} \description{A container with two panes arranged horizontally} \section{Methods and Functions}{ \code{\link{gtkHPanedNew}(show = TRUE)}\cr \code{gtkHPaned(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkPaned +----GtkHPaned}} \section{Interfaces}{GtkHPaned implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The HPaned widget is a container widget with two children arranged horizontally. The division between the two panes is adjustable by the user by dragging a handle. See \code{\link{GtkPaned}} for details.} \section{Structures}{\describe{\item{\verb{GtkHPaned}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkHPaned} is the equivalent of \code{\link{gtkHPanedNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHPaned.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsSetAntialias.Rd0000644000176000001440000000106212362217677020113 0ustar ripleyusers\alias{cairoFontOptionsSetAntialias} \name{cairoFontOptionsSetAntialias} \title{cairoFontOptionsSetAntialias} \description{Sets the antialiasing mode for the font options object. This specifies the type of antialiasing to do when rendering text.} \usage{cairoFontOptionsSetAntialias(options, antialias)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{antialias}}{[\code{\link{CairoAntialias}}] the new antialiasing mode} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetPathAtPos.Rd0000644000176000001440000000154512362217677016774 0ustar ripleyusers\alias{gtkIconViewGetPathAtPos} \name{gtkIconViewGetPathAtPos} \title{gtkIconViewGetPathAtPos} \description{Finds the path at the point (\code{x}, \code{y}), relative to bin_window coordinates. See \code{\link{gtkIconViewGetItemAtPos}}, if you are also interested in the cell at the specified position. See \code{\link{gtkIconViewConvertWidgetToBinWindowCoords}} for converting widget coordinates to bin_window coordinates.} \usage{gtkIconViewGetPathAtPos(object, x, y)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{x}}{The x position to be identified} \item{\verb{y}}{The y position to be identified} } \details{Since 2.6} \value{[\code{\link{GtkTreePath}}] The \code{\link{GtkTreePath}} corresponding to the icon or \code{NULL} if no icon exists at that position.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeNew.Rd0000644000176000001440000000122712362217677015376 0ustar ripleyusers\alias{gtkPaperSizeNew} \name{gtkPaperSizeNew} \title{gtkPaperSizeNew} \description{Creates a new \code{\link{GtkPaperSize}} object by parsing a PWG 5101.1-2002 (\url{ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf}) paper name.} \usage{gtkPaperSizeNew(name = NULL)} \arguments{\item{\verb{name}}{a paper size name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \details{If \code{name} is \code{NULL}, the default paper size is returned, see \code{\link{gtkPaperSizeGetDefault}}. Since 2.10} \value{[\code{\link{GtkPaperSize}}] a new \code{\link{GtkPaperSize}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressGetFamily.Rd0000644000176000001440000000066112362217677017024 0ustar ripleyusers\alias{gSocketAddressGetFamily} \name{gSocketAddressGetFamily} \title{gSocketAddressGetFamily} \description{Gets the socket family type of \code{address}.} \usage{gSocketAddressGetFamily(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketAddress}}}} \details{Since 2.22} \value{[\code{\link{GSocketFamily}}] the socket family type of \code{address}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRowInserted.Rd0000644000176000001440000000077612362217677017100 0ustar ripleyusers\alias{gtkTreeModelRowInserted} \name{gtkTreeModelRowInserted} \title{gtkTreeModelRowInserted} \description{Emits the "row-inserted" signal on \code{tree.model}} \usage{gtkTreeModelRowInserted(object, path, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A \code{\link{GtkTreePath}} pointing to the inserted row} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} pointing to the inserted row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawingAreaNew.Rd0000644000176000001440000000045212362217677015657 0ustar ripleyusers\alias{gtkDrawingAreaNew} \name{gtkDrawingAreaNew} \title{gtkDrawingAreaNew} \description{Creates a new drawing area.} \usage{gtkDrawingAreaNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkDrawingArea}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetTooltipWindow.Rd0000644000176000001440000000156012362217677017464 0ustar ripleyusers\alias{gtkWidgetSetTooltipWindow} \name{gtkWidgetSetTooltipWindow} \title{gtkWidgetSetTooltipWindow} \description{Replaces the default, usually yellow, window used for displaying tooltips with \code{custom.window}. GTK+ will take care of showing and hiding \code{custom.window} at the right moment, to behave likewise as the default tooltip window. If \code{custom.window} is \code{NULL}, the default tooltip window will be used.} \usage{gtkWidgetSetTooltipWindow(object, custom.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{custom.window}}{a \code{\link{GtkWindow}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If the custom window should have the default theming it needs to have the name "gtk-tooltip", see \code{\link{gtkWidgetSetName}}. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetArtists.Rd0000644000176000001440000000070212362217677017237 0ustar ripleyusers\alias{gtkAboutDialogSetArtists} \name{gtkAboutDialogSetArtists} \title{gtkAboutDialogSetArtists} \description{Sets the strings which are displayed in the artists tab of the secondary credits dialog.} \usage{gtkAboutDialogSetArtists(object, artists)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{artists}}{a list of strings} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetIsImportant.Rd0000644000176000001440000000136012362217677017422 0ustar ripleyusers\alias{gtkToolItemSetIsImportant} \name{gtkToolItemSetIsImportant} \title{gtkToolItemSetIsImportant} \description{Sets whether \code{tool.item} should be considered important. The \code{\link{GtkToolButton}} class uses this property to determine whether to show or hide its label when the toolbar style is \code{GTK_TOOLBAR_BOTH_HORIZ}. The result is that only tool buttons with the "is_important" property set have labels, an effect known as "priority text"} \usage{gtkToolItemSetIsImportant(object, is.important)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{is.important}}{whether the tool item should be considered important} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetPath.Rd0000644000176000001440000000264312362217677015065 0ustar ripleyusers\alias{gtkWidgetPath} \name{gtkWidgetPath} \title{gtkWidgetPath} \description{Obtains the full path to \code{widget}. The path is simply the name of a widget and all its parents in the container hierarchy, separated by periods. The name of a widget comes from \code{\link{gtkWidgetGetName}}. Paths are used to apply styles to a widget in gtkrc configuration files. Widget names are the type of the widget by default (e.g. "GtkButton") or can be set to an application-specific value with \code{\link{gtkWidgetSetName}}. By setting the name of a widget, you allow users or theme authors to apply styles to that specific widget in their gtkrc file. \code{path.reversed.p} fills in the path in reverse order, i.e. starting with \code{widget}'s name instead of starting with the name of \code{widget}'s outermost ancestor.} \usage{gtkWidgetPath(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{ A list containing the following elements: \item{\verb{path.length}}{location to store length of the path, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{path}}{location to store allocated path string, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{path.reversed}}{location to store allocated reverse path string, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GInitable.Rd0000644000176000001440000000336512362217677014157 0ustar ripleyusers\alias{GInitable} \name{GInitable} \title{GInitable} \description{Failable object initialization interface} \section{Methods and Functions}{ \code{\link{gInitableInit}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gInitableNew}(object.type, cancellable, ..., .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GInitable}} \section{Implementations}{GInitable is implemented by \code{\link{GSocket}}.} \section{Detailed Description}{\code{\link{GInitable}} is implemented by objects that can fail during initialization. If an object implements this interface the \code{\link{gInitableInit}} function must be called as the first thing after construction. If \code{\link{gInitableInit}} is not called, or if it returns an error, all further operations on the object should fail, generally with a \code{G_IO_ERROR_NOT_INITIALIZED} error. Users of objects implementing this are not intended to use the interface method directly, instead it will be used automatically in various ways. For C applications you generally just call \code{\link{gInitableNew}} directly, or indirectly via a \code{fooThingNew()} wrapper. This will call \code{\link{gInitableInit}} under the cover, returning \code{NULL} and setting a \code{\link{GError}} on failure. For bindings in languages where the native constructor supports exceptions the binding could check for objects implemention \code{\link{GInitable}} during normal construction and automatically initialize them, throwing an exception on failure.} \section{Structures}{\describe{\item{\verb{GInitable}}{ Interface for initializable objects. Since 2.22 }}} \references{\url{http://library.gnome.org/devel//gio/GInitable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreIterIsValid.Rd0000644000176000001440000000104512362217677017050 0ustar ripleyusers\alias{gtkListStoreIterIsValid} \name{gtkListStoreIterIsValid} \title{gtkListStoreIterIsValid} \description{\strong{WARNING: }} \usage{gtkListStoreIterIsValid(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}.} \item{\verb{iter}}{A \code{\link{GtkTreeIter}}.} } \details{Checks if the given iter is a valid iter for this \code{\link{GtkListStore}}. Since 2.2} \value{[logical] \code{TRUE} if the iter is valid, \code{FALSE} if the iter is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferCreateChildAnchor.Rd0000644000176000001440000000115512362217677020323 0ustar ripleyusers\alias{gtkTextBufferCreateChildAnchor} \name{gtkTextBufferCreateChildAnchor} \title{gtkTextBufferCreateChildAnchor} \description{This is a convenience function which simply creates a child anchor with \code{\link{gtkTextChildAnchorNew}} and inserts it into the buffer with \code{\link{gtkTextBufferInsertChildAnchor}}.} \usage{gtkTextBufferCreateChildAnchor(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{location in the buffer} } \value{[\code{\link{GtkTextChildAnchor}}] the created child anchor} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOrientableGetOrientation.Rd0000644000176000001440000000070612362217677017763 0ustar ripleyusers\alias{gtkOrientableGetOrientation} \name{gtkOrientableGetOrientation} \title{gtkOrientableGetOrientation} \description{Retrieves the orientation of the \code{orientable}.} \usage{gtkOrientableGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkOrientable}}}} \details{Since 2.16} \value{[\code{\link{GtkOrientation}}] the orientation of the \code{orientable}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketControlMessageDeserialize.Rd0000644000176000001440000000173212362217677020743 0ustar ripleyusers\alias{gSocketControlMessageDeserialize} \name{gSocketControlMessageDeserialize} \title{gSocketControlMessageDeserialize} \description{Tries to deserialize a socket control message of a given \code{level} and \code{type}. This will ask all known (to GType) subclasses of \code{\link{GSocketControlMessage}} if they can understand this kind of message and if so deserialize it into a \code{\link{GSocketControlMessage}}.} \usage{gSocketControlMessageDeserialize(level, type, size, data)} \arguments{ \item{\verb{level}}{a socket level} \item{\verb{type}}{a socket control message type for the given \code{level}} \item{\verb{size}}{the size of the data in bytes} \item{\verb{data}}{pointer to the message data} } \details{If there is no implementation for this kind of control message, \code{NULL} will be returned. Since 2.22} \value{[\code{\link{GSocketControlMessage}}] the deserialized message or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayFlush.Rd0000644000176000001440000000147212362217677015413 0ustar ripleyusers\alias{gdkDisplayFlush} \name{gdkDisplayFlush} \title{gdkDisplayFlush} \description{Flushes any requests queued for the windowing system; this happens automatically when the main loop blocks waiting for new events, but if your application is drawing without returning control to the main loop, you may need to call this function explicitely. A common case where this function needs to be called is when an application is executing drawing commands from a thread other than the thread where the main loop is running.} \usage{gdkDisplayFlush(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{This is most useful for X11. On windowing systems where requests are handled synchronously, this function will do nothing. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewAppendColumn.Rd0000644000176000001440000000116012362217677017056 0ustar ripleyusers\alias{gtkTreeViewAppendColumn} \name{gtkTreeViewAppendColumn} \title{gtkTreeViewAppendColumn} \description{Appends \code{column} to the list of columns. If \code{tree.view} has "fixed_height" mode enabled, then \code{column} must have its "sizing" property set to be GTK_TREE_VIEW_COLUMN_FIXED.} \usage{gtkTreeViewAppendColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to add.} } \value{[integer] The number of columns in \code{tree.view} after appending.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetTile.Rd0000644000176000001440000000060112362217677014560 0ustar ripleyusers\alias{gdkGCSetTile} \name{gdkGCSetTile} \title{gdkGCSetTile} \description{Set a tile pixmap for a graphics context. This will only be used if the fill mode is \code{GDK_TILED}.} \usage{gdkGCSetTile(object, tile)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{tile}}{the new tile pixmap.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentSetAttributeValue.Rd0000644000176000001440000000161112362217677020124 0ustar ripleyusers\alias{atkDocumentSetAttributeValue} \name{atkDocumentSetAttributeValue} \title{atkDocumentSetAttributeValue} \description{\emph{undocumented }} \usage{atkDocumentSetAttributeValue(object, attribute.name, attribute.value)} \arguments{ \item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface} \item{\verb{attribute.name}}{[character] a character string representing the name of the attribute whose value is being set.} \item{\verb{attribute.value}}{[character] a string value to be associated with \verb{attribute_name}.} } \details{ Since 1.12} \value{[logical] TRUE if \verb{value} is successfully associated with \verb{attribute_name} for this document, FALSE otherwise (e.g. if the document does not allow the attribute to be modified).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetRangeRect.Rd0000644000176000001440000000111712362217677016307 0ustar ripleyusers\alias{gtkRangeGetRangeRect} \name{gtkRangeGetRangeRect} \title{gtkRangeGetRangeRect} \description{This function returns the area that contains the range's trough and its steppers, in widget->window coordinates.} \usage{gtkRangeGetRangeRect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{This function is useful mainly for \code{\link{GtkRange}} subclasses. Since 2.20} \value{ A list containing the following elements: \item{\verb{range.rect}}{return location for the range rectangle} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamIsClosed.Rd0000644000176000001440000000055212362217677015574 0ustar ripleyusers\alias{gIOStreamIsClosed} \name{gIOStreamIsClosed} \title{gIOStreamIsClosed} \description{Checks if a stream is closed.} \usage{gIOStreamIsClosed(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOStream}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if the stream is closed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrLanguageNew.Rd0000644000176000001440000000064112362217677016370 0ustar ripleyusers\alias{pangoAttrLanguageNew} \name{pangoAttrLanguageNew} \title{pangoAttrLanguageNew} \description{Create a new language tag attribute.} \usage{pangoAttrLanguageNew(language)} \arguments{\item{\verb{language}}{[\code{\link{PangoLanguage}}] language tag}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoColorToString.Rd0000644000176000001440000000101212362217677016101 0ustar ripleyusers\alias{pangoColorToString} \name{pangoColorToString} \title{pangoColorToString} \description{Returns a textual specification of \code{color} in the hexadecimal form \code{#rrrrggggbbbb}, where \code{r}, \code{g} and \code{b} are hex digits representing the red, green, and blue components respectively.} \usage{pangoColorToString(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoColor}}] a \code{\link{PangoColor}}}} \details{ Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMakeDirectoryWithParents.Rd0000644000176000001440000000251312362217677020215 0ustar ripleyusers\alias{gFileMakeDirectoryWithParents} \name{gFileMakeDirectoryWithParents} \title{gFileMakeDirectoryWithParents} \description{Creates a directory and any parent directories that may not exist similar to 'mkdir -p'. If the file system does not support creating directories, this function will fail, setting \code{error} to \code{G_IO_ERROR_NOT_SUPPORTED}.} \usage{gFileMakeDirectoryWithParents(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{For a local \code{\link{GFile}} the newly created directories will have the default (current) ownership and permissions of the current process. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Since 2.18} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if all directories have been successfully created, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/getType.Rd0000644000176000001440000000353611766145227013740 0ustar ripleyusers\name{gtkGetType} \alias{gtkGetType} \alias{gtkObjectGetType} \title{Get the GtkType object from a Gtk object or name} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This retrieves the \code{GtkType} object for a given \code{GtkObject} or directly by name. This can be used to dynamically discover information about a Gtk class such as its signals, properties, inheritance hierarchy, etc. } \usage{ gtkGetType(name) gtkObjectGetType(w, check=TRUE) } \arguments{ \item{name}{a character vector giving the name of the Gtk class/type to be retrieved.} \item{w}{a GtkObject whose type is to be queried and returned.} \item{check}{a logical value indicating whether we should first verify that the \code{w} object inherits from GtkObject. Typically one passes \code{TRUE} for this. It is useful when one gets an incomplete object constructed directly in C code and we want to construct its class information (\code{gtkObjectGetClasses}) manually. } } \details{ If one calls \code{gtkGetType} with a string giving the name of the Gtk class, the associated Gtk class must have been initialized first. Specifically an object of that class must have been created earlier or the associated \code{gtk__get_type} called. This can be done using the \code{\link[base]{.C}} function as in \code{.C("gtk_button_get_type", PACKAGE= "RGtk")}. } \value{ A single real value giving the internal C-level identifier for the Gtk type value. The name of the type is used as the \code{names} vector for the numeric vector. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) } \seealso{ \code{\link{gtkObjectGetClasses}} \code{\link{gtkTypeGetClasses}} } \keyword{interface} \keyword{internal} RGtk2/man/pangoTabArrayCopy.Rd0000644000176000001440000000064512362217677015704 0ustar ripleyusers\alias{pangoTabArrayCopy} \name{pangoTabArrayCopy} \title{pangoTabArrayCopy} \description{Copies a \code{\link{PangoTabArray}}} \usage{pangoTabArrayCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoTabArray}}] \code{\link{PangoTabArray}} to copy}} \value{[\code{\link{PangoTabArray}}] the newly allocated \code{\link{PangoTabArray}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbXpixelFromRgb.Rd0000644000176000001440000000111712362217677016163 0ustar ripleyusers\alias{gdkRgbXpixelFromRgb} \name{gdkRgbXpixelFromRgb} \title{gdkRgbXpixelFromRgb} \description{ Finds the X pixel closest in color to the \code{rgb} color specified. This value may be used to set the \code{pixel} field of a \code{\link{GdkColor}} struct. \strong{WARNING: \code{gdk_rgb_xpixel_from_rgb} is deprecated and should not be used in newly-written code.} } \usage{gdkRgbXpixelFromRgb(rgb)} \arguments{\item{\verb{rgb}}{The color, represented as a 0xRRGGBB integer value.}} \value{[numeric] The X pixel value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRectangleIntersect.Rd0000644000176000001440000000171512362217677016571 0ustar ripleyusers\alias{gdkRectangleIntersect} \name{gdkRectangleIntersect} \title{gdkRectangleIntersect} \description{Calculates the intersection of two rectangles. It is allowed for \code{dest} to be the same as either \code{src1} or \code{src2}. If the rectangles do not intersect, \code{dest}'s width and height is set to 0 and its x and y values are undefined. If you are only interested in whether the rectangles intersect, but not in the intersecting area itself, pass \code{NULL} for \code{dest}.} \usage{gdkRectangleIntersect(src1, src2)} \arguments{ \item{\verb{src1}}{a \code{\link{GdkRectangle}}} \item{\verb{src2}}{a \code{\link{GdkRectangle}}} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the rectangles intersect.} \item{\verb{dest}}{return location for the intersection of \code{src1} and \code{src2}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellInsert.Rd0000644000176000001440000000110012362217677016071 0ustar ripleyusers\alias{gtkMenuShellInsert} \name{gtkMenuShellInsert} \title{gtkMenuShellInsert} \description{Adds a new \code{\link{GtkMenuItem}} to the menu shell's item list at the position indicated by \code{position}.} \usage{gtkMenuShellInsert(object, child, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}.} \item{\verb{child}}{The \code{\link{GtkMenuItem}} to add.} \item{\verb{position}}{The position in the item list where \code{child} is added. Positions are numbered from 0 to n-1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetCancelButton.Rd0000644000176000001440000000076612362217677021667 0ustar ripleyusers\alias{gtkFontSelectionDialogGetCancelButton} \name{gtkFontSelectionDialogGetCancelButton} \title{gtkFontSelectionDialogGetCancelButton} \description{Gets the 'Cancel' button.} \usage{gtkFontSelectionDialogGetCancelButton(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkWidget}} used in the dialog for the 'Cancel' button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetAlpha.Rd0000644000176000001440000000100412362217677016355 0ustar ripleyusers\alias{atkComponentGetAlpha} \name{atkComponentGetAlpha} \title{atkComponentGetAlpha} \description{Returns the alpha value (i.e. the opacity) for this \code{component}, on a scale from 0 (fully transparent) to 1.0 (fully opaque).} \usage{atkComponentGetAlpha(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}}} \details{ Since 1.12} \value{[numeric] An alpha value from 0 to 1.0, inclusive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUint16.Rd0000644000176000001440000000166712362217677017343 0ustar ripleyusers\alias{gDataInputStreamReadUint16} \name{gDataInputStreamReadUint16} \title{gDataInputStreamReadUint16} \description{Reads an unsigned 16-bit/2-byte value from \code{stream}.} \usage{gDataInputStreamReadUint16(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()} and \code{gDataStreamSetByteOrder()}.} \value{ A list containing the following elements: \item{retval}{[integer] an unsigned 16-bit/2-byte value read from the \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSelectFontFace.Rd0000644000176000001440000000444312362217677016162 0ustar ripleyusers\alias{cairoSelectFontFace} \name{cairoSelectFontFace} \title{cairoSelectFontFace} \description{Note: The \code{\link{cairoSelectFontFace}} function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications.} \usage{cairoSelectFontFace(cr, family, slant, weight)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{family}}{[char] a font family name, encoded in UTF-8} \item{\verb{slant}}{[\code{\link{CairoFontSlant}}] the slant for the font} \item{\verb{weight}}{[\code{\link{CairoFontWeight}}] the weight for the font} } \details{Selects a family and style of font from a simplified description as a family name, slant and weight. Cairo provides no operation to list available family names on the system (this is a "toy", remember), but the standard CSS2 generic family names, ("serif", "sans-serif", "cursive", "fantasy", "monospace"), are likely to work as expected. For "real" font selection, see the font-backend-specific font_face_create functions for the font backend you are using. (For example, if you are using the freetype-based cairo-ft font backend, see \code{cairoFtFontFaceCreateForFtFace()} or \code{cairoFtFontFaceCreateForPattern()}.) The resulting font face could then be used with \code{\link{cairoScaledFontCreate}} and \code{\link{cairoSetScaledFont}}. Similarly, when using the "real" font support, you can call directly into the underlying font system, (such as fontconfig or freetype), for operations such as listing available fonts, etc. It is expected that most applications will need to use a more comprehensive font handling and text layout library, (for example, pango), in conjunction with cairo. If text is drawn without a call to \code{\link{cairoSelectFontFace}}, (nor \code{\link{cairoSetFontFace}} nor \code{\link{cairoSetScaledFont}}), the default family is platform-specific, but is essentially "sans-serif". Default slant is \code{CAIRO_FONT_SLANT_NORMAL}, and default weight is \code{CAIRO_FONT_WEIGHT_NORMAL}. This function is equivalent to a call to \code{\link{cairoToyFontFaceCreate}} followed by \code{\link{cairoSetFontFace}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionComplete.Rd0000644000176000001440000000164612362217677017245 0ustar ripleyusers\alias{gtkFileSelectionComplete} \name{gtkFileSelectionComplete} \title{gtkFileSelectionComplete} \description{ Will attempt to match \code{pattern} to a valid filenames or subdirectories in the current directory. If a match can be made, the matched filename will appear in the text entry field of the file selection dialog. If a partial match can be made, the "Files" list will contain those file names which have been partially matched, and the "Folders" list those directories which have been partially matched. \strong{WARNING: \code{gtk_file_selection_complete} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionComplete(object, pattern)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileSelection}}.} \item{\verb{pattern}}{a string of characters which may or may not match any filenames in the current directory.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFile.Rd0000644000176000001440000004323612362217677013310 0ustar ripleyusers\alias{GFile} \alias{GFileProgressCallback} \alias{GFileReadMoreCallback} \alias{GFileQueryInfoFlags} \alias{GFileCreateFlags} \alias{GFileCopyFlags} \alias{GFileMonitorFlags} \name{GFile} \title{GFile} \description{File and Directory Handling} \section{Methods and Functions}{ \code{\link{gFileNewForPath}(path)}\cr \code{\link{gFileNewForUri}(uri)}\cr \code{\link{gFileNewForCommandlineArg}(arg)}\cr \code{\link{gFileParseName}(parse.name)}\cr \code{\link{gFileDup}(object)}\cr \code{\link{gFileHash}(file)}\cr \code{\link{gFileEqual}(object, file2)}\cr \code{\link{gFileGetBasename}(object)}\cr \code{\link{gFileGetPath}(object)}\cr \code{\link{gFileGetUri}(object)}\cr \code{\link{gFileGetParseName}(object)}\cr \code{\link{gFileGetParent}(object)}\cr \code{\link{gFileGetChild}(object, name)}\cr \code{\link{gFileGetChildForDisplayName}(object, display.name, .errwarn = TRUE)}\cr \code{\link{gFileHasPrefix}(object, descendant)}\cr \code{\link{gFileGetRelativePath}(object, descendant)}\cr \code{\link{gFileResolveRelativePath}(object, relative.path)}\cr \code{\link{gFileIsNative}(object)}\cr \code{\link{gFileHasUriScheme}(object, uri.scheme)}\cr \code{\link{gFileGetUriScheme}(object)}\cr \code{\link{gFileRead}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileReadAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileReadFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileAppendTo}(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileCreate}(object, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileReplace}(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileAppendToAsync}(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileAppendToFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileCreateAsync}(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileCreateFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileReplaceAsync}(object, etag, make.backup, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileReplaceFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileQueryInfo}(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileQueryInfoAsync}(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileQueryInfoFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileQueryExists}(object, cancellable = NULL)}\cr \code{\link{gFileQueryFileType}(object, flags, cancellable = NULL)}\cr \code{\link{gFileQueryFilesystemInfo}(object, attributes, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileQueryFilesystemInfoAsync}(object, attributes, io.priority, cancellable, callback, user.data = NULL)}\cr \code{\link{gFileQueryFilesystemInfoFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileQueryDefaultHandler}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileFindEnclosingMount}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileFindEnclosingMountAsync}(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileFindEnclosingMountFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileEnumerateChildren}(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileEnumerateChildrenAsync}(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileEnumerateChildrenFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileSetDisplayName}(object, display.name, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetDisplayNameAsync}(object, display.name, io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileSetDisplayNameFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileDelete}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileTrash}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileCopy}(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE)}\cr \code{\link{gFileCopyAsync}(object, destination, flags = "G_FILE_COPY_NONE", io.priority = 0, cancellable = NULL, progress.callback, progress.callback.data, callback, user.data = NULL)}\cr \code{\link{gFileCopyFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileMove}(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE)}\cr \code{\link{gFileMakeDirectory}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileMakeDirectoryWithParents}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileMakeSymbolicLink}(object, symlink.value, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileQuerySettableAttributes}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileQueryWritableNamespaces}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttribute}(object, attribute, type, value.p, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributesFromInfo}(object, info, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributesAsync}(object, info, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileSetAttributesFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeString}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeByteString}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeUint32}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeInt32}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeUint64}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileSetAttributeInt64}(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileMountMountable}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileMountMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileUnmountMountable}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileUnmountMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileUnmountMountableWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileUnmountMountableWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileEjectMountable}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileEjectMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileEjectMountableWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileEjectMountableWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileStartMountable}(object, flags, start.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileStartMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileStopMountable}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileStopMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFilePollMountable}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFilePollMountableFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileMountEnclosingVolume}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileMountEnclosingVolumeFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gFileMonitorDirectory}(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileMonitorFile}(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileMonitor}(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileLoadContents}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileLoadContentsAsync}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileLoadContentsFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileLoadPartialContentsFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileReplaceContents}(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileReplaceContentsAsync}(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileReplaceContentsFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileCopyAttributes}(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileCreateReadwrite}(object, flags, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileCreateReadwriteAsync}(object, flags, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileCreateReadwriteFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileOpenReadwrite}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileOpenReadwriteAsync}(object, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileOpenReadwriteFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileReplaceReadwrite}(object, etag, make.backup, flags, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gFileReplaceReadwriteAsync}(object, etag, make.backup, flags, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gFileReplaceReadwriteFinish}(object, res, .errwarn = TRUE)}\cr \code{\link{gFileSupportsThreadContexts}(object)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----GFile GFlags +----GFileQueryInfoFlags GFlags +----GFileCreateFlags GFlags +----GFileCopyFlags GFlags +----GFileMonitorFlags GEnum +----GFilesystemPreviewType }} \section{Detailed Description}{\code{\link{GFile}} is a high level abstraction for manipulating files on a virtual file system. \code{\link{GFile}}s are lightweight, immutable objects that do no I/O upon creation. It is necessary to understand that \code{\link{GFile}} objects do not represent files, merely an identifier for a file. All file content I/O is implemented as streaming operations (see \code{\link{GInputStream}} and \code{\link{GOutputStream}}). To construct a \code{\link{GFile}}, you can use: \code{\link{gFileNewForPath}} if you have a path. \code{\link{gFileNewForUri}} if you have a URI. \code{\link{gFileNewForCommandlineArg}} for a command line argument. \code{\link{gFileParseName}} from a utf8 string gotten from \code{\link{gFileGetParseName}}. One way to think of a \code{\link{GFile}} is as an abstraction of a pathname. For normal files the system pathname is what is stored internally, but as \code{\link{GFile}}s are extensible it could also be something else that corresponds to a pathname in a userspace implementation of a filesystem. \code{\link{GFile}}s make up hierarchies of directories and files that correspond to the files on a filesystem. You can move through the file system with \code{\link{GFile}} using \code{\link{gFileGetParent}} to get an identifier for the parent directory, \code{\link{gFileGetChild}} to get a child within a directory, \code{\link{gFileResolveRelativePath}} to resolve a relative path between two \code{\link{GFile}}s. There can be multiple hierarchies, so you may not end up at the same root if you repeatedly call \code{\link{gFileGetParent}} on two different files. All \code{\link{GFile}}s have a basename (get with \code{\link{gFileGetBasename}}). These names are byte strings that are used to identify the file on the filesystem (relative to its parent directory) and there is no guarantees that they have any particular charset encoding or even make any sense at all. If you want to use filenames in a user interface you should use the display name that you can get by requesting the \code{G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME} attribute with \code{\link{gFileQueryInfo}}. This is guaranteed to be in utf8 and can be used in a user interface. But always store the real basename or the \code{\link{GFile}} to use to actually access the file, because there is no way to go from a display name to the actual name. Using \code{\link{GFile}} as an identifier has the same weaknesses as using a path in that there may be multiple aliases for the same file. For instance, hard or soft links may cause two different \code{\link{GFile}}s to refer to the same file. Other possible causes for aliases are: case insensitive filesystems, short and long names on Fat/NTFS, or bind mounts in Linux. If you want to check if two \code{\link{GFile}}s point to the same file you can query for the \code{G_FILE_ATTRIBUTE_ID_FILE} attribute. Note that \code{\link{GFile}} does some trivial canonicalization of pathnames passed in, so that trivial differences in the path string used at creation (duplicated slashes, slash at end of path, "." or ".." path segments, etc) does not create different \code{\link{GFile}}s. Many \code{\link{GFile}} operations have both synchronous and asynchronous versions to suit your application. Asynchronous versions of synchronous functions simply have \code{async()} appended to their function names. The asynchronous I/O functions call a \code{\link{GAsyncReadyCallback}} which is then used to finalize the operation, producing a GAsyncResult which is then passed to the function's matching \code{finish()} operation. Some \code{\link{GFile}} operations do not have synchronous analogs, as they may take a very long time to finish, and blocking may leave an application unusable. Notable cases include: \code{\link{gFileMountMountable}} to mount a mountable file. \code{\link{gFileUnmountMountableWithOperation}} to unmount a mountable file. \code{\link{gFileEjectMountableWithOperation}} to eject a mountable file. One notable feature of \code{\link{GFile}}s are entity tags, or "etags" for short. Entity tags are somewhat like a more abstract version of the traditional mtime, and can be used to quickly determine if the file has been modified from the version on the file system. See the HTTP 1.1 specification (\url{http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html}) for HTTP Etag headers, which are a very similar concept.} \section{Structures}{\describe{\item{\verb{GFile}}{ A handle to an object implementing the \verb{GFileIface} interface. Generally stores a location within the file system. Handles do not necessarily represent files or directories that currently exist. }}} \section{Enums and Flags}{\describe{ \item{\verb{GFileQueryInfoFlags}}{ Flags used when querying a \code{\link{GFileInfo}}. \describe{ \item{\verb{ne}}{No flags set.} \item{\verb{follow-symlinks}}{Don't follow symlinks.} } } \item{\verb{GFileCreateFlags}}{ Flags used when an operation may create a file. \describe{ \item{\verb{none}}{No flags set.} \item{\verb{private}}{Create a file that can only be accessed by the current user.} } } \item{\verb{GFileCopyFlags}}{ Flags used when copying or moving files. \describe{ \item{\verb{none}}{No flags set.} \item{\verb{overwrite}}{Overwrite any existing files} \item{\verb{backup}}{Make a backup of any existing files.} \item{\verb{nofollow-symlinks}}{Don't follow symlinks.} \item{\verb{all-metadata}}{Copy all file metadata instead of just default set used for copy (see \code{\link{GFileInfo}}).} \item{\verb{no-fallback-for-move}}{Don't use copy and delete fallback if native move not supported.} } } \item{\verb{GFileMonitorFlags}}{ Flags used to set what a \code{\link{GFileMonitor}} will watch for. \describe{ \item{\verb{none}}{No flags set.} \item{\verb{watch-mounts}}{Watch for mount events.} } } }} \section{User Functions}{\describe{ \item{\code{GFileProgressCallback(current.num.bytes, total.num.bytes, user.data)}}{ When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application. \describe{ \item{\code{current.num.bytes}}{the current number of bytes in the operation.} \item{\code{total.num.bytes}}{the total number of bytes in the operation.} \item{\code{user.data}}{user data passed to the callback.} } } \item{\code{GFileReadMoreCallback(file.contents, file.size, callback.data)}}{ When loading the partial contents of a file with \code{gFileLoadPartialContentsAsync()}, it may become necessary to determine if any more data from the file should be loaded. A \code{\link{GFileReadMoreCallback}} function facilitates this by returning \code{TRUE} if more data should be read, or \code{FALSE} otherwise. \describe{ \item{\code{file.contents}}{the data as currently read.} \item{\code{file.size}}{the size of the data currently read.} \item{\code{callback.data}}{data passed to the callback.} } \emph{Returns:} [logical] \code{TRUE} if more data should be read back. \code{FALSE} otherwise. } }} \references{\url{http://library.gnome.org/devel//gio/GFile.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMacros.Rd0000644000176000001440000000320311766145227014557 0ustar ripleyusers\alias{pangoAscent} \alias{pangoDescent} \alias{pangoLbearing} \alias{pangoRbearing} \alias{PANGO_SCALE} \alias{pangoPixels} \alias{PANGO_SCALE_LARGE} \alias{PANGO_SCALE_MEDIUM} \alias{PANGO_SCALE_SMALL} \alias{PANGO_SCALE_X_LARGE} \alias{PANGO_SCALE_X_SMALL} \alias{PANGO_SCALE_XX_LARGE} \alias{PANGO_SCALE_XX_SMALL} \name{pangoMacros} \title{Pango Convenience Macros} \description{These macros and constants help you layout text with Pango.} \usage{ pangoAscent(x) pangoDescent(x) pangoLbearing(x) pangoRbearing(x) PANGO_SCALE pangoPixels(size) PANGO_SCALE_LARGE PANGO_SCALE_MEDIUM PANGO_SCALE_SMALL PANGO_SCALE_X_LARGE PANGO_SCALE_X_SMALL PANGO_SCALE_XX_LARGE PANGO_SCALE_XX_SMALL } \arguments{ \item{x}{A rectangle describing the glyph extents} \item{size}{A size on the Pango scale}. } \value{ The requested quantity in the units of the provided rectangle. } \details{When positioning text, it is beneficial to know the extents of the glyphs being drawn. The macros \code{pangoAscent}, \code{pangoDescent}, \code{pangoLbearing}, and \code{pangoRbearing} perform simple math on the given rectangle (representing the glyph extents) to determine the corresponding properties. The "ascent" and "descent" are how high the glyph extends above and below the baseline, respectively. The "lbearing" and "rbearing" describe the left-most and right-most extents of the glyph. The rest are merely constants for scaling. \code{PANGO_SCALE} is the factor by which device units are scaled to Pango units. To return to device units, use the \code{pangoPixels}. The rest are pre-fab factors for scaling by different degrees. } \author{Michael Lawrence} \keyword{internal} RGtk2/man/cairo-pdf-surface.Rd0000644000176000001440000000130612362217677015604 0ustar ripleyusers\alias{cairo-pdf-surface} \name{cairo-pdf-surface} \title{PDF Surfaces} \description{Rendering PDF documents} \section{Methods and Functions}{ \code{\link{cairoPdfSurfaceCreate}(filename, width.in.points, height.in.points)}\cr \code{\link{cairoPdfSurfaceCreateForStream}(write.func, closure, width.in.points, height.in.points)}\cr \code{\link{cairoPdfSurfaceSetSize}(surface, width.in.points, height.in.points)}\cr } \section{Detailed Description}{The PDF surface is used to render cairo graphics to Adobe PDF files and is a multi-page vector surface backend.} \references{\url{http://www.cairographics.org/manual/cairo-pdf-surface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetTabPos.Rd0000644000176000001440000000065212362217677016354 0ustar ripleyusers\alias{gtkNotebookGetTabPos} \name{gtkNotebookGetTabPos} \title{gtkNotebookGetTabPos} \description{Gets the edge at which the tabs for switching pages in the notebook are drawn.} \usage{gtkNotebookGetTabPos(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \value{[\code{\link{GtkPositionType}}] the edge at which the tabs are drawn} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetLabel.Rd0000644000176000001440000000110412362217677017165 0ustar ripleyusers\alias{gtkToolItemGroupGetLabel} \name{gtkToolItemGroupGetLabel} \title{gtkToolItemGroupGetLabel} \description{Gets the label of \code{group}.} \usage{gtkToolItemGroupGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItemGroup}}}} \details{Since 2.20} \value{[character] the label of \code{group}. The label is an internal string of \code{group} and must not be modified. Note that \code{NULL} is returned if a custom label has been set with \code{\link{gtkToolItemGroupSetLabelWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringExtents.Rd0000644000176000001440000000177312362217677017174 0ustar ripleyusers\alias{pangoGlyphStringExtents} \name{pangoGlyphStringExtents} \title{pangoGlyphStringExtents} \description{Compute the logical and ink extents of a glyph string. See the documentation for \code{\link{pangoFontGetGlyphExtents}} for details about the interpretation of the rectangles.} \usage{pangoGlyphStringExtents(object, font)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} } \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the glyph string as drawn or \code{NULL} to indicate that the result is not needed.} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the glyph string or \code{NULL} to indicate that the result is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleWordStart.Rd0000644000176000001440000000132412362217677021417 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleWordStart} \name{gtkTextIterBackwardVisibleWordStart} \title{gtkTextIterBackwardVisibleWordStart} \description{Moves backward to the previous visible word start. (If \code{iter} is currently on a word start, moves backward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterBackwardVisibleWordStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeGetNodeInfo.Rd0000644000176000001440000000163412362217677016110 0ustar ripleyusers\alias{gtkCTreeGetNodeInfo} \name{gtkCTreeGetNodeInfo} \title{gtkCTreeGetNodeInfo} \description{ Get information corresponding to a node. Any of the return parameters can be null. \strong{WARNING: \code{gtk_ctree_get_node_info} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeGetNodeInfo(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \value{ A list containing the following elements: \item{\verb{text}}{\emph{undocumented }} \item{\verb{spacing}}{\emph{undocumented }} \item{\verb{pixmap.closed}}{\emph{undocumented }} \item{\verb{mask.closed}}{\emph{undocumented }} \item{\verb{pixmap.opened}}{\emph{undocumented }} \item{\verb{mask.opened}}{\emph{undocumented }} \item{\verb{is.leaf}}{\emph{undocumented }} \item{\verb{expanded}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetReliefStyle.Rd0000644000176000001440000000074412362217677017237 0ustar ripleyusers\alias{gtkToolbarGetReliefStyle} \name{gtkToolbarGetReliefStyle} \title{gtkToolbarGetReliefStyle} \description{Returns the relief style of buttons on \code{toolbar}. See \code{\link{gtkButtonSetRelief}}.} \usage{gtkToolbarGetReliefStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \details{Since 2.4} \value{[\code{\link{GtkReliefStyle}}] The relief style of buttons on \code{toolbar}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetIconWidget.Rd0000644000176000001440000000124312362217677017562 0ustar ripleyusers\alias{gtkToolButtonSetIconWidget} \name{gtkToolButtonSetIconWidget} \title{gtkToolButtonSetIconWidget} \description{Sets \code{icon} as the widget used as icon on \code{button}. If \code{icon.widget} is \code{NULL} the icon is determined by the "stock_id" property. If the "stock_id" property is also \code{NULL}, \code{button} will not have an icon.} \usage{gtkToolButtonSetIconWidget(object, icon.widget = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{icon.widget}}{the widget used as icon, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveCanStart.Rd0000644000176000001440000000060312362217677015171 0ustar ripleyusers\alias{gDriveCanStart} \name{gDriveCanStart} \title{gDriveCanStart} \description{Checks if a drive can be started.} \usage{gDriveCanStart(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if the \code{drive} can be started, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAddSocket.Rd0000644000176000001440000000220012362217677017173 0ustar ripleyusers\alias{gSocketListenerAddSocket} \name{gSocketListenerAddSocket} \title{gSocketListenerAddSocket} \description{Adds \code{socket} to the set of sockets that we try to accept new clients from. The socket must be bound to a local address and listened to.} \usage{gSocketListenerAddSocket(object, socket, source.object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{socket}}{a listening \code{\link{GSocket}}} \item{\verb{source.object}}{Optional \code{\link{GObject}} identifying this source} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{\code{source.object} will be passed out in the various calls to accept to identify this particular source, which is useful if you're listening on multiple addresses and do different things depending on what address is connected to. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetsIncludeUri.Rd0000644000176000001440000000076212362217677016422 0ustar ripleyusers\alias{gtkTargetsIncludeUri} \name{gtkTargetsIncludeUri} \title{gtkTargetsIncludeUri} \description{Determines if any of the targets in \code{targets} can be used to provide an uri list.} \usage{gtkTargetsIncludeUri(targets)} \arguments{\item{\verb{targets}}{a list of \code{\link{GdkAtom}}s}} \details{Since 2.10} \value{[logical] \code{TRUE} if \code{targets} include a suitable target for uri lists, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontCreate.Rd0000644000176000001440000000224512362217677016501 0ustar ripleyusers\alias{cairoScaledFontCreate} \name{cairoScaledFontCreate} \title{cairoScaledFontCreate} \description{Creates a \code{\link{CairoScaledFont}} object from a font face and matrices that describe the size of the font and the environment in which it will be used.} \usage{cairoScaledFontCreate(font.face, font.matrix, ctm, option)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a \code{\link{CairoFontFace}}} \item{\verb{font.matrix}}{[\code{\link{CairoMatrix}}] font space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See \code{\link{cairoSetFontMatrix}}.} \item{\verb{ctm}}{[\code{\link{CairoMatrix}}] user to device transformation matrix with which the font will be used.} \item{\verb{option}}{[\code{\link{CairoFontOptions}}] options to use when getting metrics for the font and rendering with it.} } \value{[\code{\link{CairoScaledFont}}] a newly created \code{\link{CairoScaledFont}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketServiceNew.Rd0000644000176000001440000000074212362217677015707 0ustar ripleyusers\alias{gSocketServiceNew} \name{gSocketServiceNew} \title{gSocketServiceNew} \description{Creates a new \code{\link{GSocketService}} with no sockets to listen for. New listeners can be added with e.g. \code{\link{gSocketListenerAddAddress}} or \code{\link{gSocketListenerAddInetPort}}.} \usage{gSocketServiceNew()} \details{Since 2.22} \value{[\code{\link{GSocketService}}] a new \code{\link{GSocketService}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMaskSurface.Rd0000644000176000001440000000137412362217677015541 0ustar ripleyusers\alias{cairoMaskSurface} \name{cairoMaskSurface} \title{cairoMaskSurface} \description{A drawing operator that paints the current source using the alpha channel of \code{surface} as a mask. (Opaque areas of \code{surface} are painted with the source, transparent areas are not painted.)} \usage{cairoMaskSurface(cr, surface, surface.x, surface.y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{surface.x}}{[numeric] X coordinate at which to place the origin of \code{surface}} \item{\verb{surface.y}}{[numeric] Y coordinate at which to place the origin of \code{surface}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSizeAllocate.Rd0000644000176000001440000000100412362217677016536 0ustar ripleyusers\alias{gtkWidgetSizeAllocate} \name{gtkWidgetSizeAllocate} \title{gtkWidgetSizeAllocate} \description{This function is only used by \code{\link{GtkContainer}} subclasses, to assign a size and position to their child widgets.} \usage{gtkWidgetSizeAllocate(object, allocation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{allocation}}{position and size to be allocated to \code{widget}. \emph{[ \acronym{inout} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetSnapToTicks.Rd0000644000176000001440000000074212362217677017713 0ustar ripleyusers\alias{gtkSpinButtonGetSnapToTicks} \name{gtkSpinButtonGetSnapToTicks} \title{gtkSpinButtonGetSnapToTicks} \description{Returns whether the values are corrected to the nearest step. See \code{\link{gtkSpinButtonSetSnapToTicks}}.} \usage{gtkSpinButtonGetSnapToTicks(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[logical] \code{TRUE} if values are snapped to the nearest step.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterIsEnd.Rd0000644000176000001440000000101212362217677015505 0ustar ripleyusers\alias{gtkTextIterIsEnd} \name{gtkTextIterIsEnd} \title{gtkTextIterIsEnd} \description{Returns \code{TRUE} if \code{iter} is the end iterator, i.e. one past the last dereferenceable iterator in the buffer. \code{\link{gtkTextIterIsEnd}} is the most efficient way to check whether an iterator is the end iterator.} \usage{gtkTextIterIsEnd(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} is the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetAddEvents.Rd0000644000176000001440000000072712362217677016047 0ustar ripleyusers\alias{gtkWidgetAddEvents} \name{gtkWidgetAddEvents} \title{gtkWidgetAddEvents} \description{Adds the events in the bitfield \code{events} to the event mask for \code{widget}. See \code{\link{gtkWidgetSetEvents}} for details.} \usage{gtkWidgetAddEvents(object, events)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{events}}{an event mask, see \code{\link{GdkEventMask}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeNth.Rd0000644000176000001440000000077712362217677015315 0ustar ripleyusers\alias{gtkCTreeNodeNth} \name{gtkCTreeNodeNth} \title{gtkCTreeNodeNth} \description{ \strong{WARNING: \code{gtk_ctree_node_nth} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeNth(object, row)} \arguments{ \item{\verb{object}}{The node corresponding to the \code{row} th row.} \item{\verb{row}}{\emph{undocumented }} } \value{[\code{\link{GtkCTreeNode}}] The node corresponding to the \code{row} th row.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetDrive.Rd0000644000176000001440000000062312362217677015363 0ustar ripleyusers\alias{gVolumeGetDrive} \name{gVolumeGetDrive} \title{gVolumeGetDrive} \description{Gets the drive for the \code{volume}.} \usage{gVolumeGetDrive(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[\code{\link{GDrive}}] a \code{\link{GDrive}} or \code{NULL} if \code{volume} is not associated with a drive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetMnemonicsVisible.Rd0000644000176000001440000000063712362217677020140 0ustar ripleyusers\alias{gtkWindowSetMnemonicsVisible} \name{gtkWindowSetMnemonicsVisible} \title{gtkWindowSetMnemonicsVisible} \description{Sets the \verb{"mnemonics-visible"} property.} \usage{gtkWindowSetMnemonicsVisible(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{the new value} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGravityGetForMatrix.Rd0000644000176000001440000000113612362217677017261 0ustar ripleyusers\alias{pangoGravityGetForMatrix} \name{pangoGravityGetForMatrix} \title{pangoGravityGetForMatrix} \description{Finds the gravity that best matches the rotation component in a \code{\link{PangoMatrix}}.} \usage{pangoGravityGetForMatrix(matrix)} \arguments{\item{\verb{matrix}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}}} \details{ Since 1.16} \value{[\code{\link{PangoGravity}}] the gravity of \code{matrix}, which will never be \code{PANGO_GRAVITY_AUTO}, or \code{PANGO_GRAVITY_SOUTH} if \code{matrix} is \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewGetVisual.Rd0000644000176000001440000000076212362217677016272 0ustar ripleyusers\alias{gtkPreviewGetVisual} \name{gtkPreviewGetVisual} \title{gtkPreviewGetVisual} \description{ Returns the visual used by preview widgets. This function is deprecated, and you should use \code{\link{gdkRgbGetVisual}} instead. \strong{WARNING: \code{gtk_preview_get_visual} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewGetVisual()} \value{[\code{\link{GdkVisual}}] the visual for previews.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterCompare.Rd0000644000176000001440000000132512362217677016100 0ustar ripleyusers\alias{gtkTextIterCompare} \name{gtkTextIterCompare} \title{gtkTextIterCompare} \description{A \code{qsort()}-style function that returns negative if \code{lhs} is less than \code{rhs}, positive if \code{lhs} is greater than \code{rhs}, and 0 if they're equal. Ordering is in character offset order, i.e. the first character in the buffer is less than the second character in the buffer.} \usage{gtkTextIterCompare(object, rhs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{rhs}}{another \code{\link{GtkTextIter}}} } \value{[integer] -1 if \code{lhs} is less than \code{rhs}, 1 if \code{lhs} is greater, 0 if they are equal} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetProgramName.Rd0000644000176000001440000000074212362217677020022 0ustar ripleyusers\alias{gtkAboutDialogSetProgramName} \name{gtkAboutDialogSetProgramName} \title{gtkAboutDialogSetProgramName} \description{Sets the name to display in the about dialog. If this is not set, it defaults to \code{gGetApplicationName()}.} \usage{gtkAboutDialogSetProgramName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{name}}{the program name} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetCurrentFolderFile.Rd0000644000176000001440000000104312362217677021157 0ustar ripleyusers\alias{gtkFileChooserGetCurrentFolderFile} \name{gtkFileChooserGetCurrentFolderFile} \title{gtkFileChooserGetCurrentFolderFile} \description{Gets the current folder of \code{chooser} as \code{\link{GFile}}. See \code{\link{gtkFileChooserGetCurrentFolderUri}}.} \usage{gtkFileChooserGetCurrentFolderFile(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.14} \value{[\code{\link{GFile}}] the \code{\link{GFile}} for the current folder.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetSearchEntry.Rd0000644000176000001440000000140212362217677017373 0ustar ripleyusers\alias{gtkTreeViewSetSearchEntry} \name{gtkTreeViewSetSearchEntry} \title{gtkTreeViewSetSearchEntry} \description{Sets the entry which the interactive search code will use for this \code{tree.view}. This is useful when you want to provide a search entry in our interface at all time at a fixed position. Passing \code{NULL} for \code{entry} will make the interactive search code use the built-in popup entry again.} \usage{gtkTreeViewSetSearchEntry(object, entry = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{entry}}{the entry the interactive search code of \code{tree.view} should use or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeType.Rd0000644000176000001440000000107012362217677017340 0ustar ripleyusers\alias{gFileInfoGetAttributeType} \name{gFileInfoGetAttributeType} \title{gFileInfoGetAttributeType} \description{Gets the attribute type for an attribute key.} \usage{gFileInfoGetAttributeType(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[\code{\link{GFileAttributeType}}] a \code{\link{GFileAttributeType}} for the given \code{attribute}, or \code{G_FILE_ATTRIBUTE_TYPE_INVALID} if the key is not set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetUpperStepperSensitivity.Rd0000644000176000001440000000102412362217677021343 0ustar ripleyusers\alias{gtkRangeGetUpperStepperSensitivity} \name{gtkRangeGetUpperStepperSensitivity} \title{gtkRangeGetUpperStepperSensitivity} \description{Gets the sensitivity policy for the stepper that points to the 'upper' end of the GtkRange's adjustment.} \usage{gtkRangeGetUpperStepperSensitivity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{Since 2.10} \value{[\code{\link{GtkSensitivityType}}] The upper stepper's sensitivity policy.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowMove.Rd0000644000176000001440000000432212362217677015117 0ustar ripleyusers\alias{gtkWindowMove} \name{gtkWindowMove} \title{gtkWindowMove} \description{Asks the window manager to move \code{window} to the given position. Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the window has already been shown.} \usage{gtkWindowMove(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{x}}{X coordinate to move window to} \item{\verb{y}}{Y coordinate to move window to} } \details{Note: the position is the position of the gravity-determined reference point for the window. The gravity determines two things: first, the location of the reference point in root window coordinates; and second, which point on the window is positioned at the reference point. By default the gravity is \verb{GDK_GRAVITY_NORTH_WEST}, so the reference point is simply the \code{x}, \code{y} supplied to \code{\link{gtkWindowMove}}. The top-left corner of the window decorations (aka window frame or border) will be placed at \code{x}, \code{y}. Therefore, to position a window at the top left of the screen, you want to use the default gravity (which is \verb{GDK_GRAVITY_NORTH_WEST}) and move the window to 0,0. To position a window at the bottom right corner of the screen, you would set \verb{GDK_GRAVITY_SOUTH_EAST}, which means that the reference point is at \code{x} + the window width and \code{y} + the window height, and the bottom-right corner of the window border will be placed at that reference point. So, to place a window in the bottom right corner you would first set gravity to south east, then write: \code{gtk_window_move (window, \link{gdkScreenWidth} - window_width, \link{gdkScreenHeight} - window_height)} (note that this example does not take multi-head scenarios into account). The Extended Window Manager Hints specification at http://www.freedesktop.org/Standards/wm-spec (\url{http://www.freedesktop.org/Standards/wm-spec}) has a nice table of gravities in the "implementation notes" section. The \code{\link{gtkWindowGetPosition}} documentation may also be relevant.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbGcSetBackground.Rd0000644000176000001440000000111612362217677016437 0ustar ripleyusers\alias{gdkRgbGcSetBackground} \name{gdkRgbGcSetBackground} \title{gdkRgbGcSetBackground} \description{ Sets the background color in \code{gc} to the specified color (or the closest approximation, in the case of limited visuals). \strong{WARNING: \code{gdk_rgb_gc_set_background} is deprecated and should not be used in newly-written code.} } \usage{gdkRgbGcSetBackground(gc, rgb)} \arguments{ \item{\verb{gc}}{The \code{\link{GdkGC}} to modify.} \item{\verb{rgb}}{The color, represented as a 0xRRGGBB integer value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetWrapWidth.Rd0000644000176000001440000000076212362217677017027 0ustar ripleyusers\alias{gtkComboBoxGetWrapWidth} \name{gtkComboBoxGetWrapWidth} \title{gtkComboBoxGetWrapWidth} \description{Returns the wrap width which is used to determine the number of columns for the popup menu. If the wrap width is larger than 1, the combo box is in table mode.} \usage{gtkComboBoxGetWrapWidth(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.6} \value{[integer] the wrap width.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkNoOpObjectFactoryNew.Rd0000644000176000001440000000065112362217677017020 0ustar ripleyusers\alias{atkNoOpObjectFactoryNew} \name{atkNoOpObjectFactoryNew} \title{atkNoOpObjectFactoryNew} \description{Creates an instance of an \code{\link{AtkObjectFactory}} which generates primitive (non-functioning) \verb{AtkObjects}.} \usage{atkNoOpObjectFactoryNew()} \value{[\code{\link{AtkObjectFactory}}] an instance of an \code{\link{AtkObjectFactory}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryLayoutIndexToTextIndex.Rd0000644000176000001440000000126512362217677020453 0ustar ripleyusers\alias{gtkEntryLayoutIndexToTextIndex} \name{gtkEntryLayoutIndexToTextIndex} \title{gtkEntryLayoutIndexToTextIndex} \description{Converts from a position in the entry contents (returned by \code{\link{gtkEntryGetText}}) to a position in the entry's \code{\link{PangoLayout}} (returned by \code{\link{gtkEntryGetLayout}}, with text retrieved via \code{\link{pangoLayoutGetText}}).} \usage{gtkEntryLayoutIndexToTextIndex(object, layout.index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{layout.index}}{byte index into the entry layout text} } \value{[integer] byte index into the entry contents} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardSentenceEnd.Rd0000644000176000001440000000123712362217677020234 0ustar ripleyusers\alias{gtkTextIterForwardSentenceEnd} \name{gtkTextIterForwardSentenceEnd} \title{gtkTextIterForwardSentenceEnd} \description{Moves forward to the next sentence end. (If \code{iter} is at the end of a sentence, moves to the next end of sentence.) Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).} \usage{gtkTextIterForwardSentenceEnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupCopy.Rd0000644000176000001440000000057712362217677015561 0ustar ripleyusers\alias{gtkPageSetupCopy} \name{gtkPageSetupCopy} \title{gtkPageSetupCopy} \description{Copies a \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupCopy(object)} \arguments{\item{\verb{object}}{the \code{\link{GtkPageSetup}} to copy}} \details{Since 2.10} \value{[\code{\link{GtkPageSetup}}] a copy of \code{other}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoSetSourcePixbuf.Rd0000644000176000001440000000137612362217677017057 0ustar ripleyusers\alias{gdkCairoSetSourcePixbuf} \name{gdkCairoSetSourcePixbuf} \title{gdkCairoSetSourcePixbuf} \description{Sets the given pixbuf as the source pattern for the Cairo context. The pattern has an extend mode of \code{CAIRO_EXTEND_NONE} and is aligned so that the origin of \code{pixbuf} is \code{pixbuf.x}, \code{pixbuf.y}} \usage{gdkCairoSetSourcePixbuf(cr, pixbuf, pixbuf.x, pixbuf.y)} \arguments{ \item{\verb{cr}}{a \verb{Cairo} context} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}} \item{\verb{pixbuf.x}}{X coordinate of location to place upper left corner of \code{pixbuf}} \item{\verb{pixbuf.y}}{Y coordinate of location to place upper left corner of \code{pixbuf}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionCreateToolItem.Rd0000644000176000001440000000065712362217677017046 0ustar ripleyusers\alias{gtkActionCreateToolItem} \name{gtkActionCreateToolItem} \title{gtkActionCreateToolItem} \description{Creates a toolbar item widget that proxies for the given action.} \usage{gtkActionCreateToolItem(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a toolbar item connected to the action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetFamily.Rd0000644000176000001440000000060312362217677016467 0ustar ripleyusers\alias{gInetAddressGetFamily} \name{gInetAddressGetFamily} \title{gInetAddressGetFamily} \description{Gets \code{address}'s family} \usage{gInetAddressGetFamily(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[\code{\link{GSocketFamily}}] \code{address}'s family} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreNewv.Rd0000644000176000001440000000074112362217677015576 0ustar ripleyusers\alias{gtkTreeStoreNewv} \name{gtkTreeStoreNewv} \title{gtkTreeStoreNewv} \description{Non vararg creation function. Used primarily by language bindings.} \usage{gtkTreeStoreNewv(types)} \arguments{\item{\verb{types}}{a list of \code{\link{GType}} types for the columns, from first to last. \emph{[ \acronym{array} length=n_columns]}}} \value{[\code{\link{GtkTreeStore}}] a new \code{\link{GtkTreeStore}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionNew.Rd0000644000176000001440000000164512362217677014715 0ustar ripleyusers\alias{gtkActionNew} \name{gtkActionNew} \title{gtkActionNew} \description{Creates a new \code{\link{GtkAction}} object. To add the action to a \code{\link{GtkActionGroup}} and set the accelerator for the action, call \code{\link{gtkActionGroupAddActionWithAccel}}. See for information on allowed action names.} \usage{gtkActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)} \arguments{ \item{\verb{name}}{A unique name for the action} \item{\verb{label}}{the label displayed in menu items and on buttons, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip}}{a tooltip for the action, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{stock.id}}{the stock icon to display in widgets representing the action, or \code{NULL}} } \details{Since 2.4} \value{[\code{\link{GtkAction}}] a new \code{\link{GtkAction}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetSystemColormap.Rd0000644000176000001440000000073612362217677017567 0ustar ripleyusers\alias{gdkScreenGetSystemColormap} \name{gdkScreenGetSystemColormap} \title{gdkScreenGetSystemColormap} \description{Gets the system's default colormap for \code{screen}} \usage{gdkScreenGetSystemColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[\code{\link{GdkColormap}}] the default colormap for \code{screen}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorNewFromPixbuf.Rd0000644000176000001440000000226412362217677016735 0ustar ripleyusers\alias{gdkCursorNewFromPixbuf} \name{gdkCursorNewFromPixbuf} \title{gdkCursorNewFromPixbuf} \description{Creates a new cursor from a pixbuf. } \usage{gdkCursorNewFromPixbuf(display, source, x, y)} \arguments{ \item{\verb{display}}{the \code{\link{GdkDisplay}} for which the cursor will be created} \item{\verb{source}}{the \code{\link{GdkPixbuf}} containing the cursor image} \item{\verb{x}}{the horizontal offset of the 'hotspot' of the cursor.} \item{\verb{y}}{the vertical offset of the 'hotspot' of the cursor.} } \details{Not all GDK backends support RGBA cursors. If they are not supported, a monochrome approximation will be displayed. The functions \code{\link{gdkDisplaySupportsCursorAlpha}} and \code{\link{gdkDisplaySupportsCursorColor}} can be used to determine whether RGBA cursors are supported; \code{\link{gdkDisplayGetDefaultCursorSize}} and \code{\link{gdkDisplayGetMaximalCursorSize}} give information about cursor sizes. On the X backend, support for RGBA cursors requires a sufficently new version of the X Render extension. Since 2.4} \value{[\code{\link{GdkCursor}}] a new \code{\link{GdkCursor}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableIsCancelled.Rd0000644000176000001440000000072412362217677016740 0ustar ripleyusers\alias{gCancellableIsCancelled} \name{gCancellableIsCancelled} \title{gCancellableIsCancelled} \description{Checks if a cancellable job has been cancelled.} \usage{gCancellableIsCancelled(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}} or NULL.}} \value{[logical] \code{TRUE} if \code{cancellable} is cancelled, FALSE if called with \code{NULL} or if item is not cancelled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetGravityHint.Rd0000644000176000001440000000101612362217677017612 0ustar ripleyusers\alias{pangoContextGetGravityHint} \name{pangoContextGetGravityHint} \title{pangoContextGetGravityHint} \description{Retrieves the gravity hint for the context. See \code{\link{pangoContextSetGravityHint}} for details.} \usage{pangoContextGetGravityHint(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \details{ Since 1.16} \value{[\code{\link{PangoGravityHint}}] the gravity hint for the context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayPointerUngrab.Rd0000644000176000001440000000064612362217677017113 0ustar ripleyusers\alias{gdkDisplayPointerUngrab} \name{gdkDisplayPointerUngrab} \title{gdkDisplayPointerUngrab} \description{Release any pointer grab.} \usage{gdkDisplayPointerUngrab(object, time. = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}.} \item{\verb{time.}}{a timestap (e.g. \code{GDK_CURRENT_TIME}).} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawBoxGap.Rd0000644000176000001440000000204212362217677015014 0ustar ripleyusers\alias{gtkDrawBoxGap} \name{gtkDrawBoxGap} \title{gtkDrawBoxGap} \description{ Draws a box in \code{window} using the given style and state and shadow type, leaving a gap in one side. \strong{WARNING: \code{gtk_draw_box_gap} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintBoxGap}} instead.} } \usage{gtkDrawBoxGap(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} \item{\verb{gap.side}}{side in which to leave the gap} \item{\verb{gap.x}}{starting position of the gap} \item{\verb{gap.width}}{width of the gap} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPlugNewForDisplay.Rd0000644000176000001440000000105712362217677016401 0ustar ripleyusers\alias{gtkPlugNewForDisplay} \name{gtkPlugNewForDisplay} \title{gtkPlugNewForDisplay} \description{Create a new plug widget inside the \code{\link{GtkSocket}} identified by socket_id.} \usage{gtkPlugNewForDisplay(display, socket.id)} \arguments{ \item{\verb{display}}{the \code{\link{GdkDisplay}} on which \code{socket.id} is displayed} \item{\verb{socket.id}}{the XID of the socket's window.} } \details{Since 2.2} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkPlug}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetDirectionWildcarded.Rd0000644000176000001440000000161112362217677021370 0ustar ripleyusers\alias{gtkIconSourceSetDirectionWildcarded} \name{gtkIconSourceSetDirectionWildcarded} \title{gtkIconSourceSetDirectionWildcarded} \description{If the text direction is wildcarded, this source can be used as the base image for an icon in any \code{\link{GtkTextDirection}}. If the text direction is not wildcarded, then the text direction the icon source applies to should be set with \code{\link{gtkIconSourceSetDirection}}, and the icon source will only be used with that text direction.} \usage{gtkIconSourceSetDirectionWildcarded(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{setting}}{\code{TRUE} to wildcard the text direction} } \details{\code{\link{GtkIconSet}} prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetFormats.Rd0000644000176000001440000000061412362217677016232 0ustar ripleyusers\alias{gdkPixbufGetFormats} \name{gdkPixbufGetFormats} \title{gdkPixbufGetFormats} \description{Obtains the available information about the image formats supported by GdkPixbuf.} \usage{gdkPixbufGetFormats()} \details{Since 2.2} \value{[list] A list of \code{\link{GdkPixbufFormat}}s describing the supported image formats.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerChildSetProperty.Rd0000644000176000001440000000110112362217677020120 0ustar ripleyusers\alias{gtkContainerChildSetProperty} \name{gtkContainerChildSetProperty} \title{gtkContainerChildSetProperty} \description{Sets a child property for \code{child} and \code{container}.} \usage{gtkContainerChildSetProperty(object, child, property.name, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a widget which is a child of \code{container}} \item{\verb{property.name}}{the name of the property to set} \item{\verb{value}}{the value to set the property to} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxSetChildSize.Rd0000644000176000001440000000131612362217677017220 0ustar ripleyusers\alias{gtkButtonBoxSetChildSize} \name{gtkButtonBoxSetChildSize} \title{gtkButtonBoxSetChildSize} \description{ Sets a new default size for the children of a given button box. \strong{WARNING: \code{gtk_button_box_set_child_size} is deprecated and should not be used in newly-written code. Use the style properties "child-min-width" and "child-min-height" instead.} } \usage{gtkButtonBoxSetChildSize(object, min.width, min.height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButtonBox}}} \item{\verb{min.width}}{a default width for buttons in \code{widget}} \item{\verb{min.height}}{a default height for buttons in \code{widget}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestSetTargetList.Rd0000644000176000001440000000112512362217677017173 0ustar ripleyusers\alias{gtkDragDestSetTargetList} \name{gtkDragDestSetTargetList} \title{gtkDragDestSetTargetList} \description{Sets the target types that this widget can accept from drag-and-drop. The widget must first be made into a drag destination with \code{\link{gtkDragDestSet}}.} \usage{gtkDragDestSetTargetList(object, target.list)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination} \item{\verb{target.list}}{list of droppable targets, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHSeparator.Rd0000644000176000001440000000301212362217677015024 0ustar ripleyusers\alias{GtkHSeparator} \alias{gtkHSeparator} \name{GtkHSeparator} \title{GtkHSeparator} \description{A horizontal separator} \section{Methods and Functions}{ \code{\link{gtkHSeparatorNew}(show = TRUE)}\cr \code{gtkHSeparator(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkSeparator +----GtkHSeparator}} \section{Interfaces}{GtkHSeparator implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkHSeparator}} widget is a horizontal separator, used to group the widgets within a window. It displays a horizontal line with a shadow to make it appear sunken into the interface. \strong{PLEASE NOTE:} The \code{\link{GtkHSeparator}} widget is not used as a separator within menus. To create a separator in a menu create an empty \code{\link{GtkSeparatorMenuItem}} widget using \code{\link{gtkSeparatorMenuItemNew}} and add it to the menu with \code{\link{gtkMenuShellAppend}}.} \section{Structures}{\describe{\item{\verb{GtkHSeparator}}{ The \code{\link{GtkHSeparator}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkHSeparator} is the equivalent of \code{\link{gtkHSeparatorNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHSeparator.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListMoveto.Rd0000644000176000001440000000154312362217677015233 0ustar ripleyusers\alias{gtkCListMoveto} \name{gtkCListMoveto} \title{gtkCListMoveto} \description{ Tells the CList widget to visually move to the specified row and column. \strong{WARNING: \code{gtk_clist_moveto} is deprecated and should not be used in newly-written code.} } \usage{gtkCListMoveto(object, row, column, row.align, col.align)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to which to move.} \item{\verb{column}}{The column to which to move.} \item{\verb{row.align}}{A value between 0 and 1 that describes the positioning of the row in relation to the viewable area of the CList's contents.} \item{\verb{col.align}}{A value between 0 and 1 that describes the positioning of the column in relation to the viewable area of the CList's contents.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyBg.Rd0000644000176000001440000000225712362217677015672 0ustar ripleyusers\alias{gtkWidgetModifyBg} \name{gtkWidgetModifyBg} \title{gtkWidgetModifyBg} \description{Sets the background color for a widget in a particular state. All other style values are left untouched. See also \code{\link{gtkWidgetModifyStyle}}. } \usage{gtkWidgetModifyBg(object, state, color = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{state}}{the state for which to set the background color} \item{\verb{color}}{the color to assign (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyBg}}. \emph{[ \acronym{allow-none} ]}} } \details{Note that "no window" widgets (which have the \code{GTK_NO_WINDOW} flag set) draw on their parent container's window and thus may not draw any background themselves. This is the case for e.g. \code{\link{GtkLabel}}. To modify the background of such widgets, you have to set the background color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a \code{\link{GtkEventBox}} widget and setting the background color on that.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderGetPixbuf.Rd0000644000176000001440000000211512362217677017201 0ustar ripleyusers\alias{gdkPixbufLoaderGetPixbuf} \name{gdkPixbufLoaderGetPixbuf} \title{gdkPixbufLoaderGetPixbuf} \description{Queries the \code{\link{GdkPixbuf}} that a pixbuf loader is currently creating. In general it only makes sense to call this function after the "area-prepared" signal has been emitted by the loader; this means that enough data has been read to know the size of the image that will be allocated. If the loader has not received enough data via \code{\link{gdkPixbufLoaderWrite}}, then this function returns \code{NULL}. The returned pixbuf will be the same in all future calls to the loader, Additionally, if the loader is an animation, it will return the "static image" of the animation (see \code{\link{gdkPixbufAnimationGetStaticImage}}).} \usage{gdkPixbufLoaderGetPixbuf(object)} \arguments{\item{\verb{object}}{A pixbuf loader.}} \value{[\code{\link{GdkPixbuf}}] The \code{\link{GdkPixbuf}} that the loader is creating, or \code{NULL} if not enough data has been read to determine how to create the image buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListItemNewWithLabel.Rd0000644000176000001440000000120512362217677017016 0ustar ripleyusers\alias{gtkListItemNewWithLabel} \name{gtkListItemNewWithLabel} \title{gtkListItemNewWithLabel} \description{ Creates a new \code{\link{GtkListItem}} with a child label containing the given string. \strong{WARNING: \code{gtk_list_item_new_with_label} is deprecated and should not be used in newly-written code.} } \usage{gtkListItemNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{the string to use for the child label.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkListItem}} with a child \code{\link{GtkLabel}} with the text set to \code{label}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionNew.Rd0000644000176000001440000000145412362217677016223 0ustar ripleyusers\alias{gtkFileSelectionNew} \name{gtkFileSelectionNew} \title{gtkFileSelectionNew} \description{ Creates a new file selection dialog box. By default it will contain a \code{\link{GtkTreeView}} of the application's current working directory, and a file listing. Operation buttons that allow the user to create a directory, delete files and rename files, are also present. \strong{WARNING: \code{gtk_file_selection_new} is deprecated and should not be used in newly-written code. Use \code{\link{gtkFileChooserDialogNew}} instead} } \usage{gtkFileSelectionNew(title = NULL, show = TRUE)} \arguments{\item{\verb{title}}{a message that will be placed in the file requestor's titlebar.}} \value{[\code{\link{GtkWidget}}] the new file selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetUseUnderline.Rd0000644000176000001440000000106012362217677017546 0ustar ripleyusers\alias{gtkExpanderGetUseUnderline} \name{gtkExpanderGetUseUnderline} \title{gtkExpanderGetUseUnderline} \description{Returns whether an embedded underline in the expander label indicates a mnemonic. See \code{\link{gtkExpanderSetUseUnderline}}.} \usage{gtkExpanderGetUseUnderline(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if an embedded underline in the expander label indicates the mnemonic accelerator keys.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetNColumns.Rd0000644000176000001440000000072112362217677016160 0ustar ripleyusers\alias{atkTableGetNColumns} \name{atkTableGetNColumns} \title{atkTableGetNColumns} \description{Gets the number of columns in the table.} \usage{atkTableGetNColumns(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface}} \value{[integer] a gint representing the number of columns, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleAddMark.Rd0000644000176000001440000000216012362217677015272 0ustar ripleyusers\alias{gtkScaleAddMark} \name{gtkScaleAddMark} \title{gtkScaleAddMark} \description{Adds a mark at \code{value}. } \usage{gtkScaleAddMark(object, value, position, markup = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScale}}} \item{\verb{value}}{the value at which the mark is placed, must be between the lower and upper limits of the scales' adjustment} \item{\verb{position}}{where to draw the mark. For a horizontal scale, \verb{GTK_POS_TOP} is drawn above the scale, anything else below. For a vertical scale, \verb{GTK_POS_LEFT} is drawn to the left of the scale, anything else to the right.} \item{\verb{markup}}{Text to be shown at the mark, using Pango markup, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{A mark is indicated visually by drawing a tick mark next to the scale, and GTK+ makes it easy for the user to position the scale exactly at the marks value. If \code{markup} is not \code{NULL}, text is shown next to the tick mark. To remove marks from a scale, use \code{\link{gtkScaleClearMarks}}. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamHasPending.Rd0000644000176000001440000000061112362217677016103 0ustar ripleyusers\alias{gIOStreamHasPending} \name{gIOStreamHasPending} \title{gIOStreamHasPending} \description{Checks if a stream has pending actions.} \usage{gIOStreamHasPending(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOStream}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{stream} has pending actions.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListEndSelection.Rd0000644000176000001440000000100512362217677016224 0ustar ripleyusers\alias{gtkListEndSelection} \name{gtkListEndSelection} \title{gtkListEndSelection} \description{ Ends the selection. Used with \code{\link{gtkListExtendSelection}} and \code{\link{gtkListStartSelection}}. Only in \verb{GTK_SELECTION_EXTENDED} mode. \strong{WARNING: \code{gtk_list_end_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkListEndSelection(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowDeiconify.Rd0000644000176000001440000000121612362217677016101 0ustar ripleyusers\alias{gdkWindowDeiconify} \name{gdkWindowDeiconify} \title{gdkWindowDeiconify} \description{Attempt to deiconify (unminimize) \code{window}. On X11 the window manager may choose to ignore the request to deiconify. When using GTK+, use \code{\link{gtkWindowDeiconify}} instead of the \code{\link{GdkWindow}} variant. Or better yet, you probably want to use \code{\link{gtkWindowPresent}}, which raises the window, focuses it, unminimizes it, and puts it on the current desktop.} \usage{gdkWindowDeiconify(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerGetItems.Rd0000644000176000001440000000110212362217677017167 0ustar ripleyusers\alias{gtkRecentManagerGetItems} \name{gtkRecentManagerGetItems} \title{gtkRecentManagerGetItems} \description{Gets the list of recently used resources.} \usage{gtkRecentManagerGetItems(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentManager}}}} \details{Since 2.10} \value{[list] a list of newly allocated \code{\link{GtkRecentInfo}} objects. Use \code{\link{gtkRecentInfoUnref}} on each item inside the list, \emph{[ \acronym{element-type} GtkRecentInfo][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLayout.Rd0000644000176000001440000000074412362217677017303 0ustar ripleyusers\alias{pangoLayoutIterGetLayout} \name{pangoLayoutIterGetLayout} \title{pangoLayoutIterGetLayout} \description{Gets the layout associated with a \code{\link{PangoLayoutIter}}.} \usage{pangoLayoutIterGetLayout(iter)} \arguments{\item{\verb{iter}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \details{ Since 1.20} \value{[\code{\link{PangoLayout}}] the layout associated with \code{iter}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetTitle.Rd0000644000176000001440000000137212362217677015750 0ustar ripleyusers\alias{gtkWindowSetTitle} \name{gtkWindowSetTitle} \title{gtkWindowSetTitle} \description{Sets the title of the \code{\link{GtkWindow}}. The title of a window will be displayed in its title bar; on the X Window System, the title bar is rendered by the window manager, so exactly how the title appears to users may vary according to a user's exact configuration. The title should help a user distinguish this window from other windows they may have open. A good title might include the application name and current document filename, for example.} \usage{gtkWindowSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{title}}{title of the window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetFreezeChildNotify.Rd0000644000176000001440000000105312362217677017540 0ustar ripleyusers\alias{gtkWidgetFreezeChildNotify} \name{gtkWidgetFreezeChildNotify} \title{gtkWidgetFreezeChildNotify} \description{Stops emission of \code{\link{gtkWidgetChildNotify}} signals on \code{widget}. The signals are queued until \code{\link{gtkWidgetThawChildNotify}} is called on \code{widget}. } \usage{gtkWidgetFreezeChildNotify(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{This is the analogue of \code{gObjectFreezeNotify()} for child properties.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableSetHomogeneous.Rd0000644000176000001440000000111112362217677016726 0ustar ripleyusers\alias{gtkTableSetHomogeneous} \name{gtkTableSetHomogeneous} \title{gtkTableSetHomogeneous} \description{Changes the homogenous property of table cells, ie. whether all cells are an equal size or not.} \usage{gtkTableSetHomogeneous(object, homogeneous)} \arguments{ \item{\verb{object}}{The \code{\link{GtkTable}} you wish to set the homogeneous properties of.} \item{\verb{homogeneous}}{Set to \code{TRUE} to ensure all table cells are the same size. Set to \code{FALSE} if this is not your desired behaviour.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileUnmountMountableFinish.Rd0000644000176000001440000000205212362217677017735 0ustar ripleyusers\alias{gFileUnmountMountableFinish} \name{gFileUnmountMountableFinish} \title{gFileUnmountMountableFinish} \description{ Finishes an unmount operation, see \code{\link{gFileUnmountMountable}} for details. \strong{WARNING: \code{g_file_unmount_mountable_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gFileUnmountMountableWithOperationFinish}} instead.} } \usage{gFileUnmountMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous unmount operation that was started with \code{\link{gFileUnmountMountable}}.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation finished successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterParent.Rd0000644000176000001440000000147312362217677016703 0ustar ripleyusers\alias{gtkTreeModelIterParent} \name{gtkTreeModelIterParent} \title{gtkTreeModelIterParent} \description{Sets \code{iter} to be the parent of \code{child}. If \code{child} is at the toplevel, and doesn't have a parent, then \code{iter} is set to an invalid iterator and \code{FALSE} is returned. \code{child} will remain a valid node after this function has been called.} \usage{gtkTreeModelIterParent(object, child)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{child}}{The \code{\link{GtkTreeIter}}.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{iter} is set to the parent of \code{child}.} \item{\verb{iter}}{The new \code{\link{GtkTreeIter}} to set to the parent.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileHasPrefix.Rd0000644000176000001440000000171012362217677015151 0ustar ripleyusers\alias{gFileHasPrefix} \name{gFileHasPrefix} \title{gFileHasPrefix} \description{Checks whether \code{file} has the prefix specified by \code{prefix}. In other word, if the names of inital elements of \code{file}s pathname match \code{prefix}. Only full pathname elements are matched, so a path like /foo is not considered a prefix of /foobar, only of /foo/bar.} \usage{gFileHasPrefix(object, descendant)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{descendant}}{input \code{\link{GFile}}.} } \details{This call does no i/o, as it works purely on names. As such it can sometimes return \code{FALSE} even if \code{file} is inside a \code{prefix} (from a filesystem point of view), because the prefix of \code{file} is an alias of \code{prefix}.} \value{[logical] \code{TRUE} if the \code{files}'s parent, grandparent, etc is \code{prefix}. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetLayer.Rd0000644000176000001440000000065712362217677016421 0ustar ripleyusers\alias{atkComponentGetLayer} \name{atkComponentGetLayer} \title{atkComponentGetLayer} \description{Gets the layer of the component.} \usage{atkComponentGetLayer(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}}} \value{[\code{\link{AtkLayer}}] an \code{\link{AtkLayer}} which is the layer of the component} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetFontName.Rd0000644000176000001440000000113412362217677017225 0ustar ripleyusers\alias{gtkFontButtonSetFontName} \name{gtkFontButtonSetFontName} \title{gtkFontButtonSetFontName} \description{Sets or updates the currently-displayed font in font picker dialog.} \usage{gtkFontButtonSetFontName(object, fontname)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{fontname}}{Name of font to display in font selection dialog} } \details{Since 2.4} \value{[logical] Return value of \code{\link{gtkFontSelectionDialogSetFontName}} if the font selection dialog exists, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetChildForDisplayName.Rd0000644000176000001440000000212612362217677017543 0ustar ripleyusers\alias{gFileGetChildForDisplayName} \name{gFileGetChildForDisplayName} \title{gFileGetChildForDisplayName} \description{Gets the child of \code{file} for a given \code{display.name} (i.e. a UTF8 version of the name). If this function fails, it returns \code{NULL} and \code{error} will be set. This is very useful when constructing a GFile for a new file and the user entered the filename in the user interface, for instance when you select a directory and type a filename in the file selector.} \usage{gFileGetChildForDisplayName(object, display.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{display.name}}{string to a possible child.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This call does no blocking i/o.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFile}}] a \code{\link{GFile}} to the specified child, or \code{NULL} if the display name couldn't be converted.} \item{\verb{error}}{\code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIdleAddPriority.Rd0000644000176000001440000000162212362217677016051 0ustar ripleyusers\alias{gtkIdleAddPriority} \name{gtkIdleAddPriority} \title{gtkIdleAddPriority} \description{ Like \code{\link{gtkIdleAdd}} this function allows you to have a function called when the event loop is idle. The difference is that you can give a priority different from \code{GTK_PRIORITY_DEFAULT} to the idle function. \strong{WARNING: \code{gtk_idle_add_priority} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{gIdleAddFull()} instead.} } \usage{gtkIdleAddPriority(priority, fun, data = NULL)} \arguments{ \item{\verb{priority}}{The priority which should not be above \code{G_PRIORITY_HIGH_IDLE}. Note that you will interfere with GTK+ if you use a priority above \code{GTK_PRIORITY_RESIZE}.} \item{\verb{data}}{Data to pass to that function.} } \value{[numeric] A unique id for the event source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetCurrentColor.Rd0000644000176000001440000000104212362217677020757 0ustar ripleyusers\alias{gtkColorSelectionSetCurrentColor} \name{gtkColorSelectionSetCurrentColor} \title{gtkColorSelectionSetCurrentColor} \description{Sets the current color to be \code{color}. The first time this is called, it will also set the original color to be \code{color} too.} \usage{gtkColorSelectionSetCurrentColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{color}}{A \code{\link{GdkColor}} to set the current color with.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutSetHadjustment.Rd0000644000176000001440000000105212362217677017156 0ustar ripleyusers\alias{gtkLayoutSetHadjustment} \name{gtkLayoutSetHadjustment} \title{gtkLayoutSetHadjustment} \description{Sets the horizontal scroll adjustment for the layout.} \usage{gtkLayoutSetHadjustment(object, adjustment = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLayout}}} \item{\verb{adjustment}}{new scroll adjustment. \emph{[ \acronym{allow-none} ]}} } \details{See \code{\link{GtkScrolledWindow}}, \code{\link{GtkScrollbar}}, \code{\link{GtkAdjustment}} for details.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsInstallProperty.Rd0000644000176000001440000000046212362217677017716 0ustar ripleyusers\alias{gtkSettingsInstallProperty} \name{gtkSettingsInstallProperty} \title{gtkSettingsInstallProperty} \description{\emph{undocumented }} \usage{gtkSettingsInstallProperty(pspec)} \arguments{\item{\verb{pspec}}{\emph{undocumented }}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternCreateLinear.Rd0000644000176000001440000000244412362217677017230 0ustar ripleyusers\alias{cairoPatternCreateLinear} \name{cairoPatternCreateLinear} \title{cairoPatternCreateLinear} \description{Create a new linear gradient \code{\link{CairoPattern}} along the line defined by (x0, y0) and (x1, y1). Before using the gradient pattern, a number of color stops should be defined using \code{\link{cairoPatternAddColorStopRgb}} or \code{\link{cairoPatternAddColorStopRgba}}.} \usage{cairoPatternCreateLinear(x0, y0, x1, y1)} \arguments{ \item{\verb{x0}}{[numeric] x coordinate of the start point} \item{\verb{y0}}{[numeric] y coordinate of the start point} \item{\verb{x1}}{[numeric] x coordinate of the end point} \item{\verb{y1}}{[numeric] y coordinate of the end point} } \details{Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with \code{\link{cairoPatternSetMatrix}}. } \value{[\code{\link{CairoPattern}}] the newly created \code{\link{CairoPattern}} if successful, or an error pattern in case of no memory. This function will always return a valid pointer, but if an error occurred the pattern status will be set to an error. To inspect the status of a pattern use \code{\link{cairoPatternStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoUnsetAttributeMask.Rd0000644000176000001440000000056412362217677017700 0ustar ripleyusers\alias{gFileInfoUnsetAttributeMask} \name{gFileInfoUnsetAttributeMask} \title{gFileInfoUnsetAttributeMask} \description{Unsets a mask set by \code{\link{gFileInfoSetAttributeMask}}, if one is set.} \usage{gFileInfoUnsetAttributeMask(object)} \arguments{\item{\verb{object}}{\code{\link{GFileInfo}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetMapped.Rd0000644000176000001440000000075012362217677016050 0ustar ripleyusers\alias{gtkWidgetSetMapped} \name{gtkWidgetSetMapped} \title{gtkWidgetSetMapped} \description{Marks the widget as being realized.} \usage{gtkWidgetSetMapped(object, mapped)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{mapped}}{\code{TRUE} to mark the widget as mapped} } \details{This function should only ever be called in a derived widget's "map" or "unmap" implementation. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeRegister.Rd0000644000176000001440000000107712362217677016255 0ustar ripleyusers\alias{gtkIconSizeRegister} \name{gtkIconSizeRegister} \title{gtkIconSizeRegister} \description{Registers a new icon size, along the same lines as \verb{GTK_ICON_SIZE_MENU}, etc. Returns the integer value for the size.} \usage{gtkIconSizeRegister(name, width, height)} \arguments{ \item{\verb{name}}{name of the icon size} \item{\verb{width}}{the icon width} \item{\verb{height}}{the icon height} } \value{[\code{\link{GtkIconSize}}] integer value representing the size. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-util.Rd0000644000176000001440000000173712362217677015335 0ustar ripleyusers\alias{gdk-pixbuf-util} \name{gdk-pixbuf-util} \title{Utilities} \description{Utility and miscellaneous convenience functions.} \section{Methods and Functions}{ \code{\link{gdkPixbufAddAlpha}(object, substitute.color, r, g, b)}\cr \code{\link{gdkPixbufCopyArea}(object, src.x, src.y, width, height, dest.pixbuf, dest.x, dest.y)}\cr \code{\link{gdkPixbufSaturateAndPixelate}(object, dest, saturation, pixelate)}\cr \code{\link{gdkPixbufApplyEmbeddedOrientation}(object)}\cr \code{\link{gdkPixbufFill}(object, pixel)}\cr } \section{Detailed Description}{ These functions provide miscellaneous utilities for manipulating pixbufs. The pixel data in pixbufs may of course be manipulated directly by applications, but several common operations can be performed by these functions instead. } \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-util.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GdkPixbuf}}} \keyword{internal} RGtk2/man/gtkDragSourceAddUriTargets.Rd0000644000176000001440000000112012362217677017473 0ustar ripleyusers\alias{gtkDragSourceAddUriTargets} \name{gtkDragSourceAddUriTargets} \title{gtkDragSourceAddUriTargets} \description{Add the URI targets supported by \verb{GtkSelection} to the target list of the drag source. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddUriTargets}} and \code{\link{gtkDragSourceSetTargetList}}.} \usage{gtkDragSourceAddUriTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's is a drag source}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableNew.Rd0000644000176000001440000000111512362217677015316 0ustar ripleyusers\alias{gCancellableNew} \name{gCancellableNew} \title{gCancellableNew} \description{Creates a new \code{\link{GCancellable}} object.} \usage{gCancellableNew()} \details{Applications that want to start one or more operations that should be cancellable should create a \code{\link{GCancellable}} and pass it to the operations. One \code{\link{GCancellable}} can be used in multiple consecutive operations, but not in multiple concurrent operations.} \value{[\code{\link{GCancellable}}] a \code{\link{GCancellable}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbCmapNew.Rd0000644000176000001440000000114512362217677014766 0ustar ripleyusers\alias{gdkRgbCmapNew} \name{gdkRgbCmapNew} \title{gdkRgbCmapNew} \description{Creates a new \code{\link{GdkRgbCmap}} structure. The cmap maps color indexes to RGB colors. If \code{n.colors} is less than 256, then images containing color values greater than or equal to \code{n.colors} will produce undefined results, including possibly segfaults.} \usage{gdkRgbCmapNew(colors)} \arguments{\item{\verb{colors}}{The colors, represented as 0xRRGGBB integer values.}} \value{[\code{\link{GdkRgbCmap}}] The newly created \code{\link{GdkRgbCmap}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileStartMountable.Rd0000644000176000001440000000250212362217677016224 0ustar ripleyusers\alias{gFileStartMountable} \name{gFileStartMountable} \title{gFileStartMountable} \description{Starts a file of type G_FILE_TYPE_MOUNTABLE. Using \code{start.operation}, you can request callbacks when, for instance, passwords are needed during authentication.} \usage{gFileStartMountable(object, flags, start.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{start.operation}}{a \code{\link{GMountOperation}}, or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileMountMountableFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVRulerNew.Rd0000644000176000001440000000042312362217677014710 0ustar ripleyusers\alias{gtkVRulerNew} \name{gtkVRulerNew} \title{gtkVRulerNew} \description{Creates a new vertical ruler} \usage{gtkVRulerNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVRuler}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetSubwindow.Rd0000644000176000001440000000060112362217677015644 0ustar ripleyusers\alias{gdkGCSetSubwindow} \name{gdkGCSetSubwindow} \title{gdkGCSetSubwindow} \description{Sets how drawing with this GC on a window will affect child windows of that window.} \usage{gdkGCSetSubwindow(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{mode}}{the subwindow mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromPixmap.Rd0000644000176000001440000000161712362217677016524 0ustar ripleyusers\alias{gtkImageNewFromPixmap} \name{gtkImageNewFromPixmap} \title{gtkImageNewFromPixmap} \description{Creates a \code{\link{GtkImage}} widget displaying \code{pixmap} with a \code{mask}. A \code{\link{GdkPixmap}} is a server-side image buffer in the pixel format of the current display. The \code{\link{GtkImage}} does not assume a reference to the pixmap or mask; you still need to unref them if you own references. \code{\link{GtkImage}} will add its own reference rather than adopting yours.} \usage{gtkImageNewFromPixmap(pixmap = NULL, mask = NULL, show = TRUE)} \arguments{ \item{\verb{pixmap}}{a \code{\link{GdkPixmap}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask}}{a \code{\link{GdkBitmap}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamSetPending.Rd0000644000176000001440000000136212362217677016717 0ustar ripleyusers\alias{gInputStreamSetPending} \name{gInputStreamSetPending} \title{gInputStreamSetPending} \description{Sets \code{stream} to have actions pending. If the pending flag is already set or \code{stream} is closed, it will return \code{FALSE} and set \code{error}.} \usage{gInputStreamSetPending(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input stream} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if pending was previously unset and is now set.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeBoolean.Rd0000644000176000001440000000076012362217677020017 0ustar ripleyusers\alias{gFileInfoSetAttributeBoolean} \name{gFileInfoSetAttributeBoolean} \title{gFileInfoSetAttributeBoolean} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeBoolean(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a boolean value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GNetworkAddress.Rd0000644000176000001440000000315412362217677015363 0ustar ripleyusers\alias{GNetworkAddress} \alias{gNetworkAddress} \name{GNetworkAddress} \title{GNetworkAddress} \description{A GSocketConnectable for resolving hostnames} \section{Methods and Functions}{ \code{\link{gNetworkAddressNew}(hostname, port)}\cr \code{\link{gNetworkAddressGetHostname}(object)}\cr \code{\link{gNetworkAddressGetPort}(object)}\cr \code{\link{gNetworkAddressParse}(host.and.port, default.port, .errwarn = TRUE)}\cr \code{gNetworkAddress(hostname, port)} } \section{Hierarchy}{\preformatted{GObject +----GNetworkAddress}} \section{Interfaces}{GNetworkAddress implements \code{\link{GSocketConnectable}}.} \section{Detailed Description}{\code{\link{GNetworkAddress}} provides an easy way to resolve a hostname and then attempt to connect to that host, handling the possibility of multiple IP addresses and multiple address families. See \code{\link{GSocketConnectable}} for and example of using the connectable interface.} \section{Structures}{\describe{\item{\verb{GNetworkAddress}}{ A \code{\link{GSocketConnectable}} for resolving a hostname and connecting to that host. }}} \section{Convenient Construction}{\code{gNetworkAddress} is the equivalent of \code{\link{gNetworkAddressNew}}.} \section{Properties}{\describe{ \item{\verb{hostname} [character : * : Read / Write / Construct Only]}{ Hostname to resolve. Default value: NULL } \item{\verb{port} [numeric : Read / Write / Construct Only]}{ Network port. Allowed values: <= 65535 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gio/GNetworkAddress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSendTo.Rd0000644000176000001440000000216512362217677015032 0ustar ripleyusers\alias{gSocketSendTo} \name{gSocketSendTo} \title{gSocketSendTo} \description{Tries to send \code{size} bytes from \code{buffer} to \code{address}. If \code{address} is \code{NULL} then the message is sent to the default receiver (set by \code{\link{gSocketConnect}}).} \usage{gSocketSendTo(object, address, buffer, size, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{address}}{a \code{\link{GSocketAddress}}, or \code{NULL}} \item{\verb{buffer}}{the buffer containing the data to send.} \item{\verb{size}}{the number of bytes to send} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{See \code{\link{gSocketSend}} for additional information. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes written (which may be less than \code{size}), or -1 on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSrvTarget.Rd0000644000176000001440000000323012362217677014340 0ustar ripleyusers\alias{GSrvTarget} \name{GSrvTarget} \title{GSrvTarget} \description{DNS SRV record target} \section{Methods and Functions}{ \code{\link{gSrvTargetNew}(hostname, port, priority, weight)}\cr \code{\link{gSrvTargetCopy}(object)}\cr \code{\link{gSrvTargetFree}(object)}\cr \code{\link{gSrvTargetGetHostname}(object)}\cr \code{\link{gSrvTargetGetPort}(object)}\cr \code{\link{gSrvTargetGetPriority}(object)}\cr \code{\link{gSrvTargetGetWeight}(object)}\cr \code{\link{gSrvTargetListSort}(targets)}\cr } \section{Hierarchy}{\preformatted{GBoxed +----GSrvTarget}} \section{Detailed Description}{SRV (service) records are used by some network protocols to provide service-specific aliasing and load-balancing. For example, XMPP (Jabber) uses SRV records to locate the XMPP server for a domain; rather than connecting directly to "example.com" or assuming a specific server hostname like "xmpp.example.com", an XMPP client would look up the "xmpp-client" SRV record for "example.com", and then connect to whatever host was pointed to by that record. You can use \code{\link{gResolverLookupService}} or \code{\link{gResolverLookupServiceAsync}} to find the \code{\link{GSrvTarget}}s for a given service. However, if you are simply planning to connect to the remote service, you can use \code{\link{GNetworkService}}'s \code{\link{GSocketConnectable}} interface and not need to worry about \code{\link{GSrvTarget}} at all.} \section{Structures}{\describe{\item{\verb{GSrvTarget}}{ A single target host/port that a network service is running on. }}} \references{\url{http://library.gnome.org/devel//gio/GSrvTarget.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClose.Rd0000644000176000001440000000407112362217677014701 0ustar ripleyusers\alias{gSocketClose} \name{gSocketClose} \title{gSocketClose} \description{Closes the socket, shutting down any active connection.} \usage{gSocketClose(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Closing a socket does not wait for all outstanding I/O operations to finish, so the caller should not rely on them to be guaranteed to complete even if the close returns with no error. Once the socket is closed, all other operations will return \code{G_IO_ERROR_CLOSED}. Closing a socket multiple times will not return an error. Sockets will be automatically closed when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible. Beware that due to the way that TCP works, it is possible for recently-sent data to be lost if either you close a socket while the \code{G_IO_IN} condition is set, or else if the remote connection tries to send something to you after you close the socket but before it has finished reading all of the data you sent. There is no easy generic way to avoid this problem; the easiest fix is to design the network protocol such that the client will never send data "out of turn". Another solution is for the server to half-close the connection by calling \code{\link{gSocketShutdown}} with only the \code{shutdown.write} flag set, and then wait for the client to notice this and close its side of the connection, after which the server can safely call \code{\link{gSocketClose}}. (This is what \code{\link{GTcpConnection}} does if you call \code{\link{gTcpConnectionSetGracefulDisconnect}}. But of course, this only works if the client will close its connection after the server does.) Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetDefault.Rd0000644000176000001440000000070612362217677016167 0ustar ripleyusers\alias{gdkScreenGetDefault} \name{gdkScreenGetDefault} \title{gdkScreenGetDefault} \description{Gets the default screen for the default display. (See \code{\link{gdkDisplayGetDefault}}).} \usage{gdkScreenGetDefault()} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] a \code{\link{GdkScreen}}, or \code{NULL} if there is no default display. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestAddUriTargets.Rd0000644000176000001440000000111412362217677017135 0ustar ripleyusers\alias{gtkDragDestAddUriTargets} \name{gtkDragDestAddUriTargets} \title{gtkDragDestAddUriTargets} \description{Add the URI targets supported by \verb{GtkSelection} to the target list of the drag destination. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddUriTargets}} and \code{\link{gtkDragDestSetTargetList}}.} \usage{gtkDragDestAddUriTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamGetInputStream.Rd0000644000176000001440000000067612362217677017011 0ustar ripleyusers\alias{gIOStreamGetInputStream} \name{gIOStreamGetInputStream} \title{gIOStreamGetInputStream} \description{Gets the input stream for this object. This is used for reading.} \usage{gIOStreamGetInputStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOStream}}}} \details{Since 2.22} \value{[\code{\link{GInputStream}}] a \code{\link{GInputStream}}, Do not free.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowDeiconify.Rd0000644000176000001440000000120612362217677016120 0ustar ripleyusers\alias{gtkWindowDeiconify} \name{gtkWindowDeiconify} \title{gtkWindowDeiconify} \description{Asks to deiconify (i.e. unminimize) the specified \code{window}. Note that you shouldn't assume the window is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run.} \usage{gtkWindowDeiconify(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{You can track iconification via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketReceive.Rd0000644000176000001440000000374212362217677015222 0ustar ripleyusers\alias{gSocketReceive} \name{gSocketReceive} \title{gSocketReceive} \description{Receive data (up to \code{size} bytes) from a socket. This is mainly used by connection-oriented sockets; it is identical to \code{\link{gSocketReceiveFrom}} with \code{address} set to \code{NULL}.} \usage{gSocketReceive(object, size, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{size}}{the number of bytes you want to read from the socket} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{For \code{G_SOCKET_TYPE_DATAGRAM} and \code{G_SOCKET_TYPE_SEQPACKET} sockets, \code{\link{gSocketReceive}} will always read either 0 or 1 complete messages from the socket. If the received message is too large to fit in \code{buffer}, then the data beyond \code{size} bytes will be discarded, without any explicit indication that this has occurred. For \code{G_SOCKET_TYPE_STREAM} sockets, \code{\link{gSocketReceive}} can return any number of bytes, up to \code{size}. If more than \code{size} bytes have been received, the additional data will be returned in future calls to \code{\link{gSocketReceive}}. If the socket is in blocking mode the call will block until there is some data to receive or there is an error. If there is no data available and the socket is in non-blocking mode, a \code{G_IO_ERROR_WOULD_BLOCK} error will be returned. To be notified when data is available, wait for the \code{G_IO_IN} condition. On error -1 is returned and \code{error} is set accordingly. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes read, or -1 on error} \item{\verb{buffer}}{a buffer to read data into (which should be at least \code{size} bytes long).} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetFontOptions.Rd0000644000176000001440000000136012362217677016252 0ustar ripleyusers\alias{cairoGetFontOptions} \name{cairoGetFontOptions} \title{cairoGetFontOptions} \description{Retrieves font rendering options set via \code{\link{cairoSetFontOptions}}. Note that the returned options do not include any options derived from the underlying surface; they are literally the options passed to \code{\link{cairoSetFontOptions}}.} \usage{cairoGetFontOptions(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \value{ A list containing the following elements: \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}} object into which to store the retrieved options. All existing values are overwritten} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupAddWidget.Rd0000644000176000001440000000145112362217677016525 0ustar ripleyusers\alias{gtkSizeGroupAddWidget} \name{gtkSizeGroupAddWidget} \title{gtkSizeGroupAddWidget} \description{Adds a widget to a \code{\link{GtkSizeGroup}}. In the future, the requisition of the widget will be determined as the maximum of its requisition and the requisition of the other widgets in the size group. Whether this applies horizontally, vertically, or in both directions depends on the mode of the size group. See \code{\link{gtkSizeGroupSetMode}}.} \usage{gtkSizeGroupAddWidget(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSizeGroup}}} \item{\verb{widget}}{the \code{\link{GtkWidget}} to add} } \details{When the widget is destroyed or no longer referenced elsewhere, it will be removed from the size group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkValue.Rd0000644000176000001440000000247112362217677014032 0ustar ripleyusers\alias{AtkValue} \name{AtkValue} \title{AtkValue} \description{The ATK interface implemented by valuators and components which display or select a value from a bounded range of values.} \section{Methods and Functions}{ \code{\link{atkValueGetCurrentValue}(object)}\cr \code{\link{atkValueGetMaximumValue}(object)}\cr \code{\link{atkValueGetMinimumValue}(object)}\cr \code{\link{atkValueSetCurrentValue}(object, value)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkValue}} \section{Implementations}{AtkValue is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkValue}} should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should have \code{\link{AtkObject}} representations which implement \code{\link{AtkValue}} on the component's behalf. \verb{AtKValues} may be read-only, in which case attempts to alter the value return FALSE to indicate failure.} \section{Structures}{\describe{\item{\verb{AtkValue}}{ The AtkValue structure does not contain any fields. }}} \references{\url{http://library.gnome.org/devel//atk/AtkValue.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuBarSetChildPackDirection.Rd0000644000176000001440000000074612362217677020440 0ustar ripleyusers\alias{gtkMenuBarSetChildPackDirection} \name{gtkMenuBarSetChildPackDirection} \title{gtkMenuBarSetChildPackDirection} \description{Sets how widgets should be packed inside the children of a menubar.} \usage{gtkMenuBarSetChildPackDirection(object, child.pack.dir)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuBar}}} \item{\verb{child.pack.dir}}{a new \code{\link{GtkPackDirection}}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowConstrainSize.Rd0000644000176000001440000000126012362217677016762 0ustar ripleyusers\alias{gdkWindowConstrainSize} \name{gdkWindowConstrainSize} \title{gdkWindowConstrainSize} \description{Constrains a desired width and height according to a set of geometry hints (such as minimum and maximum size).} \usage{gdkWindowConstrainSize(geometry, width, height)} \arguments{ \item{\verb{geometry}}{a \code{\link{GdkGeometry}} structure} \item{\verb{width}}{desired width of window} \item{\verb{height}}{desired height of the window} } \value{ A list containing the following elements: \item{\verb{new.width}}{location to store resulting width} \item{\verb{new.height}}{location to store resulting height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortConvertPathToChildPath.Rd0000644000176000001440000000154412362217677022016 0ustar ripleyusers\alias{gtkTreeModelSortConvertPathToChildPath} \name{gtkTreeModelSortConvertPathToChildPath} \title{gtkTreeModelSortConvertPathToChildPath} \description{Converts \code{sorted.path} to a path on the child model of \code{tree.model.sort}. That is, \code{sorted.path} points to a location in \code{tree.model.sort}. The returned path will point to the same location in the model not being sorted. If \code{sorted.path} does not point to a location in the child model, \code{NULL} is returned.} \usage{gtkTreeModelSortConvertPathToChildPath(object, sorted.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelSort}}} \item{\verb{sorted.path}}{A \code{\link{GtkTreePath}} to convert} } \value{[\code{\link{GtkTreePath}}] A newly allocated \code{\link{GtkTreePath}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetName.Rd0000644000176000001440000000060412362217677016163 0ustar ripleyusers\alias{gtkPaperSizeGetName} \name{gtkPaperSizeGetName} \title{gtkPaperSizeGetName} \description{Gets the name of the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaperSize}} object}} \details{Since 2.10} \value{[character] the name of \code{size}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetSlice.Rd0000644000176000001440000000152312362217677016211 0ustar ripleyusers\alias{gtkTextIterGetSlice} \name{gtkTextIterGetSlice} \title{gtkTextIterGetSlice} \description{Returns the text in the given range. A "slice" is a list of characters encoded in UTF-8 format, including the Unicode "unknown" character 0xFFFC for iterable non-character elements in the buffer, such as images. Because images are encoded in the slice, byte and character offsets in the returned list will correspond to byte offsets in the text buffer. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer.} \usage{gtkTextIterGetSlice(object, end)} \arguments{ \item{\verb{object}}{iterator at start of a range} \item{\verb{end}}{iterator at end of a range} } \value{[character] slice of text from the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetFontMatrix.Rd0000644000176000001440000000070112362217677016061 0ustar ripleyusers\alias{cairoGetFontMatrix} \name{cairoGetFontMatrix} \title{cairoGetFontMatrix} \description{Stores the current font matrix into \code{matrix}. See \code{\link{cairoSetFontMatrix}}.} \usage{cairoGetFontMatrix(cr, matrix)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] return value for the matrix} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetUseUnderline.Rd0000644000176000001440000000101412362217677017252 0ustar ripleyusers\alias{gtkButtonGetUseUnderline} \name{gtkButtonGetUseUnderline} \title{gtkButtonGetUseUnderline} \description{Returns whether an embedded underline in the button label indicates a mnemonic. See \code{\link{gtkButtonSetUseUnderline}}.} \usage{gtkButtonGetUseUnderline(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \value{[logical] \code{TRUE} if an embedded underline in the button label indicates the mnemonic accelerator keys.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAtoms.Rd0000644000176000001440000000137111766145227014063 0ustar ripleyusers\name{gdkAtoms} \title{Gdk Atom Constants} \alias{GDK_SELECTION_PRIMARY} \alias{GDK_SELECTION_SECONDARY} \alias{GDK_SELECTION_CLIPBOARD} \alias{GDK_TARGET_BITMAP} \alias{GDK_TARGET_COLORMAP} \alias{GDK_TARGET_DRAWABLE} \alias{GDK_TARGET_PIXMAP} \alias{GDK_TARGET_STRING} \alias{GDK_SELECTION_TYPE_ATOM} \alias{GDK_SELECTION_TYPE_BITMAP} \alias{GDK_SELECTION_TYPE_COLORMAP} \alias{GDK_SELECTION_TYPE_DRAWABLE} \alias{GDK_SELECTION_TYPE_INTEGER} \alias{GDK_SELECTION_TYPE_PIXMAP} \alias{GDK_SELECTION_TYPE_WINDOW} \alias{GDK_SELECTION_TYPE_STRING} \description{This is a numeric value that represents a \code{\link{GdkAtom}}, which is a type of identifier used by certain low-level systems, such as the clipboard.} \author{Michael Lawrence} \keyword{internal}RGtk2/man/gtkWindowGetResizable.Rd0000644000176000001440000000061312362217677016570 0ustar ripleyusers\alias{gtkWindowGetResizable} \name{gtkWindowGetResizable} \title{gtkWindowGetResizable} \description{Gets the value set by \code{\link{gtkWindowSetResizable}}.} \usage{gtkWindowGetResizable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if the user can resize the window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetEmbedPageSetup.Rd0000644000176000001440000000115012362217677021221 0ustar ripleyusers\alias{gtkPrintOperationSetEmbedPageSetup} \name{gtkPrintOperationSetEmbedPageSetup} \title{gtkPrintOperationSetEmbedPageSetup} \description{Embed page size combo box and orientation combo box into page setup page. Selected page setup is stored as default page setup in \code{\link{GtkPrintOperation}}.} \usage{gtkPrintOperationSetEmbedPageSetup(object, embed)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{embed}}{\code{TRUE} to embed page setup selection in the \verb{GtkPrintDialog}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromStock.Rd0000644000176000001440000000070212362217677016345 0ustar ripleyusers\alias{gtkImageSetFromStock} \name{gtkImageSetFromStock} \title{gtkImageSetFromStock} \description{See \code{\link{gtkImageNewFromStock}} for details.} \usage{gtkImageSetFromStock(object, stock.id, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{stock.id}}{a stock icon name} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetDrive.Rd0000644000176000001440000000104112362217677015211 0ustar ripleyusers\alias{gMountGetDrive} \name{gMountGetDrive} \title{gMountGetDrive} \description{Gets the drive for the \code{mount}.} \usage{gMountGetDrive(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \details{This is a convenience method for getting the \code{\link{GVolume}} and then using that object to get the \code{\link{GDrive}}.} \value{[\code{\link{GDrive}}] a \code{\link{GDrive}} or \code{NULL} if \code{mount} is not associated with a volume or a drive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GUnixInputStream.Rd0000644000176000001440000000215611766145227015542 0ustar ripleyusers\alias{GUnixInputStream} \name{GUnixInputStream} \title{GUnixInputStream} \description{Streaming input operations for UNIX file descriptors} \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GUnixInputStream}} \section{Detailed Description}{\verb{GUnixInputStream} implements \verb{\link{GInputStream}} for reading from a UNIX file descriptor, including asynchronous operations. The file descriptor must be selectable, so it doesn't work with opened files. Note that \file{} belongs to the UNIX-specific GIO interfaces, thus you have to use the \file{gio-unix-2.0.pc} pkg-config file when using it.} \section{Properties}{\describe{ \item{\verb{close-fd} [logical : Read / Write]}{ Whether to close the file descriptor when the stream is closed. Default value: TRUE Since 2.20 } \item{\verb{fd} [integer : Read / Write / Construct Only]}{ The file descriptor that the stream reads from. Default value: -1 Since 2.20 } }} \references{\url{http://library.gnome.org/devel//gio/GUnixInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetModal.Rd0000644000176000001440000000121212362217677015714 0ustar ripleyusers\alias{gtkWindowSetModal} \name{gtkWindowSetModal} \title{gtkWindowSetModal} \description{Sets a window modal or non-modal. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use \code{\link{gtkWindowSetTransientFor}} to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.} \usage{gtkWindowSetModal(object, modal)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{modal}}{whether the window is modal} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextFilterKeypress.Rd0000644000176000001440000000111212362217677017561 0ustar ripleyusers\alias{gtkIMContextFilterKeypress} \name{gtkIMContextFilterKeypress} \title{gtkIMContextFilterKeypress} \description{Allow an input method to internally handle key press and release events. If this function returns \code{TRUE}, then no further processing should be done for this key event.} \usage{gtkIMContextFilterKeypress(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{event}}{the key event} } \value{[logical] \code{TRUE} if the input method handled the key event.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonGetAlpha.Rd0000644000176000001440000000060112362217677016675 0ustar ripleyusers\alias{gtkColorButtonGetAlpha} \name{gtkColorButtonGetAlpha} \title{gtkColorButtonGetAlpha} \description{Returns the current alpha value.} \usage{gtkColorButtonGetAlpha(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorButton}}.}} \details{Since 2.4} \value{[integer] an integer between 0 and 65535.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkAddFocusTracker.Rd0000644000176000001440000000100312362217677016010 0ustar ripleyusers\alias{atkAddFocusTracker} \name{atkAddFocusTracker} \title{atkAddFocusTracker} \description{Adds the specified function to the list of functions to be called when an object receives focus.} \usage{atkAddFocusTracker(focus.tracker)} \arguments{\item{\verb{focus.tracker}}{[AtkEventListener] Function to be added to the list of functions to be called when an object receives focus.}} \value{[numeric] added focus tracker id, or 0 on failure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterFilter.Rd0000644000176000001440000000150312362217677016212 0ustar ripleyusers\alias{gtkFileFilterFilter} \name{gtkFileFilterFilter} \title{gtkFileFilterFilter} \description{Tests whether a file should be displayed according to \code{filter}. The \code{\link{GtkFileFilterInfo}} structure \code{filter.info} should include the fields returned from \code{\link{gtkFileFilterGetNeeded}}.} \usage{gtkFileFilterFilter(object, filter.info)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileFilter}}} \item{\verb{filter.info}}{a \code{\link{GtkFileFilterInfo}} structure containing information about a file.} } \details{This function will not typically be used by applications; it is intended principally for use in the implementation of \code{\link{GtkFileChooser}}. Since 2.4} \value{[logical] \code{TRUE} if the file should be displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLine.Rd0000644000176000001440000000122612362217677014506 0ustar ripleyusers\alias{gdkDrawLine} \name{gdkDrawLine} \title{gdkDrawLine} \description{Draws a line, using the foreground color and other attributes of the \code{\link{GdkGC}}.} \usage{gdkDrawLine(object, gc, x1, y1, x2, y2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{x1}}{the x coordinate of the start point.} \item{\verb{y1}}{the y coordinate of the start point.} \item{\verb{x2}}{the x coordinate of the end point.} \item{\verb{y2}}{the y coordinate of the end point.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetMount.Rd0000644000176000001440000000060212362217677015411 0ustar ripleyusers\alias{gVolumeGetMount} \name{gVolumeGetMount} \title{gVolumeGetMount} \description{Gets the mount for the \code{volume}.} \usage{gVolumeGetMount(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[\code{\link{GMount}}] a \code{\link{GMount}} or \code{NULL} if \code{volume} isn't mounted.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefaultIconName.Rd0000644000176000001440000000075712362217677017673 0ustar ripleyusers\alias{gtkWindowSetDefaultIconName} \name{gtkWindowSetDefaultIconName} \title{gtkWindowSetDefaultIconName} \description{Sets an icon to be used as fallback for windows that haven't had \code{\link{gtkWindowSetIconList}} called on them from a named themed icon, see \code{\link{gtkWindowSetIconName}}.} \usage{gtkWindowSetDefaultIconName(name)} \arguments{\item{\verb{name}}{the name of the themed icon}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawPolygon.Rd0000644000176000001440000000141412362217677015265 0ustar ripleyusers\alias{gtkDrawPolygon} \name{gtkDrawPolygon} \title{gtkDrawPolygon} \description{ Draws a polygon on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_polygon} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintPolygon}} instead.} } \usage{gtkDrawPolygon(object, window, state.type, shadow.type, points, fill)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{points}}{a list of \code{\link{GdkPoint}}s} \item{\verb{fill}}{\code{TRUE} if the polygon should be filled} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestFindWidget.Rd0000644000176000001440000000200112362217677015675 0ustar ripleyusers\alias{gtkTestFindWidget} \name{gtkTestFindWidget} \title{gtkTestFindWidget} \description{This function will search the descendants of \code{widget} for a widget of type \code{widget.type} that has a label matching \code{label.pattern} next to it. This is most useful for automated GUI testing, e.g. to find the "OK" button in a dialog and synthesize clicks on it. However see \code{\link{gtkTestFindLabel}}, \code{\link{gtkTestFindSibling}} and \code{\link{gtkTestWidgetClick}} for possible caveats involving the search of such widgets and synthesizing widget events.} \usage{gtkTestFindWidget(widget, label.pattern, widget.type)} \arguments{ \item{\verb{widget}}{Container widget, usually a GtkWindow.} \item{\verb{label.pattern}}{Shell-glob pattern to match a label string.} \item{\verb{widget.type}}{Type of a aearched for label sibling widget.} } \details{Since 2.14} \value{[\code{\link{GtkWidget}}] a valid widget if any is found or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertInteractiveAtCursor.Rd0000644000176000001440000000145412362217677022150 0ustar ripleyusers\alias{gtkTextBufferInsertInteractiveAtCursor} \name{gtkTextBufferInsertInteractiveAtCursor} \title{gtkTextBufferInsertInteractiveAtCursor} \description{Calls \code{\link{gtkTextBufferInsertInteractive}} at the cursor position.} \usage{gtkTextBufferInsertInteractiveAtCursor(object, text, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{text}}{text in UTF-8 format} \item{\verb{default.editable}}{default editability of buffer} } \details{\code{default.editable} indicates the editability of text that doesn't have a tag affecting editability applied to it. Typically the result of \code{\link{gtkTextViewGetEditable}} is appropriate here.} \value{[logical] whether text was actually inserted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeEquals.Rd0000644000176000001440000000070312362217677016110 0ustar ripleyusers\alias{gContentTypeEquals} \name{gContentTypeEquals} \title{gContentTypeEquals} \description{Compares two content types for equality.} \usage{gContentTypeEquals(type1, type2)} \arguments{ \item{\verb{type1}}{a content type string.} \item{\verb{type2}}{a content type string.} } \value{[logical] \code{TRUE} if the two strings are identical or equivalent, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetParent.Rd0000644000176000001440000000115212362217677016070 0ustar ripleyusers\alias{gtkWidgetSetParent} \name{gtkWidgetSetParent} \title{gtkWidgetSetParent} \description{This function is useful only when implementing subclasses of \code{\link{GtkContainer}}. Sets the container as the parent of \code{widget}, and takes care of some details such as updating the state and style of the child to reflect its new location. The opposite function is \code{\link{gtkWidgetUnparent}}.} \usage{gtkWidgetSetParent(object, parent)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{parent}}{parent container} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GEmblemedIcon.Rd0000644000176000001440000000241112362217677014742 0ustar ripleyusers\alias{GEmblemedIcon} \alias{gEmblemedIcon} \name{GEmblemedIcon} \title{GEmblemedIcon} \description{Icon with emblems} \section{Methods and Functions}{ \code{\link{gEmblemedIconNew}(icon, emblem)}\cr \code{\link{gEmblemedIconGetIcon}(object)}\cr \code{\link{gEmblemedIconGetEmblems}(object)}\cr \code{\link{gEmblemedIconAddEmblem}(object, emblem)}\cr \code{gEmblemedIcon(icon, emblem)} } \section{Hierarchy}{\preformatted{GObject +----GEmblemedIcon}} \section{Interfaces}{GEmblemedIcon implements \code{\link{GIcon}}.} \section{Detailed Description}{\code{\link{GEmblemedIcon}} is an implementation of \code{\link{GIcon}} that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via \code{\link{gEmblemedIconAddEmblem}}. Note that \code{\link{GEmblemedIcon}} allows no control over the position of the emblems. See also \code{\link{GEmblem}} for more information.} \section{Structures}{\describe{\item{\verb{GEmblemedIcon}}{ An implementation of \code{\link{GIcon}} for icons with emblems. }}} \section{Convenient Construction}{\code{gEmblemedIcon} is the equivalent of \code{\link{gEmblemedIconNew}}.} \references{\url{http://library.gnome.org/devel//gio/GEmblemedIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutLineXToIndex.Rd0000644000176000001440000000326312362217677017053 0ustar ripleyusers\alias{pangoLayoutLineXToIndex} \name{pangoLayoutLineXToIndex} \title{pangoLayoutLineXToIndex} \description{Converts from x offset to the byte index of the corresponding character within the text of the layout. If \code{x.pos} is outside the line, \code{index.} and \code{trailing} will point to the very first or very last position in the line. This determination is based on the resolved direction of the paragraph; for example, if the resolved direction is right-to-left, then an X position to the right of the line (after it) results in 0 being stored in \code{index.} and \code{trailing}. An X position to the left of the line results in \code{index.} pointing to the (logical) last grapheme in the line and \code{trailing} being set to the number of characters in that grapheme. The reverse is true for a left-to-right line.} \usage{pangoLayoutLineXToIndex(object, x.pos)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} \item{\verb{x.pos}}{[integer] the X offset (in Pango units) from the left edge of the line.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{FALSE} if \code{x.pos} was outside the line, \code{TRUE} if inside} \item{\verb{index}}{[integer] location to store calculated byte index for the grapheme in which the user clicked.} \item{\verb{trailing}}{[integer] location to store an integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the leading edge of the grapheme.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetFileInfo.Rd0000644000176000001440000000136112362217677016312 0ustar ripleyusers\alias{gdkPixbufGetFileInfo} \name{gdkPixbufGetFileInfo} \title{gdkPixbufGetFileInfo} \description{Parses an image file far enough to determine its format and size.} \usage{gdkPixbufGetFileInfo(filename)} \arguments{\item{\verb{filename}}{The name of the file to identify.}} \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbufFormat}}] A \code{\link{GdkPixbufFormat}} describing the image format of the file or \code{NULL} if the image format wasn't recognized.} \item{\verb{width}}{Return location for the width of the image, or \code{NULL}} \item{\verb{height}}{Return location for the height of the image, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetNScreens.Rd0000644000176000001440000000060312362217677016505 0ustar ripleyusers\alias{gdkDisplayGetNScreens} \name{gdkDisplayGetNScreens} \title{gdkDisplayGetNScreens} \description{Gets the number of screen managed by the \code{display}.} \usage{gdkDisplayGetNScreens(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[integer] number of screens.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFaceList.Rd0000644000176000001440000000104712362217677017651 0ustar ripleyusers\alias{gtkFontSelectionGetFaceList} \name{gtkFontSelectionGetFaceList} \title{gtkFontSelectionGetFaceList} \description{This returns the \code{\link{GtkTreeView}} which lists all styles available for the selected font. For example, 'Regular', 'Bold', etc.} \usage{gtkFontSelectionGetFaceList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A \code{\link{GtkWidget}} that is part of \code{fontsel}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionDisconnectAccelerator.Rd0000644000176000001440000000062412362217677020416 0ustar ripleyusers\alias{gtkActionDisconnectAccelerator} \name{gtkActionDisconnectAccelerator} \title{gtkActionDisconnectAccelerator} \description{Undoes the effect of one call to \code{\link{gtkActionConnectAccelerator}}.} \usage{gtkActionDisconnectAccelerator(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetSelectionMode.Rd0000644000176000001440000000066412362217677017664 0ustar ripleyusers\alias{gtkIconViewGetSelectionMode} \name{gtkIconViewGetSelectionMode} \title{gtkIconViewGetSelectionMode} \description{Gets the selection mode of the \code{icon.view}.} \usage{gtkIconViewGetSelectionMode(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \value{[\code{\link{GtkSelectionMode}}] the current selection mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemNewWithOrigin.Rd0000644000176000001440000000072512362217677016344 0ustar ripleyusers\alias{gEmblemNewWithOrigin} \name{gEmblemNewWithOrigin} \title{gEmblemNewWithOrigin} \description{Creates a new emblem for \code{icon}.} \usage{gEmblemNewWithOrigin(icon, origin)} \arguments{ \item{\verb{icon}}{a GIcon containing the icon.} \item{\verb{origin}}{a GEmblemOrigin enum defining the emblem's origin} } \details{Since 2.18} \value{[\code{\link{GEmblem}}] a new \code{\link{GEmblem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuAttach.Rd0000644000176000001440000000214712362217677015055 0ustar ripleyusers\alias{gtkMenuAttach} \name{gtkMenuAttach} \title{gtkMenuAttach} \description{Adds a new \code{\link{GtkMenuItem}} to a (table) menu. The number of 'cells' that an item will occupy is specified by \code{left.attach}, \code{right.attach}, \code{top.attach} and \code{bottom.attach}. These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero).} \usage{gtkMenuAttach(object, child, left.attach, right.attach, top.attach, bottom.attach)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{child}}{a \code{\link{GtkMenuItem}}.} \item{\verb{left.attach}}{The column number to attach the left side of the item to.} \item{\verb{right.attach}}{The column number to attach the right side of the item to.} \item{\verb{top.attach}}{The row number to attach the top of the item to.} \item{\verb{bottom.attach}}{The row number to attach the bottom of the item to.} } \details{Note that this function is not related to \code{\link{gtkMenuDetach}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListFreeze.Rd0000644000176000001440000000123612362217677015201 0ustar ripleyusers\alias{gtkCListFreeze} \name{gtkCListFreeze} \title{gtkCListFreeze} \description{ Causes the \code{\link{GtkCList}} to stop updating its visuals until a matching call to \code{\link{gtkCListThaw}} is made. This function is useful if a lot of changes will be made to the widget that may cause a lot of visual updating to occur. Note that calls to \code{\link{gtkCListFreeze}} can be nested. \strong{WARNING: \code{gtk_clist_freeze} is deprecated and should not be used in newly-written code.} } \usage{gtkCListFreeze(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to freeze.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererSetGc.Rd0000644000176000001440000000125612362217677016465 0ustar ripleyusers\alias{gdkPangoRendererSetGc} \name{gdkPangoRendererSetGc} \title{gdkPangoRendererSetGc} \description{Sets the GC the renderer draws with. Note that the GC must not be modified until it is unset by calling the function again with \code{NULL} for the \code{gc} parameter, since GDK may make internal copies of the GC which won't be updated to follow changes to the original GC.} \usage{gdkPangoRendererSetGc(object, gc = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPangoRenderer}}} \item{\verb{gc}}{the new GC to use for drawing, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamSkipAsync.Rd0000644000176000001440000000355512362217677016571 0ustar ripleyusers\alias{gInputStreamSkipAsync} \name{gInputStreamSkipAsync} \title{gInputStreamSkipAsync} \description{Request an asynchronous skip of \code{count} bytes from the stream. When the operation is finished \code{callback} will be called. You can then call \code{\link{gInputStreamSkipFinish}} to get the result of the operation.} \usage{gInputStreamSkipAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GInputStream}}.} \item{\verb{count}}{the number of bytes that will be skipped from the stream} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{During an async request no other sync and async calls are allowed, and will result in \code{G_IO_ERROR_PENDING} errors. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes skipped will be passed to the callback. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file, but generally we try to skip as many bytes as requested. Zero is returned on end of file (or if \code{count} is zero), but never otherwise. Any outstanding i/o request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is \code{G_PRIORITY_DEFAULT}. The asyncronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetTags.Rd0000644000176000001440000000115012362217677016044 0ustar ripleyusers\alias{gtkTextIterGetTags} \name{gtkTextIterGetTags} \title{gtkTextIterGetTags} \description{Returns a list of tags that apply to \code{iter}, in ascending order of priority (highest-priority tags are last). The \code{\link{GtkTextTag}} in the list don't have a reference added, but you have to free the list itself.} \usage{gtkTextIterGetTags(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[list] list of \code{\link{GtkTextTag}}. \emph{[ \acronym{element-type} GtkTextTag][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionIntersect.Rd0000644000176000001440000000101212362217677016076 0ustar ripleyusers\alias{gdkRegionIntersect} \name{gdkRegionIntersect} \title{gdkRegionIntersect} \description{Sets the area of \code{source1} to the intersection of the areas of \code{source1} and \code{source2}. The resulting area is the set of pixels contained in both \code{source1} and \code{source2}.} \usage{gdkRegionIntersect(object, source2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{source2}}{another \code{\link{GdkRegion}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitlesPassive.Rd0000644000176000001440000000106512362217677017736 0ustar ripleyusers\alias{gtkCListColumnTitlesPassive} \name{gtkCListColumnTitlesPassive} \title{gtkCListColumnTitlesPassive} \description{ Causes all column title buttons to become passive. This is the same as calling \code{\link{gtkCListColumnTitlePassive}} for each column. \strong{WARNING: \code{gtk_clist_column_titles_passive} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitlesPassive(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetMarkupWithMnemonic.Rd0000644000176000001440000000146412362217677020222 0ustar ripleyusers\alias{gtkLabelSetMarkupWithMnemonic} \name{gtkLabelSetMarkupWithMnemonic} \title{gtkLabelSetMarkupWithMnemonic} \description{Parses \code{str} which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. If characters in \code{str} are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic.} \usage{gtkLabelSetMarkupWithMnemonic(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{str}}{a markup string (see Pango markup format)} } \details{The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using \code{\link{gtkLabelSetMnemonicWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkLabel.Rd0000644000176000001440000004064712362217677014012 0ustar ripleyusers\alias{GtkLabel} \alias{gtkLabel} \name{GtkLabel} \title{GtkLabel} \description{A widget that displays a small to medium amount of text} \section{Methods and Functions}{ \code{\link{gtkLabelNew}(str = NULL, show = TRUE)}\cr \code{\link{gtkLabelSetText}(object, str)}\cr \code{\link{gtkLabelSetAttributes}(object, attrs)}\cr \code{\link{gtkLabelSetMarkup}(object, str)}\cr \code{\link{gtkLabelSetMarkupWithMnemonic}(object, str)}\cr \code{\link{gtkLabelSetPattern}(object, pattern)}\cr \code{\link{gtkLabelSetJustify}(object, jtype)}\cr \code{\link{gtkLabelSetEllipsize}(object, mode)}\cr \code{\link{gtkLabelSetWidthChars}(object, n.chars)}\cr \code{\link{gtkLabelSetMaxWidthChars}(object, n.chars)}\cr \code{\link{gtkLabelGet}(object)}\cr \code{\link{gtkLabelParseUline}(object, string)}\cr \code{\link{gtkLabelSetLineWrap}(object, wrap)}\cr \code{\link{gtkLabelSetLineWrapMode}(object, wrap.mode)}\cr \code{\link{gtkLabelGetLayoutOffsets}(object)}\cr \code{\link{gtkLabelGetMnemonicKeyval}(object)}\cr \code{\link{gtkLabelGetSelectable}(object)}\cr \code{\link{gtkLabelGetText}(object)}\cr \code{\link{gtkLabelNewWithMnemonic}(str = NULL, show = TRUE)}\cr \code{\link{gtkLabelSelectRegion}(object, start.offset, end.offset)}\cr \code{\link{gtkLabelSetMnemonicWidget}(object, widget)}\cr \code{\link{gtkLabelSetSelectable}(object, setting)}\cr \code{\link{gtkLabelSetTextWithMnemonic}(object, str)}\cr \code{\link{gtkLabelGetAttributes}(object)}\cr \code{\link{gtkLabelGetJustify}(object)}\cr \code{\link{gtkLabelGetEllipsize}(object)}\cr \code{\link{gtkLabelGetWidthChars}(object)}\cr \code{\link{gtkLabelGetMaxWidthChars}(object)}\cr \code{\link{gtkLabelGetLabel}(object)}\cr \code{\link{gtkLabelGetLayout}(object)}\cr \code{\link{gtkLabelGetLineWrap}(object)}\cr \code{\link{gtkLabelGetLineWrapMode}(object)}\cr \code{\link{gtkLabelGetMnemonicWidget}(object)}\cr \code{\link{gtkLabelGetSelectionBounds}(object)}\cr \code{\link{gtkLabelGetUseMarkup}(object)}\cr \code{\link{gtkLabelGetUseUnderline}(object)}\cr \code{\link{gtkLabelGetSingleLineMode}(object)}\cr \code{\link{gtkLabelGetAngle}(object)}\cr \code{\link{gtkLabelSetLabel}(object, str)}\cr \code{\link{gtkLabelSetUseMarkup}(object, setting)}\cr \code{\link{gtkLabelSetUseUnderline}(object, setting)}\cr \code{\link{gtkLabelSetSingleLineMode}(object, single.line.mode)}\cr \code{\link{gtkLabelSetAngle}(object, angle)}\cr \code{\link{gtkLabelGetCurrentUri}(object)}\cr \code{\link{gtkLabelSetTrackVisitedLinks}(object, track.links)}\cr \code{\link{gtkLabelGetTrackVisitedLinks}(object)}\cr \code{gtkLabel(str = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkLabel +----GtkAccelLabel +----GtkTipsQuery}} \section{Interfaces}{GtkLabel implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkLabel}} widget displays a small amount of text. As the name implies, most labels are used to label another widget such as a \code{\link{GtkButton}}, a \code{\link{GtkMenuItem}}, or a \code{\link{GtkOptionMenu}}.} \section{GtkLabel as GtkBuildable}{The GtkLabel implementation of the GtkBuildable interface supports a custom element, which supports any number of elements. the element has attributes named name, value, start and end and allows you to specify \code{\link{PangoAttribute}} values for this label. \emph{A UI definition fragment specifying Pango attributes}\preformatted{ " } The start and end attributes specify the range of characters to which the Pango attribute applies. If start and end are not specified, the attribute is applied to the whole text. Note that specifying ranges does not make much sense with translatable attributes. Use markup embedded in the translatable content instead.} \section{Mnemonics}{Labels may contain \dfn{mnemonics}. Mnemonics are underlined characters in the label, used for keyboard navigation. Mnemonics are created by providing a string with an underscore before the mnemonic character, such as \code{"_File"}, to the functions \code{\link{gtkLabelNewWithMnemonic}} or \code{\link{gtkLabelSetTextWithMnemonic}}. Mnemonics automatically activate any activatable widget the label is inside, such as a \code{\link{GtkButton}}; if the label is not inside the mnemonic's target widget, you have to tell the label about the target using \code{\link{gtkLabelSetMnemonicWidget}}. Here's a simple example where the label is inside a button: \preformatted{ ## Pressing Alt-H will activate this button button <- gtkButton() label <- gtkLabelNewWithMnemonic("_Hello") button$add(label) } There's a convenience function to create buttons with a mnemonic label already inside: \preformatted{ ## Pressing Alt+H will activate this button button <- gtkButtonNewWithMnemonic("_Hello") } To create a mnemonic for a widget alongside the label, such as a \code{\link{GtkEntry}}, you have to point the label at the entry with \code{\link{gtkLabelSetMnemonicWidget}}: \preformatted{ ## Pressing Alt+H will focus the entry entry <- gtkEntry() label <- gtkLabelNewWithMnemonic("_Hello") label$setMnemonicWidget(entry) }} \section{Markup (styled text)}{To make it easy to format text in a label (changing colors, fonts, etc.), label text can be provided in a simple markup format. Here's how to create a label with a small font: \preformatted{ label <- gtkLabelNew() label$setMarkup("Small text") } (See complete documentation of available tags in the Pango manual.) The markup passed to \code{\link{gtkLabelSetMarkup}} must be valid; for example, literal /& characters must be escaped as <, >, and &. If you pass text obtained from the user, file, or a network to \code{\link{gtkLabelSetMarkup}}, you'll want to escape it with \code{gMarkupEscapeText()} or \code{gMarkupPrintfEscaped()}. Markup strings are just a convenient way to set the \code{\link{PangoAttrList}} on a label; \code{\link{gtkLabelSetAttributes}} may be a simpler way to set attributes in some cases. Be careful though; \code{\link{PangoAttrList}} tends to cause internationalization problems, unless you're applying attributes to the entire string (i.e. unless you set the range of each attribute to [0, G_MAXINT)). The reason is that specifying the start_index and end_index for a \code{\link{PangoAttribute}} requires knowledge of the exact string being displayed, so translations will cause problems.} \section{Selectable labels}{Labels can be made selectable with \code{\link{gtkLabelSetSelectable}}. Selectable labels allow the user to copy the label contents to the clipboard. Only labels that contain useful-to-copy information -- such as error messages -- should be made selectable.} \section{Text layout}{A label can contain any number of paragraphs, but will have performance problems if it contains more than a small number. Paragraphs are separated by newlines or other paragraph separators understood by Pango. Labels can automatically wrap text if you call \code{\link{gtkLabelSetLineWrap}}. \code{\link{gtkLabelSetJustify}} sets how the lines in a label align with one another. If you want to set how the label as a whole aligns in its available space, see \code{\link{gtkMiscSetAlignment}}.} \section{Links}{Since 2.18, GTK+ supports markup for clickable hyperlinks in addition to regular Pango markup. The markup for links is borrowed from HTML, using the \code{a} with href and title attributes. GTK+ renders links similar to the way they appear in web browsers, with colored, underlined text. The title attribute is displayed as a tooltip on the link. An example looks like this: \preformatted{label$setMarkup("Go to the <a href=\"http://www.gtk.org\" title=\"&lt;i&gt;Our&/i&gt; website\">GTK+ website</a> for more...")} It is possible to implement custom handling for links and their tooltips with the \verb{"activate-link"} signal and the \code{\link{gtkLabelGetCurrentUri}} function.} \section{Structures}{\describe{\item{\verb{GtkLabel}}{ This should not be accessed directly. Use the accessor functions as described below. }}} \section{Convenient Construction}{\code{gtkLabel} is the result of collapsing the constructors of \code{GtkLabel} (\code{\link{gtkLabelNew}}, \code{\link{gtkLabelNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{activate-current-link(label, user.data)}}{ A keybinding signal which gets emitted when the user activates a link in the label. Applications may also emit the signal with \code{gSignalEmitByName()} if they need to control activation of URIs programmatically. The default bindings for this signal are all forms of the Enter key. Since 2.18 \describe{ \item{\code{label}}{The label on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{activate-link(label, uri, user.data)}}{ The signal which gets emitted to activate a URI. Applications may connect to it to override the default behaviour, which is to call \code{\link{gtkShowUri}}. Since 2.18 \describe{ \item{\code{label}}{The label on which the signal was emitted} \item{\code{uri}}{the URI that is activated} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the link has been activated } \item{\code{copy-clipboard(label, user.data)}}{ The ::copy-clipboard signal is a keybinding signal which gets emitted to copy the selection to the clipboard. The default binding for this signal is Ctrl-c. \describe{ \item{\code{label}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(entry, step, count, extend.selection, user.data)}}{ The ::move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement. If the cursor is not visible in \code{entry}, this signal causes the viewport to be moved instead. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control the cursor programmatically. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here. \itemize{ \item \item \item } \describe{ \item{\code{entry}}{the object which received the signal} \item{\code{step}}{the granularity of the move, as a \code{\link{GtkMovementStep}}} \item{\code{count}}{the number of \code{step} units to move} \item{\code{extend.selection}}{\code{TRUE} if the move should extend the selection} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{populate-popup(label, menu, user.data)}}{ The ::populate-popup signal gets emitted before showing the context menu of the label. Note that only selectable labels have context menus. If you need to add items to the context menu, connect to this signal and append your menuitems to the \code{menu}. \describe{ \item{\code{label}}{The label on which the signal is emitted} \item{\code{menu}}{the menu that is being populated} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{angle} [numeric : Read / Write]}{ The angle that the baseline of the label makes with the horizontal, in degrees, measured counterclockwise. An angle of 90 reads from from bottom to top, an angle of 270, from top to bottom. Ignored if the label is selectable, wrapped, or ellipsized. Allowed values: [0,360] Default value: 0 Since 2.6 } \item{\verb{attributes} [\code{\link{PangoAttrList}} : * : Read / Write]}{ A list of style attributes to apply to the text of the label. } \item{\verb{cursor-position} [integer : Read]}{ The current position of the insertion cursor in chars. Allowed values: >= 0 Default value: 0 } \item{\verb{ellipsize} [\code{\link{PangoEllipsizeMode}} : Read / Write]}{ The preferred place to ellipsize the string, if the label does not have enough room to display the entire string, specified as a \verb{PangoEllisizeMode}. Note that setting this property to a value other than \code{PANGO_ELLIPSIZE_NONE} has the side-effect that the label requests only enough space to display the ellipsis "...". In particular, this means that ellipsizing labels do not work well in notebook tabs, unless the tab's \verb{"tab-expand"} property is set to \code{TRUE}. Other ways to set a label's width are \code{\link{gtkWidgetSetSizeRequest}} and \code{\link{gtkLabelSetWidthChars}}. Default value: PANGO_ELLIPSIZE_NONE Since 2.6 } \item{\verb{justify} [\code{\link{GtkJustification}} : Read / Write]}{ The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkMisc::xalign for that. Default value: GTK_JUSTIFY_LEFT } \item{\verb{label} [character : * : Read / Write]}{ The text of the label. Default value: "" } \item{\verb{max-width-chars} [integer : Read / Write]}{ The desired maximum width of the label, in characters. If this property is set to -1, the width will be calculated automatically, otherwise the label will request space for no more than the requested number of characters. If the \verb{"width-chars"} property is set to a positive value, then the "max-width-chars" property is ignored. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{mnemonic-keyval} [numeric : Read]}{ The mnemonic accelerator key for this label. Default value: 16777215 } \item{\verb{mnemonic-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ The widget to be activated when the label's mnemonic key is pressed. } \item{\verb{pattern} [character : * : Write]}{ A string with _ characters in positions correspond to characters in the text to underline. Default value: NULL } \item{\verb{selectable} [logical : Read / Write]}{ Whether the label text can be selected with the mouse. Default value: FALSE } \item{\verb{selection-bound} [integer : Read]}{ The position of the opposite end of the selection from the cursor in chars. Allowed values: >= 0 Default value: 0 } \item{\verb{single-line-mode} [logical : Read / Write]}{ Whether the label is in single line mode. In single line mode, the height of the label does not depend on the actual text, it is always set to ascent + descent of the font. This can be an advantage in situations where resizing the label because of text changes would be distracting, e.g. in a statusbar. Default value: FALSE Since 2.6 } \item{\verb{track-visited-links} [logical : Read / Write]}{ Set this property to \code{TRUE} to make the label track which links have been clicked. It will then apply the ::visited-link-color color, instead of ::link-color. Default value: TRUE Since 2.18 } \item{\verb{use-markup} [logical : Read / Write]}{ The text of the label includes XML markup. See pango_parse_markup(). Default value: FALSE } \item{\verb{use-underline} [logical : Read / Write]}{ If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Default value: FALSE } \item{\verb{width-chars} [integer : Read / Write]}{ The desired width of the label, in characters. If this property is set to -1, the width will be calculated automatically, otherwise the label will request either 3 characters or the property value, whichever is greater. If the "width-chars" property is set to a positive value, then the \verb{"max-width-chars"} property is ignored. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{wrap} [logical : Read / Write]}{ If set, wrap lines if the text becomes too wide. Default value: FALSE } \item{\verb{wrap-mode} [\code{\link{PangoWrapMode}} : Read / Write]}{ If line wrapping is on (see the \verb{"wrap"} property) this controls how the line wrapping is done. The default is \code{PANGO_WRAP_WORD}, which means wrap on word boundaries. Default value: PANGO_WRAP_WORD Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkLabel.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetUnit.Rd0000644000176000001440000000100612362217677017306 0ustar ripleyusers\alias{gtkPrintOperationSetUnit} \name{gtkPrintOperationSetUnit} \title{gtkPrintOperationSetUnit} \description{Sets up the transformation for the cairo context obtained from \code{\link{GtkPrintContext}} in such a way that distances are measured in units of \code{unit}.} \usage{gtkPrintOperationSetUnit(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{unit}}{the unit to use} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetFilter.Rd0000644000176000001440000000075412362217677016561 0ustar ripleyusers\alias{cairoPatternGetFilter} \name{cairoPatternGetFilter} \title{cairoPatternGetFilter} \description{Gets the current filter for a pattern. See \code{\link{CairoFilter}} for details on each filter.} \usage{cairoPatternGetFilter(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \value{[\code{\link{CairoFilter}}] the current filter used for resizing the pattern.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToServiceFinish.Rd0000644000176000001440000000154612362217677021355 0ustar ripleyusers\alias{gSocketClientConnectToServiceFinish} \name{gSocketClientConnectToServiceFinish} \title{gSocketClientConnectToServiceFinish} \description{Finishes an async connect operation. See \code{\link{gSocketClientConnectToServiceAsync}}} \usage{gSocketClientConnectToServiceFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardCursorPosition.Rd0000644000176000001440000000203412362217677021037 0ustar ripleyusers\alias{gtkTextIterForwardCursorPosition} \name{gtkTextIterForwardCursorPosition} \title{gtkTextIterForwardCursorPosition} \description{Moves \code{iter} forward by a single cursor position. Cursor positions are (unsurprisingly) positions where the cursor can appear. Perhaps surprisingly, there may not be a cursor position between all characters. The most common example for European languages would be a carriage return/newline sequence. For some Unicode characters, the equivalent of say the letter "a" with an accent mark will be represented as two characters, first the letter then a "combining mark" that causes the accent to be rendered; so the cursor can't go between those two characters. See also the \code{\link{PangoLogAttr}} structure and \code{\link{pangoBreak}} function.} \usage{gtkTextIterForwardCursorPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetIconSet.Rd0000644000176000001440000000150512362217677015770 0ustar ripleyusers\alias{gtkImageGetIconSet} \name{gtkImageGetIconSet} \title{gtkImageGetIconSet} \description{Gets the icon set and size being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_ICON_SET} (see \code{\link{gtkImageGetStorageType}}).} \usage{gtkImageGetIconSet(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{ A list containing the following elements: \item{\verb{icon.set}}{location to store a \code{\link{GtkIconSet}}, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{size}}{location to store a stock icon size, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ][ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceDestroy.Rd0000644000176000001440000000066612362217677016302 0ustar ripleyusers\alias{cairoSurfaceDestroy} \name{cairoSurfaceDestroy} \title{cairoSurfaceDestroy} \description{Decreases the reference count on \code{surface} by one. If the result is zero, then \code{surface} and all associated resources are freed.} \usage{cairoSurfaceDestroy(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumerateChildrenAsync.Rd0000644000176000001440000000250212362217677017654 0ustar ripleyusers\alias{gFileEnumerateChildrenAsync} \name{gFileEnumerateChildrenAsync} \title{gFileEnumerateChildrenAsync} \description{Asynchronously gets the requested information about the files in a directory. The result is a \code{\link{GFileEnumerator}} object that will give out \code{\link{GFileInfo}} objects for all the files in the directory.} \usage{gFileEnumerateChildrenAsync(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileEnumerateChildren}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileEnumerateChildrenFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetUri.Rd0000644000176000001440000000363612362217677016366 0ustar ripleyusers\alias{gtkFileChooserSetUri} \name{gtkFileChooserSetUri} \title{gtkFileChooserSetUri} \description{Sets the file referred to by \code{uri} as the current file for the file chooser, by changing to the URI's parent folder and actually selecting the URI in the list. If the \code{chooser} is \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode, the URI's base name will also appear in the dialog's file name entry.} \usage{gtkFileChooserSetUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{the URI to set as current} } \details{If the URI isn't in the current folder of \code{chooser}, then the current folder of \code{chooser} will be changed to the folder containing \code{uri}. This is equivalent to a sequence of \code{\link{gtkFileChooserUnselectAll}} followed by \code{\link{gtkFileChooserSelectUri}}. Note that the URI must exist, or nothing will be done except for the directory change. If you are implementing a \emph{File/Save As...} dialog, you should use this function if you already have a file name to which the user may save; for example, when the user opens an existing file and then does \emph{File/Save As...} on it. If you don't have a file name already -- for example, if the user just created a new file and is saving it for the first time, do not call this function. Instead, use something similar to this: \preformatted{if (document_is_new) { /* the user just created a new document */ gtk_file_chooser_set_current_folder_uri (chooser, default_folder_for_saving); gtk_file_chooser_set_current_name (chooser, "Untitled document"); } else { /* the user edited an existing document */ gtk_file_chooser_set_uri (chooser, existing_uri); } } Since 2.4} \value{[logical] \code{TRUE} if both the folder could be changed and the URI was selected successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnNewWithAttributes.Rd0000644000176000001440000000204712362217677021310 0ustar ripleyusers\alias{gtkTreeViewColumnNewWithAttributes} \name{gtkTreeViewColumnNewWithAttributes} \title{gtkTreeViewColumnNewWithAttributes} \description{Creates a new \code{\link{GtkTreeViewColumn}} with a number of default values. This is equivalent to calling \code{\link{gtkTreeViewColumnSetTitle}}, \code{\link{gtkTreeViewColumnPackStart}}, and \code{\link{gtkTreeViewColumnSetAttributes}} on the newly created \code{\link{GtkTreeViewColumn}}.} \usage{gtkTreeViewColumnNewWithAttributes(title, cell, ...)} \arguments{ \item{\verb{title}}{The title to set the header to.} \item{\verb{cell}}{The \code{\link{GtkCellRenderer}}.} \item{\verb{...}}{A newly created \code{\link{GtkTreeViewColumn}}.} } \details{Here's a simple example: \preformatted{ renderer <- gtkCellRendererText() column <- gtkTreeViewColumn("Title", renderer, "text" = TEXT_COLUMN, "foreground" = COLOR_COLUMN) }} \value{[\code{\link{GtkTreeViewColumn}}] A newly created \code{\link{GtkTreeViewColumn}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationTypeForName.Rd0000644000176000001440000000114012362217677016675 0ustar ripleyusers\alias{atkRelationTypeForName} \name{atkRelationTypeForName} \title{atkRelationTypeForName} \description{Get the \code{\link{AtkRelationType}} type corresponding to a relation name.} \usage{atkRelationTypeForName(name)} \arguments{\item{\verb{name}}{[character] a string which is the (non-localized) name of an ATK relation type.}} \value{[\code{\link{AtkRelationType}}] the \code{\link{AtkRelationType}} enumerated type corresponding to the specified name, or \verb{ATK_RELATION_NULL} if no matching relation type is found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferNew.Rd0000644000176000001440000000114312362217677015724 0ustar ripleyusers\alias{gtkEntryBufferNew} \name{gtkEntryBufferNew} \title{gtkEntryBufferNew} \description{Create a new GtkEntryBuffer object.} \usage{gtkEntryBufferNew(initial.chars = NULL, n.initial.chars = -1)} \arguments{ \item{\verb{initial.chars}}{initial buffer text, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{n.initial.chars}}{number of characters in \code{initial.chars}, or -1} } \details{Optionally, specify initial text to set in the buffer. Since 2.18} \value{[\code{\link{GtkEntryBuffer}}] A new GtkEntryBuffer object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowFreezeUpdates.Rd0000644000176000001440000000116312362217677016737 0ustar ripleyusers\alias{gdkWindowFreezeUpdates} \name{gdkWindowFreezeUpdates} \title{gdkWindowFreezeUpdates} \description{Temporarily freezes a window such that it won't receive expose events. The window will begin receiving expose events again when \code{\link{gdkWindowThawUpdates}} is called. If \code{\link{gdkWindowFreezeUpdates}} has been called more than once, \code{\link{gdkWindowThawUpdates}} must be called an equal number of times to begin processing exposes.} \usage{gdkWindowFreezeUpdates(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsGetInfoFromTipWindow.Rd0000644000176000001440000000210012362217677020573 0ustar ripleyusers\alias{gtkTooltipsGetInfoFromTipWindow} \name{gtkTooltipsGetInfoFromTipWindow} \title{gtkTooltipsGetInfoFromTipWindow} \description{ Determines the tooltips and the widget they belong to from the window in which they are displayed. \strong{WARNING: \code{gtk_tooltips_get_info_from_tip_window} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsGetInfoFromTipWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{tip.window} is displaying tooltips, otherwise \code{FALSE}.} \item{\verb{tooltips}}{the return location for the tooltips which are displayed in \code{tip.window}, or \code{NULL}} \item{\verb{current.widget}}{the return location for the widget whose tooltips are displayed, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintFocus.Rd0000644000176000001440000000213112362217677015070 0ustar ripleyusers\alias{gtkPaintFocus} \name{gtkPaintFocus} \title{gtkPaintFocus} \description{Draws a focus indicator around the given rectangle on \code{window} using the given style.} \usage{gtkPaintFocus(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{the x origin of the rectangle around which to draw a focus indicator} \item{\verb{y}}{the y origin of the rectangle around which to draw a focus indicator} \item{\verb{width}}{the width of the rectangle around which to draw a focus indicator} \item{\verb{height}}{the height of the rectangle around which to draw a focus indicator} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMMulticontextAppendMenuitems.Rd0000644000176000001440000000106412362217677020765 0ustar ripleyusers\alias{gtkIMMulticontextAppendMenuitems} \name{gtkIMMulticontextAppendMenuitems} \title{gtkIMMulticontextAppendMenuitems} \description{Add menuitems for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global default input method.} \usage{gtkIMMulticontextAppendMenuitems(object, menushell)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMMulticontext}}} \item{\verb{menushell}}{a \code{\link{GtkMenuShell}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetDither.Rd0000644000176000001440000000065312362217677017455 0ustar ripleyusers\alias{gtkPrintSettingsSetDither} \name{gtkPrintSettingsSetDither} \title{gtkPrintSettingsSetDither} \description{Sets the value of \code{GTK_PRINT_SETTINGS_DITHER}.} \usage{gtkPrintSettingsSetDither(object, dither)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{dither}}{the dithering that is used} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumerateChildren.Rd0000644000176000001440000000404712362217677016664 0ustar ripleyusers\alias{gFileEnumerateChildren} \name{gFileEnumerateChildren} \title{gFileEnumerateChildren} \description{Gets the requested information about the files in a directory. The result is a \code{\link{GFileEnumerator}} object that will give out \code{\link{GFileInfo}} objects for all the files in the directory.} \usage{gFileEnumerateChildren(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The \code{attribute} value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. \code{attribute} should be a comma-separated list of attribute or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the standard namespace. An example attribute query be "standard::*,owner::user". The standard attributes are available as defines, like \verb{G_FILE_ATTRIBUTE_STANDARD_NAME}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. If the file is not a directory, the G_FILE_ERROR_NOTDIR error will be returned. Other errors are possible too.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileEnumerator}}] A \code{\link{GFileEnumerator}} if successful, \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawErrorUnderline.Rd0000644000176000001440000000223412362217677020604 0ustar ripleyusers\alias{pangoRendererDrawErrorUnderline} \name{pangoRendererDrawErrorUnderline} \title{pangoRendererDrawErrorUnderline} \description{Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle)} \usage{pangoRendererDrawErrorUnderline(object, x, y, width, height)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{x}}{[integer] X coordinate of underline, in Pango units in user coordinate system} \item{\verb{y}}{[integer] Y coordinate of underline, in Pango units in user coordinate system} \item{\verb{width}}{[integer] width of underline, in Pango units in user coordinate system} \item{\verb{height}}{[integer] height of underline, in Pango units in user coordinate system} } \details{This should be called while \code{renderer} is already active. Use \code{\link{pangoRendererActivate}} to activate a renderer. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetNodeInfo.Rd0000644000176000001440000000211112362217677016113 0ustar ripleyusers\alias{gtkCTreeSetNodeInfo} \name{gtkCTreeSetNodeInfo} \title{gtkCTreeSetNodeInfo} \description{ Change the information. Most parameters correspond to the parameters of \code{\link{gtkCTreeInsertNode}}. \strong{WARNING: \code{gtk_ctree_set_node_info} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetNodeInfo(object, node, text, spacing, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf, expanded)} \arguments{ \item{\verb{object}}{The text to be in the tree column.} \item{\verb{node}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{text}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{spacing}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{pixmap.closed}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask.closed}}{\emph{undocumented }} \item{\verb{pixmap.opened}}{\emph{undocumented }} \item{\verb{mask.opened}}{\emph{undocumented }} \item{\verb{is.leaf}}{\emph{undocumented }} \item{\verb{expanded}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSelectAll.Rd0000644000176000001440000000056012362217677017014 0ustar ripleyusers\alias{gtkFileChooserSelectAll} \name{gtkFileChooserSelectAll} \title{gtkFileChooserSelectAll} \description{Selects all the files in the current folder of a file chooser.} \usage{gtkFileChooserSelectAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPageSet.Rd0000644000176000001440000000067312362217677017570 0ustar ripleyusers\alias{gtkPrintSettingsSetPageSet} \name{gtkPrintSettingsSetPageSet} \title{gtkPrintSettingsSetPageSet} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PAGE_SET}.} \usage{gtkPrintSettingsSetPageSet(object, page.set)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{page.set}}{a \code{\link{GtkPageSet}} value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIconEqual.Rd0000644000176000001440000000067412362217677014350 0ustar ripleyusers\alias{gIconEqual} \name{gIconEqual} \title{gIconEqual} \description{Checks if two icons are equal.} \usage{gIconEqual(object, icon2)} \arguments{ \item{\verb{object}}{pointer to the first \code{\link{GIcon}}.} \item{\verb{icon2}}{pointer to the second \code{\link{GIcon}}.} } \value{[logical] \code{TRUE} if \code{icon1} is equal to \code{icon2}. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetCurrentColor.Rd0000644000176000001440000000106012362217677020743 0ustar ripleyusers\alias{gtkColorSelectionGetCurrentColor} \name{gtkColorSelectionGetCurrentColor} \title{gtkColorSelectionGetCurrentColor} \description{Sets \code{color} to be the current color in the GtkColorSelection widget.} \usage{gtkColorSelectionGetCurrentColor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{ A list containing the following elements: \item{\verb{color}}{a \code{\link{GdkColor}} to fill in with the current color. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsLevelToString.Rd0000644000176000001440000000107012362217677016372 0ustar ripleyusers\alias{cairoPsLevelToString} \name{cairoPsLevelToString} \title{cairoPsLevelToString} \description{Get the string representation of the given \code{level} id. This function will return \code{NULL} if \code{level} id isn't valid. See \code{\link{cairoPsGetLevels}} for a way to get the list of valid level ids.} \usage{cairoPsLevelToString(level)} \arguments{\item{\verb{level}}{[\code{\link{CairoPsLevel}}] a level id}} \details{ Since 1.6} \value{[char] the string associated to given level.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHypertextGetNLinks.Rd0000644000176000001440000000066112362217677016570 0ustar ripleyusers\alias{atkHypertextGetNLinks} \name{atkHypertextGetNLinks} \title{atkHypertextGetNLinks} \description{Gets the number of links within this hypertext document.} \usage{atkHypertextGetNLinks(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHypertext}}] an \code{\link{AtkHypertext}}}} \value{[integer] the number of links within this hypertext document} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/enums-and-flags.Rd0000644000176000001440000000343311766145227015274 0ustar ripleyusers\name{enums-and-flags} \title{Enums and Flags} \alias{enums-and-flags} \alias{as.flag} \alias{[.flags} \alias{|.flag} \alias{&.flag} \alias{!.flag} \alias{==.enum} \alias{print.enum} \alias{print.flag} \alias{print.enums} \alias{print.flags} \description{Convenience functions and operators for operating on bitflags and enums} \usage{ as.flag(x) \method{[}{flags}(x, value) \method{|}{flag}(x, y) \method{&}{flag}(x, y) \method{!}{flag}(x) \method{==}{enum}(x, y) } \arguments{ \item{x}{Numeric value to coerce to a \code{flag}, an object of class \code{flags}, or the left hand operand} \item{y}{Right hand operand} \item{value}{The character id or index for a particular flag in a \code{flags} vector} } \value{ A \code{flag} for \code{as.flag}, \code{[.flags}, and the bitwise operators. A logical value for \code{==.enum}. } \details{ The libraries bound by RGtk2 often return numeric values that are either bitflags or enumerations. In order to facilitate operations on these types (especially bitflags), several methods have been defined corresponding to conventional operators for performing bitwise operations and comparisons. RGtk2 defines all of the enum and flag types from the API's as vectors of class \code{flags} or \code{enums} with their names corresponding to the nicknames of the values. The \code{[} operator on the \code{flags} class retrieves a value as a \code{flag}. This only necessary for the bitwise ops and thus is not necessary for enums. The \code{==.enum} method compares a \code{enum} with either a character or numeric representation of an enum value. } \note{ Sometimes the API does not return a value specifically as a \code{flag}. In this case, it is a generic numeric value and should be coerced with \code{as.flag}. } \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkDragSetIconDefault.Rd0000644000176000001440000000061312362217677016467 0ustar ripleyusers\alias{gtkDragSetIconDefault} \name{gtkDragSetIconDefault} \title{gtkDragSetIconDefault} \description{Sets the icon for a particular drag to the default icon.} \usage{gtkDragSetIconDefault(object)} \arguments{\item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogSetImage.Rd0000644000176000001440000000061112362217677017141 0ustar ripleyusers\alias{gtkMessageDialogSetImage} \name{gtkMessageDialogSetImage} \title{gtkMessageDialogSetImage} \description{Sets the dialog's image to \code{image}.} \usage{gtkMessageDialogSetImage(object, image)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMessageDialog}}} \item{\verb{image}}{the image} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeStatus.Rd0000644000176000001440000000110412362217677017700 0ustar ripleyusers\alias{gFileInfoGetAttributeStatus} \name{gFileInfoGetAttributeStatus} \title{gFileInfoGetAttributeStatus} \description{Gets the attribute status for an attribute key.} \usage{gFileInfoGetAttributeStatus(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}} \item{\verb{attribute}}{a file attribute key} } \value{[\code{\link{GFileAttributeStatus}}] a \code{\link{GFileAttributeStatus}} for the given \code{attribute}, or \code{G_FILE_ATTRIBUTE_STATUS_UNSET} if the key is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetSliderSizeFixed.Rd0000644000176000001440000000075512362217677017501 0ustar ripleyusers\alias{gtkRangeGetSliderSizeFixed} \name{gtkRangeGetSliderSizeFixed} \title{gtkRangeGetSliderSizeFixed} \description{This function is useful mainly for \code{\link{GtkRange}} subclasses.} \usage{gtkRangeGetSliderSizeFixed(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{See \code{\link{gtkRangeSetSliderSizeFixed}}. Since 2.20} \value{[logical] whether the range's slider has a fixed size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetChangePaletteHook.Rd0000644000176000001440000000201012362217677021657 0ustar ripleyusers\alias{gtkColorSelectionSetChangePaletteHook} \name{gtkColorSelectionSetChangePaletteHook} \title{gtkColorSelectionSetChangePaletteHook} \description{ Installs a global function to be called whenever the user tries to modify the palette in a color selection. This function should save the new palette contents, and update the GtkSettings property "gtk-color-palette" so all GtkColorSelection widgets will be modified. \strong{WARNING: \code{gtk_color_selection_set_change_palette_hook} has been deprecated since version 2.4 and should not be used in newly-written code. This function does not work in multihead environments. Use \code{\link{gtkColorSelectionSetChangePaletteWithScreenHook}} instead.} } \usage{gtkColorSelectionSetChangePaletteHook(func)} \arguments{\item{\verb{func}}{a function to call when the custom palette needs saving.}} \value{[\code{\link{GtkColorSelectionChangePaletteFunc}}] the previous change palette hook (that was replaced).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetCurrentEvent.Rd0000644000176000001440000000111512362217677016102 0ustar ripleyusers\alias{gtkGetCurrentEvent} \name{gtkGetCurrentEvent} \title{gtkGetCurrentEvent} \description{Obtains a copy of the event currently being processed by GTK+. For example, if you get a "clicked" signal from \code{\link{GtkButton}}, the current event will be the \code{\link{GdkEventButton}} that triggered the "clicked" signal. If there is no current event, the function returns \code{NULL}.} \usage{gtkGetCurrentEvent()} \value{[\code{\link{GdkEvent}}] a copy of the current event, or \code{NULL} if no current event.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnMinWidth.Rd0000644000176000001440000000123012362217677017330 0ustar ripleyusers\alias{gtkCListSetColumnMinWidth} \name{gtkCListSetColumnMinWidth} \title{gtkCListSetColumnMinWidth} \description{ Causes the column specified to have a minimum width, preventing the user from resizing it smaller than that specified. \strong{WARNING: \code{gtk_clist_set_column_min_width} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnMinWidth(object, column, min.width)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to set the minimum width.} \item{\verb{min.width}}{The width, in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromXpmData.Rd0000644000176000001440000000076612362217677017023 0ustar ripleyusers\alias{gdkPixbufNewFromXpmData} \name{gdkPixbufNewFromXpmData} \title{gdkPixbufNewFromXpmData} \description{Creates a new pixbuf by parsing XPM data in memory. This data is commonly the result of including an XPM file into a program's C source.} \usage{gdkPixbufNewFromXpmData(data)} \arguments{\item{\verb{data}}{Pointer to inline XPM data.}} \value{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemSetDrawAsRadio.Rd0000644000176000001440000000103612362217677020236 0ustar ripleyusers\alias{gtkCheckMenuItemSetDrawAsRadio} \name{gtkCheckMenuItemSetDrawAsRadio} \title{gtkCheckMenuItemSetDrawAsRadio} \description{Sets whether \code{check.menu.item} is drawn like a \code{\link{GtkRadioMenuItem}}} \usage{gtkCheckMenuItemSetDrawAsRadio(object, draw.as.radio)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}} \item{\verb{draw.as.radio}}{whether \code{check.menu.item} is drawn like a \code{\link{GtkRadioMenuItem}}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetBorderWindowSize.Rd0000644000176000001440000000154612362217677020442 0ustar ripleyusers\alias{gtkTextViewSetBorderWindowSize} \name{gtkTextViewSetBorderWindowSize} \title{gtkTextViewSetBorderWindowSize} \description{Sets the width of \code{GTK_TEXT_WINDOW_LEFT} or \code{GTK_TEXT_WINDOW_RIGHT}, or the height of \code{GTK_TEXT_WINDOW_TOP} or \code{GTK_TEXT_WINDOW_BOTTOM}. Automatically destroys the corresponding window if the size is set to 0, and creates the window if the size is set to non-zero. This function can only be used for the "border windows," it doesn't work with \verb{GTK_TEXT_WINDOW_WIDGET}, \verb{GTK_TEXT_WINDOW_TEXT}, or \verb{GTK_TEXT_WINDOW_PRIVATE}.} \usage{gtkTextViewSetBorderWindowSize(object, type, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{type}}{window to affect} \item{\verb{size}}{width or height of the window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewForwardDisplayLine.Rd0000644000176000001440000000171112362217677020262 0ustar ripleyusers\alias{gtkTextViewForwardDisplayLine} \name{gtkTextViewForwardDisplayLine} \title{gtkTextViewForwardDisplayLine} \description{Moves the given \code{iter} forward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the \code{\link{GtkTextBuffer}}.} \usage{gtkTextViewForwardDisplayLine(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if \code{iter} was moved and is not on the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookReorderChild.Rd0000644000176000001440000000120412362217677017064 0ustar ripleyusers\alias{gtkNotebookReorderChild} \name{gtkNotebookReorderChild} \title{gtkNotebookReorderChild} \description{Reorders the page containing \code{child}, so that it appears in position \code{position}. If \code{position} is greater than or equal to the number of children in the list or negative, \code{child} will be moved to the end of the list.} \usage{gtkNotebookReorderChild(object, child, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the child to move} \item{\verb{position}}{the new position, or -1 to move to the end} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetVisibleLineOffset.Rd0000644000176000001440000000106712362217677020531 0ustar ripleyusers\alias{gtkTextIterGetVisibleLineOffset} \name{gtkTextIterGetVisibleLineOffset} \title{gtkTextIterGetVisibleLineOffset} \description{Returns the offset in characters from the start of the line to the given \code{iter}, not counting characters that are invisible due to tags with the "invisible" flag toggled on.} \usage{gtkTextIterGetVisibleLineOffset(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[integer] offset in visible characters from the start of the line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutLineIndexToX.Rd0000644000176000001440000000145312362217677017052 0ustar ripleyusers\alias{pangoLayoutLineIndexToX} \name{pangoLayoutLineIndexToX} \title{pangoLayoutLineIndexToX} \description{Converts an index within a line to a X position.} \usage{pangoLayoutLineIndexToX(object, index, trailing)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} \item{\verb{index}}{[integer] byte offset of a grapheme within the layout} \item{\verb{trailing}}{[logical] an integer indicating the edge of the grapheme to retrieve the position of. If > 0, the trailing edge of the grapheme, if 0, the leading of the grapheme.} } \value{ A list containing the following elements: \item{\verb{x.pos}}{[integer] location to store the x_offset (in Pango unit)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToolItemGroup.Rd0000644000176000001440000000627612362217677015544 0ustar ripleyusers\alias{GtkToolItemGroup} \alias{gtkToolItemGroup} \name{GtkToolItemGroup} \title{GtkToolItemGroup} \description{A sub container used in a tool palette} \section{Methods and Functions}{ \code{\link{gtkToolItemGroupGetCollapsed}(object)}\cr \code{\link{gtkToolItemGroupGetDropItem}(object, x, y)}\cr \code{\link{gtkToolItemGroupGetEllipsize}(object)}\cr \code{\link{gtkToolItemGroupGetItemPosition}(object, item)}\cr \code{\link{gtkToolItemGroupGetNItems}(object)}\cr \code{\link{gtkToolItemGroupGetLabel}(object)}\cr \code{\link{gtkToolItemGroupGetLabelWidget}(object)}\cr \code{\link{gtkToolItemGroupGetNthItem}(object, index)}\cr \code{\link{gtkToolItemGroupGetHeaderRelief}(object)}\cr \code{\link{gtkToolItemGroupInsert}(object, item, position)}\cr \code{\link{gtkToolItemGroupNew}(label, show = TRUE)}\cr \code{\link{gtkToolItemGroupSetCollapsed}(object, collapsed)}\cr \code{\link{gtkToolItemGroupSetEllipsize}(object, ellipsize)}\cr \code{\link{gtkToolItemGroupSetItemPosition}(object, item, position)}\cr \code{\link{gtkToolItemGroupSetLabel}(object, label)}\cr \code{\link{gtkToolItemGroupSetLabelWidget}(object, label.widget)}\cr \code{\link{gtkToolItemGroupSetHeaderRelief}(object, style)}\cr \code{gtkToolItemGroup(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkToolItemGroup}} \section{Interfaces}{GtkToolItemGroup implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkToolShell}}.} \section{Detailed Description}{A \code{\link{GtkToolItemGroup}} is used together with \code{\link{GtkToolPalette}} to add \code{\link{GtkToolItem}}s to a palette like container with different categories and drag and drop support.} \section{Structures}{\describe{\item{\verb{GtkToolItemGroup}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkToolItemGroup} is the equivalent of \code{\link{gtkToolItemGroupNew}}.} \section{Properties}{\describe{ \item{\verb{collapsed} [logical : Read / Write]}{ Wether the group has been collapsed and items are hidden. Default value: FALSE } \item{\verb{ellipsize} [\code{\link{PangoEllipsizeMode}} : Read / Write]}{ Ellipsize for item group headers. Default value: PANGO_ELLIPSIZE_NONE } \item{\verb{header-relief} [\code{\link{GtkReliefStyle}} : Read / Write]}{ Relief of the group header button. Default value: GTK_RELIEF_NORMAL } \item{\verb{label} [character : * : Read / Write]}{ The human-readable title of this item group. Default value: "" } \item{\verb{label-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ A widget to display in place of the usual label. } }} \section{Style Properties}{\describe{ \item{\verb{expander-size} [integer : Read]}{ Size of the expander arrow. Allowed values: >= 0 Default value: 16 } \item{\verb{header-spacing} [integer : Read]}{ Spacing between expander arrow and caption. Allowed values: >= 0 Default value: 2 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToolItemGroup.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIconToString.Rd0000644000176000001440000000234512362217677015047 0ustar ripleyusers\alias{gIconToString} \name{gIconToString} \title{gIconToString} \description{Generates a textual representation of \code{icon} that can be used for serialization such as when passing \code{icon} to a different process or saving it to persistent storage. Use \code{\link{gIconNewForString}} to get \code{icon} back from the returned string.} \usage{gIconToString(object)} \arguments{\item{\verb{object}}{a \code{\link{GIcon}}.}} \details{The encoding of the returned string is proprietary to \code{\link{GIcon}} except in the following two cases \itemize{ \item If \code{icon} is a \code{\link{GFileIcon}}, the returned string is a native path (such as \code{/path/to/my icon.png}) without escaping if the \code{\link{GFile}} for \code{icon} is a native file. If the file is not native, the returned string is the result of \code{\link{gFileGetUri}} (such as \code{sftp://path/to/my\% 20icon .png}). \item If \code{icon} is a \code{\link{GThemedIcon}} with exactly one name, the encoding is simply the name (such as \code{network-server}). } Since 2.20} \value{[character] An allocated UTF8 string or \code{NULL} if \code{icon} can't be serialized.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayAddClientMessageFilter.Rd0000644000176000001440000000153112362217677020630 0ustar ripleyusers\alias{gdkDisplayAddClientMessageFilter} \name{gdkDisplayAddClientMessageFilter} \title{gdkDisplayAddClientMessageFilter} \description{Adds a filter to be called when X ClientMessage events are received. See \code{\link{gdkWindowAddFilter}} if you are interested in filtering other types of events.} \usage{gdkDisplayAddClientMessageFilter(object, message.type, func, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}} for which this message filter applies} \item{\verb{message.type}}{the type of ClientMessage events to receive. This will be checked against the \code{message.type} field of the XClientMessage event struct.} \item{\verb{func}}{the function to call to process the event.} \item{\verb{data}}{user data to pass to \code{func}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererSetStipple.Rd0000644000176000001440000000155112362217677017552 0ustar ripleyusers\alias{gdkPangoRendererSetStipple} \name{gdkPangoRendererSetStipple} \title{gdkPangoRendererSetStipple} \description{Sets the stipple for one render part (foreground, background, underline, etc.) Note that this is overwritten when iterating through the individual styled runs of a \code{\link{PangoLayout}} or \code{\link{PangoLayoutLine}}. This function is thus only useful when you call low level functions like \code{\link{pangoRendererDrawGlyphs}} directly, or in the 'prepare_run' virtual function of a subclass of \code{\link{GdkPangoRenderer}}.} \usage{gdkPangoRendererSetStipple(object, part, stipple)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPangoRenderer}}} \item{\verb{part}}{the part to render with the stipple} \item{\verb{stipple}}{the new stipple value.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetImagePosition.Rd0000644000176000001440000000066212362217677017427 0ustar ripleyusers\alias{gtkButtonGetImagePosition} \name{gtkButtonGetImagePosition} \title{gtkButtonGetImagePosition} \description{Gets the position of the image relative to the text inside the button.} \usage{gtkButtonGetImagePosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \details{Since 2.10} \value{[\code{\link{GtkPositionType}}] the position} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetOption.Rd0000644000176000001440000000170312362217677016067 0ustar ripleyusers\alias{gdkPixbufGetOption} \name{gdkPixbufGetOption} \title{gdkPixbufGetOption} \description{Looks up \code{key} in the list of options that may have been attached to the \code{pixbuf} when it was loaded, or that may have been attached by another function using \code{\link{gdkPixbufSetOption}}.} \usage{gdkPixbufGetOption(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{key}}{a string.} } \details{For instance, the ANI loader provides "Title" and "Artist" options. The ICO, XBM, and XPM loaders provide "x_hot" and "y_hot" hot-spot options for cursor definitions. The PNG loader provides the tEXt ancillary chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders return an "orientation" option string that corresponds to the embedded TIFF/Exif orientation tag (if present).} \value{[character] the value associated with \code{key}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncReportErrorInIdle.Rd0000644000176000001440000000162412362217677020206 0ustar ripleyusers\alias{gSimpleAsyncReportErrorInIdle} \name{gSimpleAsyncReportErrorInIdle} \title{gSimpleAsyncReportErrorInIdle} \description{Reports an error in an asynchronous function in an idle function by directly setting the contents of the \code{\link{GAsyncResult}} with the given error information.} \usage{gSimpleAsyncReportErrorInIdle(object, callback, user.data, domain, code, format, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GObject}}.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} \item{\verb{domain}}{a \code{\link{GQuark}} containing the error domain (usually \verb{G_IO_ERROR}).} \item{\verb{code}}{a specific error code.} \item{\verb{format}}{a formatted error reporting string.} \item{\verb{...}}{a list of variables to fill in \code{format}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetStyle.Rd0000644000176000001440000000123612362217677015047 0ustar ripleyusers\alias{gtkRcGetStyle} \name{gtkRcGetStyle} \title{gtkRcGetStyle} \description{Finds all matching RC styles for a given widget, composites them together, and then creates a \code{\link{GtkStyle}} representing the composite appearance. (GTK+ actually keeps a cache of previously created styles, so a new style may not be created.)} \usage{gtkRcGetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GtkStyle}}] the resulting style. No refcount is added to the returned style, so if you want to save this style around, you should add a reference yourself.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintExtension.Rd0000644000176000001440000000203212362217677015765 0ustar ripleyusers\alias{gtkPaintExtension} \name{gtkPaintExtension} \title{gtkPaintExtension} \description{Draws an extension, i.e. a notebook tab.} \usage{gtkPaintExtension(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the extension} \item{\verb{y}}{y origin of the extension} \item{\verb{width}}{width of the extension} \item{\verb{height}}{width of the extension} \item{\verb{gap.side}}{the side on to which the extension is attached} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRestore.Rd0000644000176000001440000000060312362217677014752 0ustar ripleyusers\alias{cairoRestore} \name{cairoRestore} \title{cairoRestore} \description{Restores \code{cr} to the state saved by a preceding call to \code{\link{cairoSave}} and removes that state from the stack of saved states.} \usage{cairoRestore(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetLayout.Rd0000644000176000001440000000107012362217677015673 0ustar ripleyusers\alias{gtkLabelGetLayout} \name{gtkLabelGetLayout} \title{gtkLabelGetLayout} \description{Gets the \code{\link{PangoLayout}} used to display the label. The layout is useful to e.g. convert text positions to pixel positions, in combination with \code{\link{gtkLabelGetLayoutOffsets}}.} \usage{gtkLabelGetLayout(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[\code{\link{PangoLayout}}] the \code{\link{PangoLayout}} for this label. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedPack1.Rd0000644000176000001440000000076512362217677014737 0ustar ripleyusers\alias{gtkPanedPack1} \name{gtkPanedPack1} \title{gtkPanedPack1} \description{Adds a child to the top or left pane.} \usage{gtkPanedPack1(object, child, resize = FALSE, shrink = TRUE)} \arguments{ \item{\verb{object}}{a paned widget} \item{\verb{child}}{the child to add} \item{\verb{resize}}{should this child expand when the paned widget is resized.} \item{\verb{shrink}}{can this child be made smaller than its requisition.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImageGetImageDescription.Rd0000644000176000001440000000072112362217677017643 0ustar ripleyusers\alias{atkImageGetImageDescription} \name{atkImageGetImageDescription} \title{atkImageGetImageDescription} \description{Get a textual description of this image.} \usage{atkImageGetImageDescription(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkImage}}] a \code{\link{GObject}} instance that implements AtkImageIface}} \value{[character] a string representing the image description} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetSize.Rd0000644000176000001440000000052212362217677015446 0ustar ripleyusers\alias{gFileInfoGetSize} \name{gFileInfoGetSize} \title{gFileInfoGetSize} \description{Gets the file's size.} \usage{gFileInfoGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[numeric] a \verb{numeric} containing the file's size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionCopy.Rd0000644000176000001440000000056212362217677015061 0ustar ripleyusers\alias{gdkRegionCopy} \name{gdkRegionCopy} \title{gdkRegionCopy} \description{Copies \code{region}, creating an identical new region.} \usage{gdkRegionCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkRegion}}}} \value{[\code{\link{GdkRegion}}] a new region identical to \code{region}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkInfoBar.Rd0000644000176000001440000001502212362217677014300 0ustar ripleyusers\alias{GtkInfoBar} \alias{gtkInfoBar} \name{GtkInfoBar} \title{GtkInfoBar} \description{Report important messages to the user} \section{Methods and Functions}{ \code{\link{gtkInfoBarNew}(show = TRUE)}\cr \code{\link{gtkInfoBarNewWithButtons}(first.button.text, ..., show = TRUE)}\cr \code{\link{gtkInfoBarAddActionWidget}(object, child, response.id)}\cr \code{\link{gtkInfoBarAddButton}(object, button.text, response.id)}\cr \code{\link{gtkInfoBarAddButtons}(object, first.button.text, ...)}\cr \code{\link{gtkInfoBarSetResponseSensitive}(object, response.id, setting)}\cr \code{\link{gtkInfoBarSetDefaultResponse}(object, response.id)}\cr \code{\link{gtkInfoBarResponse}(object, response.id)}\cr \code{\link{gtkInfoBarSetMessageType}(object, message.type)}\cr \code{\link{gtkInfoBarGetMessageType}(object)}\cr \code{\link{gtkInfoBarGetActionArea}(object)}\cr \code{\link{gtkInfoBarGetContentArea}(object)}\cr \code{gtkInfoBar(first.button.text, ..., show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkInfoBar}} \section{Interfaces}{GtkInfoBar implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\code{\link{GtkInfoBar}} is a widget that can be used to show messages to the user without showing a dialog. It is often temporarily shown at the top or bottom of a document. In contrast to \code{\link{GtkDialog}}, which has a horizontal action area at the bottom, \code{\link{GtkInfoBar}} has a vertical action area at the side. The API of \code{\link{GtkInfoBar}} is very similar to \code{\link{GtkDialog}}, allowing you to add buttons to the action area with \code{\link{gtkInfoBarAddButton}} or \code{\link{gtkInfoBarNewWithButtons}}. The sensitivity of action widgets can be controlled with \code{\link{gtkInfoBarSetResponseSensitive}}. To add widgets to the main content area of a \code{\link{GtkInfoBar}}, use \code{\link{gtkInfoBarGetContentArea}} and add your widgets to the container. Similar to \code{\link{GtkMessageDialog}}, the contents of a \code{\link{GtkInfoBar}} can by classified as error message, warning, informational message, etc, by using \code{\link{gtkInfoBarSetMessageType}}. GTK+ uses the message type to determine the background color of the message area. \emph{Simple GtkInfoBar usage.}\preformatted{/* set up info bar */ info_bar = gtk_info_bar_new (); gtk_widget_set_no_show_all (info_bar, TRUE); message_label = gtk_label_new (""); gtk_widget_show (message_label); content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)); gtk_container_add (GTK_CONTAINER (content_area), message_label); gtk_info_bar_add_button (GTK_INFO_BAR (info_bar), GTK_STOCK_OK, GTK_RESPONSE_OK); g_signal_connect (info_bar, "response", G_CALLBACK (gtk_widget_hide), NULL); gtk_table_attach (GTK_TABLE (table), info_bar, 0, 1, 2, 3, GTK_EXPAND | GTK_FILL, 0, 0, 0); /* ... */ /* show an error message */ gtk_label_set_text (GTK_LABEL (message_label), error_message); gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), GTK_MESSAGE_ERROR); gtk_widget_show (info_bar); } \emph{GtkInfoBar as GtkBuildable} The GtkInfoBar implementation of the GtkBuildable interface exposes the content area and action area as internal children with the names "content_area" and "action_area". GtkInfoBar supports a custom element, which can contain multiple elements. The "response" attribute specifies a numeric response, and the content of the element is the id of widget (which should be a child of the dialogs \code{action.area}).} \section{Structures}{\describe{\item{\verb{GtkInfoBar}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkInfoBar} is the result of collapsing the constructors of \code{GtkInfoBar} (\code{\link{gtkInfoBarNew}}, \code{\link{gtkInfoBarNewWithButtons}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{close(user.data)}}{ The ::close signal is a keybinding signal which gets emitted when the user uses a keybinding to dismiss the info bar. The default binding for this signal is the Escape key. Since 2.18 \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } \item{\code{response(info.bar, response.id, user.data)}}{ Emitted when an action widget is clicked or the application programmer calls \code{\link{gtkDialogResponse}}. The \code{response.id} depends on which action widget was clicked. Since 2.18 \describe{ \item{\code{info.bar}}{the object on which the signal is emitted} \item{\code{response.id}}{the response ID} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{\item{\verb{message-type} [\code{\link{GtkMessageType}} : Read / Write / Construct]}{ The type of the message. The type is used to determine the colors to use in the info bar. The following symbolic color names can by used to customize these colors: "info_fg_color", "info_bg_color", "warning_fg_color", "warning_bg_color", "question_fg_color", "question_bg_color", "error_fg_color", "error_bg_color". "other_fg_color", "other_bg_color". If the type is \verb{GTK_MESSAGE_OTHER}, no info bar is painted but the colors are still set. Default value: GTK_MESSAGE_INFO Since 2.18 }}} \section{Style Properties}{\describe{ \item{\verb{action-area-border} [integer : Read]}{ Width of the border around the action area of the info bar. Allowed values: >= 0 Default value: 5 Since 2.18 } \item{\verb{button-spacing} [integer : Read]}{ Spacing between buttons in the action area of the info bar. Allowed values: >= 0 Default value: 6 Since 2.18 } \item{\verb{content-area-border} [integer : Read]}{ The width of the border around the content content area of the info bar. Allowed values: >= 0 Default value: 8 Since 2.18 } \item{\verb{content-area-spacing} [integer : Read]}{ The default spacing used between elements of the content area of the info bar. Allowed values: >= 0 Default value: 16 Since 2.18 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkInfoBar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDestroyWithParent.Rd0000644000176000001440000000100212362217677020300 0ustar ripleyusers\alias{gtkWindowGetDestroyWithParent} \name{gtkWindowGetDestroyWithParent} \title{gtkWindowGetDestroyWithParent} \description{Returns whether the window will be destroyed with its transient parent. See \code{\link{gtkWindowSetDestroyWithParent}}.} \usage{gtkWindowGetDestroyWithParent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if the window will be destroyed with its transient parent.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSortRecursive.Rd0000644000176000001440000000102012362217677016553 0ustar ripleyusers\alias{gtkCTreeSortRecursive} \name{gtkCTreeSortRecursive} \title{gtkCTreeSortRecursive} \description{ Sort the descendants of a node. See \code{\link{GtkCList}} for how to set the sorting criteria etc. \strong{WARNING: \code{gtk_ctree_sort_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSortRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetVisibility.Rd0000644000176000001440000000065612362217677016640 0ustar ripleyusers\alias{gtkEntryGetVisibility} \name{gtkEntryGetVisibility} \title{gtkEntryGetVisibility} \description{Retrieves whether the text in \code{entry} is visible. See \code{\link{gtkEntrySetVisibility}}.} \usage{gtkEntryGetVisibility(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \value{[logical] \code{TRUE} if the text is currently visible} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetClipboard.Rd0000644000176000001440000000172512362217677016530 0ustar ripleyusers\alias{gtkWidgetGetClipboard} \name{gtkWidgetGetClipboard} \title{gtkWidgetGetClipboard} \description{Returns the clipboard object for the given selection to be used with \code{widget}. \code{widget} must have a \code{\link{GdkDisplay}} associated with it, so must be attached to a toplevel window.} \usage{gtkWidgetGetClipboard(object, selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{selection}}{a \code{\link{GdkAtom}} which identifies the clipboard to use. \code{GDK_SELECTION_CLIPBOARD} gives the default clipboard. Another common value is \code{GDK_SELECTION_PRIMARY}, which gives the primary X selection.} } \details{Since 2.2} \value{[\code{\link{GtkClipboard}}] the appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointSetRequiredType.Rd0000644000176000001440000000077212362217677020764 0ustar ripleyusers\alias{gIoExtensionPointSetRequiredType} \name{gIoExtensionPointSetRequiredType} \title{gIoExtensionPointSetRequiredType} \description{Sets the required type for \code{extension.point} to \code{type}. All implementations must henceforth have this type.} \usage{gIoExtensionPointSetRequiredType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GIOExtensionPoint}}} \item{\verb{type}}{the \code{\link{GType}} to require} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionUnselectPath.Rd0000644000176000001440000000064212362217677020107 0ustar ripleyusers\alias{gtkTreeSelectionUnselectPath} \name{gtkTreeSelectionUnselectPath} \title{gtkTreeSelectionUnselectPath} \description{Unselects the row at \code{path}.} \usage{gtkTreeSelectionUnselectPath(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be unselected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetLineWrapMode.Rd0000644000176000001440000000075012362217677016750 0ustar ripleyusers\alias{gtkLabelGetLineWrapMode} \name{gtkLabelGetLineWrapMode} \title{gtkLabelGetLineWrapMode} \description{Returns line wrap mode used by the label. See \code{\link{gtkLabelSetLineWrapMode}}.} \usage{gtkLabelGetLineWrapMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.10} \value{[\code{\link{PangoWrapMode}}] \code{TRUE} if the lines of the label are automatically wrapped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSetTargetList.Rd0000644000176000001440000000114712362217677017540 0ustar ripleyusers\alias{gtkDragSourceSetTargetList} \name{gtkDragSourceSetTargetList} \title{gtkDragSourceSetTargetList} \description{Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with \code{\link{gtkDragSourceSet}}.} \usage{gtkDragSourceSetTargetList(object, target.list)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag source} \item{\verb{target.list}}{list of draggable targets, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetSearchEqualFunc.Rd0000644000176000001440000000137612362217677020167 0ustar ripleyusers\alias{gtkTreeViewSetSearchEqualFunc} \name{gtkTreeViewSetSearchEqualFunc} \title{gtkTreeViewSetSearchEqualFunc} \description{Sets the compare function for the interactive search capabilities; note that somewhat like \code{strcmp()} returning 0 for equality \code{\link{GtkTreeViewSearchEqualFunc}} returns \code{FALSE} on matches.} \usage{gtkTreeViewSetSearchEqualFunc(object, search.equal.func, search.user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{search.equal.func}}{the compare function to use during the search} \item{\verb{search.user.data}}{user data to pass to \code{search.equal.func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-General.Rd0000644000176000001440000001210212362217677014446 0ustar ripleyusers\alias{gtk-General} \alias{GtkModuleInitFunc} \alias{GtkModuleDisplayInitFunc} \alias{GtkKeySnoopFunc} \name{gtk-General} \title{Main loop and Events} \description{Library initialization, main event loop, and events} \section{Methods and Functions}{ \code{\link{gtkGetDefaultLanguage}()}\cr \code{\link{gtkInit}(args = "R")}\cr \code{\link{gtkExit}(error.code)}\cr \code{\link{gtkEventsPending}()}\cr \code{\link{gtkMain}()}\cr \code{\link{gtkMainLevel}()}\cr \code{\link{gtkMainQuit}()}\cr \code{\link{gtkMainIteration}()}\cr \code{\link{gtkMainIterationDo}(blocking = TRUE)}\cr \code{\link{gtkMainDoEvent}(event)}\cr \code{\link{gtkTrue}()}\cr \code{\link{gtkFalse}()}\cr \code{\link{gtkGrabAdd}(object)}\cr \code{\link{gtkGrabGetCurrent}()}\cr \code{\link{gtkGrabRemove}(object)}\cr \code{\link{gtkInitAdd}(fun, data = NULL)}\cr \code{\link{gtkQuitAddDestroy}(main.level, object)}\cr \code{\link{gtkQuitAdd}(main.level, fun, data = NULL)}\cr \code{\link{gtkQuitAddFull}(main.level, fun, data = NULL)}\cr \code{\link{gtkQuitRemove}(quit.handler.id)}\cr \code{\link{gtkQuitRemoveByData}(data)}\cr \code{\link{gtkTimeoutAddFull}(interval, fun, data = NULL)}\cr \code{\link{gtkTimeoutAdd}(interval, fun, data = NULL)}\cr \code{\link{gtkTimeoutRemove}(timeout.handler.id)}\cr \code{\link{gtkIdleAdd}(fun, data = NULL)}\cr \code{\link{gtkIdleAddPriority}(priority, fun, data = NULL)}\cr \code{\link{gtkIdleAddFull}(priority, fun, data = NULL)}\cr \code{\link{gtkIdleRemove}(idle.handler.id)}\cr \code{\link{gtkIdleRemoveByData}(data)}\cr \code{\link{gtkInputRemove}(input.handler.id)}\cr \code{\link{gtkKeySnooperInstall}(snooper, func.data = NULL)}\cr \code{\link{gtkKeySnooperRemove}(snooper.handler.id)}\cr \code{\link{gtkGetCurrentEvent}()}\cr \code{\link{gtkGetCurrentEventTime}()}\cr \code{\link{gtkGetCurrentEventState}()}\cr \code{\link{gtkGetEventWidget}(event)}\cr \code{\link{gtkPropagateEvent}(object, event)}\cr } \section{Detailed Description}{Before using GTK+, you need to initialize it; initialization connects to the window system display, and parses some standard command line arguments. The \code{\link{gtkInit}} function initializes GTK+. \code{\link{gtkInit}} exits the application if errors occur; to avoid this, use \code{gtkInitCheck()}. \code{gtkInitCheck()} allows you to recover from a failed GTK+ initialization - you might start up your application in text mode instead. Like all GUI toolkits, GTK+ uses an event-driven programming model. When the user is doing nothing, GTK+ sits in the \dfn{main loop} and waits for input. If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to GTK+. GTK+ forwards the event to one or more widgets. When widgets receive an event, they frequently emit one or more \dfn{signals}. Signals notify your program that "something interesting happened" by invoking functions you've connected to the signal with \code{\link{gSignalConnect}}. Functions connected to a signal are often termed \dfn{callbacks}. When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a \verb{GtkFileSelectionDialog}. After a callback finishes, GTK+ will return to the main loop and await more user input. \emph{Typical \code{main} function for a GTK+ application}\preformatted{int main (int argc, char **argv) { /* Initialize i18n support */ gtk_set_locale ( ); /* Initialize the widget set */ gtk_init (&argc, &argv); /* Create the main window */ mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL); /* Set up our GUI elements */ ... /* Show the application window */ gtk_widget_show_all (mainwin); /* Enter the main event loop, and wait for user interaction */ gtk_main ( ); /* The user lost interest */ return 0; } } It's OK to use the GLib main loop directly instead of \code{\link{gtkMain}}, though it involves slightly more typing. See \verb{GMainLoop} in the GLib documentation.} \section{User Functions}{\describe{ \item{\code{GtkModuleInitFunc(argc, argv)}}{ Each GTK+ module must have a function \code{gtkModuleInit()} with this prototype. This function is called after loading the module with the \code{argc} and \code{argv} cleaned from any arguments that GTK+ handles itself. \describe{ \item{\code{argc}}{Pointer to the number of arguments remaining after \code{\link{gtkInit}}.} \item{\code{argv}}{Points to the argument vector.} } } \item{\code{GtkModuleDisplayInitFunc()}}{ Since 2.2 } \item{\code{GtkKeySnoopFunc(grab.widget, event, func.data)}}{ Key snooper functions are called before normal event delivery. They can be used to implement custom key event handling. \describe{ \item{\code{grab.widget}}{the widget to which the event will be delivered.} \item{\code{event}}{the key event.} \item{\code{func.data}}{the \code{func.data} supplied to \code{\link{gtkKeySnooperInstall}}.} } \emph{Returns:} [integer] \code{TRUE} to stop further processing of \code{event}, \code{FALSE} to continue. } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-General.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetTabDetachable.Rd0000644000176000001440000000076512362217677017634 0ustar ripleyusers\alias{gtkNotebookGetTabDetachable} \name{gtkNotebookGetTabDetachable} \title{gtkNotebookGetTabDetachable} \description{Returns whether the tab contents can be detached from \code{notebook}.} \usage{gtkNotebookGetTabDetachable(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a child \code{\link{GtkWidget}}} } \details{Since 2.10} \value{[logical] TRUE if the tab is detachable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-png-functions.Rd0000644000176000001440000000442112362217677016200 0ustar ripleyusers\alias{cairo-png-functions} \alias{cairo_read_func_t} \alias{cairo_write_func_t} \name{cairo-png-functions} \title{PNG Support} \description{Reading and writing PNG images} \section{Methods and Functions}{ \code{\link{cairoImageSurfaceCreateFromPng}(filename)}\cr \code{\link{cairoImageSurfaceCreateFromPngStream}(con)}\cr \code{\link{cairoSurfaceWriteToPng}(surface, filename)}\cr \code{\link{cairoSurfaceWriteToPngStream}(surface, con)}\cr } \section{Detailed Description}{The PNG functions allow reading PNG images into image surfaces, and writing any surface to a PNG file.} \section{User Functions}{\describe{ \item{\code{cairo_read_func_t(closure, data, length)}}{ \verb{cairo_read_func_t} is the type of function which is called when a backend needs to read data from an input stream. It is passed the closure which was specified by the user at the time the read function was registered, the buffer to read the data into and the length of the data in bytes. The read function should return \code{CAIRO_STATUS_SUCCESS} if all the data was successfully read, \code{CAIRO_STATUS_READ_ERROR} otherwise. \describe{ \item{\code{closure}}{[R object] the input closure} \item{\code{data}}{[char] the buffer into which to read the data} \item{\code{length}}{[integer] the amount of data to read} } \emph{Returns:} [\code{\link{CairoStatus}}] the status code of the read operation } \item{\code{cairo_write_func_t(closure, data, length)}}{ \code{\link{CairoWriteFunc}} is the type of function which is called when a backend needs to write data to an output stream. It is passed the closure which was specified by the user at the time the write function was registered, the data to write and the length of the data in bytes. The write function should return \code{CAIRO_STATUS_SUCCESS} if all the data was successfully written, \code{CAIRO_STATUS_WRITE_ERROR} otherwise. \describe{ \item{\code{closure}}{[R object] the output closure} \item{\code{data}}{[char] the buffer containing the data to write} \item{\code{length}}{[integer] the amount of data to write} } \emph{Returns:} [\code{\link{CairoStatus}}] the status code of the write operation } }} \references{\url{http://www.cairographics.org/manual/cairo-png-functions.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetCurrentPoint.Rd0000644000176000001440000000321112362217677016421 0ustar ripleyusers\alias{cairoGetCurrentPoint} \name{cairoGetCurrentPoint} \title{cairoGetCurrentPoint} \description{Gets the current point of the current path, which is conceptually the final point reached by the path so far.} \usage{cairoGetCurrentPoint(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] return value for X coordinate of the current point} \item{\verb{y}}{[numeric] return value for Y coordinate of the current point} } \details{The current point is returned in the user-space coordinate system. If there is no defined current point or if \code{cr} is in an error status, \code{x} and \code{y} will both be set to 0.0. It is possible to check this in advance with \code{\link{cairoHasCurrentPoint}}. Most path construction functions alter the current point. See the following for details on how they affect the current point: \code{\link{cairoNewPath}}, \code{\link{cairoNewSubPath}}, \code{\link{cairoAppendPath}}, \code{\link{cairoClosePath}}, \code{\link{cairoMoveTo}}, \code{\link{cairoLineTo}}, \code{\link{cairoCurveTo}}, \code{\link{cairoRelMoveTo}}, \code{\link{cairoRelLineTo}}, \code{\link{cairoRelCurveTo}}, \code{\link{cairoArc}}, \code{\link{cairoArcNegative}}, \code{\link{cairoRectangle}}, \code{\link{cairoTextPath}}, \code{\link{cairoGlyphPath}}, \code{cairoStrokeToPath()}. Some functions use and alter the current point but do not otherwise change current path: \code{\link{cairoShowText}}. Some functions unset the current path and as a result, current point: \code{\link{cairoFill}}, \code{\link{cairoStroke}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetDirection.Rd0000644000176000001440000000126312362217677017410 0ustar ripleyusers\alias{gtkIconSourceSetDirection} \name{gtkIconSourceSetDirection} \title{gtkIconSourceSetDirection} \description{Sets the text direction this icon source is intended to be used with.} \usage{gtkIconSourceSetDirection(object, direction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{direction}}{text direction this source applies to} } \details{Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually call \code{\link{gtkIconSourceSetDirectionWildcarded}} to un-wildcard it in addition to calling this function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelUnrefNode.Rd0000644000176000001440000000123012362217677016502 0ustar ripleyusers\alias{gtkTreeModelUnrefNode} \name{gtkTreeModelUnrefNode} \title{gtkTreeModelUnrefNode} \description{Lets the tree unref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons.} \usage{gtkTreeModelUnrefNode(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}.} } \details{For more information on what this means, see \code{\link{gtkTreeModelRefNode}}. Please note that nodes that are deleted are not unreffed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPaint.Rd0000644000176000001440000000050612362217677014404 0ustar ripleyusers\alias{cairoPaint} \name{cairoPaint} \title{cairoPaint} \description{A drawing operator that paints the current source everywhere within the current clip region.} \usage{cairoPaint(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetParseName.Rd0000644000176000001440000000154412362217677015600 0ustar ripleyusers\alias{gFileGetParseName} \name{gFileGetParseName} \title{gFileGetParseName} \description{Gets the parse name of the \code{file}. A parse name is a UTF-8 string that describes the file such that one can get the \code{\link{GFile}} back using \code{\link{gFileParseName}}.} \usage{gFileGetParseName(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This is generally used to show the \code{\link{GFile}} as a nice full-pathname kind of string in a user interface, like in a location entry. For local files with names that can safely be converted to UTF8 the pathname is used, otherwise the IRI is used (a form of URI that allows UTF8 characters unescaped). This call does no blocking i/o.} \value{[char] a string containing the \code{\link{GFile}}'s parse name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleNew.Rd0000644000176000001440000000041312362217677014570 0ustar ripleyusers\alias{gtkStyleNew} \name{gtkStyleNew} \title{gtkStyleNew} \description{Creates a new \code{\link{GtkStyle}}.} \usage{gtkStyleNew()} \value{[\code{\link{GtkStyle}}] a new \code{\link{GtkStyle}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextAttributeGetName.Rd0000644000176000001440000000075312362217677017070 0ustar ripleyusers\alias{atkTextAttributeGetName} \name{atkTextAttributeGetName} \title{atkTextAttributeGetName} \description{Gets the name corresponding to the \code{\link{AtkTextAttribute}}} \usage{atkTextAttributeGetName(attr)} \arguments{\item{\verb{attr}}{[\code{\link{AtkTextAttribute}}] The \code{\link{AtkTextAttribute}} whose name is required}} \value{[character] a string containing the name; this string should not be freed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileHash.Rd0000644000176000001440000000113212362217677014141 0ustar ripleyusers\alias{gFileHash} \name{gFileHash} \title{gFileHash} \description{Creates a hash value for a \code{\link{GFile}}.} \usage{gFileHash(file)} \arguments{\item{\verb{file}}{\verb{R object} to a \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[numeric] 0 if \code{file} is not a valid \code{\link{GFile}}, otherwise an integer that can be used as hash value for the \code{\link{GFile}}. This function is intended for easily hashing a \code{\link{GFile}} to add to a \verb{GHashTable} or similar data structure.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxGetShadowType.Rd0000644000176000001440000000074512362217677017342 0ustar ripleyusers\alias{gtkHandleBoxGetShadowType} \name{gtkHandleBoxGetShadowType} \title{gtkHandleBoxGetShadowType} \description{Gets the type of shadow drawn around the handle box. See \code{\link{gtkHandleBoxSetShadowType}}.} \usage{gtkHandleBoxGetShadowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkHandleBox}}}} \value{[\code{\link{GtkShadowType}}] the type of shadow currently drawn around the handle box.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetLabel.Rd0000644000176000001440000000073512362217677017212 0ustar ripleyusers\alias{gtkToolItemGroupSetLabel} \name{gtkToolItemGroupSetLabel} \title{gtkToolItemGroupSetLabel} \description{Sets the label of the tool item group. The label is displayed in the header of the group.} \usage{gtkToolItemGroupSetLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{label}}{the new human-readable label of of the group} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetBackground.Rd0000644000176000001440000000076312362217677017312 0ustar ripleyusers\alias{gtkCTreeNodeSetBackground} \name{gtkCTreeNodeSetBackground} \title{gtkCTreeNodeSetBackground} \description{ \strong{WARNING: \code{gtk_ctree_node_set_background} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetBackground(object, node, color)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{color}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoUpdateLayout.Rd0000644000176000001440000000117712362217677016743 0ustar ripleyusers\alias{pangoCairoUpdateLayout} \name{pangoCairoUpdateLayout} \title{pangoCairoUpdateLayout} \description{Updates the private \code{\link{PangoContext}} of a \code{\link{PangoLayout}} created with \code{\link{pangoCairoCreateLayout}} to match the current transformation and target surface of a Cairo context.} \usage{pangoCairoUpdateLayout(cr, layout)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{layout}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}, from \code{\link{pangoCairoCreateLayout}}} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationNew.Rd0000644000176000001440000000045212362217677016117 0ustar ripleyusers\alias{gMountOperationNew} \name{gMountOperationNew} \title{gMountOperationNew} \description{Creates a new mount operation.} \usage{gMountOperationNew()} \value{[\code{\link{GMountOperation}}] a \code{\link{GMountOperation}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetPixbuf.Rd0000644000176000001440000000125012362217677016705 0ustar ripleyusers\alias{gtkIconSourceGetPixbuf} \name{gtkIconSourceGetPixbuf} \title{gtkIconSourceGetPixbuf} \description{Retrieves the source pixbuf, or \code{NULL} if none is set. In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle::\code{renderIcon()} virtual function. The reference count on the pixbuf is not incremented.} \usage{gtkIconSourceGetPixbuf(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[\code{\link{GdkPixbuf}}] source pixbuf} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarClearMarks.Rd0000644000176000001440000000045512362217677016502 0ustar ripleyusers\alias{gtkCalendarClearMarks} \name{gtkCalendarClearMarks} \title{gtkCalendarClearMarks} \description{Remove all visual markers.} \usage{gtkCalendarClearMarks(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererEditingCanceled.Rd0000644000176000001440000000145112362217677020312 0ustar ripleyusers\alias{gtkCellRendererEditingCanceled} \name{gtkCellRendererEditingCanceled} \title{gtkCellRendererEditingCanceled} \description{ Causes the cell renderer to emit the \code{\link{gtkCellRendererEditingCanceled}} signal. \strong{WARNING: \code{gtk_cell_renderer_editing_canceled} has been deprecated since version 2.6 and should not be used in newly-written code. Use \code{\link{gtkCellRendererStopEditing}} instead} } \usage{gtkCellRendererEditingCanceled(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkCellRenderer}}}} \details{This function is for use only by implementations of cell renderers that need to notify the client program that an editing process was canceled and the changes were not committed. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionGetSelections.Rd0000644000176000001440000000141711766145227020237 0ustar ripleyusers\alias{gtkFileSelectionGetSelections} \name{gtkFileSelectionGetSelections} \title{gtkFileSelectionGetSelections} \description{ Retrieves the list of file selections the user has made in the dialog box. This function is intended for use when the user can select multiple files in the file list. \strong{WARNING: \code{gtk_file_selection_get_selections} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionGetSelections(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileSelection}}}} \details{The filenames are in the GLib file name encoding. To convert to UTF-8, call \code{gFilenameToUtf8()} on each string.} \value{[character] a newly-allocated list of strings.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadLineAsync.Rd0000644000176000001440000000174212362217677020134 0ustar ripleyusers\alias{gDataInputStreamReadLineAsync} \name{gDataInputStreamReadLineAsync} \title{gDataInputStreamReadLineAsync} \description{The asynchronous version of \code{\link{gDataInputStreamReadLine}}. It is an error to have two outstanding calls to this function.} \usage{gDataInputStreamReadLineAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied.} \item{\verb{user.data}}{the data to pass to callback function.} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDataInputStreamReadLineFinish}} to get the result of the operation. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetCaseSensitive.Rd0000644000176000001440000000152612362217677017225 0ustar ripleyusers\alias{gtkComboSetCaseSensitive} \name{gtkComboSetCaseSensitive} \title{gtkComboSetCaseSensitive} \description{ Specifies whether the text entered into the \code{\link{GtkEntry}} field and the text in the list items is case sensitive. \strong{WARNING: \code{gtk_combo_set_case_sensitive} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetCaseSensitive(object, val)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{val}}{\code{TRUE} if the text in the list items is case sensitive.} } \details{This may be useful, for example, when you have called \code{\link{gtkComboSetValueInList}} to limit the values entered, but you are not worried about differences in case.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoSupportsFiles.Rd0000644000176000001440000000061212362217677016557 0ustar ripleyusers\alias{gAppInfoSupportsFiles} \name{gAppInfoSupportsFiles} \title{gAppInfoSupportsFiles} \description{Checks if the application accepts files as arguments.} \usage{gAppInfoSupportsFiles(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[logical] \code{TRUE} if the \code{appinfo} supports files.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestAddImageTargets.Rd0000644000176000001440000000113012362217677017416 0ustar ripleyusers\alias{gtkDragDestAddImageTargets} \name{gtkDragDestAddImageTargets} \title{gtkDragDestAddImageTargets} \description{Add the image targets supported by \verb{GtkSelection} to the target list of the drag destination. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddImageTargets}} and \code{\link{gtkDragDestSetTargetList}}.} \usage{gtkDragDestAddImageTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxSetHomogeneous.Rd0000644000176000001440000000104112362217677016431 0ustar ripleyusers\alias{gtkBoxSetHomogeneous} \name{gtkBoxSetHomogeneous} \title{gtkBoxSetHomogeneous} \description{Sets the \verb{"homogeneous"} property of \code{box}, controlling whether or not all children of \code{box} are given equal space in the box.} \usage{gtkBoxSetHomogeneous(object, homogeneous)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{homogeneous}}{a boolean value, \code{TRUE} to create equal allotments, \code{FALSE} for variable allotments} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawCheck.Rd0000644000176000001440000000170612362217677014657 0ustar ripleyusers\alias{gtkDrawCheck} \name{gtkDrawCheck} \title{gtkDrawCheck} \description{ Draws a check button indicator in the given rectangle on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_check} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintCheck}} instead.} } \usage{gtkDrawCheck(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the rectangle to draw the check in} \item{\verb{y}}{y origin of the rectangle to draw the check in} \item{\verb{width}}{the width of the rectangle to draw the check in} \item{\verb{height}}{the height of the rectangle to draw the check in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetRenderIcon.Rd0000644000176000001440000000245112362217677016216 0ustar ripleyusers\alias{gtkWidgetRenderIcon} \name{gtkWidgetRenderIcon} \title{gtkWidgetRenderIcon} \description{A convenience function that uses the theme engine and RC file settings for \code{widget} to look up \code{stock.id} and render it to a pixbuf. \code{stock.id} should be a stock icon ID such as \verb{GTK_STOCK_OPEN} or \verb{GTK_STOCK_OK}. \code{size} should be a size such as \verb{GTK_ICON_SIZE_MENU}. \code{detail} should be a string that identifies the widget or code doing the rendering, so that theme engines can special-case rendering for that widget or code.} \usage{gtkWidgetRenderIcon(object, stock.id, size, detail = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{stock.id}}{a stock ID} \item{\verb{size}}{(type int) a stock size. A size of (GtkIconSize)-1 means render at the size of the source and don't scale (if there are multiple source sizes, GTK+ picks one of the available sizes).} \item{\verb{detail}}{render detail to pass to theme engine. \emph{[ \acronym{allow-none} ]}} } \details{The pixels in the returned \code{\link{GdkPixbuf}} are shared with the rest of the application and should not be modified.} \value{[\code{\link{GdkPixbuf}}] a new pixbuf, or \code{NULL} if the stock ID wasn't known} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapColormapCreateFromXpmD.Rd0000644000176000001440000000233712362217677020501 0ustar ripleyusers\alias{gdkPixmapColormapCreateFromXpmD} \name{gdkPixmapColormapCreateFromXpmD} \title{gdkPixmapColormapCreateFromXpmD} \description{Create a pixmap from data in XPM format using a particular colormap.} \usage{gdkPixmapColormapCreateFromXpmD(drawable, colormap, transparent.color, data)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap. Can be \code{NULL} if \code{colormap} is given.} \item{\verb{colormap}}{the \code{\link{GdkColormap}} that the new pixmap will be use. If omitted, the colormap for \code{window} will be used.} \item{\verb{transparent.color}}{the color to be used for the pixels that are transparent in the input file. Can be \code{NULL}, in which case a default color will be used.} \item{\verb{data}}{Pointer to a string containing the XPM data.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}. \emph{[ \acronym{transfer none} ]}} \item{\verb{mask}}{a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be \code{NULL}, in which case transparency will be ignored.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceDscBeginSetup.Rd0000644000176000001440000000141512362217677017644 0ustar ripleyusers\alias{cairoPsSurfaceDscBeginSetup} \name{cairoPsSurfaceDscBeginSetup} \title{cairoPsSurfaceDscBeginSetup} \description{This function indicates that subsequent calls to \code{\link{cairoPsSurfaceDscComment}} should direct comments to the Setup section of the PostScript output.} \usage{cairoPsSurfaceDscBeginSetup(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}}} \details{This function should be called at most once per surface, and must be called before any call to \code{\link{cairoPsSurfaceDscBeginPageSetup}} and before any drawing is performed to the surface. See \code{\link{cairoPsSurfaceDscComment}} for more details. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectRemovePropertyChangeHandler.Rd0000644000176000001440000000076212362217677021554 0ustar ripleyusers\alias{atkObjectRemovePropertyChangeHandler} \name{atkObjectRemovePropertyChangeHandler} \title{atkObjectRemovePropertyChangeHandler} \description{Removes a property change handler.} \usage{atkObjectRemovePropertyChangeHandler(object, handler.id)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{handler.id}}{[numeric] a guint which identifies the handler to be removed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixGetFontScaleFactor.Rd0000644000176000001440000000123512362217677020202 0ustar ripleyusers\alias{pangoMatrixGetFontScaleFactor} \name{pangoMatrixGetFontScaleFactor} \title{pangoMatrixGetFontScaleFactor} \description{Returns the scale factor of a matrix on the height of the font. That is, the scale factor in the direction perpendicular to the vector that the X coordinate is mapped to.} \usage{pangoMatrixGetFontScaleFactor(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, may be \code{NULL}}} \details{ Since 1.12} \value{[numeric] the scale factor of \code{matrix} on the height of the font, or 1.0 if \code{matrix} is \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbGetVisual.Rd0000644000176000001440000000120412362217677015333 0ustar ripleyusers\alias{gdkRgbGetVisual} \name{gdkRgbGetVisual} \title{gdkRgbGetVisual} \description{Gets a "preferred visual" chosen by GdkRGB for rendering image data on the default screen. In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual.} \usage{gdkRgbGetVisual()} \value{[\code{\link{GdkVisual}}] The \code{\link{GdkVisual}} chosen by GdkRGB. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutAddAttribute.Rd0000644000176000001440000000160712362217677017376 0ustar ripleyusers\alias{gtkCellLayoutAddAttribute} \name{gtkCellLayoutAddAttribute} \title{gtkCellLayoutAddAttribute} \description{Adds an attribute mapping to the list in \code{cell.layout}. The \code{column} is the column of the model to get a value from, and the \code{attribute} is the parameter on \code{cell} to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a \code{\link{GtkCellRendererText}} get its values from column 2.} \usage{gtkCellLayoutAddAttribute(object, cell, attribute, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}.} \item{\verb{attribute}}{An attribute on the renderer.} \item{\verb{column}}{The column position on the model to get the attribute from.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathPrev.Rd0000644000176000001440000000065512362217677015377 0ustar ripleyusers\alias{gtkTreePathPrev} \name{gtkTreePathPrev} \title{gtkTreePathPrev} \description{Moves the \code{path} to point to the previous node at the current depth, if it exists.} \usage{gtkTreePathPrev(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \value{[logical] \code{TRUE} if \code{path} has a previous node, and the move was made.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGammaCurveNew.Rd0000644000176000001440000000073012362217677015521 0ustar ripleyusers\alias{gtkGammaCurveNew} \name{gtkGammaCurveNew} \title{gtkGammaCurveNew} \description{ Creates a new \code{\link{GtkGammaCurve}}. \strong{WARNING: \code{gtk_gamma_curve_new} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkGammaCurveNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkGammaCurve}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupQuery.Rd0000644000176000001440000000147512362217677016101 0ustar ripleyusers\alias{gtkAccelGroupQuery} \name{gtkAccelGroupQuery} \title{gtkAccelGroupQuery} \description{Queries an accelerator group for all entries matching \code{accel.key} and \code{accel.mods}.} \usage{gtkAccelGroupQuery(object, accel.key, accel.mods)} \arguments{ \item{\verb{object}}{the accelerator group to query} \item{\verb{accel.key}}{key value of the accelerator} \item{\verb{accel.mods}}{modifier combination of the accelerator} } \value{ A list containing the following elements: \item{retval}{[GtkAccelGroupEntry] a list of \code{n.entries} \verb{GtkAccelGroupEntry} elements, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{n.entries}}{location to return the number of entries found, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetDefaultScreen.Rd0000644000176000001440000000072512362217677017516 0ustar ripleyusers\alias{gdkDisplayGetDefaultScreen} \name{gdkDisplayGetDefaultScreen} \title{gdkDisplayGetDefaultScreen} \description{Get the default \code{\link{GdkScreen}} for \code{display}.} \usage{gdkDisplayGetDefaultScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the default \code{\link{GdkScreen}} object for \code{display}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconAppendName.Rd0000644000176000001440000000122212362217677016426 0ustar ripleyusers\alias{gThemedIconAppendName} \name{gThemedIconAppendName} \title{gThemedIconAppendName} \description{Append a name to the list of icons from within \code{icon}.} \usage{gThemedIconAppendName(object, iconname)} \arguments{ \item{\verb{object}}{a \code{\link{GThemedIcon}}} \item{\verb{iconname}}{name of icon to append to list of icons from within \code{icon}.} } \details{\strong{PLEASE NOTE:} Note that doing so invalidates the hash computed by prior calls to \code{\link{gIconHash}}.} \note{Note that doing so invalidates the hash computed by prior calls to \code{\link{gIconHash}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetPixelsInsideWrap.Rd0000644000176000001440000000071212362217677020412 0ustar ripleyusers\alias{gtkTextViewGetPixelsInsideWrap} \name{gtkTextViewGetPixelsInsideWrap} \title{gtkTextViewGetPixelsInsideWrap} \description{Gets the value set by \code{\link{gtkTextViewSetPixelsInsideWrap}}.} \usage{gtkTextViewGetPixelsInsideWrap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] default number of pixels of blank space between wrapped lines} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestUnset.Rd0000644000176000001440000000061012362217677015531 0ustar ripleyusers\alias{gtkDragDestUnset} \name{gtkDragDestUnset} \title{gtkDragDestUnset} \description{Clears information about a drop destination set with \code{\link{gtkDragDestSet}}. The widget will no longer receive notification of drags.} \usage{gtkDragDestUnset(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeGetIcon.Rd0000644000176000001440000000057012362217677016210 0ustar ripleyusers\alias{gContentTypeGetIcon} \name{gContentTypeGetIcon} \title{gContentTypeGetIcon} \description{Gets the icon for a content type.} \usage{gContentTypeGetIcon(type)} \arguments{\item{\verb{type}}{a content type string.}} \value{[\code{\link{GIcon}}] \code{\link{GIcon}} corresponding to the content type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageGetSampleString.Rd0000644000176000001440000000224612362217677020057 0ustar ripleyusers\alias{pangoLanguageGetSampleString} \name{pangoLanguageGetSampleString} \title{pangoLanguageGetSampleString} \description{Get a string that is representative of the characters needed to render a particular language.} \usage{pangoLanguageGetSampleString(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}}, or \code{NULL}}} \details{The sample text may be a pangram, but is not necessarily. It is chosen to be demonstrative of normal text in the language, as well as exposing font feature requirements unique to the language. It is suitable for use as sample text in a font selection dialog. If \code{language} is \code{NULL}, the default language as found by \code{\link{pangoLanguageGetDefault}} is used. If Pango does not have a sample string for \code{language}, the classic "The quick brown fox..." is returned. This can be detected by comparing the returned pointer value to that returned for (non-existent) language code "xx". That is, compare to: \preformatted{ pangoLanguageFromString("xx")$getSampleString() } } \value{[char] the sample string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerNew.Rd0000644000176000001440000000136212362217677016207 0ustar ripleyusers\alias{gtkRecentManagerNew} \name{gtkRecentManagerNew} \title{gtkRecentManagerNew} \description{Creates a new recent manager object. Recent manager objects are used to handle the list of recently used resources. A \code{\link{GtkRecentManager}} object monitors the recently used resources list, and emits the "changed" signal each time something inside the list changes.} \usage{gtkRecentManagerNew()} \details{\code{\link{GtkRecentManager}} objects are expensive: be sure to create them only when needed. You should use \code{\link{gtkRecentManagerGetDefault}} instead. Since 2.10} \value{[\code{\link{GtkRecentManager}}] A newly created \code{\link{GtkRecentManager}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSeparatorToolItemSetDraw.Rd0000644000176000001440000000116112362217677017726 0ustar ripleyusers\alias{gtkSeparatorToolItemSetDraw} \name{gtkSeparatorToolItemSetDraw} \title{gtkSeparatorToolItemSetDraw} \description{Whether \code{item} is drawn as a vertical line, or just blank. Setting this to \code{FALSE} along with \code{\link{gtkToolItemSetExpand}} is useful to create an item that forces following items to the end of the toolbar.} \usage{gtkSeparatorToolItemSetDraw(object, draw)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSeparatorToolItem}}} \item{\verb{draw}}{whether \code{item} is drawn as a vertical line} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoShowLayoutLine.Rd0000644000176000001440000000111112362217677017235 0ustar ripleyusers\alias{pangoCairoShowLayoutLine} \name{pangoCairoShowLayoutLine} \title{pangoCairoShowLayoutLine} \description{Draws a \code{\link{PangoLayoutLine}} in the specified cairo context. The origin of the glyphs (the left edge of the line) will be drawn at the current point of the cairo context.} \usage{pangoCairoShowLayoutLine(cr, line)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{line}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamWrite.Rd0000644000176000001440000000327312362217677016155 0ustar ripleyusers\alias{gOutputStreamWrite} \name{gOutputStreamWrite} \title{gOutputStreamWrite} \description{Tries to write \code{count} bytes from \code{buffer} into the stream. Will block during the operation.} \usage{gOutputStreamWrite(object, buffer, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{buffer}}{the buffer containing the data to write.} \item{\verb{cancellable}}{optional cancellable object} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If count is zero returns zero and does nothing. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes written to the stream is returned. It is not an error if this is not the same as the requested size, as it can happen e.g. on a partial i/o error, or if there is not enough storage in the stream. All writes either block until at least one byte is written, so zero is never returned (unless \code{count} is zero). If \code{cancellable} is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error. On error -1 is returned and \code{error} is set accordingly.} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes written, or -1 on error} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewExpandRow.Rd0000644000176000001440000000101012362217677016372 0ustar ripleyusers\alias{gtkTreeViewExpandRow} \name{gtkTreeViewExpandRow} \title{gtkTreeViewExpandRow} \description{Opens the row so its children are visible.} \usage{gtkTreeViewExpandRow(object, path, open.all)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{path to a row} \item{\verb{open.all}}{whether to recursively expand, or just expand immediate children} } \value{[logical] \code{TRUE} if the row existed and had children} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapGetSystem.Rd0000644000176000001440000000055412362217677016425 0ustar ripleyusers\alias{gdkColormapGetSystem} \name{gdkColormapGetSystem} \title{gdkColormapGetSystem} \description{Gets the system's default colormap for the default screen. (See \code{gdkColormapGetSystemForScreen()})} \usage{gdkColormapGetSystem()} \value{[\code{\link{GdkColormap}}] the default colormap.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufCopy.Rd0000644000176000001440000000072312362217677015072 0ustar ripleyusers\alias{gdkPixbufCopy} \name{gdkPixbufCopy} \title{gdkPixbufCopy} \description{Creates a new \code{\link{GdkPixbuf}} with a copy of the information in the specified \code{pixbuf}.} \usage{gdkPixbufCopy(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1, or \code{NULL} if not enough memory could be allocated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetMaxWidthChars.Rd0000644000176000001440000000071712362217677017147 0ustar ripleyusers\alias{gtkLabelSetMaxWidthChars} \name{gtkLabelSetMaxWidthChars} \title{gtkLabelSetMaxWidthChars} \description{Sets the desired maximum width in characters of \code{label} to \code{n.chars}.} \usage{gtkLabelSetMaxWidthChars(object, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{n.chars}}{the new desired maximum width, in characters.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonNewFromStock.Rd0000644000176000001440000000107312362217677020261 0ustar ripleyusers\alias{gtkMenuToolButtonNewFromStock} \name{gtkMenuToolButtonNewFromStock} \title{gtkMenuToolButtonNewFromStock} \description{Creates a new \code{\link{GtkMenuToolButton}}. The new \code{\link{GtkMenuToolButton}} will contain an icon and label from the stock item indicated by \code{stock.id}.} \usage{gtkMenuToolButtonNewFromStock(stock.id)} \arguments{\item{\verb{stock.id}}{the name of a stock item}} \details{Since 2.6} \value{[\code{\link{GtkToolItem}}] the new \code{\link{GtkMenuToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-types.Rd0000644000176000001440000000222712362217677014554 0ustar ripleyusers\alias{cairo-types} \alias{CairoUserDataKey} \alias{cairo_destroy_func_t} \name{cairo-types} \title{Types} \description{Generic data types} \section{Detailed Description}{Generic data types used in the cairo API} \section{Structures}{\describe{\item{\verb{CairoUserDataKey}}{ \code{\link{CairoUserDataKey}} is used for attaching user data to cairo data structures. The actual contents of the struct is never used, and there is no need to initialize the object; only the unique a \verb{cairo_data_key_t} object is used. Typically, you would just use the a static \verb{cairo_data_key_t} object. \describe{\item{\code{unused}}{[integer] not used; ignore.}} }}} \section{User Functions}{\describe{\item{\code{cairo_destroy_func_t(data)}}{ \verb{cairo_destroy_func_t} the type of function which is called when a data element is destroyed. It is passed the pointer to the data element and should free any memory and resources allocated for it. \describe{\item{\code{data}}{[R object] The data element being destroyed.}} }}} \references{\url{http://www.cairographics.org/manual/cairo-types.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenSetDefaultColormap.Rd0000644000176000001440000000066012362217677017677 0ustar ripleyusers\alias{gdkScreenSetDefaultColormap} \name{gdkScreenSetDefaultColormap} \title{gdkScreenSetDefaultColormap} \description{Sets the default \code{colormap} for \code{screen}.} \usage{gdkScreenSetDefaultColormap(object, colormap)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{colormap}}{a \code{\link{GdkColormap}}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextSimpleNew.Rd0000644000176000001440000000051312362217677016515 0ustar ripleyusers\alias{gtkIMContextSimpleNew} \name{gtkIMContextSimpleNew} \title{gtkIMContextSimpleNew} \description{Creates a new \code{\link{GtkIMContextSimple}}.} \usage{gtkIMContextSimpleNew()} \value{[\code{\link{GtkIMContext}}] a new \code{\link{GtkIMContextSimple}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFixedGetHasWindow.Rd0000644000176000001440000000117512362217677016347 0ustar ripleyusers\alias{gtkFixedGetHasWindow} \name{gtkFixedGetHasWindow} \title{gtkFixedGetHasWindow} \description{ Gets whether the \code{\link{GtkFixed}} has its own \code{\link{GdkWindow}}. See \code{\link{gtkFixedSetHasWindow}}. \strong{WARNING: \code{gtk_fixed_get_has_window} has been deprecated since version 2.20 and should not be used in newly-written code. Use \code{\link{gtkWidgetGetHasWindow}} instead.} } \usage{gtkFixedGetHasWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[logical] \code{TRUE} if \code{fixed} has its own window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetShowNotFound.Rd0000644000176000001440000000106612362217677020560 0ustar ripleyusers\alias{gtkRecentChooserSetShowNotFound} \name{gtkRecentChooserSetShowNotFound} \title{gtkRecentChooserSetShowNotFound} \description{Sets whether \code{chooser} should display the recently used resources that it didn't find. This only applies to local resources.} \usage{gtkRecentChooserSetShowNotFound(object, show.not.found)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{show.not.found}}{whether to show the local items we didn't find} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocket.Rd0000644000176000001440000002105512362217677013654 0ustar ripleyusers\alias{GSocket} \alias{gSocket} \alias{GSocketSourceFunc} \alias{GSocketType} \alias{GSocketProtocol} \name{GSocket} \title{GSocket} \description{Low-level socket object} \section{Methods and Functions}{ \code{\link{gSocketNew}(family, type, protocol, .errwarn = TRUE)}\cr \code{\link{gSocketNewFromFd}(fd, .errwarn = TRUE)}\cr \code{\link{gSocketBind}(object, address, allow.reuse, .errwarn = TRUE)}\cr \code{\link{gSocketListen}(object, .errwarn = TRUE)}\cr \code{\link{gSocketAccept}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketConnect}(object, address, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketCheckConnectResult}(object, .errwarn = TRUE)}\cr \code{\link{gSocketReceive}(object, size, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketReceiveFrom}(object, size, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketReceiveMessage}(object, flags = 0, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketSend}(object, buffer, size, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketSendTo}(object, address, buffer, size, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketSendMessage}(object, address, vectors, messages = NULL, flags = 0, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketClose}(object, .errwarn = TRUE)}\cr \code{\link{gSocketIsClosed}(object)}\cr \code{\link{gSocketShutdown}(object, shutdown.read, shutdown.write, .errwarn = TRUE)}\cr \code{\link{gSocketIsConnected}(object)}\cr \code{\link{gSocketCreateSource}(object, condition, cancellable = NULL)}\cr \code{\link{gSocketConditionCheck}(object, condition)}\cr \code{\link{gSocketConditionWait}(object, condition, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketSetListenBacklog}(object, backlog)}\cr \code{\link{gSocketGetListenBacklog}(object)}\cr \code{\link{gSocketGetBlocking}(object)}\cr \code{\link{gSocketSetBlocking}(object, blocking)}\cr \code{\link{gSocketGetKeepalive}(object)}\cr \code{\link{gSocketSetKeepalive}(object, keepalive)}\cr \code{\link{gSocketGetFamily}(object)}\cr \code{\link{gSocketGetFd}(object)}\cr \code{\link{gSocketGetLocalAddress}(object, .errwarn = TRUE)}\cr \code{\link{gSocketGetProtocol}(object)}\cr \code{\link{gSocketGetRemoteAddress}(object, .errwarn = TRUE)}\cr \code{\link{gSocketGetSocketType}(object)}\cr \code{\link{gSocketSpeaksIpv4}(object)}\cr \code{gSocket(family, type, protocol, .errwarn = TRUE)} } \section{Hierarchy}{\preformatted{ GObject +----GSocket GEnum +----GSocketType GEnum +----GSocketProtocol GEnum +----GSocketMsgFlags }} \section{Interfaces}{GSocket implements \code{\link{GInitable}}.} \section{Detailed Description}{A \code{\link{GSocket}} is a low-level networking primitive. It is a more or less direct mapping of the BSD socket API in a portable GObject based API. It supports both the UNIX socket implementations and winsock2 on Windows. \code{\link{GSocket}} is the platform independent base upon which the higher level network primitives are based. Applications are not typically meant to use it directly, but rather through classes like \code{\link{GSocketClient}}, \code{\link{GSocketService}} and \code{\link{GSocketConnection}}. However there may be cases where direct use of \code{\link{GSocket}} is useful. \code{\link{GSocket}} implements the \code{\link{GInitable}} interface, so if it is manually constructed by e.g. \code{\link{gObjectNew}} you must call \code{\link{gInitableInit}} and check the results before using the object. This is done automatically in \code{\link{gSocketNew}} and \code{\link{gSocketNewFromFd}}, so these functions can return \code{NULL}. Sockets operate in two general modes, blocking or non-blocking. When in blocking mode all operations block until the requested operation is finished or there is an error. In non-blocking mode all calls that would block return immediately with a \code{G_IO_ERROR_WOULD_BLOCK} error. To know when a call would successfully run you can call \code{\link{gSocketConditionCheck}}, or \code{\link{gSocketConditionWait}}. You can also use \code{\link{gSocketCreateSource}} and attach it to a \verb{GMainContext} to get callbacks when I/O is possible. Note that all sockets are always set to non blocking mode in the system, and blocking mode is emulated in GSocket. When working in non-blocking mode applications should always be able to handle getting a \code{G_IO_ERROR_WOULD_BLOCK} error even when some other function said that I/O was possible. This can easily happen in case of a race condition in the application, but it can also happen for other reasons. For instance, on Windows a socket is always seen as writable until a write returns \code{G_IO_ERROR_WOULD_BLOCK}. \code{\link{GSocket}}s can be either connection oriented or datagram based. For connection oriented types you must first establish a connection by either connecting to an address or accepting a connection from another address. For connectionless socket types the target/source address is specified or received in each I/O operation. All socket file descriptors are set to be close-on-exec. Note that creating a \code{\link{GSocket}} causes the signal \code{SIGPIPE} to be ignored for the remainder of the program. If you are writing a command-line utility that uses \code{\link{GSocket}}, you may need to take into account the fact that your program will not automatically be killed if it tries to write to \code{stdout} after it has been closed.} \section{Structures}{\describe{\item{\verb{GSocket}}{ A lowlevel network socket object. Since 2.22 }}} \section{Convenient Construction}{\code{gSocket} is the equivalent of \code{\link{gSocketNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GSocketType}}{ Flags used when creating a \code{\link{GSocket}}. Some protocols may not implement all the socket types. Since 2.22 \describe{ \item{\verb{invalid}}{Type unknown or wrong} \item{\verb{stream}}{Reliable connection-based byte streams (e.g. TCP).} \item{\verb{datagram}}{Connectionless, unreliable datagram passing. (e.g. UDP)} \item{\verb{seqpacket}}{Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP).} } } \item{\verb{GSocketProtocol}}{ A protocol identifier is specified when creating a \code{\link{GSocket}}, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type. This enum contains a set of commonly available and used protocols. You can also pass any other identifiers handled by the platform in order to use protocols not listed here. Since 2.22 \describe{ \item{\verb{unknown}}{The protocol type is unknown} \item{\verb{default}}{The default protocol for the family/type} \item{\verb{tcp}}{TCP over IP} \item{\verb{udp}}{UDP over IP} \item{\verb{sctp}}{SCTP over IP} } } }} \section{User Functions}{\describe{\item{\code{GSocketSourceFunc(socket, condition, user.data)}}{ This is the function type of the callback used for the \verb{GSource} returned by \code{\link{gSocketCreateSource}}. Since 2.22 \describe{ \item{\code{socket}}{the \code{\link{GSocket}}} \item{\code{condition}}{the current condition at the source fired.} \item{\code{user.data}}{data passed in by the user.} } \emph{Returns:} [logical] it should return \code{FALSE} if the source should be removed. }}} \section{Properties}{\describe{ \item{\verb{blocking} [logical : Read / Write]}{ Whether or not I/O on this socket is blocking. Default value: TRUE } \item{\verb{family} [\code{\link{GSocketFamily}} : Read / Write / Construct Only]}{ The sockets address family. Default value: G_SOCKET_FAMILY_INVALID } \item{\verb{fd} [integer : Read / Write / Construct Only]}{ The sockets file descriptor. Default value: -1 } \item{\verb{keepalive} [logical : Read / Write]}{ Keep connection alive by sending periodic pings. Default value: FALSE } \item{\verb{listen-backlog} [integer : Read / Write]}{ Outstanding connections in the listen queue. Allowed values: [0,128] Default value: 10 } \item{\verb{local-address} [\code{\link{GSocketAddress}} : * : Read]}{ The local address the socket is bound to. } \item{\verb{protocol} [\code{\link{GSocketProtocol}} : Read / Write / Construct Only]}{ The id of the protocol to use, or -1 for unknown. Default value: G_SOCKET_PROTOCOL_UNKNOWN } \item{\verb{remote-address} [\code{\link{GSocketAddress}} : * : Read]}{ The remote address the socket is connected to. } \item{\verb{type} [\code{\link{GSocketType}} : Read / Write / Construct Only]}{ The sockets type. Default value: G_SOCKET_TYPE_STREAM } }} \references{\url{http://library.gnome.org/devel//gio/GSocket.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserRemoveShortcutFolder.Rd0000644000176000001440000000163711766145227021275 0ustar ripleyusers\alias{gtkFileChooserRemoveShortcutFolder} \name{gtkFileChooserRemoveShortcutFolder} \title{gtkFileChooserRemoveShortcutFolder} \description{Removes a folder from a file chooser's list of shortcut folders.} \usage{gtkFileChooserRemoveShortcutFolder(object, folder, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{folder}}{filename of the folder to remove} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation succeeds, \code{FALSE} otherwise. In the latter case, the \code{error} will be set as appropriate. See also: \code{\link{gtkFileChooserAddShortcutFolder}}} \item{\verb{error}}{ location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadInt16.Rd0000644000176000001440000000164212362217677017147 0ustar ripleyusers\alias{gDataInputStreamReadInt16} \name{gDataInputStreamReadInt16} \title{gDataInputStreamReadInt16} \description{Reads a 16-bit/2-byte value from \code{stream}.} \usage{gDataInputStreamReadInt16(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()} and \code{gDataStreamSetByteOrder()}.} \value{ A list containing the following elements: \item{retval}{[integer] a signed 16-bit/2-byte value read from \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathToString.Rd0000644000176000001440000000074612362217677016235 0ustar ripleyusers\alias{gtkTreePathToString} \name{gtkTreePathToString} \title{gtkTreePathToString} \description{Generates a string representation of the path. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string.} \usage{gtkTreePathToString(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}}} \value{[character] A newly-allocated string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetPointer.Rd0000644000176000001440000000164512362217677016414 0ustar ripleyusers\alias{gdkDisplayGetPointer} \name{gdkDisplayGetPointer} \title{gdkDisplayGetPointer} \description{Gets the current location of the pointer and the current modifier mask for a given display.} \usage{gdkDisplayGetPointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{ A list containing the following elements: \item{\verb{screen}}{location to store the screen that the cursor is on, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{(out): location to store root window X coordinate of pointer, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y}}{(out): location to store root window Y coordinate of pointer, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask}}{(out): location to store current modifier mask, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetRowHeight.Rd0000644000176000001440000000116512362217677016336 0ustar ripleyusers\alias{gtkCListSetRowHeight} \name{gtkCListSetRowHeight} \title{gtkCListSetRowHeight} \description{ Causes the \code{\link{GtkCList}} to have a specified height for its rows. Setting the row height to 0 allows the \code{\link{GtkCList}} to adjust automatically to data in the row. \strong{WARNING: \code{gtk_clist_set_row_height} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetRowHeight(object, height)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{height}}{The height, in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsComposite.Rd0000644000176000001440000000111412362217677020045 0ustar ripleyusers\alias{gdkDisplaySupportsComposite} \name{gdkDisplaySupportsComposite} \title{gdkDisplaySupportsComposite} \description{Returns \code{TRUE} if \code{\link{gdkWindowSetComposited}} can be used to redirect drawing on the window using compositing.} \usage{gdkDisplaySupportsComposite(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Currently this only works on X11 with XComposite and XDamage extensions available. Since 2.12} \value{[logical] \code{TRUE} if windows may be composited.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceContentsFinish.Rd0000644000176000001440000000167612362217677017525 0ustar ripleyusers\alias{gFileReplaceContentsFinish} \name{gFileReplaceContentsFinish} \title{gFileReplaceContentsFinish} \description{Finishes an asynchronous replace of the given \code{file}. See \code{\link{gFileReplaceContentsAsync}}. Sets \code{new.etag} to the new entity tag for the document, if present.} \usage{gFileReplaceContentsFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on failure.} \item{\verb{new.etag}}{a location of a new entity tag for the document. This should be freed with \code{gFree()} when it is no longer needed, or \code{NULL}} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetUserData.Rd0000644000176000001440000000060412362217677017656 0ustar ripleyusers\alias{gtkTreeSelectionGetUserData} \name{gtkTreeSelectionGetUserData} \title{gtkTreeSelectionGetUserData} \description{Returns the user data for the selection function.} \usage{gtkTreeSelectionGetUserData(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \value{[R object] The user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsLinkLocal.Rd0000644000176000001440000000102712362217677017413 0ustar ripleyusers\alias{gInetAddressGetIsLinkLocal} \name{gInetAddressGetIsLinkLocal} \title{gInetAddressGetIsLinkLocal} \description{Tests whether \code{address} is a link-local address (that is, if it identifies a host on a local network that is not connected to the Internet).} \usage{gInetAddressGetIsLinkLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a link-local address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionClearSelection.Rd0000644000176000001440000000076312362217677017562 0ustar ripleyusers\alias{atkSelectionClearSelection} \name{atkSelectionClearSelection} \title{atkSelectionClearSelection} \description{Clears the selection in the object so that no children in the object are selected.} \usage{atkSelectionClearSelection(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface}} \value{[logical] TRUE if success, FALSE otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbSetVerbose.Rd0000644000176000001440000000052712362217677015520 0ustar ripleyusers\alias{gdkRgbSetVerbose} \name{gdkRgbSetVerbose} \title{gdkRgbSetVerbose} \description{Sets the "verbose" flag. This is generally only useful for debugging.} \usage{gdkRgbSetVerbose(verbose)} \arguments{\item{\verb{verbose}}{\code{TRUE} if verbose messages are desired.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetName.Rd0000644000176000001440000000076112362217677016375 0ustar ripleyusers\alias{gtkStatusIconSetName} \name{gtkStatusIconSetName} \title{gtkStatusIconSetName} \description{Sets the name of this tray icon. This should be a string identifying this icon. It is may be used for sorting the icons in the tray and will not be shown to the user.} \usage{gtkStatusIconSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{name}}{the name} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetNew.Rd0000644000176000001440000000042712362217677015223 0ustar ripleyusers\alias{atkStateSetNew} \name{atkStateSetNew} \title{atkStateSetNew} \description{Creates a new empty state set.} \usage{atkStateSetNew()} \value{[\code{\link{AtkStateSet}}] a new \code{\link{AtkStateSet}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGrabFocus.Rd0000644000176000001440000000063612362217677016555 0ustar ripleyusers\alias{atkComponentGrabFocus} \name{atkComponentGrabFocus} \title{atkComponentGrabFocus} \description{Grabs focus for this \code{component}.} \usage{atkComponentGrabFocus(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}}} \value{[logical] \code{TRUE} if successful, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeFromName.Rd0000644000176000001440000000057212362217677016174 0ustar ripleyusers\alias{gtkIconSizeFromName} \name{gtkIconSizeFromName} \title{gtkIconSizeFromName} \description{Looks up the icon size associated with \code{name}.} \usage{gtkIconSizeFromName(name)} \arguments{\item{\verb{name}}{the name to look up.}} \value{[\code{\link{GtkIconSize}}] the icon size with the given name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalToLower.Rd0000644000176000001440000000067212362217677015554 0ustar ripleyusers\alias{gdkKeyvalToLower} \name{gdkKeyvalToLower} \title{gdkKeyvalToLower} \description{Converts a key value to lower case, if applicable.} \usage{gdkKeyvalToLower(keyval)} \arguments{\item{\verb{keyval}}{a key value.}} \value{[numeric] the lower case form of \code{keyval}, or \code{keyval} itself if it is already in lower case or it is not subject to case conversion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionDialogGetColorSelection.Rd0000644000176000001440000000103312362217677022366 0ustar ripleyusers\alias{gtkColorSelectionDialogGetColorSelection} \name{gtkColorSelectionDialogGetColorSelection} \title{gtkColorSelectionDialogGetColorSelection} \description{Retrieves the \code{\link{GtkColorSelection}} widget embedded in the dialog.} \usage{gtkColorSelectionDialogGetColorSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelectionDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the embedded \code{\link{GtkColorSelection}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableResize.Rd0000644000176000001440000000075612362217677015241 0ustar ripleyusers\alias{gtkTableResize} \name{gtkTableResize} \title{gtkTableResize} \description{If you need to change a table's size \emph{after} it has been created, this function allows you to do so.} \usage{gtkTableResize(object, rows, columns)} \arguments{ \item{\verb{object}}{The \code{\link{GtkTable}} you wish to change the size of.} \item{\verb{rows}}{The new number of rows.} \item{\verb{columns}}{The new number of columns.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-surface.Rd0000644000176000001440000001265412362217677015045 0ustar ripleyusers\alias{cairo-surface} \alias{CairoSurface} \alias{cairoSurface} \alias{CairoContent} \alias{CairoSurfaceType} \name{cairo-surface} \title{cairo_surface_t} \description{Base class for surfaces} \section{Methods and Functions}{ \code{\link{cairoSurfaceCreateSimilar}(other, content, width, height)}\cr \code{\link{cairoSurfaceDestroy}(surface)}\cr \code{\link{cairoSurfaceStatus}(surface)}\cr \code{\link{cairoSurfaceFinish}(surface)}\cr \code{\link{cairoSurfaceFlush}(surface)}\cr \code{\link{cairoSurfaceGetFontOptions}(surface)}\cr \code{\link{cairoSurfaceGetContent}(surface)}\cr \code{\link{cairoSurfaceMarkDirty}(surface)}\cr \code{\link{cairoSurfaceMarkDirtyRectangle}(surface, x, y, width, height)}\cr \code{\link{cairoSurfaceSetDeviceOffset}(surface, x.offset, y.offset)}\cr \code{\link{cairoSurfaceGetDeviceOffset}(surface)}\cr \code{\link{cairoSurfaceSetFallbackResolution}(surface, x.pixels.per.inch, y.pixels.per.inch)}\cr \code{\link{cairoSurfaceGetFallbackResolution}(surface)}\cr \code{\link{cairoSurfaceGetType}(surface)}\cr \code{\link{cairoSurfaceSetUserData}(surface, key, user.data)}\cr \code{\link{cairoSurfaceGetUserData}(surface, key)}\cr \code{\link{cairoSurfaceCopyPage}(surface)}\cr \code{\link{cairoSurfaceShowPage}(surface)}\cr \code{\link{cairoSurfaceHasShowTextGlyphs}(surface)}\cr \code{cairoSurface(width, height, format, other, content, data, stride, filename, con)} } \section{Detailed Description}{\code{\link{CairoSurface}} is the abstract type representing all different drawing targets that cairo can render to. The actual drawings are performed using a cairo \dfn{context}. A cairo surface is created by using \dfn{backend}-specific constructors, typically of the form cairo_\emph{backend}\code{surfaceCreate()}.} \section{Structures}{\describe{\item{\verb{CairoSurface}}{ A \code{\link{CairoSurface}} represents an image, either as the destination of a drawing operation or as source when drawing onto another surface. To draw to a \code{\link{CairoSurface}}, create a cairo context with the surface as the target, using \code{\link{cairoCreate}}. There are different subtypes of \code{\link{CairoSurface}} for different drawing backends; for example, \code{\link{cairoImageSurfaceCreate}} creates a bitmap image in memory. The type of a surface can be queried with \code{\link{cairoSurfaceGetType}}. Memory management of \code{\link{CairoSurface}} is done with \code{cairoSurfaceReference()} and \code{\link{cairoSurfaceDestroy}}. }}} \section{Convenient Construction}{\code{cairoSurface} is the result of collapsing the constructors of \code{cairo_surface_t} (\code{\link{cairoSurfaceCreateSimilar}}, \code{\link{cairoImageSurfaceCreate}}, \code{\link{cairoImageSurfaceCreateForData}}, \code{\link{cairoImageSurfaceCreateFromPng}}, \code{\link{cairoImageSurfaceCreateFromPngStream}}, \code{\link{cairoPdfSurfaceCreate}}, \code{\link{cairoPdfSurfaceCreateForStream}}, \code{\link{cairoPsSurfaceCreate}}, \code{\link{cairoPsSurfaceCreateForStream}}, \code{\link{cairoSvgSurfaceCreate}}, \code{\link{cairoSvgSurfaceCreateForStream}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{CairoContent}}{ \code{\link{CairoContent}} is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs. opacity), or both. Note: The large values here are designed to keep \code{\link{CairoContent}} values distinct from \code{\link{CairoFormat}} values so that the implementation can detect the error if users confuse the two types. \describe{ \item{\verb{color}}{ The surface will hold color content only.} \item{\verb{alpha}}{ The surface will hold alpha content only.} \item{\verb{color-alpha}}{ The surface will hold color and alpha content.} } } \item{\verb{CairoSurfaceType}}{ \code{\link{CairoSurfaceType}} is used to describe the type of a given surface. The surface types are also known as "backends" or "surface backends" within cairo. The type of a surface is determined by the function used to create it, which will generally be of the form cairo_\emph{type}\code{surfaceCreate()}, (though see \code{\link{cairoSurfaceCreateSimilar}} as well). The surface type can be queried with \code{\link{cairoSurfaceGetType}} The various \code{\link{CairoSurface}} functions can be used with surfaces of any type, but some backends also provide type-specific functions that must only be called with a surface of the appropriate type. These functions have names that begin with cairo_\emph{type}_surface such as \code{\link{cairoImageSurfaceGetWidth}}. The behavior of calling a type-specific function with a surface of the wrong type is undefined. New entries may be added in future versions. Since 1.2 \describe{ \item{\verb{image}}{ The surface is of type image} \item{\verb{pdf}}{ The surface is of type pdf} \item{\verb{ps}}{ The surface is of type ps} \item{\verb{xlib}}{ The surface is of type xlib} \item{\verb{xcb}}{ The surface is of type xcb} \item{\verb{glitz}}{ The surface is of type glitz} \item{\verb{quartz}}{ The surface is of type quartz} \item{\verb{win32}}{ The surface is of type win32} \item{\verb{beos}}{ The surface is of type beos} \item{\verb{directfb}}{ The surface is of type directfb} \item{\verb{svg}}{ The surface is of type svg} } } }} \references{\url{http://www.cairographics.org/manual/cairo-surface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupDisconnect.Rd0000644000176000001440000000125412362217677017060 0ustar ripleyusers\alias{gtkAccelGroupDisconnect} \name{gtkAccelGroupDisconnect} \title{gtkAccelGroupDisconnect} \description{Removes an accelerator previously installed through \code{\link{gtkAccelGroupConnect}}.} \usage{gtkAccelGroupDisconnect(object, closure)} \arguments{ \item{\verb{object}}{the accelerator group to remove an accelerator from} \item{\verb{closure}}{the closure to remove from this accelerator group, or \code{NULL} to remove all closures. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.20 \code{closure} can be \code{NULL}.} \value{[logical] \code{TRUE} if the closure was found and got disconnected} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventBoxSetVisibleWindow.Rd0000644000176000001440000000512612362217677017740 0ustar ripleyusers\alias{gtkEventBoxSetVisibleWindow} \name{gtkEventBoxSetVisibleWindow} \title{gtkEventBoxSetVisibleWindow} \description{Set whether the event box uses a visible or invisible child window. The default is to use visible windows.} \usage{gtkEventBoxSetVisibleWindow(object, visible.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEventBox}}} \item{\verb{visible.window}}{boolean value} } \details{In an invisible window event box, the window that the event box creates is a \code{GDK_INPUT_ONLY} window, which means that it is invisible and only serves to receive events. A visible window event box creates a visible (\code{GDK_INPUT_OUTPUT}) window that acts as the parent window for all the widgets contained in the event box. You should generally make your event box invisible if you just want to trap events. Creating a visible window may cause artifacts that are visible to the user, especially if the user is using a theme with gradients or pixmaps. The main reason to create a non input-only event box is if you want to set the background to a different color or draw on it. \strong{PLEASE NOTE:} There is one unexpected issue for an invisible event box that has its window below the child. (See \code{\link{gtkEventBoxSetAboveChild}}.) Since the input-only window is not an ancestor window of any windows that descendent widgets of the event box create, events on these windows aren't propagated up by the windowing system, but only by GTK+. The practical effect of this is if an event isn't in the event mask for the descendant window (see \code{\link{gtkWidgetAddEvents}}), it won't be received by the event box. This problem doesn't occur for visible event boxes, because in that case, the event box window is actually the ancestor of the descendant windows, not just at the same place on the screen. Since 2.4} \note{There is one unexpected issue for an invisible event box that has its window below the child. (See \code{\link{gtkEventBoxSetAboveChild}}.) Since the input-only window is not an ancestor window of any windows that descendent widgets of the event box create, events on these windows aren't propagated up by the windowing system, but only by GTK+. The practical effect of this is if an event isn't in the event mask for the descendant window (see \code{\link{gtkWidgetAddEvents}}), it won't be received by the event box. This problem doesn't occur for visible event boxes, because in that case, the event box window is actually the ancestor of the descendant windows, not just at the same place on the screen.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionUnsetFields.Rd0000644000176000001440000000112712362217677020620 0ustar ripleyusers\alias{pangoFontDescriptionUnsetFields} \name{pangoFontDescriptionUnsetFields} \title{pangoFontDescriptionUnsetFields} \description{Unsets some of the fields in a \code{\link{PangoFontDescription}}. The unset fields will get back to their default values.} \usage{pangoFontDescriptionUnsetFields(object, to.unset)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{to.unset}}{[\code{\link{PangoFontMask}}] bitmask of fields in the \code{desc} to unset.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMulticast.Rd0000644000176000001440000000067112362217677017514 0ustar ripleyusers\alias{gInetAddressGetIsMulticast} \name{gInetAddressGetIsMulticast} \title{gInetAddressGetIsMulticast} \description{Tests whether \code{address} is a multicast address.} \usage{gInetAddressGetIsMulticast(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutPackStart.Rd0000644000176000001440000000143512362217677016715 0ustar ripleyusers\alias{gtkCellLayoutPackStart} \name{gtkCellLayoutPackStart} \title{gtkCellLayoutPackStart} \description{Packs the \code{cell} into the beginning of \code{cell.layout}. If \code{expand} is \code{FALSE}, then the \code{cell} is allocated no more space than it needs. Any unused space is divided evenly between cells for which \code{expand} is \code{TRUE}.} \usage{gtkCellLayoutPackStart(object, cell, expand = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}.} \item{\verb{expand}}{\code{TRUE} if \code{cell} is to be given extra space allocated to \code{cell.layout}.} } \details{Note that reusing the same cell renderer is not supported. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetProtocol.Rd0000644000176000001440000000071212362217677016073 0ustar ripleyusers\alias{gSocketGetProtocol} \name{gSocketGetProtocol} \title{gSocketGetProtocol} \description{Gets the socket protocol id the socket was created with. In case the protocol is unknown, -1 is returned.} \usage{gSocketGetProtocol(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[\code{\link{GSocketProtocol}}] a protocol id, or -1 if unknown} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNewWithLabel.Rd0000644000176000001440000000106212362217677017517 0ustar ripleyusers\alias{gtkRadioButtonNewWithLabel} \name{gtkRadioButtonNewWithLabel} \title{gtkRadioButtonNewWithLabel} \description{Creates a new \code{\link{GtkRadioButton}} with a text label.} \usage{gtkRadioButtonNewWithLabel(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{an existing radio button group, or \code{NULL} if you are creating a new group.} \item{\verb{label}}{the text label to display next to the radio button.} } \value{[\code{\link{GtkWidget}}] a new radio button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetVisibleHorizontal.Rd0000644000176000001440000000101712362217677020603 0ustar ripleyusers\alias{gtkToolItemGetVisibleHorizontal} \name{gtkToolItemGetVisibleHorizontal} \title{gtkToolItemGetVisibleHorizontal} \description{Returns whether the \code{tool.item} is visible on toolbars that are docked horizontally.} \usage{gtkToolItemGetVisibleHorizontal(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{tool.item} is visible on toolbars that are docked horizontally.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenMakeDisplayName.Rd0000644000176000001440000000074412362217677017151 0ustar ripleyusers\alias{gdkScreenMakeDisplayName} \name{gdkScreenMakeDisplayName} \title{gdkScreenMakeDisplayName} \description{Determines the name to pass to \code{\link{gdkDisplayOpen}} to get a \code{\link{GdkDisplay}} with this screen as the default screen.} \usage{gdkScreenMakeDisplayName(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[character] a newly allocated string,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetIcon.Rd0000644000176000001440000000117612362217677017512 0ustar ripleyusers\alias{gdkAppLaunchContextSetIcon} \name{gdkAppLaunchContextSetIcon} \title{gdkAppLaunchContextSetIcon} \description{Sets the icon for applications that are launched with this context.} \usage{gdkAppLaunchContextSetIcon(object, icon = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{icon}}{a \code{\link{GIcon}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Window Managers can use this information when displaying startup notification. See also \code{\link{gdkAppLaunchContextSetIconName}}. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsSetTip.Rd0000644000176000001440000000153012362217677015765 0ustar ripleyusers\alias{gtkTooltipsSetTip} \name{gtkTooltipsSetTip} \title{gtkTooltipsSetTip} \description{ Adds a tooltip containing the message \code{tip.text} to the specified \code{\link{GtkWidget}}. \strong{WARNING: \code{gtk_tooltips_set_tip} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsSetTip(object, widget, tip.text = NULL, tip.private = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltips}}.} \item{\verb{widget}}{the \code{\link{GtkWidget}} you wish to associate the tip with.} \item{\verb{tip.text}}{a string containing the tip itself. \emph{[ \acronym{allow-none} ]}} \item{\verb{tip.private}}{a string of any further information that may be useful if the user gets stuck. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionGetRemoteAddress.Rd0000644000176000001440000000132412362217677021053 0ustar ripleyusers\alias{gSocketConnectionGetRemoteAddress} \name{gSocketConnectionGetRemoteAddress} \title{gSocketConnectionGetRemoteAddress} \description{Try to get the remote a socket connection.} \usage{gSocketConnectionGetRemoteAddress(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketConnection}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] a \code{\link{GSocketAddress}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetFontOptions.Rd0000644000176000001440000000113512362217677020215 0ustar ripleyusers\alias{cairoScaledFontGetFontOptions} \name{cairoScaledFontGetFontOptions} \title{cairoScaledFontGetFontOptions} \description{Stores the font options with which \code{scaled.font} was created into \code{options}.} \usage{cairoScaledFontGetFontOptions(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.2} \value{ A list containing the following elements: \item{\verb{options}}{[\code{\link{CairoFontOptions}}] return value for the font options} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetKeepAbove.Rd0000644000176000001440000000233712362217677016532 0ustar ripleyusers\alias{gtkWindowSetKeepAbove} \name{gtkWindowSetKeepAbove} \title{gtkWindowSetKeepAbove} \description{Asks to keep \code{window} above, so that it stays on top. Note that you shouldn't assume the window is definitely above afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support keeping windows above. But normally the window will end kept above. Just don't write code that crashes if not.} \usage{gtkWindowSetKeepAbove(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{whether to keep \code{window} above other windows} } \details{It's permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially. You can track the above state via the "window-state-event" signal on \code{\link{GtkWidget}}. Note that, according to the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}) specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconActivatable.Rd0000644000176000001440000000071512362217677017535 0ustar ripleyusers\alias{gtkEntryGetIconActivatable} \name{gtkEntryGetIconActivatable} \title{gtkEntryGetIconActivatable} \description{Returns whether the icon is activatable.} \usage{gtkEntryGetIconActivatable(object, icon.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[logical] \code{TRUE} if the icon is activatable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScale.Rd0000644000176000001440000000110512362217677014354 0ustar ripleyusers\alias{cairoScale} \name{cairoScale} \title{cairoScale} \description{Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by \code{sx} and \code{sy} respectively. The scaling of the axes takes place after any existing transformation of user space.} \usage{cairoScale(cr, sx, sy)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{sx}}{[numeric] scale factor for the X dimension} \item{\verb{sy}}{[numeric] scale factor for the Y dimension} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeMatcherNew.Rd0000644000176000001440000000251312362217677017203 0ustar ripleyusers\alias{gFileAttributeMatcherNew} \name{gFileAttributeMatcherNew} \title{gFileAttributeMatcherNew} \description{Creates a new file attribute matcher, which matches attributes against a given string. \code{\link{GFileAttributeMatcher}}s are reference counted structures, and are created with a reference count of 1. If the number of references falls to 0, the \code{\link{GFileAttributeMatcher}} is automatically destroyed.} \usage{gFileAttributeMatcherNew(attributes)} \arguments{\item{\verb{attributes}}{an attribute string to match.}} \details{The \code{attribute} string should be formatted with specific keys separated from namespaces with a double colon. Several "namespace::key" strings may be concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). The wildcard "*" may be used to match all keys and namespaces, or "namespace::*" will match all keys in a given namespace. Examples of strings to use: \tabular{ll}{ "*" \tab matches all attributes. \cr "standard::is-hidden" \tab matches only the key is-hidden in the standard namespace. \cr "standard::type,unix::*" \tab matches the type key in the standard namespace and all keys in the unix namespace. \cr }} \value{[\code{\link{GFileAttributeMatcher}}] a \code{\link{GFileAttributeMatcher}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetCurrentFolder.Rd0000644000176000001440000000232311766145227020357 0ustar ripleyusers\alias{gtkFileChooserGetCurrentFolder} \name{gtkFileChooserGetCurrentFolder} \title{gtkFileChooserGetCurrentFolder} \description{Gets the current folder of \code{chooser} as a local filename. See \code{\link{gtkFileChooserSetCurrentFolder}}.} \usage{gtkFileChooserGetCurrentFolder(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Note that this is the folder that the file chooser is currently displaying (e.g. "/home/username/Documents"), which is \emph{not the same} as the currently-selected folder if the chooser is in \code{GTK_FILE_CHOOSER_SELECT_FOLDER} mode (e.g. "/home/username/Documents/selected-folder/". To get the currently-selected folder in that mode, use \code{\link{gtkFileChooserGetUri}} as the usual way to get the selection. Since 2.4} \value{[character] the full path of the current folder, or \code{NULL} if the current path cannot be represented as a local filename. This function will also return \code{NULL} if the file chooser was unable to load the last folder that was requested from it; for example, as would be for calling \code{\link{gtkFileChooserSetCurrentFolder}} on a nonexistent folder.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetPreviewText.Rd0000644000176000001440000000070212362217677021562 0ustar ripleyusers\alias{gtkFontSelectionDialogGetPreviewText} \name{gtkFontSelectionDialogGetPreviewText} \title{gtkFontSelectionDialogGetPreviewText} \description{Gets the text displayed in the preview area.} \usage{gtkFontSelectionDialogGetPreviewText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \value{[character] the text displayed in the preview area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleLookupColor.Rd0000644000176000001440000000147112362217677016314 0ustar ripleyusers\alias{gtkStyleLookupColor} \name{gtkStyleLookupColor} \title{gtkStyleLookupColor} \description{Looks up \code{color.name} in the style's logical color mappings, filling in \code{color} and returning \code{TRUE} if found, otherwise returning \code{FALSE}. Do not cache the found mapping, because it depends on the \code{\link{GtkStyle}} and might change when a theme switch occurs.} \usage{gtkStyleLookupColor(object, color.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{color.name}}{the name of the logical color to look up} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mapping was found.} \item{\verb{color}}{the \code{\link{GdkColor}} to fill in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetIconName.Rd0000644000176000001440000000060012362217677016317 0ustar ripleyusers\alias{gtkActionSetIconName} \name{gtkActionSetIconName} \title{gtkActionSetIconName} \description{Sets the icon name on \code{action}} \usage{gtkActionSetIconName(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{icon.name}}{the icon name to set} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetForwardPageFunc.Rd0000644000176000001440000000152312362217677020404 0ustar ripleyusers\alias{gtkAssistantSetForwardPageFunc} \name{gtkAssistantSetForwardPageFunc} \title{gtkAssistantSetForwardPageFunc} \description{Sets the page forwarding function to be \code{page.func}, this function will be used to determine what will be the next page when the user presses the forward button. Setting \code{page.func} to \code{NULL} will make the assistant to use the default forward function, which just goes to the next visible page.} \usage{gtkAssistantSetForwardPageFunc(object, page.func, data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page.func}}{the \code{\link{GtkAssistantPageFunc}}, or \code{NULL} to use the default one. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{user data for \code{page.func}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterNChildren.Rd0000644000176000001440000000115012362217677017310 0ustar ripleyusers\alias{gtkTreeModelIterNChildren} \name{gtkTreeModelIterNChildren} \title{gtkTreeModelIterNChildren} \description{Returns the number of children that \code{iter} has. As a special case, if \code{iter} is \code{NULL}, then the number of toplevel nodes is returned.} \usage{gtkTreeModelIterNChildren(object, iter = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[integer] The number of children of \code{iter}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetDefaultLeftMargin.Rd0000644000176000001440000000100012362217677020627 0ustar ripleyusers\alias{gtkPaperSizeGetDefaultLeftMargin} \name{gtkPaperSizeGetDefaultLeftMargin} \title{gtkPaperSizeGetDefaultLeftMargin} \description{Gets the default left margin for the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetDefaultLeftMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the default left margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamSkip.Rd0000644000176000001440000000276312362217677015573 0ustar ripleyusers\alias{gInputStreamSkip} \name{gInputStreamSkip} \title{gInputStreamSkip} \description{Tries to skip \code{count} bytes from the stream. Will block during the operation.} \usage{gInputStreamSkip(object, count, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{count}}{the number of bytes that will be skipped from the stream} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This is identical to \code{\link{gInputStreamRead}}, from a behaviour standpoint, but the bytes that are skipped are not returned to the user. Some streams have an implementation that is more efficient than reading the data. This function is optional for inherited classes, as the default implementation emulates it using read. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error.} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes skipped, or -1 on error} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRowDeleted.Rd0000644000176000001440000000120312362217677016653 0ustar ripleyusers\alias{gtkTreeModelRowDeleted} \name{gtkTreeModelRowDeleted} \title{gtkTreeModelRowDeleted} \description{Emits the "row-deleted" signal on \code{tree.model}. This should be called by models after a row has been removed. The location pointed to by \code{path} should be the location that the row previously was at. It may not be a valid location anymore.} \usage{gtkTreeModelRowDeleted(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A \code{\link{GtkTreePath}} pointing to the previous location of the deleted row.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowResize.Rd0000644000176000001440000000161712362217677015456 0ustar ripleyusers\alias{gtkWindowResize} \name{gtkWindowResize} \title{gtkWindowResize} \description{Resizes the window as if the user had done so, obeying geometry constraints. The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call \code{\link{gtkWidgetSetSizeRequest}} to set the window's request to a smaller value.} \usage{gtkWindowResize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{width}}{width in pixels to resize the window to} \item{\verb{height}}{height in pixels to resize the window to} } \details{If \code{\link{gtkWindowResize}} is called before showing a window for the first time, it overrides any default size set with \code{\link{gtkWindowSetDefaultSize}}. Windows may not be resized smaller than 1 by 1 pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHSV.Rd0000644000176000001440000000334412362217677013424 0ustar ripleyusers\alias{GtkHSV} \name{GtkHSV} \title{GtkHSV} \description{A 'color wheel' widget} \section{Methods and Functions}{ \code{\link{gtkHSVNew}()}\cr \code{\link{gtkHSVSetColor}(object, h, s, v)}\cr \code{\link{gtkHSVGetColor}(object, h, s, v)}\cr \code{\link{gtkHSVSetMetrics}(object, size, ring.width)}\cr \code{\link{gtkHSVGetMetrics}(object, size, ring.width)}\cr \code{\link{gtkHSVIsAdjusting}(object)}\cr \code{\link{gtkHSVToRgb}(h, s, r, g, b)}\cr \code{\link{gtkRgbToHsv}(r, g, h, s, v)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkHSV}} \section{Interfaces}{GtkHSV implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkHSV}} is the 'color wheel' part of a complete color selector widget. It allows to select a color by determining its HSV components in an intuitive way. Moving the selection around the outer ring changes the hue, and moving the selection point inside the inner triangle changes value and saturation.} \section{Structures}{\describe{\item{\verb{GtkHSV}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{changed(hsv, user.data)}}{ \emph{undocumented } \describe{ \item{\code{hsv}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move(hsv, user.data)}}{ \emph{undocumented } \describe{ \item{\code{hsv}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkHSV.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeAddBuiltinIcon.Rd0000644000176000001440000000215112362217677017443 0ustar ripleyusers\alias{gtkIconThemeAddBuiltinIcon} \name{gtkIconThemeAddBuiltinIcon} \title{gtkIconThemeAddBuiltinIcon} \description{Registers a built-in icon for icon theme lookups. The idea of built-in icons is to allow an application or library that uses themed icons to function requiring files to be present in the file system. For instance, the default images for all of GTK+'s stock icons are registered as built-icons.} \usage{gtkIconThemeAddBuiltinIcon(icon.name, size, pixbuf)} \arguments{ \item{\verb{icon.name}}{the name of the icon to register} \item{\verb{size}}{the size at which to register the icon (different images can be registered for the same icon name at different sizes.)} \item{\verb{pixbuf}}{\code{\link{GdkPixbuf}} that contains the image to use for \code{icon.name}.} } \details{In general, if you use \code{\link{gtkIconThemeAddBuiltinIcon}} you should also install the icon in the icon theme, so that the icon is generally available. This function will generally be used with pixbufs loaded via \code{gdkPixbufNewFromInline()}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetIsBackup.Rd0000644000176000001440000000060012362217677016232 0ustar ripleyusers\alias{gFileInfoGetIsBackup} \name{gFileInfoGetIsBackup} \title{gFileInfoGetIsBackup} \description{Checks if a file is a backup file.} \usage{gFileInfoGetIsBackup(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[logical] \code{TRUE} if file is a backup file, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetButtonSensitivity.Rd0000644000176000001440000000134712362217677020644 0ustar ripleyusers\alias{gtkComboBoxGetButtonSensitivity} \name{gtkComboBoxGetButtonSensitivity} \title{gtkComboBoxGetButtonSensitivity} \description{Returns whether the combo box sets the dropdown button sensitive or not when there are no items in the model.} \usage{gtkComboBoxGetButtonSensitivity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{Since 2.14} \value{[\code{\link{GtkSensitivityType}}] \code{GTK_SENSITIVITY_ON} if the dropdown button is sensitive when the model is empty, \code{GTK_SENSITIVITY_OFF} if the button is always insensitive or \code{GTK_SENSITIVITY_AUTO} if it is only sensitive as long as the model has one item to be selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextExtentsWc.Rd0000644000176000001440000000137412362217677015576 0ustar ripleyusers\alias{gdkTextExtentsWc} \name{gdkTextExtentsWc} \title{gdkTextExtentsWc} \description{ Gets the metrics of a string of wide characters. \strong{WARNING: \code{gdk_text_extents_wc} is deprecated and should not be used in newly-written code.} } \usage{gdkTextExtentsWc(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{text}}{the text to measure.} } \value{ A list containing the following elements: \item{\verb{lbearing}}{the left bearing of the string.} \item{\verb{rbearing}}{the right bearing of the string.} \item{\verb{width}}{the width of the string.} \item{\verb{ascent}}{the ascent of the string.} \item{\verb{descent}}{the descent of the string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeUint32.Rd0000644000176000001440000000111112362217677017477 0ustar ripleyusers\alias{gFileInfoGetAttributeUint32} \name{gFileInfoGetAttributeUint32} \title{gFileInfoGetAttributeUint32} \description{Gets an unsigned 32-bit integer contained within the attribute. If the attribute does not contain an unsigned 32-bit integer, or is invalid, 0 will be returned.} \usage{gFileInfoGetAttributeUint32(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[numeric] an unsigned 32-bit integer from the attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListAppend.Rd0000644000176000001440000000076512362217677015176 0ustar ripleyusers\alias{gtkCListAppend} \name{gtkCListAppend} \title{gtkCListAppend} \description{ Adds a row to the CList at the bottom. \strong{WARNING: \code{gtk_clist_append} is deprecated and should not be used in newly-written code.} } \usage{gtkCListAppend(object, text)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{text}}{An list of strings to add.} } \value{[integer] The number of the row added.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetRole.Rd0000644000176000001440000000174712362217677015556 0ustar ripleyusers\alias{gdkWindowSetRole} \name{gdkWindowSetRole} \title{gdkWindowSetRole} \description{When using GTK+, typically you should use \code{\link{gtkWindowSetRole}} instead of this low-level function.} \usage{gdkWindowSetRole(object, role)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{role}}{a string indicating its role} } \details{The window manager and session manager use a window's role to distinguish it from other kinds of window in the same application. When an application is restarted after being saved in a previous session, all windows with the same title and role are treated as interchangeable. So if you have two windows with the same title that should be distinguished for session management purposes, you should set the role on those windows. It doesn't matter what string you use for the role, as long as you have a different role for each non-interchangeable kind of window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetPixbuf.Rd0000644000176000001440000000075312362217677016413 0ustar ripleyusers\alias{gtkTextIterGetPixbuf} \name{gtkTextIterGetPixbuf} \title{gtkTextIterGetPixbuf} \description{If the element at \code{iter} is a pixbuf, the pixbuf is returned (with no new reference count added). Otherwise, \code{NULL} is returned.} \usage{gtkTextIterGetPixbuf(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[\code{\link{GdkPixbuf}}] the pixbuf at \code{iter}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketListener.Rd0000644000176000001440000000430312362217677015357 0ustar ripleyusers\alias{GSocketListener} \alias{gSocketListener} \name{GSocketListener} \title{GSocketListener} \description{Helper for accepting network client connections} \section{Methods and Functions}{ \code{\link{gSocketListenerNew}()}\cr \code{\link{gSocketListenerAddSocket}(object, socket, source.object, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAddAddress}(object, address, type, protocol, source.object, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAddInetPort}(object, port, source.object, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAccept}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAcceptAsync}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketListenerAcceptFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAcceptSocket}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketListenerAcceptSocketAsync}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketListenerAcceptSocketFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gSocketListenerClose}(object)}\cr \code{\link{gSocketListenerSetBacklog}(object, listen.backlog)}\cr \code{gSocketListener()} } \section{Hierarchy}{\preformatted{GObject +----GSocketListener +----GSocketService}} \section{Detailed Description}{A \code{\link{GSocketListener}} is an object that keeps track of a set of server sockets and helps you accept sockets from any of the socket, either sync or async. If you want to implement a network server, also look at \code{\link{GSocketService}} and \code{\link{GThreadedSocketService}} which are subclass of \code{\link{GSocketListener}} that makes this even easier.} \section{Structures}{\describe{\item{\verb{GSocketListener}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gSocketListener} is the equivalent of \code{\link{gSocketListenerNew}}.} \section{Properties}{\describe{\item{\verb{listen-backlog} [integer : Read / Write / Construct]}{ outstanding connections in the listen queue. Allowed values: [0,2000] Default value: 10 }}} \references{\url{http://library.gnome.org/devel//gio/GSocketListener.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetRightMargin.Rd0000644000176000001440000000066412362217677017401 0ustar ripleyusers\alias{gtkTextViewGetRightMargin} \name{gtkTextViewGetRightMargin} \title{gtkTextViewGetRightMargin} \description{Gets the default right margin for text in \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewGetRightMargin(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] right margin in pixels} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewRowActivated.Rd0000644000176000001440000000077012362217677017073 0ustar ripleyusers\alias{gtkTreeViewRowActivated} \name{gtkTreeViewRowActivated} \title{gtkTreeViewRowActivated} \description{Activates the cell determined by \code{path} and \code{column}.} \usage{gtkTreeViewRowActivated(object, path, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be activated.} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to be activated.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddRadioActions.Rd0000644000176000001440000000172112362217677020164 0ustar ripleyusers\alias{gtkActionGroupAddRadioActions} \name{gtkActionGroupAddRadioActions} \title{gtkActionGroupAddRadioActions} \description{This is a convenience routine to create a group of radio actions and add them to the action group. } \usage{gtkActionGroupAddRadioActions(object, entries, value, on.change = NULL, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of radio action descriptions} \item{\verb{value}}{the value of the action to activate initially, or -1 if no action should be activated} \item{\verb{on.change}}{the callback to connect to the changed signal} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{The "changed" signal of the first radio action is connected to the \code{on.change} callback and the accel paths of the actions are set to \code{/ \\var{group-name} / \\var{action-name}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckButtonNewWithLabel.Rd0000644000176000001440000000071612362217677017503 0ustar ripleyusers\alias{gtkCheckButtonNewWithLabel} \name{gtkCheckButtonNewWithLabel} \title{gtkCheckButtonNewWithLabel} \description{Creates a new \code{\link{GtkCheckButton}} with a \code{\link{GtkLabel}} to the right of it.} \usage{gtkCheckButtonNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{the text for the check button.}} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetMap.Rd0000644000176000001440000000052712362217677014705 0ustar ripleyusers\alias{gtkWidgetMap} \name{gtkWidgetMap} \title{gtkWidgetMap} \description{This function is only for use in widget implementations. Causes a widget to be mapped if it isn't already.} \usage{gtkWidgetMap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleLines.Rd0000644000176000001440000000166612362217677020551 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleLines} \name{gtkTextIterBackwardVisibleLines} \title{gtkTextIterBackwardVisibleLines} \description{Moves \code{count} visible lines backward, if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then \code{FALSE} is returned. If \code{count} is 0, the function does nothing and returns \code{FALSE}. If \code{count} is negative, moves forward by 0 - \code{count} lines.} \usage{gtkTextIterBackwardVisibleLines(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of lines to move backward} } \details{Since 2.8} \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeInt32.Rd0000644000176000001440000000075712362217677017345 0ustar ripleyusers\alias{gFileInfoSetAttributeInt32} \name{gFileInfoSetAttributeInt32} \title{gFileInfoSetAttributeInt32} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeInt32(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a signed 32-bit integer} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamSetPending.Rd0000644000176000001440000000141012362217677017112 0ustar ripleyusers\alias{gOutputStreamSetPending} \name{gOutputStreamSetPending} \title{gOutputStreamSetPending} \description{Sets \code{stream} to have actions pending. If the pending flag is already set or \code{stream} is closed, it will return \code{FALSE} and set \code{error}.} \usage{gOutputStreamSetPending(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if pending was previously unset and is now set.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetSizeList.Rd0000644000176000001440000000073512362217677017730 0ustar ripleyusers\alias{gtkFontSelectionGetSizeList} \name{gtkFontSelectionGetSizeList} \title{gtkFontSelectionGetSizeList} \description{This returns the \verb{GtkTreeeView} used to list font sizes.} \usage{gtkFontSelectionGetSizeList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A \code{\link{GtkWidget}} that is part of \code{fontsel}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionInsertActionText.Rd0000644000176000001440000000124612362217677021346 0ustar ripleyusers\alias{gtkEntryCompletionInsertActionText} \name{gtkEntryCompletionInsertActionText} \title{gtkEntryCompletionInsertActionText} \description{Inserts an action in \code{completion}'s action item list at position \code{index.} with text \code{text}. If you want the action item to have markup, use \code{\link{gtkEntryCompletionInsertActionMarkup}}.} \usage{gtkEntryCompletionInsertActionText(object, index, text)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{index}}{The index of the item to insert.} \item{\verb{text}}{Text of the item to insert.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupGetName.Rd0000644000176000001440000000056012362217677016514 0ustar ripleyusers\alias{gtkActionGroupGetName} \name{gtkActionGroupGetName} \title{gtkActionGroupGetName} \description{Gets the name of the action group.} \usage{gtkActionGroupGetName(object)} \arguments{\item{\verb{object}}{the action group}} \details{Since 2.4} \value{[character] the name of the action group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderSetTranslationDomain.Rd0000644000176000001440000000100412362217677020424 0ustar ripleyusers\alias{gtkBuilderSetTranslationDomain} \name{gtkBuilderSetTranslationDomain} \title{gtkBuilderSetTranslationDomain} \description{Sets the translation domain of \code{builder}. See \verb{"translation-domain"}.} \usage{gtkBuilderSetTranslationDomain(object, domain)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{domain}}{the translation domain or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixTransformDistance.Rd0000644000176000001440000000221412362217677020142 0ustar ripleyusers\alias{cairoMatrixTransformDistance} \name{cairoMatrixTransformDistance} \title{cairoMatrixTransformDistance} \description{Transforms the distance vector (\code{dx},\code{dy}) by \code{matrix}. This is similar to \code{\link{cairoMatrixTransformPoint}} except that the translation components of the transformation are ignored. The calculation of the returned vector is as follows:} \usage{cairoMatrixTransformDistance(matrix, dx, dy)} \arguments{ \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{dx}}{[numeric] X component of a distance vector. An in/out parameter} \item{\verb{dy}}{[numeric] Y component of a distance vector. An in/out parameter} } \details{\preformatted{dx2 = dx1 * a + dy1 * c; dy2 = dx1 * b + dy1 * d; } Affine transformations are position invariant, so the same vector always transforms to the same vector. If (\code{x1},\code{y1}) transforms to (\code{x2},\code{y2}) then (\code{x1}+\code{dx1},\code{y1}+\code{dy1}) will transform to (\code{x1}+\code{dx2},\code{y1}+\code{dy2}) for all values of \code{x1} and \code{x2}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorNewFromName.Rd0000644000176000001440000000110312362217677016347 0ustar ripleyusers\alias{gdkCursorNewFromName} \name{gdkCursorNewFromName} \title{gdkCursorNewFromName} \description{Creates a new cursor by looking up \code{name} in the current cursor theme.} \usage{gdkCursorNewFromName(display, name)} \arguments{ \item{\verb{display}}{the \code{\link{GdkDisplay}} for which the cursor will be created} \item{\verb{name}}{the name of the cursor} } \details{Since 2.8} \value{[\code{\link{GdkCursor}}] a new \code{\link{GdkCursor}}, or \code{NULL} if there is no cursor with the given name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAcceptSocketFinish.Rd0000644000176000001440000000163412362217677021055 0ustar ripleyusers\alias{gSocketListenerAcceptSocketFinish} \name{gSocketListenerAcceptSocketFinish} \title{gSocketListenerAcceptSocketFinish} \description{Finishes an async accept operation. See \code{\link{gSocketListenerAcceptSocketAsync}}} \usage{gSocketListenerAcceptSocketFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocket}}] a \code{\link{GSocket}} on success, \code{NULL} on error.} \item{\verb{source.object}}{Optional \code{\link{GObject}} identifying this source} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkGammaCurve.Rd0000644000176000001440000000413712362217677015014 0ustar ripleyusers\alias{GtkGammaCurve} \alias{gtkGammaCurve} \name{GtkGammaCurve} \title{GtkGammaCurve} \description{A subclass of GtkCurve for editing gamma curves} \section{Methods and Functions}{ \code{\link{gtkGammaCurveNew}(show = TRUE)}\cr \code{gtkGammaCurve(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkGammaCurve}} \section{Interfaces}{GtkGammaCurve implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkGammaCurve}} widget is a variant of \code{\link{GtkCurve}} specifically for editing gamma curves, which are used in graphics applications such as the Gimp. The \code{\link{GtkGammaCurve}} widget shows a curve which the user can edit with the mouse just like a \code{\link{GtkCurve}} widget. On the right of the curve it also displays 5 buttons, 3 of which change between the 3 curve modes (spline, linear and free), and the other 2 set the curve to a particular gamma value, or reset it to a straight line. As of GTK+ 2.20, \code{\link{GtkGammaCurve}} has been deprecated since it is too specialized.} \section{Structures}{\describe{\item{\verb{GtkGammaCurve}}{ \strong{WARNING: \code{GtkGammaCurve} is deprecated and should not be used in newly-written code.} The \code{\link{GtkGammaCurve}} struct contains private data only, and should be accessed using the functions below. \describe{ \item{\verb{table}}{[\code{\link{GtkWidget}}] } \item{\verb{curve}}{[\code{\link{GtkWidget}}] } \item{\verb{gamma}}{[numeric] } \item{\verb{gammaDialog}}{[\code{\link{GtkWidget}}] } \item{\verb{gammaText}}{[\code{\link{GtkWidget}}] } } }}} \section{Convenient Construction}{\code{gtkGammaCurve} is the equivalent of \code{\link{gtkGammaCurveNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkGammaCurve.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoShouldShow.Rd0000644000176000001440000000067412362217677016044 0ustar ripleyusers\alias{gAppInfoShouldShow} \name{gAppInfoShouldShow} \title{gAppInfoShouldShow} \description{Checks if the application info should be shown in menus that list available applications.} \usage{gAppInfoShouldShow(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[logical] \code{TRUE} if the \code{appinfo} should be shown, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapNew.Rd0000644000176000001440000000145312362217677016336 0ustar ripleyusers\alias{pangoCairoFontMapNew} \name{pangoCairoFontMapNew} \title{pangoCairoFontMapNew} \description{Creates a new \code{\link{PangoCairoFontMap}} object; a fontmap is used to cache information about available fonts, and holds certain global parameters such as the resolution. In most cases, you can use \code{\link{pangoCairoFontMapGetDefault}} instead.} \usage{pangoCairoFontMapNew()} \details{Note that the type of the returned object will depend on the particular font backend Cairo was compiled to use; You generally should only use the \code{\link{PangoFontMap}} and \code{\link{PangoCairoFontMap}} interfaces on the returned object. Since 1.10} \value{[\code{\link{PangoFontMap}}] the newly allocated \code{\link{PangoFontMap}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSrvTargetGetPort.Rd0000644000176000001440000000052712362217677015713 0ustar ripleyusers\alias{gSrvTargetGetPort} \name{gSrvTargetGetPort} \title{gSrvTargetGetPort} \description{Gets \code{target}'s port} \usage{gSrvTargetGetPort(object)} \arguments{\item{\verb{object}}{a \code{\link{GSrvTarget}}}} \details{Since 2.22} \value{[integer] \code{target}'s port} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionEqual.Rd0000644000176000001440000000065112362217677015215 0ustar ripleyusers\alias{gdkRegionEqual} \name{gdkRegionEqual} \title{gdkRegionEqual} \description{Finds out if the two regions are the same.} \usage{gdkRegionEqual(object, region2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{region2}}{a \code{\link{GdkRegion}}} } \value{[logical] \code{TRUE} if \code{region1} and \code{region2} are equal.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionUnblockActivate.Rd0000644000176000001440000000053512362217677017237 0ustar ripleyusers\alias{gtkActionUnblockActivate} \name{gtkActionUnblockActivate} \title{gtkActionUnblockActivate} \description{Reenable activation signals from the action} \usage{gtkActionUnblockActivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetStateWildcarded.Rd0000644000176000001440000000073212362217677020517 0ustar ripleyusers\alias{gtkIconSourceGetStateWildcarded} \name{gtkIconSourceGetStateWildcarded} \title{gtkIconSourceGetStateWildcarded} \description{Gets the value set by \code{\link{gtkIconSourceSetStateWildcarded}}.} \usage{gtkIconSourceGetStateWildcarded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[logical] \code{TRUE} if this icon source is a base for any widget state variant} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetPosition.Rd0000644000176000001440000000470512362217677016462 0ustar ripleyusers\alias{gtkWindowGetPosition} \name{gtkWindowGetPosition} \title{gtkWindowGetPosition} \description{This function returns the position you need to pass to \code{\link{gtkWindowMove}} to keep \code{window} in its current position. This means that the meaning of the returned value varies with window gravity. See \code{\link{gtkWindowMove}} for more details.} \usage{gtkWindowGetPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{If you haven't changed the window gravity, its gravity will be \verb{GDK_GRAVITY_NORTH_WEST}. This means that \code{\link{gtkWindowGetPosition}} gets the position of the top-left corner of the window manager frame for the window. \code{\link{gtkWindowMove}} sets the position of this same top-left corner. \code{\link{gtkWindowGetPosition}} is not 100\% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a window by the window manager. Thus GTK+ is using a "best guess" that works with most window managers. Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a window to its current position as returned by \code{\link{gtkWindowGetPosition}} tends to result in moving the window slightly. Window managers are slowly getting better over time. If a window has gravity \verb{GDK_GRAVITY_STATIC} the window manager frame is not relevant, and thus \code{\link{gtkWindowGetPosition}} will always produce accurate results. However you can't use static gravity to do things like place a window in a corner of the screen, because static gravity ignores the window manager decorations. If you are saving and restoring your application's window positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your window sizes and positions.} \value{ A list containing the following elements: \item{\verb{root.x}}{return location for X coordinate of gravity-determined reference point. \emph{[ \acronym{out} ]}} \item{\verb{root.y}}{return location for Y coordinate of gravity-determined reference point. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetRelief.Rd0000644000176000001440000000071512362217677016065 0ustar ripleyusers\alias{gtkButtonGetRelief} \name{gtkButtonGetRelief} \title{gtkButtonGetRelief} \description{Returns the current relief style of the given \code{\link{GtkButton}}.} \usage{gtkButtonGetRelief(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want the \code{\link{GtkReliefStyle}} from.}} \value{[\code{\link{GtkReliefStyle}}] The current \code{\link{GtkReliefStyle}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetCellStyle.Rd0000644000176000001440000000110612362217677017123 0ustar ripleyusers\alias{gtkCTreeNodeSetCellStyle} \name{gtkCTreeNodeSetCellStyle} \title{gtkCTreeNodeSetCellStyle} \description{ Set the style of an individual cell. \strong{WARNING: \code{gtk_ctree_node_set_cell_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetCellStyle(object, node, column, style)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} \item{\verb{style}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsSiteLocal.Rd0000644000176000001440000000120412362217677017417 0ustar ripleyusers\alias{gInetAddressGetIsSiteLocal} \name{gInetAddressGetIsSiteLocal} \title{gInetAddressGetIsSiteLocal} \description{Tests whether \code{address} is a site-local address such as 10.0.0.1 (that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall).} \usage{gInetAddressGetIsSiteLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a site-local address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetStyle.Rd0000644000176000001440000000066012362217677016105 0ustar ripleyusers\alias{gtkToolbarGetStyle} \name{gtkToolbarGetStyle} \title{gtkToolbarGetStyle} \description{Retrieves whether the toolbar has text, icons, or both . See \code{\link{gtkToolbarSetStyle}}.} \usage{gtkToolbarGetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \value{[\code{\link{GtkToolbarStyle}}] the current style of \code{toolbar}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetFillRule.Rd0000644000176000001440000000060512362217677015507 0ustar ripleyusers\alias{cairoGetFillRule} \name{cairoGetFillRule} \title{cairoGetFillRule} \description{Gets the current fill rule, as set by \code{\link{cairoSetFillRule}}.} \usage{cairoGetFillRule(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoFillRule}}] the current fill rule.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserErrorQuark.Rd0000644000176000001440000000061211766145227017235 0ustar ripleyusers\alias{gtkFileChooserErrorQuark} \name{gtkFileChooserErrorQuark} \title{gtkFileChooserErrorQuark} \description{Registers an error quark for \code{\link{GtkFileChooser}} if necessary.} \usage{gtkFileChooserErrorQuark()} \details{ Since 2.4} \value{[numeric] The error quark used for \code{\link{GtkFileChooser}} errors.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetClickable.Rd0000644000176000001440000000101512362217677020173 0ustar ripleyusers\alias{gtkTreeViewColumnSetClickable} \name{gtkTreeViewColumnSetClickable} \title{gtkTreeViewColumnSetClickable} \description{Sets the header to be active if \code{active} is \code{TRUE}. When the header is active, then it can take keyboard focus, and can be clicked.} \usage{gtkTreeViewColumnSetClickable(object, active)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{active}}{\code{TRUE} if the header is active.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetModalHint.Rd0000644000176000001440000000125312362217677016524 0ustar ripleyusers\alias{gdkWindowSetModalHint} \name{gdkWindowSetModalHint} \title{gdkWindowSetModalHint} \description{The application can use this hint to tell the window manager that a certain window has modal behaviour. The window manager can use this information to handle modal windows in a special way.} \usage{gdkWindowSetModalHint(object, modal)} \arguments{ \item{\verb{object}}{A toplevel \code{\link{GdkWindow}}} \item{\verb{modal}}{\code{TRUE} if the window is modal, \code{FALSE} otherwise.} } \details{You should only use this on windows for which you have previously called \code{\link{gdkWindowSetTransientFor}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetPopCompositeChild.Rd0000644000176000001440000000046612362217677017557 0ustar ripleyusers\alias{gtkWidgetPopCompositeChild} \name{gtkWidgetPopCompositeChild} \title{gtkWidgetPopCompositeChild} \description{Cancels the effect of a previous call to \code{\link{gtkWidgetPushCompositeChild}}.} \usage{gtkWidgetPopCompositeChild()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetEditable.Rd0000644000176000001440000000072412362217677016674 0ustar ripleyusers\alias{gtkTextViewGetEditable} \name{gtkTextViewGetEditable} \title{gtkTextViewGetEditable} \description{Returns the default editability of the \code{\link{GtkTextView}}. Tags in the buffer may override this setting for some ranges of text.} \usage{gtkTextViewGetEditable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[logical] whether text is editable by default} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonToggled.Rd0000644000176000001440000000067612362217677016754 0ustar ripleyusers\alias{gtkToggleButtonToggled} \name{gtkToggleButtonToggled} \title{gtkToggleButtonToggled} \description{Emits the \code{\link{gtkToggleButtonToggled}} signal on the \code{\link{GtkToggleButton}}. There is no good reason for an application ever to call this function.} \usage{gtkToggleButtonToggled(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToggleButton}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetBool.Rd0000644000176000001440000000063612362217677017132 0ustar ripleyusers\alias{gtkPrintSettingsSetBool} \name{gtkPrintSettingsSetBool} \title{gtkPrintSettingsSetBool} \description{Sets \code{key} to a boolean value.} \usage{gtkPrintSettingsSetBool(object, key, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{value}}{a boolean} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetName.Rd0000644000176000001440000000051012362217677015165 0ustar ripleyusers\alias{gVolumeGetName} \name{gVolumeGetName} \title{gVolumeGetName} \description{Gets the name of \code{volume}.} \usage{gVolumeGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[char] the name for the given \code{volume}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameSetLabelAlign.Rd0000644000176000001440000000145412362217677016445 0ustar ripleyusers\alias{gtkFrameSetLabelAlign} \name{gtkFrameSetLabelAlign} \title{gtkFrameSetLabelAlign} \description{Sets the alignment of the frame widget's label. The default values for a newly created frame are 0.0 and 0.5.} \usage{gtkFrameSetLabelAlign(object, xalign, yalign)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFrame}}} \item{\verb{xalign}}{The position of the label along the top edge of the widget. A value of 0.0 represents left alignment; 1.0 represents right alignment.} \item{\verb{yalign}}{The y alignment of the label. A value of 0.0 aligns under the frame; 1.0 aligns above the frame. If the values are exactly 0.0 or 1.0 the gap in the frame won't be painted because the label will be completely above or below the frame.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorNewForDisplay.Rd0000644000176000001440000000264612362217677016734 0ustar ripleyusers\alias{gdkCursorNewForDisplay} \name{gdkCursorNewForDisplay} \title{gdkCursorNewForDisplay} \description{Creates a new cursor from the set of builtin cursors. Some useful ones are: \itemize{ \item \verb{GDK_RIGHT_PTR} (right-facing arrow) \item \verb{GDK_CROSSHAIR} (crosshair) \item \verb{GDK_XTERM} (I-beam) \item \verb{GDK_WATCH} (busy) \item \verb{GDK_FLEUR} (for moving objects) \item \verb{GDK_HAND1} (a right-pointing hand) \item \verb{GDK_HAND2} (a left-pointing hand) \item \verb{GDK_LEFT_SIDE} (resize left side) \item \verb{GDK_RIGHT_SIDE} (resize right side) \item \verb{GDK_TOP_LEFT_CORNER} (resize northwest corner) \item \verb{GDK_TOP_RIGHT_CORNER} (resize northeast corner) \item \verb{GDK_BOTTOM_LEFT_CORNER} (resize southwest corner) \item \verb{GDK_BOTTOM_RIGHT_CORNER} (resize southeast corner) \item \verb{GDK_TOP_SIDE} (resize top side) \item \verb{GDK_BOTTOM_SIDE} (resize bottom side) \item \verb{GDK_SB_H_DOUBLE_ARROW} (move vertical splitter) \item \verb{GDK_SB_V_DOUBLE_ARROW} (move horizontal splitter) \item \verb{GDK_BLANK_CURSOR} (Blank cursor). Since 2.16 }} \usage{gdkCursorNewForDisplay(display, cursor.type)} \arguments{ \item{\verb{display}}{the \code{\link{GdkDisplay}} for which the cursor will be created} \item{\verb{cursor.type}}{cursor to create} } \details{Since 2.2} \value{[\code{\link{GdkCursor}}] a new \code{\link{GdkCursor}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMask.Rd0000644000176000001440000000101212362217677014215 0ustar ripleyusers\alias{cairoMask} \name{cairoMask} \title{cairoMask} \description{A drawing operator that paints the current source using the alpha channel of \code{pattern} as a mask. (Opaque areas of \code{pattern} are painted with the source, transparent areas are not painted.)} \usage{cairoMask(cr, pattern)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressConfigure.Rd0000644000176000001440000000120712362217677016466 0ustar ripleyusers\alias{gtkProgressConfigure} \name{gtkProgressConfigure} \title{gtkProgressConfigure} \description{ Allows the configuration of the minimum, maximum, and current values for the \code{\link{GtkProgress}}. \strong{WARNING: \code{gtk_progress_configure} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressConfigure(object, value, min, max)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{value}}{the current progress value.} \item{\verb{min}}{the minimum progress value.} \item{\verb{max}}{the maximum progress value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetOrientation.Rd0000644000176000001440000000105712362217677017604 0ustar ripleyusers\alias{gtkToolShellGetOrientation} \name{gtkToolShellGetOrientation} \title{gtkToolShellGetOrientation} \description{Retrieves the current orientation for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetOrientation}} instead.} \usage{gtkToolShellGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkOrientation}}] the current orientation of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSendMessage.Rd0000644000176000001440000000613012362217677016030 0ustar ripleyusers\alias{gSocketSendMessage} \name{gSocketSendMessage} \title{gSocketSendMessage} \description{Send data to \code{address} on \code{socket}. This is the most complicated and fully-featured version of this call. For easier use, see \code{\link{gSocketSend}} and \code{\link{gSocketSendTo}}.} \usage{gSocketSendMessage(object, address, vectors, messages = NULL, flags = 0, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{address}}{a \code{\link{GSocketAddress}}, or \code{NULL}} \item{\verb{vectors}}{a list of \verb{GOutputVector} structs} \item{\verb{messages}}{a pointer to a list of \verb{GSocketControlMessages}, or \code{NULL}.} \item{\verb{flags}}{an int containing \verb{GSocketMsgFlags} flags} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{address} is \code{NULL} then the message is sent to the default receiver (set by \code{\link{gSocketConnect}}). \code{vectors} must point to a list of \verb{GOutputVector} structs and \code{num.vectors} must be the length of this list. (If \code{num.vectors} is -1, then \code{vectors} is assumed to be terminated by a \verb{GOutputVector} with a \code{NULL} buffer pointer.) The \verb{GOutputVector} structs describe the buffers that the sent data will be gathered from. Using multiple \verb{GOutputVector}s is more memory-efficient than manually copying data from multiple sources into a single buffer, and more network-efficient than making multiple calls to \code{\link{gSocketSend}}. \code{messages}, if non-\code{NULL}, is taken to point to a list of \code{num.messages}\code{\link{GSocketControlMessage}} instances. These correspond to the control messages to be sent on the socket. If \code{num.messages} is -1 then \code{messages} is treated as a \code{NULL}-terminated array. \code{flags} modify how the message is sent. The commonly available arguments for this are available in the \verb{GSocketMsgFlags} enum, but the values there are the same as the system values, and the flags are passed in as-is, so you can pass in system-specific flags too. If the socket is in blocking mode the call will block until there is space for the data in the socket queue. If there is no space available and the socket is in non-blocking mode a \code{G_IO_ERROR_WOULD_BLOCK} error will be returned. To be notified when space is available, wait for the \code{G_IO_OUT} condition. Note though that you may still receive \code{G_IO_ERROR_WOULD_BLOCK} from \code{\link{gSocketSend}} even if you were previously notified of a \code{G_IO_OUT} condition. (On Windows in particular, this is very common due to the way the underlying APIs work.) On error -1 is returned and \code{error} is set accordingly. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes written (which may be less than \code{size}), or -1 on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Bidirectional-Text.Rd0000644000176000001440000000646412362217677017120 0ustar ripleyusers\alias{pango-Bidirectional-Text} \alias{PangoDirection} \alias{PangoBidiType} \name{pango-Bidirectional-Text} \title{Bidirectional Text} \description{Types and functions to help with handling bidirectional text} \section{Methods and Functions}{ \code{\link{pangoUnicharDirection}(ch)}\cr \code{\link{pangoFindBaseDir}(text, length = -1)}\cr \code{\link{pangoGetMirrorChar}(ch)}\cr \code{\link{pangoBidiTypeForUnichar}(ch)}\cr } \section{Detailed Description}{Pango supports bidirectional text (like Arabic and Hebrew) automatically. Some applications however, need some help to correctly handle bidirectional text. The \code{\link{PangoDirection}} type can be used with \code{\link{pangoContextSetBaseDir}} to instruct Pango about direction of text, though in most cases Pango detects that correctly and automatically. The rest of the facilities in this section are used internally by Pango already, and are provided to help applications that need more direct control over bidirectional setting of text.} \section{Enums and Flags}{\describe{ \item{\verb{PangoDirection}}{ The \code{\link{PangoDirection}} type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of \code{\link{PangoDirection}}; for example, the return value of \code{\link{pangoUnicharDirection}} and \code{\link{pangoFindBaseDir}} cannot be \code{PANGO_DIRECTION_WEAK_LTR} or \code{PANGO_DIRECTION_WEAK_RTL}, since every character is either neutral or has a strong direction; on the other hand \code{PANGO_DIRECTION_NEUTRAL} doesn't make sense to pass to \code{\link{pangoItemizeWithBaseDir}}. The \code{PANGO_DIRECTION_TTB_LTR}, \code{PANGO_DIRECTION_TTB_RTL} values come from an earlier interpretation of this enumeration as the writing direction of a block of text and are no longer used; See \code{\link{PangoGravity}} for how vertical text is handled in Pango. \describe{ \item{\verb{ltr}}{ A strong left-to-right direction} \item{\verb{rtl}}{ A strong right-to-left direction} \item{\verb{ttb-ltr}}{ Deprecated value; treated the same as \code{PANGO_DIRECTION_RTL}.} \item{\verb{ttb-rtl}}{ Deprecated value; treated the same as \code{PANGO_DIRECTION_LTR}} } } \item{\verb{PangoBidiType}}{ The \code{\link{PangoBidiType}} type represents the bidirectional character type of a Unicode character as specified by the Unicode bidirectional algorithm (\url{http://www.unicode.org/reports/tr9/}). Since 1.22 \describe{ \item{\verb{l}}{ Left-to-Right} \item{\verb{lre}}{ Left-to-Right Embedding} \item{\verb{lro}}{ Left-to-Right Override} \item{\verb{r}}{ Right-to-Left} \item{\verb{al}}{ Right-to-Left Arabic} \item{\verb{rle}}{ Right-to-Left Embedding} \item{\verb{rlo}}{ Right-to-Left Override} \item{\verb{pdf}}{ Pop Directional Format} \item{\verb{en}}{ European Number} \item{\verb{es}}{ European Number Separator} \item{\verb{et}}{ European Number Terminator} \item{\verb{an}}{ Arabic Number} \item{\verb{cs}}{ Common Number Separator} \item{\verb{nsm}}{ Nonspacing Mark} \item{\verb{bn}}{ Boundary Neutral} \item{\verb{b}}{ Paragraph Separator} \item{\verb{s}}{ Segment Separator} \item{\verb{ws}}{ Whitespace} \item{\verb{on}}{ Other Neutrals} } } }} \references{\url{http://library.gnome.org/devel//pango/pango-Bidirectional-Text.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupNew.Rd0000644000176000001440000000065012362217677016244 0ustar ripleyusers\alias{gtkToolItemGroupNew} \name{gtkToolItemGroupNew} \title{gtkToolItemGroupNew} \description{Creates a new tool item group with label \code{label}.} \usage{gtkToolItemGroupNew(label, show = TRUE)} \arguments{\item{\verb{label}}{the label of the new group}} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkToolItemGroup}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromImage.Rd0000644000176000001440000000160712362217677016307 0ustar ripleyusers\alias{gtkImageNewFromImage} \name{gtkImageNewFromImage} \title{gtkImageNewFromImage} \description{Creates a \code{\link{GtkImage}} widget displaying a \code{image} with a \code{mask}. A \code{\link{GdkImage}} is a client-side image buffer in the pixel format of the current display. The \code{\link{GtkImage}} does not assume a reference to the image or mask; you still need to unref them if you own references. \code{\link{GtkImage}} will add its own reference rather than adopting yours.} \usage{gtkImageNewFromImage(image = NULL, mask = NULL, show = TRUE)} \arguments{ \item{\verb{image}}{a \code{\link{GdkImage}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{mask}}{a \code{\link{GdkBitmap}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeSetScreen.Rd0000644000176000001440000000077412362217677016517 0ustar ripleyusers\alias{gtkIconThemeSetScreen} \name{gtkIconThemeSetScreen} \title{gtkIconThemeSetScreen} \description{Sets the screen for an icon theme; the screen is used to track the user's currently configured icon theme, which might be different for different screens.} \usage{gtkIconThemeSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetCurrentEventState.Rd0000644000176000001440000000110112362217677017076 0ustar ripleyusers\alias{gtkGetCurrentEventState} \name{gtkGetCurrentEventState} \title{gtkGetCurrentEventState} \description{If there is a current event and it has a state field, place that state field in \code{state} and return \code{TRUE}, otherwise return \code{FALSE}.} \usage{gtkGetCurrentEventState()} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there was a current event and it had a state field} \item{\verb{state}}{a location to store the state of the current event} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapTranslateKeyboardState.Rd0000644000176000001440000001155112362217677020571 0ustar ripleyusers\alias{gdkKeymapTranslateKeyboardState} \name{gdkKeymapTranslateKeyboardState} \title{gdkKeymapTranslateKeyboardState} \description{Translates the contents of a \code{\link{GdkEventKey}} into a keyval, effective group, and level. Modifiers that affected the translation and are thus unavailable for application use are returned in \code{consumed.modifiers}. See for an explanation of groups and levels. The \code{effective.group} is the group that was actually used for the translation; some keys such as Enter are not affected by the active keyboard group. The \code{level} is derived from \code{state}. For convenience, \code{\link{GdkEventKey}} already contains the translated keyval, so this function isn't as useful as you might think.} \usage{gdkKeymapTranslateKeyboardState(object, hardware.keycode, state, group)} \arguments{ \item{\verb{object}}{a \code{\link{GdkKeymap}}, or \code{NULL} to use the default. \emph{[ \acronym{allow-none} ]}} \item{\verb{hardware.keycode}}{a keycode} \item{\verb{state}}{a modifier state} \item{\verb{group}}{active keyboard group} } \details{\strong{PLEASE NOTE:} \code{consumed.modifiers} gives modifiers that should be masked out from \code{state} when comparing this key press to a hot key. For instance, on a US keyboard, the \code{plus} symbol is shifted, so when comparing a key press to a \code{plus} accelerator should be masked out. \preformatted{ # We want to ignore irrelevant modifiers like ScrollLock all_accels_mask <- GdkModifierType["control-mask"] | GdkModifierType["shift-mask"] | GdkModifierType["mod1-mask"] state <- gdkKeymapTranslateKeyboardState(keymap, event[["hardware_keycode"]], event[["state"]], event[["group"]]) unconsumed <- all_accels_mask & event[["state"]] & !as.flag(state$consumed) if (state$keyval == .gdkPlus && unconsumed == GdkModifierType["control-mask"]) print("Control was pressed") } An older interpretation \code{consumed.modifiers} was that it contained all modifiers that might affect the translation of the key; this allowed accelerators to be stored with irrelevant consumed modifiers, by doing: \preformatted{ # XXX Don't do this XXX unconsumed <- all_accel_mask & event[["state"]] & !as.flag(state$consumed) if (state$keyval == accel_keyval && unconsumed == accel_mods & !as.flag(state$consumed)) print("Accellerator was pressed") } However, this did not work if multi-modifier combinations were used in the keymap, since, for instance, \code{} would be masked out even if only \code{} was used in the keymap. To support this usage as well as well as possible, all \emph{single modifier} combinations that could affect the key for any combination of modifiers will be returned in \code{consumed.modifiers}; multi-modifier combinations are returned only when actually found in \code{state}. When you store accelerators, you should always store them with consumed modifiers removed. Store \code{plus}, not \code{plus},} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there was a keyval bound to the keycode/state/group} \item{\verb{keyval}}{return location for keyval, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{effective.group}}{return location for effective group, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{level}}{return location for level, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{consumed.modifiers}}{return location for modifiers that were used to determine the group or level, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \note{\code{consumed.modifiers} gives modifiers that should be masked out from \code{state} when comparing this key press to a hot key. For instance, on a US keyboard, the \code{plus} symbol is shifted, so when comparing a key press to a \code{plus} accelerator should be masked out. An older interpretation \code{consumed.modifiers} was that it contained all modifiers that might affect the translation of the key; this allowed accelerators to be stored with irrelevant consumed modifiers, by doing: However, this did not work if multi-modifier combinations were used in the keymap, since, for instance, \code{} would be masked out even if only \code{} was used in the keymap. To support this usage as well as well as possible, all \emph{single modifier} combinations that could affect the key for any combination of modifiers will be returned in \code{consumed.modifiers}; multi-modifier combinations are returned only when actually found in \code{state}. When you store accelerators, you should always store them with consumed modifiers removed. Store \code{plus}, not \code{plus},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentChooser.Rd0000644000176000001440000001614012362217677015525 0ustar ripleyusers\alias{GtkRecentChooser} \alias{GtkRecentSortFunc} \alias{GtkRecentChooserError} \alias{GtkRecentSortType} \name{GtkRecentChooser} \title{GtkRecentChooser} \description{Interface implemented by widgets displaying recently used files} \section{Methods and Functions}{ \code{\link{gtkRecentChooserSetShowPrivate}(object, show.private)}\cr \code{\link{gtkRecentChooserGetShowPrivate}(object)}\cr \code{\link{gtkRecentChooserSetShowNotFound}(object, show.not.found)}\cr \code{\link{gtkRecentChooserGetShowNotFound}(object)}\cr \code{\link{gtkRecentChooserSetShowIcons}(object, show.icons)}\cr \code{\link{gtkRecentChooserGetShowIcons}(object)}\cr \code{\link{gtkRecentChooserSetSelectMultiple}(object, select.multiple)}\cr \code{\link{gtkRecentChooserGetSelectMultiple}(object)}\cr \code{\link{gtkRecentChooserSetLocalOnly}(object, local.only)}\cr \code{\link{gtkRecentChooserGetLocalOnly}(object)}\cr \code{\link{gtkRecentChooserSetLimit}(object, limit)}\cr \code{\link{gtkRecentChooserGetLimit}(object)}\cr \code{\link{gtkRecentChooserSetShowTips}(object, show.tips)}\cr \code{\link{gtkRecentChooserGetShowTips}(object)}\cr \code{\link{gtkRecentChooserSetSortType}(object, sort.type)}\cr \code{\link{gtkRecentChooserGetSortType}(object)}\cr \code{\link{gtkRecentChooserSetSortFunc}(object, sort.func, sort.data)}\cr \code{\link{gtkRecentChooserSetCurrentUri}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkRecentChooserGetCurrentUri}(object)}\cr \code{\link{gtkRecentChooserGetCurrentItem}(object)}\cr \code{\link{gtkRecentChooserSelectUri}(object, uri, .errwarn = TRUE)}\cr \code{\link{gtkRecentChooserUnselectUri}(object, uri)}\cr \code{\link{gtkRecentChooserSelectAll}(object)}\cr \code{\link{gtkRecentChooserUnselectAll}(object)}\cr \code{\link{gtkRecentChooserGetItems}(object)}\cr \code{\link{gtkRecentChooserGetUris}(object)}\cr \code{\link{gtkRecentChooserAddFilter}(object, filter)}\cr \code{\link{gtkRecentChooserRemoveFilter}(object, filter)}\cr \code{\link{gtkRecentChooserListFilters}(object)}\cr \code{\link{gtkRecentChooserSetFilter}(object, filter)}\cr \code{\link{gtkRecentChooserGetFilter}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkRecentChooser}} \section{Implementations}{GtkRecentChooser is implemented by \code{\link{GtkRecentAction}}, \code{\link{GtkRecentChooserDialog}}, \code{\link{GtkRecentChooserMenu}} and \code{\link{GtkRecentChooserWidget}}.} \section{Detailed Description}{\code{\link{GtkRecentChooser}} is an interface that can be implemented by widgets displaying the list of recently used files. In GTK+, the main objects that implement this interface are \code{\link{GtkRecentChooserWidget}}, \code{\link{GtkRecentChooserDialog}} and \code{\link{GtkRecentChooserMenu}}. Recently used files are supported since GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkRecentChooser}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{ \item{\verb{GtkRecentChooserError}}{ These identify the various errors that can occur while calling \code{\link{GtkRecentChooser}} functions. \describe{ \item{\verb{not-found}}{Indicates that a file does not exist} \item{\verb{invalid-uri}}{Indicates a malformed URI} } } \item{\verb{GtkRecentSortType}}{ Used to specify the sorting method to be applyed to the recently used resource list. \describe{ \item{\verb{none}}{Do not sort the returned list of recently used resources.} \item{\verb{mru}}{Sort the returned list with the most recently used items first.} \item{\verb{lru}}{Sort the returned list with the least recently used items first.} \item{\verb{custom}}{Sort the returned list using a custom sorting function passed using \code{gtkRecentManagerSetSortFunc()}.} } } }} \section{User Functions}{\describe{\item{\code{GtkRecentSortFunc()}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{item-activated(chooser, user.data)}}{ This signal is emitted when the user "activates" a recent item in the recent chooser. This can happen by double-clicking on an item in the recently used resources list, or by pressing \kbd{Enter}. Since 2.10 \describe{ \item{\code{chooser}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-changed(chooser, user.data)}}{ This signal is emitted when there is a change in the set of selected recently used resources. This can happen when a user modifies the selection with the mouse or the keyboard, or when explicitely calling functions to change the selection. Since 2.10 \describe{ \item{\code{chooser}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{filter} [\code{\link{GtkRecentFilter}} : * : Read / Write]}{ The \code{\link{GtkRecentFilter}} object to be used when displaying the recently used resources. Since 2.10 } \item{\verb{limit} [integer : Read / Write]}{ The maximum number of recently used resources to be displayed, or -1 to display all items. By default, the GtkSetting:gtk-recent-files-limit setting is respected: you can override that limit on a particular instance of \code{\link{GtkRecentChooser}} by setting this property. Allowed values: >= -1 Default value: -1 Since 2.10 } \item{\verb{local-only} [logical : Read / Write]}{ Whether this \code{\link{GtkRecentChooser}} should display only local (file:) resources. Default value: TRUE Since 2.10 } \item{\verb{recent-manager} [\code{\link{GtkRecentManager}} : * : Write / Construct Only]}{ The \code{\link{GtkRecentManager}} instance used by the \code{\link{GtkRecentChooser}} to display the list of recently used resources. Since 2.10 } \item{\verb{select-multiple} [logical : Read / Write]}{ Allow the user to select multiple resources. Default value: FALSE Since 2.10 } \item{\verb{show-icons} [logical : Read / Write]}{ Whether this \code{\link{GtkRecentChooser}} should display an icon near the item. Default value: TRUE Since 2.10 } \item{\verb{show-not-found} [logical : Read / Write]}{ Whether this \code{\link{GtkRecentChooser}} should display the recently used resources even if not present anymore. Setting this to \code{FALSE} will perform a potentially expensive check on every local resource (every remote resource will always be displayed). Default value: TRUE Since 2.10 } \item{\verb{show-private} [logical : Read / Write]}{ Whether the private items should be displayed. Default value: FALSE } \item{\verb{show-tips} [logical : Read / Write]}{ Whether this \code{\link{GtkRecentChooser}} should display a tooltip containing the full path of the recently used resources. Default value: FALSE Since 2.10 } \item{\verb{sort-type} [\code{\link{GtkRecentSortType}} : Read / Write]}{ Sorting order to be used when displaying the recently used resources. Default value: GTK_RECENT_SORT_NONE Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentChooser.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkRecentManager}} \code{\link{GtkRecentChooserDialog}} \code{\link{GtkRecentChooserWidget}} \code{\link{GtkRecentChooserMenu}} } \keyword{internal} RGtk2/man/gtkTextViewSetPixelsInsideWrap.Rd0000644000176000001440000000110112362217677020417 0ustar ripleyusers\alias{gtkTextViewSetPixelsInsideWrap} \name{gtkTextViewSetPixelsInsideWrap} \title{gtkTextViewSetPixelsInsideWrap} \description{Sets the default number of pixels of blank space to leave between display/wrapped lines within a paragraph. May be overridden by tags in \code{text.view}'s buffer.} \usage{gtkTextViewSetPixelsInsideWrap(object, pixels.inside.wrap)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{pixels.inside.wrap}}{default number of pixels between wrapped lines} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetMarkup.Rd0000644000176000001440000000121012362217677015665 0ustar ripleyusers\alias{gtkLabelSetMarkup} \name{gtkLabelSetMarkup} \title{gtkLabelSetMarkup} \description{Parses \code{str} which is marked up with the Pango text markup language, setting the label's text and attribute list based on the parse results. If the \code{str} is external data, you may need to escape it with \code{gMarkupEscapeText()} or \code{gMarkupPrintfEscaped()}: \preformatted{## RGtk2 has no support for GMarkup}} \usage{gtkLabelSetMarkup(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{str}}{a markup string (see Pango markup format)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetFd.Rd0000644000176000001440000000102712362217677014623 0ustar ripleyusers\alias{gSocketGetFd} \name{gSocketGetFd} \title{gSocketGetFd} \description{Returns the underlying OS socket object. On unix this is a socket file descriptor, and on windows this is a Winsock2 SOCKET handle. This may be useful for doing platform specific or otherwise unusual operations on the socket.} \usage{gSocketGetFd(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[integer] the file descriptor of the socket.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewBackwardDisplayLine.Rd0000644000176000001440000000171612362217677020401 0ustar ripleyusers\alias{gtkTextViewBackwardDisplayLine} \name{gtkTextViewBackwardDisplayLine} \title{gtkTextViewBackwardDisplayLine} \description{Moves the given \code{iter} backward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the \code{\link{GtkTextBuffer}}.} \usage{gtkTextViewBackwardDisplayLine(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if \code{iter} was moved and is not on the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyStyle.Rd0000644000176000001440000000257312362217677016443 0ustar ripleyusers\alias{gtkWidgetModifyStyle} \name{gtkWidgetModifyStyle} \title{gtkWidgetModifyStyle} \description{Modifies style values on the widget. Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a style is explicitely set on the widget using \code{\link{gtkWidgetSetStyle}}. The \code{\link{GtkRcStyle}} structure is designed so each field can either be set or unset, so it is possible, using this function, to modify some style values and leave the others unchanged.} \usage{gtkWidgetModifyStyle(object, style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{style}}{the \code{\link{GtkRcStyle}} holding the style modifications} } \details{Note that modifications made with this function are not cumulative with previous calls to \code{\link{gtkWidgetModifyStyle}} or with such functions as \code{\link{gtkWidgetModifyFg}}. If you wish to retain previous values, you must first call \code{\link{gtkWidgetGetModifierStyle}}, make your modifications to the returned style, then call \code{\link{gtkWidgetModifyStyle}} with that style. On the other hand, if you first call \code{\link{gtkWidgetModifyStyle}}, subsequent calls to such functions \code{\link{gtkWidgetModifyFg}} will have a cumulative effect with the initial modifications.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySetDoubleClickDistance.Rd0000644000176000001440000000123012362217677020631 0ustar ripleyusers\alias{gdkDisplaySetDoubleClickDistance} \name{gdkDisplaySetDoubleClickDistance} \title{gdkDisplaySetDoubleClickDistance} \description{Sets the double click distance (two clicks within this distance count as a double click and result in a \verb{GDK_2BUTTON_PRESS} event). See also \code{\link{gdkDisplaySetDoubleClickTime}}. Applications should \emph{not} set this, it is a global user-configured setting.} \usage{gdkDisplaySetDoubleClickDistance(object, distance)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{distance}}{distance in pixels} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDefaultSize.Rd0000644000176000001440000000142712362217677017073 0ustar ripleyusers\alias{gtkWindowGetDefaultSize} \name{gtkWindowGetDefaultSize} \title{gtkWindowGetDefaultSize} \description{Gets the default size of the window. A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used.} \usage{gtkWindowGetDefaultSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{ A list containing the following elements: \item{\verb{width}}{location to store the default width, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{height}}{location to store the default height, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetMatrix.Rd0000644000176000001440000000062512362217677015237 0ustar ripleyusers\alias{cairoGetMatrix} \name{cairoGetMatrix} \title{cairoGetMatrix} \description{Stores the current transformation matrix (CTM) into \code{matrix}.} \usage{cairoGetMatrix(cr, matrix)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] return value for the matrix} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetTextColumn.Rd0000644000176000001440000000063612362217677017233 0ustar ripleyusers\alias{gtkIconViewGetTextColumn} \name{gtkIconViewGetTextColumn} \title{gtkIconViewGetTextColumn} \description{Returns the column with text for \code{icon.view}.} \usage{gtkIconViewGetTextColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \value{[integer] the text column, or -1 if it's unset.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerNew.Rd0000644000176000001440000000045112362217677015302 0ustar ripleyusers\alias{gtkUIManagerNew} \name{gtkUIManagerNew} \title{gtkUIManagerNew} \description{Creates a new ui manager object.} \usage{gtkUIManagerNew()} \details{Since 2.4} \value{[\code{\link{GtkUIManager}}] a new ui manager object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GAsyncResult.Rd0000644000176000001440000000715612362217677014706 0ustar ripleyusers\alias{GAsyncResult} \alias{GAsyncReadyCallback} \name{GAsyncResult} \title{GAsyncResult} \description{Asynchronous Function Results} \section{Methods and Functions}{ \code{\link{gAsyncResultGetUserData}(object)}\cr \code{\link{gAsyncResultGetSourceObject}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GAsyncResult}} \section{Implementations}{GAsyncResult is implemented by \code{\link{GSimpleAsyncResult}}.} \section{Detailed Description}{Provides a base class for implementing asynchronous function results. Asynchronous operations are broken up into two separate operations which are chained together by a \code{\link{GAsyncReadyCallback}}. To begin an asynchronous operation, provide a \code{\link{GAsyncReadyCallback}} to the asynchronous function. This callback will be triggered when the operation has completed, and will be passed a \code{\link{GAsyncResult}} instance filled with the details of the operation's success or failure, the object the asynchronous function was started for and any error codes returned. The asynchronous callback function is then expected to call the corresponding "\code{finish()}" function with the object the function was called for, and the \code{\link{GAsyncResult}} instance, and optionally, an \code{error} to grab any error conditions that may have occurred. The purpose of the "\code{finish()}" function is to take the generic result of type \code{\link{GAsyncResult}} and return the specific result that the operation in question yields (e.g. a \code{\link{GFileEnumerator}} for a "enumerate children" operation). If the result or error status of the operation is not needed, there is no need to call the "\code{finish()}" function, GIO will take care of cleaning up the result and error information after the \code{\link{GAsyncReadyCallback}} returns. It is also allowed to take a reference to the \code{\link{GAsyncResult}} and call "\code{finish()}" later. Example of a typical asynchronous operation flow: \preformatted{ frobnitz_result_func <- function(source_object, res, user_data) { success <- _theoretical_frobnitz_finish (source_object, res, NULL) if (success) message("Hurray!") else message("Uh oh!") ## .... } _theoretical_frobnitz_async (theoretical_data, NULL, frobnitz_result_func, NULL) } The callback for an asynchronous operation is called only once, and is always called, even in the case of a cancelled operation. On cancellation the result is a \code{G_IO_ERROR_CANCELLED} error. Some ascynchronous operations are implemented using synchronous calls. These are run in a separate thread, if \verb{GThread} has been initialized, but otherwise they are sent to the Main Event Loop and processed in an idle function. So, if you truly need asynchronous operations, make sure to initialize \verb{GThread}.} \section{Structures}{\describe{\item{\verb{GAsyncResult}}{ Holds results information for an asynchronous operation, usually passed directly to a asynchronous \code{finish()} operation. }}} \section{User Functions}{\describe{\item{\code{GAsyncReadyCallback(source.object, res, user.data)}}{ Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. \describe{ \item{\code{source.object}}{the object the asynchronous operation was started with.} \item{\code{res}}{a \code{\link{GAsyncResult}}.} \item{\code{user.data}}{user data passed to the callback.} } }}} \references{\url{http://library.gnome.org/devel//gio/GAsyncResult.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetName.Rd0000644000176000001440000000111112362217677016445 0ustar ripleyusers\alias{gtkAboutDialogGetName} \name{gtkAboutDialogGetName} \title{gtkAboutDialogGetName} \description{ Returns the program name displayed in the about dialog. \strong{WARNING: \code{gtk_about_dialog_get_name} has been deprecated since version 2.12 and should not be used in newly-written code. Use \code{\link{gtkAboutDialogGetProgramName}} instead.} } \usage{gtkAboutDialogGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The program name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryFileType.Rd0000644000176000001440000000160012362217677016025 0ustar ripleyusers\alias{gFileQueryFileType} \name{gFileQueryFileType} \title{gFileQueryFileType} \description{Utility function to inspect the \code{\link{GFileType}} of a file. This is implemented using \code{\link{gFileQueryInfo}} and as such does blocking I/O.} \usage{gFileQueryFileType(object, flags, cancellable = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}} passed to \code{\link{gFileQueryInfo}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} } \details{The primary use case of this method is to check if a file is a regular file, directory, or symlink. Since 2.18} \value{[\code{\link{GFileType}}] The \code{\link{GFileType}} of the file and \verb{G_FILE_TYPE_UNKNOWN} if the file does not exist} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcStyleCopy.Rd0000644000176000001440000000073712362217677015247 0ustar ripleyusers\alias{gtkRcStyleCopy} \name{gtkRcStyleCopy} \title{gtkRcStyleCopy} \description{Makes a copy of the specified \code{\link{GtkRcStyle}}. This function will correctly copy an RC style that is a member of a class derived from \code{\link{GtkRcStyle}}.} \usage{gtkRcStyleCopy(object)} \arguments{\item{\verb{object}}{the style to copy}} \value{[\code{\link{GtkRcStyle}}] the resulting \code{\link{GtkRcStyle}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetBackPixmap.Rd0000644000176000001440000000254512362217677016671 0ustar ripleyusers\alias{gdkWindowSetBackPixmap} \name{gdkWindowSetBackPixmap} \title{gdkWindowSetBackPixmap} \description{Sets the background pixmap of \code{window}. May also be used to set a background of "None" on \code{window}, by setting a background pixmap of \code{NULL}.} \usage{gdkWindowSetBackPixmap(object, pixmap = NULL, parent.relative)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{pixmap}}{a \code{\link{GdkPixmap}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent.relative}}{whether the tiling origin is at the origin of \code{window}'s parent} } \details{A background pixmap will be tiled, positioning the first tile at the origin of \code{window}, or if \code{parent.relative} is \code{TRUE}, the tiling will be done based on the origin of the parent window (useful to align tiles in a parent with tiles in a child). A background pixmap of \code{NULL} means that the window will have no background. A window with no background will never have its background filled by the windowing system, instead the window will contain whatever pixels were already in the corresponding area of the display. The windowing system will normally fill a window with its background when the window is obscured then exposed, and when you call \code{\link{gdkWindowClear}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceGetWidth.Rd0000644000176000001440000000065212362217677017326 0ustar ripleyusers\alias{cairoImageSurfaceGetWidth} \name{cairoImageSurfaceGetWidth} \title{cairoImageSurfaceGetWidth} \description{Get the width of the image surface in pixels.} \usage{cairoImageSurfaceGetWidth(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_image_surface_t}}} \value{[integer] the width of the surface in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetName.Rd0000644000176000001440000000063412362217677015464 0ustar ripleyusers\alias{atkObjectGetName} \name{atkObjectGetName} \title{atkObjectGetName} \description{Gets the accessible name of the accessible.} \usage{atkObjectGetName(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[character] a character string representing the accessible name of the object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserDialogNew.Rd0000644000176000001440000000137012362217677017356 0ustar ripleyusers\alias{gtkRecentChooserDialogNew} \name{gtkRecentChooserDialogNew} \title{gtkRecentChooserDialogNew} \description{Creates a new \code{\link{GtkRecentChooserDialog}}. This function is analogous to \code{\link{gtkDialogNewWithButtons}}.} \usage{gtkRecentChooserDialogNew(title = NULL, parent = NULL, ..., show = TRUE)} \arguments{ \item{\verb{title}}{Title of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent}}{Transient parent of the dialog, or \code{NULL},. \emph{[ \acronym{allow-none} ]}} \item{\verb{...}}{a new \code{\link{GtkRecentChooserDialog}}} } \details{Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionDoAction.Rd0000644000176000001440000000101512362217677015645 0ustar ripleyusers\alias{atkActionDoAction} \name{atkActionDoAction} \title{atkActionDoAction} \description{Perform the specified action on the object.} \usage{atkActionDoAction(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } } \value{[logical] \code{TRUE} if success, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gTcpConnectionGetGracefulDisconnect.Rd0000644000176000001440000000104012362217677021345 0ustar ripleyusers\alias{gTcpConnectionGetGracefulDisconnect} \name{gTcpConnectionGetGracefulDisconnect} \title{gTcpConnectionGetGracefulDisconnect} \description{Checks if graceful disconnects are used. See \code{\link{gTcpConnectionSetGracefulDisconnect}}.} \usage{gTcpConnectionGetGracefulDisconnect(object)} \arguments{\item{\verb{object}}{a \code{\link{GTcpConnection}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if graceful disconnect is used on close, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawSlider.Rd0000644000176000001440000000172212362217677015062 0ustar ripleyusers\alias{gtkDrawSlider} \name{gtkDrawSlider} \title{gtkDrawSlider} \description{ Draws a slider in the given rectangle on \code{window} using the given style and orientation. \strong{WARNING: \code{gtk_draw_slider} is deprecated and should not be used in newly-written code.} } \usage{gtkDrawSlider(object, window, state.type, shadow.type, x, y, width, height, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{a shadow} \item{\verb{x}}{the x origin of the rectangle in which to draw a slider} \item{\verb{y}}{the y origin of the rectangle in which to draw a slider} \item{\verb{width}}{the width of the rectangle in which to draw a slider} \item{\verb{height}}{the height of the rectangle in which to draw a slider} \item{\verb{orientation}}{the orientation to be used} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSelectPath.Rd0000644000176000001440000000062112362217677016517 0ustar ripleyusers\alias{gtkIconViewSelectPath} \name{gtkIconViewSelectPath} \title{gtkIconViewSelectPath} \description{Selects the row at \code{path}.} \usage{gtkIconViewSelectPath(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be selected.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetPixbufColumn.Rd0000644000176000001440000000102212362217677017546 0ustar ripleyusers\alias{gtkIconViewSetPixbufColumn} \name{gtkIconViewSetPixbufColumn} \title{gtkIconViewSetPixbufColumn} \description{Sets the column with pixbufs for \code{icon.view} to be \code{column}. The pixbuf column must be of type \verb{GDK_TYPE_PIXBUF}} \usage{gtkIconViewSetPixbufColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{column}}{A column in the currently used model, or -1 to disable} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserDialogNewForManager.Rd0000644000176000001440000000172312362217677021322 0ustar ripleyusers\alias{gtkRecentChooserDialogNewForManager} \name{gtkRecentChooserDialogNewForManager} \title{gtkRecentChooserDialogNewForManager} \description{Creates a new \code{\link{GtkRecentChooserDialog}} with a specified recent manager.} \usage{gtkRecentChooserDialogNewForManager(title = NULL, parent = NULL, manager, ..., show = TRUE)} \arguments{ \item{\verb{title}}{Title of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent}}{Transient parent of the dialog, or \code{NULL},. \emph{[ \acronym{allow-none} ]}} \item{\verb{manager}}{a \code{\link{GtkRecentManager}}} \item{\verb{...}}{a new \code{\link{GtkRecentChooserDialog}}} } \details{This is useful if you have implemented your own recent manager, or if you have a customized instance of a \code{\link{GtkRecentManager}} object. Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceReadwrite.Rd0000644000176000001440000000270512362217677016507 0ustar ripleyusers\alias{gFileReplaceReadwrite} \name{gFileReplaceReadwrite} \title{gFileReplaceReadwrite} \description{Returns an output stream for overwriting the file in readwrite mode, possibly creating a backup copy of the file first. If the file doesn't exist, it will be created.} \usage{gFileReplaceReadwrite(object, etag, make.backup, flags, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}}} \item{\verb{etag}}{an optional entity tag for the current \code{\link{GFile}}, or \verb{NULL} to ignore} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{For details about the behaviour, see \code{\link{gFileReplace}} which does the same thing but returns an output stream only. Note that in many non-local file cases read and write streams are not supported, so make sure you really need to do read and write streaming, rather than just opening for reading or writing. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] a \code{\link{GFileIOStream}} or \code{NULL} on error.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowAddWithViewport.Rd0000644000176000001440000000253012362217677020764 0ustar ripleyusers\alias{gtkScrolledWindowAddWithViewport} \name{gtkScrolledWindowAddWithViewport} \title{gtkScrolledWindowAddWithViewport} \description{Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use \code{\link{gtkContainerAdd}} instead of this function.} \usage{gtkScrolledWindowAddWithViewport(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{child}}{the widget you want to scroll} } \details{The viewport scrolls the child by moving its \code{\link{GdkWindow}}, and takes the size of the child to be the size of its toplevel \code{\link{GdkWindow}}. This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as \code{\link{GtkTreeView}} with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the \code{\link{GtkViewport}} proxy. A widget supports scrolling natively if the set_scroll_adjustments_signal field in \code{\link{GtkWidgetClass}} is non-zero, i.e. has been filled in with a valid signal identifier.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerRemove.Rd0000644000176000001440000000166212362217677016125 0ustar ripleyusers\alias{gtkContainerRemove} \name{gtkContainerRemove} \title{gtkContainerRemove} \description{Removes \code{widget} from \code{container}. \code{widget} must be inside \code{container}. Note that \code{container} will own a reference to \code{widget}, and that this may be the last reference held; so removing a widget from its container can destroy that widget. If you want to use \code{widget} again, you need to add a reference to it while it's not inside a container, If you don't want to use \code{widget} again it's usually more efficient to simply destroy it directly using \code{\link{gtkWidgetDestroy}} since this will remove it from the container and help break any circular reference count cycles.} \usage{gtkContainerRemove(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{widget}}{a current child of \code{container}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogNew.Rd0000644000176000001440000000053012362217677015662 0ustar ripleyusers\alias{gtkAboutDialogNew} \name{gtkAboutDialogNew} \title{gtkAboutDialogNew} \description{Creates a new \code{\link{GtkAboutDialog}}.} \usage{gtkAboutDialogNew(show = TRUE)} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] a newly created \code{\link{GtkAboutDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetIsSymlink.Rd0000644000176000001440000000056512362217677016465 0ustar ripleyusers\alias{gFileInfoGetIsSymlink} \name{gFileInfoGetIsSymlink} \title{gFileInfoGetIsSymlink} \description{Checks if a file is a symlink.} \usage{gFileInfoGetIsSymlink(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[logical] \code{TRUE} if the given \code{info} is a symlink.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetPageIncrement.Rd0000644000176000001440000000067112362217677020244 0ustar ripleyusers\alias{gtkAdjustmentGetPageIncrement} \name{gtkAdjustmentGetPageIncrement} \title{gtkAdjustmentGetPageIncrement} \description{Retrieves the page increment of the adjustment.} \usage{gtkAdjustmentGetPageIncrement(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \details{Since 2.14} \value{[numeric] The current page increment of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetWindowCreationHook.Rd0000644000176000001440000000106012362217677020747 0ustar ripleyusers\alias{gtkNotebookSetWindowCreationHook} \name{gtkNotebookSetWindowCreationHook} \title{gtkNotebookSetWindowCreationHook} \description{Installs a global function used to create a window when a detached tab is dropped in an empty area.} \usage{gtkNotebookSetWindowCreationHook(func, data)} \arguments{ \item{\verb{func}}{the \code{\link{GtkNotebookWindowCreationFunc}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{user data for \code{func}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetSocketAddressGetAddress.Rd0000644000176000001440000000072412362217677020010 0ustar ripleyusers\alias{gInetSocketAddressGetAddress} \name{gInetSocketAddressGetAddress} \title{gInetSocketAddressGetAddress} \description{Gets \code{address}'s \code{\link{GInetAddress}}.} \usage{gInetSocketAddressGetAddress(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetSocketAddress}}}} \details{Since 2.22} \value{[\code{\link{GInetAddress}}] the \code{\link{GInetAddress}} for \code{address},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetTopMargin.Rd0000644000176000001440000000067412362217677017205 0ustar ripleyusers\alias{gtkPageSetupGetTopMargin} \name{gtkPageSetupGetTopMargin} \title{gtkPageSetupGetTopMargin} \description{Gets the top margin in units of \code{unit}.} \usage{gtkPageSetupGetTopMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the top margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGetShowEvents.Rd0000644000176000001440000000045612362217677015552 0ustar ripleyusers\alias{gdkGetShowEvents} \name{gdkGetShowEvents} \title{gdkGetShowEvents} \description{Gets whether event debugging output is enabled.} \usage{gdkGetShowEvents()} \value{[logical] \code{TRUE} if event debugging output is enabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewDrawRow.Rd0000644000176000001440000000132212362217677015745 0ustar ripleyusers\alias{gtkPreviewDrawRow} \name{gtkPreviewDrawRow} \title{gtkPreviewDrawRow} \description{ Sets the data for a portion of a row. \strong{WARNING: \code{gtk_preview_draw_row} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewDrawRow(object, data, y, w)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPreview}}.} \item{\verb{data}}{the new data for the portion. It should contain \code{w} bytes of data if the preview is of type GTK_TYPE_GRAYSCALE, and 3*\code{w} bytes of data if the preview is of type GTK_TYPE_COLOR.} \item{\verb{y}}{the row to change.} \item{\verb{w}}{the number of pixels in the row to change.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetRootCoords.Rd0000644000176000001440000000135012362217677016724 0ustar ripleyusers\alias{gdkWindowGetRootCoords} \name{gdkWindowGetRootCoords} \title{gdkWindowGetRootCoords} \description{Obtains the position of a window position in root window coordinates. This is similar to \code{\link{gdkWindowGetOrigin}} but allows you go pass in any position in the window, not just the origin.} \usage{gdkWindowGetRootCoords(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{X coordinate in window} \item{\verb{y}}{Y coordinate in window} } \details{Since 2.18} \value{ A list containing the following elements: \item{\verb{root.x}}{return location for X coordinate} \item{\verb{root.y}}{return location for Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowEnableSynchronizedConfigure.Rd0000644000176000001440000000154512362217677021625 0ustar ripleyusers\alias{gdkWindowEnableSynchronizedConfigure} \name{gdkWindowEnableSynchronizedConfigure} \title{gdkWindowEnableSynchronizedConfigure} \description{Indicates that the application will cooperate with the window system in synchronizing the window repaint with the window manager during resizing operations. After an application calls this function, it must call \code{\link{gdkWindowConfigureFinished}} every time it has finished all processing associated with a set of Configure events. Toplevel GTK+ windows automatically use this protocol.} \usage{gdkWindowEnableSynchronizedConfigure(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{On X, calling this function makes \code{window} participate in the _NET_WM_SYNC_REQUEST window manager protocol. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetGroups.Rd0000644000176000001440000000144512362217677016720 0ustar ripleyusers\alias{gtkRecentInfoGetGroups} \name{gtkRecentInfoGetGroups} \title{gtkRecentInfoGetGroups} \description{Returns all groups registered for the recently used item \code{info}. The array of returned group names will be \code{NULL} terminated, so length might optionally be \code{NULL}.} \usage{gtkRecentInfoGetGroups(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[character] a newly allocated \code{NULL} terminated list of strings. \emph{[ \acronym{array} length=length zero-terminated=1]}} \item{\verb{length}}{return location for the number of groups returned. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetPixels.Rd0000644000176000001440000000064412362217677016066 0ustar ripleyusers\alias{gdkPixbufGetPixels} \name{gdkPixbufGetPixels} \title{gdkPixbufGetPixels} \description{Queries a pointer to the pixel data of a pixbuf.} \usage{gdkPixbufGetPixels(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[raw] A pointer to the pixbuf's pixel data. Please see for information about how the pixel data is stored in memory.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestFindTarget.Rd0000644000176000001440000000204712362217677016470 0ustar ripleyusers\alias{gtkDragDestFindTarget} \name{gtkDragDestFindTarget} \title{gtkDragDestFindTarget} \description{Looks for a match between \code{context->targets} and the \code{dest.target.list}, returning the first matching target, otherwise returning \code{GDK_NONE}. \code{dest.target.list} should usually be the return value from \code{\link{gtkDragDestGetTargetList}}, but some widgets may have different valid targets for different parts of the widget; in that case, they will have to implement a drag_motion handler that passes the correct target list to this function.} \usage{gtkDragDestFindTarget(object, context, target.list)} \arguments{ \item{\verb{object}}{drag destination widget} \item{\verb{context}}{drag context} \item{\verb{target.list}}{list of droppable targets, or \code{NULL} to use gtk_drag_dest_get_target_list (\code{widget}). \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GdkAtom}}] first target that the source offers and the dest can accept, or \code{GDK_NONE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSeekableCanSeek.Rd0000644000176000001440000000061512362217677015430 0ustar ripleyusers\alias{gSeekableCanSeek} \name{gSeekableCanSeek} \title{gSeekableCanSeek} \description{Tests if the stream supports the \verb{GSeekableIface}.} \usage{gSeekableCanSeek(object)} \arguments{\item{\verb{object}}{a \code{\link{GSeekable}}.}} \value{[logical] \code{TRUE} if \code{seekable} can be seeked. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterHasChild.Rd0000644000176000001440000000076412362217677017133 0ustar ripleyusers\alias{gtkTreeModelIterHasChild} \name{gtkTreeModelIterHasChild} \title{gtkTreeModelIterHasChild} \description{Returns \code{TRUE} if \code{iter} has children, \code{FALSE} otherwise.} \usage{gtkTreeModelIterHasChild(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}} to test for children.} } \value{[logical] \code{TRUE} if \code{iter} has children.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSetDoubleClickTime.Rd0000644000176000001440000000103512362217677016452 0ustar ripleyusers\alias{gdkSetDoubleClickTime} \name{gdkSetDoubleClickTime} \title{gdkSetDoubleClickTime} \description{Set the double click time for the default display. See \code{\link{gdkDisplaySetDoubleClickTime}}. See also \code{\link{gdkDisplaySetDoubleClickDistance}}. Applications should \emph{not} set this, it is a global user-configured setting.} \usage{gdkSetDoubleClickTime(msec)} \arguments{\item{\verb{msec}}{double click time in milliseconds (thousandths of a second)}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentValueChanged.Rd0000644000176000001440000000076412362217677017414 0ustar ripleyusers\alias{gtkAdjustmentValueChanged} \name{gtkAdjustmentValueChanged} \title{gtkAdjustmentValueChanged} \description{Emits a "value_changed" signal from the \code{\link{GtkAdjustment}}. This is typically called by the owner of the \code{\link{GtkAdjustment}} after it has changed the \code{\link{GtkAdjustment}} value field.} \usage{gtkAdjustmentValueChanged(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetAlignment.Rd0000644000176000001440000000124612362217677017670 0ustar ripleyusers\alias{gtkCellRendererGetAlignment} \name{gtkCellRendererGetAlignment} \title{gtkCellRendererGetAlignment} \description{Fills in \code{xalign} and \code{yalign} with the appropriate values of \code{cell}.} \usage{gtkCellRendererGetAlignment(object, xalign, yalign)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{xalign}}{location to fill in with the x alignment of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{yalign}}{location to fill in with the y alignment of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetLineJoin.Rd0000644000176000001440000000144312362217677015515 0ustar ripleyusers\alias{cairoSetLineJoin} \name{cairoSetLineJoin} \title{cairoSetLineJoin} \description{Sets the current line join style within the cairo context. See \code{\link{CairoLineJoin}} for details about how the available line join styles are drawn.} \usage{cairoSetLineJoin(cr, line.join)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{line.join}}{[\code{\link{CairoLineJoin}}] a line join style} } \details{As with the other stroke parameters, the current line join style is examined by \code{\link{cairoStroke}}, \code{\link{cairoStrokeExtents}}, and \code{cairoStrokeToPath()}, but does not have any effect during path construction. The default line join style is \code{CAIRO_LINE_JOIN_MITER}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeDragDestDragDataReceived.Rd0000644000176000001440000000163412362217677020400 0ustar ripleyusers\alias{gtkTreeDragDestDragDataReceived} \name{gtkTreeDragDestDragDataReceived} \title{gtkTreeDragDestDragDataReceived} \description{Asks the \code{\link{GtkTreeDragDest}} to insert a row before the path \code{dest}, deriving the contents of the row from \code{selection.data}. If \code{dest} is outside the tree so that inserting before it is impossible, \code{FALSE} will be returned. Also, \code{FALSE} may be returned if the new row is not created for some model-specific reason. Should robustly handle a \code{dest} no longer found in the model!} \usage{gtkTreeDragDestDragDataReceived(object, dest, selection.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeDragDest}}} \item{\verb{dest}}{row to drop in front of} \item{\verb{selection.data}}{data to drop} } \value{[logical] whether a new row was created before position \code{dest}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToolPalette.Rd0000644000176000001440000001465412362217677015226 0ustar ripleyusers\alias{GtkToolPalette} \alias{gtkToolPalette} \alias{GtkToolPaletteDragTargets} \name{GtkToolPalette} \title{GtkToolPalette} \description{A tool palette with categories} \section{Methods and Functions}{ \code{\link{gtkToolPaletteNew}(show = TRUE)}\cr \code{\link{gtkToolPaletteGetExclusive}(object, group)}\cr \code{\link{gtkToolPaletteSetExclusive}(object, group, exclusive)}\cr \code{\link{gtkToolPaletteGetExpand}(object, group)}\cr \code{\link{gtkToolPaletteSetExpand}(object, group, expand)}\cr \code{\link{gtkToolPaletteGetGroupPosition}(object, group)}\cr \code{\link{gtkToolPaletteSetGroupPosition}(object, group, position)}\cr \code{\link{gtkToolPaletteGetIconSize}(object)}\cr \code{\link{gtkToolPaletteSetIconSize}(object, icon.size)}\cr \code{\link{gtkToolPaletteUnsetIconSize}(object)}\cr \code{\link{gtkToolPaletteGetStyle}(object)}\cr \code{\link{gtkToolPaletteSetStyle}(object, style)}\cr \code{\link{gtkToolPaletteUnsetStyle}(object)}\cr \code{\link{gtkToolPaletteAddDragDest}(object, widget, flags, targets, actions)}\cr \code{\link{gtkToolPaletteGetDragItem}(object, selection)}\cr \code{\link{gtkToolPaletteGetDragTargetGroup}()}\cr \code{\link{gtkToolPaletteGetDragTargetItem}()}\cr \code{\link{gtkToolPaletteGetDropGroup}(object, x, y)}\cr \code{\link{gtkToolPaletteGetDropItem}(object, x, y)}\cr \code{\link{gtkToolPaletteSetDragSource}(object, targets)}\cr \code{\link{gtkToolPaletteGetHadjustment}(object)}\cr \code{\link{gtkToolPaletteGetVadjustment}(object)}\cr \code{gtkToolPalette(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkToolPalette}} \section{Interfaces}{GtkToolPalette implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A \code{\link{GtkToolPalette}} allows you to add \code{\link{GtkToolItem}}s to a palette-like container with different categories and drag and drop support. A \code{\link{GtkToolPalette}} is created with a call to \code{\link{gtkToolPaletteNew}}. \code{\link{GtkToolItem}}s cannot be added directly to a \code{\link{GtkToolPalette}} - instead they are added to a \code{\link{GtkToolItemGroup}} which can than be added to a \code{\link{GtkToolPalette}}. To add a \code{\link{GtkToolItemGroup}} to a \code{\link{GtkToolPalette}}, use \code{\link{gtkContainerAdd}}. \preformatted{GtkWidget *palette, *group; GtkToolItem *item; palette = gtk_tool_palette_new (); group = gtk_tool_item_group_new (_("Test Category")); gtk_container_add (GTK_CONTAINER (palette), group); item = gtk_tool_button_new_from_stock (GTK_STOCK_OK); gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1); } The easiest way to use drag and drop with \code{\link{GtkToolPalette}} is to call \code{\link{gtkToolPaletteAddDragDest}} with the desired drag source \code{palette} and the desired drag target \code{widget}. Then \code{\link{gtkToolPaletteGetDragItem}} can be used to get the dragged item in the \verb{"drag-data-received"} signal handler of the drag target. \preformatted{static void passive_canvas_drag_data_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection, guint info, guint time, gpointer data) { GtkWidget *palette; GtkWidget *item; / * Get the dragged item * / palette = gtk_widget_get_ancestor (gtk_drag_get_source_widget (context), GTK_TYPE_TOOL_PALETTE); if (palette != NULL) item = gtk_tool_palette_get_drag_item (GTK_TOOL_PALETTE (palette), selection); / * Do something with item * / } GtkWidget *target, palette; palette = gtk_tool_palette_new (); target = gtk_drawing_area_new (); g_signal_connect (G_OBJECT (target), "drag-data-received", G_CALLBACK (passive_canvas_drag_data_received), NULL); gtk_tool_palette_add_drag_dest (GTK_TOOL_PALETTE (palette), target, GTK_DEST_DEFAULT_ALL, GTK_TOOL_PALETTE_DRAG_ITEMS, GDK_ACTION_COPY); }} \section{Structures}{\describe{\item{\verb{GtkToolPalette}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkToolPalette} is the equivalent of \code{\link{gtkToolPaletteNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkToolPaletteDragTargets}}{ Flags used to specify the supported drag targets. \describe{ \item{\verb{items}}{Support drag of items.} \item{\verb{groups}}{Support drag of groups.} } }}} \section{Signals}{\describe{\item{\code{set-scroll-adjustments(widget, hadjustment, vadjustment, user.data)}}{ Set the scroll adjustments for the viewport. Usually scrolled containers like GtkScrolledWindow will emit this signal to connect two instances of GtkScrollbar to the scroll directions of the GtkToolpalette. Since 2.20 \describe{ \item{\code{widget}}{the GtkToolPalette that received the signal} \item{\code{hadjustment}}{The horizontal adjustment} \item{\code{vadjustment}}{The vertical adjustment} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{icon-size} [\code{\link{GtkIconSize}} : Read / Write]}{ The size of the icons in a tool palette is normally determined by the \verb{"toolbar-icon-size"} setting. When this property is set, it overrides the setting. This should only be used for special-purpose tool palettes, normal application tool palettes should respect the user preferences for the size of icons. Default value: GTK_ICON_SIZE_SMALL_TOOLBAR Since 2.20 } \item{\verb{icon-size-set} [logical : Read / Write]}{ Is \code{TRUE} if the \verb{"icon-size"} property has been set. Default value: FALSE Since 2.20 } \item{\verb{toolbar-style} [\code{\link{GtkToolbarStyle}} : Read / Write]}{ The style of items in the tool palette. Default value: GTK_TOOLBAR_ICONS Since 2.20 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToolPalette.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetWebsiteLabel.Rd0000644000176000001440000000076212362217677020156 0ustar ripleyusers\alias{gtkAboutDialogSetWebsiteLabel} \name{gtkAboutDialogSetWebsiteLabel} \title{gtkAboutDialogSetWebsiteLabel} \description{Sets the label to be used for the website link. It defaults to the website URL.} \usage{gtkAboutDialogSetWebsiteLabel(object, website.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{website.label}}{the label used for the website link} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutNew.Rd0000644000176000001440000000104112362217677015262 0ustar ripleyusers\alias{pangoLayoutNew} \name{pangoLayoutNew} \title{pangoLayoutNew} \description{Create a new \code{\link{PangoLayout}} object with attributes initialized to default values for a particular \code{\link{PangoContext}}.} \usage{pangoLayoutNew(context)} \arguments{\item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \value{[\code{\link{PangoLayout}}] the newly allocated \code{\link{PangoLayout}}, with a reference count of one,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-General.Rd0000644000176000001440000000363012362217677014434 0ustar ripleyusers\alias{gdk-General} \alias{GdkGrabStatus} \name{gdk-General} \title{General} \description{Library initialization and miscellaneous functions} \section{Methods and Functions}{ \code{\link{gdkNotifyStartupComplete}()}\cr \code{\link{gdkNotifyStartupCompleteWithId}(id)}\cr \code{\link{gdkGetProgramClass}()}\cr \code{\link{gdkSetProgramClass}(program.class)}\cr \code{\link{gdkGetDisplay}()}\cr \code{\link{gdkFlush}()}\cr \code{\link{gdkScreenWidth}()}\cr \code{\link{gdkScreenHeight}()}\cr \code{\link{gdkScreenWidthMm}()}\cr \code{\link{gdkScreenHeightMm}()}\cr \code{\link{gdkPointerGrab}(window, owner.events = FALSE, event.mask = 0, confine.to = NULL, cursor = NULL, time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkPointerUngrab}(time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkPointerIsGrabbed}()}\cr \code{\link{gdkSetDoubleClickTime}(msec)}\cr \code{\link{gdkKeyboardGrab}(window, owner.events = FALSE, time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkKeyboardUngrab}(time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkBeep}()}\cr } \section{Detailed Description}{This section describes the GDK initialization functions and miscellaneous utility functions.} \section{Enums and Flags}{\describe{\item{\verb{GdkGrabStatus}}{ Returned by \code{\link{gdkPointerGrab}} and \code{\link{gdkKeyboardGrab}} to indicate success or the reason for the failure of the grab attempt. \describe{ \item{\verb{success}}{the resource was successfully grabbed.} \item{\verb{already-grabbed}}{the resource is actively grabbed by another client.} \item{\verb{invalid-time}}{the resource was grabbed more recently than the specified time.} \item{\verb{not-viewable}}{the grab window or the \code{confine.to} window are not viewable.} \item{\verb{frozen}}{the resource is frozen by an active grab of another client.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-General.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsertStock.Rd0000644000176000001440000000260012362217677016611 0ustar ripleyusers\alias{gtkToolbarInsertStock} \name{gtkToolbarInsertStock} \title{gtkToolbarInsertStock} \description{ Inserts a stock item at the specified position of the toolbar. If \code{stock.id} is not a known stock item ID, it's inserted verbatim, except that underscores used to mark mnemonics are removed. \strong{WARNING: \code{gtk_toolbar_insert_stock} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarInsertStock(object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkToolbar}}} \item{\verb{stock.id}}{The id of the stock item you want to insert} \item{\verb{tooltip.text}}{The text in the tooltip of the toolbar button} \item{\verb{tooltip.private.text}}{The private text of the tooltip} \item{\verb{callback}}{The callback called when the toolbar button is clicked.} \item{\verb{user.data}}{user data passed to callback} \item{\verb{position}}{The position the button shall be inserted at. -1 means at the end.} } \details{\code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the inserted widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkEditable.Rd0000644000176000001440000001100412362217677014465 0ustar ripleyusers\alias{GtkEditable} \name{GtkEditable} \title{GtkEditable} \description{Interface for text-editing widgets} \section{Methods and Functions}{ \code{\link{gtkEditableSelectRegion}(object, start, end)}\cr \code{\link{gtkEditableGetSelectionBounds}(object)}\cr \code{\link{gtkEditableInsertText}(object, new.text, position = 0)}\cr \code{\link{gtkEditableDeleteText}(object, start.pos, end.pos)}\cr \code{\link{gtkEditableGetChars}(object, start.pos, end.pos)}\cr \code{\link{gtkEditableCutClipboard}(object)}\cr \code{\link{gtkEditableCopyClipboard}(object)}\cr \code{\link{gtkEditablePasteClipboard}(object)}\cr \code{\link{gtkEditableDeleteSelection}(object)}\cr \code{\link{gtkEditableSetPosition}(object, position)}\cr \code{\link{gtkEditableGetPosition}(object)}\cr \code{\link{gtkEditableSetEditable}(object, is.editable)}\cr \code{\link{gtkEditableGetEditable}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkEditable}} \section{Implementations}{GtkEditable is implemented by \code{\link{GtkEntry}}, \code{\link{GtkOldEditable}}, \code{\link{GtkSpinButton}} and GtkText.} \section{Detailed Description}{The \code{\link{GtkEditable}} interface is an interface which should be implemented by text editing widgets, such as \code{\link{GtkEntry}} and \verb{GtkText}. It contains functions for generically manipulating an editable widget, a large number of action signals used for key bindings, and several signals that an application can connect to to modify the behavior of a widget. As an example of the latter usage, by connecting the following handler to "insert_text", an application can convert all entry into a widget into uppercase. \emph{Forcing entry to uppercase.} \preformatted{ insert_text_handler <- function(editable, text, length, position, id) { result <- toupper(text) gSignalHandlerBlock(editable, id) editable$insertText(result, length, position) gSignalHandlerUnblock(editable, id) } }} \section{Structures}{\describe{\item{\verb{GtkEditable}}{ The \code{\link{GtkEditable}} structure is an opaque structure whose members cannot be directly accessed. }}} \section{Signals}{\describe{ \item{\code{changed(editable, user.data)}}{ The ::changed signal is emitted at the end of a single user-visible operation on the contents of the \code{\link{GtkEditable}}. E.g., a paste operation that replaces the contents of the selection will cause only one signal emission (even though it is implemented by first deleting the selection, then inserting the new content, and may cause multiple ::notify::text signals to be emitted). \describe{ \item{\code{editable}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{delete-text(editable, start.pos, end.pos, user.data)}}{ This signal is emitted when text is deleted from the widget by the user. The default handler for this signal will normally be responsible for deleting the text, so by connecting to this signal and then stopping the signal with \code{\link{gSignalStopEmission}}, it is possible to modify the range of deleted text, or prevent it from being deleted entirely. The \code{start.pos} and \code{end.pos} parameters are interpreted as for \code{\link{gtkEditableDeleteText}}. \describe{ \item{\code{editable}}{the object which received the signal} \item{\code{start.pos}}{the starting position} \item{\code{end.pos}}{the end position} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{insert-text(editable, new.text, new.text.length, position, user.data)}}{ This signal is emitted when text is inserted into the widget by the user. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with \code{\link{gSignalStopEmission}}, it is possible to modify the inserted text, or prevent it from being inserted entirely. \describe{ \item{\code{editable}}{the object which received the signal} \item{\code{new.text}}{the new text to insert} \item{\code{new.text.length}}{the length of the new text, in bytes, or -1 if new_text is nul-terminated} \item{\code{position}}{the position, in characters, at which to insert the new text. this is an in-out parameter. After the signal emission is finished, it should point after the newly inserted text.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkEditable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutUint64.Rd0000644000176000001440000000146312362217677017436 0ustar ripleyusers\alias{gDataOutputStreamPutUint64} \name{gDataOutputStreamPutUint64} \title{gDataOutputStreamPutUint64} \description{Puts an unsigned 64-bit integer into the stream.} \usage{gDataOutputStreamPutUint64(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{numeric}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleWordEnds.Rd0000644000176000001440000000105212362217677021077 0ustar ripleyusers\alias{gtkTextIterForwardVisibleWordEnds} \name{gtkTextIterForwardVisibleWordEnds} \title{gtkTextIterForwardVisibleWordEnds} \description{Calls \code{\link{gtkTextIterForwardVisibleWordEnd}} up to \code{count} times.} \usage{gtkTextIterForwardVisibleWordEnds(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of times to move} } \details{Since 2.4} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderGetObject.Rd0000644000176000001440000000115012362217677016172 0ustar ripleyusers\alias{gtkBuilderGetObject} \name{gtkBuilderGetObject} \title{gtkBuilderGetObject} \description{Gets the object named \code{name}. Note that this function does not increment the reference count of the returned object.} \usage{gtkBuilderGetObject(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{name}}{name of object to get} } \details{Since 2.12} \value{[\code{\link{GObject}}] the object named \code{name} or \code{NULL} if it could not be found in the object tree. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamCloseFinish.Rd0000644000176000001440000000137212362217677017066 0ustar ripleyusers\alias{gInputStreamCloseFinish} \name{gInputStreamCloseFinish} \title{gInputStreamCloseFinish} \description{Finishes closing a stream asynchronously, started from \code{\link{gInputStreamCloseAsync}}.} \usage{gInputStreamCloseFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the stream was closed successfully.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewScrollToIter.Rd0000644000176000001440000000311612362217677017106 0ustar ripleyusers\alias{gtkTextViewScrollToIter} \name{gtkTextViewScrollToIter} \title{gtkTextViewScrollToIter} \description{Scrolls \code{text.view} so that \code{iter} is on the screen in the position indicated by \code{xalign} and \code{yalign}. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If \code{use.align} is \code{FALSE}, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size \code{within.margin}.} \usage{gtkTextViewScrollToIter(object, iter, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} \item{\verb{within.margin}}{margin as a [0.0,0.5) fraction of screen size} \item{\verb{use.align}}{whether to use alignment arguments (if \code{FALSE}, just get the mark onscreen)} \item{\verb{xalign}}{horizontal alignment of mark within visible area} \item{\verb{yalign}}{vertical alignment of mark within visible area} } \details{Note that this function uses the currently-computed height of the lines in the text buffer. Line heights are computed in an idle handler; so this function may not have the desired effect if it's called before the height computations. To avoid oddness, consider using \code{\link{gtkTextViewScrollToMark}} which saves a point to be scrolled to after line validation.} \value{[logical] \code{TRUE} if scrolling occurred} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleGetStyleProperty.Rd0000644000176000001440000000134412362217677017350 0ustar ripleyusers\alias{gtkStyleGetStyleProperty} \name{gtkStyleGetStyleProperty} \title{gtkStyleGetStyleProperty} \description{Queries the value of a style property corresponding to a widget class is in the given style.} \usage{gtkStyleGetStyleProperty(object, widget.type, property.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{widget.type}}{the \code{\link{GType}} of a descendant of \code{\link{GtkWidget}}} \item{\verb{property.name}}{the name of the style property to get} } \details{Since 2.16} \value{ A list containing the following elements: \item{\verb{value}}{a \verb{R object} where the value of the property being queried will be stored} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNewWithLabel.Rd0000644000176000001440000000116712362217677017775 0ustar ripleyusers\alias{gtkRadioMenuItemNewWithLabel} \name{gtkRadioMenuItemNewWithLabel} \title{gtkRadioMenuItemNewWithLabel} \description{Creates a new \code{\link{GtkRadioMenuItem}} whose child is a simple \code{\link{GtkLabel}}.} \usage{gtkRadioMenuItemNewWithLabel(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{. \emph{[ \acronym{element-type} GtkRadioMenuItem][ \acronym{transfer full} ]}} \item{\verb{label}}{the text for the label} } \value{[\code{\link{GtkWidget}}] A new \code{\link{GtkRadioMenuItem}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserMenuNewForManager.Rd0000644000176000001440000000154712362217677021033 0ustar ripleyusers\alias{gtkRecentChooserMenuNewForManager} \name{gtkRecentChooserMenuNewForManager} \title{gtkRecentChooserMenuNewForManager} \description{Creates a new \code{\link{GtkRecentChooserMenu}} widget using \code{manager} as the underlying recently used resources manager.} \usage{gtkRecentChooserMenuNewForManager(manager = NULL, show = TRUE)} \arguments{\item{\verb{manager}}{a \code{\link{GtkRecentManager}}}} \details{This is useful if you have implemented your own recent manager, or if you have a customized instance of a \code{\link{GtkRecentManager}} object or if you wish to share a common \code{\link{GtkRecentManager}} object among multiple \code{\link{GtkRecentChooser}} widgets. Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserMenu}}, bound to \code{manager}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoUserFontFaceSetTextToGlyphsFunc.Rd0000644000176000001440000000154112362217677021504 0ustar ripleyusers\alias{cairoUserFontFaceSetTextToGlyphsFunc} \name{cairoUserFontFaceSetTextToGlyphsFunc} \title{cairoUserFontFaceSetTextToGlyphsFunc} \description{Sets th text-to-glyphs conversion function of a user-font. See \verb{cairo_user_scaled_font_text_to_glyphs_func_t} for details of how the callback works.} \usage{cairoUserFontFaceSetTextToGlyphsFunc(font.face, text.to.glyphs.func)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A user font face} \item{\verb{text.to.glyphs.func}}{[cairo_user_scaled_font_text_to_glyphs_func_t] The text_to_glyphs callback, or \code{NULL}} } \details{The font-face should not be immutable or a \code{CAIRO_STATUS_USER_FONT_IMMUTABLE} error will occur. A user font-face is immutable as soon as a scaled-font is created from it. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetComposited.Rd0000644000176000001440000000260612362217677016756 0ustar ripleyusers\alias{gdkWindowSetComposited} \name{gdkWindowSetComposited} \title{gdkWindowSetComposited} \description{Sets a \code{\link{GdkWindow}} as composited, or unsets it. Composited windows do not automatically have their contents drawn to the screen. Drawing is redirected to an offscreen buffer and an expose event is emitted on the parent of the composited window. It is the responsibility of the parent's expose handler to manually merge the off-screen content onto the screen in whatever way it sees fit. See for an example.} \usage{gdkWindowSetComposited(object, composited)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{composited}}{\code{TRUE} to set the window as composited} } \details{It only makes sense for child windows to be composited; see \code{\link{gdkWindowSetOpacity}} if you need translucent toplevel windows. An additional effect of this call is that the area of this window is no longer clipped from regions marked for invalidation on its parent. Draws done on the parent window are also no longer clipped by the child. This call is only supported on some systems (currently, only X11 with new enough Xcomposite and Xdamage extensions). You must call \code{\link{gdkDisplaySupportsComposite}} to check if setting a window as composited is supported before attempting to do so. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetAttachWidget.Rd0000644000176000001440000000066112362217677016660 0ustar ripleyusers\alias{gtkMenuGetAttachWidget} \name{gtkMenuGetAttachWidget} \title{gtkMenuGetAttachWidget} \description{Returns the \code{\link{GtkWidget}} that the menu is attached to.} \usage{gtkMenuGetAttachWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkWidget}} that the menu is attached to.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetPixelsAboveLines.Rd0000644000176000001440000000102712362217677020410 0ustar ripleyusers\alias{gtkTextViewSetPixelsAboveLines} \name{gtkTextViewSetPixelsAboveLines} \title{gtkTextViewSetPixelsAboveLines} \description{Sets the default number of blank pixels above paragraphs in \code{text.view}. Tags in the buffer for \code{text.view} may override the defaults.} \usage{gtkTextViewSetPixelsAboveLines(object, pixels.above.lines)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{pixels.above.lines}}{pixels above paragraphs} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetMarkupColumn.Rd0000644000176000001440000000123212362217677017553 0ustar ripleyusers\alias{gtkIconViewSetMarkupColumn} \name{gtkIconViewSetMarkupColumn} \title{gtkIconViewSetMarkupColumn} \description{Sets the column with markup information for \code{icon.view} to be \code{column}. The markup column must be of type \verb{G_TYPE_STRING}. If the markup column is set to something, it overrides the text column set by \code{\link{gtkIconViewSetTextColumn}}.} \usage{gtkIconViewSetMarkupColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{column}}{A column in the currently used model, or -1 to display no text} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetIncrements.Rd0000644000176000001440000000112312362217677016555 0ustar ripleyusers\alias{gtkRangeSetIncrements} \name{gtkRangeSetIncrements} \title{gtkRangeSetIncrements} \description{Sets the step and page sizes for the range. The step size is used when the user clicks the \code{\link{GtkScrollbar}} arrows or moves \code{\link{GtkScale}} via arrow keys. The page size is used for example when moving via Page Up or Page Down keys.} \usage{gtkRangeSetIncrements(object, step, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{step}}{step size} \item{\verb{page}}{page size} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkAddressNew.Rd0000644000176000001440000000076212362217677016077 0ustar ripleyusers\alias{gNetworkAddressNew} \name{gNetworkAddressNew} \title{gNetworkAddressNew} \description{Creates a new \code{\link{GSocketConnectable}} for connecting to the given \code{hostname} and \code{port}.} \usage{gNetworkAddressNew(hostname, port)} \arguments{ \item{\verb{hostname}}{the hostname} \item{\verb{port}}{the port} } \details{Since 2.22} \value{[\code{\link{GSocketConnectable}}] the new \code{\link{GNetworkAddress}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorCloseFinish.Rd0000644000176000001440000000262212362217677017533 0ustar ripleyusers\alias{gFileEnumeratorCloseFinish} \name{gFileEnumeratorCloseFinish} \title{gFileEnumeratorCloseFinish} \description{Finishes closing a file enumerator, started from \code{\link{gFileEnumeratorCloseAsync}}.} \usage{gFileEnumeratorCloseFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the file enumerator was already closed when \code{\link{gFileEnumeratorCloseAsync}} was called, then this function will report \code{G_IO_ERROR_CLOSED} in \code{error}, and return \code{FALSE}. If the file enumerator had pending operation when the close operation was started, then this function will report \code{G_IO_ERROR_PENDING}, and return \code{FALSE}. If \code{cancellable} was not \code{NULL}, then the operation may have been cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be set, and \code{FALSE} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the close operation has finished successfully.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketConnectable.Rd0000644000176000001440000000372112362217677016012 0ustar ripleyusers\alias{GSocketConnectable} \alias{GSocketAddressEnumerator} \name{GSocketConnectable} \title{GSocketConnectable} \description{Interface for potential socket endpoints} \section{Methods and Functions}{ \code{\link{gSocketConnectableEnumerate}(object)}\cr \code{\link{gSocketAddressEnumeratorNext}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketAddressEnumeratorNextAsync}(object, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketAddressEnumeratorNextFinish}(object, result, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----GSocketConnectable GObject +----GSocketAddressEnumerator }} \section{Implementations}{GSocketConnectable is implemented by \code{\link{GInetSocketAddress}}, \code{\link{GNetworkAddress}}, \code{\link{GNetworkService}}, \code{\link{GSocketAddress}} and GUnixSocketAddress.} \section{Detailed Description}{Objects that describe one or more potential socket endpoints implement \code{\link{GSocketConnectable}}. Callers can then use \code{\link{gSocketConnectableEnumerate}} to get a \code{\link{GSocketAddressEnumerator}} to try out each socket address in turn until one succeeds, as shown in the sample code below. \preformatted{ connect_to_host <- function(hostname, port, cancellable) { addr <- gNetworkAddress(hostname, port) enumerator <- addr$enumerate() ## Try each sockaddr until we succeed. conn <- NULL while (is.null(conn) && (!is.null(sockaddr <- enumerator$next(cancellable)))) conn <- connect_to_sockaddr(sockaddr$retval) conn } }} \section{Structures}{\describe{ \item{\verb{GSocketConnectable}}{ Interface for objects that contain or generate \code{\link{GSocketAddress}}es. } \item{\verb{GSocketAddressEnumerator}}{ Enumerator type for objects that contain or generate \code{\link{GSocketAddress}}es. } }} \references{\url{http://library.gnome.org/devel//gio/GSocketConnectable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveStop.Rd0000644000176000001440000000163312362217677014403 0ustar ripleyusers\alias{gDriveStop} \name{gDriveStop} \title{gDriveStop} \description{Asynchronously stops a drive.} \usage{gDriveStop(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{flags}}{flags affecting the unmount if required for stopping.} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data to pass to \code{callback}} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDriveStopFinish}} to obtain the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelLabelGetAccelWidth.Rd0000644000176000001440000000104112362217677017353 0ustar ripleyusers\alias{gtkAccelLabelGetAccelWidth} \name{gtkAccelLabelGetAccelWidth} \title{gtkAccelLabelGetAccelWidth} \description{Returns the width needed to display the accelerator key(s). This is used by menus to align all of the \code{\link{GtkMenuItem}} widgets, and shouldn't be needed by applications.} \usage{gtkAccelLabelGetAccelWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelLabel}}.}} \value{[numeric] the width needed to display the accelerator key(s).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkAction.Rd0000644000176000001440000000447312362217677014177 0ustar ripleyusers\alias{AtkAction} \name{AtkAction} \title{AtkAction} \description{The ATK interface provided by UI components which the user can activate/interact with,} \section{Methods and Functions}{ \code{\link{atkActionDoAction}(object, i)}\cr \code{\link{atkActionGetNActions}(object)}\cr \code{\link{atkActionGetDescription}(object, i)}\cr \code{\link{atkActionGetName}(object, i)}\cr \code{\link{atkActionGetLocalizedName}(object, i)}\cr \code{\link{atkActionGetKeybinding}(object, i)}\cr \code{\link{atkActionSetDescription}(object, i, desc)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkAction}} \section{Implementations}{AtkAction is implemented by \code{\link{AtkHyperlink}} and \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkAction}} should be implemented by instances of \code{\link{AtkObject}} classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" providers of UI information. Exceptions: when the user interaction is already covered by another appropriate interface such as \code{\link{AtkEditableText}} (insert/delete test, etc.) or \code{\link{AtkValue}} (set value) then these actions should not be exposed by \code{\link{AtkAction}} as well. Also note that the \code{\link{AtkAction}} API is limited in that parameters may not be passed to the object being activated; thus the action must be self-contained and specifiable via only a single "verb". Concrete examples include "press", "release", "click" for buttons, "drag" (meaning initiate drag) and "drop" for drag sources and drop targets, etc. Though most UI interactions on components should be invocable via keyboard as well as mouse, there will generally be a close mapping between "mouse actions" that are possible on a component and the AtkActions. Where mouse and keyboard actions are redundant in effect, \code{\link{AtkAction}} should expose only one action rather than exposing redundant actions if possible. By convention we have been using "mouse centric" terminology for \code{\link{AtkAction}} names.} \section{Structures}{\describe{\item{\verb{AtkAction}}{ The AtkAction structure does not contain any fields. }}} \references{\url{http://library.gnome.org/devel//atk/AtkAction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketControlMessageSerialize.Rd0000644000176000001440000000112412362217677020425 0ustar ripleyusers\alias{gSocketControlMessageSerialize} \name{gSocketControlMessageSerialize} \title{gSocketControlMessageSerialize} \description{Converts the data in the message to bytes placed in the message.} \usage{gSocketControlMessageSerialize(object, data)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketControlMessage}}} \item{\verb{data}}{A buffer to write data to} } \details{\code{data} is guaranteed to have enough space to fit the size returned by \code{\link{gSocketControlMessageGetSize}} on this object. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagGetPriority.Rd0000644000176000001440000000051512362217677016603 0ustar ripleyusers\alias{gtkTextTagGetPriority} \name{gtkTextTagGetPriority} \title{gtkTextTagGetPriority} \description{Get the tag priority.} \usage{gtkTextTagGetPriority(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextTag}}}} \value{[integer] The tag's priority.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarGetDetailWidthChars.Rd0000644000176000001440000000073312362217677020300 0ustar ripleyusers\alias{gtkCalendarGetDetailWidthChars} \name{gtkCalendarGetDetailWidthChars} \title{gtkCalendarGetDetailWidthChars} \description{Queries the width of detail cells, in characters. See \verb{"detail-width-chars"}.} \usage{gtkCalendarGetDetailWidthChars(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}.}} \details{Since 2.14} \value{[integer] The width of detail cells, in characters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumerateChildrenFinish.Rd0000644000176000001440000000136012362217677020020 0ustar ripleyusers\alias{gFileEnumerateChildrenFinish} \name{gFileEnumerateChildrenFinish} \title{gFileEnumerateChildrenFinish} \description{Finishes an async enumerate children operation. See \code{\link{gFileEnumerateChildrenAsync}}.} \usage{gFileEnumerateChildrenFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileEnumerator}}] a \code{\link{GFileEnumerator}} or \code{NULL} if an error occurred.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInvisibleNew.Rd0000644000176000001440000000045712362217677015424 0ustar ripleyusers\alias{gtkInvisibleNew} \name{gtkInvisibleNew} \title{gtkInvisibleNew} \description{Creates a new \code{\link{GtkInvisible}}.} \usage{gtkInvisibleNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkInvisible}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryPopupData.Rd0000644000176000001440000000125712362217677017071 0ustar ripleyusers\alias{gtkItemFactoryPopupData} \name{gtkItemFactoryPopupData} \title{gtkItemFactoryPopupData} \description{ Obtains the \code{popup.data} which was passed to \code{\link{gtkItemFactoryPopupWithData}}. This data is available until the menu is popped down again. \strong{WARNING: \code{gtk_item_factory_popup_data} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryPopupData(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkItemFactory}}}} \value{[R object] \code{popup.data} associated with \code{ifactory}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveSetRange.Rd0000644000176000001440000000134312362217677015536 0ustar ripleyusers\alias{gtkCurveSetRange} \name{gtkCurveSetRange} \title{gtkCurveSetRange} \description{ Sets the minimum and maximum x and y values of the curve. The curve is also reset with a call to \code{\link{gtkCurveReset}}. \strong{WARNING: \code{gtk_curve_set_range} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveSetRange(object, min.x, max.x, min.y, max.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCurve}}.} \item{\verb{min.x}}{the minimum x value.} \item{\verb{max.x}}{the maximum x value.} \item{\verb{min.y}}{the minimum y value.} \item{\verb{max.y}}{the maximum y value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeModel.Rd0000644000176000001440000003421112362217677014641 0ustar ripleyusers\alias{GtkTreeModel} \alias{GtkTreeIter} \alias{GtkTreePath} \alias{GtkTreeRowReference} \alias{GtkTreeModelForeachFunc} \alias{GtkTreeModelFlags} \name{GtkTreeModel} \title{GtkTreeModel} \description{The tree interface used by GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkTreePathNew}()}\cr \code{\link{gtkTreePathNewFromString}(path)}\cr \code{\link{gtkTreePathNewFromIndices}(...)}\cr \code{\link{gtkTreePathToString}(object)}\cr \code{\link{gtkTreePathNewFirst}()}\cr \code{\link{gtkTreePathAppendIndex}(object, index)}\cr \code{\link{gtkTreePathPrependIndex}(object, index)}\cr \code{\link{gtkTreePathGetDepth}(object)}\cr \code{\link{gtkTreePathGetIndices}(object)}\cr \code{\link{gtkTreePathCopy}(object)}\cr \code{\link{gtkTreePathCompare}(object, b)}\cr \code{\link{gtkTreePathNext}(object)}\cr \code{\link{gtkTreePathPrev}(object)}\cr \code{\link{gtkTreePathUp}(object)}\cr \code{\link{gtkTreePathDown}(object)}\cr \code{\link{gtkTreePathIsAncestor}(object, descendant)}\cr \code{\link{gtkTreePathIsDescendant}(object, ancestor)}\cr \code{\link{gtkTreeRowReferenceNew}(model, path)}\cr \code{\link{gtkTreeRowReferenceNewProxy}(proxy, model, path)}\cr \code{\link{gtkTreeRowReferenceGetModel}(object)}\cr \code{\link{gtkTreeRowReferenceGetPath}(object)}\cr \code{\link{gtkTreeRowReferenceValid}(object)}\cr \code{\link{gtkTreeRowReferenceCopy}(object)}\cr \code{\link{gtkTreeRowReferenceInserted}(proxy, path)}\cr \code{\link{gtkTreeRowReferenceDeleted}(proxy, path)}\cr \code{\link{gtkTreeRowReferenceReordered}(proxy, path, iter, new.order)}\cr \code{\link{gtkTreeIterCopy}(object)}\cr \code{\link{gtkTreeModelGetFlags}(object)}\cr \code{\link{gtkTreeModelGetNColumns}(object)}\cr \code{\link{gtkTreeModelGetColumnType}(object, index)}\cr \code{\link{gtkTreeModelGetIter}(object, path)}\cr \code{\link{gtkTreeModelGetIterFromString}(object, path.string)}\cr \code{\link{gtkTreeModelGetIterFirst}(object)}\cr \code{\link{gtkTreeModelGetPath}(object, iter)}\cr \code{\link{gtkTreeModelGetValue}(object, iter, column)}\cr \code{\link{gtkTreeModelIterNext}(object, iter)}\cr \code{\link{gtkTreeModelIterChildren}(object, parent = NULL)}\cr \code{\link{gtkTreeModelIterHasChild}(object, iter)}\cr \code{\link{gtkTreeModelIterNChildren}(object, iter = NULL)}\cr \code{\link{gtkTreeModelIterNthChild}(object, parent = NULL, n)}\cr \code{\link{gtkTreeModelIterParent}(object, child)}\cr \code{\link{gtkTreeModelGetStringFromIter}(object, iter)}\cr \code{\link{gtkTreeModelRefNode}(object, iter)}\cr \code{\link{gtkTreeModelUnrefNode}(object, iter)}\cr \code{\link{gtkTreeModelGet}(object, iter, ...)}\cr \code{\link{gtkTreeModelForeach}(object, func, user.data = NULL)}\cr \code{\link{gtkTreeModelRowChanged}(object, path, iter)}\cr \code{\link{gtkTreeModelRowInserted}(object, path, iter)}\cr \code{\link{gtkTreeModelRowHasChildToggled}(object, path, iter)}\cr \code{\link{gtkTreeModelRowDeleted}(object, path)}\cr \code{\link{gtkTreeModelRowsReordered}(object, path, iter, new.order)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----GtkTreeModel GBoxed +----GtkTreeIter GBoxed +----GtkTreePath }} \section{Implementations}{GtkTreeModel is implemented by \code{\link{GtkListStore}}, \code{\link{GtkTreeModelFilter}}, \code{\link{GtkTreeModelSort}} and \code{\link{GtkTreeStore}}.} \section{Interface Derivations}{GtkTreeModel is required by \code{\link{GtkTreeSortable}}.} \section{Detailed Description}{The \code{\link{GtkTreeModel}} interface defines a generic tree interface for use by the \code{\link{GtkTreeView}} widget. It is an abstract interface, and is designed to be usable with any appropriate data structure. The programmer just has to implement this interface on their own data type for it to be viewable by a \code{\link{GtkTreeView}} widget. The model is represented as a hierarchical tree of strongly-typed, columned data. In other words, the model can be seen as a tree where every node has different values depending on which column is being queried. The type of data found in a column is determined by using the GType system (ie. \verb{G_TYPE_INT}, \verb{GTK_TYPE_BUTTON}, \verb{G_TYPE_POINTER}, etc.). The types are homogeneous per column across all nodes. It is important to note that this interface only provides a way of examining a model and observing changes. The implementation of each individual model decides how and if changes are made. In order to make life simpler for programmers who do not need to write their own specialized model, two generic models are provided -- the \code{\link{GtkTreeStore}} and the \code{\link{GtkListStore}}. To use these, the developer simply pushes data into these models as necessary. These models provide the data structure as well as all appropriate tree interfaces. As a result, implementing drag and drop, sorting, and storing data is trivial. For the vast majority of trees and lists, these two models are sufficient. Models are accessed on a node/column level of granularity. One can query for the value of a model at a certain node and a certain column on that node. There are two structures used to reference a particular node in a model. They are the \code{\link{GtkTreePath}} and the \code{\link{GtkTreeIter}} \strong{PLEASE NOTE:} Here, \emph{iter} is short for \dQuote{iterator} Most of the interface consists of operations on a \code{\link{GtkTreeIter}}. A path is essentially a potential node. It is a location on a model that may or may not actually correspond to a node on a specific model. The \code{\link{GtkTreePath}} struct can be converted into either a list of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path \dQuote{0} refers to the root node and the path \dQuote{2:4} refers to the fifth child of the third node. By contrast, a \code{\link{GtkTreeIter}} is a reference to a specific node on a specific model. It is a generic struct with an integer and three generic pointers. These are filled in by the model in a model-specific way. One can convert a path to an iterator by calling \code{\link{gtkTreeModelGetIter}}. These iterators are the primary way of accessing a model and are similar to the iterators used by \code{\link{GtkTextBuffer}}. They are generally statically allocated on the stack and only used for a short time. The model interface defines a set of operations using them for navigating the model. It is expected that models fill in the iterator with private data. For example, the \code{\link{GtkListStore}} model, which is internally a simple linked list, stores a list node in one of the pointers. The \code{\link{GtkTreeModelSort}} stores a list and an offset in two of the pointers. Additionally, there is an integer field. This field is generally filled with a unique stamp per model. This stamp is for catching errors resulting from using invalid iterators with a model. The lifecycle of an iterator can be a little confusing at first. Iterators are expected to always be valid for as long as the model is unchanged (and doesn't emit a signal). The model is considered to own all outstanding iterators and nothing needs to be done to free them from the user's point of view. Additionally, some models guarantee that an iterator is valid for as long as the node it refers to is valid (most notably the \code{\link{GtkTreeStore}} and \code{\link{GtkListStore}}). Although generally uninteresting, as one always has to allow for the case where iterators do not persist beyond a signal, some very important performance enhancements were made in the sort model. As a result, the \verb{GTK_TREE_MODEL_ITERS_PERSIST} flag was added to indicate this behavior. To help show some common operation of a model, some examples are provided. The first example shows three ways of getting the iter at the location \dQuote{3:2:5}. While the first method shown is easier, the second is much more common, as you often get paths from callbacks. \emph{Acquiring a \code{GtkTreeIter}} \preformatted{ ## Acquiring a GtkTreeIter ## Three ways of getting the iter pointing to the location ## get the iterator from a string model$getIterFromString("3:2:5")$iter ## get the iterator from a path path <- gtkTreePathNewFromString("3:2:5") model$getIter(path)$iter ## walk the tree to find the iterator parent_iter <- model$iterNthChild(NULL, 3)$iter parent_iter <- model$iterNthChild(parent_iter, 2)$iter model$iterNthChild(parent_iter, 5)$iter } This second example shows a quick way of iterating through a list and getting a string and an integer from each row. The \code{populateModel} function used below is not shown, as it is specific to the \code{\link{GtkListStore}}. For information on how to write such a function, see the \code{\link{GtkListStore}} documentation. \emph{Reading data from a \code{GtkTreeModel}} \preformatted{ ## Reading data from a GtkTreeModel ## make a new list_store list_store <- gtkListStore("character", "integer") ## Fill the list store with data populate_model(list_store) ## Get the first iter in the list result <- list_store$getIterFirst() row_count <- 1 while(result[[1]]) { ## Walk through the list, reading each row data <- list_store$get(result$iter, 0, 1) ## Do something with the data print(paste("Row ", row_count, ": (", data[[1]], ",", data[[2]], ")", sep="")) row_count <- row_count + 1 result <- list_store$iterNext() } }} \section{Structures}{\describe{ \item{\verb{GtkTreeModel}}{ \emph{undocumented } } \item{\verb{GtkTreeIter}}{ The \code{GtkTreeIter} is the primary structure for accessing a structure. Models are expected to put a unique integer in the \code{stamp} member, and put model-specific data in the three \code{user_data} members. } \item{\verb{GtkTreePath}}{ \emph{undocumented } } \item{\verb{GtkTreeRowReference}}{ \emph{undocumented } } }} \section{Enums and Flags}{\describe{\item{\verb{GtkTreeModelFlags}}{ These flags indicate various properties of a \code{\link{GtkTreeModel}}. They are returned by \code{\link{gtkTreeModelGetFlags}}, and must be static for the lifetime of the object. A more complete description of \verb{GTK_TREE_MODEL_ITERS_PERSIST} can be found in the overview of this section. \describe{ \item{\verb{iters-persist}}{Iterators survive all signals emitted by the tree.} \item{\verb{list-only}}{The model is a list only, and never has children} } }}} \section{User Functions}{\describe{\item{\code{GtkTreeModelForeachFunc(model, path, iter, data)}}{ \emph{undocumented } \describe{ \item{\code{model}}{The \code{\link{GtkTreeModel}} currently being iterated} \item{\code{path}}{The current \code{\link{GtkTreePath}}} \item{\code{iter}}{The current \code{\link{GtkTreeIter}}} \item{\code{data}}{The user data passed to \code{\link{gtkTreeModelForeach}}} } \emph{Returns:} [logical] \code{TRUE} to stop iterating, \code{FALSE} to continue. }}} \section{Signals}{\describe{ \item{\code{row-changed(tree.model, path, iter, user.data)}}{ This signal is emitted when a row in the model has changed. \describe{ \item{\code{tree.model}}{the \code{\link{GtkTreeModel}} on which the signal is emitted} \item{\code{path}}{a \code{\link{GtkTreePath}} identifying the changed row} \item{\code{iter}}{a valid \code{\link{GtkTreeIter}} pointing to the changed row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-deleted(tree.model, path, user.data)}}{ This signal is emitted when a row has been deleted. Note that no iterator is passed to the signal handler, since the row is already deleted. Implementations of GtkTreeModel must emit row-deleted \emph{before} removing the node from its internal data structures. This is because models and views which access and monitor this model might have references on the node which need to be released in the row-deleted handler. \describe{ \item{\code{tree.model}}{the \code{\link{GtkTreeModel}} on which the signal is emitted} \item{\code{path}}{a \code{\link{GtkTreePath}} identifying the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-has-child-toggled(tree.model, path, iter, user.data)}}{ This signal is emitted when a row has gotten the first child row or lost its last child row. \describe{ \item{\code{tree.model}}{the \code{\link{GtkTreeModel}} on which the signal is emitted} \item{\code{path}}{a \code{\link{GtkTreePath}} identifying the row} \item{\code{iter}}{a valid \code{\link{GtkTreeIter}} pointing to the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-inserted(tree.model, path, iter, user.data)}}{ This signal is emitted when a new row has been inserted in the model. Note that the row may still be empty at this point, since it is a common pattern to first insert an empty row, and then fill it with the desired values. \describe{ \item{\code{tree.model}}{the \code{\link{GtkTreeModel}} on which the signal is emitted} \item{\code{path}}{a \code{\link{GtkTreePath}} identifying the new row} \item{\code{iter}}{a valid \code{\link{GtkTreeIter}} pointing to the new row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{rows-reordered(tree.model, path, iter, new.order, user.data)}}{ This signal is emitted when the children of a node in the \code{\link{GtkTreeModel}} have been reordered. Note that this signal is \emph{not} emitted when rows are reordered by DND, since this is implemented by removing and then reinserting the row. \describe{ \item{\code{tree.model}}{the \code{\link{GtkTreeModel}} on which the signal is emitted} \item{\code{path}}{a \code{\link{GtkTreePath}} identifying the tree node whose children have been reordered} \item{\code{iter}}{a valid \code{\link{GtkTreeIter}} pointing to the node whose} \item{\code{new.order}}{a list of integers mapping the current position of each child to its old position before the re-ordering, i.e. \code{new.order}\code{[newpos] = oldpos}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeModel.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeView}} \code{\link{GtkTreeStore}} \code{\link{GtkListStore}} \code{\link{GtkTreeSortable}} } \keyword{internal} RGtk2/man/gtkFileFilterAddPixbufFormats.Rd0000644000176000001440000000062012362217677020166 0ustar ripleyusers\alias{gtkFileFilterAddPixbufFormats} \name{gtkFileFilterAddPixbufFormats} \title{gtkFileFilterAddPixbufFormats} \description{Adds a rule allowing image files in the formats supported by GdkPixbuf.} \usage{gtkFileFilterAddPixbufFormats(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileFilter}}}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAddCallback.Rd0000644000176000001440000001176311766145227015133 0ustar ripleyusers\name{gtkAddCallback} \alias{gtkAddCallback} \alias{gtkObjectAddCallback} \alias{gtkObjectBlockCallback} \alias{gtkObjectUnblockCallback} \alias{gtkObjectDisconnectCallback} \alias{gtkObjectRemoveCallback} \title{Register and control a function as Gtk event handler} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions allow one to register an R expression, call or more typically a function as a callback for a Gtk event, and also control the activity status of that callback. \code{gtkObjectAddCallback} registers the S expression, call or function as a callback or event handler for the specific event type with the widget of interest. When the event occurs for this widget, the S "expression" will be invoked. The block and unblock functions allow one to temporarily suspend and re-enable a callback. When suspended, any calls to the function that would normally occur are not invoked. \code{gtkObjectRemoveCallback} allows one to unregister a callback using the identifier obtained when call \code{gtkObjectAddCallback}. \code{gtkObjectDisconnectCallback} un-registers a callback. } \usage{ gtkObjectAddCallback(w, signal, f, data = NULL, object = TRUE, after = TRUE) gtkAddCallback(w, signal, f, data = NULL, object = TRUE, after = TRUE) gtkObjectBlockCallback(obj, id) gtkObjectUnblockCallback(obj, id) gtkObjectDisconnectCallback(obj, id) } \arguments{ \item{w}{the Gtk object whose events for this signal type are to be monitored and reported to us via a call to the function \code{f}.} \item{signal}{a string (character vector of length 1) giving the name of the signal type. See the Gtk documentation for the particular widget.} \item{obj}{the Gtk object for which we want to block/unblock or disconnect the callback.} \item{f}{the S expression, call or function which is to be invoked when an event occurs. If this is a call or expression, it is simply evaluated and no additional variables (i.e. the Gtk object for which the signal was emitted, etc.) are made available to it. If the callback is a function, it will be called with a single argument which is an external pointer to the C-level event object that describes the event.} \item{data}{a value that is passed to the function \code{f} when the callback is invoked. This can be use to parameterize a callback function so that it behaves differently. This is passed as the first argument to the function if \code{object} is \code{TRUE} or as the final argument if \code{object} is \code{FALSE}. If \code{f} is an expression or a call, \code{data} can be an environment. In this case, \code{f} is evaluated within this environment. This allows the code registering the callback to control the scope of the evaluation. } \item{object}{ a logical value indicating whether we want the value given in the \code{data} argument to be the first argument to the callback function and the Gtk object for which the event occurs to be the last argument, or vice-versa. This is sometimes convenient and is the difference between a call to \code{gtk_signal_connect} and \code{gtk_signal_connect_object} at the Gtk interface level. This argument is only meaningful if \code{data} is not missing as no data argument is passed to the callback if it is not supplied. } \item{after}{a logical value indicating whether to invoke this user-defined handler after the signal, or to let the signal's default behavior preside (i.e. depending on GTK\_RUN\_FIRST and GTK\_RUN\_LAST). This influences which signal gets to return a value to the event source which can be useful. If the return value is \code{void}, this rarely matters and one can accept the default. } \item{id}{} } \details{ The S function is invoked by a generic C-level event handler that makes the call to the S function. That function is stored in user-level data for the widget. The call provides one argument which is a reference to the C event instance. } \value{ \code{gtkObjectAddCallback} returns an object of class \code{CallbackID} that provides a unique identifier for the Gtk-level handler. This is an integer value whose name attribute gives the name of the signal. This object can be used to suspend (block), remove (disconnect) and reactivate (unblock) a callback. The other functions return a logical value indicating if they were succesful or else result in an error. } \references{ \url{http://www.gtk.org} \url{http://www.omegahat.org/RGtk} } \author{Duncan Temple Lang} \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) This is an extra-ordinarily early release intended to encourage others to contribute code, etc.} \seealso{ \code{\link{gtkButton}} } \examples{ if (gtkInit()) { w <- gtkWindow(show = FALSE) b <- gtkButton("Hit me") w$add(b) w$show() gtkAddCallback(b, "clicked", function(w) { help.start(); TRUE }) } } \keyword{interface} \keyword{internal} RGtk2/man/gtkMenuGetReserveToggleSize.Rd0000644000176000001440000000073012362217677017715 0ustar ripleyusers\alias{gtkMenuGetReserveToggleSize} \name{gtkMenuGetReserveToggleSize} \title{gtkMenuGetReserveToggleSize} \description{Returns whether the menu reserves space for toggles and icons, regardless of their actual presence.} \usage{gtkMenuGetReserveToggleSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}}} \details{Since 2.18} \value{[logical] Whether the menu reserves toggle space} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetBasename.Rd0000644000176000001440000000200412362217677015430 0ustar ripleyusers\alias{gFileGetBasename} \name{gFileGetBasename} \title{gFileGetBasename} \description{Gets the base name (the last component of the path) for a given \code{\link{GFile}}.} \usage{gFileGetBasename(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{If called for the top level of a system (such as the filesystem root or a uri like sftp://host/) it will return a single directory separator (and on Windows, possibly a drive letter). The base name is a byte string (*not* UTF-8). It has no defined encoding or rules other than it may not contain zero bytes. If you want to use filenames in a user interface you should use the display name that you can get by requesting the \code{G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME} attribute with \code{\link{gFileQueryInfo}}. This call does no blocking i/o.} \value{[char] string containing the \code{\link{GFile}}'s base name, or \code{NULL} if given \code{\link{GFile}} is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetFilename.Rd0000644000176000001440000000371611766145227017344 0ustar ripleyusers\alias{gtkFileChooserSetFilename} \name{gtkFileChooserSetFilename} \title{gtkFileChooserSetFilename} \description{Sets \code{filename} as the current filename for the file chooser, by changing to the file's parent folder and actually selecting the file in list. If the \code{chooser} is in \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode, the file's base name will also appear in the dialog's file name entry.} \usage{gtkFileChooserSetFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filename}}{the filename to set as current} } \details{If the file name isn't in the current folder of \code{chooser}, then the current folder of \code{chooser} will be changed to the folder containing \code{filename}. This is equivalent to a sequence of \code{\link{gtkFileChooserUnselectAll}} followed by \code{\link{gtkFileChooserSelectFilename}}. Note that the file must exist, or nothing will be done except for the directory change. If you are implementing a \emph{File/Save As...} dialog, you should use this function if you already have a file name to which the user may save; for example, when the user opens an existing file and then does \emph{File/Save As...} on it. If you don't have a file name already -- for example, if the user just created a new file and is saving it for the first time, do not call this function. Instead, use something similar to this: \preformatted{if (document_is_new) { /* the user just created a new document */ gtk_file_chooser_set_current_folder (chooser, default_folder_for_saving); gtk_file_chooser_set_current_name (chooser, "Untitled document"); } else { /* the user edited an existing document */ gtk_file_chooser_set_filename (chooser, existing_filename); } } Since 2.4} \value{[logical] \code{TRUE} if both the folder could be changed and the file was selected successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInitRotate.Rd0000644000176000001440000000133412362217677016600 0ustar ripleyusers\alias{cairoMatrixInitRotate} \name{cairoMatrixInitRotate} \title{cairoMatrixInitRotate} \description{Initialized \code{matrix} to a transformation that rotates by \code{radians}.} \usage{cairoMatrixInitRotate(radians)} \arguments{\item{\verb{radians}}{[numeric] angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.}} \value{ A list containing the following elements: \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsIsActive.Rd0000644000176000001440000000055212362217677014651 0ustar ripleyusers\alias{gVfsIsActive} \name{gVfsIsActive} \title{gVfsIsActive} \description{Checks if the VFS is active.} \usage{gVfsIsActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GVfs}}.}} \value{[logical] \code{TRUE} if construction of the \code{vfs} was successful and it is now active.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressGetTextFromValue.Rd0000644000176000001440000000131112362217677017746 0ustar ripleyusers\alias{gtkProgressGetTextFromValue} \name{gtkProgressGetTextFromValue} \title{gtkProgressGetTextFromValue} \description{ Returns the text indicating the progress based on the supplied value. The current value for the \code{\link{GtkProgress}} remains unchanged. \strong{WARNING: \code{gtk_progress_get_text_from_value} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressGetTextFromValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{value}}{an absolute progress value to use when formatting the progress text.} } \value{[character] a string indicating the progress.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSeparatorMenuItemNew.Rd0000644000176000001440000000053712362217677017103 0ustar ripleyusers\alias{gtkSeparatorMenuItemNew} \name{gtkSeparatorMenuItemNew} \title{gtkSeparatorMenuItemNew} \description{Creates a new \code{\link{GtkSeparatorMenuItem}}.} \usage{gtkSeparatorMenuItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkSeparatorMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetFill.Rd0000644000176000001440000000050212362217677014551 0ustar ripleyusers\alias{gdkGCSetFill} \name{gdkGCSetFill} \title{gdkGCSetFill} \description{Set the fill mode for a graphics context.} \usage{gdkGCSetFill(object, fill)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{fill}}{the new fill mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowClearAreaE.Rd0000644000176000001440000000125312362217677016115 0ustar ripleyusers\alias{gdkWindowClearAreaE} \name{gdkWindowClearAreaE} \title{gdkWindowClearAreaE} \description{Like \code{\link{gdkWindowClearArea}}, but also generates an expose event for the cleared area.} \usage{gdkWindowClearAreaE(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{x coordinate of rectangle to clear} \item{\verb{y}}{y coordinate of rectangle to clear} \item{\verb{width}}{width of rectangle to clear} \item{\verb{height}}{height of rectangle to clear} } \details{This function has a stupid name because it dates back to the mists time, pre-GDK-1.0.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetLabel.Rd0000644000176000001440000000073512362217677016207 0ustar ripleyusers\alias{gtkExpanderSetLabel} \name{gtkExpanderSetLabel} \title{gtkExpanderSetLabel} \description{Sets the text of the label of the expander to \code{label}.} \usage{gtkExpanderSetLabel(object, label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{label}}{a string. \emph{[ \acronym{allow-none} ]}} } \details{This will also clear any previously set labels. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetSourceRgba.Rd0000644000176000001440000000170612362217677016044 0ustar ripleyusers\alias{cairoSetSourceRgba} \name{cairoSetSourceRgba} \title{cairoSetSourceRgba} \description{Sets the source pattern within \code{cr} to a translucent color. This color will then be used for any subsequent drawing operation until a new source pattern is set.} \usage{cairoSetSourceRgba(cr, red, green, blue, alpha)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{red}}{[numeric] red component of color} \item{\verb{green}}{[numeric] green component of color} \item{\verb{blue}}{[numeric] blue component of color} \item{\verb{alpha}}{[numeric] alpha component of color} } \details{The color and alpha components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped. The default source pattern is opaque black, (that is, it is equivalent to cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, 1.0)). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetIconList.Rd0000644000176000001440000000144712362217677016376 0ustar ripleyusers\alias{gdkWindowSetIconList} \name{gdkWindowSetIconList} \title{gdkWindowSetIconList} \description{Sets a list of icons for the window. One of these will be used to represent the window when it has been iconified. The icon is usually shown in an icon box or some sort of task bar. Which icon size is shown depends on the window manager. The window manager can scale the icon but setting several size icons can give better image quality since the window manager may only need to scale the icon by a small amount or not at all.} \usage{gdkWindowSetIconList(object, pixbufs)} \arguments{ \item{\verb{object}}{The \code{\link{GdkWindow}} toplevel window to set the icon of.} \item{\verb{pixbufs}}{A list of pixbufs, of different sizes.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFamilyList.Rd0000644000176000001440000000101712362217677020231 0ustar ripleyusers\alias{gtkFontSelectionGetFamilyList} \name{gtkFontSelectionGetFamilyList} \title{gtkFontSelectionGetFamilyList} \description{This returns the \code{\link{GtkTreeView}} that lists font families, for example, 'Sans', 'Serif', etc.} \usage{gtkFontSelectionGetFamilyList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A \code{\link{GtkWidget}} that is part of \code{fontsel}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetLineYrange.Rd0000644000176000001440000000140312362217677017213 0ustar ripleyusers\alias{gtkTextViewGetLineYrange} \name{gtkTextViewGetLineYrange} \title{gtkTextViewGetLineYrange} \description{Gets the y coordinate of the top of the line containing \code{iter}, and the height of the line. The coordinate is a buffer coordinate; convert to window coordinates with \code{\link{gtkTextViewBufferToWindowCoords}}.} \usage{gtkTextViewGetLineYrange(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{ A list containing the following elements: \item{\verb{y}}{return location for a y coordinate. \emph{[ \acronym{out} ]}} \item{\verb{height}}{return location for a height. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketNewFromFd.Rd0000644000176000001440000000160412362217677015462 0ustar ripleyusers\alias{gSocketNewFromFd} \name{gSocketNewFromFd} \title{gSocketNewFromFd} \description{Creates a new \code{\link{GSocket}} from a native file descriptor or winsock SOCKET handle.} \usage{gSocketNewFromFd(fd, .errwarn = TRUE)} \arguments{ \item{\verb{fd}}{a native socket file descriptor.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This reads all the settings from the file descriptor so that all properties should work. Note that the file descriptor will be set to non-blocking mode, independent on the blocking mode of the \code{\link{GSocket}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocket}}] a \code{\link{GSocket}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagSetPriority.Rd0000644000176000001440000000200012362217677016606 0ustar ripleyusers\alias{gtkTextTagSetPriority} \name{gtkTextTagSetPriority} \title{gtkTextTagSetPriority} \description{Sets the priority of a \code{\link{GtkTextTag}}. Valid priorities are start at 0 and go to one less than \code{\link{gtkTextTagTableGetSize}}. Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags "win" if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with \code{\link{gtkTextBufferCreateTag}}, which adds the tag to the buffer's table automatically.} \usage{gtkTextTagSetPriority(object, priority)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTag}}} \item{\verb{priority}}{the new priority} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentGetAttributes.Rd0000644000176000001440000000121012362217677017271 0ustar ripleyusers\alias{atkDocumentGetAttributes} \name{atkDocumentGetAttributes} \title{atkDocumentGetAttributes} \description{Gets an AtkAttributeSet which describes document-wide attributes as name-value pairs.} \usage{atkDocumentGetAttributes(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface}} \details{ Since 1.12} \value{[\code{\link{AtkAttributeSet}}] An AtkAttributeSet containing the explicitly set name-value-pair attributes associated with this document as a whole.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Version-Checking.Rd0000644000176000001440000000140612362217677016553 0ustar ripleyusers\alias{pango-Version-Checking} \name{pango-Version-Checking} \title{Version Checking} \description{Tools for checking Pango version at compile- and run-time.} \section{Methods and Functions}{ \code{\link{pangoVersion}()}\cr \code{\link{pangoVersionString}()}\cr \code{\link{pangoVersionCheck}(required.major, required.minor, required.micro)}\cr } \section{Detailed Description}{The capital-letter functions defined here can be used to check the version of Pango at compile-time, and to \dfn{encode} Pango versions into integers. The functions can be used to check the version of the linked Pango library at run-time.} \references{\url{http://library.gnome.org/devel//pango/pango-Version-Checking.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetCurrentPage.Rd0000644000176000001440000000077512362217677017602 0ustar ripleyusers\alias{gtkAssistantGetCurrentPage} \name{gtkAssistantGetCurrentPage} \title{gtkAssistantGetCurrentPage} \description{Returns the page number of the current page} \usage{gtkAssistantGetCurrentPage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAssistant}}}} \details{Since 2.10} \value{[integer] The index (starting from 0) of the current page in the \code{assistant}, if the \code{assistant} has no pages, -1 will be returned} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleAttach.Rd0000644000176000001440000000173012362217677015246 0ustar ripleyusers\alias{gtkStyleAttach} \name{gtkStyleAttach} \title{gtkStyleAttach} \description{Attaches a style to a window; this process allocates the colors and creates the GC's for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap.} \usage{gtkStyleAttach(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}.} \item{\verb{window}}{a \code{\link{GdkWindow}}.} } \details{Since this function may return a new object, you have to use it in the following way: \code{style = gtk_style_attach (style, window)}} \value{[\code{\link{GtkStyle}}] Either \code{style}, or a newly-created \code{\link{GtkStyle}}. If the style is newly created, the style parameter will be unref'ed, and the new style will have a reference count belonging to the caller.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedOutputStreamNewSized.Rd0000644000176000001440000000103412362217677020247 0ustar ripleyusers\alias{gBufferedOutputStreamNewSized} \name{gBufferedOutputStreamNewSized} \title{gBufferedOutputStreamNewSized} \description{Creates a new buffered output stream with a given buffer size.} \usage{gBufferedOutputStreamNewSized(base.stream, size)} \arguments{ \item{\verb{base.stream}}{a \code{\link{GOutputStream}}.} \item{\verb{size}}{a \verb{numeric}.} } \value{[\code{\link{GOutputStream}}] a \code{\link{GOutputStream}} with an internal buffer set to \code{size}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserUnselectUri.Rd0000644000176000001440000000101012362217677017375 0ustar ripleyusers\alias{gtkFileChooserUnselectUri} \name{gtkFileChooserUnselectUri} \title{gtkFileChooserUnselectUri} \description{Unselects the file referred to by \code{uri}. If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing.} \usage{gtkFileChooserUnselectUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{the URI to unselect} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRegistryGetFactoryType.Rd0000644000176000001440000000123712362217677017457 0ustar ripleyusers\alias{atkRegistryGetFactoryType} \name{atkRegistryGetFactoryType} \title{atkRegistryGetFactoryType} \description{Provides a \code{\link{GType}} indicating the \code{\link{AtkObjectFactory}} subclass associated with \code{type}.} \usage{atkRegistryGetFactoryType(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRegistry}}] an \code{\link{AtkRegistry}}} \item{\verb{type}}{[\code{\link{GType}}] a \code{\link{GType}} with which to look up the associated \code{\link{AtkObjectFactory}} subclass} } \value{[\code{\link{GType}}] a \code{\link{GType}} associated with type \code{type}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeInfoListNew.Rd0000644000176000001440000000053512362217677017351 0ustar ripleyusers\alias{gFileAttributeInfoListNew} \name{gFileAttributeInfoListNew} \title{gFileAttributeInfoListNew} \description{Creates a new file attribute info list.} \usage{gFileAttributeInfoListNew()} \value{[\code{\link{GFileAttributeInfoList}}] a \code{\link{GFileAttributeInfoList}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortConvertChildIterToIter.Rd0000644000176000001440000000171312362217677022032 0ustar ripleyusers\alias{gtkTreeModelSortConvertChildIterToIter} \name{gtkTreeModelSortConvertChildIterToIter} \title{gtkTreeModelSortConvertChildIterToIter} \description{Sets \code{sort.iter} to point to the row in \code{tree.model.sort} that corresponds to the row pointed at by \code{child.iter}. If \code{sort.iter} was not set, \code{FALSE} is returned. Note: a boolean is only returned since 2.14.} \usage{gtkTreeModelSortConvertChildIterToIter(object, child.iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelSort}}} \item{\verb{child.iter}}{A valid \code{\link{GtkTreeIter}} pointing to a row on the child model} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{sort.iter} was set, i.e. if \code{sort.iter} is a valid iterator pointer to a visible row in the child model.} \item{\verb{sort.iter}}{An uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupRemoveAction.Rd0000644000176000001440000000061112362217677017564 0ustar ripleyusers\alias{gtkActionGroupRemoveAction} \name{gtkActionGroupRemoveAction} \title{gtkActionGroupRemoveAction} \description{Removes an action object from the action group.} \usage{gtkActionGroupRemoveAction(object, action)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{action}}{an action} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-File-saving.Rd0000644000176000001440000000426512362217677016523 0ustar ripleyusers\alias{gdk-pixbuf-File-saving} \alias{GdkPixbufSaveFunc} \name{gdk-pixbuf-File-saving} \title{File saving} \description{Saving a pixbuf to a file.} \section{Methods and Functions}{ \code{\link{gdkPixbufSavev}(object, filename, type, option.keys, option.values, .errwarn = TRUE)}\cr \code{\link{gdkPixbufSave}(object, filename, type, ..., .errwarn = TRUE)}\cr \code{\link{gdkPixbufSaveToCallback}(object, save.func, user.data, type, ..., .errwarn = TRUE)}\cr \code{\link{gdkPixbufSaveToCallbackv}(object, save.func, user.data, type, option.keys, option.values, .errwarn = TRUE)}\cr \code{\link{gdkPixbufSaveToBuffer}(object, type, ..., .errwarn = TRUE)}\cr \code{\link{gdkPixbufSaveToBufferv}(object, type, option.keys, option.values, .errwarn = TRUE)}\cr \code{\link{gdkPixbufSaveToStream}(object, stream, type, cancellable, .errwarn = TRUE)}\cr } \section{Detailed Description}{These functions allow to save a \code{\link{GdkPixbuf}} in a number of file formats. The formatted data can be written to a file or to a memory buffer. &gdk-pixbuf; can also call a user-defined callback on the data, which allows to e.g. write the image to a socket or store it in a database.} \section{User Functions}{\describe{\item{\code{GdkPixbufSaveFunc(buf, count, error, data)}}{ Specifies the type of the function passed to \code{\link{gdkPixbufSaveToCallback}}. It is called once for each block of bytes that is "written" by \code{\link{gdkPixbufSaveToCallback}}. If successful it should return \code{TRUE}. If an error occurs it should set \code{error} and return \code{FALSE}, in which case \code{\link{gdkPixbufSaveToCallback}} will fail with the same error. Since 2.4 \describe{ \item{\code{buf}}{bytes to be written.} \item{\code{count}}{number of bytes in \code{buf}.} \item{\code{error}}{A location to return an error. \emph{[ \acronym{out} ]}} \item{\code{data}}{user data passed to \code{\link{gdkPixbufSaveToCallback}}. \emph{[ \acronym{closure} ]}} } \emph{Returns:} [logical] \code{TRUE} if successful, \code{FALSE} (with \code{error} set) if failed. }}} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-File-saving.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBestType.Rd0000644000176000001440000000050312362217677016361 0ustar ripleyusers\alias{gdkVisualGetBestType} \name{gdkVisualGetBestType} \title{gdkVisualGetBestType} \description{Return the best available visual type for the default GDK screen.} \usage{gdkVisualGetBestType()} \value{[\code{\link{GdkVisualType}}] best visual type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventSetScreen.Rd0000644000176000001440000000073112362217677015676 0ustar ripleyusers\alias{gdkEventSetScreen} \name{gdkEventSetScreen} \title{gdkEventSetScreen} \description{Sets the screen for \code{event} to \code{screen}. The event must have been allocated by GTK+, for instance, by \code{\link{gdkEventCopy}}.} \usage{gdkEventSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GdkEvent}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertWithTagsByName.Rd0000644000176000001440000000107312362217677021033 0ustar ripleyusers\alias{gtkTextBufferInsertWithTagsByName} \name{gtkTextBufferInsertWithTagsByName} \title{gtkTextBufferInsertWithTagsByName} \description{Same as \code{\link{gtkTextBufferInsertWithTags}}, but allows you to pass in tag names instead of tag objects.} \usage{gtkTextBufferInsertWithTagsByName(object, iter, text, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{position in \code{buffer}} \item{\verb{text}}{UTF-8 text} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GInetSocketAddress.Rd0000644000176000001440000000261512362217677016003 0ustar ripleyusers\alias{GInetSocketAddress} \alias{gInetSocketAddress} \name{GInetSocketAddress} \title{GInetSocketAddress} \description{Internet GSocketAddress} \section{Methods and Functions}{ \code{\link{gInetSocketAddressNew}(address, port)}\cr \code{\link{gInetSocketAddressGetAddress}(object)}\cr \code{\link{gInetSocketAddressGetPort}(object)}\cr \code{gInetSocketAddress(address, port)} } \section{Hierarchy}{\preformatted{GObject +----GSocketAddress +----GInetSocketAddress}} \section{Interfaces}{GInetSocketAddress implements \code{\link{GSocketConnectable}}.} \section{Detailed Description}{An IPv4 or IPv6 socket address; that is, the combination of a \code{\link{GInetAddress}} and a port number.} \section{Structures}{\describe{\item{\verb{GInetSocketAddress}}{ An IPv4 or IPv6 socket address, corresponding to a \verb{struct sockaddr_in} or \verb{structsockaddr_in6}. }}} \section{Convenient Construction}{\code{gInetSocketAddress} is the equivalent of \code{\link{gInetSocketAddressNew}}.} \section{Properties}{\describe{ \item{\verb{address} [\code{\link{GInetAddress}} : * : Read / Write / Construct Only]}{ The address. } \item{\verb{port} [numeric : Read / Write / Construct Only]}{ The port. Allowed values: <= 65535 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gio/GInetSocketAddress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetDesktop.Rd0000644000176000001440000000146612362217677020235 0ustar ripleyusers\alias{gdkAppLaunchContextSetDesktop} \name{gdkAppLaunchContextSetDesktop} \title{gdkAppLaunchContextSetDesktop} \description{Sets the workspace on which applications will be launched when using this context when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}). } \usage{gdkAppLaunchContextSetDesktop(object, desktop)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{desktop}}{the number of a workspace, or -1} } \details{When the workspace is not specified or \code{desktop} is set to -1, it is up to the window manager to pick one, typically it will be the current workspace. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetNumberUpLayout.Rd0000644000176000001440000000074512362217677021157 0ustar ripleyusers\alias{gtkPrintSettingsGetNumberUpLayout} \name{gtkPrintSettingsGetNumberUpLayout} \title{gtkPrintSettingsGetNumberUpLayout} \description{Gets the value of \code{GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT}.} \usage{gtkPrintSettingsGetNumberUpLayout(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.14} \value{[\code{\link{GtkNumberUpLayout}}] layout of page in number-up mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListUnselectRow.Rd0000644000176000001440000000112212362217677016225 0ustar ripleyusers\alias{gtkCListUnselectRow} \name{gtkCListUnselectRow} \title{gtkCListUnselectRow} \description{ Unselects the specified row. Causes the "unselect-row" signal to be emitted for the specified row and column. \strong{WARNING: \code{gtk_clist_unselect_row} is deprecated and should not be used in newly-written code.} } \usage{gtkCListUnselectRow(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to select.} \item{\verb{column}}{The column to select.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetValue.Rd0000644000176000001440000000051612362217677015513 0ustar ripleyusers\alias{gtkRangeGetValue} \name{gtkRangeGetValue} \title{gtkRangeGetValue} \description{Gets the current value of the range.} \usage{gtkRangeGetValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \value{[numeric] current value of the range.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetActivate.Rd0000644000176000001440000000111012362217677015715 0ustar ripleyusers\alias{gtkWidgetActivate} \name{gtkWidgetActivate} \title{gtkWidgetActivate} \description{For widgets that can be "activated" (buttons, menu items, etc.) this function activates them. Activation is what happens when you press Enter on a widget during key navigation. If \code{widget} isn't activatable, the function returns \code{FALSE}.} \usage{gtkWidgetActivate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's activatable}} \value{[logical] \code{TRUE} if the widget was activatable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetItemPadding.Rd0000644000176000001440000000062412362217677017313 0ustar ripleyusers\alias{gtkIconViewGetItemPadding} \name{gtkIconViewGetItemPadding} \title{gtkIconViewGetItemPadding} \description{Returns the value of the ::item-padding property.} \usage{gtkIconViewGetItemPadding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.18} \value{[integer] the padding around items} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetRowstride.Rd0000644000176000001440000000065112362217677016602 0ustar ripleyusers\alias{gdkPixbufGetRowstride} \name{gdkPixbufGetRowstride} \title{gdkPixbufGetRowstride} \description{Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row and the start of the next row.} \usage{gdkPixbufGetRowstride(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[integer] Distance between row starts.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardChars.Rd0000644000176000001440000000145112362217677017211 0ustar ripleyusers\alias{gtkTextIterBackwardChars} \name{gtkTextIterBackwardChars} \title{gtkTextIterBackwardChars} \description{Moves \code{count} characters backward, if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then \code{FALSE} is returned. If \code{count} is 0, the function does nothing and returns \code{FALSE}.} \usage{gtkTextIterBackwardChars(object, count)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{count}}{number of characters to move} } \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectFinish.Rd0000644000176000001440000000147112362217677017526 0ustar ripleyusers\alias{gSocketClientConnectFinish} \name{gSocketClientConnectFinish} \title{gSocketClientConnectFinish} \description{Finishes an async connect operation. See \code{\link{gSocketClientConnectAsync}}} \usage{gSocketClientConnectFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetPageWidth.Rd0000644000176000001440000000107212362217677017152 0ustar ripleyusers\alias{gtkPageSetupGetPageWidth} \name{gtkPageSetupGetPageWidth} \title{gtkPageSetupGetPageWidth} \description{Returns the page width in units of \code{unit}.} \usage{gtkPageSetupGetPageWidth(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Note that this function takes orientation and margins into consideration. See \code{\link{gtkPageSetupGetPaperWidth}}. Since 2.10} \value{[numeric] the page width.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetFilter.Rd0000644000176000001440000000131512362217677017044 0ustar ripleyusers\alias{gtkFileChooserSetFilter} \name{gtkFileChooserSetFilter} \title{gtkFileChooserSetFilter} \description{Sets the current filter; only the files that pass the filter will be displayed. If the user-selectable list of filters is non-empty, then the filter should be one of the filters in that list. Setting the current filter when the list of filters is empty is useful if you want to restrict the displayed set of files without letting the user change it.} \usage{gtkFileChooserSetFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filter}}{a \code{\link{GtkFileFilter}}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtChildAnchor.Rd0000644000176000001440000000106312362217677020746 0ustar ripleyusers\alias{gtkTextBufferGetIterAtChildAnchor} \name{gtkTextBufferGetIterAtChildAnchor} \title{gtkTextBufferGetIterAtChildAnchor} \description{Obtains the location of \code{anchor} within \code{buffer}.} \usage{gtkTextBufferGetIterAtChildAnchor(object, anchor)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{anchor}}{a child anchor that appears in \code{buffer}} } \value{ A list containing the following elements: \item{\verb{iter}}{an iterator to be initialized} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketBind.Rd0000644000176000001440000000345112362217677014511 0ustar ripleyusers\alias{gSocketBind} \name{gSocketBind} \title{gSocketBind} \description{When a socket is created it is attached to an address family, but it doesn't have an address in this family. \code{\link{gSocketBind}} assigns the address (sometimes called name) of the socket.} \usage{gSocketBind(object, address, allow.reuse, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{address}}{a \code{\link{GSocketAddress}} specifying the local address.} \item{\verb{allow.reuse}}{whether to allow reusing this address} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{It is generally required to bind to a local address before you can receive connections. (See \code{\link{gSocketListen}} and \code{\link{gSocketAccept}} ). In certain situations, you may also want to bind a socket that will be used to initiate connections, though this is not normally required. \code{allow.reuse} should be \code{TRUE} for server sockets (sockets that you will eventually call \code{\link{gSocketAccept}} on), and \code{FALSE} for client sockets. (Specifically, if it is \code{TRUE}, then \code{\link{gSocketBind}} will set the \code{SO_REUSEADDR} flag on the socket, allowing it to bind \code{address} even if that address was previously used by another socket that has not yet been fully cleaned-up by the kernel. Failing to set this flag on a server socket may cause the bind call to return \code{G_IO_ERROR_ADDRESS_IN_USE} if the server program is stopped and then immediately restarted.) Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetWrapMode.Rd0000644000176000001440000000057512362217677016721 0ustar ripleyusers\alias{gtkTextViewSetWrapMode} \name{gtkTextViewSetWrapMode} \title{gtkTextViewSetWrapMode} \description{Sets the line wrapping for the view.} \usage{gtkTextViewSetWrapMode(object, wrap.mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{wrap.mode}}{a \code{\link{GtkWrapMode}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantInsertPage.Rd0000644000176000001440000000115312362217677016753 0ustar ripleyusers\alias{gtkAssistantInsertPage} \name{gtkAssistantInsertPage} \title{gtkAssistantInsertPage} \description{Inserts a page in the \code{assistant} at a given position.} \usage{gtkAssistantInsertPage(object, page, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a \code{\link{GtkWidget}}} \item{\verb{position}}{the index (starting at 0) at which to insert the page, or -1 to append the page to the \code{assistant}} } \details{Since 2.10} \value{[integer] the index (starting from 0) of the inserted page} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetColumnWidget.Rd0000644000176000001440000000115112362217677017016 0ustar ripleyusers\alias{gtkCListGetColumnWidget} \name{gtkCListGetColumnWidget} \title{gtkCListGetColumnWidget} \description{ Gets the widget in the column header for the specified column. \strong{WARNING: \code{gtk_clist_get_column_widget} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetColumnWidget(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to query.} } \value{[\code{\link{GtkWidget}}] Pointer to a \code{\link{GtkWidget}} for the column header.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetEvent.Rd0000644000176000001440000000151412362217677015246 0ustar ripleyusers\alias{gtkWidgetEvent} \name{gtkWidgetEvent} \title{gtkWidgetEvent} \description{Rarely-used function. This function is used to emit the event signals on a widget (those signals should never be emitted without using this function to do so). If you want to synthesize an event though, don't use this function; instead, use \code{\link{gtkMainDoEvent}} so the event will behave as if it were in the event queue. Don't synthesize expose events; instead, use \code{\link{gdkWindowInvalidateRect}} to invalidate a region of the window.} \usage{gtkWidgetEvent(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{event}}{a \code{\link{GdkEvent}}} } \value{[logical] return from the event signal emission (\code{TRUE} if the event was handled)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsToKeyFile.Rd0000644000176000001440000000115712362217677017415 0ustar ripleyusers\alias{gtkPrintSettingsToKeyFile} \name{gtkPrintSettingsToKeyFile} \title{gtkPrintSettingsToKeyFile} \description{This function adds the print settings from \code{settings} to \code{key.file}.} \usage{gtkPrintSettingsToKeyFile(object, key.file, group.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key.file}}{the \verb{GKeyFile} to save the print settings to} \item{\verb{group.name}}{the group to add the settings to in \code{key.file}, or \code{NULL} to use the default "Print Settings"} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoScriptGetSampleLanguage.Rd0000644000176000001440000000405012362217677020050 0ustar ripleyusers\alias{pangoScriptGetSampleLanguage} \name{pangoScriptGetSampleLanguage} \title{pangoScriptGetSampleLanguage} \description{Given a script, finds a language tag that is reasonably representative of that script. This will usually be the most widely spoken or used language written in that script: for instance, the sample language for \code{PANGO_SCRIPT_CYRILLIC} is \code{ru} (Russian), the sample language for \code{PANGO_SCRIPT_ARABIC} is \code{ar}.} \usage{pangoScriptGetSampleLanguage(script)} \arguments{\item{\verb{script}}{[\code{\link{PangoScript}}] a \code{\link{PangoScript}}}} \details{For some scripts, no sample language will be returned because there is no language that is sufficiently representative. The best example of this is \code{PANGO_SCRIPT_HAN}, where various different variants of written Chinese, Japanese, and Korean all use significantly different sets of Han characters and forms of shared characters. No sample language can be provided for many historical scripts as well. As of 1.18, this function checks the environment variables PANGO_LANGUAGE and LANGUAGE (checked in that order) first. If one of them is set, it is parsed as a list of language tags separated by colons or other separators. This function will return the first language in the parsed list that Pango believes may use \code{script} for writing. This last predicate is tested using \code{\link{pangoLanguageIncludesScript}}. This can be used to control Pango's font selection for non-primary languages. For example, a PANGO_LANGUAGE enviroment variable set to "en:fa" makes Pango choose fonts suitable for Persian (fa) instead of Arabic (ar) when a segment of Arabic text is found in an otherwise non-Arabic text. The same trick can be used to choose a default language for \code{PANGO_SCRIPT_HAN} when setting context language is not feasible. Since 1.4} \value{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}} that is representative of the script, or \code{NULL} if no such language exists.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSetDisplayOptions.Rd0000644000176000001440000000071312362217677020110 0ustar ripleyusers\alias{gtkCalendarSetDisplayOptions} \name{gtkCalendarSetDisplayOptions} \title{gtkCalendarSetDisplayOptions} \description{Sets display options (whether to display the heading and the month headings).} \usage{gtkCalendarSetDisplayOptions(object, flags)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}} \item{\verb{flags}}{the display options to set} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetHasFrame.Rd0000644000176000001440000000200712362217677016351 0ustar ripleyusers\alias{gtkWindowSetHasFrame} \name{gtkWindowSetHasFrame} \title{gtkWindowSetHasFrame} \description{(Note: this is a special-purpose function for the framebuffer port, that causes GTK+ to draw its own window border. For most applications, you want \code{\link{gtkWindowSetDecorated}} instead, which tells the window manager whether to draw the window border.)} \usage{gtkWindowSetHasFrame(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{a boolean} } \details{If this function is called on a window with setting of \code{TRUE}, before it is realized or showed, it will have a "frame" window around \code{window->window}, accessible in \code{window->frame}. Using the signal frame_event you can receive all events targeted at the frame. This function is used by the linux-fb port to implement managed windows, but it could conceivably be used by X-programs that want to do their own window decorations.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Drag-and-Drop.Rd0000644000176000001440000001113312362217677015413 0ustar ripleyusers\alias{gtk-Drag-and-Drop} \alias{GtkDestDefaults} \alias{GtkTargetFlags} \name{gtk-Drag-and-Drop} \title{Drag and Drop} \description{Functions for controlling drag and drop handling} \section{Methods and Functions}{ \code{\link{gtkDragDestSet}(object, flags, targets, actions)}\cr \code{\link{gtkDragDestSetProxy}(object, proxy.window, protocol, use.coordinates)}\cr \code{\link{gtkDragDestUnset}(object)}\cr \code{\link{gtkDragDestFindTarget}(object, context, target.list)}\cr \code{\link{gtkDragDestGetTargetList}(object)}\cr \code{\link{gtkDragDestSetTargetList}(object, target.list)}\cr \code{\link{gtkDragDestAddTextTargets}(object)}\cr \code{\link{gtkDragDestAddImageTargets}(object)}\cr \code{\link{gtkDragDestAddUriTargets}(object)}\cr \code{\link{gtkDragDestSetTrackMotion}(object, track.motion)}\cr \code{\link{gtkDragDestGetTrackMotion}(object)}\cr \code{\link{gtkDragFinish}(object, success, del, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkDragGetData}(object, context, target, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkDragGetSourceWidget}(context)}\cr \code{\link{gtkDragHighlight}(object)}\cr \code{\link{gtkDragUnhighlight}(object)}\cr \code{\link{gtkDragBegin}(object, targets, actions, button, event)}\cr \code{\link{gtkDragSetIconWidget}(object, widget, hot.x, hot.y)}\cr \code{\link{gtkDragSetIconPixmap}(object, colormap, pixmap, mask, hot.x, hot.y)}\cr \code{\link{gtkDragSetIconPixbuf}(object, pixbuf, hot.x, hot.y)}\cr \code{\link{gtkDragSetIconStock}(object, stock.id, hot.x, hot.y)}\cr \code{\link{gtkDragSetIconName}(object, icon.name, hot.x, hot.y)}\cr \code{\link{gtkDragSetIconDefault}(object)}\cr \code{\link{gtkDragSetDefaultIcon}(colormap, pixmap, mask, hot.x, hot.y)}\cr \code{\link{gtkDragCheckThreshold}(object, start.x, start.y, current.x, current.y)}\cr \code{\link{gtkDragSourceSet}(object, start.button.mask, targets, actions)}\cr \code{\link{gtkDragSourceSetIcon}(object, colormap, pixmap, mask = NULL)}\cr \code{\link{gtkDragSourceSetIconPixbuf}(object, pixbuf)}\cr \code{\link{gtkDragSourceSetIconStock}(object, stock.id)}\cr \code{\link{gtkDragSourceSetIconName}(widget, icon.name)}\cr \code{\link{gtkDragSourceUnset}(object)}\cr \code{\link{gtkDragSourceSetTargetList}(object, target.list)}\cr \code{\link{gtkDragSourceGetTargetList}(object)}\cr \code{\link{gtkDragSourceAddTextTargets}(object)}\cr \code{\link{gtkDragSourceAddImageTargets}(object)}\cr \code{\link{gtkDragSourceAddUriTargets}(object)}\cr } \section{Detailed Description}{GTK+ has a rich set of functions for doing inter-process communication via the drag-and-drop metaphor. GTK+ can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the functions listed here, applications may need to use some facilities provided for Selections. Also, the Drag and Drop API makes use of signals in the \code{\link{GtkWidget}} class.} \section{Enums and Flags}{\describe{ \item{\verb{GtkDestDefaults}}{ The \code{\link{GtkDestDefaults}} enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site. \describe{ \item{\verb{motion}}{ If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions. GTK+ will then call \code{\link{gdkDragStatus}} as appropriate.} \item{\verb{highlight}}{ If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.} \item{\verb{drop}}{ If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget's list of possible targets and actions. If so, GTK+ will call \code{\link{gtkDragGetData}} on behalf of the widget. Whether or not the drop is successful, GTK+ will call \code{\link{gtkDragFinish}}. If the action was a move, then if the drag was successful, then \code{TRUE} will be passed for the \code{delete} parameter to \code{\link{gtkDragFinish}}.} \item{\verb{all}}{ If set, specifies that all default actions should be taken.} } } \item{\verb{GtkTargetFlags}}{ The \code{\link{GtkTargetFlags}} enumeration is used to specify constraints on an entry in a \verb{GtkTargetTable}. \describe{ \item{\verb{app}}{ If this is set, the target will only be selected for drags within a single application.} \item{\verb{widget}}{ If this is set, the target will only be selected for drags within a single widget.} } } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Drag-and-Drop.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayRequestSelectionNotification.Rd0000644000176000001440000000126512362217677022177 0ustar ripleyusers\alias{gdkDisplayRequestSelectionNotification} \name{gdkDisplayRequestSelectionNotification} \title{gdkDisplayRequestSelectionNotification} \description{Request \code{\link{GdkEventOwnerChange}} events for ownership changes of the selection named by the given atom.} \usage{gdkDisplayRequestSelectionNotification(object, selection)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{selection}}{the \code{\link{GdkAtom}} naming the selection for which ownership change notification is requested} } \details{Since 2.6} \value{[logical] whether \code{\link{GdkEventOwnerChange}} events will be sent.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetLabel.Rd0000644000176000001440000000070012362217677015434 0ustar ripleyusers\alias{gtkLabelGetLabel} \name{gtkLabelGetLabel} \title{gtkLabelGetLabel} \description{Fetches the text from a label widget including any embedded underlines indicating mnemonics and Pango markup. (See \code{\link{gtkLabelGetText}}).} \usage{gtkLabelGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[character] the text of the label widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetScreen.Rd0000644000176000001440000000127612362217677020042 0ustar ripleyusers\alias{gdkAppLaunchContextSetScreen} \name{gdkAppLaunchContextSetScreen} \title{gdkAppLaunchContextSetScreen} \description{Sets the screen on which applications will be launched when using this context. See also \code{\link{gdkAppLaunchContextSetDisplay}}.} \usage{gdkAppLaunchContextSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{If both \code{screen} and \code{display} are set, the \code{screen} takes priority. If neither \code{screen} or \code{display} are set, the default screen and display are used. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetChildren.Rd0000644000176000001440000000117412362217677016363 0ustar ripleyusers\alias{gdkWindowGetChildren} \name{gdkWindowGetChildren} \title{gdkWindowGetChildren} \description{Gets the list of children of \code{window} known to GDK. This function only returns children created via GDK, so for example it's useless when used with the root window; it only returns windows an application created itself.} \usage{gdkWindowGetChildren(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{The returned list must be freed, but the elements in the list need not be.} \value{[list] list of child windows inside \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableGetColSpacing.Rd0000644000176000001440000000100012362217677016441 0ustar ripleyusers\alias{gtkTableGetColSpacing} \name{gtkTableGetColSpacing} \title{gtkTableGetColSpacing} \description{Gets the amount of space between column \code{col}, and column \code{col} + 1. See \code{\link{gtkTableSetColSpacing}}.} \usage{gtkTableGetColSpacing(object, column)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}}} \item{\verb{column}}{a column in the table, 0 indicates the first column} } \value{[numeric] the column spacing} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetTitle.Rd0000644000176000001440000000123312362217677015724 0ustar ripleyusers\alias{gdkWindowSetTitle} \name{gdkWindowSetTitle} \title{gdkWindowSetTitle} \description{Sets the title of a toplevel window, to be displayed in the titlebar. If you haven't explicitly set the icon name for the window (using \code{\link{gdkWindowSetIconName}}), the icon name will be set to \code{title} as well. \code{title} must be in UTF-8 encoding (as with all user-readable strings in GDK/GTK+). \code{title} may not be \code{NULL}.} \usage{gdkWindowSetTitle(object, title)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{title}}{title of \code{window}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewNew.Rd0000644000176000001440000000107312362217677015252 0ustar ripleyusers\alias{gtkTextViewNew} \name{gtkTextViewNew} \title{gtkTextViewNew} \description{Creates a new \code{\link{GtkTextView}}. If you don't call \code{\link{gtkTextViewSetBuffer}} before using the text view, an empty default buffer will be created for you. Get the buffer with \code{\link{gtkTextViewGetBuffer}}. If you want to specify your own buffer, consider \code{\link{gtkTextViewNewWithBuffer}}.} \usage{gtkTextViewNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkTextView}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetMarkup.Rd0000644000176000001440000000110512362217677016445 0ustar ripleyusers\alias{pangoLayoutSetMarkup} \name{pangoLayoutSetMarkup} \title{pangoLayoutSetMarkup} \description{Same as \code{\link{pangoLayoutSetMarkupWithAccel}}, but the markup text isn't scanned for accelerators.} \usage{pangoLayoutSetMarkup(object, markup, length = -1)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{markup}}{[char] marked-up text} \item{\verb{length}}{[integer] length of marked-up text in bytes, or -1 if \code{markup} is nul-terminated} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationGetParent.Rd0000644000176000001440000000073512362217677017622 0ustar ripleyusers\alias{gtkMountOperationGetParent} \name{gtkMountOperationGetParent} \title{gtkMountOperationGetParent} \description{Gets the transient parent used by the \code{\link{GtkMountOperation}}} \usage{gtkMountOperationGetParent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMountOperation}}}} \details{Since 2.14} \value{[\code{\link{GtkWindow}}] the transient parent for windows shown by \code{op}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellSelectItem.Rd0000644000176000001440000000062212362217677016673 0ustar ripleyusers\alias{gtkMenuShellSelectItem} \name{gtkMenuShellSelectItem} \title{gtkMenuShellSelectItem} \description{Selects the menu item from the menu shell.} \usage{gtkMenuShellSelectItem(object, menu.item)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}.} \item{\verb{menu.item}}{The \code{\link{GtkMenuItem}} to select.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetDeserializeFormats.Rd0000644000176000001440000000141212362217677021251 0ustar ripleyusers\alias{gtkTextBufferGetDeserializeFormats} \name{gtkTextBufferGetDeserializeFormats} \title{gtkTextBufferGetDeserializeFormats} \description{This function returns the rich text deserialize formats registered with \code{buffer} using \code{\link{gtkTextBufferRegisterDeserializeFormat}} or \code{\link{gtkTextBufferRegisterDeserializeTagset}}} \usage{gtkTextBufferGetDeserializeFormats(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkAtom}}] a list of \code{\link{GdkAtom}}s representing the registered formats.} \item{\verb{n.formats}}{return location for the number of formats} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconDragSource.Rd0000644000176000001440000000221412362217677017364 0ustar ripleyusers\alias{gtkEntrySetIconDragSource} \name{gtkEntrySetIconDragSource} \title{gtkEntrySetIconDragSource} \description{Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon.} \usage{gtkEntrySetIconDragSource(object, icon.pos, target.list, actions)} \arguments{ \item{\verb{object}}{a \verb{GtkIconEntry}} \item{\verb{icon.pos}}{icon position} \item{\verb{target.list}}{the targets (data formats) in which the data can be provided} \item{\verb{actions}}{a bitmask of the allowed drag actions} } \details{To handle the drag operation, you need to connect to the usual \verb{"drag-data-get"} (or possibly \verb{"drag-data-delete"}) signal, and use \code{\link{gtkEntryGetCurrentIconDragSource}} in your signal handler to find out if the drag was started from an icon. By default, GTK+ uses the icon as the drag icon. You can use the \verb{"drag-begin"} signal to set a different icon. Note that you have to use \code{gSignalConnectAfter()} to ensure that your signal handler gets executed after the default handler. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetProxyMenuItem.Rd0000644000176000001440000000132212362217677017734 0ustar ripleyusers\alias{gtkToolItemSetProxyMenuItem} \name{gtkToolItemSetProxyMenuItem} \title{gtkToolItemSetProxyMenuItem} \description{Sets the \code{\link{GtkMenuItem}} used in the toolbar overflow menu. The \code{menu.item.id} is used to identify the caller of this function and should also be used with \code{\link{gtkToolItemGetProxyMenuItem}}.} \usage{gtkToolItemSetProxyMenuItem(object, menu.item.id, menu.item = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{menu.item.id}}{a string used to identify \code{menu.item}} \item{\verb{menu.item}}{a \code{\link{GtkMenuItem}} to be used in the overflow menu} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowFullscreen.Rd0000644000176000001440000000137012362217677016313 0ustar ripleyusers\alias{gtkWindowFullscreen} \name{gtkWindowFullscreen} \title{gtkWindowFullscreen} \description{Asks to place \code{window} in the fullscreen state. Note that you shouldn't assume the window is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the window will end up fullscreen. Just don't write code that crashes if not.} \usage{gtkWindowFullscreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{You can track the fullscreen state via the "window-state-event" signal on \code{\link{GtkWidget}}. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSelectRow.Rd0000644000176000001440000000110412362217677015662 0ustar ripleyusers\alias{gtkCListSelectRow} \name{gtkCListSelectRow} \title{gtkCListSelectRow} \description{ Selects the specified row. Causes the "select-row" signal to be emitted for the specified row and column. \strong{WARNING: \code{gtk_clist_select_row} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSelectRow(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to select.} \item{\verb{column}}{The column to select.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-quartz-font.Rd0000644000176000001440000000073411766145227015701 0ustar ripleyusers\alias{cairo-quartz-font} \name{cairo-quartz-font} \title{Quartz (CGFont) Fonts} \description{Font support via CGFont on OS X} \section{Detailed Description}{The Quartz font backend is primarily used to render text on Apple MacOS X systems. The CGFont API is used for the internal implementation of the font backend methods.} \references{\url{http://www.cairographics.org/manual/cairo-quartz-font.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetForeground.Rd0000644000176000001440000000076312362217677017345 0ustar ripleyusers\alias{gtkCTreeNodeSetForeground} \name{gtkCTreeNodeSetForeground} \title{gtkCTreeNodeSetForeground} \description{ \strong{WARNING: \code{gtk_ctree_node_set_foreground} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetForeground(object, node, color)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{color}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFaceIsSynthesized.Rd0000644000176000001440000000110112362217677017543 0ustar ripleyusers\alias{pangoFontFaceIsSynthesized} \name{pangoFontFaceIsSynthesized} \title{pangoFontFaceIsSynthesized} \description{Returns whether a \code{\link{PangoFontFace}} is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it.} \usage{pangoFontFaceIsSynthesized(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFace}}] a \code{\link{PangoFontFace}}}} \details{ Since 1.18} \value{[logical] whether \code{face} is synthesized.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOutputStreamGetEtag.Rd0000644000176000001440000000076612362217677017207 0ustar ripleyusers\alias{gFileOutputStreamGetEtag} \name{gFileOutputStreamGetEtag} \title{gFileOutputStreamGetEtag} \description{Gets the entity tag for the file when it has been written. This must be called after the stream has been written and closed, as the etag can change while writing.} \usage{gFileOutputStreamGetEtag(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileOutputStream}}.}} \value{[char] the entity tag for the stream.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsEnable.Rd0000644000176000001440000000072012362217677015743 0ustar ripleyusers\alias{gtkTooltipsEnable} \name{gtkTooltipsEnable} \title{gtkTooltipsEnable} \description{ Allows the user to see your tooltips as they navigate your application. \strong{WARNING: \code{gtk_tooltips_enable} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsEnable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTooltips}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPageRanges.Rd0000644000176000001440000000103412362217677020244 0ustar ripleyusers\alias{gtkPrintSettingsSetPageRanges} \name{gtkPrintSettingsSetPageRanges} \title{gtkPrintSettingsSetPageRanges} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PAGE_RANGES}.} \usage{gtkPrintSettingsSetPageRanges(object, page.ranges, num.ranges)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{page.ranges}}{a list of \code{\link{GtkPageRange}}s} \item{\verb{num.ranges}}{the length of \code{page.ranges}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantRemoveActionWidget.Rd0000644000176000001440000000071312362217677020452 0ustar ripleyusers\alias{gtkAssistantRemoveActionWidget} \name{gtkAssistantRemoveActionWidget} \title{gtkAssistantRemoveActionWidget} \description{Removes a widget from the action area of a \code{\link{GtkAssistant}}.} \usage{gtkAssistantRemoveActionWidget(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{child}}{a \code{\link{GtkWidget}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetRgbaColormap.Rd0000644000176000001440000000213612362217677017152 0ustar ripleyusers\alias{gdkScreenGetRgbaColormap} \name{gdkScreenGetRgbaColormap} \title{gdkScreenGetRgbaColormap} \description{Gets a colormap to use for creating windows or pixmaps with an alpha channel. The windowing system on which GTK+ is running may not support this capability, in which case \code{NULL} will be returned. Even if a non-\code{NULL} value is returned, its possible that the window's alpha channel won't be honored when displaying the window on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display.} \usage{gdkScreenGetRgbaColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}.}} \details{This functionality is not implemented in the Windows backend. For setting an overall opacity for a top-level window, see \code{\link{gdkWindowSetOpacity}}. Since 2.8} \value{[\code{\link{GdkColormap}}] a colormap to use for windows with an alpha channel or \code{NULL} if the capability is not available. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportGetBinWindow.Rd0000644000176000001440000000064112362217677017121 0ustar ripleyusers\alias{gtkViewportGetBinWindow} \name{gtkViewportGetBinWindow} \title{gtkViewportGetBinWindow} \description{Gets the bin window of the \code{\link{GtkViewport}}.} \usage{gtkViewportGetBinWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkViewport}}}} \details{Since 2.20} \value{[\code{\link{GdkWindow}}] a \code{\link{GdkWindow}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogSetFontName.Rd0000644000176000001440000000110512362217677021015 0ustar ripleyusers\alias{gtkFontSelectionDialogSetFontName} \name{gtkFontSelectionDialogSetFontName} \title{gtkFontSelectionDialogSetFontName} \description{Sets the currently selected font.} \usage{gtkFontSelectionDialogSetFontName(object, fontname)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}} \item{\verb{fontname}}{a font name like "Helvetica 12" or "Times Bold 18"} } \value{[logical] \code{TRUE} if the font selected in \code{fsd} is now the \code{fontname} specified, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoReorderItems.Rd0000644000176000001440000000127112362217677015744 0ustar ripleyusers\alias{pangoReorderItems} \name{pangoReorderItems} \title{pangoReorderItems} \description{From a list of items in logical order and the associated directional levels, produce a list in visual order. The original list is unmodified.} \usage{pangoReorderItems(logical.items)} \arguments{\item{\verb{logical.items}}{[list] a \verb{list} of \code{\link{PangoItem}} in logical order.}} \value{[list] a \verb{list} of \code{\link{PangoItem}} structures in visual order. (Please open a bug if you use this function. It is not a particularly convenient interface, and the code is duplicated elsewhere in Pango for that reason.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrTypeGetName.Rd0000644000176000001440000000131312362217677016352 0ustar ripleyusers\alias{pangoAttrTypeGetName} \name{pangoAttrTypeGetName} \title{pangoAttrTypeGetName} \description{Fetches the attribute type name passed in when registering the type using \code{\link{pangoAttrTypeRegister}}.} \usage{pangoAttrTypeGetName(type)} \arguments{\item{\verb{type}}{[\code{\link{PangoAttrType}}] an attribute type ID to fetch the name for}} \details{The returned value is an interned string (see \code{gInternString()} for what that means) that should not be modified or freed. Since 1.22} \value{[char] the type ID name (which may be \code{NULL}), or \code{NULL} if \code{type} is a built-in Pango attribute type or invalid. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetLength.Rd0000644000176000001440000000112612362217677017437 0ustar ripleyusers\alias{gtkPrintSettingsGetLength} \name{gtkPrintSettingsGetLength} \title{gtkPrintSettingsGetLength} \description{Returns the value associated with \code{key}, interpreted as a length. The returned value is converted to \code{units}.} \usage{gtkPrintSettingsGetLength(object, key, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{unit}}{the unit of the return value} } \details{Since 2.10} \value{[numeric] the length value of \code{key}, converted to \code{unit}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMenu.Rd0000644000176000001440000002157712362217677013700 0ustar ripleyusers\alias{GtkMenu} \alias{gtkMenu} \alias{GtkMenuPositionFunc} \alias{GtkMenuDetachFunc} \name{GtkMenu} \title{GtkMenu} \description{A menu widget} \section{Methods and Functions}{ \code{\link{gtkMenuNew}(show = TRUE)}\cr \code{\link{gtkMenuSetScreen}(object, screen = NULL)}\cr \code{\link{gtkMenuReorderChild}(object, child, position)}\cr \code{\link{gtkMenuAttach}(object, child, left.attach, right.attach, top.attach, bottom.attach)}\cr \code{\link{gtkMenuPopup}(object, parent.menu.shell = NULL, parent.menu.item = NULL, func = NULL, data = NULL, button, activate.time)}\cr \code{\link{gtkMenuSetAccelGroup}(object, accel.group)}\cr \code{\link{gtkMenuGetAccelGroup}(object)}\cr \code{\link{gtkMenuSetAccelPath}(object, accel.path)}\cr \code{\link{gtkMenuGetAccelPath}(object)}\cr \code{\link{gtkMenuSetTitle}(object, title)}\cr \code{\link{gtkMenuGetTitle}(object)}\cr \code{\link{gtkMenuSetMonitor}(object, monitor.num)}\cr \code{\link{gtkMenuGetMonitor}(object)}\cr \code{\link{gtkMenuGetTearoffState}(object)}\cr \code{\link{gtkMenuSetReserveToggleSize}(object, reserve.toggle.size)}\cr \code{\link{gtkMenuGetReserveToggleSize}(object)}\cr \code{\link{gtkMenuPopdown}(object)}\cr \code{\link{gtkMenuReposition}(object)}\cr \code{\link{gtkMenuGetActive}(object)}\cr \code{\link{gtkMenuSetActive}(object, index)}\cr \code{\link{gtkMenuSetTearoffState}(object, torn.off)}\cr \code{\link{gtkMenuAttachToWidget}(object, attach.widget)}\cr \code{\link{gtkMenuDetach}(object)}\cr \code{\link{gtkMenuGetAttachWidget}(object)}\cr \code{\link{gtkMenuGetForAttachWidget}(object)}\cr \code{gtkMenu(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenu +----GtkRecentChooserMenu}} \section{Interfaces}{GtkMenu implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkMenu}} is a \code{\link{GtkMenuShell}} that implements a drop down menu consisting of a list of \code{\link{GtkMenuItem}} objects which can be navigated and activated by the user to perform application functions. A \code{\link{GtkMenu}} is most commonly dropped down by activating a \code{\link{GtkMenuItem}} in a \code{\link{GtkMenuBar}} or popped up by activating a \code{\link{GtkMenuItem}} in another \code{\link{GtkMenu}}. A \code{\link{GtkMenu}} can also be popped up by activating a \code{\link{GtkOptionMenu}}. Other composite widgets such as the \code{\link{GtkNotebook}} can pop up a \code{\link{GtkMenu}} as well. Applications can display a \code{\link{GtkMenu}} as a popup menu by calling the \code{\link{gtkMenuPopup}} function. The example below shows how an application can pop up a menu when the 3rd mouse button is pressed. \emph{Connecting the popup signal handler.} \preformatted{ ## connect our handler which will popup the menu gSignalConnect(window, "button_press_event", my_popup_handler, menu, user.data.first=TRUE) } \emph{Signal handler which displays a popup menu.} \preformatted{ # The popup handler my_popup_handler <- function(widget, event) { stopifnot(widget != NULL) checkPtrType(widget, "GtkMenu") stopifnot(event != NULL) ## The "widget" is the menu that was supplied when ## gSignalConnect() was called. menu <- widget if (event[["type"]] == "button-press") { if (event[["button"]] == 3) { menu$popup(button=event[["button"]], activate.time=event[["time"]]) return(TRUE) } } return(FALSE) } }} \section{Structures}{\describe{\item{\verb{GtkMenu}}{ The \code{\link{GtkMenu}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkMenu} is the equivalent of \code{\link{gtkMenuNew}}.} \section{User Functions}{\describe{ \item{\code{GtkMenuPositionFunc(menu, x, y, push.in, user.data)}}{ A user function supplied when calling \code{\link{gtkMenuPopup}} which controls the positioning of the menu when it is displayed. The function sets the \code{x} and \code{y} parameters to the coordinates where the menu is to be drawn. To make the menu appear on a different monitor than the mouse pointer, \code{\link{gtkMenuSetMonitor}} must be called. \describe{ \item{\code{menu}}{a \code{\link{GtkMenu}}.} \item{\code{x}}{the \verb{integer} representing the horizontal position where the menu shall be drawn. This is an output parameter.} \item{\code{y}}{the \verb{integer} representing the vertical position where the menu shall be drawn. This is an output parameter.} \item{\code{push.in}}{This parameter controls how menus placed outside the monitor are handled. If this is set to \code{TRUE} and part of the menu is outside the monitor then GTK+ pushes the window into the visible area, effectively modifying the popup position. Note that moving and possibly resizing the menu around will alter the scroll position to keep the menu items "in place", i.e. at the same monitor position they would have been without resizing. In practice, this behavior is only useful for combobox popups or option menus and cannot be used to simply confine a menu to monitor boundaries. In that case, changing the scroll offset is not desirable.} \item{\code{user.data}}{the data supplied by the user in the \code{\link{gtkMenuPopup}} \code{data} parameter.} } } \item{\code{GtkMenuDetachFunc(attach.widget, menu)}}{ A user function supplied when calling \code{\link{gtkMenuAttachToWidget}} which will be called when the menu is later detached from the widget. \describe{ \item{\code{attach.widget}}{the \code{\link{GtkWidget}} that the menu is being detached from.} \item{\code{menu}}{the \code{\link{GtkMenu}} being detached.} } } }} \section{Signals}{\describe{\item{\code{move-scroll(menu, user.data)}}{ \emph{undocumented } \describe{ \item{\code{menu}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{accel-group} [\code{\link{GtkAccelGroup}} : * : Read / Write]}{ The accel group holding accelerators for the menu. Since 2.14 } \item{\verb{accel-path} [character : * : Read / Write]}{ An accel path used to conveniently construct accel paths of child items. Default value: NULL Since 2.14 } \item{\verb{active} [integer : Read / Write]}{ The index of the currently selected menu item, or -1 if no menu item is selected. Allowed values: >= -1 Default value: -1 Since 2.14 } \item{\verb{attach-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ The widget the menu is attached to. Setting this property attaches the menu without a \verb{GtkMenuDetachFunc}. If you need to use a detacher, use \code{\link{gtkMenuAttachToWidget}} directly. Since 2.14 } \item{\verb{monitor} [integer : Read / Write]}{ The monitor the menu will be popped up on. Allowed values: >= -1 Default value: -1 Since 2.14 } \item{\verb{reserve-toggle-size} [logical : Read / Write]}{ A boolean that indicates whether the menu reserves space for toggles and icons, regardless of their actual presence. This property should only be changed from its default value for special-purposes such as tabular menus. Regular menus that are connected to a menu bar or context menus should reserve toggle space for consistency. Default value: TRUE Since 2.18 } \item{\verb{tearoff-state} [logical : Read / Write]}{ A boolean that indicates whether the menu is torn-off. Default value: FALSE Since 2.6 } \item{\verb{tearoff-title} [character : * : Read / Write]}{ A title that may be displayed by the window manager when this menu is torn-off. Default value: NULL } }} \section{Style Properties}{\describe{ \item{\verb{arrow-placement} [GtkArrowPlacement : Read]}{ Indicates where scroll arrows should be placed. Default value: GTK_ARROWS_BOTH Since 2.16 } \item{\verb{arrow-scaling} [numeric : Read]}{ Arbitrary constant to scale down the size of the scroll arrow. Allowed values: [0,1] Default value: 0.7 } \item{\verb{double-arrows} [logical : Read]}{ When scrolling, always show both arrows. Default value: TRUE } \item{\verb{horizontal-offset} [integer : Read]}{ When the menu is a submenu, position it this number of pixels offset horizontally. Default value: -2 } \item{\verb{horizontal-padding} [integer : Read]}{ Extra space at the left and right edges of the menu. Allowed values: >= 0 Default value: 0 } \item{\verb{vertical-offset} [integer : Read]}{ When the menu is a submenu, position it this number of pixels offset vertically. Default value: 0 } \item{\verb{vertical-padding} [integer : Read]}{ Extra space at the top and bottom of the menu. Allowed values: >= 0 Default value: 1 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkMenu.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoShowGlyphs.Rd0000644000176000001440000000106512362217677015441 0ustar ripleyusers\alias{cairoShowGlyphs} \name{cairoShowGlyphs} \title{cairoShowGlyphs} \description{A drawing operator that generates the shape from a list of glyphs, rendered according to the current font face, font size (font matrix), and font options.} \usage{cairoShowGlyphs(cr, glyphs, num.glyphs)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] list of glyphs to show} \item{\verb{num.glyphs}}{[integer] number of glyphs to show} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontsetForeach.Rd0000644000176000001440000000115712362217677016255 0ustar ripleyusers\alias{pangoFontsetForeach} \name{pangoFontsetForeach} \title{pangoFontsetForeach} \description{Iterates through all the fonts in a fontset, calling \code{func} for each one. If \code{func} returns \code{TRUE}, that stops the iteration.} \usage{pangoFontsetForeach(object, func, data)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontset}}] a \code{\link{PangoFontset}}} \item{\verb{func}}{[\code{\link{PangoFontsetForeachFunc}}] Callback function} \item{\verb{data}}{[R object] data to pass to the callback function} } \details{ Since 1.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetDragCompareFunc.Rd0000644000176000001440000000072512362217677017423 0ustar ripleyusers\alias{gtkCTreeSetDragCompareFunc} \name{gtkCTreeSetDragCompareFunc} \title{gtkCTreeSetDragCompareFunc} \description{ FIXME \strong{WARNING: \code{gtk_ctree_set_drag_compare_func} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetDragCompareFunc(object, cmp.func)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{cmp.func}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStartSelection.Rd0000644000176000001440000000074312362217677016623 0ustar ripleyusers\alias{gtkListStartSelection} \name{gtkListStartSelection} \title{gtkListStartSelection} \description{ Starts a selection (or part of selection) at the focused child. Only in \verb{GTK_SELECTION_EXTENDED} mode. \strong{WARNING: \code{gtk_list_start_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkListStartSelection(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetFixedWidth.Rd0000644000176000001440000000077512362217677020361 0ustar ripleyusers\alias{gtkTreeViewColumnGetFixedWidth} \name{gtkTreeViewColumnGetFixedWidth} \title{gtkTreeViewColumnGetFixedWidth} \description{Gets the fixed width of the column. This value is only meaning may not be the actual width of the column on the screen, just what is requested.} \usage{gtkTreeViewColumnGetFixedWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \value{[integer] the fixed width of the column} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetReceivesDefault.Rd0000644000176000001440000000116312362217677017677 0ustar ripleyusers\alias{gtkWidgetGetReceivesDefault} \name{gtkWidgetGetReceivesDefault} \title{gtkWidgetGetReceivesDefault} \description{Determines whether \code{widget} is alyways treated as default widget withing its toplevel when it has the focus, even if another widget is the default.} \usage{gtkWidgetGetReceivesDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{See \code{\link{gtkWidgetSetReceivesDefault}}. Since 2.18} \value{[logical] \code{TRUE} if \code{widget} acts as default widget when focussed, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetPattern.Rd0000644000176000001440000000113212362217677016046 0ustar ripleyusers\alias{gtkLabelSetPattern} \name{gtkLabelSetPattern} \title{gtkLabelSetPattern} \description{The pattern of underlines you want under the existing text within the \code{\link{GtkLabel}} widget. For example if the current text of the label says "FooBarBaz" passing a pattern of "___ ___" will underline "Foo" and "Baz" but not "Bar".} \usage{gtkLabelSetPattern(object, pattern)} \arguments{ \item{\verb{object}}{The \code{\link{GtkLabel}} you want to set the pattern to.} \item{\verb{pattern}}{The pattern as described above.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkScale.Rd0000644000176000001440000000773412362217677014022 0ustar ripleyusers\alias{GtkScale} \name{GtkScale} \title{GtkScale} \description{Base class for GtkHScale and GtkVScale} \section{Methods and Functions}{ \code{\link{gtkScaleSetDigits}(object, digits)}\cr \code{\link{gtkScaleSetDrawValue}(object, draw.value)}\cr \code{\link{gtkScaleSetValuePos}(object, pos)}\cr \code{\link{gtkScaleGetDigits}(object)}\cr \code{\link{gtkScaleGetDrawValue}(object)}\cr \code{\link{gtkScaleGetValuePos}(object)}\cr \code{\link{gtkScaleGetLayout}(object)}\cr \code{\link{gtkScaleGetLayoutOffsets}(object)}\cr \code{\link{gtkScaleAddMark}(object, value, position, markup = NULL)}\cr \code{\link{gtkScaleClearMarks}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GtkHScale +----GtkVScale}} \section{Interfaces}{GtkScale implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A \code{\link{GtkScale}} is a slider control used to select a numeric value. To use it, you'll probably want to investigate the methods on its base class, \code{\link{GtkRange}}, in addition to the methods for \code{\link{GtkScale}} itself. To set the value of a scale, you would normally use \code{\link{gtkRangeSetValue}}. To detect changes to the value, you would normally use the "value_changed" signal. The \code{\link{GtkScale}} widget is an abstract class, used only for deriving the subclasses \code{\link{GtkHScale}} and \code{\link{GtkVScale}}. To create a scale widget, call \code{\link{gtkHScaleNewWithRange}} or \code{\link{gtkVScaleNewWithRange}}.} \section{GtkScale as GtkBuildable}{GtkScale supports a custom element, which can contain multiple elements. The "value" and "position" attributes have the same meaning as \code{\link{gtkScaleAddMark}} parameters of the same name. If the element is not empty, its content is taken as the markup to show at the mark. It can be translated with the usual "translatable and "context" attributes.} \section{Structures}{\describe{\item{\verb{GtkScale}}{ The fields of the \code{\link{GtkScale}} struct should only be accessed via the accessor functions. }}} \section{Signals}{\describe{\item{\code{format-value(scale, value, user.data)}}{ Signal which allows you to change how the scale value is displayed. Connect a signal handler which returns an allocated string representing \code{value}. That string will then be used to display the scale's value. Here's an example signal handler which displays a value 1.0 as with "-->1.0<--". \preformatted{ format_value_callback <- function(scale, value) { return(paste("-->", format(value, nsmall=scale$getDigits()), "<--"), sep="") } } \describe{ \item{\code{scale}}{the object which received the signal} \item{\code{value}}{the value to format} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [character] allocated string representing \code{value} }}} \section{Properties}{\describe{ \item{\verb{digits} [integer : Read / Write]}{ The number of decimal places that are displayed in the value. Allowed values: [-1,64] Default value: 1 } \item{\verb{draw-value} [logical : Read / Write]}{ Whether the current value is displayed as a string next to the slider. Default value: TRUE } \item{\verb{value-pos} [\code{\link{GtkPositionType}} : Read / Write]}{ The position in which the current value is displayed. Default value: GTK_POS_TOP } }} \section{Style Properties}{\describe{ \item{\verb{slider-length} [integer : Read]}{ Length of scale's slider. Allowed values: >= 0 Default value: 31 } \item{\verb{value-spacing} [integer : Read]}{ Space between value text and the slider/trough area. Allowed values: >= 0 Default value: 2 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkScale.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowBeep.Rd0000644000176000001440000000067212362217677015050 0ustar ripleyusers\alias{gdkWindowBeep} \name{gdkWindowBeep} \title{gdkWindowBeep} \description{Emits a short beep associated to \code{window} in the appropriate display, if supported. Otherwise, emits a short beep on the display just as \code{\link{gdkDisplayBeep}}.} \usage{gdkWindowBeep(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeGetDefault.Rd0000644000176000001440000000110512362217677016635 0ustar ripleyusers\alias{gtkIconThemeGetDefault} \name{gtkIconThemeGetDefault} \title{gtkIconThemeGetDefault} \description{Gets the icon theme for the default screen. See \code{\link{gtkIconThemeGetForScreen}}.} \usage{gtkIconThemeGetDefault()} \details{Since 2.4} \value{[\code{\link{GtkIconTheme}}] A unique \code{\link{GtkIconTheme}} associated with the default screen. This icon theme is associated with the screen and can be used as long as the screen is open. Do not ref or unref it. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferEmitInsertedText.Rd0000644000176000001440000000107212362217677020435 0ustar ripleyusers\alias{gtkEntryBufferEmitInsertedText} \name{gtkEntryBufferEmitInsertedText} \title{gtkEntryBufferEmitInsertedText} \description{Used when subclassing \code{\link{GtkEntryBuffer}}} \usage{gtkEntryBufferEmitInsertedText(object, position, chars, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{position}}{position at which text was inserted} \item{\verb{chars}}{text that was inserted} \item{\verb{n.chars}}{number of characters inserted} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayResize.Rd0000644000176000001440000000073612362217677016234 0ustar ripleyusers\alias{pangoTabArrayResize} \name{pangoTabArrayResize} \title{pangoTabArrayResize} \description{Resizes a tab list. You must subsequently initialize any tabs that were added as a result of growing the list.} \usage{pangoTabArrayResize(object, new.size)} \arguments{ \item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}} \item{\verb{new.size}}{[integer] new size of the list} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyBase.Rd0000644000176000001440000000253012362217677016206 0ustar ripleyusers\alias{gtkWidgetModifyBase} \name{gtkWidgetModifyBase} \title{gtkWidgetModifyBase} \description{Sets the base color for a widget in a particular state. All other style values are left untouched. The base color is the background color used along with the text color (see \code{\link{gtkWidgetModifyText}}) for widgets such as \code{\link{GtkEntry}} and \code{\link{GtkTextView}}. See also \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetModifyBase(object, state, color = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{state}}{the state for which to set the base color} \item{\verb{color}}{the color to assign (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyBase}}. \emph{[ \acronym{allow-none} ]}} } \details{Note that "no window" widgets (which have the \code{GTK_NO_WINDOW} flag set) draw on their parent container's window and thus may not draw any background themselves. This is the case for e.g. \code{\link{GtkLabel}}. To modify the background of such widgets, you have to set the base color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a \code{\link{GtkEventBox}} widget and setting the base color on that.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemSetGroup.Rd0000644000176000001440000000060512362217677017214 0ustar ripleyusers\alias{gtkRadioMenuItemSetGroup} \name{gtkRadioMenuItemSetGroup} \title{gtkRadioMenuItemSetGroup} \description{Sets the group of a radio menu item, or changes it.} \usage{gtkRadioMenuItemSetGroup(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRadioMenuItem}}.} \item{\verb{group}}{the new group.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRemoveTag.Rd0000644000176000001440000000117412362217677016713 0ustar ripleyusers\alias{gtkTextBufferRemoveTag} \name{gtkTextBufferRemoveTag} \title{gtkTextBufferRemoveTag} \description{Emits the "remove-tag" signal. The default handler for the signal removes all occurrences of \code{tag} from the given range. \code{start} and \code{end} don't have to be in order.} \usage{gtkTextBufferRemoveTag(object, tag, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{tag}}{a \code{\link{GtkTextTag}}} \item{\verb{start}}{one bound of range to be untagged} \item{\verb{end}}{other bound of range to be untagged} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBestWithBoth.Rd0000644000176000001440000000107312362217677017173 0ustar ripleyusers\alias{gdkVisualGetBestWithBoth} \name{gdkVisualGetBestWithBoth} \title{gdkVisualGetBestWithBoth} \description{Combines \code{\link{gdkVisualGetBestWithDepth}} and \code{\link{gdkVisualGetBestWithType}}.} \usage{gdkVisualGetBestWithBoth(depth, visual.type)} \arguments{ \item{\verb{depth}}{a bit depth} \item{\verb{visual.type}}{a visual type} } \value{[\code{\link{GdkVisual}}] best visual with both \code{depth} and \code{visual.type}, or \code{NULL} if none. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPropertyGet.Rd0000644000176000001440000000504012362217677015263 0ustar ripleyusers\alias{gdkPropertyGet} \name{gdkPropertyGet} \title{gdkPropertyGet} \description{Retrieves a portion of the contents of a property. If the property does not exist, then the function returns \code{FALSE}, and \code{GDK_NONE} will be stored in \code{actual.property.type}.} \usage{gdkPropertyGet(object, property, type, offset, length, pdelete)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}.} \item{\verb{property}}{the property to retrieve.} \item{\verb{type}}{the desired property type, or \code{GDK_NONE}, if any type of data is acceptable. If this does not match the actual type, then \code{actual.format} and \code{actual.length} will be filled in, a warning will be printed to stderr and no data will be returned.} \item{\verb{offset}}{the offset into the property at which to begin retrieving data, in 4 byte units.} \item{\verb{length}}{the length of the data to retrieve in bytes. Data is considered to be retrieved in 4 byte chunks, so \code{length} will be rounded up to the next highest 4 byte boundary (so be careful not to pass a value that might overflow when rounded up).} \item{\verb{pdelete}}{if \code{TRUE}, delete the property after retrieving the data.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if data was successfully received and stored in \code{data}, otherwise \code{FALSE}.} \item{\verb{actual.property.type}}{location to store the actual type of the property.} \item{\verb{actual.format}}{location to store the actual return format of the data; either 8, 16 or 32 bits.} \item{\verb{actual.length}}{location to store the length of the retrieved data, in bytes. Data returned in the 32 bit format is stored in a long variable, so the actual number of 32 bit elements should be be calculated via \code{actual.length}/sizeof(glong) to ensure portability to 64 bit systems.} \item{\verb{data}}{location to store a pointer to the data. The retrieved data should be freed with \code{gFree()} when you are finished using it.} } \note{The \code{xgetwindowproperty()} function that \code{\link{gdkPropertyGet}} uses has a very confusing and complicated set of semantics. Unfortunately, \code{\link{gdkPropertyGet}} makes the situation worse instead of better (the semantics should be considered undefined), and also prints warnings to stderr in cases where it should return a useful error to the program. You are advised to use \code{xgetwindowproperty()} directly until a replacement function for \code{\link{gdkPropertyGet}} is provided.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOldEditableChanged.Rd0000644000176000001440000000067012362217677016445 0ustar ripleyusers\alias{gtkOldEditableChanged} \name{gtkOldEditableChanged} \title{gtkOldEditableChanged} \description{ Emits the ::changed signal on \code{old.editable}. \strong{WARNING: \code{gtk_old_editable_changed} is deprecated and should not be used in newly-written code.} } \usage{gtkOldEditableChanged(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkOldEditable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoColorFree.Rd0000644000176000001440000000055112362217677015220 0ustar ripleyusers\alias{pangoColorFree} \name{pangoColorFree} \title{pangoColorFree} \description{Frees a color allocated by \code{\link{pangoColorCopy}}.} \usage{pangoColorFree(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoColor}}] an allocated \code{\link{PangoColor}}, may be \code{NULL}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromIconSet.Rd0000644000176000001440000000072512362217677016633 0ustar ripleyusers\alias{gtkImageSetFromIconSet} \name{gtkImageSetFromIconSet} \title{gtkImageSetFromIconSet} \description{See \code{\link{gtkImageNewFromIconSet}} for details.} \usage{gtkImageSetFromIconSet(object, icon.set, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{icon.set}}{a \code{\link{GtkIconSet}}} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserUnselectAll.Rd0000644000176000001440000000056312362217677017723 0ustar ripleyusers\alias{gtkRecentChooserUnselectAll} \name{gtkRecentChooserUnselectAll} \title{gtkRecentChooserUnselectAll} \description{Unselects all the items inside \code{chooser}.} \usage{gtkRecentChooserUnselectAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetNColumns.Rd0000644000176000001440000000060312362217677017016 0ustar ripleyusers\alias{gtkTreeModelGetNColumns} \name{gtkTreeModelGetNColumns} \title{gtkTreeModelGetNColumns} \description{Returns the number of columns supported by \code{tree.model}.} \usage{gtkTreeModelGetNColumns(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModel}}.}} \value{[integer] The number of columns.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetGeometry.Rd0000644000176000001440000000303512362217677017271 0ustar ripleyusers\alias{gtkStatusIconGetGeometry} \name{gtkStatusIconGetGeometry} \title{gtkStatusIconGetGeometry} \description{Obtains information about the location of the status icon on screen. This information can be used to e.g. position popups like notification bubbles. } \usage{gtkStatusIconGetGeometry(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{See \code{\link{gtkStatusIconPositionMenu}} for a more convenient alternative for positioning menus. Note that some platforms do not allow GTK+ to provide this information, and even on platforms that do allow it, the information is not reliable unless the status icon is embedded in a notification area, see \code{\link{gtkStatusIconIsEmbedded}}. Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the location information has been filled in} \item{\verb{screen}}{return location for the screen, or \code{NULL} if the information is not needed. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{area}}{return location for the area occupied by the status icon, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{orientation}}{return location for the orientation of the panel in which the status icon is embedded, or \code{NULL}. A panel at the top or bottom of the screen is horizontal, a panel at the left or right is vertical. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileLoadContentsAsync.Rd0000644000176000001440000000230412362217677016653 0ustar ripleyusers\alias{gFileLoadContentsAsync} \name{gFileLoadContentsAsync} \title{gFileLoadContentsAsync} \description{Starts an asynchronous load of the \code{file}'s contents.} \usage{gFileLoadContentsAsync(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileLoadContents}} which is the synchronous version of this call. When the load operation has completed, \code{callback} will be called with \code{user} data. To finish the operation, call \code{\link{gFileLoadContentsFinish}} with the \code{\link{GAsyncResult}} returned by the \code{callback}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerSetScreen.Rd0000644000176000001440000000140012362217677017342 0ustar ripleyusers\alias{gtkRecentManagerSetScreen} \name{gtkRecentManagerSetScreen} \title{gtkRecentManagerSetScreen} \description{ Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage. \strong{WARNING: \code{gtk_recent_manager_set_screen} has been deprecated since version 2.12 and should not be used in newly-written code. This function has been deprecated and should not be used in newly written code. Calling this function has no effect.} } \usage{gtkRecentManagerSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionRectEqual.Rd0000644000176000001440000000073612362217677016037 0ustar ripleyusers\alias{gdkRegionRectEqual} \name{gdkRegionRectEqual} \title{gdkRegionRectEqual} \description{Finds out if a regions is the same as a rectangle.} \usage{gdkRegionRectEqual(object, rectangle)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{rectangle}}{a \code{\link{GdkRectangle}}} } \details{Since 2.18} \value{[logical] \code{TRUE} if \code{region} and \code{rectangle} are equal.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixTransformPoint.Rd0000644000176000001440000000077312362217677017511 0ustar ripleyusers\alias{cairoMatrixTransformPoint} \name{cairoMatrixTransformPoint} \title{cairoMatrixTransformPoint} \description{Transforms the point (\code{x}, \code{y}) by \code{matrix}.} \usage{cairoMatrixTransformPoint(matrix, x, y)} \arguments{ \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{x}}{[numeric] X position. An in/out parameter} \item{\verb{y}}{[numeric] Y position. An in/out parameter} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalConvertCase.Rd0000644000176000001440000000122312362217677016366 0ustar ripleyusers\alias{gdkKeyvalConvertCase} \name{gdkKeyvalConvertCase} \title{gdkKeyvalConvertCase} \description{Obtains the upper- and lower-case versions of the keyval \code{symbol}. Examples of keyvals are \verb{GDK_a}, \verb{GDK_Enter}, \verb{GDK_F1}, etc.} \usage{gdkKeyvalConvertCase(symbol)} \arguments{\item{\verb{symbol}}{a keyval}} \value{ A list containing the following elements: \item{\verb{lower}}{return location for lowercase version of \code{symbol}. \emph{[ \acronym{out} ]}} \item{\verb{upper}}{return location for uppercase version of \code{symbol}. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListChange.Rd0000644000176000001440000000166512362217677016223 0ustar ripleyusers\alias{pangoAttrListChange} \name{pangoAttrListChange} \title{pangoAttrListChange} \description{Insert the given attribute into the \code{\link{PangoAttrList}}. It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical.} \usage{pangoAttrListChange(object, attr)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} \item{\verb{attr}}{[\code{\link{PangoAttribute}}] the attribute to insert. Ownership of this value is assumed by the list.} } \details{This function is slower than \code{\link{pangoAttrListInsert}} for creating a attribute list in order (potentially much slower for large lists). However, \code{\link{pangoAttrListInsert}} is not suitable for continually changing a set of attributes since it never removes or combines existing attributes. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Text-Processing.Rd0000644000176000001440000001414512362217677016457 0ustar ripleyusers\alias{pango-Text-Processing} \alias{PangoContext} \alias{PangoItem} \alias{PangoAnalysis} \alias{PangoLogAttr} \name{pango-Text-Processing} \title{Rendering} \description{Functions to run the rendering pipeline} \section{Methods and Functions}{ \code{\link{pangoItemize}(context, text, start.index, length, attrs, cached.iter = NULL)}\cr \code{\link{pangoItemizeWithBaseDir}(context, base.dir, text, start.index, length, attrs, cached.iter = NULL)}\cr \code{\link{pangoItemCopy}(item)}\cr \code{\link{pangoItemNew}()}\cr \code{\link{pangoItemSplit}(orig, split.index, split.offset)}\cr \code{\link{pangoReorderItems}(logical.items)}\cr \code{\link{pangoContextSetFontMap}(object, font.map)}\cr \code{\link{pangoContextGetFontMap}(object)}\cr \code{\link{pangoContextGetFontDescription}(object)}\cr \code{\link{pangoContextSetFontDescription}(object, desc)}\cr \code{\link{pangoContextGetLanguage}(object)}\cr \code{\link{pangoContextSetLanguage}(object, language)}\cr \code{\link{pangoContextGetBaseDir}(object)}\cr \code{\link{pangoContextSetBaseDir}(object, direction)}\cr \code{\link{pangoContextGetBaseGravity}(object)}\cr \code{\link{pangoContextSetBaseGravity}(object, gravity)}\cr \code{\link{pangoContextGetGravity}(object)}\cr \code{\link{pangoContextGetGravityHint}(object)}\cr \code{\link{pangoContextSetGravityHint}(object, hint)}\cr \code{\link{pangoContextGetMatrix}(object)}\cr \code{\link{pangoContextSetMatrix}(object, matrix)}\cr \code{\link{pangoContextLoadFont}(object, desc)}\cr \code{\link{pangoContextLoadFontset}(object, desc, language)}\cr \code{\link{pangoContextGetMetrics}(object, desc, language = NULL)}\cr \code{\link{pangoContextListFamilies}(object)}\cr \code{\link{pangoBreak}(text, analysis)}\cr \code{\link{pangoGetLogAttrs}(text, level, language)}\cr \code{\link{pangoFindParagraphBoundary}(text, length = -1)}\cr \code{\link{pangoShape}(text, analysis, glyphs)}\cr } \section{Hierarchy}{\preformatted{GObject +----PangoContext}} \section{Detailed Description}{The Pango rendering pipeline takes a string of Unicode characters and converts it into glyphs. The functions described in this section accomplish various steps of this process.} \section{Structures}{\describe{ \item{\verb{PangoContext}}{ The \code{\link{PangoContext}} structure stores global information used to control the itemization process. } \item{\verb{PangoItem}}{ The \code{\link{PangoItem}} structure stores information about a segment of text. It contains the following fields: \describe{ \item{\verb{offset}}{[integer] the offset of the segment from the beginning of the string in bytes.} \item{\verb{length}}{[integer] the length of the segment in bytes.} \item{\verb{numChars}}{[integer] the length of the segment in characters.} \item{\verb{analysis}}{[\code{\link{PangoAnalysis}}] the properties of the segment.} } } \item{\verb{PangoAnalysis}}{ The \code{\link{PangoAnalysis}} structure stores information about the properties of a segment of text. It has the following fields: \describe{ \item{\verb{font}}{[\code{\link{PangoFont}}] the engine for doing rendering-system-dependent processing.} \item{\verb{level}}{[raw] the engine for doing rendering-system-independent processing.} \item{\verb{language}}{[\code{\link{PangoLanguage}}] the font for this segment.} \item{\verb{extraAttrs}}{[list] the bidirectional level for this segment.} } } \item{\verb{PangoLogAttr}}{ The \code{\link{PangoLogAttr}} structure stores information about the attributes of a single character. \describe{ \item{\verb{isLineBreak}}{[numeric] if set, can break line in front of character} \item{\verb{isMandatoryBreak}}{[numeric] if set, must break line in front of character} \item{\verb{isCharBreak}}{[numeric] if set, can break here when doing character wrapping} \item{\verb{isWhite}}{[numeric] is whitespace character} \item{\verb{isCursorPosition}}{[numeric] if set, cursor can appear in front of character. i.e. this is a grapheme boundary, or the first character in the text. This flag implements Unicode's Grapheme Cluster Boundaries (\url{http://www.unicode.org/reports/tr29/}) semantics.} \item{\verb{isWordStart}}{[numeric] is first character in a word} \item{\verb{isWordEnd}}{[numeric] is first non-word char after a word Note that in degenerate cases, you could have both \code{is.word.start} and \code{is.word.end} set for some character.} \item{\verb{isSentenceBoundary}}{[numeric] is a sentence boundary. There are two ways to divide sentences. The first assigns all inter-sentence whitespace/control/format chars to some sentence, so all chars are in some sentence; \code{is.sentence.boundary} denotes the boundaries there. The second way doesn't assign between-sentence spaces, etc. to any sentence, so \code{is.sentence.start}/\code{is.sentence.end} mark the boundaries of those sentences.} \item{\verb{isSentenceStart}}{[numeric] is first character in a sentence} \item{\verb{isSentenceEnd}}{[numeric] is first char after a sentence. Note that in degenerate cases, you could have both \code{is.sentence.start} and \code{is.sentence.end} set for some character. (e.g. no space after a period, so the next sentence starts right away)} \item{\verb{backspaceDeletesCharacter}}{[numeric] if set, backspace deletes one character rather than the entire grapheme cluster. This field is only meaningful on grapheme boundaries (where \code{is.cursor.position} is set). In some languages, the full grapheme (e.g. letter + diacritics) is considered a unit, while in others, each decomposed character in the grapheme is a unit. In the default implementation of \code{\link{pangoBreak}}, this bit is set on all grapheme boundaries except those following Latin, Cyrillic or Greek base characters.} } } }} \references{\url{http://library.gnome.org/devel//pango/pango-Text-Processing.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowRemoveAccelGroup.Rd0000644000176000001440000000064612362217677017420 0ustar ripleyusers\alias{gtkWindowRemoveAccelGroup} \name{gtkWindowRemoveAccelGroup} \title{gtkWindowRemoveAccelGroup} \description{Reverses the effects of \code{\link{gtkWindowAddAccelGroup}}.} \usage{gtkWindowRemoveAccelGroup(object, accel.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetOutputBin.Rd0000644000176000001440000000064312362217677020152 0ustar ripleyusers\alias{gtkPrintSettingsGetOutputBin} \name{gtkPrintSettingsGetOutputBin} \title{gtkPrintSettingsGetOutputBin} \description{Gets the value of \code{GTK_PRINT_SETTINGS_OUTPUT_BIN}.} \usage{gtkPrintSettingsGetOutputBin(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[character] the output bin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetAcceptFocus.Rd0000644000176000001440000000123112362217677017040 0ustar ripleyusers\alias{gdkWindowSetAcceptFocus} \name{gdkWindowSetAcceptFocus} \title{gdkWindowSetAcceptFocus} \description{Setting \code{accept.focus} to \code{FALSE} hints the desktop environment that the window doesn't want to receive input focus. } \usage{gdkWindowSetAcceptFocus(object, accept.focus)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{accept.focus}}{\code{TRUE} if the window should receive input focus} } \details{On X, it is the responsibility of the window manager to interpret this hint. ICCCM-compliant window manager usually respect it. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRowChanged.Rd0000644000176000001440000000077012362217677016646 0ustar ripleyusers\alias{gtkTreeModelRowChanged} \name{gtkTreeModelRowChanged} \title{gtkTreeModelRowChanged} \description{Emits the "row-changed" signal on \code{tree.model}.} \usage{gtkTreeModelRowChanged(object, path, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A \code{\link{GtkTreePath}} pointing to the changed row} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} pointing to the changed row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceContents.Rd0000644000176000001440000000371412362217677016357 0ustar ripleyusers\alias{gFileReplaceContents} \name{gFileReplaceContents} \title{gFileReplaceContents} \description{Replaces the contents of \code{file} with \code{contents} of \code{length} bytes. If \code{etag} is specified (not \code{NULL}) any existing file must have that etag, or the error \code{G_IO_ERROR_WRONG_ETAG} will be returned.} \usage{gFileReplaceContents(object, contents, length, etag, make.backup, flags = "G_FILE_CREATE_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{contents}}{a string containing the new contents for \code{file}.} \item{\verb{length}}{the length of \code{contents} in bytes.} \item{\verb{etag}}{the old entity tag for the document, or \code{NULL}} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{make.backup} is \code{TRUE}, this function will attempt to make a backup of \code{file}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. The returned \code{new.etag} can be used to verify that the file hasn't changed the next time it is saved over.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{new.etag}}{a location to a new entity tag for the document. This should be freed with \code{gFree()} when no longer needed, or \code{NULL}} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForUris.Rd0000644000176000001440000000147112362217677017061 0ustar ripleyusers\alias{gtkClipboardWaitForUris} \name{gtkClipboardWaitForUris} \title{gtkClipboardWaitForUris} \description{Requests the contents of the clipboard as URIs. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{Since 2.14} \value{[character] or \code{NULL} if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into URI form.). \emph{[ \acronym{array} zero-terminated=1][ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilenameCompleterSetDirsOnly.Rd0000644000176000001440000000072412362217677020217 0ustar ripleyusers\alias{gFilenameCompleterSetDirsOnly} \name{gFilenameCompleterSetDirsOnly} \title{gFilenameCompleterSetDirsOnly} \description{If \code{dirs.only} is \code{TRUE}, \code{completer} will only complete directory names, and not file names.} \usage{gFilenameCompleterSetDirsOnly(object, dirs.only)} \arguments{ \item{\verb{object}}{the filename completer.} \item{\verb{dirs.only}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetShowStyle.Rd0000644000176000001440000000100412362217677017453 0ustar ripleyusers\alias{gtkFontButtonSetShowStyle} \name{gtkFontButtonSetShowStyle} \title{gtkFontButtonSetShowStyle} \description{If \code{show.style} is \code{TRUE}, the font style will be displayed along with name of the selected font.} \usage{gtkFontButtonSetShowStyle(object, show.style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{show.style}}{\code{TRUE} if font style should be displayed in label.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowNew.Rd0000644000176000001440000000146512362217677014727 0ustar ripleyusers\alias{gdkWindowNew} \name{gdkWindowNew} \title{gdkWindowNew} \description{Creates a new \code{\link{GdkWindow}} using the attributes from \code{attributes}. See \code{\link{GdkWindowAttr}} and \code{\link{GdkWindowAttributesType}} for more details. Note: to use this on displays other than the default display, \code{parent} must be specified.} \usage{gdkWindowNew(parent = NULL, attributes)} \arguments{ \item{\verb{parent}}{a \code{\link{GdkWindow}}, or \code{NULL} to create the window as a child of the default root window for the default display. \emph{[ \acronym{allow-none} ]}} \item{\verb{attributes}}{attributes of the new window} } \value{[\code{\link{GdkWindow}}] the new \code{\link{GdkWindow}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerGetLimit.Rd0000644000176000001440000000075012362217677017174 0ustar ripleyusers\alias{gtkRecentManagerGetLimit} \name{gtkRecentManagerGetLimit} \title{gtkRecentManagerGetLimit} \description{Gets the maximum number of items that the \code{\link{gtkRecentManagerGetItems}} function should return.} \usage{gtkRecentManagerGetLimit(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentManager}}}} \details{Since 2.10} \value{[integer] the number of items to return, or -1 for every item.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarResponse.Rd0000644000176000001440000000062112362217677016056 0ustar ripleyusers\alias{gtkInfoBarResponse} \name{gtkInfoBarResponse} \title{gtkInfoBarResponse} \description{Emits the 'response' signal with the given \code{response.id}.} \usage{gtkInfoBarResponse(object, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{response.id}}{a response ID} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSimpleAnimAddFrame.Rd0000644000176000001440000000077012362217677017604 0ustar ripleyusers\alias{gdkPixbufSimpleAnimAddFrame} \name{gdkPixbufSimpleAnimAddFrame} \title{gdkPixbufSimpleAnimAddFrame} \description{Adds a new frame to \code{animation}. The \code{pixbuf} must have the dimensions specified when the animation was constructed.} \usage{gdkPixbufSimpleAnimAddFrame(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbufSimpleAnim}}} \item{\verb{pixbuf}}{the pixbuf to add} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetExpanded.Rd0000644000176000001440000000100312362217677016671 0ustar ripleyusers\alias{gtkExpanderGetExpanded} \name{gtkExpanderGetExpanded} \title{gtkExpanderGetExpanded} \description{Queries a \code{\link{GtkExpander}} and returns its current state. Returns \code{TRUE} if the child widget is revealed.} \usage{gtkExpanderGetExpanded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{See \code{\link{gtkExpanderSetExpanded}}. Since 2.4} \value{[logical] the current state of the expander.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetTextLength.Rd0000644000176000001440000000105312362217677016567 0ustar ripleyusers\alias{gtkEntryGetTextLength} \name{gtkEntryGetTextLength} \title{gtkEntryGetTextLength} \description{Retrieves the current length of the text in \code{entry}. } \usage{gtkEntryGetTextLength(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{This is equivalent to: \preformatted{gtk_entry_buffer_get_length (gtk_entry_get_buffer (entry)); } Since 2.14} \value{[integer] the current number of characters in \code{\link{GtkEntry}}, or 0 if there are none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageSetFromGicon.Rd0000644000176000001440000000070012362217677016317 0ustar ripleyusers\alias{gtkImageSetFromGicon} \name{gtkImageSetFromGicon} \title{gtkImageSetFromGicon} \description{See \code{\link{gtkImageNewFromGicon}} for details.} \usage{gtkImageSetFromGicon(object, icon, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImage}}} \item{\verb{icon}}{an icon} \item{\verb{size}}{an icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGetMounts.Rd0000644000176000001440000000060512362217677017147 0ustar ripleyusers\alias{gVolumeMonitorGetMounts} \name{gVolumeMonitorGetMounts} \title{gVolumeMonitorGetMounts} \description{Gets a list of the mounts on the system.} \usage{gVolumeMonitorGetMounts(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolumeMonitor}}.}} \value{[list] a \verb{list} of \code{\link{GMount}} objects.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataSetUris.Rd0000644000176000001440000000112412362217677017054 0ustar ripleyusers\alias{gtkSelectionDataSetUris} \name{gtkSelectionDataSetUris} \title{gtkSelectionDataSetUris} \description{Sets the contents of the selection from a list of URIs. The string is converted to the form determined by \code{selection.data->target}.} \usage{gtkSelectionDataSetUris(object, uris)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSelectionData}}} \item{\verb{uris}}{a list of strings holding URIs} } \details{Since 2.6} \value{[logical] \code{TRUE} if the selection was successfully set, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetPaperSize.Rd0000644000176000001440000000063712362217677017206 0ustar ripleyusers\alias{gtkPageSetupGetPaperSize} \name{gtkPageSetupGetPaperSize} \title{gtkPageSetupGetPaperSize} \description{Gets the paper size of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupGetPaperSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPageSetup}}}} \details{Since 2.10} \value{[\code{\link{GtkPaperSize}}] the paper size} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetPageComplete.Rd0000644000176000001440000000072712362217677017725 0ustar ripleyusers\alias{gtkAssistantGetPageComplete} \name{gtkAssistantGetPageComplete} \title{gtkAssistantGetPageComplete} \description{Gets whether \code{page} is complete.} \usage{gtkAssistantGetPageComplete(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} } \details{Since 2.10} \value{[logical] \code{TRUE} if \code{page} is complete.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressGetNativeSize.Rd0000644000176000001440000000106512362217677017663 0ustar ripleyusers\alias{gSocketAddressGetNativeSize} \name{gSocketAddressGetNativeSize} \title{gSocketAddressGetNativeSize} \description{Gets the size of \code{address}'s native \verb{structsockaddr}. You can use this to allocate memory to pass to \code{\link{gSocketAddressToNative}}.} \usage{gSocketAddressGetNativeSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketAddress}}}} \details{Since 2.22} \value{[integer] the size of the native \verb{structsockaddr} that \code{address} represents} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetIndexInParent.Rd0000644000176000001440000000100712362217677017307 0ustar ripleyusers\alias{atkObjectGetIndexInParent} \name{atkObjectGetIndexInParent} \title{atkObjectGetIndexInParent} \description{Gets the 0-based index of this accessible in its parent; returns -1 if the accessible does not have an accessible parent.} \usage{atkObjectGetIndexInParent(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[integer] an integer which is the index of the accessible in its parent} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowAddAccelGroup.Rd0000644000176000001440000000102312362217677016641 0ustar ripleyusers\alias{gtkWindowAddAccelGroup} \name{gtkWindowAddAccelGroup} \title{gtkWindowAddAccelGroup} \description{Associate \code{accel.group} with \code{window}, such that calling \code{\link{gtkAccelGroupsActivate}} on \code{window} will activate accelerators in \code{accel.group}.} \usage{gtkWindowAddAccelGroup(object, accel.group)} \arguments{ \item{\verb{object}}{window to attach accelerator group to} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferMoveMark.Rd0000644000176000001440000000100312362217677016532 0ustar ripleyusers\alias{gtkTextBufferMoveMark} \name{gtkTextBufferMoveMark} \title{gtkTextBufferMoveMark} \description{Moves \code{mark} to the new location \code{where}. Emits the "mark-set" signal as notification of the move.} \usage{gtkTextBufferMoveMark(object, mark, where)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mark}}{a \code{\link{GtkTextMark}}} \item{\verb{where}}{new location for \code{mark} in \code{buffer}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetMinimumKeyLength.Rd0000644000176000001440000000074412362217677021767 0ustar ripleyusers\alias{gtkEntryCompletionGetMinimumKeyLength} \name{gtkEntryCompletionGetMinimumKeyLength} \title{gtkEntryCompletionGetMinimumKeyLength} \description{Returns the minimum key length as set for \code{completion}.} \usage{gtkEntryCompletionGetMinimumKeyLength(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.}} \details{Since 2.4} \value{[integer] The currently used minimum key length.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewBackwardDisplayLineStart.Rd0000644000176000001440000000174312362217677021417 0ustar ripleyusers\alias{gtkTextViewBackwardDisplayLineStart} \name{gtkTextViewBackwardDisplayLineStart} \title{gtkTextViewBackwardDisplayLineStart} \description{Moves the given \code{iter} backward to the next display line start. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the \code{\link{GtkTextBuffer}}.} \usage{gtkTextViewBackwardDisplayLineStart(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{[logical] \code{TRUE} if \code{iter} was moved and is not on the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetFontMatrix.Rd0000644000176000001440000000112012362217677020020 0ustar ripleyusers\alias{cairoScaledFontGetFontMatrix} \name{cairoScaledFontGetFontMatrix} \title{cairoScaledFontGetFontMatrix} \description{Stores the font matrix with which \code{scaled.font} was created into \code{matrix}.} \usage{cairoScaledFontGetFontMatrix(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.2} \value{ A list containing the following elements: \item{\verb{font.matrix}}{[\code{\link{CairoMatrix}}] return value for the matrix} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/idle.Rd0000644000176000001440000000346111766145227013231 0ustar ripleyusers\name{idle} \alias{gtkAddIdle} \alias{gtkRemoveIdle} \title{Control a background/idle function} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions allow one to register and remove a function that is called whenever Gtk has nothing else to do. In other words, these are background tasks that have less priority than timers and user interface events. } \usage{ gtkAddIdle(f, data=NULL) gtkRemoveIdle(id) } \arguments{ \item{f}{ the function should take one or zero arguments depending on whether the argument \code{data} is given. The function should return a logical value. If it returns \code{FALSE}, the timer is removed. If it returns \code{TRUE}, the timer is re-registered and will be called after \code{interval} milliseconds. } \item{data}{a value, which if specified, will be passed to the function \code{f} when it is invoked. This can be used to parameterize the function to have different functions. The same effect can be obtained using closures. } \item{id}{the object identifying the idle function in Gtk that was returned by a call to \code{gtkAddTimeout}.} } \value{ \code{gtkAddTimeout} returns an object of class \code{"GtkIdleId"}. This is an integer giving the identifier returned by the low-level Gtk interface. } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) This does not currently work when running directly in R. However, when running R inside another application such as GGobi, Gnumeric, etc. it and other event-loop facilities will work. } \seealso{ \code{\link{gtkAddTimeout}} \code{\link{gtkRemoveTimeout}} \code{\link{gtkAddCallback}} } \keyword{interface} \keyword{internal} RGtk2/man/gtkMainDoEvent.Rd0000644000176000001440000000111312362217677015165 0ustar ripleyusers\alias{gtkMainDoEvent} \name{gtkMainDoEvent} \title{gtkMainDoEvent} \description{Processes a single GDK event. This is public only to allow filtering of events between GDK and GTK+. You will not usually need to call this function directly.} \usage{gtkMainDoEvent(event)} \arguments{\item{\verb{event}}{An event to process (normally) passed by GDK.}} \details{While you should not call this function directly, you might want to know how exactly events are handled. So here is what this function does with the event:} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInputStreamQueryInfoFinish.Rd0000644000176000001440000000134612362217677020543 0ustar ripleyusers\alias{gFileInputStreamQueryInfoFinish} \name{gFileInputStreamQueryInfoFinish} \title{gFileInputStreamQueryInfoFinish} \description{Finishes an asynchronous info query operation.} \usage{gFileInputStreamQueryInfoFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] \code{\link{GFileInfo}}.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoGetBaseSize.Rd0000644000176000001440000000131612362217677016613 0ustar ripleyusers\alias{gtkIconInfoGetBaseSize} \name{gtkIconInfoGetBaseSize} \title{gtkIconInfoGetBaseSize} \description{Gets the base size for the icon. The base size is a size for the icon that was specified by the icon theme creator. This may be different than the actual size of image; an example of this is small emblem icons that can be attached to a larger icon. These icons will be given the same base size as the larger icons to which they are attached.} \usage{gtkIconInfoGetBaseSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{[integer] the base size, or 0, if no base size is known for the icon.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonNewWithLabel.Rd0000644000176000001440000000105412362217677017357 0ustar ripleyusers\alias{gtkLinkButtonNewWithLabel} \name{gtkLinkButtonNewWithLabel} \title{gtkLinkButtonNewWithLabel} \description{Creates a new \code{\link{GtkLinkButton}} containing a label.} \usage{gtkLinkButtonNewWithLabel(uri, label = NULL, show = TRUE)} \arguments{ \item{\verb{uri}}{a valid URI} \item{\verb{label}}{the text of the button. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \value{[\code{\link{GtkWidget}}] a new link button widget. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeMatcherMatchesOnly.Rd0000644000176000001440000000115612362217677020702 0ustar ripleyusers\alias{gFileAttributeMatcherMatchesOnly} \name{gFileAttributeMatcherMatchesOnly} \title{gFileAttributeMatcherMatchesOnly} \description{Checks if a attribute matcher only matches a given attribute. Always returns \code{FALSE} if "*" was used when creating the matcher.} \usage{gFileAttributeMatcherMatchesOnly(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileAttributeMatcher}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[logical] \code{TRUE} if the matcher only matches \code{attribute}. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetSelectedColumns.Rd0000644000176000001440000000133212362217677017512 0ustar ripleyusers\alias{atkTableGetSelectedColumns} \name{atkTableGetSelectedColumns} \title{atkTableGetSelectedColumns} \description{Gets the selected columns of the table by initializing **selected with the selected column numbers.} \usage{atkTableGetSelectedColumns(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface}} \value{ A list containing the following elements: \item{retval}{[integer] a gint representing the number of selected columns, or \code{0} if value does not implement this interface.} \item{\verb{selected}}{[integer] a \verb{integer}** that is to contain the selected columns numbers} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarNew.Rd0000644000176000001440000000050612362217677015204 0ustar ripleyusers\alias{gtkCalendarNew} \name{gtkCalendarNew} \title{gtkCalendarNew} \description{Creates a new calendar, with the current date being selected.} \usage{gtkCalendarNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a newly \code{\link{GtkCalendar}} widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetShowPrivate.Rd0000644000176000001440000000077412362217677020443 0ustar ripleyusers\alias{gtkRecentChooserSetShowPrivate} \name{gtkRecentChooserSetShowPrivate} \title{gtkRecentChooserSetShowPrivate} \description{Whether to show recently used resources marked registered as private.} \usage{gtkRecentChooserSetShowPrivate(object, show.private)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{show.private}}{\code{TRUE} to show private items, \code{FALSE} otherwise} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayClose.Rd0000644000176000001440000000056612362217677015402 0ustar ripleyusers\alias{gdkDisplayClose} \name{gdkDisplayClose} \title{gdkDisplayClose} \description{Closes the connection to the windowing system for the given display, and cleans up associated resources.} \usage{gdkDisplayClose(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSvgSurfaceRestrictToVersion.Rd0000644000176000001440000000145312362217677020774 0ustar ripleyusers\alias{cairoSvgSurfaceRestrictToVersion} \name{cairoSvgSurfaceRestrictToVersion} \title{cairoSvgSurfaceRestrictToVersion} \description{Restricts the generated SVG file to \code{version}. See \code{\link{cairoSvgGetVersions}} for a list of available version values that can be used here.} \usage{cairoSvgSurfaceRestrictToVersion(surface, version)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a SVG \code{\link{CairoSurface}}} \item{\verb{version}}{[\code{\link{CairoSvgVersion}}] SVG version} } \details{This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetHeight.Rd0000644000176000001440000000342412362217677016424 0ustar ripleyusers\alias{pangoLayoutSetHeight} \name{pangoLayoutSetHeight} \title{pangoLayoutSetHeight} \description{Sets the height to which the \code{\link{PangoLayout}} should be ellipsized at. There are two different behaviors, based on whether \code{height} is positive or negative.} \usage{pangoLayoutSetHeight(object, height)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}.} \item{\verb{height}}{[integer] the desired height of the layout in Pango units if positive, or desired number of lines if negative.} } \details{If \code{height} is positive, it will be the maximum height of the layout. Only lines would be shown that would fit, and if there is any text omitted, an ellipsis added. At least one line is included in each paragraph regardless of how small the height value is. A value of zero will render exactly one line for the entire layout. If \code{height} is negative, it will be the (negative of) maximum number of lines per paragraph. That is, the total number of lines shown may well be more than this value if the layout contains multiple paragraphs of text. The default value of -1 means that first line of each paragraph is ellipsized. This behvaior may be changed in the future to act per layout instead of per paragraph. File a bug against pango at http://bugzilla.gnome.org/ (\url{http://bugzilla.gnome.org/}) if your code relies on this behavior. Height setting only has effect if a positive width is set on \code{layout} and ellipsization mode of \code{layout} is not \code{PANGO_ELLIPSIZE_NONE}. The behavior is undefined if a height other than -1 is set and ellipsization mode is set to \code{PANGO_ELLIPSIZE_NONE}, and may change in the future. Since 1.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapNewForFontType.Rd0000644000176000001440000000147212362217677020477 0ustar ripleyusers\alias{pangoCairoFontMapNewForFontType} \name{pangoCairoFontMapNewForFontType} \title{pangoCairoFontMapNewForFontType} \description{Creates a new \code{\link{PangoCairoFontMap}} object of the type suitable to be used with cairo font backend of type \code{fonttype}.} \usage{pangoCairoFontMapNewForFontType(fonttype)} \arguments{\item{\verb{fonttype}}{[\code{\link{CairoFontType}}] desired \code{\link{CairoFontType}}}} \details{In most cases one should simply use @\code{\link{pangoCairoFontMapNew}}, or in fact in most of those cases, just use @\code{\link{pangoCairoFontMapGetDefault}}. Since 1.18} \value{[\code{\link{PangoFontMap}}] or \code{NULL} if the requested cairo font backend is not supported / compiled in.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceNew.Rd0000644000176000001440000000140712362217677016702 0ustar ripleyusers\alias{gtkTreeRowReferenceNew} \name{gtkTreeRowReferenceNew} \title{gtkTreeRowReferenceNew} \description{Creates a row reference based on \code{path}. This reference will keep pointing to the node pointed to by \code{path}, so long as it exists. It listens to all signals emitted by \code{model}, and updates its path appropriately. If \code{path} isn't a valid path in \code{model}, then \code{NULL} is returned.} \usage{gtkTreeRowReferenceNew(model, path)} \arguments{ \item{\verb{model}}{A \code{\link{GtkTreeModel}}} \item{\verb{path}}{A valid \code{\link{GtkTreePath}} to monitor} } \value{[\code{\link{GtkTreeRowReference}}] A newly allocated \code{\link{GtkTreeRowReference}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoTextExtents.Rd0000644000176000001440000000233612362217677015633 0ustar ripleyusers\alias{cairoTextExtents} \name{cairoTextExtents} \title{cairoTextExtents} \description{Gets the extents for a string of text. The extents describe a user-space rectangle that encloses the "inked" portion of the text, (as it would be drawn by \code{\link{cairoShowText}}). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by \code{\link{cairoShowText}}.} \usage{cairoTextExtents(cr, utf8)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{utf8}}{[char] a string of text encoded in UTF-8, or \code{NULL}} } \details{Note that whitespace characters do not directly contribute to the size of the rectangle (extents.width and extents.height). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the x_advance and y_advance values. } \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoTextExtents}}] a \code{\link{CairoTextExtents}} object into which the results will be stored} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetWrapLicense.Rd0000644000176000001440000000072512362217677020027 0ustar ripleyusers\alias{gtkAboutDialogSetWrapLicense} \name{gtkAboutDialogSetWrapLicense} \title{gtkAboutDialogSetWrapLicense} \description{Sets whether the license text in \code{about} is automatically wrapped.} \usage{gtkAboutDialogSetWrapLicense(object, wrap.license)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{wrap.license}}{whether to wrap the license} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetExtraWidget.Rd0000644000176000001440000000074112362217677020034 0ustar ripleyusers\alias{gtkFileChooserGetExtraWidget} \name{gtkFileChooserGetExtraWidget} \title{gtkFileChooserGetExtraWidget} \description{Gets the current preview widget; see \code{\link{gtkFileChooserSetExtraWidget}}.} \usage{gtkFileChooserGetExtraWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] the current extra widget, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetInt.Rd0000644000176000001440000000066112362217677016753 0ustar ripleyusers\alias{gtkPrintSettingsGetInt} \name{gtkPrintSettingsGetInt} \title{gtkPrintSettingsGetInt} \description{Returns the integer value of \code{key}, or 0.} \usage{gtkPrintSettingsGetInt(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{Since 2.10} \value{[integer] the integer value of \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteUnsetStyle.Rd0000644000176000001440000000070212362217677017313 0ustar ripleyusers\alias{gtkToolPaletteUnsetStyle} \name{gtkToolPaletteUnsetStyle} \title{gtkToolPaletteUnsetStyle} \description{Unsets a toolbar style set with \code{\link{gtkToolPaletteSetStyle}}, so that user preferences will be used to determine the toolbar style.} \usage{gtkToolPaletteUnsetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkNotifyStartupCompleteWithId.Rd0000644000176000001440000000126412362217677020440 0ustar ripleyusers\alias{gdkNotifyStartupCompleteWithId} \name{gdkNotifyStartupCompleteWithId} \title{gdkNotifyStartupCompleteWithId} \description{Indicates to the GUI environment that the application has finished loading, using a given identifier.} \usage{gdkNotifyStartupCompleteWithId(id)} \arguments{\item{\verb{id}}{a startup-notification identifier, for which notification process should be completed}} \details{GTK+ will call this function automatically for \code{\link{GtkWindow}} with custom startup-notification identifier unless \code{\link{gtkWindowSetAutoStartupNotification}} is called to disable that feature. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterNew.Rd0000644000176000001440000000114412362217677016520 0ustar ripleyusers\alias{gtkTreeModelFilterNew} \name{gtkTreeModelFilterNew} \title{gtkTreeModelFilterNew} \description{Creates a new \code{\link{GtkTreeModel}}, with \code{child.model} as the child_model and \code{root} as the virtual root.} \usage{gtkTreeModelFilterNew(child.model, root = NULL)} \arguments{ \item{\verb{child.model}}{A \code{\link{GtkTreeModel}}.} \item{\verb{root}}{A \code{\link{GtkTreePath}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \value{[\code{\link{GtkTreeModel}}] A new \code{\link{GtkTreeModel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererPixbufNew.Rd0000644000176000001440000000135312362217677017220 0ustar ripleyusers\alias{gtkCellRendererPixbufNew} \name{gtkCellRendererPixbufNew} \title{gtkCellRendererPixbufNew} \description{Creates a new \code{\link{GtkCellRendererPixbuf}}. Adjust rendering parameters using object properties. Object properties can be set globally (with \code{\link{gObjectSet}}). Also, with \code{\link{GtkTreeViewColumn}}, you can bind a property to a value in a \code{\link{GtkTreeModel}}. For example, you can bind the "pixbuf" property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the \code{\link{GtkTreeView}}.} \usage{gtkCellRendererPixbufNew()} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrLetterSpacingNew.Rd0000644000176000001440000000100612362217677017405 0ustar ripleyusers\alias{pangoAttrLetterSpacingNew} \name{pangoAttrLetterSpacingNew} \title{pangoAttrLetterSpacingNew} \description{Create a new letter-spacing attribute.} \usage{pangoAttrLetterSpacingNew(letter.spacing)} \arguments{\item{\verb{letter.spacing}}{[integer] amount of extra space to add between graphemes of the text, in Pango units.}} \details{ Since 1.6} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetModel.Rd0000644000176000001440000000134512362217677016170 0ustar ripleyusers\alias{gtkComboBoxSetModel} \name{gtkComboBoxSetModel} \title{gtkComboBoxSetModel} \description{Sets the model used by \code{combo.box} to be \code{model}. Will unset a previously set model (if applicable). If model is \code{NULL}, then it will unset the model.} \usage{gtkComboBoxSetModel(object, model = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}} \item{\verb{model}}{A \code{\link{GtkTreeModel}}. \emph{[ \acronym{allow-none} ]}} } \details{Note that this function does not clear the cell renderers, you have to call \code{\link{gtkCellLayoutClear}} yourself if you need to set up different cell renderers for the new model. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextSetRunAttributes.Rd0000644000176000001440000000202312362217677020575 0ustar ripleyusers\alias{atkEditableTextSetRunAttributes} \name{atkEditableTextSetRunAttributes} \title{atkEditableTextSetRunAttributes} \description{Sets the attributes for a specified range. See the ATK_ATTRIBUTE functions (such as \verb{ATK_ATTRIBUTE_LEFT_MARGIN}) for examples of attributes that can be set. Note that other attributes that do not have corresponding ATK_ATTRIBUTE functions may also be set for certain text widgets.} \usage{atkEditableTextSetRunAttributes(object, attrib.set, start.offset, end.offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{attrib.set}}{[\code{\link{AtkAttributeSet}}] an \code{\link{AtkAttributeSet}}} \item{\verb{start.offset}}{[integer] start of range in which to set attributes} \item{\verb{end.offset}}{[integer] end of range in which to set attributes} } \value{[logical] \code{TRUE} if attributes successfully set for the specified range, otherwise \code{FALSE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGetToolkitName.Rd0000644000176000001440000000054512362217677015704 0ustar ripleyusers\alias{atkGetToolkitName} \name{atkGetToolkitName} \title{atkGetToolkitName} \description{Gets name string for the GUI toolkit implementing ATK for this application.} \usage{atkGetToolkitName()} \value{[character] name string for the GUI toolkit implementing ATK for this application} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableDisconnect.Rd0000644000176000001440000000161712362217677016665 0ustar ripleyusers\alias{gCancellableDisconnect} \name{gCancellableDisconnect} \title{gCancellableDisconnect} \description{Disconnects a handler from an cancellable instance similar to \code{\link{gSignalHandlerDisconnect}} but ensures that once this function returns the handler will not run anymore in any thread.} \usage{gCancellableDisconnect(object, handler.id)} \arguments{ \item{\verb{object}}{A \code{\link{GCancellable}} or \code{NULL}.} \item{\verb{handler.id}}{Handler id of the handler to be disconnected, or \code{0}.} } \details{This avoids a race condition where a thread cancels at the same time as the cancellable operation is finished and the signal handler is removed. See \verb{"cancelled"} for details on how to use this. If \code{cancellable} is \code{NULL} or \code{handler.id} is \code{0} this function does nothing. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGObjectAccessibleGetObject.Rd0000644000176000001440000000103412362217677020072 0ustar ripleyusers\alias{atkGObjectAccessibleGetObject} \name{atkGObjectAccessibleGetObject} \title{atkGObjectAccessibleGetObject} \description{Gets the GObject for which \code{obj} is the accessible object.} \usage{atkGObjectAccessibleGetObject(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkGObjectAccessible}}] a \code{\link{AtkGObjectAccessible}}}} \value{[\code{\link{GObject}}] a \code{\link{GObject}} which is the object for which \code{obj} is the accessible object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoHasAttribute.Rd0000644000176000001440000000100512362217677016470 0ustar ripleyusers\alias{gFileInfoHasAttribute} \name{gFileInfoHasAttribute} \title{gFileInfoHasAttribute} \description{Checks if a file info structure has an attribute named \code{attribute}.} \usage{gFileInfoHasAttribute(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[logical] \code{TRUE} if \code{Ginfo} has an attribute named \code{attribute}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconSensitive.Rd0000644000176000001440000000072512362217677017270 0ustar ripleyusers\alias{gtkEntryGetIconSensitive} \name{gtkEntryGetIconSensitive} \title{gtkEntryGetIconSensitive} \description{Returns whether the icon appears sensitive or insensitive.} \usage{gtkEntryGetIconSensitive(object, icon.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[logical] \code{TRUE} if the icon is sensitive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetWrap.Rd0000644000176000001440000000076112362217677016437 0ustar ripleyusers\alias{gtkSpinButtonSetWrap} \name{gtkSpinButtonSetWrap} \title{gtkSpinButtonSetWrap} \description{Sets the flag that determines if a spin button value wraps around to the opposite limit when the upper or lower limit of the range is exceeded.} \usage{gtkSpinButtonSetWrap(object, wrap)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{wrap}}{a flag indicating if wrapping behavior is performed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetTriggerTooltipQuery.Rd0000644000176000001440000000073712362217677020177 0ustar ripleyusers\alias{gtkWidgetTriggerTooltipQuery} \name{gtkWidgetTriggerTooltipQuery} \title{gtkWidgetTriggerTooltipQuery} \description{Triggers a tooltip query on the display where the toplevel of \code{widget} is located. See \code{\link{gtkTooltipTriggerTooltipQuery}} for more information.} \usage{gtkWidgetTriggerTooltipQuery(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonGetGroup.Rd0000644000176000001440000000100212362217677016720 0ustar ripleyusers\alias{gtkRadioButtonGetGroup} \name{gtkRadioButtonGetGroup} \title{gtkRadioButtonGetGroup} \description{Retrieves the group assigned to a radio button.} \usage{gtkRadioButtonGetGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRadioButton}}.}} \value{[list] a linked list containing all the radio buttons in the same group as \code{radio.button}. \emph{[ \acronym{element-type} GtkRadioButton][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLogAttrs.Rd0000644000176000001440000000170412362217677016736 0ustar ripleyusers\alias{pangoLayoutGetLogAttrs} \name{pangoLayoutGetLogAttrs} \title{pangoLayoutGetLogAttrs} \description{Retrieves a list of logical attributes for each character in the \code{layout}.} \usage{pangoLayoutGetLogAttrs(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{ A list containing the following elements: \item{\verb{attrs}}{[\code{\link{PangoLogAttr}}] location to store a pointer to a list of logical attributes This value must be freed with \code{gFree()}.} \item{\verb{n.attrs}}{[integer] location to store the number of the attributes in the list. (The stored value will be one more than the total number of characters in the layout, since there need to be attributes corresponding to both the position before the first character and the position after the last character.)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Drag-and-Drop.Rd0000644000176000001440000001010112362217677015365 0ustar ripleyusers\alias{gdk-Drag-and-Drop} \alias{GdkDragContext} \alias{gdkDragContext} \alias{GdkDragProtocol} \alias{GdkDragAction} \name{gdk-Drag-and-Drop} \title{Drag and Drop} \description{Functions for controlling drag and drop handling} \section{Methods and Functions}{ \code{\link{gdkDragGetSelection}(object)}\cr \code{\link{gdkDragAbort}(object, time)}\cr \code{\link{gdkDropReply}(object, ok, time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkDragContextNew}()}\cr \code{\link{gdkDragDrop}(object, time)}\cr \code{\link{gdkDragFindWindow}(object, drag.window, x.root, y.root)}\cr \code{\link{gdkDragFindWindowForScreen}(object, drag.window, screen, x.root, y.root)}\cr \code{\link{gdkDragBegin}(object, targets)}\cr \code{\link{gdkDragMotion}(object, dest.window, protocol, x.root, y.root, suggested.action, possible.actions, time)}\cr \code{\link{gdkDropFinish}(object, success, time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkDragGetProtocol}(xid)}\cr \code{\link{gdkDragGetProtocolForDisplay}(display, xid)}\cr \code{\link{gdkDragStatus}(object, action, time = "GDK_CURRENT_TIME")}\cr \code{\link{gdkDragDropSucceeded}(object)}\cr \code{gdkDragContext()} } \section{Detailed Description}{These functions provide a low level interface for drag and drop. The X backend of GDK supports both the Xdnd and Motif drag and drop protocols transparently, the Win32 backend supports the WM_DROPFILES protocol. GTK+ provides a higher level abstraction based on top of these functions, and so they are not normally needed in GTK+ applications. See the Drag and Drop section of the GTK+ documentation for more information.} \section{Structures}{\describe{\item{\verb{GdkDragContext}}{ A \code{GdkDragContext} holds information about a drag in progress. It is used on both source and destination sides. \describe{ \item{\verb{protocol}}{[\code{\link{GdkDragProtocol}}] the parent instance} \item{\verb{isSource}}{[logical] the DND protocol which governs this drag.} \item{\verb{sourceWindow}}{[\code{\link{GdkWindow}}] \code{TRUE} if the context is used on the source side.} \item{\verb{destWindow}}{[\code{\link{GdkWindow}}] the source of this drag.} \item{\verb{targets}}{[list] the destination window of this drag.} \item{\verb{actions}}{[\code{\link{GdkDragAction}}] a list of targets offered by the source.} \item{\verb{suggestedAction}}{[\code{\link{GdkDragAction}}] a bitmask of actions proposed by the source when \code{suggested.action} is \code{GDK_ACTION_ASK}.} \item{\verb{action}}{[\code{\link{GdkDragAction}}] the action suggested by the source.} \item{\verb{startTime}}{[numeric] the action chosen by the destination.} } }}} \section{Convenient Construction}{\code{gdkDragContext} is the equivalent of \code{\link{gdkDragContextNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GdkDragProtocol}}{ Used in \code{\link{GdkDragContext}} to indicate the protocol according to which DND is done. \describe{ \item{\verb{motif}}{The Motif DND protocol.} \item{\verb{xdnd}}{The Xdnd protocol.} \item{\verb{rootwin}}{An extension to the Xdnd protocol for unclaimed root window drops.} \item{\verb{none}}{no protocol.} \item{\verb{win32-dropfiles}}{The simple WM_DROPFILES protocol.} \item{\verb{ole2}}{The complex OLE2 DND protocol (not implemented).} \item{\verb{local}}{Intra-application DND.} } } \item{\verb{GdkDragAction}}{ Used in \code{\link{GdkDragContext}} to indicate what the destination should do with the dropped data. \describe{ \item{\verb{default}}{Means nothing, and should not be used.} \item{\verb{copy}}{Copy the data.} \item{\verb{move}}{Move the data, i.e. first copy it, then delete it from the source using the DELETE target of the X selection protocol.} \item{\verb{link}}{Add a link to the data. Note that this is only useful if source and destination agree on what it means.} \item{\verb{private}}{Special action which tells the source that the destination will do something that the source doesn't understand.} \item{\verb{ask}}{Ask the user what to do with the data.} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Drag-and-Drop.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetHasTooltip.Rd0000644000176000001440000000102112362217677017571 0ustar ripleyusers\alias{gtkStatusIconSetHasTooltip} \name{gtkStatusIconSetHasTooltip} \title{gtkStatusIconSetHasTooltip} \description{Sets the has-tooltip property on \code{status.icon} to \code{has.tooltip}. See \verb{"has-tooltip"} for more information.} \usage{gtkStatusIconSetHasTooltip(object, has.tooltip)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{has.tooltip}}{whether or not \code{status.icon} has a tooltip} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressNewFromString.Rd0000644000176000001440000000106312362217677017353 0ustar ripleyusers\alias{gInetAddressNewFromString} \name{gInetAddressNewFromString} \title{gInetAddressNewFromString} \description{Parses \code{string} as an IP address and creates a new \code{\link{GInetAddress}}.} \usage{gInetAddressNewFromString(string)} \arguments{\item{\verb{string}}{a string representation of an IP address}} \details{Since 2.22} \value{[\code{\link{GInetAddress}}] a new \code{\link{GInetAddress}} corresponding to \code{string}, or \code{NULL} if \code{string} could not be parsed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetFocusOnClick.Rd0000644000176000001440000000120212362217677017205 0ustar ripleyusers\alias{gtkButtonSetFocusOnClick} \name{gtkButtonSetFocusOnClick} \title{gtkButtonSetFocusOnClick} \description{Sets whether the button will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.} \usage{gtkButtonSetFocusOnClick(object, focus.on.click)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{focus.on.click}}{whether the button grabs focus when clicked with the mouse} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetLineCap.Rd0000644000176000001440000000061112362217677015301 0ustar ripleyusers\alias{cairoGetLineCap} \name{cairoGetLineCap} \title{cairoGetLineCap} \description{Gets the current line cap style, as set by \code{\link{cairoSetLineCap}}.} \usage{cairoGetLineCap(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoLineCap}}] the current line cap style.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoScriptIterNew.Rd0000644000176000001440000000126012362217677016100 0ustar ripleyusers\alias{pangoScriptIterNew} \name{pangoScriptIterNew} \title{pangoScriptIterNew} \description{Create a new \code{\link{PangoScriptIter}}, used to break a string of Unicode into runs by text. No copy is made of \code{text},} \usage{pangoScriptIterNew(text, length)} \arguments{ \item{\verb{text}}{[char] a UTF-8 string} \item{\verb{length}}{[integer] length of \code{text}, or -1 if \code{text} is nul-terminated.} } \details{ Since 1.4} \value{[\code{\link{PangoScriptIter}}] the new script iterator, initialized to point at the first range in the text, If the string is empty, it will point at an empty range.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetLabel.Rd0000644000176000001440000000175512362217677016176 0ustar ripleyusers\alias{gtkExpanderGetLabel} \name{gtkExpanderGetLabel} \title{gtkExpanderGetLabel} \description{Fetches the text from a label widget including any embedded underlines indicating mnemonics and Pango markup, as set by \code{\link{gtkExpanderSetLabel}}. If the label text has not been set the return value will be \code{NULL}. This will be the case if you create an empty button with \code{\link{gtkButtonNew}} to use as a container.} \usage{gtkExpanderGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{Note that this function behaved differently in versions prior to 2.14 and used to return the label text stripped of embedded underlines indicating mnemonics and Pango markup. This problem can be avoided by fetching the label text directly from the label widget. Since 2.4} \value{[character] The text of the label widget. This string is owned by the widget and must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionToFilename.Rd0000644000176000001440000000114312362217677020414 0ustar ripleyusers\alias{pangoFontDescriptionToFilename} \name{pangoFontDescriptionToFilename} \title{pangoFontDescriptionToFilename} \description{Creates a filename representation of a font description. The filename is identical to the result from calling \code{\link{pangoFontDescriptionToString}}, but with underscores instead of characters that are untypical in filenames, and in lower case only.} \usage{pangoFontDescriptionToFilename(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountUnshadow.Rd0000644000176000001440000000105612362217677015276 0ustar ripleyusers\alias{gMountUnshadow} \name{gMountUnshadow} \title{gMountUnshadow} \description{Decrements the shadow count on \code{mount}. Usually used by \code{\link{GVolumeMonitor}} implementations when destroying a shadow mount for \code{mount}, see \code{\link{gMountIsShadowed}} for more information. The caller will need to emit the \verb{"changed"} signal on \code{mount} manually.} \usage{gMountUnshadow(object)} \arguments{\item{\verb{object}}{A \code{\link{GMount}}.}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetPushCompositeChild.Rd0000644000176000001440000000166012362217677017735 0ustar ripleyusers\alias{gtkWidgetPushCompositeChild} \name{gtkWidgetPushCompositeChild} \title{gtkWidgetPushCompositeChild} \description{Makes all newly-created widgets as composite children until the corresponding \code{\link{gtkWidgetPopCompositeChild}} call.} \usage{gtkWidgetPushCompositeChild()} \details{A composite child is a child that's an implementation detail of the container it's inside and should not be visible to people using the container. Composite children aren't treated differently by GTK (but see \code{\link{gtkContainerForeach}} vs. \code{\link{gtkContainerForall}}), but e.g. GUI builders might want to treat them in a different way. Here is a simple example: \preformatted{ gtkWidgetPushCompositeChild() hscrollbar <- gtkHScrollbarNew(hadjustment) hscrollbar$setCompositeName("hscrollbar") gtkWidgetPopCompositeChild() hscrollbar$setParent(scrolled_window) }} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentActionSetShowNumbers.Rd0000644000176000001440000000126112362217677020247 0ustar ripleyusers\alias{gtkRecentActionSetShowNumbers} \name{gtkRecentActionSetShowNumbers} \title{gtkRecentActionSetShowNumbers} \description{Sets whether a number should be added to the items shown by the widgets representing \code{action}. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first ten items get a number to avoid clashes.} \usage{gtkRecentActionSetShowNumbers(object, show.numbers)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentAction}}} \item{\verb{show.numbers}}{\code{TRUE} if the shown items should be numbered} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapGetSystemSize.Rd0000644000176000001440000000104612362217677017255 0ustar ripleyusers\alias{gdkColormapGetSystemSize} \name{gdkColormapGetSystemSize} \title{gdkColormapGetSystemSize} \description{ Returns the size of the system's default colormap. (See the description of struct \code{\link{GdkColormap}} for an explanation of the size of a colormap.) \strong{WARNING: \code{gdk_colormap_get_system_size} is deprecated and should not be used in newly-written code.} } \usage{gdkColormapGetSystemSize()} \value{[integer] the size of the system's default colormap.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutSetCellDataFunc.Rd0000644000176000001440000000151312362217677017757 0ustar ripleyusers\alias{gtkCellLayoutSetCellDataFunc} \name{gtkCellLayoutSetCellDataFunc} \title{gtkCellLayoutSetCellDataFunc} \description{Sets the \code{\link{GtkCellLayoutDataFunc}} to use for \code{cell.layout}. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of \code{cell.layout}'s cell renderer(s) as appropriate. \code{func} may be \code{NULL} to remove and older one.} \usage{gtkCellLayoutSetCellDataFunc(object, cell, func, func.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}.} \item{\verb{func}}{The \code{\link{GtkCellLayoutDataFunc}} to use.} \item{\verb{func.data}}{The user data for \code{func}.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketClient.Rd0000644000176000001440000000647212362217677015021 0ustar ripleyusers\alias{GSocketClient} \alias{gSocketClient} \name{GSocketClient} \title{GSocketClient} \description{Helper for connecting to a network service} \section{Methods and Functions}{ \code{\link{gSocketClientNew}()}\cr \code{\link{gSocketClientConnect}(object, connectable, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketClientConnectAsync}(object, connectable, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketClientConnectFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gSocketClientConnectToHost}(object, host.and.port, default.port, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketClientConnectToHostAsync}(object, host.and.port, default.port, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketClientConnectToHostFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gSocketClientConnectToService}(object, domain, service, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gSocketClientConnectToServiceAsync}(object, domain, service, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gSocketClientConnectToServiceFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gSocketClientSetFamily}(object, family)}\cr \code{\link{gSocketClientSetLocalAddress}(object, address)}\cr \code{\link{gSocketClientSetProtocol}(object, protocol)}\cr \code{\link{gSocketClientSetSocketType}(object, type)}\cr \code{\link{gSocketClientGetFamily}(object)}\cr \code{\link{gSocketClientGetLocalAddress}(object)}\cr \code{\link{gSocketClientGetProtocol}(object)}\cr \code{\link{gSocketClientGetSocketType}(object)}\cr \code{gSocketClient()} } \section{Hierarchy}{\preformatted{GObject +----GSocketClient}} \section{Detailed Description}{\code{\link{GSocketClient}} is a high-level utility class for connecting to a network host using a connection oriented socket type. You create a \code{\link{GSocketClient}} object, set any options you want, then call a sync or async connect operation, which returns a \code{\link{GSocketConnection}} subclass on success. The type of the \code{\link{GSocketConnection}} object returned depends on the type of the underlying socket that is in use. For instance, for a TCP/IP connection it will be a \code{\link{GTcpConnection}}.} \section{Structures}{\describe{\item{\verb{GSocketClient}}{ A helper class for network servers to listen for and accept connections. Since 2.22 }}} \section{Convenient Construction}{\code{gSocketClient} is the equivalent of \code{\link{gSocketClientNew}}.} \section{Properties}{\describe{ \item{\verb{family} [\code{\link{GSocketFamily}} : Read / Write / Construct]}{ The sockets address family to use for socket construction. Default value: G_SOCKET_FAMILY_INVALID } \item{\verb{local-address} [\code{\link{GSocketAddress}} : * : Read / Write / Construct]}{ The local address constructed sockets will be bound to. } \item{\verb{protocol} [\code{\link{GSocketProtocol}} : Read / Write / Construct]}{ The protocol to use for socket construction, or 0 for default. Default value: G_SOCKET_PROTOCOL_DEFAULT } \item{\verb{type} [\code{\link{GSocketType}} : Read / Write / Construct]}{ The sockets type to use for socket construction. Default value: G_SOCKET_TYPE_STREAM } }} \references{\url{http://library.gnome.org/devel//gio/GSocketClient.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetAnonymous.Rd0000644000176000001440000000067212362217677020036 0ustar ripleyusers\alias{gMountOperationSetAnonymous} \name{gMountOperationSetAnonymous} \title{gMountOperationSetAnonymous} \description{Sets the mount operation to use an anonymous user if \code{anonymous} is \code{TRUE}.} \usage{gMountOperationSetAnonymous(object, anonymous)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{anonymous}}{boolean value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererStopEditing.Rd0000644000176000001440000000135112362217677017540 0ustar ripleyusers\alias{gtkCellRendererStopEditing} \name{gtkCellRendererStopEditing} \title{gtkCellRendererStopEditing} \description{Informs the cell renderer that the editing is stopped. If \code{canceled} is \code{TRUE}, the cell renderer will emit the \code{\link{gtkCellRendererEditingCanceled}} signal. } \usage{gtkCellRendererStopEditing(object, canceled)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{canceled}}{\code{TRUE} if the editing has been canceled} } \details{This function should be called by cell renderer implementations in response to the \code{\link{gtkCellEditableEditingDone}} signal of \code{\link{GtkCellEditable}}. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAddInetPort.Rd0000644000176000001440000000223512362217677017517 0ustar ripleyusers\alias{gSocketListenerAddInetPort} \name{gSocketListenerAddInetPort} \title{gSocketListenerAddInetPort} \description{Helper function for \code{\link{gSocketListenerAddAddress}} that creates a TCP/IP socket listening on IPv4 and IPv6 (if supported) on the specified port on all interfaces.} \usage{gSocketListenerAddInetPort(object, port, source.object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{port}}{an IP port number (non-zero)} \item{\verb{source.object}}{Optional \code{\link{GObject}} identifying this source} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{\code{source.object} will be passed out in the various calls to accept to identify this particular source, which is useful if you're listening on multiple addresses and do different things depending on what address is connected to. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelNew.Rd0000644000176000001440000000063512362217677014515 0ustar ripleyusers\alias{gtkLabelNew} \name{gtkLabelNew} \title{gtkLabelNew} \description{Creates a new label with the given text inside it. You can pass \code{NULL} to get an empty label widget.} \usage{gtkLabelNew(str = NULL, show = TRUE)} \arguments{\item{\verb{str}}{The text of the label}} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkLabel}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetWrap.Rd0000644000176000001440000000075112362217677016111 0ustar ripleyusers\alias{pangoLayoutGetWrap} \name{pangoLayoutGetWrap} \title{pangoLayoutGetWrap} \description{Gets the wrap mode for the layout.} \usage{pangoLayoutGetWrap(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{Use \code{\link{pangoLayoutIsWrapped}} to query whether any paragraphs were actually wrapped. } \value{[\code{\link{PangoWrapMode}}] active wrap mode.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetText.Rd0000644000176000001440000000266611766145227014414 0ustar ripleyusers\name{gtkGetText} \alias{gtkTextGetText} \alias{gtkTextSetText} \alias{gtkTextClearText} \title{Access contents of Gtk text widget} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions allow one to retrieve or set the contents of a Gtk text widget. } \usage{ gtkTextSetText(w, contents="", append = FALSE) gtkTextGetText(w) gtkTextClearText(w, start=0, end=-1) } \arguments{ \item{w}{the GtkTextWidget whose contents are to be accessed} \item{contents}{a character vector (of length 1) giving the contents to be either appended or inserted into the text widget.} \item{append}{a logical value indicating whether the new text is to be appended to the existing contents or used to replace it. If this is \code{FALSE}, the text widget is currently cleared first.} \item{start}{locations in the text widget where the to start clearing the text. These are essentially character offsets into the string at present.} \item{end}{locations in the text widget where the to complete clearing the text. These are essentially character offsets into the string at present.} } \references{ \url{http://www.gtk.org} \url{http://www.omegahat.org/RGtk} } \author{Duncan Temple Lang} \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) This is an extra-ordinarily early release intended to encourage others to contribute code, etc.} \keyword{interface} \keyword{internal} RGtk2/man/atkTableIsSelected.Rd0000644000176000001440000000133312362217677016006 0ustar ripleyusers\alias{atkTableIsSelected} \name{atkTableIsSelected} \title{atkTableIsSelected} \description{Gets a boolean value indicating whether the accessible object at the specified \code{row} and \code{column} is selected} \usage{atkTableIsSelected(object, row, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[logical] a gboolean representing if the cell is selected, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsSetHintMetrics.Rd0000644000176000001440000000123712362217677020443 0ustar ripleyusers\alias{cairoFontOptionsSetHintMetrics} \name{cairoFontOptionsSetHintMetrics} \title{cairoFontOptionsSetHintMetrics} \description{Sets the metrics hinting mode for the font options object. This controls whether metrics are quantized to integer values in device units. See the documentation for \code{\link{CairoHintMetrics}} for full details.} \usage{cairoFontOptionsSetHintMetrics(options, hint.metrics)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{hint.metrics}}{[\code{\link{CairoHintMetrics}}] the new metrics hinting mode} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateTypeGetName.Rd0000644000176000001440000000071512362217677016200 0ustar ripleyusers\alias{atkStateTypeGetName} \name{atkStateTypeGetName} \title{atkStateTypeGetName} \description{Gets the description string describing the \code{\link{AtkStateType}} \code{type}.} \usage{atkStateTypeGetName(type)} \arguments{\item{\verb{type}}{[\code{\link{AtkStateType}}] The \code{\link{AtkStateType}} whose name is required}} \value{[character] the string describing the AtkStateType} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetResolutionX.Rd0000644000176000001440000000067512362217677020521 0ustar ripleyusers\alias{gtkPrintSettingsGetResolutionX} \name{gtkPrintSettingsGetResolutionX} \title{gtkPrintSettingsGetResolutionX} \description{Gets the value of \code{GTK_PRINT_SETTINGS_RESOLUTION_X}.} \usage{gtkPrintSettingsGetResolutionX(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.16} \value{[integer] the horizontal resolution in dpi} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleToolButtonNewFromStock.Rd0000644000176000001440000000124112362217677020573 0ustar ripleyusers\alias{gtkToggleToolButtonNewFromStock} \name{gtkToggleToolButtonNewFromStock} \title{gtkToggleToolButtonNewFromStock} \description{Creates a new \code{\link{GtkToggleToolButton}} containing the image and text from a stock item. Some stock ids have preprocessor functions like \verb{GTK_STOCK_OK} and \verb{GTK_STOCK_APPLY}.} \usage{gtkToggleToolButtonNewFromStock(stock.id)} \arguments{\item{\verb{stock.id}}{the name of the stock item}} \details{It is an error if \code{stock.id} is not a name of a stock item. Since 2.4} \value{[\code{\link{GtkToolItem}}] A new \code{\link{GtkToggleToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupListActions.Rd0000644000176000001440000000075612362217677017437 0ustar ripleyusers\alias{gtkActionGroupListActions} \name{gtkActionGroupListActions} \title{gtkActionGroupListActions} \description{Lists the actions in the action group.} \usage{gtkActionGroupListActions(object)} \arguments{\item{\verb{object}}{the action group}} \details{Since 2.4} \value{[list] an allocated list of the action objects in the action group. \emph{[ \acronym{element-type} GtkAction][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetFixedWidth.Rd0000644000176000001440000000140012362217677020357 0ustar ripleyusers\alias{gtkTreeViewColumnSetFixedWidth} \name{gtkTreeViewColumnSetFixedWidth} \title{gtkTreeViewColumnSetFixedWidth} \description{Sets the size of the column in pixels. This is meaningful only if the sizing type is \verb{GTK_TREE_VIEW_COLUMN_FIXED}. The size of the column is clamped to the min/max width for the column. Please note that the min/max width of the column doesn't actually affect the "fixed_width" property of the widget, just the actual size when displayed.} \usage{gtkTreeViewColumnSetFixedWidth(object, fixed.width)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{fixed.width}}{The size to set \code{tree.column} to. Must be greater than 0.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventBoxSetAboveChild.Rd0000644000176000001440000000140312362217677017145 0ustar ripleyusers\alias{gtkEventBoxSetAboveChild} \name{gtkEventBoxSetAboveChild} \title{gtkEventBoxSetAboveChild} \description{Set whether the event box window is positioned above the windows of its child, as opposed to below it. If the window is above, all events inside the event box will go to the event box. If the window is below, events in windows of child widgets will first got to that widget, and then to its parents.} \usage{gtkEventBoxSetAboveChild(object, above.child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEventBox}}} \item{\verb{above.child}}{\code{TRUE} if the event box window is above the windows of its child} } \details{The default is to keep the window below the child. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoDeviceToUser.Rd0000644000176000001440000000104012362217677015664 0ustar ripleyusers\alias{cairoDeviceToUser} \name{cairoDeviceToUser} \title{cairoDeviceToUser} \description{Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).} \usage{cairoDeviceToUser(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo} \item{\verb{x}}{[numeric] X value of coordinate (in/out parameter)} \item{\verb{y}}{[numeric] Y value of coordinate (in/out parameter)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserListFilters.Rd0000644000176000001440000000105712362217677017753 0ustar ripleyusers\alias{gtkRecentChooserListFilters} \name{gtkRecentChooserListFilters} \title{gtkRecentChooserListFilters} \description{Gets the \code{\link{GtkRecentFilter}} objects held by \code{chooser}.} \usage{gtkRecentChooserListFilters(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[list] A singly linked list of \code{\link{GtkRecentFilter}} objects. \emph{[ \acronym{element-type} GtkRecentFilter][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetIconName.Rd0000644000176000001440000000154512362217677016342 0ustar ripleyusers\alias{gdkWindowSetIconName} \name{gdkWindowSetIconName} \title{gdkWindowSetIconName} \description{Windows may have a name used while minimized, distinct from the name they display in their titlebar. Most of the time this is a bad idea from a user interface standpoint. But you can set such a name with this function, if you like.} \usage{gdkWindowSetIconName(object, name)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{name}}{name of window while iconified (minimized)} } \details{After calling this with a non-\code{NULL} \code{name}, calls to \code{\link{gdkWindowSetTitle}} will not update the icon title. Using \code{NULL} for \code{name} unsets the icon title; further calls to \code{\link{gdkWindowSetTitle}} will again update the icon title as well.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetIconList.Rd0000644000176000001440000000103712362217677016375 0ustar ripleyusers\alias{gtkWindowGetIconList} \name{gtkWindowGetIconList} \title{gtkWindowGetIconList} \description{Retrieves the list of icons set by \code{\link{gtkWindowSetIconList}}. The list is copied, but the reference count on each member won't be incremented.} \usage{gtkWindowGetIconList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[list] copy of window's icon list. \emph{[ \acronym{element-type} GdkPixbuf][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Keyboard-Accelerators.Rd0000644000176000001440000001214312362217677017243 0ustar ripleyusers\alias{gtk-Keyboard-Accelerators} \alias{GtkAccelGroup} \alias{GtkAccelKey} \alias{gtkAccelGroup} \alias{GtkAccelGroupActivate} \alias{GtkAccelGroupFindFunc} \name{gtk-Keyboard-Accelerators} \title{Accelerator Groups} \description{Groups of global keyboard accelerators for an entire GtkWindow} \section{Methods and Functions}{ \code{\link{gtkAccelGroupNew}()}\cr \code{\link{gtkAccelGroupConnect}(object, accel.key, accel.mods, accel.flags, closure)}\cr \code{\link{gtkAccelGroupConnectByPath}(object, accel.path, closure)}\cr \code{\link{gtkAccelGroupDisconnect}(object, closure)}\cr \code{\link{gtkAccelGroupDisconnectKey}(object, accel.key, accel.mods)}\cr \code{\link{gtkAccelGroupQuery}(object, accel.key, accel.mods)}\cr \code{\link{gtkAccelGroupActivate}(object, accel.quark, acceleratable, accel.key, accel.mods)}\cr \code{\link{gtkAccelGroupLock}(object)}\cr \code{\link{gtkAccelGroupUnlock}(object)}\cr \code{\link{gtkAccelGroupGetIsLocked}(object)}\cr \code{\link{gtkAccelGroupFromAccelClosure}(closure)}\cr \code{\link{gtkAccelGroupGetModifierMask}(object)}\cr \code{\link{gtkAccelGroupsActivate}(object, accel.key, accel.mods)}\cr \code{\link{gtkAccelGroupsFromObject}(object)}\cr \code{\link{gtkAccelGroupFind}(object, find.func, data = NULL)}\cr \code{\link{gtkAcceleratorValid}(keyval, modifiers)}\cr \code{\link{gtkAcceleratorParse}(accelerator)}\cr \code{\link{gtkAcceleratorName}(accelerator.key, accelerator.mods)}\cr \code{\link{gtkAcceleratorGetLabel}(accelerator.key, accelerator.mods)}\cr \code{\link{gtkAcceleratorSetDefaultModMask}(default.mod.mask)}\cr \code{\link{gtkAcceleratorGetDefaultModMask}()}\cr \code{gtkAccelGroup()} } \section{Hierarchy}{\preformatted{GObject +----GtkAccelGroup}} \section{Detailed Description}{A \code{\link{GtkAccelGroup}} represents a group of keyboard accelerators, typically attached to a toplevel \code{\link{GtkWindow}} (with \code{\link{gtkWindowAddAccelGroup}}). Usually you won't need to create a \code{\link{GtkAccelGroup}} directly; instead, when using \code{\link{GtkItemFactory}}, GTK+ automatically sets up the accelerators for your menus in the item factory's \code{\link{GtkAccelGroup}}. Note that \dfn{accelerators} are different from \dfn{mnemonics}. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item they're a shortcut for. For example "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. See \code{\link{gtkLabelNewWithMnemonic}}. Menu items can have both accelerators and mnemonics, of course.} \section{Structures}{\describe{ \item{\verb{GtkAccelGroup}}{ An object representing and maintaining a group of accelerators. } \item{\verb{GtkAccelKey}}{ \emph{undocumented } \strong{\verb{GtkAccelKey} is a \link{transparent-type}.} \describe{ \item{\verb{accelKey}}{[numeric] } \item{\verb{accelMods}}{[\code{\link{GdkModifierType}}] } \item{\verb{accelFlags}}{[numeric] } } } }} \section{Convenient Construction}{\code{gtkAccelGroup} is the equivalent of \code{\link{gtkAccelGroupNew}}.} \section{User Functions}{\describe{ \item{\code{GtkAccelGroupActivate()}}{ \emph{undocumented } } \item{\code{GtkAccelGroupFindFunc()}}{ Since 2.2 } }} \section{Signals}{\describe{ \item{\code{accel-activate(accel.group, acceleratable, keyval, modifier, user.data)}}{ The accel-activate signal is an implementation detail of \code{\link{GtkAccelGroup}} and not meant to be used by applications. \describe{ \item{\code{accel.group}}{the \code{\link{GtkAccelGroup}} which received the signal} \item{\code{acceleratable}}{the object on which the accelerator was activated} \item{\code{keyval}}{the accelerator keyval} \item{\code{modifier}}{the modifier combination of the accelerator} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the accelerator was activated } \item{\code{accel-changed(accel.group, keyval, modifier, accel.closure, user.data)}}{ The accel-changed signal is emitted when a \verb{GtkAccelGroupEntry} is added to or removed from the accel group. Widgets like \code{\link{GtkAccelLabel}} which display an associated accelerator should connect to this signal, and rebuild their visual representation if the \code{accel.closure} is theirs. \describe{ \item{\code{accel.group}}{the \code{\link{GtkAccelGroup}} which received the signal} \item{\code{keyval}}{the accelerator keyval} \item{\code{modifier}}{the modifier combination of the accelerator} \item{\code{accel.closure}}{the \code{\link{GClosure}} of the accelerator} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{is-locked} [logical : Read]}{ Is the accel group locked. Default value: FALSE } \item{\verb{modifier-mask} [\code{\link{GdkModifierType}} : Read]}{ Modifier Mask. Default value: GDK_SHIFT_MASK|GDK_CONTROL_MASK|GDK_MOD1_MASK|GDK_SUPER_MASK|GDK_HYPER_MASK|GDK_META_MASK } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Keyboard-Accelerators.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemApplyAttrs.Rd0000644000176000001440000000257412362217677017275 0ustar ripleyusers\alias{pangoGlyphItemApplyAttrs} \name{pangoGlyphItemApplyAttrs} \title{pangoGlyphItemApplyAttrs} \description{Splits a shaped item (PangoGlyphItem) into multiple items based on an attribute list. The idea is that if you have attributes that don't affect shaping, such as color or underline, to avoid affecting shaping, you filter them out (\code{\link{pangoAttrListFilter}}), apply the shaping process and then reapply them to the result using this function.} \usage{pangoGlyphItemApplyAttrs(glyph.item, text, list)} \arguments{ \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] a shaped item} \item{\verb{text}}{[char] text that \code{list} applies to} \item{\verb{list}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} } \details{All attributes that start or end inside a cluster are applied to that cluster; for instance, if half of a cluster is underlined and the other-half strikethrough, then the cluster will end up with both underline and strikethrough attributes. In these cases, it may happen that item->extra_attrs for some of the result items can have multiple attributes of the same type. This function takes ownership of \code{glyph.item}; it will be reused as one of the elements in the list. Since 1.2} \value{[list] a list of glyph items resulting from splitting \code{glyph.item}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupGetIsLocked.Rd0000644000176000001440000000101412362217677017116 0ustar ripleyusers\alias{gtkAccelGroupGetIsLocked} \name{gtkAccelGroupGetIsLocked} \title{gtkAccelGroupGetIsLocked} \description{Locks are added and removed using \code{\link{gtkAccelGroupLock}} and \code{\link{gtkAccelGroupUnlock}}.} \usage{gtkAccelGroupGetIsLocked(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelGroup}}}} \details{Since 2.14} \value{[logical] \code{TRUE} if there are 1 or more locks on the \code{accel.group}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataTargetsIncludeImage.Rd0000644000176000001440000000145612362217677021346 0ustar ripleyusers\alias{gtkSelectionDataTargetsIncludeImage} \name{gtkSelectionDataTargetsIncludeImage} \title{gtkSelectionDataTargetsIncludeImage} \description{Given a \code{\link{GtkSelectionData}} object holding a list of targets, determines if any of the targets in \code{targets} can be used to provide a \code{\link{GdkPixbuf}}.} \usage{gtkSelectionDataTargetsIncludeImage(object, writable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSelectionData}} object} \item{\verb{writable}}{whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format} } \details{Since 2.6} \value{[logical] \code{TRUE} if \code{selection.data} holds a list of targets, and a suitable target for images is included, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapCreateContext.Rd0000644000176000001440000000117212362217677020353 0ustar ripleyusers\alias{pangoCairoFontMapCreateContext} \name{pangoCairoFontMapCreateContext} \title{pangoCairoFontMapCreateContext} \description{ Create a \code{\link{PangoContext}} for the given fontmap. \strong{WARNING: \code{pango_cairo_font_map_create_context} has been deprecated since version 1.22 and should not be used in newly-written code. Use \code{\link{pangoFontMapCreateContext}} instead.} } \usage{pangoCairoFontMapCreateContext(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCairoFontMap}}] a \code{\link{PangoCairoFontMap}}}} \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetRequisition.Rd0000644000176000001440000000150312362217677017136 0ustar ripleyusers\alias{gtkWidgetGetRequisition} \name{gtkWidgetGetRequisition} \title{gtkWidgetGetRequisition} \description{Retrieves the widget's requisition.} \usage{gtkWidgetGetRequisition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{This function should only be used by widget implementations in order to figure whether the widget's requisition has actually changed after some internal state change (so that they can call \code{\link{gtkWidgetQueueResize}} instead of \code{\link{gtkWidgetQueueDraw}}). Normally, \code{\link{gtkWidgetSizeRequest}} should be used. Since 2.20} \value{ A list containing the following elements: \item{\verb{requisition}}{a pointer to a \code{\link{GtkRequisition}} to copy to. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterInsideSentence.Rd0000644000176000001440000000125612362217677017415 0ustar ripleyusers\alias{gtkTextIterInsideSentence} \name{gtkTextIterInsideSentence} \title{gtkTextIterInsideSentence} \description{Determines whether \code{iter} is inside a sentence (as opposed to in between two sentences, e.g. after a period and before the first letter of the next sentence). Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).} \usage{gtkTextIterInsideSentence(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is inside a sentence.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetProgressPulseStep.Rd0000644000176000001440000000100212362217677020160 0ustar ripleyusers\alias{gtkEntrySetProgressPulseStep} \name{gtkEntrySetProgressPulseStep} \title{gtkEntrySetProgressPulseStep} \description{Sets the fraction of total entry width to move the progress bouncing block for each call to \code{\link{gtkEntryProgressPulse}}.} \usage{gtkEntrySetProgressPulseStep(object, fraction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{fraction}}{fraction between 0.0 and 1.0} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreInsertWithValuesv.Rd0000644000176000001440000000153512362217677020343 0ustar ripleyusers\alias{gtkListStoreInsertWithValuesv} \name{gtkListStoreInsertWithValuesv} \title{gtkListStoreInsertWithValuesv} \description{A variant of \code{\link{gtkListStoreInsertWithValues}} which takes the columns and values as two lists, instead of varargs. This function is mainly intended for language-bindings.} \usage{gtkListStoreInsertWithValuesv(object, position, columns, values)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{position}}{position to insert the new row} \item{\verb{columns}}{a list of column numbers} \item{\verb{values}}{a list of GValues} } \details{Since 2.6} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringExtentsRange.Rd0000644000176000001440000000242212362217677020141 0ustar ripleyusers\alias{pangoGlyphStringExtentsRange} \name{pangoGlyphStringExtentsRange} \title{pangoGlyphStringExtentsRange} \description{Computes the extents of a sub-portion of a glyph string. The extents are relative to the start of the glyph string range (the origin of their coordinate system is at the start of the range, not at the start of the entire glyph string).} \usage{pangoGlyphStringExtentsRange(object, start, end, font)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} \item{\verb{start}}{[integer] start index} \item{\verb{end}}{[integer] end index (the range is the set of bytes with indices such that start <= index < end)} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} } \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the extents of the glyph string range as drawn or \code{NULL} to indicate that the result is not needed.} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle used to store the logical extents of the glyph string range or \code{NULL} to indicate that the result is not needed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDK-Pixbuf.Rd0000644000176000001440000000232412362221653014140 0ustar ripleyusers\alias{GDK-Pixbuf} \name{GDK-Pixbuf} \title{GDK-Pixbuf} \description{This is a small library which allows you to create GdkPixbuf ('pixel buffer') objects from image data or image files. Use a \code{\link{GdkPixbuf}} in combination with \code{\link{GtkImage}} to display images.} \details{ The RGtk binding to the GDK-Pixbuf library consists of the following components: \describe{ \item{\link{gdk-pixbuf-animation}}{Animated images.} \item{\link{gdk-pixbuf-creating}}{Creating a pixbuf from image data that is already in memory.} \item{\link{gdk-pixbuf-File-Loading}}{Loading a pixbuf from a file.} \item{\link{gdk-pixbuf-File-saving}}{Saving a pixbuf to a file.} \item{\link{GdkPixbufLoader}}{Application-driven progressive image loading.} \item{\link{gdk-pixbuf-gdk-pixbuf}}{Information that describes an image.} \item{\link{gdk-pixbuf-Versioning}}{Library version numbers.} \item{\link{gdk-pixbuf-Module-Interface}}{Extending } \item{\link{gdk-pixbuf-scaling}}{Scaling pixbufs and scaling and compositing pixbufs} \item{\link{gdk-pixbuf-util}}{Utility and miscellaneous convenience functions.} } } \references{\url{http://library.gnome.org/devel//gdk-pixbuf}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkTextViewSetLeftMargin.Rd0000644000176000001440000000070612362217677017227 0ustar ripleyusers\alias{gtkTextViewSetLeftMargin} \name{gtkTextViewSetLeftMargin} \title{gtkTextViewSetLeftMargin} \description{Sets the default left margin for text in \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewSetLeftMargin(object, left.margin)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{left.margin}}{left margin in pixels} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtOffset.Rd0000644000176000001440000000143012362217677020014 0ustar ripleyusers\alias{gtkTextBufferGetIterAtOffset} \name{gtkTextBufferGetIterAtOffset} \title{gtkTextBufferGetIterAtOffset} \description{Initializes \code{iter} to a position \code{char.offset} chars from the start of the entire buffer. If \code{char.offset} is -1 or greater than the number of characters in the buffer, \code{iter} is initialized to the end iterator, the iterator one past the last valid character in the buffer.} \usage{gtkTextBufferGetIterAtOffset(object, char.offset)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{char.offset}}{char offset from start of buffer, counting from 0, or -1} } \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAddRichTextTargets.Rd0000644000176000001440000000151112362217677020516 0ustar ripleyusers\alias{gtkTargetListAddRichTextTargets} \name{gtkTargetListAddRichTextTargets} \title{gtkTargetListAddRichTextTargets} \description{Appends the rich text targets registered with \code{\link{gtkTextBufferRegisterSerializeFormat}} or \code{\link{gtkTextBufferRegisterDeserializeFormat}} to the target list. All targets are added with the same \code{info}.} \usage{gtkTargetListAddRichTextTargets(list, info, deserializable, buffer)} \arguments{ \item{\verb{list}}{a \code{\link{GtkTargetList}}} \item{\verb{info}}{an ID that will be passed back to the application} \item{\verb{deserializable}}{if \code{TRUE}, then deserializable rich text formats will be added, serializable formats otherwise.} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefaultSize.Rd0000644000176000001440000000371712362217677017113 0ustar ripleyusers\alias{gtkWindowSetDefaultSize} \name{gtkWindowSetDefaultSize} \title{gtkWindowSetDefaultSize} \description{Sets the default size of a window. If the window's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the window (\code{\link{gtkWindowSetGeometryHints}} can be used to set these explicitly), the default size will be clamped to the nearest permitted size.} \usage{gtkWindowSetDefaultSize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{width}}{width in pixels, or -1 to unset the default width} \item{\verb{height}}{height in pixels, or -1 to unset the default height} } \details{Unlike \code{\link{gtkWidgetSetSizeRequest}}, which sets a size request for a widget and thus would keep users from shrinking the window, this function only sets the initial size, just as if the user had resized the window themselves. Users can still shrink the window again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the window). For more control over a window's initial size and how resizing works, investigate \code{\link{gtkWindowSetGeometryHints}}. For some uses, \code{\link{gtkWindowResize}} is a more appropriate function. \code{\link{gtkWindowResize}} changes the current size of the window, rather than the size to be used on initial display. \code{\link{gtkWindowResize}} always affects the window itself, not the geometry widget. The default size of a window only affects the first time a window is shown; if a window is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size. Windows can't actually be 0x0 in size, they must be at least 1x1, but passing 0 for \code{width} and \code{height} is OK, resulting in a 1x1 default size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultNew.Rd0000644000176000001440000000126112362217677016561 0ustar ripleyusers\alias{gSimpleAsyncResultNew} \name{gSimpleAsyncResultNew} \title{gSimpleAsyncResultNew} \description{Creates a \code{\link{GSimpleAsyncResult}}.} \usage{gSimpleAsyncResultNew(source.object, callback, user.data = NULL, source.tag)} \arguments{ \item{\verb{source.object}}{a \code{\link{GObject}} the asynchronous function was called with, or \code{NULL}.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} \item{\verb{source.tag}}{the asynchronous function.} } \value{[\code{\link{GSimpleAsyncResult}}] a \code{\link{GSimpleAsyncResult}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilenameCompleterGetCompletionSuffix.Rd0000644000176000001440000000103712362217677021734 0ustar ripleyusers\alias{gFilenameCompleterGetCompletionSuffix} \name{gFilenameCompleterGetCompletionSuffix} \title{gFilenameCompleterGetCompletionSuffix} \description{Obtains a completion for \code{initial.text} from \code{completer}.} \usage{gFilenameCompleterGetCompletionSuffix(object, initial.text)} \arguments{ \item{\verb{object}}{the filename completer.} \item{\verb{initial.text}}{text to be completed.} } \value{[char] a completed string, or \code{NULL} if no completion exists.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextMarkNew.Rd0000644000176000001440000000210012362217677015222 0ustar ripleyusers\alias{gtkTextMarkNew} \name{gtkTextMarkNew} \title{gtkTextMarkNew} \description{Creates a text mark. Add it to a buffer using \code{\link{gtkTextBufferAddMark}}. If \code{name} is \code{NULL}, the mark is anonymous; otherwise, the mark can be retrieved by name using \code{\link{gtkTextBufferGetMark}}. If a mark has left gravity, and text is inserted at the mark's current location, the mark will be moved to the left of the newly-inserted text. If the mark has right gravity (\code{left.gravity} = \code{FALSE}), the mark will end up on the right of newly-inserted text. The standard left-to-right cursor is a mark with right gravity (when you type, the cursor stays on the right side of the text you're typing).} \usage{gtkTextMarkNew(name, left.gravity)} \arguments{ \item{\verb{name}}{mark name or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{left.gravity}}{whether the mark should have left gravity} } \details{Since 2.12} \value{[\code{\link{GtkTextMark}}] new \code{\link{GtkTextMark}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixTranslate.Rd0000644000176000001440000000120412362217677016456 0ustar ripleyusers\alias{pangoMatrixTranslate} \name{pangoMatrixTranslate} \title{pangoMatrixTranslate} \description{Changes the transformation represented by \code{matrix} to be the transformation given by first translating by (\code{tx}, \code{ty}) then applying the original transformation.} \usage{pangoMatrixTranslate(object, tx, ty)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}} \item{\verb{tx}}{[numeric] amount to translate in the X direction} \item{\verb{ty}}{[numeric] amount to translate in the Y direction} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupSetTranslationDomain.Rd0000644000176000001440000000134412362217677021277 0ustar ripleyusers\alias{gtkActionGroupSetTranslationDomain} \name{gtkActionGroupSetTranslationDomain} \title{gtkActionGroupSetTranslationDomain} \description{Sets the translation domain and uses \code{gDgettext()} for translating the \code{label} and \code{tooltip} of \code{\link{GtkActionEntry}}s added by \code{\link{gtkActionGroupAddActions}}.} \usage{gtkActionGroupSetTranslationDomain(object, domain)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActionGroup}}} \item{\verb{domain}}{the translation domain to use for \code{gDgettext()} calls} } \details{If you're not using \code{gettext()} for localization, see \code{\link{gtkActionGroupSetTranslateFunc}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxGetSnapEdge.Rd0000644000176000001440000000106512362217677016735 0ustar ripleyusers\alias{gtkHandleBoxGetSnapEdge} \name{gtkHandleBoxGetSnapEdge} \title{gtkHandleBoxGetSnapEdge} \description{Gets the edge used for determining reattachment of the handle box. See \code{\link{gtkHandleBoxSetSnapEdge}}.} \usage{gtkHandleBoxGetSnapEdge(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkHandleBox}}}} \value{[\code{\link{GtkPositionType}}] the edge used for determining reattachment, or (GtkPositionType)-1 if this is determined (as per default) from the handle position.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetColorStopCount.Rd0000644000176000001440000000134212362217677020263 0ustar ripleyusers\alias{cairoPatternGetColorStopCount} \name{cairoPatternGetColorStopCount} \title{cairoPatternGetColorStopCount} \description{Gets the number of color stops specified in the given gradient pattern.} \usage{cairoPatternGetColorStopCount(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} if \code{pattern} is not a gradient pattern.} \item{\verb{count}}{[integer] return value for the number of color stops, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetLabel.Rd0000644000176000001440000000077012362217677015713 0ustar ripleyusers\alias{gtkButtonSetLabel} \name{gtkButtonSetLabel} \title{gtkButtonSetLabel} \description{Sets the text of the label of the button to \code{str}. This text is also used to select the stock item if \code{\link{gtkButtonSetUseStock}} is used.} \usage{gtkButtonSetLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{label}}{a string} } \details{This will also clear any previously set labels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetButtonSensitivity.Rd0000644000176000001440000000121712362217677020654 0ustar ripleyusers\alias{gtkComboBoxSetButtonSensitivity} \name{gtkComboBoxSetButtonSensitivity} \title{gtkComboBoxSetButtonSensitivity} \description{Sets whether the dropdown button of the combo box should be always sensitive (\code{GTK_SENSITIVITY_ON}), never sensitive (\code{GTK_SENSITIVITY_OFF}) or only if there is at least one item to display (\code{GTK_SENSITIVITY_AUTO}).} \usage{gtkComboBoxSetButtonSensitivity(object, sensitivity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkComboBox}}} \item{\verb{sensitivity}}{specify the sensitivity of the dropdown button} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetUsername.Rd0000644000176000001440000000061112362217677017602 0ustar ripleyusers\alias{gMountOperationGetUsername} \name{gMountOperationGetUsername} \title{gMountOperationGetUsername} \description{Get the user name from the mount operation.} \usage{gMountOperationGetUsername(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[char] a string containing the user name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonSetColor.Rd0000644000176000001440000000065712362217677016755 0ustar ripleyusers\alias{gtkColorButtonSetColor} \name{gtkColorButtonSetColor} \title{gtkColorButtonSetColor} \description{Sets the current color to be \code{color}.} \usage{gtkColorButtonSetColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorButton}}.} \item{\verb{color}}{A \code{\link{GdkColor}} to set the current color with.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryPrependText.Rd0000644000176000001440000000104512362217677016304 0ustar ripleyusers\alias{gtkEntryPrependText} \name{gtkEntryPrependText} \title{gtkEntryPrependText} \description{ Prepends the given text to the contents of the widget. \strong{WARNING: \code{gtk_entry_prepend_text} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEditableInsertText}} instead.} } \usage{gtkEntryPrependText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{text}}{the text to prepend} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetReallocateRedraws.Rd0000644000176000001440000000116712362217677020747 0ustar ripleyusers\alias{gtkContainerSetReallocateRedraws} \name{gtkContainerSetReallocateRedraws} \title{gtkContainerSetReallocateRedraws} \description{Sets the \code{reallocate.redraws} flag of the container to the given value.} \usage{gtkContainerSetReallocateRedraws(object, needs.redraws)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{needs.redraws}}{the new value for the container's \code{reallocate.redraws} flag} } \details{Containers requesting reallocation redraws get automatically redrawn if any of their children changed allocation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkIsValid.Rd0000644000176000001440000000105412362217677016233 0ustar ripleyusers\alias{atkHyperlinkIsValid} \name{atkHyperlinkIsValid} \title{atkHyperlinkIsValid} \description{Since the document that a link is associated with may have changed this method returns \code{TRUE} if the link is still valid (with respect to the document it references) and \code{FALSE} otherwise.} \usage{atkHyperlinkIsValid(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \value{[logical] whether or not this link is still valid} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationSetParent.Rd0000644000176000001440000000100712362217677017627 0ustar ripleyusers\alias{gtkMountOperationSetParent} \name{gtkMountOperationSetParent} \title{gtkMountOperationSetParent} \description{Sets the transient parent for windows shown by the \code{\link{GtkMountOperation}}.} \usage{gtkMountOperationSetParent(object, parent)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMountOperation}}} \item{\verb{parent}}{transient parent of the window, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-GdkRGB.Rd0000644000176000001440000001152012362217677014114 0ustar ripleyusers\alias{gdk-GdkRGB} \alias{GdkRgbCmap} \alias{GdkRgbDither} \name{gdk-GdkRGB} \title{GdkRGB} \description{Renders RGB, grayscale, or indexed image data to a GdkDrawable} \section{Methods and Functions}{ \code{\link{gdkDrawRgbImage}(object, gc, x, y, width, height, dith, rgb.buf, rowstride)}\cr \code{\link{gdkDrawRgbImageDithalign}(object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith)}\cr \code{\link{gdkDrawIndexedImage}(object, gc, x, y, width, height, dith, buf, cmap)}\cr \code{\link{gdkDrawGrayImage}(object, gc, x, y, width, height, dith, buf)}\cr \code{\link{gdkDrawRgb32Image}(object, gc, x, y, width, height, dith, buf)}\cr \code{\link{gdkDrawRgb32ImageDithalign}(object, gc, x, y, width, height, dith, buf, xdith, ydith)}\cr \code{\link{gdkRgbCmapNew}(colors)}\cr \code{\link{gdkRgbGcSetForeground}(gc, rgb)}\cr \code{\link{gdkRgbGcSetBackground}(gc, rgb)}\cr \code{\link{gdkRgbXpixelFromRgb}(rgb)}\cr \code{\link{gdkRgbFindColor}(colormap, color)}\cr \code{\link{gdkRgbSetInstall}(install)}\cr \code{\link{gdkRgbSetMinColors}(min.colors)}\cr \code{\link{gdkRgbGetVisual}()}\cr \code{\link{gdkRgbGetColormap}()}\cr \code{\link{gdkRgbDitherable}()}\cr \code{\link{gdkRgbColormapDitherable}(colormap)}\cr \code{\link{gdkRgbSetVerbose}(verbose)}\cr } \section{Detailed Description}{GdkRGB is a low-level module which renders RGB, grayscale, and indexed colormap images to a \code{\link{GdkDrawable}}. It does this as efficiently as possible, handling issues such as colormaps, visuals, dithering, temporary buffers, and so on. Most code should use the higher-level \code{\link{GdkPixbuf}} features in place of this module; for example, \code{\link{gdkDrawPixbuf}} uses GdkRGB in its implementation. GdkRGB allocates a color cube to use when rendering images. You can set the threshold for installing colormaps with \code{\link{gdkRgbSetMinColors}}. The default is 5x5x5 (125). If a colorcube of this size or larger can be allocated in the default colormap, then that's done. Otherwise, GdkRGB creates its own private colormap. Setting it to 0 means that it always tries to use the default colormap, and setting it to 216 means that it always creates a private one if it cannot allocate the 6x6x6 colormap in the default. If you always want a private colormap (to avoid consuming too many colormap entries for other apps, say), you can use \code{gdk_rgb_set_install(TRUE)}. Setting the value greater than 216 exercises a bug in older versions of GdkRGB. Note, however, that setting it to 0 doesn't let you get away with ignoring the colormap and visual - a colormap is always created in grayscale and direct color modes, and the visual is changed in cases where a "better" visual than the default is available. If GDK is built with the Sun mediaLib library, the GdkRGB functions are accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable. \emph{A simple example program using GdkRGB} \preformatted{ # Simple example of using GdkRGB with RGtk2 IMAGE_WIDTH <- 256 IMAGE_HEIGHT <- 256 rgb_example <- function() { window <- gtkWindow("toplevel", show = F) darea <- gtkDrawingArea() darea$setSizeRequest(IMAGE_WIDTH, IMAGE_HEIGHT) window$add(darea) # Set up the RGB buffer. x <- rep(0:(IMAGE_WIDTH-1), IMAGE_HEIGHT) y <- rep(0:(IMAGE_HEIGHT-1), IMAGE_WIDTH, each = T) red <- x - x \%% 32 green <- (x / 32) * 4 + y - y \%% 32 blue <- y - y \%% 32 buf <- rbind(red, green, blue) # connect to expose event gSignalConnect(darea, "expose-event", on_darea_expose, buf) window$showAll() } on_darea_expose <- function(widget, event, buf) { gdkDrawRgbImage(widget[["window"]], widget[["style"]][["fgGc"]][[GtkStateType["normal"]+1]], 0, 0, IMAGE_WIDTH, IMAGE_HEIGHT, "max", buf, IMAGE_WIDTH * 3) } }} \section{Structures}{\describe{\item{\verb{GdkRgbCmap}}{ A private data structure which maps color indices to actual RGB colors. This is used only for \code{\link{gdkDrawIndexedImage}}. \strong{\verb{GdkRgbCmap} is a \link{transparent-type}.} \describe{ \item{\code{colors}}{The colors, represented as 0xRRGGBB integer values.} \item{\code{n_colors}}{The number of colors in the cmap.} } }}} \section{Enums and Flags}{\describe{\item{\verb{GdkRgbDither}}{ Selects whether or not GdkRGB applies dithering to the image on display. Since GdkRGB currently only handles images with 8 bits per component, dithering on 24 bit per pixel displays is a moot point. \describe{ \item{\verb{none}}{Never use dithering.} \item{\verb{normal}}{Use dithering in 8 bits per pixel (and below) only.} \item{\verb{max}}{Use dithering in 16 bits per pixel and below.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-GdkRGB.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetSortIndicator.Rd0000644000176000001440000000071712362217677021102 0ustar ripleyusers\alias{gtkTreeViewColumnGetSortIndicator} \name{gtkTreeViewColumnGetSortIndicator} \title{gtkTreeViewColumnGetSortIndicator} \description{Gets the value set by \code{\link{gtkTreeViewColumnSetSortIndicator}}.} \usage{gtkTreeViewColumnGetSortIndicator(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \value{[logical] whether the sort indicator arrow is displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetStepIncrement.Rd0000644000176000001440000000112312362217677020310 0ustar ripleyusers\alias{gtkAdjustmentSetStepIncrement} \name{gtkAdjustmentSetStepIncrement} \title{gtkAdjustmentSetStepIncrement} \description{Sets the step increment of the adjustment.} \usage{gtkAdjustmentSetStepIncrement(object, step.increment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{step.increment}}{the new step increment} } \details{See \code{\link{gtkAdjustmentSetLower}} about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetScreen.Rd0000644000176000001440000000071612362217677016325 0ustar ripleyusers\alias{gdkDrawableGetScreen} \name{gdkDrawableGetScreen} \title{gdkDrawableGetScreen} \description{Gets the \code{\link{GdkScreen}} associated with a \code{\link{GdkDrawable}}.} \usage{gdkDrawableGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the \code{\link{GdkScreen}} associated with \code{drawable}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetHomogeneous.Rd0000644000176000001440000000113612362217677017442 0ustar ripleyusers\alias{gtkToolItemSetHomogeneous} \name{gtkToolItemSetHomogeneous} \title{gtkToolItemSetHomogeneous} \description{Sets whether \code{tool.item} is to be allocated the same size as other homogeneous items. The effect is that all homogeneous items will have the same width as the widest of the items.} \usage{gtkToolItemSetHomogeneous(object, homogeneous)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{homogeneous}}{whether \code{tool.item} is the same size as other homogeneous items} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardGet.Rd0000644000176000001440000000123512362217677015360 0ustar ripleyusers\alias{gtkClipboardGet} \name{gtkClipboardGet} \title{gtkClipboardGet} \description{Returns the clipboard object for the given selection. See \code{\link{gtkClipboardGetForDisplay}} for complete details.} \usage{gtkClipboardGet(selection = "GDK_SELECTION_CLIPBOARD")} \arguments{\item{\verb{selection}}{a \code{\link{GdkAtom}} which identifies the clipboard to use}} \value{[\code{\link{GtkClipboard}}] the appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent and, \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetFromGicon.Rd0000644000176000001440000000072012362217677017373 0ustar ripleyusers\alias{gtkStatusIconSetFromGicon} \name{gtkStatusIconSetFromGicon} \title{gtkStatusIconSetFromGicon} \description{Makes \code{status.icon} display the \code{\link{GIcon}}. See \code{\link{gtkStatusIconNewFromGicon}} for details.} \usage{gtkStatusIconSetFromGicon(object, icon)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{icon}}{a GIcon} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetBinWindow.Rd0000644000176000001440000000111312362217677017027 0ustar ripleyusers\alias{gtkTreeViewGetBinWindow} \name{gtkTreeViewGetBinWindow} \title{gtkTreeViewGetBinWindow} \description{Returns the window that \code{tree.view} renders to. This is used primarily to compare to \code{event->window} to confirm that the event on \code{tree.view} is on the right window.} \usage{gtkTreeViewGetBinWindow(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[\code{\link{GdkWindow}}] A \code{\link{GdkWindow}}, or \code{NULL} when \code{tree.view} hasn't been realized yet} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-font-face.Rd0000644000176000001440000000716212362217677015255 0ustar ripleyusers\alias{cairo-font-face} \alias{CairoFontFace} \alias{cairoFontFace} \alias{CairoFontType} \name{cairo-font-face} \title{cairo_font_face_t} \description{Base class for font faces} \section{Methods and Functions}{ \code{\link{cairoFontFaceStatus}(font.face)}\cr \code{\link{cairoFontFaceGetType}(font.face)}\cr \code{\link{cairoFontFaceSetUserData}(font.face, key, user.data)}\cr \code{\link{cairoFontFaceGetUserData}(font.face, key)}\cr \code{cairoFontFace(family, slant, weight)} } \section{Detailed Description}{\code{\link{CairoFontFace}} represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. Font faces are created using \dfn{font-backend}-specific constructors, typically of the form cairo_\emph{backend}\code{fontFaceCreate()}, or implicitly using the \dfn{toy} text API by way of \code{\link{cairoSelectFontFace}}. The resulting face can be accessed using \code{\link{cairoGetFontFace}}.} \section{Structures}{\describe{\item{\verb{CairoFontFace}}{ A \code{\link{CairoFontFace}} specifies all aspects of a font other than the size or font matrix (a font matrix is used to distort a font by sheering it or scaling it unequally in the two directions) . A font face can be set on a \code{\link{Cairo}} by using \code{\link{cairoSetFontFace}}; the size and font matrix are set with \code{\link{cairoSetFontSize}} and \code{\link{cairoSetFontMatrix}}. There are various types of font faces, depending on the \dfn{font backend} they use. The type of a font face can be queried using \code{\link{cairoFontFaceGetType}}. Memory management of \code{\link{CairoFontFace}} is done with \code{cairoFontFaceReference()} and \code{cairoFontFaceDestroy()}. }}} \section{Convenient Construction}{\code{cairoFontFace} is the result of collapsing the constructors of \code{cairo_font_face_t} (\code{\link{cairoToyFontFaceCreate}}, \code{\link{cairoUserFontFaceCreate}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{CairoFontType}}{ \code{\link{CairoFontType}} is used to describe the type of a given font face or scaled font. The font types are also known as "font backends" within cairo. The type of a font face is determined by the function used to create it, which will generally be of the form cairo_\emph{type}\code{fontFaceCreate()}. The font face type can be queried with \code{\link{cairoFontFaceGetType}} The various \code{\link{CairoFontFace}} functions can be used with a font face of any type. The type of a scaled font is determined by the type of the font face passed to \code{\link{cairoScaledFontCreate}}. The scaled font type can be queried with \code{\link{cairoScaledFontGetType}} The various \code{\link{CairoScaledFont}} functions can be used with scaled fonts of any type, but some font backends also provide type-specific functions that must only be called with a scaled font of the appropriate type. These functions have names that begin with cairo_\emph{type}\code{scaledFont()} such as \code{cairoFtScaledFontLockFace()}. The behavior of calling a type-specific function with a scaled font of the wrong type is undefined. New entries may be added in future versions. Since 1.2 \describe{ \item{\verb{toy}}{ The font was created using cairo's toy font api} \item{\verb{ft}}{ The font is of type FreeType} \item{\verb{win32}}{ The font is of type Win32} \item{\verb{atsui}}{ The font is of type Quartz (Since: 1.6)} } }}} \references{\url{http://www.cairographics.org/manual/cairo-font-face.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamReadByte.Rd0000644000176000001440000000260412362217677020021 0ustar ripleyusers\alias{gBufferedInputStreamReadByte} \name{gBufferedInputStreamReadByte} \title{gBufferedInputStreamReadByte} \description{Tries to read a single byte from the stream or the buffer. Will block during this read.} \usage{gBufferedInputStreamReadByte(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GBufferedInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{On success, the byte read from the stream is returned. On end of stream -1 is returned but it's not an exceptional error and \code{error} is not set. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error. On error -1 is returned and \code{error} is set accordingly.} \value{ A list containing the following elements: \item{retval}{[integer] the byte read from the \code{stream}, or -1 on end of stream or error.} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetClusterExtents.Rd0000644000176000001440000000134312362217677021016 0ustar ripleyusers\alias{pangoLayoutIterGetClusterExtents} \name{pangoLayoutIterGetClusterExtents} \title{pangoLayoutIterGetClusterExtents} \description{Gets the extents of the current cluster, in layout coordinates (origin is the top left of the entire layout).} \usage{pangoLayoutIterGetClusterExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with ink extents, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with logical extents, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarSetMessageType.Rd0000644000176000001440000000077212362217677017171 0ustar ripleyusers\alias{gtkInfoBarSetMessageType} \name{gtkInfoBarSetMessageType} \title{gtkInfoBarSetMessageType} \description{Sets the message type of the message area. GTK+ uses this type to determine what color to use when drawing the message area.} \usage{gtkInfoBarSetMessageType(object, message.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{message.type}}{a \code{\link{GtkMessageType}}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataSetPixbuf.Rd0000644000176000001440000000114512362217677017372 0ustar ripleyusers\alias{gtkSelectionDataSetPixbuf} \name{gtkSelectionDataSetPixbuf} \title{gtkSelectionDataSetPixbuf} \description{Sets the contents of the selection from a \code{\link{GdkPixbuf}} The pixbuf is converted to the form determined by \code{selection.data->target}.} \usage{gtkSelectionDataSetPixbuf(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSelectionData}}} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}} } \details{Since 2.6} \value{[logical] \code{TRUE} if the selection was successfully set, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeIsEqual.Rd0000644000176000001440000000077612362217677016220 0ustar ripleyusers\alias{gtkPaperSizeIsEqual} \name{gtkPaperSizeIsEqual} \title{gtkPaperSizeIsEqual} \description{Compares two \code{\link{GtkPaperSize}} objects.} \usage{gtkPaperSizeIsEqual(object, size2)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{size2}}{another \code{\link{GtkPaperSize}} object} } \details{Since 2.10} \value{[logical] \code{TRUE}, if \code{size1} and \code{size2} represent the same paper size} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationNew.Rd0000644000176000001440000000123212362217677015237 0ustar ripleyusers\alias{atkRelationNew} \name{atkRelationNew} \title{atkRelationNew} \description{Create a new relation for the specified key and the specified list of targets. See also \code{\link{atkObjectAddRelationship}}.} \usage{atkRelationNew(targets, relationship)} \arguments{ \item{\verb{targets}}{[\code{\link{AtkObject}}] a list of pointers to \verb{AtkObjects} } \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] an \code{\link{AtkRelationType}} with which to create the new \code{\link{AtkRelation}}} } \value{[\code{\link{AtkRelation}}] a pointer to a new \code{\link{AtkRelation}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockListIds.Rd0000644000176000001440000000064412362217677015403 0ustar ripleyusers\alias{gtkStockListIds} \name{gtkStockListIds} \title{gtkStockListIds} \description{Retrieves a list of all known stock IDs added to a \code{\link{GtkIconFactory}} or registered with \code{\link{gtkStockAdd}}.} \usage{gtkStockListIds()} \value{[list] a list of known stock IDs. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileNewForCommandlineArg.Rd0000644000176000001440000000124412362217677017263 0ustar ripleyusers\alias{gFileNewForCommandlineArg} \name{gFileNewForCommandlineArg} \title{gFileNewForCommandlineArg} \description{Creates a \code{\link{GFile}} with the given argument from the command line. The value of \code{arg} can be either a URI, an absolute path or a relative path resolved relative to the current working directory. This operation never fails, but the returned object might not support any I/O operation if \code{arg} points to a malformed path.} \usage{gFileNewForCommandlineArg(arg)} \arguments{\item{\verb{arg}}{a command line string.}} \value{[\code{\link{GFile}}] a new \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamWriteAsync.Rd0000644000176000001440000000363512362217677017155 0ustar ripleyusers\alias{gOutputStreamWriteAsync} \name{gOutputStreamWriteAsync} \title{gOutputStreamWriteAsync} \description{Request an asynchronous write of \code{count} bytes from \code{buffer} into the stream. When the operation is finished \code{callback} will be called. You can then call \code{\link{gOutputStreamWriteFinish}} to get the result of the operation.} \usage{gOutputStreamWriteAsync(object, buffer, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GOutputStream}}.} \item{\verb{buffer}}{the buffer containing the data to write.} \item{\verb{io.priority}}{the io priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{During an async request no other sync and async calls are allowed, and will result in \code{G_IO_ERROR_PENDING} errors. A value of \code{count} larger than \code{G_MAXSSIZE} will cause a \code{G_IO_ERROR_INVALID_ARGUMENT} error. On success, the number of bytes written will be passed to the \code{callback}. It is not an error if this is not the same as the requested size, as it can happen e.g. on a partial I/O error, but generally we try to write as many bytes as requested. Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. Default priority is \code{G_PRIORITY_DEFAULT}. The asyncronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all. For the synchronous, blocking version of this function, see \code{\link{gOutputStreamWrite}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetTranslatorCredits.Rd0000644000176000001440000000100112362217677021232 0ustar ripleyusers\alias{gtkAboutDialogGetTranslatorCredits} \name{gtkAboutDialogGetTranslatorCredits} \title{gtkAboutDialogGetTranslatorCredits} \description{Returns the translator credits string which is displayed in the translators tab of the secondary credits dialog.} \usage{gtkAboutDialogGetTranslatorCredits(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The translator credits string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetFixedSize.Rd0000644000176000001440000000126012362217677017640 0ustar ripleyusers\alias{gtkCellRendererGetFixedSize} \name{gtkCellRendererGetFixedSize} \title{gtkCellRendererGetFixedSize} \description{Fills in \code{width} and \code{height} with the appropriate size of \code{cell}.} \usage{gtkCellRendererGetFixedSize(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkCellRenderer}}}} \value{ A list containing the following elements: \item{\verb{width}}{location to fill in with the fixed width of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{location to fill in with the fixed height of the cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNew.Rd0000644000176000001440000000164212362217677014712 0ustar ripleyusers\alias{gdkPixbufNew} \name{gdkPixbufNew} \title{gdkPixbufNew} \description{Creates a new \code{\link{GdkPixbuf}} structure and allocates a buffer for it. The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself.} \usage{gdkPixbufNew(colorspace, has.alpha, bits.per.sample, width, height)} \arguments{ \item{\verb{colorspace}}{Color space for image} \item{\verb{has.alpha}}{Whether the image should have transparency information} \item{\verb{bits.per.sample}}{Number of bits per color sample} \item{\verb{width}}{Width of image in pixels, must be > 0} \item{\verb{height}}{Height of image in pixels, must be > 0} } \value{[\code{\link{GdkPixbuf}}] A newly-created \code{\link{GdkPixbuf}} with a reference count of 1, or \code{NULL} if not enough memory could be allocated for the image buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragFinish.Rd0000644000176000001440000000121612362217677015036 0ustar ripleyusers\alias{gtkDragFinish} \name{gtkDragFinish} \title{gtkDragFinish} \description{Informs the drag source that the drop is finished, and that the data of the drag will no longer be required.} \usage{gtkDragFinish(object, success, del, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{the drag context.} \item{\verb{success}}{a flag indicating whether the drop was successful} \item{\verb{del}}{a flag indicating whether the source should delete the original data. (This should be \code{TRUE} for a move)} \item{\verb{time}}{the timestamp from the "drag_data_drop" signal.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetRange.Rd0000644000176000001440000000107012362217677015503 0ustar ripleyusers\alias{gtkRangeSetRange} \name{gtkRangeSetRange} \title{gtkRangeSetRange} \description{Sets the allowable values in the \code{\link{GtkRange}}, and clamps the range value to be between \code{min} and \code{max}. (If the range has a non-zero page size, it is clamped between \code{min} and \code{max} - page-size.)} \usage{gtkRangeSetRange(object, min, max)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{min}}{minimum range value} \item{\verb{max}}{maximum range value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListPrepend.Rd0000644000176000001440000000076712362217677015366 0ustar ripleyusers\alias{gtkCListPrepend} \name{gtkCListPrepend} \title{gtkCListPrepend} \description{ Adds a row to the CList at the top. \strong{WARNING: \code{gtk_clist_prepend} is deprecated and should not be used in newly-written code.} } \usage{gtkCListPrepend(object, text)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{text}}{An list of strings to add.} } \value{[integer] The number of the row added.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceInserted.Rd0000644000176000001440000000075312362217677017731 0ustar ripleyusers\alias{gtkTreeRowReferenceInserted} \name{gtkTreeRowReferenceInserted} \title{gtkTreeRowReferenceInserted} \description{Lets a set of row reference created by \code{\link{gtkTreeRowReferenceNewProxy}} know that the model emitted the "row_inserted" signal.} \usage{gtkTreeRowReferenceInserted(proxy, path)} \arguments{ \item{\verb{proxy}}{A \code{\link{GObject}}} \item{\verb{path}}{The row position that was inserted} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteNew.Rd0000644000176000001440000000047712362217677015736 0ustar ripleyusers\alias{gtkToolPaletteNew} \name{gtkToolPaletteNew} \title{gtkToolPaletteNew} \description{Creates a new tool palette.} \usage{gtkToolPaletteNew(show = TRUE)} \details{Since 2.20} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkToolPalette}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListUndoSelection.Rd0000644000176000001440000000071612362217677016536 0ustar ripleyusers\alias{gtkCListUndoSelection} \name{gtkCListUndoSelection} \title{gtkCListUndoSelection} \description{ Undoes the last selection for an "extended selection mode" CList. \strong{WARNING: \code{gtk_clist_undo_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkCListUndoSelection(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellPrepend.Rd0000644000176000001440000000064512362217677016237 0ustar ripleyusers\alias{gtkMenuShellPrepend} \name{gtkMenuShellPrepend} \title{gtkMenuShellPrepend} \description{Adds a new \code{\link{GtkMenuItem}} to the beginning of the menu shell's item list.} \usage{gtkMenuShellPrepend(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}.} \item{\verb{child}}{The \code{\link{GtkMenuItem}} to add.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPaperWidth.Rd0000644000176000001440000000102412362217677020262 0ustar ripleyusers\alias{gtkPrintSettingsGetPaperWidth} \name{gtkPrintSettingsGetPaperWidth} \title{gtkPrintSettingsGetPaperWidth} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PAPER_WIDTH}, converted to \code{unit}.} \usage{gtkPrintSettingsGetPaperWidth(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the paper width, in units of \code{unit}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawRgb32Image.Rd0000644000176000001440000000230712362217677015442 0ustar ripleyusers\alias{gdkDrawRgb32Image} \name{gdkDrawRgb32Image} \title{gdkDrawRgb32Image} \description{Draws a padded RGB image in the drawable. The image is stored as one pixel per 32-bit word. It is laid out as a red byte, a green byte, a blue byte, and a padding byte.} \usage{gdkDrawRgb32Image(object, gc, x, y, width, height, dith, buf)} \arguments{ \item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).} \item{\verb{gc}}{The graphics context.} \item{\verb{x}}{The x coordinate of the top-left corner in the drawable.} \item{\verb{y}}{The y coordinate of the top-left corner in the drawable.} \item{\verb{width}}{The width of the rectangle to be drawn.} \item{\verb{height}}{The height of the rectangle to be drawn.} \item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.} \item{\verb{buf}}{The pixel data, represented as padded 32-bit data.} } \details{It's unlikely that this function will give significant performance gains in practice. In my experience, the performance gain from having pixels aligned to 32-bit boundaries is cancelled out by the increased memory bandwidth.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetLabel.Rd0000644000176000001440000000055212362217677015653 0ustar ripleyusers\alias{gtkActionSetLabel} \name{gtkActionSetLabel} \title{gtkActionSetLabel} \description{Sets the label of \code{action}.} \usage{gtkActionSetLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{label}}{the label text to set} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryWritableNamespaces.Rd0000644000176000001440000000221412362217677020057 0ustar ripleyusers\alias{gFileQueryWritableNamespaces} \name{gFileQueryWritableNamespaces} \title{gFileQueryWritableNamespaces} \description{Obtain the list of attribute namespaces where new attributes can be created by a user. An example of this is extended attributes (in the "xattr" namespace).} \usage{gFileQueryWritableNamespaces(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileAttributeInfoList}}] a \code{\link{GFileAttributeInfoList}} describing the writable namespaces. When you are done with it,} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonNew.Rd0000644000176000001440000000124512362217677016432 0ustar ripleyusers\alias{gtkMenuToolButtonNew} \name{gtkMenuToolButtonNew} \title{gtkMenuToolButtonNew} \description{Creates a new \code{\link{GtkMenuToolButton}} using \code{icon.widget} as icon and \code{label} as label.} \usage{gtkMenuToolButtonNew(icon.widget, label, show = TRUE)} \arguments{ \item{\verb{icon.widget}}{a widget that will be used as icon widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{label}}{a string that will be used as label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \value{[\code{\link{GtkToolItem}}] the new \code{\link{GtkMenuToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GEmblem.Rd0000644000176000001440000000420712362217677013625 0ustar ripleyusers\alias{GEmblem} \alias{gEmblem} \alias{GEmblemOrigin} \name{GEmblem} \title{GEmblem} \description{An object for emblems} \section{Methods and Functions}{ \code{\link{gEmblemNew}(icon = NULL, origin = NULL)}\cr \code{\link{gEmblemNewWithOrigin}(icon, origin)}\cr \code{\link{gEmblemGetIcon}(object)}\cr \code{\link{gEmblemGetOrigin}(object)}\cr \code{gEmblem(icon, origin)} } \section{Hierarchy}{\preformatted{ GObject +----GEmblem GEnum +----GEmblemOrigin }} \section{Interfaces}{GEmblem implements \code{\link{GIcon}}.} \section{Detailed Description}{\code{\link{GEmblem}} is an implementation of \code{\link{GIcon}} that supports having an emblem, which is an icon with additional properties. It can than be added to a \code{\link{GEmblemedIcon}}. Currently, only metainformation about the emblem's origin is supported. More may be added in the future.} \section{Structures}{\describe{\item{\verb{GEmblem}}{ An object for Emblems }}} \section{Convenient Construction}{\code{gEmblem} is the result of collapsing the constructors of \code{GEmblem} (\code{\link{gEmblemNew}}, \code{\link{gEmblemNewWithOrigin}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{GEmblemOrigin}}{ GEmblemOrigin is used to add information about the origin of the emblem to \code{\link{GEmblem}}. Since 2.18 \describe{ \item{\verb{unknown}}{Emblem of unknown origin} \item{\verb{device}}{Emblem adds device-specific information} \item{\verb{livemetadata}}{Emblem depicts live metadata, such as "readonly"} \item{\verb{tag}}{Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)} } }}} \section{Properties}{\describe{ \item{\verb{icon} [\code{\link{GObject}} : * : Read / Write / Construct Only]}{ The actual icon of the emblem. } \item{\verb{origin} [\code{\link{GEmblemOrigin}} : Read / Write / Construct Only]}{ Tells which origin the emblem is derived from. Default value: G_EMBLEM_ORIGIN_UNKNOWN } }} \references{\url{http://library.gnome.org/devel//gio/GEmblem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetBytesInLine.Rd0000644000176000001440000000064412362217677017342 0ustar ripleyusers\alias{gtkTextIterGetBytesInLine} \name{gtkTextIterGetBytesInLine} \title{gtkTextIterGetBytesInLine} \description{Returns the number of bytes in the line containing \code{iter}, including the paragraph delimiters.} \usage{gtkTextIterGetBytesInLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[integer] number of bytes in the line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameNew.Rd0000644000176000001440000000071612362217677014530 0ustar ripleyusers\alias{gtkFrameNew} \name{gtkFrameNew} \title{gtkFrameNew} \description{Creates a new \code{\link{GtkFrame}}, with optional label \code{label}. If \code{label} is \code{NULL}, the label is omitted.} \usage{gtkFrameNew(label = NULL, show = TRUE)} \arguments{\item{\verb{label}}{the text to use as the label of the frame}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFrame}} widget} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsGetLocal.Rd0000644000176000001440000000041712362217677014634 0ustar ripleyusers\alias{gVfsGetLocal} \name{gVfsGetLocal} \title{gVfsGetLocal} \description{Gets the local \code{\link{GVfs}} for the system.} \usage{gVfsGetLocal()} \value{[\code{\link{GVfs}}] a \code{\link{GVfs}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectRemoveRelationship.Rd0000644000176000001440000000137012362217677017761 0ustar ripleyusers\alias{atkObjectRemoveRelationship} \name{atkObjectRemoveRelationship} \title{atkObjectRemoveRelationship} \description{Removes a relationship of the specified type with the specified target.} \usage{atkObjectRemoveRelationship(object, relationship, target)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] The \code{\link{AtkObject}} from which an AtkRelation is to be removed. } \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] The \code{\link{AtkRelationType}} of the relation} \item{\verb{target}}{[\code{\link{AtkObject}}] The \code{\link{AtkObject}} which is the target of the relation to be removed.} } \value{[logical] TRUE if the relationship is removed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceFinish.Rd0000644000176000001440000000132012362217677015771 0ustar ripleyusers\alias{gFileReplaceFinish} \name{gFileReplaceFinish} \title{gFileReplaceFinish} \description{Finishes an asynchronous file replace operation started with \code{\link{gFileReplaceAsync}}.} \usage{gFileReplaceFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a \code{\link{GFileOutputStream}}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemedIconGetIcon.Rd0000644000176000001440000000051512362217677016256 0ustar ripleyusers\alias{gEmblemedIconGetIcon} \name{gEmblemedIconGetIcon} \title{gEmblemedIconGetIcon} \description{Gets the main icon for \code{emblemed}.} \usage{gEmblemedIconGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GEmblemedIcon}}}} \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetColumnDescription.Rd0000644000176000001440000000120312362217677020057 0ustar ripleyusers\alias{atkTableGetColumnDescription} \name{atkTableGetColumnDescription} \title{atkTableGetColumnDescription} \description{Gets the description text of the specified \code{column} in the table} \usage{atkTableGetColumnDescription(object, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[character] a gchar* representing the column description, or \code{NULL} if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGlyphExtents.Rd0000644000176000001440000000177312362217677015776 0ustar ripleyusers\alias{cairoGlyphExtents} \name{cairoGlyphExtents} \title{cairoGlyphExtents} \description{Gets the extents for a list of glyphs. The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, (as they would be drawn by \code{\link{cairoShowGlyphs}}). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by \code{\link{cairoShowGlyphs}}.} \usage{cairoGlyphExtents(cr, glyphs)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] a list of \code{\link{CairoGlyph}} objects} } \details{Note that whitespace glyphs do not contribute to the size of the rectangle (extents.width and extents.height). } \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoTextExtents}}] a \code{\link{CairoTextExtents}} object into which the results will be stored} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveGetIdentifier.Rd0000644000176000001440000000102712362217677016175 0ustar ripleyusers\alias{gDriveGetIdentifier} \name{gDriveGetIdentifier} \title{gDriveGetIdentifier} \description{Gets the identifier of the given kind for \code{drive}.} \usage{gDriveGetIdentifier(object, kind)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}} \item{\verb{kind}}{the kind of identifier to return} } \value{[char] a newly allocated string containing the requested identfier, or \code{NULL} if the \code{\link{GDrive}} doesn't have this kind of identifier.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxPopup.Rd0000644000176000001440000000070012362217677015551 0ustar ripleyusers\alias{gtkComboBoxPopup} \name{gtkComboBoxPopup} \title{gtkComboBoxPopup} \description{Pops up the menu or dropdown list of \code{combo.box}. } \usage{gtkComboBoxPopup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetHeightMm.Rd0000644000176000001440000000071712362217677016307 0ustar ripleyusers\alias{gdkScreenGetHeightMm} \name{gdkScreenGetHeightMm} \title{gdkScreenGetHeightMm} \description{Returns the height of \code{screen} in millimeters. Note that on some X servers this value will not be correct.} \usage{gdkScreenGetHeightMm(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] the heigth of \code{screen} in millimeters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapLoadFd.Rd0000644000176000001440000000060512362217677015540 0ustar ripleyusers\alias{gtkAccelMapLoadFd} \name{gtkAccelMapLoadFd} \title{gtkAccelMapLoadFd} \description{Filedescriptor variant of \code{\link{gtkAccelMapLoad}}.} \usage{gtkAccelMapLoadFd(fd)} \arguments{\item{\verb{fd}}{a valid readable file descriptor}} \details{Note that the file descriptor will not be closed by this function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsert.Rd0000644000176000001440000000152412362217677016265 0ustar ripleyusers\alias{gtkTextBufferInsert} \name{gtkTextBufferInsert} \title{gtkTextBufferInsert} \description{Inserts \code{len} bytes of \code{text} at position \code{iter}. If \code{len} is -1, \code{text} must be and will be inserted in its entirety. Emits the "insert-text" signal; insertion actually occurs in the default handler for the signal. \code{iter} is invalidated when insertion occurs (because the buffer contents change), but the default signal handler revalidates it to point to the end of the inserted text.} \usage{gtkTextBufferInsert(object, iter, text, len = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{a position in the buffer} \item{\verb{text}}{UTF-8 format text to insert} \item{\verb{len}}{length of text in bytes, or -1} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetsIncludeText.Rd0000644000176000001440000000075212362217677016606 0ustar ripleyusers\alias{gtkTargetsIncludeText} \name{gtkTargetsIncludeText} \title{gtkTargetsIncludeText} \description{Determines if any of the targets in \code{targets} can be used to provide text.} \usage{gtkTargetsIncludeText(targets)} \arguments{\item{\verb{targets}}{a list of \code{\link{GdkAtom}}s}} \details{Since 2.10} \value{[logical] \code{TRUE} if \code{targets} include a suitable target for text, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetDiscreteBlocks.Rd0000644000176000001440000000117112362217677020546 0ustar ripleyusers\alias{gtkProgressBarSetDiscreteBlocks} \name{gtkProgressBarSetDiscreteBlocks} \title{gtkProgressBarSetDiscreteBlocks} \description{ Sets the number of blocks that the progress bar is divided into when the style is \code{GTK_PROGRESS_DISCRETE}. \strong{WARNING: \code{gtk_progress_bar_set_discrete_blocks} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarSetDiscreteBlocks(object, blocks)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}.} \item{\verb{blocks}}{number of individual blocks making up the bar.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelNewWithMnemonic.Rd0000644000176000001440000000230012362217677017026 0ustar ripleyusers\alias{gtkLabelNewWithMnemonic} \name{gtkLabelNewWithMnemonic} \title{gtkLabelNewWithMnemonic} \description{Creates a new \code{\link{GtkLabel}}, containing the text in \code{str}.} \usage{gtkLabelNewWithMnemonic(str = NULL, show = TRUE)} \arguments{\item{\verb{str}}{The text of the label, with an underscore in front of the mnemonic character}} \details{If characters in \code{str} are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using \code{\link{gtkLabelSetMnemonicWidget}}. If \code{\link{gtkLabelSetMnemonicWidget}} is not called, then the first activatable ancestor of the \code{\link{GtkLabel}} will be chosen as the mnemonic widget. For instance, if the label is inside a button or menu item, the button or menu item will automatically become the mnemonic widget and be activated by the mnemonic.} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkLabel}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketControlMessageGetMsgType.Rd0000644000176000001440000000102412362217677020525 0ustar ripleyusers\alias{gSocketControlMessageGetMsgType} \name{gSocketControlMessageGetMsgType} \title{gSocketControlMessageGetMsgType} \description{Returns the protocol specific type of the control message. For instance, for UNIX fd passing this would be SCM_RIGHTS.} \usage{gSocketControlMessageGetMsgType(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketControlMessage}}}} \details{Since 2.22} \value{[integer] an integer describing the type of control message} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Cursors.Rd0000644000176000001440000001245512362217677014524 0ustar ripleyusers\alias{gdk-Cursors} \alias{GdkCursor} \alias{GdkCursorType} \name{gdk-Cursors} \title{Cursors} \description{Standard and pixmap cursors} \section{Methods and Functions}{ \code{\link{gdkCursorNew}(cursor.type)}\cr \code{\link{gdkCursorNewFromPixmap}(source, mask, fg, bg, x, y)}\cr \code{\link{gdkCursorNewFromPixbuf}(display, source, x, y)}\cr \code{\link{gdkCursorNewFromName}(display, name)}\cr \code{\link{gdkCursorNewForDisplay}(display, cursor.type)}\cr \code{\link{gdkCursorGetDisplay}(object)}\cr \code{\link{gdkCursorGetImage}(object)}\cr } \section{Detailed Description}{These functions are used to create and destroy cursors. There is a number of standard cursors, but it is also possible to construct new cursors from pixmaps and pixbufs. There may be limitations as to what kinds of cursors can be constructed on a given display, see \code{\link{gdkDisplaySupportsCursorAlpha}}, \code{\link{gdkDisplaySupportsCursorColor}}, \code{\link{gdkDisplayGetDefaultCursorSize}} and \code{\link{gdkDisplayGetMaximalCursorSize}}. Cursors by themselves are not very interesting, they must be be bound to a window for users to see them. This is done with \code{\link{gdkWindowSetCursor}} or by setting the cursor member of the \code{\link{GdkWindowAttr}} struct passed to \code{\link{gdkWindowNew}}.} \section{Structures}{\describe{\item{\verb{GdkCursor}}{ A \verb{GdkCursor} structure represents a cursor. \describe{\item{\verb{type}}{[\code{\link{GdkCursorType}}] the \code{\link{GdkCursorType}} of the cursor}} }}} \section{Enums and Flags}{\describe{\item{\verb{GdkCursorType}}{ The standard cursors available. \describe{ \item{\verb{x_cursor}}{\emph{undocumented }} \item{\verb{arrow}}{\emph{undocumented }} \item{\verb{based_arrow_down}}{\emph{undocumented }} \item{\verb{based_arrow_up}}{\emph{undocumented }} \item{\verb{boat}}{\emph{undocumented }} \item{\verb{bogosity}}{\emph{undocumented }} \item{\verb{bottom_left_corner}}{\emph{undocumented }} \item{\verb{bottom_right_corner}}{\emph{undocumented }} \item{\verb{bottom_side}}{\emph{undocumented }} \item{\verb{bottom_tee}}{\emph{undocumented }} \item{\verb{box_spiral}}{\emph{undocumented }} \item{\verb{center_ptr}}{\emph{undocumented }} \item{\verb{circle}}{\emph{undocumented }} \item{\verb{clock }}{\emph{undocumented }} \item{\verb{coffee_mug}}{\emph{undocumented }} \item{\verb{cross}}{\emph{undocumented }} \item{\verb{cross_reverse}}{\emph{undocumented }} \item{\verb{crosshair}}{\emph{undocumented }} \item{\verb{diamond_cross}}{\emph{undocumented }} \item{\verb{dot}}{\emph{undocumented }} \item{\verb{dotbox}}{\emph{undocumented }} \item{\verb{double_arrow}}{\emph{undocumented }} \item{\verb{draft_large}}{\emph{undocumented }} \item{\verb{draft_small}}{\emph{undocumented }} \item{\verb{draped_box}}{\emph{undocumented }} \item{\verb{exchange}}{\emph{undocumented }} \item{\verb{fleur}}{\emph{undocumented }} \item{\verb{gobbler}}{\emph{undocumented }} \item{\verb{gumby}}{\emph{undocumented }} \item{\verb{hand1}}{\emph{undocumented }} \item{\verb{hand2}}{\emph{undocumented }} \item{\verb{heart}}{\emph{undocumented }} \item{\verb{icon}}{\emph{undocumented }} \item{\verb{iron_cross}}{\emph{undocumented }} \item{\verb{left_ptr}}{\emph{undocumented }} \item{\verb{left_side}}{\emph{undocumented }} \item{\verb{left_tee}}{\emph{undocumented }} \item{\verb{leftbutton}}{\emph{undocumented }} \item{\verb{ll_angle}}{\emph{undocumented }} \item{\verb{lr_angle}}{\emph{undocumented }} \item{\verb{man}}{\emph{undocumented }} \item{\verb{middlebutton}}{\emph{undocumented }} \item{\verb{mouse}}{\emph{undocumented }} \item{\verb{pencil}}{\emph{undocumented }} \item{\verb{pirate}}{\emph{undocumented }} \item{\verb{plus}}{\emph{undocumented }} \item{\verb{question_arrow}}{\emph{undocumented }} \item{\verb{right_ptr}}{\emph{undocumented }} \item{\verb{right_side}}{\emph{undocumented }} \item{\verb{right_tee}}{\emph{undocumented }} \item{\verb{rightbutton}}{\emph{undocumented }} \item{\verb{rtl_logo}}{\emph{undocumented }} \item{\verb{sailboat}}{\emph{undocumented }} \item{\verb{sb_down_arrow}}{\emph{undocumented }} \item{\verb{sb_h_double_arrow}}{\emph{undocumented }} \item{\verb{sb_left_arrow}}{\emph{undocumented }} \item{\verb{sb_right_arrow}}{\emph{undocumented }} \item{\verb{sb_up_arrow}}{\emph{undocumented }} \item{\verb{sb_v_double_arrow}}{\emph{undocumented }} \item{\verb{shuttle}}{\emph{undocumented }} \item{\verb{sizing}}{\emph{undocumented }} \item{\verb{spider }}{\emph{undocumented }} \item{\verb{spraycan}}{\emph{undocumented }} \item{\verb{star}}{\emph{undocumented }} \item{\verb{target}}{\emph{undocumented }} \item{\verb{tcross}}{\emph{undocumented }} \item{\verb{top_left_arrow}}{\emph{undocumented }} \item{\verb{top_left_corner}}{\emph{undocumented }} \item{\verb{top_right_corner}}{\emph{undocumented }} \item{\verb{top_side}}{\emph{undocumented }} \item{\verb{top_tee}}{\emph{undocumented }} \item{\verb{trek}}{\emph{undocumented }} \item{\verb{ul_angle}}{\emph{undocumented }} \item{\verb{umbrella}}{\emph{undocumented }} \item{\verb{ur_angle}}{\emph{undocumented }} \item{\verb{watch}}{\emph{undocumented }} \item{\verb{xterm}}{\emph{undocumented }} \item{\verb{last-cursor}}{last cursor type} \item{\verb{gdk-cursor-is-pixmap}}{Blank cursor. Since 2.16} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Cursors.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreateFinish.Rd0000644000176000001440000000131112362217677015621 0ustar ripleyusers\alias{gFileCreateFinish} \name{gFileCreateFinish} \title{gFileCreateFinish} \description{Finishes an asynchronous file create operation started with \code{\link{gFileCreateAsync}}.} \usage{gFileCreateFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileOutputStream}}] a \code{\link{GFileOutputStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetTooltipRow.Rd0000644000176000001440000000116712362217677017276 0ustar ripleyusers\alias{gtkTreeViewSetTooltipRow} \name{gtkTreeViewSetTooltipRow} \title{gtkTreeViewSetTooltipRow} \description{Sets the tip area of \code{tooltip} to be the area covered by the row at \code{path}. See also \code{\link{gtkTreeViewSetTooltipColumn}} for a simpler alternative. See also \code{\link{gtkTooltipSetTipArea}}.} \usage{gtkTreeViewSetTooltipRow(object, tooltip, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{tooltip}}{a \code{\link{GtkTooltip}}} \item{\verb{path}}{a \code{\link{GtkTreePath}}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetIconSize.Rd0000644000176000001440000000114512362217677016661 0ustar ripleyusers\alias{gtkToolItemGetIconSize} \name{gtkToolItemGetIconSize} \title{gtkToolItemGetIconSize} \description{Returns the icon size used for \code{tool.item}. Custom subclasses of \code{\link{GtkToolItem}} should call this function to find out what size icons they should use.} \usage{gtkToolItemGetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[\code{\link{GtkIconSize}}] a \code{\link{GtkIconSize}} indicating the icon size used for \code{tool.item}. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetCanActivateAccel.Rd0000644000176000001440000000151612362217677017301 0ustar ripleyusers\alias{gtkWidgetCanActivateAccel} \name{gtkWidgetCanActivateAccel} \title{gtkWidgetCanActivateAccel} \description{Determines whether an accelerator that activates the signal identified by \code{signal.id} can currently be activated. This is done by emitting the \code{\link{gtkWidgetCanActivateAccel}} signal on \code{widget}; if the signal isn't overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped.} \usage{gtkWidgetCanActivateAccel(object, signal.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{signal.id}}{the ID of a signal installed on \code{widget}} } \details{Since 2.4} \value{[logical] \code{TRUE} if the accelerator can be activated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcPropertyParseEnum.Rd0000644000176000001440000000172712362217677016760 0ustar ripleyusers\alias{gtkRcPropertyParseEnum} \name{gtkRcPropertyParseEnum} \title{gtkRcPropertyParseEnum} \description{A \verb{GtkRcPropertyParser} for use with \code{\link{gtkSettingsInstallPropertyParser}} or \code{\link{gtkWidgetClassInstallStylePropertyParser}} which parses a single enumeration value.} \usage{gtkRcPropertyParseEnum(pspec, gstring)} \arguments{ \item{\verb{pspec}}{a \code{\link{GParamSpec}}} \item{\verb{gstring}}{the \verb{character} to be parsed} } \details{The enumeration value can be specified by its name, its nickname or its numeric value. For consistency with flags parsing, the value may be surrounded by parentheses.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{gstring} could be parsed and \code{property.value} has been set to the resulting \verb{GEnumValue}.} \item{\verb{property.value}}{a \verb{R object} which must hold enum values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetFocusVadjustment.Rd0000644000176000001440000000173412362217677020650 0ustar ripleyusers\alias{gtkContainerSetFocusVadjustment} \name{gtkContainerSetFocusVadjustment} \title{gtkContainerSetFocusVadjustment} \description{Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the vertical alignment. See \code{\link{gtkScrolledWindowGetVadjustment}} for a typical way of obtaining the adjustment and \code{\link{gtkContainerSetFocusHadjustment}} for setting the horizontal adjustment.} \usage{gtkContainerSetFocusVadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{adjustment}}{an adjustment which should be adjusted when the focus is moved among the descendents of \code{container}} } \details{The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetColumns.Rd0000644000176000001440000000104012362217677016553 0ustar ripleyusers\alias{gtkIconViewSetColumns} \name{gtkIconViewSetColumns} \title{gtkIconViewSetColumns} \description{Sets the ::columns property which determines in how many columns the icons are arranged. If \code{columns} is -1, the number of columns will be chosen automatically to fill the available area.} \usage{gtkIconViewSetColumns(object, columns)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{columns}}{the number of columns} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetCapsLockState.Rd0000644000176000001440000000062712362217677017314 0ustar ripleyusers\alias{gdkKeymapGetCapsLockState} \name{gdkKeymapGetCapsLockState} \title{gdkKeymapGetCapsLockState} \description{Returns whether the Caps Lock modifer is locked.} \usage{gdkKeymapGetCapsLockState(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkKeymap}}}} \details{Since 2.16} \value{[logical] \code{TRUE} if Caps Lock is on} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreRemove.Rd0000644000176000001440000000111212362217677016105 0ustar ripleyusers\alias{gtkTreeStoreRemove} \name{gtkTreeStoreRemove} \title{gtkTreeStoreRemove} \description{Removes \code{iter} from \code{tree.store}. After being removed, \code{iter} is set to the next valid row at that level, or invalidated if it previously pointed to the last one.} \usage{gtkTreeStoreRemove(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}}} } \value{[logical] \code{TRUE} if \code{iter} is still valid, \code{FALSE} if not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventsPending.Rd0000644000176000001440000000062612362217677015575 0ustar ripleyusers\alias{gtkEventsPending} \name{gtkEventsPending} \title{gtkEventsPending} \description{Checks if any events are pending. This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation.} \usage{gtkEventsPending()} \value{[logical] \code{TRUE} if any events are pending, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetAdjustment.Rd0000644000176000001440000000070512362217677017626 0ustar ripleyusers\alias{gtkSpinButtonGetAdjustment} \name{gtkSpinButtonGetAdjustment} \title{gtkSpinButtonGetAdjustment} \description{Get the adjustment associated with a \code{\link{GtkSpinButton}}} \usage{gtkSpinButtonGetAdjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[\code{\link{GtkAdjustment}}] the \code{\link{GtkAdjustment}} of \code{spin.button}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInitIdentity.Rd0000644000176000001440000000062212362217677017132 0ustar ripleyusers\alias{cairoMatrixInitIdentity} \name{cairoMatrixInitIdentity} \title{cairoMatrixInitIdentity} \description{Modifies \code{matrix} to be an identity transformation.} \usage{cairoMatrixInitIdentity()} \value{ A list containing the following elements: \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkAddressParse.Rd0000644000176000001440000000315412362217677016416 0ustar ripleyusers\alias{gNetworkAddressParse} \name{gNetworkAddressParse} \title{gNetworkAddressParse} \description{Creates a new \code{\link{GSocketConnectable}} for connecting to the given \code{hostname} and \code{port}. May fail and return \code{NULL} in case parsing \code{host.and.port} fails.} \usage{gNetworkAddressParse(host.and.port, default.port, .errwarn = TRUE)} \arguments{ \item{\verb{host.and.port}}{the hostname and optionally a port} \item{\verb{default.port}}{the default port if not in \code{host.and.port}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{\code{host.and.port} may be in any of a number of recognised formats: an IPv6 address, an IPv4 address, or a domain name (in which case a DNS lookup is performed). Quoting with [] is supported for all address types. A port override may be specified in the usual way with a colon. Ports may be given as decimal numbers or symbolic names (in which case an /etc/services lookup is performed). If no port is specified in \code{host.and.port} then \code{default.port} will be used as the port number to connect to. In general, \code{host.and.port} is expected to be provided by the user (allowing them to give the hostname, and a port overide if necessary) and \code{default.port} is expected to be provided by the application. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnectable}}] the new \code{\link{GNetworkAddress}}, or \code{NULL} on error} \item{\verb{error}}{a pointer to a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetVadjustment.Rd0000644000176000001440000000116012362217677016735 0ustar ripleyusers\alias{gtkCListSetVadjustment} \name{gtkCListSetVadjustment} \title{gtkCListSetVadjustment} \description{ Allows you to set the \code{\link{GtkAdjustment}} to be used for the vertical aspect of the \code{\link{GtkCList}} widget. \strong{WARNING: \code{gtk_clist_set_vadjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetVadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{adjustment}}{A pointer to a \code{\link{GtkAdjustment}} widget, or NULL.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeNew.Rd0000644000176000001440000000107712362217677015352 0ustar ripleyusers\alias{gtkIconThemeNew} \name{gtkIconThemeNew} \title{gtkIconThemeNew} \description{Creates a new icon theme object. Icon theme objects are used to lookup up an icon by name in a particular icon theme. Usually, you'll want to use \code{\link{gtkIconThemeGetDefault}} or \code{\link{gtkIconThemeGetForScreen}} rather than creating a new icon theme object for scratch.} \usage{gtkIconThemeNew()} \details{Since 2.4} \value{[\code{\link{GtkIconTheme}}] the newly created \code{\link{GtkIconTheme}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemNew.Rd0000644000176000001440000000047712362217677015236 0ustar ripleyusers\alias{gtkToolItemNew} \name{gtkToolItemNew} \title{gtkToolItemNew} \description{Creates a new \code{\link{GtkToolItem}}} \usage{gtkToolItemNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] the new \code{\link{GtkToolItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetAddState.Rd0000644000176000001440000000107012362217677016156 0ustar ripleyusers\alias{atkStateSetAddState} \name{atkStateSetAddState} \title{atkStateSetAddState} \description{Add a new state for the specified type to the current state set if it is not already present.} \usage{atkStateSetAddState(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{type}}{[\code{\link{AtkStateType}}] an \code{\link{AtkStateType}}} } \value{[logical] \code{TRUE} if the state for \code{type} is not already in \code{set}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetCopyright.Rd0000644000176000001440000000077112362217677017564 0ustar ripleyusers\alias{gtkAboutDialogSetCopyright} \name{gtkAboutDialogSetCopyright} \title{gtkAboutDialogSetCopyright} \description{Sets the copyright string to display in the about dialog. This should be a short string of one or two lines.} \usage{gtkAboutDialogSetCopyright(object, copyright = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{copyright}}{(allow-none) the copyright string} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufScale.Rd0000644000176000001440000000332112362217677015204 0ustar ripleyusers\alias{gdkPixbufScale} \name{gdkPixbufScale} \title{gdkPixbufScale} \description{Creates a transformation of the source image \code{src} by scaling by \code{scale.x} and \code{scale.y} then translating by \code{offset.x} and \code{offset.y}, then renders the rectangle (\code{dest.x}, \code{dest.y}, \code{dest.width}, \code{dest.height}) of the resulting image onto the destination image replacing the previous contents.} \usage{gdkPixbufScale(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{dest}}{the \code{\link{GdkPixbuf}} into which to render the results} \item{\verb{dest.x}}{the left coordinate for region to render} \item{\verb{dest.y}}{the top coordinate for region to render} \item{\verb{dest.width}}{the width of the region to render} \item{\verb{dest.height}}{the height of the region to render} \item{\verb{offset.x}}{the offset in the X direction (currently rounded to an integer)} \item{\verb{offset.y}}{the offset in the Y direction (currently rounded to an integer)} \item{\verb{scale.x}}{the scale factor in the X direction} \item{\verb{scale.y}}{the scale factor in the Y direction} \item{\verb{interp.type}}{the interpolation type for the transformation.} } \details{Try to use \code{\link{gdkPixbufScaleSimple}} first, this function is the industrial-strength power tool you can fall back to if \code{\link{gdkPixbufScaleSimple}} isn't powerful enough. If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the scaling which results in rendering artifacts.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRemoveSelectionClipboard.Rd0000644000176000001440000000110512362217677021737 0ustar ripleyusers\alias{gtkTextBufferRemoveSelectionClipboard} \name{gtkTextBufferRemoveSelectionClipboard} \title{gtkTextBufferRemoveSelectionClipboard} \description{Removes a \code{\link{GtkClipboard}} added with \code{\link{gtkTextBufferAddSelectionClipboard}}.} \usage{gtkTextBufferRemoveSelectionClipboard(object, clipboard)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{clipboard}}{a \code{\link{GtkClipboard}} added to \code{buffer} by \code{\link{gtkTextBufferAddSelectionClipboard}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-ps-surface.Rd0000644000176000001440000000301612362217677015455 0ustar ripleyusers\alias{cairo-ps-surface} \alias{CairoPsLevel} \name{cairo-ps-surface} \title{PostScript Surfaces} \description{Rendering PostScript documents} \section{Methods and Functions}{ \code{\link{cairoPsSurfaceCreate}(filename, width.in.points, height.in.points)}\cr \code{\link{cairoPsSurfaceCreateForStream}(write.func, closure, width.in.points, height.in.points)}\cr \code{\link{cairoPsSurfaceRestrictToLevel}(surface, level)}\cr \code{\link{cairoPsGetLevels}()}\cr \code{\link{cairoPsLevelToString}(level)}\cr \code{\link{cairoPsSurfaceSetEps}(surface, eps)}\cr \code{\link{cairoPsSurfaceGetEps}(surface)}\cr \code{\link{cairoPsSurfaceSetSize}(surface, width.in.points, height.in.points)}\cr \code{\link{cairoPsSurfaceDscBeginSetup}(surface)}\cr \code{\link{cairoPsSurfaceDscBeginPageSetup}(surface)}\cr \code{\link{cairoPsSurfaceDscComment}(surface, comment)}\cr } \section{Detailed Description}{The PostScript surface is used to render cairo graphics to Adobe PostScript files and is a multi-page vector surface backend.} \section{Enums and Flags}{\describe{\item{\verb{CairoPsLevel}}{ \code{\link{CairoPsLevel}} is used to describe the language level of the PostScript Language Reference that a generated PostScript file will conform to. \describe{ \item{\verb{2}}{ The language level 2 of the PostScript specification.} \item{\verb{3}}{ The language level 3 of the PostScript specification.} } }}} \references{\url{http://www.cairographics.org/manual/cairo-ps-surface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellEditableRemoveWidget.Rd0000644000176000001440000000054312362217677017655 0ustar ripleyusers\alias{gtkCellEditableRemoveWidget} \name{gtkCellEditableRemoveWidget} \title{gtkCellEditableRemoveWidget} \description{Emits the \code{\link{gtkCellEditableRemoveWidget}} signal.} \usage{gtkCellEditableRemoveWidget(object)} \arguments{\item{\verb{object}}{A \verb{GtkTreeEditable}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetAscent.Rd0000644000176000001440000000122212362217677017367 0ustar ripleyusers\alias{pangoFontMetricsGetAscent} \name{pangoFontMetricsGetAscent} \title{pangoFontMetricsGetAscent} \description{Gets the ascent from a font metrics structure. The ascent is the distance from the baseline to the logical top of a line of text. (The logical top may be above or below the top of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.)} \usage{pangoFontMetricsGetAscent(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \value{[integer] the ascent, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerCheckResize.Rd0000644000176000001440000000045012362217677017061 0ustar ripleyusers\alias{gtkContainerCheckResize} \name{gtkContainerCheckResize} \title{gtkContainerCheckResize} \description{\emph{undocumented }} \usage{gtkContainerCheckResize(object)} \arguments{\item{\verb{object}}{\emph{undocumented }}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySetDoubleClickTime.Rd0000644000176000001440000000116512362217677020004 0ustar ripleyusers\alias{gdkDisplaySetDoubleClickTime} \name{gdkDisplaySetDoubleClickTime} \title{gdkDisplaySetDoubleClickTime} \description{Sets the double click time (two clicks within this time interval count as a double click and result in a \verb{GDK_2BUTTON_PRESS} event). Applications should \emph{not} set this, it is a global user-configured setting.} \usage{gdkDisplaySetDoubleClickTime(object, msec)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{msec}}{double click time in milliseconds (thousandths of a second)} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemGetLogicalWidths.Rd0000644000176000001440000000213712362217677020362 0ustar ripleyusers\alias{pangoGlyphItemGetLogicalWidths} \name{pangoGlyphItemGetLogicalWidths} \title{pangoGlyphItemGetLogicalWidths} \description{Given a \code{\link{PangoGlyphItem}} and the corresponding text, determine the screen width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.} \usage{pangoGlyphItemGetLogicalWidths(glyph.item, text)} \arguments{ \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] a \code{\link{PangoGlyphItem}}} \item{\verb{text}}{[char] text that \code{glyph.item} corresponds to (glyph_item->item->offset is an offset from the start of \code{text})} } \details{See also \code{\link{pangoGlyphStringGetLogicalWidths}}. Since 1.26} \value{ A list containing the following elements: \item{\verb{logical.widths}}{[integer] a list whose length is the number of characters in glyph_item (equal to glyph_item->item->num_chars) to be filled in with the resulting character widths.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRegisterDeserializeFormat.Rd0000644000176000001440000000135612362217677022142 0ustar ripleyusers\alias{gtkTextBufferRegisterDeserializeFormat} \name{gtkTextBufferRegisterDeserializeFormat} \title{gtkTextBufferRegisterDeserializeFormat} \description{This function registers a rich text deserialization \code{function} along with its \code{mime.type} with the passed \code{buffer}.} \usage{gtkTextBufferRegisterDeserializeFormat(object, mime.type, fun, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mime.type}}{the format's mime-type} \item{\verb{user.data}}{\code{function}'s user_data} } \details{Since 2.10} \value{[\code{\link{GdkAtom}}] the \code{\link{GdkAtom}} that corresponds to the newly registered format's mime-type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuBarNew.Rd0000644000176000001440000000044112362217677015022 0ustar ripleyusers\alias{gtkMenuBarNew} \name{gtkMenuBarNew} \title{gtkMenuBarNew} \description{Creates the new \code{\link{GtkMenuBar}}} \usage{gtkMenuBarNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the \code{\link{GtkMenuBar}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetCopyTargetList.Rd0000644000176000001440000000131312362217677020372 0ustar ripleyusers\alias{gtkTextBufferGetCopyTargetList} \name{gtkTextBufferGetCopyTargetList} \title{gtkTextBufferGetCopyTargetList} \description{This function returns the list of targets this text buffer can provide for copying and as DND source. The targets in the list are added with \code{info} values from the \code{\link{GtkTextBufferTargetInfo}} enum, using \code{\link{gtkTargetListAddRichTextTargets}} and \code{\link{gtkTargetListAddTextTargets}}.} \usage{gtkTextBufferGetCopyTargetList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{Since 2.10} \value{[\code{\link{GtkTargetList}}] the \code{\link{GtkTargetList}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetLineCount.Rd0000644000176000001440000000066312362217677017364 0ustar ripleyusers\alias{gtkTextBufferGetLineCount} \name{gtkTextBufferGetLineCount} \title{gtkTextBufferGetLineCount} \description{Obtains the number of lines in the buffer. This value is cached, so the function is very fast.} \usage{gtkTextBufferGetLineCount(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{[integer] number of lines in the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVBoxNew.Rd0000644000176000001440000000076412362217677014357 0ustar ripleyusers\alias{gtkVBoxNew} \name{gtkVBoxNew} \title{gtkVBoxNew} \description{Creates a new \code{\link{GtkVBox}}.} \usage{gtkVBoxNew(homogeneous = NULL, spacing = NULL, show = TRUE)} \arguments{ \item{\verb{homogeneous}}{\code{TRUE} if all children are to be given equal space allotments.} \item{\verb{spacing}}{the number of pixels to place by default between children.} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVBox}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetScrollable.Rd0000644000176000001440000000071112362217677017242 0ustar ripleyusers\alias{gtkNotebookGetScrollable} \name{gtkNotebookGetScrollable} \title{gtkNotebookGetScrollable} \description{Returns whether the tab label area has arrows for scrolling. See \code{\link{gtkNotebookSetScrollable}}.} \usage{gtkNotebookGetScrollable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \value{[logical] \code{TRUE} if arrows for scrolling are present} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCalendar.Rd0000644000176000001440000002005112362217677014467 0ustar ripleyusers\alias{GtkCalendar} \alias{gtkCalendar} \alias{GtkCalendarDetailFunc} \alias{GtkCalendarDisplayOptions} \name{GtkCalendar} \title{GtkCalendar} \description{Displays a calendar and allows the user to select a date} \section{Methods and Functions}{ \code{\link{gtkCalendarNew}(show = TRUE)}\cr \code{\link{gtkCalendarSelectMonth}(object, month, year)}\cr \code{\link{gtkCalendarSelectDay}(object, day)}\cr \code{\link{gtkCalendarMarkDay}(object, day)}\cr \code{\link{gtkCalendarUnmarkDay}(object, day)}\cr \code{\link{gtkCalendarClearMarks}(object)}\cr \code{\link{gtkCalendarGetDisplayOptions}(object)}\cr \code{\link{gtkCalendarSetDisplayOptions}(object, flags)}\cr \code{\link{gtkCalendarGetDate}(object)}\cr \code{\link{gtkCalendarSetDetailFunc}(object, func, data)}\cr \code{\link{gtkCalendarGetDetailWidthChars}(object)}\cr \code{\link{gtkCalendarSetDetailWidthChars}(object, chars)}\cr \code{\link{gtkCalendarGetDetailHeightRows}(object)}\cr \code{\link{gtkCalendarSetDetailHeightRows}(object, rows)}\cr \code{\link{gtkCalendarDisplayOptions}(object, flags)}\cr \code{\link{gtkCalendarFreeze}(object)}\cr \code{\link{gtkCalendarThaw}(object)}\cr \code{gtkCalendar(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkCalendar}} \section{Interfaces}{GtkCalendar implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkCalendar}} is a widget that displays a calendar, one month at a time. It can be created with \code{\link{gtkCalendarNew}}. The month and year currently displayed can be altered with \code{\link{gtkCalendarSelectMonth}}. The exact day can be selected from the displayed month using \code{\link{gtkCalendarSelectDay}}. To place a visual marker on a particular day, use \code{\link{gtkCalendarMarkDay}} and to remove the marker, \code{\link{gtkCalendarUnmarkDay}}. Alternative, all marks can be cleared with \code{\link{gtkCalendarClearMarks}}. The way in which the calendar itself is displayed can be altered using \code{\link{gtkCalendarSetDisplayOptions}}. The selected date can be retrieved from a \code{\link{GtkCalendar}} using \code{\link{gtkCalendarGetDate}}.} \section{Structures}{\describe{\item{\verb{GtkCalendar}}{ \code{num_marked_dates} is an integer containing the number of days that have a mark over them. \code{marked_date} is a list containing the day numbers that currently have a mark over them. \code{month}, \code{year}, and \code{selected_day} contain the currently visible month, year, and selected day respectively. All of these fields should be considered read only, and everything in this struct should only be modified using the functions provided below. }}} \section{Convenient Construction}{\code{gtkCalendar} is the equivalent of \code{\link{gtkCalendarNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkCalendarDisplayOptions}}{ These options can be used to influence the display and behaviour of a \code{\link{GtkCalendar}}. \describe{ \item{\verb{show-heading}}{Specifies that the month and year should be displayed.} \item{\verb{show-day-names}}{Specifies that three letter day descriptions should be present.} \item{\verb{no-month-change}}{Prevents the user from switching months with the calendar.} \item{\verb{show-week-numbers}}{Displays each week numbers of the current year, down the left side of the calendar.} \item{\verb{week-start-monday}}{Since GTK+ 2.4, this option is deprecated and ignored by GTK+. The information on which day the calendar week starts is derived from the locale.} } }}} \section{User Functions}{\describe{\item{\code{GtkCalendarDetailFunc(calendar, year, month, day, user.data)}}{ This kind of functions provide Pango markup with detail information for the specified day. Examples for such details are holidays or appointments. The function returns \code{NULL} when no information is available. Since 2.14 \describe{ \item{\code{calendar}}{a \code{\link{GtkCalendar}}.} \item{\code{year}}{the year for which details are needed.} \item{\code{month}}{the month for which details are needed.} \item{\code{day}}{the day of \code{month} for which details are needed.} \item{\code{user.data}}{the data passed with \code{\link{gtkCalendarSetDetailFunc}}.} } \emph{Returns:} [character] Newly allocated string with Pango markup with details for the specified day, or \code{NULL}. }}} \section{Signals}{\describe{ \item{\code{day-selected(calendar, user.data)}}{ Emitted when the user selects a day. \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{day-selected-double-click(calendar, user.data)}}{ \emph{undocumented } \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{month-changed(calendar, user.data)}}{ Emitted when the user clicks a button to change the selected month on a calendar. \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{next-month(calendar, user.data)}}{ \emph{undocumented } \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{next-year(calendar, user.data)}}{ \emph{undocumented } \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{prev-month(calendar, user.data)}}{ \emph{undocumented } \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{prev-year(calendar, user.data)}}{ \emph{undocumented } \describe{ \item{\code{calendar}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{day} [integer : Read / Write]}{ The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day). This property gets initially set to the current day. Allowed values: [0,31] Default value: 0 } \item{\verb{detail-height-rows} [integer : Read / Write]}{ Height of a detail cell, in rows. A value of 0 allows any width. See \code{\link{gtkCalendarSetDetailFunc}}. Allowed values: [0,127] Default value: 0 Since 2.14 } \item{\verb{detail-width-chars} [integer : Read / Write]}{ Width of a detail cell, in characters. A value of 0 allows any width. See \code{\link{gtkCalendarSetDetailFunc}}. Allowed values: [0,127] Default value: 0 Since 2.14 } \item{\verb{month} [integer : Read / Write]}{ The selected month (as a number between 0 and 11). This property gets initially set to the current month. Allowed values: [0,11] Default value: 0 } \item{\verb{no-month-change} [logical : Read / Write]}{ Determines whether the selected month can be changed. Default value: FALSE Since 2.4 } \item{\verb{show-day-names} [logical : Read / Write]}{ Determines whether day names are displayed. Default value: TRUE Since 2.4 } \item{\verb{show-details} [logical : Read / Write]}{ Determines whether details are shown directly in the widget, or if they are available only as tooltip. When this property is set days with details are marked. Default value: TRUE Since 2.14 } \item{\verb{show-heading} [logical : Read / Write]}{ Determines whether a heading is displayed. Default value: TRUE Since 2.4 } \item{\verb{show-week-numbers} [logical : Read / Write]}{ Determines whether week numbers are displayed. Default value: FALSE Since 2.4 } \item{\verb{year} [integer : Read / Write]}{ The selected year. This property gets initially set to the current year. Allowed values: [0,4194303] Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCalendar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetBoundedRanges.Rd0000644000176000001440000000175112362217677017043 0ustar ripleyusers\alias{atkTextGetBoundedRanges} \name{atkTextGetBoundedRanges} \title{atkTextGetBoundedRanges} \description{Get the ranges of text in the specified bounding box.} \usage{atkTextGetBoundedRanges(object, rect, coord.type, x.clip.type, y.clip.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{rect}}{[\code{\link{AtkTextRectangle}}] An AtkTextRectagle giving the dimensions of the bounding box.} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] Specify whether coordinates are relative to the screen or widget window.} \item{\verb{x.clip.type}}{[\code{\link{AtkTextClipType}}] Specify the horizontal clip type.} \item{\verb{y.clip.type}}{[\code{\link{AtkTextClipType}}] Specify the vertical clip type.} } \details{ Since 1.3} \value{[\code{\link{AtkTextRange}}] list of AtkTextRange. The last element of the list returned by this function will be NULL.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionGetName.Rd0000644000176000001440000000075212362217677016172 0ustar ripleyusers\alias{gIoExtensionGetName} \name{gIoExtensionGetName} \title{gIoExtensionGetName} \description{Gets the name under which \code{extension} was registered.} \usage{gIoExtensionGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtension}}}} \details{Note that the same type may be registered as extension for multiple extension points, under different names.} \value{[char] the name of \code{extension}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowIsVisible.Rd0000644000176000001440000000065712362217677016071 0ustar ripleyusers\alias{gdkWindowIsVisible} \name{gdkWindowIsVisible} \title{gdkWindowIsVisible} \description{Checks whether the window has been mapped (with \code{\link{gdkWindowShow}} or \code{\link{gdkWindowShowUnraised}}).} \usage{gdkWindowIsVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[logical] \code{TRUE} if the window is mapped} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationRun.Rd0000644000176000001440000000521212362217677016462 0ustar ripleyusers\alias{gtkPrintOperationRun} \name{gtkPrintOperationRun} \title{gtkPrintOperationRun} \description{Runs the print operation, by first letting the user modify print settings in the print dialog, and then print the document.} \usage{gtkPrintOperationRun(object, action, parent = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{action}}{the action to start} \item{\verb{parent}}{Transient parent of the dialog. \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Normally that this function does not return until the rendering of all pages is complete. You can connect to the \verb{"status-changed"} signal on \code{op} to obtain some information about the progress of the print operation. Furthermore, it may use a recursive mainloop to show the print dialog. If you call \code{\link{gtkPrintOperationSetAllowAsync}} or set the \verb{"allow-async"} property the operation will run asynchronously if this is supported on the platform. The \verb{"done"} signal will be emitted with the result of the operation when the it is done (i.e. when the dialog is canceled, or when the print succeeds or fails). \preformatted{ if (!is.null(settings)) op$setPrintSettings(settings) if (!is.null(page_setup)) op$setDefaultPageSetup(page_setup) gSignalConnect(op, "begin-print", begin_print) gSignalConnect(op, "draw-page", draw_page) res <- op$run("print-dialog", parent) if (res[[1]] == "error") { error_dialog = gtkMessageDialog(parent, "destroy-with-parent", "error", "close", "Error printing file: ", res$error$message) gSignalConnect(error_dialog, "response", gtkWidgetDestroy) error_dialog$show() } else if (res[[1]] == "apply") settings = op$getPrintSettings() } Note that \code{\link{gtkPrintOperationRun}} can only be called once on a given \code{\link{GtkPrintOperation}}. Since 2.10} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPrintOperationResult}}] the result of the print operation. A return value of \code{GTK_PRINT_OPERATION_RESULT_APPLY} indicates that the printing was completed successfully. In this case, it is a good idea to obtain the used print settings with \code{\link{gtkPrintOperationGetPrintSettings}} and store them for reuse with the next print operation. A value of \code{GTK_PRINT_OPERATION_RESULT_IN_PROGRESS} means the operation is running asynchronously, and will emit the \verb{"done"} signal when done.} \item{\verb{error}}{Return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapGetDefault.Rd0000644000176000001440000000147612362217677017636 0ustar ripleyusers\alias{pangoCairoFontMapGetDefault} \name{pangoCairoFontMapGetDefault} \title{pangoCairoFontMapGetDefault} \description{Gets a default \code{\link{PangoCairoFontMap}} to use with Cairo.} \usage{pangoCairoFontMapGetDefault()} \details{Note that the type of the returned object will depend on the particular font backend Cairo was compiled to use; You generally should only use the \code{\link{PangoFontMap}} and \code{\link{PangoCairoFontMap}} interfaces on the returned object. The default Cairo fontmap can be changed by using \code{\link{pangoCairoFontMapSetDefault}}. This can be used to change the Cairo font backend that the default fontmap uses for example. Since 1.10} \value{[\code{\link{PangoFontMap}}] the default Cairo fontmap for Pango.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonSetGroup.Rd0000644000176000001440000000122312362217677016741 0ustar ripleyusers\alias{gtkRadioButtonSetGroup} \name{gtkRadioButtonSetGroup} \title{gtkRadioButtonSetGroup} \description{Sets a \code{\link{GtkRadioButton}}'s group. It should be noted that this does not change the layout of your interface in any way, so if you are changing the group, it is likely you will need to re-arrange the user interface to reflect these changes.} \usage{gtkRadioButtonSetGroup(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRadioButton}}.} \item{\verb{group}}{an existing radio button group, such as one returned from \code{\link{gtkRadioButtonGetGroup}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetExpand.Rd0000644000176000001440000000110312362217677017047 0ustar ripleyusers\alias{gtkToolPaletteGetExpand} \name{gtkToolPaletteGetExpand} \title{gtkToolPaletteGetExpand} \description{Gets whether group should be given extra space. See \code{\link{gtkToolPaletteSetExpand}}.} \usage{gtkToolPaletteGetExpand(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}} which is a child of palette} } \details{Since 2.20} \value{[logical] \code{TRUE} if group should be given extra space, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetPopupSingleMatch.Rd0000644000176000001440000000121412362217677021770 0ustar ripleyusers\alias{gtkEntryCompletionSetPopupSingleMatch} \name{gtkEntryCompletionSetPopupSingleMatch} \title{gtkEntryCompletionSetPopupSingleMatch} \description{Sets whether the completion popup window will appear even if there is only a single match. You may want to set this to \code{FALSE} if you are using inline completion.} \usage{gtkEntryCompletionSetPopupSingleMatch(object, popup.single.match)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryCompletion}}} \item{\verb{popup.single.match}}{\code{TRUE} if the popup should appear even for a single match} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowUnfullscreen.Rd0000644000176000001440000000144412362217677016640 0ustar ripleyusers\alias{gdkWindowUnfullscreen} \name{gdkWindowUnfullscreen} \title{gdkWindowUnfullscreen} \description{Moves the window out of fullscreen mode. If the window was not fullscreen, does nothing.} \usage{gdkWindowUnfullscreen(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{On X11, asks the window manager to move \code{window} out of the fullscreen state, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "fullscreen"; so you can't rely on the unfullscreenification actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescribeWithAbsoluteSize.Rd0000644000176000001440000000117012362217677021073 0ustar ripleyusers\alias{pangoFontDescribeWithAbsoluteSize} \name{pangoFontDescribeWithAbsoluteSize} \title{pangoFontDescribeWithAbsoluteSize} \description{Returns a description of the font, with absolute font size set (in device units). Use \code{\link{pangoFontDescribe}} if you want the font size in points.} \usage{pangoFontDescribeWithAbsoluteSize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}}} \details{ Since 1.14} \value{[\code{\link{PangoFontDescription}}] a newly-allocated \code{\link{PangoFontDescription}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetIcon.Rd0000644000176000001440000000173212362217677015537 0ustar ripleyusers\alias{gdkWindowSetIcon} \name{gdkWindowSetIcon} \title{gdkWindowSetIcon} \description{Sets the icon of \code{window} as a pixmap or window. If using GTK+, investigate \code{\link{gtkWindowSetDefaultIconList}} first, and then \code{\link{gtkWindowSetIconList}} and \code{\link{gtkWindowSetIcon}}. If those don't meet your needs, look at \code{\link{gdkWindowSetIconList}}. Only if all those are too high-level do you want to fall back to \code{\link{gdkWindowSetIcon}}.} \usage{gdkWindowSetIcon(object, icon.window, pixmap, mask)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{icon.window}}{a \code{\link{GdkWindow}} to use for the icon, or \code{NULL} to unset} \item{\verb{pixmap}}{a \code{\link{GdkPixmap}} to use as the icon, or \code{NULL} to unset} \item{\verb{mask}}{a 1-bit pixmap (\code{\link{GdkBitmap}}) to use as mask for \code{pixmap}, or \code{NULL} to have none} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemToggleSizeRequest.Rd0000644000176000001440000000065312362217677020115 0ustar ripleyusers\alias{gtkMenuItemToggleSizeRequest} \name{gtkMenuItemToggleSizeRequest} \title{gtkMenuItemToggleSizeRequest} \description{Emits the "toggle_size_request" signal on the given item.} \usage{gtkMenuItemToggleSizeRequest(object, requisition)} \arguments{ \item{\verb{object}}{the menu item} \item{\verb{requisition}}{the requisition to use as signal data.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontId.Rd0000644000176000001440000000062412362217677014165 0ustar ripleyusers\alias{gdkFontId} \name{gdkFontId} \title{gdkFontId} \description{ Returns the X Font ID for the given font. \strong{WARNING: \code{gdk_font_id} is deprecated and should not be used in newly-written code.} } \usage{gdkFontId(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkFont}}.}} \value{[integer] the numeric X Font ID} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringXToIndex.Rd0000644000176000001440000000242712362217677017241 0ustar ripleyusers\alias{pangoGlyphStringXToIndex} \name{pangoGlyphStringXToIndex} \title{pangoGlyphStringXToIndex} \description{Convert from x offset to character position. Character positions are computed by dividing up each cluster into equal portions. In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position.} \usage{pangoGlyphStringXToIndex(object, text, analysis, x.pos)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] the glyphs returned from \code{\link{pangoShape}}} \item{\verb{text}}{[char] the text for the run} \item{\verb{analysis}}{[\code{\link{PangoAnalysis}}] the analysis information return from \code{\link{pangoItemize}}} \item{\verb{x.pos}}{[integer] the x offset (in Pango units)} } \value{ A list containing the following elements: \item{\verb{index}}{[integer] location to store calculated byte index within \code{text}} \item{\verb{trailing}}{[integer] location to store a boolean indicating whether the user clicked on the leading or trailing edge of the character.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetMarkupWithAccel.Rd0000644000176000001440000000234012362217677020233 0ustar ripleyusers\alias{pangoLayoutSetMarkupWithAccel} \name{pangoLayoutSetMarkupWithAccel} \title{pangoLayoutSetMarkupWithAccel} \description{Sets the layout text and attribute list from marked-up text (see markup format). Replaces the current text and attribute list.} \usage{pangoLayoutSetMarkupWithAccel(object, markup, accel.marker)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{markup}}{[char] marked-up text (see markup format)} \item{\verb{accel.marker}}{[numeric] marker for accelerators in the text} } \details{If \code{accel.marker} is nonzero, the given character will mark the character following it as an accelerator. For example, \code{accel.marker} might be an ampersand or underscore. All characters marked as an accelerator will receive a \code{PANGO_UNDERLINE_LOW} attribute, and the first character so marked will be returned in \code{accel.char}. Two \code{accel.marker} characters following each other produce a single literal \code{accel.marker} character. } \value{ A list containing the following elements: \item{\verb{accel.char}}{[numeric] return location for first located accelerator, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetText.Rd0000644000176000001440000000065112362217677015361 0ustar ripleyusers\alias{gtkCListSetText} \name{gtkCListSetText} \title{gtkCListSetText} \description{ Sets the displayed text in the specified cell. \strong{WARNING: \code{gtk_clist_set_text} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetText(w, row, cols, values, zeroBased = TRUE)} \arguments{\item{\verb{row}}{The row of the cell.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderNew.Rd0000644000176000001440000000064412362217677015244 0ustar ripleyusers\alias{gtkExpanderNew} \name{gtkExpanderNew} \title{gtkExpanderNew} \description{Creates a new expander using \code{label} as the text of the label.} \usage{gtkExpanderNew(label = NULL, show = TRUE)} \arguments{\item{\verb{label}}{the text of the label}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkExpander}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeIsA.Rd0000644000176000001440000000070012362217677015327 0ustar ripleyusers\alias{gContentTypeIsA} \name{gContentTypeIsA} \title{gContentTypeIsA} \description{Determines if \code{type} is a subset of \code{supertype}.} \usage{gContentTypeIsA(type, supertype)} \arguments{ \item{\verb{type}}{a content type string.} \item{\verb{supertype}}{a string.} } \value{[logical] \code{TRUE} if \code{type} is a kind of \code{supertype}, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHButtonBox.Rd0000644000176000001440000000434012362217677015015 0ustar ripleyusers\alias{GtkHButtonBox} \alias{gtkHButtonBox} \name{GtkHButtonBox} \title{GtkHButtonBox} \description{A container for arranging buttons horizontally} \section{Methods and Functions}{ \code{\link{gtkHButtonBoxNew}(show = TRUE)}\cr \code{\link{gtkHButtonBoxGetSpacingDefault}()}\cr \code{\link{gtkHButtonBoxGetLayoutDefault}()}\cr \code{\link{gtkHButtonBoxSetSpacingDefault}(spacing)}\cr \code{\link{gtkHButtonBoxSetLayoutDefault}(layout)}\cr \code{gtkHButtonBox(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkButtonBox +----GtkHButtonBox}} \section{Interfaces}{GtkHButtonBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree. A \code{\link{GtkHButtonBox}} is created with \code{\link{gtkHButtonBoxNew}}. Buttons are packed into a button box the same way widgets are added to any other container, using \code{\link{gtkContainerAdd}}. You can also use \code{\link{gtkBoxPackStart}} or \code{\link{gtkBoxPackEnd}}, but for button boxes both these functions work just like \code{\link{gtkContainerAdd}}, ie., they pack the button in a way that depends on the current layout style and on whether the button has had \code{\link{gtkButtonBoxSetChildSecondary}} called on it. The spacing between buttons can be set with \code{\link{gtkBoxSetSpacing}}. The arrangement and layout of the buttons can be changed with \code{\link{gtkButtonBoxSetLayout}}.} \section{Structures}{\describe{\item{\verb{GtkHButtonBox}}{ GtkHButtonBox does not contain any public fields. }}} \section{Convenient Construction}{\code{gtkHButtonBox} is the equivalent of \code{\link{gtkHButtonBoxNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHButtonBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintPolygon.Rd0000644000176000001440000000162612362217677015450 0ustar ripleyusers\alias{gtkPaintPolygon} \name{gtkPaintPolygon} \title{gtkPaintPolygon} \description{Draws a polygon on \code{window} with the given parameters.} \usage{gtkPaintPolygon(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, points, fill)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{points}}{a list of \code{\link{GdkPoint}}s} \item{\verb{fill}}{\code{TRUE} if the polygon should be filled} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconFromStock.Rd0000644000176000001440000000117612362217677017243 0ustar ripleyusers\alias{gtkEntrySetIconFromStock} \name{gtkEntrySetIconFromStock} \title{gtkEntrySetIconFromStock} \description{Sets the icon shown in the entry at the specified position from a stock image.} \usage{gtkEntrySetIconFromStock(object, icon.pos, stock.id = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} \item{\verb{stock.id}}{The name of the stock item, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If \code{stock.id} is \code{NULL}, no icon will be shown in the specified position. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserListShortcutFolderUris.Rd0000644000176000001440000000117012362217677021610 0ustar ripleyusers\alias{gtkFileChooserListShortcutFolderUris} \name{gtkFileChooserListShortcutFolderUris} \title{gtkFileChooserListShortcutFolderUris} \description{Queries the list of shortcut folders in the file chooser, as set by \code{\link{gtkFileChooserAddShortcutFolderUri}}.} \usage{gtkFileChooserListShortcutFolderUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[list] A list of folder URIs, or \code{NULL} if there are no shortcut folders. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromFile.Rd0000644000176000001440000000204212362217677016331 0ustar ripleyusers\alias{gdkPixbufNewFromFile} \name{gdkPixbufNewFromFile} \title{gdkPixbufNewFromFile} \description{Creates a new pixbuf by loading an image from a file. The file format is detected automatically. If \code{NULL} is returned, then \code{error} will be set. Possible errors are in the \verb{GDK_PIXBUF_ERROR} and \verb{G_FILE_ERROR} domains.} \usage{gdkPixbufNewFromFile(filename, .errwarn = TRUE)} \arguments{ \item{\verb{filename}}{Name of file to load, in the GLib file name encoding} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1, or \code{NULL} if any of several error conditions occurred: the file could not be opened, there was no loader for the file's format, there was not enough memory to allocate the image buffer, or the image file contained invalid data.} \item{\verb{error}}{Return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapNew.Rd0000644000176000001440000000145012362217677014710 0ustar ripleyusers\alias{gdkPixmapNew} \name{gdkPixmapNew} \title{gdkPixmapNew} \description{Create a new pixmap with a given size and depth.} \usage{gdkPixmapNew(drawable = NULL, width, height, depth = -1)} \arguments{ \item{\verb{drawable}}{A \code{\link{GdkDrawable}}, used to determine default values for the new pixmap. Can be \code{NULL} if \code{depth} is specified,} \item{\verb{width}}{The width of the new pixmap in pixels.} \item{\verb{height}}{The height of the new pixmap in pixels.} \item{\verb{depth}}{The depth (number of bits per pixel) of the new pixmap. If -1, and \code{drawable} is not \code{NULL}, the depth of the new pixmap will be equal to that of \code{drawable}.} } \value{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadInt32.Rd0000644000176000001440000000222012362217677017136 0ustar ripleyusers\alias{gDataInputStreamReadInt32} \name{gDataInputStreamReadInt32} \title{gDataInputStreamReadInt32} \description{Reads a signed 32-bit/4-byte value from \code{stream}.} \usage{gDataInputStreamReadInt32(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()} and \code{gDataStreamSetByteOrder()}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[integer] a signed 32-bit/4-byte value read from the \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventRequestMotions.Rd0000644000176000001440000000162012362217677017002 0ustar ripleyusers\alias{gdkEventRequestMotions} \name{gdkEventRequestMotions} \title{gdkEventRequestMotions} \description{Request more motion notifies if \code{event} is a motion notify hint event. This function should be used instead of \code{\link{gdkWindowGetPointer}} to request further motion notifies, because it also works for extension events where motion notifies are provided for devices other than the core pointer. Coordinate extraction, processing and requesting more motion events from a \code{GDK_MOTION_NOTIFY} event usually works like this:} \usage{gdkEventRequestMotions(event)} \arguments{\item{\verb{event}}{a valid \code{\link{GdkEvent}}}} \details{\preformatted{ # motion event handler { x <- motion_event$x y <- motion_event$y # handle (x,y) motion here motion_event$request_motions() # handles is_hint events } } Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetUpper.Rd0000644000176000001440000000062712362217677016617 0ustar ripleyusers\alias{gtkAdjustmentGetUpper} \name{gtkAdjustmentGetUpper} \title{gtkAdjustmentGetUpper} \description{Retrieves the maximum value of the adjustment.} \usage{gtkAdjustmentGetUpper(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \details{Since 2.14} \value{[numeric] The current maximum value of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetShowSize.Rd0000644000176000001440000000100012362217677017261 0ustar ripleyusers\alias{gtkFontButtonSetShowSize} \name{gtkFontButtonSetShowSize} \title{gtkFontButtonSetShowSize} \description{If \code{show.size} is \code{TRUE}, the font size will be displayed along with the name of the selected font.} \usage{gtkFontButtonSetShowSize(object, show.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{show.size}}{\code{TRUE} if font size should be displayed in dialog.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableSetRowSpacing.Rd0000644000176000001440000000104112362217677016514 0ustar ripleyusers\alias{gtkTableSetRowSpacing} \name{gtkTableSetRowSpacing} \title{gtkTableSetRowSpacing} \description{Changes the space between a given table row and the subsequent row.} \usage{gtkTableSetRowSpacing(object, row, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTable}} containing the row whose properties you wish to change.} \item{\verb{row}}{row number whose spacing will be changed.} \item{\verb{spacing}}{number of pixels that the spacing should take up.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GUnixFDMessage.Rd0000644000176000001440000000152711766145227015066 0ustar ripleyusers\alias{GUnixFDMessage} \name{GUnixFDMessage} \title{GUnixFDMessage} \description{A GSocketControlMessage containing a list of file descriptors} \section{Hierarchy}{\preformatted{GObject +----GSocketControlMessage +----GUnixFDMessage}} \section{Detailed Description}{This \verb{\link{GSocketControlMessage}} contains a list of file descriptors. It may be sent using \code{\link{gSocketSendMessage}} and received using \code{\link{gSocketReceiveMessage}} over UNIX sockets (ie: sockets in the \code{G_SOCKET_ADDRESS_UNIX} family). For an easier way to send and receive file descriptors over stream-oriented UNIX sockets, see \code{gUnixConnectionSendFd()} and \code{gUnixConnectionReceiveFd()}.} \references{\url{http://library.gnome.org/devel//gio/GUnixFDMessage.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarAddActionWidget.Rd0000644000176000001440000000131012362217677017246 0ustar ripleyusers\alias{gtkInfoBarAddActionWidget} \name{gtkInfoBarAddActionWidget} \title{gtkInfoBarAddActionWidget} \description{Add an activatable widget to the action area of a \code{\link{GtkInfoBar}}, connecting a signal handler that will emit the \code{\link{gtkInfoBarResponse}} signal on the message area when the widget is activated. The widget is appended to the end of the message areas action area.} \usage{gtkInfoBarAddActionWidget(object, child, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{child}}{an activatable widget} \item{\verb{response.id}}{response ID for \code{child}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetGroup.Rd0000644000176000001440000000070112362217677015722 0ustar ripleyusers\alias{gdkWindowGetGroup} \name{gdkWindowGetGroup} \title{gdkWindowGetGroup} \description{Returns the group leader window for \code{window}. See \code{\link{gdkWindowSetGroup}}.} \usage{gdkWindowGetGroup(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{Since 2.4} \value{[\code{\link{GdkWindow}}] the group leader window for \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowPeekChildren.Rd0000644000176000001440000000072112362217677016525 0ustar ripleyusers\alias{gdkWindowPeekChildren} \name{gdkWindowPeekChildren} \title{gdkWindowPeekChildren} \description{Like \code{\link{gdkWindowGetChildren}}, but does not copy the list of children, so the list does not need to be freed.} \usage{gdkWindowPeekChildren(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[list] a reference to the list of child windows in \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtLineOffset.Rd0000644000176000001440000000143712362217677020633 0ustar ripleyusers\alias{gtkTextBufferGetIterAtLineOffset} \name{gtkTextBufferGetIterAtLineOffset} \title{gtkTextBufferGetIterAtLineOffset} \description{Obtains an iterator pointing to \code{char.offset} within the given line. The \code{char.offset} must exist, offsets off the end of the line are not allowed. Note \emph{characters}, not bytes; UTF-8 may encode one character as multiple bytes.} \usage{gtkTextBufferGetIterAtLineOffset(object, line.number, char.offset)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{line.number}}{line number counting from 0} \item{\verb{char.offset}}{char offset from start of line} } \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorIsCancelled.Rd0000644000176000001440000000062212362217677016777 0ustar ripleyusers\alias{gFileMonitorIsCancelled} \name{gFileMonitorIsCancelled} \title{gFileMonitorIsCancelled} \description{Returns whether the monitor is canceled.} \usage{gFileMonitorIsCancelled(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileMonitor}}}} \value{[logical] \code{TRUE} if monitor is canceled. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameGetLabelWidget.Rd0000644000176000001440000000067412362217677016625 0ustar ripleyusers\alias{gtkFrameGetLabelWidget} \name{gtkFrameGetLabelWidget} \title{gtkFrameGetLabelWidget} \description{Retrieves the label widget for the frame. See \code{\link{gtkFrameSetLabelWidget}}.} \usage{gtkFrameGetLabelWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFrame}}}} \value{[\code{\link{GtkWidget}}] the label widget, or \code{NULL} if there is none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewNew.Rd0000644000176000001440000000073612362217677015121 0ustar ripleyusers\alias{gtkPreviewNew} \name{gtkPreviewNew} \title{gtkPreviewNew} \description{ Create a new preview widget. \strong{WARNING: \code{gtk_preview_new} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewNew(type, show = TRUE)} \arguments{\item{\verb{type}}{the type data contained by the widget. (Grayscale or RGB)}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkPreview}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetExtents.Rd0000644000176000001440000000151612362217677016772 0ustar ripleyusers\alias{atkComponentGetExtents} \name{atkComponentGetExtents} \title{atkComponentGetExtents} \description{Gets the rectangle which gives the extent of the \code{component}.} \usage{atkComponentGetExtents(object, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{ A list containing the following elements: \item{\verb{x}}{[integer] \verb{integer} to put x coordinate} \item{\verb{y}}{[integer] \verb{integer} to put y coordinate} \item{\verb{width}}{[integer] \verb{integer} to put width} \item{\verb{height}}{[integer] \verb{integer} to put height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferGetMaxLength.Rd0000644000176000001440000000105012362217677017517 0ustar ripleyusers\alias{gtkEntryBufferGetMaxLength} \name{gtkEntryBufferGetMaxLength} \title{gtkEntryBufferGetMaxLength} \description{Retrieves the maximum allowed length of the text in \code{buffer}. See \code{\link{gtkEntryBufferSetMaxLength}}.} \usage{gtkEntryBufferGetMaxLength(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryBuffer}}}} \details{Since 2.18} \value{[integer] the maximum allowed number of characters in \code{\link{GtkEntryBuffer}}, or 0 if there is no maximum.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTimeoutRemove.Rd0000644000176000001440000000103112362217677015617 0ustar ripleyusers\alias{gtkTimeoutRemove} \name{gtkTimeoutRemove} \title{gtkTimeoutRemove} \description{ Removes the given timeout destroying all information about it. \strong{WARNING: \code{gtk_timeout_remove} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gSourceRemove}} instead.} } \usage{gtkTimeoutRemove(timeout.handler.id)} \arguments{\item{\verb{timeout.handler.id}}{The identifier returned when installing the timeout.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarMarkDay.Rd0000644000176000001440000000063312362217677016004 0ustar ripleyusers\alias{gtkCalendarMarkDay} \name{gtkCalendarMarkDay} \title{gtkCalendarMarkDay} \description{Places a visual marker on a particular day.} \usage{gtkCalendarMarkDay(object, day)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}} \item{\verb{day}}{the day number to mark between 1 and 31.} } \value{[logical] \code{TRUE}, always} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayKeyboardUngrab.Rd0000644000176000001440000000065112362217677017227 0ustar ripleyusers\alias{gdkDisplayKeyboardUngrab} \name{gdkDisplayKeyboardUngrab} \title{gdkDisplayKeyboardUngrab} \description{Release any keyboard grab} \usage{gdkDisplayKeyboardUngrab(object, time. = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}.} \item{\verb{time.}}{a timestap (e.g \verb{GDK_CURRENT_TIME}).} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemSetImage.Rd0000644000176000001440000000107212362217677017125 0ustar ripleyusers\alias{gtkImageMenuItemSetImage} \name{gtkImageMenuItemSetImage} \title{gtkImageMenuItemSetImage} \description{Sets the image of \code{image.menu.item} to the given widget. Note that it depends on the show-menu-images setting whether the image will be displayed or not.} \usage{gtkImageMenuItemSetImage(object, image = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImageMenuItem}}.} \item{\verb{image}}{a widget to set as the image for the menu item. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetIcon.Rd0000644000176000001440000000102112362217677015731 0ustar ripleyusers\alias{gtkTooltipSetIcon} \name{gtkTooltipSetIcon} \title{gtkTooltipSetIcon} \description{Sets the icon of the tooltip (which is in front of the text) to be \code{pixbuf}. If \code{pixbuf} is \code{NULL}, the image will be hidden.} \usage{gtkTooltipSetIcon(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellEditableStartEditing.Rd0000644000176000001440000000116312362217677017654 0ustar ripleyusers\alias{gtkCellEditableStartEditing} \name{gtkCellEditableStartEditing} \title{gtkCellEditableStartEditing} \description{Begins editing on a \code{cell.editable}. \code{event} is the \code{\link{GdkEvent}} that began the editing process. It may be \code{NULL}, in the instance that editing was initiated through programatic means.} \usage{gtkCellEditableStartEditing(object, event = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellEditable}}} \item{\verb{event}}{A \code{\link{GdkEvent}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxGetHandlePosition.Rd0000644000176000001440000000072512362217677020171 0ustar ripleyusers\alias{gtkHandleBoxGetHandlePosition} \name{gtkHandleBoxGetHandlePosition} \title{gtkHandleBoxGetHandlePosition} \description{Gets the handle position of the handle box. See \code{\link{gtkHandleBoxSetHandlePosition}}.} \usage{gtkHandleBoxGetHandlePosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkHandleBox}}}} \value{[\code{\link{GtkPositionType}}] the current handle position.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameGetLabel.Rd0000644000176000001440000000116212362217677015452 0ustar ripleyusers\alias{gtkFrameGetLabel} \name{gtkFrameGetLabel} \title{gtkFrameGetLabel} \description{If the frame's label widget is a \code{\link{GtkLabel}}, returns the text in the label widget. (The frame will have a \code{\link{GtkLabel}} for the label widget if a non-\code{NULL} argument was passed to \code{\link{gtkFrameNew}}.)} \usage{gtkFrameGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFrame}}}} \value{[character] the text in the label, or \code{NULL} if there was no label widget or the lable widget was not a \code{\link{GtkLabel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddApplication.Rd0000644000176000001440000000075212362217677020207 0ustar ripleyusers\alias{gtkRecentFilterAddApplication} \name{gtkRecentFilterAddApplication} \title{gtkRecentFilterAddApplication} \description{Adds a rule that allows resources based on the name of the application that has registered them.} \usage{gtkRecentFilterAddApplication(object, application)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{application}}{an application name} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemSetRightJustified.Rd0000644000176000001440000000133412362217677020065 0ustar ripleyusers\alias{gtkMenuItemSetRightJustified} \name{gtkMenuItemSetRightJustified} \title{gtkMenuItemSetRightJustified} \description{Sets whether the menu item appears justified at the right side of a menu bar. This was traditionally done for "Help" menu items, but is now considered a bad idea. (If the widget layout is reversed for a right-to-left language like Hebrew or Arabic, right-justified-menu-items appear at the left.)} \usage{gtkMenuItemSetRightJustified(object, right.justified)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuItem}}.} \item{\verb{right.justified}}{if \code{TRUE} the menu item will appear at the far right if added to a menu bar.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextAttributeRegister.Rd0000644000176000001440000000070112362217677017325 0ustar ripleyusers\alias{atkTextAttributeRegister} \name{atkTextAttributeRegister} \title{atkTextAttributeRegister} \description{Associate \code{name} with a new \code{\link{AtkTextAttribute}}} \usage{atkTextAttributeRegister(name)} \arguments{\item{\verb{name}}{[character] a name string}} \value{[\code{\link{AtkTextAttribute}}] an \code{\link{AtkTextAttribute}} associated with \code{name}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetDisplayName.Rd0000644000176000001440000000076412362217677017652 0ustar ripleyusers\alias{gtkRecentInfoGetDisplayName} \name{gtkRecentInfoGetDisplayName} \title{gtkRecentInfoGetDisplayName} \description{Gets the name of the resource. If none has been defined, the basename of the resource is obtained.} \usage{gtkRecentInfoGetDisplayName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] the display name of the resource. and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixTransformRectangle.Rd0000644000176000001440000000264412362217677020332 0ustar ripleyusers\alias{pangoMatrixTransformRectangle} \name{pangoMatrixTransformRectangle} \title{pangoMatrixTransformRectangle} \description{First transforms \code{rect} using \code{matrix}, then calculates the bounding box of the transformed rectangle. The rectangle should be in Pango units.} \usage{pangoMatrixTransformRectangle(object, rect)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, or \code{NULL}} \item{\verb{rect}}{[\code{\link{PangoRectangle}}] in/out bounding box in Pango units, or \code{NULL}} } \details{This function is useful for example when you want to draw a rotated \code{PangoLayout} to an image buffer, and want to know how large the image should be and how much you should shift the layout when rendering. If you have a rectangle in device units (pixels), use \code{\link{pangoMatrixTransformPixelRectangle}}. If you have the rectangle in Pango units and want to convert to transformed pixel bounding box, it is more accurate to transform it first (using this function) and pass the result to \code{\link{pangoExtentsToPixels}}, first argument, for an inclusive rounded rectangle. However, there are valid reasons that you may want to convert to pixels first and then transform, for example when the transformed coordinates may overflow in Pango units (large matrix translation for example). Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowLower.Rd0000644000176000001440000000147412362217677015266 0ustar ripleyusers\alias{gdkWindowLower} \name{gdkWindowLower} \title{gdkWindowLower} \description{Lowers \code{window} to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above \code{window}. This is true whether or not the other windows are visible.} \usage{gdkWindowLower(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{If \code{window} is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, \code{\link{gdkWindowLower}} only requests the restack, does not guarantee it. Note that \code{\link{gdkWindowShow}} raises the window again, so don't call this function before \code{\link{gdkWindowShow}}. (Try \code{\link{gdkWindowShowUnraised}}.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonSetWidthChars.Rd0000644000176000001440000000074612362217677021062 0ustar ripleyusers\alias{gtkFileChooserButtonSetWidthChars} \name{gtkFileChooserButtonSetWidthChars} \title{gtkFileChooserButtonSetWidthChars} \description{Sets the width (in characters) that \code{button} will use to \code{n.chars}.} \usage{gtkFileChooserButtonSetWidthChars(object, n.chars)} \arguments{ \item{\verb{object}}{the button widget to examine.} \item{\verb{n.chars}}{the new width, in characters.} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixCopy.Rd0000644000176000001440000000077012362217677015442 0ustar ripleyusers\alias{pangoMatrixCopy} \name{pangoMatrixCopy} \title{pangoMatrixCopy} \description{Copies a \code{\link{PangoMatrix}}.} \usage{pangoMatrixCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}, may be \code{NULL}}} \details{ Since 1.6} \value{[\code{\link{PangoMatrix}}] the newly allocated \code{\link{PangoMatrix}}, or \code{NULL} if \code{matrix} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetSearchEntry.Rd0000644000176000001440000000107412362217677017364 0ustar ripleyusers\alias{gtkTreeViewGetSearchEntry} \name{gtkTreeViewGetSearchEntry} \title{gtkTreeViewGetSearchEntry} \description{Returns the \code{\link{GtkEntry}} which is currently in use as interactive search entry for \code{tree.view}. In case the built-in entry is being used, \code{NULL} will be returned.} \usage{gtkTreeViewGetSearchEntry(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \details{Since 2.10} \value{[\code{\link{GtkEntry}}] the entry currently in use as search entry.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddMimeType.Rd0000644000176000001440000000067012362217677017474 0ustar ripleyusers\alias{gtkRecentFilterAddMimeType} \name{gtkRecentFilterAddMimeType} \title{gtkRecentFilterAddMimeType} \description{Adds a rule that allows resources based on their registered MIME type.} \usage{gtkRecentFilterAddMimeType(object, mime.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{mime.type}}{a MIME type} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCursorGetImage.Rd0000644000176000001440000000116412362217677015662 0ustar ripleyusers\alias{gdkCursorGetImage} \name{gdkCursorGetImage} \title{gdkCursorGetImage} \description{Returns a \code{\link{GdkPixbuf}} with the image used to display the cursor.} \usage{gdkCursorGetImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkCursor}}}} \details{Note that depending on the capabilities of the windowing system and on the cursor, GDK may not be able to obtain the image data. In this case, \code{NULL} is returned. Since 2.8} \value{[\code{\link{GdkPixbuf}}] a \code{\link{GdkPixbuf}} representing \code{cursor}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetModifierStyle.Rd0000644000176000001440000000227612362217677017412 0ustar ripleyusers\alias{gtkWidgetGetModifierStyle} \name{gtkWidgetGetModifierStyle} \title{gtkWidgetGetModifierStyle} \description{Returns the current modifier style for the widget. (As set by \code{\link{gtkWidgetModifyStyle}}.) If no style has previously set, a new \code{\link{GtkRcStyle}} will be created with all values unset, and set as the modifier style for the widget. If you make changes to this rc style, you must call \code{\link{gtkWidgetModifyStyle}}, passing in the returned rc style, to make sure that your changes take effect.} \usage{gtkWidgetGetModifierStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Caution: passing the style back to \code{\link{gtkWidgetModifyStyle}} will normally end up destroying it, because \code{\link{gtkWidgetModifyStyle}} copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive.} \value{[\code{\link{GtkRcStyle}}] the modifier style for the widget. If you want to keep a pointer to value this around, \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowAtPointer.Rd0000644000176000001440000000206212362217677016075 0ustar ripleyusers\alias{gdkWindowAtPointer} \name{gdkWindowAtPointer} \title{gdkWindowAtPointer} \description{Obtains the window underneath the mouse pointer, returning the location of that window in \code{win.x}, \code{win.y}. Returns \code{NULL} if the window under the mouse pointer is not known to GDK (if the window belongs to another application and a \code{\link{GdkWindow}} hasn't been created for it with \code{gdkWindowForeignNew()})} \usage{gdkWindowAtPointer()} \details{NOTE: For multihead-aware widgets or applications use \code{\link{gdkDisplayGetWindowAtPointer}} instead.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkWindow}}] window under the mouse pointer. \emph{[ \acronym{transfer none} ]}} \item{\verb{win.x}}{return location for origin of the window under the pointer. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{win.y}}{return location for origin of the window under the pointer. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternSetUserData.Rd0000644000176000001440000000155612362217677017061 0ustar ripleyusers\alias{cairoPatternSetUserData} \name{cairoPatternSetUserData} \title{cairoPatternSetUserData} \description{Attach user data to \code{pattern}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoPatternSetUserData(pattern, key, user.data)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the a \code{\link{CairoUserDataKey}} to attach the user data to} \item{\verb{user.data}}{[R object] the user data to attach to the \code{\link{CairoPattern}}} } \details{ Since 1.4} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY} if a slot could not be allocated for the user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileFindEnclosingMountFinish.Rd0000644000176000001440000000134212362217677020167 0ustar ripleyusers\alias{gFileFindEnclosingMountFinish} \name{gFileFindEnclosingMountFinish} \title{gFileFindEnclosingMountFinish} \description{Finishes an asynchronous find mount request. See \code{\link{gFileFindEnclosingMountAsync}}.} \usage{gFileFindEnclosingMountFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}}} \item{\verb{res}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GMount}}] \code{\link{GMount}} for given \code{file} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetIterLocation.Rd0000644000176000001440000000135312362217677017556 0ustar ripleyusers\alias{gtkTextViewGetIterLocation} \name{gtkTextViewGetIterLocation} \title{gtkTextViewGetIterLocation} \description{Gets a rectangle which roughly contains the character at \code{iter}. The rectangle position is in buffer coordinates; use \code{\link{gtkTextViewBufferToWindowCoords}} to convert these coordinates to coordinates for one of the windows in the text view.} \usage{gtkTextViewGetIterLocation(object, iter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} } \value{ A list containing the following elements: \item{\verb{location}}{bounds of the character at \code{iter}. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewCollapseAll.Rd0000644000176000001440000000053612362217677016672 0ustar ripleyusers\alias{gtkTreeViewCollapseAll} \name{gtkTreeViewCollapseAll} \title{gtkTreeViewCollapseAll} \description{Recursively collapses all visible, expanded nodes in \code{tree.view}.} \usage{gtkTreeViewCollapseAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEjectMountable.Rd0000644000176000001440000000245712362217677016172 0ustar ripleyusers\alias{gFileEjectMountable} \name{gFileEjectMountable} \title{gFileEjectMountable} \description{ Starts an asynchronous eject on a mountable. When this operation has completed, \code{callback} will be called with \code{user.user} data, and the operation can be finalized with \code{\link{gFileEjectMountableFinish}}. \strong{WARNING: \code{g_file_eject_mountable} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gFileEjectMountableWithOperation}} instead.} } \usage{gFileEjectMountable(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeUint64.Rd0000644000176000001440000000255012362217677016714 0ustar ripleyusers\alias{gFileSetAttributeUint64} \name{gFileSetAttributeUint64} \title{gFileSetAttributeUint64} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_UINT64} to \code{value}. If \code{attribute} is of a different type, this operation will fail.} \usage{gFileSetAttributeUint64(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a \verb{numeric} containing the attribute's new value.} \item{\verb{flags}}{a \code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set to \code{value} in the \code{file}, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowResize.Rd0000644000176000001440000000142012362217677015426 0ustar ripleyusers\alias{gdkWindowResize} \name{gdkWindowResize} \title{gdkWindowResize} \description{Resizes \code{window}; for toplevel windows, asks the window manager to resize the window. The window manager may not allow the resize. When using GTK+, use \code{\link{gtkWindowResize}} instead of this low-level GDK function.} \usage{gdkWindowResize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{width}}{new width of the window} \item{\verb{height}}{new height of the window} } \details{Windows may not be resized below 1x1. If you're also planning to move the window, use \code{\link{gdkWindowMoveResize}} to both move and resize simultaneously, for a nicer visual effect.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsSetStringProperty.Rd0000644000176000001440000000072712362217677020236 0ustar ripleyusers\alias{gtkSettingsSetStringProperty} \name{gtkSettingsSetStringProperty} \title{gtkSettingsSetStringProperty} \description{\emph{undocumented }} \usage{gtkSettingsSetStringProperty(object, name, v.string, origin)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{name}}{\emph{undocumented }} \item{\verb{v.string}}{\emph{undocumented }} \item{\verb{origin}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetAngle.Rd0000644000176000001440000000116312362217677015463 0ustar ripleyusers\alias{gtkLabelSetAngle} \name{gtkLabelSetAngle} \title{gtkLabelSetAngle} \description{Sets the angle of rotation for the label. An angle of 90 reads from from bottom to top, an angle of 270, from top to bottom. The angle setting for the label is ignored if the label is selectable, wrapped, or ellipsized.} \usage{gtkLabelSetAngle(object, angle)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{angle}}{the angle that the baseline of the label makes with the horizontal, in degrees, measured counterclockwise} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetSpacing.Rd0000644000176000001440000000077212362217677017717 0ustar ripleyusers\alias{gtkTreeViewColumnSetSpacing} \name{gtkTreeViewColumnSetSpacing} \title{gtkTreeViewColumnSetSpacing} \description{Sets the spacing field of \code{tree.column}, which is the number of pixels to place between cell renderers packed into it.} \usage{gtkTreeViewColumnSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{spacing}}{distance between cell renderers in pixels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMainIterationDo.Rd0000644000176000001440000000104212362217677016043 0ustar ripleyusers\alias{gtkMainIterationDo} \name{gtkMainIterationDo} \title{gtkMainIterationDo} \description{Runs a single iteration of the mainloop. If no events are available either return or block dependent on the value of \code{blocking}.} \usage{gtkMainIterationDo(blocking = TRUE)} \arguments{\item{\verb{blocking}}{\code{TRUE} if you want GTK+ to block if no events are pending.}} \value{[logical] \code{TRUE} if \code{\link{gtkMainQuit}} has been called for the innermost mainloop.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkQuitAddFull.Rd0000644000176000001440000000217512362217677015203 0ustar ripleyusers\alias{gtkQuitAddFull} \name{gtkQuitAddFull} \title{gtkQuitAddFull} \description{Registers a function to be called when an instance of the mainloop is left. In comparison to \code{\link{gtkQuitAdd}} this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed.} \usage{gtkQuitAddFull(main.level, fun, data = NULL)} \arguments{ \item{\verb{main.level}}{Level at which termination the function shall be called. You can pass 0 here to have the function run at the termination of the current mainloop.} \item{\verb{data}}{Pointer to pass when calling \code{function}.} } \details{The former can be used to run interpreted code instead of a compiled function while the latter can be used to free the information stored in \code{data} (while you can do this in \code{function} as well)... So this function will mostly be used by GTK+ wrappers for languages other than C.} \value{[numeric] A handle for this quit handler (you need this for \code{\link{gtkQuitRemove}}) or 0 if you passed a \code{NULL} pointer in \code{function}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetFamily.Rd0000644000176000001440000000123412362217677020253 0ustar ripleyusers\alias{pangoFontDescriptionGetFamily} \name{pangoFontDescriptionGetFamily} \title{pangoFontDescriptionGetFamily} \description{Gets the family name field of a font description. See \code{\link{pangoFontDescriptionSetFamily}}.} \usage{pangoFontDescriptionGetFamily(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}.}} \value{[char] the family name field for the font description, or \code{NULL} if not previously set. This has the same life-time as the font description itself and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonGetUri.Rd0000644000176000001440000000060112362217677016226 0ustar ripleyusers\alias{gtkLinkButtonGetUri} \name{gtkLinkButtonGetUri} \title{gtkLinkButtonGetUri} \description{Retrieves the URI set using \code{\link{gtkLinkButtonSetUri}}.} \usage{gtkLinkButtonGetUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLinkButton}}}} \details{Since 2.10} \value{[character] a valid URI.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionAddTargets.Rd0000644000176000001440000000074112362217677016712 0ustar ripleyusers\alias{gtkSelectionAddTargets} \name{gtkSelectionAddTargets} \title{gtkSelectionAddTargets} \description{Prepends a table of targets to the list of supported targets for a given widget and selection.} \usage{gtkSelectionAddTargets(object, selection, targets)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{selection}}{the selection} \item{\verb{targets}}{a table of targets to add} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/RGtkObject.Rd0000644000176000001440000000341311766145227014307 0ustar ripleyusers\name{RGtkObject} \alias{RGtkObject} \alias{[[.RGtkObject} \alias{$.RGtkObject} \alias{==.RGtkObject} \title{The base object of RGtk2} \description{ \code{RGtkObject} identifies an external object as being owned by \link{RGtk}. Practically, it allows convenience operators to be specified for any external object. } \usage{ \method{[[}{RGtkObject}(x, field, where = parent.frame()) \method{$}{RGtkObject}(x, member) \method{==}{RGtkObject}(x, y) } \arguments{ \item{x}{The \code{RGtkObject} to which the method or field belongs or the left hand of a comparison} \item{field}{The name of the field whose value will be retrieved} \item{member}{The name of the member (eg method) that will be retrieved} \item{y}{The right hand operand of a comparison} \item{where}{The environment in which to look for the field accessor function} } \value{ A context-dependent value resulting from the specified API call. } \details{ The functions \code{[[.RGtkObject} and \code{$.RGtkObject} both expand to an RGtk function that accesses external objects. The \code{[[} operator looks for a field from an external C structure by expanding \code{objectOfClassName[[fieldName]]} to \code{classNameGetFieldName()}. External "methods" are expanded by the \code{$} operator to form \code{classNameMethodName(objectOfClassName, ...)} from the Java-like \code{objectOfClassName$methodName(...)}. The long and short mechanisms give the same result, but the shortcut is obviously more convenient. If the method does not exist, \code{$} will fall back to other types of members, like properties (for \code{\link{GObject}}s) and fields. The \code{==} operator compares two \code{RGtkObject}s on the basis of their internal pointer value. This should rarely be useful for users. } \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkRecentChooserSetFilter.Rd0000644000176000001440000000101312362217677017400 0ustar ripleyusers\alias{gtkRecentChooserSetFilter} \name{gtkRecentChooserSetFilter} \title{gtkRecentChooserSetFilter} \description{Sets \code{filter} as the current \code{\link{GtkRecentFilter}} object used by \code{chooser} to affect the displayed recently used resources.} \usage{gtkRecentChooserSetFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{filter}}{a \code{\link{GtkRecentFilter}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetPushColormap.Rd0000644000176000001440000000076112362217677016604 0ustar ripleyusers\alias{gtkWidgetPushColormap} \name{gtkWidgetPushColormap} \title{gtkWidgetPushColormap} \description{Pushes \code{cmap} onto a global stack of colormaps; the topmost colormap on the stack will be used to create all widgets. Remove \code{cmap} with \code{\link{gtkWidgetPopColormap}}. There's little reason to use this function.} \usage{gtkWidgetPushColormap(cmap)} \arguments{\item{\verb{cmap}}{a \code{\link{GdkColormap}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemNew.Rd0000644000176000001440000000053312362217677016161 0ustar ripleyusers\alias{gtkImageMenuItemNew} \name{gtkImageMenuItemNew} \title{gtkImageMenuItemNew} \description{Creates a new \code{\link{GtkImageMenuItem}} with an empty label.} \usage{gtkImageMenuItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImageMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStreamableContentGetMimeType.Rd0000644000176000001440000000132612362217677020540 0ustar ripleyusers\alias{atkStreamableContentGetMimeType} \name{atkStreamableContentGetMimeType} \title{atkStreamableContentGetMimeType} \description{Gets the character string of the specified mime type. The first mime type is at position 0, the second at position 1, and so on.} \usage{atkStreamableContentGetMimeType(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStreamableContent}}] a GObject instance that implements AtkStreamableContent} \item{\verb{i}}{[integer] a gint representing the position of the mime type starting from 0} } \value{[character] : a gchar* representing the specified mime type; the caller should not free the character string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromGicon.Rd0000644000176000001440000000126012362217677016317 0ustar ripleyusers\alias{gtkImageNewFromGicon} \name{gtkImageNewFromGicon} \title{gtkImageNewFromGicon} \description{Creates a \code{\link{GtkImage}} displaying an icon from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.} \usage{gtkImageNewFromGicon(icon, size, show = TRUE)} \arguments{ \item{\verb{icon}}{an icon} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.14} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}} displaying the themed icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkRelation.Rd0000644000176000001440000000733412362217677014536 0ustar ripleyusers\alias{AtkRelation} \alias{atkRelation} \alias{AtkRelationType} \name{AtkRelation} \title{AtkRelation} \description{An object used to describe a relation between a object and one or more other objects.} \section{Methods and Functions}{ \code{\link{atkRelationTypeRegister}(name)}\cr \code{\link{atkRelationTypeGetName}(type)}\cr \code{\link{atkRelationTypeForName}(name)}\cr \code{\link{atkRelationNew}(targets, relationship)}\cr \code{\link{atkRelationGetRelationType}(object)}\cr \code{\link{atkRelationGetTarget}(object)}\cr \code{\link{atkRelationAddTarget}(object, target)}\cr \code{atkRelation(targets, relationship)} } \section{Hierarchy}{\preformatted{GObject +----AtkRelation}} \section{Detailed Description}{An AtkRelation describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an AtkRelationSet, which is a set of AtkRelations.} \section{Structures}{\describe{\item{\verb{AtkRelation}}{ The AtkRelation structure should not be accessed directly. }}} \section{Convenient Construction}{\code{atkRelation} is the equivalent of \code{\link{atkRelationNew}}.} \section{Enums and Flags}{\describe{\item{\verb{AtkRelationType}}{ Describes the type of the relation \describe{ \item{\verb{null}}{ Not used, represens "no relationship" or an error condition.} \item{\verb{controlled-by}}{ Indicates an object controlled by one or more target objects.} \item{\verb{controller-for}}{ Indicates an object is an controller for one or more target objects.} \item{\verb{label-for}}{ Indicates an object is a label for one or more target objects.} \item{\verb{labelled-by}}{ Indicates an object is labelled by one or more target objects.} \item{\verb{member-of}}{ Indicates an object is a member of a group of one or more target objects.} \item{\verb{node-child-of}}{ Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.} \item{\verb{flows-to}}{ Indicates that the object has content that flows logically to another AtkObject in a sequential way, (for instance text-flow).} \item{\verb{flows-from}}{ Indicates that the object has content that flows logically from another AtkObject in a sequential way, (for instance text-flow).} \item{\verb{subwindow-of}}{ Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.} \item{\verb{embeds}}{ Indicates that the object visually embeds another object's content, i.e. this object's content flows around another's content.} \item{\verb{embedded-by}}{ Inverse of \code{ATK_RELATION_EMBEDS}, indicates that this object's content is visualy embedded in another object.} \item{\verb{popup-for}}{ Indicates that an object is a popup for another object.} \item{\verb{parent-window-of}}{ Indicates that an object is a parent window of another object.} \item{\verb{description-for}}{ Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.} \item{\verb{described-by}}{ Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR.} \item{\verb{last-defined}}{ Indicates an object is a cell in a treetable and is expanded to display other cells in the same column.} } }}} \section{Properties}{\describe{ \item{\verb{relation-type} [\code{\link{AtkRelationType}} : Read / Write]}{ The type of the relation. Default value: ATK_RELATION_NULL } \item{\verb{target} [GValueArray : * : Read / Write]}{ An list of the targets for the relation. } }} \references{\url{http://library.gnome.org/devel//atk/AtkRelation.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetColumnDragFunction.Rd0000644000176000001440000000236612362217677020717 0ustar ripleyusers\alias{gtkTreeViewSetColumnDragFunction} \name{gtkTreeViewSetColumnDragFunction} \title{gtkTreeViewSetColumnDragFunction} \description{Sets a user function for determining where a column may be dropped when dragged. This function is called on every column pair in turn at the beginning of a column drag to determine where a drop can take place. The arguments passed to \code{func} are: the \code{tree.view}, the \code{\link{GtkTreeViewColumn}} being dragged, the two \code{\link{GtkTreeViewColumn}} s determining the drop spot, and \code{user.data}. If either of the \code{\link{GtkTreeViewColumn}} arguments for the drop spot are \code{NULL}, then they indicate an edge. If \code{func} is set to be \code{NULL}, then \code{tree.view} reverts to the default behavior of allowing all columns to be dropped everywhere.} \usage{gtkTreeViewSetColumnDragFunction(object, func, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{func}}{A function to determine which columns are reorderable, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{user.data}}{User data to be passed to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetLineWidth.Rd0000644000176000001440000000251212362217677015673 0ustar ripleyusers\alias{cairoSetLineWidth} \name{cairoSetLineWidth} \title{cairoSetLineWidth} \description{Sets the current line width within the cairo context. The line width value specifies the diameter of a pen that is circular in user space, (though device-space pen may be an ellipse in general due to scaling/shear/rotation of the CTM).} \usage{cairoSetLineWidth(cr, width)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{width}}{[numeric] a line width} } \details{Note: When the description above refers to user space and CTM it refers to the user space and CTM in effect at the time of the stroking operation, not the user space and CTM in effect at the time of the call to \code{\link{cairoSetLineWidth}}. The simplest usage makes both of these spaces identical. That is, if there is no change to the CTM between a call to \code{\link{cairoSetLineWidth}} and the stroking operation, then one can just pass user-space values to \code{\link{cairoSetLineWidth}} and ignore this note. As with the other stroke parameters, the current line width is examined by \code{\link{cairoStroke}}, \code{\link{cairoStrokeExtents}}, and \code{cairoStrokeToPath()}, but does not have any effect during path construction. The default line width value is 2.0. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetHasPalette.Rd0000644000176000001440000000072112362217677020357 0ustar ripleyusers\alias{gtkColorSelectionGetHasPalette} \name{gtkColorSelectionGetHasPalette} \title{gtkColorSelectionGetHasPalette} \description{Determines whether the color selector has a color palette.} \usage{gtkColorSelectionGetHasPalette(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{[logical] \code{TRUE} if the selector has a palette. \code{FALSE} if it hasn't.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryInfoAsync.Rd0000644000176000001440000000237212362217677016204 0ustar ripleyusers\alias{gFileQueryInfoAsync} \name{gFileQueryInfoAsync} \title{gFileQueryInfoAsync} \description{Asynchronously gets the requested information about specified \code{file}. The result is a \code{\link{GFileInfo}} object that contains key-value attributes (such as type or size for the file).} \usage{gFileQueryInfoAsync(object, attributes, flags = "G_FILE_QUERY_INFO_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{flags}}{a set of \code{\link{GFileQueryInfoFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileQueryInfo}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileQueryInfoFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetResizeMode.Rd0000644000176000001440000000067112362217677017375 0ustar ripleyusers\alias{gtkContainerGetResizeMode} \name{gtkContainerGetResizeMode} \title{gtkContainerGetResizeMode} \description{Returns the resize mode for the container. See \code{\link{gtkContainerSetResizeMode}}.} \usage{gtkContainerGetResizeMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{[\code{\link{GtkResizeMode}}] the current resize mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkGetNAnchors.Rd0000644000176000001440000000067512362217677017063 0ustar ripleyusers\alias{atkHyperlinkGetNAnchors} \name{atkHyperlinkGetNAnchors} \title{atkHyperlinkGetNAnchors} \description{Gets the number of anchors associated with this hyperlink.} \usage{atkHyperlinkGetNAnchors(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \value{[integer] the number of anchors associated with this hyperlink} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantAppendPage.Rd0000644000176000001440000000071312362217677016717 0ustar ripleyusers\alias{gtkAssistantAppendPage} \name{gtkAssistantAppendPage} \title{gtkAssistantAppendPage} \description{Appends a page to the \code{assistant}.} \usage{gtkAssistantAppendPage(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a \code{\link{GtkWidget}}} } \details{Since 2.10} \value{[integer] the index (starting at 0) of the inserted page} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoContextGetShapeRenderer.Rd0000644000176000001440000000204112362217677021046 0ustar ripleyusers\alias{pangoCairoContextGetShapeRenderer} \name{pangoCairoContextGetShapeRenderer} \title{pangoCairoContextGetShapeRenderer} \description{Sets callback function for context to use for rendering attributes of type \code{PANGO_ATTR_SHAPE}. See \code{\link{PangoCairoShapeRendererFunc}} for details.} \usage{pangoCairoContextGetShapeRenderer(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map}} \details{Retrieves callback function and associated user data for rendering attributes of type \code{PANGO_ATTR_SHAPE} as set by \code{\link{pangoCairoContextSetShapeRenderer}}, if any. Since 1.18} \value{ A list containing the following elements: \item{retval}{[\code{\link{PangoCairoShapeRendererFunc}}] the shape rendering callback previously set on the context, or \code{NULL} if no shape rendering callback have been set.} \item{\verb{data}}{[R object] Pointer to \verb{R object} to return user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromData.Rd0000644000176000001440000000170512362217677016330 0ustar ripleyusers\alias{gdkPixbufNewFromData} \name{gdkPixbufNewFromData} \title{gdkPixbufNewFromData} \description{Creates a new \code{\link{GdkPixbuf}} out of in-memory image data. Currently only RGB images with 8 bits per sample are supported.} \usage{gdkPixbufNewFromData(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride)} \arguments{ \item{\verb{data}}{Image data in 8-bit/sample packed format} \item{\verb{colorspace}}{Colorspace for the image data} \item{\verb{has.alpha}}{Whether the data has an opacity channel} \item{\verb{bits.per.sample}}{Number of bits per sample} \item{\verb{width}}{Width of the image in pixels, must be > 0} \item{\verb{height}}{Height of the image in pixels, must be > 0} \item{\verb{rowstride}}{Distance in bytes between row starts} } \value{[\code{\link{GdkPixbuf}}] A newly-created \code{\link{GdkPixbuf}} structure with a reference count of 1.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetValue.Rd0000644000176000001440000000054512362217677016602 0ustar ripleyusers\alias{gtkSpinButtonSetValue} \name{gtkSpinButtonSetValue} \title{gtkSpinButtonSetValue} \description{Set the value of \code{spin.button}.} \usage{gtkSpinButtonSetValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{value}}{the new value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoExtentsToPixels.Rd0000644000176000001440000000231312362217677016460 0ustar ripleyusers\alias{pangoExtentsToPixels} \name{pangoExtentsToPixels} \title{pangoExtentsToPixels} \description{Converts extents from Pango units to device units, dividing by the \code{PANGO_SCALE} factor and performing rounding.} \usage{pangoExtentsToPixels(inclusive, nearest)} \arguments{ \item{\verb{inclusive}}{[\code{\link{PangoRectangle}}] rectangle to round to pixels inclusively, or \code{NULL}.} \item{\verb{nearest}}{[\code{\link{PangoRectangle}}] rectangle to round to nearest pixels, or \code{NULL}.} } \details{The \code{inclusive} rectangle is converted by flooring the x/y coordinates and extending width/height, such that the final rectangle completely includes the original rectangle. The \code{nearest} rectangle is converted by rounding the coordinates of the rectangle to the nearest device unit (pixel). The rule to which argument to use is: if you want the resulting device-space rectangle to completely contain the original rectangle, pass it in as \code{inclusive}. If you want two touching-but-not-overlapping rectangles stay touching-but-not-overlapping after rounding to device units, pass them in as \code{nearest}. Since 1.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTestRenderSync.Rd0000644000176000001440000000101412362217677015710 0ustar ripleyusers\alias{gdkTestRenderSync} \name{gdkTestRenderSync} \title{gdkTestRenderSync} \description{This function retrives a pixel from \code{window} to force the windowing system to carry out any pending rendering commands. This function is intended to be used to syncronize with rendering pipelines, to benchmark windowing system rendering operations.} \usage{gdkTestRenderSync(window)} \arguments{\item{\verb{window}}{a mapped GdkWindow}} \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoContextSetShapeRenderer.Rd0000644000176000001440000000151012362217677021062 0ustar ripleyusers\alias{pangoCairoContextSetShapeRenderer} \name{pangoCairoContextSetShapeRenderer} \title{pangoCairoContextSetShapeRenderer} \description{Sets callback function for context to use for rendering attributes of type \code{PANGO_ATTR_SHAPE}. See \code{\link{PangoCairoShapeRendererFunc}} for details.} \usage{pangoCairoContextSetShapeRenderer(object, func, data)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map} \item{\verb{func}}{[\code{\link{PangoCairoShapeRendererFunc}}] Callback function for rendering attributes of type \code{PANGO_ATTR_SHAPE}, or \code{NULL} to disable shape rendering.} \item{\verb{data}}{[R object] User data that will be passed to \code{func}.} } \details{ Since 1.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetInnerBorder.Rd0000644000176000001440000000150412362217677016727 0ustar ripleyusers\alias{gtkEntrySetInnerBorder} \name{gtkEntrySetInnerBorder} \title{gtkEntrySetInnerBorder} \description{Sets \code{entry}'s inner-border property to \code{border}, or clears it if \code{NULL} is passed. The inner-border is the area around the entry's text, but inside its frame.} \usage{gtkEntrySetInnerBorder(object, border = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{border}}{a \code{\link{GtkBorder}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardSetImage.Rd0000644000176000001440000000106112362217677016334 0ustar ripleyusers\alias{gtkClipboardSetImage} \name{gtkClipboardSetImage} \title{gtkClipboardSetImage} \description{Sets the contents of the clipboard to the given \code{\link{GdkPixbuf}}. GTK+ will take responsibility for responding for requests for the image, and for converting the image into the requested format.} \usage{gtkClipboardSetImage(object, pixbuf)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}} object} \item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoExists.Rd0000644000176000001440000000074412362217677016261 0ustar ripleyusers\alias{gtkRecentInfoExists} \name{gtkRecentInfoExists} \title{gtkRecentInfoExists} \description{Checks whether the resource pointed by \code{info} still exists. At the moment this check is done only on resources pointing to local files.} \usage{gtkRecentInfoExists(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the resource exists} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAccelLabel.Rd0000644000176000001440000000750212362217677014733 0ustar ripleyusers\alias{GtkAccelLabel} \alias{gtkAccelLabel} \name{GtkAccelLabel} \title{GtkAccelLabel} \description{A label which displays an accelerator key on the right of the text} \section{Methods and Functions}{ \code{\link{gtkAccelLabelNew}(string = NULL, show = TRUE)}\cr \code{\link{gtkAccelLabelSetAccelClosure}(object, accel.closure)}\cr \code{\link{gtkAccelLabelGetAccelWidget}(object)}\cr \code{\link{gtkAccelLabelSetAccelWidget}(object, accel.widget)}\cr \code{\link{gtkAccelLabelGetAccelWidth}(object)}\cr \code{\link{gtkAccelLabelRefetch}(object)}\cr \code{gtkAccelLabel(string = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkLabel +----GtkAccelLabel}} \section{Interfaces}{GtkAccelLabel implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkAccelLabel}} widget is a subclass of \code{\link{GtkLabel}} that also displays an accelerator key on the right of the label text, e.g. 'Ctl+S'. It is commonly used in menus to show the keyboard short-cuts for commands. The accelerator key to display is not set explicitly. Instead, the \code{\link{GtkAccelLabel}} displays the accelerators which have been added to a particular widget. This widget is set by calling \code{\link{gtkAccelLabelSetAccelWidget}}. For example, a \code{\link{GtkMenuItem}} widget may have an accelerator added to emit the "activate" signal when the 'Ctl+S' key combination is pressed. A \code{\link{GtkAccelLabel}} is created and added to the \code{\link{GtkMenuItem}}, and \code{\link{gtkAccelLabelSetAccelWidget}} is called with the \code{\link{GtkMenuItem}} as the second argument. The \code{\link{GtkAccelLabel}} will now display 'Ctl+S' after its label. Note that creating a \code{\link{GtkMenuItem}} with \code{\link{gtkMenuItemNewWithLabel}} (or one of the similar functions for \code{\link{GtkCheckMenuItem}} and \code{\link{GtkRadioMenuItem}}) automatically adds a \code{\link{GtkAccelLabel}} to the \code{\link{GtkMenuItem}} and calls \code{\link{gtkAccelLabelSetAccelWidget}} to set it up for you. A \code{\link{GtkAccelLabel}} will only display accelerators which have \code{GTK_ACCEL_VISIBLE} set (see \code{\link{GtkAccelFlags}}). A \code{\link{GtkAccelLabel}} can display multiple accelerators and even signal names, though it is almost always used to display just one accelerator key. \emph{Creating a simple menu item with an accelerator key.} \preformatted{ ## Creating a simple menu item with an accelerator key. ## Create a GtkAccelGroup and add it to the window. accel_group = gtkAccelGroup() window$addAccelGroup(accel_group) ## Create the menu item save_item = gtkMenuItem("Save") menu$add(save_item) ## Now add the accelerator to the GtkMenuItem. ## It will be activated if the user types ctrl-s ## We just need to make sure we use the "visible" flag here to show it. save_item$addAccelerator("activate", accel_group, GDK_S, "control-mask", "visible") }} \section{Structures}{\describe{\item{\verb{GtkAccelLabel}}{ The \code{\link{GtkAccelLabel}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkAccelLabel} is the equivalent of \code{\link{gtkAccelLabelNew}}.} \section{Properties}{\describe{ \item{\verb{accel-closure} [\code{\link{GClosure}} : * : Read / Write]}{ The closure to be monitored for accelerator changes. } \item{\verb{accel-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ The widget to be monitored for accelerator changes. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAccelLabel.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHScrollbarNew.Rd0000644000176000001440000000073512362217677015532 0ustar ripleyusers\alias{gtkHScrollbarNew} \name{gtkHScrollbarNew} \title{gtkHScrollbarNew} \description{Creates a new horizontal scrollbar.} \usage{gtkHScrollbarNew(adjustment = NULL, show = TRUE)} \arguments{\item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} to use, or \code{NULL} to create a new adjustment. \emph{[ \acronym{allow-none} ]}}} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkHScrollbar}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReadAsync.Rd0000644000176000001440000000164312362217677015136 0ustar ripleyusers\alias{gFileReadAsync} \name{gFileReadAsync} \title{gFileReadAsync} \description{Asynchronously opens \code{file} for reading.} \usage{gFileReadAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileRead}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileReadFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayListDevices.Rd0000644000176000001440000000073012362217677016544 0ustar ripleyusers\alias{gdkDisplayListDevices} \name{gdkDisplayListDevices} \title{gdkDisplayListDevices} \description{Returns the list of available input devices attached to \code{display}. The list is statically allocated and should not be freed.} \usage{gdkDisplayListDevices(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[list] a list of \code{\link{GdkDevice}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreSet.Rd0000644000176000001440000000140212362217677015421 0ustar ripleyusers\alias{gtkListStoreSet} \name{gtkListStoreSet} \title{gtkListStoreSet} \description{Sets the value of one or more cells in the row referenced by \code{iter}. The variable argument list should contain integer column numbers, each column number followed by the value to be set. The list is terminated by a -1. For example, to set column 0 with type \code{G_TYPE_STRING} to "Foo", you would write \code{gtk_list_store_set (store, iter, 0, "Foo", -1)}. The value will be copied or referenced by the store if appropriate.} \usage{gtkListStoreSet(object, iter, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkListStore}}} \item{\verb{iter}}{row iterator} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewAddChildInWindow.Rd0000644000176000001440000000310112362217677017626 0ustar ripleyusers\alias{gtkTextViewAddChildInWindow} \name{gtkTextViewAddChildInWindow} \title{gtkTextViewAddChildInWindow} \description{Adds a child at fixed coordinates in one of the text widget's windows. The window must have nonzero size (see \code{\link{gtkTextViewSetBorderWindowSize}}). Note that the child coordinates are given relative to the \code{\link{GdkWindow}} in question, and that these coordinates have no sane relationship to scrolling. When placing a child in \verb{GTK_TEXT_WINDOW_WIDGET}, scrolling is irrelevant, the child floats above all scrollable areas. But when placing a child in one of the scrollable windows (border windows or text window), you'll need to compute the child's correct position in buffer coordinates any time scrolling occurs or buffer changes occur, and then call \code{\link{gtkTextViewMoveChild}} to update the child's position. Unfortunately there's no good way to detect that scrolling has occurred, using the current API; a possible hack would be to update all child positions when the scroll adjustments change or the text buffer changes. See bug 64518 on bugzilla.gnome.org for status of fixing this issue.} \usage{gtkTextViewAddChildInWindow(object, child, which.window, xpos, ypos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{child}}{a \code{\link{GtkWidget}}} \item{\verb{which.window}}{which window the child should appear in} \item{\verb{xpos}}{X position of child in window coordinates} \item{\verb{ypos}}{Y position of child in window coordinates} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationPreviewEndPreview.Rd0000644000176000001440000000067212362217677021335 0ustar ripleyusers\alias{gtkPrintOperationPreviewEndPreview} \name{gtkPrintOperationPreviewEndPreview} \title{gtkPrintOperationPreviewEndPreview} \description{Ends a preview. } \usage{gtkPrintOperationPreviewEndPreview(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperationPreview}}}} \details{This function must be called to finish a custom print preview. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetSource.Rd0000644000176000001440000000060512362217677015231 0ustar ripleyusers\alias{cairoGetSource} \name{cairoGetSource} \title{cairoGetSource} \description{Gets the current source pattern for \code{cr}.} \usage{cairoGetSource(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoPattern}}] the current source pattern. To keep a reference to it,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetChildAnchor.Rd0000644000176000001440000000075712362217677017340 0ustar ripleyusers\alias{gtkTextIterGetChildAnchor} \name{gtkTextIterGetChildAnchor} \title{gtkTextIterGetChildAnchor} \description{If the location at \code{iter} contains a child anchor, the anchor is returned (with no new reference count added). Otherwise, \code{NULL} is returned.} \usage{gtkTextIterGetChildAnchor(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[\code{\link{GtkTextChildAnchor}}] the anchor at \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVButtonBoxSetSpacingDefault.Rd0000644000176000001440000000077712362217677020373 0ustar ripleyusers\alias{gtkVButtonBoxSetSpacingDefault} \name{gtkVButtonBoxSetSpacingDefault} \title{gtkVButtonBoxSetSpacingDefault} \description{ Changes the default spacing that is placed between widgets in an vertical button box. \strong{WARNING: \code{gtk_vbutton_box_set_spacing_default} is deprecated and should not be used in newly-written code.} } \usage{gtkVButtonBoxSetSpacingDefault(spacing)} \arguments{\item{\verb{spacing}}{an integer value.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetPreviousAlpha.Rd0000644000176000001440000000063512362217677021113 0ustar ripleyusers\alias{gtkColorSelectionGetPreviousAlpha} \name{gtkColorSelectionGetPreviousAlpha} \title{gtkColorSelectionGetPreviousAlpha} \description{Returns the previous alpha value.} \usage{gtkColorSelectionGetPreviousAlpha(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkColorSelection}}.}} \value{[integer] an integer between 0 and 65535.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGlyphExtents.Rd0000644000176000001440000000242712362217677017736 0ustar ripleyusers\alias{cairoScaledFontGlyphExtents} \name{cairoScaledFontGlyphExtents} \title{cairoScaledFontGlyphExtents} \description{Gets the extents for a list of glyphs. The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, (as they would be drawn by \code{\link{cairoShowGlyphs}} if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as \code{scaled.font}). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by \code{\link{cairoShowGlyphs}}.} \usage{cairoScaledFontGlyphExtents(scaled.font, glyphs, num.glyphs)} \arguments{ \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] a list of glyph IDs with X and Y offsets.} \item{\verb{num.glyphs}}{[integer] the number of glyphs in the \code{glyphs} list} } \details{Note that whitespace glyphs do not contribute to the size of the rectangle (extents.width and extents.height). } \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoTextExtents}}] a \code{\link{CairoTextExtents}} which to store the retrieved extents.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsAny.Rd0000644000176000001440000000067312362217677016300 0ustar ripleyusers\alias{gInetAddressGetIsAny} \name{gInetAddressGetIsAny} \title{gInetAddressGetIsAny} \description{Tests whether \code{address} is the "any" address for its family.} \usage{gInetAddressGetIsAny(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is the "any" address for its family.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetHandleCancellation.Rd0000644000176000001440000000076512362217677022224 0ustar ripleyusers\alias{gSimpleAsyncResultSetHandleCancellation} \name{gSimpleAsyncResultSetHandleCancellation} \title{gSimpleAsyncResultSetHandleCancellation} \description{Sets whether to handle cancellation within the asynchronous operation.} \usage{gSimpleAsyncResultSetHandleCancellation(object, handle.cancellation)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{\verb{handle.cancellation}}{a \verb{logical}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMiscSetAlignment.Rd0000644000176000001440000000072112362217677016226 0ustar ripleyusers\alias{gtkMiscSetAlignment} \name{gtkMiscSetAlignment} \title{gtkMiscSetAlignment} \description{Sets the alignment of the widget.} \usage{gtkMiscSetAlignment(object, xalign, yalign)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMisc}}.} \item{\verb{xalign}}{the horizontal alignment, from 0 (left) to 1 (right).} \item{\verb{yalign}}{the vertical alignment, from 0 (top) to 1 (bottom).} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryOutputStreamGetSize.Rd0000644000176000001440000000163712362217677017630 0ustar ripleyusers\alias{gMemoryOutputStreamGetSize} \name{gMemoryOutputStreamGetSize} \title{gMemoryOutputStreamGetSize} \description{Gets the size of the currently allocated data area (availible from \code{\link{gMemoryOutputStreamGetData}}). If the stream isn't growable (no realloc was passed to \code{\link{gMemoryOutputStreamNew}}) then this is the maximum size of the stream and further writes will return \code{G_IO_ERROR_NO_SPACE}.} \usage{gMemoryOutputStreamGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GMemoryOutputStream}}}} \details{Note that for growable streams the returned size may become invalid on the next write or truncate operation on the stream. If you want the number of bytes currently written to the stream, use \code{\link{gMemoryOutputStreamGetDataSize}}.} \value{[numeric] the number of bytes allocated for the data buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsSelectionNotification.Rd0000644000176000001440000000105412362217677022402 0ustar ripleyusers\alias{gdkDisplaySupportsSelectionNotification} \name{gdkDisplaySupportsSelectionNotification} \title{gdkDisplaySupportsSelectionNotification} \description{Returns whether \code{\link{GdkEventOwnerChange}} events will be sent when the owner of a selection changes.} \usage{gdkDisplaySupportsSelectionNotification(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.6} \value{[logical] whether \code{\link{GdkEventOwnerChange}} events will be sent.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddPattern.Rd0000644000176000001440000000067612362217677017366 0ustar ripleyusers\alias{gtkRecentFilterAddPattern} \name{gtkRecentFilterAddPattern} \title{gtkRecentFilterAddPattern} \description{Adds a rule that allows resources based on a pattern matching their display name.} \usage{gtkRecentFilterAddPattern(object, pattern)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{pattern}}{a file pattern} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GInetAddress.Rd0000644000176000001440000000757212362217677014641 0ustar ripleyusers\alias{GInetAddress} \name{GInetAddress} \title{GInetAddress} \description{An IPv4/IPv6 address} \section{Methods and Functions}{ \code{\link{gInetAddressNewFromString}(string)}\cr \code{\link{gInetAddressNewFromBytes}(bytes, family)}\cr \code{\link{gInetAddressNewAny}(family)}\cr \code{\link{gInetAddressNewLoopback}(family)}\cr \code{\link{gInetAddressToBytes}(object)}\cr \code{\link{gInetAddressGetNativeSize}(object)}\cr \code{\link{gInetAddressToString}(object)}\cr \code{\link{gInetAddressGetFamily}(object)}\cr \code{\link{gInetAddressGetIsAny}(object)}\cr \code{\link{gInetAddressGetIsLoopback}(object)}\cr \code{\link{gInetAddressGetIsLinkLocal}(object)}\cr \code{\link{gInetAddressGetIsSiteLocal}(object)}\cr \code{\link{gInetAddressGetIsMulticast}(object)}\cr \code{\link{gInetAddressGetIsMcLinkLocal}(object)}\cr \code{\link{gInetAddressGetIsMcNodeLocal}(object)}\cr \code{\link{gInetAddressGetIsMcSiteLocal}(object)}\cr \code{\link{gInetAddressGetIsMcOrgLocal}(object)}\cr \code{\link{gInetAddressGetIsMcGlobal}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInetAddress}} \section{Detailed Description}{\code{\link{GInetAddress}} represents an IPv4 or IPv6 internet address. Use \code{\link{gResolverLookupByName}} or \code{\link{gResolverLookupByNameAsync}} to look up the \code{\link{GInetAddress}} for a hostname. Use \code{\link{gResolverLookupByAddress}} or \code{\link{gResolverLookupByAddressAsync}} to look up the hostname for a \code{\link{GInetAddress}}. To actually connect to a remote host, you will need a \code{\link{GInetSocketAddress}} (which includes a \code{\link{GInetAddress}} as well as a port number).} \section{Structures}{\describe{\item{\verb{GInetAddress}}{ An IPv4 or IPv6 internet address. }}} \section{Properties}{\describe{ \item{\verb{bytes} [R object : Read / Write / Construct Only]}{ The raw address data. } \item{\verb{family} [\code{\link{GSocketFamily}} : Read / Write / Construct Only]}{ The address family (IPv4 or IPv6). Default value: G_SOCKET_FAMILY_INVALID } \item{\verb{is-any} [logical : Read]}{ Whether this is the "any" address for its family. See \code{\link{gInetAddressGetIsAny}}. Default value: FALSE Since 2.22 } \item{\verb{is-link-local} [logical : Read]}{ Whether this is a link-local address. See \code{\link{gInetAddressGetIsLinkLocal}}. Default value: FALSE Since 2.22 } \item{\verb{is-loopback} [logical : Read]}{ Whether this is the loopback address for its family. See \code{\link{gInetAddressGetIsLoopback}}. Default value: FALSE Since 2.22 } \item{\verb{is-mc-global} [logical : Read]}{ Whether this is a global multicast address. See \code{\link{gInetAddressGetIsMcGlobal}}. Default value: FALSE Since 2.22 } \item{\verb{is-mc-link-local} [logical : Read]}{ Whether this is a link-local multicast address. See \code{\link{gInetAddressGetIsMcLinkLocal}}. Default value: FALSE Since 2.22 } \item{\verb{is-mc-node-local} [logical : Read]}{ Whether this is a node-local multicast address. See \code{\link{gInetAddressGetIsMcNodeLocal}}. Default value: FALSE Since 2.22 } \item{\verb{is-mc-org-local} [logical : Read]}{ Whether this is an organization-local multicast address. See \code{\link{gInetAddressGetIsMcOrgLocal}}. Default value: FALSE Since 2.22 } \item{\verb{is-mc-site-local} [logical : Read]}{ Whether this is a site-local multicast address. See \code{\link{gInetAddressGetIsMcSiteLocal}}. Default value: FALSE Since 2.22 } \item{\verb{is-multicast} [logical : Read]}{ Whether this is a multicast address. See \code{\link{gInetAddressGetIsMulticast}}. Default value: FALSE Since 2.22 } \item{\verb{is-site-local} [logical : Read]}{ Whether this is a site-local address. See \code{\link{gInetAddressGetIsLoopback}}. Default value: FALSE Since 2.22 } }} \references{\url{http://library.gnome.org/devel//gio/GInetAddress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGrabGetCurrent.Rd0000644000176000001440000000054312362217677015700 0ustar ripleyusers\alias{gtkGrabGetCurrent} \name{gtkGrabGetCurrent} \title{gtkGrabGetCurrent} \description{Queries the current grab of the default window group.} \usage{gtkGrabGetCurrent()} \value{[\code{\link{GtkWidget}}] The widget which currently has the grab or \code{NULL} if no grab is active.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointGetExtensions.Rd0000644000176000001440000000100112362217677020447 0ustar ripleyusers\alias{gIoExtensionPointGetExtensions} \name{gIoExtensionPointGetExtensions} \title{gIoExtensionPointGetExtensions} \description{Gets a list of all extensions that implement this extension point. The list is sorted by priority, beginning with the highest priority.} \usage{gIoExtensionPointGetExtensions(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtensionPoint}}}} \value{[list] a \verb{list} of \code{\link{GIOExtension}}s.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkValueSetCurrentValue.Rd0000644000176000001440000000104712362217677017104 0ustar ripleyusers\alias{atkValueSetCurrentValue} \name{atkValueSetCurrentValue} \title{atkValueSetCurrentValue} \description{Sets the value of this object.} \usage{atkValueSetCurrentValue(object, value)} \arguments{ \item{\verb{object}}{[\code{\link{AtkValue}}] a GObject instance that implements AtkValueIface} \item{\verb{value}}{[R object] a \verb{R object} which is the desired new accessible value.} } \value{[logical] \code{TRUE} if new value is successfully set, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuGetHistory.Rd0000644000176000001440000000123412362217677017137 0ustar ripleyusers\alias{gtkOptionMenuGetHistory} \name{gtkOptionMenuGetHistory} \title{gtkOptionMenuGetHistory} \description{ Retrieves the index of the currently selected menu item. The menu items are numbered from top to bottom, starting with 0. \strong{WARNING: \code{gtk_option_menu_get_history} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuGetHistory(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkOptionMenu}}}} \value{[integer] index of the selected menu item, or -1 if there are no menu items} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDestroyWithParent.Rd0000644000176000001440000000121412362217677020321 0ustar ripleyusers\alias{gtkWindowSetDestroyWithParent} \name{gtkWindowSetDestroyWithParent} \title{gtkWindowSetDestroyWithParent} \description{If \code{setting} is \code{TRUE}, then destroying the transient parent of \code{window} will also destroy \code{window} itself. This is useful for dialogs that shouldn't persist beyond the lifetime of the main window they're associated with, for example.} \usage{gtkWindowSetDestroyWithParent(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{whether to destroy \code{window} with its transient parent} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeDragSourceDragDataGet.Rd0000644000176000001440000000152012362217677017724 0ustar ripleyusers\alias{gtkTreeDragSourceDragDataGet} \name{gtkTreeDragSourceDragDataGet} \title{gtkTreeDragSourceDragDataGet} \description{Asks the \code{\link{GtkTreeDragSource}} to fill in \code{selection.data} with a representation of the row at \code{path}. \code{selection.data->target} gives the required type of the data. Should robustly handle a \code{path} no longer found in the model!} \usage{gtkTreeDragSourceDragDataGet(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeDragSource}}} \item{\verb{path}}{row that was dragged} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if data of the required type was provided} \item{\verb{selection.data}}{a \code{\link{GtkSelectionData}} to fill with data from the dragged row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarSetHasResizeGrip.Rd0000644000176000001440000000066312362217677020111 0ustar ripleyusers\alias{gtkStatusbarSetHasResizeGrip} \name{gtkStatusbarSetHasResizeGrip} \title{gtkStatusbarSetHasResizeGrip} \description{Sets whether the statusbar has a resize grip. \code{TRUE} by default.} \usage{gtkStatusbarSetHasResizeGrip(object, setting)} \arguments{ \item{\verb{object}}{a \verb{GtkStatusBar}} \item{\verb{setting}}{\code{TRUE} to have a resize grip} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckButtonNewWithMnemonic.Rd0000644000176000001440000000120512362217677020223 0ustar ripleyusers\alias{gtkCheckButtonNewWithMnemonic} \name{gtkCheckButtonNewWithMnemonic} \title{gtkCheckButtonNewWithMnemonic} \description{Creates a new \code{\link{GtkCheckButton}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the check button.} \usage{gtkCheckButtonNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{The text of the button, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCheckButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawFlatBox.Rd0000644000176000001440000000150112362217677015172 0ustar ripleyusers\alias{gtkDrawFlatBox} \name{gtkDrawFlatBox} \title{gtkDrawFlatBox} \description{ Draws a flat box on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_flat_box} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintFlatBox}} instead.} } \usage{gtkDrawFlatBox(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{x}}{x origin of the box} \item{\verb{y}}{y origin of the box} \item{\verb{width}}{the width of the box} \item{\verb{height}}{the height of the box} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetMinWidth.Rd0000644000176000001440000000072512362217677020040 0ustar ripleyusers\alias{gtkTreeViewColumnGetMinWidth} \name{gtkTreeViewColumnGetMinWidth} \title{gtkTreeViewColumnGetMinWidth} \description{Returns the minimum width in pixels of the \code{tree.column}, or -1 if no minimum width is set.} \usage{gtkTreeViewColumnGetMinWidth(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[integer] The minimum width of the \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetDash.Rd0000644000176000001440000000306412362217677014666 0ustar ripleyusers\alias{cairoSetDash} \name{cairoSetDash} \title{cairoSetDash} \description{Sets the dash pattern to be used by \code{\link{cairoStroke}}. A dash pattern is specified by \code{dashes}, a list of positive values. Each value provides the length of alternate "on" and "off" portions of the stroke. The \code{offset} specifies an offset into the pattern at which the stroke begins.} \usage{cairoSetDash(cr, dashes, offset)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{dashes}}{[numeric] a list specifying alternate lengths of on and off stroke portions} \item{\verb{offset}}{[numeric] an offset into the dash pattern at which the stroke should start} } \details{Each "on" segment will have caps applied as if the segment were a separate sub-path. In particular, it is valid to use an "on" length of 0.0 with \code{CAIRO_LINE_CAP_ROUND} or \code{CAIRO_LINE_CAP_SQUARE} in order to distributed dots or squares along a path. Note: The length values are in user-space units as evaluated at the time of stroking. This is not necessarily the same as the user space at the time of \code{\link{cairoSetDash}}. If \code{num.dashes} is 0 dashing is disabled. If \code{num.dashes} is 1 a symmetric pattern is assumed with alternating on and off portions of the size specified by the single value in \code{dashes}. If any value in \code{dashes} is negative, or if all values are 0, then \code{cr} will be put into an error state with a status of \code{CAIRO_STATUS_INVALID_DASH}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetRowSpanColumn.Rd0000644000176000001440000000110312362217677017667 0ustar ripleyusers\alias{gtkComboBoxSetRowSpanColumn} \name{gtkComboBoxSetRowSpanColumn} \title{gtkComboBoxSetRowSpanColumn} \description{Sets the column with row span information for \code{combo.box} to be \code{row.span}. The row span column contains integers which indicate how many rows an item should span.} \usage{gtkComboBoxSetRowSpanColumn(object, row.span)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}.} \item{\verb{row.span}}{A column in the model passed during construction.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveGetStartStopType.Rd0000644000176000001440000000071112362217677016717 0ustar ripleyusers\alias{gDriveGetStartStopType} \name{gDriveGetStartStopType} \title{gDriveGetStartStopType} \description{Gets a hint about how a drive can be started/stopped.} \usage{gDriveGetStartStopType(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \details{Since 2.22} \value{[\code{\link{GDriveStartStopType}}] A value from the \code{\link{GDriveStartStopType}} enumeration.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetUseUnderline.Rd0000644000176000001440000000100712362217677017270 0ustar ripleyusers\alias{gtkButtonSetUseUnderline} \name{gtkButtonSetUseUnderline} \title{gtkButtonSetUseUnderline} \description{If true, an underline in the text of the button label indicates the next character should be used for the mnemonic accelerator key.} \usage{gtkButtonSetUseUnderline(object, use.underline)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{use.underline}}{\code{TRUE} if underlines in the text indicate mnemonics} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetShortName.Rd0000644000176000001440000000077612362217677017347 0ustar ripleyusers\alias{gtkRecentInfoGetShortName} \name{gtkRecentInfoGetShortName} \title{gtkRecentInfoGetShortName} \description{Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. For example, calling this function on an item that refers to "file:///foo/bar.txt" will yield "bar.txt".} \usage{gtkRecentInfoGetShortName(object)} \arguments{\item{\verb{object}}{an \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVScaleNew.Rd0000644000176000001440000000063112362217677014647 0ustar ripleyusers\alias{gtkVScaleNew} \name{gtkVScaleNew} \title{gtkVScaleNew} \description{Creates a new \code{\link{GtkVScale}}.} \usage{gtkVScaleNew(adjustment = NULL, show = TRUE)} \arguments{\item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} which sets the range of the scale.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVScale}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeEjectFinish.Rd0000644000176000001440000000173312362217677016050 0ustar ripleyusers\alias{gVolumeEjectFinish} \name{gVolumeEjectFinish} \title{gVolumeEjectFinish} \description{ Finishes ejecting a volume. If any errors occured during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned. \strong{WARNING: \code{g_volume_eject_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gVolumeEjectWithOperationFinish}} instead.} } \usage{gVolumeEjectFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{pointer to a \code{\link{GVolume}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, \code{FALSE} if operation failed.} \item{\verb{error}}{a \code{\link{GError}} location to store an error, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GdkPixbufLoader.Rd0000644000176000001440000001412612362217677015330 0ustar ripleyusers\alias{GdkPixbufLoader} \alias{gdkPixbufLoader} \name{GdkPixbufLoader} \title{GdkPixbufLoader} \description{Application-driven progressive image loading.} \section{Methods and Functions}{ \code{\link{gdkPixbufLoaderNew}()}\cr \code{\link{gdkPixbufLoaderNewWithType}(image.type, .errwarn = TRUE)}\cr \code{\link{gdkPixbufLoaderNewWithMimeType}(mime.type, .errwarn = TRUE)}\cr \code{\link{gdkPixbufLoaderGetFormat}(object)}\cr \code{\link{gdkPixbufLoaderWrite}(object, buf, .errwarn = TRUE)}\cr \code{\link{gdkPixbufLoaderSetSize}(object, width, height)}\cr \code{\link{gdkPixbufLoaderGetPixbuf}(object)}\cr \code{\link{gdkPixbufLoaderGetAnimation}(object)}\cr \code{\link{gdkPixbufLoaderClose}(object, .errwarn = TRUE)}\cr \code{gdkPixbufLoader(image.type, mime.type, .errwarn = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GdkPixbufLoader}} \section{Detailed Description}{\code{\link{GdkPixbufLoader}} provides a way for applications to drive the process of loading an image, by letting them send the image data directly to the loader instead of having the loader read the data from a file. Applications can use this functionality instead of \code{\link{gdkPixbufNewFromFile}} or \code{\link{gdkPixbufAnimationNewFromFile}} when they need to parse image data in small chunks. For example, it should be used when reading an image from a (potentially) slow network connection, or when loading an extremely large file. To use \code{\link{GdkPixbufLoader}} to load an image, just create a new one, and call \code{\link{gdkPixbufLoaderWrite}} to send the data to it. When done, \code{\link{gdkPixbufLoaderClose}} should be called to end the stream and finalize everything. The loader will emit three important signals throughout the process. The first, "size_prepared", will be called as soon as the image has enough information to determine the size of the image to be used. If you want to scale the image while loading it, you can call \code{\link{gdkPixbufLoaderSetSize}} in response to this signal. The second signal, "area_prepared", will be called as soon as the pixbuf of the desired has been allocated. You can obtain it by calling \code{\link{gdkPixbufLoaderGetPixbuf}}. If you want to use it, simply ref it. In addition, no actual information will be passed in yet, so the pixbuf can be safely filled with any temporary graphics (or an initial color) as needed. You can also call \code{\link{gdkPixbufLoaderGetPixbuf}} later and get the same pixbuf. The last signal, "area_updated" gets called every time a region is updated. This way you can update a partially completed image. Note that you do not know anything about the completeness of an image from the area updated. For example, in an interlaced image, you need to make several passes before the image is done loading. } \section{Loading an animation}{ Loading an animation is almost as easy as loading an image. Once the first "area_prepared" signal has been emitted, you can call \code{\link{gdkPixbufLoaderGetAnimation}} to get the \code{\link{GdkPixbufAnimation}} struct and \code{\link{gdkPixbufAnimationGetIter}} to get an \code{\link{GdkPixbufAnimationIter}} for displaying it. } \section{Structures}{\describe{\item{\verb{GdkPixbufLoader}}{ The \code{GdkPixbufLoader} struct contains only private fields. }}} \section{Convenient Construction}{\code{gdkPixbufLoader} is the result of collapsing the constructors of \code{GdkPixbufLoader} (\code{\link{gdkPixbufLoaderNew}}, \code{\link{gdkPixbufLoaderNewWithType}}, \code{\link{gdkPixbufLoaderNewWithMimeType}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{area-prepared(loader, user.data)}}{ This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. After this signal is emitted, applications can call \code{\link{gdkPixbufLoaderGetPixbuf}} to fetch the partially-loaded pixbuf. \describe{ \item{\code{loader}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{area-updated(loader, x, y, width, height, user.data)}}{ This signal is emitted when a significant area of the image being loaded has been updated. Normally it means that a complete scanline has been read in, but it could be a different area as well. Applications can use this signal to know when to repaint areas of an image that is being loaded. \describe{ \item{\code{loader}}{the object which received the signal.} \item{\code{x}}{X offset of upper-left corner of the updated area.} \item{\code{y}}{Y offset of upper-left corner of the updated area.} \item{\code{width}}{Width of updated area.} \item{\code{height}}{Height of updated area.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{closed(loader, user.data)}}{ This signal is emitted when \code{\link{gdkPixbufLoaderClose}} is called. It can be used by different parts of an application to receive notification when an image loader is closed by the code that drives it. \describe{ \item{\code{loader}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{size-prepared(loader, width, height, user.data)}}{ This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create. Applications can call \code{\link{gdkPixbufLoaderSetSize}} in response to this signal to set the desired size to which the image should be scaled. \describe{ \item{\code{loader}}{the object which received the signal.} \item{\code{width}}{the original width of the image} \item{\code{height}}{the original height of the image} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/GdkPixbufLoader.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkValueGetMinimumValue.Rd0000644000176000001440000000100112362217677017047 0ustar ripleyusers\alias{atkValueGetMinimumValue} \name{atkValueGetMinimumValue} \title{atkValueGetMinimumValue} \description{Gets the minimum value of this object.} \usage{atkValueGetMinimumValue(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkValue}}] a GObject instance that implements AtkValueIface}} \value{ A list containing the following elements: \item{\verb{value}}{[R object] a \verb{R object} representing the minimum accessible value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetFromFile.Rd0000644000176000001440000000072712362217677017222 0ustar ripleyusers\alias{gtkStatusIconSetFromFile} \name{gtkStatusIconSetFromFile} \title{gtkStatusIconSetFromFile} \description{Makes \code{status.icon} display the file \code{filename}. See \code{\link{gtkStatusIconNewFromFile}} for details.} \usage{gtkStatusIconSetFromFile(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{filename}}{a filename} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreAppend.Rd0000644000176000001440000000121412362217677016076 0ustar ripleyusers\alias{gtkListStoreAppend} \name{gtkListStoreAppend} \title{gtkListStoreAppend} \description{Appends a new row to \code{list.store}. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkListStoreSet}} or \code{\link{gtkListStoreSetValue}}.} \usage{gtkListStoreAppend(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkListStore}}}} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the appended row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortConvertChildPathToPath.Rd0000644000176000001440000000146312362217677022016 0ustar ripleyusers\alias{gtkTreeModelSortConvertChildPathToPath} \name{gtkTreeModelSortConvertChildPathToPath} \title{gtkTreeModelSortConvertChildPathToPath} \description{Converts \code{child.path} to a path relative to \code{tree.model.sort}. That is, \code{child.path} points to a path in the child model. The returned path will point to the same row in the sorted model. If \code{child.path} isn't a valid path on the child model, then \code{NULL} is returned.} \usage{gtkTreeModelSortConvertChildPathToPath(object, child.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelSort}}} \item{\verb{child.path}}{A \code{\link{GtkTreePath}} to convert} } \value{[\code{\link{GtkTreePath}}] A newly allocated \code{\link{GtkTreePath}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetDefaultIconList.Rd0000644000176000001440000000121512362217677017714 0ustar ripleyusers\alias{gtkWindowSetDefaultIconList} \name{gtkWindowSetDefaultIconList} \title{gtkWindowSetDefaultIconList} \description{Sets an icon list to be used as fallback for windows that haven't had \code{\link{gtkWindowSetIconList}} called on them to set up a window-specific icon list. This function allows you to set up the icon for all windows in your app at once.} \usage{gtkWindowSetDefaultIconList(list)} \arguments{\item{\verb{list}}{(element-type GdkPixbuf) (transfer container) a list of \code{\link{GdkPixbuf}}}} \details{See \code{\link{gtkWindowSetIconList}} for more details.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeViewColumn.Rd0000644000176000001440000002161212362217677015672 0ustar ripleyusers\alias{GtkTreeViewColumn} \alias{gtkTreeViewColumn} \alias{GtkTreeCellDataFunc} \alias{GtkTreeViewColumnSizing} \name{GtkTreeViewColumn} \title{GtkTreeViewColumn} \description{A visible column in a GtkTreeView widget} \section{Methods and Functions}{ \code{\link{gtkTreeViewColumnNew}()}\cr \code{\link{gtkTreeViewColumnNewWithAttributes}(title, cell, ...)}\cr \code{\link{gtkTreeViewColumnPackStart}(object, cell, expand = TRUE)}\cr \code{\link{gtkTreeViewColumnPackEnd}(object, cell, expand = TRUE)}\cr \code{\link{gtkTreeViewColumnClear}(object)}\cr \code{\link{gtkTreeViewColumnGetCellRenderers}(object)}\cr \code{\link{gtkTreeViewColumnAddAttribute}(object, cell.renderer, attribute, column)}\cr \code{\link{gtkTreeViewColumnSetAttributes}(object, cell.renderer, ...)}\cr \code{\link{gtkTreeViewColumnSetCellDataFunc}(object, cell.renderer, func, func.data = NULL)}\cr \code{\link{gtkTreeViewColumnClearAttributes}(object, cell.renderer)}\cr \code{\link{gtkTreeViewColumnSetSpacing}(object, spacing)}\cr \code{\link{gtkTreeViewColumnGetSpacing}(object)}\cr \code{\link{gtkTreeViewColumnSetVisible}(object, visible)}\cr \code{\link{gtkTreeViewColumnGetVisible}(object)}\cr \code{\link{gtkTreeViewColumnSetResizable}(object, resizable)}\cr \code{\link{gtkTreeViewColumnGetResizable}(object)}\cr \code{\link{gtkTreeViewColumnSetSizing}(object, type)}\cr \code{\link{gtkTreeViewColumnGetSizing}(object)}\cr \code{\link{gtkTreeViewColumnGetWidth}(object)}\cr \code{\link{gtkTreeViewColumnGetFixedWidth}(object)}\cr \code{\link{gtkTreeViewColumnSetFixedWidth}(object, fixed.width)}\cr \code{\link{gtkTreeViewColumnSetMinWidth}(object, min.width)}\cr \code{\link{gtkTreeViewColumnGetMinWidth}(object)}\cr \code{\link{gtkTreeViewColumnSetMaxWidth}(object, max.width)}\cr \code{\link{gtkTreeViewColumnGetMaxWidth}(object)}\cr \code{\link{gtkTreeViewColumnClicked}(object)}\cr \code{\link{gtkTreeViewColumnSetTitle}(object, title)}\cr \code{\link{gtkTreeViewColumnGetTitle}(object)}\cr \code{\link{gtkTreeViewColumnSetExpand}(object, expand)}\cr \code{\link{gtkTreeViewColumnGetExpand}(object)}\cr \code{\link{gtkTreeViewColumnSetClickable}(object, active)}\cr \code{\link{gtkTreeViewColumnGetClickable}(object)}\cr \code{\link{gtkTreeViewColumnSetWidget}(object, widget = NULL)}\cr \code{\link{gtkTreeViewColumnGetWidget}(object)}\cr \code{\link{gtkTreeViewColumnSetAlignment}(object, xalign)}\cr \code{\link{gtkTreeViewColumnGetAlignment}(object)}\cr \code{\link{gtkTreeViewColumnSetReorderable}(object, reorderable)}\cr \code{\link{gtkTreeViewColumnGetReorderable}(object)}\cr \code{\link{gtkTreeViewColumnSetSortColumnId}(object, sort.column.id)}\cr \code{\link{gtkTreeViewColumnGetSortColumnId}(object)}\cr \code{\link{gtkTreeViewColumnSetSortIndicator}(object, setting)}\cr \code{\link{gtkTreeViewColumnGetSortIndicator}(object)}\cr \code{\link{gtkTreeViewColumnSetSortOrder}(object, order)}\cr \code{\link{gtkTreeViewColumnGetSortOrder}(object)}\cr \code{\link{gtkTreeViewColumnCellSetCellData}(object, tree.model, iter, is.expander, is.expanded)}\cr \code{\link{gtkTreeViewColumnCellGetSize}(object)}\cr \code{\link{gtkTreeViewColumnCellGetPosition}(object, cell.renderer)}\cr \code{\link{gtkTreeViewColumnCellIsVisible}(object)}\cr \code{\link{gtkTreeViewColumnFocusCell}(object, cell)}\cr \code{\link{gtkTreeViewColumnQueueResize}(object)}\cr \code{\link{gtkTreeViewColumnGetTreeView}(object)}\cr \code{gtkTreeViewColumn(title, cell, ...)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkTreeViewColumn}} \section{Interfaces}{GtkTreeViewColumn implements \code{\link{GtkCellLayout}} and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The GtkTreeViewColumn object represents a visible column in a \code{\link{GtkTreeView}} widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed. Please refer to the tree widget conceptual overview for an overview of all the objects and data types related to the tree widget and how they work together.} \section{Structures}{\describe{\item{\verb{GtkTreeViewColumn}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkTreeViewColumn} is the result of collapsing the constructors of \code{GtkTreeViewColumn} (\code{\link{gtkTreeViewColumnNew}}, \code{\link{gtkTreeViewColumnNewWithAttributes}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{GtkTreeViewColumnSizing}}{ The sizing method the column uses to determine its width. Please note that \code{GTK.TREE.VIEW.COLUMN.AUTOSIZE} are inefficient for large views, and can make columns appear choppy. \describe{ \item{\verb{grow-only}}{Columns only get bigger in reaction to changes in the model} \item{\verb{autosize}}{Columns resize to be the optimal size everytime the model changes.} \item{\verb{fixed}}{Columns are a fixed numbers of pixels wide.} } }}} \section{User Functions}{\describe{\item{\code{GtkTreeCellDataFunc(tree.column, cell, tree.model, iter, data)}}{ A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. This is useful for customizing the cell renderer. For example, a function might get an integer from the \code{tree.model}, and render it to the "text" attribute of "cell" by converting it to its written equivilent. This is set by calling \code{\link{gtkTreeViewColumnSetCellDataFunc}} \describe{ \item{\code{tree.column}}{A \verb{GtkTreeColumn}} \item{\code{cell}}{The \code{\link{GtkCellRenderer}} that is being rendered by \code{tree.column}} \item{\code{tree.model}}{The \code{\link{GtkTreeModel}} being rendered} \item{\code{iter}}{A \code{\link{GtkTreeIter}} of the current row rendered} \item{\code{data}}{user data} } }}} \section{Signals}{\describe{\item{\code{clicked(treeviewcolumn, user.data)}}{ \emph{undocumented } \describe{ \item{\code{treeviewcolumn}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{alignment} [numeric : Read / Write]}{ X Alignment of the column header text or widget. Allowed values: [0,1] Default value: 0 } \item{\verb{clickable} [logical : Read / Write]}{ Whether the header can be clicked. Default value: FALSE } \item{\verb{expand} [logical : Read / Write]}{ Column gets share of extra width allocated to the widget. Default value: FALSE } \item{\verb{fixed-width} [integer : Read / Write]}{ Current fixed width of the column. Allowed values: >= 1 Default value: 1 } \item{\verb{max-width} [integer : Read / Write]}{ Maximum allowed width of the column. Allowed values: >= -1 Default value: -1 } \item{\verb{min-width} [integer : Read / Write]}{ Minimum allowed width of the column. Allowed values: >= -1 Default value: -1 } \item{\verb{reorderable} [logical : Read / Write]}{ Whether the column can be reordered around the headers. Default value: FALSE } \item{\verb{resizable} [logical : Read / Write]}{ Column is user-resizable. Default value: FALSE } \item{\verb{sizing} [\code{\link{GtkTreeViewColumnSizing}} : Read / Write]}{ Resize mode of the column. Default value: GTK_TREE_VIEW_COLUMN_GROW_ONLY } \item{\verb{sort-column-id} [integer : Read / Write]}{ Logical sort column ID this column sorts on when selected for sorting. Setting the sort column ID makes the column header clickable. Set to \code{-1} to make the column unsortable. Allowed values: >= -1 Default value: -1 Since 2.18 } \item{\verb{sort-indicator} [logical : Read / Write]}{ Whether to show a sort indicator. Default value: FALSE } \item{\verb{sort-order} [\code{\link{GtkSortType}} : Read / Write]}{ Sort direction the sort indicator should indicate. Default value: GTK_SORT_ASCENDING } \item{\verb{spacing} [integer : Read / Write]}{ Space which is inserted between cells. Allowed values: >= 0 Default value: 0 } \item{\verb{title} [character : * : Read / Write]}{ Title to appear in column header. Default value: "" } \item{\verb{visible} [logical : Read / Write]}{ Whether to display the column. Default value: TRUE } \item{\verb{widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ Widget to put in column header button instead of column title. } \item{\verb{width} [integer : Read]}{ Current width of the column. Allowed values: >= 0 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeViewColumn.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeView}} \code{\link{GtkTreeSelection}} \code{\link{GtkTreeSortable}} \code{\link{GtkTreeModelSort}} \code{\link{GtkListStore}} \code{\link{GtkTreeStore}} \code{\link{GtkCellRenderer}} \code{\link{GtkCellEditable}} \code{\link{GtkCellRendererPixbuf}} \code{\link{GtkCellRendererText}} \code{\link{GtkCellRendererToggle}} } \keyword{internal} RGtk2/man/gtkTreeModelGetColumnType.Rd0000644000176000001440000000065212362217677017363 0ustar ripleyusers\alias{gtkTreeModelGetColumnType} \name{gtkTreeModelGetColumnType} \title{gtkTreeModelGetColumnType} \description{Returns the type of the column.} \usage{gtkTreeModelGetColumnType(object, index)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{index}}{The column index.} } \value{[\code{\link{GType}}] The type of the column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetTabs.Rd0000644000176000001440000000122612362217677016103 0ustar ripleyusers\alias{pangoLayoutSetTabs} \name{pangoLayoutSetTabs} \title{pangoLayoutSetTabs} \description{Sets the tabs to use for \code{layout}, overriding the default tabs (by default, tabs are every 8 spaces). If \code{tabs} is \code{NULL}, the default tabs are reinstated. \code{tabs} is copied into the layout; you must free your copy of \code{tabs} yourself.} \usage{pangoLayoutSetTabs(object, tabs = NULL)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{tabs}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerAddUi.Rd0000644000176000001440000000241312362217677015537 0ustar ripleyusers\alias{gtkUIManagerAddUi} \name{gtkUIManagerAddUi} \title{gtkUIManagerAddUi} \description{Adds a UI element to the current contents of \code{self}. } \usage{gtkUIManagerAddUi(object, merge.id, path, name, action = NULL, type, top)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}}} \item{\verb{merge.id}}{the merge id for the merged UI, see \code{\link{gtkUIManagerNewMergeId}}} \item{\verb{path}}{a path} \item{\verb{name}}{the name for the added UI element} \item{\verb{action}}{the name of the action to be proxied, or \code{NULL} to add a separator. \emph{[ \acronym{allow-none} ]}} \item{\verb{type}}{the type of UI element to add.} \item{\verb{top}}{if \code{TRUE}, the UI element is added before its siblings, otherwise it is added after its siblings.} } \details{If \code{type} is \code{GTK_UI_MANAGER_AUTO}, GTK+ inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by \code{path}. Otherwise \code{type} must indicate an element that can be inserted at the place determined by \code{path}. If \code{path} points to a menuitem or toolitem, the new element will be inserted before or after this item, depending on \code{top}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppLaunchContextGetDisplay.Rd0000644000176000001440000000115712362217677017673 0ustar ripleyusers\alias{gAppLaunchContextGetDisplay} \name{gAppLaunchContextGetDisplay} \title{gAppLaunchContextGetDisplay} \description{Gets the display string for the display. This is used to ensure new applications are started on the same display as the launching application.} \usage{gAppLaunchContextGetDisplay(object, info, files)} \arguments{ \item{\verb{object}}{a \code{\link{GAppLaunchContext}}} \item{\verb{info}}{a \code{\link{GAppInfo}}} \item{\verb{files}}{a \verb{list} of \code{\link{GFile}} objects} } \value{[char] a display string for the display.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdd.Rd0000644000176000001440000000221611766145227013507 0ustar ripleyusers\name{gtkAdd} \alias{gtkAdd} \title{Add Gtk wdget to parent container} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This adds the specified Gtk widget to the hierarchy defining a graphical interface by giving it a parent and a place in the parent's container. This is then followed by a call to \code{\link{gtkShow}} to make the widget visible. } \usage{ gtkAdd(parent, ...) } \arguments{ \item{parent}{the parent container widget (e.g. a box, etc. ) into which the widget `w' is to be added.} \item{...}{one or more widgets that are to be added to the parent container.} } \value{ Currently, a logical value indicating whether the, typically a logical value, \code{TRUE}, indicating success. This will be changed to be a widget. Perhaps we will add an option to allow a scrolled container or a pane to be added in which case the result will be that newly created container widget. } \references{ \url{http://www.gtk.org} \url{http://www.omegahat.org/RGtk} } \author{Duncan Temple Lang} \seealso{ \code{\link{gtkContainerAdd}} \code{\link{gtkWindow}} \code{\link{gtkShow}} } \keyword{interface} \keyword{internal} RGtk2/man/atkEditableTextPasteText.Rd0000644000176000001440000000067512362217677017242 0ustar ripleyusers\alias{atkEditableTextPasteText} \name{atkEditableTextPasteText} \title{atkEditableTextPasteText} \description{Paste text from clipboard to specified \code{position}.} \usage{atkEditableTextPasteText(object, position)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{position}}{[integer] position to paste} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsLoopback.Rd0000644000176000001440000000072512362217677017301 0ustar ripleyusers\alias{gInetAddressGetIsLoopback} \name{gInetAddressGetIsLoopback} \title{gInetAddressGetIsLoopback} \description{Tests whether \code{address} is the loopback address for its family.} \usage{gInetAddressGetIsLoopback(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is the loopback address for its family.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoFontMapGetResolution.Rd0000644000176000001440000000100112362217677020375 0ustar ripleyusers\alias{pangoCairoFontMapGetResolution} \name{pangoCairoFontMapGetResolution} \title{pangoCairoFontMapGetResolution} \description{Gets the resolution for the fontmap. See \code{\link{pangoCairoFontMapSetResolution}}} \usage{pangoCairoFontMapGetResolution(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoCairoFontMap}}] a \code{\link{PangoCairoFontMap}}}} \details{ Since 1.10} \value{[numeric] the resolution in "dots per inch"} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextNew.Rd0000644000176000001440000000055412362217677016676 0ustar ripleyusers\alias{gdkAppLaunchContextNew} \name{gdkAppLaunchContextNew} \title{gdkAppLaunchContextNew} \description{Creates a new \code{\link{GdkAppLaunchContext}}.} \usage{gdkAppLaunchContextNew()} \details{Since 2.14} \value{[\code{\link{GdkAppLaunchContext}}] a new \code{\link{GdkAppLaunchContext}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetReliefStyle.Rd0000644000176000001440000000106312362217677017535 0ustar ripleyusers\alias{gtkToolShellGetReliefStyle} \name{gtkToolShellGetReliefStyle} \title{gtkToolShellGetReliefStyle} \description{Returns the relief style of buttons on \code{shell}. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetReliefStyle}} instead.} \usage{gtkToolShellGetReliefStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkReliefStyle}}] The relief style of buttons on \code{shell}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeUnselect.Rd0000644000176000001440000000071312362217677015526 0ustar ripleyusers\alias{gtkCTreeUnselect} \name{gtkCTreeUnselect} \title{gtkCTreeUnselect} \description{ Unselect the given node and emit the appropriate signal. \strong{WARNING: \code{gtk_ctree_unselect} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeUnselect(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMainLevel.Rd0000644000176000001440000000055112362217677014675 0ustar ripleyusers\alias{gtkMainLevel} \name{gtkMainLevel} \title{gtkMainLevel} \description{Asks for the current nesting level of the main loop. This can be useful when calling \code{\link{gtkQuitAdd}}.} \usage{gtkMainLevel()} \value{[numeric] the nesting level of the current invocation of the main loop.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetDoOverwriteConfirmation.Rd0000644000176000001440000000201612362217677022440 0ustar ripleyusers\alias{gtkFileChooserSetDoOverwriteConfirmation} \name{gtkFileChooserSetDoOverwriteConfirmation} \title{gtkFileChooserSetDoOverwriteConfirmation} \description{Sets whether a file chooser in \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode will present a confirmation dialog if the user types a file name that already exists. This is \code{FALSE} by default.} \usage{gtkFileChooserSetDoOverwriteConfirmation(object, do.overwrite.confirmation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{do.overwrite.confirmation}}{whether to confirm overwriting in save mode} } \details{Regardless of this setting, the \code{chooser} will emit the \verb{"confirm-overwrite"} signal when appropriate. If all you need is the stock confirmation dialog, set this property to \code{TRUE}. You can override the way confirmation is done by actually handling the \verb{"confirm-overwrite"} signal; please refer to its documentation for the details. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFindNodePtr.Rd0000644000176000001440000000104512362217677016117 0ustar ripleyusers\alias{gtkCTreeFindNodePtr} \name{gtkCTreeFindNodePtr} \title{gtkCTreeFindNodePtr} \description{ Finds the node pointer given a \code{\link{GtkCTreeRow}} structure. \strong{WARNING: \code{gtk_ctree_find_node_ptr} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFindNodePtr(object, ctree.row)} \arguments{ \item{\verb{object}}{The node pointer.} \item{\verb{ctree.row}}{\emph{undocumented }} } \value{[\code{\link{GtkCTreeNode}}] The node pointer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderNew.Rd0000644000176000001440000000045212362217677015061 0ustar ripleyusers\alias{gtkBuilderNew} \name{gtkBuilderNew} \title{gtkBuilderNew} \description{Creates a new builder object.} \usage{gtkBuilderNew()} \details{Since 2.12} \value{[\code{\link{GtkBuilder}}] a new \code{\link{GtkBuilder}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkNoOpObject.Rd0000644000176000001440000000243412362217677014757 0ustar ripleyusers\alias{AtkNoOpObject} \alias{atkNoOpObject} \name{AtkNoOpObject} \title{AtkNoOpObject} \description{An AtkObject which purports to implement all ATK interfaces.} \section{Methods and Functions}{ \code{\link{atkNoOpObjectNew}(obj)}\cr \code{atkNoOpObject(obj)} } \section{Hierarchy}{\preformatted{GObject +----AtkObject +----AtkNoOpObject}} \section{Interfaces}{AtkNoOpObject implements \code{\link{AtkComponent}}, \code{\link{AtkAction}}, \code{\link{AtkEditableText}}, \code{\link{AtkImage}}, \code{\link{AtkSelection}}, \code{\link{AtkTable}}, \code{\link{AtkText}}, \code{\link{AtkHypertext}}, \code{\link{AtkValue}} and \code{\link{AtkDocument}}.} \section{Detailed Description}{An AtkNoOpObject is an AtkObject which purports to implement all ATK interfaces. It is the type of AtkObject which is created if an accessible object is requested for an object type for which no factory type is specified.} \section{Structures}{\describe{\item{\verb{AtkNoOpObject}}{ The AtkNoOpObject structure should not be accessed directly. }}} \section{Convenient Construction}{\code{atkNoOpObject} is the equivalent of \code{\link{atkNoOpObjectNew}}.} \references{\url{http://library.gnome.org/devel//atk/AtkNoOpObject.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetTooltipCell.Rd0000644000176000001440000000140512362217677017372 0ustar ripleyusers\alias{gtkIconViewSetTooltipCell} \name{gtkIconViewSetTooltipCell} \title{gtkIconViewSetTooltipCell} \description{Sets the tip area of \code{tooltip} to the area which \code{cell} occupies in the item pointed to by \code{path}. See also \code{\link{gtkTooltipSetTipArea}}.} \usage{gtkIconViewSetTooltipCell(object, tooltip, path, cell)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{tooltip}}{a \code{\link{GtkTooltip}}} \item{\verb{path}}{a \code{\link{GtkTreePath}}} \item{\verb{cell}}{a \code{\link{GtkCellRenderer}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{See also \code{\link{gtkIconViewSetTooltipColumn}} for a simpler alternative. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetReverse.Rd0000644000176000001440000000067112362217677017635 0ustar ripleyusers\alias{gtkPrintSettingsGetReverse} \name{gtkPrintSettingsGetReverse} \title{gtkPrintSettingsGetReverse} \description{Gets the value of \code{GTK_PRINT_SETTINGS_REVERSE}.} \usage{gtkPrintSettingsGetReverse(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[logical] whether to reverse the order of the printed pages} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetExclusive.Rd0000644000176000001440000000106112362217677017602 0ustar ripleyusers\alias{gtkToolPaletteGetExclusive} \name{gtkToolPaletteGetExclusive} \title{gtkToolPaletteGetExclusive} \description{Gets whether \code{group} is exclusive or not. See \code{\link{gtkToolPaletteSetExclusive}}.} \usage{gtkToolPaletteGetExclusive(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}} which is a child of palette} } \details{Since 2.20} \value{[logical] \code{TRUE} if \code{group} is exclusive} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortResetDefaultSortFunc.Rd0000644000176000001440000000112612362217677021544 0ustar ripleyusers\alias{gtkTreeModelSortResetDefaultSortFunc} \name{gtkTreeModelSortResetDefaultSortFunc} \title{gtkTreeModelSortResetDefaultSortFunc} \description{This resets the default sort function to be in the 'unsorted' state. That is, it is in the same order as the child model. It will re-sort the model to be in the same order as the child model only if the \code{\link{GtkTreeModelSort}} is in 'unsorted' state.} \usage{gtkTreeModelSortResetDefaultSortFunc(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModelSort}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragDrop.Rd0000644000176000001440000000060412362217677014502 0ustar ripleyusers\alias{gdkDragDrop} \name{gdkDragDrop} \title{gdkDragDrop} \description{Drops on the current destination.} \usage{gdkDragDrop(object, time)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetCompletion.Rd0000644000176000001440000000127712362217677016636 0ustar ripleyusers\alias{gtkEntrySetCompletion} \name{gtkEntrySetCompletion} \title{gtkEntrySetCompletion} \description{Sets \code{completion} to be the auxiliary completion object to use with \code{entry}. All further configuration of the completion mechanism is done on \code{completion} using the \code{\link{GtkEntryCompletion}} API. Completion is disabled if \code{completion} is set to \code{NULL}.} \usage{gtkEntrySetCompletion(object, completion)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{completion}}{The \code{\link{GtkEntryCompletion}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListSplice.Rd0000644000176000001440000000233012362217677016243 0ustar ripleyusers\alias{pangoAttrListSplice} \name{pangoAttrListSplice} \title{pangoAttrListSplice} \description{This function opens up a hole in \code{list}, fills it in with attributes from the left, and then merges \code{other} on top of the hole.} \usage{pangoAttrListSplice(object, other, pos, len)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}} \item{\verb{other}}{[\code{\link{PangoAttrList}}] another \code{\link{PangoAttrList}}} \item{\verb{pos}}{[integer] the position in \code{list} at which to insert \code{other}} \item{\verb{len}}{[integer] the length of the spliced segment. (Note that this must be specified since the attributes in \code{other} may only be present at some subsection of this range)} } \details{This operation is equivalent to stretching every attribute that applies at position \code{pos} in \code{list} by an amount \code{len}, and then calling \code{\link{pangoAttrListChange}} with a copy of each attribute in \code{other} in sequence (offset in position by \code{pos}). This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeBoolean.Rd0000644000176000001440000000104612362217677020001 0ustar ripleyusers\alias{gFileInfoGetAttributeBoolean} \name{gFileInfoGetAttributeBoolean} \title{gFileInfoGetAttributeBoolean} \description{Gets the value of a boolean attribute. If the attribute does not contain a boolean value, \code{FALSE} will be returned.} \usage{gFileInfoGetAttributeBoolean(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[logical] the boolean value contained within the attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawHline.Rd0000644000176000001440000000137312362217677014701 0ustar ripleyusers\alias{gtkDrawHline} \name{gtkDrawHline} \title{gtkDrawHline} \description{ Draws a horizontal line from (\code{x1}, \code{y}) to (\code{x2}, \code{y}) in \code{window} using the given style and state. \strong{WARNING: \code{gtk_draw_hline} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintHline}} instead.} } \usage{gtkDrawHline(object, window, state.type, x1, x2, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{x1}}{the starting x coordinate} \item{\verb{x2}}{the ending x coordinate} \item{\verb{y}}{the y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListOptimalColumnWidth.Rd0000644000176000001440000000116612362217677017546 0ustar ripleyusers\alias{gtkCListOptimalColumnWidth} \name{gtkCListOptimalColumnWidth} \title{gtkCListOptimalColumnWidth} \description{ Gets the required width in pixels that is needed to show everything in the specified column. \strong{WARNING: \code{gtk_clist_optimal_column_width} is deprecated and should not be used in newly-written code.} } \usage{gtkCListOptimalColumnWidth(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to check.} \item{\verb{column}}{The column to check.} } \value{[integer] The required width in pixels for the column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextChildAnchorGetWidgets.Rd0000644000176000001440000000077112362217677020037 0ustar ripleyusers\alias{gtkTextChildAnchorGetWidgets} \name{gtkTextChildAnchorGetWidgets} \title{gtkTextChildAnchorGetWidgets} \description{Gets a list of all widgets anchored at this child anchor.} \usage{gtkTextChildAnchorGetWidgets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextChildAnchor}}}} \value{[list] list of widgets anchored at \code{anchor}. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterGetName.Rd0000644000176000001440000000070212362217677016646 0ustar ripleyusers\alias{gtkRecentFilterGetName} \name{gtkRecentFilterGetName} \title{gtkRecentFilterGetName} \description{Gets the human-readable name for the filter. See \code{\link{gtkRecentFilterSetName}}.} \usage{gtkRecentFilterGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentFilter}}}} \details{Since 2.10} \value{[character] the name of the filter, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetSkipTaskbarHint.Rd0000644000176000001440000000067412362217677017720 0ustar ripleyusers\alias{gtkWindowGetSkipTaskbarHint} \name{gtkWindowGetSkipTaskbarHint} \title{gtkWindowGetSkipTaskbarHint} \description{Gets the value set by \code{\link{gtkWindowSetSkipTaskbarHint}}} \usage{gtkWindowGetSkipTaskbarHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.2} \value{[logical] \code{TRUE} if window shouldn't be in taskbar} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetPercentage.Rd0000644000176000001440000000107712362217677017303 0ustar ripleyusers\alias{gtkProgressSetPercentage} \name{gtkProgressSetPercentage} \title{gtkProgressSetPercentage} \description{ Sets the current percentage completion for the \code{\link{GtkProgress}}. \strong{WARNING: \code{gtk_progress_set_percentage} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetPercentage(object, percentage)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{percentage}}{the percentage complete which must be between 0.0 and 1.0.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/typeMacros.Rd0000644000176000001440000002453411766145227014446 0ustar ripleyusers\alias{atkActionGetType} \alias{atkComponentGetType} \alias{atkDocumentGetType} \alias{atkEditableTextGetType} \alias{atkGObjectAccessibleGetType} \alias{atkHyperlinkGetType} \alias{atkHypertextGetType} \alias{atkImageGetType} \alias{atkImplementorGetType} \alias{atkKeyEventStructGetType} \alias{atkNoOpObjectFactoryGetType} \alias{atkNoOpObjectGetType} \alias{atkObjectFactoryGetType} \alias{atkObjectGetType} \alias{atkRegistryGetType} \alias{atkRelationGetType} \alias{atkRelationSetGetType} \alias{atkSelectionGetType} \alias{atkStateSetGetType} \alias{atkStreamableContentGetType} \alias{atkTableGetType} \alias{atkTextGetType} \alias{atkUtilGetType} \alias{atkValueGetType} \alias{gdkColormapGetType} \alias{gdkCursorGetType} \alias{gdkDeviceGetType} \alias{gdkDisplayGetType} \alias{gdkDisplayManagerGetType} \alias{gdkDragContextGetType} \alias{gdkDrawableGetType} \alias{gdkEventAnyGetType} \alias{gdkEventGetType} \alias{gdkFontGetType} \alias{gdkGCGetType} \alias{gdkImageGetType} \alias{gdkKeymapGetType} \alias{gdkPangoRendererGetType} \alias{gdkPixbufAnimationGetType} \alias{gdkPixbufAnimationIterGetType} \alias{gdkPixbufLoaderGetType} \alias{gdkPixmapGetType} \alias{gdkScreenGetType} \alias{gdkVisualGetType} \alias{gdkWindowObjectGetType} \alias{gladeXMLGetType} \alias{gtkAboutDialogGetType} \alias{gtkAccelGroupGetType} \alias{gtkAccelLabelGetType} \alias{gtkAccelMapGetType} \alias{gtkAccessibleGetType} \alias{gtkActionGetType} \alias{gtkActionGroupGetType} \alias{gtkAdjustmentGetType} \alias{gtkAlignmentGetType} \alias{gtkArrowGetType} \alias{gtkAspectFrameGetType} \alias{gtkAssistantGetType} \alias{gtkAssistantPageTypeGetType} \alias{gtkCellRendererAccelGetType} \alias{gtkCellRendererAccelModeGetType} \alias{gtkCellRendererSpinGetType} \alias{gtkLinkButtonGetType} \alias{gtkBinGetType} \alias{gtkBorderGetType} \alias{gtkBoxGetType} \alias{gtkButtonBoxGetType} \alias{gtkButtonGetType} \alias{gtkCListGetType} \alias{gtkCTreeGetType} \alias{gtkCTreeNodeGetType} \alias{gtkCalendarGetType} \alias{gtkCellEditableGetType} \alias{gtkCellLayoutGetType} \alias{gtkCellRendererComboGetType} \alias{gtkCellRendererGetType} \alias{gtkCellRendererPixbufGetType} \alias{gtkCellRendererProgressGetType} \alias{gtkCellRendererTextGetType} \alias{gtkCellRendererToggleGetType} \alias{gtkCellViewGetType} \alias{gtkCheckButtonGetType} \alias{gtkCheckMenuItemGetType} \alias{gtkClipboardGetType} \alias{gtkColorButtonGetType} \alias{gtkColorSelectionDialogGetType} \alias{gtkColorSelectionGetType} \alias{gtkComboBoxEntryGetType} \alias{gtkComboBoxGetType} \alias{gtkComboGetType} \alias{gtkContainerGetType} \alias{gtkCurveGetType} \alias{gtkDialogGetType} \alias{gtkDrawingAreaGetType} \alias{gtkEditableGetType} \alias{gtkEntryCompletionGetType} \alias{gtkEntryGetType} \alias{gtkEventBoxGetType} \alias{gtkExpanderGetType} \alias{gtkFileChooserButtonGetType} \alias{gtkFileChooserDialogGetType} \alias{gtkFileChooserGetType} \alias{gtkFileChooserWidgetGetType} \alias{gtkFileFilterGetType} \alias{gtkFileSelectionGetType} \alias{gtkFixedGetType} \alias{gtkFontButtonGetType} \alias{gtkFontSelectionDialogGetType} \alias{gtkFontSelectionGetType} \alias{gtkFrameGetType} \alias{gtkGammaCurveGetType} \alias{gtkHBoxGetType} \alias{gtkHButtonBoxGetType} \alias{gtkHPanedGetType} \alias{gtkHRulerGetType} \alias{gtkHScaleGetType} \alias{gtkHScrollbarGetType} \alias{gtkHSeparatorGetType} \alias{gtkHandleBoxGetType} \alias{gtkIMContextGetType} \alias{gtkIMContextSimpleGetType} \alias{gtkIMMulticontextGetType} \alias{gtkIconFactoryGetType} \alias{gtkIconInfoGetType} \alias{gtkIconSetGetType} \alias{gtkIconSourceGetType} \alias{gtkIconThemeGetType} \alias{gtkIconViewGetType} \alias{gtkImageGetType} \alias{gtkImageMenuItemGetType} \alias{gtkInputDialogGetType} \alias{gtkInvisibleGetType} \alias{gtkItemFactoryGetType} \alias{gtkItemGetType} \alias{gtkLabelGetType} \alias{gtkLayoutGetType} \alias{gtkListGetType} \alias{gtkListItemGetType} \alias{gtkListStoreGetType} \alias{gtkMenuBarGetType} \alias{gtkMenuGetType} \alias{gtkMenuItemGetType} \alias{gtkMenuShellGetType} \alias{gtkMenuToolButtonGetType} \alias{gtkMessageDialogGetType} \alias{gtkMiscGetType} \alias{gtkNotebookGetType} \alias{gtkOldEditableGetType} \alias{gtkOptionMenuGetType} \alias{gtkPanedGetType} \alias{gtkPixmapGetType} \alias{gtkPlugGetType} \alias{gtkPreviewGetType} \alias{gtkPageOrientationGetType} \alias{gtkPageSetGetType} \alias{gtkPageSetupGetType} \alias{gtkPaperSizeGetType} \alias{gtkPrintContextGetType} \alias{gtkPrintDuplexGetType} \alias{gtkPrintOperationActionGetType} \alias{gtkPrintOperationGetType} \alias{gtkPrintOperationPreviewGetType} \alias{gtkPrintPagesGetType} \alias{gtkPrintQualityGetType} \alias{gtkPrintSettingsGetType} \alias{gtkRecentChooserDialogGetType} \alias{gtkRecentChooserErrorGetType} \alias{gtkRecentChooserGetType} \alias{gtkRecentChooserMenuGetType} \alias{gtkRecentChooserWidgetGetType} \alias{gtkRecentFilterFlagsGetType} \alias{gtkRecentFilterGetType} \alias{gtkRecentInfoGetType} \alias{gtkRecentManagerErrorGetType} \alias{gtkRecentManagerGetType} \alias{gtkRecentSortTypeGetType} \alias{gtkSensitivityTypeGetType} \alias{gtkStatusIconGetType} \alias{gtkTargetListGetType} \alias{gtkTextBufferTargetInfoGetType} \alias{gtkProgressBarGetType} \alias{gtkProgressGetType} \alias{gtkRadioActionGetType} \alias{gtkRadioButtonGetType} \alias{gtkRadioMenuItemGetType} \alias{gtkRadioToolButtonGetType} \alias{gtkRangeGetType} \alias{gtkRcStyleGetType} \alias{gtkRequisitionGetType} \alias{gtkRulerGetType} \alias{gtkScaleGetType} \alias{gtkScrollbarGetType} \alias{gtkScrolledWindowGetType} \alias{gtkSelectionDataGetType} \alias{gtkSeparatorGetType} \alias{gtkSeparatorMenuItemGetType} \alias{gtkSeparatorToolItemGetType} \alias{gtkSettingsGetType} \alias{gtkSizeGroupGetType} \alias{gtkSocketGetType} \alias{gtkSpinButtonGetType} \alias{gtkStatusbarGetType} \alias{gtkStyleGetType} \alias{gtkTableGetType} \alias{gtkTearoffMenuItemGetType} \alias{gtkTextAttributesGetType} \alias{gtkTextBufferGetType} \alias{gtkTextChildAnchorGetType} \alias{gtkTextIterGetType} \alias{gtkTextMarkGetType} \alias{gtkTextTagGetType} \alias{gtkTextTagTableGetType} \alias{gtkTextViewGetType} \alias{gtkTipsQueryGetType} \alias{gtkToggleActionGetType} \alias{gtkToggleButtonGetType} \alias{gtkToggleToolButtonGetType} \alias{gtkToolButtonGetType} \alias{gtkToolItemGetType} \alias{gtkToolbarGetType} \alias{gtkTooltipsGetType} \alias{gtkTreeDragDestGetType} \alias{gtkTreeDragSourceGetType} \alias{gtkTreeIterGetType} \alias{gtkTreeModelFilterGetType} \alias{gtkTreeModelGetType} \alias{gtkTreeModelSortGetType} \alias{gtkTreeRowReferenceGetType} \alias{gtkTreeSelectionGetType} \alias{gtkTreeSortableGetType} \alias{gtkTreeStoreGetType} \alias{gtkTreeViewColumnGetType} \alias{gtkTreeViewGetType} \alias{gtkTreeViewGridLinesGetType} \alias{gtkUnitGetType} \alias{gtkUIManagerGetType} \alias{gtkVBoxGetType} \alias{gtkVButtonBoxGetType} \alias{gtkVPanedGetType} \alias{gtkVRulerGetType} \alias{gtkVScaleGetType} \alias{gtkVScrollbarGetType} \alias{gtkVSeparatorGetType} \alias{gtkViewportGetType} \alias{gtkWidgetGetType} \alias{gtkWindowGetType} \alias{gtkWindowGroupGetType} \alias{pangoAttrClassGetType} \alias{pangoAttrListGetType} \alias{pangoCairoFontMapGetType} \alias{pangoColorGetType} \alias{pangoFontFaceGetType} \alias{pangoFontFamilyGetType} \alias{pangoFontGetType} \alias{pangoFontMetricsGetType} \alias{pangoGlyphStringGetType} \alias{pangoLayoutGetType} \alias{pangoLayoutIterGetType} \alias{pangoRendererGetType} \alias{pangoTabArrayGetType} \alias{gtkBuildableGetType} \alias{gtkBuilderGetType} \alias{gtkRecentActionGetType} \alias{gtkScaleButtonGetType} \alias{gtkTooltipGetType} \alias{gtkVolumeButtonGetType} \alias{gAppInfoCreateFlagsGetType} \alias{gAppInfoGetType} \alias{gAppLaunchContextGetType} \alias{gAskPasswordFlagsGetType} \alias{gAsyncInitableGetType} \alias{gAsyncResultGetType} \alias{gBufferedInputStreamGetType} \alias{gBufferedOutputStreamGetType} \alias{gCancellableGetType} \alias{gDataInputStreamGetType} \alias{gDataOutputStreamGetType} \alias{gDataStreamByteOrderGetType} \alias{gDataStreamNewlineTypeGetType} \alias{gDriveGetType} \alias{gEmblemGetType} \alias{gEmblemedIconGetType} \alias{gFileAttributeInfoFlagsGetType} \alias{gFileAttributeStatusGetType} \alias{gFileAttributeTypeGetType} \alias{gFileCopyFlagsGetType} \alias{gFileCreateFlagsGetType} \alias{gFileEnumeratorGetType} \alias{gFileGetType} \alias{gFileIOStreamGetType} \alias{gFileIconGetType} \alias{gFileInfoGetType} \alias{gFileInputStreamGetType} \alias{gFileMonitorEventGetType} \alias{gFileMonitorFlagsGetType} \alias{gFileMonitorGetType} \alias{gFileOutputStreamGetType} \alias{gFileQueryInfoFlagsGetType} \alias{gFileTypeGetType} \alias{gFilenameCompleterGetType} \alias{gFilterInputStreamGetType} \alias{gFilterOutputStreamGetType} \alias{gIOModuleGetType} \alias{gIOStreamGetType} \alias{gIconGetType} \alias{gInetAddressGetType} \alias{gInitableGetType} \alias{gInputStreamGetType} \alias{gIoErrorEnumGetType} \alias{gLoadableIconGetType} \alias{gMemoryInputStreamGetType} \alias{gMemoryOutputStreamGetType} \alias{gMountGetType} \alias{gMountOperationGetType} \alias{gNativeVolumeMonitorGetType} \alias{gNetworkAddressGetType} \alias{gNetworkServiceGetType} \alias{gOutputStreamGetType} \alias{gOutputStreamSpliceFlagsGetType} \alias{gPasswordSaveGetType} \alias{gResolverGetType} \alias{gSeekableGetType} \alias{gSimpleAsyncResultGetType} \alias{gSocketAddressEnumeratorGetType} \alias{gSocketAddressGetType} \alias{gSocketClientGetType} \alias{gSocketConnectableGetType} \alias{gSocketConnectionGetType} \alias{gSocketControlMessageClassGetType} \alias{gSocketControlMessageGetType} \alias{gSocketGetType} \alias{gSocketListenerGetType} \alias{gSocketServiceGetType} \alias{gSrvTargetGetType} \alias{gTcpConnectionGetType} \alias{gThemedIconGetType} \alias{gThreadedSocketServiceGetType} \alias{gVfsGetType} \alias{gVolumeGetType} \alias{gVolumeMonitorGetType} \alias{gdkAppLaunchContextGetType} \alias{gtkActivatableGetType} \alias{gtkCellRendererSpinnerGetType} \alias{gtkEntryBufferGetType} \alias{gtkHSVGetType} \alias{gtkInfoBarGetType} \alias{gtkMountOperationGetType} \alias{gtkOffscreenWindowGetType} \alias{gtkOrientableGetType} \alias{gtkSpinnerGetType} \alias{gtkToolItemGroupGetType} \alias{gtkToolPaletteGetType} \name{typeMacros} \title{GType accessor macros} \description{This function returns the R representation of the GType of the object argument.} \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gtkAboutDialogSetEmailHook.Rd0000644000176000001440000000132112362217677017454 0ustar ripleyusers\alias{gtkAboutDialogSetEmailHook} \name{gtkAboutDialogSetEmailHook} \title{gtkAboutDialogSetEmailHook} \description{Installs a global function to be called whenever the user activates an email link in an about dialog.} \usage{gtkAboutDialogSetEmailHook(func, data = NULL)} \arguments{ \item{\verb{func}}{a function to call when an email link is activated.} \item{\verb{data}}{data to pass to \code{func}} } \details{Since 2.18 there exists a default function which uses \code{\link{gtkShowUri}}. To deactivate it, you can pass \code{NULL} for \code{func}. Since 2.6} \value{[\code{\link{GtkAboutDialogActivateLinkFunc}}] the previous email hook.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapAddVirtualModifiers.Rd0000644000176000001440000000170312362217677020051 0ustar ripleyusers\alias{gdkKeymapAddVirtualModifiers} \name{gdkKeymapAddVirtualModifiers} \title{gdkKeymapAddVirtualModifiers} \description{Adds virtual modifiers (i.e. Super, Hyper and Meta) which correspond to the real modifiers (i.e Mod2, Mod3, ...) in \code{modifiers}. are set in \code{state} to their non-virtual counterparts (i.e. Mod2, Mod3,...) and set the corresponding bits in \code{state}.} \usage{gdkKeymapAddVirtualModifiers(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkKeymap}}}} \details{GDK already does this before delivering key events, but for compatibility reasons, it only sets the first virtual modifier it finds, whereas this function sets all matching virtual modifiers. This function is useful when matching key events against accelerators. Since 2.20} \value{ A list containing the following elements: \item{\verb{state}}{pointer to the modifier mask to change} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkWindowGroup.Rd0000644000176000001440000000144612362217677015251 0ustar ripleyusers\alias{GtkWindowGroup} \alias{gtkWindowGroup} \name{GtkWindowGroup} \title{GtkWindowGroup} \description{Limit the effect of grabs} \section{Methods and Functions}{ \code{\link{gtkWindowGroupNew}()}\cr \code{\link{gtkWindowGroupAddWindow}(object, window)}\cr \code{\link{gtkWindowGroupRemoveWindow}(object, window)}\cr \code{\link{gtkWindowGroupListWindows}(object)}\cr \code{gtkWindowGroup()} } \section{Hierarchy}{\preformatted{GObject +----GtkWindowGroup}} \section{Structures}{\describe{\item{\verb{GtkWindowGroup}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkWindowGroup} is the equivalent of \code{\link{gtkWindowGroupNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkWindowGroup.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GCharsetConverter.Rd0000644000176000001440000000200711766145227015677 0ustar ripleyusers\alias{GCharsetConverter} \name{GCharsetConverter} \title{GCharsetConverter} \description{Convert between charsets} \section{Hierarchy}{\preformatted{GObject +----GCharsetConverter}} \section{Interfaces}{GCharsetConverter implements GConverter and \code{\link{GInitable}}.} \section{Detailed Description}{\verb{GCharsetConverter} is an implementation of \verb{GConverter} based on GIConv.} \section{Properties}{\describe{ \item{\verb{from-charset} [character : * : Read / Write / Construct Only]}{ The character encoding to convert from. Default value: NULL } \item{\verb{to-charset} [character : * : Read / Write / Construct Only]}{ The character encoding to convert to. Default value: NULL } \item{\verb{use-fallback} [logical : Read / Write / Construct]}{ Use fallback (of form \\) for invalid bytes. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gio/GCharsetConverter.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetCopyright.Rd0000644000176000001440000000060512362217677017544 0ustar ripleyusers\alias{gtkAboutDialogGetCopyright} \name{gtkAboutDialogGetCopyright} \title{gtkAboutDialogGetCopyright} \description{Returns the copyright string.} \usage{gtkAboutDialogGetCopyright(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The copyright string.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontGetFontFace.Rd0000644000176000001440000000102712362217677017420 0ustar ripleyusers\alias{cairoScaledFontGetFontFace} \name{cairoScaledFontGetFontFace} \title{cairoScaledFontGetFontFace} \description{Gets the font face that this scaled font was created for.} \usage{cairoScaledFontGetFontFace(scaled.font)} \arguments{\item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}}} \details{ Since 1.2} \value{[\code{\link{CairoFontFace}}] The \code{\link{CairoFontFace}} with which \code{scaled.font} was created.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTextWidthWc.Rd0000644000176000001440000000077012362217677015222 0ustar ripleyusers\alias{gdkTextWidthWc} \name{gdkTextWidthWc} \title{gdkTextWidthWc} \description{ Determines the width of a given wide-character string. \strong{WARNING: \code{gdk_text_width_wc} is deprecated and should not be used in newly-written code.} } \usage{gdkTextWidthWc(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{text}}{the text to measure.} } \value{[integer] the width of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetOperator.Rd0000644000176000001440000000060512362217677015564 0ustar ripleyusers\alias{cairoGetOperator} \name{cairoGetOperator} \title{cairoGetOperator} \description{Gets the current compositing operator for a cairo context.} \usage{cairoGetOperator(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoOperator}}] the current compositing operator.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogSetDefaultResponse.Rd0000644000176000001440000000102112362217677017711 0ustar ripleyusers\alias{gtkDialogSetDefaultResponse} \name{gtkDialogSetDefaultResponse} \title{gtkDialogSetDefaultResponse} \description{Sets the last widget in the dialog's action area with the given \code{response.id} as the default widget for the dialog. Pressing "Enter" normally activates the default widget.} \usage{gtkDialogSetDefaultResponse(object, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{response.id}}{a response ID} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetShowNow.Rd0000644000176000001440000000102212362217677015563 0ustar ripleyusers\alias{gtkWidgetShowNow} \name{gtkWidgetShowNow} \title{gtkWidgetShowNow} \description{Shows a widget. If the widget is an unmapped toplevel widget (i.e. a \code{\link{GtkWindow}} that has not yet been shown), enter the main loop and wait for the window to actually be mapped. Be careful; because the main loop is running, anything can happen during this function.} \usage{gtkWidgetShowNow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetColormap.Rd0000644000176000001440000000101212362217677016372 0ustar ripleyusers\alias{gtkWidgetGetColormap} \name{gtkWidgetGetColormap} \title{gtkWidgetGetColormap} \description{Gets the colormap that will be used to render \code{widget}. No reference will be added to the returned colormap; it should not be unreferenced.} \usage{gtkWidgetGetColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GdkColormap}}] the colormap used by \code{widget}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleSetFont.Rd0000644000176000001440000000133412362217677015424 0ustar ripleyusers\alias{gtkStyleSetFont} \name{gtkStyleSetFont} \title{gtkStyleSetFont} \description{ Sets the \code{\link{GdkFont}} to use for a given style. This is meant only as a replacement for direct access to style->font and should not be used in new code. New code should use style->font_desc instead. \strong{WARNING: \code{gtk_style_set_font} is deprecated and should not be used in newly-written code.} } \usage{gtkStyleSetFont(object, font)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}.} \item{\verb{font}}{a \code{\link{GdkFont}}, or \code{NULL} to use the \code{\link{GdkFont}} corresponding to style->font_desc. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Glyph-Storage.Rd0000644000176000001440000002163112362217677016104 0ustar ripleyusers\alias{pango-Glyph-Storage} \alias{PangoRectangle} \alias{PangoMatrix} \alias{PangoGlyphInfo} \alias{PangoGlyphGeometry} \alias{PangoGlyphVisAttr} \alias{PangoGlyphString} \alias{PangoGlyphItem} \alias{PangoGlyphItemIter} \name{pango-Glyph-Storage} \title{Glyph Storage} \description{Structures for storing information about glyphs} \section{Methods and Functions}{ \code{\link{pangoUnitsToDouble}(i)}\cr \code{\link{pangoUnitsFromDouble}(d)}\cr \code{\link{pangoExtentsToPixels}(inclusive, nearest)}\cr \code{\link{pangoMatrixCopy}(object)}\cr \code{\link{pangoMatrixTranslate}(object, tx, ty)}\cr \code{\link{pangoMatrixScale}(object, scale.x, scale.y)}\cr \code{\link{pangoMatrixRotate}(object, degrees)}\cr \code{\link{pangoMatrixConcat}(object, new.matrix)}\cr \code{\link{pangoMatrixTransformPoint}(object, x, y)}\cr \code{\link{pangoMatrixTransformDistance}(object, dx, dy)}\cr \code{\link{pangoMatrixTransformRectangle}(object, rect)}\cr \code{\link{pangoMatrixTransformPixelRectangle}(object, rect)}\cr \code{\link{pangoMatrixGetFontScaleFactor}(object)}\cr \code{\link{pangoGlyphStringNew}()}\cr \code{\link{pangoGlyphStringCopy}(object)}\cr \code{\link{pangoGlyphStringSetSize}(object, new.len)}\cr \code{\link{pangoGlyphStringExtents}(object, font)}\cr \code{\link{pangoGlyphStringExtentsRange}(object, start, end, font)}\cr \code{\link{pangoGlyphStringGetWidth}(object)}\cr \code{\link{pangoGlyphStringIndexToX}(object, text, analysis, index, trailing)}\cr \code{\link{pangoGlyphStringXToIndex}(object, text, analysis, x.pos)}\cr \code{\link{pangoGlyphStringGetLogicalWidths}(object, text, embedding.level)}\cr \code{\link{pangoGlyphItemSplit}(orig, text, split.index)}\cr \code{\link{pangoGlyphItemApplyAttrs}(glyph.item, text, list)}\cr \code{\link{pangoGlyphItemLetterSpace}(glyph.item, text, log.attrs)}\cr \code{\link{pangoGlyphItemGetLogicalWidths}(glyph.item, text)}\cr \code{\link{pangoGlyphItemIterInitStart}(object, glyph.item, text)}\cr \code{\link{pangoGlyphItemIterInitEnd}(object, glyph.item, text)}\cr \code{\link{pangoGlyphItemIterNextCluster}(object)}\cr \code{\link{pangoGlyphItemIterPrevCluster}(object)}\cr } \section{Detailed Description}{\code{\link{pangoShape}} produces a string of glyphs which can be measured or drawn to the screen. The following structures are used to store information about glyphs.} \section{Structures}{\describe{ \item{\verb{PangoRectangle}}{ The \code{\link{PangoRectangle}} structure represents a rectangle. It is frequently used to represent the logical or ink extents of a single glyph or section of text. (See, for instance, \code{\link{pangoFontGetGlyphExtents}}) \strong{\verb{PangoRectangle} is a \link{transparent-type}.} \describe{ \item{\code{x}}{[integer] X coordinate of the left side of the rectangle.} \item{\code{y}}{[integer] Y coordinate of the the top side of the rectangle.} \item{\code{width}}{[integer] width of the rectangle.} \item{\code{height}}{[integer] height of the rectangle.} } } \item{\verb{PangoMatrix}}{ A structure specifying a transformation between user-space coordinates and device coordinates. The transformation is given by \preformatted{x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0; y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0; } Since 1.6 \describe{ \item{\code{xx}}{[numeric] 1st component of the transformation matrix} \item{\code{xy}}{[numeric] 2nd component of the transformation matrix} \item{\code{yx}}{[numeric] 3rd component of the transformation matrix} \item{\code{yy}}{[numeric] 4th component of the transformation matrix} \item{\code{x0}}{[numeric] x translation} \item{\code{y0}}{[numeric] y translation} } } \item{\verb{PangoGlyphInfo}}{ The \code{\link{PangoGlyphInfo}} structure represents a single glyph together with positioning information and visual attributes. It contains the following fields. \describe{ \item{\verb{glyph}}{[numeric] the glyph itself.} \item{\verb{geometry}}{[\code{\link{PangoGlyphGeometry}}] the positional information about the glyph.} \item{\verb{attr}}{[\code{\link{PangoGlyphVisAttr}}] the visual attributes of the glyph.} } } \item{\verb{PangoGlyphGeometry}}{ The \code{\link{PangoGlyphGeometry}} structure contains width and positioning information for a single glyph. \describe{ \item{\verb{width}}{[integer] the logical width to use for the the character.} \item{\verb{xOffset}}{[integer] horizontal offset from nominal character position.} \item{\verb{yOffset}}{[integer] vertical offset from nominal character position.} } } \item{\verb{PangoGlyphVisAttr}}{ The PangoGlyphVisAttr is used to communicate information between the shaping phase and the rendering phase. More attributes may be added in the future. \describe{\item{\verb{isClusterStart}}{[numeric] set for the first logical glyph in each cluster. (Clusters are stored in visual order, within the cluster, glyphs are always ordered in logical order, since visual order is meaningless; that is, in Arabic text, accent glyphs follow the glyphs for the base character.)}} } \item{\verb{PangoGlyphString}}{ The \code{\link{PangoGlyphString}} structure is used to store strings of glyphs with geometry and visual attribute information. The storage for the glyph information is owned by the structure which simplifies memory management. \describe{ \item{\verb{numGlyphs}}{[integer] the number of glyphs in the string.} \item{\verb{glyphs}}{[\code{\link{PangoGlyphInfo}}] a list of \code{\link{PangoGlyphInfo}} structures of length \code{num_glyphs}.} \item{\verb{logClusters}}{[integer] for each glyph, byte index of the starting character for the cluster. The indices are relative to the start of the text corresponding to the PangoGlyphString.} } } \item{\verb{PangoGlyphItem}}{ A \code{\link{PangoGlyphItem}} is a pair of a \code{\link{PangoItem}} and the glyphs resulting from shaping the text corresponding to an item. As an example of the usage of \code{\link{PangoGlyphItem}}, the results of shaping text with \code{\link{PangoLayout}} is a list of \code{\link{PangoLayoutLine}}, each of which contains a list of \code{\link{PangoGlyphItem}}. \describe{ \item{\verb{item}}{[\code{\link{PangoItem}}] a \code{\link{PangoItem}} structure that provides information about a segment of text.} \item{\verb{glyphs}}{[\code{\link{PangoGlyphString}}] the glyphs obtained by shaping the text corresponding to \code{item}.} } } \item{\verb{PangoGlyphItemIter}}{ A \code{\link{PangoGlyphItemIter}} is an iterator over the clusters in a \code{\link{PangoGlyphItem}}. The \dfn{forward direction} of the iterator is the logical direction of text. That is, with increasing \code{start.index} and \code{start.char} values. If \code{glyph.item} is right-to-left (that is, if \code{glyph_item->item->analysis.level} is odd), then \code{start.glyph} decreases as the iterator moves forward. Moreover, in right-to-left cases, \code{start.glyph} is greater than \code{end.glyph}. An iterator should be initialized using either of \code{\link{pangoGlyphItemIterInitStart}} and \code{\link{pangoGlyphItemIterInitEnd}}, for forward and backward iteration respectively, and walked over using any desired mixture of \code{\link{pangoGlyphItemIterNextCluster}} and \code{\link{pangoGlyphItemIterPrevCluster}}. A common idiom for doing a forward iteration over the clusters is: \preformatted{PangoGlyphItemIter cluster_iter; gboolean have_cluster; for (have_cluster = pango_glyph_item_iter_init_start (&cluster_iter, glyph_item, text); have_cluster; have_cluster = pango_glyph_item_iter_next_cluster (&cluster_iter)) { ... } } Note that \code{text} is the start of the text for layout, which is then indexed by \code{glyph_item->item->offset} to get to the text of \code{glyph.item}. The \code{start.index} and \code{end.index} values can directly index into \code{text}. The \code{start.glyph}, \code{end.glyph}, \code{start.char}, and \code{end.char} values however are zero-based for the \code{glyph.item}. For each cluster, the item pointed at by the start variables is included in the cluster while the one pointed at by end variables is not. None of the members of a \code{\link{PangoGlyphItemIter}} should be modified manually. Since 1.22 \describe{ \item{\code{glyph_item}}{[\code{\link{PangoGlyphItem}}] the \code{\link{PangoGlyphItem}} this iterator iterates over} \item{\code{text}}{[character] the UTF-8 text that \code{glyph.item} refers to} \item{\code{start_glyph}}{[integer] starting glyph of the cluster} \item{\code{start_index}}{[integer] starting text index of the cluster} \item{\code{start_char}}{[integer] starting number of characters of the cluster} \item{\code{end_glyph}}{[integer] ending glyph of the cluster} \item{\code{end_index}}{[integer] ending text index of the cluster} \item{\code{end_char}}{[integer] ending number of characters of the cluster} } } }} \references{\url{http://library.gnome.org/devel//pango/pango-Glyph-Storage.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveGetVector.Rd0000644000176000001440000000117012362217677015726 0ustar ripleyusers\alias{gtkCurveGetVector} \name{gtkCurveGetVector} \title{gtkCurveGetVector} \description{ Returns a vector of points representing the curve. \strong{WARNING: \code{gtk_curve_get_vector} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveGetVector(object, veclen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCurve}}.} \item{\verb{veclen}}{the number of points to calculate.} } \value{ A list containing the following elements: \item{\verb{vector}}{returns the points.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonSetInconsistent.Rd0000644000176000001440000000163112362217677020513 0ustar ripleyusers\alias{gtkToggleButtonSetInconsistent} \name{gtkToggleButtonSetInconsistent} \title{gtkToggleButtonSetInconsistent} \description{If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a toggle button, and the current values in that range are inconsistent, you may want to display the toggle in an "in between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user toggles the toggle button. This has to be done manually, \code{\link{gtkToggleButtonSetInconsistent}} only affects visual appearance, it doesn't affect the semantics of the button.} \usage{gtkToggleButtonSetInconsistent(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToggleButton}}} \item{\verb{setting}}{\code{TRUE} if state is inconsistent} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedAdd2.Rd0000644000176000001440000000063312362217677014544 0ustar ripleyusers\alias{gtkPanedAdd2} \name{gtkPanedAdd2} \title{gtkPanedAdd2} \description{Adds a child to the bottom or right pane with default parameters. This is equivalent to \code{gtk_paned_pack2 (paned, child, TRUE, TRUE)}.} \usage{gtkPanedAdd2(object, child)} \arguments{ \item{\verb{object}}{a paned widget} \item{\verb{child}}{the child to add} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbDitherable.Rd0000644000176000001440000000101612362217677015474 0ustar ripleyusers\alias{gdkRgbDitherable} \name{gdkRgbDitherable} \title{gdkRgbDitherable} \description{Determines whether the preferred visual is ditherable. This function may be useful for presenting a user interface choice to the user about which dither mode is desired; if the display is not ditherable, it may make sense to gray out or hide the corresponding UI widget.} \usage{gdkRgbDitherable()} \value{[logical] \code{TRUE} if the preferred visual is ditherable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddActionsFull.Rd0000644000176000001440000000107212362217677020027 0ustar ripleyusers\alias{gtkActionGroupAddActionsFull} \name{gtkActionGroupAddActionsFull} \title{gtkActionGroupAddActionsFull} \description{This variant of \code{\link{gtkActionGroupAddActions}} adds a \verb{GDestroyNotify} callback for \code{user.data}.} \usage{gtkActionGroupAddActionsFull(object, entries, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of action descriptions} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressSetShowText.Rd0000644000176000001440000000102112362217677017000 0ustar ripleyusers\alias{gtkProgressSetShowText} \name{gtkProgressSetShowText} \title{gtkProgressSetShowText} \description{ Controls whether progress text is shown. \strong{WARNING: \code{gtk_progress_set_show_text} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressSetShowText(object, show.text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{show.text}}{a boolean indicating whether the progress text is shown.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetIconSize.Rd0000644000176000001440000000073312362217677016531 0ustar ripleyusers\alias{gtkToolbarGetIconSize} \name{gtkToolbarGetIconSize} \title{gtkToolbarGetIconSize} \description{Retrieves the icon size for the toolbar. See \code{\link{gtkToolbarSetIconSize}}.} \usage{gtkToolbarGetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \value{[\code{\link{GtkIconSize}}] the current icon size for the icons on the toolbar. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameSetShadowType.Rd0000644000176000001440000000056612362217677016545 0ustar ripleyusers\alias{gtkFrameSetShadowType} \name{gtkFrameSetShadowType} \title{gtkFrameSetShadowType} \description{Sets the shadow type for \code{frame}.} \usage{gtkFrameSetShadowType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFrame}}} \item{\verb{type}}{the new \code{\link{GtkShadowType}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetClassListStyleProperties.Rd0000644000176000001440000000115712362217677021167 0ustar ripleyusers\alias{gtkWidgetClassListStyleProperties} \name{gtkWidgetClassListStyleProperties} \title{gtkWidgetClassListStyleProperties} \description{Returns all style properties of a widget class.} \usage{gtkWidgetClassListStyleProperties(klass)} \arguments{\item{\verb{klass}}{a \code{\link{GtkWidgetClass}}}} \details{Since 2.2} \value{ A list containing the following elements: \item{retval}{[\code{\link{GParamSpec}}] an newly allocated list of \code{\link{GParamSpec}}*.} \item{\verb{n.properties}}{location to return the number of style properties found} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkObjectSignalEmit.Rd0000644000176000001440000000241611766145227016204 0ustar ripleyusers\name{gtkObjectSignalEmit} \alias{gtkObjectSignalEmit} \title{Emit a Gtk signal from a Gtk object.} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This allows us to emit or raise a Gtk signal from a Gtk object directly from R. This should not be used widely. The conversion of the arguments to their C equivalents is complex. } \usage{ gtkObjectSignalEmit(obj, signal, ...) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{obj}{the GtkObject from which the event is to be emitted.} \item{signal}{the identifier of the signal/event, typically a string giving the name of the event.} \item{\dots}{the arguments that are passed in the signal emission to the callbacks/signal handlers.} } \details{ One should not rely on this, and fortunately one rarely needs to when developing regular GUIs in R. Typically, we only need this when we are developing Gtk classes. } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \seealso{ \code{\link{gtkObjectAddCallback}} } \keyword{programming} \keyword{interface} \keyword{internal} RGtk2/man/atkComponentRefAccessibleAtPoint.Rd0000644000176000001440000000145312362217677020671 0ustar ripleyusers\alias{atkComponentRefAccessibleAtPoint} \name{atkComponentRefAccessibleAtPoint} \title{atkComponentRefAccessibleAtPoint} \description{Gets a reference to the accessible child, if one exists, at the coordinate point specified by \code{x} and \code{y}.} \usage{atkComponentRefAccessibleAtPoint(object, x, y, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] the \code{\link{AtkComponent}}} \item{\verb{x}}{[integer] x coordinate} \item{\verb{y}}{[integer] y coordinate} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{[\code{\link{AtkObject}}] a reference to the accessible child, if one exists} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterHasTag.Rd0000644000176000001440000000066412362217677015666 0ustar ripleyusers\alias{gtkTextIterHasTag} \name{gtkTextIterHasTag} \title{gtkTextIterHasTag} \description{Returns \code{TRUE} if \code{iter} is within a range tagged with \code{tag}.} \usage{gtkTextIterHasTag(object, tag)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{tag}}{a \code{\link{GtkTextTag}}} } \value{[logical] whether \code{iter} is tagged with \code{tag}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoDup.Rd0000644000176000001440000000054612362217677014632 0ustar ripleyusers\alias{gFileInfoDup} \name{gFileInfoDup} \title{gFileInfoDup} \description{Duplicates a file info structure.} \usage{gFileInfoDup(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[\code{\link{GFileInfo}}] a duplicate \code{\link{GFileInfo}} of \code{other}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetWidthChars.Rd0000644000176000001440000000062712362217677016547 0ustar ripleyusers\alias{gtkEntryGetWidthChars} \name{gtkEntryGetWidthChars} \title{gtkEntryGetWidthChars} \description{Gets the value set by \code{\link{gtkEntrySetWidthChars}}.} \usage{gtkEntryGetWidthChars(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \value{[integer] number of chars to request space for, or negative if unset} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeRowReferenceCopy.Rd0000644000176000001440000000065212362217677017064 0ustar ripleyusers\alias{gtkTreeRowReferenceCopy} \name{gtkTreeRowReferenceCopy} \title{gtkTreeRowReferenceCopy} \description{Copies a \code{\link{GtkTreeRowReference}}.} \usage{gtkTreeRowReferenceCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeRowReference}}}} \details{Since 2.2} \value{[\code{\link{GtkTreeRowReference}}] a copy of \code{reference}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSizeRequest.Rd0000644000176000001440000000215312362217677016450 0ustar ripleyusers\alias{gtkWidgetSizeRequest} \name{gtkWidgetSizeRequest} \title{gtkWidgetSizeRequest} \description{This function is typically used when implementing a \code{\link{GtkContainer}} subclass. Obtains the preferred size of a widget. The container uses this information to arrange its child widgets and decide what size allocations to give them with \code{\link{gtkWidgetSizeAllocate}}.} \usage{gtkWidgetSizeRequest(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{You can also call this function from an application, with some caveats. Most notably, getting a size request requires the widget to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind. Also remember that the size request is not necessarily the size a widget will actually be allocated. See also \code{\link{gtkWidgetGetChildRequisition}}.} \value{ A list containing the following elements: \item{\verb{requisition}}{a \code{\link{GtkRequisition}} to be filled in. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMountEnclosingVolume.Rd0000644000176000001440000000243512362217677017421 0ustar ripleyusers\alias{gFileMountEnclosingVolume} \name{gFileMountEnclosingVolume} \title{gFileMountEnclosingVolume} \description{Starts a \code{mount.operation}, mounting the volume that contains the file \code{location}. } \usage{gFileMountEnclosingVolume(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{When this operation has completed, \code{callback} will be called with \code{user.user} data, and the operation can be finalized with \code{\link{gFileMountEnclosingVolumeFinish}}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetWidget.Rd0000644000176000001440000000113112362217677017544 0ustar ripleyusers\alias{gtkTreeViewColumnSetWidget} \name{gtkTreeViewColumnSetWidget} \title{gtkTreeViewColumnSetWidget} \description{Sets the widget in the header to be \code{widget}. If widget is \code{NULL}, then the header button is set with a \code{\link{GtkLabel}} set to the title of \code{tree.column}.} \usage{gtkTreeViewColumnSetWidget(object, widget = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{widget}}{A child \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoErrorFromErrno.Rd0000644000176000001440000000064712362217677015703 0ustar ripleyusers\alias{gIoErrorFromErrno} \name{gIoErrorFromErrno} \title{gIoErrorFromErrno} \description{Converts errno.h error codes into GIO error codes.} \usage{gIoErrorFromErrno(err.no)} \arguments{\item{\verb{err.no}}{Error number as defined in errno.h.}} \value{[\code{\link{GIOErrorEnum}}] \code{\link{GIOErrorEnum}} value for the given errno.h error number.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferGetText.Rd0000644000176000001440000000116412362217677016562 0ustar ripleyusers\alias{gtkEntryBufferGetText} \name{gtkEntryBufferGetText} \title{gtkEntryBufferGetText} \description{Retrieves the contents of the buffer.} \usage{gtkEntryBufferGetText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryBuffer}}}} \details{The memory pointer returned by this call will not change unless this object emits a signal, or is finalized. Since 2.18} \value{[character] a pointer to the contents of the widget as a string. This string points to internally allocated storage in the buffer and must not be freed, modified or stored.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerAcceptFinish.Rd0000644000176000001440000000162212362217677017701 0ustar ripleyusers\alias{gSocketListenerAcceptFinish} \name{gSocketListenerAcceptFinish} \title{gSocketListenerAcceptFinish} \description{Finishes an async accept operation. See \code{\link{gSocketListenerAcceptAsync}}} \usage{gSocketListenerAcceptFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{source.object}}{Optional \code{\link{GObject}} identifying this source} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantGetPageSideImage.Rd0000644000176000001440000000103212362217677017772 0ustar ripleyusers\alias{gtkAssistantGetPageSideImage} \name{gtkAssistantGetPageSideImage} \title{gtkAssistantGetPageSideImage} \description{Gets the header image for \code{page}.} \usage{gtkAssistantGetPageSideImage(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} } \details{Since 2.10} \value{[\code{\link{GdkPixbuf}}] the side image for \code{page}, or \code{NULL} if there's no side image for the page.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGlyphPath.Rd0000644000176000001440000000074612362217677015237 0ustar ripleyusers\alias{cairoGlyphPath} \name{cairoGlyphPath} \title{cairoGlyphPath} \description{Adds closed paths for the glyphs to the current path. The generated path if filled, achieves an effect similar to that of \code{\link{cairoShowGlyphs}}.} \usage{cairoGlyphPath(cr, glyphs)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] list of glyphs to show} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSelectDay.Rd0000644000176000001440000000063512362217677016333 0ustar ripleyusers\alias{gtkCalendarSelectDay} \name{gtkCalendarSelectDay} \title{gtkCalendarSelectDay} \description{Selects a day from the current month.} \usage{gtkCalendarSelectDay(object, day)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{day}}{the day number between 1 and 31, or 0 to unselect the currently selected day.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetPixelsAboveLines.Rd0000644000176000001440000000065512362217677020402 0ustar ripleyusers\alias{gtkTextViewGetPixelsAboveLines} \name{gtkTextViewGetPixelsAboveLines} \title{gtkTextViewGetPixelsAboveLines} \description{Gets the default number of pixels to put above paragraphs.} \usage{gtkTextViewGetPixelsAboveLines(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] default number of pixels above paragraphs} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutLineGetXRanges.Rd0000644000176000001440000000311212362217677017351 0ustar ripleyusers\alias{pangoLayoutLineGetXRanges} \name{pangoLayoutLineGetXRanges} \title{pangoLayoutLineGetXRanges} \description{Gets a list of visual ranges corresponding to a given logical range. This list is not necessarily minimal - there may be consecutive ranges which are adjacent. The ranges will be sorted from left to right. The ranges are with respect to the left edge of the entire layout, not with respect to the line.} \usage{pangoLayoutLineGetXRanges(object, start.index, end.index)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} \item{\verb{start.index}}{[integer] Start byte index of the logical range. If this value is less than the start index for the line, then the first range will extend all the way to the leading edge of the layout. Otherwise it will start at the leading edge of the first character.} \item{\verb{end.index}}{[integer] Ending byte index of the logical range. If this value is greater than the end index for the line, then the last range will extend all the way to the trailing edge of the layout. Otherwise, it will end at the trailing edge of the last character.} } \value{ A list containing the following elements: \item{\verb{ranges}}{[integer] out): (array length=n_ranges): (transfer=full. \acronym{out): (array length=n_ranges):} (transfer=full. } \item{\verb{n.ranges}}{[integer] The number of ranges stored in \code{ranges}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetFromError.Rd0000644000176000001440000000071212362217677020421 0ustar ripleyusers\alias{gSimpleAsyncResultSetFromError} \name{gSimpleAsyncResultSetFromError} \title{gSimpleAsyncResultSetFromError} \description{Sets the result from a \code{\link{GError}}.} \usage{gSimpleAsyncResultSetFromError(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \value{ A list containing the following elements: \item{\verb{error}}{\code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Images.Rd0000644000176000001440000000635512362217677014273 0ustar ripleyusers\alias{gdk-Images} \alias{GdkImage} \alias{gdkImage} \alias{GdkImageType} \name{gdk-Images} \title{Images} \description{A client-side area for bit-mapped graphics} \section{Methods and Functions}{ \code{\link{gdkImageNew}(type, visual, width, height)}\cr \code{\link{gdkImageGet}(object, x, y, width, height)}\cr \code{\link{gdkImageGetColormap}(object)}\cr \code{\link{gdkImageSetColormap}(object, colormap)}\cr \code{\link{gdkImagePutPixel}(object, x, y, pixel)}\cr \code{\link{gdkImageGetPixel}(object, x, y)}\cr \code{gdkImage(type, visual, width, height)} } \section{Detailed Description}{The \code{\link{GdkImage}} type represents an area for drawing graphics. It has now been superceded to a large extent by the much more flexible GdkRGB functions. To create an empty \code{\link{GdkImage}} use \code{\link{gdkImageNew}}. To create a \code{\link{GdkImage}} from bitmap data use \code{gdkImageNewBitmap()}. To create an image from part of a \code{\link{GdkWindow}} use \code{\link{gdkDrawableGetImage}}. The image can be manipulated with \code{\link{gdkImageGetPixel}} and \code{\link{gdkImagePutPixel}}, or alternatively by changing the actual pixel data. Though manipulating the pixel data requires complicated code to cope with the different formats that may be used. To draw a \code{\link{GdkImage}} in a \code{\link{GdkWindow}} or \code{\link{GdkPixmap}} use \code{\link{gdkDrawImage}}. To destroy a \code{\link{GdkImage}} use \code{gdkImageDestroy()}.} \section{Structures}{\describe{\item{\verb{GdkImage}}{ The \code{\link{GdkImage}} struct contains information on the image and the pixel data. \describe{ \item{\verb{type}}{[\code{\link{GdkImageType}}] the parent instance} \item{\verb{visual}}{[\code{\link{GdkVisual}}] the type of the image.} \item{\verb{byteOrder}}{[\code{\link{GdkByteOrder}}] the visual.} \item{\verb{width}}{[integer] the byte order.} \item{\verb{height}}{[integer] the width of the image in pixels.} \item{\verb{depth}}{[integer] the height of the image in pixels.} \item{\verb{bpp}}{[integer] the depth of the image, i.e. the number of bits per pixel.} \item{\verb{bpl}}{[integer] the number of bytes per pixel.} \item{\verb{bitsPerPixel}}{[integer] the number of bytes per line of the image.} \item{\verb{mem}}{[raw] the number of bits per pixel.} \item{\verb{colormap}}{[\code{\link{GdkColormap}}] the pixel data.} } }}} \section{Convenient Construction}{\code{gdkImage} is the equivalent of \code{\link{gdkImageNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GdkImageType}}{ Specifies the type of a \code{\link{GdkImage}}. \describe{ \item{\verb{normal}}{The original X image type, which is quite slow since the image has to be transferred from the client to the server to display it.} \item{\verb{shared}}{A faster image type, which uses shared memory to transfer the image data between client and server. However this will only be available if client and server are on the same machine and the shared memory extension is supported by the server.} \item{\verb{fastest}}{Specifies that \code{GDK_IMAGE_SHARED} should be tried first, and if that fails then \code{GDK_IMAGE_NORMAL} will be used.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Images.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileIcon.Rd0000644000176000001440000000206712362217677014116 0ustar ripleyusers\alias{GFileIcon} \alias{gFileIcon} \name{GFileIcon} \title{GFileIcon} \description{Icons pointing to an image file} \section{Methods and Functions}{ \code{\link{gFileIconNew}(file)}\cr \code{\link{gFileIconGetFile}(object)}\cr \code{gFileIcon(file)} } \section{Hierarchy}{\preformatted{GObject +----GFileIcon}} \section{Interfaces}{GFileIcon implements \code{\link{GIcon}} and \code{\link{GLoadableIcon}}.} \section{Detailed Description}{\code{\link{GFileIcon}} specifies an icon by pointing to an image file to be used as icon.} \section{Structures}{\describe{\item{\verb{GFileIcon}}{ Gets an icon for a \code{\link{GFile}}. Implements \code{\link{GLoadableIcon}}. }}} \section{Convenient Construction}{\code{gFileIcon} is the equivalent of \code{\link{gFileIconNew}}.} \section{Properties}{\describe{\item{\verb{file} [\code{\link{GFile}} : * : Read / Write / Construct Only]}{ The file containing the icon. }}} \references{\url{http://library.gnome.org/devel//gio/GFileIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableReleaseFd.Rd0000644000176000001440000000150112362217677016416 0ustar ripleyusers\alias{gCancellableReleaseFd} \name{gCancellableReleaseFd} \title{gCancellableReleaseFd} \description{Releases a resources previously allocated by \code{\link{gCancellableGetFd}} or \code{gCancellableMakePollfd()}.} \usage{gCancellableReleaseFd(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}}}} \details{For compatibility reasons with older releases, calling this function is not strictly required, the resources will be automatically freed when the \code{cancellable} is finalized. However, the \code{cancellable} will block scarce file descriptors until it is finalized if this function is not called. This can cause the application to run out of file descriptors when many \verb{GCancellables} are used at the same time. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetWindowAtPointer.Rd0000644000176000001440000000216512362217677020067 0ustar ripleyusers\alias{gdkDisplayGetWindowAtPointer} \name{gdkDisplayGetWindowAtPointer} \title{gdkDisplayGetWindowAtPointer} \description{Obtains the window underneath the mouse pointer, returning the location of the pointer in that window in \code{win.x}, \code{win.y} for \code{screen}. Returns \code{NULL} if the window under the mouse pointer is not known to GDK (for example, belongs to another application).} \usage{gdkDisplayGetWindowAtPointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkWindow}}] the window under the mouse pointer, or \code{NULL}. \emph{[ \acronym{transfer none} ]}} \item{\verb{win.x}}{return location for x coordinate of the pointer location relative to the window origin, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{win.y}}{return location for y coordinate of the pointer location relative & to the window origin, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetTooltipText.Rd0000644000176000001440000000074412362217677017455 0ustar ripleyusers\alias{gtkToolItemSetTooltipText} \name{gtkToolItemSetTooltipText} \title{gtkToolItemSetTooltipText} \description{Sets the text to be displayed as tooltip on the item. See \code{\link{gtkWidgetSetTooltipText}}.} \usage{gtkToolItemSetTooltipText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{text}}{text to be used as tooltip for \code{tool.item}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActivatableSyncActionProperties.Rd0000644000176000001440000000125712362217677021314 0ustar ripleyusers\alias{gtkActivatableSyncActionProperties} \name{gtkActivatableSyncActionProperties} \title{gtkActivatableSyncActionProperties} \description{This is called to update the activatable completely, this is called internally when the \verb{"related-action"} property is set or unset and by the implementing class when \verb{"use-action-appearance"} changes.} \usage{gtkActivatableSyncActionProperties(object, action = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActivatable}}} \item{\verb{action}}{the related \code{\link{GtkAction}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRegisterDnd.Rd0000644000176000001440000000050112362217677016376 0ustar ripleyusers\alias{gdkWindowRegisterDnd} \name{gdkWindowRegisterDnd} \title{gdkWindowRegisterDnd} \description{Registers a window as a potential drop destination.} \usage{gdkWindowRegisterDnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetDirection.Rd0000644000176000001440000000201112362217677016552 0ustar ripleyusers\alias{gtkWidgetSetDirection} \name{gtkWidgetSetDirection} \title{gtkWidgetSetDirection} \description{Sets the reading direction on a particular widget. This direction controls the primary direction for widgets containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitely visual rather than logical (such as buttons for text justification).} \usage{gtkWidgetSetDirection(object, dir)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{dir}}{the new direction} } \details{If the direction is set to \code{GTK_TEXT_DIR_NONE}, then the value set by \code{\link{gtkWidgetSetDefaultDirection}} will be used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleNew.Rd0000644000176000001440000000133612362217677017205 0ustar ripleyusers\alias{gtkCellRendererToggleNew} \name{gtkCellRendererToggleNew} \title{gtkCellRendererToggleNew} \description{Creates a new \code{\link{GtkCellRendererToggle}}. Adjust rendering parameters using object properties. Object properties can be set globally (with \code{\link{gObjectSet}}). Also, with \code{\link{GtkTreeViewColumn}}, you can bind a property to a value in a \code{\link{GtkTreeModel}}. For example, you can bind the "active" property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the state of the model.} \usage{gtkCellRendererToggleNew()} \value{[\code{\link{GtkCellRenderer}}] the new cell renderer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetPassword.Rd0000644000176000001440000000063012362217677017642 0ustar ripleyusers\alias{gMountOperationSetPassword} \name{gMountOperationSetPassword} \title{gMountOperationSetPassword} \description{Sets the mount operation's password to \code{password}.} \usage{gMountOperationSetPassword(object, password)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{password}}{password to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapLockPath.Rd0000644000176000001440000000212212362217677016110 0ustar ripleyusers\alias{gtkAccelMapLockPath} \name{gtkAccelMapLockPath} \title{gtkAccelMapLockPath} \description{Locks the given accelerator path. If the accelerator map doesn't yet contain an entry for \code{accel.path}, a new one is created.} \usage{gtkAccelMapLockPath(accel.path)} \arguments{\item{\verb{accel.path}}{a valid accelerator path}} \details{Locking an accelerator path prevents its accelerator from being changed during runtime. A locked accelerator path can be unlocked by \code{\link{gtkAccelMapUnlockPath}}. Refer to \code{\link{gtkAccelMapChangeEntry}} for information about runtime accelerator changes. If called more than once, \code{accel.path} remains locked until \code{\link{gtkAccelMapUnlockPath}} has been called an equivalent number of times. Note that locking of individual accelerator paths is independent from locking the \code{\link{GtkAccelGroup}} containing them. For runtime accelerator changes to be possible both the accelerator path and its \code{\link{GtkAccelGroup}} have to be unlocked. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetSpacing.Rd0000644000176000001440000000063312362217677016535 0ustar ripleyusers\alias{gtkExpanderGetSpacing} \name{gtkExpanderGetSpacing} \title{gtkExpanderGetSpacing} \description{Gets the value set by \code{\link{gtkExpanderSetSpacing}}.} \usage{gtkExpanderGetSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{Since 2.4} \value{[integer] spacing between the expander and child.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFontSelection.Rd0000644000176000001440000000547412362217677015546 0ustar ripleyusers\alias{GtkFontSelection} \alias{gtkFontSelection} \name{GtkFontSelection} \title{GtkFontSelection} \description{A widget for selecting fonts} \section{Methods and Functions}{ \code{\link{gtkFontSelectionNew}(show = TRUE)}\cr \code{\link{gtkFontSelectionGetFont}(object)}\cr \code{\link{gtkFontSelectionGetFontName}(object)}\cr \code{\link{gtkFontSelectionSetFontName}(object, fontname)}\cr \code{\link{gtkFontSelectionGetPreviewText}(object)}\cr \code{\link{gtkFontSelectionSetPreviewText}(object, text)}\cr \code{\link{gtkFontSelectionGetFace}(object)}\cr \code{\link{gtkFontSelectionGetFaceList}(object)}\cr \code{\link{gtkFontSelectionGetFamily}(object)}\cr \code{\link{gtkFontSelectionGetSize}(object)}\cr \code{\link{gtkFontSelectionGetFamilyList}(object)}\cr \code{\link{gtkFontSelectionGetPreviewEntry}(object)}\cr \code{\link{gtkFontSelectionGetSizeEntry}(object)}\cr \code{\link{gtkFontSelectionGetSizeList}(object)}\cr \code{gtkFontSelection(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkFontSelection}} \section{Interfaces}{GtkFontSelection implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkFontSelection}} widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the \code{\link{GtkFontSelectionDialog}} widget to provide a dialog box for selecting fonts. To set the font which is initially selected, use \code{\link{gtkFontSelectionSetFontName}}. To get the selected font use \code{\link{gtkFontSelectionGetFontName}}. To change the text which is shown in the preview area, use \code{\link{gtkFontSelectionSetPreviewText}}.} \section{Structures}{\describe{\item{\verb{GtkFontSelection}}{ The \code{\link{GtkFontSelection}} struct contains private data only, and should only be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkFontSelection} is the equivalent of \code{\link{gtkFontSelectionNew}}.} \section{Properties}{\describe{ \item{\verb{font} [\code{\link{GdkFont}} : * : Read]}{ The GdkFont that is currently selected. } \item{\verb{font-name} [character : * : Read / Write]}{ The string that represents this font. Default value: "Sans 10" } \item{\verb{preview-text} [character : * : Read / Write]}{ The text to display in order to demonstrate the selected font. Default value: "abcdefghijk ABCDEFGHIJK" } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFontSelection.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetPixbuf.Rd0000644000176000001440000000112012362217677017347 0ustar ripleyusers\alias{gtkSelectionDataGetPixbuf} \name{gtkSelectionDataGetPixbuf} \title{gtkSelectionDataGetPixbuf} \description{Gets the contents of the selection data as a \code{\link{GdkPixbuf}}.} \usage{gtkSelectionDataGetPixbuf(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}}}} \details{Since 2.6} \value{[\code{\link{GdkPixbuf}}] if the selection data contained a recognized image type and it could be converted to a \code{\link{GdkPixbuf}}, a newly allocated pixbuf is returned, otherwise \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeGetDescription.Rd0000644000176000001440000000063212362217677017602 0ustar ripleyusers\alias{gContentTypeGetDescription} \name{gContentTypeGetDescription} \title{gContentTypeGetDescription} \description{Gets the human readable description of the content type.} \usage{gContentTypeGetDescription(type)} \arguments{\item{\verb{type}}{a content type string.}} \value{[char] a short description of the content type \code{type}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupLoadKeyFile.Rd0000644000176000001440000000165312362217677016773 0ustar ripleyusers\alias{gtkPageSetupLoadKeyFile} \name{gtkPageSetupLoadKeyFile} \title{gtkPageSetupLoadKeyFile} \description{Reads the page setup from the group \code{group.name} in the key file \code{key.file}.} \usage{gtkPageSetupLoadKeyFile(object, key.file, group.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{key.file}}{the \verb{GKeyFile} to retrieve the page_setup from} \item{\verb{group.name}}{the name of the group in the key_file to read, or \code{NULL} to use the default name "Page Setup". \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoCanDelete.Rd0000644000176000001440000000070012362217677015557 0ustar ripleyusers\alias{gAppInfoCanDelete} \name{gAppInfoCanDelete} \title{gAppInfoCanDelete} \description{Obtains the information whether the \code{\link{GAppInfo}} can be deleted. See \code{\link{gAppInfoDelete}}.} \usage{gAppInfoCanDelete(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}}} \details{Since 2.20} \value{[logical] \code{TRUE} if \code{appinfo} can be deleted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetResolutionY.Rd0000644000176000001440000000067312362217677020520 0ustar ripleyusers\alias{gtkPrintSettingsGetResolutionY} \name{gtkPrintSettingsGetResolutionY} \title{gtkPrintSettingsGetResolutionY} \description{Gets the value of \code{GTK_PRINT_SETTINGS_RESOLUTION_Y}.} \usage{gtkPrintSettingsGetResolutionY(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.16} \value{[integer] the vertical resolution in dpi} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetSpacing.Rd0000644000176000001440000000057512362217677016517 0ustar ripleyusers\alias{gtkIconViewGetSpacing} \name{gtkIconViewGetSpacing} \title{gtkIconViewGetSpacing} \description{Returns the value of the ::spacing property.} \usage{gtkIconViewGetSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the space between cells} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketService.Rd0000644000176000001440000000560512362217677015200 0ustar ripleyusers\alias{GSocketService} \alias{gSocketService} \name{GSocketService} \title{GSocketService} \description{Make it easy to implement a network service} \section{Methods and Functions}{ \code{\link{gSocketServiceNew}()}\cr \code{\link{gSocketServiceStart}(object)}\cr \code{\link{gSocketServiceStop}(object)}\cr \code{\link{gSocketServiceIsActive}(object)}\cr \code{gSocketService()} } \section{Hierarchy}{\preformatted{GObject +----GSocketListener +----GSocketService +----GThreadedSocketService}} \section{Detailed Description}{A \code{\link{GSocketService}} is an object that represents a service that is provided to the network or over local sockets. When a new connection is made to the service the \verb{"incoming"} signal is emitted. A \code{\link{GSocketService}} is a subclass of \code{\link{GSocketListener}} and you need to add the addresses you want to accept connections on to the with the \code{\link{GSocketListener}} APIs. There are two options for implementing a network service based on \code{\link{GSocketService}}. The first is to create the service using \code{\link{gSocketServiceNew}} and to connect to the \verb{"incoming"} signal. The second is to subclass \code{\link{GSocketService}} and override the default signal handler implementation. In either case, the handler must immediately return, or else it will block additional incoming connections from being serviced. If you are interested in writing connection handlers that contain blocking code then see \code{\link{GThreadedSocketService}}. The socket service runs on the main loop in the main thread, and is not threadsafe in general. However, the calls to start and stop the service are threadsafe so these can be used from threads that handle incoming clients.} \section{Structures}{\describe{\item{\verb{GSocketService}}{ A helper class for handling accepting incomming connections in the glib mainloop. Since 2.22 }}} \section{Convenient Construction}{\code{gSocketService} is the equivalent of \code{\link{gSocketServiceNew}}.} \section{Signals}{\describe{\item{\code{incoming(service, connection, source.object, user.data)}}{ The ::incoming signal is emitted when a new incoming connection to \code{service} needs to be handled. The handler must initiate the handling of \code{connection}, but may not block; in essence, asynchronous operations must be used. Since 2.22 \describe{ \item{\code{service}}{the \code{\link{GSocketService}}.} \item{\code{connection}}{a new \code{\link{GSocketConnection}} object.} \item{\code{source.object}}{the source_object passed to \code{\link{gSocketListenerAddAddress}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being called }}} \references{\url{http://library.gnome.org/devel//gio/GSocketService.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorValid.Rd0000644000176000001440000000121012362217677016216 0ustar ripleyusers\alias{gtkAcceleratorValid} \name{gtkAcceleratorValid} \title{gtkAcceleratorValid} \description{Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, the \verb{GDK_a} keyval plus \verb{GDK_CONTROL_MASK} is valid - this is a "Ctrl+a" accelerator. But, you can't, for instance, use the \verb{GDK_Control_L} keyval as an accelerator.} \usage{gtkAcceleratorValid(keyval, modifiers)} \arguments{ \item{\verb{keyval}}{a GDK keyval} \item{\verb{modifiers}}{modifier mask} } \value{[logical] \code{TRUE} if the accelerator is valid} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetCreateFolders.Rd0000644000176000001440000000100712362217677020323 0ustar ripleyusers\alias{gtkFileChooserGetCreateFolders} \name{gtkFileChooserGetCreateFolders} \title{gtkFileChooserGetCreateFolders} \description{Gets whether file choser will offer to create new folders. See \code{\link{gtkFileChooserSetCreateFolders}}.} \usage{gtkFileChooserGetCreateFolders(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the New Folder button should be displayed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetUnmap.Rd0000644000176000001440000000054612362217677015251 0ustar ripleyusers\alias{gtkWidgetUnmap} \name{gtkWidgetUnmap} \title{gtkWidgetUnmap} \description{This function is only for use in widget implementations. Causes a widget to be unmapped if it's currently mapped.} \usage{gtkWidgetUnmap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHRuler.Rd0000644000176000001440000000335512362217677014167 0ustar ripleyusers\alias{GtkHRuler} \alias{gtkHRuler} \name{GtkHRuler} \title{GtkHRuler} \description{A horizontal ruler} \section{Methods and Functions}{ \code{\link{gtkHRulerNew}(show = TRUE)}\cr \code{gtkHRuler(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRuler +----GtkHRuler}} \section{Interfaces}{GtkHRuler implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\strong{PLEASE NOTE:} This widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. The HRuler widget is a widget arranged horizontally creating a ruler that is utilized around other widgets such as a text widget. The ruler is used to show the location of the mouse on the window and to show the size of the window in specified units. The available units of measurement are GTK_PIXELS, GTK_INCHES and GTK_CENTIMETERS. GTK_PIXELS is the default. rulers.} \section{Structures}{\describe{\item{\verb{GtkHRuler}}{ The \code{\link{GtkHRuler}} struct contains private data and should be accessed with the functions below. }}} \section{Convenient Construction}{\code{gtkHRuler} is the equivalent of \code{\link{gtkHRulerNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkHRuler.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetFocusOnClick.Rd0000644000176000001440000000100112362217677017166 0ustar ripleyusers\alias{gtkButtonGetFocusOnClick} \name{gtkButtonGetFocusOnClick} \title{gtkButtonGetFocusOnClick} \description{Returns whether the button grabs focus when it is clicked with the mouse. See \code{\link{gtkButtonSetFocusOnClick}}.} \usage{gtkButtonGetFocusOnClick(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the button grabs focus when it is clicked with the mouse.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetGroup.Rd0000644000176000001440000000126212362217677016272 0ustar ripleyusers\alias{gtkNotebookSetGroup} \name{gtkNotebookSetGroup} \title{gtkNotebookSetGroup} \description{Sets a group identificator pointer for \code{notebook}, notebooks sharing the same group identificator pointer will be able to exchange tabs via drag and drop. A notebook with a \code{NULL} group identificator will not be able to exchange tabs with any other notebook.} \usage{gtkNotebookSetGroup(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{group}}{a pointer to identify the notebook group, or \code{NULL} to unset it. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonGetWidthChars.Rd0000644000176000001440000000101012362217677021027 0ustar ripleyusers\alias{gtkFileChooserButtonGetWidthChars} \name{gtkFileChooserButtonGetWidthChars} \title{gtkFileChooserButtonGetWidthChars} \description{Retrieves the width in characters of the \code{button} widget's entry and/or label.} \usage{gtkFileChooserButtonGetWidthChars(object)} \arguments{\item{\verb{object}}{the button widget to examine.}} \details{Since 2.6} \value{[integer] an integer width (in characters) that the button will use to size itself.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoResetClip.Rd0000644000176000001440000000157712362217677015234 0ustar ripleyusers\alias{cairoResetClip} \name{cairoResetClip} \title{cairoResetClip} \description{Reset the current clip region to its original, unrestricted state. That is, set the clip region to an infinitely large shape containing the target surface. Equivalently, if infinity is too hard to grasp, one can imagine the clip region being reset to the exact bounds of the target surface.} \usage{cairoResetClip(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Note that code meant to be reusable should not call \code{\link{cairoResetClip}} as it will cause results unexpected by higher-level code which calls \code{\link{cairoClip}}. Consider using \code{\link{cairoSave}} and \code{\link{cairoRestore}} around \code{\link{cairoClip}} as a more robust means of temporarily restricting the clip region. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetIconList.Rd0000644000176000001440000000312412362217677016410 0ustar ripleyusers\alias{gtkWindowSetIconList} \name{gtkWindowSetIconList} \title{gtkWindowSetIconList} \description{Sets up the icon representing a \code{\link{GtkWindow}}. The icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.} \usage{gtkWindowSetIconList(object, list)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{list}}{list of \code{\link{GdkPixbuf}}. \emph{[ \acronym{element-type} GdkPixbuf][ \acronym{transfer container} ]}} } \details{\code{\link{gtkWindowSetIconList}} allows you to pass in the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK+. Scaling is postponed until the last minute, when the desired final size is known, to allow best quality. By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling. Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them. See also \code{\link{gtkWindowSetDefaultIconList}} to set the icon for all windows in your application in one go. Note that transient windows (those who have been set transient for another window using \code{\link{gtkWindowSetTransientFor}}) will inherit their icon from their transient parent. So there's no need to explicitly set the icon on transient windows.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGetVolumeForUuid.Rd0000644000176000001440000000104612362217677020427 0ustar ripleyusers\alias{gVolumeMonitorGetVolumeForUuid} \name{gVolumeMonitorGetVolumeForUuid} \title{gVolumeMonitorGetVolumeForUuid} \description{Finds a \code{\link{GVolume}} object by its UUID (see \code{\link{gVolumeGetUuid}})} \usage{gVolumeMonitorGetVolumeForUuid(object, uuid)} \arguments{ \item{\verb{object}}{a \code{\link{GVolumeMonitor}}.} \item{\verb{uuid}}{the UUID to look for} } \value{[\code{\link{GVolume}}] a \code{\link{GVolume}} or \code{NULL} if no such volume is available.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsert.Rd0000644000176000001440000000113312362217677015605 0ustar ripleyusers\alias{gtkToolbarInsert} \name{gtkToolbarInsert} \title{gtkToolbarInsert} \description{Insert a \code{\link{GtkToolItem}} into the toolbar at position \code{pos}. If \code{pos} is 0 the item is prepended to the start of the toolbar. If \code{pos} is negative, the item is appended to the end of the toolbar.} \usage{gtkToolbarInsert(object, item, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{item}}{a \code{\link{GtkToolItem}}} \item{\verb{pos}}{the position of the new item} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueDrawArea.Rd0000644000176000001440000000306612362217677016664 0ustar ripleyusers\alias{gtkWidgetQueueDrawArea} \name{gtkWidgetQueueDrawArea} \title{gtkWidgetQueueDrawArea} \description{Invalidates the rectangular area of \code{widget} defined by \code{x}, \code{y}, \code{width} and \code{height} by calling \code{\link{gdkWindowInvalidateRect}} on the widget's window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive expose events for the union of all regions that have been invalidated.} \usage{gtkWidgetQueueDrawArea(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{x}}{x coordinate of upper-left corner of rectangle to redraw} \item{\verb{y}}{y coordinate of upper-left corner of rectangle to redraw} \item{\verb{width}}{width of region to draw} \item{\verb{height}}{height of region to draw} } \details{Normally you would only use this function in widget implementations. You might also use it, or \code{\link{gdkWindowInvalidateRect}} directly, to schedule a redraw of a \code{\link{GtkDrawingArea}} or some portion thereof. Frequently you can just call \code{\link{gdkWindowInvalidateRect}} or \code{\link{gdkWindowInvalidateRegion}} instead of this function. Those functions will invalidate only a single window, instead of the widget and all its children. The advantage of adding to the invalidated region compared to simply drawing immediately is efficiency; using an invalid region ensures that you only have to redraw one time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoScaledFontSetUserData.Rd0000644000176000001440000000161712362217677017464 0ustar ripleyusers\alias{cairoScaledFontSetUserData} \name{cairoScaledFontSetUserData} \title{cairoScaledFontSetUserData} \description{Attach user data to \code{scaled.font}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoScaledFontSetUserData(scaled.font, key, user.data)} \arguments{ \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the a \code{\link{CairoUserDataKey}} to attach the user data to} \item{\verb{user.data}}{[R object] the user data to attach to the \code{\link{CairoScaledFont}}} } \details{ Since 1.4} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY} if a slot could not be allocated for the user data.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestContents.Rd0000644000176000001440000000150612362217677020010 0ustar ripleyusers\alias{gtkClipboardRequestContents} \name{gtkClipboardRequestContents} \title{gtkClipboardRequestContents} \description{Requests the contents of clipboard as the given target. When the results of the result are later received the supplied callback will be called.} \usage{gtkClipboardRequestContents(object, target, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{target}}{an atom representing the form into which the clipboard owner should convert the selection.} \item{\verb{callback}}{A function to call when the results are received (or the retrieval fails). If the retrieval fails the length field of \code{selection.data} will be negative.} \item{\verb{user.data}}{user data to pass to \code{callback}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowIsActive.Rd0000644000176000001440000000144112362217677015717 0ustar ripleyusers\alias{gtkWindowIsActive} \name{gtkWindowIsActive} \title{gtkWindowIsActive} \description{Returns whether the window is part of the current active toplevel. (That is, the toplevel window receiving keystrokes.) The return value is \code{TRUE} if the window is active toplevel itself, but also if it is, say, a \code{\link{GtkPlug}} embedded in the active toplevel. You might use this function if you wanted to draw a widget differently in an active window from a widget in an inactive window. See \code{\link{gtkWindowHasToplevelFocus}}} \usage{gtkWindowIsActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the window part of the current active window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererProgress.Rd0000644000176000001440000000574712362217677017070 0ustar ripleyusers\alias{GtkCellRendererProgress} \alias{gtkCellRendererProgress} \name{GtkCellRendererProgress} \title{GtkCellRendererProgress} \description{Renders numbers as progress bars} \section{Methods and Functions}{ \code{\link{gtkCellRendererProgressNew}()}\cr \code{gtkCellRendererProgress()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererProgress}} \section{Detailed Description}{\code{\link{GtkCellRendererProgress}} renders a numeric value as a progress par in a cell. Additionally, it can display a text on top of the progress bar. The \code{\link{GtkCellRendererProgress}} cell renderer was added in GTK+ 2.6.} \section{Structures}{\describe{\item{\verb{GtkCellRendererProgress}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererProgress} is the equivalent of \code{\link{gtkCellRendererProgressNew}}.} \section{Properties}{\describe{ \item{\verb{orientation} [\code{\link{GtkProgressBarOrientation}} : Read / Write]}{ The "orientation" property controls the direction and growth direction of the progress bar (left-to-right, right-to-left, top-to-bottom or bottom-to-top). Default value: GTK_PROGRESS_LEFT_TO_RIGHT Since 2.12 } \item{\verb{pulse} [integer : Read / Write]}{ Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress is made, without specifying exactly how much. Each increment of the property causes the block to move by a little bit. To indicate that the activity has not started yet, set the property to zero. To indicate completion, set the property to \code{G_MAXINT}. Allowed values: >= -1 Default value: -1 Since 2.12 } \item{\verb{text} [character : * : Read / Write]}{ The "text" property determines the label which will be drawn over the progress bar. Setting this property to \code{NULL} causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed. Default value: NULL Since 2.6 } \item{\verb{text-xalign} [numeric : Read / Write]}{ The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL layouts. Allowed values: [0,1] Default value: 0.5 Since 2.12 } \item{\verb{text-yalign} [numeric : Read / Write]}{ The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom). Allowed values: [0,1] Default value: 0.5 Since 2.12 } \item{\verb{value} [integer : Read / Write]}{ The "value" property determines the percentage to which the progress bar will be "filled in". Allowed values: [0,100] Default value: 0 Since 2.6 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererProgress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetSelectMultiple.Rd0000644000176000001440000000074212362217677021102 0ustar ripleyusers\alias{gtkRecentChooserGetSelectMultiple} \name{gtkRecentChooserGetSelectMultiple} \title{gtkRecentChooserGetSelectMultiple} \description{Gets whether \code{chooser} can select multiple items.} \usage{gtkRecentChooserGetSelectMultiple(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if \code{chooser} can select more than one item.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetChild.Rd0000644000176000001440000000125212362217677014744 0ustar ripleyusers\alias{gFileGetChild} \name{gFileGetChild} \title{gFileGetChild} \description{Gets a child of \code{file} with basename equal to \code{name}.} \usage{gFileGetChild(object, name)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{name}}{string containing the child's basename.} } \details{Note that the file with that specific name might not exist, but you can still have a \code{\link{GFile}} that points to it. You can use this for instance to create that file. This call does no blocking i/o.} \value{[\code{\link{GFile}}] a \code{\link{GFile}} to a child specified by \code{name}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-GFileAttribute.Rd0000644000176000001440000003174012362217677015745 0ustar ripleyusers\alias{gio-GFileAttribute} \alias{GFileAttributeInfo} \alias{GFileAttributeInfoList} \alias{GFileAttributeType} \alias{GFileAttributeInfoFlags} \alias{GFileAttributeStatus} \name{gio-GFileAttribute} \title{GFileAttribute} \description{Key-Value Paired File Attributes} \section{Methods and Functions}{ \code{\link{gFileAttributeInfoListNew}()}\cr \code{\link{gFileAttributeInfoListLookup}(object, name)}\cr \code{\link{gFileAttributeInfoListAdd}(object, name, type, flags = "G_FILE_ATTRIBUTE_INFO_NONE")}\cr } \section{Hierarchy}{\preformatted{ GEnum +----GFileAttributeType GFlags +----GFileAttributeInfoFlags GEnum +----GFileAttributeStatus }} \section{Detailed Description}{File attributes in GIO consist of a list of key-value pairs. Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. "namespace:keyname". Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retrived using wildcards, e.g. "standard::*" will return all of the keys in the "standard" namespace. Values are stored within the list in \verb{GFileAttributeValue} structures. Values can store different types, listed in the enum \code{\link{GFileAttributeType}}. Upon creation of a \verb{GFileAttributeValue}, the type will be set to \code{G_FILE_ATTRIBUTE_TYPE_INVALID}. The list of possible attributes for a filesystem (pointed to by a \code{\link{GFile}}) is availible as a \code{\link{GFileAttributeInfoList}}. This list is queryable by key names as indicated earlier. Classes that implement \verb{GFileIface} will create a \code{\link{GFileAttributeInfoList}} and install default keys and values for their given file system, architecture, and other possible implementation details (e.g., on a UNIX system, a file attribute key will be registered for the user id for a given file). \tabular{ll}{ "standard" \tab The "Standard" namespace. General file information that any application may need should be put in this namespace. Examples include the file's name, type, and size. \cr "etag" \tab The "Entity Tag" namespace. Currently, the only key in this namespace is "value", which contains the value of the current entity tag. \cr "id" \tab The "Identification" namespace. This namespace is used by file managers and applications that list directories to check for loops and to uniquely identify files. \cr "access" \tab The "Access" namespace. Used to check if a user has the proper privilidges to access files and perform file operations. Keys in this namespace are made to be generic and easily understood, e.g. the "can_read" key is \code{TRUE} if the current user has permission to read the file. UNIX permissions and NTFS ACLs in Windows should be mapped to these values. \cr "mountable" \tab The "Mountable" namespace. Includes simple boolean keys for checking if a file or path supports mount operations, e.g. mount, unmount, eject. These are used for files of type \code{G_FILE_TYPE_MOUNTABLE} . \cr "time" \tab The "Time" namespace. Includes file access, changed, created times. \cr "unix" \tab The "Unix" namespace. Includes UNIX-specific information and may not be available for all files. Examples include the UNIX "UID", "GID", etc. \cr "dos" \tab The "DOS" namespace. Includes DOS-specific information and may not be available for all files. Examples include "is_system" for checking if a file is marked as a system file, and "is_archive" for checking if a file is marked as an archive file. \cr "owner" \tab The "Owner" namespace. Includes information about who owns a file. May not be available for all file systems. Examples include "user" for getting the user name of the file owner. This information is often mapped from some backend specific data such as a unix UID. \cr "thumbnail" \tab The "Thumbnail" namespace. Includes information about file thumbnails and their location within the file system. Exaples of keys in this namespace include "path" to get the location of a thumbnail, and "failed" to check if thumbnailing of the file failed. \cr "filesystem" \tab The "Filesystem" namespace. Gets information about the file system where a file is located, such as its type, how much space is left available, and the overall size of the file system. \cr "gvfs" \tab The "GVFS" namespace. Keys in this namespace contain information about the current GVFS backend in use. \cr "xattr" \tab The "xattr" namespace. Gets information about extended user attributes. See attr(5). The "user." prefix of the extended user attribute name is stripped away when constructing keys in this namespace, e.g. "xattr::mime_type" for the extended attribute with the name "user.mime_type". Note that this information is only available if GLib has been built with extended attribute support. \cr "xattr-sys" \tab The "xattr-sys" namespace. Gets information about extended attributes which are not user-specific. See attr(5). Note that this information is only available if GLib has been built with extended attribute support. \cr "selinux" \tab The "SELinux" namespace. Includes information about the SELinux context of files. Note that this information is only available if GLib has been built with SELinux support. \cr } Please note that these are not all of the possible namespaces. More namespaces can be added from GIO modules or by individual applications. For more information about writing GIO modules, see \code{\link{GIOModule}}. \tabular{lll}{ \code{G_FILE_ATTRIBUTE_STANDARD_TYPE} \tab standard::type \tab uint32 ( \code{\link{GFileType}} ) \cr \code{G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN} \tab standard::is-hidden \tab boolean \cr \code{G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP} \tab standard::is-backup \tab boolean \cr \code{G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK} \tab standard::is-symlink \tab boolean \cr \code{G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL} \tab standard::is-virtual \tab boolean \cr \code{G_FILE_ATTRIBUTE_STANDARD_NAME} \tab standard::name \tab byte string \cr \code{G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME} \tab standard::display-name \tab string \cr \code{G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME} \tab standard::edit-name \tab string \cr \code{G_FILE_ATTRIBUTE_STANDARD_ICON} \tab standard::icon \tab object ( \code{\link{GIcon}} ) \cr \code{G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE} \tab standard::content-type \tab string \cr \code{G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE} \tab standard::fast-content-type \tab string \cr \code{G_FILE_ATTRIBUTE_STANDARD_SIZE} \tab standard::size \tab uint64 \cr \code{G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE} \tab standard::allocated-size \tab uint64 \cr \code{G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET} \tab standard::symlink-target \tab byte string \cr \code{G_FILE_ATTRIBUTE_STANDARD_TARGET_URI} \tab standard::target-uri \tab string \cr \code{G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER} \tab standard::sort-order \tab int32 \cr \code{G_FILE_ATTRIBUTE_ETAG_VALUE} \tab etag::value \tab string \cr \code{G_FILE_ATTRIBUTE_ID_FILE} \tab id::file \tab string \cr \code{G_FILE_ATTRIBUTE_ID_FILESYSTEM} \tab id::filesystem \tab string \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_READ} \tab access::can-read \tab boolean \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE} \tab access::can-write \tab boolean \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE} \tab access::can-execute \tab boolean \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE} \tab access::can-delete \tab boolean \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH} \tab access::can-trash \tab boolean \cr \code{G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME} \tab access::can-rename \tab boolean \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT} \tab mountable::can-mount \tab boolean \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT} \tab mountable::can-unmount \tab boolean \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT} \tab mountable::can-eject \tab boolean \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE} \tab mountable::unix-device \tab uint32 \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE} \tab mountable::unix-device-file \tab string \cr \code{G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI} \tab mountable::hal-udi \tab string \cr \code{G_FILE_ATTRIBUTE_TIME_MODIFIED} \tab time::modified \tab uint64 \cr \code{G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC} \tab time::modified-usec \tab uint32 \cr \code{G_FILE_ATTRIBUTE_TIME_ACCESS} \tab time::access \tab uint64 \cr \code{G_FILE_ATTRIBUTE_TIME_ACCESS_USEC} \tab time::access-usec \tab uint32 \cr \code{G_FILE_ATTRIBUTE_TIME_CHANGED} \tab time::changed \tab uint64 \cr \code{G_FILE_ATTRIBUTE_TIME_CHANGED_USEC} \tab time::changed-usec \tab uint32 \cr \code{G_FILE_ATTRIBUTE_TIME_CREATED} \tab time::created \tab uint64 \cr \code{G_FILE_ATTRIBUTE_TIME_CREATED_USEC} \tab time::created-usec \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_DEVICE} \tab unix::device \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_INODE} \tab unix::inode \tab uint64 \cr \code{G_FILE_ATTRIBUTE_UNIX_MODE} \tab unix::mode \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_NLINK} \tab unix::nlink \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_UID} \tab unix::uid \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_GID} \tab unix::gid \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_RDEV} \tab unix::rdev \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE} \tab unix::block-size \tab uint32 \cr \code{G_FILE_ATTRIBUTE_UNIX_BLOCKS} \tab unix::blocks \tab uint64 \cr \code{G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT} \tab unix::is-mountpoint \tab boolean \cr \code{G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE} \tab dos::is-archive \tab boolean \cr \code{G_FILE_ATTRIBUTE_DOS_IS_SYSTEM} \tab dos::is-system \tab boolean \cr \code{G_FILE_ATTRIBUTE_OWNER_USER} \tab owner::user \tab string \cr \code{G_FILE_ATTRIBUTE_OWNER_USER_REAL} \tab owner::user-real \tab string \cr \code{G_FILE_ATTRIBUTE_OWNER_GROUP} \tab owner::group \tab string \cr \code{G_FILE_ATTRIBUTE_THUMBNAIL_PATH} \tab thumbnail::path \tab bytestring \cr \code{G_FILE_ATTRIBUTE_THUMBNAILING_FAILED} \tab thumbnail::failed \tab boolean \cr \code{G_FILE_ATTRIBUTE_PREVIEW_ICON} \tab preview::icon \tab object ( \code{\link{GIcon}} ) \cr \code{G_FILE_ATTRIBUTE_FILESYSTEM_SIZE} \tab filesystem::size \tab uint64 \cr \code{G_FILE_ATTRIBUTE_FILESYSTEM_FREE} \tab filesystem::free \tab uint64 \cr \code{G_FILE_ATTRIBUTE_FILESYSTEM_TYPE} \tab filesystem::type \tab string \cr \code{G_FILE_ATTRIBUTE_FILESYSTEM_READONLY} \tab filesystem::readonly \tab boolean \cr \code{G_FILE_ATTRIBUTE_GVFS_BACKEND} \tab gvfs::backend \tab string \cr \code{G_FILE_ATTRIBUTE_SELINUX_CONTEXT} \tab selinux::context \tab string \cr } Note that there are no predefined keys in the "xattr" and "xattr-sys" namespaces. Keys for the "xattr" namespace are constructed by stripping away the "user." prefix from the extended user attribute, and prepending "xattr::". Keys for the "xattr-sys" namespace are constructed by concatenating "xattr-sys::" with the extended attribute name. All extended attribute values are returned as hex-encoded strings in which bytes outside the ASCII range are encoded as hexadecimal escape sequences of the form \\x\\var{nn}.} \section{Structures}{\describe{ \item{\verb{GFileAttributeInfo}}{ Information about a specific attribute. \strong{\verb{GFileAttributeInfo} is a \link{transparent-type}.} \describe{ \item{\verb{name}}{[char] the name of the attribute.} \item{\verb{type}}{[\code{\link{GFileAttributeType}}] the \code{\link{GFileAttributeType}} type of the attribute.} \item{\verb{flags}}{[\code{\link{GFileAttributeInfoFlags}}] a set of \code{\link{GFileAttributeInfoFlags}}.} } } \item{\verb{GFileAttributeInfoList}}{ Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as \code{\link{GFileAttributeInfo}}s. \describe{ \item{\verb{infos}}{[\code{\link{GFileAttributeInfo}}] a list of \code{\link{GFileAttributeInfo}}s.} \item{\verb{nInfos}}{[integer] the number of values in the list.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{GFileAttributeType}}{ The data types for file attributes. \describe{ \item{\verb{invalid}}{indicates an invalid or uninitalized type.} \item{\verb{string}}{a null terminated UTF8 string.} \item{\verb{byte-string}}{a zero terminated string of non-zero bytes.} \item{\verb{boolean}}{a boolean value.} \item{\verb{uint32}}{an unsigned 4-byte/32-bit integer.} \item{\verb{int32}}{a signed 4-byte/32-bit integer.} \item{\verb{uint64}}{an unsigned 8-byte/64-bit integer.} \item{\verb{int64}}{a signed 8-byte/64-bit integer.} \item{\verb{object}}{a \code{\link{GObject}}.} } } \item{\verb{GFileAttributeInfoFlags}}{ Flags specifying the behaviour of an attribute. \describe{ \item{\verb{none}}{no flags set.} \item{\verb{copy-with-file}}{copy the attribute values when the file is copied.} \item{\verb{copy-when-moved}}{copy the attribute values when the file is moved.} } } \item{\verb{GFileAttributeStatus}}{ Used by \code{\link{gFileSetAttributesFromInfo}} when setting file attributes. \describe{ \item{\verb{unset}}{Attribute value is unset (empty).} \item{\verb{set}}{Attribute value is set.} \item{\verb{error-setting}}{Indicates an error in setting the value.} } } }} \references{\url{http://library.gnome.org/devel//gio/gio-GFileAttribute.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAlignmentSetPadding.Rd0000644000176000001440000000152412362217677016703 0ustar ripleyusers\alias{gtkAlignmentSetPadding} \name{gtkAlignmentSetPadding} \title{gtkAlignmentSetPadding} \description{Sets the padding on the different sides of the widget. The padding adds blank space to the sides of the widget. For instance, this can be used to indent the child widget towards the right by adding padding on the left.} \usage{gtkAlignmentSetPadding(object, padding.top, padding.bottom, padding.left, padding.right)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAlignment}}} \item{\verb{padding.top}}{the padding at the top of the widget} \item{\verb{padding.bottom}}{the padding at the bottom of the widget} \item{\verb{padding.left}}{the padding at the left of the widget} \item{\verb{padding.right}}{the padding at the right of the widget.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilePollMountableFinish.Rd0000644000176000001440000000151012362217677017174 0ustar ripleyusers\alias{gFilePollMountableFinish} \name{gFilePollMountableFinish} \title{gFilePollMountableFinish} \description{Finishes a poll operation. See \code{\link{gFilePollMountable}} for details.} \usage{gFilePollMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Finish an asynchronous poll operation that was polled with \code{\link{gFilePollMountable}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation finished successfully. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserAddShortcutFolder.Rd0000644000176000001440000000205411766145227020522 0ustar ripleyusers\alias{gtkFileChooserAddShortcutFolder} \name{gtkFileChooserAddShortcutFolder} \title{gtkFileChooserAddShortcutFolder} \description{Adds a folder to be displayed with the shortcut folders in a file chooser. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list.} \usage{gtkFileChooserAddShortcutFolder(object, folder, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{folder}}{filename of the folder to add} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the folder could be added successfully, \code{FALSE} otherwise. In the latter case, the \code{error} will be set as appropriate.} \item{\verb{error}}{ location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetPixmap.Rd0000644000176000001440000000157512362217677015671 0ustar ripleyusers\alias{gtkImageGetPixmap} \name{gtkImageGetPixmap} \title{gtkImageGetPixmap} \description{Gets the pixmap and mask being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_PIXMAP} (see \code{\link{gtkImageGetStorageType}}). The caller of this function does not own a reference to the returned pixmap and mask.} \usage{gtkImageGetPixmap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{ A list containing the following elements: \item{\verb{pixmap}}{location to store the pixmap, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{mask}}{location to store the mask, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetPixelSize.Rd0000644000176000001440000000144212362217677017112 0ustar ripleyusers\alias{pangoLayoutGetPixelSize} \name{pangoLayoutGetPixelSize} \title{pangoLayoutGetPixelSize} \description{Determines the logical width and height of a \code{\link{PangoLayout}} in device units. (\code{\link{pangoLayoutGetSize}} returns the width and height scaled by \code{PANGO_SCALE}.) This is simply a convenience function around \code{\link{pangoLayoutGetPixelExtents}}.} \usage{pangoLayoutGetPixelSize(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{ A list containing the following elements: \item{\verb{width}}{[integer] location to store the logical width, or \code{NULL}} \item{\verb{height}}{[integer] location to store the logical height, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetIcon.Rd0000644000176000001440000000061712362217677015445 0ustar ripleyusers\alias{gFileInfoSetIcon} \name{gFileInfoSetIcon} \title{gFileInfoSetIcon} \description{Sets the icon for a given \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_STANDARD_ICON}.} \usage{gFileInfoSetIcon(object, icon)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{icon}}{a \code{\link{GIcon}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/checkGTK.Rd0000644000176000001440000000212711766145227013735 0ustar ripleyusers\name{checkGTK} \Rdversion{1.1} \alias{checkGTK} \alias{checkPango} \alias{checkCairo} \alias{boundGTKVersion} \alias{boundCairoVersion} \alias{boundPangoVersion} \title{ Bound versions } \description{ These functions are for querying (\code{bound}*) and checking (\code{check}*) the bound versions of the libraries (GTK, Pango and Cairo). As of RGtk2 2.20.19, the \code{check*} functions are deprecated in favor of the more explicit \code{boundVersion() >= version} syntax. } \usage{ checkGTK(version) checkPango(version) checkCairo(version) boundGTKVersion() boundPangoVersion() boundCairoVersion() } \arguments{ \item{version}{ Version description to compare to the bound version, as in: \code{boundGTKVersion() >= version}. } } \value{ The \code{check}* functions return \code{TRUE} if \code{version} is satisfied, otherwise \code{FALSE}. The \code{bound}* functions return a \code{\link{numeric_version}} representation of the bound library version. } \author{ Michael Lawrence } \examples{ ## instead of # checkGTK("2.12.0") ## do this: boundGTKVersion() >= "2.12.0" } \keyword{interface} RGtk2/man/GtkWidget.Rd0000644000176000001440000020672412362217677014216 0ustar ripleyusers\alias{GtkWidget} \alias{GtkWidgetClass} \alias{GtkRequisition} \alias{GtkAllocation} \alias{GtkSelectionData} \alias{gtkWidget} \alias{GtkCallback} \alias{GtkWidgetFlags} \alias{GtkWidgetHelpType} \alias{GtkTextDirection} \name{GtkWidget} \title{GtkWidget} \description{Base class for all widgets} \section{Methods and Functions}{ \code{\link{gtkWidgetNew}(type, ..., show = TRUE)}\cr \code{\link{gtkWidgetDestroy}(object, ...)}\cr \code{\link{gtkWidgetSet}(obj, ...)}\cr \code{\link{gtkWidgetUnparent}(object)}\cr \code{\link{gtkWidgetShow}(object)}\cr \code{\link{gtkWidgetShowNow}(object)}\cr \code{\link{gtkWidgetHide}(object)}\cr \code{\link{gtkWidgetShowAll}(object)}\cr \code{\link{gtkWidgetHideAll}(object)}\cr \code{\link{gtkWidgetMap}(object)}\cr \code{\link{gtkWidgetUnmap}(object)}\cr \code{\link{gtkWidgetRealize}(object)}\cr \code{\link{gtkWidgetUnrealize}(object)}\cr \code{\link{gtkWidgetQueueDraw}(object)}\cr \code{\link{gtkWidgetQueueResize}(object)}\cr \code{\link{gtkWidgetQueueResizeNoRedraw}(object)}\cr \code{\link{gtkWidgetDraw}(object, area)}\cr \code{\link{gtkWidgetSizeRequest}(object)}\cr \code{\link{gtkWidgetGetChildRequisition}(object)}\cr \code{\link{gtkWidgetSizeAllocate}(object, allocation)}\cr \code{\link{gtkWidgetAddAccelerator}(object, accel.signal, accel.group, accel.key, accel.mods, accel.flags)}\cr \code{\link{gtkWidgetRemoveAccelerator}(object, accel.group, accel.key, accel.mods)}\cr \code{\link{gtkWidgetSetAccelPath}(object, accel.path, accel.group)}\cr \code{\link{gtkWidgetListAccelClosures}(object)}\cr \code{\link{gtkWidgetCanActivateAccel}(object, signal.id)}\cr \code{\link{gtkWidgetEvent}(object, event)}\cr \code{\link{gtkWidgetActivate}(object)}\cr \code{\link{gtkWidgetReparent}(object, new.parent)}\cr \code{\link{gtkWidgetIntersect}(object, area, intersection)}\cr \code{\link{gtkWidgetIsFocus}(object)}\cr \code{\link{gtkWidgetGrabFocus}(object)}\cr \code{\link{gtkWidgetGrabDefault}(object)}\cr \code{\link{gtkWidgetSetName}(object, name)}\cr \code{\link{gtkWidgetGetName}(object)}\cr \code{\link{gtkWidgetSetState}(object, state)}\cr \code{\link{gtkWidgetSetSensitive}(object, sensitive)}\cr \code{\link{gtkWidgetSetParent}(object, parent)}\cr \code{\link{gtkWidgetSetParentWindow}(object, parent.window)}\cr \code{\link{gtkWidgetGetParentWindow}(object)}\cr \code{\link{gtkWidgetSetUposition}(object, x, y)}\cr \code{\link{gtkWidgetSetUsize}(object, width, height)}\cr \code{\link{gtkWidgetSetEvents}(object, events)}\cr \code{\link{gtkWidgetAddEvents}(object, events)}\cr \code{\link{gtkWidgetSetExtensionEvents}(object, mode)}\cr \code{\link{gtkWidgetGetExtensionEvents}(object)}\cr \code{\link{gtkWidgetGetToplevel}(object)}\cr \code{\link{gtkWidgetGetAncestor}(object, widget.type)}\cr \code{\link{gtkWidgetGetColormap}(object)}\cr \code{\link{gtkWidgetSetColormap}(object, colormap)}\cr \code{\link{gtkWidgetGetVisual}(object)}\cr \code{\link{gtkWidgetGetEvents}(object)}\cr \code{\link{gtkWidgetGetPointer}(object)}\cr \code{\link{gtkWidgetIsAncestor}(object, ancestor)}\cr \code{\link{gtkWidgetTranslateCoordinates}(object, dest.widget, src.x, src.y)}\cr \code{\link{gtkWidgetHideOnDelete}(object)}\cr \code{\link{gtkWidgetSetStyle}(object, style = NULL)}\cr \code{\link{gtkWidgetEnsureStyle}(object)}\cr \code{\link{gtkWidgetGetStyle}(object)}\cr \code{\link{gtkWidgetResetRcStyles}(object)}\cr \code{\link{gtkWidgetPushColormap}(cmap)}\cr \code{\link{gtkWidgetPopColormap}()}\cr \code{\link{gtkWidgetSetDefaultColormap}(colormap)}\cr \code{\link{gtkWidgetGetDefaultStyle}()}\cr \code{\link{gtkWidgetGetDefaultColormap}()}\cr \code{\link{gtkWidgetGetDefaultVisual}()}\cr \code{\link{gtkWidgetSetDirection}(object, dir)}\cr \code{\link{gtkWidgetGetDirection}(object)}\cr \code{\link{gtkWidgetSetDefaultDirection}(dir)}\cr \code{\link{gtkWidgetGetDefaultDirection}()}\cr \code{\link{gtkWidgetShapeCombineMask}(object, shape.mask, offset.x, offset.y)}\cr \code{\link{gtkWidgetInputShapeCombineMask}(object, shape.mask = NULL, offset.x, offset.y)}\cr \code{\link{gtkWidgetPath}(object)}\cr \code{\link{gtkWidgetClassPath}(object)}\cr \code{\link{gtkWidgetGetCompositeName}(object)}\cr \code{\link{gtkWidgetModifyStyle}(object, style)}\cr \code{\link{gtkWidgetGetModifierStyle}(object)}\cr \code{\link{gtkWidgetModifyFg}(object, state, color = NULL)}\cr \code{\link{gtkWidgetModifyBg}(object, state, color = NULL)}\cr \code{\link{gtkWidgetModifyText}(object, state, color = NULL)}\cr \code{\link{gtkWidgetModifyBase}(object, state, color = NULL)}\cr \code{\link{gtkWidgetModifyFont}(object, font.desc = NULL)}\cr \code{\link{gtkWidgetModifyCursor}(object, primary, secondary)}\cr \code{\link{gtkWidgetCreatePangoContext}(object)}\cr \code{\link{gtkWidgetGetPangoContext}(object)}\cr \code{\link{gtkWidgetCreatePangoLayout}(object, text)}\cr \code{\link{gtkWidgetRenderIcon}(object, stock.id, size, detail = NULL)}\cr \code{\link{gtkWidgetPopCompositeChild}()}\cr \code{\link{gtkWidgetPushCompositeChild}()}\cr \code{\link{gtkWidgetQueueClear}(object)}\cr \code{\link{gtkWidgetQueueClearArea}(object, x, y, width, height)}\cr \code{\link{gtkWidgetQueueDrawArea}(object, x, y, width, height)}\cr \code{\link{gtkWidgetResetShapes}(object)}\cr \code{\link{gtkWidgetSetAppPaintable}(object, app.paintable)}\cr \code{\link{gtkWidgetSetDoubleBuffered}(object, double.buffered)}\cr \code{\link{gtkWidgetSetRedrawOnAllocate}(object, redraw.on.allocate)}\cr \code{\link{gtkWidgetSetCompositeName}(object, name)}\cr \code{\link{gtkWidgetSetScrollAdjustments}(object, hadjustment = NULL, vadjustment = NULL)}\cr \code{\link{gtkWidgetMnemonicActivate}(object, group.cycling)}\cr \code{\link{gtkWidgetClassInstallStyleProperty}(klass, pspec)}\cr \code{\link{gtkWidgetClassInstallStylePropertyParser}(klass, pspec, parser)}\cr \code{\link{gtkWidgetClassFindStyleProperty}(klass, property.name)}\cr \code{\link{gtkWidgetClassListStyleProperties}(klass)}\cr \code{\link{gtkWidgetRegionIntersect}(object, region)}\cr \code{\link{gtkWidgetSendExpose}(object, event)}\cr \code{\link{gtkWidgetStyleGet}(object, ...)}\cr \code{\link{gtkWidgetStyleGetProperty}(object, property.name)}\cr \code{\link{gtkWidgetStyleAttach}(object)}\cr \code{\link{gtkWidgetGetAccessible}(object)}\cr \code{\link{gtkWidgetChildFocus}(object, direction)}\cr \code{\link{gtkWidgetChildNotify}(object, child.property)}\cr \code{\link{gtkWidgetFreezeChildNotify}(object)}\cr \code{\link{gtkWidgetGetChildVisible}(object)}\cr \code{\link{gtkWidgetGetParent}(object)}\cr \code{\link{gtkWidgetGetSettings}(object)}\cr \code{\link{gtkWidgetGetClipboard}(object, selection)}\cr \code{\link{gtkWidgetGetDisplay}(object)}\cr \code{\link{gtkWidgetGetRootWindow}(object)}\cr \code{\link{gtkWidgetGetScreen}(object)}\cr \code{\link{gtkWidgetHasScreen}(object)}\cr \code{\link{gtkWidgetGetSizeRequest}(object)}\cr \code{\link{gtkWidgetSetChildVisible}(object, is.visible)}\cr \code{\link{gtkWidgetSetSizeRequest}(object, width, height)}\cr \code{\link{gtkWidgetThawChildNotify}(object)}\cr \code{\link{gtkWidgetSetNoShowAll}(object, no.show.all)}\cr \code{\link{gtkWidgetGetNoShowAll}(object)}\cr \code{\link{gtkWidgetListMnemonicLabels}(object)}\cr \code{\link{gtkWidgetAddMnemonicLabel}(object, label)}\cr \code{\link{gtkWidgetRemoveMnemonicLabel}(object, label)}\cr \code{\link{gtkWidgetGetAction}(object)}\cr \code{\link{gtkWidgetGetAction}(object)}\cr \code{\link{gtkWidgetIsComposited}(object)}\cr \code{\link{gtkWidgetErrorBell}(object)}\cr \code{\link{gtkWidgetKeynavFailed}(object, direction)}\cr \code{\link{gtkWidgetGetTooltipMarkup}(object)}\cr \code{\link{gtkWidgetSetTooltipMarkup}(object, markup)}\cr \code{\link{gtkWidgetGetTooltipText}(object)}\cr \code{\link{gtkWidgetSetTooltipText}(object, text)}\cr \code{\link{gtkWidgetGetTooltipWindow}(object)}\cr \code{\link{gtkWidgetSetTooltipWindow}(object, custom.window)}\cr \code{\link{gtkWidgetGetHasTooltip}(object)}\cr \code{\link{gtkWidgetSetHasTooltip}(object, has.tooltip)}\cr \code{\link{gtkWidgetTriggerTooltipQuery}(object)}\cr \code{\link{gtkWidgetGetSnapshot}(object, clip.rect = NULL)}\cr \code{\link{gtkWidgetGetWindow}(object)}\cr \code{\link{gtkWidgetGetAllocation}(object)}\cr \code{\link{gtkWidgetSetAllocation}(object, allocation)}\cr \code{\link{gtkWidgetGetAppPaintable}(object)}\cr \code{\link{gtkWidgetGetCanDefault}(object)}\cr \code{\link{gtkWidgetSetCanDefault}(object, can.default)}\cr \code{\link{gtkWidgetGetCanFocus}(object)}\cr \code{\link{gtkWidgetSetCanFocus}(object, can.focus)}\cr \code{\link{gtkWidgetGetDoubleBuffered}(object)}\cr \code{\link{gtkWidgetGetHasWindow}(object)}\cr \code{\link{gtkWidgetSetHasWindow}(object, has.window)}\cr \code{\link{gtkWidgetGetSensitive}(object)}\cr \code{\link{gtkWidgetIsSensitive}(object)}\cr \code{\link{gtkWidgetGetState}(object)}\cr \code{\link{gtkWidgetGetVisible}(object)}\cr \code{\link{gtkWidgetSetVisible}(object, visible)}\cr \code{\link{gtkWidgetHasDefault}(object)}\cr \code{\link{gtkWidgetHasFocus}(object)}\cr \code{\link{gtkWidgetHasGrab}(object)}\cr \code{\link{gtkWidgetHasRcStyle}(object)}\cr \code{\link{gtkWidgetIsDrawable}(object)}\cr \code{\link{gtkWidgetIsToplevel}(object)}\cr \code{\link{gtkWidgetSetWindow}(object, window)}\cr \code{\link{gtkWidgetSetReceivesDefault}(object, receives.default)}\cr \code{\link{gtkWidgetGetReceivesDefault}(object)}\cr \code{\link{gtkWidgetSetRealized}(object, realized)}\cr \code{\link{gtkWidgetGetRealized}(object)}\cr \code{\link{gtkWidgetSetMapped}(object, mapped)}\cr \code{\link{gtkWidgetGetMapped}(object)}\cr \code{\link{gtkWidgetGetRequisition}(object)}\cr \code{\link{gtkRequisitionCopy}(object)}\cr \code{gtkWidget(type, ..., show = TRUE)} } \section{Hierarchy}{\preformatted{ GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMisc +----GtkCalendar +----GtkCellView +----GtkDrawingArea +----GtkEntry +----GtkRuler +----GtkRange +----GtkSeparator +----GtkHSV +----GtkInvisible +----GtkOldEditable +----GtkPreview +----GtkProgress GBoxed +----GtkRequisition GBoxed +----GtkSelectionData }} \section{Interfaces}{GtkWidget implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Interface Derivations}{GtkWidget is required by \code{\link{GtkCellEditable}}, \code{\link{GtkFileChooser}} and \code{\link{GtkToolShell}}.} \section{Detailed Description}{GtkWidget is the base class all widgets in GTK+ derive from. It manages the widget lifecycle, states and style. \code{GtkWidget} introduces \dfn{style properties} - these are basically object properties that are stored not on the object, but in the style object associated to the widget. Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C. Use \code{\link{gtkWidgetClassInstallStyleProperty}} to install style properties for a widget class, \code{\link{gtkWidgetClassFindStyleProperty}} or \code{\link{gtkWidgetClassListStyleProperties}} to get information about existing style properties and \code{\link{gtkWidgetStyleGetProperty}}, \code{\link{gtkWidgetStyleGet}} or \code{gtkWidgetStyleGetValist()} to obtain the value of a style property. \emph{GtkWidget as GtkBuildable} The GtkWidget implementation of the GtkBuildable interface supports a custom element, which has attributes named key, modifiers and signal and allows to specify accelerators. \emph{A UI definition fragment specifying an accelerator}\preformatted{ } In addition to accelerators, \code{GtkWidget} also support a custom element, which supports actions and relations. Properties on the accessible implementation of an object can be set by accessing the internal child "accessible" of a \code{GtkWidget}. \emph{A UI definition fragment specifying an accessible}\preformatted{ I am a Label for a Button Click the button. Clickable Button }} \section{Structures}{\describe{ \item{\verb{GtkWidget}}{ \emph{undocumented } \describe{ \item{\verb{style}}{[\code{\link{GtkStyle}}] } \item{\verb{requisition}}{[\code{\link{GtkRequisition}}] } \item{\verb{allocation}}{[\code{\link{GtkAllocation}}] } \item{\verb{window}}{[\code{\link{GdkWindow}}] } \item{\verb{parent}}{[\code{\link{GtkWidget}}] } } } \item{\verb{GtkWidgetClass}}{ \code{activate_signal} The signal to emit when a widget of this class is activated, \code{\link{gtkWidgetActivate}} handles the emission. Implementation of this signal is optional. \code{set_scroll_adjustment_signal} This signal is emitted when a widget of this class is added to a scrolling aware parent, \code{\link{gtkWidgetSetScrollAdjustments}} handles the emission. Implementation of this signal is optional. } \item{\verb{GtkRequisition}}{ A \code{GtkRequisition} represents the desired size of a widget. See for more information. \describe{ \item{\verb{width}}{[integer] the widget's desired width} \item{\verb{height}}{[integer] the widget's desired height} } } \item{\verb{GtkAllocation}}{ A \code{GtkAllocation} of a widget represents region which has been allocated to the widget by its parent. It is a subregion of its parents allocation. See for more information. \strong{\verb{GtkAllocation} is a \link{transparent-type}.} \describe{ \item{\code{x}}{the X position of the widget's area relative to its parents allocation.} \item{\code{y}}{the Y position of the widget's area relative to its parents allocation.} \item{\code{width}}{the width of the widget's allocated area.} \item{\code{height}}{the height of the widget's allocated area.} } } \item{\verb{GtkSelectionData}}{ \emph{undocumented } \describe{ \item{\verb{selection}}{[\code{\link{GdkAtom}}] } \item{\verb{target}}{[\code{\link{GdkAtom}}] } \item{\verb{type}}{[\code{\link{GdkAtom}}] } \item{\verb{format}}{[integer] } \item{\verb{data}}{[raw] } } } }} \section{Convenient Construction}{\code{gtkWidget} is the equivalent of \code{\link{gtkWidgetNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GtkWidgetFlags}}{ Tells about certain properties of the widget. \describe{ \item{\verb{toplevel}}{widgets without a real parent, as there are \code{\link{GtkWindow}}s and \code{\link{GtkMenu}}s have this flag set throughout their lifetime. Toplevel widgets always contain their own \code{\link{GdkWindow}}.} \item{\verb{no-window}}{Indicative for a widget that does not provide its own \code{\link{GdkWindow}}. Visible action (e.g. drawing) is performed on the parent's \code{\link{GdkWindow}}.} \item{\verb{realized}}{Set by \code{\link{gtkWidgetRealize}}, unset by \code{\link{gtkWidgetUnrealize}}. A realized widget has an associated \code{\link{GdkWindow}}.} \item{\verb{mapped}}{Set by \code{\link{gtkWidgetMap}}, unset by \code{\link{gtkWidgetUnmap}}. Only realized widgets can be mapped. It means that \code{\link{gdkWindowShow}} has been called on the widgets window(s).} \item{\verb{visible}}{Set by \code{\link{gtkWidgetShow}}, unset by \code{\link{gtkWidgetHide}}. Implies that a widget will be mapped as soon as its parent is mapped.} \item{\verb{sensitive}}{Set and unset by \code{\link{gtkWidgetSetSensitive}}. The sensitivity of a widget determines whether it will receive certain events (e.g. button or key presses). One premise for the widget's sensitivity is to have this flag set.} \item{\verb{parent-sensitive}}{Set and unset by \code{\link{gtkWidgetSetSensitive}} operations on the parents of the widget. This is the second premise for the widget's sensitivity. Once it has \code{GTK_SENSITIVE} and \code{GTK_PARENT_SENSITIVE} set, its state is effectively sensitive. This is expressed (and can be examined) by the \verb{GTK_WIDGET_IS_SENSITIVE} function.} \item{\verb{can-focus}}{Determines whether a widget is able to handle focus grabs.} \item{\verb{has-focus}}{Set by \code{\link{gtkWidgetGrabFocus}} for widgets that also have \code{GTK_CAN_FOCUS} set. The flag will be unset once another widget grabs the focus.} \item{\verb{can-default}}{The widget is allowed to receive the default action via \code{\link{gtkWidgetGrabDefault}} and will reserve space to draw the default if possible} \item{\verb{has-default}}{The widget currently is receiving the default action and should be drawn appropriately if possible} \item{\verb{has-grab}}{Set by \code{\link{gtkGrabAdd}}, unset by \code{\link{gtkGrabRemove}}. It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value.} \item{\verb{rc-style}}{Indicates that the widget's style has been looked up through the rc mechanism. It does not imply that the widget actually had a style defined through the rc mechanism.} \item{\verb{composite-child}}{Indicates that the widget is a composite child of its parent; see \code{\link{gtkWidgetPushCompositeChild}}, \code{\link{gtkWidgetPopCompositeChild}}.} \item{\verb{no-reparent}}{Unused since before GTK+ 1.2, will be removed in a future version.} \item{\verb{app-paintable}}{Set and unset by \code{\link{gtkWidgetSetAppPaintable}}. Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff. See for a detailed description of this flag.} \item{\verb{receives-default}}{The widget when focused will receive the default action and have \code{GTK_HAS_DEFAULT} set even if there is a different widget set as default.} \item{\verb{double-buffered}}{Set and unset by \code{\link{gtkWidgetSetDoubleBuffered}}. Indicates that exposes done on the widget should be double-buffered. See for a detailed discussion of how double-buffering works in GTK+ and why you may want to disable it for special cases.} \item{\verb{no-show-all}}{\emph{undocumented }} } } \item{\verb{GtkWidgetHelpType}}{ \emph{undocumented } \describe{ \item{\verb{tooltip}}{\emph{undocumented }} \item{\verb{whats-this}}{\emph{undocumented }} } } \item{\verb{GtkTextDirection}}{ \emph{undocumented } \describe{ \item{\verb{none}}{\emph{undocumented }} \item{\verb{ltr}}{\emph{undocumented }} \item{\verb{rtl}}{\emph{undocumented }} } } }} \section{User Functions}{\describe{\item{\code{GtkCallback(widget, data)}}{ The type of the callback functions used for e.g. iterating over the children of a container, see \code{\link{gtkContainerForeach}}. \describe{ \item{\code{widget}}{the widget to operate on} \item{\code{data}}{user-supplied data} } }}} \section{Signals}{\describe{ \item{\code{accel-closures-changed(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{button-press-event(widget, event, user.data)}}{ The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_BUTTON_PRESS_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventButton}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{button-release-event(widget, event, user.data)}}{ The ::button-release-event signal will be emitted when a button (typically from a mouse) is released. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_BUTTON_RELEASE_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventButton}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{can-activate-accel(widget, signal.id, user.data)}}{ Determines whether an accelerator that activates the signal identified by \code{signal.id} can currently be activated. This signal is present to allow applications and derived widgets to override the default \code{\link{GtkWidget}} handling for determining whether an accelerator can be activated. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{signal.id}}{the ID of a signal installed on \code{widget}} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal can be activated. } \item{\code{child-notify(widget, pspec, user.data)}}{ The ::child-notify signal is emitted for each child property that has changed on an object. The signal's detail holds the property name. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{pspec}}{the \code{\link{GParamSpec}} of the changed child property} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{client-event(widget, event, user.data)}}{ The ::client-event will be emitted when the \code{widget}'s window receives a message (via a ClientMessage event) from another application. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventClient}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{composited-changed(widget, user.data)}}{ The ::composited-changed signal is emitted when the composited status of \code{widget}s screen changes. See \code{\link{gdkScreenIsComposited}}. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{configure-event(widget, event, user.data)}}{ The ::configure-event signal will be emitted when the size, position or stacking of the \code{widget}'s window has changed. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_STRUCTURE_MASK} mask. GDK will enable this mask automatically for all new windows. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventConfigure}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{damage-event(widget, event, user.data)}}{ Emitted when a redirected window belonging to \code{widget} gets drawn into. The region/area members of the event shows what area of the redirected drawable was drawn into. Since 2.14 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventExpose}} event} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{delete-event(widget, event, user.data)}}{ The ::delete-event signal is emitted if a user requests that a toplevel window is closed. The default handler for this signal destroys the window. Connecting \code{\link{gtkWidgetHideOnDelete}} to this signal will cause the window to be hidden instead, so that it can later be shown again without reconstructing it. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the event which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{destroy-event(widget, event, user.data)}}{ The ::destroy-event signal is emitted when a \code{\link{GdkWindow}} is destroyed. You rarely get this signal, because most widgets disconnect themselves from their window before they destroy it, so no widget owns the window at destroy time. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_STRUCTURE_MASK} mask. GDK will enable this mask automatically for all new windows. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the event which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{direction-changed(widget, previous.direction, user.data)}}{ The ::direction-changed signal is emitted when the text direction of a widget changes. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{previous.direction}}{the previous text direction of \code{widget}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-begin(widget, drag.context, user.data)}}{ The ::drag-begin signal is emitted on the drag source when a drag is started. A typical reason to connect to this signal is to set up a custom drag icon with \code{\link{gtkDragSourceSetIcon}}. Note that some widgets set up a drag icon in the default handler of this signal, so you may have to use \code{gSignalConnectAfter()} to override what the default handler did. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-data-delete(widget, drag.context, user.data)}}{ The ::drag-data-delete signal is emitted on the drag source when a drag with the action \code{GDK_ACTION_MOVE} is successfully completed. The signal handler is responsible for deleting the data that has been dropped. What "delete" means depends on the context of the drag operation. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-data-get(widget, drag.context, data, info, time, user.data)}}{ The ::drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged. It is the responsibility of the signal handler to fill \code{data} with the data in the format which is indicated by \code{info}. See \code{\link{gtkSelectionDataSet}} and \code{\link{gtkSelectionDataSetText}}. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{data}}{the \code{\link{GtkSelectionData}} to be filled with the dragged data} \item{\code{info}}{the info that has been registered with the target in the \code{\link{GtkTargetList}}} \item{\code{time}}{the timestamp at which the data was requested} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-data-received(widget, drag.context, x, y, data, info, time, user.data)}}{ The ::drag-data-received signal is emitted on the drop site when the dragged data has been received. If the data was received in order to determine whether the drop will be accepted, the handler is expected to call \code{\link{gdkDragStatus}} and \emph{not} finish the drag. If the data was received in response to a \verb{"drag-drop"} signal (and this is the last target to be received), the handler for this signal is expected to process the received data and then call \code{\link{gtkDragFinish}}, setting the \code{success} parameter depending on whether the data was processed successfully. The handler may inspect and modify \code{drag.context->action} before calling \code{\link{gtkDragFinish}}, e.g. to implement \code{GDK_ACTION_ASK} as shown in the following example: \preformatted{ drag_data_received <- function(widget, drag_context, x, y, data, info, time) { if (data$getLength() > 0L) { if (drag_context$getAction() == "ask") { dialog <- gtkMessageDialog(NULL, c("modal", "destroy-with-parent"), "info", "yes-no", "Move the data ?\n") response <- dialog$run() dialog$destroy() ### FIXME: setAction() not yet supported if (response == GtkResponseType["yes"]) drag_context$setAction("move") else drag_context$setAction("copy") } gtkDragFinish(drag_context, TRUE, FALSE, time) } gtkDragFinish (drag_context, FALSE, FALSE, time) } } \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{x}}{where the drop happened} \item{\code{y}}{where the drop happened} \item{\code{data}}{the received data} \item{\code{info}}{the info that has been registered with the target in the \code{\link{GtkTargetList}}} \item{\code{time}}{the timestamp at which the data was received} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-drop(widget, drag.context, x, y, time, returns, user.data)}}{ The ::drag-drop signal is emitted on the drop site when the user drops the data onto the widget. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns \code{FALSE} and no further processing is necessary. Otherwise, the handler returns \code{TRUE}. In this case, the handler must ensure that \code{\link{gtkDragFinish}} is called to let the source know that the drop is done. The call to \code{\link{gtkDragFinish}} can be done either directly or in a \verb{"drag-data-received"} handler which gets triggered by calling \code{\link{gtkDragGetData}} to receive the data for one or more of the supported targets. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{x}}{the x coordinate of the current cursor position} \item{\code{y}}{the y coordinate of the current cursor position} \item{\code{time}}{the timestamp of the motion event} \item{\code{returns}}{whether the cursor position is in a drop zone} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-end(widget, drag.context, user.data)}}{ The ::drag-end signal is emitted on the drag source when a drag is finished. A typical reason to connect to this signal is to undo things done in \verb{"drag-begin"}. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-failed(widget, drag.context, result, user.data)}}{ The ::drag-failed signal is emitted on the drag source when a drag has failed. The signal handler may hook custom code to handle a failed DND operation based on the type of error, it returns \code{TRUE} is the failure has been already handled (not showing the default "drag operation failed" animation), otherwise it returns \code{FALSE}. Since 2.12 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{result}}{the result of the drag operation} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the failed drag operation has been already handled. } \item{\code{drag-leave(widget, drag.context, time, user.data)}}{ The ::drag-leave signal is emitted on the drop site when the cursor leaves the widget. A typical reason to connect to this signal is to undo things done in \verb{"drag-motion"}, e.g. undo highlighting with \code{\link{gtkDragUnhighlight}} \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{drag.context}}{the drag context} \item{\code{time}}{the timestamp of the motion event} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{drag-motion(widget, drag.context, x, y, time, returns, user.data)}}{ The drag-motion signal is emitted on the drop site when the user moves the cursor over the widget during a drag. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns \code{FALSE} and no further processing is necessary. Otherwise, the handler returns \code{TRUE}. In this case, the handler is responsible for providing the necessary information for displaying feedback to the user, by calling \code{\link{gdkDragStatus}}. If the decision whether the drop will be accepted or rejected can't be made based solely on the cursor position and the type of the data, the handler may inspect the dragged data by calling \code{\link{gtkDragGetData}} and defer the \code{\link{gdkDragStatus}} call to the \verb{"drag-data-received"} handler. Note that you cannot not pass \verb{GTK_DEST_DEFAULT_DROP}, \verb{GTK_DEST_DEFAULT_MOTION} or \verb{GTK_DEST_DEFAULT_ALL} to \code{\link{gtkDragDestSet}} when using the drag-motion signal that way. Also note that there is no drag-enter signal. The drag receiver has to keep track of whether he has received any drag-motion signals since the last \verb{"drag-leave"} and if not, treat the drag-motion signal as an "enter" signal. Upon an "enter", the handler will typically highlight the drop site with \code{\link{gtkDragHighlight}}. \preformatted{ drag_motion <- function(widget, context, x, y, time) { state <- widget$getData("drag-state") if (!state$drag_highlight) { state$drag_highlight <- T gtkDragHighlight(widget) } target <- gtkDragDestFindTarget(widget, context, NULL) if (target == 0) gdkDragStatus(context, 0, time) else { state$pending_status <- context[["suggestedAction"]] gtkDragGetData(widget, context, target, time) } widget$setData("drag-state", state) return(TRUE) } drag_data_received <- function(widget, context, x, y, selection_data, info, time) { state <- widget$getData("drag-state") if (state$pending_status) { ## We are getting this data due to a request in drag_motion, ## rather than due to a request in drag_drop, so we are just ## supposed to call gdk_drag_status(), not actually paste in the data. str <- gtkSelectionDataGetText(selection_data) if (!data_is_acceptable (str)) gdkDragStatus(context, 0, time) else gdkDragStatus(context, state$pending_status, time) state$pending_status <- 0 } else { ## accept the drop } widget$setData("drag-state", state) } } \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{drag.context}}{the drag context} \item{\code{x}}{the x coordinate of the current cursor position} \item{\code{y}}{the y coordinate of the current cursor position} \item{\code{time}}{the timestamp of the motion event} \item{\code{returns}}{whether the cursor position is in a drop zone} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{enter-notify-event(widget, event, user.data)}}{ The ::enter-notify-event will be emitted when the pointer enters the \code{widget}'s window. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_ENTER_NOTIFY_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventCrossing}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{event(widget, event, user.data)}}{ The GTK+ main loop will emit three signals for each GDK event delivered to a widget: one generic ::event signal, another, more specific, signal that matches the type of event delivered (e.g. \verb{"key-press-event"}) and finally a generic \verb{"event-after"} signal. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEvent}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event and to cancel the emission of the second specific ::event signal. \code{FALSE} to propagate the event further and to allow the emission of the second signal. The ::event-after signal is emitted regardless of the return value. } \item{\code{event-after(widget, event, user.data)}}{ After the emission of the \code{\link{gtkWidgetEvent}} signal and (optionally) the second more specific signal, ::event-after will be emitted regardless of the previous two signals handlers return values. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEvent}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{expose-event(widget, event, user.data)}}{ The ::expose-event signal is emitted when an area of a previously obscured \code{\link{GdkWindow}} is made visible and needs to be redrawn. \verb{GTK_NO_WINDOW} widgets will get a synthesized event from their parent widget. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_EXPOSURE_MASK} mask. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventExpose}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{focus(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{focus-in-event(widget, event, user.data)}}{ The ::focus-in-event signal will be emitted when the keyboard focus enters the \code{widget}'s window. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_FOCUS_CHANGE_MASK} mask. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventFocus}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{focus-out-event(widget, event, user.data)}}{ The ::focus-out-event signal will be emitted when the keyboard focus leaves the \code{widget}'s window. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_FOCUS_CHANGE_MASK} mask. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventFocus}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{grab-broken-event(widget, event, user.data)}}{ Emitted when a pointer or keyboard grab on a window belonging to \code{widget} gets broken. On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again. Since 2.8 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventGrabBroken}} event} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{grab-focus(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{grab-notify(widget, was.grabbed, user.data)}}{ The ::grab-notify signal is emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed. A widget is shadowed by a \code{\link{gtkGrabAdd}} when the topmost grab widget in the grab stack of its window group is not its ancestor. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{was.grabbed}}{\code{FALSE} if the widget becomes shadowed, \code{TRUE} if it becomes unshadowed} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{hide(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{hierarchy-changed(widget, previous.toplevel, user.data)}}{ The ::hierarchy-changed signal is emitted when the anchored state of a widget changes. A widget is \dfn{anchored} when its toplevel ancestor is a \code{\link{GtkWindow}}. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{previous.toplevel}}{the previous toplevel ancestor, or \code{NULL} if the widget was previously unanchored. \emph{[ \acronym{allow-none} ]}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{key-press-event(widget, event, user.data)}}{ The ::key-press-event signal is emitted when a key is pressed. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_KEY_PRESS_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventKey}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{key-release-event(widget, event, user.data)}}{ The ::key-release-event signal is emitted when a key is pressed. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_KEY_RELEASE_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventKey}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{keynav-failed(widget, direction, user.data)}}{ Gets emitted if keyboard navigation fails. See \code{\link{gtkWidgetKeynavFailed}} for details. Since 2.12 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{direction}}{the direction of movement} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if stopping keyboard navigation is fine, \code{FALSE} if the emitting widget should try to handle the keyboard navigation attempt in its parent container(s). } \item{\code{leave-notify-event(widget, event, user.data)}}{ The ::leave-notify-event will be emitted when the pointer leaves the \code{widget}'s window. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_LEAVE_NOTIFY_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventCrossing}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{map(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{map-event(widget, event, user.data)}}{ The ::map-event signal will be emitted when the \code{widget}'s window is mapped. A window is mapped when it becomes visible on the screen. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_STRUCTURE_MASK} mask. GDK will enable this mask automatically for all new windows. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventAny}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{mnemonic-activate(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{motion-notify-event(widget, event, user.data)}}{ The ::motion-notify-event signal is emitted when the pointer moves over the widget's \code{\link{GdkWindow}}. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_POINTER_MOTION_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventMotion}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{move-focus(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{no-expose-event(widget, event, user.data)}}{ The ::no-expose-event will be emitted when the \code{widget}'s window is drawn as a copy of another \code{\link{GdkDrawable}} (with \code{\link{gdkDrawDrawable}} or \code{gdkWindowCopyArea()}) which was completely unobscured. If the source window was partially obscured \code{\link{GdkEventExpose}} events will be generated for those areas. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventNoExpose}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{parent-set(widget, old.parent, user.data)}}{ The ::parent-set signal is emitted when a new parent has been set on a widget. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{old.parent}}{the previous parent, or \code{NULL} if the widget just got its initial parent. \emph{[ \acronym{allow-none} ]}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{popup-menu(widget, user.data)}}{ This signal gets emitted whenever a widget should pop up a context menu. This usually happens through the standard key binding mechanism; by pressing a certain key while a widget is focused, the user can cause the widget to pop up a menu. For example, the \code{\link{GtkEntry}} widget creates a menu with clipboard commands. See for an example of how to use this signal. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if a menu was activated } \item{\code{property-notify-event(widget, event, user.data)}}{ The ::property-notify-event signal will be emitted when a property on the \code{widget}'s window has been changed or deleted. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_PROPERTY_CHANGE_MASK} mask. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventProperty}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{proximity-in-event(widget, event, user.data)}}{ To receive this signal the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_PROXIMITY_IN_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventProximity}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{proximity-out-event(widget, event, user.data)}}{ To receive this signal the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_PROXIMITY_OUT_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventProximity}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{query-tooltip(widget, x, y, keyboard.mode, tooltip, user.data)}}{ Emitted when \verb{"has-tooltip"} is \code{TRUE} and the \verb{"gtk-tooltip-timeout"} has expired with the cursor hovering "above" \code{widget}; or emitted when \code{widget} got focus in keyboard mode. Using the given coordinates, the signal handler should determine whether a tooltip should be shown for \code{widget}. If this is the case \code{TRUE} should be returned, \code{FALSE} otherwise. Note that if \code{keyboard.mode} is \code{TRUE}, the values of \code{x} and \code{y} are undefined and should not be used. The signal handler is free to manipulate \code{tooltip} with the therefore destined function calls. Since 2.12 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{x}}{the x coordinate of the cursor position where the request has been emitted, relative to \code{widget->window}} \item{\code{y}}{the y coordinate of the cursor position where the request has been emitted, relative to \code{widget->window}} \item{\code{keyboard.mode}}{\code{TRUE} if the tooltip was trigged using the keyboard} \item{\code{tooltip}}{a \code{\link{GtkTooltip}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if \code{tooltip} should be shown right now, \code{FALSE} otherwise. } \item{\code{realize(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{screen-changed(widget, previous.screen, user.data)}}{ The ::screen-changed signal gets emitted when the screen of a widget has changed. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{previous.screen}}{the previous screen, or \code{NULL} if the widget was not associated with a screen before. \emph{[ \acronym{allow-none} ]}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{scroll-event(widget, event, user.data)}}{ The ::scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_BUTTON_PRESS_MASK} mask. This signal will be sent to the grab widget if there is one. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{event}}{the \code{\link{GdkEventScroll}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{selection-clear-event(widget, event, user.data)}}{ The ::selection-clear-event signal will be emitted when the the \code{widget}'s window has lost ownership of a selection. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventSelection}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{selection-get(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-notify-event(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{selection-received(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-request-event(widget, event, user.data)}}{ The ::selection-request-event signal will be emitted when another client requests ownership of the selection owned by the \code{widget}'s window. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventSelection}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{show(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{show-help(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{size-allocate(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{size-request(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{state-changed(widget, state, user.data)}}{ The ::state-changed signal is emitted when the widget state changes. See \code{\link{gtkWidgetGetState}}. \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{state}}{the previous state} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{style-set(widget, previous.style, user.data)}}{ The ::style-set signal is emitted when a new style has been set on a widget. Note that style-modifying functions like \code{\link{gtkWidgetModifyBase}} also cause this signal to be emitted. \describe{ \item{\code{widget}}{the object on which the signal is emitted} \item{\code{previous.style}}{the previous style, or \code{NULL} if the widget just got its initial style. \emph{[ \acronym{allow-none} ]}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unmap(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unmap-event(widget, event, user.data)}}{ The ::unmap-event signal will be emitted when the \code{widget}'s window is unmapped. A window is unmapped when it becomes invisible on the screen. To receive this signal, the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_STRUCTURE_MASK} mask. GDK will enable this mask automatically for all new windows. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventAny}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{unrealize(widget, user.data)}}{ \emph{undocumented } \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{visibility-notify-event(widget, event, user.data)}}{ The ::visibility-notify-event will be emitted when the \code{widget}'s window is obscured or unobscured. To receive this signal the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_VISIBILITY_NOTIFY_MASK} mask. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventVisibility}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } \item{\code{window-state-event(widget, event, user.data)}}{ The ::window-state-event will be emitted when the state of the toplevel window associated to the \code{widget} changes. To receive this signal the \code{\link{GdkWindow}} associated to the widget needs to enable the \verb{GDK_STRUCTURE_MASK} mask. GDK will enable this mask automatically for all new windows. \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{event}}{the \code{\link{GdkEventWindowState}} which triggered this signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} to stop other handlers from being invoked for the event. \code{FALSE} to propagate the event further. } }} \section{Properties}{\describe{ \item{\verb{app-paintable} [logical : Read / Write]}{ Whether the application will paint directly on the widget. Default value: FALSE } \item{\verb{can-default} [logical : Read / Write]}{ Whether the widget can be the default widget. Default value: FALSE } \item{\verb{can-focus} [logical : Read / Write]}{ Whether the widget can accept the input focus. Default value: FALSE } \item{\verb{composite-child} [logical : Read]}{ Whether the widget is part of a composite widget. Default value: FALSE } \item{\verb{double-buffered} [logical : Read / Write]}{ Whether or not the widget is double buffered. Default value: TRUE Since 2.18 } \item{\verb{events} [\code{\link{GdkEventMask}} : Read / Write]}{ The event mask that decides what kind of GdkEvents this widget gets. Default value: GDK_STRUCTURE_MASK } \item{\verb{extension-events} [\code{\link{GdkExtensionMode}} : Read / Write]}{ The mask that decides what kind of extension events this widget gets. Default value: GDK_EXTENSION_EVENTS_NONE } \item{\verb{has-default} [logical : Read / Write]}{ Whether the widget is the default widget. Default value: FALSE } \item{\verb{has-focus} [logical : Read / Write]}{ Whether the widget has the input focus. Default value: FALSE } \item{\verb{has-tooltip} [logical : Read / Write]}{ Enables or disables the emission of \verb{"query-tooltip"} on \code{widget}. A value of \code{TRUE} indicates that \code{widget} can have a tooltip, in this case the widget will be queried using \verb{"query-tooltip"} to determine whether it will provide a tooltip or not. Note that setting this property to \code{TRUE} for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to \code{FALSE} again. Default value: FALSE Since 2.12 } \item{\verb{height-request} [integer : Read / Write]}{ Override for height request of the widget, or -1 if natural request should be used. Allowed values: >= -1 Default value: -1 } \item{\verb{is-focus} [logical : Read / Write]}{ Whether the widget is the focus widget within the toplevel. Default value: FALSE } \item{\verb{name} [character : * : Read / Write]}{ The name of the widget. Default value: NULL } \item{\verb{no-show-all} [logical : Read / Write]}{ Whether gtk_widget_show_all() should not affect this widget. Default value: FALSE } \item{\verb{parent} [\code{\link{GtkContainer}} : * : Read / Write]}{ The parent widget of this widget. Must be a Container widget. } \item{\verb{receives-default} [logical : Read / Write]}{ If TRUE, the widget will receive the default action when it is focused. Default value: FALSE } \item{\verb{sensitive} [logical : Read / Write]}{ Whether the widget responds to input. Default value: TRUE } \item{\verb{style} [\code{\link{GtkStyle}} : * : Read / Write]}{ The style of the widget, which contains information about how it will look (colors etc). } \item{\verb{tooltip-markup} [character : * : Read / Write]}{ Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see \code{\link{gtkTooltipSetMarkup}}. This is a convenience property which will take care of getting the tooltip shown if the given string is not \code{NULL}: \verb{"has-tooltip"} will automatically be set to \code{TRUE} and there will be taken care of \verb{"query-tooltip"} in the default signal handler. Default value: NULL Since 2.12 } \item{\verb{tooltip-text} [character : * : Read / Write]}{ Sets the text of tooltip to be the given string. Also see \code{\link{gtkTooltipSetText}}. This is a convenience property which will take care of getting the tooltip shown if the given string is not \code{NULL}: \verb{"has-tooltip"} will automatically be set to \code{TRUE} and there will be taken care of \verb{"query-tooltip"} in the default signal handler. Default value: NULL Since 2.12 } \item{\verb{visible} [logical : Read / Write]}{ Whether the widget is visible. Default value: FALSE } \item{\verb{width-request} [integer : Read / Write]}{ Override for width request of the widget, or -1 if natural request should be used. Allowed values: >= -1 Default value: -1 } \item{\verb{window} [\code{\link{GdkWindow}} : * : Read]}{ The widget's window if it is realized, \code{NULL} otherwise. Since 2.14 } }} \section{Style Properties}{\describe{ \item{\verb{cursor-aspect-ratio} [numeric : Read]}{ Aspect ratio with which to draw insertion cursor. Allowed values: [0,1] Default value: 0.04 } \item{\verb{cursor-color} [\code{\link{GdkColor}} : * : Read]}{ Color with which to draw insertion cursor. } \item{\verb{draw-border} [\code{\link{GtkBorder}} : * : Read]}{ The "draw-border" style property defines the size of areas outside the widget's allocation to draw. Since 2.8 } \item{\verb{focus-line-pattern} [character : * : Read]}{ Dash pattern used to draw the focus indicator. Default value: "\\001\\001" } \item{\verb{focus-line-width} [integer : Read]}{ Width, in pixels, of the focus indicator line. Allowed values: >= 0 Default value: 1 } \item{\verb{focus-padding} [integer : Read]}{ Width, in pixels, between focus indicator and the widget 'box'. Allowed values: >= 0 Default value: 1 } \item{\verb{interior-focus} [logical : Read]}{ Whether to draw the focus indicator inside widgets. Default value: TRUE } \item{\verb{link-color} [\code{\link{GdkColor}} : * : Read]}{ The "link-color" style property defines the color of unvisited links. Since 2.10 } \item{\verb{scroll-arrow-hlength} [integer : Read]}{ The "scroll-arrow-hlength" style property defines the length of horizontal scroll arrows. Allowed values: >= 1 Default value: 16 Since 2.10 } \item{\verb{scroll-arrow-vlength} [integer : Read]}{ The "scroll-arrow-vlength" style property defines the length of vertical scroll arrows. Allowed values: >= 1 Default value: 16 Since 2.10 } \item{\verb{secondary-cursor-color} [\code{\link{GdkColor}} : * : Read]}{ Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text. } \item{\verb{separator-height} [integer : Read]}{ The "separator-height" style property defines the height of separators. This property only takes effect if \verb{"wide-separators"} is \code{TRUE}. Allowed values: >= 0 Default value: 0 Since 2.10 } \item{\verb{separator-width} [integer : Read]}{ The "separator-width" style property defines the width of separators. This property only takes effect if \verb{"wide-separators"} is \code{TRUE}. Allowed values: >= 0 Default value: 0 Since 2.10 } \item{\verb{visited-link-color} [\code{\link{GdkColor}} : * : Read]}{ The "visited-link-color" style property defines the color of visited links. Since 2.10 } \item{\verb{wide-separators} [logical : Read]}{ The "wide-separators" style property defines whether separators have configurable width and should be drawn using a box instead of a line. Default value: FALSE Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkWidget.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetEllipsizeMode.Rd0000644000176000001440000000110312362217677020046 0ustar ripleyusers\alias{gtkToolShellGetEllipsizeMode} \name{gtkToolShellGetEllipsizeMode} \title{gtkToolShellGetEllipsizeMode} \description{Retrieves the current ellipsize mode for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetEllipsizeMode}} instead.} \usage{gtkToolShellGetEllipsizeMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{PangoEllipsizeMode}}] the current ellipsize mode of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetSocketType.Rd0000644000176000001440000000060412362217677016364 0ustar ripleyusers\alias{gSocketGetSocketType} \name{gSocketGetSocketType} \title{gSocketGetSocketType} \description{Gets the socket type of the socket.} \usage{gSocketGetSocketType(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[\code{\link{GSocketType}}] a \code{\link{GSocketType}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapSaveFd.Rd0000644000176000001440000000060512362217677015557 0ustar ripleyusers\alias{gtkAccelMapSaveFd} \name{gtkAccelMapSaveFd} \title{gtkAccelMapSaveFd} \description{Filedescriptor variant of \code{\link{gtkAccelMapSave}}.} \usage{gtkAccelMapSaveFd(fd)} \arguments{\item{\verb{fd}}{a valid writable file descriptor}} \details{Note that the file descriptor will not be closed by this function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreInsertBefore.Rd0000644000176000001440000000237312362217677017251 0ustar ripleyusers\alias{gtkTreeStoreInsertBefore} \name{gtkTreeStoreInsertBefore} \title{gtkTreeStoreInsertBefore} \description{Inserts a new row before \code{sibling}. If \code{sibling} is \code{NULL}, then the row will be appended to \code{parent} 's children. If \code{parent} and \code{sibling} are \code{NULL}, then the row will be appended to the toplevel. If both \code{sibling} and \code{parent} are set, then \code{parent} must be the parent of \code{sibling}. When \code{sibling} is set, \code{parent} is optional.} \usage{gtkTreeStoreInsertBefore(object, parent, sibling)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{sibling}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{\code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkTreeStoreSet}} or \code{\link{gtkTreeStoreSetValue}}.} \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuBarGetPackDirection.Rd0000644000176000001440000000073112362217677017452 0ustar ripleyusers\alias{gtkMenuBarGetPackDirection} \name{gtkMenuBarGetPackDirection} \title{gtkMenuBarGetPackDirection} \description{Retrieves the current pack direction of the menubar. See \code{\link{gtkMenuBarSetPackDirection}}.} \usage{gtkMenuBarGetPackDirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuBar}}}} \details{Since 2.8} \value{[\code{\link{GtkPackDirection}}] the pack direction} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapLoadScanner.Rd0000644000176000001440000000057312362217677016604 0ustar ripleyusers\alias{gtkAccelMapLoadScanner} \name{gtkAccelMapLoadScanner} \title{gtkAccelMapLoadScanner} \description{\verb{GScanner} variant of \code{\link{gtkAccelMapLoad}}.} \usage{gtkAccelMapLoadScanner(scanner)} \arguments{\item{\verb{scanner}}{a \verb{GScanner} which has already been provided with an input file}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamGetNewlineType.Rd0000644000176000001440000000075012362217677020354 0ustar ripleyusers\alias{gDataInputStreamGetNewlineType} \name{gDataInputStreamGetNewlineType} \title{gDataInputStreamGetNewlineType} \description{Gets the current newline type for the \code{stream}.} \usage{gDataInputStreamGetNewlineType(object)} \arguments{\item{\verb{object}}{a given \code{\link{GDataInputStream}}.}} \value{[\code{\link{GDataStreamNewlineType}}] \code{\link{GDataStreamNewlineType}} for the given \code{stream}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoRemoveSupportsType.Rd0000644000176000001440000000122512362217677017615 0ustar ripleyusers\alias{gAppInfoRemoveSupportsType} \name{gAppInfoRemoveSupportsType} \title{gAppInfoRemoveSupportsType} \description{Removes a supported type from an application, if possible.} \usage{gAppInfoRemoveSupportsType(object, content.type, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}.} \item{\verb{content.type}}{a string.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNewFromGicon.Rd0000644000176000001440000000076612362217677017403 0ustar ripleyusers\alias{gtkStatusIconNewFromGicon} \name{gtkStatusIconNewFromGicon} \title{gtkStatusIconNewFromGicon} \description{Creates a status icon displaying a \code{\link{GIcon}}. If the icon is a themed icon, it will be updated when the theme changes.} \usage{gtkStatusIconNewFromGicon(icon)} \arguments{\item{\verb{icon}}{a \code{\link{GIcon}}}} \details{Since 2.14} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonGetShowStyle.Rd0000644000176000001440000000070412362217677017445 0ustar ripleyusers\alias{gtkFontButtonGetShowStyle} \name{gtkFontButtonGetShowStyle} \title{gtkFontButtonGetShowStyle} \description{Returns whether the name of the font style will be shown in the label.} \usage{gtkFontButtonGetShowStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[logical] whether the font style will be shown in the label.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSimpleAsyncResult.Rd0000644000176000001440000001434412362217677016055 0ustar ripleyusers\alias{GSimpleAsyncResult} \alias{gSimpleAsyncResult} \alias{GSimpleAsyncThreadFunc} \name{GSimpleAsyncResult} \title{GSimpleAsyncResult} \description{Simple asynchronous results implementation} \section{Methods and Functions}{ \code{\link{gSimpleAsyncResultNew}(source.object, callback, user.data = NULL, source.tag)}\cr \code{\link{gSimpleAsyncResultNewError}(source.object, callback, user.data, domain, code, format, ...)}\cr \code{\link{gSimpleAsyncResultNewFromError}(source.object, callback, user.data = NULL)}\cr \code{\link{gSimpleAsyncResultSetOpResGpointer}(object, op.res)}\cr \code{\link{gSimpleAsyncResultGetOpResGpointer}(object)}\cr \code{\link{gSimpleAsyncResultSetOpResGssize}(object, op.res)}\cr \code{\link{gSimpleAsyncResultGetOpResGssize}(object)}\cr \code{\link{gSimpleAsyncResultSetOpResGboolean}(object, op.res)}\cr \code{\link{gSimpleAsyncResultGetOpResGboolean}(object)}\cr \code{\link{gSimpleAsyncResultGetSourceTag}(object)}\cr \code{\link{gSimpleAsyncResultSetHandleCancellation}(object, handle.cancellation)}\cr \code{\link{gSimpleAsyncResultComplete}(object)}\cr \code{\link{gSimpleAsyncResultCompleteInIdle}(object)}\cr \code{\link{gSimpleAsyncResultSetFromError}(object)}\cr \code{\link{gSimpleAsyncResultPropagateError}(object, .errwarn = TRUE)}\cr \code{\link{gSimpleAsyncResultSetError}(object, domain, code, format, ...)}\cr \code{\link{gSimpleAsyncReportErrorInIdle}(object, callback, user.data, domain, code, format, ...)}\cr \code{\link{gSimpleAsyncReportGerrorInIdle}(object, callback, user.data = NULL)}\cr \code{gSimpleAsyncResult(source.object, callback, user.data = NULL, source.tag, domain, code, format, ...)} } \section{Hierarchy}{\preformatted{GObject +----GSimpleAsyncResult}} \section{Interfaces}{GSimpleAsyncResult implements \code{\link{GAsyncResult}}.} \section{Detailed Description}{Implements \code{\link{GAsyncResult}} for simple cases. Most of the time, this will be all an application needs, and will be used transparently. Because of this, \code{\link{GSimpleAsyncResult}} is used throughout GIO for handling asynchronous functions. GSimpleAsyncResult handles \code{\link{GAsyncReadyCallback}}s, error reporting, operation cancellation and the final state of an operation, completely transparent to the application. Results can be returned as a pointer e.g. for functions that return data that is collected asynchronously, a boolean value for checking the success or failure of an operation, or a \verb{integer} for operations which return the number of bytes modified by the operation; all of the simple return cases are covered. Most of the time, an application will not need to know of the details of this API; it is handled transparently, and any necessary operations are handled by \code{\link{GAsyncResult}}'s interface. However, if implementing a new GIO module, for writing language bindings, or for complex applications that need better control of how asynchronous operations are completed, it is important to understand this functionality. GSimpleAsyncResults are tagged with the calling function to ensure that asynchronous functions and their finishing functions are used together correctly. To create a new \code{\link{GSimpleAsyncResult}}, call \code{\link{gSimpleAsyncResultNew}}. If the result needs to be created for a \code{\link{GError}}, use \code{\link{gSimpleAsyncResultNewFromError}}. If a \code{\link{GError}} is not available (e.g. the asynchronous operation's doesn't take a \code{\link{GError}} argument), but the result still needs to be created for an error condition, use \code{\link{gSimpleAsyncResultNewError}} (or \code{gSimpleAsyncResultSetErrorVa()} if your application or binding requires passing a variable argument list directly), and the error can then be propegated through the use of \code{\link{gSimpleAsyncResultPropagateError}}. An asynchronous operation can be made to ignore a cancellation event by calling \code{\link{gSimpleAsyncResultSetHandleCancellation}} with a \code{\link{GSimpleAsyncResult}} for the operation and \code{FALSE}. This is useful for operations that are dangerous to cancel, such as close (which would cause a leak if cancelled before being run). GSimpleAsyncResult can integrate into GLib's event loop, \verb{GMainLoop}, or it can use \verb{GThread}s if available. \code{\link{gSimpleAsyncResultComplete}} will finish an I/O task directly from the point where it is called. \code{\link{gSimpleAsyncResultCompleteInIdle}} will finish it from an idle handler in the thread-default main context. \code{gSimpleAsyncResultRunInThread()} will run the job in a separate thread and then deliver the result to the thread-default main context. To set the results of an asynchronous function, \code{\link{gSimpleAsyncResultSetOpResGpointer}}, \code{\link{gSimpleAsyncResultSetOpResGboolean}}, and \code{\link{gSimpleAsyncResultSetOpResGssize}} are provided, setting the operation's result to a gpointer, gboolean, or gssize, respectively. Likewise, to get the result of an asynchronous function, \code{\link{gSimpleAsyncResultGetOpResGpointer}}, \code{\link{gSimpleAsyncResultGetOpResGboolean}}, and \code{\link{gSimpleAsyncResultGetOpResGssize}} are provided, getting the operation's result as a gpointer, gboolean, and gssize, respectively.} \section{Structures}{\describe{\item{\verb{GSimpleAsyncResult}}{ A simple implementation of \code{\link{GAsyncResult}}. }}} \section{Convenient Construction}{\code{gSimpleAsyncResult} is the result of collapsing the constructors of \code{GSimpleAsyncResult} (\code{\link{gSimpleAsyncResultNew}}, \code{\link{gSimpleAsyncResultNewError}}, \code{\link{gSimpleAsyncResultNewFromError}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{User Functions}{\describe{\item{\code{GSimpleAsyncThreadFunc(res, object, cancellable)}}{ Simple thread function that runs an asynchronous operation and checks for cancellation. \describe{ \item{\code{res}}{a \code{\link{GSimpleAsyncResult}}.} \item{\code{object}}{a \code{\link{GObject}}.} \item{\code{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} } }}} \references{\url{http://library.gnome.org/devel//gio/GSimpleAsyncResult.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringNew.Rd0000644000176000001440000000052112362217677016261 0ustar ripleyusers\alias{pangoGlyphStringNew} \name{pangoGlyphStringNew} \title{pangoGlyphStringNew} \description{Create a new \code{\link{PangoGlyphString}}.} \usage{pangoGlyphStringNew()} \value{[\code{\link{PangoGlyphString}}] the newly allocated \code{\link{PangoGlyphString}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionSetFilename.Rd0000644000176000001440000000172011766145227017660 0ustar ripleyusers\alias{gtkFileSelectionSetFilename} \name{gtkFileSelectionSetFilename} \title{gtkFileSelectionSetFilename} \description{ Sets a default path for the file requestor. If \code{filename} includes a directory path, then the requestor will open with that path as its current working directory. \strong{WARNING: \code{gtk_file_selection_set_filename} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionSetFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileSelection}}.} \item{\verb{filename}}{a string to set as the default file name.} } \details{This has the consequence that in order to open the requestor with a working directory and an empty filename, \code{filename} must have a trailing directory separator. The encoding of \code{filename} is preferred GLib file name encoding, which may not be UTF-8. See \code{gFilenameFromUtf8()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetTrackVisitedLinks.Rd0000644000176000001440000000075512362217677020040 0ustar ripleyusers\alias{gtkLabelSetTrackVisitedLinks} \name{gtkLabelSetTrackVisitedLinks} \title{gtkLabelSetTrackVisitedLinks} \description{Sets whether the label should keep track of clicked links (and use a different color for them).} \usage{gtkLabelSetTrackVisitedLinks(object, track.links)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{track.links}}{\code{TRUE} to track visited links} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttribute.Rd0000644000176000001440000000100212362217677016505 0ustar ripleyusers\alias{gFileInfoSetAttribute} \name{gFileInfoSetAttribute} \title{gFileInfoSetAttribute} \description{Sets the \code{attribute} to contain the given value, if possible.} \usage{gFileInfoSetAttribute(object, attribute, type, value.p)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{type}}{a \code{\link{GFileAttributeType}}} \item{\verb{value.p}}{pointer to the value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonGetInconsistent.Rd0000644000176000001440000000073712362217677020505 0ustar ripleyusers\alias{gtkToggleButtonGetInconsistent} \name{gtkToggleButtonGetInconsistent} \title{gtkToggleButtonGetInconsistent} \description{Gets the value set by \code{\link{gtkToggleButtonSetInconsistent}}.} \usage{gtkToggleButtonGetInconsistent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToggleButton}}}} \value{[logical] \code{TRUE} if the button is displayed as inconsistent, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetIndent.Rd0000644000176000001440000000067312362217677016424 0ustar ripleyusers\alias{pangoLayoutGetIndent} \name{pangoLayoutGetIndent} \title{pangoLayoutGetIndent} \description{Gets the paragraph indent width in Pango units. A negative value indicates a hanging indentation.} \usage{pangoLayoutGetIndent(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[integer] the indent in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetUseMarkup.Rd0000644000176000001440000000074312362217677016354 0ustar ripleyusers\alias{gtkLabelSetUseMarkup} \name{gtkLabelSetUseMarkup} \title{gtkLabelSetUseMarkup} \description{Sets whether the text of the label contains markup in Pango's text markup language. See \code{\link{gtkLabelSetMarkup}}.} \usage{gtkLabelSetUseMarkup(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{setting}}{\code{TRUE} if the label's text should be parsed for markup.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetUri.Rd0000644000176000001440000000114412362217677016342 0ustar ripleyusers\alias{gtkFileChooserGetUri} \name{gtkFileChooserGetUri} \title{gtkFileChooserGetUri} \description{Gets the URI for the currently selected file in the file selector. If multiple files are selected, one of the filenames will be returned at random.} \usage{gtkFileChooserGetUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{If the file chooser is in folder mode, this function returns the selected folder. Since 2.4} \value{[character] The currently selected URI, or \code{NULL} if no file is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetPixbuf.Rd0000644000176000001440000000127412362217677016736 0ustar ripleyusers\alias{gtkStatusIconGetPixbuf} \name{gtkStatusIconGetPixbuf} \title{gtkStatusIconGetPixbuf} \description{Gets the \code{\link{GdkPixbuf}} being displayed by the \code{\link{GtkStatusIcon}}. The storage type of the status icon must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_PIXBUF} (see \code{\link{gtkStatusIconGetStorageType}}). The caller of this function does not own a reference to the returned pixbuf.} \usage{gtkStatusIconGetPixbuf(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[\code{\link{GdkPixbuf}}] the displayed pixbuf, or \code{NULL} if the image is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetClassPath.Rd0000644000176000001440000000151312362217677016046 0ustar ripleyusers\alias{gtkWidgetClassPath} \name{gtkWidgetClassPath} \title{gtkWidgetClassPath} \description{Same as \code{\link{gtkWidgetPath}}, but always uses the name of a widget's type, never uses a custom name set with \code{\link{gtkWidgetSetName}}.} \usage{gtkWidgetClassPath(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{ A list containing the following elements: \item{\verb{path.length}}{location to store the length of the class path, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{path}}{(out) (allow-none) location to store the class path as an allocated string, or \code{NULL}} \item{\verb{path.reversed}}{(out) (allow-none) location to store the reverse class path as an allocated string, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryProgressPulse.Rd0000644000176000001440000000120712362217677016657 0ustar ripleyusers\alias{gtkEntryProgressPulse} \name{gtkEntryProgressPulse} \title{gtkEntryProgressPulse} \description{Indicates that some progress is made, but you don't know how much. Causes the entry's progress indicator to enter "activity mode," where a block bounces back and forth. Each call to \code{\link{gtkEntryProgressPulse}} causes the block to move by a little bit (the amount of movement per pulse is determined by \code{\link{gtkEntrySetProgressPulseStep}}).} \usage{gtkEntryProgressPulse(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintArrow.Rd0000644000176000001440000000240312362217677015105 0ustar ripleyusers\alias{gtkPaintArrow} \name{gtkPaintArrow} \title{gtkPaintArrow} \description{Draws an arrow in the given rectangle on \code{window} using the given parameters. \code{arrow.type} determines the direction of the arrow.} \usage{gtkPaintArrow(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, arrow.type, fill, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{arrow.type}}{the type of arrow to draw} \item{\verb{fill}}{\code{TRUE} if the arrow tip should be filled} \item{\verb{x}}{x origin of the rectangle to draw the arrow in} \item{\verb{y}}{y origin of the rectangle to draw the arrow in} \item{\verb{width}}{width of the rectangle to draw the arrow in} \item{\verb{height}}{height of the rectangle to draw the arrow in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrStrikethroughColorNew.Rd0000644000176000001440000000131112362217677020501 0ustar ripleyusers\alias{pangoAttrStrikethroughColorNew} \name{pangoAttrStrikethroughColorNew} \title{pangoAttrStrikethroughColorNew} \description{Create a new strikethrough color attribute. This attribute modifies the color of strikethrough lines. If not set, strikethrough lines will use the foreground color.} \usage{pangoAttrStrikethroughColorNew(red, green, blue)} \arguments{ \item{\verb{red}}{[integer] the red value (ranging from 0 to 65535)} \item{\verb{green}}{[integer] the green value} \item{\verb{blue}}{[integer] the blue value} } \details{ Since 1.8} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetNumeric.Rd0000644000176000001440000000070512362217677017126 0ustar ripleyusers\alias{gtkSpinButtonSetNumeric} \name{gtkSpinButtonSetNumeric} \title{gtkSpinButtonSetNumeric} \description{Sets the flag that determines if non-numeric text can be typed into the spin button.} \usage{gtkSpinButtonSetNumeric(object, numeric)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{numeric}}{flag indicating if only numeric entry is allowed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationNew.Rd0000644000176000001440000000053612362217677016453 0ustar ripleyusers\alias{gtkPrintOperationNew} \name{gtkPrintOperationNew} \title{gtkPrintOperationNew} \description{Creates a new \code{\link{GtkPrintOperation}}.} \usage{gtkPrintOperationNew()} \details{Since 2.10} \value{[\code{\link{GtkPrintOperation}}] a new \code{\link{GtkPrintOperation}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoAttrStippleNew.Rd0000644000176000001440000000067212362217677016717 0ustar ripleyusers\alias{gdkPangoAttrStippleNew} \name{gdkPangoAttrStippleNew} \title{gdkPangoAttrStippleNew} \description{Creates a new attribute containing a stipple bitmap to be used when rendering the text.} \usage{gdkPangoAttrStippleNew(stipple)} \arguments{\item{\verb{stipple}}{a bitmap to be set as stipple}} \value{[\code{\link{PangoAttribute}}] new \code{\link{PangoAttribute}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarNewWithAdjustment.Rd0000644000176000001440000000123412362217677020616 0ustar ripleyusers\alias{gtkProgressBarNewWithAdjustment} \name{gtkProgressBarNewWithAdjustment} \title{gtkProgressBarNewWithAdjustment} \description{ Creates a new \code{\link{GtkProgressBar}} with an associated \code{\link{GtkAdjustment}}. \strong{WARNING: \code{gtk_progress_bar_new_with_adjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressBarNewWithAdjustment(adjustment = NULL, show = TRUE)} \arguments{\item{\verb{adjustment}}{. \emph{[ \acronym{allow-none} ]}}} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkProgressBar}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientGetLocalAddress.Rd0000644000176000001440000000077712362217677020004 0ustar ripleyusers\alias{gSocketClientGetLocalAddress} \name{gSocketClientGetLocalAddress} \title{gSocketClientGetLocalAddress} \description{Gets the local the socket client.} \usage{gSocketClientGetLocalAddress(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketClient}}.}} \details{See \code{\link{gSocketClientSetLocalAddress}} for details. Since 2.22} \value{[\code{\link{GSocketAddress}}] a \verb{GSocketAddres} or \code{NULL}. don't free} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromFileAtScale.Rd0000644000176000001440000000360112362217677017570 0ustar ripleyusers\alias{gdkPixbufNewFromFileAtScale} \name{gdkPixbufNewFromFileAtScale} \title{gdkPixbufNewFromFileAtScale} \description{Creates a new pixbuf by loading an image from a file. The file format is detected automatically. If \code{NULL} is returned, then \code{error} will be set. Possible errors are in the \verb{GDK_PIXBUF_ERROR} and \verb{G_FILE_ERROR} domains. The image will be scaled to fit in the requested size, optionally preserving the image's aspect ratio. } \usage{gdkPixbufNewFromFileAtScale(filename, width, height, preserve.aspect.ratio, .errwarn = TRUE)} \arguments{ \item{\verb{filename}}{Name of file to load, in the GLib file name encoding} \item{\verb{width}}{The width the image should have or -1 to not constrain the width} \item{\verb{height}}{The height the image should have or -1 to not constrain the height} \item{\verb{preserve.aspect.ratio}}{\code{TRUE} to preserve the image's aspect ratio} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{When preserving the aspect ratio, a \code{width} of -1 will cause the image to be scaled to the exact given height, and a \code{height} of -1 will cause the image to be scaled to the exact given width. When not preserving aspect ratio, a \code{width} or \code{height} of -1 means to not scale the image at all in that dimension. Negative values for \code{width} and \code{height} are allowed since 2.8. Since 2.6} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1, or \code{NULL} if any of several error conditions occurred: the file could not be opened, there was no loader for the file's format, there was not enough memory to allocate the image buffer, or the image file contained invalid data.} \item{\verb{error}}{Return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabReorderable.Rd0000644000176000001440000000103112362217677020045 0ustar ripleyusers\alias{gtkNotebookSetTabReorderable} \name{gtkNotebookSetTabReorderable} \title{gtkNotebookSetTabReorderable} \description{Sets whether the notebook tab can be reordered via drag and drop or not.} \usage{gtkNotebookSetTabReorderable(object, child, reorderable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a child \code{\link{GtkWidget}}} \item{\verb{reorderable}}{whether the tab is reorderable or not.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAlignmentSet.Rd0000644000176000001440000000172512362217677015417 0ustar ripleyusers\alias{gtkAlignmentSet} \name{gtkAlignmentSet} \title{gtkAlignmentSet} \description{Sets the \code{\link{GtkAlignment}} values.} \usage{gtkAlignmentSet(object, xalign, yalign, xscale, yscale)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAlignment}}.} \item{\verb{xalign}}{the horizontal alignment of the child widget, from 0 (left) to 1 (right).} \item{\verb{yalign}}{the vertical alignment of the child widget, from 0 (top) to 1 (bottom).} \item{\verb{xscale}}{the amount that the child widget expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the \code{\link{GtkAlignment}}.} \item{\verb{yscale}}{the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to \code{xscale}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderConnectSignalsFull.Rd0000644000176000001440000000123412362217677020064 0ustar ripleyusers\alias{gtkBuilderConnectSignalsFull} \name{gtkBuilderConnectSignalsFull} \title{gtkBuilderConnectSignalsFull} \description{This function can be thought of the interpreted language binding version of \code{\link{gtkBuilderConnectSignals}}, except that it does not require GModule to function correctly.} \usage{gtkBuilderConnectSignalsFull(object, func, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{func}}{the function used to connect the signals} \item{\verb{user.data}}{arbitrary data that will be passed to the connection function} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRadioToolButton.Rd0000644000176000001440000000553512362217677016060 0ustar ripleyusers\alias{GtkRadioToolButton} \alias{gtkRadioToolButton} \name{GtkRadioToolButton} \title{GtkRadioToolButton} \description{A toolbar item that contains a radio button} \section{Methods and Functions}{ \code{\link{gtkRadioToolButtonNew}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioToolButtonNewFromStock}(group = NULL, stock.id, show = TRUE)}\cr \code{\link{gtkRadioToolButtonNewFromWidget}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioToolButtonNewWithStockFromWidget}(group = NULL, stock.id, show = TRUE)}\cr \code{\link{gtkRadioToolButtonGetGroup}(object)}\cr \code{\link{gtkRadioToolButtonSetGroup}(object, group)}\cr \code{gtkRadioToolButton(group = NULL, stock.id, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkToggleToolButton +----GtkRadioToolButton}} \section{Interfaces}{GtkRadioToolButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkRadioToolButton}} is a \code{\link{GtkToolItem}} that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time. Use \code{\link{gtkRadioToolButtonNew}} to create a new \code{\link{GtkRadioToolButton}}. use \code{\link{gtkRadioToolButtonNewFromWidget}} to create a new \code{\link{GtkRadioToolButton}} that is part of the same group as an existing \code{\link{GtkRadioToolButton}}. Use \code{\link{gtkRadioToolButtonNewFromStock}} or \code{gtkRadioToolButtonNewFromWidgetWithStock()} to create a new \verb{GtkRAdioToolButton} containing a stock item.} \section{Structures}{\describe{\item{\verb{GtkRadioToolButton}}{ The \code{\link{GtkRadioToolButton}} contains only private data and should only be accessed through the functions described below. }}} \section{Convenient Construction}{\code{gtkRadioToolButton} is the result of collapsing the constructors of \code{GtkRadioToolButton} (\code{\link{gtkRadioToolButtonNew}}, \code{\link{gtkRadioToolButtonNewFromStock}}, \code{\link{gtkRadioToolButtonNewFromWidget}}, \code{\link{gtkRadioToolButtonNewWithStockFromWidget}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{\item{\verb{group} [\code{\link{GtkRadioToolButton}} : * : Write]}{ Sets a new group for a radio tool button. Since 2.4 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRadioToolButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionComplete.Rd0000644000176000001440000000076612362217677017655 0ustar ripleyusers\alias{gtkEntryCompletionComplete} \name{gtkEntryCompletionComplete} \title{gtkEntryCompletionComplete} \description{Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key. The completion list view will be updated accordingly.} \usage{gtkEntryCompletionComplete(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetValue.Rd0000644000176000001440000000055712362217677016571 0ustar ripleyusers\alias{gtkSpinButtonGetValue} \name{gtkSpinButtonGetValue} \title{gtkSpinButtonGetValue} \description{Get the value in the \code{spin.button}.} \usage{gtkSpinButtonGetValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[numeric] the value of \code{spin.button}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleSetActive.Rd0000644000176000001440000000063712362217677020346 0ustar ripleyusers\alias{gtkCellRendererToggleSetActive} \name{gtkCellRendererToggleSetActive} \title{gtkCellRendererToggleSetActive} \description{Activates or deactivates a cell renderer.} \usage{gtkCellRendererToggleSetActive(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}.} \item{\verb{setting}}{the value to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableSetPosition.Rd0000644000176000001440000000137212362217677016735 0ustar ripleyusers\alias{gtkEditableSetPosition} \name{gtkEditableSetPosition} \title{gtkEditableSetPosition} \description{Sets the cursor position in the editable to the given value.} \usage{gtkEditableSetPosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{position}}{the position of the cursor} } \details{The cursor is displayed before the character with the given (base 0) index in the contents of the editable. The value must be less than or equal to the number of characters in the editable. A value of -1 indicates that the position should be set after the last character of the editable. Note that \code{position} is in characters, not in bytes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawIndexedImage.Rd0000644000176000001440000000203312362217677016137 0ustar ripleyusers\alias{gdkDrawIndexedImage} \name{gdkDrawIndexedImage} \title{gdkDrawIndexedImage} \description{Draws an indexed image in the drawable, using a \code{\link{GdkRgbCmap}} to assign actual colors to the color indices.} \usage{gdkDrawIndexedImage(object, gc, x, y, width, height, dith, buf, cmap)} \arguments{ \item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).} \item{\verb{gc}}{The graphics context.} \item{\verb{x}}{The x coordinate of the top-left corner in the drawable.} \item{\verb{y}}{The y coordinate of the top-left corner in the drawable.} \item{\verb{width}}{The width of the rectangle to be drawn.} \item{\verb{height}}{The height of the rectangle to be drawn.} \item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.} \item{\verb{buf}}{The pixel data, represented as 8-bit color indices.} \item{\verb{cmap}}{The \code{\link{GdkRgbCmap}} used to assign colors to the color indices.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryLookupDefault.Rd0000644000176000001440000000121412362217677017735 0ustar ripleyusers\alias{gtkIconFactoryLookupDefault} \name{gtkIconFactoryLookupDefault} \title{gtkIconFactoryLookupDefault} \description{Looks for an icon in the list of default icon factories. For display to the user, you should use \code{\link{gtkStyleLookupIconSet}} on the \code{\link{GtkStyle}} for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.} \usage{gtkIconFactoryLookupDefault(stock.id)} \arguments{\item{\verb{stock.id}}{an icon name}} \value{[\code{\link{GtkIconSet}}] a \code{\link{GtkIconSet}}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonSetMode.Rd0000644000176000001440000000160312362217677016716 0ustar ripleyusers\alias{gtkToggleButtonSetMode} \name{gtkToggleButtonSetMode} \title{gtkToggleButtonSetMode} \description{Sets whether the button is displayed as a separate indicator and label. You can call this function on a checkbutton or a radiobutton with \code{draw.indicator} = \code{FALSE} to make the button look like a normal button} \usage{gtkToggleButtonSetMode(object, draw.indicator)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToggleButton}}} \item{\verb{draw.indicator}}{if \code{TRUE}, draw the button as a separate indicator and label; if \code{FALSE}, draw the button like a normal button} } \details{This function only affects instances of classes like \code{\link{GtkCheckButton}} and \code{\link{GtkRadioButton}} that derive from \code{\link{GtkToggleButton}}, not instances of \code{\link{GtkToggleButton}} itself.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionClear.Rd0000644000176000001440000000132712362217677015717 0ustar ripleyusers\alias{gtkSelectionClear} \name{gtkSelectionClear} \title{gtkSelectionClear} \description{ The default handler for the \verb{"selection-clear-event"} signal. \strong{WARNING: \code{gtk_selection_clear} has been deprecated since version 2.4 and should not be used in newly-written code. Instead of calling this function, chain up from your selection-clear-event handler. Calling this function from any other context is illegal.} } \usage{gtkSelectionClear(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{event}}{the event} } \details{Since 2.2} \value{[logical] \code{TRUE} if the event was handled, otherwise false} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetFillLevel.Rd0000644000176000001440000000060012362217677016307 0ustar ripleyusers\alias{gtkRangeGetFillLevel} \name{gtkRangeGetFillLevel} \title{gtkRangeGetFillLevel} \description{Gets the current position of the fill level indicator.} \usage{gtkRangeGetFillLevel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkRange}}}} \details{Since 2.12} \value{[numeric] The current fill level} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentClampPage.Rd0000644000176000001440000000133712362217677016714 0ustar ripleyusers\alias{gtkAdjustmentClampPage} \name{gtkAdjustmentClampPage} \title{gtkAdjustmentClampPage} \description{Updates the \code{\link{GtkAdjustment}} \code{value} to ensure that the range between \code{lower} and \code{upper} is in the current page (i.e. between \code{value} and \code{value} + \code{page.size}). If the range is larger than the page size, then only the start of it will be in the current page. A "changed" signal will be emitted if the value is changed.} \usage{gtkAdjustmentClampPage(object, lower, upper)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}.} \item{\verb{lower}}{the lower value.} \item{\verb{upper}}{the upper value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleToolButtonSetActive.Rd0000644000176000001440000000113412362217677020102 0ustar ripleyusers\alias{gtkToggleToolButtonSetActive} \name{gtkToggleToolButtonSetActive} \title{gtkToggleToolButtonSetActive} \description{Sets the status of the toggle tool button. Set to \code{TRUE} if you want the GtkToggleButton to be 'pressed in', and \code{FALSE} to raise it. This action causes the toggled signal to be emitted.} \usage{gtkToggleToolButtonSetActive(object, is.active)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToggleToolButton}}} \item{\verb{is.active}}{whether \code{button} should be active} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDataOutputStream.Rd0000644000176000001440000000424112362217677015670 0ustar ripleyusers\alias{GDataOutputStream} \alias{gDataOutputStream} \name{GDataOutputStream} \title{GDataOutputStream} \description{Data Output Stream} \section{Methods and Functions}{ \code{\link{gDataOutputStreamNew}(base.stream = NULL)}\cr \code{\link{gDataOutputStreamSetByteOrder}(object, order)}\cr \code{\link{gDataOutputStreamGetByteOrder}(object)}\cr \code{\link{gDataOutputStreamPutByte}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutInt16}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutUint16}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutInt32}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutUint32}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutInt64}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutUint64}(object, data, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataOutputStreamPutString}(object, str, cancellable = NULL, .errwarn = TRUE)}\cr \code{gDataOutputStream(base.stream = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GOutputStream +----GFilterOutputStream +----GDataOutputStream}} \section{Detailed Description}{Data output stream implements \code{\link{GOutputStream}} and includes functions for writing data directly to an output stream.} \section{Structures}{\describe{\item{\verb{GDataOutputStream}}{ An implementation of \code{\link{GBufferedOutputStream}} that allows for high-level data manipulation of arbitrary data (including binary operations). }}} \section{Convenient Construction}{\code{gDataOutputStream} is the equivalent of \code{\link{gDataOutputStreamNew}}.} \section{Properties}{\describe{\item{\verb{byte-order} [\code{\link{GDataStreamByteOrder}} : Read / Write]}{ Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream. Default value: G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN }}} \references{\url{http://library.gnome.org/devel//gio/GDataOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBestWithType.Rd0000644000176000001440000000116412362217677017221 0ustar ripleyusers\alias{gdkVisualGetBestWithType} \name{gdkVisualGetBestWithType} \title{gdkVisualGetBestWithType} \description{Get the best visual of the given \code{visual.type} for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. \code{NULL} may be returned if no visual has type \code{visual.type}.} \usage{gdkVisualGetBestWithType(visual.type)} \arguments{\item{\verb{visual.type}}{a visual type}} \value{[\code{\link{GdkVisual}}] best visual of the given type. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintRunPageSetupDialog.Rd0000644000176000001440000000177712362217677017553 0ustar ripleyusers\alias{gtkPrintRunPageSetupDialog} \name{gtkPrintRunPageSetupDialog} \title{gtkPrintRunPageSetupDialog} \description{Runs a page setup dialog, letting the user modify the values from \code{page.setup}. If the user cancels the dialog, the returned \code{\link{GtkPageSetup}} is identical to the passed in \code{page.setup}, otherwise it contains the modifications done in the dialog.} \usage{gtkPrintRunPageSetupDialog(parent, page.setup = NULL, settings)} \arguments{ \item{\verb{parent}}{transient parent. \emph{[ \acronym{allow-none} ]}} \item{\verb{page.setup}}{an existing \code{\link{GtkPageSetup}}. \emph{[ \acronym{allow-none} ]}} \item{\verb{settings}}{a \code{\link{GtkPrintSettings}}} } \details{Note that this function may use a recursive mainloop to show the page setup dialog. See \code{\link{gtkPrintRunPageSetupDialogAsync}} if this is a problem. Since 2.10} \value{[\code{\link{GtkPageSetup}}] a new \code{\link{GtkPageSetup}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNewWithMnemonic.Rd0000644000176000001440000000134412362217677020250 0ustar ripleyusers\alias{gtkRadioButtonNewWithMnemonic} \name{gtkRadioButtonNewWithMnemonic} \title{gtkRadioButtonNewWithMnemonic} \description{Creates a new \code{\link{GtkRadioButton}} containing a label, adding it to the same group as \code{group}. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the button.} \usage{gtkRadioButtonNewWithMnemonic(group, label, show = TRUE)} \arguments{ \item{\verb{group}}{the radio button group} \item{\verb{label}}{the text of the button, with an underscore in front of the mnemonic character} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRadioButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetUsePreviewLabel.Rd0000644000176000001440000000143612362217677020661 0ustar ripleyusers\alias{gtkFileChooserSetUsePreviewLabel} \name{gtkFileChooserSetUsePreviewLabel} \title{gtkFileChooserSetUsePreviewLabel} \description{Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is \code{TRUE}. Applications that want to draw the whole preview area themselves should set this to \code{FALSE} and display the name themselves in their preview widget.} \usage{gtkFileChooserSetUsePreviewLabel(object, use.label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{use.label}}{whether to display a stock label with the name of the previewed file} } \details{See also: \code{\link{gtkFileChooserSetPreviewWidget}} Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentSetPosition.Rd0000644000176000001440000000127412362217677017161 0ustar ripleyusers\alias{atkComponentSetPosition} \name{atkComponentSetPosition} \title{atkComponentSetPosition} \description{Sets the postition of \code{component}.} \usage{atkComponentSetPosition(object, x, y, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}} \item{\verb{x}}{[integer] x coordinate} \item{\verb{y}}{[integer] y coordinate} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{[logical] \code{TRUE} or \code{FALSE} whether or not the position was set or not} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterGetNeeded.Rd0000644000176000001440000000125712362217677016617 0ustar ripleyusers\alias{gtkFileFilterGetNeeded} \name{gtkFileFilterGetNeeded} \title{gtkFileFilterGetNeeded} \description{Gets the fields that need to be filled in for the structure passed to \code{\link{gtkFileFilterFilter}}} \usage{gtkFileFilterGetNeeded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileFilter}}}} \details{This function will not typically be used by applications; it is intended principally for use in the implementation of \code{\link{GtkFileChooser}}. Since 2.4} \value{[\code{\link{GtkFileFilterFlags}}] bitfield of flags indicating needed fields when calling \code{\link{gtkFileFilterFilter}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetSortType.Rd0000644000176000001440000000075412362217677017757 0ustar ripleyusers\alias{gtkRecentChooserSetSortType} \name{gtkRecentChooserSetSortType} \title{gtkRecentChooserSetSortType} \description{Changes the sorting order of the recently used resources list displayed by \code{chooser}.} \usage{gtkRecentChooserSetSortType(object, sort.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{sort.type}}{sort order that the chooser should use} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromStreamAtScale.Rd0000644000176000001440000000421112362217677020142 0ustar ripleyusers\alias{gdkPixbufNewFromStreamAtScale} \name{gdkPixbufNewFromStreamAtScale} \title{gdkPixbufNewFromStreamAtScale} \description{Creates a new pixbuf by loading an image from an input stream. } \usage{gdkPixbufNewFromStreamAtScale(stream, width = -1, height = -1, preserve.aspect.ratio = 1, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{stream}}{a \code{\link{GInputStream}} to load the pixbuf from} \item{\verb{width}}{The width the image should have or -1 to not constrain the width} \item{\verb{height}}{The height the image should have or -1 to not constrain the height} \item{\verb{preserve.aspect.ratio}}{\code{TRUE} to preserve the image's aspect ratio} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The file format is detected automatically. If \code{NULL} is returned, then \code{error} will be set. The \code{cancellable} can be used to abort the operation from another thread. If the operation was cancelled, the error \code{GIO_ERROR_CANCELLED} will be returned. Other possible errors are in the \verb{GDK_PIXBUF_ERROR} and \code{G_IO_ERROR} domains. The image will be scaled to fit in the requested size, optionally preserving the image's aspect ratio. When preserving the aspect ratio, a \code{width} of -1 will cause the image to be scaled to the exact given height, and a \code{height} of -1 will cause the image to be scaled to the exact given width. When not preserving aspect ratio, a \code{width} or \code{height} of -1 means to not scale the image at all in that dimension. The stream is not closed. Since 2.14} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] A newly-created pixbuf, or \code{NULL} if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.} \item{\verb{error}}{Return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppLaunchContextLaunchFailed.Rd0000644000176000001440000000117512362217677020145 0ustar ripleyusers\alias{gAppLaunchContextLaunchFailed} \name{gAppLaunchContextLaunchFailed} \title{gAppLaunchContextLaunchFailed} \description{Called when an application has failed to launch, so that it can cancel the application startup notification started in \code{\link{gAppLaunchContextGetStartupNotifyId}}.} \usage{gAppLaunchContextLaunchFailed(object, startup.notify.id)} \arguments{ \item{\verb{object}}{a \code{\link{GAppLaunchContext}}.} \item{\verb{startup.notify.id}}{the startup notification id that was returned by \code{\link{gAppLaunchContextGetStartupNotifyId}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextMark.Rd0000644000176000001440000000532512362217677014524 0ustar ripleyusers\alias{GtkTextMark} \alias{gtkTextMark} \name{GtkTextMark} \title{GtkTextMark} \description{A position in the buffer preserved across buffer modifications} \section{Methods and Functions}{ \code{\link{gtkTextMarkNew}(name, left.gravity)}\cr \code{\link{gtkTextMarkSetVisible}(object, setting)}\cr \code{\link{gtkTextMarkGetVisible}(object)}\cr \code{\link{gtkTextMarkGetDeleted}(object)}\cr \code{\link{gtkTextMarkGetName}(object)}\cr \code{\link{gtkTextMarkGetBuffer}(object)}\cr \code{\link{gtkTextMarkGetLeftGravity}(object)}\cr \code{gtkTextMark(name, left.gravity)} } \section{Hierarchy}{\preformatted{GObject +----GtkTextMark}} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. A \code{\link{GtkTextMark}} is like a bookmark in a text buffer; it preserves a position in the text. You can convert the mark to an iterator using \code{\link{gtkTextBufferGetIterAtMark}}. Unlike iterators, marks remain valid across buffer mutations, because their behavior is defined when text is inserted or deleted. When text containing a mark is deleted, the mark remains in the position originally occupied by the deleted text. When text is inserted at a mark, a mark with \dfn{left gravity} will be moved to the beginning of the newly-inserted text, and a mark with \dfn{right gravity} will be moved to the end. \strong{PLEASE NOTE:} "left" and "right" here refer to logical direction (left is the toward the start of the buffer); in some languages such as Hebrew the logically-leftmost text is not actually on the left when displayed. Marks are reference counted, but the reference count only controls the validity of the memory; marks can be deleted from the buffer at any time with \code{\link{gtkTextBufferDeleteMark}}. Once deleted from the buffer, a mark is essentially useless. Marks optionally have names; these can be convenient to avoid passing the \code{\link{GtkTextMark}} object around. Marks are typically created using the \code{\link{gtkTextBufferCreateMark}} function.} \section{Structures}{\describe{\item{\verb{GtkTextMark}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkTextMark} is the equivalent of \code{\link{gtkTextMarkNew}}.} \section{Properties}{\describe{ \item{\verb{left-gravity} [logical : Read / Write / Construct Only]}{ Whether the mark has left gravity. Default value: FALSE } \item{\verb{name} [character : * : Read / Write / Construct Only]}{ Mark name. Default value: NULL } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTextMark.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonNew.Rd0000644000176000001440000000125712362217677015610 0ustar ripleyusers\alias{gtkToolButtonNew} \name{gtkToolButtonNew} \title{gtkToolButtonNew} \description{Creates a new \code{\link{GtkToolButton}} using \code{icon.widget} as icon and \code{label} as label.} \usage{gtkToolButtonNew(icon.widget = NULL, label = NULL, show = TRUE)} \arguments{ \item{\verb{icon.widget}}{a \code{\link{GtkMisc}} widget that will be used as icon widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{label}}{a string that will be used as label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] A new \code{\link{GtkToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetUpdatePolicy.Rd0000644000176000001440000000065212362217677017042 0ustar ripleyusers\alias{gtkRangeGetUpdatePolicy} \name{gtkRangeGetUpdatePolicy} \title{gtkRangeGetUpdatePolicy} \description{Gets the update policy of \code{range}. See \code{\link{gtkRangeSetUpdatePolicy}}.} \usage{gtkRangeGetUpdatePolicy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \value{[\code{\link{GtkUpdateType}}] the current update policy} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListClearItems.Rd0000644000176000001440000000144512362217677015710 0ustar ripleyusers\alias{gtkListClearItems} \name{gtkListClearItems} \title{gtkListClearItems} \description{ Removes the items between index \code{start} (included) and \code{end} (excluded) from the \code{list}. If \code{end} is negative, or greater than the number of children of \code{list}, it's assumed to be exactly the number of elements. If \code{start} is greater than or equal to \code{end}, nothing is done. \strong{WARNING: \code{gtk_list_clear_items} is deprecated and should not be used in newly-written code.} } \usage{gtkListClearItems(object, start, end)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{start}}{the index of the first item to remove.} \item{\verb{end}}{the index of the lest item to remove plus one.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSocketAddId.Rd0000644000176000001440000000200012362217677015126 0ustar ripleyusers\alias{gtkSocketAddId} \name{gtkSocketAddId} \title{gtkSocketAddId} \description{Adds an XEMBED client, such as a \code{\link{GtkPlug}}, to the \code{\link{GtkSocket}}. The client may be in the same process or in a different process. } \usage{gtkSocketAddId(object, window.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSocket}}} \item{\verb{window.id}}{the window ID of a client participating in the XEMBED protocol.} } \details{To embed a \code{\link{GtkPlug}} in a \code{\link{GtkSocket}}, you can either create the \code{\link{GtkPlug}} with \code{gtk_plug_new (0)}, call \code{\link{gtkPlugGetId}} to get the window ID of the plug, and then pass that to the \code{\link{gtkSocketAddId}}, or you can call \code{\link{gtkSocketGetId}} to get the window ID for the socket, and call \code{\link{gtkPlugNew}} passing in that ID. The \code{\link{GtkSocket}} must have already be added into a toplevel window before you can make this call.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonSetAlpha.Rd0000644000176000001440000000063112362217677016714 0ustar ripleyusers\alias{gtkColorButtonSetAlpha} \name{gtkColorButtonSetAlpha} \title{gtkColorButtonSetAlpha} \description{Sets the current opacity to be \code{alpha}.} \usage{gtkColorButtonSetAlpha(object, alpha)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorButton}}.} \item{\verb{alpha}}{an integer between 0 and 65535.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetFraction.Rd0000644000176000001440000000075712362217677017424 0ustar ripleyusers\alias{gtkProgressBarSetFraction} \name{gtkProgressBarSetFraction} \title{gtkProgressBarSetFraction} \description{Causes the progress bar to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.} \usage{gtkProgressBarSetFraction(object, fraction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}} \item{\verb{fraction}}{fraction of the task that's been completed} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionPaletteFromString.Rd0000644000176000001440000000132212362217677021274 0ustar ripleyusers\alias{gtkColorSelectionPaletteFromString} \name{gtkColorSelectionPaletteFromString} \title{gtkColorSelectionPaletteFromString} \description{Parses a color palette string; the string is a colon-separated list of color names readable by \code{\link{gdkColorParse}}.} \usage{gtkColorSelectionPaletteFromString(str)} \arguments{\item{\verb{str}}{a string encoding a color palette.}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if a palette was successfully parsed.} \item{\verb{colors}}{return location for allocated list of \code{\link{GdkColor}}.} \item{\verb{n.colors}}{return location for length of list.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamNew.Rd0000644000176000001440000000102312362217677017045 0ustar ripleyusers\alias{gBufferedInputStreamNew} \name{gBufferedInputStreamNew} \title{gBufferedInputStreamNew} \description{Creates a new \code{\link{GInputStream}} from the given \code{base.stream}, with a buffer set to the default size (4 kilobytes).} \usage{gBufferedInputStreamNew(base.stream = NULL)} \arguments{\item{\verb{base.stream}}{a \code{\link{GInputStream}}.}} \value{[\code{\link{GInputStream}}] a \code{\link{GInputStream}} for the given \code{base.stream}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkQuitRemove.Rd0000644000176000001440000000051212362217677015116 0ustar ripleyusers\alias{gtkQuitRemove} \name{gtkQuitRemove} \title{gtkQuitRemove} \description{Removes a quit handler by its identifier.} \usage{gtkQuitRemove(quit.handler.id)} \arguments{\item{\verb{quit.handler.id}}{Identifier for the handler returned when installing it.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetWindow.Rd0000644000176000001440000000141212362217677016425 0ustar ripleyusers\alias{gtkTextViewGetWindow} \name{gtkTextViewGetWindow} \title{gtkTextViewGetWindow} \description{Retrieves the \code{\link{GdkWindow}} corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer. Windows are \code{NULL} and nonexistent if their width or height is 0, and are nonexistent before the widget has been realized.} \usage{gtkTextViewGetWindow(object, win)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{win}}{window to get} } \value{[\code{\link{GdkWindow}}] a \code{\link{GdkWindow}}, or \code{NULL}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-High-level-Printing-API.Rd0000644000176000001440000006036212362217677017267 0ustar ripleyusers\alias{gtk-High-level-Printing-API} \alias{GtkPrintOperation} \alias{GtkPrintOperationPreview} \alias{gtkPrintOperation} \alias{GtkPageSetupDoneFunc} \alias{GtkPrintStatus} \alias{GtkPrintOperationAction} \alias{GtkPrintOperationResult} \alias{GtkPrintError} \name{gtk-High-level-Printing-API} \title{GtkPrintOperation} \description{High-level Printing API} \section{Methods and Functions}{ \code{\link{gtkPrintOperationNew}()}\cr \code{\link{gtkPrintOperationSetAllowAsync}(object, allow.async)}\cr \code{\link{gtkPrintOperationGetError}(object, .errwarn = TRUE)}\cr \code{\link{gtkPrintOperationSetDefaultPageSetup}(object, default.page.setup = NULL)}\cr \code{\link{gtkPrintOperationGetDefaultPageSetup}(object)}\cr \code{\link{gtkPrintOperationSetPrintSettings}(object, print.settings = NULL)}\cr \code{\link{gtkPrintOperationGetPrintSettings}(object)}\cr \code{\link{gtkPrintOperationSetJobName}(object, job.name)}\cr \code{\link{gtkPrintOperationSetNPages}(object, n.pages)}\cr \code{\link{gtkPrintOperationGetNPagesToPrint}(object)}\cr \code{\link{gtkPrintOperationSetCurrentPage}(object, current.page)}\cr \code{\link{gtkPrintOperationSetUseFullPage}(object, full.page)}\cr \code{\link{gtkPrintOperationSetUnit}(object, unit)}\cr \code{\link{gtkPrintOperationSetExportFilename}(object, filename)}\cr \code{\link{gtkPrintOperationSetShowProgress}(object, show.progress)}\cr \code{\link{gtkPrintOperationSetTrackPrintStatus}(object, track.status)}\cr \code{\link{gtkPrintOperationSetCustomTabLabel}(object, label)}\cr \code{\link{gtkPrintOperationRun}(object, action, parent = NULL, .errwarn = TRUE)}\cr \code{\link{gtkPrintOperationCancel}(object)}\cr \code{\link{gtkPrintOperationDrawPageFinish}(object)}\cr \code{\link{gtkPrintOperationSetDeferDrawing}(object)}\cr \code{\link{gtkPrintOperationGetStatus}(object)}\cr \code{\link{gtkPrintOperationGetStatusString}(object)}\cr \code{\link{gtkPrintOperationIsFinished}(object)}\cr \code{\link{gtkPrintOperationSetSupportSelection}(object, support.selection)}\cr \code{\link{gtkPrintOperationGetSupportSelection}(object)}\cr \code{\link{gtkPrintOperationSetHasSelection}(object, has.selection)}\cr \code{\link{gtkPrintOperationGetHasSelection}(object)}\cr \code{\link{gtkPrintOperationSetEmbedPageSetup}(object, embed)}\cr \code{\link{gtkPrintOperationGetEmbedPageSetup}(object)}\cr \code{\link{gtkPrintRunPageSetupDialog}(parent, page.setup = NULL, settings)}\cr \code{\link{gtkPrintRunPageSetupDialogAsync}(parent, page.setup, settings, done.cb, data)}\cr \code{\link{gtkPrintOperationPreviewEndPreview}(object)}\cr \code{\link{gtkPrintOperationPreviewIsSelected}(object, page.nr)}\cr \code{\link{gtkPrintOperationPreviewRenderPage}(object, page.nr)}\cr \code{gtkPrintOperation()} } \section{Hierarchy}{\preformatted{ GObject +----GtkPrintOperation GInterface +----GtkPrintOperationPreview }} \section{Implementations}{GtkPrintOperationPreview is implemented by \code{\link{GtkPrintOperation}}.} \section{Interfaces}{GtkPrintOperation implements \code{\link{GtkPrintOperationPreview}}.} \section{Detailed Description}{GtkPrintOperation is the high-level, portable printing API. It looks a bit different than other GTK+ dialogs such as the \code{\link{GtkFileChooser}}, since some platforms don't expose enough infrastructure to implement a good print dialog. On such platforms, GtkPrintOperation uses the native print dialog. On platforms which do not provide a native print dialog, GTK+ uses its own, see \verb{GtkPrintUnixDialog}. The typical way to use the high-level printing API is to create a \code{\link{GtkPrintOperation}} object with \code{\link{gtkPrintOperationNew}} when the user selects to print. Then you set some properties on it, e.g. the page size, any \code{\link{GtkPrintSettings}} from previous print operations, the number of pages, the current page, etc. Then you start the print operation by calling \code{\link{gtkPrintOperationRun}}. It will then show a dialog, let the user select a printer and options. When the user finished the dialog various signals will be emitted on the \code{\link{GtkPrintOperation}}, the main one being ::draw-page, which you are supposed to catch and render the page on the provided \code{\link{GtkPrintContext}} using Cairo. \emph{The high-level printing API} \preformatted{ settings <- NULL print_something <- { op <- gtkPrintOperation() if (!is.null(settings)) op$setPrintSettings(settings) gSignalConnect(op, "begin_print", begin_print) gSignalConnect(op, "draw_page", draw_page) res <- op$run("print-dialog", main_window)[[1]] if (res == "apply") settings <- op$getPrintSettings() } } By default GtkPrintOperation uses an external application to do print preview. To implement a custom print preview, an application must connect to the preview signal. The functions \code{gtkPrintOperationPrintPreviewRenderPage()}, \code{\link{gtkPrintOperationPreviewEndPreview}} and \code{\link{gtkPrintOperationPreviewIsSelected}} are useful when implementing a print preview. Printing support was added in GTK+ 2.10.} \section{Structures}{\describe{ \item{\verb{GtkPrintOperation}}{ \emph{undocumented } } \item{\verb{GtkPrintOperationPreview}}{ \emph{undocumented } } }} \section{Convenient Construction}{\code{gtkPrintOperation} is the equivalent of \code{\link{gtkPrintOperationNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GtkPrintStatus}}{ The status gives a rough indication of the completion of a running print operation. \describe{ \item{\verb{initial}}{The printing has not started yet; this status is set initially, and while the print dialog is shown.} \item{\verb{preparing}}{This status is set while the begin-print signal is emitted and during pagination.} \item{\verb{generating-data}}{This status is set while the pages are being rendered.} \item{\verb{sending-data}}{The print job is being sent off to the printer.} \item{\verb{pending}}{The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped.} \item{\verb{pending-issue}}{Some problem has occurred during printing, e.g. a paper jam.} \item{\verb{printing}}{The printer is processing the print job.} \item{\verb{finished}}{The printing has been completed successfully.} \item{\verb{finished-aborted}}{The printing has been aborted.} } } \item{\verb{GtkPrintOperationAction}}{ The \code{action} parameter to \code{\link{gtkPrintOperationRun}} determines what action the print operation should perform. \describe{ \item{\verb{print-dialog}}{Show the print dialog.} \item{\verb{print}}{Start to print without showing the print dialog, based on the current print settings.} \item{\verb{preview}}{Show the print preview.} \item{\verb{export}}{Export to a file. This requires the export-filename property to be set.} } } \item{\verb{GtkPrintOperationResult}}{ A value of this type is returned by \code{\link{gtkPrintOperationRun}}. \describe{ \item{\verb{error}}{An error has occured.} \item{\verb{apply}}{The print settings should be stored.} \item{\verb{cancel}}{The print operation has been canceled, the print settings should not be stored.} \item{\verb{in-progress}}{The print operation is not complete yet. This value will only be returned when running asynchronously.} } } \item{\verb{GtkPrintError}}{ Error codes that identify various errors that can occur while using the GTK+ printing support. \describe{ \item{\verb{general}}{An unspecified error occurred.} \item{\verb{internal-error}}{An internal error occurred.} \item{\verb{nomem}}{A memory allocation failed.} } } }} \section{User Functions}{\describe{\item{\code{GtkPageSetupDoneFunc(page.setup, data)}}{ The type of function that is passed to \code{\link{gtkPrintRunPageSetupDialogAsync}}. This function will be called when the page setup dialog is dismissed, and also serves as destroy notify for \code{data}. \describe{ \item{\code{page.setup}}{the \code{\link{GtkPageSetup}} that has been} \item{\code{data}}{user data that has been passed to \code{\link{gtkPrintRunPageSetupDialogAsync}}.} } }}} \section{Signals}{\describe{ \item{\code{begin-print(operation, context, user.data)}}{ Emitted after the user has finished changing print settings in the dialog, before the actual rendering starts. A typical use for ::begin-print is to use the parameters from the \code{\link{GtkPrintContext}} and paginate the document accordingly, and then set the number of pages with \code{\link{gtkPrintOperationSetNPages}}. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{context}}{the \code{\link{GtkPrintContext}} for the current operation} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{create-custom-widget(operation, user.data)}}{ Emitted when displaying the print dialog. If you return a widget in a handler for this signal it will be added to a custom tab in the print dialog. You typically return a container widget with multiple widgets in it. The print dialog owns the returned widget, and its lifetime is not controlled by the application. However, the widget is guaranteed to stay around until the \verb{"custom-widget-apply"} signal is emitted on the operation. Then you can read out any information you need from the widgets. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [\code{\link{GObject}}] A custom widget that gets embedded in the print dialog, or \code{NULL} } \item{\code{custom-widget-apply(operation, widget, user.data)}}{ Emitted right before \verb{"begin-print"} if you added a custom widget in the \verb{"create-custom-widget"} handler. When you get this signal you should read the information from the custom widgets, as the widgets are not guaraneed to be around at a later time. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{widget}}{the custom widget added in create-custom-widget} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{done(operation, result, user.data)}}{ Emitted when the print operation run has finished doing everything required for printing. \code{result} gives you information about what happened during the run. If \code{result} is \code{GTK_PRINT_OPERATION_RESULT_ERROR} then you can call \code{\link{gtkPrintOperationGetError}} for more information. If you enabled print status tracking then \code{\link{gtkPrintOperationIsFinished}} may still return \code{FALSE} after \verb{"done"} was emitted. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{result}}{the result of the print operation} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{draw-page(operation, context, page.nr, user.data)}}{ Emitted for every page that is printed. The signal handler must render the \code{page.nr}'s page onto the cairo context obtained from \code{context} using \code{\link{gtkPrintContextGetCairoContext}}. \preformatted{ draw_page <- (operation, context, page_nr, user_data) { cr <- context$getCairoContext() width <- context$getWidth() cr$rectangle(0, 0, width, HEADER_HEIGHT) cr$setSourceRgb(0.8, 0.8, 0.8) cr$fill() layout <- context$createPangoLayout() desc <- pangoFontDescriptionFromString("sans 14") layout$setFontDescription(desc) layout$setText("some text") layout$setWidth(width) layout$setAlignment(layout, "center") layout_height <- layout$getSize()$height text_height <- layout_height / PANGO_SCALE cr$moveTo(width / 2, (HEADER_HEIGHT - text_height) / 2) pangoCairoShowLayout(cr, layout) } } Use \code{\link{gtkPrintOperationSetUseFullPage}} and \code{\link{gtkPrintOperationSetUnit}} before starting the print operation to set up the transformation of the cairo context according to your needs. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{context}}{the \code{\link{GtkPrintContext}} for the current operation} \item{\code{page.nr}}{the number of the currently printed page (0-based)} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{end-print(operation, context, user.data)}}{ Emitted after all pages have been rendered. A handler for this signal can clean up any resources that have been allocated in the \verb{"begin-print"} handler. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{context}}{the \code{\link{GtkPrintContext}} for the current operation} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{paginate(operation, context, user.data)}}{ Emitted after the \verb{"begin-print"} signal, but before the actual rendering starts. It keeps getting emitted until a connected signal handler returns \code{TRUE}. The ::paginate signal is intended to be used for paginating a document in small chunks, to avoid blocking the user interface for a long time. The signal handler should update the number of pages using \code{\link{gtkPrintOperationSetNPages}}, and return \code{TRUE} if the document has been completely paginated. If you don't need to do pagination in chunks, you can simply do it all in the ::begin-print handler, and set the number of pages from there. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{context}}{the \code{\link{GtkPrintContext}} for the current operation} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if pagination is complete } \item{\code{preview(operation, preview, context, parent, user.data)}}{ Gets emitted when a preview is requested from the native dialog. The default handler for this signal uses an external viewer application to preview. To implement a custom print preview, an application must return \code{TRUE} from its handler for this signal. In order to use the provided \code{context} for the preview implementation, it must be given a suitable cairo context with \code{\link{gtkPrintContextSetCairoContext}}. The custom preview implementation can use \code{\link{gtkPrintOperationPreviewIsSelected}} and \code{\link{gtkPrintOperationPreviewRenderPage}} to find pages which are selected for print and render them. The preview must be finished by calling \code{\link{gtkPrintOperationPreviewEndPreview}} (typically in response to the user clicking a close button). Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{preview}}{the \verb{GtkPrintPreviewOperation} for the current operation} \item{\code{context}}{the \code{\link{GtkPrintContext}} that will be used} \item{\code{parent}}{the \code{\link{GtkWindow}} to use as window parent, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the listener wants to take over control of the preview } \item{\code{request-page-setup(operation, context, page.nr, setup, user.data)}}{ Emitted once for every page that is printed, to give the application a chance to modify the page setup. Any changes done to \code{setup} will be in force only for printing this page. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{context}}{the \code{\link{GtkPrintContext}} for the current operation} \item{\code{page.nr}}{the number of the currently printed page (0-based)} \item{\code{setup}}{the \code{\link{GtkPageSetup}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{status-changed(operation, user.data)}}{ Emitted at between the various phases of the print operation. See \code{\link{GtkPrintStatus}} for the phases that are being discriminated. Use \code{\link{gtkPrintOperationGetStatus}} to find out the current status. Since 2.10 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{update-custom-widget(operation, widget, setup, settings, user.data)}}{ Emitted after change of selected printer. The actual page setup and print settings are passed to the custom widget, which can actualize itself according to this change. Since 2.18 \describe{ \item{\code{operation}}{the \code{\link{GtkPrintOperation}} on which the signal was emitted} \item{\code{widget}}{the custom widget added in create-custom-widget} \item{\code{setup}}{actual page setup} \item{\code{settings}}{actual print settings} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{got-page-size(preview, context, page.setup, user.data)}}{ The ::got-page-size signal is emitted once for each page that gets rendered to the preview. A handler for this signal should update the \code{context} according to \code{page.setup} and set up a suitable cairo context, using \code{\link{gtkPrintContextSetCairoContext}}. \describe{ \item{\code{preview}}{the object on which the signal is emitted} \item{\code{context}}{the current \code{\link{GtkPrintContext}}} \item{\code{page.setup}}{the \code{\link{GtkPageSetup}} for the current page} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{ready(preview, context, user.data)}}{ The ::ready signal gets emitted once per preview operation, before the first page is rendered. A handler for this signal can be used for setup tasks. \describe{ \item{\code{preview}}{the object on which the signal is emitted} \item{\code{context}}{the current \code{\link{GtkPrintContext}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{allow-async} [logical : Read / Write]}{ Determines whether the print operation may run asynchronously or not. Some systems don't support asynchronous printing, but those that do will return \code{GTK_PRINT_OPERATION_RESULT_IN_PROGRESS} as the status, and emit the \verb{"done"} signal when the operation is actually done. The Windows port does not support asynchronous operation at all (this is unlikely to change). On other platforms, all actions except for \code{GTK_PRINT_OPERATION_ACTION_EXPORT} support asynchronous operation. Default value: FALSE Since 2.10 } \item{\verb{current-page} [integer : Read / Write]}{ The current page in the document. If this is set before \code{\link{gtkPrintOperationRun}}, the user will be able to select to print only the current page. Note that this only makes sense for pre-paginated documents. Allowed values: >= -1 Default value: -1 Since 2.10 } \item{\verb{custom-tab-label} [character : * : Read / Write]}{ Used as the label of the tab containing custom widgets. Note that this property may be ignored on some platforms. If this is \code{NULL}, GTK+ uses a default label. Default value: NULL Since 2.10 } \item{\verb{default-page-setup} [\code{\link{GtkPageSetup}} : * : Read / Write]}{ The \code{\link{GtkPageSetup}} used by default. This page setup will be used by \code{\link{gtkPrintOperationRun}}, but it can be overridden on a per-page basis by connecting to the \verb{"request-page-setup"} signal. Since 2.10 } \item{\verb{embed-page-setup} [logical : Read / Write]}{ If \code{TRUE}, page size combo box and orientation combo box are embedded into page setup page. Default value: FALSE Since 2.18 } \item{\verb{export-filename} [character : * : Read / Write]}{ The name of a file to generate instead of showing the print dialog. Currently, PDF is the only supported format. The intended use of this property is for implementing "Export to PDF" actions. "Print to PDF" support is independent of this and is done by letting the user pick the "Print to PDF" item from the list of printers in the print dialog. Default value: NULL Since 2.10 } \item{\verb{has-selection} [logical : Read / Write]}{ Determines whether there is a selection in your application. This can allow your application to print the selection. This is typically used to make a "Selection" button sensitive. Default value: FALSE Since 2.18 } \item{\verb{job-name} [character : * : Read / Write]}{ A string used to identify the job (e.g. in monitoring applications like eggcups). If you don't set a job name, GTK+ picks a default one by numbering successive print jobs. Default value: "" Since 2.10 } \item{\verb{n-pages} [integer : Read / Write]}{ The number of pages in the document. This \emph{must} be set to a positive number before the rendering starts. It may be set in a \verb{"begin-print"} signal hander. Note that the page numbers passed to the \verb{"request-page-setup"} and \verb{"draw-page"} signals are 0-based, i.e. if the user chooses to print all pages, the last ::draw-page signal will be for page \code{n.pages} - 1. Allowed values: >= -1 Default value: -1 Since 2.10 } \item{\verb{n-pages-to-print} [integer : Read]}{ The number of pages that will be printed. Note that this value is set during print preparation phase (\code{GTK_PRINT_STATUS_PREPARING}), so this value should never be get before the data generation phase (\code{GTK_PRINT_STATUS_GENERATING_DATA}). You can connect to the \verb{"status-changed"} signal and call \code{\link{gtkPrintOperationGetNPagesToPrint}} when print status is \code{GTK_PRINT_STATUS_GENERATING_DATA}. This is typically used to track the progress of print operation. Allowed values: >= -1 Default value: -1 Since 2.18 } \item{\verb{print-settings} [\code{\link{GtkPrintSettings}} : * : Read / Write]}{ The \code{\link{GtkPrintSettings}} used for initializing the dialog. Setting this property is typically used to re-establish print settings from a previous print operation, see \code{\link{gtkPrintOperationRun}}. Since 2.10 } \item{\verb{show-progress} [logical : Read / Write]}{ Determines whether to show a progress dialog during the print operation. Default value: FALSE Since 2.10 } \item{\verb{status} [\code{\link{GtkPrintStatus}} : Read]}{ The status of the print operation. Default value: GTK_PRINT_STATUS_INITIAL Since 2.10 } \item{\verb{status-string} [character : * : Read]}{ A string representation of the status of the print operation. The string is translated and suitable for displaying the print status e.g. in a \code{\link{GtkStatusbar}}. See the \verb{"status"} property for a status value that is suitable for programmatic use. Default value: "" Since 2.10 } \item{\verb{support-selection} [logical : Read / Write]}{ If \code{TRUE}, the print operation will support print of selection. This allows the print dialog to show a "Selection" button. Default value: FALSE Since 2.18 } \item{\verb{track-print-status} [logical : Read / Write]}{ If \code{TRUE}, the print operation will try to continue report on the status of the print job in the printer queues and printer. This can allow your application to show things like "out of paper" issues, and when the print job actually reaches the printer. However, this is often implemented using polling, and should not be enabled unless needed. Default value: FALSE Since 2.10 } \item{\verb{unit} [\code{\link{GtkUnit}} : Read / Write]}{ The transformation for the cairo context obtained from \code{\link{GtkPrintContext}} is set up in such a way that distances are measured in units of \code{unit}. Default value: GTK_UNIT_PIXEL Since 2.10 } \item{\verb{use-full-page} [logical : Read / Write]}{ If \code{TRUE}, the transformation for the cairo context obtained from \code{\link{GtkPrintContext}} puts the origin at the top left corner of the page (which may not be the top left corner of the sheet, depending on page orientation and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins). Default value: FALSE Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-High-level-Printing-API.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkPrintContext}}} \keyword{internal} RGtk2/man/gtkBoxPackStartDefaults.Rd0000644000176000001440000000161612362217677017061 0ustar ripleyusers\alias{gtkBoxPackStartDefaults} \name{gtkBoxPackStartDefaults} \title{gtkBoxPackStartDefaults} \description{ Adds \code{widget} to \code{box}, packed with reference to the start of \code{box}. The child is packed after any other child packed with reference to the start of \code{box}. \strong{WARNING: \code{gtk_box_pack_start_defaults} has been deprecated since version 2.14 and should not be used in newly-written code. Use \code{\link{gtkBoxPackStart}}} } \usage{gtkBoxPackStartDefaults(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{widget}}{the \code{\link{GtkWidget}} to be added to \code{box}} } \details{Parameters for how to pack the child \code{widget}, \verb{"expand"}, \verb{"fill"} and \verb{"padding"}, are given their default values, \code{TRUE}, \code{TRUE}, and 0, respectively.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentGetDocumentType.Rd0000644000176000001440000000072012362217677017570 0ustar ripleyusers\alias{atkDocumentGetDocumentType} \name{atkDocumentGetDocumentType} \title{atkDocumentGetDocumentType} \description{Gets a string indicating the document type.} \usage{atkDocumentGetDocumentType(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface}} \value{[character] a string indicating the document type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelRefNode.Rd0000644000176000001440000000165312362217677016150 0ustar ripleyusers\alias{gtkTreeModelRefNode} \name{gtkTreeModelRefNode} \title{gtkTreeModelRefNode} \description{Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons.} \usage{gtkTreeModelRefNode(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}.} } \details{This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its reffed state.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRaise.Rd0000644000176000001440000000120612362217677015232 0ustar ripleyusers\alias{gdkWindowRaise} \name{gdkWindowRaise} \title{gdkWindowRaise} \description{Raises \code{window} to the top of the Z-order (stacking order), so that other windows with the same parent window appear below \code{window}. This is true whether or not the windows are visible.} \usage{gdkWindowRaise(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{If \code{window} is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, \code{\link{gdkWindowRaise}} only requests the restack, does not guarantee it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextSetCaretOffset.Rd0000644000176000001440000000073712362217677016547 0ustar ripleyusers\alias{atkTextSetCaretOffset} \name{atkTextSetCaretOffset} \title{atkTextSetCaretOffset} \description{Sets the caret (cursor) position to the specified \code{offset}.} \usage{atkTextSetCaretOffset(object, offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] position} } \value{[logical] \code{TRUE} if success, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleCopy.Rd0000644000176000001440000000054212362217677014754 0ustar ripleyusers\alias{gtkStyleCopy} \name{gtkStyleCopy} \title{gtkStyleCopy} \description{Creates a copy of the passed in \code{\link{GtkStyle}} object.} \usage{gtkStyleCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStyle}}}} \value{[\code{\link{GtkStyle}}] a copy of \code{style}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetLength.Rd0000644000176000001440000000076212362217677017460 0ustar ripleyusers\alias{gtkPrintSettingsSetLength} \name{gtkPrintSettingsSetLength} \title{gtkPrintSettingsSetLength} \description{Associates a length in units of \code{unit} with \code{key}.} \usage{gtkPrintSettingsSetLength(object, key, value, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{value}}{a length} \item{\verb{unit}}{the unit of \code{length}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageIncludesScript.Rd0000644000176000001440000000235212362217677017740 0ustar ripleyusers\alias{pangoLanguageIncludesScript} \name{pangoLanguageIncludesScript} \title{pangoLanguageIncludesScript} \description{Determines if \code{script} is one of the scripts used to write \code{language}. The returned value is conservative; if nothing is known about the language tag \code{language}, \code{TRUE} will be returned, since, as far as Pango knows, \code{script} might be used to write \code{language}.} \usage{pangoLanguageIncludesScript(object, script)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}}, or \code{NULL}} \item{\verb{script}}{[\code{\link{PangoScript}}] a \code{\link{PangoScript}}} } \details{This routine is used in Pango's itemization process when determining if a supplied language tag is relevant to a particular section of text. It probably is not useful for applications in most circumstances. This function uses \code{\link{pangoLanguageGetScripts}} internally. Since 1.4} \value{[logical] \code{TRUE} if \code{script} is one of the scripts used to write \code{language} or if nothing is known about \code{language} (including the case that \code{language} is \code{NULL}), \code{FALSE} otherwise. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetTipArea.Rd0000644000176000001440000000141212362217677016372 0ustar ripleyusers\alias{gtkTooltipSetTipArea} \name{gtkTooltipSetTipArea} \title{gtkTooltipSetTipArea} \description{Sets the area of the widget, where the contents of this tooltip apply, to be \code{rect} (in widget coordinates). This is especially useful for properly setting tooltips on \code{\link{GtkTreeView}} rows and cells, \verb{GtkIconViews}, etc.} \usage{gtkTooltipSetTipArea(object, area)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{area}}{a \code{\link{GdkRectangle}}} } \details{For setting tooltips on \code{\link{GtkTreeView}}, please refer to the convenience functions for this: \code{\link{gtkTreeViewSetTooltipRow}} and \code{\link{gtkTreeViewSetTooltipCell}}. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderAddObjectsFromFile.Rd0000644000176000001440000000307112362217677017756 0ustar ripleyusers\alias{gtkBuilderAddObjectsFromFile} \name{gtkBuilderAddObjectsFromFile} \title{gtkBuilderAddObjectsFromFile} \description{Parses a file containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of \code{builder}. } \usage{gtkBuilderAddObjectsFromFile(object, filename, object.ids, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{filename}}{the name of the file to parse} \item{\verb{object.ids}}{array of objects to build} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon errors 0 will be returned and \code{error} will be assigned a \code{\link{GError}} from the \verb{GTK_BUILDER_ERROR}, \verb{G_MARKUP_ERROR} or \verb{G_FILE_ERROR} domain. \strong{PLEASE NOTE:} If you are adding an object that depends on an object that is not its child (for instance a \code{\link{GtkTreeView}} that depends on its \code{\link{GtkTreeModel}}), you have to explicitely list all of them in \code{object.ids}. Since 2.14} \value{ A list containing the following elements: \item{retval}{[numeric] A positive value on success, 0 if an error occurred} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \note{If you are adding an object that depends on an object that is not its child (for instance a \code{\link{GtkTreeView}} that depends on its \code{\link{GtkTreeModel}}), you have to explicitely list all of them in \code{object.ids}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsGetSupportedUriSchemes.Rd0000644000176000001440000000057312362217677017562 0ustar ripleyusers\alias{gVfsGetSupportedUriSchemes} \name{gVfsGetSupportedUriSchemes} \title{gVfsGetSupportedUriSchemes} \description{Gets a list of URI schemes supported by \code{vfs}.} \usage{gVfsGetSupportedUriSchemes(object)} \arguments{\item{\verb{object}}{a \code{\link{GVfs}}.}} \value{[character] a list of strings.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsCursorColor.Rd0000644000176000001440000000101712362217677020361 0ustar ripleyusers\alias{gdkDisplaySupportsCursorColor} \name{gdkDisplaySupportsCursorColor} \title{gdkDisplaySupportsCursorColor} \description{Returns \code{TRUE} if multicolored cursors are supported on \code{display}. Otherwise, cursors have only a forground and a background color.} \usage{gdkDisplaySupportsCursorColor(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.4} \value{[logical] whether cursors can have multiple colors.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayManagerGet.Rd0000644000176000001440000000077612362217677016352 0ustar ripleyusers\alias{gdkDisplayManagerGet} \name{gdkDisplayManagerGet} \title{gdkDisplayManagerGet} \description{Gets the singleton \code{\link{GdkDisplayManager}} object.} \usage{gdkDisplayManagerGet()} \details{Since 2.2} \value{[\code{\link{GdkDisplayManager}}] The global \code{\link{GdkDisplayManager}} singleton; \code{gdkParsePargs()}, \code{gdkInit()}, or \code{gdkInitCheck()} must have been called first. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetCreatePangoLayout.Rd0000644000176000001440000000157412362217677017561 0ustar ripleyusers\alias{gtkWidgetCreatePangoLayout} \name{gtkWidgetCreatePangoLayout} \title{gtkWidgetCreatePangoLayout} \description{Creates a new \code{\link{PangoLayout}} with the appropriate font map, font description, and base direction for drawing text for this widget.} \usage{gtkWidgetCreatePangoLayout(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{text}}{text to set on the layout (can be \code{NULL})} } \details{If you keep a \code{\link{PangoLayout}} created in this way around, in order to notify the layout of changes to the base direction or font of this widget, you must call \code{\link{pangoLayoutContextChanged}} in response to the \verb{"style-set"} and \verb{"direction-changed"} signals for the widget.} \value{[\code{\link{PangoLayout}}] the new \code{\link{PangoLayout}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitor.Rd0000644000176000001440000000212712362217677014712 0ustar ripleyusers\alias{gFileMonitor} \name{gFileMonitor} \title{gFileMonitor} \description{Obtains a file or directory monitor for the given file, depending on the type of the file.} \usage{gFileMonitor(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}} \item{\verb{flags}}{a set of \code{\link{GFileMonitorFlags}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Since 2.18} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileMonitor}}] a \code{\link{GFileMonitor}} for the given \code{file}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetGeometryHints.Rd0000644000176000001440000000147712362217677017476 0ustar ripleyusers\alias{gtkWindowSetGeometryHints} \name{gtkWindowSetGeometryHints} \title{gtkWindowSetGeometryHints} \description{This function sets up hints about how a window can be resized by the user. You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See the \code{\link{GdkGeometry}} struct.} \usage{gtkWindowSetGeometryHints(object, geometry.widget, geometry)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{geometry.widget}}{widget the geometry hints will be applied to or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{geometry}}{struct containing geometry information or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableSetEditable.Rd0000644000176000001440000000071212362217677016637 0ustar ripleyusers\alias{gtkEditableSetEditable} \name{gtkEditableSetEditable} \title{gtkEditableSetEditable} \description{Determines if the user can edit the text in the editable widget or not.} \usage{gtkEditableSetEditable(object, is.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{is.editable}}{\code{TRUE} if the user is allowed to edit the text in the widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoShowErrorUnderline.Rd0000644000176000001440000000166712362217677020127 0ustar ripleyusers\alias{pangoCairoShowErrorUnderline} \name{pangoCairoShowErrorUnderline} \title{pangoCairoShowErrorUnderline} \description{Draw a squiggly line in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle)} \usage{pangoCairoShowErrorUnderline(cr, x, y, width, height)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{x}}{[numeric] The X coordinate of one corner of the rectangle} \item{\verb{y}}{[numeric] The Y coordinate of one corner of the rectangle} \item{\verb{width}}{[numeric] Non-negative width of the rectangle} \item{\verb{height}}{[numeric] Non-negative height of the rectangle} } \details{ Since 1.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetNChannels.Rd0000644000176000001440000000052212362217677016466 0ustar ripleyusers\alias{gdkPixbufGetNChannels} \name{gdkPixbufGetNChannels} \title{gdkPixbufGetNChannels} \description{Queries the number of channels of a pixbuf.} \usage{gdkPixbufGetNChannels(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[integer] Number of channels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMcNodeLocal.Rd0000644000176000001440000000072712362217677017671 0ustar ripleyusers\alias{gInetAddressGetIsMcNodeLocal} \name{gInetAddressGetIsMcNodeLocal} \title{gInetAddressGetIsMcNodeLocal} \description{Tests whether \code{address} is a node-local multicast address.} \usage{gInetAddressGetIsMcNodeLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a node-local multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRemoveFilter.Rd0000644000176000001440000000065012362217677016574 0ustar ripleyusers\alias{gdkWindowRemoveFilter} \name{gdkWindowRemoveFilter} \title{gdkWindowRemoveFilter} \description{Remove a filter previously added with \code{\link{gdkWindowAddFilter}}.} \usage{gdkWindowRemoveFilter(object, fun, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{data}}{user data for previously-added filter function} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserMenuGetShowNumbers.Rd0000644000176000001440000000075112362217677021250 0ustar ripleyusers\alias{gtkRecentChooserMenuGetShowNumbers} \name{gtkRecentChooserMenuGetShowNumbers} \title{gtkRecentChooserMenuGetShowNumbers} \description{Returns the value set by \code{\link{gtkRecentChooserMenuSetShowNumbers}}.} \usage{gtkRecentChooserMenuGetShowNumbers(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooserMenu}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if numbers should be shown.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMiscGetAlignment.Rd0000644000176000001440000000121612362217677016212 0ustar ripleyusers\alias{gtkMiscGetAlignment} \name{gtkMiscGetAlignment} \title{gtkMiscGetAlignment} \description{Gets the X and Y alignment of the widget within its allocation. See \code{\link{gtkMiscSetAlignment}}.} \usage{gtkMiscGetAlignment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMisc}}}} \value{ A list containing the following elements: \item{\verb{xalign}}{location to store X alignment of \code{misc}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{yalign}}{location to store Y alignment of \code{misc}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGroupNew.Rd0000644000176000001440000000065012362217677015757 0ustar ripleyusers\alias{gtkWindowGroupNew} \name{gtkWindowGroupNew} \title{gtkWindowGroupNew} \description{Creates a new \code{\link{GtkWindowGroup}} object. Grabs added with \code{\link{gtkGrabAdd}} only affect windows within the same \code{\link{GtkWindowGroup}}.} \usage{gtkWindowGroupNew()} \value{[\code{\link{GtkWindowGroup}}] a new \code{\link{GtkWindowGroup}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemNewWithLabel.Rd0000644000176000001440000000070112362217677017752 0ustar ripleyusers\alias{gtkImageMenuItemNewWithLabel} \name{gtkImageMenuItemNewWithLabel} \title{gtkImageMenuItemNewWithLabel} \description{Creates a new \code{\link{GtkImageMenuItem}} containing a label.} \usage{gtkImageMenuItemNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{the text of the menu item.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImageMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextAttributeForName.Rd0000644000176000001440000000117012362217677017071 0ustar ripleyusers\alias{atkTextAttributeForName} \name{atkTextAttributeForName} \title{atkTextAttributeForName} \description{Get the \code{\link{AtkTextAttribute}} type corresponding to a text attribute name.} \usage{atkTextAttributeForName(name)} \arguments{\item{\verb{name}}{[character] a string which is the (non-localized) name of an ATK text attribute.}} \value{[\code{\link{AtkTextAttribute}}] the \code{\link{AtkTextAttribute}} enumerated type corresponding to the specified name, or \verb{ATK_TEXT_ATTRIBUTE_INVALID} if no matching text attribute is found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamReadFinish.Rd0000644000176000001440000000127712362217677016700 0ustar ripleyusers\alias{gInputStreamReadFinish} \name{gInputStreamReadFinish} \title{gInputStreamReadFinish} \description{Finishes an asynchronous stream read operation.} \usage{gInputStreamReadFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] number of bytes read in, or -1 on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawText.Rd0000644000176000001440000000156712362217677014553 0ustar ripleyusers\alias{gdkDrawText} \name{gdkDrawText} \title{gdkDrawText} \description{ Draws a number of characters in the given font or fontset. \strong{WARNING: \code{gdk_draw_text} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gdkDrawLayout}} instead.} } \usage{gdkDrawText(object, font, gc, x, y, text, text.length)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{font}}{a \code{\link{GdkFont}}.} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x coordinate of the left edge of the text.} \item{\verb{y}}{the y coordinate of the baseline of the text.} \item{\verb{text}}{the characters to draw.} \item{\verb{text.length}}{the number of characters of \code{text} to draw.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGroupListWindows.Rd0000644000176000001440000000103112362217677017506 0ustar ripleyusers\alias{gtkWindowGroupListWindows} \name{gtkWindowGroupListWindows} \title{gtkWindowGroupListWindows} \description{Returns a list of the \verb{GtkWindows} that belong to \code{window.group}.} \usage{gtkWindowGroupListWindows(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindowGroup}}}} \details{Since 2.14} \value{[list] A newly-allocated list of windows inside the group. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCCopy.Rd0000644000176000001440000000056512362217677014132 0ustar ripleyusers\alias{gdkGCCopy} \name{gdkGCCopy} \title{gdkGCCopy} \description{Copy the set of values from one graphics context onto another graphics context.} \usage{gdkGCCopy(object, src.gc)} \arguments{ \item{\verb{object}}{the destination graphics context.} \item{\verb{src.gc}}{the source graphics context.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSeparatorNew.Rd0000644000176000001440000000046512362217677015547 0ustar ripleyusers\alias{gtkHSeparatorNew} \name{gtkHSeparatorNew} \title{gtkHSeparatorNew} \description{Creates a new \code{\link{GtkHSeparator}}.} \usage{gtkHSeparatorNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkHSeparator}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetResizable.Rd0000644000176000001440000000127212362217677020247 0ustar ripleyusers\alias{gtkTreeViewColumnSetResizable} \name{gtkTreeViewColumnSetResizable} \title{gtkTreeViewColumnSetResizable} \description{If \code{resizable} is \code{TRUE}, then the user can explicitly resize the column by grabbing the outer edge of the column button. If resizable is \code{TRUE} and sizing mode of the column is \verb{GTK_TREE_VIEW_COLUMN_AUTOSIZE}, then the sizing mode is changed to \verb{GTK_TREE_VIEW_COLUMN_GROW_ONLY}.} \usage{gtkTreeViewColumnSetResizable(object, resizable)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}} \item{\verb{resizable}}{\code{TRUE}, if the column can be resized} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetChildVisible.Rd0000644000176000001440000000115112362217677017163 0ustar ripleyusers\alias{gtkWidgetGetChildVisible} \name{gtkWidgetGetChildVisible} \title{gtkWidgetGetChildVisible} \description{Gets the value set with \code{\link{gtkWidgetSetChildVisible}}. If you feel a need to use this function, your code probably needs reorganization. } \usage{gtkWidgetGetChildVisible(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{This function is only useful for container implementations and never should be called by an application.} \value{[logical] \code{TRUE} if the widget is mapped with the parent.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsNewFromFile.Rd0000644000176000001440000000173412362217677017740 0ustar ripleyusers\alias{gtkPrintSettingsNewFromFile} \name{gtkPrintSettingsNewFromFile} \title{gtkPrintSettingsNewFromFile} \description{Reads the print settings from \code{file.name}. Returns a new \code{\link{GtkPrintSettings}} object with the restored settings, or \code{NULL} if an error occurred. If the file could not be loaded then error is set to either a \code{\link{GFileError}} or \verb{GKeyFileError}. See \code{\link{gtkPrintSettingsToFile}}.} \usage{gtkPrintSettingsNewFromFile(file.name, .errwarn = TRUE)} \arguments{ \item{\verb{file.name}}{the filename to read the settings from} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPrintSettings}}] the restored \code{\link{GtkPrintSettings}}} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemSplit.Rd0000644000176000001440000000224412362217677016257 0ustar ripleyusers\alias{pangoGlyphItemSplit} \name{pangoGlyphItemSplit} \title{pangoGlyphItemSplit} \description{Modifies \code{orig} to cover only the text after \code{split.index}, and returns a new item that covers the text before \code{split.index} that used to be in \code{orig}. You can think of \code{split.index} as the length of the returned item. \code{split.index} may not be 0, and it may not be greater than or equal to the length of \code{orig} (that is, there must be at least one byte assigned to each item, you can't create a zero-length item).} \usage{pangoGlyphItemSplit(orig, text, split.index)} \arguments{ \item{\verb{orig}}{[\code{\link{PangoGlyphItem}}] a \code{\link{PangoItem}}} \item{\verb{text}}{[char] text to which positions in \code{orig} apply} \item{\verb{split.index}}{[integer] byte index of position to split item, relative to the start of the item} } \details{This function is similar in function to \code{\link{pangoItemSplit}} (and uses it internally.) Since 1.2} \value{[\code{\link{PangoGlyphItem}}] the newly allocated item representing text before \code{split.index},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointGetRequiredType.Rd0000644000176000001440000000102612362217677020741 0ustar ripleyusers\alias{gIoExtensionPointGetRequiredType} \name{gIoExtensionPointGetRequiredType} \title{gIoExtensionPointGetRequiredType} \description{Gets the required type for \code{extension.point}.} \usage{gIoExtensionPointGetRequiredType(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOExtensionPoint}}}} \value{[\code{\link{GType}}] the \code{\link{GType}} that all implementations must have, or \verb{G_TYPE_INVALID} if the extension point has no required type} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeDragSourceRowDraggable.Rd0000644000176000001440000000116112362217677020156 0ustar ripleyusers\alias{gtkTreeDragSourceRowDraggable} \name{gtkTreeDragSourceRowDraggable} \title{gtkTreeDragSourceRowDraggable} \description{Asks the \code{\link{GtkTreeDragSource}} whether a particular row can be used as the source of a DND operation. If the source doesn't implement this interface, the row is assumed draggable.} \usage{gtkTreeDragSourceRowDraggable(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeDragSource}}} \item{\verb{path}}{row on which user is initiating a drag} } \value{[logical] \code{TRUE} if the row can be dragged} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserWidgetNew.Rd0000644000176000001440000000071212362217677017401 0ustar ripleyusers\alias{gtkRecentChooserWidgetNew} \name{gtkRecentChooserWidgetNew} \title{gtkRecentChooserWidgetNew} \description{Creates a new \code{\link{GtkRecentChooserWidget}} object. This is an embeddable widget used to access the recently used resources list.} \usage{gtkRecentChooserWidgetNew()} \details{Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetMdiZorder.Rd0000644000176000001440000000135512362217677016504 0ustar ripleyusers\alias{atkObjectGetMdiZorder} \name{atkObjectGetMdiZorder} \title{atkObjectGetMdiZorder} \description{ Gets the zorder of the accessible. The value G_MININT will be returned if the layer of the accessible is not ATK_LAYER_MDI. \strong{WARNING: \code{atk_object_get_mdi_zorder} is deprecated and should not be used in newly-written code. Use atk_component_get_mdi_zorder instead.} } \usage{atkObjectGetMdiZorder(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[integer] a gint which is the zorder of the accessible, i.e. the depth at which the component is shown in relation to other components in the same container.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconPrependName.Rd0000644000176000001440000000124412362217677016620 0ustar ripleyusers\alias{gThemedIconPrependName} \name{gThemedIconPrependName} \title{gThemedIconPrependName} \description{Prepend a name to the list of icons from within \code{icon}.} \usage{gThemedIconPrependName(object, iconname)} \arguments{ \item{\verb{object}}{a \code{\link{GThemedIcon}}} \item{\verb{iconname}}{name of icon to prepend to list of icons from within \code{icon}.} } \details{\strong{PLEASE NOTE:} Note that doing so invalidates the hash computed by prior calls to \code{\link{gIconHash}}. Since 2.18} \note{Note that doing so invalidates the hash computed by prior calls to \code{\link{gIconHash}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetVersion.Rd0000644000176000001440000000071412362217677017236 0ustar ripleyusers\alias{gtkAboutDialogSetVersion} \name{gtkAboutDialogSetVersion} \title{gtkAboutDialogSetVersion} \description{Sets the version string to display in the about dialog.} \usage{gtkAboutDialogSetVersion(object, version = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{version}}{the version string. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetIndent.Rd0000644000176000001440000000066212362217677016421 0ustar ripleyusers\alias{gtkTextViewSetIndent} \name{gtkTextViewSetIndent} \title{gtkTextViewSetIndent} \description{Sets the default indentation for paragraphs in \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewSetIndent(object, indent)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{indent}}{indentation in pixels} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetAcceptFocus.Rd0000644000176000001440000000076512362217677017073 0ustar ripleyusers\alias{gtkWindowSetAcceptFocus} \name{gtkWindowSetAcceptFocus} \title{gtkWindowSetAcceptFocus} \description{Windows may set a hint asking the desktop environment not to receive the input focus. This function sets this hint.} \usage{gtkWindowSetAcceptFocus(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to let this window receive input focus} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetColorCube.Rd0000644000176000001440000000121612362217677016713 0ustar ripleyusers\alias{gtkPreviewSetColorCube} \name{gtkPreviewSetColorCube} \title{gtkPreviewSetColorCube} \description{ This function is deprecated and does nothing. GdkRGB automatically picks an optimium color cube for the display. \strong{WARNING: \code{gtk_preview_set_color_cube} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetColorCube(nred.shades, ngreen.shades, nblue.shades, ngray.shades)} \arguments{ \item{\verb{nred.shades}}{ignored} \item{\verb{ngreen.shades}}{ignored} \item{\verb{nblue.shades}}{ignored} \item{\verb{ngray.shades}}{ignored} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonNewFromStock.Rd0000644000176000001440000000121212362217677017427 0ustar ripleyusers\alias{gtkToolButtonNewFromStock} \name{gtkToolButtonNewFromStock} \title{gtkToolButtonNewFromStock} \description{Creates a new \code{\link{GtkToolButton}} containing the image and text from a stock item. Some stock ids have preprocessor functions like \verb{GTK_STOCK_OK} and \verb{GTK_STOCK_APPLY}.} \usage{gtkToolButtonNewFromStock(stock.id, show = TRUE)} \arguments{\item{\verb{stock.id}}{the name of the stock item}} \details{It is an error if \code{stock.id} is not a name of a stock item. Since 2.4} \value{[\code{\link{GtkToolItem}}] A new \code{\link{GtkToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetFontMap.Rd0000644000176000001440000000074712362217677016720 0ustar ripleyusers\alias{pangoContextGetFontMap} \name{pangoContextGetFontMap} \title{pangoContextGetFontMap} \description{Gets the \verb{PangoFontmap} used to look up fonts for this context.} \usage{pangoContextGetFontMap(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \details{ Since 1.6} \value{[\code{\link{PangoFontMap}}] the font map for the \code{\link{PangoContext}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellSelectFirst.Rd0000644000176000001440000000124312362217677017064 0ustar ripleyusers\alias{gtkMenuShellSelectFirst} \name{gtkMenuShellSelectFirst} \title{gtkMenuShellSelectFirst} \description{Select the first visible or selectable child of the menu shell; don't select tearoff items unless the only item is a tearoff item.} \usage{gtkMenuShellSelectFirst(object, search.sensitive)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}} \item{\verb{search.sensitive}}{if \code{TRUE}, search for the first selectable menu item, otherwise select nothing if the first item isn't sensitive. This should be \code{FALSE} if the menu is being popped up initially.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonNew.Rd0000644000176000001440000000104612362217677016563 0ustar ripleyusers\alias{gtkRadioToolButtonNew} \name{gtkRadioToolButtonNew} \title{gtkRadioToolButtonNew} \description{Creates a new \code{\link{GtkRadioToolButton}}, adding it to \code{group}.} \usage{gtkRadioToolButtonNew(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{An existing radio button group, or \code{NULL} if you are creating a new group. \emph{[ \acronym{allow-none} ]}}} \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] The new \code{\link{GtkRadioToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferAddSelectionClipboard.Rd0000644000176000001440000000120612362217677021174 0ustar ripleyusers\alias{gtkTextBufferAddSelectionClipboard} \name{gtkTextBufferAddSelectionClipboard} \title{gtkTextBufferAddSelectionClipboard} \description{Adds \code{clipboard} to the list of clipboards in which the selection contents of \code{buffer} are available. In most cases, \code{clipboard} will be the \code{\link{GtkClipboard}} of type \code{GDK_SELECTION_PRIMARY} for a view of \code{buffer}.} \usage{gtkTextBufferAddSelectionClipboard(object, clipboard)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{clipboard}}{a \code{\link{GtkClipboard}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetHasSelection.Rd0000644000176000001440000000117612362217677020760 0ustar ripleyusers\alias{gtkPrintOperationSetHasSelection} \name{gtkPrintOperationSetHasSelection} \title{gtkPrintOperationSetHasSelection} \description{Sets whether there is a selection to print.} \usage{gtkPrintOperationSetHasSelection(object, has.selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{has.selection}}{\code{TRUE} indicates that a selection exists} } \details{Application has to set number of pages to which the selection will draw by \code{\link{gtkPrintOperationSetNPages}} in a callback of \verb{"begin-print"}. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetFontMap.Rd0000644000176000001440000000121412362217677016722 0ustar ripleyusers\alias{pangoContextSetFontMap} \name{pangoContextSetFontMap} \title{pangoContextSetFontMap} \description{Sets the font map to be searched when fonts are looked-up in this context. This is only for internal use by Pango backends, a \code{\link{PangoContext}} obtained via one of the recommended methods should already have a suitable font map.} \usage{pangoContextSetFontMap(object, font.map)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{font.map}}{[\code{\link{PangoFontMap}}] the \code{\link{PangoFontMap}} to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionBetterMatch.Rd0000644000176000001440000000240212362217677020572 0ustar ripleyusers\alias{pangoFontDescriptionBetterMatch} \name{pangoFontDescriptionBetterMatch} \title{pangoFontDescriptionBetterMatch} \description{Determines if the style attributes of \code{new.match} are a closer match for \code{desc} than those of \code{old.match} are, or if \code{old.match} is \code{NULL}, determines if \code{new.match} is a match at all. Approximate matching is done for weight and style; other style attributes must match exactly. Style attributes are all attributes other than family and size-related attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC as matches, but not as good a match as when the styles are equal.} \usage{pangoFontDescriptionBetterMatch(object, old.match = NULL, new.match)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{old.match}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}, or \code{NULL}} \item{\verb{new.match}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} } \details{Note that \code{old.match} must match \code{desc}. } \value{[logical] \code{TRUE} if \code{new.match} is a better match} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemGetLabel.Rd0000644000176000001440000000072312362217677016145 0ustar ripleyusers\alias{gtkMenuItemGetLabel} \name{gtkMenuItemGetLabel} \title{gtkMenuItemGetLabel} \description{Sets \code{text} on the \code{menu.item} label} \usage{gtkMenuItemGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuItem}}}} \details{Since 2.16} \value{[character] The text in the \code{menu.item} label. This is the internal string used by the label, and must not be modified.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetVisible.Rd0000644000176000001440000000065612362217677017115 0ustar ripleyusers\alias{gtkStatusIconSetVisible} \name{gtkStatusIconSetVisible} \title{gtkStatusIconSetVisible} \description{Shows or hides a status icon.} \usage{gtkStatusIconSetVisible(object, visible)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{visible}}{\code{TRUE} to show the status icon, \code{FALSE} to hide it} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableSetBuildableProperty.Rd0000644000176000001440000000107512362217677020733 0ustar ripleyusers\alias{gtkBuildableSetBuildableProperty} \name{gtkBuildableSetBuildableProperty} \title{gtkBuildableSetBuildableProperty} \description{Sets the property name \code{name} to \code{value} on the \code{buildable} object.} \usage{gtkBuildableSetBuildableProperty(object, builder, name, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}}} \item{\verb{name}}{name of property} \item{\verb{value}}{value of property} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetTagTable.Rd0000644000176000001440000000071012362217677017140 0ustar ripleyusers\alias{gtkTextBufferGetTagTable} \name{gtkTextBufferGetTagTable} \title{gtkTextBufferGetTagTable} \description{Get the \code{\link{GtkTextTagTable}} associated with this buffer.} \usage{gtkTextBufferGetTagTable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{[\code{\link{GtkTextTagTable}}] the buffer's tag table. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetDefaultColormap.Rd0000644000176000001440000000075112362217677017724 0ustar ripleyusers\alias{gtkWidgetSetDefaultColormap} \name{gtkWidgetSetDefaultColormap} \title{gtkWidgetSetDefaultColormap} \description{Sets the default colormap to use when creating widgets. \code{\link{gtkWidgetPushColormap}} is a better function to use if you only want to affect a few widgets, rather than all widgets.} \usage{gtkWidgetSetDefaultColormap(colormap)} \arguments{\item{\verb{colormap}}{a \code{\link{GdkColormap}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFileSelection.Rd0000644000176000001440000001356212362217677015514 0ustar ripleyusers\alias{GtkFileSelection} \alias{gtkFileSelection} \name{GtkFileSelection} \title{GtkFileSelection} \description{Prompt the user for a file or directory name} \section{Methods and Functions}{ \code{\link{gtkFileSelectionNew}(title = NULL, show = TRUE)}\cr \code{\link{gtkFileSelectionComplete}(object, pattern)}\cr \code{\link{gtkFileSelectionShowFileopButtons}(object)}\cr \code{\link{gtkFileSelectionHideFileopButtons}(object)}\cr \code{\link{gtkFileSelectionSetSelectMultiple}(object, select.multiple)}\cr \code{\link{gtkFileSelectionGetSelectMultiple}(object)}\cr \code{gtkFileSelection(title = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFileSelection}} \section{Interfaces}{GtkFileSelection implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkFileSelection}} has been superseded by the newer \code{\link{GtkFileChooser}} family of widgets. \code{\link{GtkFileSelection}} should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed. File selection dialogs are created with a call to \code{\link{gtkFileSelectionNew}}. The default filename can be set using \code{\link{gtkFileSelectionSetFilename}} and the selected filename retrieved using \code{\link{gtkFileSelectionGetFilename}}. Use \code{\link{gtkFileSelectionComplete}} to display files and directories that match a given pattern. This can be used for example, to show only *.txt files, or only files beginning with gtk*. Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. These can be hidden using \code{\link{gtkFileSelectionHideFileopButtons}} and shown again using \code{\link{gtkFileSelectionShowFileopButtons}}. \emph{Getting a filename from the user.} \preformatted{ # Getting a filename from a user # Note how much easier GtkFileChooser is to use store_filename <- function(widget, file_selector) { selected_filename <- file_selector$getFilename(); print(paste("Selected filename:", selected_filename)) } create_file_selection <- function() { ## Create the selector file_selector <- gtkFileSelection("Please select a file for editing.", show = FALSE) gSignalConnect(file_selector[["ok_button"]], "clicked", store_filename, file_selector) ## Ensure that the dialog box is destroyed when the user clicks a button. gSignalConnect(file_selector[["ok_button"]], "clicked", gtkWidgetDestroy, file_selector, user.data.first = TRUE) gSignalConnect(file_selector[["cancel_button"]], "clicked", gtkWidgetDestroy, file_selector, user.data.first = TRUE) ## Display that dialog file_selector$show() } }} \section{Structures}{\describe{\item{\verb{GtkFileSelection}}{ \strong{WARNING: \code{GtkFileSelection} is deprecated and should not be used in newly-written code.} The \code{\link{GtkFileSelection}} struct contains the following \code{\link{GtkWidget}} fields: \describe{ \item{\verb{dirList}}{[\code{\link{GtkWidget}}] } \item{\verb{fileList}}{[\code{\link{GtkWidget}}] } \item{\verb{selectionEntry}}{[\code{\link{GtkWidget}}] } \item{\verb{selectionText}}{[\code{\link{GtkWidget}}] } \item{\verb{mainVbox}}{[\code{\link{GtkWidget}}] } \item{\verb{okButton}}{[\code{\link{GtkWidget}}] } \item{\verb{cancelButton}}{[\code{\link{GtkWidget}}] the two main buttons that signals should be connected to in order to perform an action when the user hits either OK or Cancel.} \item{\verb{helpButton}}{[\code{\link{GtkWidget}}] } \item{\verb{historyPulldown}}{[\code{\link{GtkWidget}}] the \code{\link{GtkOptionMenu}} used to create the drop-down directory history.} \item{\verb{historyMenu}}{[\code{\link{GtkWidget}}] } \item{\verb{fileopDialog}}{[\code{\link{GtkWidget}}] } \item{\verb{fileopEntry}}{[\code{\link{GtkWidget}}] the dialog box used to display the \code{\link{GtkFileSelection}}. It can be customized by adding/removing widgets from it using the standard \code{\link{GtkDialog}} functions.} \item{\verb{fileopFile}}{[character] } \item{\verb{fileopCDir}}{[\code{\link{GtkWidget}}] } \item{\verb{fileopDelFile}}{[\code{\link{GtkWidget}}] } \item{\verb{fileopRenFile}}{[\code{\link{GtkWidget}}] } \item{\verb{buttonArea}}{[\code{\link{GtkWidget}}] } \item{\verb{actionArea}}{[\code{\link{GtkWidget}}] the buttons that appear at the top of the file selection dialog. These "operation buttons" can be hidden and redisplayed with \code{\link{gtkFileSelectionHideFileopButtons}} and \code{\link{gtkFileSelectionShowFileopButtons}} respectively.} } }}} \section{Convenient Construction}{\code{gtkFileSelection} is the equivalent of \code{\link{gtkFileSelectionNew}}.} \section{Properties}{\describe{ \item{\verb{filename} [character : * : Read / Write]}{ The currently selected filename. Default value: NULL } \item{\verb{select-multiple} [logical : Read / Write]}{ Whether to allow multiple files to be selected. Default value: FALSE } \item{\verb{show-fileops} [logical : Read / Write]}{ Whether buttons for creating/manipulating files should be displayed. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFileSelection.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreePreRecursiveToDepth.Rd0000644000176000001440000000165012362217677017653 0ustar ripleyusers\alias{gtkCTreePreRecursiveToDepth} \name{gtkCTreePreRecursiveToDepth} \title{gtkCTreePreRecursiveToDepth} \description{ Recursively apply a function to nodes up to a certain depth. The function is called for each node after it has been called for that node's children. \strong{WARNING: \code{gtk_ctree_pre_recursive_to_depth} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreePreRecursiveToDepth(object, node, depth, func, data = NULL)} \arguments{ \item{\verb{object}}{The node where to start.} \item{\verb{node}}{The maximum absolute depth for applying the function. If depth is negative, this function just calls \code{\link{gtkCTreePostRecursive}}.} \item{\verb{depth}}{The function to apply to each node.} \item{\verb{func}}{A closure argument given to each invocation of the function.} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleApplyDefaultBackground.Rd0000644000176000001440000000134712362217677020440 0ustar ripleyusers\alias{gtkStyleApplyDefaultBackground} \name{gtkStyleApplyDefaultBackground} \title{gtkStyleApplyDefaultBackground} \description{\emph{undocumented }} \usage{gtkStyleApplyDefaultBackground(object, window, set.bg, state.type, area = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{window}}{\emph{undocumented }} \item{\verb{set.bg}}{\emph{undocumented }} \item{\verb{state.type}}{\emph{undocumented }} \item{\verb{area}}{\emph{undocumented }} \item{\verb{x}}{\emph{undocumented }} \item{\verb{y}}{\emph{undocumented }} \item{\verb{width}}{\emph{undocumented }} \item{\verb{height}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryUnsetInvisibleChar.Rd0000644000176000001440000000070012362217677017600 0ustar ripleyusers\alias{gtkEntryUnsetInvisibleChar} \name{gtkEntryUnsetInvisibleChar} \title{gtkEntryUnsetInvisibleChar} \description{Unsets the invisible char previously set with \code{\link{gtkEntrySetInvisibleChar}}. So that the default invisible char is used again.} \usage{gtkEntryUnsetInvisibleChar(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetActiveWindow.Rd0000644000176000001440000000160012362217677017200 0ustar ripleyusers\alias{gdkScreenGetActiveWindow} \name{gdkScreenGetActiveWindow} \title{gdkScreenGetActiveWindow} \description{Returns the screen's currently active window.} \usage{gdkScreenGetActiveWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property on the root window, as described in the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}). If there is no currently currently active window, or the window manager does not support the _NET_ACTIVE_WINDOW hint, this function returns \code{NULL}. On other platforms, this function may return \code{NULL}, depending on whether it is implementable on that platform. Since 2.10} \value{[\code{\link{GdkWindow}}] the currently active window, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsInputShapes.Rd0000644000176000001440000000103712362217677020352 0ustar ripleyusers\alias{gdkDisplaySupportsInputShapes} \name{gdkDisplaySupportsInputShapes} \title{gdkDisplaySupportsInputShapes} \description{Returns \code{TRUE} if \code{\link{gdkWindowInputShapeCombineMask}} can be used to modify the input shape of windows on \code{display}.} \usage{gdkDisplaySupportsInputShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if windows with modified input shape are supported} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetSliderRange.Rd0000644000176000001440000000135112362217677016634 0ustar ripleyusers\alias{gtkRangeGetSliderRange} \name{gtkRangeGetSliderRange} \title{gtkRangeGetSliderRange} \description{This function returns sliders range along the long dimension, in widget->window coordinates.} \usage{gtkRangeGetSliderRange(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \details{This function is useful mainly for \code{\link{GtkRange}} subclasses. Since 2.20} \value{ A list containing the following elements: \item{\verb{slider.start}}{return location for the slider's start, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{slider.end}}{return location for the slider's end, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsSetPropertyValue.Rd0000644000176000001440000000063412362217677020041 0ustar ripleyusers\alias{gtkSettingsSetPropertyValue} \name{gtkSettingsSetPropertyValue} \title{gtkSettingsSetPropertyValue} \description{\emph{undocumented }} \usage{gtkSettingsSetPropertyValue(object, name, svalue)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{name}}{\emph{undocumented }} \item{\verb{svalue}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxPackEndDefaults.Rd0000644000176000001440000000160012362217677016463 0ustar ripleyusers\alias{gtkBoxPackEndDefaults} \name{gtkBoxPackEndDefaults} \title{gtkBoxPackEndDefaults} \description{ Adds \code{widget} to \code{box}, packed with reference to the end of \code{box}. The child is packed after any other child packed with reference to the start of \code{box}. \strong{WARNING: \code{gtk_box_pack_end_defaults} has been deprecated since version 2.14 and should not be used in newly-written code. Use \code{\link{gtkBoxPackEnd}}} } \usage{gtkBoxPackEndDefaults(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{widget}}{the \code{\link{GtkWidget}} to be added to \code{box}} } \details{Parameters for how to pack the child \code{widget}, \verb{"expand"}, \verb{"fill"} and \verb{"padding"}, are given their default values, \code{TRUE}, \code{TRUE}, and 0, respectively.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTipsQuery.Rd0000644000176000001440000001170412362217677014730 0ustar ripleyusers\alias{GtkTipsQuery} \alias{gtkTipsQuery} \name{GtkTipsQuery} \title{GtkTipsQuery} \description{Displays help about widgets in the user interface} \section{Methods and Functions}{ \code{\link{gtkTipsQueryNew}(show = TRUE)}\cr \code{\link{gtkTipsQueryStartQuery}(object)}\cr \code{\link{gtkTipsQueryStopQuery}(object)}\cr \code{\link{gtkTipsQuerySetCaller}(object, caller)}\cr \code{\link{gtkTipsQuerySetLabels}(object, label.inactive, label.no.tip)}\cr \code{gtkTipsQuery(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkLabel +----GtkTipsQuery}} \section{Interfaces}{GtkTipsQuery implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkTipsQuery}} widget is a subclass of \code{\link{GtkLabel}} which is used to display help about widgets in a user interface. A query is started with a call to \code{\link{gtkTipsQueryStartQuery}}, usually when some kind of 'Help' button is pressed. The \code{\link{GtkTipsQuery}} then grabs all events, stopping the user interface from functioning normally. Then as the user moves the mouse over the widgets, the \code{\link{GtkTipsQuery}} displays each widget's tooltip text. By connecting to the "widget-entered" or "widget-selected" signals, it is possible to customize the \code{\link{GtkTipsQuery}} to perform other actions when widgets are entered or selected. For example, a help browser could be opened with documentation on the widget selected. At some point a call to \code{\link{gtkTipsQueryStopQuery}} must be made in order to stop the query and return the interface to its normal state. The \code{\link{gtkTipsQuerySetCaller}} function can be used to specify a widget which the user can select to stop the query (often the same button used to start the query).} \section{Structures}{\describe{\item{\verb{GtkTipsQuery}}{ \strong{WARNING: \code{GtkTipsQuery} is deprecated and should not be used in newly-written code.} The \code{\link{GtkTipsQuery}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkTipsQuery} is the equivalent of \code{\link{gtkTipsQueryNew}}.} \section{Signals}{\describe{ \item{\code{start-query(tipsquery, user.data)}}{ Emitted when the query is started. \describe{ \item{\code{tipsquery}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{stop-query(tipsquery, user.data)}}{ Emitted when the query is stopped. \describe{ \item{\code{tipsquery}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{widget-entered(tipsquery, widget, tip.text, tip.private, user.data)}}{ Emitted when a widget is entered by the pointer while the query is in effect. \describe{ \item{\code{tipsquery}}{the object which received the signal.} \item{\code{widget}}{the widget that was entered by the pointer.} \item{\code{tip.text}}{the widget's tooltip.} \item{\code{tip.private}}{the widget's private tooltip (see \code{\link{gtkTooltipsSetTip}}).} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{widget-selected(tipsquery, widget, tip.text, tip.private, event, user.data)}}{ Emitted when a widget is selected during a query. \describe{ \item{\code{tipsquery}}{the object which received the signal.} \item{\code{widget}}{the widget that was selected.} \item{\code{tip.text}}{the widget's tooltip.} \item{\code{tip.private}}{the widget's private tooltip (see \code{\link{gtkTooltipsSetTip}}).} \item{\code{event}}{the button press or button release event.} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the query should be stopped. } }} \section{Properties}{\describe{ \item{\verb{caller} [\code{\link{GtkWidget}} : * : Read / Write]}{ The widget that starts the tips query, usually a button. If it is selected while the query is in effect the query is automatically stopped. } \item{\verb{emit-always} [logical : Read / Write]}{ \code{TRUE} if the widget-entered and widget-selected signals are emitted even when the widget has no tooltip set. Default value: FALSE } \item{\verb{label-inactive} [character : * : Read / Write]}{ The text to display in the \code{\link{GtkTipsQuery}} widget when the query is not in effect. Default value: NULL } \item{\verb{label-no-tip} [character : * : Read / Write]}{ The text to display in the \code{\link{GtkTipsQuery}} widget when the query is running and the widget that the pointer is over has no tooltip. Default value: NULL } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTipsQuery.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetReorderable.Rd0000644000176000001440000000103412362217677016657 0ustar ripleyusers\alias{gtkCListSetReorderable} \name{gtkCListSetReorderable} \title{gtkCListSetReorderable} \description{ Sets whether the CList's rows are re-orderable using drag-and-drop. \strong{WARNING: \code{gtk_clist_set_reorderable} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetReorderable(object, reorderable)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{reorderable}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragUnhighlight.Rd0000644000176000001440000000053212362217677016070 0ustar ripleyusers\alias{gtkDragUnhighlight} \name{gtkDragUnhighlight} \title{gtkDragUnhighlight} \description{Removes a highlight set by \code{\link{gtkDragHighlight}} from a widget.} \usage{gtkDragUnhighlight(object)} \arguments{\item{\verb{object}}{a widget to remove the highlight from.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetColumns.Rd0000644000176000001440000000060212362217677016542 0ustar ripleyusers\alias{gtkIconViewGetColumns} \name{gtkIconViewGetColumns} \title{gtkIconViewGetColumns} \description{Returns the value of the ::columns property.} \usage{gtkIconViewGetColumns(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the number of columns, or -1} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderNew.Rd0000644000176000001440000000045512362217677016042 0ustar ripleyusers\alias{gdkPixbufLoaderNew} \name{gdkPixbufLoaderNew} \title{gdkPixbufLoaderNew} \description{Creates a new pixbuf loader object.} \usage{gdkPixbufLoaderNew()} \value{[\code{\link{GdkPixbufLoader}}] A newly-created pixbuf loader.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewScrollToCell.Rd0000644000176000001440000000364412362217677017043 0ustar ripleyusers\alias{gtkTreeViewScrollToCell} \name{gtkTreeViewScrollToCell} \title{gtkTreeViewScrollToCell} \description{Moves the alignments of \code{tree.view} to the position specified by \code{column} and \code{path}. If \code{column} is \code{NULL}, then no horizontal scrolling occurs. Likewise, if \code{path} is \code{NULL} no vertical scrolling occurs. At a minimum, one of \code{column} or \code{path} need to be non-\code{NULL}. \code{row.align} determines where the row is placed, and \code{col.align} determines where \code{column} is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center.} \usage{gtkTreeViewScrollToCell(object, path, column = NULL, use.align = FALSE, row.align = 0, col.align = 0)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{path}}{The path of the row to move to, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to move horizontally to, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{use.align}}{whether to use alignment arguments, or \code{FALSE}.} \item{\verb{row.align}}{The vertical alignment of the row specified by \code{path}.} \item{\verb{col.align}}{The horizontal alignment of the column specified by \code{column}.} } \details{If \code{use.align} is \code{FALSE}, then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the cell onto the screen. This means that the cell will be scrolled to the edge closest to its current position. If the cell is currently visible on the screen, nothing is done. This function only works if the model is set, and \code{path} is a valid row on the model. If the model changes before the \code{tree.view} is realized, the centered path will be modified to reflect this change.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Fonts.Rd0000644000176000001440000002126112362217677014150 0ustar ripleyusers\alias{gdk-Fonts} \alias{GdkFont} \alias{GdkFontType} \name{gdk-Fonts} \title{Fonts} \description{Loading and manipulating fonts} \section{Methods and Functions}{ \code{\link{gdkFontLoad}(font.name)}\cr \code{\link{gdkFontLoadForDisplay}(display, font.name)}\cr \code{\link{gdkFontLoadForDisplay}(display, font.name)}\cr \code{\link{gdkFontsetLoad}(fontset.name)}\cr \code{\link{gdkFontsetLoadForDisplay}(display, fontset.name)}\cr \code{\link{gdkFontsetLoadForDisplay}(display, fontset.name)}\cr \code{\link{gdkFontFromDescription}(font.desc)}\cr \code{\link{gdkFontFromDescriptionForDisplay}(display, font.desc)}\cr \code{\link{gdkFontFromDescriptionForDisplay}(display, font.desc)}\cr \code{\link{gdkFontGetDisplay}(object)}\cr \code{\link{gdkFontGetDisplay}(object)}\cr \code{\link{gdkFontId}(object)}\cr \code{\link{gdkStringExtents}(object, string)}\cr \code{\link{gdkTextExtents}(object, string)}\cr \code{\link{gdkTextExtentsWc}(object, text)}\cr \code{\link{gdkStringWidth}(object, string)}\cr \code{\link{gdkTextWidth}(object, text, text.length = -1)}\cr \code{\link{gdkTextWidthWc}(object, text)}\cr \code{\link{gdkCharWidth}(object, character)}\cr \code{\link{gdkCharWidthWc}(object, character)}\cr \code{\link{gdkStringMeasure}(object, string)}\cr \code{\link{gdkTextMeasure}(object, text, text.length = -1)}\cr \code{\link{gdkCharMeasure}(object, character)}\cr \code{\link{gdkStringHeight}(object, string)}\cr \code{\link{gdkTextHeight}(object, text, text.length = -1)}\cr \code{\link{gdkCharHeight}(object, character)}\cr } \section{Detailed Description}{The \code{\link{GdkFont}} data type represents a font for drawing on the screen. These functions provide support for loading fonts, and also for determining the dimensions of characters and strings when drawn with a particular font. Fonts in X are specified by a \dfn{X Logical Font Description}. The following description is considerably simplified. For definitive information about XLFD's see the X reference documentation. A X Logical Font Description (XLFD) consists of a sequence of fields separated (and surrounded by) '-' characters. For example, Adobe Helvetica Bold 12 pt, has the full description: \preformatted{"-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1" } The fields in the XLFD are: \tabular{ll}{ Foundry \tab the company or organization where the font originated. \cr Family \tab the font family (a group of related font designs). \cr Weight \tab A name for the font's typographic weight For example, 'bold' or 'medium'). \cr Slant \tab The slant of the font. Common values are 'R' for Roman, 'I' for italoc, and 'O' for oblique. \cr Set Width \tab A name for the width of the font. For example, 'normal' or 'condensed'. \cr Add Style \tab Additional information to distinguish a font from other fonts of the same family. \cr Pixel Size \tab The body size of the font in pixels. \cr Point Size \tab The body size of the font in 10ths of a point. (A \dfn{point} is 1/72.27 inch) \cr Resolution X \tab The horizontal resolution that the font was designed for. \cr Resolution Y \tab The vertical resolution that the font was designed for . \cr Spacing \tab The type of spacing for the font - can be 'p' for proportional, 'm' for monospaced or 'c' for charcell. \cr Average Width \tab The average width of a glyph in the font. For monospaced and charcell fonts, all glyphs in the font have this width \cr Charset Registry \tab The registration authority that owns the encoding for the font. Together with the Charset Encoding field, this defines the character set for the font. \cr Charset Encoding \tab An identifier for the particular character set encoding. \cr } When specifying a font via a X logical Font Description, '*' can be used as a wildcard to match any portion of the XLFD. For instance, the above example could also be specified as \preformatted{"-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" } It is generally a good idea to use wildcards for any portion of the XLFD that your program does not care about specifically, since that will improve the chances of finding a matching font. A \dfn{fontset} is a list of fonts that is used for drawing international text that may contain characters from a number of different character sets. It is represented by a list of XLFD's. The font for a given character set is determined by going through the list of XLFD's in order. For each one, if the registry and and encoding fields match the desired character set, then that font is used, otherwise if the XLFD contains wild-cards for the registry and encoding fields, the registry and encoding for the desired character set are substituted in and a lookup is done. If a match is found that font is used. Otherwise, processing continues on to the next font in the list. The functions for determining the metrics of a string come in several varieties that can take a number of forms of string input: \describe{ \item{8-bit string}{ When using functions like \code{\link{gdkStringWidth}} that take a \verb{character}, if the font is of type \code{GDK_FONT_FONT} and is an 8-bit font, then each \verb{character} indexes the glyphs in the font directly. } \item{16-bit string}{ For functions taking a \verb{character}, if the font is of type \code{GDK_FONT_FONT}, and is a 16-bit font, then the \verb{character} argument is interpreted as a \verb{integer} cast to a \verb{character} and each \verb{integer} indexes the glyphs in the font directly. } \item{Multibyte string}{ For functions taking a \verb{character}, if the font is of type \code{GDK_FONT_FONTSET}, then the input string is interpreted as a \dfn{multibyte} encoded according to the current locale. (A multibyte string is one in which each character may consist of one or more bytes, with different lengths for different characters in the string). They can be converted to and from wide character strings (see below) using \code{gdkWcstombs()} and \code{gdkMbstowcs()}.) The string will be rendered using one or more different fonts from the fontset. } \item{Wide character string}{ For a number of the text-measuring functions, GDK provides a variant (such as \code{\link{gdkTextWidthWc}}) which takes a \verb{numeric} instead of a \verb{character}. The input is then taken to be a wide character string in the encoding of the current locale. (A wide character string is a string in which each character consists of several bytes, and the width of each character in the string is constant.) } } GDK provides functions to determine a number of different measurements (metrics) for a given string. (Need diagram here). \describe{ \item{ascent}{ The vertical distance from the origin of the drawing opereration to the top of the drawn character. } \item{descent}{ The vertical distance from the origin of the drawing opereration to the bottom of the drawn character. } \item{left bearing}{ The horizontal distance from the origin of the drawing operation to the left-most part of the drawn character. } \item{right bearing}{ The horizontal distance from the origin of the drawing operation to the right-most part of the drawn character. } \item{width bearing}{ The horizontal distance from the origin of the drawing operation to the correct origin for drawing another string to follow the current one. Depending on the font, this could be greater than or less than the right bearing. } }} \section{Structures}{\describe{\item{\verb{GdkFont}}{ \strong{WARNING: \code{GdkFont} is deprecated and should not be used in newly-written code.} The \code{GdkFont} structure represents a font or fontset. It contains the following public fields. A new \code{GdkFont} structure is returned by \code{\link{gdkFontLoad}} or \code{\link{gdkFontsetLoad}}, and is reference counted with \code{gdkFontRef()} and \code{gdkFontUnref()} \describe{ \item{\verb{type}}{[\code{\link{GdkFontType}}] a value of type \code{\link{GdkFontType}} which indicates whether this font is a single font or a fontset.} \item{\verb{ascent}}{[integer] the maximum distance that the font, when drawn, ascends above the baseline.} \item{\verb{descent}}{[integer] the maximum distance that the font, when drawn, descends below the baseline.} } }}} \section{Enums and Flags}{\describe{\item{\verb{GdkFontType}}{ \strong{WARNING: \code{GdkFontType} is deprecated and should not be used in newly-written code.} Indicates the type of a font. The possible values are currently: \describe{ \item{\verb{font}}{the font is a single font.} \item{\verb{fontset}}{the font is a fontset.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Fonts.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeGetForScreen.Rd0000644000176000001440000000200312362217677017135 0ustar ripleyusers\alias{gtkIconThemeGetForScreen} \name{gtkIconThemeGetForScreen} \title{gtkIconThemeGetForScreen} \description{Gets the icon theme object associated with \code{screen}; if this function has not previously been called for the given screen, a new icon theme object will be created and associated with the screen. Icon theme objects are fairly expensive to create, so using this function is usually a better choice than calling than \code{\link{gtkIconThemeNew}} and setting the screen yourself; by using this function a single icon theme object will be shared between users.} \usage{gtkIconThemeGetForScreen(screen)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}}}} \details{Since 2.4} \value{[\code{\link{GtkIconTheme}}] A unique \code{\link{GtkIconTheme}} associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. Do not ref or unref it. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageGetScripts.Rd0000644000176000001440000000321512362217677017073 0ustar ripleyusers\alias{pangoLanguageGetScripts} \name{pangoLanguageGetScripts} \title{pangoLanguageGetScripts} \description{Determines the scripts used to to write \code{language}. If nothing is known about the language tag \code{language}, or if \code{language} is \code{NULL}, then \code{NULL} is returned. The list of scripts returned starts with the script that the language uses most and continues to the one it uses least.} \usage{pangoLanguageGetScripts(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}}, or \code{NULL}}} \details{The value \code{num.script} points at will be set to the number of scripts in the returned list (or zero if \code{NULL} is returned). Most languages use only one script for writing, but there are some that use two (Latin and Cyrillic for example), and a few use three (Japanese for example). Applications should not make any assumptions on the maximum number of scripts returned though, except that it is positive if the return value is not \code{NULL}, and it is a small number. The \code{\link{pangoLanguageIncludesScript}} function uses this function internally. Since 1.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{PangoScript}}] An list of \code{\link{PangoScript}} values, with the number of entries in the list stored in \code{num.scripts}, or \code{NULL} if Pango does not have any information about this particular language tag (also the case if \code{language} is \code{NULL}). } \item{\verb{num.scripts}}{[integer] location to return number of scripts, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSetDetailFunc.Rd0000644000176000001440000000170012362217677017142 0ustar ripleyusers\alias{gtkCalendarSetDetailFunc} \name{gtkCalendarSetDetailFunc} \title{gtkCalendarSetDetailFunc} \description{Installs a function which provides Pango markup with detail information for each day. Examples for such details are holidays or appointments. That information is shown below each day when \verb{"show-details"} is set. A tooltip containing with full detail information is provided, if the entire text should not fit into the details area, or if \verb{"show-details"} is not set.} \usage{gtkCalendarSetDetailFunc(object, func, data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{func}}{a function providing details for each day.} \item{\verb{data}}{data to pass to \code{func} invokations.} } \details{The size of the details area can be restricted by setting the \verb{"detail-width-chars"} and \verb{"detail-height-rows"} properties. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererToggleSetActivatable.Rd0000644000176000001440000000070312362217677021344 0ustar ripleyusers\alias{gtkCellRendererToggleSetActivatable} \name{gtkCellRendererToggleSetActivatable} \title{gtkCellRendererToggleSetActivatable} \description{Makes the cell renderer activatable.} \usage{gtkCellRendererToggleSetActivatable(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRendererToggle}}.} \item{\verb{setting}}{the value to set.} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetExpand.Rd0000644000176000001440000000067312362217677017536 0ustar ripleyusers\alias{gtkTreeViewColumnGetExpand} \name{gtkTreeViewColumnGetExpand} \title{gtkTreeViewColumnGetExpand} \description{Return \code{TRUE} if the column expands to take any available space.} \usage{gtkTreeViewColumnGetExpand(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \details{Since 2.4} \value{[logical] \code{TRUE}, if the column expands} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetAddTearoffs.Rd0000644000176000001440000000072312362217677017375 0ustar ripleyusers\alias{gtkUIManagerGetAddTearoffs} \name{gtkUIManagerGetAddTearoffs} \title{gtkUIManagerGetAddTearoffs} \description{Returns whether menus generated by this \code{\link{GtkUIManager}} will have tearoff menu items.} \usage{gtkUIManagerGetAddTearoffs(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}}}} \details{Since 2.4} \value{[logical] whether tearoff menu items are added} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationTypeRegister.Rd0000644000176000001440000000067212362217677017143 0ustar ripleyusers\alias{atkRelationTypeRegister} \name{atkRelationTypeRegister} \title{atkRelationTypeRegister} \description{Associate \code{name} with a new \code{\link{AtkRelationType}}} \usage{atkRelationTypeRegister(name)} \arguments{\item{\verb{name}}{[character] a name string}} \value{[\code{\link{AtkRelationType}}] an \code{\link{AtkRelationType}} associated with \code{name}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetLinearPoints.Rd0000644000176000001440000000177312362217677017745 0ustar ripleyusers\alias{cairoPatternGetLinearPoints} \name{cairoPatternGetLinearPoints} \title{cairoPatternGetLinearPoints} \description{Gets the gradient endpoints for a linear gradient.} \usage{cairoPatternGetLinearPoints(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} if \code{pattern} is not a linear gradient pattern.} \item{\verb{x0}}{[numeric] return value for the x coordinate of the first point, or \code{NULL}} \item{\verb{y0}}{[numeric] return value for the y coordinate of the first point, or \code{NULL}} \item{\verb{x1}}{[numeric] return value for the x coordinate of the second point, or \code{NULL}} \item{\verb{y1}}{[numeric] return value for the y coordinate of the second point, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoShowTextGlyphs.Rd0000644000176000001440000000332712362217677016311 0ustar ripleyusers\alias{cairoShowTextGlyphs} \name{cairoShowTextGlyphs} \title{cairoShowTextGlyphs} \description{This operation has rendering effects similar to \code{\link{cairoShowGlyphs}} but, if the target surface supports it, uses the provided text and cluster mapping to embed the text for the glyphs shown in the output. If the target does not support the extended attributes, this function acts like the basic \code{\link{cairoShowGlyphs}} as if it had been passed \code{glyphs} and \code{num.glyphs}.} \usage{cairoShowTextGlyphs(cr, utf8, glyphs, clusters, cluster.flags)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{utf8}}{[char] a string of text encoded in UTF-8} \item{\verb{glyphs}}{[\code{\link{CairoGlyph}}] list of glyphs to show} \item{\verb{clusters}}{[\code{\link{CairoTextCluster}}] list of cluster mapping information} \item{\verb{cluster.flags}}{[\code{\link{CairoTextClusterFlags}}] cluster mapping flags} } \details{The mapping between \code{utf8} and \code{glyphs} is provided by a list of \dfn{clusters}. Each cluster covers a number of text bytes and glyphs, and neighboring clusters cover neighboring areas of \code{utf8} and \code{glyphs}. The clusters should collectively cover \code{utf8} and \code{glyphs} in entirety. The first cluster always covers bytes from the beginning of \code{utf8}. If \code{cluster.flags} do not have the \code{CAIRO_TEXT_CLUSTER_FLAG_BACKWARD} set, the first cluster also covers the beginning of \code{glyphs}, otherwise it covers the end of the \code{glyphs} list and following clusters move backward. See \code{\link{CairoTextCluster}} for constraints on valid clusters. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaveToCallbackv.Rd0000644000176000001440000000231012362217677017156 0ustar ripleyusers\alias{gdkPixbufSaveToCallbackv} \name{gdkPixbufSaveToCallbackv} \title{gdkPixbufSaveToCallbackv} \description{Saves pixbuf to a callback in format \code{type}, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If \code{error} is set, \code{FALSE} will be returned. See \code{\link{gdkPixbufSaveToCallback}} for more details.} \usage{gdkPixbufSaveToCallbackv(object, save.func, user.data, type, option.keys, option.values, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{save.func}}{a function that is called to save each block of data that the save routine generates.} \item{\verb{user.data}}{user data to pass to the save function.} \item{\verb{type}}{name of file format.} \item{\verb{option.keys}}{name of options to set, \code{NULL}-terminated} \item{\verb{option.values}}{values for named options} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLineExtents.Rd0000644000176000001440000000200112362217677020254 0ustar ripleyusers\alias{pangoLayoutIterGetLineExtents} \name{pangoLayoutIterGetLineExtents} \title{pangoLayoutIterGetLineExtents} \description{Obtains the extents of the current line. \code{ink.rect} or \code{logical.rect} can be \code{NULL} if you aren't interested in them. Extents are in layout coordinates (origin is the top-left corner of the entire \code{\link{PangoLayout}}). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from \code{\link{pangoLayoutLineGetExtents}}.} \usage{pangoLayoutIterGetLineExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with ink extents, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with logical extents, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetVisibleRect.Rd0000644000176000001440000000125112362217677017345 0ustar ripleyusers\alias{gtkTreeViewGetVisibleRect} \name{gtkTreeViewGetVisibleRect} \title{gtkTreeViewGetVisibleRect} \description{Fills \code{visible.rect} with the currently-visible region of the buffer, in tree coordinates. Convert to bin_window coordinates with \code{\link{gtkTreeViewConvertTreeToBinWindowCoords}}. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree.} \usage{gtkTreeViewGetVisibleRect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \value{ A list containing the following elements: \item{\verb{visible.rect}}{rectangle to fill} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionCreateMenu.Rd0000644000176000001440000000103512362217677016205 0ustar ripleyusers\alias{gtkActionCreateMenu} \name{gtkActionCreateMenu} \title{gtkActionCreateMenu} \description{If \code{action} provides a \code{\link{GtkMenu}} widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.} \usage{gtkActionCreateMenu(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.12} \value{[\code{\link{GtkWidget}}] the menu item provided by the action, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRequisitionCopy.Rd0000644000176000001440000000056412362217677016173 0ustar ripleyusers\alias{gtkRequisitionCopy} \name{gtkRequisitionCopy} \title{gtkRequisitionCopy} \description{Copies a \code{\link{GtkRequisition}}.} \usage{gtkRequisitionCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRequisition}}}} \value{[\code{\link{GtkRequisition}}] a copy of \code{requisition}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabPos.Rd0000644000176000001440000000062612362217677016371 0ustar ripleyusers\alias{gtkNotebookSetTabPos} \name{gtkNotebookSetTabPos} \title{gtkNotebookSetTabPos} \description{Sets the edge at which the tabs for switching pages in the notebook are drawn.} \usage{gtkNotebookSetTabPos(object, pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}.} \item{\verb{pos}}{the edge to draw the tabs at.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetTooltipMarkup.Rd0000644000176000001440000000067012362217677020312 0ustar ripleyusers\alias{gtkStatusIconGetTooltipMarkup} \name{gtkStatusIconGetTooltipMarkup} \title{gtkStatusIconGetTooltipMarkup} \description{Gets the contents of the tooltip for \code{status.icon}.} \usage{gtkStatusIconGetTooltipMarkup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.16} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetPolicy.Rd0000644000176000001440000000126412362217677017602 0ustar ripleyusers\alias{gtkScrolledWindowGetPolicy} \name{gtkScrolledWindowGetPolicy} \title{gtkScrolledWindowGetPolicy} \description{Retrieves the current policy values for the horizontal and vertical scrollbars. See \code{\link{gtkScrolledWindowSetPolicy}}.} \usage{gtkScrolledWindowGetPolicy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \value{ A list containing the following elements: \item{\verb{hscrollbar.policy}}{location to store the policy for the horizontal scrollbar, or \code{NULL}.} \item{\verb{vscrollbar.policy}}{location to store the policy for the vertical scrollbar, or \code{NULL}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererGetDefault.Rd0000644000176000001440000000154112362217677017501 0ustar ripleyusers\alias{gdkPangoRendererGetDefault} \name{gdkPangoRendererGetDefault} \title{gdkPangoRendererGetDefault} \description{Gets the default \code{\link{PangoRenderer}} for a screen. This default renderer is shared by all users of the display, so properties such as the color or transformation matrix set for the renderer may be overwritten by functions such as \code{\link{gdkDrawLayout}}.} \usage{gdkPangoRendererGetDefault(screen)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}}}} \details{Before using the renderer, you need to call \code{\link{gdkPangoRendererSetDrawable}} and \code{\link{gdkPangoRendererSetGc}} to set the drawable and graphics context to use for drawing. Since 2.6} \value{[\code{\link{PangoRenderer}}] the default \code{\link{PangoRenderer}} for \code{screen}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryGetItemByAction.Rd0000644000176000001440000000161712362217677020163 0ustar ripleyusers\alias{gtkItemFactoryGetItemByAction} \name{gtkItemFactoryGetItemByAction} \title{gtkItemFactoryGetItemByAction} \description{ Obtains the menu item which was constructed from the first \code{\link{GtkItemFactoryEntry}} with the given \code{action}. \strong{WARNING: \code{gtk_item_factory_get_item_by_action} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryGetItemByAction(object, action)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{action}}{an action as specified in the \code{callback.action} field of \code{\link{GtkItemFactoryEntry}}} } \value{[\code{\link{GtkWidget}}] the menu item which corresponds to the given action, or \code{NULL} if no menu item was found. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetSensitive.Rd0000644000176000001440000000077712362217677016602 0ustar ripleyusers\alias{gtkActionGetSensitive} \name{gtkActionGetSensitive} \title{gtkActionGetSensitive} \description{Returns whether the action itself is sensitive. Note that this doesn't necessarily mean effective sensitivity. See \code{\link{gtkActionIsSensitive}} for that.} \usage{gtkActionGetSensitive(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] \code{TRUE} if the action itself is sensitive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardSetWithOwner.Rd0000644000176000001440000000215612362217677017246 0ustar ripleyusers\alias{gtkClipboardSetWithOwner} \name{gtkClipboardSetWithOwner} \title{gtkClipboardSetWithOwner} \description{Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.} \usage{gtkClipboardSetWithOwner(object, targets, get.func, owner = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{targets}}{array containing information about the available forms for the clipboard data} \item{\verb{get.func}}{function to call to get the actual clipboard data} \item{\verb{owner}}{an object that "owns" the data. This object will be passed to the callbacks when called.} } \details{The difference between this function and \code{\link{gtkClipboardSetWithData}} is that instead of an generic \code{user.data} pointer, a \code{\link{GObject}} is passed in.} \value{[logical] \code{TRUE} if setting the clipboard data succeeded. If setting the clipboard data failed the provided callback functions will be ignored.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbSetMinColors.Rd0000644000176000001440000000077412362217677016024 0ustar ripleyusers\alias{gdkRgbSetMinColors} \name{gdkRgbSetMinColors} \title{gdkRgbSetMinColors} \description{Sets the minimum number of colors for the color cube. Generally, GdkRGB tries to allocate the largest color cube it can. If it can't allocate a color cube at least as large as \code{min.colors}, it installs a private colormap.} \usage{gdkRgbSetMinColors(min.colors)} \arguments{\item{\verb{min.colors}}{The minimum number of colors accepted.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetColumn.Rd0000644000176000001440000000107112362217677016367 0ustar ripleyusers\alias{gtkTreeViewGetColumn} \name{gtkTreeViewGetColumn} \title{gtkTreeViewGetColumn} \description{Gets the \code{\link{GtkTreeViewColumn}} at the given position in the \verb{tree_view}.} \usage{gtkTreeViewGetColumn(object, n)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{n}}{The position of the column, counting from 0.} } \value{[\code{\link{GtkTreeViewColumn}}] The \code{\link{GtkTreeViewColumn}}, or \code{NULL} if the position is outside the range of columns.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrIteratorGetAttrs.Rd0000644000176000001440000000104012362217677017434 0ustar ripleyusers\alias{pangoAttrIteratorGetAttrs} \name{pangoAttrIteratorGetAttrs} \title{pangoAttrIteratorGetAttrs} \description{Gets a list of all attributes at the current position of the iterator.} \usage{pangoAttrIteratorGetAttrs(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}}} \details{ Since 1.2} \value{[list] element-type Pango.Attribute): (transfer full. \acronym{element-type Pango.Attribute): (transfer} full. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemedIconNew.Rd0000644000176000001440000000070412362217677015457 0ustar ripleyusers\alias{gEmblemedIconNew} \name{gEmblemedIconNew} \title{gEmblemedIconNew} \description{Creates a new emblemed icon for \code{icon} with the emblem \code{emblem}.} \usage{gEmblemedIconNew(icon, emblem)} \arguments{ \item{\verb{icon}}{a \code{\link{GIcon}}} \item{\verb{emblem}}{a \code{\link{GEmblem}}} } \details{Since 2.18} \value{[\code{\link{GIcon}}] a new \code{\link{GIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetLabel.Rd0000644000176000001440000000121112362217677015666 0ustar ripleyusers\alias{gtkButtonGetLabel} \name{gtkButtonGetLabel} \title{gtkButtonGetLabel} \description{Fetches the text from the label of the button, as set by \code{\link{gtkButtonSetLabel}}. If the label text has not been set the return value will be \code{NULL}. This will be the case if you create an empty button with \code{\link{gtkButtonNew}} to use as a container.} \usage{gtkButtonGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \value{[character] The text of the label widget. This string is owned by the widget and must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFindByRowDataCustom.Rd0000644000176000001440000000135212362217677017574 0ustar ripleyusers\alias{gtkCTreeFindByRowDataCustom} \name{gtkCTreeFindByRowDataCustom} \title{gtkCTreeFindByRowDataCustom} \description{ Find the first node under \code{node} whose row data pointer fulfills a custom criterion. \strong{WARNING: \code{gtk_ctree_find_by_row_data_custom} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFindByRowDataCustom(object, node, data = NULL, func)} \arguments{ \item{\verb{object}}{The node where to start searching.} \item{\verb{node}}{User data for the criterion function.} \item{\verb{data}}{The criterion function.} \item{\verb{func}}{The first node found.} } \value{[\code{\link{GtkCTreeNode}}] The first node found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetMarks.Rd0000644000176000001440000000124012362217677016223 0ustar ripleyusers\alias{gtkTextIterGetMarks} \name{gtkTextIterGetMarks} \title{gtkTextIterGetMarks} \description{Returns a list of all \code{\link{GtkTextMark}} at this location. Because marks are not iterable (they don't take up any "space" in the buffer, they are just marks in between iterable locations), multiple marks can exist in the same place. The returned list is not in any meaningful order.} \usage{gtkTextIterGetMarks(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[list] list of \code{\link{GtkTextMark}}. \emph{[ \acronym{element-type} GtkTextMark][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoTransform.Rd0000644000176000001440000000105412362217677015303 0ustar ripleyusers\alias{cairoTransform} \name{cairoTransform} \title{cairoTransform} \description{Modifies the current transformation matrix (CTM) by applying \code{matrix} as an additional transformation. The new transformation of user space takes place after any existing transformation.} \usage{cairoTransform(cr, matrix)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a transformation to be applied to the user-space axes} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceMarkDirtyRectangle.Rd0000644000176000001440000000164012362217677020375 0ustar ripleyusers\alias{cairoSurfaceMarkDirtyRectangle} \name{cairoSurfaceMarkDirtyRectangle} \title{cairoSurfaceMarkDirtyRectangle} \description{Like \code{\link{cairoSurfaceMarkDirty}}, but drawing has been done only to the specified rectangle, so that cairo can retain cached contents for other parts of the surface.} \usage{cairoSurfaceMarkDirtyRectangle(surface, x, y, width, height)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{x}}{[integer] X coordinate of dirty rectangle} \item{\verb{y}}{[integer] Y coordinate of dirty rectangle} \item{\verb{width}}{[integer] width of dirty rectangle} \item{\verb{height}}{[integer] height of dirty rectangle} } \details{Any cached clip set on the surface will be reset by this function, to make sure that future cairo calls have the clip set that they expect. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeGetActivationRoot.Rd0000644000176000001440000000263012362217677017257 0ustar ripleyusers\alias{gVolumeGetActivationRoot} \name{gVolumeGetActivationRoot} \title{gVolumeGetActivationRoot} \description{Gets the activation root for a \code{\link{GVolume}} if it is known ahead of mount time. Returns \code{NULL} otherwise. If not \code{NULL} and if \code{volume} is mounted, then the result of \code{\link{gMountGetRoot}} on the \code{\link{GMount}} object obtained from \code{\link{gVolumeGetMount}} will always either be equal or a prefix of what this function returns. In other words, in code} \usage{gVolumeGetActivationRoot(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}}} \details{\preformatted{ GMount *mount; GFile *mount_root GFile *volume_activation_root; mount = g_volume_get_mount (volume); /* mounted, so never NULL */ mount_root = g_mount_get_root (mount); volume_activation_root = g_volume_get_activation_root(volume); /* assume not NULL */ } then the expression \preformatted{ (g_file_has_prefix (volume_activation_root, mount_root) || g_file_equal (volume_activation_root, mount_root)) } will always be \code{TRUE}. Activation roots are typically used in \code{\link{GVolumeMonitor}} implementations to find the underlying mount to shadow, see \code{\link{gMountIsShadowed}} for more details. Since 2.18} \value{[\code{\link{GFile}}] the activation root of \code{volume} or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetCurrentAlpha.Rd0000644000176000001440000000101612362217677020727 0ustar ripleyusers\alias{gtkColorSelectionSetCurrentAlpha} \name{gtkColorSelectionSetCurrentAlpha} \title{gtkColorSelectionSetCurrentAlpha} \description{Sets the current opacity to be \code{alpha}. The first time this is called, it will also set the original opacity to be \code{alpha} too.} \usage{gtkColorSelectionSetCurrentAlpha(object, alpha)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{alpha}}{an integer between 0 and 65535.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMount.Rd0000644000176000001440000000161712362217677014760 0ustar ripleyusers\alias{gVolumeMount} \name{gVolumeMount} \title{gVolumeMount} \description{Mounts a volume. This is an asynchronous operation, and is finished by calling \code{\link{gVolumeMountFinish}} with the \code{volume} and \code{\link{GAsyncResult}} returned in the \code{callback}.} \usage{gVolumeMount(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data that gets passed to \code{callback}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsForeach.Rd0000644000176000001440000000076512362217677017135 0ustar ripleyusers\alias{gtkPrintSettingsForeach} \name{gtkPrintSettingsForeach} \title{gtkPrintSettingsForeach} \description{Calls \code{func} for each key-value pair of \code{settings}.} \usage{gtkPrintSettingsForeach(object, func, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{func}}{(scope call) the function to call} \item{\verb{user.data}}{user data for \code{func}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionDisconnectProxy.Rd0000644000176000001440000000116712362217677017316 0ustar ripleyusers\alias{gtkActionDisconnectProxy} \name{gtkActionDisconnectProxy} \title{gtkActionDisconnectProxy} \description{ Disconnects a proxy widget from an action. Does \emph{not} destroy the widget, however. \strong{WARNING: \code{gtk_action_disconnect_proxy} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkActivatableSetRelatedAction}} instead.} } \usage{gtkActionDisconnectProxy(object, proxy)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{proxy}}{the proxy widget} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetNew.Rd0000644000176000001440000000142412362217677015037 0ustar ripleyusers\alias{gtkIconSetNew} \name{gtkIconSetNew} \title{gtkIconSetNew} \description{Creates a new \code{\link{GtkIconSet}}. A \code{\link{GtkIconSet}} represents a single icon in various sizes and widget states. It can provide a \code{\link{GdkPixbuf}} for a given size and state on request, and automatically caches some of the rendered \code{\link{GdkPixbuf}} objects.} \usage{gtkIconSetNew()} \details{Normally you would use \code{\link{gtkWidgetRenderIcon}} instead of using \code{\link{GtkIconSet}} directly. The one case where you'd use \code{\link{GtkIconSet}} is to create application-specific icon sets to place in a \code{\link{GtkIconFactory}}.} \value{[\code{\link{GtkIconSet}}] a new \code{\link{GtkIconSet}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableCancel.Rd0000644000176000001440000000171512362217677015760 0ustar ripleyusers\alias{gCancellableCancel} \name{gCancellableCancel} \title{gCancellableCancel} \description{Will set \code{cancellable} to cancelled, and will emit the \verb{"cancelled"} signal. (However, see the warning about race conditions in the documentation for that signal if you are planning to connect to it.)} \usage{gCancellableCancel(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}} object.}} \details{This function is thread-safe. In other words, you can safely call it from a thread other than the one running the operation that was passed the \code{cancellable}. The convention within gio is that cancelling an asynchronous operation causes it to complete asynchronously. That is, if you cancel the operation from the same thread in which it is running, then the operation's \code{\link{GAsyncReadyCallback}} will not be invoked until the application returns to the main loop.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountShadow.Rd0000644000176000001440000000104412362217677014730 0ustar ripleyusers\alias{gMountShadow} \name{gMountShadow} \title{gMountShadow} \description{Increments the shadow count on \code{mount}. Usually used by \code{\link{GVolumeMonitor}} implementations when creating a shadow mount for \code{mount}, see \code{\link{gMountIsShadowed}} for more information. The caller will need to emit the \verb{"changed"} signal on \code{mount} manually.} \usage{gMountShadow(object)} \arguments{\item{\verb{object}}{A \code{\link{GMount}}.}} \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetSortOrder.Rd0000644000176000001440000000076012362217677016463 0ustar ripleyusers\alias{gFileInfoGetSortOrder} \name{gFileInfoGetSortOrder} \title{gFileInfoGetSortOrder} \description{Gets the value of the sort_order attribute from the \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER}.} \usage{gFileInfoGetSortOrder(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[integer] a \verb{integer} containing the value of the "standard::sort_order" attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsSetDoubleProperty.Rd0000644000176000001440000000072712362217677020202 0ustar ripleyusers\alias{gtkSettingsSetDoubleProperty} \name{gtkSettingsSetDoubleProperty} \title{gtkSettingsSetDoubleProperty} \description{\emph{undocumented }} \usage{gtkSettingsSetDoubleProperty(object, name, v.double, origin)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{name}}{\emph{undocumented }} \item{\verb{v.double}}{\emph{undocumented }} \item{\verb{origin}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipSetIconFromStock.Rd0000644000176000001440000000127612362217677017575 0ustar ripleyusers\alias{gtkTooltipSetIconFromStock} \name{gtkTooltipSetIconFromStock} \title{gtkTooltipSetIconFromStock} \description{Sets the icon of the tooltip (which is in front of the text) to be the stock item indicated by \code{stock.id} with the size indicated by \code{size}. If \code{stock.id} is \code{NULL}, the image will be hidden.} \usage{gtkTooltipSetIconFromStock(object, stock.id, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltip}}} \item{\verb{stock.id}}{a stock id, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNew.Rd0000644000176000001440000000047412362217677015573 0ustar ripleyusers\alias{gtkStatusIconNew} \name{gtkStatusIconNew} \title{gtkStatusIconNew} \description{Creates an empty status icon object.} \usage{gtkStatusIconNew()} \details{Since 2.10} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterGetModel.Rd0000644000176000001440000000071112362217677017466 0ustar ripleyusers\alias{gtkTreeModelFilterGetModel} \name{gtkTreeModelFilterGetModel} \title{gtkTreeModelFilterGetModel} \description{Returns a pointer to the child model of \code{filter}.} \usage{gtkTreeModelFilterGetModel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.}} \details{Since 2.4} \value{[\code{\link{GtkTreeModel}}] A pointer to a \code{\link{GtkTreeModel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableGetName.Rd0000644000176000001440000000102412362217677016141 0ustar ripleyusers\alias{gtkBuildableGetName} \name{gtkBuildableGetName} \title{gtkBuildableGetName} \description{Gets the name of the \code{buildable} object. } \usage{gtkBuildableGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBuildable}}}} \details{\code{\link{GtkBuilder}} sets the name based on the the GtkBuilder UI definition used to construct the \code{buildable}. Since 2.12} \value{[character] the name set with \code{\link{gtkBuildableSetName}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintCheck.Rd0000644000176000001440000000212412362217677015030 0ustar ripleyusers\alias{gtkPaintCheck} \name{gtkPaintCheck} \title{gtkPaintCheck} \description{Draws a check button indicator in the given rectangle on \code{window} with the given parameters.} \usage{gtkPaintCheck(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle to draw the check in} \item{\verb{y}}{y origin of the rectangle to draw the check in} \item{\verb{width}}{the width of the rectangle to draw the check in} \item{\verb{height}}{the height of the rectangle to draw the check in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveCanEject.Rd0000644000176000001440000000055612362217677015135 0ustar ripleyusers\alias{gDriveCanEject} \name{gDriveCanEject} \title{gDriveCanEject} \description{Checks if a drive can be ejected.} \usage{gDriveCanEject(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if the \code{drive} can be ejected, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Testing.Rd0000644000176000001440000000166212362217677014517 0ustar ripleyusers\alias{gtk-Testing} \name{gtk-Testing} \title{Testing} \description{Utilities for testing GTK+ applications} \section{Methods and Functions}{ \code{\link{gtkTestFindLabel}(widget, label.pattern)}\cr \code{\link{gtkTestFindSibling}(base.widget, widget.type)}\cr \code{\link{gtkTestFindWidget}(widget, label.pattern, widget.type)}\cr \code{\link{gtkTestListAllTypes}()}\cr \code{\link{gtkTestRegisterAllTypes}()}\cr \code{\link{gtkTestSliderGetValue}(widget)}\cr \code{\link{gtkTestSliderSetPerc}(widget, percentage)}\cr \code{\link{gtkTestSpinButtonClick}(spinner, button, upwards)}\cr \code{\link{gtkTestTextGet}(widget)}\cr \code{\link{gtkTestTextSet}(widget, string)}\cr \code{\link{gtkTestWidgetClick}(widget, button, modifiers)}\cr \code{\link{gtkTestWidgetSendKey}(widget, keyval, modifiers)}\cr } \references{\url{http://library.gnome.org/devel//gtk/gtk-Testing.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncInitableInitAsync.Rd0000644000176000001440000000456412362217677017041 0ustar ripleyusers\alias{gAsyncInitableInitAsync} \name{gAsyncInitableInitAsync} \title{gAsyncInitableInitAsync} \description{Starts asynchronous initialization of the object implementing the interface. This must be done before any real use of the object after initial construction. If the object also implements \code{\link{GInitable}} you can optionally call \code{\link{gInitableInit}} instead.} \usage{gAsyncInitableInitAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GAsyncInitable}}.} \item{\verb{io.priority}}{the I/O priority of the operation.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{When the initialization is finished, \code{callback} will be called. You can then call \code{\link{gAsyncInitableInitFinish}} to get the result of the initialization. Implementations may also support cancellation. If \code{cancellable} is not \code{NULL}, then initialization can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If \code{cancellable} is not \code{NULL} and the object doesn't support cancellable initialization the error \code{G_IO_ERROR_NOT_SUPPORTED} will be returned. If this function is not called, or returns with an error then all operations on the object should fail, generally returning the error \code{G_IO_ERROR_NOT_INITIALIZED}. Implementations of this method must be idempotent, i.e. multiple calls to this function with the same argument should return the same results. Only the first call initializes the object, further calls return the result of the first call. This is so that its safe to implement the singleton pattern in the GObject constructor function. For classes that also support the \code{\link{GInitable}} interface the default implementation of this method will run the \code{\link{gInitableInit}} function in a thread, so if you want to support asynchronous initialization via threads, just implement the \code{\link{GAsyncInitable}} interface without overriding any interface methods. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionSetDrawAsRadio.Rd0000644000176000001440000000074612362217677020143 0ustar ripleyusers\alias{gtkToggleActionSetDrawAsRadio} \name{gtkToggleActionSetDrawAsRadio} \title{gtkToggleActionSetDrawAsRadio} \description{Sets whether the action should have proxies like a radio action.} \usage{gtkToggleActionSetDrawAsRadio(object, draw.as.radio)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{draw.as.radio}}{whether the action should have proxies like a radio action} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsSetHintStyle.Rd0000644000176000001440000000126512362217677020136 0ustar ripleyusers\alias{cairoFontOptionsSetHintStyle} \name{cairoFontOptionsSetHintStyle} \title{cairoFontOptionsSetHintStyle} \description{Sets the hint style for font outlines for the font options object. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast. See the documentation for \code{\link{CairoHintStyle}} for full details.} \usage{cairoFontOptionsSetHintStyle(options, hint.style)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{hint.style}}{[\code{\link{CairoHintStyle}}] the new hint style} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetText.Rd0000644000176000001440000000116112362217677015425 0ustar ripleyusers\alias{gtkEntryGetText} \name{gtkEntryGetText} \title{gtkEntryGetText} \description{Retrieves the contents of the entry widget. See also \code{\link{gtkEditableGetChars}}.} \usage{gtkEntryGetText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{This is equivalent to: \preformatted{gtk_entry_buffer_get_text (gtk_entry_get_buffer (entry)); }} \value{[character] a pointer to the contents of the widget as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkMisc.Rd0000644000176000001440000000541512362217677013660 0ustar ripleyusers\alias{GtkMisc} \name{GtkMisc} \title{GtkMisc} \description{Base class for widgets with alignments and padding} \section{Methods and Functions}{ \code{\link{gtkMiscSetAlignment}(object, xalign, yalign)}\cr \code{\link{gtkMiscSetPadding}(object, xpad, ypad)}\cr \code{\link{gtkMiscGetAlignment}(object)}\cr \code{\link{gtkMiscGetPadding}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkLabel +----GtkArrow +----GtkImage +----GtkPixmap}} \section{Interfaces}{GtkMisc implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkMisc}} widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes. The horizontal and vertical padding attributes allows extra space to be added around the widget. The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position.} \section{Structures}{\describe{\item{\verb{GtkMisc}}{ The \code{\link{GtkMisc}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{ \verb{numeric} \code{xalign} ; \tab the horizontal alignment, from 0 (left) to 1 (right). \cr \verb{numeric} \code{yalign} ; \tab the vertical alignment, from 0 (top) to 1 (bottom). \cr \verb{integer} \code{xpad} ; \tab the amount of space to add on the left and right of the widget, in pixels. \cr \verb{integer} \code{ypad} ; \tab the amount of space to add on the top and bottom of the widget, in pixels. \cr } }}} \section{Properties}{\describe{ \item{\verb{xalign} [numeric : Read / Write]}{ The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. Allowed values: [0,1] Default value: 0.5 } \item{\verb{xpad} [integer : Read / Write]}{ The amount of space to add on the left and right of the widget, in pixels. Allowed values: >= 0 Default value: 0 } \item{\verb{yalign} [numeric : Read / Write]}{ The vertical alignment, from 0 (top) to 1 (bottom). Allowed values: [0,1] Default value: 0.5 } \item{\verb{ypad} [integer : Read / Write]}{ The amount of space to add on the top and bottom of the widget, in pixels. Allowed values: >= 0 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkMisc.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetToplevelWindows.Rd0000644000176000001440000000113512362217677017745 0ustar ripleyusers\alias{gdkScreenGetToplevelWindows} \name{gdkScreenGetToplevelWindows} \title{gdkScreenGetToplevelWindows} \description{Obtains a list of all toplevel windows known to GDK on the screen \code{screen}. A toplevel window is a child of the root window (see \code{\link{gdkGetDefaultRootWindow}}).} \usage{gdkScreenGetToplevelWindows(object)} \arguments{\item{\verb{object}}{The \code{\link{GdkScreen}} where the toplevels are located.}} \details{ but its elements need not be freed. Since 2.2} \value{[list] list of toplevel windows,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabHborder.Rd0000644000176000001440000000104112362217677017205 0ustar ripleyusers\alias{gtkNotebookSetTabHborder} \name{gtkNotebookSetTabHborder} \title{gtkNotebookSetTabHborder} \description{ Sets the width of the horizontal border of tab labels. \strong{WARNING: \code{gtk_notebook_set_tab_hborder} is deprecated and should not be used in newly-written code.} } \usage{gtkNotebookSetTabHborder(object, tab.hborder)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{tab.hborder}}{width of the horizontal border of tab labels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetPageSize.Rd0000644000176000001440000000105312362217677017241 0ustar ripleyusers\alias{gtkAdjustmentSetPageSize} \name{gtkAdjustmentSetPageSize} \title{gtkAdjustmentSetPageSize} \description{Sets the page size of the adjustment.} \usage{gtkAdjustmentSetPageSize(object, page.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}} \item{\verb{page.size}}{the new page size} } \details{See \code{\link{gtkAdjustmentSetLower}} about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleWordStarts.Rd0000644000176000001440000000107112362217677021601 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleWordStarts} \name{gtkTextIterBackwardVisibleWordStarts} \title{gtkTextIterBackwardVisibleWordStarts} \description{Calls \code{\link{gtkTextIterBackwardVisibleWordStart}} up to \code{count} times.} \usage{gtkTextIterBackwardVisibleWordStarts(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of times to move} } \details{Since 2.4} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxGetSpacing.Rd0000644000176000001440000000053212362217677015515 0ustar ripleyusers\alias{gtkBoxGetSpacing} \name{gtkBoxGetSpacing} \title{gtkBoxGetSpacing} \description{Gets the value set by \code{\link{gtkBoxSetSpacing}}.} \usage{gtkBoxGetSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBox}}}} \value{[integer] spacing between children} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListToggleAddMode.Rd0000644000176000001440000000102312362217677016307 0ustar ripleyusers\alias{gtkListToggleAddMode} \name{gtkListToggleAddMode} \title{gtkListToggleAddMode} \description{ Toggles between adding to the selection and beginning a new selection. Only in \verb{GTK_SELECTION_EXTENDED}. Useful with \code{\link{gtkListExtendSelection}}. \strong{WARNING: \code{gtk_list_toggle_add_mode} is deprecated and should not be used in newly-written code.} } \usage{gtkListToggleAddMode(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetRemove.Rd0000644000176000001440000000105512362217677016422 0ustar ripleyusers\alias{atkRelationSetRemove} \name{atkRelationSetRemove} \title{atkRelationSetRemove} \description{Removes a relation from the relation set. This function unref's the \code{\link{AtkRelation}} so it will be deleted unless there is another reference to it.} \usage{atkRelationSetRemove(object, relation)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{relation}}{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabLabel.Rd0000644000176000001440000000112312362217677016640 0ustar ripleyusers\alias{gtkNotebookSetTabLabel} \name{gtkNotebookSetTabLabel} \title{gtkNotebookSetTabLabel} \description{Changes the tab label for \code{child}. If \code{NULL} is specified for \code{tab.label}, then the page will have the label 'page N'.} \usage{gtkNotebookSetTabLabel(object, child, tab.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the page} \item{\verb{tab.label}}{the tab label widget to use, or \code{NULL} for default tab label. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCurveSetGamma.Rd0000644000176000001440000000143712362217677015530 0ustar ripleyusers\alias{gtkCurveSetGamma} \name{gtkCurveSetGamma} \title{gtkCurveSetGamma} \description{ Recomputes the entire curve using the given gamma value. A gamma value of 1 results in a straight line. Values greater than 1 result in a curve above the straight line. Values less than 1 result in a curve below the straight line. The curve type is changed to \code{GTK_CURVE_TYPE_FREE}. FIXME: Needs a more precise definition of gamma. \strong{WARNING: \code{gtk_curve_set_gamma} has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.} } \usage{gtkCurveSetGamma(object, gamma)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCurve}}.} \item{\verb{gamma}}{the gamma value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextCutText.Rd0000644000176000001440000000105612362217677016713 0ustar ripleyusers\alias{atkEditableTextCutText} \name{atkEditableTextCutText} \title{atkEditableTextCutText} \description{Copy text from \code{start.pos} up to, but not including \code{end.pos} to the clipboard and then delete from the widget.} \usage{atkEditableTextCutText(object, start.pos, end.pos)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{start.pos}}{[integer] start position} \item{\verb{end.pos}}{[integer] end position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceCreateFromPngStream.Rd0000644000176000001440000000165012362217677021456 0ustar ripleyusers\alias{cairoImageSurfaceCreateFromPngStream} \name{cairoImageSurfaceCreateFromPngStream} \title{cairoImageSurfaceCreateFromPngStream} \description{Creates a new image surface from PNG data read incrementally via the \code{read.func} function.} \usage{cairoImageSurfaceCreateFromPngStream(con)} \value{[\code{\link{CairoSurface}}] a new \code{\link{CairoSurface}} initialized with the contents of the PNG file or a "nil" surface if the data read is not a valid PNG image or memory could not be allocated for the operation. A nil surface can be checked for with cairo_surface_status(surface) which may return one of the following values: \code{CAIRO_STATUS_NO_MEMORY} \code{CAIRO_STATUS_READ_ERROR} Alternatively, you can allow errors to propagate through the drawing operations and check the status on the context upon completion using \code{\link{cairoStatus}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSetIconStock.Rd0000644000176000001440000000067012362217677017352 0ustar ripleyusers\alias{gtkDragSourceSetIconStock} \name{gtkDragSourceSetIconStock} \title{gtkDragSourceSetIconStock} \description{Sets the icon that will be used for drags from a particular source to a stock icon.} \usage{gtkDragSourceSetIconStock(object, stock.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{stock.id}}{the ID of the stock icon to use} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadLine.Rd0000644000176000001440000000241712362217677017136 0ustar ripleyusers\alias{gDataInputStreamReadLine} \name{gDataInputStreamReadLine} \title{gDataInputStreamReadLine} \description{Reads a line from the data input stream.} \usage{gDataInputStreamReadLine(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[char] a string with the line that was read in (without the newlines). Set \code{length} to a \verb{numeric} to get the length of the read line. On an error, it will return \code{NULL} and \code{error} will be set. If there's no content to read, it will still return \code{NULL}, but \code{error} won't be set.} \item{\verb{length}}{a \verb{numeric} to get the length of the data read in.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererNew.Rd0000644000176000001440000000103612362217677016205 0ustar ripleyusers\alias{gdkPangoRendererNew} \name{gdkPangoRendererNew} \title{gdkPangoRendererNew} \description{Creates a new \code{\link{PangoRenderer}} for \code{screen}. Normally you can use the results of \code{\link{gdkPangoRendererGetDefault}} rather than creating a new renderer.} \usage{gdkPangoRendererNew(screen)} \arguments{\item{\verb{screen}}{a \code{\link{GdkScreen}}}} \details{Since 2.6} \value{[\code{\link{PangoRenderer}}] a newly created \code{\link{PangoRenderer}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIconGetFile.Rd0000644000176000001440000000060212362217677015407 0ustar ripleyusers\alias{gFileIconGetFile} \name{gFileIconGetFile} \title{gFileIconGetFile} \description{Gets the \code{\link{GFile}} associated with the given \code{icon}.} \usage{gFileIconGetFile(object)} \arguments{\item{\verb{object}}{a \code{\link{GIcon}}.}} \value{[\code{\link{GFile}}] a \code{\link{GFile}}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkArrow.Rd0000644000176000001440000000435512362217677014061 0ustar ripleyusers\alias{GtkArrow} \alias{gtkArrow} \name{GtkArrow} \title{GtkArrow} \description{Displays an arrow} \section{Methods and Functions}{ \code{\link{gtkArrowNew}(arrow.type = NULL, shadow.type = NULL, show = TRUE)}\cr \code{\link{gtkArrowSet}(object, arrow.type, shadow.type)}\cr \code{gtkArrow(arrow.type = NULL, shadow.type = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkArrow}} \section{Interfaces}{GtkArrow implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{GtkArrow should be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left, or right). The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be ammended in versions of Gtk to come. GtkArrow will fill any space alloted to it, but since it is inherited from \code{\link{GtkMisc}}, it can be padded and/or aligned, to fill exactly the space the programmer desires. Arrows are created with a call to \code{\link{gtkArrowNew}}. The direction or style of an arrow can be changed after creation by using \code{\link{gtkArrowSet}}.} \section{Structures}{\describe{\item{\verb{GtkArrow}}{ The \code{\link{GtkArrow}} struct containes the following fields. (These fields should be considered read-only. They should never be set by an application.) }}} \section{Convenient Construction}{\code{gtkArrow} is the equivalent of \code{\link{gtkArrowNew}}.} \section{Properties}{\describe{ \item{\verb{arrow-type} [\code{\link{GtkArrowType}} : Read / Write]}{ The direction the arrow should point. Default value: GTK_ARROW_RIGHT } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Appearance of the shadow surrounding the arrow. Default value: GTK_SHADOW_OUT } }} \section{Style Properties}{\describe{\item{\verb{arrow-scaling} [numeric : Read]}{ Amount of space used up by arrow. Allowed values: [0,1] Default value: 0.7 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkArrow.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressGetPercentageFromValue.Rd0000644000176000001440000000130512362217677021102 0ustar ripleyusers\alias{gtkProgressGetPercentageFromValue} \name{gtkProgressGetPercentageFromValue} \title{gtkProgressGetPercentageFromValue} \description{ Returns the progress as a percentage calculated from the supplied absolute progress value. \strong{WARNING: \code{gtk_progress_get_percentage_from_value} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressGetPercentageFromValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgress}}.} \item{\verb{value}}{an absolute progress value.} } \value{[numeric] a number between 0.0 and 1.0 indicating the percentage complete represented by \code{value}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxSetSpacing.Rd0000644000176000001440000000070212362217677015530 0ustar ripleyusers\alias{gtkBoxSetSpacing} \name{gtkBoxSetSpacing} \title{gtkBoxSetSpacing} \description{Sets the \verb{"spacing"} property of \code{box}, which is the number of pixels to place between children of \code{box}.} \usage{gtkBoxSetSpacing(object, spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{spacing}}{the number of pixels to put between children} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTearoffMenuItemNew.Rd0000644000176000001440000000052312362217677016524 0ustar ripleyusers\alias{gtkTearoffMenuItemNew} \name{gtkTearoffMenuItemNew} \title{gtkTearoffMenuItemNew} \description{Creates a new \code{\link{GtkTearoffMenuItem}}.} \usage{gtkTearoffMenuItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkTearoffMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetLineAttributes.Rd0000644000176000001440000000131012362217677016617 0ustar ripleyusers\alias{gdkGCSetLineAttributes} \name{gdkGCSetLineAttributes} \title{gdkGCSetLineAttributes} \description{Sets various attributes of how lines are drawn. See the corresponding members of \code{\link{GdkGCValues}} for full explanations of the arguments.} \usage{gdkGCSetLineAttributes(object, line.width, line.style, cap.style, join.style)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{line.width}}{the width of lines.} \item{\verb{line.style}}{the dash-style for lines.} \item{\verb{cap.style}}{the manner in which the ends of lines are drawn.} \item{\verb{join.style}}{the in which lines are joined together.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetColorStopRgba.Rd0000644000176000001440000000255612362217677020056 0ustar ripleyusers\alias{cairoPatternGetColorStopRgba} \name{cairoPatternGetColorStopRgba} \title{cairoPatternGetColorStopRgba} \description{Gets the color and offset information at the given \code{index} for a gradient pattern. Values of \code{index} are 0 to 1 less than the number returned by \code{\link{cairoPatternGetColorStopCount}}.} \usage{cairoPatternGetColorStopRgba(pattern, index)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{index}}{[integer] index of the stop to return data for} } \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_INVALID_INDEX} if \code{index} is not valid for the given pattern. If the pattern is not a gradient pattern, \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} is returned.} \item{\verb{offset}}{[numeric] return value for the offset of the stop, or \code{NULL}} \item{\verb{red}}{[numeric] return value for red component of color, or \code{NULL}} \item{\verb{green}}{[numeric] return value for green component of color, or \code{NULL}} \item{\verb{blue}}{[numeric] return value for blue component of color, or \code{NULL}} \item{\verb{alpha}}{[numeric] return value for alpha component of color, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreIterDepth.Rd0000644000176000001440000000076012362217677016550 0ustar ripleyusers\alias{gtkTreeStoreIterDepth} \name{gtkTreeStoreIterDepth} \title{gtkTreeStoreIterDepth} \description{Returns the depth of \code{iter}. This will be 0 for anything on the root level, 1 for anything down a level, etc.} \usage{gtkTreeStoreIterDepth(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}}} } \value{[integer] The depth of \code{iter}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetAdjustment.Rd0000644000176000001440000000073612362217677017646 0ustar ripleyusers\alias{gtkSpinButtonSetAdjustment} \name{gtkSpinButtonSetAdjustment} \title{gtkSpinButtonSetAdjustment} \description{Replaces the \code{\link{GtkAdjustment}} associated with \code{spin.button}.} \usage{gtkSpinButtonSetAdjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}} to replace the existing adjustment} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetImagePosition.Rd0000644000176000001440000000065612362217677017446 0ustar ripleyusers\alias{gtkButtonSetImagePosition} \name{gtkButtonSetImagePosition} \title{gtkButtonSetImagePosition} \description{Sets the position of the image relative to the text inside the button.} \usage{gtkButtonSetImagePosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkButton}}} \item{\verb{position}}{the position} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconWindow.Rd0000644000176000001440000000134512362217677016565 0ustar ripleyusers\alias{gtkEntryGetIconWindow} \name{gtkEntryGetIconWindow} \title{gtkEntryGetIconWindow} \description{Returns the \code{\link{GdkWindow}} which contains the entry's icon at \code{icon.pos}. This function is useful when drawing something to the entry in an expose-event callback because it enables the callback to distinguish between the text window and entry's icon windows.} \usage{gtkEntryGetIconWindow(object, icon.pos)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{See also \code{\link{gtkEntryGetTextWindow}}. Since 2.20} \value{[\code{\link{GdkWindow}}] the entry's icon window at \code{icon.pos}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRadioButton.Rd0000644000176000001440000001256212362217677015220 0ustar ripleyusers\alias{GtkRadioButton} \alias{gtkRadioButton} \name{GtkRadioButton} \title{GtkRadioButton} \description{A choice from multiple check buttons} \section{Methods and Functions}{ \code{\link{gtkRadioButtonNew}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioButtonNewFromWidget}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioButtonNewWithLabel}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioButtonNewWithLabelFromWidget}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioButtonNewWithMnemonic}(group, label, show = TRUE)}\cr \code{\link{gtkRadioButtonNewWithMnemonicFromWidget}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioButtonSetGroup}(object, group)}\cr \code{\link{gtkRadioButtonGetGroup}(object)}\cr \code{gtkRadioButton(group = NULL, label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkToggleButton +----GtkCheckButton +----GtkRadioButton}} \section{Interfaces}{GtkRadioButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A single radio button performs the same basic function as a \code{\link{GtkCheckButton}}, as its position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right. Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are deselected. A \code{\link{GtkRadioButton}} is one way of giving the user a choice from many options. Radio button widgets are created with \code{\link{gtkRadioButtonNew}}, passing NULL as the argument if this is the first radio button in a group. In subsequent calls, the group you wish to add this button to should be passed as an argument. Optionally, \code{\link{gtkRadioButtonNewWithLabel}} can be used if you want a text label on the radio button. Alternatively, when adding widgets to an existing group of radio buttons, use \code{\link{gtkRadioButtonNewFromWidget}} with a \code{\link{GtkRadioButton}} that already has a group assigned to it. The convenience function \code{\link{gtkRadioButtonNewWithLabelFromWidget}} is also provided. To retrieve the group a \code{\link{GtkRadioButton}} is assigned to, use \code{\link{gtkRadioButtonGetGroup}}. To remove a \code{\link{GtkRadioButton}} from one group and make it part of a new one, use \code{\link{gtkRadioButtonSetGroup}}. The group list does not need to be freed, as each \code{\link{GtkRadioButton}} will remove itself and its list item when it is destroyed. \emph{How to create a group of two radio buttons.} \preformatted{ # Creating two radio buttons create_radio_buttons <- function() { window <- gtkWindow("toplevel", show = F) box <- gtkVBoxNew(TRUE, 2) ## Create a radio button with a GtkEntry widget radio1 <- gtkRadioButton() entry <- gtkEntry() radio1$add(entry) ## Create a radio button with a label radio2 <- gtkRadioButtonNewWithLabelFromWidget(radio1, "I'm the second radio button.") ## Pack them into a box, then show all the widgets box$packStart(radio1, TRUE, TRUE, 2) box$packStart(radio2, TRUE, TRUE, 2) window$add(box) window$showAll() } } When an unselected button in the group is clicked the clicked button receives the "toggled" signal, as does the previously selected button. Inside the "toggled" handler, \code{\link{gtkToggleButtonGetActive}} can be used to determine if the button has been selected or deselected.} \section{Structures}{\describe{\item{\verb{GtkRadioButton}}{ Contains only private data that should be read and manipulated using the functions below. }}} \section{Convenient Construction}{\code{gtkRadioButton} is the result of collapsing the constructors of \code{GtkRadioButton} (\code{\link{gtkRadioButtonNew}}, \code{\link{gtkRadioButtonNewFromWidget}}, \code{\link{gtkRadioButtonNewWithLabel}}, \code{\link{gtkRadioButtonNewWithLabelFromWidget}}, \code{\link{gtkRadioButtonNewWithMnemonic}}, \code{\link{gtkRadioButtonNewWithMnemonicFromWidget}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{group-changed(style, user.data)}}{ Emitted when the group of radio buttons that a radio button belongs to changes. This is emitted when a radio button switches from being alone to being part of a group of 2 or more buttons, or vice-versa, and when a button is moved from one group of 2 or more buttons to a different one, but not when the composition of the group that a button belongs to changes. Since 2.4 \describe{ \item{\code{style}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{group} [\code{\link{GtkRadioButton}} : * : Write]}{ Sets a new group for a radio button. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRadioButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetPulseStep.Rd0000644000176000001440000000075012362217677017574 0ustar ripleyusers\alias{gtkProgressBarSetPulseStep} \name{gtkProgressBarSetPulseStep} \title{gtkProgressBarSetPulseStep} \description{Sets the fraction of total progress bar length to move the bouncing block for each call to \code{\link{gtkProgressBarPulse}}.} \usage{gtkProgressBarSetPulseStep(object, fraction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}} \item{\verb{fraction}}{fraction between 0.0 and 1.0} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEnumeratorCloseAsync.Rd0000644000176000001440000000175512362217677017376 0ustar ripleyusers\alias{gFileEnumeratorCloseAsync} \name{gFileEnumeratorCloseAsync} \title{gFileEnumeratorCloseAsync} \description{Asynchronously closes the file enumerator. } \usage{gFileEnumeratorCloseAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFileEnumerator}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned in \code{\link{gFileEnumeratorCloseFinish}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapUnlockPath.Rd0000644000176000001440000000073312362217677016461 0ustar ripleyusers\alias{gtkAccelMapUnlockPath} \name{gtkAccelMapUnlockPath} \title{gtkAccelMapUnlockPath} \description{Undoes the last call to \code{\link{gtkAccelMapLockPath}} on this \code{accel.path}. Refer to \code{\link{gtkAccelMapLockPath}} for information about accelerator path locking.} \usage{gtkAccelMapUnlockPath(accel.path)} \arguments{\item{\verb{accel.path}}{a valid accelerator path}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarPrependItem.Rd0000644000176000001440000000251212362217677016557 0ustar ripleyusers\alias{gtkToolbarPrependItem} \name{gtkToolbarPrependItem} \title{gtkToolbarPrependItem} \description{ Adds a new button to the beginning (top or left edges) of the given toolbar. \strong{WARNING: \code{gtk_toolbar_prepend_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarPrependItem(object, text, tooltip.text, tooltip.private.text, icon, callback, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{text}}{give your toolbar button a label.} \item{\verb{tooltip.text}}{a string that appears when the user holds the mouse over this item.} \item{\verb{tooltip.private.text}}{use with \code{\link{GtkTipsQuery}}.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that should be used as the button's icon.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{a pointer to any data you wish to be passed to the callback.} } \details{\code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the new toolbar item as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamNew.Rd0000644000176000001440000000064612362217677016407 0ustar ripleyusers\alias{gDataOutputStreamNew} \name{gDataOutputStreamNew} \title{gDataOutputStreamNew} \description{Creates a new data output stream for \code{base.stream}.} \usage{gDataOutputStreamNew(base.stream = NULL)} \arguments{\item{\verb{base.stream}}{a \code{\link{GOutputStream}}.}} \value{[\code{\link{GDataOutputStream}}] \code{\link{GDataOutputStream}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAlignmentGetPadding.Rd0000644000176000001440000000174412362217677016673 0ustar ripleyusers\alias{gtkAlignmentGetPadding} \name{gtkAlignmentGetPadding} \title{gtkAlignmentGetPadding} \description{Gets the padding on the different sides of the widget. See \code{\link{gtkAlignmentSetPadding}}.} \usage{gtkAlignmentGetPadding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAlignment}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{padding.top}}{location to store the padding for the top of the widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{padding.bottom}}{location to store the padding for the bottom of the widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{padding.left}}{location to store the padding for the left of the widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{padding.right}}{location to store the padding for the right of the widget, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableDeleteText.Rd0000644000176000001440000000133212362217677016520 0ustar ripleyusers\alias{gtkEditableDeleteText} \name{gtkEditableDeleteText} \title{gtkEditableDeleteText} \description{Deletes a sequence of characters. The characters that are deleted are those characters at positions from \code{start.pos} up to, but not including \code{end.pos}. If \code{end.pos} is negative, then the the characters deleted are those from \code{start.pos} to the end of the text.} \usage{gtkEditableDeleteText(object, start.pos, end.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{start.pos}}{start position} \item{\verb{end.pos}}{end position} } \details{Note that the positions are specified in characters, not bytes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamWriteFinish.Rd0000644000176000001440000000133112362217677017307 0ustar ripleyusers\alias{gOutputStreamWriteFinish} \name{gOutputStreamWriteFinish} \title{gOutputStreamWriteFinish} \description{Finishes a stream write operation.} \usage{gOutputStreamWriteFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] a \verb{integer} containing the number of bytes written to the stream.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressGetValue.Rd0000644000176000001440000000073512362217677016266 0ustar ripleyusers\alias{gtkProgressGetValue} \name{gtkProgressGetValue} \title{gtkProgressGetValue} \description{ Returns the current progress complete value. \strong{WARNING: \code{gtk_progress_get_value} is deprecated and should not be used in newly-written code.} } \usage{gtkProgressGetValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgress}}.}} \value{[numeric] the current progress complete value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressNewFromBytes.Rd0000644000176000001440000000124312362217677017173 0ustar ripleyusers\alias{gInetAddressNewFromBytes} \name{gInetAddressNewFromBytes} \title{gInetAddressNewFromBytes} \description{Creates a new \code{\link{GInetAddress}} from the given \code{family} and \code{bytes}. \code{bytes} should be 4 bytes for \code{G_INET_ADDRESS_IPV4} and 16 bytes for \code{G_INET_ADDRESS_IPV6}.} \usage{gInetAddressNewFromBytes(bytes, family)} \arguments{ \item{\verb{bytes}}{raw address data} \item{\verb{family}}{the address family of \code{bytes}} } \details{Since 2.22} \value{[\code{\link{GInetAddress}}] a new \code{\link{GInetAddress}} corresponding to \code{family} and \code{bytes}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawLayout.Rd0000644000176000001440000000131712362217677017123 0ustar ripleyusers\alias{pangoRendererDrawLayout} \name{pangoRendererDrawLayout} \title{pangoRendererDrawLayout} \description{Draws \code{layout} with the specified \code{\link{PangoRenderer}}.} \usage{pangoRendererDrawLayout(object, layout, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{layout}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{x}}{[integer] X position of left edge of baseline, in user space coordinates in Pango units.} \item{\verb{y}}{[integer] Y position of left edge of baseline, in user space coordinates in Pango units.} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetCellStyle.Rd0000644000176000001440000000113512362217677016317 0ustar ripleyusers\alias{gtkCListGetCellStyle} \name{gtkCListGetCellStyle} \title{gtkCListGetCellStyle} \description{ Gets the current style of the specified cell. \strong{WARNING: \code{gtk_clist_get_cell_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetCellStyle(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} } \value{[\code{\link{GtkStyle}}] A \code{\link{GtkStyle}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetPixelsBelowLines.Rd0000644000176000001440000000104412362217677020423 0ustar ripleyusers\alias{gtkTextViewSetPixelsBelowLines} \name{gtkTextViewSetPixelsBelowLines} \title{gtkTextViewSetPixelsBelowLines} \description{Sets the default number of pixels of blank space to put below paragraphs in \code{text.view}. May be overridden by tags applied to \code{text.view}'s buffer.} \usage{gtkTextViewSetPixelsBelowLines(object, pixels.below.lines)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{pixels.below.lines}}{pixels below paragraphs} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetAdjustment.Rd0000644000176000001440000000145512362217677016574 0ustar ripleyusers\alias{gtkRangeSetAdjustment} \name{gtkRangeSetAdjustment} \title{gtkRangeSetAdjustment} \description{Sets the adjustment to be used as the "model" object for this range widget. The adjustment indicates the current range value, the minimum and maximum range values, the step/page increments used for keybindings and scrolling, and the page size. The page size is normally 0 for \code{\link{GtkScale}} and nonzero for \code{\link{GtkScrollbar}}, and indicates the size of the visible area of the widget being scrolled. The page size affects the size of the scrollbar slider.} \usage{gtkRangeSetAdjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetColumnAtIndex.Rd0000644000176000001440000000117612362217677017141 0ustar ripleyusers\alias{atkTableGetColumnAtIndex} \name{atkTableGetColumnAtIndex} \title{atkTableGetColumnAtIndex} \description{Gets a \verb{integer} representing the column at the specified \code{index.}.} \usage{atkTableGetColumnAtIndex(object, index)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableInterface} \item{\verb{index}}{[integer] a \verb{integer} representing an index in \code{table}} } \value{[integer] a gint representing the column at the specified index, or -1 if the table does not implement this interface} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawRgb32ImageDithalign.Rd0000644000176000001440000000163712362217677017273 0ustar ripleyusers\alias{gdkDrawRgb32ImageDithalign} \name{gdkDrawRgb32ImageDithalign} \title{gdkDrawRgb32ImageDithalign} \description{Like \code{\link{gdkDrawRgb32Image}}, but allows you to specify the dither offsets. See \code{\link{gdkDrawRgbImageDithalign}} for more details.} \usage{gdkDrawRgb32ImageDithalign(object, gc, x, y, width, height, dith, buf, xdith, ydith)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{gc}}{a \code{\link{GdkGC}}} \item{\verb{x}}{X coordinate on \code{drawable} where image should go} \item{\verb{y}}{Y coordinate on \code{drawable} where image should go} \item{\verb{width}}{width of area of image to draw} \item{\verb{height}}{height of area of image to draw} \item{\verb{dith}}{dithering mode} \item{\verb{buf}}{RGB image data} \item{\verb{xdith}}{X dither offset} \item{\verb{ydith}}{Y dither offset} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetDocumenters.Rd0000644000176000001440000000073612362217677020105 0ustar ripleyusers\alias{gtkAboutDialogSetDocumenters} \name{gtkAboutDialogSetDocumenters} \title{gtkAboutDialogSetDocumenters} \description{Sets the strings which are displayed in the documenters tab of the secondary credits dialog.} \usage{gtkAboutDialogSetDocumenters(object, documenters)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{documenters}}{a list of strings} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontGetDisplay.Rd0000644000176000001440000000100612362217677015671 0ustar ripleyusers\alias{gdkFontGetDisplay} \name{gdkFontGetDisplay} \title{gdkFontGetDisplay} \description{ Returns the \code{\link{GdkDisplay}} for \code{font}. \strong{WARNING: \code{gdk_font_get_display} is deprecated and should not be used in newly-written code.} } \usage{gdkFontGetDisplay(object)} \arguments{\item{\verb{object}}{the \code{\link{GdkFont}}.}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] the corresponding \code{\link{GdkDisplay}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowInvalidateRegion.Rd0000644000176000001440000000261712362217677017422 0ustar ripleyusers\alias{gdkWindowInvalidateRegion} \name{gdkWindowInvalidateRegion} \title{gdkWindowInvalidateRegion} \description{Adds \code{region} to the update area for \code{window}. The update area is the region that needs to be redrawn, or "dirty region." The call \code{\link{gdkWindowProcessUpdates}} sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of \code{window} in response to those expose events.} \usage{gdkWindowInvalidateRegion(object, region, invalidate.children)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{region}}{a \code{\link{GdkRegion}}} \item{\verb{invalidate.children}}{\code{TRUE} to also invalidate child windows} } \details{GDK will call \code{\link{gdkWindowProcessAllUpdates}} on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn. The \code{invalidate.children} parameter controls whether the region of each child window that intersects \code{region} will also be invalidated. If \code{FALSE}, then the update area for child windows will remain unaffected. See gdk_window_invalidate_maybe_recurse if you need fine grained control over which children are invalidated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsDrawable.Rd0000644000176000001440000000073012362217677016201 0ustar ripleyusers\alias{gtkWidgetIsDrawable} \name{gtkWidgetIsDrawable} \title{gtkWidgetIsDrawable} \description{Determines whether \code{widget} can be drawn to. A widget can be drawn to if it is mapped and visible.} \usage{gtkWidgetIsDrawable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} is drawable, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetJobName.Rd0000644000176000001440000000114412362217677017705 0ustar ripleyusers\alias{gtkPrintOperationSetJobName} \name{gtkPrintOperationSetJobName} \title{gtkPrintOperationSetJobName} \description{Sets the name of the print job. The name is used to identify the job (e.g. in monitoring applications like eggcups). } \usage{gtkPrintOperationSetJobName(object, job.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{job.name}}{a string that identifies the print job} } \details{If you don't set a job name, GTK+ picks a default one by numbering successive print jobs. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetTarget.Rd0000644000176000001440000000134012362217677015214 0ustar ripleyusers\alias{cairoGetTarget} \name{cairoGetTarget} \title{cairoGetTarget} \description{Gets the target surface for the cairo context as passed to \code{\link{cairoCreate}}.} \usage{cairoGetTarget(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This function will always return a valid pointer, but the result can be a "nil" surface if \code{cr} is already in an error state, (ie. \code{\link{cairoStatus}} \code{!=} \code{CAIRO_STATUS_SUCCESS}). A nil surface is indicated by \code{\link{cairoSurfaceStatus}} \code{!=} \code{CAIRO_STATUS_SUCCESS}. } \value{[\code{\link{CairoSurface}}] the target surface. To keep a reference to it,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetLineJoin.Rd0000644000176000001440000000062112362217677015476 0ustar ripleyusers\alias{cairoGetLineJoin} \name{cairoGetLineJoin} \title{cairoGetLineJoin} \description{Gets the current line join style, as set by \code{\link{cairoSetLineJoin}}.} \usage{cairoGetLineJoin(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoLineJoin}}] the current line join style.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxPackStart.Rd0000644000176000001440000000270312362217677015367 0ustar ripleyusers\alias{gtkBoxPackStart} \name{gtkBoxPackStart} \title{gtkBoxPackStart} \description{Adds \code{child} to \code{box}, packed with reference to the start of \code{box}. The \code{child} is packed after any other child packed with reference to the start of \code{box}.} \usage{gtkBoxPackStart(object, child, expand = TRUE, fill = TRUE, padding = 0)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to be added to \code{box}} \item{\verb{expand}}{\code{TRUE} if the new child is to be given extra space allocated to \code{box}. The extra space will be divided evenly between all children of \code{box} that use this option} \item{\verb{fill}}{\code{TRUE} if space given to \code{child} by the \code{expand} option is actually allocated to \code{child}, rather than just padding it. This parameter has no effect if \code{expand} is set to \code{FALSE}. A child is always allocated the full height of a \code{\link{GtkHBox}} and the full width of a \code{\link{GtkVBox}}. This option affects the other dimension} \item{\verb{padding}}{extra space in pixels to put between this child and its neighbors, over and above the global amount specified by \verb{"spacing"} property. If \code{child} is a widget at one of the reference ends of \code{box}, then \code{padding} pixels are also put between \code{child} and the reference edge of \code{box}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGeometryChanged.Rd0000644000176000001440000000076312362217677017243 0ustar ripleyusers\alias{gdkWindowGeometryChanged} \name{gdkWindowGeometryChanged} \title{gdkWindowGeometryChanged} \description{This function informs GDK that the geometry of an embedded offscreen window has changed. This is necessary for GDK to keep track of which offscreen window the pointer is in.} \usage{gdkWindowGeometryChanged(object)} \arguments{\item{\verb{object}}{an embedded offscreen \code{\link{GdkWindow}}}} \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListChildPosition.Rd0000644000176000001440000000104612362217677016425 0ustar ripleyusers\alias{gtkListChildPosition} \name{gtkListChildPosition} \title{gtkListChildPosition} \description{ Searches the children of \code{list} for the index of \code{child}. \strong{WARNING: \code{gtk_list_child_position} is deprecated and should not be used in newly-written code.} } \usage{gtkListChildPosition(object, child)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{child}}{the child to look for.} } \value{[integer] the index of the child, -1 if not found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToolItem.Rd0000644000176000001440000001366712362217677014531 0ustar ripleyusers\alias{GtkToolItem} \alias{gtkToolItem} \name{GtkToolItem} \title{GtkToolItem} \description{The base class of widgets that can be added to GtkToolShell} \section{Methods and Functions}{ \code{\link{gtkToolItemNew}(show = TRUE)}\cr \code{\link{gtkToolItemSetHomogeneous}(object, homogeneous)}\cr \code{\link{gtkToolItemGetHomogeneous}(object)}\cr \code{\link{gtkToolItemSetExpand}(object, expand)}\cr \code{\link{gtkToolItemGetExpand}(object)}\cr \code{\link{gtkToolItemSetTooltip}(object, tooltips, tip.text = NULL, tip.private = NULL)}\cr \code{\link{gtkToolItemSetTooltip}(object, tooltips, tip.text = NULL, tip.private = NULL)}\cr \code{\link{gtkToolItemSetTooltipText}(object, text)}\cr \code{\link{gtkToolItemSetTooltipMarkup}(object, markup)}\cr \code{\link{gtkToolItemSetUseDragWindow}(object, use.drag.window)}\cr \code{\link{gtkToolItemGetUseDragWindow}(object)}\cr \code{\link{gtkToolItemSetVisibleHorizontal}(object, visible.horizontal)}\cr \code{\link{gtkToolItemGetVisibleHorizontal}(object)}\cr \code{\link{gtkToolItemSetVisibleVertical}(object, visible.vertical)}\cr \code{\link{gtkToolItemGetVisibleVertical}(object)}\cr \code{\link{gtkToolItemSetIsImportant}(object, is.important)}\cr \code{\link{gtkToolItemGetIsImportant}(object)}\cr \code{\link{gtkToolItemGetEllipsizeMode}(object)}\cr \code{\link{gtkToolItemGetIconSize}(object)}\cr \code{\link{gtkToolItemGetOrientation}(object)}\cr \code{\link{gtkToolItemGetToolbarStyle}(object)}\cr \code{\link{gtkToolItemGetReliefStyle}(object)}\cr \code{\link{gtkToolItemGetTextAlignment}(object)}\cr \code{\link{gtkToolItemGetTextOrientation}(object)}\cr \code{\link{gtkToolItemRetrieveProxyMenuItem}(object)}\cr \code{\link{gtkToolItemGetProxyMenuItem}(object, menu.item.id)}\cr \code{\link{gtkToolItemSetProxyMenuItem}(object, menu.item.id, menu.item = NULL)}\cr \code{\link{gtkToolItemRebuildMenu}(object)}\cr \code{\link{gtkToolItemToolbarReconfigured}(object)}\cr \code{\link{gtkToolItemGetTextSizeGroup}(object)}\cr \code{gtkToolItem(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkSeparatorToolItem}} \section{Interfaces}{GtkToolItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{\code{\link{GtkToolItem}}s are widgets that can appear on a toolbar. To create a toolbar item that contain something else than a button, use \code{\link{gtkToolItemNew}}. Use \code{\link{gtkContainerAdd}} to add a child widget to the tool item. For toolbar items that contain buttons, see the \code{\link{GtkToolButton}}, \code{\link{GtkToggleToolButton}} and \code{\link{GtkRadioToolButton}} classes. See the \code{\link{GtkToolbar}} class for a description of the toolbar widget, and \code{\link{GtkToolShell}} for a description of the tool shell interface.} \section{Structures}{\describe{\item{\verb{GtkToolItem}}{ The GtkToolItem struct contains only private data. It should only be accessed through the functions described below. }}} \section{Convenient Construction}{\code{gtkToolItem} is the equivalent of \code{\link{gtkToolItemNew}}.} \section{Signals}{\describe{ \item{\code{create-menu-proxy(tool.item, user.data)}}{ This signal is emitted when the toolbar needs information from \code{tool.item} about whether the item should appear in the toolbar overflow menu. In response the tool item should either \itemize{ \item \item \item } The toolbar may cache the result of this signal. When the tool item changes how it will respond to this signal it must call \code{\link{gtkToolItemRebuildMenu}} to invalidate the cache and ensure that the toolbar rebuilds its overflow menu. \describe{ \item{\code{tool.item}}{the object the signal was emitted on} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal was handled, \code{FALSE} if not } \item{\code{set-tooltip(tool.item, tooltips, tip.text, tip.private, user.data)}}{ This signal is emitted when the toolitem's tooltip changes. Application developers can use \code{\link{gtkToolItemSetTooltip}} to set the item's tooltip. \describe{ \item{\code{tool.item}}{the object the signal was emitted on} \item{\code{tooltips}}{the \code{\link{GtkTooltips}}} \item{\code{tip.text}}{the tooltip text} \item{\code{tip.private}}{the tooltip private text} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal was handled, \code{FALSE} if not } \item{\code{toolbar-reconfigured(tool.item, user.data)}}{ This signal is emitted when some property of the toolbar that the item is a child of changes. For custom subclasses of \code{\link{GtkToolItem}}, the default handler of this signal use the functions \itemize{ \item \item \item \item } to find out what the toolbar should look like and change themselves accordingly. \describe{ \item{\code{tool.item}}{the object the signal was emitted on} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{is-important} [logical : Read / Write]}{ Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode. Default value: FALSE } \item{\verb{visible-horizontal} [logical : Read / Write]}{ Whether the toolbar item is visible when the toolbar is in a horizontal orientation. Default value: TRUE } \item{\verb{visible-vertical} [logical : Read / Write]}{ Whether the toolbar item is visible when the toolbar is in a vertical orientation. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToolItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowMaximize.Rd0000644000176000001440000000154212362217677015775 0ustar ripleyusers\alias{gtkWindowMaximize} \name{gtkWindowMaximize} \title{gtkWindowMaximize} \description{Asks to maximize \code{window}, so that it becomes full-screen. Note that you shouldn't assume the window is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the window will end up maximized. Just don't write code that crashes if not.} \usage{gtkWindowMaximize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{It's permitted to call this function before showing a window, in which case the window will be maximized when it appears onscreen initially. You can track maximization via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetIconName.Rd0000644000176000001440000000122612362217677017220 0ustar ripleyusers\alias{gtkToolButtonSetIconName} \name{gtkToolButtonSetIconName} \title{gtkToolButtonSetIconName} \description{Sets the icon for the tool button from a named themed icon. See the docs for \code{\link{GtkIconTheme}} for more details. The "icon_name" property only has an effect if not overridden by non-\code{NULL} "label", "icon_widget" and "stock_id" properties.} \usage{gtkToolButtonSetIconName(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{icon.name}}{the name of the themed icon. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceGetTargetList.Rd0000644000176000001440000000073212362217677017523 0ustar ripleyusers\alias{gtkDragSourceGetTargetList} \name{gtkDragSourceGetTargetList} \title{gtkDragSourceGetTargetList} \description{Gets the list of targets this widget can provide for drag-and-drop.} \usage{gtkDragSourceGetTargetList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.4} \value{[\code{\link{GtkTargetList}}] the \code{\link{GtkTargetList}}, or \code{NULL} if none} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetUseArrowsAlways.Rd0000644000176000001440000000103412362217677017565 0ustar ripleyusers\alias{gtkComboSetUseArrowsAlways} \name{gtkComboSetUseArrowsAlways} \title{gtkComboSetUseArrowsAlways} \description{ Obsolete function, does nothing. \strong{WARNING: \code{gtk_combo_set_use_arrows_always} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetUseArrowsAlways(object, val)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{val}}{unused} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIndexToPos.Rd0000644000176000001440000000156312362217677016576 0ustar ripleyusers\alias{pangoLayoutIndexToPos} \name{pangoLayoutIndexToPos} \title{pangoLayoutIndexToPos} \description{Converts from an index within a \code{\link{PangoLayout}} to the onscreen position corresponding to the grapheme at that index, which is represented as rectangle. Note that \code{pos->x} is always the leading edge of the grapheme and \code{pos->x + pos->width} the trailing edge of the grapheme. If the directionality of the grapheme is right-to-left, then \code{pos->width} will be negative.} \usage{pangoLayoutIndexToPos(object, index, pos)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{index}}{[integer] byte index within \code{layout}} \item{\verb{pos}}{[\code{\link{PangoRectangle}}] rectangle in which to store the position of the grapheme} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewSetDisplayedRow.Rd0000644000176000001440000000137612362217677017544 0ustar ripleyusers\alias{gtkCellViewSetDisplayedRow} \name{gtkCellViewSetDisplayedRow} \title{gtkCellViewSetDisplayedRow} \description{Sets the row of the model that is currently displayed by the \code{\link{GtkCellView}}. If the path is unset, then the contents of the cellview "stick" at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the \code{\link{GtkCellView}} becomes temporarily empty.} \usage{gtkCellViewSetDisplayedRow(object, path = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} or \code{NULL} to unset. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetDataType.Rd0000644000176000001440000000070612362217677017636 0ustar ripleyusers\alias{gtkSelectionDataGetDataType} \name{gtkSelectionDataGetDataType} \title{gtkSelectionDataGetDataType} \description{Retrieves the data type of the selection.} \usage{gtkSelectionDataGetDataType(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[\code{\link{GdkAtom}}] the data type of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionSetSelectMultiple.Rd0000644000176000001440000000134412362217677021077 0ustar ripleyusers\alias{gtkFileSelectionSetSelectMultiple} \name{gtkFileSelectionSetSelectMultiple} \title{gtkFileSelectionSetSelectMultiple} \description{ Sets whether the user is allowed to select multiple files in the file list. Use \code{\link{gtkFileSelectionGetSelections}} to get the list of selected files. \strong{WARNING: \code{gtk_file_selection_set_select_multiple} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionSetSelectMultiple(object, select.multiple)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileSelection}}} \item{\verb{select.multiple}}{whether or not the user is allowed to select multiple files in the file list.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPdfSurfaceSetSize.Rd0000644000176000001440000000167212362217677016667 0ustar ripleyusers\alias{cairoPdfSurfaceSetSize} \name{cairoPdfSurfaceSetSize} \title{cairoPdfSurfaceSetSize} \description{Changes the size of a PDF surface for the current (and subsequent) pages.} \usage{cairoPdfSurfaceSetSize(surface, width.in.points, height.in.points)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a PDF \code{\link{CairoSurface}}} \item{\verb{width.in.points}}{[numeric] new surface width, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] new surface height, in points (1 point == 1/72.0 inch)} } \details{This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either \code{\link{cairoShowPage}} or \code{\link{cairoCopyPage}}. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncInitableNewFinish.Rd0000644000176000001440000000155212362217677017024 0ustar ripleyusers\alias{gAsyncInitableNewFinish} \name{gAsyncInitableNewFinish} \title{gAsyncInitableNewFinish} \description{Finishes the async construction for the various g_async_initable_new calls, returning the created object or \code{NULL} on error.} \usage{gAsyncInitableNewFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{the \code{\link{GAsyncInitable}} from the callback} \item{\verb{res}}{the \verb{GAsyncResult.from} the callback} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GObject}}] a newly created \code{\link{GObject}}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxNew.Rd0000644000176000001440000000043612362217677015341 0ustar ripleyusers\alias{gtkHandleBoxNew} \name{gtkHandleBoxNew} \title{gtkHandleBoxNew} \description{Create a new handle box.} \usage{gtkHandleBoxNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkHandleBox}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedAdd1.Rd0000644000176000001440000000063012362217677014540 0ustar ripleyusers\alias{gtkPanedAdd1} \name{gtkPanedAdd1} \title{gtkPanedAdd1} \description{Adds a child to the top or left pane with default parameters. This is equivalent to \code{gtk_paned_pack1 (paned, child, FALSE, TRUE)}.} \usage{gtkPanedAdd1(object, child)} \arguments{ \item{\verb{object}}{a paned widget} \item{\verb{child}}{the child to add} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetEllipsize.Rd0000644000176000001440000000073612362217677016402 0ustar ripleyusers\alias{gtkLabelSetEllipsize} \name{gtkLabelSetEllipsize} \title{gtkLabelSetEllipsize} \description{Sets the mode used to ellipsize (add an ellipsis: "...") to the text if there is not enough space to render the entire string.} \usage{gtkLabelSetEllipsize(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{mode}}{a \code{\link{PangoEllipsizeMode}}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGrabDefault.Rd0000644000176000001440000000123312362217677016343 0ustar ripleyusers\alias{gtkWidgetGrabDefault} \name{gtkWidgetGrabDefault} \title{gtkWidgetGrabDefault} \description{Causes \code{widget} to become the default widget. \code{widget} must have the \code{GTK_CAN_DEFAULT} flag set; typically you have to set this flag yourself by calling \code{gtk_widget_set_can_default ( widget , TRUE )}. The default widget is activated when the user presses Enter in a window. Default widgets must be activatable, that is, \code{\link{gtkWidgetActivate}} should affect them.} \usage{gtkWidgetGrabDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoTextPath.Rd0000644000176000001440000000236312362217677015075 0ustar ripleyusers\alias{cairoTextPath} \name{cairoTextPath} \title{cairoTextPath} \description{Adds closed paths for text to the current path. The generated path if filled, achieves an effect similar to that of \code{\link{cairoShowText}}.} \usage{cairoTextPath(cr, utf8)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{utf8}}{[char] a string of text encoded in UTF-8, or \code{NULL}} } \details{Text conversion and positioning is done similar to \code{\link{cairoShowText}}. Like \code{\link{cairoShowText}}, After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for chaining multiple calls to to \code{\link{cairoTextPath}} without having to set current point in between. Note: The \code{\link{cairoTextPath}} function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications. See \code{\link{cairoGlyphPath}} for the "real" text path API in cairo. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkScaleButton.Rd0000644000176000001440000001047512362217677015212 0ustar ripleyusers\alias{GtkScaleButton} \alias{gtkScaleButton} \name{GtkScaleButton} \title{GtkScaleButton} \description{A button which pops up a scale} \section{Methods and Functions}{ \code{\link{gtkScaleButtonNew}(size, min, max, step, icons, show = TRUE)}\cr \code{\link{gtkScaleButtonSetAdjustment}(object, adjustment)}\cr \code{\link{gtkScaleButtonSetIcons}(object, icons)}\cr \code{\link{gtkScaleButtonSetValue}(object, value)}\cr \code{\link{gtkScaleButtonGetAdjustment}(object)}\cr \code{\link{gtkScaleButtonGetValue}(object)}\cr \code{\link{gtkScaleButtonGetPopup}(object)}\cr \code{\link{gtkScaleButtonGetPlusButton}(object)}\cr \code{\link{gtkScaleButtonGetMinusButton}(object)}\cr \code{\link{gtkScaleButtonSetOrientation}(object, orientation)}\cr \code{\link{gtkScaleButtonSetOrientation}(object, orientation)}\cr \code{\link{gtkScaleButtonGetOrientation}(object)}\cr \code{\link{gtkScaleButtonGetOrientation}(object)}\cr \code{gtkScaleButton(size, min, max, step, icons, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkScaleButton +----GtkVolumeButton}} \section{Interfaces}{GtkScaleButton implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkActivatable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\code{\link{GtkScaleButton}} provides a button which pops up a scale widget. This kind of widget is commonly used for volume controls in multimedia applications, and GTK+ provides a \code{\link{GtkVolumeButton}} subclass that is tailored for this use case.} \section{Structures}{\describe{\item{\verb{GtkScaleButton}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkScaleButton} is the equivalent of \code{\link{gtkScaleButtonNew}}.} \section{Signals}{\describe{ \item{\code{popdown(button, user.data)}}{ The ::popdown signal is a keybinding signal which gets emitted to popdown the scale widget. The default binding for this signal is Escape. Since 2.12 \describe{ \item{\code{button}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{popup(button, user.data)}}{ The ::popup signal is a keybinding signal which gets emitted to popup the scale widget. The default bindings for this signal are Space, Enter and Return. Since 2.12 \describe{ \item{\code{button}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{value-changed(button, value, user.data)}}{ The ::value-changed signal is emitted when the value field has changed. Since 2.12 \describe{ \item{\code{button}}{the object which received the signal} \item{\code{value}}{the new value} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{adjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The GtkAdjustment that contains the current value of this scale button object. } \item{\verb{icons} [character list : Read / Write]}{ The names of the icons to be used by the scale button. The first item in the list will be used in the button when the current value is the lowest value, the second item for the highest value. All the subsequent icons will be used for all the other values, spread evenly over the range of values. If there's only one icon name in the \code{icons} list, it will be used for all the values. If only two icon names are in the \code{icons} list, the first one will be used for the bottom 50\% of the scale, and the second one for the top 50\%. It is recommended to use at least 3 icons so that the \code{\link{GtkScaleButton}} reflects the current value of the scale better for the users. Since 2.12 } \item{\verb{size} [\code{\link{GtkIconSize}} : Read / Write]}{ The icon size. Default value: GTK_ICON_SIZE_SMALL_TOOLBAR } \item{\verb{value} [numeric : Read / Write]}{ The value of the scale. Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkScaleButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellCancel.Rd0000644000176000001440000000051012362217677016016 0ustar ripleyusers\alias{gtkMenuShellCancel} \name{gtkMenuShellCancel} \title{gtkMenuShellCancel} \description{Cancels the selection within the menu shell.} \usage{gtkMenuShellCancel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuShell}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetShowProgress.Rd0000644000176000001440000000104212362217677021034 0ustar ripleyusers\alias{gtkPrintOperationSetShowProgress} \name{gtkPrintOperationSetShowProgress} \title{gtkPrintOperationSetShowProgress} \description{If \code{show.progress} is \code{TRUE}, the print operation will show a progress dialog during the print operation.} \usage{gtkPrintOperationSetShowProgress(object, show.progress)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{show.progress}}{\code{TRUE} to show a progress dialog} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetAction.Rd0000644000176000001440000000131412362217677016040 0ustar ripleyusers\alias{gtkWidgetGetAction} \name{gtkWidgetGetAction} \title{gtkWidgetGetAction} \description{ Returns the \code{\link{GtkAction}} that \code{widget} is a proxy for. See also \code{\link{gtkActionGetProxies}}. \strong{WARNING: \code{gtk_widget_get_action} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkActivatableGetRelatedAction}} instead.} } \usage{gtkWidgetGetAction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.10} \value{[\code{\link{GtkAction}}] the action that a widget is a proxy for, or \code{NULL}, if it is not attached to an action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapCreateFromXpm.Rd0000644000176000001440000000172512362217677016700 0ustar ripleyusers\alias{gdkPixmapCreateFromXpm} \name{gdkPixmapCreateFromXpm} \title{gdkPixmapCreateFromXpm} \description{Create a pixmap from a XPM file.} \usage{gdkPixmapCreateFromXpm(drawable, transparent.color, filename)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap.} \item{\verb{transparent.color}}{the color to be used for the pixels that are transparent in the input file. Can be \code{NULL}, in which case a default color will be used.} \item{\verb{filename}}{the filename of a file containing XPM data.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}. \emph{[ \acronym{transfer none} ]}} \item{\verb{mask}}{(out) a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be \code{NULL}, in which case transparency will be ignored.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonGetFontName.Rd0000644000176000001440000000140212362217677017207 0ustar ripleyusers\alias{gtkFontButtonGetFontName} \name{gtkFontButtonGetFontName} \title{gtkFontButtonGetFontName} \description{Retrieves the name of the currently selected font. This name includes style and size information as well. If you want to render something with the font, use this string with \code{\link{pangoFontDescriptionFromString}} . If you're interested in peeking certain values (family name, style, size, weight) just query these properties from the \code{\link{PangoFontDescription}} object.} \usage{gtkFontButtonGetFontName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[character] an internal copy of the font name which must not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenSetResolution.Rd0000644000176000001440000000126712362217677016765 0ustar ripleyusers\alias{gdkScreenSetResolution} \name{gdkScreenSetResolution} \title{gdkScreenSetResolution} \description{Sets the resolution for font handling on the screen. This is a scale factor between points specified in a \code{\link{PangoFontDescription}} and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).} \usage{gdkScreenSetResolution(object, dpi)} \arguments{ \item{\verb{object}}{a \code{\link{GdkScreen}}} \item{\verb{dpi}}{the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrShapeNewWithData.Rd0000644000176000001440000000141712362217677017335 0ustar ripleyusers\alias{pangoAttrShapeNewWithData} \name{pangoAttrShapeNewWithData} \title{pangoAttrShapeNewWithData} \description{Like \code{\link{pangoAttrShapeNew}}, but a user data pointer is also provided; this pointer can be accessed when later rendering the glyph.} \usage{pangoAttrShapeNewWithData(ink.rect, logical.rect, data)} \arguments{ \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] ink rectangle to assign to each character} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] logical rectangle to assign to each character} \item{\verb{data}}{[R object] user data pointer} } \details{ Since 1.8} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetPrintSettings.Rd0000644000176000001440000000117412362217677021212 0ustar ripleyusers\alias{gtkPrintOperationSetPrintSettings} \name{gtkPrintOperationSetPrintSettings} \title{gtkPrintOperationSetPrintSettings} \description{Sets the print settings for \code{op}. This is typically used to re-establish print settings from a previous print operation, see \code{\link{gtkPrintOperationRun}}.} \usage{gtkPrintOperationSetPrintSettings(object, print.settings = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{print.settings}}{\code{\link{GtkPrintSettings}}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetAcceptsTab.Rd0000644000176000001440000000104712362217677017173 0ustar ripleyusers\alias{gtkTextViewGetAcceptsTab} \name{gtkTextViewGetAcceptsTab} \title{gtkTextViewGetAcceptsTab} \description{Returns whether pressing the Tab key inserts a tab characters. \code{\link{gtkTextViewSetAcceptsTab}}.} \usage{gtkTextViewGetAcceptsTab(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTextView}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if pressing the Tab key inserts a tab character, \code{FALSE} if pressing the Tab key moves the keyboard focus.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetAbsoluteSize.Rd0000644000176000001440000000146412362217677021464 0ustar ripleyusers\alias{pangoFontDescriptionSetAbsoluteSize} \name{pangoFontDescriptionSetAbsoluteSize} \title{pangoFontDescriptionSetAbsoluteSize} \description{Sets the size field of a font description, in device units. This is mutually exclusive with \code{\link{pangoFontDescriptionSetSize}} which sets the font size in points.} \usage{pangoFontDescriptionSetAbsoluteSize(object, size)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{size}}{[numeric] the new size, in Pango units. There are \code{PANGO_SCALE} Pango units in one device unit. For an output backend where a device unit is a pixel, a \code{size} value of 10 * PANGO_SCALE gives a 10 pixel font.} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSelectAll.Rd0000644000176000001440000000061512362217677016336 0ustar ripleyusers\alias{gtkIconViewSelectAll} \name{gtkIconViewSelectAll} \title{gtkIconViewSelectAll} \description{Selects all the icons. \code{icon.view} must has its selection mode set to \verb{GTK_SELECTION_MULTIPLE}.} \usage{gtkIconViewSelectAll(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Drawing-Primitives.Rd0000644000176000001440000001175012362217677016605 0ustar ripleyusers\alias{gdk-Drawing-Primitives} \alias{GdkDrawable} \alias{GdkSegment} \alias{GdkTrapezoid} \name{gdk-Drawing-Primitives} \title{Drawing Primitives} \description{Functions for drawing points, lines, arcs, and text} \section{Methods and Functions}{ \code{\link{gdkDrawableSetData}(object, key, data)}\cr \code{\link{gdkDrawableGetData}(object, key)}\cr \code{\link{gdkDrawableGetDisplay}(object)}\cr \code{\link{gdkDrawableGetScreen}(object)}\cr \code{\link{gdkDrawableGetVisual}(object)}\cr \code{\link{gdkDrawableSetColormap}(object, colormap)}\cr \code{\link{gdkDrawableGetColormap}(object)}\cr \code{\link{gdkDrawableGetDepth}(object)}\cr \code{\link{gdkDrawableGetSize}(object)}\cr \code{\link{gdkDrawableGetClipRegion}(object)}\cr \code{\link{gdkDrawableGetVisibleRegion}(object)}\cr \code{\link{gdkDrawPoint}(object, gc, x, y)}\cr \code{\link{gdkDrawPoints}(object, gc, points)}\cr \code{\link{gdkDrawLine}(object, gc, x1, y1, x2, y2)}\cr \code{\link{gdkDrawLines}(object, gc, points)}\cr \code{\link{gdkDrawPixbuf}(object, gc = NULL, pixbuf, src.x, src.y, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)}\cr \code{\link{gdkDrawSegments}(object, gc, segs)}\cr \code{\link{gdkDrawRectangle}(object, gc, filled, x, y, width, height)}\cr \code{\link{gdkDrawArc}(object, gc, filled, x, y, width, height, angle1, angle2)}\cr \code{\link{gdkDrawPolygon}(object, gc, filled, points)}\cr \code{\link{gdkDrawTrapezoids}(drawable, gc, trapezoids)}\cr \code{\link{gdkDrawGlyphs}(object, gc, font, x, y, glyphs)}\cr \code{\link{gdkDrawGlyphsTransformed}(drawable, gc, matrix, font, x, y, glyphs)}\cr \code{\link{gdkDrawLayoutLine}(object, gc, x, y, line)}\cr \code{\link{gdkDrawLayoutLineWithColors}(drawable, gc, x, y, line, foreground, background)}\cr \code{\link{gdkDrawLayout}(object, gc, x, y, layout)}\cr \code{\link{gdkDrawLayoutWithColors}(drawable, gc, x, y, layout, foreground, background)}\cr \code{\link{gdkDrawString}(object, font, gc, x, y, string)}\cr \code{\link{gdkDrawText}(object, font, gc, x, y, text, text.length)}\cr \code{\link{gdkDrawTextWc}(object, font, gc, x, text)}\cr \code{\link{gdkDrawDrawable}(object, gc, src, xsrc, ysrc, xdest, ydest, width, height)}\cr \code{\link{gdkDrawImage}(object, gc, image, xsrc, ysrc, xdest, ydest, width, height)}\cr \code{\link{gdkDrawableGetImage}(object, x, y, width, height)}\cr \code{\link{gdkDrawableCopyToImage}(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height)}\cr } \section{Hierarchy}{\preformatted{GObject +----GdkDrawable +----GdkWindow +----GdkPixmap}} \section{Detailed Description}{These functions provide support for drawing points, lines, arcs and text onto what are called 'drawables'. Drawables, as the name suggests, are things which support drawing onto them, and are either \code{\link{GdkWindow}} or \code{\link{GdkPixmap}} objects. Many of the drawing operations take a \code{\link{GdkGC}} argument, which represents a graphics context. This \code{\link{GdkGC}} contains a number of drawing attributes such as foreground color, background color and line width, and is used to reduce the number of arguments needed for each drawing operation. See the Graphics Contexts section for more information. Some of the drawing operations take Pango data structures like \code{\link{PangoContext}}, \code{\link{PangoLayout}} or \code{\link{PangoLayoutLine}} as arguments. If you're using GTK+, the ususal way to obtain these structures is via \code{\link{gtkWidgetCreatePangoContext}} or \code{\link{gtkWidgetCreatePangoLayout}}.} \section{Structures}{\describe{ \item{\verb{GdkDrawable}}{ An opaque structure representing an object that can be drawn onto. This can be a \code{\link{GdkPixmap}}, a \code{\link{GdkBitmap}}, or a \code{\link{GdkWindow}}. } \item{\verb{GdkSegment}}{ Specifies the start and end point of a line for use by the \code{\link{gdkDrawSegments}} function. \strong{\verb{GdkSegment} is a \link{transparent-type}.} \describe{ \item{\verb{x1}}{[integer] the x coordinate of the start point.} \item{\verb{y1}}{[integer] the y coordinate of the start point.} \item{\verb{x2}}{[integer] the x coordinate of the end point.} \item{\verb{y2}}{[integer] the y coordinate of the end point.} } } \item{\verb{GdkTrapezoid}}{ Specifies a trapezpoid for use by the \code{\link{gdkDrawTrapezoids}}. The trapezoids used here have parallel, horizontal top and bottom edges. \strong{\verb{GdkTrapezoid} is a \link{transparent-type}.} \describe{ \item{\verb{y1}}{[numeric] the y coordinate of the start point.} \item{\verb{x11}}{[numeric] the x coordinate of the top left corner} \item{\verb{x21}}{[numeric] the x coordinate of the top right corner} \item{\verb{y2}}{[numeric] the y coordinate of the end point.} \item{\verb{x12}}{[numeric] the x coordinate of the bottom left corner} \item{\verb{x22}}{[numeric] the x coordinate of the bottom right corner} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Drawing-Primitives.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextCreatePangoContext.Rd0000644000176000001440000000101112362217677021130 0ustar ripleyusers\alias{gtkPrintContextCreatePangoContext} \name{gtkPrintContextCreatePangoContext} \title{gtkPrintContextCreatePangoContext} \description{Creates a new \code{\link{PangoContext}} that can be used with the \code{\link{GtkPrintContext}}.} \usage{gtkPrintContextCreatePangoContext(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[\code{\link{PangoContext}}] a new Pango context for \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellView.Rd0000644000176000001440000000440512362217677014475 0ustar ripleyusers\alias{GtkCellView} \alias{gtkCellView} \name{GtkCellView} \title{GtkCellView} \description{A widget displaying a single row of a GtkTreeModel} \section{Methods and Functions}{ \code{\link{gtkCellViewNew}(show = TRUE)}\cr \code{\link{gtkCellViewNewWithText}(text)}\cr \code{\link{gtkCellViewNewWithMarkup}(markup)}\cr \code{\link{gtkCellViewNewWithPixbuf}(pixbuf)}\cr \code{\link{gtkCellViewSetModel}(object, model = NULL)}\cr \code{\link{gtkCellViewGetModel}(object)}\cr \code{\link{gtkCellViewSetDisplayedRow}(object, path = NULL)}\cr \code{\link{gtkCellViewGetDisplayedRow}(object)}\cr \code{\link{gtkCellViewGetSizeOfRow}(object, path)}\cr \code{\link{gtkCellViewSetBackgroundColor}(object, color)}\cr \code{\link{gtkCellViewGetCellRenderers}(object)}\cr \code{\link{gtkCellViewGetCellRenderers}(object)}\cr \code{gtkCellView(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkCellView}} \section{Interfaces}{GtkCellView implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkCellLayout}}.} \section{Detailed Description}{A \code{\link{GtkCellView}} displays a single row of a \code{\link{GtkTreeModel}}, using cell renderers just like \code{\link{GtkTreeView}}. \code{\link{GtkCellView}} doesn't support some of the more complex features of \code{\link{GtkTreeView}}, like cell editing and drag and drop.} \section{Structures}{\describe{\item{\verb{GtkCellView}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellView} is the equivalent of \code{\link{gtkCellViewNew}}.} \section{Properties}{\describe{ \item{\verb{background} [character : * : Write]}{ Background color as a string. Default value: NULL } \item{\verb{background-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Background color as a GdkColor. } \item{\verb{background-set} [logical : Read / Write]}{ Whether this tag affects the background color. Default value: FALSE } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ The model for cell view since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellView.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetOverwriteMode.Rd0000644000176000001440000000066012362217677017313 0ustar ripleyusers\alias{gtkEntrySetOverwriteMode} \name{gtkEntrySetOverwriteMode} \title{gtkEntrySetOverwriteMode} \description{Sets whether the text is overwritten when typing in the \code{\link{GtkEntry}}.} \usage{gtkEntrySetOverwriteMode(object, overwrite)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{overwrite}}{new value} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconAtPos.Rd0000644000176000001440000000125412362217677016343 0ustar ripleyusers\alias{gtkEntryGetIconAtPos} \name{gtkEntryGetIconAtPos} \title{gtkEntryGetIconAtPos} \description{Finds the icon at the given position and return its index. If \code{x}, \code{y} doesn't lie inside an icon, -1 is returned. This function is intended for use in a \verb{"query-tooltip"} signal handler.} \usage{gtkEntryGetIconAtPos(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{x}}{the x coordinate of the position to find} \item{\verb{y}}{the y coordinate of the position to find} } \details{Since 2.16} \value{[integer] the index of the icon at the given position, or -1} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferApplyTagByName.Rd0000644000176000001440000000117612362217677017641 0ustar ripleyusers\alias{gtkTextBufferApplyTagByName} \name{gtkTextBufferApplyTagByName} \title{gtkTextBufferApplyTagByName} \description{Calls \code{\link{gtkTextTagTableLookup}} on the buffer's tag table to get a \code{\link{GtkTextTag}}, then calls \code{\link{gtkTextBufferApplyTag}}.} \usage{gtkTextBufferApplyTagByName(object, name, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{name}}{name of a named \code{\link{GtkTextTag}}} \item{\verb{start}}{one bound of range to be tagged} \item{\verb{end}}{other bound of range to be tagged} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCopyPathFlat.Rd0000644000176000001440000000212312362217677015664 0ustar ripleyusers\alias{cairoCopyPathFlat} \name{cairoCopyPathFlat} \title{cairoCopyPathFlat} \description{Gets a flattened copy of the current path and returns it to the user as a \code{\link{CairoPath}}. See \code{\link{CairoPathData}} for hints on how to iterate over the returned data structure.} \usage{cairoCopyPathFlat(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This function is like \code{\link{cairoCopyPath}} except that any curves in the path will be approximated with piecewise-linear approximations, (accurate to within the current tolerance value). That is, the result is guaranteed to not have any elements of type \code{CAIRO_PATH_CURVE_TO} which will instead be replaced by a series of \code{CAIRO_PATH_LINE_TO} elements. This function will always return a valid pointer, but the result will have no data (\code{data== NULL} and \code{num_data==0}), if either of the following conditions hold: \enumerate{ \item \item } } \value{[\code{\link{CairoPath}}] the copy of the current path.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreSetValue.Rd0000644000176000001440000000113712362217677016423 0ustar ripleyusers\alias{gtkListStoreSetValue} \name{gtkListStoreSetValue} \title{gtkListStoreSetValue} \description{Sets the data in the cell specified by \code{iter} and \code{column}. The type of \code{value} must be convertible to the type of the column.} \usage{gtkListStoreSetValue(object, iter, column, value)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} for the row being modified} \item{\verb{column}}{column number to modify} \item{\verb{value}}{new value for the cell} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSelectPath.Rd0000644000176000001440000000062512362217677017545 0ustar ripleyusers\alias{gtkTreeSelectionSelectPath} \name{gtkTreeSelectionSelectPath} \title{gtkTreeSelectionSelectPath} \description{Select the row at \code{path}.} \usage{gtkTreeSelectionSelectPath(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{path}}{The \code{\link{GtkTreePath}} to be selected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetDashes.Rd0000644000176000001440000000140012362217677015070 0ustar ripleyusers\alias{gdkGCSetDashes} \name{gdkGCSetDashes} \title{gdkGCSetDashes} \description{Sets the way dashed-lines are drawn. Lines will be drawn with alternating on and off segments of the lengths specified in \code{dash.list}. The manner in which the on and off segments are drawn is determined by the \code{line.style} value of the GC. (This can be changed with \code{\link{gdkGCSetLineAttributes}}.)} \usage{gdkGCSetDashes(object, dash.list)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{dash.list}}{a list of dash lengths.} } \details{The \code{dash.offset} defines the phase of the pattern, specifying how many pixels into the dash-list the pattern should actually begin.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetShowArrow.Rd0000644000176000001440000000105112362217677016747 0ustar ripleyusers\alias{gtkToolbarSetShowArrow} \name{gtkToolbarSetShowArrow} \title{gtkToolbarSetShowArrow} \description{Sets whether to show an overflow menu when \code{toolbar} doesn't have room for all items on it. If \code{TRUE}, items that there are not room are available through an overflow menu.} \usage{gtkToolbarSetShowArrow(object, show.arrow)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{show.arrow}}{Whether to show an overflow menu} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetTargets.Rd0000644000176000001440000000153612362217677017536 0ustar ripleyusers\alias{gtkSelectionDataGetTargets} \name{gtkSelectionDataGetTargets} \title{gtkSelectionDataGetTargets} \description{Gets the contents of \code{selection.data} as a list of targets. This can be used to interpret the results of getting the standard TARGETS target that is always supplied for any selection.} \usage{gtkSelectionDataGetTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}} object}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{selection.data} contains a valid array of targets, otherwise \code{FALSE}.} \item{\verb{targets}}{location to store a list of targets. The result stored here must be freed with \code{gFree()}.} \item{\verb{n.atoms}}{location to store number of items in \code{targets}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableSetRowHeader.Rd0000644000176000001440000000103212362217677016312 0ustar ripleyusers\alias{atkTableSetRowHeader} \name{atkTableSetRowHeader} \title{atkTableSetRowHeader} \description{Sets the specified row header to \code{header}.} \usage{atkTableSetRowHeader(object, row, header)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{header}}{[\code{\link{AtkObject}}] an \code{\link{AtkTable}} } } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPaintWithAlpha.Rd0000644000176000001440000000114012362217677016201 0ustar ripleyusers\alias{cairoPaintWithAlpha} \name{cairoPaintWithAlpha} \title{cairoPaintWithAlpha} \description{A drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value \code{alpha}. The effect is similar to \code{\link{cairoPaint}}, but the drawing is faded out using the alpha value.} \usage{cairoPaintWithAlpha(cr, alpha)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{alpha}}{[numeric] alpha value, between 0 (transparent) and 1 (opaque)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonNewWithRange.Rd0000644000176000001440000000204012362217677017404 0ustar ripleyusers\alias{gtkSpinButtonNewWithRange} \name{gtkSpinButtonNewWithRange} \title{gtkSpinButtonNewWithRange} \description{This is a convenience constructor that allows creation of a numeric \code{\link{GtkSpinButton}} without manually creating an adjustment. The value is initially set to the minimum value and a page increment of 10 * \code{step} is the default. The precision of the spin button is equivalent to the precision of \code{step}. } \usage{gtkSpinButtonNewWithRange(min, max, step, show = TRUE)} \arguments{ \item{\verb{min}}{Minimum allowable value} \item{\verb{max}}{Maximum allowable value} \item{\verb{step}}{Increment added or subtracted by spinning the widget} } \details{Note that the way in which the precision is derived works best if \code{step} is a power of ten. If the resulting precision is not suitable for your needs, use \code{\link{gtkSpinButtonSetDigits}} to correct it.} \value{[\code{\link{GtkWidget}}] The new spin button as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetVisible.Rd0000644000176000001440000000072612362217677017713 0ustar ripleyusers\alias{gtkTreeViewColumnGetVisible} \name{gtkTreeViewColumnGetVisible} \title{gtkTreeViewColumnGetVisible} \description{Returns \code{TRUE} if \code{tree.column} is visible.} \usage{gtkTreeViewColumnGetVisible(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[logical] whether the column is visible or not. If it is visible, then the tree will show the column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetTolerance.Rd0000644000176000001440000000060212362217677015702 0ustar ripleyusers\alias{cairoGetTolerance} \name{cairoGetTolerance} \title{cairoGetTolerance} \description{Gets the current tolerance value, as set by \code{\link{cairoSetTolerance}}.} \usage{cairoGetTolerance(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[numeric] the current tolerance value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewEnableModelDragSource.Rd0000644000176000001440000000130712362217677020622 0ustar ripleyusers\alias{gtkTreeViewEnableModelDragSource} \name{gtkTreeViewEnableModelDragSource} \title{gtkTreeViewEnableModelDragSource} \description{Turns \code{tree.view} into a drag source for automatic DND. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkTreeViewEnableModelDragSource(object, start.button.mask, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{start.button.mask}}{Mask of allowed buttons to start drag} \item{\verb{targets}}{the table of targets that the drag will support} \item{\verb{actions}}{the bitmask of possible actions for a drag from this widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDefaultWidget.Rd0000644000176000001440000000076212362217677017405 0ustar ripleyusers\alias{gtkWindowGetDefaultWidget} \name{gtkWindowGetDefaultWidget} \title{gtkWindowGetDefaultWidget} \description{Returns the default widget for \code{window}. See \code{\link{gtkWindowSetDefault}} for more details.} \usage{gtkWindowGetDefaultWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] the default widget, or \code{NULL} if there is none.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellablePushCurrent.Rd0000644000176000001440000000126312362217677017053 0ustar ripleyusers\alias{gCancellablePushCurrent} \name{gCancellablePushCurrent} \title{gCancellablePushCurrent} \description{Pushes \code{cancellable} onto the cancellable stack. The current cancllable can then be recieved using \code{\link{gCancellableGetCurrent}}.} \usage{gCancellablePushCurrent(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}} object}} \details{This is useful when implementing cancellable operations in code that does not allow you to pass down the cancellable object. This is typically called automatically by e.g. \code{\link{GFile}} operations, so you rarely have to call this yourself.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetTextWindow.Rd0000644000176000001440000000120512362217677016614 0ustar ripleyusers\alias{gtkEntryGetTextWindow} \name{gtkEntryGetTextWindow} \title{gtkEntryGetTextWindow} \description{Returns the \code{\link{GdkWindow}} which contains the text. This function is useful when drawing something to the entry in an expose-event callback because it enables the callback to distinguish between the text window and entry's icon windows.} \usage{gtkEntryGetTextWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{See also \code{\link{gtkEntryGetIconWindow}}. Since 2.20} \value{[\code{\link{GdkWindow}}] the entry's text window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetFont.Rd0000644000176000001440000000134512362217677020206 0ustar ripleyusers\alias{gtkFontSelectionDialogGetFont} \name{gtkFontSelectionDialogGetFont} \title{gtkFontSelectionDialogGetFont} \description{ Gets the currently-selected font. \strong{WARNING: \code{gtk_font_selection_dialog_get_font} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkFontSelectionDialogGetFontName}} instead.} } \usage{gtkFontSelectionDialogGetFont(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \value{[\code{\link{GdkFont}}] the \code{\link{GdkFont}} from the \code{\link{GtkFontSelection}} for the currently selected font in the dialog, or \code{NULL} if no font is selected} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetUseStock.Rd0000644000176000001440000000070112362217677016412 0ustar ripleyusers\alias{gtkButtonGetUseStock} \name{gtkButtonGetUseStock} \title{gtkButtonGetUseStock} \description{Returns whether the button label is a stock item.} \usage{gtkButtonGetUseStock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \value{[logical] \code{TRUE} if the button label is used to select a stock item instead of being used directly as the label text.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelLabelNew.Rd0000644000176000001440000000062112362217677015440 0ustar ripleyusers\alias{gtkAccelLabelNew} \name{gtkAccelLabelNew} \title{gtkAccelLabelNew} \description{Creates a new \code{\link{GtkAccelLabel}}.} \usage{gtkAccelLabelNew(string = NULL, show = TRUE)} \arguments{\item{\verb{string}}{the label string. Must be non-\code{NULL}.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkAccelLabel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetSearchPositionFunc.Rd0000644000176000001440000000125312362217677020716 0ustar ripleyusers\alias{gtkTreeViewSetSearchPositionFunc} \name{gtkTreeViewSetSearchPositionFunc} \title{gtkTreeViewSetSearchPositionFunc} \description{Sets the function to use when positioning the search dialog.} \usage{gtkTreeViewSetSearchPositionFunc(object, func, data)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{func}}{the function to use to position the search dialog, or \code{NULL} to use the default search position function. \emph{[ \acronym{allow-none} ]}} \item{\verb{data}}{user data to pass to \code{func}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardWordEnds.Rd0000644000176000001440000000076312362217677017571 0ustar ripleyusers\alias{gtkTextIterForwardWordEnds} \name{gtkTextIterForwardWordEnds} \title{gtkTextIterForwardWordEnds} \description{Calls \code{\link{gtkTextIterForwardWordEnd}} up to \code{count} times.} \usage{gtkTextIterForwardWordEnds(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of times to move} } \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetEventWidget.Rd0000644000176000001440000000100612362217677015702 0ustar ripleyusers\alias{gtkGetEventWidget} \name{gtkGetEventWidget} \title{gtkGetEventWidget} \description{If \code{event} is \code{NULL} or the event was not associated with any widget, returns \code{NULL}, otherwise returns the widget that received the event originally.} \usage{gtkGetEventWidget(event)} \arguments{\item{\verb{event}}{a \code{\link{GdkEvent}}}} \value{[\code{\link{GtkWidget}}] the widget that originally received \code{event}, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestSetTrackMotion.Rd0000644000176000001440000000121712362217677017345 0ustar ripleyusers\alias{gtkDragDestSetTrackMotion} \name{gtkDragDestSetTrackMotion} \title{gtkDragDestSetTrackMotion} \description{Tells the widget to emit ::drag-motion and ::drag-leave events regardless of the targets and the \code{GTK_DEST_DEFAULT_MOTION} flag. } \usage{gtkDragDestSetTrackMotion(object, track.motion)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}} that's a drag destination} \item{\verb{track.motion}}{whether to accept all targets} } \details{This may be used when a widget wants to do generic actions regardless of the targets that the source offers. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxGetChildDetached.Rd0000644000176000001440000000072212362217677017713 0ustar ripleyusers\alias{gtkHandleBoxGetChildDetached} \name{gtkHandleBoxGetChildDetached} \title{gtkHandleBoxGetChildDetached} \description{Whether the handlebox's child is currently detached.} \usage{gtkHandleBoxGetChildDetached(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkHandleBox}}}} \details{Since 2.14} \value{[logical] \code{TRUE} if the child is currently detached, otherwise \code{FALSE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardLine.Rd0000644000176000001440000000114212362217677016723 0ustar ripleyusers\alias{gtkTextIterForwardLine} \name{gtkTextIterForwardLine} \title{gtkTextIterForwardLine} \description{Moves \code{iter} to the start of the next line. If the iter is already on the last line of the buffer, moves the iter to the end of the current line. If after the operation, the iter is at the end of the buffer and not dereferencable, returns \code{FALSE}. Otherwise, returns \code{TRUE}.} \usage{gtkTextIterForwardLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} can be dereferenced} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonSetActive.Rd0000644000176000001440000000104612362217677017246 0ustar ripleyusers\alias{gtkToggleButtonSetActive} \name{gtkToggleButtonSetActive} \title{gtkToggleButtonSetActive} \description{Sets the status of the toggle button. Set to \code{TRUE} if you want the GtkToggleButton to be 'pressed in', and \code{FALSE} to raise it. This action causes the toggled signal to be emitted.} \usage{gtkToggleButtonSetActive(object, is.active)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToggleButton}}.} \item{\verb{is.active}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetEllipsize.Rd0000644000176000001440000000100112362217677020116 0ustar ripleyusers\alias{gtkToolItemGroupSetEllipsize} \name{gtkToolItemGroupSetEllipsize} \title{gtkToolItemGroupSetEllipsize} \description{Sets the ellipsization mode which should be used by labels in \code{group}.} \usage{gtkToolItemGroupSetEllipsize(object, ellipsize)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{ellipsize}}{the \code{\link{PangoEllipsizeMode}} labels in \code{group} should use} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetUseMarkup.Rd0000644000176000001440000000074212362217677016337 0ustar ripleyusers\alias{gtkLabelGetUseMarkup} \name{gtkLabelGetUseMarkup} \title{gtkLabelGetUseMarkup} \description{Returns whether the label's text is interpreted as marked up with the Pango text markup language. See \code{\link{gtkLabelSetUseMarkup}}.} \usage{gtkLabelGetUseMarkup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[logical] \code{TRUE} if the label's text will be parsed for markup.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetPopupSetWidth.Rd0000644000176000001440000000106012362217677021324 0ustar ripleyusers\alias{gtkEntryCompletionSetPopupSetWidth} \name{gtkEntryCompletionSetPopupSetWidth} \title{gtkEntryCompletionSetPopupSetWidth} \description{Sets whether the completion popup window will be resized to be the same width as the entry.} \usage{gtkEntryCompletionSetPopupSetWidth(object, popup.set.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryCompletion}}} \item{\verb{popup.set.width}}{\code{TRUE} to make the width of the popup the same as the entry} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeGetName.Rd0000644000176000001440000000071512362217677016007 0ustar ripleyusers\alias{gtkIconSizeGetName} \name{gtkIconSizeGetName} \title{gtkIconSizeGetName} \description{Gets the canonical name of the given icon size. The returned string is statically allocated and should not be freed.} \usage{gtkIconSizeGetName(size)} \arguments{\item{\verb{size}}{a \code{\link{GtkIconSize}}. \emph{[ \acronym{type} int]}}} \value{[character] the name of the given icon size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrUnderlineNew.Rd0000644000176000001440000000066312362217677016576 0ustar ripleyusers\alias{pangoAttrUnderlineNew} \name{pangoAttrUnderlineNew} \title{pangoAttrUnderlineNew} \description{Create a new underline-style attribute.} \usage{pangoAttrUnderlineNew(underline)} \arguments{\item{\verb{underline}}{[\code{\link{PangoUnderline}}] the underline style.}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleCursorPosition.Rd0000644000176000001440000000110012362217677022346 0ustar ripleyusers\alias{gtkTextIterForwardVisibleCursorPosition} \name{gtkTextIterForwardVisibleCursorPosition} \title{gtkTextIterForwardVisibleCursorPosition} \description{Moves \code{iter} forward to the next visible cursor position. See \code{\link{gtkTextIterForwardCursorPosition}} for details.} \usage{gtkTextIterForwardVisibleCursorPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationIterAdvance.Rd0000644000176000001440000000263512362217677020211 0ustar ripleyusers\alias{gdkPixbufAnimationIterAdvance} \name{gdkPixbufAnimationIterAdvance} \title{gdkPixbufAnimationIterAdvance} \description{Possibly advances an animation to a new frame. Chooses the frame based on the start time passed to \code{\link{gdkPixbufAnimationGetIter}}.} \usage{gdkPixbufAnimationIterAdvance(object, current.time)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbufAnimationIter}}} \item{\verb{current.time}}{current time} } \details{\code{current.time} would normally come from \code{gGetCurrentTime()}, and must be greater than or equal to the time passed to \code{\link{gdkPixbufAnimationGetIter}}, and must increase or remain unchanged each time \code{\link{gdkPixbufAnimationIterGetPixbuf}} is called. That is, you can't go backward in time; animations only play forward. As a shortcut, pass \code{NULL} for the current time and \code{gGetCurrentTime()} will be invoked on your behalf. So you only need to explicitly pass \code{current.time} if you're doing something odd like playing the animation at double speed. If this function returns \code{FALSE}, there's no need to update the animation display, assuming the display had been rendered prior to advancing; if \code{TRUE}, you need to call \code{gdkAnimationIterGetPixbuf()} and update the display with the new pixbuf.} \value{[logical] \code{TRUE} if the image may need updating} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFileChooserButton.Rd0000644000176000001440000001061312362217677016357 0ustar ripleyusers\alias{GtkFileChooserButton} \alias{gtkFileChooserButton} \name{GtkFileChooserButton} \title{GtkFileChooserButton} \description{A button to launch a file selection dialog} \section{Methods and Functions}{ \code{\link{gtkFileChooserButtonNew}(title, action, show = TRUE)}\cr \code{\link{gtkFileChooserButtonNewWithBackend}(title, action, backend, show = TRUE)}\cr \code{\link{gtkFileChooserButtonNewWithBackend}(title, action, backend, show = TRUE)}\cr \code{\link{gtkFileChooserButtonNewWithDialog}(dialog)}\cr \code{\link{gtkFileChooserButtonGetTitle}(object)}\cr \code{\link{gtkFileChooserButtonSetTitle}(object, title)}\cr \code{\link{gtkFileChooserButtonGetWidthChars}(object)}\cr \code{\link{gtkFileChooserButtonSetWidthChars}(object, n.chars)}\cr \code{\link{gtkFileChooserButtonGetFocusOnClick}(object)}\cr \code{\link{gtkFileChooserButtonSetFocusOnClick}(object, focus.on.click)}\cr \code{gtkFileChooserButton(title, action, backend, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GtkFileChooserButton}} \section{Interfaces}{GtkFileChooserButton implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkOrientable}} and \code{\link{GtkFileChooser}}.} \section{Detailed Description}{The \code{\link{GtkFileChooserButton}} is a widget that lets the user select a file. It implements the \code{\link{GtkFileChooser}} interface. Visually, it is a file name with a button to bring up a \code{\link{GtkFileChooserDialog}}. The user can then use that dialog to change the file associated with that button. This widget does not support setting the "select-multiple" property to \code{TRUE}. \emph{Create a button to let the user select a file in /etc} \preformatted{ # Create a button to let the user select a file in /etc button <- gtkFileChooserButton("Select a file", "open") button$setCurrentFolder("/etc") } The \code{\link{GtkFileChooserButton}} supports the \code{\link{GtkFileChooserAction}}s \code{GTK_FILE_CHOOSER_ACTION_OPEN} and \code{GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER}. \strong{PLEASE NOTE:} The \code{\link{GtkFileChooserButton}} will ellipsize the label, and thus will thus request little horizontal space. To give the button more space, you should call \code{\link{gtkWidgetSizeRequest}}, \code{\link{gtkFileChooserButtonSetWidthChars}}, or pack the button in such a way that other interface elements give space to the widget.} \section{Structures}{\describe{\item{\verb{GtkFileChooserButton}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkFileChooserButton} is the result of collapsing the constructors of \code{GtkFileChooserButton} (\code{\link{gtkFileChooserButtonNew}}, \code{\link{gtkFileChooserButtonNewWithBackend}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{file-set(widget, user.data)}}{ The ::file-set signal is emitted when the user selects a file. Note that this signal is only emitted when the \emph{user} changes the file. Since 2.12 \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{dialog} [\code{\link{GtkFileChooser}} : * : Write / Construct Only]}{ Instance of the \code{\link{GtkFileChooserDialog}} associated with the button. Since 2.6 } \item{\verb{focus-on-click} [logical : Read / Write]}{ Whether the \code{\link{GtkFileChooserButton}} button grabs focus when it is clicked with the mouse. Default value: TRUE Since 2.10 } \item{\verb{title} [character : * : Read / Write]}{ Title to put on the \code{\link{GtkFileChooserDialog}} associated with the button. Default value: "Select A File" Since 2.6 } \item{\verb{width-chars} [integer : Read / Write]}{ The width of the entry and label inside the button, in characters. Allowed values: >= -1 Default value: -1 Since 2.6 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFileChooserButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkFileChooserDialog}}} \keyword{internal} RGtk2/man/GtkIMMulticontext.Rd0000644000176000001440000000164312362217677015711 0ustar ripleyusers\alias{GtkIMMulticontext} \alias{gtkIMMulticontext} \name{GtkIMMulticontext} \title{GtkIMMulticontext} \description{An input method context supporting multiple, loadable input methods} \section{Methods and Functions}{ \code{\link{gtkIMMulticontextNew}()}\cr \code{\link{gtkIMMulticontextAppendMenuitems}(object, menushell)}\cr \code{\link{gtkIMMulticontextGetContextId}(object)}\cr \code{\link{gtkIMMulticontextSetContextId}(object, context.id)}\cr \code{gtkIMMulticontext()} } \section{Hierarchy}{\preformatted{GObject +----GtkIMContext +----GtkIMMulticontext}} \section{Structures}{\describe{\item{\verb{GtkIMMulticontext}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkIMMulticontext} is the equivalent of \code{\link{gtkIMMulticontextNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkIMMulticontext.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventsPending.Rd0000644000176000001440000000046312362217677015554 0ustar ripleyusers\alias{gdkEventsPending} \name{gdkEventsPending} \title{gdkEventsPending} \description{Checks if any events are ready to be processed for any display.} \usage{gdkEventsPending()} \value{[logical] \code{TRUE} if any events are pending.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawGlyph.Rd0000644000176000001440000000127212362217677016731 0ustar ripleyusers\alias{pangoRendererDrawGlyph} \name{pangoRendererDrawGlyph} \title{pangoRendererDrawGlyph} \description{Draws a single glyph with coordinates in device space.} \usage{pangoRendererDrawGlyph(object, font, glyph, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}} \item{\verb{glyph}}{[numeric] the glyph index of a single glyph} \item{\verb{x}}{[numeric] X coordinate of left edge of baseline of glyph} \item{\verb{y}}{[numeric] Y coordinate of left edge of baseline of glyph} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetAuthors.Rd0000644000176000001440000000071212362217677017220 0ustar ripleyusers\alias{gtkAboutDialogGetAuthors} \name{gtkAboutDialogGetAuthors} \title{gtkAboutDialogGetAuthors} \description{Returns the string which are displayed in the authors tab of the secondary credits dialog.} \usage{gtkAboutDialogGetAuthors(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] A string list containing the authors.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamPeekBuffer.Rd0000644000176000001440000000124512362217677020340 0ustar ripleyusers\alias{gBufferedInputStreamPeekBuffer} \name{gBufferedInputStreamPeekBuffer} \title{gBufferedInputStreamPeekBuffer} \description{Returns the buffer with the currently available bytes. The returned buffer must not be modified and will become invalid when reading from the stream or filling the buffer.} \usage{gBufferedInputStreamPeekBuffer(object)} \arguments{\item{\verb{object}}{a \code{\link{GBufferedInputStream}}.}} \value{ A list containing the following elements: \item{retval}{[R object] read-only buffer} \item{\verb{count}}{a \verb{numeric} to get the number of bytes available in the buffer.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressNewAny.Rd0000644000176000001440000000076612362217677016021 0ustar ripleyusers\alias{gInetAddressNewAny} \name{gInetAddressNewAny} \title{gInetAddressNewAny} \description{Creates a \code{\link{GInetAddress}} for the "any" address (unassigned/"don't care") for \code{family}.} \usage{gInetAddressNewAny(family)} \arguments{\item{\verb{family}}{the address family}} \details{Since 2.22} \value{[\code{\link{GInetAddress}}] a new \code{\link{GInetAddress}} corresponding to the "any" address for \code{family}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetMaximalCursorSize.Rd0000644000176000001440000000110712362217677020406 0ustar ripleyusers\alias{gdkDisplayGetMaximalCursorSize} \name{gdkDisplayGetMaximalCursorSize} \title{gdkDisplayGetMaximalCursorSize} \description{Gets the maximal size to use for cursors on \code{display}.} \usage{gdkDisplayGetMaximalCursorSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{width}}{the return location for the maximal cursor width} \item{\verb{height}}{the return location for the maximal cursor height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVBox.Rd0000644000176000001440000000307212362217677013640 0ustar ripleyusers\alias{GtkVBox} \alias{gtkVBox} \name{GtkVBox} \title{GtkVBox} \description{A vertical container box} \section{Methods and Functions}{ \code{\link{gtkVBoxNew}(homogeneous = NULL, spacing = NULL, show = TRUE)}\cr \code{gtkVBox(homogeneous = NULL, spacing = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkColorSelection +----GtkFileChooserWidget +----GtkFontSelection +----GtkGammaCurve +----GtkRecentChooserWidget}} \section{Interfaces}{GtkVBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A \code{\link{GtkVBox}} is a container that organizes child widgets into a single column. Use the \code{\link{GtkBox}} packing interface to determine the arrangement, spacing, height, and alignment of \code{\link{GtkVBox}} children. All children are allocated the same width.} \section{Structures}{\describe{\item{\verb{GtkVBox}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkVBox} is the equivalent of \code{\link{gtkVBoxNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapSave.Rd0000644000176000001440000000100311766145227015274 0ustar ripleyusers\alias{gtkAccelMapSave} \name{gtkAccelMapSave} \title{gtkAccelMapSave} \description{Saves current accelerator specifications (accelerator path, key and modifiers) to \code{file.name}. The file is written in a format suitable to be read back in by \code{\link{gtkAccelMapLoad}}.} \usage{gtkAccelMapSave(file.name)} \arguments{\item{\verb{file.name}}{the name of the file to contain accelerator specifications, in the GLib file name encoding}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetOrientation.Rd0000644000176000001440000000077112362217677020146 0ustar ripleyusers\alias{gtkProgressBarSetOrientation} \name{gtkProgressBarSetOrientation} \title{gtkProgressBarSetOrientation} \description{Causes the progress bar to switch to a different orientation (left-to-right, right-to-left, top-to-bottom, or bottom-to-top).} \usage{gtkProgressBarSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}} \item{\verb{orientation}}{orientation of the progress bar} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterStartsLine.Rd0000644000176000001440000000113612362217677016602 0ustar ripleyusers\alias{gtkTextIterStartsLine} \name{gtkTextIterStartsLine} \title{gtkTextIterStartsLine} \description{Returns \code{TRUE} if \code{iter} begins a paragraph, i.e. if \code{\link{gtkTextIterGetLineOffset}} would return 0. However this function is potentially more efficient than \code{\link{gtkTextIterGetLineOffset}} because it doesn't have to compute the offset, it just has to see whether it's 0.} \usage{gtkTextIterStartsLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} begins a line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileHasUriScheme.Rd0000644000176000001440000000115712362217677015605 0ustar ripleyusers\alias{gFileHasUriScheme} \name{gFileHasUriScheme} \title{gFileHasUriScheme} \description{Checks to see if a \code{\link{GFile}} has a given URI scheme.} \usage{gFileHasUriScheme(object, uri.scheme)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{uri.scheme}}{a string containing a URI scheme.} } \details{This call does no blocking i/o.} \value{[logical] \code{TRUE} if \code{\link{GFile}}'s backend supports the given URI scheme, \code{FALSE} if URI scheme is \code{NULL}, not supported, or \code{\link{GFile}} is invalid.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetChildNotify.Rd0000644000176000001440000000111412362217677016375 0ustar ripleyusers\alias{gtkWidgetChildNotify} \name{gtkWidgetChildNotify} \title{gtkWidgetChildNotify} \description{Emits a \code{\link{gtkWidgetChildNotify}} signal for the child property \code{child.property} on \code{widget}.} \usage{gtkWidgetChildNotify(object, child.property)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{child.property}}{the name of a child property installed on the class of \code{widget}'s parent} } \details{This is the analogue of \code{gObjectNotify()} for child properties.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamGetAvailable.Rd0000644000176000001440000000065512362217677020646 0ustar ripleyusers\alias{gBufferedInputStreamGetAvailable} \name{gBufferedInputStreamGetAvailable} \title{gBufferedInputStreamGetAvailable} \description{Gets the size of the available data within the stream.} \usage{gBufferedInputStreamGetAvailable(object)} \arguments{\item{\verb{object}}{\code{\link{GBufferedInputStream}}.}} \value{[numeric] size of the available stream.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarPrependSpace.Rd0000644000176000001440000000077512362217677016725 0ustar ripleyusers\alias{gtkToolbarPrependSpace} \name{gtkToolbarPrependSpace} \title{gtkToolbarPrependSpace} \description{ Adds a new space to the beginning of the toolbar. \strong{WARNING: \code{gtk_toolbar_prepend_space} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarPrependSpace(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsStatus.Rd0000644000176000001440000000075512362217677017025 0ustar ripleyusers\alias{cairoFontOptionsStatus} \name{cairoFontOptionsStatus} \title{cairoFontOptionsStatus} \description{Checks whether an error has previously occurred for this font options object} \usage{cairoFontOptionsStatus(options)} \arguments{\item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} or \code{CAIRO_STATUS_NO_MEMORY}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeymapGetDefault.Rd0000644000176000001440000000055212362217677016175 0ustar ripleyusers\alias{gdkKeymapGetDefault} \name{gdkKeymapGetDefault} \title{gdkKeymapGetDefault} \description{Returns the \code{\link{GdkKeymap}} attached to the default display.} \usage{gdkKeymapGetDefault()} \value{[\code{\link{GdkKeymap}}] the \code{\link{GdkKeymap}} attached to the default display.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabLabelText.Rd0000644000176000001440000000072512362217677017514 0ustar ripleyusers\alias{gtkNotebookSetTabLabelText} \name{gtkNotebookSetTabLabelText} \title{gtkNotebookSetTabLabelText} \description{Creates a new label and sets it as the tab label for the page containing \code{child}.} \usage{gtkNotebookSetTabLabelText(object, child, tab.text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the page} \item{\verb{tab.text}}{the label text} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamSetPending.Rd0000644000176000001440000000140712362217677016127 0ustar ripleyusers\alias{gIOStreamSetPending} \name{gIOStreamSetPending} \title{gIOStreamSetPending} \description{Sets \code{stream} to have actions pending. If the pending flag is already set or \code{stream} is closed, it will return \code{FALSE} and set \code{error}.} \usage{gIOStreamSetPending(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GIOStream}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if pending was previously unset and is now set.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetOrSets.Rd0000644000176000001440000000107012362217677015704 0ustar ripleyusers\alias{atkStateSetOrSets} \name{atkStateSetOrSets} \title{atkStateSetOrSets} \description{Constructs the union of the two sets.} \usage{atkStateSetOrSets(object, compare.set)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{compare.set}}{[\code{\link{AtkStateSet}}] another \code{\link{AtkStateSet}}} } \value{[\code{\link{AtkStateSet}}] a new \code{\link{AtkStateSet}} which is the union of the two sets, returning \code{NULL} is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttributeEqual.Rd0000644000176000001440000000115112362217677016270 0ustar ripleyusers\alias{pangoAttributeEqual} \name{pangoAttributeEqual} \title{pangoAttributeEqual} \description{Compare two attributes for equality. This compares only the actual value of the two attributes and not the ranges that the attributes apply to.} \usage{pangoAttributeEqual(object, attr2)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttribute}}] a \code{\link{PangoAttribute}}} \item{\verb{attr2}}{[\code{\link{PangoAttribute}}] another \code{\link{PangoAttribute}}} } \value{[logical] \code{TRUE} if the two attributes have the same value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNew.Rd0000644000176000001440000000065612362217677016203 0ustar ripleyusers\alias{gtkRadioMenuItemNew} \name{gtkRadioMenuItemNew} \title{gtkRadioMenuItemNew} \description{Creates a new \code{\link{GtkRadioMenuItem}}.} \usage{gtkRadioMenuItemNew(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{the group to which the radio menu item is to be attached}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoRendererSetDrawable.Rd0000644000176000001440000000074212362217677017654 0ustar ripleyusers\alias{gdkPangoRendererSetDrawable} \name{gdkPangoRendererSetDrawable} \title{gdkPangoRendererSetDrawable} \description{Sets the drawable the renderer draws to.} \usage{gdkPangoRendererSetDrawable(object, drawable = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPangoRenderer}}} \item{\verb{drawable}}{the new target drawable, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetLineWidth.Rd0000644000176000001440000000105512362217677015660 0ustar ripleyusers\alias{cairoGetLineWidth} \name{cairoGetLineWidth} \title{cairoGetLineWidth} \description{This function returns the current line width value exactly as set by \code{\link{cairoSetLineWidth}}. Note that the value is unchanged even if the CTM has changed between the calls to \code{\link{cairoSetLineWidth}} and \code{\link{cairoGetLineWidth}}.} \usage{cairoGetLineWidth(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[numeric] the current line width.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionSetFontName.Rd0000644000176000001440000000150712362217677017703 0ustar ripleyusers\alias{gtkFontSelectionSetFontName} \name{gtkFontSelectionSetFontName} \title{gtkFontSelectionSetFontName} \description{Sets the currently-selected font. } \usage{gtkFontSelectionSetFontName(object, fontname)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontSelection}}} \item{\verb{fontname}}{a font name like "Helvetica 12" or "Times Bold 18"} } \details{Note that the \code{fontsel} needs to know the screen in which it will appear for this to work; this can be guaranteed by simply making sure that the \code{fontsel} is inserted in a toplevel window before you call this function.} \value{[logical] \code{TRUE} if the font could be set successfully; \code{FALSE} if no such font exists or if the \code{fontsel} doesn't belong to a particular screen yet.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetMapped.Rd0000644000176000001440000000060612362217677016034 0ustar ripleyusers\alias{gtkWidgetGetMapped} \name{gtkWidgetGetMapped} \title{gtkWidgetGetMapped} \description{Whether the widget is mapped.} \usage{gtkWidgetGetMapped(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.20} \value{[logical] \code{TRUE} if the widget is mapped, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetSnapToTicks.Rd0000644000176000001440000000104712362217677017726 0ustar ripleyusers\alias{gtkSpinButtonSetSnapToTicks} \name{gtkSpinButtonSetSnapToTicks} \title{gtkSpinButtonSetSnapToTicks} \description{Sets the policy as to whether values are corrected to the nearest step increment when a spin button is activated after providing an invalid value.} \usage{gtkSpinButtonSetSnapToTicks(object, snap.to.ticks)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{snap.to.ticks}}{a flag indicating if invalid values should be corrected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeEjectWithOperationFinish.Rd0000644000176000001440000000160112362217677020557 0ustar ripleyusers\alias{gVolumeEjectWithOperationFinish} \name{gVolumeEjectWithOperationFinish} \title{gVolumeEjectWithOperationFinish} \description{Finishes ejecting a volume. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gVolumeEjectWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GVolume}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the volume was successfully ejected. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawRectangle.Rd0000644000176000001440000000236112362217677015524 0ustar ripleyusers\alias{gdkDrawRectangle} \name{gdkDrawRectangle} \title{gdkDrawRectangle} \description{Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the \code{\link{GdkGC}}.} \usage{gdkDrawRectangle(object, gc, filled, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{filled}}{\code{TRUE} if the rectangle should be filled.} \item{\verb{x}}{the x coordinate of the left edge of the rectangle.} \item{\verb{y}}{the y coordinate of the top edge of the rectangle.} \item{\verb{width}}{the width of the rectangle.} \item{\verb{height}}{the height of the rectangle.} } \details{A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling \code{gdk_draw_rectangle (window, gc, TRUE, 0, 0, 20, 20)} results in a filled rectangle 20 pixels wide and 20 pixels high. Calling \code{gdk_draw_rectangle (window, gc, FALSE, 0, 0, 20, 20)} results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewUnsetRowsDragDest.Rd0000644000176000001440000000066012362217677020064 0ustar ripleyusers\alias{gtkTreeViewUnsetRowsDragDest} \name{gtkTreeViewUnsetRowsDragDest} \title{gtkTreeViewUnsetRowsDragDest} \description{Undoes the effect of \code{\link{gtkTreeViewEnableModelDragDest}}. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkTreeViewUnsetRowsDragDest(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawPoints.Rd0000644000176000001440000000101512362217677015067 0ustar ripleyusers\alias{gdkDrawPoints} \name{gdkDrawPoints} \title{gdkDrawPoints} \description{Draws a number of points, using the foreground color and other attributes of the \code{\link{GdkGC}}.} \usage{gdkDrawPoints(object, gc, points)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{points}}{a list of \code{\link{GdkPoint}} structures.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetMiterLimit.Rd0000644000176000001440000000246512362217677016072 0ustar ripleyusers\alias{cairoSetMiterLimit} \name{cairoSetMiterLimit} \title{cairoSetMiterLimit} \description{Sets the current miter limit within the cairo context.} \usage{cairoSetMiterLimit(cr, limit)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{limit}}{[numeric] miter limit to set} } \details{If the current line join style is set to \code{CAIRO_LINE_JOIN_MITER} (see \code{\link{cairoSetLineJoin}}), the miter limit is used to determine whether the lines should be joined with a bevel instead of a miter. Cairo divides the length of the miter by the line width. If the result is greater than the miter limit, the style is converted to a bevel. As with the other stroke parameters, the current line miter limit is examined by \code{\link{cairoStroke}}, \code{\link{cairoStrokeExtents}}, and \code{cairoStrokeToPath()}, but does not have any effect during path construction. The default miter limit value is 10.0, which will convert joins with interior angles less than 11 degrees to bevels instead of miters. For reference, a miter limit of 2.0 makes the miter cutoff at 60 degrees, and a miter limit of 1.414 makes the cutoff at 90 degrees. A miter limit for a desired angle can be computed as: miter limit = 1/sin(angle/2) } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetDragItem.Rd0000644000176000001440000000107112362217677017330 0ustar ripleyusers\alias{gtkToolPaletteGetDragItem} \name{gtkToolPaletteGetDragItem} \title{gtkToolPaletteGetDragItem} \description{Get the dragged item from the selection. This could be a \code{\link{GtkToolItem}} or a \code{\link{GtkToolItemGroup}}.} \usage{gtkToolPaletteGetDragItem(object, selection)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{selection}}{a \code{\link{GtkSelectionData}}} } \details{Since 2.20} \value{[\code{\link{GtkWidget}}] the dragged item in selection} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFrame.Rd0000644000176000001440000000604612362217677014020 0ustar ripleyusers\alias{GtkFrame} \alias{gtkFrame} \name{GtkFrame} \title{GtkFrame} \description{A bin with a decorative frame and optional label} \section{Methods and Functions}{ \code{\link{gtkFrameNew}(label = NULL, show = TRUE)}\cr \code{\link{gtkFrameSetLabel}(object, label = NULL)}\cr \code{\link{gtkFrameSetLabelWidget}(object, label.widget)}\cr \code{\link{gtkFrameSetLabelAlign}(object, xalign, yalign)}\cr \code{\link{gtkFrameSetShadowType}(object, type)}\cr \code{\link{gtkFrameGetLabel}(object)}\cr \code{\link{gtkFrameGetLabelAlign}(object)}\cr \code{\link{gtkFrameGetLabelWidget}(object)}\cr \code{\link{gtkFrameGetShadowType}(object)}\cr \code{gtkFrame(label = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkFrame +----GtkAspectFrame}} \section{Interfaces}{GtkFrame implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The frame widget is a Bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The position of the label can be controlled with \code{\link{gtkFrameSetLabelAlign}}.} \section{GtkFrame as GtkBuildable}{The GtkFrame implementation of the GtkBuildable interface supports placing a child in the label position by specifying "label" as the "type" attribute of a element. A normal content child can be specified without specifying a type attribute. \emph{A UI definition fragment with GtkFrame}\preformatted{ }} \section{Structures}{\describe{\item{\verb{GtkFrame}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkFrame} is the equivalent of \code{\link{gtkFrameNew}}.} \section{Properties}{\describe{ \item{\verb{label} [character : * : Read / Write]}{ Text of the frame's label. Default value: NULL } \item{\verb{label-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ A widget to display in place of the usual frame label. } \item{\verb{label-xalign} [numeric : Read / Write]}{ The horizontal alignment of the label. Allowed values: [0,1] Default value: 0 } \item{\verb{label-yalign} [numeric : Read / Write]}{ The vertical alignment of the label. Allowed values: [0,1] Default value: 0.5 } \item{\verb{shadow} [\code{\link{GtkShadowType}} : Read / Write]}{ Deprecated property, use shadow_type instead. Default value: GTK_SHADOW_ETCHED_IN } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Appearance of the frame border. Default value: GTK_SHADOW_ETCHED_IN } }} \references{\url{http://library.gnome.org/devel//gtk/GtkFrame.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnect.Rd0000644000176000001440000000300312362217677015217 0ustar ripleyusers\alias{gSocketConnect} \name{gSocketConnect} \title{gSocketConnect} \description{Connect the socket to the specified remote address.} \usage{gSocketConnect(object, address, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{address}}{a \code{\link{GSocketAddress}} specifying the remote address.} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{For connection oriented socket this generally means we attempt to make a connection to the \code{address}. For a connection-less socket it sets the default address for \code{\link{gSocketSend}} and discards all incoming datagrams from other sources. Generally connection oriented sockets can only connect once, but connection-less sockets can connect multiple times to change the default address. If the connect call needs to do network I/O it will block, unless non-blocking I/O is enabled. Then \code{G_IO_ERROR_PENDING} is returned and the user can be notified of the connection finishing by waiting for the G_IO_OUT condition. The result of the connection can then be checked with \code{\link{gSocketCheckConnectResult}}. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if connected, \code{FALSE} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowHasToplevelFocus.Rd0000644000176000001440000000113012362217677017431 0ustar ripleyusers\alias{gtkWindowHasToplevelFocus} \name{gtkWindowHasToplevelFocus} \title{gtkWindowHasToplevelFocus} \description{Returns whether the input focus is within this GtkWindow. For real toplevel windows, this is identical to \code{\link{gtkWindowIsActive}}, but for embedded windows, like \code{\link{GtkPlug}}, the results will differ.} \usage{gtkWindowHasToplevelFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the input focus is within this GtkWindow} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGrabFocus.Rd0000644000176000001440000000114512362217677016040 0ustar ripleyusers\alias{gtkWidgetGrabFocus} \name{gtkWidgetGrabFocus} \title{gtkWidgetGrabFocus} \description{Causes \code{widget} to have the keyboard focus for the \code{\link{GtkWindow}} it's inside. \code{widget} must be a focusable widget, such as a \code{\link{GtkEntry}}; something like \code{\link{GtkFrame}} won't work.} \usage{gtkWidgetGrabFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{More precisely, it must have the \code{GTK_CAN_FOCUS} flag set. Use \code{\link{gtkWidgetSetCanFocus}} to modify that flag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetTextAfterOffset.Rd0000644000176000001440000000467112362217677017404 0ustar ripleyusers\alias{atkTextGetTextAfterOffset} \name{atkTextGetTextAfterOffset} \title{atkTextGetTextAfterOffset} \description{Gets the specified text.} \usage{atkTextGetTextAfterOffset(object, offset, boundary.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] position} \item{\verb{boundary.type}}{[\code{\link{AtkTextBoundary}}] An \code{\link{AtkTextBoundary}}} } \details{If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character after the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start after the offset to the next line start. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end at or after the offset to the next line start. } \value{ A list containing the following elements: \item{retval}{[character] the text after \code{offset} bounded by the specified \code{boundary.type}.} \item{\verb{start.offset}}{[integer] the start offset of the returned string} \item{\verb{end.offset}}{[integer] the offset of the first character after the returned substring} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAppendToAsync.Rd0000644000176000001440000000203212362217677015766 0ustar ripleyusers\alias{gFileAppendToAsync} \name{gFileAppendToAsync} \title{gFileAppendToAsync} \description{Asynchronously opens \code{file} for appending.} \usage{gFileAppendToAsync(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileAppendTo}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileAppendToFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetToggledTags.Rd0000644000176000001440000000157112362217677017361 0ustar ripleyusers\alias{gtkTextIterGetToggledTags} \name{gtkTextIterGetToggledTags} \title{gtkTextIterGetToggledTags} \description{Returns a list of \code{\link{GtkTextTag}} that are toggled on or off at this point. (If \code{toggled.on} is \code{TRUE}, the list contains tags that are toggled on.) If a tag is toggled on at \code{iter}, then some non-empty range of characters following \code{iter} has that tag applied to it. If a tag is toggled off, then some non-empty range following \code{iter} does \emph{not} have the tag applied to it.} \usage{gtkTextIterGetToggledTags(object, toggled.on)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{toggled.on}}{\code{TRUE} to get toggled-on tags} } \value{[list] tags toggled at this point. \emph{[ \acronym{element-type} GtkTextTag][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonNewWithStockFromWidget.Rd0000644000176000001440000000137112362217677022414 0ustar ripleyusers\alias{gtkRadioToolButtonNewWithStockFromWidget} \name{gtkRadioToolButtonNewWithStockFromWidget} \title{gtkRadioToolButtonNewWithStockFromWidget} \description{Creates a new \code{\link{GtkRadioToolButton}} adding it to the same group as \code{group}. The new \code{\link{GtkRadioToolButton}} will contain an icon and label from the stock item indicated by \code{stock.id}.} \usage{gtkRadioToolButtonNewWithStockFromWidget(group = NULL, stock.id, show = TRUE)} \arguments{ \item{\verb{group}}{An existing \code{\link{GtkRadioToolButton}}.} \item{\verb{stock.id}}{the name of a stock item} } \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] A new \code{\link{GtkRadioToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetDouble.Rd0000644000176000001440000000065212362217677017447 0ustar ripleyusers\alias{gtkPrintSettingsSetDouble} \name{gtkPrintSettingsSetDouble} \title{gtkPrintSettingsSetDouble} \description{Sets \code{key} to a double value.} \usage{gtkPrintSettingsSetDouble(object, key, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{value}}{a double value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GVolume.Rd0000644000176000001440000001024312362217677013670 0ustar ripleyusers\alias{GVolume} \name{GVolume} \title{GVolume} \description{Volume management} \section{Methods and Functions}{ \code{\link{gVolumeGetName}(object)}\cr \code{\link{gVolumeGetUuid}(object)}\cr \code{\link{gVolumeGetIcon}(object)}\cr \code{\link{gVolumeGetDrive}(object)}\cr \code{\link{gVolumeGetMount}(object)}\cr \code{\link{gVolumeCanMount}(object)}\cr \code{\link{gVolumeShouldAutomount}(object)}\cr \code{\link{gVolumeGetActivationRoot}(object)}\cr \code{\link{gVolumeMount}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gVolumeMountFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gVolumeCanEject}(object)}\cr \code{\link{gVolumeEject}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gVolumeEjectFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gVolumeEjectWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gVolumeEjectWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gVolumeEnumerateIdentifiers}(object)}\cr \code{\link{gVolumeGetIdentifier}(object, kind)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GVolume}} \section{Detailed Description}{The \code{\link{GVolume}} interface represents user-visible objects that can be mounted. Note, when porting from GnomeVFS, \code{\link{GVolume}} is the moral equivalent of \verb{GnomeVFSDrive}. Mounting a \code{\link{GVolume}} instance is an asynchronous operation. For more information about asynchronous operations, see \verb{GAsyncReady} and \verb{GSimpleAsyncReady}. To mount a \code{\link{GVolume}}, first call \code{\link{gVolumeMount}} with (at least) the \code{\link{GVolume}} instance, optionally a \code{\link{GMountOperation}} object and a \code{\link{GAsyncReadyCallback}}. Typically, one will only want to pass \code{NULL} for the \code{\link{GMountOperation}} if automounting all volumes when a desktop session starts since it's not desirable to put up a lot of dialogs asking for credentials. The callback will be fired when the operation has resolved (either with success or failure), and a \verb{GAsyncReady} structure will be passed to the callback. That callback should then call \code{\link{gVolumeMountFinish}} with the \code{\link{GVolume}} instance and the \verb{GAsyncReady} data to see if the operation was completed successfully. If an \code{error} is present when \code{\link{gVolumeMountFinish}} is called, then it will be filled with any error information. It is sometimes necessary to directly access the underlying operating system object behind a volume (e.g. for passing a volume to an application via the commandline). For this purpose, GIO allows to obtain an 'identifier' for the volume. There can be different kinds of identifiers, such as Hal UDIs, filesystem labels, traditional Unix devices (e.g. \file{/dev/sda2}), uuids. GIO uses predefind strings as names for the different kinds of identifiers: \verb{G_VOLUME_IDENTIFIER_KIND_HAL_UDI}, \verb{G_VOLUME_IDENTIFIER_KIND_LABEL}, etc. Use \code{\link{gVolumeGetIdentifier}} to obtain an identifier for a volume. Note that \verb{G_VOLUME_IDENTIFIER_KIND_HAL_UDI} will only be available when the gvfs hal volume monitor is in use. Other volume monitors will generally be able to provide the \verb{G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE} identifier, which can be used to obtain a hal device by means of \code{libhalMangerFindDeviceStringMatch()}.} \section{Structures}{\describe{\item{\verb{GVolume}}{ Opaque mountable volume object. }}} \section{Signals}{\describe{ \item{\code{changed(user.data)}}{ Emitted when the volume has been changed. \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } \item{\code{removed(user.data)}}{ This signal is emitted when the \code{\link{GVolume}} have been removed. If the recipient is holding references to the object they should release them so the object can be finalized. \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } }} \references{\url{http://library.gnome.org/devel//gio/GVolume.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetLineWrap.Rd0000644000176000001440000000154212362217677016157 0ustar ripleyusers\alias{gtkLabelSetLineWrap} \name{gtkLabelSetLineWrap} \title{gtkLabelSetLineWrap} \description{Toggles line wrapping within the \code{\link{GtkLabel}} widget. \code{TRUE} makes it break lines if text exceeds the widget's size. \code{FALSE} lets the text get cut off by the edge of the widget if it exceeds the widget size.} \usage{gtkLabelSetLineWrap(object, wrap)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{wrap}}{the setting} } \details{Note that setting line wrapping to \code{TRUE} does not make the label wrap at its parent container's width, because GTK+ widgets conceptually can't make their requisition depend on the parent container's size. For a label that wraps at a specific position, set the label's width using \code{\link{gtkWidgetSetSizeRequest}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkDocumentGetAttributeValue.Rd0000644000176000001440000000136512362217677020116 0ustar ripleyusers\alias{atkDocumentGetAttributeValue} \name{atkDocumentGetAttributeValue} \title{atkDocumentGetAttributeValue} \description{\emph{undocumented }} \usage{atkDocumentGetAttributeValue(object, attribute.name)} \arguments{ \item{\verb{object}}{[\code{\link{AtkDocument}}] a \code{\link{GObject}} instance that implements AtkDocumentIface} \item{\verb{attribute.name}}{[character] a character string representing the name of the attribute whose value is being queried.} } \details{ Since 1.12} \value{[character] a string value associated with the named attribute for this document, or NULL if a value for \verb{attribute_name} has not been specified for this document.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/CAIRO.Rd0000644000176000001440000000312712362217677013152 0ustar ripleyusers\alias{CAIRO} \name{CAIRO} \title{CAIRO} \description{Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, and image buffers.} \details{ The RGtk binding to the CAIRO library consists of the following components: \describe{ \item{\link{cairo-font-face}}{Base class for font faces} \item{\link{cairo-font-options}}{How a font should be rendered} \item{\link{cairo-image-surface}}{Rendering to memory buffers} \item{\link{cairo-matrix}}{Generic matrix operations} \item{\link{cairo-paths}}{Creating paths and manipulating path data} \item{\link{cairo-pattern}}{Sources for drawing} \item{\link{cairo-pdf-surface}}{Rendering PDF documents} \item{\link{cairo-png-functions}}{Reading and writing PNG images} \item{\link{cairo-ps-surface}}{Rendering PostScript documents} \item{\link{cairo-scaled-font}}{Font face at particular size and options} \item{\link{cairo-error-status}}{Decoding cairo's status} \item{\link{cairo-surface}}{Base class for surfaces} \item{\link{cairo-svg-surface}}{Rendering SVG documents} \item{\link{cairo-text}}{Rendering text and glyphs} \item{\link{cairo-transformations}}{Manipulating the current transformation matrix} \item{\link{cairo-types}}{Generic data types} \item{\link{cairo-user-font}}{Font support with font data provided by the user} \item{\link{cairo-version-info}}{Compile-time and run-time version checks.} \item{\link{cairo-context}}{The cairo drawing context} } } \references{\url{http://www.cairographics.org/manual}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkDrawFocus.Rd0000644000176000001440000000163012362217677014715 0ustar ripleyusers\alias{gtkDrawFocus} \name{gtkDrawFocus} \title{gtkDrawFocus} \description{ Draws a focus indicator around the given rectangle on \code{window} using the given style. \strong{WARNING: \code{gtk_draw_focus} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintFocus}} instead.} } \usage{gtkDrawFocus(object, window, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{the x origin of the rectangle around which to draw a focus indicator} \item{\verb{y}}{the y origin of the rectangle around which to draw a focus indicator} \item{\verb{width}}{the width of the rectangle around which to draw a focus indicator} \item{\verb{height}}{the height of the rectangle around which to draw a focus indicator} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-Module-Interface.Rd0000644000176000001440000001537712362217677017510 0ustar ripleyusers\alias{gdk-pixbuf-Module-Interface} \alias{GdkPixbufFormat} \alias{GdkPixbufModuleFillVtableFunc} \alias{GdkPixbufModuleFillInfoFunc} \alias{GdkPixbufModuleSizeFunc} \alias{GdkPixbufModulePreparedFunc} \alias{GdkPixbufModuleUpdatedFunc} \name{gdk-pixbuf-Module-Interface} \title{Module Interface} \description{Extending } \section{Methods and Functions}{ \code{\link{gdkPixbufSetOption}(object, key, value)}\cr \code{\link{gdkPixbufGetFormats}()}\cr \code{\link{gdkPixbufFormatGetName}(object)}\cr \code{\link{gdkPixbufFormatGetDescription}(object)}\cr \code{\link{gdkPixbufFormatGetMimeTypes}(object)}\cr \code{\link{gdkPixbufFormatGetExtensions}(object)}\cr \code{\link{gdkPixbufFormatIsWritable}(object)}\cr \code{\link{gdkPixbufFormatIsScalable}(object)}\cr \code{\link{gdkPixbufFormatIsDisabled}(object)}\cr \code{\link{gdkPixbufFormatSetDisabled}(object, disabled)}\cr \code{\link{gdkPixbufFormatGetLicense}(object)}\cr } \section{Detailed Description}{If \command{gdk-pixbuf} has been compiled with GModule support, it can be extended by modules which can load (and perhaps also save) new image and animation formats. Each loadable module must export a \verb{GdkPixbufModuleFillInfoFunc} function named \code{fillInfo} and a \verb{GdkPixbufModuleFillVtableFunc} function named \code{fillVtable}. In order to make format-checking work before actually loading the modules (which may require dlopening image libraries), modules export their signatures (and other information) via the \code{fillInfo} function. An external utility, \command{gdk-pixbuf-query-loaders}, uses this to create a text file containing a list of all available loaders and their signatures. This file is then read at runtime by \command{gdk-pixbuf} to obtain the list of available loaders and their signatures. Modules may only implement a subset of the functionality available via \verb{GdkPixbufModule}. If a particular functionality is not implemented, the \code{fillVtable} function will simply not set the corresponding function pointers of the \verb{GdkPixbufModule} structure. If a module supports incremental loading (i.e. provides \verb{begin_load}, \verb{stop_load} and \verb{load_increment}), it doesn't have to implement \verb{load}, since \command{gdk-pixbuf} can supply a generic \verb{load} implementation wrapping the incremental loading. Installing a module is a two-step process: \itemize{ \item copy the module file(s) to the loader directory (normally \file{libdir}, unless overridden by the environment variable \env{GDK_PIXBUF_MODULEDIR}) \item call \command{gdk-pixbuf-query-loaders} to update the module file (normally \file{sysconfdir}, unless overridden by the environment variable \env{GDK_PIXBUF_MODULE_FILE}) } The \command{gdk-pixbuf} interfaces needed for implementing modules are contained in \file{gdk-pixbuf-io.h} (and \file{gdk-pixbuf-animation.h} if the module supports animations). They are not covered by the same stability guarantees as the regular \command{gdk-pixbuf} API. To underline this fact, they are protected by \code{#ifdef GDK_PIXBUF_ENABLE_BACKEND}.} \section{Structures}{\describe{\item{\verb{GdkPixbufFormat}}{ A \code{\link{GdkPixbufFormat}} contains information about the image format accepted by a module. Only modules should access the fields directly, applications should use the \code{gdkPixbufFormat*} functions. Since 2.2 \describe{ \item{\code{name}}{the name of the image format.} \item{\code{signature}}{the signature of the module.} \item{\code{domain}}{the message domain for the \code{description}.} \item{\code{description}}{a description of the image format.} \item{\code{mime_types}}{a list of MIME types for the image format.} \item{\code{extensions}}{a list of typical filename extensions for the image format.} \item{\code{flags}}{a combination of \verb{GdkPixbufFormatFlags}.} \item{\code{disabled}}{a boolean determining whether the loader is disabled.} \item{\code{license}}{a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.} } }}} \section{User Functions}{\describe{ \item{\code{GdkPixbufModuleFillVtableFunc(module)}}{ Defines the type of the function used to set the vtable of a \verb{GdkPixbufModule} when it is loaded. Since 2.2 \describe{\item{\code{module}}{a \verb{GdkPixbufModule}.}} } \item{\code{GdkPixbufModuleFillInfoFunc(info)}}{ Defines the type of the function used to fill a \code{\link{GdkPixbufFormat}} structure with information about a module. Since 2.2 \describe{\item{\code{info}}{a \code{\link{GdkPixbufFormat}}.}} } \item{\code{GdkPixbufModuleSizeFunc(width, height, user.data)}}{ Defines the type of the function that gets called once the size of the loaded image is known. The function is expected to set \code{width} and \code{height} to the desired size to which the image should be scaled. If a module has no efficient way to achieve the desired scaling during the loading of the image, it may either ignore the size request, or only approximate it -- \command{gdk-pixbuf} will then perform the required scaling on the completely loaded image. If the function sets \code{width} or \code{height} to zero, the module should interpret this as a hint that it will be closed soon and shouldn't allocate further resources. This convention is used to implement \code{\link{gdkPixbufGetFileInfo}} efficiently. Since 2.2 \describe{ \item{\code{width}}{pointer to a location containing the current image width} \item{\code{height}}{pointer to a location containing the current image height} \item{\code{user.data}}{the loader.} } } \item{\code{GdkPixbufModulePreparedFunc(pixbuf, anim, user.data)}}{ Defines the type of the function that gets called once the initial setup of \code{pixbuf} is done. \code{\link{GdkPixbufLoader}} uses a function of this type to emit the "area_prepared" signal. Since 2.2 \describe{ \item{\code{pixbuf}}{the \code{\link{GdkPixbuf}} that is currently being loaded.} \item{\code{anim}}{if an animation is being loaded, the \code{\link{GdkPixbufAnimation}}, else \code{NULL}.} \item{\code{user.data}}{the loader.} } } \item{\code{GdkPixbufModuleUpdatedFunc(pixbuf, x, y, width, height, user.data)}}{ Defines the type of the function that gets called every time a region of \code{pixbuf} is updated. \code{\link{GdkPixbufLoader}} uses a function of this type to emit the "area_updated" signal. Since 2.2 \describe{ \item{\code{pixbuf}}{the \code{\link{GdkPixbuf}} that is currently being loaded.} \item{\code{x}}{the X origin of the updated area.} \item{\code{y}}{the Y origin of the updated area.} \item{\code{width}}{the width of the updated area.} \item{\code{height}}{the height of the updated area.} \item{\code{user.data}}{the loader.} } } }} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-Module-Interface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetPixmap.Rd0000644000176000001440000000142512362217677016451 0ustar ripleyusers\alias{gtkCTreeNodeGetPixmap} \name{gtkCTreeNodeGetPixmap} \title{gtkCTreeNodeGetPixmap} \description{ \strong{WARNING: \code{gtk_ctree_node_get_pixmap} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetPixmap(object, node, column)} \arguments{ \item{\verb{object}}{If nonnull, the pointer to the pixmap is returned through this.} \item{\verb{node}}{If nonnull, the pointer to the mask is returned through this.} \item{\verb{column}}{True if the given cell contains a pixmap.} } \value{ A list containing the following elements: \item{retval}{[logical] True if the given cell contains a pixmap.} \item{\verb{pixmap}}{\emph{undocumented }} \item{\verb{mask}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetCurrentName.Rd0000644000176000001440000000161012362217677020040 0ustar ripleyusers\alias{gtkFileChooserSetCurrentName} \name{gtkFileChooserSetCurrentName} \title{gtkFileChooserSetCurrentName} \description{Sets the current name in the file selector, as if entered by the user. Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog.} \usage{gtkFileChooserSetCurrentName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{name}}{the filename to use, as a UTF-8 string} } \details{If you want to preselect a particular existing file, you should use \code{\link{gtkFileChooserSetFilename}} or \code{\link{gtkFileChooserSetUri}} instead. Please see the documentation for those functions for an example of using \code{\link{gtkFileChooserSetCurrentName}} as well. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryConstruct.Rd0000644000176000001440000000162612362217677017160 0ustar ripleyusers\alias{gtkItemFactoryConstruct} \name{gtkItemFactoryConstruct} \title{gtkItemFactoryConstruct} \description{ Initializes an item factory. \strong{WARNING: \code{gtk_item_factory_construct} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryConstruct(object, container.type, path, accel.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{container.type}}{the kind of menu to create; can be \verb{GTK_TYPE_MENU_BAR}, \verb{GTK_TYPE_MENU} or \verb{GTK_TYPE_OPTION_MENU}} \item{\verb{path}}{the factory path of \code{ifactory}, a string of the form \code{""}} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}} to which the accelerators for the menu items will be added, or \code{NULL} to create a new one} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeCanBeExecutable.Rd0000644000176000001440000000104312362217677017626 0ustar ripleyusers\alias{gContentTypeCanBeExecutable} \name{gContentTypeCanBeExecutable} \title{gContentTypeCanBeExecutable} \description{Checks if a content type can be executable. Note that for instance things like text files can be executables (i.e. scripts and batch files).} \usage{gContentTypeCanBeExecutable(type)} \arguments{\item{\verb{type}}{a content type string.}} \value{[logical] \code{TRUE} if the file type corresponds to a type that can be executable, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVButtonBox.Rd0000644000176000001440000000433612362217677015040 0ustar ripleyusers\alias{GtkVButtonBox} \alias{gtkVButtonBox} \name{GtkVButtonBox} \title{GtkVButtonBox} \description{A container for arranging buttons vertically} \section{Methods and Functions}{ \code{\link{gtkVButtonBoxNew}(show = TRUE)}\cr \code{\link{gtkVButtonBoxGetSpacingDefault}()}\cr \code{\link{gtkVButtonBoxSetSpacingDefault}(spacing)}\cr \code{\link{gtkVButtonBoxGetLayoutDefault}()}\cr \code{\link{gtkVButtonBoxSetLayoutDefault}(layout)}\cr \code{gtkVButtonBox(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkButtonBox +----GtkVButtonBox}} \section{Interfaces}{GtkVButtonBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{A button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree. A \code{\link{GtkVButtonBox}} is created with \code{\link{gtkVButtonBoxNew}}. Buttons are packed into a button box the same way widgets are added to any other container, using \code{\link{gtkContainerAdd}}. You can also use \code{\link{gtkBoxPackStart}} or \code{\link{gtkBoxPackEnd}}, but for button boxes both these functions work just like \code{\link{gtkContainerAdd}}, ie., they pack the button in a way that depends on the current layout style and on whether the button has had \code{\link{gtkButtonBoxSetChildSecondary}} called on it. The spacing between buttons can be set with \code{\link{gtkBoxSetSpacing}}. The arrangement and layout of the buttons can be changed with \code{\link{gtkButtonBoxSetLayout}}.} \section{Structures}{\describe{\item{\verb{GtkVButtonBox}}{ GtkVButtonBox does not contain any public fields. }}} \section{Convenient Construction}{\code{gtkVButtonBox} is the equivalent of \code{\link{gtkVButtonBoxNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVButtonBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionShrink.Rd0000644000176000001440000000077212362217677015410 0ustar ripleyusers\alias{gdkRegionShrink} \name{gdkRegionShrink} \title{gdkRegionShrink} \description{Resizes a region by the specified amount. Positive values shrink the region. Negative values expand it.} \usage{gdkRegionShrink(object, dx, dy)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{dx}}{the number of pixels to shrink the region horizontally} \item{\verb{dy}}{the number of pixels to shrink the region vertically} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListSetSelectionMode.Rd0000644000176000001440000000213112362217677017057 0ustar ripleyusers\alias{gtkListSetSelectionMode} \name{gtkListSetSelectionMode} \title{gtkListSetSelectionMode} \description{ Set the list selection mode. The selection mode can be any value in \code{\link{GtkSelectionMode}}: \describe{ \item{\verb{GTK_SELECTION_SINGLE}}{Zero or one element may be selected.} \item{\verb{GTK_SELECTION_BROWSE}}{Exactly one element is always selected (this can be false after you have changed the selection mode).} \item{\verb{GTK_SELECTION_MULTIPLE}}{Any number of elements may be selected. Clicks toggle the state of an item.} \item{\verb{GTK_SELECTION_EXTENDED}}{Any number of elements may be selected. Click-drag selects a range of elements; the Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to.} } \strong{WARNING: \code{gtk_list_set_selection_mode} is deprecated and should not be used in newly-written code.} } \usage{gtkListSetSelectionMode(object, mode)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{mode}}{the new selection mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnJustification.Rd0000644000176000001440000000123412362217677020424 0ustar ripleyusers\alias{gtkCListSetColumnJustification} \name{gtkCListSetColumnJustification} \title{gtkCListSetColumnJustification} \description{ Sets the justification to be used for all text in the specified column. \strong{WARNING: \code{gtk_clist_set_column_justification} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnJustification(object, column, justification)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column which should be affected.} \item{\verb{justification}}{A GtkJustification value for the column.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarAddButtons.Rd0000644000176000001440000000131612362217677016331 0ustar ripleyusers\alias{gtkInfoBarAddButtons} \name{gtkInfoBarAddButtons} \title{gtkInfoBarAddButtons} \description{Adds more buttons, same as calling \code{\link{gtkInfoBarAddButton}} repeatedly. The variable argument list should be \code{NULL}-terminated as with \code{\link{gtkInfoBarNewWithButtons}}. Each button must have both text and response ID.} \usage{gtkInfoBarAddButtons(object, first.button.text, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{first.button.text}}{button text or stock ID} \item{\verb{...}}{response ID for first button, then more text-response_id pairs, ending with \code{NULL}} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrBackgroundNew.Rd0000644000176000001440000000102712362217677016723 0ustar ripleyusers\alias{pangoAttrBackgroundNew} \name{pangoAttrBackgroundNew} \title{pangoAttrBackgroundNew} \description{Create a new background color attribute.} \usage{pangoAttrBackgroundNew(red, green, blue)} \arguments{ \item{\verb{red}}{[integer] the red value (ranging from 0 to 65535)} \item{\verb{green}}{[integer] the green value} \item{\verb{blue}}{[integer] the blue value} } \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragFindWindowForScreen.Rd0000644000176000001440000000225312362217677017457 0ustar ripleyusers\alias{gdkDragFindWindowForScreen} \name{gdkDragFindWindowForScreen} \title{gdkDragFindWindowForScreen} \description{Finds the destination window and DND protocol to use at the given pointer position.} \usage{gdkDragFindWindowForScreen(object, drag.window, screen, x.root, y.root)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}} \item{\verb{drag.window}}{a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon.} \item{\verb{screen}}{the screen where the destination window is sought.} \item{\verb{x.root}}{the x position of the pointer in root coordinates.} \item{\verb{y.root}}{the y position of the pointer in root coordinates.} } \details{This function is called by the drag source to obtain the \code{dest.window} and \code{protocol} parameters for \code{\link{gdkDragMotion}}. Since 2.2} \value{ A list containing the following elements: \item{\verb{dest.window}}{location to store the destination window in. \emph{[ \acronym{out} ]}} \item{\verb{protocol}}{location to store the DND protocol in. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeObject.Rd0000644000176000001440000000076412362217677017652 0ustar ripleyusers\alias{gFileInfoSetAttributeObject} \name{gFileInfoSetAttributeObject} \title{gFileInfoSetAttributeObject} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeObject(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{a \code{\link{GObject}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryDeleteItem.Rd0000644000176000001440000000111312362217677017204 0ustar ripleyusers\alias{gtkItemFactoryDeleteItem} \name{gtkItemFactoryDeleteItem} \title{gtkItemFactoryDeleteItem} \description{ Deletes the menu item which was created for \code{path} by the given item factory. \strong{WARNING: \code{gtk_item_factory_delete_item} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryDeleteItem(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{path}}{a path} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbColormapDitherable.Rd0000644000176000001440000000123212362217677017171 0ustar ripleyusers\alias{gdkRgbColormapDitherable} \name{gdkRgbColormapDitherable} \title{gdkRgbColormapDitherable} \description{Determines whether the visual associated with \code{cmap} is ditherable. This function may be useful for presenting a user interface choice to the user about which dither mode is desired; if the display is not ditherable, it may make sense to gray out or hide the corresponding UI widget.} \usage{gdkRgbColormapDitherable(colormap)} \arguments{\item{\verb{colormap}}{a \code{\link{GdkColormap}}}} \value{[logical] \code{TRUE} if the visual associated with \code{cmap} is ditherable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadLineFinish.Rd0000644000176000001440000000215312362217677020274 0ustar ripleyusers\alias{gDataInputStreamReadLineFinish} \name{gDataInputStreamReadLineFinish} \title{gDataInputStreamReadLineFinish} \description{Finish an asynchronous call started by \code{\link{gDataInputStreamReadLineAsync}}.} \usage{gDataInputStreamReadLineFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{result}}{the \code{\link{GAsyncResult}} that was provided to the callback.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.20} \value{ A list containing the following elements: \item{retval}{[char] a string with the line that was read in (without the newlines). Set \code{length} to a \verb{numeric} to get the length of the read line. On an error, it will return \code{NULL} and \code{error} will be set. If there's no content to read, it will still return \code{NULL}, but \code{error} won't be set.} \item{\verb{length}}{a \verb{numeric} to get the length of the data read in.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkViewportSetVadjustment.Rd0000644000176000001440000000070112362217677017536 0ustar ripleyusers\alias{gtkViewportSetVadjustment} \name{gtkViewportSetVadjustment} \title{gtkViewportSetVadjustment} \description{Sets the vertical adjustment of the viewport.} \usage{gtkViewportSetVadjustment(object, adjustment = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkViewport}}.} \item{\verb{adjustment}}{a \code{\link{GtkAdjustment}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintDiamond.Rd0000644000176000001440000000211512362217677015366 0ustar ripleyusers\alias{gtkPaintDiamond} \name{gtkPaintDiamond} \title{gtkPaintDiamond} \description{Draws a diamond in the given rectangle on \code{window} using the given parameters.} \usage{gtkPaintDiamond(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the rectangle to draw the diamond in} \item{\verb{y}}{y origin of the rectangle to draw the diamond in} \item{\verb{width}}{width of the rectangle to draw the diamond in} \item{\verb{height}}{height of the rectangle to draw the diamond in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetsIncludeImage.Rd0000644000176000001440000000120512362217677016676 0ustar ripleyusers\alias{gtkTargetsIncludeImage} \name{gtkTargetsIncludeImage} \title{gtkTargetsIncludeImage} \description{Determines if any of the targets in \code{targets} can be used to provide a \code{\link{GdkPixbuf}}.} \usage{gtkTargetsIncludeImage(targets, writable)} \arguments{ \item{\verb{targets}}{a list of \code{\link{GdkAtom}}s} \item{\verb{writable}}{whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format} } \details{Since 2.10} \value{[logical] \code{TRUE} if \code{targets} include a suitable target for images, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSortableGetSortColumnId.Rd0000644000176000001440000000152312362217677020357 0ustar ripleyusers\alias{gtkTreeSortableGetSortColumnId} \name{gtkTreeSortableGetSortColumnId} \title{gtkTreeSortableGetSortColumnId} \description{Fills in \code{sort.column.id} and \code{order} with the current sort column and the order. It returns \code{TRUE} unless the \code{sort.column.id} is \code{GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID} or \code{GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID}.} \usage{gtkTreeSortableGetSortColumnId(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSortable}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the sort column is not one of the special sort column ids.} \item{\verb{sort.column.id}}{The sort column id to be filled in} \item{\verb{order}}{The \code{\link{GtkSortType}} to be filled in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetExpanded.Rd0000644000176000001440000000102012362217677016704 0ustar ripleyusers\alias{gtkExpanderSetExpanded} \name{gtkExpanderSetExpanded} \title{gtkExpanderSetExpanded} \description{Sets the state of the expander. Set to \code{TRUE}, if you want the child widget to be revealed, and \code{FALSE} if you want the child widget to be hidden.} \usage{gtkExpanderSetExpanded(object, expanded)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{expanded}}{whether the child widget is revealed} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerAdd.Rd0000644000176000001440000000165712362217677015364 0ustar ripleyusers\alias{gtkContainerAdd} \name{gtkContainerAdd} \title{gtkContainerAdd} \description{Adds \code{widget} to \code{container}. Typically used for simple containers such as \code{\link{GtkWindow}}, \code{\link{GtkFrame}}, or \code{\link{GtkButton}}; for more complicated layout containers such as \code{\link{GtkBox}} or \code{\link{GtkTable}}, this function will pick default packing parameters that may not be correct. So consider functions such as \code{\link{gtkBoxPackStart}} and \code{\link{gtkTableAttach}} as an alternative to \code{\link{gtkContainerAdd}} in those cases. A widget may be added to only one container at a time; you can't place the same widget inside two different containers.} \usage{gtkContainerAdd(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{widget}}{a widget to be placed inside \code{container}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetAlignment.Rd0000644000176000001440000000073112362217677020230 0ustar ripleyusers\alias{gtkTreeViewColumnGetAlignment} \name{gtkTreeViewColumnGetAlignment} \title{gtkTreeViewColumnGetAlignment} \description{Returns the current x alignment of \code{tree.column}. This value can range between 0.0 and 1.0.} \usage{gtkTreeViewColumnGetAlignment(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[numeric] The current alignent of \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixRotate.Rd0000644000176000001440000000110612362217677015760 0ustar ripleyusers\alias{pangoMatrixRotate} \name{pangoMatrixRotate} \title{pangoMatrixRotate} \description{Changes the transformation represented by \code{matrix} to be the transformation given by first rotating by \code{degrees} degrees counter-clockwise then applying the original transformation.} \usage{pangoMatrixRotate(object, degrees)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}} \item{\verb{degrees}}{[numeric] degrees to rotate counter-clockwise} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNewWithLabelFromWidget.Rd0000644000176000001440000000115212362217677021507 0ustar ripleyusers\alias{gtkRadioButtonNewWithLabelFromWidget} \name{gtkRadioButtonNewWithLabelFromWidget} \title{gtkRadioButtonNewWithLabelFromWidget} \description{Creates a new \code{\link{GtkRadioButton}} with a text label, adding it to the same group as \code{radio.group.member}.} \usage{gtkRadioButtonNewWithLabelFromWidget(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{widget to get radio group from or NULL} \item{\verb{label}}{a text string to display next to the radio button.} } \value{[\code{\link{GtkWidget}}] a new radio button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerRemoveItem.Rd0000644000176000001440000000162112362217677017530 0ustar ripleyusers\alias{gtkRecentManagerRemoveItem} \name{gtkRecentManagerRemoveItem} \title{gtkRecentManagerRemoveItem} \description{Removes a resource pointed by \code{uri} from the recently used resources list handled by a recent manager.} \usage{gtkRecentManagerRemoveItem(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{the URI of the item you wish to remove} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the item pointed by \code{uri} has been successfully removed by the recently used resources list, and \code{FALSE} otherwise.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonSetTitle.Rd0000644000176000001440000000063612362217677016755 0ustar ripleyusers\alias{gtkColorButtonSetTitle} \name{gtkColorButtonSetTitle} \title{gtkColorButtonSetTitle} \description{Sets the title for the color selection dialog.} \usage{gtkColorButtonSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorButton}}} \item{\verb{title}}{String containing new window title.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitIsTextAvailable.Rd0000644000176000001440000000150112362217677020503 0ustar ripleyusers\alias{gtkClipboardWaitIsTextAvailable} \name{gtkClipboardWaitIsTextAvailable} \title{gtkClipboardWaitIsTextAvailable} \description{Test to see if there is text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported text targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitIsTextAvailable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{This function is a little faster than calling \code{\link{gtkClipboardWaitForText}} since it doesn't need to retrieve the actual text.} \value{[logical] \code{TRUE} is there is text available, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAlignment.Rd0000644000176000001440000000705112362217677014701 0ustar ripleyusers\alias{GtkAlignment} \alias{gtkAlignment} \name{GtkAlignment} \title{GtkAlignment} \description{A widget which controls the alignment and size of its child} \section{Methods and Functions}{ \code{\link{gtkAlignmentNew}(xalign = NULL, yalign = NULL, xscale = NULL, yscale = NULL, show = TRUE)}\cr \code{\link{gtkAlignmentSet}(object, xalign, yalign, xscale, yscale)}\cr \code{\link{gtkAlignmentGetPadding}(object)}\cr \code{\link{gtkAlignmentSetPadding}(object, padding.top, padding.bottom, padding.left, padding.right)}\cr \code{gtkAlignment(xalign = NULL, yalign = NULL, xscale = NULL, yscale = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkAlignment}} \section{Interfaces}{GtkAlignment implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkAlignment}} widget controls the alignment and size of its child widget. It has four settings: xscale, yscale, xalign, and yalign. The scale settings are used to specify how much the child widget should expand to fill the space allocated to the \code{\link{GtkAlignment}}. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space). The align settings are used to place the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). Of course, if the scale settings are both set to 1, the alignment settings have no effect.} \section{Structures}{\describe{\item{\verb{GtkAlignment}}{ The \code{\link{GtkAlignment}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkAlignment} is the equivalent of \code{\link{gtkAlignmentNew}}.} \section{Properties}{\describe{ \item{\verb{bottom-padding} [numeric : Read / Write]}{ The padding to insert at the bottom of the widget. Allowed values: <= G_MAXINT Default value: 0 Since 2.4 } \item{\verb{left-padding} [numeric : Read / Write]}{ The padding to insert at the left of the widget. Allowed values: <= G_MAXINT Default value: 0 Since 2.4 } \item{\verb{right-padding} [numeric : Read / Write]}{ The padding to insert at the right of the widget. Allowed values: <= G_MAXINT Default value: 0 Since 2.4 } \item{\verb{top-padding} [numeric : Read / Write]}{ The padding to insert at the top of the widget. Allowed values: <= G_MAXINT Default value: 0 Since 2.4 } \item{\verb{xalign} [numeric : Read / Write]}{ Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned. Allowed values: [0,1] Default value: 0.5 } \item{\verb{xscale} [numeric : Read / Write]}{ If available horizontal space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all. Allowed values: [0,1] Default value: 1 } \item{\verb{yalign} [numeric : Read / Write]}{ Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned. Allowed values: [0,1] Default value: 0.5 } \item{\verb{yscale} [numeric : Read / Write]}{ If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all. Allowed values: [0,1] Default value: 1 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAlignment.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPaperWidth.Rd0000644000176000001440000000074712362217677020311 0ustar ripleyusers\alias{gtkPrintSettingsSetPaperWidth} \name{gtkPrintSettingsSetPaperWidth} \title{gtkPrintSettingsSetPaperWidth} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PAPER_WIDTH}.} \usage{gtkPrintSettingsSetPaperWidth(object, width, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{width}}{the paper width} \item{\verb{unit}}{the units of \code{width}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupNewFromKeyFile.Rd0000644000176000001440000000202312362217677017461 0ustar ripleyusers\alias{gtkPageSetupNewFromKeyFile} \name{gtkPageSetupNewFromKeyFile} \title{gtkPageSetupNewFromKeyFile} \description{Reads the page setup from the group \code{group.name} in the key file \code{key.file}. Returns a new \code{\link{GtkPageSetup}} object with the restored page setup, or \code{NULL} if an error occurred.} \usage{gtkPageSetupNewFromKeyFile(key.file, group.name, .errwarn = TRUE)} \arguments{ \item{\verb{key.file}}{the \verb{GKeyFile} to retrieve the page_setup from} \item{\verb{group.name}}{the name of the group in the key_file to read, or \code{NULL} to use the default name "Page Setup". \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkPageSetup}}] the restored \code{\link{GtkPageSetup}}} \item{\verb{error}}{return location for an error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserAddShortcutFolderUri.Rd0000644000176000001440000000207012362217677021202 0ustar ripleyusers\alias{gtkFileChooserAddShortcutFolderUri} \name{gtkFileChooserAddShortcutFolderUri} \title{gtkFileChooserAddShortcutFolderUri} \description{Adds a folder URI to be displayed with the shortcut folders in a file chooser. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list.} \usage{gtkFileChooserAddShortcutFolderUri(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{URI of the folder to add} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the folder could be added successfully, \code{FALSE} otherwise. In the latter case, the \code{error} will be set as appropriate.} \item{\verb{error}}{location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetTrackPrintStatus.Rd0000644000176000001440000000147612362217677021667 0ustar ripleyusers\alias{gtkPrintOperationSetTrackPrintStatus} \name{gtkPrintOperationSetTrackPrintStatus} \title{gtkPrintOperationSetTrackPrintStatus} \description{If track_status is \code{TRUE}, the print operation will try to continue report on the status of the print job in the printer queues and printer. This can allow your application to show things like "out of paper" issues, and when the print job actually reaches the printer.} \usage{gtkPrintOperationSetTrackPrintStatus(object, track.status)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{track.status}}{\code{TRUE} to track status after printing} } \details{This function is often implemented using some form of polling, so it should not be enabled unless needed. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetSize.Rd0000644000176000001440000000161712362217677016021 0ustar ripleyusers\alias{gdkDrawableGetSize} \name{gdkDrawableGetSize} \title{gdkDrawableGetSize} \description{Fills *\code{width} and *\code{height} with the size of \code{drawable}. \code{width} or \code{height} can be \code{NULL} if you only want the other one.} \usage{gdkDrawableGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \details{On the X11 platform, if \code{drawable} is a \code{\link{GdkWindow}}, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server.} \value{ A list containing the following elements: \item{\verb{width}}{(out): location to store drawable's width, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{(out): location to store drawable's height, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellSetTakeFocus.Rd0000644000176000001440000000276112362217677017203 0ustar ripleyusers\alias{gtkMenuShellSetTakeFocus} \name{gtkMenuShellSetTakeFocus} \title{gtkMenuShellSetTakeFocus} \description{If \code{take.focus} is \code{TRUE} (the default) the menu shell will take the keyboard focus so that it will receive all keyboard events which is needed to enable keyboard navigation in menus.} \usage{gtkMenuShellSetTakeFocus(object, take.focus)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}} \item{\verb{take.focus}}{\code{TRUE} if the menu shell should take the keyboard focus on popup.} } \details{Setting \code{take.focus} to \code{FALSE} is useful only for special applications like virtual keyboard implementations which should not take keyboard focus. The \code{take.focus} state of a menu or menu bar is automatically propagated to submenus whenever a submenu is popped up, so you don't have to worry about recursively setting it for your entire menu hierarchy. Only when programmatically picking a submenu and popping it up manually, the \code{take.focus} property of the submenu needs to be set explicitely. Note that setting it to \code{FALSE} has side-effects: If the focus is in some other app, it keeps the focus and keynav in the menu doesn't work. Consequently, To avoid confusing the user, menus with \code{take.focus} set to \code{FALSE} should not display mnemonics or accelerators, since it cannot be guaranteed that they will work. See also \code{\link{gdkKeyboardGrab}} Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetTooltipContext.Rd0000644000176000001440000000342612362217677020137 0ustar ripleyusers\alias{gtkTreeViewGetTooltipContext} \name{gtkTreeViewGetTooltipContext} \title{gtkTreeViewGetTooltipContext} \description{This function is supposed to be used in a \verb{"query-tooltip"} signal handler for \code{\link{GtkTreeView}}. The \code{x}, \code{y} and \code{keyboard.tip} values which are received in the signal handler, should be passed to this function without modification.} \usage{gtkTreeViewGetTooltipContext(object, x, y, keyboard.tip)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{x}}{the x coordinate (relative to widget coordinates)} \item{\verb{y}}{the y coordinate (relative to widget coordinates)} \item{\verb{keyboard.tip}}{whether this is a keyboard tooltip or not} } \details{The return value indicates whether there is a tree view row at the given coordinates (\code{TRUE}) or not (\code{FALSE}) for mouse tooltips. For keyboard tooltips the row returned will be the cursor row. When \code{TRUE}, then any of \code{model}, \code{path} and \code{iter} which have been provided will be set to point to that row and the corresponding model. \code{x} and \code{y} will always be converted to be relative to \code{tree.view}'s bin_window if \code{keyboard.tooltip} is \code{FALSE}. Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] whether or not the given tooltip context points to a row.} \item{\verb{model}}{a pointer to receive a \code{\link{GtkTreeModel}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{path}}{a pointer to receive a \code{\link{GtkTreePath}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{iter}}{a pointer to receive a \code{\link{GtkTreeIter}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeSetCustomTheme.Rd0000644000176000001440000000133112362217677017523 0ustar ripleyusers\alias{gtkIconThemeSetCustomTheme} \name{gtkIconThemeSetCustomTheme} \title{gtkIconThemeSetCustomTheme} \description{Sets the name of the icon theme that the \code{\link{GtkIconTheme}} object uses overriding system configuration. This function cannot be called on the icon theme objects returned from \code{\link{gtkIconThemeGetDefault}} and \code{\link{gtkIconThemeGetForScreen}}.} \usage{gtkIconThemeSetCustomTheme(object, theme.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{theme.name}}{name of icon theme to use instead of configured theme, or \code{NULL} to unset a previously set custom theme} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreePreRecursive.Rd0000644000176000001440000000141712362217677016364 0ustar ripleyusers\alias{gtkCTreePreRecursive} \name{gtkCTreePreRecursive} \title{gtkCTreePreRecursive} \description{ Recursively apply a function to all nodes of the tree at or below a certain node. The function is called for each node after it has been called for its parent. \strong{WARNING: \code{gtk_ctree_pre_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreePreRecursive(object, node, func, data = NULL)} \arguments{ \item{\verb{object}}{The node where to start. \code{NULL} means to start at the root.} \item{\verb{node}}{The function to apply to each node.} \item{\verb{func}}{A closure argument given to each invocation of the function.} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryTextIndexToLayoutIndex.Rd0000644000176000001440000000116712362217677020454 0ustar ripleyusers\alias{gtkEntryTextIndexToLayoutIndex} \name{gtkEntryTextIndexToLayoutIndex} \title{gtkEntryTextIndexToLayoutIndex} \description{Converts from a position in the entry's \code{\link{PangoLayout}} (returned by \code{\link{gtkEntryGetLayout}}) to a position in the entry contents (returned by \code{\link{gtkEntryGetText}}).} \usage{gtkEntryTextIndexToLayoutIndex(object, text.index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{text.index}}{byte index into the entry contents} } \value{[integer] byte index into the entry layout text} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetVisibleRange.Rd0000644000176000001440000000147712362217677017507 0ustar ripleyusers\alias{gtkIconViewGetVisibleRange} \name{gtkIconViewGetVisibleRange} \title{gtkIconViewGetVisibleRange} \description{Sets \code{start.path} and \code{end.path} to be the first and last visible path. Note that there may be invisible paths in between.} \usage{gtkIconViewGetVisibleRange(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}}} \details{ Since 2.8} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if valid paths were placed in \code{start.path} and \code{end.path}} \item{\verb{start.path}}{Return location for start of region, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{end.path}}{Return location for end of region, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRemoveGlobalEventListener.Rd0000644000176000001440000000056312362217677020104 0ustar ripleyusers\alias{atkRemoveGlobalEventListener} \name{atkRemoveGlobalEventListener} \title{atkRemoveGlobalEventListener} \description{Removes the specified event listener} \usage{atkRemoveGlobalEventListener(listener.id)} \arguments{\item{\verb{listener.id}}{[numeric] the id of the event listener to remove}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppLaunchContextGetStartupNotifyId.Rd0000644000176000001440000000157212362217677021377 0ustar ripleyusers\alias{gAppLaunchContextGetStartupNotifyId} \name{gAppLaunchContextGetStartupNotifyId} \title{gAppLaunchContextGetStartupNotifyId} \description{Initiates startup notification for the application and returns the DESKTOP_STARTUP_ID for the launched operation, if supported.} \usage{gAppLaunchContextGetStartupNotifyId(object, info, files)} \arguments{ \item{\verb{object}}{a \code{\link{GAppLaunchContext}}} \item{\verb{info}}{a \code{\link{GAppInfo}}} \item{\verb{files}}{a \verb{list} of of \code{\link{GFile}} objects} } \details{Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard (\url{http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt}).} \value{[char] a startup notification ID for the application, or \code{NULL} if not supported.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetTitle.Rd0000644000176000001440000000076612362217677016203 0ustar ripleyusers\alias{gtkComboBoxGetTitle} \name{gtkComboBoxGetTitle} \title{gtkComboBoxGetTitle} \description{Gets the current title of the menu in tearoff mode. See \code{\link{gtkComboBoxSetAddTearoffs}}.} \usage{gtkComboBoxGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{Since 2.10} \value{[character] the menu's title in tearoff mode. This is an internal copy of the string which must not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxGetHomogeneous.Rd0000644000176000001440000000066312362217677016426 0ustar ripleyusers\alias{gtkBoxGetHomogeneous} \name{gtkBoxGetHomogeneous} \title{gtkBoxGetHomogeneous} \description{Returns whether the box is homogeneous (all children are the same size). See \code{\link{gtkBoxSetHomogeneous}}.} \usage{gtkBoxGetHomogeneous(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBox}}}} \value{[logical] \code{TRUE} if the box is homogeneous.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetModel.Rd0000644000176000001440000000110512362217677016175 0ustar ripleyusers\alias{gtkIconViewSetModel} \name{gtkIconViewSetModel} \title{gtkIconViewSetModel} \description{Sets the model for a \code{\link{GtkIconView}}. If the \code{icon.view} already has a model set, it will remove it before setting the new model. If \code{model} is \code{NULL}, then it will unset the old model.} \usage{gtkIconViewSetModel(object, model = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{model}}{The model. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSelectFile.Rd0000644000176000001440000000150712362217677017165 0ustar ripleyusers\alias{gtkFileChooserSelectFile} \name{gtkFileChooserSelectFile} \title{gtkFileChooserSelectFile} \description{Selects the file referred to by \code{file}. An internal function. See \code{\link{gtkFileChooserSelectUri}}.} \usage{gtkFileChooserSelectFile(object, file, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{file}}{the file to select} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if both the folder could be changed and the path was selected successfully, \code{FALSE} otherwise.} \item{\verb{error}}{location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetRowSpacing.Rd0000644000176000001440000000061412362217677017201 0ustar ripleyusers\alias{gtkIconViewGetRowSpacing} \name{gtkIconViewGetRowSpacing} \title{gtkIconViewGetRowSpacing} \description{Returns the value of the ::row-spacing property.} \usage{gtkIconViewGetRowSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the space between rows} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufRenderToDrawable.Rd0000644000176000001440000000402012362217677017336 0ustar ripleyusers\alias{gdkPixbufRenderToDrawable} \name{gdkPixbufRenderToDrawable} \title{gdkPixbufRenderToDrawable} \description{ Renders a rectangular portion of a pixbuf to a drawable while using the specified GC. This is done using GdkRGB, so the specified drawable must have the GdkRGB visual and colormap. Note that this function will ignore the opacity information for images with an alpha channel; the GC must already have the clipping mask set if you want transparent regions to show through. \strong{WARNING: \code{gdk_pixbuf_render_to_drawable} has been deprecated since version 2.4 and should not be used in newly-written code. This function is obsolete. Use \code{\link{gdkDrawPixbuf}} instead.} } \usage{gdkPixbufRenderToDrawable(object, drawable, gc, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)} \arguments{ \item{\verb{object}}{A pixbuf.} \item{\verb{drawable}}{Destination drawable.} \item{\verb{gc}}{GC used for rendering.} \item{\verb{src.x}}{Source X coordinate within pixbuf.} \item{\verb{src.y}}{Source Y coordinate within pixbuf.} \item{\verb{dest.x}}{Destination X coordinate within drawable.} \item{\verb{dest.y}}{Destination Y coordinate within drawable.} \item{\verb{width}}{Width of region to render, in pixels, or -1 to use pixbuf width} \item{\verb{height}}{Height of region to render, in pixels, or -1 to use pixbuf height} \item{\verb{dither}}{Dithering mode for GdkRGB.} \item{\verb{x.dither}}{X offset for dither.} \item{\verb{y.dither}}{Y offset for dither.} } \details{For an explanation of dither offsets, see the GdkRGB documentation. In brief, the dither offset is important when re-rendering partial regions of an image to a rendered version of the full image, or for when the offsets to a base position change, as in scrolling. The dither matrix has to be shifted for consistent visual results. If you do not have any of these cases, the dither offsets can be both zero.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetRemoveState.Rd0000644000176000001440000000101712362217677016724 0ustar ripleyusers\alias{atkStateSetRemoveState} \name{atkStateSetRemoveState} \title{atkStateSetRemoveState} \description{Removes the state for the specified type from the state set.} \usage{atkStateSetRemoveState(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{type}}{[\code{\link{AtkStateType}}] an \verb{AtkType}} } \value{[logical] \code{TRUE} if \code{type} was the state type is in \code{set}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRulerGetMetric.Rd0000644000176000001440000000064612362217677015723 0ustar ripleyusers\alias{gtkRulerGetMetric} \name{gtkRulerGetMetric} \title{gtkRulerGetMetric} \description{Gets the units used for a \code{\link{GtkRuler}}. See \code{\link{gtkRulerSetMetric}}.} \usage{gtkRulerGetMetric(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRuler}}}} \value{[\code{\link{GtkMetricType}}] the units currently used for \code{ruler}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbGetColormap.Rd0000644000176000001440000000105712362217677015652 0ustar ripleyusers\alias{gdkRgbGetColormap} \name{gdkRgbGetColormap} \title{gdkRgbGetColormap} \description{Get the preferred colormap for rendering image data. Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function.} \usage{gdkRgbGetColormap()} \value{[\code{\link{GdkColormap}}] the preferred colormap. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextLoadFont.Rd0000644000176000001440000000114712362217677016415 0ustar ripleyusers\alias{pangoContextLoadFont} \name{pangoContextLoadFont} \title{pangoContextLoadFont} \description{Loads the font in one of the fontmaps in the context that is the closest match for \code{desc}.} \usage{pangoContextLoadFont(object, desc)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} describing the font to load} } \value{[\code{\link{PangoFont}}] the font loaded, or \code{NULL} if no font matched.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoSchedulerCancelAllJobs.Rd0000644000176000001440000000055612362217677017252 0ustar ripleyusers\alias{gIoSchedulerCancelAllJobs} \name{gIoSchedulerCancelAllJobs} \title{gIoSchedulerCancelAllJobs} \description{Cancels all cancellable I/O jobs. } \usage{gIoSchedulerCancelAllJobs()} \details{A job is cancellable if a \code{\link{GCancellable}} was passed into \code{gIoSchedulerPushJob()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetWrap.Rd0000644000176000001440000000077112362217677016424 0ustar ripleyusers\alias{gtkSpinButtonGetWrap} \name{gtkSpinButtonGetWrap} \title{gtkSpinButtonGetWrap} \description{Returns whether the spin button's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. See \code{\link{gtkSpinButtonSetWrap}}.} \usage{gtkSpinButtonGetWrap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[logical] \code{TRUE} if the spin button wraps around} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamCloseAsync.Rd0000644000176000001440000000213012362217677017115 0ustar ripleyusers\alias{gOutputStreamCloseAsync} \name{gOutputStreamCloseAsync} \title{gOutputStreamCloseAsync} \description{Requests an asynchronous close of the stream, releasing resources related to it. When the operation is finished \code{callback} will be called. You can then call \code{\link{gOutputStreamCloseFinish}} to get the result of the operation.} \usage{gOutputStreamCloseAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GOutputStream}}.} \item{\verb{io.priority}}{the io priority of the request.} \item{\verb{cancellable}}{optional cancellable object} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For behaviour details see \code{\link{gOutputStreamClose}}. The asyncronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetHoverSelection.Rd0000644000176000001440000000117112362217677020100 0ustar ripleyusers\alias{gtkTreeViewSetHoverSelection} \name{gtkTreeViewSetHoverSelection} \title{gtkTreeViewSetHoverSelection} \description{Enables of disables the hover selection mode of \code{tree.view}. Hover selection makes the selected row follow the pointer. Currently, this works only for the selection modes \code{GTK_SELECTION_SINGLE} and \code{GTK_SELECTION_BROWSE}.} \usage{gtkTreeViewSetHoverSelection(object, hover)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{hover}}{\code{TRUE} to enable hover selection mode} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckButtonNew.Rd0000644000176000001440000000046212362217677015705 0ustar ripleyusers\alias{gtkCheckButtonNew} \name{gtkCheckButtonNew} \title{gtkCheckButtonNew} \description{Creates a new \code{\link{GtkCheckButton}}.} \usage{gtkCheckButtonNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeObject.Rd0000644000176000001440000000116212362217677017627 0ustar ripleyusers\alias{gFileInfoGetAttributeObject} \name{gFileInfoGetAttributeObject} \title{gFileInfoGetAttributeObject} \description{Gets the value of a \code{\link{GObject}} attribute. If the attribute does not contain a \code{\link{GObject}}, \code{NULL} will be returned.} \usage{gFileInfoGetAttributeObject(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[\code{\link{GObject}}] a \code{\link{GObject}} associated with the given \code{attribute}, or \code{NULL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterSetVisibleColumn.Rd0000644000176000001440000000130712362217677021217 0ustar ripleyusers\alias{gtkTreeModelFilterSetVisibleColumn} \name{gtkTreeModelFilterSetVisibleColumn} \title{gtkTreeModelFilterSetVisibleColumn} \description{Sets \code{column} of the child_model to be the column where \code{filter} should look for visibility information. \code{columns} should be a column of type \code{G_TYPE_BOOLEAN}, where \code{TRUE} means that a row is visible, and \code{FALSE} if not.} \usage{gtkTreeModelFilterSetVisibleColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{column}}{A \verb{integer} which is the column containing the visible information.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetRootCoords.Rd0000644000176000001440000000112512362217677016536 0ustar ripleyusers\alias{gdkEventGetRootCoords} \name{gdkEventGetRootCoords} \title{gdkEventGetRootCoords} \description{Extract the root window relative x/y coordinates from an event.} \usage{gdkEventGetRootCoords(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the event delivered root window coordinates} \item{\verb{x.root}}{location to put root window x coordinate} \item{\verb{y.root}}{location to put root window y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetDefaultFiles.Rd0000644000176000001440000000062212362217677016314 0ustar ripleyusers\alias{gtkRcGetDefaultFiles} \name{gtkRcGetDefaultFiles} \title{gtkRcGetDefaultFiles} \description{Retrieves the current list of RC files that will be parsed at the end of \code{\link{gtkInit}}.} \usage{gtkRcGetDefaultFiles()} \value{[character] A list of filenames. If you want to store this information, you should make a copy.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestSetProxy.Rd0000644000176000001440000000130612362217677016233 0ustar ripleyusers\alias{gtkDragDestSetProxy} \name{gtkDragDestSetProxy} \title{gtkDragDestSetProxy} \description{Sets this widget as a proxy for drops to another window.} \usage{gtkDragDestSetProxy(object, proxy.window, protocol, use.coordinates)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{proxy.window}}{the window to which to forward drag events} \item{\verb{protocol}}{the drag protocol which the \code{proxy.window} accepts (You can use \code{\link{gdkDragGetProtocol}} to determine this)} \item{\verb{use.coordinates}}{If \code{TRUE}, send the same coordinates to the destination, because it is an embedded subwindow.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetOrientation.Rd0000644000176000001440000000116012362217677017310 0ustar ripleyusers\alias{gtkToolbarSetOrientation} \name{gtkToolbarSetOrientation} \title{gtkToolbarSetOrientation} \description{ Sets whether a toolbar should appear horizontally or vertically. \strong{WARNING: \code{gtk_toolbar_set_orientation} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkOrientableSetOrientation}} instead.} } \usage{gtkToolbarSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{orientation}}{a new \code{\link{GtkOrientation}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateTypeForName.Rd0000644000176000001440000000072012362217677016203 0ustar ripleyusers\alias{atkStateTypeForName} \name{atkStateTypeForName} \title{atkStateTypeForName} \description{Gets the \code{\link{AtkStateType}} corresponding to the description string \code{name}.} \usage{atkStateTypeForName(name)} \arguments{\item{\verb{name}}{[character] a character string state name}} \value{[\code{\link{AtkStateType}}] an \code{\link{AtkStateType}} corresponding to \code{name} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetHasWindow.Rd0000644000176000001440000000175512362217677016553 0ustar ripleyusers\alias{gtkWidgetSetHasWindow} \name{gtkWidgetSetHasWindow} \title{gtkWidgetSetHasWindow} \description{Specifies whether \code{widget} has a \code{\link{GdkWindow}} of its own. Note that all realized widgets have a non-\code{NULL} "window" pointer (\code{\link{gtkWidgetGetWindow}} never returns a \code{NULL} window when a widget is realized), but for many of them it's actually the \code{\link{GdkWindow}} of one of its parent widgets. Widgets that create a \code{window} for themselves in GtkWidget::\code{realize()} however must announce this by calling this function with \code{has.window} = \code{TRUE}.} \usage{gtkWidgetSetHasWindow(object, has.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{has.window}}{whether or not \code{widget} has a window.} } \details{This function should only be called by widget implementations, and they should call it in their \code{init()} function. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetRangeExtents.Rd0000644000176000001440000000175112362217677016732 0ustar ripleyusers\alias{atkTextGetRangeExtents} \name{atkTextGetRangeExtents} \title{atkTextGetRangeExtents} \description{Get the bounding box for text within the specified range.} \usage{atkTextGetRangeExtents(object, start.offset, end.offset, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{start.offset}}{[integer] The offset of the first text character for which boundary information is required.} \item{\verb{end.offset}}{[integer] The offset of the text character after the last character for which boundary information is required.} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] Specify whether coordinates are relative to the screen or widget window.} } \details{ Since 1.3} \value{ A list containing the following elements: \item{\verb{rect}}{[\code{\link{AtkTextRectangle}}] A pointer to a AtkTextRectangle which is filled in by this function.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferAddMark.Rd0000644000176000001440000000122212362217677016317 0ustar ripleyusers\alias{gtkTextBufferAddMark} \name{gtkTextBufferAddMark} \title{gtkTextBufferAddMark} \description{Adds the mark at position \code{where}. The mark must not be added to another buffer, and if its name is not \code{NULL} then there must not be another mark in the buffer with the same name.} \usage{gtkTextBufferAddMark(object, mark, where)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mark}}{the mark to add} \item{\verb{where}}{location to place mark} } \details{Emits the "mark-set" signal as notification of the mark's initial placement. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetRealize.Rd0000644000176000001440000000225212362217677015560 0ustar ripleyusers\alias{gtkWidgetRealize} \name{gtkWidgetRealize} \title{gtkWidgetRealize} \description{Creates the GDK (windowing system) resources associated with a widget. For example, \code{widget->window} will be created when a widget is realized. Normally realization happens implicitly; if you show a widget and all its parent containers, then the widget will be realized and mapped automatically.} \usage{gtkWidgetRealize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Realizing a widget requires all the widget's parent widgets to be realized; calling \code{\link{gtkWidgetRealize}} realizes the widget's parents in addition to \code{widget} itself. If a widget is not yet inside a toplevel window when you realize it, bad things will happen. This function is primarily used in widget implementations, and isn't very useful otherwise. Many times when you think you might need it, a better approach is to connect to a signal that will be called after the widget is realized automatically, such as GtkWidget::expose-event. Or simply \code{\link{gSignalConnect}} to the GtkWidget::realize signal.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetDescription.Rd0000644000176000001440000000071212362217677017064 0ustar ripleyusers\alias{atkObjectGetDescription} \name{atkObjectGetDescription} \title{atkObjectGetDescription} \description{Gets the accessible description of the accessible.} \usage{atkObjectGetDescription(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[character] a character string representing the accessible description of the accessible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogNew.Rd0000644000176000001440000000063612362217677014676 0ustar ripleyusers\alias{gtkDialogNew} \name{gtkDialogNew} \title{gtkDialogNew} \description{Creates a new dialog box. Widgets should not be packed into this \code{\link{GtkWindow}} directly, but into the \code{vbox} and \code{action.area}, as described above.} \usage{gtkDialogNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkDialog}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCGetScreen.Rd0000644000176000001440000000062312362217677015072 0ustar ripleyusers\alias{gdkGCGetScreen} \name{gdkGCGetScreen} \title{gdkGCGetScreen} \description{Gets the \code{\link{GdkScreen}} for which \code{gc} was created} \usage{gdkGCGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkGC}}.}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the \code{\link{GdkScreen}} for \code{gc}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferUnregisterSerializeFormat.Rd0000644000176000001440000000121412362217677022165 0ustar ripleyusers\alias{gtkTextBufferUnregisterSerializeFormat} \name{gtkTextBufferUnregisterSerializeFormat} \title{gtkTextBufferUnregisterSerializeFormat} \description{This function unregisters a rich text format that was previously registered using \code{\link{gtkTextBufferRegisterSerializeFormat}} or \code{\link{gtkTextBufferRegisterSerializeTagset}}} \usage{gtkTextBufferUnregisterSerializeFormat(object, format)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{format}}{a \code{\link{GdkAtom}} representing a registered rich text format.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetSingleParagraphMode.Rd0000644000176000001440000000125512362217677021070 0ustar ripleyusers\alias{pangoLayoutSetSingleParagraphMode} \name{pangoLayoutSetSingleParagraphMode} \title{pangoLayoutSetSingleParagraphMode} \description{If \code{setting} is \code{TRUE}, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line.} \usage{pangoLayoutSetSingleParagraphMode(object, setting)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{setting}}{[logical] new setting} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderSetUseMarkup.Rd0000644000176000001440000000101312362217677017072 0ustar ripleyusers\alias{gtkExpanderSetUseMarkup} \name{gtkExpanderSetUseMarkup} \title{gtkExpanderSetUseMarkup} \description{Sets whether the text of the label contains markup in Pango's text markup language. See \code{\link{gtkLabelSetMarkup}}.} \usage{gtkExpanderSetUseMarkup(object, use.markup)} \arguments{ \item{\verb{object}}{a \code{\link{GtkExpander}}} \item{\verb{use.markup}}{\code{TRUE} if the label's text should be parsed for markup} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetUseFullPage.Rd0000644000176000001440000000151412362217677020547 0ustar ripleyusers\alias{gtkPrintOperationSetUseFullPage} \name{gtkPrintOperationSetUseFullPage} \title{gtkPrintOperationSetUseFullPage} \description{If \code{full.page} is \code{TRUE}, the transformation for the cairo context obtained from \code{\link{GtkPrintContext}} puts the origin at the top left corner of the page (which may not be the top left corner of the sheet, depending on page orientation and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins).} \usage{gtkPrintOperationSetUseFullPage(object, full.page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{full.page}}{\code{TRUE} to set up the \code{\link{GtkPrintContext}} for the full page} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreInsert.Rd0000644000176000001440000000211012362217677016113 0ustar ripleyusers\alias{gtkTreeStoreInsert} \name{gtkTreeStoreInsert} \title{gtkTreeStoreInsert} \description{Creates a new row at \code{position}. If parent is non-\code{NULL}, then the row will be made a child of \code{parent}. Otherwise, the row will be created at the toplevel. If \code{position} is larger than the number of rows at that level, then the new row will be inserted to the end of the list. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkTreeStoreSet}} or \code{\link{gtkTreeStoreSetValue}}.} \usage{gtkTreeStoreInsert(object, parent = NULL, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{position to insert the new row} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the new row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetScreen.Rd0000644000176000001440000000066512362217677016052 0ustar ripleyusers\alias{gdkVisualGetScreen} \name{gdkVisualGetScreen} \title{gdkVisualGetScreen} \description{Gets the screen to which this visual belongs} \usage{gdkVisualGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkVisual}}}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the screen to which this visual belongs. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGet.Rd0000644000176000001440000000122212362217677014477 0ustar ripleyusers\alias{gtkImageGet} \name{gtkImageGet} \title{gtkImageGet} \description{ Gets the \code{\link{GtkImage}}. \strong{WARNING: \code{gtk_image_get} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkImageGetImage}} instead.} } \usage{gtkImageGet(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{ A list containing the following elements: \item{\verb{val}}{return location for a \code{\link{GdkImage}}} \item{\verb{mask}}{a \code{\link{GdkBitmap}} that indicates which parts of the image should be transparent.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufRenderThresholdAlpha.Rd0000644000176000001440000000206212362217677020220 0ustar ripleyusers\alias{gdkPixbufRenderThresholdAlpha} \name{gdkPixbufRenderThresholdAlpha} \title{gdkPixbufRenderThresholdAlpha} \description{Takes the opacity values in a rectangular portion of a pixbuf and thresholds them to produce a bi-level alpha mask that can be used as a clipping mask for a drawable.} \usage{gdkPixbufRenderThresholdAlpha(object, bitmap, src.x, src.y, dest.x, dest.y, width = -1, height = -1, alpha.threshold)} \arguments{ \item{\verb{object}}{A pixbuf.} \item{\verb{bitmap}}{Bitmap where the bilevel mask will be painted to.} \item{\verb{src.x}}{Source X coordinate.} \item{\verb{src.y}}{source Y coordinate.} \item{\verb{dest.x}}{Destination X coordinate.} \item{\verb{dest.y}}{Destination Y coordinate.} \item{\verb{width}}{Width of region to threshold, or -1 to use pixbuf width} \item{\verb{height}}{Height of region to threshold, or -1 to use pixbuf height} \item{\verb{alpha.threshold}}{Opacity values below this will be painted as zero; all other values will be painted as one.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetCoords.Rd0000644000176000001440000000110712362217677015672 0ustar ripleyusers\alias{gdkEventGetCoords} \name{gdkEventGetCoords} \title{gdkEventGetCoords} \description{Extract the event window relative x/y coordinates from an event.} \usage{gdkEventGetCoords(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the event delivered event window coordinates} \item{\verb{x.win}}{location to put event window x coordinate} \item{\verb{y.win}}{location to put event window y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetPointer.Rd0000644000176000001440000000163412362217677016250 0ustar ripleyusers\alias{gtkWidgetGetPointer} \name{gtkWidgetGetPointer} \title{gtkWidgetGetPointer} \description{Obtains the location of the mouse pointer in widget coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as \code{widget->window} coordinates for widgets that are not \verb{GTK_NO_WINDOW} widgets, and are relative to \code{widget->allocation.x}, \code{widget->allocation.y} for widgets that are \verb{GTK_NO_WINDOW} widgets.} \usage{gtkWidgetGetPointer(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{ A list containing the following elements: \item{\verb{x}}{return location for the X coordinate, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{y}}{return location for the Y coordinate, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonSetUseFont.Rd0000644000176000001440000000075312362217677017107 0ustar ripleyusers\alias{gtkFontButtonSetUseFont} \name{gtkFontButtonSetUseFont} \title{gtkFontButtonSetUseFont} \description{If \code{use.font} is \code{TRUE}, the font name will be written using the selected font.} \usage{gtkFontButtonSetUseFont(object, use.font)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontButton}}} \item{\verb{use.font}}{If \code{TRUE}, font name will be written using font chosen.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/coercion.Rd0000644000176000001440000000222711766145227014114 0ustar ripleyusers\alias{as.AtkAttribute} \alias{as.AtkAttributeSet} \alias{as.AtkTextRectangle} \alias{as.GClosure} \alias{as.GList} \alias{as.GQuark} \alias{as.GSList} \alias{as.GString} \alias{as.GTimeVal} \alias{as.GType} \alias{as.GdkAtom} \alias{as.GdkColor} \alias{as.GdkGCValues} \alias{as.GdkGeometry} \alias{as.GdkKeymapKey} \alias{as.GdkNativeWindow} \alias{as.GdkPoint} \alias{as.GdkRectangle} \alias{as.GdkRgbCmap} \alias{as.GdkSegment} \alias{as.GdkSpan} \alias{as.GdkWindowAttr} \alias{as.GtkActionEntry} \alias{as.GtkAllocation} \alias{as.GtkFileFilterInfo} \alias{as.GtkItemFactoryEntry} \alias{as.GtkRadioActionEntry} \alias{as.GtkSettingsValue} \alias{as.GtkStockItem} \alias{as.GtkTargetEntry} \alias{as.GtkToggleActionEntry} \alias{as.PangoRectangle} \alias{as.GError} \alias{as.GtkPageRange} \alias{as.GtkRecentData} \alias{as.GtkRecentFilterInfo} \alias{as.AtkRectangle} \alias{as.CairoGlyph} \alias{as.GdkTrapezoid} \alias{as.CairoPath} \alias{as.CairoTextCluster} \name{coercion} \title{Coercion of R lists to C structures} \description{This function coerces an R list to the named C type. This helps form the basis of the transparent type system.} \keyword{internal} RGtk2/man/gBufferedInputStreamSetBufferSize.Rd0000644000176000001440000000106112362217677021036 0ustar ripleyusers\alias{gBufferedInputStreamSetBufferSize} \name{gBufferedInputStreamSetBufferSize} \title{gBufferedInputStreamSetBufferSize} \description{Sets the size of the internal buffer of \code{stream} to \code{size}, or to the size of the contents of the buffer. The buffer can never be resized smaller than its current contents.} \usage{gBufferedInputStreamSetBufferSize(object, size)} \arguments{ \item{\verb{object}}{\code{\link{GBufferedInputStream}}.} \item{\verb{size}}{a \verb{numeric}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Properties-and-Atoms.Rd0000644000176000001440000000510612362217677017034 0ustar ripleyusers\alias{gdk-Properties-and-Atoms} \alias{GdkAtom} \alias{GdkPropMode} \name{gdk-Properties-and-Atoms} \title{Properties and Atoms} \description{Functions to manipulate properties on windows} \section{Methods and Functions}{ \code{\link{gdkAtomIntern}(atom.name, only.if.exists = FALSE)}\cr \code{\link{gdkAtomInternStaticString}(atom.name)}\cr \code{\link{gdkAtomName}(atom)}\cr \code{\link{gdkPropertyGet}(object, property, type, offset, length, pdelete)}\cr \code{\link{gdkPropertyChange}(object, property, type, format, mode, data)}\cr \code{\link{gdkPropertyDelete}(object, property)}\cr } \section{Detailed Description}{Each window under X can have any number of associated \dfn{properties} attached to it. Properties are arbitrary chunks of data identified by \dfn{atom}s. (An \dfn{atom} is a numeric index into a string table on the X server. They are used to transfer strings efficiently between clients without having to transfer the entire string.) A property has an associated type, which is also identified using an atom. A property has an associated \dfn{format}, an integer describing how many bits are in each unit of data inside the property. It must be 8, 16, or 32. When data is transferred between the server and client, if they are of different endianesses it will be byteswapped as necessary according to the format of the property. Note that on the client side, properties of format 32 will be stored with one unit per \emph{long}, even if a long integer has more than 32 bits on the platform. (This decision was apparently made for Xlib to maintain compatibility with programs that assumed longs were 32 bits, at the expense of programs that knew better.) The functions in this section are used to add, remove and change properties on windows, to convert atoms to and from strings and to manipulate some types of data commonly stored in X window properties.} \section{Structures}{\describe{\item{\verb{GdkAtom}}{ An opaque type representing a string as an index into a table of strings on the X server. \strong{\verb{GdkAtom} is a \link{transparent-type}.} }}} \section{Enums and Flags}{\describe{\item{\verb{GdkPropMode}}{ Describes how existing data is combined with new data when using \code{\link{gdkPropertyChange}}. \describe{ \item{\verb{replace}}{the new data replaces the existing data.} \item{\verb{prepend}}{the new data is prepended to the existing data.} \item{\verb{append}}{the new data is appended to the existing data.} } }}} \references{\url{http://library.gnome.org/devel//gdk/gdk-Properties-and-Atoms.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationGetIter.Rd0000644000176000001440000000411112362217677017356 0ustar ripleyusers\alias{gdkPixbufAnimationGetIter} \name{gdkPixbufAnimationGetIter} \title{gdkPixbufAnimationGetIter} \description{Get an iterator for displaying an animation. The iterator provides the frames that should be displayed at a given time.} \usage{gdkPixbufAnimationGetIter(object, start.time)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbufAnimation}}} \item{\verb{start.time}}{time when the animation starts playing} } \details{\code{start.time} would normally come from \code{gGetCurrentTime()}, and marks the beginning of animation playback. After creating an iterator, you should immediately display the pixbuf returned by \code{\link{gdkPixbufAnimationIterGetPixbuf}}. Then, you should install a timeout (with \code{\link{gTimeoutAdd}}) or by some other mechanism ensure that you'll update the image after \code{\link{gdkPixbufAnimationIterGetDelayTime}} milliseconds. Each time the image is updated, you should reinstall the timeout with the new, possibly-changed delay time. As a shortcut, if \code{start.time} is \code{NULL}, the result of \code{gGetCurrentTime()} will be used automatically. To update the image (i.e. possibly change the result of \code{\link{gdkPixbufAnimationIterGetPixbuf}} to a new frame of the animation), call \code{\link{gdkPixbufAnimationIterAdvance}}. If you're using \code{\link{GdkPixbufLoader}}, in addition to updating the image after the delay time, you should also update it whenever you receive the area_updated signal and \code{\link{gdkPixbufAnimationIterOnCurrentlyLoadingFrame}} returns \code{TRUE}. In this case, the frame currently being fed into the loader has received new data, so needs to be refreshed. The delay time for a frame may also be modified after an area_updated signal, for example if the delay time for a frame is encoded in the data after the frame itself. So your timeout should be reinstalled after any area_updated signal. A delay time of -1 is possible, indicating "infinite."} \value{[\code{\link{GdkPixbufAnimationIter}}] an iterator to move over the animation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetFixedHeightMode.Rd0000644000176000001440000000072512362217677020134 0ustar ripleyusers\alias{gtkTreeViewGetFixedHeightMode} \name{gtkTreeViewGetFixedHeightMode} \title{gtkTreeViewGetFixedHeightMode} \description{Returns whether fixed height mode is turned on for \code{tree.view}.} \usage{gtkTreeViewGetFixedHeightMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.6} \value{[logical] \code{TRUE} if \code{tree.view} is in fixed height mode} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHandleBoxSetShadowType.Rd0000644000176000001440000000063112362217677017350 0ustar ripleyusers\alias{gtkHandleBoxSetShadowType} \name{gtkHandleBoxSetShadowType} \title{gtkHandleBoxSetShadowType} \description{Sets the type of shadow to be drawn around the border of the handle box.} \usage{gtkHandleBoxSetShadowType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkHandleBox}}} \item{\verb{type}}{the shadow type.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamHasPending.Rd0000644000176000001440000000057312362217677016702 0ustar ripleyusers\alias{gInputStreamHasPending} \name{gInputStreamHasPending} \title{gInputStreamHasPending} \description{Checks if an input stream has pending actions.} \usage{gInputStreamHasPending(object)} \arguments{\item{\verb{object}}{input stream.}} \value{[logical] \code{TRUE} if \code{stream} has pending actions.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetItemPosition.Rd0000644000176000001440000000106312362217677020575 0ustar ripleyusers\alias{gtkToolItemGroupGetItemPosition} \name{gtkToolItemGroupGetItemPosition} \title{gtkToolItemGroupGetItemPosition} \description{Gets the position of \code{item} in \code{group} as index.} \usage{gtkToolItemGroupGetItemPosition(object, item)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{item}}{a \code{\link{GtkToolItem}}} } \details{Since 2.20} \value{[integer] the index of \code{item} in \code{group} or -1 if \code{item} is no child of \code{group}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetRowData.Rd0000644000176000001440000000113412362217677015773 0ustar ripleyusers\alias{gtkCListSetRowData} \name{gtkCListSetRowData} \title{gtkCListSetRowData} \description{ Sets data for the specified row. This is the same as calling gtk_clist_set_row_data_full(clist, row, data, NULL). \strong{WARNING: \code{gtk_clist_set_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetRowData(object, row, data = NULL)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{data}}{The data to set for the row.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferCreateMark.Rd0000644000176000001440000000265012362217677017040 0ustar ripleyusers\alias{gtkTextBufferCreateMark} \name{gtkTextBufferCreateMark} \title{gtkTextBufferCreateMark} \description{Creates a mark at position \code{where}. If \code{mark.name} is \code{NULL}, the mark is anonymous; otherwise, the mark can be retrieved by name using \code{\link{gtkTextBufferGetMark}}. If a mark has left gravity, and text is inserted at the mark's current location, the mark will be moved to the left of the newly-inserted text. If the mark has right gravity (\code{left.gravity} = \code{FALSE}), the mark will end up on the right of newly-inserted text. The standard left-to-right cursor is a mark with right gravity (when you type, the cursor stays on the right side of the text you're typing).} \usage{gtkTextBufferCreateMark(object, mark.name = NULL, where, left.gravity = FALSE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mark.name}}{name for mark, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{where}}{location to place mark} \item{\verb{left.gravity}}{whether the mark has left gravity} } \details{The caller of this function does \emph{not} own a reference to the returned \code{\link{GtkTextMark}}, so you can ignore the return value if you like. Emits the "mark-set" signal as notification of the mark's initial placement.} \value{[\code{\link{GtkTextMark}}] the new \code{\link{GtkTextMark}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSelectFilename.Rd0000644000176000001440000000127211766145227020023 0ustar ripleyusers\alias{gtkFileChooserSelectFilename} \name{gtkFileChooserSelectFilename} \title{gtkFileChooserSelectFilename} \description{Selects a filename. If the file name isn't in the current folder of \code{chooser}, then the current folder of \code{chooser} will be changed to the folder containing \code{filename}.} \usage{gtkFileChooserSelectFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filename}}{the filename to select} } \details{Since 2.4} \value{[logical] \code{TRUE} if both the folder could be changed and the file was selected successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathCopy.Rd0000644000176000001440000000060212362217677015365 0ustar ripleyusers\alias{gtkTreePathCopy} \name{gtkTreePathCopy} \title{gtkTreePathCopy} \description{Creates a new \code{\link{GtkTreePath}} as a copy of \code{path}.} \usage{gtkTreePathCopy(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \value{[\code{\link{GtkTreePath}}] A new \code{\link{GtkTreePath}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsEqual.Rd0000644000176000001440000000116412362217677016604 0ustar ripleyusers\alias{cairoFontOptionsEqual} \name{cairoFontOptionsEqual} \title{cairoFontOptionsEqual} \description{Compares two font options objects for equality.} \usage{cairoFontOptionsEqual(options, other)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{other}}{[\code{\link{CairoFontOptions}}] another \code{\link{CairoFontOptions}}} } \value{[logical] \code{TRUE} if all fields of the two font options objects match. Note that this function will return \code{FALSE} if either object is in error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewGetCmap.Rd0000644000176000001440000000075412362217677015710 0ustar ripleyusers\alias{gtkPreviewGetCmap} \name{gtkPreviewGetCmap} \title{gtkPreviewGetCmap} \description{ Returns the colormap used by preview widgets. This function is deprecated, and you should use \code{\link{gdkRgbGetCmap}} instead. \strong{WARNING: \code{gtk_preview_get_cmap} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewGetCmap()} \value{[\code{\link{GdkColormap}}] the colormap for previews.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetCursorOnCell.Rd0000644000176000001440000000322212362217677017520 0ustar ripleyusers\alias{gtkTreeViewSetCursorOnCell} \name{gtkTreeViewSetCursorOnCell} \title{gtkTreeViewSetCursorOnCell} \description{Sets the current keyboard focus to be at \code{path}, and selects it. This is useful when you want to focus the user's attention on a particular row. If \code{focus.column} is not \code{NULL}, then focus is given to the column specified by it. If \code{focus.column} and \code{focus.cell} are not \code{NULL}, and \code{focus.column} contains 2 or more editable or activatable cells, then focus is given to the cell specified by \code{focus.cell}. Additionally, if \code{focus.column} is specified, and \code{start.editing} is \code{TRUE}, then editing should be started in the specified cell. This function is often followed by \code{gtk.widget.grab.focus} (\code{tree.view}) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.} \usage{gtkTreeViewSetCursorOnCell(object, path, focus.column = NULL, focus.cell = NULL, start.editing = FALSE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{path}}{A \code{\link{GtkTreePath}}} \item{\verb{focus.column}}{A \code{\link{GtkTreeViewColumn}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{focus.cell}}{A \code{\link{GtkCellRenderer}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{start.editing}}{\code{TRUE} if the specified cell should start being edited.} } \details{If \code{path} is invalid for \code{model}, the current cursor (if any) will be unset and the function will return without failing. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamCloseFinish.Rd0000644000176000001440000000131712362217677017266 0ustar ripleyusers\alias{gOutputStreamCloseFinish} \name{gOutputStreamCloseFinish} \title{gOutputStreamCloseFinish} \description{Closes an output stream.} \usage{gOutputStreamCloseFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if stream was successfully closed, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetText.Rd0000644000176000001440000000122612362217677016076 0ustar ripleyusers\alias{gtkTextIterGetText} \name{gtkTextIterGetText} \title{gtkTextIterGetText} \description{Returns \emph{text} in the given range. If the range contains non-text elements such as images, the character and byte offsets in the returned string will not correspond to character and byte offsets in the buffer. If you want offsets to correspond, see \code{\link{gtkTextIterGetSlice}}.} \usage{gtkTextIterGetText(object, end)} \arguments{ \item{\verb{object}}{iterator at start of a range} \item{\verb{end}}{iterator at end of a range} } \value{[character] array of characters from the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetFontFace.Rd0000644000176000001440000000115712362217677015475 0ustar ripleyusers\alias{cairoSetFontFace} \name{cairoSetFontFace} \title{cairoSetFontFace} \description{Replaces the current \code{\link{CairoFontFace}} object in the \code{\link{Cairo}} with \code{font.face}. The replaced font face in the \code{\link{Cairo}} will be destroyed if there are no other references to it.} \usage{cairoSetFontFace(cr, font.face)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a \code{\link{CairoFontFace}}, or \code{NULL} to restore to the default font} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFixedMove.Rd0000644000176000001440000000075512362217677014715 0ustar ripleyusers\alias{gtkFixedMove} \name{gtkFixedMove} \title{gtkFixedMove} \description{Moves a child of a \code{\link{GtkFixed}} container to the given position.} \usage{gtkFixedMove(object, widget, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFixed}}.} \item{\verb{widget}}{the child widget.} \item{\verb{x}}{the horizontal position to move the widget to.} \item{\verb{y}}{the vertical position to move the widget to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountUnmountFinish.Rd0000644000176000001440000000200112362217677016303 0ustar ripleyusers\alias{gMountUnmountFinish} \name{gMountUnmountFinish} \title{gMountUnmountFinish} \description{ Finishes unmounting a mount. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned. \strong{WARNING: \code{g_mount_unmount_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gMountUnmountWithOperationFinish}} instead.} } \usage{gMountUnmountFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the mount was successfully unmounted. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetEditable.Rd0000644000176000001440000000115512362217677016231 0ustar ripleyusers\alias{gtkEntrySetEditable} \name{gtkEntrySetEditable} \title{gtkEntrySetEditable} \description{ Determines if the user can edit the text in the editable widget or not. \strong{WARNING: \code{gtk_entry_set_editable} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEditableSetEditable}} instead.} } \usage{gtkEntrySetEditable(object, editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{editable}}{\code{TRUE} if the user is allowed to edit the text in the widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetSelectable.Rd0000644000176000001440000000066612362217677016507 0ustar ripleyusers\alias{gtkLabelSetSelectable} \name{gtkLabelSetSelectable} \title{gtkLabelSetSelectable} \description{Selectable labels allow the user to select text from the label, for copy-and-paste.} \usage{gtkLabelSetSelectable(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{setting}}{\code{TRUE} to allow selecting text in the label} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetMnemonicModifier.Rd0000644000176000001440000000067112362217677020114 0ustar ripleyusers\alias{gtkWindowSetMnemonicModifier} \name{gtkWindowSetMnemonicModifier} \title{gtkWindowSetMnemonicModifier} \description{Sets the mnemonic modifier for this window.} \usage{gtkWindowSetMnemonicModifier(object, modifier)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{modifier}}{the modifier mask used to activate mnemonics on this window.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetPageSetup.Rd0000644000176000001440000000077212362217677017745 0ustar ripleyusers\alias{gtkPrintContextGetPageSetup} \name{gtkPrintContextGetPageSetup} \title{gtkPrintContextGetPageSetup} \description{Obtains the \code{\link{GtkPageSetup}} that determines the page dimensions of the \code{\link{GtkPrintContext}}.} \usage{gtkPrintContextGetPageSetup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[\code{\link{GtkPageSetup}}] the page setup of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterOrder.Rd0000644000176000001440000000135212362217677015565 0ustar ripleyusers\alias{gtkTextIterOrder} \name{gtkTextIterOrder} \title{gtkTextIterOrder} \description{Swaps the value of \code{first} and \code{second} if \code{second} comes before \code{first} in the buffer. That is, ensures that \code{first} and \code{second} are in sequence. Most text buffer functions that take a range call this automatically on your behalf, so there's no real reason to call it yourself in those cases. There are some exceptions, such as \code{\link{gtkTextIterInRange}}, that expect a pre-sorted range.} \usage{gtkTextIterOrder(object, second)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{second}}{another \code{\link{GtkTextIter}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFilterOutputStream.Rd0000644000176000001440000000225112362217677016243 0ustar ripleyusers\alias{GFilterOutputStream} \name{GFilterOutputStream} \title{GFilterOutputStream} \description{Filter Output Stream} \section{Methods and Functions}{ \code{\link{gFilterOutputStreamGetBaseStream}(object)}\cr \code{\link{gFilterOutputStreamGetCloseBaseStream}(object)}\cr \code{\link{gFilterOutputStreamSetCloseBaseStream}(object, close.base)}\cr } \section{Hierarchy}{\preformatted{GObject +----GOutputStream +----GFilterOutputStream +----GBufferedOutputStream +----GDataOutputStream}} \section{Structures}{\describe{\item{\verb{GFilterOutputStream}}{ A base class for all output streams that work on an underlying stream. }}} \section{Properties}{\describe{ \item{\verb{base-stream} [\code{\link{GOutputStream}} : * : Read / Write / Construct Only]}{ The underlying base stream on which the io ops will be done. } \item{\verb{close-base-stream} [logical : Read / Write / Construct Only]}{ If the base stream should be closed when the filter stream is closed. Default value: TRUE } }} \references{\url{http://library.gnome.org/devel//gio/GFilterOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetChildVisible.Rd0000644000176000001440000000231612362217677017203 0ustar ripleyusers\alias{gtkWidgetSetChildVisible} \name{gtkWidgetSetChildVisible} \title{gtkWidgetSetChildVisible} \description{Sets whether \code{widget} should be mapped along with its when its parent is mapped and \code{widget} has been shown with \code{\link{gtkWidgetShow}}. } \usage{gtkWidgetSetChildVisible(object, is.visible)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{is.visible}}{if \code{TRUE}, \code{widget} should be mapped along with its parent.} } \details{The child visibility can be set for widget before it is added to a container with \code{\link{gtkWidgetSetParent}}, to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of \code{TRUE} when the widget is removed from a container. Note that changing the child visibility of a widget does not queue a resize on the widget. Most of the time, the size of a widget is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself. This function is only useful for container implementations and never should be called by an application.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowRemoveMnemonic.Rd0000644000176000001440000000066712362217677017144 0ustar ripleyusers\alias{gtkWindowRemoveMnemonic} \name{gtkWindowRemoveMnemonic} \title{gtkWindowRemoveMnemonic} \description{Removes a mnemonic from this window.} \usage{gtkWindowRemoveMnemonic(object, keyval, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{keyval}}{the mnemonic} \item{\verb{target}}{the widget that gets activated by the mnemonic} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardChar.Rd0000644000176000001440000000142212362217677016712 0ustar ripleyusers\alias{gtkTextIterForwardChar} \name{gtkTextIterForwardChar} \title{gtkTextIterForwardChar} \description{Moves \code{iter} forward by one character offset. Note that images embedded in the buffer occupy 1 character slot, so \code{\link{gtkTextIterForwardChar}} may actually move onto an image instead of a character, if you have images in your buffer. If \code{iter} is the end iterator or one character before it, \code{iter} will now point at the end iterator, and \code{\link{gtkTextIterForwardChar}} returns \code{FALSE} for convenience when writing loops.} \usage{gtkTextIterForwardChar(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetMinSliderSize.Rd0000644000176000001440000000074312362217677017176 0ustar ripleyusers\alias{gtkRangeSetMinSliderSize} \name{gtkRangeSetMinSliderSize} \title{gtkRangeSetMinSliderSize} \description{Sets the minimum size of the range's slider.} \usage{gtkRangeSetMinSliderSize(object, min.size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{min.size}}{The slider's minimum size} } \details{This function is useful mainly for \code{\link{GtkRange}} subclasses. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetText.Rd0000644000176000001440000000104212362217677016146 0ustar ripleyusers\alias{gtkCTreeNodeSetText} \name{gtkCTreeNodeSetText} \title{gtkCTreeNodeSetText} \description{ Set the text in a node. \strong{WARNING: \code{gtk_ctree_node_set_text} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetText(object, node, column, text)} \arguments{ \item{\verb{object}}{The column whose text to change.} \item{\verb{node}}{The new text.} \item{\verb{column}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryInputStreamAddData.Rd0000644000176000001440000000062312362217677017331 0ustar ripleyusers\alias{gMemoryInputStreamAddData} \name{gMemoryInputStreamAddData} \title{gMemoryInputStreamAddData} \description{Appends \code{data} to data that can be read from the input stream} \usage{gMemoryInputStreamAddData(object, data)} \arguments{ \item{\verb{object}}{a \code{\link{GMemoryInputStream}}} \item{\verb{data}}{input data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarSetEllipsize.Rd0000644000176000001440000000077112362217677017613 0ustar ripleyusers\alias{gtkProgressBarSetEllipsize} \name{gtkProgressBarSetEllipsize} \title{gtkProgressBarSetEllipsize} \description{Sets the mode used to ellipsize (add an ellipsis: "...") the text if there is not enough space to render the entire string.} \usage{gtkProgressBarSetEllipsize(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkProgressBar}}} \item{\verb{mode}}{a \code{\link{PangoEllipsizeMode}}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeIsViewable.Rd0000644000176000001440000000127012362217677015775 0ustar ripleyusers\alias{gtkCTreeIsViewable} \name{gtkCTreeIsViewable} \title{gtkCTreeIsViewable} \description{ This function checks whether the given node is viewable i.e. so that all of its parent nodes are expanded. This is different from being actually visible: the node can be viewable but outside the scrolling area of the window. \strong{WARNING: \code{gtk_ctree_is_viewable} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeIsViewable(object, node)} \arguments{ \item{\verb{object}}{Whether the node is viewable.} \item{\verb{node}}{\emph{undocumented }} } \value{[logical] Whether the node is viewable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetTypeHint.Rd0000644000176000001440000000065612362217677016403 0ustar ripleyusers\alias{gdkWindowGetTypeHint} \name{gdkWindowGetTypeHint} \title{gdkWindowGetTypeHint} \description{This function returns the type hint set for a window.} \usage{gdkWindowGetTypeHint(object)} \arguments{\item{\verb{object}}{A toplevel \code{\link{GdkWindow}}}} \details{Since 2.10} \value{[\code{\link{GdkWindowTypeHint}}] The type hint set for \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRecentAction.Rd0000644000176000001440000000326412362217677015343 0ustar ripleyusers\alias{GtkRecentAction} \alias{gtkRecentAction} \name{GtkRecentAction} \title{GtkRecentAction} \description{An action of which represents a list of recently used files} \section{Methods and Functions}{ \code{\link{gtkRecentActionNew}(name, label, tooltip, stock.id)}\cr \code{\link{gtkRecentActionNewForManager}(name, label, tooltip, stock.id, manager)}\cr \code{\link{gtkRecentActionGetShowNumbers}(object)}\cr \code{\link{gtkRecentActionSetShowNumbers}(object, show.numbers)}\cr \code{gtkRecentAction(name, label, tooltip, stock.id)} } \section{Hierarchy}{\preformatted{GObject +----GtkAction +----GtkRecentAction}} \section{Interfaces}{GtkRecentAction implements \code{\link{GtkBuildable}} and \code{\link{GtkRecentChooser}}.} \section{Detailed Description}{A GtkRecentAction represents a list of recently used files, which can be shown by widgets such as \code{\link{GtkRecentChooserDialog}} or \code{\link{GtkRecentChooserMenu}}. To construct a submenu showing recently used files, use a GtkRecentAction as the action for a . To construct a menu toolbutton showing the recently used files in the popup menu, use a GtkRecentAction as the action for a element.} \section{Structures}{\describe{\item{\verb{GtkRecentAction}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkRecentAction} is the equivalent of \code{\link{gtkRecentActionNew}}.} \section{Properties}{\describe{\item{\verb{show-numbers} [logical : Read / Write]}{ Whether the items should be displayed with a number. Default value: FALSE }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRecentAction.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawRectangle.Rd0000644000176000001440000000212612362217677017551 0ustar ripleyusers\alias{pangoRendererDrawRectangle} \name{pangoRendererDrawRectangle} \title{pangoRendererDrawRectangle} \description{Draws an axis-aligned rectangle in user space coordinates with the specified \code{\link{PangoRenderer}}.} \usage{pangoRendererDrawRectangle(object, part, x, y, width, height)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{part}}{[\code{\link{PangoRenderPart}}] type of object this rectangle is part of} \item{\verb{x}}{[integer] X position at which to draw rectangle, in user space coordinates in Pango units} \item{\verb{y}}{[integer] Y position at which to draw rectangle, in user space coordinates in Pango units} \item{\verb{width}}{[integer] width of rectangle in Pango units in user space coordinates} \item{\verb{height}}{[integer] height of rectangle in Pango units in user space coordinates} } \details{This should be called while \code{renderer} is already active. Use \code{\link{pangoRendererActivate}} to activate a renderer. Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetText.Rd0000644000176000001440000000164212362217677016406 0ustar ripleyusers\alias{gtkTextBufferGetText} \name{gtkTextBufferGetText} \title{gtkTextBufferGetText} \description{Returns the text in the range [\code{start},\code{end}). Excludes undisplayed text (text marked with tags that set the invisibility attribute) if \code{include.hidden.chars} is \code{FALSE}. Does not include characters representing embedded images, so byte and character indexes into the returned string do \emph{not} correspond to byte and character indexes into the buffer. Contrast with \code{\link{gtkTextBufferGetSlice}}.} \usage{gtkTextBufferGetText(object, start, end, include.hidden.chars = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{start}}{start of a range} \item{\verb{end}}{end of a range} \item{\verb{include.hidden.chars}}{whether to include invisible text} } \value{[character] an allocated UTF-8 string} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowAddFilter.Rd0000644000176000001440000000136212362217677016030 0ustar ripleyusers\alias{gdkWindowAddFilter} \name{gdkWindowAddFilter} \title{gdkWindowAddFilter} \description{Adds an event filter to \code{window}, allowing you to intercept events before they reach GDK. This is a low-level operation and makes it easy to break GDK and/or GTK+, so you have to know what you're doing. Pass \code{NULL} for \code{window} to get all events for all windows, instead of events for a specific window.} \usage{gdkWindowAddFilter(object, fun, data)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{data}}{data to pass to filter callback} } \details{See \code{\link{gdkDisplayAddClientMessageFilter}} if you are interested in X ClientMessage events.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutGetSize.Rd0000644000176000001440000000127512362217677015575 0ustar ripleyusers\alias{gtkLayoutGetSize} \name{gtkLayoutGetSize} \title{gtkLayoutGetSize} \description{Gets the size that has been set on the layout, and that determines the total extents of the layout's scrollbar area. See \code{\link{gtkLayoutSetSize}}.} \usage{gtkLayoutGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \value{ A list containing the following elements: \item{\verb{width}}{location to store the width set on \code{layout}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{location to store the height set on \code{layout}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkDocument.Rd0000644000176000001440000000633312362217677014535 0ustar ripleyusers\alias{AtkDocument} \name{AtkDocument} \title{AtkDocument} \description{The ATK interface which represents the toplevel container for document content.} \section{Methods and Functions}{ \code{\link{atkDocumentGetDocumentType}(object)}\cr \code{\link{atkDocumentGetDocument}(object)}\cr \code{\link{atkDocumentGetAttributeValue}(object, attribute.name)}\cr \code{\link{atkDocumentSetAttributeValue}(object, attribute.name, attribute.value)}\cr \code{\link{atkDocumentGetAttributes}(object)}\cr \code{\link{atkDocumentGetLocale}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkDocument}} \section{Implementations}{AtkDocument is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{The AtkDocument interface should be supported by any object whose content is a representation or view of a document. The AtkDocument interface should appear on the toplevel container for the document content; however AtkDocument instances may be nested (i.e. an AtkDocument may be a descendant of another AtkDocument) in those cases where one document contains "embedded content" which can reasonably be considered a document in its own right.} \section{Structures}{\describe{\item{\verb{AtkDocument}}{ The AtkDocument structure does not contain any fields. }}} \section{Signals}{\describe{ \item{\code{load-complete(atkdocument, user.data)}}{ The 'load-complete' signal is emitted when a pending load of a static document has completed. This signal is to be expected by ATK clients if and when AtkDocument implementors expose ATK_STATE_BUSY. If the state of an AtkObject which implements AtkDocument does not include ATK_STATE_BUSY, it should be safe for clients to assume that the AtkDocument's static contents are fully loaded into the container. (Dynamic document contents should be exposed via other signals.) \describe{ \item{\code{atkdocument}}{[\code{\link{AtkDocument}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{load-stopped(atkdocument, user.data)}}{ The 'load-stopped' signal is emitted when a pending load of document contents is cancelled, paused, or otherwise interrupted by the user or application logic. It should not however be emitted while waiting for a resource (for instance while blocking on a file or network read) unless a user-significant timeout has occurred. \describe{ \item{\code{atkdocument}}{[\code{\link{AtkDocument}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{reload(atkdocument, user.data)}}{ The 'reload' signal is emitted when the contents of a document is refreshed from its source. Once 'reload' has been emitted, a matching 'load-complete' or 'load-stopped' signal should follow, which clients may await before interrogating ATK for the latest document content. \describe{ \item{\code{atkdocument}}{[\code{\link{AtkDocument}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//atk/AtkDocument.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoContextSetColormap.Rd0000644000176000001440000000126212362217677017563 0ustar ripleyusers\alias{gdkPangoContextSetColormap} \name{gdkPangoContextSetColormap} \title{gdkPangoContextSetColormap} \description{ This function used to set the colormap to be used for drawing with \code{context}. The colormap is now always derived from the graphics context used for drawing, so calling this function is no longer necessary. \strong{WARNING: \code{gdk_pango_context_set_colormap} is deprecated and should not be used in newly-written code.} } \usage{gdkPangoContextSetColormap(context, colormap)} \arguments{ \item{\verb{context}}{a \code{\link{PangoContext}}} \item{\verb{colormap}}{a \code{\link{GdkColormap}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListSelectAll.Rd0000644000176000001440000000067312362217677015532 0ustar ripleyusers\alias{gtkListSelectAll} \name{gtkListSelectAll} \title{gtkListSelectAll} \description{ Selects all children of \code{list}. A signal will be emitted for each newly selected child. \strong{WARNING: \code{gtk_list_select_all} is deprecated and should not be used in newly-written code.} } \usage{gtkListSelectAll(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkBin.Rd0000644000176000001440000000362312362217677013474 0ustar ripleyusers\alias{GtkBin} \name{GtkBin} \title{GtkBin} \description{A container with just one child} \section{Methods and Functions}{ \code{\link{gtkBinGetChild}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkAlignment +----GtkFrame +----GtkButton +----GtkItem +----GtkComboBox +----GtkEventBox +----GtkExpander +----GtkHandleBox +----GtkToolItem +----GtkScrolledWindow +----GtkViewport}} \section{Interfaces}{GtkBin implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkBin}} widget is a container with just one child. It is not very useful itself, but it is useful for deriving subclasses, since it provides common code needed for handling a single child widget. Many GTK+ widgets are subclasses of \code{\link{GtkBin}}, including \code{\link{GtkWindow}}, \code{\link{GtkButton}}, \code{\link{GtkFrame}}, \code{\link{GtkHandleBox}}, and \code{\link{GtkScrolledWindow}}.} \section{Structures}{\describe{\item{\verb{GtkBin}}{ The \code{\link{GtkBin}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{\code{\link{GtkWidget}} *child; \tab the child widget. \cr} }}} \references{\url{http://library.gnome.org/devel//gtk/GtkBin.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoItemCopy.Rd0000644000176000001440000000072512362217677015074 0ustar ripleyusers\alias{pangoItemCopy} \name{pangoItemCopy} \title{pangoItemCopy} \description{Copy an existing \code{\link{PangoItem}} structure.} \usage{pangoItemCopy(item)} \arguments{\item{\verb{item}}{[\code{\link{PangoItem}}] a \code{\link{PangoItem}}, may be \code{NULL}}} \value{[\code{\link{PangoItem}}] the newly allocated \code{\link{PangoItem}}, or \code{NULL} if \code{item} was NULL.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionSetSelectFunction.Rd0000644000176000001440000000136312362217677021112 0ustar ripleyusers\alias{gtkTreeSelectionSetSelectFunction} \name{gtkTreeSelectionSetSelectFunction} \title{gtkTreeSelectionSetSelectFunction} \description{Sets the selection function. If set, this function is called before any node is selected or unselected, giving some control over which nodes are selected. The select function should return \code{TRUE} if the state of the node may be toggled, and \code{FALSE} if the state of the node should be left unchanged.} \usage{gtkTreeSelectionSetSelectFunction(object, func, data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{func}}{The selection function.} \item{\verb{data}}{The selection function's data.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetOverwriteMode.Rd0000644000176000001440000000065512362217677017303 0ustar ripleyusers\alias{gtkEntryGetOverwriteMode} \name{gtkEntryGetOverwriteMode} \title{gtkEntryGetOverwriteMode} \description{Gets the value set by \code{\link{gtkEntrySetOverwriteMode}}.} \usage{gtkEntryGetOverwriteMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.14} \value{[logical] whether the text is overwritten when typing.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererAccel.Rd0000644000176000001440000000646712362217677016273 0ustar ripleyusers\alias{GtkCellRendererAccel} \alias{gtkCellRendererAccel} \alias{GtkCellRendererAccelMode} \name{GtkCellRendererAccel} \title{GtkCellRendererAccel} \description{Renders a keyboard accelerator in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererAccelNew}()}\cr \code{gtkCellRendererAccel()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererText +----GtkCellRendererAccel}} \section{Detailed Description}{\code{\link{GtkCellRendererAccel}} displays a keyboard accelerator (i.e. a key combination like -a). If the cell renderer is editable, the accelerator can be changed by simply typing the new combination. The \code{\link{GtkCellRendererAccel}} cell renderer was added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkCellRendererAccel}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererAccel} is the equivalent of \code{\link{gtkCellRendererAccelNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkCellRendererAccelMode}}{ \emph{undocumented } \describe{ \item{\verb{gtk}}{\emph{undocumented }} \item{\verb{other}}{\emph{undocumented }} } }}} \section{Signals}{\describe{ \item{\code{accel-cleared(accel, path.string, user.data)}}{ Gets emitted when the user has removed the accelerator. Since 2.10 \describe{ \item{\code{accel}}{the object reveiving the signal} \item{\code{path.string}}{the path identifying the row of the edited cell} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{accel-edited(accel, path.string, accel.key, accel.mods, hardware.keycode, user.data)}}{ Gets emitted when the user has selected a new accelerator. Since 2.10 \describe{ \item{\code{accel}}{the object reveiving the signal} \item{\code{path.string}}{the path identifying the row of the edited cell} \item{\code{accel.key}}{the new accelerator keyval} \item{\code{accel.mods}}{the new acclerator modifier mask} \item{\code{hardware.keycode}}{the keycode of the new accelerator} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{accel-key} [numeric : Read / Write]}{ The keyval of the accelerator. Allowed values: <= G_MAXINT Default value: 0 Since 2.10 } \item{\verb{accel-mode} [\code{\link{GtkCellRendererAccelMode}} : Read / Write]}{ Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus. Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK Since 2.10 } \item{\verb{accel-mods} [\code{\link{GdkModifierType}} : Read / Write]}{ The modifier mask of the accelerator. Since 2.10 } \item{\verb{keycode} [numeric : Read / Write]}{ The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys. Allowed values: <= G_MAXINT Default value: 0 Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererAccel.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMiscGetPadding.Rd0000644000176000001440000000117212362217677015643 0ustar ripleyusers\alias{gtkMiscGetPadding} \name{gtkMiscGetPadding} \title{gtkMiscGetPadding} \description{Gets the padding in the X and Y directions of the widget. See \code{\link{gtkMiscSetPadding}}.} \usage{gtkMiscGetPadding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMisc}}}} \value{ A list containing the following elements: \item{\verb{xpad}}{location to store padding in the X direction, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{ypad}}{location to store padding in the Y direction, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerForall.Rd0000644000176000001440000000140412362217677016101 0ustar ripleyusers\alias{gtkContainerForall} \name{gtkContainerForall} \title{gtkContainerForall} \description{Invokes \code{callback} on each child of \code{container}, including children that are considered "internal" (implementation details of the container). "Internal" children generally weren't added by the user of the container, but were added by the container implementation itself. Most applications should use \code{\link{gtkContainerForeach}}, rather than \code{\link{gtkContainerForall}}.} \usage{gtkContainerForall(object, callback, callback.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{callback}}{a callback} \item{\verb{callback.data}}{callback user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreateAsync.Rd0000644000176000001440000000212112362217677015456 0ustar ripleyusers\alias{gFileCreateAsync} \name{gFileCreateAsync} \title{gFileCreateAsync} \description{Asynchronously creates a new file and returns an output stream for writing to it. The file must not already exist.} \usage{gFileCreateAsync(object, flags = "G_FILE_CREATE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileCreate}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileCreateFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetColumnSpanColumn.Rd0000644000176000001440000000113712362217677020364 0ustar ripleyusers\alias{gtkComboBoxSetColumnSpanColumn} \name{gtkComboBoxSetColumnSpanColumn} \title{gtkComboBoxSetColumnSpanColumn} \description{Sets the column with column span information for \code{combo.box} to be \code{column.span}. The column span column contains integers which indicate how many columns an item should span.} \usage{gtkComboBoxSetColumnSpanColumn(object, column.span)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}}} \item{\verb{column.span}}{A column in the model passed during construction} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetUnderlinePosition.Rd0000644000176000001440000000131112362217677021623 0ustar ripleyusers\alias{pangoFontMetricsGetUnderlinePosition} \name{pangoFontMetricsGetUnderlinePosition} \title{pangoFontMetricsGetUnderlinePosition} \description{Gets the suggested position to draw the underline. The value returned is the distance \emph{above} the baseline of the top of the underline. Since most fonts have underline positions beneath the baseline, this value is typically negative.} \usage{pangoFontMetricsGetUnderlinePosition(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \details{ Since 1.6} \value{[integer] the suggested underline position, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcStyleNew.Rd0000644000176000001440000000052212362217677015056 0ustar ripleyusers\alias{gtkRcStyleNew} \name{gtkRcStyleNew} \title{gtkRcStyleNew} \description{Creates a new \code{\link{GtkRcStyle}} with no fields set and a reference count of 1.} \usage{gtkRcStyleNew()} \value{[\code{\link{GtkRcStyle}}] the newly-created \code{\link{GtkRcStyle}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardToLineEnd.Rd0000644000176000001440000000156712362217677017670 0ustar ripleyusers\alias{gtkTextIterForwardToLineEnd} \name{gtkTextIterForwardToLineEnd} \title{gtkTextIterForwardToLineEnd} \description{Moves the iterator to point to the paragraph delimiter characters, which will be either a newline, a carriage return, a carriage return/newline in sequence, or the Unicode paragraph separator character. If the iterator is already at the paragraph delimiter characters, moves to the paragraph delimiter characters for the next line. If \code{iter} is on the last line in the buffer, which does not end in paragraph delimiters, moves to the end iterator (end of the last line), and returns \code{FALSE}.} \usage{gtkTextIterForwardToLineEnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if we moved and the new location is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetTypeHint.Rd0000644000176000001440000000116212362217677016410 0ustar ripleyusers\alias{gdkWindowSetTypeHint} \name{gdkWindowSetTypeHint} \title{gdkWindowSetTypeHint} \description{The application can use this call to provide a hint to the window manager about the functionality of a window. The window manager can use this information when determining the decoration and behaviour of the window.} \usage{gdkWindowSetTypeHint(object, hint)} \arguments{ \item{\verb{object}}{A toplevel \code{\link{GdkWindow}}} \item{\verb{hint}}{A hint of the function this window will have} } \details{The hint must be set before the window is mapped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxAppendText.Rd0000644000176000001440000000106412362217677016526 0ustar ripleyusers\alias{gtkComboBoxAppendText} \name{gtkComboBoxAppendText} \title{gtkComboBoxAppendText} \description{Appends \code{string} to the list of strings stored in \code{combo.box}. Note that you can only use this function with combo boxes constructed with \code{\link{gtkComboBoxNewText}}.} \usage{gtkComboBoxAppendText(object, text)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}} constructed using \code{\link{gtkComboBoxNewText}}} \item{\verb{text}}{A string} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxNewText.Rd0000644000176000001440000000133212362217677016046 0ustar ripleyusers\alias{gtkComboBoxNewText} \name{gtkComboBoxNewText} \title{gtkComboBoxNewText} \description{Convenience function which constructs a new text combo box, which is a \code{\link{GtkComboBox}} just displaying strings. If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: \code{\link{gtkComboBoxAppendText}}, \code{\link{gtkComboBoxInsertText}}, \code{\link{gtkComboBoxPrependText}} and \code{\link{gtkComboBoxRemoveText}}.} \usage{gtkComboBoxNewText(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new text combo box. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceCreateSimilar.Rd0000644000176000001440000000271112362217677017366 0ustar ripleyusers\alias{cairoSurfaceCreateSimilar} \name{cairoSurfaceCreateSimilar} \title{cairoSurfaceCreateSimilar} \description{Create a new surface that is as compatible as possible with an existing surface. For example the new surface will have the same fallback resolution and font options as \code{other}. Generally, the new surface will also use the same backend as \code{other}, unless that is not possible for some reason. The type of the returned surface may be examined with \code{\link{cairoSurfaceGetType}}.} \usage{cairoSurfaceCreateSimilar(other, content, width, height)} \arguments{ \item{\verb{other}}{[\code{\link{CairoSurface}}] an existing surface used to select the backend of the new surface} \item{\verb{content}}{[\code{\link{CairoContent}}] the content for the new surface} \item{\verb{width}}{[integer] width of the new surface, (in device-space units)} \item{\verb{height}}{[integer] height of the new surface (in device-space units)} } \details{Initially the surface contents are all 0 (transparent if contents have transparency, black otherwise.) } \value{[\code{\link{CairoSurface}}] a pointer to the newly allocated surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if \code{other} is already in an error state or any other error occurs.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryCreateItems.Rd0000644000176000001440000000142512362217677017376 0ustar ripleyusers\alias{gtkItemFactoryCreateItems} \name{gtkItemFactoryCreateItems} \title{gtkItemFactoryCreateItems} \description{ Creates the menu items from the \code{entries}. \strong{WARNING: \code{gtk_item_factory_create_items} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryCreateItems(object, entries, callback.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{entries}}{a list of \code{\link{GtkItemFactoryEntry}}s whose \code{callback} members must by of type \code{\link{GtkItemFactoryCallback1}}} \item{\verb{callback.data}}{data passed to the callback functions of all entries} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupGetVisible.Rd0000644000176000001440000000110112362217677017221 0ustar ripleyusers\alias{gtkActionGroupGetVisible} \name{gtkActionGroupGetVisible} \title{gtkActionGroupGetVisible} \description{Returns \code{TRUE} if the group is visible. The constituent actions can only be logically visible (see \code{\link{gtkActionIsVisible}}) if they are visible (see \code{\link{gtkActionGetVisible}}) and their group is visible.} \usage{gtkActionGroupGetVisible(object)} \arguments{\item{\verb{object}}{the action group}} \details{Since 2.4} \value{[logical] \code{TRUE} if the group is visible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemToggle.Rd0000644000176000001440000000043412362217677015061 0ustar ripleyusers\alias{gtkItemToggle} \name{gtkItemToggle} \title{gtkItemToggle} \description{Emits the "toggle" signal on the given item.} \usage{gtkItemToggle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkItem}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBoxReorderChild.Rd0000644000176000001440000000205012362217677016034 0ustar ripleyusers\alias{gtkBoxReorderChild} \name{gtkBoxReorderChild} \title{gtkBoxReorderChild} \description{Moves \code{child} to a new \code{position} in the list of \code{box} children. The list is the \code{children} field of \code{\link{GtkBox}}, and contains both widgets packed \verb{GTK_PACK_START} as well as widgets packed \verb{GTK_PACK_END}, in the order that these widgets were added to \code{box}.} \usage{gtkBoxReorderChild(object, child, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBox}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to move} \item{\verb{position}}{the new position for \code{child} in the list of children of \code{box}, starting from 0. If negative, indicates the end of the list} } \details{A widget's position in the \code{box} children list determines where the widget is packed into \code{box}. A child widget at some position in the list will be packed just after all other widgets of the same packing type that appear earlier in the list.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutCopy.Rd0000644000176000001440000000104512362217677015447 0ustar ripleyusers\alias{pangoLayoutCopy} \name{pangoLayoutCopy} \title{pangoLayoutCopy} \description{Does a deep copy-by-value of the \code{src} layout. The attribute list, tab list, and text from the original layout are all copied by value.} \usage{pangoLayoutCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[\code{\link{PangoLayout}}] the newly allocated \code{\link{PangoLayout}}, with a reference count of one,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNewFromWidget.Rd0000644000176000001440000000101212362217677020156 0ustar ripleyusers\alias{gtkRadioMenuItemNewFromWidget} \name{gtkRadioMenuItemNewFromWidget} \title{gtkRadioMenuItemNewFromWidget} \description{Creates a new \code{\link{GtkRadioMenuItem}} adding it to the same group as \code{group}.} \usage{gtkRadioMenuItemNewFromWidget(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{An existing \code{\link{GtkRadioMenuItem}}}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] The new \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetFilename.Rd0000644000176000001440000000130611766145227017321 0ustar ripleyusers\alias{gtkFileChooserGetFilename} \name{gtkFileChooserGetFilename} \title{gtkFileChooserGetFilename} \description{Gets the filename for the currently selected file in the file selector. If multiple files are selected, one of the filenames will be returned at random.} \usage{gtkFileChooserGetFilename(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{If the file chooser is in folder mode, this function returns the selected folder. Since 2.4} \value{[character] The currently selected filename, or \code{NULL} if no file is selected, or the selected file can't be represented with a local filename.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogFormatSecondaryText.Rd0000644000176000001440000000115612362217677021415 0ustar ripleyusers\alias{gtkMessageDialogFormatSecondaryText} \name{gtkMessageDialogFormatSecondaryText} \title{gtkMessageDialogFormatSecondaryText} \description{Sets the secondary text of the message dialog to be \code{message.format} (with \code{printf()}-style).} \usage{gtkMessageDialogFormatSecondaryText(object, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMessageDialog}}} \item{\verb{...}}{\emph{undocumented }} } \details{Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMcGlobal.Rd0000644000176000001440000000070312362217677017223 0ustar ripleyusers\alias{gInetAddressGetIsMcGlobal} \name{gInetAddressGetIsMcGlobal} \title{gInetAddressGetIsMcGlobal} \description{Tests whether \code{address} is a global multicast address.} \usage{gInetAddressGetIsMcGlobal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a global multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetEllipsize.Rd0000644000176000001440000000070212362217677016357 0ustar ripleyusers\alias{gtkLabelGetEllipsize} \name{gtkLabelGetEllipsize} \title{gtkLabelGetEllipsize} \description{Returns the ellipsizing position of the label. See \code{\link{gtkLabelSetEllipsize}}.} \usage{gtkLabelGetEllipsize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.6} \value{[\code{\link{PangoEllipsizeMode}}] \code{\link{PangoEllipsizeMode}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetSystemVisual.Rd0000644000176000001440000000103312362217677017245 0ustar ripleyusers\alias{gdkScreenGetSystemVisual} \name{gdkScreenGetSystemVisual} \title{gdkScreenGetSystemVisual} \description{Get the system's default visual for \code{screen}. This is the visual for the root window of the display. The return value should not be freed.} \usage{gdkScreenGetSystemVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}.}} \details{Since 2.2} \value{[\code{\link{GdkVisual}}] the system visual. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapAllocColors.Rd0000644000176000001440000000205612362217677016714 0ustar ripleyusers\alias{gdkColormapAllocColors} \name{gdkColormapAllocColors} \title{gdkColormapAllocColors} \description{Allocates colors from a colormap.} \usage{gdkColormapAllocColors(colormap, colors, writeable, best.match)} \arguments{ \item{\verb{colors}}{The color values to allocate. On return, the pixel values for allocated colors will be filled in.} \item{\verb{writeable}}{If \code{TRUE}, the colors are allocated writeable (their values can later be changed using \code{\link{gdkColorChange}}). Writeable colors cannot be shared between applications.} \item{\verb{best.match}}{If \code{TRUE}, GDK will attempt to do matching against existing colors if the colors cannot be allocated as requested.} } \value{ A list containing the following elements: \item{retval}{[integer] The number of colors that were not successfully allocated.} \item{\verb{success}}{An list of length \code{ncolors}. On return, this indicates whether the corresponding color in \code{colors} was successfully allocated or not.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleToolButtonGetActive.Rd0000644000176000001440000000111112362217677020061 0ustar ripleyusers\alias{gtkToggleToolButtonGetActive} \name{gtkToggleToolButtonGetActive} \title{gtkToggleToolButtonGetActive} \description{Queries a \code{\link{GtkToggleToolButton}} and returns its current state. Returns \code{TRUE} if the toggle button is pressed in and \code{FALSE} if it is raised.} \usage{gtkToggleToolButtonGetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToggleToolButton}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the toggle tool button is pressed in, \code{FALSE} if not} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListToggleRow.Rd0000644000176000001440000000106012362217677015562 0ustar ripleyusers\alias{gtkListToggleRow} \name{gtkListToggleRow} \title{gtkListToggleRow} \description{ Toggles the child \code{item} of list. If the selection mode of \code{list} is \verb{GTK_SELECTION_BROWSE}, the item is selected, and the others are unselected. \strong{WARNING: \code{gtk_list_toggle_row} is deprecated and should not be used in newly-written code.} } \usage{gtkListToggleRow(object, item)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{item}}{the child to toggle.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetHadjustment.Rd0000644000176000001440000000116212362217677016721 0ustar ripleyusers\alias{gtkCListSetHadjustment} \name{gtkCListSetHadjustment} \title{gtkCListSetHadjustment} \description{ Allows you to set the \code{\link{GtkAdjustment}} to be used for the horizontal aspect of the \code{\link{GtkCList}} widget. \strong{WARNING: \code{gtk_clist_set_hadjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetHadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{adjustment}}{A pointer to a \code{\link{GtkAdjustment}} widget, or NULL.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetGroupId.Rd0000644000176000001440000000144012362217677016545 0ustar ripleyusers\alias{gtkNotebookSetGroupId} \name{gtkNotebookSetGroupId} \title{gtkNotebookSetGroupId} \description{ Sets an group identificator for \code{notebook}, notebooks sharing the same group identificator will be able to exchange tabs via drag and drop. A notebook with group identificator -1 will not be able to exchange tabs with any other notebook. \strong{WARNING: \code{gtk_notebook_set_group_id} has been deprecated since version 2.12 and should not be used in newly-written code. use \code{\link{gtkNotebookSetGroup}} instead.} } \usage{gtkNotebookSetGroupId(object, group.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{group.id}}{a group identificator, or -1 to unset it} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVNew.Rd0000644000176000001440000000043312362217677014132 0ustar ripleyusers\alias{gtkHSVNew} \name{gtkHSVNew} \title{gtkHSVNew} \description{Creates a new HSV color selector.} \usage{gtkHSVNew()} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] A newly-created HSV color selector.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableGetInternalChild.Rd0000644000176000001440000000111512362217677020002 0ustar ripleyusers\alias{gtkBuildableGetInternalChild} \name{gtkBuildableGetInternalChild} \title{gtkBuildableGetInternalChild} \description{Get the internal child called \code{childname} of the \code{buildable} object.} \usage{gtkBuildableGetInternalChild(object, builder, childname)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}}} \item{\verb{childname}}{name of child} } \details{Since 2.12} \value{[\code{\link{GObject}}] the internal child of the buildable object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewNewWithModel.Rd0000644000176000001440000000071212362217677017041 0ustar ripleyusers\alias{gtkTreeViewNewWithModel} \name{gtkTreeViewNewWithModel} \title{gtkTreeViewNewWithModel} \description{Creates a new \code{\link{GtkTreeView}} widget with the model initialized to \code{model}.} \usage{gtkTreeViewNewWithModel(model = NULL, show = TRUE)} \arguments{\item{\verb{model}}{the model.}} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkTreeView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkQuitAdd.Rd0000644000176000001440000000124412362217677014354 0ustar ripleyusers\alias{gtkQuitAdd} \name{gtkQuitAdd} \title{gtkQuitAdd} \description{Registers a function to be called when an instance of the mainloop is left.} \usage{gtkQuitAdd(main.level, fun, data = NULL)} \arguments{ \item{\verb{main.level}}{Level at which termination the function shall be called. You can pass 0 here to have the function run at the termination of the current mainloop.} \item{\verb{data}}{Pointer to pass when calling \code{function}.} } \value{[numeric] A handle for this quit handler (you need this for \code{\link{gtkQuitRemove}}) or 0 if you passed a \code{NULL} pointer in \code{function}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoLoadIcon.Rd0000644000176000001440000000275412362217677016145 0ustar ripleyusers\alias{gtkIconInfoLoadIcon} \name{gtkIconInfoLoadIcon} \title{gtkIconInfoLoadIcon} \description{Renders an icon previously looked up in an icon theme using \code{\link{gtkIconThemeLookupIcon}}; the size will be based on the size passed to \code{\link{gtkIconThemeLookupIcon}}. Note that the resulting pixbuf may not be exactly this size; an icon theme may have icons that differ slightly from their nominal sizes, and in addition GTK+ will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far. (This maintains sharpness.). This behaviour can be changed by passing the \code{GTK_ICON_LOOKUP_FORCE_SIZE} flag when obtaining the \code{\link{GtkIconInfo}}. If this flag has been specified, the pixbuf returned by this function will be scaled to the exact size.} \usage{gtkIconInfoLoadIcon(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconInfo}} structure from \code{\link{gtkIconThemeLookupIcon}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon.} \item{\verb{error}}{location to store error information on failure, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyFg.Rd0000644000176000001440000000127112362217677015671 0ustar ripleyusers\alias{gtkWidgetModifyFg} \name{gtkWidgetModifyFg} \title{gtkWidgetModifyFg} \description{Sets the foreground color for a widget in a particular state. All other style values are left untouched. See also \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetModifyFg(object, state, color = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{state}}{the state for which to set the foreground color} \item{\verb{color}}{the color to assign (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyFg}}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufLoaderGetAnimation.Rd0000644000176000001440000000144712362217677017672 0ustar ripleyusers\alias{gdkPixbufLoaderGetAnimation} \name{gdkPixbufLoaderGetAnimation} \title{gdkPixbufLoaderGetAnimation} \description{Queries the \code{\link{GdkPixbufAnimation}} that a pixbuf loader is currently creating. In general it only makes sense to call this function after the "area-prepared" signal has been emitted by the loader. If the loader doesn't have enough bytes yet (hasn't emitted the "area-prepared" signal) this function will return \code{NULL}.} \usage{gdkPixbufLoaderGetAnimation(object)} \arguments{\item{\verb{object}}{A pixbuf loader}} \value{[\code{\link{GdkPixbufAnimation}}] The \code{\link{GdkPixbufAnimation}} that the loader is loading, or \code{NULL} if not enough data has been read to determine the information.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetEnsureStyle.Rd0000644000176000001440000000074512362217677016454 0ustar ripleyusers\alias{gtkWidgetEnsureStyle} \name{gtkWidgetEnsureStyle} \title{gtkWidgetEnsureStyle} \description{Ensures that \code{widget} has a style (\code{widget->style}). Not a very useful function; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.} \usage{gtkWidgetEnsureStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPrintPages.Rd0000644000176000001440000000070012362217677020267 0ustar ripleyusers\alias{gtkPrintSettingsGetPrintPages} \name{gtkPrintSettingsGetPrintPages} \title{gtkPrintSettingsGetPrintPages} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PRINT_PAGES}.} \usage{gtkPrintSettingsGetPrintPages(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPrintPages}}] which pages to print} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserDialogNew.Rd0000644000176000001440000000145412362217677017020 0ustar ripleyusers\alias{gtkFileChooserDialogNew} \name{gtkFileChooserDialogNew} \title{gtkFileChooserDialogNew} \description{Creates a new \code{\link{GtkFileChooserDialog}}. This function is analogous to \code{\link{gtkDialogNewWithButtons}}.} \usage{gtkFileChooserDialogNew(title = NULL, parent = NULL, action, ..., show = TRUE)} \arguments{ \item{\verb{title}}{Title of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent}}{Transient parent of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{action}}{Open or save mode for the dialog} \item{\verb{...}}{a new \code{\link{GtkFileChooserDialog}}} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFileChooserDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetCursorHadjustment.Rd0000644000176000001440000000140612362217677020203 0ustar ripleyusers\alias{gtkEntrySetCursorHadjustment} \name{gtkEntrySetCursorHadjustment} \title{gtkEntrySetCursorHadjustment} \description{Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See \code{\link{gtkScrolledWindowGetHadjustment}} for a typical way of obtaining the adjustment.} \usage{gtkEntrySetCursorHadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{adjustment}}{an adjustment which should be adjusted when the cursor is moved, or \code{NULL}} } \details{The adjustment has to be in pixel units and in the same coordinate system as the entry. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonSetFocusOnClick.Rd0000644000176000001440000000127212362217677021337 0ustar ripleyusers\alias{gtkFileChooserButtonSetFocusOnClick} \name{gtkFileChooserButtonSetFocusOnClick} \title{gtkFileChooserButtonSetFocusOnClick} \description{Sets whether the button will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.} \usage{gtkFileChooserButtonSetFocusOnClick(object, focus.on.click)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooserButton}}} \item{\verb{focus.on.click}}{whether the button grabs focus when clicked with the mouse} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetTextSizeGroup.Rd0000644000176000001440000000107712362217677020107 0ustar ripleyusers\alias{gtkToolShellGetTextSizeGroup} \name{gtkToolShellGetTextSizeGroup} \title{gtkToolShellGetTextSizeGroup} \description{Retrieves the current text size group for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetTextSizeGroup}} instead.} \usage{gtkToolShellGetTextSizeGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkSizeGroup}}] the current text size group of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLineYrange.Rd0000644000176000001440000000161412362217677020060 0ustar ripleyusers\alias{pangoLayoutIterGetLineYrange} \name{pangoLayoutIterGetLineYrange} \title{pangoLayoutIterGetLineYrange} \description{Divides the vertical space in the \code{\link{PangoLayout}} being iterated over between the lines in the layout, and returns the space belonging to the current line. A line's range includes the line's logical extents, plus half of the spacing above and below the line, if \code{\link{pangoLayoutSetSpacing}} has been called to set layout spacing. The Y positions are in layout coordinates (origin at top left of the entire layout).} \usage{pangoLayoutIterGetLineYrange(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{y0}}{[integer] start of line} \item{\verb{y1}}{[integer] end of line} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetSummary.Rd0000644000176000001440000000076512362217677016067 0ustar ripleyusers\alias{atkTableGetSummary} \name{atkTableGetSummary} \title{atkTableGetSummary} \description{Gets the summary description of the table.} \usage{atkTableGetSummary(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface}} \value{[\code{\link{AtkObject}}] a AtkObject* representing a summary description of the table, or zero if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListInsertItems.Rd0000644000176000001440000000106212362217677016121 0ustar ripleyusers\alias{gtkListInsertItems} \name{gtkListInsertItems} \title{gtkListInsertItems} \description{ Inserts \code{items} into the \code{list} at the position \code{position}. \strong{WARNING: \code{gtk_list_insert_items} is deprecated and should not be used in newly-written code.} } \usage{gtkListInsertItems(object, items, position)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{items}}{the items.} \item{\verb{position}}{the position to insert \code{items}, starting at 0.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsSensitive.Rd0000644000176000001440000000073512362217677016436 0ustar ripleyusers\alias{gtkWidgetIsSensitive} \name{gtkWidgetIsSensitive} \title{gtkWidgetIsSensitive} \description{Returns the widget's effective sensitivity, which means it is sensitive itself and also its parent widget is sensntive} \usage{gtkWidgetIsSensitive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the widget is effectively sensitive} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsGetHintMetrics.Rd0000644000176000001440000000110412362217677020420 0ustar ripleyusers\alias{cairoFontOptionsGetHintMetrics} \name{cairoFontOptionsGetHintMetrics} \title{cairoFontOptionsGetHintMetrics} \description{Gets the metrics hinting mode for the font options object. See the documentation for \code{\link{CairoHintMetrics}} for full details.} \usage{cairoFontOptionsGetHintMetrics(options)} \arguments{\item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}}} \value{[\code{\link{CairoHintMetrics}}] the metrics hinting mode for the font options object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableParserFinished.Rd0000644000176000001440000000113712362217677017534 0ustar ripleyusers\alias{gtkBuildableParserFinished} \name{gtkBuildableParserFinished} \title{gtkBuildableParserFinished} \description{Called when the builder finishes the parsing of a GtkBuilder UI definition. Note that this will be called once for each time \code{\link{gtkBuilderAddFromFile}} or \code{\link{gtkBuilderAddFromString}} is called on a builder.} \usage{gtkBuildableParserFinished(object, builder)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetDeviceOffset.Rd0000644000176000001440000000123412362217677017647 0ustar ripleyusers\alias{cairoSurfaceGetDeviceOffset} \name{cairoSurfaceGetDeviceOffset} \title{cairoSurfaceGetDeviceOffset} \description{This function returns the previous device offset set by \code{\link{cairoSurfaceSetDeviceOffset}}.} \usage{cairoSurfaceGetDeviceOffset(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{ Since 1.2} \value{ A list containing the following elements: \item{\verb{x.offset}}{[numeric] the offset in the X direction, in device units} \item{\verb{y.offset}}{[numeric] the offset in the Y direction, in device units} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetName.Rd0000644000176000001440000000054312362217677015260 0ustar ripleyusers\alias{gAppInfoGetName} \name{gAppInfoGetName} \title{gAppInfoGetName} \description{Gets the installed name of the application.} \usage{gAppInfoGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[char] the name of the application for \code{appinfo}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCList.Rd0000644000176000001440000003654312362217677014011 0ustar ripleyusers\alias{GtkCList} \alias{GtkCListRow} \alias{gtkCList} \alias{GtkCListCompareFunc} \alias{GtkCellType} \alias{GtkButtonAction} \alias{GtkCListDragPos} \name{GtkCList} \title{GtkCList} \description{A multi-columned scrolling list widget} \section{Methods and Functions}{ \code{\link{gtkCListNew}(columns = 1, show = TRUE)}\cr \code{\link{gtkCListNewWithTitles}(columns = 1, titles, show = TRUE)}\cr \code{\link{gtkCListSetShadowType}(object, type)}\cr \code{\link{gtkCListSetSelectionMode}(object, mode)}\cr \code{\link{gtkCListFreeze}(object)}\cr \code{\link{gtkCListThaw}(object)}\cr \code{\link{gtkCListColumnTitlesShow}(object)}\cr \code{\link{gtkCListColumnTitlesHide}(object)}\cr \code{\link{gtkCListColumnTitleActive}(object, column)}\cr \code{\link{gtkCListColumnTitlePassive}(object, column)}\cr \code{\link{gtkCListColumnTitlesActive}(object)}\cr \code{\link{gtkCListColumnTitlesPassive}(object)}\cr \code{\link{gtkCListSetColumnTitle}(object, column, title)}\cr \code{\link{gtkCListSetColumnWidget}(object, column, widget)}\cr \code{\link{gtkCListSetColumnJustification}(object, column, justification)}\cr \code{\link{gtkCListSetColumnVisibility}(object, column, visible)}\cr \code{\link{gtkCListSetColumnResizeable}(object, column, resizeable)}\cr \code{\link{gtkCListSetColumnAutoResize}(object, column, auto.resize)}\cr \code{\link{gtkCListOptimalColumnWidth}(object, column)}\cr \code{\link{gtkCListSetColumnWidth}(object, column, width)}\cr \code{\link{gtkCListSetColumnMinWidth}(object, column, min.width)}\cr \code{\link{gtkCListSetColumnMaxWidth}(object, column, max.width)}\cr \code{\link{gtkCListSetRowHeight}(object, height)}\cr \code{\link{gtkCListMoveto}(object, row, column, row.align, col.align)}\cr \code{\link{gtkCListRowIsVisible}(object, row)}\cr \code{\link{gtkCListGetCellType}(object, row, column)}\cr \code{\link{gtkCListSetText}(w, row, cols, values, zeroBased = TRUE)}\cr \code{\link{gtkCListGetText}(w, row, cols, zeroBased = TRUE)}\cr \code{\link{gtkCListSetPixmap}(object, row, column, pixmap, mask = NULL)}\cr \code{\link{gtkCListGetPixmap}(object, row, column)}\cr \code{\link{gtkCListSetPixtext}(object, row, column, text, spacing, pixmap, mask)}\cr \code{\link{gtkCListGetPixtext}(object, row, column)}\cr \code{\link{gtkCListSetForeground}(object, row, color)}\cr \code{\link{gtkCListSetBackground}(object, row, color)}\cr \code{\link{gtkCListSetCellStyle}(object, row, column, style)}\cr \code{\link{gtkCListGetCellStyle}(object, row, column)}\cr \code{\link{gtkCListSetRowStyle}(object, row, style)}\cr \code{\link{gtkCListGetRowStyle}(object, row)}\cr \code{\link{gtkCListSetShift}(object, row, column, vertical, horizontal)}\cr \code{\link{gtkCListSetSelectable}(object, row, selectable)}\cr \code{\link{gtkCListGetSelectable}(object, row)}\cr \code{\link{gtkCListPrepend}(object, text)}\cr \code{\link{gtkCListAppend}(object, text)}\cr \code{\link{gtkCListInsert}(object, row, text)}\cr \code{\link{gtkCListRemove}(object, row)}\cr \code{\link{gtkCListSetRowData}(object, row, data = NULL)}\cr \code{\link{gtkCListSetRowDataFull}(object, row, data = NULL)}\cr \code{\link{gtkCListGetRowData}(object, row)}\cr \code{\link{gtkCListFindRowFromData}(object, data)}\cr \code{\link{gtkCListSelectRow}(object, row, column)}\cr \code{\link{gtkCListUnselectRow}(object, row, column)}\cr \code{\link{gtkCListUndoSelection}(object)}\cr \code{\link{gtkCListClear}(object)}\cr \code{\link{gtkCListGetSelectionInfo}(object, x, y)}\cr \code{\link{gtkCListSelectAll}(object)}\cr \code{\link{gtkCListUnselectAll}(object)}\cr \code{\link{gtkCListSwapRows}(object, row1, row2)}\cr \code{\link{gtkCListSetCompareFunc}(object, cmp.func)}\cr \code{\link{gtkCListSetSortColumn}(object, column)}\cr \code{\link{gtkCListSetSortType}(object, sort.type)}\cr \code{\link{gtkCListSort}(object)}\cr \code{\link{gtkCListSetAutoSort}(object, auto.sort)}\cr \code{\link{gtkCListColumnsAutosize}(object)}\cr \code{\link{gtkCListGetColumnTitle}(object, column)}\cr \code{\link{gtkCListGetColumnWidget}(object, column)}\cr \code{\link{gtkCListGetHadjustment}(object)}\cr \code{\link{gtkCListGetVadjustment}(object)}\cr \code{\link{gtkCListRowMove}(object, source.row, dest.row)}\cr \code{\link{gtkCListSetButtonActions}(object, button, button.actions)}\cr \code{\link{gtkCListSetHadjustment}(object, adjustment)}\cr \code{\link{gtkCListSetReorderable}(object, reorderable)}\cr \code{\link{gtkCListSetUseDragIcons}(object, use.icons)}\cr \code{\link{gtkCListSetVadjustment}(object, adjustment)}\cr \code{gtkCList(columns = 1, titles, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkCList +----GtkCTree}} \section{Interfaces}{GtkCList implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkCList}} widget is a very useful multi-columned scrolling list. It can display data in nicely aligned vertical columns, with titles at the top of the list. GtkCList has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use \code{\link{GtkTreeView}} instead.} \section{Structures}{\describe{ \item{\verb{GtkCList}}{ \strong{WARNING: \code{GtkCList} is deprecated and should not be used in newly-written code.} This is the embodiment of the \code{\link{GtkCList}} widget. This structure contains only private data, and should be accessed only via the CList API. } \item{\verb{GtkCListRow}}{ \strong{WARNING: \code{GtkCListRow} is deprecated and should not be used in newly-written code.} A structure that the \code{\link{GtkCList}} widget uses to keep track of information about its rows. \describe{ \item{\verb{cell}}{[GtkCell] } \item{\verb{state}}{[\code{\link{GtkStateType}}] } \item{\verb{foreground}}{[\code{\link{GdkColor}}] } \item{\verb{background}}{[\code{\link{GdkColor}}] } \item{\verb{style}}{[\code{\link{GtkStyle}}] } \item{\verb{data}}{[Robject] } \item{\verb{destroy}}{[GtkDestroyNotify] } \item{\verb{fgSet}}{[numeric] } \item{\verb{bgSet}}{[numeric] } \item{\verb{selectable}}{[numeric] } } } }} \section{Convenient Construction}{\code{gtkCList} is the result of collapsing the constructors of \code{GtkCList} (\code{\link{gtkCListNew}}, \code{\link{gtkCListNewWithTitles}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkCellType}}{ \strong{WARNING: \code{GtkCellType} is deprecated and should not be used in newly-written code.} Identifies the type of element in the current cell of the CList. Cells can contain text, pixmaps, or both. Unfortunately support for \code{GTK_CELL_WIDGET} was never completed. \describe{ \item{\verb{empty}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} \item{\verb{pixmap}}{\emph{undocumented }} \item{\verb{pixtext}}{\emph{undocumented }} \item{\verb{widget}}{\emph{undocumented }} } } \item{\verb{GtkButtonAction}}{ \strong{WARNING: \code{GtkButtonAction} is deprecated and should not be used in newly-written code.} Values for specifying what mouse button events a CList will react to. \describe{ \item{\verb{ignored}}{\emph{undocumented }} \item{\verb{selects}}{\emph{undocumented }} \item{\verb{drags}}{\emph{undocumented }} \item{\verb{expands}}{\emph{undocumented }} } } \item{\verb{GtkCListDragPos}}{ \strong{WARNING: \code{GtkCListDragPos} is deprecated and should not be used in newly-written code.} An enumeration for drag operations. \describe{ \item{\verb{none}}{\emph{undocumented }} \item{\verb{before}}{\emph{undocumented }} \item{\verb{into}}{\emph{undocumented }} \item{\verb{after}}{\emph{undocumented }} } } }} \section{User Functions}{\describe{\item{\code{GtkCListCompareFunc(clist, ptr1, ptr2)}}{ Function prototype for the compare function callback. \describe{ \item{\code{clist}}{The \code{\link{GtkCList}} that is affected.} \item{\code{ptr1}}{A \verb{R object} to the first node to compare.} \item{\code{ptr2}}{A \verb{R object} to the second node to compare.} } \emph{Returns:} [integer] 0 if the nodes are equal, less than 0 if the first node should come before the second, and greater than 1 if the second come before the first. }}} \section{Signals}{\describe{ \item{\code{abort-column-resize(clist, user.data)}}{ This signal is emitted when a column resize is aborted. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{click-column(clist, column, user.data)}}{ This signal is emitted when a column title is clicked. \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{column}}{The number of the column.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{end-selection(clist, user.data)}}{ This signal is emitted when a selection ends in a multiple selection CList. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{extend-selection(clist, scroll.type, position, auto.start.selection, user.data)}}{ This signal is emitted when the selection is extended. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{scroll.type}}{A \code{\link{GtkScrollType}} value of any scrolling operation the occured during the selection.} \item{\code{position}}{A value between 0.0 and 1.0.} \item{\code{auto.start.selection}}{\code{TRUE} or \code{FALSE}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{resize-column(clist, column, width, user.data)}}{ This signal is emitted when a column is resized. \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{column}}{The number of the column} \item{\code{width}}{The new width of the column.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-move(clist, arg1, arg2, user.data)}}{ This signal is emitted when a row is moved. \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{arg1}}{The source position of the row.} \item{\code{arg2}}{The destination position of the row.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{scroll-horizontal(clist, scroll.type, position, user.data)}}{ This signal is emitted when the CList is scrolled horizontally. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{scroll.type}}{A \code{\link{GtkScrollType}} value of how the scroll operation occured.} \item{\code{position}}{a value between 0.0 and 1.0.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{scroll-vertical(clist, scroll.type, position, user.data)}}{ This signal is emitted when the CList is scrolled vertically. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{scroll.type}}{A \code{\link{GtkScrollType}} value of how the scroll operation occured.} \item{\code{position}}{A value between 0.0 and 1.0.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-all(clist, user.data)}}{ This signal is emitted when all the rows are selected in a CList. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-row(clist, row, column, event, user.data)}}{ This signal is emitted when the user selects a row in the list. It is emitted for every row that is selected in a multi-selection or by calling \code{\link{gtkCListSelectAll}}. \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{row}}{The row selected.} \item{\code{column}}{The column where the selection occured.} \item{\code{event}}{A \code{\link{GdkEvent}} structure for the selection.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-scroll-adjustments(clist, user.data)}}{ \emph{undocumented } \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{start-selection(clist, user.data)}}{ This signal is emitted when a drag-selection is started in a multiple-selection CList. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-add-mode(clist, user.data)}}{ This signal is emitted when "add mode" is toggled. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-focus-row(clist, user.data)}}{ \emph{undocumented } \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{undo-selection(clist, user.data)}}{ This signal is emitted when an undo selection occurs in the CList, probably via calling \code{\link{gtkCListUndoSelection}}. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-all(clist, user.data)}}{ This signal is emitted when all rows are unselected in a CList. \describe{ \item{\code{clist}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-row(clist, row, column, user.data)}}{ This signal is emitted when the user unselects a row in the list. It is emitted for every row that is unselected in a multi-selection or by calling \code{\link{gtkCListUnselectAll}}. It is also emitted for the previously selected row in a "single" or "browse" mode CList. \describe{ \item{\code{clist}}{The object which received the signal.} \item{\code{row}}{The selected row} \item{\code{column}}{The column where the selection occured.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{n-columns} [numeric : Read / Write / Construct Only]}{ An integer value for a column. Default value: 0 } \item{\verb{reorderable} [logical : Read / Write]}{ A boolean value for determining if the user can re-order the CList's columns. Default value: FALSE } \item{\verb{row-height} [numeric : Read / Write]}{ An integer value representing the height of a row in pixels. Default value: 0 } \item{\verb{selection-mode} [\code{\link{GtkSelectionMode}} : Read / Write]}{ Sets the type of selection mode for the CList. Default value: GTK_SELECTION_NONE } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Sets the shadowing for the CList. Default value: GTK_SHADOW_NONE } \item{\verb{sort-type} [\code{\link{GtkSortType}} : Read / Write]}{ Default value: GTK_SORT_ASCENDING } \item{\verb{titles-active} [logical : Read / Write]}{ A boolean value for setting whether the column titles can be clicked. Default value: FALSE } \item{\verb{use-drag-icons} [logical : Read / Write]}{ A boolean value for setting whether to use icons during drag operations. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCList.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedGetPosition.Rd0000644000176000001440000000056312362217677016240 0ustar ripleyusers\alias{gtkPanedGetPosition} \name{gtkPanedGetPosition} \title{gtkPanedGetPosition} \description{Obtains the position of the divider between the two panes.} \usage{gtkPanedGetPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaned}} widget}} \value{[integer] position of the divider} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetPixmap.Rd0000644000176000001440000000156612362217677015665 0ustar ripleyusers\alias{gtkCListGetPixmap} \name{gtkCListGetPixmap} \title{gtkCListGetPixmap} \description{ Gets the pixmap and bitmap mask of the specified cell. The returned mask value can be NULL. \strong{WARNING: \code{gtk_clist_get_pixmap} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetPixmap(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row of the cell.} \item{\verb{column}}{The column of the cell.} } \value{ A list containing the following elements: \item{retval}{[integer] 1 if the cell's pixmap could be retrieved, 0 otherwise.} \item{\verb{pixmap}}{A pointer to a pointer to store the cell's \code{\link{GdkPixmap}}.} \item{\verb{mask}}{A pointer to a pointer to store the cell's \code{\link{GdkBitmap}} mask.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreSetValue.Rd0000644000176000001440000000113712362217677016407 0ustar ripleyusers\alias{gtkTreeStoreSetValue} \name{gtkTreeStoreSetValue} \title{gtkTreeStoreSetValue} \description{Sets the data in the cell specified by \code{iter} and \code{column}. The type of \code{value} must be convertible to the type of the column.} \usage{gtkTreeStoreSetValue(object, iter, column, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} for the row being modified} \item{\verb{column}}{column number to modify} \item{\verb{value}}{new value for the cell} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserRemoveFilter.Rd0000644000176000001440000000071412362217677017550 0ustar ripleyusers\alias{gtkFileChooserRemoveFilter} \name{gtkFileChooserRemoveFilter} \title{gtkFileChooserRemoveFilter} \description{Removes \code{filter} from the list of filters that the user can select between.} \usage{gtkFileChooserRemoveFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{filter}}{a \code{\link{GtkFileFilter}}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetAncestor.Rd0000644000176000001440000000176012362217677016406 0ustar ripleyusers\alias{gtkWidgetGetAncestor} \name{gtkWidgetGetAncestor} \title{gtkWidgetGetAncestor} \description{Gets the first ancestor of \code{widget} with type \code{widget.type}. For example, \code{gtk_widget_get_ancestor (widget, GTK_TYPE_BOX)} gets the first \code{\link{GtkBox}} that's an ancestor of \code{widget}. No reference will be added to the returned widget; it should not be unreferenced. See note about checking for a toplevel \code{\link{GtkWindow}} in the docs for \code{\link{gtkWidgetGetToplevel}}.} \usage{gtkWidgetGetAncestor(object, widget.type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{widget.type}}{ancestor type} } \details{Note that unlike \code{\link{gtkWidgetIsAncestor}}, \code{\link{gtkWidgetGetAncestor}} considers \code{widget} to be an ancestor of itself.} \value{[\code{\link{GtkWidget}}] the ancestor widget, or \code{NULL} if not found. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetAccelClosure.Rd0000644000176000001440000000062712362217677017167 0ustar ripleyusers\alias{gtkActionGetAccelClosure} \name{gtkActionGetAccelClosure} \title{gtkActionGetAccelClosure} \description{Returns the accel closure for this action.} \usage{gtkActionGetAccelClosure(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.8} \value{[\code{\link{GClosure}}] the accel closure for this action.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToServiceAsync.Rd0000644000176000001440000000141712362217677021207 0ustar ripleyusers\alias{gSocketClientConnectToServiceAsync} \name{gSocketClientConnectToServiceAsync} \title{gSocketClientConnectToServiceAsync} \description{This is the asynchronous version of \code{\link{gSocketClientConnectToService}}.} \usage{gSocketClientConnectToServiceAsync(object, domain, service, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}} \item{\verb{domain}}{a domain name} \item{\verb{service}}{the name of the service to connect to} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data for the callback} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreePostRecursive.Rd0000644000176000001440000000143612362217677016564 0ustar ripleyusers\alias{gtkCTreePostRecursive} \name{gtkCTreePostRecursive} \title{gtkCTreePostRecursive} \description{ Recursively apply a function to all nodes of the tree at or below a certain node. The function is called for each node after it has been called for that node's children. \strong{WARNING: \code{gtk_ctree_post_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreePostRecursive(object, node, func, data = NULL)} \arguments{ \item{\verb{object}}{The node where to start. \code{NULL} means to start at the root.} \item{\verb{node}}{The function to apply to each node.} \item{\verb{func}}{A closure argument given to each invocation of the function.} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetUrgencyHint.Rd0000644000176000001440000000076712362217677017135 0ustar ripleyusers\alias{gtkWindowSetUrgencyHint} \name{gtkWindowSetUrgencyHint} \title{gtkWindowSetUrgencyHint} \description{Windows may set a hint asking the desktop environment to draw the users attention to the window. This function sets this hint.} \usage{gtkWindowSetUrgencyHint(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to mark this window as urgent} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortGetModel.Rd0000644000176000001440000000065012362217677017172 0ustar ripleyusers\alias{gtkTreeModelSortGetModel} \name{gtkTreeModelSortGetModel} \title{gtkTreeModelSortGetModel} \description{Returns the model the \code{\link{GtkTreeModelSort}} is sorting.} \usage{gtkTreeModelSortGetModel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeModelSort}}}} \value{[\code{\link{GtkTreeModel}}] the "child model" being sorted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionIterIsSelected.Rd0000644000176000001440000000077012362217677020362 0ustar ripleyusers\alias{gtkTreeSelectionIterIsSelected} \name{gtkTreeSelectionIterIsSelected} \title{gtkTreeSelectionIterIsSelected} \description{Returns \code{TRUE} if the row at \code{iter} is currently selected.} \usage{gtkTreeSelectionIterIsSelected(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}}} } \value{[logical] \code{TRUE}, if \code{iter} is selected} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayBeep.Rd0000644000176000001440000000045612362217677015206 0ustar ripleyusers\alias{gdkDisplayBeep} \name{gdkDisplayBeep} \title{gdkDisplayBeep} \description{Emits a short beep on \code{display}} \usage{gdkDisplayBeep(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardRequestUris.Rd0000644000176000001440000000165712362217677017144 0ustar ripleyusers\alias{gtkClipboardRequestUris} \name{gtkClipboardRequestUris} \title{gtkClipboardRequestUris} \description{Requests the contents of the clipboard as URIs. When the URIs are later received \code{callback} will be called.} \usage{gtkClipboardRequestUris(object, callback, user.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{callback}}{a function to call when the URIs are received, or the retrieval fails. (It will always be called one way or the other.)} \item{\verb{user.data}}{user data to pass to \code{callback}.} } \details{The \code{uris} parameter to \code{callback} will contain the resulting list of URIs if the request succeeded, or \code{NULL} if it failed. This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into URI form. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByNameAsync.Rd0000644000176000001440000000160012362217677017543 0ustar ripleyusers\alias{gResolverLookupByNameAsync} \name{gResolverLookupByNameAsync} \title{gResolverLookupByNameAsync} \description{Begins asynchronously resolving \code{hostname} to determine its associated IP address(es), and eventually calls \code{callback}, which must call \code{\link{gResolverLookupByNameFinish}} to get the result. See \code{\link{gResolverLookupByName}} for more details.} \usage{gResolverLookupByNameAsync(object, hostname, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{hostname}}{the hostname to look up the address of} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{callback to call after resolution completes} \item{\verb{user.data}}{data for \code{callback}} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionConvert.Rd0000644000176000001440000000146312362217677016312 0ustar ripleyusers\alias{gtkSelectionConvert} \name{gtkSelectionConvert} \title{gtkSelectionConvert} \description{Requests the contents of a selection. When received, a "selection-received" signal will be generated.} \usage{gtkSelectionConvert(object, selection, target, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{The widget which acts as requestor} \item{\verb{selection}}{Which selection to get} \item{\verb{target}}{Form of information desired (e.g., STRING)} \item{\verb{time}}{Time of request (usually of triggering event) In emergency, you could use \verb{GDK_CURRENT_TIME}} } \value{[logical] \code{TRUE} if requested succeeded. \code{FALSE} if we could not process request. (e.g., there was already a request in process for this widget).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconActivatable.Rd0000644000176000001440000000074612362217677017555 0ustar ripleyusers\alias{gtkEntrySetIconActivatable} \name{gtkEntrySetIconActivatable} \title{gtkEntrySetIconActivatable} \description{Sets whether the icon is activatable.} \usage{gtkEntrySetIconActivatable(object, icon.pos, activatable)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} \item{\verb{activatable}}{\code{TRUE} if the icon should be activatable} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationNew.Rd0000644000176000001440000000073412362217677016461 0ustar ripleyusers\alias{gtkMountOperationNew} \name{gtkMountOperationNew} \title{gtkMountOperationNew} \description{Creates a new \code{\link{GtkMountOperation}}} \usage{gtkMountOperationNew(parent = NULL)} \arguments{\item{\verb{parent}}{transient parent of the window, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \details{Since 2.14} \value{[\code{\link{GMountOperation}}] a new \code{\link{GtkMountOperation}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonReleased.Rd0000644000176000001440000000105112362217677015735 0ustar ripleyusers\alias{gtkButtonReleased} \name{gtkButtonReleased} \title{gtkButtonReleased} \description{ Emits a \code{\link{gtkButtonReleased}} signal to the given \code{\link{GtkButton}}. \strong{WARNING: \code{gtk_button_released} has been deprecated since version 2.20 and should not be used in newly-written code. Use the \verb{"button-release-event"} signal.} } \usage{gtkButtonReleased(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want to send the signal to.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEqual.Rd0000644000176000001440000000122012362217677014323 0ustar ripleyusers\alias{gFileEqual} \name{gFileEqual} \title{gFileEqual} \description{Checks equality of two given \code{\link{GFile}}s. Note that two \code{\link{GFile}}s that differ can still refer to the same file on the filesystem due to various forms of filename aliasing.} \usage{gFileEqual(object, file2)} \arguments{ \item{\verb{object}}{the first \code{\link{GFile}}.} \item{\verb{file2}}{the second \code{\link{GFile}}.} } \details{This call does no blocking i/o.} \value{[logical] \code{TRUE} if \code{file1} and \code{file2} are equal. \code{FALSE} if either is not a \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetSurface.Rd0000644000176000001440000000125712362217677016723 0ustar ripleyusers\alias{cairoPatternGetSurface} \name{cairoPatternGetSurface} \title{cairoPatternGetSurface} \description{Gets the surface of a surface pattern.} \usage{cairoPatternGetSurface(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \details{ Since 1.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS}, or \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH} if the pattern is not a surface pattern.} \item{\verb{surface}}{[\code{\link{CairoSurface}}] return value for surface of pattern, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetName.Rd0000644000176000001440000000064212362217677015433 0ustar ripleyusers\alias{gFileInfoSetName} \name{gFileInfoSetName} \title{gFileInfoSetName} \description{Sets the name attribute for the current \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_STANDARD_NAME}.} \usage{gFileInfoSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{name}}{a string containing a name.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoDup.Rd0000644000176000001440000000053112362217677014465 0ustar ripleyusers\alias{gAppInfoDup} \name{gAppInfoDup} \title{gAppInfoDup} \description{Creates a duplicate of a \code{\link{GAppInfo}}.} \usage{gAppInfoDup(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[\code{\link{GAppInfo}}] a duplicate of \code{appinfo}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeStore.Rd0000644000176000001440000000644712362217677014707 0ustar ripleyusers\alias{GtkTreeStore} \alias{gtkTreeStore} \name{GtkTreeStore} \title{GtkTreeStore} \description{A tree-like data structure that can be used with the GtkTreeView} \section{Methods and Functions}{ \code{\link{gtkTreeStoreNew}(...)}\cr \code{\link{gtkTreeStoreNewv}(types)}\cr \code{\link{gtkTreeStoreSetColumnTypes}(object, types)}\cr \code{\link{gtkTreeStoreSetValue}(object, iter, column, value)}\cr \code{\link{gtkTreeStoreSet}(object, iter, ...)}\cr \code{\link{gtkTreeStoreSetValuesv}(object, iter, columns, values)}\cr \code{\link{gtkTreeStoreRemove}(object, iter)}\cr \code{\link{gtkTreeStoreInsert}(object, parent = NULL, position)}\cr \code{\link{gtkTreeStoreInsertBefore}(object, parent, sibling)}\cr \code{\link{gtkTreeStoreInsertAfter}(object, parent, sibling)}\cr \code{\link{gtkTreeStoreInsertWithValues}(object, parent, position, ...)}\cr \code{\link{gtkTreeStoreInsertWithValuesv}(object, parent, position, columns, values)}\cr \code{\link{gtkTreeStorePrepend}(object, parent = NULL)}\cr \code{\link{gtkTreeStoreAppend}(object, parent = NULL)}\cr \code{\link{gtkTreeStoreIsAncestor}(object, iter, descendant)}\cr \code{\link{gtkTreeStoreIterDepth}(object, iter)}\cr \code{\link{gtkTreeStoreClear}(object)}\cr \code{\link{gtkTreeStoreIterIsValid}(object, iter)}\cr \code{\link{gtkTreeStoreReorder}(object, parent, new.order)}\cr \code{\link{gtkTreeStoreSwap}(object, a, b)}\cr \code{\link{gtkTreeStoreMoveBefore}(object, iter, position = NULL)}\cr \code{\link{gtkTreeStoreMoveAfter}(object, iter, position = NULL)}\cr \code{gtkTreeStore(..., types)} } \section{Hierarchy}{\preformatted{GObject +----GtkTreeStore}} \section{Interfaces}{GtkTreeStore implements \code{\link{GtkTreeModel}}, \code{\link{GtkTreeDragSource}}, \code{\link{GtkTreeDragDest}}, \code{\link{GtkTreeSortable}} and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkTreeStore}} object is a list model for use with a \code{\link{GtkTreeView}} widget. It implements the \code{\link{GtkTreeModel}} interface, and consequentialy, can use all of the methods available there. It also implements the \code{\link{GtkTreeSortable}} interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces.} \section{GtkTreeStore as GtkBuildable}{The GtkTreeStore implementation of the GtkBuildable interface allows to specify the model columns with a element that may contain multiple elements, each specifying one model column. The "type" attribute specifies the data type for the column. \emph{A UI Definition fragment for a tree store}\preformatted{ }} \section{Structures}{\describe{\item{\verb{GtkTreeStore}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkTreeStore} is the result of collapsing the constructors of \code{GtkTreeStore} (\code{\link{gtkTreeStoreNew}}, \code{\link{gtkTreeStoreNewv}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeStore.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeModel}} \code{\link{GtkTreeStore}} } \keyword{internal} RGtk2/man/pangoGlyphStringIndexToX.Rd0000644000176000001440000000206512362217677017237 0ustar ripleyusers\alias{pangoGlyphStringIndexToX} \name{pangoGlyphStringIndexToX} \title{pangoGlyphStringIndexToX} \description{Converts from character position to x position. (X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions.} \usage{pangoGlyphStringIndexToX(object, text, analysis, index, trailing)} \arguments{ \item{\verb{object}}{[\code{\link{PangoGlyphString}}] the glyphs return from \code{\link{pangoShape}}} \item{\verb{text}}{[char] the text for the run} \item{\verb{analysis}}{[\code{\link{PangoAnalysis}}] the analysis information return from \code{\link{pangoItemize}}} \item{\verb{index}}{[integer] the byte index within \code{text}} \item{\verb{trailing}}{[logical] whether we should compute the result for the beginning (\code{FALSE}) or end (\code{TRUE}) of the character.} } \value{ A list containing the following elements: \item{\verb{x.pos}}{[integer] location to store result} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatIsScalable.Rd0000644000176000001440000000113212362217677017326 0ustar ripleyusers\alias{gdkPixbufFormatIsScalable} \name{gdkPixbufFormatIsScalable} \title{gdkPixbufFormatIsScalable} \description{Returns whether this image format is scalable. If a file is in a scalable format, it is preferable to load it at the desired size, rather than loading it at the default size and scaling the resulting pixbuf to the desired size.} \usage{gdkPixbufFormatIsScalable(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.6} \value{[logical] whether this image format is scalable.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHasScreen.Rd0000644000176000001440000000110512362217677016034 0ustar ripleyusers\alias{gtkWidgetHasScreen} \name{gtkWidgetHasScreen} \title{gtkWidgetHasScreen} \description{Checks whether there is a \code{\link{GdkScreen}} is associated with this widget. All toplevel widgets have an associated screen, and all widgets added into a hierarchy with a toplevel window at the top.} \usage{gtkWidgetHasScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.2} \value{[logical] \code{TRUE} if there is a \code{\link{GdkScreen}} associcated with the widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetNumber.Rd0000644000176000001440000000066212362217677016034 0ustar ripleyusers\alias{gdkScreenGetNumber} \name{gdkScreenGetNumber} \title{gdkScreenGetNumber} \description{Gets the index of \code{screen} among the screens in the display to which it belongs. (See \code{\link{gdkScreenGetDisplay}})} \usage{gdkScreenGetNumber(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] the index} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSupportsThreadContexts.Rd0000644000176000001440000000111012362217677017771 0ustar ripleyusers\alias{gFileSupportsThreadContexts} \name{gFileSupportsThreadContexts} \title{gFileSupportsThreadContexts} \description{Checks if \code{file} supports thread-default contexts. If this returns \code{FALSE}, you cannot perform asynchronous operations on \code{file} in a thread that has a thread-default context.} \usage{gFileSupportsThreadContexts(object)} \arguments{\item{\verb{object}}{a \code{\link{GFile}}.}} \details{Since 2.22} \value{[logical] Whether or not \code{file} supports thread-default contexts.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFillExtents.Rd0000644000176000001440000000257112362217677015576 0ustar ripleyusers\alias{cairoFillExtents} \name{cairoFillExtents} \title{cairoFillExtents} \description{Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a \code{\link{cairoFill}} operation given the current path and fill parameters. If the current path is empty, returns an empty rectangle ((0,0), (0,0)). Surface dimensions and clipping are not taken into account.} \usage{cairoFillExtents(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Contrast with \code{\link{cairoPathExtents}}, which is similar, but returns non-zero extents for some paths with no inked area, (such as a simple line segment). Note that \code{\link{cairoFillExtents}} must necessarily do more work to compute the precise inked areas in light of the fill rule, so \code{\link{cairoPathExtents}} may be more desirable for sake of performance if the non-inked path extents are desired. See \code{\link{cairoFill}}, \code{\link{cairoSetFillRule}} and \code{\link{cairoFillPreserve}}. } \value{ A list containing the following elements: \item{\verb{x1}}{[numeric] left of the resulting extents} \item{\verb{y1}}{[numeric] top of the resulting extents} \item{\verb{x2}}{[numeric] right of the resulting extents} \item{\verb{y2}}{[numeric] bottom of the resulting extents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectableEnumerate.Rd0000644000176000001440000000075612362217677017725 0ustar ripleyusers\alias{gSocketConnectableEnumerate} \name{gSocketConnectableEnumerate} \title{gSocketConnectableEnumerate} \description{Creates a \code{\link{GSocketAddressEnumerator}} for \code{connectable}.} \usage{gSocketConnectableEnumerate(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketConnectable}}}} \details{Since 2.22} \value{[\code{\link{GSocketAddressEnumerator}}] a new \code{\link{GSocketAddressEnumerator}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowSetShadowType.Rd0000644000176000001440000000073712362217677020452 0ustar ripleyusers\alias{gtkScrolledWindowSetShadowType} \name{gtkScrolledWindowSetShadowType} \title{gtkScrolledWindowSetShadowType} \description{Changes the type of shadow drawn around the contents of \code{scrolled.window}.} \usage{gtkScrolledWindowSetShadowType(object, type)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{type}}{kind of shadow to draw around scrolled window contents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetIconStock.Rd0000644000176000001440000000113612362217677016167 0ustar ripleyusers\alias{gtkDragSetIconStock} \name{gtkDragSetIconStock} \title{gtkDragSetIconStock} \description{Sets the icon for a given drag from a stock ID.} \usage{gtkDragSetIconStock(object, stock.id, hot.x, hot.y)} \arguments{ \item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)} \item{\verb{stock.id}}{the ID of the stock icon to use for the drag.} \item{\verb{hot.x}}{the X offset within the icon of the hotspot.} \item{\verb{hot.y}}{the Y offset within the icon of the hotspot.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceSetFallbackResolution.Rd0000644000176000001440000000315512362217677021104 0ustar ripleyusers\alias{cairoSurfaceSetFallbackResolution} \name{cairoSurfaceSetFallbackResolution} \title{cairoSurfaceSetFallbackResolution} \description{Set the horizontal and vertical resolution for image fallbacks.} \usage{cairoSurfaceSetFallbackResolution(surface, x.pixels.per.inch, y.pixels.per.inch)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{x.pixels.per.inch}}{[numeric] horizontal setting for pixels per inch} \item{\verb{y.pixels.per.inch}}{[numeric] vertical setting for pixels per inch} } \details{When certain operations aren't supported natively by a backend, cairo will fallback by rendering operations to an image and then overlaying that image onto the output. For backends that are natively vector-oriented, this function can be used to set the resolution used for these image fallbacks, (larger values will result in more detailed images, but also larger file sizes). Some examples of natively vector-oriented backends are the ps, pdf, and svg backends. For backends that are natively raster-oriented, image fallbacks are still possible, but they are always performed at the native device resolution. So this function has no effect on those backends. Note: The fallback resolution only takes effect at the time of completing a page (with \code{\link{cairoShowPage}} or \code{\link{cairoCopyPage}}) so there is currently no way to have more than one fallback resolution in effect on a single page. The default fallback resoultion is 300 pixels per inch in both dimensions. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetSpacing.Rd0000644000176000001440000000062112362217677017674 0ustar ripleyusers\alias{gtkTreeViewColumnGetSpacing} \name{gtkTreeViewColumnGetSpacing} \title{gtkTreeViewColumnGetSpacing} \description{Returns the spacing of \code{tree.column}.} \usage{gtkTreeViewColumnGetSpacing(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[integer] the spacing of \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQuerySettableAttributes.Rd0000644000176000001440000000243412362217677020124 0ustar ripleyusers\alias{gFileQuerySettableAttributes} \name{gFileQuerySettableAttributes} \title{gFileQuerySettableAttributes} \description{Obtain the list of settable attributes for the file.} \usage{gFileQuerySettableAttributes(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Returns the type and full attribute name of all the attributes that can be set on this file. This doesn't mean setting it will always succeed though, you might get an access failure, or some specific file may not support a specific attribute. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileAttributeInfoList}}] a \code{\link{GFileAttributeInfoList}} describing the settable attributes. When you are done with it,} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetIcon.Rd0000644000176000001440000000075112362217677015543 0ustar ripleyusers\alias{gtkWindowGetIcon} \name{gtkWindowGetIcon} \title{gtkWindowGetIcon} \description{Gets the value set by \code{\link{gtkWindowSetIcon}} (or if you've called \code{\link{gtkWindowSetIconList}}, gets the first icon in the icon list).} \usage{gtkWindowGetIcon(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GdkPixbuf}}] icon for window. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetWidget.Rd0000644000176000001440000000226712362217677016443 0ustar ripleyusers\alias{gtkUIManagerGetWidget} \name{gtkUIManagerGetWidget} \title{gtkUIManagerGetWidget} \description{Looks up a widget by following a path. The path consists of the names specified in the XML description of the UI. separated by '/'. Elements which don't have a name or action attribute in the XML (e.g. ) can be addressed by their XML element name (e.g. "popup"). The root element ("/ui") can be omitted in the path.} \usage{gtkUIManagerGetWidget(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}}} \item{\verb{path}}{a path} } \details{Note that the widget found by following a path that ends in a element is the menuitem to which the menu is attached, not the menu itself. Also note that the widgets constructed by a ui manager are not tied to the lifecycle of the ui manager. If you add the widgets returned by this function to some container or explicitly ref them, they will survive the destruction of the ui manager. Since 2.4} \value{[\code{\link{GtkWidget}}] the widget found by following the path, or \code{NULL} if no widget was found. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetRealized.Rd0000644000176000001440000000077612362217677016411 0ustar ripleyusers\alias{gtkWidgetSetRealized} \name{gtkWidgetSetRealized} \title{gtkWidgetSetRealized} \description{Marks the widget as being realized.} \usage{gtkWidgetSetRealized(object, realized)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{realized}}{\code{TRUE} to mark the widget as realized} } \details{This function should only ever be called in a derived widget's "realize" or "unrealize" implementation. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeDragDestRowDropPossible.Rd0000644000176000001440000000152012362217677020351 0ustar ripleyusers\alias{gtkTreeDragDestRowDropPossible} \name{gtkTreeDragDestRowDropPossible} \title{gtkTreeDragDestRowDropPossible} \description{Determines whether a drop is possible before the given \code{dest.path}, at the same depth as \code{dest.path}. i.e., can we drop the data in \code{selection.data} at that location. \code{dest.path} does not have to exist; the return value will almost certainly be \code{FALSE} if the parent of \code{dest.path} doesn't exist, though.} \usage{gtkTreeDragDestRowDropPossible(object, dest.path, selection.data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeDragDest}}} \item{\verb{dest.path}}{destination row} \item{\verb{selection.data}}{the data being dragged} } \value{[logical] \code{TRUE} if a drop is possible before \code{dest.path}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressNewLoopback.Rd0000644000176000001440000000076612362217677017024 0ustar ripleyusers\alias{gInetAddressNewLoopback} \name{gInetAddressNewLoopback} \title{gInetAddressNewLoopback} \description{Creates a \code{\link{GInetAddress}} for the loopback address for \code{family}.} \usage{gInetAddressNewLoopback(family)} \arguments{\item{\verb{family}}{the address family}} \details{Since 2.22} \value{[\code{\link{GInetAddress}}] a new \code{\link{GInetAddress}} corresponding to the loopback address for \code{family}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetErrorBell.Rd0000644000176000001440000000120612362217677016053 0ustar ripleyusers\alias{gtkWidgetErrorBell} \name{gtkWidgetErrorBell} \title{gtkWidgetErrorBell} \description{Notifies the user about an input-related error on this widget. If the \verb{"gtk-error-bell"} setting is \code{TRUE}, it calls \code{\link{gdkWindowBeep}}, otherwise it does nothing.} \usage{gtkWidgetErrorBell(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Note that the effect of \code{\link{gdkWindowBeep}} can be configured in many ways, depending on the windowing backend and the desktop environment or window manager that is used. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetMenuLabel.Rd0000644000176000001440000000110612362217677017023 0ustar ripleyusers\alias{gtkNotebookGetMenuLabel} \name{gtkNotebookGetMenuLabel} \title{gtkNotebookGetMenuLabel} \description{Retrieves the menu label widget of the page containing \code{child}.} \usage{gtkNotebookGetMenuLabel(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a widget contained in a page of \code{notebook}} } \value{[\code{\link{GtkWidget}}] the menu label, or \code{NULL} if the notebook page does not have a menu label other than the default (the tab label).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTableAttach.Rd0000644000176000001440000000276612362217677015207 0ustar ripleyusers\alias{gtkTableAttach} \name{gtkTableAttach} \title{gtkTableAttach} \description{Adds a widget to a table. The number of 'cells' that a widget will occupy is specified by \code{left.attach}, \code{right.attach}, \code{top.attach} and \code{bottom.attach}. These each represent the leftmost, rightmost, uppermost and lowest column and row numbers of the table. (Columns and rows are indexed from zero).} \usage{gtkTableAttach(object, child, left.attach, right.attach, top.attach, bottom.attach, xoptions = 5, yoptions = 5, xpadding = 0, ypadding = 0)} \arguments{ \item{\verb{object}}{The \code{\link{GtkTable}} to add a new widget to.} \item{\verb{child}}{The widget to add.} \item{\verb{left.attach}}{the column number to attach the left side of a child widget to.} \item{\verb{right.attach}}{the column number to attach the right side of a child widget to.} \item{\verb{top.attach}}{the row number to attach the top of a child widget to.} \item{\verb{bottom.attach}}{the row number to attach the bottom of a child widget to.} \item{\verb{xoptions}}{Used to specify the properties of the child widget when the table is resized.} \item{\verb{yoptions}}{The same as xoptions, except this field determines behaviour of vertical resizing.} \item{\verb{xpadding}}{An integer value specifying the padding on the left and right of the widget being added to the table.} \item{\verb{ypadding}}{The amount of padding above and below the child widget.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerLookupItem.Rd0000644000176000001440000000203512362217677017544 0ustar ripleyusers\alias{gtkRecentManagerLookupItem} \name{gtkRecentManagerLookupItem} \title{gtkRecentManagerLookupItem} \description{Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name.} \usage{gtkRecentManagerLookupItem(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{uri}}{a URI} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[\code{\link{GtkRecentInfo}}] a \code{\link{GtkRecentInfo}} structure containing information about the resource pointed by \code{uri}, or \code{NULL} if the URI was not registered in the recently used resources list. Free with \code{\link{gtkRecentInfoUnref}}.} \item{\verb{error}}{a return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupByName.Rd0000644000176000001440000000355412362217677016557 0ustar ripleyusers\alias{gResolverLookupByName} \name{gResolverLookupByName} \title{gResolverLookupByName} \description{Synchronously resolves \code{hostname} to determine its associated IP address(es). \code{hostname} may be an ASCII-only or UTF-8 hostname, or the textual form of an IP address (in which case this just becomes a wrapper around \code{\link{gInetAddressNewFromString}}).} \usage{gResolverLookupByName(object, hostname, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{hostname}}{the hostname to look up} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{On success, \code{\link{gResolverLookupByName}} will return a \verb{list} of \code{\link{GInetAddress}}, sorted in order of preference. (That is, you should attempt to connect to the first address first, then the second if the first fails, etc.) If the DNS resolution fails, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If \code{cancellable} is non-\code{NULL}, it can be used to cancel the operation, in which case \code{error} (if non-\code{NULL}) will be set to \code{G_IO_ERROR_CANCELLED}. If you are planning to connect to a socket on the resolved IP address, it may be easier to create a \code{\link{GNetworkAddress}} and use its \code{\link{GSocketConnectable}} interface. Since 2.22} \value{ A list containing the following elements: \item{retval}{[list] a \verb{list} of \code{\link{GInetAddress}}, or \code{NULL} on error. You must unref each of the addresses and free the list when you are done with it. (You can use \code{\link{gResolverFreeAddresses}} to do this.)} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gContentTypeGetMimeType.Rd0000644000176000001440000000064612362217677017055 0ustar ripleyusers\alias{gContentTypeGetMimeType} \name{gContentTypeGetMimeType} \title{gContentTypeGetMimeType} \description{Gets the mime-type for the content type. If one is registered} \usage{gContentTypeGetMimeType(type)} \arguments{\item{\verb{type}}{a content type string.}} \value{[char] the registered mime-type for the given \code{type}, or NULL if unknown.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionRemoveAll.Rd0000644000176000001440000000067612362217677016565 0ustar ripleyusers\alias{gtkSelectionRemoveAll} \name{gtkSelectionRemoveAll} \title{gtkSelectionRemoveAll} \description{Removes all handlers and unsets ownership of all selections for a widget. Called when widget is being destroyed. This function will not generally be called by applications.} \usage{gtkSelectionRemoveAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemToggleSizeAllocate.Rd0000644000176000001440000000065612362217677020214 0ustar ripleyusers\alias{gtkMenuItemToggleSizeAllocate} \name{gtkMenuItemToggleSizeAllocate} \title{gtkMenuItemToggleSizeAllocate} \description{Emits the "toggle_size_allocate" signal on the given item.} \usage{gtkMenuItemToggleSizeAllocate(object, allocation)} \arguments{ \item{\verb{object}}{the menu item.} \item{\verb{allocation}}{the allocation to use as signal data.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRemoveKeyEventListener.Rd0000644000176000001440000000054712362217677017436 0ustar ripleyusers\alias{atkRemoveKeyEventListener} \name{atkRemoveKeyEventListener} \title{atkRemoveKeyEventListener} \description{Removes the specified event listener} \usage{atkRemoveKeyEventListener(listener.id)} \arguments{\item{\verb{listener.id}}{[numeric] the id of the event listener to remove}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetUserData.Rd0000644000176000001440000000151212362217677016353 0ustar ripleyusers\alias{gdkWindowSetUserData} \name{gdkWindowSetUserData} \title{gdkWindowSetUserData} \description{For most purposes this function is deprecated in favor of \code{\link{gObjectSetData}}. However, for historical reasons GTK+ stores the \code{\link{GtkWidget}} that owns a \code{\link{GdkWindow}} as user data on the \code{\link{GdkWindow}}. So, custom widget implementations should use this function for that. If GTK+ receives an event for a \code{\link{GdkWindow}}, and the user data for the window is non-\code{NULL}, GTK+ will assume the user data is a \code{\link{GtkWidget}}, and forward the event to that widget.} \usage{gdkWindowSetUserData(object, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{user.data}}{user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetUserData.Rd0000644000176000001440000000125312362217677017012 0ustar ripleyusers\alias{cairoSurfaceGetUserData} \name{cairoSurfaceGetUserData} \title{cairoSurfaceGetUserData} \description{Return user data previously attached to \code{surface} using the specified key. If no user data has been attached with the given key this function returns \code{NULL}.} \usage{cairoSurfaceGetUserData(surface, key)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the the \code{\link{CairoUserDataKey}} the user data was attached to} } \value{[R object] the user data previously attached or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetContentType.Rd0000644000176000001440000000074612362217677017034 0ustar ripleyusers\alias{gFileInfoSetContentType} \name{gFileInfoSetContentType} \title{gFileInfoSetContentType} \description{Sets the content type attribute for a given \code{\link{GFileInfo}}. See \code{G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE}.} \usage{gFileInfoSetContentType(object, content.type)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{content.type}}{a content type. See \verb{GContentType}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableCutClipboard.Rd0000644000176000001440000000057712362217677017036 0ustar ripleyusers\alias{gtkEditableCutClipboard} \name{gtkEditableCutClipboard} \title{gtkEditableCutClipboard} \description{Removes the contents of the currently selected content in the editable and puts it on the clipboard.} \usage{gtkEditableCutClipboard(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveHasVolumes.Rd0000644000176000001440000000060712362217677015544 0ustar ripleyusers\alias{gDriveHasVolumes} \name{gDriveHasVolumes} \title{gDriveHasVolumes} \description{Check if \code{drive} has any mountable volumes.} \usage{gDriveHasVolumes(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if the \code{drive} contains volumes, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderConnectSignals.Rd0000644000176000001440000000223712362217677017245 0ustar ripleyusers\alias{gtkBuilderConnectSignals} \name{gtkBuilderConnectSignals} \title{gtkBuilderConnectSignals} \description{This method is a simpler variation of \code{\link{gtkBuilderConnectSignalsFull}}. It uses \verb{GModule}'s introspective features (by opening the module \code{NULL}) to look at the application's symbol table. From here it tries to match the signal handler names given in the interface description with symbols in the application and connects the signals.} \usage{gtkBuilderConnectSignals(object, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuilder}}} \item{\verb{user.data}}{a pointer to a structure sent in as user data to all signals} } \details{Note that this function will not work correctly if \verb{GModule} is not supported on the platform. When compiling applications for Windows, you must declare signal callbacks with \verb{G_MODULE_EXPORT}, or they will not be put in the symbol table. On Linux and Unices, this is not necessary; applications should instead be compiled with the -Wl,--export-dynamic CFLAGS, and linked against gmodule-export-2.0. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeExportToGnode.Rd0000644000176000001440000000120012362217677016475 0ustar ripleyusers\alias{gtkCTreeExportToGnode} \name{gtkCTreeExportToGnode} \title{gtkCTreeExportToGnode} \description{ FIXME \strong{WARNING: \code{gtk_ctree_export_to_gnode} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeExportToGnode(object, parent, sibling, node, func, data = NULL)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{parent}}{\emph{undocumented }} \item{\verb{sibling}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{func}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathNewFirst.Rd0000644000176000001440000000054312362217677016220 0ustar ripleyusers\alias{gtkTreePathNewFirst} \name{gtkTreePathNewFirst} \title{gtkTreePathNewFirst} \description{Creates a new \code{\link{GtkTreePath}}. The string representation of this path is "0"} \usage{gtkTreePathNewFirst()} \value{[\code{\link{GtkTreePath}}] A new \code{\link{GtkTreePath}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupsActivate.Rd0000644000176000001440000000137112362217677016712 0ustar ripleyusers\alias{gtkAccelGroupsActivate} \name{gtkAccelGroupsActivate} \title{gtkAccelGroupsActivate} \description{Finds the first accelerator in any \code{\link{GtkAccelGroup}} attached to \code{object} that matches \code{accel.key} and \code{accel.mods}, and activates that accelerator.} \usage{gtkAccelGroupsActivate(object, accel.key, accel.mods)} \arguments{ \item{\verb{object}}{the \code{\link{GObject}}, usually a \code{\link{GtkWindow}}, on which to activate the accelerator.} \item{\verb{accel.key}}{accelerator keyval from a key event} \item{\verb{accel.mods}}{keyboard state mask from a key event} } \value{[logical] \code{TRUE} if an accelerator was activated and handled this keypress} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoClosePath.Rd0000644000176000001440000000257712362217677015225 0ustar ripleyusers\alias{cairoClosePath} \name{cairoClosePath} \title{cairoClosePath} \description{Adds a line segment to the path from the current point to the beginning of the current sub-path, (the most recent point passed to \code{\link{cairoMoveTo}}), and closes this sub-path. After this call the current point will be at the joined endpoint of the sub-path.} \usage{cairoClosePath(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{The behavior of \code{\link{cairoClosePath}} is distinct from simply calling \code{\link{cairoLineTo}} with the equivalent coordinate in the case of stroking. When a closed sub-path is stroked, there are no caps on the ends of the sub-path. Instead, there is a line join connecting the final and initial segments of the sub-path. If there is no current point before the call to \code{\link{cairoClosePath}}, this function will have no effect. Note: As of cairo version 1.2.4 any call to \code{\link{cairoClosePath}} will place an explicit MOVE_TO element into the path immediately after the CLOSE_PATH element, (which can be seen in \code{\link{cairoCopyPath}} for example). This can simplify path processing in some cases as it may not be necessary to save the "last move_to point" during processing as the MOVE_TO immediately after the CLOSE_PATH will provide that point. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertWithTags.Rd0000644000176000001440000000144112362217677017736 0ustar ripleyusers\alias{gtkTextBufferInsertWithTags} \name{gtkTextBufferInsertWithTags} \title{gtkTextBufferInsertWithTags} \description{Inserts \code{text} into \code{buffer} at \code{iter}, applying the list of tags to the newly-inserted text. The last tag specified must be NULL to terminate the list. Equivalent to calling \code{\link{gtkTextBufferInsert}}, then \code{\link{gtkTextBufferApplyTag}} on the inserted text; \code{\link{gtkTextBufferInsertWithTags}} is just a convenience function.} \usage{gtkTextBufferInsertWithTags(object, iter, text, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{an iterator in \code{buffer}} \item{\verb{text}}{UTF-8 text} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetChildFocus.Rd0000644000176000001440000000353012362217677016210 0ustar ripleyusers\alias{gtkWidgetChildFocus} \name{gtkWidgetChildFocus} \title{gtkWidgetChildFocus} \description{This function is used by custom widget implementations; if you're writing an app, you'd use \code{\link{gtkWidgetGrabFocus}} to move the focus to a particular widget, and \code{\link{gtkContainerSetFocusChain}} to change the focus tab order. So you may want to investigate those functions instead.} \usage{gtkWidgetChildFocus(object, direction)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{direction}}{direction of focus movement} } \details{\code{\link{gtkWidgetChildFocus}} is called by containers as the user moves around the window using keyboard shortcuts. \code{direction} indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). \code{\link{gtkWidgetChildFocus}} emits the \verb{"focus"} signal; widgets override the default handler for this signal in order to implement appropriate focus behavior. The default ::focus handler for a widget should return \code{TRUE} if moving in \code{direction} left the focus on a focusable location inside that widget, and \code{FALSE} if moving in \code{direction} moved the focus outside the widget. If returning \code{TRUE}, widgets normally call \code{\link{gtkWidgetGrabFocus}} to place the focus accordingly; if returning \code{FALSE}, they don't modify the current focus location. This function replaces \code{gtkContainerFocus()} from GTK+ 1.2. It was necessary to check that the child was visible, sensitive, and focusable before calling \code{gtkContainerFocus()}. \code{\link{gtkWidgetChildFocus}} returns \code{FALSE} if the widget is not currently in a focusable state, so there's no need for those checks.} \value{[logical] \code{TRUE} if focus ended up inside \code{widget}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetHasTooltip.Rd0000644000176000001440000000072212362217677016713 0ustar ripleyusers\alias{gtkWidgetGetHasTooltip} \name{gtkWidgetGetHasTooltip} \title{gtkWidgetGetHasTooltip} \description{Returns the current value of the has-tooltip property. See GtkWidget:has-tooltip for more information.} \usage{gtkWidgetGetHasTooltip(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.12} \value{[logical] current value of has-tooltip on \code{widget}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultGetOpResGssize.Rd0000644000176000001440000000066612362217677020715 0ustar ripleyusers\alias{gSimpleAsyncResultGetOpResGssize} \name{gSimpleAsyncResultGetOpResGssize} \title{gSimpleAsyncResultGetOpResGssize} \description{Gets a gssize from the asynchronous result.} \usage{gSimpleAsyncResultGetOpResGssize(object)} \arguments{\item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.}} \value{[integer] a gssize returned from the asynchronous function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedOutputStreamNew.Rd0000644000176000001440000000072012362217677017251 0ustar ripleyusers\alias{gBufferedOutputStreamNew} \name{gBufferedOutputStreamNew} \title{gBufferedOutputStreamNew} \description{Creates a new buffered output stream for a base stream.} \usage{gBufferedOutputStreamNew(base.stream = NULL)} \arguments{\item{\verb{base.stream}}{a \code{\link{GOutputStream}}.}} \value{[\code{\link{GOutputStream}}] a \code{\link{GOutputStream}} for the given \code{base.stream}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionGetWeight.Rd0000644000176000001440000000117212362217677020262 0ustar ripleyusers\alias{pangoFontDescriptionGetWeight} \name{pangoFontDescriptionGetWeight} \title{pangoFontDescriptionGetWeight} \description{Gets the weight field of a font description. See \code{\link{pangoFontDescriptionSetWeight}}.} \usage{pangoFontDescriptionGetWeight(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}}} \value{[\code{\link{PangoWeight}}] the weight field for the font description. Use \code{\link{pangoFontDescriptionGetSetFields}} to find out if the field was explicitly set or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkProgressBar.Rd0000644000176000001440000002032112362217677015207 0ustar ripleyusers\alias{GtkProgressBar} \alias{gtkProgressBar} \alias{GtkProgressBarOrientation} \alias{GtkProgressBarStyle} \name{GtkProgressBar} \title{GtkProgressBar} \description{A widget which indicates progress visually} \section{Methods and Functions}{ \code{\link{gtkProgressBarNew}(show = TRUE)}\cr \code{\link{gtkProgressBarPulse}(object)}\cr \code{\link{gtkProgressBarSetText}(object, text)}\cr \code{\link{gtkProgressBarSetFraction}(object, fraction)}\cr \code{\link{gtkProgressBarSetPulseStep}(object, fraction)}\cr \code{\link{gtkProgressBarSetOrientation}(object, orientation)}\cr \code{\link{gtkProgressBarSetEllipsize}(object, mode)}\cr \code{\link{gtkProgressBarGetText}(object)}\cr \code{\link{gtkProgressBarGetFraction}(object)}\cr \code{\link{gtkProgressBarGetPulseStep}(object)}\cr \code{\link{gtkProgressBarGetOrientation}(object)}\cr \code{\link{gtkProgressBarGetEllipsize}(object)}\cr \code{\link{gtkProgressBarNewWithAdjustment}(adjustment = NULL, show = TRUE)}\cr \code{\link{gtkProgressBarSetBarStyle}(object, style)}\cr \code{\link{gtkProgressBarSetDiscreteBlocks}(object, blocks)}\cr \code{\link{gtkProgressBarSetActivityStep}(object, step)}\cr \code{\link{gtkProgressBarSetActivityBlocks}(object, blocks)}\cr \code{\link{gtkProgressBarUpdate}(object, percentage)}\cr \code{gtkProgressBar(adjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkProgress +----GtkProgressBar}} \section{Interfaces}{GtkProgressBar implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkProgressBar}} is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The \code{\link{GtkProgressBar}} can be used in two different modes: percentage mode and activity mode. When an application can determine how much work needs to take place (e.g. read a fixed number of bytes from a file) and can monitor its progress, it can use the \code{\link{GtkProgressBar}} in percentage mode and the user sees a growing bar indicating the percentage of the work that has been completed. In this mode, the application is required to call \code{\link{gtkProgressBarSetFraction}} periodically to update the progress bar. When an application has no accurate way of knowing the amount of work to do, it can use the \code{\link{GtkProgressBar}} in activity mode, which shows activity by a block moving back and forth within the progress area. In this mode, the application is required to call \code{\link{gtkProgressBarPulse}} perodically to update the progress bar. There is quite a bit of flexibility provided to control the appearance of the \code{\link{GtkProgressBar}}. Functions are provided to control the orientation of the bar, optional text can be displayed along with the bar, and the step size used in activity mode can be set. \strong{PLEASE NOTE:} The \code{\link{GtkProgressBar}}/\code{\link{GtkProgress}} API in GTK 1.2 was bloated, needlessly complex and hard to use properly. Therefore \code{\link{GtkProgress}} has been deprecated completely and the \code{\link{GtkProgressBar}} API has been reduced to the following 10 functions: \code{\link{gtkProgressBarNew}}, \code{\link{gtkProgressBarPulse}}, \code{\link{gtkProgressBarSetText}}, \code{\link{gtkProgressBarSetFraction}}, \code{\link{gtkProgressBarSetPulseStep}}, \code{\link{gtkProgressBarSetOrientation}}, \code{\link{gtkProgressBarGetText}}, \code{\link{gtkProgressBarGetFraction}}, \code{\link{gtkProgressBarGetPulseStep}}, \code{\link{gtkProgressBarGetOrientation}}. These have been grouped at the beginning of this section, followed by a large chunk of deprecated 1.2 compatibility functions.} \section{Structures}{\describe{\item{\verb{GtkProgressBar}}{ The \code{\link{GtkProgressBar}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkProgressBar} is the result of collapsing the constructors of \code{GtkProgressBar} (\code{\link{gtkProgressBarNew}}, \code{\link{gtkProgressBarNewWithAdjustment}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkProgressBarOrientation}}{ An enumeration representing possible orientations and growth directions for the visible progress bar. \describe{ \item{\verb{left-to-right}}{A horizontal progress bar growing from left to right.} \item{\verb{right-to-left}}{A horizontal progress bar growing from right to left.} \item{\verb{bottom-to-top}}{A vertical progress bar growing from bottom to top.} \item{\verb{top-to-bottom}}{A vertical progress bar growing from top to bottom.} } } \item{\verb{GtkProgressBarStyle}}{ An enumeration representing the styles for drawing the progress bar. \describe{ \item{\verb{continuous}}{The progress bar grows in a smooth, continuous manner.} \item{\verb{discrete}}{The progress bar grows in discrete, visible blocks.} } } }} \section{Properties}{\describe{ \item{\verb{activity-blocks} [numeric : Read / Write]}{ The number of blocks which can fit in the progress bar area in activity mode (Deprecated). Allowed values: >= 2 Default value: 5 } \item{\verb{activity-step} [numeric : Read / Write]}{ The increment used for each iteration in activity mode (Deprecated). Default value: 3 } \item{\verb{adjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The GtkAdjustment connected to the progress bar (Deprecated). } \item{\verb{bar-style} [\code{\link{GtkProgressBarStyle}} : Read / Write]}{ Specifies the visual style of the bar in percentage mode (Deprecated). Default value: GTK_PROGRESS_CONTINUOUS } \item{\verb{discrete-blocks} [numeric : Read / Write]}{ The number of discrete blocks in a progress bar (when shown in the discrete style). Allowed values: >= 2 Default value: 10 } \item{\verb{ellipsize} [\code{\link{PangoEllipsizeMode}} : Read / Write]}{ The preferred place to ellipsize the string, if the progressbar does not have enough room to display the entire string, specified as a \verb{PangoEllisizeMode}. Note that setting this property to a value other than \code{PANGO_ELLIPSIZE_NONE} has the side-effect that the progressbar requests only enough space to display the ellipsis "...". Another means to set a progressbar's width is \code{\link{gtkWidgetSetSizeRequest}}. Default value: PANGO_ELLIPSIZE_NONE Since 2.6 } \item{\verb{fraction} [numeric : Read / Write]}{ The fraction of total work that has been completed. Allowed values: [0,1] Default value: 0 } \item{\verb{orientation} [\code{\link{GtkProgressBarOrientation}} : Read / Write]}{ Orientation and growth direction of the progress bar. Default value: GTK_PROGRESS_LEFT_TO_RIGHT } \item{\verb{pulse-step} [numeric : Read / Write]}{ The fraction of total progress to move the bouncing block when pulsed. Allowed values: [0,1] Default value: 0.1 } \item{\verb{text} [character : * : Read / Write]}{ Text to be displayed in the progress bar. Default value: NULL } }} \section{Style Properties}{\describe{ \item{\verb{min-horizontal-bar-height} [integer : Read / Write]}{ Minimum horizontal height of the progress bar. Allowed values: >= 1 Default value: 20 Since 2.14 } \item{\verb{min-horizontal-bar-width} [integer : Read / Write]}{ The minimum horizontal width of the progress bar. Allowed values: >= 1 Default value: 150 Since 2.14 } \item{\verb{min-vertical-bar-height} [integer : Read / Write]}{ The minimum vertical height of the progress bar. Allowed values: >= 1 Default value: 80 Since 2.14 } \item{\verb{min-vertical-bar-width} [integer : Read / Write]}{ The minimum vertical width of the progress bar. Allowed values: >= 1 Default value: 22 Since 2.14 } \item{\verb{xspacing} [integer : Read / Write]}{ Extra spacing applied to the width of a progress bar. Allowed values: >= 0 Default value: 7 } \item{\verb{yspacing} [integer : Read / Write]}{ Extra spacing applied to the height of a progress bar. Allowed values: >= 0 Default value: 7 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkProgressBar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetBottomMargin.Rd0000644000176000001440000000077612362217677017726 0ustar ripleyusers\alias{gtkPageSetupSetBottomMargin} \name{gtkPageSetupSetBottomMargin} \title{gtkPageSetupSetBottomMargin} \description{Sets the bottom margin of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupSetBottomMargin(object, margin, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{margin}}{the new bottom margin in units of \code{unit}} \item{\verb{unit}}{the units for \code{margin}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAtomName.Rd0000644000176000001440000000063512362217677014505 0ustar ripleyusers\alias{gdkAtomName} \name{gdkAtomName} \title{gdkAtomName} \description{Determines the string corresponding to an atom.} \usage{gdkAtomName(atom)} \arguments{\item{\verb{atom}}{a \code{\link{GdkAtom}}.}} \value{[character] a newly-allocated string containing the string corresponding to \code{atom}. When you are done with the return value,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAdd.Rd0000644000176000001440000000100512362217677015507 0ustar ripleyusers\alias{gtkTargetListAdd} \name{gtkTargetListAdd} \title{gtkTargetListAdd} \description{Appends another target to a \code{\link{GtkTargetList}}.} \usage{gtkTargetListAdd(object, target, flags, info)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTargetList}}} \item{\verb{target}}{the interned atom representing the target} \item{\verb{flags}}{the flags for this target} \item{\verb{info}}{an ID that will be passed back to the application} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowEndPaint.Rd0000644000176000001440000000123212362217677015670 0ustar ripleyusers\alias{gdkWindowEndPaint} \name{gdkWindowEndPaint} \title{gdkWindowEndPaint} \description{Indicates that the backing store created by the most recent call to \code{\link{gdkWindowBeginPaintRegion}} should be copied onscreen and deleted, leaving the next-most-recent backing store or no backing store at all as the active paint region. See \code{\link{gdkWindowBeginPaintRegion}} for full details. It is an error to call this function without a matching \code{\link{gdkWindowBeginPaintRegion}} first.} \usage{gdkWindowEndPaint(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardVisibleWordEnd.Rd0000644000176000001440000000127512362217677020723 0ustar ripleyusers\alias{gtkTextIterForwardVisibleWordEnd} \name{gtkTextIterForwardVisibleWordEnd} \title{gtkTextIterForwardVisibleWordEnd} \description{Moves forward to the next visible word end. (If \code{iter} is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterForwardVisibleWordEnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCreateReadwriteAsync.Rd0000644000176000001440000000217112362217677017332 0ustar ripleyusers\alias{gFileCreateReadwriteAsync} \name{gFileCreateReadwriteAsync} \title{gFileCreateReadwriteAsync} \description{Asynchronously creates a new file and returns a stream for reading and writing to it. The file must not already exist.} \usage{gFileCreateReadwriteAsync(object, flags, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}} \item{\verb{io.priority}}{the I/O priority of the request} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileCreateReadwrite}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileCreateReadwriteFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetFocusHadjustment.Rd0000644000176000001440000000173412362217677020632 0ustar ripleyusers\alias{gtkContainerSetFocusHadjustment} \name{gtkContainerSetFocusHadjustment} \title{gtkContainerSetFocusHadjustment} \description{Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the horizontal alignment. See \code{\link{gtkScrolledWindowGetHadjustment}} for a typical way of obtaining the adjustment and \code{\link{gtkContainerSetFocusVadjustment}} for setting the vertical adjustment.} \usage{gtkContainerSetFocusHadjustment(object, adjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{adjustment}}{an adjustment which should be adjusted when the focus is moved among the descendents of \code{container}} } \details{The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarGetActionArea.Rd0000644000176000001440000000061512362217677016731 0ustar ripleyusers\alias{gtkInfoBarGetActionArea} \name{gtkInfoBarGetActionArea} \title{gtkInfoBarGetActionArea} \description{Returns the action area of \code{info.bar}.} \usage{gtkInfoBarGetActionArea(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkInfoBar}}}} \details{Since 2.18} \value{[\code{\link{GtkWidget}}] the action area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowNew.Rd0000644000176000001440000000146012362217677016432 0ustar ripleyusers\alias{gtkScrolledWindowNew} \name{gtkScrolledWindowNew} \title{gtkScrolledWindowNew} \description{Creates a new scrolled window.} \usage{gtkScrolledWindowNew(hadjustment = NULL, vadjustment = NULL, show = TRUE)} \arguments{ \item{\verb{hadjustment}}{horizontal adjustment. \emph{[ \acronym{allow-none} ]}} \item{\verb{vadjustment}}{vertical adjustment. \emph{[ \acronym{allow-none} ]}} } \details{The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass \code{NULL} for the adjustments, which will cause the scrolled window to create them for you.} \value{[\code{\link{GtkWidget}}] a new scrolled window} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnClear.Rd0000644000176000001440000000054012362217677016676 0ustar ripleyusers\alias{gtkTreeViewColumnClear} \name{gtkTreeViewColumnClear} \title{gtkTreeViewColumnClear} \description{Unsets all the mappings on all renderers on the \code{tree.column}.} \usage{gtkTreeViewColumnClear(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetScreen.Rd0000644000176000001440000000102212362217677015533 0ustar ripleyusers\alias{gtkMenuSetScreen} \name{gtkMenuSetScreen} \title{gtkMenuSetScreen} \description{Sets the \code{\link{GdkScreen}} on which the menu will be displayed.} \usage{gtkMenuSetScreen(object, screen = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{screen}}{a \code{\link{GdkScreen}}, or \code{NULL} if the screen should be determined by the widget the menu is attached to. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCharWidth.Rd0000644000176000001440000000106512362217677014657 0ustar ripleyusers\alias{gdkCharWidth} \name{gdkCharWidth} \title{gdkCharWidth} \description{ Determines the width of a given character. \strong{WARNING: \code{gdk_char_width} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gdkTextExtents}} instead.} } \usage{gdkCharWidth(object, character)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{character}}{the character to measure.} } \value{[integer] the width of the character in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFixedPut.Rd0000644000176000001440000000075412362217677014556 0ustar ripleyusers\alias{gtkFixedPut} \name{gtkFixedPut} \title{gtkFixedPut} \description{Adds a widget to a \code{\link{GtkFixed}} container at the given position.} \usage{gtkFixedPut(object, widget, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFixed}}.} \item{\verb{widget}}{the widget to add.} \item{\verb{x}}{the horizontal position to place the widget at.} \item{\verb{y}}{the vertical position to place the widget at.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInputStreamQueryInfoAsync.Rd0000644000176000001440000000240112362217677020371 0ustar ripleyusers\alias{gFileInputStreamQueryInfoAsync} \name{gFileInputStreamQueryInfoAsync} \title{gFileInputStreamQueryInfoAsync} \description{Queries the stream information asynchronously. When the operation is finished \code{callback} will be called. You can then call \code{\link{gFileInputStreamQueryInfoFinish}} to get the result of the operation.} \usage{gFileInputStreamQueryInfoAsync(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInputStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For the synchronous version of this function, see \code{\link{gFileInputStreamQueryInfo}}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be set} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetEditable.Rd0000644000176000001440000000076412362217677016714 0ustar ripleyusers\alias{gtkTextViewSetEditable} \name{gtkTextViewSetEditable} \title{gtkTextViewSetEditable} \description{Sets the default editability of the \code{\link{GtkTextView}}. You can override this default setting with tags in the buffer, using the "editable" attribute of tags.} \usage{gtkTextViewSetEditable(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{setting}}{whether it's editable} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetWebsite.Rd0000644000176000001440000000056312362217677017201 0ustar ripleyusers\alias{gtkAboutDialogGetWebsite} \name{gtkAboutDialogGetWebsite} \title{gtkAboutDialogGetWebsite} \description{Returns the website URL.} \usage{gtkAboutDialogGetWebsite(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] The website URL.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionCopyStatic.Rd0000644000176000001440000000143712362217677020461 0ustar ripleyusers\alias{pangoFontDescriptionCopyStatic} \name{pangoFontDescriptionCopyStatic} \title{pangoFontDescriptionCopyStatic} \description{Like \code{\link{pangoFontDescriptionCopy}}, but only a shallow copy is made of the family name and other allocated fields. The result can only be used until \code{desc} is modified or freed. This is meant to be used when the copy is only needed temporarily.} \usage{pangoFontDescriptionCopyStatic(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}, may be \code{NULL}}} \value{[\code{\link{PangoFontDescription}}] the newly allocated \code{\link{PangoFontDescription}}, or \code{NULL} if \code{desc} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionShowFileopButtons.Rd0000644000176000001440000000112012362217677021116 0ustar ripleyusers\alias{gtkFileSelectionShowFileopButtons} \name{gtkFileSelectionShowFileopButtons} \title{gtkFileSelectionShowFileopButtons} \description{ Shows the file operation buttons, if they have previously been hidden. The rest of the widgets in the dialog will be resized accordingly. \strong{WARNING: \code{gtk_file_selection_show_fileop_buttons} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionShowFileopButtons(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileSelection}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTipsQuerySetCaller.Rd0000644000176000001440000000115112362217677016562 0ustar ripleyusers\alias{gtkTipsQuerySetCaller} \name{gtkTipsQuerySetCaller} \title{gtkTipsQuerySetCaller} \description{ Sets the widget which initiates the query, usually a button. If the \code{caller} is selected while the query is running, the query is automatically stopped. \strong{WARNING: \code{gtk_tips_query_set_caller} is deprecated and should not be used in newly-written code.} } \usage{gtkTipsQuerySetCaller(object, caller)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTipsQuery}}.} \item{\verb{caller}}{the widget which initiates the query.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterNextChar.Rd0000644000176000001440000000077312362217677017104 0ustar ripleyusers\alias{pangoLayoutIterNextChar} \name{pangoLayoutIterNextChar} \title{pangoLayoutIterNextChar} \description{Moves \code{iter} forward to the next character in visual order. If \code{iter} was already at the end of the layout, returns \code{FALSE}.} \usage{pangoLayoutIterNextChar(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[logical] whether motion was possible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPointerGrab.Rd0000644000176000001440000000572112362217677015221 0ustar ripleyusers\alias{gdkPointerGrab} \name{gdkPointerGrab} \title{gdkPointerGrab} \description{Grabs the pointer (usually a mouse) so that all events are passed to this application until the pointer is ungrabbed with \code{\link{gdkPointerUngrab}}, or the grab window becomes unviewable. This overrides any previous pointer grab by this client.} \usage{gdkPointerGrab(window, owner.events = FALSE, event.mask = 0, confine.to = NULL, cursor = NULL, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{window}}{the \code{\link{GdkWindow}} which will own the grab (the grab window).} \item{\verb{owner.events}}{if \code{FALSE} then all pointer events are reported with respect to \code{window} and are only reported if selected by \code{event.mask}. If \code{TRUE} then pointer events for this application are reported as normal, but pointer events outside this application are reported with respect to \code{window} and only if selected by \code{event.mask}. In either mode, unreported events are discarded.} \item{\verb{event.mask}}{specifies the event mask, which is used in accordance with \code{owner.events}. Note that only pointer events (i.e. button and motion events) may be selected.} \item{\verb{confine.to}}{If non-\code{NULL}, the pointer will be confined to this window during the grab. If the pointer is outside \code{confine.to}, it will automatically be moved to the closest edge of \code{confine.to} and enter and leave events will be generated as necessary.} \item{\verb{cursor}}{the cursor to display while the grab is active. If this is \code{NULL} then the normal cursors are used for \code{window} and its descendants, and the cursor for \code{window} is used for all other windows.} \item{\verb{time}}{the timestamp of the event which led to this pointer grab. This usually comes from a \code{\link{GdkEventButton}} struct, though \code{GDK_CURRENT_TIME} can be used if the time isn't known.} } \details{Pointer grabs are used for operations which need complete control over mouse events, even if the mouse leaves the application. For example in GTK+ it is used for Drag and Drop, for dragging the handle in the \code{\link{GtkHPaned}} and \code{\link{GtkVPaned}} widgets, and for resizing columns in \code{\link{GtkCList}} widgets. Note that if the event mask of an X window has selected both button press and button release events, then a button press event will cause an automatic pointer grab until the button is released. X does this automatically since most applications expect to receive button press and release events in pairs. It is equivalent to a pointer grab on the window with \code{owner.events} set to \code{TRUE}. If you set up anything at the time you take the grab that needs to be cleaned up when the grab ends, you should handle the \code{\link{GdkEventGrabBroken}} events that are emitted when the grab ends unvoluntarily.} \value{[\code{\link{GdkGrabStatus}}] \code{GDK_GRAB_SUCCESS} if the grab was successful.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-gtkfilefilter.Rd0000644000176000001440000000754112362217677015737 0ustar ripleyusers\alias{gtk-gtkfilefilter} \alias{GtkFileFilter} \alias{GtkFileFilterInfo} \alias{gtkFileFilter} \alias{GtkFileFilterFunc} \alias{GtkFileFilterFlags} \name{gtk-gtkfilefilter} \title{GtkFileFilter} \description{A filter for selecting a file subset} \section{Methods and Functions}{ \code{\link{gtkFileFilterNew}()}\cr \code{\link{gtkFileFilterSetName}(object, name)}\cr \code{\link{gtkFileFilterGetName}(object)}\cr \code{\link{gtkFileFilterAddMimeType}(object, mime.type)}\cr \code{\link{gtkFileFilterAddPattern}(object, pattern)}\cr \code{\link{gtkFileFilterAddPixbufFormats}(object)}\cr \code{\link{gtkFileFilterAddCustom}(object, needed, func, data = NULL)}\cr \code{\link{gtkFileFilterGetNeeded}(object)}\cr \code{\link{gtkFileFilterFilter}(object, filter.info)}\cr \code{gtkFileFilter()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkFileFilter}} \section{Detailed Description}{A GtkFileFilter can be used to restrict the files being shown in a \code{\link{GtkFileChooser}}. Files can be filtered based on their name (with \code{\link{gtkFileFilterAddPattern}}), on their mime type (with \code{\link{gtkFileFilterAddMimeType}}), or by a custom filter function (with \code{\link{gtkFileFilterAddCustom}}). Filtering by mime types handles aliasing and subclassing of mime types; e.g. a filter for text/plain also matches a file with mime type application/rtf, since application/rtf is a subclass of text/plain. Note that \code{\link{GtkFileFilter}} allows wildcards for the subtype of a mime type, so you can e.g. filter for image/*. Normally, filters are used by adding them to a \code{\link{GtkFileChooser}}, see \code{\link{gtkFileChooserAddFilter}}, but it is also possible to manually use a filter on a file with \code{\link{gtkFileFilterFilter}}.} \section{Structures}{\describe{ \item{\verb{GtkFileFilter}}{ The \code{GtkFileFilter} struct contains only private fields and should not be directly accessed. } \item{\verb{GtkFileFilterInfo}}{ A \code{GtkFileFilterInfo} struct is used to pass information about the tested file to \code{\link{gtkFileFilterFilter}}. \strong{\verb{GtkFileFilterInfo} is a \link{transparent-type}.} \describe{ \item{\verb{contains}}{[\code{\link{GtkFileFilterFlags}}] Flags indicating which of the following fields need are filled} \item{\verb{filename}}{[character] the filename of the file being tested} \item{\verb{uri}}{[character] the URI for the file being tested} \item{\verb{displayName}}{[character] the string that will be used to display the file in the file chooser} \item{\verb{mimeType}}{[character] the mime type of the file} } } }} \section{Convenient Construction}{\code{gtkFileFilter} is the equivalent of \code{\link{gtkFileFilterNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GtkFileFilterFlags}}{ These flags indicate what parts of a \code{\link{GtkFileFilterInfo}} struct are filled or need to be filled. \describe{ \item{\verb{filename}}{the filename of the file being tested} \item{\verb{uri}}{the URI for the file being tested} \item{\verb{display-name}}{the string that will be used to display the file in the file chooser} \item{\verb{mime-type}}{the mime type of the file} } }}} \section{User Functions}{\describe{\item{\code{GtkFileFilterFunc(filter.info, data)}}{ The type of function that is used with custom filters, see \code{\link{gtkFileFilterAddCustom}}. \describe{ \item{\code{filter.info}}{a \code{\link{GtkFileFilterInfo}} that is filled according to the \code{needed} flags passed to \code{\link{gtkFileFilterAddCustom}}} \item{\code{data}}{user data passed to \code{\link{gtkFileFilterAddCustom}}} } \emph{Returns:} [logical] \code{TRUE} if the file should be displayed }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-gtkfilefilter.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkFileChooser}}} \keyword{internal} RGtk2/man/gtkPrintSettingsSetOrientation.Rd0000644000176000001440000000070612362217677020530 0ustar ripleyusers\alias{gtkPrintSettingsSetOrientation} \name{gtkPrintSettingsSetOrientation} \title{gtkPrintSettingsSetOrientation} \description{Sets the value of \code{GTK_PRINT_SETTINGS_ORIENTATION}.} \usage{gtkPrintSettingsSetOrientation(object, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{orientation}}{a page orientation} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewNewWithPixbuf.Rd0000644000176000001440000000102512362217677017214 0ustar ripleyusers\alias{gtkCellViewNewWithPixbuf} \name{gtkCellViewNewWithPixbuf} \title{gtkCellViewNewWithPixbuf} \description{Creates a new \code{\link{GtkCellView}} widget, adds a \code{\link{GtkCellRendererPixbuf}} to it, and makes its show \code{pixbuf}.} \usage{gtkCellViewNewWithPixbuf(pixbuf)} \arguments{\item{\verb{pixbuf}}{the image to display in the cell view}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkCellView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetPlacement.Rd0000644000176000001440000000115712362217677020254 0ustar ripleyusers\alias{gtkScrolledWindowGetPlacement} \name{gtkScrolledWindowGetPlacement} \title{gtkScrolledWindowGetPlacement} \description{Gets the placement of the contents with respect to the scrollbars for the scrolled window. See \code{\link{gtkScrolledWindowSetPlacement}}.} \usage{gtkScrolledWindowGetPlacement(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \value{[\code{\link{GtkCornerType}}] the current placement value. See also \code{\link{gtkScrolledWindowSetPlacement}} and \code{\link{gtkScrolledWindowUnsetPlacement}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceCreateForData.Rd0000644000176000001440000000503412362217677020252 0ustar ripleyusers\alias{cairoImageSurfaceCreateForData} \name{cairoImageSurfaceCreateForData} \title{cairoImageSurfaceCreateForData} \description{Creates an image surface for the provided pixel data. The output buffer must be kept around until the \code{\link{CairoSurface}} is destroyed or \code{\link{cairoSurfaceFinish}} is called on the surface. The initial contents of \code{data} will be used as the initial image contents; you must explicitly clear the buffer, using, for example, \code{\link{cairoRectangle}} and \code{\link{cairoFill}} if you want it cleared.} \usage{cairoImageSurfaceCreateForData(data, format, width, height, stride)} \arguments{ \item{\verb{data}}{[char] a pointer to a buffer supplied by the application in which to write contents. This pointer must be suitably aligned for any kind of variable, (for example, a pointer returned by malloc).} \item{\verb{format}}{[\code{\link{CairoFormat}}] the format of pixels in the buffer} \item{\verb{width}}{[integer] the width of the image to be stored in the buffer} \item{\verb{height}}{[integer] the height of the image to be stored in the buffer} \item{\verb{stride}}{[integer] the number of bytes between the start of rows in the buffer as allocated. This value should always be computed by \code{\link{cairoFormatStrideForWidth}} before allocating the data buffer.} } \details{Note that the stride may be larger than width*bytes_per_pixel to provide proper alignment for each pixel and row. This alignment is required to allow high-performance rendering within cairo. The correct way to obtain a legal stride value is to call \code{\link{cairoFormatStrideForWidth}} with the desired format and maximum image width value, and the use the resulting stride value to allocate the data and to create the image surface. See \code{\link{cairoFormatStrideForWidth}} for example code. } \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface in the case of an error such as out of memory or an invalid stride value. In case of invalid stride value the error status of the returned surface will be \code{CAIRO_STATUS_INVALID_STRIDE}. You can use \code{\link{cairoSurfaceStatus}} to check for this. See \code{\link{cairoSurfaceSetUserData}} for a means of attaching a destroy-notification fallback to the surface if necessary.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetText.Rd0000644000176000001440000000127112362217677016136 0ustar ripleyusers\alias{gtkCTreeNodeGetText} \name{gtkCTreeNodeGetText} \title{gtkCTreeNodeGetText} \description{ \strong{WARNING: \code{gtk_ctree_node_get_text} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetText(object, node, column)} \arguments{ \item{\verb{object}}{If nonnull, the pointer to the text string is assigned to *\code{text}.} \item{\verb{node}}{True if the given cell has text in it.} \item{\verb{column}}{\emph{undocumented }} } \value{ A list containing the following elements: \item{retval}{[logical] True if the given cell has text in it.} \item{\verb{text}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverLookupService.Rd0000644000176000001440000000415212362217677016777 0ustar ripleyusers\alias{gResolverLookupService} \name{gResolverLookupService} \title{gResolverLookupService} \description{Synchronously performs a DNS SRV lookup for the given \code{service} and \code{protocol} in the given \code{domain} and returns a list of \code{\link{GSrvTarget}}. \code{domain} may be an ASCII-only or UTF-8 hostname. Note also that the \code{service} and \code{protocol} arguments \emph{do not} include the leading underscore that appears in the actual DNS entry.} \usage{gResolverLookupService(object, service, protocol, domain, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GResolver}}} \item{\verb{service}}{the service type to look up (eg, "ldap")} \item{\verb{protocol}}{the networking protocol to use for \code{service} (eg, "tcp")} \item{\verb{domain}}{the DNS domain to look up the service in} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{On success, \code{\link{gResolverLookupService}} will return a \verb{list} of \code{\link{GSrvTarget}}, sorted in order of preference. (That is, you should attempt to connect to the first target first, then the second if the first fails, etc.) If the DNS resolution fails, \code{error} (if non-\code{NULL}) will be set to a value from \verb{GResolverError}. If \code{cancellable} is non-\code{NULL}, it can be used to cancel the operation, in which case \code{error} (if non-\code{NULL}) will be set to \code{G_IO_ERROR_CANCELLED}. If you are planning to connect to the service, it is usually easier to create a \code{\link{GNetworkService}} and use its \code{\link{GSocketConnectable}} interface. Since 2.22} \value{ A list containing the following elements: \item{retval}{[list] a \verb{list} of \code{\link{GSrvTarget}}, or \code{NULL} on error. You must free each of the targets and the list when you are done with it. (You can use \code{\link{gResolverFreeTargets}} to do this.)} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GBufferedOutputStream.Rd0000644000176000001440000000457212362217677016550 0ustar ripleyusers\alias{GBufferedOutputStream} \alias{gBufferedOutputStream} \name{GBufferedOutputStream} \title{GBufferedOutputStream} \description{Buffered Output Stream} \section{Methods and Functions}{ \code{\link{gBufferedOutputStreamNew}(base.stream = NULL)}\cr \code{\link{gBufferedOutputStreamNewSized}(base.stream, size)}\cr \code{\link{gBufferedOutputStreamGetBufferSize}(object)}\cr \code{\link{gBufferedOutputStreamSetBufferSize}(object, size)}\cr \code{\link{gBufferedOutputStreamGetAutoGrow}(object)}\cr \code{\link{gBufferedOutputStreamSetAutoGrow}(object, auto.grow)}\cr \code{gBufferedOutputStream(base.stream, size)} } \section{Hierarchy}{\preformatted{GObject +----GOutputStream +----GFilterOutputStream +----GBufferedOutputStream}} \section{Detailed Description}{Buffered output stream implements \code{\link{GFilterOutputStream}} and provides for buffered writes. By default, \code{\link{GBufferedOutputStream}}'s buffer size is set at 4 kilobytes. To create a buffered output stream, use \code{\link{gBufferedOutputStreamNew}}, or \code{\link{gBufferedOutputStreamNewSized}} to specify the buffer's size at construction. To get the size of a buffer within a buffered input stream, use \code{\link{gBufferedOutputStreamGetBufferSize}}. To change the size of a buffered output stream's buffer, use \code{\link{gBufferedOutputStreamSetBufferSize}}. Note that the buffer's size cannot be reduced below the size of the data within the buffer.} \section{Structures}{\describe{\item{\verb{GBufferedOutputStream}}{ An implementation of \code{\link{GFilterOutputStream}} with a sized buffer. }}} \section{Convenient Construction}{\code{gBufferedOutputStream} is the result of collapsing the constructors of \code{GBufferedOutputStream} (\code{\link{gBufferedOutputStreamNew}}, \code{\link{gBufferedOutputStreamNewSized}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{ \item{\verb{auto-grow} [logical : Read / Write]}{ Whether the buffer should automatically grow. Default value: FALSE } \item{\verb{buffer-size} [numeric : Read / Write / Construct]}{ The size of the backend buffer. Allowed values: >= 1 Default value: 4096 } }} \references{\url{http://library.gnome.org/devel//gio/GBufferedOutputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorSetDefaultModMask.Rd0000644000176000001440000000164312362217677020505 0ustar ripleyusers\alias{gtkAcceleratorSetDefaultModMask} \name{gtkAcceleratorSetDefaultModMask} \title{gtkAcceleratorSetDefaultModMask} \description{Sets the modifiers that will be considered significant for keyboard accelerators. The default mod mask is \verb{GDK_CONTROL_MASK} | \verb{GDK_SHIFT_MASK} | \verb{GDK_MOD1_MASK} | \verb{GDK_SUPER_MASK} | \verb{GDK_HYPER_MASK} | \verb{GDK_META_MASK}, that is, Control, Shift, Alt, Super, Hyper and Meta. Other modifiers will by default be ignored by \code{\link{GtkAccelGroup}}. You must include at least the three modifiers Control, Shift and Alt in any value you pass to this function.} \usage{gtkAcceleratorSetDefaultModMask(default.mod.mask)} \arguments{\item{\verb{default.mod.mask}}{accelerator modifier mask}} \details{The default mod mask should be changed on application startup, before using any accelerator groups.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSocketConnection.Rd0000644000176000001440000000503212362217677015671 0ustar ripleyusers\alias{GSocketConnection} \alias{GTcpConnection} \name{GSocketConnection} \title{GSocketConnection} \description{A socket connection} \section{Methods and Functions}{ \code{\link{gSocketConnectionGetLocalAddress}(object, .errwarn = TRUE)}\cr \code{\link{gSocketConnectionGetRemoteAddress}(object, .errwarn = TRUE)}\cr \code{\link{gSocketConnectionGetSocket}(object)}\cr \code{\link{gTcpConnectionSetGracefulDisconnect}(object, graceful.disconnect)}\cr \code{\link{gTcpConnectionGetGracefulDisconnect}(object)}\cr \code{\link{gSocketConnectionFactoryCreateConnection}(object)}\cr \code{\link{gSocketConnectionFactoryLookupType}(family, type, protocol.id)}\cr \code{\link{gSocketConnectionFactoryRegisterType}(g.type, family, type, protocol)}\cr } \section{Hierarchy}{\preformatted{ GObject +----GIOStream +----GSocketConnection +----GTcpConnection +----GUnixConnection GObject +----GIOStream +----GSocketConnection +----GTcpConnection GObject +----GIOStream +----GSocketConnection +----GUnixConnection }} \section{Detailed Description}{\code{\link{GSocketConnection}} is a \code{\link{GIOStream}} for a connected socket. They can be created either by \code{\link{GSocketClient}} when connecting to a host, or by \code{\link{GSocketListener}} when accepting a new client. The type of the \code{\link{GSocketConnection}} object returned from these calls depends on the type of the underlying socket that is in use. For instance, for a TCP/IP connection it will be a \code{\link{GTcpConnection}}. Chosing what type of object to construct is done with the socket connection factory, and it is possible for 3rd parties to register custom socket connection types for specific combination of socket family/type/protocol using \code{\link{gSocketConnectionFactoryRegisterType}}.} \section{Structures}{\describe{ \item{\verb{GSocketConnection}}{ A socket connection GIOStream object for connection-oriented sockets. Since 2.22 } \item{\verb{GTcpConnection}}{ A \code{\link{GSocketConnection}} for UNIX domain socket connections. Since 2.22 } }} \section{Properties}{\describe{ \item{\verb{socket} [\code{\link{GSocket}} : * : Read / Write / Construct Only]}{ The underlying GSocket. } \item{\verb{graceful-disconnect} [logical : Read / Write]}{ Whether or not close does a graceful disconnect. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gio/GSocketConnection.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetRootOrigin.Rd0000644000176000001440000000104512362217677016723 0ustar ripleyusers\alias{gdkWindowGetRootOrigin} \name{gdkWindowGetRootOrigin} \title{gdkWindowGetRootOrigin} \description{Obtains the top-left corner of the window manager frame in root window coordinates.} \usage{gdkWindowGetRootOrigin(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \value{ A list containing the following elements: \item{\verb{x}}{return location for X position of window frame} \item{\verb{y}}{return location for Y position of window frame} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetRange.Rd0000644000176000001440000000067312362217677016564 0ustar ripleyusers\alias{gtkSpinButtonSetRange} \name{gtkSpinButtonSetRange} \title{gtkSpinButtonSetRange} \description{Sets the minimum and maximum allowable values for \code{spin.button}} \usage{gtkSpinButtonSetRange(object, min, max)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{min}}{minimum allowable value} \item{\verb{max}}{maximum allowable value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarSetDefaultResponse.Rd0000644000176000001440000000120612362217677020037 0ustar ripleyusers\alias{gtkInfoBarSetDefaultResponse} \name{gtkInfoBarSetDefaultResponse} \title{gtkInfoBarSetDefaultResponse} \description{Sets the last widget in the info bar's action area with the given response_id as the default widget for the dialog. Pressing "Enter" normally activates the default widget.} \usage{gtkInfoBarSetDefaultResponse(object, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkInfoBar}}} \item{\verb{response.id}}{a response ID} } \details{Note that this function currently requires \code{info.bar} to be added to a widget hierarchy. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVSetColor.Rd0000644000176000001440000000070112362217677015131 0ustar ripleyusers\alias{gtkHSVSetColor} \name{gtkHSVSetColor} \title{gtkHSVSetColor} \description{Sets the current color in an HSV color selector. Color component values must be in the [0.0, 1.0] range.} \usage{gtkHSVSetColor(object, h, s, v)} \arguments{ \item{\verb{object}}{An HSV color selector} \item{\verb{h}}{Hue} \item{\verb{s}}{Saturation} \item{\verb{v}}{Value} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawDrawable.Rd0000644000176000001440000000342112362217677015337 0ustar ripleyusers\alias{gdkDrawDrawable} \name{gdkDrawDrawable} \title{gdkDrawDrawable} \description{Copies the \code{width} x \code{height} region of \code{src} at coordinates (\code{xsrc}, \code{ysrc}) to coordinates (\code{xdest}, \code{ydest}) in \code{drawable}. \code{width} and/or \code{height} may be given as -1, in which case the entire \code{src} drawable will be copied.} \usage{gdkDrawDrawable(object, gc, src, xsrc, ysrc, xdest, ydest, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{gc}}{a \code{\link{GdkGC}} sharing the drawable's visual and colormap} \item{\verb{src}}{the source \code{\link{GdkDrawable}}, which may be the same as \code{drawable}} \item{\verb{xsrc}}{X position in \code{src} of rectangle to draw} \item{\verb{ysrc}}{Y position in \code{src} of rectangle to draw} \item{\verb{xdest}}{X position in \code{drawable} where the rectangle should be drawn} \item{\verb{ydest}}{Y position in \code{drawable} where the rectangle should be drawn} \item{\verb{width}}{width of rectangle to draw, or -1 for entire \code{src} width} \item{\verb{height}}{height of rectangle to draw, or -1 for entire \code{src} height} } \details{Most fields in \code{gc} are not used for this operation, but notably the clip mask or clip region will be honored. The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as the stipple on the \code{\link{GdkGC}}, set the fill mode to \code{GDK_STIPPLED}, and then draw the rectangle.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataSetText.Rd0000644000176000001440000000122412362217677017057 0ustar ripleyusers\alias{gtkSelectionDataSetText} \name{gtkSelectionDataSetText} \title{gtkSelectionDataSetText} \description{Sets the contents of the selection from a UTF-8 encoded string. The string is converted to the form determined by \code{selection.data->target}.} \usage{gtkSelectionDataSetText(object, str, len = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSelectionData}}} \item{\verb{str}}{a UTF-8 string} \item{\verb{len}}{the length of \code{str}, or -1 if \code{str} is nul-terminated.} } \value{[logical] \code{TRUE} if the selection was successfully set, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-gtkcheckmenuitem.Rd0000644000176000001440000000720412362217677016427 0ustar ripleyusers\alias{gtk-gtkcheckmenuitem} \alias{GtkCheckMenuItem} \alias{gtkCheckMenuItem} \name{gtk-gtkcheckmenuitem} \title{GtkCheckMenuItem} \description{A menu item with a check box} \section{Methods and Functions}{ \code{\link{gtkCheckMenuItemNew}(show = TRUE)}\cr \code{\link{gtkCheckMenuItemNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkCheckMenuItemNewWithMnemonic}(label, show = TRUE)}\cr \code{\link{gtkCheckMenuItemGetActive}(object)}\cr \code{\link{gtkCheckMenuItemSetActive}(object, is.active)}\cr \code{\link{gtkCheckMenuItemSetShowToggle}(object, always)}\cr \code{\link{gtkCheckMenuItemToggled}(object)}\cr \code{\link{gtkCheckMenuItemGetInconsistent}(object)}\cr \code{\link{gtkCheckMenuItemSetInconsistent}(object, setting)}\cr \code{\link{gtkCheckMenuItemSetDrawAsRadio}(object, draw.as.radio)}\cr \code{\link{gtkCheckMenuItemGetDrawAsRadio}(object)}\cr \code{gtkCheckMenuItem(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkCheckMenuItem +----GtkRadioMenuItem}} \section{Interfaces}{GtkCheckMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkCheckMenuItem}} is a menu item that maintains the state of a boolean value in addition to a \code{\link{GtkMenuItem}}'s usual role in activating application code. A check box indicating the state of the boolean value is displayed at the left side of the \code{\link{GtkMenuItem}}. Activating the \code{\link{GtkMenuItem}} toggles the value.} \section{Structures}{\describe{\item{\verb{GtkCheckMenuItem}}{ The \code{\link{GtkCheckMenuItem}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{\verb{numeric} active; \tab TRUE if the check box is active. \cr} }}} \section{Convenient Construction}{\code{gtkCheckMenuItem} is the result of collapsing the constructors of \code{GtkCheckMenuItem} (\code{\link{gtkCheckMenuItemNew}}, \code{\link{gtkCheckMenuItemNewWithLabel}}, \code{\link{gtkCheckMenuItemNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{toggled(checkmenuitem, user.data)}}{ This signal is emitted when the state of the check box is changed. A signal handler can examine the \code{active} field of the \code{\link{GtkCheckMenuItem}} struct to discover the new state. \describe{ \item{\code{checkmenuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{active} [logical : Read / Write]}{ Whether the menu item is checked. Default value: FALSE } \item{\verb{draw-as-radio} [logical : Read / Write]}{ Whether the menu item looks like a radio menu item. Default value: FALSE } \item{\verb{inconsistent} [logical : Read / Write]}{ Whether to display an "inconsistent" state. Default value: FALSE } }} \section{Style Properties}{\describe{\item{\verb{indicator-size} [integer : Read]}{ Size of check or radio indicator. Allowed values: >= 0 Default value: 13 }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-gtkcheckmenuitem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetRemoveMnemonicLabel.Rd0000644000176000001440000000127412362217677020053 0ustar ripleyusers\alias{gtkWidgetRemoveMnemonicLabel} \name{gtkWidgetRemoveMnemonicLabel} \title{gtkWidgetRemoveMnemonicLabel} \description{Removes a widget from the list of mnemonic labels for this widget. (See \code{\link{gtkWidgetListMnemonicLabels}}). The widget must have previously been added to the list with \code{\link{gtkWidgetAddMnemonicLabel}}.} \usage{gtkWidgetRemoveMnemonicLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{label}}{a \code{\link{GtkWidget}} that was previously set as a mnemnic label for \code{widget} with \code{\link{gtkWidgetAddMnemonicLabel}}.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupGetDropItem.Rd0000644000176000001440000000101012362217677017665 0ustar ripleyusers\alias{gtkToolItemGroupGetDropItem} \name{gtkToolItemGroupGetDropItem} \title{gtkToolItemGroupGetDropItem} \description{Gets the tool item at position (x, y).} \usage{gtkToolItemGroupGetDropItem(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{x}}{the x position} \item{\verb{y}}{the y position} } \details{Since 2.20} \value{[\code{\link{GtkToolItem}}] the \code{\link{GtkToolItem}} at position (x, y)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetIter.Rd0000644000176000001440000000107012362217677016162 0ustar ripleyusers\alias{gtkTreeModelGetIter} \name{gtkTreeModelGetIter} \title{gtkTreeModelGetIter} \description{Sets \code{iter} to a valid iterator pointing to \code{path}.} \usage{gtkTreeModelGetIter(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{path}}{The \code{\link{GtkTreePath}}.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{iter} was set.} \item{\verb{iter}}{The uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleLookupIconSet.Rd0000644000176000001440000000104012362217677016572 0ustar ripleyusers\alias{gtkStyleLookupIconSet} \name{gtkStyleLookupIconSet} \title{gtkStyleLookupIconSet} \description{Looks up \code{stock.id} in the icon factories associated with \code{style} and the default icon factory, returning an icon set if found, otherwise \code{NULL}.} \usage{gtkStyleLookupIconSet(object, stock.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{stock.id}}{an icon name} } \value{[\code{\link{GtkIconSet}}] icon set of \code{stock.id}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetAddMnemonicLabel.Rd0000644000176000001440000000141412362217677017302 0ustar ripleyusers\alias{gtkWidgetAddMnemonicLabel} \name{gtkWidgetAddMnemonicLabel} \title{gtkWidgetAddMnemonicLabel} \description{Adds a widget to the list of mnemonic labels for this widget. (See \code{\link{gtkWidgetListMnemonicLabels}}). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the \code{\link{gtkWidgetDestroy}} signal or a weak notifier.} \usage{gtkWidgetAddMnemonicLabel(object, label)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{label}}{a \code{\link{GtkWidget}} that acts as a mnemonic label for \code{widget}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoGetAllForType.Rd0000644000176000001440000000075212362217677016423 0ustar ripleyusers\alias{gAppInfoGetAllForType} \name{gAppInfoGetAllForType} \title{gAppInfoGetAllForType} \description{Gets a list of all \code{\link{GAppInfo}}s for a given content type.} \usage{gAppInfoGetAllForType(content.type)} \arguments{\item{\verb{content.type}}{the content type to find a \code{\link{GAppInfo}} for}} \value{[list] \verb{list} of \code{\link{GAppInfo}}s for given \code{content.type} or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatGetExtensions.Rd0000644000176000001440000000062512362217677020131 0ustar ripleyusers\alias{gdkPixbufFormatGetExtensions} \name{gdkPixbufFormatGetExtensions} \title{gdkPixbufFormatGetExtensions} \description{Returns the filename extensions typically used for files in the given format.} \usage{gdkPixbufFormatGetExtensions(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetGroupPosition.Rd0000644000176000001440000000121212362217677020466 0ustar ripleyusers\alias{gtkToolPaletteSetGroupPosition} \name{gtkToolPaletteSetGroupPosition} \title{gtkToolPaletteSetGroupPosition} \description{Sets the position of the group as an index of the tool palette. If position is 0 the group will become the first child, if position is -1 it will become the last child.} \usage{gtkToolPaletteSetGroupPosition(object, group, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}} which is a child of palette} \item{\verb{position}}{a new index for group} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListRemoveItems.Rd0000644000176000001440000000071212362217677016113 0ustar ripleyusers\alias{gtkListRemoveItems} \name{gtkListRemoveItems} \title{gtkListRemoveItems} \description{ Removes the \code{items} from the \code{list}. \strong{WARNING: \code{gtk_list_remove_items} is deprecated and should not be used in newly-written code.} } \usage{gtkListRemoveItems(object, items)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{items}}{the items to remove.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStockLookup.Rd0000644000176000001440000000102712362217677015275 0ustar ripleyusers\alias{gtkStockLookup} \name{gtkStockLookup} \title{gtkStockLookup} \description{Fills \code{item} with the registered values for \code{stock.id}, returning \code{TRUE} if \code{stock.id} was known.} \usage{gtkStockLookup(stock.id)} \arguments{\item{\verb{stock.id}}{a stock item name}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{item} was initialized} \item{\verb{item}}{stock item to initialize with values} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOptionMenuNew.Rd0000644000176000001440000000073712362217677015576 0ustar ripleyusers\alias{gtkOptionMenuNew} \name{gtkOptionMenuNew} \title{gtkOptionMenuNew} \description{ Creates a new \code{\link{GtkOptionMenu}}. \strong{WARNING: \code{gtk_option_menu_new} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkOptionMenuNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkOptionMenu}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryNewWithMaxLength.Rd0000644000176000001440000000136012362217677017237 0ustar ripleyusers\alias{gtkEntryNewWithMaxLength} \name{gtkEntryNewWithMaxLength} \title{gtkEntryNewWithMaxLength} \description{ Creates a new \code{\link{GtkEntry}} widget with the given maximum length. \strong{WARNING: \code{gtk_entry_new_with_max_length} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkEntrySetMaxLength}} instead.} } \usage{gtkEntryNewWithMaxLength(max = 0, show = TRUE)} \arguments{\item{\verb{max}}{the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkEntry}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetAccelPath.Rd0000644000176000001440000000320012362217677016457 0ustar ripleyusers\alias{gtkWidgetSetAccelPath} \name{gtkWidgetSetAccelPath} \title{gtkWidgetSetAccelPath} \description{Given an accelerator group, \code{accel.group}, and an accelerator path, \code{accel.path}, sets up an accelerator in \code{accel.group} so whenever the key binding that is defined for \code{accel.path} is pressed, \code{widget} will be activated. This removes any accelerators (for any accelerator group) installed by previous calls to \code{\link{gtkWidgetSetAccelPath}}. Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use. (See \code{\link{gtkAccelMapSave}}.)} \usage{gtkWidgetSetAccelPath(object, accel.path, accel.group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{accel.path}}{path used to look up the accelerator. \emph{[ \acronym{allow-none} ]}} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}}. \emph{[ \acronym{allow-none} ]}} } \details{This function is a low level function that would most likely be used by a menu creation system like \code{\link{GtkUIManager}}. If you use \code{\link{GtkUIManager}}, setting up accelerator paths will be done automatically. Even when you you aren't using \code{\link{GtkUIManager}}, if you only want to set up accelerators on menu items \code{\link{gtkMenuItemSetAccelPath}} provides a somewhat more convenient interface. Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoAttrEmbossedNew.Rd0000644000176000001440000000065112362217677017035 0ustar ripleyusers\alias{gdkPangoAttrEmbossedNew} \name{gdkPangoAttrEmbossedNew} \title{gdkPangoAttrEmbossedNew} \description{Creates a new attribute flagging a region as embossed or not.} \usage{gdkPangoAttrEmbossedNew(embossed)} \arguments{\item{\verb{embossed}}{if the region should be embossed}} \value{[\code{\link{PangoAttribute}}] new \code{\link{PangoAttribute}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonGetUseFont.Rd0000644000176000001440000000065212362217677017071 0ustar ripleyusers\alias{gtkFontButtonGetUseFont} \name{gtkFontButtonGetUseFont} \title{gtkFontButtonGetUseFont} \description{Returns whether the selected font is used in the label.} \usage{gtkFontButtonGetUseFont(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[logical] whether the selected font is used in the label.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/ATK.Rd0000644000176000001440000000613312362217677012734 0ustar ripleyusers\alias{ATK} \name{ATK} \title{ATK} \description{ATK is the Accessibility Toolkit. It provides a set of generic interfaces allowing accessibility technologies to interact with a graphical user interface. For example, a screen reader uses ATK to discover the text in an interface and read it to blind users. GTK+ widgets have built-in support for accessibility using the ATK framework.} \details{ The RGtk binding to the ATK library consists of the following components: \describe{ \item{\link{AtkAction}}{The ATK interface provided by UI components which the user can activate/interact with,} \item{\link{AtkComponent}}{The ATK interface provided by UI components which occupy a physical area on the screen.} \item{\link{AtkDocument}}{The ATK interface which represents the toplevel container for document content.} \item{\link{AtkEditableText}}{The ATK interface implemented by components containing user-editable text content.} \item{\link{AtkGObjectAccessible}}{This object class is derived from AtkObject and can be used as a basis implementing accessible objects.} \item{\link{AtkHyperlink}}{An ATK object which encapsulates a link or set of links in a hypertext document.} \item{\link{AtkHypertext}}{The ATK interface which provides standard mechanism for manipulating hyperlinks.} \item{\link{AtkImage}}{The ATK Interface implemented by components which expose image or pixmap content on-screen.} \item{\link{atk-AtkMisc}}{\emph{undocumented }} \item{\link{AtkNoOpObject}}{An AtkObject which purports to implement all ATK interfaces.} \item{\link{AtkNoOpObjectFactory}}{The AtkObjectFactory which creates an AtkNoOpObject.} \item{\link{AtkObject}}{The base object class for the Accessibility Toolkit API.} \item{\link{AtkObjectFactory}}{The base object class for a factory used to create accessible objects for objects of a specific GType.} \item{\link{AtkRegistry}}{An object used to store the GType of the factories used to create an accessible object for an object of a particular GType.} \item{\link{AtkRelation}}{An object used to describe a relation between a object and one or more other objects.} \item{\link{AtkRelationSet}}{A set of AtkRelations, normally the set of AtkRelations which an AtkObject has.} \item{\link{AtkSelection}}{The ATK interface implemented by container objects whose children can be selected.} \item{\link{atk-AtkState}}{An AtkState describes a component's particular state.} \item{\link{AtkStateSet}}{An AtkStateSet determines a component's state set.} \item{\link{AtkStreamableContent}}{The ATK interface which provides access to streamable content.} \item{\link{AtkTable}}{The ATK interface implemented for UI components which contain tabular or row/column information.} \item{\link{AtkText}}{The ATK interface implemented by components with text content.} \item{\link{AtkUtil}}{A set of ATK utility functions for event and toolkit support.} \item{\link{AtkValue}}{The ATK interface implemented by valuators and components which display or select a value from a bounded range of values.} } } \references{\url{http://library.gnome.org/devel//atk}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkTextIterBackwardLine.Rd0000644000176000001440000000146112362217677017041 0ustar ripleyusers\alias{gtkTextIterBackwardLine} \name{gtkTextIterBackwardLine} \title{gtkTextIterBackwardLine} \description{Moves \code{iter} to the start of the previous line. Returns \code{TRUE} if \code{iter} could be moved; i.e. if \code{iter} was at character offset 0, this function returns \code{FALSE}. Therefore if \code{iter} was already on line 0, but not at the start of the line, \code{iter} is snapped to the start of the line and the function returns \code{TRUE}. (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.)} \usage{gtkTextIterBackwardLine(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} moved} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextSetClientWindow.Rd0000644000176000001440000000130612362217677017675 0ustar ripleyusers\alias{gtkIMContextSetClientWindow} \name{gtkIMContextSetClientWindow} \title{gtkIMContextSetClientWindow} \description{Set the client window for the input context; this is the \code{\link{GdkWindow}} in which the input appears. This window is used in order to correctly position status windows, and may also be used for purposes internal to the input method.} \usage{gtkIMContextSetClientWindow(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIMContext}}} \item{\verb{window}}{the client window. This may be \code{NULL} to indicate that the previous client window no longer exists. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowBeginResizeDrag.Rd0000644000176000001440000000214112362217677017172 0ustar ripleyusers\alias{gdkWindowBeginResizeDrag} \name{gdkWindowBeginResizeDrag} \title{gdkWindowBeginResizeDrag} \description{Begins a window resize operation (for a toplevel window). You might use this function to implement a "window resize grip," for example; in fact \code{\link{GtkStatusbar}} uses it. The function works best with window managers that support the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}), but has a fallback implementation for other window managers.} \usage{gdkWindowBeginResizeDrag(object, edge, button, root.x, root.y, timestamp)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{edge}}{the edge or corner from which the drag is started} \item{\verb{button}}{the button being used to drag} \item{\verb{root.x}}{root window X coordinate of mouse click that began the drag} \item{\verb{root.y}}{root window Y coordinate of mouse click that began the drag} \item{\verb{timestamp}}{timestamp of mouse click that began the drag (use \code{\link{gdkEventGetTime}})} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAppLaunchContextSetTimestamp.Rd0000644000176000001440000000131212362217677020555 0ustar ripleyusers\alias{gdkAppLaunchContextSetTimestamp} \name{gdkAppLaunchContextSetTimestamp} \title{gdkAppLaunchContextSetTimestamp} \description{Sets the timestamp of \code{context}. The timestamp should ideally be taken from the event that triggered the launch. } \usage{gdkAppLaunchContextSetTimestamp(object, timestamp)} \arguments{ \item{\verb{object}}{a \code{\link{GdkAppLaunchContext}}} \item{\verb{timestamp}}{a timestamp} } \details{Window managers can use this information to avoid moving the focus to the newly launched application when the user is busy typing in another window. This is also known as 'focus stealing prevention'. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupGetWidgets.Rd0000644000176000001440000000072712362217677016744 0ustar ripleyusers\alias{gtkSizeGroupGetWidgets} \name{gtkSizeGroupGetWidgets} \title{gtkSizeGroupGetWidgets} \description{Returns the list of widgets associated with \code{size.group}.} \usage{gtkSizeGroupGetWidgets(object)} \arguments{\item{\verb{object}}{a \verb{GtkSizeGrup}}} \details{Since 2.10} \value{[list] a \verb{list} of widgets. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPrependPage.Rd0000644000176000001440000000130712362217677016714 0ustar ripleyusers\alias{gtkNotebookPrependPage} \name{gtkNotebookPrependPage} \title{gtkNotebookPrependPage} \description{Prepends a page to \code{notebook}.} \usage{gtkNotebookPrependPage(object, child, tab.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the \code{\link{GtkWidget}} to use as the contents of the page.} \item{\verb{tab.label}}{the \code{\link{GtkWidget}} to be used as the label for the page, or \code{NULL} to use the default label, 'page N'. \emph{[ \acronym{allow-none} ]}} } \value{[integer] the index (starting from 0) of the prepended page in the notebook, or -1 if function fails} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-matrix.Rd0000644000176000001440000000453512362217677014720 0ustar ripleyusers\alias{cairo-matrix} \alias{CairoMatrix} \name{cairo-matrix} \title{cairo_matrix_t} \description{Generic matrix operations} \section{Methods and Functions}{ \code{\link{cairoMatrixInit}(xx, yx, xy, yy, x0, y0)}\cr \code{\link{cairoMatrixInitIdentity}()}\cr \code{\link{cairoMatrixInitTranslate}(tx, ty)}\cr \code{\link{cairoMatrixInitScale}(sx, sy)}\cr \code{\link{cairoMatrixInitRotate}(radians)}\cr \code{\link{cairoMatrixTranslate}(matrix, tx, ty)}\cr \code{\link{cairoMatrixScale}(matrix, sx, sy)}\cr \code{\link{cairoMatrixRotate}(matrix, radians)}\cr \code{\link{cairoMatrixInvert}(matrix)}\cr \code{\link{cairoMatrixMultiply}(result, a, b)}\cr \code{\link{cairoMatrixTransformDistance}(matrix, dx, dy)}\cr \code{\link{cairoMatrixTransformPoint}(matrix, x, y)}\cr } \section{Detailed Description}{\code{\link{CairoMatrix}} is used throughout cairo to convert between different coordinate spaces. A \code{\link{CairoMatrix}} holds an affine transformation, such as a scale, rotation, shear, or a combination of these. The transformation of a point (\code{x},\code{y}) is given by: \preformatted{ x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; } The current transformation matrix of a \code{\link{Cairo}}, represented as a \code{\link{CairoMatrix}}, defines the transformation from user-space coordinates to device-space coordinates. See \code{\link{cairoGetMatrix}} and \code{\link{cairoSetMatrix}}. } \section{Structures}{\describe{\item{\verb{CairoMatrix}}{ A \code{\link{CairoMatrix}} holds an affine transformation, such as a scale, rotation, shear, or a combination of those. The transformation of a point (x, y) is given by: \preformatted{ x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; } \describe{ \item{\verb{xx}}{[numeric] xx component of the affine transformation} \item{\verb{yx}}{[numeric] yx component of the affine transformation} \item{\verb{xy}}{[numeric] xy component of the affine transformation} \item{\verb{yy}}{[numeric] yy component of the affine transformation} \item{\verb{x0}}{[numeric] X translation component of the affine transformation} \item{\verb{y0}}{[numeric] Y translation component of the affine transformation} } }}} \references{\url{http://www.cairographics.org/manual/cairo-matrix.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDevicesList.Rd0000644000176000001440000000054212362217677015217 0ustar ripleyusers\alias{gdkDevicesList} \name{gdkDevicesList} \title{gdkDevicesList} \description{Returns the list of available input devices for the default display. The list is statically allocated and should not be freed.} \usage{gdkDevicesList()} \value{[list] a list of \code{\link{GdkDevice}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Tab-Stops.Rd0000644000176000001440000000270312362217677015232 0ustar ripleyusers\alias{pango-Tab-Stops} \alias{PangoTabArray} \alias{PangoTabAlign} \name{pango-Tab-Stops} \title{Tab Stops} \description{Structures for storing tab stops} \section{Methods and Functions}{ \code{\link{pangoTabArrayNew}(initial.size, positions.in.pixels)}\cr \code{\link{pangoTabArrayNewWithPositions}(size, positions.in.pixels, ...)}\cr \code{\link{pangoTabArrayCopy}(object)}\cr \code{\link{pangoTabArrayGetSize}(object)}\cr \code{\link{pangoTabArrayResize}(object, new.size)}\cr \code{\link{pangoTabArraySetTab}(object, tab.index, alignment, location)}\cr \code{\link{pangoTabArrayGetTab}(object, tab.index)}\cr \code{\link{pangoTabArrayGetTabs}(object)}\cr \code{\link{pangoTabArrayGetPositionsInPixels}(object)}\cr } \section{Detailed Description}{Functions in this section are used to deal with \code{\link{PangoTabArray}} objects that can be used to set tab stop positions in a \code{\link{PangoLayout}}.} \section{Structures}{\describe{\item{\verb{PangoTabArray}}{ A \code{\link{PangoTabArray}} struct contains a list of tab stops. Each tab stop has an alignment and a position. }}} \section{Enums and Flags}{\describe{\item{\verb{PangoTabAlign}}{ A \code{\link{PangoTabAlign}} specifies where a tab stop appears relative to the text. \describe{\item{\verb{left}}{the tab stop appears to the left of the text.}} }}} \references{\url{http://library.gnome.org/devel//pango/pango-Tab-Stops.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileDup.Rd0000644000176000001440000000110212362217677014003 0ustar ripleyusers\alias{gFileDup} \name{gFileDup} \title{gFileDup} \description{Duplicates a \code{\link{GFile}} handle. This operation does not duplicate the actual file or directory represented by the \code{\link{GFile}}; see \code{\link{gFileCopy}} if attempting to copy a file. } \usage{gFileDup(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[\code{\link{GFile}}] a new \code{\link{GFile}} that is a duplicate of the given \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveCanStop.Rd0000644000176000001440000000057712362217677015033 0ustar ripleyusers\alias{gDriveCanStop} \name{gDriveCanStop} \title{gDriveCanStop} \description{Checks if a drive can be stopped.} \usage{gDriveCanStop(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if the \code{drive} can be stopped, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetIcon.Rd0000644000176000001440000000101612362217677016323 0ustar ripleyusers\alias{gtkRecentInfoGetIcon} \name{gtkRecentInfoGetIcon} \title{gtkRecentInfoGetIcon} \description{Retrieves the icon of size \code{size} associated to the resource MIME type.} \usage{gtkRecentInfoGetIcon(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{size}}{the size of the icon in pixels} } \details{Since 2.10} \value{[\code{\link{GdkPixbuf}}] a \code{\link{GdkPixbuf}} containing the icon, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryFromPath.Rd0000644000176000001440000000145412362217677016713 0ustar ripleyusers\alias{gtkItemFactoryFromPath} \name{gtkItemFactoryFromPath} \title{gtkItemFactoryFromPath} \description{ Finds an item factory which has been constructed using the \code{""} prefix of \code{path} as the \code{path} argument for \code{\link{gtkItemFactoryNew}}. \strong{WARNING: \code{gtk_item_factory_from_path} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryFromPath(path)} \arguments{\item{\verb{path}}{a string starting with a factory path of the form \code{""}}} \value{[\code{\link{GtkItemFactory}}] the \code{\link{GtkItemFactory}} created for the given factory path, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeIsAncestor.Rd0000644000176000001440000000106412362217677016016 0ustar ripleyusers\alias{gtkCTreeIsAncestor} \name{gtkCTreeIsAncestor} \title{gtkCTreeIsAncestor} \description{ \strong{WARNING: \code{gtk_ctree_is_ancestor} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeIsAncestor(object, node, child)} \arguments{ \item{\verb{object}}{True is \code{node} is an ancestor of \code{child}.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{child}}{\emph{undocumented }} } \value{[logical] True is \code{node} is an ancestor of \code{child}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogNew.Rd0000644000176000001440000000067012362217677017371 0ustar ripleyusers\alias{gtkFontSelectionDialogNew} \name{gtkFontSelectionDialogNew} \title{gtkFontSelectionDialogNew} \description{Creates a new \code{\link{GtkFontSelectionDialog}}.} \usage{gtkFontSelectionDialogNew(title = NULL, show = TRUE)} \arguments{\item{\verb{title}}{the title of the dialog window}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFontSelectionDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufScaleSimple.Rd0000644000176000001440000000243212362217677016360 0ustar ripleyusers\alias{gdkPixbufScaleSimple} \name{gdkPixbufScaleSimple} \title{gdkPixbufScaleSimple} \description{Create a new \code{\link{GdkPixbuf}} containing a copy of \code{src} scaled to \code{dest.width} x \code{dest.height}. Leaves \code{src} unaffected. \code{interp.type} should be \verb{GDK_INTERP_NEAREST} if you want maximum speed (but when scaling down \verb{GDK_INTERP_NEAREST} is usually unusably ugly). The default \code{interp.type} should be \verb{GDK_INTERP_BILINEAR} which offers reasonable quality and speed.} \usage{gdkPixbufScaleSimple(object, dest.width, dest.height, interp.type)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{dest.width}}{the width of destination image} \item{\verb{dest.height}}{the height of destination image} \item{\verb{interp.type}}{the interpolation type for the transformation.} } \details{You can scale a sub-portion of \code{src} by creating a sub-pixbuf pointing into \code{src}; see \code{\link{gdkPixbufNewSubpixbuf}}. For more complicated scaling/compositing see \code{\link{gdkPixbufScale}} and \code{\link{gdkPixbufComposite}}.} \value{[\code{\link{GdkPixbuf}}] the new \code{\link{GdkPixbuf}}, or \code{NULL} if not enough memory could be allocated for it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconInfoGetFilename.Rd0000644000176000001440000000126311766145227016625 0ustar ripleyusers\alias{gtkIconInfoGetFilename} \name{gtkIconInfoGetFilename} \title{gtkIconInfoGetFilename} \description{Gets the filename for the icon. If the \code{GTK_ICON_LOOKUP_USE_BUILTIN} flag was passed to \code{\link{gtkIconThemeLookupIcon}}, there may be no filename if a builtin icon is returned; in this case, you should use \code{\link{gtkIconInfoGetBuiltinPixbuf}}.} \usage{gtkIconInfoGetFilename(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{[character] the filename for the icon, or \code{NULL} if \code{\link{gtkIconInfoGetBuiltinPixbuf}} should be used instead.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetMaxLength.Rd0000644000176000001440000000113312362217677016367 0ustar ripleyusers\alias{gtkEntryGetMaxLength} \name{gtkEntryGetMaxLength} \title{gtkEntryGetMaxLength} \description{Retrieves the maximum allowed length of the text in \code{entry}. See \code{\link{gtkEntrySetMaxLength}}.} \usage{gtkEntryGetMaxLength(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{This is equivalent to: \preformatted{gtk_entry_buffer_get_max_length (gtk_entry_get_buffer (entry)); }} \value{[integer] the maximum allowed number of characters in \code{\link{GtkEntry}}, or 0 if there is no maximum.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoErrorUnderlinePath.Rd0000644000176000001440000000171212362217677020072 0ustar ripleyusers\alias{pangoCairoErrorUnderlinePath} \name{pangoCairoErrorUnderlinePath} \title{pangoCairoErrorUnderlinePath} \description{Add a squiggly line to the current path in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle)} \usage{pangoCairoErrorUnderlinePath(cr, x, y, width, height)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{x}}{[numeric] The X coordinate of one corner of the rectangle} \item{\verb{y}}{[numeric] The Y coordinate of one corner of the rectangle} \item{\verb{width}}{[numeric] Non-negative width of the rectangle} \item{\verb{height}}{[numeric] Non-negative height of the rectangle} } \details{ Since 1.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonSetUseAlpha.Rd0000644000176000001440000000075612362217677017401 0ustar ripleyusers\alias{gtkColorButtonSetUseAlpha} \name{gtkColorButtonSetUseAlpha} \title{gtkColorButtonSetUseAlpha} \description{Sets whether or not the color button should use the alpha channel.} \usage{gtkColorButtonSetUseAlpha(object, use.alpha)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorButton}}.} \item{\verb{use.alpha}}{\code{TRUE} if color button should use alpha channel, \code{FALSE} if not.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonSetRelief.Rd0000644000176000001440000000110712362217677016075 0ustar ripleyusers\alias{gtkButtonSetRelief} \name{gtkButtonSetRelief} \title{gtkButtonSetRelief} \description{Sets the relief style of the edges of the given \code{\link{GtkButton}} widget. Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE. The default style is, as one can guess, GTK_RELIEF_NORMAL.} \usage{gtkButtonSetRelief(object, newstyle)} \arguments{ \item{\verb{object}}{The \code{\link{GtkButton}} you want to set relief styles of.} \item{\verb{newstyle}}{The GtkReliefStyle as described above.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardFindChar.Rd0000644000176000001440000000153312362217677017516 0ustar ripleyusers\alias{gtkTextIterForwardFindChar} \name{gtkTextIterForwardFindChar} \title{gtkTextIterForwardFindChar} \description{Advances \code{iter}, calling \code{pred} on each character. If \code{pred} returns \code{TRUE}, returns \code{TRUE} and stops scanning. If \code{pred} never returns \code{TRUE}, \code{iter} is set to \code{limit} if \code{limit} is non-\code{NULL}, otherwise to the end iterator.} \usage{gtkTextIterForwardFindChar(object, pred, user.data = NULL, limit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{pred}}{a function to be called on each character} \item{\verb{user.data}}{user data for \code{pred}} \item{\verb{limit}}{search limit, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether a match was found} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetColumnSpacing.Rd0000644000176000001440000000063612362217677017673 0ustar ripleyusers\alias{gtkIconViewGetColumnSpacing} \name{gtkIconViewGetColumnSpacing} \title{gtkIconViewGetColumnSpacing} \description{Returns the value of the ::column-spacing property.} \usage{gtkIconViewGetColumnSpacing(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.6} \value{[integer] the space between columns} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHasDefault.Rd0000644000176000001440000000102412362217677016201 0ustar ripleyusers\alias{gtkWidgetHasDefault} \name{gtkWidgetHasDefault} \title{gtkWidgetHasDefault} \description{Determines whether \code{widget} is the current default widget within its toplevel. See \code{\link{gtkWidgetSetCanDefault}}.} \usage{gtkWidgetHasDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if \code{widget} is the current default widget within its toplevel, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkBox.Rd0000644000176000001440000001356112362217677013516 0ustar ripleyusers\alias{GtkBox} \alias{GtkBoxChild} \name{GtkBox} \title{GtkBox} \description{Base class for box containers} \section{Methods and Functions}{ \code{\link{gtkBoxPackStart}(object, child, expand = TRUE, fill = TRUE, padding = 0)}\cr \code{\link{gtkBoxPackEnd}(object, child, expand = TRUE, fill = TRUE, padding = 0)}\cr \code{\link{gtkBoxPackStartDefaults}(object, widget)}\cr \code{\link{gtkBoxPackEndDefaults}(object, widget)}\cr \code{\link{gtkBoxGetHomogeneous}(object)}\cr \code{\link{gtkBoxSetHomogeneous}(object, homogeneous)}\cr \code{\link{gtkBoxGetSpacing}(object)}\cr \code{\link{gtkBoxSetSpacing}(object, spacing)}\cr \code{\link{gtkBoxReorderChild}(object, child, position)}\cr \code{\link{gtkBoxQueryChildPacking}(object, child)}\cr \code{\link{gtkBoxSetChildPacking}(object, child, expand, fill, padding, pack.type)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkButtonBox +----GtkVBox +----GtkHBox}} \section{Interfaces}{GtkBox implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{GtkBox is an abstract widget which encapsulates functionality for a particular kind of container, one that organizes a variable number of widgets into a rectangular area. GtkBox has a number of derived classes, e.g. \code{\link{GtkHBox}} and \code{\link{GtkVBox}}. The rectangular area of a GtkBox is organized into either a single row or a single column of child widgets depending upon whether the box is of type \code{\link{GtkHBox}} or \code{\link{GtkVBox}}, respectively. Thus, all children of a GtkBox are allocated one dimension in common, which is the height of a row, or the width of a column. GtkBox uses a notion of \emph{packing}. Packing refers to adding widgets with reference to a particular position in a \code{\link{GtkContainer}}. For a GtkBox, there are two reference positions: the \emph{start} and the \emph{end} of the box. For a \code{\link{GtkVBox}}, the start is defined as the top of the box and the end is defined as the bottom. For a \code{\link{GtkHBox}} the start is defined as the left side and the end is defined as the right side. Use repeated calls to \code{\link{gtkBoxPackStart}} to pack widgets into a GtkBox from start to end. Use \code{\link{gtkBoxPackEnd}} to add widgets from end to start. You may intersperse these calls and add widgets from both ends of the same GtkBox. Use \code{\link{gtkBoxPackStartDefaults}} or \code{\link{gtkBoxPackEndDefaults}} to pack widgets into a GtkBox if you do not need to specify the \verb{"expand"}, \verb{"fill"}, or \verb{"padding"} child properties for the child to be added. Because GtkBox is a \code{\link{GtkContainer}}, you may also use \code{\link{gtkContainerAdd}} to insert widgets into the box, and they will be packed as if with \code{\link{gtkBoxPackStartDefaults}}. Use \code{\link{gtkContainerRemove}} to remove widgets from the GtkBox. Use \code{\link{gtkBoxSetHomogeneous}} to specify whether or not all children of the GtkBox are forced to get the same amount of space. Use \code{\link{gtkBoxSetSpacing}} to determine how much space will be minimally placed between all children in the GtkBox. Use \code{\link{gtkBoxReorderChild}} to move a GtkBox child to a different place in the box. Use \code{\link{gtkBoxSetChildPacking}} to reset the \verb{"expand"}, \verb{"fill"} and \verb{"padding"} child properties. Use \code{\link{gtkBoxQueryChildPacking}} to query these fields.} \section{Structures}{\describe{ \item{\verb{GtkBox}}{ The \code{\link{GtkBox}} describes an instance of GtkBox and contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \describe{ \item{\verb{spacing}}{[integer] } \item{\verb{homogeneous}}{[numeric] } } } \item{\verb{GtkBoxChild}}{ The \code{\link{GtkBoxChild}} holds a child widget of GtkBox and describes how the child is to be packed into the GtkBox. Use \code{\link{gtkBoxQueryChildPacking}} and \code{\link{gtkBoxSetChildPacking}} to query and reset the \code{padding}, \code{expand}, \code{fill}, and \code{pack} fields. \code{\link{GtkBoxChild}} contains the following fields. (These fields should be considered read-only. They should never be directly set by an application.) \describe{ \item{\verb{widget}}{[\code{\link{GtkWidget}}] the child widget, packed into the GtkBox.} \item{\verb{padding}}{[integer] the number of extra pixels to put between this child and its neighbors, set when packed, zero by default.} \item{\verb{expand}}{[numeric] flag indicates whether extra space should be given to this child. Any extra space given to the parent GtkBox is divided up among all children with this attribute set to \code{TRUE}; set when packed, \code{TRUE} by default.} \item{\verb{fill}}{[numeric] flag indicates whether any extra space given to this child due to its \code{expand} attribute being set is actually allocated to the child, rather than being used as padding around the widget; set when packed, \code{TRUE} by default.} \item{\verb{pack}}{[numeric] one of \code{\link{GtkPackType}} indicating whether the child is packed with reference to the start (top/left) or end (bottom/right) of the GtkBox.} \item{\verb{isSecondary}}{[numeric] \code{TRUE} if the child is secondary} } } }} \section{Properties}{\describe{ \item{\verb{homogeneous} [logical : Read / Write]}{ Whether the children should all be the same size. Default value: FALSE } \item{\verb{spacing} [integer : Read / Write]}{ The amount of space between children. Allowed values: >= 0 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetHadjustment.Rd0000644000176000001440000000104012362217677020621 0ustar ripleyusers\alias{gtkScrolledWindowGetHadjustment} \name{gtkScrolledWindowGetHadjustment} \title{gtkScrolledWindowGetHadjustment} \description{Returns the horizontal scrollbar's adjustment, used to connect the horizontal scrollbar to the child widget's horizontal scroll functionality.} \usage{gtkScrolledWindowGetHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \value{[\code{\link{GtkAdjustment}}] the horizontal \code{\link{GtkAdjustment}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pango-Cairo-Rendering.Rd0000644000176000001440000001540612362217677016372 0ustar ripleyusers\alias{pango-Cairo-Rendering} \alias{PangoCairoFont} \alias{PangoCairoFontMap} \alias{PangoCairoShapeRendererFunc} \name{pango-Cairo-Rendering} \title{Cairo Rendering} \description{Rendering with the Cairo backend} \section{Methods and Functions}{ \code{\link{pangoCairoFontMapGetDefault}()}\cr \code{\link{pangoCairoFontMapSetDefault}(fontmap)}\cr \code{\link{pangoCairoFontMapNew}()}\cr \code{\link{pangoCairoFontMapNewForFontType}(fonttype)}\cr \code{\link{pangoCairoFontMapGetFontType}(object)}\cr \code{\link{pangoCairoFontMapSetResolution}(object, dpi)}\cr \code{\link{pangoCairoFontMapGetResolution}(object)}\cr \code{\link{pangoCairoFontMapCreateContext}(object)}\cr \code{\link{pangoCairoFontMapCreateContext}(object)}\cr \code{\link{pangoCairoFontGetScaledFont}(object)}\cr \code{\link{pangoCairoContextSetResolution}(context, dpi)}\cr \code{\link{pangoCairoContextGetResolution}(context)}\cr \code{\link{pangoCairoContextSetFontOptions}(context, options)}\cr \code{\link{pangoCairoContextGetFontOptions}(context)}\cr \code{\link{pangoCairoContextSetShapeRenderer}(object, func, data)}\cr \code{\link{pangoCairoContextGetShapeRenderer}(object)}\cr \code{\link{pangoCairoCreateContext}(cr)}\cr \code{\link{pangoCairoUpdateContext}(cr, context)}\cr \code{\link{pangoCairoCreateLayout}(cr)}\cr \code{\link{pangoCairoUpdateLayout}(cr, layout)}\cr \code{\link{pangoCairoShowGlyphString}(cr, font, glyphs)}\cr \code{\link{pangoCairoShowGlyphItem}(cr, text, glyph.item)}\cr \code{\link{pangoCairoShowLayoutLine}(cr, line)}\cr \code{\link{pangoCairoShowLayout}(cr, layout)}\cr \code{\link{pangoCairoShowErrorUnderline}(cr, x, y, width, height)}\cr \code{\link{pangoCairoGlyphStringPath}(cr, font, glyphs)}\cr \code{\link{pangoCairoLayoutLinePath}(cr, line)}\cr \code{\link{pangoCairoLayoutPath}(cr, layout)}\cr \code{\link{pangoCairoErrorUnderlinePath}(cr, x, y, width, height)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----PangoCairoFont GInterface +----PangoCairoFontMap }} \section{Detailed Description}{The Cairo library (\url{http://cairographics.org}) is a vector graphics library with a powerful rendering model. It has such features as anti-aliased primitives, alpha-compositing, and gradients. Multiple backends for Cairo are available, to allow rendering to images, to PDF files, and to the screen on X and on other windowing systems. The functions in this section allow using Pango to render to Cairo surfaces. Using Pango with Cairo is straightforward. A \code{\link{PangoContext}} created with \code{\link{pangoCairoFontMapCreateContext}} can be used on any Cairo context (cairo_t), but needs to be updated to match the current transformation matrix and target surface of the Cairo context using \code{\link{pangoCairoUpdateContext}}. The convenience functions \code{\link{pangoCairoCreateLayout}} and \code{\link{pangoCairoUpdateLayout}} handle the common case where the program doesn't need to manipulate the properties of the \code{\link{PangoContext}}. When you get the metrics of a layout or of a piece of a layout using functions such as \code{\link{pangoLayoutGetExtents}}, the reported metrics are in user-space coordinates. If a piece of text is 10 units long, and you call cairo_scale (cr, 2.0), it still is more-or-less 10 units long. However, the results will be affected by hinting (that is, the process of adjusting the text to look good on the pixel grid), so you shouldn't assume they are completely independent of the current transformation matrix. Note that the basic metrics functions in Pango report results in integer Pango units. To get to the floating point units used in Cairo divide by \code{PANGO_SCALE}. \emph{Using Pango with Cairo} \preformatted{ RADIUS <- 150 N.WORDS <- 10 FONT <- "Sans Bold 27" draw.text <- function(widget, event, data) { width <- widget[["allocation"]][["width"]] height <- widget[["allocation"]][["height"]] device.radius <- min(width, height) / 2. cr <- gdkCairoCreate(widget[["window"]]) ## Center coordinates on the middle of the region we are drawing cr$translate(device.radius + (width - 2 * device.radius) / 2, device.radius + (height - 2 * device.radius) / 2) cr$scale(device.radius / RADIUS, device.radius / RADIUS) ## Create a PangoLayout, set the font and text layout <- pangoCairoCreateLayout(cr) layout$setText("Text") desc <- pangoFontDescriptionFromString(FONT) layout$setFontDescription(desc) ## Draw the layout N.WORDS times in a circle for (i in 1:N.WORDS) { angle <- (360 * i) / N.WORDS cr$save() ## Gradient from red at angle 60 to blue at angle 300 red <- (1 + cos((angle - 60) * pi / 180)) / 2 cr$setSourceRgb(red, 0, 1.0 - red) cr$rotate(angle * pi / 180) ## Inform Pango to re-layout the text with the new transformation pangoCairoUpdateLayout(cr, layout) size <- layout$getSize() cr$moveTo(- (size$width / .PangoScale) / 2, - RADIUS) pangoCairoShowLayout(cr, layout) cr$restore() } return(FALSE) } white <- c( 0, "0xffff", "0xffff", "0xffff" ) window <- gtkWindow("toplevel", show = F) window$setTitle("Rotated Text") drawing.area <- gtkDrawingArea() window$add(drawing.area) # This overrides the background color from the theme drawing.area$modifyBg("normal", white) gSignalConnect(drawing.area, "expose-event", draw.text) window$showAll() } } \section{Structures}{\describe{ \item{\verb{PangoCairoFont}}{ \code{\link{PangoCairoFont}} is an interface exported by fonts for use with Cairo. The actual type of the font will depend on the particular font technology Cairo was compiled to use. Since 1.18 } \item{\verb{PangoCairoFontMap}}{ \code{\link{PangoCairoFontMap}} is an interface exported by font maps for use with Cairo. The actual type of the font map will depend on the particular font technology Cairo was compiled to use. Since 1.10 } }} \section{User Functions}{\describe{\item{\code{PangoCairoShapeRendererFunc(cr, attr, do.path, data)}}{ Function type for rendering attributes of type \code{PANGO_ATTR_SHAPE} with Pango's Cairo renderer. \describe{ \item{\code{cr}}{[\code{\link{Cairo}}] a Cairo context with current point set to where the shape should be rendered} \item{\code{attr}}{[\code{\link{PangoAttrShape}}] the \code{PANGO_ATTR_SHAPE} to render} \item{\code{do.path}}{[logical] whether only the shape path should be appended to current path of \code{cr} and no filling/stroking done. This will be set to \code{TRUE} when called from \code{\link{pangoCairoLayoutPath}} and \code{\link{pangoCairoLayoutLinePath}} rendering functions.} \item{\code{data}}{[R object] user data passed to \code{\link{pangoCairoContextSetShapeRenderer}}} } }}} \references{\url{http://library.gnome.org/devel//pango/pango-Cairo-Rendering.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetUnderlineThickness.Rd0000644000176000001440000000102712362217677021756 0ustar ripleyusers\alias{pangoFontMetricsGetUnderlineThickness} \name{pangoFontMetricsGetUnderlineThickness} \title{pangoFontMetricsGetUnderlineThickness} \description{Gets the suggested thickness to draw for the underline.} \usage{pangoFontMetricsGetUnderlineThickness(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \details{ Since 1.6} \value{[integer] the suggested underline thickness, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetIconSize.Rd0000644000176000001440000000141312362217677016541 0ustar ripleyusers\alias{gtkToolbarSetIconSize} \name{gtkToolbarSetIconSize} \title{gtkToolbarSetIconSize} \description{This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they've been added. The size you set will override user preferences for the default icon size.} \usage{gtkToolbarSetIconSize(object, icon.size)} \arguments{ \item{\verb{object}}{A \code{\link{GtkToolbar}}} \item{\verb{icon.size}}{The \code{\link{GtkIconSize}} that stock icons in the toolbar shall have. \emph{[ \acronym{type} int]}} } \details{This should only be used for special-purpose toolbars, normal application toolbars should respect the user preferences for the size of icons.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkRegistry.Rd0000644000176000001440000000222612362217677014564 0ustar ripleyusers\alias{AtkRegistry} \name{AtkRegistry} \title{AtkRegistry} \description{An object used to store the GType of the factories used to create an accessible object for an object of a particular GType.} \section{Methods and Functions}{ \code{\link{atkRegistrySetFactoryType}(object, type, factory.type)}\cr \code{\link{atkRegistryGetFactoryType}(object, type)}\cr \code{\link{atkRegistryGetFactory}(object, type)}\cr \code{\link{atkGetDefaultRegistry}()}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkRegistry}} \section{Detailed Description}{The AtkRegistry is normally used to create appropriate ATK "peers" for user interface components. Application developers usually need only interact with the AtkRegistry by associating appropriate ATK implementation classes with GObject classes via the atk_registry_set_factory_type call, passing the appropriate GType for application custom widget classes.} \section{Structures}{\describe{\item{\verb{AtkRegistry}}{ The AtkRegistry structure should not be accessed directly. }}} \references{\url{http://library.gnome.org/devel//atk/AtkRegistry.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetReorderable.Rd0000644000176000001440000000071612362217677017365 0ustar ripleyusers\alias{gtkTreeViewGetReorderable} \name{gtkTreeViewGetReorderable} \title{gtkTreeViewGetReorderable} \description{Retrieves whether the user can reorder the tree via drag-and-drop. See \code{\link{gtkTreeViewSetReorderable}}.} \usage{gtkTreeViewGetReorderable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \value{[logical] \code{TRUE} if the tree can be reordered.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreReorder.Rd0000644000176000001440000000127612362217677016265 0ustar ripleyusers\alias{gtkTreeStoreReorder} \name{gtkTreeStoreReorder} \title{gtkTreeStoreReorder} \description{Reorders the children of \code{parent} in \code{tree.store} to follow the order indicated by \code{new.order}. Note that this function only works with unsorted stores.} \usage{gtkTreeStoreReorder(object, parent, new.order)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}.} \item{\verb{parent}}{A \code{\link{GtkTreeIter}}.} \item{\verb{new.order}}{a list of integers mapping the new position of each child to its old position before the re-ordering, i.e. \code{new.order}\code{[newpos] = oldpos}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetPopupSetWidth.Rd0000644000176000001440000000102612362217677021312 0ustar ripleyusers\alias{gtkEntryCompletionGetPopupSetWidth} \name{gtkEntryCompletionGetPopupSetWidth} \title{gtkEntryCompletionGetPopupSetWidth} \description{Returns whether the completion popup window will be resized to the width of the entry.} \usage{gtkEntryCompletionGetPopupSetWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the popup window will be resized to the width of the entry} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemNew.Rd0000644000176000001440000000046412362217677015221 0ustar ripleyusers\alias{gtkMenuItemNew} \name{gtkMenuItemNew} \title{gtkMenuItemNew} \description{Creates a new \code{\link{GtkMenuItem}}.} \usage{gtkMenuItemNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the newly created \code{\link{GtkMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveEjectWithOperationFinish.Rd0000644000176000001440000000157212362217677020370 0ustar ripleyusers\alias{gDriveEjectWithOperationFinish} \name{gDriveEjectWithOperationFinish} \title{gDriveEjectWithOperationFinish} \description{Finishes ejecting a drive. If any errors occurred during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned.} \usage{gDriveEjectWithOperationFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the drive was successfully ejected. \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDKPixbuf.Rd0000644000176000001440000000024711766145227014076 0ustar ripleyusers\alias{GDKPixbuf} \name{GDKPixbuf} \title{GDKPixbuf} \description{You are probably looking for \code{\link{GDK-Pixbuf}}.} \author{Michael Lawrence} \keyword{internal} RGtk2/man/gtkEntryGetIconStock.Rd0000644000176000001440000000113512362217677016376 0ustar ripleyusers\alias{gtkEntryGetIconStock} \name{gtkEntryGetIconStock} \title{gtkEntryGetIconStock} \description{Retrieves the stock id used for the icon, or \code{NULL} if there is no icon or if the icon was set by some other method (e.g., by pixbuf, icon name or gicon).} \usage{gtkEntryGetIconStock(object, icon.pos)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[character] A stock id, or \code{NULL} if no icon is set or if the icon wasn't set from a stock id} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkObject.Rd0000644000176000001440000004554612362217677014176 0ustar ripleyusers\alias{AtkObject} \alias{AtkImplementor} \alias{AtkFunction} \alias{AtkPropertyChangeHandler} \alias{AtkRole} \alias{AtkLayer} \name{AtkObject} \title{AtkObject} \description{The base object class for the Accessibility Toolkit API.} \section{Methods and Functions}{ \code{\link{atkRoleRegister}(name)}\cr \code{\link{atkImplementorRefAccessible}(object)}\cr \code{\link{atkObjectGetName}(object)}\cr \code{\link{atkObjectGetDescription}(object)}\cr \code{\link{atkObjectGetParent}(object)}\cr \code{\link{atkObjectGetNAccessibleChildren}(object)}\cr \code{\link{atkObjectRefAccessibleChild}(object, i)}\cr \code{\link{atkObjectRefRelationSet}(object)}\cr \code{\link{atkObjectGetLayer}(object)}\cr \code{\link{atkObjectGetMdiZorder}(object)}\cr \code{\link{atkObjectGetRole}(object)}\cr \code{\link{atkObjectRefStateSet}(object)}\cr \code{\link{atkObjectGetIndexInParent}(object)}\cr \code{\link{atkObjectSetName}(object, name)}\cr \code{\link{atkObjectSetDescription}(object, description)}\cr \code{\link{atkObjectSetParent}(object, parent)}\cr \code{\link{atkObjectSetRole}(object, role)}\cr \code{\link{atkObjectConnectPropertyChangeHandler}(object, handler)}\cr \code{\link{atkObjectRemovePropertyChangeHandler}(object, handler.id)}\cr \code{\link{atkObjectNotifyStateChange}(object, state, value)}\cr \code{\link{atkObjectInitialize}(object, data)}\cr \code{\link{atkObjectAddRelationship}(object, relationship, target)}\cr \code{\link{atkObjectRemoveRelationship}(object, relationship, target)}\cr \code{\link{atkObjectGetAttributes}(object)}\cr \code{\link{atkRoleGetName}(role)}\cr \code{\link{atkRoleGetLocalizedName}(role)}\cr \code{\link{atkRoleForName}(name)}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkObject +----AtkGObjectAccessible +----AtkNoOpObject}} \section{Detailed Description}{This class is the primary class for accessibility support via the Accessibility ToolKit (ATK). Objects which are instances of \code{\link{AtkObject}} (or instances of AtkObject-derived types) are queried for properties which relate basic (and generic) properties of a UI component such as name and description. Instances of \code{\link{AtkObject}} may also be queried as to whether they implement other ATK interfaces (e.g. \code{\link{AtkAction}}, \code{\link{AtkComponent}}, etc.), as appropriate to the role which a given UI component plays in a user interface. All UI components in an application which provide useful information or services to the user must provide corresponding \code{\link{AtkObject}} instances on request (in GTK+, for instance, usually on a call to #\code{\link{gtkWidgetGetAccessible}}), either via ATK support built into the toolkit for the widget class or ancestor class, or in the case of custom widgets, if the inherited \code{\link{AtkObject}} implementation is insufficient, via instances of a new \code{\link{AtkObject}} subclass.} \section{Structures}{\describe{ \item{\verb{AtkObject}}{ The AtkObject structure should not be accessed directly. } \item{\verb{AtkImplementor}}{ The AtkImplementor interface is implemented by objects for which AtkObject peers may be obtained via calls to iface->(ref_accessible)(implementor); } }} \section{Enums and Flags}{\describe{ \item{\verb{AtkRole}}{ Describes the role of an object These are the built-in enumerated roles that UI components can have in ATK. Other roles may be added at runtime, so an AtkRole >= ATK_ROLE_LAST_DEFINED is not necessarily an error. \describe{ \item{\verb{invalid}}{ Invalid role} \item{\verb{accel-label}}{ A label which represents an accelerator} \item{\verb{alert}}{ An object which is an alert to the user. Assistive Technologies typically respond to ATK_ROLE_ALERT by reading the entire onscreen contents of containers advertising this role. Should be used for warning dialogs, etc.} \item{\verb{animation}}{ An object which is an animated image} \item{\verb{arrow}}{ An arrow in one of the four cardinal directions} \item{\verb{calendar}}{ An object that displays a calendar and allows the user to select a date} \item{\verb{canvas}}{ An object that can be drawn into and is used to trap events} \item{\verb{check-box}}{ A choice that can be checked or unchecked and provides a separate indicator for the current state} \item{\verb{check-menu-item}}{ A menu item with a check box} \item{\verb{color-chooser}}{ A specialized dialog that lets the user choose a color} \item{\verb{column-header}}{ The header for a column of data} \item{\verb{combo-box}}{ A list of choices the user can select from} \item{\verb{date-editor}}{ An object whose purpose is to allow a user to edit a date} \item{\verb{desktop-icon}}{ An inconifed internal frame within a DESKTOP_PANE} \item{\verb{desktop-frame}}{ A pane that supports internal frames and iconified versions of those internal frames} \item{\verb{dial}}{ An object whose purpose is to allow a user to set a value} \item{\verb{dialog}}{ A top level window with title bar and a border} \item{\verb{directory-pane}}{ A pane that allows the user to navigate through and select the contents of a directory} \item{\verb{drawing-area}}{ An object used for drawing custom user interface elements} \item{\verb{file-chooser}}{ A specialized dialog that lets the user choose a file} \item{\verb{filler}}{ A object that fills up space in a user interface} \item{\verb{font-chooser}}{ A specialized dialog that lets the user choose a font} \item{\verb{frame}}{ A top level window with a title bar, border, menubar, etc.} \item{\verb{glass-pane}}{ A pane that is guaranteed to be painted on top of all panes beneath it} \item{\verb{html-container}}{ A document container for HTML, whose children represent the document content} \item{\verb{icon}}{ A small fixed size picture, typically used to decorate components} \item{\verb{image}}{ An object whose primary purpose is to display an image} \item{\verb{internal-frame}}{ A frame-like object that is clipped by a desktop pane} \item{\verb{label}}{ An object used to present an icon or short string in an interface} \item{\verb{layered-pane}}{ A specialized pane that allows its children to be drawn in layers, providing a form of stacking order} \item{\verb{list}}{ An object that presents a list of objects to the user and allows the user to select one or more of them } \item{\verb{list-item}}{ An object that represents an element of a list } \item{\verb{menu}}{ An object usually found inside a menu bar that contains a list of actions the user can choose from} \item{\verb{menu-bar}}{ An object usually drawn at the top of the primary dialog box of an application that contains a list of menus the user can choose from } \item{\verb{menu-item}}{ An object usually contained in a menu that presents an action the user can choose} \item{\verb{option-pane}}{ A specialized pane whose primary use is inside a DIALOG} \item{\verb{page-tab}}{ An object that is a child of a page tab list} \item{\verb{page-tab-list}}{ An object that presents a series of panels (or page tabs), one at a time, through some mechanism provided by the object } \item{\verb{panel}}{ A generic container that is often used to group objects} \item{\verb{password-text}}{ A text object uses for passwords, or other places where the text content is not shown visibly to the user} \item{\verb{popup-menu}}{ A temporary window that is usually used to offer the user a list of choices, and then hides when the user selects one of those choices} \item{\verb{progress-bar}}{ An object used to indicate how much of a task has been completed} \item{\verb{push-button}}{ An object the user can manipulate to tell the application to do something} \item{\verb{radio-button}}{ A specialized check box that will cause other radio buttons in the same group to become unchecked when this one is checked} \item{\verb{radio-menu-item}}{ A check menu item which belongs to a group. At each instant exactly one of the radio menu items from a group is selected} \item{\verb{root-pane}}{ A specialized pane that has a glass pane and a layered pane as its children} \item{\verb{row-header}}{ The header for a row of data} \item{\verb{scroll-bar}}{ An object usually used to allow a user to incrementally view a large amount of data.} \item{\verb{scroll-pane}}{ An object that allows a user to incrementally view a large amount of information} \item{\verb{separator}}{ An object usually contained in a menu to provide a visible and logical separation of the contents in a menu} \item{\verb{slider}}{ An object that allows the user to select from a bounded range} \item{\verb{split-pane}}{ A specialized panel that presents two other panels at the same time} \item{\verb{spin-button}}{ An object used to get an integer or floating point number from the user} \item{\verb{statusbar}}{ An object which reports messages of minor importance to the user} \item{\verb{table}}{ An object used to represent information in terms of rows and columns} \item{\verb{table-cell}}{ A cell in a table} \item{\verb{table-column-header}}{ The header for a column of a table} \item{\verb{table-row-header}}{ The header for a row of a table} \item{\verb{tear-off-menu-item}}{ A menu item used to tear off and reattach its menu} \item{\verb{terminal}}{ An object that represents an accessible terminal. \code{Since}: ATK-0.6} \item{\verb{text}}{ An object that presents text to the user} \item{\verb{toggle-button}}{ A specialized push button that can be checked or unchecked, but does not provide a separate indicator for the current state} \item{\verb{tool-bar}}{ A bar or palette usually composed of push buttons or toggle buttons} \item{\verb{tool-tip}}{ An object that provides information about another object} \item{\verb{tree}}{ An object used to represent hierarchical information to the user} \item{\verb{tree-table}}{ An object capable of expanding and collapsing rows as well as showing multiple columns of data. \code{Since}: ATK-0.7} \item{\verb{unknown}}{ The object contains some Accessible information, but its role is not known} \item{\verb{viewport}}{ An object usually used in a scroll pane} \item{\verb{window}}{ A top level window with no title or border.} \item{\verb{header}}{ An object that serves as a document header. \code{Since}: ATK-1.1.1} \item{\verb{footer}}{ An object that serves as a document footer. \code{Since}: ATK-1.1.1} \item{\verb{paragraph}}{ An object which is contains a paragraph of text content. \code{Since}: ATK-1.1.1} \item{\verb{ruler}}{ An object which describes margins and tab stops, etc. for text objects which it controls (should have CONTROLLER_FOR relation to such). \code{Since}: ATK-1.1.1} \item{\verb{application}}{ The object is an application object, which may contain \code{ATK.ROLE.FRAME} objects or other types of accessibles. The root accessible of any application's ATK hierarchy should have ATK_ROLE_APPLICATION. \code{Since}: ATK-1.1.4} \item{\verb{autocomplete}}{ The object is a dialog or list containing items for insertion into an entry widget, for instance a list of words for completion of a text entry. \code{Since}: ATK-1.3} \item{\verb{editbar}}{ The object is an editable text object in a toolbar. \code{Since}: ATK-1.5} \item{\verb{embedded}}{ The object is an embedded container within a document or panel. This role is a grouping "hint" indicating that the contained objects share a context. \code{Since}: ATK-1.7.2} \item{\verb{form}}{ The object is a component whose textual content may be entered or modified by the user, provided \code{ATK.STATE.EDITABLE} is present. \code{Since}: ATK-1.11} \item{\verb{last-defined}}{ The object is a graphical depiction of quantitative data. It may contain multiple subelements whose attributes and/or description may be queried to obtain both the quantitative data and information about how the data is being presented. The LABELLED_BY relation is particularly important in interpreting objects of this type, as is the accessible-description property. \code{Since}: ATK-1.11} } } \item{\verb{AtkLayer}}{ Describes the layer of a component These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another. \describe{ \item{\verb{invalid}}{ The object does not have a layer} \item{\verb{background}}{ This layer is reserved for the desktop background} \item{\verb{canvas}}{ This layer is used for Canvas components} \item{\verb{widget}}{ This layer is normally used for components} \item{\verb{mdi}}{ This layer is used for layered components} \item{\verb{popup}}{ This layer is used for popup components, such as menus} \item{\verb{overlay}}{ This layer is reserved for future use.} \item{\verb{window}}{ This layer is used for toplevel windows.} } } }} \section{User Functions}{\describe{ \item{\code{AtkFunction(data)}}{ An AtkFunction is a function definition used for padding which has been added to class and interface structures to allow for expansion in the future. \describe{\item{\code{data}}{[R object] a gpointer to parameter data.}} \emph{Returns:} [logical] Nothing useful, this is only a dummy prototype. } \item{\code{AtkPropertyChangeHandler(Param1, Param2)}}{ An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to \code{\link{atkObjectConnectPropertyChangeHandler}}. \describe{ \item{\code{Param1}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\code{Param2}}{[AtkPropertyValues] an \verb{AtkPropertyValues}} } } }} \section{Signals}{\describe{ \item{\code{active-descendant-changed(atkobject, arg1, user.data)}}{ The "active-descendant-changed" signal is emitted by an object which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus object in the object changes. For instance, a table will emit the signal when the cell in the table which has focus changes. \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{arg1}}{[R object] the newly focused object.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{children-changed(atkobject, arg1, arg2, user.data)}}{ The signal "children-changed" is emitted when a child is added or removed form an object. It supports two details: "add" and "remove" \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{arg1}}{[numeric] The index of the added or removed child} \item{\code{arg2}}{[R object] A gpointer to the child AtkObject which was added or removed} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{focus-event(atkobject, arg1, user.data)}}{ The signal "focus-event" is emitted when an object gains or loses focus. \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{arg1}}{[logical] A boolean value which indicates whether the object gained or lost focus.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{property-change(atkobject, arg1, user.data)}}{ The signal "property-change" is emitted when an object's property value changes. The detail identifies the name of the property whose value has changed. \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{arg1}}{[R object] The new value of the property which changed.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{state-change(atkobject, arg1, arg2, user.data)}}{ The "state-change" signal is emitted when an object's state changes. The detail value identifies the state type which has changed. \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{arg1}}{[character] The name of the state which has changed} \item{\code{arg2}}{[logical] A boolean which indicates whether the state has been set or unset.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{visible-data-changed(atkobject, user.data)}}{ The "visible-data-changed" signal is emitted when the visual appearance of the object changed. \describe{ \item{\code{atkobject}}{[\code{\link{AtkObject}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{accessible-component-layer} [integer : Read]}{ The accessible layer of this object. Allowed values: >= 0 Default value: 0 } \item{\verb{accessible-component-mdi-zorder} [integer : Read]}{ The accessible MDI value of this object. Default value: -2147483648 } \item{\verb{accessible-description} [character : * : Read / Write]}{ Description of an object, formatted for assistive technology access. Default value: NULL } \item{\verb{accessible-hypertext-nlinks} [integer : Read]}{ The number of links which the current AtkHypertext has. Allowed values: >= 0 Default value: 0 } \item{\verb{accessible-name} [character : * : Read / Write]}{ Object instance's name formatted for assistive technology access. Default value: NULL } \item{\verb{accessible-parent} [\code{\link{AtkObject}} : * : Read / Write]}{ Is used to notify that the parent has changed. } \item{\verb{accessible-role} [integer : Read / Write]}{ The accessible role of this object. Allowed values: >= 0 Default value: 0 } \item{\verb{accessible-table-caption} [character : * : Read / Write]}{ Is used to notify that the table caption has changed; this property should not be used. accessible-table-caption-object should be used instead. Default value: NULL } \item{\verb{accessible-table-caption-object} [\code{\link{AtkObject}} : * : Read / Write]}{ Is used to notify that the table caption has changed. } \item{\verb{accessible-table-column-description} [character : * : Read / Write]}{ Is used to notify that the table column description has changed. Default value: NULL } \item{\verb{accessible-table-column-header} [\code{\link{AtkObject}} : * : Read / Write]}{ Is used to notify that the table column header has changed. } \item{\verb{accessible-table-row-description} [character : * : Read / Write]}{ Is used to notify that the table row description has changed. Default value: NULL } \item{\verb{accessible-table-row-header} [\code{\link{AtkObject}} : * : Read / Write]}{ Is used to notify that the table row header has changed. } \item{\verb{accessible-table-summary} [\code{\link{AtkObject}} : * : Read / Write]}{ Is used to notify that the table summary has changed. } \item{\verb{accessible-value} [numeric : Read / Write]}{ Is used to notify that the value has changed. Allowed values: >= 0 Default value: 0 } }} \references{\url{http://library.gnome.org/devel//atk/AtkObject.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{AtkObjectFactory}} \code{\link{AtkRegistry}} \code{\link{GtkAccessible}} } \keyword{internal} RGtk2/man/gtkSelectionDataGetText.Rd0000644000176000001440000000102212362217677017037 0ustar ripleyusers\alias{gtkSelectionDataGetText} \name{gtkSelectionDataGetText} \title{gtkSelectionDataGetText} \description{Gets the contents of the selection data as a UTF-8 string.} \usage{gtkSelectionDataGetText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}}}} \value{[raw] if the selection data contained a recognized text type and it could be converted to UTF-8, a newly allocated string containing the converted text, otherwise \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentNew.Rd0000644000176000001440000000122512362217677015610 0ustar ripleyusers\alias{gtkAdjustmentNew} \name{gtkAdjustmentNew} \title{gtkAdjustmentNew} \description{Creates a new \code{\link{GtkAdjustment}}.} \usage{gtkAdjustmentNew(value = NULL, lower = NULL, upper = NULL, step.incr = NULL, page.incr = NULL, page.size = NULL)} \arguments{ \item{\verb{value}}{the initial value.} \item{\verb{lower}}{the minimum value.} \item{\verb{upper}}{the maximum value.} \item{\verb{step.incr}}{the step increment.} \item{\verb{page.incr}}{the page increment.} \item{\verb{page.size}}{the page size.} } \value{[\code{\link{GtkObject}}] a new \code{\link{GtkAdjustment}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSelectUri.Rd0000644000176000001440000000130212362217677017377 0ustar ripleyusers\alias{gtkRecentChooserSelectUri} \name{gtkRecentChooserSelectUri} \title{gtkRecentChooserSelectUri} \description{Selects \code{uri} inside \code{chooser}.} \usage{gtkRecentChooserSelectUri(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{uri}}{a URI} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{uri} was found.} \item{\verb{error}}{return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCairoRegion.Rd0000644000176000001440000000055612362217677015207 0ustar ripleyusers\alias{gdkCairoRegion} \name{gdkCairoRegion} \title{gdkCairoRegion} \description{Adds the given region to the current path of \code{cr}.} \usage{gdkCairoRegion(cr, region)} \arguments{ \item{\verb{cr}}{a \code{\link{Cairo}}} \item{\verb{region}}{a \code{\link{GdkRegion}}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetAttributeUint32.Rd0000644000176000001440000000076712362217677017533 0ustar ripleyusers\alias{gFileInfoSetAttributeUint32} \name{gFileInfoSetAttributeUint32} \title{gFileInfoSetAttributeUint32} \description{Sets the \code{attribute} to contain the given \code{attr.value}, if possible.} \usage{gFileInfoSetAttributeUint32(object, attribute, attr.value)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} \item{\verb{attr.value}}{an unsigned 32-bit integer.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkGetUri.Rd0000644000176000001440000000111312362217677016073 0ustar ripleyusers\alias{atkHyperlinkGetUri} \name{atkHyperlinkGetUri} \title{atkHyperlinkGetUri} \description{Get a the URI associated with the anchor specified by \code{i} of \code{link.}. } \usage{atkHyperlinkGetUri(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}} \item{\verb{i}}{[integer] a (zero-index) integer specifying the desired anchor} } \details{Multiple anchors are primarily used by client-side image maps. } \value{[character] a string specifying the URI } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAspectFrameSet.Rd0000644000176000001440000000161012362217677015664 0ustar ripleyusers\alias{gtkAspectFrameSet} \name{gtkAspectFrameSet} \title{gtkAspectFrameSet} \description{Set parameters for an existing \code{\link{GtkAspectFrame}}.} \usage{gtkAspectFrameSet(object, xalign = 0, yalign = 0, ratio = 1, obey.child = 1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAspectFrame}}} \item{\verb{xalign}}{Horizontal alignment of the child within the allocation of the \code{\link{GtkAspectFrame}}. This ranges from 0.0 (left aligned) to 1.0 (right aligned)} \item{\verb{yalign}}{Vertical alignment of the child within the allocation of the \code{\link{GtkAspectFrame}}. This ranges from 0.0 (left aligned) to 1.0 (right aligned)} \item{\verb{ratio}}{The desired aspect ratio.} \item{\verb{obey.child}}{If \code{TRUE}, \code{ratio} is ignored, and the aspect ratio is taken from the requistion of the child.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetGridLines.Rd0000644000176000001440000000073412362217677017033 0ustar ripleyusers\alias{gtkTreeViewSetGridLines} \name{gtkTreeViewSetGridLines} \title{gtkTreeViewSetGridLines} \description{Sets which grid lines to draw in \code{tree.view}.} \usage{gtkTreeViewSetGridLines(object, grid.lines)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{grid.lines}}{a \code{\link{GtkTreeViewGridLines}} value indicating which grid lines to enable.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetSelectable.Rd0000644000176000001440000000102712362217677016462 0ustar ripleyusers\alias{gtkCListGetSelectable} \name{gtkCListGetSelectable} \title{gtkCListGetSelectable} \description{ Gets whether the specified row is selectable or not. \strong{WARNING: \code{gtk_clist_get_selectable} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetSelectable(object, row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to query.} } \value{[logical] A \verb{logical} value.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetLanguage.Rd0000644000176000001440000000065412362217677017074 0ustar ripleyusers\alias{pangoContextGetLanguage} \name{pangoContextGetLanguage} \title{pangoContextGetLanguage} \description{Retrieves the global language tag for the context.} \usage{pangoContextGetLanguage(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \value{[\code{\link{PangoLanguage}}] the global language tag.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetVisibleVertical.Rd0000644000176000001440000000071612362217677017725 0ustar ripleyusers\alias{gtkActionSetVisibleVertical} \name{gtkActionSetVisibleVertical} \title{gtkActionSetVisibleVertical} \description{Sets whether \code{action} is visible when vertical} \usage{gtkActionSetVisibleVertical(object, visible.vertical)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{visible.vertical}}{whether the action is visible vertically} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetTooltipItem.Rd0000644000176000001440000000117412362217677017414 0ustar ripleyusers\alias{gtkIconViewSetTooltipItem} \name{gtkIconViewSetTooltipItem} \title{gtkIconViewSetTooltipItem} \description{Sets the tip area of \code{tooltip} to be the area covered by the item at \code{path}. See also \code{\link{gtkIconViewSetTooltipColumn}} for a simpler alternative. See also \code{\link{gtkTooltipSetTipArea}}.} \usage{gtkIconViewSetTooltipItem(object, tooltip, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{tooltip}}{a \code{\link{GtkTooltip}}} \item{\verb{path}}{a \code{\link{GtkTreePath}}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawExpander.Rd0000644000176000001440000000137412362217677015411 0ustar ripleyusers\alias{gtkDrawExpander} \name{gtkDrawExpander} \title{gtkDrawExpander} \description{ Draws an expander as used in \code{\link{GtkTreeView}}. \strong{WARNING: \code{gtk_draw_expander} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintExpander}} instead.} } \usage{gtkDrawExpander(object, window, state.type, x, y, is.open)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{x}}{the x position to draw the expander at} \item{\verb{y}}{the y position to draw the expander at} \item{\verb{is.open}}{the style to draw the expander in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragGetProtocol.Rd0000644000176000001440000000126212362217677016040 0ustar ripleyusers\alias{gdkDragGetProtocol} \name{gdkDragGetProtocol} \title{gdkDragGetProtocol} \description{Finds out the DND protocol supported by a window.} \usage{gdkDragGetProtocol(xid)} \arguments{\item{\verb{xid}}{the windowing system id of the destination window.}} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkNativeWindow}}] the windowing system specific id for the window where the drop should happen. This may be \code{xid} or the id of a proxy window, or zero if \code{xid} doesn't support Drag and Drop.} \item{\verb{protocol}}{location where the supported DND protocol is returned.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetAttributes.Rd0000644000176000001440000000165412362217677016735 0ustar ripleyusers\alias{atkObjectGetAttributes} \name{atkObjectGetAttributes} \title{atkObjectGetAttributes} \description{Get a list of properties applied to this object as a whole, as an \code{\link{AtkAttributeSet}} consisting of name-value pairs. As such these attributes may be considered weakly-typed properties or annotations, as distinct from strongly-typed object data available via other get/set methods. Not all objects have explicit "name-value pair" \code{\link{AtkAttributeSet}} properties.} \usage{atkObjectGetAttributes(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] An \code{\link{AtkObject}}.}} \details{ Since 1.12} \value{[\code{\link{AtkAttributeSet}}] an \code{\link{AtkAttributeSet}} consisting of all explicit properties/annotations applied to the object, or an empty set if the object has no name-value pair attributes assigned to it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetRowData.Rd0000644000176000001440000000101612362217677016564 0ustar ripleyusers\alias{gtkCTreeNodeSetRowData} \name{gtkCTreeNodeSetRowData} \title{gtkCTreeNodeSetRowData} \description{ Set the custom data associated with a node. \strong{WARNING: \code{gtk_ctree_node_set_row_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetRowData(object, node, data)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetLabelWidget.Rd0000644000176000001440000000144112362217677017711 0ustar ripleyusers\alias{gtkToolButtonSetLabelWidget} \name{gtkToolButtonSetLabelWidget} \title{gtkToolButtonSetLabelWidget} \description{Sets \code{label.widget} as the widget that will be used as the label for \code{button}. If \code{label.widget} is \code{NULL} the "label" property is used as label. If "label" is also \code{NULL}, the label in the stock item determined by the "stock_id" property is used as label. If "stock_id" is also \code{NULL}, \code{button} does not have a label.} \usage{gtkToolButtonSetLabelWidget(object, label.widget = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{label.widget}}{the widget used as label, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemSetAlwaysShowImage.Rd0000644000176000001440000000122312362217677021145 0ustar ripleyusers\alias{gtkImageMenuItemSetAlwaysShowImage} \name{gtkImageMenuItemSetAlwaysShowImage} \title{gtkImageMenuItemSetAlwaysShowImage} \description{If \code{TRUE}, the menu item will ignore the \verb{"gtk-menu-images"} setting and always show the image, if available.} \usage{gtkImageMenuItemSetAlwaysShowImage(object, always.show)} \arguments{ \item{\verb{object}}{a \code{\link{GtkImageMenuItem}}} \item{\verb{always.show}}{\code{TRUE} if the menuitem should always show the image} } \details{Use this property if the menuitem would be useless or hard to use without the image. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoSchedulerJobSendToMainloopAsync.Rd0000644000176000001440000000161012362217677021132 0ustar ripleyusers\alias{gIoSchedulerJobSendToMainloopAsync} \name{gIoSchedulerJobSendToMainloopAsync} \title{gIoSchedulerJobSendToMainloopAsync} \description{Used from an I/O job to send a callback to be run asynchronously in the thread that the job was started from. The callback will be run when the main loop is available, but at that time the I/O job might have finished. The return value from the callback is ignored.} \usage{gIoSchedulerJobSendToMainloopAsync(object, func, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GIOSchedulerJob}}} \item{\verb{func}}{a \verb{GSourceFunc} callback that will be called in the original thread} \item{\verb{user.data}}{data to pass to \code{func}} } \details{ either by passing \code{NULL} as \code{notify} to \code{gIoSchedulerPushJob()} or by using refcounting for \code{user.data}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListRemove.Rd0000644000176000001440000000067712362217677015226 0ustar ripleyusers\alias{gtkCListRemove} \name{gtkCListRemove} \title{gtkCListRemove} \description{ Removes the specified row from the CList. \strong{WARNING: \code{gtk_clist_remove} is deprecated and should not be used in newly-written code.} } \usage{gtkCListRemove(object, row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to remove.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetMimeType.Rd0000644000176000001440000000064512362217677017173 0ustar ripleyusers\alias{gtkRecentInfoGetMimeType} \name{gtkRecentInfoGetMimeType} \title{gtkRecentInfoGetMimeType} \description{Gets the MIME type of the resource.} \usage{gtkRecentInfoGetMimeType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] the MIME type of the resource. and should not be freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconNewFromNames.Rd0000644000176000001440000000102212362217677016755 0ustar ripleyusers\alias{gThemedIconNewFromNames} \name{gThemedIconNewFromNames} \title{gThemedIconNewFromNames} \description{Creates a new themed icon for \code{iconnames}.} \usage{gThemedIconNewFromNames(iconnames, len)} \arguments{ \item{\verb{iconnames}}{a list of strings containing icon names.} \item{\verb{len}}{the length of the \code{iconnames} list, or -1 if \code{iconnames} is \code{NULL}-terminated} } \value{[\code{\link{GIcon}}] a new \code{\link{GThemedIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetNCopies.Rd0000644000176000001440000000064612362217677017564 0ustar ripleyusers\alias{gtkPrintSettingsGetNCopies} \name{gtkPrintSettingsGetNCopies} \title{gtkPrintSettingsGetNCopies} \description{Gets the value of \code{GTK_PRINT_SETTINGS_N_COPIES}.} \usage{gtkPrintSettingsGetNCopies(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[integer] the number of copies to print} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkActivatable.Rd0000644000176000001440000001334012362217677015200 0ustar ripleyusers\alias{GtkActivatable} \name{GtkActivatable} \title{GtkActivatable} \description{An interface for activatable widgets} \section{Methods and Functions}{ \code{\link{gtkActivatableDoSetRelatedAction}(object, action)}\cr \code{\link{gtkActivatableGetRelatedAction}(object)}\cr \code{\link{gtkActivatableGetUseActionAppearance}(object)}\cr \code{\link{gtkActivatableSyncActionProperties}(object, action = NULL)}\cr \code{\link{gtkActivatableSetRelatedAction}(object, action)}\cr \code{\link{gtkActivatableSetUseActionAppearance}(object, use.appearance)}\cr } \section{Hierarchy}{\preformatted{GInterface +----GtkActivatable}} \section{Implementations}{GtkActivatable is implemented by \code{\link{GtkButton}}, \code{\link{GtkCheckButton}}, \code{\link{GtkCheckMenuItem}}, \code{\link{GtkColorButton}}, \code{\link{GtkFontButton}}, \code{\link{GtkImageMenuItem}}, \code{\link{GtkLinkButton}}, \code{\link{GtkMenuItem}}, \code{\link{GtkMenuToolButton}}, \code{\link{GtkOptionMenu}}, \code{\link{GtkRadioButton}}, \code{\link{GtkRadioMenuItem}}, \code{\link{GtkRadioToolButton}}, \code{\link{GtkRecentChooserMenu}}, \code{\link{GtkScaleButton}}, \code{\link{GtkSeparatorMenuItem}}, \code{\link{GtkSeparatorToolItem}}, \code{\link{GtkTearoffMenuItem}}, \code{\link{GtkToggleButton}}, \code{\link{GtkToggleToolButton}}, \code{\link{GtkToolButton}}, \code{\link{GtkToolItem}} and \code{\link{GtkVolumeButton}}.} \section{Detailed Description}{Activatable widgets can be connected to a \code{\link{GtkAction}} and reflects the state of its action. A \code{\link{GtkActivatable}} can also provide feedback through its action, as they are responsible for activating their related actions. \emph{Implementing GtkActivatable} When extending a class that is already \code{\link{GtkActivatable}}; it is only necessary to implement the \code{\link{GtkActivatable}}->\code{syncActionProperties()} and \code{\link{GtkActivatable}}->\code{update()} methods and chain up to the parent implementation, however when introducing a new \code{\link{GtkActivatable}} class; the \verb{"related-action"} and \verb{"use-action-appearance"} properties need to be handled by the implementor. Handling these properties is mostly a matter of installing the action pointer and boolean flag on your instance, and calling \code{\link{gtkActivatableDoSetRelatedAction}} and \code{\link{gtkActivatableSyncActionProperties}} at the appropriate times. \emph{A class fragment implementing \code{\link{GtkActivatable}}} \preformatted{ gClass("FooBar", "GtkButton", .prop_overrides=c("related-action", "use-action-appearance"), GObject=list( dispose=function(object) { object$doSetRelatedAction(NULL) }, set_property=function(object, id, value, pspec) { if (pspec$name == "related-action") { assignProp(object, pspec, value) object$doSetRelatedAction(value) } else if (pspec$name == "use-action-appearance") { if (value != getProp(pspec)) { assignProp(object, pspec, value) object$syncActionProperties(object$"related-action") } } else { warning("invalid property: ", pspec$name) } } ), GtkActivatable=list( sync_action_properties=function(activatable, action) { if (is.null(action)) { return() } activatable$visible <- action$visible activatable$sensitive <- action$sensitive ## ... if (activatable$use_action_appearance) { if (!is.null(action$stock_id)) { activatable$label <- action$stock_id } else { activatable$label <- action$label } activatable$use_stock <- !is.null(action$stock_id) } ## ... }, update=function(activatable, action, property_name) { if (property_name == "visible") { activatable$visible <- action$visible } else if (property_name == "sensitive") { activatable$sensitive <- action$sensitive } ## ... if (activatable$use_action_appearance) { if (property_name == "stock-id") { activatable$label <- action$stock_id activatable$use_stock <- !is.null(action$stock_id) } else if (property_name == "label") { activatable$label <- action$label } } ## ... } )) }} \section{Structures}{\describe{\item{\verb{GtkActivatable}}{ \emph{undocumented } }}} \section{Properties}{\describe{ \item{\verb{related-action} [\code{\link{GtkAction}} : * : Read / Write]}{ The action that this activatable will activate and receive updates from for various states and possibly appearance. \strong{PLEASE NOTE:} \code{\link{GtkActivatable}} implementors need to handle the this property and call \code{\link{gtkActivatableDoSetRelatedAction}} when it changes. Since 2.16 } \item{\verb{use-action-appearance} [logical : Read / Write]}{ Whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance. See the \code{\link{GtkAction}} documentation directly to find which properties should be ignored by the \code{\link{GtkActivatable}} when this property is \code{FALSE}. \strong{PLEASE NOTE:} \code{\link{GtkActivatable}} implementors need to handle this property and call \code{\link{gtkActivatableSyncActionProperties}} on the activatable widget when it changes. Default value: TRUE Since 2.16 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkActivatable.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkFileChooserWidget.Rd0000644000176000001440000000425612362217677016335 0ustar ripleyusers\alias{GtkFileChooserWidget} \alias{gtkFileChooserWidget} \name{GtkFileChooserWidget} \title{GtkFileChooserWidget} \description{File chooser widget that can be embedded in other widgets} \section{Methods and Functions}{ \code{\link{gtkFileChooserWidgetNew}(action, show = TRUE)}\cr \code{\link{gtkFileChooserWidgetNewWithBackend}(action, backend, show = TRUE)}\cr \code{\link{gtkFileChooserWidgetNewWithBackend}(action, backend, show = TRUE)}\cr \code{gtkFileChooserWidget(action, backend, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkFileChooserWidget}} \section{Interfaces}{GtkFileChooserWidget implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkOrientable}}, \code{\link{GtkFileChooser}} and GtkFileChooserEmbed.} \section{Detailed Description}{\code{\link{GtkFileChooserWidget}} is a widget suitable for selecting files. It is the main building block of a \code{\link{GtkFileChooserDialog}}. Most applications will only need to use the latter; you can use \code{\link{GtkFileChooserWidget}} as part of a larger window if you have special needs. Note that \code{\link{GtkFileChooserWidget}} does not have any methods of its own. Instead, you should use the functions that work on a \code{\link{GtkFileChooser}}. } \section{Structures}{\describe{\item{\verb{GtkFileChooserWidget}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkFileChooserWidget} is the result of collapsing the constructors of \code{GtkFileChooserWidget} (\code{\link{gtkFileChooserWidgetNew}}, \code{\link{gtkFileChooserWidgetNewWithBackend}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkFileChooserWidget.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkFileChooser}} \code{\link{GtkFileChooserDialog}} } \keyword{internal} RGtk2/man/gtkTextBufferDeserialize.Rd0000644000176000001440000000223512362217677017261 0ustar ripleyusers\alias{gtkTextBufferDeserialize} \name{gtkTextBufferDeserialize} \title{gtkTextBufferDeserialize} \description{This function deserializes rich text in format \code{format} and inserts it at \code{iter}.} \usage{gtkTextBufferDeserialize(object, content.buffer, format, iter, data, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{the \code{\link{GtkTextBuffer}} \code{format} is registered with} \item{\verb{content.buffer}}{the \code{\link{GtkTextBuffer}} to deserialize into} \item{\verb{format}}{the rich text format to use for deserializing} \item{\verb{iter}}{insertion point for the deserialized text} \item{\verb{data}}{data to deserialize} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{\code{format}s to be used must be registered using \code{\link{gtkTextBufferRegisterDeserializeFormat}} or \code{\link{gtkTextBufferRegisterDeserializeTagset}} beforehand. Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} otherwise.} \item{\verb{error}}{return location for a \code{\link{GError}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetResizable.Rd0000644000176000001440000000066712362217677016615 0ustar ripleyusers\alias{gtkWindowSetResizable} \name{gtkWindowSetResizable} \title{gtkWindowSetResizable} \description{Sets whether the user can resize a window. Windows are user resizable by default.} \usage{gtkWindowSetResizable(object, resizable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{resizable}}{\code{TRUE} if the user can resize this window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnTitle.Rd0000644000176000001440000000110412362217677016666 0ustar ripleyusers\alias{gtkCListSetColumnTitle} \name{gtkCListSetColumnTitle} \title{gtkCListSetColumnTitle} \description{ Sets the title for the specified column. \strong{WARNING: \code{gtk_clist_set_column_title} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnTitle(object, column, title)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column whose title should be changed.} \item{\verb{title}}{A string to be the column's title.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoArcNegative.Rd0000644000176000001440000000206512362217677015523 0ustar ripleyusers\alias{cairoArcNegative} \name{cairoArcNegative} \title{cairoArcNegative} \description{Adds a circular arc of the given \code{radius} to the current path. The arc is centered at (\code{xc}, \code{yc}), begins at \code{angle1} and proceeds in the direction of decreasing angles to end at \code{angle2}. If \code{angle2} is greater than \code{angle1} it will be progressively decreased by 2*M_PI until it is less than \code{angle1}.} \usage{cairoArcNegative(cr, xc, yc, radius, angle1, angle2)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{xc}}{[numeric] X position of the center of the arc} \item{\verb{yc}}{[numeric] Y position of the center of the arc} \item{\verb{radius}}{[numeric] the radius of the arc} \item{\verb{angle1}}{[numeric] the start angle, in radians} \item{\verb{angle2}}{[numeric] the end angle, in radians} } \details{See \code{\link{cairoArc}} for more details. This function differs only in the direction of the arc between the two angles. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestTextGet.Rd0000644000176000001440000000063212362217677015245 0ustar ripleyusers\alias{gtkTestTextGet} \name{gtkTestTextGet} \title{gtkTestTextGet} \description{Retrive the text string of \code{widget} if it is a GtkLabel, GtkEditable (entry and text widgets) or GtkTextView.} \usage{gtkTestTextGet(widget)} \arguments{\item{\verb{widget}}{valid widget pointer.}} \details{Since 2.14} \value{[character] new C string,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewInsertColumnWithAttributes.Rd0000644000176000001440000000207512362217677022024 0ustar ripleyusers\alias{gtkTreeViewInsertColumnWithAttributes} \name{gtkTreeViewInsertColumnWithAttributes} \title{gtkTreeViewInsertColumnWithAttributes} \description{Creates a new \code{\link{GtkTreeViewColumn}} and inserts it into the \code{tree.view} at \code{position}. If \code{position} is -1, then the newly created column is inserted at the end. The column is initialized with the attributes given. If \code{tree.view} has "fixed_height" mode enabled, then the new column will have its sizing property set to be GTK_TREE_VIEW_COLUMN_FIXED.} \usage{gtkTreeViewInsertColumnWithAttributes(object, position, title, cell, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{position}}{The position to insert the new column in.} \item{\verb{title}}{The title to set the header to.} \item{\verb{cell}}{The \code{\link{GtkCellRenderer}}.} \item{\verb{...}}{The number of columns in \code{tree.view} after insertion.} } \value{[integer] The number of columns in \code{tree.view} after insertion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetUsize.Rd0000644000176000001440000000274612362217677015750 0ustar ripleyusers\alias{gtkWidgetSetUsize} \name{gtkWidgetSetUsize} \title{gtkWidgetSetUsize} \description{ Sets the minimum size of a widget; that is, the widget's size request will be \code{width} by \code{height}. You can use this function to force a widget to be either larger or smaller than it is. The strange "usize" name dates from the early days of GTK+, and derives from X Window System terminology. In many cases, \code{\link{gtkWindowSetDefaultSize}} is a better choice for toplevel windows than this function; setting the default size will still allow users to shrink the window. Setting the usize will force them to leave the window at least as large as the usize. When dealing with window sizes, \code{\link{gtkWindowSetGeometryHints}} can be a useful function as well. \strong{WARNING: \code{gtk_widget_set_usize} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gtkWidgetSetSizeRequest}} instead.} } \usage{gtkWidgetSetUsize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{width}}{minimum width, or -1 to unset} \item{\verb{height}}{minimum height, or -1 to unset} } \details{Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. So, it's basically impossible to hardcode a size that will always be correct.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUint64.Rd0000644000176000001440000000215312362217677017335 0ustar ripleyusers\alias{gDataInputStreamReadUint64} \name{gDataInputStreamReadUint64} \title{gDataInputStreamReadUint64} \description{Reads an unsigned 64-bit/8-byte value from \code{stream}.} \usage{gDataInputStreamReadUint64(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[numeric] an unsigned 64-bit/8-byte read from \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPrinterLpi.Rd0000644000176000001440000000070612362217677020325 0ustar ripleyusers\alias{gtkPrintSettingsSetPrinterLpi} \name{gtkPrintSettingsSetPrinterLpi} \title{gtkPrintSettingsSetPrinterLpi} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PRINTER_LPI}.} \usage{gtkPrintSettingsSetPrinterLpi(object, lpi)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{lpi}}{the resolution in lpi (lines per inch)} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetHasAlpha.Rd0000644000176000001440000000062312362217677016300 0ustar ripleyusers\alias{gdkPixbufGetHasAlpha} \name{gdkPixbufGetHasAlpha} \title{gdkPixbufGetHasAlpha} \description{Queries whether a pixbuf has an alpha channel (opacity information).} \usage{gdkPixbufGetHasAlpha(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[logical] \code{TRUE} if it has an alpha channel, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkAtomIntern.Rd0000644000176000001440000000122312362217677015056 0ustar ripleyusers\alias{gdkAtomIntern} \name{gdkAtomIntern} \title{gdkAtomIntern} \description{Finds or creates an atom corresponding to a given string.} \usage{gdkAtomIntern(atom.name, only.if.exists = FALSE)} \arguments{ \item{\verb{atom.name}}{a string.} \item{\verb{only.if.exists}}{if \code{TRUE}, GDK is allowed to not create a new atom, but just return \code{GDK_NONE} if the requested atom doesn't already exists. Currently, the flag is ignored, since checking the existance of an atom is as expensive as creating it.} } \value{[\code{\link{GdkAtom}}] the atom corresponding to \code{atom.name}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowActivateKey.Rd0000644000176000001440000000131212362217677016416 0ustar ripleyusers\alias{gtkWindowActivateKey} \name{gtkWindowActivateKey} \title{gtkWindowActivateKey} \description{Activates mnemonics and accelerators for this \code{\link{GtkWindow}}. This is normally called by the default ::key_press_event handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.} \usage{gtkWindowActivateKey(object, event)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{event}}{a \code{\link{GdkEventKey}}} } \details{Since 2.4} \value{[logical] \code{TRUE} if a mnemonic or accelerator was found and activated.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewUnsetRowsDragSource.Rd0000644000176000001440000000067212362217677020430 0ustar ripleyusers\alias{gtkTreeViewUnsetRowsDragSource} \name{gtkTreeViewUnsetRowsDragSource} \title{gtkTreeViewUnsetRowsDragSource} \description{Undoes the effect of \code{\link{gtkTreeViewEnableModelDragSource}}. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkTreeViewUnsetRowsDragSource(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetReorderable.Rd0000644000176000001440000000227512362217677017374 0ustar ripleyusers\alias{gtkIconViewSetReorderable} \name{gtkIconViewSetReorderable} \title{gtkIconViewSetReorderable} \description{This function is a convenience function to allow you to reorder models that support the \verb{GtkTreeDragSourceIface} and the \verb{GtkTreeDragDestIface}. Both \code{\link{GtkTreeStore}} and \code{\link{GtkListStore}} support these. If \code{reorderable} is \code{TRUE}, then the user can reorder the model by dragging and dropping rows. The developer can listen to these changes by connecting to the model's row_inserted and row_deleted signals. The reordering is implemented by setting up the icon view as a drag source and destination. Therefore, drag and drop can not be used in a reorderable view for any other purpose.} \usage{gtkIconViewSetReorderable(object, reorderable)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{reorderable}}{\code{TRUE}, if the list of items can be reordered.} } \details{This function does not give you any degree of control over the order -- any reordering is allowed. If more control is needed, you should probably handle drag and drop manually. Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoStatus.Rd0000644000176000001440000000062612362217677014617 0ustar ripleyusers\alias{cairoStatus} \name{cairoStatus} \title{cairoStatus} \description{Checks whether an error has previously occurred for this context.} \usage{cairoStatus(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoStatus}}] the current status of this context, see \code{\link{CairoStatus}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterInRange.Rd0000644000176000001440000000102712362217677016034 0ustar ripleyusers\alias{gtkTextIterInRange} \name{gtkTextIterInRange} \title{gtkTextIterInRange} \description{Checks whether \code{iter} falls in the range [\code{start}, \code{end}). \code{start} and \code{end} must be in ascending order.} \usage{gtkTextIterInRange(object, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{start}}{start of range} \item{\verb{end}}{end of range} } \value{[logical] \code{TRUE} if \code{iter} is in the range} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetTitle.Rd0000644000176000001440000000111012362217677015373 0ustar ripleyusers\alias{gtkMenuSetTitle} \name{gtkMenuSetTitle} \title{gtkMenuSetTitle} \description{Sets the title string for the menu. The title is displayed when the menu is shown as a tearoff menu. If \code{title} is \code{NULL}, the menu will see if it is attached to a parent menu item, and if so it will try to use the same text as that menu item's label.} \usage{gtkMenuSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}} \item{\verb{title}}{a string containing the title for the menu.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkImage.Rd0000644000176000001440000000313312362217677013774 0ustar ripleyusers\alias{AtkImage} \name{AtkImage} \title{AtkImage} \description{The ATK Interface implemented by components which expose image or pixmap content on-screen.} \section{Methods and Functions}{ \code{\link{atkImageGetImagePosition}(object, coord.type)}\cr \code{\link{atkImageGetImageDescription}(object)}\cr \code{\link{atkImageSetImageDescription}(object, description)}\cr \code{\link{atkImageGetImageSize}(object)}\cr \code{\link{atkImageGetImageLocale}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkImage}} \section{Implementations}{AtkImage is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkImage}} should be implemented by \code{\link{AtkObject}} subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement \code{\link{AtkImage}}. \code{\link{AtkImage}} primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image.} \section{Structures}{\describe{\item{\verb{AtkImage}}{ The AtkImage structure does not contain any fields. }}} \references{\url{http://library.gnome.org/devel//atk/AtkImage.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetNativeSize.Rd0000644000176000001440000000104212362217677017325 0ustar ripleyusers\alias{gInetAddressGetNativeSize} \name{gInetAddressGetNativeSize} \title{gInetAddressGetNativeSize} \description{Gets the size of the native raw binary address for \code{address}. This is the size of the data that you get from \code{\link{gInetAddressToBytes}}.} \usage{gInetAddressGetNativeSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[numeric] the number of bytes used for the native version of \code{address}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetHeight.Rd0000644000176000001440000000047012362217677016027 0ustar ripleyusers\alias{gdkPixbufGetHeight} \name{gdkPixbufGetHeight} \title{gdkPixbufGetHeight} \description{Queries the height of a pixbuf.} \usage{gdkPixbufGetHeight(object)} \arguments{\item{\verb{object}}{A pixbuf.}} \value{[integer] Height in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSimpleAnimSetLoop.Rd0000644000176000001440000000071512362217677017525 0ustar ripleyusers\alias{gdkPixbufSimpleAnimSetLoop} \name{gdkPixbufSimpleAnimSetLoop} \title{gdkPixbufSimpleAnimSetLoop} \description{Sets whether \code{animation} should loop indefinitely when it reaches the end.} \usage{gdkPixbufSimpleAnimSetLoop(object, loop)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbufSimpleAnim}}} \item{\verb{loop}}{whether to loop the animation} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelGetValue.Rd0000644000176000001440000000114712362217677016340 0ustar ripleyusers\alias{gtkTreeModelGetValue} \name{gtkTreeModelGetValue} \title{gtkTreeModelGetValue} \description{Initializes and sets \code{value} to that at \code{column}. When done with \code{value},} \usage{gtkTreeModelGetValue(object, iter, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}}.} \item{\verb{column}}{The column to lookup the value at.} } \value{ A list containing the following elements: \item{\verb{value}}{(inout) (transfer none) An empty \verb{R object} to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogAddButton.Rd0000644000176000001440000000146112362217677016026 0ustar ripleyusers\alias{gtkDialogAddButton} \name{gtkDialogAddButton} \title{gtkDialogAddButton} \description{Adds a button with the given text (or a stock button, if \code{button.text} is a stock ID) and sets things up so that clicking the button will emit the \code{\link{gtkDialogResponse}} signal with the given \code{response.id}. The button is appended to the end of the dialog's action area. The button widget is returned, but usually you don't need it.} \usage{gtkDialogAddButton(object, button.text, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{button.text}}{text of button, or stock ID} \item{\verb{response.id}}{response ID for the button} } \value{[\code{\link{GtkWidget}}] the button widget that was added} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-transformations.Rd0000644000176000001440000000213612362217677016640 0ustar ripleyusers\alias{cairo-transformations} \name{cairo-transformations} \title{Transformations} \description{Manipulating the current transformation matrix} \section{Methods and Functions}{ \code{\link{cairoTranslate}(cr, tx, ty)}\cr \code{\link{cairoScale}(cr, sx, sy)}\cr \code{\link{cairoRotate}(cr, angle)}\cr \code{\link{cairoTransform}(cr, matrix)}\cr \code{\link{cairoSetMatrix}(cr, matrix)}\cr \code{\link{cairoGetMatrix}(cr, matrix)}\cr \code{\link{cairoIdentityMatrix}(cr)}\cr \code{\link{cairoUserToDevice}(cr, x, y)}\cr \code{\link{cairoUserToDeviceDistance}(cr, dx, dy)}\cr \code{\link{cairoDeviceToUser}(cr, x, y)}\cr \code{\link{cairoDeviceToUserDistance}(cr, dx, dy)}\cr } \section{Detailed Description}{The current transformation matrix, \dfn{ctm}, is a two-dimensional affine transformation that maps all coordinates and other drawing instruments from the \dfn{user space} into the surface's canonical coordinate system, also known as the \dfn{device space}.} \references{\url{http://www.cairographics.org/manual/cairo-transformations.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkImage.Rd0000644000176000001440000002170712362217677014011 0ustar ripleyusers\alias{GtkImage} \alias{gtkImage} \alias{GtkImageType} \name{GtkImage} \title{GtkImage} \description{A widget displaying an image} \section{Methods and Functions}{ \code{\link{gtkImageGetIconSet}(object)}\cr \code{\link{gtkImageGetImage}(object)}\cr \code{\link{gtkImageGetPixbuf}(object)}\cr \code{\link{gtkImageGetPixmap}(object)}\cr \code{\link{gtkImageGetStock}(object)}\cr \code{\link{gtkImageGetAnimation}(object)}\cr \code{\link{gtkImageGetIconName}(object)}\cr \code{\link{gtkImageGetGicon}(object)}\cr \code{\link{gtkImageGetStorageType}(object)}\cr \code{\link{gtkImageNewFromIconSet}(icon.set, size, show = TRUE)}\cr \code{\link{gtkImageNewFromImage}(image = NULL, mask = NULL, show = TRUE)}\cr \code{\link{gtkImageNewFromPixbuf}(pixbuf = NULL, show = TRUE)}\cr \code{\link{gtkImageNewFromPixmap}(pixmap = NULL, mask = NULL, show = TRUE)}\cr \code{\link{gtkImageNewFromStock}(stock.id, size, show = TRUE)}\cr \code{\link{gtkImageNewFromAnimation}(animation, show = TRUE)}\cr \code{\link{gtkImageNewFromIconName}(icon.name, size)}\cr \code{\link{gtkImageNewFromGicon}(icon, size, show = TRUE)}\cr \code{\link{gtkImageSetFromIconSet}(object, icon.set, size)}\cr \code{\link{gtkImageSetFromImage}(object, gdk.image = NULL, mask = NULL)}\cr \code{\link{gtkImageSetFromPixbuf}(object, pixbuf = NULL)}\cr \code{\link{gtkImageSetFromPixmap}(object, pixmap, mask = NULL)}\cr \code{\link{gtkImageSetFromStock}(object, stock.id, size)}\cr \code{\link{gtkImageSetFromAnimation}(object, animation)}\cr \code{\link{gtkImageSetFromIconName}(object, icon.name, size)}\cr \code{\link{gtkImageSetFromGicon}(object, icon, size)}\cr \code{\link{gtkImageClear}(object)}\cr \code{\link{gtkImageNew}(show = TRUE)}\cr \code{\link{gtkImageSet}(object, val, mask)}\cr \code{\link{gtkImageGet}(object)}\cr \code{\link{gtkImageSetPixelSize}(object, pixel.size)}\cr \code{\link{gtkImageGetPixelSize}(object)}\cr \code{gtkImage(size, mask = NULL, pixmap = NULL, image = NULL, filename, pixbuf = NULL, stock.id, icon.set, animation, icon, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkImage}} \section{Interfaces}{GtkImage implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkImage}} widget displays an image. Various kinds of object can be displayed as an image; most typically, you would load a \code{\link{GdkPixbuf}} ("pixel buffer") from a file, and then display that. There's a convenience function to do this, \code{\link{gtkImageNewFromFile}}, used as follows: \preformatted{ image <- gtkImageNewFromFile("myfile.png") # or, perhaps more conveniently image <- gtkImage(file="myfile.png") } If the file isn't loaded successfully, the image will contain a "broken image" icon similar to that used in many web browsers. If you want to handle errors in loading the file yourself, for example by displaying an error message, then load the image with \code{\link{gdkPixbufNewFromFile}}, then create the \code{\link{GtkImage}} with \code{\link{gtkImageNewFromPixbuf}}. The image file may contain an animation, if so the \code{\link{GtkImage}} will display an animation (\code{\link{GdkPixbufAnimation}}) instead of a static image. \code{\link{GtkImage}} is a subclass of \code{\link{GtkMisc}}, which implies that you can align it (center, left, right) and add padding to it, using \code{\link{GtkMisc}} methods. \code{\link{GtkImage}} is a "no window" widget (has no \code{\link{GdkWindow}} of its own), so by default does not receive events. If you want to receive events on the image, such as button clicks, place the image inside a \code{\link{GtkEventBox}}, then connect to the event signals on the event box. \emph{Handling button press events on a \code{GtkImage} .} \preformatted{ # Handling button-press events on a GtkImage button_press_callback <- function(event_box, event, data) { print(paste("Event box clicked at coordinates ", event[["x"]], ",", event[["y"]], sep="")) ## Returning TRUE means we handled the event, so the signal ## emission should be stopped (don't call any further ## callbacks that may be connected). Return FALSE ## to continue invoking callbacks. return(TRUE) } create_image <- function() { image <- gtkImage(file="myfile.png") event_box <- gtkEventBox() event_box$add(image) gSignalConnect(event_box, "button_press_event", button_press_callback, image) return(image) } } When handling events on the event box, keep in mind that coordinates in the image may be different from event box coordinates due to the alignment and padding settings on the image (see \code{\link{GtkMisc}}). The simplest way to solve this is to set the alignment to 0.0 (left/top), and set the padding to zero. Then the origin of the image will be the same as the origin of the event box. Sometimes an application will want to avoid depending on external data files, such as image files. GTK+ comes with a program to avoid this, called \command{gdk-pixbuf-csource}. This program allows you to convert an image into a C variable declaration, which can then be loaded into a \code{\link{GdkPixbuf}} using \code{gdkPixbufNewFromInline()}.} \section{Structures}{\describe{\item{\verb{GtkImage}}{ This struct contain private data only and should be accessed by the functions below. }}} \section{Convenient Construction}{\code{gtkImage} is the result of collapsing the constructors of \code{GtkImage} (\code{\link{gtkImageNew}}, \code{\link{gtkImageNewFromPixmap}}, \code{\link{gtkImageNewFromImage}}, \code{\link{gtkImageNewFromFile}}, \code{\link{gtkImageNewFromPixbuf}}, \code{\link{gtkImageNewFromStock}}, \code{\link{gtkImageNewFromIconSet}}, \code{\link{gtkImageNewFromAnimation}}, \code{\link{gtkImageNewFromGicon}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{GtkImageType}}{ Describes the image data representation used by a \code{\link{GtkImage}}. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the \code{\link{gtkImageGetStorageType}} returns \verb{GTK_IMAGE_PIXBUF}, then you can call \code{\link{gtkImageGetPixbuf}} but not \code{\link{gtkImageGetStock}}. For empty images, you can request any storage type (call any of the "get" functions), but they will all return \code{NULL} values. \describe{ \item{\verb{empty}}{there is no image displayed by the widget} \item{\verb{pixmap}}{the widget contains a \code{\link{GdkPixmap}}} \item{\verb{image}}{the widget contains a \code{\link{GdkImage}}} \item{\verb{pixbuf}}{the widget contains a \code{\link{GdkPixbuf}}} \item{\verb{stock}}{the widget contains a stock icon name (see )} \item{\verb{icon-set}}{the widget contains a \code{\link{GtkIconSet}}} \item{\verb{animation}}{the widget contains a \code{\link{GdkPixbufAnimation}}} } }}} \section{Properties}{\describe{ \item{\verb{file} [character : * : Read / Write]}{ Filename to load and display. Default value: NULL } \item{\verb{gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The GIcon displayed in the GtkImage. For themed icons, If the icon theme is changed, the image will be updated automatically. Since 2.14 } \item{\verb{icon-name} [character : * : Read / Write]}{ The name of the icon in the icon theme. If the icon theme is changed, the image will be updated automatically. Default value: NULL Since 2.6 } \item{\verb{icon-set} [\code{\link{GtkIconSet}} : * : Read / Write]}{ Icon set to display. } \item{\verb{icon-size} [integer : Read / Write]}{ Symbolic size to use for stock icon, icon set or named icon. Allowed values: >= 0 Default value: 4 } \item{\verb{image} [\code{\link{GdkImage}} : * : Read / Write]}{ A GdkImage to display. } \item{\verb{mask} [\code{\link{GdkPixmap}} : * : Read / Write]}{ Mask bitmap to use with GdkImage or GdkPixmap. } \item{\verb{pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ A GdkPixbuf to display. } \item{\verb{pixbuf-animation} [\code{\link{GdkPixbufAnimation}} : * : Read / Write]}{ GdkPixbufAnimation to display. } \item{\verb{pixel-size} [integer : Read / Write]}{ The "pixel-size" property can be used to specify a fixed size overriding the \verb{"icon-size"} property for images of type \code{GTK_IMAGE_ICON_NAME}. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{pixmap} [\code{\link{GdkPixmap}} : * : Read / Write]}{ A GdkPixmap to display. } \item{\verb{stock} [character : * : Read / Write]}{ Stock ID for a stock image to display. Default value: NULL } \item{\verb{storage-type} [\code{\link{GtkImageType}} : Read]}{ The representation being used for image data. Default value: GTK_IMAGE_EMPTY } }} \references{\url{http://library.gnome.org/devel//gtk/GtkImage.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawTextWc.Rd0000644000176000001440000000155512362217677015042 0ustar ripleyusers\alias{gdkDrawTextWc} \name{gdkDrawTextWc} \title{gdkDrawTextWc} \description{ Draws a number of wide characters using the given font of fontset. If the font is a 1-byte font, the string is converted into 1-byte characters (discarding the high bytes) before output. \strong{WARNING: \code{gdk_draw_text_wc} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gdkDrawLayout}} instead.} } \usage{gdkDrawTextWc(object, font, gc, x, text)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{font}}{a \code{\link{GdkFont}}.} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x coordinate of the left edge of the text.} \item{\verb{text}}{the wide characters to draw.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMapLoadFontset.Rd0000644000176000001440000000153712362217677017054 0ustar ripleyusers\alias{pangoFontMapLoadFontset} \name{pangoFontMapLoadFontset} \title{pangoFontMapLoadFontset} \description{Load a set of fonts in the fontmap that can be used to render a font matching \code{desc}.} \usage{pangoFontMapLoadFontset(object, context, desc, language)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontMap}}] a \code{\link{PangoFontMap}}} \item{\verb{context}}{[\code{\link{PangoContext}}] the \code{\link{PangoContext}} the font will be used with} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} describing the font to load} \item{\verb{language}}{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}} the fonts will be used for} } \value{[\code{\link{PangoFontset}}] the fontset, or \code{NULL} if no font matched.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeInsertGnode.Rd0000644000176000001440000000116712362217677016171 0ustar ripleyusers\alias{gtkCTreeInsertGnode} \name{gtkCTreeInsertGnode} \title{gtkCTreeInsertGnode} \description{ FIXME \strong{WARNING: \code{gtk_ctree_insert_gnode} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeInsertGnode(object, parent, sibling, gnode, func, data = NULL)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{parent}}{\emph{undocumented }} \item{\verb{sibling}}{\emph{undocumented }} \item{\verb{gnode}}{\emph{undocumented }} \item{\verb{func}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupGetBottomMargin.Rd0000644000176000001440000000071612362217677017704 0ustar ripleyusers\alias{gtkPageSetupGetBottomMargin} \name{gtkPageSetupGetBottomMargin} \title{gtkPageSetupGetBottomMargin} \description{Gets the bottom margin in units of \code{unit}.} \usage{gtkPageSetupGetBottomMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the bottom margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemToolbarReconfigured.Rd0000644000176000001440000000110312362217677020427 0ustar ripleyusers\alias{gtkToolItemToolbarReconfigured} \name{gtkToolItemToolbarReconfigured} \title{gtkToolItemToolbarReconfigured} \description{Emits the signal \code{\link{gtkToolItemToolbarReconfigured}} on \code{tool.item}. \code{\link{GtkToolbar}} and other \code{\link{GtkToolShell}} implementations use this function to notify children, when some aspect of their configuration changes.} \usage{gtkToolItemToolbarReconfigured(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gResolverFreeAddresses.Rd0000644000176000001440000000104012362217677016715 0ustar ripleyusers\alias{gResolverFreeAddresses} \name{gResolverFreeAddresses} \title{gResolverFreeAddresses} \description{Frees \code{addresses} (which should be the return value from \code{\link{gResolverLookupByName}} or \code{\link{gResolverLookupByNameFinish}}). (This is a convenience method; you can also simply free the results by hand.)} \usage{gResolverFreeAddresses(addresses)} \arguments{\item{\verb{addresses}}{a \verb{list} of \code{\link{GInetAddress}}}} \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentContains.Rd0000644000176000001440000000141212362217677016451 0ustar ripleyusers\alias{atkComponentContains} \name{atkComponentContains} \title{atkComponentContains} \description{Checks whether the specified point is within the extent of the \code{component}.} \usage{atkComponentContains(object, x, y, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] the \code{\link{AtkComponent}}} \item{\verb{x}}{[integer] x coordinate} \item{\verb{y}}{[integer] y coordinate} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{[logical] \code{TRUE} or \code{FALSE} indicating whether the specified point is within the extent of the \code{component} or not} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterNthChild.Rd0000644000176000001440000000207612362217677017147 0ustar ripleyusers\alias{gtkTreeModelIterNthChild} \name{gtkTreeModelIterNthChild} \title{gtkTreeModelIterNthChild} \description{Sets \code{iter} to be the child of \code{parent}, using the given index. The first index is 0. If \code{n} is too big, or \code{parent} has no children, \code{iter} is set to an invalid iterator and \code{FALSE} is returned. \code{parent} will remain a valid node after this function has been called. As a special case, if \code{parent} is \code{NULL}, then the \code{n}th root node is set.} \usage{gtkTreeModelIterNthChild(object, parent = NULL, n)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{parent}}{The \code{\link{GtkTreeIter}} to get the child from, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{n}}{Then index of the desired child.} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{parent} has an \code{n}th child.} \item{\verb{iter}}{The \code{\link{GtkTreeIter}} to set to the nth child.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkColorSelection.Rd0000644000176000001440000000765212362217677015716 0ustar ripleyusers\alias{GtkColorSelection} \alias{gtkColorSelection} \alias{GtkColorSelectionChangePaletteFunc} \alias{GtkColorSelectionChangePaletteWithScreenFunc} \name{GtkColorSelection} \title{GtkColorSelection} \description{A widget used to select a color} \section{Methods and Functions}{ \code{\link{gtkColorSelectionNew}(show = TRUE)}\cr \code{\link{gtkColorSelectionSetUpdatePolicy}(object, policy)}\cr \code{\link{gtkColorSelectionSetHasOpacityControl}(object, has.opacity)}\cr \code{\link{gtkColorSelectionGetHasOpacityControl}(object)}\cr \code{\link{gtkColorSelectionSetHasPalette}(object, has.palette)}\cr \code{\link{gtkColorSelectionGetHasPalette}(object)}\cr \code{\link{gtkColorSelectionGetCurrentAlpha}(object)}\cr \code{\link{gtkColorSelectionSetCurrentAlpha}(object, alpha)}\cr \code{\link{gtkColorSelectionGetCurrentColor}(object)}\cr \code{\link{gtkColorSelectionSetCurrentColor}(object, color)}\cr \code{\link{gtkColorSelectionGetPreviousAlpha}(object)}\cr \code{\link{gtkColorSelectionSetPreviousAlpha}(object, alpha)}\cr \code{\link{gtkColorSelectionGetPreviousColor}(object, color)}\cr \code{\link{gtkColorSelectionSetPreviousColor}(object, color)}\cr \code{\link{gtkColorSelectionIsAdjusting}(object)}\cr \code{\link{gtkColorSelectionPaletteFromString}(str)}\cr \code{\link{gtkColorSelectionPaletteToString}(colors)}\cr \code{\link{gtkColorSelectionSetChangePaletteHook}(func)}\cr \code{\link{gtkColorSelectionSetChangePaletteWithScreenHook}(func)}\cr \code{\link{gtkColorSelectionSetColor}(object, color)}\cr \code{\link{gtkColorSelectionGetColor}(object)}\cr \code{gtkColorSelection(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkColorSelection}} \section{Interfaces}{GtkColorSelection implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkColorSelection}} is a widget that is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box \code{\link{GtkColorSelectionDialog}}.} \section{Structures}{\describe{\item{\verb{GtkColorSelection}}{ The \code{\link{GtkColorSelection}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkColorSelection} is the equivalent of \code{\link{gtkColorSelectionNew}}.} \section{User Functions}{\describe{ \item{\code{GtkColorSelectionChangePaletteFunc()}}{ \emph{undocumented } } \item{\code{GtkColorSelectionChangePaletteWithScreenFunc()}}{ Since 2.2 } }} \section{Signals}{\describe{\item{\code{color-changed(colorselection, user.data)}}{ This signal is emitted when the color changes in the \code{\link{GtkColorSelection}} according to its update policy. \describe{ \item{\code{colorselection}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{current-alpha} [numeric : Read / Write]}{ The current opacity value (0 fully transparent, 65535 fully opaque). Allowed values: <= 65535 Default value: 65535 } \item{\verb{current-color} [\code{\link{GdkColor}} : * : Read / Write]}{ The current color. } \item{\verb{has-opacity-control} [logical : Read / Write]}{ Whether the color selector should allow setting opacity. Default value: FALSE } \item{\verb{has-palette} [logical : Read / Write]}{ Whether a palette should be used. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkColorSelection.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetHasSelection.Rd0000644000176000001440000000070012362217677020035 0ustar ripleyusers\alias{gtkTextBufferGetHasSelection} \name{gtkTextBufferGetHasSelection} \title{gtkTextBufferGetHasSelection} \description{Indicates whether the buffer has some text currently selected.} \usage{gtkTextBufferGetHasSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the there is text selected} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInit.Rd0000644000176000001440000000363312362217677013730 0ustar ripleyusers\alias{gtkInit} \name{gtkInit} \title{gtkInit} \description{Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options. \code{argc} and \code{argv} are adjusted accordingly so your own code will never see those standard arguments. } \usage{gtkInit(args = "R")} \details{Note that there are some alternative ways to initialize GTK+: if you are calling \code{gtkParseArgs()}, \code{gtkInitCheck()}, \code{gtkInitWithArgs()} or \code{gOptionContextParse()} with the option group returned by \code{gtkGetOptionGroup()}, you \emph{don't} have to call \code{\link{gtkInit}}. \strong{PLEASE NOTE:} This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call \code{gtkInitCheck()} instead. \strong{PLEASE NOTE:} Since 2.18, GTK+ calls \code{signal (SIGPIPE, SIG_IGN)} during initialization, to ignore SIGPIPE signals, since these are almost never wanted in graphical applications. If you do need to handle SIGPIPE for some reason, reset the handler after \code{\link{gtkInit}}, but notice that other libraries (e.g. libdbus or gvfs) might do similar things. } \note{ This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call \code{gtkInitCheck()} instead. Since 2.18, GTK+ calls \code{signal (SIGPIPE, SIG_IGN)} during initialization, to ignore SIGPIPE signals, since these are almost never wanted in graphical applications. If you do need to handle SIGPIPE for some reason, reset the handler after \code{\link{gtkInit}}, but notice that other libraries (e.g. libdbus or gvfs) might do similar things. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedSetPosition.Rd0000644000176000001440000000067012362217677016253 0ustar ripleyusers\alias{gtkPanedSetPosition} \name{gtkPanedSetPosition} \title{gtkPanedSetPosition} \description{Sets the position of the divider between the two panes.} \usage{gtkPanedSetPosition(object, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaned}} widget} \item{\verb{position}}{pixel position of divider, a negative value means that the position is unset.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkShowAboutDialog.Rd0000644000176000001440000000106112362217677016051 0ustar ripleyusers\alias{gtkShowAboutDialog} \name{gtkShowAboutDialog} \title{gtkShowAboutDialog} \description{This is a convenience function for showing an application's about box. The constructed dialog is associated with the parent window and reused for future invocations of this function.} \usage{gtkShowAboutDialog(parent, ...)} \arguments{ \item{\verb{parent}}{transient parent, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{...}}{\emph{undocumented }} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSocketNew.Rd0000644000176000001440000000044412362217677014724 0ustar ripleyusers\alias{gtkSocketNew} \name{gtkSocketNew} \title{gtkSocketNew} \description{Create a new empty \code{\link{GtkSocket}}.} \usage{gtkSocketNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkSocket}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetAndSets.Rd0000644000176000001440000000113612362217677016031 0ustar ripleyusers\alias{atkStateSetAndSets} \name{atkStateSetAndSets} \title{atkStateSetAndSets} \description{Constructs the intersection of the two sets, returning \code{NULL} if the intersection is empty.} \usage{atkStateSetAndSets(object, compare.set)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{compare.set}}{[\code{\link{AtkStateSet}}] another \code{\link{AtkStateSet}}} } \value{[\code{\link{AtkStateSet}}] a new \code{\link{AtkStateSet}} which is the intersection of the two sets.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewAddChildAtAnchor.Rd0000644000176000001440000000103712362217677017575 0ustar ripleyusers\alias{gtkTextViewAddChildAtAnchor} \name{gtkTextViewAddChildAtAnchor} \title{gtkTextViewAddChildAtAnchor} \description{Adds a child widget in the text buffer, at the given \code{anchor}.} \usage{gtkTextViewAddChildAtAnchor(object, child, anchor)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{child}}{a \code{\link{GtkWidget}}} \item{\verb{anchor}}{a \code{\link{GtkTextChildAnchor}} in the \code{\link{GtkTextBuffer}} for \code{text.view}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListThaw.Rd0000644000176000001440000000064112362217677014663 0ustar ripleyusers\alias{gtkCListThaw} \name{gtkCListThaw} \title{gtkCListThaw} \description{ Causes the specified \code{\link{GtkCList}} to allow visual updates. \strong{WARNING: \code{gtk_clist_thaw} is deprecated and should not be used in newly-written code.} } \usage{gtkCListThaw(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to thaw.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetName.Rd0000644000176000001440000000061512362217677015506 0ustar ripleyusers\alias{gtkWidgetGetName} \name{gtkWidgetGetName} \title{gtkWidgetGetName} \description{Retrieves the name of a widget. See \code{\link{gtkWidgetSetName}} for the significance of widget names.} \usage{gtkWidgetGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[character] name of the widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetFamily.Rd0000644000176000001440000000057212362217677015517 0ustar ripleyusers\alias{gSocketGetFamily} \name{gSocketGetFamily} \title{gSocketGetFamily} \description{Gets the socket family of the socket.} \usage{gSocketGetFamily(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[\code{\link{GSocketFamily}}] a \code{\link{GSocketFamily}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoClip.Rd0000644000176000001440000000211412362217677014215 0ustar ripleyusers\alias{cairoClip} \name{cairoClip} \title{cairoClip} \description{Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by \code{\link{cairoFill}} and according to the current fill rule (see \code{\link{cairoSetFillRule}}).} \usage{cairoClip(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{After \code{\link{cairoClip}}, the current path will be cleared from the cairo context. The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region. Calling \code{\link{cairoClip}} can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling \code{\link{cairoClip}} within a \code{\link{cairoSave}}/\code{\link{cairoRestore}} pair. The only other means of increasing the size of the clip region is \code{\link{cairoResetClip}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsDisable.Rd0000644000176000001440000000114312362217677016120 0ustar ripleyusers\alias{gtkTooltipsDisable} \name{gtkTooltipsDisable} \title{gtkTooltipsDisable} \description{ Causes all tooltips in \code{tooltips} to become inactive. Any widgets that have tips associated with that group will no longer display their tips until they are enabled again with \code{\link{gtkTooltipsEnable}}. \strong{WARNING: \code{gtk_tooltips_disable} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsDisable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTooltips}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDefaultVisual.Rd0000644000176000001440000000071112362217677017373 0ustar ripleyusers\alias{gtkWidgetGetDefaultVisual} \name{gtkWidgetGetDefaultVisual} \title{gtkWidgetGetDefaultVisual} \description{Obtains the visual of the default colormap. Not really useful; used to be useful before \code{\link{gdkColormapGetVisual}} existed.} \usage{gtkWidgetGetDefaultVisual()} \value{[\code{\link{GdkVisual}}] visual of the default colormap. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferNew.Rd0000644000176000001440000000061512362217677015552 0ustar ripleyusers\alias{gtkTextBufferNew} \name{gtkTextBufferNew} \title{gtkTextBufferNew} \description{Creates a new text buffer.} \usage{gtkTextBufferNew(table = NULL)} \arguments{\item{\verb{table}}{a tag table, or \code{NULL} to create a new one. \emph{[ \acronym{allow-none} ]}}} \value{[\code{\link{GtkTextBuffer}}] a new text buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableConstructChild.Rd0000644000176000001440000000125612362217677017560 0ustar ripleyusers\alias{gtkBuildableConstructChild} \name{gtkBuildableConstructChild} \title{gtkBuildableConstructChild} \description{Constructs a child of \code{buildable} with the name \code{name}. } \usage{gtkBuildableConstructChild(object, builder, name)} \arguments{ \item{\verb{object}}{A \code{\link{GtkBuildable}}} \item{\verb{builder}}{\code{\link{GtkBuilder}} used to construct this object} \item{\verb{name}}{name of child to construct} } \details{\code{\link{GtkBuilder}} calls this function if a "constructor" has been specified in the UI definition. Since 2.12} \value{[\code{\link{GObject}}] the constructed child} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetBlinking.Rd0000644000176000001440000000113112362217677017242 0ustar ripleyusers\alias{gtkStatusIconSetBlinking} \name{gtkStatusIconSetBlinking} \title{gtkStatusIconSetBlinking} \description{Makes the status icon start or stop blinking. Note that blinking user interface elements may be problematic for some users, and thus may be turned off, in which case this setting has no effect.} \usage{gtkStatusIconSetBlinking(object, blinking)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{blinking}}{\code{TRUE} to turn blinking on, \code{FALSE} to turn it off} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/Pango.Rd0000644000176000001440000000304712362217677013362 0ustar ripleyusers\alias{Pango} \name{Pango} \title{Pango} \description{Pango is a library for internationalized text handling. It centers around the \code{\link{PangoLayout}} object, representing a paragraph of text. Pango provides the engine for \code{\link{GtkTextView}}, \code{\link{GtkLabel}}, \code{\link{GtkEntry}}, and other widgets that display text.} \details{ The RGtk binding to the Pango library consists of the following components: \describe{ \item{\link{pango-Bidirectional-Text}}{Types and functions to help with handling bidirectional text} \item{\link{pango-Coverage-Maps}}{Unicode character range coverage storage} \item{\link{pango-Fonts}}{Structures representing abstract fonts} \item{\link{pango-Glyph-Storage}}{Structures for storing information about glyphs} \item{\link{pango-Layout-Objects}}{High-level layout driver objects} \item{\link{pango-Text-Processing}}{Functions to run the rendering pipeline} \item{\link{PangoRenderer}}{Rendering driver base class} \item{\link{pango-Version-Checking}}{Tools for checking Pango version at compile- and run-time.} \item{\link{pango-Cairo-Rendering}}{Rendering with the Cairo backend} \item{\link{pango-Scripts-and-Languages}}{Identifying writing systems and languages} \item{\link{pango-Tab-Stops}}{Structures for storing tab stops} \item{\link{pango-Text-Attributes}}{Font and other attributes for annotating text} \item{\link{pango-Vertical-Text}}{Laying text out in vertical directions} } } \references{\url{http://library.gnome.org/devel//pango}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/GtkIconView.Rd0000644000176000001440000003475212362217677014516 0ustar ripleyusers\alias{GtkIconView} \alias{gtkIconView} \alias{GtkIconViewForeachFunc} \alias{GtkIconViewDropPosition} \name{GtkIconView} \title{GtkIconView} \description{A widget which displays a list of icons in a grid} \section{Methods and Functions}{ \code{\link{gtkIconViewNew}(show = TRUE)}\cr \code{\link{gtkIconViewNewWithModel}(model = NULL, show = TRUE)}\cr \code{\link{gtkIconViewSetModel}(object, model = NULL)}\cr \code{\link{gtkIconViewGetModel}(object)}\cr \code{\link{gtkIconViewSetTextColumn}(object, column)}\cr \code{\link{gtkIconViewGetTextColumn}(object)}\cr \code{\link{gtkIconViewSetMarkupColumn}(object, column)}\cr \code{\link{gtkIconViewGetMarkupColumn}(object)}\cr \code{\link{gtkIconViewSetPixbufColumn}(object, column)}\cr \code{\link{gtkIconViewGetPixbufColumn}(object)}\cr \code{\link{gtkIconViewGetPathAtPos}(object, x, y)}\cr \code{\link{gtkIconViewGetItemAtPos}(object, x, y)}\cr \code{\link{gtkIconViewConvertWidgetToBinWindowCoords}(object, wx, wy)}\cr \code{\link{gtkIconViewSetCursor}(object, path, cell, start.editing)}\cr \code{\link{gtkIconViewGetCursor}(object)}\cr \code{\link{gtkIconViewSelectedForeach}(object, func, data = NULL)}\cr \code{\link{gtkIconViewSetSelectionMode}(object, mode)}\cr \code{\link{gtkIconViewGetSelectionMode}(object)}\cr \code{\link{gtkIconViewSetOrientation}(object, orientation)}\cr \code{\link{gtkIconViewGetOrientation}(object)}\cr \code{\link{gtkIconViewSetColumns}(object, columns)}\cr \code{\link{gtkIconViewGetColumns}(object)}\cr \code{\link{gtkIconViewSetItemWidth}(object, item.width)}\cr \code{\link{gtkIconViewGetItemWidth}(object)}\cr \code{\link{gtkIconViewSetSpacing}(object, spacing)}\cr \code{\link{gtkIconViewGetSpacing}(object)}\cr \code{\link{gtkIconViewSetRowSpacing}(object, row.spacing)}\cr \code{\link{gtkIconViewGetRowSpacing}(object)}\cr \code{\link{gtkIconViewSetColumnSpacing}(object, column.spacing)}\cr \code{\link{gtkIconViewGetColumnSpacing}(object)}\cr \code{\link{gtkIconViewSetMargin}(object, margin)}\cr \code{\link{gtkIconViewGetMargin}(object)}\cr \code{\link{gtkIconViewSetItemPadding}(object, item.padding)}\cr \code{\link{gtkIconViewGetItemPadding}(object)}\cr \code{\link{gtkIconViewSelectPath}(object, path)}\cr \code{\link{gtkIconViewUnselectPath}(object, path)}\cr \code{\link{gtkIconViewPathIsSelected}(object, path)}\cr \code{\link{gtkIconViewGetSelectedItems}(object)}\cr \code{\link{gtkIconViewSelectAll}(object)}\cr \code{\link{gtkIconViewUnselectAll}(object)}\cr \code{\link{gtkIconViewItemActivated}(object, path)}\cr \code{\link{gtkIconViewScrollToPath}(object, path, use.align, row.align, col.align)}\cr \code{\link{gtkIconViewGetVisibleRange}(object)}\cr \code{\link{gtkIconViewSetTooltipItem}(object, tooltip, path)}\cr \code{\link{gtkIconViewSetTooltipCell}(object, tooltip, path, cell)}\cr \code{\link{gtkIconViewGetTooltipContext}(object, x, y, keyboard.tip)}\cr \code{\link{gtkIconViewSetTooltipColumn}(object, column)}\cr \code{\link{gtkIconViewGetTooltipColumn}(object)}\cr \code{\link{gtkIconViewEnableModelDragSource}(object, start.button.mask, targets, actions)}\cr \code{\link{gtkIconViewEnableModelDragDest}(object, targets, actions)}\cr \code{\link{gtkIconViewUnsetModelDragSource}(object)}\cr \code{\link{gtkIconViewUnsetModelDragDest}(object)}\cr \code{\link{gtkIconViewSetReorderable}(object, reorderable)}\cr \code{\link{gtkIconViewGetReorderable}(object)}\cr \code{\link{gtkIconViewSetDragDestItem}(object, path, pos)}\cr \code{\link{gtkIconViewGetDragDestItem}(object)}\cr \code{\link{gtkIconViewGetDestItemAtPos}(object, drag.x, drag.y)}\cr \code{\link{gtkIconViewCreateDragIcon}(object, path)}\cr \code{gtkIconView(model = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkIconView}} \section{Interfaces}{GtkIconView implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkCellLayout}}.} \section{Detailed Description}{\code{\link{GtkIconView}} provides an alternative view on a list model. It displays the model as a grid of icons with labels. Like \code{\link{GtkTreeView}}, it allows to select one or multiple items (depending on the selection mode, see \code{\link{gtkIconViewSetSelectionMode}}). In addition to selection with the arrow keys, \code{\link{GtkIconView}} supports rubberband selection, which is controlled by dragging the pointer.} \section{Structures}{\describe{\item{\verb{GtkIconView}}{ The \code{GtkIconView} struct contains only private fields and should not be directly accessed. }}} \section{Convenient Construction}{\code{gtkIconView} is the result of collapsing the constructors of \code{GtkIconView} (\code{\link{gtkIconViewNew}}, \code{\link{gtkIconViewNewWithModel}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{\item{\verb{GtkIconViewDropPosition}}{ An enum for determining where a dropped item goes. \describe{ \item{\verb{no-drop}}{no drop possible} \item{\verb{drop-into}}{dropped item replaces the item} \item{\verb{drop-left}}{droppped item is inserted to the left} \item{\verb{drop-right}}{dropped item is inserted to the right} \item{\verb{drop-above}}{dropped item is inserted above} \item{\verb{drop-below}}{dropped item is inserted below} } }}} \section{User Functions}{\describe{\item{\code{GtkIconViewForeachFunc(icon.view, path, data)}}{ A function used by \code{\link{gtkIconViewSelectedForeach}} to map all selected rows. It will be called on every selected row in the view. \describe{ \item{\code{icon.view}}{a \code{\link{GtkIconView}}} \item{\code{path}}{The \code{\link{GtkTreePath}} of a selected row} \item{\code{data}}{user data} } }}} \section{Signals}{\describe{ \item{\code{activate-cursor-item(iconview, user.data)}}{ A keybinding signal which gets emitted when the user activates the currently focused item. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control activation programmatically. The default bindings for this signal are Space, Return and Enter. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{item-activated(iconview, path, user.data)}}{ The ::item-activated signal is emitted when the method \code{\link{gtkIconViewItemActivated}} is called or the user double clicks an item. It is also emitted when a non-editable item is selected and one of the keys: Space, Return or Enter is pressed. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{path}}{the \code{\link{GtkTreePath}} for the activated item} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(iconview, step, count, user.data)}}{ The ::move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control the cursor programmatically. The default bindings for this signal include \itemize{ \item \item \item } All of these will extend the selection when combined with the Shift modifier. \describe{ \item{\code{iconview}}{the object which received the signal} \item{\code{step}}{the granularity of the move, as a \code{\link{GtkMovementStep}}} \item{\code{count}}{the number of \code{step} units to move} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-all(iconview, user.data)}}{ A keybinding signal which gets emitted when the user selects all items. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control selection programmatically. The default binding for this signal is Ctrl-a. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-cursor-item(iconview, user.data)}}{ A keybinding signal which gets emitted when the user selects the item that is currently focused. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control selection programmatically. There is no default binding for this signal. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{selection-changed(iconview, user.data)}}{ The ::selection-changed signal is emitted when the selection (i.e. the set of selected items) changes. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-scroll-adjustments(horizontal, vertical, user.data)}}{ Set the scroll adjustments for the icon view. Usually scrolled containers like \code{\link{GtkScrolledWindow}} will emit this signal to connect two instances of \code{\link{GtkScrollbar}} to the scroll directions of the \code{\link{GtkIconView}}. \describe{ \item{\code{horizontal}}{the horizontal \code{\link{GtkAdjustment}}} \item{\code{vertical}}{the vertical \code{\link{GtkAdjustment}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-cursor-item(iconview, user.data)}}{ A keybinding signal which gets emitted when the user toggles whether the currently focused item is selected or not. The exact effect of this depend on the selection mode. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control selection programmatically. There is no default binding for this signal is Ctrl-Space. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-all(iconview, user.data)}}{ A keybinding signal which gets emitted when the user unselects all items. Applications should not connect to it, but may emit it with \code{gSignalEmitByName()} if they need to control selection programmatically. The default binding for this signal is Ctrl-Shift-a. \describe{ \item{\code{iconview}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{column-spacing} [integer : Read / Write]}{ The column-spacing property specifies the space which is inserted between the columns of the icon view. Allowed values: >= 0 Default value: 6 Since 2.6 } \item{\verb{columns} [integer : Read / Write]}{ The columns property contains the number of the columns in which the items should be displayed. If it is -1, the number of columns will be chosen automatically to fill the available area. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{item-padding} [integer : Read / Write]}{ The item-padding property specifies the padding around each of the icon view's item. Allowed values: >= 0 Default value: 6 Since 2.18 } \item{\verb{item-width} [integer : Read / Write]}{ The item-width property specifies the width to use for each item. If it is set to -1, the icon view will automatically determine a suitable item size. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{margin} [integer : Read / Write]}{ The margin property specifies the space which is inserted at the edges of the icon view. Allowed values: >= 0 Default value: 6 Since 2.6 } \item{\verb{markup-column} [integer : Read / Write]}{ The ::markup-column property contains the number of the model column containing markup information to be displayed. The markup column must be of type \verb{G_TYPE_STRING}. If this property and the :text-column property are both set to column numbers, it overrides the text column. If both are set to -1, no texts are displayed. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ The model for the icon view. } \item{\verb{orientation} [\code{\link{GtkOrientation}} : Read / Write]}{ The orientation property specifies how the cells (i.e. the icon and the text) of the item are positioned relative to each other. Default value: GTK_ORIENTATION_VERTICAL Since 2.6 } \item{\verb{pixbuf-column} [integer : Read / Write]}{ The ::pixbuf-column property contains the number of the model column containing the pixbufs which are displayed. The pixbuf column must be of type \verb{GDK_TYPE_PIXBUF}. Setting this property to -1 turns off the display of pixbufs. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{reorderable} [logical : Read / Write]}{ The reorderable property specifies if the items can be reordered by DND. Default value: FALSE Since 2.8 } \item{\verb{row-spacing} [integer : Read / Write]}{ The row-spacing property specifies the space which is inserted between the rows of the icon view. Allowed values: >= 0 Default value: 6 Since 2.6 } \item{\verb{selection-mode} [\code{\link{GtkSelectionMode}} : Read / Write]}{ The ::selection-mode property specifies the selection mode of icon view. If the mode is \verb{GTK_SELECTION_MULTIPLE}, rubberband selection is enabled, for the other modes, only keyboard selection is possible. Default value: GTK_SELECTION_SINGLE Since 2.6 } \item{\verb{spacing} [integer : Read / Write]}{ The spacing property specifies the space which is inserted between the cells (i.e. the icon and the text) of an item. Allowed values: >= 0 Default value: 0 Since 2.6 } \item{\verb{text-column} [integer : Read / Write]}{ The ::text-column property contains the number of the model column containing the texts which are displayed. The text column must be of type \verb{G_TYPE_STRING}. If this property and the :markup-column property are both set to -1, no texts are displayed. Allowed values: >= -1 Default value: -1 Since 2.6 } \item{\verb{tooltip-column} [integer : Read / Write]}{ The column in the model containing the tooltip texts for the items. Allowed values: >= -1 Default value: -1 } }} \section{Style Properties}{\describe{ \item{\verb{selection-box-alpha} [raw : Read]}{ Opacity of the selection box. Default value: 64 } \item{\verb{selection-box-color} [\code{\link{GdkColor}} : * : Read]}{ Color of the selection box. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkIconView.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleGet.Rd0000644000176000001440000000112312362217677014555 0ustar ripleyusers\alias{gtkStyleGet} \name{gtkStyleGet} \title{gtkStyleGet} \description{Gets the values of a multiple style properties for \code{widget.type} from \code{style}.} \usage{gtkStyleGet(object, widget.type, first.property.name, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{widget.type}}{the \code{\link{GType}} of a descendant of \code{\link{GtkWidget}}} \item{\verb{first.property.name}}{the name of the first style property to get} \item{\verb{...}}{\emph{undocumented }} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnCellGetSize.Rd0000644000176000001440000000215112362217677020022 0ustar ripleyusers\alias{gtkTreeViewColumnCellGetSize} \name{gtkTreeViewColumnCellGetSize} \title{gtkTreeViewColumnCellGetSize} \description{Obtains the width and height needed to render the column. This is used primarily by the \code{\link{GtkTreeView}}.} \usage{gtkTreeViewColumnCellGetSize(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{ A list containing the following elements: \item{\verb{cell.area}}{The area a cell in the column will be allocated, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{x.offset}}{location to return x offset of a cell relative to \code{cell.area}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y.offset}}{location to return y offset of a cell relative to \code{cell.area}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{width}}{location to return width needed to render a cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{location to return height needed to render a cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationIterGetDelayTime.Rd0000644000176000001440000000120612362217677021156 0ustar ripleyusers\alias{gdkPixbufAnimationIterGetDelayTime} \name{gdkPixbufAnimationIterGetDelayTime} \title{gdkPixbufAnimationIterGetDelayTime} \description{Gets the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever. \code{\link{gTimeoutAdd}} conveniently takes a timeout in milliseconds, so you can use a timeout to schedule the next update.} \usage{gdkPixbufAnimationIterGetDelayTime(object)} \arguments{\item{\verb{object}}{an animation iterator}} \value{[integer] delay time in milliseconds (thousandths of a second)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkArrowNew.Rd0000644000176000001440000000071112362217677014563 0ustar ripleyusers\alias{gtkArrowNew} \name{gtkArrowNew} \title{gtkArrowNew} \description{Creates a new arrow widget.} \usage{gtkArrowNew(arrow.type = NULL, shadow.type = NULL, show = TRUE)} \arguments{ \item{\verb{arrow.type}}{a valid \code{\link{GtkArrowType}}.} \item{\verb{shadow.type}}{a valid \code{\link{GtkShadowType}}.} } \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkArrow}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionSetMinimumKeyLength.Rd0000644000176000001440000000130612362217677021776 0ustar ripleyusers\alias{gtkEntryCompletionSetMinimumKeyLength} \name{gtkEntryCompletionSetMinimumKeyLength} \title{gtkEntryCompletionSetMinimumKeyLength} \description{Requires the length of the search key for \code{completion} to be at least \code{length}. This is useful for long lists, where completing using a small key takes a lot of time and will come up with meaningless results anyway (ie, a too large dataset).} \usage{gtkEntryCompletionSetMinimumKeyLength(object, length)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntryCompletion}}.} \item{\verb{length}}{The minimum length of the key in order to start completing.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowInputShapeCombineMask.Rd0000644000176000001440000000225312362217677020363 0ustar ripleyusers\alias{gdkWindowInputShapeCombineMask} \name{gdkWindowInputShapeCombineMask} \title{gdkWindowInputShapeCombineMask} \description{Like \code{\link{gdkWindowShapeCombineMask}}, but the shape applies only to event handling. Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passed on the window below \code{window}.} \usage{gdkWindowInputShapeCombineMask(object, mask, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{mask}}{shape mask, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{X position of shape mask with respect to \code{window}} \item{\verb{y}}{Y position of shape mask with respect to \code{window}} } \details{An input shape is typically used with RGBA windows. The alpha channel of the window defines which pixels are invisible and allows for nicely antialiased borders, and the input shape controls where the window is "clickable". On the X11 platform, this requires version 1.1 of the shape extension. On the Win32 platform, this functionality is not present and the function does nothing. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUint32.Rd0000644000176000001440000000223212362217677017326 0ustar ripleyusers\alias{gDataInputStreamReadUint32} \name{gDataInputStreamReadUint32} \title{gDataInputStreamReadUint32} \description{Reads an unsigned 32-bit/4-byte value from \code{stream}.} \usage{gDataInputStreamReadUint32(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{In order to get the correct byte order for this read operation, see \code{gDataStreamGetByteOrder()} and \code{gDataStreamSetByteOrder()}. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[numeric] an unsigned 32-bit/4-byte value read from the \code{stream} or \code{0} if an error occurred.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterAddMimeType.Rd0000644000176000001440000000064712362217677017137 0ustar ripleyusers\alias{gtkFileFilterAddMimeType} \name{gtkFileFilterAddMimeType} \title{gtkFileFilterAddMimeType} \description{Adds a rule allowing a given mime type to \code{filter}.} \usage{gtkFileFilterAddMimeType(object, mime.type)} \arguments{ \item{\verb{object}}{A \code{\link{GtkFileFilter}}} \item{\verb{mime.type}}{name of a MIME type} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetScrollable.Rd0000644000176000001440000000074112362217677017261 0ustar ripleyusers\alias{gtkNotebookSetScrollable} \name{gtkNotebookSetScrollable} \title{gtkNotebookSetScrollable} \description{Sets whether the tab label area will have arrows for scrolling if there are too many tabs to fit in the area.} \usage{gtkNotebookSetScrollable(object, scrollable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{scrollable}}{\code{TRUE} if scroll arrows should be added} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcReparseAll.Rd0000644000176000001440000000064612362217677015345 0ustar ripleyusers\alias{gtkRcReparseAll} \name{gtkRcReparseAll} \title{gtkRcReparseAll} \description{If the modification time on any previously read file for the default \code{\link{GtkSettings}} has changed, discard all style information and then reread all previously read RC files.} \usage{gtkRcReparseAll()} \value{[logical] \code{TRUE} if the files were reread.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilePollMountable.Rd0000644000176000001440000000201312362217677016032 0ustar ripleyusers\alias{gFilePollMountable} \name{gFilePollMountable} \title{gFilePollMountable} \description{Polls a file of type G_FILE_TYPE_MOUNTABLE.} \usage{gFilePollMountable(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileMountMountableFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxGetModel.Rd0000644000176000001440000000100712362217677016147 0ustar ripleyusers\alias{gtkComboBoxGetModel} \name{gtkComboBoxGetModel} \title{gtkComboBoxGetModel} \description{Returns the \code{\link{GtkTreeModel}} which is acting as data source for \code{combo.box}.} \usage{gtkComboBoxGetModel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkComboBox}}}} \details{Since 2.4} \value{[\code{\link{GtkTreeModel}}] A \code{\link{GtkTreeModel}} which was passed during construction. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRange.Rd0000644000176000001440000002110012362217677014006 0ustar ripleyusers\alias{GtkRange} \alias{GtkSensitivityType} \name{GtkRange} \title{GtkRange} \description{Base class for widgets which visualize an adjustment} \section{Methods and Functions}{ \code{\link{gtkRangeGetFillLevel}(object)}\cr \code{\link{gtkRangeGetRestrictToFillLevel}(object)}\cr \code{\link{gtkRangeGetShowFillLevel}(object)}\cr \code{\link{gtkRangeSetFillLevel}(object, fill.level)}\cr \code{\link{gtkRangeSetRestrictToFillLevel}(object, restrict.to.fill.level)}\cr \code{\link{gtkRangeSetShowFillLevel}(object, show.fill.level)}\cr \code{\link{gtkRangeGetAdjustment}(object)}\cr \code{\link{gtkRangeSetUpdatePolicy}(object, policy)}\cr \code{\link{gtkRangeSetAdjustment}(object, adjustment)}\cr \code{\link{gtkRangeGetInverted}(object)}\cr \code{\link{gtkRangeSetInverted}(object, setting)}\cr \code{\link{gtkRangeGetUpdatePolicy}(object)}\cr \code{\link{gtkRangeGetValue}(object)}\cr \code{\link{gtkRangeSetIncrements}(object, step, page)}\cr \code{\link{gtkRangeSetRange}(object, min, max)}\cr \code{\link{gtkRangeSetValue}(object, value)}\cr \code{\link{gtkRangeSetLowerStepperSensitivity}(object, sensitivity)}\cr \code{\link{gtkRangeGetLowerStepperSensitivity}(object)}\cr \code{\link{gtkRangeSetUpperStepperSensitivity}(object, sensitivity)}\cr \code{\link{gtkRangeGetUpperStepperSensitivity}(object)}\cr \code{\link{gtkRangeGetFlippable}(object)}\cr \code{\link{gtkRangeSetFlippable}(object, flippable)}\cr \code{\link{gtkRangeGetMinSliderSize}(object)}\cr \code{\link{gtkRangeGetRangeRect}(object)}\cr \code{\link{gtkRangeGetSliderRange}(object)}\cr \code{\link{gtkRangeGetSliderSizeFixed}(object)}\cr \code{\link{gtkRangeSetMinSliderSize}(object, min.size)}\cr \code{\link{gtkRangeSetSliderSizeFixed}(object, size.fixed)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GtkScrollbar}} \section{Interfaces}{GtkRange implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\code{\link{GtkRange}} is the common base class for widgets which visualize an adjustment, e.g scales or scrollbars. Apart from signals for monitoring the parameters of the adjustment, GtkRange provides properties and methods for influencing the sensitivity of the "steppers". It also provides properties and methods for setting a "fill level" on range widgets. See \code{\link{gtkRangeSetFillLevel}}.} \section{Structures}{\describe{\item{\verb{GtkRange}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{\item{\verb{GtkSensitivityType}}{ Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets. \describe{ \item{\verb{auto}}{The arrow is made insensitive if the thumb is at the end} \item{\verb{on}}{The arrow is always sensitive} \item{\verb{off}}{The arrow is always insensitive} } }}} \section{Signals}{\describe{ \item{\code{adjust-bounds(range, user.data)}}{ \emph{undocumented } \describe{ \item{\code{range}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{change-value(range, scroll, value, returns, user.data)}}{ The ::change-value signal is emitted when a scroll action is performed on a range. It allows an application to determine the type of scroll event that occurred and the resultant new value. The application can handle the event itself and return \code{TRUE} to prevent further processing. Or, by returning \code{FALSE}, it can pass the event to other handlers until the default GTK+ handler is reached. The value parameter is unrounded. An application that overrides the ::change-value signal is responsible for clamping the value to the desired number of decimal digits; the default GTK+ handler clamps the value based on \code{range->round.digits}. It is not possible to use delayed update policies in an overridden ::change-value handler. Since 2.6 \describe{ \item{\code{range}}{the range that received the signal} \item{\code{scroll}}{the type of scroll action that was performed} \item{\code{value}}{the new value resulting from the scroll action} \item{\code{returns}}{\code{TRUE} to prevent other handlers from being invoked for the signal, \code{FALSE} to propagate the signal further} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-slider(range, step, user.data)}}{ Virtual function that moves the slider. Used for keybindings. \describe{ \item{\code{range}}{the \code{\link{GtkRange}}} \item{\code{step}}{how to move the slider} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{value-changed(range, user.data)}}{ Emitted when the range value changes. \describe{ \item{\code{range}}{the \code{\link{GtkRange}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{adjustment} [\code{\link{GtkAdjustment}} : * : Read / Write / Construct]}{ The GtkAdjustment that contains the current value of this range object. } \item{\verb{fill-level} [numeric : Read / Write]}{ The fill level (e.g. prebuffering of a network stream). See \code{\link{gtkRangeSetFillLevel}}. Default value: 1.79769e+308 Since 2.12 } \item{\verb{inverted} [logical : Read / Write]}{ Invert direction slider moves to increase range value. Default value: FALSE } \item{\verb{lower-stepper-sensitivity} [\code{\link{GtkSensitivityType}} : Read / Write]}{ The sensitivity policy for the stepper that points to the adjustment's lower side. Default value: GTK_SENSITIVITY_AUTO } \item{\verb{restrict-to-fill-level} [logical : Read / Write]}{ The restrict-to-fill-level property controls whether slider movement is restricted to an upper boundary set by the fill level. See \code{\link{gtkRangeSetRestrictToFillLevel}}. Default value: TRUE Since 2.12 } \item{\verb{show-fill-level} [logical : Read / Write]}{ The show-fill-level property controls whether fill level indicator graphics are displayed on the trough. See \code{\link{gtkRangeSetShowFillLevel}}. Default value: FALSE Since 2.12 } \item{\verb{update-policy} [\code{\link{GtkUpdateType}} : Read / Write]}{ How the range should be updated on the screen. Default value: GTK_UPDATE_CONTINUOUS } \item{\verb{upper-stepper-sensitivity} [\code{\link{GtkSensitivityType}} : Read / Write]}{ The sensitivity policy for the stepper that points to the adjustment's upper side. Default value: GTK_SENSITIVITY_AUTO } }} \section{Style Properties}{\describe{ \item{\verb{activate-slider} [logical : Read]}{ With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged. Default value: FALSE } \item{\verb{arrow-displacement-x} [integer : Read]}{ How far in the x direction to move the arrow when the button is depressed. Default value: 0 } \item{\verb{arrow-displacement-y} [integer : Read]}{ How far in the y direction to move the arrow when the button is depressed. Default value: 0 } \item{\verb{arrow-scaling} [numeric : Read]}{ The arrow size proportion relative to the scroll button size. Allowed values: [0,1] Default value: 0.5 Since 2.14 } \item{\verb{slider-width} [integer : Read]}{ Width of scrollbar or scale thumb. Allowed values: >= 0 Default value: 14 } \item{\verb{stepper-size} [integer : Read]}{ Length of step buttons at ends. Allowed values: >= 0 Default value: 14 } \item{\verb{stepper-spacing} [integer : Read]}{ The spacing between the stepper buttons and thumb. Note that setting this value to anything > 0 will automatically set the trough-under-steppers style property to \code{TRUE} as well. Also, stepper-spacing won't have any effect if there are no steppers. Allowed values: >= 0 Default value: 0 } \item{\verb{trough-border} [integer : Read]}{ Spacing between thumb/steppers and outer trough bevel. Allowed values: >= 0 Default value: 1 } \item{\verb{trough-side-details} [logical : Read]}{ When \code{TRUE}, the parts of the trough on the two sides of the slider are drawn with different details. Default value: FALSE Since 2.10 } \item{\verb{trough-under-steppers} [logical : Read]}{ Whether to draw the trough across the full length of the range or to exclude the steppers and their spacing. Note that setting the \verb{"stepper-spacing"} style property to any value > 0 will automatically enable trough-under-steppers too. Default value: TRUE Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkRange.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetRole.Rd0000644000176000001440000000063312362217677015553 0ustar ripleyusers\alias{gtkWindowGetRole} \name{gtkWindowGetRole} \title{gtkWindowGetRole} \description{Returns the role of the window. See \code{\link{gtkWindowSetRole}} for further explanation.} \usage{gtkWindowGetRole(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[character] the role of the window if set, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableReset.Rd0000644000176000001440000000047712362217677015661 0ustar ripleyusers\alias{gCancellableReset} \name{gCancellableReset} \title{gCancellableReset} \description{Resets \code{cancellable} to its uncancelled state.} \usage{gCancellableReset(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}} object.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetOrientation.Rd0000644000176000001440000000116512362217677017301 0ustar ripleyusers\alias{gtkToolbarGetOrientation} \name{gtkToolbarGetOrientation} \title{gtkToolbarGetOrientation} \description{ Retrieves the current orientation of the toolbar. See \code{\link{gtkToolbarSetOrientation}}. \strong{WARNING: \code{gtk_toolbar_get_orientation} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkOrientableGetOrientation}} instead.} } \usage{gtkToolbarGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}}} \value{[\code{\link{GtkOrientation}}] the orientation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHSVGetColor.Rd0000644000176000001440000000077412362217677015127 0ustar ripleyusers\alias{gtkHSVGetColor} \name{gtkHSVGetColor} \title{gtkHSVGetColor} \description{Queries the current color in an HSV color selector. Returned values will be in the [0.0, 1.0] range.} \usage{gtkHSVGetColor(object, h, s, v)} \arguments{ \item{\verb{object}}{An HSV color selector} \item{\verb{h}}{Return value for the hue} \item{\verb{s}}{Return value for the saturation} \item{\verb{v}}{Return value for the value} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsSetDelay.Rd0000644000176000001440000000107712362217677016275 0ustar ripleyusers\alias{gtkTooltipsSetDelay} \name{gtkTooltipsSetDelay} \title{gtkTooltipsSetDelay} \description{ Sets the time between the user moving the mouse over a widget and the widget's tooltip appearing. \strong{WARNING: \code{gtk_tooltips_set_delay} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsSetDelay(object, delay)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTooltips}}.} \item{\verb{delay}}{an integer value representing milliseconds.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrRiseNew.Rd0000644000176000001440000000075412362217677015554 0ustar ripleyusers\alias{pangoAttrRiseNew} \name{pangoAttrRiseNew} \title{pangoAttrRiseNew} \description{Create a new baseline displacement attribute.} \usage{pangoAttrRiseNew(rise)} \arguments{\item{\verb{rise}}{[integer] the amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards.}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetEndIter.Rd0000644000176000001440000000136012362217677017011 0ustar ripleyusers\alias{gtkTextBufferGetEndIter} \name{gtkTextBufferGetEndIter} \title{gtkTextBufferGetEndIter} \description{Initializes \code{iter} with the "end iterator," one past the last valid character in the text buffer. If dereferenced with \code{\link{gtkTextIterGetChar}}, the end iterator has a character value of 0. The entire buffer lies in the range from the first position in the buffer (call \code{\link{gtkTextBufferGetStartIter}} to get character position 0) to the end iterator.} \usage{gtkTextBufferGetEndIter(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageGetImage.Rd0000644000176000001440000000165512362217677015454 0ustar ripleyusers\alias{gtkImageGetImage} \name{gtkImageGetImage} \title{gtkImageGetImage} \description{Gets the \code{\link{GdkImage}} and mask being displayed by the \code{\link{GtkImage}}. The storage type of the image must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_IMAGE} (see \code{\link{gtkImageGetStorageType}}). The caller of this function does not own a reference to the returned image and mask.} \usage{gtkImageGetImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkImage}}}} \value{ A list containing the following elements: \item{\verb{gdk.image}}{return location for a \code{\link{GtkImage}}, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} \item{\verb{mask}}{return location for a \code{\link{GdkBitmap}}, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{transfer none} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetTreeView.Rd0000644000176000001440000000064712362217677017707 0ustar ripleyusers\alias{gtkTreeSelectionGetTreeView} \name{gtkTreeSelectionGetTreeView} \title{gtkTreeSelectionGetTreeView} \description{Returns the tree view associated with \code{selection}.} \usage{gtkTreeSelectionGetTreeView(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}}} \value{[\code{\link{GtkTreeView}}] A \code{\link{GtkTreeView}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetTooltips.Rd0000644000176000001440000000121612362217677016634 0ustar ripleyusers\alias{gtkToolbarSetTooltips} \name{gtkToolbarSetTooltips} \title{gtkToolbarSetTooltips} \description{ Sets if the tooltips of a toolbar should be active or not. \strong{WARNING: \code{gtk_toolbar_set_tooltips} has been deprecated since version 2.14 and should not be used in newly-written code. The toolkit-wide \verb{"gtk-enable-tooltips"} property is now used instead.} } \usage{gtkToolbarSetTooltips(object, enable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{enable}}{set to \code{FALSE} to disable the tooltips, or \code{TRUE} to enable them.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetDither.Rd0000644000176000001440000000072412362217677016260 0ustar ripleyusers\alias{gtkPreviewSetDither} \name{gtkPreviewSetDither} \title{gtkPreviewSetDither} \description{ Set the dithering mode for the display. \strong{WARNING: \code{gtk_preview_set_dither} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetDither(object, dither)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPreview}}.} \item{\verb{dither}}{the dithering mode.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GType.Rd0000644000176000001440000000457611766145227013354 0ustar ripleyusers\name{GType} \alias{GType} \alias{gTypeGetAncestors} \alias{gTypeGetInterfaces} \alias{gTypeFromName} \alias{gTypeGetClass} \alias{gTypeGetSignals} \alias{print.GType} \title{The GType system} \description{ "The GType API is the foundation of the GObject system. It provides the facilities for registering and managing all fundamental data types, user-defined object and interface types." - GObject documentation } \usage{ gTypeGetAncestors(type) gTypeGetInterfaces(type) gTypeFromName(name) gTypeGetClass(type) gTypeGetSignals(type) } \arguments{ \item{type}{The \code{GType}, either its name or numeric value, see below} \item{name}{The name of a \code{GType}} } \value{ \code{gTypeGetAncestors} returns a vector of type names from which \code{type} inherits. \code{gTypeGetInterfaces} names the interfaces implemented by \code{type}. \code{gTypeFromName} retrieves the numeric value of a type from its name. \code{gTypeGetClass} returns the class instance for the type, for example \code{\link{GtkWidgetClass}}. \code{gTypeGetSignals} returns a list of signal ids with names for the signals supported by the type. } \details{ The \code{GType} system supports inheritance and interfaces, enabling the psuedo-object-oriented system known as \code{\link{GObject}}. However, they also encompass all fundamental (primitive) types. A \code{GType} is considered a \code{\link{transparent-type}} in RGtk2, since you may specify one as either the type name or the numeric value retrieved from some API function like \code{gTypeFromName}. The \code{GType} system obviously names primitive types different from the corresponding types in R, but this is automatically taken care of for you, so you can use R type names (ie, "character", "logical", etc) when specifying a \code{GType}. This means that \code{gTypeFromName} is not that useful to the RGtk2 programmer. All R objects representing external RGtk2 objects have their hierarchy stored in the \code{class} attribute. Everything descends from "RGtkObject", then, for example, "GObject", etc. The types do not necessarily correspond to \code{GType}s, but they do for all \code{GObject}s and others. Thus, \code{gTypeGetAncestors} is also of little use unless one is working with pure \code{GType}s. } \seealso{\code{\link{GObject}}} \references{\url{http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html}} \author{Michael Lawrence} \keyword{interface} RGtk2/man/gtkTreeRowReferenceDeleted.Rd0000644000176000001440000000074612362217677017524 0ustar ripleyusers\alias{gtkTreeRowReferenceDeleted} \name{gtkTreeRowReferenceDeleted} \title{gtkTreeRowReferenceDeleted} \description{Lets a set of row reference created by \code{\link{gtkTreeRowReferenceNewProxy}} know that the model emitted the "row_deleted" signal.} \usage{gtkTreeRowReferenceDeleted(proxy, path)} \arguments{ \item{\verb{proxy}}{A \code{\link{GObject}}} \item{\verb{path}}{The path position that was deleted} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDrawLayoutLine.Rd0000644000176000001440000000134112362217677017730 0ustar ripleyusers\alias{pangoRendererDrawLayoutLine} \name{pangoRendererDrawLayoutLine} \title{pangoRendererDrawLayoutLine} \description{Draws \code{line} with the specified \code{\link{PangoRenderer}}.} \usage{pangoRendererDrawLayoutLine(object, line, x, y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{line}}{[\code{\link{PangoLayoutLine}}] a \code{\link{PangoLayoutLine}}} \item{\verb{x}}{[integer] X position of left edge of baseline, in user space coordinates in Pango units.} \item{\verb{y}}{[integer] Y position of left edge of baseline, in user space coordinates in Pango units.} } \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboNew.Rd0000644000176000001440000000067312362217677014537 0ustar ripleyusers\alias{gtkComboNew} \name{gtkComboNew} \title{gtkComboNew} \description{ Creates a new \code{\link{GtkCombo}}. \strong{WARNING: \code{gtk_combo_new} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkCombo}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetSizing.Rd0000644000176000001440000000065512362217677017562 0ustar ripleyusers\alias{gtkTreeViewColumnGetSizing} \name{gtkTreeViewColumnGetSizing} \title{gtkTreeViewColumnGetSizing} \description{Returns the current type of \code{tree.column}.} \usage{gtkTreeViewColumnGetSizing(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.}} \value{[\code{\link{GtkTreeViewColumnSizing}}] The type of \code{tree.column}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySync.Rd0000644000176000001440000000140512362217677015242 0ustar ripleyusers\alias{gdkDisplaySync} \name{gdkDisplaySync} \title{gdkDisplaySync} \description{Flushes any requests queued for the windowing system and waits until all requests have been handled. This is often used for making sure that the display is synchronized with the current state of the program. Calling \code{\link{gdkDisplaySync}} before \code{gdkErrorTrapPop()} makes sure that any errors generated from earlier requests are handled before the error trap is removed.} \usage{gdkDisplaySync(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{This is most useful for X11. On windowing systems where requests are handled synchronously, this function will do nothing. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetPrimaryMonitor.Rd0000644000176000001440000000146712362217677017603 0ustar ripleyusers\alias{gdkScreenGetPrimaryMonitor} \name{gdkScreenGetPrimaryMonitor} \title{gdkScreenGetPrimaryMonitor} \description{Gets the primary monitor for \code{screen}. The primary monitor is considered the monitor where the 'main desktop' lives. While normal application windows typically allow the window manager to place the windows, specialized desktop applications such as panels should place themselves on the primary monitor.} \usage{gdkScreenGetPrimaryMonitor(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}.}} \details{If no primary monitor is configured by the user, the return value will be 0, defaulting to the first monitor. Since 2.20} \value{[integer] An integer index for the primary monitor, or 0 if none is configured.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetFontDescription.Rd0000644000176000001440000000104712362217677020460 0ustar ripleyusers\alias{pangoContextGetFontDescription} \name{pangoContextGetFontDescription} \title{pangoContextGetFontDescription} \description{Retrieve the default font description for the context.} \usage{pangoContextGetFontDescription(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \value{[\code{\link{PangoFontDescription}}] a pointer to the context's default font description. This value must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHScaleNew.Rd0000644000176000001440000000063112362217677014631 0ustar ripleyusers\alias{gtkHScaleNew} \name{gtkHScaleNew} \title{gtkHScaleNew} \description{Creates a new \code{\link{GtkHScale}}.} \usage{gtkHScaleNew(adjustment = NULL, show = TRUE)} \arguments{\item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} which sets the range of the scale.}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkHScale}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPrintContext.Rd0000644000176000001440000000502412362217677015422 0ustar ripleyusers\alias{GtkPrintContext} \name{GtkPrintContext} \title{GtkPrintContext} \description{Encapsulates context for drawing pages} \section{Methods and Functions}{ \code{\link{gtkPrintContextGetCairoContext}(object)}\cr \code{\link{gtkPrintContextSetCairoContext}(object, cr, dpi.x, dpi.y)}\cr \code{\link{gtkPrintContextGetPageSetup}(object)}\cr \code{\link{gtkPrintContextGetWidth}(object)}\cr \code{\link{gtkPrintContextGetHeight}(object)}\cr \code{\link{gtkPrintContextGetDpiX}(object)}\cr \code{\link{gtkPrintContextGetDpiY}(object)}\cr \code{\link{gtkPrintContextGetPangoFontmap}(object)}\cr \code{\link{gtkPrintContextCreatePangoContext}(object)}\cr \code{\link{gtkPrintContextCreatePangoLayout}(object)}\cr \code{\link{gtkPrintContextGetHardMargins}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkPrintContext}} \section{Detailed Description}{A GtkPrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution. It also lets you easily create \code{\link{PangoLayout}} and \code{\link{PangoContext}} objects that match the font metrics of the cairo surface. GtkPrintContext objects gets passed to the ::begin-print, ::end-print, ::request-page-setup and ::draw-page signals on the \code{\link{GtkPrintOperation}}. \emph{Using GtkPrintContext in a ::draw-page callback} \preformatted{ draw_page <- function(operation, context, page_nr) { cr <- context$getCairoContext() # Draw a red rectangle, as wide as the paper (inside the margins) cr$setSourceRgb(1.0, 0, 0) cr$rectangle(0, 0, context$getWidth(), 50) cr$fill() # Draw some lines cr$moveTo(20, 10) cr$lineTo(40, 20) cr$arc(60, 60, 20, 0, pi) cr$lineTo(80, 20) cr$setSourceRgb(0, 0, 0) cr$setLineWidth(5) cr$setLineCap("round") cr$setLineJoin("round") cr$stroke() # Draw some text layout <- context$createLayout() layout$setText("Hello World! Printing is easy") desc <- pangoFontDescriptionFromString("sans 28") layout$setFontDescription(desc) cr$moveTo(30, 20) cr$layoutPath(layout) # Font Outline cr$setSourceRgb(0.93, 1.0, 0.47) cr$setLineWidth(0.5) cr$strokePreserve() # Font Fill cr$setSourceRgb(0, 0.0, 1.0) cr$fill() } } Printing support was added in GTK+ 2.10.} \section{Structures}{\describe{\item{\verb{GtkPrintContext}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkPrintContext.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserSetSelectMultiple.Rd0000644000176000001440000000100112362217677021103 0ustar ripleyusers\alias{gtkRecentChooserSetSelectMultiple} \name{gtkRecentChooserSetSelectMultiple} \title{gtkRecentChooserSetSelectMultiple} \description{Sets whether \code{chooser} can select multiple items.} \usage{gtkRecentChooserSetSelectMultiple(object, select.multiple)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{select.multiple}}{\code{TRUE} if \code{chooser} can select more than one item} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetResolution.Rd0000644000176000001440000000065412362217677020366 0ustar ripleyusers\alias{gtkPrintSettingsGetResolution} \name{gtkPrintSettingsGetResolution} \title{gtkPrintSettingsGetResolution} \description{Gets the value of \code{GTK_PRINT_SETTINGS_RESOLUTION}.} \usage{gtkPrintSettingsGetResolution(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[integer] the resolution in dpi} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowShapeCombineRegion.Rd0000644000176000001440000000244012362217677017671 0ustar ripleyusers\alias{gdkWindowShapeCombineRegion} \name{gdkWindowShapeCombineRegion} \title{gdkWindowShapeCombineRegion} \description{Makes pixels in \code{window} outside \code{shape.region} be transparent, so that the window may be nonrectangular. See also \code{\link{gdkWindowShapeCombineMask}} to use a bitmap as the mask.} \usage{gdkWindowShapeCombineRegion(object, shape.region = NULL, offset.x, offset.y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{shape.region}}{region of window to be non-transparent} \item{\verb{offset.x}}{X position of \code{shape.region} in \code{window} coordinates} \item{\verb{offset.y}}{Y position of \code{shape.region} in \code{window} coordinates} } \details{If \code{shape.region} is \code{NULL}, the shape will be unset, so the whole window will be opaque again. \code{offset.x} and \code{offset.y} are ignored if \code{shape.region} is \code{NULL}. On the X11 platform, this uses an X server extension which is widely available on most common platforms, but not available on very old X servers, and occasionally the implementation will be buggy. On servers without the shape extension, this function will do nothing. This function works on both toplevel and child windows.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetRowDataFull.Rd0000644000176000001440000000120112362217677017403 0ustar ripleyusers\alias{gtkCTreeNodeSetRowDataFull} \name{gtkCTreeNodeSetRowDataFull} \title{gtkCTreeNodeSetRowDataFull} \description{ This is the full interface to setting row data, so that a destructor can be given for the data. \strong{WARNING: \code{gtk_ctree_node_set_row_data_full} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetRowDataFull(object, node, data)} \arguments{ \item{\verb{object}}{The routine to be called when \code{data} is no longer needed.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryLookup.Rd0000644000176000001440000000131412362217677016431 0ustar ripleyusers\alias{gtkIconFactoryLookup} \name{gtkIconFactoryLookup} \title{gtkIconFactoryLookup} \description{Looks up \code{stock.id} in the icon factory, returning an icon set if found, otherwise \code{NULL}. For display to the user, you should use \code{\link{gtkStyleLookupIconSet}} on the \code{\link{GtkStyle}} for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.} \usage{gtkIconFactoryLookup(object, stock.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconFactory}}} \item{\verb{stock.id}}{an icon name} } \value{[\code{\link{GtkIconSet}}] icon set of \code{stock.id}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActivatableGetRelatedAction.Rd0000644000176000001440000000074412362217677020343 0ustar ripleyusers\alias{gtkActivatableGetRelatedAction} \name{gtkActivatableGetRelatedAction} \title{gtkActivatableGetRelatedAction} \description{Gets the related \code{\link{GtkAction}} for \code{activatable}.} \usage{gtkActivatableGetRelatedAction(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkActivatable}}}} \details{Since 2.16} \value{[\code{\link{GtkAction}}] the related \code{\link{GtkAction}} if one is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetFromDrawable.Rd0000644000176000001440000000753312362217677017173 0ustar ripleyusers\alias{gdkPixbufGetFromDrawable} \name{gdkPixbufGetFromDrawable} \title{gdkPixbufGetFromDrawable} \description{Transfers image data from a \code{\link{GdkDrawable}} and converts it to an RGB(A) representation inside a \code{\link{GdkPixbuf}}. In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side.} \usage{gdkPixbufGetFromDrawable(dest = NULL, src, cmap = NULL, src.x, src.y, dest.x, dest.y, width, height)} \arguments{ \item{\verb{dest}}{Destination pixbuf, or \code{NULL} if a new pixbuf should be created. \emph{[ \acronym{allow-none} ]}} \item{\verb{src}}{Source drawable.} \item{\verb{cmap}}{A colormap if \code{src} doesn't have one set.} \item{\verb{src.x}}{Source X coordinate within drawable.} \item{\verb{src.y}}{Source Y coordinate within drawable.} \item{\verb{dest.x}}{Destination X coordinate in pixbuf, or 0 if \code{dest} is NULL.} \item{\verb{dest.y}}{Destination Y coordinate in pixbuf, or 0 if \code{dest} is NULL.} \item{\verb{width}}{Width in pixels of region to get.} \item{\verb{height}}{Height in pixels of region to get.} } \details{If the drawable \code{src} has no colormap (\code{\link{gdkDrawableGetColormap}} returns \code{NULL}), then a suitable colormap must be specified. Typically a \code{\link{GdkWindow}} or a pixmap created by passing a \code{\link{GdkWindow}} to \code{\link{gdkPixmapNew}} will already have a colormap associated with it. If the drawable has a colormap, the \code{cmap} argument will be ignored. If the drawable is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black. For taking screenshots, \code{\link{gdkColormapGetSystem}} returns the correct colormap to use. If the specified destination pixbuf \code{dest} is \code{NULL}, then this function will create an RGB pixbuf with 8 bits per channel and no alpha, with the same size specified by the \code{width} and \code{height} arguments. In this case, the \code{dest.x} and \code{dest.y} arguments must be specified as 0. If the specified destination pixbuf is not \code{NULL} and it contains alpha information, then the filled pixels will be set to full opacity (alpha = 255). If the specified drawable is a pixmap, then the requested source rectangle must be completely contained within the pixmap, otherwise the function will return \code{NULL}. For pixmaps only (not for windows) passing -1 for width or height is allowed to mean the full width or height of the pixmap. If the specified drawable is a window, and the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the pixbuf corresponding to the offscreen region are undefined. If the window you're obtaining data from is partially obscured by other windows, then the contents of the pixbuf areas corresponding to the obscured regions are undefined. If the target drawable is not mapped (typically because it's iconified/minimized or not on the current workspace), then \code{NULL} will be returned. If memory can't be allocated for the return value, \code{NULL} will be returned instead. (In short, there are several ways this function can fail, and if it fails it returns \code{NULL}; so check the return value.) This function calls \code{\link{gdkDrawableGetImage}} internally and converts the resulting image to a \code{\link{GdkPixbuf}}, so the documentation for \code{\link{gdkDrawableGetImage}} may also be relevant.} \value{[\code{\link{GdkPixbuf}}] The same pixbuf as \code{dest} if it was non-\code{NULL}, or a newly-created pixbuf with a reference count of 1 if no destination pixbuf was specified, or \code{NULL} on error} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAsyncResultGetUserData.Rd0000644000176000001440000000060312362217677017025 0ustar ripleyusers\alias{gAsyncResultGetUserData} \name{gAsyncResultGetUserData} \title{gAsyncResultGetUserData} \description{Gets the user data from a \code{\link{GAsyncResult}}.} \usage{gAsyncResultGetUserData(object)} \arguments{\item{\verb{object}}{a \code{\link{GAsyncResult}}.}} \value{[R object] the user data for \code{res}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenWidthMm.Rd0000644000176000001440000000062112362217677015510 0ustar ripleyusers\alias{gdkScreenWidthMm} \name{gdkScreenWidthMm} \title{gdkScreenWidthMm} \description{Returns the width of the default screen in millimeters. Note that on many X servers this value will not be correct.} \usage{gdkScreenWidthMm()} \value{[integer] the width of the default screen in millimeters, though it is not always correct.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentSetValue.Rd0000644000176000001440000000123312362217677016606 0ustar ripleyusers\alias{gtkAdjustmentSetValue} \name{gtkAdjustmentSetValue} \title{gtkAdjustmentSetValue} \description{Sets the \code{\link{GtkAdjustment}} value. The value is clamped to lie between \code{adjustment->lower} and \code{adjustment->upper}.} \usage{gtkAdjustmentSetValue(object, value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAdjustment}}.} \item{\verb{value}}{the new value.} } \details{Note that for adjustments which are used in a \code{\link{GtkScrollbar}}, the effective range of allowed values goes from \code{adjustment->lower} to \code{adjustment->upper - adjustment->page_size}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-Desktop-file-based-GAppInfo.Rd0000644000176000001440000000146011766145227020130 0ustar ripleyusers\alias{gio-Desktop-file-based-GAppInfo} \name{gio-Desktop-file-based-GAppInfo} \title{Desktop file based GAppInfo} \description{Application information from desktop files} \section{Hierarchy}{\preformatted{ GObject +----GDesktopAppInfo GInterface +----GDesktopAppInfoLookup }} \section{Interfaces}{GDesktopAppInfo implements \verb{\link{GAppInfo}}.} \section{Detailed Description}{\verb{GDesktopAppInfo} is an implementation of \verb{\link{GAppInfo}} based on desktop files. Note that \file{} belongs to the UNIX-specific GIO interfaces, thus you have to use the \file{gio-unix-2.0.pc} pkg-config file when using it.} \references{\url{http://library.gnome.org/devel//gio/gio-Desktop-file-based-GAppInfo.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressEnumeratorNextAsync.Rd0000644000176000001440000000151712362217677021122 0ustar ripleyusers\alias{gSocketAddressEnumeratorNextAsync} \name{gSocketAddressEnumeratorNextAsync} \title{gSocketAddressEnumeratorNextAsync} \description{Asynchronously retrieves the next \code{\link{GSocketAddress}} from \code{enumerator} and then calls \code{callback}, which must call \code{\link{gSocketAddressEnumeratorNextFinish}} to get the result.} \usage{gSocketAddressEnumeratorNextAsync(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketAddressEnumerator}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetMenuLabelText.Rd0000644000176000001440000000120612362217677017671 0ustar ripleyusers\alias{gtkNotebookGetMenuLabelText} \name{gtkNotebookGetMenuLabelText} \title{gtkNotebookGetMenuLabelText} \description{Retrieves the text of the menu label for the page containing \code{child}.} \usage{gtkNotebookGetMenuLabelText(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the child widget of a page of the notebook.} } \value{[character] the text of the tab label, or \code{NULL} if the widget does not have a menu label other than the default menu label, or the menu label widget is not a \code{\link{GtkLabel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLinkButtonSetUri.Rd0000644000176000001440000000072012362217677016244 0ustar ripleyusers\alias{gtkLinkButtonSetUri} \name{gtkLinkButtonSetUri} \title{gtkLinkButtonSetUri} \description{Sets \code{uri} as the URI where the \code{\link{GtkLinkButton}} points. As a side-effect this unsets the 'visited' state of the button.} \usage{gtkLinkButtonSetUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLinkButton}}} \item{\verb{uri}}{a valid URI} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeDragSourceDragDataDelete.Rd0000644000176000001440000000136212362217677020413 0ustar ripleyusers\alias{gtkTreeDragSourceDragDataDelete} \name{gtkTreeDragSourceDragDataDelete} \title{gtkTreeDragSourceDragDataDelete} \description{Asks the \code{\link{GtkTreeDragSource}} to delete the row at \code{path}, because it was moved somewhere else via drag-and-drop. Returns \code{FALSE} if the deletion fails because \code{path} no longer exists, or for some model-specific reason. Should robustly handle a \code{path} no longer found in the model!} \usage{gtkTreeDragSourceDragDataDelete(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeDragSource}}} \item{\verb{path}}{row that was being dragged} } \value{[logical] \code{TRUE} if the row was successfully deleted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetMnemonicModifier.Rd0000644000176000001440000000076012362217677020077 0ustar ripleyusers\alias{gtkWindowGetMnemonicModifier} \name{gtkWindowGetMnemonicModifier} \title{gtkWindowGetMnemonicModifier} \description{Returns the mnemonic modifier for this window. See \code{\link{gtkWindowSetMnemonicModifier}}.} \usage{gtkWindowGetMnemonicModifier(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GdkModifierType}}] the modifier mask used to activate mnemonics on this window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetShowAll.Rd0000644000176000001440000000051612362217677015537 0ustar ripleyusers\alias{gtkWidgetShowAll} \name{gtkWidgetShowAll} \title{gtkWidgetShowAll} \description{Recursively shows a widget, and any child widgets (if the widget is a container).} \usage{gtkWidgetShowAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNewWithMnemonic.Rd0000644000176000001440000000132712362217677020521 0ustar ripleyusers\alias{gtkRadioMenuItemNewWithMnemonic} \name{gtkRadioMenuItemNewWithMnemonic} \title{gtkRadioMenuItemNewWithMnemonic} \description{Creates a new \code{\link{GtkRadioMenuItem}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the menu item.} \usage{gtkRadioMenuItemNewWithMnemonic(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{group the radio menu item is inside} \item{\verb{label}}{the text of the button, with an underscore in front of the mnemonic character} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetAttributes.Rd0000644000176000001440000000127212362217677016550 0ustar ripleyusers\alias{gtkLabelGetAttributes} \name{gtkLabelGetAttributes} \title{gtkLabelGetAttributes} \description{Gets the attribute list that was set on the label using \code{\link{gtkLabelSetAttributes}}, if any. This function does not reflect attributes that come from the labels markup (see \code{\link{gtkLabelSetMarkup}}). If you want to get the effective attributes for the label, use pango_layout_get_attribute (gtk_label_get_layout (label)).} \usage{gtkLabelGetAttributes(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \value{[\code{\link{PangoAttrList}}] the attribute list, or \code{NULL} if none was set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetStock.Rd0000644000176000001440000000115112362217677016556 0ustar ripleyusers\alias{gtkStatusIconGetStock} \name{gtkStatusIconGetStock} \title{gtkStatusIconGetStock} \description{Gets the id of the stock icon being displayed by the \code{\link{GtkStatusIcon}}. The storage type of the status icon must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_STOCK} (see \code{\link{gtkStatusIconGetStorageType}}).} \usage{gtkStatusIconGetStock(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.10} \value{[character] stock id of the displayed stock icon, or \code{NULL} if the image is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawPoint.Rd0000644000176000001440000000103112362217677014702 0ustar ripleyusers\alias{gdkDrawPoint} \name{gdkDrawPoint} \title{gdkDrawPoint} \description{Draws a point, using the foreground color and other attributes of the \code{\link{GdkGC}}.} \usage{gdkDrawPoint(object, gc, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x coordinate of the point.} \item{\verb{y}}{the y coordinate of the point.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetResetShapes.Rd0000644000176000001440000000051512362217677016413 0ustar ripleyusers\alias{gtkWidgetResetShapes} \name{gtkWidgetResetShapes} \title{gtkWidgetResetShapes} \description{Recursively resets the shape on this widget and its descendants.} \usage{gtkWidgetResetShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerUnsetFocusChain.Rd0000644000176000001440000000057612362217677017734 0ustar ripleyusers\alias{gtkContainerUnsetFocusChain} \name{gtkContainerUnsetFocusChain} \title{gtkContainerUnsetFocusChain} \description{Removes a focus chain explicitly set with \code{\link{gtkContainerSetFocusChain}}.} \usage{gtkContainerUnsetFocusChain(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetWidth.Rd0000644000176000001440000000073112362217677016363 0ustar ripleyusers\alias{gtkPaperSizeGetWidth} \name{gtkPaperSizeGetWidth} \title{gtkPaperSizeGetWidth} \description{Gets the paper width of the \code{\link{GtkPaperSize}}, in units of \code{unit}.} \usage{gtkPaperSizeGetWidth(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the paper width} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetDoubleWithDefault.Rd0000644000176000001440000000135012362217677021570 0ustar ripleyusers\alias{gtkPrintSettingsGetDoubleWithDefault} \name{gtkPrintSettingsGetDoubleWithDefault} \title{gtkPrintSettingsGetDoubleWithDefault} \description{Returns the floating point number represented by the value that is associated with \code{key}, or \code{default.val} if the value does not represent a floating point number.} \usage{gtkPrintSettingsGetDoubleWithDefault(object, key, def)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} \item{\verb{def}}{the default value} } \details{Floating point numbers are parsed with \code{gAsciiStrtod()}. Since 2.10} \value{[numeric] the floating point number associated with \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcScannerNew.Rd0000644000176000001440000000031312362217677015345 0ustar ripleyusers\alias{gtkRcScannerNew} \name{gtkRcScannerNew} \title{gtkRcScannerNew} \description{\emph{undocumented }} \usage{gtkRcScannerNew()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathGetDepth.Rd0000644000176000001440000000054012362217677016160 0ustar ripleyusers\alias{gtkTreePathGetDepth} \name{gtkTreePathGetDepth} \title{gtkTreePathGetDepth} \description{Returns the current depth of \code{path}.} \usage{gtkTreePathGetDepth(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreePath}}.}} \value{[integer] The depth of \code{path}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarGetMessageType.Rd0000644000176000001440000000065512362217677017155 0ustar ripleyusers\alias{gtkInfoBarGetMessageType} \name{gtkInfoBarGetMessageType} \title{gtkInfoBarGetMessageType} \description{Returns the message type of the message area.} \usage{gtkInfoBarGetMessageType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkInfoBar}}}} \details{Since 2.18} \value{[\code{\link{GtkMessageType}}] the message type of the message area.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetTextColumn.Rd0000644000176000001440000000101412362217677017236 0ustar ripleyusers\alias{gtkIconViewSetTextColumn} \name{gtkIconViewSetTextColumn} \title{gtkIconViewSetTextColumn} \description{Sets the column with text for \code{icon.view} to be \code{column}. The text column must be of type \verb{G_TYPE_STRING}.} \usage{gtkIconViewSetTextColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{column}}{A column in the currently used model, or -1 to display no text} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeSetSize.Rd0000644000176000001440000000110612362217677016227 0ustar ripleyusers\alias{gtkPaperSizeSetSize} \name{gtkPaperSizeSetSize} \title{gtkPaperSizeSetSize} \description{Changes the dimensions of a \code{size} to \code{width} x \code{height}.} \usage{gtkPaperSizeSetSize(object, width, height, unit)} \arguments{ \item{\verb{object}}{a custom \code{\link{GtkPaperSize}} object} \item{\verb{width}}{the new width in units of \code{unit}} \item{\verb{height}}{the new height in units of \code{unit}} \item{\verb{unit}}{the unit for \code{width} and \code{height}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetVisibleRect.Rd0000644000176000001440000000107012362217677017371 0ustar ripleyusers\alias{gtkTextViewGetVisibleRect} \name{gtkTextViewGetVisibleRect} \title{gtkTextViewGetVisibleRect} \description{Fills \code{visible.rect} with the currently-visible region of the buffer, in buffer coordinates. Convert to window coordinates with \code{\link{gtkTextViewBufferToWindowCoords}}.} \usage{gtkTextViewGetVisibleRect(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{ A list containing the following elements: \item{\verb{visible.rect}}{rectangle to fill} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawShadowGap.Rd0000644000176000001440000000212312362217677015511 0ustar ripleyusers\alias{gtkDrawShadowGap} \name{gtkDrawShadowGap} \title{gtkDrawShadowGap} \description{ Draws a shadow around the given rectangle in \code{window} using the given style and state and shadow type, leaving a gap in one side. \strong{WARNING: \code{gtk_draw_shadow_gap} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintShadowGap}} instead.} } \usage{gtkDrawShadowGap(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} \item{\verb{gap.side}}{side in which to leave the gap} \item{\verb{gap.x}}{starting position of the gap} \item{\verb{gap.width}}{width of the gap} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonNew.Rd0000644000176000001440000000122012362217677015572 0ustar ripleyusers\alias{gtkSpinButtonNew} \name{gtkSpinButtonNew} \title{gtkSpinButtonNew} \description{Creates a new \code{\link{GtkSpinButton}}.} \usage{gtkSpinButtonNew(adjustment = NULL, climb.rate = NULL, digits = NULL, show = TRUE)} \arguments{ \item{\verb{adjustment}}{the \code{\link{GtkAdjustment}} object that this spin button should use.} \item{\verb{climb.rate}}{specifies how much the spin button changes when an arrow is clicked on.} \item{\verb{digits}}{the number of decimal places to display.} } \value{[\code{\link{GtkWidget}}] The new spin button as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPixmapNew.Rd0000644000176000001440000000105512362217677014731 0ustar ripleyusers\alias{gtkPixmapNew} \name{gtkPixmapNew} \title{gtkPixmapNew} \description{ Creates a new \code{\link{GtkPixmap}}, using the given GDK pixmap and mask. \strong{WARNING: \code{gtk_pixmap_new} is deprecated and should not be used in newly-written code.} } \usage{gtkPixmapNew(pixmap, mask = NULL, show = TRUE)} \arguments{ \item{\verb{pixmap}}{a \verb{GDKPixmap}.} \item{\verb{mask}}{. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkPixmap}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLines.Rd0000644000176000001440000000115512362217677016251 0ustar ripleyusers\alias{pangoLayoutGetLines} \name{pangoLayoutGetLines} \title{pangoLayoutGetLines} \description{Returns the lines of the \code{layout} as a list.} \usage{pangoLayoutGetLines(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{Use the faster \code{\link{pangoLayoutGetLinesReadonly}} if you do not plan to modify the contents of the lines (glyphs, glyph widths, etc.). } \value{[list] element-type Pango.LayoutLine): (transfer none. \acronym{element-type Pango.LayoutLine): (transfer} none. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterConvertIterToChildIter.Rd0000644000176000001440000000126112362217677022326 0ustar ripleyusers\alias{gtkTreeModelFilterConvertIterToChildIter} \name{gtkTreeModelFilterConvertIterToChildIter} \title{gtkTreeModelFilterConvertIterToChildIter} \description{Sets \code{child.iter} to point to the row pointed to by \code{filter.iter}.} \usage{gtkTreeModelFilterConvertIterToChildIter(object, filter.iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{filter.iter}}{A valid \code{\link{GtkTreeIter}} pointing to a row on \code{filter}.} } \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{child.iter}}{An uninitialized \code{\link{GtkTreeIter}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientSetProtocol.Rd0000644000176000001440000000112112362217677017241 0ustar ripleyusers\alias{gSocketClientSetProtocol} \name{gSocketClientSetProtocol} \title{gSocketClientSetProtocol} \description{Sets the protocol of the socket client. The sockets created by this object will use of the specified protocol.} \usage{gSocketClientSetProtocol(object, protocol)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{protocol}}{a \code{\link{GSocketProtocol}}} } \details{If \code{protocol} is \code{0} that means to use the default protocol for the socket family and type. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableSelectRegion.Rd0000644000176000001440000000132712362217677017040 0ustar ripleyusers\alias{gtkEditableSelectRegion} \name{gtkEditableSelectRegion} \title{gtkEditableSelectRegion} \description{Selects a region of text. The characters that are selected are those characters at positions from \code{start.pos} up to, but not including \code{end.pos}. If \code{end.pos} is negative, then the the characters selected are those characters from \code{start.pos} to the end of the text.} \usage{gtkEditableSelectRegion(object, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{start}}{start of region} \item{\verb{end}}{end of region} } \details{Note that positions are specified in characters, not bytes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCopyAsync.Rd0000644000176000001440000000300412362217677015166 0ustar ripleyusers\alias{gFileCopyAsync} \name{gFileCopyAsync} \title{gFileCopyAsync} \description{Copies the file \code{source} to the location specified by \code{destination} asynchronously. For details of the behaviour, see \code{\link{gFileCopy}}.} \usage{gFileCopyAsync(object, destination, flags = "G_FILE_COPY_NONE", io.priority = 0, cancellable = NULL, progress.callback, progress.callback.data, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{destination}}{destination \code{\link{GFile}}} \item{\verb{flags}}{set of \code{\link{GFileCopyFlags}}} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{progress.callback}}{function to callback with progress information} \item{\verb{progress.callback.data}}{user data to pass to \code{progress.callback}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{progress.callback} is not \code{NULL}, then that function that will be called just like in \code{\link{gFileCopy}}, however the callback will run in the main loop, not in the thread that is doing the I/O operation. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileCopyFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphItemLetterSpace.Rd0000644000176000001440000000145112362217677017376 0ustar ripleyusers\alias{pangoGlyphItemLetterSpace} \name{pangoGlyphItemLetterSpace} \title{pangoGlyphItemLetterSpace} \description{Adds spacing between the graphemes of \code{glyph.item} to give the effect of typographic letter spacing.} \usage{pangoGlyphItemLetterSpace(glyph.item, text, log.attrs)} \arguments{ \item{\verb{glyph.item}}{[\code{\link{PangoGlyphItem}}] a \code{\link{PangoGlyphItem}}} \item{\verb{text}}{[char] text that \code{glyph.item} corresponds to (glyph_item->item->offset is an offset from the start of \code{text})} \item{\verb{log.attrs}}{[\code{\link{PangoLogAttr}}] logical attributes for the item (the first logical attribute refers to the position before the first character in the item)} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetMarkupColumn.Rd0000644000176000001440000000065712362217677017551 0ustar ripleyusers\alias{gtkIconViewGetMarkupColumn} \name{gtkIconViewGetMarkupColumn} \title{gtkIconViewGetMarkupColumn} \description{Returns the column with markup text for \code{icon.view}.} \usage{gtkIconViewGetMarkupColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkIconView}}.}} \details{Since 2.6} \value{[integer] the markup column, or -1 if it's unset.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveIsMediaRemovable.Rd0000644000176000001440000000064712362217677016632 0ustar ripleyusers\alias{gDriveIsMediaRemovable} \name{gDriveIsMediaRemovable} \title{gDriveIsMediaRemovable} \description{Checks if the \code{drive} supports removable media.} \usage{gDriveIsMediaRemovable(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if \code{drive} supports removable media, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetIconPixmap.Rd0000644000176000001440000000167212362217677016347 0ustar ripleyusers\alias{gtkDragSetIconPixmap} \name{gtkDragSetIconPixmap} \title{gtkDragSetIconPixmap} \description{Sets \code{pixmap} as the icon for a given drag. GTK+ retains references for the arguments, and will release them when they are no longer needed. In general, \code{\link{gtkDragSetIconPixbuf}} will be more convenient to use.} \usage{gtkDragSetIconPixmap(object, colormap, pixmap, mask, hot.x, hot.y)} \arguments{ \item{\verb{object}}{the context for a drag. (This must be called with a context for the source side of a drag)} \item{\verb{colormap}}{the colormap of the icon} \item{\verb{pixmap}}{the image data for the icon} \item{\verb{mask}}{the transparency mask for the icon or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{hot.x}}{the X offset within \code{pixmap} of the hotspot.} \item{\verb{hot.y}}{the Y offset within \code{pixmap} of the hotspot.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFrameGetShadowType.Rd0000644000176000001440000000065412362217677016527 0ustar ripleyusers\alias{gtkFrameGetShadowType} \name{gtkFrameGetShadowType} \title{gtkFrameGetShadowType} \description{Retrieves the shadow type of the frame. See \code{\link{gtkFrameSetShadowType}}.} \usage{gtkFrameGetShadowType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFrame}}}} \value{[\code{\link{GtkShadowType}}] the current shadow type of the frame.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetFontDescription.Rd0000644000176000001440000000110212362217677020301 0ustar ripleyusers\alias{pangoLayoutGetFontDescription} \name{pangoLayoutGetFontDescription} \title{pangoLayoutGetFontDescription} \description{Gets the font description for the layout, if any.} \usage{pangoLayoutGetFontDescription(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{ Since 1.8} \value{[\code{\link{PangoFontDescription}}] a pointer to the layout's font description, or \code{NULL} if the font description from the layout's context is inherited.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaveToBuffer.Rd0000644000176000001440000000244512362217677016516 0ustar ripleyusers\alias{gdkPixbufSaveToBuffer} \name{gdkPixbufSaveToBuffer} \title{gdkPixbufSaveToBuffer} \description{Saves pixbuf to a new buffer in format \code{type}, which is currently "jpeg", "png", "tiff", "ico" or "bmp". This is a convenience function that uses \code{\link{gdkPixbufSaveToCallback}} to do the real work. Note that the buffer is not and may contain embedded nuls. If \code{error} is set, \code{FALSE} will be returned and \code{buffer} will be set to \code{NULL}. Possible errors include those in the \verb{GDK_PIXBUF_ERROR} domain.} \usage{gdkPixbufSaveToBuffer(object, type, ..., .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{type}}{name of file format.} \item{\verb{...}}{whether an error was set} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{See \code{\link{gdkPixbufSave}} for more details. Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{buffer}}{location to receive a pointer to the new buffer.} \item{\verb{buffer.size}}{location to receive the size of the new buffer.} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutReorder.Rd0000644000176000001440000000110712362217677016417 0ustar ripleyusers\alias{gtkCellLayoutReorder} \name{gtkCellLayoutReorder} \title{gtkCellLayoutReorder} \description{Re-inserts \code{cell} at \code{position}. Note that \code{cell} has already to be packed into \code{cell.layout} for this to function properly.} \usage{gtkCellLayoutReorder(object, cell, position)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}} to reorder.} \item{\verb{position}}{New position to insert \code{cell} at.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamNew.Rd0000644000176000001440000000065012362217677016201 0ustar ripleyusers\alias{gDataInputStreamNew} \name{gDataInputStreamNew} \title{gDataInputStreamNew} \description{Creates a new data input stream for the \code{base.stream}.} \usage{gDataInputStreamNew(base.stream = NULL)} \arguments{\item{\verb{base.stream}}{a \code{\link{GInputStream}}.}} \value{[\code{\link{GDataInputStream}}] a new \code{\link{GDataInputStream}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoScriptIterNext.Rd0000644000176000001440000000104212362217677016263 0ustar ripleyusers\alias{pangoScriptIterNext} \name{pangoScriptIterNext} \title{pangoScriptIterNext} \description{Advances a \code{\link{PangoScriptIter}} to the next range. If \code{iter} is already at the end, it is left unchanged and \code{FALSE} is returned.} \usage{pangoScriptIterNext(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoScriptIter}}] a \code{\link{PangoScriptIter}}}} \details{ Since 1.4} \value{[logical] \code{TRUE} if \code{iter} was successfully advanced.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserWidgetNewForManager.Rd0000644000176000001440000000125612362217677021347 0ustar ripleyusers\alias{gtkRecentChooserWidgetNewForManager} \name{gtkRecentChooserWidgetNewForManager} \title{gtkRecentChooserWidgetNewForManager} \description{Creates a new \code{\link{GtkRecentChooserWidget}} with a specified recent manager.} \usage{gtkRecentChooserWidgetNewForManager(manager = NULL, show = TRUE)} \arguments{\item{\verb{manager}}{a \code{\link{GtkRecentManager}}}} \details{This is useful if you have implemented your own recent manager, or if you have a customized instance of a \code{\link{GtkRecentManager}} object. Since 2.10} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRecentChooserWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFillPreserve.Rd0000644000176000001440000000111312362217677015726 0ustar ripleyusers\alias{cairoFillPreserve} \name{cairoFillPreserve} \title{cairoFillPreserve} \description{A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). Unlike \code{\link{cairoFill}}, \code{\link{cairoFillPreserve}} preserves the path within the cairo context.} \usage{cairoFillPreserve(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{See \code{\link{cairoSetFillRule}} and \code{\link{cairoFill}}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-user-font.Rd0000644000176000001440000002556112362217677015340 0ustar ripleyusers\alias{cairo-user-font} \alias{cairo_user_scaled_font_init_func_t} \alias{cairo_user_scaled_font_render_glyph_func_t} \alias{cairo_user_scaled_font_text_to_glyphs_func_t} \alias{cairo_user_scaled_font_unicode_to_glyph_func_t} \name{cairo-user-font} \title{User Fonts} \description{Font support with font data provided by the user} \section{Methods and Functions}{ \code{\link{cairoUserFontFaceCreate}()}\cr \code{\link{cairoUserFontFaceSetInitFunc}(font.face, init.func)}\cr \code{\link{cairoUserFontFaceGetInitFunc}(font.face)}\cr \code{\link{cairoUserFontFaceSetRenderGlyphFunc}(font.face, render.glyph.func)}\cr \code{\link{cairoUserFontFaceGetRenderGlyphFunc}(font.face)}\cr \code{\link{cairoUserFontFaceSetUnicodeToGlyphFunc}(font.face, unicode.to.glyph.func)}\cr \code{\link{cairoUserFontFaceGetUnicodeToGlyphFunc}(font.face)}\cr \code{\link{cairoUserFontFaceSetTextToGlyphsFunc}(font.face, text.to.glyphs.func)}\cr \code{\link{cairoUserFontFaceGetTextToGlyphsFunc}(font.face)}\cr } \section{Detailed Description}{The user-font feature allows the cairo user to provide drawings for glyphs in a font. This is most useful in implementing fonts in non-standard formats, like SVG fonts and Flash fonts, but can also be used by games and other application to draw "funky" fonts.} \section{User Functions}{\describe{ \item{\code{cairo_user_scaled_font_init_func_t(scaled.font, cr, extents)}}{ \verb{cairo_user_scaled_font_init_func_t} is the type of function which is called when a scaled-font needs to be created for a user font-face. The cairo context \code{cr} is not used by the caller, but is prepared in font space, similar to what the cairo contexts passed to the render_glyph method will look like. The callback can use this context for extents computation for example. After the callback is called, \code{cr} is checked for any error status. The \code{extents} argument is where the user font sets the font extents for \code{scaled.font}. It is in font space, which means that for most cases its ascent and descent members should add to 1.0. \code{extents} is preset to hold a value of 1.0 for ascent, height, and max_x_advance, and 0.0 for descent and max_y_advance members. The callback is optional. If not set, default font extents as described in the previous paragraph will be used. Note that \code{scaled.font} is not fully initialized at this point and trying to use it for text operations in the callback will result in deadlock. Since 1.8 \describe{ \item{\code{scaled.font}}{[\code{\link{CairoScaledFont}}] the scaled-font being created} \item{\code{cr}}{[\code{\link{Cairo}}] a cairo context, in font space} \item{\code{extents}}{[\code{\link{CairoFontExtents}}] font extents to fill in, in font space} } \emph{Returns:} [\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} upon success, or \code{CAIRO_STATUS_USER_FONT_ERROR} or any other error status on error. } \item{\code{cairo_user_scaled_font_render_glyph_func_t(scaled.font, glyph, cr, extents)}}{ \verb{cairo_user_scaled_font_render_glyph_func_t} is the type of function which is called when a user scaled-font needs to render a glyph. The callback is mandatory, and expected to draw the glyph with code \code{glyph} to the cairo context \code{cr}. \code{cr} is prepared such that the glyph drawing is done in font space. That is, the matrix set on \code{cr} is the scale matrix of \code{scaled.font}, The \code{extents} argument is where the user font sets the font extents for \code{scaled.font}. However, if user prefers to draw in user space, they can achieve that by changing the matrix on \code{cr}. All cairo rendering operations to \code{cr} are permitted, however, the result is undefined if any source other than the default source on \code{cr} is used. That means, glyph bitmaps should be rendered using \code{\link{cairoMask}} instead of \code{\link{cairoPaint}}. Other non-default settings on \code{cr} include a font size of 1.0 (given that it is set up to be in font space), and font options corresponding to \code{scaled.font}. The \code{extents} argument is preset to have \code{x_bearing}, \code{width}, and \code{y_advance} of zero, \code{y_bearing} set to \code{-font_extents.ascent}, \code{height} to \code{font_extents.ascent+font_extents.descent}, and \code{x_advance} to \code{font_extents.max_x_advance}. The only field user needs to set in majority of cases is \code{x_advance}. If the \code{width} field is zero upon the callback returning (which is its preset value), the glyph extents are automatically computed based on the drawings done to \code{cr}. This is in most cases exactly what the desired behavior is. However, if for any reason the callback sets the extents, it must be ink extents, and include the extents of all drawing done to \code{cr} in the callback. Since 1.8 \describe{ \item{\code{scaled.font}}{[\code{\link{CairoScaledFont}}] user scaled-font} \item{\code{glyph}}{[unsignedlong] glyph code to render} \item{\code{cr}}{[\code{\link{Cairo}}] cairo context to draw to, in font space} \item{\code{extents}}{[\code{\link{CairoTextExtents}}] glyph extents to fill in, in font space} } \emph{Returns:} [\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} upon success, or \code{CAIRO_STATUS_USER_FONT_ERROR} or any other error status on error. } \item{\code{cairo_user_scaled_font_text_to_glyphs_func_t(scaled.font, utf8, utf8.len, glyphs, num.glyphs, clusters, num.clusters, cluster.flags)}}{ \verb{cairo_user_scaled_font_text_to_glyphs_func_t} is the type of function which is called to convert input text to a list of glyphs. This is used by the \code{\link{cairoShowText}} operation. Using this callback the user-font has full control on glyphs and their positions. That means, it allows for features like ligatures and kerning, as well as complex \dfn{shaping} required for scripts like Arabic and Indic. The \code{num.glyphs} argument is preset to the number of glyph entries available in the \code{glyphs} buffer. If the \code{glyphs} buffer is \code{NULL}, the value of \code{num.glyphs} will be zero. If the provided glyph list is too short for the conversion (or for convenience), a new glyph list may be allocated using \code{cairoGlyphAllocate()} and placed in \code{glyphs}. Upon return, \code{num.glyphs} should contain the number of generated glyphs. If the value \code{glyphs} points at has changed after the call, the caller will free the allocated glyph list using \code{cairoGlyphFree()}. The callback should populate the glyph indices and positions (in font space) assuming that the text is to be shown at the origin. If \code{clusters} is not \code{NULL}, \code{num.clusters} and \code{cluster.flags} are also non-\code{NULL}, and cluster mapping should be computed. The semantics of how cluster list allocation works is similar to the glyph list. That is, if \code{clusters} initially points to a non-\code{NULL} value, that list may be used as a cluster buffer, and \code{num.clusters} points to the number of cluster entries available there. If the provided cluster list is too short for the conversion (or for convenience), a new cluster list may be allocated using \code{cairoTextClusterAllocate()} and placed in \code{clusters}. Upon return, \code{num.clusters} should contain the number of generated clusters. If the value \code{clusters} points at has changed after the call, the caller will free the allocated cluster list using \code{cairoTextClusterFree()}. The callback is optional. If \code{num.glyphs} is negative upon the callback returning, the unicode_to_glyph callback is tried. See \verb{cairo_user_scaled_font_unicode_to_glyph_func_t}. Note: While cairo does not impose any limitation on glyph indices, some applications may assume that a glyph index fits in a 16-bit unsigned integer. As such, it is advised that user-fonts keep their glyphs in the 0 to 65535 range. Furthermore, some applications may assume that glyph 0 is a special glyph-not-found glyph. User-fonts are advised to use glyph 0 for such purposes and do not use that glyph value for other purposes. Since 1.8 \describe{ \item{\code{scaled.font}}{[\code{\link{CairoScaledFont}}] the scaled-font being created} \item{\code{utf8}}{[char] a string of text encoded in UTF-8} \item{\code{utf8.len}}{[integer] length of \code{utf8} in bytes} \item{\code{glyphs}}{[\code{\link{CairoGlyph}}] pointer to list of glyphs to fill, in font space} \item{\code{num.glyphs}}{[integer] pointer to number of glyphs} \item{\code{clusters}}{[\code{\link{CairoTextCluster}}] pointer to list of cluster mapping information to fill, or \code{NULL}} \item{\code{num.clusters}}{[integer] pointer to number of clusters} \item{\code{cluster.flags}}{[\code{\link{CairoTextClusterFlags}}] pointer to location to store cluster flags corresponding to the output \code{clusters}} } \emph{Returns:} [\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} upon success, or \code{CAIRO_STATUS_USER_FONT_ERROR} or any other error status on error. } \item{\code{cairo_user_scaled_font_unicode_to_glyph_func_t(scaled.font, unicode, glyph.index)}}{ \verb{cairo_user_scaled_font_unicode_to_glyph_func_t} is the type of function which is called to convert an input Unicode character to a single glyph. This is used by the \code{\link{cairoShowText}} operation. This callback is used to provide the same functionality as the text_to_glyphs callback does (see \verb{cairo_user_scaled_font_text_to_glyphs_func_t}) but has much less control on the output, in exchange for increased ease of use. The inherent assumption to using this callback is that each character maps to one glyph, and that the mapping is context independent. It also assumes that glyphs are positioned according to their advance width. These mean no ligatures, kerning, or complex scripts can be implemented using this callback. The callback is optional, and only used if text_to_glyphs callback is not set or fails to return glyphs. If this callback is not set, an identity mapping from Unicode code-points to glyph indices is assumed. Note: While cairo does not impose any limitation on glyph indices, some applications may assume that a glyph index fits in a 16-bit unsigned integer. As such, it is advised that user-fonts keep their glyphs in the 0 to 65535 range. Furthermore, some applications may assume that glyph 0 is a special glyph-not-found glyph. User-fonts are advised to use glyph 0 for such purposes and do not use that glyph value for other purposes. Since 1.8 \describe{ \item{\code{scaled.font}}{[\code{\link{CairoScaledFont}}] the scaled-font being created} \item{\code{unicode}}{[unsignedlong] input unicode character code-point} \item{\code{glyph.index}}{[long] output glyph index} } \emph{Returns:} [\code{\link{CairoStatus}}] \code{CAIRO_STATUS_SUCCESS} upon success, or \code{CAIRO_STATUS_USER_FONT_ERROR} or any other error status on error. } }} \references{\url{http://www.cairographics.org/manual/cairo-user-font.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconStorageType.Rd0000644000176000001440000000111312362217677017555 0ustar ripleyusers\alias{gtkEntryGetIconStorageType} \name{gtkEntryGetIconStorageType} \title{gtkEntryGetIconStorageType} \description{Gets the type of representation being used by the icon to store image data. If the icon has no image data, the return value will be \code{GTK_IMAGE_EMPTY}.} \usage{gtkEntryGetIconStorageType(object, icon.pos)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[\code{\link{GtkImageType}}] image representation being used} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetAcceptsTab.Rd0000644000176000001440000000132612362217677017207 0ustar ripleyusers\alias{gtkTextViewSetAcceptsTab} \name{gtkTextViewSetAcceptsTab} \title{gtkTextViewSetAcceptsTab} \description{Sets the behavior of the text widget when the Tab key is pressed. If \code{accepts.tab} is \code{TRUE}, a tab character is inserted. If \code{accepts.tab} is \code{FALSE} the keyboard focus is moved to the next widget in the focus chain.} \usage{gtkTextViewSetAcceptsTab(object, accepts.tab)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTextView}}} \item{\verb{accepts.tab}}{\code{TRUE} if pressing the Tab key should insert a tab character, \code{FALSE}, if pressing the Tab key should move the keyboard focus.} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Visuals.Rd0000644000176000001440000001520212362217677014503 0ustar ripleyusers\alias{gdk-Visuals} \alias{GdkVisual} \alias{GdkVisualType} \alias{GdkByteOrder} \name{gdk-Visuals} \title{Visuals} \description{Low-level display hardware information} \section{Methods and Functions}{ \code{\link{gdkQueryDepths}()}\cr \code{\link{gdkQueryVisualTypes}()}\cr \code{\link{gdkListVisuals}()}\cr \code{\link{gdkVisualGetBestDepth}()}\cr \code{\link{gdkVisualGetBestType}()}\cr \code{\link{gdkVisualGetSystem}()}\cr \code{\link{gdkVisualGetBest}()}\cr \code{\link{gdkVisualGetBestWithDepth}(depth)}\cr \code{\link{gdkVisualGetBestWithType}(visual.type)}\cr \code{\link{gdkVisualGetBestWithBoth}(depth, visual.type)}\cr \code{\link{gdkVisualGetScreen}(object)}\cr } \section{Detailed Description}{A \code{\link{GdkVisual}} describes a particular video hardware display format. It includes information about the number of bits used for each color, the way the bits are translated into an RGB value for display, and the way the bits are stored in memory. For example, a piece of display hardware might support 24-bit color, 16-bit color, or 8-bit color; meaning 24/16/8-bit pixel sizes. For a given pixel size, pixels can be in different formats; for example the "red" element of an RGB pixel may be in the top 8 bits of the pixel, or may be in the lower 4 bits. Usually you can avoid thinking about visuals in GTK+. Visuals are useful to interpret the contents of a \code{\link{GdkImage}}, but you should avoid \code{\link{GdkImage}} precisely because its contents depend on the display hardware; use \code{\link{GdkPixbuf}} instead, for all but the most low-level purposes. Also, anytime you provide a \code{\link{GdkColormap}}, the visual is implied as part of the colormap (\code{\link{gdkColormapGetVisual}}), so you won't have to provide a visual in addition. There are several standard visuals. The visual returned by \code{\link{gdkVisualGetSystem}} is the system's default visual. \code{\link{gdkRgbGetVisual}} return the visual most suited to displaying full-color image data. If you use the calls in \verb{GdkRGB}, you should create your windows using this visual (and the colormap returned by \code{\link{gdkRgbGetColormap}}). A number of functions are provided for determining the "best" available visual. For the purposes of making this determination, higher bit depths are considered better, and for visuals of the same bit depth, \code{GDK_VISUAL_PSEUDO_COLOR} is preferred at 8bpp, otherwise, the visual types are ranked in the order of (highest to lowest) \code{GDK_VISUAL_DIRECT_COLOR}, \code{GDK_VISUAL_TRUE_COLOR}, \code{GDK_VISUAL_PSEUDO_COLOR}, \code{GDK_VISUAL_STATIC_COLOR}, \code{GDK_VISUAL_GRAYSCALE}, then \code{GDK_VISUAL_STATIC_GRAY}.} \section{Structures}{\describe{\item{\verb{GdkVisual}}{ The \verb{GdkVisual} structure contains information about a particular visual. \describe{ \item{\verb{type}}{[\code{\link{GdkVisualType}}] inherited portion from \code{\link{GObject}}} \item{\verb{depth}}{[integer] The type of this visual.} \item{\verb{byteOrder}}{[\code{\link{GdkByteOrder}}] The number of bits per pixel.} \item{\verb{colormapSize}}{[integer] The byte-order for this visual.} \item{\verb{bitsPerRgb}}{[integer] The number of entries in the colormap, for visuals of type \code{GDK_VISUAL_PSEUDO_COLOR} or \code{GDK_VISUAL_GRAY_SCALE}. For other visual types, it is the number of possible levels per color component. If the visual has different numbers of levels for different components, the value of this field is undefined.} \item{\verb{redMask}}{[numeric] The number of significant bits per red, green, or blue when specifying colors for this visual. (For instance, for \code{\link{gdkColormapAllocColor}})} \item{\verb{redShift}}{[integer] A mask giving the bits in a pixel value that correspond to the red field. Significant only for \code{GDK_VISUAL_PSEUDOCOLOR} and \code{GDK_VISUAL_DIRECTCOLOR}.} \item{\verb{redPrec}}{[integer] The \code{red_shift} and \code{red_prec} give an alternate presentation of the information in \code{red_mask}. \code{red_mask} is a contiguous sequence of \code{red_prec} bits starting at bit number \code{red_shift}. For example, shows constructing a pixel value out of three 16 bit color values.} \item{\verb{greenMask}}{[numeric] See above.} \item{\verb{greenShift}}{[integer] A mask giving the bits in a pixel value that correspond to the green field.} \item{\verb{greenPrec}}{[integer] The \code{green_shift} and \code{green_prec} give an alternate presentation of the information in \code{green_mask}.} \item{\verb{blueMask}}{[numeric] See above.} \item{\verb{blueShift}}{[integer] A mask giving the bits in a pixel value that correspond to the blue field.} \item{\verb{bluePrec}}{[integer] The \code{blue_shift} and \code{blue_prec} give an alternate presentation of the information in \code{blue_mask}.} } }}} \section{Enums and Flags}{\describe{ \item{\verb{GdkVisualType}}{ A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display. \describe{ \item{\verb{static-gray}}{Each pixel value indexes a grayscale value directly.} \item{\verb{grayscale}}{Each pixel is an index into a color map that maps pixel values into grayscale values. The color map can be changed by an application.} \item{\verb{static-color}}{Each pixel value is an index into a predefined, unmodifiable color map that maps pixel values into RGB values.} \item{\verb{pseudo-color}}{Each pixel is an index into a color map that maps pixel values into rgb values. The color map can be changed by an application.} \item{\verb{true-color}}{Each pixel value directly contains red, green, and blue components. The \code{red_mask}, \code{green_mask}, and \code{blue_mask} fields of the \code{\link{GdkVisual}} structure describe how the components are assembled into a pixel value.} \item{\verb{direct-color}}{Each pixel value contains red, green, and blue components as for \code{GDK_VISUAL_TRUE_COLOR}, but the components are mapped via a color table into the final output table instead of being converted directly.} } } \item{\verb{GdkByteOrder}}{ A set of values describing the possible byte-orders for storing pixel values in memory. \describe{ \item{\verb{lsb-first}}{The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00.} \item{\verb{msb-first}}{The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xcc, 0xee, 0xff.} } } }} \references{\url{http://library.gnome.org/devel//gdk/gdk-Visuals.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GdkImage}} \code{\link{GdkColormap}} } \keyword{internal} RGtk2/man/gtkFileChooserButtonNew.Rd0000644000176000001440000000073612362217677017076 0ustar ripleyusers\alias{gtkFileChooserButtonNew} \name{gtkFileChooserButtonNew} \title{gtkFileChooserButtonNew} \description{Creates a new file-selecting button widget.} \usage{gtkFileChooserButtonNew(title, action, show = TRUE)} \arguments{ \item{\verb{title}}{the title of the browse dialog.} \item{\verb{action}}{the open mode for the widget.} } \details{Since 2.6} \value{[\code{\link{GtkWidget}}] a new button widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSave.Rd0000644000176000001440000000133212362217677014225 0ustar ripleyusers\alias{cairoSave} \name{cairoSave} \title{cairoSave} \description{Makes a copy of the current state of \code{cr} and saves it on an internal stack of saved states for \code{cr}. When \code{\link{cairoRestore}} is called, \code{cr} will be restored to the saved state. Multiple calls to \code{\link{cairoSave}} and \code{\link{cairoRestore}} can be nested; each call to \code{\link{cairoRestore}} restores the state from the matching paired \code{\link{cairoSave}}.} \usage{cairoSave(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \details{It isn't necessary to clear all saved states before a \code{\link{Cairo}} is freed. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedInputStreamFillFinish.Rd0000644000176000001440000000125512362217677020352 0ustar ripleyusers\alias{gBufferedInputStreamFillFinish} \name{gBufferedInputStreamFillFinish} \title{gBufferedInputStreamFillFinish} \description{Finishes an asynchronous read.} \usage{gBufferedInputStreamFillFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GBufferedInputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] a \verb{integer} of the read stream, or \code{-1} on an error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gEmblemNew.Rd0000644000176000001440000000064612362217677014342 0ustar ripleyusers\alias{gEmblemNew} \name{gEmblemNew} \title{gEmblemNew} \description{Creates a new emblem for \code{icon}.} \usage{gEmblemNew(icon = NULL, origin = NULL)} \arguments{ \item{\verb{icon}}{a GIcon containing the icon.} \item{\verb{origin}}{a new \code{\link{GEmblem}}.} } \details{Since 2.18} \value{[\code{\link{GEmblem}}] a new \code{\link{GEmblem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetTearoffState.Rd0000644000176000001440000000111612362217677016707 0ustar ripleyusers\alias{gtkMenuSetTearoffState} \name{gtkMenuSetTearoffState} \title{gtkMenuSetTearoffState} \description{Changes the tearoff state of the menu. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached.} \usage{gtkMenuSetTearoffState(object, torn.off)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{torn.off}}{If \code{TRUE}, menu is displayed as a tearoff menu.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectSetDescription.Rd0000644000176000001440000000073112362217677017101 0ustar ripleyusers\alias{atkObjectSetDescription} \name{atkObjectSetDescription} \title{atkObjectSetDescription} \description{Sets the accessible description of the accessible.} \usage{atkObjectSetDescription(object, description)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{description}}{[character] a character string to be set as the accessible description} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSetOption.Rd0000644000176000001440000000113012362217677016075 0ustar ripleyusers\alias{gdkPixbufSetOption} \name{gdkPixbufSetOption} \title{gdkPixbufSetOption} \description{Attaches a key/value pair as an option to a \code{\link{GdkPixbuf}}. If \code{key} already exists in the list of options attached to \code{pixbuf}, the new value is ignored and \code{FALSE} is returned.} \usage{gdkPixbufSetOption(object, key, value)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{key}}{a string.} \item{\verb{value}}{a string.} } \details{Since 2.2} \value{[logical] \code{TRUE} on success.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMMulticontextGetContextId.Rd0000644000176000001440000000070212362217677020226 0ustar ripleyusers\alias{gtkIMMulticontextGetContextId} \name{gtkIMMulticontextGetContextId} \title{gtkIMMulticontextGetContextId} \description{Gets the id of the currently active slave of the \code{context}.} \usage{gtkIMMulticontextGetContextId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMMulticontext}}}} \details{Since 2.16} \value{[char] the id of the currently active slave} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBestWithDepth.Rd0000644000176000001440000000121712362217677017343 0ustar ripleyusers\alias{gdkVisualGetBestWithDepth} \name{gdkVisualGetBestWithDepth} \title{gdkVisualGetBestWithDepth} \description{Get the best visual with depth \code{depth} for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed. \code{NULL} may be returned if no visual supports \code{depth}.} \usage{gdkVisualGetBestWithDepth(depth)} \arguments{\item{\verb{depth}}{a bit depth}} \value{[\code{\link{GdkVisual}}] best visual for the given depth. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryPopup.Rd0000644000176000001440000000270112362217677016272 0ustar ripleyusers\alias{gtkItemFactoryPopup} \name{gtkItemFactoryPopup} \title{gtkItemFactoryPopup} \description{ Pops up the menu constructed from the item factory at (\code{x}, \code{y}). \strong{WARNING: \code{gtk_item_factory_popup} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryPopup(object, x, y, mouse.button, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}} of type \verb{GTK_TYPE_MENU} (see \code{\link{gtkItemFactoryNew}})} \item{\verb{x}}{the x position} \item{\verb{y}}{the y position} \item{\verb{mouse.button}}{the mouse button which was pressed to initiate the popup} \item{\verb{time}}{the time at which the activation event occurred} } \details{The \code{mouse.button} parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, \code{mouse.button} should be 0. The \code{time.} parameter should be the time stamp of the event that initiated the popup. If such an event is not available, use \code{\link{gtkGetCurrentEventTime}} instead. The operation of the \code{mouse.button} and the \code{time.} parameter is the same as the \code{button} and \code{activation.time} parameters for \code{\link{gtkMenuPopup}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIdleAdd.Rd0000644000176000001440000000121212362217677014302 0ustar ripleyusers\alias{gtkIdleAdd} \name{gtkIdleAdd} \title{gtkIdleAdd} \description{ Causes the mainloop to call the given function whenever no events with higher priority are to be processed. The default priority is \code{GTK_PRIORITY_DEFAULT}, which is rather low. \strong{WARNING: \code{gtk_idle_add} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gIdleAdd}} instead.} } \usage{gtkIdleAdd(fun, data = NULL)} \arguments{\item{\verb{data}}{The information to pass to the function.}} \value{[numeric] a unique handle for this registration.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryFilesystemInfoFinish.Rd0000644000176000001440000000136712362217677020417 0ustar ripleyusers\alias{gFileQueryFilesystemInfoFinish} \name{gFileQueryFilesystemInfoFinish} \title{gFileQueryFilesystemInfoFinish} \description{Finishes an asynchronous filesystem info query. See \code{\link{gFileQueryFilesystemInfoAsync}}.} \usage{gFileQueryFilesystemInfoFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] \code{\link{GFileInfo}} for given \code{file} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewNew.Rd0000644000176000001440000000050112362217677015220 0ustar ripleyusers\alias{gtkTreeViewNew} \name{gtkTreeViewNew} \title{gtkTreeViewNew} \description{Creates a new \code{\link{GtkTreeView}} widget.} \usage{gtkTreeViewNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkTreeView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventBoxNew.Rd0000644000176000001440000000045112362217677015224 0ustar ripleyusers\alias{gtkEventBoxNew} \name{gtkEventBoxNew} \title{gtkEventBoxNew} \description{Creates a new \code{\link{GtkEventBox}}.} \usage{gtkEventBoxNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkEventBox}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketAddressNewFromNative.Rd0000644000176000001440000000124212362217677017663 0ustar ripleyusers\alias{gSocketAddressNewFromNative} \name{gSocketAddressNewFromNative} \title{gSocketAddressNewFromNative} \description{Creates a \code{\link{GSocketAddress}} subclass corresponding to the native \verb{structsockaddr} \code{native}.} \usage{gSocketAddressNewFromNative(native, len)} \arguments{ \item{\verb{native}}{a pointer to a \verb{structsockaddr}} \item{\verb{len}}{the size of the memory location pointed to by \code{native}} } \details{Since 2.22} \value{[\code{\link{GSocketAddress}}] a new \code{\link{GSocketAddress}} if \code{native} could successfully be converted, otherwise \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetHeight.Rd0000644000176000001440000000065212362217677017255 0ustar ripleyusers\alias{gtkPrintContextGetHeight} \name{gtkPrintContextGetHeight} \title{gtkPrintContextGetHeight} \description{Obtains the height of the \code{\link{GtkPrintContext}}, in pixels.} \usage{gtkPrintContextGetHeight(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[numeric] the height of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantAddActionWidget.Rd0000644000176000001440000000067212362217677017711 0ustar ripleyusers\alias{gtkAssistantAddActionWidget} \name{gtkAssistantAddActionWidget} \title{gtkAssistantAddActionWidget} \description{Adds a widget to the action area of a \code{\link{GtkAssistant}}.} \usage{gtkAssistantAddActionWidget(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{child}}{a \code{\link{GtkWidget}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileAttribute.Rd0000644000176000001440000000156411766145227015170 0ustar ripleyusers\name{GFileAttribute} \alias{GFileAttributeAccess} \alias{GFileAttributeDos} \alias{GFileAttributeEtag} \alias{GFileAttributeFilesystem} \alias{GFileAttributeGvfs} \alias{GFileAttributeId} \alias{GFileAttributeMountable} \alias{GFileAttributeOwner} \alias{GFileAttributePreview} \alias{GFileAttributeStandard} \alias{GFileAttributeThumbnail} \alias{GFileAttributeTime} \alias{GFileAttributeTrash} \alias{GFileAttributeUnix} \title{File attribute keys} \description{ File attributes in GIO consist of a list of key-value pairs, organized by namespace. Each of the \code{GFileAttribute*} objects is a character vector of keys belonging to the same namespace. For example, \code{GFileAttributeStandard["name"]} returns the key for the file name in the standard namespace. See \link{gio-GFileAttribute} for more information. } \author{Michael Lawrence} \keyword{internal} RGtk2/man/gtkCListClear.Rd0000644000176000001440000000060112362217677015002 0ustar ripleyusers\alias{gtkCListClear} \name{gtkCListClear} \title{gtkCListClear} \description{ Removes all the CList's rows. \strong{WARNING: \code{gtk_clist_clear} is deprecated and should not be used in newly-written code.} } \usage{gtkCListClear(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextAttributeGetValue.Rd0000644000176000001440000000121212362217677017253 0ustar ripleyusers\alias{atkTextAttributeGetValue} \name{atkTextAttributeGetValue} \title{atkTextAttributeGetValue} \description{Gets the value for the index of the \code{\link{AtkTextAttribute}}} \usage{atkTextAttributeGetValue(attr, index)} \arguments{ \item{\verb{attr}}{[\code{\link{AtkTextAttribute}}] The \code{\link{AtkTextAttribute}} for which a value is required} \item{\verb{index}}{[integer] The index of the required value} } \value{[character] a string containing the value; this string should not be freed; NULL is returned if there are no values maintained for the attr value. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetHeadersVisible.Rd0000644000176000001440000000066112362217677020027 0ustar ripleyusers\alias{gtkTreeViewGetHeadersVisible} \name{gtkTreeViewGetHeadersVisible} \title{gtkTreeViewGetHeadersVisible} \description{Returns \code{TRUE} if the headers on the \code{tree.view} are visible.} \usage{gtkTreeViewGetHeadersVisible(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \value{[logical] Whether the headers are visible or not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFace.Rd0000644000176000001440000000104212362217677017010 0ustar ripleyusers\alias{gtkFontSelectionGetFace} \name{gtkFontSelectionGetFace} \title{gtkFontSelectionGetFace} \description{Gets the \code{\link{PangoFontFace}} representing the selected font group details (i.e. family, slant, weight, width, etc).} \usage{gtkFontSelectionGetFace(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{PangoFontFace}}] A \code{\link{PangoFontFace}} representing the selected font group details.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetPixelsBelowLines.Rd0000644000176000001440000000067412362217677020417 0ustar ripleyusers\alias{gtkTextViewGetPixelsBelowLines} \name{gtkTextViewGetPixelsBelowLines} \title{gtkTextViewGetPixelsBelowLines} \description{Gets the value set by \code{\link{gtkTextViewSetPixelsBelowLines}}.} \usage{gtkTextViewGetPixelsBelowLines(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] default number of blank pixels below paragraphs} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsLoadKeyFile.Rd0000644000176000001440000000202012362217677017700 0ustar ripleyusers\alias{gtkPrintSettingsLoadKeyFile} \name{gtkPrintSettingsLoadKeyFile} \title{gtkPrintSettingsLoadKeyFile} \description{Reads the print settings from the group \code{group.name} in \code{key.file}. If the file could not be loaded then error is set to either a \code{\link{GFileError}} or \verb{GKeyFileError}.} \usage{gtkPrintSettingsLoadKeyFile(object, key.file, group.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key.file}}{the \verb{GKeyFile} to retrieve the settings from} \item{\verb{group.name}}{the name of the group to use, or \code{NULL} to use the default "Print Settings". \emph{[ \acronym{allow-none} ]}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterInputStreamGetCloseBaseStream.Rd0000644000176000001440000000074412362217677021504 0ustar ripleyusers\alias{gFilterInputStreamGetCloseBaseStream} \name{gFilterInputStreamGetCloseBaseStream} \title{gFilterInputStreamGetCloseBaseStream} \description{Returns whether the base stream will be closed when \code{stream} is closed.} \usage{gFilterInputStreamGetCloseBaseStream(object)} \arguments{\item{\verb{object}}{a \code{\link{GFilterInputStream}}.}} \value{[logical] \code{TRUE} if the base stream will be closed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/invalid.Rd0000644000176000001440000000035611766145227013742 0ustar ripleyusers\name{invalid} \alias{$.} \title{The invalid reference} \description{This method reports an error when called, so that you don't accidentally use a reference that has become invalid.} \author{Michael Lawrence} \keyword{internal} RGtk2/man/pangoTabArrayGetTabs.Rd0000644000176000001440000000134512362217677016321 0ustar ripleyusers\alias{pangoTabArrayGetTabs} \name{pangoTabArrayGetTabs} \title{pangoTabArrayGetTabs} \description{If non-\code{NULL}, \code{alignments} and \code{locations} are filled with allocated arrays of length \code{\link{pangoTabArrayGetSize}}. You must free the returned list.} \usage{pangoTabArrayGetTabs(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}}} \value{ A list containing the following elements: \item{\verb{alignments}}{[\code{\link{PangoTabAlign}}] location to store a list of tab stop alignments, or \code{NULL}} \item{\verb{locations}}{[integer] location to store a list of tab positions, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnsAutosize.Rd0000644000176000001440000000060412362217677017637 0ustar ripleyusers\alias{gtkTreeViewColumnsAutosize} \name{gtkTreeViewColumnsAutosize} \title{gtkTreeViewColumnsAutosize} \description{Resizes all columns to their optimal width. Only works after the treeview has been realized.} \usage{gtkTreeViewColumnsAutosize(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardGetOwner.Rd0000644000176000001440000000116612362217677016376 0ustar ripleyusers\alias{gtkClipboardGetOwner} \name{gtkClipboardGetOwner} \title{gtkClipboardGetOwner} \description{If the clipboard contents callbacks were set with \code{\link{gtkClipboardSetWithOwner}}, and the \code{\link{gtkClipboardSetWithData}} or \code{\link{gtkClipboardClear}} has not subsequently called, returns the owner set by \code{\link{gtkClipboardSetWithOwner}}.} \usage{gtkClipboardGetOwner(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \value{[\code{\link{GObject}}] the owner of the clipboard, if any; otherwise \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetAutoStartupNotification.Rd0000644000176000001440000000161312362217677021527 0ustar ripleyusers\alias{gtkWindowSetAutoStartupNotification} \name{gtkWindowSetAutoStartupNotification} \title{gtkWindowSetAutoStartupNotification} \description{By default, after showing the first \code{\link{GtkWindow}}, GTK+ calls \code{\link{gdkNotifyStartupComplete}}. Call this function to disable the automatic startup notification. You might do this if your first window is a splash screen, and you want to delay notification until after your real main window has been shown, for example.} \usage{gtkWindowSetAutoStartupNotification(setting)} \arguments{\item{\verb{setting}}{\code{TRUE} to automatically do startup notification}} \details{In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main window would automatically result in notification. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardVisibleCursorPositions.Rd0000644000176000001440000000116612362217677022657 0ustar ripleyusers\alias{gtkTextIterBackwardVisibleCursorPositions} \name{gtkTextIterBackwardVisibleCursorPositions} \title{gtkTextIterBackwardVisibleCursorPositions} \description{Moves up to \code{count} visible cursor positions. See \code{\link{gtkTextIterBackwardCursorPosition}} for details.} \usage{gtkTextIterBackwardVisibleCursorPositions(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of positions to move} } \details{Since 2.4} \value{[logical] \code{TRUE} if we moved and the new position is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeIterCopy.Rd0000644000176000001440000000103712362217677015377 0ustar ripleyusers\alias{gtkTreeIterCopy} \name{gtkTreeIterCopy} \title{gtkTreeIterCopy} \description{Creates a dynamically allocated tree iterator as a copy of \code{iter}. This function is not intended for use in applications, because you can just copy the structs by value (\code{GtkTreeIter new_iter = iter;}).} \usage{gtkTreeIterCopy(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeIter}}.}} \value{[\code{\link{GtkTreeIter}}] a newly-allocated copy of \code{iter}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetScreen.Rd0000644000176000001440000000101012362217677016720 0ustar ripleyusers\alias{gtkStatusIconSetScreen} \name{gtkStatusIconSetScreen} \title{gtkStatusIconSetScreen} \description{Sets the \code{\link{GdkScreen}} where \code{status.icon} is displayed; if the icon is already mapped, it will be unmapped, and then remapped on the new screen.} \usage{gtkStatusIconSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixInit.Rd0000644000176000001440000000043111766145227015423 0ustar ripleyusers\alias{pangoMatrixInit} \name{pangoMatrixInit} \title{pangoMatrixInit} \description{Create a new \code{\link{PangoMatrix}}.} \usage{ pangoMatrixInit() } \value{ A \code{\link{PangoMatrix}} initialized to identity. } \author{Michael Lawrence} \keyword{internal} \keyword{interface} RGtk2/man/gtkTextBufferGetBounds.Rd0000644000176000001440000000113012362217677016704 0ustar ripleyusers\alias{gtkTextBufferGetBounds} \name{gtkTextBufferGetBounds} \title{gtkTextBufferGetBounds} \description{Retrieves the first and last iterators in the buffer, i.e. the entire buffer lies within the range [\code{start},\code{end}).} \usage{gtkTextBufferGetBounds(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{ A list containing the following elements: \item{\verb{start}}{iterator to initialize with first position in the buffer} \item{\verb{end}}{iterator to initialize with the end iterator} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetTextAlignment.Rd0000644000176000001440000000105212362217677020067 0ustar ripleyusers\alias{gtkToolShellGetTextAlignment} \name{gtkToolShellGetTextAlignment} \title{gtkToolShellGetTextAlignment} \description{Retrieves the current text alignment for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetTextAlignment}} instead.} \usage{gtkToolShellGetTextAlignment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[numeric] the current text alignment of \code{shell}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeCanMount.Rd0000644000176000001440000000056512362217677015403 0ustar ripleyusers\alias{gVolumeCanMount} \name{gVolumeCanMount} \title{gVolumeCanMount} \description{Checks if a volume can be mounted.} \usage{gVolumeCanMount(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}.}} \value{[logical] \code{TRUE} if the \code{volume} can be mounted. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferPlaceCursor.Rd0000644000176000001440000000136212362217677017243 0ustar ripleyusers\alias{gtkTextBufferPlaceCursor} \name{gtkTextBufferPlaceCursor} \title{gtkTextBufferPlaceCursor} \description{This function moves the "insert" and "selection_bound" marks simultaneously. If you move them to the same place in two steps with \code{\link{gtkTextBufferMoveMark}}, you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized.} \usage{gtkTextBufferPlaceCursor(object, where)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{where}}{where to put the cursor} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetAdjustment.Rd0000644000176000001440000000104512362217677017742 0ustar ripleyusers\alias{gtkScaleButtonGetAdjustment} \name{gtkScaleButtonGetAdjustment} \title{gtkScaleButtonGetAdjustment} \description{Gets the \code{\link{GtkAdjustment}} associated with the \code{\link{GtkScaleButton}}'s scale. See \code{\link{gtkRangeGetAdjustment}} for details.} \usage{gtkScaleButtonGetAdjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.12} \value{[\code{\link{GtkAdjustment}}] the adjustment associated with the scale} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGuessContentTypeSync.Rd0000644000176000001440000000255512362217677017633 0ustar ripleyusers\alias{gMountGuessContentTypeSync} \name{gMountGuessContentTypeSync} \title{gMountGuessContentTypeSync} \description{Tries to guess the type of content stored on \code{mount}. Returns one or more textual identifiers of well-known content types (typically prefixed with "x-content/"), e.g. x-content/image-dcf for camera memory cards. See the shared-mime-info (\url{http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec}) specification for more on x-content types.} \usage{gMountGuessContentTypeSync(object, force.rescan, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}} \item{\verb{force.rescan}}{Whether to force a rescan of the content. Otherwise a cached result will be used if available} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{This is an synchronous operation and as such may block doing IO; see \code{\link{gMountGuessContentType}} for the asynchronous version. Since 2.18} \value{ A list containing the following elements: \item{retval}{[character] a list of content types or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterStartsWord.Rd0000644000176000001440000000106212362217677016624 0ustar ripleyusers\alias{gtkTextIterStartsWord} \name{gtkTextIterStartsWord} \title{gtkTextIterStartsWord} \description{Determines whether \code{iter} begins a natural-language word. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterStartsWord(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is at the start of a word} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonBoxGetLayout.Rd0000644000176000001440000000067212362217677016607 0ustar ripleyusers\alias{gtkButtonBoxGetLayout} \name{gtkButtonBoxGetLayout} \title{gtkButtonBoxGetLayout} \description{Retrieves the method being used to arrange the buttons in a button box.} \usage{gtkButtonBoxGetLayout(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButtonBox}}.}} \value{[\code{\link{GtkButtonBoxStyle}}] the method used to layout buttons in \code{widget}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeString.Rd0000644000176000001440000000106712362217677017673 0ustar ripleyusers\alias{gFileInfoGetAttributeString} \name{gFileInfoGetAttributeString} \title{gFileInfoGetAttributeString} \description{Gets the value of a string attribute. If the attribute does not contain a string, \code{NULL} will be returned.} \usage{gFileInfoGetAttributeString(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[char] the contents of the \code{attribute} value as a string, or \code{NULL} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoParseMarkup.Rd0000644000176000001440000000317112362217677015573 0ustar ripleyusers\alias{pangoParseMarkup} \name{pangoParseMarkup} \title{pangoParseMarkup} \description{Parses marked-up text (see markup format) to create a plain-text string and an attribute list.} \usage{pangoParseMarkup(markup.text, accel.marker, .errwarn = TRUE)} \arguments{ \item{\verb{markup.text}}{[char] markup to parse (see markup format)} \item{\verb{accel.marker}}{[numeric] character that precedes an accelerator, or 0 for none} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{accel.marker} is nonzero, the given character will mark the character following it as an accelerator. For example, \code{accel.marker} might be an ampersand or underscore. All characters marked as an accelerator will receive a \code{PANGO_UNDERLINE_LOW} attribute, and the first character so marked will be returned in \code{accel.char}. Two \code{accel.marker} characters following each other produce a single literal \code{accel.marker} character. If any error happens, none of the output arguments are touched except for \code{error}. } \value{ A list containing the following elements: \item{retval}{[logical] \code{FALSE} if \code{error} is set, otherwise \code{TRUE}} \item{\verb{attr.list}}{[\code{\link{PangoAttrList}}] return location for a \code{\link{PangoAttrList}}, or \code{NULL}} \item{\verb{text}}{[char] return location for text with tags stripped, or \code{NULL}} \item{\verb{accel.char}}{[numeric] return location for accelerator char, or \code{NULL}} \item{\verb{error}}{[\code{\link{GError}}] return location for errors, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetCurrentEventTime.Rd0000644000176000001440000000063312362217677016725 0ustar ripleyusers\alias{gtkGetCurrentEventTime} \name{gtkGetCurrentEventTime} \title{gtkGetCurrentEventTime} \description{If there is a current event and it has a timestamp, return that timestamp, otherwise return \code{GDK_CURRENT_TIME}.} \usage{gtkGetCurrentEventTime()} \value{[numeric] the timestamp from the current event, or \code{GDK_CURRENT_TIME}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterAtLastLine.Rd0000644000176000001440000000071312362217677017362 0ustar ripleyusers\alias{pangoLayoutIterAtLastLine} \name{pangoLayoutIterAtLastLine} \title{pangoLayoutIterAtLastLine} \description{Determines whether \code{iter} is on the last line of the layout.} \usage{pangoLayoutIterAtLastLine(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[logical] \code{TRUE} if \code{iter} is on the last line.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkHyperlinkGetStartIndex.Rd0000644000176000001440000000073312362217677017430 0ustar ripleyusers\alias{atkHyperlinkGetStartIndex} \name{atkHyperlinkGetStartIndex} \title{atkHyperlinkGetStartIndex} \description{Gets the index with the hypertext document at which this link begins.} \usage{atkHyperlinkGetStartIndex(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkHyperlink}}] an \code{\link{AtkHyperlink}}}} \value{[integer] the index with the hypertext document at which this link begins} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetVisibleRange.Rd0000644000176000001440000000147712362217677017516 0ustar ripleyusers\alias{gtkTreeViewGetVisibleRange} \name{gtkTreeViewGetVisibleRange} \title{gtkTreeViewGetVisibleRange} \description{Sets \code{start.path} and \code{end.path} to be the first and last visible path. Note that there may be invisible paths in between.} \usage{gtkTreeViewGetVisibleRange(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \details{ Since 2.8} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if valid paths were placed in \code{start.path} and \code{end.path}.} \item{\verb{start.path}}{Return location for start of region, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{end.path}}{Return location for end of region, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetStyleByPaths.Rd0000644000176000001440000000300512362217677016336 0ustar ripleyusers\alias{gtkRcGetStyleByPaths} \name{gtkRcGetStyleByPaths} \title{gtkRcGetStyleByPaths} \description{Creates up a \code{\link{GtkStyle}} from styles defined in a RC file by providing the raw components used in matching. This function may be useful when creating pseudo-widgets that should be themed like widgets but don't actually have corresponding GTK+ widgets. An example of this would be items inside a GNOME canvas widget.} \usage{gtkRcGetStyleByPaths(settings, widget.path, class.path, type)} \arguments{ \item{\verb{settings}}{a \code{\link{GtkSettings}} object} \item{\verb{widget.path}}{the widget path to use when looking up the style, or \code{NULL} if no matching against the widget path should be done. \emph{[ \acronym{allow-none} ]}} \item{\verb{class.path}}{the class path to use when looking up the style, or \code{NULL} if no matching against the class path should be done. \emph{[ \acronym{allow-none} ]}} \item{\verb{type}}{a type that will be used along with parent types of this type when matching against class styles, or \verb{G_TYPE_NONE}} } \details{The action of \code{\link{gtkRcGetStyle}} is similar to: \preformatted{ path <- widget$path()$path class_path <- widget$classPath()$path gtkRcGetStyleByPaths(widget$getSettings(), path, class_path, class(widget)[1]) }} \value{[\code{\link{GtkStyle}}] A style created by matching with the supplied paths, or \code{NULL} if nothing matching was specified and the default style should be used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintSlider.Rd0000644000176000001440000000224012362217677015234 0ustar ripleyusers\alias{gtkPaintSlider} \name{gtkPaintSlider} \title{gtkPaintSlider} \description{Draws a slider in the given rectangle on \code{window} using the given style and orientation.} \usage{gtkPaintSlider(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{a shadow} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{the x origin of the rectangle in which to draw a slider} \item{\verb{y}}{the y origin of the rectangle in which to draw a slider} \item{\verb{width}}{the width of the rectangle in which to draw a slider} \item{\verb{height}}{the height of the rectangle in which to draw a slider} \item{\verb{orientation}}{the orientation to be used} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemNewWithMnemonic.Rd0000644000176000001440000000116012362217677017535 0ustar ripleyusers\alias{gtkMenuItemNewWithMnemonic} \name{gtkMenuItemNewWithMnemonic} \title{gtkMenuItemNewWithMnemonic} \description{Creates a new \code{\link{GtkMenuItem}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the menu item.} \usage{gtkMenuItemNewWithMnemonic(label, show = TRUE)} \arguments{\item{\verb{label}}{The text of the button, with an underscore in front of the mnemonic character}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupGetMode.Rd0000644000176000001440000000065012362217677016215 0ustar ripleyusers\alias{gtkSizeGroupGetMode} \name{gtkSizeGroupGetMode} \title{gtkSizeGroupGetMode} \description{Gets the current mode of the size group. See \code{\link{gtkSizeGroupSetMode}}.} \usage{gtkSizeGroupGetMode(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSizeGroup}}}} \value{[\code{\link{GtkSizeGroupMode}}] the current mode of the size group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeNewCustom.Rd0000644000176000001440000000130612362217677016567 0ustar ripleyusers\alias{gtkPaperSizeNewCustom} \name{gtkPaperSizeNewCustom} \title{gtkPaperSizeNewCustom} \description{Creates a new \code{\link{GtkPaperSize}} object with the given parameters.} \usage{gtkPaperSizeNewCustom(name, display.name, width, height, unit)} \arguments{ \item{\verb{name}}{the paper name} \item{\verb{display.name}}{the human-readable name} \item{\verb{width}}{the paper width, in units of \code{unit}} \item{\verb{height}}{the paper height, in units of \code{unit}} \item{\verb{unit}}{the unit for \code{width} and \code{height}} } \details{Since 2.10} \value{[\code{\link{GtkPaperSize}}] a new \code{\link{GtkPaperSize}} object,} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetInternalPaintInfo.Rd0000644000176000001440000000265312362217677020222 0ustar ripleyusers\alias{gdkWindowGetInternalPaintInfo} \name{gdkWindowGetInternalPaintInfo} \title{gdkWindowGetInternalPaintInfo} \description{If you bypass the GDK layer and use windowing system primitives to draw directly onto a \code{\link{GdkWindow}}, then you need to deal with two details: there may be an offset between GDK coordinates and windowing system coordinates, and GDK may have redirected drawing to a offscreen pixmap as the result of a \code{\link{gdkWindowBeginPaintRegion}} calls. This function allows retrieving the information you need to compensate for these effects.} \usage{gdkWindowGetInternalPaintInfo(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{This function exposes details of the GDK implementation, and is thus likely to change in future releases of GDK.} \value{ A list containing the following elements: \item{\verb{real.drawable}}{location to store the drawable to which drawing should be done. \emph{[ \acronym{out} ]}} \item{\verb{x.offset}}{location to store the X offset between coordinates in \code{window}, and the underlying window system primitive coordinates for *\code{real.drawable}. \emph{[ \acronym{out} ]}} \item{\verb{y.offset}}{location to store the Y offset between coordinates in \code{window}, and the underlying window system primitive coordinates for *\code{real.drawable}. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetLogo.Rd0000644000176000001440000000110112362217677016500 0ustar ripleyusers\alias{gtkAboutDialogSetLogo} \name{gtkAboutDialogSetLogo} \title{gtkAboutDialogSetLogo} \description{Sets the pixbuf to be displayed as logo in the about dialog. If it is \code{NULL}, the default window icon set with \code{\link{gtkWindowSetDefaultIcon}} will be used.} \usage{gtkAboutDialogSetLogo(object, logo = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{logo}}{a \code{\link{GdkPixbuf}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionXor.Rd0000644000176000001440000000077712362217677014727 0ustar ripleyusers\alias{gdkRegionXor} \name{gdkRegionXor} \title{gdkRegionXor} \description{Sets the area of \code{source1} to the exclusive-OR of the areas of \code{source1} and \code{source2}. The resulting area is the set of pixels contained in one or the other of the two sources but not in both.} \usage{gdkRegionXor(object, source2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{source2}}{another \code{\link{GdkRegion}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetRubberBanding.Rd0000644000176000001440000000110712362217677017652 0ustar ripleyusers\alias{gtkTreeViewSetRubberBanding} \name{gtkTreeViewSetRubberBanding} \title{gtkTreeViewSetRubberBanding} \description{Enables or disables rubber banding in \code{tree.view}. If the selection mode is \verb{GTK_SELECTION_MULTIPLE}, rubber banding will allow the user to select multiple rows by dragging the mouse.} \usage{gtkTreeViewSetRubberBanding(object, enable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{enable}}{\code{TRUE} to enable rubber banding} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetScale.Rd0000644000176000001440000000062212362217677017245 0ustar ripleyusers\alias{gtkPrintSettingsGetScale} \name{gtkPrintSettingsGetScale} \title{gtkPrintSettingsGetScale} \description{Gets the value of \code{GTK_PRINT_SETTINGS_SCALE}.} \usage{gtkPrintSettingsGetScale(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[numeric] the scale in percent} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStorePrepend.Rd0000644000176000001440000000166012362217677016255 0ustar ripleyusers\alias{gtkTreeStorePrepend} \name{gtkTreeStorePrepend} \title{gtkTreeStorePrepend} \description{Prepends a new row to \code{tree.store}. If \code{parent} is non-\code{NULL}, then it will prepend the new row before the first child of \code{parent}, otherwise it will prepend a row to the top level. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkTreeStoreSet}} or \code{\link{gtkTreeStoreSetValue}}.} \usage{gtkTreeStorePrepend(object, parent = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the prepended row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileIOStreamQueryInfo.Rd0000644000176000001440000000342212362217677016607 0ustar ripleyusers\alias{gFileIOStreamQueryInfo} \name{gFileIOStreamQueryInfo} \title{gFileIOStreamQueryInfo} \description{Queries a file io stream for the given \code{attributes}. This function blocks while querying the stream. For the asynchronous version of this function, see \code{\link{gFileIOStreamQueryInfoAsync}}. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will fail with \code{G_IO_ERROR_PENDING}.} \usage{gFileIOStreamQueryInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileIOStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Can fail if the stream was already closed (with \code{error} being set to \code{G_IO_ERROR_CLOSED}), the stream has pending operations (with \code{error} being set to \code{G_IO_ERROR_PENDING}), or if querying info is not supported for the stream's interface (with \code{error} being set to \code{G_IO_ERROR_NOT_SUPPORTED}). I all cases of failure, \code{NULL} will be returned. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be set, and \code{NULL} will be returned. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}} for the \code{stream}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetSensitive.Rd0000644000176000001440000000114312362217677016610 0ustar ripleyusers\alias{gtkWidgetSetSensitive} \name{gtkWidgetSetSensitive} \title{gtkWidgetSetSensitive} \description{Sets the sensitivity of a widget. A widget is sensitive if the user can interact with it. Insensitive widgets are "grayed out" and the user can't interact with them. Insensitive widgets are known as "inactive", "disabled", or "ghosted" in some other toolkits.} \usage{gtkWidgetSetSensitive(object, sensitive)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{sensitive}}{\code{TRUE} to make the widget sensitive} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRoleForName.Rd0000644000176000001440000000102212362217677015156 0ustar ripleyusers\alias{atkRoleForName} \name{atkRoleForName} \title{atkRoleForName} \description{Get the \code{\link{AtkRole}} type corresponding to a rolew name.} \usage{atkRoleForName(name)} \arguments{\item{\verb{name}}{[character] a string which is the (non-localized) name of an ATK role.}} \value{[\code{\link{AtkRole}}] the \code{\link{AtkRole}} enumerated type corresponding to the specified name, or \verb{ATK_ROLE_INVALID} if no matching role is found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapLoad.Rd0000644000176000001440000000066611766145227015273 0ustar ripleyusers\alias{gtkAccelMapLoad} \name{gtkAccelMapLoad} \title{gtkAccelMapLoad} \description{Parses a file previously saved with \code{\link{gtkAccelMapSave}} for accelerator specifications, and propagates them accordingly.} \usage{gtkAccelMapLoad(file.name)} \arguments{\item{\verb{file.name}}{a file containing accelerator specifications, in the GLib file name encoding}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetName.Rd0000644000176000001440000000066012362217677015650 0ustar ripleyusers\alias{gdkDisplayGetName} \name{gdkDisplayGetName} \title{gdkDisplayGetName} \description{Gets the name of the display.} \usage{gdkDisplayGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.2} \value{[character] a string representing the display name. This string is owned by GDK and should not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRenderer.Rd0000644000176000001440000002001612362217677015325 0ustar ripleyusers\alias{GtkCellRenderer} \alias{GtkCellRendererState} \alias{GtkCellRendererMode} \name{GtkCellRenderer} \title{GtkCellRenderer} \description{An object for rendering a single cell on a GdkDrawable} \section{Methods and Functions}{ \code{\link{gtkCellRendererGetSize}(object, widget, cell.area = NULL)}\cr \code{\link{gtkCellRendererRender}(object, window, widget, background.area, cell.area, expose.area, flags)}\cr \code{\link{gtkCellRendererActivate}(object, event, widget, path, background.area, cell.area, flags)}\cr \code{\link{gtkCellRendererStartEditing}(object, event, widget, path, background.area, cell.area, flags)}\cr \code{\link{gtkCellRendererEditingCanceled}(object)}\cr \code{\link{gtkCellRendererEditingCanceled}(object)}\cr \code{\link{gtkCellRendererStopEditing}(object, canceled)}\cr \code{\link{gtkCellRendererGetFixedSize}(object)}\cr \code{\link{gtkCellRendererSetFixedSize}(object, width, height)}\cr \code{\link{gtkCellRendererGetVisible}(object)}\cr \code{\link{gtkCellRendererSetVisible}(object, visible)}\cr \code{\link{gtkCellRendererGetSensitive}(object)}\cr \code{\link{gtkCellRendererSetSensitive}(object, sensitive)}\cr \code{\link{gtkCellRendererGetAlignment}(object, xalign, yalign)}\cr \code{\link{gtkCellRendererSetAlignment}(object, xalign, yalign)}\cr \code{\link{gtkCellRendererGetPadding}(object, xpad, ypad)}\cr \code{\link{gtkCellRendererSetPadding}(object, xpad, ypad)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererText +----GtkCellRendererPixbuf +----GtkCellRendererProgress +----GtkCellRendererSpinner +----GtkCellRendererToggle}} \section{Detailed Description}{The \code{\link{GtkCellRenderer}} is a base class of a set of objects used for rendering a cell to a \code{\link{GdkDrawable}}. These objects are used primarily by the \code{\link{GtkTreeView}} widget, though they aren't tied to them in any specific way. It is worth noting that \code{\link{GtkCellRenderer}} is not a \code{\link{GtkWidget}} and cannot be treated as such. The primary use of a \code{\link{GtkCellRenderer}} is for drawing a certain graphical elements on a \code{\link{GdkDrawable}}. Typically, one cell renderer is used to draw many cells on the screen. To this extent, it isn't expected that a CellRenderer keep any permanent state around. Instead, any state is set just prior to use using \code{\link{GObject}}s property system. Then, the cell is measured using \code{\link{gtkCellRendererGetSize}}. Finally, the cell is rendered in the correct location using \code{\link{gtkCellRendererRender}}. There are a number of rules that must be followed when writing a new \code{\link{GtkCellRenderer}}. First and formost, it's important that a certain set of properties will always yield a cell renderer of the same size, barring a \code{\link{GtkStyle}} change. The \code{\link{GtkCellRenderer}} also has a number of generic properties that are expected to be honored by all children. Beyond merely rendering a cell, cell renderers can optionally provide active user interface elements. A cell renderer can be \dfn{activatable} like \code{\link{GtkCellRendererToggle}}, which toggles when it gets activated by a mouse click, or it can be \dfn{editable} like \code{\link{GtkCellRendererText}}, which allows the user to edit the text using a \code{\link{GtkEntry}}. To make a cell renderer activatable or editable, you have to implement the \code{activate} or \code{start.editing} virtual functions, respectively.} \section{Structures}{\describe{\item{\verb{GtkCellRenderer}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{ \item{\verb{GtkCellRendererState}}{ Tells how a cell is to be rendererd. \describe{ \item{\verb{selected}}{The cell is currently selected, and probably has a selection colored background to render to.} \item{\verb{prelit}}{The mouse is hovering over the cell.} \item{\verb{insensitive}}{The cell is drawn in an insensitive manner} \item{\verb{sorted}}{The cell is in a sorted row} \item{\verb{focused}}{The cell is in the focus row.} } } \item{\verb{GtkCellRendererMode}}{ Identifies how the user can interact with a particular cell. \describe{ \item{\verb{inert}}{The cell is just for display and cannot be interacted with. Note that this doesn't mean that eg. the row being drawn can't be selected -- just that a particular element of it cannot be individually modified.} \item{\verb{activatable}}{The cell can be clicked.} \item{\verb{editable}}{The cell can be edited or otherwise modified.} } } }} \section{Signals}{\describe{ \item{\code{editing-canceled(renderer, user.data)}}{ This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape. See also: \code{\link{gtkCellRendererStopEditing}}. Since 2.4 \describe{ \item{\code{renderer}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{editing-started(renderer, editable, path, user.data)}}{ This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on \code{editable}, e.g. adding a \code{\link{GtkEntryCompletion}} or setting up additional columns in a \code{\link{GtkComboBox}}. Note that GTK+ doesn't guarantee that cell renderers will continue to use the same kind of widget for editing in future releases, therefore you should check the type of \code{editable} before doing any specific setup, as in the following example: \preformatted{ text_editing_started <- function(cell, editable, path, data) { checkPtrType(editable, "GtkEntry") ## ... create a GtkEntryCompletion editable$setCompletion(completion) } } Since 2.6 \describe{ \item{\code{renderer}}{the object which received the signal} \item{\code{editable}}{the \code{\link{GtkCellEditable}}} \item{\code{path}}{the path identifying the edited cell} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{cell-background} [character : * : Write]}{ Cell background color as a string. Default value: NULL } \item{\verb{cell-background-gdk} [\code{\link{GdkColor}} : * : Read / Write]}{ Cell background color as a GdkColor. } \item{\verb{cell-background-set} [logical : Read / Write]}{ Whether this tag affects the cell background color. Default value: FALSE } \item{\verb{editing} [logical : Read]}{ Whether the cell renderer is currently in editing mode. Default value: FALSE } \item{\verb{height} [integer : Read / Write]}{ The fixed height. Allowed values: >= -1 Default value: -1 } \item{\verb{is-expanded} [logical : Read / Write]}{ Row is an expander row, and is expanded. Default value: FALSE } \item{\verb{is-expander} [logical : Read / Write]}{ Row has children. Default value: FALSE } \item{\verb{mode} [\code{\link{GtkCellRendererMode}} : Read / Write]}{ Editable mode of the CellRenderer. Default value: GTK_CELL_RENDERER_MODE_INERT } \item{\verb{sensitive} [logical : Read / Write]}{ Display the cell sensitive. Default value: TRUE } \item{\verb{visible} [logical : Read / Write]}{ Display the cell. Default value: TRUE } \item{\verb{width} [integer : Read / Write]}{ The fixed width. Allowed values: >= -1 Default value: -1 } \item{\verb{xalign} [numeric : Read / Write]}{ The x-align. Allowed values: [0,1] Default value: 0.5 } \item{\verb{xpad} [numeric : Read / Write]}{ The xpad. Default value: 0 } \item{\verb{yalign} [numeric : Read / Write]}{ The y-align. Allowed values: [0,1] Default value: 0.5 } \item{\verb{ypad} [numeric : Read / Write]}{ The ypad. Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRenderer.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkCellRendererText}} \code{\link{GtkCellRendererPixbuf}} \code{\link{GtkCellRendererToggle}} } \keyword{internal} RGtk2/man/gtkCListGetHadjustment.Rd0000644000176000001440000000113212362217677016702 0ustar ripleyusers\alias{gtkCListGetHadjustment} \name{gtkCListGetHadjustment} \title{gtkCListGetHadjustment} \description{ Gets the \code{\link{GtkAdjustment}} currently being used for the horizontal aspect. \strong{WARNING: \code{gtk_clist_get_hadjustment} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetHadjustment(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to check.}} \value{[\code{\link{GtkAdjustment}}] A \code{\link{GtkAdjustment}} object, or NULL if none is currently being used.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorButtonNew.Rd0000644000176000001440000000112412362217677015742 0ustar ripleyusers\alias{gtkColorButtonNew} \name{gtkColorButtonNew} \title{gtkColorButtonNew} \description{Creates a new color button. This returns a widget in the form of a small button containing a swatch representing the current selected color. When the button is clicked, a color-selection dialog will open, allowing the user to select a color. The swatch will be updated to reflect the new color when the user finishes.} \usage{gtkColorButtonNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new color button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSimpleAnimGetLoop.Rd0000644000176000001440000000075012362217677017510 0ustar ripleyusers\alias{gdkPixbufSimpleAnimGetLoop} \name{gdkPixbufSimpleAnimGetLoop} \title{gdkPixbufSimpleAnimGetLoop} \description{Gets whether \code{animation} should loop indefinitely when it reaches the end.} \usage{gdkPixbufSimpleAnimGetLoop(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufSimpleAnim}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the animation loops forever, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGetProgramClass.Rd0000644000176000001440000000100212362217677016026 0ustar ripleyusers\alias{gdkGetProgramClass} \name{gdkGetProgramClass} \title{gdkGetProgramClass} \description{Gets the program class. Unless the program class has explicitly been set with \code{\link{gdkSetProgramClass}} or with the \option{--class} commandline option, the default value is the program name (determined with \code{gGetPrgname()}) with the first character converted to uppercase.} \usage{gdkGetProgramClass()} \value{[char] the program class.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetSelection.Rd0000644000176000001440000000176612362217677016256 0ustar ripleyusers\alias{atkTextGetSelection} \name{atkTextGetSelection} \title{atkTextGetSelection} \description{Gets the text from the specified selection.} \usage{atkTextGetSelection(object, selection.num)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{selection.num}}{[integer] The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.} } \value{ A list containing the following elements: \item{retval}{[character] the selected text.} \item{\verb{start.offset}}{[integer] passes back the start position of the selected region} \item{\verb{end.offset}}{[integer] passes back the end position of (e.g. offset immediately past) the selected region} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamSkipFinish.Rd0000644000176000001440000000127612362217677016732 0ustar ripleyusers\alias{gInputStreamSkipFinish} \name{gInputStreamSkipFinish} \title{gInputStreamSkipFinish} \description{Finishes a stream skip operation.} \usage{gInputStreamSkipFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInputStream}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[integer] the size of the bytes skipped, or \code{-1} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetLeftMargin.Rd0000644000176000001440000000076212362217677017347 0ustar ripleyusers\alias{gtkPageSetupSetLeftMargin} \name{gtkPageSetupSetLeftMargin} \title{gtkPageSetupSetLeftMargin} \description{Sets the left margin of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupSetLeftMargin(object, margin, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{margin}}{the new left margin in units of \code{unit}} \item{\verb{unit}}{the units for \code{margin}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetMenuLabel.Rd0000644000176000001440000000077212362217677017047 0ustar ripleyusers\alias{gtkNotebookSetMenuLabel} \name{gtkNotebookSetMenuLabel} \title{gtkNotebookSetMenuLabel} \description{Changes the menu label for the page containing \code{child}.} \usage{gtkNotebookSetMenuLabel(object, child, menu.label = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{the child widget} \item{\verb{menu.label}}{the menu label, or NULL for default. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowRedirectToDrawable.Rd0000644000176000001440000000235712362217677017705 0ustar ripleyusers\alias{gdkWindowRedirectToDrawable} \name{gdkWindowRedirectToDrawable} \title{gdkWindowRedirectToDrawable} \description{Redirects drawing into \code{window} so that drawing to the window in the rectangle specified by \code{src.x}, \code{src.y}, \code{width} and \code{height} is also drawn into \code{drawable} at \code{dest.x}, \code{dest.y}.} \usage{gdkWindowRedirectToDrawable(object, drawable, src.x, src.y, dest.x, dest.y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{drawable}}{a \code{\link{GdkDrawable}}} \item{\verb{src.x}}{x position in \code{window}} \item{\verb{src.y}}{y position in \code{window}} \item{\verb{dest.x}}{x position in \code{drawable}} \item{\verb{dest.y}}{y position in \code{drawable}} \item{\verb{width}}{width of redirection, or -1 to use the width of \code{window}} \item{\verb{height}}{height of redirection or -1 to use the height of \code{window}} } \details{Only drawing between \code{\link{gdkWindowBeginPaintRegion}} or \code{\link{gdkWindowBeginPaintRect}} and \code{\link{gdkWindowEndPaint}} is redirected. Redirection is active until \code{\link{gdkWindowRemoveRedirection}} is called. Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFindBaseDir.Rd0000644000176000001440000000127312362217677015454 0ustar ripleyusers\alias{pangoFindBaseDir} \name{pangoFindBaseDir} \title{pangoFindBaseDir} \description{Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.} \usage{pangoFindBaseDir(text, length = -1)} \arguments{ \item{\verb{text}}{[character] the text to process} \item{\verb{length}}{[integer] length of \code{text} in bytes (may be -1 if \code{text} is nul-terminated)} } \details{ Since 1.4} \value{[\code{\link{PangoDirection}}] The direction corresponding to the first strong character. If no such character is found, then \code{PANGO_DIRECTION_NEUTRAL} is returned.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionNew.Rd0000644000176000001440000000050712362217677016250 0ustar ripleyusers\alias{gtkFontSelectionNew} \name{gtkFontSelectionNew} \title{gtkFontSelectionNew} \description{Creates a new \code{\link{GtkFontSelection}}.} \usage{gtkFontSelectionNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a n ew \code{\link{GtkFontSelection}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkOldEditableClaimSelection.Rd0000644000176000001440000000122712362217677020006 0ustar ripleyusers\alias{gtkOldEditableClaimSelection} \name{gtkOldEditableClaimSelection} \title{gtkOldEditableClaimSelection} \description{ Claims or gives up ownership of the selection. \strong{WARNING: \code{gtk_old_editable_claim_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkOldEditableClaimSelection(object, claim, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GtkOldEditable}}} \item{\verb{claim}}{if \code{TRUE}, claim ownership of the selection, if \code{FALSE}, give up ownership} \item{\verb{time}}{timestamp for this operation} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetHadjustment.Rd0000644000176000001440000000071412362217677020125 0ustar ripleyusers\alias{gtkToolPaletteGetHadjustment} \name{gtkToolPaletteGetHadjustment} \title{gtkToolPaletteGetHadjustment} \description{Gets the horizontal adjustment of the tool palette.} \usage{gtkToolPaletteGetHadjustment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \value{[\code{\link{GtkAdjustment}}] the horizontal adjustment of \code{palette}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGuessContentTypeFinish.Rd0000644000176000001440000000173412362217677020135 0ustar ripleyusers\alias{gMountGuessContentTypeFinish} \name{gMountGuessContentTypeFinish} \title{gMountGuessContentTypeFinish} \description{Finishes guessing content types of \code{mount}. If any errors occured during the operation, \code{error} will be set to contain the errors and \code{FALSE} will be returned. In particular, you may get an \code{G_IO_ERROR_NOT_SUPPORTED} if the mount does not support content guessing.} \usage{gMountGuessContentTypeFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}} \item{\verb{result}}{a \code{\link{GAsyncResult}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.18} \value{ A list containing the following elements: \item{retval}{[character] a list of content types or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountGetVolume.Rd0000644000176000001440000000062412362217677015415 0ustar ripleyusers\alias{gMountGetVolume} \name{gMountGetVolume} \title{gMountGetVolume} \description{Gets the volume for the \code{mount}.} \usage{gMountGetVolume(object)} \arguments{\item{\verb{object}}{a \code{\link{GMount}}.}} \value{[\code{\link{GVolume}}] a \code{\link{GVolume}} or \code{NULL} if \code{mount} is not associated with a volume.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetState.Rd0000644000176000001440000000121012362217677016540 0ustar ripleyusers\alias{gtkIconSourceSetState} \name{gtkIconSourceSetState} \title{gtkIconSourceSetState} \description{Sets the widget state this icon source is intended to be used with.} \usage{gtkIconSourceSetState(object, state)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{state}}{widget state this source applies to} } \details{Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call \code{\link{gtkIconSourceSetStateWildcarded}} to un-wildcard it in addition to calling this function.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVScaleNewWithRange.Rd0000644000176000001440000000170212362217677016460 0ustar ripleyusers\alias{gtkVScaleNewWithRange} \name{gtkVScaleNewWithRange} \title{gtkVScaleNewWithRange} \description{Creates a new vertical scale widget that lets the user input a number between \code{min} and \code{max} (including \code{min} and \code{max}) with the increment \code{step}. \code{step} must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value.} \usage{gtkVScaleNewWithRange(min, max, step, show = TRUE)} \arguments{ \item{\verb{min}}{minimum value} \item{\verb{max}}{maximum value} \item{\verb{step}}{step increment (tick size) used with keyboard shortcuts} } \details{Note that the way in which the precision is derived works best if \code{step} is a power of ten. If the resulting precision is not suitable for your needs, use \code{\link{gtkScaleSetDigits}} to correct it.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVScale}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStorePrepend.Rd0000644000176000001440000000114112362217677016263 0ustar ripleyusers\alias{gtkListStorePrepend} \name{gtkListStorePrepend} \title{gtkListStorePrepend} \description{Prepends a new row to \code{list.store}. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkListStoreSet}} or \code{\link{gtkListStoreSetValue}}.} \usage{gtkListStorePrepend(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the prepend row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetNMonitors.Rd0000644000176000001440000000065112362217677016532 0ustar ripleyusers\alias{gdkScreenGetNMonitors} \name{gdkScreenGetNMonitors} \title{gdkScreenGetNMonitors} \description{Returns the number of monitors which \code{screen} consists of.} \usage{gdkScreenGetNMonitors(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[integer] number of monitors which \code{screen} consists of} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListUnselectAll.Rd0000644000176000001440000000071112362217677016066 0ustar ripleyusers\alias{gtkListUnselectAll} \name{gtkListUnselectAll} \title{gtkListUnselectAll} \description{ Unselects all children of \code{list}. A signal will be emitted for each newly unselected child. \strong{WARNING: \code{gtk_list_unselect_all} is deprecated and should not be used in newly-written code.} } \usage{gtkListUnselectAll(object)} \arguments{\item{\verb{object}}{the list widget.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Accelerator-Maps.Rd0000644000176000001440000000356612362217677016231 0ustar ripleyusers\alias{gtk-Accelerator-Maps} \alias{GtkAccelMap} \alias{GtkAccelMapForeach} \name{gtk-Accelerator-Maps} \title{Accelerator Maps} \description{Loadable keyboard accelerator specifications} \section{Methods and Functions}{ \code{\link{gtkAccelMapAddEntry}(accel.path, accel.key, accel.mods)}\cr \code{\link{gtkAccelMapLookupEntry}(accel.path)}\cr \code{\link{gtkAccelMapChangeEntry}(accel.path, accel.key, accel.mods, replace)}\cr \code{\link{gtkAccelMapForeach}(data = NULL, foreach.func)}\cr \code{\link{gtkAccelMapLoadFd}(fd)}\cr \code{\link{gtkAccelMapSaveFd}(fd)}\cr \code{\link{gtkAccelMapLoadScanner}(scanner)}\cr \code{\link{gtkAccelMapAddFilter}(filter.pattern)}\cr \code{\link{gtkAccelMapForeachUnfiltered}(data = NULL, foreach.func)}\cr \code{\link{gtkAccelMapGet}()}\cr \code{\link{gtkAccelMapLockPath}(accel.path)}\cr \code{\link{gtkAccelMapUnlockPath}(accel.path)}\cr } \section{Hierarchy}{\preformatted{GObject +----GtkAccelMap}} \section{Structures}{\describe{\item{\verb{GtkAccelMap}}{ \emph{undocumented } }}} \section{User Functions}{\describe{\item{\code{GtkAccelMapForeach()}}{ \emph{undocumented } }}} \section{Signals}{\describe{\item{\code{changed(object, accel.path, accel.key, accel.mods, user.data)}}{ Notifies of a change in the global accelerator map. The path is also used as the detail for the signal, so it is possible to connect to changed::\\var{accel_path}. Since 2.4 \describe{ \item{\code{object}}{the global accel map object} \item{\code{accel.path}}{the path of the accelerator that changed} \item{\code{accel.key}}{the key value for the new accelerator} \item{\code{accel.mods}}{the modifier mask for the new accelerator} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gtk/gtk-Accelerator-Maps.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoCanRemoveSupportsType.Rd0000644000176000001440000000077312362217677020246 0ustar ripleyusers\alias{gAppInfoCanRemoveSupportsType} \name{gAppInfoCanRemoveSupportsType} \title{gAppInfoCanRemoveSupportsType} \description{Checks if a supported content type can be removed from an application.} \usage{gAppInfoCanRemoveSupportsType(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[logical] \code{TRUE} if it is possible to remove supported content types from a given \code{appinfo}, \code{FALSE} if not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewGetInfo.Rd0000644000176000001440000000104412362217677015714 0ustar ripleyusers\alias{gtkPreviewGetInfo} \name{gtkPreviewGetInfo} \title{gtkPreviewGetInfo} \description{ Return a \code{\link{GtkPreviewInfo}} structure containing global information about preview widgets. \strong{WARNING: \code{gtk_preview_get_info} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewGetInfo()} \value{[\code{\link{GtkPreviewInfo}}] a \code{\link{GtkPreviewInfo}} structure. The return value belongs to GTK+ and must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetFontOptions.Rd0000644000176000001440000000076512362217677017072 0ustar ripleyusers\alias{gdkScreenGetFontOptions} \name{gdkScreenGetFontOptions} \title{gdkScreenGetFontOptions} \description{Gets any options previously set with \code{\link{gdkScreenSetFontOptions}}.} \usage{gdkScreenGetFontOptions(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.10} \value{[\code{\link{CairoFontOptions}}] the current font options, or \code{NULL} if no default font options have been set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLanguageMatches.Rd0000644000176000001440000000171412362217677016372 0ustar ripleyusers\alias{pangoLanguageMatches} \name{pangoLanguageMatches} \title{pangoLanguageMatches} \description{Checks if a language tag matches one of the elements in a list of language ranges. A language tag is considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and the character after it in the tag is '-'.} \usage{pangoLanguageMatches(object, range.list)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLanguage}}] a language tag (see \code{\link{pangoLanguageFromString}}), \code{NULL} is allowed and matches nothing but '*'} \item{\verb{range.list}}{[char] a list of language ranges, separated by ';', ':', ',', or space characters. Each element must either be '*', or a RFC 3066 language range canonicalized as by \code{\link{pangoLanguageFromString}}} } \value{[logical] \code{TRUE} if a match was found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetReorderable.Rd0000644000176000001440000000223712362217677017401 0ustar ripleyusers\alias{gtkTreeViewSetReorderable} \name{gtkTreeViewSetReorderable} \title{gtkTreeViewSetReorderable} \description{This function is a convenience function to allow you to reorder models that support the \verb{GtkDragSourceIface} and the \verb{GtkDragDestIface}. Both \code{\link{GtkTreeStore}} and \code{\link{GtkListStore}} support these. If \code{reorderable} is \code{TRUE}, then the user can reorder the model by dragging and dropping rows. The developer can listen to these changes by connecting to the model's row_inserted and row_deleted signals. The reordering is implemented by setting up the tree view as a drag source and destination. Therefore, drag and drop can not be used in a reorderable view for any other purpose.} \usage{gtkTreeViewSetReorderable(object, reorderable)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{reorderable}}{\code{TRUE}, if the tree can be reordered.} } \details{This function does not give you any degree of control over the order -- any reordering is allowed. If more control is needed, you should probably handle drag and drop manually.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/transparent-type.Rd0000644000176000001440000000403111766145227015626 0ustar ripleyusers\name{transparent-type} \alias{transparent-type} \alias{as.struct} \title{Transparent types in RGtk2} \description{ A \emph{transparent type} in RGtk2 is a non-primitive type passed between the user and the API as an ordinary R object (usually a list with a defined structure). } \details{ The RGtk2 documentation defines the public structure of every object. Some of these have been tagged as being \emph{transparent}, indicating that the R programmer need not obtain an external object but rather simply create the analagous structure in R. \emph{Transparent types} are usually simple types that would be created inline in C code for convenience, instead of invoking a function with a large number of arguments. RGtk2 emulates this in R. Usually these structures are constructed as R lists, with optionally named elements. The lists elements are matched up to structure fields according to the same logic as function calls to function definitions (see \code{\link{match.call}}). } \author{Michael Lawrence} \seealso{ \code{\link{GParamSpec}} \code{\link{GtkFileFilterInfo}} \code{\link{GtkTargetEntry}} \code{\link{AtkAttribute}} \code{\link{GtkSettingsValue}} \code{\link{GClosure}} \code{\link{GType}} \code{\link{GtkStockItem}} \code{\link{GtkItemFactoryEntry}} \code{\link{GtkAllocation}} \code{\link{GdkAtom}} \code{\link{GTimeVal}} \code{\link{PangoRectangle}} \code{\link{GdkRectangle}} \code{\link{AtkAttributeSet}} \code{\link{GdkRgbCmap}} \code{\link{GdkKeymapKey}} \code{\link{GdkGCValues}} \code{\link{GdkGeometry}} \code{\link{GdkPoint}} \code{\link{GdkSegment}} \code{\link{GdkColor}} \code{\link{GdkNativeWindow}} \code{\link{GError}} \code{\link{GdkWindowAttr}} \code{\link{GdkTrapezoid}} \code{\link{GtkActionEntry}} \code{\link{GtkToggleActionEntry}} \code{\link{GtkRadioActionEntry}} \code{\link{CairoPath}} \code{\link{CairoGlyph}} \code{\link{CairoPathData}} \code{\link{AtkTextRectangle}} \code{\link{AtkTextRange}} \code{\link{GdkSpan}} \code{\link{GdkTimeCoord}} } \keyword{interface} RGtk2/man/GdkDisplayManager.Rd0000644000176000001440000000276612362217677015653 0ustar ripleyusers\alias{GdkDisplayManager} \name{GdkDisplayManager} \title{GdkDisplayManager} \description{Maintains a list of all open s} \section{Methods and Functions}{ \code{\link{gdkDisplayManagerGet}()}\cr \code{\link{gdkDisplayManagerGetDefaultDisplay}(object)}\cr \code{\link{gdkDisplayManagerSetDefaultDisplay}(object, display)}\cr \code{\link{gdkDisplayManagerListDisplays}(object)}\cr \code{\link{gdkDisplayGetCorePointer}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GdkDisplayManager}} \section{Detailed Description}{The purpose of the \code{\link{GdkDisplayManager}} singleton object is to offer notification when displays appear or disappear or the default display changes.} \section{Structures}{\describe{\item{\verb{GdkDisplayManager}}{ The \code{GdkDisplayManager} struct has no interesting fields. Since 2.2 }}} \section{Signals}{\describe{\item{\code{display-opened(display.manager, display, user.data)}}{ The ::display_opened signal is emitted when a display is opened. Since 2.2 \describe{ \item{\code{display.manager}}{the object on which the signal is emitted} \item{\code{display}}{the opened display} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{default-display} [\code{\link{GdkDisplay}} : * : Read / Write]}{ The default display for GDK. }}} \references{\url{http://library.gnome.org/devel//gdk/GdkDisplayManager.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetDefaultBottomMargin.Rd0000644000176000001440000000101412362217677021206 0ustar ripleyusers\alias{gtkPaperSizeGetDefaultBottomMargin} \name{gtkPaperSizeGetDefaultBottomMargin} \title{gtkPaperSizeGetDefaultBottomMargin} \description{Gets the default bottom margin for the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetDefaultBottomMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the default bottom margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/windowSize.Rd0000644000176000001440000000145311766145227014455 0ustar ripleyusers\name{gdkGetWindowSize} \alias{gdkGetWindowSize} \title{Obtain dimensions of a Gtk window} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} Returns the width and height of a Gtk window. } \usage{ gdkGetWindowSize(w) } \arguments{ \item{w}{the object of class \code{"GdkWindow"} whose dimensions are to be queried.} } \value{ An integer vector with two elements: \item{width}{the number of pixels the window spans in the horizontal dimension} \item{height}{the number of pixels the window spans in the vertical dimension} } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) } \seealso{ \code{\link{gtkWidgetSetUsize}} } \keyword{interface} \keyword{internal} RGtk2/man/gdkWindowProcessAllUpdates.Rd0000644000176000001440000000052012362217677017562 0ustar ripleyusers\alias{gdkWindowProcessAllUpdates} \name{gdkWindowProcessAllUpdates} \title{gdkWindowProcessAllUpdates} \description{Calls \code{\link{gdkWindowProcessUpdates}} for all windows (see \code{\link{GdkWindow}}) in the application.} \usage{gdkWindowProcessAllUpdates()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoHasApplication.Rd0000644000176000001440000000111012362217677017665 0ustar ripleyusers\alias{gtkRecentInfoHasApplication} \name{gtkRecentInfoHasApplication} \title{gtkRecentInfoHasApplication} \description{Checks whether an application registered this resource using \code{app.name}.} \usage{gtkRecentInfoHasApplication(object, app.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{app.name}}{a string containing an application name} } \details{Since 2.10} \value{[logical] \code{TRUE} if an application with name \code{app.name} was found, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultNewFromError.Rd0000644000176000001440000000135612362217677020424 0ustar ripleyusers\alias{gSimpleAsyncResultNewFromError} \name{gSimpleAsyncResultNewFromError} \title{gSimpleAsyncResultNewFromError} \description{Creates a \code{\link{GSimpleAsyncResult}} from an error condition.} \usage{gSimpleAsyncResultNewFromError(source.object, callback, user.data = NULL)} \arguments{ \item{\verb{source.object}}{a \code{\link{GObject}}, or \code{NULL}.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GSimpleAsyncResult}}] a \code{\link{GSimpleAsyncResult}}.} \item{\verb{error}}{a \code{\link{GError}} location.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetThemeDir.Rd0000644000176000001440000000046212362217677015450 0ustar ripleyusers\alias{gtkRcGetThemeDir} \name{gtkRcGetThemeDir} \title{gtkRcGetThemeDir} \description{Returns the standard directory in which themes should be installed. (GTK+ does not actually use this directory itself.)} \usage{gtkRcGetThemeDir()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCopy.Rd0000644000176000001440000000534312362217677014200 0ustar ripleyusers\alias{gFileCopy} \name{gFileCopy} \title{gFileCopy} \description{Copies the file \code{source} to the location specified by \code{destination}. Can not handle recursive copies of directories.} \usage{gFileCopy(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{destination}}{destination \code{\link{GFile}}} \item{\verb{flags}}{set of \code{\link{GFileCopyFlags}}} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{progress.callback}}{function to callback with progress information} \item{\verb{progress.callback.data}}{user data to pass to \code{progress.callback}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the flag \verb{G_FILE_COPY_OVERWRITE} is specified an already existing \code{destination} file is overwritten. If the flag \verb{G_FILE_COPY_NOFOLLOW_SYMLINKS} is specified then symlinks will be copied as symlinks, otherwise the target of the \code{source} symlink will be copied. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If \code{progress.callback} is not \code{NULL}, then the operation can be monitored by setting this to a \code{\link{GFileProgressCallback}} function. \code{progress.callback.data} will be passed to this function. It is guaranteed that this callback will be called after all data has been transferred with the total number of bytes copied during the operation. If the \code{source} file does not exist then the G_IO_ERROR_NOT_FOUND error is returned, independent on the status of the \code{destination}. If \verb{G_FILE_COPY_OVERWRITE} is not specified and the target exists, then the error G_IO_ERROR_EXISTS is returned. If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY error is returned. If trying to overwrite a directory with a directory the G_IO_ERROR_WOULD_MERGE error is returned. If the source is a directory and the target does not exist, or \verb{G_FILE_COPY_OVERWRITE} is specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error is returned. If you are interested in copying the \code{\link{GFile}} object itself (not the on-disk file), see \code{\link{gFileDup}}.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} otherwise.} \item{\verb{error}}{\code{\link{GError}} to set on error, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreClear.Rd0000644000176000001440000000045212362217677015720 0ustar ripleyusers\alias{gtkListStoreClear} \name{gtkListStoreClear} \title{gtkListStoreClear} \description{Removes all rows from the list store.} \usage{gtkListStoreClear(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkListStore}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonSetGroup.Rd0000644000176000001440000000072412362217677017604 0ustar ripleyusers\alias{gtkRadioToolButtonSetGroup} \name{gtkRadioToolButtonSetGroup} \title{gtkRadioToolButtonSetGroup} \description{Adds \code{button} to \code{group}, removing it from the group it belonged to before.} \usage{gtkRadioToolButtonSetGroup(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRadioToolButton}}} \item{\verb{group}}{an existing radio button group} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreRemove.Rd0000644000176000001440000000110412362217677016122 0ustar ripleyusers\alias{gtkListStoreRemove} \name{gtkListStoreRemove} \title{gtkListStoreRemove} \description{Removes the given row from the list store. After being removed, \code{iter} is set to be the next valid row, or invalidated if it pointed to the last row in \code{list.store}.} \usage{gtkListStoreRemove(object, iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}}} } \value{[logical] \code{TRUE} if \code{iter} is valid, \code{FALSE} if not.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererTextSetFixedHeightFromFont.Rd0000644000176000001440000000172512362217677022500 0ustar ripleyusers\alias{gtkCellRendererTextSetFixedHeightFromFont} \name{gtkCellRendererTextSetFixedHeightFromFont} \title{gtkCellRendererTextSetFixedHeightFromFont} \description{Sets the height of a renderer to explicitly be determined by the "font" and "y_pad" property set on it. Further changes in these properties do not affect the height, so they must be accompanied by a subsequent call to this function. Using this function is unflexible, and should really only be used if calculating the size of a cell is too slow (ie, a massive number of cells displayed). If \code{number.of.rows} is -1, then the fixed height is unset, and the height is determined by the properties again.} \usage{gtkCellRendererTextSetFixedHeightFromFont(object, number.of.rows)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRendererText}}} \item{\verb{number.of.rows}}{Number of rows of text each cell renderer is allocated, or -1} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonNew.Rd0000644000176000001440000000057712362217677014756 0ustar ripleyusers\alias{gtkButtonNew} \name{gtkButtonNew} \title{gtkButtonNew} \description{Creates a new \code{\link{GtkButton}} widget. To add a child widget to the button, use \code{\link{gtkContainerAdd}}.} \usage{gtkButtonNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] The newly created \code{\link{GtkButton}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGetDisplay.Rd0000644000176000001440000000055012362217677015045 0ustar ripleyusers\alias{gdkGetDisplay} \name{gdkGetDisplay} \title{gdkGetDisplay} \description{Gets the name of the display, which usually comes from the \env{DISPLAY} environment variable or the \option{--display} command line option.} \usage{gdkGetDisplay()} \value{[character] the name of the display.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreInsertWithValuesv.Rd0000644000176000001440000000144212362217677020324 0ustar ripleyusers\alias{gtkTreeStoreInsertWithValuesv} \name{gtkTreeStoreInsertWithValuesv} \title{gtkTreeStoreInsertWithValuesv} \description{A variant of \code{\link{gtkTreeStoreInsertWithValues}} which takes the columns and values as two lists, instead of varargs. This function is mainly intended for language bindings.} \usage{gtkTreeStoreInsertWithValuesv(object, parent, position, columns, values)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{position to insert the new row} \item{\verb{columns}}{a list of column numbers} \item{\verb{values}}{a list of GValues} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkOffscreenWindow.Rd0000644000176000001440000000447012362217677016067 0ustar ripleyusers\alias{GtkOffscreenWindow} \alias{gtkOffscreenWindow} \name{GtkOffscreenWindow} \title{GtkOffscreenWindow} \description{A toplevel container widget used to manage offscreen rendering of child widgets.} \section{Methods and Functions}{ \code{\link{gtkOffscreenWindowNew}(show = TRUE)}\cr \code{\link{gtkOffscreenWindowGetPixmap}(object)}\cr \code{\link{gtkOffscreenWindowGetPixbuf}(object)}\cr \code{gtkOffscreenWindow(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkOffscreenWindow}} \section{Interfaces}{GtkOffscreenWindow implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkOffscreenWindow}} is strictly intended to be used for obtaining snapshots of widgets that are not part of a normal widget hierarchy. It differs from \code{\link{gtkWidgetGetSnapshot}} in that the widget you want to get a snapshot of need not be displayed on the user's screen as a part of a widget hierarchy. However, since \code{\link{GtkOffscreenWindow}} is a toplevel widget you cannot obtain snapshots of a full window with it since you cannot pack a toplevel widget in another toplevel. The idea is to take a widget and manually set the state of it, add it to a \code{\link{GtkOffscreenWindow}} and then retrieve the snapshot as a \code{\link{GdkPixmap}} or \code{\link{GdkPixbuf}}. \code{\link{GtkOffscreenWindow}} derives from \code{\link{GtkWindow}} only as an implementation detail. Applications should not use any API specific to \code{\link{GtkWindow}} to operate on this object. It should be treated as a \code{\link{GtkBin}} that has no parent widget. When contained offscreen widgets are redrawn, \code{\link{GtkOffscreenWindow}} will emit a \verb{"damage-event"} signal.} \section{Structures}{\describe{\item{\verb{GtkOffscreenWindow}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkOffscreenWindow} is the equivalent of \code{\link{gtkOffscreenWindowNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkOffscreenWindow.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufCompositeColor.Rd0000644000176000001440000000405712362217677017125 0ustar ripleyusers\alias{gdkPixbufCompositeColor} \name{gdkPixbufCompositeColor} \title{gdkPixbufCompositeColor} \description{Creates a transformation of the source image \code{src} by scaling by \code{scale.x} and \code{scale.y} then translating by \code{offset.x} and \code{offset.y}, then composites the rectangle (\code{dest.x} ,\code{dest.y}, \code{dest.width}, \code{dest.height}) of the resulting image with a checkboard of the colors \code{color1} and \code{color2} and renders it onto the destination image.} \usage{gdkPixbufCompositeColor(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha, check.x, check.y, check.size, color1, color2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}} \item{\verb{dest}}{the \code{\link{GdkPixbuf}} into which to render the results} \item{\verb{dest.x}}{the left coordinate for region to render} \item{\verb{dest.y}}{the top coordinate for region to render} \item{\verb{dest.width}}{the width of the region to render} \item{\verb{dest.height}}{the height of the region to render} \item{\verb{offset.x}}{the offset in the X direction (currently rounded to an integer)} \item{\verb{offset.y}}{the offset in the Y direction (currently rounded to an integer)} \item{\verb{scale.x}}{the scale factor in the X direction} \item{\verb{scale.y}}{the scale factor in the Y direction} \item{\verb{interp.type}}{the interpolation type for the transformation.} \item{\verb{overall.alpha}}{overall alpha for source image (0..255)} \item{\verb{check.x}}{the X offset for the checkboard (origin of checkboard is at -\code{check.x}, -\code{check.y})} \item{\verb{check.y}}{the Y offset for the checkboard} \item{\verb{check.size}}{the size of checks in the checkboard (must be a power of two)} \item{\verb{color1}}{the color of check at upper left} \item{\verb{color2}}{the color of the other check} } \details{See \code{\link{gdkPixbufCompositeColorSimple}} for a simpler variant of this function suitable for many tasks.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableGetFd.Rd0000644000176000001440000000166312362217677015566 0ustar ripleyusers\alias{gCancellableGetFd} \name{gCancellableGetFd} \title{gCancellableGetFd} \description{Gets the file descriptor for a cancellable job. This can be used to implement cancellable operations on Unix systems. The returned fd will turn readable when \code{cancellable} is cancelled.} \usage{gCancellableGetFd(object)} \arguments{\item{\verb{object}}{a \code{\link{GCancellable}}.}} \details{You are not supposed to read from the fd yourself, just check for readable status. Reading to unset the readable status is done with \code{\link{gCancellableReset}}. After a successful return from this function, you should use \code{\link{gCancellableReleaseFd}} to free up resources allocated for the returned file descriptor. See also \code{gCancellableMakePollfd()}.} \value{[integer] A valid file descriptor. \code{-1} if the file descriptor is not supported, or on errors.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuilderGetTranslationDomain.Rd0000644000176000001440000000076312362217677020423 0ustar ripleyusers\alias{gtkBuilderGetTranslationDomain} \name{gtkBuilderGetTranslationDomain} \title{gtkBuilderGetTranslationDomain} \description{Gets the translation domain of \code{builder}.} \usage{gtkBuilderGetTranslationDomain(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBuilder}}}} \details{Since 2.12} \value{[character] the translation domain. This string is owned by the builder object and must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoListAttributes.Rd0000644000176000001440000000102112362217677017051 0ustar ripleyusers\alias{gFileInfoListAttributes} \name{gFileInfoListAttributes} \title{gFileInfoListAttributes} \description{Lists the file info structure's attributes.} \usage{gFileInfoListAttributes(object, name.space)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{name.space}}{a file attribute key's namespace.} } \value{[char] a list of strings of all of the possible attribute types for the given \code{name.space}, or \code{NULL} on error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetPathAtPos.Rd0000644000176000001440000000441712362217677017004 0ustar ripleyusers\alias{gtkTreeViewGetPathAtPos} \name{gtkTreeViewGetPathAtPos} \title{gtkTreeViewGetPathAtPos} \description{Finds the path at the point (\code{x}, \code{y}), relative to bin_window coordinates (please see \code{\link{gtkTreeViewGetBinWindow}}). That is, \code{x} and \code{y} are relative to an events coordinates. \code{x} and \code{y} must come from an event on the \code{tree.view} only where \code{event->window == gtk_tree_view_get_bin_window ( )}. It is primarily for things like popup menus. If \code{path} is non-\code{NULL}, then it will be filled with the \code{\link{GtkTreePath}} at that point. If \code{column} is non-\code{NULL}, then it will be filled with the column at that point. \code{cell.x} and \code{cell.y} return the coordinates relative to the cell background (i.e. the \code{background.area} passed to \code{\link{gtkCellRendererRender}}). This function is only meaningful if \code{tree.view} is realized. Therefore this function will always return \code{FALSE} if \code{tree.view} is not realized or does not have a model.} \usage{gtkTreeViewGetPathAtPos(object, x, y)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{x}}{The x position to be identified (relative to bin_window).} \item{\verb{y}}{The y position to be identified (relative to bin_window).} } \details{For converting widget coordinates (eg. the ones you get from GtkWidget::query-tooltip), please see \code{\link{gtkTreeViewConvertWidgetToBinWindowCoords}}.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if a row exists at that coordinate.} \item{\verb{path}}{A pointer to a \code{\link{GtkTreePath}} pointer to be filled in, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{column}}{A pointer to a \code{\link{GtkTreeViewColumn}} pointer to be filled in, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{cell.x}}{A pointer where the X coordinate relative to the cell can be placed, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} \item{\verb{cell.y}}{A pointer where the Y coordinate relative to the cell can be placed, or \code{NULL}. \emph{[ \acronym{out} ][ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetDragTargetGroup.Rd0000644000176000001440000000065612362217677020705 0ustar ripleyusers\alias{gtkToolPaletteGetDragTargetGroup} \name{gtkToolPaletteGetDragTargetGroup} \title{gtkToolPaletteGetDragTargetGroup} \description{Get the target entry for a dragged \code{\link{GtkToolItemGroup}}.} \usage{gtkToolPaletteGetDragTargetGroup()} \details{Since 2.20} \value{[\code{\link{GtkTargetEntry}}] the \code{\link{GtkTargetEntry}} for a dragged group} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonSetArrowTooltip.Rd0000644000176000001440000000210612362217677021017 0ustar ripleyusers\alias{gtkMenuToolButtonSetArrowTooltip} \name{gtkMenuToolButtonSetArrowTooltip} \title{gtkMenuToolButtonSetArrowTooltip} \description{ Sets the \code{\link{GtkTooltips}} object to be used for arrow button which pops up the menu. See \code{\link{gtkToolItemSetTooltip}} for setting a tooltip on the whole \code{\link{GtkMenuToolButton}}. \strong{WARNING: \code{gtk_menu_tool_button_set_arrow_tooltip} has been deprecated since version 2.12 and should not be used in newly-written code. Use \code{\link{gtkMenuToolButtonSetArrowTooltipText}} instead.} } \usage{gtkMenuToolButtonSetArrowTooltip(object, tooltips, tip.text = NULL, tip.private = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuToolButton}}} \item{\verb{tooltips}}{the \code{\link{GtkTooltips}} object to be used} \item{\verb{tip.text}}{text to be used as tooltip text for tool_item. \emph{[ \acronym{allow-none} ]}} \item{\verb{tip.private}}{text to be used as private tooltip text. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetUseColor.Rd0000644000176000001440000000066612362217677017775 0ustar ripleyusers\alias{gtkPrintSettingsSetUseColor} \name{gtkPrintSettingsSetUseColor} \title{gtkPrintSettingsSetUseColor} \description{Sets the value of \code{GTK_PRINT_SETTINGS_USE_COLOR}.} \usage{gtkPrintSettingsSetUseColor(object, use.color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{use.color}}{whether to use color} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileCopyFinish.Rd0000644000176000001440000000121012362217677015326 0ustar ripleyusers\alias{gFileCopyFinish} \name{gFileCopyFinish} \title{gFileCopyFinish} \description{Finishes copying the file started with \code{\link{gFileCopyAsync}}.} \usage{gFileCopyFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] a \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerEnsureUpdate.Rd0000644000176000001440000000150112362217677017152 0ustar ripleyusers\alias{gtkUIManagerEnsureUpdate} \name{gtkUIManagerEnsureUpdate} \title{gtkUIManagerEnsureUpdate} \description{Makes sure that all pending updates to the UI have been completed.} \usage{gtkUIManagerEnsureUpdate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}}}} \details{This may occasionally be necessary, since \code{\link{GtkUIManager}} updates the UI in an idle function. A typical example where this function is useful is to enforce that the menubar and toolbar have been added to the main window before showing it: \preformatted{ window$add(vbox, show = F) gSignalConnect(merge, "add_widget", add_widget, vbox) merge$addUiFromFile("my-menus") merge$addUiFromFile("my-toolbars") merge$ensureUpdate() window$showAll() } Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVButtonBoxGetLayoutDefault.Rd0000644000176000001440000000101312362217677020230 0ustar ripleyusers\alias{gtkVButtonBoxGetLayoutDefault} \name{gtkVButtonBoxGetLayoutDefault} \title{gtkVButtonBoxGetLayoutDefault} \description{ Retrieves the current layout used to arrange buttons in button box widgets. \strong{WARNING: \code{gtk_vbutton_box_get_layout_default} is deprecated and should not be used in newly-written code.} } \usage{gtkVButtonBoxGetLayoutDefault()} \value{[\code{\link{GtkButtonBoxStyle}}] the current \code{\link{GtkButtonBoxStyle}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitlesHide.Rd0000644000176000001440000000077012362217677017177 0ustar ripleyusers\alias{gtkCListColumnTitlesHide} \name{gtkCListColumnTitlesHide} \title{gtkCListColumnTitlesHide} \description{ Causes the \code{\link{GtkCList}} to hide its column titles, if they are currently showing. \strong{WARNING: \code{gtk_clist_column_titles_hide} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitlesHide(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerNew.Rd0000644000176000001440000000075112362217677016074 0ustar ripleyusers\alias{gSocketListenerNew} \name{gSocketListenerNew} \title{gSocketListenerNew} \description{Creates a new \code{\link{GSocketListener}} with no sockets to listen for. New listeners can be added with e.g. \code{\link{gSocketListenerAddAddress}} or \code{\link{gSocketListenerAddInetPort}}.} \usage{gSocketListenerNew()} \details{Since 2.22} \value{[\code{\link{GSocketListener}}] a new \code{\link{GSocketListener}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoSupportsUris.Rd0000644000176000001440000000063312362217677016442 0ustar ripleyusers\alias{gAppInfoSupportsUris} \name{gAppInfoSupportsUris} \title{gAppInfoSupportsUris} \description{Checks if the application supports reading files and directories from URIs.} \usage{gAppInfoSupportsUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}.}} \value{[logical] \code{TRUE} if the \code{appinfo} supports URIs.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorName.Rd0000644000176000001440000000133512362217677016047 0ustar ripleyusers\alias{gtkAcceleratorName} \name{gtkAcceleratorName} \title{gtkAcceleratorName} \description{Converts an accelerator keyval and modifier mask into a string parseable by \code{\link{gtkAcceleratorParse}}. For example, if you pass in \verb{GDK_q} and \verb{GDK_CONTROL_MASK}, this function returns "q". } \usage{gtkAcceleratorName(accelerator.key, accelerator.mods)} \arguments{ \item{\verb{accelerator.key}}{accelerator keyval} \item{\verb{accelerator.mods}}{accelerator modifier mask} } \details{If you need to display accelerators in the user interface, see \code{\link{gtkAcceleratorGetLabel}}.} \value{[character] a newly-allocated accelerator name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboSetItemString.Rd0000644000176000001440000000141012362217677016535 0ustar ripleyusers\alias{gtkComboSetItemString} \name{gtkComboSetItemString} \title{gtkComboSetItemString} \description{ Sets the string to place in the \code{\link{GtkEntry}} field when a particular list item is selected. This is needed if the list item is not a simple label. \strong{WARNING: \code{gtk_combo_set_item_string} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkComboBox}} instead.} } \usage{gtkComboSetItemString(object, item, item.value)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCombo}}.} \item{\verb{item}}{a \code{\link{GtkItem}}.} \item{\verb{item.value}}{the string to place in the \code{\link{GtkEntry}} when \code{item} is selected.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetPreviousAlpha.Rd0000644000176000001440000000104212362217677021120 0ustar ripleyusers\alias{gtkColorSelectionSetPreviousAlpha} \name{gtkColorSelectionSetPreviousAlpha} \title{gtkColorSelectionSetPreviousAlpha} \description{Sets the 'previous' alpha to be \code{alpha}. This function should be called with some hesitations, as it might seem confusing to have that alpha change.} \usage{gtkColorSelectionSetPreviousAlpha(object, alpha)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{alpha}}{an integer between 0 and 65535.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetSelectable.Rd0000644000176000001440000000106112362217677016474 0ustar ripleyusers\alias{gtkCListSetSelectable} \name{gtkCListSetSelectable} \title{gtkCListSetSelectable} \description{ Sets whether the specified row is selectable or not. \strong{WARNING: \code{gtk_clist_set_selectable} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetSelectable(object, row, selectable)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{selectable}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetTabVborder.Rd0000644000176000001440000000103512362217677017226 0ustar ripleyusers\alias{gtkNotebookSetTabVborder} \name{gtkNotebookSetTabVborder} \title{gtkNotebookSetTabVborder} \description{ Sets the width of the vertical border of tab labels. \strong{WARNING: \code{gtk_notebook_set_tab_vborder} is deprecated and should not be used in newly-written code.} } \usage{gtkNotebookSetTabVborder(object, tab.vborder)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{tab.vborder}}{width of the vertical border of tab labels.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetSelectedRows.Rd0000644000176000001440000000127512362217677017032 0ustar ripleyusers\alias{atkTableGetSelectedRows} \name{atkTableGetSelectedRows} \title{atkTableGetSelectedRows} \description{Gets the selected rows of the table by initializing **selected with the selected row numbers.} \usage{atkTableGetSelectedRows(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface}} \value{ A list containing the following elements: \item{retval}{[integer] a gint representing the number of selected rows, or zero if value does not implement this interface.} \item{\verb{selected}}{[integer] a \verb{integer}** that is to contain the selected row numbers} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetIterAtMark.Rd0000644000176000001440000000102212362217677017455 0ustar ripleyusers\alias{gtkTextBufferGetIterAtMark} \name{gtkTextBufferGetIterAtMark} \title{gtkTextBufferGetIterAtMark} \description{Initializes \code{iter} with the current position of \code{mark}.} \usage{gtkTextBufferGetIterAtMark(object, mark)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{mark}}{a \code{\link{GtkTextMark}} in \code{buffer}} } \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoBreak.Rd0000644000176000001440000000127112362217677014364 0ustar ripleyusers\alias{pangoBreak} \name{pangoBreak} \title{pangoBreak} \description{Determines possible line, word, and character breaks for a string of Unicode text with a single analysis. For most purposes you may want to use \code{\link{pangoGetLogAttrs}}.} \usage{pangoBreak(text, analysis)} \arguments{ \item{\verb{text}}{[character] the text to process} \item{\verb{analysis}}{[\code{\link{PangoAnalysis}}] \code{\link{PangoAnalysis}} structure from \code{\link{pangoItemize}}} } \value{ A list containing the following elements: \item{\verb{attrs}}{[\code{\link{PangoLogAttr}}] a list to store character information in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarGetDate.Rd0000644000176000001440000000132712362217677015772 0ustar ripleyusers\alias{gtkCalendarGetDate} \name{gtkCalendarGetDate} \title{gtkCalendarGetDate} \description{Obtains the selected date from a \code{\link{GtkCalendar}}.} \usage{gtkCalendarGetDate(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}}} \value{ A list containing the following elements: \item{\verb{year}}{location to store the year number, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{month}}{location to store the month number (between 0 and 11), or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{day}}{location to store the day number (between 1 and 31), or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetFlippable.Rd0000644000176000001440000000102112362217677016341 0ustar ripleyusers\alias{gtkRangeSetFlippable} \name{gtkRangeSetFlippable} \title{gtkRangeSetFlippable} \description{If a range is flippable, it will switch its direction if it is horizontal and its direction is \code{GTK_TEXT_DIR_RTL}.} \usage{gtkRangeSetFlippable(object, flippable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{flippable}}{\code{TRUE} to make the range flippable} } \details{See \code{\link{gtkWidgetGetDirection}}. Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererPixbuf.Rd0000644000176000001440000000556712362217677016521 0ustar ripleyusers\alias{GtkCellRendererPixbuf} \alias{gtkCellRendererPixbuf} \name{GtkCellRendererPixbuf} \title{GtkCellRendererPixbuf} \description{Renders a pixbuf in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererPixbufNew}()}\cr \code{gtkCellRendererPixbuf()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererPixbuf}} \section{Detailed Description}{A \code{\link{GtkCellRendererPixbuf}} can be used to render an image in a cell. It allows to render either a given \code{\link{GdkPixbuf}} (set via the pixbuf property) or a stock icon (set via the stock-id property). To support the tree view, \code{\link{GtkCellRendererPixbuf}} also supports rendering two alternative pixbufs, when the is-expander property is \code{TRUE}. If the is-expanded property is \code{TRUE} and the pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the is-expanded property is \code{FALSE} and the pixbuf-expander-closed property is set to a pixbuf, it renders that one.} \section{Structures}{\describe{\item{\verb{GtkCellRendererPixbuf}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererPixbuf} is the equivalent of \code{\link{gtkCellRendererPixbufNew}}.} \section{Properties}{\describe{ \item{\verb{follow-state} [logical : Read / Write]}{ Specifies whether the rendered pixbuf should be colorized according to the \code{\link{GtkCellRendererState}}. Default value: FALSE Since 2.8 } \item{\verb{gicon} [\code{\link{GIcon}} : * : Read / Write]}{ The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically. Since 2.14 } \item{\verb{icon-name} [character : * : Read / Write]}{ The name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties. Default value: NULL Since 2.8 } \item{\verb{pixbuf} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ The pixbuf to render. } \item{\verb{pixbuf-expander-closed} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ Pixbuf for closed expander. } \item{\verb{pixbuf-expander-open} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ Pixbuf for open expander. } \item{\verb{stock-detail} [character : * : Read / Write]}{ Render detail to pass to the theme engine. Default value: NULL } \item{\verb{stock-id} [character : * : Read / Write]}{ The stock ID of the stock icon to render. Default value: NULL } \item{\verb{stock-size} [numeric : Read / Write]}{ The GtkIconSize value that specifies the size of the rendered icon. Default value: 1 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererPixbuf.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutContextChanged.Rd0000644000176000001440000000102212362217677017426 0ustar ripleyusers\alias{pangoLayoutContextChanged} \name{pangoLayoutContextChanged} \title{pangoLayoutContextChanged} \description{Forces recomputation of any state in the \code{\link{PangoLayout}} that might depend on the layout's context. This function should be called if you make changes to the context subsequent to creating the layout.} \usage{pangoLayoutContextChanged(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetSize.Rd0000644000176000001440000000552012362217677015564 0ustar ripleyusers\alias{gtkWindowGetSize} \name{gtkWindowGetSize} \title{gtkWindowGetSize} \description{Obtains the current size of \code{window}. If \code{window} is not onscreen, it returns the size GTK+ will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by \code{\link{gtkWindowGetSize}} is the last size received in a \code{\link{GdkEventConfigure}}, that is, GTK+ uses its locally-stored size, rather than querying the X server for the size. As a result, if you call \code{\link{gtkWindowResize}} then immediately call \code{\link{gtkWindowGetSize}}, the size won't have taken effect yet. After the window manager processes the resize request, GTK+ receives notification that the size has changed via a configure event, and the size of the window gets updated.} \usage{gtkWindowGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Note 1: Nearly any use of this function creates a race condition, because the size of the window may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to "configure-event" on the window and adjust your size-dependent state to match the size delivered in the \code{\link{GdkEventConfigure}}. Note 2: The returned size does \emph{not} include the size of the window manager decorations (aka the window frame or border). Those are not drawn by GTK+ and GTK+ has no reliable method of determining their size. Note 3: If you are getting a window size in order to position the window onscreen, there may be a better way. The preferred way is to simply set the window's semantic type with \code{\link{gtkWindowSetTypeHint}}, which allows the window manager to e.g. center dialogs. Also, if you set the transient parent of dialogs with \code{\link{gtkWindowSetTransientFor}} window managers will often center the dialog over its parent window. It's much preferred to let the window manager handle these things rather than doing it yourself, because all apps will behave consistently and according to user prefs if the window manager handles it. Also, the window manager can take the size of the window decorations/border into account, while your application cannot. In any case, if you insist on application-specified window positioning, there's \emph{still} a better way than doing it yourself - \code{\link{gtkWindowSetPosition}} will frequently handle the details for you.} \value{ A list containing the following elements: \item{\verb{width}}{(out): return location for width, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{(out): return location for height, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowUnfullscreen.Rd0000644000176000001440000000143412362217677016657 0ustar ripleyusers\alias{gtkWindowUnfullscreen} \name{gtkWindowUnfullscreen} \title{gtkWindowUnfullscreen} \description{Asks to toggle off the fullscreen state for \code{window}. Note that you shouldn't assume the window is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the window will end up restored to its normal state. Just don't write code that crashes if not.} \usage{gtkWindowUnfullscreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{You can track the fullscreen state via the "window-state-event" signal on \code{\link{GtkWidget}}. Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferSelectRange.Rd0000644000176000001440000000147312362217677017220 0ustar ripleyusers\alias{gtkTextBufferSelectRange} \name{gtkTextBufferSelectRange} \title{gtkTextBufferSelectRange} \description{This function moves the "insert" and "selection_bound" marks simultaneously. If you move them in two steps with \code{\link{gtkTextBufferMoveMark}}, you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized.} \usage{gtkTextBufferSelectRange(object, ins, bound)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{ins}}{where to put the "insert" mark} \item{\verb{bound}}{where to put the "selection_bound" mark} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMoveResize.Rd0000644000176000001440000000137312362217677016264 0ustar ripleyusers\alias{gdkWindowMoveResize} \name{gdkWindowMoveResize} \title{gdkWindowMoveResize} \description{Equivalent to calling \code{\link{gdkWindowMove}} and \code{\link{gdkWindowResize}}, except that both operations are performed at once, avoiding strange visual effects. (i.e. the user may be able to see the window first move, then resize, if you don't use \code{\link{gdkWindowMoveResize}}.)} \usage{gdkWindowMoveResize(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{new X position relative to window's parent} \item{\verb{y}}{new Y position relative to window's parent} \item{\verb{width}}{new width} \item{\verb{height}}{new height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitIsImageAvailable.Rd0000644000176000001440000000154112362217677020605 0ustar ripleyusers\alias{gtkClipboardWaitIsImageAvailable} \name{gtkClipboardWaitIsImageAvailable} \title{gtkClipboardWaitIsImageAvailable} \description{Test to see if there is an image available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported image targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitIsImageAvailable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{This function is a little faster than calling \code{\link{gtkClipboardWaitForImage}} since it doesn't need to retrieve the actual image data. Since 2.6} \value{[logical] \code{TRUE} is there is an image available, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GMountOperation.Rd0000644000176000001440000002012312362217677015402 0ustar ripleyusers\alias{GMountOperation} \alias{gMountOperation} \alias{GAskPasswordFlags} \alias{GPasswordSave} \alias{GMountOperationResult} \name{GMountOperation} \title{GMountOperation} \description{Object used for authentication and user interaction} \section{Methods and Functions}{ \code{\link{gMountOperationNew}()}\cr \code{\link{gMountOperationGetUsername}(object)}\cr \code{\link{gMountOperationSetUsername}(object, username)}\cr \code{\link{gMountOperationGetPassword}(object)}\cr \code{\link{gMountOperationSetPassword}(object, password)}\cr \code{\link{gMountOperationGetAnonymous}(object)}\cr \code{\link{gMountOperationSetAnonymous}(object, anonymous)}\cr \code{\link{gMountOperationGetDomain}(object)}\cr \code{\link{gMountOperationSetDomain}(object, domain)}\cr \code{\link{gMountOperationGetPasswordSave}(object)}\cr \code{\link{gMountOperationSetPasswordSave}(object, save)}\cr \code{\link{gMountOperationGetChoice}(object)}\cr \code{\link{gMountOperationSetChoice}(object, choice)}\cr \code{\link{gMountOperationReply}(object, result)}\cr \code{gMountOperation()} } \section{Hierarchy}{\preformatted{ GFlags +----GAskPasswordFlags GEnum +----GPasswordSave GObject +----GMountOperation GEnum +----GMountOperationResult }} \section{Detailed Description}{\code{\link{GMountOperation}} provides a mechanism for interacting with the user. It can be used for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations. It can also be used to ask the user questions or show a list of applications preventing unmount or eject operations from completing. Note that \code{\link{GMountOperation}} is used for more than just \code{\link{GMount}} objects – for example it is also used in \code{\link{gDriveStart}} and \code{\link{gDriveStop}}. Users should instantiate a subclass of this that implements all the various callbacks to show the required dialogs, such as \code{\link{GtkMountOperation}}. If no user interaction is desired (for example when automounting filesystems at login time), usually \code{NULL} can be passed, see each method taking a \code{\link{GMountOperation}} for details.} \section{Structures}{\describe{\item{\verb{GMountOperation}}{ Class for providing authentication methods for mounting operations, such as mounting a file locally, or authenticating with a server. }}} \section{Convenient Construction}{\code{gMountOperation} is the equivalent of \code{\link{gMountOperationNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GAskPasswordFlags}}{ \code{\link{GAskPasswordFlags}} are used to request specific information from the user, or to notify the user of their choices in an authentication situation. \describe{ \item{\verb{need-password}}{operation requires a password.} \item{\verb{need-username}}{operation requires a username.} \item{\verb{need-domain}}{operation requires a domain.} \item{\verb{saving-supported}}{operation supports saving settings.} \item{\verb{anonymous-supported}}{operation supports anonymous users.} } } \item{\verb{GPasswordSave}}{ \code{\link{GPasswordSave}} is used to indicate the lifespan of a saved password. \verb{Gvfs} stores passwords in the Gnome keyring when this flag allows it to, and later retrieves it again from there. \describe{ \item{\verb{never}}{never save a password.} \item{\verb{for-session}}{save a password for the session.} \item{\verb{permanently}}{save a password permanently.} } } \item{\verb{GMountOperationResult}}{ \code{\link{GMountOperationResult}} is returned as a result when a request for information is send by the mounting operation. \describe{ \item{\verb{handled}}{The request was fulfilled and the user specified data is now available} \item{\verb{aborted}}{The user requested the mount operation to be aborted} \item{\verb{unhandled}}{The request was unhandled (i.e. not implemented)} } } }} \section{Signals}{\describe{ \item{\code{aborted(user.data)}}{ Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in progress. Implementations of GMountOperation should handle this signal by dismissing open password dialogs. Since 2.20 \describe{\item{\code{user.data}}{user data set when the signal handler was connected.}} } \item{\code{ask-password(op, message, default.user, default.domain, flags, user.data)}}{ Emitted when a mount operation asks the user for a password. If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a \code{\link{GtkMessageDialog}}. \describe{ \item{\code{op}}{a \code{\link{GMountOperation}} requesting a password.} \item{\code{message}}{string containing a message to display to the user.} \item{\code{default.user}}{string containing the default user name.} \item{\code{default.domain}}{string containing the default domain.} \item{\code{flags}}{a set of \code{\link{GAskPasswordFlags}}.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{ask-question(op, message, choices, user.data)}}{ Emitted when asking the user a question and gives a list of choices for the user to choose from. If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a \code{\link{GtkMessageDialog}}. \describe{ \item{\code{op}}{a \code{\link{GMountOperation}} asking a question.} \item{\code{message}}{string containing a message to display to the user.} \item{\code{choices}}{a list of strings for each possible choice.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{reply(op, result, user.data)}}{ Emitted when the user has replied to the mount operation. \describe{ \item{\code{op}}{a \code{\link{GMountOperation}}.} \item{\code{result}}{a \code{\link{GMountOperationResult}} indicating how the request was handled} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{show-processes(op, message, processes, choices, user.data)}}{ Emitted when one or more processes are blocking an operation e.g. unmounting/ejecting a \code{\link{GMount}} or stopping a \code{\link{GDrive}}. Note that this signal may be emitted several times to update the list of blocking processes as processes close files. The application should only respond with \code{\link{gMountOperationReply}} to the latest signal (setting \verb{"choice"} to the choice the user made). If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a \code{\link{GtkMessageDialog}}. Since 2.22 \describe{ \item{\code{op}}{a \code{\link{GMountOperation}}.} \item{\code{message}}{string containing a message to display to the user.} \item{\code{processes}}{a list of \verb{GPid} for processes blocking the operation.} \item{\code{choices}}{a list of strings for each possible choice.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{anonymous} [logical : Read / Write]}{ Whether to use an anonymous user when authenticating. Default value: FALSE } \item{\verb{choice} [integer : Read / Write]}{ The index of the user's choice when a question is asked during the mount operation. See the \verb{"ask-question"} signal. Allowed values: >= 0 Default value: 0 } \item{\verb{domain} [character : * : Read / Write]}{ The domain to use for the mount operation. Default value: NULL } \item{\verb{password} [character : * : Read / Write]}{ The password that is used for authentication when carrying out the mount operation. Default value: NULL } \item{\verb{password-save} [\code{\link{GPasswordSave}} : Read / Write]}{ Determines if and how the password information should be saved. Default value: G_PASSWORD_SAVE_NEVER } \item{\verb{username} [character : * : Read / Write]}{ The user name that is used for authentication when carrying out the mount operation. Default value: NULL } }} \references{\url{http://library.gnome.org/devel//gio/GMountOperation.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableInsertText.Rd0000644000176000001440000000130512362217677016562 0ustar ripleyusers\alias{gtkEditableInsertText} \name{gtkEditableInsertText} \title{gtkEditableInsertText} \description{Inserts \code{new.text.length} bytes of \code{new.text} into the contents of the widget, at position \code{position}.} \usage{gtkEditableInsertText(object, new.text, position = 0)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEditable}}} \item{\verb{new.text}}{the text to append} \item{\verb{position}}{location of the position text will be inserted at. \emph{[ \acronym{in-out} ]}} } \details{Note that the position is in characters, not in bytes. The function updates \code{position} to point after the newly inserted text.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextChildAnchorNew.Rd0000644000176000001440000000110512362217677016512 0ustar ripleyusers\alias{gtkTextChildAnchorNew} \name{gtkTextChildAnchorNew} \title{gtkTextChildAnchorNew} \description{Creates a new \code{\link{GtkTextChildAnchor}}. Usually you would then insert it into a \code{\link{GtkTextBuffer}} with \code{\link{gtkTextBufferInsertChildAnchor}}. To perform the creation and insertion in one step, use the convenience function \code{\link{gtkTextBufferCreateChildAnchor}}.} \usage{gtkTextChildAnchorNew()} \value{[\code{\link{GtkTextChildAnchor}}] a new \code{\link{GtkTextChildAnchor}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPanedGetChild2.Rd0000644000176000001440000000063112362217677015535 0ustar ripleyusers\alias{gtkPanedGetChild2} \name{gtkPanedGetChild2} \title{gtkPanedGetChild2} \description{Obtains the second child of the paned widget.} \usage{gtkPanedGetChild2(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaned}} widget}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] second child, or \code{NULL} if it is not set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLines.Rd0000644000176000001440000000126012362217677014667 0ustar ripleyusers\alias{gdkDrawLines} \name{gdkDrawLines} \title{gdkDrawLines} \description{Draws a series of lines connecting the given points. The way in which joins between lines are draw is determined by the \code{\link{GdkCapStyle}} value in the \code{\link{GdkGC}}. This can be set with \code{\link{gdkGCSetLineAttributes}}.} \usage{gdkDrawLines(object, gc, points)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{points}}{a list of \code{\link{GdkPoint}} structures specifying the endpoints of the} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreePostRecursiveToDepth.Rd0000644000176000001440000000165512362217677020057 0ustar ripleyusers\alias{gtkCTreePostRecursiveToDepth} \name{gtkCTreePostRecursiveToDepth} \title{gtkCTreePostRecursiveToDepth} \description{ Recursively apply a function to nodes up to a certain depth. The function is called for each node after it has been called for that node's children. \strong{WARNING: \code{gtk_ctree_post_recursive_to_depth} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreePostRecursiveToDepth(object, node, depth, func, data = NULL)} \arguments{ \item{\verb{object}}{The node where to start.} \item{\verb{node}}{The maximum absolute depth for applying the function. If depth is negative, this function just calls \code{\link{gtkCTreePostRecursive}}.} \item{\verb{depth}}{The function to apply to each node.} \item{\verb{func}}{A closure argument given to each invocation of the function.} \item{\verb{data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetEvents.Rd0000644000176000001440000000073312362217677016073 0ustar ripleyusers\alias{gtkWidgetGetEvents} \name{gtkWidgetGetEvents} \title{gtkWidgetGetEvents} \description{Returns the event mask for the widget (a bitfield containing flags from the \code{\link{GdkEventMask}} enumeration). These are the events that the widget will receive.} \usage{gtkWidgetGetEvents(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[integer] event mask for \code{widget}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageMenuItemNewFromStock.Rd0000644000176000001440000000207012362217677020007 0ustar ripleyusers\alias{gtkImageMenuItemNewFromStock} \name{gtkImageMenuItemNewFromStock} \title{gtkImageMenuItemNewFromStock} \description{Creates a new \code{\link{GtkImageMenuItem}} containing the image and text from a stock item. Some stock ids have preprocessor functions like \verb{GTK_STOCK_OK} and \verb{GTK_STOCK_APPLY}.} \usage{gtkImageMenuItemNewFromStock(stock.id, accel.group, show = TRUE)} \arguments{ \item{\verb{stock.id}}{the name of the stock item.} \item{\verb{accel.group}}{the \code{\link{GtkAccelGroup}} to add the menu items accelerator to, or \code{NULL}.} } \details{If you want this menu item to have changeable accelerators, then pass in \code{NULL} for accel_group. Next call \code{\link{gtkMenuItemSetAccelPath}} with an appropriate path for the menu item, use \code{\link{gtkStockLookup}} to look up the standard accelerator for the stock item, and if one is found, call \code{\link{gtkAccelMapAddEntry}} to register it.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImageMenuItem}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetSortType.Rd0000644000176000001440000000073012362217677017735 0ustar ripleyusers\alias{gtkRecentChooserGetSortType} \name{gtkRecentChooserGetSortType} \title{gtkRecentChooserGetSortType} \description{Gets the value set by \code{\link{gtkRecentChooserSetSortType}}.} \usage{gtkRecentChooserGetSortType(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[\code{\link{GtkRecentSortType}}] the sorting order of the \code{chooser}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectSetParent.Rd0000644000176000001440000000070712362217677016052 0ustar ripleyusers\alias{atkObjectSetParent} \name{atkObjectSetParent} \title{atkObjectSetParent} \description{Sets the accessible parent of the accessible.} \usage{atkObjectSetParent(object, parent)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{parent}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}} to be set as the accessible parent} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTrue.Rd0000644000176000001440000000064312362217677013742 0ustar ripleyusers\alias{gtkTrue} \name{gtkTrue} \title{gtkTrue} \description{All this function does it to return \code{TRUE}. This can be useful for example if you want to inhibit the deletion of a window. Of course you should not do this as the user expects a reaction from clicking the close icon of the window...} \usage{gtkTrue()} \value{[logical] \code{TRUE}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetMnemonicWidget.Rd0000644000176000001440000000234412362217677017350 0ustar ripleyusers\alias{gtkLabelSetMnemonicWidget} \name{gtkLabelSetMnemonicWidget} \title{gtkLabelSetMnemonicWidget} \description{If the label has been set so that it has an mnemonic key (using i.e. \code{\link{gtkLabelSetMarkupWithMnemonic}}, \code{\link{gtkLabelSetTextWithMnemonic}}, \code{\link{gtkLabelNewWithMnemonic}} or the "use_underline" property) the label can be associated with a widget that is the target of the mnemonic. When the label is inside a widget (like a \code{\link{GtkButton}} or a \code{\link{GtkNotebook}} tab) it is automatically associated with the correct widget, but sometimes (i.e. when the target is a \code{\link{GtkEntry}} next to the label) you need to set it explicitly using this function.} \usage{gtkLabelSetMnemonicWidget(object, widget)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{widget}}{the target \code{\link{GtkWidget}}. \emph{[ \acronym{allow-none} ]}} } \details{The target widget will be accelerated by emitting the GtkWidget::mnemonic-activate signal on it. The default handler for this signal will activate the widget if there are no mnemonic collisions and toggle focus between the colliding widgets otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewRemoveColumn.Rd0000644000176000001440000000074312362217677017112 0ustar ripleyusers\alias{gtkTreeViewRemoveColumn} \name{gtkTreeViewRemoveColumn} \title{gtkTreeViewRemoveColumn} \description{Removes \code{column} from \code{tree.view}.} \usage{gtkTreeViewRemoveColumn(object, column)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to remove.} } \value{[integer] The number of columns in \code{tree.view} after removing.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetFile.Rd0000644000176000001440000000427112362217677016502 0ustar ripleyusers\alias{gtkFileChooserSetFile} \name{gtkFileChooserSetFile} \title{gtkFileChooserSetFile} \description{Sets \code{file} as the current filename for the file chooser, by changing to the file's parent folder and actually selecting the file in list. If the \code{chooser} is in \code{GTK_FILE_CHOOSER_ACTION_SAVE} mode, the file's base name will also appear in the dialog's file name entry.} \usage{gtkFileChooserSetFile(object, file, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{file}}{the \code{\link{GFile}} to set as current} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the file name isn't in the current folder of \code{chooser}, then the current folder of \code{chooser} will be changed to the folder containing \code{filename}. This is equivalent to a sequence of \code{\link{gtkFileChooserUnselectAll}} followed by \code{\link{gtkFileChooserSelectFilename}}. Note that the file must exist, or nothing will be done except for the directory change. If you are implementing a \emph{File/Save As...} dialog, you should use this function if you already have a file name to which the user may save; for example, when the user opens an existing file and then does \emph{File/Save As...} on it. If you don't have a file name already -- for example, if the user just created a new file and is saving it for the first time, do not call this function. Instead, use something similar to this: \preformatted{if (document_is_new) { /* the user just created a new document */ gtk_file_chooser_set_current_folder_file (chooser, default_file_for_saving); gtk_file_chooser_set_current_name (chooser, "Untitled document"); } else { /* the user edited an existing document */ gtk_file_chooser_set_file (chooser, existing_file); } } Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if both the folder could be changed and the file was selected successfully, \code{FALSE} otherwise.} \item{\verb{error}}{location to store the error, or \code{NULL} to ignore errors. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetApplicationInfo.Rd0000644000176000001440000000234112362217677020514 0ustar ripleyusers\alias{gtkRecentInfoGetApplicationInfo} \name{gtkRecentInfoGetApplicationInfo} \title{gtkRecentInfoGetApplicationInfo} \description{Gets the data regarding the application that has registered the resource pointed by \code{info}.} \usage{gtkRecentInfoGetApplicationInfo(object, app.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{app.name}}{the name of the application that has registered this item} } \details{If the command line contains any escape characters defined inside the storage specification, they will be expanded. Since 2.10} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if an application with \code{app.name} has registered this resource inside the recently used list, or \code{FALSE} otherwise.} \item{\verb{app.exec}}{return location for the string containing the command line. \emph{[ \acronym{transfer none} ][ \acronym{out} ]}} \item{\verb{count}}{return location for the number of times this item was registered. \emph{[ \acronym{out} ]}} \item{\verb{time.}}{return location for the timestamp this item was last registered for this application. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupSetSensitive.Rd0000644000176000001440000000062412362217677017622 0ustar ripleyusers\alias{gtkActionGroupSetSensitive} \name{gtkActionGroupSetSensitive} \title{gtkActionGroupSetSensitive} \description{Changes the sensitivity of \code{action.group}} \usage{gtkActionGroupSetSensitive(object, sensitive)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{sensitive}}{new sensitivity} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSettingsGetDefault.Rd0000644000176000001440000000077712362217677016600 0ustar ripleyusers\alias{gtkSettingsGetDefault} \name{gtkSettingsGetDefault} \title{gtkSettingsGetDefault} \description{Gets the \code{\link{GtkSettings}} object for the default GDK screen, creating it if necessary. See \code{\link{gtkSettingsGetForScreen}}.} \usage{gtkSettingsGetDefault()} \value{[\code{\link{GtkSettings}}] a \code{\link{GtkSettings}} object. If there is no default screen, then returns \code{NULL}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioButtonNewWithMnemonicFromWidget.Rd0000644000176000001440000000144212362217677022237 0ustar ripleyusers\alias{gtkRadioButtonNewWithMnemonicFromWidget} \name{gtkRadioButtonNewWithMnemonicFromWidget} \title{gtkRadioButtonNewWithMnemonicFromWidget} \description{Creates a new \code{\link{GtkRadioButton}} containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in \code{label} indicate the mnemonic for the button.} \usage{gtkRadioButtonNewWithMnemonicFromWidget(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{widget to get radio group from or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{label}}{the text of the button, with an underscore in front of the mnemonic character} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkRadioButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionSetActive.Rd0000644000176000001440000000064712362217677017216 0ustar ripleyusers\alias{gtkToggleActionSetActive} \name{gtkToggleActionSetActive} \title{gtkToggleActionSetActive} \description{Sets the checked state on the toggle action.} \usage{gtkToggleActionSetActive(object, is.active)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{is.active}}{whether the action should be checked or not} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerChildSet.Rd0000644000176000001440000000072112362217677016362 0ustar ripleyusers\alias{gtkContainerChildSet} \name{gtkContainerChildSet} \title{gtkContainerChildSet} \description{Sets one or more child properties for \code{child} and \code{container}.} \usage{gtkContainerChildSet(object, child, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{child}}{a widget which is a child of \code{container}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellGetTakeFocus.Rd0000644000176000001440000000072712362217677017167 0ustar ripleyusers\alias{gtkMenuShellGetTakeFocus} \name{gtkMenuShellGetTakeFocus} \title{gtkMenuShellGetTakeFocus} \description{Returns \code{TRUE} if the menu shell will take the keyboard focus on popup.} \usage{gtkMenuShellGetTakeFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuShell}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the menu shell will take the keyboard focus on popup.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetRightMargin.Rd0000644000176000001440000000077012362217677017531 0ustar ripleyusers\alias{gtkPageSetupSetRightMargin} \name{gtkPageSetupSetRightMargin} \title{gtkPageSetupSetRightMargin} \description{Sets the right margin of the \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupSetRightMargin(object, margin, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{margin}}{the new right margin in units of \code{unit}} \item{\verb{unit}}{the units for \code{margin}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVfsGetFileForPath.Rd0000644000176000001440000000063512362217677015747 0ustar ripleyusers\alias{gVfsGetFileForPath} \name{gVfsGetFileForPath} \title{gVfsGetFileForPath} \description{Gets a \code{\link{GFile}} for \code{path}.} \usage{gVfsGetFileForPath(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GVfs}}.} \item{\verb{path}}{a string containing a VFS path.} } \value{[\code{\link{GFile}}] a \code{\link{GFile}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcFindPixmapInPath.Rd0000644000176000001440000000126412362217677016453 0ustar ripleyusers\alias{gtkRcFindPixmapInPath} \name{gtkRcFindPixmapInPath} \title{gtkRcFindPixmapInPath} \description{Looks up a file in pixmap path for the specified \code{\link{GtkSettings}}. If the file is not found, it outputs a warning message using \code{gWarning()} and returns \code{NULL}.} \usage{gtkRcFindPixmapInPath(settings, scanner = NULL, pixmap.file)} \arguments{ \item{\verb{settings}}{a \code{\link{GtkSettings}}} \item{\verb{scanner}}{Scanner used to get line number information for the warning message, or \code{NULL}} \item{\verb{pixmap.file}}{name of the pixmap file to locate.} } \value{[character] the filename.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetDefaultSource.Rd0000644000176000001440000000072712362217677021005 0ustar ripleyusers\alias{gtkPrintSettingsSetDefaultSource} \name{gtkPrintSettingsSetDefaultSource} \title{gtkPrintSettingsSetDefaultSource} \description{Sets the value of \code{GTK_PRINT_SETTINGS_DEFAULT_SOURCE}.} \usage{gtkPrintSettingsSetDefaultSource(object, default.source)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{default.source}}{the default source} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowUnmaximize.Rd0000644000176000001440000000130612362217677016336 0ustar ripleyusers\alias{gtkWindowUnmaximize} \name{gtkWindowUnmaximize} \title{gtkWindowUnmaximize} \description{Asks to unmaximize \code{window}. Note that you shouldn't assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the window will end up unmaximized. Just don't write code that crashes if not.} \usage{gtkWindowUnmaximize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{You can track maximization via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetCurrentUri.Rd0000644000176000001440000000067312362217677020254 0ustar ripleyusers\alias{gtkRecentChooserGetCurrentUri} \name{gtkRecentChooserGetCurrentUri} \title{gtkRecentChooserGetCurrentUri} \description{Gets the URI currently selected by \code{chooser}.} \usage{gtkRecentChooserGetCurrentUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[character] a newly allocated string holding a URI.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetSelection.Rd0000644000176000001440000000066712362217677017071 0ustar ripleyusers\alias{gtkTreeViewGetSelection} \name{gtkTreeViewGetSelection} \title{gtkTreeViewGetSelection} \description{Gets the \code{\link{GtkTreeSelection}} associated with \code{tree.view}.} \usage{gtkTreeViewGetSelection(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}} \value{[\code{\link{GtkTreeSelection}}] A \code{\link{GtkTreeSelection}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationIterGetPixbuf.Rd0000644000176000001440000000177112362217677020545 0ustar ripleyusers\alias{gdkPixbufAnimationIterGetPixbuf} \name{gdkPixbufAnimationIterGetPixbuf} \title{gdkPixbufAnimationIterGetPixbuf} \description{Gets the current pixbuf which should be displayed; the pixbuf will be the same size as the animation itself (\code{\link{gdkPixbufAnimationGetWidth}}, \code{\link{gdkPixbufAnimationGetHeight}}). This pixbuf should be displayed for \code{\link{gdkPixbufAnimationIterGetDelayTime}} milliseconds. The caller of this function does not own a reference to the returned pixbuf; the returned pixbuf will become invalid when the iterator advances to the next frame, which may happen anytime you call \code{\link{gdkPixbufAnimationIterAdvance}}. Copy the pixbuf to keep it (don't just add a reference), as it may get recycled as you advance the iterator.} \usage{gdkPixbufAnimationIterGetPixbuf(object)} \arguments{\item{\verb{object}}{an animation iterator}} \value{[\code{\link{GdkPixbuf}}] the pixbuf to be displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapAllocColor.Rd0000644000176000001440000000155212362217677016531 0ustar ripleyusers\alias{gdkColormapAllocColor} \name{gdkColormapAllocColor} \title{gdkColormapAllocColor} \description{Allocates a single color from a colormap.} \usage{gdkColormapAllocColor(object, color, writeable, best.match)} \arguments{ \item{\verb{object}}{a \code{\link{GdkColormap}}.} \item{\verb{color}}{the color to allocate. On return the \code{pixel} field will be filled in if allocation succeeds.} \item{\verb{writeable}}{If \code{TRUE}, the color is allocated writeable (their values can later be changed using \code{\link{gdkColorChange}}). Writeable colors cannot be shared between applications.} \item{\verb{best.match}}{If \code{TRUE}, GDK will attempt to do matching against existing colors if the color cannot be allocated as requested.} } \value{[logical] \code{TRUE} if the allocation succeeded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrStrikethroughNew.Rd0000644000176000001440000000072112362217677017506 0ustar ripleyusers\alias{pangoAttrStrikethroughNew} \name{pangoAttrStrikethroughNew} \title{pangoAttrStrikethroughNew} \description{Create a new strike-through attribute.} \usage{pangoAttrStrikethroughNew(strikethrough)} \arguments{\item{\verb{strikethrough}}{[logical] \code{TRUE} if the text should be struck-through.}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowStick.Rd0000644000176000001440000000144012362217677015244 0ustar ripleyusers\alias{gdkWindowStick} \name{gdkWindowStick} \title{gdkWindowStick} \description{"Pins" a window such that it's on all workspaces and does not scroll with viewports, for window managers that have scrollable viewports. (When using \code{\link{GtkWindow}}, \code{\link{gtkWindowStick}} may be more useful.)} \usage{gdkWindowStick(object)} \arguments{\item{\verb{object}}{a toplevel \code{\link{GdkWindow}}}} \details{On the X11 platform, this function depends on window manager support, so may have no effect with many window managers. However, GDK will do the best it can to convince the window manager to stick the window. For window managers that don't support this operation, there's nothing you can do to force it to happen.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarGetNthItem.Rd0000644000176000001440000000113112362217677016347 0ustar ripleyusers\alias{gtkToolbarGetNthItem} \name{gtkToolbarGetNthItem} \title{gtkToolbarGetNthItem} \description{Returns the \code{n}'th item on \code{toolbar}, or \code{NULL} if the toolbar does not contain an \code{n}'th item.} \usage{gtkToolbarGetNthItem(object, n)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}} \item{\verb{n}}{A position on the toolbar} } \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] The \code{n}'th \code{\link{GtkToolItem}} on \code{toolbar}, or \code{NULL} if there isn't an \code{n}'th item.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetWidth.Rd0000644000176000001440000000111212362217677016263 0ustar ripleyusers\alias{pangoLayoutSetWidth} \name{pangoLayoutSetWidth} \title{pangoLayoutSetWidth} \description{Sets the width to which the lines of the \code{\link{PangoLayout}} should wrap or ellipsized. The default value is -1: no width set.} \usage{pangoLayoutSetWidth(object, width)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}.} \item{\verb{width}}{[integer] the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetValue.Rd0000644000176000001440000000061612362217677016703 0ustar ripleyusers\alias{gtkScaleButtonGetValue} \name{gtkScaleButtonGetValue} \title{gtkScaleButtonGetValue} \description{Gets the current value of the scale button.} \usage{gtkScaleButtonGetValue(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.12} \value{[numeric] current value of the scale button} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveIsMediaCheckAutomatic.Rd0000644000176000001440000000076512362217677017603 0ustar ripleyusers\alias{gDriveIsMediaCheckAutomatic} \name{gDriveIsMediaCheckAutomatic} \title{gDriveIsMediaCheckAutomatic} \description{Checks if \code{drive} is capabable of automatically detecting media changes.} \usage{gDriveIsMediaCheckAutomatic(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if the \code{drive} is capabable of automatically detecting media changes, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GTK.Rd0000644000176000001440000003422212362217677012742 0ustar ripleyusers\alias{GTK} \name{GTK} \title{GTK} \description{The GTK+ library itself contains widgets, that is, GUI components such as \code{\link{GtkButton}} or \code{\link{GtkTextView}}.} \details{ The RGtk binding to the GTK library consists of the following components: \describe{ \item{\link{chap-drawing-model}}{ The GTK+ drawing model in detail} \item{\link{gtk-Filesystem-utilities}}{Functions for working with GIO} \item{\link{GtkAboutDialog}}{Display information about an application} \item{\link{gtk-Keyboard-Accelerators}}{Groups of global keyboard accelerators for an entire GtkWindow} \item{\link{GtkAccelLabel}}{A label which displays an accelerator key on the right of the text} \item{\link{gtk-Accelerator-Maps}}{Loadable keyboard accelerator specifications} \item{\link{GtkAccessible}}{Accessibility support for widgets} \item{\link{GtkAction}}{An action which can be triggered by a menu or toolbar item} \item{\link{GtkActionGroup}}{A group of actions} \item{\link{GtkActivatable}}{An interface for activatable widgets} \item{\link{GtkAdjustment}}{A GtkObject representing an adjustable bounded value} \item{\link{GtkAlignment}}{A widget which controls the alignment and size of its child} \item{\link{GtkArrow}}{Displays an arrow} \item{\link{GtkAspectFrame}}{A frame that constrains its child to a particular aspect ratio} \item{\link{GtkAssistant}}{A widget used to guide users through multi-step operations} \item{\link{GtkButtonBox}}{Base class for GtkHButtonBox and GtkVButtonBox} \item{\link{GtkBin}}{A container with just one child} \item{\link{GtkBox}}{Base class for box containers} \item{\link{gtk-gtkbuildable}}{Interface for objects that can be built by GtkBuilder} \item{\link{GtkBuilder}}{Build an interface from an XML UI definition} \item{\link{GtkButton}}{A widget that creates a signal when clicked on} \item{\link{GtkCalendar}}{Displays a calendar and allows the user to select a date} \item{\link{GtkCellEditable}}{Interface for widgets which can are used for editing cells} \item{\link{GtkCellLayout}}{An interface for packing cells} \item{\link{GtkCellRenderer}}{An object for rendering a single cell on a GdkDrawable} \item{\link{GtkCellRendererAccel}}{Renders a keyboard accelerator in a cell} \item{\link{GtkCellRendererCombo}}{Renders a combobox in a cell} \item{\link{GtkCellRendererPixbuf}}{Renders a pixbuf in a cell} \item{\link{GtkCellRendererProgress}}{Renders numbers as progress bars} \item{\link{GtkCellRendererSpin}}{Renders a spin button in a cell} \item{\link{GtkCellRendererSpinner}}{Renders a spinning animation in a cell} \item{\link{GtkCellRendererText}}{Renders text in a cell} \item{\link{GtkCellRendererToggle}}{Renders a toggle button in a cell} \item{\link{GtkCellView}}{A widget displaying a single row of a GtkTreeModel} \item{\link{GtkCheckButton}}{Create widgets with a discrete toggle button} \item{\link{gtk-gtkcheckmenuitem}}{A menu item with a check box} \item{\link{gtk-Clipboards}}{Storing data on clipboards} \item{\link{GtkCList}}{A multi-columned scrolling list widget} \item{\link{GtkColorButton}}{A button to launch a color selection dialog} \item{\link{GtkColorSelection}}{A widget used to select a color} \item{\link{GtkColorSelectionDialog}}{A standard dialog box for selecting a color} \item{\link{GtkCombo}}{A text entry field with a dropdown list} \item{\link{GtkComboBox}}{A widget used to choose from a list of items} \item{\link{GtkComboBoxEntry}}{A text entry field with a dropdown list} \item{\link{GtkContainer}}{Base class for widgets which contain other widgets} \item{\link{GtkCTree}}{A widget displaying a hierarchical tree} \item{\link{GtkCurve}}{Allows direct editing of a curve} \item{\link{GtkDialog}}{Create popup windows} \item{\link{gtk-Drag-and-Drop}}{Functions for controlling drag and drop handling} \item{\link{GtkDrawingArea}}{A widget for custom user interface elements} \item{\link{GtkEditable}}{Interface for text-editing widgets} \item{\link{GtkEntry}}{A single line text entry field} \item{\link{GtkEntryBuffer}}{Text buffer for GtkEntry} \item{\link{GtkEntryCompletion}}{Completion functionality for GtkEntry} \item{\link{gtk-Standard-Enumerations}}{Public enumerated types used throughout GTK+} \item{\link{GtkEventBox}}{A widget used to catch events for widgets which do not have their own window} \item{\link{GtkExpander}}{A container which can hide its child} \item{\link{GtkFileChooser}}{File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog} \item{\link{GtkFileChooserButton}}{A button to launch a file selection dialog} \item{\link{GtkFileChooserDialog}}{A file chooser dialog, suitable for "File/Open" or "File/Save" commands} \item{\link{GtkFileChooserWidget}}{File chooser widget that can be embedded in other widgets} \item{\link{gtk-gtkfilefilter}}{A filter for selecting a file subset} \item{\link{GtkFileSelection}}{Prompt the user for a file or directory name} \item{\link{GtkFixed}}{A container which allows you to position widgets at fixed coordinates} \item{\link{GtkFontButton}}{A button to launch a font selection dialog} \item{\link{GtkFontSelection}}{A widget for selecting fonts} \item{\link{GtkFontSelectionDialog}}{A dialog box for selecting fonts} \item{\link{GtkFrame}}{A bin with a decorative frame and optional label} \item{\link{GtkGammaCurve}}{A subclass of GtkCurve for editing gamma curves} \item{\link{gtk-Graphics-Contexts}}{A shared pool of GdkGC objects} \item{\link{GtkHandleBox}}{a widget for detachable window portions} \item{\link{GtkHButtonBox}}{A container for arranging buttons horizontally} \item{\link{GtkHBox}}{A horizontal container box} \item{\link{GtkHPaned}}{A container with two panes arranged horizontally} \item{\link{GtkHRuler}}{A horizontal ruler} \item{\link{GtkHScale}}{A horizontal slider widget for selecting a value from a range} \item{\link{GtkHScrollbar}}{A horizontal scrollbar} \item{\link{GtkHSeparator}}{A horizontal separator} \item{\link{GtkHSV}}{A 'color wheel' widget} \item{\link{gtk-Themeable-Stock-Images}}{Manipulating stock icons} \item{\link{GtkIconTheme}}{Looking up icons by name} \item{\link{GtkIconView}}{A widget which displays a list of icons in a grid} \item{\link{GtkImage}}{A widget displaying an image} \item{\link{GtkImageMenuItem}}{A menu item with an icon} \item{\link{GtkIMContext}}{Base class for input method contexts} \item{\link{GtkIMContextSimple}}{An input method context supporting table-based input methods} \item{\link{GtkIMMulticontext}}{An input method context supporting multiple, loadable input methods} \item{\link{GtkInfoBar}}{Report important messages to the user} \item{\link{GtkInputDialog}}{Configure devices for the XInput extension} \item{\link{GtkInvisible}}{A widget which is not displayed} \item{\link{GtkItem}}{Abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem} \item{\link{GtkItemFactory}}{A factory for menus} \item{\link{GtkLabel}}{A widget that displays a small to medium amount of text} \item{\link{GtkLayout}}{Infinite scrollable area containing child widgets and/or custom drawing} \item{\link{GtkLinkButton}}{Create buttons bound to a URL} \item{\link{GtkList}}{Widget for packing a list of selectable items} \item{\link{GtkListItem}}{An item in a GtkList} \item{\link{GtkListStore}}{A list-like data structure that can be used with the GtkTreeView} \item{\link{gtk-General}}{Library initialization, main event loop, and events} \item{\link{GtkMenu}}{A menu widget} \item{\link{GtkMenuBar}}{A subclass widget for GtkMenuShell which holds GtkMenuItem widgets} \item{\link{GtkMenuItem}}{The widget used for item in menus} \item{\link{GtkMenuShell}}{A base class for menu objects} \item{\link{GtkMenuToolButton}}{A GtkToolItem containing a button with an additional dropdown menu} \item{\link{GtkMessageDialog}}{A convenient message window} \item{\link{GtkMisc}}{Base class for widgets with alignments and padding} \item{\link{GtkNotebook}}{A tabbed notebook container} \item{\link{GtkOffscreenWindow}}{A toplevel container widget used to manage offscreen rendering of child widgets.} \item{\link{GtkOldEditable}}{Base class for text-editing widgets} \item{\link{GtkOptionMenu}}{A widget used to choose from a list of valid choices} \item{\link{gtk-Orientable}}{An interface for flippable widgets} \item{\link{GtkPageSetup}}{Stores page setup information} \item{\link{GtkPaned}}{Base class for widgets with two adjustable panes} \item{\link{GtkPaperSize}}{Support for named paper sizes} \item{\link{GtkPixmap}}{A widget displaying a graphical image or icon} \item{\link{GtkPlug}}{Toplevel for embedding into other processes} \item{\link{GtkPreview}}{A widget to display RGB or grayscale data} \item{\link{GtkPrintContext}}{Encapsulates context for drawing pages} \item{\link{gtk-High-level-Printing-API}}{High-level Printing API} \item{\link{GtkPrintSettings}}{Stores print settings} \item{\link{GtkProgress}}{Base class for GtkProgressBar} \item{\link{GtkProgressBar}}{A widget which indicates progress visually} \item{\link{GtkRadioAction}}{An action of which only one in a group can be active} \item{\link{GtkRadioButton}}{A choice from multiple check buttons} \item{\link{GtkRadioMenuItem}}{A choice from multiple check menu items} \item{\link{GtkRadioToolButton}}{A toolbar item that contains a radio button} \item{\link{GtkRange}}{Base class for widgets which visualize an adjustment} \item{\link{gtk-Resource-Files}}{Routines for handling resource files} \item{\link{GtkRecentAction}}{An action of which represents a list of recently used files} \item{\link{GtkRecentChooser}}{Interface implemented by widgets displaying recently used files} \item{\link{GtkRecentChooserDialog}}{Displays recently used files in a dialog} \item{\link{GtkRecentChooserMenu}}{Displays recently used files in a menu} \item{\link{GtkRecentChooserWidget}}{Displays recently used files} \item{\link{GtkRecentFilter}}{A filter for selecting a subset of recently used files} \item{\link{GtkRecentManager}}{Managing Recently Used Files} \item{\link{GtkRuler}}{Base class for horizontal or vertical rulers} \item{\link{GtkScale}}{Base class for GtkHScale and GtkVScale} \item{\link{GtkScaleButton}}{A button which pops up a scale} \item{\link{GtkScrollbar}}{Base class for GtkHScrollbar and GtkVScrollbar} \item{\link{GtkScrolledWindow}}{Adds scrollbars to its child widget} \item{\link{gtk-Selections}}{Functions for handling inter-process communication via selections} \item{\link{GtkSeparator}}{Base class for GtkHSeparator and GtkVSeparator} \item{\link{GtkSeparatorMenuItem}}{A separator used in menus} \item{\link{GtkSeparatorToolItem}}{A toolbar item that separates groups of other toolbar items} \item{\link{GtkSettings}}{Sharing settings between applications} \item{\link{GtkSizeGroup}}{Grouping widgets so they request the same size} \item{\link{GtkSocket}}{Container for widgets from other processes} \item{\link{GtkSpinButton}}{Retrieve an integer or floating-point number from the user} \item{\link{GtkSpinner}}{Show a spinner animation} \item{\link{GtkStatusbar}}{Report messages of minor importance to the user} \item{\link{GtkStatusIcon}}{Display an icon in the system tray} \item{\link{gtk-Stock-Items}}{Prebuilt common menu/toolbar items and corresponding icons} \item{\link{GtkStyle}}{Functions for drawing widget parts} \item{\link{GtkTable}}{Pack widgets in regular patterns} \item{\link{GtkTearoffMenuItem}}{A menu item used to tear off and reattach its menu} \item{\link{gtk-Testing}}{Utilities for testing GTK+ applications} \item{\link{GtkTextBuffer}}{Stores attributed text for display in a GtkTextView} \item{\link{GtkTextIter}}{Text buffer iterator} \item{\link{GtkTextMark}}{A position in the buffer preserved across buffer modifications} \item{\link{GtkTextTag}}{A tag that can be applied to text in a GtkTextBuffer} \item{\link{GtkTextTagTable}}{Collection of tags that can be used together} \item{\link{GtkTextView}}{Widget that displays a GtkTextBuffer} \item{\link{GtkTipsQuery}}{Displays help about widgets in the user interface} \item{\link{GtkToggleAction}}{An action which can be toggled between two states} \item{\link{GtkToggleButton}}{Create buttons which retain their state} \item{\link{GtkToggleToolButton}}{A GtkToolItem containing a toggle button} \item{\link{GtkToolbar}}{Create bars of buttons and other widgets} \item{\link{GtkToolButton}}{A GtkToolItem subclass that displays buttons} \item{\link{GtkToolItem}}{The base class of widgets that can be added to GtkToolShell} \item{\link{GtkToolItemGroup}}{A sub container used in a tool palette} \item{\link{GtkToolPalette}}{A tool palette with categories} \item{\link{GtkToolShell}}{Interface for containers containing GtkToolItem widgets} \item{\link{GtkTooltip}}{Add tips to your widgets} \item{\link{GtkTooltips}}{Add tips to your widgets} \item{\link{gtk-GtkTreeView-drag-and-drop}}{Interfaces for drag-and-drop support in GtkTreeView} \item{\link{GtkTreeModel}}{The tree interface used by GtkTreeView} \item{\link{GtkTreeModelFilter}}{A GtkTreeModel which hides parts of an underlying tree model} \item{\link{GtkTreeModelSort}}{A GtkTreeModel which makes an underlying tree model sortable} \item{\link{GtkTreeSelection}}{The selection object for GtkTreeView} \item{\link{GtkTreeSortable}}{The interface for sortable models used by GtkTreeView} \item{\link{GtkTreeStore}}{A tree-like data structure that can be used with the GtkTreeView} \item{\link{GtkTreeView}}{A widget for displaying both trees and lists} \item{\link{GtkTreeViewColumn}}{A visible column in a GtkTreeView widget} \item{\link{GtkUIManager}}{Constructing menus and toolbars from an XML description} \item{\link{GtkVButtonBox}}{A container for arranging buttons vertically} \item{\link{GtkVBox}}{A vertical container box} \item{\link{GtkViewport}}{An adapter which makes widgets scrollable} \item{\link{GtkVolumeButton}}{A button which pops up a volume control} \item{\link{GtkVPaned}}{A container with two panes arranged vertically} \item{\link{GtkVRuler}}{A vertical ruler} \item{\link{GtkVScale}}{A vertical slider widget for selecting a value from a range} \item{\link{GtkVScrollbar}}{A vertical scrollbar} \item{\link{GtkVSeparator}}{A vertical separator} \item{\link{GtkWidget}}{Base class for all widgets} \item{\link{GtkWindow}}{Toplevel which can contain other widgets} \item{\link{GtkWindowGroup}}{Limit the effect of grabs} } } \references{\url{http://library.gnome.org/devel//gtk}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{interface} RGtk2/man/gtkIconViewGetDragDestItem.Rd0000644000176000001440000000123012362217677017434 0ustar ripleyusers\alias{gtkIconViewGetDragDestItem} \name{gtkIconViewGetDragDestItem} \title{gtkIconViewGetDragDestItem} \description{Gets information about the item that is highlighted for feedback.} \usage{gtkIconViewGetDragDestItem(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.8} \value{ A list containing the following elements: \item{\verb{path}}{Return location for the path of the highlighted item, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pos}}{Return location for the drop position, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromIconName.Rd0000644000176000001440000000127512362217677016757 0ustar ripleyusers\alias{gtkImageNewFromIconName} \name{gtkImageNewFromIconName} \title{gtkImageNewFromIconName} \description{Creates a \code{\link{GtkImage}} displaying an icon from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.} \usage{gtkImageNewFromIconName(icon.name, size)} \arguments{ \item{\verb{icon.name}}{an icon name} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.6} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}} displaying the themed icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetVisibleLineIndex.Rd0000644000176000001440000000106112362217677020344 0ustar ripleyusers\alias{gtkTextIterGetVisibleLineIndex} \name{gtkTextIterGetVisibleLineIndex} \title{gtkTextIterGetVisibleLineIndex} \description{Returns the number of bytes from the start of the line to the given \code{iter}, not counting bytes that are invisible due to tags with the "invisible" flag toggled on.} \usage{gtkTextIterGetVisibleLineIndex(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[integer] byte index of \code{iter} with respect to the start of the line} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListAddTable.Rd0000644000176000001440000000064312362217677016466 0ustar ripleyusers\alias{gtkTargetListAddTable} \name{gtkTargetListAddTable} \title{gtkTargetListAddTable} \description{Prepends a table of \code{\link{GtkTargetEntry}} to a target list.} \usage{gtkTargetListAddTable(object, targets)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTargetList}}} \item{\verb{targets}}{the table of \code{\link{GtkTargetEntry}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeMonitorGetVolumes.Rd0000644000176000001440000000061312362217677017313 0ustar ripleyusers\alias{gVolumeMonitorGetVolumes} \name{gVolumeMonitorGetVolumes} \title{gVolumeMonitorGetVolumes} \description{Gets a list of the volumes on the system.} \usage{gVolumeMonitorGetVolumes(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolumeMonitor}}.}} \value{[list] a \verb{list} of \code{\link{GVolume}} objects.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkEditableTextDeleteText.Rd0000644000176000001440000000100612362217677017355 0ustar ripleyusers\alias{atkEditableTextDeleteText} \name{atkEditableTextDeleteText} \title{atkEditableTextDeleteText} \description{Delete text \code{start.pos} up to, but not including \code{end.pos}.} \usage{atkEditableTextDeleteText(object, start.pos, end.pos)} \arguments{ \item{\verb{object}}{[\code{\link{AtkEditableText}}] an \code{\link{AtkEditableText}}} \item{\verb{start.pos}}{[integer] start position} \item{\verb{end.pos}}{[integer] end position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragFindWindow.Rd0000644000176000001440000000204612362217677015650 0ustar ripleyusers\alias{gdkDragFindWindow} \name{gdkDragFindWindow} \title{gdkDragFindWindow} \description{Finds the destination window and DND protocol to use at the given pointer position.} \usage{gdkDragFindWindow(object, drag.window, x.root, y.root)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{drag.window}}{a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon.} \item{\verb{x.root}}{the x position of the pointer in root coordinates.} \item{\verb{y.root}}{the y position of the pointer in root coordinates.} } \details{This function is called by the drag source to obtain the \code{dest.window} and \code{protocol} parameters for \code{\link{gdkDragMotion}}.} \value{ A list containing the following elements: \item{\verb{dest.window}}{location to store the destination window in. \emph{[ \acronym{out} ]}} \item{\verb{protocol}}{location to store the DND protocol in. \emph{[ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetFocusChild.Rd0000644000176000001440000000076712362217677017360 0ustar ripleyusers\alias{gtkContainerGetFocusChild} \name{gtkContainerGetFocusChild} \title{gtkContainerGetFocusChild} \description{Returns the current focus child widget inside \code{container}.} \usage{gtkContainerGetFocusChild(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] The child widget which has the focus inside \code{container}, or \code{NULL} if none is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemDeselect.Rd0000644000176000001440000000053712362217677016221 0ustar ripleyusers\alias{gtkMenuItemDeselect} \name{gtkMenuItemDeselect} \title{gtkMenuItemDeselect} \description{Emits the "deselect" signal on the given item. Behaves exactly like \code{\link{gtkItemDeselect}}.} \usage{gtkMenuItemDeselect(object)} \arguments{\item{\verb{object}}{the menu item}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetLower.Rd0000644000176000001440000000062712362217677016614 0ustar ripleyusers\alias{gtkAdjustmentGetLower} \name{gtkAdjustmentGetLower} \title{gtkAdjustmentGetLower} \description{Retrieves the minimum value of the adjustment.} \usage{gtkAdjustmentGetLower(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \details{Since 2.14} \value{[numeric] The current minimum value of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImagePutPixel.Rd0000644000176000001440000000074712362217677015525 0ustar ripleyusers\alias{gdkImagePutPixel} \name{gdkImagePutPixel} \title{gdkImagePutPixel} \description{Sets a pixel in a \code{\link{GdkImage}} to a given pixel value.} \usage{gdkImagePutPixel(object, x, y, pixel)} \arguments{ \item{\verb{object}}{a \code{\link{GdkImage}}.} \item{\verb{x}}{the x coordinate of the pixel to set.} \item{\verb{y}}{the y coordinate of the pixel to set.} \item{\verb{pixel}}{the pixel value to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontButtonGetUseSize.Rd0000644000176000001440000000065212362217677017075 0ustar ripleyusers\alias{gtkFontButtonGetUseSize} \name{gtkFontButtonGetUseSize} \title{gtkFontButtonGetUseSize} \description{Returns whether the selected size is used in the label.} \usage{gtkFontButtonGetUseSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontButton}}}} \details{Since 2.4} \value{[logical] whether the selected size is used in the label.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetNPages.Rd0000644000176000001440000000060112362217677016333 0ustar ripleyusers\alias{gtkNotebookGetNPages} \name{gtkNotebookGetNPages} \title{gtkNotebookGetNPages} \description{Gets the number of pages in a notebook.} \usage{gtkNotebookGetNPages(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \details{Since 2.2} \value{[integer] the number of pages in the notebook.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddRadioActionsFull.Rd0000644000176000001440000000145212362217677021010 0ustar ripleyusers\alias{gtkActionGroupAddRadioActionsFull} \name{gtkActionGroupAddRadioActionsFull} \title{gtkActionGroupAddRadioActionsFull} \description{This variant of \code{\link{gtkActionGroupAddRadioActions}} adds a \verb{GDestroyNotify} callback for \code{user.data}.} \usage{gtkActionGroupAddRadioActionsFull(object, entries, value, on.change = NULL, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of radio action descriptions} \item{\verb{value}}{the value of the action to activate initially, or -1 if no action should be activated} \item{\verb{on.change}}{the callback to connect to the changed signal} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentActionGetShowNumbers.Rd0000644000176000001440000000072012362217677020232 0ustar ripleyusers\alias{gtkRecentActionGetShowNumbers} \name{gtkRecentActionGetShowNumbers} \title{gtkRecentActionGetShowNumbers} \description{Returns the value set by \code{\link{gtkRecentChooserMenuSetShowNumbers}}.} \usage{gtkRecentActionGetShowNumbers(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentAction}}}} \details{Since 2.12} \value{[logical] \code{TRUE} if numbers should be shown.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeIsCustom.Rd0000644000176000001440000000062512362217677016414 0ustar ripleyusers\alias{gtkPaperSizeIsCustom} \name{gtkPaperSizeIsCustom} \title{gtkPaperSizeIsCustom} \description{Returns \code{TRUE} if \code{size} is not a standard paper size.} \usage{gtkPaperSizeIsCustom(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaperSize}} object}} \value{[logical] whether \code{size} is a custom paper size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetAutoDir.Rd0000644000176000001440000000245112362217677016562 0ustar ripleyusers\alias{pangoLayoutSetAutoDir} \name{pangoLayoutSetAutoDir} \title{pangoLayoutSetAutoDir} \description{Sets whether to calculate the bidirectional base direction for the layout according to the contents of the layout; when this flag is on (the default), then paragraphs in \code{layout} that begin with strong right-to-left characters (Arabic and Hebrew principally), will have right-to-left layout, paragraphs with letters from other scripts will have left-to-right layout. Paragraphs with only neutral characters get their direction from the surrounding paragraphs.} \usage{pangoLayoutSetAutoDir(object, auto.dir)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{auto.dir}}{[logical] if \code{TRUE}, compute the bidirectional base direction from the layout's contents.} } \details{When \code{FALSE}, the choice between left-to-right and right-to-left layout is done according to the base direction of the layout's \code{\link{PangoContext}}. (See \code{\link{pangoContextSetBaseDir}}). When the auto-computed direction of a paragraph differs from the base direction of the context, the interpretation of \code{PANGO_ALIGN_LEFT} and \code{PANGO_ALIGN_RIGHT} are swapped. Since 1.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeMatcherMatches.Rd0000644000176000001440000000117712362217677020043 0ustar ripleyusers\alias{gFileAttributeMatcherMatches} \name{gFileAttributeMatcherMatches} \title{gFileAttributeMatcherMatches} \description{Checks if an attribute will be matched by an attribute matcher. If the matcher was created with the "*" matching string, this function will always return \code{TRUE}.} \usage{gFileAttributeMatcherMatches(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileAttributeMatcher}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[logical] \code{TRUE} if \code{attribute} matches \code{matcher}. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoDelete.Rd0000644000176000001440000000105512362217677015141 0ustar ripleyusers\alias{gAppInfoDelete} \name{gAppInfoDelete} \title{gAppInfoDelete} \description{Tries to delete a \code{\link{GAppInfo}}.} \usage{gAppInfoDelete(object)} \arguments{\item{\verb{object}}{a \code{\link{GAppInfo}}}} \details{On some platforms, there may be a difference between user-defined \code{\link{GAppInfo}}s which can be deleted, and system-wide ones which cannot. See \code{\link{gAppInfoCanDelete}}. Since 2.20} \value{[logical] \code{TRUE} if \code{appinfo} has been deleted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGroupSetCollapsed.Rd0000644000176000001440000000074612362217677020103 0ustar ripleyusers\alias{gtkToolItemGroupSetCollapsed} \name{gtkToolItemGroupSetCollapsed} \title{gtkToolItemGroupSetCollapsed} \description{Sets whether the \code{group} should be collapsed or expanded.} \usage{gtkToolItemGroupSetCollapsed(object, collapsed)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItemGroup}}} \item{\verb{collapsed}}{whether the \code{group} should be collapsed or expanded} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkProgressBarPulse.Rd0000644000176000001440000000113612362217677016263 0ustar ripleyusers\alias{gtkProgressBarPulse} \name{gtkProgressBarPulse} \title{gtkProgressBarPulse} \description{Indicates that some progress is made, but you don't know how much. Causes the progress bar to enter "activity mode," where a block bounces back and forth. Each call to \code{\link{gtkProgressBarPulse}} causes the block to move by a little bit (the amount of movement per pulse is determined by \code{\link{gtkProgressBarSetPulseStep}}).} \usage{gtkProgressBarPulse(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkProgressBar}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GMemoryInputStream.Rd0000644000176000001440000000245612362217677016074 0ustar ripleyusers\alias{GMemoryInputStream} \alias{gMemoryInputStream} \name{GMemoryInputStream} \title{GMemoryInputStream} \description{Streaming input operations on memory chunks} \section{Methods and Functions}{ \code{\link{gMemoryInputStreamNew}()}\cr \code{\link{gMemoryInputStreamNewFromData}(data)}\cr \code{\link{gMemoryInputStreamAddData}(object, data)}\cr \code{gMemoryInputStream(data)} } \section{Hierarchy}{\preformatted{GObject +----GInputStream +----GMemoryInputStream}} \section{Interfaces}{GMemoryInputStream implements \code{\link{GSeekable}}.} \section{Detailed Description}{\code{\link{GMemoryInputStream}} is a class for using arbitrary memory chunks as input for GIO streaming input operations.} \section{Structures}{\describe{\item{\verb{GMemoryInputStream}}{ Implements \code{\link{GInputStream}} for arbitrary memory chunks. }}} \section{Convenient Construction}{\code{gMemoryInputStream} is the result of collapsing the constructors of \code{GMemoryInputStream} (\code{\link{gMemoryInputStreamNew}}, \code{\link{gMemoryInputStreamNewFromData}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gio/GMemoryInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetResolution.Rd0000644000176000001440000000102712362217677020375 0ustar ripleyusers\alias{gtkPrintSettingsSetResolution} \name{gtkPrintSettingsSetResolution} \title{gtkPrintSettingsSetResolution} \description{Sets the values of \code{GTK_PRINT_SETTINGS_RESOLUTION}, \code{GTK_PRINT_SETTINGS_RESOLUTION_X} and \code{GTK_PRINT_SETTINGS_RESOLUTION_Y}.} \usage{gtkPrintSettingsSetResolution(object, resolution)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{resolution}}{the resolution in dpi} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRegistryGetFactory.Rd0000644000176000001440000000130012362217677016604 0ustar ripleyusers\alias{atkRegistryGetFactory} \name{atkRegistryGetFactory} \title{atkRegistryGetFactory} \description{Gets an \code{\link{AtkObjectFactory}} appropriate for creating \verb{AtkObjects} appropriate for \code{type}.} \usage{atkRegistryGetFactory(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRegistry}}] an \code{\link{AtkRegistry}}} \item{\verb{type}}{[\code{\link{GType}}] a \code{\link{GType}} with which to look up the associated \code{\link{AtkObjectFactory}}} } \value{[\code{\link{AtkObjectFactory}}] an \code{\link{AtkObjectFactory}} appropriate for creating \verb{AtkObjects} appropriate for \code{type}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAspectFrameNew.Rd0000644000176000001440000000171112362217677015664 0ustar ripleyusers\alias{gtkAspectFrameNew} \name{gtkAspectFrameNew} \title{gtkAspectFrameNew} \description{Create a new \code{\link{GtkAspectFrame}}.} \usage{gtkAspectFrameNew(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)} \arguments{ \item{\verb{label}}{Label text.} \item{\verb{xalign}}{Horizontal alignment of the child within the allocation of the \code{\link{GtkAspectFrame}}. This ranges from 0.0 (left aligned) to 1.0 (right aligned)} \item{\verb{yalign}}{Vertical alignment of the child within the allocation of the \code{\link{GtkAspectFrame}}. This ranges from 0.0 (left aligned) to 1.0 (right aligned)} \item{\verb{ratio}}{The desired aspect ratio.} \item{\verb{obey.child}}{If \code{TRUE}, \code{ratio} is ignored, and the aspect ratio is taken from the requistion of the child.} } \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkAspectFrame}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVScrollbar.Rd0000644000176000001440000000302112362217677015025 0ustar ripleyusers\alias{GtkVScrollbar} \alias{gtkVScrollbar} \name{GtkVScrollbar} \title{GtkVScrollbar} \description{A vertical scrollbar} \section{Methods and Functions}{ \code{\link{gtkVScrollbarNew}(adjustment = NULL, show = TRUE)}\cr \code{gtkVScrollbar(adjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScrollbar +----GtkVScrollbar}} \section{Interfaces}{GtkVScrollbar implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkVScrollbar}} widget is a widget arranged vertically creating a scrollbar. See \code{\link{GtkScrollbar}} for details on scrollbars. \code{\link{GtkAdjustment}} pointers may be added to handle the adjustment of the scrollbar or it may be left \code{NULL} in which case one will be created for you. See \code{\link{GtkScrollbar}} for a description of what the fields in an adjustment represent for a scrollbar.} \section{Structures}{\describe{\item{\verb{GtkVScrollbar}}{ The \code{\link{GtkVScrollbar}} struct contains private data and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkVScrollbar} is the equivalent of \code{\link{gtkVScrollbarNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVScrollbar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextGetPreeditString.Rd0000644000176000001440000000161612362217677020042 0ustar ripleyusers\alias{gtkIMContextGetPreeditString} \name{gtkIMContextGetPreeditString} \title{gtkIMContextGetPreeditString} \description{Retrieve the current preedit string for the input context, and a list of attributes to apply to the string. This string should be displayed inserted at the insertion point.} \usage{gtkIMContextGetPreeditString(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMContext}}}} \value{ A list containing the following elements: \item{\verb{str}}{location to store the retrieved string. The string retrieved must be freed with \code{gFree()}.} \item{\verb{attrs}}{location to store the retrieved attribute list. When you are done with this list, you must unreference it with \code{pangoAttrListUnref()}.} \item{\verb{cursor.pos}}{location to store position of cursor (in characters) within the preedit string.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetRestrictToFillLevel.Rd0000644000176000001440000000071712362217677020343 0ustar ripleyusers\alias{gtkRangeGetRestrictToFillLevel} \name{gtkRangeGetRestrictToFillLevel} \title{gtkRangeGetRestrictToFillLevel} \description{Gets whether the range is restricted to the fill level.} \usage{gtkRangeGetRestrictToFillLevel(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkRange}}}} \details{Since 2.12} \value{[logical] \code{TRUE} if \code{range} is restricted to the fill level.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconNew.Rd0000644000176000001440000000056512362217677015160 0ustar ripleyusers\alias{gThemedIconNew} \name{gThemedIconNew} \title{gThemedIconNew} \description{Creates a new themed icon for \code{iconname}.} \usage{gThemedIconNew(iconname = NULL)} \arguments{\item{\verb{iconname}}{a string containing an icon name.}} \value{[\code{\link{GIcon}}] a new \code{\link{GThemedIcon}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceAddTextTargets.Rd0000644000176000001440000000112612362217677017666 0ustar ripleyusers\alias{gtkDragSourceAddTextTargets} \name{gtkDragSourceAddTextTargets} \title{gtkDragSourceAddTextTargets} \description{Add the text targets supported by \verb{GtkSelection} to the target list of the drag source. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddTextTargets}} and \code{\link{gtkDragSourceSetTargetList}}.} \usage{gtkDragSourceAddTextTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's is a drag source}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListExtendSelection.Rd0000644000176000001440000000147612362217677016761 0ustar ripleyusers\alias{gtkListExtendSelection} \name{gtkListExtendSelection} \title{gtkListExtendSelection} \description{ Extends the selection by moving the anchor according to \code{scroll.type}. Only in \verb{GTK_SELECTION_EXTENDED}. \strong{WARNING: \code{gtk_list_extend_selection} is deprecated and should not be used in newly-written code.} } \usage{gtkListExtendSelection(object, scroll.type, position, auto.start.selection)} \arguments{ \item{\verb{object}}{the list widget.} \item{\verb{scroll.type}}{the direction and length.} \item{\verb{position}}{the position if \code{scroll.type} is \verb{GTK_SCROLL_JUMP}.} \item{\verb{auto.start.selection}}{if \code{TRUE}, \code{\link{gtkListStartSelection}} is automatically carried out before extending the selection.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewIsRubberBandingActive.Rd0000644000176000001440000000102412362217677020624 0ustar ripleyusers\alias{gtkTreeViewIsRubberBandingActive} \name{gtkTreeViewIsRubberBandingActive} \title{gtkTreeViewIsRubberBandingActive} \description{Returns whether a rubber banding operation is currently being done in \code{tree.view}.} \usage{gtkTreeViewIsRubberBandingActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.12} \value{[logical] \code{TRUE} if a rubber banding operation is currently being done in \code{tree.view}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonGetAlignment.Rd0000644000176000001440000000100312362217677016564 0ustar ripleyusers\alias{gtkButtonGetAlignment} \name{gtkButtonGetAlignment} \title{gtkButtonGetAlignment} \description{Gets the alignment of the child in the button.} \usage{gtkButtonGetAlignment(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkButton}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{xalign}}{return location for horizontal alignment} \item{\verb{yalign}}{return location for vertical alignment} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetRgbFgColor.Rd0000644000176000001440000000133212362217677015653 0ustar ripleyusers\alias{gdkGCSetRgbFgColor} \name{gdkGCSetRgbFgColor} \title{gdkGCSetRgbFgColor} \description{Set the foreground color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap.} \usage{gdkGCSetRgbFgColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}} \item{\verb{color}}{an unallocated \code{\link{GdkColor}}.} } \details{Calling this function for a GC without a colormap is an error.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRoleRegister.Rd0000644000176000001440000000061412362217677015421 0ustar ripleyusers\alias{atkRoleRegister} \name{atkRoleRegister} \title{atkRoleRegister} \description{Registers the role specified by \code{name}.} \usage{atkRoleRegister(name)} \arguments{\item{\verb{name}}{[character] a character string describing the new role.}} \value{[\code{\link{AtkRole}}] an \code{\link{AtkRole}} for the new role.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkListItem.Rd0000644000176000001440000000777712362217677014534 0ustar ripleyusers\alias{GtkListItem} \alias{gtkListItem} \name{GtkListItem} \title{GtkListItem} \description{An item in a GtkList} \section{Methods and Functions}{ \code{\link{gtkListItemNew}(show = TRUE)}\cr \code{\link{gtkListItemNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkListItemSelect}(object)}\cr \code{\link{gtkListItemDeselect}(object)}\cr \code{gtkListItem(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkListItem}} \section{Interfaces}{GtkListItem implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkListItem}} widget is used for each item in a \code{\link{GtkList}}. GtkList has has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use \code{\link{GtkTreeView}} instead.} \section{Structures}{\describe{\item{\verb{GtkListItem}}{ \strong{WARNING: \code{GtkListItem} is deprecated and should not be used in newly-written code.} The \code{\link{GtkListItem}} struct contains private data only, and should only be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkListItem} is the result of collapsing the constructors of \code{GtkListItem} (\code{\link{gtkListItemNew}}, \code{\link{gtkListItemNewWithLabel}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{ \item{\code{end-selection(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{extend-selection(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{scroll-horizontal(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{scroll-vertical(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-all(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{start-selection(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-add-mode(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle-focus-row(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{undo-selection(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-all(listitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{listitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkListItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetFilename.Rd0000644000176000001440000000074511766145227017212 0ustar ripleyusers\alias{gtkIconSourceSetFilename} \name{gtkIconSourceSetFilename} \title{gtkIconSourceSetFilename} \description{Sets the name of an image file to use as a base image when creating icon variants for \code{\link{GtkIconSet}}. The filename must be absolute.} \usage{gtkIconSourceSetFilename(object, filename)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{filename}}{image file to use} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkImageGetPixel.Rd0000644000176000001440000000076312362217677015472 0ustar ripleyusers\alias{gdkImageGetPixel} \name{gdkImageGetPixel} \title{gdkImageGetPixel} \description{Gets a pixel value at a specified position in a \code{\link{GdkImage}}.} \usage{gdkImageGetPixel(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkImage}}.} \item{\verb{x}}{the x coordinate of the pixel to get.} \item{\verb{y}}{the y coordinate of the pixel to get.} } \value{[numeric] the pixel value at the given position.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetRunAttributes.Rd0000644000176000001440000000245112362217677017134 0ustar ripleyusers\alias{atkTextGetRunAttributes} \name{atkTextGetRunAttributes} \title{atkTextGetRunAttributes} \description{Creates an \code{\link{AtkAttributeSet}} which consists of the attributes explicitly set at the position \code{offset} in the text. \code{start.offset} and \code{end.offset} are set to the start and end of the range around \code{offset} where the attributes are invariant. Note that \code{end.offset} is the offset of the first character after the range. See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned.} \usage{atkTextGetRunAttributes(object, offset)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{offset}}{[integer] the offset at which to get the attributes, -1 means the offset of the character to be inserted at the caret location.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{AtkAttributeSet}}] an \code{\link{AtkAttributeSet}} which contains the attributes explicitly set at \code{offset}.} \item{\verb{start.offset}}{[integer] the address to put the start offset of the range} \item{\verb{end.offset}}{[integer] the address to put the end offset of the range} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetGroup.Rd0000644000176000001440000000162312362217677015742 0ustar ripleyusers\alias{gdkWindowSetGroup} \name{gdkWindowSetGroup} \title{gdkWindowSetGroup} \description{Sets the group leader window for \code{window}. By default, GDK sets the group leader for all toplevel windows to a global window implicitly created by GDK. With this function you can override this default.} \usage{gdkWindowSetGroup(object, leader)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{leader}}{group leader window, or \code{NULL} to restore the default group leader window} } \details{The group leader window allows the window manager to distinguish all windows that belong to a single application. It may for example allow users to minimize/unminimize all windows belonging to an application at once. You should only set a non-default group window if your application pretends to be multiple applications.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeLookupForSettings.Rd0000644000176000001440000000240712362217677020130 0ustar ripleyusers\alias{gtkIconSizeLookupForSettings} \name{gtkIconSizeLookupForSettings} \title{gtkIconSizeLookupForSettings} \description{Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular \code{\link{GtkSettings}}. Normally \code{size} would be \verb{GTK_ICON_SIZE_MENU}, \verb{GTK_ICON_SIZE_BUTTON}, etc. This function isn't normally needed, \code{\link{gtkWidgetRenderIcon}} is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by \code{\link{gtkIconSizeLookup}}, because themes are free to render the pixbuf however they like, including changing the usual size.} \usage{gtkIconSizeLookupForSettings(settings, size)} \arguments{ \item{\verb{settings}}{a \code{\link{GtkSettings}} object, used to determine which set of user preferences to used.} \item{\verb{size}}{an icon size. \emph{[ \acronym{type} int]}} } \details{Since 2.2} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{size} was a valid size} \item{\verb{width}}{location to store icon width} \item{\verb{height}}{location to store icon height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSetShowEvents.Rd0000644000176000001440000000072412362217677015564 0ustar ripleyusers\alias{gdkSetShowEvents} \name{gdkSetShowEvents} \title{gdkSetShowEvents} \description{Sets whether a trace of received events is output. Note that GTK+ must be compiled with debugging (that is, configured using the \option{--enable-debug} option) to use this option.} \usage{gdkSetShowEvents(show.events)} \arguments{\item{\verb{show.events}}{\code{TRUE} to output event debugging information.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileStopMountable.Rd0000644000176000001440000000230412362217677016054 0ustar ripleyusers\alias{gFileStopMountable} \name{gFileStopMountable} \title{gFileStopMountable} \description{Stops a file of type G_FILE_TYPE_MOUNTABLE.} \usage{gFileStopMountable(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}}, or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileStopMountableFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsUnset.Rd0000644000176000001440000000067112362217677016660 0ustar ripleyusers\alias{gtkPrintSettingsUnset} \name{gtkPrintSettingsUnset} \title{gtkPrintSettingsUnset} \description{Removes any value associated with \code{key}. This has the same effect as setting the value to \code{NULL}.} \usage{gtkPrintSettingsUnset(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetUris.Rd0000644000176000001440000000145212362217677017070 0ustar ripleyusers\alias{gtkRecentChooserGetUris} \name{gtkRecentChooserGetUris} \title{gtkRecentChooserGetUris} \description{Gets the URI of the recently used resources.} \usage{gtkRecentChooserGetUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{The return value of this function is affected by the "sort-type" and "limit" properties of \code{chooser}. Since the returned list is \code{NULL} terminated, \code{length} may be \code{NULL}. Since 2.10} \value{ A list containing the following elements: \item{retval}{[character] A newly allocated, \code{NULL} terminated list of strings.} \item{\verb{length}}{return location for a the length of the URI list, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColormapGetScreen.Rd0000644000176000001440000000065112362217677016356 0ustar ripleyusers\alias{gdkColormapGetScreen} \name{gdkColormapGetScreen} \title{gdkColormapGetScreen} \description{Gets the screen for which this colormap was created.} \usage{gdkColormapGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkColormap}}}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the screen for which this colormap was created.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetUriDisplay.Rd0000644000176000001440000000115512362217677017524 0ustar ripleyusers\alias{gtkRecentInfoGetUriDisplay} \name{gtkRecentInfoGetUriDisplay} \title{gtkRecentInfoGetUriDisplay} \description{Gets a displayable version of the resource's URI. If the resource is local, it returns a local path; if the resource is not local, it returns the UTF-8 encoded content of \code{\link{gtkRecentInfoGetUri}}.} \usage{gtkRecentInfoGetUriDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[character] a newly allocated UTF-8 string containing the resource's URI or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoEqual.Rd0000644000176000001440000000072612362217677015012 0ustar ripleyusers\alias{gAppInfoEqual} \name{gAppInfoEqual} \title{gAppInfoEqual} \description{Checks if two \code{\link{GAppInfo}}s are equal.} \usage{gAppInfoEqual(object, appinfo2)} \arguments{ \item{\verb{object}}{the first \code{\link{GAppInfo}}.} \item{\verb{appinfo2}}{the second \code{\link{GAppInfo}}.} } \value{[logical] \code{TRUE} if \code{appinfo1} is equal to \code{appinfo2}. \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetRowHeader.Rd0000644000176000001440000000114412362217677016302 0ustar ripleyusers\alias{atkTableGetRowHeader} \name{atkTableGetRowHeader} \title{atkTableGetRowHeader} \description{Gets the row header of a specified row in an accessible table.} \usage{atkTableGetRowHeader(object, row)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in the table} } \value{[\code{\link{AtkObject}}] a AtkObject* representing the specified row header, or \code{NULL} if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayOpen.Rd0000644000176000001440000000063512362217677015233 0ustar ripleyusers\alias{gdkDisplayOpen} \name{gdkDisplayOpen} \title{gdkDisplayOpen} \description{Opens a display.} \usage{gdkDisplayOpen(display.name)} \arguments{\item{\verb{display.name}}{the name of the display to open}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] a \code{\link{GdkDisplay}}, or \code{NULL} if the display could not be opened.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationGetPassword.Rd0000644000176000001440000000062712362217677017634 0ustar ripleyusers\alias{gMountOperationGetPassword} \name{gMountOperationGetPassword} \title{gMountOperationGetPassword} \description{Gets a password from the mount operation.} \usage{gMountOperationGetPassword(object)} \arguments{\item{\verb{object}}{a \code{\link{GMountOperation}}.}} \value{[char] a string containing the password within \code{op}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowInvalidateRect.Rd0000644000176000001440000000125312362217677017067 0ustar ripleyusers\alias{gdkWindowInvalidateRect} \name{gdkWindowInvalidateRect} \title{gdkWindowInvalidateRect} \description{A convenience wrapper around \code{\link{gdkWindowInvalidateRegion}} which invalidates a rectangular region. See \code{\link{gdkWindowInvalidateRegion}} for details.} \usage{gdkWindowInvalidateRect(object, rect = NULL, invalidate.children)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{rect}}{rectangle to invalidate or \code{NULL} to invalidate the whole window. \emph{[ \acronym{allow-none} ]}} \item{\verb{invalidate.children}}{whether to also invalidate child windows} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMemoryOutputStreamNew.Rd0000644000176000001440000000166312362217677017006 0ustar ripleyusers\alias{gMemoryOutputStreamNew} \name{gMemoryOutputStreamNew} \title{gMemoryOutputStreamNew} \description{Creates a new \code{\link{GMemoryOutputStream}}. } \usage{gMemoryOutputStreamNew(len)} \arguments{\item{\verb{len}}{the size of \code{data}}} \details{If \code{data} is non-\code{NULL}, the stream will use that for its internal storage. If \code{realloc.fn} is non-\code{NULL}, it will be used for resizing the internal storage when necessary. To construct a fixed-size output stream, pass \code{NULL} as \code{realloc.fn}. \preformatted{ ## a stream that can grow stream <- gMemoryOutputStream(0) ## fixed-size streams are not supported }} \value{ A list containing the following elements: \item{retval}{[\code{\link{GOutputStream}}] A newly created \code{\link{GMemoryOutputStream}} object.} \item{\verb{data}}{pointer to a chunk of memory to use, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionGetSelectedRows.Rd0000644000176000001440000000205212362217677020550 0ustar ripleyusers\alias{gtkTreeSelectionGetSelectedRows} \name{gtkTreeSelectionGetSelectedRows} \title{gtkTreeSelectionGetSelectedRows} \description{Creates a list of path of all selected rows. Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of \code{\link{GtkTreeRowReference}}s. To do this, you can use \code{\link{gtkTreeRowReferenceNew}}.} \usage{gtkTreeSelectionGetSelectedRows(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeSelection}}.}} \details{To free the return value, use: \preformatted{# You don't have to free anything in RGtk, silly} Since 2.2} \value{ A list containing the following elements: \item{retval}{[list] A \verb{list} containing a \code{\link{GtkTreePath}} for each selected row. \emph{[ \acronym{element-type} GtkTreePath][ \acronym{transfer full} ]}} \item{\verb{model}}{A pointer to set to the \code{\link{GtkTreeModel}}, or NULL. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetHeight.Rd0000644000176000001440000000100412362217677016400 0ustar ripleyusers\alias{pangoLayoutGetHeight} \name{pangoLayoutGetHeight} \title{pangoLayoutGetHeight} \description{Gets the height of layout used for ellipsization. See \code{\link{pangoLayoutSetHeight}} for details.} \usage{pangoLayoutGetHeight(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{ Since 1.20} \value{[integer] the height, in Pango units if positive, or number of lines if negative.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetModel.Rd0000644000176000001440000000105312362217677016206 0ustar ripleyusers\alias{gtkTreeViewSetModel} \name{gtkTreeViewSetModel} \title{gtkTreeViewSetModel} \description{Sets the model for a \code{\link{GtkTreeView}}. If the \code{tree.view} already has a model set, it will remove it before setting the new model. If \code{model} is \code{NULL}, then it will unset the old model.} \usage{gtkTreeViewSetModel(object, model = NULL)} \arguments{ \item{\verb{object}}{A \verb{GtkTreeNode}.} \item{\verb{model}}{The model. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferPasteClipboard.Rd0000644000176000001440000000160212362217677017712 0ustar ripleyusers\alias{gtkTextBufferPasteClipboard} \name{gtkTextBufferPasteClipboard} \title{gtkTextBufferPasteClipboard} \description{Pastes the contents of a clipboard at the insertion point, or at \code{override.location}. (Note: pasting is asynchronous, that is, we'll ask for the paste data and return, and at some point later after the main loop runs, the paste data will be inserted.)} \usage{gtkTextBufferPasteClipboard(object, clipboard, override.location = NULL, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{clipboard}}{the \code{\link{GtkClipboard}} to paste from} \item{\verb{override.location}}{location to insert pasted text, or \code{NULL} for at the cursor. \emph{[ \acronym{allow-none} ]}} \item{\verb{default.editable}}{whether the buffer is editable by default} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientNew.Rd0000644000176000001440000000053012362217677015520 0ustar ripleyusers\alias{gSocketClientNew} \name{gSocketClientNew} \title{gSocketClientNew} \description{Creates a new \code{\link{GSocketClient}} with the default options.} \usage{gSocketClientNew()} \details{Since 2.22} \value{[\code{\link{GSocketClient}}] a \code{\link{GSocketClient}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoHasGroup.Rd0000644000176000001440000000100512362217677016521 0ustar ripleyusers\alias{gtkRecentInfoHasGroup} \name{gtkRecentInfoHasGroup} \title{gtkRecentInfoHasGroup} \description{Checks whether \code{group.name} appears inside the groups registered for the recently used item \code{info}.} \usage{gtkRecentInfoHasGroup(object, group.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentInfo}}} \item{\verb{group.name}}{name of a group} } \details{Since 2.10} \value{[logical] \code{TRUE} if the group was found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragGetData.Rd0000644000176000001440000000176512362217677015140 0ustar ripleyusers\alias{gtkDragGetData} \name{gtkDragGetData} \title{gtkDragGetData} \description{Gets the data associated with a drag. When the data is received or the retrieval fails, GTK+ will emit a "drag_data_received" signal. Failure of the retrieval is indicated by the length field of the \code{selection.data} signal parameter being negative. However, when \code{\link{gtkDragGetData}} is called implicitely because the \code{GTK_DEST_DEFAULT_DROP} was set, then the widget will not receive notification of failed drops.} \usage{gtkDragGetData(object, context, target, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{the widget that will receive the "drag_data_received" signal.} \item{\verb{context}}{the drag context} \item{\verb{target}}{the target (form of the data) to retrieve.} \item{\verb{time}}{a timestamp for retrieving the data. This will generally be the time received in a "drag_data_motion" or "drag_data_drop" signal.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewGetDisplayedRow.Rd0000644000176000001440000000102412362217677017516 0ustar ripleyusers\alias{gtkCellViewGetDisplayedRow} \name{gtkCellViewGetDisplayedRow} \title{gtkCellViewGetDisplayedRow} \description{Returns a \code{\link{GtkTreePath}} referring to the currently displayed row. If no row is currently displayed, \code{NULL} is returned.} \usage{gtkCellViewGetDisplayedRow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCellView}}}} \details{Since 2.6} \value{[\code{\link{GtkTreePath}}] the currently displayed row or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetDefault.Rd0000644000176000001440000000102112362217677016344 0ustar ripleyusers\alias{gdkDisplayGetDefault} \name{gdkDisplayGetDefault} \title{gdkDisplayGetDefault} \description{Gets the default \code{\link{GdkDisplay}}. This is a convenience function for \code{gdk_display_manager_get_default_display ( \link{gdkDisplayManagerGet} )}.} \usage{gdkDisplayGetDefault()} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] a \code{\link{GdkDisplay}}, or \code{NULL} if there is no default display. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetFinishings.Rd0000644000176000001440000000064712362217677020326 0ustar ripleyusers\alias{gtkPrintSettingsGetFinishings} \name{gtkPrintSettingsGetFinishings} \title{gtkPrintSettingsGetFinishings} \description{Gets the value of \code{GTK_PRINT_SETTINGS_FINISHINGS}.} \usage{gtkPrintSettingsGetFinishings(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[character] the finishings} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetTime.Rd0000644000176000001440000000061612362217677015343 0ustar ripleyusers\alias{gdkEventGetTime} \name{gdkEventGetTime} \title{gdkEventGetTime} \description{returns \verb{GDK_CURRENT_TIME}. If \code{event} is \code{NULL}, returns \verb{GDK_CURRENT_TIME}.} \usage{gdkEventGetTime(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}}} \value{[numeric] time stamp field from \code{event}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetDoubleBuffered.Rd0000644000176000001440000000251312362217677017516 0ustar ripleyusers\alias{gtkWidgetSetDoubleBuffered} \name{gtkWidgetSetDoubleBuffered} \title{gtkWidgetSetDoubleBuffered} \description{Widgets are double buffered by default; you can use this function to turn off the buffering. "Double buffered" simply means that \code{\link{gdkWindowBeginPaintRegion}} and \code{\link{gdkWindowEndPaint}} are called automatically around expose events sent to the widget. \code{gdkWindowBeginPaint()} diverts all drawing to a widget's window to an offscreen buffer, and \code{\link{gdkWindowEndPaint}} draws the buffer to the screen. The result is that users see the window update in one smooth step, and don't see individual graphics primitives being rendered.} \usage{gtkWidgetSetDoubleBuffered(object, double.buffered)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{double.buffered}}{\code{TRUE} to double-buffer a widget} } \details{In very simple terms, double buffered widgets don't flicker, so you would only use this function to turn off double buffering if you had special needs and really knew what you were doing. Note: if you turn off double-buffering, you have to handle expose events, since even the clearing to the background color or pixmap will not happen automatically (as it is done in \code{gdkWindowBeginPaint()}).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCheckButton.Rd0000644000176000001440000000444512362217677015200 0ustar ripleyusers\alias{GtkCheckButton} \alias{gtkCheckButton} \name{GtkCheckButton} \title{GtkCheckButton} \description{Create widgets with a discrete toggle button} \section{Methods and Functions}{ \code{\link{gtkCheckButtonNew}(show = TRUE)}\cr \code{\link{gtkCheckButtonNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkCheckButtonNewWithMnemonic}(label, show = TRUE)}\cr \code{gtkCheckButton(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkToggleButton +----GtkCheckButton +----GtkRadioButton}} \section{Interfaces}{GtkCheckButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkCheckButton}} places a discrete \code{\link{GtkToggleButton}} next to a widget, (usually a \code{\link{GtkLabel}}). See the section on \code{\link{GtkToggleButton}} widgets for more information about toggle/check buttons. The important signal ('toggled') is also inherited from \code{\link{GtkToggleButton}}.} \section{Structures}{\describe{\item{\verb{GtkCheckButton}}{ \code{toggle_button} is a \code{\link{GtkToggleButton}} representing the actual toggle button that composes the check button. }}} \section{Convenient Construction}{\code{gtkCheckButton} is the result of collapsing the constructors of \code{GtkCheckButton} (\code{\link{gtkCheckButtonNew}}, \code{\link{gtkCheckButtonNewWithLabel}}, \code{\link{gtkCheckButtonNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Style Properties}{\describe{ \item{\verb{indicator-size} [integer : Read]}{ Size of check or radio indicator. Allowed values: >= 0 Default value: 13 } \item{\verb{indicator-spacing} [integer : Read]}{ Spacing around check or radio indicator. Allowed values: >= 0 Default value: 2 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCheckButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionGetClipbox.Rd0000644000176000001440000000070712362217677016210 0ustar ripleyusers\alias{gdkRegionGetClipbox} \name{gdkRegionGetClipbox} \title{gdkRegionGetClipbox} \description{Obtains the smallest rectangle which includes the entire \code{\link{GdkRegion}}.} \usage{gdkRegionGetClipbox(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkRegion}}}} \value{ A list containing the following elements: \item{\verb{rectangle}}{return location for the clipbox} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceReadwriteAsync.Rd0000644000176000001440000000250112362217677017477 0ustar ripleyusers\alias{gFileReplaceReadwriteAsync} \name{gFileReplaceReadwriteAsync} \title{gFileReplaceReadwriteAsync} \description{Asynchronously overwrites the file in read-write mode, replacing the contents, possibly creating a backup copy of the file first.} \usage{gFileReplaceReadwriteAsync(object, etag, make.backup, flags, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{etag}}{an entity tag for the current \code{\link{GFile}}, or NULL to ignore.} \item{\verb{make.backup}}{\code{TRUE} if a backup should be created.} \item{\verb{flags}}{a set of \code{\link{GFileCreateFlags}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileReplaceReadwrite}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileReplaceReadwriteFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixInvert.Rd0000644000176000001440000000133412362217677015765 0ustar ripleyusers\alias{cairoMatrixInvert} \name{cairoMatrixInvert} \title{cairoMatrixInvert} \description{Changes \code{matrix} to be the inverse of it's original value. Not all transformation matrices have inverses; if the matrix collapses points together (it is \dfn{degenerate}), then it has no inverse and this function will fail.} \usage{cairoMatrixInvert(matrix)} \arguments{\item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}}} \value{[\code{\link{CairoStatus}}] If \code{matrix} has an inverse, modifies \code{matrix} to be the inverse matrix and returns \code{CAIRO_STATUS_SUCCESS}. Otherwise, returns \code{CAIRO_STATUS_INVALID_MATRIX}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetMnemonicActivate.Rd0000644000176000001440000000126712362217677017420 0ustar ripleyusers\alias{gtkWidgetMnemonicActivate} \name{gtkWidgetMnemonicActivate} \title{gtkWidgetMnemonicActivate} \description{Emits the \code{\link{gtkWidgetMnemonicActivate}} signal.} \usage{gtkWidgetMnemonicActivate(object, group.cycling)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{group.cycling}}{\code{TRUE} if there are other widgets with the same mnemonic} } \details{The default handler for this signal activates the \code{widget} if \code{group.cycling} is \code{FALSE}, and just grabs the focus if \code{group.cycling} is \code{TRUE}.} \value{[logical] \code{TRUE} if the signal has been handled} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIMContextGetSurrounding.Rd0000644000176000001440000000270612362217677017577 0ustar ripleyusers\alias{gtkIMContextGetSurrounding} \name{gtkIMContextGetSurrounding} \title{gtkIMContextGetSurrounding} \description{Retrieves context around the insertion point. Input methods typically want context in order to constrain input text based on existing text; this is important for languages such as Thai where only some sequences of characters are allowed.} \usage{gtkIMContextGetSurrounding(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIMContext}}}} \details{This function is implemented by emitting the GtkIMContext::retrieve_surrounding signal on the input method; in response to this signal, a widget should provide as much context as is available, up to an entire paragraph, by calling \code{\link{gtkIMContextSetSurrounding}}. Note that there is no obligation for a widget to respond to the ::retrieve_surrounding signal, so input methods must be prepared to function without context.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if surrounding text was provided; in this case you must free the result stored in *text.} \item{\verb{text}}{location to store a UTF-8 encoded string of text holding context around the insertion point. If the function returns \code{TRUE}, then you must free the result stored in this location with \code{gFree()}.} \item{\verb{cursor.index}}{location to store byte index of the insertion cursor within \code{text}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionSetPreviousColor.Rd0000644000176000001440000000125012362217677021152 0ustar ripleyusers\alias{gtkColorSelectionSetPreviousColor} \name{gtkColorSelectionSetPreviousColor} \title{gtkColorSelectionSetPreviousColor} \description{Sets the 'previous' color to be \code{color}. This function should be called with some hesitations, as it might seem confusing to have that color change. Calling \code{\link{gtkColorSelectionSetCurrentColor}} will also set this color the first time it is called.} \usage{gtkColorSelectionSetPreviousColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{color}}{a \code{\link{GdkColor}} to set the previous color with.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuSetActive.Rd0000644000176000001440000000075112362217677015537 0ustar ripleyusers\alias{gtkMenuSetActive} \name{gtkMenuSetActive} \title{gtkMenuSetActive} \description{Selects the specified menu item within the menu. This is used by the \code{\link{GtkOptionMenu}} and should not be used by anyone else.} \usage{gtkMenuSetActive(object, index)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenu}}.} \item{\verb{index}}{the index of the menu item to select. Index values are from 0 to n-1.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogAddButtons.Rd0000644000176000001440000000104412362217677016206 0ustar ripleyusers\alias{gtkDialogAddButtons} \name{gtkDialogAddButtons} \title{gtkDialogAddButtons} \description{Adds more buttons, same as calling \code{\link{gtkDialogAddButton}} repeatedly. The variable argument list should be \code{NULL}-terminated as with \code{\link{gtkDialogNewWithButtons}}. Each button must have both text and response ID.} \usage{gtkDialogAddButtons(object, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuBarGetChildPackDirection.Rd0000644000176000001440000000077512362217677020426 0ustar ripleyusers\alias{gtkMenuBarGetChildPackDirection} \name{gtkMenuBarGetChildPackDirection} \title{gtkMenuBarGetChildPackDirection} \description{Retrieves the current child pack direction of the menubar. See \code{\link{gtkMenuBarSetChildPackDirection}}.} \usage{gtkMenuBarGetChildPackDirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenuBar}}}} \details{Since 2.8} \value{[\code{\link{GtkPackDirection}}] the child pack direction} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferDelete.Rd0000644000176000001440000000156212362217677016225 0ustar ripleyusers\alias{gtkTextBufferDelete} \name{gtkTextBufferDelete} \title{gtkTextBufferDelete} \description{Deletes text between \code{start} and \code{end}. The order of \code{start} and \code{end} is not actually relevant; \code{\link{gtkTextBufferDelete}} will reorder them. This function actually emits the "delete-range" signal, and the default handler of that signal deletes the text. Because the buffer is modified, all outstanding iterators become invalid after calling this function; however, the \code{start} and \code{end} will be re-initialized to point to the location where text was deleted.} \usage{gtkTextBufferDelete(object, start, end)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{start}}{a position in \code{buffer}} \item{\verb{end}}{another position in \code{buffer}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetActionGroups.Rd0000644000176000001440000000100412362217677017621 0ustar ripleyusers\alias{gtkUIManagerGetActionGroups} \name{gtkUIManagerGetActionGroups} \title{gtkUIManagerGetActionGroups} \description{Returns the list of action groups associated with \code{self}.} \usage{gtkUIManagerGetActionGroups(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkUIManager}} object}} \details{Since 2.4} \value{[list] a \verb{list} of action groups. \emph{[ \acronym{element-type} GtkActionGroup][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaturateAndPixelate.Rd0000644000176000001440000000203212362217677020062 0ustar ripleyusers\alias{gdkPixbufSaturateAndPixelate} \name{gdkPixbufSaturateAndPixelate} \title{gdkPixbufSaturateAndPixelate} \description{Modifies saturation and optionally pixelates \code{src}, placing the result in \code{dest}. \code{src} and \code{dest} may be the same pixbuf with no ill effects. If \code{saturation} is 1.0 then saturation is not changed. If it's less than 1.0, saturation is reduced (the image turns toward grayscale); if greater than 1.0, saturation is increased (the image gets more vivid colors). If \code{pixelate} is \code{TRUE}, then pixels are faded in a checkerboard pattern to create a pixelated image. \code{src} and \code{dest} must have the same image format, size, and rowstride.} \usage{gdkPixbufSaturateAndPixelate(object, dest, saturation, pixelate)} \arguments{ \item{\verb{object}}{source image} \item{\verb{dest}}{place to write modified version of \code{src}} \item{\verb{saturation}}{saturation factor} \item{\verb{pixelate}}{whether to pixelate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarPop.Rd0000644000176000001440000000101612362217677015445 0ustar ripleyusers\alias{gtkStatusbarPop} \name{gtkStatusbarPop} \title{gtkStatusbarPop} \description{Removes the first message in the \verb{GtkStatusBar}'s stack with the given context id. } \usage{gtkStatusbarPop(object, context.id)} \arguments{ \item{\verb{object}}{a \verb{GtkStatusBar}} \item{\verb{context.id}}{a context identifier} } \details{Note that this may not change the displayed message, if the message at the top of the stack has a different context id.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceGetFormat.Rd0000644000176000001440000000067512362217677017504 0ustar ripleyusers\alias{cairoImageSurfaceGetFormat} \name{cairoImageSurfaceGetFormat} \title{cairoImageSurfaceGetFormat} \description{Get the format of the surface.} \usage{cairoImageSurfaceGetFormat(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \verb{cairo_image_surface_t}}} \details{ Since 1.2} \value{[\code{\link{CairoFormat}}] the format of the surface} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToHostAsync.Rd0000644000176000001440000000173212362217677020524 0ustar ripleyusers\alias{gSocketClientConnectToHostAsync} \name{gSocketClientConnectToHostAsync} \title{gSocketClientConnectToHostAsync} \description{This is the asynchronous version of \code{\link{gSocketClientConnectToHost}}.} \usage{gSocketClientConnectToHostAsync(object, host.and.port, default.port, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \verb{GTcpClient}} \item{\verb{host.and.port}}{the name and optionally the port of the host to connect to} \item{\verb{default.port}}{the default port to connect to} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}} \item{\verb{user.data}}{user data for the callback} } \details{When the operation is finished \code{callback} will be called. You can then call \code{\link{gSocketClientConnectToHostFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoRectangle.Rd0000644000176000001440000000154212362217677015236 0ustar ripleyusers\alias{cairoRectangle} \name{cairoRectangle} \title{cairoRectangle} \description{Adds a closed sub-path rectangle of the given size to the current path at position (\code{x}, \code{y}) in user-space coordinates.} \usage{cairoRectangle(cr, x, y, width, height)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] the X coordinate of the top left corner of the rectangle} \item{\verb{y}}{[numeric] the Y coordinate to the top left corner of the rectangle} \item{\verb{width}}{[numeric] the width of the rectangle} \item{\verb{height}}{[numeric] the height of the rectangle} } \details{This function is logically equivalent to: \preformatted{ cr$moveTo(x, y) cr$relLineTo(width, 0) cr$relLineTo(0, height) cr$relLineTo(-width, 0) cr$closePath() } } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetDragDestRow.Rd0000644000176000001440000000120612362217677017317 0ustar ripleyusers\alias{gtkTreeViewGetDragDestRow} \name{gtkTreeViewGetDragDestRow} \title{gtkTreeViewGetDragDestRow} \description{Gets information about the row that is highlighted for feedback.} \usage{gtkTreeViewGetDragDestRow(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{Return location for the path of the highlighted row, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{pos}}{Return location for the drop position, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/objectArgs.Rd0000644000176000001440000000342511766145227014377 0ustar ripleyusers\name{gtkObjectGetArgs} \alias{gtkObjectGetArgs} \alias{gtkObjectGetArg} \alias{gtkObjectSetArgs} \title{Access properties of a Gtk object} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} These functions allow one to both read and set properties of a Gtk object by name and also in the usual S-like manner. \code{gtkObjectGetArgs} retrieves the values of one or more properties by specifying their name as a vector. \code{gtkObjectGetArg} retrieves the value of a single property and avoids having to worry about whether the result is a value or a list of values of length 1. \code{gtkObjectSetArgs} allows one to set one or more properties by name in the form \code{gtkObjectSetArgs(obj, x=1, y="a")}. \code{[.GtkObject} and \code{[[<-.GtkObject} provide S-like accessors. } \usage{ gtkObjectGetArgs(obj, argNames) gtkObjectGetArg(obj, argName) gtkObjectSetArgs(obj, ..., .vals) } \arguments{ \item{obj}{the Gtk object whose properties are to be accessed} \item{argNames}{a character vector giving the names of the properties to retrieve.} \item{argName}{a string (i.e. character vector of length 1) giving the name of the property whose value is to be retrieved.} \item{...}{for \code{[.GtkObject}, this is a character vector giving the names of the properties of interest. For \code{gtkObjectSetArgs}, this is a collection of name=value pairs where \code{name} is the name of the property to set and \code{value} is the value to which it is to be set.} \item{.vals}{a named list similar to \code{...} in \code{gtkObjectSetArgs} } } \author{ Duncan Temple Lang } \note{ THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for RGtk 1) } \keyword{interface} \keyword{internal} RGtk2/man/atkHypertextGetLink.Rd0000644000176000001440000000105612362217677016266 0ustar ripleyusers\alias{atkHypertextGetLink} \name{atkHypertextGetLink} \title{atkHypertextGetLink} \description{Gets the link in this hypertext document at index \code{link.index}} \usage{atkHypertextGetLink(object, link.index)} \arguments{ \item{\verb{object}}{[\code{\link{AtkHypertext}}] an \code{\link{AtkHypertext}}} \item{\verb{link.index}}{[integer] an integer specifying the desired link} } \value{[\code{\link{AtkHyperlink}}] the link in this hypertext document at index \code{link.index}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceAddImageTargets.Rd0000644000176000001440000000114412362217677017764 0ustar ripleyusers\alias{gtkDragSourceAddImageTargets} \name{gtkDragSourceAddImageTargets} \title{gtkDragSourceAddImageTargets} \description{Add the writable image targets supported by \verb{GtkSelection} to the target list of the drag source. The targets are added with \code{info} = 0. If you need another value, use \code{\link{gtkTargetListAddImageTargets}} and \code{\link{gtkDragSourceSetTargetList}}.} \usage{gtkDragSourceAddImageTargets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}} that's is a drag source}} \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterEditable.Rd0000644000176000001440000000216412362217677016225 0ustar ripleyusers\alias{gtkTextIterEditable} \name{gtkTextIterEditable} \title{gtkTextIterEditable} \description{Returns whether the character at \code{iter} is within an editable region of text. Non-editable text is "locked" and can't be changed by the user via \code{\link{GtkTextView}}. This function is simply a convenience wrapper around \code{\link{gtkTextIterGetAttributes}}. If no tags applied to this text affect editability, \code{default.setting} will be returned.} \usage{gtkTextIterEditable(object, default.setting)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{default.setting}}{\code{TRUE} if text is editable by default} } \details{You don't want to use this function to decide whether text can be inserted at \code{iter}, because for insertion you don't want to know whether the char at \code{iter} is inside an editable range, you want to know whether a new character inserted at \code{iter} would be inside an editable range. Use \code{\link{gtkTextIterCanInsert}} to handle this case.} \value{[logical] whether \code{iter} is inside an editable range} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSpin.Rd0000644000176000001440000000103512362217677015756 0ustar ripleyusers\alias{gtkSpinButtonSpin} \name{gtkSpinButtonSpin} \title{gtkSpinButtonSpin} \description{Increment or decrement a spin button's value in a specified direction by a specified amount.} \usage{gtkSpinButtonSpin(object, direction, increment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{direction}}{a \code{\link{GtkSpinType}} indicating the direction to spin.} \item{\verb{increment}}{step increment to apply in the specified direction.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetAttributes.Rd0000644000176000001440000000066112362217677017326 0ustar ripleyusers\alias{pangoLayoutGetAttributes} \name{pangoLayoutGetAttributes} \title{pangoLayoutGetAttributes} \description{Gets the attribute list for the layout, if any.} \usage{pangoLayoutGetAttributes(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableCopyClipboard.Rd0000644000176000001440000000060212362217677017202 0ustar ripleyusers\alias{gtkEditableCopyClipboard} \name{gtkEditableCopyClipboard} \title{gtkEditableCopyClipboard} \description{Copies the contents of the currently selected content in the editable and puts it on the clipboard.} \usage{gtkEditableCopyClipboard(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconFactoryAddDefault.Rd0000644000176000001440000000122012362217677017151 0ustar ripleyusers\alias{gtkIconFactoryAddDefault} \name{gtkIconFactoryAddDefault} \title{gtkIconFactoryAddDefault} \description{Adds an icon factory to the list of icon factories searched by \code{\link{gtkStyleLookupIconSet}}. This means that, for example, \code{\link{gtkImageNewFromStock}} will be able to find icons in \code{factory}. There will normally be an icon factory added for each library or application that comes with icons. The default icon factories can be overridden by themes.} \usage{gtkIconFactoryAddDefault(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconFactory}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowGetVscrollbar.Rd0000644000176000001440000000100312362217677020443 0ustar ripleyusers\alias{gtkScrolledWindowGetVscrollbar} \name{gtkScrolledWindowGetVscrollbar} \title{gtkScrolledWindowGetVscrollbar} \description{Returns the vertical scrollbar of \code{scrolled.window}.} \usage{gtkScrolledWindowGetVscrollbar(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScrolledWindow}}}} \details{Since 2.8} \value{[\code{\link{GtkWidget}}] the vertical scrollbar of the scrolled window, or \code{NULL} if it does not have one.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyboardGrab.Rd0000644000176000001440000000253312362217677015337 0ustar ripleyusers\alias{gdkKeyboardGrab} \name{gdkKeyboardGrab} \title{gdkKeyboardGrab} \description{Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with \code{\link{gdkKeyboardUngrab}}. This overrides any previous keyboard grab by this client.} \usage{gdkKeyboardGrab(window, owner.events = FALSE, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{window}}{the \code{\link{GdkWindow}} which will own the grab (the grab window).} \item{\verb{owner.events}}{if \code{FALSE} then all keyboard events are reported with respect to \code{window}. If \code{TRUE} then keyboard events for this application are reported as normal, but keyboard events outside this application are reported with respect to \code{window}. Both key press and key release events are always reported, independant of the event mask set by the application.} \item{\verb{time}}{a timestamp from a \code{\link{GdkEvent}}, or \code{GDK_CURRENT_TIME} if no timestamp is available.} } \details{If you set up anything at the time you take the grab that needs to be cleaned up when the grab ends, you should handle the \code{\link{GdkEventGrabBroken}} events that are emitted when the grab ends unvoluntarily.} \value{[\code{\link{GdkGrabStatus}}] \code{GDK_GRAB_SUCCESS} if the grab was successful.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/PangoRenderer.Rd0000644000176000001440000000515612362217677015054 0ustar ripleyusers\alias{PangoRenderer} \alias{PangoRenderPart} \name{PangoRenderer} \title{PangoRenderer} \description{Rendering driver base class} \section{Methods and Functions}{ \code{\link{pangoRendererDrawLayout}(object, layout, x, y)}\cr \code{\link{pangoRendererDrawLayoutLine}(object, line, x, y)}\cr \code{\link{pangoRendererDrawGlyphs}(object, font, glyphs, x, y)}\cr \code{\link{pangoRendererDrawGlyphItem}(object, text, glyph.item, x, y)}\cr \code{\link{pangoRendererDrawRectangle}(object, part, x, y, width, height)}\cr \code{\link{pangoRendererDrawErrorUnderline}(object, x, y, width, height)}\cr \code{\link{pangoRendererDrawTrapezoid}(object, part, y1., x11, x21, y2, x12, x22)}\cr \code{\link{pangoRendererDrawGlyph}(object, font, glyph, x, y)}\cr \code{\link{pangoRendererActivate}(object)}\cr \code{\link{pangoRendererDeactivate}(object)}\cr \code{\link{pangoRendererPartChanged}(object, part)}\cr \code{\link{pangoRendererSetColor}(object, part, color)}\cr \code{\link{pangoRendererGetColor}(object, part)}\cr \code{\link{pangoRendererSetMatrix}(object, matrix)}\cr \code{\link{pangoRendererGetMatrix}(object)}\cr \code{\link{pangoRendererGetLayout}(renderer)}\cr \code{\link{pangoRendererGetLayoutLine}(renderer)}\cr } \section{Hierarchy}{\preformatted{GObject +----PangoRenderer +----PangoXftRenderer}} \section{Detailed Description}{\code{\link{PangoRenderer}} is a base class that contains the necessary logic for rendering a \code{\link{PangoLayout}} or \code{\link{PangoLayoutLine}}. By subclassing \code{\link{PangoRenderer}} and overriding operations such as \code{draw.glyphs} and \code{draw.rectangle}, renderers for particular font backends and destinations can be created.} \section{Structures}{\describe{\item{\verb{PangoRenderer}}{ \code{\link{PangoRenderer}} is a base class for objects that are used to render Pango objects such as \code{\link{PangoGlyphString}} and \code{\link{PangoLayout}}. Since 1.8 \describe{\item{\code{matrix}}{[\code{\link{PangoMatrix}}] the current transformation matrix for the Renderer; may be \code{NULL}, which should be treated the same as the identity matrix.}} }}} \section{Enums and Flags}{\describe{\item{\verb{PangoRenderPart}}{ \code{\link{PangoRenderPart}} defines different items to render for such purposes as setting colors. Since 1.8 \describe{ \item{\verb{foreground}}{ the text itself} \item{\verb{background}}{ the area behind the text} \item{\verb{underline}}{ underlines} \item{\verb{strikethrough}}{ strikethrough lines} } }}} \references{\url{http://library.gnome.org/devel//pango/PangoRenderer.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromStream.Rd0000644000176000001440000000256712362217677016721 0ustar ripleyusers\alias{gdkPixbufNewFromStream} \name{gdkPixbufNewFromStream} \title{gdkPixbufNewFromStream} \description{Creates a new pixbuf by loading an image from an input stream. } \usage{gdkPixbufNewFromStream(stream, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{stream}}{a \code{\link{GInputStream}} to load the pixbuf from} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The file format is detected automatically. If \code{NULL} is returned, then \code{error} will be set. The \code{cancellable} can be used to abort the operation from another thread. If the operation was cancelled, the error \code{GIO_ERROR_CANCELLED} will be returned. Other possible errors are in the \verb{GDK_PIXBUF_ERROR} and \code{G_IO_ERROR} domains. The stream is not closed. Since 2.14} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] A newly-created pixbuf, or \code{NULL} if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.} \item{\verb{error}}{Return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetBlocking.Rd0000644000176000001440000000072012362217677016021 0ustar ripleyusers\alias{gSocketGetBlocking} \name{gSocketGetBlocking} \title{gSocketGetBlocking} \description{Gets the blocking mode of the socket. For details on blocking I/O, see \code{\link{gSocketSetBlocking}}.} \usage{gSocketGetBlocking(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if blocking I/O is used, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryPopupDataFromWidget.Rd0000644000176000001440000000146612362217677021063 0ustar ripleyusers\alias{gtkItemFactoryPopupDataFromWidget} \name{gtkItemFactoryPopupDataFromWidget} \title{gtkItemFactoryPopupDataFromWidget} \description{ Obtains the \code{popup.data} which was passed to \code{\link{gtkItemFactoryPopupWithData}}. This data is available until the menu is popped down again. \strong{WARNING: \code{gtk_item_factory_popup_data_from_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryPopupDataFromWidget(widget)} \arguments{\item{\verb{widget}}{a widget}} \value{[R object] \code{popup.data} associated with the item factory from which \code{widget} was created, or \code{NULL} if \code{widget} wasn't created by an item factory} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoClipExtents.Rd0000644000176000001440000000122012362217677015565 0ustar ripleyusers\alias{cairoClipExtents} \name{cairoClipExtents} \title{cairoClipExtents} \description{Computes a bounding box in user coordinates covering the area inside the current clip.} \usage{cairoClipExtents(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{ Since 1.4} \value{ A list containing the following elements: \item{\verb{x1}}{[numeric] left of the resulting extents} \item{\verb{y1}}{[numeric] top of the resulting extents} \item{\verb{x2}}{[numeric] right of the resulting extents} \item{\verb{y2}}{[numeric] bottom of the resulting extents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontsetLoad.Rd0000644000176000001440000000125012362217677015220 0ustar ripleyusers\alias{gdkFontsetLoad} \name{gdkFontsetLoad} \title{gdkFontsetLoad} \description{ Loads a fontset. \strong{WARNING: \code{gdk_fontset_load} is deprecated and should not be used in newly-written code.} } \usage{gdkFontsetLoad(fontset.name)} \arguments{\item{\verb{fontset.name}}{a comma-separated list of XLFDs describing the component fonts of the fontset to load.}} \details{The fontset may be newly loaded or looked up in a cache. You should make no assumptions about the initial reference count.} \value{[\code{\link{GdkFont}}] a \code{\link{GdkFont}}, or \code{NULL} if the fontset could not be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalToUpper.Rd0000644000176000001440000000067212362217677015557 0ustar ripleyusers\alias{gdkKeyvalToUpper} \name{gdkKeyvalToUpper} \title{gdkKeyvalToUpper} \description{Converts a key value to upper case, if applicable.} \usage{gdkKeyvalToUpper(keyval)} \arguments{\item{\verb{keyval}}{a key value.}} \value{[numeric] the upper case form of \code{keyval}, or \code{keyval} itself if it is already in upper case or it is not subject to case conversion.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSetKeepalive.Rd0000644000176000001440000000224612362217677016217 0ustar ripleyusers\alias{gSocketSetKeepalive} \name{gSocketSetKeepalive} \title{gSocketSetKeepalive} \description{Sets or unsets the \code{SO_KEEPALIVE} flag on the underlying socket. When this flag is set on a socket, the system will attempt to verify that the remote socket endpoint is still present if a sufficiently long period of time passes with no data being exchanged. If the system is unable to verify the presence of the remote endpoint, it will automatically close the connection.} \usage{gSocketSetKeepalive(object, keepalive)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{\verb{keepalive}}{Value for the keepalive flag} } \details{This option is only functional on certain kinds of sockets. (Notably, \code{G_SOCKET_PROTOCOL_TCP} sockets.) The exact time between pings is system- and protocol-dependent, but will normally be at least two hours. Most commonly, you would set this flag on a server socket if you want to allow clients to remain idle for long periods of time, but also want to ensure that connections are eventually garbage-collected if clients crash or become unreachable. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetOpacity.Rd0000644000176000001440000000065412362217677016265 0ustar ripleyusers\alias{gtkWindowGetOpacity} \name{gtkWindowGetOpacity} \title{gtkWindowGetOpacity} \description{Fetches the requested opacity for this window. See \code{\link{gtkWindowSetOpacity}}.} \usage{gtkWindowGetOpacity(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.12} \value{[numeric] the requested opacity for this window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetExpanderColumn.Rd0000644000176000001440000000073312362217677020062 0ustar ripleyusers\alias{gtkTreeViewGetExpanderColumn} \name{gtkTreeViewGetExpanderColumn} \title{gtkTreeViewGetExpanderColumn} \description{Returns the column that is the current expander column. This column has the expander arrow drawn next to it.} \usage{gtkTreeViewGetExpanderColumn(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[\code{\link{GtkTreeViewColumn}}] The expander column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeModelFilter.Rd0000644000176000001440000001036112362217677016007 0ustar ripleyusers\alias{GtkTreeModelFilter} \alias{gtkTreeModelFilter} \alias{GtkTreeModelFilterVisibleFunc} \alias{GtkTreeModelFilterModifyFunc} \name{GtkTreeModelFilter} \title{GtkTreeModelFilter} \description{A GtkTreeModel which hides parts of an underlying tree model} \section{Methods and Functions}{ \code{\link{gtkTreeModelFilterNew}(child.model, root = NULL)}\cr \code{\link{gtkTreeModelFilterSetVisibleFunc}(object, func, data = NULL)}\cr \code{\link{gtkTreeModelFilterSetModifyFunc}(object, types, func, data = NULL)}\cr \code{\link{gtkTreeModelFilterSetVisibleColumn}(object, column)}\cr \code{\link{gtkTreeModelFilterGetModel}(object)}\cr \code{\link{gtkTreeModelFilterConvertChildIterToIter}(object, child.iter)}\cr \code{\link{gtkTreeModelFilterConvertIterToChildIter}(object, filter.iter)}\cr \code{\link{gtkTreeModelFilterConvertChildPathToPath}(object, child.path)}\cr \code{\link{gtkTreeModelFilterConvertPathToChildPath}(object, filter.path)}\cr \code{\link{gtkTreeModelFilterRefilter}(object)}\cr \code{\link{gtkTreeModelFilterClearCache}(object)}\cr \code{gtkTreeModelFilter(child.model, root = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GtkTreeModelFilter}} \section{Interfaces}{GtkTreeModelFilter implements \code{\link{GtkTreeModel}} and \code{\link{GtkTreeDragSource}}.} \section{Detailed Description}{A \code{\link{GtkTreeModelFilter}} is a tree model which wraps another tree model, and can do the following things: \itemize{ \item Filter specific rows, based on data from a "visible column", a column storing booleans indicating whether the row should be filtered or not, or based on the return value of a "visible function", which gets a model, iter and user_data and returns a boolean indicating whether the row should be filtered or not. \item Modify the "appearance" of the model, using a modify function. This is extremely powerful and allows for just changing some values and also for creating a completely different model based on the given child model. \item Set a different root node, also known as a "virtual root". You can pass in a \code{\link{GtkTreePath}} indicating the root node for the filter at construction time. }} \section{Structures}{\describe{\item{\verb{GtkTreeModelFilter}}{ The GtkTreeModelFilter struct contains only private fields. }}} \section{Convenient Construction}{\code{gtkTreeModelFilter} is the equivalent of \code{\link{gtkTreeModelFilterNew}}.} \section{User Functions}{\describe{ \item{\code{GtkTreeModelFilterVisibleFunc(model, iter, data)}}{ A function which decides whether the row indicated by \code{iter} is visible. \describe{ \item{\code{model}}{the child model of the \code{\link{GtkTreeModelFilter}}} \item{\code{iter}}{a \code{\link{GtkTreeIter}} pointing to the row in \code{model} whose visibility is determined} \item{\code{data}}{user data given to \code{\link{gtkTreeModelFilterSetVisibleFunc}}} } \emph{Returns:} [logical] Whether the row indicated by \code{iter} is visible. } \item{\code{GtkTreeModelFilterModifyFunc(model, iter, value, column, data)}}{ A function which calculates display values from raw values in the model. It must fill \code{value} with the display value for the column \code{column} in the row indicated by \code{iter}. Since this function is called for each data access, it's not a particularly efficient operation. \describe{ \item{\code{model}}{the \code{\link{GtkTreeModelFilter}}} \item{\code{iter}}{a \code{\link{GtkTreeIter}} pointing to the row whose display values are determined} \item{\code{value}}{A \verb{R object} which is already initialized for with the correct type for the column \code{column}.} \item{\code{column}}{the column whose display value is determined} \item{\code{data}}{user data given to \code{\link{gtkTreeModelFilterSetModifyFunc}}} } } }} \section{Properties}{\describe{ \item{\verb{child-model} [\code{\link{GtkTreeModel}} : * : Read / Write / Construct Only]}{ The model for the filtermodel to filter. } \item{\verb{virtual-root} [\code{\link{GtkTreePath}} : * : Read / Write / Construct Only]}{ The virtual root (relative to the child model) for this filtermodel. } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeModelFilter.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{GtkTreeModelSort}}} \keyword{internal} RGtk2/man/cairoPdfSurfaceCreate.Rd0000644000176000001440000000230512362217677016476 0ustar ripleyusers\alias{cairoPdfSurfaceCreate} \name{cairoPdfSurfaceCreate} \title{cairoPdfSurfaceCreate} \description{Creates a PDF surface of the specified size in points to be written to \code{filename}.} \usage{cairoPdfSurfaceCreate(filename, width.in.points, height.in.points)} \arguments{ \item{\verb{filename}}{[char] a filename for the PDF output (must be writable), \code{NULL} may be used to specify no output. This will generate a PDF surface that may be queried and used as a source, without generating a temporary file.} \item{\verb{width.in.points}}{[numeric] width of the surface, in points (1 point == 1/72.0 inch)} \item{\verb{height.in.points}}{[numeric] height of the surface, in points (1 point == 1/72.0 inch)} } \details{ Since 1.2} \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetReparent.Rd0000644000176000001440000000073412362217677015750 0ustar ripleyusers\alias{gtkWidgetReparent} \name{gtkWidgetReparent} \title{gtkWidgetReparent} \description{Moves a widget from one \code{\link{GtkContainer}} to another, handling reference count issues to avoid destroying the widget.} \usage{gtkWidgetReparent(object, new.parent)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{new.parent}}{a \code{\link{GtkContainer}} to move the widget into} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataOutputStreamPutByte.Rd0000644000176000001440000000142512362217677017246 0ustar ripleyusers\alias{gDataOutputStreamPutByte} \name{gDataOutputStreamPutByte} \title{gDataOutputStreamPutByte} \description{Puts a byte into the output stream.} \usage{gDataOutputStreamPutByte(object, data, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDataOutputStream}}.} \item{\verb{data}}{a \verb{raw}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{data} was successfully added to the \code{stream}.} \item{\verb{error}}{a \code{\link{GError}}, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsLoadFile.Rd0000644000176000001440000000155512362217677017243 0ustar ripleyusers\alias{gtkPrintSettingsLoadFile} \name{gtkPrintSettingsLoadFile} \title{gtkPrintSettingsLoadFile} \description{Reads the print settings from \code{file.name}. If the file could not be loaded then error is set to either a \code{\link{GFileError}} or \verb{GKeyFileError}. See \code{\link{gtkPrintSettingsToFile}}.} \usage{gtkPrintSettingsLoadFile(object, file.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{file.name}}{the filename to read the settings from} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.14} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogNew.Rd0000644000176000001440000000174712362217677016207 0ustar ripleyusers\alias{gtkMessageDialogNew} \name{gtkMessageDialogNew} \title{gtkMessageDialogNew} \description{Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see. When the user clicks a button a "response" signal is emitted with response IDs from \code{\link{GtkResponseType}}. See \code{\link{GtkDialog}} for more details.} \usage{gtkMessageDialogNew(parent = NULL, flags, type, buttons, ..., show = TRUE)} \arguments{ \item{\verb{parent}}{transient parent, or \code{NULL} for none. \emph{[ \acronym{allow-none} ]}} \item{\verb{flags}}{flags} \item{\verb{type}}{type of message} \item{\verb{buttons}}{set of buttons to use} \item{\verb{...}}{a new \code{\link{GtkMessageDialog}}. \emph{[ \acronym{transfer none} ]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkMessageDialog}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewConvertWidgetToTreeCoords.Rd0000644000176000001440000000133512362217677021556 0ustar ripleyusers\alias{gtkTreeViewConvertWidgetToTreeCoords} \name{gtkTreeViewConvertWidgetToTreeCoords} \title{gtkTreeViewConvertWidgetToTreeCoords} \description{Converts widget coordinates to coordinates for the tree (the full scrollable area of the tree).} \usage{gtkTreeViewConvertWidgetToTreeCoords(object, wx, wy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{wx}}{X coordinate relative to the widget} \item{\verb{wy}}{Y coordinate relative to the widget} } \details{Since 2.12} \value{ A list containing the following elements: \item{\verb{tx}}{return location for tree X coordinate} \item{\verb{ty}}{return location for tree Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectGetNAccessibleChildren.Rd0000644000176000001440000000075612362217677020435 0ustar ripleyusers\alias{atkObjectGetNAccessibleChildren} \name{atkObjectGetNAccessibleChildren} \title{atkObjectGetNAccessibleChildren} \description{Gets the number of accessible children of the accessible.} \usage{atkObjectGetNAccessibleChildren(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}}} \value{[integer] an integer representing the number of accessible children of the accessible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkText.Rd0000644000176000001440000002474712362217677013714 0ustar ripleyusers\alias{AtkText} \alias{AtkTextRange} \alias{AtkTextRectangle} \alias{AtkAttribute} \alias{AtkTextBoundary} \alias{AtkTextClipType} \alias{AtkTextAttribute} \name{AtkText} \title{AtkText} \description{The ATK interface implemented by components with text content.} \section{Methods and Functions}{ \code{\link{atkTextGetText}(object, start.offset, end.offset)}\cr \code{\link{atkTextGetCharacterAtOffset}(object, offset)}\cr \code{\link{atkTextGetTextAfterOffset}(object, offset, boundary.type)}\cr \code{\link{atkTextGetTextAtOffset}(object, offset, boundary.type)}\cr \code{\link{atkTextGetTextBeforeOffset}(object, offset, boundary.type)}\cr \code{\link{atkTextGetCaretOffset}(object)}\cr \code{\link{atkTextGetCharacterExtents}(object, offset, coords)}\cr \code{\link{atkTextGetRunAttributes}(object, offset)}\cr \code{\link{atkTextGetDefaultAttributes}(object)}\cr \code{\link{atkTextGetCharacterCount}(object)}\cr \code{\link{atkTextGetOffsetAtPoint}(object, x, y, coords)}\cr \code{\link{atkTextGetBoundedRanges}(object, rect, coord.type, x.clip.type, y.clip.type)}\cr \code{\link{atkTextGetRangeExtents}(object, start.offset, end.offset, coord.type)}\cr \code{\link{atkTextGetNSelections}(object)}\cr \code{\link{atkTextGetSelection}(object, selection.num)}\cr \code{\link{atkTextAddSelection}(object, start.offset, end.offset)}\cr \code{\link{atkTextRemoveSelection}(object, selection.num)}\cr \code{\link{atkTextSetSelection}(object, selection.num, start.offset, end.offset)}\cr \code{\link{atkTextSetCaretOffset}(object, offset)}\cr \code{\link{atkTextAttributeRegister}(name)}\cr \code{\link{atkTextAttributeGetName}(attr)}\cr \code{\link{atkTextAttributeForName}(name)}\cr \code{\link{atkTextAttributeGetValue}(attr, index)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkText}} \section{Implementations}{AtkText is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkText}} should be implemented by \verb{AtkObjects} on behalf of widgets that have text content which is either attributed or otherwise non-trivial. \verb{AtkObjects} whose text content is simple, unattributed, and very brief may expose that content via \code{\link{atkObjectGetName}} instead; however if the text is editable, multi-line, typically longer than three or four words, attributed, selectable, or if the object already uses the 'name' ATK property for other information, the \code{\link{AtkText}} interface should be used to expose the text content. In the case of editable text content, \code{\link{AtkEditableText}} (a subtype of the \code{\link{AtkText}} interface) should be implemented instead. \code{\link{AtkText}} provides not only traversal facilities and change notification for text content, but also caret tracking and glyph bounding box calculations. Note that the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be complex for languages which use ligatures.} \section{Structures}{\describe{ \item{\verb{AtkText}}{ The AtkText structure does not contain any fields. } \item{\verb{AtkTextRange}}{ A structure used to describe a text range. \strong{\verb{AtkTextRange} is a \link{transparent-type}.} \describe{ \item{\verb{bounds}}{[\code{\link{AtkTextRectangle}}] A rectangle giving the bounds of the text range} \item{\verb{startOffset}}{[integer] The start offset of a AtkTextRange} \item{\verb{endOffset}}{[integer] The end offset of a AtkTextRange} \item{\verb{content}}{[character] The text in the text range} } } \item{\verb{AtkTextRectangle}}{ A structure used to store a rectangle used by AtkText. \strong{\verb{AtkTextRectangle} is a \link{transparent-type}.} \describe{ \item{\code{x}}{[integer] The horizontal coordinate of a rectangle} \item{\code{y}}{[integer] The vertical coordinate of a rectangle} \item{\code{width}}{[integer] The width of a rectangle} \item{\code{height}}{[integer] The height of a rectangle} } } \item{\verb{AtkAttribute}}{ A string name/value pair representing a text attribute. \strong{\verb{AtkAttribute} is a \link{transparent-type}.} \describe{ \item{\code{name}}{[character] The attribute name. Call \code{atkTextAttrGetName()}} \item{\code{value}}{[character] the value of the attribute, represented as a string. Call \code{atkTextAttrGetValue()} for those which are strings. For values which are numbers, the string representation of the number is in value.} } } }} \section{Enums and Flags}{\describe{ \item{\verb{AtkTextBoundary}}{ Text boundary types used for specifying boundaries for regions of text \describe{ \item{\verb{char}}{ Boundary is the boundary between characters (including non-printing characters)} \item{\verb{word-start}}{ Boundary is the start (i.e. first character) of a word. } \item{\verb{word-end}}{ Boundary is the end (i.e. last character) of a word.} \item{\verb{sentence-start}}{ Boundary is the first character in a sentence.} \item{\verb{sentence-end}}{ Boundary is the last (terminal) character in a sentence; in languages which use "sentence stop" punctuation such as English, the boundary is thus the '.', '?', or similar terminal punctuation character.} \item{\verb{line-start}}{ Boundary is the initial character of the content or a character immediately following a newline, linefeed, or return character.} \item{\verb{line-end}}{ Boundary is the linefeed, or return character.} } } \item{\verb{AtkTextClipType}}{ Describes the type of clipping required. \describe{ \item{\verb{none}}{ No clipping to be done} \item{\verb{min}}{ Text clipped by min coordinate is omitted} \item{\verb{max}}{ Text clipped by max coordinate is omitted} \item{\verb{both}}{ Only text fully within mix/max bound is retained} } } \item{\verb{AtkTextAttribute}}{ Describes the text attributes supported \describe{ \item{\verb{invalid}}{ Invalid attribute} \item{\verb{left-margin}}{ The pixel width of the left margin} \item{\verb{right-margin}}{ The pixel width of the right margin} \item{\verb{indent}}{ The number of pixels that the text is indented} \item{\verb{invisible}}{ Either "true" or "false" indicating whether text is visible or not} \item{\verb{editable}}{ Either "true" or "false" indicating whether text is editable or not} \item{\verb{pixels-above-lines}}{ Pixels of blank space to leave above each line. } \item{\verb{pixels-below-lines}}{ Pixels of blank space to leave below each line.} \item{\verb{pixels-inside-wrap}}{ Pixels of blank space to leave between wrapped lines inside the same line (paragraph).} \item{\verb{bg-full-height}}{ "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.} \item{\verb{rise}}{ Number of pixels that the characters are risen above the baseline} \item{\verb{underline}}{ "none", "single", "double" or "low"} \item{\verb{strikethrough}}{ "true" or "false" whether the text is strikethrough } \item{\verb{size}}{ The size of the characters. } \item{\verb{scale}}{ The scale of the characters. The value is a string representation of a double } \item{\verb{weight}}{ The weight of the characters.} \item{\verb{language}}{ The language used} \item{\verb{family-name}}{ The font family name} \item{\verb{bg-color}}{ The background color. The value is an RGB value of the format "\code{u},\code{u},\code{u}"} \item{\verb{fg-color}}{The foreground color. The value is an RGB value of the format "\code{u},\code{u},\code{u}"} \item{\verb{bg-stipple}}{ "true" if a \code{\link{GdkBitmap}} is set for stippling the background color.} \item{\verb{fg-stipple}}{ "true" if a \code{\link{GdkBitmap}} is set for stippling the foreground color.} \item{\verb{wrap-mode}}{ The wrap mode of the text, if any. Values are "none", "char", "word", or "word_char".} \item{\verb{direction}}{ The direction of the text, if set. Values are "none", "ltr" or "rtl" } \item{\verb{justification}}{ The justification of the text, if set. Values are "left", "right", "center" or "fill" } \item{\verb{stretch}}{ The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded"} \item{\verb{variant}}{ The capitalization variant of the text, if set. Values are "normal" or "small_caps"} \item{\verb{style}}{ The slant style of the text, if set. Values are "normal", "oblique" or "italic"} \item{\verb{last-defined}}{ not a valid text attribute, used for finding end of enumeration} } } }} \section{Signals}{\describe{ \item{\code{text-attributes-changed(atktext, user.data)}}{ The "text-attributes-changed" signal is emitted when the text attributes of the text of an object which implements AtkText changes. \describe{ \item{\code{atktext}}{[\code{\link{AtkText}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{text-caret-moved(atktext, arg1, user.data)}}{ The "text-caret-moved" signal is emitted when the caret position of the text of an object which implements AtkText changes. \describe{ \item{\code{atktext}}{[\code{\link{AtkText}}] the object which received the signal.} \item{\code{arg1}}{[integer] The new position of the text caret.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{text-changed(atktext, arg1, arg2, user.data)}}{ The "text-changed" signal is emitted when the text of the object which implements the AtkText interface changes, This signal will have a detail which is either "insert" or "delete" which identifies whether the text change was an insertion or a deletion \describe{ \item{\code{atktext}}{[\code{\link{AtkText}}] the object which received the signal.} \item{\code{arg1}}{[integer] The position (character offset) of the insertion or deletion.} \item{\code{arg2}}{[integer] The length (in characters) of text inserted or deleted.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } \item{\code{text-selection-changed(atktext, user.data)}}{ The "text-selection-changed" signal is emitted when the selected text of an object which implements AtkText changes. \describe{ \item{\code{atktext}}{[\code{\link{AtkText}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//atk/AtkText.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-gdk-pixbuf.Rd0000644000176000001440000001240612362217677016413 0ustar ripleyusers\alias{gdk-pixbuf-gdk-pixbuf} \alias{GdkPixbuf} \alias{gdkPixbuf} \alias{GdkPixbufError} \alias{GdkColorspace} \alias{GdkPixbufAlphaMode} \name{gdk-pixbuf-gdk-pixbuf} \title{The GdkPixbuf Structure} \description{Information that describes an image.} \section{Methods and Functions}{ \code{\link{gdkPixbufGetColorspace}(object)}\cr \code{\link{gdkPixbufGetNChannels}(object)}\cr \code{\link{gdkPixbufGetHasAlpha}(object)}\cr \code{\link{gdkPixbufGetBitsPerSample}(object)}\cr \code{\link{gdkPixbufGetPixels}(object)}\cr \code{\link{gdkPixbufGetWidth}(object)}\cr \code{\link{gdkPixbufGetHeight}(object)}\cr \code{\link{gdkPixbufGetRowstride}(object)}\cr \code{\link{gdkPixbufGetOption}(object, key)}\cr \code{gdkPixbuf(width = -1, height = -1, filename, colorspace, has.alpha, bits.per.sample, preserve.aspect.ratio = 1, data, stream, cancellable = NULL, rowstride, .errwarn = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GdkPixbuf}} \section{Detailed Description}{ The \code{GdkPixbuf} structure contains information that describes an image in memory. } \section{Structures}{\describe{\item{\verb{GdkPixbuf}}{ This is the main structure in the \command{gdk-pixbuf} library. It is used to represent images. It contains information about the image's pixel data, its color space, bits per sample, width and height, and the rowstride (the number of bytes between the start of one row and the start of the next). }}} \section{Convenient Construction}{\code{gdkPixbuf} is the result of collapsing the constructors of \code{GdkPixbuf} (\code{\link{gdkPixbufNew}}, \code{\link{gdkPixbufNewFromFile}}, \code{\link{gdkPixbufNewFromFileAtSize}}, \code{\link{gdkPixbufNewFromFileAtScale}}, \code{\link{gdkPixbufNewFromData}}, \code{\link{gdkPixbufNewFromXpmData}}, NULL, \code{\link{gdkPixbufNewFromStream}}, \code{\link{gdkPixbufNewFromStreamAtScale}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GdkPixbufError}}{ An error code in the \verb{GDK_PIXBUF_ERROR} domain. Many \command{gdk-pixbuf} operations can cause errors in this domain, or in the \verb{G_FILE_ERROR} domain. \describe{ \item{\verb{corrupt-image}}{An image file was broken somehow.} \item{\verb{insufficient-memory}}{Not enough memory.} \item{\verb{bad-option-value}}{A bad option was passed to a pixbuf save module.} \item{\verb{unknown-type}}{Unknown image type.} \item{\verb{unsupported-operation}}{Don't know how to perform the given operation on the type of image at hand.} \item{\verb{failed}}{Generic failure code, something went wrong.} } } \item{\verb{GdkColorspace}}{ This enumeration defines the color spaces that are supported by the \command{gdk-pixbuf} library. Currently only RGB is supported. \describe{\item{\verb{b}}{Indicates a red/green/blue additive color space.}} } \item{\verb{GdkPixbufAlphaMode}}{ These values can be passed to \code{\link{gdkPixbufRenderToDrawableAlpha}} to control how the alpha channel of an image should be handled. This function can create a bilevel clipping mask (black and white) and use it while painting the image. In the future, when the X Window System gets an alpha channel extension, it will be possible to do full alpha compositing onto arbitrary drawables. For now both cases fall back to a bilevel clipping mask. \describe{ \item{\verb{bilevel}}{A bilevel clipping mask (black and white) will be created and used to draw the image. Pixels below 0.5 opacity will be considered fully transparent, and all others will be considered fully opaque.} \item{\verb{full}}{For now falls back to \verb{GDK_PIXBUF_ALPHA_BILEVEL}. In the future it will do full alpha compositing.} } } }} \section{Properties}{\describe{ \item{\verb{bits-per-sample} [integer : Read / Write / Construct Only]}{ The number of bits per sample. Currently only 8 bit per sample are supported. Allowed values: [1,16] Default value: 8 } \item{\verb{colorspace} [\code{\link{GdkColorspace}} : Read / Write / Construct Only]}{ The colorspace in which the samples are interpreted. Default value: GDK_COLORSPACE_RGB } \item{\verb{has-alpha} [logical : Read / Write / Construct Only]}{ Whether the pixbuf has an alpha channel. Default value: FALSE } \item{\verb{height} [integer : Read / Write / Construct Only]}{ The number of rows of the pixbuf. Allowed values: >= 1 Default value: 1 } \item{\verb{n-channels} [integer : Read / Write / Construct Only]}{ The number of samples per pixel. Currently, only 3 or 4 samples per pixel are supported. Allowed values: >= 0 Default value: 3 } \item{\verb{pixels} [R object : Read / Write / Construct Only]}{ A pointer to the pixel data of the pixbuf. } \item{\verb{rowstride} [integer : Read / Write / Construct Only]}{ The number of bytes between the start of a row and the start of the next row. This number must (obviously) be at least as large as the width of the pixbuf. Allowed values: >= 1 Default value: 1 } \item{\verb{width} [integer : Read / Write / Construct Only]}{ The number of columns of the pixbuf. Allowed values: >= 1 Default value: 1 } }} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnect.Rd0000644000176000001440000000345212362217677016366 0ustar ripleyusers\alias{gSocketClientConnect} \name{gSocketClientConnect} \title{gSocketClientConnect} \description{Tries to resolve the \code{connectable} and make a network connection to it..} \usage{gSocketClientConnect(object, connectable, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{connectable}}{a \code{\link{GSocketConnectable}} specifying the remote address.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Upon a successful connection, a new \code{\link{GSocketConnection}} is constructed and returned. The caller owns this new object and must drop their reference to it when finished with it. The type of the \code{\link{GSocketConnection}} object returned depends on the type of the underlying socket that is used. For instance, for a TCP/IP connection it will be a \code{\link{GTcpConnection}}. The socket created will be the same family as the the address that the \code{connectable} resolves to, unless family is set with \code{\link{gSocketClientSetFamily}} or indirectly via \code{\link{gSocketClientSetLocalAddress}}. The socket type defaults to \code{G_SOCKET_TYPE_STREAM} but can be set with \code{\link{gSocketClientSetSocketType}}. If a local address is specified with \code{\link{gSocketClientSetLocalAddress}} the socket will be bound to this address before connecting. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoMatrixScale.Rd0000644000176000001440000000124112362217677015551 0ustar ripleyusers\alias{pangoMatrixScale} \name{pangoMatrixScale} \title{pangoMatrixScale} \description{Changes the transformation represented by \code{matrix} to be the transformation given by first scaling by \code{sx} in the X direction and \code{sy} in the Y direction then applying the original transformation.} \usage{pangoMatrixScale(object, scale.x, scale.y)} \arguments{ \item{\verb{object}}{[\code{\link{PangoMatrix}}] a \code{\link{PangoMatrix}}} \item{\verb{scale.x}}{[numeric] amount to scale by in X direction} \item{\verb{scale.y}}{[numeric] amount to scale by in Y direction} } \details{ Since 1.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReplaceReadwriteFinish.Rd0000644000176000001440000000141112362217677017641 0ustar ripleyusers\alias{gFileReplaceReadwriteFinish} \name{gFileReplaceReadwriteFinish} \title{gFileReplaceReadwriteFinish} \description{Finishes an asynchronous file replace operation started with \code{\link{gFileReplaceReadwriteAsync}}.} \usage{gFileReplaceReadwriteFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileIOStream}}] a \code{\link{GFileIOStream}}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetAntialias.Rd0000644000176000001440000000064712362217677015704 0ustar ripleyusers\alias{cairoGetAntialias} \name{cairoGetAntialias} \title{cairoGetAntialias} \description{Gets the current shape antialiasing mode, as set by \code{\link{cairoSetAntialias}}.} \usage{cairoGetAntialias(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[\code{\link{CairoAntialias}}] the current shape antialiasing mode.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetOrientation.Rd0000644000176000001440000000076512362217677020521 0ustar ripleyusers\alias{gtkPrintSettingsGetOrientation} \name{gtkPrintSettingsGetOrientation} \title{gtkPrintSettingsGetOrientation} \description{Get the value of \code{GTK_PRINT_SETTINGS_ORIENTATION}, converted to a \code{\link{GtkPageOrientation}}.} \usage{gtkPrintSettingsGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPageOrientation}}] the orientation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkItem.Rd0000644000176000001440000000371012362217677013657 0ustar ripleyusers\alias{GtkItem} \name{GtkItem} \title{GtkItem} \description{Abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem} \section{Methods and Functions}{ \code{\link{gtkItemSelect}(object)}\cr \code{\link{gtkItemDeselect}(object)}\cr \code{\link{gtkItemToggle}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkListItem +----GtkTreeItem}} \section{Interfaces}{GtkItem implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkItem}} widget is an abstract base class for \code{\link{GtkMenuItem}}, \code{\link{GtkListItem}} and \verb{GtkTreeItem}.} \section{Structures}{\describe{\item{\verb{GtkItem}}{ The \code{\link{GtkItem}} struct contains private data only, and should be accessed using the functions below. }}} \section{Signals}{\describe{ \item{\code{deselect(item, user.data)}}{ Emitted when the item is deselected. \describe{ \item{\code{item}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select(item, user.data)}}{ Emitted when the item is selected. \describe{ \item{\code{item}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{toggle(item, user.data)}}{ Emitted when the item is toggled. \describe{ \item{\code{item}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkNotebook.Rd0000644000176000001440000003236112362217677014545 0ustar ripleyusers\alias{GtkNotebook} \alias{gtkNotebook} \alias{GtkNotebookWindowCreationFunc} \name{GtkNotebook} \title{GtkNotebook} \description{A tabbed notebook container} \section{Methods and Functions}{ \code{\link{gtkNotebookNew}(show = TRUE)}\cr \code{\link{gtkNotebookAppendPage}(object, child, tab.label = NULL)}\cr \code{\link{gtkNotebookAppendPageMenu}(object, child, tab.label = NULL, menu.label = NULL)}\cr \code{\link{gtkNotebookPrependPage}(object, child, tab.label = NULL)}\cr \code{\link{gtkNotebookPrependPageMenu}(object, child, tab.label = NULL, menu.label = NULL)}\cr \code{\link{gtkNotebookInsertPage}(object, child, tab.label = NULL, position = -1)}\cr \code{\link{gtkNotebookInsertPageMenu}(object, child, tab.label = NULL, menu.label = NULL, position = -1)}\cr \code{\link{gtkNotebookRemovePage}(object, page.num)}\cr \code{\link{gtkNotebookPageNum}(object, child)}\cr \code{\link{gtkNotebookNextPage}(object)}\cr \code{\link{gtkNotebookPrevPage}(object)}\cr \code{\link{gtkNotebookReorderChild}(object, child, position)}\cr \code{\link{gtkNotebookSetTabPos}(object, pos)}\cr \code{\link{gtkNotebookSetShowTabs}(object, show.tabs)}\cr \code{\link{gtkNotebookSetShowBorder}(object, show.border)}\cr \code{\link{gtkNotebookSetScrollable}(object, scrollable)}\cr \code{\link{gtkNotebookSetTabBorder}(object, border.width)}\cr \code{\link{gtkNotebookPopupEnable}(object)}\cr \code{\link{gtkNotebookPopupDisable}(object)}\cr \code{\link{gtkNotebookGetCurrentPage}(object)}\cr \code{\link{gtkNotebookGetMenuLabel}(object, child)}\cr \code{\link{gtkNotebookGetNthPage}(object, page.num)}\cr \code{\link{gtkNotebookGetNPages}(object)}\cr \code{\link{gtkNotebookGetTabLabel}(object, child)}\cr \code{\link{gtkNotebookQueryTabLabelPacking}(object, child)}\cr \code{\link{gtkNotebookSetHomogeneousTabs}(object, homogeneous)}\cr \code{\link{gtkNotebookSetMenuLabel}(object, child, menu.label = NULL)}\cr \code{\link{gtkNotebookSetMenuLabelText}(object, child, menu.text)}\cr \code{\link{gtkNotebookSetTabHborder}(object, tab.hborder)}\cr \code{\link{gtkNotebookSetTabLabel}(object, child, tab.label = NULL)}\cr \code{\link{gtkNotebookSetTabLabelPacking}(object, child, expand, fill, pack.type)}\cr \code{\link{gtkNotebookSetTabLabelText}(object, child, tab.text)}\cr \code{\link{gtkNotebookSetTabVborder}(object, tab.vborder)}\cr \code{\link{gtkNotebookSetTabReorderable}(object, child, reorderable)}\cr \code{\link{gtkNotebookSetTabDetachable}(object, child, detachable)}\cr \code{\link{gtkNotebookGetMenuLabelText}(object, child)}\cr \code{\link{gtkNotebookGetScrollable}(object)}\cr \code{\link{gtkNotebookGetShowBorder}(object)}\cr \code{\link{gtkNotebookGetShowTabs}(object)}\cr \code{\link{gtkNotebookGetTabLabelText}(object, child)}\cr \code{\link{gtkNotebookGetTabPos}(object)}\cr \code{\link{gtkNotebookGetTabReorderable}(object, child)}\cr \code{\link{gtkNotebookGetTabDetachable}(object, child)}\cr \code{\link{gtkNotebookSetCurrentPage}(object, page.num)}\cr \code{\link{gtkNotebookSetGroupId}(object, group.id)}\cr \code{\link{gtkNotebookSetGroupId}(object, group.id)}\cr \code{\link{gtkNotebookGetGroupId}(object)}\cr \code{\link{gtkNotebookGetGroupId}(object)}\cr \code{\link{gtkNotebookSetGroup}(object, group)}\cr \code{\link{gtkNotebookGetGroup}(object)}\cr \code{\link{gtkNotebookSetActionWidget}(object, widget, pack.type)}\cr \code{\link{gtkNotebookGetActionWidget}(object, pack.type)}\cr \code{\link{gtkNotebookSetWindowCreationHook}(func, data)}\cr \code{gtkNotebook(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkNotebook}} \section{Interfaces}{GtkNotebook implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkNotebook}} widget is a \code{\link{GtkContainer}} whose children are pages that can be switched between using tab labels along one edge. There are many configuration options for \code{\link{GtkNotebook}}. Among other things, you can choose on which edge the tabs appear (see \code{\link{gtkNotebookSetTabPos}}), whether, if there are too many tabs to fit the notebook should be made bigger or scrolling arrows added (see gtk_notebook_set_scrollable), and whether there will be a popup menu allowing the users to switch pages. (see \code{\link{gtkNotebookPopupEnable}}, \code{\link{gtkNotebookPopupDisable}})} \section{GtkNotebook as GtkBuildable}{The GtkNoteboopk implementation of the GtkBuildable interface supports placing children into tabs by specifying "tab" as the "type" attribute of a element. Note that the content of the tab must be created before the tab can be filled. A tab child can be specified without specifying a type attribute. To add a child widget in the notebooks action area, specify "action-start" or "action-end" as the "type" attribute of the element. \emph{A UI definition fragment with GtkNotebook}\preformatted{ Content Tab }} \section{Structures}{\describe{\item{\verb{GtkNotebook}}{ \emph{undocumented } \describe{\item{\verb{tabPos}}{[\code{\link{GtkPositionType}}] }} }}} \section{Convenient Construction}{\code{gtkNotebook} is the equivalent of \code{\link{gtkNotebookNew}}.} \section{User Functions}{\describe{\item{\code{GtkNotebookWindowCreationFunc(source, page, x, y, data)}}{ A function used by GtkNotebook when a detachable tab is dropped in the root window, it's used to create a window containing a notebook where the tab will be attached. This function will also be responsible of moving/resizing the window and adding the necessary properties to the notebook (i.e.: group-id). If the function returns \code{NULL}, the drag will be cancelled. \describe{ \item{\code{source}}{The source \code{\link{GtkNotebook}} of the drag operation} \item{\code{page}}{the child \code{\link{GtkWidget}} affected} \item{\code{x}}{the X coordinate where the drop happens} \item{\code{y}}{the Y coordinate where the drop happens} \item{\code{data}}{user data} } \emph{Returns:} [\code{\link{GtkNotebook}}] The created \code{\link{GtkNotebook}} where the tab will be attached, or NULL to cancel the drag }}} \section{Signals}{\describe{ \item{\code{change-current-page(notebook, user.data)}}{ \emph{undocumented } \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{create-window(notebook, page, x, y, user.data)}}{ The ::create-window signal is emitted when a detachable tab is dropped on the root window. A handler for this signal can create a window containing a notebook where the tab will be attached. It is also responsible for moving/resizing the window and adding the necessary properties to the notebook (e.g. the \verb{"group-id"} ). The default handler uses the global window creation hook, if one has been set with \code{\link{gtkNotebookSetWindowCreationHook}}. Since 2.12 \describe{ \item{\code{notebook}}{the \code{\link{GtkNotebook}} emitting the signal} \item{\code{page}}{the tab of \code{notebook} that is being detached} \item{\code{x}}{the X coordinate where the drop happens} \item{\code{y}}{the Y coordinate where the drop happens} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [\code{\link{GtkNotebook}}] a \code{\link{GtkNotebook}} that \code{page} should be added to, or \code{NULL}. } \item{\code{focus-tab(notebook, user.data)}}{ \emph{undocumented } \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-focus-out(notebook, user.data)}}{ \emph{undocumented } \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{page-added(notebook, child, page.num, user.data)}}{ the ::page-added signal is emitted in the notebook right after a page is added to the notebook. Since 2.10 \describe{ \item{\code{notebook}}{the \code{\link{GtkNotebook}}} \item{\code{child}}{the child \code{\link{GtkWidget}} affected} \item{\code{page.num}}{the new page number for \code{child}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{page-removed(notebook, child, page.num, user.data)}}{ the ::page-removed signal is emitted in the notebook right after a page is removed from the notebook. Since 2.10 \describe{ \item{\code{notebook}}{the \code{\link{GtkNotebook}}} \item{\code{child}}{the child \code{\link{GtkWidget}} affected} \item{\code{page.num}}{the \code{child} page number} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{page-reordered(notebook, child, page.num, user.data)}}{ the ::page-reordered signal is emitted in the notebook right after a page has been reordered. Since 2.10 \describe{ \item{\code{notebook}}{the \code{\link{GtkNotebook}}} \item{\code{child}}{the child \code{\link{GtkWidget}} affected} \item{\code{page.num}}{the new page number for \code{child}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{reorder-tab(notebook, user.data)}}{ \emph{undocumented } \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-page(notebook, user.data)}}{ \emph{undocumented } \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{switch-page(notebook, page, page.num, user.data)}}{ Emitted when the user or a function changes the current page. \describe{ \item{\code{notebook}}{the object which received the signal.} \item{\code{page}}{the new current page} \item{\code{page.num}}{the index of the page} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{enable-popup} [logical : Read / Write]}{ If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page. Default value: FALSE } \item{\verb{group} [R object : Read / Write]}{ Group for tabs drag and drop. Since 2.12 } \item{\verb{group-id} [integer : Read / Write]}{ Group ID for tabs drag and drop. Allowed values: >= -1 Default value: -1 } \item{\verb{homogeneous} [logical : Read / Write]}{ Whether tabs should have homogeneous sizes. Default value: FALSE } \item{\verb{page} [integer : Read / Write]}{ The index of the current page. Allowed values: >= -1 Default value: -1 } \item{\verb{scrollable} [logical : Read / Write]}{ If TRUE, scroll arrows are added if there are too many tabs to fit. Default value: FALSE } \item{\verb{show-border} [logical : Read / Write]}{ Whether the border should be shown or not. Default value: TRUE } \item{\verb{show-tabs} [logical : Read / Write]}{ Whether tabs should be shown or not. Default value: TRUE } \item{\verb{tab-border} [numeric : Write]}{ Width of the border around the tab labels. Default value: 2 } \item{\verb{tab-hborder} [numeric : Read / Write]}{ Width of the horizontal border of tab labels. Default value: 2 } \item{\verb{tab-pos} [\code{\link{GtkPositionType}} : Read / Write]}{ Which side of the notebook holds the tabs. Default value: GTK_POS_TOP } \item{\verb{tab-vborder} [numeric : Read / Write]}{ Width of the vertical border of tab labels. Default value: 2 } }} \section{Style Properties}{\describe{ \item{\verb{arrow-spacing} [integer : Read]}{ The "arrow-spacing" property defines the spacing between the scroll arrows and the tabs. Allowed values: >= 0 Default value: 0 Since 2.10 } \item{\verb{has-backward-stepper} [logical : Read]}{ The "has-backward-stepper" property determines whether the standard backward arrow button is displayed. Default value: TRUE Since 2.4 } \item{\verb{has-forward-stepper} [logical : Read]}{ The "has-forward-stepper" property determines whether the standard forward arrow button is displayed. Default value: TRUE Since 2.4 } \item{\verb{has-secondary-backward-stepper} [logical : Read]}{ The "has-secondary-backward-stepper" property determines whether a second backward arrow button is displayed on the opposite end of the tab area. Default value: FALSE Since 2.4 } \item{\verb{has-secondary-forward-stepper} [logical : Read]}{ The "has-secondary-forward-stepper" property determines whether a second forward arrow button is displayed on the opposite end of the tab area. Default value: FALSE Since 2.4 } \item{\verb{tab-curvature} [integer : Read]}{ The "tab-curvature" property defines size of tab curvature. Allowed values: >= 0 Default value: 1 Since 2.10 } \item{\verb{tab-overlap} [integer : Read]}{ The "tab-overlap" property defines size of tab overlap area. Default value: 2 Since 2.10 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkNotebook.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBest.Rd0000644000176000001440000000057612362217677015531 0ustar ripleyusers\alias{gdkVisualGetBest} \name{gdkVisualGetBest} \title{gdkVisualGetBest} \description{Get the visual with the most available colors for the default GDK screen. The return value should not be freed.} \usage{gdkVisualGetBest()} \value{[\code{\link{GdkVisual}}] best visual. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupNew.Rd0000644000176000001440000000047412362217677015374 0ustar ripleyusers\alias{gtkPageSetupNew} \name{gtkPageSetupNew} \title{gtkPageSetupNew} \description{Creates a new \code{\link{GtkPageSetup}}.} \usage{gtkPageSetupNew()} \details{Since 2.10} \value{[\code{\link{GtkPageSetup}}] a new \code{\link{GtkPageSetup}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelSortConvertIterToChildIter.Rd0000644000176000001440000000123212362217677022026 0ustar ripleyusers\alias{gtkTreeModelSortConvertIterToChildIter} \name{gtkTreeModelSortConvertIterToChildIter} \title{gtkTreeModelSortConvertIterToChildIter} \description{Sets \code{child.iter} to point to the row pointed to by \code{sorted.iter}.} \usage{gtkTreeModelSortConvertIterToChildIter(object, sorted.iter)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelSort}}} \item{\verb{sorted.iter}}{A valid \code{\link{GtkTreeIter}} pointing to a row on \code{tree.model.sort}.} } \value{ A list containing the following elements: \item{\verb{child.iter}}{An uninitialized \code{\link{GtkTreeIter}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeGetInverted.Rd0000644000176000001440000000056712362217677016225 0ustar ripleyusers\alias{gtkRangeGetInverted} \name{gtkRangeGetInverted} \title{gtkRangeGetInverted} \description{Gets the value set by \code{\link{gtkRangeSetInverted}}.} \usage{gtkRangeGetInverted(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRange}}}} \value{[logical] \code{TRUE} if the range is inverted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupToFile.Rd0000644000176000001440000000127712362217677016027 0ustar ripleyusers\alias{gtkPageSetupToFile} \name{gtkPageSetupToFile} \title{gtkPageSetupToFile} \description{This function saves the information from \code{setup} to \code{file.name}.} \usage{gtkPageSetupToFile(object, file.name, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{file.name}}{the file to save to} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.12} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success} \item{\verb{error}}{return location for errors, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayManagerSetDefaultDisplay.Rd0000644000176000001440000000071112362217677021206 0ustar ripleyusers\alias{gdkDisplayManagerSetDefaultDisplay} \name{gdkDisplayManagerSetDefaultDisplay} \title{gdkDisplayManagerSetDefaultDisplay} \description{Sets \code{display} as the default display.} \usage{gdkDisplayManagerSetDefaultDisplay(object, display)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplayManager}}} \item{\verb{display}}{a \code{\link{GdkDisplay}}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetIconName.Rd0000644000176000001440000000055012362217677016307 0ustar ripleyusers\alias{gtkActionGetIconName} \name{gtkActionGetIconName} \title{gtkActionGetIconName} \description{Gets the icon name of \code{action}.} \usage{gtkActionGetIconName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[character] the icon name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetExposures.Rd0000644000176000001440000000104312362217677015661 0ustar ripleyusers\alias{gdkGCSetExposures} \name{gdkGCSetExposures} \title{gdkGCSetExposures} \description{Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. (See \code{\link{gdkDrawDrawable}}).} \usage{gdkGCSetExposures(object, exposures)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{exposures}}{if \code{TRUE}, exposure events will be generated.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHPanedNew.Rd0000644000176000001440000000043412362217677014632 0ustar ripleyusers\alias{gtkHPanedNew} \name{gtkHPanedNew} \title{gtkHPanedNew} \description{Create a new \code{\link{GtkHPaned}}} \usage{gtkHPanedNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkHPaned}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-text.Rd0000644000176000001440000001051712362217677014375 0ustar ripleyusers\alias{cairo-text} \alias{CairoGlyph} \alias{CairoTextCluster} \alias{CairoFontSlant} \alias{CairoFontWeight} \alias{CairoTextClusterFlags} \name{cairo-text} \title{Text} \description{Rendering text and glyphs} \section{Methods and Functions}{ \code{\link{cairoSelectFontFace}(cr, family, slant, weight)}\cr \code{\link{cairoSetFontSize}(cr, size)}\cr \code{\link{cairoSetFontMatrix}(cr, matrix)}\cr \code{\link{cairoGetFontMatrix}(cr, matrix)}\cr \code{\link{cairoSetFontOptions}(cr, options)}\cr \code{\link{cairoGetFontOptions}(cr)}\cr \code{\link{cairoSetFontFace}(cr, font.face)}\cr \code{\link{cairoGetFontFace}(cr)}\cr \code{\link{cairoSetScaledFont}(cr, scaled.font)}\cr \code{\link{cairoGetScaledFont}(cr)}\cr \code{\link{cairoShowText}(cr, utf8)}\cr \code{\link{cairoShowGlyphs}(cr, glyphs, num.glyphs)}\cr \code{\link{cairoShowTextGlyphs}(cr, utf8, glyphs, clusters, cluster.flags)}\cr \code{\link{cairoFontExtents}(cr)}\cr \code{\link{cairoTextExtents}(cr, utf8)}\cr \code{\link{cairoGlyphExtents}(cr, glyphs)}\cr \code{\link{cairoToyFontFaceCreate}(family, slant, weight)}\cr \code{\link{cairoToyFontFaceGetFamily}(font.face)}\cr \code{\link{cairoToyFontFaceGetSlant}(font.face)}\cr \code{\link{cairoToyFontFaceGetWeight}(font.face)}\cr } \section{Detailed Description}{Cairo has two sets of text rendering capabilities: \itemize{ \item \item }} \section{Structures}{\describe{ \item{\verb{CairoGlyph}}{ The \code{\link{CairoGlyph}} structure holds information about a single glyph when drawing or measuring text. A font is (in simple terms) a collection of shapes used to draw text. A glyph is one of these shapes. There can be multiple glyphs for a single character (alternates to be used in different contexts, for example), or a glyph can be a \dfn{ligature} of multiple characters. Cairo doesn't expose any way of converting input text into glyphs, so in order to use the Cairo interfaces that take arrays of glyphs, you must directly access the appropriate underlying font system. Note that the offsets given by \code{x} and \code{y} are not cumulative. When drawing or measuring text, each glyph is individually positioned with respect to the overall origin \strong{\verb{CairoGlyph} is a \link{transparent-type}.} \describe{ \item{\verb{index}}{[numeric] glyph index in the font. The exact interpretation of the glyph index depends on the font technology being used.} \item{\verb{x}}{[numeric] the offset in the X direction between the origin used for drawing or measuring the string and the origin of this glyph.} \item{\verb{y}}{[numeric] the offset in the Y direction between the origin used for drawing or measuring the string and the origin of this glyph.} } } \item{\verb{CairoTextCluster}}{ The \code{\link{CairoTextCluster}} structure holds information about a single \dfn{text cluster}. A text cluster is a minimal mapping of some glyphs corresponding to some UTF-8 text. For a cluster to be valid, both \code{num.bytes} and \code{num.glyphs} should be non-negative, and at least one should be non-zero. Note that clusters with zero glyphs are not as well supported as normal clusters. For example, PDF rendering applications typically ignore those clusters when PDF text is being selected. See \code{\link{cairoShowTextGlyphs}} for how clusters are used in advanced text operations. Since 1.8 \strong{\verb{CairoTextCluster} is a \link{transparent-type}.} \describe{ \item{\verb{numBytes}}{[integer] the number of bytes of UTF-8 text covered by cluster} \item{\verb{numGlyphs}}{[integer] the number of glyphs covered by cluster} } } }} \section{Enums and Flags}{\describe{ \item{\verb{CairoFontSlant}}{ Specifies variants of a font face based on their slant. \describe{ \item{\verb{normal}}{ Upright font style} \item{\verb{italic}}{ Italic font style} \item{\verb{oblique}}{ Oblique font style} } } \item{\verb{CairoFontWeight}}{ Specifies variants of a font face based on their weight. \describe{ \item{\verb{normal}}{ Normal font weight} \item{\verb{bold}}{ Bold font weight} } } \item{\verb{CairoTextClusterFlags}}{ Specifies properties of a text cluster mapping. Since 1.8 \describe{\item{\verb{backward}}{ The clusters in the cluster list map to glyphs in the glyph list from end to start.}} } }} \references{\url{http://www.cairographics.org/manual/cairo-text.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetStretch.Rd0000644000176000001440000000107312362217677020463 0ustar ripleyusers\alias{pangoFontDescriptionSetStretch} \name{pangoFontDescriptionSetStretch} \title{pangoFontDescriptionSetStretch} \description{Sets the stretch field of a font description. The stretch field specifies how narrow or wide the font should be.} \usage{pangoFontDescriptionSetStretch(object, stretch)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}} \item{\verb{stretch}}{[\code{\link{PangoStretch}}] the stretch for the font description} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMonitorDirectory.Rd0000644000176000001440000000217712362217677016604 0ustar ripleyusers\alias{gFileMonitorDirectory} \name{gFileMonitorDirectory} \title{gFileMonitorDirectory} \description{Obtains a directory monitor for the given file. This may fail if directory monitoring is not supported.} \usage{gFileMonitorDirectory(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{a set of \code{\link{GFileMonitorFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileMonitor}}] a \code{\link{GFileMonitor}} for the given \code{file}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventPeek.Rd0000644000176000001440000000067512362217677014676 0ustar ripleyusers\alias{gdkEventPeek} \name{gdkEventPeek} \title{gdkEventPeek} \description{If there is an event waiting in the event queue of some open display, returns a copy of it. See \code{\link{gdkDisplayPeekEvent}}.} \usage{gdkEventPeek()} \value{[\code{\link{GdkEvent}}] a copy of the first \code{\link{GdkEvent}} on some event queue, or \code{NULL} if no events are in any queues.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererGetColor.Rd0000644000176000001440000000117012362217677016543 0ustar ripleyusers\alias{pangoRendererGetColor} \name{pangoRendererGetColor} \title{pangoRendererGetColor} \description{Gets the current rendering color for the specified part.} \usage{pangoRendererGetColor(object, part)} \arguments{ \item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}} \item{\verb{part}}{[\code{\link{PangoRenderPart}}] the part to get the color for} } \details{ Since 1.8} \value{[\code{\link{PangoColor}}] the color for the specified part, or \code{NULL} if it hasn't been set and should be inherited from the environment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkObjectFactory.Rd0000644000176000001440000000211112362217677015503 0ustar ripleyusers\alias{AtkObjectFactory} \name{AtkObjectFactory} \title{AtkObjectFactory} \description{The base object class for a factory used to create accessible objects for objects of a specific GType.} \section{Methods and Functions}{ \code{\link{atkObjectFactoryCreateAccessible}(object, obj)}\cr \code{\link{atkObjectFactoryGetAccessibleType}(object)}\cr \code{\link{atkObjectFactoryInvalidate}(object)}\cr } \section{Hierarchy}{\preformatted{GObject +----AtkObjectFactory +----AtkNoOpObjectFactory}} \section{Detailed Description}{This class is the base object class for a factory used to create an accessible object for a specific GType. The function \code{\link{atkRegistrySetFactoryType}} is normally called to store in the registry the factory type to be used to create an accessible of a particular GType.} \section{Structures}{\describe{\item{\verb{AtkObjectFactory}}{ The AtkObjectFactory structure should not be accessed directly. }}} \references{\url{http://library.gnome.org/devel//atk/AtkObjectFactory.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetLineWrapMode.Rd0000644000176000001440000000104012362217677016755 0ustar ripleyusers\alias{gtkLabelSetLineWrapMode} \name{gtkLabelSetLineWrapMode} \title{gtkLabelSetLineWrapMode} \description{If line wrapping is on (see \code{\link{gtkLabelSetLineWrap}}) this controls how the line wrapping is done. The default is \code{PANGO_WRAP_WORD} which means wrap on word boundaries.} \usage{gtkLabelSetLineWrapMode(object, wrap.mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{wrap.mode}}{the line wrapping mode} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataTargetsIncludeUri.Rd0000644000176000001440000000123712362217677021060 0ustar ripleyusers\alias{gtkSelectionDataTargetsIncludeUri} \name{gtkSelectionDataTargetsIncludeUri} \title{gtkSelectionDataTargetsIncludeUri} \description{Given a \code{\link{GtkSelectionData}} object holding a list of targets, determines if any of the targets in \code{targets} can be used to provide a list or URIs.} \usage{gtkSelectionDataTargetsIncludeUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSelectionData}} object}} \details{Since 2.10} \value{[logical] \code{TRUE} if \code{selection.data} holds a list of targets, and a suitable target for URI lists is included, otherwise \code{FALSE}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryFilesystemInfo.Rd0000644000176000001440000000406712362217677017256 0ustar ripleyusers\alias{gFileQueryFilesystemInfo} \name{gFileQueryFilesystemInfo} \title{gFileQueryFilesystemInfo} \description{Similar to \code{\link{gFileQueryInfo}}, but obtains information about the filesystem the \code{file} is on, rather than the file itself. For instance the amount of space available and the type of the filesystem.} \usage{gFileQueryFilesystemInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The \code{attribute} value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. \code{attribute} should be a comma-separated list of attribute or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "fs:*" means all attributes in the fs namespace. The standard namespace for filesystem attributes is "fs". Common attributes of interest are \verb{G_FILE_ATTRIBUTE_FILESYSTEM_SIZE} (the total size of the filesystem in bytes), \verb{G_FILE_ATTRIBUTE_FILESYSTEM_FREE} (number of bytes available), and \verb{G_FILE_ATTRIBUTE_FILESYSTEM_TYPE} (type of the filesystem). If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}} or \code{NULL} if there was an error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryNew.Rd0000644000176000001440000000202112362217677015713 0ustar ripleyusers\alias{gtkItemFactoryNew} \name{gtkItemFactoryNew} \title{gtkItemFactoryNew} \description{ Creates a new \code{\link{GtkItemFactory}}. \strong{WARNING: \code{gtk_item_factory_new} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryNew(container.type, path, accel.group = NULL)} \arguments{ \item{\verb{container.type}}{the kind of menu to create; can be \verb{GTK_TYPE_MENU_BAR}, \verb{GTK_TYPE_MENU} or \verb{GTK_TYPE_OPTION_MENU}} \item{\verb{path}}{the factory path of the new item factory, a string of the form \code{""}} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}} to which the accelerators for the menu items will be added, or \code{NULL} to create a new one. \emph{[ \acronym{allow-none} ]}} } \details{Beware that the returned object does not have a floating reference.} \value{[\code{\link{GtkItemFactory}}] a new \code{\link{GtkItemFactory}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoItemSplit.Rd0000644000176000001440000000240112362217677015246 0ustar ripleyusers\alias{pangoItemSplit} \name{pangoItemSplit} \title{pangoItemSplit} \description{Modifies \code{orig} to cover only the text after \code{split.index}, and returns a new item that covers the text before \code{split.index} that used to be in \code{orig}. You can think of \code{split.index} as the length of the returned item. \code{split.index} may not be 0, and it may not be greater than or equal to the length of \code{orig} (that is, there must be at least one byte assigned to each item, you can't create a zero-length item). \code{split.offset} is the length of the first item in chars, and must be provided because the text used to generate the item isn't available, so \code{\link{pangoItemSplit}} can't count the char length of the split items itself.} \usage{pangoItemSplit(orig, split.index, split.offset)} \arguments{ \item{\verb{orig}}{[\code{\link{PangoItem}}] a \code{\link{PangoItem}}} \item{\verb{split.index}}{[integer] byte index of position to split item, relative to the start of the item} \item{\verb{split.offset}}{[integer] number of chars between start of \code{orig} and \code{split.index}} } \value{[\code{\link{PangoItem}}] new item representing text before \code{split.index},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookSetCurrentPage.Rd0000644000176000001440000000135212362217677017415 0ustar ripleyusers\alias{gtkNotebookSetCurrentPage} \name{gtkNotebookSetCurrentPage} \title{gtkNotebookSetCurrentPage} \description{Switches to the page number \code{page.num}. } \usage{gtkNotebookSetCurrentPage(object, page.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{page.num}}{index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the notebook, nothing will be done.} } \details{Note that due to historical reasons, GtkNotebook refuses to switch to a page unless the child widget is visible. Therefore, it is recommended to show child widgets before adding them to a notebook.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkVisualGetBestDepth.Rd0000644000176000001440000000060212362217677016504 0ustar ripleyusers\alias{gdkVisualGetBestDepth} \name{gdkVisualGetBestDepth} \title{gdkVisualGetBestDepth} \description{Get the best available depth for the default GDK screen. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel.} \usage{gdkVisualGetBestDepth()} \value{[integer] best available depth} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutMove.Rd0000644000176000001440000000071312362217677015125 0ustar ripleyusers\alias{gtkLayoutMove} \name{gtkLayoutMove} \title{gtkLayoutMove} \description{Moves a current child of \code{layout} to a new position.} \usage{gtkLayoutMove(object, child.widget, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLayout}}} \item{\verb{child.widget}}{a current child of \code{layout}} \item{\verb{x}}{X position to move to} \item{\verb{y}}{Y position to move to} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetAccelGroup.Rd0000644000176000001440000000077312362217677016665 0ustar ripleyusers\alias{gtkActionSetAccelGroup} \name{gtkActionSetAccelGroup} \title{gtkActionSetAccelGroup} \description{Sets the \code{\link{GtkAccelGroup}} in which the accelerator for this action will be installed.} \usage{gtkActionSetAccelGroup(object, accel.group)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{accel.group}}{a \code{\link{GtkAccelGroup}} or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInitableInit.Rd0000644000176000001440000000350712362217677015041 0ustar ripleyusers\alias{gInitableInit} \name{gInitableInit} \title{gInitableInit} \description{Initializes the object implementing the interface. This must be done before any real use of the object after initial construction.} \usage{gInitableInit(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GInitable}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Implementations may also support cancellation. If \code{cancellable} is not \code{NULL}, then initialization can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If \code{cancellable} is not \code{NULL} and the object doesn't support cancellable initialization the error \code{G_IO_ERROR_NOT_SUPPORTED} will be returned. If this function is not called, or returns with an error then all operations on the object should fail, generally returning the error \code{G_IO_ERROR_NOT_INITIALIZED}. Implementations of this method must be idempotent, i.e. multiple calls to this function with the same argument should return the same results. Only the first call initializes the object, further calls return the result of the first call. This is so that its safe to implement the singleton pattern in the GObject constructor function. Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDecorated.Rd0000644000176000001440000000072612362217677016547 0ustar ripleyusers\alias{gtkWindowGetDecorated} \name{gtkWindowGetDecorated} \title{gtkWindowGetDecorated} \description{Returns whether the window has been set to have decorations such as a title bar via \code{\link{gtkWindowSetDecorated}}.} \usage{gtkWindowGetDecorated(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if the window has been set to have decorations} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryBufferSetMaxLength.Rd0000644000176000001440000000124612362217677017542 0ustar ripleyusers\alias{gtkEntryBufferSetMaxLength} \name{gtkEntryBufferSetMaxLength} \title{gtkEntryBufferSetMaxLength} \description{Sets the maximum allowed length of the contents of the buffer. If the current contents are longer than the given length, then they will be truncated to fit.} \usage{gtkEntryBufferSetMaxLength(object, max.length)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntryBuffer}}} \item{\verb{max.length}}{the maximum length of the entry buffer, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkServiceGetDomain.Rd0000644000176000001440000000075012362217677017225 0ustar ripleyusers\alias{gNetworkServiceGetDomain} \name{gNetworkServiceGetDomain} \title{gNetworkServiceGetDomain} \description{Gets the domain that \code{srv} serves. This might be either UTF-8 or ASCII-encoded, depending on what \code{srv} was created with.} \usage{gNetworkServiceGetDomain(object)} \arguments{\item{\verb{object}}{a \code{\link{GNetworkService}}}} \details{Since 2.22} \value{[character] \code{srv}'s domain name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkImageGetImagePosition.Rd0000644000176000001440000000157512362217677017174 0ustar ripleyusers\alias{atkImageGetImagePosition} \name{atkImageGetImagePosition} \title{atkImageGetImagePosition} \description{Gets the position of the image in the form of a point specifying the images top-left corner.} \usage{atkImageGetImagePosition(object, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkImage}}] a \code{\link{GObject}} instance that implements AtkImageIface} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{ A list containing the following elements: \item{\verb{x}}{[integer] \verb{integer} to put x coordinate position; otherwise, -1 if value cannot be obtained.} \item{\verb{y}}{[integer] \verb{integer} to put y coordinate position; otherwise, -1 if value cannot be obtained.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToHost.Rd0000644000176000001440000000451312362217677017526 0ustar ripleyusers\alias{gSocketClientConnectToHost} \name{gSocketClientConnectToHost} \title{gSocketClientConnectToHost} \description{This is a helper function for \code{\link{gSocketClientConnect}}.} \usage{gSocketClientConnectToHost(object, host.and.port, default.port, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \verb{SocketClient}} \item{\verb{host.and.port}}{the name and optionally port of the host to connect to} \item{\verb{default.port}}{the default port to connect to} \item{\verb{cancellable}}{a \code{\link{GCancellable}}, or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Attempts to create a TCP connection to the named host. \code{host.and.port} may be in any of a number of recognised formats: an IPv6 address, an IPv4 address, or a domain name (in which case a DNS lookup is performed). Quoting with [] is supported for all address types. A port override may be specified in the usual way with a colon. Ports may be given as decimal numbers or symbolic names (in which case an /etc/services lookup is performed). If no port override is given in \code{host.and.port} then \code{default.port} will be used as the port number to connect to. In general, \code{host.and.port} is expected to be provided by the user (allowing them to give the hostname, and a port overide if necessary) and \code{default.port} is expected to be provided by the application. In the case that an IP address is given, a single connection attempt is made. In the case that a name is given, multiple connection attempts may be made, in turn and according to the number of address records in DNS, until a connection succeeds. Upon a successful connection, a new \code{\link{GSocketConnection}} is constructed and returned. The caller owns this new object and must drop their reference to it when finished with it. In the event of any failure (DNS error, service not found, no hosts connectable) \code{NULL} is returned and \code{error} (if non-\code{NULL}) is set accordingly. Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{error}}{a pointer to a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetColumnTitle.Rd0000644000176000001440000000104312362217677016654 0ustar ripleyusers\alias{gtkCListGetColumnTitle} \name{gtkCListGetColumnTitle} \title{gtkCListGetColumnTitle} \description{ Gets the current title of the specified column \strong{WARNING: \code{gtk_clist_get_column_title} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetColumnTitle(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to query.} } \value{[character] The title of the column.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorGetLabel.Rd0000644000176000001440000000111012362217677016635 0ustar ripleyusers\alias{gtkAcceleratorGetLabel} \name{gtkAcceleratorGetLabel} \title{gtkAcceleratorGetLabel} \description{Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.} \usage{gtkAcceleratorGetLabel(accelerator.key, accelerator.mods)} \arguments{ \item{\verb{accelerator.key}}{accelerator keyval} \item{\verb{accelerator.mods}}{accelerator modifier mask} } \details{Since 2.6} \value{[character] a newly-allocated string representing the accelerator.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataGetTarget.Rd0000644000176000001440000000067012362217677017351 0ustar ripleyusers\alias{gtkSelectionDataGetTarget} \name{gtkSelectionDataGetTarget} \title{gtkSelectionDataGetTarget} \description{Retrieves the target of the selection.} \usage{gtkSelectionDataGetTarget(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \details{Since 2.14} \value{[\code{\link{GdkAtom}}] the target of the selection.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetUris.Rd0000644000176000001440000000113412362217677016524 0ustar ripleyusers\alias{gtkFileChooserGetUris} \name{gtkFileChooserGetUris} \title{gtkFileChooserGetUris} \description{Lists all the selected files and subfolders in the current folder of \code{chooser}. The returned names are full absolute URIs.} \usage{gtkFileChooserGetUris(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[list] a \verb{list} containing the URIs of all selected files and subfolders in the current folder. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVSeparatorNew.Rd0000644000176000001440000000046512362217677015565 0ustar ripleyusers\alias{gtkVSeparatorNew} \name{gtkVSeparatorNew} \title{gtkVSeparatorNew} \description{Creates a new \code{\link{GtkVSeparator}}.} \usage{gtkVSeparatorNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVSeparator}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileFilterGetName.Rd0000644000176000001440000000070412362217677016307 0ustar ripleyusers\alias{gtkFileFilterGetName} \name{gtkFileFilterGetName} \title{gtkFileFilterGetName} \description{Gets the human-readable name for the filter. See \code{\link{gtkFileFilterSetName}}.} \usage{gtkFileFilterGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileFilter}}}} \details{Since 2.4} \value{[character] The human-readable name of the filter, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetModal.Rd0000644000176000001440000000065312362217677015710 0ustar ripleyusers\alias{gtkWindowGetModal} \name{gtkWindowGetModal} \title{gtkWindowGetModal} \description{Returns whether the window is modal. See \code{\link{gtkWindowSetModal}}.} \usage{gtkWindowGetModal(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[logical] \code{TRUE} if the window is set to be modal and establishes a grab when shown} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVPaned.Rd0000644000176000001440000000223112362217677014133 0ustar ripleyusers\alias{GtkVPaned} \alias{gtkVPaned} \name{GtkVPaned} \title{GtkVPaned} \description{A container with two panes arranged vertically} \section{Methods and Functions}{ \code{\link{gtkVPanedNew}(show = TRUE)}\cr \code{gtkVPaned(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkPaned +----GtkVPaned}} \section{Interfaces}{GtkVPaned implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The VPaned widget is a container widget with two children arranged vertically. The division between the two panes is adjustable by the user by dragging a handle. See \code{\link{GtkPaned}} for details.} \section{Structures}{\describe{\item{\verb{GtkVPaned}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkVPaned} is the equivalent of \code{\link{gtkVPanedNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVPaned.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileFindEnclosingMountAsync.Rd0000644000176000001440000000176112362217677020031 0ustar ripleyusers\alias{gFileFindEnclosingMountAsync} \name{gFileFindEnclosingMountAsync} \title{gFileFindEnclosingMountAsync} \description{Asynchronously gets the mount for the file.} \usage{gFileFindEnclosingMountAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GFile}}} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileFindEnclosingMount}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileFindEnclosingMountFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoStroke.Rd0000644000176000001440000000330312362217677014576 0ustar ripleyusers\alias{cairoStroke} \name{cairoStroke} \title{cairoStroke} \description{A drawing operator that strokes the current path according to the current line width, line join, line cap, and dash settings. After \code{\link{cairoStroke}}, the current path will be cleared from the cairo context. See \code{\link{cairoSetLineWidth}}, \code{\link{cairoSetLineJoin}}, \code{\link{cairoSetLineCap}}, \code{\link{cairoSetDash}}, and \code{\link{cairoStrokePreserve}}.} \usage{cairoStroke(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{Note: Degenerate segments and sub-paths are treated specially and provide a useful result. These can result in two different situations: 1. Zero-length "on" segments set in \code{\link{cairoSetDash}}. If the cap style is \code{CAIRO_LINE_CAP_ROUND} or \code{CAIRO_LINE_CAP_SQUARE} then these segments will be drawn as circular dots or squares respectively. In the case of \code{CAIRO_LINE_CAP_SQUARE}, the orientation of the squares is determined by the direction of the underlying path. 2. A sub-path created by \code{\link{cairoMoveTo}} followed by either a \code{\link{cairoClosePath}} or one or more calls to \code{\link{cairoLineTo}} to the same coordinate as the \code{\link{cairoMoveTo}}. If the cap style is \code{CAIRO_LINE_CAP_ROUND} then these sub-paths will be drawn as circular dots. Note that in the case of \code{CAIRO_LINE_CAP_SQUARE} a degenerate sub-path will not be drawn at all, (since the correct orientation is indeterminate). In no case will a cap style of \code{CAIRO_LINE_CAP_BUTT} cause anything to be drawn in the case of either degenerate segments or sub-paths. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetWindowStack.Rd0000644000176000001440000000175412362217677017044 0ustar ripleyusers\alias{gdkScreenGetWindowStack} \name{gdkScreenGetWindowStack} \title{gdkScreenGetWindowStack} \description{Returns a \verb{list} of \code{\link{GdkWindow}}s representing the current window stack.} \usage{gdkScreenGetWindowStack(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING property on the root window, as described in the Extended Window Manager Hints (\url{http://www.freedesktop.org/Standards/wm-spec}). If the window manager does not support the _NET_CLIENT_LIST_STACKING hint, this function returns \code{NULL}. On other platforms, this function may return \code{NULL}, depending on whether it is implementable on that platform. The returned list is newly allocated and owns references to the windows it contains, Since 2.10} \value{[list] a list of \code{\link{GdkWindow}}s for the current window stack, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionGetPreviousColor.Rd0000644000176000001440000000073712362217677021147 0ustar ripleyusers\alias{gtkColorSelectionGetPreviousColor} \name{gtkColorSelectionGetPreviousColor} \title{gtkColorSelectionGetPreviousColor} \description{Fills \code{color} in with the original color value.} \usage{gtkColorSelectionGetPreviousColor(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GtkColorSelection}}.} \item{\verb{color}}{a \code{\link{GdkColor}} to fill in with the original color value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPointerIsGrabbed.Rd0000644000176000001440000000075312362217677016170 0ustar ripleyusers\alias{gdkPointerIsGrabbed} \name{gdkPointerIsGrabbed} \title{gdkPointerIsGrabbed} \description{Returns \code{TRUE} if the pointer on the default display is currently grabbed by this application.} \usage{gdkPointerIsGrabbed()} \details{Note that this does not take the inmplicit pointer grab on button presses into account. } \value{[logical] \code{TRUE} if the pointer is currently grabbed by this application.*} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkExpander.Rd0000644000176000001440000001226112362217677014530 0ustar ripleyusers\alias{GtkExpander} \alias{gtkExpander} \name{GtkExpander} \title{GtkExpander} \description{A container which can hide its child} \section{Methods and Functions}{ \code{\link{gtkExpanderNew}(label = NULL, show = TRUE)}\cr \code{\link{gtkExpanderNewWithMnemonic}(label = NULL)}\cr \code{\link{gtkExpanderSetExpanded}(object, expanded)}\cr \code{\link{gtkExpanderGetExpanded}(object)}\cr \code{\link{gtkExpanderSetSpacing}(object, spacing)}\cr \code{\link{gtkExpanderGetSpacing}(object)}\cr \code{\link{gtkExpanderSetLabel}(object, label = NULL)}\cr \code{\link{gtkExpanderGetLabel}(object)}\cr \code{\link{gtkExpanderSetUseUnderline}(object, use.underline)}\cr \code{\link{gtkExpanderGetUseUnderline}(object)}\cr \code{\link{gtkExpanderSetUseMarkup}(object, use.markup)}\cr \code{\link{gtkExpanderGetUseMarkup}(object)}\cr \code{\link{gtkExpanderSetLabelWidget}(object, label.widget = NULL)}\cr \code{\link{gtkExpanderGetLabelWidget}(object)}\cr \code{gtkExpander(label = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkExpander}} \section{Interfaces}{GtkExpander implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkExpander}} allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a \code{\link{GtkTreeView}}. Normally you use an expander as you would use any other descendant of \code{\link{GtkBin}}; you create the child widget and use \code{\link{gtkContainerAdd}} to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically.} \section{Special Usage}{There are situations in which you may prefer to show and hide the expanded widget yourself, such as when you want to actually create the widget at expansion time. In this case, create a \code{\link{GtkExpander}} but do not add a child to it. The expander widget has an \code{expanded} property which can be used to monitor its expansion state. You should watch this property with a signal connection as follows: \preformatted{expander = gtk_expander_new_with_mnemonic ("_More Options"); g_signal_connect (expander, "notify::expanded", G_CALLBACK (expander_callback), NULL); ... static void expander_callback (GObject *object, GParamSpec *param_spec, gpointer user_data) { GtkExpander *expander; expander = GTK_EXPANDER (object); if (gtk_expander_get_expanded (expander)) { /* Show or create widgets */ } else { /* Hide or destroy widgets */ } } }} \section{GtkExpander as GtkBuildable}{The GtkExpander implementation of the GtkBuildable interface supports placing a child in the label position by specifying "label" as the "type" attribute of a element. A normal content child can be specified without specifying a type attribute. \emph{A UI definition fragment with GtkExpander} \preformatted{ expander <- gtkExpanderNewWithMnemonic("_More Options") gSignalConnect(expander, "notify::expanded", expander_callback) ... expander_callback <- (expander, param_spec, user_data) { if (expander$getExpanded()) { # Show or create widgets } else { # Hide or destroy widgets } } }} \section{Structures}{\describe{\item{\verb{GtkExpander}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkExpander} is the equivalent of \code{\link{gtkExpanderNew}}.} \section{Signals}{\describe{\item{\code{activate(expander, user.data)}}{ \emph{undocumented } \describe{ \item{\code{expander}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{expanded} [logical : Read / Write / Construct]}{ Whether the expander has been opened to reveal the child widget. Default value: FALSE } \item{\verb{label} [character : * : Read / Write / Construct]}{ Text of the expander's label. Default value: NULL } \item{\verb{label-widget} [\code{\link{GtkWidget}} : * : Read / Write]}{ A widget to display in place of the usual expander label. } \item{\verb{spacing} [integer : Read / Write]}{ Space to put between the label and the child. Allowed values: >= 0 Default value: 0 } \item{\verb{use-markup} [logical : Read / Write / Construct]}{ The text of the label includes XML markup. See pango_parse_markup(). Default value: FALSE } \item{\verb{use-underline} [logical : Read / Write / Construct]}{ If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Default value: FALSE } }} \section{Style Properties}{\describe{ \item{\verb{expander-size} [integer : Read]}{ Size of the expander arrow. Allowed values: >= 0 Default value: 10 } \item{\verb{expander-spacing} [integer : Read]}{ Spacing around expander arrow. Allowed values: >= 0 Default value: 2 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkExpander.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarSetStyle.Rd0000644000176000001440000000063212362217677016120 0ustar ripleyusers\alias{gtkToolbarSetStyle} \name{gtkToolbarSetStyle} \title{gtkToolbarSetStyle} \description{Alters the view of \code{toolbar} to display either icons only, text only, or both.} \usage{gtkToolbarSetStyle(object, style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{style}}{the new style for \code{toolbar}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetAddressGetIsMcSiteLocal.Rd0000644000176000001440000000072712362217677017710 0ustar ripleyusers\alias{gInetAddressGetIsMcSiteLocal} \name{gInetAddressGetIsMcSiteLocal} \title{gInetAddressGetIsMcSiteLocal} \description{Tests whether \code{address} is a site-local multicast address.} \usage{gInetAddressGetIsMcSiteLocal(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetAddress}}}} \details{Since 2.22} \value{[logical] \code{TRUE} if \code{address} is a site-local multicast address.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetUpperStepperSensitivity.Rd0000644000176000001440000000102312362217677021356 0ustar ripleyusers\alias{gtkRangeSetUpperStepperSensitivity} \name{gtkRangeSetUpperStepperSensitivity} \title{gtkRangeSetUpperStepperSensitivity} \description{Sets the sensitivity policy for the stepper that points to the 'upper' end of the GtkRange's adjustment.} \usage{gtkRangeSetUpperStepperSensitivity(object, sensitivity)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{sensitivity}}{the upper stepper's sensitivity policy.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRemoveFocusTracker.Rd0000644000176000001440000000063312362217677016565 0ustar ripleyusers\alias{atkRemoveFocusTracker} \name{atkRemoveFocusTracker} \title{atkRemoveFocusTracker} \description{Removes the specified focus tracker from the list of functions to be called when any object receives focus.} \usage{atkRemoveFocusTracker(tracker.id)} \arguments{\item{\verb{tracker.id}}{[numeric] the id of the focus tracker to remove}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardSearch.Rd0000644000176000001440000000324212362217677017244 0ustar ripleyusers\alias{gtkTextIterForwardSearch} \name{gtkTextIterForwardSearch} \title{gtkTextIterForwardSearch} \description{Searches forward for \code{str}. Any match is returned by setting \code{match.start} to the first character of the match and \code{match.end} to the first character after the match. The search will not continue past \code{limit}. Note that a search is a linear or O(n) operation, so you may wish to use \code{limit} to avoid locking up your UI on large buffers.} \usage{gtkTextIterForwardSearch(object, str, flags, limit = NULL)} \arguments{ \item{\verb{object}}{start of search} \item{\verb{str}}{a search string} \item{\verb{flags}}{flags affecting how the search is done} \item{\verb{limit}}{bound for the search, or \code{NULL} for the end of the buffer. \emph{[ \acronym{allow-none} ]}} } \details{If the \verb{GTK_TEXT_SEARCH_VISIBLE_ONLY} flag is present, the match may have invisible text interspersed in \code{str}. i.e. \code{str} will be a possibly-noncontiguous subsequence of the matched range. similarly, if you specify \verb{GTK_TEXT_SEARCH_TEXT_ONLY}, the match may have pixbufs or child widgets mixed inside the matched range. If these flags are not given, the match must be exact; the special 0xFFFC character in \code{str} will match embedded pixbufs or child widgets.} \value{ A list containing the following elements: \item{retval}{[logical] whether a match was found} \item{\verb{match.start}}{return location for start of match, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{match.end}}{return location for end of match, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkTestSimulateKey.Rd0000644000176000001440000000311312362217677016072 0ustar ripleyusers\alias{gdkTestSimulateKey} \name{gdkTestSimulateKey} \title{gdkTestSimulateKey} \description{This function is intended to be used in Gtk+ test programs. If (\code{x},\code{y}) are > (-1,-1), it will warp the mouse pointer to the given (\code{x},\code{y}) corrdinates within \code{window} and simulate a key press or release event. When the mouse pointer is warped to the target location, use of this function outside of test programs that run in their own virtual windowing system (e.g. Xvfb) is not recommended. If (\code{x},\code{y}) are passed as (-1,-1), the mouse pointer will not be warped and \code{window} origin will be used as mouse pointer location for the event. Also, \code{gtkTestSimulateKey()} is a fairly low level function, for most testing purposes, \code{\link{gtkTestWidgetSendKey}} is the right function to call which will generate a key press event followed by its accompanying key release event.} \usage{gdkTestSimulateKey(window, x, y, keyval, modifiers, key.pressrelease)} \arguments{ \item{\verb{window}}{Gdk window to simulate a key event for.} \item{\verb{x}}{x coordinate within \code{window} for the key event.} \item{\verb{y}}{y coordinate within \code{window} for the key event.} \item{\verb{keyval}}{A Gdk keyboard value.} \item{\verb{modifiers}}{Keyboard modifiers the event is setup with.} \item{\verb{key.pressrelease}}{either \code{GDK_KEY_PRESS} or \code{GDK_KEY_RELEASE}} } \details{Since 2.14} \value{[logical] wether all actions neccessary for a key event simulation were carried out successfully.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintSpinner.Rd0000644000176000001440000000222612362217677015434 0ustar ripleyusers\alias{gtkPaintSpinner} \name{gtkPaintSpinner} \title{gtkPaintSpinner} \description{Draws a spinner on \code{window} using the given parameters.} \usage{gtkPaintSpinner(object, window, state.type, area, widget, detail, step, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget (may be \code{NULL}). \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail (may be \code{NULL}). \emph{[ \acronym{allow-none} ]}} \item{\verb{step}}{the nth step, a value between 0 and \verb{"num-steps"}} \item{\verb{x}}{the x origin of the rectangle in which to draw the spinner} \item{\verb{y}}{the y origin of the rectangle in which to draw the spinner} \item{\verb{width}}{the width of the rectangle in which to draw the spinner} \item{\verb{height}}{the height of the rectangle in which to draw the spinner} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetSliderSizeFixed.Rd0000644000176000001440000000107612362217677017512 0ustar ripleyusers\alias{gtkRangeSetSliderSizeFixed} \name{gtkRangeSetSliderSizeFixed} \title{gtkRangeSetSliderSizeFixed} \description{Sets whether the range's slider has a fixed size, or a size that depends on it's adjustment's page size.} \usage{gtkRangeSetSliderSizeFixed(object, size.fixed)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{size.fixed}}{\code{TRUE} to make the slider size constant} } \details{This function is useful mainly for \code{\link{GtkRange}} subclasses. Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationSetAllowAsync.Rd0000644000176000001440000000111612362217677020445 0ustar ripleyusers\alias{gtkPrintOperationSetAllowAsync} \name{gtkPrintOperationSetAllowAsync} \title{gtkPrintOperationSetAllowAsync} \description{Sets whether the \code{\link{gtkPrintOperationRun}} may return before the print operation is completed. Note that some platforms may not allow asynchronous operation.} \usage{gtkPrintOperationSetAllowAsync(object, allow.async)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperation}}} \item{\verb{allow.async}}{\code{TRUE} to allow asynchronous operation} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPreviewSetInstallCmap.Rd0000644000176000001440000000102412362217677017242 0ustar ripleyusers\alias{gtkPreviewSetInstallCmap} \name{gtkPreviewSetInstallCmap} \title{gtkPreviewSetInstallCmap} \description{ This function is deprecated and does nothing. GdkRGB will automatically pick a private colormap if it cannot allocate sufficient colors. \strong{WARNING: \code{gtk_preview_set_install_cmap} is deprecated and should not be used in newly-written code.} } \usage{gtkPreviewSetInstallCmap(install.cmap)} \arguments{\item{\verb{install.cmap}}{ignored.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetDefaultCursorSize.Rd0000644000176000001440000000066312362217677020410 0ustar ripleyusers\alias{gdkDisplayGetDefaultCursorSize} \name{gdkDisplayGetDefaultCursorSize} \title{gdkDisplayGetDefaultCursorSize} \description{Returns the default size to use for cursors on \code{display}.} \usage{gdkDisplayGetDefaultCursorSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.4} \value{[numeric] the default cursor size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetTooltipText.Rd0000644000176000001440000000066012362217677017776 0ustar ripleyusers\alias{gtkStatusIconGetTooltipText} \name{gtkStatusIconGetTooltipText} \title{gtkStatusIconGetTooltipText} \description{Gets the contents of the tooltip for \code{status.icon}.} \usage{gtkStatusIconGetTooltipText(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{Since 2.16} \value{[character] the tooltip text, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelIterChildren.Rd0000644000176000001440000000175012362217677017200 0ustar ripleyusers\alias{gtkTreeModelIterChildren} \name{gtkTreeModelIterChildren} \title{gtkTreeModelIterChildren} \description{Sets \code{iter} to point to the first child of \code{parent}. If \code{parent} has no children, \code{FALSE} is returned and \code{iter} is set to be invalid. \code{parent} will remain a valid node after this function has been called.} \usage{gtkTreeModelIterChildren(object, parent = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModel}}.} \item{\verb{parent}}{The \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If \code{parent} is \code{NULL} returns the first node, equivalent to \code{gtk_tree_model_get_iter_first (tree_model, iter);}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE}, if \code{child} has been set to the first child.} \item{\verb{iter}}{The new \code{\link{GtkTreeIter}} to be set to the child.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetVisibleText.Rd0000644000176000001440000000114712362217677017416 0ustar ripleyusers\alias{gtkTextIterGetVisibleText} \name{gtkTextIterGetVisibleText} \title{gtkTextIterGetVisibleText} \description{Like \code{\link{gtkTextIterGetText}}, but invisible text is not included. Invisible text is usually invisible because a \code{\link{GtkTextTag}} with the "invisible" attribute turned on has been applied to it.} \usage{gtkTextIterGetVisibleText(object, end)} \arguments{ \item{\verb{object}}{iterator at start of range} \item{\verb{end}}{iterator at end of range} } \value{[character] string containing visible text in the range} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayManagerGetDefaultDisplay.Rd0000644000176000001440000000103612362217677021173 0ustar ripleyusers\alias{gdkDisplayManagerGetDefaultDisplay} \name{gdkDisplayManagerGetDefaultDisplay} \title{gdkDisplayManagerGetDefaultDisplay} \description{Gets the default \code{\link{GdkDisplay}}.} \usage{gdkDisplayManagerGetDefaultDisplay(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplayManager}}}} \details{Since 2.2} \value{[\code{\link{GdkDisplay}}] a \code{\link{GdkDisplay}}, or \code{NULL} if there is no default display. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveEjectFinish.Rd0000644000176000001440000000150612362217677015650 0ustar ripleyusers\alias{gDriveEjectFinish} \name{gDriveEjectFinish} \title{gDriveEjectFinish} \description{ Finishes ejecting a drive. \strong{WARNING: \code{g_drive_eject_finish} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gDriveEjectWithOperationFinish}} instead.} } \usage{gDriveEjectFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the drive has been ejected successfully, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxInsertText.Rd0000644000176000001440000000121012362217677016554 0ustar ripleyusers\alias{gtkComboBoxInsertText} \name{gtkComboBoxInsertText} \title{gtkComboBoxInsertText} \description{Inserts \code{string} at \code{position} in the list of strings stored in \code{combo.box}. Note that you can only use this function with combo boxes constructed with \code{\link{gtkComboBoxNewText}}.} \usage{gtkComboBoxInsertText(object, position, text)} \arguments{ \item{\verb{object}}{A \code{\link{GtkComboBox}} constructed using \code{\link{gtkComboBoxNewText}}} \item{\verb{position}}{An index to insert \code{text}} \item{\verb{text}}{A string} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveGetVolumes.Rd0000644000176000001440000000061712362217677015551 0ustar ripleyusers\alias{gDriveGetVolumes} \name{gDriveGetVolumes} \title{gDriveGetVolumes} \description{Get a list of mountable volumes for \code{drive}.} \usage{gDriveGetVolumes(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[list] \verb{list} containing any \code{\link{GVolume}} objects on the given \code{drive}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionSetPreviewText.Rd0000644000176000001440000000075112362217677020462 0ustar ripleyusers\alias{gtkFontSelectionSetPreviewText} \name{gtkFontSelectionSetPreviewText} \title{gtkFontSelectionSetPreviewText} \description{Sets the text displayed in the preview area. The \code{text} is used to show how the selected font looks.} \usage{gtkFontSelectionSetPreviewText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFontSelection}}} \item{\verb{text}}{the text to display in the preview area} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufNewFromFileAtSize.Rd0000644000176000001440000000312212362217677017451 0ustar ripleyusers\alias{gdkPixbufNewFromFileAtSize} \name{gdkPixbufNewFromFileAtSize} \title{gdkPixbufNewFromFileAtSize} \description{Creates a new pixbuf by loading an image from a file. The file format is detected automatically. If \code{NULL} is returned, then \code{error} will be set. Possible errors are in the \verb{GDK_PIXBUF_ERROR} and \verb{G_FILE_ERROR} domains.} \usage{gdkPixbufNewFromFileAtSize(filename, width, height, .errwarn = TRUE)} \arguments{ \item{\verb{filename}}{Name of file to load, in the GLib file name encoding} \item{\verb{width}}{The width the image should have or -1 to not constrain the width} \item{\verb{height}}{The height the image should have or -1 to not constrain the height} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{The image will be scaled to fit in the requested size, preserving the image's aspect ratio. Note that the returned pixbuf may be smaller than \code{width} x \code{height}, if the aspect ratio requires it. To load and image at the requested size, regardless of aspect ratio, use \code{\link{gdkPixbufNewFromFileAtScale}}. Since 2.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1, or \code{NULL} if any of several error conditions occurred: the file could not be opened, there was no loader for the file's format, there was not enough memory to allocate the image buffer, or the image file contained invalid data.} \item{\verb{error}}{Return location for an error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkKeyvalFromName.Rd0000644000176000001440000000061412362217677015661 0ustar ripleyusers\alias{gdkKeyvalFromName} \name{gdkKeyvalFromName} \title{gdkKeyvalFromName} \description{Converts a key name to a key value.} \usage{gdkKeyvalFromName(keyval.name)} \arguments{\item{\verb{keyval.name}}{a key name.}} \value{[numeric] the corresponding key value, or \code{GDK_VoidSymbol} if the key name is not a valid key.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapAddFilter.Rd0000644000176000001440000000115612362217677016247 0ustar ripleyusers\alias{gtkAccelMapAddFilter} \name{gtkAccelMapAddFilter} \title{gtkAccelMapAddFilter} \description{Adds a filter to the global list of accel path filters.} \usage{gtkAccelMapAddFilter(filter.pattern)} \arguments{\item{\verb{filter.pattern}}{a pattern (see \verb{GPatternSpec})}} \details{Accel map entries whose accel path matches one of the filters are skipped by \code{\link{gtkAccelMapForeach}}. This function is intended for GTK+ modules that create their own menus, but don't want them to be saved into the applications accelerator map dump.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterGetAttributes.Rd0000644000176000001440000000156512362217677017306 0ustar ripleyusers\alias{gtkTextIterGetAttributes} \name{gtkTextIterGetAttributes} \title{gtkTextIterGetAttributes} \description{Computes the effect of any tags applied to this spot in the text. The \code{values} parameter should be initialized to the default settings you wish to use if no tags are in effect. You'd typically obtain the defaults from \code{\link{gtkTextViewGetDefaultAttributes}}.} \usage{gtkTextIterGetAttributes(object, values)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{values}}{a \code{\link{GtkTextAttributes}} to be filled in} } \details{\code{\link{gtkTextIterGetAttributes}} will modify \code{values}, applying the effects of any tags present at \code{iter}. If any tags affected \code{values}, the function returns \code{TRUE}.} \value{[logical] \code{TRUE} if \code{values} was modified} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitIsRichTextAvailable.Rd0000644000176000001440000000165512362217677021323 0ustar ripleyusers\alias{gtkClipboardWaitIsRichTextAvailable} \name{gtkClipboardWaitIsRichTextAvailable} \title{gtkClipboardWaitIsRichTextAvailable} \description{Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitIsRichTextAvailable(object, buffer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}} } \details{This function is a little faster than calling \code{\link{gtkClipboardWaitForRichText}} since it doesn't need to retrieve the actual text. Since 2.10} \value{[logical] \code{TRUE} is there is rich text available, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGravityGetForScriptAndWidth.Rd0000644000176000001440000000262212362217677020705 0ustar ripleyusers\alias{pangoGravityGetForScriptAndWidth} \name{pangoGravityGetForScriptAndWidth} \title{pangoGravityGetForScriptAndWidth} \description{Based on the script, East Asian width, base gravity, and hint, returns actual gravity to use in laying out a single character or \code{\link{PangoItem}}.} \usage{pangoGravityGetForScriptAndWidth(script, wide, base.gravity, hint)} \arguments{ \item{\verb{script}}{[\code{\link{PangoScript}}] \code{\link{PangoScript}} to query} \item{\verb{wide}}{[logical] \code{TRUE} for wide characters as returned by \code{gUnicharIswide()}} \item{\verb{base.gravity}}{[\code{\link{PangoGravity}}] base gravity of the paragraph} \item{\verb{hint}}{[\code{\link{PangoGravityHint}}] orientation hint} } \details{This function is similar to \code{\link{pangoGravityGetForScript}} except that this function makes a distinction between narrow/half-width and wide/full-width characters also. Wide/full-width characters always stand \emph{upright}, that is, they always take the base gravity, whereas narrow/full-width characters are always rotated in vertical context. If \code{base.gravity} is \code{PANGO_GRAVITY_AUTO}, it is first replaced with the preferred gravity of \code{script}. Since 1.26} \value{[\code{\link{PangoGravity}}] resolved gravity suitable to use for a run of text with \code{script} and \code{wide}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetWidthChars.Rd0000644000176000001440000000113612362217677016557 0ustar ripleyusers\alias{gtkEntrySetWidthChars} \name{gtkEntrySetWidthChars} \title{gtkEntrySetWidthChars} \description{Changes the size request of the entry to be about the right size for \code{n.chars} characters. Note that it changes the size \emph{request}, the size can still be affected by how you pack the widget into containers. If \code{n.chars} is -1, the size reverts to the default entry size.} \usage{gtkEntrySetWidthChars(object, n.chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{n.chars}}{width in chars} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRangeSetFillLevel.Rd0000644000176000001440000000227212362217677016332 0ustar ripleyusers\alias{gtkRangeSetFillLevel} \name{gtkRangeSetFillLevel} \title{gtkRangeSetFillLevel} \description{Set the new position of the fill level indicator.} \usage{gtkRangeSetFillLevel(object, fill.level)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRange}}} \item{\verb{fill.level}}{the new position of the fill level indicator} } \details{The "fill level" is probably best described by its most prominent use case, which is an indicator for the amount of pre-buffering in a streaming media player. In that use case, the value of the range would indicate the current play position, and the fill level would be the position up to which the file/stream has been downloaded. This amount of prebuffering can be displayed on the range's trough and is themeable separately from the trough. To enable fill level display, use \code{\link{gtkRangeSetShowFillLevel}}. The range defaults to not showing the fill level. Additionally, it's possible to restrict the range's slider position to values which are smaller than the fill level. This is controller by \code{\link{gtkRangeSetRestrictToFillLevel}} and is by default enabled. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrIteratorCopy.Rd0000644000176000001440000000070312362217677016616 0ustar ripleyusers\alias{pangoAttrIteratorCopy} \name{pangoAttrIteratorCopy} \title{pangoAttrIteratorCopy} \description{Copy a \code{\link{PangoAttrIterator}}} \usage{pangoAttrIteratorCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}.}} \value{[\code{\link{PangoAttrIterator}}] the newly allocated \code{\link{PangoAttrIterator}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetDirection.Rd0000644000176000001440000000100312362217677017364 0ustar ripleyusers\alias{gtkIconSourceGetDirection} \name{gtkIconSourceGetDirection} \title{gtkIconSourceGetDirection} \description{Obtains the text direction this icon source applies to. The return value is only useful/meaningful if the text direction is \emph{not} wildcarded.} \usage{gtkIconSourceGetDirection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[\code{\link{GtkTextDirection}}] text direction this source matches} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForContents.Rd0000644000176000001440000000142312362217677017731 0ustar ripleyusers\alias{gtkClipboardWaitForContents} \name{gtkClipboardWaitForContents} \title{gtkClipboardWaitForContents} \description{Requests the contents of the clipboard using the given target. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForContents(object, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{target}}{an atom representing the form into which the clipboard owner should convert the selection.} } \value{[\code{\link{GtkSelectionData}}] a newly-allocated \code{\link{GtkSelectionData}} object or \code{NULL} if retrieving the given target failed. If non-\code{NULL},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorChange.Rd0000644000176000001440000000145112362217677015165 0ustar ripleyusers\alias{gdkColorChange} \name{gdkColorChange} \title{gdkColorChange} \description{ Changes the value of a color that has already been allocated. If \code{colormap} is not a private colormap, then the color must have been allocated using \code{\link{gdkColormapAllocColors}} with the \code{writeable} set to \code{TRUE}. \strong{WARNING: \code{gdk_color_change} is deprecated and should not be used in newly-written code.} } \usage{gdkColorChange(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkColormap}}.} \item{\verb{color}}{a \code{\link{GdkColor}}, with the color to change in the \code{pixel} field, and the new value in the remaining fields.} } \value{[integer] \code{TRUE} if the color was successfully changed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererToggle.Rd0000644000176000001440000000462112362217677016473 0ustar ripleyusers\alias{GtkCellRendererToggle} \alias{gtkCellRendererToggle} \name{GtkCellRendererToggle} \title{GtkCellRendererToggle} \description{Renders a toggle button in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererToggleNew}()}\cr \code{\link{gtkCellRendererToggleGetRadio}(object)}\cr \code{\link{gtkCellRendererToggleSetRadio}(object, radio)}\cr \code{\link{gtkCellRendererToggleGetActive}(object)}\cr \code{\link{gtkCellRendererToggleSetActive}(object, setting)}\cr \code{\link{gtkCellRendererToggleGetActivatable}(object)}\cr \code{\link{gtkCellRendererToggleSetActivatable}(object, setting)}\cr \code{gtkCellRendererToggle()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererToggle}} \section{Detailed Description}{\code{\link{GtkCellRendererToggle}} renders a toggle button in a cell. The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal.} \section{Structures}{\describe{\item{\verb{GtkCellRendererToggle}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererToggle} is the equivalent of \code{\link{gtkCellRendererToggleNew}}.} \section{Signals}{\describe{\item{\code{toggled(cell.renderer, path, user.data)}}{ The ::toggled signal is emitted when the cell is toggled. \describe{ \item{\code{cell.renderer}}{the object which received the signal} \item{\code{path}}{string representation of \code{\link{GtkTreePath}} describing the event location} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{activatable} [logical : Read / Write]}{ The toggle button can be activated. Default value: TRUE } \item{\verb{active} [logical : Read / Write]}{ The toggle state of the button. Default value: FALSE } \item{\verb{inconsistent} [logical : Read / Write]}{ The inconsistent state of the button. Default value: FALSE } \item{\verb{indicator-size} [integer : Read / Write]}{ Size of check or radio indicator. Allowed values: >= 0 Default value: 13 } \item{\verb{radio} [logical : Read / Write]}{ Draw the toggle button as a radio button. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererToggle.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnFocusCell.Rd0000644000176000001440000000076312362217677017536 0ustar ripleyusers\alias{gtkTreeViewColumnFocusCell} \name{gtkTreeViewColumnFocusCell} \title{gtkTreeViewColumnFocusCell} \description{Sets the current keyboard focus to be at \code{cell}, if the column contains 2 or more editable and activatable cells.} \usage{gtkTreeViewColumnFocusCell(object, cell)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSetAddSource.Rd0000644000176000001440000000315312362217677016160 0ustar ripleyusers\alias{gtkIconSetAddSource} \name{gtkIconSetAddSource} \title{gtkIconSetAddSource} \description{Icon sets have a list of \code{\link{GtkIconSource}}, which they use as base icons for rendering icons in different states and sizes. Icons are scaled, made to look insensitive, etc. in \code{\link{gtkIconSetRenderIcon}}, but \code{\link{GtkIconSet}} needs base images to work with. The base images and when to use them are described by a \code{\link{GtkIconSource}}.} \usage{gtkIconSetAddSource(object, source)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSet}}} \item{\verb{source}}{a \code{\link{GtkIconSource}}} } \details{This function copies \code{source}, so you can reuse the same source immediately without affecting the icon set. An example of when you'd use this function: a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon, and you might add a separate source for each one. You should nearly always add a "default" icon source with all fields wildcarded, which will be used as a fallback if no more specific source matches. \code{\link{GtkIconSet}} always prefers more specific icon sources to more generic icon sources. The order in which you add the sources to the icon set does not matter. \code{\link{gtkIconSetNewFromPixbuf}} creates a new icon set with a default icon source based on the given pixbuf.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreAppend.Rd0000644000176000001440000000164612362217677016073 0ustar ripleyusers\alias{gtkTreeStoreAppend} \name{gtkTreeStoreAppend} \title{gtkTreeStoreAppend} \description{Appends a new row to \code{tree.store}. If \code{parent} is non-\code{NULL}, then it will append the new row after the last child of \code{parent}, otherwise it will append a row to the top level. \code{iter} will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call \code{\link{gtkTreeStoreSet}} or \code{\link{gtkTreeStoreSetValue}}.} \usage{gtkTreeStoreAppend(object, parent = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{parent}}{A valid \code{\link{GtkTreeIter}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{iter}}{An unset \code{\link{GtkTreeIter}} to set to the appended row} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoShowGlyphString.Rd0000644000176000001440000000131112362217677017424 0ustar ripleyusers\alias{pangoCairoShowGlyphString} \name{pangoCairoShowGlyphString} \title{pangoCairoShowGlyphString} \description{Draws the glyphs in \code{glyphs} in the specified cairo context. The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context.} \usage{pangoCairoShowGlyphString(cr, font, glyphs)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a Cairo context} \item{\verb{font}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}} from a \code{\link{PangoCairoFontMap}}} \item{\verb{glyphs}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetFilter.Rd0000644000176000001440000000067612362217677017041 0ustar ripleyusers\alias{gtkFileChooserGetFilter} \name{gtkFileChooserGetFilter} \title{gtkFileChooserGetFilter} \description{Gets the current filter; see \code{\link{gtkFileChooserSetFilter}}.} \usage{gtkFileChooserGetFilter(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[\code{\link{GtkFileFilter}}] the current filter, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetTooltipColumn.Rd0000644000176000001440000000104112362217677017737 0ustar ripleyusers\alias{gtkTreeViewGetTooltipColumn} \name{gtkTreeViewGetTooltipColumn} \title{gtkTreeViewGetTooltipColumn} \description{Returns the column of \code{tree.view}'s model which is being used for displaying tooltips on \code{tree.view}'s rows.} \usage{gtkTreeViewGetTooltipColumn(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}}} \details{Since 2.12} \value{[integer] the index of the tooltip column that is currently being used, or -1 if this is disabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoNew.Rd0000644000176000001440000000041212362217677014623 0ustar ripleyusers\alias{gFileInfoNew} \name{gFileInfoNew} \title{gFileInfoNew} \description{Creates a new file info structure.} \usage{gFileInfoNew()} \value{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcGetImModuleFile.Rd0000644000176000001440000000071212362217677016260 0ustar ripleyusers\alias{gtkRcGetImModuleFile} \name{gtkRcGetImModuleFile} \title{gtkRcGetImModuleFile} \description{Obtains the path to the IM modules file. See the documentation of the \env{GTK_IM_MODULE_FILE} environment variable for more details.} \usage{gtkRcGetImModuleFile()} \value{[character] a newly-allocated string containing the name of the file listing the IM modules available for loading} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPushGroup.Rd0000644000176000001440000000341112362217677015263 0ustar ripleyusers\alias{cairoPushGroup} \name{cairoPushGroup} \title{cairoPushGroup} \description{Temporarily redirects drawing to an intermediate surface known as a group. The redirection lasts until the group is completed by a call to \code{\link{cairoPopGroup}} or \code{\link{cairoPopGroupToSource}}. These calls provide the result of any drawing to the group as a pattern, (either as an explicit object, or set as the source pattern).} \usage{cairoPushGroup(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \details{This group functionality can be convenient for performing intermediate compositing. One common use of a group is to render objects as opaque within the group, (so that they occlude each other), and then blend the result with translucence onto the destination. Groups can be nested arbitrarily deep by making balanced calls to \code{\link{cairoPushGroup}}/\code{\link{cairoPopGroup}}. Each call pushes/pops the new target group onto/from a stack. The \code{\link{cairoPushGroup}} function calls \code{\link{cairoSave}} so that any changes to the graphics state will not be visible outside the group, (the pop_group functions call \code{\link{cairoRestore}}). By default the intermediate group will have a content type of \code{CAIRO_CONTENT_COLOR_ALPHA}. Other content types can be chosen for the group by using \code{\link{cairoPushGroupWithContent}} instead. As an example, here is how one might fill and stroke a path with translucence, but without any portion of the fill being visible under the stroke: \preformatted{ cr$pushGroup() cr$setSource(fill_pattern) cr$fillPreserve() cr$setSource(stroke_pattern) cr$stroke() cr$popGroupToSource() cr$paintWithAlpha(alpha) } Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetCellArea.Rd0000644000176000001440000000254112362217677016605 0ustar ripleyusers\alias{gtkTreeViewGetCellArea} \name{gtkTreeViewGetCellArea} \title{gtkTreeViewGetCellArea} \description{Fills the bounding rectangle in bin_window coordinates for the cell at the row specified by \code{path} and the column specified by \code{column}. If \code{path} is \code{NULL}, or points to a path not currently displayed, the \code{y} and \code{height} fields of the rectangle will be filled with 0. If \code{column} is \code{NULL}, the \code{x} and \code{width} fields will be filled with 0. The sum of all cell rects does not cover the entire tree; there are extra pixels in between rows, for example. The returned rectangle is equivalent to the \code{cell.area} passed to \code{\link{gtkCellRendererRender}}. This function is only valid if \code{tree.view} is realized.} \usage{gtkTreeViewGetCellArea(object, path, column)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} for the row, or \code{NULL} to get only horizontal coordinates. \emph{[ \acronym{allow-none} ]}} \item{\verb{column}}{a \code{\link{GtkTreeViewColumn}} for the column, or \code{NULL} to get only vertical coordinates. \emph{[ \acronym{allow-none} ]}} } \value{ A list containing the following elements: \item{\verb{rect}}{rectangle to fill with cell rect} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetDisplayName.Rd0000644000176000001440000000055612362217677016751 0ustar ripleyusers\alias{gFileInfoGetDisplayName} \name{gFileInfoGetDisplayName} \title{gFileInfoGetDisplayName} \description{Gets a display name for a file.} \usage{gFileInfoGetDisplayName(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the display name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetParent.Rd0000644000176000001440000000111312362217677015146 0ustar ripleyusers\alias{gFileGetParent} \name{gFileGetParent} \title{gFileGetParent} \description{Gets the parent directory for the \code{file}. If the \code{file} represents the root directory of the file system, then \code{NULL} will be returned.} \usage{gFileGetParent(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[\code{\link{GFile}}] a \code{\link{GFile}} structure to the parent of the given \code{\link{GFile}} or \code{NULL} if there is no parent.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkActionGetName.Rd0000644000176000001440000000236612362217677015477 0ustar ripleyusers\alias{atkActionGetName} \name{atkActionGetName} \title{atkActionGetName} \description{Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click interaction techniques of the same name: i.e. "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists.} \usage{atkActionGetName(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkAction}}] a \code{\link{GObject}} instance that implements AtkActionIface} \item{\verb{i}}{[integer] the action index corresponding to the action to be performed } } \details{For technical reasons, some toolkits cannot guarantee that the reported action is actually 'bound' to a nontrivial user event; i.e. the result of some actions via \code{\link{atkActionDoAction}} may be NIL. } \value{[character] a name string, or \code{NULL} if \code{action} does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetEditName.Rd0000644000176000001440000000053612362217677016227 0ustar ripleyusers\alias{gFileInfoGetEditName} \name{gFileInfoGetEditName} \title{gFileInfoGetEditName} \description{Gets the edit name for a file.} \usage{gFileInfoGetEditName(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the edit name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GQuark.Rd0000644000176000001440000000037312302141353013464 0ustar ripleyusers\name{GQuark} \alias{GQuark} \title{GQuark} \description{A GQuark is a unique identifier used for internalizing strings in GLib. RGtk2 will automatically coerce R strings to GQuarks as needed, but see \code{\link{as.GQuark}} for explicit coercion. } RGtk2/man/gdkCairoRectangle.Rd0000644000176000001440000000060612362217677015664 0ustar ripleyusers\alias{gdkCairoRectangle} \name{gdkCairoRectangle} \title{gdkCairoRectangle} \description{Adds the given rectangle to the current path of \code{cr}.} \usage{gdkCairoRectangle(cr, rectangle)} \arguments{ \item{\verb{cr}}{a \code{\link{Cairo}}} \item{\verb{rectangle}}{a \code{\link{GdkRectangle}}} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreSetValuesv.Rd0000644000176000001440000000147412362217677017000 0ustar ripleyusers\alias{gtkListStoreSetValuesv} \name{gtkListStoreSetValuesv} \title{gtkListStoreSetValuesv} \description{A variant of \code{gtkListStoreSetValist()} which takes the columns and values as two lists, instead of varargs. This function is mainly intended for language-bindings and in case the number of columns to change is not known until run-time.} \usage{gtkListStoreSetValuesv(object, iter, columns, values)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} for the row being modified} \item{\verb{columns}}{a list of column numbers. \emph{[ \acronym{array} length=n_values]}} \item{\verb{values}}{a list of GValues. \emph{[ \acronym{array} length=n_values]}} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeModelFilterConvertPathToChildPath.Rd0000644000176000001440000000155612362217677022317 0ustar ripleyusers\alias{gtkTreeModelFilterConvertPathToChildPath} \name{gtkTreeModelFilterConvertPathToChildPath} \title{gtkTreeModelFilterConvertPathToChildPath} \description{Converts \code{filter.path} to a path on the child model of \code{filter}. That is, \code{filter.path} points to a location in \code{filter}. The returned path will point to the same location in the model not being filtered. If \code{filter.path} does not point to a location in the child model, \code{NULL} is returned.} \usage{gtkTreeModelFilterConvertPathToChildPath(object, filter.path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeModelFilter}}.} \item{\verb{filter.path}}{A \code{\link{GtkTreePath}} to convert.} } \details{Since 2.4} \value{[\code{\link{GtkTreePath}}] A newly allocated \code{\link{GtkTreePath}}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupGetSensitive.Rd0000644000176000001440000000112712362217677017605 0ustar ripleyusers\alias{gtkActionGroupGetSensitive} \name{gtkActionGroupGetSensitive} \title{gtkActionGroupGetSensitive} \description{Returns \code{TRUE} if the group is sensitive. The constituent actions can only be logically sensitive (see \code{\link{gtkActionIsSensitive}}) if they are sensitive (see \code{\link{gtkActionGetSensitive}}) and their group is sensitive.} \usage{gtkActionGroupGetSensitive(object)} \arguments{\item{\verb{object}}{the action group}} \details{Since 2.4} \value{[logical] \code{TRUE} if the group is sensitive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleGetLayoutOffsets.Rd0000644000176000001440000000163012362217677017237 0ustar ripleyusers\alias{gtkScaleGetLayoutOffsets} \name{gtkScaleGetLayoutOffsets} \title{gtkScaleGetLayoutOffsets} \description{Obtains the coordinates where the scale will draw the \code{\link{PangoLayout}} representing the text in the scale. Remember when using the \code{\link{PangoLayout}} function you need to convert to and from pixels using \code{pangoPixels()} or \verb{PANGO_SCALE}. } \usage{gtkScaleGetLayoutOffsets(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScale}}}} \details{If the \verb{"draw-value"} property is \code{FALSE}, the return values are undefined. Since 2.4} \value{ A list containing the following elements: \item{\verb{x}}{location to store X offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y}}{location to store Y offset of layout, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrGravityHintNew.Rd0000644000176000001440000000071212362217677017114 0ustar ripleyusers\alias{pangoAttrGravityHintNew} \name{pangoAttrGravityHintNew} \title{pangoAttrGravityHintNew} \description{Create a new gravity hint attribute.} \usage{pangoAttrGravityHintNew(hint)} \arguments{\item{\verb{hint}}{[\code{\link{PangoGravityHint}}] the gravity hint value.}} \details{ Since 1.16} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetLayoutExtents.Rd0000644000176000001440000000142712362217677020655 0ustar ripleyusers\alias{pangoLayoutIterGetLayoutExtents} \name{pangoLayoutIterGetLayoutExtents} \title{pangoLayoutIterGetLayoutExtents} \description{Obtains the extents of the \code{\link{PangoLayout}} being iterated over. \code{ink.rect} or \code{logical.rect} can be \code{NULL} if you aren't interested in them.} \usage{pangoLayoutIterGetLayoutExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with ink extents, or \code{NULL}} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with logical extents, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNew.Rd0000644000176000001440000000104012362217677014467 0ustar ripleyusers\alias{gtkCTreeNew} \name{gtkCTreeNew} \title{gtkCTreeNew} \description{ Create a new \code{\link{GtkCTree}} widget. \strong{WARNING: \code{gtk_ctree_new} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNew(columns = 1, tree.column = 0, show = TRUE)} \arguments{ \item{\verb{columns}}{Number of columns.} \item{\verb{tree.column}}{Which columns has the tree graphic.} } \value{[\code{\link{GtkWidget}}] The new \code{\link{GtkCTree}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetParent.Rd0000644000176000001440000000066112362217677016060 0ustar ripleyusers\alias{gtkWidgetGetParent} \name{gtkWidgetGetParent} \title{gtkWidgetGetParent} \description{Returns the parent container of \code{widget}.} \usage{gtkWidgetGetParent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GtkWidget}}] the parent container of \code{widget}, or \code{NULL}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetPixtext.Rd0000644000176000001440000000131412362217677016671 0ustar ripleyusers\alias{gtkCTreeNodeSetPixtext} \name{gtkCTreeNodeSetPixtext} \title{gtkCTreeNodeSetPixtext} \description{ FIXME \strong{WARNING: \code{gtk_ctree_node_set_pixtext} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetPixtext(object, node, column, text, spacing, pixmap, mask = NULL)} \arguments{ \item{\verb{object}}{. \emph{[ \acronym{allow-none} ]}} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} \item{\verb{text}}{\emph{undocumented }} \item{\verb{spacing}}{\emph{undocumented }} \item{\verb{pixmap}}{\emph{undocumented }} \item{\verb{mask}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterGetCharExtents.Rd0000644000176000001440000000132712362217677020254 0ustar ripleyusers\alias{pangoLayoutIterGetCharExtents} \name{pangoLayoutIterGetCharExtents} \title{pangoLayoutIterGetCharExtents} \description{Gets the extents of the current character, in layout coordinates (origin is the top left of the entire layout). Only logical extents can sensibly be obtained for characters; ink extents make sense only down to the level of clusters.} \usage{pangoLayoutIterGetCharExtents(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{ A list containing the following elements: \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] rectangle to fill with logical extents} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetToplevel.Rd0000644000176000001440000000271712362217677016425 0ustar ripleyusers\alias{gtkWidgetGetToplevel} \name{gtkWidgetGetToplevel} \title{gtkWidgetGetToplevel} \description{This function returns the topmost widget in the container hierarchy \code{widget} is a part of. If \code{widget} has no parent widgets, it will be returned as the topmost widget. No reference will be added to the returned widget; it should not be unreferenced.} \usage{gtkWidgetGetToplevel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Note the difference in behavior vs. \code{\link{gtkWidgetGetAncestor}}; \code{gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW)} would return \code{NULL} if \code{widget} wasn't inside a toplevel window, and if the window was inside a \verb{GtkWindow-derived} widget which was in turn inside the toplevel \code{\link{GtkWindow}}. While the second case may seem unlikely, it actually happens when a \code{\link{GtkPlug}} is embedded inside a \code{\link{GtkSocket}} within the same application. To reliably find the toplevel \code{\link{GtkWindow}}, use \code{\link{gtkWidgetGetToplevel}} and check if the \code{TOPLEVEL} flags is set on the result. \preformatted{ toplevel <- widget$getToplevel() if (toplevel$flags() & GtkWidgetFlags["toplevel"]) { # Perform action on toplevel. } }} \value{[\code{\link{GtkWidget}}] the topmost ancestor of \code{widget}, or \code{widget} itself if there's no ancestor. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarSetDetailWidthChars.Rd0000644000176000001440000000071212362217677020311 0ustar ripleyusers\alias{gtkCalendarSetDetailWidthChars} \name{gtkCalendarSetDetailWidthChars} \title{gtkCalendarSetDetailWidthChars} \description{Updates the width of detail cells. See \verb{"detail-width-chars"}.} \usage{gtkCalendarSetDetailWidthChars(object, chars)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCalendar}}.} \item{\verb{chars}}{detail width in characters.} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferMoveMarkByName.Rd0000644000176000001440000000101412362217677017630 0ustar ripleyusers\alias{gtkTextBufferMoveMarkByName} \name{gtkTextBufferMoveMarkByName} \title{gtkTextBufferMoveMarkByName} \description{Moves the mark named \code{name} (which must exist) to location \code{where}. See \code{\link{gtkTextBufferMoveMark}} for details.} \usage{gtkTextBufferMoveMarkByName(object, name, where)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{name}}{name of a mark} \item{\verb{where}}{new location for mark} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Application-launching.Rd0000644000176000001440000000310012362217677017260 0ustar ripleyusers\alias{gdk-Application-launching} \alias{GdkAppLaunchContext} \alias{gdkAppLaunchContext} \name{gdk-Application-launching} \title{Application launching} \description{Startup notification for applications} \section{Methods and Functions}{ \code{\link{gdkAppLaunchContextNew}()}\cr \code{\link{gdkAppLaunchContextSetDisplay}(object, display)}\cr \code{\link{gdkAppLaunchContextSetScreen}(object, screen)}\cr \code{\link{gdkAppLaunchContextSetDesktop}(object, desktop)}\cr \code{\link{gdkAppLaunchContextSetTimestamp}(object, timestamp)}\cr \code{\link{gdkAppLaunchContextSetIcon}(object, icon = NULL)}\cr \code{\link{gdkAppLaunchContextSetIconName}(object, icon.name = NULL)}\cr \code{gdkAppLaunchContext()} } \section{Detailed Description}{GdkAppLaunchContext is an implementation of \code{\link{GAppLaunchContext}} that handles launching an application in a graphical context. It provides startup notification and allows to launch applications on a specific screen or workspace. \emph{Launching an application} \preformatted{ context <- gdkAppLaunchContext() context$setScreen(my_screen) context$setTimestamp(event$time) gAppInfoLaunchDefaultForUri("http://www.gtk.org", context) }} \section{Structures}{\describe{\item{\verb{GdkAppLaunchContext}}{ An opaque structure representing an application launch context. }}} \section{Convenient Construction}{\code{gdkAppLaunchContext} is the equivalent of \code{\link{gdkAppLaunchContextNew}}.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Application-launching.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardSentenceStarts.Rd0000644000176000001440000000117412362217677021120 0ustar ripleyusers\alias{gtkTextIterBackwardSentenceStarts} \name{gtkTextIterBackwardSentenceStarts} \title{gtkTextIterBackwardSentenceStarts} \description{Calls \code{\link{gtkTextIterBackwardSentenceStart}} up to \code{count} times, or until it returns \code{FALSE}. If \code{count} is negative, moves forward instead of backward.} \usage{gtkTextIterBackwardSentenceStarts(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of sentences to move} } \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetPosition.Rd0000644000176000001440000000136712362217677016443 0ustar ripleyusers\alias{gdkWindowGetPosition} \name{gdkWindowGetPosition} \title{gdkWindowGetPosition} \description{Obtains the position of the window as reported in the most-recently-processed \code{\link{GdkEventConfigure}}. Contrast with \code{\link{gdkWindowGetGeometry}} which queries the X server for the current window position, regardless of which events have been received or processed.} \usage{gdkWindowGetPosition(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{The position coordinates are relative to the window's parent window.} \value{ A list containing the following elements: \item{\verb{x}}{X coordinate of window} \item{\verb{y}}{Y coordinate of window} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintHandle.Rd0000644000176000001440000000203712362217677015211 0ustar ripleyusers\alias{gtkPaintHandle} \name{gtkPaintHandle} \title{gtkPaintHandle} \description{Draws a handle as used in \code{\link{GtkHandleBox}} and \code{\link{GtkPaned}}.} \usage{gtkPaintHandle(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin of the handle} \item{\verb{y}}{y origin of the handle} \item{\verb{width}}{with of the handle} \item{\verb{height}}{height of the handle} \item{\verb{orientation}}{the orientation of the handle} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetChildInputShapes.Rd0000644000176000001440000000116312362217677020054 0ustar ripleyusers\alias{gdkWindowSetChildInputShapes} \name{gdkWindowSetChildInputShapes} \title{gdkWindowSetChildInputShapes} \description{Sets the input shape mask of \code{window} to the union of input shape masks for all children of \code{window}, ignoring the input shape mask of \code{window} itself. Contrast with \code{\link{gdkWindowMergeChildInputShapes}} which includes the input shape mask of \code{window} in the masks to be merged.} \usage{gdkWindowSetChildInputShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCGetValues.Rd0000644000176000001440000000116712362217677015116 0ustar ripleyusers\alias{gdkGCGetValues} \name{gdkGCGetValues} \title{gdkGCGetValues} \description{Retrieves the current values from a graphics context. Note that only the pixel values of the \code{values->foreground} and \code{values->background} are filled, use \code{\link{gdkColormapQueryColor}} to obtain the rgb values if you need them.} \usage{gdkGCGetValues(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkGC}}.}} \value{ A list containing the following elements: \item{\verb{values}}{the \code{\link{GdkGCValues}} structure in which to store the results.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookNew.Rd0000644000176000001440000000051112362217677015247 0ustar ripleyusers\alias{gtkNotebookNew} \name{gtkNotebookNew} \title{gtkNotebookNew} \description{Creates a new \code{\link{GtkNotebook}} widget with no pages.} \usage{gtkNotebookNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the newly created \code{\link{GtkNotebook}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutGetBinWindow.Rd0000644000176000001440000000064412362217677016562 0ustar ripleyusers\alias{gtkLayoutGetBinWindow} \name{gtkLayoutGetBinWindow} \title{gtkLayoutGetBinWindow} \description{Retrieve the bin window of the layout used for drawing operations.} \usage{gtkLayoutGetBinWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLayout}}}} \details{Since 2.14} \value{[\code{\link{GdkWindow}}] a \code{\link{GdkWindow}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetProgressPulseStep.Rd0000644000176000001440000000067312362217677020161 0ustar ripleyusers\alias{gtkEntryGetProgressPulseStep} \name{gtkEntryGetProgressPulseStep} \title{gtkEntryGetProgressPulseStep} \description{Retrieves the pulse step set with \code{\link{gtkEntrySetProgressPulseStep}}.} \usage{gtkEntryGetProgressPulseStep(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.16} \value{[numeric] a fraction from 0.0 to 1.0} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetDecorations.Rd0000644000176000001440000000114412362217677017102 0ustar ripleyusers\alias{gdkWindowGetDecorations} \name{gdkWindowGetDecorations} \title{gdkWindowGetDecorations} \description{Returns the decorations set on the GdkWindow with \code{\link{gdkWindowSetDecorations}}} \usage{gdkWindowGetDecorations(object)} \arguments{\item{\verb{object}}{The toplevel \code{\link{GdkWindow}} to get the decorations from}} \value{ A list containing the following elements: \item{retval}{[logical] TRUE if the window has decorations set, FALSE otherwise.} \item{\verb{decorations}}{The window decorations will be written here} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoTranslate.Rd0000644000176000001440000000135512362217677015271 0ustar ripleyusers\alias{cairoTranslate} \name{cairoTranslate} \title{cairoTranslate} \description{Modifies the current transformation matrix (CTM) by translating the user-space origin by (\code{tx}, \code{ty}). This offset is interpreted as a user-space coordinate according to the CTM in place before the new call to \code{\link{cairoTranslate}}. In other words, the translation of the user-space origin takes place after any existing transformation.} \usage{cairoTranslate(cr, tx, ty)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{tx}}{[numeric] amount to translate in the X direction} \item{\verb{ty}}{[numeric] amount to translate in the Y direction} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetInsert.Rd0000644000176000001440000000111312362217677016717 0ustar ripleyusers\alias{gtkTextBufferGetInsert} \name{gtkTextBufferGetInsert} \title{gtkTextBufferGetInsert} \description{Returns the mark that represents the cursor (insertion point). Equivalent to calling \code{\link{gtkTextBufferGetMark}} to get the mark named "insert", but very slightly more efficient, and involves less typing.} \usage{gtkTextBufferGetInsert(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{[\code{\link{GtkTextMark}}] insertion point mark. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GFileInfo.Rd0000644000176000001440000001457712362217677014132 0ustar ripleyusers\alias{GFileInfo} \alias{GFileAttributeMatcher} \alias{gFileInfo} \alias{GFileType} \name{GFileInfo} \title{GFileInfo} \description{File Information and Attributes} \section{Methods and Functions}{ \code{\link{gFileInfoNew}()}\cr \code{\link{gFileInfoDup}(object)}\cr \code{\link{gFileInfoCopyInto}(object, dest.info)}\cr \code{\link{gFileInfoHasAttribute}(object, attribute)}\cr \code{\link{gFileInfoHasNamespace}(object, name.space)}\cr \code{\link{gFileInfoListAttributes}(object, name.space)}\cr \code{\link{gFileInfoGetAttributeType}(object, attribute)}\cr \code{\link{gFileInfoRemoveAttribute}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeAsString}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeData}(object, attribute, type, status)}\cr \code{\link{gFileInfoGetAttributeStatus}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeString}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeStringv}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeByteString}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeBoolean}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeUint32}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeInt32}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeUint64}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeInt64}(object, attribute)}\cr \code{\link{gFileInfoGetAttributeObject}(object, attribute)}\cr \code{\link{gFileInfoSetAttribute}(object, attribute, type, value.p)}\cr \code{\link{gFileInfoSetAttributeStatus}(object, attribute, status)}\cr \code{\link{gFileInfoSetAttributeString}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeStringv}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeByteString}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeBoolean}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeUint32}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeInt32}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeUint64}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeInt64}(object, attribute, attr.value)}\cr \code{\link{gFileInfoSetAttributeObject}(object, attribute, attr.value)}\cr \code{\link{gFileInfoClearStatus}(object)}\cr \code{\link{gFileInfoGetFileType}(object)}\cr \code{\link{gFileInfoGetIsHidden}(object)}\cr \code{\link{gFileInfoGetIsBackup}(object)}\cr \code{\link{gFileInfoGetIsSymlink}(object)}\cr \code{\link{gFileInfoGetName}(object)}\cr \code{\link{gFileInfoGetDisplayName}(object)}\cr \code{\link{gFileInfoGetEditName}(object)}\cr \code{\link{gFileInfoGetIcon}(object)}\cr \code{\link{gFileInfoGetContentType}(object)}\cr \code{\link{gFileInfoGetSize}(object)}\cr \code{\link{gFileInfoGetModificationTime}(object, result)}\cr \code{\link{gFileInfoGetSymlinkTarget}(object)}\cr \code{\link{gFileInfoGetEtag}(object)}\cr \code{\link{gFileInfoGetSortOrder}(object)}\cr \code{\link{gFileInfoSetAttributeMask}(object, mask)}\cr \code{\link{gFileInfoUnsetAttributeMask}(object)}\cr \code{\link{gFileInfoSetFileType}(object, type)}\cr \code{\link{gFileInfoSetIsHidden}(object, is.hidden)}\cr \code{\link{gFileInfoSetIsSymlink}(object, is.symlink)}\cr \code{\link{gFileInfoSetName}(object, name)}\cr \code{\link{gFileInfoSetDisplayName}(object, display.name)}\cr \code{\link{gFileInfoSetEditName}(object, edit.name)}\cr \code{\link{gFileInfoSetIcon}(object, icon)}\cr \code{\link{gFileInfoSetContentType}(object, content.type)}\cr \code{\link{gFileInfoSetSize}(object, size)}\cr \code{\link{gFileInfoSetModificationTime}(object, mtime)}\cr \code{\link{gFileInfoSetSymlinkTarget}(object, symlink.target)}\cr \code{\link{gFileInfoSetSortOrder}(object, sort.order)}\cr \code{\link{gFileAttributeMatcherNew}(attributes)}\cr \code{\link{gFileAttributeMatcherMatches}(object, attribute)}\cr \code{\link{gFileAttributeMatcherMatchesOnly}(object, attribute)}\cr \code{\link{gFileAttributeMatcherEnumerateNamespace}(object, ns)}\cr \code{\link{gFileAttributeMatcherEnumerateNext}(object)}\cr \code{gFileInfo()} } \section{Hierarchy}{\preformatted{ GEnum +----GFileType GObject +----GFileInfo }} \section{Detailed Description}{Functionality for manipulating basic metadata for files. \code{\link{GFileInfo}} implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. See GFileAttribute for more information on how GIO handles file attributes. To obtain a \code{\link{GFileInfo}} for a \code{\link{GFile}}, use \code{\link{gFileQueryInfo}} (or its async variant). To obtain a \code{\link{GFileInfo}} for a file input or output stream, use \code{\link{gFileInputStreamQueryInfo}} or \code{\link{gFileOutputStreamQueryInfo}} (or their async variants). To change the actual attributes of a file, you should then set the attribute in the \code{\link{GFileInfo}} and call \code{\link{gFileSetAttributesFromInfo}} or \code{\link{gFileSetAttributesAsync}} on a GFile. However, not all attributes can be changed in the file. For instance, the actual size of a file cannot be changed via \code{\link{gFileInfoSetSize}}. You may call \code{\link{gFileQuerySettableAttributes}} and \code{\link{gFileQueryWritableNamespaces}} to discover the settable attributes of a particular file at runtime. \code{\link{GFileAttributeMatcher}} allows for searching through a \code{\link{GFileInfo}} for attributes.} \section{Structures}{\describe{ \item{\verb{GFileAttributeMatcher}}{ Determines if a string matches a file attribute. } \item{\verb{GFileInfo}}{ Stores information about a file system object referenced by a \code{\link{GFile}}. } }} \section{Convenient Construction}{\code{gFileInfo} is the equivalent of \code{\link{gFileInfoNew}}.} \section{Enums and Flags}{\describe{\item{\verb{GFileType}}{ Indicates the file's on-disk type. \describe{ \item{\verb{unknown}}{File's type is unknown.} \item{\verb{regular}}{File handle represents a regular file.} \item{\verb{directory}}{File handle represents a directory.} \item{\verb{symbolic-link}}{File handle represents a symbolic link (Unix systems).} \item{\verb{special}}{File is a "special" file, such as a socket, fifo, block device, or character device.} \item{\verb{shortcut}}{File is a shortcut (Windows systems).} \item{\verb{mountable}}{File is a mountable location.} } }}} \references{\url{http://library.gnome.org/devel//gio/GFileInfo.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeFindAllByRowDataCustom.Rd0000644000176000001440000000135112362217677020224 0ustar ripleyusers\alias{gtkCTreeFindAllByRowDataCustom} \name{gtkCTreeFindAllByRowDataCustom} \title{gtkCTreeFindAllByRowDataCustom} \description{ Find all nodes under \code{node} whose row data pointer fulfills a custom criterion. \strong{WARNING: \code{gtk_ctree_find_all_by_row_data_custom} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeFindAllByRowDataCustom(object, node, data = NULL, func)} \arguments{ \item{\verb{object}}{The node where to start searching.} \item{\verb{node}}{User data for the criterion function.} \item{\verb{data}}{The criterion function.} \item{\verb{func}}{A list of all nodes found.} } \value{[list] A list of all nodes found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetRowExtentAt.Rd0000644000176000001440000000136712362217677016655 0ustar ripleyusers\alias{atkTableGetRowExtentAt} \name{atkTableGetRowExtentAt} \title{atkTableGetRowExtentAt} \description{Gets the number of rows occupied by the accessible object at a specified \code{row} and \code{column} in the \code{table}.} \usage{atkTableGetRowExtentAt(object, row, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[integer] a gint representing the row extent at specified position, or 0 if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSelect.Rd0000644000176000001440000000071512362217677015165 0ustar ripleyusers\alias{gtkCTreeSelect} \name{gtkCTreeSelect} \title{gtkCTreeSelect} \description{ Cause the given node to be selected and emit the appropriate signal. \strong{WARNING: \code{gtk_ctree_select} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSelect(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufCopyArea.Rd0000644000176000001440000000201612362217677015660 0ustar ripleyusers\alias{gdkPixbufCopyArea} \name{gdkPixbufCopyArea} \title{gdkPixbufCopyArea} \description{Copies a rectangular area from \code{src.pixbuf} to \code{dest.pixbuf}. Conversion of pixbuf formats is done automatically.} \usage{gdkPixbufCopyArea(object, src.x, src.y, width, height, dest.pixbuf, dest.x, dest.y)} \arguments{ \item{\verb{object}}{Source pixbuf.} \item{\verb{src.x}}{Source X coordinate within \code{src.pixbuf}.} \item{\verb{src.y}}{Source Y coordinate within \code{src.pixbuf}.} \item{\verb{width}}{Width of the area to copy.} \item{\verb{height}}{Height of the area to copy.} \item{\verb{dest.pixbuf}}{Destination pixbuf.} \item{\verb{dest.x}}{X coordinate within \code{dest.pixbuf}.} \item{\verb{dest.y}}{Y coordinate within \code{dest.pixbuf}.} } \details{If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the copy operation. Therefore, you can not use this function to scroll a pixbuf.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTooltipsForceWindow.Rd0000644000176000001440000000111312362217677017000 0ustar ripleyusers\alias{gtkTooltipsForceWindow} \name{gtkTooltipsForceWindow} \title{gtkTooltipsForceWindow} \description{ Ensures that the window used for displaying the given \code{tooltips} is created. \strong{WARNING: \code{gtk_tooltips_force_window} has been deprecated since version 2.12 and should not be used in newly-written code. } } \usage{gtkTooltipsForceWindow(object)} \arguments{\item{\verb{object}}{a \verb{GtkToolTips}}} \details{Applications should never have to call this function, since GTK+ takes care of this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewMoveVisually.Rd0000644000176000001440000000213512362217677017160 0ustar ripleyusers\alias{gtkTextViewMoveVisually} \name{gtkTextViewMoveVisually} \title{gtkTextViewMoveVisually} \description{Move the iterator a given number of characters visually, treating it as the strong cursor position. If \code{count} is positive, then the new strong cursor position will be \code{count} positions to the right of the old cursor position. If \code{count} is negative then the new strong cursor position will be \code{count} positions to the left of the old cursor position.} \usage{gtkTextViewMoveVisually(object, iter, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{iter}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of characters to move (negative moves left, positive moves right)} } \details{In the presence of bi-directional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run.} \value{[logical] \code{TRUE} if \code{iter} moved and is not on the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintResizeGrip.Rd0000644000176000001440000000222612362217677016101 0ustar ripleyusers\alias{gtkPaintResizeGrip} \name{gtkPaintResizeGrip} \title{gtkPaintResizeGrip} \description{Draws a resize grip in the given rectangle on \code{window} using the given parameters.} \usage{gtkPaintResizeGrip(object, window, state.type, area = NULL, widget = NULL, detail = NULL, edge, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{edge}}{the edge in which to draw the resize grip} \item{\verb{x}}{the x origin of the rectangle in which to draw the resize grip} \item{\verb{y}}{the y origin of the rectangle in which to draw the resize grip} \item{\verb{width}}{the width of the rectangle in which to draw the resize grip} \item{\verb{height}}{the height of the rectangle in which to draw the resize grip} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionDialogGetApplyButton.Rd0000644000176000001440000000122612362217677021557 0ustar ripleyusers\alias{gtkFontSelectionDialogGetApplyButton} \name{gtkFontSelectionDialogGetApplyButton} \title{gtkFontSelectionDialogGetApplyButton} \description{ Obtains a button. The button doesn't have any function. \strong{WARNING: \code{gtk_font_selection_dialog_get_apply_button} has been deprecated since version 2.16 and should not be used in newly-written code. Don't use this function.} } \usage{gtkFontSelectionDialogGetApplyButton(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelectionDialog}}}} \details{Since 2.14} \value{[\code{\link{GtkWidget}}] a \code{\link{GtkWidget}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellLayoutPackEnd.Rd0000644000176000001440000000141412362217677016323 0ustar ripleyusers\alias{gtkCellLayoutPackEnd} \name{gtkCellLayoutPackEnd} \title{gtkCellLayoutPackEnd} \description{Adds the \code{cell} to the end of \code{cell.layout}. If \code{expand} is \code{FALSE}, then the \code{cell} is allocated no more space than it needs. Any unused space is divided evenly between cells for which \code{expand} is \code{TRUE}.} \usage{gtkCellLayoutPackEnd(object, cell, expand = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellLayout}}.} \item{\verb{cell}}{A \code{\link{GtkCellRenderer}}.} \item{\verb{expand}}{\code{TRUE} if \code{cell} is to be given extra space allocated to \code{cell.layout}.} } \details{Note that reusing the same cell renderer is not supported. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryPopupWithData.Rd0000644000176000001440000000336112362217677017723 0ustar ripleyusers\alias{gtkItemFactoryPopupWithData} \name{gtkItemFactoryPopupWithData} \title{gtkItemFactoryPopupWithData} \description{ Pops up the menu constructed from the item factory at (\code{x}, \code{y}). Callbacks can access the \code{popup.data} while the menu is posted via \code{\link{gtkItemFactoryPopupData}} and \code{\link{gtkItemFactoryPopupDataFromWidget}}. \strong{WARNING: \code{gtk_item_factory_popup_with_data} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryPopupWithData(object, popup.data, x, y, mouse.button, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}} of type \verb{GTK_TYPE_MENU} (see \code{\link{gtkItemFactoryNew}})} \item{\verb{popup.data}}{data available for callbacks while the menu is posted} \item{\verb{x}}{the x position} \item{\verb{y}}{the y position} \item{\verb{mouse.button}}{the mouse button which was pressed to initiate the popup} \item{\verb{time}}{the time at which the activation event occurred} } \details{The \code{mouse.button} parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, \code{mouse.button} should be 0. The \code{time.} parameter should be the time stamp of the event that initiated the popup. If such an event is not available, use \code{\link{gtkGetCurrentEventTime}} instead. The operation of the \code{mouse.button} and the \code{time.} parameters is the same as the \code{button} and \code{activation.time} parameters for \code{\link{gtkMenuPopup}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkRadioMenuItem.Rd0000644000176000001440000000636712362217677015476 0ustar ripleyusers\alias{GtkRadioMenuItem} \alias{gtkRadioMenuItem} \name{GtkRadioMenuItem} \title{GtkRadioMenuItem} \description{A choice from multiple check menu items} \section{Methods and Functions}{ \code{\link{gtkRadioMenuItemNew}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioMenuItemNewWithLabel}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioMenuItemNewWithMnemonic}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioMenuItemNewFromWidget}(group = NULL, show = TRUE)}\cr \code{\link{gtkRadioMenuItemNewWithLabelFromWidget}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioMenuItemNewWithMnemonicFromWidget}(group = NULL, label, show = TRUE)}\cr \code{\link{gtkRadioMenuItemSetGroup}(object, group)}\cr \code{\link{gtkRadioMenuItemGetGroup}(object)}\cr \code{gtkRadioMenuItem(group = NULL, label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkCheckMenuItem +----GtkRadioMenuItem}} \section{Interfaces}{GtkRadioMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A radio menu item is a check menu item that belongs to a group. At each instant exactly one of the radio menu items from a group is selected. The group list does not need to be freed, as each \code{\link{GtkRadioMenuItem}} will remove itself and its list item when it is destroyed. The correct way to create a group of radio menu items is approximatively this: \emph{How to create a group of radio menu items.} \preformatted{ group <- NULL for (i in 1:5) { item <- gtkRadioMenuItem(group, "This is an example") group <- item$getGroup() if (i == 1) item$setActive(TRUE) } }} \section{Structures}{\describe{\item{\verb{GtkRadioMenuItem}}{ The structure contains only private data that must be accessed through the interface functions. }}} \section{Convenient Construction}{\code{gtkRadioMenuItem} is the result of collapsing the constructors of \code{GtkRadioMenuItem} (\code{\link{gtkRadioMenuItemNew}}, \code{\link{gtkRadioMenuItemNewWithLabel}}, \code{\link{gtkRadioMenuItemNewWithMnemonic}}, \code{\link{gtkRadioMenuItemNewFromWidget}}, \code{\link{gtkRadioMenuItemNewWithMnemonicFromWidget}}, \code{\link{gtkRadioMenuItemNewWithLabelFromWidget}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{group-changed(radiomenuitem, user.data)}}{ \emph{undocumented } \describe{ \item{\code{radiomenuitem}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{group} [\code{\link{GtkRadioMenuItem}} : * : Write]}{ The radio menu item whose group this widget belongs to. Since 2.8 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkRadioMenuItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetTabLabelText.Rd0000644000176000001440000000107012362217677017472 0ustar ripleyusers\alias{gtkNotebookGetTabLabelText} \name{gtkNotebookGetTabLabelText} \title{gtkNotebookGetTabLabelText} \description{Retrieves the text of the tab label for the page containing \code{child}.} \usage{gtkNotebookGetTabLabelText(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a widget contained in a page of \code{notebook}} } \value{[character] the text of the tab label, or \code{NULL} if the tab label widget is not a \code{\link{GtkLabel}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMapCreateContext.Rd0000644000176000001440000000156412362217677017402 0ustar ripleyusers\alias{pangoFontMapCreateContext} \name{pangoFontMapCreateContext} \title{pangoFontMapCreateContext} \description{Creates a \code{\link{PangoContext}} connected to \code{fontmap}. This is equivalent to \code{pangoContextNew()} followed by \code{\link{pangoContextSetFontMap}}.} \usage{pangoFontMapCreateContext(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMap}}] a \code{\link{PangoFontMap}}}} \details{If you are using Pango as part of a higher-level system, that system may have it's own way of create a \code{\link{PangoContext}}. For instance, the GTK+ toolkit has, among others, \code{\link{gdkPangoContextGetForScreen}}, and \code{\link{gtkWidgetGetPangoContext}}. Use those instead. Since 1.22} \value{[\code{\link{PangoContext}}] the newly allocated \code{\link{PangoContext}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorsStore.Rd0000644000176000001440000000100012362217677015245 0ustar ripleyusers\alias{gdkColorsStore} \name{gdkColorsStore} \title{gdkColorsStore} \description{ Changes the value of the first \code{ncolors} colors in a private colormap. This function is obsolete and should not be used. See \code{\link{gdkColorChange}}. \strong{WARNING: \code{gdk_colors_store} is deprecated and should not be used in newly-written code.} } \usage{gdkColorsStore(object, colors)} \arguments{\item{\verb{colors}}{the new color values.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetAcceptFocus.Rd0000644000176000001440000000066012362217677017051 0ustar ripleyusers\alias{gtkWindowGetAcceptFocus} \name{gtkWindowGetAcceptFocus} \title{gtkWindowGetAcceptFocus} \description{Gets the value set by \code{\link{gtkWindowSetAcceptFocus}}.} \usage{gtkWindowGetAcceptFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if window should receive the input focus} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupSetMode.Rd0000644000176000001440000000132612362217677016232 0ustar ripleyusers\alias{gtkSizeGroupSetMode} \name{gtkSizeGroupSetMode} \title{gtkSizeGroupSetMode} \description{Sets the \code{\link{GtkSizeGroupMode}} of the size group. The mode of the size group determines whether the widgets in the size group should all have the same horizontal requisition (\code{GTK_SIZE_GROUP_MODE_HORIZONTAL}) all have the same vertical requisition (\code{GTK_SIZE_GROUP_MODE_VERTICAL}), or should all have the same requisition in both directions (\code{GTK_SIZE_GROUP_MODE_BOTH}).} \usage{gtkSizeGroupSetMode(object, mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSizeGroup}}} \item{\verb{mode}}{the mode to set for the size group.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitlesShow.Rd0000644000176000001440000000101012362217677017232 0ustar ripleyusers\alias{gtkCListColumnTitlesShow} \name{gtkCListColumnTitlesShow} \title{gtkCListColumnTitlesShow} \description{ This function causes the \code{\link{GtkCList}} to show its column titles, if they are not already showing. \strong{WARNING: \code{gtk_clist_column_titles_show} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitlesShow(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkCList}} to affect.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInetSocketAddressGetPort.Rd0000644000176000001440000000061012362217677017341 0ustar ripleyusers\alias{gInetSocketAddressGetPort} \name{gInetSocketAddressGetPort} \title{gInetSocketAddressGetPort} \description{Gets \code{address}'s port.} \usage{gInetSocketAddressGetPort(object)} \arguments{\item{\verb{object}}{a \code{\link{GInetSocketAddress}}}} \details{Since 2.22} \value{[integer] the port for \code{address}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcPropertyParseBorder.Rd0000644000176000001440000000163312362217677017265 0ustar ripleyusers\alias{gtkRcPropertyParseBorder} \name{gtkRcPropertyParseBorder} \title{gtkRcPropertyParseBorder} \description{A \verb{GtkRcPropertyParser} for use with \code{\link{gtkSettingsInstallPropertyParser}} or \code{\link{gtkWidgetClassInstallStylePropertyParser}} which parses borders in the form \code{"{ left, right, top, bottom }"} for integers \code{left}, \code{right}, \code{top} and \code{bottom}.} \usage{gtkRcPropertyParseBorder(pspec, gstring)} \arguments{ \item{\verb{pspec}}{a \code{\link{GParamSpec}}} \item{\verb{gstring}}{the \verb{character} to be parsed} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{gstring} could be parsed and \code{property.value} has been set to the resulting \code{\link{GtkBorder}}.} \item{\verb{property.value}}{a \verb{R object} which must hold boxed values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationGetRelationType.Rd0000644000176000001440000000065312362217677017573 0ustar ripleyusers\alias{atkRelationGetRelationType} \name{atkRelationGetRelationType} \title{atkRelationGetRelationType} \description{Gets the type of \code{relation}} \usage{atkRelationGetRelationType(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkRelation}}] an \code{\link{AtkRelation}} }} \value{[\code{\link{AtkRelationType}}] the type of \code{relation}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSelectionDataCopy.Rd0000644000176000001440000000070112362217677016370 0ustar ripleyusers\alias{gtkSelectionDataCopy} \name{gtkSelectionDataCopy} \title{gtkSelectionDataCopy} \description{Makes a copy of a \code{\link{GtkSelectionData}} structure and its data.} \usage{gtkSelectionDataCopy(object)} \arguments{\item{\verb{object}}{a pointer to a \code{\link{GtkSelectionData}} structure.}} \value{[\code{\link{GtkSelectionData}}] a pointer to a copy of \code{data}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetRowDataFull.Rd0000644000176000001440000000111212362217677016612 0ustar ripleyusers\alias{gtkCListSetRowDataFull} \name{gtkCListSetRowDataFull} \title{gtkCListSetRowDataFull} \description{ Sets the data for specified row, with a callback when the row is destroyed. \strong{WARNING: \code{gtk_clist_set_row_data_full} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetRowDataFull(object, row, data = NULL)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to affect.} \item{\verb{data}}{The data to set for the row.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerAddWithProperties.Rd0000644000176000001440000000113412362217677020263 0ustar ripleyusers\alias{gtkContainerAddWithProperties} \name{gtkContainerAddWithProperties} \title{gtkContainerAddWithProperties} \description{Adds \code{widget} to \code{container}, setting child properties at the same time. See \code{\link{gtkContainerAdd}} and \code{\link{gtkContainerChildSet}} for more details.} \usage{gtkContainerAddWithProperties(object, widget, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{widget}}{a widget to be placed inside \code{container}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetPageComplete.Rd0000644000176000001440000000110712362217677017732 0ustar ripleyusers\alias{gtkAssistantSetPageComplete} \name{gtkAssistantSetPageComplete} \title{gtkAssistantSetPageComplete} \description{Sets whether \code{page} contents are complete. This will make \code{assistant} update the buttons state to be able to continue the task.} \usage{gtkAssistantSetPageComplete(object, page, complete)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a page of \code{assistant}} \item{\verb{complete}}{the completeness status of the page} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetRgbColormap.Rd0000644000176000001440000000125712362217677017014 0ustar ripleyusers\alias{gdkScreenGetRgbColormap} \name{gdkScreenGetRgbColormap} \title{gdkScreenGetRgbColormap} \description{Gets the preferred colormap for rendering image data on \code{screen}. Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function.} \usage{gdkScreenGetRgbColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}.}} \details{Since 2.2} \value{[\code{\link{GdkColormap}}] the preferred colormap. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrScaleNew.Rd0000644000176000001440000000076212362217677015700 0ustar ripleyusers\alias{pangoAttrScaleNew} \name{pangoAttrScaleNew} \title{pangoAttrScaleNew} \description{Create a new font size scale attribute. The base font for the affected text will have its size multiplied by \code{scale.factor}.} \usage{pangoAttrScaleNew(scale.factor)} \arguments{\item{\verb{scale.factor}}{[numeric] factor to scale the font}} \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForRichText.Rd0000644000176000001440000000175112362217677017672 0ustar ripleyusers\alias{gtkClipboardWaitForRichText} \name{gtkClipboardWaitForRichText} \title{gtkClipboardWaitForRichText} \description{Requests the contents of the clipboard as rich text. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForRichText(object, buffer)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}}} \item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[raw] or \code{NULL} if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into text form.)} \item{\verb{format}}{return location for the format of the returned data} \item{\verb{length}}{return location for the length of the returned data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInitAdd.Rd0000644000176000001440000000046112362217677014335 0ustar ripleyusers\alias{gtkInitAdd} \name{gtkInitAdd} \title{gtkInitAdd} \description{Registers a function to be called when the mainloop is started.} \usage{gtkInitAdd(fun, data = NULL)} \arguments{\item{\verb{data}}{Data to pass to that function.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarAppendSpace.Rd0000644000176000001440000000076212362217677016533 0ustar ripleyusers\alias{gtkToolbarAppendSpace} \name{gtkToolbarAppendSpace} \title{gtkToolbarAppendSpace} \description{ Adds a new space to the end of the toolbar. \strong{WARNING: \code{gtk_toolbar_append_space} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarAppendSpace(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolbar}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonSetUpdatePolicy.Rd0000644000176000001440000000101012362217677020114 0ustar ripleyusers\alias{gtkSpinButtonSetUpdatePolicy} \name{gtkSpinButtonSetUpdatePolicy} \title{gtkSpinButtonSetUpdatePolicy} \description{Sets the update behavior of a spin button. This determines whether the spin button is always updated or only when a valid value is set.} \usage{gtkSpinButtonSetUpdatePolicy(object, policy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSpinButton}}} \item{\verb{policy}}{a \code{\link{GtkSpinButtonUpdatePolicy}} value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetLicense.Rd0000644000176000001440000000106612362217677017174 0ustar ripleyusers\alias{gtkAboutDialogSetLicense} \name{gtkAboutDialogSetLicense} \title{gtkAboutDialogSetLicense} \description{Sets the license information to be displayed in the secondary license dialog. If \code{license} is \code{NULL}, the license button is hidden.} \usage{gtkAboutDialogSetLicense(object, license = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{license}}{the license information or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetEmbedPageSetup.Rd0000644000176000001440000000073212362217677021212 0ustar ripleyusers\alias{gtkPrintOperationGetEmbedPageSetup} \name{gtkPrintOperationGetEmbedPageSetup} \title{gtkPrintOperationGetEmbedPageSetup} \description{Gets the value of \verb{"embed-page-setup"} property.} \usage{gtkPrintOperationGetEmbedPageSetup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.18} \value{[logical] whether page setup selection combos are embedded} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextGetNSelections.Rd0000644000176000001440000000063712362217677016553 0ustar ripleyusers\alias{atkTextGetNSelections} \name{atkTextGetNSelections} \title{atkTextGetNSelections} \description{Gets the number of selected regions.} \usage{atkTextGetNSelections(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}}} \value{[integer] The number of selected regions, or -1 if a failure occurred.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantSetCurrentPage.Rd0000644000176000001440000000130712362217677017606 0ustar ripleyusers\alias{gtkAssistantSetCurrentPage} \name{gtkAssistantSetCurrentPage} \title{gtkAssistantSetCurrentPage} \description{Switches the page to \code{page.num}. Note that this will only be necessary in custom buttons, as the \code{assistant} flow can be set with \code{\link{gtkAssistantSetForwardPageFunc}}.} \usage{gtkAssistantSetCurrentPage(object, page.num)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page.num}}{index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the \code{assistant}, nothing will be done.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowMove.Rd0000644000176000001440000000147112362217677015101 0ustar ripleyusers\alias{gdkWindowMove} \name{gdkWindowMove} \title{gdkWindowMove} \description{Repositions a window relative to its parent window. For toplevel windows, window managers may ignore or modify the move; you should probably use \code{\link{gtkWindowMove}} on a \code{\link{GtkWindow}} widget anyway, instead of using GDK functions. For child windows, the move will reliably succeed.} \usage{gdkWindowMove(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{x}}{X coordinate relative to window's parent} \item{\verb{y}}{Y coordinate relative to window's parent} } \details{If you're also planning to resize the window, use \code{\link{gdkWindowMoveResize}} to both move and resize simultaneously, for a nicer visual effect.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkHButtonBoxSetLayoutDefault.Rd0000644000176000001440000000076512362217677020243 0ustar ripleyusers\alias{gtkHButtonBoxSetLayoutDefault} \name{gtkHButtonBoxSetLayoutDefault} \title{gtkHButtonBoxSetLayoutDefault} \description{ Sets a new layout mode that will be used by all button boxes. \strong{WARNING: \code{gtk_hbutton_box_set_layout_default} is deprecated and should not be used in newly-written code.} } \usage{gtkHButtonBoxSetLayoutDefault(layout)} \arguments{\item{\verb{layout}}{a new \code{\link{GtkButtonBoxStyle}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGlyphStringCopy.Rd0000644000176000001440000000102212362217677016437 0ustar ripleyusers\alias{pangoGlyphStringCopy} \name{pangoGlyphStringCopy} \title{pangoGlyphStringCopy} \description{Copy a glyph string and associated storage.} \usage{pangoGlyphStringCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoGlyphString}}] a \code{\link{PangoGlyphString}}, may be \code{NULL}}} \value{[\code{\link{PangoGlyphString}}] the newly allocated \code{\link{PangoGlyphString}}, or \code{NULL} if \code{string} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoLaunch.Rd0000644000176000001440000000263212362217677015153 0ustar ripleyusers\alias{gAppInfoLaunch} \name{gAppInfoLaunch} \title{gAppInfoLaunch} \description{Launches the application. Passes \code{files} to the launched application as arguments, using the optional \code{launch.context} to get information about the details of the launcher (like what screen it is on). On error, \code{error} will be set accordingly.} \usage{gAppInfoLaunch(object, files, launch.context, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GAppInfo}}} \item{\verb{files}}{a \verb{list} of \code{\link{GFile}} objects} \item{\verb{launch.context}}{a \code{\link{GAppLaunchContext}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{To lauch the application without arguments pass a \code{NULL} \code{files} list. Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this. Some URIs can be changed when passed through a GFile (for instance unsupported uris with strange formats like mailto:), so if you have a textual uri you want to pass in as argument, consider using \code{\link{gAppInfoLaunchUris}} instead.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on successful launch, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetCellType.Rd0000644000176000001440000000106312362217677016732 0ustar ripleyusers\alias{gtkCTreeNodeGetCellType} \name{gtkCTreeNodeGetCellType} \title{gtkCTreeNodeGetCellType} \description{ \strong{WARNING: \code{gtk_ctree_node_get_cell_type} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetCellType(object, node, column)} \arguments{ \item{\verb{object}}{The type of the given cell.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} } \value{[\code{\link{GtkCellType}}] The type of the given cell.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetState.Rd0000644000176000001440000000066012362217677015712 0ustar ripleyusers\alias{gdkWindowGetState} \name{gdkWindowGetState} \title{gdkWindowGetState} \description{Gets the bitwise OR of the currently active window state flags, from the \code{\link{GdkWindowState}} enumeration.} \usage{gdkWindowGetState(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkWindowState}}] window state bitfield} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLinesReadonly.Rd0000644000176000001440000000125612362217677017751 0ustar ripleyusers\alias{pangoLayoutGetLinesReadonly} \name{pangoLayoutGetLinesReadonly} \title{pangoLayoutGetLinesReadonly} \description{Returns the lines of the \code{layout} as a list.} \usage{pangoLayoutGetLinesReadonly(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{This is a faster alternative to \code{\link{pangoLayoutGetLines}}, but the user is not expected to modify the contents of the lines (glyphs, glyph widths, etc.). Since 1.16} \value{[list] element-type Pango.LayoutLine): (transfer none. \acronym{element-type Pango.LayoutLine): (transfer} none. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetMaxWidthChars.Rd0000644000176000001440000000073412362217677017132 0ustar ripleyusers\alias{gtkLabelGetMaxWidthChars} \name{gtkLabelGetMaxWidthChars} \title{gtkLabelGetMaxWidthChars} \description{Retrieves the desired maximum width of \code{label}, in characters. See \code{\link{gtkLabelSetWidthChars}}.} \usage{gtkLabelGetMaxWidthChars(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.6} \value{[integer] the maximum width of the label in characters.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIoExtensionPointGetExtensionByName.Rd0000644000176000001440000000117712362217677021376 0ustar ripleyusers\alias{gIoExtensionPointGetExtensionByName} \name{gIoExtensionPointGetExtensionByName} \title{gIoExtensionPointGetExtensionByName} \description{Finds a \code{\link{GIOExtension}} for an extension point by name.} \usage{gIoExtensionPointGetExtensionByName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GIOExtensionPoint}}} \item{\verb{name}}{the name of the extension to get} } \value{[\code{\link{GIOExtension}}] the \code{\link{GIOExtension}} for \code{extension.point} that has the given name, or \code{NULL} if there is no extension with that name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetStyle.Rd0000644000176000001440000000073112362217677016736 0ustar ripleyusers\alias{gtkToolPaletteGetStyle} \name{gtkToolPaletteGetStyle} \title{gtkToolPaletteGetStyle} \description{Gets the style (icons, text or both) of items in the tool palette.} \usage{gtkToolPaletteGetStyle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \value{[\code{\link{GtkToolbarStyle}}] the \code{\link{GtkToolbarStyle}} of items in the tool palette.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceGetSize.Rd0000644000176000001440000000076712362217677016376 0ustar ripleyusers\alias{gtkIconSourceGetSize} \name{gtkIconSourceGetSize} \title{gtkIconSourceGetSize} \description{Obtains the icon size this source applies to. The return value is only useful/meaningful if the icon size is \emph{not} wildcarded.} \usage{gtkIconSourceGetSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconSource}}}} \value{[\code{\link{GtkIconSize}}] icon size this source matches. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetLineCap.Rd0000644000176000001440000000142412362217677015320 0ustar ripleyusers\alias{cairoSetLineCap} \name{cairoSetLineCap} \title{cairoSetLineCap} \description{Sets the current line cap style within the cairo context. See \code{\link{CairoLineCap}} for details about how the available line cap styles are drawn.} \usage{cairoSetLineCap(cr, line.cap)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{line.cap}}{[\code{\link{CairoLineCap}}] a line cap style} } \details{As with the other stroke parameters, the current line cap style is examined by \code{\link{cairoStroke}}, \code{\link{cairoStrokeExtents}}, and \code{cairoStrokeToPath()}, but does not have any effect during path construction. The default line cap style is \code{CAIRO_LINE_CAP_BUTT}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetIsAncestor.Rd0000644000176000001440000000106012362217677016233 0ustar ripleyusers\alias{gtkWidgetIsAncestor} \name{gtkWidgetIsAncestor} \title{gtkWidgetIsAncestor} \description{Determines whether \code{widget} is somewhere inside \code{ancestor}, possibly with intermediate containers.} \usage{gtkWidgetIsAncestor(object, ancestor)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{ancestor}}{another \code{\link{GtkWidget}}} } \value{[logical] \code{TRUE} if \code{ancestor} contains \code{widget} as a child, grandchild, great grandchild, etc.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkStringWidth.Rd0000644000176000001440000000114112362217677015243 0ustar ripleyusers\alias{gdkStringWidth} \name{gdkStringWidth} \title{gdkStringWidth} \description{ Determines the width of a string. (The distance from the origin of the string to the point where the next string in a sequence of strings should be drawn) \strong{WARNING: \code{gdk_string_width} is deprecated and should not be used in newly-written code.} } \usage{gdkStringWidth(object, string)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{string}}{the string to measure} } \value{[integer] the width of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnGetSortOrder.Rd0000644000176000001440000000071712362217677020241 0ustar ripleyusers\alias{gtkTreeViewColumnGetSortOrder} \name{gtkTreeViewColumnGetSortOrder} \title{gtkTreeViewColumnGetSortOrder} \description{Gets the value set by \code{\link{gtkTreeViewColumnSetSortOrder}}.} \usage{gtkTreeViewColumnGetSortOrder(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}}} \value{[\code{\link{GtkSortType}}] the sort order the sort indicator is indicating} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationIsFinished.Rd0000644000176000001440000000141712362217677017746 0ustar ripleyusers\alias{gtkPrintOperationIsFinished} \name{gtkPrintOperationIsFinished} \title{gtkPrintOperationIsFinished} \description{A convenience function to find out if the print operation is finished, either successfully (\code{GTK_PRINT_STATUS_FINISHED}) or unsuccessfully (\code{GTK_PRINT_STATUS_FINISHED_ABORTED}).} \usage{gtkPrintOperationIsFinished(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Note: when you enable print status tracking the print operation can be in a non-finished state even after done has been called, as the operation status then tracks the print job status on the printer. Since 2.10} \value{[logical] \code{TRUE}, if the print operation is finished.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemSetShowToggle.Rd0000644000176000001440000000124312362217677020160 0ustar ripleyusers\alias{gtkCheckMenuItemSetShowToggle} \name{gtkCheckMenuItemSetShowToggle} \title{gtkCheckMenuItemSetShowToggle} \description{ Controls whether the check box is shown at all times. Normally the check box is shown only when it is active or while the menu item is selected. \strong{WARNING: \code{gtk_check_menu_item_set_show_toggle} is deprecated and should not be used in newly-written code.} } \usage{gtkCheckMenuItemSetShowToggle(object, always)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}.} \item{\verb{always}}{boolean value indicating whether to always show the check box.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrIteratorGet.Rd0000644000176000001440000000142212362217677016422 0ustar ripleyusers\alias{pangoAttrIteratorGet} \name{pangoAttrIteratorGet} \title{pangoAttrIteratorGet} \description{Find the current attribute of a particular type at the iterator location. When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used.} \usage{pangoAttrIteratorGet(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{PangoAttrIterator}}] a \code{\link{PangoAttrIterator}}} \item{\verb{type}}{[\code{\link{PangoAttrType}}] the type of attribute to find.} } \value{[\code{\link{PangoAttribute}}] the current attribute of the given type, or \code{NULL} if no attribute of that type applies to the current location.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupAddToggleActionsFull.Rd0000644000176000001440000000114012362217677021165 0ustar ripleyusers\alias{gtkActionGroupAddToggleActionsFull} \name{gtkActionGroupAddToggleActionsFull} \title{gtkActionGroupAddToggleActionsFull} \description{This variant of \code{\link{gtkActionGroupAddToggleActions}} adds a \verb{GDestroyNotify} callback for \code{user.data}.} \usage{gtkActionGroupAddToggleActionsFull(object, entries, user.data = NULL)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{entries}}{a list of toggle action descriptions} \item{\verb{user.data}}{data to pass to the action callbacks} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableForeach.Rd0000644000176000001440000000105112362217677016635 0ustar ripleyusers\alias{gtkTextTagTableForeach} \name{gtkTextTagTableForeach} \title{gtkTextTagTableForeach} \description{Calls \code{func} on each tag in \code{table}, with user data \code{data}. Note that the table may not be modified while iterating over it (you can't add/remove tags).} \usage{gtkTextTagTableForeach(object, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTagTable}}} \item{\verb{func}}{a function to call on each tag} \item{\verb{data}}{user data} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSizeGroupSetIgnoreHidden.Rd0000644000176000001440000000077512362217677017714 0ustar ripleyusers\alias{gtkSizeGroupSetIgnoreHidden} \name{gtkSizeGroupSetIgnoreHidden} \title{gtkSizeGroupSetIgnoreHidden} \description{Sets whether unmapped widgets should be ignored when calculating the size.} \usage{gtkSizeGroupSetIgnoreHidden(object, ignore.hidden)} \arguments{ \item{\verb{object}}{a \code{\link{GtkSizeGroup}}} \item{\verb{ignore.hidden}}{whether unmapped widgets should be ignored when calculating the size} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GIOModule.Rd0000644000176000001440000000147612362217677014106 0ustar ripleyusers\alias{GIOModule} \name{GIOModule} \title{GIOModule} \description{Loadable GIO Modules} \section{Methods and Functions}{ \code{\link{gIOModuleNew}(filename)}\cr \code{\link{gIOModulesLoadAllInDirectory}(dirname)}\cr } \section{Hierarchy}{\preformatted{GObject +----GTypeModule +----GIOModule}} \section{Interfaces}{GIOModule implements GTypePlugin.} \section{Detailed Description}{Provides an interface and default functions for loading and unloading modules. This is used internally to make GIO extensible, but can also be used by others to implement module loading.} \section{Structures}{\describe{\item{\verb{GIOModule}}{ Opaque module base class for extending GIO. }}} \references{\url{http://library.gnome.org/devel//gio/GIOModule.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToggleToolButton.Rd0000644000176000001440000000452412362217677016240 0ustar ripleyusers\alias{GtkToggleToolButton} \alias{gtkToggleToolButton} \name{GtkToggleToolButton} \title{GtkToggleToolButton} \description{A GtkToolItem containing a toggle button} \section{Methods and Functions}{ \code{\link{gtkToggleToolButtonNew}(show = TRUE)}\cr \code{\link{gtkToggleToolButtonNewFromStock}(stock.id)}\cr \code{\link{gtkToggleToolButtonSetActive}(object, is.active)}\cr \code{\link{gtkToggleToolButtonGetActive}(object)}\cr \code{gtkToggleToolButton(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkToggleToolButton +----GtkRadioToolButton}} \section{Interfaces}{GtkToggleToolButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{ A \code{\link{GtkToggleToolButton}} is a \code{\link{GtkToolItem}} that contains a toggle button. Use \code{\link{gtkToggleToolButtonNew}} to create a new \code{\link{GtkToggleToolButton}}. Use \code{\link{gtkToggleToolButtonNewFromStock}} to create a new \code{\link{GtkToggleToolButton}} containing a stock item.} \section{Structures}{\describe{\item{\verb{GtkToggleToolButton}}{ The \code{\link{GtkToggleToolButton}} struct contains only private data and should only be accessed through the functions described below. }}} \section{Convenient Construction}{\code{gtkToggleToolButton} is the equivalent of \code{\link{gtkToggleToolButtonNew}}.} \section{Signals}{\describe{\item{\code{toggled(toggle.tool.button, user.data)}}{ Emitted whenever the toggle tool button changes state. \describe{ \item{\code{toggle.tool.button}}{the object that emitted the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{\item{\verb{active} [logical : Read / Write]}{ If the toggle tool button should be pressed in or not. Default value: FALSE Since 2.8 }}} \references{\url{http://library.gnome.org/devel//gtk/GtkToggleToolButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkWindow.Rd0000644000176000001440000003440612362217677014236 0ustar ripleyusers\alias{GtkWindow} \alias{gtkWindow} \name{GtkWindow} \title{GtkWindow} \description{Toplevel which can contain other widgets} \section{Methods and Functions}{ \code{\link{gtkWindowNew}(type = NULL, show = TRUE)}\cr \code{\link{gtkWindowSetTitle}(object, title)}\cr \code{\link{gtkWindowSetWmclass}(object, wmclass.name, wmclass.class)}\cr \code{\link{gtkWindowSetPolicy}(object, allow.shrink, allow.grow, auto.shrink)}\cr \code{\link{gtkWindowSetResizable}(object, resizable)}\cr \code{\link{gtkWindowGetResizable}(object)}\cr \code{\link{gtkWindowAddAccelGroup}(object, accel.group)}\cr \code{\link{gtkWindowRemoveAccelGroup}(object, accel.group)}\cr \code{\link{gtkWindowActivateFocus}(object)}\cr \code{\link{gtkWindowActivateDefault}(object)}\cr \code{\link{gtkWindowSetModal}(object, modal)}\cr \code{\link{gtkWindowSetDefaultSize}(object, width, height)}\cr \code{\link{gtkWindowSetGeometryHints}(object, geometry.widget, geometry)}\cr \code{\link{gtkWindowSetGravity}(object, gravity)}\cr \code{\link{gtkWindowGetGravity}(object)}\cr \code{\link{gtkWindowSetPosition}(object, position)}\cr \code{\link{gtkWindowSetTransientFor}(object, parent = NULL)}\cr \code{\link{gtkWindowSetDestroyWithParent}(object, setting)}\cr \code{\link{gtkWindowSetScreen}(object, screen)}\cr \code{\link{gtkWindowGetScreen}(object)}\cr \code{\link{gtkWindowIsActive}(object)}\cr \code{\link{gtkWindowHasToplevelFocus}(object)}\cr \code{\link{gtkWindowListToplevels}()}\cr \code{\link{gtkWindowAddMnemonic}(object, keyval, target)}\cr \code{\link{gtkWindowRemoveMnemonic}(object, keyval, target)}\cr \code{\link{gtkWindowMnemonicActivate}(object, keyval, modifier)}\cr \code{\link{gtkWindowActivateKey}(object, event)}\cr \code{\link{gtkWindowPropagateKeyEvent}(object, event)}\cr \code{\link{gtkWindowGetFocus}(object)}\cr \code{\link{gtkWindowSetFocus}(object, focus = NULL)}\cr \code{\link{gtkWindowGetDefaultWidget}(object)}\cr \code{\link{gtkWindowSetDefault}(object, default.widget = NULL)}\cr \code{\link{gtkWindowPresent}(object)}\cr \code{\link{gtkWindowPresentWithTime}(object, timestamp)}\cr \code{\link{gtkWindowIconify}(object)}\cr \code{\link{gtkWindowDeiconify}(object)}\cr \code{\link{gtkWindowStick}(object)}\cr \code{\link{gtkWindowUnstick}(object)}\cr \code{\link{gtkWindowMaximize}(object)}\cr \code{\link{gtkWindowUnmaximize}(object)}\cr \code{\link{gtkWindowFullscreen}(object)}\cr \code{\link{gtkWindowUnfullscreen}(object)}\cr \code{\link{gtkWindowSetKeepAbove}(object, setting)}\cr \code{\link{gtkWindowSetKeepBelow}(object, setting)}\cr \code{\link{gtkWindowBeginResizeDrag}(object, edge, button, root.x, root.y, timestamp)}\cr \code{\link{gtkWindowBeginMoveDrag}(object, button, root.x, root.y, timestamp)}\cr \code{\link{gtkWindowSetDecorated}(object, setting)}\cr \code{\link{gtkWindowSetDeletable}(object, setting)}\cr \code{\link{gtkWindowSetFrameDimensions}(object, left, top, right, bottom)}\cr \code{\link{gtkWindowSetHasFrame}(object, setting)}\cr \code{\link{gtkWindowSetMnemonicModifier}(object, modifier)}\cr \code{\link{gtkWindowSetTypeHint}(object, hint)}\cr \code{\link{gtkWindowSetSkipTaskbarHint}(object, setting)}\cr \code{\link{gtkWindowSetSkipPagerHint}(object, setting)}\cr \code{\link{gtkWindowSetUrgencyHint}(object, setting)}\cr \code{\link{gtkWindowSetAcceptFocus}(object, setting)}\cr \code{\link{gtkWindowSetFocusOnMap}(object, setting)}\cr \code{\link{gtkWindowSetStartupId}(object, startup.id)}\cr \code{\link{gtkWindowSetRole}(object, role)}\cr \code{\link{gtkWindowGetDecorated}(object)}\cr \code{\link{gtkWindowGetDeletable}(object)}\cr \code{\link{gtkWindowGetDefaultIconList}()}\cr \code{\link{gtkWindowGetDefaultIconName}()}\cr \code{\link{gtkWindowGetDefaultSize}(object)}\cr \code{\link{gtkWindowGetDestroyWithParent}(object)}\cr \code{\link{gtkWindowGetFrameDimensions}(object)}\cr \code{\link{gtkWindowGetHasFrame}(object)}\cr \code{\link{gtkWindowGetIcon}(object)}\cr \code{\link{gtkWindowGetIconList}(object)}\cr \code{\link{gtkWindowGetIconName}(object)}\cr \code{\link{gtkWindowGetMnemonicModifier}(object)}\cr \code{\link{gtkWindowGetModal}(object)}\cr \code{\link{gtkWindowGetPosition}(object)}\cr \code{\link{gtkWindowGetRole}(object)}\cr \code{\link{gtkWindowGetSize}(object)}\cr \code{\link{gtkWindowGetTitle}(object)}\cr \code{\link{gtkWindowGetTransientFor}(object)}\cr \code{\link{gtkWindowGetTypeHint}(object)}\cr \code{\link{gtkWindowGetSkipTaskbarHint}(object)}\cr \code{\link{gtkWindowGetSkipPagerHint}(object)}\cr \code{\link{gtkWindowGetUrgencyHint}(object)}\cr \code{\link{gtkWindowGetAcceptFocus}(object)}\cr \code{\link{gtkWindowGetFocusOnMap}(object)}\cr \code{\link{gtkWindowGetGroup}(object)}\cr \code{\link{gtkWindowGetWindowType}(object)}\cr \code{\link{gtkWindowMove}(object, x, y)}\cr \code{\link{gtkWindowReshowWithInitialSize}(object)}\cr \code{\link{gtkWindowResize}(object, width, height)}\cr \code{\link{gtkWindowSetDefaultIconList}(list)}\cr \code{\link{gtkWindowSetDefaultIcon}(icon)}\cr \code{\link{gtkWindowSetDefaultIconName}(name)}\cr \code{\link{gtkWindowSetIcon}(object, icon = NULL)}\cr \code{\link{gtkWindowSetIconList}(object, list)}\cr \code{\link{gtkWindowSetIconName}(object, name = NULL)}\cr \code{\link{gtkWindowSetAutoStartupNotification}(setting)}\cr \code{\link{gtkWindowGetOpacity}(object)}\cr \code{\link{gtkWindowSetOpacity}(object, opacity)}\cr \code{\link{gtkWindowGetMnemonicsVisible}(object)}\cr \code{\link{gtkWindowSetMnemonicsVisible}(object, setting)}\cr \code{gtkWindow(type = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkAssistant +----GtkOffscreenWindow +----GtkPlug}} \section{Interfaces}{GtkWindow implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{GtkWindow as GtkBuildable}{The GtkWindow implementation of the GtkBuildable interface supports a custom element, which supports any number of elements representing the GtkAccelGroup objects you want to add to your window (synonymous with \code{\link{gtkWindowAddAccelGroup}}. \emph{A UI definition fragment with accel groups}\preformatted{ ... }} \section{Structures}{\describe{\item{\verb{GtkWindow}}{ \emph{undocumented } \describe{ \item{\verb{title}}{[character] } \item{\verb{wmclassName}}{[character] } \item{\verb{wmclassClass}}{[character] } \item{\verb{wmRole}}{[character] } \item{\verb{focusWidget}}{[\code{\link{GtkWidget}}] } \item{\verb{defaultWidget}}{[\code{\link{GtkWidget}}] } \item{\verb{transientParent}}{[\code{\link{GtkWindow}}] } \item{\verb{frame}}{[\code{\link{GdkWindow}}] } \item{\verb{group}}{[\code{\link{GtkWindowGroup}}] } \item{\verb{configureRequestCount}}{[integer] } \item{\verb{allowShrink}}{[numeric] } \item{\verb{allowGrow}}{[numeric] } \item{\verb{configureNotifyReceived}}{[numeric] } \item{\verb{needDefaultPosition}}{[numeric] } \item{\verb{needDefaultSize}}{[numeric] } \item{\verb{position}}{[numeric] } \item{\verb{type}}{[numeric] } \item{\verb{hasUserRefCount}}{[numeric] } \item{\verb{hasFocus}}{[numeric] } \item{\verb{modal}}{[numeric] } \item{\verb{destroyWithParent}}{[numeric] } \item{\verb{hasFrame}}{[numeric] } \item{\verb{iconifyInitially}}{[numeric] } \item{\verb{stickInitially}}{[numeric] } \item{\verb{maximizeInitially}}{[numeric] } \item{\verb{decorated}}{[numeric] } \item{\verb{typeHint}}{[numeric] } \item{\verb{gravity}}{[numeric] } \item{\verb{frameLeft}}{[numeric] } \item{\verb{frameTop}}{[numeric] } \item{\verb{frameRight}}{[numeric] } \item{\verb{frameBottom}}{[numeric] } \item{\verb{keysChangedHandler}}{[numeric] } \item{\verb{mnemonicModifier}}{[\code{\link{GdkModifierType}}] } } }}} \section{Convenient Construction}{\code{gtkWindow} is the equivalent of \code{\link{gtkWindowNew}}.} \section{Signals}{\describe{ \item{\code{activate-default(window, user.data)}}{ The ::activate-default signal is a keybinding signal which gets emitted when the user activates the default widget of \code{window}. \describe{ \item{\code{window}}{the window which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{activate-focus(window, user.data)}}{ The ::activate-default signal is a keybinding signal which gets emitted when the user activates the currently focused widget of \code{window}. \describe{ \item{\code{window}}{the window which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{frame-event(window, user.data)}}{ \emph{undocumented } \describe{ \item{\code{window}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{keys-changed(window, user.data)}}{ The ::keys-changed signal gets emitted when the set of accelerators or mnemonics that are associated with \code{window} changes. \describe{ \item{\code{window}}{the window which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-focus(window, user.data)}}{ \emph{undocumented } \describe{ \item{\code{window}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{accept-focus} [logical : Read / Write]}{ Whether the window should receive the input focus. Default value: TRUE Since 2.4 } \item{\verb{allow-grow} [logical : Read / Write]}{ If TRUE, users can expand the window beyond its minimum size. Default value: TRUE } \item{\verb{allow-shrink} [logical : Read / Write]}{ If TRUE, the window has no mimimum size. Setting this to TRUE is 99\% of the time a bad idea. Default value: FALSE } \item{\verb{decorated} [logical : Read / Write]}{ Whether the window should be decorated by the window manager. Default value: TRUE Since 2.4 } \item{\verb{default-height} [integer : Read / Write]}{ The default height of the window, used when initially showing the window. Allowed values: >= -1 Default value: -1 } \item{\verb{default-width} [integer : Read / Write]}{ The default width of the window, used when initially showing the window. Allowed values: >= -1 Default value: -1 } \item{\verb{deletable} [logical : Read / Write]}{ Whether the window frame should have a close button. Default value: TRUE Since 2.10 } \item{\verb{destroy-with-parent} [logical : Read / Write]}{ If this window should be destroyed when the parent is destroyed. Default value: FALSE } \item{\verb{focus-on-map} [logical : Read / Write]}{ Whether the window should receive the input focus when mapped. Default value: TRUE Since 2.6 } \item{\verb{gravity} [\code{\link{GdkGravity}} : Read / Write]}{ The window gravity of the window. See \code{\link{gtkWindowMove}} and \code{\link{GdkGravity}} for more details about window gravity. Default value: GDK_GRAVITY_NORTH_WEST Since 2.4 } \item{\verb{has-toplevel-focus} [logical : Read]}{ Whether the input focus is within this GtkWindow. Default value: FALSE } \item{\verb{icon} [\code{\link{GdkPixbuf}} : * : Read / Write]}{ Icon for this window. } \item{\verb{icon-name} [character : * : Read / Write]}{ The :icon-name property specifies the name of the themed icon to use as the window icon. See \code{\link{GtkIconTheme}} for more details. Default value: NULL Since 2.6 } \item{\verb{is-active} [logical : Read]}{ Whether the toplevel is the current active window. Default value: FALSE } \item{\verb{mnemonics-visible} [logical : Read / Write]}{ Whether mnemonics are currently visible in this window. Default value: TRUE } \item{\verb{modal} [logical : Read / Write]}{ If TRUE, the window is modal (other windows are not usable while this one is up). Default value: FALSE } \item{\verb{opacity} [numeric : Read / Write]}{ The requested opacity of the window. See \code{\link{gtkWindowSetOpacity}} for more details about window opacity. Allowed values: [0,1] Default value: 1 Since 2.12 } \item{\verb{resizable} [logical : Read / Write]}{ If TRUE, users can resize the window. Default value: TRUE } \item{\verb{role} [character : * : Read / Write]}{ Unique identifier for the window to be used when restoring a session. Default value: NULL } \item{\verb{screen} [\code{\link{GdkScreen}} : * : Read / Write]}{ The screen where this window will be displayed. } \item{\verb{skip-pager-hint} [logical : Read / Write]}{ TRUE if the window should not be in the pager. Default value: FALSE } \item{\verb{skip-taskbar-hint} [logical : Read / Write]}{ TRUE if the window should not be in the task bar. Default value: FALSE } \item{\verb{startup-id} [character : * : Write]}{ The :startup-id is a write-only property for setting window's startup notification identifier. See \code{\link{gtkWindowSetStartupId}} for more details. Default value: NULL Since 2.12 } \item{\verb{title} [character : * : Read / Write]}{ The title of the window. Default value: NULL } \item{\verb{transient-for} [\code{\link{GtkWindow}} : * : Read / Write / Construct]}{ The transient parent of the window. See \code{\link{gtkWindowSetTransientFor}} for more details about transient windows. Since 2.10 } \item{\verb{type} [\code{\link{GtkWindowType}} : Read / Write / Construct Only]}{ The type of the window. Default value: GTK_WINDOW_TOPLEVEL } \item{\verb{type-hint} [\code{\link{GdkWindowTypeHint}} : Read / Write]}{ Hint to help the desktop environment understand what kind of window this is and how to treat it. Default value: GDK_WINDOW_TYPE_HINT_NORMAL } \item{\verb{urgency-hint} [logical : Read / Write]}{ TRUE if the window should be brought to the user's attention. Default value: FALSE } \item{\verb{window-position} [\code{\link{GtkWindowPosition}} : Read / Write]}{ The initial position of the window. Default value: GTK_WIN_POS_NONE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkWindow.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrShapeNew.Rd0000644000176000001440000000140212362217677015701 0ustar ripleyusers\alias{pangoAttrShapeNew} \name{pangoAttrShapeNew} \title{pangoAttrShapeNew} \description{Create a new shape attribute. A shape is used to impose a particular ink and logical rectangle on the result of shaping a particular glyph. This might be used, for instance, for embedding a picture or a widget inside a \code{\link{PangoLayout}}.} \usage{pangoAttrShapeNew(ink.rect, logical.rect)} \arguments{ \item{\verb{ink.rect}}{[\code{\link{PangoRectangle}}] ink rectangle to assign to each character} \item{\verb{logical.rect}}{[\code{\link{PangoRectangle}}] logical rectangle to assign to each character} } \value{[\code{\link{PangoAttribute}}] the newly allocated \code{\link{PangoAttribute}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleToolButtonNew.Rd0000644000176000001440000000056712362217677016755 0ustar ripleyusers\alias{gtkToggleToolButtonNew} \name{gtkToggleToolButtonNew} \title{gtkToggleToolButtonNew} \description{Returns a new \code{\link{GtkToggleToolButton}}} \usage{gtkToggleToolButtonNew(show = TRUE)} \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] a newly created \code{\link{GtkToggleToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionFactoryRegisterType.Rd0000644000176000001440000000144312362217677021632 0ustar ripleyusers\alias{gSocketConnectionFactoryRegisterType} \name{gSocketConnectionFactoryRegisterType} \title{gSocketConnectionFactoryRegisterType} \description{Looks up the \code{\link{GType}} to be used when creating socket connections on sockets with the specified \code{family},\code{type} and \code{protocol}.} \usage{gSocketConnectionFactoryRegisterType(g.type, family, type, protocol)} \arguments{ \item{\verb{g.type}}{a \code{\link{GType}}, inheriting from \code{G_TYPE_SOCKET_CONNECTION}} \item{\verb{family}}{a \code{\link{GSocketFamily}}} \item{\verb{type}}{a \code{\link{GSocketType}}} \item{\verb{protocol}}{a protocol id} } \details{If no type is registered, the \code{\link{GSocketConnection}} base type is returned. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetLine.Rd0000644000176000001440000000167312362217677016073 0ustar ripleyusers\alias{pangoLayoutGetLine} \name{pangoLayoutGetLine} \title{pangoLayoutGetLine} \description{Retrieves a particular line from a \code{\link{PangoLayout}}.} \usage{pangoLayoutGetLine(object, line)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{line}}{[integer] the index of a line, which must be between 0 and \code{pango_layout_get_line_count(layout) - 1}, inclusive.} } \details{Use the faster \code{\link{pangoLayoutGetLineReadonly}} if you do not plan to modify the contents of the line (glyphs, glyph widths, etc.). } \value{[\code{\link{PangoLayoutLine}}] the requested \code{\link{PangoLayoutLine}}, or \code{NULL} if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the \code{\link{PangoLayout}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEventBoxGetAboveChild.Rd0000644000176000001440000000102312362217677017127 0ustar ripleyusers\alias{gtkEventBoxGetAboveChild} \name{gtkEventBoxGetAboveChild} \title{gtkEventBoxGetAboveChild} \description{Returns whether the event box window is above or below the windows of its child. See \code{\link{gtkEventBoxSetAboveChild}} for details.} \usage{gtkEventBoxGetAboveChild(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEventBox}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the event box window is above the window of its child.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetAttributes.Rd0000644000176000001440000000132512362217677020454 0ustar ripleyusers\alias{gtkTreeViewColumnSetAttributes} \name{gtkTreeViewColumnSetAttributes} \title{gtkTreeViewColumnSetAttributes} \description{Sets the attributes in the list as the attributes of \code{tree.column}. The attributes should be in attribute/column order, as in \code{\link{gtkTreeViewColumnAddAttribute}}. All existing attributes are removed, and replaced with the new attributes.} \usage{gtkTreeViewColumnSetAttributes(object, cell.renderer, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{cell.renderer}}{the \code{\link{GtkCellRenderer}} we're setting the attributes of} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBorderCopy.Rd0000644000176000001440000000053112362217677015067 0ustar ripleyusers\alias{gtkBorderCopy} \name{gtkBorderCopy} \title{gtkBorderCopy} \description{Copies a \code{\link{GtkBorder}} structure.} \usage{gtkBorderCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkBorder}}.}} \value{[\code{\link{GtkBorder}}] a copy of \code{border.}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaintExpander.Rd0000644000176000001440000000273612362217677015572 0ustar ripleyusers\alias{gtkPaintExpander} \name{gtkPaintExpander} \title{gtkPaintExpander} \description{Draws an expander as used in \code{\link{GtkTreeView}}. \code{x} and \code{y} specify the center the expander. The size of the expander is determined by the "expander-size" style property of \code{widget}. (If widget is not specified or doesn't have an "expander-size" property, an unspecified default size will be used, since the caller doesn't have sufficient information to position the expander, this is likely not useful.) The expander is expander_size pixels tall in the collapsed position and expander_size pixels wide in the expanded position.} \usage{gtkPaintExpander(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, expander.style)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{the x position to draw the expander at} \item{\verb{y}}{the y position to draw the expander at} \item{\verb{expander.style}}{the style to draw the expander in; determines whether the expander is collapsed, expanded, or in an intermediate state.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarInsertWidget.Rd0000644000176000001440000000166612362217677016764 0ustar ripleyusers\alias{gtkToolbarInsertWidget} \name{gtkToolbarInsertWidget} \title{gtkToolbarInsertWidget} \description{ Inserts a widget in the toolbar at the given position. \strong{WARNING: \code{gtk_toolbar_insert_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarInsertWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL, position)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{widget}}{a \code{\link{GtkWidget}} to add to the toolbar.} \item{\verb{tooltip.text}}{the element's tooltip. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element. \emph{[ \acronym{allow-none} ]}} \item{\verb{position}}{the number of widgets to insert this widget after.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetIconSize.Rd0000644000176000001440000000102312362217677017354 0ustar ripleyusers\alias{gtkToolPaletteGetIconSize} \name{gtkToolPaletteGetIconSize} \title{gtkToolPaletteGetIconSize} \description{Gets the size of icons in the tool palette. See \code{\link{gtkToolPaletteSetIconSize}}.} \usage{gtkToolPaletteGetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolPalette}}}} \details{Since 2.20} \value{[\code{\link{GtkIconSize}}] the \code{\link{GtkIconSize}} of icons in the tool palette. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkSeparatorMenuItem.Rd0000644000176000001440000000271012362217677016364 0ustar ripleyusers\alias{GtkSeparatorMenuItem} \alias{gtkSeparatorMenuItem} \name{GtkSeparatorMenuItem} \title{GtkSeparatorMenuItem} \description{A separator used in menus} \section{Methods and Functions}{ \code{\link{gtkSeparatorMenuItemNew}(show = TRUE)}\cr \code{gtkSeparatorMenuItem(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkSeparatorMenuItem}} \section{Interfaces}{GtkSeparatorMenuItem implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{The \code{\link{GtkSeparatorMenuItem}} is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.} \section{Structures}{\describe{\item{\verb{GtkSeparatorMenuItem}}{ The \code{\link{GtkSeparatorMenuItem}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkSeparatorMenuItem} is the equivalent of \code{\link{gtkSeparatorMenuItemNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkSeparatorMenuItem.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableSetName.Rd0000644000176000001440000000056612362217677016167 0ustar ripleyusers\alias{gtkBuildableSetName} \name{gtkBuildableSetName} \title{gtkBuildableSetName} \description{Sets the name of the \code{buildable} object.} \usage{gtkBuildableSetName(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{name}}{name to set} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkEntryCompletion.Rd0000644000176000001440000002172312362217677016120 0ustar ripleyusers\alias{GtkEntryCompletion} \alias{gtkEntryCompletion} \alias{GtkEntryCompletionMatchFunc} \name{GtkEntryCompletion} \title{GtkEntryCompletion} \description{Completion functionality for GtkEntry} \section{Methods and Functions}{ \code{\link{gtkEntryCompletionNew}()}\cr \code{\link{gtkEntryCompletionGetEntry}(object)}\cr \code{\link{gtkEntryCompletionSetModel}(object, model = NULL)}\cr \code{\link{gtkEntryCompletionGetModel}(object)}\cr \code{\link{gtkEntryCompletionSetMatchFunc}(object, func, func.data = NULL)}\cr \code{\link{gtkEntryCompletionSetMinimumKeyLength}(object, length)}\cr \code{\link{gtkEntryCompletionGetMinimumKeyLength}(object)}\cr \code{\link{gtkEntryCompletionComplete}(object)}\cr \code{\link{gtkEntryCompletionGetCompletionPrefix}(object)}\cr \code{\link{gtkEntryCompletionInsertPrefix}(object)}\cr \code{\link{gtkEntryCompletionInsertActionText}(object, index, text)}\cr \code{\link{gtkEntryCompletionInsertActionMarkup}(object, index, markup)}\cr \code{\link{gtkEntryCompletionDeleteAction}(object, index)}\cr \code{\link{gtkEntryCompletionSetTextColumn}(object, column)}\cr \code{\link{gtkEntryCompletionGetTextColumn}(object)}\cr \code{\link{gtkEntryCompletionSetInlineCompletion}(object, inline.completion)}\cr \code{\link{gtkEntryCompletionGetInlineCompletion}(object)}\cr \code{\link{gtkEntryCompletionSetInlineSelection}(object, inline.selection)}\cr \code{\link{gtkEntryCompletionGetInlineSelection}(object)}\cr \code{\link{gtkEntryCompletionSetPopupCompletion}(object, popup.completion)}\cr \code{\link{gtkEntryCompletionGetPopupCompletion}(object)}\cr \code{\link{gtkEntryCompletionSetPopupSetWidth}(object, popup.set.width)}\cr \code{\link{gtkEntryCompletionGetPopupSetWidth}(object)}\cr \code{\link{gtkEntryCompletionSetPopupSingleMatch}(object, popup.single.match)}\cr \code{\link{gtkEntryCompletionGetPopupSingleMatch}(object)}\cr \code{gtkEntryCompletion()} } \section{Hierarchy}{\preformatted{GObject +----GtkEntryCompletion}} \section{Interfaces}{GtkEntryCompletion implements \code{\link{GtkCellLayout}} and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkEntryCompletion}} is an auxiliary object to be used in conjunction with \code{\link{GtkEntry}} to provide the completion functionality. It implements the \code{\link{GtkCellLayout}} interface, to allow the user to add extra cells to the \code{\link{GtkTreeView}} with completion matches. "Completion functionality" means that when the user modifies the text in the entry, \code{\link{GtkEntryCompletion}} checks which rows in the model match the current content of the entry, and displays a list of matches. By default, the matching is done by comparing the entry text case-insensitively against the text column of the model (see \code{\link{gtkEntryCompletionSetTextColumn}}), but this can be overridden with a custom match function (see \code{\link{gtkEntryCompletionSetMatchFunc}}). When the user selects a completion, the content of the entry is updated. By default, the content of the entry is replaced by the text column of the model, but this can be overridden by connecting to the ::match-selected signal and updating the entry in the signal handler. Note that you should return \code{TRUE} from the signal handler to suppress the default behaviour. To add completion functionality to an entry, use \code{\link{gtkEntrySetCompletion}}. In addition to regular completion matches, which will be inserted into the entry when they are selected, \code{\link{GtkEntryCompletion}} also allows to display "actions" in the popup window. Their appearance is similar to menuitems, to differentiate them clearly from completion strings. When an action is selected, the ::action-activated signal is emitted.} \section{Structures}{\describe{\item{\verb{GtkEntryCompletion}}{ The GtkEntryCompletion struct contains only private data. }}} \section{Convenient Construction}{\code{gtkEntryCompletion} is the equivalent of \code{\link{gtkEntryCompletionNew}}.} \section{User Functions}{\describe{\item{\code{GtkEntryCompletionMatchFunc(completion, key, iter, user.data)}}{ A function which decides whether the row indicated by \code{iter} matches a given \code{key}, and should be displayed as a possible completion for \code{key}. Note that \code{key} is normalized and case-folded (see \code{gUtf8Normalize()} and \code{gUtf8Casefold()}). If this is not appropriate, match functions have access to the unmodified key via \code{gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ( )))}. \describe{ \item{\code{completion}}{the \code{\link{GtkEntryCompletion}}} \item{\code{key}}{the string to match, normalized and case-folded} \item{\code{iter}}{a \code{\link{GtkTreeIter}} indicating the row to match} \item{\code{user.data}}{user data given to \code{\link{gtkEntryCompletionSetMatchFunc}}} } \emph{Returns:} [logical] \code{TRUE} if \code{iter} should be displayed as a possible completion for \code{key} }}} \section{Signals}{\describe{ \item{\code{action-activated(widget, index, user.data)}}{ Gets emitted when an action is activated. Since 2.4 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{index}}{the index of the activated action} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cursor-on-match(widget, model, iter, user.data)}}{ Gets emitted when a match from the cursor is on a match of the list.The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by \code{iter}. Since 2.12 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{model}}{the \code{\link{GtkTreeModel}} containing the matches} \item{\code{iter}}{a \code{\link{GtkTreeIter}} positioned at the selected match} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal has been handled } \item{\code{insert-prefix(widget, prefix, user.data)}}{ Gets emitted when the inline autocompletion is triggered. The default behaviour is to make the entry display the whole prefix and select the newly inserted part. Applications may connect to this signal in order to insert only a smaller part of the \code{prefix} into the entry - e.g. the entry used in the \code{\link{GtkFileChooser}} inserts only the part of the prefix up to the next '/'. Since 2.6 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{prefix}}{the common prefix of all possible completions} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal has been handled } \item{\code{match-selected(widget, model, iter, user.data)}}{ Gets emitted when a match from the list is selected. The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by \code{iter}. Since 2.4 \describe{ \item{\code{widget}}{the object which received the signal} \item{\code{model}}{the \code{\link{GtkTreeModel}} containing the matches} \item{\code{iter}}{a \code{\link{GtkTreeIter}} positioned at the selected match} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{TRUE} if the signal has been handled } }} \section{Properties}{\describe{ \item{\verb{inline-completion} [logical : Read / Write]}{ Determines whether the common prefix of the possible completions should be inserted automatically in the entry. Note that this requires text-column to be set, even if you are using a custom match function. Default value: FALSE Since 2.6 } \item{\verb{inline-selection} [logical : Read / Write]}{ Determines whether the possible completions on the popup will appear in the entry as you navigate through them. Default value: FALSE Since 2.12 } \item{\verb{minimum-key-length} [integer : Read / Write]}{ Minimum length of the search key in order to look up matches. Allowed values: >= 0 Default value: 1 } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ The model to find matches in. } \item{\verb{popup-completion} [logical : Read / Write]}{ Determines whether the possible completions should be shown in a popup window. Default value: TRUE Since 2.6 } \item{\verb{popup-set-width} [logical : Read / Write]}{ Determines whether the completions popup window will be resized to the width of the entry. Default value: TRUE Since 2.8 } \item{\verb{popup-single-match} [logical : Read / Write]}{ Determines whether the completions popup window will shown for a single possible completion. You probably want to set this to \code{FALSE} if you are using inline completion. Default value: TRUE Since 2.8 } \item{\verb{text-column} [integer : Read / Write]}{ The column of the model containing the strings. Note that the strings must be UTF-8. Allowed values: >= -1 Default value: -1 Since 2.6 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkEntryCompletion.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterCopy.Rd0000644000176000001440000000101412362217677015417 0ustar ripleyusers\alias{gtkTextIterCopy} \name{gtkTextIterCopy} \title{gtkTextIterCopy} \description{Creates a dynamically-allocated copy of an iterator. This function is not useful in applications, because iterators can be copied with a simple assignment (\code{GtkTextIter i = j;}). The function is used by language bindings.} \usage{gtkTextIterCopy(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[\code{\link{GtkTextIter}}] a copy of the \code{iter},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcAddWidgetNameStyle.Rd0000644000176000001440000000134012362217677016761 0ustar ripleyusers\alias{gtkRcAddWidgetNameStyle} \name{gtkRcAddWidgetNameStyle} \title{gtkRcAddWidgetNameStyle} \description{ Adds a \code{\link{GtkRcStyle}} that will be looked up by a match against the widget's pathname. This is equivalent to a: \code{widget PATTERN style STYLE} statement in a RC file. \strong{WARNING: \code{gtk_rc_add_widget_name_style} is deprecated and should not be used in newly-written code. Use \code{\link{gtkRcParseString}} with a suitable string instead.} } \usage{gtkRcAddWidgetNameStyle(object, pattern)} \arguments{ \item{\verb{object}}{the \code{\link{GtkRcStyle}} to use for widgets matching \code{pattern}} \item{\verb{pattern}}{the pattern} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetTooltipMarkup.Rd0000644000176000001440000000145212362217677020325 0ustar ripleyusers\alias{gtkStatusIconSetTooltipMarkup} \name{gtkStatusIconSetTooltipMarkup} \title{gtkStatusIconSetTooltipMarkup} \description{Sets \code{markup} as the contents of the tooltip, which is marked up with the Pango text markup language.} \usage{gtkStatusIconSetTooltipMarkup(object, markup = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{markup}}{the contents of the tooltip for \code{status.icon}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{This function will take care of setting \verb{"has-tooltip"} to \code{TRUE} and of the default handler for the \verb{"query-tooltip"} signal. See also the \verb{"tooltip-markup"} property and \code{\link{gtkTooltipSetMarkup}}. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionIsSensitive.Rd0000644000176000001440000000065512362217677016431 0ustar ripleyusers\alias{gtkActionIsSensitive} \name{gtkActionIsSensitive} \title{gtkActionIsSensitive} \description{Returns whether the action is effectively sensitive.} \usage{gtkActionIsSensitive(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \value{[logical] \code{TRUE} if the action and its associated action group are both sensitive.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawLayoutLine.Rd0000644000176000001440000000145112362217677015704 0ustar ripleyusers\alias{gdkDrawLayoutLine} \name{gdkDrawLayoutLine} \title{gdkDrawLayoutLine} \description{Render a \code{\link{PangoLayoutLine}} onto an GDK drawable} \usage{gdkDrawLayoutLine(object, gc, x, y, line)} \arguments{ \item{\verb{object}}{the drawable on which to draw the line} \item{\verb{gc}}{base graphics to use} \item{\verb{x}}{the x position of start of string (in pixels)} \item{\verb{y}}{the y position of baseline (in pixels)} \item{\verb{line}}{a \code{\link{PangoLayoutLine}}} } \details{If the layout's \code{\link{PangoContext}} has a transformation matrix set, then \code{x} and \code{y} specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoImageSurfaceCreate.Rd0000644000176000001440000000216212362217677017010 0ustar ripleyusers\alias{cairoImageSurfaceCreate} \name{cairoImageSurfaceCreate} \title{cairoImageSurfaceCreate} \description{Creates an image surface of the specified format and dimensions. Initially the surface contents are all 0. (Specifically, within each pixel, each color or alpha channel belonging to format will be 0. The contents of bits within a pixel, but not belonging to the given format are undefined).} \usage{cairoImageSurfaceCreate(format, width, height)} \arguments{ \item{\verb{format}}{[\code{\link{CairoFormat}}] format of pixels in the surface to create} \item{\verb{width}}{[integer] width of the surface, in pixels} \item{\verb{height}}{[integer] height of the surface, in pixels} } \value{[\code{\link{CairoSurface}}] a pointer to the newly created surface. The caller owns the surface and should call \code{\link{cairoSurfaceDestroy}} when done with it. This function always returns a valid pointer, but it will return a pointer to a "nil" surface if an error such as out of memory occurs. You can use \code{\link{cairoSurfaceStatus}} to check for this.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleButtonNewWithLabel.Rd0000644000176000001440000000070212362217677017702 0ustar ripleyusers\alias{gtkToggleButtonNewWithLabel} \name{gtkToggleButtonNewWithLabel} \title{gtkToggleButtonNewWithLabel} \description{Creates a new toggle button with a text label.} \usage{gtkToggleButtonNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{a string containing the message to be placed in the toggle button.}} \value{[\code{\link{GtkWidget}}] a new toggle button.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDrivePollForMedia.Rd0000644000176000001440000000142712362217677015774 0ustar ripleyusers\alias{gDrivePollForMedia} \name{gDrivePollForMedia} \title{gDrivePollForMedia} \description{Asynchronously polls \code{drive} to see if media has been inserted or removed.} \usage{gDrivePollForMedia(object, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GDrive}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data to pass to \code{callback}} } \details{When the operation is finished, \code{callback} will be called. You can then call \code{\link{gDrivePollForMediaFinish}} to obtain the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionHideFileopButtons.Rd0000644000176000001440000000116412362217677021057 0ustar ripleyusers\alias{gtkFileSelectionHideFileopButtons} \name{gtkFileSelectionHideFileopButtons} \title{gtkFileSelectionHideFileopButtons} \description{ Hides the file operation buttons that normally appear at the top of the dialog. Useful if you wish to create a custom file selector, based on \code{\link{GtkFileSelection}}. \strong{WARNING: \code{gtk_file_selection_hide_fileop_buttons} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionHideFileopButtons(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileSelection}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuShellAppend.Rd0000644000176000001440000000063312362217677016046 0ustar ripleyusers\alias{gtkMenuShellAppend} \name{gtkMenuShellAppend} \title{gtkMenuShellAppend} \description{Adds a new \code{\link{GtkMenuItem}} to the end of the menu shell's item list.} \usage{gtkMenuShellAppend(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuShell}}.} \item{\verb{child}}{The \code{\link{GtkMenuItem}} to add.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogGetWidgetForResponse.Rd0000644000176000001440000000115212362217677020210 0ustar ripleyusers\alias{gtkDialogGetWidgetForResponse} \name{gtkDialogGetWidgetForResponse} \title{gtkDialogGetWidgetForResponse} \description{Gets the widget button that uses the given response ID in the action area of a dialog.} \usage{gtkDialogGetWidgetForResponse(object, response.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{response.id}}{the response ID used by the \code{dialog} widget} } \details{Since 2.20} \value{[\code{\link{GtkWidget}}] the \code{widget} button that uses the given \code{response.id}, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVRuler.Rd0000644000176000001440000000335212362217677014202 0ustar ripleyusers\alias{GtkVRuler} \alias{gtkVRuler} \name{GtkVRuler} \title{GtkVRuler} \description{A vertical ruler} \section{Methods and Functions}{ \code{\link{gtkVRulerNew}(show = TRUE)}\cr \code{gtkVRuler(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRuler +----GtkVRuler}} \section{Interfaces}{GtkVRuler implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\strong{PLEASE NOTE:} This widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. The VRuler widget is a widget arranged vertically creating a ruler that is utilized around other widgets such as a text widget. The ruler is used to show the location of the mouse on the window and to show the size of the window in specified units. The available units of measurement are GTK_PIXELS, GTK_INCHES and GTK_CENTIMETERS. GTK_PIXELS is the default. rulers.} \section{Structures}{\describe{\item{\verb{GtkVRuler}}{ The \code{\link{GtkVRuler}} struct contains private data and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkVRuler} is the equivalent of \code{\link{gtkVRulerNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVRuler.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkGetDefaultLanguage.Rd0000644000176000001440000000133312362217677016510 0ustar ripleyusers\alias{gtkGetDefaultLanguage} \name{gtkGetDefaultLanguage} \title{gtkGetDefaultLanguage} \description{Returns the \code{\link{PangoLanguage}} for the default language currently in effect. (Note that this can change over the life of an application.) The default language is derived from the current locale. It determines, for example, whether GTK+ uses the right-to-left or left-to-right text direction.} \usage{gtkGetDefaultLanguage()} \details{This function is equivalent to \code{\link{pangoLanguageGetDefault}}. See that function for details.} \value{[\code{\link{PangoLanguage}}] the default language as a \code{\link{PangoLanguage}}, must not be freed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVPanedNew.Rd0000644000176000001440000000043412362217677014650 0ustar ripleyusers\alias{gtkVPanedNew} \name{gtkVPanedNew} \title{gtkVPanedNew} \description{Create a new \code{\link{GtkVPaned}}} \usage{gtkVPanedNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] the new \code{\link{GtkVPaned}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketCreateSource.Rd0000644000176000001440000000231612362217677016220 0ustar ripleyusers\alias{gSocketCreateSource} \name{gSocketCreateSource} \title{gSocketCreateSource} \description{Creates a \code{GSource} that can be attached to a \code{GMainContext} to monitor for the availibility of the specified \code{condition} on the socket.} \usage{gSocketCreateSource(object, condition, cancellable = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{condition}}{a \code{\link{GIOCondition}} mask to monitor} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} } \details{The callback on the source is of the \verb{GSocketSourceFunc} type. It is meaningless to specify \code{G_IO_ERR} or \code{G_IO_HUP} in condition; these conditions will always be reported output if they are true. \code{cancellable} if not \code{NULL} can be used to cancel the source, which will cause the source to trigger, reporting the current condition (which is likely 0 unless cancellation happened at the same time as a condition change). You can check for this in the callback using \code{\link{gCancellableIsCancelled}}. Since 2.22} \value{[GSource] a newly allocated \code{GSource}, free with \code{gSourceUnref()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountIsShadowed.Rd0000644000176000001440000000303712362217677015541 0ustar ripleyusers\alias{gMountIsShadowed} \name{gMountIsShadowed} \title{gMountIsShadowed} \description{Determines if \code{mount} is shadowed. Applications or libraries should avoid displaying \code{mount} in the user interface if it is shadowed.} \usage{gMountIsShadowed(object)} \arguments{\item{\verb{object}}{A \code{\link{GMount}}.}} \details{A mount is said to be shadowed if there exists one or more user visible objects (currently \code{\link{GMount}} objects) with a root that is inside the root of \code{mount}. One application of shadow mounts is when exposing a single file system that is used to address several logical volumes. In this situation, a \code{\link{GVolumeMonitor}} implementation would create two \code{\link{GVolume}} objects (for example, one for the camera functionality of the device and one for a SD card reader on the device) with activation URIs \code{gphoto2://[usb:001,002]/store1/} and \code{gphoto2://[usb:001,002]/store2/}. When the underlying mount (with root \code{gphoto2://[usb:001,002]/}) is mounted, said \code{\link{GVolumeMonitor}} implementation would create two \code{\link{GMount}} objects (each with their root matching the corresponding volume activation root) that would shadow the original mount. The proxy monitor in GVfs 2.26 and later, automatically creates and manage shadow mounts (and shadows the underlying mount) if the activation root on a \code{\link{GVolume}} is set. Since 2.20} \value{[logical] \code{TRUE} if \code{mount} is shadowed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIdleRemove.Rd0000644000176000001440000000074512362217677015061 0ustar ripleyusers\alias{gtkIdleRemove} \name{gtkIdleRemove} \title{gtkIdleRemove} \description{ Removes the idle function with the given id. \strong{WARNING: \code{gtk_idle_remove} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gSourceRemove}} instead.} } \usage{gtkIdleRemove(idle.handler.id)} \arguments{\item{\verb{idle.handler.id}}{Identifies the idle function to remove.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetHardMargins.Rd0000644000176000001440000000134412362217677020243 0ustar ripleyusers\alias{gtkPrintContextGetHardMargins} \name{gtkPrintContextGetHardMargins} \title{gtkPrintContextGetHardMargins} \description{Obtains the hardware printer margins of the \code{\link{GtkPrintContext}}, in units.} \usage{gtkPrintContextGetHardMargins(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.20} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the hard margins were retrieved} \item{\verb{top}}{top hardware printer margin} \item{\verb{bottom}}{bottom hardware printer margin} \item{\verb{left}}{left hardware printer margin} \item{\verb{right}}{right hardware printer margin} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetNew.Rd0000644000176000001440000000045412362217677015720 0ustar ripleyusers\alias{atkRelationSetNew} \name{atkRelationSetNew} \title{atkRelationSetNew} \description{Creates a new empty relation set.} \usage{atkRelationSetNew()} \value{[\code{\link{AtkRelationSet}}] a new \code{\link{AtkRelationSet}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemSetTooltip.Rd0000644000176000001440000000176512362217677016614 0ustar ripleyusers\alias{gtkToolItemSetTooltip} \name{gtkToolItemSetTooltip} \title{gtkToolItemSetTooltip} \description{ Sets the \code{\link{GtkTooltips}} object to be used for \code{tool.item}, the text to be displayed as tooltip on the item and the private text to be used. See \code{\link{gtkTooltipsSetTip}}. \strong{WARNING: \code{gtk_tool_item_set_tooltip} has been deprecated since version 2.12 and should not be used in newly-written code. Use \code{\link{gtkToolItemSetTooltipText}} instead.} } \usage{gtkToolItemSetTooltip(object, tooltips, tip.text = NULL, tip.private = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolItem}}} \item{\verb{tooltips}}{The \code{\link{GtkTooltips}} object to be used} \item{\verb{tip.text}}{text to be used as tooltip text for \code{tool.item}. \emph{[ \acronym{allow-none} ]}} \item{\verb{tip.private}}{text to be used as private tooltip text. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioMenuItemNewWithMnemonicFromWidget.Rd0000644000176000001440000000154112362217677022507 0ustar ripleyusers\alias{gtkRadioMenuItemNewWithMnemonicFromWidget} \name{gtkRadioMenuItemNewWithMnemonicFromWidget} \title{gtkRadioMenuItemNewWithMnemonicFromWidget} \description{Creates a new GtkRadioMenuItem containing a label. The label will be created using \code{\link{gtkLabelNewWithMnemonic}}, so underscores in label indicate the mnemonic for the menu item.} \usage{gtkRadioMenuItemNewWithMnemonicFromWidget(group = NULL, label, show = TRUE)} \arguments{ \item{\verb{group}}{An existing \code{\link{GtkRadioMenuItem}}} \item{\verb{label}}{the text of the button, with an underscore in front of the mnemonic character} } \details{The new \code{\link{GtkRadioMenuItem}} is added to the same group as \code{group}. Since 2.4} \value{[\code{\link{GtkWidget}}] The new \code{\link{GtkRadioMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkComponent.Rd0000644000176000001440000000501112362217677014711 0ustar ripleyusers\alias{AtkComponent} \name{AtkComponent} \title{AtkComponent} \description{The ATK interface provided by UI components which occupy a physical area on the screen.} \section{Methods and Functions}{ \code{\link{atkComponentAddFocusHandler}(object, handler)}\cr \code{\link{atkComponentContains}(object, x, y, coord.type)}\cr \code{\link{atkComponentGetExtents}(object, coord.type)}\cr \code{\link{atkComponentGetLayer}(object)}\cr \code{\link{atkComponentGetMdiZorder}(object)}\cr \code{\link{atkComponentGetPosition}(object, coord.type)}\cr \code{\link{atkComponentGetSize}(object)}\cr \code{\link{atkComponentGrabFocus}(object)}\cr \code{\link{atkComponentRefAccessibleAtPoint}(object, x, y, coord.type)}\cr \code{\link{atkComponentRemoveFocusHandler}(object, handler.id)}\cr \code{\link{atkComponentSetExtents}(object, x, y, width, height, coord.type)}\cr \code{\link{atkComponentSetPosition}(object, x, y, coord.type)}\cr \code{\link{atkComponentSetSize}(object, width, height)}\cr \code{\link{atkComponentGetAlpha}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkComponent}} \section{Implementations}{AtkComponent is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkComponent}} should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have \code{\link{AtkComponent}} implementations provided for their corresponding \code{\link{AtkObject}} class. In short, only UI elements which are *not* GUI elements will omit this ATK interface. A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by \code{\link{AtkText}}.} \section{Structures}{\describe{\item{\verb{AtkComponent}}{ The AtkComponent structure does not contain any fields. }}} \section{Signals}{\describe{\item{\code{bounds-changed(atkcomponent, arg1, user.data)}}{ The 'bounds-changed" signal is emitted when the bposition or size of the a component changes. \describe{ \item{\code{atkcomponent}}{[\code{\link{AtkComponent}}] the object which received the signal.} \item{\code{arg1}}{[\code{\link{AtkRectangle}}] The AtkRectangle giving the new position and size.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//atk/AtkComponent.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetLocalAddress.Rd0000644000176000001440000000141712362217677016635 0ustar ripleyusers\alias{gSocketGetLocalAddress} \name{gSocketGetLocalAddress} \title{gSocketGetLocalAddress} \description{Try to get the local a bound socket. This is only useful if the socket has been bound to a local address, either explicitly or implicitly when connecting.} \usage{gSocketGetLocalAddress(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketAddress}}] a \code{\link{GSocketAddress}} or \code{NULL} on error.} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-creating.Rd0000644000176000001440000000423712362217677016152 0ustar ripleyusers\alias{gdk-pixbuf-creating} \name{gdk-pixbuf-creating} \title{Image Data in Memory} \description{Creating a pixbuf from image data that is already in memory.} \section{Methods and Functions}{ \code{\link{gdkPixbufNew}(colorspace, has.alpha, bits.per.sample, width, height)}\cr \code{\link{gdkPixbufNewFromData}(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride)}\cr \code{\link{gdkPixbufNewFromXpmData}(data)}\cr \code{\link{gdkPixbufNewSubpixbuf}(object, src.x, src.y, width, height)}\cr \code{\link{gdkPixbufCopy}(object)}\cr } \section{Detailed Description}{ The most basic way to create a pixbuf is to wrap an existing pixel buffer with a \code{\link{GdkPixbuf}} structure. You can use the \code{\link{gdkPixbufNewFromData}} function to do this You need to specify the destroy notification function that will be called when the data buffer needs to be freed; this will happen when a \code{\link{GdkPixbuf}} is finalized by the reference counting functions If you have a chunk of static data compiled into your application, you can pass in \code{NULL} as the destroy notification function so that the data will not be freed. The \code{\link{gdkPixbufNew}} function can be used as a convenience to create a pixbuf with an empty buffer. This is equivalent to allocating a data buffer using \code{malloc()} and then wrapping it with \code{\link{gdkPixbufNewFromData}}. The \code{\link{gdkPixbufNew}} function will compute an optimal rowstride so that rendering can be performed with an efficient algorithm. As a special case, you can use the \code{\link{gdkPixbufNewFromXpmData}} function to create a pixbuf from inline XPM image data. You can also copy an existing pixbuf with the \code{\link{gdkPixbufCopy}} function. This is not the same as just doing a \code{gObjectRef()} on the old pixbuf; the copy function will actually duplicate the pixel data in memory and create a new \code{\link{GdkPixbuf}} structure for it. } \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-creating.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListSelectChild.Rd0000644000176000001440000000075412362217677016045 0ustar ripleyusers\alias{gtkListSelectChild} \name{gtkListSelectChild} \title{gtkListSelectChild} \description{ Selects the given \code{child}. The signal GtkList::select-child will be emitted. \strong{WARNING: \code{gtk_list_select_child} is deprecated and should not be used in newly-written code.} } \usage{gtkListSelectChild(object, child)} \arguments{ \item{\verb{object}}{the list widget} \item{\verb{child}}{the child to select.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/AtkSelection.Rd0000644000176000001440000000374212362217677014705 0ustar ripleyusers\alias{AtkSelection} \name{AtkSelection} \title{AtkSelection} \description{The ATK interface implemented by container objects whose children can be selected.} \section{Methods and Functions}{ \code{\link{atkSelectionAddSelection}(object, i)}\cr \code{\link{atkSelectionClearSelection}(object)}\cr \code{\link{atkSelectionRefSelection}(object, i)}\cr \code{\link{atkSelectionGetSelectionCount}(object)}\cr \code{\link{atkSelectionIsChildSelected}(object, i)}\cr \code{\link{atkSelectionRemoveSelection}(object, i)}\cr \code{\link{atkSelectionSelectAllSelection}(object)}\cr } \section{Hierarchy}{\preformatted{GInterface +----AtkSelection}} \section{Implementations}{AtkSelection is implemented by \code{\link{AtkNoOpObject}}.} \section{Detailed Description}{\code{\link{AtkSelection}} should be implemented by UI components with children which are exposed by \verb{atk_object_ref_child} and \verb{atk_object_get_n_children}, if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to those \code{\link{AtkObject}} children - for example, selectable lists. Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - \code{\link{AtkSelection}} is limited to the selection/deselection of children.} \section{Structures}{\describe{\item{\verb{AtkSelection}}{ The AtkAction structure does not contain any fields. }}} \section{Signals}{\describe{\item{\code{selection-changed(atkselection, user.data)}}{ The "selection-changed" signal is emitted by an object which implements AtkSelection interface when the selection changes. \describe{ \item{\code{atkselection}}{[\code{\link{AtkSelection}}] the object which received the signal.} \item{\code{user.data}}{[R object] user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//atk/AtkSelection.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{\code{\link{AtkText}}} \keyword{internal} RGtk2/man/gtkTextIterEndsSentence.Rd0000644000176000001440000000107112362217677017066 0ustar ripleyusers\alias{gtkTextIterEndsSentence} \name{gtkTextIterEndsSentence} \title{gtkTextIterEndsSentence} \description{Determines whether \code{iter} ends a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms).} \usage{gtkTextIterEndsSentence(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} is at the end of a sentence.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkServiceNew.Rd0000644000176000001440000000137612362217677016114 0ustar ripleyusers\alias{gNetworkServiceNew} \name{gNetworkServiceNew} \title{gNetworkServiceNew} \description{Creates a new \code{\link{GNetworkService}} representing the given \code{service}, \code{protocol}, and \code{domain}. This will initially be unresolved; use the \code{\link{GSocketConnectable}} interface to resolve it.} \usage{gNetworkServiceNew(service, protocol, domain)} \arguments{ \item{\verb{service}}{the service type to look up (eg, "ldap")} \item{\verb{protocol}}{the networking protocol to use for \code{service} (eg, "tcp")} \item{\verb{domain}}{the DNS domain to look up the service in} } \details{Since 2.22} \value{[\code{\link{GSocketConnectable}}] a new \code{\link{GNetworkService}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarNew.Rd0000644000176000001440000000050512362217677015012 0ustar ripleyusers\alias{gtkInfoBarNew} \name{gtkInfoBarNew} \title{gtkInfoBarNew} \description{Creates a new \code{\link{GtkInfoBar}} object.} \usage{gtkInfoBarNew(show = TRUE)} \details{Since 2.18} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkInfoBar}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectInitialize.Rd0000644000176000001440000000127512362217677016247 0ustar ripleyusers\alias{atkObjectInitialize} \name{atkObjectInitialize} \title{atkObjectInitialize} \description{This function is called when implementing subclasses of \code{\link{AtkObject}}. It does initialization required for the new object. It is intended that this function should called only in the ...\code{new()} functions used to create an instance of a subclass of \code{\link{AtkObject}}} \usage{atkObjectInitialize(object, data)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] a \code{\link{AtkObject}}} \item{\verb{data}}{[R object] a \verb{R object} which identifies the object for which the AtkObject was created.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetWidth.Rd0000644000176000001440000000067312362217677016262 0ustar ripleyusers\alias{pangoLayoutGetWidth} \name{pangoLayoutGetWidth} \title{pangoLayoutGetWidth} \description{Gets the width to which the lines of the \code{\link{PangoLayout}} should wrap.} \usage{pangoLayoutGetWidth(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \value{[integer] the width in Pango units, or -1 if no width set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableSetColormap.Rd0000644000176000001440000000153312362217677016674 0ustar ripleyusers\alias{gdkDrawableSetColormap} \name{gdkDrawableSetColormap} \title{gdkDrawableSetColormap} \description{Sets the colormap associated with \code{drawable}. Normally this will happen automatically when the drawable is created; you only need to use this function if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a \code{\link{GdkGC}} to draw to a drawable, or copying one drawable to another, the colormaps should match.} \usage{gdkDrawableSetColormap(object, colormap)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{colormap}}{a \code{\link{GdkColormap}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEditableDeleteSelection.Rd0000644000176000001440000000062712362217677017527 0ustar ripleyusers\alias{gtkEditableDeleteSelection} \name{gtkEditableDeleteSelection} \title{gtkEditableDeleteSelection} \description{Deletes the currently selected text of the editable. This call doesn't do anything if there is no selected text.} \usage{gtkEditableDeleteSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEditable}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterAddAge.Rd0000644000176000001440000000072012362217677016433 0ustar ripleyusers\alias{gtkRecentFilterAddAge} \name{gtkRecentFilterAddAge} \title{gtkRecentFilterAddAge} \description{Adds a rule that allows resources based on their age - that is, the number of days elapsed since they were last modified.} \usage{gtkRecentFilterAddAge(object, days)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{days}}{number of days} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPrintPages.Rd0000644000176000001440000000070712362217677020312 0ustar ripleyusers\alias{gtkPrintSettingsSetPrintPages} \name{gtkPrintSettingsSetPrintPages} \title{gtkPrintSettingsSetPrintPages} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PRINT_PAGES}.} \usage{gtkPrintSettingsSetPrintPages(object, pages)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{pages}}{a \code{\link{GtkPrintPages}} value} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewNewWithBuffer.Rd0000644000176000001440000000134712362217677017244 0ustar ripleyusers\alias{gtkTextViewNewWithBuffer} \name{gtkTextViewNewWithBuffer} \title{gtkTextViewNewWithBuffer} \description{Creates a new \code{\link{GtkTextView}} widget displaying the buffer \code{buffer}. One buffer can be shared among many widgets. \code{buffer} may be \code{NULL} to create a default buffer, in which case this function is equivalent to \code{\link{gtkTextViewNew}}. The text view adds its own reference count to the buffer; it does not take over an existing reference.} \usage{gtkTextViewNewWithBuffer(buffer = NULL, show = TRUE)} \arguments{\item{\verb{buffer}}{a \code{\link{GtkTextBuffer}}}} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkTextView}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetVisual.Rd0000644000176000001440000000064412362217677016073 0ustar ripleyusers\alias{gtkWidgetGetVisual} \name{gtkWidgetGetVisual} \title{gtkWidgetGetVisual} \description{Gets the visual that will be used to render \code{widget}.} \usage{gtkWidgetGetVisual(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GdkVisual}}] the visual for \code{widget}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkInvisible.Rd0000644000176000001440000000320612362217677014705 0ustar ripleyusers\alias{GtkInvisible} \alias{gtkInvisible} \name{GtkInvisible} \title{GtkInvisible} \description{A widget which is not displayed} \section{Methods and Functions}{ \code{\link{gtkInvisibleNew}(show = TRUE)}\cr \code{\link{gtkInvisibleNewForScreen}(screen, show = TRUE)}\cr \code{\link{gtkInvisibleSetScreen}(object, screen)}\cr \code{\link{gtkInvisibleGetScreen}(object)}\cr \code{gtkInvisible(screen, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkInvisible}} \section{Interfaces}{GtkInvisible implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkInvisible}} widget is used internally in GTK+, and is probably not very useful for application developers. It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.} \section{Structures}{\describe{\item{\verb{GtkInvisible}}{ The \code{\link{GtkInvisible}} struct contains no public fields. }}} \section{Convenient Construction}{\code{gtkInvisible} is the result of collapsing the constructors of \code{GtkInvisible} (\code{\link{gtkInvisibleNew}}, \code{\link{gtkInvisibleNewForScreen}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{\item{\verb{screen} [\code{\link{GdkScreen}} : * : Read / Write]}{ The screen where this window will be displayed. }}} \references{\url{http://library.gnome.org/devel//gtk/GtkInvisible.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontExtents.Rd0000644000176000001440000000077212362217677015617 0ustar ripleyusers\alias{cairoFontExtents} \name{cairoFontExtents} \title{cairoFontExtents} \description{Gets the font extents for the currently selected font.} \usage{cairoFontExtents(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \value{ A list containing the following elements: \item{\verb{extents}}{[\code{\link{CairoFontExtents}}] a \code{\link{CairoFontExtents}} object into which the results will be stored.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoVersion.Rd0000644000176000001440000000143412362217677014757 0ustar ripleyusers\alias{cairoVersion} \name{cairoVersion} \title{cairoVersion} \description{Returns the version of the cairo library encoded in a single integer as per \code{CAIRO_VERSION_ENCODE}. The encoding ensures that later versions compare greater than earlier versions.} \usage{cairoVersion()} \details{A run-time comparison to check that cairo's version is greater than or equal to version X.Y.Z could be performed as follows: \preformatted{ # This function is not that useful in R. # Instead, please use cairoVersionString() with compareVersion(). } See also \code{\link{cairoVersionString}} as well as the compile-time equivalents \code{CAIRO_VERSION} and \code{CAIRO_VERSION_STRING}. } \value{[integer] the encoded version.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationNewFromFile.Rd0000644000176000001440000000220212362217677020167 0ustar ripleyusers\alias{gdkPixbufAnimationNewFromFile} \name{gdkPixbufAnimationNewFromFile} \title{gdkPixbufAnimationNewFromFile} \description{Creates a new animation by loading it from a file. The file format is detected automatically. If the file's format does not support multi-frame images, then an animation with a single frame will be created. Possible errors are in the \verb{GDK_PIXBUF_ERROR} and \verb{G_FILE_ERROR} domains.} \usage{gdkPixbufAnimationNewFromFile(filename, .errwarn = TRUE)} \arguments{ \item{\verb{filename}}{Name of file to load, in the GLib file name encoding} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbufAnimation}}] A newly-created animation with a reference count of 1, or \code{NULL} if any of several error conditions ocurred: the file could not be opened, there was no loader for the file's format, there was not enough memory to allocate the image buffer, or the image file contained invalid data.} \item{\verb{error}}{return location for error} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetAlignment.Rd0000644000176000001440000000110512362217677020240 0ustar ripleyusers\alias{gtkTreeViewColumnSetAlignment} \name{gtkTreeViewColumnSetAlignment} \title{gtkTreeViewColumnSetAlignment} \description{Sets the alignment of the title or custom widget inside the column header. The alignment determines its location inside the button -- 0.0 for left, 0.5 for center, 1.0 for right.} \usage{gtkTreeViewColumnSetAlignment(object, xalign)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{xalign}}{The alignment, which is between [0.0 and 1.0] inclusive.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufGetFromImage.Rd0000644000176000001440000000231512362217677016465 0ustar ripleyusers\alias{gdkPixbufGetFromImage} \name{gdkPixbufGetFromImage} \title{gdkPixbufGetFromImage} \description{Same as \code{\link{gdkPixbufGetFromDrawable}} but gets the pixbuf from an image.} \usage{gdkPixbufGetFromImage(src, cmap, src.x, src.y, dest.x, dest.y, width, height)} \arguments{ \item{\verb{src}}{Source \code{\link{GdkImage}}.} \item{\verb{cmap}}{A colormap, or \code{NULL} to use the one for \code{src}. \emph{[ \acronym{allow-none} ]}} \item{\verb{src.x}}{Source X coordinate within drawable.} \item{\verb{src.y}}{Source Y coordinate within drawable.} \item{\verb{dest.x}}{Destination X coordinate in pixbuf, or 0 if \code{dest} is NULL.} \item{\verb{dest.y}}{Destination Y coordinate in pixbuf, or 0 if \code{dest} is NULL.} \item{\verb{width}}{Width in pixels of region to get.} \item{\verb{height}}{Height in pixels of region to get.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] \code{dest}, newly-created pixbuf if \code{dest} was \code{NULL}, \code{NULL} on error} \item{\verb{dest}}{Destination pixbuf, or \code{NULL} if a new pixbuf should be created. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarGetContextId.Rd0000644000176000001440000000110612362217677017250 0ustar ripleyusers\alias{gtkStatusbarGetContextId} \name{gtkStatusbarGetContextId} \title{gtkStatusbarGetContextId} \description{Returns a new context identifier, given a description of the actual context. Note that the description is \emph{not} shown in the UI.} \usage{gtkStatusbarGetContextId(object, context.description)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusbar}}} \item{\verb{context.description}}{textual description of what context the new message is being used in} } \value{[numeric] an integer id} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeRow.Rd0000644000176000001440000000112411766145227014506 0ustar ripleyusers\name{gtkCTreeRow} \alias{gtkCTreeRow} \title{gtkCTreeRow} \description{ Get the \code{\link{GtkCTreeRow}} structure from the opaque \code{\link{GtkCTreeNode}}. This allows traversing the data structure of the \code{\link{GtkCTree}}. } \usage{ gtkCTreeRow(node) } \arguments{ \item{node}{ The \code{\link{GtkCTreeNode}} from which to get the \code{\link{GtkCTreeRow}}.} } \value{ A \code{\link{GtkCTreeRow}} } \note{ The \code{\link{GtkCTree}} widget is deprecated. Please consider using \code{\link{GtkTreeView}}. } \author{ Michael Lawrence } \keyword{internal} \keyword{interface} RGtk2/man/gBufferedOutputStreamGetAutoGrow.Rd0000644000176000001440000000075512362217677020737 0ustar ripleyusers\alias{gBufferedOutputStreamGetAutoGrow} \name{gBufferedOutputStreamGetAutoGrow} \title{gBufferedOutputStreamGetAutoGrow} \description{Checks if the buffer automatically grows as data is added.} \usage{gBufferedOutputStreamGetAutoGrow(object)} \arguments{\item{\verb{object}}{a \code{\link{GBufferedOutputStream}}.}} \value{[logical] \code{TRUE} if the \code{stream}'s buffer automatically grows, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarAppendWidget.Rd0000644000176000001440000000152412362217677016720 0ustar ripleyusers\alias{gtkToolbarAppendWidget} \name{gtkToolbarAppendWidget} \title{gtkToolbarAppendWidget} \description{ Adds a widget to the end of the given toolbar. \strong{WARNING: \code{gtk_toolbar_append_widget} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarAppendWidget(object, widget, tooltip.text = NULL, tooltip.private.text = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{widget}}{a \code{\link{GtkWidget}} to add to the toolbar.} \item{\verb{tooltip.text}}{the element's tooltip. \emph{[ \acronym{allow-none} ]}} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeCollapseToDepth.Rd0000644000176000001440000000107712362217677017002 0ustar ripleyusers\alias{gtkCTreeCollapseToDepth} \name{gtkCTreeCollapseToDepth} \title{gtkCTreeCollapseToDepth} \description{ Collapse a node and its children up to the depth given. \strong{WARNING: \code{gtk_ctree_collapse_to_depth} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeCollapseToDepth(object, node, depth)} \arguments{ \item{\verb{object}}{The (absolute) depth up to which to collapse nodes.} \item{\verb{node}}{\emph{undocumented }} \item{\verb{depth}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolbarPrependElement.Rd0000644000176000001440000000344412362217677017257 0ustar ripleyusers\alias{gtkToolbarPrependElement} \name{gtkToolbarPrependElement} \title{gtkToolbarPrependElement} \description{ Adds a new element to the beginning of a toolbar. \strong{WARNING: \code{gtk_toolbar_prepend_element} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gtkToolbarInsert}} instead.} } \usage{gtkToolbarPrependElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolbar}}.} \item{\verb{type}}{a value of type \code{\link{GtkToolbarChildType}} that determines what \code{widget} will be.} \item{\verb{widget}}{a \code{\link{GtkWidget}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{text}}{the element's label.} \item{\verb{tooltip.text}}{the element's tooltip.} \item{\verb{tooltip.private.text}}{used for context-sensitive help about this toolbar element.} \item{\verb{icon}}{a \code{\link{GtkWidget}} that provides pictorial representation of the element's function.} \item{\verb{callback}}{the function to be executed when the button is pressed.} \item{\verb{user.data}}{any data you wish to pass to the callback.} } \details{If \code{type} == \code{GTK_TOOLBAR_CHILD_WIDGET}, \code{widget} is used as the new element. If \code{type} == \code{GTK_TOOLBAR_CHILD_RADIOBUTTON}, \code{widget} is used to determine the radio group for the new element. In all other cases, \code{widget} must be \code{NULL}. \code{callback} must be a pointer to a function taking a \code{\link{GtkWidget}} and a gpointer as arguments. Use \code{gCallback()} to cast the function to \verb{GCallback}.} \value{[\code{\link{GtkWidget}}] the new toolbar element as a \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GMount.Rd0000644000176000001440000001146412362217677013531 0ustar ripleyusers\alias{GMount} \alias{GMountMountFlags} \alias{GMountUnmountFlags} \name{GMount} \title{GMount} \description{Mount management} \section{Methods and Functions}{ \code{\link{gMountGetName}(object)}\cr \code{\link{gMountGetUuid}(object)}\cr \code{\link{gMountGetIcon}(object)}\cr \code{\link{gMountGetDrive}(object)}\cr \code{\link{gMountGetRoot}(object)}\cr \code{\link{gMountGetVolume}(object)}\cr \code{\link{gMountCanUnmount}(object)}\cr \code{\link{gMountUnmount}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountUnmountFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountUnmountWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountUnmountWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountRemount}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountRemountFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountCanEject}(object)}\cr \code{\link{gMountEject}(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountEjectFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountEjectWithOperation}(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountEjectWithOperationFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountGuessContentType}(object, force.rescan, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gMountGuessContentTypeFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gMountGuessContentTypeSync}(object, force.rescan, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gMountIsShadowed}(object)}\cr \code{\link{gMountShadow}(object)}\cr \code{\link{gMountUnshadow}(object)}\cr } \section{Hierarchy}{\preformatted{ GInterface +----GMount GEnum +----GMountMountFlags GFlags +----GMountUnmountFlags }} \section{Detailed Description}{The \code{\link{GMount}} interface represents user-visible mounts. Note, when porting from GnomeVFS, \code{\link{GMount}} is the moral equivalent of \verb{GnomeVFSVolume}. \code{\link{GMount}} is a "mounted" filesystem that you can access. Mounted is in quotes because it's not the same as a unix mount, it might be a gvfs mount, but you can still access the files on it if you use GIO. Might or might not be related to a volume object. Unmounting a \code{\link{GMount}} instance is an asynchronous operation. For more information about asynchronous operations, see \verb{GAsyncReady} and \verb{GSimpleAsyncReady}. To unmount a \code{\link{GMount}} instance, first call \code{\link{gMountUnmountWithOperation}} with (at least) the \code{\link{GMount}} instance and a \code{\link{GAsyncReadyCallback}}. The callback will be fired when the operation has resolved (either with success or failure), and a \verb{GAsyncReady} structure will be passed to the callback. That callback should then call \code{\link{gMountUnmountWithOperationFinish}} with the \code{\link{GMount}} and the \verb{GAsyncReady} data to see if the operation was completed successfully. If an \code{error} is present when \code{\link{gMountUnmountWithOperationFinish}} is called, then it will be filled with any error information.} \section{Structures}{\describe{\item{\verb{GMount}}{ A handle to an object implementing the \verb{GMountIface} interface. }}} \section{Enums and Flags}{\describe{ \item{\verb{GMountMountFlags}}{ Flags used when mounting a mount. \describe{\item{\verb{none}}{No flags set.}} } \item{\verb{GMountUnmountFlags}}{ Flags used when an unmounting a mount. \describe{ \item{\verb{none}}{No flags set.} \item{\verb{force}}{Unmount even if there are outstanding file operations on the mount.} } } }} \section{Signals}{\describe{ \item{\code{changed(mount, user.data)}}{ Emitted when the mount has been changed. \describe{ \item{\code{mount}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{pre-unmount(mount, user.data)}}{ This signal is emitted when the \code{\link{GMount}} is about to be unmounted. Since 2.22 \describe{ \item{\code{mount}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unmounted(mount, user.data)}}{ This signal is emitted when the \code{\link{GMount}} have been unmounted. If the recipient is holding references to the object they should release them so the object can be finalized. \describe{ \item{\code{mount}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gio/GMount.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutGetUnknownGlyphsCount.Rd0000644000176000001440000000151212362217677021033 0ustar ripleyusers\alias{pangoLayoutGetUnknownGlyphsCount} \name{pangoLayoutGetUnknownGlyphsCount} \title{pangoLayoutGetUnknownGlyphsCount} \description{Counts the number unknown glyphs in \code{layout}. That is, zero if glyphs for all characters in the layout text were found, or more than zero otherwise.} \usage{pangoLayoutGetUnknownGlyphsCount(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}}} \details{This function can be used to determine if there are any fonts available to render all characters in a certain string, or when used in combination with \code{PANGO_ATTR_FALLBACK}, to check if a certain font supports all the characters in the string. Since 1.16} \value{[integer] The number of unknown glyphs in \code{layout}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenHeight.Rd0000644000176000001440000000045012362217677015347 0ustar ripleyusers\alias{gdkScreenHeight} \name{gdkScreenHeight} \title{gdkScreenHeight} \description{Returns the height of the default screen in pixels.} \usage{gdkScreenHeight()} \value{[integer] the height of the default screen in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetBuffer.Rd0000644000176000001440000000066412362217677015721 0ustar ripleyusers\alias{gtkEntryGetBuffer} \name{gtkEntryGetBuffer} \title{gtkEntryGetBuffer} \description{Get the \code{\link{GtkEntryBuffer}} object which holds the text for this widget.} \usage{gtkEntryGetBuffer(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \details{Since 2.18} \value{[\code{\link{GtkEntryBuffer}}] A \code{\link{GtkEntryBuffer}} object.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconTooltipMarkup.Rd0000644000176000001440000000150412362217677020141 0ustar ripleyusers\alias{gtkEntrySetIconTooltipMarkup} \name{gtkEntrySetIconTooltipMarkup} \title{gtkEntrySetIconTooltipMarkup} \description{Sets \code{tooltip} as the contents of the tooltip for the icon at the specified position. \code{tooltip} is assumed to be marked up with the Pango text markup language.} \usage{gtkEntrySetIconTooltipMarkup(object, icon.pos, tooltip = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{the icon position} \item{\verb{tooltip}}{the contents of the tooltip for the icon, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Use \code{NULL} for \code{tooltip} to remove an existing tooltip. See also \code{\link{gtkWidgetSetTooltipMarkup}} and \code{gtkEntySetIconTooltipText()}. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetRowStyle.Rd0000644000176000001440000000104112362217677016203 0ustar ripleyusers\alias{gtkCListGetRowStyle} \name{gtkCListGetRowStyle} \title{gtkCListGetRowStyle} \description{ Gets the style set for the specified row. \strong{WARNING: \code{gtk_clist_get_row_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetRowStyle(object, row)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to query.} } \value{[\code{\link{GtkStyle}}] The \code{\link{GtkStyle}} of the row.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromStock.Rd0000644000176000001440000000152012362217677016342 0ustar ripleyusers\alias{gtkImageNewFromStock} \name{gtkImageNewFromStock} \title{gtkImageNewFromStock} \description{Creates a \code{\link{GtkImage}} displaying a stock icon. Sample stock icon names are \verb{GTK_STOCK_OPEN}, \verb{GTK_STOCK_QUIT}. Sample stock sizes are \verb{GTK_ICON_SIZE_MENU}, \verb{GTK_ICON_SIZE_SMALL_TOOLBAR}. If the stock icon name isn't known, the image will be empty. You can register your own stock icon names, see \code{\link{gtkIconFactoryAddDefault}} and \code{\link{gtkIconFactoryAdd}}.} \usage{gtkImageNewFromStock(stock.id, size, show = TRUE)} \arguments{ \item{\verb{stock.id}}{a stock icon name} \item{\verb{size}}{a stock icon size. \emph{[ \acronym{type} int]}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}} displaying the stock icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileMove.Rd0000644000176000001440000000571212362217677014174 0ustar ripleyusers\alias{gFileMove} \name{gFileMove} \title{gFileMove} \description{Tries to move the file or directory \code{source} to the location specified by \code{destination}. If native move operations are supported then this is used, otherwise a copy + delete fallback is used. The native implementation may support moving directories (for instance on moves inside the same filesystem), but the fallback code does not.} \usage{gFileMove(object, destination, flags = "G_FILE_COPY_NONE", cancellable = NULL, progress.callback, progress.callback.data, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{\code{\link{GFile}} pointing to the source location.} \item{\verb{destination}}{\code{\link{GFile}} pointing to the destination location.} \item{\verb{flags}}{set of \code{\link{GFileCopyFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{progress.callback}}{\code{\link{GFileProgressCallback}} function for updates.} \item{\verb{progress.callback.data}}{gpointer to user data for the callback function.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the flag \verb{G_FILE_COPY_OVERWRITE} is specified an already existing \code{destination} file is overwritten. If the flag \verb{G_FILE_COPY_NOFOLLOW_SYMLINKS} is specified then symlinks will be copied as symlinks, otherwise the target of the \code{source} symlink will be copied. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If \code{progress.callback} is not \code{NULL}, then the operation can be monitored by setting this to a \code{\link{GFileProgressCallback}} function. \code{progress.callback.data} will be passed to this function. It is guaranteed that this callback will be called after all data has been transferred with the total number of bytes copied during the operation. If the \code{source} file does not exist then the G_IO_ERROR_NOT_FOUND error is returned, independent on the status of the \code{destination}. If \verb{G_FILE_COPY_OVERWRITE} is not specified and the target exists, then the error G_IO_ERROR_EXISTS is returned. If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY error is returned. If trying to overwrite a directory with a directory the G_IO_ERROR_WOULD_MERGE error is returned. If the source is a directory and the target does not exist, or \verb{G_FILE_COPY_OVERWRITE} is specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error may be returned (if the native move operation isn't available).} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on successful move, \code{FALSE} otherwise.} \item{\verb{error}}{\code{\link{GError}} for returning error conditions, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAdjustmentGetPageSize.Rd0000644000176000001440000000063312362217677017230 0ustar ripleyusers\alias{gtkAdjustmentGetPageSize} \name{gtkAdjustmentGetPageSize} \title{gtkAdjustmentGetPageSize} \description{Retrieves the page size of the adjustment.} \usage{gtkAdjustmentGetPageSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAdjustment}}}} \details{Since 2.14} \value{[numeric] The current page size of the adjustment.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gTcpConnectionSetGracefulDisconnect.Rd0000644000176000001440000000176212362217677021374 0ustar ripleyusers\alias{gTcpConnectionSetGracefulDisconnect} \name{gTcpConnectionSetGracefulDisconnect} \title{gTcpConnectionSetGracefulDisconnect} \description{This enabled graceful disconnects on close. A graceful disconnect means that we signal the recieving end that the connection is terminated and wait for it to close the connection before closing the connection.} \usage{gTcpConnectionSetGracefulDisconnect(object, graceful.disconnect)} \arguments{ \item{\verb{object}}{a \code{\link{GTcpConnection}}} \item{\verb{graceful.disconnect}}{Whether to do graceful disconnects or not} } \details{A graceful disconnect means that we can be sure that we successfully sent all the outstanding data to the other end, or get an error reported. However, it also means we have to wait for all the data to reach the other side and for it to acknowledge this by closing the socket, which may take a while. For this reason it is disabled by default. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontFaceGetUserData.Rd0000644000176000001440000000126712362217677017114 0ustar ripleyusers\alias{cairoFontFaceGetUserData} \name{cairoFontFaceGetUserData} \title{cairoFontFaceGetUserData} \description{Return user data previously attached to \code{font.face} using the specified key. If no user data has been attached with the given key this function returns \code{NULL}.} \usage{cairoFontFaceGetUserData(font.face, key)} \arguments{ \item{\verb{font.face}}{[\code{\link{CairoFontFace}}] a \code{\link{CairoFontFace}}} \item{\verb{key}}{[\code{\link{CairoUserDataKey}}] the the \code{\link{CairoUserDataKey}} the user data was attached to} } \value{[R object] the user data previously attached or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkObject.Rd0000644000176000001440000000051111766145227014161 0ustar ripleyusers\name{GtkObject} \alias{GtkObject} \title{GtkObject} \description{ As far as the RGtk2 user is concerned, the \code{GtkObject} class just indicates that an object is part of the \code{\link{GTK}} library, though the library also contains non-\code{GtkObject}s.} \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/gtkWindowGetDefaultIconName.Rd0000644000176000001440000000076212362217677017653 0ustar ripleyusers\alias{gtkWindowGetDefaultIconName} \name{gtkWindowGetDefaultIconName} \title{gtkWindowGetDefaultIconName} \description{Returns the fallback icon name for windows that has been set with \code{\link{gtkWindowSetDefaultIconName}}. It is only valid until the next call to \code{\link{gtkWindowSetDefaultIconName}}.} \usage{gtkWindowGetDefaultIconName()} \details{Since 2.16} \value{[character] the fallback icon name for windows} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSimpleAsyncResultSetOpResGssize.Rd0000644000176000001440000000071612362217677020725 0ustar ripleyusers\alias{gSimpleAsyncResultSetOpResGssize} \name{gSimpleAsyncResultSetOpResGssize} \title{gSimpleAsyncResultSetOpResGssize} \description{Sets the operation result within the asynchronous result to the given \code{op.res}.} \usage{gSimpleAsyncResultSetOpResGssize(object, op.res)} \arguments{ \item{\verb{object}}{a \code{\link{GSimpleAsyncResult}}.} \item{\verb{op.res}}{a \verb{integer}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Filesystem-utilities.Rd0000644000176000001440000000451512362217677017237 0ustar ripleyusers\alias{gtk-Filesystem-utilities} \alias{GtkMountOperation} \alias{gtkMountOperation} \name{gtk-Filesystem-utilities} \title{Filesystem utilities} \description{Functions for working with GIO} \section{Methods and Functions}{ \code{\link{gtkMountOperationNew}(parent = NULL)}\cr \code{\link{gtkMountOperationIsShowing}(object)}\cr \code{\link{gtkMountOperationSetParent}(object, parent)}\cr \code{\link{gtkMountOperationGetParent}(object)}\cr \code{\link{gtkMountOperationSetScreen}(object, screen)}\cr \code{\link{gtkMountOperationGetScreen}(object)}\cr \code{\link{gtkShowUri}(screen = NULL, uri, timestamp, .errwarn = TRUE)}\cr \code{gtkMountOperation(parent = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GMountOperation +----GtkMountOperation}} \section{Detailed Description}{The functions and objects described here make working with GTK+ and GIO more convenient. \code{\link{GtkMountOperation}} is needed when mounting volumes: It is an implementation of \code{\link{GMountOperation}} that can be used with GIO functions for mounting volumes such as \code{\link{gFileMountEnclosingVolume}}, \code{\link{gFileMountMountable}}, \code{\link{gVolumeMount}}, \code{\link{gMountUnmountWithOperation}} and others. When necessary, \code{\link{GtkMountOperation}} shows dialogs to ask for passwords, questions or show processes blocking unmount. \code{\link{gtkShowUri}} is a convenient way to launch applications for URIs. Another object that is worth mentioning in this context is \code{\link{GdkAppLaunchContext}}, which provides visual feedback when lauching applications.} \section{Structures}{\describe{\item{\verb{GtkMountOperation}}{ This should not be accessed directly. Use the accessor functions below. }}} \section{Convenient Construction}{\code{gtkMountOperation} is the equivalent of \code{\link{gtkMountOperationNew}}.} \section{Properties}{\describe{ \item{\verb{is-showing} [logical : Read]}{ Are we showing a dialog. Default value: FALSE } \item{\verb{parent} [\code{\link{GtkWindow}} : * : Read / Write]}{ The parent window. } \item{\verb{screen} [\code{\link{GdkScreen}} : * : Read / Write]}{ The screen where this window will be displayed. } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Filesystem-utilities.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStyleRenderIcon.Rd0000644000176000001440000000176212362217677016077 0ustar ripleyusers\alias{gtkStyleRenderIcon} \name{gtkStyleRenderIcon} \title{gtkStyleRenderIcon} \description{Renders the icon specified by \code{source} at the given \code{size} according to the given parameters and returns the result in a pixbuf.} \usage{gtkStyleRenderIcon(object, source, direction, state, size, widget = NULL, detail = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{source}}{the \code{\link{GtkIconSource}} specifying the icon to render} \item{\verb{direction}}{a text direction} \item{\verb{state}}{a state} \item{\verb{size}}{(type int) the size to render the icon at. A size of (GtkIconSize)-1 means render at the size of the source and don't scale.} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} } \value{[\code{\link{GdkPixbuf}}] a newly-created \code{\link{GdkPixbuf}} containing the rendered icon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/getSignalInfo.Rd0000644000176000001440000000241011766145227015036 0ustar ripleyusers\name{getSignalInfo} \alias{getSignalInfo} \title{Information for all signals for multiple classes} \description{ \strong{DEPRECATED!! (compatibility wrappers for RGtk 1!)} This retrieves the signal information for all of the signals defined for each of the classes specified by \code{classes}. This is just a convenient front-end to \code{\link{gtkSignalGetInfo}} for a large number of signals. } \usage{ getSignalInfo(classes=.GtkClasses, load=TRUE) } \arguments{ \item{classes}{a character vector containing the names of different Gtk classes/types} \item{load}{This is now ignored. You don't need to worry about whether types are loaded.} } \value{ A list with elements for each of the classes. Each element is itself a list with an element for each of the signals defined for that class. Each element within this list is the value returned from \code{\link{gtkSignalGetInfo}} } \references{ Information on the package is available from \url{http://www.omegahat.org/RGtk}. Information on Gtk is available from \url{http://www.gtk.org}. } \author{ Duncan Temple Lang } \seealso{ \code{\link{gtkSignalGetInfo}} } \examples{ if (gtkInit()) getSignalInfo("GtkButton") } \keyword{interface} \keyword{internal} RGtk2/man/gMemoryOutputStreamGetDataSize.Rd0000644000176000001440000000102012362217677020404 0ustar ripleyusers\alias{gMemoryOutputStreamGetDataSize} \name{gMemoryOutputStreamGetDataSize} \title{gMemoryOutputStreamGetDataSize} \description{Returns the number of bytes from the start up to including the last byte written in the stream that has not been truncated away.} \usage{gMemoryOutputStreamGetDataSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GMemoryOutputStream}}}} \details{Since 2.18} \value{[numeric] the number of bytes written to the stream} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountUnmount.Rd0000644000176000001440000000174612362217677015161 0ustar ripleyusers\alias{gMountUnmount} \name{gMountUnmount} \title{gMountUnmount} \description{ Unmounts a mount. This is an asynchronous operation, and is finished by calling \code{\link{gMountUnmountFinish}} with the \code{mount} and \code{\link{GAsyncResult}} data returned in the \code{callback}. \strong{WARNING: \code{g_mount_unmount} has been deprecated since version 2.22 and should not be used in newly-written code. Use \code{\link{gMountUnmountWithOperation}} instead.} } \usage{gMountUnmount(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFaceGetFaceName.Rd0000644000176000001440000000110412362217677017040 0ustar ripleyusers\alias{pangoFontFaceGetFaceName} \name{pangoFontFaceGetFaceName} \title{pangoFontFaceGetFaceName} \description{Gets a name representing the style of this face among the different faces in the \code{\link{PangoFontFamily}} for the face. This name is unique among all faces in the family and is suitable for displaying to users.} \usage{pangoFontFaceGetFaceName(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFace}}] a \code{\link{PangoFontFace}}.}} \value{[char] the face name for the face.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountEjectWithOperation.Rd0000644000176000001440000000175512362217677017263 0ustar ripleyusers\alias{gMountEjectWithOperation} \name{gMountEjectWithOperation} \title{gMountEjectWithOperation} \description{Ejects a mount. This is an asynchronous operation, and is finished by calling \code{\link{gMountEjectWithOperationFinish}} with the \code{mount} and \code{\link{GAsyncResult}} data returned in the \code{callback}.} \usage{gMountEjectWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GMount}}.} \item{\verb{flags}}{flags affecting the unmount if required for eject} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}} or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}, or \code{NULL}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationCancel.Rd0000644000176000001440000000077112362217677017110 0ustar ripleyusers\alias{gtkPrintOperationCancel} \name{gtkPrintOperationCancel} \title{gtkPrintOperationCancel} \description{Cancels a running print operation. This function may be called from a \verb{"begin-print"}, \verb{"paginate"} or \verb{"draw-page"} signal handler to stop the currently running print operation.} \usage{gtkPrintOperationCancel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoVersionString.Rd0000644000176000001440000000073212362217677016146 0ustar ripleyusers\alias{cairoVersionString} \name{cairoVersionString} \title{cairoVersionString} \description{Returns the version of the cairo library as a human-readable string of the form "X.Y.Z".} \usage{cairoVersionString()} \details{See also \code{\link{cairoVersion}} as well as the compile-time equivalents \code{CAIRO_VERSION_STRING} and \code{CAIRO_VERSION}. } \value{[char] a string containing the version.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkCharWidthWc.Rd0000644000176000001440000000110312362217677015142 0ustar ripleyusers\alias{gdkCharWidthWc} \name{gdkCharWidthWc} \title{gdkCharWidthWc} \description{ Determines the width of a given wide character. (Encoded in the wide-character encoding of the current locale). \strong{WARNING: \code{gdk_char_width_wc} is deprecated and should not be used in newly-written code.} } \usage{gdkCharWidthWc(object, character)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{character}}{the character to measure.} } \value{[integer] the width of the character in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketCheckConnectResult.Rd0000644000176000001440000000144212362217677017361 0ustar ripleyusers\alias{gSocketCheckConnectResult} \name{gSocketCheckConnectResult} \title{gSocketCheckConnectResult} \description{Checks and resets the pending connect error for the socket. This is used to check for errors when \code{\link{gSocketConnect}} is used in non-blocking mode.} \usage{gSocketCheckConnectResult(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if no error, \code{FALSE} otherwise, setting \code{error} to the error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardSetText.Rd0000644000176000001440000000123612362217677016242 0ustar ripleyusers\alias{gtkClipboardSetText} \name{gtkClipboardSetText} \title{gtkClipboardSetText} \description{Sets the contents of the clipboard to the given UTF-8 string. GTK+ will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format.} \usage{gtkClipboardSetText(object, text, len = -1)} \arguments{ \item{\verb{object}}{a \code{\link{GtkClipboard}} object} \item{\verb{text}}{a UTF-8 string.} \item{\verb{len}}{length of \code{text}, in bytes, or -1, in which case the length will be determined with \code{strlen()}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GDataInputStream.Rd0000644000176000001440000000752212362217677015474 0ustar ripleyusers\alias{GDataInputStream} \alias{gDataInputStream} \alias{GDataStreamByteOrder} \alias{GDataStreamNewlineType} \name{GDataInputStream} \title{GDataInputStream} \description{Data Input Stream} \section{Methods and Functions}{ \code{\link{gDataInputStreamNew}(base.stream = NULL)}\cr \code{\link{gDataInputStreamSetByteOrder}(object, order)}\cr \code{\link{gDataInputStreamGetByteOrder}(object)}\cr \code{\link{gDataInputStreamSetNewlineType}(object, type)}\cr \code{\link{gDataInputStreamGetNewlineType}(object)}\cr \code{\link{gDataInputStreamReadByte}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadInt16}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadUint16}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadInt32}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadUint32}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadInt64}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadUint64}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadLine}(object, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadLineAsync}(object, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDataInputStreamReadLineFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadUntil}(object, stop.chars, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gDataInputStreamReadUntilAsync}(object, stop.chars, io.priority, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gDataInputStreamReadUntilFinish}(object, result, length, .errwarn = TRUE)}\cr \code{gDataInputStream(base.stream = NULL)} } \section{Hierarchy}{\preformatted{ GObject +----GInputStream +----GFilterInputStream +----GBufferedInputStream +----GDataInputStream GEnum +----GDataStreamByteOrder GEnum +----GDataStreamNewlineType }} \section{Detailed Description}{Data input stream implements \code{\link{GInputStream}} and includes functions for reading structured data directly from a binary input stream.} \section{Structures}{\describe{\item{\verb{GDataInputStream}}{ An implementation of \code{\link{GBufferedInputStream}} that allows for high-level data manipulation of arbitrary data (including binary operations). }}} \section{Convenient Construction}{\code{gDataInputStream} is the equivalent of \code{\link{gDataInputStreamNew}}.} \section{Enums and Flags}{\describe{ \item{\verb{GDataStreamByteOrder}}{ \code{\link{GDataStreamByteOrder}} is used to ensure proper endianness of streaming data sources across various machine architectures. \describe{ \item{\verb{big-endian}}{Selects Big Endian byte order.} \item{\verb{little-endian}}{Selects Little Endian byte order.} \item{\verb{host-endian}}{Selects endianness based on host machine's architecture.} } } \item{\verb{GDataStreamNewlineType}}{ \code{\link{GDataStreamNewlineType}} is used when checking for or setting the line endings for a given file. \describe{ \item{\verb{lf}}{Selects "LF" line endings, common on most modern UNIX platforms.} \item{\verb{cr}}{Selects "CR" line endings.} \item{\verb{cr-lf}}{Selects "CR, LF" line ending, common on Microsoft Windows.} \item{\verb{any}}{Automatically try to handle any line ending type.} } } }} \section{Properties}{\describe{ \item{\verb{byte-order} [\code{\link{GDataStreamByteOrder}} : Read / Write]}{ The byte order. Default value: G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN } \item{\verb{newline-type} [\code{\link{GDataStreamNewlineType}} : Read / Write]}{ The accepted types of line ending. Default value: G_DATA_STREAM_NEWLINE_TYPE_LF } }} \references{\url{http://library.gnome.org/devel//gio/GDataInputStream.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogSetWebsite.Rd0000644000176000001440000000104412362217677017210 0ustar ripleyusers\alias{gtkAboutDialogSetWebsite} \name{gtkAboutDialogSetWebsite} \title{gtkAboutDialogSetWebsite} \description{Sets the URL to use for the website link.} \usage{gtkAboutDialogSetWebsite(object, website = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAboutDialog}}} \item{\verb{website}}{a URL string starting with "http://". \emph{[ \acronym{allow-none} ]}} } \details{Note that that the hook functions need to be set up before calling this function. Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoToyFontFaceGetSlant.Rd0000644000176000001440000000064012362217677017153 0ustar ripleyusers\alias{cairoToyFontFaceGetSlant} \name{cairoToyFontFaceGetSlant} \title{cairoToyFontFaceGetSlant} \description{Gets the slant a toy font.} \usage{cairoToyFontFaceGetSlant(font.face)} \arguments{\item{\verb{font.face}}{[\code{\link{CairoFontFace}}] A toy font face}} \details{ Since 1.8} \value{[\code{\link{CairoFontSlant}}] The slant value} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowStick.Rd0000644000176000001440000000142512362217677015267 0ustar ripleyusers\alias{gtkWindowStick} \name{gtkWindowStick} \title{gtkWindowStick} \description{Asks to stick \code{window}, which means that it will appear on all user desktops. Note that you shouldn't assume the window is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the window will end up stuck. Just don't write code that crashes if not.} \usage{gtkWindowStick(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{It's permitted to call this function before showing a window. You can track stickiness via the "window-state-event" signal on \code{\link{GtkWidget}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeGetIconSizes.Rd0000644000176000001440000000121712362217677017163 0ustar ripleyusers\alias{gtkIconThemeGetIconSizes} \name{gtkIconThemeGetIconSizes} \title{gtkIconThemeGetIconSizes} \description{Returns a list of integers describing the sizes at which the icon is available without scaling. A size of -1 means that the icon is available in a scalable format. The list is zero-terminated.} \usage{gtkIconThemeGetIconSizes(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon.name}}{the name of an icon} } \details{Since 2.6} \value{[integer] An newly allocated list describing the sizes at which the icon is available.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextAttributesNew.Rd0000644000176000001440000000056712362217677016475 0ustar ripleyusers\alias{gtkTextAttributesNew} \name{gtkTextAttributesNew} \title{gtkTextAttributesNew} \description{Creates a \code{\link{GtkTextAttributes}}, which describes a set of properties on some text.} \usage{gtkTextAttributesNew()} \value{[\code{\link{GtkTextAttributes}}] a new \code{\link{GtkTextAttributes}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkHandleBox.Rd0000644000176000001440000001214712362217677014631 0ustar ripleyusers\alias{GtkHandleBox} \alias{gtkHandleBox} \name{GtkHandleBox} \title{GtkHandleBox} \description{a widget for detachable window portions} \section{Methods and Functions}{ \code{\link{gtkHandleBoxNew}(show = TRUE)}\cr \code{\link{gtkHandleBoxSetShadowType}(object, type)}\cr \code{\link{gtkHandleBoxSetHandlePosition}(object, position)}\cr \code{\link{gtkHandleBoxSetSnapEdge}(object, edge)}\cr \code{\link{gtkHandleBoxGetHandlePosition}(object)}\cr \code{\link{gtkHandleBoxGetShadowType}(object)}\cr \code{\link{gtkHandleBoxGetSnapEdge}(object)}\cr \code{\link{gtkHandleBoxGetChildDetached}(object)}\cr \code{gtkHandleBox(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkHandleBox}} \section{Interfaces}{GtkHandleBox implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkHandleBox}} widget allows a portion of a window to be "torn off". It is a bin widget which displays its child and a handle that the user can drag to tear off a separate window (the \dfn{float window}) containing the child widget. A thin \dfn{ghost} is drawn in the original location of the handlebox. By dragging the separate window back to its original location, it can be reattached. When reattaching, the ghost and float window, must be aligned along one of the edges, the \dfn{snap edge}. This either can be specified by the application programmer explicitely, or GTK+ will pick a reasonable default based on the handle position. To make detaching and reattaching the handlebox as minimally confusing as possible to the user, it is important to set the snap edge so that the snap edge does not move when the handlebox is deattached. For instance, if the handlebox is packed at the bottom of a VBox, then when the handlebox is detached, the bottom edge of the handlebox's allocation will remain fixed as the height of the handlebox shrinks, so the snap edge should be set to \code{GTK_POS_BOTTOM}.} \section{Structures}{\describe{\item{\verb{GtkHandleBox}}{ The \code{\link{GtkHandleBox}} struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.) \tabular{ll}{ GtkShadowType shadow_type; \tab The shadow type for the entry. (See \code{\link{gtkHandleBoxSetShadowType}} ). \cr GtkPositionType handle_position; \tab The position of the handlebox's handle with respect to the child. (See \code{\link{gtkHandleBoxSetHandlePosition}} ) \cr gint snap_edge; \tab A value of type \verb{GtkPosition} type indicating snap edge for the widget. (See gtk_handle_box_set_snap_edge). The value of -1 indicates that this value has not been set. \cr \verb{logical} child_detached; \tab A boolean value indicating whether the handlebox's child is attached or detached. \cr } }}} \section{Convenient Construction}{\code{gtkHandleBox} is the equivalent of \code{\link{gtkHandleBoxNew}}.} \section{Signals}{\describe{ \item{\code{child-attached(handlebox, widget, user.data)}}{ This signal is emitted when the contents of the handlebox are reattached to the main window. \describe{ \item{\code{handlebox}}{the object which received the signal.} \item{\code{widget}}{the child widget of the handlebox. (this argument provides no extra information and is here only for backwards-compatibility)} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{child-detached(handlebox, widget, user.data)}}{ This signal is emitted when the contents of the handlebox are detached from the main window. \describe{ \item{\code{handlebox}}{the object which received the signal.} \item{\code{widget}}{the child widget of the handlebox. (this argument provides no extra information and is here only for backwards-compatibility)} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{child-detached} [logical : Read]}{ A boolean value indicating whether the handlebox's child is attached or detached. Default value: FALSE } \item{\verb{handle-position} [\code{\link{GtkPositionType}} : Read / Write]}{ Position of the handle relative to the child widget. Default value: GTK_POS_LEFT } \item{\verb{shadow} [\code{\link{GtkShadowType}} : Read / Write]}{ Deprecated property, use shadow_type instead. Default value: GTK_SHADOW_OUT } \item{\verb{shadow-type} [\code{\link{GtkShadowType}} : Read / Write]}{ Appearance of the shadow that surrounds the container. Default value: GTK_SHADOW_OUT } \item{\verb{snap-edge} [\code{\link{GtkPositionType}} : Read / Write]}{ Side of the handlebox that's lined up with the docking point to dock the handlebox. Default value: GTK_POS_TOP } \item{\verb{snap-edge-set} [logical : Read / Write]}{ Whether to use the value from the snap_edge property or a value derived from handle_position. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkHandleBox.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferGetStartIter.Rd0000644000176000001440000000106312362217677017400 0ustar ripleyusers\alias{gtkTextBufferGetStartIter} \name{gtkTextBufferGetStartIter} \title{gtkTextBufferGetStartIter} \description{Initialized \code{iter} with the first position in the text buffer. This is the same as using \code{\link{gtkTextBufferGetIterAtOffset}} to get the iter at character offset 0.} \usage{gtkTextBufferGetStartIter(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextBuffer}}}} \value{ A list containing the following elements: \item{\verb{iter}}{iterator to initialize} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuItemNewWithLabel.Rd0000644000176000001440000000067712362217677017023 0ustar ripleyusers\alias{gtkMenuItemNewWithLabel} \name{gtkMenuItemNewWithLabel} \title{gtkMenuItemNewWithLabel} \description{Creates a new \code{\link{GtkMenuItem}} whose child is a \code{\link{GtkLabel}}.} \usage{gtkMenuItemNewWithLabel(label, show = TRUE)} \arguments{\item{\verb{label}}{the text for the label}} \value{[\code{\link{GtkWidget}}] the newly created \code{\link{GtkMenuItem}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertInteractive.Rd0000644000176000001440000000176412362217677020471 0ustar ripleyusers\alias{gtkTextBufferInsertInteractive} \name{gtkTextBufferInsertInteractive} \title{gtkTextBufferInsertInteractive} \description{Like \code{\link{gtkTextBufferInsert}}, but the insertion will not occur if \code{iter} is at a non-editable location in the buffer. Usually you want to prevent insertions at ineditable locations if the insertion results from a user action (is interactive).} \usage{gtkTextBufferInsertInteractive(object, iter, text, default.editable)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{a position in \code{buffer}} \item{\verb{text}}{some UTF-8 text} \item{\verb{default.editable}}{default editability of buffer} } \details{\code{default.editable} indicates the editability of text that doesn't have a tag affecting editability applied to it. Typically the result of \code{\link{gtkTextViewGetEditable}} is appropriate here.} \value{[logical] whether text was actually inserted} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerClose.Rd0000644000176000001440000000051712362217677016410 0ustar ripleyusers\alias{gSocketListenerClose} \name{gSocketListenerClose} \title{gSocketListenerClose} \description{Closes all the sockets in the listener.} \usage{gSocketListenerClose(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketListener}}}} \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestSpinButtonClick.Rd0000644000176000001440000000142212362217677016732 0ustar ripleyusers\alias{gtkTestSpinButtonClick} \name{gtkTestSpinButtonClick} \title{gtkTestSpinButtonClick} \description{This function will generate a \code{button} click in the upwards or downwards spin button arrow areas, usually leading to an increase or decrease of spin button's value.} \usage{gtkTestSpinButtonClick(spinner, button, upwards)} \arguments{ \item{\verb{spinner}}{valid GtkSpinButton widget.} \item{\verb{button}}{Number of the pointer button for the event, usually 1, 2 or 3.} \item{\verb{upwards}}{\code{TRUE} for upwards arrow click, \code{FALSE} for downwards arrow click.} } \details{Since 2.14} \value{[logical] wether all actions neccessary for the button click simulation were carried out successfully.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragDestGetTargetList.Rd0000644000176000001440000000070112362217677017156 0ustar ripleyusers\alias{gtkDragDestGetTargetList} \name{gtkDragDestGetTargetList} \title{gtkDragDestGetTargetList} \description{Returns the list of targets this widget can accept from drag-and-drop.} \usage{gtkDragDestGetTargetList(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \value{[\code{\link{GtkTargetList}}] the \code{\link{GtkTargetList}}, or \code{NULL} if none} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetSortColumnId.Rd0000644000176000001440000000110012362217677020677 0ustar ripleyusers\alias{gtkTreeViewColumnSetSortColumnId} \name{gtkTreeViewColumnSetSortColumnId} \title{gtkTreeViewColumnSetSortColumnId} \description{Sets the logical \code{sort.column.id} that this column sorts on when this column is selected for sorting. Doing so makes the column header clickable.} \usage{gtkTreeViewColumnSetSortColumnId(object, sort.column.id)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeViewColumn}}} \item{\verb{sort.column.id}}{The \code{sort.column.id} of the model to sort on.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioActionGetGroup.Rd0000644000176000001440000000140412362217677016670 0ustar ripleyusers\alias{gtkRadioActionGetGroup} \name{gtkRadioActionGetGroup} \title{gtkRadioActionGetGroup} \description{Returns the list representing the radio group for this object. Note that the returned list is only valid until the next change to the group. } \usage{gtkRadioActionGetGroup(object)} \arguments{\item{\verb{object}}{the action object}} \details{A common way to set up a group of radio group is the following: \preformatted{ while (more_actions) { action <- gtkRadioAction(...) action$setGroup(group) group <- action$getGroup() } } Since 2.4} \value{[list] the list representing the radio group for this object. \emph{[ \acronym{element-type} GtkAction][ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileQueryFilesystemInfoAsync.Rd0000644000176000001440000000233412362217677020247 0ustar ripleyusers\alias{gFileQueryFilesystemInfoAsync} \name{gFileQueryFilesystemInfoAsync} \title{gFileQueryFilesystemInfoAsync} \description{Asynchronously gets the requested information about the filesystem that the specified \code{file} is on. The result is a \code{\link{GFileInfo}} object that contains key-value attributes (such as type or size for the file).} \usage{gFileQueryFilesystemInfoAsync(object, attributes, io.priority, cancellable, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attributes}}{an attribute query string.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileQueryFilesystemInfo}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileQueryInfoFinish}} to get the result of the operation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationGetWidth.Rd0000644000176000001440000000062312362217677017536 0ustar ripleyusers\alias{gdkPixbufAnimationGetWidth} \name{gdkPixbufAnimationGetWidth} \title{gdkPixbufAnimationGetWidth} \description{Queries the width of the bounding box of a pixbuf animation.} \usage{gdkPixbufAnimationGetWidth(object)} \arguments{\item{\verb{object}}{An animation.}} \value{[integer] Width of the bounding box of the animation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketListenerSetBacklog.Rd0000644000176000001440000000074612362217677017365 0ustar ripleyusers\alias{gSocketListenerSetBacklog} \name{gSocketListenerSetBacklog} \title{gSocketListenerSetBacklog} \description{Sets the listen backlog on the sockets in the listener.} \usage{gSocketListenerSetBacklog(object, listen.backlog)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketListener}}} \item{\verb{listen.backlog}}{an integer} } \details{See \code{\link{gSocketSetListenBacklog}} for details Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToggleActionToggled.Rd0000644000176000001440000000052112362217677016703 0ustar ripleyusers\alias{gtkToggleActionToggled} \name{gtkToggleActionToggled} \title{gtkToggleActionToggled} \description{Emits the "toggled" signal on the toggle action.} \usage{gtkToggleActionToggled(object)} \arguments{\item{\verb{object}}{the action object}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInfoBarNewWithButtons.Rd0000644000176000001440000000200412362217677017221 0ustar ripleyusers\alias{gtkInfoBarNewWithButtons} \name{gtkInfoBarNewWithButtons} \title{gtkInfoBarNewWithButtons} \description{Creates a new \code{\link{GtkInfoBar}} with buttons. Button text/response ID pairs should be listed, with a \code{NULL} pointer ending the list. Button text can be either a stock ID such as \code{GTK_STOCK_OK}, or some arbitrary text. A response ID can be any positive number, or one of the values in the \code{\link{GtkResponseType}} enumeration. If the user clicks one of these dialog buttons, GtkInfoBar will emit the "response" signal with the corresponding response ID.} \usage{gtkInfoBarNewWithButtons(first.button.text, ..., show = TRUE)} \arguments{ \item{\verb{first.button.text}}{stock ID or text to go in first button, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{...}}{response ID for first button, then additional buttons, ending with \code{NULL}} } \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkInfoBar}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerResizeChildren.Rd0000644000176000001440000000046412362217677017601 0ustar ripleyusers\alias{gtkContainerResizeChildren} \name{gtkContainerResizeChildren} \title{gtkContainerResizeChildren} \description{\emph{undocumented }} \usage{gtkContainerResizeChildren(object)} \arguments{\item{\verb{object}}{\emph{undocumented }}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetDebugUpdates.Rd0000644000176000001440000000252112362217677017220 0ustar ripleyusers\alias{gdkWindowSetDebugUpdates} \name{gdkWindowSetDebugUpdates} \title{gdkWindowSetDebugUpdates} \description{With update debugging enabled, calls to \code{\link{gdkWindowInvalidateRegion}} clear the invalidated region of the screen to a noticeable color, and GDK pauses for a short time before sending exposes to windows during \code{\link{gdkWindowProcessUpdates}}. The net effect is that you can see the invalid region for each window and watch redraws as they occur. This allows you to diagnose inefficiencies in your application.} \usage{gdkWindowSetDebugUpdates(setting)} \arguments{\item{\verb{setting}}{\code{TRUE} to turn on update debugging}} \details{In essence, because the GDK rendering model prevents all flicker, if you are redrawing the same region 400 times you may never notice, aside from noticing a speed problem. Enabling update debugging causes GTK to flicker slowly and noticeably, so you can see exactly what's being redrawn when, in what order. The --gtk-debug=updates command line option passed to GTK+ programs enables this debug option at application startup time. That's usually more useful than calling \code{\link{gdkWindowSetDebugUpdates}} yourself, though you might want to use this function to enable updates sometime after application startup time.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceFinish.Rd0000644000176000001440000000203612362217677016062 0ustar ripleyusers\alias{cairoSurfaceFinish} \name{cairoSurfaceFinish} \title{cairoSurfaceFinish} \description{This function finishes the surface and drops all references to external resources. For example, for the Xlib backend it means that cairo will no longer access the drawable, which can be freed. After calling \code{\link{cairoSurfaceFinish}} the only valid operations on a surface are getting and setting user, referencing and destroying, and flushing and finishing it. Further drawing to the surface will not affect the surface but will instead trigger a \code{CAIRO_STATUS_SURFACE_FINISHED} error.} \usage{cairoSurfaceFinish(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] the \code{\link{CairoSurface}} to finish}} \details{When the last call to \code{\link{cairoSurfaceDestroy}} decreases the reference count to zero, cairo will call \code{\link{cairoSurfaceFinish}} if it hasn't been called already, before freeing the resources associated with the surface. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutSetFontDescription.Rd0000644000176000001440000000122712362217677020325 0ustar ripleyusers\alias{pangoLayoutSetFontDescription} \name{pangoLayoutSetFontDescription} \title{pangoLayoutSetFontDescription} \description{Sets the default font description for the layout. If no font description is set on the layout, the font description from the layout's context is used.} \usage{pangoLayoutSetFontDescription(object, desc = NULL)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] the new \code{\link{PangoFontDescription}}, or \code{NULL} to unset the current font description} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIndexToLineX.Rd0000644000176000001440000000213512362217677017050 0ustar ripleyusers\alias{pangoLayoutIndexToLineX} \name{pangoLayoutIndexToLineX} \title{pangoLayoutIndexToLineX} \description{Converts from byte \code{index.} within the \code{layout} to line and X position. (X position is measured from the left edge of the line)} \usage{pangoLayoutIndexToLineX(object, index., trailing)} \arguments{ \item{\verb{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\verb{index.}}{[integer] the byte index of a grapheme within the layout.} \item{\verb{trailing}}{[logical] an integer indicating the edge of the grapheme to retrieve the position of. If 0, the trailing edge of the grapheme, if > 0, the leading of the grapheme.} } \value{ A list containing the following elements: \item{\verb{line}}{[integer] location to store resulting line index. (which will between 0 and pango_layout_get_line_count(layout) - 1)} \item{\verb{x.pos}}{[integer] location to store resulting position within line (\code{PANGO_SCALE} units per device unit)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTargetListRemove.Rd0000644000176000001440000000057312362217677016265 0ustar ripleyusers\alias{gtkTargetListRemove} \name{gtkTargetListRemove} \title{gtkTargetListRemove} \description{Removes a target from a target list.} \usage{gtkTargetListRemove(object, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTargetList}}} \item{\verb{target}}{the interned atom representing the target} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gNetworkAddressGetPort.Rd0000644000176000001440000000060412362217677016725 0ustar ripleyusers\alias{gNetworkAddressGetPort} \name{gNetworkAddressGetPort} \title{gNetworkAddressGetPort} \description{Gets \code{addr}'s port number} \usage{gNetworkAddressGetPort(object)} \arguments{\item{\verb{object}}{a \code{\link{GNetworkAddress}}}} \details{Since 2.22} \value{[integer] \code{addr}'s port (which may be 0)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplaySupportsShapes.Rd0000644000176000001440000000074712362217677017341 0ustar ripleyusers\alias{gdkDisplaySupportsShapes} \name{gdkDisplaySupportsShapes} \title{gdkDisplaySupportsShapes} \description{Returns \code{TRUE} if \code{\link{gdkWindowShapeCombineMask}} can be used to create shaped windows on \code{display}.} \usage{gdkDisplaySupportsShapes(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if shaped windows are supported} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetFocus.Rd0000644000176000001440000000121612362217677015727 0ustar ripleyusers\alias{gtkWindowGetFocus} \name{gtkWindowGetFocus} \title{gtkWindowGetFocus} \description{Retrieves the current focused widget within the window. Note that this is the widget that would have the focus if the toplevel window focused; if the toplevel window is not focused then \code{gtk_widget_has_focus (widget)} will not be \code{TRUE} for the widget.} \usage{gtkWindowGetFocus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \value{[\code{\link{GtkWidget}}] the currently focused widget, or \code{NULL} if there is none. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewPlaceCursorOnscreen.Rd0000644000176000001440000000071612362217677020443 0ustar ripleyusers\alias{gtkTextViewPlaceCursorOnscreen} \name{gtkTextViewPlaceCursorOnscreen} \title{gtkTextViewPlaceCursorOnscreen} \description{Moves the cursor to the currently visible region of the buffer, it it isn't there already.} \usage{gtkTextViewPlaceCursorOnscreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[logical] \code{TRUE} if the cursor had to be moved.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawShadow.Rd0000644000176000001440000000156512362217677015072 0ustar ripleyusers\alias{gtkDrawShadow} \name{gtkDrawShadow} \title{gtkDrawShadow} \description{ Draws a shadow around the given rectangle in \code{window} using the given style and state and shadow type. \strong{WARNING: \code{gtk_draw_shadow} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintShadow}} instead.} } \usage{gtkDrawShadow(object, window, state.type, shadow.type, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{type of shadow to draw} \item{\verb{x}}{x origin of the rectangle} \item{\verb{y}}{y origin of the rectangle} \item{\verb{width}}{width of the rectangle} \item{\verb{height}}{width of the rectangle} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GdkEvent.Rd0000644000176000001440000000163211766145227014021 0ustar ripleyusers\name{GdkEvent} \alias{GdkEvent} \title{The GdkEvent Framework} \description{A \code{GdkEvent} represents a hardware-level event in \code{\link{GDK}}.} \details{ In RGtk2, R objects corresponding to \code{GdkEvent}s inherit from the \emph{GdkEvent} class. A \code{GdkEvent} is \emph{not} a \code{GObject}, but there are many specific event types that extend from the \emph{GdkEvent} base S3 class. Specific event fields may be accessed in the same way as the fields of any external object in RGtk2 (via the \code{[[} operator). } \note{ While functions exist to create \code{GdkEvent}s, there is currently no way in RGtk2 to set the event fields, so the functions are useless. If the user has some strange motivation to create hardware events in R, please contact the author. } \author{Michael Lawrence} \seealso{ \code{\link{gdk-Event-Structures}} \code{\link{gdk-Events}} } \keyword{interface} \keyword{internal} RGtk2/man/gdkEventGetState.Rd0000644000176000001440000000127512362217677015527 0ustar ripleyusers\alias{gdkEventGetState} \name{gdkEventGetState} \title{gdkEventGetState} \description{If the event contains a "state" field, puts that field in \code{state}. Otherwise stores an empty state (0). Returns \code{TRUE} if there was a state field in the event. \code{event} may be \code{NULL}, in which case it's treated as if the event had no state field.} \usage{gdkEventGetState(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}} or NULL}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if there was a state field in the event} \item{\verb{state}}{return location for state} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientGetProtocol.Rd0000644000176000001440000000075112362217677017235 0ustar ripleyusers\alias{gSocketClientGetProtocol} \name{gSocketClientGetProtocol} \title{gSocketClientGetProtocol} \description{Gets the protocol name type of the socket client.} \usage{gSocketClientGetProtocol(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocketClient}}}} \details{See \code{\link{gSocketClientSetProtocol}} for details. Since 2.22} \value{[\code{\link{GSocketProtocol}}] a \code{\link{GSocketProtocol}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMainQuit.Rd0000644000176000001440000000036612362217677014554 0ustar ripleyusers\alias{gtkMainQuit} \name{gtkMainQuit} \title{gtkMainQuit} \description{Makes the innermost invocation of the main loop return when it regains control.} \usage{gtkMainQuit()} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSeekableTruncate.Rd0000644000176000001440000000233112362217677015701 0ustar ripleyusers\alias{gSeekableTruncate} \name{gSeekableTruncate} \title{gSeekableTruncate} \description{Truncates a stream with a given \verb{offset}. } \usage{gSeekableTruncate(object, offset, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSeekable}}.} \item{\verb{offset}}{a \verb{numeric}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if successful. If an error has occurred, this function will return \code{FALSE} and set \code{error} appropriately if present.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAcceleratorGetDefaultModMask.Rd0000644000176000001440000000056312362217677020471 0ustar ripleyusers\alias{gtkAcceleratorGetDefaultModMask} \name{gtkAcceleratorGetDefaultModMask} \title{gtkAcceleratorGetDefaultModMask} \description{Gets the value set by \code{\link{gtkAcceleratorSetDefaultModMask}}.} \usage{gtkAcceleratorGetDefaultModMask()} \value{[numeric] the default accelerator modifier mask} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAddAlpha.Rd0000644000176000001440000000217312362217677015617 0ustar ripleyusers\alias{gdkPixbufAddAlpha} \name{gdkPixbufAddAlpha} \title{gdkPixbufAddAlpha} \description{Takes an existing pixbuf and adds an alpha channel to it. If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity).} \usage{gdkPixbufAddAlpha(object, substitute.color, r, g, b)} \arguments{ \item{\verb{object}}{A \code{\link{GdkPixbuf}}.} \item{\verb{substitute.color}}{Whether to set a color to zero opacity. If this is \code{FALSE}, then the (\code{r}, \code{g}, \code{b}) arguments will be ignored.} \item{\verb{r}}{Red value to substitute.} \item{\verb{g}}{Green value to substitute.} \item{\verb{b}}{Blue value to substitute.} } \details{If \code{substitute.color} is \code{TRUE}, then the color specified by (\code{r}, \code{g}, \code{b}) will be assigned zero opacity. That is, if you pass (255, 255, 255) for the substitute color, all white pixels will become fully transparent.} \value{[\code{\link{GdkPixbuf}}] A newly-created pixbuf with a reference count of 1.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHasGrab.Rd0000644000176000001440000000100112362217677015463 0ustar ripleyusers\alias{gtkWidgetHasGrab} \name{gtkWidgetHasGrab} \title{gtkWidgetHasGrab} \description{Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).} \usage{gtkWidgetHasGrab(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{See also \code{\link{gtkGrabAdd}}. Since 2.18} \value{[logical] \code{TRUE} if the widget is in the grab_widgets stack} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorAlloc.Rd0000644000176000001440000000116212362217677015031 0ustar ripleyusers\alias{gdkColorAlloc} \name{gdkColorAlloc} \title{gdkColorAlloc} \description{ Allocates a single color from a colormap. \strong{WARNING: \code{gdk_color_alloc} has been deprecated since version 2.2 and should not be used in newly-written code. Use \code{\link{gdkColormapAllocColor}} instead.} } \usage{gdkColorAlloc(object, color)} \arguments{ \item{\verb{object}}{a \code{\link{GdkColormap}}.} \item{\verb{color}}{The color to allocate. On return, the \code{pixel} field will be filled in.} } \value{[integer] \code{TRUE} if the allocation succeeded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVButtonBoxSetLayoutDefault.Rd0000644000176000001440000000076512362217677020261 0ustar ripleyusers\alias{gtkVButtonBoxSetLayoutDefault} \name{gtkVButtonBoxSetLayoutDefault} \title{gtkVButtonBoxSetLayoutDefault} \description{ Sets a new layout mode that will be used by all button boxes. \strong{WARNING: \code{gtk_vbutton_box_set_layout_default} is deprecated and should not be used in newly-written code.} } \usage{gtkVButtonBoxSetLayoutDefault(layout)} \arguments{\item{\verb{layout}}{a new \code{\link{GtkButtonBoxStyle}}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenHeightMm.Rd0000644000176000001440000000062712362217677015647 0ustar ripleyusers\alias{gdkScreenHeightMm} \name{gdkScreenHeightMm} \title{gdkScreenHeightMm} \description{Returns the height of the default screen in millimeters. Note that on many X servers this value will not be correct.} \usage{gdkScreenHeightMm()} \value{[integer] the height of the default screen in millimeters, though it is not always correct.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetPrinterLpi.Rd0000644000176000001440000000067612362217677020317 0ustar ripleyusers\alias{gtkPrintSettingsGetPrinterLpi} \name{gtkPrintSettingsGetPrinterLpi} \title{gtkPrintSettingsGetPrinterLpi} \description{Gets the value of \code{GTK_PRINT_SETTINGS_PRINTER_LPI}.} \usage{gtkPrintSettingsGetPrinterLpi(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.16} \value{[numeric] the resolution in lpi (lines per inch)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetTitle.Rd0000644000176000001440000000101412362217677016566 0ustar ripleyusers\alias{gtkStatusIconSetTitle} \name{gtkStatusIconSetTitle} \title{gtkStatusIconSetTitle} \description{Sets the title of this tray icon. This should be a short, human-readable, localized string describing the tray icon. It may be used by tools like screen readers to render the tray icon.} \usage{gtkStatusIconSetTitle(object, title)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{title}}{the title} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GResolver.Rd0000644000176000001440000000463712362217677014234 0ustar ripleyusers\alias{GResolver} \name{GResolver} \title{GResolver} \description{Asynchronous and cancellable DNS resolver} \section{Methods and Functions}{ \code{\link{gResolverGetDefault}()}\cr \code{\link{gResolverSetDefault}(object)}\cr \code{\link{gResolverLookupByName}(object, hostname, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gResolverLookupByNameAsync}(object, hostname, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gResolverLookupByNameFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gResolverFreeAddresses}(addresses)}\cr \code{\link{gResolverLookupByAddress}(object, address, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gResolverLookupByAddressAsync}(object, address, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gResolverLookupByAddressFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gResolverLookupService}(object, service, protocol, domain, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gResolverLookupServiceAsync}(object, service, protocol, domain, cancellable = NULL, callback, user.data = NULL)}\cr \code{\link{gResolverLookupServiceFinish}(object, result, .errwarn = TRUE)}\cr \code{\link{gResolverFreeTargets}(targets)}\cr } \section{Hierarchy}{\preformatted{ GObject +----GResolver GEnum +----GResolverError }} \section{Detailed Description}{\code{\link{GResolver}} provides cancellable synchronous and asynchronous DNS resolution, for hostnames (\code{\link{gResolverLookupByAddress}}, \code{\link{gResolverLookupByName}} and their async variants) and SRV (service) records (\code{\link{gResolverLookupService}}). \code{\link{GNetworkAddress}} and \code{\link{GNetworkService}} provide wrappers around \code{\link{GResolver}} functionality that also implement \code{\link{GSocketConnectable}}, making it easy to connect to a remote host/service.} \section{Structures}{\describe{\item{\verb{GResolver}}{ The object that handles DNS resolution. Use \code{\link{gResolverGetDefault}} to get the default resolver. }}} \section{Signals}{\describe{\item{\code{reload(resolver, user.data)}}{ Emitted when the resolver notices that the system resolver configuration has changed. \describe{ \item{\code{resolver}}{a \code{\link{GResolver}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gio/GResolver.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkScreenGetDefaultColormap.Rd0000644000176000001440000000073112362217677017662 0ustar ripleyusers\alias{gdkScreenGetDefaultColormap} \name{gdkScreenGetDefaultColormap} \title{gdkScreenGetDefaultColormap} \description{Gets the default colormap for \code{screen}.} \usage{gdkScreenGetDefaultColormap(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkScreen}}}} \details{Since 2.2} \value{[\code{\link{GdkColormap}}] the default \code{\link{GdkColormap}}. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconFromIconName.Rd0000644000176000001440000000136212362217677017646 0ustar ripleyusers\alias{gtkEntrySetIconFromIconName} \name{gtkEntrySetIconFromIconName} \title{gtkEntrySetIconFromIconName} \description{Sets the icon shown in the entry at the specified position from the current icon theme.} \usage{gtkEntrySetIconFromIconName(object, icon.pos, icon.name = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{The position at which to set the icon} \item{\verb{icon.name}}{An icon name, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If the icon name isn't known, a "broken image" icon will be displayed instead. If \code{icon.name} is \code{NULL}, no icon will be shown in the specified position. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupSetTranslateFunc.Rd0000644000176000001440000000140412362217677020417 0ustar ripleyusers\alias{gtkActionGroupSetTranslateFunc} \name{gtkActionGroupSetTranslateFunc} \title{gtkActionGroupSetTranslateFunc} \description{Sets a function to be used for translating the \code{label} and \code{tooltip} of \verb{GtkActionGroupEntry}s added by \code{\link{gtkActionGroupAddActions}}.} \usage{gtkActionGroupSetTranslateFunc(object, func, data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActionGroup}}} \item{\verb{func}}{a \code{\link{GtkTranslateFunc}}} \item{\verb{data}}{data to be passed to \code{func} and \code{notify}} } \details{If you're using \code{gettext()}, it is enough to set the translation domain with \code{\link{gtkActionGroupSetTranslationDomain}}. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActivatableSetRelatedAction.Rd0000644000176000001440000000146712362217677020362 0ustar ripleyusers\alias{gtkActivatableSetRelatedAction} \name{gtkActivatableSetRelatedAction} \title{gtkActivatableSetRelatedAction} \description{Sets the related action on the \code{activatable} object.} \usage{gtkActivatableSetRelatedAction(object, action)} \arguments{ \item{\verb{object}}{a \code{\link{GtkActivatable}}} \item{\verb{action}}{the \code{\link{GtkAction}} to set} } \details{\strong{PLEASE NOTE:} \code{\link{GtkActivatable}} implementors need to handle the \verb{"related-action"} property and call \code{\link{gtkActivatableDoSetRelatedAction}} when it changes. Since 2.16} \note{\code{\link{GtkActivatable}} implementors need to handle the \verb{"related-action"} property and call \code{\link{gtkActivatableDoSetRelatedAction}} when it changes.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetApproximateDigitWidth.Rd0000644000176000001440000000146112362217677022431 0ustar ripleyusers\alias{pangoFontMetricsGetApproximateDigitWidth} \name{pangoFontMetricsGetApproximateDigitWidth} \title{pangoFontMetricsGetApproximateDigitWidth} \description{Gets the approximate digit width for a font metrics structure. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider or narrower than this, though this value is generally somewhat more accurate than the result of \code{\link{pangoFontMetricsGetApproximateCharWidth}} for digits.} \usage{pangoFontMetricsGetApproximateDigitWidth(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \value{[integer] the digit width, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkBitmapCreateFromData.Rd0000644000176000001440000000130212362217677016752 0ustar ripleyusers\alias{gdkBitmapCreateFromData} \name{gdkBitmapCreateFromData} \title{gdkBitmapCreateFromData} \description{Creates a new bitmap from data in XBM format.} \usage{gdkBitmapCreateFromData(drawable = NULL, data, width, height)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap. Can be \code{NULL}, in which case the root window is used.} \item{\verb{data}}{a pointer to the XBM data.} \item{\verb{width}}{the width of the new pixmap in pixels.} \item{\verb{height}}{the height of the new pixmap in pixels.} } \value{[\code{\link{GdkBitmap}}] the \code{\link{GdkBitmap}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTextIter.Rd0000644000176000001440000001360712362217677014537 0ustar ripleyusers\alias{GtkTextIter} \alias{GtkTextCharPredicate} \alias{GtkTextSearchFlags} \name{GtkTextIter} \title{GtkTextIter} \description{Text buffer iterator} \section{Methods and Functions}{ \code{\link{gtkTextIterGetBuffer}(object)}\cr \code{\link{gtkTextIterCopy}(object)}\cr \code{\link{gtkTextIterGetOffset}(object)}\cr \code{\link{gtkTextIterGetLine}(object)}\cr \code{\link{gtkTextIterGetLineOffset}(object)}\cr \code{\link{gtkTextIterGetLineIndex}(object)}\cr \code{\link{gtkTextIterGetVisibleLineIndex}(object)}\cr \code{\link{gtkTextIterGetVisibleLineOffset}(object)}\cr \code{\link{gtkTextIterGetChar}(object)}\cr \code{\link{gtkTextIterGetSlice}(object, end)}\cr \code{\link{gtkTextIterGetText}(object, end)}\cr \code{\link{gtkTextIterGetVisibleSlice}(object, end)}\cr \code{\link{gtkTextIterGetVisibleText}(object, end)}\cr \code{\link{gtkTextIterGetPixbuf}(object)}\cr \code{\link{gtkTextIterGetMarks}(object)}\cr \code{\link{gtkTextIterGetToggledTags}(object, toggled.on)}\cr \code{\link{gtkTextIterGetChildAnchor}(object)}\cr \code{\link{gtkTextIterBeginsTag}(object, tag = NULL)}\cr \code{\link{gtkTextIterEndsTag}(object, tag = NULL)}\cr \code{\link{gtkTextIterTogglesTag}(object, tag = NULL)}\cr \code{\link{gtkTextIterHasTag}(object, tag)}\cr \code{\link{gtkTextIterGetTags}(object)}\cr \code{\link{gtkTextIterEditable}(object, default.setting)}\cr \code{\link{gtkTextIterCanInsert}(object, default.editability)}\cr \code{\link{gtkTextIterStartsWord}(object)}\cr \code{\link{gtkTextIterEndsWord}(object)}\cr \code{\link{gtkTextIterInsideWord}(object)}\cr \code{\link{gtkTextIterStartsLine}(object)}\cr \code{\link{gtkTextIterEndsLine}(object)}\cr \code{\link{gtkTextIterStartsSentence}(object)}\cr \code{\link{gtkTextIterEndsSentence}(object)}\cr \code{\link{gtkTextIterInsideSentence}(object)}\cr \code{\link{gtkTextIterIsCursorPosition}(object)}\cr \code{\link{gtkTextIterGetCharsInLine}(object)}\cr \code{\link{gtkTextIterGetBytesInLine}(object)}\cr \code{\link{gtkTextIterGetAttributes}(object, values)}\cr \code{\link{gtkTextIterGetLanguage}(object)}\cr \code{\link{gtkTextIterIsEnd}(object)}\cr \code{\link{gtkTextIterIsStart}(object)}\cr \code{\link{gtkTextIterForwardChar}(object)}\cr \code{\link{gtkTextIterBackwardChar}(object)}\cr \code{\link{gtkTextIterForwardChars}(object, count)}\cr \code{\link{gtkTextIterBackwardChars}(object, count)}\cr \code{\link{gtkTextIterForwardLine}(object)}\cr \code{\link{gtkTextIterBackwardLine}(object)}\cr \code{\link{gtkTextIterForwardLines}(object, count)}\cr \code{\link{gtkTextIterBackwardLines}(object, count)}\cr \code{\link{gtkTextIterForwardWordEnds}(object, count)}\cr \code{\link{gtkTextIterBackwardWordStarts}(object, count)}\cr \code{\link{gtkTextIterForwardWordEnd}(object)}\cr \code{\link{gtkTextIterBackwardWordStart}(object)}\cr \code{\link{gtkTextIterForwardCursorPosition}(object)}\cr \code{\link{gtkTextIterBackwardCursorPosition}(object)}\cr \code{\link{gtkTextIterForwardCursorPositions}(object, count)}\cr \code{\link{gtkTextIterBackwardCursorPositions}(object, count)}\cr \code{\link{gtkTextIterBackwardSentenceStart}(object)}\cr \code{\link{gtkTextIterBackwardSentenceStarts}(object, count)}\cr \code{\link{gtkTextIterForwardSentenceEnd}(object)}\cr \code{\link{gtkTextIterForwardSentenceEnds}(object, count)}\cr \code{\link{gtkTextIterForwardVisibleWordEnds}(object, count)}\cr \code{\link{gtkTextIterBackwardVisibleWordStarts}(object, count)}\cr \code{\link{gtkTextIterForwardVisibleWordEnd}(object)}\cr \code{\link{gtkTextIterBackwardVisibleWordStart}(object)}\cr \code{\link{gtkTextIterForwardVisibleCursorPosition}(object)}\cr \code{\link{gtkTextIterBackwardVisibleCursorPosition}(object)}\cr \code{\link{gtkTextIterForwardVisibleCursorPositions}(object, count)}\cr \code{\link{gtkTextIterBackwardVisibleCursorPositions}(object, count)}\cr \code{\link{gtkTextIterForwardVisibleLine}(object)}\cr \code{\link{gtkTextIterBackwardVisibleLine}(object)}\cr \code{\link{gtkTextIterForwardVisibleLines}(object, count)}\cr \code{\link{gtkTextIterBackwardVisibleLines}(object, count)}\cr \code{\link{gtkTextIterSetOffset}(object, char.offset)}\cr \code{\link{gtkTextIterSetLine}(object, line.number)}\cr \code{\link{gtkTextIterSetLineOffset}(object, char.on.line)}\cr \code{\link{gtkTextIterSetLineIndex}(object, byte.on.line)}\cr \code{\link{gtkTextIterSetVisibleLineIndex}(object, byte.on.line)}\cr \code{\link{gtkTextIterSetVisibleLineOffset}(object, char.on.line)}\cr \code{\link{gtkTextIterForwardToEnd}(object)}\cr \code{\link{gtkTextIterForwardToLineEnd}(object)}\cr \code{\link{gtkTextIterForwardToTagToggle}(object, tag = NULL)}\cr \code{\link{gtkTextIterBackwardToTagToggle}(object, tag = NULL)}\cr \code{\link{gtkTextIterForwardFindChar}(object, pred, user.data = NULL, limit)}\cr \code{\link{gtkTextIterBackwardFindChar}(object, pred, user.data = NULL, limit)}\cr \code{\link{gtkTextIterForwardSearch}(object, str, flags, limit = NULL)}\cr \code{\link{gtkTextIterBackwardSearch}(object, str, flags, limit = NULL)}\cr \code{\link{gtkTextIterEqual}(object, rhs)}\cr \code{\link{gtkTextIterCompare}(object, rhs)}\cr \code{\link{gtkTextIterInRange}(object, start, end)}\cr \code{\link{gtkTextIterOrder}(object, second)}\cr } \section{Hierarchy}{\preformatted{GBoxed +----GtkTextIter}} \section{Detailed Description}{You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. } \section{Structures}{\describe{\item{\verb{GtkTextIter}}{ \emph{undocumented } }}} \section{Enums and Flags}{\describe{\item{\verb{GtkTextSearchFlags}}{ \emph{undocumented } \describe{ \item{\verb{visible-only}}{\emph{undocumented }} \item{\verb{text-only}}{\emph{undocumented }} } }}} \section{User Functions}{\describe{\item{\code{GtkTextCharPredicate()}}{ \emph{undocumented } }}} \references{\url{http://library.gnome.org/devel//gtk/GtkTextIter.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoCurveTo.Rd0000644000176000001440000000221612362217677014720 0ustar ripleyusers\alias{cairoCurveTo} \name{cairoCurveTo} \title{cairoCurveTo} \description{Adds a cubic Bzier spline to the path from the current point to position (\code{x3}, \code{y3}) in user-space coordinates, using (\code{x1}, \code{y1}) and (\code{x2}, \code{y2}) as the control points. After this call the current point will be (\code{x3}, \code{y3}).} \usage{cairoCurveTo(cr, x1, y1, x2, y2, x3, y3)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x1}}{[numeric] the X coordinate of the first control point} \item{\verb{y1}}{[numeric] the Y coordinate of the first control point} \item{\verb{x2}}{[numeric] the X coordinate of the second control point} \item{\verb{y2}}{[numeric] the Y coordinate of the second control point} \item{\verb{x3}}{[numeric] the X coordinate of the end of the curve} \item{\verb{y3}}{[numeric] the Y coordinate of the end of the curve} } \details{If there is no current point before the call to \code{\link{cairoCurveTo}} this function will behave as if preceded by a call to cairo_move_to(\code{cr}, \code{x1}, \code{y1}). } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetPreviewFile.Rd0000644000176000001440000000111012362217677020015 0ustar ripleyusers\alias{gtkFileChooserGetPreviewFile} \name{gtkFileChooserGetPreviewFile} \title{gtkFileChooserGetPreviewFile} \description{Gets the \code{\link{GFile}} that should be previewed in a custom preview Internal function, see \code{\link{gtkFileChooserGetPreviewUri}}.} \usage{gtkFileChooserGetPreviewFile(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.14} \value{[\code{\link{GFile}}] the \code{\link{GFile}} for the file to preview, or \code{NULL} if no file is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamHasPending.Rd0000644000176000001440000000062012362217677017074 0ustar ripleyusers\alias{gOutputStreamHasPending} \name{gOutputStreamHasPending} \title{gOutputStreamHasPending} \description{Checks if an ouput stream has pending actions.} \usage{gOutputStreamHasPending(object)} \arguments{\item{\verb{object}}{a \code{\link{GOutputStream}}.}} \value{[logical] \code{TRUE} if \code{stream} has pending actions.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserButtonNewWithDialog.Rd0000644000176000001440000000161312362217677021045 0ustar ripleyusers\alias{gtkFileChooserButtonNewWithDialog} \name{gtkFileChooserButtonNewWithDialog} \title{gtkFileChooserButtonNewWithDialog} \description{Creates a \code{\link{GtkFileChooserButton}} widget which uses \code{dialog} as its file-picking window.} \usage{gtkFileChooserButtonNewWithDialog(dialog)} \arguments{\item{\verb{dialog}}{the widget to use as dialog}} \details{Note that \code{dialog} must be a \code{\link{GtkDialog}} (or subclass) which implements the \code{\link{GtkFileChooser}} interface and must not have \code{GTK_DIALOG_DESTROY_WITH_PARENT} set. Also note that the dialog needs to have its confirmative button added with response \code{GTK_RESPONSE_ACCEPT} or \code{GTK_RESPONSE_OK} in order for the button to take over the file selected in the dialog. Since 2.6} \value{[\code{\link{GtkWidget}}] a new button widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawRgbImageDithalign.Rd0000644000176000001440000000305012362217677017115 0ustar ripleyusers\alias{gdkDrawRgbImageDithalign} \name{gdkDrawRgbImageDithalign} \title{gdkDrawRgbImageDithalign} \description{Draws an RGB image in the drawable, with an adjustment for dither alignment.} \usage{gdkDrawRgbImageDithalign(object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith)} \arguments{ \item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).} \item{\verb{gc}}{The graphics context.} \item{\verb{x}}{The x coordinate of the top-left corner in the drawable.} \item{\verb{y}}{The y coordinate of the top-left corner in the drawable.} \item{\verb{width}}{The width of the rectangle to be drawn.} \item{\verb{height}}{The height of the rectangle to be drawn.} \item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.} \item{\verb{rgb.buf}}{The pixel data, represented as packed 24-bit data.} \item{\verb{xdith}}{An x offset for dither alignment.} \item{\verb{ydith}}{A y offset for dither alignment.} } \details{This function is useful when drawing dithered images into a window that may be scrolled. Pixel (x, y) will be drawn dithered as if its actual location is (x + \code{xdith}, y + \code{ydith}). Thus, if you draw an image into a window using zero dither alignment, then scroll up one pixel, subsequent draws to the window should have \code{ydith} = 1. Setting the dither alignment correctly allows updating of small parts of the screen while avoiding visible "seams" between the different dither textures.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSourceSetIconName.Rd0000644000176000001440000000077512362217677017155 0ustar ripleyusers\alias{gtkDragSourceSetIconName} \name{gtkDragSourceSetIconName} \title{gtkDragSourceSetIconName} \description{Sets the icon that will be used for drags from a particular source to a themed icon. See the docs for \code{\link{GtkIconTheme}} for more details.} \usage{gtkDragSourceSetIconName(widget, icon.name)} \arguments{ \item{\verb{widget}}{a \code{\link{GtkWidget}}} \item{\verb{icon.name}}{name of icon to use} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectNotifyStateChange.Rd0000644000176000001440000000106212362217677017517 0ustar ripleyusers\alias{atkObjectNotifyStateChange} \name{atkObjectNotifyStateChange} \title{atkObjectNotifyStateChange} \description{Emits a state-change signal for the specified state.} \usage{atkObjectNotifyStateChange(object, state, value)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{state}}{[numeric] an \verb{numeric} whose state is changed} \item{\verb{value}}{[logical] a gboolean which indicates whether the state is being set on or off} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetGicon.Rd0000644000176000001440000000056012362217677015672 0ustar ripleyusers\alias{gtkActionSetGicon} \name{gtkActionSetGicon} \title{gtkActionSetGicon} \description{Sets the icon of \code{action}.} \usage{gtkActionSetGicon(object, icon)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAction}}} \item{\verb{icon}}{the \code{\link{GIcon}} to set} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuToolButtonSetArrowTooltipText.Rd0000644000176000001440000000120512362217677021663 0ustar ripleyusers\alias{gtkMenuToolButtonSetArrowTooltipText} \name{gtkMenuToolButtonSetArrowTooltipText} \title{gtkMenuToolButtonSetArrowTooltipText} \description{Sets the tooltip text to be used as tooltip for the arrow button which pops up the menu. See \code{\link{gtkToolItemSetTooltip}} for setting a tooltip on the whole \code{\link{GtkMenuToolButton}}.} \usage{gtkMenuToolButtonSetArrowTooltipText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMenuToolButton}}} \item{\verb{text}}{text to be used as tooltip text for button's arrow button} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterForwardWordEnd.Rd0000644000176000001440000000120512362217677017376 0ustar ripleyusers\alias{gtkTextIterForwardWordEnd} \name{gtkTextIterForwardWordEnd} \title{gtkTextIterForwardWordEnd} \description{Moves forward to the next word end. (If \code{iter} is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms).} \usage{gtkTextIterForwardWordEnd(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextIter}}}} \value{[logical] \code{TRUE} if \code{iter} moved and is not the end iterator} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetIndexAt.Rd0000644000176000001440000000142512362217677015760 0ustar ripleyusers\alias{atkTableGetIndexAt} \name{atkTableGetIndexAt} \title{atkTableGetIndexAt} \description{Gets a \verb{integer} representing the index at the specified \code{row} and \code{column}.} \usage{atkTableGetIndexAt(object, row, column)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} \item{\verb{column}}{[integer] a \verb{integer} representing a column in \code{table}} } \value{[integer] a \verb{integer} representing the index at specified position. The value -1 is returned if the object at row,column is not a child of table or table does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gCancellableSetErrorIfCancelled.Rd0000644000176000001440000000133512362217677020410 0ustar ripleyusers\alias{gCancellableSetErrorIfCancelled} \name{gCancellableSetErrorIfCancelled} \title{gCancellableSetErrorIfCancelled} \description{If the \code{cancellable} is cancelled, sets the error to notify that the operation was cancelled.} \usage{gCancellableSetErrorIfCancelled(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GCancellable}} object.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{cancellable} was cancelled, \code{FALSE} if it was not.} \item{\verb{error}}{\code{\link{GError}} to append error state to.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetIncrements.Rd0000644000176000001440000000124412362217677017616 0ustar ripleyusers\alias{gtkSpinButtonGetIncrements} \name{gtkSpinButtonGetIncrements} \title{gtkSpinButtonGetIncrements} \description{Gets the current step and page the increments used by \code{spin.button}. See \code{\link{gtkSpinButtonSetIncrements}}.} \usage{gtkSpinButtonGetIncrements(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{ A list containing the following elements: \item{\verb{step}}{location to store step increment, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{page}}{location to store page increment, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSelectRegion.Rd0000644000176000001440000000127212362217677016345 0ustar ripleyusers\alias{gtkLabelSelectRegion} \name{gtkLabelSelectRegion} \title{gtkLabelSelectRegion} \description{Selects a range of characters in the label, if the label is selectable. See \code{\link{gtkLabelSetSelectable}}. If the label is not selectable, this function has no effect. If \code{start.offset} or \code{end.offset} are -1, then the end of the label will be substituted.} \usage{gtkLabelSelectRegion(object, start.offset, end.offset)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{start.offset}}{start offset (in characters not bytes)} \item{\verb{end.offset}}{end offset (in characters not bytes)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gVolumeEnumerateIdentifiers.Rd0000644000176000001440000000074612362217677017773 0ustar ripleyusers\alias{gVolumeEnumerateIdentifiers} \name{gVolumeEnumerateIdentifiers} \title{gVolumeEnumerateIdentifiers} \description{Gets the kinds of identifiers that \code{volume} has. Use \code{gVolumeGetIdentifer()} to obtain the identifiers themselves.} \usage{gVolumeEnumerateIdentifiers(object)} \arguments{\item{\verb{object}}{a \code{\link{GVolume}}}} \value{[char] a list of strings containing kinds of identifiers.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeRemoveNode.Rd0000644000176000001440000000072212362217677016007 0ustar ripleyusers\alias{gtkCTreeRemoveNode} \name{gtkCTreeRemoveNode} \title{gtkCTreeRemoveNode} \description{ Remove the node and all nodes underneath it from the tree. \strong{WARNING: \code{gtk_ctree_remove_node} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeRemoveNode(object, node)} \arguments{ \item{\verb{object}}{The widget.} \item{\verb{node}}{The node to be removed.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarGetHasResizeGrip.Rd0000644000176000001440000000063312362217677020072 0ustar ripleyusers\alias{gtkStatusbarGetHasResizeGrip} \name{gtkStatusbarGetHasResizeGrip} \title{gtkStatusbarGetHasResizeGrip} \description{Returns whether the statusbar has a resize grip.} \usage{gtkStatusbarGetHasResizeGrip(object)} \arguments{\item{\verb{object}}{a \verb{GtkStatusBar}}} \value{[logical] \code{TRUE} if the statusbar has a resize grip.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileOpenReadwriteAsync.Rd0000644000176000001440000000175712362217677017041 0ustar ripleyusers\alias{gFileOpenReadwriteAsync} \name{gFileOpenReadwriteAsync} \title{gFileOpenReadwriteAsync} \description{Asynchronously opens \code{file} for reading and writing.} \usage{gFileOpenReadwriteAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For more details, see \code{\link{gFileOpenReadwrite}} which is the synchronous version of this call. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileOpenReadwriteFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellViewNewWithMarkup.Rd0000644000176000001440000000112112362217677017213 0ustar ripleyusers\alias{gtkCellViewNewWithMarkup} \name{gtkCellViewNewWithMarkup} \title{gtkCellViewNewWithMarkup} \description{Creates a new \code{\link{GtkCellView}} widget, adds a \code{\link{GtkCellRendererText}} to it, and makes it show \code{markup}. The text can be marked up with the Pango text markup language.} \usage{gtkCellViewNewWithMarkup(markup)} \arguments{\item{\verb{markup}}{the text to display in the cell view}} \details{Since 2.6} \value{[\code{\link{GtkWidget}}] A newly created \code{\link{GtkCellView}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetMonitor.Rd0000644000176000001440000000070612362217677015737 0ustar ripleyusers\alias{gtkMenuGetMonitor} \name{gtkMenuGetMonitor} \title{gtkMenuGetMonitor} \description{Retrieves the number of the monitor on which to show the menu.} \usage{gtkMenuGetMonitor(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}}} \details{Since 2.14} \value{[integer] the number of the monitor on which the menu should be popped up or -1, if no monitor has been set} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemePrependSearchPath.Rd0000644000176000001440000000074511766145227020160 0ustar ripleyusers\alias{gtkIconThemePrependSearchPath} \name{gtkIconThemePrependSearchPath} \title{gtkIconThemePrependSearchPath} \description{Prepends a directory to the search path. See \code{\link{gtkIconThemeSetSearchPath}}.} \usage{gtkIconThemePrependSearchPath(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{path}}{directory name to prepend to the icon path} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientConnectToHostFinish.Rd0000644000176000001440000000152712362217677020671 0ustar ripleyusers\alias{gSocketClientConnectToHostFinish} \name{gSocketClientConnectToHostFinish} \title{gSocketClientConnectToHostFinish} \description{Finishes an async connect operation. See \code{\link{gSocketClientConnectToHostAsync}}} \usage{gSocketClientConnectToHostFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{result}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.22} \value{ A list containing the following elements: \item{retval}{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}} on success, \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxSetFocusOnClick.Rd0000644000176000001440000000122512362217677017447 0ustar ripleyusers\alias{gtkComboBoxSetFocusOnClick} \name{gtkComboBoxSetFocusOnClick} \title{gtkComboBoxSetFocusOnClick} \description{Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.} \usage{gtkComboBoxSetFocusOnClick(object, focus.on.click)} \arguments{ \item{\verb{object}}{a \code{\link{GtkComboBox}}} \item{\verb{focus.on.click}}{whether the combo box grabs focus when clicked with the mouse} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkProgress.Rd0000644000176000001440000000476512362217677014600 0ustar ripleyusers\alias{GtkProgress} \name{GtkProgress} \title{GtkProgress} \description{Base class for GtkProgressBar} \section{Methods and Functions}{ \code{\link{gtkProgressSetShowText}(object, show.text)}\cr \code{\link{gtkProgressSetTextAlignment}(object, x.align, y.align)}\cr \code{\link{gtkProgressSetFormatString}(object, format)}\cr \code{\link{gtkProgressSetAdjustment}(object, adjustment)}\cr \code{\link{gtkProgressSetPercentage}(object, percentage)}\cr \code{\link{gtkProgressSetValue}(object, value)}\cr \code{\link{gtkProgressGetValue}(object)}\cr \code{\link{gtkProgressSetActivityMode}(object, activity.mode)}\cr \code{\link{gtkProgressGetCurrentText}(object)}\cr \code{\link{gtkProgressGetTextFromValue}(object, value)}\cr \code{\link{gtkProgressGetCurrentPercentage}(object)}\cr \code{\link{gtkProgressGetPercentageFromValue}(object, value)}\cr \code{\link{gtkProgressConfigure}(object, value, min, max)}\cr } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkProgress +----GtkProgressBar}} \section{Interfaces}{GtkProgress implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{A \code{\link{GtkProgress}} is the abstract base class used to derive a \code{\link{GtkProgressBar}} which provides a visual representation of the progress of a long running operation.} \section{Structures}{\describe{\item{\verb{GtkProgress}}{ The \code{\link{GtkProgress}} struct contains private data only. and should be accessed using the functions below. }}} \section{Properties}{\describe{ \item{\verb{activity-mode} [logical : Read / Write]}{ If TRUE, the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something but don't know how long it will take. Default value: FALSE } \item{\verb{show-text} [logical : Read / Write]}{ Whether the progress is shown as text. Default value: FALSE } \item{\verb{text-xalign} [numeric : Read / Write]}{ The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. Allowed values: [0,1] Default value: 0.5 } \item{\verb{text-yalign} [numeric : Read / Write]}{ The vertical text alignment, from 0 (top) to 1 (bottom). Allowed values: [0,1] Default value: 0.5 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkProgress.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkEventGetScreen.Rd0000644000176000001440000000122712362217677015663 0ustar ripleyusers\alias{gdkEventGetScreen} \name{gdkEventGetScreen} \title{gdkEventGetScreen} \description{Returns the screen for the event. The screen is typically the screen for \code{event->any.window}, but for events such as mouse events, it is the screen where the pointer was when the event occurs - that is, the screen which has the root window to which \code{event->motion.x_root} and \code{event->motion.y_root} are relative.} \usage{gdkEventGetScreen(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkEvent}}}} \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the screen for the event} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconSensitive.Rd0000644000176000001440000000076512362217677017310 0ustar ripleyusers\alias{gtkEntrySetIconSensitive} \name{gtkEntrySetIconSensitive} \title{gtkEntrySetIconSensitive} \description{Sets the sensitivity for the specified icon.} \usage{gtkEntrySetIconSensitive(object, icon.pos, sensitive)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} \item{\verb{sensitive}}{Specifies whether the icon should appear sensitive or insensitive} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetName.Rd0000644000176000001440000000051112362217677015412 0ustar ripleyusers\alias{gFileInfoGetName} \name{gFileInfoGetName} \title{gFileInfoGetName} \description{Gets the name for a file.} \usage{gFileInfoGetName(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[char] a string containing the file name.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntrySetIconFromPixbuf.Rd0000644000176000001440000000115212362217677017407 0ustar ripleyusers\alias{gtkEntrySetIconFromPixbuf} \name{gtkEntrySetIconFromPixbuf} \title{gtkEntrySetIconFromPixbuf} \description{Sets the icon shown in the specified position using a pixbuf.} \usage{gtkEntrySetIconFromPixbuf(object, icon.pos, pixbuf = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} \item{\verb{pixbuf}}{A \code{\link{GdkPixbuf}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{If \code{pixbuf} is \code{NULL}, no icon will be shown in the specified position. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetIconName.Rd0000644000176000001440000000113212362217677016170 0ustar ripleyusers\alias{gtkEntryGetIconName} \name{gtkEntryGetIconName} \title{gtkEntryGetIconName} \description{Retrieves the icon name used for the icon, or \code{NULL} if there is no icon or if the icon was set by some other method (e.g., by pixbuf, stock or gicon).} \usage{gtkEntryGetIconName(object, icon.pos)} \arguments{ \item{\verb{object}}{A \code{\link{GtkEntry}}} \item{\verb{icon.pos}}{Icon position} } \details{Since 2.16} \value{[character] An icon name, or \code{NULL} if no icon is set or if the icon wasn't set from an icon name} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawingAreaSize.Rd0000644000176000001440000000135312362217677016041 0ustar ripleyusers\alias{gtkDrawingAreaSize} \name{gtkDrawingAreaSize} \title{gtkDrawingAreaSize} \description{ Sets the size that the drawing area will request in response to a "size_request" signal. The drawing area may actually be allocated a size larger than this depending on how it is packed within the enclosing containers. \strong{WARNING: \code{gtk_drawing_area_size} is deprecated and should not be used in newly-written code. Use \code{\link{gtkWidgetSetSizeRequest}} instead.} } \usage{gtkDrawingAreaSize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDrawingArea}}} \item{\verb{width}}{the width to request} \item{\verb{height}}{the height to request} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawString.Rd0000644000176000001440000000125312362217677015105 0ustar ripleyusers\alias{gtkDrawString} \name{gtkDrawString} \title{gtkDrawString} \description{ Draws a text string on \code{window} with the given parameters. \strong{WARNING: \code{gtk_draw_string} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintLayout}} instead.} } \usage{gtkDrawString(object, window, state.type, x, y, string)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{x}}{x origin} \item{\verb{y}}{y origin} \item{\verb{string}}{the string to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxPopdown.Rd0000644000176000001440000000070512362217677016101 0ustar ripleyusers\alias{gtkComboBoxPopdown} \name{gtkComboBoxPopdown} \title{gtkComboBoxPopdown} \description{Hides the menu or dropdown list of \code{combo.box}.} \usage{gtkComboBoxPopdown(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkComboBox}}}} \details{This function is mostly intended for use by accessibility technologies; applications should have little use for it. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkUIManagerGetToplevels.Rd0000644000176000001440000000134112362217677017165 0ustar ripleyusers\alias{gtkUIManagerGetToplevels} \name{gtkUIManagerGetToplevels} \title{gtkUIManagerGetToplevels} \description{Obtains a list of all toplevel widgets of the requested types.} \usage{gtkUIManagerGetToplevels(object, types)} \arguments{ \item{\verb{object}}{a \code{\link{GtkUIManager}}} \item{\verb{types}}{specifies the types of toplevel widgets to include. Allowed types are \verb{GTK_UI_MANAGER_MENUBAR}, \verb{GTK_UI_MANAGER_TOOLBAR} and \verb{GTK_UI_MANAGER_POPUP}.} } \details{Since 2.4} \value{[list] a newly-allocated \verb{list} of all toplevel widgets of the requested types. \emph{[ \acronym{element-type} GtkWidget][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterGetNeeded.Rd0000644000176000001440000000130212362217677017147 0ustar ripleyusers\alias{gtkRecentFilterGetNeeded} \name{gtkRecentFilterGetNeeded} \title{gtkRecentFilterGetNeeded} \description{Gets the fields that need to be filled in for the structure passed to \code{\link{gtkRecentFilterFilter}}} \usage{gtkRecentFilterGetNeeded(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentFilter}}}} \details{This function will not typically be used by applications; it is intended principally for use in the implementation of \code{\link{GtkRecentChooser}}. Since 2.10} \value{[\code{\link{GtkRecentFilterFlags}}] bitfield of flags indicating needed fields when calling \code{\link{gtkRecentFilterFilter}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFontOptionsMerge.Rd0000644000176000001440000000122712362217677016574 0ustar ripleyusers\alias{cairoFontOptionsMerge} \name{cairoFontOptionsMerge} \title{cairoFontOptionsMerge} \description{Merges non-default options from \code{other} into \code{options}, replacing existing values. This operation can be thought of as somewhat similar to compositing \code{other} onto \code{options} with the operation of \code{CAIRO_OPERATION_OVER}.} \usage{cairoFontOptionsMerge(options, other)} \arguments{ \item{\verb{options}}{[\code{\link{CairoFontOptions}}] a \code{\link{CairoFontOptions}}} \item{\verb{other}}{[\code{\link{CairoFontOptions}}] another \code{\link{CairoFontOptions}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkScrollbar.Rd0000644000176000001440000000465312362217677014713 0ustar ripleyusers\alias{GtkScrollbar} \name{GtkScrollbar} \title{GtkScrollbar} \description{Base class for GtkHScrollbar and GtkVScrollbar} \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScrollbar +----GtkHScrollbar +----GtkVScrollbar}} \section{Interfaces}{GtkScrollbar implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkScrollbar}} widget is an abstract base class for \code{\link{GtkHScrollbar}} and \code{\link{GtkVScrollbar}}. It is not very useful in itself. The position of the thumb in a scrollbar is controlled by the scroll adjustments. See \code{\link{GtkAdjustment}} for the fields in an adjustment - for \code{\link{GtkScrollbar}}, the "value" field represents the position of the scrollbar, which must be between the "lower" field and "upper - page_size." The "page_size" field represents the size of the visible scrollable area. The "step_increment" and "page_increment" fields are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key).} \section{Structures}{\describe{\item{\verb{GtkScrollbar}}{ The \code{\link{GtkScrollbar}} struct does not contain any public data. }}} \section{Style Properties}{\describe{ \item{\verb{fixed-slider-length} [logical : Read]}{ Don't change slider size, just lock it to the minimum length. Default value: FALSE } \item{\verb{has-backward-stepper} [logical : Read]}{ Display the standard backward arrow button. Default value: TRUE } \item{\verb{has-forward-stepper} [logical : Read]}{ Display the standard forward arrow button. Default value: TRUE } \item{\verb{has-secondary-backward-stepper} [logical : Read]}{ Display a second backward arrow button on the opposite end of the scrollbar. Default value: FALSE } \item{\verb{has-secondary-forward-stepper} [logical : Read]}{ Display a second forward arrow button on the opposite end of the scrollbar. Default value: FALSE } \item{\verb{min-slider-length} [integer : Read]}{ Minimum length of scrollbar slider. Allowed values: >= 0 Default value: 21 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkScrollbar.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternAddColorStopRgba.Rd0000644000176000001440000000305012362217677020015 0ustar ripleyusers\alias{cairoPatternAddColorStopRgba} \name{cairoPatternAddColorStopRgba} \title{cairoPatternAddColorStopRgba} \description{Adds a translucent color stop to a gradient pattern. The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.} \usage{cairoPatternAddColorStopRgba(pattern, offset, red, green, blue, alpha)} \arguments{ \item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}} \item{\verb{offset}}{[numeric] an offset in the range [0.0 .. 1.0]} \item{\verb{red}}{[numeric] red component of color} \item{\verb{green}}{[numeric] green component of color} \item{\verb{blue}}{[numeric] blue component of color} \item{\verb{alpha}}{[numeric] alpha component of color} } \details{The color is specified in the same way as in \code{\link{cairoSetSourceRgba}}. If two (or more) stops are specified with identical offset values, they will be sorted according to the order in which the stops are added, (stops added earlier will compare less than stops added later). This can be useful for reliably making sharp color transitions instead of the typical blend. Note: If the pattern is not a gradient pattern, (eg. a linear or radial pattern), then the pattern will be put into an error status with a status of \code{CAIRO_STATUS_PATTERN_TYPE_MISMATCH}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamCloseAsync.Rd0000644000176000001440000000212012362217677016713 0ustar ripleyusers\alias{gInputStreamCloseAsync} \name{gInputStreamCloseAsync} \title{gInputStreamCloseAsync} \description{Requests an asynchronous closes of the stream, releasing resources related to it. When the operation is finished \code{callback} will be called. You can then call \code{\link{gInputStreamCloseFinish}} to get the result of the operation.} \usage{gInputStreamCloseAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GInputStream}}.} \item{\verb{io.priority}}{the I/O priority of the request.} \item{\verb{cancellable}}{optional cancellable object} \item{\verb{callback}}{callback to call when the request is satisfied} \item{\verb{user.data}}{the data to pass to callback function} } \details{For behaviour details see \code{\link{gInputStreamClose}}. The asyncronous methods have a default fallback that uses threads to implement asynchronicity, so they are optional for inheriting classes. However, if you override one you must override all.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketConnectionFactoryCreateConnection.Rd0000644000176000001440000000102312362217677022421 0ustar ripleyusers\alias{gSocketConnectionFactoryCreateConnection} \name{gSocketConnectionFactoryCreateConnection} \title{gSocketConnectionFactoryCreateConnection} \description{Creates a \code{\link{GSocketConnection}} subclass of the right type for \code{socket}.} \usage{gSocketConnectionFactoryCreateConnection(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}}} \details{Since 2.22} \value{[\code{\link{GSocketConnection}}] a \code{\link{GSocketConnection}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextChildAnchorGetDeleted.Rd0000644000176000001440000000104212362217677017767 0ustar ripleyusers\alias{gtkTextChildAnchorGetDeleted} \name{gtkTextChildAnchorGetDeleted} \title{gtkTextChildAnchorGetDeleted} \description{Determines whether a child anchor has been deleted from the buffer. Keep in mind that the child anchor will be unreferenced when removed from the buffer,} \usage{gtkTextChildAnchorGetDeleted(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextChildAnchor}}}} \value{[logical] \code{TRUE} if the child anchor has been deleted from its buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkItemFactoryGetWidgetByAction.Rd0000644000176000001440000000173712362217677020513 0ustar ripleyusers\alias{gtkItemFactoryGetWidgetByAction} \name{gtkItemFactoryGetWidgetByAction} \title{gtkItemFactoryGetWidgetByAction} \description{ Obtains the widget which was constructed from the \code{\link{GtkItemFactoryEntry}} with the given \code{action}. \strong{WARNING: \code{gtk_item_factory_get_widget_by_action} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.} } \usage{gtkItemFactoryGetWidgetByAction(object, action)} \arguments{ \item{\verb{object}}{a \code{\link{GtkItemFactory}}} \item{\verb{action}}{an action as specified in the \code{callback.action} field of \code{\link{GtkItemFactoryEntry}}} } \details{If there are multiple items with the same action, the result is undefined.} \value{[\code{\link{GtkWidget}}] the widget which corresponds to the given action, or \code{NULL} if no widget was found. \emph{[ \acronym{allow-none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreSet.Rd0000644000176000001440000000146412362217677015415 0ustar ripleyusers\alias{gtkTreeStoreSet} \name{gtkTreeStoreSet} \title{gtkTreeStoreSet} \description{Sets the value of one or more cells in the row referenced by \code{iter}. The variable argument list should contain integer column numbers, each column number followed by the value to be set. The list is terminated by a -1. For example, to set column 0 with type \code{G_TYPE_STRING} to "Foo", you would write \code{gtk_tree_store_set (store, iter, 0, "Foo", -1)}. The value will be copied or referenced by the store if appropriate.} \usage{gtkTreeStoreSet(object, iter, ...)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{iter}}{A valid \code{\link{GtkTreeIter}} for the row being modified} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetCursor.Rd0000644000176000001440000000131412362217677016120 0ustar ripleyusers\alias{gdkWindowSetCursor} \name{gdkWindowSetCursor} \title{gdkWindowSetCursor} \description{Sets the mouse pointer for a \code{\link{GdkWindow}}. Use \code{\link{gdkCursorNewForDisplay}} or \code{\link{gdkCursorNewFromPixmap}} to create the cursor. To make the cursor invisible, use \code{GDK_BLANK_CURSOR}. Passing \code{NULL} for the \code{cursor} argument to \code{\link{gdkWindowSetCursor}} means that \code{window} will use the cursor of its parent window. Most windows should use this default.} \usage{gdkWindowSetCursor(object, cursor = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{cursor}}{a cursor} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentFilterFilter.Rd0000644000176000001440000000154712362217677016563 0ustar ripleyusers\alias{gtkRecentFilterFilter} \name{gtkRecentFilterFilter} \title{gtkRecentFilterFilter} \description{Tests whether a file should be displayed according to \code{filter}. The \code{\link{GtkRecentFilterInfo}} structure \code{filter.info} should include the fields returned from \code{\link{gtkRecentFilterGetNeeded}}.} \usage{gtkRecentFilterFilter(object, filter.info)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentFilter}}} \item{\verb{filter.info}}{a \code{\link{GtkRecentFilterInfo}} structure containing information about a recently used resource} } \details{This function will not typically be used by applications; it is intended principally for use in the implementation of \code{\link{GtkRecentChooser}}. Since 2.10} \value{[logical] \code{TRUE} if the file should be displayed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectAddRelationship.Rd0000644000176000001440000000133312362217677017213 0ustar ripleyusers\alias{atkObjectAddRelationship} \name{atkObjectAddRelationship} \title{atkObjectAddRelationship} \description{Adds a relationship of the specified type with the specified target.} \usage{atkObjectAddRelationship(object, relationship, target)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] The \code{\link{AtkObject}} to which an AtkRelation is to be added. } \item{\verb{relationship}}{[\code{\link{AtkRelationType}}] The \code{\link{AtkRelationType}} of the relation} \item{\verb{target}}{[\code{\link{AtkObject}}] The \code{\link{AtkObject}} which is to be the target of the relation.} } \value{[logical] TRUE if the relationship is added.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSelectUri.Rd0000644000176000001440000000126112362217677017042 0ustar ripleyusers\alias{gtkFileChooserSelectUri} \name{gtkFileChooserSelectUri} \title{gtkFileChooserSelectUri} \description{Selects the file to by \code{uri}. If the URI doesn't refer to a file in the current folder of \code{chooser}, then the current folder of \code{chooser} will be changed to the folder containing \code{filename}.} \usage{gtkFileChooserSelectUri(object, uri)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{the URI to select} } \details{Since 2.4} \value{[logical] \code{TRUE} if both the folder could be changed and the URI was selected successfully, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoCreateFromCommandline.Rd0000644000176000001440000000167512362217677020145 0ustar ripleyusers\alias{gAppInfoCreateFromCommandline} \name{gAppInfoCreateFromCommandline} \title{gAppInfoCreateFromCommandline} \description{Creates a new \code{\link{GAppInfo}} from the given information.} \usage{gAppInfoCreateFromCommandline(commandline, application.name = NULL, flags = "G_APP_INFO_CREATE_NONE", .errwarn = TRUE)} \arguments{ \item{\verb{commandline}}{the commandline to use} \item{\verb{application.name}}{the application name, or \code{NULL} to use \code{commandline}} \item{\verb{flags}}{flags that can specify details of the created \code{\link{GAppInfo}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GAppInfo}}] new \code{\link{GAppInfo}} for given command.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawGlyphs.Rd0000644000176000001440000000165212362217677015070 0ustar ripleyusers\alias{gdkDrawGlyphs} \name{gdkDrawGlyphs} \title{gdkDrawGlyphs} \description{This is a low-level function; 99\% of text rendering should be done using \code{\link{gdkDrawLayout}} instead.} \usage{gdkDrawGlyphs(object, gc, font, x, y, glyphs)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{gc}}{a \code{\link{GdkGC}}} \item{\verb{font}}{font to be used} \item{\verb{x}}{X coordinate of baseline origin} \item{\verb{y}}{Y coordinate of baseline origin} \item{\verb{glyphs}}{the glyph string to draw} } \details{A glyph is a single image in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use \code{\link{gdkDrawLayout}} instead of this function, \code{\link{gdkDrawLayout}} handles the details.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawArrow.Rd0000644000176000001440000000216012362217677014727 0ustar ripleyusers\alias{gtkDrawArrow} \name{gtkDrawArrow} \title{gtkDrawArrow} \description{ Draws an arrow in the given rectangle on \code{window} using the given parameters. \code{arrow.type} determines the direction of the arrow. \strong{WARNING: \code{gtk_draw_arrow} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintArrow}} instead.} } \usage{gtkDrawArrow(object, window, state.type, shadow.type, arrow.type, fill, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{shadow.type}}{the type of shadow to draw} \item{\verb{arrow.type}}{the type of arrow to draw} \item{\verb{fill}}{\code{TRUE} if the arrow tip should be filled} \item{\verb{x}}{x origin of the rectangle to draw the arrow in} \item{\verb{y}}{y origin of the rectangle to draw the arrow in} \item{\verb{width}}{width of the rectangle to draw the arrow in} \item{\verb{height}}{height of the rectangle to draw the arrow in} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoTabArrayGetPositionsInPixels.Rd0000644000176000001440000000077012362217677021074 0ustar ripleyusers\alias{pangoTabArrayGetPositionsInPixels} \name{pangoTabArrayGetPositionsInPixels} \title{pangoTabArrayGetPositionsInPixels} \description{Returns \code{TRUE} if the tab positions are in pixels, \code{FALSE} if they are in Pango units.} \usage{pangoTabArrayGetPositionsInPixels(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoTabArray}}] a \code{\link{PangoTabArray}}}} \value{[logical] whether positions are in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileUnmountMountableWithOperation.Rd0000644000176000001440000000241212362217677021311 0ustar ripleyusers\alias{gFileUnmountMountableWithOperation} \name{gFileUnmountMountableWithOperation} \title{gFileUnmountMountableWithOperation} \description{Unmounts a file of type G_FILE_TYPE_MOUNTABLE.} \usage{gFileUnmountMountableWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}}, or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. When the operation is finished, \code{callback} will be called. You can then call \code{\link{gFileUnmountMountableFinish}} to get the result of the operation. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitlePassive.Rd0000644000176000001440000000116212362217677017551 0ustar ripleyusers\alias{gtkCListColumnTitlePassive} \name{gtkCListColumnTitlePassive} \title{gtkCListColumnTitlePassive} \description{ Causes the specified column title button to become passive, i.e., does not respond to events, such as the user clicking on it. \strong{WARNING: \code{gtk_clist_column_title_passive} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitlePassive(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to make passive, counting from 0.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRgbFindColor.Rd0000644000176000001440000000215112362217677015311 0ustar ripleyusers\alias{gdkRgbFindColor} \name{gdkRgbFindColor} \title{gdkRgbFindColor} \description{\code{colormap} should be the colormap for the graphics context and drawable you're using to draw. If you're drawing to a \code{\link{GtkWidget}}, call \code{\link{gtkWidgetGetColormap}}.} \usage{gdkRgbFindColor(colormap, color)} \arguments{ \item{\verb{colormap}}{a \code{\link{GdkColormap}}} \item{\verb{color}}{a \code{\link{GdkColor}}} } \details{\code{color} should have its \code{red}, \code{green}, and \code{blue} fields initialized; \code{\link{gdkRgbFindColor}} will fill in the \code{pixel} field with the best matching pixel from a color cube. The color is then ready to be used for drawing, e.g. you can call \code{\link{gdkGCSetForeground}} which expects \code{pixel} to be initialized. In many cases, you can avoid this whole issue by calling \code{\link{gdkGCSetRgbFgColor}} or \code{\link{gdkGCSetRgbBgColor}}, which do not expect \code{pixel} to be initialized in advance. If you use those functions, there's no need for \code{\link{gdkRgbFindColor}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetCurrentFolderUri.Rd0000644000176000001440000000222512362217677021042 0ustar ripleyusers\alias{gtkFileChooserGetCurrentFolderUri} \name{gtkFileChooserGetCurrentFolderUri} \title{gtkFileChooserGetCurrentFolderUri} \description{Gets the current folder of \code{chooser} as an URI. See \code{\link{gtkFileChooserSetCurrentFolderUri}}.} \usage{gtkFileChooserGetCurrentFolderUri(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Note that this is the folder that the file chooser is currently displaying (e.g. "file:///home/username/Documents"), which is \emph{not the same} as the currently-selected folder if the chooser is in \code{GTK_FILE_CHOOSER_SELECT_FOLDER} mode (e.g. "file:///home/username/Documents/selected-folder/". To get the currently-selected folder in that mode, use \code{\link{gtkFileChooserGetUri}} as the usual way to get the selection. Since 2.4} \value{[character] the URI for the current folder. This function will also return \code{NULL} if the file chooser was unable to load the last folder that was requested from it; for example, as would be for calling \code{\link{gtkFileChooserSetCurrentFolderUri}} on a nonexistent folder.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScrolledWindowSetVadjustment.Rd0000644000176000001440000000070612362217677020663 0ustar ripleyusers\alias{gtkScrolledWindowSetVadjustment} \name{gtkScrolledWindowSetVadjustment} \title{gtkScrolledWindowSetVadjustment} \description{Sets the \code{\link{GtkAdjustment}} for the vertical scrollbar.} \usage{gtkScrolledWindowSetVadjustment(object, hadjustment)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScrolledWindow}}} \item{\verb{hadjustment}}{vertical scroll adjustment} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GdkDisplay.Rd0000644000176000001440000000741612362217677014355 0ustar ripleyusers\alias{GdkDisplay} \alias{gdkDisplay} \name{GdkDisplay} \title{GdkDisplay} \description{Controls the keyboard/mouse pointer grabs and a set of s} \section{Methods and Functions}{ \code{\link{gdkDisplayOpen}(display.name)}\cr \code{\link{gdkDisplayGetDefault}()}\cr \code{\link{gdkDisplayGetName}(object)}\cr \code{\link{gdkDisplayGetNScreens}(object)}\cr \code{\link{gdkDisplayGetScreen}(object, screen.num)}\cr \code{\link{gdkDisplayGetDefaultScreen}(object)}\cr \code{\link{gdkDisplayPointerUngrab}(object, time. = "GDK_CURRENT_TIME")}\cr \code{\link{gdkDisplayKeyboardUngrab}(object, time. = "GDK_CURRENT_TIME")}\cr \code{\link{gdkDisplayPointerIsGrabbed}(object)}\cr \code{\link{gdkDisplayBeep}(object)}\cr \code{\link{gdkDisplaySync}(object)}\cr \code{\link{gdkDisplayFlush}(object)}\cr \code{\link{gdkDisplayClose}(object)}\cr \code{\link{gdkDisplayListDevices}(object)}\cr \code{\link{gdkDisplayGetEvent}(object)}\cr \code{\link{gdkDisplayPeekEvent}(object)}\cr \code{\link{gdkDisplayPutEvent}(object, event)}\cr \code{\link{gdkDisplayAddClientMessageFilter}(object, message.type, func, data)}\cr \code{\link{gdkDisplaySetDoubleClickTime}(object, msec)}\cr \code{\link{gdkDisplaySetDoubleClickDistance}(object, distance)}\cr \code{\link{gdkDisplayGetPointer}(object)}\cr \code{\link{gdkDisplayGetWindowAtPointer}(object)}\cr \code{\link{gdkDisplaySetPointerHooks}(object, new.hooks)}\cr \code{\link{gdkDisplayWarpPointer}(object, screen, x, y)}\cr \code{\link{gdkDisplaySupportsCursorColor}(object)}\cr \code{\link{gdkDisplaySupportsCursorAlpha}(object)}\cr \code{\link{gdkDisplayGetDefaultCursorSize}(object)}\cr \code{\link{gdkDisplayGetMaximalCursorSize}(object)}\cr \code{\link{gdkDisplayGetDefaultGroup}(object)}\cr \code{\link{gdkDisplaySupportsSelectionNotification}(object)}\cr \code{\link{gdkDisplayRequestSelectionNotification}(object, selection)}\cr \code{\link{gdkDisplaySupportsClipboardPersistence}(object)}\cr \code{\link{gdkDisplayStoreClipboard}(object, clipboard.window, targets)}\cr \code{\link{gdkDisplaySupportsShapes}(object)}\cr \code{\link{gdkDisplaySupportsInputShapes}(object)}\cr \code{\link{gdkDisplaySupportsComposite}(object)}\cr \code{gdkDisplay(display.name)} } \section{Hierarchy}{\preformatted{GObject +----GdkDisplay}} \section{Detailed Description}{\code{\link{GdkDisplay}} objects purpose are two fold: \itemize{ \item To grab/ungrab keyboard focus and mouse pointer \item To manage and provide information about the \code{\link{GdkScreen}}(s) available for this \code{\link{GdkDisplay}} } \code{\link{GdkDisplay}} objects are the GDK representation of the X Display which can be described as \emph{a workstation consisting of a keyboard a pointing device (such as a mouse) and one or more screens}. It is used to open and keep track of various \code{\link{GdkScreen}} objects currently instanciated by the application. It is also used to grab and release the keyboard and the mouse pointer.} \section{Structures}{\describe{\item{\verb{GdkDisplay}}{ The \code{GdkDisplay} struct is the GDK representation of an X display. All its fields are private and should not be accessed directly. Since 2.2 }}} \section{Convenient Construction}{\code{gdkDisplay} is the equivalent of \code{\link{gdkDisplayOpen}}.} \section{Signals}{\describe{\item{\code{closed(display, is.error, user.data)}}{ The ::closed signal is emitted when the connection to the windowing system for \code{display} is closed. Since 2.2 \describe{ \item{\code{display}}{the object on which the signal is emitted} \item{\code{is.error}}{\code{TRUE} if the display was closed due to an error} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \references{\url{http://library.gnome.org/devel//gdk/GdkDisplay.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupConnectByPath.Rd0000644000176000001440000000226612362217677017474 0ustar ripleyusers\alias{gtkAccelGroupConnectByPath} \name{gtkAccelGroupConnectByPath} \title{gtkAccelGroupConnectByPath} \description{Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see \code{\link{gtkAccelMapAddEntry}}). When \code{accel.group} is being activated in response to a call to \code{\link{gtkAccelGroupsActivate}}, \code{closure} will be invoked if the \code{accel.key} and \code{accel.mods} from \code{\link{gtkAccelGroupsActivate}} match the key and modifiers for the path.} \usage{gtkAccelGroupConnectByPath(object, accel.path, closure)} \arguments{ \item{\verb{object}}{the accelerator group to install an accelerator in} \item{\verb{accel.path}}{path used for determining key and modifiers.} \item{\verb{closure}}{closure to be executed upon accelerator activation} } \details{The signature used for the \code{closure} is that of \code{\link{GtkAccelGroupActivate}}. Note that \code{accel.path} string will be stored in a \code{\link{GQuark}}. Therefore, if you pass a static string, you can save some memory by interning it first with \code{gInternStaticString()}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoFill.Rd0000644000176000001440000000102212362217677014211 0ustar ripleyusers\alias{cairoFill} \name{cairoFill} \title{cairoFill} \description{A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). After \code{\link{cairoFill}}, the current path will be cleared from the cairo context. See \code{\link{cairoSetFillRule}} and \code{\link{cairoFillPreserve}}.} \usage{cairoFill(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceSetDeviceOffset.Rd0000644000176000001440000000217512362217677017670 0ustar ripleyusers\alias{cairoSurfaceSetDeviceOffset} \name{cairoSurfaceSetDeviceOffset} \title{cairoSurfaceSetDeviceOffset} \description{Sets an offset that is added to the device coordinates determined by the CTM when drawing to \code{surface}. One use case for this function is when we want to create a \code{\link{CairoSurface}} that redirects drawing for a portion of an onscreen surface to an offscreen surface in a way that is completely invisible to the user of the cairo API. Setting a transformation via \code{\link{cairoTranslate}} isn't sufficient to do this, since functions like \code{\link{cairoDeviceToUser}} will expose the hidden offset.} \usage{cairoSurfaceSetDeviceOffset(surface, x.offset, y.offset)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}} \item{\verb{x.offset}}{[numeric] the offset in the X direction, in device units} \item{\verb{y.offset}}{[numeric] the offset in the Y direction, in device units} } \details{Note that the offset affects drawing to the surface as well as using the surface in a source pattern. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFixedSetHasWindow.Rd0000644000176000001440000000202112362217677016352 0ustar ripleyusers\alias{gtkFixedSetHasWindow} \name{gtkFixedSetHasWindow} \title{gtkFixedSetHasWindow} \description{ Sets whether a \code{\link{GtkFixed}} widget is created with a separate \code{\link{GdkWindow}} for \code{widget->window} or not. (By default, it will be created with no separate \code{\link{GdkWindow}}). This function must be called while the \code{\link{GtkFixed}} is not realized, for instance, immediately after the window is created. \strong{WARNING: \code{gtk_fixed_set_has_window} has been deprecated since version 2.20 and should not be used in newly-written code. Use \code{\link{gtkWidgetSetHasWindow}} instead.} } \usage{gtkFixedSetHasWindow(object, has.window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFixed}}} \item{\verb{has.window}}{\code{TRUE} if a separate window should be created} } \details{This function was added to provide an easy migration path for older applications which may expect \code{\link{GtkFixed}} to have a separate window.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawSegments.Rd0000644000176000001440000000101612362217677015401 0ustar ripleyusers\alias{gdkDrawSegments} \name{gdkDrawSegments} \title{gdkDrawSegments} \description{Draws a number of unconnected lines.} \usage{gdkDrawSegments(object, gc, segs)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{segs}}{a list of \code{\link{GdkSegment}} structures specifying the start and end points of the lines to be drawn.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListFindRowFromData.Rd0000644000176000001440000000114012362217677016741 0ustar ripleyusers\alias{gtkCListFindRowFromData} \name{gtkCListFindRowFromData} \title{gtkCListFindRowFromData} \description{ Searches the CList for the row with the specified data. \strong{WARNING: \code{gtk_clist_find_row_from_data} is deprecated and should not be used in newly-written code.} } \usage{gtkCListFindRowFromData(object, data)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to search.} \item{\verb{data}}{The data to search for a match.} } \value{[integer] The number of the matching row, or -1 if no match could be found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserDialogNewWithBackend.Rd0000644000176000001440000000236712362217677021130 0ustar ripleyusers\alias{gtkFileChooserDialogNewWithBackend} \name{gtkFileChooserDialogNewWithBackend} \title{gtkFileChooserDialogNewWithBackend} \description{ Creates a new \code{\link{GtkFileChooserDialog}} with a specified backend. This is especially useful if you use \code{\link{gtkFileChooserSetLocalOnly}} to allow non-local files and you use a more expressive vfs, such as gnome-vfs, to load files. \strong{WARNING: \code{gtk_file_chooser_dialog_new_with_backend} has been deprecated since version 2.14 and should not be used in newly-written code. Use \code{\link{gtkFileChooserDialogNew}} instead.} } \usage{gtkFileChooserDialogNewWithBackend(title = NULL, parent = NULL, action, backend, ..., show = TRUE)} \arguments{ \item{\verb{title}}{Title of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{parent}}{Transient parent of the dialog, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{action}}{Open or save mode for the dialog} \item{\verb{backend}}{The name of the specific filesystem backend to use.} \item{\verb{...}}{a new \code{\link{GtkFileChooserDialog}}} } \details{Since 2.4} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkFileChooserDialog}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPangoContextGetForScreen.Rd0000644000176000001440000000177112362217677017666 0ustar ripleyusers\alias{gdkPangoContextGetForScreen} \name{gdkPangoContextGetForScreen} \title{gdkPangoContextGetForScreen} \description{Creates a \code{\link{PangoContext}} for \code{screen}.} \usage{gdkPangoContextGetForScreen(screen)} \arguments{\item{\verb{screen}}{the \code{\link{GdkScreen}} for which the context is to be created.}} \details{ When using GTK+, normally you should use \code{\link{gtkWidgetGetPangoContext}} instead of this function, to get the appropriate context for the widget you intend to render text onto. The newly created context will have the default font options (see \code{\link{CairoFontOptions}}) for the screen; if these options change it will not be updated. Using \code{\link{gtkWidgetGetPangoContext}} is more convenient if you want to keep a context around and track changes to the screen's font rendering settings. Since 2.2} \value{[\code{\link{PangoContext}}] a new \code{\link{PangoContext}} for \code{screen}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetUrgencyHint.Rd0000644000176000001440000000066512362217677017112 0ustar ripleyusers\alias{gdkWindowSetUrgencyHint} \name{gdkWindowSetUrgencyHint} \title{gdkWindowSetUrgencyHint} \description{Toggles whether a window needs the user's urgent attention.} \usage{gdkWindowSetUrgencyHint(object, urgent)} \arguments{ \item{\verb{object}}{a toplevel \code{\link{GdkWindow}}} \item{\verb{urgent}}{\code{TRUE} if the window is urgent} } \details{Since 2.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetShow.Rd0000644000176000001440000000146012362217677015105 0ustar ripleyusers\alias{gtkWidgetShow} \name{gtkWidgetShow} \title{gtkWidgetShow} \description{Flags a widget to be displayed. Any widget that isn't shown will not appear on the screen. If you want to show all the widgets in a container, it's easier to call \code{\link{gtkWidgetShowAll}} on the container, instead of individually showing the widgets.} \usage{gtkWidgetShow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Remember that you have to show the containers containing a widget, in addition to the widget itself, before it will appear onscreen. When a toplevel container is shown, it is immediately realized and mapped; other shown widgets are realized and mapped when their toplevel container is realized and mapped.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentInfoGetPrivateHint.Rd0000644000176000001440000000112012362217677017664 0ustar ripleyusers\alias{gtkRecentInfoGetPrivateHint} \name{gtkRecentInfoGetPrivateHint} \title{gtkRecentInfoGetPrivateHint} \description{Gets the value of the "private" flag. Resources in the recently used list that have this flag set to \code{TRUE} should only be displayed by the applications that have registered them.} \usage{gtkRecentInfoGetPrivateHint(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentInfo}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the private flag was found, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetJustification.Rd0000644000176000001440000000072612362217677020014 0ustar ripleyusers\alias{gtkTextViewSetJustification} \name{gtkTextViewSetJustification} \title{gtkTextViewSetJustification} \description{Sets the default justification of text in \code{text.view}. Tags in the view's buffer may override the default.} \usage{gtkTextViewSetJustification(object, justification)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{justification}}{justification} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Pixbufs.Rd0000644000176000001440000000266512362217677014506 0ustar ripleyusers\alias{gdk-Pixbufs} \name{gdk-Pixbufs} \title{Pixbufs} \description{Functions for rendering pixbufs on drawables} \section{Methods and Functions}{ \code{\link{gdkPixbufRenderThresholdAlpha}(object, bitmap, src.x, src.y, dest.x, dest.y, width = -1, height = -1, alpha.threshold)}\cr \code{\link{gdkPixbufRenderToDrawable}(object, drawable, gc, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)}\cr \code{\link{gdkPixbufRenderToDrawableAlpha}(object, drawable, src.x = 0, src.y = 0, dest.x, dest.y, width = -1, height = -1, alpha.mode = NULL, alpha.threshold = NULL, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)}\cr \code{\link{gdkPixbufRenderPixmapAndMask}(object, alpha.threshold = 127)}\cr \code{\link{gdkPixbufRenderPixmapAndMaskForColormap}(object, colormap, alpha.threshold = 127)}\cr \code{\link{gdkPixbufGetFromDrawable}(dest = NULL, src, cmap = NULL, src.x, src.y, dest.x, dest.y, width, height)}\cr \code{\link{gdkPixbufGetFromImage}(src, cmap, src.x, src.y, dest.x, dest.y, width, height)}\cr } \section{Detailed Description}{These functions allow to render pixbufs on drawables. Pixbufs are client-side images. For details on how to create and manipulate pixbufs, see the \code{\link{GdkPixbuf}} API documentation.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Pixbufs.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerSetLimit.Rd0000644000176000001440000000104612362217677017207 0ustar ripleyusers\alias{gtkRecentManagerSetLimit} \name{gtkRecentManagerSetLimit} \title{gtkRecentManagerSetLimit} \description{Sets the maximum number of item that the \code{\link{gtkRecentManagerGetItems}} function should return. If \code{limit} is set to -1, then return all the items.} \usage{gtkRecentManagerSetLimit(object, limit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{\verb{limit}}{the maximum number of items to return, or -1.} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconSetTooltipText.Rd0000644000176000001440000000124512362217677020012 0ustar ripleyusers\alias{gtkStatusIconSetTooltipText} \name{gtkStatusIconSetTooltipText} \title{gtkStatusIconSetTooltipText} \description{Sets \code{text} as the contents of the tooltip.} \usage{gtkStatusIconSetTooltipText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStatusIcon}}} \item{\verb{text}}{the contents of the tooltip for \code{status.icon}} } \details{This function will take care of setting \verb{"has-tooltip"} to \code{TRUE} and of the default handler for the \verb{"query-tooltip"} signal. See also the \verb{"tooltip-text"} property and \code{\link{gtkTooltipSetText}}. Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterIsStart.Rd0000644000176000001440000000066312362217677016107 0ustar ripleyusers\alias{gtkTextIterIsStart} \name{gtkTextIterIsStart} \title{gtkTextIterIsStart} \description{Returns \code{TRUE} if \code{iter} is the first iterator in the buffer, that is if \code{iter} has a character offset of 0.} \usage{gtkTextIterIsStart(object)} \arguments{\item{\verb{object}}{an iterator}} \value{[logical] whether \code{iter} is the first in the buffer} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetSkipPagerHint.Rd0000644000176000001440000000123512362217677017375 0ustar ripleyusers\alias{gtkWindowSetSkipPagerHint} \name{gtkWindowSetSkipPagerHint} \title{gtkWindowSetSkipPagerHint} \description{Windows may set a hint asking the desktop environment not to display the window in the pager. This function sets this hint. (A "pager" is any desktop navigation tool such as a workspace switcher that displays a thumbnail representation of the windows on the screen.)} \usage{gtkWindowSetSkipPagerHint(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to keep this window from appearing in the pager} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowAddMnemonic.Rd0000644000176000001440000000064612362217677016374 0ustar ripleyusers\alias{gtkWindowAddMnemonic} \name{gtkWindowAddMnemonic} \title{gtkWindowAddMnemonic} \description{Adds a mnemonic to this window.} \usage{gtkWindowAddMnemonic(object, keyval, target)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{keyval}}{the mnemonic} \item{\verb{target}}{the widget that gets activated by the mnemonic} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowHide.Rd0000644000176000001440000000071312362217677015042 0ustar ripleyusers\alias{gdkWindowHide} \name{gdkWindowHide} \title{gdkWindowHide} \description{For toplevel windows, withdraws them, so they will no longer be known to the window manager; for all windows, unmaps them, so they won't be displayed. Normally done automatically as part of \code{\link{gtkWidgetHide}}.} \usage{gdkWindowHide(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetDeletable.Rd0000644000176000001440000000073512362217677016536 0ustar ripleyusers\alias{gtkWindowGetDeletable} \name{gtkWindowGetDeletable} \title{gtkWindowGetDeletable} \description{Returns whether the window has been set to have a close button via \code{\link{gtkWindowSetDeletable}}.} \usage{gtkWindowGetDeletable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Since 2.10} \value{[logical] \code{TRUE} if the window has been set to have a close button} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveCanStartDegraded.Rd0000644000176000001440000000066512362217677016621 0ustar ripleyusers\alias{gDriveCanStartDegraded} \name{gDriveCanStartDegraded} \title{gDriveCanStartDegraded} \description{Checks if a drive can be started degraded.} \usage{gDriveCanStartDegraded(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \details{Since 2.22} \value{[logical] \code{TRUE} if the \code{drive} can be started degraded, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetRemoveAccelerator.Rd0000644000176000001440000000130012362217677017560 0ustar ripleyusers\alias{gtkWidgetRemoveAccelerator} \name{gtkWidgetRemoveAccelerator} \title{gtkWidgetRemoveAccelerator} \description{Removes an accelerator from \code{widget}, previously installed with \code{\link{gtkWidgetAddAccelerator}}.} \usage{gtkWidgetRemoveAccelerator(object, accel.group, accel.key, accel.mods)} \arguments{ \item{\verb{object}}{widget to install an accelerator on} \item{\verb{accel.group}}{accel group for this widget} \item{\verb{accel.key}}{GDK keyval of the accelerator} \item{\verb{accel.mods}}{modifier key combination of the accelerator} } \value{[logical] whether an accelerator was installed and could be removed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSaveToBufferv.Rd0000644000176000001440000000212612362217677016700 0ustar ripleyusers\alias{gdkPixbufSaveToBufferv} \name{gdkPixbufSaveToBufferv} \title{gdkPixbufSaveToBufferv} \description{Saves pixbuf to a new buffer in format \code{type}, which is currently "jpeg", "tiff", "png", "ico" or "bmp". See \code{\link{gdkPixbufSaveToBuffer}} for more details.} \usage{gdkPixbufSaveToBufferv(object, type, option.keys, option.values, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GdkPixbuf}}.} \item{\verb{type}}{name of file format.} \item{\verb{option.keys}}{name of options to set, \code{NULL}-terminated} \item{\verb{option.values}}{values for named options} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] whether an error was set} \item{\verb{buffer}}{location to receive a pointer to the new buffer.} \item{\verb{buffer.size}}{location to receive the size of the new buffer.} \item{\verb{error}}{return location for error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserGetCurrentItem.Rd0000644000176000001440000000105412362217677020405 0ustar ripleyusers\alias{gtkRecentChooserGetCurrentItem} \name{gtkRecentChooserGetCurrentItem} \title{gtkRecentChooserGetCurrentItem} \description{Gets the \code{\link{GtkRecentInfo}} currently selected by \code{chooser}.} \usage{gtkRecentChooserGetCurrentItem(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}} \details{Since 2.10} \value{[\code{\link{GtkRecentInfo}}] a \code{\link{GtkRecentInfo}}. Use \code{\link{gtkRecentInfoUnref}} when when you have finished using it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSelectRecursive.Rd0000644000176000001440000000101712362217677017051 0ustar ripleyusers\alias{gtkCTreeSelectRecursive} \name{gtkCTreeSelectRecursive} \title{gtkCTreeSelectRecursive} \description{ Cause the given node and its subnodes to be selected and emit the appropriate signal(s). \strong{WARNING: \code{gtk_ctree_select_recursive} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSelectRecursive(object, node)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemGetActive.Rd0000644000176000001440000000067612362217677017306 0ustar ripleyusers\alias{gtkCheckMenuItemGetActive} \name{gtkCheckMenuItemGetActive} \title{gtkCheckMenuItemGetActive} \description{Returns whether the check menu item is active. See \code{\link{gtkCheckMenuItemSetActive}}.} \usage{gtkCheckMenuItemGetActive(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}}} \value{[logical] \code{TRUE} if the menu item is checked.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionUnion.Rd0000644000176000001440000000075612362217677015244 0ustar ripleyusers\alias{gdkRegionUnion} \name{gdkRegionUnion} \title{gdkRegionUnion} \description{Sets the area of \code{source1} to the union of the areas of \code{source1} and \code{source2}. The resulting area is the set of pixels contained in either \code{source1} or \code{source2}.} \usage{gdkRegionUnion(object, source2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{source2}}{a \code{\link{GdkRegion}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionUnblockActivateFrom.Rd0000644000176000001440000000151212362217677020057 0ustar ripleyusers\alias{gtkActionUnblockActivateFrom} \name{gtkActionUnblockActivateFrom} \title{gtkActionUnblockActivateFrom} \description{ Re-enables calls to the \code{\link{gtkActionActivate}} function by signals on the given proxy widget. This undoes the blocking done by \code{\link{gtkActionBlockActivateFrom}}. \strong{WARNING: \code{gtk_action_unblock_activate_from} has been deprecated since version 2.16 and should not be used in newly-written code. activatables are now responsible for activating the action directly so this doesnt apply anymore.} } \usage{gtkActionUnblockActivateFrom(object, proxy)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{proxy}}{a proxy widget} } \details{This function is intended for use by action implementations. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentChooserRemoveFilter.Rd0000644000176000001440000000075512362217677020116 0ustar ripleyusers\alias{gtkRecentChooserRemoveFilter} \name{gtkRecentChooserRemoveFilter} \title{gtkRecentChooserRemoveFilter} \description{Removes \code{filter} from the list of \code{\link{GtkRecentFilter}} objects held by \code{chooser}.} \usage{gtkRecentChooserRemoveFilter(object, filter)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentChooser}}} \item{\verb{filter}}{a \code{\link{GtkRecentFilter}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetTooltip.Rd0000644000176000001440000000055212362217677016252 0ustar ripleyusers\alias{gtkActionGetTooltip} \name{gtkActionGetTooltip} \title{gtkActionGetTooltip} \description{Gets the tooltip text of \code{action}.} \usage{gtkActionGetTooltip(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[character] the tooltip text} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkStringMeasure.Rd0000644000176000001440000000130612362217677015570 0ustar ripleyusers\alias{gdkStringMeasure} \name{gdkStringMeasure} \title{gdkStringMeasure} \description{ Determines the distance from the origin to the rightmost portion of a string when drawn. This is not the correct value for determining the origin of the next portion when drawing text in multiple pieces. See \code{\link{gdkStringWidth}}. \strong{WARNING: \code{gdk_string_measure} is deprecated and should not be used in newly-written code.} } \usage{gdkStringMeasure(object, string)} \arguments{ \item{\verb{object}}{a \code{\link{GdkFont}}} \item{\verb{string}}{the string to measure.} } \value{[integer] the right bearing of the string in pixels.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufSimpleAnimNew.Rd0000644000176000001440000000105612362217677016670 0ustar ripleyusers\alias{gdkPixbufSimpleAnimNew} \name{gdkPixbufSimpleAnimNew} \title{gdkPixbufSimpleAnimNew} \description{Creates a new, empty animation.} \usage{gdkPixbufSimpleAnimNew(width, height, rate)} \arguments{ \item{\verb{width}}{the width of the animation} \item{\verb{height}}{the height of the animation} \item{\verb{rate}}{the speed of the animation, in frames per second} } \details{Since 2.8} \value{[\code{\link{GdkPixbufSimpleAnim}}] a newly allocated \code{\link{GdkPixbufSimpleAnim}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetMiterLimit.Rd0000644000176000001440000000057712362217677016060 0ustar ripleyusers\alias{cairoGetMiterLimit} \name{cairoGetMiterLimit} \title{cairoGetMiterLimit} \description{Gets the current miter limit, as set by \code{\link{cairoSetMiterLimit}}.} \usage{cairoGetMiterLimit(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context}} \value{[numeric] the current miter limit.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSizeLookup.Rd0000644000176000001440000000216712362217677015743 0ustar ripleyusers\alias{gtkIconSizeLookup} \name{gtkIconSizeLookup} \title{gtkIconSizeLookup} \description{Obtains the pixel size of a semantic icon size, possibly modified by user preferences for the default \code{\link{GtkSettings}}. (See \code{\link{gtkIconSizeLookupForSettings}}.) Normally \code{size} would be \verb{GTK_ICON_SIZE_MENU}, \verb{GTK_ICON_SIZE_BUTTON}, etc. This function isn't normally needed, \code{\link{gtkWidgetRenderIcon}} is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by \code{\link{gtkIconSizeLookup}}, because themes are free to render the pixbuf however they like, including changing the usual size.} \usage{gtkIconSizeLookup(size)} \arguments{\item{\verb{size}}{an icon size. \emph{[ \acronym{type} int]}}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{size} was a valid size} \item{\verb{width}}{location to store icon width} \item{\verb{height}}{location to store icon height} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamFlushFinish.Rd0000644000176000001440000000130612362217677017300 0ustar ripleyusers\alias{gOutputStreamFlushFinish} \name{gOutputStreamFlushFinish} \title{gOutputStreamFlushFinish} \description{Finishes flushing an output stream.} \usage{gOutputStreamFlushFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{result}}{a GAsyncResult.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if flush operation suceeded, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetCairoContext.Rd0000644000176000001440000000074612362217677020453 0ustar ripleyusers\alias{gtkPrintContextGetCairoContext} \name{gtkPrintContextGetCairoContext} \title{gtkPrintContextGetCairoContext} \description{Obtains the cairo context that is associated with the \code{\link{GtkPrintContext}}.} \usage{gtkPrintContextGetCairoContext(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[\code{\link{Cairo}}] the cairo context of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetPosition.Rd0000644000176000001440000000142412362217677017142 0ustar ripleyusers\alias{atkComponentGetPosition} \name{atkComponentGetPosition} \title{atkComponentGetPosition} \description{Gets the position of \code{component} in the form of a point specifying \code{component}'s top-left corner.} \usage{atkComponentGetPosition(object, coord.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}} \item{\verb{coord.type}}{[\code{\link{AtkCoordType}}] specifies whether the coordinates are relative to the screen or to the components top level window} } \value{ A list containing the following elements: \item{\verb{x}}{[integer] \verb{integer} to put x coordinate position} \item{\verb{y}}{[integer] \verb{integer} to put y coordinate position} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileGetUri.Rd0000644000176000001440000000056712362217677014470 0ustar ripleyusers\alias{gFileGetUri} \name{gFileGetUri} \title{gFileGetUri} \description{Gets the URI for the \code{file}.} \usage{gFileGetUri(object)} \arguments{\item{\verb{object}}{input \code{\link{GFile}}.}} \details{This call does no blocking i/o.} \value{[char] a string containing the \code{\link{GFile}}'s URI.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextGetGravity.Rd0000644000176000001440000000125212362217677016771 0ustar ripleyusers\alias{pangoContextGetGravity} \name{pangoContextGetGravity} \title{pangoContextGetGravity} \description{Retrieves the gravity for the context. This is similar to \code{\link{pangoContextGetBaseGravity}}, except for when the base gravity is \code{PANGO_GRAVITY_AUTO} for which \code{\link{pangoGravityGetForMatrix}} is used to return the gravity from the current context matrix.} \usage{pangoContextGetGravity(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}}} \details{ Since 1.16} \value{[\code{\link{PangoGravity}}] the resolved gravity for the context.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSocketGetPlugWindow.Rd0000644000176000001440000000074712362217677016740 0ustar ripleyusers\alias{gtkSocketGetPlugWindow} \name{gtkSocketGetPlugWindow} \title{gtkSocketGetPlugWindow} \description{Retrieves the window of the plug. Use this to check if the plug has been created inside of the socket.} \usage{gtkSocketGetPlugWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSocket}}.}} \details{Since 2.14} \value{[\code{\link{GdkWindow}}] the window of the plug if available, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSeekableTell.Rd0000644000176000001440000000053612362217677015021 0ustar ripleyusers\alias{gSeekableTell} \name{gSeekableTell} \title{gSeekableTell} \description{Tells the current position within the stream.} \usage{gSeekableTell(object)} \arguments{\item{\verb{object}}{a \code{\link{GSeekable}}.}} \value{[numeric] the offset from the beginning of the buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetAccelGroup.Rd0000644000176000001440000000074612362217677016340 0ustar ripleyusers\alias{gtkMenuGetAccelGroup} \name{gtkMenuGetAccelGroup} \title{gtkMenuGetAccelGroup} \description{Gets the \code{\link{GtkAccelGroup}} which holds global accelerators for the menu. See \code{\link{gtkMenuSetAccelGroup}}.} \usage{gtkMenuGetAccelGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}.}} \value{[\code{\link{GtkAccelGroup}}] the \code{\link{GtkAccelGroup}} associated with the menu.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetTooltipColumn.Rd0000644000176000001440000000104112362217677017730 0ustar ripleyusers\alias{gtkIconViewGetTooltipColumn} \name{gtkIconViewGetTooltipColumn} \title{gtkIconViewGetTooltipColumn} \description{Returns the column of \code{icon.view}'s model which is being used for displaying tooltips on \code{icon.view}'s rows.} \usage{gtkIconViewGetTooltipColumn(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconView}}}} \details{Since 2.12} \value{[integer] the index of the tooltip column that is currently being used, or -1 if this is disabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionOffset.Rd0000644000176000001440000000064512362217677015377 0ustar ripleyusers\alias{gdkRegionOffset} \name{gdkRegionOffset} \title{gdkRegionOffset} \description{Moves a region the specified distance.} \usage{gdkRegionOffset(object, dx, dy)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}} \item{\verb{dx}}{the distance to move the region horizontally} \item{\verb{dy}}{the distance to move the region vertically} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkNoOpObjectNew.Rd0000644000176000001440000000074012362217677015467 0ustar ripleyusers\alias{atkNoOpObjectNew} \name{atkNoOpObjectNew} \title{atkNoOpObjectNew} \description{Provides a default (non-functioning stub) \code{\link{AtkObject}}. Application maintainers should not use this method.} \usage{atkNoOpObjectNew(obj)} \arguments{\item{\verb{obj}}{[\code{\link{GObject}}] a \code{\link{GObject}}}} \value{[\code{\link{AtkObject}}] a default (non-functioning stub) \code{\link{AtkObject}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetFiles.Rd0000644000176000001440000000123112362217677016642 0ustar ripleyusers\alias{gtkFileChooserGetFiles} \name{gtkFileChooserGetFiles} \title{gtkFileChooserGetFiles} \description{Lists all the selected files and subfolders in the current folder of \code{chooser} as \code{\link{GFile}}. An internal function, see \code{\link{gtkFileChooserGetUris}}.} \usage{gtkFileChooserGetFiles(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.14} \value{[list] a \verb{list} containing a \code{\link{GFile}} for each selected file and subfolder in the current folder. \emph{[ \acronym{element-type} utf8][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolItemGetHomogeneous.Rd0000644000176000001440000000101012362217677017415 0ustar ripleyusers\alias{gtkToolItemGetHomogeneous} \name{gtkToolItemGetHomogeneous} \title{gtkToolItemGetHomogeneous} \description{Returns whether \code{tool.item} is the same size as other homogeneous items. See \code{\link{gtkToolItemSetHomogeneous}}.} \usage{gtkToolItemGetHomogeneous(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolItem}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the item is the same size as other homogeneous items.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonSetUseUnderline.Rd0000644000176000001440000000156112362217677020133 0ustar ripleyusers\alias{gtkToolButtonSetUseUnderline} \name{gtkToolButtonSetUseUnderline} \title{gtkToolButtonSetUseUnderline} \description{If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. For example, if the label property is "_Open" and \code{use.underline} is \code{TRUE}, the label on the tool button will be "Open" and the item on the overflow menu will have an underlined 'O'.} \usage{gtkToolButtonSetUseUnderline(object, use.underline)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolButton}}} \item{\verb{use.underline}}{whether the button label has the form "_Open"} } \details{Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu. Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMountOperationSetScreen.Rd0000644000176000001440000000070612362217677017622 0ustar ripleyusers\alias{gtkMountOperationSetScreen} \name{gtkMountOperationSetScreen} \title{gtkMountOperationSetScreen} \description{Sets the screen to show windows of the \code{\link{GtkMountOperation}} on.} \usage{gtkMountOperationSetScreen(object, screen)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMountOperation}}} \item{\verb{screen}}{a \code{\link{GdkScreen}}} } \details{Since 2.14} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDragStatus.Rd0000644000176000001440000000121612362217677015061 0ustar ripleyusers\alias{gdkDragStatus} \name{gdkDragStatus} \title{gdkDragStatus} \description{Selects one of the actions offered by the drag source.} \usage{gdkDragStatus(object, action, time = "GDK_CURRENT_TIME")} \arguments{ \item{\verb{object}}{a \code{\link{GdkDragContext}}.} \item{\verb{action}}{the selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted.} \item{\verb{time}}{the timestamp for this operation.} } \details{This function is called by the drag destination in response to \code{\link{gdkDragMotion}} called by the drag source.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetSingleLineMode.Rd0000644000176000001440000000071512362217677017275 0ustar ripleyusers\alias{gtkLabelSetSingleLineMode} \name{gtkLabelSetSingleLineMode} \title{gtkLabelSetSingleLineMode} \description{Sets whether the label is in single line mode.} \usage{gtkLabelSetSingleLineMode(object, single.line.mode)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{single.line.mode}}{\code{TRUE} if the label should be in single line mode} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupSetPaperSizeAndDefaultMargins.Rd0000644000176000001440000000104112362217677022461 0ustar ripleyusers\alias{gtkPageSetupSetPaperSizeAndDefaultMargins} \name{gtkPageSetupSetPaperSizeAndDefaultMargins} \title{gtkPageSetupSetPaperSizeAndDefaultMargins} \description{Sets the paper size of the \code{\link{GtkPageSetup}} and modifies the margins according to the new paper size.} \usage{gtkPageSetupSetPaperSizeAndDefaultMargins(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{size}}{a \code{\link{GtkPaperSize}}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTestSliderGetValue.Rd0000644000176000001440000000123412362217677016537 0ustar ripleyusers\alias{gtkTestSliderGetValue} \name{gtkTestSliderGetValue} \title{gtkTestSliderGetValue} \description{Retrive the literal adjustment value for GtkRange based widgets and spin buttons. Note that the value returned by this function is anything between the lower and upper bounds of the adjustment belonging to \code{widget}, and is not a percentage as passed in to \code{\link{gtkTestSliderSetPerc}}.} \usage{gtkTestSliderGetValue(widget)} \arguments{\item{\verb{widget}}{valid widget pointer.}} \details{Since 2.14} \value{[numeric] adjustment->value for an adjustment belonging to \code{widget}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragSetDefaultIcon.Rd0000644000176000001440000000170212362217677016467 0ustar ripleyusers\alias{gtkDragSetDefaultIcon} \name{gtkDragSetDefaultIcon} \title{gtkDragSetDefaultIcon} \description{ Changes the default drag icon. GTK+ retains references for the arguments, and will release them when they are no longer needed. \strong{WARNING: \code{gtk_drag_set_default_icon} is deprecated and should not be used in newly-written code. Change the default drag icon via the stock system by changing the stock pixbuf for \verb{GTK_STOCK_DND} instead.} } \usage{gtkDragSetDefaultIcon(colormap, pixmap, mask, hot.x, hot.y)} \arguments{ \item{\verb{colormap}}{the colormap of the icon} \item{\verb{pixmap}}{the image data for the icon} \item{\verb{mask}}{the transparency mask for an image, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{hot.x}}{The X offset within \code{widget} of the hotspot.} \item{\verb{hot.y}}{The Y offset within \code{widget} of the hotspot.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTextRemoveSelection.Rd0000644000176000001440000000137712362217677016772 0ustar ripleyusers\alias{atkTextRemoveSelection} \name{atkTextRemoveSelection} \title{atkTextRemoveSelection} \description{Removes the specified selection.} \usage{atkTextRemoveSelection(object, selection.num)} \arguments{ \item{\verb{object}}{[\code{\link{AtkText}}] an \code{\link{AtkText}}} \item{\verb{selection.num}}{[integer] The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.} } \value{[logical] \code{TRUE} if success, \code{FALSE} otherwise} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetEnableSearch.Rd0000644000176000001440000000070612362217677017452 0ustar ripleyusers\alias{gtkTreeViewGetEnableSearch} \name{gtkTreeViewGetEnableSearch} \title{gtkTreeViewGetEnableSearch} \description{Returns whether or not the tree allows to start interactive searching by typing in text.} \usage{gtkTreeViewGetEnableSearch(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[logical] whether or not to let the user search interactively} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontLoadForDisplay.Rd0000644000176000001440000000136712362217677016512 0ustar ripleyusers\alias{gdkFontLoadForDisplay} \name{gdkFontLoadForDisplay} \title{gdkFontLoadForDisplay} \description{ Loads a font for use on \code{display}. \strong{WARNING: \code{gdk_font_load_for_display} is deprecated and should not be used in newly-written code.} } \usage{gdkFontLoadForDisplay(display, font.name)} \arguments{ \item{\verb{display}}{a \code{\link{GdkDisplay}}} \item{\verb{font.name}}{a XLFD describing the font to load.} } \details{The font may be newly loaded or looked up the font in a cache. You should make no assumptions about the initial reference count. Since 2.2} \value{[\code{\link{GdkFont}}] a \code{\link{GdkFont}}, or \code{NULL} if the font could not be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMenuGetTitle.Rd0000644000176000001440000000062612362217677015372 0ustar ripleyusers\alias{gtkMenuGetTitle} \name{gtkMenuGetTitle} \title{gtkMenuGetTitle} \description{Returns the title of the menu. See \code{\link{gtkMenuSetTitle}}.} \usage{gtkMenuGetTitle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkMenu}}}} \value{[character] the title of the menu, or \code{NULL} if the menu has no title set on it.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkFontFromDescriptionForDisplay.Rd0000644000176000001440000000174112362217677020736 0ustar ripleyusers\alias{gdkFontFromDescriptionForDisplay} \name{gdkFontFromDescriptionForDisplay} \title{gdkFontFromDescriptionForDisplay} \description{ Loads a \code{\link{GdkFont}} based on a Pango font description for use on \code{display}. This font will only be an approximation of the Pango font, and internationalization will not be handled correctly. This function should only be used for legacy code that cannot be easily converted to use Pango. Using Pango directly will produce better results. \strong{WARNING: \code{gdk_font_from_description_for_display} is deprecated and should not be used in newly-written code.} } \usage{gdkFontFromDescriptionForDisplay(display, font.desc)} \arguments{ \item{\verb{display}}{a \code{\link{GdkDisplay}}} \item{\verb{font.desc}}{a \code{\link{PangoFontDescription}}.} } \details{Since 2.2} \value{[\code{\link{GdkFont}}] the newly loaded font, or \code{NULL} if the font cannot be loaded.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkObjectConnectPropertyChangeHandler.Rd0000644000176000001440000000123512362217677021704 0ustar ripleyusers\alias{atkObjectConnectPropertyChangeHandler} \name{atkObjectConnectPropertyChangeHandler} \title{atkObjectConnectPropertyChangeHandler} \description{Specifies a function to be called when a property changes value.} \usage{atkObjectConnectPropertyChangeHandler(object, handler)} \arguments{ \item{\verb{object}}{[\code{\link{AtkObject}}] an \code{\link{AtkObject}}} \item{\verb{handler}}{[AtkPropertyChangeHandler] a function to be called when a property changes its value} } \value{[numeric] a \verb{numeric} which is the handler id used in \code{\link{atkObjectRemovePropertyChangeHandler}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkItemFactory.Rd0000644000176000001440000000730012362217677015206 0ustar ripleyusers\alias{GtkItemFactory} \alias{GtkItemFactoryEntry} \alias{gtkItemFactory} \alias{GtkPrintFunc} \alias{GtkTranslateFunc} \alias{GtkItemFactoryCallback} \alias{GtkItemFactoryCallback1} \alias{GtkItemFactoryCallback2} \name{GtkItemFactory} \title{GtkItemFactory} \description{A factory for menus} \section{Methods and Functions}{ \code{\link{gtkItemFactoryNew}(container.type, path, accel.group = NULL)}\cr \code{\link{gtkItemFactoryConstruct}(object, container.type, path, accel.group)}\cr \code{\link{gtkItemFactoryAddForeign}(accel.widget, full.path, accel.group, keyval, modifiers)}\cr \code{\link{gtkItemFactoryFromWidget}(widget)}\cr \code{\link{gtkItemFactoryPathFromWidget}(widget)}\cr \code{\link{gtkItemFactoryGetItem}(object, path)}\cr \code{\link{gtkItemFactoryGetWidget}(object, path)}\cr \code{\link{gtkItemFactoryGetWidgetByAction}(object, action)}\cr \code{\link{gtkItemFactoryGetItemByAction}(object, action)}\cr \code{\link{gtkItemFactoryCreateItem}(object, entry, callback.data = NULL, callback.type)}\cr \code{\link{gtkItemFactoryCreateItems}(object, entries, callback.data = NULL)}\cr \code{\link{gtkItemFactoryCreateItemsAc}(object, entries, callback.data, callback.type)}\cr \code{\link{gtkItemFactoryDeleteItem}(object, path)}\cr \code{\link{gtkItemFactoryDeleteEntry}(object, entry)}\cr \code{\link{gtkItemFactoryDeleteEntries}(object, entries)}\cr \code{\link{gtkItemFactoryPopup}(object, x, y, mouse.button, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkItemFactoryPopupWithData}(object, popup.data, x, y, mouse.button, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkItemFactoryPopupData}(object)}\cr \code{\link{gtkItemFactoryPopupDataFromWidget}(widget)}\cr \code{\link{gtkItemFactoryFromPath}(path)}\cr \code{\link{gtkItemFactoryCreateMenuEntries}(entries)}\cr \code{\link{gtkItemFactoriesPathDelete}(ifactory.path, path)}\cr \code{\link{gtkItemFactorySetTranslateFunc}(object, func, data = NULL)}\cr \code{gtkItemFactory(container.type, path, accel.group = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkItemFactory}} \section{Detailed Description}{As of GTK+ 2.4, \code{\link{GtkItemFactory}} has been deprecated in favour of \code{\link{GtkUIManager}}.} \section{Structures}{\describe{ \item{\verb{GtkItemFactory}}{ \strong{WARNING: \code{GtkItemFactory} is deprecated and should not be used in newly-written code.} \emph{undocumented } } \item{\verb{GtkItemFactoryEntry}}{ \strong{WARNING: \code{GtkItemFactoryEntry} is deprecated and should not be used in newly-written code.} \emph{undocumented } \strong{\verb{GtkItemFactoryEntry} is a \link{transparent-type}.} } }} \section{Convenient Construction}{\code{gtkItemFactory} is the equivalent of \code{\link{gtkItemFactoryNew}}.} \section{User Functions}{\describe{ \item{\code{GtkPrintFunc()}}{ \emph{undocumented } } \item{\code{GtkTranslateFunc(path, func.data)}}{ The function used to translate messages in e.g. \code{\link{GtkIconFactory}} and \code{\link{GtkActionGroup}}. \describe{ \item{\code{path}}{The id of the message. In \code{\link{GtkItemFactory}} this will be a path from a \code{\link{GtkItemFactoryEntry}}, in \code{\link{GtkActionGroup}}, it will be a label or tooltip from a \code{\link{GtkActionEntry}}.} \item{\code{func.data}}{user data passed in when registering the function} } \emph{Returns:} [character] the translated message } \item{\code{GtkItemFactoryCallback()}}{ \emph{undocumented } } \item{\code{GtkItemFactoryCallback1()}}{ \emph{undocumented } } \item{\code{GtkItemFactoryCallback2()}}{ \emph{undocumented } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkItemFactory.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRcParsePriority.Rd0000644000176000001440000000124212362217677016120 0ustar ripleyusers\alias{gtkRcParsePriority} \name{gtkRcParsePriority} \title{gtkRcParsePriority} \description{Parses a \code{\link{GtkPathPriorityType}} variable from the format expected in a RC file.} \usage{gtkRcParsePriority(scanner)} \arguments{\item{\verb{scanner}}{a \verb{GtkScanner} (must be initialized for parsing an RC file)}} \value{ A list containing the following elements: \item{retval}{[numeric] \code{G_TOKEN_NONE} if parsing succeeded, otherwise the token that was expected but not found.} \item{\verb{priority}}{A pointer to \code{\link{GtkPathPriorityType}} variable in which to store the result.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteSetExpand.Rd0000644000176000001440000000101512362217677017065 0ustar ripleyusers\alias{gtkToolPaletteSetExpand} \name{gtkToolPaletteSetExpand} \title{gtkToolPaletteSetExpand} \description{Sets whether the group should be given extra space.} \usage{gtkToolPaletteSetExpand(object, group, expand)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}} which is a child of palette} \item{\verb{expand}}{whether the group should be given extra space} } \details{Since 2.20} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-scaling.Rd0000644000176000001440000001354012362217677015773 0ustar ripleyusers\alias{gdk-pixbuf-scaling} \alias{GdkInterpType} \alias{GdkPixbufRotation} \name{gdk-pixbuf-scaling} \title{Scaling} \description{Scaling pixbufs and scaling and compositing pixbufs} \section{Methods and Functions}{ \code{\link{gdkPixbufScaleSimple}(object, dest.width, dest.height, interp.type)}\cr \code{\link{gdkPixbufScale}(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type)}\cr \code{\link{gdkPixbufCompositeColorSimple}(object, dest.width, dest.height, interp.type, overall.alpha, check.size, color1, color2)}\cr \code{\link{gdkPixbufComposite}(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha)}\cr \code{\link{gdkPixbufCompositeColor}(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha, check.x, check.y, check.size, color1, color2)}\cr \code{\link{gdkPixbufRotateSimple}(object, angle)}\cr \code{\link{gdkPixbufFlip}(object, horizontal)}\cr } \section{Detailed Description}{ The \command{gdk-pixbuf} contains functions to scale pixbufs, to scale pixbufs and composite against an existing image, and to scale pixbufs and composite against a solid color or checkerboard. Compositing a checkerboard is a common way to show an image with an alpha channel in image-viewing and editing software. Since the full-featured functions (\code{\link{gdkPixbufScale}}, \code{\link{gdkPixbufComposite}}, and \code{\link{gdkPixbufCompositeColor}}) are rather complex to use and have many arguments, two simple convenience functions are provided, \code{\link{gdkPixbufScaleSimple}} and \code{\link{gdkPixbufCompositeColorSimple}} which create a new pixbuf of a given size, scale an original image to fit, and then return the new pixbuf. Scaling and compositing functions take advantage of MMX hardware acceleration on systems where MMX is supported. If gdk-pixbuf is built with the Sun mediaLib library, these functions are instead accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable. The following example demonstrates handling an expose event by rendering the appropriate area of a source image (which is scaled to fit the widget) onto the widget's window. The source image is rendered against a checkerboard, which provides a visual representation of the alpha channel if the image has one. If the image doesn't have an alpha channel, calling \code{\link{gdkPixbufCompositeColor}} function has exactly the same effect as calling \code{\link{gdkPixbufScale}}. \emph{Handling an expose event.} \preformatted{ expose_cb <- function(widget, event, data) { dest <- gdkPixbuf(color = "rgb", has.alpha = FALSE, bits = 8, w = event[["area"]]$width, h = event[["area"]]$height) area <- event[["area"]] pixbuf$compositeColor(dest, 0, 0, area$width, area$height, -area$x, -area$y, widget[["allocation"]]$width / pixbuf$getWidth(), widget[["allocation"]]$height / pixbuf$getHeight(), "bilinear", 255, area$x, area$y, 16, 0xaaaaaa, 0x555555) dest$renderToDrawable(widget[["window"]], widget[["style"]][["fgGc"]][[GtkStateType["normal"]+1]], 0, 0, area$x, area$y, area$width, area$height, "normal", area$x, area$y) return(TRUE) } }} \section{Enums and Flags}{\describe{ \item{\verb{GdkInterpType}}{ This enumeration describes the different interpolation modes that can be used with the scaling functions. \code{GDK.INTERP.NEAREST} is the fastest scaling method, but has horrible quality when scaling down. \code{GDK.INTERP.BILINEAR} is the best choice if you aren't sure what to choose, it has a good speed/quality balance. \strong{PLEASE NOTE:} Cubic filtering is missing from the list; hyperbolic interpolation is just as fast and results in higher quality. \describe{ \item{\verb{nearest}}{Nearest neighbor sampling; this is the fastest and lowest quality mode. Quality is normally unacceptable when scaling down, but may be OK when scaling up.} \item{\verb{tiles}}{This is an accurate simulation of the PostScript image operator without any interpolation enabled. Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction.} \item{\verb{bilinear}}{Best quality/speed balance; use this mode by default. Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area.} \item{\verb{hyper}}{This is the slowest and highest quality reconstruction function. It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping).} } } \item{\verb{GdkPixbufRotation}}{ The possible rotations which can be passed to \code{\link{gdkPixbufRotateSimple}}. To make them easier to use, their numerical values are the actual degrees. \describe{ \item{\verb{none}}{No rotation.} \item{\verb{counterclockwise}}{Rotate by 90 degrees.} \item{\verb{upsidedown}}{Rotate by 180 degrees.} \item{\verb{clockwise}}{Rotate by 270 degrees.} } } }} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-scaling.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterBackwardLines.Rd0000644000176000001440000000157612362217677017233 0ustar ripleyusers\alias{gtkTextIterBackwardLines} \name{gtkTextIterBackwardLines} \title{gtkTextIterBackwardLines} \description{Moves \code{count} lines backward, if possible (if \code{count} would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then \code{FALSE} is returned. If \code{count} is 0, the function does nothing and returns \code{FALSE}. If \code{count} is negative, moves forward by 0 - \code{count} lines.} \usage{gtkTextIterBackwardLines(object, count)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextIter}}} \item{\verb{count}}{number of lines to move backward} } \value{[logical] whether \code{iter} moved and is dereferenceable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVScale.Rd0000644000176000001440000000324312362217677014137 0ustar ripleyusers\alias{GtkVScale} \alias{gtkVScale} \name{GtkVScale} \title{GtkVScale} \description{A vertical slider widget for selecting a value from a range} \section{Methods and Functions}{ \code{\link{gtkVScaleNew}(adjustment = NULL, show = TRUE)}\cr \code{\link{gtkVScaleNewWithRange}(min, max, step, show = TRUE)}\cr \code{gtkVScale(adjustment = NULL, min, max, step, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GtkVScale}} \section{Interfaces}{GtkVScale implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{The \code{\link{GtkVScale}} widget is used to allow the user to select a value using a vertical slider. To create one, use \code{\link{gtkHScaleNewWithRange}}. The position to show the current value, and the number of decimal places shown can be set using the parent \code{\link{GtkScale}} class's functions.} \section{Structures}{\describe{\item{\verb{GtkVScale}}{ The \code{\link{GtkVScale}} struct contains private data only, and should be accessed using the functions below. }}} \section{Convenient Construction}{\code{gtkVScale} is the result of collapsing the constructors of \code{GtkVScale} (\code{\link{gtkVScaleNew}}, \code{\link{gtkVScaleNewWithRange}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gtk/GtkVScale.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontDescriptionSetFamily.Rd0000644000176000001440000000134512362217677020272 0ustar ripleyusers\alias{pangoFontDescriptionSetFamily} \name{pangoFontDescriptionSetFamily} \title{pangoFontDescriptionSetFamily} \description{Sets the family name field of a font description. The family name represents a family of related font styles, and will resolve to a particular \code{\link{PangoFontFamily}}. In some uses of \code{\link{PangoFontDescription}}, it is also possible to use a comma separated list of family names for this field.} \usage{pangoFontDescriptionSetFamily(object, family)} \arguments{ \item{\verb{object}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}}.} \item{\verb{family}}{[char] a string representing the family name.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetWrapLicense.Rd0000644000176000001440000000071512362217677020012 0ustar ripleyusers\alias{gtkAboutDialogGetWrapLicense} \name{gtkAboutDialogGetWrapLicense} \title{gtkAboutDialogGetWrapLicense} \description{Returns whether the license text in \code{about} is automatically wrapped.} \usage{gtkAboutDialogGetWrapLicense(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.8} \value{[logical] \code{TRUE} if the license text is wrapped} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserRemoveShortcutFolderUri.Rd0000644000176000001440000000164312362217677021754 0ustar ripleyusers\alias{gtkFileChooserRemoveShortcutFolderUri} \name{gtkFileChooserRemoveShortcutFolderUri} \title{gtkFileChooserRemoveShortcutFolderUri} \description{Removes a folder URI from a file chooser's list of shortcut folders.} \usage{gtkFileChooserRemoveShortcutFolderUri(object, uri, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{uri}}{URI of the folder to remove} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.4} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the operation succeeds, \code{FALSE} otherwise. In the latter case, the \code{error} will be set as appropriate. See also: \code{\link{gtkFileChooserAddShortcutFolderUri}}} \item{\verb{error}}{location to store error, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetSelectionInfo.Rd0000644000176000001440000000156312362217677017165 0ustar ripleyusers\alias{gtkCListGetSelectionInfo} \name{gtkCListGetSelectionInfo} \title{gtkCListGetSelectionInfo} \description{ Gets the row and column at the specified pixel position in the CList. \strong{WARNING: \code{gtk_clist_get_selection_info} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetSelectionInfo(object, x, y)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{x}}{The horizontal pixel position to check.} \item{\verb{y}}{The vertical pixel position to check..} } \value{ A list containing the following elements: \item{retval}{[integer] 1 if row/column is returned and in range, 0 otherwise.} \item{\verb{row}}{Pointer to a \verb{integer} to store the row value.} \item{\verb{column}}{Pointer to a \verb{integer} to store the column value.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGroupAddWindow.Rd0000644000176000001440000000062112362217677017104 0ustar ripleyusers\alias{gtkWindowGroupAddWindow} \name{gtkWindowGroupAddWindow} \title{gtkWindowGroupAddWindow} \description{Adds a window to a \code{\link{GtkWindowGroup}}.} \usage{gtkWindowGroupAddWindow(object, window)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindowGroup}}} \item{\verb{window}}{the \code{\link{GtkWindow}} to add} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLayoutSetSize.Rd0000644000176000001440000000065512362217677015612 0ustar ripleyusers\alias{gtkLayoutSetSize} \name{gtkLayoutSetSize} \title{gtkLayoutSetSize} \description{Sets the size of the scrollable area of the layout.} \usage{gtkLayoutSetSize(object, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLayout}}} \item{\verb{width}}{width of entire scrollable area} \item{\verb{height}}{height of entire scrollable area} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkValueGetCurrentValue.Rd0000644000176000001440000000077112362217677017073 0ustar ripleyusers\alias{atkValueGetCurrentValue} \name{atkValueGetCurrentValue} \title{atkValueGetCurrentValue} \description{Gets the value of this object.} \usage{atkValueGetCurrentValue(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkValue}}] a GObject instance that implements AtkValueIface}} \value{ A list containing the following elements: \item{\verb{value}}{[R object] a \verb{R object} representing the current accessible value} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookGetGroupId.Rd0000644000176000001440000000113312362217677016530 0ustar ripleyusers\alias{gtkNotebookGetGroupId} \name{gtkNotebookGetGroupId} \title{gtkNotebookGetGroupId} \description{ Gets the current group identificator for \code{notebook}. \strong{WARNING: \code{gtk_notebook_get_group_id} has been deprecated since version 2.12 and should not be used in newly-written code. use \code{\link{gtkNotebookGetGroup}} instead.} } \usage{gtkNotebookGetGroupId(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkNotebook}}}} \details{Since 2.10} \value{[integer] the group identificator, or -1 if none is set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGetDuplex.Rd0000644000176000001440000000067612362217677017470 0ustar ripleyusers\alias{gtkPrintSettingsGetDuplex} \name{gtkPrintSettingsGetDuplex} \title{gtkPrintSettingsGetDuplex} \description{Gets the value of \code{GTK_PRINT_SETTINGS_DUPLEX}.} \usage{gtkPrintSettingsGetDuplex(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintSettings}}}} \details{Since 2.10} \value{[\code{\link{GtkPrintDuplex}}] whether to print the output in duplex.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkExpanderGetUseMarkup.Rd0000644000176000001440000000100712362217677017061 0ustar ripleyusers\alias{gtkExpanderGetUseMarkup} \name{gtkExpanderGetUseMarkup} \title{gtkExpanderGetUseMarkup} \description{Returns whether the label's text is interpreted as marked up with the Pango text markup language. See \code{\link{gtkExpanderSetUseMarkup}}.} \usage{gtkExpanderGetUseMarkup(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkExpander}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if the label's text will be parsed for markup} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawArc.Rd0000644000176000001440000000217112362217677014324 0ustar ripleyusers\alias{gdkDrawArc} \name{gdkDrawArc} \title{gdkDrawArc} \description{Draws an arc or a filled 'pie slice'. The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn.} \usage{gdkDrawArc(object, gc, filled, x, y, width, height, angle1, angle2)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}} (a \code{\link{GdkWindow}} or a \code{\link{GdkPixmap}}).} \item{\verb{gc}}{a \code{\link{GdkGC}}.} \item{\verb{filled}}{\code{TRUE} if the arc should be filled, producing a 'pie slice'.} \item{\verb{x}}{the x coordinate of the left edge of the bounding rectangle.} \item{\verb{y}}{the y coordinate of the top edge of the bounding rectangle.} \item{\verb{width}}{the width of the bounding rectangle.} \item{\verb{height}}{the height of the bounding rectangle.} \item{\verb{angle1}}{the start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree.} \item{\verb{angle2}}{the end angle of the arc, relative to \code{angle1}, in 1/64ths of a degree.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionEmpty.Rd0000644000176000001440000000054012362217677015241 0ustar ripleyusers\alias{gdkRegionEmpty} \name{gdkRegionEmpty} \title{gdkRegionEmpty} \description{Finds out if the \code{\link{GdkRegion}} is empty.} \usage{gdkRegionEmpty(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkRegion}}}} \value{[logical] \code{TRUE} if \code{region} is empty.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkBuildableCustomTagStart.Rd0000644000176000001440000000157512362217677017560 0ustar ripleyusers\alias{gtkBuildableCustomTagStart} \name{gtkBuildableCustomTagStart} \title{gtkBuildableCustomTagStart} \description{This is called for each unknown element under .} \usage{gtkBuildableCustomTagStart(object, builder, child, tagname, parser, data)} \arguments{ \item{\verb{object}}{a \code{\link{GtkBuildable}}} \item{\verb{builder}}{a \code{\link{GtkBuilder}} used to construct this object} \item{\verb{child}}{child object or \code{NULL} for non-child tags. \emph{[ \acronym{allow-none} ]}} \item{\verb{tagname}}{name of tag} \item{\verb{parser}}{a \verb{GMarkupParser} structure to fill in} \item{\verb{data}}{return location for user data that will be passed in to parser functions} } \details{Since 2.12} \value{[logical] \code{TRUE} if a object has a custom implementation, \code{FALSE} if it doesn't.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetLevelIndentation.Rd0000644000176000001440000000107012362217677020375 0ustar ripleyusers\alias{gtkTreeViewGetLevelIndentation} \name{gtkTreeViewGetLevelIndentation} \title{gtkTreeViewGetLevelIndentation} \description{Returns the amount, in pixels, of extra indentation for child levels in \code{tree.view}.} \usage{gtkTreeViewGetLevelIndentation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTreeView}}.}} \details{Since 2.12} \value{[integer] the amount of extra indentation for child levels in \code{tree.view}. A return value of 0 means that this feature is disabled.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAboutDialogGetArtists.Rd0000644000176000001440000000071212362217677017224 0ustar ripleyusers\alias{gtkAboutDialogGetArtists} \name{gtkAboutDialogGetArtists} \title{gtkAboutDialogGetArtists} \description{Returns the string which are displayed in the artists tab of the secondary credits dialog.} \usage{gtkAboutDialogGetArtists(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAboutDialog}}}} \details{Since 2.6} \value{[character] A string list containing the artists.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetStyleGet.Rd0000644000176000001440000000056012362217677015725 0ustar ripleyusers\alias{gtkWidgetStyleGet} \name{gtkWidgetStyleGet} \title{gtkWidgetStyleGet} \description{Gets the values of a multiple style properties of \code{widget}.} \usage{gtkWidgetStyleGet(object, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{...}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetIsHidden.Rd0000644000176000001440000000057512362217677016233 0ustar ripleyusers\alias{gFileInfoGetIsHidden} \name{gFileInfoGetIsHidden} \title{gFileInfoGetIsHidden} \description{Checks if a file is hidden.} \usage{gFileInfoGetIsHidden(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[logical] \code{TRUE} if the file is a hidden file, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetHideAll.Rd0000644000176000001440000000045612362217677015473 0ustar ripleyusers\alias{gtkWidgetHideAll} \name{gtkWidgetHideAll} \title{gtkWidgetHideAll} \description{Recursively hides a widget and any child widgets.} \usage{gtkWidgetHideAll(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetDefaultDirection.Rd0000644000176000001440000000072712362217677020073 0ustar ripleyusers\alias{gtkWidgetSetDefaultDirection} \name{gtkWidgetSetDefaultDirection} \title{gtkWidgetSetDefaultDirection} \description{Sets the default reading direction for widgets where the direction has not been explicitly set by \code{\link{gtkWidgetSetDirection}}.} \usage{gtkWidgetSetDefaultDirection(dir)} \arguments{\item{\verb{dir}}{the new default direction. This cannot be \code{GTK_TEXT_DIR_NONE}.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkToggleButton.Rd0000644000176000001440000001025212362217677015375 0ustar ripleyusers\alias{GtkToggleButton} \alias{gtkToggleButton} \name{GtkToggleButton} \title{GtkToggleButton} \description{Create buttons which retain their state} \section{Methods and Functions}{ \code{\link{gtkToggleButtonNew}(show = TRUE)}\cr \code{\link{gtkToggleButtonNewWithLabel}(label, show = TRUE)}\cr \code{\link{gtkToggleButtonNewWithMnemonic}(label, show = TRUE)}\cr \code{\link{gtkToggleButtonSetMode}(object, draw.indicator)}\cr \code{\link{gtkToggleButtonGetMode}(object)}\cr \code{\link{gtkToggleButtonToggled}(object)}\cr \code{\link{gtkToggleButtonGetActive}(object)}\cr \code{\link{gtkToggleButtonSetActive}(object, is.active)}\cr \code{\link{gtkToggleButtonGetInconsistent}(object)}\cr \code{\link{gtkToggleButtonSetInconsistent}(object, setting)}\cr \code{gtkToggleButton(label, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkToggleButton +----GtkCheckButton}} \section{Interfaces}{GtkToggleButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{A \code{\link{GtkToggleButton}} is a \code{\link{GtkButton}} which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state. A toggle button is created by calling either \code{\link{gtkToggleButtonNew}} or \code{\link{gtkToggleButtonNewWithLabel}}. If using the former, it is advisable to pack a widget, (such as a \code{\link{GtkLabel}} and/or a \code{\link{GtkPixmap}}), into the toggle button's container. (See \code{\link{GtkButton}} for more information). The state of a \code{\link{GtkToggleButton}} can be set specifically using \code{\link{gtkToggleButtonSetActive}}, and retrieved using \code{\link{gtkToggleButtonGetActive}}. To simply switch the state of a toggle button, use gtk_toggle_button_toggled. \emph{Creating two \code{GtkToggleButton} widgets.} \preformatted{ # Let's make two toggle buttons make_toggles <- function() { dialog <- gtkDialog(show = F) toggle1 <- gtkToggleButton("Hi, i'm a toggle button.") ## Makes this toggle button invisible toggle1$setMode(TRUE) gSignalConnect(toggle1, "toggled", output_state) dialog[["actionArea"]]$packStart(toggle1, FALSE, FALSE, 2) toggle2 <- gtkToggleButton("Hi, i'm another button.") toggle2$setMode(FALSE) gSignalConnect(toggle2, "toggled", output_state) dialog[["actionArea"]]$packStart(toggle2, FALSE, FALSE, 2) dialog$showAll() } }} \section{Structures}{\describe{\item{\verb{GtkToggleButton}}{ The \code{\link{GtkToggleButton}} struct contains private data only, and should be manipulated using the functions below. \describe{\item{\verb{drawIndicator}}{[logical] }} }}} \section{Convenient Construction}{\code{gtkToggleButton} is the result of collapsing the constructors of \code{GtkToggleButton} (\code{\link{gtkToggleButtonNew}}, \code{\link{gtkToggleButtonNewWithLabel}}, \code{\link{gtkToggleButtonNewWithMnemonic}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{toggled(togglebutton, user.data)}}{ Should be connected if you wish to perform an action whenever the \code{\link{GtkToggleButton}}'s state is changed. \describe{ \item{\code{togglebutton}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{active} [logical : Read / Write]}{ If the toggle button should be pressed in or not. Default value: FALSE } \item{\verb{draw-indicator} [logical : Read / Write]}{ If the toggle part of the button is displayed. Default value: FALSE } \item{\verb{inconsistent} [logical : Read / Write]}{ If the toggle button is in an "in between" state. Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gtk/GtkToggleButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStreamableContentGetStream.Rd0000644000176000001440000000113612362217677020241 0ustar ripleyusers\alias{atkStreamableContentGetStream} \name{atkStreamableContentGetStream} \title{atkStreamableContentGetStream} \description{Gets the content in the specified mime type.} \usage{atkStreamableContentGetStream(object, mime.type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStreamableContent}}] a GObject instance that implements AtkStreamableContentIface} \item{\verb{mime.type}}{[character] a gchar* representing the mime type} } \value{[GIOChannel] A \verb{GIOChannel} which contains the content in the specified mime type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeStoreSetColumnTypes.Rd0000644000176000001440000000132512362217677017614 0ustar ripleyusers\alias{gtkTreeStoreSetColumnTypes} \name{gtkTreeStoreSetColumnTypes} \title{gtkTreeStoreSetColumnTypes} \description{This function is meant primarily for \verb{GObjects} that inherit from \code{\link{GtkTreeStore}}, and should only be used when constructing a new \code{\link{GtkTreeStore}}. It will not function after a row has been added, or a method on the \code{\link{GtkTreeModel}} interface is called.} \usage{gtkTreeStoreSetColumnTypes(object, types)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeStore}}} \item{\verb{types}}{An list of \code{\link{GType}} types, one for each column. \emph{[ \acronym{array} length=n_columns]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketClientSetFamily.Rd0000644000176000001440000000131512362217677016666 0ustar ripleyusers\alias{gSocketClientSetFamily} \name{gSocketClientSetFamily} \title{gSocketClientSetFamily} \description{Sets the socket family of the socket client. If this is set to something other than \code{G_SOCKET_FAMILY_INVALID} then the sockets created by this object will be of the specified family.} \usage{gSocketClientSetFamily(object, family)} \arguments{ \item{\verb{object}}{a \code{\link{GSocketClient}}.} \item{\verb{family}}{a \code{\link{GSocketFamily}}} } \details{This might be useful for instance if you want to force the local connection to be an ipv4 socket, even though the address might be an ipv6 mapped to ipv4 address. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolPaletteGetGroupPosition.Rd0000644000176000001440000000113112362217677020452 0ustar ripleyusers\alias{gtkToolPaletteGetGroupPosition} \name{gtkToolPaletteGetGroupPosition} \title{gtkToolPaletteGetGroupPosition} \description{Gets the position of \code{group} in \code{palette} as index. See \code{\link{gtkToolPaletteSetGroupPosition}}.} \usage{gtkToolPaletteGetGroupPosition(object, group)} \arguments{ \item{\verb{object}}{a \code{\link{GtkToolPalette}}} \item{\verb{group}}{a \code{\link{GtkToolItemGroup}}} } \details{Since 2.20} \value{[integer] the index of group or -1 if \code{group} is not a child of \code{palette}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextLoadFontset.Rd0000644000176000001440000000135012362217677017125 0ustar ripleyusers\alias{pangoContextLoadFontset} \name{pangoContextLoadFontset} \title{pangoContextLoadFontset} \description{Load a set of fonts in the context that can be used to render a font matching \code{desc}.} \usage{pangoContextLoadFontset(object, desc, language)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] a \code{\link{PangoFontDescription}} describing the fonts to load} \item{\verb{language}}{[\code{\link{PangoLanguage}}] a \code{\link{PangoLanguage}} the fonts will be used for} } \value{[\code{\link{PangoFontset}}] the fontset, or \code{NULL} if no font matched.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkListStoreSwap.Rd0000644000176000001440000000074412362217677015610 0ustar ripleyusers\alias{gtkListStoreSwap} \name{gtkListStoreSwap} \title{gtkListStoreSwap} \description{Swaps \code{a} and \code{b} in \code{store}. Note that this function only works with unsorted stores.} \usage{gtkListStoreSwap(object, a, b)} \arguments{ \item{\verb{object}}{A \code{\link{GtkListStore}}.} \item{\verb{a}}{A \code{\link{GtkTreeIter}}.} \item{\verb{b}}{Another \code{\link{GtkTreeIter}}.} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeSelectionPathIsSelected.Rd0000644000176000001440000000114212362217677020345 0ustar ripleyusers\alias{gtkTreeSelectionPathIsSelected} \name{gtkTreeSelectionPathIsSelected} \title{gtkTreeSelectionPathIsSelected} \description{Returns \code{TRUE} if the row pointed to by \code{path} is currently selected. If \code{path} does not point to a valid location, \code{FALSE} is returned} \usage{gtkTreeSelectionPathIsSelected(object, path)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeSelection}}.} \item{\verb{path}}{A \code{\link{GtkTreePath}} to check selection on.} } \value{[logical] \code{TRUE} if \code{path} is selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetShortLabel.Rd0000644000176000001440000000057712362217677016666 0ustar ripleyusers\alias{gtkActionGetShortLabel} \name{gtkActionGetShortLabel} \title{gtkActionGetShortLabel} \description{Gets the short label text of \code{action}.} \usage{gtkActionGetShortLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[character] the short label text.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDataInputStreamReadUntil.Rd0000644000176000001440000000212112362217677017332 0ustar ripleyusers\alias{gDataInputStreamReadUntil} \name{gDataInputStreamReadUntil} \title{gDataInputStreamReadUntil} \description{Reads a string from the data input stream, up to the first occurrence of any of the stop characters.} \usage{gDataInputStreamReadUntil(object, stop.chars, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a given \code{\link{GDataInputStream}}.} \item{\verb{stop.chars}}{characters to terminate the read.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[char] a string with the data that was read before encountering any of the stop characters. Set \code{length} to a \verb{numeric} to get the length of the string. This function will return \code{NULL} on an error.} \item{\verb{length}}{a \verb{numeric} to get the length of the data read in.} \item{\verb{error}}{\code{\link{GError}} for error reporting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFilterOutputStreamSetCloseBaseStream.Rd0000644000176000001440000000076312362217677021722 0ustar ripleyusers\alias{gFilterOutputStreamSetCloseBaseStream} \name{gFilterOutputStreamSetCloseBaseStream} \title{gFilterOutputStreamSetCloseBaseStream} \description{Sets whether the base stream will be closed when \code{stream} is closed.} \usage{gFilterOutputStreamSetCloseBaseStream(object, close.base)} \arguments{ \item{\verb{object}}{a \code{\link{GFilterOutputStream}}.} \item{\verb{close.base}}{\code{TRUE} to close the base stream.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gIOStreamClearPending.Rd0000644000176000001440000000051712362217677016423 0ustar ripleyusers\alias{gIOStreamClearPending} \name{gIOStreamClearPending} \title{gIOStreamClearPending} \description{Clears the pending flag on \code{stream}.} \usage{gIOStreamClearPending(object)} \arguments{\item{\verb{object}}{a \code{\link{GIOStream}}}} \details{Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GSignal.Rd0000644000176000001440000001233711766145227013642 0ustar ripleyusers\name{GSignal} \alias{GSignal} \alias{gSignalConnect} \alias{connectSignal} \alias{gSignalHandlerDisconnect} \alias{gSignalHandlerBlock} \alias{gSignalHandlerUnblock} \alias{gSignalEmit} \alias{gSignalStopEmission} \alias{gSignalGetInfo} \alias{GSignalFlags} \alias{GConnectFlags} \title{The GSignal API} \description{ The basic concept of the signal system is that of the emission of a signal. Signals are introduced per-type and are identified through strings. Signals introduced for a parent type are available in derived types as well, so basically they are a per-type facility that is inherited. } \usage{ gSignalConnect(obj, signal, f, data = NULL, after = FALSE, user.data.first = FALSE) gSignalHandlerDisconnect(obj, id) gSignalHandlerBlock(obj, id) gSignalHandlerUnblock(obj, id) gSignalEmit(obj, signal, ..., detail = NULL) gSignalStopEmission(obj, signal, detail = NULL) gSignalGetInfo(sig) } \arguments{ \item{obj}{The object that owns the signal} \item{signal}{The detailed name of the signal} \item{f}{The R function to connect as a callback} \item{data}{Arbitrary "user data" that will be passed to the callback \code{f}} \item{after}{Whether \code{f} will be called before or after the default handler} \item{user.data.first}{Whether the \code{data} is the first or last argument to the callback} \item{id}{The signal handler id obtained upon connection to the signal} \item{...}{Arguments to pass to the signal handlers} \item{detail}{Optional separate argument for the \emph{detail} portion of the signal} \item{sig}{A signal id provided by \code{\link{gObjectGetSignals}}.} } \details{ A signal emission mainly involves invocation of a certain set of callbacks in precisely defined manner. There are two main categories of such callbacks, per-object ones and user provided ones. The per-object callbacks are most often referred to as "object method handler" or "default (signal) handler", while user provided callbacks are usually just called "signal handler". The object method handler is provided at signal creation time (this most frequently happens at the end of an object class' creation), while user provided handlers are frequently connected and disconnected to/from a certain signal on certain object instances. A signal emission consists of five stages, unless prematurely stopped: \enumerate{ \item Invocation of the object method handler for \code{G_SIGNAL_RUN_FIRST} signals \item Invocation of normal user-provided signal handlers (\code{after} flag \code{FALSE}) \item Invocation of the object method handler for \code{G_SIGNAL_RUN_LAST} signals \item Invocation of user provided signal handlers, connected with an \code{after} flag of \code{TRUE} \item Invocation of the object method handler for \code{G_SIGNAL_RUN_CLEANUP} signals } The user-provided signal handlers are called in the order they were connected in. All handlers may prematurely stop a signal emission, and any number of handlers may be connected, disconnected, blocked or unblocked during a signal emission. There are certain criteria for skipping user handlers in stages 2 and 4 of a signal emission. First, user handlers may be blocked, blocked handlers are omitted during callback invocation, to return from the "blocked" state, a handler has to get unblocked exactly the same amount of times it has been blocked before. Second, upon emission of a \code{G_SIGNAL_DETAILED} signal, an additional "detail" argument passed in to \code{gSignalEmit} has to match the detail argument of the signal handler currently subject to invocation. Specification of no detail argument for signal handlers (omission of the detail part of the signal specification upon connection) serves as a wildcard and matches any detail argument passed in to emission. Most of the time, the RGtk2 user will be connecting to signals using \code{gSignalConnect}. This attaches an R function (and, optionally, some arbitrary "user data") to a specific \code{GObject} as a listener to the named signal. \code{gSignalHandlerBlock} and \code{gSignalHandlerUnblock} provide facilities for (temporarily) blocking and unblocking the calling of an R function in response to some signal. To permanately disconnect the handler from the object and signal, use \code{gSignalHandlerDisconnect}. A signal may be manually emitted with \code{gSignalEmit}. The emission of a signal may be killed prematurely with \code{gSignalStopEmission}. Detailed information about a signal may be introspected with \code{gSignalGetInfo} using ids obtained with \code{\link{gObjectGetSignals}}. } \value{ \code{gSignalConnect} returns a numeric id for the signal handler. It is used for blocking and disconnecting the handler. \code{gSignalGetInfo} returns detailed information about a signal. The returned list contains the following elements: \item{returnType}{The return \code{\link{GType}} id of the signal} \item{signal}{The signal id} \item{parameters}{A list of \code{\link{GType}} ids for the parameters} \item{objectType}{The \code{\link{GType}} id owning the signal} \item{runFlags}{The flags determining behavior of the signal, see reference} } \author{Adapted from GSignal documentation by Michael Lawrence} \references{\url{http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html}} \seealso{\code{\link{GObject}}} \keyword{interface} RGtk2/man/gtkIconInfoCopy.Rd0000644000176000001440000000056212362217677015362 0ustar ripleyusers\alias{gtkIconInfoCopy} \name{gtkIconInfoCopy} \title{gtkIconInfoCopy} \description{Make a copy of a \code{\link{GtkIconInfo}}.} \usage{gtkIconInfoCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconInfo}}}} \details{Since 2.4} \value{[\code{\link{GtkIconInfo}}] the new GtkIconInfo} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewCreateRowDragIcon.Rd0000644000176000001440000000107112362217677017774 0ustar ripleyusers\alias{gtkTreeViewCreateRowDragIcon} \name{gtkTreeViewCreateRowDragIcon} \title{gtkTreeViewCreateRowDragIcon} \description{Creates a \code{\link{GdkPixmap}} representation of the row at \code{path}. This image is used for a drag icon.} \usage{gtkTreeViewCreateRowDragIcon(object, path)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{path}}{a \code{\link{GtkTreePath}} in \code{tree.view}} } \value{[\code{\link{GdkPixmap}}] a newly-allocated pixmap of the drag icon.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentGetSize.Rd0000644000176000001440000000110412362217677016243 0ustar ripleyusers\alias{atkComponentGetSize} \name{atkComponentGetSize} \title{atkComponentGetSize} \description{Gets the size of the \code{component} in terms of width and height.} \usage{atkComponentGetSize(object)} \arguments{\item{\verb{object}}{[\code{\link{AtkComponent}}] an \code{\link{AtkComponent}}}} \value{ A list containing the following elements: \item{\verb{width}}{[integer] \verb{integer} to put width of \code{component}} \item{\verb{height}}{[integer] \verb{integer} to put height of \code{component}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontMetricsGetApproximateCharWidth.Rd0000644000176000001440000000126012362217677022243 0ustar ripleyusers\alias{pangoFontMetricsGetApproximateCharWidth} \name{pangoFontMetricsGetApproximateCharWidth} \title{pangoFontMetricsGetApproximateCharWidth} \description{Gets the approximate character width for a font metrics structure. This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.} \usage{pangoFontMetricsGetApproximateCharWidth(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontMetrics}}] a \code{\link{PangoFontMetrics}} structure}} \value{[integer] the character width, in Pango units.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gOutputStreamSpliceAsync.Rd0000644000176000001440000000211712362217677017274 0ustar ripleyusers\alias{gOutputStreamSpliceAsync} \name{gOutputStreamSpliceAsync} \title{gOutputStreamSpliceAsync} \description{Splices a stream asynchronously. When the operation is finished \code{callback} will be called. You can then call \code{\link{gOutputStreamSpliceFinish}} to get the result of the operation.} \usage{gOutputStreamSpliceAsync(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", io.priority = 0, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GOutputStream}}.} \item{\verb{source}}{a \code{\link{GInputStream}}.} \item{\verb{flags}}{a set of \code{\link{GOutputStreamSpliceFlags}}.} \item{\verb{io.priority}}{the io priority of the request.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}}.} \item{\verb{user.data}}{user data passed to \code{callback}.} } \details{For the synchronous, blocking version of this function, see \code{\link{gOutputStreamSplice}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileFindEnclosingMount.Rd0000644000176000001440000000223512362217677017030 0ustar ripleyusers\alias{gFileFindEnclosingMount} \name{gFileFindEnclosingMount} \title{gFileFindEnclosingMount} \description{Gets a \code{\link{GMount}} for the \code{\link{GFile}}. } \usage{gFileFindEnclosingMount(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the \verb{GFileIface} for \code{file} does not have a mount (e.g. possibly a remote share), \code{error} will be set to \code{G_IO_ERROR_NOT_FOUND} and \code{NULL} will be returned. If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[\code{\link{GMount}}] a \code{\link{GMount}} where the \code{file} is located or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontFamilyGetName.Rd0000644000176000001440000000116312362217677016651 0ustar ripleyusers\alias{pangoFontFamilyGetName} \name{pangoFontFamilyGetName} \title{pangoFontFamilyGetName} \description{Gets the name of the family. The name is unique among all fonts for the font backend and can be used in a \code{\link{PangoFontDescription}} to specify that a face from this family is desired.} \usage{pangoFontFamilyGetName(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFontFamily}}] a \code{\link{PangoFontFamily}}}} \value{[char] the name of the family. This string is owned by the family object and must not be modified or freed.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gBufferedOutputStreamGetBufferSize.Rd0000644000176000001440000000066512362217677021234 0ustar ripleyusers\alias{gBufferedOutputStreamGetBufferSize} \name{gBufferedOutputStreamGetBufferSize} \title{gBufferedOutputStreamGetBufferSize} \description{Gets the size of the buffer in the \code{stream}.} \usage{gBufferedOutputStreamGetBufferSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GBufferedOutputStream}}.}} \value{[numeric] the current size of the buffer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetPaperHeight.Rd0000644000176000001440000000076012362217677020435 0ustar ripleyusers\alias{gtkPrintSettingsSetPaperHeight} \name{gtkPrintSettingsSetPaperHeight} \title{gtkPrintSettingsSetPaperHeight} \description{Sets the value of \code{GTK_PRINT_SETTINGS_PAPER_HEIGHT}.} \usage{gtkPrintSettingsSetPaperHeight(object, height, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{height}}{the paper height} \item{\verb{unit}}{the units of \code{height}} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetFocusOnMap.Rd0000644000176000001440000000102312362217677016672 0ustar ripleyusers\alias{gtkWindowSetFocusOnMap} \name{gtkWindowSetFocusOnMap} \title{gtkWindowSetFocusOnMap} \description{Windows may set a hint asking the desktop environment not to receive the input focus when the window is mapped. This function sets this hint.} \usage{gtkWindowSetFocusOnMap(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to let this window receive input focus on map} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCalendarGetDisplayOptions.Rd0000644000176000001440000000070112362217677020071 0ustar ripleyusers\alias{gtkCalendarGetDisplayOptions} \name{gtkCalendarGetDisplayOptions} \title{gtkCalendarGetDisplayOptions} \description{Returns the current display options of \code{calendar}.} \usage{gtkCalendarGetDisplayOptions(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCalendar}}}} \details{Since 2.4} \value{[\code{\link{GtkCalendarDisplayOptions}}] the display options.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkGCSetClipOrigin.Rd0000644000176000001440000000100512362217677015721 0ustar ripleyusers\alias{gdkGCSetClipOrigin} \name{gdkGCSetClipOrigin} \title{gdkGCSetClipOrigin} \description{Sets the origin of the clip mask. The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation.} \usage{gdkGCSetClipOrigin(object, x, y)} \arguments{ \item{\verb{object}}{a \code{\link{GdkGC}}.} \item{\verb{x}}{the x-coordinate of the origin.} \item{\verb{y}}{the y-coordinate of the origin.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetRedrawOnAllocate.Rd0000644000176000001440000000251112362217677020025 0ustar ripleyusers\alias{gtkWidgetSetRedrawOnAllocate} \name{gtkWidgetSetRedrawOnAllocate} \title{gtkWidgetSetRedrawOnAllocate} \description{Sets whether the entire widget is queued for drawing when its size allocation changes. By default, this setting is \code{TRUE} and the entire widget is redrawn on every size change. If your widget leaves the upper left unchanged when made bigger, turning this setting off will improve performance.} \usage{gtkWidgetSetRedrawOnAllocate(object, redraw.on.allocate)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{redraw.on.allocate}}{if \code{TRUE}, the entire widget will be redrawn when it is allocated to a new size. Otherwise, only the new portion of the widget will be redrawn.} } \details{Note that for \code{NO_WINDOW} widgets setting this flag to \code{FALSE} turns off all allocation on resizing: the widget will not even redraw if its position changes; this is to allow containers that don't draw anything to avoid excess invalidations. If you set this flag on a \code{NO_WINDOW} widget that \emph{does} draw on \code{widget->window}, you are responsible for invalidating both the old and new allocation of the widget when the widget is moved and responsible for invalidating regions newly when the widget increases size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelLabelGetAccelWidget.Rd0000644000176000001440000000076412362217677017532 0ustar ripleyusers\alias{gtkAccelLabelGetAccelWidget} \name{gtkAccelLabelGetAccelWidget} \title{gtkAccelLabelGetAccelWidget} \description{Fetches the widget monitored by this accelerator label. See \code{\link{gtkAccelLabelSetAccelWidget}}.} \usage{gtkAccelLabelGetAccelWidget(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAccelLabel}}}} \value{[\code{\link{GtkWidget}}] the object monitored by the accelerator label, or \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreePathAppendIndex.Rd0000644000176000001440000000062112362217677016653 0ustar ripleyusers\alias{gtkTreePathAppendIndex} \name{gtkTreePathAppendIndex} \title{gtkTreePathAppendIndex} \description{Appends a new index to a path. As a result, the depth of the path is increased.} \usage{gtkTreePathAppendIndex(object, index)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreePath}}.} \item{\verb{index}}{The index.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetState.Rd0000644000176000001440000000062712362217677015711 0ustar ripleyusers\alias{gtkWidgetGetState} \name{gtkWidgetGetState} \title{gtkWidgetGetState} \description{Returns the widget's state. See \code{\link{gtkWidgetSetState}}.} \usage{gtkWidgetGetState(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{[\code{\link{GtkStateType}}] the state of \code{widget}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoGetFontFace.Rd0000644000176000001440000000154312362217677015460 0ustar ripleyusers\alias{cairoGetFontFace} \name{cairoGetFontFace} \title{cairoGetFontFace} \description{Gets the current font face for a \code{\link{Cairo}}.} \usage{cairoGetFontFace(cr)} \arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}} \value{[\code{\link{CairoFontFace}}] the current font face. To keep a reference to it, This function never returns \code{NULL}. If memory cannot be allocated, a special "nil" \code{\link{CairoFontFace}} object will be returned on which \code{\link{cairoFontFaceStatus}} returns \code{CAIRO_STATUS_NO_MEMORY}. Using this nil object will cause its error state to propagate to other objects it is passed to, (for example, calling \code{\link{cairoSetFontFace}} with a nil font will trigger an error that will shutdown the \code{\link{Cairo}} object).} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererSetVisible.Rd0000644000176000001440000000063512362217677017364 0ustar ripleyusers\alias{gtkCellRendererSetVisible} \name{gtkCellRendererSetVisible} \title{gtkCellRendererSetVisible} \description{Sets the cell renderer's visibility.} \usage{gtkCellRendererSetVisible(object, visible)} \arguments{ \item{\verb{object}}{A \code{\link{GtkCellRenderer}}} \item{\verb{visible}}{the visibility of the cell} } \details{Since 2.18} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerForeachFull.Rd0000644000176000001440000000106612362217677017060 0ustar ripleyusers\alias{gtkContainerForeachFull} \name{gtkContainerForeachFull} \title{gtkContainerForeachFull} \description{ \strong{WARNING: \code{gtk_container_foreach_full} is deprecated and should not be used in newly-written code. Use \code{\link{gtkContainerForeach}} instead.} } \usage{gtkContainerForeachFull(object, callback, callback.data = NULL)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{callback}}{\emph{undocumented }} \item{\verb{callback.data}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetRootWindow.Rd0000644000176000001440000000160312362217677016737 0ustar ripleyusers\alias{gtkWidgetGetRootWindow} \name{gtkWidgetGetRootWindow} \title{gtkWidgetGetRootWindow} \description{Get the root window where this widget is located. This function can only be called after the widget has been added to a widget hierarchy with \code{\link{GtkWindow}} at the top.} \usage{gtkWidgetGetRootWindow(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{The root window is useful for such purposes as creating a popup \code{\link{GdkWindow}} associated with the window. In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized. Since 2.2} \value{[\code{\link{GdkWindow}}] the \code{\link{GdkWindow}} root window for the toplevel for this widget. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGetRoot.Rd0000644000176000001440000000047712362217677014405 0ustar ripleyusers\alias{atkGetRoot} \name{atkGetRoot} \title{atkGetRoot} \description{Gets the root accessible container for the current application.} \usage{atkGetRoot()} \value{[\code{\link{AtkObject}}] the root accessible container for the current application} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetColumns.Rd0000644000176000001440000000101012362217677016543 0ustar ripleyusers\alias{gtkTreeViewGetColumns} \name{gtkTreeViewGetColumns} \title{gtkTreeViewGetColumns} \description{Returns a \verb{list} of all the \code{\link{GtkTreeViewColumn}} s currently in \code{tree.view}.} \usage{gtkTreeViewGetColumns(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{[list] A list of \code{\link{GtkTreeViewColumn}} s. \emph{[ \acronym{element-type} GtkTreeViewColumn][ \acronym{transfer container} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkSettingGet.Rd0000644000176000001440000000113212362217677015052 0ustar ripleyusers\alias{gdkSettingGet} \name{gdkSettingGet} \title{gdkSettingGet} \description{Obtains a desktop-wide setting, such as the double-click time, for the default screen. See \code{\link{gdkScreenGetSetting}}.} \usage{gdkSettingGet(name)} \arguments{\item{\verb{name}}{the name of the setting.}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the setting existed and a value was stored in \code{value}, \code{FALSE} otherwise.} \item{\verb{value}}{location to store the value of the setting.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListGetPixtext.Rd0000644000176000001440000000174112362217677016067 0ustar ripleyusers\alias{gtkCListGetPixtext} \name{gtkCListGetPixtext} \title{gtkCListGetPixtext} \description{ Gets the text, pixmap and bitmap mask for the specified cell. \strong{WARNING: \code{gtk_clist_get_pixtext} is deprecated and should not be used in newly-written code.} } \usage{gtkCListGetPixtext(object, row, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{row}}{The row to query.} \item{\verb{column}}{The column to query.} } \value{ A list containing the following elements: \item{retval}{[integer] 1 if the retrieval was successful, 0 otherwise.} \item{\verb{text}}{A pointer to a pointer to store the text.} \item{\verb{spacing}}{A pointer to a \verb{raw} to store the spacing.} \item{\verb{pixmap}}{A pointer to a \code{\link{GdkPixmap}} pointer to store the cell's pixmap.} \item{\verb{mask}}{A pointer to a \code{\link{GdkBitmap}} pointer to store the cell's bitmap mask.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelMapLookupEntry.Rd0000644000176000001440000000107212362217677016701 0ustar ripleyusers\alias{gtkAccelMapLookupEntry} \name{gtkAccelMapLookupEntry} \title{gtkAccelMapLookupEntry} \description{Looks up the accelerator entry for \code{accel.path} and fills in \code{key}.} \usage{gtkAccelMapLookupEntry(accel.path)} \arguments{\item{\verb{accel.path}}{a valid accelerator path}} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{accel.path} is known, \code{FALSE} otherwise} \item{\verb{key}}{the accelerator key to be filled in (optional)} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkRelationSetGetRelation.Rd0000644000176000001440000000113412362217677017400 0ustar ripleyusers\alias{atkRelationSetGetRelation} \name{atkRelationSetGetRelation} \title{atkRelationSetGetRelation} \description{Determines the relation at the specified position in the relation set.} \usage{atkRelationSetGetRelation(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkRelationSet}}] an \code{\link{AtkRelationSet}}} \item{\verb{i}}{[integer] a gint representing a position in the set, starting from 0.} } \value{[\code{\link{AtkRelation}}] a \code{\link{AtkRelation}}, which is the relation at position i in the set.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferSetModified.Rd0000644000176000001440000000127212362217677017215 0ustar ripleyusers\alias{gtkTextBufferSetModified} \name{gtkTextBufferSetModified} \title{gtkTextBufferSetModified} \description{Used to keep track of whether the buffer has been modified since the last time it was saved. Whenever the buffer is saved to disk, call gtk_text_buffer_set_modified (\code{buffer}, FALSE). When the buffer is modified, it will automatically toggled on the modified bit again. When the modified bit flips, the buffer emits a "modified-changed" signal.} \usage{gtkTextBufferSetModified(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{setting}}{modification flag setting} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionPolygon.Rd0000644000176000001440000000107012362217677015571 0ustar ripleyusers\alias{gdkRegionPolygon} \name{gdkRegionPolygon} \title{gdkRegionPolygon} \description{Creates a new \code{\link{GdkRegion}} using the polygon defined by a number of points.} \usage{gdkRegionPolygon(points, fill.rule)} \arguments{ \item{\verb{points}}{a list of \code{\link{GdkPoint}} structs} \item{\verb{fill.rule}}{specifies which pixels are included in the region when the polygon overlaps itself.} } \value{[\code{\link{GdkRegion}}] a new \code{\link{GdkRegion}} based on the given polygon} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleSetDigits.Rd0000644000176000001440000000111012362217677015660 0ustar ripleyusers\alias{gtkScaleSetDigits} \name{gtkScaleSetDigits} \title{gtkScaleSetDigits} \description{Sets the number of decimal places that are displayed in the value. Also causes the value of the adjustment to be rounded off to this number of digits, so the retrieved value matches the value the user saw.} \usage{gtkScaleSetDigits(object, digits)} \arguments{ \item{\verb{object}}{a \code{\link{GtkScale}}} \item{\verb{digits}}{the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00, etc} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkSpinButtonGetDigits.Rd0000644000176000001440000000062712362217677016736 0ustar ripleyusers\alias{gtkSpinButtonGetDigits} \name{gtkSpinButtonGetDigits} \title{gtkSpinButtonGetDigits} \description{Fetches the precision of \code{spin.button}. See \code{\link{gtkSpinButtonSetDigits}}.} \usage{gtkSpinButtonGetDigits(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkSpinButton}}}} \value{[numeric] the current precision} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeSetShift.Rd0000644000176000001440000000117712362217677016310 0ustar ripleyusers\alias{gtkCTreeNodeSetShift} \name{gtkCTreeNodeSetShift} \title{gtkCTreeNodeSetShift} \description{ Shift the given cell the given amounts in pixels. \strong{WARNING: \code{gtk_ctree_node_set_shift} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeSetShift(object, node, column, vertical, horizontal)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} \item{\verb{vertical}}{\emph{undocumented }} \item{\verb{horizontal}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoUnicharDirection.Rd0000644000176000001440000000134312362217677016572 0ustar ripleyusers\alias{pangoUnicharDirection} \name{pangoUnicharDirection} \title{pangoUnicharDirection} \description{Determines the inherent direction of a character; either \code{PANGO_DIRECTION_LTR}, \code{PANGO_DIRECTION_RTL}, or \code{PANGO_DIRECTION_NEUTRAL}.} \usage{pangoUnicharDirection(ch)} \arguments{\item{\verb{ch}}{[numeric] a Unicode character}} \details{This function is useful to categorize characters into left-to-right letters, right-to-left letters, and everything else. If full Unicode bidirectional type of a character is needed, \code{pangoBidiTypeForGunichar()} can be used instead. } \value{[\code{\link{PangoDirection}}] the direction of the character.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkScaleButtonGetOrientation.Rd0000644000176000001440000000125612362217677020123 0ustar ripleyusers\alias{gtkScaleButtonGetOrientation} \name{gtkScaleButtonGetOrientation} \title{gtkScaleButtonGetOrientation} \description{ Gets the orientation of the \code{\link{GtkScaleButton}}'s popup window. \strong{WARNING: \code{gtk_scale_button_get_orientation} has been deprecated since version 2.16 and should not be used in newly-written code. Use \code{\link{gtkOrientableGetOrientation}} instead.} } \usage{gtkScaleButtonGetOrientation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkScaleButton}}}} \details{Since 2.14} \value{[\code{\link{GtkOrientation}}] the \code{\link{GtkScaleButton}}'s orientation.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoItemNew.Rd0000644000176000001440000000051112362217677014704 0ustar ripleyusers\alias{pangoItemNew} \name{pangoItemNew} \title{pangoItemNew} \description{Creates a new \code{\link{PangoItem}} structure initialized to default values.} \usage{pangoItemNew()} \value{[\code{\link{PangoItem}}] the newly allocated \code{\link{PangoItem}},} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPatternGetExtend.Rd0000644000176000001440000000102312362217677016551 0ustar ripleyusers\alias{cairoPatternGetExtend} \name{cairoPatternGetExtend} \title{cairoPatternGetExtend} \description{Gets the current extend mode for a pattern. See \code{\link{CairoExtend}} for details on the semantics of each extend strategy.} \usage{cairoPatternGetExtend(pattern)} \arguments{\item{\verb{pattern}}{[\code{\link{CairoPattern}}] a \code{\link{CairoPattern}}}} \value{[\code{\link{CairoExtend}}] the current extend strategy used for drawing the pattern.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkNotebookPageNum.Rd0000644000176000001440000000076012362217677016060 0ustar ripleyusers\alias{gtkNotebookPageNum} \name{gtkNotebookPageNum} \title{gtkNotebookPageNum} \description{Finds the index of the page which contains the given child widget.} \usage{gtkNotebookPageNum(object, child)} \arguments{ \item{\verb{object}}{a \code{\link{GtkNotebook}}} \item{\verb{child}}{a \code{\link{GtkWidget}}} } \value{[integer] the index of the page containing \code{child}, or -1 if \code{child} is not in the notebook.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCellRendererGetSize.Rd0000644000176000001440000000277712362217677016676 0ustar ripleyusers\alias{gtkCellRendererGetSize} \name{gtkCellRendererGetSize} \title{gtkCellRendererGetSize} \description{Obtains the width and height needed to render the cell. Used by view widgets to determine the appropriate size for the cell_area passed to \code{\link{gtkCellRendererRender}}. If \code{cell.area} is not \code{NULL}, fills in the x and y offsets (if set) of the cell relative to this location. } \usage{gtkCellRendererGetSize(object, widget, cell.area = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkCellRenderer}}} \item{\verb{widget}}{the widget the renderer is rendering to} \item{\verb{cell.area}}{The area a cell will be allocated, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Please note that the values set in \code{width} and \code{height}, as well as those in \code{x.offset} and \code{y.offset} are inclusive of the xpad and ypad properties.} \value{ A list containing the following elements: \item{\verb{x.offset}}{location to return x offset of cell relative to \code{cell.area}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{y.offset}}{location to return y offset of cell relative to \code{cell.area}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{width}}{location to return width needed to render a cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{height}}{location to return height needed to render a cell, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetDefaultGroup.Rd0000644000176000001440000000105612362217677017371 0ustar ripleyusers\alias{gdkDisplayGetDefaultGroup} \name{gdkDisplayGetDefaultGroup} \title{gdkDisplayGetDefaultGroup} \description{Returns the default group leader window for all toplevel windows on \code{display}. This window is implicitly created by GDK. See \code{\link{gdkWindowSetGroup}}.} \usage{gdkDisplayGetDefaultGroup(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplay}}}} \details{Since 2.4} \value{[\code{\link{GdkWindow}}] The default group leader window for \code{display}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetFileType.Rd0000644000176000001440000000077212362217677016264 0ustar ripleyusers\alias{gFileInfoGetFileType} \name{gFileInfoGetFileType} \title{gFileInfoGetFileType} \description{Gets a file's type (whether it is a regular file, symlink, etc). This is different from the file's content type, see \code{\link{gFileInfoGetContentType}}.} \usage{gFileInfoGetFileType(object)} \arguments{\item{\verb{object}}{a \code{\link{GFileInfo}}.}} \value{[\code{\link{GFileType}}] a \code{\link{GFileType}} for the given file.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gInputStreamClose.Rd0000644000176000001440000000351412362217677015725 0ustar ripleyusers\alias{gInputStreamClose} \name{gInputStreamClose} \title{gInputStreamClose} \description{Closes the stream, releasing resources related to it.} \usage{gInputStreamClose(object, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{A \code{\link{GInputStream}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Once the stream is closed, all other operations will return \code{G_IO_ERROR_CLOSED}. Closing a stream multiple times will not return an error. Streams will be automatically closed when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible. Some streams might keep the backing store of the stream (e.g. a file descriptor) open after the stream is closed. See the documentation for the individual stream for details. On failure the first error that happened will be reported, but the close operation will finish as much as possible. A stream that failed to close will still return \code{G_IO_ERROR_CLOSED} for all operations. Still, it is important to check and report the error to the user. If \code{cancellable} is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Cancelling a close will still leave the stream closed, but some streams can use a faster close that doesn't block to e.g. check errors.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on failure} \item{\verb{error}}{location to store the error occuring, or \code{NULL} to ignore} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkVolumeButtonNew.Rd0000644000176000001440000000075612362217677016145 0ustar ripleyusers\alias{gtkVolumeButtonNew} \name{gtkVolumeButtonNew} \title{gtkVolumeButtonNew} \description{Creates a \code{\link{GtkVolumeButton}}, with a range between 0.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from \code{\link{GtkScaleButton}}.} \usage{gtkVolumeButtonNew(show = TRUE)} \details{Since 2.12} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkVolumeButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkTableGetRowDescription.Rd0000644000176000001440000000114112362217677017372 0ustar ripleyusers\alias{atkTableGetRowDescription} \name{atkTableGetRowDescription} \title{atkTableGetRowDescription} \description{Gets the description text of the specified row in the table} \usage{atkTableGetRowDescription(object, row)} \arguments{ \item{\verb{object}}{[\code{\link{AtkTable}}] a GObject instance that implements AtkTableIface} \item{\verb{row}}{[integer] a \verb{integer} representing a row in \code{table}} } \value{[character] a gchar* representing the row description, or \code{NULL} if value does not implement this interface.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkColorButton.Rd0000644000176000001440000000672612362217677015245 0ustar ripleyusers\alias{GtkColorButton} \alias{gtkColorButton} \name{GtkColorButton} \title{GtkColorButton} \description{A button to launch a color selection dialog} \section{Methods and Functions}{ \code{\link{gtkColorButtonNew}(show = TRUE)}\cr \code{\link{gtkColorButtonNewWithColor}(color, show = TRUE)}\cr \code{\link{gtkColorButtonSetColor}(object, color)}\cr \code{\link{gtkColorButtonGetColor}(object)}\cr \code{\link{gtkColorButtonSetAlpha}(object, alpha)}\cr \code{\link{gtkColorButtonGetAlpha}(object)}\cr \code{\link{gtkColorButtonSetUseAlpha}(object, use.alpha)}\cr \code{\link{gtkColorButtonGetUseAlpha}(object)}\cr \code{\link{gtkColorButtonSetTitle}(object, title)}\cr \code{\link{gtkColorButtonGetTitle}(object)}\cr \code{gtkColorButton(color, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkColorButton}} \section{Interfaces}{GtkColorButton implements AtkImplementorIface, \code{\link{GtkBuildable}} and \code{\link{GtkActivatable}}.} \section{Detailed Description}{The \code{\link{GtkColorButton}} is a button which displays the currently selected color an allows to open a color selection dialog to change the color. It is suitable widget for selecting a color in a preference dialog.} \section{Structures}{\describe{\item{\verb{GtkColorButton}}{ The GtkColorButton struct has only private fields and should not be used directly. }}} \section{Convenient Construction}{\code{gtkColorButton} is the result of collapsing the constructors of \code{GtkColorButton} (\code{\link{gtkColorButtonNew}}, \code{\link{gtkColorButtonNewWithColor}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Signals}{\describe{\item{\code{color-set(widget, user.data)}}{ The ::color-set signal is emitted when the user selects a color. When handling this signal, use \code{\link{gtkColorButtonGetColor}} and \code{\link{gtkColorButtonGetAlpha}} to find out which color was just selected. Note that this signal is only emitted when the \emph{user} changes the color. If you need to react to programmatic color changes as well, use the notify::color signal. Since 2.4 \describe{ \item{\code{widget}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{alpha} [numeric : Read / Write]}{ The selected opacity value (0 fully transparent, 65535 fully opaque). Allowed values: <= 65535 Default value: 65535 Since 2.4 } \item{\verb{color} [\code{\link{GdkColor}} : * : Read / Write]}{ The selected color. Since 2.4 } \item{\verb{title} [character : * : Read / Write]}{ The title of the color selection dialog Default value: "Pick a Color" Since 2.4 } \item{\verb{use-alpha} [logical : Read / Write]}{ If this property is set to \code{TRUE}, the color swatch on the button is rendered against a checkerboard background to show its opacity and the opacity slider is displayed in the color selection dialog. Default value: FALSE Since 2.4 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkColorButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkColorSelectionDialog}} \code{\link{GtkFontButton}} } \keyword{internal} RGtk2/man/gtkPaperSizeGetDefaultTopMargin.Rd0000644000176000001440000000077212362217677020516 0ustar ripleyusers\alias{gtkPaperSizeGetDefaultTopMargin} \name{gtkPaperSizeGetDefaultTopMargin} \title{gtkPaperSizeGetDefaultTopMargin} \description{Gets the default top margin for the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetDefaultTopMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the default top margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetTrackVisitedLinks.Rd0000644000176000001440000000070512362217677020017 0ustar ripleyusers\alias{gtkLabelGetTrackVisitedLinks} \name{gtkLabelGetTrackVisitedLinks} \title{gtkLabelGetTrackVisitedLinks} \description{Returns whether the label is currently keeping track of clicked links.} \usage{gtkLabelGetTrackVisitedLinks(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if clicked links are remembered} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoGetAttributeInt32.Rd0000644000176000001440000000107412362217677017322 0ustar ripleyusers\alias{gFileInfoGetAttributeInt32} \name{gFileInfoGetAttributeInt32} \title{gFileInfoGetAttributeInt32} \description{Gets a signed 32-bit integer contained within the attribute. If the attribute does not contain a signed 32-bit integer, or is invalid, 0 will be returned.} \usage{gFileInfoGetAttributeInt32(object, attribute)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{attribute}}{a file attribute key.} } \value{[integer] a signed 32-bit integer from the attribute.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPushGroupWithContent.Rd0000644000176000001440000000204312362217677017452 0ustar ripleyusers\alias{cairoPushGroupWithContent} \name{cairoPushGroupWithContent} \title{cairoPushGroupWithContent} \description{Temporarily redirects drawing to an intermediate surface known as a group. The redirection lasts until the group is completed by a call to \code{\link{cairoPopGroup}} or \code{\link{cairoPopGroupToSource}}. These calls provide the result of any drawing to the group as a pattern, (either as an explicit object, or set as the source pattern).} \usage{cairoPushGroupWithContent(cr, content)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{content}}{[\code{\link{CairoContent}}] a \code{\link{CairoContent}} indicating the type of group that will be created} } \details{The group will have a content type of \code{content}. The ability to control this content type is the only distinction between this function and \code{\link{cairoPushGroup}} which you should see for a more detailed description of group rendering. Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerGetBorderWidth.Rd0000644000176000001440000000065512362217677017546 0ustar ripleyusers\alias{gtkContainerGetBorderWidth} \name{gtkContainerGetBorderWidth} \title{gtkContainerGetBorderWidth} \description{Retrieves the border width of the container. See \code{\link{gtkContainerSetBorderWidth}}.} \usage{gtkContainerGetBorderWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkContainer}}}} \value{[numeric] the current border width} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRadioToolButtonNewFromWidget.Rd0000644000176000001440000000103112362217677020545 0ustar ripleyusers\alias{gtkRadioToolButtonNewFromWidget} \name{gtkRadioToolButtonNewFromWidget} \title{gtkRadioToolButtonNewFromWidget} \description{Creates a new \code{\link{GtkRadioToolButton}} adding it to the same group as \code{gruup}} \usage{gtkRadioToolButtonNewFromWidget(group = NULL, show = TRUE)} \arguments{\item{\verb{group}}{An existing \code{\link{GtkRadioToolButton}}}} \details{Since 2.4} \value{[\code{\link{GtkToolItem}}] The new \code{\link{GtkRadioToolButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRulerSetMetric.Rd0000644000176000001440000000074112362217677015733 0ustar ripleyusers\alias{gtkRulerSetMetric} \name{gtkRulerSetMetric} \title{gtkRulerSetMetric} \description{This calls the \verb{GTKMetricType} to set the ruler to units defined. Available units are GTK_PIXELS, GTK_INCHES, or GTK_CENTIMETERS. The default unit of measurement is GTK_PIXELS.} \usage{gtkRulerSetMetric(object, metric)} \arguments{ \item{\verb{object}}{the gtkruler} \item{\verb{metric}}{the unit of measurement} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoGetMirrorChar.Rd0000644000176000001440000000170612362217677016053 0ustar ripleyusers\alias{pangoGetMirrorChar} \name{pangoGetMirrorChar} \title{pangoGetMirrorChar} \description{ If \code{ch} has the Unicode mirrored property and there is another Unicode character that typically has a glyph that is the mirror image of \code{ch}'s glyph, puts that character in the address pointed to by \code{mirrored.ch}. \strong{WARNING: \code{pango_get_mirror_char} is deprecated and should not be used in newly-written code.} } \usage{pangoGetMirrorChar(ch)} \arguments{\item{\verb{ch}}{[numeric] a Unicode character}} \details{Use \code{gUnicharGetMirrorChar()} instead; the docs for that function provide full details. } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if \code{ch} has a mirrored character and \code{mirrored.ch} is filled in, \code{FALSE} otherwise} \item{\verb{mirrored.ch}}{[numeric] location to store the mirrored character} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkTreeView.Rd0000644000176000001440000005705312362217677014524 0ustar ripleyusers\alias{GtkTreeView} \alias{gtkTreeView} \alias{GtkTreeViewColumnDropFunc} \alias{GtkTreeViewMappingFunc} \alias{GtkTreeViewSearchEqualFunc} \alias{GtkTreeViewSearchPositionFunc} \alias{GtkTreeDestroyCountFunc} \alias{GtkTreeViewRowSeparatorFunc} \alias{GtkTreeViewDropPosition} \alias{GtkTreeViewGridLines} \name{GtkTreeView} \title{GtkTreeView} \description{A widget for displaying both trees and lists} \section{Methods and Functions}{ \code{\link{gtkTreeViewNew}(show = TRUE)}\cr \code{\link{gtkTreeViewGetLevelIndentation}(object)}\cr \code{\link{gtkTreeViewGetShowExpanders}(object)}\cr \code{\link{gtkTreeViewSetLevelIndentation}(object, indentation)}\cr \code{\link{gtkTreeViewSetShowExpanders}(object, enabled)}\cr \code{\link{gtkTreeViewNewWithModel}(model = NULL, show = TRUE)}\cr \code{\link{gtkTreeViewGetModel}(object)}\cr \code{\link{gtkTreeViewSetModel}(object, model = NULL)}\cr \code{\link{gtkTreeViewGetSelection}(object)}\cr \code{\link{gtkTreeViewGetHadjustment}(object)}\cr \code{\link{gtkTreeViewSetHadjustment}(object, adjustment)}\cr \code{\link{gtkTreeViewGetVadjustment}(object)}\cr \code{\link{gtkTreeViewSetVadjustment}(object, adjustment)}\cr \code{\link{gtkTreeViewGetHeadersVisible}(object)}\cr \code{\link{gtkTreeViewSetHeadersVisible}(object, headers.visible)}\cr \code{\link{gtkTreeViewColumnsAutosize}(object)}\cr \code{\link{gtkTreeViewGetHeadersClickable}(object)}\cr \code{\link{gtkTreeViewSetHeadersClickable}(object, active)}\cr \code{\link{gtkTreeViewSetRulesHint}(object, setting)}\cr \code{\link{gtkTreeViewGetRulesHint}(object)}\cr \code{\link{gtkTreeViewAppendColumn}(object, column)}\cr \code{\link{gtkTreeViewRemoveColumn}(object, column)}\cr \code{\link{gtkTreeViewInsertColumn}(object, column, position)}\cr \code{\link{gtkTreeViewInsertColumnWithAttributes}(object, position, title, cell, ...)}\cr \code{\link{gtkTreeViewInsertColumnWithDataFunc}(object, position, title, cell, func, data = NULL)}\cr \code{\link{gtkTreeViewGetColumn}(object, n)}\cr \code{\link{gtkTreeViewGetColumns}(object)}\cr \code{\link{gtkTreeViewMoveColumnAfter}(object, column, base.column = NULL)}\cr \code{\link{gtkTreeViewSetExpanderColumn}(object, column)}\cr \code{\link{gtkTreeViewGetExpanderColumn}(object)}\cr \code{\link{gtkTreeViewSetColumnDragFunction}(object, func, user.data = NULL)}\cr \code{\link{gtkTreeViewScrollToPoint}(object, tree.x, tree.y)}\cr \code{\link{gtkTreeViewScrollToCell}(object, path, column = NULL, use.align = FALSE, row.align = 0, col.align = 0)}\cr \code{\link{gtkTreeViewSetCursor}(object, path, focus.column = NULL, start.editing = FALSE)}\cr \code{\link{gtkTreeViewSetCursorOnCell}(object, path, focus.column = NULL, focus.cell = NULL, start.editing = FALSE)}\cr \code{\link{gtkTreeViewGetCursor}(object)}\cr \code{\link{gtkTreeViewRowActivated}(object, path, column)}\cr \code{\link{gtkTreeViewExpandAll}(object)}\cr \code{\link{gtkTreeViewCollapseAll}(object)}\cr \code{\link{gtkTreeViewExpandToPath}(object, path)}\cr \code{\link{gtkTreeViewExpandRow}(object, path, open.all)}\cr \code{\link{gtkTreeViewCollapseRow}(object, path)}\cr \code{\link{gtkTreeViewMapExpandedRows}(object, func, data = NULL)}\cr \code{\link{gtkTreeViewRowExpanded}(object, path)}\cr \code{\link{gtkTreeViewSetReorderable}(object, reorderable)}\cr \code{\link{gtkTreeViewGetReorderable}(object)}\cr \code{\link{gtkTreeViewGetPathAtPos}(object, x, y)}\cr \code{\link{gtkTreeViewGetCellArea}(object, path, column)}\cr \code{\link{gtkTreeViewGetBackgroundArea}(object, path, column)}\cr \code{\link{gtkTreeViewGetVisibleRect}(object)}\cr \code{\link{gtkTreeViewGetVisibleRange}(object)}\cr \code{\link{gtkTreeViewGetBinWindow}(object)}\cr \code{\link{gtkTreeViewWidgetToTreeCoords}(object, wx, wy)}\cr \code{\link{gtkTreeViewTreeToWidgetCoords}(object, tx, ty)}\cr \code{\link{gtkTreeViewConvertBinWindowToTreeCoords}(object, bx, by)}\cr \code{\link{gtkTreeViewConvertBinWindowToWidgetCoords}(object, bx, by)}\cr \code{\link{gtkTreeViewConvertTreeToBinWindowCoords}(object, tx, ty)}\cr \code{\link{gtkTreeViewConvertTreeToWidgetCoords}(object, tx, ty)}\cr \code{\link{gtkTreeViewConvertWidgetToBinWindowCoords}(object, wx, wy)}\cr \code{\link{gtkTreeViewConvertWidgetToTreeCoords}(object, wx, wy)}\cr \code{\link{gtkTreeViewEnableModelDragDest}(object, targets, actions)}\cr \code{\link{gtkTreeViewEnableModelDragSource}(object, start.button.mask, targets, actions)}\cr \code{\link{gtkTreeViewUnsetRowsDragSource}(object)}\cr \code{\link{gtkTreeViewUnsetRowsDragDest}(object)}\cr \code{\link{gtkTreeViewSetDragDestRow}(object, path, pos)}\cr \code{\link{gtkTreeViewGetDragDestRow}(object, path)}\cr \code{\link{gtkTreeViewGetDestRowAtPos}(object, drag.x, drag.y)}\cr \code{\link{gtkTreeViewCreateRowDragIcon}(object, path)}\cr \code{\link{gtkTreeViewSetEnableSearch}(object, enable.search)}\cr \code{\link{gtkTreeViewGetEnableSearch}(object)}\cr \code{\link{gtkTreeViewGetSearchColumn}(object)}\cr \code{\link{gtkTreeViewSetSearchColumn}(object, column)}\cr \code{\link{gtkTreeViewGetSearchEqualFunc}(object)}\cr \code{\link{gtkTreeViewSetSearchEqualFunc}(object, search.equal.func, search.user.data = NULL)}\cr \code{\link{gtkTreeViewGetSearchEntry}(object)}\cr \code{\link{gtkTreeViewSetSearchEntry}(object, entry = NULL)}\cr \code{\link{gtkTreeViewGetSearchPositionFunc}(object)}\cr \code{\link{gtkTreeViewSetSearchPositionFunc}(object, func, data)}\cr \code{\link{gtkTreeViewGetFixedHeightMode}(object)}\cr \code{\link{gtkTreeViewSetFixedHeightMode}(object, enable)}\cr \code{\link{gtkTreeViewGetHoverSelection}(object)}\cr \code{\link{gtkTreeViewSetHoverSelection}(object, hover)}\cr \code{\link{gtkTreeViewGetHoverExpand}(object)}\cr \code{\link{gtkTreeViewSetHoverExpand}(object, expand)}\cr \code{\link{gtkTreeViewSetDestroyCountFunc}(object, func, data = NULL)}\cr \code{\link{gtkTreeViewGetRowSeparatorFunc}(object)}\cr \code{\link{gtkTreeViewSetRowSeparatorFunc}(object, func, data = NULL)}\cr \code{\link{gtkTreeViewGetRubberBanding}(object)}\cr \code{\link{gtkTreeViewSetRubberBanding}(object, enable)}\cr \code{\link{gtkTreeViewIsRubberBandingActive}(object)}\cr \code{\link{gtkTreeViewGetEnableTreeLines}(object)}\cr \code{\link{gtkTreeViewSetEnableTreeLines}(object, enabled)}\cr \code{\link{gtkTreeViewGetGridLines}(object)}\cr \code{\link{gtkTreeViewSetGridLines}(object, grid.lines)}\cr \code{\link{gtkTreeViewSetTooltipRow}(object, tooltip, path)}\cr \code{\link{gtkTreeViewSetTooltipCell}(object, tooltip, path, column, cell)}\cr \code{\link{gtkTreeViewGetTooltipContext}(object, x, y, keyboard.tip)}\cr \code{\link{gtkTreeViewGetTooltipColumn}(object)}\cr \code{\link{gtkTreeViewSetTooltipColumn}(object, column)}\cr \code{gtkTreeView(model = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView}} \section{Interfaces}{GtkTreeView implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{Widget that displays any object that implements the \code{\link{GtkTreeModel}} interface. Please refer to the tree widget conceptual overview for an overview of all the objects and data types related to the tree widget and how they work together. Several different coordinate systems are exposed in the GtkTreeView API. These are: \itemize{ \item Widget coordinates -- coordinates relative to the widget (usually \code{widget->window} . \item Bin window coordinates -- coordinates relative to the window that GtkTreeView renders to. \item Tree coordinates -- coordinates relative to the entire scrollable area of GtkTreeView. These coordinates start at (0, 0) for row 0 of the tree. } Several functions are available for converting between the different coordinate systems. The most common translations are between widget and bin window coordinates and between bin window and tree coordinates. For the former you can use \code{\link{gtkTreeViewConvertWidgetToBinWindowCoords}} (and vice versa), for the latter \code{\link{gtkTreeViewConvertBinWindowToTreeCoords}} (and vice versa).} \section{GtkTreeView as GtkBuildable}{The GtkTreeView implementation of the GtkBuildable interface accepts GtkTreeViewColumn objects as elements in UI definitions. \emph{A UI definition fragment with GtkTreeView}\preformatted{ liststore1 Test 1 }} \section{Structures}{\describe{\item{\verb{GtkTreeView}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkTreeView} is the result of collapsing the constructors of \code{GtkTreeView} (\code{\link{gtkTreeViewNew}}, \code{\link{gtkTreeViewNewWithModel}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkTreeViewDropPosition}}{ An enum for determining where a dropped row goes. \describe{ \item{\verb{before}}{dropped row is inserted before} \item{\verb{after}}{dropped row is inserted after} \item{\verb{into-or-before}}{dropped row becomes a child or is inserted before} \item{\verb{into-or-after}}{dropped row becomes a child or is inserted after} } } \item{\verb{GtkTreeViewGridLines}}{ Used to indicate which grid lines to draw in a tree view. \describe{ \item{\verb{none}}{No grid lines.} \item{\verb{horizontal}}{Horizontal grid lines.} \item{\verb{vertical}}{Vertical grid lines.} \item{\verb{both}}{Horizontal and vertical grid lines.} } } }} \section{User Functions}{\describe{ \item{\code{GtkTreeViewColumnDropFunc(tree.view, column, prev.column, next.column, data)}}{ Function type for determining whether \code{column} can be dropped in a particular spot (as determined by \code{prev.column} and \code{next.column}). In left to right locales, \code{prev.column} is on the left of the potential drop spot, and \code{next.column} is on the right. In right to left mode, this is reversed. This function should return \code{TRUE} if the spot is a valid drop spot. Please note that returning \code{TRUE} does not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user. \describe{ \item{\code{tree.view}}{A \code{\link{GtkTreeView}}} \item{\code{column}}{The \code{\link{GtkTreeViewColumn}} being dragged} \item{\code{prev.column}}{A \code{\link{GtkTreeViewColumn}} on one side of \code{column}} \item{\code{next.column}}{A \code{\link{GtkTreeViewColumn}} on the other side of \code{column}} \item{\code{data}}{user data} } \emph{Returns:} [logical] \code{TRUE}, if \verb{column} can be dropped in this spot } \item{\code{GtkTreeViewMappingFunc(tree.view, path, user.data)}}{ Function used for \code{\link{gtkTreeViewMapExpandedRows}}. \describe{ \item{\code{tree.view}}{A \code{\link{GtkTreeView}}} \item{\code{path}}{The path that's expanded} \item{\code{user.data}}{user data} } } \item{\code{GtkTreeViewSearchEqualFunc(model, column, key, iter, search.data)}}{ A function used for checking whether a row in \code{model} matches a search key string entered by the user. Note the return value is reversed from what you would normally expect, though it has some similarity to \code{strcmp()} returning 0 for equal strings. \describe{ \item{\code{model}}{the \code{\link{GtkTreeModel}} being searched} \item{\code{column}}{the search column set by \code{\link{gtkTreeViewSetSearchColumn}}} \item{\code{key}}{the key string to compare with} \item{\code{iter}}{a \code{\link{GtkTreeIter}} pointing the row of \code{model} that should be compared with \code{key}.} \item{\code{search.data}}{user data from \code{\link{gtkTreeViewSetSearchEqualFunc}}} } \emph{Returns:} [logical] \code{FALSE} if the row matches, \code{TRUE} otherwise. } \item{\code{GtkTreeViewSearchPositionFunc()}}{ \emph{undocumented } } \item{\code{GtkTreeDestroyCountFunc()}}{ \emph{undocumented } } \item{\code{GtkTreeViewRowSeparatorFunc(model, iter, data)}}{ Function type for determining whether the row pointed to by \code{iter} should be rendered as a separator. A common way to implement this is to have a boolean column in the model, whose values the \code{\link{GtkTreeViewRowSeparatorFunc}} returns. \describe{ \item{\code{model}}{the \code{\link{GtkTreeModel}}} \item{\code{iter}}{a \code{\link{GtkTreeIter}} pointing at a row in \code{model}} \item{\code{data}}{user data} } \emph{Returns:} [logical] \code{TRUE} if the row is a separator } }} \section{Signals}{\describe{ \item{\code{columns-changed(tree.view, user.data)}}{ The number of columns of the treeview has changed. \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{cursor-changed(tree.view, user.data)}}{ The position of the cursor (focused cell) has changed. \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{expand-collapse-cursor-row(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{move-cursor(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-activated(tree.view, path, column, user.data)}}{ The "row-activated" signal is emitted when the method \code{\link{gtkTreeViewRowActivated}} is called or the user double clicks a treeview row. It is also emitted when a non-editable row is selected and one of the keys: Space, Shift+Space, Return or Enter is pressed. For selection handling refer to the tree widget conceptual overview as well as \code{\link{GtkTreeSelection}}. \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{path}}{the \code{\link{GtkTreePath}} for the activated row} \item{\code{column}}{the \code{\link{GtkTreeViewColumn}} in which the activation occurred} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-collapsed(tree.view, iter, path, user.data)}}{ The given row has been collapsed (child nodes are hidden). \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{iter}}{the tree iter of the collapsed row} \item{\code{path}}{a tree path that points to the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{row-expanded(tree.view, iter, path, user.data)}}{ The given row has been expanded (child nodes are shown). \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{iter}}{the tree iter of the expanded row} \item{\code{path}}{a tree path that points to the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-all(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-cursor-parent(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{select-cursor-row(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{set-scroll-adjustments(horizontal, vertical, user.data)}}{ Set the scroll adjustments for the tree view. Usually scrolled containers like \code{\link{GtkScrolledWindow}} will emit this signal to connect two instances of \code{\link{GtkScrollbar}} to the scroll directions of the \code{\link{GtkTreeView}}. \describe{ \item{\code{horizontal}}{the horizontal \code{\link{GtkAdjustment}}} \item{\code{vertical}}{the vertical \code{\link{GtkAdjustment}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{start-interactive-search(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{test-collapse-row(tree.view, iter, path, user.data)}}{ The given row is about to be collapsed (hide its children nodes). Use this signal if you need to control the collapsibility of individual rows. \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{iter}}{the tree iter of the row to collapse} \item{\code{path}}{a tree path that points to the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{FALSE} to allow collapsing, \code{TRUE} to reject } \item{\code{test-expand-row(tree.view, iter, path, user.data)}}{ The given row is about to be expanded (show its children nodes). Use this signal if you need to control the expandability of individual rows. \describe{ \item{\code{tree.view}}{the object on which the signal is emitted} \item{\code{iter}}{the tree iter of the row to expand} \item{\code{path}}{a tree path that points to the row} \item{\code{user.data}}{user data set when the signal handler was connected.} } \emph{Returns:} [logical] \code{FALSE} to allow expansion, \code{TRUE} to reject } \item{\code{toggle-cursor-row(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unselect-all(tree.view, user.data)}}{ \emph{undocumented } \describe{ \item{\code{tree.view}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{enable-grid-lines} [\code{\link{GtkTreeViewGridLines}} : Read / Write]}{ Whether grid lines should be drawn in the tree view. Default value: GTK_TREE_VIEW_GRID_LINES_NONE } \item{\verb{enable-search} [logical : Read / Write]}{ View allows user to search through columns interactively. Default value: TRUE } \item{\verb{enable-tree-lines} [logical : Read / Write]}{ Whether tree lines should be drawn in the tree view. Default value: FALSE } \item{\verb{expander-column} [\code{\link{GtkTreeViewColumn}} : * : Read / Write]}{ Set the column for the expander column. } \item{\verb{fixed-height-mode} [logical : Read / Write]}{ Setting the ::fixed-height-mode property to \code{TRUE} speeds up \code{\link{GtkTreeView}} by assuming that all rows have the same height. Only enable this option if all rows are the same height. Please see \code{\link{gtkTreeViewSetFixedHeightMode}} for more information on this option. Default value: FALSE Since 2.4 } \item{\verb{hadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ Horizontal Adjustment for the widget. } \item{\verb{headers-clickable} [logical : Read / Write]}{ Column headers respond to click events. Default value: TRUE } \item{\verb{headers-visible} [logical : Read / Write]}{ Show the column header buttons. Default value: TRUE } \item{\verb{hover-expand} [logical : Read / Write]}{ Enables of disables the hover expansion mode of \code{tree.view}. Hover expansion makes rows expand or collapse if the pointer moves over them. This mode is primarily intended for treeviews in popups, e.g. in \code{\link{GtkComboBox}} or \code{\link{GtkEntryCompletion}}. Default value: FALSE Since 2.6 } \item{\verb{hover-selection} [logical : Read / Write]}{ Enables of disables the hover selection mode of \code{tree.view}. Hover selection makes the selected row follow the pointer. Currently, this works only for the selection modes \code{GTK_SELECTION_SINGLE} and \code{GTK_SELECTION_BROWSE}. This mode is primarily intended for treeviews in popups, e.g. in \code{\link{GtkComboBox}} or \code{\link{GtkEntryCompletion}}. Default value: FALSE Since 2.6 } \item{\verb{level-indentation} [integer : Read / Write]}{ Extra indentation for each level. Allowed values: >= 0 Default value: 0 Since 2.12 } \item{\verb{model} [\code{\link{GtkTreeModel}} : * : Read / Write]}{ The model for the tree view. } \item{\verb{reorderable} [logical : Read / Write]}{ View is reorderable. Default value: FALSE } \item{\verb{rubber-banding} [logical : Read / Write]}{ Whether to enable selection of multiple items by dragging the mouse pointer. Default value: FALSE } \item{\verb{rules-hint} [logical : Read / Write]}{ Set a hint to the theme engine to draw rows in alternating colors. Default value: FALSE } \item{\verb{search-column} [integer : Read / Write]}{ Model column to search through during interactive search. Allowed values: >= -1 Default value: -1 } \item{\verb{show-expanders} [logical : Read / Write]}{ \code{TRUE} if the view has expanders. Default value: TRUE Since 2.12 } \item{\verb{tooltip-column} [integer : Read / Write]}{ The column in the model containing the tooltip texts for the rows. Allowed values: >= -1 Default value: -1 } \item{\verb{vadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ Vertical Adjustment for the widget. } }} \section{Style Properties}{\describe{ \item{\verb{allow-rules} [logical : Read]}{ Allow drawing of alternating color rows. Default value: TRUE } \item{\verb{even-row-color} [\code{\link{GdkColor}} : * : Read]}{ Color to use for even rows. } \item{\verb{expander-size} [integer : Read]}{ Size of the expander arrow. Allowed values: >= 0 Default value: 12 } \item{\verb{grid-line-pattern} [character : * : Read]}{ Dash pattern used to draw the tree view grid lines. Default value: "\\001\\001" } \item{\verb{grid-line-width} [integer : Read]}{ Width, in pixels, of the tree view grid lines. Allowed values: >= 0 Default value: 1 } \item{\verb{horizontal-separator} [integer : Read]}{ Horizontal space between cells. Must be an even number. Allowed values: >= 0 Default value: 2 } \item{\verb{indent-expanders} [logical : Read]}{ Make the expanders indented. Default value: TRUE } \item{\verb{odd-row-color} [\code{\link{GdkColor}} : * : Read]}{ Color to use for odd rows. } \item{\verb{row-ending-details} [logical : Read]}{ Enable extended row background theming. Default value: FALSE } \item{\verb{tree-line-pattern} [character : * : Read]}{ Dash pattern used to draw the tree view lines. Default value: "\\001\\001" } \item{\verb{tree-line-width} [integer : Read]}{ Width, in pixels, of the tree view lines. Allowed values: >= 0 Default value: 1 } \item{\verb{vertical-separator} [integer : Read]}{ Vertical space between cells. Must be an even number. Allowed values: >= 0 Default value: 2 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkTreeView.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkTreeViewColumn}} \code{\link{GtkTreeSelection}} \code{\link{GtkTreeSortable}} \code{\link{GtkTreeModelSort}} \code{\link{GtkListStore}} \code{\link{GtkTreeStore}} \code{\link{GtkCellRenderer}} \code{\link{GtkCellEditable}} \code{\link{GtkCellRendererPixbuf}} \code{\link{GtkCellRendererText}} \code{\link{GtkCellRendererToggle}} } \keyword{internal} RGtk2/man/gtkPaintLayout.Rd0000644000176000001440000000164112362217677015273 0ustar ripleyusers\alias{gtkPaintLayout} \name{gtkPaintLayout} \title{gtkPaintLayout} \description{Draws a layout on \code{window} using the given parameters.} \usage{gtkPaintLayout(object, window, state.type, use.text, area = NULL, widget = NULL, detail = NULL, x, y, layout)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{use.text}}{whether to use the text or foreground graphics context of \code{style}} \item{\verb{area}}{clip rectangle, or \code{NULL} if the output should not be clipped. \emph{[ \acronym{allow-none} ]}} \item{\verb{widget}}{the widget. \emph{[ \acronym{allow-none} ]}} \item{\verb{detail}}{a style detail. \emph{[ \acronym{allow-none} ]}} \item{\verb{x}}{x origin} \item{\verb{y}}{y origin} \item{\verb{layout}}{the layout to draw} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGroupGetAction.Rd0000644000176000001440000000101212362217677017042 0ustar ripleyusers\alias{gtkActionGroupGetAction} \name{gtkActionGroupGetAction} \title{gtkActionGroupGetAction} \description{Looks up an action in the action group by name.} \usage{gtkActionGroupGetAction(object, action.name)} \arguments{ \item{\verb{object}}{the action group} \item{\verb{action.name}}{the name of the action} } \details{Since 2.4} \value{[\code{\link{GtkAction}}] the action, or \code{NULL} if no action by that name exists. \emph{[transfer-none]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewSetTabs.Rd0000644000176000001440000000066412362217677016073 0ustar ripleyusers\alias{gtkTextViewSetTabs} \name{gtkTextViewSetTabs} \title{gtkTextViewSetTabs} \description{Sets the default tab stops for paragraphs in \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewSetTabs(object, tabs)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextView}}} \item{\verb{tabs}}{tabs as a \code{\link{PangoTabArray}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerGetDefault.Rd0000644000176000001440000000101712362217677017477 0ustar ripleyusers\alias{gtkRecentManagerGetDefault} \name{gtkRecentManagerGetDefault} \title{gtkRecentManagerGetDefault} \description{Gets a unique instance of \code{\link{GtkRecentManager}}, that you can share in your application without caring about memory management.} \usage{gtkRecentManagerGetDefault()} \details{Since 2.10} \value{[\code{\link{GtkRecentManager}}] A unique \code{\link{GtkRecentManager}}. Do not ref or unref it. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintOperationGetStatus.Rd0000644000176000001440000000075712362217677017652 0ustar ripleyusers\alias{gtkPrintOperationGetStatus} \name{gtkPrintOperationGetStatus} \title{gtkPrintOperationGetStatus} \description{Returns the status of the print operation. Also see \code{\link{gtkPrintOperationGetStatusString}}.} \usage{gtkPrintOperationGetStatus(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintOperation}}}} \details{Since 2.10} \value{[\code{\link{GtkPrintStatus}}] the status of the print operation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryGetInvisibleChar.Rd0000644000176000001440000000103112362217677017217 0ustar ripleyusers\alias{gtkEntryGetInvisibleChar} \name{gtkEntryGetInvisibleChar} \title{gtkEntryGetInvisibleChar} \description{Retrieves the character displayed in place of the real characters for entries with visibility set to false. See \code{\link{gtkEntrySetInvisibleChar}}.} \usage{gtkEntryGetInvisibleChar(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntry}}}} \value{[numeric] the current invisible char, or 0, if the entry does not show invisible text at all.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListColumnTitleActive.Rd0000644000176000001440000000124212362217677017351 0ustar ripleyusers\alias{gtkCListColumnTitleActive} \name{gtkCListColumnTitleActive} \title{gtkCListColumnTitleActive} \description{ Sets the specified column in the \code{\link{GtkCList}} to become selectable. You can then respond to events from the user clicking on a title button, and take appropriate action. \strong{WARNING: \code{gtk_clist_column_title_active} is deprecated and should not be used in newly-written code.} } \usage{gtkCListColumnTitleActive(object, column)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to make active, counting from 0.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewColumnSetSizing.Rd0000644000176000001440000000066312362217677017575 0ustar ripleyusers\alias{gtkTreeViewColumnSetSizing} \name{gtkTreeViewColumnSetSizing} \title{gtkTreeViewColumnSetSizing} \description{Sets the growth behavior of \code{tree.column} to \code{type}.} \usage{gtkTreeViewColumnSetSizing(object, type)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeViewColumn}}.} \item{\verb{type}}{The \code{\link{GtkTreeViewColumnSizing}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkMessageDialogSetMarkup.Rd0000644000176000001440000000075312362217677017365 0ustar ripleyusers\alias{gtkMessageDialogSetMarkup} \name{gtkMessageDialogSetMarkup} \title{gtkMessageDialogSetMarkup} \description{Sets the text of the message dialog to be \code{str}, which is marked up with the Pango text markup language.} \usage{gtkMessageDialogSetMarkup(object, str)} \arguments{ \item{\verb{object}}{a \code{\link{GtkMessageDialog}}} \item{\verb{str}}{markup string (see Pango markup format)} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolShellGetIconSize.Rd0000644000176000001440000000106712362217677017035 0ustar ripleyusers\alias{gtkToolShellGetIconSize} \name{gtkToolShellGetIconSize} \title{gtkToolShellGetIconSize} \description{Retrieves the icon size for the tool shell. Tool items must not call this function directly, but rely on \code{\link{gtkToolItemGetIconSize}} instead.} \usage{gtkToolShellGetIconSize(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolShell}}}} \details{Since 2.14} \value{[\code{\link{GtkIconSize}}] the current size for icons of \code{shell}. \emph{[ \acronym{type} int]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewGetItemAtPos.Rd0000644000176000001440000000207512362217677016775 0ustar ripleyusers\alias{gtkIconViewGetItemAtPos} \name{gtkIconViewGetItemAtPos} \title{gtkIconViewGetItemAtPos} \description{Finds the path at the point (\code{x}, \code{y}), relative to bin_window coordinates. In contrast to \code{\link{gtkIconViewGetPathAtPos}}, this function also obtains the cell at the specified position. See \code{\link{gtkIconViewConvertWidgetToBinWindowCoords}} for converting widget coordinates to bin_window coordinates.} \usage{gtkIconViewGetItemAtPos(object, x, y)} \arguments{ \item{\verb{object}}{A \code{\link{GtkIconView}}.} \item{\verb{x}}{The x position to be identified} \item{\verb{y}}{The y position to be identified} } \details{Since 2.8} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if an item exists at the specified position} \item{\verb{path}}{Return location for the path, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{cell}}{Return location for the renderer responsible for the cell at (\code{x}, \code{y}), or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoLayoutIterNextRun.Rd0000644000176000001440000000076112362217677016770 0ustar ripleyusers\alias{pangoLayoutIterNextRun} \name{pangoLayoutIterNextRun} \title{pangoLayoutIterNextRun} \description{Moves \code{iter} forward to the next run in visual order. If \code{iter} was already at the end of the layout, returns \code{FALSE}.} \usage{pangoLayoutIterNextRun(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoLayoutIter}}] a \code{\link{PangoLayoutIter}}}} \value{[logical] whether motion was possible.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-pixbuf-File-Loading.Rd0000644000176000001440000000267712362220763016604 0ustar ripleyusers\alias{gdk-pixbuf-File-Loading} \name{gdk-pixbuf-File-Loading} \title{File Loading} \description{Loading a pixbuf from a file.} \section{Methods and Functions}{ \code{\link{gdkPixbufNewFromFile}(filename, .errwarn = TRUE)}\cr \code{\link{gdkPixbufNewFromFileAtSize}(filename, width, height, .errwarn = TRUE)}\cr \code{\link{gdkPixbufNewFromFileAtScale}(filename, width, height, preserve.aspect.ratio, .errwarn = TRUE)}\cr \code{\link{gdkPixbufGetFileInfo}(filename)}\cr \code{\link{gdkPixbufNewFromStream}(stream, cancellable = NULL, .errwarn = TRUE)}\cr \code{\link{gdkPixbufNewFromStreamAtScale}(stream, width = -1, height = -1, preserve.aspect.ratio = 1, cancellable = NULL, .errwarn = TRUE)}\cr } \section{Detailed Description}{The \command{gdk-pixbuf} library provides a simple mechanism for loading an image from a file in synchronous fashion. This means that the library takes control of the application while the file is being loaded; from the user's point of view, the application will block until the image is done loading. This interface can be used by applications in which blocking is acceptable while an image is being loaded. It can also be used to load small images in general. Applications that need progressive loading can use the \code{\link{GdkPixbufLoader}} functionality instead.} \references{\url{http://library.gnome.org/devel//gdk-pixbuf/gdk-pixbuf-File-Loading.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeLoadIcon.Rd0000644000176000001440000000331512362217677016306 0ustar ripleyusers\alias{gtkIconThemeLoadIcon} \name{gtkIconThemeLoadIcon} \title{gtkIconThemeLoadIcon} \description{Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf. This is a convenience function; if more details about the icon are needed, use \code{\link{gtkIconThemeLookupIcon}} followed by \code{\link{gtkIconInfoLoadIcon}}.} \usage{gtkIconThemeLoadIcon(object, icon.name, size, flags, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconTheme}}} \item{\verb{icon.name}}{the name of the icon to lookup} \item{\verb{size}}{the desired icon size. The resulting icon may not be exactly this size; see \code{\link{gtkIconInfoLoadIcon}}.} \item{\verb{flags}}{flags modifying the behavior of the icon lookup} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Note that you probably want to listen for icon theme changes and update the icon. This is usually done by connecting to the GtkWidget::style-set signal. If for some reason you do not want to update the icon when the icon theme changes, you should consider using \code{\link{gdkPixbufCopy}} to make a private copy of the pixbuf returned by this function. Otherwise GTK+ may need to keep the old icon theme loaded, which would be a waste of memory. Since 2.4} \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixbuf}}] the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. \code{NULL} if the icon isn't found.} \item{\verb{error}}{Location to store error information on failure, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketSend.Rd0000644000176000001440000000315212362217677014524 0ustar ripleyusers\alias{gSocketSend} \name{gSocketSend} \title{gSocketSend} \description{Tries to send \code{size} bytes from \code{buffer} on the socket. This is mainly used by connection-oriented sockets; it is identical to \code{\link{gSocketSendTo}} with \code{address} set to \code{NULL}.} \usage{gSocketSend(object, buffer, size, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GSocket}}} \item{\verb{buffer}}{the buffer containing the data to send.} \item{\verb{size}}{the number of bytes to send} \item{\verb{cancellable}}{a \code{\link{GCancellable}} or \code{NULL}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If the socket is in blocking mode the call will block until there is space for the data in the socket queue. If there is no space available and the socket is in non-blocking mode a \code{G_IO_ERROR_WOULD_BLOCK} error will be returned. To be notified when space is available, wait for the \code{G_IO_OUT} condition. Note though that you may still receive \code{G_IO_ERROR_WOULD_BLOCK} from \code{\link{gSocketSend}} even if you were previously notified of a \code{G_IO_OUT} condition. (On Windows in particular, this is very common due to the way the underlying APIs work.) On error -1 is returned and \code{error} is set accordingly. Since 2.22} \value{ A list containing the following elements: \item{retval}{[integer] Number of bytes written (which may be less than \code{size}), or -1 on error} \item{\verb{error}}{\code{\link{GError}} for error reporting, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/assertions.Rd0000644000176000001440000000223211766145227014501 0ustar ripleyusers\alias{checkPtrType} \alias{checkArrType} \alias{implements} \name{assertions} \title{RGtk2 Type Assertion} \description{Assert that an object is of a particular type} \usage{ checkPtrType(w, klass = "GtkWidget", nullOk = FALSE, critical = TRUE) implements(obj, interface) } \arguments{ \item{w}{An object whose type is to be verified.} \item{klass}{The type the object is expected to be.} \item{nullOk}{Whether the object is allowed to be \code{NULL}.} \item{critical}{Whether to stop if the object is not of the specified type. If this is a character vector, then the function will stop on mismatch and report that string as the error message.} \item{obj}{A GObject.} \item{interface}{The interface that \code{obj} is expected to implement.} } \details{ All RGtk2 functions check that the arguments are of the correct type, if possible. The \code{checkPtrType} function is most useful to the user when it is not known if an object is of the required type. A good example is the \emph{user data} argument of a callback function. To see if a \code{GObject} implements a certain interface, use \code{implements}. } \author{Michael Lawrence and Duncan Temple Lang} \keyword{misc} RGtk2/man/gFileInputStreamQueryInfo.Rd0000644000176000001440000000226612362217677017404 0ustar ripleyusers\alias{gFileInputStreamQueryInfo} \name{gFileInputStreamQueryInfo} \title{gFileInputStreamQueryInfo} \description{Queries a file input stream the given \code{attributes}. This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see \code{\link{gFileInputStreamQueryInfoAsync}}. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will fail with \code{G_IO_ERROR_PENDING}.} \usage{gFileInputStreamQueryInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInputStream}}.} \item{\verb{attributes}}{a file attribute query string.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInfo}}] a \code{\link{GFileInfo}}, or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to ignore.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetDestRowAtPos.Rd0000644000176000001440000000221412362217677017470 0ustar ripleyusers\alias{gtkTreeViewGetDestRowAtPos} \name{gtkTreeViewGetDestRowAtPos} \title{gtkTreeViewGetDestRowAtPos} \description{Determines the destination row for a given position. \code{drag.x} and \code{drag.y} are expected to be in widget coordinates. This function is only meaningful if \code{tree.view} is realized. Therefore this function will always return \code{FALSE} if \code{tree.view} is not realized or does not have a model.} \usage{gtkTreeViewGetDestRowAtPos(object, drag.x, drag.y)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{drag.x}}{the position to determine the destination row for} \item{\verb{drag.y}}{the position to determine the destination row for} } \value{ A list containing the following elements: \item{retval}{[logical] whether there is a row at the given position, \code{TRUE} if this is indeed the case.} \item{\verb{path}}{Return location for the path of the highlighted row, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{pos}}{Return location for the drop position, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gAppInfoLaunchDefaultForUri.Rd0000644000176000001440000000144412362217677017607 0ustar ripleyusers\alias{gAppInfoLaunchDefaultForUri} \name{gAppInfoLaunchDefaultForUri} \title{gAppInfoLaunchDefaultForUri} \description{Utility function that launches the default application registered to handle the specified uri. Synchronous I/O is done on the uri to detect the type of the file if required.} \usage{gAppInfoLaunchDefaultForUri(uri, launch.context, .errwarn = TRUE)} \arguments{ \item{\verb{uri}}{the uri to show} \item{\verb{launch.context}}{an optional \code{\link{GAppLaunchContext}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} on success, \code{FALSE} on error.} \item{\verb{error}}{a \code{\link{GError}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetDefault.Rd0000644000176000001440000000056112362217677016671 0ustar ripleyusers\alias{gtkPaperSizeGetDefault} \name{gtkPaperSizeGetDefault} \title{gtkPaperSizeGetDefault} \description{Returns the name of the default paper size, which depends on the current locale.} \usage{gtkPaperSizeGetDefault()} \details{Since 2.10} \value{[character] the name of the default paper size.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeSetLineStyle.Rd0000644000176000001440000000066512362217677016336 0ustar ripleyusers\alias{gtkCTreeSetLineStyle} \name{gtkCTreeSetLineStyle} \title{gtkCTreeSetLineStyle} \description{ \strong{WARNING: \code{gtk_ctree_set_line_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeSetLineStyle(object, line.style)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{line.style}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetSetTooltipText.Rd0000644000176000001440000000121512362217677017136 0ustar ripleyusers\alias{gtkWidgetSetTooltipText} \name{gtkWidgetSetTooltipText} \title{gtkWidgetSetTooltipText} \description{Sets \code{text} as the contents of the tooltip. This function will take care of setting GtkWidget:has-tooltip to \code{TRUE} and of the default handler for the GtkWidget::query-tooltip signal.} \usage{gtkWidgetSetTooltipText(object, text)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{text}}{the contents of the tooltip for \code{widget}} } \details{See also the GtkWidget:tooltip-text property and \code{\link{gtkTooltipSetText}}. Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileEjectMountableWithOperation.Rd0000644000176000001440000000243112362217677020677 0ustar ripleyusers\alias{gFileEjectMountableWithOperation} \name{gFileEjectMountableWithOperation} \title{gFileEjectMountableWithOperation} \description{Starts an asynchronous eject on a mountable. When this operation has completed, \code{callback} will be called with \code{user.user} data, and the operation can be finalized with \code{\link{gFileEjectMountableWithOperationFinish}}.} \usage{gFileEjectMountableWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{flags}}{flags affecting the operation} \item{\verb{mount.operation}}{a \code{\link{GMountOperation}}, or \code{NULL} to avoid user interaction.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{\verb{callback}}{a \code{\link{GAsyncReadyCallback}} to call when the request is satisfied, or \code{NULL}.} \item{\verb{user.data}}{the data to pass to callback function} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned. Since 2.22} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileReadFinish.Rd0000644000176000001440000000127312362217677015300 0ustar ripleyusers\alias{gFileReadFinish} \name{gFileReadFinish} \title{gFileReadFinish} \description{Finishes an asynchronous file read operation started with \code{\link{gFileReadAsync}}.} \usage{gFileReadFinish(object, res, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{res}}{a \code{\link{GAsyncResult}}.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GFileInputStream}}] a \code{\link{GFileInputStream}} or \code{NULL} on error.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetImage.Rd0000644000176000001440000000420112362217677016121 0ustar ripleyusers\alias{gdkDrawableGetImage} \name{gdkDrawableGetImage} \title{gdkDrawableGetImage} \description{A \code{\link{GdkImage}} stores client-side image data (pixels). In contrast, \code{\link{GdkPixmap}} and \code{\link{GdkWindow}} are server-side objects. \code{\link{gdkDrawableGetImage}} obtains the pixels from a server-side drawable as a client-side \code{\link{GdkImage}}. The format of a \code{\link{GdkImage}} depends on the \code{\link{GdkVisual}} of the current display, which makes manipulating \code{\link{GdkImage}} extremely difficult; therefore, in most cases you should use \code{\link{gdkPixbufGetFromDrawable}} instead of this lower-level function. A \code{\link{GdkPixbuf}} contains image data in a canonicalized RGB format, rather than a display-dependent format. Of course, there's a convenience vs. speed tradeoff here, so you'll want to think about what makes sense for your application.} \usage{gdkDrawableGetImage(object, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDrawable}}} \item{\verb{x}}{x coordinate on \code{drawable}} \item{\verb{y}}{y coordinate on \code{drawable}} \item{\verb{width}}{width of region to get} \item{\verb{height}}{height or region to get} } \details{\code{x}, \code{y}, \code{width}, and \code{height} define the region of \code{drawable} to obtain as an image. You would usually copy image data to the client side if you intend to examine the values of individual pixels, for example to darken an image or add a red tint. It would be prohibitively slow to make a round-trip request to the windowing system for each pixel, so instead you get all of them at once, modify them, then copy them all back at once. If the X server or other windowing system backend is on the local machine, this function may use shared memory to avoid copying the image data. If the source drawable is a \code{\link{GdkWindow}} and partially offscreen or obscured, then the obscured portions of the returned image will contain undefined data.} \value{[\code{\link{GdkImage}}] a \code{\link{GdkImage}} containing the contents of \code{drawable}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkLayout.Rd0000644000176000001440000000664312362217677014246 0ustar ripleyusers\alias{GtkLayout} \alias{gtkLayout} \name{GtkLayout} \title{GtkLayout} \description{Infinite scrollable area containing child widgets and/or custom drawing} \section{Methods and Functions}{ \code{\link{gtkLayoutNew}(hadjustment = NULL, vadjustment = NULL, show = TRUE)}\cr \code{\link{gtkLayoutPut}(object, child.widget, x, y)}\cr \code{\link{gtkLayoutMove}(object, child.widget, x, y)}\cr \code{\link{gtkLayoutSetSize}(object, width, height)}\cr \code{\link{gtkLayoutGetSize}(object)}\cr \code{\link{gtkLayoutFreeze}(object)}\cr \code{\link{gtkLayoutThaw}(object)}\cr \code{\link{gtkLayoutGetHadjustment}(object)}\cr \code{\link{gtkLayoutGetVadjustment}(object)}\cr \code{\link{gtkLayoutSetHadjustment}(object, adjustment = NULL)}\cr \code{\link{gtkLayoutSetVadjustment}(object, adjustment = NULL)}\cr \code{\link{gtkLayoutGetBinWindow}(object)}\cr \code{gtkLayout(hadjustment = NULL, vadjustment = NULL, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkLayout}} \section{Interfaces}{GtkLayout implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{\code{\link{GtkLayout}} is similar to \code{\link{GtkDrawingArea}} in that it's a "blank slate" and doesn't do anything but paint a blank background by default. It's different in that it supports scrolling natively (you can add it to a \code{\link{GtkScrolledWindow}}), and it can contain child widgets, since it's a \code{\link{GtkContainer}}. However if you're just going to draw, a \code{\link{GtkDrawingArea}} is a better choice since it has lower overhead. When handling expose events on a \code{\link{GtkLayout}}, you must draw to GTK_LAYOUT (layout)->bin_window, rather than to GTK_WIDGET (layout)->window, as you would for a drawing area.} \section{Structures}{\describe{\item{\verb{GtkLayout}}{ \emph{undocumented } \describe{\item{\verb{binWindow}}{[\code{\link{GdkWindow}}] }} }}} \section{Convenient Construction}{\code{gtkLayout} is the equivalent of \code{\link{gtkLayoutNew}}.} \section{Signals}{\describe{\item{\code{set-scroll-adjustments(horizontal, vertical, user.data)}}{ Set the scroll adjustments for the layout. Usually scrolled containers like \code{\link{GtkScrolledWindow}} will emit this signal to connect two instances of \code{\link{GtkScrollbar}} to the scroll directions of the \code{\link{GtkLayout}}. \describe{ \item{\code{horizontal}}{the horizontal \code{\link{GtkAdjustment}}} \item{\code{vertical}}{the vertical \code{\link{GtkAdjustment}}} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{hadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The GtkAdjustment for the horizontal position. } \item{\verb{height} [numeric : Read / Write]}{ The height of the layout. Allowed values: <= G_MAXINT Default value: 100 } \item{\verb{vadjustment} [\code{\link{GtkAdjustment}} : * : Read / Write]}{ The GtkAdjustment for the vertical position. } \item{\verb{width} [numeric : Read / Write]}{ The width of the layout. Allowed values: <= G_MAXINT Default value: 100 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkLayout.html}} \author{Derived by RGtkGen from GTK+ documentation} \seealso{ \code{\link{GtkDrawingArea}} \code{\link{GtkScrolledWindow}} } \keyword{internal} RGtk2/man/gtkPrintContextGetWidth.Rd0000644000176000001440000000064412362217677017125 0ustar ripleyusers\alias{gtkPrintContextGetWidth} \name{gtkPrintContextGetWidth} \title{gtkPrintContextGetWidth} \description{Obtains the width of the \code{\link{GtkPrintContext}}, in pixels.} \usage{gtkPrintContextGetWidth(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[numeric] the width of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewGetCursor.Rd0000644000176000001440000000146312362217677016414 0ustar ripleyusers\alias{gtkTreeViewGetCursor} \name{gtkTreeViewGetCursor} \title{gtkTreeViewGetCursor} \description{Fills in \code{path} and \code{focus.column} with the current path and focus column. If the cursor isn't currently set, then *\code{path} will be \code{NULL}. If no column currently has focus, then *\code{focus.column} will be \code{NULL}.} \usage{gtkTreeViewGetCursor(object)} \arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}}} \value{ A list containing the following elements: \item{\verb{path}}{A pointer to be filled with the current cursor path, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} \item{\verb{focus.column}}{A pointer to be filled with the current focus column, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetPaperSizes.Rd0000644000176000001440000000110512362217677017365 0ustar ripleyusers\alias{gtkPaperSizeGetPaperSizes} \name{gtkPaperSizeGetPaperSizes} \title{gtkPaperSizeGetPaperSizes} \description{Creates a list of known paper sizes.} \usage{gtkPaperSizeGetPaperSizes(include.custom)} \arguments{\item{\verb{include.custom}}{whether to include custom paper sizes as defined in the page setup dialog}} \details{Since 2.12} \value{[list] a newly allocated list of newly allocated \code{\link{GtkPaperSize}} objects. \emph{[ \acronym{element-type} GtkPaperSize][ \acronym{transfer full} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferInsertChildAnchor.Rd0000644000176000001440000000214112362217677020360 0ustar ripleyusers\alias{gtkTextBufferInsertChildAnchor} \name{gtkTextBufferInsertChildAnchor} \title{gtkTextBufferInsertChildAnchor} \description{Inserts a child widget anchor into the text buffer at \code{iter}. The anchor will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for child anchors, but the "text" variants do not. E.g. see \code{\link{gtkTextBufferGetSlice}} and \code{\link{gtkTextBufferGetText}}. Consider \code{\link{gtkTextBufferCreateChildAnchor}} as a more convenient alternative to this function. The buffer will add a reference to the anchor, so you can unref it after insertion.} \usage{gtkTextBufferInsertChildAnchor(object, iter, anchor)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{iter}}{location to insert the anchor} \item{\verb{anchor}}{a \code{\link{GtkTextChildAnchor}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelSetUseUnderline.Rd0000644000176000001440000000074212362217677017041 0ustar ripleyusers\alias{gtkLabelSetUseUnderline} \name{gtkLabelSetUseUnderline} \title{gtkLabelSetUseUnderline} \description{If true, an underline in the text indicates the next character should be used for the mnemonic accelerator key.} \usage{gtkLabelSetUseUnderline(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkLabel}}} \item{\verb{setting}}{\code{TRUE} if underlines in the text indicate mnemonics} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCheckMenuItemGetInconsistent.Rd0000644000176000001440000000066712362217677020553 0ustar ripleyusers\alias{gtkCheckMenuItemGetInconsistent} \name{gtkCheckMenuItemGetInconsistent} \title{gtkCheckMenuItemGetInconsistent} \description{Retrieves the value set by \code{\link{gtkCheckMenuItemSetInconsistent}}.} \usage{gtkCheckMenuItemGetInconsistent(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkCheckMenuItem}}}} \value{[logical] \code{TRUE} if inconsistent} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufFormatGetLicense.Rd0000644000176000001440000000113612362217677017352 0ustar ripleyusers\alias{gdkPixbufFormatGetLicense} \name{gdkPixbufFormatGetLicense} \title{gdkPixbufFormatGetLicense} \description{Returns information about the license of the image loader for the format. The returned string should be a shorthand for a wellknown license, e.g. "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license.} \usage{gdkPixbufFormatGetLicense(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufFormat}}}} \details{Since 2.6} \value{[character] a string describing the license of \code{format}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowSetSkipTaskbarHint.Rd0000644000176000001440000000103412362217677017723 0ustar ripleyusers\alias{gtkWindowSetSkipTaskbarHint} \name{gtkWindowSetSkipTaskbarHint} \title{gtkWindowSetSkipTaskbarHint} \description{Windows may set a hint asking the desktop environment not to display the window in the task bar. This function sets this hint.} \usage{gtkWindowSetSkipTaskbarHint(object, setting)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWindow}}} \item{\verb{setting}}{\code{TRUE} to keep this window from appearing in the task bar} } \details{Since 2.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoCairoContextSetResolution.Rd0000644000176000001440000000153412362217677020504 0ustar ripleyusers\alias{pangoCairoContextSetResolution} \name{pangoCairoContextSetResolution} \title{pangoCairoContextSetResolution} \description{Sets the resolution for the context. This is a scale factor between points specified in a \code{\link{PangoFontDescription}} and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).} \usage{pangoCairoContextSetResolution(context, dpi)} \arguments{ \item{\verb{context}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}, from a pangocairo font map} \item{\verb{dpi}}{[numeric] the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.) A 0 or negative value means to use the resolution from the font map.} } \details{ Since 1.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFamily.Rd0000644000176000001440000000104712362217677017400 0ustar ripleyusers\alias{gtkFontSelectionGetFamily} \name{gtkFontSelectionGetFamily} \title{gtkFontSelectionGetFamily} \description{Gets the \code{\link{PangoFontFamily}} representing the selected font family.} \usage{gtkFontSelectionGetFamily(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \details{Since 2.14} \value{[\code{\link{PangoFontFamily}}] A \code{\link{PangoFontFamily}} representing the selected font family. Font families are a collection of font faces.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewMoveColumnAfter.Rd0000644000176000001440000000124712362217677017545 0ustar ripleyusers\alias{gtkTreeViewMoveColumnAfter} \name{gtkTreeViewMoveColumnAfter} \title{gtkTreeViewMoveColumnAfter} \description{Moves \code{column} to be after to \code{base.column}. If \code{base.column} is \code{NULL}, then \code{column} is placed in the first position.} \usage{gtkTreeViewMoveColumnAfter(object, column, base.column = NULL)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}} \item{\verb{column}}{The \code{\link{GtkTreeViewColumn}} to be moved.} \item{\verb{base.column}}{The \code{\link{GtkTreeViewColumn}} to be moved relative to, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixmapColormapCreateFromXpm.Rd0000644000176000001440000000233212362217677020370 0ustar ripleyusers\alias{gdkPixmapColormapCreateFromXpm} \name{gdkPixmapColormapCreateFromXpm} \title{gdkPixmapColormapCreateFromXpm} \description{Create a pixmap from a XPM file using a particular colormap.} \usage{gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename)} \arguments{ \item{\verb{drawable}}{a \code{\link{GdkDrawable}}, used to determine default values for the new pixmap. Can be \code{NULL} if \code{colormap} is given.} \item{\verb{colormap}}{the \code{\link{GdkColormap}} that the new pixmap will be use. If omitted, the colormap for \code{window} will be used.} \item{\verb{transparent.color}}{the color to be used for the pixels that are transparent in the input file. Can be \code{NULL}, in which case a default color will be used.} \item{\verb{filename}}{the filename of a file containing XPM data.} } \value{ A list containing the following elements: \item{retval}{[\code{\link{GdkPixmap}}] the \code{\link{GdkPixmap}}. \emph{[ \acronym{transfer none} ]}} \item{\verb{mask}}{a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be \code{NULL}, in which case transparency will be ignored.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewWidgetToTreeCoords.Rd0000644000176000001440000000202712362217677020214 0ustar ripleyusers\alias{gtkTreeViewWidgetToTreeCoords} \name{gtkTreeViewWidgetToTreeCoords} \title{gtkTreeViewWidgetToTreeCoords} \description{ Converts bin_window coordinates to coordinates for the tree (the full scrollable area of the tree). \strong{WARNING: \code{gtk_tree_view_widget_to_tree_coords} has been deprecated since version 2.12 and should not be used in newly-written code. Due to historial reasons the name of this function is incorrect. For converting coordinates relative to the widget to bin_window coordinates, please see \code{\link{gtkTreeViewConvertWidgetToBinWindowCoords}}.} } \usage{gtkTreeViewWidgetToTreeCoords(object, wx, wy)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{wx}}{X coordinate relative to bin_window} \item{\verb{wy}}{Y coordinate relative to bin_window} } \value{ A list containing the following elements: \item{\verb{tx}}{return location for tree X coordinate} \item{\verb{ty}}{return location for tree Y coordinate} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayManagerListDisplays.Rd0000644000176000001440000000070012362217677020242 0ustar ripleyusers\alias{gdkDisplayManagerListDisplays} \name{gdkDisplayManagerListDisplays} \title{gdkDisplayManagerListDisplays} \description{List all currently open displays.} \usage{gdkDisplayManagerListDisplays(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDisplayManager}}}} \details{Since 2.2} \value{[list] a newly allocated \verb{list} of \code{\link{GdkDisplay}} objects.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewSetHeadersClickable.Rd0000644000176000001440000000065712362217677020324 0ustar ripleyusers\alias{gtkTreeViewSetHeadersClickable} \name{gtkTreeViewSetHeadersClickable} \title{gtkTreeViewSetHeadersClickable} \description{Allow the column title buttons to be clicked.} \usage{gtkTreeViewSetHeadersClickable(object, active)} \arguments{ \item{\verb{object}}{A \code{\link{GtkTreeView}}.} \item{\verb{active}}{\code{TRUE} if the columns are clickable.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetAppPaintable.Rd0000644000176000001440000000100112362217677017154 0ustar ripleyusers\alias{gtkWidgetGetAppPaintable} \name{gtkWidgetGetAppPaintable} \title{gtkWidgetGetAppPaintable} \description{Determines whether the application intends to draw on the widget in an \verb{"expose-event"} handler.} \usage{gtkWidgetGetAppPaintable(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{See \code{\link{gtkWidgetSetAppPaintable}} Since 2.18} \value{[logical] \code{TRUE} if the widget is app paintable} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelGroupConnect.Rd0000644000176000001440000000213212362217677016354 0ustar ripleyusers\alias{gtkAccelGroupConnect} \name{gtkAccelGroupConnect} \title{gtkAccelGroupConnect} \description{Installs an accelerator in this group. When \code{accel.group} is being activated in response to a call to \code{\link{gtkAccelGroupsActivate}}, \code{closure} will be invoked if the \code{accel.key} and \code{accel.mods} from \code{\link{gtkAccelGroupsActivate}} match those of this connection.} \usage{gtkAccelGroupConnect(object, accel.key, accel.mods, accel.flags, closure)} \arguments{ \item{\verb{object}}{the accelerator group to install an accelerator in} \item{\verb{accel.key}}{key value of the accelerator} \item{\verb{accel.mods}}{modifier combination of the accelerator} \item{\verb{accel.flags}}{a flag mask to configure this accelerator} \item{\verb{closure}}{closure to be executed upon accelerator activation} } \details{The signature used for the \code{closure} is that of \code{\link{GtkAccelGroupActivate}}. Note that, due to implementation details, a single closure can only be connected to one accelerator group.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileAttributeInfoListLookup.Rd0000644000176000001440000000111612362217677020065 0ustar ripleyusers\alias{gFileAttributeInfoListLookup} \name{gFileAttributeInfoListLookup} \title{gFileAttributeInfoListLookup} \description{Gets the file attribute with the name \code{name} from \code{list}.} \usage{gFileAttributeInfoListLookup(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GFileAttributeInfoList}}.} \item{\verb{name}}{the name of the attribute to lookup.} } \value{[\code{\link{GFileAttributeInfo}}] a \code{\link{GFileAttributeInfo}} for the \code{name}, or \code{NULL} if an attribute isn't found.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetQueueResizeNoRedraw.Rd0000644000176000001440000000065112362217677020076 0ustar ripleyusers\alias{gtkWidgetQueueResizeNoRedraw} \name{gtkWidgetQueueResizeNoRedraw} \title{gtkWidgetQueueResizeNoRedraw} \description{This function works like \code{\link{gtkWidgetQueueResize}}, except that the widget is not invalidated.} \usage{gtkWidgetQueueResizeNoRedraw(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetModificationTime.Rd0000644000176000001440000000071012362217677017773 0ustar ripleyusers\alias{gFileInfoSetModificationTime} \name{gFileInfoSetModificationTime} \title{gFileInfoSetModificationTime} \description{Sets the \code{G_FILE_ATTRIBUTE_TIME_MODIFIED} attribute in the file info to the given time value.} \usage{gFileInfoSetModificationTime(object, mtime)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{mtime}}{a \code{\link{GTimeVal}}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gThemedIconGetNames.Rd0000644000176000001440000000054612362217677016131 0ustar ripleyusers\alias{gThemedIconGetNames} \name{gThemedIconGetNames} \title{gThemedIconGetNames} \description{Gets the names of icons from within \code{icon}.} \usage{gThemedIconGetNames(object)} \arguments{\item{\verb{object}}{a \code{\link{GThemedIcon}}.}} \value{[character] a list of icon names.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GClosure.Rd0000644000176000001440000000167611766145227014045 0ustar ripleyusers\name{GClosure} \alias{GClosure} \alias{toRGClosure} \title{The GClosure structure} \description{Basically, a \code{GClosure} is a \link{transparent-type} that represents an R function.} \usage{toRGClosure(c_closure)} \arguments{ \item{c_closure}{a \code{GClosure}} } \value{ an R closure with an extra \code{ref} attribute holding the original external reference } \details{ When an API function requests a \code{GClosure} as a parameter, the user may pass any R function OR an R object of class \code{GClosure} that is returned by certain API functions. A \code{GClosure} represents an external object and thus inherits from \code{\link{RGtkObject}}. The external \code{GClosure} objects may be coerced by the function \code{toRGClosure} to an R closure. This means that you can effectively invoke external closures (which may be implemented in C or R) in the same way as R functions. } \author{Michael Lawrence} \keyword{interface} \keyword{internal} RGtk2/man/GdkScreen.Rd0000644000176000001440000001051112362217677014155 0ustar ripleyusers\alias{GdkScreen} \name{GdkScreen} \title{GdkScreen} \description{Object representing a physical screen} \section{Methods and Functions}{ \code{\link{gdkScreenGetDefault}()}\cr \code{\link{gdkScreenGetDefaultColormap}(object)}\cr \code{\link{gdkScreenSetDefaultColormap}(object, colormap)}\cr \code{\link{gdkScreenGetSystemColormap}(object)}\cr \code{\link{gdkScreenGetSystemVisual}(object)}\cr \code{\link{gdkScreenGetRgbColormap}(object)}\cr \code{\link{gdkScreenGetRgbVisual}(object)}\cr \code{\link{gdkScreenGetRgbaColormap}(object)}\cr \code{\link{gdkScreenGetRgbaVisual}(object)}\cr \code{\link{gdkScreenIsComposited}(object)}\cr \code{\link{gdkScreenGetRootWindow}(object)}\cr \code{\link{gdkScreenGetDisplay}(object)}\cr \code{\link{gdkScreenGetNumber}(object)}\cr \code{\link{gdkScreenGetWidth}(object)}\cr \code{\link{gdkScreenGetHeight}(object)}\cr \code{\link{gdkScreenGetWidthMm}(object)}\cr \code{\link{gdkScreenGetHeightMm}(object)}\cr \code{\link{gdkScreenListVisuals}(object)}\cr \code{\link{gdkScreenGetToplevelWindows}(object)}\cr \code{\link{gdkScreenMakeDisplayName}(object)}\cr \code{\link{gdkScreenGetNMonitors}(object)}\cr \code{\link{gdkScreenGetPrimaryMonitor}(object)}\cr \code{\link{gdkScreenGetMonitorGeometry}(object, monitor.num)}\cr \code{\link{gdkScreenGetMonitorAtPoint}(object, x, y)}\cr \code{\link{gdkScreenGetMonitorAtWindow}(object, window)}\cr \code{\link{gdkScreenGetMonitorHeightMm}(object, monitor.num)}\cr \code{\link{gdkScreenGetMonitorWidthMm}(object, monitor.num)}\cr \code{\link{gdkScreenGetMonitorPlugName}(object, monitor.num)}\cr \code{\link{gdkScreenBroadcastClientMessage}(object, event)}\cr \code{\link{gdkScreenGetSetting}(object, name)}\cr \code{\link{gdkScreenGetFontOptions}(object)}\cr \code{\link{gdkScreenSetFontOptions}(object, options)}\cr \code{\link{gdkScreenGetResolution}(object)}\cr \code{\link{gdkScreenSetResolution}(object, dpi)}\cr \code{\link{gdkScreenGetActiveWindow}(object)}\cr \code{\link{gdkScreenGetWindowStack}(object)}\cr \code{\link{gdkSpawnCommandLineOnScreen}(screen, command.line, .errwarn = TRUE)}\cr } \section{Hierarchy}{\preformatted{GObject +----GdkScreen}} \section{Detailed Description}{\code{\link{GdkScreen}} objects are the GDK representation of a physical screen. It is used throughout GDK and GTK+ to specify which screen the top level windows are to be displayed on. It is also used to query the screen specification and default settings such as the default colormap (\code{\link{gdkScreenGetDefaultColormap}}), the screen width (\code{\link{gdkScreenGetWidth}}), etc. Note that a screen may consist of multiple monitors which are merged to form a large screen area.} \section{Structures}{\describe{\item{\verb{GdkScreen}}{ This is a currently just a placeholder typedef for the first argument of the \code{window.at.pointer} function in \verb{GdkPointerHooks}. It will be used when GDK gets multihead support. Since 2.2 }}} \section{Signals}{\describe{ \item{\code{composited-changed(screen, user.data)}}{ The ::composited-changed signal is emitted when the composited status of the screen changes Since 2.10 \describe{ \item{\code{screen}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{monitors-changed(screen, user.data)}}{ The ::monitors-changed signal is emitted when the number, size or position of the monitors attached to the screen change. Only for X11 and OS X for now. A future implementation for Win32 may be a possibility. Since 2.14 \describe{ \item{\code{screen}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{size-changed(screen, user.data)}}{ The ::size-changed signal is emitted when the pixel width or height of a screen changes. Since 2.2 \describe{ \item{\code{screen}}{the object on which the signal is emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{font-options} [R object : Read / Write]}{ The default font options for the screen. } \item{\verb{resolution} [numeric : Read / Write]}{ The resolution for fonts on the screen. Default value: -1 } }} \references{\url{http://library.gnome.org/devel//gdk/GdkScreen.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateTypeRegister.Rd0000644000176000001440000000062612362217677016445 0ustar ripleyusers\alias{atkStateTypeRegister} \name{atkStateTypeRegister} \title{atkStateTypeRegister} \description{Register a new object state.} \usage{atkStateTypeRegister(name)} \arguments{\item{\verb{name}}{[character] a character string describing the new state.}} \value{[\code{\link{AtkStateType}}] an \verb{numeric} value for the new state.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextIterEndsTag.Rd0000644000176000001440000000146312362217677016042 0ustar ripleyusers\alias{gtkTextIterEndsTag} \name{gtkTextIterEndsTag} \title{gtkTextIterEndsTag} \description{Returns \code{TRUE} if \code{tag} is toggled off at exactly this point. If \code{tag} is \code{NULL}, returns \code{TRUE} if any tag is toggled off at this point. Note that the \code{\link{gtkTextIterEndsTag}} returns \code{TRUE} if \code{iter} is the \emph{end} of the tagged range; \code{\link{gtkTextIterHasTag}} tells you whether an iterator is \emph{within} a tagged range.} \usage{gtkTextIterEndsTag(object, tag = NULL)} \arguments{ \item{\verb{object}}{an iterator} \item{\verb{tag}}{a \code{\link{GtkTextTag}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \value{[logical] whether \code{iter} is the end of a range tagged with \code{tag}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextBufferRegisterDeserializeTagset.Rd0000644000176000001440000000141212362217677022132 0ustar ripleyusers\alias{gtkTextBufferRegisterDeserializeTagset} \name{gtkTextBufferRegisterDeserializeTagset} \title{gtkTextBufferRegisterDeserializeTagset} \description{This function registers GTK+'s internal rich text serialization format with the passed \code{buffer}. See \code{\link{gtkTextBufferRegisterSerializeTagset}} for details.} \usage{gtkTextBufferRegisterDeserializeTagset(object, tagset.name = NULL)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextBuffer}}} \item{\verb{tagset.name}}{an optional tagset name, on \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \details{Since 2.10} \value{[\code{\link{GdkAtom}}] the \code{\link{GdkAtom}} that corresponds to the newly registered format's mime-type.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconViewSetColumnSpacing.Rd0000644000176000001440000000076712362217677017714 0ustar ripleyusers\alias{gtkIconViewSetColumnSpacing} \name{gtkIconViewSetColumnSpacing} \title{gtkIconViewSetColumnSpacing} \description{Sets the ::column-spacing property which specifies the space which is inserted between the columns of the icon view.} \usage{gtkIconViewSetColumnSpacing(object, column.spacing)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconView}}} \item{\verb{column.spacing}}{the column spacing} } \details{Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowSetStaticGravities.Rd0000644000176000001440000000127112362217677017752 0ustar ripleyusers\alias{gdkWindowSetStaticGravities} \name{gdkWindowSetStaticGravities} \title{gdkWindowSetStaticGravities} \description{Set the bit gravity of the given window to static, and flag it so all children get static subwindow gravity. This is used if you are implementing scary features that involve deep knowledge of the windowing system. Don't worry about it unless you have to.} \usage{gdkWindowSetStaticGravities(object, use.static)} \arguments{ \item{\verb{object}}{a \code{\link{GdkWindow}}} \item{\verb{use.static}}{\code{TRUE} to turn on static gravity} } \value{[logical] \code{TRUE} if the server supports static gravity} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorToString.Rd0000644000176000001440000000102312362217677015544 0ustar ripleyusers\alias{gdkColorToString} \name{gdkColorToString} \title{gdkColorToString} \description{Returns a textual specification of \code{color} in the hexadecimal form \code{#rrrrggggbbbb}, where \code{r}, \code{g} and \code{b} are hex digits representing the red, green and blue components respectively.} \usage{gdkColorToString(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkColor}}}} \details{Since 2.12} \value{[character] a newly-allocated text string} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkClipboardWaitForImage.Rd0000644000176000001440000000142212362217677017155 0ustar ripleyusers\alias{gtkClipboardWaitForImage} \name{gtkClipboardWaitForImage} \title{gtkClipboardWaitForImage} \description{Requests the contents of the clipboard as image and converts the result to a \code{\link{GdkPixbuf}}. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.} \usage{gtkClipboardWaitForImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkClipboard}}}} \details{Since 2.6} \value{[\code{\link{GdkPixbuf}}] or \code{NULL} if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into an image.)} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkToolButtonGetLabel.Rd0000644000176000001440000000100312362217677016523 0ustar ripleyusers\alias{gtkToolButtonGetLabel} \name{gtkToolButtonGetLabel} \title{gtkToolButtonGetLabel} \description{Returns the label used by the tool button, or \code{NULL} if the tool button doesn't have a label. or uses a the label from a stock item. and must not be modified or freed.} \usage{gtkToolButtonGetLabel(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkToolButton}}}} \details{Since 2.4} \value{[character] The label, or \code{NULL}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusbarRemove.Rd0000644000176000001440000000104712362217677016150 0ustar ripleyusers\alias{gtkStatusbarRemove} \name{gtkStatusbarRemove} \title{gtkStatusbarRemove} \description{Forces the removal of a message from a statusbar's stack. The exact \code{context.id} and \code{message.id} must be specified.} \usage{gtkStatusbarRemove(object, context.id, message.id)} \arguments{ \item{\verb{object}}{a \verb{GtkStatusBar}} \item{\verb{context.id}}{a context identifier} \item{\verb{message.id}}{a message identifier, as returned by \code{\link{gtkStatusbarPush}}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoFontGetFontMap.Rd0000644000176000001440000000170412362217677016174 0ustar ripleyusers\alias{pangoFontGetFontMap} \name{pangoFontGetFontMap} \title{pangoFontGetFontMap} \description{Gets the font map for which the font was created.} \usage{pangoFontGetFontMap(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoFont}}] a \code{\link{PangoFont}}, or \code{NULL}}} \details{Note that the font maintains a \dfn{weak} reference to the font map, so if all references to font map are dropped, the font map will be finalized even if there are fonts created with the font map that are still alive. In that case this function will return \code{NULL}. It is the responsibility of the user to ensure that the font map is kept alive. In most uses this is not an issue as a \code{\link{PangoContext}} holds a reference to the font map. Since 1.10} \value{[\code{\link{PangoFontMap}}] the \code{\link{PangoFontMap}} for the font, or \code{NULL} if \code{font} is \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gMountOperationSetDomain.Rd0000644000176000001440000000057112362217677017253 0ustar ripleyusers\alias{gMountOperationSetDomain} \name{gMountOperationSetDomain} \title{gMountOperationSetDomain} \description{Sets the mount operation's domain.} \usage{gMountOperationSetDomain(object, domain)} \arguments{ \item{\verb{object}}{a \code{\link{GMountOperation}}.} \item{\verb{domain}}{the domain to set.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconNewFromIconName.Rd0000644000176000001440000000102712362217677020024 0ustar ripleyusers\alias{gtkStatusIconNewFromIconName} \name{gtkStatusIconNewFromIconName} \title{gtkStatusIconNewFromIconName} \description{Creates a status icon displaying an icon from the current icon theme. If the current icon theme is changed, the icon will be updated appropriately.} \usage{gtkStatusIconNewFromIconName(icon.name)} \arguments{\item{\verb{icon.name}}{an icon name}} \details{Since 2.10} \value{[\code{\link{GtkStatusIcon}}] a new \code{\link{GtkStatusIcon}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconThemeGetSearchPath.Rd0000644000176000001440000000136311766145227017277 0ustar ripleyusers\alias{gtkIconThemeGetSearchPath} \name{gtkIconThemeGetSearchPath} \title{gtkIconThemeGetSearchPath} \description{Gets the current search path. See \code{\link{gtkIconThemeSetSearchPath}}.} \usage{gtkIconThemeGetSearchPath(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkIconTheme}}}} \details{Since 2.4} \value{ A list containing the following elements: \item{\verb{path}}{ location to store a list of icon theme path directories or \code{NULL} The stored value should be freed with \code{gStrfreev()}. \emph{[ \acronym{allow-none} ][ \acronym{out} ]}} \item{\verb{n.elements}}{location to store number of elements in \code{path}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowIsDestroyed.Rd0000644000176000001440000000060212362217677016424 0ustar ripleyusers\alias{gdkWindowIsDestroyed} \name{gdkWindowIsDestroyed} \title{gdkWindowIsDestroyed} \description{Check to see if a window is destroyed..} \usage{gdkWindowIsDestroyed(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Since 2.18} \value{[logical] \code{TRUE} if the window is destroyed} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawableGetVisibleRegion.Rd0000644000176000001440000000105512362217677017644 0ustar ripleyusers\alias{gdkDrawableGetVisibleRegion} \name{gdkDrawableGetVisibleRegion} \title{gdkDrawableGetVisibleRegion} \description{Computes the region of a drawable that is potentially visible. This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible.} \usage{gdkDrawableGetVisibleRegion(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkDrawable}}}} \value{[\code{\link{GdkRegion}}] a \code{\link{GdkRegion}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoRendererDeactivate.Rd0000644000176000001440000000067412362217677017106 0ustar ripleyusers\alias{pangoRendererDeactivate} \name{pangoRendererDeactivate} \title{pangoRendererDeactivate} \description{Cleans up after rendering operations on \code{renderer}. See docs for \code{\link{pangoRendererActivate}}.} \usage{pangoRendererDeactivate(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoRenderer}}] a \code{\link{PangoRenderer}}}} \details{ Since 1.8} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkColorBlack.Rd0000644000176000001440000000114412362217677015013 0ustar ripleyusers\alias{gdkColorBlack} \name{gdkColorBlack} \title{gdkColorBlack} \description{ Returns the black color for a given colormap. The resulting value has already been allocated. \strong{WARNING: \code{gdk_color_black} is deprecated and should not be used in newly-written code.} } \usage{gdkColorBlack(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkColormap}}.}} \value{ A list containing the following elements: \item{retval}{[integer] \code{TRUE} if the allocation succeeded.} \item{\verb{color}}{the location to store the color.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNewFromPixbuf.Rd0000644000176000001440000000160512362217677016520 0ustar ripleyusers\alias{gtkImageNewFromPixbuf} \name{gtkImageNewFromPixbuf} \title{gtkImageNewFromPixbuf} \description{Creates a new \code{\link{GtkImage}} displaying \code{pixbuf}. The \code{\link{GtkImage}} does not assume a reference to the pixbuf; you still need to unref it if you own references. \code{\link{GtkImage}} will add its own reference rather than adopting yours.} \usage{gtkImageNewFromPixbuf(pixbuf = NULL, show = TRUE)} \arguments{\item{\verb{pixbuf}}{a \code{\link{GdkPixbuf}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}}} \details{Note that this function just creates an \code{\link{GtkImage}} from the pixbuf. The \code{\link{GtkImage}} created will not react to state changes. Should you want that, you should use \code{\link{gtkImageNewFromIconSet}}.} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkImage}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkIconSourceSetIconName.Rd0000644000176000001440000000101412362217677017153 0ustar ripleyusers\alias{gtkIconSourceSetIconName} \name{gtkIconSourceSetIconName} \title{gtkIconSourceSetIconName} \description{Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for \code{\link{GtkIconSet}}.} \usage{gtkIconSourceSetIconName(object, icon.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkIconSource}}} \item{\verb{icon.name}}{name of icon to use. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoAttrListCopy.Rd0000644000176000001440000000106112362217677015736 0ustar ripleyusers\alias{pangoAttrListCopy} \name{pangoAttrListCopy} \title{pangoAttrListCopy} \description{Copy \code{list} and return an identical new list.} \usage{pangoAttrListCopy(object)} \arguments{\item{\verb{object}}{[\code{\link{PangoAttrList}}] a \code{\link{PangoAttrList}}, may be \code{NULL}}} \value{[\code{\link{PangoAttrList}}] the newly allocated \code{\link{PangoAttrList}}, with a reference count of one, Returns \code{NULL} if \code{list} was \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoMatrixTranslate.Rd0000644000176000001440000000126512362217677016456 0ustar ripleyusers\alias{cairoMatrixTranslate} \name{cairoMatrixTranslate} \title{cairoMatrixTranslate} \description{Applies a translation by \code{tx}, \code{ty} to the transformation in \code{matrix}. The effect of the new transformation is to first translate the coordinates by \code{tx} and \code{ty}, then apply the original transformation to the coordinates.} \usage{cairoMatrixTranslate(matrix, tx, ty)} \arguments{ \item{\verb{matrix}}{[\code{\link{CairoMatrix}}] a \code{\link{CairoMatrix}}} \item{\verb{tx}}{[numeric] amount to translate in the X direction} \item{\verb{ty}}{[numeric] amount to translate in the Y direction} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairo-svg-surface.Rd0000644000176000001440000000222412362217677015632 0ustar ripleyusers\alias{cairo-svg-surface} \alias{CairoSvgVersion} \name{cairo-svg-surface} \title{SVG Surfaces} \description{Rendering SVG documents} \section{Methods and Functions}{ \code{\link{cairoSvgSurfaceCreate}(filename, width.in.points, height.in.points)}\cr \code{\link{cairoSvgSurfaceCreateForStream}(write.func, closure, width.in.points, height.in.points)}\cr \code{\link{cairoSvgSurfaceRestrictToVersion}(surface, version)}\cr \code{\link{cairoSvgGetVersions}(versions, num.versions)}\cr \code{\link{cairoSvgVersionToString}(version)}\cr } \section{Detailed Description}{The SVG surface is used to render cairo graphics to SVG files and is a multi-page vector surface backend.} \section{Enums and Flags}{\describe{\item{\verb{CairoSvgVersion}}{ \code{\link{CairoSvgVersion}} is used to describe the version number of the SVG specification that a generated SVG file will conform to. \describe{ \item{\verb{1-1}}{ The version 1.1 of the SVG specification.} \item{\verb{1-2}}{ The version 1.2 of the SVG specification.} } }}} \references{\url{http://www.cairographics.org/manual/cairo-svg-surface.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonNewFromStock.Rd0000644000176000001440000000123712362217677016600 0ustar ripleyusers\alias{gtkButtonNewFromStock} \name{gtkButtonNewFromStock} \title{gtkButtonNewFromStock} \description{Creates a new \code{\link{GtkButton}} containing the image and text from a stock item. Some stock ids have preprocessor functions like \verb{GTK_STOCK_OK} and \verb{GTK_STOCK_APPLY}.} \usage{gtkButtonNewFromStock(stock.id, show = TRUE)} \arguments{\item{\verb{stock.id}}{the name of the stock item}} \details{If \code{stock.id} is unknown, then it will be treated as a mnemonic label (as for \code{\link{gtkButtonNewWithMnemonic}}).} \value{[\code{\link{GtkWidget}}] a new \code{\link{GtkButton}}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkAdjustment.Rd0000644000176000001440000001222312362217677015076 0ustar ripleyusers\alias{GtkAdjustment} \alias{gtkAdjustment} \name{GtkAdjustment} \title{GtkAdjustment} \description{A GtkObject representing an adjustable bounded value} \section{Methods and Functions}{ \code{\link{gtkAdjustmentNew}(value = NULL, lower = NULL, upper = NULL, step.incr = NULL, page.incr = NULL, page.size = NULL)}\cr \code{\link{gtkAdjustmentGetValue}(object)}\cr \code{\link{gtkAdjustmentSetValue}(object, value)}\cr \code{\link{gtkAdjustmentClampPage}(object, lower, upper)}\cr \code{\link{gtkAdjustmentChanged}(object)}\cr \code{\link{gtkAdjustmentValueChanged}(object)}\cr \code{\link{gtkAdjustmentConfigure}(object, value, lower, upper, step.increment, page.increment, page.size)}\cr \code{\link{gtkAdjustmentGetLower}(object)}\cr \code{\link{gtkAdjustmentGetPageIncrement}(object)}\cr \code{\link{gtkAdjustmentGetPageSize}(object)}\cr \code{\link{gtkAdjustmentGetStepIncrement}(object)}\cr \code{\link{gtkAdjustmentGetUpper}(object)}\cr \code{\link{gtkAdjustmentSetLower}(object, lower)}\cr \code{\link{gtkAdjustmentSetPageIncrement}(object, page.increment)}\cr \code{\link{gtkAdjustmentSetPageSize}(object, page.size)}\cr \code{\link{gtkAdjustmentSetStepIncrement}(object, step.increment)}\cr \code{\link{gtkAdjustmentSetUpper}(object, upper)}\cr \code{gtkAdjustment(value = NULL, lower = NULL, upper = NULL, step.incr = NULL, page.incr = NULL, page.size = NULL)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkAdjustment}} \section{Detailed Description}{The \code{\link{GtkAdjustment}} object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used within several GTK+ widgets, including \code{\link{GtkSpinButton}}, \code{\link{GtkViewport}}, and \code{\link{GtkRange}} (which is a base class for \code{\link{GtkHScrollbar}}, \code{\link{GtkVScrollbar}}, \code{\link{GtkHScale}}, and \code{\link{GtkVScale}}). The \code{\link{GtkAdjustment}} object does not update the value itself. Instead it is left up to the owner of the \code{\link{GtkAdjustment}} to control the value. The owner of the \code{\link{GtkAdjustment}} typically calls the \code{\link{gtkAdjustmentValueChanged}} and \code{\link{gtkAdjustmentChanged}} functions after changing the value and its bounds. This results in the emission of the "value_changed" or "changed" signal respectively.} \section{Structures}{\describe{\item{\verb{GtkAdjustment}}{ The \code{\link{GtkAdjustment}} struct contains the following fields. \tabular{ll}{ \verb{numeric} lower; \tab the minimum value. \cr \verb{numeric} upper; \tab the maximum value. \cr \verb{numeric} value; \tab the current value. \cr \verb{numeric} step_increment; \tab the increment to use to make minor changes to the value. In a \code{\link{GtkScrollbar}} this increment is used when the mouse is clicked on the arrows at the top and bottom of the scrollbar, to scroll by a small amount. \cr \verb{numeric} page_increment; \tab the increment to use to make major changes to the value. In a \code{\link{GtkScrollbar}} this increment is used when the mouse is clicked in the trough, to scroll by a large amount. \cr \verb{numeric} page_size; \tab the page size. In a \code{\link{GtkScrollbar}} this is the size of the area which is currently visible. \cr } }}} \section{Convenient Construction}{\code{gtkAdjustment} is the equivalent of \code{\link{gtkAdjustmentNew}}.} \section{Signals}{\describe{ \item{\code{changed(adjustment, user.data)}}{ Emitted when one or more of the \code{\link{GtkAdjustment}} fields have been changed, other than the value field. \describe{ \item{\code{adjustment}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{value-changed(adjustment, user.data)}}{ Emitted when the \code{\link{GtkAdjustment}} value field has been changed. \describe{ \item{\code{adjustment}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{lower} [numeric : Read / Write]}{ The minimum value of the adjustment. Default value: 0 Since 2.4 } \item{\verb{page-increment} [numeric : Read / Write]}{ The page increment of the adjustment. Default value: 0 Since 2.4 } \item{\verb{page-size} [numeric : Read / Write]}{ The page size of the adjustment. Note that the page-size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value, e.g. in a \code{\link{GtkSpinButton}}. Default value: 0 Since 2.4 } \item{\verb{step-increment} [numeric : Read / Write]}{ The step increment of the adjustment. Default value: 0 Since 2.4 } \item{\verb{upper} [numeric : Read / Write]}{ The maximum value of the adjustment. Note that values will be restricted by \code{upper - page-size} if the page-size property is nonzero. Default value: 0 Since 2.4 } \item{\verb{value} [numeric : Read / Write]}{ The value of the adjustment. Default value: 0 Since 2.4 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkAdjustment.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAssistantPrependPage.Rd0000644000176000001440000000072012362217677017103 0ustar ripleyusers\alias{gtkAssistantPrependPage} \name{gtkAssistantPrependPage} \title{gtkAssistantPrependPage} \description{Prepends a page to the \code{assistant}.} \usage{gtkAssistantPrependPage(object, page)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAssistant}}} \item{\verb{page}}{a \code{\link{GtkWidget}}} } \details{Since 2.10} \value{[integer] the index (starting at 0) of the inserted page} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkWindowGetToplevel.Rd0000644000176000001440000000107112362217677016421 0ustar ripleyusers\alias{gdkWindowGetToplevel} \name{gdkWindowGetToplevel} \title{gdkWindowGetToplevel} \description{Gets the toplevel window that's an ancestor of \code{window}.} \usage{gdkWindowGetToplevel(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkWindow}}}} \details{Any window type but \code{GDK_WINDOW_CHILD} is considered a toplevel window, as is a \code{GDK_WINDOW_CHILD} window that has a root window as parent.} \value{[\code{\link{GdkWindow}}] the toplevel window containing \code{window}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSurfaceGetType.Rd0000644000176000001440000000100712362217677016220 0ustar ripleyusers\alias{cairoSurfaceGetType} \name{cairoSurfaceGetType} \title{cairoSurfaceGetType} \description{This function returns the type of the backend used to create a surface. See \code{\link{CairoSurfaceType}} for available types.} \usage{cairoSurfaceGetType(surface)} \arguments{\item{\verb{surface}}{[\code{\link{CairoSurface}}] a \code{\link{CairoSurface}}}} \details{ Since 1.2} \value{[\code{\link{CairoSurfaceType}}] The type of \code{surface}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileSelectionGetFilename.Rd0000644000176000001440000000145711766145227017653 0ustar ripleyusers\alias{gtkFileSelectionGetFilename} \name{gtkFileSelectionGetFilename} \title{gtkFileSelectionGetFilename} \description{ This function returns the selected filename in the GLib file name encoding. To convert to UTF-8, call \code{gFilenameToUtf8()}. The returned string points to a statically allocated buffer and should be copied if you plan to keep it around. \strong{WARNING: \code{gtk_file_selection_get_filename} is deprecated and should not be used in newly-written code.} } \usage{gtkFileSelectionGetFilename(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileSelection}}}} \details{If no file is selected then the selected directory path is returned.} \value{[character] currently-selected filename in the on-disk encoding.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkVolumeButton.Rd0000644000176000001440000000253712362217677015432 0ustar ripleyusers\alias{GtkVolumeButton} \alias{gtkVolumeButton} \name{GtkVolumeButton} \title{GtkVolumeButton} \description{A button which pops up a volume control} \section{Methods and Functions}{ \code{\link{gtkVolumeButtonNew}(show = TRUE)}\cr \code{gtkVolumeButton(show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkScaleButton +----GtkVolumeButton}} \section{Interfaces}{GtkVolumeButton implements AtkImplementorIface, \code{\link{GtkBuildable}}, \code{\link{GtkActivatable}} and \code{\link{GtkOrientable}}.} \section{Detailed Description}{\code{\link{GtkVolumeButton}} is a subclass of \code{\link{GtkScaleButton}} that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.} \section{Structures}{\describe{\item{\verb{GtkVolumeButton}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkVolumeButton} is the equivalent of \code{\link{gtkVolumeButtonNew}}.} \references{\url{http://library.gnome.org/devel//gtk/GtkVolumeButton.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsSetScale.Rd0000644000176000001440000000063612362217677017266 0ustar ripleyusers\alias{gtkPrintSettingsSetScale} \name{gtkPrintSettingsSetScale} \title{gtkPrintSettingsSetScale} \description{Sets the value of \code{GTK_PRINT_SETTINGS_SCALE}.} \usage{gtkPrintSettingsSetScale(object, scale)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{scale}}{the scale in percent} } \details{Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkLabelGetAngle.Rd0000644000176000001440000000062312362217677015447 0ustar ripleyusers\alias{gtkLabelGetAngle} \name{gtkLabelGetAngle} \title{gtkLabelGetAngle} \description{Gets the angle of rotation for the label. See \code{\link{gtkLabelSetAngle}}.} \usage{gtkLabelGetAngle(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkLabel}}}} \details{Since 2.6} \value{[numeric] the angle of rotation for the label} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkColorSelectionPaletteToString.Rd0000644000176000001440000000065512362217677020763 0ustar ripleyusers\alias{gtkColorSelectionPaletteToString} \name{gtkColorSelectionPaletteToString} \title{gtkColorSelectionPaletteToString} \description{Encodes a palette as a string, useful for persistent storage.} \usage{gtkColorSelectionPaletteToString(colors)} \arguments{\item{\verb{colors}}{a list of colors.}} \value{[character] allocated string encoding the palette.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetModifyCursor.Rd0000644000176000001440000000162312362217677016613 0ustar ripleyusers\alias{gtkWidgetModifyCursor} \name{gtkWidgetModifyCursor} \title{gtkWidgetModifyCursor} \description{Sets the cursor color to use in a widget, overriding the \verb{"cursor-color"} and \verb{"secondary-cursor-color"} style properties. All other style values are left untouched. See also \code{\link{gtkWidgetModifyStyle}}.} \usage{gtkWidgetModifyCursor(object, primary, secondary)} \arguments{ \item{\verb{object}}{a \code{\link{GtkWidget}}} \item{\verb{primary}}{the color to use for primary cursor (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyCursor}}.} \item{\verb{secondary}}{the color to use for secondary cursor (does not need to be allocated), or \code{NULL} to undo the effect of previous calls to of \code{\link{gtkWidgetModifyCursor}}.} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoBidiTypeForUnichar.Rd0000644000176000001440000000116612362217677017035 0ustar ripleyusers\alias{pangoBidiTypeForUnichar} \name{pangoBidiTypeForUnichar} \title{pangoBidiTypeForUnichar} \description{Determines the normative bidirectional character type of a character, as specified in the Unicode Character Database.} \usage{pangoBidiTypeForUnichar(ch)} \arguments{\item{\verb{ch}}{[numeric] a Unicode character}} \details{A simplified version of this function is available as \code{pangoUnicharGetDirection()}. Since 1.22} \value{[\code{\link{PangoBidiType}}] the bidirectional character type, as used in the Unicode bidirectional algorithm.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoShowText.Rd0000644000176000001440000000262112362217677015116 0ustar ripleyusers\alias{cairoShowText} \name{cairoShowText} \title{cairoShowText} \description{A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to the current font_face, font_size (font_matrix), and font_options.} \usage{cairoShowText(cr, utf8)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{utf8}}{[char] a string of text encoded in UTF-8, or \code{NULL}} } \details{This function first computes a set of glyphs for the string of text. The first glyph is placed so that its origin is at the current point. The origin of each subsequent glyph is offset from that of the previous glyph by the advance values of the previous glyph. After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for easy display of a single logical string with multiple calls to \code{\link{cairoShowText}}. Note: The \code{\link{cairoShowText}} function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications. See \code{\link{cairoShowGlyphs}} for the "real" text display API in cairo. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetFillRule.Rd0000644000176000001440000000144612362217677015527 0ustar ripleyusers\alias{cairoSetFillRule} \name{cairoSetFillRule} \title{cairoSetFillRule} \description{Set the current fill rule within the cairo context. The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path. The current fill rule affects both \code{\link{cairoFill}} and \code{\link{cairoClip}}. See \code{\link{CairoFillRule}} for details on the semantics of each available fill rule.} \usage{cairoSetFillRule(cr, fill.rule)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{fill.rule}}{[\code{\link{CairoFillRule}}] a fill rule, specified as a \code{\link{CairoFillRule}}} } \details{The default fill rule is \code{CAIRO_FILL_RULE_WINDING}. } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdk-Bitmaps-and-Pixmaps.Rd0000644000176000001440000000523712362217677016642 0ustar ripleyusers\alias{gdk-Bitmaps-and-Pixmaps} \alias{GdkPixmap} \alias{GdkBitmap} \alias{gdkPixmap} \name{gdk-Bitmaps-and-Pixmaps} \title{Bitmaps and Pixmaps} \description{Offscreen drawables} \section{Methods and Functions}{ \code{\link{gdkPixmapNew}(drawable = NULL, width, height, depth = -1)}\cr \code{\link{gdkBitmapCreateFromData}(drawable = NULL, data, width, height)}\cr \code{\link{gdkPixmapCreateFromData}(drawable = NULL, data, height, depth, fg, bg)}\cr \code{\link{gdkPixmapCreateFromXpm}(drawable, transparent.color, filename)}\cr \code{\link{gdkPixmapColormapCreateFromXpm}(drawable, colormap, transparent.color, filename)}\cr \code{\link{gdkPixmapCreateFromXpmD}(drawable, transparent.color, data)}\cr \code{\link{gdkPixmapColormapCreateFromXpmD}(drawable, colormap, transparent.color, data)}\cr \code{gdkPixmap(drawable, data, transparent.color, height, width, depth, filename, colormap, fg, bg)} } \section{Hierarchy}{\preformatted{GObject +----GdkDrawable +----GdkPixmap}} \section{Detailed Description}{Pixmaps are offscreen drawables. They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a \code{\link{GdkWindow}}) with \code{gdkPixmapDraw()}. The depth of a pixmap is the number of bits per pixels. Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off).} \section{Structures}{\describe{ \item{\verb{GdkPixmap}}{ An opaque structure representing an offscreen drawable. Pointers to structures of type \code{\link{GdkPixmap}}, \code{\link{GdkBitmap}}, and \code{\link{GdkWindow}}, can often be used interchangeably. The type \code{\link{GdkDrawable}} refers generically to any of these types. } \item{\verb{GdkBitmap}}{ An opaque structure representing an offscreen drawable of depth 1. Pointers to structures of type \code{\link{GdkPixmap}}, \code{\link{GdkBitmap}}, and \code{\link{GdkWindow}}, can often be used interchangeably. The type \code{\link{GdkDrawable}} refers generically to any of these types. } }} \section{Convenient Construction}{\code{gdkPixmap} is the result of collapsing the constructors of \code{GdkPixmap} (\code{\link{gdkPixmapNew}}, \code{\link{gdkBitmapCreateFromData}}, \code{\link{gdkPixmapCreateFromData}}, \code{\link{gdkPixmapCreateFromXpm}}, \code{\link{gdkPixmapColormapCreateFromXpm}}, \code{\link{gdkPixmapCreateFromXpmD}}, \code{\link{gdkPixmapColormapCreateFromXpmD}}, NULL, NULL) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \references{\url{http://library.gnome.org/devel//gdk/gdk-Bitmaps-and-Pixmaps.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFontSelectionGetFont.Rd0000644000176000001440000000107412362217677017065 0ustar ripleyusers\alias{gtkFontSelectionGetFont} \name{gtkFontSelectionGetFont} \title{gtkFontSelectionGetFont} \description{ Gets the currently-selected font. \strong{WARNING: \code{gtk_font_selection_get_font} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkFontSelectionGetFontName}} instead.} } \usage{gtkFontSelectionGetFont(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFontSelection}}}} \value{[\code{\link{GdkFont}}] A \code{\link{GdkFont}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtk-Selections.Rd0000644000176000001440000001137012362217677015207 0ustar ripleyusers\alias{gtk-Selections} \alias{GtkTargetEntry} \alias{GtkTargetList} \name{gtk-Selections} \title{Selections} \description{Functions for handling inter-process communication via selections} \section{Methods and Functions}{ \code{\link{gtkTargetListNew}(targets)}\cr \code{\link{gtkTargetListAdd}(object, target, flags, info)}\cr \code{\link{gtkTargetListAddTable}(object, targets)}\cr \code{\link{gtkTargetListAddTextTargets}(list, info)}\cr \code{\link{gtkTargetListAddImageTargets}(list, info, writable)}\cr \code{\link{gtkTargetListAddUriTargets}(list, info)}\cr \code{\link{gtkTargetListAddRichTextTargets}(list, info, deserializable, buffer)}\cr \code{\link{gtkTargetListRemove}(object, target)}\cr \code{\link{gtkTargetListFind}(object, target)}\cr \code{\link{gtkTargetTableNewFromList}(list)}\cr \code{\link{gtkSelectionOwnerSet}(object, selection, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkSelectionOwnerSetForDisplay}(display, widget = NULL, selection, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkSelectionAddTarget}(object, selection, target, info)}\cr \code{\link{gtkSelectionAddTargets}(object, selection, targets)}\cr \code{\link{gtkSelectionClearTargets}(object, selection)}\cr \code{\link{gtkSelectionConvert}(object, selection, target, time = "GDK_CURRENT_TIME")}\cr \code{\link{gtkSelectionDataSet}(object, type = object[["target"]], format = 8, data)}\cr \code{\link{gtkSelectionDataSetText}(object, str, len = -1)}\cr \code{\link{gtkSelectionDataGetText}(object)}\cr \code{\link{gtkSelectionDataSetPixbuf}(object, pixbuf)}\cr \code{\link{gtkSelectionDataGetPixbuf}(object)}\cr \code{\link{gtkSelectionDataSetUris}(object, uris)}\cr \code{\link{gtkSelectionDataGetUris}(object)}\cr \code{\link{gtkSelectionDataGetTargets}(object)}\cr \code{\link{gtkSelectionDataTargetsIncludeImage}(object, writable)}\cr \code{\link{gtkSelectionDataTargetsIncludeText}(object)}\cr \code{\link{gtkSelectionDataTargetsIncludeUri}(object)}\cr \code{\link{gtkSelectionDataTargetsIncludeRichText}(object, buffer)}\cr \code{\link{gtkSelectionDataGetSelection}(object)}\cr \code{\link{gtkSelectionDataGetData}(object)}\cr \code{\link{gtkSelectionDataGetLength}(object)}\cr \code{\link{gtkSelectionDataGetDataType}(object)}\cr \code{\link{gtkSelectionDataGetDisplay}(object)}\cr \code{\link{gtkSelectionDataGetFormat}(object)}\cr \code{\link{gtkSelectionDataGetTarget}(object)}\cr \code{\link{gtkTargetsIncludeImage}(targets, writable)}\cr \code{\link{gtkTargetsIncludeText}(targets)}\cr \code{\link{gtkTargetsIncludeUri}(targets)}\cr \code{\link{gtkTargetsIncludeRichText}(targets, buffer)}\cr \code{\link{gtkSelectionRemoveAll}(object)}\cr \code{\link{gtkSelectionClear}(object, event)}\cr \code{\link{gtkSelectionClear}(object, event)}\cr \code{\link{gtkSelectionDataCopy}(object)}\cr } \section{Hierarchy}{\preformatted{GBoxed +----GtkTargetList}} \section{Detailed Description}{The selection mechanism provides the basis for different types of communication between processes. In particular, drag and drop and \code{\link{GtkClipboard}} work via selections. You will very seldom or never need to use most of the functions in this section directly; \code{\link{GtkClipboard}} provides a nicer interface to the same functionality. Some of the datatypes defined this section are used in the \code{\link{GtkClipboard}} and drag-and-drop API's as well. The \code{\link{GtkTargetEntry}} structure and \code{\link{GtkTargetList}} objects represent lists of data types that are supported when sending or receiving data. The \code{\link{GtkSelectionData}} object is used to store a chunk of data along with the data type and other associated information.} \section{Structures}{\describe{ \item{\verb{GtkTargetEntry}}{ A \code{\link{GtkTargetEntry}} structure represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop. It contains a string representing the drag type, a flags field (used only for drag and drop - see \code{\link{GtkTargetFlags}}), and an application assigned integer ID. The integer ID will later be passed as a signal parameter for signals like "selection_get". It allows the application to identify the target type without extensive string compares. \strong{\verb{GtkTargetEntry} is a \link{transparent-type}.} \describe{ \item{\verb{target}}{[character] } \item{\verb{flags}}{[numeric] } \item{\verb{info}}{[integer] } } } \item{\verb{GtkTargetList}}{ A \code{\link{GtkTargetList}} structure is a reference counted list of \verb{GtkTargetPair}. It is used to represent the same information as a table of \code{\link{GtkTargetEntry}}, but in an efficient form. This structure should be treated as opaque. } }} \references{\url{http://library.gnome.org/devel//gtk/gtk-Selections.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCListSetColumnVisibility.Rd0000644000176000001440000000140212362217677017735 0ustar ripleyusers\alias{gtkCListSetColumnVisibility} \name{gtkCListSetColumnVisibility} \title{gtkCListSetColumnVisibility} \description{ Allows you to set whether a specified column in the \code{\link{GtkCList}} should be hidden or shown. Note that at least one column must always be showing, so attempting to hide the last visible column will be ignored. \strong{WARNING: \code{gtk_clist_set_column_visibility} is deprecated and should not be used in newly-written code.} } \usage{gtkCListSetColumnVisibility(object, column, visible)} \arguments{ \item{\verb{object}}{The \code{\link{GtkCList}} to affect.} \item{\verb{column}}{The column to set visibility.} \item{\verb{visible}}{\code{TRUE} or \code{FALSE}.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/pangoContextSetFontDescription.Rd0000644000176000001440000000074712362217677020502 0ustar ripleyusers\alias{pangoContextSetFontDescription} \name{pangoContextSetFontDescription} \title{pangoContextSetFontDescription} \description{Set the default font description for the context} \usage{pangoContextSetFontDescription(object, desc)} \arguments{ \item{\verb{object}}{[\code{\link{PangoContext}}] a \code{\link{PangoContext}}} \item{\verb{desc}}{[\code{\link{PangoFontDescription}}] the new pango font description} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkEntryCompletionGetInlineSelection.Rd0000644000176000001440000000074212362217677021623 0ustar ripleyusers\alias{gtkEntryCompletionGetInlineSelection} \name{gtkEntryCompletionGetInlineSelection} \title{gtkEntryCompletionGetInlineSelection} \description{Returns \code{TRUE} if inline-selection mode is turned on.} \usage{gtkEntryCompletionGetInlineSelection(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkEntryCompletion}}}} \details{Since 2.12} \value{[logical] \code{TRUE} if inline-selection mode is on} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkImageNew.Rd0000644000176000001440000000046512362217677014521 0ustar ripleyusers\alias{gtkImageNew} \name{gtkImageNew} \title{gtkImageNew} \description{Creates a new empty \code{\link{GtkImage}} widget.} \usage{gtkImageNew(show = TRUE)} \value{[\code{\link{GtkWidget}}] a newly created \code{\link{GtkImage}} widget.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkSelectionRemoveSelection.Rd0000644000176000001440000000117712362217677017771 0ustar ripleyusers\alias{atkSelectionRemoveSelection} \name{atkSelectionRemoveSelection} \title{atkSelectionRemoveSelection} \description{Removes the specified child of the object from the object's selection.} \usage{atkSelectionRemoveSelection(object, i)} \arguments{ \item{\verb{object}}{[\code{\link{AtkSelection}}] a \code{\link{GObject}} instance that implements AtkSelectionIface} \item{\verb{i}}{[integer] a \verb{integer} specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).} } \value{[logical] TRUE if success, FALSE otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkButtonClicked.Rd0000644000176000001440000000056212362217677015555 0ustar ripleyusers\alias{gtkButtonClicked} \name{gtkButtonClicked} \title{gtkButtonClicked} \description{Emits a \code{\link{gtkButtonClicked}} signal to the given \code{\link{GtkButton}}.} \usage{gtkButtonClicked(object)} \arguments{\item{\verb{object}}{The \code{\link{GtkButton}} you want to send the signal to.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkRecentManagerPurgeItems.Rd0000644000176000001440000000134612362217677017544 0ustar ripleyusers\alias{gtkRecentManagerPurgeItems} \name{gtkRecentManagerPurgeItems} \title{gtkRecentManagerPurgeItems} \description{Purges every item from the recently used resources list.} \usage{gtkRecentManagerPurgeItems(object, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{a \code{\link{GtkRecentManager}}} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{Since 2.10} \value{ A list containing the following elements: \item{retval}{[integer] the number of items that have been removed from the recently used resources list.} \item{\verb{error}}{a return location for a \code{\link{GError}}, or \code{NULL}. \emph{[ \acronym{allow-none} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkStyle.Rd0000644000176000001440000002126012362217677014061 0ustar ripleyusers\alias{GtkStyle} \alias{GtkBorder} \alias{gtkStyle} \alias{GtkRcPropertyParser} \name{GtkStyle} \title{Styles} \description{Functions for drawing widget parts} \section{Methods and Functions}{ \code{\link{gtkStyleNew}()}\cr \code{\link{gtkStyleCopy}(object)}\cr \code{\link{gtkStyleAttach}(object, window)}\cr \code{\link{gtkStyleDetach}(object)}\cr \code{\link{gtkStyleSetBackground}(object, window, state.type)}\cr \code{\link{gtkStyleApplyDefaultBackground}(object, window, set.bg, state.type, area = NULL, x, y, width, height)}\cr \code{\link{gtkStyleLookupColor}(object, color.name)}\cr \code{\link{gtkStyleLookupIconSet}(object, stock.id)}\cr \code{\link{gtkStyleRenderIcon}(object, source, direction, state, size, widget = NULL, detail = NULL)}\cr \code{\link{gtkStyleGetFont}(object)}\cr \code{\link{gtkStyleSetFont}(object, font)}\cr \code{\link{gtkStyleGetStyleProperty}(object, widget.type, property.name)}\cr \code{\link{gtkStyleGet}(object, widget.type, first.property.name, ...)}\cr \code{\link{gtkDrawHline}(object, window, state.type, x1, x2, y)}\cr \code{\link{gtkDrawVline}(object, window, state.type, y1, y2, x)}\cr \code{\link{gtkDrawShadow}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawPolygon}(object, window, state.type, shadow.type, points, fill)}\cr \code{\link{gtkDrawArrow}(object, window, state.type, shadow.type, arrow.type, fill, x, y, width, height)}\cr \code{\link{gtkDrawDiamond}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawString}(object, window, state.type, x, y, string)}\cr \code{\link{gtkDrawBox}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawBoxGap}(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width)}\cr \code{\link{gtkDrawCheck}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawExtension}(object, window, state.type, shadow.type, x, y, width, height, gap.side)}\cr \code{\link{gtkDrawFlatBox}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawFocus}(object, window, x, y, width, height)}\cr \code{\link{gtkDrawHandle}(object, window, state.type, shadow.type, x, y, width, height, orientation)}\cr \code{\link{gtkDrawOption}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawShadowGap}(object, window, state.type, shadow.type, x, y, width, height, gap.side, gap.x, gap.width)}\cr \code{\link{gtkDrawSlider}(object, window, state.type, shadow.type, x, y, width, height, orientation)}\cr \code{\link{gtkDrawTab}(object, window, state.type, shadow.type, x, y, width, height)}\cr \code{\link{gtkDrawExpander}(object, window, state.type, x, y, is.open)}\cr \code{\link{gtkDrawLayout}(object, window, state.type, use.text, x, y, layout)}\cr \code{\link{gtkDrawResizeGrip}(object, window, state.type, edge, x, y, width, height)}\cr \code{\link{gtkPaintArrow}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, arrow.type, fill, x, y, width, height)}\cr \code{\link{gtkPaintBox}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintBoxGap}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width)}\cr \code{\link{gtkPaintCheck}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintDiamond}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintExtension}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side)}\cr \code{\link{gtkPaintFlatBox}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintFocus}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintHandle}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation)}\cr \code{\link{gtkPaintHline}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x1, x2, y)}\cr \code{\link{gtkPaintOption}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintPolygon}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, points, fill)}\cr \code{\link{gtkPaintShadow}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintShadowGap}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, gap.side, gap.x, gap.width)}\cr \code{\link{gtkPaintSlider}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height, orientation)}\cr \code{\link{gtkPaintSpinner}(object, window, state.type, area, widget, detail, step, x, y, width, height)}\cr \code{\link{gtkPaintString}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, string)}\cr \code{\link{gtkPaintTab}(object, window, state.type, shadow.type, area = NULL, widget = NULL, detail = NULL, x, y, width, height)}\cr \code{\link{gtkPaintVline}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, y1, y2, x)}\cr \code{\link{gtkPaintExpander}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, x, y, expander.style)}\cr \code{\link{gtkPaintLayout}(object, window, state.type, use.text, area = NULL, widget = NULL, detail = NULL, x, y, layout)}\cr \code{\link{gtkPaintResizeGrip}(object, window, state.type, area = NULL, widget = NULL, detail = NULL, edge, x, y, width, height)}\cr \code{\link{gtkDrawInsertionCursor}(widget, drawable, area = NULL, location, is.primary, direction, draw.arrow)}\cr \code{\link{gtkBorderNew}()}\cr \code{\link{gtkBorderCopy}(object)}\cr \code{gtkStyle()} } \section{Hierarchy}{\preformatted{ GObject +----GtkStyle GBoxed +----GtkBorder }} \section{Structures}{\describe{ \item{\verb{GtkStyle}}{ \emph{undocumented } \describe{ \item{\verb{fg}}{[\code{\link{GdkColor}}] } \item{\verb{bg}}{[\code{\link{GdkColor}}] } \item{\verb{light}}{[\code{\link{GdkColor}}] } \item{\verb{dark}}{[\code{\link{GdkColor}}] } \item{\verb{mid}}{[\code{\link{GdkColor}}] } \item{\verb{text}}{[\code{\link{GdkColor}}] } \item{\verb{base}}{[\code{\link{GdkColor}}] } \item{\verb{textAa}}{[\code{\link{GdkColor}}] } \item{\verb{white}}{[\code{\link{GdkColor}}] } \item{\verb{black}}{[\code{\link{GdkColor}}] } \item{\verb{fontDesc}}{[\code{\link{PangoFontDescription}}] } \item{\verb{xthickness}}{[integer] } \item{\verb{ythickness}}{[integer] } \item{\verb{fgGc}}{[\code{\link{GdkGC}}] } \item{\verb{bgGc}}{[\code{\link{GdkGC}}] } \item{\verb{lightGc}}{[\code{\link{GdkGC}}] } \item{\verb{darkGc}}{[\code{\link{GdkGC}}] } \item{\verb{midGc}}{[\code{\link{GdkGC}}] } \item{\verb{textGc}}{[\code{\link{GdkGC}}] } \item{\verb{baseGc}}{[\code{\link{GdkGC}}] } \item{\verb{textAaGc}}{[\code{\link{GdkGC}}] } \item{\verb{whiteGc}}{[\code{\link{GdkGC}}] } \item{\verb{blackGc}}{[\code{\link{GdkGC}}] } \item{\verb{bgPixmap}}{[\code{\link{GdkPixmap}}] } } } \item{\verb{GtkBorder}}{ A struct that specifies a border around a rectangular area that can be of different width on each side. } }} \section{Convenient Construction}{\code{gtkStyle} is the equivalent of \code{\link{gtkStyleNew}}.} \section{User Functions}{\describe{\item{\code{GtkRcPropertyParser()}}{ \emph{undocumented } }}} \section{Signals}{\describe{ \item{\code{realize(style, user.data)}}{ Emitted when the style has been initialized for a particular colormap and depth. Connecting to this signal is probably seldom useful since most of the time applications and widgets only deal with styles that have been already realized. Since 2.4 \describe{ \item{\code{style}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{unrealize(style, user.data)}}{ Emitted when the aspects of the style specific to a particular colormap and depth are being cleaned up. A connection to this signal can be useful if a widget wants to cache objects like a \code{\link{GdkGC}} as object data on \code{\link{GtkStyle}}. This signal provides a convenient place to free such cached objects. Since 2.4 \describe{ \item{\code{style}}{the object which received the signal} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \references{\url{http://library.gnome.org/devel//gtk/GtkStyle.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/handleError.Rd0000644000176000001440000000422011766145227014553 0ustar ripleyusers\name{handleError} \alias{handleError} \title{ Error handling } \description{ The \code{handleError} function is an internal utility for use by packages extending RGtk2. It decides how to handle an error emitted by GTK+ or one of the other libraries. } \usage{ handleError(x, .errwarn) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{x}{ The result of a call to an underlying library. } \item{.errwarn}{ Whether to emit a warning if there is an error and \code{getOption("RGtk2::newErrorHandling")} is not \code{TRUE}. The value for this is usually passed by the user through the wrapper. } } \details{ There are currently two modes of error handling in RGtk2. One was introduced with RGtk2 2.20.0 and will eventually replace the older one. Setting the option \code{RGtk2::newErrorHandling} to \code{TRUE} enables the newer error handling. It is currently not enabled by default, to ease the transition of code. The original behavior is to return a list from every library function that might raise an error. The \code{error} component of the list holds the error, while the primary return value of the underlying function is named \code{retval} (and there might be additional return values). If there is no error, the \code{error} component is \code{NULL}. Otherwise, it holds an object of type \code{\link{simpleError}} (actually until 2.20.0 this was just a list with a very similar structure). The new approach, active when \code{getOption("RGtk2::newErrorHandling")} returns \code{TRUE}, will throw any error (as a \code{simpleError} object). An error in the underlying library is an error in R. No error object is returned. This often results in a simpler return value, as a list is no longer necessary unless there are multiple return values from the wrapped function. The \code{.errwarn} argument is ignored and will soon be removed from the wrappers along with the old error handling, resulting in a simpler API. } \value{ \code{x}, with the error removed if the "RGtk2::newErrorHandling" option is \code{TRUE}. } \author{ Michael Lawrence } \keyword{ internal } RGtk2/man/gtkPrintOperationPreviewRenderPage.Rd0000644000176000001440000000137312362217677021300 0ustar ripleyusers\alias{gtkPrintOperationPreviewRenderPage} \name{gtkPrintOperationPreviewRenderPage} \title{gtkPrintOperationPreviewRenderPage} \description{Renders a page to the preview, using the print context that was passed to the \verb{"preview"} handler together with \code{preview}.} \usage{gtkPrintOperationPreviewRenderPage(object, page.nr)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintOperationPreview}}} \item{\verb{page.nr}}{the page to render} } \details{A custom iprint preview should use this function in its ::expose handler to render the currently selected page. Note that this function requires a suitable cairo context to be associated with the print context. Since 2.10} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionGetIsImportant.Rd0000644000176000001440000000062312362217677017070 0ustar ripleyusers\alias{gtkActionGetIsImportant} \name{gtkActionGetIsImportant} \title{gtkActionGetIsImportant} \description{Checks whether \code{action} is important or not} \usage{gtkActionGetIsImportant(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkAction}}}} \details{Since 2.16} \value{[logical] whether \code{action} is important} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTreeViewEnableModelDragDest.Rd0000644000176000001440000000114512362217677020261 0ustar ripleyusers\alias{gtkTreeViewEnableModelDragDest} \name{gtkTreeViewEnableModelDragDest} \title{gtkTreeViewEnableModelDragDest} \description{Turns \code{tree.view} into a drop destination for automatic DND. Calling this method sets \verb{"reorderable"} to \code{FALSE}.} \usage{gtkTreeViewEnableModelDragDest(object, targets, actions)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTreeView}}} \item{\verb{targets}}{the table of targets that the drag will support} \item{\verb{actions}}{the bitmask of possible actions for a drag from this widget} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWidgetGetDefaultColormap.Rd0000644000176000001440000000057512362217677017714 0ustar ripleyusers\alias{gtkWidgetGetDefaultColormap} \name{gtkWidgetGetDefaultColormap} \title{gtkWidgetGetDefaultColormap} \description{Obtains the default colormap used to create widgets.} \usage{gtkWidgetGetDefaultColormap()} \value{[\code{\link{GdkColormap}}] default widget colormap. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextViewGetLeftMargin.Rd0000644000176000001440000000067412362217677017217 0ustar ripleyusers\alias{gtkTextViewGetLeftMargin} \name{gtkTextViewGetLeftMargin} \title{gtkTextViewGetLeftMargin} \description{Gets the default left margin size of paragraphs in the \code{text.view}. Tags in the buffer may override the default.} \usage{gtkTextViewGetLeftMargin(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkTextView}}}} \value{[integer] left margin in pixels} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkGetDefaultRegistry.Rd0000644000176000001440000000136712362217677016576 0ustar ripleyusers\alias{atkGetDefaultRegistry} \name{atkGetDefaultRegistry} \title{atkGetDefaultRegistry} \description{Gets a default implementation of the \code{\link{AtkObjectFactory}}/type registry. Note: For most toolkit maintainers, this will be the correct registry for registering new \code{\link{AtkObject}} factories. Following a call to this function, maintainers may call \code{\link{atkRegistrySetFactoryType}} to associate an \code{\link{AtkObjectFactory}} subclass with the GType of objects for whom accessibility information will be provided.} \usage{atkGetDefaultRegistry()} \value{[\code{\link{AtkRegistry}}] a default implementation of the \code{\link{AtkObjectFactory}}/type registry} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserSetAction.Rd0000644000176000001440000000124712362217677017040 0ustar ripleyusers\alias{gtkFileChooserSetAction} \name{gtkFileChooserSetAction} \title{gtkFileChooserSetAction} \description{Sets the type of operation that the chooser is performing; the user interface is adapted to suit the selected action. For example, an option to create a new folder might be shown if the action is \code{GTK_FILE_CHOOSER_ACTION_SAVE} but not if the action is \code{GTK_FILE_CHOOSER_ACTION_OPEN}.} \usage{gtkFileChooserSetAction(object, action)} \arguments{ \item{\verb{object}}{a \code{\link{GtkFileChooser}}} \item{\verb{action}}{the action that the file selector is performing} } \details{Since 2.4} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeCopy.Rd0000644000176000001440000000057712362217677015566 0ustar ripleyusers\alias{gtkPaperSizeCopy} \name{gtkPaperSizeCopy} \title{gtkPaperSizeCopy} \description{Copies an existing \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeCopy(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPaperSize}}}} \details{Since 2.10} \value{[\code{\link{GtkPaperSize}}] a copy of \code{other}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintContextGetPangoFontmap.Rd0000644000176000001440000000077212362217677020441 0ustar ripleyusers\alias{gtkPrintContextGetPangoFontmap} \name{gtkPrintContextGetPangoFontmap} \title{gtkPrintContextGetPangoFontmap} \description{Returns a \code{\link{PangoFontMap}} that is suitable for use with the \code{\link{GtkPrintContext}}.} \usage{gtkPrintContextGetPangoFontmap(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkPrintContext}}}} \details{Since 2.10} \value{[\code{\link{PangoFontMap}}] the font map of \code{context}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkAccelLabelSetAccelClosure.Rd0000644000176000001440000000105112362217677017725 0ustar ripleyusers\alias{gtkAccelLabelSetAccelClosure} \name{gtkAccelLabelSetAccelClosure} \title{gtkAccelLabelSetAccelClosure} \description{Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group; see \code{\link{gtkAccelGroupConnect}}.} \usage{gtkAccelLabelSetAccelClosure(object, accel.closure)} \arguments{ \item{\verb{object}}{a \code{\link{GtkAccelLabel}}} \item{\verb{accel.closure}}{the closure to monitor for accelerator changes.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkStatusIconGetGicon.Rd0000644000176000001440000000136712362217677016543 0ustar ripleyusers\alias{gtkStatusIconGetGicon} \name{gtkStatusIconGetGicon} \title{gtkStatusIconGetGicon} \description{Retrieves the \code{\link{GIcon}} being displayed by the \code{\link{GtkStatusIcon}}. The storage type of the status icon must be \code{GTK_IMAGE_EMPTY} or \code{GTK_IMAGE_GICON} (see \code{\link{gtkStatusIconGetStorageType}}). The caller of this function does not own a reference to the returned \code{\link{GIcon}}.} \usage{gtkStatusIconGetGicon(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkStatusIcon}}}} \details{If this function fails, \code{icon} is left unchanged; Since 2.14} \value{[\code{\link{GIcon}}] the displayed icon, or \code{NULL} if the image is empty} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDialogSetAlternativeButtonOrder.Rd0000644000176000001440000000252312362217677021264 0ustar ripleyusers\alias{gtkDialogSetAlternativeButtonOrder} \name{gtkDialogSetAlternativeButtonOrder} \title{gtkDialogSetAlternativeButtonOrder} \description{Sets an alternative button order. If the \verb{"gtk-alternative-button-order"} setting is set to \code{TRUE}, the dialog buttons are reordered according to the order of the response ids passed to this function.} \usage{gtkDialogSetAlternativeButtonOrder(object, ...)} \arguments{ \item{\verb{object}}{a \code{\link{GtkDialog}}} \item{\verb{...}}{\emph{undocumented }} } \details{By default, GTK+ dialogs use the button order advocated by the Gnome Human Interface Guidelines (\url{http://developer.gnome.org/projects/gup/hig/2.0/}) with the affirmative button at the far right, and the cancel button left of it. But the builtin GTK+ dialogs and \code{\link{GtkMessageDialog}}s do provide an alternative button order, which is more suitable on some platforms, e.g. Windows. Use this function after adding all the buttons to your dialog, as the following example shows: \preformatted{ cancel_button <- dialog$addButton("gtk-cancel", "cancel") ok_button <- dialog$addButton("gtk-ok", "ok") ok_button$grabDefault() help_button <- dialog$addButton("gtk-help", "help") dialog$setAlternativeButtonOrder("ok", "cancel", "help") } Since 2.6} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkWindowGetFrameDimensions.Rd0000644000176000001440000000262512362217677017740 0ustar ripleyusers\alias{gtkWindowGetFrameDimensions} \name{gtkWindowGetFrameDimensions} \title{gtkWindowGetFrameDimensions} \description{(Note: this is a special-purpose function intended for the framebuffer port; see \code{\link{gtkWindowSetHasFrame}}. It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See \code{\link{gdkWindowGetFrameExtents}} to get the standard window border extents.)} \usage{gtkWindowGetFrameDimensions(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWindow}}}} \details{Retrieves the dimensions of the frame window for this toplevel. See \code{\link{gtkWindowSetHasFrame}}, \code{\link{gtkWindowSetFrameDimensions}}.} \value{ A list containing the following elements: \item{\verb{left}}{location to store the width of the frame at the left, or \code{NULL}. \emph{[ \acronym{allow-none} ][ \acronym{out} ]}} \item{\verb{top}}{location to store the height of the frame at the top, or \code{NULL}. \emph{[ \acronym{allow-none} ][ \acronym{out} ]}} \item{\verb{right}}{location to store the width of the frame at the returns, or \code{NULL}. \emph{[ \acronym{allow-none} ][ \acronym{out} ]}} \item{\verb{bottom}}{location to store the height of the frame at the bottom, or \code{NULL}. \emph{[ \acronym{allow-none} ][ \acronym{out} ]}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDrawGrayImage.Rd0000644000176000001440000000152712362217677015470 0ustar ripleyusers\alias{gdkDrawGrayImage} \name{gdkDrawGrayImage} \title{gdkDrawGrayImage} \description{Draws a grayscale image in the drawable.} \usage{gdkDrawGrayImage(object, gc, x, y, width, height, dith, buf)} \arguments{ \item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).} \item{\verb{gc}}{The graphics context.} \item{\verb{x}}{The x coordinate of the top-left corner in the drawable.} \item{\verb{y}}{The y coordinate of the top-left corner in the drawable.} \item{\verb{width}}{The width of the rectangle to be drawn.} \item{\verb{height}}{The height of the rectangle to be drawn.} \item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.} \item{\verb{buf}}{The pixel data, represented as 8-bit gray values.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkTextTagTableLookup.Rd0000644000176000001440000000073312362217677016545 0ustar ripleyusers\alias{gtkTextTagTableLookup} \name{gtkTextTagTableLookup} \title{gtkTextTagTableLookup} \description{Look up a named tag.} \usage{gtkTextTagTableLookup(object, name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkTextTagTable}}} \item{\verb{name}}{name of a tag} } \value{[\code{\link{GtkTextTag}}] The tag, or \code{NULL} if none by that name is in the table. \emph{[ \acronym{transfer none} ]}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gDriveCanPollForMedia.Rd0000644000176000001440000000065412362217677016417 0ustar ripleyusers\alias{gDriveCanPollForMedia} \name{gDriveCanPollForMedia} \title{gDriveCanPollForMedia} \description{Checks if a drive can be polled for media changes.} \usage{gDriveCanPollForMedia(object)} \arguments{\item{\verb{object}}{a \code{\link{GDrive}}.}} \value{[logical] \code{TRUE} if the \code{drive} can be polled for media changes, \code{FALSE} otherwise.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileInfoSetSize.Rd0000644000176000001440000000064412362217677015467 0ustar ripleyusers\alias{gFileInfoSetSize} \name{gFileInfoSetSize} \title{gFileInfoSetSize} \description{Sets the \code{G_FILE_ATTRIBUTE_STANDARD_SIZE} attribute in the file info to the given size.} \usage{gFileInfoSetSize(object, size)} \arguments{ \item{\verb{object}}{a \code{\link{GFileInfo}}.} \item{\verb{size}}{a \verb{numeric} containing the file's size.} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkComboBoxNewWithModel.Rd0000644000176000001440000000072212362217677017020 0ustar ripleyusers\alias{gtkComboBoxNewWithModel} \name{gtkComboBoxNewWithModel} \title{gtkComboBoxNewWithModel} \description{Creates a new \code{\link{GtkComboBox}} with the model initialized to \code{model}.} \usage{gtkComboBoxNewWithModel(model, show = TRUE)} \arguments{\item{\verb{model}}{A \code{\link{GtkTreeModel}}.}} \details{Since 2.4} \value{[\code{\link{GtkWidget}}] A new \code{\link{GtkComboBox}}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCellRendererSpinner.Rd0000644000176000001440000000440412362217677016667 0ustar ripleyusers\alias{GtkCellRendererSpinner} \alias{gtkCellRendererSpinner} \name{GtkCellRendererSpinner} \title{GtkCellRendererSpinner} \description{Renders a spinning animation in a cell} \section{Methods and Functions}{ \code{\link{gtkCellRendererSpinnerNew}()}\cr \code{gtkCellRendererSpinner()} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----GtkCellRendererSpinner}} \section{Detailed Description}{GtkCellRendererSpinner renders a spinning animation in a cell, very similar to \code{\link{GtkSpinner}}. It can often be used as an alternative to a \code{\link{GtkCellRendererProgress}} for displaying indefinite activity, instead of actual progress. To start the animation in a cell, set the \verb{"active"} property to \code{TRUE} and increment the \verb{"pulse"} property at regular intervals. The usual way to set the cell renderer properties for each cell is to bind them to columns in your tree model using e.g. \code{\link{gtkTreeViewColumnAddAttribute}}.} \section{Structures}{\describe{\item{\verb{GtkCellRendererSpinner}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkCellRendererSpinner} is the equivalent of \code{\link{gtkCellRendererSpinnerNew}}.} \section{Properties}{\describe{ \item{\verb{active} [logical : Read / Write]}{ Whether the spinner is active (ie. shown) in the cell. Default value: FALSE } \item{\verb{pulse} [numeric : Read / Write]}{ Pulse of the spinner. Increment this value to draw the next frame of the spinner animation. Usually, you would update this value in a timeout. The \code{\link{GtkSpinner}} widget draws one full cycle of the animation per second by default. You can learn about the number of frames used by the theme by looking at the \verb{"num-steps"} style property and the duration of the cycle by looking at \verb{"cycle-duration"}. Default value: 0 Since 2.20 } \item{\verb{size} [\code{\link{GtkIconSize}} : Read / Write]}{ The \code{\link{GtkIconSize}} value that specifies the size of the rendered spinner. Default value: GTK_ICON_SIZE_MENU Since 2.20 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererSpinner.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkComponentAddFocusHandler.Rd0000644000176000001440000000141212362217677017661 0ustar ripleyusers\alias{atkComponentAddFocusHandler} \name{atkComponentAddFocusHandler} \title{atkComponentAddFocusHandler} \description{Add the specified handler to the set of functions to be called when this object receives focus events (in or out). If the handler is already added it is not added again} \usage{atkComponentAddFocusHandler(object, handler)} \arguments{ \item{\verb{object}}{[\code{\link{AtkComponent}}] The \code{\link{AtkComponent}} to attach the \code{handler} to} \item{\verb{handler}}{[AtkFocusHandler] The \verb{AtkFocusHandler} to be attached to \code{component}} } \value{[numeric] a handler id which can be used in atk_component_remove_focus_handler or zero if the handler was already added.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkDisplayGetScreen.Rd0000644000176000001440000000073312362217677016210 0ustar ripleyusers\alias{gdkDisplayGetScreen} \name{gdkDisplayGetScreen} \title{gdkDisplayGetScreen} \description{Returns a screen object for one of the screens of the display.} \usage{gdkDisplayGetScreen(object, screen.num)} \arguments{ \item{\verb{object}}{a \code{\link{GdkDisplay}}} \item{\verb{screen.num}}{the screen number} } \details{Since 2.2} \value{[\code{\link{GdkScreen}}] the \code{\link{GdkScreen}} object} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GThemedIcon.Rd0000644000176000001440000000466012362217677014446 0ustar ripleyusers\alias{GThemedIcon} \alias{gThemedIcon} \name{GThemedIcon} \title{GThemedIcon} \description{Icon theming support} \section{Methods and Functions}{ \code{\link{gThemedIconNew}(iconname = NULL)}\cr \code{\link{gThemedIconNewFromNames}(iconnames, len)}\cr \code{\link{gThemedIconNewWithDefaultFallbacks}(iconname)}\cr \code{\link{gThemedIconPrependName}(object, iconname)}\cr \code{\link{gThemedIconAppendName}(object, iconname)}\cr \code{\link{gThemedIconGetNames}(object)}\cr \code{gThemedIcon(iconname, iconnames, len)} } \section{Hierarchy}{\preformatted{GObject +----GThemedIcon}} \section{Interfaces}{GThemedIcon implements \code{\link{GIcon}}.} \section{Detailed Description}{\code{\link{GThemedIcon}} is an implementation of \code{\link{GIcon}} that supports icon themes. \code{\link{GThemedIcon}} contains a list of all of the icons present in an icon theme, so that icons can be looked up quickly. \code{\link{GThemedIcon}} does not provide actual pixmaps for icons, just the icon names. Ideally something like \code{\link{gtkIconThemeChooseIcon}} should be used to resolve the list of names so that fallback icons work nicely with themes that inherit other themes.} \section{Structures}{\describe{\item{\verb{GThemedIcon}}{ An implementation of \code{\link{GIcon}} for themed icons. }}} \section{Convenient Construction}{\code{gThemedIcon} is the result of collapsing the constructors of \code{GThemedIcon} (\code{\link{gThemedIconNew}}, \code{\link{gThemedIconNewWithDefaultFallbacks}}, \code{\link{gThemedIconNewFromNames}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Properties}{\describe{ \item{\verb{name} [character : * : Write / Construct Only]}{ The icon name. Default value: NULL } \item{\verb{names} [character list : Read / Write / Construct Only]}{ A list of icon names. } \item{\verb{use-default-fallbacks} [logical : Read / Write / Construct Only]}{ Whether to use the default fallbacks found by shortening the icon name at '-' characters. If the "names" list has more than one element, ignores any past the first. For example, if the icon name was "gnome-dev-cdrom-audio", the list would become \preformatted{ c("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome") } Default value: FALSE } }} \references{\url{http://library.gnome.org/devel//gio/GThemedIcon.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDragGetSourceWidget.Rd0000644000176000001440000000073012362217677016662 0ustar ripleyusers\alias{gtkDragGetSourceWidget} \name{gtkDragGetSourceWidget} \title{gtkDragGetSourceWidget} \description{Determines the source widget for a drag.} \usage{gtkDragGetSourceWidget(context)} \arguments{\item{\verb{context}}{a (destination side) drag context.}} \value{[\code{\link{GtkWidget}}] if the drag is occurring within a single application, a pointer to the source widget. Otherwise, \code{NULL}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkDrawResizeGrip.Rd0000644000176000001440000000202312362217677015716 0ustar ripleyusers\alias{gtkDrawResizeGrip} \name{gtkDrawResizeGrip} \title{gtkDrawResizeGrip} \description{ Draws a resize grip in the given rectangle on \code{window} using the given parameters. \strong{WARNING: \code{gtk_draw_resize_grip} has been deprecated since version 2.0 and should not be used in newly-written code. Use \code{\link{gtkPaintResizeGrip}} instead.} } \usage{gtkDrawResizeGrip(object, window, state.type, edge, x, y, width, height)} \arguments{ \item{\verb{object}}{a \code{\link{GtkStyle}}} \item{\verb{window}}{a \code{\link{GdkWindow}}} \item{\verb{state.type}}{a state} \item{\verb{edge}}{the edge in which to draw the resize grip} \item{\verb{x}}{the x origin of the rectangle in which to draw the resize grip} \item{\verb{y}}{the y origin of the rectangle in which to draw the resize grip} \item{\verb{width}}{the width of the rectangle in which to draw the resize grip} \item{\verb{height}}{the height of the rectangle in which to draw the resize grip} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkInputRemove.Rd0000644000176000001440000000074212362217677015300 0ustar ripleyusers\alias{gtkInputRemove} \name{gtkInputRemove} \title{gtkInputRemove} \description{ Removes the function with the given id. \strong{WARNING: \code{gtk_input_remove} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{gSourceRemove}} instead.} } \usage{gtkInputRemove(input.handler.id)} \arguments{\item{\verb{input.handler.id}}{Identifies the function to remove.}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gSocketGetListenBacklog.Rd0000644000176000001440000000073012362217677017013 0ustar ripleyusers\alias{gSocketGetListenBacklog} \name{gSocketGetListenBacklog} \title{gSocketGetListenBacklog} \description{Gets the listen backlog setting of the socket. For details on this, see \code{\link{gSocketSetListenBacklog}}.} \usage{gSocketGetListenBacklog(object)} \arguments{\item{\verb{object}}{a \code{\link{GSocket}}.}} \details{Since 2.22} \value{[integer] the maximum number of pending connections.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoInFill.Rd0000644000176000001440000000141012362217677014501 0ustar ripleyusers\alias{cairoInFill} \name{cairoInFill} \title{cairoInFill} \description{Tests whether the given point is inside the area that would be affected by a \code{\link{cairoFill}} operation given the current path and filling parameters. Surface dimensions and clipping are not taken into account.} \usage{cairoInFill(cr, x, y)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a cairo context} \item{\verb{x}}{[numeric] X coordinate of the point to test} \item{\verb{y}}{[numeric] Y coordinate of the point to test} } \details{See \code{\link{cairoFill}}, \code{\link{cairoSetFillRule}} and \code{\link{cairoFillPreserve}}. } \value{[logical] A non-zero value if the point is inside, or zero if outside.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkCTreeNodeGetCellStyle.Rd0000644000176000001440000000102512362217677017107 0ustar ripleyusers\alias{gtkCTreeNodeGetCellStyle} \name{gtkCTreeNodeGetCellStyle} \title{gtkCTreeNodeGetCellStyle} \description{ Get the style of an individual cell. \strong{WARNING: \code{gtk_ctree_node_get_cell_style} is deprecated and should not be used in newly-written code.} } \usage{gtkCTreeNodeGetCellStyle(object, node, column)} \arguments{ \item{\verb{object}}{\emph{undocumented }} \item{\verb{node}}{\emph{undocumented }} \item{\verb{column}}{\emph{undocumented }} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkContainerSetBorderWidth.Rd0000644000176000001440000000174312362217677017561 0ustar ripleyusers\alias{gtkContainerSetBorderWidth} \name{gtkContainerSetBorderWidth} \title{gtkContainerSetBorderWidth} \description{Sets the border width of the container.} \usage{gtkContainerSetBorderWidth(object, border.width)} \arguments{ \item{\verb{object}}{a \code{\link{GtkContainer}}} \item{\verb{border.width}}{amount of blank space to leave \emph{outside} the container. Valid values are in the range 0-65535 pixels.} } \details{The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is \code{\link{GtkWindow}}; because toplevel windows can't leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, one approach is to create a \code{\link{GtkAlignment}} widget, call \code{\link{gtkWidgetSetSizeRequest}} to give it a size, and place it on the side of the container as a spacer.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gio-GIOError.Rd0000644000176000001440000000467112362217677014526 0ustar ripleyusers\alias{gio-GIOError} \alias{GIOErrorEnum} \name{gio-GIOError} \title{GIOError} \description{Error helper functions} \section{Methods and Functions}{\code{\link{gIoErrorFromErrno}(err.no)}\cr} \section{Hierarchy}{\preformatted{GEnum +----GIOErrorEnum}} \section{Detailed Description}{Contains helper functions for reporting errors to the user.} \section{Enums and Flags}{\describe{\item{\verb{GIOErrorEnum}}{ Error codes returned by GIO functions. \describe{ \item{\verb{failed}}{Generic error condition for when any operation fails.} \item{\verb{not-found}}{File not found error.} \item{\verb{exists}}{File already exists error.} \item{\verb{is-directory}}{File is a directory error.} \item{\verb{not-directory}}{File is not a directory.} \item{\verb{not-empty}}{File is a directory that isn't empty.} \item{\verb{not-regular-file}}{File is not a regular file.} \item{\verb{not-symbolic-link}}{File is not a symbolic link.} \item{\verb{not-mountable-file}}{File cannot be mounted.} \item{\verb{filename-too-long}}{Filename is too many characters.} \item{\verb{invalid-filename}}{Filename is invalid or contains invalid characters.} \item{\verb{too-many-links}}{File contains too many symbolic links.} \item{\verb{no-space}}{No space left on drive.} \item{\verb{invalid-argument}}{Invalid argument.} \item{\verb{permission-denied}}{Permission denied.} \item{\verb{not-supported}}{Operation not supported for the current backend.} \item{\verb{not-mounted}}{File isn't mounted.} \item{\verb{already-mounted}}{File is already mounted.} \item{\verb{closed}}{File was closed.} \item{\verb{cancelled}}{Operation was cancelled. See \code{\link{GCancellable}}.} \item{\verb{pending}}{Operations are still pending.} \item{\verb{read-only}}{File is read only.} \item{\verb{cant-create-backup}}{Backup couldn't be created.} \item{\verb{wrong-etag}}{File's Entity Tag was incorrect.} \item{\verb{timed-out}}{Operation timed out.} \item{\verb{would-recurse}}{Operation would be recursive.} \item{\verb{busy}}{File is busy.} \item{\verb{would-block}}{Operation would block.} \item{\verb{host-not-found}}{Host couldn't be found (remote operations).} \item{\verb{would-merge}}{Operation would merge files.} \item{\verb{failed-handled}}{Operation failed and a helper program has already interacted with the user. Do not display any error dialog.} } }}} \references{\url{http://library.gnome.org/devel//gio/gio-GIOError.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkPlug.Rd0000644000176000001440000000474112362217677013675 0ustar ripleyusers\alias{GtkPlug} \alias{gtkPlug} \name{GtkPlug} \title{GtkPlug} \description{Toplevel for embedding into other processes} \section{Methods and Functions}{ \code{\link{gtkPlugConstruct}(object, socket.id)}\cr \code{\link{gtkPlugConstructForDisplay}(object, display, socket.id)}\cr \code{\link{gtkPlugNew}(socket.id, show = TRUE)}\cr \code{\link{gtkPlugNewForDisplay}(display, socket.id)}\cr \code{\link{gtkPlugGetId}(object)}\cr \code{\link{gtkPlugGetEmbedded}(object)}\cr \code{\link{gtkPlugGetSocketWindow}(object)}\cr \code{gtkPlug(socket.id, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkPlug}} \section{Interfaces}{GtkPlug implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{Together with \code{\link{GtkSocket}}, \code{\link{GtkPlug}} provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a \code{\link{GtkSocket}} widget and passes the ID of that widget's window to the other process, which then creates a \code{\link{GtkPlug}} with that window ID. Any widgets contained in the \code{\link{GtkPlug}} then will appear inside the first application's window. \strong{PLEASE NOTE:} The \code{\link{GtkPlug}} and \code{\link{GtkSocket}} widgets are currently not available on all platforms supported by GTK+.} \section{Structures}{\describe{\item{\verb{GtkPlug}}{ \emph{undocumented } }}} \section{Convenient Construction}{\code{gtkPlug} is the equivalent of \code{\link{gtkPlugNew}}.} \section{Signals}{\describe{\item{\code{embedded(plug, user.data)}}{ Gets emitted when the plug becomes embedded in a socket. \describe{ \item{\code{plug}}{the object on which the signal was emitted} \item{\code{user.data}}{user data set when the signal handler was connected.} } }}} \section{Properties}{\describe{ \item{\verb{embedded} [logical : Read]}{ \code{TRUE} if the plug is embedded in a socket. Default value: FALSE Since 2.12 } \item{\verb{socket-window} [\code{\link{GdkWindow}} : * : Read]}{ The window of the socket the plug is embedded in. Since 2.14 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkPlug.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPrintSettingsGet.Rd0000644000176000001440000000065612362217677016304 0ustar ripleyusers\alias{gtkPrintSettingsGet} \name{gtkPrintSettingsGet} \title{gtkPrintSettingsGet} \description{Looks up the string value associated with \code{key}.} \usage{gtkPrintSettingsGet(object, key)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPrintSettings}}} \item{\verb{key}}{a key} } \details{Since 2.10} \value{[character] the string value for \code{key}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkPixbufAnimationGetStaticImage.Rd0000644000176000001440000000140212362217677020645 0ustar ripleyusers\alias{gdkPixbufAnimationGetStaticImage} \name{gdkPixbufAnimationGetStaticImage} \title{gdkPixbufAnimationGetStaticImage} \description{If an animation is really just a plain image (has only one frame), this function returns that image. If the animation is an animation, this function returns a reasonable thing to display as a static unanimated image, which might be the first frame, or something more sophisticated. If an animation hasn't loaded any frames yet, this function will return \code{NULL}.} \usage{gdkPixbufAnimationGetStaticImage(object)} \arguments{\item{\verb{object}}{a \code{\link{GdkPixbufAnimation}}}} \value{[\code{\link{GdkPixbuf}}] unanimated image representing the animation} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoSetScaledFont.Rd0000644000176000001440000000134512362217677016031 0ustar ripleyusers\alias{cairoSetScaledFont} \name{cairoSetScaledFont} \title{cairoSetScaledFont} \description{Replaces the current font face, font matrix, and font options in the \code{\link{Cairo}} with those of the \code{\link{CairoScaledFont}}. Except for some translation, the current CTM of the \code{\link{Cairo}} should be the same as that of the \code{\link{CairoScaledFont}}, which can be accessed using \code{\link{cairoScaledFontGetCtm}}.} \usage{cairoSetScaledFont(cr, scaled.font)} \arguments{ \item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}} \item{\verb{scaled.font}}{[\code{\link{CairoScaledFont}}] a \code{\link{CairoScaledFont}}} } \details{ Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkActionSetIsImportant.Rd0000644000176000001440000000077412362217677017113 0ustar ripleyusers\alias{gtkActionSetIsImportant} \name{gtkActionSetIsImportant} \title{gtkActionSetIsImportant} \description{Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not.} \usage{gtkActionSetIsImportant(object, is.important)} \arguments{ \item{\verb{object}}{the action object} \item{\verb{is.important}}{\code{TRUE} to make the action important} } \details{Since 2.16} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/GtkCTree.Rd0000644000176000001440000003600012362217677013761 0ustar ripleyusers\alias{GtkCTree} \alias{GtkCTreeRow} \alias{GtkCTreeNode} \alias{gtkCTree} \alias{GtkCTreeFunc} \alias{GtkCTreeGNodeFunc} \alias{GtkCTreeCompareDragFunc} \alias{GtkCTreePos} \alias{GtkCTreeLineStyle} \alias{GtkCTreeExpanderStyle} \alias{GtkCTreeExpansionType} \name{GtkCTree} \title{GtkCTree} \description{A widget displaying a hierarchical tree} \section{Methods and Functions}{ \code{\link{gtkCTreeNewWithTitles}(columns = 1, tree.column = 0, titles, show = TRUE)}\cr \code{\link{gtkCTreeNew}(columns = 1, tree.column = 0, show = TRUE)}\cr \code{\link{gtkCTreeInsertNode}(object, parent, sibling, text, spacing = 5, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf = 1, expanded = 0)}\cr \code{\link{gtkCTreeRemoveNode}(object, node)}\cr \code{\link{gtkCTreeInsertGnode}(object, parent, sibling, gnode, func, data = NULL)}\cr \code{\link{gtkCTreeExportToGnode}(object, parent, sibling, node, func, data = NULL)}\cr \code{\link{gtkCTreePostRecursive}(object, node, func, data = NULL)}\cr \code{\link{gtkCTreePostRecursiveToDepth}(object, node, depth, func, data = NULL)}\cr \code{\link{gtkCTreePreRecursive}(object, node, func, data = NULL)}\cr \code{\link{gtkCTreePreRecursiveToDepth}(object, node, depth, func, data = NULL)}\cr \code{\link{gtkCTreeIsViewable}(object, node)}\cr \code{\link{gtkCTreeLast}(object, node)}\cr \code{\link{gtkCTreeFindNodePtr}(object, ctree.row)}\cr \code{\link{gtkCTreeFind}(object, node, child)}\cr \code{\link{gtkCTreeIsAncestor}(object, node, child)}\cr \code{\link{gtkCTreeFindByRowData}(object, node, data = NULL)}\cr \code{\link{gtkCTreeFindAllByRowData}(object, node, data = NULL)}\cr \code{\link{gtkCTreeFindByRowDataCustom}(object, node, data = NULL, func)}\cr \code{\link{gtkCTreeFindAllByRowDataCustom}(object, node, data = NULL, func)}\cr \code{\link{gtkCTreeIsHotSpot}(object, x, y)}\cr \code{\link{gtkCTreeMove}(object, node, new.parent = NULL, new.sibling = NULL)}\cr \code{\link{gtkCTreeExpand}(object, node)}\cr \code{\link{gtkCTreeExpandRecursive}(object, node)}\cr \code{\link{gtkCTreeExpandToDepth}(object, node, depth)}\cr \code{\link{gtkCTreeCollapse}(object, node)}\cr \code{\link{gtkCTreeCollapseRecursive}(object, node)}\cr \code{\link{gtkCTreeCollapseToDepth}(object, node, depth)}\cr \code{\link{gtkCTreeToggleExpansion}(object, node)}\cr \code{\link{gtkCTreeToggleExpansionRecursive}(object, node)}\cr \code{\link{gtkCTreeSelect}(object, node)}\cr \code{\link{gtkCTreeSelectRecursive}(object, node)}\cr \code{\link{gtkCTreeUnselect}(object, node)}\cr \code{\link{gtkCTreeUnselectRecursive}(object, node)}\cr \code{\link{gtkCTreeRealSelectRecursive}(object, node, state)}\cr \code{\link{gtkCTreeNodeSetText}(object, node, column, text)}\cr \code{\link{gtkCTreeNodeSetPixmap}(object, node, column, pixmap, mask = NULL)}\cr \code{\link{gtkCTreeNodeSetPixtext}(object, node, column, text, spacing, pixmap, mask = NULL)}\cr \code{\link{gtkCTreeSetNodeInfo}(object, node, text, spacing, pixmap.closed = NULL, mask.closed = NULL, pixmap.opened = NULL, mask.opened = NULL, is.leaf, expanded)}\cr \code{\link{gtkCTreeNodeSetShift}(object, node, column, vertical, horizontal)}\cr \code{\link{gtkCTreeNodeSetSelectable}(object, node, selectable)}\cr \code{\link{gtkCTreeNodeGetSelectable}(object, node)}\cr \code{\link{gtkCTreeNodeGetCellType}(object, node, column)}\cr \code{\link{gtkCTreeNodeGetText}(object, node, column)}\cr \code{\link{gtkCTreeNodeGetPixmap}(object, node, column)}\cr \code{\link{gtkCTreeNodeGetPixtext}(object, node, column)}\cr \code{\link{gtkCTreeGetNodeInfo}(object, node)}\cr \code{\link{gtkCTreeNodeSetRowStyle}(object, node, style)}\cr \code{\link{gtkCTreeNodeGetRowStyle}(object, node)}\cr \code{\link{gtkCTreeNodeSetCellStyle}(object, node, column, style)}\cr \code{\link{gtkCTreeNodeGetCellStyle}(object, node, column)}\cr \code{\link{gtkCTreeNodeSetForeground}(object, node, color)}\cr \code{\link{gtkCTreeNodeSetBackground}(object, node, color)}\cr \code{\link{gtkCTreeNodeSetRowData}(object, node, data)}\cr \code{\link{gtkCTreeNodeSetRowDataFull}(object, node, data)}\cr \code{\link{gtkCTreeNodeGetRowData}(object, node)}\cr \code{\link{gtkCTreeNodeMoveto}(object, node, column, row.align, col.align)}\cr \code{\link{gtkCTreeNodeIsVisible}(object, node)}\cr \code{\link{gtkCTreeSetIndent}(object, indent)}\cr \code{\link{gtkCTreeSetSpacing}(object, spacing)}\cr \code{\link{gtkCTreeSetLineStyle}(object, line.style)}\cr \code{\link{gtkCTreeSetExpanderStyle}(object, expander.style)}\cr \code{\link{gtkCTreeSetDragCompareFunc}(object, cmp.func)}\cr \code{\link{gtkCTreeSortNode}(object, node)}\cr \code{\link{gtkCTreeSortRecursive}(object, node)}\cr \code{\link{gtkCTreeNodeNth}(object, row)}\cr \code{\link{gtkCTreeSetShowStub}(object, show.stub)}\cr \code{gtkCTree(columns = 1, tree.column = 0, titles, show = TRUE)} } \section{Hierarchy}{\preformatted{GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkCList +----GtkCTree}} \section{Interfaces}{GtkCTree implements AtkImplementorIface and \code{\link{GtkBuildable}}.} \section{Detailed Description}{The \code{\link{GtkCTree}} widget is used for showing a hierarchical tree to the user, for example a directory tree. The tree is internally represented as a set of \code{\link{GtkCTreeNode}} structures. The interface has much in common with the \code{\link{GtkCList}} widget: rows (nodes) can be selected by the user etc. Positions in the tree are often indicated by two arguments, a parent and a sibling, both \code{\link{GtkCTreeNode}} pointers. If the parent is \code{NULL}, the position is at the root of the tree and if the sibling is \code{NULL}, it will be the last child of parent, otherwise it will be inserted just before the sibling. GtkCTree has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use \code{\link{GtkTreeView}} instead.} \section{Structures}{\describe{ \item{\verb{GtkCTree}}{ \strong{WARNING: \code{GtkCTree} is deprecated and should not be used in newly-written code.} The \code{\link{GtkCTree}} contains the following user-accessible fields. These fields should be considered read-only; to set the values, use the methods below. \tabular{ll}{ \verb{integer} \code{tree_indent} ; \tab The number of pixels each successive level of the tree is indented in the display. \cr \verb{integer} \code{tree_spacing} ; \tab The space in pixels between the graphical tree and the text in the node. \cr \verb{integer} \code{tree_column} ; \tab The index of the column for which the tree graphics is drawn. \cr \code{\link{GtkCTreeLineStyle}} \code{line_style} ; \tab The style in which the lines in the tree graphics are drawn. \cr \code{\link{GtkCTreeExpanderStyle}} \code{expander_style} ; \tab The style in which the expander buttons are drawn. \cr \code{\link{GtkCTreeExpanderStyle}} \code{expander_style} ; \tab FIXME. \cr } } \item{\verb{GtkCTreeRow}}{ \strong{WARNING: \code{GtkCTreeRow} is deprecated and should not be used in newly-written code.} A structure representing a single row in the tree graph. The values inside the structure should be considered read-only. This structure is derived from the \code{\link{GtkCListRow}} structure. \tabular{ll}{ \code{\link{GtkCTreeNode}} * \code{parent} ; \tab The parent node of the node corresponding to this row. \cr \code{\link{GtkCTreeNode}} * \code{sibling} ; \tab The next sibling node of the node corresponding to this row. \cr \code{\link{GtkCTreeNode}} * \code{children} ; \tab The first child node corresponding to this row; to access the other children, just use the siblings of that node. \cr \code{\link{GdkPixmap}} * \code{pixmap_closed} ; \tab The pixmap to be shown when the node is collapsed. \cr \code{\link{GdkBitmap}} * \code{mask_closed} ; \tab The mask for the above pixmap. \cr \code{\link{GdkPixmap}} * \code{pixmap_opened} ; \tab The pixmap to be shown when the node is expanded. \cr \code{\link{GdkBitmap}} * \code{mask_opened} ; \tab The mask for the above pixmap. \cr \verb{integer} \code{level} ; \tab The level of this node in the tree. \cr \verb{numeric} \code{is_leaf} : 1; \tab Whether this row is a leaf. \cr \verb{numeric} \code{expanded} : 1; \tab Whether the children of this row are visible. \cr } } \item{\verb{GtkCTreeNode}}{ \strong{WARNING: \code{GtkCTreeNode} is deprecated and should not be used in newly-written code.} This structure is opaque - you should use the functions \verb{GTK_CTREE_ROW}, \verb{GTK_CTREE_NODE_NEXT} etc. as well as the functions below to access it. } }} \section{Convenient Construction}{\code{gtkCTree} is the result of collapsing the constructors of \code{GtkCTree} (\code{\link{gtkCTreeNewWithTitles}}, \code{\link{gtkCTreeNew}}) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.} \section{Enums and Flags}{\describe{ \item{\verb{GtkCTreePos}}{ \strong{WARNING: \code{GtkCTreePos} is deprecated and should not be used in newly-written code.} A value specifying the position of a new node relative to an old one. \tabular{ll}{ GTK_CTREE_POS_BEFORE \tab As a sibling, before the specified node. \cr GTK_CTREE_POS_AS_CHILD \tab As a child of the specified node. \cr GTK_CTREE_POS_AFTER \tab As a sibling, after the specified node. \cr } \describe{ \item{\verb{before}}{\emph{undocumented }} \item{\verb{as-child}}{\emph{undocumented }} \item{\verb{after}}{\emph{undocumented }} } } \item{\verb{GtkCTreeLineStyle}}{ \strong{WARNING: \code{GtkCTreeLineStyle} is deprecated and should not be used in newly-written code.} The appearance of the lines in the tree graphics. \tabular{ll}{ GTK_CTREE_LINES_NONE \tab No lines. \cr GTK_CTREE_LINES_SOLID \tab Solid lines. \cr GTK_CTREE_LINES_DOTTED \tab Dotted lines. \cr GTK_CTREE_LINES_TABBED \tab FIXME. \cr } \describe{ \item{\verb{none}}{\emph{undocumented }} \item{\verb{solid}}{\emph{undocumented }} \item{\verb{dotted}}{\emph{undocumented }} \item{\verb{tabbed}}{\emph{undocumented }} } } \item{\verb{GtkCTreeExpanderStyle}}{ \strong{WARNING: \code{GtkCTreeExpanderStyle} is deprecated and should not be used in newly-written code.} The appearance of the expander buttons, i.e. the small buttons which expand or contract parts of the tree when pressed. \tabular{ll}{ GTK_CTREE_EXPANDER_NONE \tab No expanders. \cr GTK_CTREE_EXPANDER_SQUARE \tab Square expanders. \cr GTK_CTREE_EXPANDER_TRIANGLE \tab Triangular expanders. \cr GTK_CTREE_EXPANDER_CIRCULAR \tab Round expanders. \cr } \describe{ \item{\verb{none}}{\emph{undocumented }} \item{\verb{square}}{\emph{undocumented }} \item{\verb{triangle}}{\emph{undocumented }} \item{\verb{circular}}{\emph{undocumented }} } } \item{\verb{GtkCTreeExpansionType}}{ \strong{WARNING: \code{GtkCTreeExpansionType} is deprecated and should not be used in newly-written code.} How to expand or collapse a part of a tree. \tabular{ll}{ GTK_CTREE_EXPANSION_EXPAND \tab Expand this node. \cr GTK_CTREE_EXPANSION_EXPAND_RECURSIVE \tab Expand this node and everything below it in the hierarchy. \cr GTK_CTREE_EXPANSION_COLLAPSE \tab Collapse this node. \cr GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE \tab Collapse this node and everything below it in the hierarchy. \cr GTK_CTREE_EXPANSION_TOGGLE \tab Toggle this node (i.e. expand if collapsed and vice versa). \cr GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE \tab Toggle this node and everything below it in the hierarchy. \cr } \describe{ \item{\verb{expand}}{\emph{undocumented }} \item{\verb{expand-recursive}}{\emph{undocumented }} \item{\verb{collapse}}{\emph{undocumented }} \item{\verb{collapse-recursive}}{\emph{undocumented }} \item{\verb{toggle}}{\emph{undocumented }} \item{\verb{toggle-recursive}}{\emph{undocumented }} } } }} \section{User Functions}{\describe{ \item{\code{GtkCTreeFunc(ctree, node, data)}}{ A generic callback type to do something with a particular node. \describe{ \item{\code{ctree}}{The \code{\link{GtkCTree}} object.} \item{\code{node}}{The \code{\link{GtkCTreeNode}} in the tree.} \item{\code{data}}{The user data associated with the node.} } } \item{\code{GtkCTreeGNodeFunc()}}{ FIXME } \item{\code{GtkCTreeCompareDragFunc()}}{ FIXME } }} \section{Signals}{\describe{ \item{\code{change-focus-row-expansion(ctree, expansion, user.data)}}{ The row which has the focus is either collapsed or expanded or toggled. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{expansion}}{What is being done.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tree-collapse(ctree, user.data)}}{ Emitted when a node is collapsed. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tree-expand(ctree, user.data)}}{ Emitted when a node is expanded. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tree-move(ctree, node, new.parent, new.sibling, user.data)}}{ Emitted when a node is moved. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{node}}{The node that is moved.} \item{\code{new.parent}}{The new parent of the node.} \item{\code{new.sibling}}{The new sibling of the node.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tree-select-row(ctree, node, column, user.data)}}{ Emitted when a row is selected. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{node}}{The node corresponding to the selected row.} \item{\code{column}}{The column which was selected.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } \item{\code{tree-unselect-row(ctree, node, user.data)}}{ Emitted when a node is unselected. \describe{ \item{\code{ctree}}{the object which received the signal.} \item{\code{node}}{The node corresponding to the selected row.} \item{\code{user.data}}{user data set when the signal handler was connected.} } } }} \section{Properties}{\describe{ \item{\verb{expander-style} [\code{\link{GtkCTreeExpanderStyle}} : Read / Write]}{ The style of the expander buttons. Default value: GTK_CTREE_EXPANDER_NONE } \item{\verb{indent} [numeric : Read / Write]}{ The number of pixels to indent the tree levels. Default value: 0 } \item{\verb{line-style} [\code{\link{GtkCTreeLineStyle}} : Read / Write]}{ The style of the lines in the tree graphic. Default value: GTK_CTREE_LINES_NONE } \item{\verb{n-columns} [numeric : Read / Write / Construct Only]}{ The number of columns in the tree. Default value: 0 } \item{\verb{show-stub} [logical : Read / Write]}{ Default value: FALSE } \item{\verb{spacing} [numeric : Read / Write]}{ The number of pixels between the tree and the columns. Default value: 0 } \item{\verb{tree-column} [numeric : Read / Write / Construct Only]}{ The column in which the actual tree graphic appears. Default value: 0 } }} \references{\url{http://library.gnome.org/devel//gtk/GtkCTree.html}} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gFileSetAttributeString.Rd0000644000176000001440000000246712362217677017100 0ustar ripleyusers\alias{gFileSetAttributeString} \name{gFileSetAttributeString} \title{gFileSetAttributeString} \description{Sets \code{attribute} of type \code{G_FILE_ATTRIBUTE_TYPE_STRING} to \code{value}. If \code{attribute} is of a different type, this operation will fail.} \usage{gFileSetAttributeString(object, attribute, value, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}.} \item{\verb{attribute}}{a string containing the attribute's name.} \item{\verb{value}}{a string containing the attribute's value.} \item{\verb{flags}}{\code{\link{GFileQueryInfoFlags}}.} \item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore.} \item{.errwarn}{Whether to issue a warning on error or fail silently} } \details{If \code{cancellable} is not \code{NULL}, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error \code{G_IO_ERROR_CANCELLED} will be returned.} \value{ A list containing the following elements: \item{retval}{[logical] \code{TRUE} if the \code{attribute} was successfully set, \code{FALSE} otherwise.} \item{\verb{error}}{a \code{\link{GError}}, or \code{NULL}} } \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/cairoPsSurfaceDscComment.Rd0000644000176000001440000000757512362217677017216 0ustar ripleyusers\alias{cairoPsSurfaceDscComment} \name{cairoPsSurfaceDscComment} \title{cairoPsSurfaceDscComment} \description{Emit a comment into the PostScript output for the given surface.} \usage{cairoPsSurfaceDscComment(surface, comment)} \arguments{ \item{\verb{surface}}{[\code{\link{CairoSurface}}] a PostScript \code{\link{CairoSurface}}} \item{\verb{comment}}{[char] a comment string to be emitted into the PostScript output} } \details{The comment is expected to conform to the PostScript Language Document Structuring Conventions (DSC). Please see that manual for details on the available comments and their meanings. In particular, the \%\code{IncludeFeature} comment allows a device-independent means of controlling printer device features. So the PostScript Printer Description Files Specification will also be a useful reference. The comment string must begin with a percent character (\%) and the total length of the string (including any initial percent characters) must not exceed 255 characters. Violating either of these conditions will place \code{surface} into an error state. But beyond these two conditions, this function will not enforce conformance of the comment with any particular specification. The comment string should not have a trailing newline. The DSC specifies different sections in which particular comments can appear. This function provides for comments to be emitted within three sections: the header, the Setup section, and the PageSetup section. Comments appearing in the first two sections apply to the entire document while comments in the BeginPageSetup section apply only to a single page. For comments to appear in the header section, this function should be called after the surface is created, but before a call to \code{cairoPsSurfaceBeginSetup()}. For comments to appear in the Setup section, this function should be called after a call to \code{cairoPsSurfaceBeginSetup()} but before a call to \code{cairoPsSurfaceBeginPageSetup()}. For comments to appear in the PageSetup section, this function should be called after a call to \code{cairoPsSurfaceBeginPageSetup()}. Note that it is only necessary to call \code{cairoPsSurfaceBeginPageSetup()} for the first page of any surface. After a call to \code{\link{cairoShowPage}} or \code{\link{cairoCopyPage}} comments are unambiguously directed to the PageSetup section of the current page. But it doesn't hurt to call this function at the beginning of every page as that consistency may make the calling code simpler. As a final note, cairo automatically generates several comments on its own. As such, applications must not manually generate any of the following comments: Header section: \%!PS-Adobe-3.0, \%\code{Creator}, \%\code{CreationDate}, \%\code{Pages}, \%\code{BoundingBox}, \%\code{DocumentData}, \%\code{LanguageLevel}, \%\code{EndComments}. Setup section: \%\code{BeginSetup}, \%\code{EndSetup} PageSetup section: \%\code{BeginPageSetup}, \%\code{PageBoundingBox}, \%\code{EndPageSetup}. Other sections: \%\code{BeginProlog}, \%\code{EndProlog}, \%\code{Page}, \%\code{Trailer}, \%\code{EOF} Here is an example sequence showing how this function might be used: \preformatted{ surface <- cairoPsSurfaceCreate(filename, width, height) # ... surface$dscComment("\%Title: My excellent document") surface$dscComment("\%Copyright: Copyright (C) 2006 Cairo Lover") # ... surface$dscBeginSetup() surface$dscComment("\%IncludeFeature: *MediaColor White") # ... surface$dscBeginPageSetup() surface$dscComment("\%IncludeFeature: *PageSize A3") surface$dscComment("\%IncludeFeature: *InputSlot LargeCapacity") surface$dscComment("\%IncludeFeature: *MediaType Glossy") surface$dscComment("\%IncludeFeature: *MediaColor Blue") # ... draw to first page here .. cr$showPage() # ... surface$dscComment(surface, "\%IncludeFeature: *PageSize A5") # ... } Since 1.2} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkFileChooserGetSelectMultiple.Rd0000644000176000001440000000100712362217677020534 0ustar ripleyusers\alias{gtkFileChooserGetSelectMultiple} \name{gtkFileChooserGetSelectMultiple} \title{gtkFileChooserGetSelectMultiple} \description{Gets whether multiple files can be selected in the file selector. See \code{\link{gtkFileChooserSetSelectMultiple}}.} \usage{gtkFileChooserGetSelectMultiple(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkFileChooser}}}} \details{Since 2.4} \value{[logical] \code{TRUE} if multiple files can be selected.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gdkRegionRectIn.Rd0000644000176000001440000000114412362217677015330 0ustar ripleyusers\alias{gdkRegionRectIn} \name{gdkRegionRectIn} \title{gdkRegionRectIn} \description{Tests whether a rectangle is within a region.} \usage{gdkRegionRectIn(object, rect)} \arguments{ \item{\verb{object}}{a \code{\link{GdkRegion}}.} \item{\verb{rect}}{a \code{\link{GdkRectangle}}.} } \value{[\code{\link{GdkOverlapType}}] \code{GDK_OVERLAP_RECTANGLE_IN}, \code{GDK_OVERLAP_RECTANGLE_OUT}, or \code{GDK_OVERLAP_RECTANGLE_PART}, depending on whether the rectangle is inside, outside, or partly inside the \code{\link{GdkRegion}}, respectively.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/atkStateSetContainsState.Rd0000644000176000001440000000105612362217677017250 0ustar ripleyusers\alias{atkStateSetContainsState} \name{atkStateSetContainsState} \title{atkStateSetContainsState} \description{Checks whether the state for the specified type is in the specified set.} \usage{atkStateSetContainsState(object, type)} \arguments{ \item{\verb{object}}{[\code{\link{AtkStateSet}}] an \code{\link{AtkStateSet}}} \item{\verb{type}}{[\code{\link{AtkStateType}}] an \code{\link{AtkStateType}}} } \value{[logical] \code{TRUE} if \code{type} is the state type is in \code{set}.} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPaperSizeGetDefaultRightMargin.Rd0000644000176000001440000000100612362217677021020 0ustar ripleyusers\alias{gtkPaperSizeGetDefaultRightMargin} \name{gtkPaperSizeGetDefaultRightMargin} \title{gtkPaperSizeGetDefaultRightMargin} \description{Gets the default right margin for the \code{\link{GtkPaperSize}}.} \usage{gtkPaperSizeGetDefaultRightMargin(object, unit)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPaperSize}} object} \item{\verb{unit}}{the unit for the return value} } \details{Since 2.10} \value{[numeric] the default right margin} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/man/gtkPageSetupToKeyFile.Rd0000644000176000001440000000112112362217677016464 0ustar ripleyusers\alias{gtkPageSetupToKeyFile} \name{gtkPageSetupToKeyFile} \title{gtkPageSetupToKeyFile} \description{This function adds the page setup from \code{setup} to \code{key.file}.} \usage{gtkPageSetupToKeyFile(object, key.file, group.name)} \arguments{ \item{\verb{object}}{a \code{\link{GtkPageSetup}}} \item{\verb{key.file}}{the \verb{GKeyFile} to save the page setup to} \item{\verb{group.name}}{the group to add the settings to in \code{key.file}, or \code{NULL} to use the default name "Page Setup"} } \details{Since 2.12} \author{Derived by RGtkGen from GTK+ documentation} \keyword{internal} RGtk2/configure.win0000644000176000001440000000000111766145227013735 0ustar ripleyusers RGtk2/cleanup0000755000176000001440000000003512301371134012601 0ustar ripleyusers#!/bin/sh rm -f src/MakevarsRGtk2/.Rinstignore0000644000176000001440000000004411766145227013550 0ustar ripleyusersdoc/overview2.lyx doc/tutorial.sgml